diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/LICENSE.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/LICENSE.txt deleted file mode 100644 index df50810b8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/LICENSE.txt +++ /dev/null @@ -1,340 +0,0 @@ -GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - 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. - - - Copyright (C) - - 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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. - - , 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 Library General -Public License instead of this License. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/README.md b/admin/compiler/com_componentbuilder_v2_1_0__J3/README.md deleted file mode 100644 index 29e4cccf4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# Component Builder (2.1.0) - -The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time. - -# Build Details - -+ *Company*: [Vast Development Method] (https://www.vdm.io/joomla-component-builder) -+ *Author*: [Llewellyn van der Merwe] (mailto:info@vdm.io) -+ *Name*: [Component Builder] (https://www.vdm.io/joomla-component-builder) -+ *First Build*: 30th April, 2015 -+ *Last Build*: 20th February, 2016 -+ *Version*: 2.1.0 -+ *Copyright*: Copyright (C) 2015. All Rights Reserved -+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - -## Build Time - -**226 Hours** or **28 Eight Hour Days** (actual time the author saved - -due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builder)) - -> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, -> never making one mistake or taking any coffee break.) - -+ *Line count*: **81024** -+ *File count*: **526** -+ *Folder count*: **99** - -**149 Hours** or **19 Eight Hour Days** (the actual time the author spent) - -> (with the following break down: -> **debugging @56hours** = codingtime / 4; -> **planning @32hours** = codingtime / 7; -> **mapping @23hours** = codingtime / 10; -> **office @38hours** = codingtime / 6;) - -**375 Hours** or **47 Eight Hour Days** -(a total of the realistic time frame for this project) - -> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, -> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.) - -Project duration: **9.4 weeks** or **2 months** - -> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder). -> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io) \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/access.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/access.xml deleted file mode 100644 index e72d86644..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/access.xml +++ /dev/null @@ -1,223 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - - - -
-
- - - - - -
-
- - - - - -
-
\ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin.css deleted file mode 100644 index 8138278e9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin.css +++ /dev/null @@ -1,32 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ -.no-click { - pointer-events: none; -} -.fieldMedium { width: 130px; } -.fieldSmall { width: 60px; } -code { display: inline-block; margin: 3px;} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin_view.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin_view.css deleted file mode 100644 index aea7b6b14..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin_view.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin_view.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin_views.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin_views.css deleted file mode 100644 index 438100980..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/admin_views.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin_views.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/component.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/component.css deleted file mode 100644 index 11f7c9b6f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/component.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage component.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/components.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/components.css deleted file mode 100644 index bb6f42111..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/components.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage components.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/custom_admin_view.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/custom_admin_view.css deleted file mode 100644 index 031a24038..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/custom_admin_view.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_admin_view.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/custom_admin_views.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/custom_admin_views.css deleted file mode 100644 index d011276a8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/custom_admin_views.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_admin_views.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dashboard.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dashboard.css deleted file mode 100644 index 22a73b812..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dashboard.css +++ /dev/null @@ -1,178 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dashboard.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - -.dashboard-container { - margin-left: 10px; - margin-top: 10px; - width: 100%; -} -.dashboard-container [class*="span"] { - display: block; - float: none; - margin-left: 0; - width: auto; -} -.dashboard-container:before, .dashboard-container:after { - content: ""; - display: table; -} -.dashboard-container:after { - clear: both; -} -.dashboard-container [class*="span"] { - box-sizing: border-box; - display: block; - float: left; - min-height: 145px; - min-width: 96px; - width: 100%; -} -.dashboard-container [class*="span"]:first-child { - margin-left: 0; -} -.dashboard-wraper { - background: none repeat scroll 0 0 hsl(0, 0%, 93%); - border-radius: 5px; - float: left; - margin: 1%; - padding: 3px; - width: 17%; - min-height: 194px; - min-width: 96px; -} -.dashboard-content a { - background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 85%); - border-radius: 4px; - box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; - color: hsl(0, 0%, 20%); - display: block; - min-height: 89px; - padding: 10px; - text-align: center; - text-decoration: none; -} -.dashboard-content a:hover { - background: linear-gradient(to bottom, hsl(0, 0%, 90%) 0%, hsl(0, 0%, 100%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - color: hsl(200, 100%, 30%); - text-decoration: none; -} -.dashboard-title { - display: block; - padding-top: 5px; -} -.dashboard-info { - background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 85%); - border-radius: 4px; - box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; - color: hsl(0, 0%, 20%); - display: block; - font-size: 12px; - padding: 10px; - text-align: center; -} -.dashboard-info span { - display: block; - text-align: center; -} -.dashboard-info img { - margin: 0 auto; -} -.dashboard-table { - border-top: 1px solid hsl(0, 0%, 87%); - margin-top: 5px; - width: 100%; -} -.dashboard-info h5 { - font-size: 11px; - font-weight: bold; -} -.dashboard-block { - background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 76%); - border-radius: 3px; - box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset; - margin-bottom: 20px; -} -.dashboard-block .dashboard-block-head { - background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border-bottom: 1px solid hsl(0, 0%, 76%); - border-radius: 3px 3px 0 0; - box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%); - height: 40px; - position: relative; -} -.dashboard-block .dashboard-block-head h5 { - font-size: 12px; - margin: 0; - padding-left: 10px; - padding-top: 11px; - text-transform: uppercase; -} -.dashboard-block .dashboard-block-content { - background: none repeat scroll 0 0 hsl(0, 0%, 93%); - border-radius: 0 0 3px 3px; -} -.dashboard-block .dashboard-block-box { - background: none repeat scroll 0 0 hsl(0, 0%, 100%); - border-top: 1px solid hsl(0, 0%, 82%); - box-shadow: 0 0 5px hsl(0, 0%, 87%) inset; -} -.dashboard-block .dashboard-block-content .dashboard-block-box { - margin-top: 0 !important; -} -.dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table { - margin-bottom: 0 !important; -} -.dashboard-block-table { - background-color: hsla(0, 0%, 0%, 0); - border-collapse: collapse; - border-spacing: 0; - margin-bottom: 20px; - max-width: 100%; - width: 100%; -} -.dashboard-block-table th, .dashboard-block-table td { - border-top: 1px solid hsl(0, 0%, 87%); - line-height: 20px; - padding: 5px; - text-align: left; - vertical-align: middle; -} -.dashboard-badge { - background-color: hsl(0, 0%, 60%); - border-radius: 9px; - color: hsl(0, 0%, 100%); - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - padding: 1px 9px 2px; - text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25); - vertical-align: baseline; - white-space: nowrap; -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dynamic_get.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dynamic_get.css deleted file mode 100644 index be41ac1d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dynamic_get.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dynamic_get.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dynamic_gets.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dynamic_gets.css deleted file mode 100644 index a1db49b67..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/dynamic_gets.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dynamic_gets.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/field.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/field.css deleted file mode 100644 index bad0c0430..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/field.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage field.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fields.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fields.css deleted file mode 100644 index 788580fde..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fields.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fields.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fieldtype.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fieldtype.css deleted file mode 100644 index 796a187e3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fieldtype.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldtype.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fieldtypes.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fieldtypes.css deleted file mode 100644 index 3c254c842..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/fieldtypes.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldtypes.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/help_document.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/help_document.css deleted file mode 100644 index d5c5cbff8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/help_document.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage help_document.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/help_documents.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/help_documents.css deleted file mode 100644 index 27ef474e7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/help_documents.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage help_documents.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/layout.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/layout.css deleted file mode 100644 index b80723049..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/layout.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage layout.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/layouts.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/layouts.css deleted file mode 100644 index 1b1e45e0d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/layouts.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage layouts.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/site_view.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/site_view.css deleted file mode 100644 index fc4603aa9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/site_view.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site_view.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/site_views.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/site_views.css deleted file mode 100644 index 48ddcfdb0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/site_views.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site_views.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/snippet.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/snippet.css deleted file mode 100644 index 298c6207b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/snippet.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage snippet.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/snippets.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/snippets.css deleted file mode 100644 index 9f0284994..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/snippets.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage snippets.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/template.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/template.css deleted file mode 100644 index dbafcb829..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/template.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage template.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/templates.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/templates.css deleted file mode 100644 index f0934b0eb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/css/templates.css +++ /dev/null @@ -1,28 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage templates.css - @author Llewellyn van der Merwe - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/ajax-loader.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/ajax-loader.gif deleted file mode 100644 index 0bcd5978b..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/ajax-loader.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/ajax.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/ajax.gif deleted file mode 100644 index 4371cc618..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/ajax.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/component-300.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/component-300.png deleted file mode 100644 index 3e026c896..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/component-300.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/grid.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/grid.png deleted file mode 100644 index 57a179d4c..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/grid.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/admin_view_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/admin_view_add.png deleted file mode 100644 index 38b7209f5..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/admin_view_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/admin_views.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/admin_views.png deleted file mode 100644 index 586fa0bbb..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/admin_views.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/compiler.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/compiler.png deleted file mode 100644 index 7d383b428..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/compiler.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/component_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/component_add.png deleted file mode 100644 index cf9ee7dc5..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/component_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/components.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/components.png deleted file mode 100644 index 3917f1e45..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/components.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/custom_admin_view_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/custom_admin_view_add.png deleted file mode 100644 index cb35345f6..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/custom_admin_view_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/custom_admin_views.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/custom_admin_views.png deleted file mode 100644 index 950ed0120..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/custom_admin_views.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/dynamic_get_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/dynamic_get_add.png deleted file mode 100644 index 8af8c927e..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/dynamic_get_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/dynamic_gets.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/dynamic_gets.png deleted file mode 100644 index 0e1dc8def..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/dynamic_gets.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/field_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/field_add.png deleted file mode 100644 index a207756a7..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/field_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fields.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fields.png deleted file mode 100644 index 827609f5e..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fields.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fields_catid.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fields_catid.png deleted file mode 100644 index 56bd09dd0..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fields_catid.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtype_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtype_add.png deleted file mode 100644 index 57e356980..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtype_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtypes.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtypes.png deleted file mode 100644 index 94cb5128c..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtypes.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtypes_catid.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtypes_catid.png deleted file mode 100644 index fcc82aa1f..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/fieldtypes_catid.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/help_document_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/help_document_add.png deleted file mode 100644 index 52889e109..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/help_document_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/help_documents.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/help_documents.png deleted file mode 100644 index bdf2b46b5..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/help_documents.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/layout_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/layout_add.png deleted file mode 100644 index 8bb16bb37..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/layout_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/layouts.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/layouts.png deleted file mode 100644 index d534667df..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/layouts.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/site_view_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/site_view_add.png deleted file mode 100644 index 97a8ce39e..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/site_view_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/site_views.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/site_views.png deleted file mode 100644 index 11506d643..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/site_views.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/snippet_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/snippet_add.png deleted file mode 100644 index 4bf742f3d..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/snippet_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/snippets.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/snippets.png deleted file mode 100644 index 08f163f14..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/snippets.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/template_add.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/template_add.png deleted file mode 100644 index ee60ca2df..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/template_add.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/templates.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/templates.png deleted file mode 100644 index cc8e9f86f..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/icons/templates.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/import.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/import.gif deleted file mode 100644 index 4371cc618..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/import.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/images/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/js/admin.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/js/admin.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/js/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/js/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/assets/js/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/default.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/default.txt deleted file mode 100644 index c7adb7652..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/default.txt +++ /dev/null @@ -1,18 +0,0 @@ -/*----------------------------------------------------------------------------------| www.vdm.io |----/ - ###COMPANYNAME### -/-------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###>###CONTRIBUTORS### - @copyright ###COPYRIGHT### - @license ###LICENSE### - ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ - (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) -.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( -\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) - -/------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/description.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/description.txt deleted file mode 100644 index 5da125e09..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/description.txt +++ /dev/null @@ -1,16 +0,0 @@ -/*----------------------------------------------------------------------------------| www.vdm.io |----/ - ###COMPANYNAME### -/-------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###>###CONTRIBUTORS### - @copyright ###COPYRIGHT### - @license ###LICENSE### - - ###SHORT_DESCRIPTION### - -/------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/giz.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/giz.txt deleted file mode 100644 index e822c0562..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/giz.txt +++ /dev/null @@ -1,17 +0,0 @@ -/*----------------------------------------------------------------------------------| www.giz.de |----/ - ###COMPANYNAME### -/-------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###> - @owner ###COMPANYNAME### - @copyright ###COPYRIGHT### - @license ###LICENSE### - -/-------------------------------------------------------------------------------------------------------/ - ###SHORT_DESCRIPTION### -/------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/1.0.0.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/1.0.0.sql deleted file mode 100644 index 1c5c8d398..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/1.0.0.sql +++ /dev/null @@ -1 +0,0 @@ -###UPDATE_VERSION_MYSQL### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJControllerAdmin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJControllerAdmin.php deleted file mode 100644 index c168d2d51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJControllerAdmin.php +++ /dev/null @@ -1,41 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * ###Component### Controller - */ -class ###Component###Controller###Component### extends JControllerAdmin -{ - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJModelList.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJModelList.php deleted file mode 100644 index f1fb6c50d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJModelList.php +++ /dev/null @@ -1,210 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); -jimport('joomla.application.component.helper'); - -/** - * ###Component### Model - */ -class ###Component###Model###Component### extends JModelList -{ - public function getIcons() - { - // load user for access menus - $user = JFactory::getUser(); - // reset icon array - $icons = array(); - // view groups array - $viewGroups = array( - 'main' => array(###DASHBOARDICONS###) - );###DASHBOARDICONACCESS### - foreach($viewGroups as $group => $views) - { - $i = 0; - if (###Component###Helper::checkArray($views)) - { - foreach($views as $view) - { - $add = false; - if (strpos($view,'.') !== false) - { - $dwd = explode('.', $view); - if (count($dwd) == 3) - { - list($type, $name, $action) = $dwd; - } - elseif (count($dwd) == 2) - { - list($type, $name) = $dwd; - $action = false; - } - if ($action) - { - $viewName = $name; - switch($action) - { - case 'add': - $url ='index.php?option=com_###component###&view='.$name.'&layout=edit'; - $image = $name.'_'.$action.'.'.$type; - $alt = $name.' '.$action; - $name = 'COM_###COMPONENT###_DASHBOARD_'.###Component###Helper::safeString($name,'U').'_ADD'; - $add = true; - break; - default: - $url = 'index.php?option=com_categories&view=categories&extension=com_###component###.'.$name; - $image = $name.'_'.$action.'.'.$type; - $alt = $name.' '.$action; - $name = 'COM_###COMPONENT###_DASHBOARD_'.###Component###Helper::safeString($name,'U').'_'.###Component###Helper::safeString($action,'U'); - break; - } - } - else - { - $viewName = $name; - $alt = $name; - $url = 'index.php?option=com_###component###&view='.$name; - $image = $name.'.'.$type; - $name = 'COM_###COMPONENT###_DASHBOARD_'.###Component###Helper::safeString($name,'U'); - $hover = false; - } - } - else - { - $viewName = $view; - $alt = $view; - $url = 'index.php?option=com_###component###&view='.$view; - $image = $view.'.png'; - $name = ucwords($view).'

'; - $hover = false; - } - // first make sure the view access is set - if (###Component###Helper::checkArray($viewAccess)) - { - // setup some defaults - $dashboard_add = false; - $dashboard_list = false; - $accessTo = ''; - $accessAdd = ''; - // acces checking start - $accessCreate = (isset($viewAccess[$viewName.'.create'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.create']):false; - $accessAccess = (isset($viewAccess[$viewName.'.access'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.access']):false; - // set main controllers - $accessDashboard_add = (isset($viewAccess[$viewName.'.dashboard_add'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.dashboard_add']):false; - $accessDashboard_list = (isset($viewAccess[$viewName.'.dashboard_list'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.dashboard_list']):false; - // check for adding access - if ($add && $accessCreate) - { - $accessAdd = $viewAccess[$viewName.'.create']; - } - elseif ($add) - { - $accessAdd = 'core.create'; - } - // check if acces to view is set - if ($accessAccess) - { - $accessTo = $viewAccess[$viewName.'.access']; - } - // set main access controllers - if ($accessDashboard_add) - { - $dashboard_add = $user->authorise($viewAccess[$viewName.'.dashboard_add'], 'com_###component###'); - } - if ($accessDashboard_list) - { - $dashboard_list = $user->authorise($viewAccess[$viewName.'.dashboard_list'], 'com_###component###'); - } - if (###Component###Helper::checkString($accessAdd) && ###Component###Helper::checkString($accessTo)) - { - // check access - if($user->authorise($accessAdd, 'com_###component###') && $user->authorise($accessTo, 'com_###component###') && $dashboard_add) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - elseif (###Component###Helper::checkString($accessTo)) - { - // check access - if($user->authorise($accessTo, 'com_###component###') && $dashboard_list) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - elseif (###Component###Helper::checkString($accessAdd)) - { - // check access - if($user->authorise($accessAdd, 'com_###component###') && $dashboard_add) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - else - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - else - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - $i++; - } - } - else - { - $icons[$group][$i] = false; - } - } - return $icons; - }###DASH_MODEL_METHODS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJViewLagacy.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJViewLagacy.php deleted file mode 100644 index cf4c5fadf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHJViewLagacy.php +++ /dev/null @@ -1,101 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###Component### View class - */ -class ###Component###View###Component### extends JViewLegacy -{ - /** - * View display method - * @return void - */ - function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('
', $errors)); - return false; - }; - // Assign data to the view - $this->icons = $this->get('Icons'); - $this->contributors = ###Component###Helper::getContributors();###DASH_GET_CUSTOM_DATA### - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - $canDo = ###Component###Helper::getActions('###component###'); - JToolBarHelper::title(JText::_('COM_###COMPONENT###_DASHBOARD'), 'grid-2'); - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###component###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - if ($canDo->get('core.admin') || $canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - } - - /** - * Method to set up the document properties - * - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - - $document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/dashboard.css"); - - $document->setTitle(JText::_('COM_###COMPONENT###_DASHBOARD')); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHdefault.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHdefault.php deleted file mode 100644 index ffe7591fc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/DASHdefault.php +++ /dev/null @@ -1,34 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::_('behavior.tooltip'); - -?>###DASH_DISPLAY_DATA### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/Helper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/Helper.php deleted file mode 100644 index 003349bba..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/Helper.php +++ /dev/null @@ -1,860 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### component helper. - */ -abstract class ###Component###Helper -{###ADMIN_GLOBAL_EVENT_HELPER### ###CUSTOM_HELPER_SCRIPT### - /** - * Load the Component xml manifest. - **/ - public static function manifest() - { - $manifestUrl = JPATH_ADMINISTRATOR."/components/com_###component###/###component###.xml"; - return simplexml_load_file($manifestUrl); - } - - /** - * Load the Contributors details. - **/ - public static function getContributors() - { - // get params - $params = JComponentHelper::getParams('com_###component###'); - // start contributors array - $contributors = array(); - // get all Contributors (max 20) - $searchArray = range('0','20'); - foreach($searchArray as $nr) - { - if ((NULL !== $params->get("showContributor".$nr)) && ($params->get("showContributor".$nr) == 1 || $params->get("showContributor".$nr) == 3)) - { - // set link based of selected option - if($params->get("useContributor".$nr) == 1) - { - $link_front = ''; - $link_back = ''; - } - elseif($params->get("useContributor".$nr) == 2) - { - $link_front = ''; - $link_back = ''; - } - else - { - $link_front = ''; - $link_back = ''; - } - $contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr)); - $contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back; - } - } - return $contributors; - }###HELP### - - /** - * Configure the Linkbar. - **/ - public static function addSubmenu($submenu) - { - // load user for access menus - $user = JFactory::getUser(); - // load the submenus to sidebar - ###SUBMENU### - }###HELPER_CREATEUSER### ###HELPER_UIKIT### ###HELPER_EXEL### - - public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } - - public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true) - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - - if (!self::checkArray($where) && $where > 0) - { - $where = array($where); - } - - if (self::checkArray($where)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - $query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - if ($unique) - { - return array_unique($db->loadColumn()); - } - return $db->loadColumn(); - } - } - return false; - } - - public static function jsonToString($value, $sperator = ", ") - { - // check if string is JSON - $result = json_decode($value, true); - if (json_last_error() === JSON_ERROR_NONE) { - // is JSON - if (self::checkArray($result)) - { - $value = ''; - $counter = 0; - foreach ($result as $string) - { - if ($counter) - { - $value .= $sperator.$string; - } - else - { - $value .= $string; - } - $counter++; - } - return $value; - } - return json_decode($value); - } - return $value; - } - - public static function isPublished($id,$type) - { - if ($type == 'raw') - { - $type = 'item'; - } - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.published')); - $query->from('#__###component###_'.$type.' AS a'); - $query->where('a.id = '.$id); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - if($found) - { - return true; - } - return false; - } - - public static function getGroupName($id) - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select(array('a.title')); - $query->from('#__usergroups AS a'); - $query->where('a.id = '.$id); - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - if($found) - { - return $db->loadResult(); - } - return $id; - } - - /** - * Get the actions permissions - **/ - public static function getActions($view,&$record = null,$views = null) - { - jimport('joomla.access.access'); - - $user = JFactory::getUser(); - $result = new JObject; - $view = self::safeString($view); - if (self::checkString($views)) - { - $views = self::safeString($views); - } - // get all actions from component - $actions = JAccess::getActions('com_###component###', 'component'); - // set acctions only set in component settiongs - $componentActions = array('core.admin','core.manage','core.options','core.export'); - // loop the actions and set the permissions - foreach ($actions as $action) - { - // set to use component default - $fallback= true; - if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions)) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id); - if (!$permission && !is_null($permission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - } - } - elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0) - { - // make sure we use the core. action check for the categories - if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) { - $coreCheck = explode('.',$action->name); - $coreCheck[0] = 'core'; - $categoryCheck = implode('.',$coreCheck); - } - else - { - $categoryCheck = $action->name; - } - // The record has a category. Check the category permissions. - $catpermission = $user->authorise($categoryCheck, 'com_###component###.'.$views.'.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - } - } - } - } - // if allowed then fallback on component global settings - if ($fallback) - { - $result->set($action->name, $user->authorise($action->name, 'com_###component###')); - } - } - return $result; - } - - /** - * Get any component's model - **/ - public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = '###component###') - { - // load some joomla helpers - JLoader::import('joomla.application.component.model'); - // load the model file - JLoader::import( $name, $path . '/models' ); - // return instance - return JModelLegacy::getInstance( $name, $component.'Model' ); - } - - /** - * Add to asset Table - */ - public static function setAsset($id,$table) - { - $parent = JTable::getInstance('Asset'); - $parent->loadByName('com_###component###'); - - $parentId = $parent->id; - $name = 'com_###component###.'.$table.'.'.$id; - $title = ''; - - $asset = JTable::getInstance('Asset'); - $asset->loadByName($name); - - // Check for an error. - $error = $asset->getError(); - - if ($error) - { - return false; - } - else - { - // Specify how a new or moved node asset is inserted into the tree. - if ($asset->parent_id != $parentId) - { - $asset->setLocation($parentId, 'last-child'); - } - - // Prepare the asset to be stored. - $asset->parent_id = $parentId; - $asset->name = $name; - $asset->title = $title; - // get the default asset rules - $rules = self::getDefaultAssetRules('com_###component###',$table); - if ($rules instanceof JAccessRules) - { - $asset->rules = (string) $rules; - } - - if (!$asset->check() || !$asset->store()) - { - JError::raiseWarning(500, $asset->getError()); - return false; - } - else - { - // Create an asset_id or heal one that is corrupted. - $object = new stdClass(); - - // Must be a valid primary key value. - $object->id = $id; - $object->asset_id = (int) $asset->id; - - // Update their asset_id to link to the asset table. - return JFactory::getDbo()->updateObject('#__###component###_'.$table, $object, 'id'); - } - } - return false; - } - - /** - * Gets the default asset Rules for a component/view. - */ - protected static function getDefaultAssetRules($component,$view) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - $result = JAccess::getAssetRules($assetId); - if ($result instanceof JAccessRules) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($view !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules($_result); - - return $rules; - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - public static function renderBoolButton() - { - $args = func_get_args(); - - // get the radio element - $button = JFormHelper::loadFieldType('radio'); - - // setup the properties - $name = self::htmlEscape($args[0]); - $additional = isset($args[1]) ? (string) $args[1] : ''; - $value = $args[2]; - $yes = isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES'; - $no = isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO'; - - // prepare the xml - $element = new SimpleXMLElement(''); - - // run - $button->setup($element, $value); - - return $button->input; - - } - - public static function checkObject($object) - { - if (isset($object) && is_object($object) && count($object) > 0) - { - return true; - } - return false; - } - - public static function checkArray($array) - { - if (isset($array) && is_array($array) && count($array) > 0) - { - return true; - } - return false; - } - - public static function checkString($string) - { - if (isset($string) && is_string($string) && strlen($string) > 0) - { - return true; - } - return false; - } - - public static function mergeArrays($arrays) - { - if(self::checkArray($arrays)) - { - $arrayBuket = array(); - foreach ($arrays as $array) - { - if (self::checkArray($array)) - { - $arrayBuket = array_merge($arrayBuket, $array); - } - } - return $arrayBuket; - } - return false; - } - - public static function sorten($string, $length = 40, $addTip = true) - { - if (self::checkString($string)) - { - $initial = strlen($string); - $words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE); - $words_count = count($words); - - $word_length = 0; - $last_word = 0; - for (; $last_word < $words_count; ++$last_word) - { - $word_length += strlen($words[$last_word]); - if ($word_length > $length) - { - break; - } - } - - $newString = implode(array_slice($words, 0, $last_word)); - $final = strlen($newString); - if ($initial != $final && $addTip) - { - $title = self::sorten($string, 400 , false); - return ''.trim($newString).'...'; - } - elseif ($initial != $final && !$addTip) - { - return trim($newString).'...'; - } - } - return $string; - } - - public static function safeString($string, $type = 'L', $spacer = '_') - { - // remove all numbers and replace with english text version (works well only up to a thousand) - $string = self::replaceNumbers($string); - - if (self::checkString($string)) - { - // remove all other characters - $string = trim($string); - $string = preg_replace('/'.$spacer.'+/', ' ', $string); - $string = preg_replace('/\s+/', ' ', $string); - $string = preg_replace("/[^A-Za-z ]/", '', $string); - // return a string with all first letter of each word uppercase(no undersocre) - if ($type == 'W') - { - return ucwords(strtolower($string)); - } - elseif ($type == 'w') - { - return strtolower($string); - } - elseif ($type == 'Ww') - { - return ucfirst(strtolower($string)); - } - elseif ($type == 'WW') - { - return strtoupper($string); - } - elseif ($type == 'U') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return all upper - return strtoupper($string); - } - elseif ($type == 'F') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return with first caracter to upper - return ucfirst(strtolower($string)); - } - elseif ($type == 'L') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // default is to return lower - return strtolower($string); - } - - // return string - return $string; - } - // not a string - return ''; - } - - public static function htmlEscape($var, $charset = 'UTF-8', $sorten = false, $length = 40) - { - if (self::checkString($var)) - { - $filter = new JFilterInput(); - $string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML'); - if ($sorten) - { - return self::sorten($string,$length); - } - return $string; - } - else - { - return ''; - } - }###HELPER_LICENSE_LOCK### - - public static function replaceNumbers($string) - { - // set numbers array - $numbers = array(); - // first get all numbers - preg_match_all('!\d+!', $string, $numbers); - // check if we have any numbers - if (isset($numbers[0]) && self::checkArray($numbers[0])) - { - foreach ($numbers[0] as $number) - { - $searchReplace[$number] = self::numberToString((int)$number); - } - // now replace numbers in string - $string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string); - // check if we missed any, strange if we did. - return self::replaceNumbers($string); - } - // return the string with no numbers remaining. - return $string; - } - - /** - * Convert an integer into an English word string - * Thanks to Tom Nicholson - * - * @input an int - * @returns a string - **/ - public static function numberToString($x) - { - $nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven", - "eight", "nine", "ten", "eleven", "twelve", "thirteen", - "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", - "nineteen", "twenty", 30 => "thirty", 40 => "forty", - 50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty", - 90 => "ninety" ); - - if(!is_numeric($x)) - { - $w = $x; - } - elseif(fmod($x, 1) != 0) - { - $w = $x; - } - else - { - if($x < 0) - { - $w = 'minus '; - $x = -$x; - } - else - { - $w = ''; - // ... now $x is a non-negative integer. - } - - if($x < 21) // 0 to 20 - { - $w .= $nwords[$x]; - } - elseif($x < 100) // 21 to 99 - { - $w .= $nwords[10 * floor($x/10)]; - $r = fmod($x, 10); - if($r > 0) - { - $w .= ' '. $nwords[$r]; - } - } - elseif($x < 1000) // 100 to 999 - { - $w .= $nwords[floor($x/100)] .' hundred'; - $r = fmod($x, 100); - if($r > 0) - { - $w .= ' and '. self::numberToString($r); - } - } - elseif($x < 1000000) // 1000 to 999999 - { - $w .= self::numberToString(floor($x/1000)) .' thousand'; - $r = fmod($x, 1000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $w .= 'and '; - } - $w .= self::numberToString($r); - } - } - else // millions - { - $w .= self::numberToString(floor($x/1000000)) .' million'; - $r = fmod($x, 1000000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $word .= 'and '; - } - $w .= self::numberToString($r); - } - } - } - return $w; - } - - /** - * Random Key - * - * @returns a string - **/ - public static function randomkey($size) - { - $bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ"; - $key = array(); - $bagsize = strlen($bag) - 1; - for ($i = 0; $i < $size; $i++) - { - $get = rand(0, $bagsize); - $key[] = $bag[$get]; - } - return implode($key); - }###GET_CRYPT_KEY### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/Helper_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/Helper_site.php deleted file mode 100644 index 997d85e83..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/Helper_site.php +++ /dev/null @@ -1,812 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### component helper - */ -abstract class ###Component###Helper -{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT### - - public static function jsonToString($value) - { - // check if string is JSON - $result = json_decode($value, true); - if (json_last_error() === JSON_ERROR_NONE) { - // is JSON - if (self::checkArray($result)) - { - $value = ''; - $counter = 0; - foreach ($result as $string) - { - if ($counter) - { - $value .= ", ".$string; - } - else - { - $value .= $string; - } - $counter++; - } - } - return json_decode($value); - } - return $value; - } - - /** - * Load the Component xml manifest. - **/ - public static function manifest() - { - $manifestUrl = JPATH_ADMINISTRATOR."/components/com_###component###/###component###.xml"; - return simplexml_load_file($manifestUrl); - } - - /** - * Load the Contributors details. - **/ - public static function getContributors() - { - // get params - $params = JComponentHelper::getParams('com_###component###'); - // start contributors array - $contributors = array(); - // get all Contributors (max 20) - $searchArray = range('0','20'); - foreach($searchArray as $nr) - { - if ((NULL !== $params->get("showContributor".$nr)) && ($params->get("showContributor".$nr) == 2 || $params->get("showContributor".$nr) == 3)) - { - // set link based of selected option - if($params->get("useContributor".$nr) == 1) - { - $link_front = ''; - $link_back = ''; - } - elseif($params->get("useContributor".$nr) == 2) - { - $link_front = ''; - $link_back = ''; - } - else - { - $link_front = ''; - $link_back = ''; - } - $contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr)); - $contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back; - } - } - return $contributors; - }###HELP_SITE### - - /** - * Get any component's model - **/ - public static function getModel($name, $path = JPATH_COMPONENT_SITE, $component = '###component###') - { - // load some joomla helpers - JLoader::import('joomla.application.component.model'); - // load the model file - JLoader::import( $name, $path . '/models' ); - // return instance - return JModelLegacy::getInstance( $name, $component.'Model' ); - } - - /** - * Add to asset Table - */ - public static function setAsset($id,$table) - { - $parent = JTable::getInstance('Asset'); - $parent->loadByName('com_###component###'); - - $parentId = $parent->id; - $name = 'com_###component###.'.$table.'.'.$id; - $title = ''; - - $asset = JTable::getInstance('Asset'); - $asset->loadByName($name); - - // Check for an error. - $error = $asset->getError(); - - if ($error) - { - $this->setError($error); - - return false; - } - else - { - // Specify how a new or moved node asset is inserted into the tree. - if ($asset->parent_id != $parentId) - { - $asset->setLocation($parentId, 'last-child'); - } - - // Prepare the asset to be stored. - $asset->parent_id = $parentId; - $asset->name = $name; - $asset->title = $title; - // get the default asset rules - $rules = self::getDefaultAssetRules('com_###component###',$table); - if ($rules instanceof JAccessRules) - { - $asset->rules = (string) $rules; - } - - if (!$asset->check() || !$asset->store()) - { - JError::raiseWarning(500, $asset->getError()); - return false; - } - else - { - // Create an asset_id or heal one that is corrupted. - $object = new stdClass(); - - // Must be a valid primary key value. - $object->id = $id; - $object->asset_id = (int) $asset->id; - - // Update their asset_id to link to the asset table. - return JFactory::getDbo()->updateObject('#__###component###_'.$table, $object, 'id'); - } - } - return false; - } - - /** - * Gets the default asset Rules for a component/view. - */ - protected static function getDefaultAssetRules($component,$view) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - $result = JAccess::getAssetRules($assetId); - if ($result instanceof JAccessRules) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($view !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules($_result); - - return $rules; - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - public static function renderBoolButton() - { - $args = func_get_args(); - - // get the radio element - $button = JFormHelper::loadFieldType('radio'); - - // setup the properties - $name = self::htmlEscape($args[0]); - $additional = isset($args[1]) ? (string) $args[1] : ''; - $value = $args[2]; - $yes = isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES'; - $no = isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO'; - - // prepare the xml - $element = new SimpleXMLElement(''); - - // run - $button->setup($element, $value); - - return $button->input; - - }###HELPER_UIKIT### ###HELPER_CREATEUSER### - - public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } - - public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true) - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - - if (!self::checkArray($where) && $where > 0) - { - $where = array($where); - } - - if (self::checkArray($where)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - $query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - if ($unique) - { - return array_unique($db->loadColumn()); - } - return $db->loadColumn(); - } - } - return false; - } - - /** - * Get the actions permissions - **/ - public static function getActions($view,&$record = null,$views = null) - { - jimport('joomla.access.access'); - - $user = JFactory::getUser(); - $result = new JObject; - $view = self::safeString($view); - if (self::checkString($views)) - { - $views = self::safeString($views); - } - // get all actions from component - $actions = JAccess::getActions('com_###component###', 'component'); - // set acctions only set in component settiongs - $componentActions = array('core.admin','core.manage','core.options','core.export'); - // loop the actions and set the permissions - foreach ($actions as $action) - { - // set to use component default - $fallback = true; - if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions)) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id); - if (!$permission && !is_null($permission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - } - } - elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0) - { - // make sure we use the core. action check for the categories - if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) { - $coreCheck = explode('.',$action->name); - $coreCheck[0] = 'core'; - $categoryCheck = implode('.',$coreCheck); - } - else - { - $categoryCheck = $action->name; - } - // The record has a category. Check the category permissions. - $catpermission = $user->authorise($categoryCheck, 'com_###component###.'.$views.'.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - } - } - } - } - // if allowed then fallback on component global settings - if ($fallback) - { - $result->set($action->name, $user->authorise($action->name, 'com_###component###')); - } - } - return $result; - } - - public static function checkObject($object) - { - if (isset($object) && is_object($object) && count($object) > 0) - { - return true; - } - return false; - } - - public static function checkArray($array) - { - if (isset($array) && is_array($array) && count($array) > 0) - { - return true; - } - return false; - } - - public static function checkString($string) - { - if (isset($string) && is_string($string) && strlen($string) > 0) - { - return true; - } - return false; - } - - public static function mergeArrays($arrays) - { - if(self::checkArray($arrays)) - { - $arrayBuket = array(); - foreach ($arrays as $array) - { - if (self::checkArray($array)) - { - $arrayBuket = array_merge($arrayBuket, $array); - } - } - return $arrayBuket; - } - return false; - } - - public static function sorten($string, $length = 40, $addTip = true) - { - if (self::checkString($string)) - { - $initial = strlen($string); - $words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE); - $words_count = count($words); - - $word_length = 0; - $last_word = 0; - for (; $last_word < $words_count; ++$last_word) - { - $word_length += strlen($words[$last_word]); - if ($word_length > $length) - { - break; - } - } - - $newString = implode(array_slice($words, 0, $last_word)); - $final = strlen($newString); - if ($initial != $final && $addTip) - { - $title = self::sorten($string, 400 , false); - return ''.trim($newString).'...'; - } - elseif ($initial != $final && !$addTip) - { - return trim($newString).'...'; - } - } - return $string; - } - - public static function safeString($string, $type = 'L', $spacer = '_') - { - // remove all numbers and replace with english text version (works well only up to a thousand) - $string = self::replaceNumbers($string); - - if (self::checkString($string)) - { - // remove all other characters - $string = trim($string); - $string = preg_replace('/'.$spacer.'+/', ' ', $string); - $string = preg_replace('/\s+/', ' ', $string); - $string = preg_replace("/[^A-Za-z ]/", '', $string); - // return a string with all first letter of each word uppercase(no undersocre) - if ($type == 'W') - { - return ucwords(strtolower($string)); - } - elseif ($type == 'w') - { - return strtolower($string); - } - elseif ($type == 'Ww') - { - return ucfirst(strtolower($string)); - } - elseif ($type == 'WW') - { - return strtoupper($string); - } - elseif ($type == 'U') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return all upper - return strtoupper($string); - } - elseif ($type == 'F') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return with first caracter to upper - return ucfirst(strtolower($string)); - } - elseif ($type == 'L') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // default is to return lower - return strtolower($string); - } - - // return string - return $string; - } - // not a string - return ''; - } - - public static function htmlEscape($var, $charset = 'UTF-8', $sorten = false, $length = 40) - { - if (self::checkString($var)) - { - $filter = new JFilterInput(); - $string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML'); - if ($sorten) - { - return self::sorten($string,$length); - } - return $string; - } - else - { - return ''; - } - }###HELPER_SITE_LICENSE_LOCK### - - public static function replaceNumbers($string) - { - // set numbers array - $numbers = array(); - // first get all numbers - preg_match_all('!\d+!', $string, $numbers); - // check if we have any numbers - if (isset($numbers[0]) && self::checkArray($numbers[0])) - { - foreach ($numbers[0] as $number) - { - $searchReplace[$number] = self::numberToString((int)$number); - } - // now replace numbers in string - $string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string); - // check if we missed any, strange if we did. - return self::replaceNumbers($string); - } - // return the string with no numbers remaining. - return $string; - } - - /** - * Convert an integer into an English word string - * Thanks to Tom Nicholson - * - * @input an int - * @returns a string - **/ - public static function numberToString($x) - { - $nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven", - "eight", "nine", "ten", "eleven", "twelve", "thirteen", - "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", - "nineteen", "twenty", 30 => "thirty", 40 => "forty", - 50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty", - 90 => "ninety" ); - - if(!is_numeric($x)) - { - $w = $x; - } - elseif(fmod($x, 1) != 0) - { - $w = $x; - } - else - { - if($x < 0) - { - $w = 'minus '; - $x = -$x; - } - else - { - $w = ''; - // ... now $x is a non-negative integer. - } - - if($x < 21) // 0 to 20 - { - $w .= $nwords[$x]; - } - elseif($x < 100) // 21 to 99 - { - $w .= $nwords[10 * floor($x/10)]; - $r = fmod($x, 10); - if($r > 0) - { - $w .= ' '. $nwords[$r]; - } - } - elseif($x < 1000) // 100 to 999 - { - $w .= $nwords[floor($x/100)] .' hundred'; - $r = fmod($x, 100); - if($r > 0) - { - $w .= ' and '. self::numberToString($r); - } - } - elseif($x < 1000000) // 1000 to 999999 - { - $w .= self::numberToString(floor($x/1000)) .' thousand'; - $r = fmod($x, 1000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $w .= 'and '; - } - $w .= self::numberToString($r); - } - } - else // millions - { - $w .= self::numberToString(floor($x/1000000)) .' million'; - $r = fmod($x, 1000000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $word .= 'and '; - } - $w .= self::numberToString($r); - } - } - } - return $w; - } - - /** - * Random Key - * - * @returns a string - **/ - public static function randomkey($size) - { - $bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ"; - $key = array(); - $bagsize = strlen($bag) - 1; - for ($i = 0; $i < $size; $i++) - { - $get = rand(0, $bagsize); - $key[] = $bag[$get]; - } - return implode($key); - }###GET_CRYPT_KEY### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerAdmin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerAdmin.php deleted file mode 100644 index befed19e0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerAdmin.php +++ /dev/null @@ -1,51 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * ###Views### Controller - */ -class ###Component###Controller###Views### extends JControllerAdmin -{ - protected $text_prefix = 'COM_###COMPONENT###_###VIEWS###'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = '###View###', $prefix = '###Component###Model', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - }###CONTROLLEREXIMPORTMETHOD### ###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerAdmin_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerAdmin_custom_admin.php deleted file mode 100644 index cf469f93e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerAdmin_custom_admin.php +++ /dev/null @@ -1,57 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * ###SViews### Controller - */ -class ###Component###Controller###SViews### extends JControllerAdmin -{ - protected $text_prefix = 'COM_###COMPONENT###_###SVIEWS###'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = '###SView###', $prefix = '###Component###Model', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function dashboard() - { - $this->setRedirect(JRoute::_('index.php?option=com_###component###', false)); - return; - }###CUSTOM_ADMIN_CUSTOM_BUTTONS_CONTROLLER### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm.php deleted file mode 100644 index 5f2de245a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm.php +++ /dev/null @@ -1,271 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * ###View### Controller - */ -class ###Component###Controller###View### extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = '###Views###'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - {###JCONTROLLERFORM_ALLOWADD### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JCONTROLLERFORM_ALLOWEDIT### - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('###View###', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view=###views###' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - {###POSTSAVEHOOK### - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm_custom_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm_custom_site.php deleted file mode 100644 index 911146a4e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm_custom_site.php +++ /dev/null @@ -1,120 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### ###SView### Controller - */ -class ###Component###Controller###SView### extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = '###SITE_DEFAULT_VIEW###'; // safeguard for setting the return view listing to the default site view. - parent::__construct($config); - }###SITE_CUSTOM_BUTTONS_CONTROLLER### - - /** - * Method to check if you can edit an existing record. - * - * Extended classes can override this if necessary. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key; default is id. - * - * @return boolean - * - * @since 12.2 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // to insure no other tampering - return false; - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // to insure no other tampering - return false; - } - - /** - * Method to check if you can save a new or existing record. - * - * Extended classes can override this if necessary. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 12.2 - */ - protected function allowSave($data, $key = 'id') - { - // to insure no other tampering - return false; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModelLegacy $model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 12.2 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm_site.php deleted file mode 100644 index 5ddd57d3b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerForm_site.php +++ /dev/null @@ -1,271 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * ###View### Controller - */ -class ###Component###Controller###View### extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = '###SITE_DEFAULT_VIEW###'; // safeguard for setting the return view listing to the default site view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - {###JCONTROLLERFORM_ALLOWADD### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JCONTROLLERFORM_ALLOWEDIT### - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('###View###', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view=###views###' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - {###POSTSAVEHOOK### - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy.php deleted file mode 100644 index 38a10e588..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy.php +++ /dev/null @@ -1,108 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controller library -jimport('joomla.application.component.controller'); - -/** - * General Controller of ###Component### component - */ -class ###Component###Controller extends JControllerLegacy -{ - /** - * display task - * - * @return void - */ - function display($cachable = false, $urlparams = false) - { - // set default view if not set - $view = $this->input->getCmd('view', '###Component###'); - $data = $this->getViewRelation($view); - $layout = $this->input->get('layout', null, 'WORD'); - $id = $this->input->getInt('id'); - - // Check for edit form. - if(###Component###Helper::checkArray($data)) - { - if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_###component###.edit.'.$data['view'], $id)) - { - // Somehow the person just went to the form - we don't allow that. - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id)); - $this->setMessage($this->getError(), 'error'); - // check if item was opend from other then its own list view - $ref = $this->input->getCmd('ref', 0); - $refid = $this->input->getInt('refid', 0); - // set redirect - if ($refid > 0 && ###Component###Helper::checkString($ref)) - { - // redirect to item of ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false)); - } - elseif (###Component###Helper::checkString($ref)) - { - - // redirect to ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref, false)); - } - else - { - // normal redirect back to the list view - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.$data['views'], false)); - } - - return false; - } - } - - return parent::display($cachable, $urlparams); - } - - protected function getViewRelation($view) - { - if (###Component###Helper::checkString($view)) - { - $views = array(###VIEWARRAY### - ); - // check if this is a list view - if (in_array($view,$views)) - { - return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view); - } - // check if it is an edit view - elseif (array_key_exists($view,$views)) - { - return array('edit' => true, 'view' => $view, 'views' => $views[$view]); - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyAjax.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyAjax.php deleted file mode 100644 index b894571b4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyAjax.php +++ /dev/null @@ -1,76 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Ajax Controller - */ -class ###Component###ControllerAjax extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // make sure all json stuff are set - JFactory::getDocument()->setMimeEncoding( 'application/json' ); - JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"'); - JResponse::setHeader("Access-Control-Allow-Origin", "*"); - // load the tasks ###REGISTER_AJAX_TASK### - } - - public function ajax() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token) - { - $task = $this->getTask(); - switch($task) - {###AJAX_INPUT_RETURN### - } - } - else - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode(false).");"; - } - else - { - echo "(".json_encode(false).");"; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php deleted file mode 100644 index eabdf1854..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php +++ /dev/null @@ -1,76 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Ajax Controller - */ -class ###Component###ControllerAjax extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // make sure all json stuff are set - JFactory::getDocument()->setMimeEncoding( 'application/json' ); - JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"'); - JResponse::setHeader("Access-Control-Allow-Origin", "*"); - // load the tasks ###REGISTER_SITE_AJAX_TASK### - } - - public function ajax() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token) - { - $task = $this->getTask(); - switch($task) - {###AJAX_SITE_INPUT_RETURN### - } - } - else - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode(false).");"; - } - else - { - echo "(".json_encode(false).");"; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyHelp.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyHelp.php deleted file mode 100644 index f1c1932f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyHelp.php +++ /dev/null @@ -1,132 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Help Controller - */ -class ###Component###ControllerHelp extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('getText', 'help'); - } - - public function help() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($user->id != 0 && $token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'getText': - try - { - $idValue = $jinput->get('id', 0, 'INT'); - if($idValue) - { - $result = $this->getHelpDocumentText($idValue); - } - else - { - $result = ''; - } - echo $result; - // stop execution gracefully - jexit(); - } - catch(Exception $e) - { - // stop execution gracefully - jexit(); - } - break; - } - } - else - { - // stop execution gracefully - jexit(); - } - } - - protected function getHelpDocumentText($id) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.title','a.content')); - $query->from('#__###component###_help_document AS a'); - $query->where('a.id = '.(int) $id); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $text = array(); - $document = $db->loadObject(); - // fix image issue - $images['src="images'] = 'src="'.JURI::root().'images'; - $images["src='images"] = "src='".JURI::root()."images"; - $images['src="/images'] = 'src="'.JURI::root().'images'; - $images["src='/images"] = "src='".JURI::root()."images"; - // set document template - $text[] = ""; - $text[] = ''; - $text[] = ""; - $text[] = ''; - $text[] = "".$document->title.""; - $text[] = ''; - $text[] = ''; - $text[] = ""; - $text[] = '
'; - $text[] = '
'; - $text[] = '
'; - // build the help text - $text[] = '

'.$document->title."

"; - $text[] = str_replace(array_keys($images),array_values($images),$document->content); - // end template - $text[] = '
'; - $text[] = '
'; - $text[] = ""; - $text[] = ""; - - return implode("\n",$text); - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyHelp_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyHelp_site.php deleted file mode 100644 index 6c709416a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacyHelp_site.php +++ /dev/null @@ -1,133 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Help Controller - */ -class ###Component###ControllerHelp extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('getText', 'help'); - } - - public function help() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'getText': - try - { - $idValue = $jinput->get('id', 0, 'INT'); - if($idValue) - { - $result = $this->getHelpDocumentText($idValue); - } - else - { - $result = ''; - } - echo $result; - // stop execution gracefully - jexit(); - } - catch(Exception $e) - { - // stop execution gracefully - jexit(); - } - break; - } - } - else - { - // stop execution gracefully - jexit(); - } - } - - protected function getHelpDocumentText($id) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.title','a.content')); - $query->from('#__###component###_help_document AS a'); - $query->where('a.id = '.(int) $id); - $query->where('a.published = 1'); - $query->where('a.location = 2'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $text = array(); - $document = $db->loadObject(); - // fix image issue - $images['src="images'] = 'src="'.JURI::root().'images'; - $images["src='images"] = "src='".JURI::root()."images"; - $images['src="/images'] = 'src="'.JURI::root().'images'; - $images["src='/images"] = "src='".JURI::root()."images"; - // set document template - $text[] = ""; - $text[] = ''; - $text[] = ""; - $text[] = ''; - $text[] = "".$document->title.""; - $text[] = ''; - $text[] = ''; - $text[] = ""; - $text[] = '
'; - $text[] = '
'; - $text[] = '
'; - // build the help text - $text[] = '

'.$document->title."

"; - $text[] = str_replace(array_keys($images),array_values($images),$document->content); - // end template - $text[] = '
'; - $text[] = '
'; - $text[] = ""; - $text[] = ""; - - return implode("\n",$text); - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacySITE.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacySITE.php deleted file mode 100644 index 400aaf6c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacySITE.php +++ /dev/null @@ -1,103 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controller library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Component Controller - */ -class ###Component###Controller extends JControllerLegacy -{ - /** - * display task - * - * @return void - */ - function display($cachable = false, $urlparams = false) - { - // set default view if not set - $view = $this->input->getCmd('view', '###SITE_DEFAULT_VIEW###'); - $isEdit = $this->checkEditView($view); - $layout = $this->input->get('layout', null, 'WORD'); - $id = $this->input->getInt('id'); - $cachable = true; - - // Check for edit form. - if($isEdit) - { - if ($layout == 'edit' && !$this->checkEditId('com_###component###.edit.'.$view, $id)) - { - // Somehow the person just went to the form - we don't allow that. - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id)); - $this->setMessage($this->getError(), 'error'); - // check if item was opend from other then its own list view - $ref = $this->input->getCmd('ref', 0); - $refid = $this->input->getInt('refid', 0); - // set redirect - if ($refid > 0 && ###Component###Helper::checkString($ref)) - { - // redirect to item of ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false)); - } - elseif (###Component###Helper::checkString($ref)) - { - - // redirect to ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref, false)); - } - else - { - // normal redirect back to the list default site view - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###', false)); - } - return false; - } - } - - return parent::display($cachable, $urlparams); - } - - protected function checkEditView($view) - { - if (###Component###Helper::checkString($view)) - { - $views = array(###SITE_EDIT_VIEW_ARRAY### - ); - // check if this is a edit view - if (in_array($view,$views)) - { - return true; - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy_custom_admin.php deleted file mode 100644 index 4f892783e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy_custom_admin.php +++ /dev/null @@ -1,50 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### ###SView### Controller - */ -class ###Component###Controller###SView### extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - } - - public function dashboard() - { - $this->setRedirect(JRoute::_('index.php?option=com_###component###', false)); - return; - }###CUSTOM_ADMIN_CUSTOM_BUTTONS_CONTROLLER### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy_import.php deleted file mode 100644 index c76b962c7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JControllerLegacy_import.php +++ /dev/null @@ -1,70 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### Import Controller - */ -class ###Component###ControllerImport extends JControllerLegacy -{ - /** - * Import an spreadsheet. - * - * @return void - */ - public function import() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - $model = $this->getModel('import'); - if ($model->import()) - { - $cache = JFactory::getCache('mod_menu'); - $cache->clean(); - // TODO: Reset the users acl here as well to kill off any missing bits - } - - $app = JFactory::getApplication(); - $redirect_url = $app->getUserState('com_###component###.redirect_url'); - if (empty($redirect_url)) - { - $redirect_url = JRoute::_('index.php?option=com_###component###&view=import', false); - } - else - { - // wipe out the user state when we're going to redirect - $app->setUserState('com_###component###.redirect_url', ''); - $app->setUserState('com_###component###.message', ''); - $app->setUserState('com_###component###.extension_message', ''); - } - $this->setRedirect($redirect_url); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldCheckboxes.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldCheckboxes.php deleted file mode 100644 index 3c4cf25bb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldCheckboxes.php +++ /dev/null @@ -1,57 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('checkboxes'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldCheckboxes -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - ###JFORM_GETOPTIONS_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldList.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldList.php deleted file mode 100644 index 968e01250..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldList.php +++ /dev/null @@ -1,57 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldList -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; ###ADD_BUTTON### - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - ###JFORM_GETOPTIONS_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldRadio.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldRadio.php deleted file mode 100644 index 14937a693..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldRadio.php +++ /dev/null @@ -1,57 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('radio'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldRadio -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - ###JFORM_GETOPTIONS_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldUser.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldUser.php deleted file mode 100644 index 0e930fd76..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormFieldUser.php +++ /dev/null @@ -1,71 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('user'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldUser -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; - - /** - * Method to get the filtering groups (null means no filtering) - * - * @return mixed array of filtering groups or null. - * - * @since 1.6 - */ - protected function getGroups() - { - ###JFORM_GETGROUPS_PHP### - } - - /** - * Method to get the users to exclude from the list of users - * - * @return mixed Array of users to exclude or null to to not exclude them - * - * @since 1.6 - */ - protected function getExcluded() - { - ###JFORM_GETEXCLUDED_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormRule.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormRule.php deleted file mode 100644 index 9009436ca..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JFormRule.php +++ /dev/null @@ -1,47 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla formrule library -jimport('joomla.form.formrule'); -/** - * Form Rule class for the Joomla Framework. - */ -class JFormRule###Name### extends JFormRule -{ - /** - * The regular expression. - * - * @access protected - * @var string - * @since 2.5 - */ - protected $regex = '^[^_]+$'; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelAdmin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelAdmin.php deleted file mode 100644 index 09abfaab3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelAdmin.php +++ /dev/null @@ -1,429 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * ###Component### ###View### Model - */ -class ###Component###Model###View### extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_###COMPONENT###'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_###component###.###view###'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = '###view###', $prefix = '###Component###Table', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - {###LICENSE_LOCKED_CHECK### - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - }###METHOD_GET_ITEM### - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_###component###.###view###'); - } - }###LINKEDVIEWGLOBAL### - - return $item; - }###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL### - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - {###JMODELADMIN_GETFORM### - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_###component###/models/forms/###view###.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - {###JMODELADMIN_CANDELETE### - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - {###JMODELADMIN_CANEDITSTATE### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JMODELADMIN_ALLOWEDIT### - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__###component###_###view###')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_###component###.edit.###view###.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - }###VALIDATIONFIX### ###UNIQUEFIELDS### - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - {###JMODELADMIN_BEFORE_DELETE### - if (!parent::delete($pks)) - { - return false; - }###JMODELADMIN_AFTER_DELETE### - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ###Component###Helper::getActions('###view###'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - }###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE### - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - }###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE### - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - }###TITLEALIASFIX### - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - }###GENERATENEWTITLE### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelAdmin_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelAdmin_site.php deleted file mode 100644 index f465d41e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelAdmin_site.php +++ /dev/null @@ -1,410 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * ###Component### ###View### Model - */ -class ###Component###Model###View### extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_###COMPONENT###'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_###component###.###view###'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = '###view###', $prefix = '###Component###Table', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - {###LICENSE_LOCKED_CHECK### - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - }###METHOD_GET_ITEM### - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_###component###.###view###'); - } - }###LINKEDVIEWGLOBAL### - - return $item; - }###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL### - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - {###JMODELADMIN_GETFORM### - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_###component###/models/forms/###view###.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - {###JMODELADMIN_CANDELETE### - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - {###JMODELADMIN_CANEDITSTATE### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JMODELADMIN_ALLOWEDIT### - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__###component###_###view###')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_###component###.edit.###view###.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - }###VALIDATIONFIX### ###UNIQUEFIELDS### - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ###Component###Helper::getActions('###view###'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - }###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE### - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - }###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE### - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - }###TITLEALIASFIX### - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - }###GENERATENEWTITLE### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelItem_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelItem_custom_admin.php deleted file mode 100644 index 5a38162de..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelItem_custom_admin.php +++ /dev/null @@ -1,141 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla modelitem library -jimport('joomla.application.component.modelitem'); - -/** - * ###Component### ###SView### Model - */ -class ###Component###Model###SView### extends JModelItem -{ - /** - * Model context string. - * - * @var string - */ - protected $_context = 'com_###component###.###sview###'; - - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * @var object item - */ - protected $item; - - /** - * Method to auto-populate the model state. - * - * Note. Calling getState in this method will result in recursion. - * - * @since 1.6 - * - * @return void - */ - protected function populateState() - { - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - // Get the item main id - $id = $this->input->getInt('id', null); - $this->setState('###sview###.id', $id); - - // Load the parameters. - parent::populateState(); - } - - /** - * Method to get article data. - * - * @param integer $pk The id of the article. - * - * @return mixed Menu item data object on success, false on failure. - */ - public function getItem($pk = null) - { - $this->user = JFactory::getUser(); - // check if this user has permission to access item - if (!$this->user->authorise('###sview###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect('index.php?option=com_###component###'); - return false; - } - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->initSet = true; - - $pk = (!empty($pk)) ? $pk : (int) $this->getState('###sview###.id');###CUSTOM_ADMIN_BEFORE_GET_ITEM### - - if ($this->_item === null) - { - $this->_item = array(); - }###LICENSE_LOCKED_CHECK### - - if (!isset($this->_item[$pk])) - { - try - {###CUSTOM_ADMIN_GET_ITEM### - } - catch (Exception $e) - { - if ($e->getCode() == 404) - { - // Need to go thru the error handler to allow Redirect to work. - JError::raiseError(404, $e->getMessage()); - } - else - { - $this->setError($e); - $this->_item[$pk] = false; - } - } - }###CUSTOM_ADMIN_AFTER_GET_ITEM### - - return $this->_item[$pk]; - }###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelItem_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelItem_site.php deleted file mode 100644 index 1a35c99cd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelItem_site.php +++ /dev/null @@ -1,143 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla modelitem library -jimport('joomla.application.component.modelitem'); - -/** - * ###Component### ###SView### Model - */ -class ###Component###Model###SView### extends JModelItem -{ - /** - * Model context string. - * - * @var string - */ - protected $_context = 'com_###component###.###sview###'; - - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * @var object item - */ - protected $item; - - /** - * Method to auto-populate the model state. - * - * Note. Calling getState in this method will result in recursion. - * - * @since 1.6 - * - * @return void - */ - protected function populateState() - { - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - // Get the itme main id - $id = $this->input->getInt('id', null); - $this->setState('###sview###.id', $id); - - // Load the parameters. - $params = $this->app->getParams(); - $this->setState('params', $params); - parent::populateState(); - } - - /** - * Method to get article data. - * - * @param integer $pk The id of the article. - * - * @return mixed Menu item data object on success, false on failure. - */ - public function getItem($pk = null) - { - $this->user = JFactory::getUser(); - // check if this user has permission to access item - if (!$this->user->authorise('site.###sview###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); - return false; - } - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->initSet = true; - - $pk = (!empty($pk)) ? $pk : (int) $this->getState('###sview###.id');###SITE_BEFORE_GET_ITEM### - - if ($this->_item === null) - { - $this->_item = array(); - }###LICENSE_LOCKED_CHECK### - - if (!isset($this->_item[$pk])) - { - try - {###SITE_GET_ITEM### - } - catch (Exception $e) - { - if ($e->getCode() == 404) - { - // Need to go thru the error handler to allow Redirect to work. - JError::raiseError(404, $e->getMessage()); - } - else - { - $this->setError($e); - $this->_item[$pk] = false; - } - } - }###SITE_AFTER_GET_ITEM### - - return $this->_item[$pk]; - }###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelLegacy_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelLegacy_import.php deleted file mode 100644 index a39f22fa7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelLegacy_import.php +++ /dev/null @@ -1,735 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### Import Model - */ -class ###Component###ModelImport extends JModelLegacy -{ - /** - * @var object JTable object - */ - protected $_table = null; - - /** - * @var object JTable object - */ - protected $_url = null; - - /** - * Model context string. - * - * @var string - */ - protected $_context = 'com_###component###.import'; - - /** - * Import Settings - */ - protected $getType = NULL; - protected $dataType = NULL; - - /** - * Method to auto-populate the model state. - * - * Note. Calling getState in this method will result in recursion. - * - * @return void - * - */ - protected function populateState() - { - $app = JFactory::getApplication('administrator'); - - $this->setState('message', $app->getUserState('com_###component###.message')); - $app->setUserState('com_###component###.message', ''); - - // Recall the 'Import from Directory' path. - $path = $app->getUserStateFromRequest($this->_context . '.import_directory', 'import_directory', $app->get('tmp_path')); - $this->setState('import.directory', $path); - // set uploading values - $this->use_streams = false; - $this->allow_unsafe = false; - $this->safeFileOptions = array(); - parent::populateState(); - } - - /** - * Import an spreadsheet from either folder, url or upload. - * - * @return boolean result of import - * - */ - public function import() - { - $this->setState('action', 'import'); - $app = JFactory::getApplication(); - $session = JFactory::getSession(); - $package = null; - $continue = false; - // get import type - $this->getType = $app->input->getString('gettype', NULL); - // get import type - $this->dataType = $session->get('dataType_VDM_IMPORTINTO', NULL); - - if ($package === null) - { - switch ($this->getType) - { - case 'folder': - // Remember the 'Import from Directory' path. - $app->getUserStateFromRequest($this->_context . '.import_directory', 'import_directory'); - $package = $this->_getPackageFromFolder(); - break; - - case 'upload': - $package = $this->_getPackageFromUpload(); - break; - - case 'url': - $package = $this->_getPackageFromUrl(); - break; - - case 'continue': - $continue = true; - $package = $session->get('package', null); - $package = json_decode($package, true); - // clear session - $session->clear('package'); - $session->clear('dataType'); - $session->clear('hasPackage'); - break; - - default: - $app->setUserState('com_###component###.message', JText::_('COM_###COMPONENT###_IMPORT_NO_IMPORT_TYPE_FOUND')); - - return false; - break; - } - } - // Was the package valid? - if (!$package || !$package['type']) - { - if (in_array($this->getType, array('upload', 'url'))) - { - $this->remove($package['packagename']); - } - - $app->setUserState('com_###component###.message', JText::_('COM_###COMPONENT###_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE')); - return false; - } - - // first link data to table headers - if(!$continue){ - $package = json_encode($package); - $session->set('package', $package); - $session->set('dataType', $this->dataType); - $session->set('hasPackage', true); - return true; - } - - // set the data - $headerList = json_decode($session->get($this->dataType.'_VDM_IMPORTHEADERS', false), true); - if (!$this->setData($package,$this->dataType,$headerList)) - { - // There was an error importing the package - $msg = JText::_('COM_###COMPONENT###_IMPORT_ERROR'); - $back = $session->get('backto_VDM_IMPORT', NULL); - if ($back) - { - $app->setUserState('com_###component###.redirect_url', 'index.php?option=com_###component###&view='.$back); - $session->clear('backto_VDM_IMPORT'); - } - $result = false; - } - else - { - // Package imported sucessfully - $msg = JText::sprintf('COM_###COMPONENT###_IMPORT_SUCCESS', $package['packagename']); - $back = $session->get('backto_VDM_IMPORT', NULL); - if ($back) - { - $app->setUserState('com_###component###.redirect_url', 'index.php?option=com_###component###&view='.$back); - $session->clear('backto_VDM_IMPORT'); - } - $result = true; - } - - // Set some model state values - $app->enqueueMessage($msg); - - // remove file after import - $this->remove($package['packagename']); - $session->clear($this->getType.'_VDM_IMPORTHEADERS'); - - return $result; - } - - /** - * Works out an importation spreadsheet from a HTTP upload - * - * @return spreadsheet definition or false on failure - */ - protected function _getPackageFromUpload() - { - // Get the uploaded file information - $input = JFactory::getApplication()->input; - - // Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get. - $userfile = $input->files->get('import_package', null, 'raw'); - - // Make sure that file uploads are enabled in php - if (!(bool) ini_get('file_uploads')) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE')); - return false; - } - - // If there is no uploaded file, we have a problem... - if (!is_array($userfile)) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED')); - return false; - } - - // Check if there was a problem uploading the file. - if ($userfile['error'] || $userfile['size'] < 1) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR')); - return false; - } - - // Build the appropriate paths - $config = JFactory::getConfig(); - $tmp_dest = $config->get('tmp_path') . '/' . $userfile['name']; - $tmp_src = $userfile['tmp_name']; - - // Move uploaded file - jimport('joomla.filesystem.file'); - $p_file = JFile::upload($tmp_src, $tmp_dest, $this->use_streams, $this->allow_unsafe, $this->safeFileOptions); - - // Was the package downloaded? - if (!$p_file) - { - $session = JFactory::getSession(); - $session->clear('package'); - $session->clear('dataType'); - $session->clear('hasPackage'); - // was not uploaded - return false; - } - - // check that this is a valid spreadsheet - $package = $this->check($userfile['name']); - - return $package; - } - - /** - * Import an spreadsheet from a directory - * - * @return array Spreadsheet details or false on failure - * - */ - protected function _getPackageFromFolder() - { - $input = JFactory::getApplication()->input; - - // Get the path to the package to import - $p_dir = $input->getString('import_directory'); - $p_dir = JPath::clean($p_dir); - // Did you give us a valid path? - if (!file_exists($p_dir)) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY')); - return false; - } - - // Detect the package type - $type = $this->getType; - - // Did you give us a valid package? - if (!$type) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE')); - } - - // check the extention - switch(strtolower(pathinfo($p_dir, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); - return false; - break; - } - - $package['packagename'] = null; - $package['dir'] = $p_dir; - $package['type'] = $type; - - return $package; - } - - /** - * Import an spreadsheet from a URL - * - * @return Package details or false on failure - * - */ - protected function _getPackageFromUrl() - { - $input = JFactory::getApplication()->input; - - // Get the URL of the package to import - $url = $input->getString('import_url'); - - // Did you give us a URL? - if (!$url) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL')); - return false; - } - - // Download the package at the URL given - $p_file = JInstallerHelper::downloadPackage($url); - - // Was the package downloaded? - if (!$p_file) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL')); - return false; - } - - // check that this is a valid spreadsheet - $package = $this->check($p_file); - - return $package; - } - - /** - * Check a file and verifies it as a spreadsheet file - * Supports .csv .xlsx .xls and .ods - * - * @param string $p_filename The uploaded package filename or import directory - * - * @return array of elements - * - */ - protected function check($archivename) - { - // Clean the name - $archivename = JPath::clean($archivename); - - // check the extention - switch(strtolower(pathinfo($archivename, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: - // Cleanup the import files - $this->remove($archivename); - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); - return false; - break; - } - - $config = JFactory::getConfig(); - // set Package Name - $check['packagename'] = $archivename; - - // set directory - $check['dir'] = $config->get('tmp_path'). '/' .$archivename; - - // set type - $check['type'] = $this->getType; - - return $check; - } - - /** - * Clean up temporary uploaded spreadsheet - * - * @param string $package Name of the uploaded spreadsheet file - * - * @return boolean True on success - * - */ - protected function remove($package) - { - jimport('joomla.filesystem.file'); - - $config = JFactory::getConfig(); - $package = $config->get('tmp_path'). '/' .$package; - - // Is the package file a valid file? - if (is_file($package)) - { - JFile::delete($package); - } - elseif (is_file(JPath::clean($package))) - { - // It might also be just a base filename - JFile::delete(JPath::clean($package)); - } - } - - /** - * Set the data from the spreadsheet to the database - * - * @param string $package Paths to the uploaded package file - * - * @return boolean false on failure - * - **/ - protected function setData($package,$table,$target_headers) - { - if (###Component###Helper::checkArray($target_headers)) - { - // make sure the file is loaded - JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers'); - $jinput = JFactory::getApplication()->input; - foreach($target_headers as $header) - { - $data['target_headers'][$header] = $jinput->getString($header, null); - } - // set the data - if(isset($package['dir'])) - { - $inputFileType = PHPExcel_IOFactory::identify($package['dir']); - $excelReader = PHPExcel_IOFactory::createReader($inputFileType); - $excelReader->setReadDataOnly(true); - $excelObj = $excelReader->load($package['dir']); - $data['array'] = $excelObj->getActiveSheet()->toArray(null, true,true,true); - $excelObj->disconnectWorksheets(); - unset($excelObj); - return $this->save($data,$table); - } - } - return false; - } - - /** - * Save the data from the file to the database - * - * @param string $package Paths to the uploaded package file - * - * @return boolean false on failure - * - **/ - protected function save($data,$table) - { - // import the data if there is any - if(###Component###Helper::checkArray($data['array'])) - { - // get user object - $user = JFactory::getUser(); - // remove header if it has headers - $id_key = $data['target_headers']['id']; - $published_key = $data['target_headers']['published']; - $ordering_key = $data['target_headers']['ordering']; - // get the first array set - $firstSet = reset($data['array']); - - // check if first array is a header array and remove if true - if($firstSet[$id_key] == 'id' || $firstSet[$published_key] == 'published' || $firstSet[$ordering_key] == 'ordering') - { - array_shift($data['array']); - } - - // make sure there is still values in array and that it was not only headers - if(###Component###Helper::checkArray($data['array']) && $user->authorise($table.'.import', 'com_###component###') && $user->authorise('core.import', 'com_###component###')) - { - // set target. - $target = array_flip($data['target_headers']); - // Get a db connection. - $db = JFactory::getDbo(); - // set some defaults - $todayDate = JFactory::getDate()->toSql(); - // get global action permissions - $canDo = ###Component###Helper::getActions($table); - $canEdit = $canDo->get('core.edit'); - $canState = $canDo->get('core.edit.state'); - $canCreate = $canDo->get('core.create'); - $hasAlias = $this->getAliasesUsed($table); - // prosses the data - foreach($data['array'] as $row) - { - $found = false; - if (isset($row[$id_key]) && is_numeric($row[$id_key]) && $row[$id_key] > 0) - { - // raw items import & update! - $query = $db->getQuery(true); - $query - ->select('version') - ->from($db->quoteName('#__###component###_'.$table)) - ->where($db->quoteName('id') . ' = '. $db->quote($row[$id_key])); - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - } - - if($found && $canEdit) - { - // update item - $id = $row[$id_key]; - $version = $db->loadResult(); - // reset all buckets - $query = $db->getQuery(true); - $fields = array(); - $version = false; - // Fields to update. - foreach($row as $key => $cell) - { - // ignore column - if ('IGNORE' == $target[$key]) - { - continue; - } - // update modified - if ('modified_by' == $target[$key]) - { - continue; - } - // update modified - if ('modified' == $target[$key]) - { - continue; - } - // update version - if ('version' == $target[$key]) - { - $cell = (int) $version + 1; - $version = true; - } - // verify publish authority - if ('published' == $target[$key] && !$canState) - { - continue; - } - // set to update array - if(in_array($key, $data['target_headers']) && is_numeric($cell)) - { - $fields[] = $db->quoteName($target[$key]) . ' = ' . $cell; - } - elseif(in_array($key, $data['target_headers']) && is_string($cell)) - { - $fields[] = $db->quoteName($target[$key]) . ' = ' . $db->quote($cell); - } - elseif(in_array($key, $data['target_headers']) && is_null($cell)) - { - // if import data is null then set empty - $fields[] = $db->quoteName($target[$key]) . " = ''"; - } - } - // load the defaults - $fields[] = $db->quoteName('modified_by') . ' = ' . $db->quote($user->id); - $fields[] = $db->quoteName('modified') . ' = ' . $db->quote($todayDate); - if (!$version) - { - $fields[] = $db->quoteName('version') . " = " . (int) $version + 1; - } - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('id') . ' = ' . $id - ); - - $query->update($db->quoteName('#__###component###_'.$table))->set($fields)->where($conditions); - $db->setQuery($query); - $db->execute(); - } - elseif ($canCreate) - { - // insert item - $query = $db->getQuery(true); - // reset all buckets - $columns = array(); - $values = array(); - $version = false; - // Insert columns. Insert values. - foreach($row as $key => $cell) - { - // ignore column - if ('IGNORE' == $target[$key]) - { - continue; - } - // remove id - if ('id' == $target[$key]) - { - continue; - } - // update created - if ('created_by' == $target[$key]) - { - continue; - } - // update created - if ('created' == $target[$key]) - { - continue; - } - // Make sure the alias is incremented - if ('alias' == $target[$key]) - { - $cell = $this->getAlias($cell,$table); - } - // update version - if ('version' == $target[$key]) - { - $cell = 1; - $version = true; - } - // set to insert array - if(in_array($key, $data['target_headers']) && is_numeric($cell)) - { - $columns[] = $target[$key]; - $values[] = $cell; - } - elseif(in_array($key, $data['target_headers']) && is_string($cell)) - { - $columns[] = $target[$key]; - $values[] = $db->quote($cell); - } - elseif(in_array($key, $data['target_headers']) && is_null($cell)) - { - // if import data is null then set empty - $columns[] = $target[$key]; - $values[] = "''"; - } - } - // load the defaults - $columns[] = 'created_by'; - $values[] = $db->quote($user->id); - $columns[] = 'created'; - $values[] = $db->quote($todayDate); - if (!$version) - { - $columns[] = 'version'; - $values[] = 1; - } - // Prepare the insert query. - $query - ->insert($db->quoteName('#__###component###_'.$table)) - ->columns($db->quoteName($columns)) - ->values(implode(',', $values)); - // Set the query using our newly populated query object and execute it. - $db->setQuery($query); - $done = $db->execute(); - if ($done) - { - $aId = $db->insertid(); - // make sure the access of asset is set - ###Component###Helper::setAsset($aId,$table); - } - } - else - { - return false; - } - } - return true; - } - } - return false; - } - - protected function getAlias($name,$type = false) - { - // sanitize the name to an alias - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $alias = JFilterOutput::stringURLUnicodeSlug($name); - } - else - { - $alias = JFilterOutput::stringURLSafe($name); - } - // must be a uniqe alias - if ($type) - { - return $this->getUniqe($alias,'alias',$type); - } - return $alias; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * @param string $type table. - * - * @return string New value. - */ - protected function getUniqe($value,$field,$type) - { - // insure the filed is always uniqe - while (isset($this->uniqeValueArray[$type][$field][$value])) - { - $value = JString::increment($value, 'dash'); - } - $this->uniqeValueArray[$type][$field][$value] = $value; - return $value; - } - - protected function getAliasesUsed($table) - { - // Get a db connection. - $db = JFactory::getDbo(); - // first we check if there is a alias column - $columns = $db->getTableColumns('#__###component###_'.$table); - if(isset($columns['alias'])){ - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('alias'))); - $query->from($db->quoteName('#__###component###_'.$table)); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $aliases = $db->loadColumn(); - foreach($aliases as $alias) - { - $this->uniqeValueArray[$table]['alias'][$alias] = $alias; - } - } - return true; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList.php deleted file mode 100644 index 15c87b6af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList.php +++ /dev/null @@ -1,126 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * ###Views### Model - */ -class ###Component###Model###Views### extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - ###FILTER_FIELDS### - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - ###POPULATESTATE### - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - {###LICENSE_LOCKED_CHECK### ###CHECKINCALL### - // load parent items - $items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX### ###SELECTIONTRANSLATIONFIX### - - // return items - return $items; - }###SELECTIONTRANSLATIONFIXFUNC### - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - {###LICENSE_LOCKED_CHECK### - ###LISTQUERY### - }###MODELEXPORTMETHOD### ###LICENSE_LOCKED_SET_BOOL### - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - ###STOREDID### - - return parent::getStoreId($id); - }###AUTOCHECKIN### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelListAjax.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelListAjax.php deleted file mode 100644 index 794cade2e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelListAjax.php +++ /dev/null @@ -1,48 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -jimport('joomla.application.component.helper'); - -/** - * ###Component### Ajax Model - */ -class ###Component###ModelAjax extends JModelList -{ - protected $app_params; - - public function __construct() - { - parent::__construct(); - // get params - $this->app_params = JComponentHelper::getParams('com_###component###'); - - }###AJAX_MODEL_METHODS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelListAjaxSite.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelListAjaxSite.php deleted file mode 100644 index bed21f089..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelListAjaxSite.php +++ /dev/null @@ -1,48 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -jimport('joomla.application.component.helper'); - -/** - * ###Component### Ajax Model - */ -class ###Component###ModelAjax extends JModelList -{ - protected $app_params; - - public function __construct() - { - parent::__construct(); - // get params - $this->app_params = JComponentHelper::getParams('com_###component###'); - - }###AJAX_SITE_MODEL_METHODS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList_custom_admin.php deleted file mode 100644 index 16ad0f229..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList_custom_admin.php +++ /dev/null @@ -1,98 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * ###Component### Model for ###SViews### - */ -class ###Component###Model###SViews### extends JModelList -{ - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the current user for authorisation checks - $this->user = JFactory::getUser(); - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - $this->initSet = true;###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY### ###CUSTOM_ADMIN_GET_LIST_QUERY### - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - $user = JFactory::getUser(); - // check if this user has permission to access items - if (!$user->authorise('###sviews###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect('index.php?option=com_###component###'); - return false; - }###LICENSE_LOCKED_CHECK### ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### - // load parent items - $items = parent::getItems(); - - // Get the global params - $globalParams = JComponentHelper::getParams('com_###component###', true);###CUSTOM_ADMIN_GET_ITEMS### ###CUSTOM_ADMIN_AFTER_GET_ITEMS### - - // return items - return $items; - }###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList_site.php deleted file mode 100644 index 9d26f70e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JModelList_site.php +++ /dev/null @@ -1,98 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * ###Component### Model for ###SViews### - */ -class ###Component###Model###SViews### extends JModelList -{ - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the current user for authorisation checks - $this->user = JFactory::getUser(); - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - $this->initSet = true;###SITE_CUSTOM_BEFORE_LIST_QUERY### ###SITE_GET_LIST_QUERY### - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - $user = JFactory::getUser(); - // check if this user has permission to access items - if (!$user->authorise('site.###sview###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); - return false; - }###LICENSE_LOCKED_CHECK### ###SITE_BEFORE_GET_ITEMS### - // load parent items - $items = parent::getItems(); - - // Get the global params - $globalParams = JComponentHelper::getParams('com_###component###', true);###SITE_GET_ITEMS### ###SITE_AFTER_GET_ITEMS### - - // return items - return $items; - }###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JTable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JTable.php deleted file mode 100644 index e111122de..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JTable.php +++ /dev/null @@ -1,351 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * ###Views### Table class - */ -class ###Component###Table###View### extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__###component###_###view###', 'id', $db);###JTABLECONSTRUCTOR### ###LICENSE_LOCKED_CHECK### - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the ###View### table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New ###view###. A ###view### created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('###view###', '###Component###Table'); - - if ($table->load(array('alias' => $this->alias###JTABLEALIASCATEGORY###)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_###COMPONENT###_###VIEW###_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('###view###', '###component###Table'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_###component###.###view###.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - }###LICENSE_LOCKED_SET_BOOL### - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_###component###.###view###.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_###component###'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_custom_admin.php deleted file mode 100644 index f5ee5d62e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_custom_admin.php +++ /dev/null @@ -1,113 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###CUSTOM_ADMIN_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SView### - */ -class ###Component###View###SView### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get component params - $this->params = JComponentHelper::getParams('com_###component###'); - // get the application - $this->app = JFactory::getApplication(); - // get the user object - $this->user = JFactory::getUser(); - // get global action permissions - $this->canDo = ###Component###Helper::getActions('###sview###');###CUSTOM_ADMIN_DIPLAY_METHOD### - }###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function setDocument() - {###CUSTOM_ADMIN_DOCUMENT_METADATA### ###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sview###.css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // hide the main menu - $this->app->input->set('hidemainmenu', true); - // set the title - if ($this->item->name) - { - $title = $this->item->name; - } - // Check for empty title and add view name if param is set - if (empty($title)) - { - $title = JText::_('COM_###COMPONENT###_###SVIEW###'); - } - // add title to the page - JToolbarHelper::title($title,'###ICOMOON###'); - // add the back button - // JToolBarHelper::custom('###sview###.back', 'undo-2', '', 'COM_###COMPONENT###_BACK', false); - // add cpanel button - JToolBarHelper::custom('###sview###.dashboard', 'grid-2', '', 'COM_###COMPONENT###_DASH', false);###CUSTOM_ADMIN_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sviews###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - }###CUSTOM_ADMIN_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } -} -?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_edit.php deleted file mode 100644 index f70f39336..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_edit.php +++ /dev/null @@ -1,128 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###View### View class - */ -class ###Component###View###View### extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('
', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ###Component###Helper::getActions('###view###',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - }###LINKEDVIEWITEMS### - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - ###ADDTOOLBAR### - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ###Component###Helper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###view###.css");###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS### - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_###component###/views/###view###/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_edit_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_edit_site.php deleted file mode 100644 index a0bacf906..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_edit_site.php +++ /dev/null @@ -1,137 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###View### View class - */ -class ###Component###View###View### extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('
', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ###Component###Helper::getActions('###view###',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - }###LINKEDVIEWITEMS### - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // adding the joomla edit toolbar to the front - JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php'); - ###ADDTOOLBAR### - // now initiate the toolbar - $this->toolbar = JToolbar::getInstance(); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ###Component###Helper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT')); - // we need this to fix the form display - $document->addStyleSheet(JURI::root()."administrator/templates/isis/css/template.css"); - $document->addScript(JURI::root()."administrator/templates/isis/js/template.js"); - // the default style of this view - $document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css");###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS### - // default javascript of this view - $document->addScript(JURI::root().$this->script); - $document->addScript(JURI::root(). "components/com_###component###/views/###view###/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_import.php deleted file mode 100644 index bcde6c9d7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_import.php +++ /dev/null @@ -1,113 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###Component### Import View - */ -class ###Component###ViewImport extends JViewLegacy -{ - protected $headerList; - protected $hasPackage = false; - protected $headers; - protected $hasHeader = 0; - protected $dataType; - - public function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ###Component###Helper::addSubmenu('import'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))){ - JError::raiseError(500, implode('
', $errors)); - return false; - } - - $paths = new stdClass; - $paths->first = ''; - $state = $this->get('state'); - - $this->paths = &$paths; - $this->state = &$state; - // get global action permissions - $this->canDo = ###Component###Helper::getActions('import'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - } - - // get the session object - $session = JFactory::getSession(); - // check if it has package - $this->hasPackage = $session->get('hasPackage', false); - $this->dataType = $session->get('dataType', false); - if($this->hasPackage && $this->dataType) - { - $this->headerList = json_decode($session->get($this->dataType.'_VDM_IMPORTHEADERS', false),true); - $this->headers = ###Component###Helper::getFileHeaders($this->dataType); - // clear the data type - $session->clear('dataType'); - } - - // Display the template - parent::display($tpl); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_###COMPONENT###_IMPORT_TITLE'), 'upload'); - JHtmlSidebar::setAction('index.php?option=com_###component###&view=import'); - - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('import'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list.php deleted file mode 100644 index b1d3e52ce..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list.php +++ /dev/null @@ -1,233 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###Component### View class for the ###Views### - */ -class ###Component###View###Views### extends JViewLegacy -{ - /** - * ###Views### view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ###Component###Helper::addSubmenu('###views###'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('
', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ###Component###Helper::getActions('###view###');###JVIEWLISTCANDO### - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_###COMPONENT###_###VIEWS###'), '###ICOMOON###'); - JHtmlSidebar::setAction('index.php?option=com_###component###&view=###views###'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('###view###.add'); - } - - // Only load if there are items - if (###Component###Helper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('###view###.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('###views###.publish'); - JToolBarHelper::unpublishList('###views###.unpublish'); - JToolBarHelper::archiveList('###views###.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('###views###.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - }###CUSTOM_ADMIN_DYNAMIC_BUTTONS### - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', '###views###.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('###views###.trash'); - }###EXPORTBUTTON### - }###IMPORTBUTTON### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###views###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_###COMPONENT###_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_###COMPONENT###_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } ###CATEGORYFILTER### ###OTHERFILTERS### - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_###COMPONENT###_###VIEWS###')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###views###.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ###Component###Helper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - ###SORTFIELDS### - } ###FILTERFUNCTIONS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php deleted file mode 100644 index 17f7e54b0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php +++ /dev/null @@ -1,102 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###CUSTOM_ADMIN_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SViews### - */ -class ###Component###View###SViews### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get component params - $this->params = JComponentHelper::getParams('com_###component###'); - // get the application - $this->app = JFactory::getApplication(); - // get the user object - $this->user = JFactory::getUser(); - // get global action permissions - $this->canDo = ###Component###Helper::getActions('###sview###');###CUSTOM_ADMIN_DIPLAY_METHOD### - }###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function setDocument() - {###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sviews###.css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // hide the main menu - $this->app->input->set('hidemainmenu', true); - // add title to the page - JToolbarHelper::title(JText::_('COM_###COMPONENT###_###SVIEWS###'),'###ICOMOON###'); - // add the back button - // JToolBarHelper::custom('###sviews###.back', 'undo-2', '', 'COM_###COMPONENT###_BACK', false); - // add cpanel button - JToolBarHelper::custom('###sviews###.dashboard', 'grid-2', '', 'COM_###COMPONENT###_DASH', false);###CUSTOM_ADMIN_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sviews###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - }###CUSTOM_ADMIN_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list_site.php deleted file mode 100644 index 8a40e709a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_list_site.php +++ /dev/null @@ -1,90 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###SITE_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SViews### - */ -class ###Component###View###SViews### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get combined params of both component and menu - $this->app = JFactory::getApplication(); - $this->params = $this->app->getParams(); - $this->menu = $this->app->getMenu()->getActive(); - // get the user object - $this->user = JFactory::getUser();###SITE_DIPLAY_METHOD### - }###SITE_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function _prepareDocument() - {###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // adding the joomla toolbar to the front - JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');###SITE_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sviews###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - // now initiate the toolbar - $this->toolbar = JToolbar::getInstance(); - }###SITE_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var, $sorten = false, $length = 40) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset, $sorten, $length); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_site.php deleted file mode 100644 index fd3d54590..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/JViewLegacy_site.php +++ /dev/null @@ -1,90 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###SITE_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SView### - */ -class ###Component###View###SView### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get combined params of both component and menu - $this->app = JFactory::getApplication(); - $this->params = $this->app->getParams(); - $this->menu = $this->app->getMenu()->getActive(); - // get the user object - $this->user = JFactory::getUser();###SITE_DIPLAY_METHOD### - }###SITE_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function _prepareDocument() - {###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // adding the joomla toolbar to the front - JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');###SITE_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sview###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - // now initiate the toolbar - $this->toolbar = JToolbar::getInstance(); - }###SITE_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var, $sorten = false, $length = 40) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset, $sorten, $length); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/LICENSE.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/LICENSE.txt deleted file mode 100644 index df50810b8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/LICENSE.txt +++ /dev/null @@ -1,340 +0,0 @@ -GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - 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. - - - Copyright (C) - - 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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. - - , 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 Library General -Public License instead of this License. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/README.md b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/README.md deleted file mode 100644 index dbb7b6a53..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/README.md +++ /dev/null @@ -1 +0,0 @@ -###README### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/access.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/access.xml deleted file mode 100644 index 86efa0364..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/access.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - ###ACCESS_SECTIONS### - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/admin.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/admin.css deleted file mode 100644 index 0d5304ea3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/admin.css +++ /dev/null @@ -1,7 +0,0 @@ -###BOM### - -/* CSS Document */ -.no-click { - pointer-events: none; -} -###ADMINCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/admin.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/admin.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/ajax.json.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/ajax.json.php deleted file mode 100644 index c4662ea93..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/ajax.json.php +++ /dev/null @@ -1,100 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Ajax Controller - */ -class ###Component###ControllerAjax extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // make sure all json stuff are set - JFactory::getDocument()->setMimeEncoding( 'application/json' ); - JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"'); - JResponse::setHeader("Access-Control-Allow-Origin", "*"); - // load the tasks - $this->registerTask('fieldRequired', 'ajax'); - } - - public function ajax() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($user->id != 0 && $token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'fieldRequired': - try - { - $name = $jinput->get('name', NULL, 'WORD'); - $form = $jinput->get('form', NULL, 'WORD'); - $status = $jinput->get('status', NULL, 'INT'); - - if (###Component###Helper::checkString($name) && ###Component###Helper::checkString($form)) - { - $result = $this->getModel('ajax')->setFieldRequired($name,$form,$status); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)){ - echo $_GET['callback'] . "(".json_encode($result).");"; - } else { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)){ - echo $_GET['callback']."(".json_encode($e).");"; - } else { - echo "(".json_encode($e).");"; - } - } - break; - } - } else { - if(array_key_exists('callback',$_GET)){ - echo $_GET['callback']."(".json_encode(false).");"; - } else { - echo "(".json_encode(false).");"; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/ajax.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/ajax.php deleted file mode 100644 index a98c3cf0e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/ajax.php +++ /dev/null @@ -1,88 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -jimport('joomla.application.component.helper'); - -/** - * ###Component### Ajax Model - */ -class ###Component###ModelAjax extends JModelList -{ - protected $app_params; - - public function __construct() - { - parent::__construct(); - // get params - $this->app_params = JComponentHelper::getParams('com_###component###'); - - } - - public function setFieldRequired($name,$form,$status) - { - // get the session - $session = JFactory::getSession(); - // get this forms set fields - $fields = $session->get($form.'_requiredFieldFix'); - if(###Component###Helper::checkArray($fields)) - { - if ($status == 1) - { - $fields[] = $name; - $fields = array_unique($fields); - } - else - { - // remove from array - if(($key = array_search($name, $fields)) !== false) { - unset($fields[$key]); - } - } - } - else - { - if ($status == 1) - { - $fields = array($name); - } - } - // load the remaining values to seesion - if(###Component###Helper::checkArray($fields)) - { - $session->set($form.'_requiredFieldFix', $fields); - } - else - { - $session->clear($form.'_requiredFieldFix'); - } - return true; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/batch_.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/batch_.php deleted file mode 100644 index 75bc62fcb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/batch_.php +++ /dev/null @@ -1,95 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('JPATH_PLATFORM') or die; - -/** - * Utility class to render a list view batch selection options - * - * @since 3.0 - */ -abstract class JHtmlBatch_ -{ - /** - * ListSelection - * - * @var array - * @since 3.0 - */ - protected static $ListSelection = array(); - - /** - * Render the batch selection options. - * - * @return string The necessary HTML to display the batch selection options - * - * @since 3.0 - */ - public static function render() - { - // Collect display data - $data = new stdClass; - $data->ListSelection = static::getListSelection(); - - // Create a layout object and ask it to render the batch selection options - $layout = new JLayoutFile('batchselection'); - $batchHtml = $layout->render($data); - - return $batchHtml; - } - - /** - * Method to add a list selection to the batch modal - * - * @param string $label Label for the menu item. - * @param string $name Name for the filter. Also used as id. - * @param string $options Options for the select field. - * @param bool $noDefault Don't the label as the empty option - * - * @return void - * - * @since 3.0 - */ - public static function addListSelection($label, $name, $options, $noDefault = false) - { - array_push(static::$ListSelection, array('label' => $label, 'name' => $name, 'options' => $options, 'noDefault' => $noDefault)); - } - - /** - * Returns an array of all ListSelection - * - * @return array - * - * @since 3.0 - */ - public static function getListSelection() - { - return static::$ListSelection; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/batchselection.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/batchselection.php deleted file mode 100644 index 2777f588a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/batchselection.php +++ /dev/null @@ -1,65 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('JPATH_BASE') or die; - -JHtmlBehavior::core(); -$divWrapper = range(1,120,2); -$counter = 0; -?> -ListSelection) : ?> -
- ListSelection as $ListSelection) : ?> -
-
- - -
-
- -
-
- - - -
-
-
- - -
-
- \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component.xml deleted file mode 100644 index 18b7d9bb7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component.xml +++ /dev/null @@ -1,94 +0,0 @@ - - - COM_###COMPONENT### - ###BUILDDATE### - ###AUTHOR### - ###AUTHOREMAIL### - ###AUTHORWEBSITE### - ###COPYRIGHT### - ###LICENSE### - ###VERSION### - ###Component_name### (v.###VERSION###) -
-

###DESCRIPTION###

-

Created by ###AUTHOR###
Development started ###CREATIONDATE###

- ]]>
- - - - - sql/install.mysql.utf8.sql - - - - - - - sql/uninstall.mysql.utf8.sql - - - - - script.php - - - index.html - js - css - images###EXSTRA_MEDIA_FOLDERS### - - - - - - sql/updates/mysql/ - - - - - controller.php - index.html - router.php - ###component###.php - assets - helpers - controllers - models - views - layouts###EXSTRA_SITE_FOLDERS### - - - - language/en-GB/en-GB.com_###component###.ini - language/en-GB/en-GB.com_###component###.sys.ini - - - - COM_###COMPONENT###_MENU - - ###MAINMENUS### - - - access.xml - config.xml - controller.php###ENCRYPT_FILE### - index.html - ###component###.php - assets - controllers - helpers - models - sql - tables - views - layouts###EXSTRA_ADMIN_FOLDERS### - - - - language/en-GB/en-GB.com_###component###.ini - language/en-GB/en-GB.com_###component###.sys.ini - - - ###UPDATESERVER### -
\ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component_admin.php deleted file mode 100644 index b5cb560c6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component_admin.php +++ /dev/null @@ -1,62 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Access check. -if (!JFactory::getUser()->authorise('core.manage', 'com_###component###')) -{ - return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); -}; - -// Load cms libraries -JLoader::registerPrefix('J', JPATH_PLATFORM . '/cms'); -// Load joomla libraries without overwrite -JLoader::registerPrefix('J', JPATH_PLATFORM . '/joomla',false); - -// Add CSS file for all pages -$document = JFactory::getDocument(); -$document->addStyleSheet('components/com_###component###/assets/css/admin.css'); -$document->addScript('components/com_###component###/assets/js/admin.js'); - -// require helper files -JLoader::register('###Component###Helper', dirname(__FILE__) . '/helpers/###component###.php'); -JLoader::register('JHtmlBatch_', dirname(__FILE__) . '/helpers/html/batch_.php');###LICENSE_LOCKED_INT### ###ADMIN_GLOBAL_EVENT### - -// import joomla controller library -jimport('joomla.application.component.controller'); - -// Get an instance of the controller prefixed by ###Component### -$controller = JControllerLegacy::getInstance('###Component###'); - -// Perform the Request task -$controller->execute(JFactory::getApplication()->input->get('task')); - -// Redirect if set by the controller -$controller->redirect(); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component_site.php deleted file mode 100644 index 0b86a8725..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/component_site.php +++ /dev/null @@ -1,52 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Set the component css/js -$document = JFactory::getDocument(); -$document->addStyleSheet('components/com_###component###/assets/css/site.css'); -$document->addScript('components/com_###component###/assets/js/site.js'); - -// Require helper files -JLoader::register('###Component###Helper', dirname(__FILE__) . '/helpers/###component###.php'); -JLoader::register('###Component###HelperRoute', dirname(__FILE__) . '/helpers/route.php');###LICENSE_LOCKED_INT### ###SITE_GLOBAL_EVENT### - -// import joomla controller library -jimport('joomla.application.component.controller'); - -// Get an instance of the controller prefixed by ###Component### -$controller = JControllerLegacy::getInstance('###Component###'); - -// Perform the request task -$jinput = JFactory::getApplication()->input; -$controller->execute($jinput->get('task', null, 'CMD')); - -// Redirect if set by the controller -$controller->redirect(); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/config.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/config.xml deleted file mode 100644 index 8b8968a12..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/config.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - ###CONFIG_FIELDSETS### -
- -
-
\ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/dashboard.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/dashboard.css deleted file mode 100644 index c3c9099b3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/dashboard.css +++ /dev/null @@ -1,155 +0,0 @@ -###BOM### - -/* CSS Document */ - -.dashboard-container { - margin-left: 10px; - margin-top: 10px; - width: 100%; -} -.dashboard-container [class*="span"] { - display: block; - float: none; - margin-left: 0; - width: auto; -} -.dashboard-container:before, .dashboard-container:after { - content: ""; - display: table; -} -.dashboard-container:after { - clear: both; -} -.dashboard-container [class*="span"] { - box-sizing: border-box; - display: block; - float: left; - min-height: 145px; - min-width: 96px; - width: 100%; -} -.dashboard-container [class*="span"]:first-child { - margin-left: 0; -} -.dashboard-wraper { - background: none repeat scroll 0 0 hsl(0, 0%, 93%); - border-radius: 5px; - float: left; - margin: 1%; - padding: 3px; - width: 17%; - min-height: 194px; - min-width: 96px; -} -.dashboard-content a { - background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 85%); - border-radius: 4px; - box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; - color: hsl(0, 0%, 20%); - display: block; - min-height: 89px; - padding: 10px; - text-align: center; - text-decoration: none; -} -.dashboard-content a:hover { - background: linear-gradient(to bottom, hsl(0, 0%, 90%) 0%, hsl(0, 0%, 100%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - color: hsl(200, 100%, 30%); - text-decoration: none; -} -.dashboard-title { - display: block; - padding-top: 5px; -} -.dashboard-info { - background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 85%); - border-radius: 4px; - box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; - color: hsl(0, 0%, 20%); - display: block; - font-size: 12px; - padding: 10px; - text-align: center; -} -.dashboard-info span { - display: block; - text-align: center; -} -.dashboard-info img { - margin: 0 auto; -} -.dashboard-table { - border-top: 1px solid hsl(0, 0%, 87%); - margin-top: 5px; - width: 100%; -} -.dashboard-info h5 { - font-size: 11px; - font-weight: bold; -} -.dashboard-block { - background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 76%); - border-radius: 3px; - box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset; - margin-bottom: 20px; -} -.dashboard-block .dashboard-block-head { - background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border-bottom: 1px solid hsl(0, 0%, 76%); - border-radius: 3px 3px 0 0; - box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%); - height: 40px; - position: relative; -} -.dashboard-block .dashboard-block-head h5 { - font-size: 12px; - margin: 0; - padding-left: 10px; - padding-top: 11px; - text-transform: uppercase; -} -.dashboard-block .dashboard-block-content { - background: none repeat scroll 0 0 hsl(0, 0%, 93%); - border-radius: 0 0 3px 3px; -} -.dashboard-block .dashboard-block-box { - background: none repeat scroll 0 0 hsl(0, 0%, 100%); - border-top: 1px solid hsl(0, 0%, 82%); - box-shadow: 0 0 5px hsl(0, 0%, 87%) inset; -} -.dashboard-block .dashboard-block-content .dashboard-block-box { - margin-top: 0 !important; -} -.dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table { - margin-bottom: 0 !important; -} -.dashboard-block-table { - background-color: hsla(0, 0%, 0%, 0); - border-collapse: collapse; - border-spacing: 0; - margin-bottom: 20px; - max-width: 100%; - width: 100%; -} -.dashboard-block-table th, .dashboard-block-table td { - border-top: 1px solid hsl(0, 0%, 87%); - line-height: 20px; - padding: 5px; - text-align: left; - vertical-align: middle; -} -.dashboard-badge { - background-color: hsl(0, 0%, 60%); - border-radius: 9px; - color: hsl(0, 0%, 100%); - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - padding: 1px 9px 2px; - text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25); - vertical-align: baseline; - white-space: nowrap; -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default.php deleted file mode 100644 index 5cd0cd318..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default.php +++ /dev/null @@ -1,102 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_###component###&task=###views###.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', '###view###List', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> - -
-sidebar)): ?> -
- sidebar; ?> -
-
- -
- -items)): ?> - loadTemplate('toolbar');?> -
- -
- - loadTemplate('toolbar');?> - - loadTemplate('head');?> - loadTemplate('foot');?> - loadTemplate('body');?> -
- - canCreate && $this->canEdit) : ?> - JText::_('COM_###COMPONENT###_###VIEWS###_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - - - - -
- - - - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default.xml deleted file mode 100644 index 10a8e4742..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default.xml +++ /dev/null @@ -1 +0,0 @@ -###SITE_MENU_XML### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_batch_body.php deleted file mode 100644 index 71e639310..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_batch_body.php +++ /dev/null @@ -1,35 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> - -

-batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_batch_footer.php deleted file mode 100644 index ee4301c37..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_batch_footer.php +++ /dev/null @@ -1,40 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> - - - - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_body.php deleted file mode 100644 index 61287bf19..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_body.php +++ /dev/null @@ -1,35 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -$edit = "index.php?option=com_###component###&view=###views###&task=###view###.edit"; - -?> -###LISTBODY### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_custom_admin.php deleted file mode 100644 index 7874b3f6c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_custom_admin.php +++ /dev/null @@ -1,58 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY### - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -?> -canDo->get('###sview###.access')): ?> - -
- - -
###CUSTOM_ADMIN_BODY### - -

- - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_custom_admin_template.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_custom_admin_template.php deleted file mode 100644 index caf32ad56..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_custom_admin_template.php +++ /dev/null @@ -1,32 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_TEMPLATE_CODE_BODY### - -?>###CUSTOM_ADMIN_TEMPLATE_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_foot.php deleted file mode 100644 index d7d6834ec..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_foot.php +++ /dev/null @@ -1,35 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> - - pagination->getListFooter(); ?> - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_head.php deleted file mode 100644 index dceef326e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_head.php +++ /dev/null @@ -1,33 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> -###LISTHEAD### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_import.php deleted file mode 100644 index 84830af73..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_import.php +++ /dev/null @@ -1,236 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -JHtml::_('jquery.framework'); -JHtml::_('bootstrap.tooltip'); -JHtml::_('script', 'system/core.js', false, true); -?> - - -
-
- - sidebar)) : ?> -
- sidebar; ?> -
-
- -
- - - hasPackage && ###Component###Helper::checkArray($this->headerList) && ###Component###Helper::checkArray($this->headers)) : ?> -
- -
- -
- -
-
- headerList as $name => $title): ?> -
- -
- -
-
- -
- -
-
- - - 'upload')); ?> - - -
- -
- -
- -
-
-
-     (.csv .xls .ods) -
-
- - - -
- -
- -
- -
-
-
-     (.csv .xls .ods) -
-
- - - -
- -
- -
- -
-
-
-     (.csv .xls .ods) -
-
- - - - - - - - - -
diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list.xml deleted file mode 100644 index fc3d8cbef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - COM_###COMPONENT###_MENU_###VIEWS###_DESC - - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list_custom_admin.php deleted file mode 100644 index fda393570..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list_custom_admin.php +++ /dev/null @@ -1,57 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY### - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -?> -canDo->get('###sview###.access')): ?> - -
- ###HIDDEN_INPUT_VALUES### - -
###CUSTOM_ADMIN_BODY### - -

- diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list_site.php deleted file mode 100644 index 8117307e2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_list_site.php +++ /dev/null @@ -1,33 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY### - -?> -###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_main.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_main.php deleted file mode 100644 index e7a4b8ad4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_main.php +++ /dev/null @@ -1,45 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -icons['main'])) :?> - icons['main'] as $icon): ?> - - -
- \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_site.php deleted file mode 100644 index abd535cf9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_site.php +++ /dev/null @@ -1,33 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY### - -?> -###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_site_template.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_site_template.php deleted file mode 100644 index c4c833b38..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_site_template.php +++ /dev/null @@ -1,32 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_TEMPLATE_CODE_BODY### - -?>###SITE_TEMPLATE_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_toolbar.php deleted file mode 100644 index b7da90e24..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_toolbar.php +++ /dev/null @@ -1,62 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -?> -
- -
- - -
-
- - pagination->getLimitBox(); ?> -
-
- - -
-
- - -
-
-
\ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_vdm.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_vdm.php deleted file mode 100644 index db65590a6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/default_vdm.php +++ /dev/null @@ -1,58 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$manifest = ###Component###Helper::manifest(); -JHtml::_('bootstrap.loadCss'); - -?> -<?php echo JText::_('COM_###COMPONENT###'); ?> - -
-contributors)): ?> -contributors) > 1): ?> -

- -

- -
    - contributors as $contributor): ?> -
  • :
  • - -
-
- \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/edit.php deleted file mode 100644 index 0e1b76fdf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/edit.php +++ /dev/null @@ -1,42 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_###component###'); -?> - -
-###EDITBODY### -
###EDITBODYSCRIPT### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/edit_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/edit_site.php deleted file mode 100644 index 644b49e51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/edit_site.php +++ /dev/null @@ -1,44 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -JHtml::_('behavior.tabstate'); -JHtml::_('behavior.calendar'); -$componentParams = JComponentHelper::getParams('com_###component###'); -?> -toolbar->render(); ?> -
-###EDITBODY### -
###EDITBODYSCRIPT### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_admin.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_admin.ini deleted file mode 100644 index e5b382a4a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_admin.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_ADMIN### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_admin.sys.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_admin.sys.ini deleted file mode 100644 index fc07f9846..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_admin.sys.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_ADMIN_SYS### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_site.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_site.ini deleted file mode 100644 index 7a78b98b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_site.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_SITE### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_site.sys.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_site.sys.ini deleted file mode 100644 index 7e16bfbe8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/en-GB.com_site.sys.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_SITE_SYS### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/headercheck.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/headercheck.php deleted file mode 100644 index 6b314cf7c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/headercheck.php +++ /dev/null @@ -1,88 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -class HeaderCheck -{ - function js_loaded($script_name) - { - // UIkit check point - if (strpos($script_name,'uikit') !== false) - { - $app = JFactory::getApplication(); - $getTemplateName = $app->getTemplate('template')->template; - - if (strpos($getTemplateName,'yoo') !== false) - { - return true; - } - } - - $document = JFactory::getDocument(); - $head_data = $document->getHeadData(); - foreach (array_keys($head_data['scripts']) as $script) - { - if (stristr($script, $script_name)) - { - return true; - } - } - - return false; - } - - function css_loaded($script_name) - { - // UIkit check point - if (strpos($script_name,'uikit') !== false) - { - $app = JFactory::getApplication(); - $getTemplateName = $app->getTemplate('template')->template; - - if (strpos($getTemplateName,'yoo') !== false) - { - return true; - } - } - - $document = JFactory::getDocument(); - $head_data = $document->getHeadData(); - - foreach (array_keys($head_data['styleSheets']) as $script) - { - if (stristr($script, $script_name)) - { - return true; - } - } - - return false; - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/import.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/import.gif deleted file mode 100644 index 4371cc618..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/import.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/install.mysql.utf8.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/install.mysql.utf8.sql deleted file mode 100644 index 273e93820..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/install.mysql.utf8.sql +++ /dev/null @@ -1 +0,0 @@ -###INSTALL### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout.php deleted file mode 100644 index 578e42d73..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout.php +++ /dev/null @@ -1,58 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout_custom_admin.php deleted file mode 100644 index ae672604d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout_custom_admin.php +++ /dev/null @@ -1,33 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('JPATH_BASE') or die('Restricted access');###CUSTOM_ADMIN_LAYOUT_CODE### - -?>###CUSTOM_ADMIN_LAYOUT_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout_site.php deleted file mode 100644 index b4ab3d540..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layout_site.php +++ /dev/null @@ -1,33 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('JPATH_BASE') or die('Restricted access');###SITE_LAYOUT_CODE### - -?>###SITE_LAYOUT_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutfull.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutfull.php deleted file mode 100644 index 51efe768c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutfull.php +++ /dev/null @@ -1,51 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -?> -
- -
-
- getLabel($field); ?> -
-
- getInput($field); ?> -
-
- -
diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutitems.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutitems.php deleted file mode 100644 index 178fa30d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutitems.php +++ /dev/null @@ -1,57 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutlinkedview.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutlinkedview.php deleted file mode 100644 index c28a33b81..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutlinkedview.php +++ /dev/null @@ -1,42 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -// set the defaults -$items = $displayData->###LAYOUTITEMS###; -$user = JFactory::getUser(); -$id = $displayData->item->id; -###LAYOUTITEMSHEADER### - -?> -
-###LAYOUTITEMSTABLE### -
diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutmetadata.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutmetadata.php deleted file mode 100644 index 76c1c4d62..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutmetadata.php +++ /dev/null @@ -1,59 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -// JLayout for standard handling of metadata fields in the administrator content edit screens. -$fieldSets = $form->getFieldsets('metadata'); -?> - - $fieldSet) : ?> - description) && trim($fieldSet->description)) : ?> -

escape(JText::_($fieldSet->description)); ?>

- - - renderField('metadesc'); - echo $form->renderField('metakey'); - } - - foreach ($form->getFieldset($name) as $field) - { - if ($field->name != 'jform[metadata][tags][]') - { - echo $field->renderField(); - } - } ?> - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutpublished.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutpublished.php deleted file mode 100644 index 578e42d73..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layoutpublished.php +++ /dev/null @@ -1,58 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layouttitle.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layouttitle.php deleted file mode 100644 index 7a8b15d76..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/layouttitle.php +++ /dev/null @@ -1,44 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - ###LAYOUTITEMS### -); - -?> -
- renderField($field); - } ?> -
diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/module_forms.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/module_forms.js deleted file mode 100644 index e0e2c7797..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/module_forms.js +++ /dev/null @@ -1,3 +0,0 @@ -###BOM### - -###VIEW_SCRIPT### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/module_forms.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/module_forms.xml deleted file mode 100644 index 05d6b9841..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/module_forms.xml +++ /dev/null @@ -1,9 +0,0 @@ - -
- ###FIELDSETS### - - ###ACCESSCONTROL### -
\ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/routeHelper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/routeHelper.php deleted file mode 100644 index 2f1cfb282..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/routeHelper.php +++ /dev/null @@ -1,222 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Component Helper -jimport('joomla.application.component.helper'); -jimport('joomla.application.categories'); - -/** - * ###Component### Route Helper - **/ -abstract class ###Component###HelperRoute -{ - protected static $lookup;###ROUTEHELPER### - - /** - * Get the URL route for ###component### category from a category ID and language - * - * @param mixed $catid The id of the items's category either an integer id or a instance of JCategoryNode - * @param mixed $language The id of the language being used. - * - * @return string The link to the contact - * - * @since 1.5 - */ - public static function getCategoryRoute_keep_for_later($catid, $language = 0) - { - if ($catid instanceof JCategoryNode) - { - $id = $catid->id; - $category = $catid; - } - else - { - throw new Exception('First parameter must be JCategoryNode'); - } - - $views = array(###ROUTER_CATEGORY_VIEWS###); - $view = $views[$category->extension]; - - if ($id < 1 || !($category instanceof JCategoryNode)) - { - $link = ''; - } - else - { - //Create the link - $link = 'index.php?option=com_###component###&view='.$view.'&category='.$category->slug; - - $needles = array( - $view => array($id), - 'category' => array($id) - ); - - if ($language && $language != "*" && JLanguageMultilang::isEnabled()) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('a.sef AS sef') - ->select('a.lang_code AS lang_code') - ->from('#__languages AS a'); - - $db->setQuery($query); - $langs = $db->loadObjectList(); - foreach ($langs as $lang) - { - if ($language == $lang->lang_code) - { - $link .= '&lang='.$lang->sef; - $needles['language'] = $language; - } - } - } - - if ($item = self::_findItem($needles,'category')) - { - - $link .= '&Itemid='.$item; - } - else - { - if ($category) - { - $catids = array_reverse($category->getPath()); - $needles = array( - 'category' => $catids - ); - if ($item = self::_findItem($needles,'category')) - { - $link .= '&Itemid='.$item; - } - elseif ($item = self::_findItem(null, 'category')) - { - $link .= '&Itemid='.$item; - } - } - } - } - return $link; - } - - protected static function _findItem($needles = null,$type = null) - { - $app = JFactory::getApplication(); - $menus = $app->getMenu('site'); - $language = isset($needles['language']) ? $needles['language'] : '*'; - - // Prepare the reverse lookup array. - if (!isset(self::$lookup[$language])) - { - self::$lookup[$language] = array(); - - $component = JComponentHelper::getComponent('com_###component###'); - - $attributes = array('component_id'); - $values = array($component->id); - - if ($language != '*') - { - $attributes[] = 'language'; - $values[] = array($needles['language'], '*'); - } - - $items = $menus->getItems($attributes, $values); - - foreach ($items as $item) - { - if (isset($item->query) && isset($item->query['view'])) - { - $view = $item->query['view']; - - if (!isset(self::$lookup[$language][$view])) - { - self::$lookup[$language][$view] = array(); - } - - if (isset($item->query['id'])) - { - /** - * Here it will become a bit tricky - * language != * can override existing entries - * language == * cannot override existing entries - */ - if (!isset(self::$lookup[$language][$view][$item->query['id']]) || $item->language != '*') - { - self::$lookup[$language][$view][$item->query['id']] = $item->id; - } - } - } - } - } - - if ($needles) - { - foreach ($needles as $view => $ids) - { - if (isset(self::$lookup[$language][$view])) - { - foreach ($ids as $id) - { - if (isset(self::$lookup[$language][$view][(int) $id])) - { - return self::$lookup[$language][$view][(int) $id]; - } - } - } - } - } - - if ($type) - { - // Check if the global menu item has been set. - $params = JComponentHelper::getParams('com_###component###'); - if ($item = $params->get($type.'_menu', 0)) - { - return $item; - } - } - - // Check if the active menuitem matches the requested language - $active = $menus->getActive(); - - if ($active - && $active->component == 'com_###component###' - && ($language == '*' || in_array($active->language, array('*', $language)) || !JLanguageMultilang::isEnabled())) - { - return $active->id; - } - - // If not found, return language specific home link - $default = $menus->getDefault($language); - - return !empty($default->id) ? $default->id : null; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/router.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/router.php deleted file mode 100644 index d2fee4233..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/router.php +++ /dev/null @@ -1,202 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Routing class from com_###component### - * - * @since 3.3 - */ -class ###Component###Router extends JComponentRouterBase -{ - /** - * Build the route for the com_###component### component - * - * @param array &$query An array of URL arguments - * - * @return array The URL arguments to use to assemble the subsequent URL. - * - * @since 3.3 - */ - public function build(&$query) - { - $segments = array(); - - // Get a menu item based on Itemid or currently active - $params = JComponentHelper::getParams('com_###component###'); - - if (empty($query['Itemid'])) - { - $menuItem = $this->menu->getActive(); - } - else - { - $menuItem = $this->menu->getItem($query['Itemid']); - } - - $mView = (empty($menuItem->query['view'])) ? null : $menuItem->query['view']; - $mId = (empty($menuItem->query['id'])) ? null : $menuItem->query['id']; - - if (isset($query['view'])) - { - $view = $query['view']; - - if (empty($query['Itemid'])) - { - $segments[] = $query['view']; - } - - unset($query['view']); - } - - // Are we dealing with a item that is attached to a menu item? - if (isset($view) && ($mView == $view) and (isset($query['id'])) and ($mId == (int) $query['id'])) - { - unset($query['view']); - unset($query['catid']); - unset($query['id']); - return $segments; - } - - if (isset($view) && isset($query['id']) && ###ROUTER_BUILD_VIEWS###) - { - if ($mId != (int) $query['id'] || $mView != $view) - { - if (###ROUTER_BUILD_VIEWS###) - { - $segments[] = $view; - $id = explode(':', $query['id']); - if (count($id) == 2) - { - $segments[] = $id[1]; - } - else - { - $segments[] = $id[0]; - } - } - } - unset($query['id']); - } - - $total = count($segments); - - for ($i = 0; $i < $total; $i++) - { - $segments[$i] = str_replace(':', '-', $segments[$i]); - } - - return $segments; - - } - - /** - * Parse the segments of a URL. - * - * @param array &$segments The segments of the URL to parse. - * - * @return array The URL attributes to be used by the application. - * - * @since 3.3 - */ - public function parse(&$segments) - { - //var_dump($segments); - //$app = JFactory::getApplication(); - //$menu = $app->getMenu(); - //$item = $menu->getActive(); - - $count = count($segments); - $vars = array(); - - //var_dump($item->query['view']); - //Handle View and Identifier - switch($segments[0]) - {###ROUTER_PARSE_SWITCH### - } - - return $vars; - } - - protected function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - if ('categories' == $table || 'category' == $table) - { - $query->from($db->quoteName('#__categories')); - } - else - { - $query->from($db->quoteName('#__'.$main.'_'.$table)); - } - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } -} - -function ###Component###BuildRoute(&$query) -{ - $router = new ###Component###Router; - - return $router->build($query); -} - -function ###Component###ParseRoute($segments) -{ - $router = new ContentRouter; - - return $router->parse($segments); -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/script.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/script.php deleted file mode 100644 index 2193ffad1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/script.php +++ /dev/null @@ -1,114 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHTML::_('behavior.modal'); -jimport('joomla.installer.installer'); -jimport('joomla.installer.helper'); - -/** - * Script File of ###Component### Component - */ -class com_###component###InstallerScript -{ - /** - * method to install the component - * - * - * @return void - */ - function install($parent) - { - - } - - /** - * method to uninstall the component - * - * @return void - */ - function uninstall($parent) - {###UNINSTALLSCRIPT### - // little notice as after service, in case of bad experience with component. - echo '

Did something go wrong? Are you disappointed?

-

Please let me know at ###AUTHOREMAIL###. -
We at ###COMPANYNAME### are committed to building extensions that performs proficiently! You can help us, really! -
Send me your thoughts on improvements that is needed, trust me, I will be very grateful! -
Visit us at ###AUTHORWEBSITE### today!

'; - } - - /** - * method to update the component - * - * @return void - */ - function update($parent) - { - - } - - /** - * method to run before an install/update/uninstall method - * - * @return void - */ - function preflight($type, $parent) - { - if ($type == 'uninstall') - { - return true; - } - - $app = JFactory::getApplication(); - $jversion = new JVersion(); - if (!$jversion->isCompatible('3.4.1')) - { - $app->enqueueMessage('Please upgrade to at least Joomla! 3.4.1 before continuing!', 'error'); - return false; - } - } - - /** - * method to run after an install/update/uninstall method - * - * @return void - */ - function postflight($type, $parent) - { - // set the default component settings - if ($type == 'install') - {###INSTALLSCRIPT### - } - // do any updates needed - if ($type == 'update') - {###UPDATESCRIPT### - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/settings.json b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/settings.json deleted file mode 100644 index 3d2824351..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/settings.json +++ /dev/null @@ -1,710 +0,0 @@ -{ - "create": { - "admin": { - "assets": { - "css": "css", - "images": { - "icons": "icons" - }, - "js": "js" - }, - "controllers": "controllers", - "helpers": { - "html": "html" - }, - "language": { - "en-GB": "en-GB" - }, - "layouts": "layouts", - "models": { - "fields": "fields", - "forms": "forms", - "rules": "rules" - }, - "sql": { - "updates": { - "mysql": "mysql" - } - }, - "tables": "tables", - "views": "views" - }, - "site": { - "assets": { - "css": "css", - "images": "images", - "js": "js" - }, - "controllers": "controllers", - "helpers": "helpers", - "language": { - "en-GB": "en-GB" - }, - "layouts": "layouts", - "models": "models", - "views": "views" - }, - "media": { - "css": "css", - "images": "images", - "js": "js" - } - }, - "move": { - "static": { - "access.xml": { - "naam":"access.xml", - "path": "c0mp0n3nt/admin", - "rename": false, - "type": "file" - }, - "config.xml": { - "naam":"config.xml", - "path": "c0mp0n3nt/admin", - "rename": false, - "type": "file" - }, - "JControllerLegacy.php": { - "naam":"JControllerLegacy.php", - "path": "c0mp0n3nt/admin", - "rename": "new", - "newName": "controller.php", - "type": "file" - }, - "component.xml": { - "naam":"component.xml", - "path": "c0mp0n3nt/", - "rename": "component", - "type": "file" - }, - "component_admin.php": { - "naam":"component_admin.php", - "path": "c0mp0n3nt/admin", - "rename": "component_admin", - "type": "file" - }, - "admin.css": { - "naam":"admin.css", - "path": "c0mp0n3nt/admin/assets/css", - "rename": false, - "type": "file" - }, - "admin.js": { - "naam":"admin.js", - "path": "c0mp0n3nt/admin/assets/js", - "rename": false, - "type": "file" - }, - "site.css": { - "naam":"site.css", - "path": "c0mp0n3nt/site/assets/css", - "rename": false, - "type": "file" - }, - "site.js": { - "naam":"site.js", - "path": "c0mp0n3nt/site/assets/js", - "rename": false, - "type": "file" - }, - "batch_.php": { - "naam":"batch_.php", - "path": "c0mp0n3nt/admin/helpers/html", - "rename": false, - "type": "file" - }, - "batchselection.php": { - "naam":"batchselection.php", - "path": "c0mp0n3nt/admin/layouts", - "rename": false, - "type": "file" - }, - "component_site.php": { - "naam":"component_site.php", - "path": "c0mp0n3nt/site", - "rename": "component_site", - "type": "file" - }, - "router.php": { - "naam":"router.php", - "path": "c0mp0n3nt/site", - "rename": false, - "type": "file" - }, - "routeHelper.php": { - "naam":"routeHelper.php", - "path": "c0mp0n3nt/site/helpers", - "rename": "new", - "newName": "route.php", - "type": "file" - }, - "JControllerLegacySITE.php": { - "naam":"JControllerLegacySITE.php", - "path": "c0mp0n3nt/site", - "rename": "new", - "newName": "controller.php", - "type": "file" - }, - "Helper.php": { - "naam":"Helper.php", - "path": "c0mp0n3nt/admin/helpers", - "rename": "Helper", - "type": "file" - }, - "Helper_site.php": { - "naam":"Helper_site.php", - "path": "c0mp0n3nt/site/helpers", - "rename": "Helper_site", - "type": "file" - }, - "script.php": { - "naam":"script.php", - "path": "c0mp0n3nt/", - "rename": false, - "type": "file" - }, - "en-GB.com_admin.ini": { - "naam":"en-GB.com_admin.ini", - "path": "c0mp0n3nt/admin/language/en-GB", - "rename": "admin", - "type": "file" - }, - "en-GB.com_admin.sys.ini": { - "naam":"en-GB.com_admin.sys.ini", - "path": "c0mp0n3nt/admin/language/en-GB", - "rename": "admin", - "type": "file" - }, - "install.mysql.utf8.sql": { - "naam":"install.mysql.utf8.sql", - "path": "c0mp0n3nt/admin/sql", - "rename": false, - "type": "file" - }, - "uninstall.mysql.utf8.sql": { - "naam":"uninstall.mysql.utf8.sql", - "path": "c0mp0n3nt/admin/sql", - "rename": false, - "type": "file" - }, - "LICENSE.txt": { - "naam":"LICENSE.txt", - "path": "c0mp0n3nt/", - "rename": false, - "type": "file" - }, - "README.md": { - "naam":"README.md", - "path": "c0mp0n3nt/", - "rename": false, - "type": "file" - }, - "en-GB.com_site.ini": { - "naam":"en-GB.com_site.ini", - "path": "c0mp0n3nt/site/language/en-GB", - "rename": "site", - "type": "file" - }, - "en-GB.com_site.sys.ini": { - "naam":"en-GB.com_site.sys.ini", - "path": "c0mp0n3nt/site/language/en-GB", - "rename": "site", - "type": "file" - }, - "headercheck.php": { - "naam":"headercheck.php", - "path": "c0mp0n3nt/site/helpers", - "rename": false, - "type": "file" - } - }, - "dynamic": { - "admin": { - "vdm.php": { - "path": "c0mp0n3nt/admin", - "rename": false, - "type": "encrypt" - }, - "DASHJControllerAdmin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "DASHJControllerAdmin", - "type": "dashboard" - }, - "DASHJModelList.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "DASHJModelList", - "type": "dashboard" - }, - "DASHJViewLagacy.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "dashboard" - }, - "default_vdm.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "dashboard" - }, - "default_main.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "dashboard" - }, - "DASHdefault.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "dashboard" - }, - "dashboard.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": false, - "type": "dashboard" - }, - "module_forms.xml": { - "path": "c0mp0n3nt/admin/models/forms", - "rename": "module_forms", - "type": "single" - }, - "module_forms.js": { - "path": "c0mp0n3nt/admin/models/forms", - "rename": "module_forms", - "type": "single" - }, - "edit.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "single" - }, - "JModelAdmin.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelAdmin", - "type": "single" - }, - "JControllerForm.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerForm", - "type": "single" - }, - "JTable.php": { - "path": "c0mp0n3nt/admin/tables", - "rename": "JTable", - "type": "single" - }, - "submitbutton.js": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": false, - "type": "single" - }, - "JViewLegacy_edit.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "single" - }, - "view.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "view", - "type": "single" - }, - "JControllerAdmin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerAdmin", - "type": "list" - }, - "JModelList.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelList", - "type": "list" - }, - "views.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "views", - "type": "list" - }, - "JViewLegacy_list.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "list" - }, - "default.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_batch_body.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_batch_footer.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_toolbar.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_head.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_body.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_foot.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "JFormRule.php": { - "path": "c0mp0n3nt/admin/models/rules", - "rename": "JFormRule", - "type": "rule" - }, - "layoutitems.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutitems", - "type": "layoutitems" - }, - "layoutfull.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutfull", - "type": "layoutfull" - }, - "layoutlinkedview.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutlinkedview", - "type": "layoutlinkedview" - }, - "layouttitle.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layouttitle", - "type": "layouttitle" - }, - "layoutpublished.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutpublished", - "type": "layoutpublished" - }, - "layoutmetadata.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutmetadata", - "type": "layoutmetadata" - }, - "JFormFieldList.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldList", - "type": "fieldlist" - }, - "JFormFieldRadio.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldRadio", - "type": "fieldradio" - }, - "JFormFieldCheckboxes.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldCheckboxes", - "type": "fieldcheckboxes" - }, - "JFormFieldUser.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldUser", - "type": "fielduser" - }, - "JControllerLegacyAjax.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "new", - "newName": "ajax.json.php", - "type": "ajax" - }, - "JModelListAjax.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "new", - "newName": "ajax.php", - "type": "ajax" - }, - "JControllerLegacy_import.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "new", - "newName": "import.php", - "type": "import" - }, - "JModelLegacy_import.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "new", - "newName": "import.php", - "type": "import" - }, - "JViewLegacy_import.php": { - "path": "c0mp0n3nt/admin/views/import", - "rename": "new", - "newName": "view.html.php", - "type": "import" - }, - "default_import.php": { - "path": "c0mp0n3nt/admin/views/import/tmpl", - "rename": "new", - "newName": "default.php", - "type": "import" - }, - "import.gif": { - "path": "c0mp0n3nt/admin/assets/images", - "rename": false, - "type": "import" - }, - "JControllerLegacyHelp.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "new", - "newName": "help.php", - "type": "help" - }, - "1.0.0.sql": { - "path": "c0mp0n3nt/admin/sql/updates/mysql", - "rename": "1.0.0", - "type": "sql_update" - }, - "update_server.xml": { - "path": "c0mp0n3nt/", - "rename": "update_server", - "type": "update_server" - } - }, - "site": { - "JViewLegacy_list_site.php": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "list" - }, - "JModelList_site.php": { - "path": "c0mp0n3nt/site/models", - "rename": "JModelList_site", - "type": "list" - }, - "views_site.css": { - "path": "c0mp0n3nt/site/assets/css", - "rename": "views_site", - "type": "list" - }, - "default_list_site.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "list" - }, - "JViewLegacy_site.php": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "single" - }, - "view_site.css": { - "path": "c0mp0n3nt/site/assets/css", - "rename": "view_site", - "type": "single" - }, - "JModelItem_site.php": { - "path": "c0mp0n3nt/site/models", - "rename": "JModelItem_site", - "type": "single" - }, - "default_site.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "single" - }, - "default_site_template.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "site_template", - "type": "template" - }, - "layout_site.php": { - "path": "c0mp0n3nt/site/layouts", - "rename": "layout_site", - "type": "layout" - }, - "layoutitems.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutitems", - "type": "layoutitems" - }, - "layoutfull.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutfull", - "type": "layoutfull" - }, - "layoutlinkedview.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutlinkedview", - "type": "layoutlinkedview" - }, - "layouttitle.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layouttitle", - "type": "layouttitle" - }, - "layoutpublished.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutpublished", - "type": "layoutpublished" - }, - "layoutmetadata.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutmetadata", - "type": "layoutmetadata" - }, - "default.xml": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": false, - "type": "menu" - }, - "module_forms.xml": { - "path": "c0mp0n3nt/site/models/forms", - "rename": "module_forms", - "type": "edit" - }, - "module_forms.js": { - "path": "c0mp0n3nt/site/models/forms", - "rename": "module_forms", - "type": "edit" - }, - "edit_site.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "new", - "newName": "edit.php", - "type": "edit" - }, - "JModelAdmin_site.php": { - "path": "c0mp0n3nt/site/models", - "rename": "JModelAdmin_site", - "type": "edit" - }, - "JControllerForm_site.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "JControllerForm_site", - "type": "edit" - }, - "submitbutton.js": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": false, - "type": "edit" - }, - "JViewLegacy_edit_site.php": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "edit" - }, - "view_site_edit.css": { - "path": "c0mp0n3nt/site/assets/css", - "rename": "view_site_edit", - "type": "edit" - }, - "JControllerLegacyAjaxSite.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "new", - "newName": "ajax.json.php", - "type": "ajax" - }, - "JModelListAjaxSite.php": { - "path": "c0mp0n3nt/site/models", - "rename": "new", - "newName": "ajax.php", - "type": "ajax" - }, - "JControllerLegacyHelp_site.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "new", - "newName": "help.php", - "type": "help" - }, - "JControllerForm_custom_site.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "JControllerForm_custom_site", - "type": "custom_form" - }, - "submitbutton_site.js": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "submitbutton.js", - "type": "custom_form" - } - }, - "custom_admin": { - "JViewLegacy_list_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "list" - }, - "JModelList_custom_admin.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelList_custom_admin", - "type": "list" - }, - "default_list_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "list" - }, - "JControllerAdmin_custom_admin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerAdmin_custom_admin", - "type": "list" - }, - "views_custom_admin.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "views_custom_admin", - "type": "list" - }, - "view_custom_admin.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "view_custom_admin", - "type": "single" - }, - "JViewLegacy_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "single" - }, - "JModelItem_custom_admin.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelItem_custom_admin", - "type": "single" - }, - "default_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "single" - }, - "JControllerLegacy_custom_admin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerLegacy_custom_admin", - "type": "single" - }, - "default_custom_admin_template.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "custom_admin_template", - "type": "template" - }, - "layout_custom_admin.php": { - "path": "c0mp0n3nt/admin/layouts", - "rename": "layout_custom_admin", - "type": "layout" - } - } - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/site.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/site.css deleted file mode 100644 index b3a8d68ee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/site.css +++ /dev/null @@ -1,7 +0,0 @@ -###BOM### - -/* CSS Document */ -.no-click { - pointer-events: none; -} -###SITECSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/site.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/site.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/submitbutton.js deleted file mode 100644 index 84fe0dc54..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/submitbutton.js +++ /dev/null @@ -1,27 +0,0 @@ -###BOM### - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -###VDM_ENCRYPTION_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view.css deleted file mode 100644 index 9e342d690..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_custom_admin.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_custom_admin.css deleted file mode 100644 index ea5c57e3f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_custom_admin.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###CUSTOM_ADMIN_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_site.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_site.css deleted file mode 100644 index cb87e4452..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_site.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###SITE_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_site_edit.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_site_edit.css deleted file mode 100644 index cb87e4452..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/view_site_edit.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###SITE_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views.css deleted file mode 100644 index 748781f8b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###VIEWSCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views_custom_admin.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views_custom_admin.css deleted file mode 100644 index ea5c57e3f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views_custom_admin.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###CUSTOM_ADMIN_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views_site.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views_site.css deleted file mode 100644 index cb87e4452..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/views_site.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###SITE_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Canvas.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Canvas.php deleted file mode 100644 index 359ef51bc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Canvas.php +++ /dev/null @@ -1,167 +0,0 @@ -handle = $img->getHandle(); - $this->image = $img; - } - - /** - * Sets the active font. Can be an instance of - * WideImage_Font_TTF, WideImage_Font_PS, or WideImage_Font_GDF. - * - * - * - * - * @param object $font Font object to set for writeText() - */ - function setFont($font) - { - $this->font = $font; - } - - /** - * Creates and sets the current font - * - * The supported font types are: TTF/OTF, PS, and GDF. - * Font type is detected from the extension. If the $file parameter doesn't have an extension, TTF font is presumed. - * - * Note: not all parameters are supported by all fonts. - * - * @param string $file Font file name (string) - * @param int $size Font size (supported for TTF/OTF and PS fonts, ignored for GDF) - * @param int $color Text color - * @param int $bgcolor Background color (supported only for PS font, ignored for TTF and PS) - * @return mixed One of the WideImage_Font_* objects - */ - function useFont($file, $size = 12, $color = 0, $bgcolor = null) - { - $p = strrpos($file, '.'); - if ($p === false || $p < strlen($file) - 4) - $ext = 'ttf'; - else - $ext = strtolower(substr($file, $p + 1)); - - if ($ext == 'ttf' || $ext == 'otf') - $font = new WideImage_Font_TTF($file, $size, $color); - elseif ($ext == 'ps') - $font = new WideImage_Font_PS($file, $size, $color, $bgcolor); - elseif ($ext == 'gdf') - $font = new WideImage_Font_GDF($file, $color); - else - throw new WideImage_InvalidFontFileException("'$file' appears to be an invalid font file."); - - $this->setFont($font); - return $font; - } - - /** - * Write text on the image at specified position - * - * You must set a font with a call to WideImage_Canvas::setFont() prior to writing text to the image. - * - * Smart coordinates are supported for $x and $y arguments, but currently only for TTF/OTF fonts. - * - * Example: - * - * $img = WideImage::load('pic.jpg'); - * $canvas = $img->getCanvas(); - * $canvas->useFont('Verdana.ttf', 16, $img->allocateColor(255, 0, 0)); - * $canvas->writeText('right', 'bottom', 'www.website.com'); - * - * - * @param int $x Left - * @param int $y Top - * @param string $text Text to write - * @param int $angle The angle, defaults to 0 - */ - function writeText($x, $y, $text, $angle = 0) - { - if ($this->font === null) - throw new WideImage_NoFontException("Can't write text without a font."); - - $angle = - floatval($angle); - if ($angle < 0) - $angle = 360 + $angle; - $angle = $angle % 360; - - $this->font->writeText($this->image, $x, $y, $text, $angle); - } - - /** - * A magic method that allows you to call any PHP function that starts with "image". - * - * This is a shortcut to call custom functions on the image handle. - * - * Example: - * - * $img = WideImage::load('pic.jpg'); - * $canvas = $img->getCanvas(); - * $canvas->filledRect(10, 10, 20, 30, $img->allocateColor(0, 0, 0)); - * $canvas->line(60, 80, 30, 100, $img->allocateColor(255, 0, 0)); - * - */ - function __call($method, $params) - { - if (function_exists('image' . $method)) - { - array_unshift($params, $this->handle); - call_user_func_array('image' . $method, $params); - } - else - throw new WideImage_InvalidCanvasMethodException("Function doesn't exist: image{$method}."); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Coordinate.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Coordinate.php deleted file mode 100644 index a3f6f6373..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Coordinate.php +++ /dev/null @@ -1,208 +0,0 @@ - 'operand', 'value' => trim($current_operand)); - - $current_operand = ''; - $flush_operand = false; - } - - if ($flush_operator) - { - $tokens[] = array('type' => 'operator', 'value' => $char); - $flush_operator = false; - } - } - return $tokens; - } - - /** - * Evaluates the $coord relatively to $dim - * - * @param string $coord A numeric value or percent string - * @param int $dim Dimension - * @param int $sec_dim Secondary dimension (for align) - * @return int Calculated value - */ - static function evaluate($coord, $dim, $sec_dim = null) - { - $comp_regex = implode('|', self::$coord_align) . '|' . implode('|', self::$coord_numeric); - if (preg_match("/^([+-])?({$comp_regex})$/", $coord, $matches)) - { - $sign = intval($matches[1] . "1"); - $val = $matches[2]; - if (in_array($val, self::$coord_align)) - { - if ($sec_dim === null) - { - switch ($val) - { - case 'left': - case 'top': - return 0; - break; - case 'center': - case 'middle': - return $sign * intval($dim / 2); - break; - case 'right': - case 'bottom': - return $sign * $dim; - break; - default: - return null; - } - } - else - { - switch ($val) - { - case 'left': - case 'top': - return 0; - break; - case 'center': - case 'middle': - return $sign * intval($dim / 2 - $sec_dim / 2); - break; - case 'right': - case 'bottom': - return $sign * ($dim - $sec_dim); - break; - default: - return null; - } - } - } - elseif (substr($val, -1) === '%') - return intval(round($sign * $dim * floatval(str_replace('%', '', $val)) / 100)); - else - return $sign * intval(round($val)); - } - } - - /** - * Calculates and fixes a smart coordinate into a numeric value - * - * @param mixed $value Smart coordinate, relative to $dim - * @param int $dim Coordinate to which $value is relative - * @param int $sec_dim Secondary dimension (for align) - * @return int Calculated value - */ - static function fix($value, $dim, $sec_dim = null) - { - $coord_tokens = self::parse($value); - - if (count($coord_tokens) == 0 || $coord_tokens[count($coord_tokens) - 1]['type'] != 'operand') - throw new WideImage_InvalidCoordinateException("Couldn't parse coordinate '$value' properly."); - - $value = 0; - $operation = 1; - foreach ($coord_tokens as $token) - { - if ($token['type'] == 'operand') - { - $operand_value = self::evaluate($token['value'], $dim, $sec_dim); - if ($operation == 1) - $value = $value + $operand_value; - elseif ($operation == -1) - $value = $value - $operand_value; - else - throw new WideImage_InvalidCoordinateException("Invalid coordinate syntax."); - - $operation = 0; - } - elseif ($token['type'] == 'operator') - { - if ($token['value'] == '-') - { - if ($operation == 0) - $operation = -1; - else - $operation = $operation * -1; - } - elseif ($token['value'] == '+') - { - if ($operation == 0) - $operation = '1'; - } - } - } - return $value; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Exception.php deleted file mode 100644 index 0aae4f0f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Exception.php +++ /dev/null @@ -1,31 +0,0 @@ -= 1 && $face <= 5) - $this->font = $face; - else - $this->font = imageloadfont($face); - $this->color = $color; - } - - function writeText($image, $x, $y, $text) - { - imagestring($image->getHandle(), $this->font, $x, $y, $text, $this->color); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/PS.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/PS.php deleted file mode 100644 index 9359e2e5c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/PS.php +++ /dev/null @@ -1,60 +0,0 @@ -handle = imagepsloadfont($file); - $this->size = $size; - $this->color = $color; - if ($bgcolor === null) - $this->bgcolor = $color; - else - $this->color = $color; - } - - function writeText($image, $x, $y, $text, $angle = 0) - { - if ($image->isTrueColor()) - $image->alphaBlending(true); - - imagepstext($image->getHandle(), $text, $this->handle, $this->size, $this->color, $this->bgcolor, $x, $y, 0, 0, $angle, 4); - } - - function __destruct() - { - imagepsfreefont($this->handle); - $this->handle = null; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/TTF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/TTF.php deleted file mode 100644 index 10877117f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/TTF.php +++ /dev/null @@ -1,75 +0,0 @@ -face = $face; - $this->size = $size; - $this->color = $color; - } - - /** - * Writes text onto an image - * - * @param WideImage_Image $image - * @param mixed $x smart coordinate - * @param mixed $y smart coordinate - * @param string $text - * @param int $angle Angle in degrees clockwise - */ - function writeText($image, $x, $y, $text, $angle = 0) - { - if ($image->isTrueColor()) - $image->alphaBlending(true); - - $box = imageftbbox($this->size, $angle, $this->face, $text); - $obox = array( - 'left' => min($box[0], $box[2], $box[4], $box[6]), - 'top' => min($box[1], $box[3], $box[5], $box[7]), - 'right' => max($box[0], $box[2], $box[4], $box[6]) - 1, - 'bottom' => max($box[1], $box[3], $box[5], $box[7]) - 1 - ); - $obox['width'] = abs($obox['left']) + abs($obox['right']); - $obox['height'] = abs($obox['top']) + abs($obox['bottom']); - - $x = WideImage_Coordinate::fix($x, $image->getWidth(), $obox['width']); - $y = WideImage_Coordinate::fix($y, $image->getHeight(), $obox['height']); - - $fixed_x = $x - $obox['left']; - $fixed_y = $y - $obox['top']; - - imagettftext($image->getHandle(), $this->size, $angle, $fixed_x, $fixed_y, $this->color, $this->face, $text); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Font/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Image.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Image.php deleted file mode 100644 index 3a9928000..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Image.php +++ /dev/null @@ -1,964 +0,0 @@ -handle = $handle; - } - - /** - * Cleanup - * - * Destroys the handle via WideImage_Image::destroy() when called by the GC. - */ - function __destruct() - { - $this->destroy(); - } - - /** - * This method destroy the image handle, and releases the image resource. - * - * After this is called, the object doesn't hold a valid image any more. - * No operation should be called after that. - */ - function destroy() - { - if ($this->isValid() && !$this->handleReleased) - imagedestroy($this->handle); - - $this->handle = null; - } - - /** - * Returns the GD image resource - * - * @return resource GD image resource - */ - function getHandle() - { - return $this->handle; - } - - /** - * @return bool True, if the image object holds a valid GD image, false otherwise - */ - function isValid() - { - return WideImage::isValidImageHandle($this->handle); - } - - /** - * Releases the handle - */ - function releaseHandle() - { - $this->handleReleased = true; - } - - /** - * Saves an image to a file - * - * The file type is recognized from the $uri. If you save to a GIF8, truecolor images - * are automatically converted to palette. - * - * This method supports additional parameters: quality (for jpeg images) and - * compression quality and filters (for png images). See http://www.php.net/imagejpeg and - * http://www.php.net/imagepng for details. - * - * Examples: - * - * // save to a GIF - * $image->saveToFile('image.gif'); - * - * // save to a PNG with compression=7 and no filters - * $image->saveToFile('image.png', 7, PNG_NO_FILTER); - * - * // save to a JPEG with quality=80 - * $image->saveToFile('image.jpg', 80); - * - * // save to a JPEG with default quality=100 - * $image->saveToFile('image.jpg'); - * - * - * @param string $uri File location - */ - function saveToFile($uri) - { - $mapper = WideImage_MapperFactory::selectMapper($uri, null); - $args = func_get_args(); - array_unshift($args, $this->getHandle()); - $res = call_user_func_array(array($mapper, 'save'), $args); - if (!$res) - throw new WideImage_UnknownErrorWhileMappingException(get_class($mapper) . " returned an invalid result while saving to $uri"); - } - - /** - * Returns binary string with image data in format specified by $format - * - * Additional parameters may be passed to the function. See WideImage_Image::saveToFile() for more details. - * - * @param string $format The format of the image - * @return string The binary image data in specified format - */ - function asString($format) - { - ob_start(); - $args = func_get_args(); - $args[0] = null; - array_unshift($args, $this->getHandle()); - - $mapper = WideImage_MapperFactory::selectMapper(null, $format); - $res = call_user_func_array(array($mapper, 'save'), $args); - if (!$res) - throw new WideImage_UnknownErrorWhileMappingException(get_class($mapper) . " returned an invalid result while writing the image data"); - - return ob_get_clean(); - } - - /** - * Output a header to browser. - * - * @param $name Name of the header - * @param $data Data - */ - protected function writeHeader($name, $data) - { - header($name . ": " . $data); - } - - /** - * Outputs the image to browser - * - * Sets headers Content-length and Content-type, and echoes the image in the specified format. - * All other headers (such as Content-disposition) must be added manually. - * - * Example: - * - * WideImage::load('image1.png')->resize(100, 100)->output('gif'); - * - * - * @param string $format Image format - */ - function output($format) - { - $args = func_get_args(); - $data = call_user_func_array(array($this, 'asString'), $args); - - $this->writeHeader('Content-length', strlen($data)); - $this->writeHeader('Content-type', WideImage_MapperFactory::mimeType($format)); - echo $data; - } - - /** - * @return int Image width - */ - function getWidth() - { - return imagesx($this->handle); - } - - /** - * @return int Image height - */ - function getHeight() - { - return imagesy($this->handle); - } - - /** - * Allocate a color by RGB values. - * - * @param mixed $R Red-component value or an RGB array (with red, green, blue keys) - * @param int $G If $R is int, this is the green component - * @param int $B If $R is int, this is the blue component - * @return int Image color index - */ - function allocateColor($R, $G = null, $B = null) - { - if (is_array($R)) - return imageColorAllocate($this->handle, $R['red'], $R['green'], $R['blue']); - else - return imageColorAllocate($this->handle, $R, $G, $B); - } - - /** - * @return bool True if the image is transparent, false otherwise - */ - function isTransparent() - { - return $this->getTransparentColor() >= 0; - } - - /** - * @return int Transparent color index - */ - function getTransparentColor() - { - return imagecolortransparent($this->handle); - } - - /** - * Sets the current transparent color index. Only makes sense for palette images (8-bit). - * - * @param int $color Transparent color index - */ - function setTransparentColor($color) - { - return imagecolortransparent($this->handle, $color); - } - - /** - * Returns a RGB array of the transparent color or null if none. - * - * @return mixed Transparent color RGBA array - */ - function getTransparentColorRGB() - { - $total = imagecolorstotal($this->handle); - $tc = $this->getTransparentColor(); - - if ($tc >= $total && $total > 0) - return null; - else - return $this->getColorRGB($tc); - } - - /** - * Returns a RGBA array for pixel at $x, $y - * - * @param int $x - * @param int $y - * @return array RGB array - */ - function getRGBAt($x, $y) - { - return $this->getColorRGB($this->getColorAt($x, $y)); - } - - /** - * Writes a pixel at the designated coordinates - * - * Takes an associative array of colours and uses getExactColor() to - * retrieve the exact index color to write to the image with. - * - * @param int $x - * @param int $y - * @param array $color - */ - function setRGBAt($x, $y, $color) - { - $this->setColorAt($x, $y, $this->getExactColor($color)); - } - - /** - * Returns a color's RGB - * - * @param int $colorIndex Color index - * @return mixed RGBA array for a color with index $colorIndex - */ - function getColorRGB($colorIndex) - { - return imageColorsForIndex($this->handle, $colorIndex); - } - - /** - * Returns an index of the color at $x, $y - * - * @param int $x - * @param int $y - * @return int Color index for a pixel at $x, $y - */ - function getColorAt($x, $y) - { - return imagecolorat($this->handle, $x, $y); - } - - /** - * Set the color index $color to a pixel at $x, $y - * - * @param int $x - * @param int $y - * @param int $color Color index - */ - function setColorAt($x, $y, $color) - { - return imagesetpixel($this->handle, $x, $y, $color); - } - - /** - * Returns closest color index that matches the given RGB value. Uses - * PHP's imagecolorclosest() - * - * @param mixed $R Red or RGBA array - * @param int $G Green component (or null if $R is an RGB array) - * @param int $B Blue component (or null if $R is an RGB array) - * @return int Color index - */ - function getClosestColor($R, $G = null, $B = null) - { - if (is_array($R)) - return imagecolorclosest($this->handle, $R['red'], $R['green'], $R['blue']); - else - return imagecolorclosest($this->handle, $R, $G, $B); - } - - /** - * Returns the color index that exactly matches the given RGB value. Uses - * PHP's imagecolorexact() - * - * @param mixed $R Red or RGBA array - * @param int $G Green component (or null if $R is an RGB array) - * @param int $B Blue component (or null if $R is an RGB array) - * @return int Color index - */ - function getExactColor($R, $G = null, $B = null) - { - if (is_array($R)) - return imagecolorexact($this->handle, $R['red'], $R['green'], $R['blue']); - else - return imagecolorexact($this->handle, $R, $G, $B); - } - - /** - * Copies transparency information from $sourceImage. Optionally fills - * the image with the transparent color at (0, 0). - * - * @param object $sourceImage - * @param bool $fill True if you want to fill the image with transparent color - */ - function copyTransparencyFrom($sourceImage, $fill = true) - { - if ($sourceImage->isTransparent()) - { - $rgba = $sourceImage->getTransparentColorRGB(); - if ($rgba === null) - return; - - if ($this->isTrueColor()) - { - $rgba['alpha'] = 127; - $color = $this->allocateColorAlpha($rgba); - } - else - $color = $this->allocateColor($rgba); - - $this->setTransparentColor($color); - if ($fill) - $this->fill(0, 0, $color); - } - } - - /** - * Fill the image at ($x, $y) with color index $color - * - * @param int $x - * @param int $y - * @param int $color - */ - function fill($x, $y, $color) - { - return imagefill($this->handle, $x, $y, $color); - } - - /** - * Used internally to create Operation objects - * - * @param string $name - * @return object - */ - protected function getOperation($name) - { - return WideImage_OperationFactory::get($name); - } - - /** - * Returns the image's mask - * - * Mask is a greyscale image where the shade defines the alpha channel (black = transparent, white = opaque). - * - * For opaque images (JPEG), the result will be white. For images with single-color transparency (GIF, 8-bit PNG), - * the areas with the transparent color will be black. For images with alpha channel transparenct, - * the result will be alpha channel. - * - * @return WideImage_Image An image mask - **/ - function getMask() - { - return $this->getOperation('GetMask')->execute($this); - } - - /** - * Resize the image to given dimensions. - * - * $width and $height are both smart coordinates. This means that you can pass any of these values in: - * - positive or negative integer (100, -20, ...) - * - positive or negative percent string (30%, -15%, ...) - * - complex coordinate (50% - 20, 15 + 30%, ...) - * - * If $width is null, it's calculated proportionally from $height, and vice versa. - * - * Example (resize to half-size): - * - * $smaller = $image->resize('50%'); - * - * $smaller = $image->resize('100', '100', 'inside', 'down'); - * is the same as - * $smaller = $image->resizeDown(100, 100, 'inside'); - * - * - * @param mixed $width The new width (smart coordinate), or null. - * @param mixed $height The new height (smart coordinate), or null. - * @param string $fit 'inside', 'outside', 'fill' - * @param string $scale 'down', 'up', 'any' - * @return WideImage_Image The resized image - */ - function resize($width = null, $height = null, $fit = 'inside', $scale = 'any') - { - return $this->getOperation('Resize')->execute($this, $width, $height, $fit, $scale); - } - - /** - * Same as WideImage_Image::resize(), but the image is only applied if it is larger then the given dimensions. - * Otherwise, the resulting image retains the source's dimensions. - * - * @param int $width New width, smart coordinate - * @param int $height New height, smart coordinate - * @param string $fit 'inside', 'outside', 'fill' - * @return WideImage_Image resized image - */ - function resizeDown($width = null, $height = null, $fit = 'inside') - { - return $this->resize($width, $height, $fit, 'down'); - } - - /** - * Same as WideImage_Image::resize(), but the image is only applied if it is smaller then the given dimensions. - * Otherwise, the resulting image retains the source's dimensions. - * - * @param int $width New width, smart coordinate - * @param int $height New height, smart coordinate - * @param string $fit 'inside', 'outside', 'fill' - * @return WideImage_Image resized image - */ - function resizeUp($width = null, $height = null, $fit = 'inside') - { - return $this->resize($width, $height, $fit, 'up'); - } - - /** - * Rotate the image for angle $angle clockwise. - * - * Preserves transparency. Has issues when saving to a BMP. - * - * @param int $angle Angle in degrees, clock-wise - * @param int $bgColor color of the new background - * @param bool $ignoreTransparent - * @return WideImage_Image The rotated image - */ - function rotate($angle, $bgColor = null, $ignoreTransparent = true) - { - return $this->getOperation('Rotate')->execute($this, $angle, $bgColor, $ignoreTransparent); - } - - /** - * This method lays the overlay (watermark) on the image. - * - * Hint: if the overlay is a truecolor image with alpha channel, you should leave $pct at 100. - * - * This operation supports alignment notation in coordinates: - * - * $watermark = WideImage::load('logo.gif'); - * $base = WideImage::load('picture.jpg'); - * $result = $base->merge($watermark, "right - 10", "bottom - 10", 50); - * // applies a logo aligned to bottom-right corner with a 10 pixel margin - * - * - * @param WideImage_Image $overlay The overlay image - * @param mixed $left Left position of the overlay, smart coordinate - * @param mixed $top Top position of the overlay, smart coordinate - * @param int $pct The opacity of the overlay - * @return WideImage_Image The merged image - */ - function merge($overlay, $left = 0, $top = 0, $pct = 100) - { - return $this->getOperation('Merge')->execute($this, $overlay, $left, $top, $pct); - } - - /** - * Resizes the canvas of the image, but doesn't scale the content of the image - * - * This operation creates an empty canvas with dimensions $width x $height, filled with - * background color $bg_color and draws the original image onto it at position [$pos_x, $pos_y]. - * - * Arguments $width, $height, $pos_x and $pos_y are all smart coordinates. $width and $height are - * relative to the current image size, $pos_x and $pos_y are relative to the newly calculated - * canvas size. This can be confusing, but it makes sense. See the example below. - * - * The example below loads a 100x150 image and then resizes its canvas to 200% x 100%+20 - * (which evaluates to 200x170). The image is placed at position [10, center+20], which evaluates to [10, 30]. - * - * $image = WideImage::load('someimage.jpg'); // 100x150 - * $white = $image->allocateColor(255, 255, 255); - * $image->resizeCanvas('200%', '100% + 20', 10, 'center+20', $white); - * - * - * The parameter $merge defines whether the original image should be merged onto the new canvas. - * This means it blends transparent color and alpha colors into the background color. If set to false, - * the original image is just copied over, preserving the transparency/alpha information. - * - * You can set the $scale parameter to limit when to resize the canvas. For example, if you want - * to resize the canvas only if the image is smaller than the new size, but leave the image intact - * if it's larger, set it to 'up'. Likewise, if you want to shrink the canvas, but don't want to - * change images that are already smaller, set it to 'down'. - * - * @param mixed $width Width of the new canvas (smart coordinate, relative to current image width) - * @param mixed $height Height of the new canvas (smart coordinate, relative to current image height) - * @param mixed $pos_x x-position of the image (smart coordinate, relative to the new width) - * @param mixed $pos_y y-position of the image (smart coordinate, relative to the new height) - * @param int $bg_color Background color (created with allocateColor or allocateColorAlpha), defaults to null (tries to use a transparent color) - * @param string $scale Possible values: 'up' (enlarge only), 'down' (downsize only), 'any' (resize precisely to $width x $height). Defaults to 'any'. - * @param bool $merge Merge the original image (flatten alpha channel and transparency) or copy it over (preserve). Defaults to false. - * @return WideImage_Image The resulting image with resized canvas - */ - function resizeCanvas($width, $height, $pos_x, $pos_y, $bg_color = null, $scale = 'any', $merge = false) - { - return $this->getOperation('ResizeCanvas')->execute($this, $width, $height, $pos_x, $pos_y, $bg_color, $scale, $merge); - } - - /** - * Returns an image with round corners - * - * You can either set the corners' color or set them transparent. - * - * Note on $smoothness: 1 means jagged edges, 2 is much better, more than 4 doesn't noticeably improve the quality. - * Rendering becomes increasingly slower if you increase smoothness. - * - * Example: - * - * $nice = $ugly->roundCorners(20, $ugly->allocateColor(255, 0, 0), 2); - * - * - * Use $corners parameter to specify which corners to draw rounded. Possible values are - * WideImage::SIDE_TOP_LEFT, WideImage::SIDE_TOP, - * WideImage::SIDE_TOP_RIGHT, WideImage::SIDE_RIGHT, - * WideImage::SIDE_BOTTOM_RIGHT, WideImage::SIDE_BOTTOM, - * WideImage::SIDE_BOTTOM_LEFT, WideImage::SIDE_LEFT, and WideImage::SIDE_ALL. - * You can specify any combination of corners with a + operation, see example below. - * - * Example: - * - * $white = $image->allocateColor(255, 255, 255); - * $diagonal_corners = $image->roundCorners(15, $white, 2, WideImage::SIDE_TOP_LEFT + WideImage::SIDE_BOTTOM_RIGHT); - * $right_corners = $image->roundCorners(15, $white, 2, WideImage::SIDE_RIGHT); - * - * - * @param int $radius Radius of the corners - * @param int $color The color of corners. If null, corners are rendered transparent (slower than using a solid color). - * @param int $smoothness Specify the level of smoothness. Suggested values from 1 to 4. - * @param int $corners Specify which corners to draw (defaults to WideImage::SIDE_ALL = all corners) - * @return WideImage_Image The resulting image with round corners - */ - function roundCorners($radius, $color = null, $smoothness = 2, $corners = 255) - { - return $this->getOperation('RoundCorners')->execute($this, $radius, $color, $smoothness, $corners); - } - - /** - * Returns an image with applied mask - * - * A mask is a grayscale image, where the shade determines the alpha channel. Black is fully transparent - * and white is fully opaque. - * - * @param WideImage_Image $mask The mask image, greyscale - * @param mixed $left Left coordinate, smart coordinate - * @param mixed $top Top coordinate, smart coordinate - * @return WideImage_Image The resulting image - **/ - function applyMask($mask, $left = 0, $top = 0) - { - return $this->getOperation('ApplyMask')->execute($this, $mask, $left, $top); - } - - /** - * Applies a filter - * - * @param int $filter One of the IMG_FILTER_* constants - * @param int $arg1 - * @param int $arg2 - * @param int $arg3 - * @param int $arg4 - * @return WideImage_Image - */ - function applyFilter($filter, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null) - { - return $this->getOperation('ApplyFilter')->execute($this, $filter, $arg1, $arg2, $arg3, $arg4); - } - - /** - * Applies convolution matrix with imageconvolution() - * - * @param array $matrix - * @param float $div - * @param float $offset - * @return WideImage_Image - */ - function applyConvolution($matrix, $div, $offset) - { - return $this->getOperation('ApplyConvolution')->execute($this, $matrix, $div, $offset); - } - - /** - * Returns a cropped rectangular portion of the image - * - * If the rectangle specifies area that is out of bounds, it's limited to the current image bounds. - * - * Examples: - * - * $cropped = $img->crop(10, 10, 150, 200); // crops a 150x200 rect at (10, 10) - * $cropped = $img->crop(-100, -50, 100, 50); // crops a 100x50 rect at the right-bottom of the image - * $cropped = $img->crop('25%', '25%', '50%', '50%'); // crops a 50%x50% rect from the center of the image - * - * - * This operation supports alignment notation in left/top coordinates. - * Example: - * - * $cropped = $img->crop("right", "bottom", 100, 200); // crops a 100x200 rect from right bottom - * $cropped = $img->crop("center", "middle", 50, 30); // crops a 50x30 from the center of the image - * - * - * @param mixed $left Left-coordinate of the crop rect, smart coordinate - * @param mixed $top Top-coordinate of the crop rect, smart coordinate - * @param mixed $width Width of the crop rect, smart coordinate - * @param mixed $height Height of the crop rect, smart coordinate - * @return WideImage_Image The cropped image - **/ - function crop($left = 0, $top = 0, $width = '100%', $height = '100%') - { - return $this->getOperation('Crop')->execute($this, $left, $top, $width, $height); - } - - /** - * Performs an auto-crop on the image - * - * The image is auto-cropped from each of four sides. All sides are - * scanned for pixels that differ from $base_color for more than - * $rgb_threshold in absolute RGB difference. If more than $pixel_cutoff - * differentiating pixels are found, that line is considered to be the crop line for the side. - * If the line isn't different enough, the algorithm procedes to the next line - * towards the other edge of the image. - * - * When the crop rectangle is found, it's enlarged by the $margin value on each of the four sides. - * - * @param int $margin Margin for the crop rectangle, can be negative. - * @param int $rgb_threshold RGB difference which still counts as "same color". - * @param int $pixel_cutoff How many pixels need to be different to mark a cut line. - * @param int $base_color The base color index. If none specified (or null given), left-top pixel is used. - * @return WideImage_Image The cropped image - */ - function autoCrop($margin = 0, $rgb_threshold = 0, $pixel_cutoff = 1, $base_color = null) - { - return $this->getOperation('AutoCrop')->execute($this, $margin, $rgb_threshold, $pixel_cutoff, $base_color); - } - - /** - * Returns a negative of the image - * - * This operation differs from calling WideImage_Image::applyFilter(IMG_FILTER_NEGATIVE), because it's 8-bit and transparency safe. - * This means it will return an 8-bit image, if the source image is 8-bit. If that 8-bit image has a palette transparency, - * the resulting image will keep transparency. - * - * @return WideImage_Image negative of the image - */ - function asNegative() - { - return $this->getOperation('AsNegative')->execute($this); - } - - /** - * Returns a grayscale copy of the image - * - * @return WideImage_Image grayscale copy - **/ - function asGrayscale() - { - return $this->getOperation('AsGrayscale')->execute($this); - } - - /** - * Returns a mirrored copy of the image - * - * @return WideImage_Image Mirrored copy - **/ - function mirror() - { - return $this->getOperation('Mirror')->execute($this); - } - - /** - * Applies the unsharp filter - * - * @param float $amount - * @param float $radius - * @param float $threshold - * @return WideImage_Image Unsharpened copy of the image - **/ - function unsharp($amount, $radius, $threshold) - { - return $this->getOperation('Unsharp')->execute($this, $amount, $radius, $threshold); - } - - /** - * Returns a flipped (mirrored over horizontal line) copy of the image - * - * @return WideImage_Image Flipped copy - **/ - function flip() - { - return $this->getOperation('Flip')->execute($this); - } - - /** - * Corrects gamma on the image - * - * @param float $inputGamma - * @param float $outputGamma - * @return WideImage_Image Image with corrected gamma - **/ - function correctGamma($inputGamma, $outputGamma) - { - return $this->getOperation('CorrectGamma')->execute($this, $inputGamma, $outputGamma); - } - - /** - * Adds noise to the image - * - * @author Tomasz Kapusta - * - * @param int $amount Number of noise pixels to add - * @param string $type Type of noise 'salt&pepper', 'color' or 'mono' - * @return WideImage_Image Image with noise added - **/ - function addNoise($amount, $type) - { - return $this->getOperation('AddNoise')->execute($this, $amount, $type); - } - - /** - * Used internally to execute operations - * - * @param string $name - * @param array $args - * @return WideImage_Image - */ - function __call($name, $args) - { - $op = $this->getOperation($name); - array_unshift($args, $this); - return call_user_func_array(array($op, 'execute'), $args); - } - - /** - * Returns an image in GIF or PNG format - * - * @return string - */ - function __toString() - { - if ($this->isTransparent()) - return $this->asString('gif'); - else - return $this->asString('png'); - } - - /** - * Returns a copy of the image object - * - * @return WideImage_Image The copy - **/ - function copy() - { - $dest = $this->doCreate($this->getWidth(), $this->getHeight()); - $dest->copyTransparencyFrom($this, true); - $this->copyTo($dest, 0, 0); - return $dest; - } - - /** - * Copies this image onto another image - * - * @param WideImage_Image $dest - * @param int $left - * @param int $top - **/ - function copyTo($dest, $left = 0, $top = 0) - { - if (!imagecopy($dest->getHandle(), $this->handle, $left, $top, 0, 0, $this->getWidth(), $this->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - } - - /** - * Returns the canvas object - * - * The Canvas object can be used to draw text and shapes on the image - * - * Examples: - * - * $img = WideImage::load('pic.jpg); - * $canvas = $img->getCanvas(); - * $canvas->useFont('arial.ttf', 15, $img->allocateColor(200, 220, 255)); - * $canvas->writeText(10, 50, "Hello world!"); - * - * $canvas->filledRectangle(10, 10, 80, 40, $img->allocateColor(255, 127, 255)); - * $canvas->line(60, 80, 30, 100, $img->allocateColor(255, 0, 0)); - * $img->saveToFile('new.png'); - * - * - * @return WideImage_Canvas The Canvas object - **/ - function getCanvas() - { - if ($this->canvas == null) - $this->canvas = new WideImage_Canvas($this); - return $this->canvas; - } - - /** - * Returns true if the image is true-color, false otherwise - * - * @return bool - **/ - abstract function isTrueColor(); - - /** - * Returns a true-color copy of the image - * - * @return WideImage_TrueColorImage - **/ - abstract function asTrueColor(); - - /** - * Returns a palette copy (8bit) of the image - * - * @param int $nColors Number of colors in the resulting image, more than 0, less or equal to 255 - * @param bool $dither Use dithering or not - * @param bool $matchPalette Set to true to use imagecolormatch() to match the resulting palette more closely to the original image - * @return WideImage_Image - **/ - abstract function asPalette($nColors = 255, $dither = null, $matchPalette = true); - - /** - * Retrieve an image with selected channels - * - * Examples: - * - * $channels = $img->getChannels('red', 'blue'); - * $channels = $img->getChannels('alpha', 'green'); - * $channels = $img->getChannels(array('green', 'blue')); - * - * - * @return WideImage_Image - **/ - abstract function getChannels(); - - /** - * Returns an image without an alpha channel - * - * @return WideImage_Image - **/ - abstract function copyNoAlpha(); - - /** - * Returns an array of serializable protected variables. Called automatically upon serialize(). - * - * @return array - */ - function __sleep() - { - $this->sdata = $this->asString('png'); - return array('sdata', 'handleReleased'); - } - - /** - * Restores an image from serialization. Called automatically upon unserialize(). - */ - function __wakeup() - { - $temp_image = WideImage::loadFromString($this->sdata); - $temp_image->releaseHandle(); - $this->handle = $temp_image->handle; - $temp_image = null; - $this->sdata = null; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Mapper/BMP.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Mapper/BMP.php deleted file mode 100644 index 0620f0590..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Mapper/BMP.php +++ /dev/null @@ -1,51 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/MapperFactory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/MapperFactory.php deleted file mode 100644 index 4f453df22..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/MapperFactory.php +++ /dev/null @@ -1,126 +0,0 @@ - 'JPEG', - 'image/jpeg' => 'JPEG', - 'image/pjpeg' => 'JPEG', - 'image/gif' => 'GIF', - 'image/png' => 'PNG' - ); - - /** - * Returns a mapper, based on the $uri and $format - * - * @param string $uri File URI - * @param string $format File format (extension or mime-type) or null - * @return WideImage_Mapper - **/ - static function selectMapper($uri, $format = null) - { - $format = self::determineFormat($uri, $format); - - if (array_key_exists($format, self::$mappers)) - return self::$mappers[$format]; - - $mapperClassName = 'WideImage_Mapper_' . $format; - - if (!class_exists($mapperClassName, false)) - { - $mapperFileName = WideImage::path() . 'Mapper/' . $format . '.php'; - if (file_exists($mapperFileName)) - require_once $mapperFileName; - } - - if (class_exists($mapperClassName)) - { - self::$mappers[$format] = new $mapperClassName(); - return self::$mappers[$format]; - } - - throw new WideImage_UnsupportedFormatException("Format '{$format}' is not supported."); - } - - static function registerMapper($mapper_class_name, $mime_type, $extension) - { - self::$customMappers[$mime_type] = $mapper_class_name; - self::$mimeTable[$mime_type] = $extension; - } - - static function getCustomMappers() - { - return self::$customMappers; - } - - static function determineFormat($uri, $format = null) - { - if ($format == null) - $format = self::extractExtension($uri); - - // mime-type match - if (preg_match('~[a-z]*/[a-z-]*~i', $format)) - if (isset(self::$mimeTable[strtolower($format)])) - { - return self::$mimeTable[strtolower($format)]; - } - - // clean the string - $format = strtoupper(preg_replace('/[^a-z0-9_-]/i', '', $format)); - if ($format == 'JPG') - $format = 'JPEG'; - - return $format; - } - - static function mimeType($format) - { - return array_search(strtoupper($format), self::$mimeTable); - } - - static function extractExtension($uri) - { - $p = strrpos($uri, '.'); - if ($p === false) - return ''; - else - return substr($uri, $p + 1); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AddNoise.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AddNoise.php deleted file mode 100644 index 5206c3ef3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AddNoise.php +++ /dev/null @@ -1,153 +0,0 @@ -asTrueColor(), $fun, $amount); - } - - /** - * Returns image with every pixel changed by specififed function - * - * @param WideImage_Image $image - * @param str $function - * @param int $value - * @return WideImage_Image - */ - function filter($image, $function, $value) - { - for ($y = 0; $y < $image->getHeight(); $y++) - { - for ($x = 0; $x< $image->getWidth(); $x++) - { - $rgb = imagecolorat($image->getHandle(), $x, $y); - - $a = ($rgb >> 24) & 0xFF; - $r = ($rgb >> 16) & 0xFF; - $g = ($rgb >> 8) & 0xFF; - $b = $rgb & 0xFF; - - - self::$function($r, $g, $b, $value); - - $color = imagecolorallocatealpha($image->getHandle(), $r, $g, $b, $a); - imagesetpixel($image->getHandle(), $x, $y, $color); - } - } - return $image; - } - /** - * Adds color noise by altering given R,G,B values using specififed amount - * - * @param int $r - * @param int $g - * @param int $b - * @param int $value - * @return void - */ - function colorNoise_fun(&$r, &$g, &$b, $amount) - { - $r = self::byte($r + mt_rand(0, $amount) - ($amount >> 1) ); - $g = self::byte($g + mt_rand(0, $amount) - ($amount >> 1) ); - $b = self::byte($b + mt_rand(0, $amount) - ($amount >> 1) ); - } - /** - * Adds mono noise by altering given R,G,B values using specififed amount - * - * @param int $r - * @param int $g - * @param int $b - * @param int $value - * @return void - */ - function monoNoise_fun(&$r, &$g, &$b, $amount) - { - $rand = mt_rand(0, $amount) - ($amount >> 1); - - $r = self::byte($r + $rand); - $g = self::byte($g + $rand); - $b = self::byte($b + $rand); - } - /** - * Adds salt&pepper noise by altering given R,G,B values using specififed amount - * - * @param int $r - * @param int $g - * @param int $b - * @param int $value - * @return void - */ - function saltPepperNoise_fun(&$r, &$g, &$b, $amount) - { - if (mt_rand(0, 255 - $amount) != 0) return; - - $rand = mt_rand(0, 1); - switch ($rand) - { - case 0 : $r = $g = $b = 0; - break; - case 1 : $r = $g = $b = 255; - break; - } - } - /** - * Returns value within (0,255) - * - * @param int $b - * @return int - */ - function byte($b) - { - if ($b > 255) return 255; - if ($b < 0) return 0; - return (int) $b; - } - - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php deleted file mode 100644 index 9a1c5f74c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php +++ /dev/null @@ -1,48 +0,0 @@ -asTrueColor(); - if (!imageconvolution($new->getHandle(), $matrix, $div, $offset)) - throw new WideImage_GDFunctionResultException("imageconvolution() returned false"); - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyFilter.php deleted file mode 100644 index ec6d210b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyFilter.php +++ /dev/null @@ -1,67 +0,0 @@ -asTrueColor(); - - if (in_array($filter, self::$one_arg_filters)) - $res = imagefilter($new->getHandle(), $filter, $arg1); - elseif (defined('IMG_FILTER_PIXELATE') && $filter == IMG_FILTER_PIXELATE) - $res = imagefilter($new->getHandle(), $filter, $arg1, $arg2); - elseif ($filter == IMG_FILTER_COLORIZE) - $res = imagefilter($new->getHandle(), $filter, $arg1, $arg2, $arg3, $arg4); - else - $res = imagefilter($new->getHandle(), $filter); - - if (!$res) - throw new WideImage_GDFunctionResultException("imagefilter() returned false"); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyMask.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyMask.php deleted file mode 100644 index 949213f0c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ApplyMask.php +++ /dev/null @@ -1,105 +0,0 @@ -getWidth(), $mask->getWidth()); - $top = WideImage_Coordinate::fix($top, $image->getHeight(), $mask->getHeight()); - - $width = $image->getWidth(); - $mask_width = $mask->getWidth(); - - $height = $image->getHeight(); - $mask_height = $mask->getHeight(); - - $result = $image->asTrueColor(); - - $result->alphaBlending(false); - $result->saveAlpha(true); - - $srcTransparentColor = $result->getTransparentColor(); - if ($srcTransparentColor >= 0) - { - # this was here. works without. - #$trgb = $image->getColorRGB($srcTransparentColor); - #$trgb['alpha'] = 127; - #$destTransparentColor = $result->allocateColorAlpha($trgb); - #$result->setTransparentColor($destTransparentColor); - $destTransparentColor = $srcTransparentColor; - } - else - { - $destTransparentColor = $result->allocateColorAlpha(255, 255, 255, 127); - } - - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $mx = $x - $left; - $my = $y - $top; - if ($mx >= 0 && $mx < $mask_width && $my >= 0 && $my < $mask_height) - { - $srcColor = $image->getColorAt($x, $y); - if ($srcColor == $srcTransparentColor) - $destColor = $destTransparentColor; - else - { - $maskRGB = $mask->getRGBAt($mx, $my); - if ($maskRGB['red'] == 0) - $destColor = $destTransparentColor; - elseif ($srcColor >= 0) - { - $imageRGB = $image->getRGBAt($x, $y); - $level = ($maskRGB['red'] / 255) * (1 - $imageRGB['alpha'] / 127); - $imageRGB['alpha'] = 127 - round($level * 127); - if ($imageRGB['alpha'] == 127) - $destColor = $destTransparentColor; - else - $destColor = $result->allocateColorAlpha($imageRGB); - } - else - $destColor = $destTransparentColor; - } - $result->setColorAt($x, $y, $destColor); - } - } - return $result; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AsGrayscale.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AsGrayscale.php deleted file mode 100644 index dc72f8554..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AsGrayscale.php +++ /dev/null @@ -1,49 +0,0 @@ -asTrueColor(); - if (!imagefilter($new->getHandle(), IMG_FILTER_GRAYSCALE)) - throw new WideImage_GDFunctionResultException("imagefilter() returned false"); - - if (!$image->isTrueColor()) - $new = $new->asPalette(); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AsNegative.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AsNegative.php deleted file mode 100644 index 9a13c4297..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AsNegative.php +++ /dev/null @@ -1,63 +0,0 @@ -isTrueColor(); - $transparent = $image->isTransparent(); - - if ($palette && $transparent) - $tcrgb = $image->getTransparentColorRGB(); - - $new = $image->asTrueColor(); - if (!imagefilter($new->getHandle(), IMG_FILTER_NEGATE)) - throw new WideImage_GDFunctionResultException("imagefilter() returned false"); - - if ($palette) - { - $new = $new->asPalette(); - if ($transparent) - { - $irgb = array('red' => 255 - $tcrgb['red'], 'green' => 255 - $tcrgb['green'], 'blue' => 255 - $tcrgb['blue'], 'alpha' => 127); - // needs imagecolorexactalpha instead of imagecolorexact, otherwise doesn't work on some transparent GIF images - $new_tci = imagecolorexactalpha($new->getHandle(), $irgb['red'], $irgb['green'], $irgb['blue'], 127); - $new->setTransparentColor($new_tci); - } - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AutoCrop.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AutoCrop.php deleted file mode 100644 index 2fd0909e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/AutoCrop.php +++ /dev/null @@ -1,162 +0,0 @@ -getRGBAt(0, 0); - else - { - if ($base_color < 0) - return $img->copy(); - - $rgb_base = $img->getColorRGB($base_color); - } - - $cut_rect = array('left' => 0, 'top' => 0, 'right' => $img->getWidth() - 1, 'bottom' => $img->getHeight() - 1); - - for ($y = 0; $y <= $cut_rect['bottom']; $y++) - { - $count = 0; - for ($x = 0; $x <= $cut_rect['right']; $x++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['top'] = $y; - break 2; - } - } - } - } - - for ($y = $img->getHeight() - 1; $y >= $cut_rect['top']; $y--) - { - $count = 0; - for ($x = 0; $x <= $cut_rect['right']; $x++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['bottom'] = $y; - break 2; - } - } - } - } - - for ($x = 0; $x <= $cut_rect['right']; $x++) - { - $count = 0; - for ($y = $cut_rect['top']; $y <= $cut_rect['bottom']; $y++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['left'] = $x; - break 2; - } - } - } - } - - for ($x = $cut_rect['right']; $x >= $cut_rect['left']; $x--) - { - $count = 0; - for ($y = $cut_rect['top']; $y <= $cut_rect['bottom']; $y++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['right'] = $x; - break 2; - } - } - } - } - - $cut_rect = array( - 'left' => $cut_rect['left'] - $margin, - 'top' => $cut_rect['top'] - $margin, - 'right' => $cut_rect['right'] + $margin, - 'bottom' => $cut_rect['bottom'] + $margin - ); - - if ($cut_rect['left'] < 0) - $cut_rect['left'] = 0; - - if ($cut_rect['top'] < 0) - $cut_rect['top'] = 0; - - if ($cut_rect['right'] >= $img->getWidth()) - $cut_rect['right'] = $img->getWidth() - 1; - - if ($cut_rect['bottom'] >= $img->getHeight()) - $cut_rect['bottom'] = $img->getHeight() - 1; - - return $img->crop($cut_rect['left'], $cut_rect['top'], $cut_rect['right'] - $cut_rect['left'] + 1, $cut_rect['bottom'] - $cut_rect['top'] + 1); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php deleted file mode 100644 index 048975005..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php +++ /dev/null @@ -1,90 +0,0 @@ - 0, 'green' => 0, 'blue' => 0); - if (isset($channels['alpha'])) - unset($channels['alpha']); - - $width = $img->getWidth(); - $height = $img->getHeight(); - $copy = WideImage_PaletteImage::create($width, $height); - - if ($img->isTransparent()) - { - $otci = $img->getTransparentColor(); - $TRGB = $img->getColorRGB($otci); - $tci = $copy->allocateColor($TRGB); - } - else - { - $otci = null; - $tci = null; - } - - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $ci = $img->getColorAt($x, $y); - if ($ci === $otci) - { - $copy->setColorAt($x, $y, $tci); - continue; - } - $RGB = $img->getColorRGB($ci); - - $newRGB = $blank; - foreach ($channels as $channel) - $newRGB[$channel] = $RGB[$channel]; - - $color = $copy->getExactColor($newRGB); - if ($color == -1) - $color = $copy->allocateColor($newRGB); - - $copy->setColorAt($x, $y, $color); - } - - if ($img->isTransparent()) - $copy->setTransparentColor($tci); - - return $copy; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php deleted file mode 100644 index bf39520cd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php +++ /dev/null @@ -1,67 +0,0 @@ - 0, 'green' => 0, 'blue' => 0, 'alpha' => 0); - - $width = $img->getWidth(); - $height = $img->getHeight(); - $copy = WideImage_TrueColorImage::create($width, $height); - - if (count($channels) > 0) - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $RGBA = $img->getRGBAt($x, $y); - $newRGBA = $blank; - foreach ($channels as $channel) - $newRGBA[$channel] = $RGBA[$channel]; - - $color = $copy->getExactColorAlpha($newRGBA); - if ($color == -1) - $color = $copy->allocateColorAlpha($newRGBA); - - $copy->setColorAt($x, $y, $color); - } - - return $copy; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CorrectGamma.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CorrectGamma.php deleted file mode 100644 index 49562f1d3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/CorrectGamma.php +++ /dev/null @@ -1,48 +0,0 @@ -copy(); - if (!imagegammacorrect($new->getHandle(), $input_gamma, $output_gamma)) - throw new WideImage_GDFunctionResultException("imagegammacorrect() returned false"); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Crop.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Crop.php deleted file mode 100644 index 6a9d4f5b3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Crop.php +++ /dev/null @@ -1,86 +0,0 @@ -getWidth(), $width); - $height = WideImage_Coordinate::fix($height, $img->getHeight(), $height); - $left = WideImage_Coordinate::fix($left, $img->getWidth(), $width); - $top = WideImage_Coordinate::fix($top, $img->getHeight(), $height); - if ($left < 0) - { - $width = $left + $width; - $left = 0; - } - - if ($width > $img->getWidth() - $left) - $width = $img->getWidth() - $left; - - if ($top < 0) - { - $height = $top + $height; - $top = 0; - } - - if ($height > $img->getHeight() - $top) - $height = $img->getHeight() - $top; - - if ($width <= 0 || $height <= 0) - throw new WideImage_Exception("Can't crop outside of an image."); - - $new = $img->doCreate($width, $height); - - if ($img->isTransparent() || $img instanceof WideImage_PaletteImage) - { - $new->copyTransparencyFrom($img); - if (!imagecopyresized($new->getHandle(), $img->getHandle(), 0, 0, $left, $top, $width, $height, $width, $height)) - throw new WideImage_GDFunctionResultException("imagecopyresized() returned false"); - } - else - { - $new->alphaBlending(false); - $new->saveAlpha(true); - if (!imagecopyresampled($new->getHandle(), $img->getHandle(), 0, 0, $left, $top, $width, $height, $width, $height)) - throw new WideImage_GDFunctionResultException("imagecopyresampled() returned false"); - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Flip.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Flip.php deleted file mode 100644 index d2f189c7b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Flip.php +++ /dev/null @@ -1,54 +0,0 @@ -copy(); - - $width = $image->getWidth(); - $height = $image->getHeight(); - - if ($new->isTransparent()) - imagefilledrectangle($new->getHandle(), 0, 0, $width, $height, $new->getTransparentColor()); - - for ($y = 0; $y < $height; $y++) - if (!imagecopy($new->getHandle(), $image->getHandle(), 0, $y, 0, $height - $y - 1, $width, 1)) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/GetMask.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/GetMask.php deleted file mode 100644 index f203a91d6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/GetMask.php +++ /dev/null @@ -1,67 +0,0 @@ -getWidth(); - $height = $image->getHeight(); - - $mask = WideImage_TrueColorImage::create($width, $height); - $mask->setTransparentColor(-1); - $mask->alphaBlending(false); - $mask->saveAlpha(false); - - for ($i = 0; $i <= 255; $i++) - $greyscale[$i] = ImageColorAllocate($mask->getHandle(), $i, $i, $i); - - imagefilledrectangle($mask->getHandle(), 0, 0, $width, $height, $greyscale[255]); - - $transparentColor = $image->getTransparentColor(); - $alphaToGreyRatio = 255 / 127; - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $color = $image->getColorAt($x, $y); - if ($color == $transparentColor) - $rgba['alpha'] = 127; - else - $rgba = $image->getColorRGB($color); - imagesetpixel($mask->getHandle(), $x, $y, $greyscale[255 - round($rgba['alpha'] * $alphaToGreyRatio)]); - } - return $mask; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Merge.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Merge.php deleted file mode 100644 index ee897119b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Merge.php +++ /dev/null @@ -1,78 +0,0 @@ -getWidth(), $overlay->getWidth()); - $y = WideImage_Coordinate::fix($top, $base->getHeight(), $overlay->getHeight()); - - $result = $base->asTrueColor(); - $result->alphaBlending(true); - $result->saveAlpha(true); - - if ($pct <= 0) - return $result; - - if ($pct < 100) - { - if (!imagecopymerge( - $result->getHandle(), - $overlay->getHandle(), - $x, $y, 0, 0, - $overlay->getWidth(), - $overlay->getHeight(), - $pct)) - throw new WideImage_GDFunctionResultException("imagecopymerge() returned false"); - } - else - { - if (!imagecopy( - $result->getHandle(), - $overlay->getHandle(), - $x, $y, 0, 0, - $overlay->getWidth(), - $overlay->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - } - - return $result; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Mirror.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Mirror.php deleted file mode 100644 index ebefbfc4f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Mirror.php +++ /dev/null @@ -1,55 +0,0 @@ -copy(); - - $width = $image->getWidth(); - $height = $image->getHeight(); - - if ($new->isTransparent()) - imagefilledrectangle($new->getHandle(), 0, 0, $width, $height, $new->getTransparentColor()); - - for ($x = 0; $x < $width; $x++) - { - if (!imagecopy($new->getHandle(), $image->getHandle(), $x, 0, $width - $x - 1, 0, 1, $height)) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Resize.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Resize.php deleted file mode 100644 index c495b7cd3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Resize.php +++ /dev/null @@ -1,157 +0,0 @@ -getWidth(); - $height = $img->getHeight(); - } - - if ($width !== null) - $width = WideImage_Coordinate::fix($width, $img->getWidth()); - - if ($height !== null) - $height = WideImage_Coordinate::fix($height, $img->getHeight()); - - if ($width === null) - $width = floor($img->getWidth() * $height / $img->getHeight()); - - if ($height === null) - $height = floor($img->getHeight() * $width / $img->getWidth()); - - if ($width === 0 || $height === 0) - return array('width' => 0, 'height' => 0); - - if ($fit == null) - $fit = 'inside'; - - $dim = array(); - if ($fit == 'fill') - { - $dim['width'] = $width; - $dim['height'] = $height; - } - elseif ($fit == 'inside' || $fit == 'outside') - { - $rx = $img->getWidth() / $width; - $ry = $img->getHeight() / $height; - - if ($fit == 'inside') - $ratio = ($rx > $ry) ? $rx : $ry; - else - $ratio = ($rx < $ry) ? $rx : $ry; - - $dim['width'] = round($img->getWidth() / $ratio); - $dim['height'] = round($img->getHeight() / $ratio); - } - else - throw new WideImage_Operation_InvalidFitMethodException("{$fit} is not a valid resize-fit method."); - - return $dim; - } - - /** - * Returns a resized image - * - * @param WideImage_Image $img - * @param smart_coordinate $width - * @param smart_coordinate $height - * @param string $fit - * @param string $scale - * @return WideImage_Image - */ - function execute($img, $width, $height, $fit, $scale) - { - $dim = $this->prepareDimensions($img, $width, $height, $fit); - if (($scale === 'down' && ($dim['width'] >= $img->getWidth() && $dim['height'] >= $img->getHeight())) || - ($scale === 'up' && ($dim['width'] <= $img->getWidth() && $dim['height'] <= $img->getHeight()))) - $dim = array('width' => $img->getWidth(), 'height' => $img->getHeight()); - - if ($dim['width'] <= 0 || $dim['height'] <= 0) - throw new WideImage_Operation_InvalidResizeDimensionException("Both dimensions must be larger than 0."); - - if ($img->isTransparent() || $img instanceof WideImage_PaletteImage) - { - $new = WideImage_PaletteImage::create($dim['width'], $dim['height']); - $new->copyTransparencyFrom($img); - if (!imagecopyresized( - $new->getHandle(), - $img->getHandle(), - 0, 0, 0, 0, - $new->getWidth(), - $new->getHeight(), - $img->getWidth(), - $img->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopyresized() returned false"); - } - else - { - $new = WideImage_TrueColorImage::create($dim['width'], $dim['height']); - $new->alphaBlending(false); - $new->saveAlpha(true); - if (!imagecopyresampled( - $new->getHandle(), - $img->getHandle(), - 0, 0, 0, 0, - $new->getWidth(), - $new->getHeight(), - $img->getWidth(), - $img->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopyresampled() returned false"); - $new->alphaBlending(true); - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php deleted file mode 100644 index 8262b15ae..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php +++ /dev/null @@ -1,107 +0,0 @@ -getWidth()); - $new_height = WideImage_Coordinate::fix($height, $img->getHeight()); - - if ($scale == 'down') - { - $new_width = min($new_width, $img->getWidth()); - $new_height = min($new_height, $img->getHeight()); - } - elseif ($scale == 'up') - { - $new_width = max($new_width, $img->getWidth()); - $new_height = max($new_height, $img->getHeight()); - } - - $new = WideImage::createTrueColorImage($new_width, $new_height); - if ($img->isTrueColor()) - { - if ($color === null) - $color = $new->allocateColorAlpha(0, 0, 0, 127); - } - else - { - imagepalettecopy($new->getHandle(), $img->getHandle()); - - if ($img->isTransparent()) - { - $new->copyTransparencyFrom($img); - $tc_rgb = $img->getTransparentColorRGB(); - $t_color = $new->allocateColorAlpha($tc_rgb); - } - - if ($color === null) - { - if ($img->isTransparent()) - $color = $t_color; - else - $color = $new->allocateColorAlpha(255, 0, 127, 127); - - imagecolortransparent($new->getHandle(), $color); - } - } - $new->fill(0, 0, $color); - - - $x = WideImage_Coordinate::fix($left, $new->getWidth(), $img->getWidth()); - $y = WideImage_Coordinate::fix($top, $new->getHeight(), $img->getHeight()); - - // blending for truecolor images - if ($img->isTrueColor()) - $new->alphaBlending($merge); - - // not-blending for palette images - if (!$merge && !$img->isTrueColor() && isset($t_color)) - $new->getCanvas()->filledRectangle($x, $y, $x + $img->getWidth(), $y + $img->getHeight(), $t_color); - - $img->copyTo($new, $x, $y); - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Rotate.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Rotate.php deleted file mode 100644 index 690b04f52..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Rotate.php +++ /dev/null @@ -1,64 +0,0 @@ -copy(); - - $image = $image->asTrueColor(); - - if ($bgColor === null) - { - $bgColor = $image->getTransparentColor(); - if ($bgColor == -1) - { - $bgColor = $image->allocateColorAlpha(255, 255, 255, 127); - imagecolortransparent($image->getHandle(), $bgColor); - } - } - return new WideImage_TrueColorImage(imagerotate($image->getHandle(), $angle, $bgColor, $ignoreTransparent)); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/RoundCorners.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/RoundCorners.php deleted file mode 100644 index 22eb84991..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/RoundCorners.php +++ /dev/null @@ -1,114 +0,0 @@ - 16) - $sample_ratio = 16; - else - $sample_ratio = $smoothness; - - $corner = WideImage::createTrueColorImage($radius * $sample_ratio, $radius * $sample_ratio); - if ($color === null) - { - imagepalettecopy($corner->getHandle(), $image->getHandle()); - $bg_color = $corner->allocateColor(0, 0, 0); - - $corner->fill(0, 0, $bg_color); - $fg_color = $corner->allocateColor(255, 255, 255); - $corner->getCanvas()->filledEllipse($radius * $sample_ratio, $radius * $sample_ratio, $radius * 2 * $sample_ratio, $radius * 2 * $sample_ratio, $fg_color); - $corner = $corner->resize($radius, $radius); - - $result = $image->asTrueColor(); - - $tc = $result->getTransparentColor(); - if ($tc == -1) - { - $tc = $result->allocateColorAlpha(255, 255, 255, 127); - imagecolortransparent($result->getHandle(), $tc); - $result->setTransparentColor($tc); - } - - if ($corners & WideImage::SIDE_TOP_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_TOP) - $result = $result->applyMask($corner, -1, -1); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_TOP_RIGHT || $corners & WideImage::SIDE_TOP || $corners & WideImage::SIDE_RIGHT) - $result = $result->applyMask($corner, $result->getWidth() - $corner->getWidth() + 1, -1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_RIGHT || $corners & WideImage::SIDE_RIGHT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->applyMask($corner, $result->getWidth() - $corner->getWidth() + 1, $result->getHeight() - $corner->getHeight() + 1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->applyMask($corner, -1, $result->getHeight() - $corner->getHeight() + 1, 100); - - return $result; - } - else - { - $bg_color = $color; - - $corner->fill(0, 0, $bg_color); - $fg_color = $corner->allocateColorAlpha(127, 127, 127, 127); - $corner->getCanvas()->filledEllipse($radius * $sample_ratio, $radius * $sample_ratio, $radius * 2 * $sample_ratio, $radius * 2 * $sample_ratio, $fg_color); - $corner = $corner->resize($radius, $radius); - - $result = $image->copy(); - if ($corners & WideImage::SIDE_TOP_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_TOP) - $result = $result->merge($corner, -1, -1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_TOP_RIGHT || $corners & WideImage::SIDE_TOP || $corners & WideImage::SIDE_RIGHT) - $result = $result->merge($corner, $result->getWidth() - $corner->getWidth() + 1, -1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_RIGHT || $corners & WideImage::SIDE_RIGHT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->merge($corner, $result->getWidth() - $corner->getWidth() + 1, $result->getHeight() - $corner->getHeight() + 1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->merge($corner, -1, $result->getHeight() - $corner->getHeight() + 1, 100); - - return $result; - } - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Unsharp.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Unsharp.php deleted file mode 100644 index 4c5087e39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/Unsharp.php +++ /dev/null @@ -1,135 +0,0 @@ - 500) $amount = 500; - $amount = $amount * 0.016; - if ($radius > 50) $radius = 50; - $radius = $radius * 2; - if ($threshold > 255) $threshold = 255; - - $radius = abs(round($radius)); // Only integers make sense. - if ($radius == 0) { - return $image; - } - - // Gaussian blur matrix - - $matrix = array( - array(1, 2, 1), - array(2, 4, 2), - array(1, 2, 1) - ); - - $blurred = $image->applyConvolution($matrix, 16, 0); - - if($threshold > 0) { - // Calculate the difference between the blurred pixels and the original - // and set the pixels - for ($x = 0; $x < $image->getWidth(); $x++) { - for ($y = 0; $y < $image->getHeight(); $y++) { - $rgbOrig = $image->getRGBAt($x, $y); - $rOrig = $rgbOrig["red"]; - $gOrig = $rgbOrig["green"]; - $bOrig = $rgbOrig["blue"]; - - $rgbBlur = $blurred->getRGBAt($x, $y); - $rBlur = $rgbBlur["red"]; - $gBlur = $rgbBlur["green"]; - $bBlur = $rgbBlur["blue"]; - - // When the masked pixels differ less from the original - // than the threshold specifies, they are set to their original value. - $rNew = (abs($rOrig - $rBlur) >= $threshold) - ? max(0, min(255, ($amount * ($rOrig - $rBlur)) + $rOrig)) - : $rOrig; - $gNew = (abs($gOrig - $gBlur) >= $threshold) - ? max(0, min(255, ($amount * ($gOrig - $gBlur)) + $gOrig)) - : $gOrig; - $bNew = (abs($bOrig - $bBlur) >= $threshold) - ? max(0, min(255, ($amount * ($bOrig - $bBlur)) + $bOrig)) - : $bOrig; - $rgbNew = array("red" => $rNew, "green" => $gNew, "blue" => $bNew, "alpha" => 0); - - if (($rOrig != $rNew) || ($gOrig != $gNew) || ($bOrig != $bNew)) { - $image->setRGBAt($x, $y, $rgbNew); - } - } - } - } - else { - $w = $image->getWidth(); - $h = $image->getHeight(); - for ($x = 0; $x < $w; $x++) { - for ($y = 0; $y < $h; $y++) { - $rgbOrig = $image->getRGBAt($x, $y); - $rOrig = $rgbOrig["red"]; - $gOrig = $rgbOrig["green"]; - $bOrig = $rgbOrig["blue"]; - - $rgbBlur = $blurred->getRGBAt($x, $y); - $rBlur = $rgbBlur["red"]; - $gBlur = $rgbBlur["green"]; - $bBlur = $rgbBlur["blue"]; - - $rNew = ($amount * ($rOrig - $rBlur)) + $rOrig; - if($rNew>255){$rNew=255;} - elseif($rNew<0){$rNew=0;} - $gNew = ($amount * ($gOrig - $gBlur)) + $gOrig; - if($gNew>255){$gNew=255;} - elseif($gNew<0){$gNew=0;} - $bNew = ($amount * ($bOrig - $bBlur)) + $bOrig; - if($bNew>255){$bNew=255;} - elseif($bNew<0){$bNew=0;} - $rgbNew = array("red" => $rNew, "green" => $gNew, "blue" => $bNew, "alpha" => 0); - - $image->setRGBAt($x, $y, $rgbNew); - } - } - } - - return $image; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/Operation/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/OperationFactory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/OperationFactory.php deleted file mode 100644 index 3a5f36c49..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/OperationFactory.php +++ /dev/null @@ -1,57 +0,0 @@ -copy(); - } - - /** - * Returns a copy of the image - * - * @param $trueColor True if the new image should be truecolor - * @return WideImage_Image - */ - protected function copyAsNew($trueColor = false) - { - $width = $this->getWidth(); - $height = $this->getHeight(); - - if ($trueColor) - $new = WideImage_TrueColorImage::create($width, $height); - else - $new = WideImage_PaletteImage::create($width, $height); - - // copy transparency of source to target - if ($this->isTransparent()) - { - $rgb = $this->getTransparentColorRGB(); - if (is_array($rgb)) - { - $tci = $new->allocateColor($rgb['red'], $rgb['green'], $rgb['blue']); - $new->fill(0, 0, $tci); - $new->setTransparentColor($tci); - } - } - - imageCopy($new->getHandle(), $this->handle, 0, 0, 0, 0, $width, $height); - return $new; - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#asTrueColor() - */ - function asTrueColor() - { - $width = $this->getWidth(); - $height = $this->getHeight(); - $new = WideImage::createTrueColorImage($width, $height); - if ($this->isTransparent()) - $new->copyTransparencyFrom($this); - if (!imageCopy($new->getHandle(), $this->handle, 0, 0, 0, 0, $width, $height)) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - return $new; - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#getChannels() - */ - function getChannels() - { - $args = func_get_args(); - if (count($args) == 1 && is_array($args[0])) - $args = $args[0]; - return WideImage_OperationFactory::get('CopyChannelsPalette')->execute($this, $args); - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#copyNoAlpha() - */ - function copyNoAlpha() - { - return WideImage_Image::loadFromString($this->asString('png')); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/TrueColorImage.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/TrueColorImage.php deleted file mode 100644 index a4addcdfa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/TrueColorImage.php +++ /dev/null @@ -1,218 +0,0 @@ -alphaBlending(false); - $this->saveAlpha(true); - } - - /** - * Factory method that creates a true-color image object - * - * @param int $width - * @param int $height - * @return WideImage_TrueColorImage - */ - static function create($width, $height) - { - if ($width * $height <= 0 || $width < 0) - throw new WideImage_InvalidImageDimensionException("Can't create an image with dimensions [$width, $height]."); - - return new WideImage_TrueColorImage(imagecreatetruecolor($width, $height)); - } - - function doCreate($width, $height) - { - return self::create($width, $height); - } - - function isTrueColor() - { - return true; - } - - /** - * Sets alpha blending mode via imagealphablending() - * - * @param bool $mode - * @return bool - */ - function alphaBlending($mode) - { - return imagealphablending($this->handle, $mode); - } - - /** - * Toggle if alpha channel should be saved with the image via imagesavealpha() - * - * @param bool $on - * @return bool - */ - function saveAlpha($on) - { - return imagesavealpha($this->handle, $on); - } - - /** - * Allocates a color and returns its index - * - * This method accepts either each component as an integer value, - * or an associative array that holds the color's components in keys - * 'red', 'green', 'blue', 'alpha'. - * - * @param mixed $R - * @param int $G - * @param int $B - * @param int $A - * @return int - */ - function allocateColorAlpha($R, $G = null, $B = null, $A = null) - { - if (is_array($R)) - return imageColorAllocateAlpha($this->handle, $R['red'], $R['green'], $R['blue'], $R['alpha']); - else - return imageColorAllocateAlpha($this->handle, $R, $G, $B, $A); - } - - /** - * @see WideImage_Image#asPalette($nColors, $dither, $matchPalette) - */ - function asPalette($nColors = 255, $dither = null, $matchPalette = true) - { - $nColors = intval($nColors); - if ($nColors < 1) - $nColors = 1; - elseif ($nColors > 255) - $nColors = 255; - - if ($dither === null) - $dither = $this->isTransparent(); - - $temp = $this->copy(); - imagetruecolortopalette($temp->handle, $dither, $nColors); - if ($matchPalette == true && function_exists('imagecolormatch')) - imagecolormatch($this->handle, $temp->handle); - - // The code below isn't working properly; it corrupts transparency on some palette->tc->palette conversions. - // Why is this code here? - /* - if ($this->isTransparent()) - { - $trgb = $this->getTransparentColorRGB(); - $tci = $temp->getClosestColor($trgb); - $temp->setTransparentColor($tci); - } - /**/ - - $temp->releaseHandle(); - return new WideImage_PaletteImage($temp->handle); - } - - /** - * Returns the index of the color that best match the given color components - * - * This method accepts either each component as an integer value, - * or an associative array that holds the color's components in keys - * 'red', 'green', 'blue', 'alpha'. - * - * @param mixed $R Red component value or an associative array - * @param int $G Green component - * @param int $B Blue component - * @param int $A Alpha component - * @return int The color index - */ - function getClosestColorAlpha($R, $G = null, $B = null, $A = null) - { - if (is_array($R)) - return imagecolorclosestalpha($this->handle, $R['red'], $R['green'], $R['blue'], $R['alpha']); - else - return imagecolorclosestalpha($this->handle, $R, $G, $B, $A); - } - - /** - * Returns the index of the color that exactly match the given color components - * - * This method accepts either each component as an integer value, - * or an associative array that holds the color's components in keys - * 'red', 'green', 'blue', 'alpha'. - * - * @param mixed $R Red component value or an associative array - * @param int $G Green component - * @param int $B Blue component - * @param int $A Alpha component - * @return int The color index - */ - function getExactColorAlpha($R, $G = null, $B = null, $A = null) - { - if (is_array($R)) - return imagecolorexactalpha($this->handle, $R['red'], $R['green'], $R['blue'], $R['alpha']); - else - return imagecolorexactalpha($this->handle, $R, $G, $B, $A); - } - - /** - * @see WideImage_Image#getChannels() - */ - function getChannels() - { - $args = func_get_args(); - if (count($args) == 1 && is_array($args[0])) - $args = $args[0]; - return WideImage_OperationFactory::get('CopyChannelsTrueColor')->execute($this, $args); - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#copyNoAlpha() - */ - function copyNoAlpha() - { - $prev = $this->saveAlpha(false); - $result = WideImage_Image::loadFromString($this->asString('png')); - $this->saveAlpha($prev); - //$result->releaseHandle(); - return $result; - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#asTrueColor() - */ - function asTrueColor() - { - return $this->copy(); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/WideImage.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/WideImage.php deleted file mode 100644 index fd5419f5d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/WideImage.php +++ /dev/null @@ -1,377 +0,0 @@ - - * WideImage::registerCustomMapper('WideImage_Mapper_TGA', 'image/tga', 'tga'); - * - * - * @param string $mapper_class_name - * @param string $mime_type - * @param string $extension - */ - static function registerCustomMapper($mapper_class_name, $mime_type, $extension) - { - WideImage_MapperFactory::registerMapper($mapper_class_name, $mime_type, strtoupper($extension)); - } - - /** - * Loads an image from a file, URL, HTML input file field, binary string, or a valid image handle. - * The image format is auto-detected. - * - * Currently supported formats: PNG, GIF, JPG, BMP, TGA, GD, GD2. - * - * This function analyzes the input and decides whether to use WideImage::loadFromHandle(), - * WideImage::loadFromFile(), WideImage::loadFromUpload() or WideImage::loadFromString(), - * all of which you can also call directly to spare WideImage some guessing. - * - * Arrays are supported for upload fields; it returns an array of loaded images. - * To load only a single image from an array field, use WideImage::loadFromUpload('img', $i), - * where $i is the index of the image you want to load. - * - * - * $img = WideImage::load('http://url/image.png'); // image URL - * $img = WideImage::load('/path/to/image.png'); // local file path - * $img = WideImage::load('img'); // upload field name - * $img = WideImage::load(imagecreatetruecolor(10, 10)); // a GD resource - * $img = WideImage::load($image_data); // binary string containing image data - * - * - * @param mixed $source File name, url, HTML file input field name, binary string, or a GD image resource - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function load($source) - { - $predictedSourceType = ''; - - if ($source == '') - $predictedSourceType = 'String'; - - // Creating image via a valid resource - if (!$predictedSourceType && self::isValidImageHandle($source)) - $predictedSourceType = 'Handle'; - - // Check for binary string - if (!$predictedSourceType) - { - // search first $binLength bytes (at a maximum) for ord<32 characters (binary image data) - $binLength = 64; - $sourceLength = strlen($source); - $maxlen = ($sourceLength > $binLength) ? $binLength : $sourceLength; - for ($i = 0; $i < $maxlen; $i++) - if (ord($source[$i]) < 32) - { - $predictedSourceType = 'String'; - break; - } - } - - // Uploaded image (array uploads not supported) - if (isset($_FILES[$source]) && isset($_FILES[$source]['tmp_name'])) - $predictedSourceType = 'Upload'; - - // Otherwise, must be a file or an URL - if (!$predictedSourceType) - $predictedSourceType = 'File'; - - return call_user_func(array('WideImage', 'loadFrom' . $predictedSourceType), $source); - } - - /** - * Create and load an image from a file or URL. The image format is auto-detected. - * - * @param string $uri File or url - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function loadFromFile($uri) - { - $data = file_get_contents($uri); - $handle = @imagecreatefromstring($data); - if (!self::isValidImageHandle($handle)) - { - try - { - // try to find a mapper first - $mapper = WideImage_MapperFactory::selectMapper($uri); - if ($mapper) - $handle = $mapper->load($uri); - } - catch (WideImage_UnsupportedFormatException $e) - { - // mapper not found - } - - // try all custom mappers - if (!self::isValidImageHandle($handle)) - { - $custom_mappers = WideImage_MapperFactory::getCustomMappers(); - foreach ($custom_mappers as $mime_type => $mapper_class) - { - $mapper = WideImage_MapperFactory::selectMapper(null, $mime_type); - $handle = $mapper->loadFromString($data); - if (self::isValidImageHandle($handle)) - break; - } - } - } - - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageSourceException("File '{$uri}' appears to be an invalid image source."); - - return self::loadFromHandle($handle); - } - - /** - * Create and load an image from a string. Format is auto-detected. - * - * @param string $string Binary data, i.e. from BLOB field in the database - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function loadFromString($string) - { - if (strlen($string) < 128) - throw new WideImage_InvalidImageSourceException("String doesn't contain image data."); - - $handle = @imagecreatefromstring($string); - if (!self::isValidImageHandle($handle)) - { - $custom_mappers = WideImage_MapperFactory::getCustomMappers(); - foreach ($custom_mappers as $mime_type => $mapper_class) - { - $mapper = WideImage_MapperFactory::selectMapper(null, $mime_type); - $handle = $mapper->loadFromString($string); - if (self::isValidImageHandle($handle)) - break; - } - } - - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageSourceException("String doesn't contain valid image data."); - - return self::loadFromHandle($handle); - } - - /** - * Create and load an image from an image handle. - * - * Note: the resulting image object takes ownership of the passed - * handle. When the newly-created image object is destroyed, the handle is - * destroyed too, so it's not a valid image handle anymore. In order to - * preserve the handle for use after object destruction, you have to call - * WideImage_Image::releaseHandle() on the created image instance prior to its - * destruction. - * - * - * $handle = imagecreatefrompng('file.png'); - * $image = WideImage::loadFromHandle($handle); - * - * - * @param resource $handle A valid GD image resource - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function loadFromHandle($handle) - { - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageSourceException("Handle is not a valid GD image resource."); - - if (imageistruecolor($handle)) - return new WideImage_TrueColorImage($handle); - else - return new WideImage_PaletteImage($handle); - } - - /** - * This method loads a file from the $_FILES array. The image format is auto-detected. - * - * You only have to pass the field name as the parameter. For array fields, this function will - * return an array of image objects, unless you specify the $index parameter, which will - * load the desired image. - * - * @param $field_name Name of the key in $_FILES array - * @param int $index The index of the file to load (if the input field is an array) - * @return WideImage_Image The loaded image - */ - static function loadFromUpload($field_name, $index = null) - { - if (!array_key_exists($field_name, $_FILES)) - throw new WideImage_InvalidImageSourceException("Upload field '{$field_name}' doesn't exist."); - - if (is_array($_FILES[$field_name]['tmp_name'])) - { - if (isset($_FILES[$field_name]['tmp_name'][$index])) - $filename = $_FILES[$field_name]['tmp_name'][$index]; - else - { - $result = array(); - foreach ($_FILES[$field_name]['tmp_name'] as $idx => $tmp_name) - $result[$idx] = self::loadFromFile($tmp_name); - return $result; - } - } - else - $filename = $_FILES[$field_name]['tmp_name']; - - if (!file_exists($filename)) - throw new WideImage_InvalidImageSourceException("Uploaded file doesn't exist."); - return self::loadFromFile($filename); - } - - /** - * Factory method for creating a palette image - * - * @param int $width - * @param int $height - * @return WideImage_PaletteImage - */ - static function createPaletteImage($width, $height) - { - return WideImage_PaletteImage::create($width, $height); - } - - /** - * Factory method for creating a true-color image - * - * @param int $width - * @param int $height - * @return WideImage_TrueColorImage - */ - static function createTrueColorImage($width, $height) - { - return WideImage_TrueColorImage::create($width, $height); - } - - /** - * Check whether the given handle is a valid GD resource - * - * @param mixed $handle The variable to check - * @return bool - */ - static function isValidImageHandle($handle) - { - return (is_resource($handle) && get_resource_type($handle) == 'gd'); - } - - /** - * Throws exception if the handle isn't a valid GD resource - * - * @param mixed $handle The variable to check - */ - static function assertValidImageHandle($handle) - { - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageHandleException("{$handle} is not a valid image handle."); - } - } - - WideImage::checkGD(); - - WideImage::registerCustomMapper('WideImage_Mapper_BMP', 'image/bmp', 'bmp'); - WideImage::registerCustomMapper('WideImage_Mapper_TGA', 'image/tga', 'tga'); - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/vendor/de77/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/vendor/de77/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/vendor/de77/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/vendor/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/vendor/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/joomla_3/wideimage/vendor/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/vdm.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/vdm.txt deleted file mode 100644 index 77d1f00f8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/compiler/vdm.txt +++ /dev/null @@ -1,23 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###>###CONTRIBUTORS### - @copyright ###COPYRIGHT### - @license ###LICENSE### - - ###SHORT_DESCRIPTION### - -/-----------------------------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/componentbuilder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/componentbuilder.php deleted file mode 100644 index d1c5c667b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/componentbuilder.php +++ /dev/null @@ -1,60 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Access check. -if (!JFactory::getUser()->authorise('core.manage', 'com_componentbuilder')) -{ - return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); -}; - -// Load cms libraries -JLoader::registerPrefix('J', JPATH_PLATFORM . '/cms'); -// Load joomla libraries without overwrite -JLoader::registerPrefix('J', JPATH_PLATFORM . '/joomla',false); - -// Add CSS file for all pages -$document = JFactory::getDocument(); -$document->addStyleSheet('components/com_componentbuilder/assets/css/admin.css'); -$document->addScript('components/com_componentbuilder/assets/js/admin.js'); - -// require helper files -JLoader::register('ComponentbuilderHelper', dirname(__FILE__) . '/helpers/componentbuilder.php'); -JLoader::register('JHtmlBatch_', dirname(__FILE__) . '/helpers/html/batch_.php'); - -// import joomla controller library -jimport('joomla.application.component.controller'); - -// Get an instance of the controller prefixed by Componentbuilder -$controller = JControllerLegacy::getInstance('Componentbuilder'); - -// Perform the Request task -$controller->execute(JFactory::getApplication()->input->get('task')); - -// Redirect if set by the controller -$controller->redirect(); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/config.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/config.xml deleted file mode 100644 index 9dc360744..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/config.xml +++ /dev/null @@ -1,504 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - " - " - " - " - - - - " - " - - - - " - " - " - -
-
- - -
-
- - - - - - - - - - - - - - - - - -
-
- -
-
\ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controller.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controller.php deleted file mode 100644 index b2f1044dd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controller.php +++ /dev/null @@ -1,117 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controller library -jimport('joomla.application.component.controller'); - -/** - * General Controller of Componentbuilder component - */ -class ComponentbuilderController extends JControllerLegacy -{ - /** - * display task - * - * @return void - */ - function display($cachable = false, $urlparams = false) - { - // set default view if not set - $view = $this->input->getCmd('view', 'Componentbuilder'); - $data = $this->getViewRelation($view); - $layout = $this->input->get('layout', null, 'WORD'); - $id = $this->input->getInt('id'); - - // Check for edit form. - if(ComponentbuilderHelper::checkArray($data)) - { - if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_componentbuilder.edit.'.$data['view'], $id)) - { - // Somehow the person just went to the form - we don't allow that. - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id)); - $this->setMessage($this->getError(), 'error'); - // check if item was opend from other then its own list view - $ref = $this->input->getCmd('ref', 0); - $refid = $this->input->getInt('refid', 0); - // set redirect - if ($refid > 0 && ComponentbuilderHelper::checkString($ref)) - { - // redirect to item of ref - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false)); - } - elseif (ComponentbuilderHelper::checkString($ref)) - { - - // redirect to ref - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view='.(string)$ref, false)); - } - else - { - // normal redirect back to the list view - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view='.$data['views'], false)); - } - - return false; - } - } - - return parent::display($cachable, $urlparams); - } - - protected function getViewRelation($view) - { - if (ComponentbuilderHelper::checkString($view)) - { - $views = array( - 'component' => 'components', - 'admin_view' => 'admin_views', - 'custom_admin_view' => 'custom_admin_views', - 'site_view' => 'site_views', - 'template' => 'templates', - 'layout' => 'layouts', - 'dynamic_get' => 'dynamic_gets', - 'snippet' => 'snippets', - 'field' => 'fields', - 'fieldtype' => 'fieldtypes', - 'help_document' => 'help_documents' - ); - // check if this is a list view - if (in_array($view,$views)) - { - return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view); - } - // check if it is an edit view - elseif (array_key_exists($view,$views)) - { - return array('edit' => true, 'view' => $view, 'views' => $views[$view]); - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/admin_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/admin_view.php deleted file mode 100644 index 728f94411..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/admin_view.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Admin_view Controller - */ -class ComponentbuilderControllerAdmin_view extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Admin_views'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('admin_view.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return parent::allowAdd($data); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('admin_view.access', 'com_componentbuilder.admin_view.' . (int) $recordId) && $user->authorise('admin_view.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit', 'com_componentbuilder.admin_view.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.admin_view.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return parent::allowEdit($data, $key); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Admin_view', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=admin_views' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/admin_views.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/admin_views.php deleted file mode 100644 index 8bf65d1cf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/admin_views.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Admin_views Controller - */ -class ComponentbuilderControllerAdmin_views extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_ADMIN_VIEWS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Admin_view', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('admin_view.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Admin_views'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Admin_views_'.$date->format('jS_F_Y'),'Admin views exported ('.$date->format('jS F, Y').')','admin views'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=admin_views', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('admin_view.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Admin_views'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('admin_view_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'admin_views'); - $session->set('dataType_VDM_IMPORTINTO', 'admin_view'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_ADMIN_VIEWS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=admin_views', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/ajax.json.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/ajax.json.php deleted file mode 100644 index 60ba177b9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/ajax.json.php +++ /dev/null @@ -1,419 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * Componentbuilder Ajax Controller - */ -class ComponentbuilderControllerAjax extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // make sure all json stuff are set - JFactory::getDocument()->setMimeEncoding( 'application/json' ); - JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"'); - JResponse::setHeader("Access-Control-Allow-Origin", "*"); - // load the tasks - $this->registerTask('tableColumns', 'ajax'); - $this->registerTask('fieldSelectOptions', 'ajax'); - $this->registerTask('layoutDetails', 'ajax'); - $this->registerTask('templateDetails', 'ajax'); - $this->registerTask('snippetDetails', 'ajax'); - $this->registerTask('dynamicValues', 'ajax'); - $this->registerTask('dynamicFormDetails', 'ajax'); - $this->registerTask('dbTableColumns', 'ajax'); - $this->registerTask('viewTableColumns', 'ajax'); - $this->registerTask('fieldOptions', 'ajax'); - } - - public function ajax() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token) - { - $task = $this->getTask(); - switch($task) - { - case 'tableColumns': - try - { - $tableValue = $jinput->get('table', NULL, 'WORD'); - if($tableValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getTableColumns($tableValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'fieldSelectOptions': - try - { - $idValue = $jinput->get('id', NULL, 'INT'); - if($idValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getFieldSelectOptions($idValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'layoutDetails': - try - { - $idValue = $jinput->get('id', null, 'INT'); - if($idValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getLayoutDetails($idValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'templateDetails': - try - { - $idValue = $jinput->get('id', null, 'INT'); - if($idValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getTemplateDetails($idValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'snippetDetails': - try - { - $idValue = $jinput->get('id', NULL, 'INT'); - if($idValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getSnippetDetails($idValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'dynamicValues': - try - { - $idValue = $jinput->get('id', NULL, 'INT'); - $viewValue = $jinput->get('view', NULL, 'WORD'); - if($idValue && $viewValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getDynamicValues($idValue, $viewValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'dynamicFormDetails': - try - { - $idValue = $jinput->get('id', NULL, 'INT'); - if($idValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getDynamicFormDetails($idValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'dbTableColumns': - try - { - $nameValue = $jinput->get('name', NULL, 'WORD'); - $asValue = $jinput->get('as', NULL, 'WORD'); - $typeValue = $jinput->get('type', NULL, 'INT'); - if($nameValue && $asValue && $typeValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getDbTableColumns($nameValue, $asValue, $typeValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'viewTableColumns': - try - { - $idValue = $jinput->get('id', NULL, 'INT'); - $asValue = $jinput->get('as', NULL, 'WORD'); - $typeValue = $jinput->get('type', NULL, 'INT'); - if($idValue && $asValue && $typeValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getViewTableColumns($idValue, $asValue, $typeValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - case 'fieldOptions': - try - { - $idValue = $jinput->get('id', NULL, 'INT'); - if($idValue && $user->id != 0) - { - $result = $this->getModel('ajax')->getFieldOptions($idValue); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback'] . "(".json_encode($result).");"; - } - else - { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode($e).");"; - } - else - { - echo "(".json_encode($e).");"; - } - } - break; - } - } - else - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode(false).");"; - } - else - { - echo "(".json_encode(false).");"; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/compiler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/compiler.php deleted file mode 100644 index e02ae804a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/compiler.php +++ /dev/null @@ -1,204 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Compiler Controller - */ -class ComponentbuilderControllerCompiler extends JControllerLegacy -{ - /** - * Import an spreadsheet. - * - * @return void - */ - public function compiler() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - // check if user has the right - $user = JFactory::getUser(); - if($user->authorise('core.admin', 'com_componentbuilder')) - { - // get the post values - $jinput = JFactory::getApplication()->input; - $componentId = $jinput->post->get('component', 0, 'INT'); - $version = $jinput->post->get('version', 0, 'INT'); - $addBackup = $jinput->post->get('backup', 0, 'INT'); - $addGit = $jinput->post->get('git', 0, 'INT'); - $model = $this->getModel('compiler'); - if ($model->builder($version,$componentId,$addBackup,$addGit)) - { - $cache = JFactory::getCache('mod_menu'); - $cache->clean(); - // TODO: Reset the users acl here as well to kill off any missing bits - } - else - { - return false; - } - - $app = JFactory::getApplication(); - $redirect_url = $app->getUserState('com_componentbuilder.redirect_url'); - $message = $app->getUserState('com_componentbuilder.message'); - if (empty($redirect_url)) - { - $redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false); - // setup the unrealistic numbers - $counter = $model->getCount(); - $folders = $counter['folders'] * 5; - $files = $counter['files'] * 5; - $lines = $counter['lines'] * 10; - $seconds = $folders + $files + $lines; - $totalHours = round($seconds / 3600); - $totalDays = round($totalHours / 8); - // setup the more realistic numbers - $debugging = $seconds / 4; - $planning = $seconds / 7; - $mapping = $seconds / 10; - $office = $seconds / 6; - $seconds = $folders + $files + $lines + $debugging + $planning + $mapping + $office; - $actualTotalHours = round($seconds / 3600); - $actualTotalDays = round($actualTotalHours / 8); - $debuggingHours = round($debugging / 3600); - $planningHours = round($planning / 3600); - $mappingHours = round($mapping / 3600); - $officeHours = round($office / 3600); - // the actual time spent - $actualHoursSpent = $actualTotalHours - $totalHours; - $actualDaysSpent = $actualTotalDays - $totalDays; - // calculate the projects actual time frame of completion - $projectWeekTime = round($actualTotalDays / 5,1); - $projectMonthTime = round($actualTotalDays / 24,1); - if (($pos = strpos($counter['filePath'], "/tmp/")) !== FALSE) - { - $url = JURI::root() . substr($counter['filePath'], $pos + 1); - } - // Message of successful build - $message = '

The ('.$counter['filename'].') Was Successfully Compiled!

'; - $message .= '

'; - $message .= '

Total time saved

'; - $message .= '
    '; - $message .= '
  • Total folders created: '.$counter['folders'].'
  • '; - $message .= '
  • Total files created: '.$counter['files'].'
  • '; - $message .= '
  • Total lines written: '.$counter['lines'].'
  • '; - $message .= '
'; - $message .= '

'.$totalHours.' Hours or '.$totalDays.' Eight Hour Days (actual time you saved)
'; - $message .= '(if creating a folder and file took 5 seconds and writing one line of code took 10 seconds, never making one mistake or taking any coffee break.)
'; - $message .= ''.$actualHoursSpent.' Hours or '.$actualDaysSpent.' Eight Hour Days (the actual time you spent)
'; - $message .= '(with the following break down: debugging @'.$debuggingHours.'hours = codingtime / 4; planning @'.$planningHours.'hours = codingtime / 7; mapping @'.$mappingHours.'hours = codingtime / 10; office @'.$officeHours.'hours = codingtime / 6;)

'; - $message .= '

'.$actualTotalHours.' Hours or '.$actualTotalDays.' Eight Hour Days (a total of the realistic time frame for this project)
'; - $message .= '(if creating a folder and file took 5 seconds and writing one line of code took 10 seconds, with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)

'; - $message .= '

Project duration: '.$projectWeekTime. ' weeks or '.$projectMonthTime.' months

'; - $message .= '

Path to Zip File

'; - $message .= '

Path: '.$counter['filePath'].'
'; - $message .= 'URL: '.$url.'

'; - $message .= 'Hey! you can also download the file right now!
Download

'; - $message .= '

Remember! This file is in your tmp folder and therefore publicly accessible untill you click [Clear tmp]!

'; - // set redirect - $this->setRedirect($redirect_url,$message,'message'); - $app->setUserState('com_componentbuilder.extension_name', $counter['filename']); - } - else - { - // wipe out the user state when we're going to redirect - $app->setUserState('com_componentbuilder.redirect_url', ''); - $app->setUserState('com_componentbuilder.message', ''); - $app->setUserState('com_componentbuilder.extension_message', ''); - $app->setUserState('com_componentbuilder.extension_name', ''); - // set redirect - $this->setRedirect($redirect_url,$message); - } - return true; - } - return false; - } - - public function clearTmp() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - // check if user has the right - $user = JFactory::getUser(); - // set page redirect - $redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false); - $message = 'Could not clear the tmp folder'; - if($user->authorise('core.admin', 'com_componentbuilder')) - { - // get the model - $model = $this->getModel('compiler'); - // get tmp folder - $comConfig = JFactory::getConfig(); - $tmp = $comConfig->get('tmp_path'); - if ($model->emptyFolder($tmp)) - { - $message = 'The tmp folder has been clear successfully!'; - $this->setRedirect($redirect_url,$message,'message'); - return true; - } - } - $this->setRedirect($redirect_url,$message,'error'); - return false; - } - - public function installExtention() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - // check if user has the right - $user = JFactory::getUser(); - // set page redirect - $redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false); - $message = 'Could not install component!'; - if($user->authorise('core.admin')) - { - // get the model - $model = $this->getModel('compiler'); - $app = JFactory::getApplication(); - $fileName = $app->getUserState('com_componentbuilder.extension_name'); - if (ComponentbuilderHelper::checkString($fileName)) - { - $lang = JFactory::getLanguage(); - $extension = 'com_installer'; - $base_dir = JPATH_ADMINISTRATOR; - $language_tag = 'en-GB'; - $reload = true; - $lang->load($extension, $base_dir, $language_tag, $reload); - $message = '('.$fileName.'.zip) file was also removed from tmp!'; - $this->setRedirect($redirect_url,$message,'message'); - return $model->install($fileName.'.zip');; - } - } - $this->setRedirect($redirect_url,$message,'error'); - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/component.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/component.php deleted file mode 100644 index ca7042095..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/component.php +++ /dev/null @@ -1,313 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Component Controller - */ -class ComponentbuilderControllerComponent extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Components'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { // In the absense of better information, revert to the component permissions. - return parent::allowAdd($data); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit', 'com_componentbuilder.component.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.component.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return parent::allowEdit($data, $key); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Component', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=components' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/componentbuilder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/componentbuilder.php deleted file mode 100644 index 7f84ea7f0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/componentbuilder.php +++ /dev/null @@ -1,39 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Componentbuilder Controller - */ -class ComponentbuilderControllerComponentbuilder extends JControllerAdmin -{ - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/components.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/components.php deleted file mode 100644 index 4475b3d18..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/components.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Components Controller - */ -class ComponentbuilderControllerComponents extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_COMPONENTS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Component', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('component.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Components'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Components_'.$date->format('jS_F_Y'),'Components exported ('.$date->format('jS F, Y').')','components'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=components', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('component.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Components'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('component_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'components'); - $session->set('dataType_VDM_IMPORTINTO', 'component'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_COMPONENTS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=components', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/custom_admin_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/custom_admin_view.php deleted file mode 100644 index 67d1e9c25..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/custom_admin_view.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Custom_admin_view Controller - */ -class ComponentbuilderControllerCustom_admin_view extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Custom_admin_views'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('custom_admin_view.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return parent::allowAdd($data); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('custom_admin_view.access', 'com_componentbuilder.custom_admin_view.' . (int) $recordId) && $user->authorise('custom_admin_view.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit', 'com_componentbuilder.custom_admin_view.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.custom_admin_view.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return parent::allowEdit($data, $key); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Custom_admin_view', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_admin_views' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/custom_admin_views.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/custom_admin_views.php deleted file mode 100644 index f81d50ac9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/custom_admin_views.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Custom_admin_views Controller - */ -class ComponentbuilderControllerCustom_admin_views extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Custom_admin_view', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('custom_admin_view.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Custom_admin_views'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Custom_admin_views_'.$date->format('jS_F_Y'),'Custom admin views exported ('.$date->format('jS F, Y').')','custom admin views'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_admin_views', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('custom_admin_view.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Custom_admin_views'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('custom_admin_view_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'custom_admin_views'); - $session->set('dataType_VDM_IMPORTINTO', 'custom_admin_view'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_CUSTOM_ADMIN_VIEWS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_admin_views', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/dynamic_get.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/dynamic_get.php deleted file mode 100644 index 0a1712a0a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/dynamic_get.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Dynamic_get Controller - */ -class ComponentbuilderControllerDynamic_get extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Dynamic_gets'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('dynamic_get.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return JFactory::getUser()->authorise('dynamic_get.create', $this->option); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('dynamic_get.access', 'com_componentbuilder.dynamic_get.' . (int) $recordId) && $user->authorise('dynamic_get.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('dynamic_get.edit', 'com_componentbuilder.dynamic_get.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('dynamic_get.edit.own', 'com_componentbuilder.dynamic_get.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('dynamic_get.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return $user->authorise('dynamic_get.edit', $this->option); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Dynamic_get', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=dynamic_gets' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/dynamic_gets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/dynamic_gets.php deleted file mode 100644 index ad9b4501f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/dynamic_gets.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Dynamic_gets Controller - */ -class ComponentbuilderControllerDynamic_gets extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_DYNAMIC_GETS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Dynamic_get', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('dynamic_get.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Dynamic_gets'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Dynamic_gets_'.$date->format('jS_F_Y'),'Dynamic gets exported ('.$date->format('jS F, Y').')','dynamic gets'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=dynamic_gets', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('dynamic_get.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Dynamic_gets'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('dynamic_get_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'dynamic_gets'); - $session->set('dataType_VDM_IMPORTINTO', 'dynamic_get'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_DYNAMIC_GETS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=dynamic_gets', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/field.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/field.php deleted file mode 100644 index 06138ddf8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/field.php +++ /dev/null @@ -1,357 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Field Controller - */ -class ComponentbuilderControllerField extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Fields'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // get the user object - $user = JFactory::getUser(); - - // Access check. - $access = $user->authorise('field.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - $categoryId = JArrayHelper::getValue($data, 'catid', $this->input->getInt('filter_category_id'), 'int'); - $allow = null; - - if ($categoryId) - { - // If the category has been passed in the URL check it. - $allow = $user->authorise('core.create', $this->option . '.fields.category.' . $categoryId); - } - - if ($allow === null) - { - // In the absense of better information, revert to the component permissions. - return $user->authorise('field.create', $this->option); - } - else - { - return $allow; - } - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('field.access', 'com_componentbuilder.field.' . (int) $recordId) && $user->authorise('field.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('field.edit', 'com_componentbuilder.field.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('field.edit.own', 'com_componentbuilder.field.' . $recordId)) - { - // Fallback on edit.own. Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then do the test. - if ($ownerId == $user->id) - { - if ($user->authorise('field.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - - $categoryId = (int) isset($data['catid']) ? $data['catid']: $this->getModel()->getItem($recordId)->catid; - - if ($categoryId) - { - // The category has been set. Check the category permissions. - $catpermission = $user->authorise('core.edit', $this->option . '.fields.category.' . $categoryId); - if (!$catpermission && !is_null($catpermission)) - { - return false; - } - } - } - // Since there is no permission, revert to the component permissions. - return $user->authorise('field.edit', $this->option); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Field', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fields' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fields.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fields.php deleted file mode 100644 index 2e455f37e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fields.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Fields Controller - */ -class ComponentbuilderControllerFields extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_FIELDS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Field', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('field.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Fields'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Fields_'.$date->format('jS_F_Y'),'Fields exported ('.$date->format('jS F, Y').')','fields'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fields', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('field.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Fields'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('field_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'fields'); - $session->set('dataType_VDM_IMPORTINTO', 'field'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fields', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fieldtype.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fieldtype.php deleted file mode 100644 index e7be36e7c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fieldtype.php +++ /dev/null @@ -1,357 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Fieldtype Controller - */ -class ComponentbuilderControllerFieldtype extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Fieldtypes'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // get the user object - $user = JFactory::getUser(); - - // Access check. - $access = $user->authorise('fieldtype.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - $categoryId = JArrayHelper::getValue($data, 'catid', $this->input->getInt('filter_category_id'), 'int'); - $allow = null; - - if ($categoryId) - { - // If the category has been passed in the URL check it. - $allow = $user->authorise('core.create', $this->option . '.fieldtypes.category.' . $categoryId); - } - - if ($allow === null) - { - // In the absense of better information, revert to the component permissions. - return $user->authorise('fieldtype.create', $this->option); - } - else - { - return $allow; - } - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('fieldtype.access', 'com_componentbuilder.fieldtype.' . (int) $recordId) && $user->authorise('fieldtype.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('fieldtype.edit', 'com_componentbuilder.fieldtype.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('fieldtype.edit.own', 'com_componentbuilder.fieldtype.' . $recordId)) - { - // Fallback on edit.own. Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then do the test. - if ($ownerId == $user->id) - { - if ($user->authorise('fieldtype.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - - $categoryId = (int) isset($data['catid']) ? $data['catid']: $this->getModel()->getItem($recordId)->catid; - - if ($categoryId) - { - // The category has been set. Check the category permissions. - $catpermission = $user->authorise('core.edit', $this->option . '.fieldtypes.category.' . $categoryId); - if (!$catpermission && !is_null($catpermission)) - { - return false; - } - } - } - // Since there is no permission, revert to the component permissions. - return $user->authorise('fieldtype.edit', $this->option); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Fieldtype', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fieldtypes' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fieldtypes.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fieldtypes.php deleted file mode 100644 index 877ff562e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/fieldtypes.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Fieldtypes Controller - */ -class ComponentbuilderControllerFieldtypes extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_FIELDTYPES'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Fieldtype', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('fieldtype.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Fieldtypes'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Fieldtypes_'.$date->format('jS_F_Y'),'Fieldtypes exported ('.$date->format('jS F, Y').')','fieldtypes'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fieldtypes', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('fieldtype.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Fieldtypes'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('fieldtype_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'fieldtypes'); - $session->set('dataType_VDM_IMPORTINTO', 'fieldtype'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDTYPES'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=fieldtypes', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help.php deleted file mode 100644 index 72209975e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help.php +++ /dev/null @@ -1,130 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * Componentbuilder Help Controller - */ -class ComponentbuilderControllerHelp extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('getText', 'help'); - } - - public function help() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($user->id != 0 && $token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'getText': - try - { - $idValue = $jinput->get('id', 0, 'INT'); - if($idValue) - { - $result = $this->getHelpDocumentText($idValue); - } - else - { - $result = ''; - } - echo $result; - // stop execution gracefully - jexit(); - } - catch(Exception $e) - { - // stop execution gracefully - jexit(); - } - break; - } - } - else - { - // stop execution gracefully - jexit(); - } - } - - protected function getHelpDocumentText($id) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.title','a.content')); - $query->from('#__componentbuilder_help_document AS a'); - $query->where('a.id = '.(int) $id); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $text = array(); - $document = $db->loadObject(); - // fix image issue - $images['src="images'] = 'src="'.JURI::root().'images'; - $images["src='images"] = "src='".JURI::root()."images"; - $images['src="/images'] = 'src="'.JURI::root().'images'; - $images["src='/images"] = "src='".JURI::root()."images"; - // set document template - $text[] = ""; - $text[] = ''; - $text[] = ""; - $text[] = ''; - $text[] = "".$document->title.""; - $text[] = ''; - $text[] = ''; - $text[] = ""; - $text[] = '
'; - $text[] = '
'; - $text[] = '
'; - // build the help text - $text[] = '

'.$document->title."

"; - $text[] = str_replace(array_keys($images),array_values($images),$document->content); - // end template - $text[] = '
'; - $text[] = '
'; - $text[] = ""; - $text[] = ""; - - return implode("\n",$text); - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help_document.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help_document.php deleted file mode 100644 index 23df8d609..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help_document.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Help_document Controller - */ -class ComponentbuilderControllerHelp_document extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Help_documents'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('help_document.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return JFactory::getUser()->authorise('help_document.create', $this->option); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('help_document.access', 'com_componentbuilder.help_document.' . (int) $recordId) && $user->authorise('help_document.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('help_document.edit', 'com_componentbuilder.help_document.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('help_document.edit.own', 'com_componentbuilder.help_document.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('help_document.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return $user->authorise('help_document.edit', $this->option); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Help_document', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=help_documents' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help_documents.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help_documents.php deleted file mode 100644 index 53fd9a61a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/help_documents.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Help_documents Controller - */ -class ComponentbuilderControllerHelp_documents extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_HELP_DOCUMENTS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Help_document', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('help_document.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Help_documents'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Help_documents_'.$date->format('jS_F_Y'),'Help documents exported ('.$date->format('jS F, Y').')','help documents'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=help_documents', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('help_document.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Help_documents'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('help_document_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'help_documents'); - $session->set('dataType_VDM_IMPORTINTO', 'help_document'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_HELP_DOCUMENTS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=help_documents', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/import.php deleted file mode 100644 index ad3293e5e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/import.php +++ /dev/null @@ -1,68 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Componentbuilder Import Controller - */ -class ComponentbuilderControllerImport extends JControllerLegacy -{ - /** - * Import an spreadsheet. - * - * @return void - */ - public function import() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - $model = $this->getModel('import'); - if ($model->import()) - { - $cache = JFactory::getCache('mod_menu'); - $cache->clean(); - // TODO: Reset the users acl here as well to kill off any missing bits - } - - $app = JFactory::getApplication(); - $redirect_url = $app->getUserState('com_componentbuilder.redirect_url'); - if (empty($redirect_url)) - { - $redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=import', false); - } - else - { - // wipe out the user state when we're going to redirect - $app->setUserState('com_componentbuilder.redirect_url', ''); - $app->setUserState('com_componentbuilder.message', ''); - $app->setUserState('com_componentbuilder.extension_message', ''); - } - $this->setRedirect($redirect_url); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/layout.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/layout.php deleted file mode 100644 index 4f2a1a8b0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/layout.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Layout Controller - */ -class ComponentbuilderControllerLayout extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Layouts'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('layout.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return parent::allowAdd($data); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('layout.access', 'com_componentbuilder.layout.' . (int) $recordId) && $user->authorise('layout.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit', 'com_componentbuilder.layout.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.layout.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return parent::allowEdit($data, $key); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Layout', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=layouts' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/layouts.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/layouts.php deleted file mode 100644 index d5bf9dc83..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/layouts.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Layouts Controller - */ -class ComponentbuilderControllerLayouts extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_LAYOUTS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Layout', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('layout.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Layouts'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Layouts_'.$date->format('jS_F_Y'),'Layouts exported ('.$date->format('jS F, Y').')','layouts'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=layouts', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('layout.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Layouts'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('layout_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'layouts'); - $session->set('dataType_VDM_IMPORTINTO', 'layout'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LAYOUTS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=layouts', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/site_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/site_view.php deleted file mode 100644 index 3f931ec89..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/site_view.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Site_view Controller - */ -class ComponentbuilderControllerSite_view extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Site_views'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('site_view.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return parent::allowAdd($data); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('site_view.access', 'com_componentbuilder.site_view.' . (int) $recordId) && $user->authorise('site_view.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit', 'com_componentbuilder.site_view.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.site_view.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return parent::allowEdit($data, $key); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Site_view', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=site_views' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/site_views.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/site_views.php deleted file mode 100644 index 315492458..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/site_views.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Site_views Controller - */ -class ComponentbuilderControllerSite_views extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_SITE_VIEWS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Site_view', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('site_view.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Site_views'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Site_views_'.$date->format('jS_F_Y'),'Site views exported ('.$date->format('jS F, Y').')','site views'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=site_views', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('site_view.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Site_views'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('site_view_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'site_views'); - $session->set('dataType_VDM_IMPORTINTO', 'site_view'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_SITE_VIEWS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=site_views', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/snippet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/snippet.php deleted file mode 100644 index 7ecd1465d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/snippet.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Snippet Controller - */ -class ComponentbuilderControllerSnippet extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Snippets'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('snippet.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return parent::allowAdd($data); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('snippet.access', 'com_componentbuilder.snippet.' . (int) $recordId) && $user->authorise('snippet.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit', 'com_componentbuilder.snippet.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.snippet.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return parent::allowEdit($data, $key); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Snippet', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=snippets' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/snippets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/snippets.php deleted file mode 100644 index 9a6ff3dc8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/snippets.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Snippets Controller - */ -class ComponentbuilderControllerSnippets extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_SNIPPETS'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Snippet', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('snippet.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Snippets'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Snippets_'.$date->format('jS_F_Y'),'Snippets exported ('.$date->format('jS F, Y').')','snippets'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=snippets', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('snippet.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Snippets'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('snippet_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'snippets'); - $session->set('dataType_VDM_IMPORTINTO', 'snippet'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_SNIPPETS'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=snippets', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/template.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/template.php deleted file mode 100644 index 24b52e9a2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/template.php +++ /dev/null @@ -1,327 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * Template Controller - */ -class ComponentbuilderControllerTemplate extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = 'Templates'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // Access check. - $access = JFactory::getUser()->authorise('template.access', 'com_componentbuilder'); - if (!$access) - { - return false; - } - // In the absense of better information, revert to the component permissions. - return parent::allowAdd($data); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // get user object. - $user = JFactory::getUser(); - // get record id. - $recordId = (int) isset($data[$key]) ? $data[$key] : 0; - - - // Access check. - $access = ($user->authorise('template.access', 'com_componentbuilder.template.' . (int) $recordId) && $user->authorise('template.access', 'com_componentbuilder')); - if (!$access) - { - return false; - } - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit', 'com_componentbuilder.template.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.template.' . $recordId)) - { - // Now test the owner is the user. - $ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0; - if (empty($ownerId)) - { - // Need to do a lookup from the model. - $record = $this->getModel()->getItem($recordId); - - if (empty($record)) - { - return false; - } - $ownerId = $record->created_by; - } - - // If the owner matches 'me' then allow. - if ($ownerId == $user->id) - { - if ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - return true; - } - } - } - return false; - } - } - // Since there is no permission, revert to the component permissions. - return parent::allowEdit($data, $key); - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('Template', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=templates' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - return; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/templates.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/templates.php deleted file mode 100644 index 364b31847..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/controllers/templates.php +++ /dev/null @@ -1,112 +0,0 @@ - - @my wife Roline van der Merwe - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Templates Controller - */ -class ComponentbuilderControllerTemplates extends JControllerAdmin -{ - protected $text_prefix = 'COM_COMPONENTBUILDER_TEMPLATES'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = 'Template', $prefix = 'ComponentbuilderModel', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function exportData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if export is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('template.export', 'com_componentbuilder') && $user->authorise('core.export', 'com_componentbuilder')) - { - // Get the input - $input = JFactory::getApplication()->input; - $pks = $input->post->get('cid', array(), 'array'); - // Sanitize the input - JArrayHelper::toInteger($pks); - // Get the model - $model = $this->getModel('Templates'); - // get the data to export - $data = $model->getExportData($pks); - if (ComponentbuilderHelper::checkArray($data)) - { - // now set the data to the spreadsheet - $date = JFactory::getDate(); - ComponentbuilderHelper::xls($data,'Templates_'.$date->format('jS_F_Y'),'Templates exported ('.$date->format('jS F, Y').')','templates'); - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_EXPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=templates', false), $message, 'error'); - return; - } - - - public function importData() - { - // Check for request forgeries - JSession::checkToken() or die(JText::_('JINVALID_TOKEN')); - // check if import is allowed for this user. - $user = JFactory::getUser(); - if ($user->authorise('template.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // Get the import model - $model = $this->getModel('Templates'); - // get the headers to import - $headers = $model->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - // Load headers to session. - $session = JFactory::getSession(); - $headers = json_encode($headers); - $session->set('template_VDM_IMPORTHEADERS', $headers); - $session->set('backto_VDM_IMPORT', 'templates'); - $session->set('dataType_VDM_IMPORTINTO', 'template'); - // Redirect to import view. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_TEMPLATES'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=import', false), $message); - return; - } - } - // Redirect to the list screen with error. - $message = JText::_('COM_COMPONENTBUILDER_IMPORT_FAILED'); - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=templates', false), $message, 'error'); - return; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel.php deleted file mode 100644 index 27aa77ae7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel.php +++ /dev/null @@ -1,1139 +0,0 @@ -_hasMacros; - } - - /** - * Define if a workbook has macros - * - * @param true|false - */ - public function setHasMacros($hasMacros=false){ - $this->_hasMacros=(bool)$hasMacros; - } - - /** - * Set the macros code - * - * @param binary string|null - */ - public function setMacrosCode($MacrosCode){ - $this->_macrosCode=$MacrosCode; - $this->setHasMacros(!is_null($MacrosCode)); - } - - /** - * Return the macros code - * - * @return binary|null - */ - public function getMacrosCode(){ - return $this->_macrosCode; - } - - /** - * Set the macros certificate - * - * @param binary|null - */ - public function setMacrosCertificate($Certificate=NULL){ - $this->_macrosCertificate=$Certificate; - } - - /** - * Is the project signed ? - * - * @return true|false - */ - public function hasMacrosCertificate(){ - return !is_null($this->_macrosCertificate); - } - - /** - * Return the macros certificate - * - * @return binary|null - */ - public function getMacrosCertificate(){ - return $this->_macrosCertificate; - } - - /** - * Remove all macros, certificate from spreadsheet - * - * @param none - * @return void - */ - public function discardMacros(){ - $this->_hasMacros=false; - $this->_macrosCode=NULL; - $this->_macrosCertificate=NULL; - } - - /** - * set ribbon XML data - * - */ - public function setRibbonXMLData($Target=NULL, $XMLData=NULL){ - if(!is_null($Target) && !is_null($XMLData)){ - $this->_ribbonXMLData=array('target'=>$Target, 'data'=>$XMLData); - }else{ - $this->_ribbonXMLData=NULL; - } - } - - /** - * retrieve ribbon XML Data - * - * return string|null|array - */ - public function getRibbonXMLData($What='all'){//we need some constants here... - $ReturnData=NULL; - $What=strtolower($What); - switch($What){ - case 'all': - $ReturnData=$this->_ribbonXMLData; - break; - case 'target': - case 'data': - if(is_array($this->_ribbonXMLData) && array_key_exists($What,$this->_ribbonXMLData)){ - $ReturnData=$this->_ribbonXMLData[$What]; - }//else $ReturnData stay at null - break; - }//default: $ReturnData at null - return $ReturnData; - } - - /** - * store binaries ribbon objects (pictures) - * - */ - public function setRibbonBinObjects($BinObjectsNames=NULL, $BinObjectsData=NULL){ - if(!is_null($BinObjectsNames) && !is_null($BinObjectsData)){ - $this->_ribbonBinObjects=array('names'=>$BinObjectsNames, 'data'=>$BinObjectsData); - }else{ - $this->_ribbonBinObjects=NULL; - } - } - /** - * return the extension of a filename. Internal use for a array_map callback (php<5.3 don't like lambda function) - * - */ - private function _getExtensionOnly($ThePath){ - return pathinfo($ThePath, PATHINFO_EXTENSION); - } - - /** - * retrieve Binaries Ribbon Objects - * - */ - public function getRibbonBinObjects($What='all'){ - $ReturnData=NULL; - $What=strtolower($What); - switch($What){ - case 'all': - return $this->_ribbonBinObjects; - break; - case 'names': - case 'data': - if(is_array($this->_ribbonBinObjects) && array_key_exists($What, $this->_ribbonBinObjects)){ - $ReturnData=$this->_ribbonBinObjects[$What]; - } - break; - case 'types': - if(is_array($this->_ribbonBinObjects) && array_key_exists('data', $this->_ribbonBinObjects) && is_array($this->_ribbonBinObjects['data'])){ - $tmpTypes=array_keys($this->_ribbonBinObjects['data']); - $ReturnData=array_unique(array_map(array($this,'_getExtensionOnly'), $tmpTypes)); - }else - $ReturnData=array();//the caller want an array... not null if empty - break; - } - return $ReturnData; - } - - /** - * This workbook have a custom UI ? - * - * @return true|false - */ - public function hasRibbon(){ - return !is_null($this->_ribbonXMLData); - } - - /** - * This workbook have additionnal object for the ribbon ? - * - * @return true|false - */ - public function hasRibbonBinObjects(){ - return !is_null($this->_ribbonBinObjects); - } - - /** - * Check if a sheet with a specified code name already exists - * - * @param string $pSheetCodeName Name of the worksheet to check - * @return boolean - */ - public function sheetCodeNameExists($pSheetCodeName) - { - return ($this->getSheetByCodeName($pSheetCodeName) !== NULL); - } - - /** - * Get sheet by code name. Warning : sheet don't have always a code name ! - * - * @param string $pName Sheet name - * @return PHPExcel_Worksheet - */ - public function getSheetByCodeName($pName = '') - { - $worksheetCount = count($this->_workSheetCollection); - for ($i = 0; $i < $worksheetCount; ++$i) { - if ($this->_workSheetCollection[$i]->getCodeName() == $pName) { - return $this->_workSheetCollection[$i]; - } - } - - return null; - } - - /** - * Create a new PHPExcel with one Worksheet - */ - public function __construct() - { - $this->_uniqueID = uniqid(); - $this->_calculationEngine = PHPExcel_Calculation::getInstance($this); - - // Initialise worksheet collection and add one worksheet - $this->_workSheetCollection = array(); - $this->_workSheetCollection[] = new PHPExcel_Worksheet($this); - $this->_activeSheetIndex = 0; - - // Create document properties - $this->_properties = new PHPExcel_DocumentProperties(); - - // Create document security - $this->_security = new PHPExcel_DocumentSecurity(); - - // Set named ranges - $this->_namedRanges = array(); - - // Create the cellXf supervisor - $this->_cellXfSupervisor = new PHPExcel_Style(true); - $this->_cellXfSupervisor->bindParent($this); - - // Create the default style - $this->addCellXf(new PHPExcel_Style); - $this->addCellStyleXf(new PHPExcel_Style); - } - - /** - * Code to execute when this worksheet is unset() - * - */ - public function __destruct() { - PHPExcel_Calculation::unsetInstance($this); - $this->disconnectWorksheets(); - } // function __destruct() - - /** - * Disconnect all worksheets from this PHPExcel workbook object, - * typically so that the PHPExcel object can be unset - * - */ - public function disconnectWorksheets() - { - $worksheet = NULL; - foreach($this->_workSheetCollection as $k => &$worksheet) { - $worksheet->disconnectCells(); - $this->_workSheetCollection[$k] = null; - } - unset($worksheet); - $this->_workSheetCollection = array(); - } - - /** - * Return the calculation engine for this worksheet - * - * @return PHPExcel_Calculation - */ - public function getCalculationEngine() - { - return $this->_calculationEngine; - } // function getCellCacheController() - - /** - * Get properties - * - * @return PHPExcel_DocumentProperties - */ - public function getProperties() - { - return $this->_properties; - } - - /** - * Set properties - * - * @param PHPExcel_DocumentProperties $pValue - */ - public function setProperties(PHPExcel_DocumentProperties $pValue) - { - $this->_properties = $pValue; - } - - /** - * Get security - * - * @return PHPExcel_DocumentSecurity - */ - public function getSecurity() - { - return $this->_security; - } - - /** - * Set security - * - * @param PHPExcel_DocumentSecurity $pValue - */ - public function setSecurity(PHPExcel_DocumentSecurity $pValue) - { - $this->_security = $pValue; - } - - /** - * Get active sheet - * - * @return PHPExcel_Worksheet - * - * @throws PHPExcel_Exception - */ - public function getActiveSheet() - { - return $this->getSheet($this->_activeSheetIndex); - } - - /** - * Create sheet and add it to this workbook - * - * @param int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last) - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function createSheet($iSheetIndex = NULL) - { - $newSheet = new PHPExcel_Worksheet($this); - $this->addSheet($newSheet, $iSheetIndex); - return $newSheet; - } - - /** - * Check if a sheet with a specified name already exists - * - * @param string $pSheetName Name of the worksheet to check - * @return boolean - */ - public function sheetNameExists($pSheetName) - { - return ($this->getSheetByName($pSheetName) !== NULL); - } - - /** - * Add sheet - * - * @param PHPExcel_Worksheet $pSheet - * @param int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last) - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function addSheet(PHPExcel_Worksheet $pSheet, $iSheetIndex = NULL) - { - if ($this->sheetNameExists($pSheet->getTitle())) { - throw new PHPExcel_Exception( - "Workbook already contains a worksheet named '{$pSheet->getTitle()}'. Rename this worksheet first." - ); - } - - if($iSheetIndex === NULL) { - if ($this->_activeSheetIndex < 0) { - $this->_activeSheetIndex = 0; - } - $this->_workSheetCollection[] = $pSheet; - } else { - // Insert the sheet at the requested index - array_splice( - $this->_workSheetCollection, - $iSheetIndex, - 0, - array($pSheet) - ); - - // Adjust active sheet index if necessary - if ($this->_activeSheetIndex >= $iSheetIndex) { - ++$this->_activeSheetIndex; - } - } - - if ($pSheet->getParent() === null) { - $pSheet->rebindParent($this); - } - - return $pSheet; - } - - /** - * Remove sheet by index - * - * @param int $pIndex Active sheet index - * @throws PHPExcel_Exception - */ - public function removeSheetByIndex($pIndex = 0) - { - - $numSheets = count($this->_workSheetCollection); - - if ($pIndex > $numSheets - 1) { - throw new PHPExcel_Exception( - "You tried to remove a sheet by the out of bounds index: {$pIndex}. The actual number of sheets is {$numSheets}." - ); - } else { - array_splice($this->_workSheetCollection, $pIndex, 1); - } - // Adjust active sheet index if necessary - if (($this->_activeSheetIndex >= $pIndex) && - ($pIndex > count($this->_workSheetCollection) - 1)) { - --$this->_activeSheetIndex; - } - - } - - /** - * Get sheet by index - * - * @param int $pIndex Sheet index - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function getSheet($pIndex = 0) - { - if (!isset($this->_workSheetCollection[$pIndex])) { - $numSheets = $this->getSheetCount(); - throw new PHPExcel_Exception( - "Your requested sheet index: {$pIndex} is out of bounds. The actual number of sheets is {$numSheets}." - ); - } - - return $this->_workSheetCollection[$pIndex]; - } - - /** - * Get all sheets - * - * @return PHPExcel_Worksheet[] - */ - public function getAllSheets() - { - return $this->_workSheetCollection; - } - - /** - * Get sheet by name - * - * @param string $pName Sheet name - * @return PHPExcel_Worksheet - */ - public function getSheetByName($pName = '') - { - $worksheetCount = count($this->_workSheetCollection); - for ($i = 0; $i < $worksheetCount; ++$i) { - if ($this->_workSheetCollection[$i]->getTitle() === $pName) { - return $this->_workSheetCollection[$i]; - } - } - - return NULL; - } - - /** - * Get index for sheet - * - * @param PHPExcel_Worksheet $pSheet - * @return Sheet index - * @throws PHPExcel_Exception - */ - public function getIndex(PHPExcel_Worksheet $pSheet) - { - foreach ($this->_workSheetCollection as $key => $value) { - if ($value->getHashCode() == $pSheet->getHashCode()) { - return $key; - } - } - - throw new PHPExcel_Exception("Sheet does not exist."); - } - - /** - * Set index for sheet by sheet name. - * - * @param string $sheetName Sheet name to modify index for - * @param int $newIndex New index for the sheet - * @return New sheet index - * @throws PHPExcel_Exception - */ - public function setIndexByName($sheetName, $newIndex) - { - $oldIndex = $this->getIndex($this->getSheetByName($sheetName)); - $pSheet = array_splice( - $this->_workSheetCollection, - $oldIndex, - 1 - ); - array_splice( - $this->_workSheetCollection, - $newIndex, - 0, - $pSheet - ); - return $newIndex; - } - - /** - * Get sheet count - * - * @return int - */ - public function getSheetCount() - { - return count($this->_workSheetCollection); - } - - /** - * Get active sheet index - * - * @return int Active sheet index - */ - public function getActiveSheetIndex() - { - return $this->_activeSheetIndex; - } - - /** - * Set active sheet index - * - * @param int $pIndex Active sheet index - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setActiveSheetIndex($pIndex = 0) - { - $numSheets = count($this->_workSheetCollection); - - if ($pIndex > $numSheets - 1) { - throw new PHPExcel_Exception( - "You tried to set a sheet active by the out of bounds index: {$pIndex}. The actual number of sheets is {$numSheets}." - ); - } else { - $this->_activeSheetIndex = $pIndex; - } - return $this->getActiveSheet(); - } - - /** - * Set active sheet index by name - * - * @param string $pValue Sheet title - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function setActiveSheetIndexByName($pValue = '') - { - if (($worksheet = $this->getSheetByName($pValue)) instanceof PHPExcel_Worksheet) { - $this->setActiveSheetIndex($this->getIndex($worksheet)); - return $worksheet; - } - - throw new PHPExcel_Exception('Workbook does not contain sheet:' . $pValue); - } - - /** - * Get sheet names - * - * @return string[] - */ - public function getSheetNames() - { - $returnValue = array(); - $worksheetCount = $this->getSheetCount(); - for ($i = 0; $i < $worksheetCount; ++$i) { - $returnValue[] = $this->getSheet($i)->getTitle(); - } - - return $returnValue; - } - - /** - * Add external sheet - * - * @param PHPExcel_Worksheet $pSheet External sheet to add - * @param int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function addExternalSheet(PHPExcel_Worksheet $pSheet, $iSheetIndex = null) { - if ($this->sheetNameExists($pSheet->getTitle())) { - throw new PHPExcel_Exception("Workbook already contains a worksheet named '{$pSheet->getTitle()}'. Rename the external sheet first."); - } - - // count how many cellXfs there are in this workbook currently, we will need this below - $countCellXfs = count($this->_cellXfCollection); - - // copy all the shared cellXfs from the external workbook and append them to the current - foreach ($pSheet->getParent()->getCellXfCollection() as $cellXf) { - $this->addCellXf(clone $cellXf); - } - - // move sheet to this workbook - $pSheet->rebindParent($this); - - // update the cellXfs - foreach ($pSheet->getCellCollection(false) as $cellID) { - $cell = $pSheet->getCell($cellID); - $cell->setXfIndex( $cell->getXfIndex() + $countCellXfs ); - } - - return $this->addSheet($pSheet, $iSheetIndex); - } - - /** - * Get named ranges - * - * @return PHPExcel_NamedRange[] - */ - public function getNamedRanges() { - return $this->_namedRanges; - } - - /** - * Add named range - * - * @param PHPExcel_NamedRange $namedRange - * @return PHPExcel - */ - public function addNamedRange(PHPExcel_NamedRange $namedRange) { - if ($namedRange->getScope() == null) { - // global scope - $this->_namedRanges[$namedRange->getName()] = $namedRange; - } else { - // local scope - $this->_namedRanges[$namedRange->getScope()->getTitle().'!'.$namedRange->getName()] = $namedRange; - } - return true; - } - - /** - * Get named range - * - * @param string $namedRange - * @param PHPExcel_Worksheet|null $pSheet Scope. Use null for global scope - * @return PHPExcel_NamedRange|null - */ - public function getNamedRange($namedRange, PHPExcel_Worksheet $pSheet = null) { - $returnValue = null; - - if ($namedRange != '' && ($namedRange !== NULL)) { - // first look for global defined name - if (isset($this->_namedRanges[$namedRange])) { - $returnValue = $this->_namedRanges[$namedRange]; - } - - // then look for local defined name (has priority over global defined name if both names exist) - if (($pSheet !== NULL) && isset($this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange])) { - $returnValue = $this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange]; - } - } - - return $returnValue; - } - - /** - * Remove named range - * - * @param string $namedRange - * @param PHPExcel_Worksheet|null $pSheet Scope: use null for global scope. - * @return PHPExcel - */ - public function removeNamedRange($namedRange, PHPExcel_Worksheet $pSheet = null) { - if ($pSheet === NULL) { - if (isset($this->_namedRanges[$namedRange])) { - unset($this->_namedRanges[$namedRange]); - } - } else { - if (isset($this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange])) { - unset($this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange]); - } - } - return $this; - } - - /** - * Get worksheet iterator - * - * @return PHPExcel_WorksheetIterator - */ - public function getWorksheetIterator() { - return new PHPExcel_WorksheetIterator($this); - } - - /** - * Copy workbook (!= clone!) - * - * @return PHPExcel - */ - public function copy() { - $copied = clone $this; - - $worksheetCount = count($this->_workSheetCollection); - for ($i = 0; $i < $worksheetCount; ++$i) { - $this->_workSheetCollection[$i] = $this->_workSheetCollection[$i]->copy(); - $this->_workSheetCollection[$i]->rebindParent($this); - } - - return $copied; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - foreach($this as $key => $val) { - if (is_object($val) || (is_array($val))) { - $this->{$key} = unserialize(serialize($val)); - } - } - } - - /** - * Get the workbook collection of cellXfs - * - * @return PHPExcel_Style[] - */ - public function getCellXfCollection() - { - return $this->_cellXfCollection; - } - - /** - * Get cellXf by index - * - * @param int $pIndex - * @return PHPExcel_Style - */ - public function getCellXfByIndex($pIndex = 0) - { - return $this->_cellXfCollection[$pIndex]; - } - - /** - * Get cellXf by hash code - * - * @param string $pValue - * @return PHPExcel_Style|false - */ - public function getCellXfByHashCode($pValue = '') - { - foreach ($this->_cellXfCollection as $cellXf) { - if ($cellXf->getHashCode() == $pValue) { - return $cellXf; - } - } - return false; - } - - /** - * Check if style exists in style collection - * - * @param PHPExcel_Style $pCellStyle - * @return boolean - */ - public function cellXfExists($pCellStyle = null) - { - return in_array($pCellStyle, $this->_cellXfCollection, true); - } - - /** - * Get default style - * - * @return PHPExcel_Style - * @throws PHPExcel_Exception - */ - public function getDefaultStyle() - { - if (isset($this->_cellXfCollection[0])) { - return $this->_cellXfCollection[0]; - } - throw new PHPExcel_Exception('No default style found for this workbook'); - } - - /** - * Add a cellXf to the workbook - * - * @param PHPExcel_Style $style - */ - public function addCellXf(PHPExcel_Style $style) - { - $this->_cellXfCollection[] = $style; - $style->setIndex(count($this->_cellXfCollection) - 1); - } - - /** - * Remove cellXf by index. It is ensured that all cells get their xf index updated. - * - * @param int $pIndex Index to cellXf - * @throws PHPExcel_Exception - */ - public function removeCellXfByIndex($pIndex = 0) - { - if ($pIndex > count($this->_cellXfCollection) - 1) { - throw new PHPExcel_Exception("CellXf index is out of bounds."); - } else { - // first remove the cellXf - array_splice($this->_cellXfCollection, $pIndex, 1); - - // then update cellXf indexes for cells - foreach ($this->_workSheetCollection as $worksheet) { - foreach ($worksheet->getCellCollection(false) as $cellID) { - $cell = $worksheet->getCell($cellID); - $xfIndex = $cell->getXfIndex(); - if ($xfIndex > $pIndex ) { - // decrease xf index by 1 - $cell->setXfIndex($xfIndex - 1); - } else if ($xfIndex == $pIndex) { - // set to default xf index 0 - $cell->setXfIndex(0); - } - } - } - } - } - - /** - * Get the cellXf supervisor - * - * @return PHPExcel_Style - */ - public function getCellXfSupervisor() - { - return $this->_cellXfSupervisor; - } - - /** - * Get the workbook collection of cellStyleXfs - * - * @return PHPExcel_Style[] - */ - public function getCellStyleXfCollection() - { - return $this->_cellStyleXfCollection; - } - - /** - * Get cellStyleXf by index - * - * @param int $pIndex - * @return PHPExcel_Style - */ - public function getCellStyleXfByIndex($pIndex = 0) - { - return $this->_cellStyleXfCollection[$pIndex]; - } - - /** - * Get cellStyleXf by hash code - * - * @param string $pValue - * @return PHPExcel_Style|false - */ - public function getCellStyleXfByHashCode($pValue = '') - { - foreach ($this->_cellXfStyleCollection as $cellStyleXf) { - if ($cellStyleXf->getHashCode() == $pValue) { - return $cellStyleXf; - } - } - return false; - } - - /** - * Add a cellStyleXf to the workbook - * - * @param PHPExcel_Style $pStyle - */ - public function addCellStyleXf(PHPExcel_Style $pStyle) - { - $this->_cellStyleXfCollection[] = $pStyle; - $pStyle->setIndex(count($this->_cellStyleXfCollection) - 1); - } - - /** - * Remove cellStyleXf by index - * - * @param int $pIndex - * @throws PHPExcel_Exception - */ - public function removeCellStyleXfByIndex($pIndex = 0) - { - if ($pIndex > count($this->_cellStyleXfCollection) - 1) { - throw new PHPExcel_Exception("CellStyleXf index is out of bounds."); - } else { - array_splice($this->_cellStyleXfCollection, $pIndex, 1); - } - } - - /** - * Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells - * and columns in the workbook - */ - public function garbageCollect() - { - // how many references are there to each cellXf ? - $countReferencesCellXf = array(); - foreach ($this->_cellXfCollection as $index => $cellXf) { - $countReferencesCellXf[$index] = 0; - } - - foreach ($this->getWorksheetIterator() as $sheet) { - - // from cells - foreach ($sheet->getCellCollection(false) as $cellID) { - $cell = $sheet->getCell($cellID); - ++$countReferencesCellXf[$cell->getXfIndex()]; - } - - // from row dimensions - foreach ($sheet->getRowDimensions() as $rowDimension) { - if ($rowDimension->getXfIndex() !== null) { - ++$countReferencesCellXf[$rowDimension->getXfIndex()]; - } - } - - // from column dimensions - foreach ($sheet->getColumnDimensions() as $columnDimension) { - ++$countReferencesCellXf[$columnDimension->getXfIndex()]; - } - } - - // remove cellXfs without references and create mapping so we can update xfIndex - // for all cells and columns - $countNeededCellXfs = 0; - foreach ($this->_cellXfCollection as $index => $cellXf) { - if ($countReferencesCellXf[$index] > 0 || $index == 0) { // we must never remove the first cellXf - ++$countNeededCellXfs; - } else { - unset($this->_cellXfCollection[$index]); - } - $map[$index] = $countNeededCellXfs - 1; - } - $this->_cellXfCollection = array_values($this->_cellXfCollection); - - // update the index for all cellXfs - foreach ($this->_cellXfCollection as $i => $cellXf) { - $cellXf->setIndex($i); - } - - // make sure there is always at least one cellXf (there should be) - if (empty($this->_cellXfCollection)) { - $this->_cellXfCollection[] = new PHPExcel_Style(); - } - - // update the xfIndex for all cells, row dimensions, column dimensions - foreach ($this->getWorksheetIterator() as $sheet) { - - // for all cells - foreach ($sheet->getCellCollection(false) as $cellID) { - $cell = $sheet->getCell($cellID); - $cell->setXfIndex( $map[$cell->getXfIndex()] ); - } - - // for all row dimensions - foreach ($sheet->getRowDimensions() as $rowDimension) { - if ($rowDimension->getXfIndex() !== null) { - $rowDimension->setXfIndex( $map[$rowDimension->getXfIndex()] ); - } - } - - // for all column dimensions - foreach ($sheet->getColumnDimensions() as $columnDimension) { - $columnDimension->setXfIndex( $map[$columnDimension->getXfIndex()] ); - } - - // also do garbage collection for all the sheets - $sheet->garbageCollect(); - } - } - - /** - * Return the unique ID value assigned to this spreadsheet workbook - * - * @return string - */ - public function getID() { - return $this->_uniqueID; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Autoloader.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Autoloader.php deleted file mode 100644 index f0b225163..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Autoloader.php +++ /dev/null @@ -1,89 +0,0 @@ -= 0) { - return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'), true, true); - } else { - return spl_autoload_register(array('PHPExcel_Autoloader', 'Load')); - } - } // function Register() - - - /** - * Autoload a class identified by name - * - * @param string $pClassName Name of the object to load - */ - public static function Load($pClassName){ - if ((class_exists($pClassName,FALSE)) || (strpos($pClassName, 'PHPExcel') !== 0)) { - // Either already loaded, or not a PHPExcel class request - return FALSE; - } - - $pClassFilePath = PHPEXCEL_ROOT . - str_replace('_',DIRECTORY_SEPARATOR,$pClassName) . - '.php'; - - if ((file_exists($pClassFilePath) === FALSE) || (is_readable($pClassFilePath) === FALSE)) { - // Can't load - return FALSE; - } - - require($pClassFilePath); - } // function Load() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/APC.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/APC.php deleted file mode 100644 index 8bde7fe3e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/APC.php +++ /dev/null @@ -1,295 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - if (!apc_store($this->_cachePrefix.$this->_currentObjectID.'.cache',serialize($this->_currentObject),$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in APC'); - } - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @access public - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - $this->_cellCache[$pCoord] = true; - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @access public - * @param string $pCoord Coordinate address of the cell to check - * @throws PHPExcel_Exception - * @return boolean - */ - public function isDataSet($pCoord) { - // Check if the requested entry is the current object, or exists in the cache - if (parent::isDataSet($pCoord)) { - if ($this->_currentObjectID == $pCoord) { - return true; - } - // Check if the requested entry still exists in apc - $success = apc_fetch($this->_cachePrefix.$pCoord.'.cache'); - if ($success === FALSE) { - // Entry no longer exists in APC, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in APC cache'); - } - return true; - } - return false; - } // function isDataSet() - - - /** - * Get cell at a specific coordinate - * - * @access public - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (parent::isDataSet($pCoord)) { - $obj = apc_fetch($this->_cachePrefix.$pCoord.'.cache'); - if ($obj === FALSE) { - // Entry no longer exists in APC, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in APC cache'); - } - } else { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($obj); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Delete a cell in cache identified by coordinate address - * - * @access public - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - // Delete the entry from APC - apc_delete($this->_cachePrefix.$pCoord.'.cache'); - - // Delete the entry from our cell address array - parent::deleteCacheData($pCoord); - } // function deleteCacheData() - - - /** - * Clone the cell collection - * - * @access public - * @param PHPExcel_Worksheet $parent The new worksheet - * @throws PHPExcel_Exception - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newCachePrefix = substr(md5($baseUnique),0,8).'.'; - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - if ($cellID != $this->_currentObjectID) { - $obj = apc_fetch($this->_cachePrefix.$cellID.'.cache'); - if ($obj === FALSE) { - // Entry no longer exists in APC, so clear it from the cache array - parent::deleteCacheData($cellID); - throw new PHPExcel_Exception('Cell entry '.$cellID.' no longer exists in APC'); - } - if (!apc_store($newCachePrefix.$cellID.'.cache',$obj,$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$cellID.' in APC'); - } - } - } - $this->_cachePrefix = $newCachePrefix; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if ($this->_currentObject !== NULL) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - - // Flush the APC cache - $this->__destruct(); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600; - - if ($this->_cachePrefix === NULL) { - $baseUnique = $this->_getUniqueID(); - $this->_cachePrefix = substr(md5($baseUnique),0,8).'.'; - $this->_cacheTime = $cacheTime; - - parent::__construct($parent); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - apc_delete($this->_cachePrefix.$cellID.'.cache'); - } - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('apc_store')) { - return FALSE; - } - if (apc_sma_info() === FALSE) { - return FALSE; - } - - return TRUE; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/CacheBase.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/CacheBase.php deleted file mode 100644 index 9f780b2a6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/CacheBase.php +++ /dev/null @@ -1,347 +0,0 @@ -_parent = $parent; - } // function __construct() - - - /** - * Return the parent worksheet for this cell collection - * - * @return PHPExcel_Worksheet - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return true; - } - // Check if the requested entry exists in the cache - return isset($this->_cellCache[$pCoord]); - } // function isDataSet() - - - /** - * Move a cell object from one address to another - * - * @param string $fromAddress Current address of the cell to move - * @param string $toAddress Destination address of the cell to move - * @return boolean - */ - public function moveCell($fromAddress, $toAddress) { - if ($fromAddress === $this->_currentObjectID) { - $this->_currentObjectID = $toAddress; - } - $this->_currentCellIsDirty = true; - if (isset($this->_cellCache[$fromAddress])) { - $this->_cellCache[$toAddress] = &$this->_cellCache[$fromAddress]; - unset($this->_cellCache[$fromAddress]); - } - - return TRUE; - } // function moveCell() - - - /** - * Add or Update a cell in cache - * - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function updateCacheData(PHPExcel_Cell $cell) { - return $this->addCacheData($cell->getCoordinate(),$cell); - } // function updateCacheData() - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - $this->_currentObject->detach(); - $this->_currentObjectID = $this->_currentObject = null; - } - - if (is_object($this->_cellCache[$pCoord])) { - $this->_cellCache[$pCoord]->detach(); - unset($this->_cellCache[$pCoord]); - } - $this->_currentCellIsDirty = false; - } // function deleteCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - return array_keys($this->_cellCache); - } // function getCellList() - - - /** - * Sort the list of all cell addresses currently held in cache by row and column - * - * @return string[] - */ - public function getSortedCellList() { - $sortKeys = array(); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $column, $row); - $sortKeys[sprintf('%09d%3s',$row,$column)] = $coord; - } - ksort($sortKeys); - - return array_values($sortKeys); - } // function sortCellList() - - - - /** - * Get highest worksheet column and highest row that have cell records - * - * @return array Highest column name and highest row number - */ - public function getHighestRowAndColumn() - { - // Lookup highest column and highest row - $col = array('A' => '1A'); - $row = array(1); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $c, $r); - $row[$r] = $r; - $col[$c] = strlen($c).$c; - } - if (!empty($row)) { - // Determine highest column and row - $highestRow = max($row); - $highestColumn = substr(max($col),1); - } - - return array( 'row' => $highestRow, - 'column' => $highestColumn - ); - } - - - /** - * Return the cell address of the currently active cell object - * - * @return string - */ - public function getCurrentAddress() - { - return $this->_currentObjectID; - } - - /** - * Return the column address of the currently active cell object - * - * @return string - */ - public function getCurrentColumn() - { - sscanf($this->_currentObjectID, '%[A-Z]%d', $column, $row); - return $column; - } - - /** - * Return the row address of the currently active cell object - * - * @return integer - */ - public function getCurrentRow() - { - sscanf($this->_currentObjectID, '%[A-Z]%d', $column, $row); - return (integer) $row; - } - - /** - * Get highest worksheet column - * - * @param string $row Return the highest column for the specified row, - * or the highest column of any row if no row number is passed - * @return string Highest column name - */ - public function getHighestColumn($row = null) - { - if ($row == null) { - $colRow = $this->getHighestRowAndColumn(); - return $colRow['column']; - } - - $columnList = array(1); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $c, $r); - if ($r != $row) { - continue; - } - $columnList[] = PHPExcel_Cell::columnIndexFromString($c); - } - return PHPExcel_Cell::stringFromColumnIndex(max($columnList) - 1); - } - - /** - * Get highest worksheet row - * - * @param string $column Return the highest row for the specified column, - * or the highest row of any column if no column letter is passed - * @return int Highest row number - */ - public function getHighestRow($column = null) - { - if ($column == null) { - $colRow = $this->getHighestRowAndColumn(); - return $colRow['row']; - } - - $rowList = array(0); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $c, $r); - if ($c != $column) { - continue; - } - $rowList[] = $r; - } - - return max($rowList); - } - - - /** - * Generate a unique ID for cache referencing - * - * @return string Unique Reference - */ - protected function _getUniqueID() { - if (function_exists('posix_getpid')) { - $baseUnique = posix_getpid(); - } else { - $baseUnique = mt_rand(); - } - return uniqid($baseUnique,true); - } - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - $this->_currentCellIsDirty; - $this->_storeData(); - - $this->_parent = $parent; - if (($this->_currentObject !== NULL) && (is_object($this->_currentObject))) { - $this->_currentObject->attach($this); - } - } // function copyCellCollection() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/DiscISAM.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/DiscISAM.php deleted file mode 100644 index cb38d0de4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/DiscISAM.php +++ /dev/null @@ -1,219 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - fseek($this->_fileHandle,0,SEEK_END); - - $this->_cellCache[$this->_currentObjectID] = array( - 'ptr' => ftell($this->_fileHandle), - 'sz' => fwrite($this->_fileHandle, serialize($this->_currentObject)) - ); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - fseek($this->_fileHandle, $this->_cellCache[$pCoord]['ptr']); - $this->_currentObject = unserialize(fread($this->_fileHandle, $this->_cellCache[$pCoord]['sz'])); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newFileName = $this->_cacheDirectory.'/PHPExcel.'.$baseUnique.'.cache'; - // Copy the existing cell cache file - copy ($this->_fileName,$newFileName); - $this->_fileName = $newFileName; - // Open the copied cell cache file - $this->_fileHandle = fopen($this->_fileName,'a+'); - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the temporary cache file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $this->_cacheDirectory = ((isset($arguments['dir'])) && ($arguments['dir'] !== NULL)) - ? $arguments['dir'] - : PHPExcel_Shared_File::sys_get_temp_dir(); - - parent::__construct($parent); - if (is_null($this->_fileHandle)) { - $baseUnique = $this->_getUniqueID(); - $this->_fileName = $this->_cacheDirectory.'/PHPExcel.'.$baseUnique.'.cache'; - $this->_fileHandle = fopen($this->_fileName,'a+'); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_fileHandle)) { - fclose($this->_fileHandle); - unlink($this->_fileName); - } - $this->_fileHandle = null; - } // function __destruct() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/ICache.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/ICache.php deleted file mode 100644 index 220905cd4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/ICache.php +++ /dev/null @@ -1,112 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_cellCache[$this->_currentObjectID] = igbinary_serialize($this->_currentObject); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = igbinary_unserialize($this->_cellCache[$pCoord]); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('igbinary_serialize')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Memcache.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Memcache.php deleted file mode 100644 index 6a096769e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Memcache.php +++ /dev/null @@ -1,312 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $obj = serialize($this->_currentObject); - if (!$this->_memcache->replace($this->_cachePrefix.$this->_currentObjectID.'.cache',$obj,NULL,$this->_cacheTime)) { - if (!$this->_memcache->add($this->_cachePrefix.$this->_currentObjectID.'.cache',$obj,NULL,$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in MemCache'); - } - } - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - $this->_cellCache[$pCoord] = true; - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - * @return boolean - */ - public function isDataSet($pCoord) { - // Check if the requested entry is the current object, or exists in the cache - if (parent::isDataSet($pCoord)) { - if ($this->_currentObjectID == $pCoord) { - return true; - } - // Check if the requested entry still exists in Memcache - $success = $this->_memcache->get($this->_cachePrefix.$pCoord.'.cache'); - if ($success === false) { - // Entry no longer exists in Memcache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in MemCache'); - } - return true; - } - return false; - } // function isDataSet() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (parent::isDataSet($pCoord)) { - $obj = $this->_memcache->get($this->_cachePrefix.$pCoord.'.cache'); - if ($obj === false) { - // Entry no longer exists in Memcache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in MemCache'); - } - } else { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($obj); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - // Delete the entry from Memcache - $this->_memcache->delete($this->_cachePrefix.$pCoord.'.cache'); - - // Delete the entry from our cell address array - parent::deleteCacheData($pCoord); - } // function deleteCacheData() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newCachePrefix = substr(md5($baseUnique),0,8).'.'; - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - if ($cellID != $this->_currentObjectID) { - $obj = $this->_memcache->get($this->_cachePrefix.$cellID.'.cache'); - if ($obj === false) { - // Entry no longer exists in Memcache, so clear it from the cache array - parent::deleteCacheData($cellID); - throw new PHPExcel_Exception('Cell entry '.$cellID.' no longer exists in MemCache'); - } - if (!$this->_memcache->add($newCachePrefix.$cellID.'.cache',$obj,NULL,$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$cellID.' in MemCache'); - } - } - } - $this->_cachePrefix = $newCachePrefix; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - - // Flush the Memcache cache - $this->__destruct(); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $memcacheServer = (isset($arguments['memcacheServer'])) ? $arguments['memcacheServer'] : 'localhost'; - $memcachePort = (isset($arguments['memcachePort'])) ? $arguments['memcachePort'] : 11211; - $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600; - - if (is_null($this->_cachePrefix)) { - $baseUnique = $this->_getUniqueID(); - $this->_cachePrefix = substr(md5($baseUnique),0,8).'.'; - - // Set a new Memcache object and connect to the Memcache server - $this->_memcache = new Memcache(); - if (!$this->_memcache->addServer($memcacheServer, $memcachePort, false, 50, 5, 5, true, array($this, 'failureCallback'))) { - throw new PHPExcel_Exception('Could not connect to MemCache server at '.$memcacheServer.':'.$memcachePort); - } - $this->_cacheTime = $cacheTime; - - parent::__construct($parent); - } - } // function __construct() - - - /** - * Memcache error handler - * - * @param string $host Memcache server - * @param integer $port Memcache port - * @throws PHPExcel_Exception - */ - public function failureCallback($host, $port) { - throw new PHPExcel_Exception('memcache '.$host.':'.$port.' failed'); - } - - - /** - * Destroy this cell collection - */ - public function __destruct() { - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - $this->_memcache->delete($this->_cachePrefix.$cellID.'.cache'); - } - } // function __destruct() - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('memcache_add')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Memory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Memory.php deleted file mode 100644 index 1319a18de..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Memory.php +++ /dev/null @@ -1,125 +0,0 @@ -_cellCache[$pCoord] = $cell; - - // Set current entry to the new/updated entry - $this->_currentObjectID = $pCoord; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - $this->_currentObjectID = NULL; - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - - // Return requested entry - return $this->_cellCache[$pCoord]; - } // function getCacheData() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - - $newCollection = array(); - foreach($this->_cellCache as $k => &$cell) { - $newCollection[$k] = clone $cell; - $newCollection[$k]->attach($this); - } - - $this->_cellCache = $newCollection; - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - // Because cells are all stored as intact objects in memory, we need to detach each one from the parent - foreach($this->_cellCache as $k => &$cell) { - $cell->detach(); - $this->_cellCache[$k] = null; - } - unset($cell); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/MemoryGZip.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/MemoryGZip.php deleted file mode 100644 index e35563c4e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/MemoryGZip.php +++ /dev/null @@ -1,137 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_cellCache[$this->_currentObjectID] = gzdeflate(serialize($this->_currentObject)); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize(gzinflate($this->_cellCache[$pCoord])); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/MemorySerialized.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/MemorySerialized.php deleted file mode 100644 index 1082deae5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/MemorySerialized.php +++ /dev/null @@ -1,137 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_cellCache[$this->_currentObjectID] = serialize($this->_currentObject); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($this->_cellCache[$pCoord]); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/PHPTemp.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/PHPTemp.php deleted file mode 100644 index e28429dec..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/PHPTemp.php +++ /dev/null @@ -1,206 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - fseek($this->_fileHandle,0,SEEK_END); - - $this->_cellCache[$this->_currentObjectID] = array( - 'ptr' => ftell($this->_fileHandle), - 'sz' => fwrite($this->_fileHandle, serialize($this->_currentObject)) - ); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - fseek($this->_fileHandle,$this->_cellCache[$pCoord]['ptr']); - $this->_currentObject = unserialize(fread($this->_fileHandle,$this->_cellCache[$pCoord]['sz'])); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Open a new stream for the cell cache data - $newFileHandle = fopen('php://temp/maxmemory:'.$this->_memoryCacheSize,'a+'); - // Copy the existing cell cache data to the new stream - fseek($this->_fileHandle,0); - while (!feof($this->_fileHandle)) { - fwrite($newFileHandle,fread($this->_fileHandle, 1024)); - } - $this->_fileHandle = $newFileHandle; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the php://temp file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $this->_memoryCacheSize = (isset($arguments['memoryCacheSize'])) ? $arguments['memoryCacheSize'] : '1MB'; - - parent::__construct($parent); - if (is_null($this->_fileHandle)) { - $this->_fileHandle = fopen('php://temp/maxmemory:'.$this->_memoryCacheSize,'a+'); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_fileHandle)) { - fclose($this->_fileHandle); - } - $this->_fileHandle = null; - } // function __destruct() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/SQLite.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/SQLite.php deleted file mode 100644 index dd4f0e99d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/SQLite.php +++ /dev/null @@ -1,306 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - if (!$this->_DBHandle->queryExec("INSERT OR REPLACE INTO kvp_".$this->_TableName." VALUES('".$this->_currentObjectID."','".sqlite_escape_string(serialize($this->_currentObject))."')")) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - $query = "SELECT value FROM kvp_".$this->_TableName." WHERE id='".$pCoord."'"; - $cellResultSet = $this->_DBHandle->query($query,SQLITE_ASSOC); - if ($cellResultSet === false) { - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - } elseif ($cellResultSet->numRows() == 0) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - - $cellResult = $cellResultSet->fetchSingle(); - $this->_currentObject = unserialize($cellResult); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Is a value set for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return true; - } - - // Check if the requested entry exists in the cache - $query = "SELECT id FROM kvp_".$this->_TableName." WHERE id='".$pCoord."'"; - $cellResultSet = $this->_DBHandle->query($query,SQLITE_ASSOC); - if ($cellResultSet === false) { - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - } elseif ($cellResultSet->numRows() == 0) { - // Return null if requested entry doesn't exist in cache - return false; - } - return true; - } // function isDataSet() - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - $this->_currentObject->detach(); - $this->_currentObjectID = $this->_currentObject = null; - } - - // Check if the requested entry exists in the cache - $query = "DELETE FROM kvp_".$this->_TableName." WHERE id='".$pCoord."'"; - if (!$this->_DBHandle->queryExec($query)) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - - $this->_currentCellIsDirty = false; - } // function deleteCacheData() - - - /** - * Move a cell object from one address to another - * - * @param string $fromAddress Current address of the cell to move - * @param string $toAddress Destination address of the cell to move - * @return boolean - */ - public function moveCell($fromAddress, $toAddress) { - if ($fromAddress === $this->_currentObjectID) { - $this->_currentObjectID = $toAddress; - } - - $query = "DELETE FROM kvp_".$this->_TableName." WHERE id='".$toAddress."'"; - $result = $this->_DBHandle->exec($query); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $query = "UPDATE kvp_".$this->_TableName." SET id='".$toAddress."' WHERE id='".$fromAddress."'"; - $result = $this->_DBHandle->exec($query); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - return TRUE; - } // function moveCell() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - $query = "SELECT id FROM kvp_".$this->_TableName; - $cellIdsResult = $this->_DBHandle->unbufferedQuery($query,SQLITE_ASSOC); - if ($cellIdsResult === false) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - - $cellKeys = array(); - foreach($cellIdsResult as $row) { - $cellKeys[] = $row['id']; - } - - return $cellKeys; - } // function getCellList() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - $this->_currentCellIsDirty; - $this->_storeData(); - - // Get a new id for the new table name - $tableName = str_replace('.','_',$this->_getUniqueID()); - if (!$this->_DBHandle->queryExec('CREATE TABLE kvp_'.$tableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB) - AS SELECT * FROM kvp_'.$this->_TableName)) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - - // Copy the existing cell cache file - $this->_TableName = $tableName; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the temporary cache file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - */ - public function __construct(PHPExcel_Worksheet $parent) { - parent::__construct($parent); - if (is_null($this->_DBHandle)) { - $this->_TableName = str_replace('.','_',$this->_getUniqueID()); - $_DBName = ':memory:'; - - $this->_DBHandle = new SQLiteDatabase($_DBName); - if ($this->_DBHandle === false) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - if (!$this->_DBHandle->queryExec('CREATE TABLE kvp_'.$this->_TableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)')) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_DBHandle)) { - $this->_DBHandle->queryExec('DROP TABLE kvp_'.$this->_TableName); - } - $this->_DBHandle = null; - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('sqlite_open')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/SQLite3.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/SQLite3.php deleted file mode 100644 index bdc1d9793..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/SQLite3.php +++ /dev/null @@ -1,345 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_insertQuery->bindValue('id',$this->_currentObjectID,SQLITE3_TEXT); - $this->_insertQuery->bindValue('data',serialize($this->_currentObject),SQLITE3_BLOB); - $result = $this->_insertQuery->execute(); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - $this->_selectQuery->bindValue('id',$pCoord,SQLITE3_TEXT); - $cellResult = $this->_selectQuery->execute(); - if ($cellResult === FALSE) { - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - } - $cellData = $cellResult->fetchArray(SQLITE3_ASSOC); - if ($cellData === FALSE) { - // Return null if requested entry doesn't exist in cache - return NULL; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - - $this->_currentObject = unserialize($cellData['value']); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Is a value set for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return TRUE; - } - - // Check if the requested entry exists in the cache - $this->_selectQuery->bindValue('id',$pCoord,SQLITE3_TEXT); - $cellResult = $this->_selectQuery->execute(); - if ($cellResult === FALSE) { - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - } - $cellData = $cellResult->fetchArray(SQLITE3_ASSOC); - - return ($cellData === FALSE) ? FALSE : TRUE; - } // function isDataSet() - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - $this->_currentObject->detach(); - $this->_currentObjectID = $this->_currentObject = NULL; - } - - // Check if the requested entry exists in the cache - $this->_deleteQuery->bindValue('id',$pCoord,SQLITE3_TEXT); - $result = $this->_deleteQuery->execute(); - if ($result === FALSE) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $this->_currentCellIsDirty = FALSE; - } // function deleteCacheData() - - - /** - * Move a cell object from one address to another - * - * @param string $fromAddress Current address of the cell to move - * @param string $toAddress Destination address of the cell to move - * @return boolean - */ - public function moveCell($fromAddress, $toAddress) { - if ($fromAddress === $this->_currentObjectID) { - $this->_currentObjectID = $toAddress; - } - - $this->_deleteQuery->bindValue('id',$toAddress,SQLITE3_TEXT); - $result = $this->_deleteQuery->execute(); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $this->_updateQuery->bindValue('toid',$toAddress,SQLITE3_TEXT); - $this->_updateQuery->bindValue('fromid',$fromAddress,SQLITE3_TEXT); - $result = $this->_updateQuery->execute(); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - return TRUE; - } // function moveCell() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - $query = "SELECT id FROM kvp_".$this->_TableName; - $cellIdsResult = $this->_DBHandle->query($query); - if ($cellIdsResult === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $cellKeys = array(); - while ($row = $cellIdsResult->fetchArray(SQLITE3_ASSOC)) { - $cellKeys[] = $row['id']; - } - - return $cellKeys; - } // function getCellList() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - $this->_currentCellIsDirty; - $this->_storeData(); - - // Get a new id for the new table name - $tableName = str_replace('.','_',$this->_getUniqueID()); - if (!$this->_DBHandle->exec('CREATE TABLE kvp_'.$tableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB) - AS SELECT * FROM kvp_'.$this->_TableName)) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - // Copy the existing cell cache file - $this->_TableName = $tableName; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the temporary cache file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - */ - public function __construct(PHPExcel_Worksheet $parent) { - parent::__construct($parent); - if (is_null($this->_DBHandle)) { - $this->_TableName = str_replace('.','_',$this->_getUniqueID()); - $_DBName = ':memory:'; - - $this->_DBHandle = new SQLite3($_DBName); - if ($this->_DBHandle === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - if (!$this->_DBHandle->exec('CREATE TABLE kvp_'.$this->_TableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)')) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - } - - $this->_selectQuery = $this->_DBHandle->prepare("SELECT value FROM kvp_".$this->_TableName." WHERE id = :id"); - $this->_insertQuery = $this->_DBHandle->prepare("INSERT OR REPLACE INTO kvp_".$this->_TableName." VALUES(:id,:data)"); - $this->_updateQuery = $this->_DBHandle->prepare("UPDATE kvp_".$this->_TableName." SET id=:toId WHERE id=:fromId"); - $this->_deleteQuery = $this->_DBHandle->prepare("DELETE FROM kvp_".$this->_TableName." WHERE id = :id"); - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_DBHandle)) { - $this->_DBHandle->exec('DROP TABLE kvp_'.$this->_TableName); - $this->_DBHandle->close(); - } - $this->_DBHandle = null; - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!class_exists('SQLite3',FALSE)) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Wincache.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Wincache.php deleted file mode 100644 index cdbef641b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/Wincache.php +++ /dev/null @@ -1,294 +0,0 @@ -_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $obj = serialize($this->_currentObject); - if (wincache_ucache_exists($this->_cachePrefix.$this->_currentObjectID.'.cache')) { - if (!wincache_ucache_set($this->_cachePrefix.$this->_currentObjectID.'.cache', $obj, $this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in WinCache'); - } - } else { - if (!wincache_ucache_add($this->_cachePrefix.$this->_currentObjectID.'.cache', $obj, $this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in WinCache'); - } - } - $this->_currentCellIsDirty = false; - } - - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - $this->_cellCache[$pCoord] = true; - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - // Check if the requested entry is the current object, or exists in the cache - if (parent::isDataSet($pCoord)) { - if ($this->_currentObjectID == $pCoord) { - return true; - } - // Check if the requested entry still exists in cache - $success = wincache_ucache_exists($this->_cachePrefix.$pCoord.'.cache'); - if ($success === false) { - // Entry no longer exists in Wincache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in WinCache'); - } - return true; - } - return false; - } // function isDataSet() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - $obj = null; - if (parent::isDataSet($pCoord)) { - $success = false; - $obj = wincache_ucache_get($this->_cachePrefix.$pCoord.'.cache', $success); - if ($success === false) { - // Entry no longer exists in WinCache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in WinCache'); - } - } else { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($obj); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - // Delete the entry from Wincache - wincache_ucache_delete($this->_cachePrefix.$pCoord.'.cache'); - - // Delete the entry from our cell address array - parent::deleteCacheData($pCoord); - } // function deleteCacheData() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newCachePrefix = substr(md5($baseUnique),0,8).'.'; - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - if ($cellID != $this->_currentObjectID) { - $success = false; - $obj = wincache_ucache_get($this->_cachePrefix.$cellID.'.cache', $success); - if ($success === false) { - // Entry no longer exists in WinCache, so clear it from the cache array - parent::deleteCacheData($cellID); - throw new PHPExcel_Exception('Cell entry '.$cellID.' no longer exists in Wincache'); - } - if (!wincache_ucache_add($newCachePrefix.$cellID.'.cache', $obj, $this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$cellID.' in Wincache'); - } - } - } - $this->_cachePrefix = $newCachePrefix; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - - // Flush the WinCache cache - $this->__destruct(); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600; - - if (is_null($this->_cachePrefix)) { - $baseUnique = $this->_getUniqueID(); - $this->_cachePrefix = substr(md5($baseUnique),0,8).'.'; - $this->_cacheTime = $cacheTime; - - parent::__construct($parent); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - wincache_ucache_delete($this->_cachePrefix.$cellID.'.cache'); - } - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('wincache_ucache_add')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorage/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorageFactory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorageFactory.php deleted file mode 100644 index 2da92346e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CachedObjectStorageFactory.php +++ /dev/null @@ -1,251 +0,0 @@ - array( - ), - self::cache_in_memory_gzip => array( - ), - self::cache_in_memory_serialized => array( - ), - self::cache_igbinary => array( - ), - self::cache_to_phpTemp => array( 'memoryCacheSize' => '1MB' - ), - self::cache_to_discISAM => array( 'dir' => NULL - ), - self::cache_to_apc => array( 'cacheTime' => 600 - ), - self::cache_to_memcache => array( 'memcacheServer' => 'localhost', - 'memcachePort' => 11211, - 'cacheTime' => 600 - ), - self::cache_to_wincache => array( 'cacheTime' => 600 - ), - self::cache_to_sqlite => array( - ), - self::cache_to_sqlite3 => array( - ), - ); - - - /** - * Arguments for the active cache storage method - * - * @var array of mixed array - */ - private static $_storageMethodParameters = array(); - - - /** - * Return the current cache storage method - * - * @return string|NULL - **/ - public static function getCacheStorageMethod() - { - return self::$_cacheStorageMethod; - } // function getCacheStorageMethod() - - - /** - * Return the current cache storage class - * - * @return PHPExcel_CachedObjectStorage_ICache|NULL - **/ - public static function getCacheStorageClass() - { - return self::$_cacheStorageClass; - } // function getCacheStorageClass() - - - /** - * Return the list of all possible cache storage methods - * - * @return string[] - **/ - public static function getAllCacheStorageMethods() - { - return self::$_storageMethods; - } // function getCacheStorageMethods() - - - /** - * Return the list of all available cache storage methods - * - * @return string[] - **/ - public static function getCacheStorageMethods() - { - $activeMethods = array(); - foreach(self::$_storageMethods as $storageMethod) { - $cacheStorageClass = 'PHPExcel_CachedObjectStorage_' . $storageMethod; - if (call_user_func(array($cacheStorageClass, 'cacheMethodIsAvailable'))) { - $activeMethods[] = $storageMethod; - } - } - return $activeMethods; - } // function getCacheStorageMethods() - - - /** - * Identify the cache storage method to use - * - * @param string $method Name of the method to use for cell cacheing - * @param array of mixed $arguments Additional arguments to pass to the cell caching class - * when instantiating - * @return boolean - **/ - public static function initialize($method = self::cache_in_memory, $arguments = array()) - { - if (!in_array($method,self::$_storageMethods)) { - return FALSE; - } - - $cacheStorageClass = 'PHPExcel_CachedObjectStorage_'.$method; - if (!call_user_func(array( $cacheStorageClass, - 'cacheMethodIsAvailable'))) { - return FALSE; - } - - self::$_storageMethodParameters[$method] = self::$_storageMethodDefaultParameters[$method]; - foreach($arguments as $k => $v) { - if (array_key_exists($k, self::$_storageMethodParameters[$method])) { - self::$_storageMethodParameters[$method][$k] = $v; - } - } - - if (self::$_cacheStorageMethod === NULL) { - self::$_cacheStorageClass = 'PHPExcel_CachedObjectStorage_' . $method; - self::$_cacheStorageMethod = $method; - } - return TRUE; - } // function initialize() - - - /** - * Initialise the cache storage - * - * @param PHPExcel_Worksheet $parent Enable cell caching for this worksheet - * @return PHPExcel_CachedObjectStorage_ICache - **/ - public static function getInstance(PHPExcel_Worksheet $parent) - { - $cacheMethodIsAvailable = TRUE; - if (self::$_cacheStorageMethod === NULL) { - $cacheMethodIsAvailable = self::initialize(); - } - - if ($cacheMethodIsAvailable) { - $instance = new self::$_cacheStorageClass( $parent, - self::$_storageMethodParameters[self::$_cacheStorageMethod] - ); - if ($instance !== NULL) { - return $instance; - } - } - - return FALSE; - } // function getInstance() - - - /** - * Clear the cache storage - * - **/ - public static function finalize() - { - self::$_cacheStorageMethod = NULL; - self::$_cacheStorageClass = NULL; - self::$_storageMethodParameters = array(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/CyclicReferenceStack.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/CyclicReferenceStack.php deleted file mode 100644 index a633c2c3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/CyclicReferenceStack.php +++ /dev/null @@ -1,98 +0,0 @@ -_stack); - } - - /** - * Push a new entry onto the stack - * - * @param mixed $value - */ - public function push($value) { - $this->_stack[] = $value; - } // function push() - - /** - * Pop the last entry from the stack - * - * @return mixed - */ - public function pop() { - return array_pop($this->_stack); - } // function pop() - - /** - * Test to see if a specified entry exists on the stack - * - * @param mixed $value The value to test - */ - public function onStack($value) { - return in_array($value, $this->_stack); - } - - /** - * Clear the stack - */ - public function clear() { - $this->_stack = array(); - } // function push() - - /** - * Return an array of all entries on the stack - * - * @return mixed[] - */ - public function showStack() { - return $this->_stack; - } - -} // class PHPExcel_CalcEngine_CyclicReferenceStack diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/Logger.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/Logger.php deleted file mode 100644 index fe43ae4f6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/Logger.php +++ /dev/null @@ -1,153 +0,0 @@ -_cellStack = $stack; - } - - /** - * Enable/Disable Calculation engine logging - * - * @param boolean $pValue - */ - public function setWriteDebugLog($pValue = FALSE) { - $this->_writeDebugLog = $pValue; - } - - /** - * Return whether calculation engine logging is enabled or disabled - * - * @return boolean - */ - public function getWriteDebugLog() { - return $this->_writeDebugLog; - } - - /** - * Enable/Disable echoing of debug log information - * - * @param boolean $pValue - */ - public function setEchoDebugLog($pValue = FALSE) { - $this->_echoDebugLog = $pValue; - } - - /** - * Return whether echoing of debug log information is enabled or disabled - * - * @return boolean - */ - public function getEchoDebugLog() { - return $this->_echoDebugLog; - } - - /** - * Write an entry to the calculation engine debug log - */ - public function writeDebugLog() { - // Only write the debug log if logging is enabled - if ($this->_writeDebugLog) { - $message = implode(func_get_args()); - $cellReference = implode(' -> ', $this->_cellStack->showStack()); - if ($this->_echoDebugLog) { - echo $cellReference, - ($this->_cellStack->count() > 0 ? ' => ' : ''), - $message, - PHP_EOL; - } - $this->_debugLog[] = $cellReference . - ($this->_cellStack->count() > 0 ? ' => ' : '') . - $message; - } - } // function _writeDebug() - - /** - * Clear the calculation engine debug log - */ - public function clearLog() { - $this->_debugLog = array(); - } // function flushLogger() - - /** - * Return the calculation engine debug log - * - * @return string[] - */ - public function getLog() { - return $this->_debugLog; - } // function flushLogger() - -} // class PHPExcel_CalcEngine_Logger - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/CalcEngine/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation.php deleted file mode 100644 index fa89671fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation.php +++ /dev/null @@ -1,3946 +0,0 @@ -=-]*)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([a-z]{1,3})\$?(\d{1,7})'); - // Named Range of cells - define('CALCULATION_REGEXP_NAMEDRANGE','((([^\s,!&%^\/\*\+<>=-]*)|(\'[^\']*\')|(\"[^\"]*\"))!)?([_A-Z][_A-Z0-9\.]*)'); - } else { - // Cell reference (cell or range of cells, with or without a sheet reference) - define('CALCULATION_REGEXP_CELLREF','(((\w*)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([a-z]{1,3})\$?(\d+)'); - // Named Range of cells - define('CALCULATION_REGEXP_NAMEDRANGE','(((\w*)|(\'.*\')|(\".*\"))!)?([_A-Z][_A-Z0-9\.]*)'); - } -} - - -/** - * PHPExcel_Calculation (Multiton) - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation { - - /** Constants */ - /** Regular Expressions */ - // Numeric operand - const CALCULATION_REGEXP_NUMBER = '[-+]?\d*\.?\d+(e[-+]?\d+)?'; - // String operand - const CALCULATION_REGEXP_STRING = '"(?:[^"]|"")*"'; - // Opening bracket - const CALCULATION_REGEXP_OPENBRACE = '\('; - // Function (allow for the old @ symbol that could be used to prefix a function, but we'll ignore it) - const CALCULATION_REGEXP_FUNCTION = '@?([A-Z][A-Z0-9\.]*)[\s]*\('; - // Cell reference (cell or range of cells, with or without a sheet reference) - const CALCULATION_REGEXP_CELLREF = CALCULATION_REGEXP_CELLREF; - // Named Range of cells - const CALCULATION_REGEXP_NAMEDRANGE = CALCULATION_REGEXP_NAMEDRANGE; - // Error - const CALCULATION_REGEXP_ERROR = '\#[A-Z][A-Z0_\/]*[!\?]?'; - - - /** constants */ - const RETURN_ARRAY_AS_ERROR = 'error'; - const RETURN_ARRAY_AS_VALUE = 'value'; - const RETURN_ARRAY_AS_ARRAY = 'array'; - - private static $returnArrayAsType = self::RETURN_ARRAY_AS_VALUE; - - - /** - * Instance of this class - * - * @access private - * @var PHPExcel_Calculation - */ - private static $_instance; - - - /** - * Instance of the workbook this Calculation Engine is using - * - * @access private - * @var PHPExcel - */ - private $_workbook; - - /** - * List of instances of the calculation engine that we've instantiated for individual workbooks - * - * @access private - * @var PHPExcel_Calculation[] - */ - private static $_workbookSets; - - /** - * Calculation cache - * - * @access private - * @var array - */ - private $_calculationCache = array (); - - - /** - * Calculation cache enabled - * - * @access private - * @var boolean - */ - private $_calculationCacheEnabled = TRUE; - - - /** - * List of operators that can be used within formulae - * The true/false value indicates whether it is a binary operator or a unary operator - * - * @access private - * @var array - */ - private static $_operators = array('+' => TRUE, '-' => TRUE, '*' => TRUE, '/' => TRUE, - '^' => TRUE, '&' => TRUE, '%' => FALSE, '~' => FALSE, - '>' => TRUE, '<' => TRUE, '=' => TRUE, '>=' => TRUE, - '<=' => TRUE, '<>' => TRUE, '|' => TRUE, ':' => TRUE - ); - - - /** - * List of binary operators (those that expect two operands) - * - * @access private - * @var array - */ - private static $_binaryOperators = array('+' => TRUE, '-' => TRUE, '*' => TRUE, '/' => TRUE, - '^' => TRUE, '&' => TRUE, '>' => TRUE, '<' => TRUE, - '=' => TRUE, '>=' => TRUE, '<=' => TRUE, '<>' => TRUE, - '|' => TRUE, ':' => TRUE - ); - - /** - * The debug log generated by the calculation engine - * - * @access private - * @var PHPExcel_CalcEngine_Logger - * - */ - private $debugLog; - - /** - * Flag to determine how formula errors should be handled - * If true, then a user error will be triggered - * If false, then an exception will be thrown - * - * @access public - * @var boolean - * - */ - public $suppressFormulaErrors = FALSE; - - /** - * Error message for any error that was raised/thrown by the calculation engine - * - * @access public - * @var string - * - */ - public $formulaError = NULL; - - /** - * An array of the nested cell references accessed by the calculation engine, used for the debug log - * - * @access private - * @var array of string - * - */ - private $_cyclicReferenceStack; - - private $_cellStack = array(); - - /** - * Current iteration counter for cyclic formulae - * If the value is 0 (or less) then cyclic formulae will throw an exception, - * otherwise they will iterate to the limit defined here before returning a result - * - * @var integer - * - */ - private $_cyclicFormulaCount = 0; - - private $_cyclicFormulaCell = ''; - - /** - * Number of iterations for cyclic formulae - * - * @var integer - * - */ - public $cyclicFormulaCount = 0; - - /** - * Precision used for calculations - * - * @var integer - * - */ - private $_savedPrecision = 14; - - - /** - * The current locale setting - * - * @var string - * - */ - private static $_localeLanguage = 'en_us'; // US English (default locale) - - /** - * List of available locale settings - * Note that this is read for the locale subdirectory only when requested - * - * @var string[] - * - */ - private static $_validLocaleLanguages = array( 'en' // English (default language) - ); - /** - * Locale-specific argument separator for function arguments - * - * @var string - * - */ - private static $_localeArgumentSeparator = ','; - private static $_localeFunctions = array(); - - /** - * Locale-specific translations for Excel constants (True, False and Null) - * - * @var string[] - * - */ - public static $_localeBoolean = array( 'TRUE' => 'TRUE', - 'FALSE' => 'FALSE', - 'NULL' => 'NULL' - ); - - - /** - * Excel constant string translations to their PHP equivalents - * Constant conversion from text name/value to actual (datatyped) value - * - * @var string[] - * - */ - private static $_ExcelConstants = array('TRUE' => TRUE, - 'FALSE' => FALSE, - 'NULL' => NULL - ); - - // PHPExcel functions - private static $_PHPExcelFunctions = array( // PHPExcel functions - 'ABS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'abs', - 'argumentCount' => '1' - ), - 'ACCRINT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::ACCRINT', - 'argumentCount' => '4-7' - ), - 'ACCRINTM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::ACCRINTM', - 'argumentCount' => '3-5' - ), - 'ACOS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'acos', - 'argumentCount' => '1' - ), - 'ACOSH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'acosh', - 'argumentCount' => '1' - ), - 'ADDRESS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::CELL_ADDRESS', - 'argumentCount' => '2-5' - ), - 'AMORDEGRC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::AMORDEGRC', - 'argumentCount' => '6,7' - ), - 'AMORLINC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::AMORLINC', - 'argumentCount' => '6,7' - ), - 'AND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::LOGICAL_AND', - 'argumentCount' => '1+' - ), - 'AREAS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'ASC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'ASIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'asin', - 'argumentCount' => '1' - ), - 'ASINH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'asinh', - 'argumentCount' => '1' - ), - 'ATAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'atan', - 'argumentCount' => '1' - ), - 'ATAN2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ATAN2', - 'argumentCount' => '2' - ), - 'ATANH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'atanh', - 'argumentCount' => '1' - ), - 'AVEDEV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVEDEV', - 'argumentCount' => '1+' - ), - 'AVERAGE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGE', - 'argumentCount' => '1+' - ), - 'AVERAGEA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGEA', - 'argumentCount' => '1+' - ), - 'AVERAGEIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGEIF', - 'argumentCount' => '2,3' - ), - 'AVERAGEIFS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3+' - ), - 'BAHTTEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'BESSELI' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELI', - 'argumentCount' => '2' - ), - 'BESSELJ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELJ', - 'argumentCount' => '2' - ), - 'BESSELK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELK', - 'argumentCount' => '2' - ), - 'BESSELY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELY', - 'argumentCount' => '2' - ), - 'BETADIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::BETADIST', - 'argumentCount' => '3-5' - ), - 'BETAINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::BETAINV', - 'argumentCount' => '3-5' - ), - 'BIN2DEC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BINTODEC', - 'argumentCount' => '1' - ), - 'BIN2HEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BINTOHEX', - 'argumentCount' => '1,2' - ), - 'BIN2OCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BINTOOCT', - 'argumentCount' => '1,2' - ), - 'BINOMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::BINOMDIST', - 'argumentCount' => '4' - ), - 'CEILING' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::CEILING', - 'argumentCount' => '2' - ), - 'CELL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1,2' - ), - 'CHAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::CHARACTER', - 'argumentCount' => '1' - ), - 'CHIDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CHIDIST', - 'argumentCount' => '2' - ), - 'CHIINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CHIINV', - 'argumentCount' => '2' - ), - 'CHITEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'CHOOSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::CHOOSE', - 'argumentCount' => '2+' - ), - 'CLEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::TRIMNONPRINTABLE', - 'argumentCount' => '1' - ), - 'CODE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::ASCIICODE', - 'argumentCount' => '1' - ), - 'COLUMN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::COLUMN', - 'argumentCount' => '-1', - 'passByReference' => array(TRUE) - ), - 'COLUMNS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::COLUMNS', - 'argumentCount' => '1' - ), - 'COMBIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::COMBIN', - 'argumentCount' => '2' - ), - 'COMPLEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::COMPLEX', - 'argumentCount' => '2,3' - ), - 'CONCATENATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::CONCATENATE', - 'argumentCount' => '1+' - ), - 'CONFIDENCE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CONFIDENCE', - 'argumentCount' => '3' - ), - 'CONVERT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::CONVERTUOM', - 'argumentCount' => '3' - ), - 'CORREL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CORREL', - 'argumentCount' => '2' - ), - 'COS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'cos', - 'argumentCount' => '1' - ), - 'COSH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'cosh', - 'argumentCount' => '1' - ), - 'COUNT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNT', - 'argumentCount' => '1+' - ), - 'COUNTA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTA', - 'argumentCount' => '1+' - ), - 'COUNTBLANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTBLANK', - 'argumentCount' => '1' - ), - 'COUNTIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTIF', - 'argumentCount' => '2' - ), - 'COUNTIFS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'COUPDAYBS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYBS', - 'argumentCount' => '3,4' - ), - 'COUPDAYS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYS', - 'argumentCount' => '3,4' - ), - 'COUPDAYSNC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYSNC', - 'argumentCount' => '3,4' - ), - 'COUPNCD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPNCD', - 'argumentCount' => '3,4' - ), - 'COUPNUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPNUM', - 'argumentCount' => '3,4' - ), - 'COUPPCD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPPCD', - 'argumentCount' => '3,4' - ), - 'COVAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COVAR', - 'argumentCount' => '2' - ), - 'CRITBINOM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CRITBINOM', - 'argumentCount' => '3' - ), - 'CUBEKPIMEMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBEMEMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBEMEMBERPROPERTY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBERANKEDMEMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBESET' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBESETCOUNT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBEVALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUMIPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::CUMIPMT', - 'argumentCount' => '6' - ), - 'CUMPRINC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::CUMPRINC', - 'argumentCount' => '6' - ), - 'DATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATE', - 'argumentCount' => '3' - ), - 'DATEDIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATEDIF', - 'argumentCount' => '2,3' - ), - 'DATEVALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATEVALUE', - 'argumentCount' => '1' - ), - 'DAVERAGE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DAVERAGE', - 'argumentCount' => '3' - ), - 'DAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DAYOFMONTH', - 'argumentCount' => '1' - ), - 'DAYS360' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DAYS360', - 'argumentCount' => '2,3' - ), - 'DB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DB', - 'argumentCount' => '4,5' - ), - 'DCOUNT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DCOUNT', - 'argumentCount' => '3' - ), - 'DCOUNTA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DCOUNTA', - 'argumentCount' => '3' - ), - 'DDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DDB', - 'argumentCount' => '4,5' - ), - 'DEC2BIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOBIN', - 'argumentCount' => '1,2' - ), - 'DEC2HEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOHEX', - 'argumentCount' => '1,2' - ), - 'DEC2OCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOOCT', - 'argumentCount' => '1,2' - ), - 'DEGREES' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'rad2deg', - 'argumentCount' => '1' - ), - 'DELTA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DELTA', - 'argumentCount' => '1,2' - ), - 'DEVSQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::DEVSQ', - 'argumentCount' => '1+' - ), - 'DGET' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DGET', - 'argumentCount' => '3' - ), - 'DISC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DISC', - 'argumentCount' => '4,5' - ), - 'DMAX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DMAX', - 'argumentCount' => '3' - ), - 'DMIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DMIN', - 'argumentCount' => '3' - ), - 'DOLLAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::DOLLAR', - 'argumentCount' => '1,2' - ), - 'DOLLARDE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DOLLARDE', - 'argumentCount' => '2' - ), - 'DOLLARFR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DOLLARFR', - 'argumentCount' => '2' - ), - 'DPRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DPRODUCT', - 'argumentCount' => '3' - ), - 'DSTDEV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DSTDEV', - 'argumentCount' => '3' - ), - 'DSTDEVP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DSTDEVP', - 'argumentCount' => '3' - ), - 'DSUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DSUM', - 'argumentCount' => '3' - ), - 'DURATION' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '5,6' - ), - 'DVAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DVAR', - 'argumentCount' => '3' - ), - 'DVARP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DVARP', - 'argumentCount' => '3' - ), - 'EDATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::EDATE', - 'argumentCount' => '2' - ), - 'EFFECT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::EFFECT', - 'argumentCount' => '2' - ), - 'EOMONTH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::EOMONTH', - 'argumentCount' => '2' - ), - 'ERF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::ERF', - 'argumentCount' => '1,2' - ), - 'ERFC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::ERFC', - 'argumentCount' => '1' - ), - 'ERROR.TYPE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::ERROR_TYPE', - 'argumentCount' => '1' - ), - 'EVEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::EVEN', - 'argumentCount' => '1' - ), - 'EXACT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'EXP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'exp', - 'argumentCount' => '1' - ), - 'EXPONDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::EXPONDIST', - 'argumentCount' => '3' - ), - 'FACT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::FACT', - 'argumentCount' => '1' - ), - 'FACTDOUBLE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::FACTDOUBLE', - 'argumentCount' => '1' - ), - 'FALSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::FALSE', - 'argumentCount' => '0' - ), - 'FDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3' - ), - 'FIND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHSENSITIVE', - 'argumentCount' => '2,3' - ), - 'FINDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHSENSITIVE', - 'argumentCount' => '2,3' - ), - 'FINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3' - ), - 'FISHER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::FISHER', - 'argumentCount' => '1' - ), - 'FISHERINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::FISHERINV', - 'argumentCount' => '1' - ), - 'FIXED' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::FIXEDFORMAT', - 'argumentCount' => '1-3' - ), - 'FLOOR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::FLOOR', - 'argumentCount' => '2' - ), - 'FORECAST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::FORECAST', - 'argumentCount' => '3' - ), - 'FREQUENCY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'FTEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'FV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::FV', - 'argumentCount' => '3-5' - ), - 'FVSCHEDULE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::FVSCHEDULE', - 'argumentCount' => '2' - ), - 'GAMMADIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMADIST', - 'argumentCount' => '4' - ), - 'GAMMAINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMAINV', - 'argumentCount' => '3' - ), - 'GAMMALN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMALN', - 'argumentCount' => '1' - ), - 'GCD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::GCD', - 'argumentCount' => '1+' - ), - 'GEOMEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GEOMEAN', - 'argumentCount' => '1+' - ), - 'GESTEP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::GESTEP', - 'argumentCount' => '1,2' - ), - 'GETPIVOTDATA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2+' - ), - 'GROWTH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GROWTH', - 'argumentCount' => '1-4' - ), - 'HARMEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::HARMEAN', - 'argumentCount' => '1+' - ), - 'HEX2BIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTOBIN', - 'argumentCount' => '1,2' - ), - 'HEX2DEC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTODEC', - 'argumentCount' => '1' - ), - 'HEX2OCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTOOCT', - 'argumentCount' => '1,2' - ), - 'HLOOKUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::HLOOKUP', - 'argumentCount' => '3,4' - ), - 'HOUR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::HOUROFDAY', - 'argumentCount' => '1' - ), - 'HYPERLINK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::HYPERLINK', - 'argumentCount' => '1,2', - 'passCellReference'=> TRUE - ), - 'HYPGEOMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::HYPGEOMDIST', - 'argumentCount' => '4' - ), - 'IF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::STATEMENT_IF', - 'argumentCount' => '1-3' - ), - 'IFERROR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::IFERROR', - 'argumentCount' => '2' - ), - 'IMABS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMABS', - 'argumentCount' => '1' - ), - 'IMAGINARY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMAGINARY', - 'argumentCount' => '1' - ), - 'IMARGUMENT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMARGUMENT', - 'argumentCount' => '1' - ), - 'IMCONJUGATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMCONJUGATE', - 'argumentCount' => '1' - ), - 'IMCOS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMCOS', - 'argumentCount' => '1' - ), - 'IMDIV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMDIV', - 'argumentCount' => '2' - ), - 'IMEXP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMEXP', - 'argumentCount' => '1' - ), - 'IMLN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMLN', - 'argumentCount' => '1' - ), - 'IMLOG10' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMLOG10', - 'argumentCount' => '1' - ), - 'IMLOG2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMLOG2', - 'argumentCount' => '1' - ), - 'IMPOWER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMPOWER', - 'argumentCount' => '2' - ), - 'IMPRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMPRODUCT', - 'argumentCount' => '1+' - ), - 'IMREAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMREAL', - 'argumentCount' => '1' - ), - 'IMSIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSIN', - 'argumentCount' => '1' - ), - 'IMSQRT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSQRT', - 'argumentCount' => '1' - ), - 'IMSUB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSUB', - 'argumentCount' => '2' - ), - 'IMSUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSUM', - 'argumentCount' => '1+' - ), - 'INDEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::INDEX', - 'argumentCount' => '1-4' - ), - 'INDIRECT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::INDIRECT', - 'argumentCount' => '1,2', - 'passCellReference'=> TRUE - ), - 'INFO' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'INT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::INT', - 'argumentCount' => '1' - ), - 'INTERCEPT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::INTERCEPT', - 'argumentCount' => '2' - ), - 'INTRATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::INTRATE', - 'argumentCount' => '4,5' - ), - 'IPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::IPMT', - 'argumentCount' => '4-6' - ), - 'IRR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::IRR', - 'argumentCount' => '1,2' - ), - 'ISBLANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_BLANK', - 'argumentCount' => '1' - ), - 'ISERR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_ERR', - 'argumentCount' => '1' - ), - 'ISERROR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_ERROR', - 'argumentCount' => '1' - ), - 'ISEVEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_EVEN', - 'argumentCount' => '1' - ), - 'ISLOGICAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_LOGICAL', - 'argumentCount' => '1' - ), - 'ISNA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_NA', - 'argumentCount' => '1' - ), - 'ISNONTEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_NONTEXT', - 'argumentCount' => '1' - ), - 'ISNUMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_NUMBER', - 'argumentCount' => '1' - ), - 'ISODD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_ODD', - 'argumentCount' => '1' - ), - 'ISPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::ISPMT', - 'argumentCount' => '4' - ), - 'ISREF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'ISTEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_TEXT', - 'argumentCount' => '1' - ), - 'JIS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'KURT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::KURT', - 'argumentCount' => '1+' - ), - 'LARGE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LARGE', - 'argumentCount' => '2' - ), - 'LCM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::LCM', - 'argumentCount' => '1+' - ), - 'LEFT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::LEFT', - 'argumentCount' => '1,2' - ), - 'LEFTB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::LEFT', - 'argumentCount' => '1,2' - ), - 'LEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::STRINGLENGTH', - 'argumentCount' => '1' - ), - 'LENB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::STRINGLENGTH', - 'argumentCount' => '1' - ), - 'LINEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LINEST', - 'argumentCount' => '1-4' - ), - 'LN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'log', - 'argumentCount' => '1' - ), - 'LOG' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::LOG_BASE', - 'argumentCount' => '1,2' - ), - 'LOG10' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'log10', - 'argumentCount' => '1' - ), - 'LOGEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LOGEST', - 'argumentCount' => '1-4' - ), - 'LOGINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LOGINV', - 'argumentCount' => '3' - ), - 'LOGNORMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LOGNORMDIST', - 'argumentCount' => '3' - ), - 'LOOKUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::LOOKUP', - 'argumentCount' => '2,3' - ), - 'LOWER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::LOWERCASE', - 'argumentCount' => '1' - ), - 'MATCH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::MATCH', - 'argumentCount' => '2,3' - ), - 'MAX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MAX', - 'argumentCount' => '1+' - ), - 'MAXA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MAXA', - 'argumentCount' => '1+' - ), - 'MAXIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MAXIF', - 'argumentCount' => '2+' - ), - 'MDETERM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MDETERM', - 'argumentCount' => '1' - ), - 'MDURATION' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '5,6' - ), - 'MEDIAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MEDIAN', - 'argumentCount' => '1+' - ), - 'MEDIANIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2+' - ), - 'MID' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::MID', - 'argumentCount' => '3' - ), - 'MIDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::MID', - 'argumentCount' => '3' - ), - 'MIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MIN', - 'argumentCount' => '1+' - ), - 'MINA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MINA', - 'argumentCount' => '1+' - ), - 'MINIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MINIF', - 'argumentCount' => '2+' - ), - 'MINUTE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::MINUTEOFHOUR', - 'argumentCount' => '1' - ), - 'MINVERSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MINVERSE', - 'argumentCount' => '1' - ), - 'MIRR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::MIRR', - 'argumentCount' => '3' - ), - 'MMULT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MMULT', - 'argumentCount' => '2' - ), - 'MOD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MOD', - 'argumentCount' => '2' - ), - 'MODE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MODE', - 'argumentCount' => '1+' - ), - 'MONTH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::MONTHOFYEAR', - 'argumentCount' => '1' - ), - 'MROUND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MROUND', - 'argumentCount' => '2' - ), - 'MULTINOMIAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MULTINOMIAL', - 'argumentCount' => '1+' - ), - 'N' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::N', - 'argumentCount' => '1' - ), - 'NA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::NA', - 'argumentCount' => '0' - ), - 'NEGBINOMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NEGBINOMDIST', - 'argumentCount' => '3' - ), - 'NETWORKDAYS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::NETWORKDAYS', - 'argumentCount' => '2+' - ), - 'NOMINAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::NOMINAL', - 'argumentCount' => '2' - ), - 'NORMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMDIST', - 'argumentCount' => '4' - ), - 'NORMINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMINV', - 'argumentCount' => '3' - ), - 'NORMSDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMSDIST', - 'argumentCount' => '1' - ), - 'NORMSINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMSINV', - 'argumentCount' => '1' - ), - 'NOT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::NOT', - 'argumentCount' => '1' - ), - 'NOW' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATETIMENOW', - 'argumentCount' => '0' - ), - 'NPER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::NPER', - 'argumentCount' => '3-5' - ), - 'NPV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::NPV', - 'argumentCount' => '2+' - ), - 'OCT2BIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTOBIN', - 'argumentCount' => '1,2' - ), - 'OCT2DEC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTODEC', - 'argumentCount' => '1' - ), - 'OCT2HEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTOHEX', - 'argumentCount' => '1,2' - ), - 'ODD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ODD', - 'argumentCount' => '1' - ), - 'ODDFPRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '8,9' - ), - 'ODDFYIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '8,9' - ), - 'ODDLPRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '7,8' - ), - 'ODDLYIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '7,8' - ), - 'OFFSET' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::OFFSET', - 'argumentCount' => '3,5', - 'passCellReference'=> TRUE, - 'passByReference' => array(TRUE) - ), - 'OR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::LOGICAL_OR', - 'argumentCount' => '1+' - ), - 'PEARSON' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CORREL', - 'argumentCount' => '2' - ), - 'PERCENTILE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::PERCENTILE', - 'argumentCount' => '2' - ), - 'PERCENTRANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::PERCENTRANK', - 'argumentCount' => '2,3' - ), - 'PERMUT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::PERMUT', - 'argumentCount' => '2' - ), - 'PHONETIC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'PI' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'pi', - 'argumentCount' => '0' - ), - 'PMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PMT', - 'argumentCount' => '3-5' - ), - 'POISSON' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::POISSON', - 'argumentCount' => '3' - ), - 'POWER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::POWER', - 'argumentCount' => '2' - ), - 'PPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PPMT', - 'argumentCount' => '4-6' - ), - 'PRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PRICE', - 'argumentCount' => '6,7' - ), - 'PRICEDISC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PRICEDISC', - 'argumentCount' => '4,5' - ), - 'PRICEMAT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PRICEMAT', - 'argumentCount' => '5,6' - ), - 'PROB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3,4' - ), - 'PRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::PRODUCT', - 'argumentCount' => '1+' - ), - 'PROPER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::PROPERCASE', - 'argumentCount' => '1' - ), - 'PV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PV', - 'argumentCount' => '3-5' - ), - 'QUARTILE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::QUARTILE', - 'argumentCount' => '2' - ), - 'QUOTIENT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::QUOTIENT', - 'argumentCount' => '2' - ), - 'RADIANS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'deg2rad', - 'argumentCount' => '1' - ), - 'RAND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::RAND', - 'argumentCount' => '0' - ), - 'RANDBETWEEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::RAND', - 'argumentCount' => '2' - ), - 'RANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::RANK', - 'argumentCount' => '2,3' - ), - 'RATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::RATE', - 'argumentCount' => '3-6' - ), - 'RECEIVED' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::RECEIVED', - 'argumentCount' => '4-5' - ), - 'REPLACE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::REPLACE', - 'argumentCount' => '4' - ), - 'REPLACEB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::REPLACE', - 'argumentCount' => '4' - ), - 'REPT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'str_repeat', - 'argumentCount' => '2' - ), - 'RIGHT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::RIGHT', - 'argumentCount' => '1,2' - ), - 'RIGHTB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::RIGHT', - 'argumentCount' => '1,2' - ), - 'ROMAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ROMAN', - 'argumentCount' => '1,2' - ), - 'ROUND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'round', - 'argumentCount' => '2' - ), - 'ROUNDDOWN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ROUNDDOWN', - 'argumentCount' => '2' - ), - 'ROUNDUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ROUNDUP', - 'argumentCount' => '2' - ), - 'ROW' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::ROW', - 'argumentCount' => '-1', - 'passByReference' => array(TRUE) - ), - 'ROWS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::ROWS', - 'argumentCount' => '1' - ), - 'RSQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::RSQ', - 'argumentCount' => '2' - ), - 'RTD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1+' - ), - 'SEARCH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHINSENSITIVE', - 'argumentCount' => '2,3' - ), - 'SEARCHB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHINSENSITIVE', - 'argumentCount' => '2,3' - ), - 'SECOND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::SECONDOFMINUTE', - 'argumentCount' => '1' - ), - 'SERIESSUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SERIESSUM', - 'argumentCount' => '4' - ), - 'SIGN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SIGN', - 'argumentCount' => '1' - ), - 'SIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'sin', - 'argumentCount' => '1' - ), - 'SINH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'sinh', - 'argumentCount' => '1' - ), - 'SKEW' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::SKEW', - 'argumentCount' => '1+' - ), - 'SLN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::SLN', - 'argumentCount' => '3' - ), - 'SLOPE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::SLOPE', - 'argumentCount' => '2' - ), - 'SMALL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::SMALL', - 'argumentCount' => '2' - ), - 'SQRT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'sqrt', - 'argumentCount' => '1' - ), - 'SQRTPI' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SQRTPI', - 'argumentCount' => '1' - ), - 'STANDARDIZE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STANDARDIZE', - 'argumentCount' => '3' - ), - 'STDEV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEV', - 'argumentCount' => '1+' - ), - 'STDEVA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVA', - 'argumentCount' => '1+' - ), - 'STDEVP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVP', - 'argumentCount' => '1+' - ), - 'STDEVPA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVPA', - 'argumentCount' => '1+' - ), - 'STEYX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STEYX', - 'argumentCount' => '2' - ), - 'SUBSTITUTE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SUBSTITUTE', - 'argumentCount' => '3,4' - ), - 'SUBTOTAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUBTOTAL', - 'argumentCount' => '2+' - ), - 'SUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUM', - 'argumentCount' => '1+' - ), - 'SUMIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMIF', - 'argumentCount' => '2,3' - ), - 'SUMIFS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'SUMPRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMPRODUCT', - 'argumentCount' => '1+' - ), - 'SUMSQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMSQ', - 'argumentCount' => '1+' - ), - 'SUMX2MY2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMX2MY2', - 'argumentCount' => '2' - ), - 'SUMX2PY2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMX2PY2', - 'argumentCount' => '2' - ), - 'SUMXMY2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMXMY2', - 'argumentCount' => '2' - ), - 'SYD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::SYD', - 'argumentCount' => '4' - ), - 'T' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::RETURNSTRING', - 'argumentCount' => '1' - ), - 'TAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'tan', - 'argumentCount' => '1' - ), - 'TANH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'tanh', - 'argumentCount' => '1' - ), - 'TBILLEQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::TBILLEQ', - 'argumentCount' => '3' - ), - 'TBILLPRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::TBILLPRICE', - 'argumentCount' => '3' - ), - 'TBILLYIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::TBILLYIELD', - 'argumentCount' => '3' - ), - 'TDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TDIST', - 'argumentCount' => '3' - ), - 'TEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::TEXTFORMAT', - 'argumentCount' => '2' - ), - 'TIME' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::TIME', - 'argumentCount' => '3' - ), - 'TIMEVALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::TIMEVALUE', - 'argumentCount' => '1' - ), - 'TINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TINV', - 'argumentCount' => '2' - ), - 'TODAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATENOW', - 'argumentCount' => '0' - ), - 'TRANSPOSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::TRANSPOSE', - 'argumentCount' => '1' - ), - 'TREND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TREND', - 'argumentCount' => '1-4' - ), - 'TRIM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::TRIMSPACES', - 'argumentCount' => '1' - ), - 'TRIMMEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TRIMMEAN', - 'argumentCount' => '2' - ), - 'TRUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::TRUE', - 'argumentCount' => '0' - ), - 'TRUNC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::TRUNC', - 'argumentCount' => '1,2' - ), - 'TTEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '4' - ), - 'TYPE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::TYPE', - 'argumentCount' => '1' - ), - 'UPPER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::UPPERCASE', - 'argumentCount' => '1' - ), - 'USDOLLAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'VALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::VALUE', - 'argumentCount' => '1' - ), - 'VAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARFunc', - 'argumentCount' => '1+' - ), - 'VARA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARA', - 'argumentCount' => '1+' - ), - 'VARP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARP', - 'argumentCount' => '1+' - ), - 'VARPA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARPA', - 'argumentCount' => '1+' - ), - 'VDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '5-7' - ), - 'VERSION' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::VERSION', - 'argumentCount' => '0' - ), - 'VLOOKUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::VLOOKUP', - 'argumentCount' => '3,4' - ), - 'WEEKDAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DAYOFWEEK', - 'argumentCount' => '1,2' - ), - 'WEEKNUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::WEEKOFYEAR', - 'argumentCount' => '1,2' - ), - 'WEIBULL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::WEIBULL', - 'argumentCount' => '4' - ), - 'WORKDAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::WORKDAY', - 'argumentCount' => '2+' - ), - 'XIRR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::XIRR', - 'argumentCount' => '2,3' - ), - 'XNPV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::XNPV', - 'argumentCount' => '3' - ), - 'YEAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::YEAR', - 'argumentCount' => '1' - ), - 'YEARFRAC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::YEARFRAC', - 'argumentCount' => '2,3' - ), - 'YIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '6,7' - ), - 'YIELDDISC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::YIELDDISC', - 'argumentCount' => '4,5' - ), - 'YIELDMAT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::YIELDMAT', - 'argumentCount' => '5,6' - ), - 'ZTEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::ZTEST', - 'argumentCount' => '2-3' - ) - ); - - - // Internal functions used for special control purposes - private static $_controlFunctions = array( - 'MKMATRIX' => array('argumentCount' => '*', - 'functionCall' => 'self::_mkMatrix' - ) - ); - - - - - private function __construct(PHPExcel $workbook = NULL) { - $setPrecision = (PHP_INT_SIZE == 4) ? 14 : 16; - $this->_savedPrecision = ini_get('precision'); - if ($this->_savedPrecision < $setPrecision) { - ini_set('precision',$setPrecision); - } - - if ($workbook !== NULL) { - self::$_workbookSets[$workbook->getID()] = $this; - } - - $this->_workbook = $workbook; - $this->_cyclicReferenceStack = new PHPExcel_CalcEngine_CyclicReferenceStack(); - $this->_debugLog = new PHPExcel_CalcEngine_Logger($this->_cyclicReferenceStack); - } // function __construct() - - - public function __destruct() { - if ($this->_savedPrecision != ini_get('precision')) { - ini_set('precision',$this->_savedPrecision); - } - } - - private static function _loadLocales() { - $localeFileDirectory = PHPEXCEL_ROOT.'PHPExcel/locale/'; - foreach (glob($localeFileDirectory.'/*',GLOB_ONLYDIR) as $filename) { - $filename = substr($filename,strlen($localeFileDirectory)+1); - if ($filename != 'en') { - self::$_validLocaleLanguages[] = $filename; - } - } - } - - /** - * Get an instance of this class - * - * @access public - * @param PHPExcel $workbook Injected workbook for working with a PHPExcel object, - * or NULL to create a standalone claculation engine - * @return PHPExcel_Calculation - */ - public static function getInstance(PHPExcel $workbook = NULL) { - if ($workbook !== NULL) { - if (isset(self::$_workbookSets[$workbook->getID()])) { - return self::$_workbookSets[$workbook->getID()]; - } - return new PHPExcel_Calculation($workbook); - } - - if (!isset(self::$_instance) || (self::$_instance === NULL)) { - self::$_instance = new PHPExcel_Calculation(); - } - - return self::$_instance; - } // function getInstance() - - /** - * Unset an instance of this class - * - * @access public - * @param PHPExcel $workbook Injected workbook identifying the instance to unset - */ - public static function unsetInstance(PHPExcel $workbook = NULL) { - if ($workbook !== NULL) { - if (isset(self::$_workbookSets[$workbook->getID()])) { - unset(self::$_workbookSets[$workbook->getID()]); - } - } - } - - /** - * Flush the calculation cache for any existing instance of this class - * but only if a PHPExcel_Calculation instance exists - * - * @access public - * @return null - */ - public function flushInstance() { - $this->clearCalculationCache(); - } // function flushInstance() - - - /** - * Get the debuglog for this claculation engine instance - * - * @access public - * @return PHPExcel_CalcEngine_Logger - */ - public function getDebugLog() { - return $this->_debugLog; - } - - /** - * __clone implementation. Cloning should not be allowed in a Singleton! - * - * @access public - * @throws PHPExcel_Calculation_Exception - */ - public final function __clone() { - throw new PHPExcel_Calculation_Exception ('Cloning the calculation engine is not allowed!'); - } // function __clone() - - - /** - * Return the locale-specific translation of TRUE - * - * @access public - * @return string locale-specific translation of TRUE - */ - public static function getTRUE() { - return self::$_localeBoolean['TRUE']; - } - - /** - * Return the locale-specific translation of FALSE - * - * @access public - * @return string locale-specific translation of FALSE - */ - public static function getFALSE() { - return self::$_localeBoolean['FALSE']; - } - - /** - * Set the Array Return Type (Array or Value of first element in the array) - * - * @access public - * @param string $returnType Array return type - * @return boolean Success or failure - */ - public static function setArrayReturnType($returnType) { - if (($returnType == self::RETURN_ARRAY_AS_VALUE) || - ($returnType == self::RETURN_ARRAY_AS_ERROR) || - ($returnType == self::RETURN_ARRAY_AS_ARRAY)) { - self::$returnArrayAsType = $returnType; - return TRUE; - } - return FALSE; - } // function setArrayReturnType() - - - /** - * Return the Array Return Type (Array or Value of first element in the array) - * - * @access public - * @return string $returnType Array return type - */ - public static function getArrayReturnType() { - return self::$returnArrayAsType; - } // function getArrayReturnType() - - - /** - * Is calculation caching enabled? - * - * @access public - * @return boolean - */ - public function getCalculationCacheEnabled() { - return $this->_calculationCacheEnabled; - } // function getCalculationCacheEnabled() - - /** - * Enable/disable calculation cache - * - * @access public - * @param boolean $pValue - */ - public function setCalculationCacheEnabled($pValue = TRUE) { - $this->_calculationCacheEnabled = $pValue; - $this->clearCalculationCache(); - } // function setCalculationCacheEnabled() - - - /** - * Enable calculation cache - */ - public function enableCalculationCache() { - $this->setCalculationCacheEnabled(TRUE); - } // function enableCalculationCache() - - - /** - * Disable calculation cache - */ - public function disableCalculationCache() { - $this->setCalculationCacheEnabled(FALSE); - } // function disableCalculationCache() - - - /** - * Clear calculation cache - */ - public function clearCalculationCache() { - $this->_calculationCache = array(); - } // function clearCalculationCache() - - /** - * Clear calculation cache for a specified worksheet - * - * @param string $worksheetName - */ - public function clearCalculationCacheForWorksheet($worksheetName) { - if (isset($this->_calculationCache[$worksheetName])) { - unset($this->_calculationCache[$worksheetName]); - } - } // function clearCalculationCacheForWorksheet() - - /** - * Rename calculation cache for a specified worksheet - * - * @param string $fromWorksheetName - * @param string $toWorksheetName - */ - public function renameCalculationCacheForWorksheet($fromWorksheetName, $toWorksheetName) { - if (isset($this->_calculationCache[$fromWorksheetName])) { - $this->_calculationCache[$toWorksheetName] = &$this->_calculationCache[$fromWorksheetName]; - unset($this->_calculationCache[$fromWorksheetName]); - } - } // function renameCalculationCacheForWorksheet() - - - /** - * Get the currently defined locale code - * - * @return string - */ - public function getLocale() { - return self::$_localeLanguage; - } // function getLocale() - - - /** - * Set the locale code - * - * @param string $locale The locale to use for formula translation - * @return boolean - */ - public function setLocale($locale = 'en_us') { - // Identify our locale and language - $language = $locale = strtolower($locale); - if (strpos($locale,'_') !== FALSE) { - list($language) = explode('_',$locale); - } - - if (count(self::$_validLocaleLanguages) == 1) - self::_loadLocales(); - - // Test whether we have any language data for this language (any locale) - if (in_array($language,self::$_validLocaleLanguages)) { - // initialise language/locale settings - self::$_localeFunctions = array(); - self::$_localeArgumentSeparator = ','; - self::$_localeBoolean = array('TRUE' => 'TRUE', 'FALSE' => 'FALSE', 'NULL' => 'NULL'); - // Default is English, if user isn't requesting english, then read the necessary data from the locale files - if ($locale != 'en_us') { - // Search for a file with a list of function names for locale - $functionNamesFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.str_replace('_',DIRECTORY_SEPARATOR,$locale).DIRECTORY_SEPARATOR.'functions'; - if (!file_exists($functionNamesFile)) { - // If there isn't a locale specific function file, look for a language specific function file - $functionNamesFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.'functions'; - if (!file_exists($functionNamesFile)) { - return FALSE; - } - } - // Retrieve the list of locale or language specific function names - $localeFunctions = file($functionNamesFile,FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); - foreach ($localeFunctions as $localeFunction) { - list($localeFunction) = explode('##',$localeFunction); // Strip out comments - if (strpos($localeFunction,'=') !== FALSE) { - list($fName,$lfName) = explode('=',$localeFunction); - $fName = trim($fName); - $lfName = trim($lfName); - if ((isset(self::$_PHPExcelFunctions[$fName])) && ($lfName != '') && ($fName != $lfName)) { - self::$_localeFunctions[$fName] = $lfName; - } - } - } - // Default the TRUE and FALSE constants to the locale names of the TRUE() and FALSE() functions - if (isset(self::$_localeFunctions['TRUE'])) { self::$_localeBoolean['TRUE'] = self::$_localeFunctions['TRUE']; } - if (isset(self::$_localeFunctions['FALSE'])) { self::$_localeBoolean['FALSE'] = self::$_localeFunctions['FALSE']; } - - $configFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.str_replace('_',DIRECTORY_SEPARATOR,$locale).DIRECTORY_SEPARATOR.'config'; - if (!file_exists($configFile)) { - $configFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.'config'; - } - if (file_exists($configFile)) { - $localeSettings = file($configFile,FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); - foreach ($localeSettings as $localeSetting) { - list($localeSetting) = explode('##',$localeSetting); // Strip out comments - if (strpos($localeSetting,'=') !== FALSE) { - list($settingName,$settingValue) = explode('=',$localeSetting); - $settingName = strtoupper(trim($settingName)); - switch ($settingName) { - case 'ARGUMENTSEPARATOR' : - self::$_localeArgumentSeparator = trim($settingValue); - break; - } - } - } - } - } - - self::$functionReplaceFromExcel = self::$functionReplaceToExcel = - self::$functionReplaceFromLocale = self::$functionReplaceToLocale = NULL; - self::$_localeLanguage = $locale; - return TRUE; - } - return FALSE; - } // function setLocale() - - - - public static function _translateSeparator($fromSeparator,$toSeparator,$formula,&$inBraces) { - $strlen = mb_strlen($formula); - for ($i = 0; $i < $strlen; ++$i) { - $chr = mb_substr($formula,$i,1); - switch ($chr) { - case '{' : $inBraces = TRUE; - break; - case '}' : $inBraces = FALSE; - break; - case $fromSeparator : - if (!$inBraces) { - $formula = mb_substr($formula,0,$i).$toSeparator.mb_substr($formula,$i+1); - } - } - } - return $formula; - } - - private static function _translateFormula($from,$to,$formula,$fromSeparator,$toSeparator) { - // Convert any Excel function names to the required language - if (self::$_localeLanguage !== 'en_us') { - $inBraces = FALSE; - // If there is the possibility of braces within a quoted string, then we don't treat those as matrix indicators - if (strpos($formula,'"') !== FALSE) { - // So instead we skip replacing in any quoted strings by only replacing in every other array element after we've exploded - // the formula - $temp = explode('"',$formula); - $i = FALSE; - foreach($temp as &$value) { - // Only count/replace in alternating array entries - if ($i = !$i) { - $value = preg_replace($from,$to,$value); - $value = self::_translateSeparator($fromSeparator,$toSeparator,$value,$inBraces); - } - } - unset($value); - // Then rebuild the formula string - $formula = implode('"',$temp); - } else { - // If there's no quoted strings, then we do a simple count/replace - $formula = preg_replace($from,$to,$formula); - $formula = self::_translateSeparator($fromSeparator,$toSeparator,$formula,$inBraces); - } - } - - return $formula; - } - - private static $functionReplaceFromExcel = NULL; - private static $functionReplaceToLocale = NULL; - - public function _translateFormulaToLocale($formula) { - if (self::$functionReplaceFromExcel === NULL) { - self::$functionReplaceFromExcel = array(); - foreach(array_keys(self::$_localeFunctions) as $excelFunctionName) { - self::$functionReplaceFromExcel[] = '/(@?[^\w\.])'.preg_quote($excelFunctionName).'([\s]*\()/Ui'; - } - foreach(array_keys(self::$_localeBoolean) as $excelBoolean) { - self::$functionReplaceFromExcel[] = '/(@?[^\w\.])'.preg_quote($excelBoolean).'([^\w\.])/Ui'; - } - - } - - if (self::$functionReplaceToLocale === NULL) { - self::$functionReplaceToLocale = array(); - foreach(array_values(self::$_localeFunctions) as $localeFunctionName) { - self::$functionReplaceToLocale[] = '$1'.trim($localeFunctionName).'$2'; - } - foreach(array_values(self::$_localeBoolean) as $localeBoolean) { - self::$functionReplaceToLocale[] = '$1'.trim($localeBoolean).'$2'; - } - } - - return self::_translateFormula(self::$functionReplaceFromExcel,self::$functionReplaceToLocale,$formula,',',self::$_localeArgumentSeparator); - } // function _translateFormulaToLocale() - - - private static $functionReplaceFromLocale = NULL; - private static $functionReplaceToExcel = NULL; - - public function _translateFormulaToEnglish($formula) { - if (self::$functionReplaceFromLocale === NULL) { - self::$functionReplaceFromLocale = array(); - foreach(array_values(self::$_localeFunctions) as $localeFunctionName) { - self::$functionReplaceFromLocale[] = '/(@?[^\w\.])'.preg_quote($localeFunctionName).'([\s]*\()/Ui'; - } - foreach(array_values(self::$_localeBoolean) as $excelBoolean) { - self::$functionReplaceFromLocale[] = '/(@?[^\w\.])'.preg_quote($excelBoolean).'([^\w\.])/Ui'; - } - } - - if (self::$functionReplaceToExcel === NULL) { - self::$functionReplaceToExcel = array(); - foreach(array_keys(self::$_localeFunctions) as $excelFunctionName) { - self::$functionReplaceToExcel[] = '$1'.trim($excelFunctionName).'$2'; - } - foreach(array_keys(self::$_localeBoolean) as $excelBoolean) { - self::$functionReplaceToExcel[] = '$1'.trim($excelBoolean).'$2'; - } - } - - return self::_translateFormula(self::$functionReplaceFromLocale,self::$functionReplaceToExcel,$formula,self::$_localeArgumentSeparator,','); - } // function _translateFormulaToEnglish() - - - public static function _localeFunc($function) { - if (self::$_localeLanguage !== 'en_us') { - $functionName = trim($function,'('); - if (isset(self::$_localeFunctions[$functionName])) { - $brace = ($functionName != $function); - $function = self::$_localeFunctions[$functionName]; - if ($brace) { $function .= '('; } - } - } - return $function; - } - - - - - /** - * Wrap string values in quotes - * - * @param mixed $value - * @return mixed - */ - public static function _wrapResult($value) { - if (is_string($value)) { - // Error values cannot be "wrapped" - if (preg_match('/^'.self::CALCULATION_REGEXP_ERROR.'$/i', $value, $match)) { - // Return Excel errors "as is" - return $value; - } - // Return strings wrapped in quotes - return '"'.$value.'"'; - // Convert numeric errors to NaN error - } else if((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return $value; - } // function _wrapResult() - - - /** - * Remove quotes used as a wrapper to identify string values - * - * @param mixed $value - * @return mixed - */ - public static function _unwrapResult($value) { - if (is_string($value)) { - if ((isset($value{0})) && ($value{0} == '"') && (substr($value,-1) == '"')) { - return substr($value,1,-1); - } - // Convert numeric errors to NaN error - } else if((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) { - return PHPExcel_Calculation_Functions::NaN(); - } - return $value; - } // function _unwrapResult() - - - - - /** - * Calculate cell value (using formula from a cell ID) - * Retained for backward compatibility - * - * @access public - * @param PHPExcel_Cell $pCell Cell to calculate - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function calculate(PHPExcel_Cell $pCell = NULL) { - try { - return $this->calculateCellValue($pCell); - } catch (PHPExcel_Exception $e) { - throw new PHPExcel_Calculation_Exception($e->getMessage()); - } - } // function calculate() - - - /** - * Calculate the value of a cell formula - * - * @access public - * @param PHPExcel_Cell $pCell Cell to calculate - * @param Boolean $resetLog Flag indicating whether the debug log should be reset or not - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function calculateCellValue(PHPExcel_Cell $pCell = NULL, $resetLog = TRUE) { - if ($pCell === NULL) { - return NULL; - } - - $returnArrayAsType = self::$returnArrayAsType; - if ($resetLog) { - // Initialise the logging settings if requested - $this->formulaError = null; - $this->_debugLog->clearLog(); - $this->_cyclicReferenceStack->clear(); - $this->_cyclicFormulaCount = 1; - - self::$returnArrayAsType = self::RETURN_ARRAY_AS_ARRAY; - } - - // Execute the calculation for the cell formula - $this->_cellStack[] = array( - 'sheet' => $pCell->getWorksheet()->getTitle(), - 'cell' => $pCell->getCoordinate(), - ); - try { - $result = self::_unwrapResult($this->_calculateFormulaValue($pCell->getValue(), $pCell->getCoordinate(), $pCell)); - $cellAddress = array_pop($this->_cellStack); - $this->_workbook->getSheetByName($cellAddress['sheet'])->getCell($cellAddress['cell']); - } catch (PHPExcel_Exception $e) { - $cellAddress = array_pop($this->_cellStack); - $this->_workbook->getSheetByName($cellAddress['sheet'])->getCell($cellAddress['cell']); - throw new PHPExcel_Calculation_Exception($e->getMessage()); - } - - if ((is_array($result)) && (self::$returnArrayAsType != self::RETURN_ARRAY_AS_ARRAY)) { - self::$returnArrayAsType = $returnArrayAsType; - $testResult = PHPExcel_Calculation_Functions::flattenArray($result); - if (self::$returnArrayAsType == self::RETURN_ARRAY_AS_ERROR) { - return PHPExcel_Calculation_Functions::VALUE(); - } - // If there's only a single cell in the array, then we allow it - if (count($testResult) != 1) { - // If keys are numeric, then it's a matrix result rather than a cell range result, so we permit it - $r = array_keys($result); - $r = array_shift($r); - if (!is_numeric($r)) { return PHPExcel_Calculation_Functions::VALUE(); } - if (is_array($result[$r])) { - $c = array_keys($result[$r]); - $c = array_shift($c); - if (!is_numeric($c)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - } - $result = array_shift($testResult); - } - self::$returnArrayAsType = $returnArrayAsType; - - - if ($result === NULL) { - return 0; - } elseif((is_float($result)) && ((is_nan($result)) || (is_infinite($result)))) { - return PHPExcel_Calculation_Functions::NaN(); - } - return $result; - } // function calculateCellValue( - - - /** - * Validate and parse a formula string - * - * @param string $formula Formula to parse - * @return array - * @throws PHPExcel_Calculation_Exception - */ - public function parseFormula($formula) { - // Basic validation that this is indeed a formula - // We return an empty array if not - $formula = trim($formula); - if ((!isset($formula{0})) || ($formula{0} != '=')) return array(); - $formula = ltrim(substr($formula,1)); - if (!isset($formula{0})) return array(); - - // Parse the formula and return the token stack - return $this->_parseFormula($formula); - } // function parseFormula() - - - /** - * Calculate the value of a formula - * - * @param string $formula Formula to parse - * @param string $cellID Address of the cell to calculate - * @param PHPExcel_Cell $pCell Cell to calculate - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function calculateFormula($formula, $cellID=NULL, PHPExcel_Cell $pCell = NULL) { - // Initialise the logging settings - $this->formulaError = null; - $this->_debugLog->clearLog(); - $this->_cyclicReferenceStack->clear(); - - // Disable calculation cacheing because it only applies to cell calculations, not straight formulae - // But don't actually flush any cache - $resetCache = $this->getCalculationCacheEnabled(); - $this->_calculationCacheEnabled = FALSE; - // Execute the calculation - try { - $result = self::_unwrapResult($this->_calculateFormulaValue($formula, $cellID, $pCell)); - } catch (PHPExcel_Exception $e) { - throw new PHPExcel_Calculation_Exception($e->getMessage()); - } - - // Reset calculation cacheing to its previous state - $this->_calculationCacheEnabled = $resetCache; - - return $result; - } // function calculateFormula() - - - public function getValueFromCache($worksheetName, $cellID, &$cellValue) { - // Is calculation cacheing enabled? - // Is the value present in calculation cache? -//echo 'Test cache for ',$worksheetName,'!',$cellID,PHP_EOL; - $this->_debugLog->writeDebugLog('Testing cache value for cell ', $worksheetName, '!', $cellID); - if (($this->_calculationCacheEnabled) && (isset($this->_calculationCache[$worksheetName][$cellID]))) { -//echo 'Retrieve from cache',PHP_EOL; - $this->_debugLog->writeDebugLog('Retrieving value for cell ', $worksheetName, '!', $cellID, ' from cache'); - // Return the cached result - $cellValue = $this->_calculationCache[$worksheetName][$cellID]; - return TRUE; - } - return FALSE; - } - - public function saveValueToCache($worksheetName, $cellID, $cellValue) { - if ($this->_calculationCacheEnabled) { - $this->_calculationCache[$worksheetName][$cellID] = $cellValue; - } - } - - /** - * Parse a cell formula and calculate its value - * - * @param string $formula The formula to parse and calculate - * @param string $cellID The ID (e.g. A3) of the cell that we are calculating - * @param PHPExcel_Cell $pCell Cell to calculate - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function _calculateFormulaValue($formula, $cellID=null, PHPExcel_Cell $pCell = null) { - $cellValue = null; - - // Basic validation that this is indeed a formula - // We simply return the cell value if not - $formula = trim($formula); - if ($formula{0} != '=') return self::_wrapResult($formula); - $formula = ltrim(substr($formula, 1)); - if (!isset($formula{0})) return self::_wrapResult($formula); - - $pCellParent = ($pCell !== NULL) ? $pCell->getWorksheet() : NULL; - $wsTitle = ($pCellParent !== NULL) ? $pCellParent->getTitle() : "\x00Wrk"; - - if (($cellID !== NULL) && ($this->getValueFromCache($wsTitle, $cellID, $cellValue))) { - return $cellValue; - } - - if (($wsTitle{0} !== "\x00") && ($this->_cyclicReferenceStack->onStack($wsTitle.'!'.$cellID))) { - if ($this->cyclicFormulaCount <= 0) { - $this->_cyclicFormulaCell = ''; - return $this->_raiseFormulaError('Cyclic Reference in Formula'); - } elseif (($this->_cyclicFormulaCount >= $this->cyclicFormulaCount) && - ($this->_cyclicFormulaCell == $wsTitle.'!'.$cellID)) { - $this->_cyclicFormulaCell = ''; - return $cellValue; - } elseif ($this->_cyclicFormulaCell == $wsTitle.'!'.$cellID) { - ++$this->_cyclicFormulaCount; - if ($this->_cyclicFormulaCount >= $this->cyclicFormulaCount) { - $this->_cyclicFormulaCell = ''; - return $cellValue; - } - } elseif ($this->_cyclicFormulaCell == '') { - if ($this->_cyclicFormulaCount >= $this->cyclicFormulaCount) { - return $cellValue; - } - $this->_cyclicFormulaCell = $wsTitle.'!'.$cellID; - } - } - - // Parse the formula onto the token stack and calculate the value - $this->_cyclicReferenceStack->push($wsTitle.'!'.$cellID); - $cellValue = $this->_processTokenStack($this->_parseFormula($formula, $pCell), $cellID, $pCell); - $this->_cyclicReferenceStack->pop(); - - // Save to calculation cache - if ($cellID !== NULL) { - $this->saveValueToCache($wsTitle, $cellID, $cellValue); - } - - // Return the calculated value - return $cellValue; - } // function _calculateFormulaValue() - - - /** - * Ensure that paired matrix operands are both matrices and of the same size - * - * @param mixed &$operand1 First matrix operand - * @param mixed &$operand2 Second matrix operand - * @param integer $resize Flag indicating whether the matrices should be resized to match - * and (if so), whether the smaller dimension should grow or the - * larger should shrink. - * 0 = no resize - * 1 = shrink to fit - * 2 = extend to fit - */ - private static function _checkMatrixOperands(&$operand1,&$operand2,$resize = 1) { - // Examine each of the two operands, and turn them into an array if they aren't one already - // Note that this function should only be called if one or both of the operand is already an array - if (!is_array($operand1)) { - list($matrixRows,$matrixColumns) = self::_getMatrixDimensions($operand2); - $operand1 = array_fill(0,$matrixRows,array_fill(0,$matrixColumns,$operand1)); - $resize = 0; - } elseif (!is_array($operand2)) { - list($matrixRows,$matrixColumns) = self::_getMatrixDimensions($operand1); - $operand2 = array_fill(0,$matrixRows,array_fill(0,$matrixColumns,$operand2)); - $resize = 0; - } - - list($matrix1Rows,$matrix1Columns) = self::_getMatrixDimensions($operand1); - list($matrix2Rows,$matrix2Columns) = self::_getMatrixDimensions($operand2); - if (($matrix1Rows == $matrix2Columns) && ($matrix2Rows == $matrix1Columns)) { - $resize = 1; - } - - if ($resize == 2) { - // Given two matrices of (potentially) unequal size, convert the smaller in each dimension to match the larger - self::_resizeMatricesExtend($operand1,$operand2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns); - } elseif ($resize == 1) { - // Given two matrices of (potentially) unequal size, convert the larger in each dimension to match the smaller - self::_resizeMatricesShrink($operand1,$operand2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns); - } - return array( $matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns); - } // function _checkMatrixOperands() - - - /** - * Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0 - * - * @param mixed &$matrix matrix operand - * @return array An array comprising the number of rows, and number of columns - */ - public static function _getMatrixDimensions(&$matrix) { - $matrixRows = count($matrix); - $matrixColumns = 0; - foreach($matrix as $rowKey => $rowValue) { - $matrixColumns = max(count($rowValue),$matrixColumns); - if (!is_array($rowValue)) { - $matrix[$rowKey] = array($rowValue); - } else { - $matrix[$rowKey] = array_values($rowValue); - } - } - $matrix = array_values($matrix); - return array($matrixRows,$matrixColumns); - } // function _getMatrixDimensions() - - - /** - * Ensure that paired matrix operands are both matrices of the same size - * - * @param mixed &$matrix1 First matrix operand - * @param mixed &$matrix2 Second matrix operand - * @param integer $matrix1Rows Row size of first matrix operand - * @param integer $matrix1Columns Column size of first matrix operand - * @param integer $matrix2Rows Row size of second matrix operand - * @param integer $matrix2Columns Column size of second matrix operand - */ - private static function _resizeMatricesShrink(&$matrix1,&$matrix2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns) { - if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) { - if ($matrix2Rows < $matrix1Rows) { - for ($i = $matrix2Rows; $i < $matrix1Rows; ++$i) { - unset($matrix1[$i]); - } - } - if ($matrix2Columns < $matrix1Columns) { - for ($i = 0; $i < $matrix1Rows; ++$i) { - for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) { - unset($matrix1[$i][$j]); - } - } - } - } - - if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) { - if ($matrix1Rows < $matrix2Rows) { - for ($i = $matrix1Rows; $i < $matrix2Rows; ++$i) { - unset($matrix2[$i]); - } - } - if ($matrix1Columns < $matrix2Columns) { - for ($i = 0; $i < $matrix2Rows; ++$i) { - for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) { - unset($matrix2[$i][$j]); - } - } - } - } - } // function _resizeMatricesShrink() - - - /** - * Ensure that paired matrix operands are both matrices of the same size - * - * @param mixed &$matrix1 First matrix operand - * @param mixed &$matrix2 Second matrix operand - * @param integer $matrix1Rows Row size of first matrix operand - * @param integer $matrix1Columns Column size of first matrix operand - * @param integer $matrix2Rows Row size of second matrix operand - * @param integer $matrix2Columns Column size of second matrix operand - */ - private static function _resizeMatricesExtend(&$matrix1,&$matrix2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns) { - if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) { - if ($matrix2Columns < $matrix1Columns) { - for ($i = 0; $i < $matrix2Rows; ++$i) { - $x = $matrix2[$i][$matrix2Columns-1]; - for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) { - $matrix2[$i][$j] = $x; - } - } - } - if ($matrix2Rows < $matrix1Rows) { - $x = $matrix2[$matrix2Rows-1]; - for ($i = 0; $i < $matrix1Rows; ++$i) { - $matrix2[$i] = $x; - } - } - } - - if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) { - if ($matrix1Columns < $matrix2Columns) { - for ($i = 0; $i < $matrix1Rows; ++$i) { - $x = $matrix1[$i][$matrix1Columns-1]; - for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) { - $matrix1[$i][$j] = $x; - } - } - } - if ($matrix1Rows < $matrix2Rows) { - $x = $matrix1[$matrix1Rows-1]; - for ($i = 0; $i < $matrix2Rows; ++$i) { - $matrix1[$i] = $x; - } - } - } - } // function _resizeMatricesExtend() - - - /** - * Format details of an operand for display in the log (based on operand type) - * - * @param mixed $value First matrix operand - * @return mixed - */ - private function _showValue($value) { - if ($this->_debugLog->getWriteDebugLog()) { - $testArray = PHPExcel_Calculation_Functions::flattenArray($value); - if (count($testArray) == 1) { - $value = array_pop($testArray); - } - - if (is_array($value)) { - $returnMatrix = array(); - $pad = $rpad = ', '; - foreach($value as $row) { - if (is_array($row)) { - $returnMatrix[] = implode($pad,array_map(array($this,'_showValue'),$row)); - $rpad = '; '; - } else { - $returnMatrix[] = $this->_showValue($row); - } - } - return '{ '.implode($rpad,$returnMatrix).' }'; - } elseif(is_string($value) && (trim($value,'"') == $value)) { - return '"'.$value.'"'; - } elseif(is_bool($value)) { - return ($value) ? self::$_localeBoolean['TRUE'] : self::$_localeBoolean['FALSE']; - } - } - return PHPExcel_Calculation_Functions::flattenSingleValue($value); - } // function _showValue() - - - /** - * Format type and details of an operand for display in the log (based on operand type) - * - * @param mixed $value First matrix operand - * @return mixed - */ - private function _showTypeDetails($value) { - if ($this->_debugLog->getWriteDebugLog()) { - $testArray = PHPExcel_Calculation_Functions::flattenArray($value); - if (count($testArray) == 1) { - $value = array_pop($testArray); - } - - if ($value === NULL) { - return 'a NULL value'; - } elseif (is_float($value)) { - $typeString = 'a floating point number'; - } elseif(is_int($value)) { - $typeString = 'an integer number'; - } elseif(is_bool($value)) { - $typeString = 'a boolean'; - } elseif(is_array($value)) { - $typeString = 'a matrix'; - } else { - if ($value == '') { - return 'an empty string'; - } elseif ($value{0} == '#') { - return 'a '.$value.' error'; - } else { - $typeString = 'a string'; - } - } - return $typeString.' with a value of '.$this->_showValue($value); - } - } // function _showTypeDetails() - - - private function _convertMatrixReferences($formula) { - static $matrixReplaceFrom = array('{',';','}'); - static $matrixReplaceTo = array('MKMATRIX(MKMATRIX(','),MKMATRIX(','))'); - - // Convert any Excel matrix references to the MKMATRIX() function - if (strpos($formula,'{') !== FALSE) { - // If there is the possibility of braces within a quoted string, then we don't treat those as matrix indicators - if (strpos($formula,'"') !== FALSE) { - // So instead we skip replacing in any quoted strings by only replacing in every other array element after we've exploded - // the formula - $temp = explode('"',$formula); - // Open and Closed counts used for trapping mismatched braces in the formula - $openCount = $closeCount = 0; - $i = FALSE; - foreach($temp as &$value) { - // Only count/replace in alternating array entries - if ($i = !$i) { - $openCount += substr_count($value,'{'); - $closeCount += substr_count($value,'}'); - $value = str_replace($matrixReplaceFrom,$matrixReplaceTo,$value); - } - } - unset($value); - // Then rebuild the formula string - $formula = implode('"',$temp); - } else { - // If there's no quoted strings, then we do a simple count/replace - $openCount = substr_count($formula,'{'); - $closeCount = substr_count($formula,'}'); - $formula = str_replace($matrixReplaceFrom,$matrixReplaceTo,$formula); - } - // Trap for mismatched braces and trigger an appropriate error - if ($openCount < $closeCount) { - if ($openCount > 0) { - return $this->_raiseFormulaError("Formula Error: Mismatched matrix braces '}'"); - } else { - return $this->_raiseFormulaError("Formula Error: Unexpected '}' encountered"); - } - } elseif ($openCount > $closeCount) { - if ($closeCount > 0) { - return $this->_raiseFormulaError("Formula Error: Mismatched matrix braces '{'"); - } else { - return $this->_raiseFormulaError("Formula Error: Unexpected '{' encountered"); - } - } - } - - return $formula; - } // function _convertMatrixReferences() - - - private static function _mkMatrix() { - return func_get_args(); - } // function _mkMatrix() - - - // Binary Operators - // These operators always work on two values - // Array key is the operator, the value indicates whether this is a left or right associative operator - private static $_operatorAssociativity = array( - '^' => 0, // Exponentiation - '*' => 0, '/' => 0, // Multiplication and Division - '+' => 0, '-' => 0, // Addition and Subtraction - '&' => 0, // Concatenation - '|' => 0, ':' => 0, // Intersect and Range - '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0 // Comparison - ); - - // Comparison (Boolean) Operators - // These operators work on two values, but always return a boolean result - private static $_comparisonOperators = array('>' => TRUE, '<' => TRUE, '=' => TRUE, '>=' => TRUE, '<=' => TRUE, '<>' => TRUE); - - // Operator Precedence - // This list includes all valid operators, whether binary (including boolean) or unary (such as %) - // Array key is the operator, the value is its precedence - private static $_operatorPrecedence = array( - ':' => 8, // Range - '|' => 7, // Intersect - '~' => 6, // Negation - '%' => 5, // Percentage - '^' => 4, // Exponentiation - '*' => 3, '/' => 3, // Multiplication and Division - '+' => 2, '-' => 2, // Addition and Subtraction - '&' => 1, // Concatenation - '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0 // Comparison - ); - - // Convert infix to postfix notation - private function _parseFormula($formula, PHPExcel_Cell $pCell = NULL) { - if (($formula = $this->_convertMatrixReferences(trim($formula))) === FALSE) { - return FALSE; - } - - // If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent worksheet), - // so we store the parent worksheet so that we can re-attach it when necessary - $pCellParent = ($pCell !== NULL) ? $pCell->getWorksheet() : NULL; - - $regexpMatchString = '/^('.self::CALCULATION_REGEXP_FUNCTION. - '|'.self::CALCULATION_REGEXP_CELLREF. - '|'.self::CALCULATION_REGEXP_NUMBER. - '|'.self::CALCULATION_REGEXP_STRING. - '|'.self::CALCULATION_REGEXP_OPENBRACE. - '|'.self::CALCULATION_REGEXP_NAMEDRANGE. - '|'.self::CALCULATION_REGEXP_ERROR. - ')/si'; - - // Start with initialisation - $index = 0; - $stack = new PHPExcel_Calculation_Token_Stack; - $output = array(); - $expectingOperator = FALSE; // We use this test in syntax-checking the expression to determine when a - // - is a negation or + is a positive operator rather than an operation - $expectingOperand = FALSE; // We use this test in syntax-checking the expression to determine whether an operand - // should be null in a function call - // The guts of the lexical parser - // Loop through the formula extracting each operator and operand in turn - while(TRUE) { -//echo 'Assessing Expression '.substr($formula, $index),PHP_EOL; - $opCharacter = $formula{$index}; // Get the first character of the value at the current index position -//echo 'Initial character of expression block is '.$opCharacter,PHP_EOL; - if ((isset(self::$_comparisonOperators[$opCharacter])) && (strlen($formula) > $index) && (isset(self::$_comparisonOperators[$formula{$index+1}]))) { - $opCharacter .= $formula{++$index}; -//echo 'Initial character of expression block is comparison operator '.$opCharacter.PHP_EOL; - } - - // Find out if we're currently at the beginning of a number, variable, cell reference, function, parenthesis or operand - $isOperandOrFunction = preg_match($regexpMatchString, substr($formula, $index), $match); -//echo '$isOperandOrFunction is '.(($isOperandOrFunction) ? 'True' : 'False').PHP_EOL; -//var_dump($match); - - if ($opCharacter == '-' && !$expectingOperator) { // Is it a negation instead of a minus? -//echo 'Element is a Negation operator',PHP_EOL; - $stack->push('Unary Operator','~'); // Put a negation on the stack - ++$index; // and drop the negation symbol - } elseif ($opCharacter == '%' && $expectingOperator) { -//echo 'Element is a Percentage operator',PHP_EOL; - $stack->push('Unary Operator','%'); // Put a percentage on the stack - ++$index; - } elseif ($opCharacter == '+' && !$expectingOperator) { // Positive (unary plus rather than binary operator plus) can be discarded? -//echo 'Element is a Positive number, not Plus operator',PHP_EOL; - ++$index; // Drop the redundant plus symbol - } elseif ((($opCharacter == '~') || ($opCharacter == '|')) && (!$isOperandOrFunction)) { // We have to explicitly deny a tilde or pipe, because they are legal - return $this->_raiseFormulaError("Formula Error: Illegal character '~'"); // on the stack but not in the input expression - - } elseif ((isset(self::$_operators[$opCharacter]) or $isOperandOrFunction) && $expectingOperator) { // Are we putting an operator on the stack? -//echo 'Element with value '.$opCharacter.' is an Operator',PHP_EOL; - while($stack->count() > 0 && - ($o2 = $stack->last()) && - isset(self::$_operators[$o2['value']]) && - @(self::$_operatorAssociativity[$opCharacter] ? self::$_operatorPrecedence[$opCharacter] < self::$_operatorPrecedence[$o2['value']] : self::$_operatorPrecedence[$opCharacter] <= self::$_operatorPrecedence[$o2['value']])) { - $output[] = $stack->pop(); // Swap operands and higher precedence operators from the stack to the output - } - $stack->push('Binary Operator',$opCharacter); // Finally put our current operator onto the stack - ++$index; - $expectingOperator = FALSE; - - } elseif ($opCharacter == ')' && $expectingOperator) { // Are we expecting to close a parenthesis? -//echo 'Element is a Closing bracket',PHP_EOL; - $expectingOperand = FALSE; - while (($o2 = $stack->pop()) && $o2['value'] != '(') { // Pop off the stack back to the last ( - if ($o2 === NULL) return $this->_raiseFormulaError('Formula Error: Unexpected closing brace ")"'); - else $output[] = $o2; - } - $d = $stack->last(2); - if (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $d['value'], $matches)) { // Did this parenthesis just close a function? - $functionName = $matches[1]; // Get the function name -//echo 'Closed Function is '.$functionName,PHP_EOL; - $d = $stack->pop(); - $argumentCount = $d['value']; // See how many arguments there were (argument count is the next value stored on the stack) -//if ($argumentCount == 0) { -// echo 'With no arguments',PHP_EOL; -//} elseif ($argumentCount == 1) { -// echo 'With 1 argument',PHP_EOL; -//} else { -// echo 'With '.$argumentCount.' arguments',PHP_EOL; -//} - $output[] = $d; // Dump the argument count on the output - $output[] = $stack->pop(); // Pop the function and push onto the output - if (isset(self::$_controlFunctions[$functionName])) { -//echo 'Built-in function '.$functionName,PHP_EOL; - $expectedArgumentCount = self::$_controlFunctions[$functionName]['argumentCount']; - $functionCall = self::$_controlFunctions[$functionName]['functionCall']; - } elseif (isset(self::$_PHPExcelFunctions[$functionName])) { -//echo 'PHPExcel function '.$functionName,PHP_EOL; - $expectedArgumentCount = self::$_PHPExcelFunctions[$functionName]['argumentCount']; - $functionCall = self::$_PHPExcelFunctions[$functionName]['functionCall']; - } else { // did we somehow push a non-function on the stack? this should never happen - return $this->_raiseFormulaError("Formula Error: Internal error, non-function on stack"); - } - // Check the argument count - $argumentCountError = FALSE; - if (is_numeric($expectedArgumentCount)) { - if ($expectedArgumentCount < 0) { -//echo '$expectedArgumentCount is between 0 and '.abs($expectedArgumentCount),PHP_EOL; - if ($argumentCount > abs($expectedArgumentCount)) { - $argumentCountError = TRUE; - $expectedArgumentCountString = 'no more than '.abs($expectedArgumentCount); - } - } else { -//echo '$expectedArgumentCount is numeric '.$expectedArgumentCount,PHP_EOL; - if ($argumentCount != $expectedArgumentCount) { - $argumentCountError = TRUE; - $expectedArgumentCountString = $expectedArgumentCount; - } - } - } elseif ($expectedArgumentCount != '*') { - $isOperandOrFunction = preg_match('/(\d*)([-+,])(\d*)/',$expectedArgumentCount,$argMatch); -//print_r($argMatch); -//echo PHP_EOL; - switch ($argMatch[2]) { - case '+' : - if ($argumentCount < $argMatch[1]) { - $argumentCountError = TRUE; - $expectedArgumentCountString = $argMatch[1].' or more '; - } - break; - case '-' : - if (($argumentCount < $argMatch[1]) || ($argumentCount > $argMatch[3])) { - $argumentCountError = TRUE; - $expectedArgumentCountString = 'between '.$argMatch[1].' and '.$argMatch[3]; - } - break; - case ',' : - if (($argumentCount != $argMatch[1]) && ($argumentCount != $argMatch[3])) { - $argumentCountError = TRUE; - $expectedArgumentCountString = 'either '.$argMatch[1].' or '.$argMatch[3]; - } - break; - } - } - if ($argumentCountError) { - return $this->_raiseFormulaError("Formula Error: Wrong number of arguments for $functionName() function: $argumentCount given, ".$expectedArgumentCountString." expected"); - } - } - ++$index; - - } elseif ($opCharacter == ',') { // Is this the separator for function arguments? -//echo 'Element is a Function argument separator',PHP_EOL; - while (($o2 = $stack->pop()) && $o2['value'] != '(') { // Pop off the stack back to the last ( - if ($o2 === NULL) return $this->_raiseFormulaError("Formula Error: Unexpected ,"); - else $output[] = $o2; // pop the argument expression stuff and push onto the output - } - // If we've a comma when we're expecting an operand, then what we actually have is a null operand; - // so push a null onto the stack - if (($expectingOperand) || (!$expectingOperator)) { - $output[] = array('type' => 'NULL Value', 'value' => self::$_ExcelConstants['NULL'], 'reference' => NULL); - } - // make sure there was a function - $d = $stack->last(2); - if (!preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $d['value'], $matches)) - return $this->_raiseFormulaError("Formula Error: Unexpected ,"); - $d = $stack->pop(); - $stack->push($d['type'],++$d['value'],$d['reference']); // increment the argument count - $stack->push('Brace', '('); // put the ( back on, we'll need to pop back to it again - $expectingOperator = FALSE; - $expectingOperand = TRUE; - ++$index; - - } elseif ($opCharacter == '(' && !$expectingOperator) { -// echo 'Element is an Opening Bracket
'; - $stack->push('Brace', '('); - ++$index; - - } elseif ($isOperandOrFunction && !$expectingOperator) { // do we now have a function/variable/number? - $expectingOperator = TRUE; - $expectingOperand = FALSE; - $val = $match[1]; - $length = strlen($val); -// echo 'Element with value '.$val.' is an Operand, Variable, Constant, String, Number, Cell Reference or Function
'; - - if (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $val, $matches)) { - $val = preg_replace('/\s/','',$val); -// echo 'Element '.$val.' is a Function
'; - if (isset(self::$_PHPExcelFunctions[strtoupper($matches[1])]) || isset(self::$_controlFunctions[strtoupper($matches[1])])) { // it's a function - $stack->push('Function', strtoupper($val)); - $ax = preg_match('/^\s*(\s*\))/i', substr($formula, $index+$length), $amatch); - if ($ax) { - $stack->push('Operand Count for Function '.strtoupper($val).')', 0); - $expectingOperator = TRUE; - } else { - $stack->push('Operand Count for Function '.strtoupper($val).')', 1); - $expectingOperator = FALSE; - } - $stack->push('Brace', '('); - } else { // it's a var w/ implicit multiplication - $output[] = array('type' => 'Value', 'value' => $matches[1], 'reference' => NULL); - } - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $val, $matches)) { -// echo 'Element '.$val.' is a Cell reference
'; - // Watch for this case-change when modifying to allow cell references in different worksheets... - // Should only be applied to the actual cell column, not the worksheet name - - // If the last entry on the stack was a : operator, then we have a cell range reference - $testPrevOp = $stack->last(1); - if ($testPrevOp['value'] == ':') { - // If we have a worksheet reference, then we're playing with a 3D reference - if ($matches[2] == '') { - // Otherwise, we 'inherit' the worksheet reference from the start cell reference - // The start of the cell range reference should be the last entry in $output - $startCellRef = $output[count($output)-1]['value']; - preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $startCellRef, $startMatches); - if ($startMatches[2] > '') { - $val = $startMatches[2].'!'.$val; - } - } else { - return $this->_raiseFormulaError("3D Range references are not yet supported"); - } - } - - $output[] = array('type' => 'Cell Reference', 'value' => $val, 'reference' => $val); -// $expectingOperator = FALSE; - } else { // it's a variable, constant, string, number or boolean -// echo 'Element is a Variable, Constant, String, Number or Boolean
'; - // If the last entry on the stack was a : operator, then we may have a row or column range reference - $testPrevOp = $stack->last(1); - if ($testPrevOp['value'] == ':') { - $startRowColRef = $output[count($output)-1]['value']; - $rangeWS1 = ''; - if (strpos('!',$startRowColRef) !== FALSE) { - list($rangeWS1,$startRowColRef) = explode('!',$startRowColRef); - } - if ($rangeWS1 != '') $rangeWS1 .= '!'; - $rangeWS2 = $rangeWS1; - if (strpos('!',$val) !== FALSE) { - list($rangeWS2,$val) = explode('!',$val); - } - if ($rangeWS2 != '') $rangeWS2 .= '!'; - if ((is_integer($startRowColRef)) && (ctype_digit($val)) && - ($startRowColRef <= 1048576) && ($val <= 1048576)) { - // Row range - $endRowColRef = ($pCellParent !== NULL) ? $pCellParent->getHighestColumn() : 'XFD'; // Max 16,384 columns for Excel2007 - $output[count($output)-1]['value'] = $rangeWS1.'A'.$startRowColRef; - $val = $rangeWS2.$endRowColRef.$val; - } elseif ((ctype_alpha($startRowColRef)) && (ctype_alpha($val)) && - (strlen($startRowColRef) <= 3) && (strlen($val) <= 3)) { - // Column range - $endRowColRef = ($pCellParent !== NULL) ? $pCellParent->getHighestRow() : 1048576; // Max 1,048,576 rows for Excel2007 - $output[count($output)-1]['value'] = $rangeWS1.strtoupper($startRowColRef).'1'; - $val = $rangeWS2.$val.$endRowColRef; - } - } - - $localeConstant = FALSE; - if ($opCharacter == '"') { -// echo 'Element is a String
'; - // UnEscape any quotes within the string - $val = self::_wrapResult(str_replace('""','"',self::_unwrapResult($val))); - } elseif (is_numeric($val)) { -// echo 'Element is a Number
'; - if ((strpos($val,'.') !== FALSE) || (stripos($val,'e') !== FALSE) || ($val > PHP_INT_MAX) || ($val < -PHP_INT_MAX)) { -// echo 'Casting '.$val.' to float
'; - $val = (float) $val; - } else { -// echo 'Casting '.$val.' to integer
'; - $val = (integer) $val; - } - } elseif (isset(self::$_ExcelConstants[trim(strtoupper($val))])) { - $excelConstant = trim(strtoupper($val)); -// echo 'Element '.$excelConstant.' is an Excel Constant
'; - $val = self::$_ExcelConstants[$excelConstant]; - } elseif (($localeConstant = array_search(trim(strtoupper($val)), self::$_localeBoolean)) !== FALSE) { -// echo 'Element '.$localeConstant.' is an Excel Constant
'; - $val = self::$_ExcelConstants[$localeConstant]; - } - $details = array('type' => 'Value', 'value' => $val, 'reference' => NULL); - if ($localeConstant) { $details['localeValue'] = $localeConstant; } - $output[] = $details; - } - $index += $length; - - } elseif ($opCharacter == '$') { // absolute row or column range - ++$index; - } elseif ($opCharacter == ')') { // miscellaneous error checking - if ($expectingOperand) { - $output[] = array('type' => 'NULL Value', 'value' => self::$_ExcelConstants['NULL'], 'reference' => NULL); - $expectingOperand = FALSE; - $expectingOperator = TRUE; - } else { - return $this->_raiseFormulaError("Formula Error: Unexpected ')'"); - } - } elseif (isset(self::$_operators[$opCharacter]) && !$expectingOperator) { - return $this->_raiseFormulaError("Formula Error: Unexpected operator '$opCharacter'"); - } else { // I don't even want to know what you did to get here - return $this->_raiseFormulaError("Formula Error: An unexpected error occured"); - } - // Test for end of formula string - if ($index == strlen($formula)) { - // Did we end with an operator?. - // Only valid for the % unary operator - if ((isset(self::$_operators[$opCharacter])) && ($opCharacter != '%')) { - return $this->_raiseFormulaError("Formula Error: Operator '$opCharacter' has no operands"); - } else { - break; - } - } - // Ignore white space - while (($formula{$index} == "\n") || ($formula{$index} == "\r")) { - ++$index; - } - if ($formula{$index} == ' ') { - while ($formula{$index} == ' ') { - ++$index; - } - // If we're expecting an operator, but only have a space between the previous and next operands (and both are - // Cell References) then we have an INTERSECTION operator -// echo 'Possible Intersect Operator
'; - if (($expectingOperator) && (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'.*/Ui', substr($formula, $index), $match)) && - ($output[count($output)-1]['type'] == 'Cell Reference')) { -// echo 'Element is an Intersect Operator
'; - while($stack->count() > 0 && - ($o2 = $stack->last()) && - isset(self::$_operators[$o2['value']]) && - @(self::$_operatorAssociativity[$opCharacter] ? self::$_operatorPrecedence[$opCharacter] < self::$_operatorPrecedence[$o2['value']] : self::$_operatorPrecedence[$opCharacter] <= self::$_operatorPrecedence[$o2['value']])) { - $output[] = $stack->pop(); // Swap operands and higher precedence operators from the stack to the output - } - $stack->push('Binary Operator','|'); // Put an Intersect Operator on the stack - $expectingOperator = FALSE; - } - } - } - - while (($op = $stack->pop()) !== NULL) { // pop everything off the stack and push onto output - if ((is_array($op) && $op['value'] == '(') || ($op === '(')) - return $this->_raiseFormulaError("Formula Error: Expecting ')'"); // if there are any opening braces on the stack, then braces were unbalanced - $output[] = $op; - } - return $output; - } // function _parseFormula() - - - private static function _dataTestReference(&$operandData) - { - $operand = $operandData['value']; - if (($operandData['reference'] === NULL) && (is_array($operand))) { - $rKeys = array_keys($operand); - $rowKey = array_shift($rKeys); - $cKeys = array_keys(array_keys($operand[$rowKey])); - $colKey = array_shift($cKeys); - if (ctype_upper($colKey)) { - $operandData['reference'] = $colKey.$rowKey; - } - } - return $operand; - } - - // evaluate postfix notation - private function _processTokenStack($tokens, $cellID = NULL, PHPExcel_Cell $pCell = NULL) { - if ($tokens == FALSE) return FALSE; - - // If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent cell collection), - // so we store the parent cell collection so that we can re-attach it when necessary - $pCellWorksheet = ($pCell !== NULL) ? $pCell->getWorksheet() : NULL; - $pCellParent = ($pCell !== NULL) ? $pCell->getParent() : null; - $stack = new PHPExcel_Calculation_Token_Stack; - - // Loop through each token in turn - foreach ($tokens as $tokenData) { -// print_r($tokenData); -// echo '
'; - $token = $tokenData['value']; -// echo 'Token is '.$token.'
'; - // if the token is a binary operator, pop the top two values off the stack, do the operation, and push the result back on the stack - if (isset(self::$_binaryOperators[$token])) { -// echo 'Token is a binary operator
'; - // We must have two operands, error if we don't - if (($operand2Data = $stack->pop()) === NULL) return $this->_raiseFormulaError('Internal error - Operand value missing from stack'); - if (($operand1Data = $stack->pop()) === NULL) return $this->_raiseFormulaError('Internal error - Operand value missing from stack'); - - $operand1 = self::_dataTestReference($operand1Data); - $operand2 = self::_dataTestReference($operand2Data); - - // Log what we're doing - if ($token == ':') { - $this->_debugLog->writeDebugLog('Evaluating Range ', $this->_showValue($operand1Data['reference']), ' ', $token, ' ', $this->_showValue($operand2Data['reference'])); - } else { - $this->_debugLog->writeDebugLog('Evaluating ', $this->_showValue($operand1), ' ', $token, ' ', $this->_showValue($operand2)); - } - - // Process the operation in the appropriate manner - switch ($token) { - // Comparison (Boolean) Operators - case '>' : // Greater than - case '<' : // Less than - case '>=' : // Greater than or Equal to - case '<=' : // Less than or Equal to - case '=' : // Equality - case '<>' : // Inequality - $this->_executeBinaryComparisonOperation($cellID,$operand1,$operand2,$token,$stack); - break; - // Binary Operators - case ':' : // Range - $sheet1 = $sheet2 = ''; - if (strpos($operand1Data['reference'],'!') !== FALSE) { - list($sheet1,$operand1Data['reference']) = explode('!',$operand1Data['reference']); - } else { - $sheet1 = ($pCellParent !== NULL) ? $pCellWorksheet->getTitle() : ''; - } - if (strpos($operand2Data['reference'],'!') !== FALSE) { - list($sheet2,$operand2Data['reference']) = explode('!',$operand2Data['reference']); - } else { - $sheet2 = $sheet1; - } - if ($sheet1 == $sheet2) { - if ($operand1Data['reference'] === NULL) { - if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) { - $operand1Data['reference'] = $pCell->getColumn().$operand1Data['value']; - } elseif (trim($operand1Data['reference']) == '') { - $operand1Data['reference'] = $pCell->getCoordinate(); - } else { - $operand1Data['reference'] = $operand1Data['value'].$pCell->getRow(); - } - } - if ($operand2Data['reference'] === NULL) { - if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) { - $operand2Data['reference'] = $pCell->getColumn().$operand2Data['value']; - } elseif (trim($operand2Data['reference']) == '') { - $operand2Data['reference'] = $pCell->getCoordinate(); - } else { - $operand2Data['reference'] = $operand2Data['value'].$pCell->getRow(); - } - } - - $oData = array_merge(explode(':',$operand1Data['reference']),explode(':',$operand2Data['reference'])); - $oCol = $oRow = array(); - foreach($oData as $oDatum) { - $oCR = PHPExcel_Cell::coordinateFromString($oDatum); - $oCol[] = PHPExcel_Cell::columnIndexFromString($oCR[0]) - 1; - $oRow[] = $oCR[1]; - } - $cellRef = PHPExcel_Cell::stringFromColumnIndex(min($oCol)).min($oRow).':'.PHPExcel_Cell::stringFromColumnIndex(max($oCol)).max($oRow); - if ($pCellParent !== NULL) { - $cellValue = $this->extractCellRange($cellRef, $this->_workbook->getSheetByName($sheet1), FALSE); - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $stack->push('Cell Reference',$cellValue,$cellRef); - } else { - $stack->push('Error',PHPExcel_Calculation_Functions::REF(),NULL); - } - - break; - case '+' : // Addition - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'plusEquals',$stack); - break; - case '-' : // Subtraction - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'minusEquals',$stack); - break; - case '*' : // Multiplication - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'arrayTimesEquals',$stack); - break; - case '/' : // Division - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'arrayRightDivide',$stack); - break; - case '^' : // Exponential - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'power',$stack); - break; - case '&' : // Concatenation - // If either of the operands is a matrix, we need to treat them both as matrices - // (converting the other operand to a matrix if need be); then perform the required - // matrix operation - if (is_bool($operand1)) { - $operand1 = ($operand1) ? self::$_localeBoolean['TRUE'] : self::$_localeBoolean['FALSE']; - } - if (is_bool($operand2)) { - $operand2 = ($operand2) ? self::$_localeBoolean['TRUE'] : self::$_localeBoolean['FALSE']; - } - if ((is_array($operand1)) || (is_array($operand2))) { - // Ensure that both operands are arrays/matrices - self::_checkMatrixOperands($operand1,$operand2,2); - try { - // Convert operand 1 from a PHP array to a matrix - $matrix = new PHPExcel_Shared_JAMA_Matrix($operand1); - // Perform the required operation against the operand 1 matrix, passing in operand 2 - $matrixResult = $matrix->concat($operand2); - $result = $matrixResult->getArray(); - } catch (PHPExcel_Exception $ex) { - $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage()); - $result = '#VALUE!'; - } - } else { - $result = '"'.str_replace('""','"',self::_unwrapResult($operand1,'"').self::_unwrapResult($operand2,'"')).'"'; - } - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - $stack->push('Value',$result); - break; - case '|' : // Intersect - $rowIntersect = array_intersect_key($operand1,$operand2); - $cellIntersect = $oCol = $oRow = array(); - foreach(array_keys($rowIntersect) as $row) { - $oRow[] = $row; - foreach($rowIntersect[$row] as $col => $data) { - $oCol[] = PHPExcel_Cell::columnIndexFromString($col) - 1; - $cellIntersect[$row] = array_intersect_key($operand1[$row],$operand2[$row]); - } - } - $cellRef = PHPExcel_Cell::stringFromColumnIndex(min($oCol)).min($oRow).':'.PHPExcel_Cell::stringFromColumnIndex(max($oCol)).max($oRow); - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($cellIntersect)); - $stack->push('Value',$cellIntersect,$cellRef); - break; - } - - // if the token is a unary operator, pop one value off the stack, do the operation, and push it back on - } elseif (($token === '~') || ($token === '%')) { -// echo 'Token is a unary operator
'; - if (($arg = $stack->pop()) === NULL) return $this->_raiseFormulaError('Internal error - Operand value missing from stack'); - $arg = $arg['value']; - if ($token === '~') { -// echo 'Token is a negation operator
'; - $this->_debugLog->writeDebugLog('Evaluating Negation of ', $this->_showValue($arg)); - $multiplier = -1; - } else { -// echo 'Token is a percentile operator
'; - $this->_debugLog->writeDebugLog('Evaluating Percentile of ', $this->_showValue($arg)); - $multiplier = 0.01; - } - if (is_array($arg)) { - self::_checkMatrixOperands($arg,$multiplier,2); - try { - $matrix1 = new PHPExcel_Shared_JAMA_Matrix($arg); - $matrixResult = $matrix1->arrayTimesEquals($multiplier); - $result = $matrixResult->getArray(); - } catch (PHPExcel_Exception $ex) { - $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage()); - $result = '#VALUE!'; - } - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - $stack->push('Value',$result); - } else { - $this->_executeNumericBinaryOperation($cellID,$multiplier,$arg,'*','arrayTimesEquals',$stack); - } - - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $token, $matches)) { - $cellRef = NULL; -// echo 'Element '.$token.' is a Cell reference
'; - if (isset($matches[8])) { -// echo 'Reference is a Range of cells
'; - if ($pCell === NULL) { -// We can't access the range, so return a REF error - $cellValue = PHPExcel_Calculation_Functions::REF(); - } else { - $cellRef = $matches[6].$matches[7].':'.$matches[9].$matches[10]; - if ($matches[2] > '') { - $matches[2] = trim($matches[2],"\"'"); - if ((strpos($matches[2],'[') !== FALSE) || (strpos($matches[2],']') !== FALSE)) { - // It's a Reference to an external workbook (not currently supported) - return $this->_raiseFormulaError('Unable to access External Workbook'); - } - $matches[2] = trim($matches[2],"\"'"); -// echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'
'; - $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in worksheet ', $matches[2]); - if ($pCellParent !== NULL) { - $cellValue = $this->extractCellRange($cellRef, $this->_workbook->getSheetByName($matches[2]), FALSE); - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->_showTypeDetails($cellValue)); -// $cellRef = $matches[2].'!'.$cellRef; - } else { -// echo '$cellRef='.$cellRef.' in current worksheet
'; - $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in current worksheet'); - if ($pCellParent !== NULL) { - $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, FALSE); - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' is ', $this->_showTypeDetails($cellValue)); - } - } - } else { -// echo 'Reference is a single Cell
'; - if ($pCell === NULL) { -// We can't access the cell, so return a REF error - $cellValue = PHPExcel_Calculation_Functions::REF(); - } else { - $cellRef = $matches[6].$matches[7]; - if ($matches[2] > '') { - $matches[2] = trim($matches[2],"\"'"); - if ((strpos($matches[2],'[') !== FALSE) || (strpos($matches[2],']') !== FALSE)) { - // It's a Reference to an external workbook (not currently supported) - return $this->_raiseFormulaError('Unable to access External Workbook'); - } -// echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'
'; - $this->_debugLog->writeDebugLog('Evaluating Cell ', $cellRef, ' in worksheet ', $matches[2]); - if ($pCellParent !== NULL) { - $cellSheet = $this->_workbook->getSheetByName($matches[2]); - if ($cellSheet && $cellSheet->cellExists($cellRef)) { - $cellValue = $this->extractCellRange($cellRef, $this->_workbook->getSheetByName($matches[2]), FALSE); - $pCell->attach($pCellParent); - } else { - $cellValue = NULL; - } - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $this->_debugLog->writeDebugLog('Evaluation Result for cell ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->_showTypeDetails($cellValue)); -// $cellRef = $matches[2].'!'.$cellRef; - } else { -// echo '$cellRef='.$cellRef.' in current worksheet
'; - $this->_debugLog->writeDebugLog('Evaluating Cell ', $cellRef, ' in current worksheet'); - if ($pCellParent->isDataSet($cellRef)) { - $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, FALSE); - $pCell->attach($pCellParent); - } else { - $cellValue = NULL; - } - $this->_debugLog->writeDebugLog('Evaluation Result for cell ', $cellRef, ' is ', $this->_showTypeDetails($cellValue)); - } - } - } - $stack->push('Value',$cellValue,$cellRef); - - // if the token is a function, pop arguments off the stack, hand them to the function, and push the result back on - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $token, $matches)) { -// echo 'Token is a function
'; - $functionName = $matches[1]; - $argCount = $stack->pop(); - $argCount = $argCount['value']; - if ($functionName != 'MKMATRIX') { - $this->_debugLog->writeDebugLog('Evaluating Function ', self::_localeFunc($functionName), '() with ', (($argCount == 0) ? 'no' : $argCount), ' argument', (($argCount == 1) ? '' : 's')); - } - if ((isset(self::$_PHPExcelFunctions[$functionName])) || (isset(self::$_controlFunctions[$functionName]))) { // function - if (isset(self::$_PHPExcelFunctions[$functionName])) { - $functionCall = self::$_PHPExcelFunctions[$functionName]['functionCall']; - $passByReference = isset(self::$_PHPExcelFunctions[$functionName]['passByReference']); - $passCellReference = isset(self::$_PHPExcelFunctions[$functionName]['passCellReference']); - } elseif (isset(self::$_controlFunctions[$functionName])) { - $functionCall = self::$_controlFunctions[$functionName]['functionCall']; - $passByReference = isset(self::$_controlFunctions[$functionName]['passByReference']); - $passCellReference = isset(self::$_controlFunctions[$functionName]['passCellReference']); - } - // get the arguments for this function -// echo 'Function '.$functionName.' expects '.$argCount.' arguments
'; - $args = $argArrayVals = array(); - for ($i = 0; $i < $argCount; ++$i) { - $arg = $stack->pop(); - $a = $argCount - $i - 1; - if (($passByReference) && - (isset(self::$_PHPExcelFunctions[$functionName]['passByReference'][$a])) && - (self::$_PHPExcelFunctions[$functionName]['passByReference'][$a])) { - if ($arg['reference'] === NULL) { - $args[] = $cellID; - if ($functionName != 'MKMATRIX') { $argArrayVals[] = $this->_showValue($cellID); } - } else { - $args[] = $arg['reference']; - if ($functionName != 'MKMATRIX') { $argArrayVals[] = $this->_showValue($arg['reference']); } - } - } else { - $args[] = self::_unwrapResult($arg['value']); - if ($functionName != 'MKMATRIX') { $argArrayVals[] = $this->_showValue($arg['value']); } - } - } - // Reverse the order of the arguments - krsort($args); - if (($passByReference) && ($argCount == 0)) { - $args[] = $cellID; - $argArrayVals[] = $this->_showValue($cellID); - } -// echo 'Arguments are: '; -// print_r($args); -// echo '
'; - if ($functionName != 'MKMATRIX') { - if ($this->_debugLog->getWriteDebugLog()) { - krsort($argArrayVals); - $this->_debugLog->writeDebugLog('Evaluating ', self::_localeFunc($functionName), '( ', implode(self::$_localeArgumentSeparator.' ',PHPExcel_Calculation_Functions::flattenArray($argArrayVals)), ' )'); - } - } - // Process each argument in turn, building the return value as an array -// if (($argCount == 1) && (is_array($args[1])) && ($functionName != 'MKMATRIX')) { -// $operand1 = $args[1]; -// $this->_debugLog->writeDebugLog('Argument is a matrix: ', $this->_showValue($operand1)); -// $result = array(); -// $row = 0; -// foreach($operand1 as $args) { -// if (is_array($args)) { -// foreach($args as $arg) { -// $this->_debugLog->writeDebugLog('Evaluating ', self::_localeFunc($functionName), '( ', $this->_showValue($arg), ' )'); -// $r = call_user_func_array($functionCall,$arg); -// $this->_debugLog->writeDebugLog('Evaluation Result for ', self::_localeFunc($functionName), '() function call is ', $this->_showTypeDetails($r)); -// $result[$row][] = $r; -// } -// ++$row; -// } else { -// $this->_debugLog->writeDebugLog('Evaluating ', self::_localeFunc($functionName), '( ', $this->_showValue($args), ' )'); -// $r = call_user_func_array($functionCall,$args); -// $this->_debugLog->writeDebugLog('Evaluation Result for ', self::_localeFunc($functionName), '() function call is ', $this->_showTypeDetails($r)); -// $result[] = $r; -// } -// } -// } else { - // Process the argument with the appropriate function call - if ($passCellReference) { - $args[] = $pCell; - } - if (strpos($functionCall,'::') !== FALSE) { - $result = call_user_func_array(explode('::',$functionCall),$args); - } else { - foreach($args as &$arg) { - $arg = PHPExcel_Calculation_Functions::flattenSingleValue($arg); - } - unset($arg); - $result = call_user_func_array($functionCall,$args); - } -// } - if ($functionName != 'MKMATRIX') { - $this->_debugLog->writeDebugLog('Evaluation Result for ', self::_localeFunc($functionName), '() function call is ', $this->_showTypeDetails($result)); - } - $stack->push('Value',self::_wrapResult($result)); - } - - } else { - // if the token is a number, boolean, string or an Excel error, push it onto the stack - if (isset(self::$_ExcelConstants[strtoupper($token)])) { - $excelConstant = strtoupper($token); -// echo 'Token is a PHPExcel constant: '.$excelConstant.'
'; - $stack->push('Constant Value',self::$_ExcelConstants[$excelConstant]); - $this->_debugLog->writeDebugLog('Evaluating Constant ', $excelConstant, ' as ', $this->_showTypeDetails(self::$_ExcelConstants[$excelConstant])); - } elseif ((is_numeric($token)) || ($token === NULL) || (is_bool($token)) || ($token == '') || ($token{0} == '"') || ($token{0} == '#')) { -// echo 'Token is a number, boolean, string, null or an Excel error
'; - $stack->push('Value',$token); - // if the token is a named range, push the named range name onto the stack - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $token, $matches)) { -// echo 'Token is a named range
'; - $namedRange = $matches[6]; -// echo 'Named Range is '.$namedRange.'
'; - $this->_debugLog->writeDebugLog('Evaluating Named Range ', $namedRange); - $cellValue = $this->extractNamedRange($namedRange, ((NULL !== $pCell) ? $pCellWorksheet : NULL), FALSE); - $pCell->attach($pCellParent); - $this->_debugLog->writeDebugLog('Evaluation Result for named range ', $namedRange, ' is ', $this->_showTypeDetails($cellValue)); - $stack->push('Named Range',$cellValue,$namedRange); - } else { - return $this->_raiseFormulaError("undefined variable '$token'"); - } - } - } - // when we're out of tokens, the stack should have a single element, the final result - if ($stack->count() != 1) return $this->_raiseFormulaError("internal error"); - $output = $stack->pop(); - $output = $output['value']; - -// if ((is_array($output)) && (self::$returnArrayAsType != self::RETURN_ARRAY_AS_ARRAY)) { -// return array_shift(PHPExcel_Calculation_Functions::flattenArray($output)); -// } - return $output; - } // function _processTokenStack() - - - private function _validateBinaryOperand($cellID, &$operand, &$stack) { - if (is_array($operand)) { - if ((count($operand, COUNT_RECURSIVE) - count($operand)) == 1) { - do { - $operand = array_pop($operand); - } while (is_array($operand)); - } - } - // Numbers, matrices and booleans can pass straight through, as they're already valid - if (is_string($operand)) { - // We only need special validations for the operand if it is a string - // Start by stripping off the quotation marks we use to identify true excel string values internally - if ($operand > '' && $operand{0} == '"') { $operand = self::_unwrapResult($operand); } - // If the string is a numeric value, we treat it as a numeric, so no further testing - if (!is_numeric($operand)) { - // If not a numeric, test to see if the value is an Excel error, and so can't be used in normal binary operations - if ($operand > '' && $operand{0} == '#') { - $stack->push('Value', $operand); - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($operand)); - return FALSE; - } elseif (!PHPExcel_Shared_String::convertToNumberIfFraction($operand)) { - // If not a numeric or a fraction, then it's a text string, and so can't be used in mathematical binary operations - $stack->push('Value', '#VALUE!'); - $this->_debugLog->writeDebugLog('Evaluation Result is a ', $this->_showTypeDetails('#VALUE!')); - return FALSE; - } - } - } - - // return a true if the value of the operand is one that we can use in normal binary operations - return TRUE; - } // function _validateBinaryOperand() - - - private function _executeBinaryComparisonOperation($cellID, $operand1, $operand2, $operation, &$stack, $recursingArrays=FALSE) { - // If we're dealing with matrix operations, we want a matrix result - if ((is_array($operand1)) || (is_array($operand2))) { - $result = array(); - if ((is_array($operand1)) && (!is_array($operand2))) { - foreach($operand1 as $x => $operandData) { - $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->_showValue($operandData), ' ', $operation, ' ', $this->_showValue($operand2)); - $this->_executeBinaryComparisonOperation($cellID,$operandData,$operand2,$operation,$stack); - $r = $stack->pop(); - $result[$x] = $r['value']; - } - } elseif ((!is_array($operand1)) && (is_array($operand2))) { - foreach($operand2 as $x => $operandData) { - $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->_showValue($operand1), ' ', $operation, ' ', $this->_showValue($operandData)); - $this->_executeBinaryComparisonOperation($cellID,$operand1,$operandData,$operation,$stack); - $r = $stack->pop(); - $result[$x] = $r['value']; - } - } else { - if (!$recursingArrays) { self::_checkMatrixOperands($operand1,$operand2,2); } - foreach($operand1 as $x => $operandData) { - $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->_showValue($operandData), ' ', $operation, ' ', $this->_showValue($operand2[$x])); - $this->_executeBinaryComparisonOperation($cellID,$operandData,$operand2[$x],$operation,$stack,TRUE); - $r = $stack->pop(); - $result[$x] = $r['value']; - } - } - // Log the result details - $this->_debugLog->writeDebugLog('Comparison Evaluation Result is ', $this->_showTypeDetails($result)); - // And push the result onto the stack - $stack->push('Array',$result); - return TRUE; - } - - // Simple validate the two operands if they are string values - if (is_string($operand1) && $operand1 > '' && $operand1{0} == '"') { $operand1 = self::_unwrapResult($operand1); } - if (is_string($operand2) && $operand2 > '' && $operand2{0} == '"') { $operand2 = self::_unwrapResult($operand2); } - - // Use case insensitive comparaison if not OpenOffice mode - if (PHPExcel_Calculation_Functions::getCompatibilityMode() != PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) - { - if (is_string($operand1)) { - $operand1 = strtoupper($operand1); - } - - if (is_string($operand2)) { - $operand2 = strtoupper($operand2); - } - } - - $useLowercaseFirstComparison = is_string($operand1) && is_string($operand2) && PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE; - - // execute the necessary operation - switch ($operation) { - // Greater than - case '>': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) > 0; - } else { - $result = ($operand1 > $operand2); - } - break; - // Less than - case '<': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) < 0; - } else { - $result = ($operand1 < $operand2); - } - break; - // Equality - case '=': - $result = ($operand1 == $operand2); - break; - // Greater than or equal - case '>=': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) >= 0; - } else { - $result = ($operand1 >= $operand2); - } - break; - // Less than or equal - case '<=': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) <= 0; - } else { - $result = ($operand1 <= $operand2); - } - break; - // Inequality - case '<>': - $result = ($operand1 != $operand2); - break; - } - - // Log the result details - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - // And push the result onto the stack - $stack->push('Value',$result); - return TRUE; - } // function _executeBinaryComparisonOperation() - - /** - * Compare two strings in the same way as strcmp() except that lowercase come before uppercase letters - * @param string $str1 - * @param string $str2 - * @return integer - */ - private function strcmpLowercaseFirst($str1, $str2) - { - $from = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; - $to = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; - $inversedStr1 = strtr($str1, $from, $to); - $inversedStr2 = strtr($str2, $from, $to); - - return strcmp($inversedStr1, $inversedStr2); - } - - private function _executeNumericBinaryOperation($cellID,$operand1,$operand2,$operation,$matrixFunction,&$stack) { - // Validate the two operands - if (!$this->_validateBinaryOperand($cellID,$operand1,$stack)) return FALSE; - if (!$this->_validateBinaryOperand($cellID,$operand2,$stack)) return FALSE; - - // If either of the operands is a matrix, we need to treat them both as matrices - // (converting the other operand to a matrix if need be); then perform the required - // matrix operation - if ((is_array($operand1)) || (is_array($operand2))) { - // Ensure that both operands are arrays/matrices of the same size - self::_checkMatrixOperands($operand1, $operand2, 2); - - try { - // Convert operand 1 from a PHP array to a matrix - $matrix = new PHPExcel_Shared_JAMA_Matrix($operand1); - // Perform the required operation against the operand 1 matrix, passing in operand 2 - $matrixResult = $matrix->$matrixFunction($operand2); - $result = $matrixResult->getArray(); - } catch (PHPExcel_Exception $ex) { - $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage()); - $result = '#VALUE!'; - } - } else { - if ((PHPExcel_Calculation_Functions::getCompatibilityMode() != PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) && - ((is_string($operand1) && !is_numeric($operand1) && strlen($operand1)>0) || - (is_string($operand2) && !is_numeric($operand2) && strlen($operand2)>0))) { - $result = PHPExcel_Calculation_Functions::VALUE(); - } else { - // If we're dealing with non-matrix operations, execute the necessary operation - switch ($operation) { - // Addition - case '+': - $result = $operand1 + $operand2; - break; - // Subtraction - case '-': - $result = $operand1 - $operand2; - break; - // Multiplication - case '*': - $result = $operand1 * $operand2; - break; - // Division - case '/': - if ($operand2 == 0) { - // Trap for Divide by Zero error - $stack->push('Value','#DIV/0!'); - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails('#DIV/0!')); - return FALSE; - } else { - $result = $operand1 / $operand2; - } - break; - // Power - case '^': - $result = pow($operand1, $operand2); - break; - } - } - } - - // Log the result details - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - // And push the result onto the stack - $stack->push('Value',$result); - return TRUE; - } // function _executeNumericBinaryOperation() - - - // trigger an error, but nicely, if need be - protected function _raiseFormulaError($errorMessage) { - $this->formulaError = $errorMessage; - $this->_cyclicReferenceStack->clear(); - if (!$this->suppressFormulaErrors) throw new PHPExcel_Calculation_Exception($errorMessage); - trigger_error($errorMessage, E_USER_ERROR); - } // function _raiseFormulaError() - - - /** - * Extract range values - * - * @param string &$pRange String based range representation - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param boolean $resetLog Flag indicating whether calculation log should be reset or not - * @return mixed Array of values in range if range contains more than one element. Otherwise, a single value is returned. - * @throws PHPExcel_Calculation_Exception - */ - public function extractCellRange(&$pRange = 'A1', PHPExcel_Worksheet $pSheet = NULL, $resetLog = TRUE) { - // Return value - $returnValue = array (); - -// echo 'extractCellRange('.$pRange.')',PHP_EOL; - if ($pSheet !== NULL) { - $pSheetName = $pSheet->getTitle(); -// echo 'Passed sheet name is '.$pSheetName.PHP_EOL; -// echo 'Range reference is '.$pRange.PHP_EOL; - if (strpos ($pRange, '!') !== false) { -// echo '$pRange reference includes sheet reference',PHP_EOL; - list($pSheetName,$pRange) = PHPExcel_Worksheet::extractSheetTitle($pRange, true); -// echo 'New sheet name is '.$pSheetName,PHP_EOL; -// echo 'Adjusted Range reference is '.$pRange,PHP_EOL; - $pSheet = $this->_workbook->getSheetByName($pSheetName); - } - - // Extract range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange); - $pRange = $pSheetName.'!'.$pRange; - if (!isset($aReferences[1])) { - // Single cell in range - sscanf($aReferences[0],'%[A-Z]%d', $currentCol, $currentRow); - $cellValue = NULL; - if ($pSheet->cellExists($aReferences[0])) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($aReferences[0])->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } else { - // Extract cell data for all cells in the range - foreach ($aReferences as $reference) { - // Extract range - sscanf($reference,'%[A-Z]%d', $currentCol, $currentRow); - $cellValue = NULL; - if ($pSheet->cellExists($reference)) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($reference)->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } - } - } - - // Return - return $returnValue; - } // function extractCellRange() - - - /** - * Extract range values - * - * @param string &$pRange String based range representation - * @param PHPExcel_Worksheet $pSheet Worksheet - * @return mixed Array of values in range if range contains more than one element. Otherwise, a single value is returned. - * @param boolean $resetLog Flag indicating whether calculation log should be reset or not - * @throws PHPExcel_Calculation_Exception - */ - public function extractNamedRange(&$pRange = 'A1', PHPExcel_Worksheet $pSheet = NULL, $resetLog = TRUE) { - // Return value - $returnValue = array (); - -// echo 'extractNamedRange('.$pRange.')
'; - if ($pSheet !== NULL) { - $pSheetName = $pSheet->getTitle(); -// echo 'Current sheet name is '.$pSheetName.'
'; -// echo 'Range reference is '.$pRange.'
'; - if (strpos ($pRange, '!') !== false) { -// echo '$pRange reference includes sheet reference',PHP_EOL; - list($pSheetName,$pRange) = PHPExcel_Worksheet::extractSheetTitle($pRange, true); -// echo 'New sheet name is '.$pSheetName,PHP_EOL; -// echo 'Adjusted Range reference is '.$pRange,PHP_EOL; - $pSheet = $this->_workbook->getSheetByName($pSheetName); - } - - // Named range? - $namedRange = PHPExcel_NamedRange::resolveRange($pRange, $pSheet); - if ($namedRange !== NULL) { - $pSheet = $namedRange->getWorksheet(); -// echo 'Named Range '.$pRange.' ('; - $pRange = $namedRange->getRange(); - $splitRange = PHPExcel_Cell::splitRange($pRange); - // Convert row and column references - if (ctype_alpha($splitRange[0][0])) { - $pRange = $splitRange[0][0] . '1:' . $splitRange[0][1] . $namedRange->getWorksheet()->getHighestRow(); - } elseif(ctype_digit($splitRange[0][0])) { - $pRange = 'A' . $splitRange[0][0] . ':' . $namedRange->getWorksheet()->getHighestColumn() . $splitRange[0][1]; - } -// echo $pRange.') is in sheet '.$namedRange->getWorksheet()->getTitle().'
'; - -// if ($pSheet->getTitle() != $namedRange->getWorksheet()->getTitle()) { -// if (!$namedRange->getLocalOnly()) { -// $pSheet = $namedRange->getWorksheet(); -// } else { -// return $returnValue; -// } -// } - } else { - return PHPExcel_Calculation_Functions::REF(); - } - - // Extract range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange); -// var_dump($aReferences); - if (!isset($aReferences[1])) { - // Single cell (or single column or row) in range - list($currentCol,$currentRow) = PHPExcel_Cell::coordinateFromString($aReferences[0]); - $cellValue = NULL; - if ($pSheet->cellExists($aReferences[0])) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($aReferences[0])->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } else { - // Extract cell data for all cells in the range - foreach ($aReferences as $reference) { - // Extract range - list($currentCol,$currentRow) = PHPExcel_Cell::coordinateFromString($reference); -// echo 'NAMED RANGE: $currentCol='.$currentCol.' $currentRow='.$currentRow.'
'; - $cellValue = NULL; - if ($pSheet->cellExists($reference)) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($reference)->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } - } -// print_r($returnValue); -// echo '
'; - } - - // Return - return $returnValue; - } // function extractNamedRange() - - - /** - * Is a specific function implemented? - * - * @param string $pFunction Function Name - * @return boolean - */ - public function isImplemented($pFunction = '') { - $pFunction = strtoupper ($pFunction); - if (isset(self::$_PHPExcelFunctions[$pFunction])) { - return (self::$_PHPExcelFunctions[$pFunction]['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY'); - } else { - return FALSE; - } - } // function isImplemented() - - - /** - * Get a list of all implemented functions as an array of function objects - * - * @return array of PHPExcel_Calculation_Function - */ - public function listFunctions() { - // Return value - $returnValue = array(); - // Loop functions - foreach(self::$_PHPExcelFunctions as $functionName => $function) { - if ($function['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY') { - $returnValue[$functionName] = new PHPExcel_Calculation_Function($function['category'], - $functionName, - $function['functionCall'] - ); - } - } - - // Return - return $returnValue; - } // function listFunctions() - - - /** - * Get a list of all Excel function names - * - * @return array - */ - public function listAllFunctionNames() { - return array_keys(self::$_PHPExcelFunctions); - } // function listAllFunctionNames() - - /** - * Get a list of implemented Excel function names - * - * @return array - */ - public function listFunctionNames() { - // Return value - $returnValue = array(); - // Loop functions - foreach(self::$_PHPExcelFunctions as $functionName => $function) { - if ($function['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY') { - $returnValue[] = $functionName; - } - } - - // Return - return $returnValue; - } // function listFunctionNames() - -} // class PHPExcel_Calculation - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Database.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Database.php deleted file mode 100644 index 908decfc4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Database.php +++ /dev/null @@ -1,725 +0,0 @@ - $criteriaName) { - $testCondition = array(); - $testConditionCount = 0; - foreach($criteria as $row => $criterion) { - if ($criterion[$key] > '') { - $testCondition[] = '[:'.$criteriaName.']'.PHPExcel_Calculation_Functions::_ifCondition($criterion[$key]); - $testConditionCount++; - } - } - if ($testConditionCount > 1) { - $testConditions[] = 'OR('.implode(',',$testCondition).')'; - $testConditionsCount++; - } elseif($testConditionCount == 1) { - $testConditions[] = $testCondition[0]; - $testConditionsCount++; - } - } - - if ($testConditionsCount > 1) { - $testConditionSet = 'AND('.implode(',',$testConditions).')'; - } elseif($testConditionsCount == 1) { - $testConditionSet = $testConditions[0]; - } - - // Loop through each row of the database - foreach($database as $dataRow => $dataValues) { - // Substitute actual values from the database row for our [:placeholders] - $testConditionList = $testConditionSet; - foreach($criteriaNames as $key => $criteriaName) { - $k = array_search($criteriaName,$fieldNames); - if (isset($dataValues[$k])) { - $dataValue = $dataValues[$k]; - $dataValue = (is_string($dataValue)) ? PHPExcel_Calculation::_wrapResult(strtoupper($dataValue)) : $dataValue; - $testConditionList = str_replace('[:'.$criteriaName.']',$dataValue,$testConditionList); - } - } - // evaluate the criteria against the row data - $result = PHPExcel_Calculation::getInstance()->_calculateFormulaValue('='.$testConditionList); - // If the row failed to meet the criteria, remove it from the database - if (!$result) { - unset($database[$dataRow]); - } - } - - return $database; - } - - - /** - * DAVERAGE - * - * Averages the values in a column of a list or database that match conditions you specify. - * - * Excel Function: - * DAVERAGE(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DAVERAGE($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::AVERAGE($colData); - } // function DAVERAGE() - - - /** - * DCOUNT - * - * Counts the cells that contain numbers in a column of a list or database that match conditions - * that you specify. - * - * Excel Function: - * DCOUNT(database,[field],criteria) - * - * Excel Function: - * DAVERAGE(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return integer - * - * @TODO The field argument is optional. If field is omitted, DCOUNT counts all records in the - * database that match the criteria. - * - */ - public static function DCOUNT($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::COUNT($colData); - } // function DCOUNT() - - - /** - * DCOUNTA - * - * Counts the nonblank cells in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DCOUNTA(database,[field],criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return integer - * - * @TODO The field argument is optional. If field is omitted, DCOUNTA counts all records in the - * database that match the criteria. - * - */ - public static function DCOUNTA($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::COUNTA($colData); - } // function DCOUNTA() - - - /** - * DGET - * - * Extracts a single value from a column of a list or database that matches conditions that you - * specify. - * - * Excel Function: - * DGET(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return mixed - * - */ - public static function DGET($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - if (count($colData) > 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return $colData[0]; - } // function DGET() - - - /** - * DMAX - * - * Returns the largest number in a column of a list or database that matches conditions you that - * specify. - * - * Excel Function: - * DMAX(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DMAX($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::MAX($colData); - } // function DMAX() - - - /** - * DMIN - * - * Returns the smallest number in a column of a list or database that matches conditions you that - * specify. - * - * Excel Function: - * DMIN(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DMIN($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::MIN($colData); - } // function DMIN() - - - /** - * DPRODUCT - * - * Multiplies the values in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DPRODUCT(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DPRODUCT($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_MathTrig::PRODUCT($colData); - } // function DPRODUCT() - - - /** - * DSTDEV - * - * Estimates the standard deviation of a population based on a sample by using the numbers in a - * column of a list or database that match conditions that you specify. - * - * Excel Function: - * DSTDEV(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DSTDEV($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::STDEV($colData); - } // function DSTDEV() - - - /** - * DSTDEVP - * - * Calculates the standard deviation of a population based on the entire population by using the - * numbers in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DSTDEVP(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DSTDEVP($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::STDEVP($colData); - } // function DSTDEVP() - - - /** - * DSUM - * - * Adds the numbers in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DSUM(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DSUM($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_MathTrig::SUM($colData); - } // function DSUM() - - - /** - * DVAR - * - * Estimates the variance of a population based on a sample by using the numbers in a column - * of a list or database that match conditions that you specify. - * - * Excel Function: - * DVAR(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DVAR($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::VARFunc($colData); - } // function DVAR() - - - /** - * DVARP - * - * Calculates the variance of a population based on the entire population by using the numbers - * in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DVARP(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DVARP($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::VARP($colData); - } // function DVARP() - - -} // class PHPExcel_Calculation_Database diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/DateTime.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/DateTime.php deleted file mode 100644 index 6eb96fd2c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/DateTime.php +++ /dev/null @@ -1,1475 +0,0 @@ -format('m'); - $oYear = (int) $PHPDateObject->format('Y'); - - $adjustmentMonthsString = (string) $adjustmentMonths; - if ($adjustmentMonths > 0) { - $adjustmentMonthsString = '+'.$adjustmentMonths; - } - if ($adjustmentMonths != 0) { - $PHPDateObject->modify($adjustmentMonthsString.' months'); - } - $nMonth = (int) $PHPDateObject->format('m'); - $nYear = (int) $PHPDateObject->format('Y'); - - $monthDiff = ($nMonth - $oMonth) + (($nYear - $oYear) * 12); - if ($monthDiff != $adjustmentMonths) { - $adjustDays = (int) $PHPDateObject->format('d'); - $adjustDaysString = '-'.$adjustDays.' days'; - $PHPDateObject->modify($adjustDaysString); - } - return $PHPDateObject; - } // function _adjustDateByMonths() - - - /** - * DATETIMENOW - * - * Returns the current date and time. - * The NOW function is useful when you need to display the current date and time on a worksheet or - * calculate a value based on the current date and time, and have that value updated each time you - * open the worksheet. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * and time format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * NOW() - * - * @access public - * @category Date/Time Functions - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATETIMENOW() { - $saveTimeZone = date_default_timezone_get(); - date_default_timezone_set('UTC'); - $retValue = False; - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - $retValue = (float) PHPExcel_Shared_Date::PHPToExcel(time()); - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - $retValue = (integer) time(); - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - $retValue = new DateTime(); - break; - } - date_default_timezone_set($saveTimeZone); - - return $retValue; - } // function DATETIMENOW() - - - /** - * DATENOW - * - * Returns the current date. - * The NOW function is useful when you need to display the current date and time on a worksheet or - * calculate a value based on the current date and time, and have that value updated each time you - * open the worksheet. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * and time format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * TODAY() - * - * @access public - * @category Date/Time Functions - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATENOW() { - $saveTimeZone = date_default_timezone_get(); - date_default_timezone_set('UTC'); - $retValue = False; - $excelDateTime = floor(PHPExcel_Shared_Date::PHPToExcel(time())); - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - $retValue = (float) $excelDateTime; - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - $retValue = (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateTime); - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - $retValue = PHPExcel_Shared_Date::ExcelToPHPObject($excelDateTime); - break; - } - date_default_timezone_set($saveTimeZone); - - return $retValue; - } // function DATENOW() - - - /** - * DATE - * - * The DATE function returns a value that represents a particular date. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * DATE(year,month,day) - * - * PHPExcel is a lot more forgiving than MS Excel when passing non numeric values to this function. - * A Month name or abbreviation (English only at this point) such as 'January' or 'Jan' will still be accepted, - * as will a day value with a suffix (e.g. '21st' rather than simply 21); again only English language. - * - * @access public - * @category Date/Time Functions - * @param integer $year The value of the year argument can include one to four digits. - * Excel interprets the year argument according to the configured - * date system: 1900 or 1904. - * If year is between 0 (zero) and 1899 (inclusive), Excel adds that - * value to 1900 to calculate the year. For example, DATE(108,1,2) - * returns January 2, 2008 (1900+108). - * If year is between 1900 and 9999 (inclusive), Excel uses that - * value as the year. For example, DATE(2008,1,2) returns January 2, - * 2008. - * If year is less than 0 or is 10000 or greater, Excel returns the - * #NUM! error value. - * @param integer $month A positive or negative integer representing the month of the year - * from 1 to 12 (January to December). - * If month is greater than 12, month adds that number of months to - * the first month in the year specified. For example, DATE(2008,14,2) - * returns the serial number representing February 2, 2009. - * If month is less than 1, month subtracts the magnitude of that - * number of months, plus 1, from the first month in the year - * specified. For example, DATE(2008,-3,2) returns the serial number - * representing September 2, 2007. - * @param integer $day A positive or negative integer representing the day of the month - * from 1 to 31. - * If day is greater than the number of days in the month specified, - * day adds that number of days to the first day in the month. For - * example, DATE(2008,1,35) returns the serial number representing - * February 4, 2008. - * If day is less than 1, day subtracts the magnitude that number of - * days, plus one, from the first day of the month specified. For - * example, DATE(2008,1,-15) returns the serial number representing - * December 16, 2007. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATE($year = 0, $month = 1, $day = 1) { - $year = PHPExcel_Calculation_Functions::flattenSingleValue($year); - $month = PHPExcel_Calculation_Functions::flattenSingleValue($month); - $day = PHPExcel_Calculation_Functions::flattenSingleValue($day); - - if (($month !== NULL) && (!is_numeric($month))) { - $month = PHPExcel_Shared_Date::monthStringToNumber($month); - } - - if (($day !== NULL) && (!is_numeric($day))) { - $day = PHPExcel_Shared_Date::dayStringToNumber($day); - } - - $year = ($year !== NULL) ? PHPExcel_Shared_String::testStringAsNumeric($year) : 0; - $month = ($month !== NULL) ? PHPExcel_Shared_String::testStringAsNumeric($month) : 0; - $day = ($day !== NULL) ? PHPExcel_Shared_String::testStringAsNumeric($day) : 0; - if ((!is_numeric($year)) || - (!is_numeric($month)) || - (!is_numeric($day))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $year = (integer) $year; - $month = (integer) $month; - $day = (integer) $day; - - $baseYear = PHPExcel_Shared_Date::getExcelCalendar(); - // Validate parameters - if ($year < ($baseYear-1900)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((($baseYear-1900) != 0) && ($year < $baseYear) && ($year >= 1900)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (($year < $baseYear) && ($year >= ($baseYear-1900))) { - $year += 1900; - } - - if ($month < 1) { - // Handle year/month adjustment if month < 1 - --$month; - $year += ceil($month / 12) - 1; - $month = 13 - abs($month % 12); - } elseif ($month > 12) { - // Handle year/month adjustment if month > 12 - $year += floor($month / 12); - $month = ($month % 12); - } - - // Re-validate the year parameter after adjustments - if (($year < $baseYear) || ($year >= 10000)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($year, $month, $day); - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $excelDateValue; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return PHPExcel_Shared_Date::ExcelToPHPObject($excelDateValue); - } - } // function DATE() - - - /** - * TIME - * - * The TIME function returns a value that represents a particular time. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * TIME(hour,minute,second) - * - * @access public - * @category Date/Time Functions - * @param integer $hour A number from 0 (zero) to 32767 representing the hour. - * Any value greater than 23 will be divided by 24 and the remainder - * will be treated as the hour value. For example, TIME(27,0,0) = - * TIME(3,0,0) = .125 or 3:00 AM. - * @param integer $minute A number from 0 to 32767 representing the minute. - * Any value greater than 59 will be converted to hours and minutes. - * For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM. - * @param integer $second A number from 0 to 32767 representing the second. - * Any value greater than 59 will be converted to hours, minutes, - * and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 - * or 12:33:20 AM - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function TIME($hour = 0, $minute = 0, $second = 0) { - $hour = PHPExcel_Calculation_Functions::flattenSingleValue($hour); - $minute = PHPExcel_Calculation_Functions::flattenSingleValue($minute); - $second = PHPExcel_Calculation_Functions::flattenSingleValue($second); - - if ($hour == '') { $hour = 0; } - if ($minute == '') { $minute = 0; } - if ($second == '') { $second = 0; } - - if ((!is_numeric($hour)) || (!is_numeric($minute)) || (!is_numeric($second))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $hour = (integer) $hour; - $minute = (integer) $minute; - $second = (integer) $second; - - if ($second < 0) { - $minute += floor($second / 60); - $second = 60 - abs($second % 60); - if ($second == 60) { $second = 0; } - } elseif ($second >= 60) { - $minute += floor($second / 60); - $second = $second % 60; - } - if ($minute < 0) { - $hour += floor($minute / 60); - $minute = 60 - abs($minute % 60); - if ($minute == 60) { $minute = 0; } - } elseif ($minute >= 60) { - $hour += floor($minute / 60); - $minute = $minute % 60; - } - - if ($hour > 23) { - $hour = $hour % 24; - } elseif ($hour < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - $date = 0; - $calendar = PHPExcel_Shared_Date::getExcelCalendar(); - if ($calendar != PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900) { - $date = 1; - } - return (float) PHPExcel_Shared_Date::FormattedPHPToExcel($calendar, 1, $date, $hour, $minute, $second); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::FormattedPHPToExcel(1970, 1, 1, $hour, $minute, $second)); // -2147468400; // -2147472000 + 3600 - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - $dayAdjust = 0; - if ($hour < 0) { - $dayAdjust = floor($hour / 24); - $hour = 24 - abs($hour % 24); - if ($hour == 24) { $hour = 0; } - } elseif ($hour >= 24) { - $dayAdjust = floor($hour / 24); - $hour = $hour % 24; - } - $phpDateObject = new DateTime('1900-01-01 '.$hour.':'.$minute.':'.$second); - if ($dayAdjust != 0) { - $phpDateObject->modify($dayAdjust.' days'); - } - return $phpDateObject; - } - } // function TIME() - - - /** - * DATEVALUE - * - * Returns a value that represents a particular date. - * Use DATEVALUE to convert a date represented by a text string to an Excel or PHP date/time stamp - * value. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * DATEVALUE(dateValue) - * - * @access public - * @category Date/Time Functions - * @param string $dateValue Text that represents a date in a Microsoft Excel date format. - * For example, "1/30/2008" or "30-Jan-2008" are text strings within - * quotation marks that represent dates. Using the default date - * system in Excel for Windows, date_text must represent a date from - * January 1, 1900, to December 31, 9999. Using the default date - * system in Excel for the Macintosh, date_text must represent a date - * from January 1, 1904, to December 31, 9999. DATEVALUE returns the - * #VALUE! error value if date_text is out of this range. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATEVALUE($dateValue = 1) { - $dateValue = trim(PHPExcel_Calculation_Functions::flattenSingleValue($dateValue),'"'); - // Strip any ordinals because they're allowed in Excel (English only) - $dateValue = preg_replace('/(\d)(st|nd|rd|th)([ -\/])/Ui','$1$3',$dateValue); - // Convert separators (/ . or space) to hyphens (should also handle dot used for ordinals in some countries, e.g. Denmark, Germany) - $dateValue = str_replace(array('/','.','-',' '),array(' ',' ',' ',' '),$dateValue); - - $yearFound = false; - $t1 = explode(' ',$dateValue); - foreach($t1 as &$t) { - if ((is_numeric($t)) && ($t > 31)) { - if ($yearFound) { - return PHPExcel_Calculation_Functions::VALUE(); - } else { - if ($t < 100) { $t += 1900; } - $yearFound = true; - } - } - } - if ((count($t1) == 1) && (strpos($t,':') != false)) { - // We've been fed a time value without any date - return 0.0; - } elseif (count($t1) == 2) { - // We only have two parts of the date: either day/month or month/year - if ($yearFound) { - array_unshift($t1,1); - } else { - array_push($t1,date('Y')); - } - } - unset($t); - $dateValue = implode(' ',$t1); - - $PHPDateArray = date_parse($dateValue); - if (($PHPDateArray === False) || ($PHPDateArray['error_count'] > 0)) { - $testVal1 = strtok($dateValue,'- '); - if ($testVal1 !== False) { - $testVal2 = strtok('- '); - if ($testVal2 !== False) { - $testVal3 = strtok('- '); - if ($testVal3 === False) { - $testVal3 = strftime('%Y'); - } - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $PHPDateArray = date_parse($testVal1.'-'.$testVal2.'-'.$testVal3); - if (($PHPDateArray === False) || ($PHPDateArray['error_count'] > 0)) { - $PHPDateArray = date_parse($testVal2.'-'.$testVal1.'-'.$testVal3); - if (($PHPDateArray === False) || ($PHPDateArray['error_count'] > 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - } - - if (($PHPDateArray !== False) && ($PHPDateArray['error_count'] == 0)) { - // Execute function - if ($PHPDateArray['year'] == '') { $PHPDateArray['year'] = strftime('%Y'); } - if ($PHPDateArray['year'] < 1900) - return PHPExcel_Calculation_Functions::VALUE(); - if ($PHPDateArray['month'] == '') { $PHPDateArray['month'] = strftime('%m'); } - if ($PHPDateArray['day'] == '') { $PHPDateArray['day'] = strftime('%d'); } - $excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second'])); - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $excelDateValue; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return new DateTime($PHPDateArray['year'].'-'.$PHPDateArray['month'].'-'.$PHPDateArray['day'].' 00:00:00'); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DATEVALUE() - - - /** - * TIMEVALUE - * - * Returns a value that represents a particular time. - * Use TIMEVALUE to convert a time represented by a text string to an Excel or PHP date/time stamp - * value. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * TIMEVALUE(timeValue) - * - * @access public - * @category Date/Time Functions - * @param string $timeValue A text string that represents a time in any one of the Microsoft - * Excel time formats; for example, "6:45 PM" and "18:45" text strings - * within quotation marks that represent time. - * Date information in time_text is ignored. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function TIMEVALUE($timeValue) { - $timeValue = trim(PHPExcel_Calculation_Functions::flattenSingleValue($timeValue),'"'); - $timeValue = str_replace(array('/','.'),array('-','-'),$timeValue); - - $PHPDateArray = date_parse($timeValue); - if (($PHPDateArray !== False) && ($PHPDateArray['error_count'] == 0)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']); - } else { - $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1; - } - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $excelDateValue; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) $phpDateValue = PHPExcel_Shared_Date::ExcelToPHP($excelDateValue+25569) - 3600;; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return new DateTime('1900-01-01 '.$PHPDateArray['hour'].':'.$PHPDateArray['minute'].':'.$PHPDateArray['second']); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TIMEVALUE() - - - /** - * DATEDIF - * - * @param mixed $startDate Excel date serial value, PHP date/time stamp, PHP DateTime object - * or a standard date string - * @param mixed $endDate Excel date serial value, PHP date/time stamp, PHP DateTime object - * or a standard date string - * @param string $unit - * @return integer Interval between the dates - */ - public static function DATEDIF($startDate = 0, $endDate = 0, $unit = 'D') { - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - $unit = strtoupper(PHPExcel_Calculation_Functions::flattenSingleValue($unit)); - - if (is_string($startDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($endDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Validate parameters - if ($startDate >= $endDate) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $difference = $endDate - $startDate; - - $PHPStartDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($startDate); - $startDays = $PHPStartDateObject->format('j'); - $startMonths = $PHPStartDateObject->format('n'); - $startYears = $PHPStartDateObject->format('Y'); - - $PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate); - $endDays = $PHPEndDateObject->format('j'); - $endMonths = $PHPEndDateObject->format('n'); - $endYears = $PHPEndDateObject->format('Y'); - - $retVal = PHPExcel_Calculation_Functions::NaN(); - switch ($unit) { - case 'D': - $retVal = intval($difference); - break; - case 'M': - $retVal = intval($endMonths - $startMonths) + (intval($endYears - $startYears) * 12); - // We're only interested in full months - if ($endDays < $startDays) { - --$retVal; - } - break; - case 'Y': - $retVal = intval($endYears - $startYears); - // We're only interested in full months - if ($endMonths < $startMonths) { - --$retVal; - } elseif (($endMonths == $startMonths) && ($endDays < $startDays)) { - --$retVal; - } - break; - case 'MD': - if ($endDays < $startDays) { - $retVal = $endDays; - $PHPEndDateObject->modify('-'.$endDays.' days'); - $adjustDays = $PHPEndDateObject->format('j'); - if ($adjustDays > $startDays) { - $retVal += ($adjustDays - $startDays); - } - } else { - $retVal = $endDays - $startDays; - } - break; - case 'YM': - $retVal = intval($endMonths - $startMonths); - if ($retVal < 0) $retVal = 12 + $retVal; - // We're only interested in full months - if ($endDays < $startDays) { - --$retVal; - } - break; - case 'YD': - $retVal = intval($difference); - if ($endYears > $startYears) { - while ($endYears > $startYears) { - $PHPEndDateObject->modify('-1 year'); - $endYears = $PHPEndDateObject->format('Y'); - } - $retVal = $PHPEndDateObject->format('z') - $PHPStartDateObject->format('z'); - if ($retVal < 0) { $retVal += 365; } - } - break; - default: - $retVal = PHPExcel_Calculation_Functions::NaN(); - } - return $retVal; - } // function DATEDIF() - - - /** - * DAYS360 - * - * Returns the number of days between two dates based on a 360-day year (twelve 30-day months), - * which is used in some accounting calculations. Use this function to help compute payments if - * your accounting system is based on twelve 30-day months. - * - * Excel Function: - * DAYS360(startDate,endDate[,method]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param boolean $method US or European Method - * FALSE or omitted: U.S. (NASD) method. If the starting date is - * the last day of a month, it becomes equal to the 30th of the - * same month. If the ending date is the last day of a month and - * the starting date is earlier than the 30th of a month, the - * ending date becomes equal to the 1st of the next month; - * otherwise the ending date becomes equal to the 30th of the - * same month. - * TRUE: European method. Starting dates and ending dates that - * occur on the 31st of a month become equal to the 30th of the - * same month. - * @return integer Number of days between start date and end date - */ - public static function DAYS360($startDate = 0, $endDate = 0, $method = false) { - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - - if (is_string($startDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($endDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (!is_bool($method)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Execute function - $PHPStartDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($startDate); - $startDay = $PHPStartDateObject->format('j'); - $startMonth = $PHPStartDateObject->format('n'); - $startYear = $PHPStartDateObject->format('Y'); - - $PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate); - $endDay = $PHPEndDateObject->format('j'); - $endMonth = $PHPEndDateObject->format('n'); - $endYear = $PHPEndDateObject->format('Y'); - - return self::_dateDiff360($startDay, $startMonth, $startYear, $endDay, $endMonth, $endYear, !$method); - } // function DAYS360() - - - /** - * YEARFRAC - * - * Calculates the fraction of the year represented by the number of whole days between two dates - * (the start_date and the end_date). - * Use the YEARFRAC worksheet function to identify the proportion of a whole year's benefits or - * obligations to assign to a specific term. - * - * Excel Function: - * YEARFRAC(startDate,endDate[,method]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param integer $method Method used for the calculation - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float fraction of the year - */ - public static function YEARFRAC($startDate = 0, $endDate = 0, $method = 0) { - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - $method = PHPExcel_Calculation_Functions::flattenSingleValue($method); - - if (is_string($startDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($endDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (((is_numeric($method)) && (!is_string($method))) || ($method == '')) { - switch($method) { - case 0 : - return self::DAYS360($startDate,$endDate) / 360; - case 1 : - $days = self::DATEDIF($startDate,$endDate); - $startYear = self::YEAR($startDate); - $endYear = self::YEAR($endDate); - $years = $endYear - $startYear + 1; - $leapDays = 0; - if ($years == 1) { - if (self::_isLeapYear($endYear)) { - $startMonth = self::MONTHOFYEAR($startDate); - $endMonth = self::MONTHOFYEAR($endDate); - $endDay = self::DAYOFMONTH($endDate); - if (($startMonth < 3) || - (($endMonth * 100 + $endDay) >= (2 * 100 + 29))) { - $leapDays += 1; - } - } - } else { - for($year = $startYear; $year <= $endYear; ++$year) { - if ($year == $startYear) { - $startMonth = self::MONTHOFYEAR($startDate); - $startDay = self::DAYOFMONTH($startDate); - if ($startMonth < 3) { - $leapDays += (self::_isLeapYear($year)) ? 1 : 0; - } - } elseif($year == $endYear) { - $endMonth = self::MONTHOFYEAR($endDate); - $endDay = self::DAYOFMONTH($endDate); - if (($endMonth * 100 + $endDay) >= (2 * 100 + 29)) { - $leapDays += (self::_isLeapYear($year)) ? 1 : 0; - } - } else { - $leapDays += (self::_isLeapYear($year)) ? 1 : 0; - } - } - if ($years == 2) { - if (($leapDays == 0) && (self::_isLeapYear($startYear)) && ($days > 365)) { - $leapDays = 1; - } elseif ($days < 366) { - $years = 1; - } - } - $leapDays /= $years; - } - return $days / (365 + $leapDays); - case 2 : - return self::DATEDIF($startDate,$endDate) / 360; - case 3 : - return self::DATEDIF($startDate,$endDate) / 365; - case 4 : - return self::DAYS360($startDate,$endDate,True) / 360; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function YEARFRAC() - - - /** - * NETWORKDAYS - * - * Returns the number of whole working days between start_date and end_date. Working days - * exclude weekends and any dates identified in holidays. - * Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days - * worked during a specific term. - * - * Excel Function: - * NETWORKDAYS(startDate,endDate[,holidays[,holiday[,...]]]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $holidays,... Optional series of Excel date serial value (float), PHP date - * timestamp (integer), PHP DateTime object, or a standard date - * strings that will be excluded from the working calendar, such - * as state and federal holidays and floating holidays. - * @return integer Interval between the dates - */ - public static function NETWORKDAYS($startDate,$endDate) { - // Retrieve the mandatory start and end date that are referenced in the function definition - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - // Flush the mandatory start and end date that are referenced in the function definition, and get the optional days - $dateArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - array_shift($dateArgs); - array_shift($dateArgs); - - // Validate the start and end dates - if (is_string($startDate = $sDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $startDate = (float) floor($startDate); - if (is_string($endDate = $eDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $endDate = (float) floor($endDate); - - if ($sDate > $eDate) { - $startDate = $eDate; - $endDate = $sDate; - } - - // Execute function - $startDoW = 6 - self::DAYOFWEEK($startDate,2); - if ($startDoW < 0) { $startDoW = 0; } - $endDoW = self::DAYOFWEEK($endDate,2); - if ($endDoW >= 6) { $endDoW = 0; } - - $wholeWeekDays = floor(($endDate - $startDate) / 7) * 5; - $partWeekDays = $endDoW + $startDoW; - if ($partWeekDays > 5) { - $partWeekDays -= 5; - } - - // Test any extra holiday parameters - $holidayCountedArray = array(); - foreach ($dateArgs as $holidayDate) { - if (is_string($holidayDate = self::_getDateValue($holidayDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) { - if ((self::DAYOFWEEK($holidayDate,2) < 6) && (!in_array($holidayDate,$holidayCountedArray))) { - --$partWeekDays; - $holidayCountedArray[] = $holidayDate; - } - } - } - - if ($sDate > $eDate) { - return 0 - ($wholeWeekDays + $partWeekDays); - } - return $wholeWeekDays + $partWeekDays; - } // function NETWORKDAYS() - - - /** - * WORKDAY - * - * Returns the date that is the indicated number of working days before or after a date (the - * starting date). Working days exclude weekends and any dates identified as holidays. - * Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, expected - * delivery times, or the number of days of work performed. - * - * Excel Function: - * WORKDAY(startDate,endDays[,holidays[,holiday[,...]]]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param integer $endDays The number of nonweekend and nonholiday days before or after - * startDate. A positive value for days yields a future date; a - * negative value yields a past date. - * @param mixed $holidays,... Optional series of Excel date serial value (float), PHP date - * timestamp (integer), PHP DateTime object, or a standard date - * strings that will be excluded from the working calendar, such - * as state and federal holidays and floating holidays. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function WORKDAY($startDate,$endDays) { - // Retrieve the mandatory start date and days that are referenced in the function definition - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDays = PHPExcel_Calculation_Functions::flattenSingleValue($endDays); - // Flush the mandatory start date and days that are referenced in the function definition, and get the optional days - $dateArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - array_shift($dateArgs); - array_shift($dateArgs); - - if ((is_string($startDate = self::_getDateValue($startDate))) || (!is_numeric($endDays))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $startDate = (float) floor($startDate); - $endDays = (int) floor($endDays); - // If endDays is 0, we always return startDate - if ($endDays == 0) { return $startDate; } - - $decrementing = ($endDays < 0) ? True : False; - - // Adjust the start date if it falls over a weekend - - $startDoW = self::DAYOFWEEK($startDate,3); - if (self::DAYOFWEEK($startDate,3) >= 5) { - $startDate += ($decrementing) ? -$startDoW + 4: 7 - $startDoW; - ($decrementing) ? $endDays++ : $endDays--; - } - - // Add endDays - $endDate = (float) $startDate + (intval($endDays / 5) * 7) + ($endDays % 5); - - // Adjust the calculated end date if it falls over a weekend - $endDoW = self::DAYOFWEEK($endDate,3); - if ($endDoW >= 5) { - $endDate += ($decrementing) ? -$endDoW + 4: 7 - $endDoW; - } - - // Test any extra holiday parameters - if (!empty($dateArgs)) { - $holidayCountedArray = $holidayDates = array(); - foreach ($dateArgs as $holidayDate) { - if (($holidayDate !== NULL) && (trim($holidayDate) > '')) { - if (is_string($holidayDate = self::_getDateValue($holidayDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (self::DAYOFWEEK($holidayDate,3) < 5) { - $holidayDates[] = $holidayDate; - } - } - } - if ($decrementing) { - rsort($holidayDates, SORT_NUMERIC); - } else { - sort($holidayDates, SORT_NUMERIC); - } - foreach ($holidayDates as $holidayDate) { - if ($decrementing) { - if (($holidayDate <= $startDate) && ($holidayDate >= $endDate)) { - if (!in_array($holidayDate,$holidayCountedArray)) { - --$endDate; - $holidayCountedArray[] = $holidayDate; - } - } - } else { - if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) { - if (!in_array($holidayDate,$holidayCountedArray)) { - ++$endDate; - $holidayCountedArray[] = $holidayDate; - } - } - } - // Adjust the calculated end date if it falls over a weekend - $endDoW = self::DAYOFWEEK($endDate,3); - if ($endDoW >= 5) { - $endDate += ($decrementing) ? -$endDoW + 4: 7 - $endDoW; - } - - } - } - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $endDate; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP($endDate); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return PHPExcel_Shared_Date::ExcelToPHPObject($endDate); - } - } // function WORKDAY() - - - /** - * DAYOFMONTH - * - * Returns the day of the month, for a specified date. The day is given as an integer - * ranging from 1 to 31. - * - * Excel Function: - * DAY(dateValue) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @return int Day of the month - */ - public static function DAYOFMONTH($dateValue = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue == 0.0) { - return 0; - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - - return (int) $PHPDateObject->format('j'); - } // function DAYOFMONTH() - - - /** - * DAYOFWEEK - * - * Returns the day of the week for a specified date. The day is given as an integer - * ranging from 0 to 7 (dependent on the requested style). - * - * Excel Function: - * WEEKDAY(dateValue[,style]) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param int $style A number that determines the type of return value - * 1 or omitted Numbers 1 (Sunday) through 7 (Saturday). - * 2 Numbers 1 (Monday) through 7 (Sunday). - * 3 Numbers 0 (Monday) through 6 (Sunday). - * @return int Day of the week value - */ - public static function DAYOFWEEK($dateValue = 1, $style = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $style = PHPExcel_Calculation_Functions::flattenSingleValue($style); - - if (!is_numeric($style)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif (($style < 1) || ($style > 3)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $style = floor($style); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - $DoW = $PHPDateObject->format('w'); - - $firstDay = 1; - switch ($style) { - case 1: ++$DoW; - break; - case 2: if ($DoW == 0) { $DoW = 7; } - break; - case 3: if ($DoW == 0) { $DoW = 7; } - $firstDay = 0; - --$DoW; - break; - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL) { - // Test for Excel's 1900 leap year, and introduce the error as required - if (($PHPDateObject->format('Y') == 1900) && ($PHPDateObject->format('n') <= 2)) { - --$DoW; - if ($DoW < $firstDay) { - $DoW += 7; - } - } - } - - return (int) $DoW; - } // function DAYOFWEEK() - - - /** - * WEEKOFYEAR - * - * Returns the week of the year for a specified date. - * The WEEKNUM function considers the week containing January 1 to be the first week of the year. - * However, there is a European standard that defines the first week as the one with the majority - * of days (four or more) falling in the new year. This means that for years in which there are - * three days or less in the first week of January, the WEEKNUM function returns week numbers - * that are incorrect according to the European standard. - * - * Excel Function: - * WEEKNUM(dateValue[,style]) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param boolean $method Week begins on Sunday or Monday - * 1 or omitted Week begins on Sunday. - * 2 Week begins on Monday. - * @return int Week Number - */ - public static function WEEKOFYEAR($dateValue = 1, $method = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $method = PHPExcel_Calculation_Functions::flattenSingleValue($method); - - if (!is_numeric($method)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif (($method < 1) || ($method > 2)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $method = floor($method); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - $dayOfYear = $PHPDateObject->format('z'); - $dow = $PHPDateObject->format('w'); - $PHPDateObject->modify('-'.$dayOfYear.' days'); - $dow = $PHPDateObject->format('w'); - $daysInFirstWeek = 7 - (($dow + (2 - $method)) % 7); - $dayOfYear -= $daysInFirstWeek; - $weekOfYear = ceil($dayOfYear / 7) + 1; - - return (int) $weekOfYear; - } // function WEEKOFYEAR() - - - /** - * MONTHOFYEAR - * - * Returns the month of a date represented by a serial number. - * The month is given as an integer, ranging from 1 (January) to 12 (December). - * - * Excel Function: - * MONTH(dateValue) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @return int Month of the year - */ - public static function MONTHOFYEAR($dateValue = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - - return (int) $PHPDateObject->format('n'); - } // function MONTHOFYEAR() - - - /** - * YEAR - * - * Returns the year corresponding to a date. - * The year is returned as an integer in the range 1900-9999. - * - * Excel Function: - * YEAR(dateValue) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @return int Year - */ - public static function YEAR($dateValue = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - - return (int) $PHPDateObject->format('Y'); - } // function YEAR() - - - /** - * HOUROFDAY - * - * Returns the hour of a time value. - * The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.). - * - * Excel Function: - * HOUR(timeValue) - * - * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard time string - * @return int Hour - */ - public static function HOUROFDAY($timeValue = 0) { - $timeValue = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue); - - if (!is_numeric($timeValue)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $testVal = strtok($timeValue,'/-: '); - if (strlen($testVal) < strlen($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $timeValue = self::_getTimeValue($timeValue); - if (is_string($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Execute function - if ($timeValue >= 1) { - $timeValue = fmod($timeValue,1); - } elseif ($timeValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue); - - return (int) gmdate('G',$timeValue); - } // function HOUROFDAY() - - - /** - * MINUTEOFHOUR - * - * Returns the minutes of a time value. - * The minute is given as an integer, ranging from 0 to 59. - * - * Excel Function: - * MINUTE(timeValue) - * - * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard time string - * @return int Minute - */ - public static function MINUTEOFHOUR($timeValue = 0) { - $timeValue = $timeTester = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue); - - if (!is_numeric($timeValue)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $testVal = strtok($timeValue,'/-: '); - if (strlen($testVal) < strlen($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $timeValue = self::_getTimeValue($timeValue); - if (is_string($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Execute function - if ($timeValue >= 1) { - $timeValue = fmod($timeValue,1); - } elseif ($timeValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue); - - return (int) gmdate('i',$timeValue); - } // function MINUTEOFHOUR() - - - /** - * SECONDOFMINUTE - * - * Returns the seconds of a time value. - * The second is given as an integer in the range 0 (zero) to 59. - * - * Excel Function: - * SECOND(timeValue) - * - * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard time string - * @return int Second - */ - public static function SECONDOFMINUTE($timeValue = 0) { - $timeValue = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue); - - if (!is_numeric($timeValue)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $testVal = strtok($timeValue,'/-: '); - if (strlen($testVal) < strlen($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $timeValue = self::_getTimeValue($timeValue); - if (is_string($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Execute function - if ($timeValue >= 1) { - $timeValue = fmod($timeValue,1); - } elseif ($timeValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue); - - return (int) gmdate('s',$timeValue); - } // function SECONDOFMINUTE() - - - /** - * EDATE - * - * Returns the serial number that represents the date that is the indicated number of months - * before or after a specified date (the start_date). - * Use EDATE to calculate maturity dates or due dates that fall on the same day of the month - * as the date of issue. - * - * Excel Function: - * EDATE(dateValue,adjustmentMonths) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param int $adjustmentMonths The number of months before or after start_date. - * A positive value for months yields a future date; - * a negative value yields a past date. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function EDATE($dateValue = 1, $adjustmentMonths = 0) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $adjustmentMonths = PHPExcel_Calculation_Functions::flattenSingleValue($adjustmentMonths); - - if (!is_numeric($adjustmentMonths)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $adjustmentMonths = floor($adjustmentMonths); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Execute function - $PHPDateObject = self::_adjustDateByMonths($dateValue,$adjustmentMonths); - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) PHPExcel_Shared_Date::PHPToExcel($PHPDateObject); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject)); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return $PHPDateObject; - } - } // function EDATE() - - - /** - * EOMONTH - * - * Returns the date value for the last day of the month that is the indicated number of months - * before or after start_date. - * Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month. - * - * Excel Function: - * EOMONTH(dateValue,adjustmentMonths) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param int $adjustmentMonths The number of months before or after start_date. - * A positive value for months yields a future date; - * a negative value yields a past date. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function EOMONTH($dateValue = 1, $adjustmentMonths = 0) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $adjustmentMonths = PHPExcel_Calculation_Functions::flattenSingleValue($adjustmentMonths); - - if (!is_numeric($adjustmentMonths)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $adjustmentMonths = floor($adjustmentMonths); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Execute function - $PHPDateObject = self::_adjustDateByMonths($dateValue,$adjustmentMonths+1); - $adjustDays = (int) $PHPDateObject->format('d'); - $adjustDaysString = '-'.$adjustDays.' days'; - $PHPDateObject->modify($adjustDaysString); - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) PHPExcel_Shared_Date::PHPToExcel($PHPDateObject); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject)); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return $PHPDateObject; - } - } // function EOMONTH() - -} // class PHPExcel_Calculation_DateTime - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Engineering.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Engineering.php deleted file mode 100644 index b60163e56..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Engineering.php +++ /dev/null @@ -1,2505 +0,0 @@ - array( 'Group' => 'Mass', 'Unit Name' => 'Gram', 'AllowPrefix' => True ), - 'sg' => array( 'Group' => 'Mass', 'Unit Name' => 'Slug', 'AllowPrefix' => False ), - 'lbm' => array( 'Group' => 'Mass', 'Unit Name' => 'Pound mass (avoirdupois)', 'AllowPrefix' => False ), - 'u' => array( 'Group' => 'Mass', 'Unit Name' => 'U (atomic mass unit)', 'AllowPrefix' => True ), - 'ozm' => array( 'Group' => 'Mass', 'Unit Name' => 'Ounce mass (avoirdupois)', 'AllowPrefix' => False ), - 'm' => array( 'Group' => 'Distance', 'Unit Name' => 'Meter', 'AllowPrefix' => True ), - 'mi' => array( 'Group' => 'Distance', 'Unit Name' => 'Statute mile', 'AllowPrefix' => False ), - 'Nmi' => array( 'Group' => 'Distance', 'Unit Name' => 'Nautical mile', 'AllowPrefix' => False ), - 'in' => array( 'Group' => 'Distance', 'Unit Name' => 'Inch', 'AllowPrefix' => False ), - 'ft' => array( 'Group' => 'Distance', 'Unit Name' => 'Foot', 'AllowPrefix' => False ), - 'yd' => array( 'Group' => 'Distance', 'Unit Name' => 'Yard', 'AllowPrefix' => False ), - 'ang' => array( 'Group' => 'Distance', 'Unit Name' => 'Angstrom', 'AllowPrefix' => True ), - 'Pica' => array( 'Group' => 'Distance', 'Unit Name' => 'Pica (1/72 in)', 'AllowPrefix' => False ), - 'yr' => array( 'Group' => 'Time', 'Unit Name' => 'Year', 'AllowPrefix' => False ), - 'day' => array( 'Group' => 'Time', 'Unit Name' => 'Day', 'AllowPrefix' => False ), - 'hr' => array( 'Group' => 'Time', 'Unit Name' => 'Hour', 'AllowPrefix' => False ), - 'mn' => array( 'Group' => 'Time', 'Unit Name' => 'Minute', 'AllowPrefix' => False ), - 'sec' => array( 'Group' => 'Time', 'Unit Name' => 'Second', 'AllowPrefix' => True ), - 'Pa' => array( 'Group' => 'Pressure', 'Unit Name' => 'Pascal', 'AllowPrefix' => True ), - 'p' => array( 'Group' => 'Pressure', 'Unit Name' => 'Pascal', 'AllowPrefix' => True ), - 'atm' => array( 'Group' => 'Pressure', 'Unit Name' => 'Atmosphere', 'AllowPrefix' => True ), - 'at' => array( 'Group' => 'Pressure', 'Unit Name' => 'Atmosphere', 'AllowPrefix' => True ), - 'mmHg' => array( 'Group' => 'Pressure', 'Unit Name' => 'mm of Mercury', 'AllowPrefix' => True ), - 'N' => array( 'Group' => 'Force', 'Unit Name' => 'Newton', 'AllowPrefix' => True ), - 'dyn' => array( 'Group' => 'Force', 'Unit Name' => 'Dyne', 'AllowPrefix' => True ), - 'dy' => array( 'Group' => 'Force', 'Unit Name' => 'Dyne', 'AllowPrefix' => True ), - 'lbf' => array( 'Group' => 'Force', 'Unit Name' => 'Pound force', 'AllowPrefix' => False ), - 'J' => array( 'Group' => 'Energy', 'Unit Name' => 'Joule', 'AllowPrefix' => True ), - 'e' => array( 'Group' => 'Energy', 'Unit Name' => 'Erg', 'AllowPrefix' => True ), - 'c' => array( 'Group' => 'Energy', 'Unit Name' => 'Thermodynamic calorie', 'AllowPrefix' => True ), - 'cal' => array( 'Group' => 'Energy', 'Unit Name' => 'IT calorie', 'AllowPrefix' => True ), - 'eV' => array( 'Group' => 'Energy', 'Unit Name' => 'Electron volt', 'AllowPrefix' => True ), - 'ev' => array( 'Group' => 'Energy', 'Unit Name' => 'Electron volt', 'AllowPrefix' => True ), - 'HPh' => array( 'Group' => 'Energy', 'Unit Name' => 'Horsepower-hour', 'AllowPrefix' => False ), - 'hh' => array( 'Group' => 'Energy', 'Unit Name' => 'Horsepower-hour', 'AllowPrefix' => False ), - 'Wh' => array( 'Group' => 'Energy', 'Unit Name' => 'Watt-hour', 'AllowPrefix' => True ), - 'wh' => array( 'Group' => 'Energy', 'Unit Name' => 'Watt-hour', 'AllowPrefix' => True ), - 'flb' => array( 'Group' => 'Energy', 'Unit Name' => 'Foot-pound', 'AllowPrefix' => False ), - 'BTU' => array( 'Group' => 'Energy', 'Unit Name' => 'BTU', 'AllowPrefix' => False ), - 'btu' => array( 'Group' => 'Energy', 'Unit Name' => 'BTU', 'AllowPrefix' => False ), - 'HP' => array( 'Group' => 'Power', 'Unit Name' => 'Horsepower', 'AllowPrefix' => False ), - 'h' => array( 'Group' => 'Power', 'Unit Name' => 'Horsepower', 'AllowPrefix' => False ), - 'W' => array( 'Group' => 'Power', 'Unit Name' => 'Watt', 'AllowPrefix' => True ), - 'w' => array( 'Group' => 'Power', 'Unit Name' => 'Watt', 'AllowPrefix' => True ), - 'T' => array( 'Group' => 'Magnetism', 'Unit Name' => 'Tesla', 'AllowPrefix' => True ), - 'ga' => array( 'Group' => 'Magnetism', 'Unit Name' => 'Gauss', 'AllowPrefix' => True ), - 'C' => array( 'Group' => 'Temperature', 'Unit Name' => 'Celsius', 'AllowPrefix' => False ), - 'cel' => array( 'Group' => 'Temperature', 'Unit Name' => 'Celsius', 'AllowPrefix' => False ), - 'F' => array( 'Group' => 'Temperature', 'Unit Name' => 'Fahrenheit', 'AllowPrefix' => False ), - 'fah' => array( 'Group' => 'Temperature', 'Unit Name' => 'Fahrenheit', 'AllowPrefix' => False ), - 'K' => array( 'Group' => 'Temperature', 'Unit Name' => 'Kelvin', 'AllowPrefix' => False ), - 'kel' => array( 'Group' => 'Temperature', 'Unit Name' => 'Kelvin', 'AllowPrefix' => False ), - 'tsp' => array( 'Group' => 'Liquid', 'Unit Name' => 'Teaspoon', 'AllowPrefix' => False ), - 'tbs' => array( 'Group' => 'Liquid', 'Unit Name' => 'Tablespoon', 'AllowPrefix' => False ), - 'oz' => array( 'Group' => 'Liquid', 'Unit Name' => 'Fluid Ounce', 'AllowPrefix' => False ), - 'cup' => array( 'Group' => 'Liquid', 'Unit Name' => 'Cup', 'AllowPrefix' => False ), - 'pt' => array( 'Group' => 'Liquid', 'Unit Name' => 'U.S. Pint', 'AllowPrefix' => False ), - 'us_pt' => array( 'Group' => 'Liquid', 'Unit Name' => 'U.S. Pint', 'AllowPrefix' => False ), - 'uk_pt' => array( 'Group' => 'Liquid', 'Unit Name' => 'U.K. Pint', 'AllowPrefix' => False ), - 'qt' => array( 'Group' => 'Liquid', 'Unit Name' => 'Quart', 'AllowPrefix' => False ), - 'gal' => array( 'Group' => 'Liquid', 'Unit Name' => 'Gallon', 'AllowPrefix' => False ), - 'l' => array( 'Group' => 'Liquid', 'Unit Name' => 'Litre', 'AllowPrefix' => True ), - 'lt' => array( 'Group' => 'Liquid', 'Unit Name' => 'Litre', 'AllowPrefix' => True ) - ); - - /** - * Details of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM() - * - * @var mixed[] - */ - private static $_conversionMultipliers = array( 'Y' => array( 'multiplier' => 1E24, 'name' => 'yotta' ), - 'Z' => array( 'multiplier' => 1E21, 'name' => 'zetta' ), - 'E' => array( 'multiplier' => 1E18, 'name' => 'exa' ), - 'P' => array( 'multiplier' => 1E15, 'name' => 'peta' ), - 'T' => array( 'multiplier' => 1E12, 'name' => 'tera' ), - 'G' => array( 'multiplier' => 1E9, 'name' => 'giga' ), - 'M' => array( 'multiplier' => 1E6, 'name' => 'mega' ), - 'k' => array( 'multiplier' => 1E3, 'name' => 'kilo' ), - 'h' => array( 'multiplier' => 1E2, 'name' => 'hecto' ), - 'e' => array( 'multiplier' => 1E1, 'name' => 'deka' ), - 'd' => array( 'multiplier' => 1E-1, 'name' => 'deci' ), - 'c' => array( 'multiplier' => 1E-2, 'name' => 'centi' ), - 'm' => array( 'multiplier' => 1E-3, 'name' => 'milli' ), - 'u' => array( 'multiplier' => 1E-6, 'name' => 'micro' ), - 'n' => array( 'multiplier' => 1E-9, 'name' => 'nano' ), - 'p' => array( 'multiplier' => 1E-12, 'name' => 'pico' ), - 'f' => array( 'multiplier' => 1E-15, 'name' => 'femto' ), - 'a' => array( 'multiplier' => 1E-18, 'name' => 'atto' ), - 'z' => array( 'multiplier' => 1E-21, 'name' => 'zepto' ), - 'y' => array( 'multiplier' => 1E-24, 'name' => 'yocto' ) - ); - - /** - * Details of the Units of measure conversion factors, organised by group - * - * @var mixed[] - */ - private static $_unitConversions = array( 'Mass' => array( 'g' => array( 'g' => 1.0, - 'sg' => 6.85220500053478E-05, - 'lbm' => 2.20462291469134E-03, - 'u' => 6.02217000000000E+23, - 'ozm' => 3.52739718003627E-02 - ), - 'sg' => array( 'g' => 1.45938424189287E+04, - 'sg' => 1.0, - 'lbm' => 3.21739194101647E+01, - 'u' => 8.78866000000000E+27, - 'ozm' => 5.14782785944229E+02 - ), - 'lbm' => array( 'g' => 4.5359230974881148E+02, - 'sg' => 3.10810749306493E-02, - 'lbm' => 1.0, - 'u' => 2.73161000000000E+26, - 'ozm' => 1.60000023429410E+01 - ), - 'u' => array( 'g' => 1.66053100460465E-24, - 'sg' => 1.13782988532950E-28, - 'lbm' => 3.66084470330684E-27, - 'u' => 1.0, - 'ozm' => 5.85735238300524E-26 - ), - 'ozm' => array( 'g' => 2.83495152079732E+01, - 'sg' => 1.94256689870811E-03, - 'lbm' => 6.24999908478882E-02, - 'u' => 1.70725600000000E+25, - 'ozm' => 1.0 - ) - ), - 'Distance' => array( 'm' => array( 'm' => 1.0, - 'mi' => 6.21371192237334E-04, - 'Nmi' => 5.39956803455724E-04, - 'in' => 3.93700787401575E+01, - 'ft' => 3.28083989501312E+00, - 'yd' => 1.09361329797891E+00, - 'ang' => 1.00000000000000E+10, - 'Pica' => 2.83464566929116E+03 - ), - 'mi' => array( 'm' => 1.60934400000000E+03, - 'mi' => 1.0, - 'Nmi' => 8.68976241900648E-01, - 'in' => 6.33600000000000E+04, - 'ft' => 5.28000000000000E+03, - 'yd' => 1.76000000000000E+03, - 'ang' => 1.60934400000000E+13, - 'Pica' => 4.56191999999971E+06 - ), - 'Nmi' => array( 'm' => 1.85200000000000E+03, - 'mi' => 1.15077944802354E+00, - 'Nmi' => 1.0, - 'in' => 7.29133858267717E+04, - 'ft' => 6.07611548556430E+03, - 'yd' => 2.02537182785694E+03, - 'ang' => 1.85200000000000E+13, - 'Pica' => 5.24976377952723E+06 - ), - 'in' => array( 'm' => 2.54000000000000E-02, - 'mi' => 1.57828282828283E-05, - 'Nmi' => 1.37149028077754E-05, - 'in' => 1.0, - 'ft' => 8.33333333333333E-02, - 'yd' => 2.77777777686643E-02, - 'ang' => 2.54000000000000E+08, - 'Pica' => 7.19999999999955E+01 - ), - 'ft' => array( 'm' => 3.04800000000000E-01, - 'mi' => 1.89393939393939E-04, - 'Nmi' => 1.64578833693305E-04, - 'in' => 1.20000000000000E+01, - 'ft' => 1.0, - 'yd' => 3.33333333223972E-01, - 'ang' => 3.04800000000000E+09, - 'Pica' => 8.63999999999946E+02 - ), - 'yd' => array( 'm' => 9.14400000300000E-01, - 'mi' => 5.68181818368230E-04, - 'Nmi' => 4.93736501241901E-04, - 'in' => 3.60000000118110E+01, - 'ft' => 3.00000000000000E+00, - 'yd' => 1.0, - 'ang' => 9.14400000300000E+09, - 'Pica' => 2.59200000085023E+03 - ), - 'ang' => array( 'm' => 1.00000000000000E-10, - 'mi' => 6.21371192237334E-14, - 'Nmi' => 5.39956803455724E-14, - 'in' => 3.93700787401575E-09, - 'ft' => 3.28083989501312E-10, - 'yd' => 1.09361329797891E-10, - 'ang' => 1.0, - 'Pica' => 2.83464566929116E-07 - ), - 'Pica' => array( 'm' => 3.52777777777800E-04, - 'mi' => 2.19205948372629E-07, - 'Nmi' => 1.90484761219114E-07, - 'in' => 1.38888888888898E-02, - 'ft' => 1.15740740740748E-03, - 'yd' => 3.85802469009251E-04, - 'ang' => 3.52777777777800E+06, - 'Pica' => 1.0 - ) - ), - 'Time' => array( 'yr' => array( 'yr' => 1.0, - 'day' => 365.25, - 'hr' => 8766.0, - 'mn' => 525960.0, - 'sec' => 31557600.0 - ), - 'day' => array( 'yr' => 2.73785078713210E-03, - 'day' => 1.0, - 'hr' => 24.0, - 'mn' => 1440.0, - 'sec' => 86400.0 - ), - 'hr' => array( 'yr' => 1.14077116130504E-04, - 'day' => 4.16666666666667E-02, - 'hr' => 1.0, - 'mn' => 60.0, - 'sec' => 3600.0 - ), - 'mn' => array( 'yr' => 1.90128526884174E-06, - 'day' => 6.94444444444444E-04, - 'hr' => 1.66666666666667E-02, - 'mn' => 1.0, - 'sec' => 60.0 - ), - 'sec' => array( 'yr' => 3.16880878140289E-08, - 'day' => 1.15740740740741E-05, - 'hr' => 2.77777777777778E-04, - 'mn' => 1.66666666666667E-02, - 'sec' => 1.0 - ) - ), - 'Pressure' => array( 'Pa' => array( 'Pa' => 1.0, - 'p' => 1.0, - 'atm' => 9.86923299998193E-06, - 'at' => 9.86923299998193E-06, - 'mmHg' => 7.50061707998627E-03 - ), - 'p' => array( 'Pa' => 1.0, - 'p' => 1.0, - 'atm' => 9.86923299998193E-06, - 'at' => 9.86923299998193E-06, - 'mmHg' => 7.50061707998627E-03 - ), - 'atm' => array( 'Pa' => 1.01324996583000E+05, - 'p' => 1.01324996583000E+05, - 'atm' => 1.0, - 'at' => 1.0, - 'mmHg' => 760.0 - ), - 'at' => array( 'Pa' => 1.01324996583000E+05, - 'p' => 1.01324996583000E+05, - 'atm' => 1.0, - 'at' => 1.0, - 'mmHg' => 760.0 - ), - 'mmHg' => array( 'Pa' => 1.33322363925000E+02, - 'p' => 1.33322363925000E+02, - 'atm' => 1.31578947368421E-03, - 'at' => 1.31578947368421E-03, - 'mmHg' => 1.0 - ) - ), - 'Force' => array( 'N' => array( 'N' => 1.0, - 'dyn' => 1.0E+5, - 'dy' => 1.0E+5, - 'lbf' => 2.24808923655339E-01 - ), - 'dyn' => array( 'N' => 1.0E-5, - 'dyn' => 1.0, - 'dy' => 1.0, - 'lbf' => 2.24808923655339E-06 - ), - 'dy' => array( 'N' => 1.0E-5, - 'dyn' => 1.0, - 'dy' => 1.0, - 'lbf' => 2.24808923655339E-06 - ), - 'lbf' => array( 'N' => 4.448222, - 'dyn' => 4.448222E+5, - 'dy' => 4.448222E+5, - 'lbf' => 1.0 - ) - ), - 'Energy' => array( 'J' => array( 'J' => 1.0, - 'e' => 9.99999519343231E+06, - 'c' => 2.39006249473467E-01, - 'cal' => 2.38846190642017E-01, - 'eV' => 6.24145700000000E+18, - 'ev' => 6.24145700000000E+18, - 'HPh' => 3.72506430801000E-07, - 'hh' => 3.72506430801000E-07, - 'Wh' => 2.77777916238711E-04, - 'wh' => 2.77777916238711E-04, - 'flb' => 2.37304222192651E+01, - 'BTU' => 9.47815067349015E-04, - 'btu' => 9.47815067349015E-04 - ), - 'e' => array( 'J' => 1.00000048065700E-07, - 'e' => 1.0, - 'c' => 2.39006364353494E-08, - 'cal' => 2.38846305445111E-08, - 'eV' => 6.24146000000000E+11, - 'ev' => 6.24146000000000E+11, - 'HPh' => 3.72506609848824E-14, - 'hh' => 3.72506609848824E-14, - 'Wh' => 2.77778049754611E-11, - 'wh' => 2.77778049754611E-11, - 'flb' => 2.37304336254586E-06, - 'BTU' => 9.47815522922962E-11, - 'btu' => 9.47815522922962E-11 - ), - 'c' => array( 'J' => 4.18399101363672E+00, - 'e' => 4.18398900257312E+07, - 'c' => 1.0, - 'cal' => 9.99330315287563E-01, - 'eV' => 2.61142000000000E+19, - 'ev' => 2.61142000000000E+19, - 'HPh' => 1.55856355899327E-06, - 'hh' => 1.55856355899327E-06, - 'Wh' => 1.16222030532950E-03, - 'wh' => 1.16222030532950E-03, - 'flb' => 9.92878733152102E+01, - 'BTU' => 3.96564972437776E-03, - 'btu' => 3.96564972437776E-03 - ), - 'cal' => array( 'J' => 4.18679484613929E+00, - 'e' => 4.18679283372801E+07, - 'c' => 1.00067013349059E+00, - 'cal' => 1.0, - 'eV' => 2.61317000000000E+19, - 'ev' => 2.61317000000000E+19, - 'HPh' => 1.55960800463137E-06, - 'hh' => 1.55960800463137E-06, - 'Wh' => 1.16299914807955E-03, - 'wh' => 1.16299914807955E-03, - 'flb' => 9.93544094443283E+01, - 'BTU' => 3.96830723907002E-03, - 'btu' => 3.96830723907002E-03 - ), - 'eV' => array( 'J' => 1.60219000146921E-19, - 'e' => 1.60218923136574E-12, - 'c' => 3.82933423195043E-20, - 'cal' => 3.82676978535648E-20, - 'eV' => 1.0, - 'ev' => 1.0, - 'HPh' => 5.96826078912344E-26, - 'hh' => 5.96826078912344E-26, - 'Wh' => 4.45053000026614E-23, - 'wh' => 4.45053000026614E-23, - 'flb' => 3.80206452103492E-18, - 'BTU' => 1.51857982414846E-22, - 'btu' => 1.51857982414846E-22 - ), - 'ev' => array( 'J' => 1.60219000146921E-19, - 'e' => 1.60218923136574E-12, - 'c' => 3.82933423195043E-20, - 'cal' => 3.82676978535648E-20, - 'eV' => 1.0, - 'ev' => 1.0, - 'HPh' => 5.96826078912344E-26, - 'hh' => 5.96826078912344E-26, - 'Wh' => 4.45053000026614E-23, - 'wh' => 4.45053000026614E-23, - 'flb' => 3.80206452103492E-18, - 'BTU' => 1.51857982414846E-22, - 'btu' => 1.51857982414846E-22 - ), - 'HPh' => array( 'J' => 2.68451741316170E+06, - 'e' => 2.68451612283024E+13, - 'c' => 6.41616438565991E+05, - 'cal' => 6.41186757845835E+05, - 'eV' => 1.67553000000000E+25, - 'ev' => 1.67553000000000E+25, - 'HPh' => 1.0, - 'hh' => 1.0, - 'Wh' => 7.45699653134593E+02, - 'wh' => 7.45699653134593E+02, - 'flb' => 6.37047316692964E+07, - 'BTU' => 2.54442605275546E+03, - 'btu' => 2.54442605275546E+03 - ), - 'hh' => array( 'J' => 2.68451741316170E+06, - 'e' => 2.68451612283024E+13, - 'c' => 6.41616438565991E+05, - 'cal' => 6.41186757845835E+05, - 'eV' => 1.67553000000000E+25, - 'ev' => 1.67553000000000E+25, - 'HPh' => 1.0, - 'hh' => 1.0, - 'Wh' => 7.45699653134593E+02, - 'wh' => 7.45699653134593E+02, - 'flb' => 6.37047316692964E+07, - 'BTU' => 2.54442605275546E+03, - 'btu' => 2.54442605275546E+03 - ), - 'Wh' => array( 'J' => 3.59999820554720E+03, - 'e' => 3.59999647518369E+10, - 'c' => 8.60422069219046E+02, - 'cal' => 8.59845857713046E+02, - 'eV' => 2.24692340000000E+22, - 'ev' => 2.24692340000000E+22, - 'HPh' => 1.34102248243839E-03, - 'hh' => 1.34102248243839E-03, - 'Wh' => 1.0, - 'wh' => 1.0, - 'flb' => 8.54294774062316E+04, - 'BTU' => 3.41213254164705E+00, - 'btu' => 3.41213254164705E+00 - ), - 'wh' => array( 'J' => 3.59999820554720E+03, - 'e' => 3.59999647518369E+10, - 'c' => 8.60422069219046E+02, - 'cal' => 8.59845857713046E+02, - 'eV' => 2.24692340000000E+22, - 'ev' => 2.24692340000000E+22, - 'HPh' => 1.34102248243839E-03, - 'hh' => 1.34102248243839E-03, - 'Wh' => 1.0, - 'wh' => 1.0, - 'flb' => 8.54294774062316E+04, - 'BTU' => 3.41213254164705E+00, - 'btu' => 3.41213254164705E+00 - ), - 'flb' => array( 'J' => 4.21400003236424E-02, - 'e' => 4.21399800687660E+05, - 'c' => 1.00717234301644E-02, - 'cal' => 1.00649785509554E-02, - 'eV' => 2.63015000000000E+17, - 'ev' => 2.63015000000000E+17, - 'HPh' => 1.56974211145130E-08, - 'hh' => 1.56974211145130E-08, - 'Wh' => 1.17055614802000E-05, - 'wh' => 1.17055614802000E-05, - 'flb' => 1.0, - 'BTU' => 3.99409272448406E-05, - 'btu' => 3.99409272448406E-05 - ), - 'BTU' => array( 'J' => 1.05505813786749E+03, - 'e' => 1.05505763074665E+10, - 'c' => 2.52165488508168E+02, - 'cal' => 2.51996617135510E+02, - 'eV' => 6.58510000000000E+21, - 'ev' => 6.58510000000000E+21, - 'HPh' => 3.93015941224568E-04, - 'hh' => 3.93015941224568E-04, - 'Wh' => 2.93071851047526E-01, - 'wh' => 2.93071851047526E-01, - 'flb' => 2.50369750774671E+04, - 'BTU' => 1.0, - 'btu' => 1.0, - ), - 'btu' => array( 'J' => 1.05505813786749E+03, - 'e' => 1.05505763074665E+10, - 'c' => 2.52165488508168E+02, - 'cal' => 2.51996617135510E+02, - 'eV' => 6.58510000000000E+21, - 'ev' => 6.58510000000000E+21, - 'HPh' => 3.93015941224568E-04, - 'hh' => 3.93015941224568E-04, - 'Wh' => 2.93071851047526E-01, - 'wh' => 2.93071851047526E-01, - 'flb' => 2.50369750774671E+04, - 'BTU' => 1.0, - 'btu' => 1.0, - ) - ), - 'Power' => array( 'HP' => array( 'HP' => 1.0, - 'h' => 1.0, - 'W' => 7.45701000000000E+02, - 'w' => 7.45701000000000E+02 - ), - 'h' => array( 'HP' => 1.0, - 'h' => 1.0, - 'W' => 7.45701000000000E+02, - 'w' => 7.45701000000000E+02 - ), - 'W' => array( 'HP' => 1.34102006031908E-03, - 'h' => 1.34102006031908E-03, - 'W' => 1.0, - 'w' => 1.0 - ), - 'w' => array( 'HP' => 1.34102006031908E-03, - 'h' => 1.34102006031908E-03, - 'W' => 1.0, - 'w' => 1.0 - ) - ), - 'Magnetism' => array( 'T' => array( 'T' => 1.0, - 'ga' => 10000.0 - ), - 'ga' => array( 'T' => 0.0001, - 'ga' => 1.0 - ) - ), - 'Liquid' => array( 'tsp' => array( 'tsp' => 1.0, - 'tbs' => 3.33333333333333E-01, - 'oz' => 1.66666666666667E-01, - 'cup' => 2.08333333333333E-02, - 'pt' => 1.04166666666667E-02, - 'us_pt' => 1.04166666666667E-02, - 'uk_pt' => 8.67558516821960E-03, - 'qt' => 5.20833333333333E-03, - 'gal' => 1.30208333333333E-03, - 'l' => 4.92999408400710E-03, - 'lt' => 4.92999408400710E-03 - ), - 'tbs' => array( 'tsp' => 3.00000000000000E+00, - 'tbs' => 1.0, - 'oz' => 5.00000000000000E-01, - 'cup' => 6.25000000000000E-02, - 'pt' => 3.12500000000000E-02, - 'us_pt' => 3.12500000000000E-02, - 'uk_pt' => 2.60267555046588E-02, - 'qt' => 1.56250000000000E-02, - 'gal' => 3.90625000000000E-03, - 'l' => 1.47899822520213E-02, - 'lt' => 1.47899822520213E-02 - ), - 'oz' => array( 'tsp' => 6.00000000000000E+00, - 'tbs' => 2.00000000000000E+00, - 'oz' => 1.0, - 'cup' => 1.25000000000000E-01, - 'pt' => 6.25000000000000E-02, - 'us_pt' => 6.25000000000000E-02, - 'uk_pt' => 5.20535110093176E-02, - 'qt' => 3.12500000000000E-02, - 'gal' => 7.81250000000000E-03, - 'l' => 2.95799645040426E-02, - 'lt' => 2.95799645040426E-02 - ), - 'cup' => array( 'tsp' => 4.80000000000000E+01, - 'tbs' => 1.60000000000000E+01, - 'oz' => 8.00000000000000E+00, - 'cup' => 1.0, - 'pt' => 5.00000000000000E-01, - 'us_pt' => 5.00000000000000E-01, - 'uk_pt' => 4.16428088074541E-01, - 'qt' => 2.50000000000000E-01, - 'gal' => 6.25000000000000E-02, - 'l' => 2.36639716032341E-01, - 'lt' => 2.36639716032341E-01 - ), - 'pt' => array( 'tsp' => 9.60000000000000E+01, - 'tbs' => 3.20000000000000E+01, - 'oz' => 1.60000000000000E+01, - 'cup' => 2.00000000000000E+00, - 'pt' => 1.0, - 'us_pt' => 1.0, - 'uk_pt' => 8.32856176149081E-01, - 'qt' => 5.00000000000000E-01, - 'gal' => 1.25000000000000E-01, - 'l' => 4.73279432064682E-01, - 'lt' => 4.73279432064682E-01 - ), - 'us_pt' => array( 'tsp' => 9.60000000000000E+01, - 'tbs' => 3.20000000000000E+01, - 'oz' => 1.60000000000000E+01, - 'cup' => 2.00000000000000E+00, - 'pt' => 1.0, - 'us_pt' => 1.0, - 'uk_pt' => 8.32856176149081E-01, - 'qt' => 5.00000000000000E-01, - 'gal' => 1.25000000000000E-01, - 'l' => 4.73279432064682E-01, - 'lt' => 4.73279432064682E-01 - ), - 'uk_pt' => array( 'tsp' => 1.15266000000000E+02, - 'tbs' => 3.84220000000000E+01, - 'oz' => 1.92110000000000E+01, - 'cup' => 2.40137500000000E+00, - 'pt' => 1.20068750000000E+00, - 'us_pt' => 1.20068750000000E+00, - 'uk_pt' => 1.0, - 'qt' => 6.00343750000000E-01, - 'gal' => 1.50085937500000E-01, - 'l' => 5.68260698087162E-01, - 'lt' => 5.68260698087162E-01 - ), - 'qt' => array( 'tsp' => 1.92000000000000E+02, - 'tbs' => 6.40000000000000E+01, - 'oz' => 3.20000000000000E+01, - 'cup' => 4.00000000000000E+00, - 'pt' => 2.00000000000000E+00, - 'us_pt' => 2.00000000000000E+00, - 'uk_pt' => 1.66571235229816E+00, - 'qt' => 1.0, - 'gal' => 2.50000000000000E-01, - 'l' => 9.46558864129363E-01, - 'lt' => 9.46558864129363E-01 - ), - 'gal' => array( 'tsp' => 7.68000000000000E+02, - 'tbs' => 2.56000000000000E+02, - 'oz' => 1.28000000000000E+02, - 'cup' => 1.60000000000000E+01, - 'pt' => 8.00000000000000E+00, - 'us_pt' => 8.00000000000000E+00, - 'uk_pt' => 6.66284940919265E+00, - 'qt' => 4.00000000000000E+00, - 'gal' => 1.0, - 'l' => 3.78623545651745E+00, - 'lt' => 3.78623545651745E+00 - ), - 'l' => array( 'tsp' => 2.02840000000000E+02, - 'tbs' => 6.76133333333333E+01, - 'oz' => 3.38066666666667E+01, - 'cup' => 4.22583333333333E+00, - 'pt' => 2.11291666666667E+00, - 'us_pt' => 2.11291666666667E+00, - 'uk_pt' => 1.75975569552166E+00, - 'qt' => 1.05645833333333E+00, - 'gal' => 2.64114583333333E-01, - 'l' => 1.0, - 'lt' => 1.0 - ), - 'lt' => array( 'tsp' => 2.02840000000000E+02, - 'tbs' => 6.76133333333333E+01, - 'oz' => 3.38066666666667E+01, - 'cup' => 4.22583333333333E+00, - 'pt' => 2.11291666666667E+00, - 'us_pt' => 2.11291666666667E+00, - 'uk_pt' => 1.75975569552166E+00, - 'qt' => 1.05645833333333E+00, - 'gal' => 2.64114583333333E-01, - 'l' => 1.0, - 'lt' => 1.0 - ) - ) - ); - - - /** - * _parseComplex - * - * Parses a complex number into its real and imaginary parts, and an I or J suffix - * - * @param string $complexNumber The complex number - * @return string[] Indexed on "real", "imaginary" and "suffix" - */ - public static function _parseComplex($complexNumber) { - $workString = (string) $complexNumber; - - $realNumber = $imaginary = 0; - // Extract the suffix, if there is one - $suffix = substr($workString,-1); - if (!is_numeric($suffix)) { - $workString = substr($workString,0,-1); - } else { - $suffix = ''; - } - - // Split the input into its Real and Imaginary components - $leadingSign = 0; - if (strlen($workString) > 0) { - $leadingSign = (($workString{0} == '+') || ($workString{0} == '-')) ? 1 : 0; - } - $power = ''; - $realNumber = strtok($workString, '+-'); - if (strtoupper(substr($realNumber,-1)) == 'E') { - $power = strtok('+-'); - ++$leadingSign; - } - - $realNumber = substr($workString,0,strlen($realNumber)+strlen($power)+$leadingSign); - - if ($suffix != '') { - $imaginary = substr($workString,strlen($realNumber)); - - if (($imaginary == '') && (($realNumber == '') || ($realNumber == '+') || ($realNumber == '-'))) { - $imaginary = $realNumber.'1'; - $realNumber = '0'; - } else if ($imaginary == '') { - $imaginary = $realNumber; - $realNumber = '0'; - } elseif (($imaginary == '+') || ($imaginary == '-')) { - $imaginary .= '1'; - } - } - - return array( 'real' => $realNumber, - 'imaginary' => $imaginary, - 'suffix' => $suffix - ); - } // function _parseComplex() - - - /** - * Cleans the leading characters in a complex number string - * - * @param string $complexNumber The complex number to clean - * @return string The "cleaned" complex number - */ - private static function _cleanComplex($complexNumber) { - if ($complexNumber{0} == '+') $complexNumber = substr($complexNumber,1); - if ($complexNumber{0} == '0') $complexNumber = substr($complexNumber,1); - if ($complexNumber{0} == '.') $complexNumber = '0'.$complexNumber; - if ($complexNumber{0} == '+') $complexNumber = substr($complexNumber,1); - return $complexNumber; - } - - /** - * Formats a number base string value with leading zeroes - * - * @param string $xVal The "number" to pad - * @param integer $places The length that we want to pad this value - * @return string The padded "number" - */ - private static function _nbrConversionFormat($xVal, $places) { - if (!is_null($places)) { - if (strlen($xVal) <= $places) { - return substr(str_pad($xVal, $places, '0', STR_PAD_LEFT), -10); - } else { - return PHPExcel_Calculation_Functions::NaN(); - } - } - - return substr($xVal, -10); - } // function _nbrConversionFormat() - - /** - * BESSELI - * - * Returns the modified Bessel function In(x), which is equivalent to the Bessel function evaluated - * for purely imaginary arguments - * - * Excel Function: - * BESSELI(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELI returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. - * If ord is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELI returns the #VALUE! error value. - * If $ord < 0, BESSELI returns the #NUM! error value. - * @return float - * - */ - public static function BESSELI($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - $ord = floor($ord); - if ($ord < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (abs($x) <= 30) { - $fResult = $fTerm = pow($x / 2, $ord) / PHPExcel_Calculation_MathTrig::FACT($ord); - $ordK = 1; - $fSqrX = ($x * $x) / 4; - do { - $fTerm *= $fSqrX; - $fTerm /= ($ordK * ($ordK + $ord)); - $fResult += $fTerm; - } while ((abs($fTerm) > 1e-12) && (++$ordK < 100)); - } else { - $f_2_PI = 2 * M_PI; - - $fXAbs = abs($x); - $fResult = exp($fXAbs) / sqrt($f_2_PI * $fXAbs); - if (($ord & 1) && ($x < 0)) { - $fResult = -$fResult; - } - } - return (is_nan($fResult)) ? PHPExcel_Calculation_Functions::NaN() : $fResult; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELI() - - - /** - * BESSELJ - * - * Returns the Bessel function - * - * Excel Function: - * BESSELJ(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELJ returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. If n is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELJ returns the #VALUE! error value. - * If $ord < 0, BESSELJ returns the #NUM! error value. - * @return float - * - */ - public static function BESSELJ($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - $ord = floor($ord); - if ($ord < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $fResult = 0; - if (abs($x) <= 30) { - $fResult = $fTerm = pow($x / 2, $ord) / PHPExcel_Calculation_MathTrig::FACT($ord); - $ordK = 1; - $fSqrX = ($x * $x) / -4; - do { - $fTerm *= $fSqrX; - $fTerm /= ($ordK * ($ordK + $ord)); - $fResult += $fTerm; - } while ((abs($fTerm) > 1e-12) && (++$ordK < 100)); - } else { - $f_PI_DIV_2 = M_PI / 2; - $f_PI_DIV_4 = M_PI / 4; - - $fXAbs = abs($x); - $fResult = sqrt(M_2DIVPI / $fXAbs) * cos($fXAbs - $ord * $f_PI_DIV_2 - $f_PI_DIV_4); - if (($ord & 1) && ($x < 0)) { - $fResult = -$fResult; - } - } - return (is_nan($fResult)) ? PHPExcel_Calculation_Functions::NaN() : $fResult; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELJ() - - - private static function _Besselk0($fNum) { - if ($fNum <= 2) { - $fNum2 = $fNum * 0.5; - $y = ($fNum2 * $fNum2); - $fRet = -log($fNum2) * self::BESSELI($fNum, 0) + - (-0.57721566 + $y * (0.42278420 + $y * (0.23069756 + $y * (0.3488590e-1 + $y * (0.262698e-2 + $y * - (0.10750e-3 + $y * 0.74e-5)))))); - } else { - $y = 2 / $fNum; - $fRet = exp(-$fNum) / sqrt($fNum) * - (1.25331414 + $y * (-0.7832358e-1 + $y * (0.2189568e-1 + $y * (-0.1062446e-1 + $y * - (0.587872e-2 + $y * (-0.251540e-2 + $y * 0.53208e-3)))))); - } - return $fRet; - } // function _Besselk0() - - - private static function _Besselk1($fNum) { - if ($fNum <= 2) { - $fNum2 = $fNum * 0.5; - $y = ($fNum2 * $fNum2); - $fRet = log($fNum2) * self::BESSELI($fNum, 1) + - (1 + $y * (0.15443144 + $y * (-0.67278579 + $y * (-0.18156897 + $y * (-0.1919402e-1 + $y * - (-0.110404e-2 + $y * (-0.4686e-4))))))) / $fNum; - } else { - $y = 2 / $fNum; - $fRet = exp(-$fNum) / sqrt($fNum) * - (1.25331414 + $y * (0.23498619 + $y * (-0.3655620e-1 + $y * (0.1504268e-1 + $y * (-0.780353e-2 + $y * - (0.325614e-2 + $y * (-0.68245e-3))))))); - } - return $fRet; - } // function _Besselk1() - - - /** - * BESSELK - * - * Returns the modified Bessel function Kn(x), which is equivalent to the Bessel functions evaluated - * for purely imaginary arguments. - * - * Excel Function: - * BESSELK(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELK returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. If n is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELK returns the #VALUE! error value. - * If $ord < 0, BESSELK returns the #NUM! error value. - * @return float - * - */ - public static function BESSELK($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - if (($ord < 0) || ($x == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - switch(floor($ord)) { - case 0 : return self::_Besselk0($x); - break; - case 1 : return self::_Besselk1($x); - break; - default : $fTox = 2 / $x; - $fBkm = self::_Besselk0($x); - $fBk = self::_Besselk1($x); - for ($n = 1; $n < $ord; ++$n) { - $fBkp = $fBkm + $n * $fTox * $fBk; - $fBkm = $fBk; - $fBk = $fBkp; - } - } - return (is_nan($fBk)) ? PHPExcel_Calculation_Functions::NaN() : $fBk; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELK() - - - private static function _Bessely0($fNum) { - if ($fNum < 8.0) { - $y = ($fNum * $fNum); - $f1 = -2957821389.0 + $y * (7062834065.0 + $y * (-512359803.6 + $y * (10879881.29 + $y * (-86327.92757 + $y * 228.4622733)))); - $f2 = 40076544269.0 + $y * (745249964.8 + $y * (7189466.438 + $y * (47447.26470 + $y * (226.1030244 + $y)))); - $fRet = $f1 / $f2 + 0.636619772 * self::BESSELJ($fNum, 0) * log($fNum); - } else { - $z = 8.0 / $fNum; - $y = ($z * $z); - $xx = $fNum - 0.785398164; - $f1 = 1 + $y * (-0.1098628627e-2 + $y * (0.2734510407e-4 + $y * (-0.2073370639e-5 + $y * 0.2093887211e-6))); - $f2 = -0.1562499995e-1 + $y * (0.1430488765e-3 + $y * (-0.6911147651e-5 + $y * (0.7621095161e-6 + $y * (-0.934945152e-7)))); - $fRet = sqrt(0.636619772 / $fNum) * (sin($xx) * $f1 + $z * cos($xx) * $f2); - } - return $fRet; - } // function _Bessely0() - - - private static function _Bessely1($fNum) { - if ($fNum < 8.0) { - $y = ($fNum * $fNum); - $f1 = $fNum * (-0.4900604943e13 + $y * (0.1275274390e13 + $y * (-0.5153438139e11 + $y * (0.7349264551e9 + $y * - (-0.4237922726e7 + $y * 0.8511937935e4))))); - $f2 = 0.2499580570e14 + $y * (0.4244419664e12 + $y * (0.3733650367e10 + $y * (0.2245904002e8 + $y * - (0.1020426050e6 + $y * (0.3549632885e3 + $y))))); - $fRet = $f1 / $f2 + 0.636619772 * ( self::BESSELJ($fNum, 1) * log($fNum) - 1 / $fNum); - } else { - $fRet = sqrt(0.636619772 / $fNum) * sin($fNum - 2.356194491); - } - return $fRet; - } // function _Bessely1() - - - /** - * BESSELY - * - * Returns the Bessel function, which is also called the Weber function or the Neumann function. - * - * Excel Function: - * BESSELY(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELK returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. If n is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELK returns the #VALUE! error value. - * If $ord < 0, BESSELK returns the #NUM! error value. - * - * @return float - */ - public static function BESSELY($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - if (($ord < 0) || ($x == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - switch(floor($ord)) { - case 0 : return self::_Bessely0($x); - break; - case 1 : return self::_Bessely1($x); - break; - default: $fTox = 2 / $x; - $fBym = self::_Bessely0($x); - $fBy = self::_Bessely1($x); - for ($n = 1; $n < $ord; ++$n) { - $fByp = $n * $fTox * $fBy - $fBym; - $fBym = $fBy; - $fBy = $fByp; - } - } - return (is_nan($fBy)) ? PHPExcel_Calculation_Functions::NaN() : $fBy; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELY() - - - /** - * BINTODEC - * - * Return a binary value as decimal. - * - * Excel Function: - * BIN2DEC(x) - * - * @access public - * @category Engineering Functions - * @param string $x The binary number (as a string) that you want to convert. The number - * cannot contain more than 10 characters (10 bits). The most significant - * bit of number is the sign bit. The remaining 9 bits are magnitude bits. - * Negative numbers are represented using two's-complement notation. - * If number is not a valid binary number, or if number contains more than - * 10 characters (10 bits), BIN2DEC returns the #NUM! error value. - * @return string - */ - public static function BINTODEC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $x = floor($x); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[01]/',$x,$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (strlen($x) > 10) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (strlen($x) == 10) { - // Two's Complement - $x = substr($x,-9); - return '-'.(512-bindec($x)); - } - return bindec($x); - } // function BINTODEC() - - - /** - * BINTOHEX - * - * Return a binary value as hex. - * - * Excel Function: - * BIN2HEX(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The binary number (as a string) that you want to convert. The number - * cannot contain more than 10 characters (10 bits). The most significant - * bit of number is the sign bit. The remaining 9 bits are magnitude bits. - * Negative numbers are represented using two's-complement notation. - * If number is not a valid binary number, or if number contains more than - * 10 characters (10 bits), BIN2HEX returns the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, BIN2HEX uses the - * minimum number of characters necessary. Places is useful for padding the - * return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, BIN2HEX returns the #VALUE! error value. - * If places is negative, BIN2HEX returns the #NUM! error value. - * @return string - */ - public static function BINTOHEX($x, $places=NULL) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $x = floor($x); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[01]/',$x,$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (strlen($x) > 10) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (strlen($x) == 10) { - // Two's Complement - return str_repeat('F',8).substr(strtoupper(dechex(bindec(substr($x,-9)))),-2); - } - $hexVal = (string) strtoupper(dechex(bindec($x))); - - return self::_nbrConversionFormat($hexVal,$places); - } // function BINTOHEX() - - - /** - * BINTOOCT - * - * Return a binary value as octal. - * - * Excel Function: - * BIN2OCT(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The binary number (as a string) that you want to convert. The number - * cannot contain more than 10 characters (10 bits). The most significant - * bit of number is the sign bit. The remaining 9 bits are magnitude bits. - * Negative numbers are represented using two's-complement notation. - * If number is not a valid binary number, or if number contains more than - * 10 characters (10 bits), BIN2OCT returns the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, BIN2OCT uses the - * minimum number of characters necessary. Places is useful for padding the - * return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, BIN2OCT returns the #VALUE! error value. - * If places is negative, BIN2OCT returns the #NUM! error value. - * @return string - */ - public static function BINTOOCT($x, $places=NULL) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $x = floor($x); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[01]/',$x,$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (strlen($x) > 10) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (strlen($x) == 10) { - // Two's Complement - return str_repeat('7',7).substr(strtoupper(decoct(bindec(substr($x,-9)))),-3); - } - $octVal = (string) decoct(bindec($x)); - - return self::_nbrConversionFormat($octVal,$places); - } // function BINTOOCT() - - - /** - * DECTOBIN - * - * Return a decimal value as binary. - * - * Excel Function: - * DEC2BIN(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The decimal integer you want to convert. If number is negative, - * valid place values are ignored and DEC2BIN returns a 10-character - * (10-bit) binary number in which the most significant bit is the sign - * bit. The remaining 9 bits are magnitude bits. Negative numbers are - * represented using two's-complement notation. - * If number < -512 or if number > 511, DEC2BIN returns the #NUM! error - * value. - * If number is nonnumeric, DEC2BIN returns the #VALUE! error value. - * If DEC2BIN requires more than places characters, it returns the #NUM! - * error value. - * @param integer $places The number of characters to use. If places is omitted, DEC2BIN uses - * the minimum number of characters necessary. Places is useful for - * padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, DEC2BIN returns the #VALUE! error value. - * If places is zero or negative, DEC2BIN returns the #NUM! error value. - * @return string - */ - public static function DECTOBIN($x, $places=NULL) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[-0123456789.]/',$x,$out)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) floor($x); - $r = decbin($x); - if (strlen($r) == 32) { - // Two's Complement - $r = substr($r,-10); - } elseif (strlen($r) > 11) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return self::_nbrConversionFormat($r,$places); - } // function DECTOBIN() - - - /** - * DECTOHEX - * - * Return a decimal value as hex. - * - * Excel Function: - * DEC2HEX(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The decimal integer you want to convert. If number is negative, - * places is ignored and DEC2HEX returns a 10-character (40-bit) - * hexadecimal number in which the most significant bit is the sign - * bit. The remaining 39 bits are magnitude bits. Negative numbers - * are represented using two's-complement notation. - * If number < -549,755,813,888 or if number > 549,755,813,887, - * DEC2HEX returns the #NUM! error value. - * If number is nonnumeric, DEC2HEX returns the #VALUE! error value. - * If DEC2HEX requires more than places characters, it returns the - * #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, DEC2HEX uses - * the minimum number of characters necessary. Places is useful for - * padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, DEC2HEX returns the #VALUE! error value. - * If places is zero or negative, DEC2HEX returns the #NUM! error value. - * @return string - */ - public static function DECTOHEX($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[-0123456789.]/',$x,$out)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) floor($x); - $r = strtoupper(dechex($x)); - if (strlen($r) == 8) { - // Two's Complement - $r = 'FF'.$r; - } - - return self::_nbrConversionFormat($r,$places); - } // function DECTOHEX() - - - /** - * DECTOOCT - * - * Return an decimal value as octal. - * - * Excel Function: - * DEC2OCT(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The decimal integer you want to convert. If number is negative, - * places is ignored and DEC2OCT returns a 10-character (30-bit) - * octal number in which the most significant bit is the sign bit. - * The remaining 29 bits are magnitude bits. Negative numbers are - * represented using two's-complement notation. - * If number < -536,870,912 or if number > 536,870,911, DEC2OCT - * returns the #NUM! error value. - * If number is nonnumeric, DEC2OCT returns the #VALUE! error value. - * If DEC2OCT requires more than places characters, it returns the - * #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, DEC2OCT uses - * the minimum number of characters necessary. Places is useful for - * padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, DEC2OCT returns the #VALUE! error value. - * If places is zero or negative, DEC2OCT returns the #NUM! error value. - * @return string - */ - public static function DECTOOCT($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[-0123456789.]/',$x,$out)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) floor($x); - $r = decoct($x); - if (strlen($r) == 11) { - // Two's Complement - $r = substr($r,-10); - } - - return self::_nbrConversionFormat($r,$places); - } // function DECTOOCT() - - - /** - * HEXTOBIN - * - * Return a hex value as binary. - * - * Excel Function: - * HEX2BIN(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x the hexadecimal number you want to convert. Number cannot - * contain more than 10 characters. The most significant bit of - * number is the sign bit (40th bit from the right). The remaining - * 9 bits are magnitude bits. Negative numbers are represented - * using two's-complement notation. - * If number is negative, HEX2BIN ignores places and returns a - * 10-character binary number. - * If number is negative, it cannot be less than FFFFFFFE00, and - * if number is positive, it cannot be greater than 1FF. - * If number is not a valid hexadecimal number, HEX2BIN returns - * the #NUM! error value. - * If HEX2BIN requires more than places characters, it returns - * the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, - * HEX2BIN uses the minimum number of characters necessary. Places - * is useful for padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, HEX2BIN returns the #VALUE! error value. - * If places is negative, HEX2BIN returns the #NUM! error value. - * @return string - */ - public static function HEXTOBIN($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/',strtoupper($x),$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $binVal = decbin(hexdec($x)); - - return substr(self::_nbrConversionFormat($binVal,$places),-10); - } // function HEXTOBIN() - - - /** - * HEXTODEC - * - * Return a hex value as decimal. - * - * Excel Function: - * HEX2DEC(x) - * - * @access public - * @category Engineering Functions - * @param string $x The hexadecimal number you want to convert. This number cannot - * contain more than 10 characters (40 bits). The most significant - * bit of number is the sign bit. The remaining 39 bits are magnitude - * bits. Negative numbers are represented using two's-complement - * notation. - * If number is not a valid hexadecimal number, HEX2DEC returns the - * #NUM! error value. - * @return string - */ - public static function HEXTODEC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/',strtoupper($x),$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return hexdec($x); - } // function HEXTODEC() - - - /** - * HEXTOOCT - * - * Return a hex value as octal. - * - * Excel Function: - * HEX2OCT(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The hexadecimal number you want to convert. Number cannot - * contain more than 10 characters. The most significant bit of - * number is the sign bit. The remaining 39 bits are magnitude - * bits. Negative numbers are represented using two's-complement - * notation. - * If number is negative, HEX2OCT ignores places and returns a - * 10-character octal number. - * If number is negative, it cannot be less than FFE0000000, and - * if number is positive, it cannot be greater than 1FFFFFFF. - * If number is not a valid hexadecimal number, HEX2OCT returns - * the #NUM! error value. - * If HEX2OCT requires more than places characters, it returns - * the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, HEX2OCT - * uses the minimum number of characters necessary. Places is - * useful for padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, HEX2OCT returns the #VALUE! error - * value. - * If places is negative, HEX2OCT returns the #NUM! error value. - * @return string - */ - public static function HEXTOOCT($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/',strtoupper($x),$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $octVal = decoct(hexdec($x)); - - return self::_nbrConversionFormat($octVal,$places); - } // function HEXTOOCT() - - - /** - * OCTTOBIN - * - * Return an octal value as binary. - * - * Excel Function: - * OCT2BIN(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The octal number you want to convert. Number may not - * contain more than 10 characters. The most significant - * bit of number is the sign bit. The remaining 29 bits - * are magnitude bits. Negative numbers are represented - * using two's-complement notation. - * If number is negative, OCT2BIN ignores places and returns - * a 10-character binary number. - * If number is negative, it cannot be less than 7777777000, - * and if number is positive, it cannot be greater than 777. - * If number is not a valid octal number, OCT2BIN returns - * the #NUM! error value. - * If OCT2BIN requires more than places characters, it - * returns the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, - * OCT2BIN uses the minimum number of characters necessary. - * Places is useful for padding the return value with - * leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, OCT2BIN returns the #VALUE! - * error value. - * If places is negative, OCT2BIN returns the #NUM! error - * value. - * @return string - */ - public static function OCTTOBIN($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (preg_match_all('/[01234567]/',$x,$out) != strlen($x)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $r = decbin(octdec($x)); - - return self::_nbrConversionFormat($r,$places); - } // function OCTTOBIN() - - - /** - * OCTTODEC - * - * Return an octal value as decimal. - * - * Excel Function: - * OCT2DEC(x) - * - * @access public - * @category Engineering Functions - * @param string $x The octal number you want to convert. Number may not contain - * more than 10 octal characters (30 bits). The most significant - * bit of number is the sign bit. The remaining 29 bits are - * magnitude bits. Negative numbers are represented using - * two's-complement notation. - * If number is not a valid octal number, OCT2DEC returns the - * #NUM! error value. - * @return string - */ - public static function OCTTODEC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (preg_match_all('/[01234567]/',$x,$out) != strlen($x)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return octdec($x); - } // function OCTTODEC() - - - /** - * OCTTOHEX - * - * Return an octal value as hex. - * - * Excel Function: - * OCT2HEX(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The octal number you want to convert. Number may not contain - * more than 10 octal characters (30 bits). The most significant - * bit of number is the sign bit. The remaining 29 bits are - * magnitude bits. Negative numbers are represented using - * two's-complement notation. - * If number is negative, OCT2HEX ignores places and returns a - * 10-character hexadecimal number. - * If number is not a valid octal number, OCT2HEX returns the - * #NUM! error value. - * If OCT2HEX requires more than places characters, it returns - * the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, OCT2HEX - * uses the minimum number of characters necessary. Places is useful - * for padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, OCT2HEX returns the #VALUE! error value. - * If places is negative, OCT2HEX returns the #NUM! error value. - * @return string - */ - public static function OCTTOHEX($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (preg_match_all('/[01234567]/',$x,$out) != strlen($x)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $hexVal = strtoupper(dechex(octdec($x))); - - return self::_nbrConversionFormat($hexVal,$places); - } // function OCTTOHEX() - - - /** - * COMPLEX - * - * Converts real and imaginary coefficients into a complex number of the form x + yi or x + yj. - * - * Excel Function: - * COMPLEX(realNumber,imaginary[,places]) - * - * @access public - * @category Engineering Functions - * @param float $realNumber The real coefficient of the complex number. - * @param float $imaginary The imaginary coefficient of the complex number. - * @param string $suffix The suffix for the imaginary component of the complex number. - * If omitted, the suffix is assumed to be "i". - * @return string - */ - public static function COMPLEX($realNumber=0.0, $imaginary=0.0, $suffix='i') { - $realNumber = (is_null($realNumber)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($realNumber); - $imaginary = (is_null($imaginary)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($imaginary); - $suffix = (is_null($suffix)) ? 'i' : PHPExcel_Calculation_Functions::flattenSingleValue($suffix); - - if (((is_numeric($realNumber)) && (is_numeric($imaginary))) && - (($suffix == 'i') || ($suffix == 'j') || ($suffix == ''))) { - $realNumber = (float) $realNumber; - $imaginary = (float) $imaginary; - - if ($suffix == '') $suffix = 'i'; - if ($realNumber == 0.0) { - if ($imaginary == 0.0) { - return (string) '0'; - } elseif ($imaginary == 1.0) { - return (string) $suffix; - } elseif ($imaginary == -1.0) { - return (string) '-'.$suffix; - } - return (string) $imaginary.$suffix; - } elseif ($imaginary == 0.0) { - return (string) $realNumber; - } elseif ($imaginary == 1.0) { - return (string) $realNumber.'+'.$suffix; - } elseif ($imaginary == -1.0) { - return (string) $realNumber.'-'.$suffix; - } - if ($imaginary > 0) { $imaginary = (string) '+'.$imaginary; } - return (string) $realNumber.$imaginary.$suffix; - } - - return PHPExcel_Calculation_Functions::VALUE(); - } // function COMPLEX() - - - /** - * IMAGINARY - * - * Returns the imaginary coefficient of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMAGINARY(complexNumber) - * - * @access public - * @category Engineering Functions - * @param string $complexNumber The complex number for which you want the imaginary - * coefficient. - * @return float - */ - public static function IMAGINARY($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - return $parsedComplex['imaginary']; - } // function IMAGINARY() - - - /** - * IMREAL - * - * Returns the real coefficient of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMREAL(complexNumber) - * - * @access public - * @category Engineering Functions - * @param string $complexNumber The complex number for which you want the real coefficient. - * @return float - */ - public static function IMREAL($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - return $parsedComplex['real']; - } // function IMREAL() - - - /** - * IMABS - * - * Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMABS(complexNumber) - * - * @param string $complexNumber The complex number for which you want the absolute value. - * @return float - */ - public static function IMABS($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - return sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary'])); - } // function IMABS() - - - /** - * IMARGUMENT - * - * Returns the argument theta of a complex number, i.e. the angle in radians from the real - * axis to the representation of the number in polar coordinates. - * - * Excel Function: - * IMARGUMENT(complexNumber) - * - * @param string $complexNumber The complex number for which you want the argument theta. - * @return float - */ - public static function IMARGUMENT($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['real'] == 0.0) { - if ($parsedComplex['imaginary'] == 0.0) { - return 0.0; - } elseif($parsedComplex['imaginary'] < 0.0) { - return M_PI / -2; - } else { - return M_PI / 2; - } - } elseif ($parsedComplex['real'] > 0.0) { - return atan($parsedComplex['imaginary'] / $parsedComplex['real']); - } elseif ($parsedComplex['imaginary'] < 0.0) { - return 0 - (M_PI - atan(abs($parsedComplex['imaginary']) / abs($parsedComplex['real']))); - } else { - return M_PI - atan($parsedComplex['imaginary'] / abs($parsedComplex['real'])); - } - } // function IMARGUMENT() - - - /** - * IMCONJUGATE - * - * Returns the complex conjugate of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMCONJUGATE(complexNumber) - * - * @param string $complexNumber The complex number for which you want the conjugate. - * @return string - */ - public static function IMCONJUGATE($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['imaginary'] == 0.0) { - return $parsedComplex['real']; - } else { - return self::_cleanComplex( self::COMPLEX( $parsedComplex['real'], - 0 - $parsedComplex['imaginary'], - $parsedComplex['suffix'] - ) - ); - } - } // function IMCONJUGATE() - - - /** - * IMCOS - * - * Returns the cosine of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMCOS(complexNumber) - * - * @param string $complexNumber The complex number for which you want the cosine. - * @return string|float - */ - public static function IMCOS($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['imaginary'] == 0.0) { - return cos($parsedComplex['real']); - } else { - return self::IMCONJUGATE(self::COMPLEX(cos($parsedComplex['real']) * cosh($parsedComplex['imaginary']),sin($parsedComplex['real']) * sinh($parsedComplex['imaginary']),$parsedComplex['suffix'])); - } - } // function IMCOS() - - - /** - * IMSIN - * - * Returns the sine of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMSIN(complexNumber) - * - * @param string $complexNumber The complex number for which you want the sine. - * @return string|float - */ - public static function IMSIN($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['imaginary'] == 0.0) { - return sin($parsedComplex['real']); - } else { - return self::COMPLEX(sin($parsedComplex['real']) * cosh($parsedComplex['imaginary']),cos($parsedComplex['real']) * sinh($parsedComplex['imaginary']),$parsedComplex['suffix']); - } - } // function IMSIN() - - - /** - * IMSQRT - * - * Returns the square root of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMSQRT(complexNumber) - * - * @param string $complexNumber The complex number for which you want the square root. - * @return string - */ - public static function IMSQRT($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - $theta = self::IMARGUMENT($complexNumber); - $d1 = cos($theta / 2); - $d2 = sin($theta / 2); - $r = sqrt(sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary']))); - - if ($parsedComplex['suffix'] == '') { - return self::COMPLEX($d1 * $r,$d2 * $r); - } else { - return self::COMPLEX($d1 * $r,$d2 * $r,$parsedComplex['suffix']); - } - } // function IMSQRT() - - - /** - * IMLN - * - * Returns the natural logarithm of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMLN(complexNumber) - * - * @param string $complexNumber The complex number for which you want the natural logarithm. - * @return string - */ - public static function IMLN($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $logR = log(sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary']))); - $t = self::IMARGUMENT($complexNumber); - - if ($parsedComplex['suffix'] == '') { - return self::COMPLEX($logR,$t); - } else { - return self::COMPLEX($logR,$t,$parsedComplex['suffix']); - } - } // function IMLN() - - - /** - * IMLOG10 - * - * Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMLOG10(complexNumber) - * - * @param string $complexNumber The complex number for which you want the common logarithm. - * @return string - */ - public static function IMLOG10($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (($parsedComplex['real'] > 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return log10($parsedComplex['real']); - } - - return self::IMPRODUCT(log10(EULER),self::IMLN($complexNumber)); - } // function IMLOG10() - - - /** - * IMLOG2 - * - * Returns the base-2 logarithm of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMLOG2(complexNumber) - * - * @param string $complexNumber The complex number for which you want the base-2 logarithm. - * @return string - */ - public static function IMLOG2($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (($parsedComplex['real'] > 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return log($parsedComplex['real'],2); - } - - return self::IMPRODUCT(log(EULER,2),self::IMLN($complexNumber)); - } // function IMLOG2() - - - /** - * IMEXP - * - * Returns the exponential of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMEXP(complexNumber) - * - * @param string $complexNumber The complex number for which you want the exponential. - * @return string - */ - public static function IMEXP($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return '1'; - } - - $e = exp($parsedComplex['real']); - $eX = $e * cos($parsedComplex['imaginary']); - $eY = $e * sin($parsedComplex['imaginary']); - - if ($parsedComplex['suffix'] == '') { - return self::COMPLEX($eX,$eY); - } else { - return self::COMPLEX($eX,$eY,$parsedComplex['suffix']); - } - } // function IMEXP() - - - /** - * IMPOWER - * - * Returns a complex number in x + yi or x + yj text format raised to a power. - * - * Excel Function: - * IMPOWER(complexNumber,realNumber) - * - * @param string $complexNumber The complex number you want to raise to a power. - * @param float $realNumber The power to which you want to raise the complex number. - * @return string - */ - public static function IMPOWER($complexNumber,$realNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - $realNumber = PHPExcel_Calculation_Functions::flattenSingleValue($realNumber); - - if (!is_numeric($realNumber)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $parsedComplex = self::_parseComplex($complexNumber); - - $r = sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary'])); - $rPower = pow($r,$realNumber); - $theta = self::IMARGUMENT($complexNumber) * $realNumber; - if ($theta == 0) { - return 1; - } elseif ($parsedComplex['imaginary'] == 0.0) { - return self::COMPLEX($rPower * cos($theta),$rPower * sin($theta),$parsedComplex['suffix']); - } else { - return self::COMPLEX($rPower * cos($theta),$rPower * sin($theta),$parsedComplex['suffix']); - } - } // function IMPOWER() - - - /** - * IMDIV - * - * Returns the quotient of two complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMDIV(complexDividend,complexDivisor) - * - * @param string $complexDividend The complex numerator or dividend. - * @param string $complexDivisor The complex denominator or divisor. - * @return string - */ - public static function IMDIV($complexDividend,$complexDivisor) { - $complexDividend = PHPExcel_Calculation_Functions::flattenSingleValue($complexDividend); - $complexDivisor = PHPExcel_Calculation_Functions::flattenSingleValue($complexDivisor); - - $parsedComplexDividend = self::_parseComplex($complexDividend); - $parsedComplexDivisor = self::_parseComplex($complexDivisor); - - if (($parsedComplexDividend['suffix'] != '') && ($parsedComplexDivisor['suffix'] != '') && - ($parsedComplexDividend['suffix'] != $parsedComplexDivisor['suffix'])) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($parsedComplexDividend['suffix'] != '') && ($parsedComplexDivisor['suffix'] == '')) { - $parsedComplexDivisor['suffix'] = $parsedComplexDividend['suffix']; - } - - $d1 = ($parsedComplexDividend['real'] * $parsedComplexDivisor['real']) + ($parsedComplexDividend['imaginary'] * $parsedComplexDivisor['imaginary']); - $d2 = ($parsedComplexDividend['imaginary'] * $parsedComplexDivisor['real']) - ($parsedComplexDividend['real'] * $parsedComplexDivisor['imaginary']); - $d3 = ($parsedComplexDivisor['real'] * $parsedComplexDivisor['real']) + ($parsedComplexDivisor['imaginary'] * $parsedComplexDivisor['imaginary']); - - $r = $d1/$d3; - $i = $d2/$d3; - - if ($i > 0.0) { - return self::_cleanComplex($r.'+'.$i.$parsedComplexDivisor['suffix']); - } elseif ($i < 0.0) { - return self::_cleanComplex($r.$i.$parsedComplexDivisor['suffix']); - } else { - return $r; - } - } // function IMDIV() - - - /** - * IMSUB - * - * Returns the difference of two complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMSUB(complexNumber1,complexNumber2) - * - * @param string $complexNumber1 The complex number from which to subtract complexNumber2. - * @param string $complexNumber2 The complex number to subtract from complexNumber1. - * @return string - */ - public static function IMSUB($complexNumber1,$complexNumber2) { - $complexNumber1 = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber1); - $complexNumber2 = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber2); - - $parsedComplex1 = self::_parseComplex($complexNumber1); - $parsedComplex2 = self::_parseComplex($complexNumber2); - - if ((($parsedComplex1['suffix'] != '') && ($parsedComplex2['suffix'] != '')) && - ($parsedComplex1['suffix'] != $parsedComplex2['suffix'])) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (($parsedComplex1['suffix'] == '') && ($parsedComplex2['suffix'] != '')) { - $parsedComplex1['suffix'] = $parsedComplex2['suffix']; - } - - $d1 = $parsedComplex1['real'] - $parsedComplex2['real']; - $d2 = $parsedComplex1['imaginary'] - $parsedComplex2['imaginary']; - - return self::COMPLEX($d1,$d2,$parsedComplex1['suffix']); - } // function IMSUB() - - - /** - * IMSUM - * - * Returns the sum of two or more complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMSUM(complexNumber[,complexNumber[,...]]) - * - * @param string $complexNumber,... Series of complex numbers to add - * @return string - */ - public static function IMSUM() { - // Return value - $returnValue = self::_parseComplex('0'); - $activeSuffix = ''; - - // Loop through the arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - $parsedComplex = self::_parseComplex($arg); - - if ($activeSuffix == '') { - $activeSuffix = $parsedComplex['suffix']; - } elseif (($parsedComplex['suffix'] != '') && ($activeSuffix != $parsedComplex['suffix'])) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $returnValue['real'] += $parsedComplex['real']; - $returnValue['imaginary'] += $parsedComplex['imaginary']; - } - - if ($returnValue['imaginary'] == 0.0) { $activeSuffix = ''; } - return self::COMPLEX($returnValue['real'],$returnValue['imaginary'],$activeSuffix); - } // function IMSUM() - - - /** - * IMPRODUCT - * - * Returns the product of two or more complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMPRODUCT(complexNumber[,complexNumber[,...]]) - * - * @param string $complexNumber,... Series of complex numbers to multiply - * @return string - */ - public static function IMPRODUCT() { - // Return value - $returnValue = self::_parseComplex('1'); - $activeSuffix = ''; - - // Loop through the arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - $parsedComplex = self::_parseComplex($arg); - - $workValue = $returnValue; - if (($parsedComplex['suffix'] != '') && ($activeSuffix == '')) { - $activeSuffix = $parsedComplex['suffix']; - } elseif (($parsedComplex['suffix'] != '') && ($activeSuffix != $parsedComplex['suffix'])) { - return PHPExcel_Calculation_Functions::NaN(); - } - $returnValue['real'] = ($workValue['real'] * $parsedComplex['real']) - ($workValue['imaginary'] * $parsedComplex['imaginary']); - $returnValue['imaginary'] = ($workValue['real'] * $parsedComplex['imaginary']) + ($workValue['imaginary'] * $parsedComplex['real']); - } - - if ($returnValue['imaginary'] == 0.0) { $activeSuffix = ''; } - return self::COMPLEX($returnValue['real'],$returnValue['imaginary'],$activeSuffix); - } // function IMPRODUCT() - - - /** - * DELTA - * - * Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise. - * Use this function to filter a set of values. For example, by summing several DELTA - * functions you calculate the count of equal pairs. This function is also known as the - * Kronecker Delta function. - * - * Excel Function: - * DELTA(a[,b]) - * - * @param float $a The first number. - * @param float $b The second number. If omitted, b is assumed to be zero. - * @return int - */ - public static function DELTA($a, $b=0) { - $a = PHPExcel_Calculation_Functions::flattenSingleValue($a); - $b = PHPExcel_Calculation_Functions::flattenSingleValue($b); - - return (int) ($a == $b); - } // function DELTA() - - - /** - * GESTEP - * - * Excel Function: - * GESTEP(number[,step]) - * - * Returns 1 if number >= step; returns 0 (zero) otherwise - * Use this function to filter a set of values. For example, by summing several GESTEP - * functions you calculate the count of values that exceed a threshold. - * - * @param float $number The value to test against step. - * @param float $step The threshold value. - * If you omit a value for step, GESTEP uses zero. - * @return int - */ - public static function GESTEP($number, $step=0) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $step = PHPExcel_Calculation_Functions::flattenSingleValue($step); - - return (int) ($number >= $step); - } // function GESTEP() - - - // - // Private method to calculate the erf value - // - private static $_two_sqrtpi = 1.128379167095512574; - - public static function _erfVal($x) { - if (abs($x) > 2.2) { - return 1 - self::_erfcVal($x); - } - $sum = $term = $x; - $xsqr = ($x * $x); - $j = 1; - do { - $term *= $xsqr / $j; - $sum -= $term / (2 * $j + 1); - ++$j; - $term *= $xsqr / $j; - $sum += $term / (2 * $j + 1); - ++$j; - if ($sum == 0.0) { - break; - } - } while (abs($term / $sum) > PRECISION); - return self::$_two_sqrtpi * $sum; - } // function _erfVal() - - - /** - * ERF - * - * Returns the error function integrated between the lower and upper bound arguments. - * - * Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments, - * the function would return a #NUM! error. However, in Excel 2010, the function algorithm was - * improved, so that it can now calculate the function for both positive and negative ranges. - * PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments. - * - * Excel Function: - * ERF(lower[,upper]) - * - * @param float $lower lower bound for integrating ERF - * @param float $upper upper bound for integrating ERF. - * If omitted, ERF integrates between zero and lower_limit - * @return float - */ - public static function ERF($lower, $upper = NULL) { - $lower = PHPExcel_Calculation_Functions::flattenSingleValue($lower); - $upper = PHPExcel_Calculation_Functions::flattenSingleValue($upper); - - if (is_numeric($lower)) { - if (is_null($upper)) { - return self::_erfVal($lower); - } - if (is_numeric($upper)) { - return self::_erfVal($upper) - self::_erfVal($lower); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ERF() - - - // - // Private method to calculate the erfc value - // - private static $_one_sqrtpi = 0.564189583547756287; - - private static function _erfcVal($x) { - if (abs($x) < 2.2) { - return 1 - self::_erfVal($x); - } - if ($x < 0) { - return 2 - self::ERFC(-$x); - } - $a = $n = 1; - $b = $c = $x; - $d = ($x * $x) + 0.5; - $q1 = $q2 = $b / $d; - $t = 0; - do { - $t = $a * $n + $b * $x; - $a = $b; - $b = $t; - $t = $c * $n + $d * $x; - $c = $d; - $d = $t; - $n += 0.5; - $q1 = $q2; - $q2 = $b / $d; - } while ((abs($q1 - $q2) / $q2) > PRECISION); - return self::$_one_sqrtpi * exp(-$x * $x) * $q2; - } // function _erfcVal() - - - /** - * ERFC - * - * Returns the complementary ERF function integrated between x and infinity - * - * Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument, - * the function would return a #NUM! error. However, in Excel 2010, the function algorithm was - * improved, so that it can now calculate the function for both positive and negative x values. - * PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments. - * - * Excel Function: - * ERFC(x) - * - * @param float $x The lower bound for integrating ERFC - * @return float - */ - public static function ERFC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_numeric($x)) { - return self::_erfcVal($x); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ERFC() - - - /** - * getConversionGroups - * Returns a list of the different conversion groups for UOM conversions - * - * @return array - */ - public static function getConversionGroups() { - $conversionGroups = array(); - foreach(self::$_conversionUnits as $conversionUnit) { - $conversionGroups[] = $conversionUnit['Group']; - } - return array_merge(array_unique($conversionGroups)); - } // function getConversionGroups() - - - /** - * getConversionGroupUnits - * Returns an array of units of measure, for a specified conversion group, or for all groups - * - * @param string $group The group whose units of measure you want to retrieve - * @return array - */ - public static function getConversionGroupUnits($group = NULL) { - $conversionGroups = array(); - foreach(self::$_conversionUnits as $conversionUnit => $conversionGroup) { - if ((is_null($group)) || ($conversionGroup['Group'] == $group)) { - $conversionGroups[$conversionGroup['Group']][] = $conversionUnit; - } - } - return $conversionGroups; - } // function getConversionGroupUnits() - - - /** - * getConversionGroupUnitDetails - * - * @param string $group The group whose units of measure you want to retrieve - * @return array - */ - public static function getConversionGroupUnitDetails($group = NULL) { - $conversionGroups = array(); - foreach(self::$_conversionUnits as $conversionUnit => $conversionGroup) { - if ((is_null($group)) || ($conversionGroup['Group'] == $group)) { - $conversionGroups[$conversionGroup['Group']][] = array( 'unit' => $conversionUnit, - 'description' => $conversionGroup['Unit Name'] - ); - } - } - return $conversionGroups; - } // function getConversionGroupUnitDetails() - - - /** - * getConversionMultipliers - * Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM() - * - * @return array of mixed - */ - public static function getConversionMultipliers() { - return self::$_conversionMultipliers; - } // function getConversionGroups() - - - /** - * CONVERTUOM - * - * Converts a number from one measurement system to another. - * For example, CONVERT can translate a table of distances in miles to a table of distances - * in kilometers. - * - * Excel Function: - * CONVERT(value,fromUOM,toUOM) - * - * @param float $value The value in fromUOM to convert. - * @param string $fromUOM The units for value. - * @param string $toUOM The units for the result. - * - * @return float - */ - public static function CONVERTUOM($value, $fromUOM, $toUOM) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $fromUOM = PHPExcel_Calculation_Functions::flattenSingleValue($fromUOM); - $toUOM = PHPExcel_Calculation_Functions::flattenSingleValue($toUOM); - - if (!is_numeric($value)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $fromMultiplier = 1.0; - if (isset(self::$_conversionUnits[$fromUOM])) { - $unitGroup1 = self::$_conversionUnits[$fromUOM]['Group']; - } else { - $fromMultiplier = substr($fromUOM,0,1); - $fromUOM = substr($fromUOM,1); - if (isset(self::$_conversionMultipliers[$fromMultiplier])) { - $fromMultiplier = self::$_conversionMultipliers[$fromMultiplier]['multiplier']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - if ((isset(self::$_conversionUnits[$fromUOM])) && (self::$_conversionUnits[$fromUOM]['AllowPrefix'])) { - $unitGroup1 = self::$_conversionUnits[$fromUOM]['Group']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - } - $value *= $fromMultiplier; - - $toMultiplier = 1.0; - if (isset(self::$_conversionUnits[$toUOM])) { - $unitGroup2 = self::$_conversionUnits[$toUOM]['Group']; - } else { - $toMultiplier = substr($toUOM,0,1); - $toUOM = substr($toUOM,1); - if (isset(self::$_conversionMultipliers[$toMultiplier])) { - $toMultiplier = self::$_conversionMultipliers[$toMultiplier]['multiplier']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - if ((isset(self::$_conversionUnits[$toUOM])) && (self::$_conversionUnits[$toUOM]['AllowPrefix'])) { - $unitGroup2 = self::$_conversionUnits[$toUOM]['Group']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - } - if ($unitGroup1 != $unitGroup2) { - return PHPExcel_Calculation_Functions::NA(); - } - - if (($fromUOM == $toUOM) && ($fromMultiplier == $toMultiplier)) { - // We've already factored $fromMultiplier into the value, so we need - // to reverse it again - return $value / $fromMultiplier; - } elseif ($unitGroup1 == 'Temperature') { - if (($fromUOM == 'F') || ($fromUOM == 'fah')) { - if (($toUOM == 'F') || ($toUOM == 'fah')) { - return $value; - } else { - $value = (($value - 32) / 1.8); - if (($toUOM == 'K') || ($toUOM == 'kel')) { - $value += 273.15; - } - return $value; - } - } elseif ((($fromUOM == 'K') || ($fromUOM == 'kel')) && - (($toUOM == 'K') || ($toUOM == 'kel'))) { - return $value; - } elseif ((($fromUOM == 'C') || ($fromUOM == 'cel')) && - (($toUOM == 'C') || ($toUOM == 'cel'))) { - return $value; - } - if (($toUOM == 'F') || ($toUOM == 'fah')) { - if (($fromUOM == 'K') || ($fromUOM == 'kel')) { - $value -= 273.15; - } - return ($value * 1.8) + 32; - } - if (($toUOM == 'C') || ($toUOM == 'cel')) { - return $value - 273.15; - } - return $value + 273.15; - } - return ($value * self::$_unitConversions[$unitGroup1][$fromUOM][$toUOM]) / $toMultiplier; - } // function CONVERTUOM() - -} // class PHPExcel_Calculation_Engineering diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Exception.php deleted file mode 100644 index 2ddf666df..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/ExceptionHandler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/ExceptionHandler.php deleted file mode 100644 index 41c42d7ac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/ExceptionHandler.php +++ /dev/null @@ -1,49 +0,0 @@ -format('d') == $testDate->format('t')); - } // function _lastDayOfMonth() - - - /** - * _firstDayOfMonth - * - * Returns a boolean TRUE/FALSE indicating if this date is the first date of the month - * - * @param DateTime $testDate The date for testing - * @return boolean - */ - private static function _firstDayOfMonth($testDate) - { - return ($testDate->format('d') == 1); - } // function _firstDayOfMonth() - - - private static function _coupFirstPeriodDate($settlement, $maturity, $frequency, $next) - { - $months = 12 / $frequency; - - $result = PHPExcel_Shared_Date::ExcelToPHPObject($maturity); - $eom = self::_lastDayOfMonth($result); - - while ($settlement < PHPExcel_Shared_Date::PHPToExcel($result)) { - $result->modify('-'.$months.' months'); - } - if ($next) { - $result->modify('+'.$months.' months'); - } - - if ($eom) { - $result->modify('-1 day'); - } - - return PHPExcel_Shared_Date::PHPToExcel($result); - } // function _coupFirstPeriodDate() - - - private static function _validFrequency($frequency) - { - if (($frequency == 1) || ($frequency == 2) || ($frequency == 4)) { - return true; - } - if ((PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) && - (($frequency == 6) || ($frequency == 12))) { - return true; - } - return false; - } // function _validFrequency() - - - /** - * _daysPerYear - * - * Returns the number of days in a specified year, as defined by the "basis" value - * - * @param integer $year The year against which we're testing - * @param integer $basis The type of day count: - * 0 or omitted US (NASD) 360 - * 1 Actual (365 or 366 in a leap year) - * 2 360 - * 3 365 - * 4 European 360 - * @return integer - */ - private static function _daysPerYear($year, $basis=0) - { - switch ($basis) { - case 0 : - case 2 : - case 4 : - $daysPerYear = 360; - break; - case 3 : - $daysPerYear = 365; - break; - case 1 : - $daysPerYear = (PHPExcel_Calculation_DateTime::_isLeapYear($year)) ? 366 : 365; - break; - default : - return PHPExcel_Calculation_Functions::NaN(); - } - return $daysPerYear; - } // function _daysPerYear() - - - private static function _interestAndPrincipal($rate=0, $per=0, $nper=0, $pv=0, $fv=0, $type=0) - { - $pmt = self::PMT($rate, $nper, $pv, $fv, $type); - $capital = $pv; - for ($i = 1; $i<= $per; ++$i) { - $interest = ($type && $i == 1) ? 0 : -$capital * $rate; - $principal = $pmt - $interest; - $capital += $principal; - } - return array($interest, $principal); - } // function _interestAndPrincipal() - - - /** - * ACCRINT - * - * Returns the accrued interest for a security that pays periodic interest. - * - * Excel Function: - * ACCRINT(issue,firstinterest,settlement,rate,par,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed $issue The security's issue date. - * @param mixed $firstinterest The security's first interest date. - * @param mixed $settlement The security's settlement date. - * The security settlement date is the date after the issue date - * when the security is traded to the buyer. - * @param float $rate The security's annual coupon rate. - * @param float $par The security's par value. - * If you omit par, ACCRINT uses $1,000. - * @param integer $frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer $basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function ACCRINT($issue, $firstinterest, $settlement, $rate, $par=1000, $frequency=1, $basis=0) - { - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $firstinterest = PHPExcel_Calculation_Functions::flattenSingleValue($firstinterest); - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $par = (is_null($par)) ? 1000 : PHPExcel_Calculation_Functions::flattenSingleValue($par); - $frequency = (is_null($frequency)) ? 1 : PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($rate)) && (is_numeric($par))) { - $rate = (float) $rate; - $par = (float) $par; - if (($rate <= 0) || ($par <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - - return $par * $rate * $daysBetweenIssueAndSettlement; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ACCRINT() - - - /** - * ACCRINTM - * - * Returns the accrued interest for a security that pays interest at maturity. - * - * Excel Function: - * ACCRINTM(issue,settlement,rate[,par[,basis]]) - * - * @access public - * @category Financial Functions - * @param mixed issue The security's issue date. - * @param mixed settlement The security's settlement (or maturity) date. - * @param float rate The security's annual coupon rate. - * @param float par The security's par value. - * If you omit par, ACCRINT uses $1,000. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function ACCRINTM($issue, $settlement, $rate, $par=1000, $basis=0) { - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $par = (is_null($par)) ? 1000 : PHPExcel_Calculation_Functions::flattenSingleValue($par); - $basis = (is_null($basis)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($rate)) && (is_numeric($par))) { - $rate = (float) $rate; - $par = (float) $par; - if (($rate <= 0) || ($par <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - return $par * $rate * $daysBetweenIssueAndSettlement; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ACCRINTM() - - - /** - * AMORDEGRC - * - * Returns the depreciation for each accounting period. - * This function is provided for the French accounting system. If an asset is purchased in - * the middle of the accounting period, the prorated depreciation is taken into account. - * The function is similar to AMORLINC, except that a depreciation coefficient is applied in - * the calculation depending on the life of the assets. - * This function will return the depreciation until the last period of the life of the assets - * or until the cumulated value of depreciation is greater than the cost of the assets minus - * the salvage value. - * - * Excel Function: - * AMORDEGRC(cost,purchased,firstPeriod,salvage,period,rate[,basis]) - * - * @access public - * @category Financial Functions - * @param float cost The cost of the asset. - * @param mixed purchased Date of the purchase of the asset. - * @param mixed firstPeriod Date of the end of the first period. - * @param mixed salvage The salvage value at the end of the life of the asset. - * @param float period The period. - * @param float rate Rate of depreciation. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function AMORDEGRC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis=0) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $purchased = PHPExcel_Calculation_Functions::flattenSingleValue($purchased); - $firstPeriod = PHPExcel_Calculation_Functions::flattenSingleValue($firstPeriod); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $period = floor(PHPExcel_Calculation_Functions::flattenSingleValue($period)); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // The depreciation coefficients are: - // Life of assets (1/rate) Depreciation coefficient - // Less than 3 years 1 - // Between 3 and 4 years 1.5 - // Between 5 and 6 years 2 - // More than 6 years 2.5 - $fUsePer = 1.0 / $rate; - if ($fUsePer < 3.0) { - $amortiseCoeff = 1.0; - } elseif ($fUsePer < 5.0) { - $amortiseCoeff = 1.5; - } elseif ($fUsePer <= 6.0) { - $amortiseCoeff = 2.0; - } else { - $amortiseCoeff = 2.5; - } - - $rate *= $amortiseCoeff; - $fNRate = round(PHPExcel_Calculation_DateTime::YEARFRAC($purchased, $firstPeriod, $basis) * $rate * $cost,0); - $cost -= $fNRate; - $fRest = $cost - $salvage; - - for ($n = 0; $n < $period; ++$n) { - $fNRate = round($rate * $cost,0); - $fRest -= $fNRate; - - if ($fRest < 0.0) { - switch ($period - $n) { - case 0 : - case 1 : return round($cost * 0.5, 0); - break; - default : return 0.0; - break; - } - } - $cost -= $fNRate; - } - return $fNRate; - } // function AMORDEGRC() - - - /** - * AMORLINC - * - * Returns the depreciation for each accounting period. - * This function is provided for the French accounting system. If an asset is purchased in - * the middle of the accounting period, the prorated depreciation is taken into account. - * - * Excel Function: - * AMORLINC(cost,purchased,firstPeriod,salvage,period,rate[,basis]) - * - * @access public - * @category Financial Functions - * @param float cost The cost of the asset. - * @param mixed purchased Date of the purchase of the asset. - * @param mixed firstPeriod Date of the end of the first period. - * @param mixed salvage The salvage value at the end of the life of the asset. - * @param float period The period. - * @param float rate Rate of depreciation. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function AMORLINC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis=0) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $purchased = PHPExcel_Calculation_Functions::flattenSingleValue($purchased); - $firstPeriod = PHPExcel_Calculation_Functions::flattenSingleValue($firstPeriod); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - $fOneRate = $cost * $rate; - $fCostDelta = $cost - $salvage; - // Note, quirky variation for leap years on the YEARFRAC for this function - $purchasedYear = PHPExcel_Calculation_DateTime::YEAR($purchased); - $yearFrac = PHPExcel_Calculation_DateTime::YEARFRAC($purchased, $firstPeriod, $basis); - - if (($basis == 1) && ($yearFrac < 1) && (PHPExcel_Calculation_DateTime::_isLeapYear($purchasedYear))) { - $yearFrac *= 365 / 366; - } - - $f0Rate = $yearFrac * $rate * $cost; - $nNumOfFullPeriods = intval(($cost - $salvage - $f0Rate) / $fOneRate); - - if ($period == 0) { - return $f0Rate; - } elseif ($period <= $nNumOfFullPeriods) { - return $fOneRate; - } elseif ($period == ($nNumOfFullPeriods + 1)) { - return ($fCostDelta - $fOneRate * $nNumOfFullPeriods - $f0Rate); - } else { - return 0.0; - } - } // function AMORLINC() - - - /** - * COUPDAYBS - * - * Returns the number of days from the beginning of the coupon period to the settlement date. - * - * Excel Function: - * COUPDAYBS(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function COUPDAYBS($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - $prev = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, False); - - return PHPExcel_Calculation_DateTime::YEARFRAC($prev, $settlement, $basis) * $daysPerYear; - } // function COUPDAYBS() - - - /** - * COUPDAYS - * - * Returns the number of days in the coupon period that contains the settlement date. - * - * Excel Function: - * COUPDAYS(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function COUPDAYS($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - switch ($basis) { - case 3: // Actual/365 - return 365 / $frequency; - case 1: // Actual/actual - if ($frequency == 1) { - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($maturity),$basis); - return ($daysPerYear / $frequency); - } else { - $prev = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, False); - $next = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - return ($next - $prev); - } - default: // US (NASD) 30/360, Actual/360 or European 30/360 - return 360 / $frequency; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function COUPDAYS() - - - /** - * COUPDAYSNC - * - * Returns the number of days from the settlement date to the next coupon date. - * - * Excel Function: - * COUPDAYSNC(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function COUPDAYSNC($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - $next = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - - return PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $next, $basis) * $daysPerYear; - } // function COUPDAYSNC() - - - /** - * COUPNCD - * - * Returns the next coupon date after the settlement date. - * - * Excel Function: - * COUPNCD(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function COUPNCD($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - } // function COUPNCD() - - - /** - * COUPNUM - * - * Returns the number of coupons payable between the settlement date and maturity date, - * rounded up to the nearest whole coupon. - * - * Excel Function: - * COUPNUM(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return integer - */ - public static function COUPNUM($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $settlement = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis) * 365; - - switch ($frequency) { - case 1: // annual payments - return ceil($daysBetweenSettlementAndMaturity / 360); - case 2: // half-yearly - return ceil($daysBetweenSettlementAndMaturity / 180); - case 4: // quarterly - return ceil($daysBetweenSettlementAndMaturity / 90); - case 6: // bimonthly - return ceil($daysBetweenSettlementAndMaturity / 60); - case 12: // monthly - return ceil($daysBetweenSettlementAndMaturity / 30); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function COUPNUM() - - - /** - * COUPPCD - * - * Returns the previous coupon date before the settlement date. - * - * Excel Function: - * COUPPCD(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function COUPPCD($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return self::_coupFirstPeriodDate($settlement, $maturity, $frequency, False); - } // function COUPPCD() - - - /** - * CUMIPMT - * - * Returns the cumulative interest paid on a loan between the start and end periods. - * - * Excel Function: - * CUMIPMT(rate,nper,pv,start,end[,type]) - * - * @access public - * @category Financial Functions - * @param float $rate The Interest rate - * @param integer $nper The total number of payment periods - * @param float $pv Present Value - * @param integer $start The first period in the calculation. - * Payment periods are numbered beginning with 1. - * @param integer $end The last period in the calculation. - * @param integer $type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @return float - */ - public static function CUMIPMT($rate, $nper, $pv, $start, $end, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $start = (int) PHPExcel_Calculation_Functions::flattenSingleValue($start); - $end = (int) PHPExcel_Calculation_Functions::flattenSingleValue($end); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($start < 1 || $start > $end) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $interest = 0; - for ($per = $start; $per <= $end; ++$per) { - $interest += self::IPMT($rate, $per, $nper, $pv, 0, $type); - } - - return $interest; - } // function CUMIPMT() - - - /** - * CUMPRINC - * - * Returns the cumulative principal paid on a loan between the start and end periods. - * - * Excel Function: - * CUMPRINC(rate,nper,pv,start,end[,type]) - * - * @access public - * @category Financial Functions - * @param float $rate The Interest rate - * @param integer $nper The total number of payment periods - * @param float $pv Present Value - * @param integer $start The first period in the calculation. - * Payment periods are numbered beginning with 1. - * @param integer $end The last period in the calculation. - * @param integer $type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @return float - */ - public static function CUMPRINC($rate, $nper, $pv, $start, $end, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $start = (int) PHPExcel_Calculation_Functions::flattenSingleValue($start); - $end = (int) PHPExcel_Calculation_Functions::flattenSingleValue($end); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($start < 1 || $start > $end) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $principal = 0; - for ($per = $start; $per <= $end; ++$per) { - $principal += self::PPMT($rate, $per, $nper, $pv, 0, $type); - } - - return $principal; - } // function CUMPRINC() - - - /** - * DB - * - * Returns the depreciation of an asset for a specified period using the - * fixed-declining balance method. - * This form of depreciation is used if you want to get a higher depreciation value - * at the beginning of the depreciation (as opposed to linear depreciation). The - * depreciation value is reduced with every depreciation period by the depreciation - * already deducted from the initial cost. - * - * Excel Function: - * DB(cost,salvage,life,period[,month]) - * - * @access public - * @category Financial Functions - * @param float cost Initial cost of the asset. - * @param float salvage Value at the end of the depreciation. - * (Sometimes called the salvage value of the asset) - * @param integer life Number of periods over which the asset is depreciated. - * (Sometimes called the useful life of the asset) - * @param integer period The period for which you want to calculate the - * depreciation. Period must use the same units as life. - * @param integer month Number of months in the first year. If month is omitted, - * it defaults to 12. - * @return float - */ - public static function DB($cost, $salvage, $life, $period, $month=12) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - $month = PHPExcel_Calculation_Functions::flattenSingleValue($month); - - // Validate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period)) && (is_numeric($month))) { - $cost = (float) $cost; - $salvage = (float) $salvage; - $life = (int) $life; - $period = (int) $period; - $month = (int) $month; - if ($cost == 0) { - return 0.0; - } elseif (($cost < 0) || (($salvage / $cost) < 0) || ($life <= 0) || ($period < 1) || ($month < 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - // Set Fixed Depreciation Rate - $fixedDepreciationRate = 1 - pow(($salvage / $cost), (1 / $life)); - $fixedDepreciationRate = round($fixedDepreciationRate, 3); - - // Loop through each period calculating the depreciation - $previousDepreciation = 0; - for ($per = 1; $per <= $period; ++$per) { - if ($per == 1) { - $depreciation = $cost * $fixedDepreciationRate * $month / 12; - } elseif ($per == ($life + 1)) { - $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate * (12 - $month) / 12; - } else { - $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate; - } - $previousDepreciation += $depreciation; - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $depreciation = round($depreciation,2); - } - return $depreciation; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DB() - - - /** - * DDB - * - * Returns the depreciation of an asset for a specified period using the - * double-declining balance method or some other method you specify. - * - * Excel Function: - * DDB(cost,salvage,life,period[,factor]) - * - * @access public - * @category Financial Functions - * @param float cost Initial cost of the asset. - * @param float salvage Value at the end of the depreciation. - * (Sometimes called the salvage value of the asset) - * @param integer life Number of periods over which the asset is depreciated. - * (Sometimes called the useful life of the asset) - * @param integer period The period for which you want to calculate the - * depreciation. Period must use the same units as life. - * @param float factor The rate at which the balance declines. - * If factor is omitted, it is assumed to be 2 (the - * double-declining balance method). - * @return float - */ - public static function DDB($cost, $salvage, $life, $period, $factor=2.0) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - $factor = PHPExcel_Calculation_Functions::flattenSingleValue($factor); - - // Validate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period)) && (is_numeric($factor))) { - $cost = (float) $cost; - $salvage = (float) $salvage; - $life = (int) $life; - $period = (int) $period; - $factor = (float) $factor; - if (($cost <= 0) || (($salvage / $cost) < 0) || ($life <= 0) || ($period < 1) || ($factor <= 0.0) || ($period > $life)) { - return PHPExcel_Calculation_Functions::NaN(); - } - // Set Fixed Depreciation Rate - $fixedDepreciationRate = 1 - pow(($salvage / $cost), (1 / $life)); - $fixedDepreciationRate = round($fixedDepreciationRate, 3); - - // Loop through each period calculating the depreciation - $previousDepreciation = 0; - for ($per = 1; $per <= $period; ++$per) { - $depreciation = min( ($cost - $previousDepreciation) * ($factor / $life), ($cost - $salvage - $previousDepreciation) ); - $previousDepreciation += $depreciation; - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $depreciation = round($depreciation,2); - } - return $depreciation; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DDB() - - - /** - * DISC - * - * Returns the discount rate for a security. - * - * Excel Function: - * DISC(settlement,maturity,price,redemption[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param integer price The security's price per $100 face value. - * @param integer redemption The security's redemption value per $100 face value. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function DISC($settlement, $maturity, $price, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - $redemption = PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($price)) && (is_numeric($redemption)) && (is_numeric($basis))) { - $price = (float) $price; - $redemption = (float) $redemption; - $basis = (int) $basis; - if (($price <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return ((1 - $price / $redemption) / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DISC() - - - /** - * DOLLARDE - * - * Converts a dollar price expressed as an integer part and a fraction - * part into a dollar price expressed as a decimal number. - * Fractional dollar numbers are sometimes used for security prices. - * - * Excel Function: - * DOLLARDE(fractional_dollar,fraction) - * - * @access public - * @category Financial Functions - * @param float $fractional_dollar Fractional Dollar - * @param integer $fraction Fraction - * @return float - */ - public static function DOLLARDE($fractional_dollar = Null, $fraction = 0) { - $fractional_dollar = PHPExcel_Calculation_Functions::flattenSingleValue($fractional_dollar); - $fraction = (int)PHPExcel_Calculation_Functions::flattenSingleValue($fraction); - - // Validate parameters - if (is_null($fractional_dollar) || $fraction < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($fraction == 0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $dollars = floor($fractional_dollar); - $cents = fmod($fractional_dollar,1); - $cents /= $fraction; - $cents *= pow(10,ceil(log10($fraction))); - return $dollars + $cents; - } // function DOLLARDE() - - - /** - * DOLLARFR - * - * Converts a dollar price expressed as a decimal number into a dollar price - * expressed as a fraction. - * Fractional dollar numbers are sometimes used for security prices. - * - * Excel Function: - * DOLLARFR(decimal_dollar,fraction) - * - * @access public - * @category Financial Functions - * @param float $decimal_dollar Decimal Dollar - * @param integer $fraction Fraction - * @return float - */ - public static function DOLLARFR($decimal_dollar = Null, $fraction = 0) { - $decimal_dollar = PHPExcel_Calculation_Functions::flattenSingleValue($decimal_dollar); - $fraction = (int)PHPExcel_Calculation_Functions::flattenSingleValue($fraction); - - // Validate parameters - if (is_null($decimal_dollar) || $fraction < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($fraction == 0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $dollars = floor($decimal_dollar); - $cents = fmod($decimal_dollar,1); - $cents *= $fraction; - $cents *= pow(10,-ceil(log10($fraction))); - return $dollars + $cents; - } // function DOLLARFR() - - - /** - * EFFECT - * - * Returns the effective interest rate given the nominal rate and the number of - * compounding payments per year. - * - * Excel Function: - * EFFECT(nominal_rate,npery) - * - * @access public - * @category Financial Functions - * @param float $nominal_rate Nominal interest rate - * @param integer $npery Number of compounding payments per year - * @return float - */ - public static function EFFECT($nominal_rate = 0, $npery = 0) { - $nominal_rate = PHPExcel_Calculation_Functions::flattenSingleValue($nominal_rate); - $npery = (int)PHPExcel_Calculation_Functions::flattenSingleValue($npery); - - // Validate parameters - if ($nominal_rate <= 0 || $npery < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return pow((1 + $nominal_rate / $npery), $npery) - 1; - } // function EFFECT() - - - /** - * FV - * - * Returns the Future Value of a cash flow with constant payments and interest rate (annuities). - * - * Excel Function: - * FV(rate,nper,pmt[,pv[,type]]) - * - * @access public - * @category Financial Functions - * @param float $rate The interest rate per period - * @param int $nper Total number of payment periods in an annuity - * @param float $pmt The payment made each period: it cannot change over the - * life of the annuity. Typically, pmt contains principal - * and interest but no other fees or taxes. - * @param float $pv Present Value, or the lump-sum amount that a series of - * future payments is worth right now. - * @param integer $type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @return float - */ - public static function FV($rate = 0, $nper = 0, $pmt = 0, $pv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - return -$pv * pow(1 + $rate, $nper) - $pmt * (1 + $rate * $type) * (pow(1 + $rate, $nper) - 1) / $rate; - } else { - return -$pv - $pmt * $nper; - } - } // function FV() - - - /** - * FVSCHEDULE - * - * Returns the future value of an initial principal after applying a series of compound interest rates. - * Use FVSCHEDULE to calculate the future value of an investment with a variable or adjustable rate. - * - * Excel Function: - * FVSCHEDULE(principal,schedule) - * - * @param float $principal The present value. - * @param float[] $schedule An array of interest rates to apply. - * @return float - */ - public static function FVSCHEDULE($principal, $schedule) { - $principal = PHPExcel_Calculation_Functions::flattenSingleValue($principal); - $schedule = PHPExcel_Calculation_Functions::flattenArray($schedule); - - foreach($schedule as $rate) { - $principal *= 1 + $rate; - } - - return $principal; - } // function FVSCHEDULE() - - - /** - * INTRATE - * - * Returns the interest rate for a fully invested security. - * - * Excel Function: - * INTRATE(settlement,maturity,investment,redemption[,basis]) - * - * @param mixed $settlement The security's settlement date. - * The security settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed $maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param integer $investment The amount invested in the security. - * @param integer $redemption The amount to be received at maturity. - * @param integer $basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function INTRATE($settlement, $maturity, $investment, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $investment = PHPExcel_Calculation_Functions::flattenSingleValue($investment); - $redemption = PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($investment)) && (is_numeric($redemption)) && (is_numeric($basis))) { - $investment = (float) $investment; - $redemption = (float) $redemption; - $basis = (int) $basis; - if (($investment <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return (($redemption / $investment) - 1) / ($daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function INTRATE() - - - /** - * IPMT - * - * Returns the interest payment for a given period for an investment based on periodic, constant payments and a constant interest rate. - * - * Excel Function: - * IPMT(rate,per,nper,pv[,fv][,type]) - * - * @param float $rate Interest rate per period - * @param int $per Period for which we want to find the interest - * @param int $nper Number of periods - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function IPMT($rate, $per, $nper, $pv, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $per = (int) PHPExcel_Calculation_Functions::flattenSingleValue($per); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($per <= 0 || $per > $nper) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $interestAndPrincipal = self::_interestAndPrincipal($rate, $per, $nper, $pv, $fv, $type); - return $interestAndPrincipal[0]; - } // function IPMT() - - /** - * IRR - * - * Returns the internal rate of return for a series of cash flows represented by the numbers in values. - * These cash flows do not have to be even, as they would be for an annuity. However, the cash flows must occur - * at regular intervals, such as monthly or annually. The internal rate of return is the interest rate received - * for an investment consisting of payments (negative values) and income (positive values) that occur at regular - * periods. - * - * Excel Function: - * IRR(values[,guess]) - * - * @param float[] $values An array or a reference to cells that contain numbers for which you want - * to calculate the internal rate of return. - * Values must contain at least one positive value and one negative value to - * calculate the internal rate of return. - * @param float $guess A number that you guess is close to the result of IRR - * @return float - */ - public static function IRR($values, $guess = 0.1) { - if (!is_array($values)) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $guess = PHPExcel_Calculation_Functions::flattenSingleValue($guess); - - // create an initial range, with a root somewhere between 0 and guess - $x1 = 0.0; - $x2 = $guess; - $f1 = self::NPV($x1, $values); - $f2 = self::NPV($x2, $values); - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - if (($f1 * $f2) < 0.0) break; - if (abs($f1) < abs($f2)) { - $f1 = self::NPV($x1 += 1.6 * ($x1 - $x2), $values); - } else { - $f2 = self::NPV($x2 += 1.6 * ($x2 - $x1), $values); - } - } - if (($f1 * $f2) > 0.0) return PHPExcel_Calculation_Functions::VALUE(); - - $f = self::NPV($x1, $values); - if ($f < 0.0) { - $rtb = $x1; - $dx = $x2 - $x1; - } else { - $rtb = $x2; - $dx = $x1 - $x2; - } - - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - $dx *= 0.5; - $x_mid = $rtb + $dx; - $f_mid = self::NPV($x_mid, $values); - if ($f_mid <= 0.0) - $rtb = $x_mid; - if ((abs($f_mid) < FINANCIAL_PRECISION) || (abs($dx) < FINANCIAL_PRECISION)) - return $x_mid; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function IRR() - - - /** - * ISPMT - * - * Returns the interest payment for an investment based on an interest rate and a constant payment schedule. - * - * Excel Function: - * =ISPMT(interest_rate, period, number_payments, PV) - * - * interest_rate is the interest rate for the investment - * - * period is the period to calculate the interest rate. It must be betweeen 1 and number_payments. - * - * number_payments is the number of payments for the annuity - * - * PV is the loan amount or present value of the payments - */ - public static function ISPMT() { - // Return value - $returnValue = 0; - - // Get the parameters - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $interestRate = array_shift($aArgs); - $period = array_shift($aArgs); - $numberPeriods = array_shift($aArgs); - $principleRemaining = array_shift($aArgs); - - // Calculate - $principlePayment = ($principleRemaining * 1.0) / ($numberPeriods * 1.0); - for($i=0; $i <= $period; ++$i) { - $returnValue = $interestRate * $principleRemaining * -1; - $principleRemaining -= $principlePayment; - // principle needs to be 0 after the last payment, don't let floating point screw it up - if($i == $numberPeriods) { - $returnValue = 0; - } - } - return($returnValue); - } // function ISPMT() - - - /** - * MIRR - * - * Returns the modified internal rate of return for a series of periodic cash flows. MIRR considers both - * the cost of the investment and the interest received on reinvestment of cash. - * - * Excel Function: - * MIRR(values,finance_rate, reinvestment_rate) - * - * @param float[] $values An array or a reference to cells that contain a series of payments and - * income occurring at regular intervals. - * Payments are negative value, income is positive values. - * @param float $finance_rate The interest rate you pay on the money used in the cash flows - * @param float $reinvestment_rate The interest rate you receive on the cash flows as you reinvest them - * @return float - */ - public static function MIRR($values, $finance_rate, $reinvestment_rate) { - if (!is_array($values)) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $finance_rate = PHPExcel_Calculation_Functions::flattenSingleValue($finance_rate); - $reinvestment_rate = PHPExcel_Calculation_Functions::flattenSingleValue($reinvestment_rate); - $n = count($values); - - $rr = 1.0 + $reinvestment_rate; - $fr = 1.0 + $finance_rate; - - $npv_pos = $npv_neg = 0.0; - foreach($values as $i => $v) { - if ($v >= 0) { - $npv_pos += $v / pow($rr, $i); - } else { - $npv_neg += $v / pow($fr, $i); - } - } - - if (($npv_neg == 0) || ($npv_pos == 0) || ($reinvestment_rate <= -1)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $mirr = pow((-$npv_pos * pow($rr, $n)) - / ($npv_neg * ($rr)), (1.0 / ($n - 1))) - 1.0; - - return (is_finite($mirr) ? $mirr : PHPExcel_Calculation_Functions::VALUE()); - } // function MIRR() - - - /** - * NOMINAL - * - * Returns the nominal interest rate given the effective rate and the number of compounding payments per year. - * - * @param float $effect_rate Effective interest rate - * @param int $npery Number of compounding payments per year - * @return float - */ - public static function NOMINAL($effect_rate = 0, $npery = 0) { - $effect_rate = PHPExcel_Calculation_Functions::flattenSingleValue($effect_rate); - $npery = (int)PHPExcel_Calculation_Functions::flattenSingleValue($npery); - - // Validate parameters - if ($effect_rate <= 0 || $npery < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - return $npery * (pow($effect_rate + 1, 1 / $npery) - 1); - } // function NOMINAL() - - - /** - * NPER - * - * Returns the number of periods for a cash flow with constant periodic payments (annuities), and interest rate. - * - * @param float $rate Interest rate per period - * @param int $pmt Periodic payment (annuity) - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function NPER($rate = 0, $pmt = 0, $pv = 0, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - if ($pmt == 0 && $pv == 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return log(($pmt * (1 + $rate * $type) / $rate - $fv) / ($pv + $pmt * (1 + $rate * $type) / $rate)) / log(1 + $rate); - } else { - if ($pmt == 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return (-$pv -$fv) / $pmt; - } - } // function NPER() - - /** - * NPV - * - * Returns the Net Present Value of a cash flow series given a discount rate. - * - * @return float - */ - public static function NPV() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $rate = array_shift($aArgs); - for ($i = 1; $i <= count($aArgs); ++$i) { - // Is it a numeric value? - if (is_numeric($aArgs[$i - 1])) { - $returnValue += $aArgs[$i - 1] / pow(1 + $rate, $i); - } - } - - // Return - return $returnValue; - } // function NPV() - - /** - * PMT - * - * Returns the constant payment (annuity) for a cash flow with a constant interest rate. - * - * @param float $rate Interest rate per period - * @param int $nper Number of periods - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function PMT($rate = 0, $nper = 0, $pv = 0, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - return (-$fv - $pv * pow(1 + $rate, $nper)) / (1 + $rate * $type) / ((pow(1 + $rate, $nper) - 1) / $rate); - } else { - return (-$pv - $fv) / $nper; - } - } // function PMT() - - - /** - * PPMT - * - * Returns the interest payment for a given period for an investment based on periodic, constant payments and a constant interest rate. - * - * @param float $rate Interest rate per period - * @param int $per Period for which we want to find the interest - * @param int $nper Number of periods - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function PPMT($rate, $per, $nper, $pv, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $per = (int) PHPExcel_Calculation_Functions::flattenSingleValue($per); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($per <= 0 || $per > $nper) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $interestAndPrincipal = self::_interestAndPrincipal($rate, $per, $nper, $pv, $fv, $type); - return $interestAndPrincipal[1]; - } // function PPMT() - - - public static function PRICE($settlement, $maturity, $rate, $yield, $redemption, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $rate = (float) PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $yield = (float) PHPExcel_Calculation_Functions::flattenSingleValue($yield); - $redemption = (float) PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $dsc = self::COUPDAYSNC($settlement, $maturity, $frequency, $basis); - $e = self::COUPDAYS($settlement, $maturity, $frequency, $basis); - $n = self::COUPNUM($settlement, $maturity, $frequency, $basis); - $a = self::COUPDAYBS($settlement, $maturity, $frequency, $basis); - - $baseYF = 1.0 + ($yield / $frequency); - $rfp = 100 * ($rate / $frequency); - $de = $dsc / $e; - - $result = $redemption / pow($baseYF, (--$n + $de)); - for($k = 0; $k <= $n; ++$k) { - $result += $rfp / (pow($baseYF, ($k + $de))); - } - $result -= $rfp * ($a / $e); - - return $result; - } // function PRICE() - - - /** - * PRICEDISC - * - * Returns the price per $100 face value of a discounted security. - * - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param int discount The security's discount rate. - * @param int redemption The security's redemption value per $100 face value. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function PRICEDISC($settlement, $maturity, $discount, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $discount = (float) PHPExcel_Calculation_Functions::flattenSingleValue($discount); - $redemption = (float) PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($discount)) && (is_numeric($redemption)) && (is_numeric($basis))) { - if (($discount <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return $redemption * (1 - $discount * $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PRICEDISC() - - - /** - * PRICEMAT - * - * Returns the price per $100 face value of a security that pays interest at maturity. - * - * @param mixed settlement The security's settlement date. - * The security's settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed issue The security's issue date. - * @param int rate The security's interest rate at date of issue. - * @param int yield The security's annual yield. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function PRICEMAT($settlement, $maturity, $issue, $rate, $yield, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $yield = PHPExcel_Calculation_Functions::flattenSingleValue($yield); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if (is_numeric($rate) && is_numeric($yield)) { - if (($rate <= 0) || ($yield <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - if (!is_numeric($daysPerYear)) { - return $daysPerYear; - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - $daysBetweenIssueAndSettlement *= $daysPerYear; - $daysBetweenIssueAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $maturity, $basis); - if (!is_numeric($daysBetweenIssueAndMaturity)) { - // return date error - return $daysBetweenIssueAndMaturity; - } - $daysBetweenIssueAndMaturity *= $daysPerYear; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - $daysBetweenSettlementAndMaturity *= $daysPerYear; - - return ((100 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate * 100)) / - (1 + (($daysBetweenSettlementAndMaturity / $daysPerYear) * $yield)) - - (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate * 100)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PRICEMAT() - - - /** - * PV - * - * Returns the Present Value of a cash flow with constant payments and interest rate (annuities). - * - * @param float $rate Interest rate per period - * @param int $nper Number of periods - * @param float $pmt Periodic payment (annuity) - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function PV($rate = 0, $nper = 0, $pmt = 0, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - return (-$pmt * (1 + $rate * $type) * ((pow(1 + $rate, $nper) - 1) / $rate) - $fv) / pow(1 + $rate, $nper); - } else { - return -$fv - $pmt * $nper; - } - } // function PV() - - - /** - * RATE - * - * Returns the interest rate per period of an annuity. - * RATE is calculated by iteration and can have zero or more solutions. - * If the successive results of RATE do not converge to within 0.0000001 after 20 iterations, - * RATE returns the #NUM! error value. - * - * Excel Function: - * RATE(nper,pmt,pv[,fv[,type[,guess]]]) - * - * @access public - * @category Financial Functions - * @param float nper The total number of payment periods in an annuity. - * @param float pmt The payment made each period and cannot change over the life - * of the annuity. - * Typically, pmt includes principal and interest but no other - * fees or taxes. - * @param float pv The present value - the total amount that a series of future - * payments is worth now. - * @param float fv The future value, or a cash balance you want to attain after - * the last payment is made. If fv is omitted, it is assumed - * to be 0 (the future value of a loan, for example, is 0). - * @param integer type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @param float guess Your guess for what the rate will be. - * If you omit guess, it is assumed to be 10 percent. - * @return float - **/ - public static function RATE($nper, $pmt, $pv, $fv = 0.0, $type = 0, $guess = 0.1) { - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = (is_null($fv)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = (is_null($type)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - $guess = (is_null($guess)) ? 0.1 : PHPExcel_Calculation_Functions::flattenSingleValue($guess); - - $rate = $guess; - if (abs($rate) < FINANCIAL_PRECISION) { - $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv; - } else { - $f = exp($nper * log(1 + $rate)); - $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv; - } - $y0 = $pv + $pmt * $nper + $fv; - $y1 = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv; - - // find root by secant method - $i = $x0 = 0.0; - $x1 = $rate; - while ((abs($y0 - $y1) > FINANCIAL_PRECISION) && ($i < FINANCIAL_MAX_ITERATIONS)) { - $rate = ($y1 * $x0 - $y0 * $x1) / ($y1 - $y0); - $x0 = $x1; - $x1 = $rate; - if (($nper * abs($pmt)) > ($pv - $fv)) - $x1 = abs($x1); - - if (abs($rate) < FINANCIAL_PRECISION) { - $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv; - } else { - $f = exp($nper * log(1 + $rate)); - $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv; - } - - $y0 = $y1; - $y1 = $y; - ++$i; - } - return $rate; - } // function RATE() - - - /** - * RECEIVED - * - * Returns the price per $100 face value of a discounted security. - * - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param int investment The amount invested in the security. - * @param int discount The security's discount rate. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function RECEIVED($settlement, $maturity, $investment, $discount, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $investment = (float) PHPExcel_Calculation_Functions::flattenSingleValue($investment); - $discount = (float) PHPExcel_Calculation_Functions::flattenSingleValue($discount); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($investment)) && (is_numeric($discount)) && (is_numeric($basis))) { - if (($investment <= 0) || ($discount <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return $investment / ( 1 - ($discount * $daysBetweenSettlementAndMaturity)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function RECEIVED() - - - /** - * SLN - * - * Returns the straight-line depreciation of an asset for one period - * - * @param cost Initial cost of the asset - * @param salvage Value at the end of the depreciation - * @param life Number of periods over which the asset is depreciated - * @return float - */ - public static function SLN($cost, $salvage, $life) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - - // Calculate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life))) { - if ($life < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return ($cost - $salvage) / $life; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SLN() - - - /** - * SYD - * - * Returns the sum-of-years' digits depreciation of an asset for a specified period. - * - * @param cost Initial cost of the asset - * @param salvage Value at the end of the depreciation - * @param life Number of periods over which the asset is depreciated - * @param period Period - * @return float - */ - public static function SYD($cost, $salvage, $life, $period) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - - // Calculate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period))) { - if (($life < 1) || ($period > $life)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return (($cost - $salvage) * ($life - $period + 1) * 2) / ($life * ($life + 1)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SYD() - - - /** - * TBILLEQ - * - * Returns the bond-equivalent yield for a Treasury bill. - * - * @param mixed settlement The Treasury bill's settlement date. - * The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer. - * @param mixed maturity The Treasury bill's maturity date. - * The maturity date is the date when the Treasury bill expires. - * @param int discount The Treasury bill's discount rate. - * @return float - */ - public static function TBILLEQ($settlement, $maturity, $discount) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $discount = PHPExcel_Calculation_Functions::flattenSingleValue($discount); - - // Use TBILLPRICE for validation - $testValue = self::TBILLPRICE($settlement, $maturity, $discount); - if (is_string($testValue)) { - return $testValue; - } - - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - ++$maturity; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360; - } else { - $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::_getDateValue($maturity) - PHPExcel_Calculation_DateTime::_getDateValue($settlement)); - } - - return (365 * $discount) / (360 - $discount * $daysBetweenSettlementAndMaturity); - } // function TBILLEQ() - - - /** - * TBILLPRICE - * - * Returns the yield for a Treasury bill. - * - * @param mixed settlement The Treasury bill's settlement date. - * The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer. - * @param mixed maturity The Treasury bill's maturity date. - * The maturity date is the date when the Treasury bill expires. - * @param int discount The Treasury bill's discount rate. - * @return float - */ - public static function TBILLPRICE($settlement, $maturity, $discount) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $discount = PHPExcel_Calculation_Functions::flattenSingleValue($discount); - - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Validate - if (is_numeric($discount)) { - if ($discount <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - ++$maturity; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360; - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - } else { - $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::_getDateValue($maturity) - PHPExcel_Calculation_DateTime::_getDateValue($settlement)); - } - - if ($daysBetweenSettlementAndMaturity > 360) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $price = 100 * (1 - (($discount * $daysBetweenSettlementAndMaturity) / 360)); - if ($price <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return $price; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TBILLPRICE() - - - /** - * TBILLYIELD - * - * Returns the yield for a Treasury bill. - * - * @param mixed settlement The Treasury bill's settlement date. - * The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer. - * @param mixed maturity The Treasury bill's maturity date. - * The maturity date is the date when the Treasury bill expires. - * @param int price The Treasury bill's price per $100 face value. - * @return float - */ - public static function TBILLYIELD($settlement, $maturity, $price) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - - // Validate - if (is_numeric($price)) { - if ($price <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - ++$maturity; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360; - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - } else { - $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::_getDateValue($maturity) - PHPExcel_Calculation_DateTime::_getDateValue($settlement)); - } - - if ($daysBetweenSettlementAndMaturity > 360) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return ((100 - $price) / $price) * (360 / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TBILLYIELD() - - - public static function XIRR($values, $dates, $guess = 0.1) { - if ((!is_array($values)) && (!is_array($dates))) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $dates = PHPExcel_Calculation_Functions::flattenArray($dates); - $guess = PHPExcel_Calculation_Functions::flattenSingleValue($guess); - if (count($values) != count($dates)) return PHPExcel_Calculation_Functions::NaN(); - - // create an initial range, with a root somewhere between 0 and guess - $x1 = 0.0; - $x2 = $guess; - $f1 = self::XNPV($x1, $values, $dates); - $f2 = self::XNPV($x2, $values, $dates); - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - if (($f1 * $f2) < 0.0) break; - if (abs($f1) < abs($f2)) { - $f1 = self::XNPV($x1 += 1.6 * ($x1 - $x2), $values, $dates); - } else { - $f2 = self::XNPV($x2 += 1.6 * ($x2 - $x1), $values, $dates); - } - } - if (($f1 * $f2) > 0.0) return PHPExcel_Calculation_Functions::VALUE(); - - $f = self::XNPV($x1, $values, $dates); - if ($f < 0.0) { - $rtb = $x1; - $dx = $x2 - $x1; - } else { - $rtb = $x2; - $dx = $x1 - $x2; - } - - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - $dx *= 0.5; - $x_mid = $rtb + $dx; - $f_mid = self::XNPV($x_mid, $values, $dates); - if ($f_mid <= 0.0) $rtb = $x_mid; - if ((abs($f_mid) < FINANCIAL_PRECISION) || (abs($dx) < FINANCIAL_PRECISION)) return $x_mid; - } - return PHPExcel_Calculation_Functions::VALUE(); - } - - - /** - * XNPV - * - * Returns the net present value for a schedule of cash flows that is not necessarily periodic. - * To calculate the net present value for a series of cash flows that is periodic, use the NPV function. - * - * Excel Function: - * =XNPV(rate,values,dates) - * - * @param float $rate The discount rate to apply to the cash flows. - * @param array of float $values A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive value and one negative value. - * @param array of mixed $dates A schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in any order. - * @return float - */ - public static function XNPV($rate, $values, $dates) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - if (!is_numeric($rate)) return PHPExcel_Calculation_Functions::VALUE(); - if ((!is_array($values)) || (!is_array($dates))) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $dates = PHPExcel_Calculation_Functions::flattenArray($dates); - $valCount = count($values); - if ($valCount != count($dates)) return PHPExcel_Calculation_Functions::NaN(); - if ((min($values) > 0) || (max($values) < 0)) return PHPExcel_Calculation_Functions::VALUE(); - - $xnpv = 0.0; - for ($i = 0; $i < $valCount; ++$i) { - if (!is_numeric($values[$i])) return PHPExcel_Calculation_Functions::VALUE(); - $xnpv += $values[$i] / pow(1 + $rate, PHPExcel_Calculation_DateTime::DATEDIF($dates[0],$dates[$i],'d') / 365); - } - return (is_finite($xnpv)) ? $xnpv : PHPExcel_Calculation_Functions::VALUE(); - } // function XNPV() - - - /** - * YIELDDISC - * - * Returns the annual yield of a security that pays interest at maturity. - * - * @param mixed settlement The security's settlement date. - * The security's settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param int price The security's price per $100 face value. - * @param int redemption The security's redemption value per $100 face value. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function YIELDDISC($settlement, $maturity, $price, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - $redemption = PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if (is_numeric($price) && is_numeric($redemption)) { - if (($price <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - if (!is_numeric($daysPerYear)) { - return $daysPerYear; - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity,$basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - $daysBetweenSettlementAndMaturity *= $daysPerYear; - - return (($redemption - $price) / $price) * ($daysPerYear / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function YIELDDISC() - - - /** - * YIELDMAT - * - * Returns the annual yield of a security that pays interest at maturity. - * - * @param mixed settlement The security's settlement date. - * The security's settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed issue The security's issue date. - * @param int rate The security's interest rate at date of issue. - * @param int price The security's price per $100 face value. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function YIELDMAT($settlement, $maturity, $issue, $rate, $price, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if (is_numeric($rate) && is_numeric($price)) { - if (($rate <= 0) || ($price <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - if (!is_numeric($daysPerYear)) { - return $daysPerYear; - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - $daysBetweenIssueAndSettlement *= $daysPerYear; - $daysBetweenIssueAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $maturity, $basis); - if (!is_numeric($daysBetweenIssueAndMaturity)) { - // return date error - return $daysBetweenIssueAndMaturity; - } - $daysBetweenIssueAndMaturity *= $daysPerYear; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - $daysBetweenSettlementAndMaturity *= $daysPerYear; - - return ((1 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate) - (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) / - (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) * - ($daysPerYear / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function YIELDMAT() - -} // class PHPExcel_Calculation_Financial diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/FormulaParser.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/FormulaParser.php deleted file mode 100644 index 3884fd20a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/FormulaParser.php +++ /dev/null @@ -1,614 +0,0 @@ -<"; - const OPERATORS_POSTFIX = "%"; - - /** - * Formula - * - * @var string - */ - private $_formula; - - /** - * Tokens - * - * @var PHPExcel_Calculation_FormulaToken[] - */ - private $_tokens = array(); - - /** - * Create a new PHPExcel_Calculation_FormulaParser - * - * @param string $pFormula Formula to parse - * @throws PHPExcel_Calculation_Exception - */ - public function __construct($pFormula = '') - { - // Check parameters - if (is_null($pFormula)) { - throw new PHPExcel_Calculation_Exception("Invalid parameter passed: formula"); - } - - // Initialise values - $this->_formula = trim($pFormula); - // Parse! - $this->_parseToTokens(); - } - - /** - * Get Formula - * - * @return string - */ - public function getFormula() { - return $this->_formula; - } - - /** - * Get Token - * - * @param int $pId Token id - * @return string - * @throws PHPExcel_Calculation_Exception - */ - public function getToken($pId = 0) { - if (isset($this->_tokens[$pId])) { - return $this->_tokens[$pId]; - } else { - throw new PHPExcel_Calculation_Exception("Token with id $pId does not exist."); - } - } - - /** - * Get Token count - * - * @return string - */ - public function getTokenCount() { - return count($this->_tokens); - } - - /** - * Get Tokens - * - * @return PHPExcel_Calculation_FormulaToken[] - */ - public function getTokens() { - return $this->_tokens; - } - - /** - * Parse to tokens - */ - private function _parseToTokens() { - // No attempt is made to verify formulas; assumes formulas are derived from Excel, where - // they can only exist if valid; stack overflows/underflows sunk as nulls without exceptions. - - // Check if the formula has a valid starting = - $formulaLength = strlen($this->_formula); - if ($formulaLength < 2 || $this->_formula{0} != '=') return; - - // Helper variables - $tokens1 = $tokens2 = $stack = array(); - $inString = $inPath = $inRange = $inError = false; - $token = $previousToken = $nextToken = null; - - $index = 1; - $value = ''; - - $ERRORS = array("#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"); - $COMPARATORS_MULTI = array(">=", "<=", "<>"); - - while ($index < $formulaLength) { - // state-dependent character evaluation (order is important) - - // double-quoted strings - // embeds are doubled - // end marks token - if ($inString) { - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE) { - if ((($index + 2) <= $formulaLength) && ($this->_formula{$index + 1} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE)) { - $value .= PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE; - ++$index; - } else { - $inString = false; - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_TEXT); - $value = ""; - } - } else { - $value .= $this->_formula{$index}; - } - ++$index; - continue; - } - - // single-quoted strings (links) - // embeds are double - // end does not mark a token - if ($inPath) { - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE) { - if ((($index + 2) <= $formulaLength) && ($this->_formula{$index + 1} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE)) { - $value .= PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE; - ++$index; - } else { - $inPath = false; - } - } else { - $value .= $this->_formula{$index}; - } - ++$index; - continue; - } - - // bracked strings (R1C1 range index or linked workbook name) - // no embeds (changed to "()" by Excel) - // end does not mark a token - if ($inRange) { - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACKET_CLOSE) { - $inRange = false; - } - $value .= $this->_formula{$index}; - ++$index; - continue; - } - - // error values - // end marks a token, determined from absolute list of values - if ($inError) { - $value .= $this->_formula{$index}; - ++$index; - if (in_array($value, $ERRORS)) { - $inError = false; - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_ERROR); - $value = ""; - } - continue; - } - - // scientific notation check - if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_SN, $this->_formula{$index}) !== false) { - if (strlen($value) > 1) { - if (preg_match("/^[1-9]{1}(\.[0-9]+)?E{1}$/", $this->_formula{$index}) != 0) { - $value .= $this->_formula{$index}; - ++$index; - continue; - } - } - } - - // independent character evaluation (order not important) - - // establish state-dependent character evaluations - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE) { - if (strlen($value > 0)) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - $inString = true; - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE) { - if (strlen($value) > 0) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - $inPath = true; - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACKET_OPEN) { - $inRange = true; - $value .= PHPExcel_Calculation_FormulaParser::BRACKET_OPEN; - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::ERROR_START) { - if (strlen($value) > 0) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - $inError = true; - $value .= PHPExcel_Calculation_FormulaParser::ERROR_START; - ++$index; - continue; - } - - // mark start and end of arrays and array rows - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACE_OPEN) { - if (strlen($value) > 0) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - - $tmp = new PHPExcel_Calculation_FormulaToken("ARRAY", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - - $tmp = new PHPExcel_Calculation_FormulaToken("ARRAYROW", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::SEMICOLON) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - $tmp = new PHPExcel_Calculation_FormulaToken(",", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_ARGUMENT); - $tokens1[] = $tmp; - - $tmp = new PHPExcel_Calculation_FormulaToken("ARRAYROW", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACE_CLOSE) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - ++$index; - continue; - } - - // trim white-space - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::WHITESPACE) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken("", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_WHITESPACE); - ++$index; - while (($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::WHITESPACE) && ($index < $formulaLength)) { - ++$index; - } - continue; - } - - // multi-character comparators - if (($index + 2) <= $formulaLength) { - if (in_array(substr($this->_formula, $index, 2), $COMPARATORS_MULTI)) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken(substr($this->_formula, $index, 2), PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL); - $index += 2; - continue; - } - } - - // standard infix operators - if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_INFIX, $this->_formula{$index}) !== false) { - if (strlen($value) > 0) { - $tokens1[] =new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken($this->_formula{$index}, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX); - ++$index; - continue; - } - - // standard postfix operators (only one) - if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_POSTFIX, $this->_formula{$index}) !== false) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken($this->_formula{$index}, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX); - ++$index; - continue; - } - - // start subexpression or function - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::PAREN_OPEN) { - if (strlen($value) > 0) { - $tmp = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - $value = ""; - } else { - $tmp = new PHPExcel_Calculation_FormulaToken("", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - } - ++$index; - continue; - } - - // function, subexpression, or array parameters, or operand unions - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::COMMA) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $stack[] = $tmp; - - if ($tmp->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken(",", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_UNION); - } else { - $tokens1[] = new PHPExcel_Calculation_FormulaToken(",", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_ARGUMENT); - } - ++$index; - continue; - } - - // stop subexpression - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::PAREN_CLOSE) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - ++$index; - continue; - } - - // token accumulation - $value .= $this->_formula{$index}; - ++$index; - } - - // dump remaining accumulation - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - } - - // move tokenList to new set, excluding unnecessary white-space tokens and converting necessary ones to intersections - $tokenCount = count($tokens1); - for ($i = 0; $i < $tokenCount; ++$i) { - $token = $tokens1[$i]; - if (isset($tokens1[$i - 1])) { - $previousToken = $tokens1[$i - 1]; - } else { - $previousToken = null; - } - if (isset($tokens1[$i + 1])) { - $nextToken = $tokens1[$i + 1]; - } else { - $nextToken = null; - } - - if (is_null($token)) { - continue; - } - - if ($token->getTokenType() != PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_WHITESPACE) { - $tokens2[] = $token; - continue; - } - - if (is_null($previousToken)) { - continue; - } - - if (! ( - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) ) { - continue; - } - - if (is_null($nextToken)) { - continue; - } - - if (! ( - (($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($nextToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START)) || - (($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($nextToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START)) || - ($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) ) { - continue; - } - - $tokens2[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_INTERSECTION); - } - - // move tokens to final list, switching infix "-" operators to prefix when appropriate, switching infix "+" operators - // to noop when appropriate, identifying operand and infix-operator subtypes, and pulling "@" from function names - $this->_tokens = array(); - - $tokenCount = count($tokens2); - for ($i = 0; $i < $tokenCount; ++$i) { - $token = $tokens2[$i]; - if (isset($tokens2[$i - 1])) { - $previousToken = $tokens2[$i - 1]; - } else { - $previousToken = null; - } - if (isset($tokens2[$i + 1])) { - $nextToken = $tokens2[$i + 1]; - } else { - $nextToken = null; - } - - if (is_null($token)) { - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == "-") { - if ($i == 0) { - $token->setTokenType(PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPREFIX); - } else if ( - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH); - } else { - $token->setTokenType(PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPREFIX); - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == "+") { - if ($i == 0) { - continue; - } else if ( - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH); - } else { - continue; - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) { - if (strpos("<>=", substr($token->getValue(), 0, 1)) !== false) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL); - } else if ($token->getValue() == "&") { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_CONCATENATION); - } else { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH); - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND && $token->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) { - if (!is_numeric($token->getValue())) { - if (strtoupper($token->getValue()) == "TRUE" || strtoupper($token->getValue() == "FALSE")) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL); - } else { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_RANGE); - } - } else { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NUMBER); - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) { - if (strlen($token->getValue() > 0)) { - if (substr($token->getValue(), 0, 1) == "@") { - $token->setValue(substr($token->getValue(), 1)); - } - } - } - - $this->_tokens[] = $token; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/FormulaToken.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/FormulaToken.php deleted file mode 100644 index ad10c00a2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/FormulaToken.php +++ /dev/null @@ -1,176 +0,0 @@ -_value = $pValue; - $this->_tokenType = $pTokenType; - $this->_tokenSubType = $pTokenSubType; - } - - /** - * Get Value - * - * @return string - */ - public function getValue() { - return $this->_value; - } - - /** - * Set Value - * - * @param string $value - */ - public function setValue($value) { - $this->_value = $value; - } - - /** - * Get Token Type (represented by TOKEN_TYPE_*) - * - * @return string - */ - public function getTokenType() { - return $this->_tokenType; - } - - /** - * Set Token Type - * - * @param string $value - */ - public function setTokenType($value = PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN) { - $this->_tokenType = $value; - } - - /** - * Get Token SubType (represented by TOKEN_SUBTYPE_*) - * - * @return string - */ - public function getTokenSubType() { - return $this->_tokenSubType; - } - - /** - * Set Token SubType - * - * @param string $value - */ - public function setTokenSubType($value = PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) { - $this->_tokenSubType = $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Function.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Function.php deleted file mode 100644 index 1301cd096..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Function.php +++ /dev/null @@ -1,149 +0,0 @@ -_category = $pCategory; - $this->_excelName = $pExcelName; - $this->_phpExcelName = $pPHPExcelName; - } else { - throw new PHPExcel_Calculation_Exception("Invalid parameters passed."); - } - } - - /** - * Get Category (represented by CATEGORY_*) - * - * @return string - */ - public function getCategory() { - return $this->_category; - } - - /** - * Set Category (represented by CATEGORY_*) - * - * @param string $value - * @throws PHPExcel_Calculation_Exception - */ - public function setCategory($value = null) { - if (!is_null($value)) { - $this->_category = $value; - } else { - throw new PHPExcel_Calculation_Exception("Invalid parameter passed."); - } - } - - /** - * Get Excel name - * - * @return string - */ - public function getExcelName() { - return $this->_excelName; - } - - /** - * Set Excel name - * - * @param string $value - */ - public function setExcelName($value) { - $this->_excelName = $value; - } - - /** - * Get PHPExcel name - * - * @return string - */ - public function getPHPExcelName() { - return $this->_phpExcelName; - } - - /** - * Set PHPExcel name - * - * @param string $value - */ - public function setPHPExcelName($value) { - $this->_phpExcelName = $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Functions.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Functions.php deleted file mode 100644 index 9a139ec79..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Functions.php +++ /dev/null @@ -1,725 +0,0 @@ - '#NULL!', - 'divisionbyzero' => '#DIV/0!', - 'value' => '#VALUE!', - 'reference' => '#REF!', - 'name' => '#NAME?', - 'num' => '#NUM!', - 'na' => '#N/A', - 'gettingdata' => '#GETTING_DATA' - ); - - - /** - * Set the Compatibility Mode - * - * @access public - * @category Function Configuration - * @param string $compatibilityMode Compatibility Mode - * Permitted values are: - * PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel' - * PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric' - * PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc' - * @return boolean (Success or Failure) - */ - public static function setCompatibilityMode($compatibilityMode) { - if (($compatibilityMode == self::COMPATIBILITY_EXCEL) || - ($compatibilityMode == self::COMPATIBILITY_GNUMERIC) || - ($compatibilityMode == self::COMPATIBILITY_OPENOFFICE)) { - self::$compatibilityMode = $compatibilityMode; - return True; - } - return False; - } // function setCompatibilityMode() - - - /** - * Return the current Compatibility Mode - * - * @access public - * @category Function Configuration - * @return string Compatibility Mode - * Possible Return values are: - * PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel' - * PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric' - * PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc' - */ - public static function getCompatibilityMode() { - return self::$compatibilityMode; - } // function getCompatibilityMode() - - - /** - * Set the Return Date Format used by functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object) - * - * @access public - * @category Function Configuration - * @param string $returnDateType Return Date Format - * Permitted values are: - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P' - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O' - * PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E' - * @return boolean Success or failure - */ - public static function setReturnDateType($returnDateType) { - if (($returnDateType == self::RETURNDATE_PHP_NUMERIC) || - ($returnDateType == self::RETURNDATE_PHP_OBJECT) || - ($returnDateType == self::RETURNDATE_EXCEL)) { - self::$ReturnDateType = $returnDateType; - return True; - } - return False; - } // function setReturnDateType() - - - /** - * Return the current Return Date Format for functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object) - * - * @access public - * @category Function Configuration - * @return string Return Date Format - * Possible Return values are: - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P' - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O' - * PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E' - */ - public static function getReturnDateType() { - return self::$ReturnDateType; - } // function getReturnDateType() - - - /** - * DUMMY - * - * @access public - * @category Error Returns - * @return string #Not Yet Implemented - */ - public static function DUMMY() { - return '#Not Yet Implemented'; - } // function DUMMY() - - - /** - * DIV0 - * - * @access public - * @category Error Returns - * @return string #Not Yet Implemented - */ - public static function DIV0() { - return self::$_errorCodes['divisionbyzero']; - } // function DIV0() - - - /** - * NA - * - * Excel Function: - * =NA() - * - * Returns the error value #N/A - * #N/A is the error value that means "no value is available." - * - * @access public - * @category Logical Functions - * @return string #N/A! - */ - public static function NA() { - return self::$_errorCodes['na']; - } // function NA() - - - /** - * NaN - * - * Returns the error value #NUM! - * - * @access public - * @category Error Returns - * @return string #NUM! - */ - public static function NaN() { - return self::$_errorCodes['num']; - } // function NaN() - - - /** - * NAME - * - * Returns the error value #NAME? - * - * @access public - * @category Error Returns - * @return string #NAME? - */ - public static function NAME() { - return self::$_errorCodes['name']; - } // function NAME() - - - /** - * REF - * - * Returns the error value #REF! - * - * @access public - * @category Error Returns - * @return string #REF! - */ - public static function REF() { - return self::$_errorCodes['reference']; - } // function REF() - - - /** - * NULL - * - * Returns the error value #NULL! - * - * @access public - * @category Error Returns - * @return string #NULL! - */ - public static function NULL() { - return self::$_errorCodes['null']; - } // function NULL() - - - /** - * VALUE - * - * Returns the error value #VALUE! - * - * @access public - * @category Error Returns - * @return string #VALUE! - */ - public static function VALUE() { - return self::$_errorCodes['value']; - } // function VALUE() - - - public static function isMatrixValue($idx) { - return ((substr_count($idx,'.') <= 1) || (preg_match('/\.[A-Z]/',$idx) > 0)); - } - - - public static function isValue($idx) { - return (substr_count($idx,'.') == 0); - } - - - public static function isCellValue($idx) { - return (substr_count($idx,'.') > 1); - } - - - public static function _ifCondition($condition) { - $condition = PHPExcel_Calculation_Functions::flattenSingleValue($condition); - if (!isset($condition{0})) - $condition = '=""'; - if (!in_array($condition{0},array('>', '<', '='))) { - if (!is_numeric($condition)) { $condition = PHPExcel_Calculation::_wrapResult(strtoupper($condition)); } - return '='.$condition; - } else { - preg_match('/([<>=]+)(.*)/',$condition,$matches); - list(,$operator,$operand) = $matches; - - if (!is_numeric($operand)) { - $operand = str_replace('"', '""', $operand); - $operand = PHPExcel_Calculation::_wrapResult(strtoupper($operand)); - } - - return $operator.$operand; - } - } // function _ifCondition() - - - /** - * ERROR_TYPE - * - * @param mixed $value Value to check - * @return boolean - */ - public static function ERROR_TYPE($value = '') { - $value = self::flattenSingleValue($value); - - $i = 1; - foreach(self::$_errorCodes as $errorCode) { - if ($value === $errorCode) { - return $i; - } - ++$i; - } - return self::NA(); - } // function ERROR_TYPE() - - - /** - * IS_BLANK - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_BLANK($value = NULL) { - if (!is_null($value)) { - $value = self::flattenSingleValue($value); - } - - return is_null($value); - } // function IS_BLANK() - - - /** - * IS_ERR - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_ERR($value = '') { - $value = self::flattenSingleValue($value); - - return self::IS_ERROR($value) && (!self::IS_NA($value)); - } // function IS_ERR() - - - /** - * IS_ERROR - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_ERROR($value = '') { - $value = self::flattenSingleValue($value); - - if (!is_string($value)) - return false; - return in_array($value, array_values(self::$_errorCodes)); - } // function IS_ERROR() - - - /** - * IS_NA - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_NA($value = '') { - $value = self::flattenSingleValue($value); - - return ($value === self::NA()); - } // function IS_NA() - - - /** - * IS_EVEN - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_EVEN($value = NULL) { - $value = self::flattenSingleValue($value); - - if ($value === NULL) - return self::NAME(); - if ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) - return self::VALUE(); - return ($value % 2 == 0); - } // function IS_EVEN() - - - /** - * IS_ODD - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_ODD($value = NULL) { - $value = self::flattenSingleValue($value); - - if ($value === NULL) - return self::NAME(); - if ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) - return self::VALUE(); - return (abs($value) % 2 == 1); - } // function IS_ODD() - - - /** - * IS_NUMBER - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_NUMBER($value = NULL) { - $value = self::flattenSingleValue($value); - - if (is_string($value)) { - return False; - } - return is_numeric($value); - } // function IS_NUMBER() - - - /** - * IS_LOGICAL - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_LOGICAL($value = NULL) { - $value = self::flattenSingleValue($value); - - return is_bool($value); - } // function IS_LOGICAL() - - - /** - * IS_TEXT - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_TEXT($value = NULL) { - $value = self::flattenSingleValue($value); - - return (is_string($value) && !self::IS_ERROR($value)); - } // function IS_TEXT() - - - /** - * IS_NONTEXT - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_NONTEXT($value = NULL) { - return !self::IS_TEXT($value); - } // function IS_NONTEXT() - - - /** - * VERSION - * - * @return string Version information - */ - public static function VERSION() { - return 'PHPExcel ##VERSION##, ##DATE##'; - } // function VERSION() - - - /** - * N - * - * Returns a value converted to a number - * - * @param value The value you want converted - * @return number N converts values listed in the following table - * If value is or refers to N returns - * A number That number - * A date The serial number of that date - * TRUE 1 - * FALSE 0 - * An error value The error value - * Anything else 0 - */ - public static function N($value = NULL) { - while (is_array($value)) { - $value = array_shift($value); - } - - switch (gettype($value)) { - case 'double' : - case 'float' : - case 'integer' : - return $value; - break; - case 'boolean' : - return (integer) $value; - break; - case 'string' : - // Errors - if ((strlen($value) > 0) && ($value{0} == '#')) { - return $value; - } - break; - } - return 0; - } // function N() - - - /** - * TYPE - * - * Returns a number that identifies the type of a value - * - * @param value The value you want tested - * @return number N converts values listed in the following table - * If value is or refers to N returns - * A number 1 - * Text 2 - * Logical Value 4 - * An error value 16 - * Array or Matrix 64 - */ - public static function TYPE($value = NULL) { - $value = self::flattenArrayIndexed($value); - if (is_array($value) && (count($value) > 1)) { - $a = array_keys($value); - $a = array_pop($a); - // Range of cells is an error - if (self::isCellValue($a)) { - return 16; - // Test for Matrix - } elseif (self::isMatrixValue($a)) { - return 64; - } - } elseif(empty($value)) { - // Empty Cell - return 1; - } - $value = self::flattenSingleValue($value); - - if (($value === NULL) || (is_float($value)) || (is_int($value))) { - return 1; - } elseif(is_bool($value)) { - return 4; - } elseif(is_array($value)) { - return 64; - } elseif(is_string($value)) { - // Errors - if ((strlen($value) > 0) && ($value{0} == '#')) { - return 16; - } - return 2; - } - return 0; - } // function TYPE() - - - /** - * Convert a multi-dimensional array to a simple 1-dimensional array - * - * @param array $array Array to be flattened - * @return array Flattened array - */ - public static function flattenArray($array) { - if (!is_array($array)) { - return (array) $array; - } - - $arrayValues = array(); - foreach ($array as $value) { - if (is_array($value)) { - foreach ($value as $val) { - if (is_array($val)) { - foreach ($val as $v) { - $arrayValues[] = $v; - } - } else { - $arrayValues[] = $val; - } - } - } else { - $arrayValues[] = $value; - } - } - - return $arrayValues; - } // function flattenArray() - - - /** - * Convert a multi-dimensional array to a simple 1-dimensional array, but retain an element of indexing - * - * @param array $array Array to be flattened - * @return array Flattened array - */ - public static function flattenArrayIndexed($array) { - if (!is_array($array)) { - return (array) $array; - } - - $arrayValues = array(); - foreach ($array as $k1 => $value) { - if (is_array($value)) { - foreach ($value as $k2 => $val) { - if (is_array($val)) { - foreach ($val as $k3 => $v) { - $arrayValues[$k1.'.'.$k2.'.'.$k3] = $v; - } - } else { - $arrayValues[$k1.'.'.$k2] = $val; - } - } - } else { - $arrayValues[$k1] = $value; - } - } - - return $arrayValues; - } // function flattenArrayIndexed() - - - /** - * Convert an array to a single scalar value by extracting the first element - * - * @param mixed $value Array or scalar value - * @return mixed - */ - public static function flattenSingleValue($value = '') { - while (is_array($value)) { - $value = array_pop($value); - } - - return $value; - } // function flattenSingleValue() - -} // class PHPExcel_Calculation_Functions - - -// -// There are a few mathematical functions that aren't available on all versions of PHP for all platforms -// These functions aren't available in Windows implementations of PHP prior to version 5.3.0 -// So we test if they do exist for this version of PHP/operating platform; and if not we create them -// -if (!function_exists('acosh')) { - function acosh($x) { - return 2 * log(sqrt(($x + 1) / 2) + sqrt(($x - 1) / 2)); - } // function acosh() -} - -if (!function_exists('asinh')) { - function asinh($x) { - return log($x + sqrt(1 + $x * $x)); - } // function asinh() -} - -if (!function_exists('atanh')) { - function atanh($x) { - return (log(1 + $x) - log(1 - $x)) / 2; - } // function atanh() -} - - -// -// Strangely, PHP doesn't have a mb_str_replace multibyte function -// As we'll only ever use this function with UTF-8 characters, we can simply "hard-code" the character set -// -if ((!function_exists('mb_str_replace')) && - (function_exists('mb_substr')) && (function_exists('mb_strlen')) && (function_exists('mb_strpos'))) { - function mb_str_replace($search, $replace, $subject) { - if(is_array($subject)) { - $ret = array(); - foreach($subject as $key => $val) { - $ret[$key] = mb_str_replace($search, $replace, $val); - } - return $ret; - } - - foreach((array) $search as $key => $s) { - if($s == '') { - continue; - } - $r = !is_array($replace) ? $replace : (array_key_exists($key, $replace) ? $replace[$key] : ''); - $pos = mb_strpos($subject, $s, 0, 'UTF-8'); - while($pos !== false) { - $subject = mb_substr($subject, 0, $pos, 'UTF-8') . $r . mb_substr($subject, $pos + mb_strlen($s, 'UTF-8'), 65535, 'UTF-8'); - $pos = mb_strpos($subject, $s, $pos + mb_strlen($r, 'UTF-8'), 'UTF-8'); - } - } - return $subject; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Logical.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Logical.php deleted file mode 100644 index 48fdb17f4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Logical.php +++ /dev/null @@ -1,288 +0,0 @@ - $arg) { - // Is it a boolean value? - if (is_bool($arg)) { - $returnValue = $returnValue && $arg; - } elseif ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue = $returnValue && ($arg != 0); - } elseif (is_string($arg)) { - $arg = strtoupper($arg); - if (($arg == 'TRUE') || ($arg == PHPExcel_Calculation::getTRUE())) { - $arg = TRUE; - } elseif (($arg == 'FALSE') || ($arg == PHPExcel_Calculation::getFALSE())) { - $arg = FALSE; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $returnValue = $returnValue && ($arg != 0); - } - } - - // Return - if ($argCount < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - return $returnValue; - } // function LOGICAL_AND() - - - /** - * LOGICAL_OR - * - * Returns boolean TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE. - * - * Excel Function: - * =OR(logical1[,logical2[, ...]]) - * - * The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays - * or references that contain logical values. - * - * Boolean arguments are treated as True or False as appropriate - * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False - * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds - * the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value - * - * @access public - * @category Logical Functions - * @param mixed $arg,... Data values - * @return boolean The logical OR of the arguments. - */ - public static function LOGICAL_OR() { - // Return value - $returnValue = FALSE; - - // Loop through the arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $argCount = -1; - foreach ($aArgs as $argCount => $arg) { - // Is it a boolean value? - if (is_bool($arg)) { - $returnValue = $returnValue || $arg; - } elseif ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue = $returnValue || ($arg != 0); - } elseif (is_string($arg)) { - $arg = strtoupper($arg); - if (($arg == 'TRUE') || ($arg == PHPExcel_Calculation::getTRUE())) { - $arg = TRUE; - } elseif (($arg == 'FALSE') || ($arg == PHPExcel_Calculation::getFALSE())) { - $arg = FALSE; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $returnValue = $returnValue || ($arg != 0); - } - } - - // Return - if ($argCount < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - return $returnValue; - } // function LOGICAL_OR() - - - /** - * NOT - * - * Returns the boolean inverse of the argument. - * - * Excel Function: - * =NOT(logical) - * - * The argument must evaluate to a logical value such as TRUE or FALSE - * - * Boolean arguments are treated as True or False as appropriate - * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False - * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds - * the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value - * - * @access public - * @category Logical Functions - * @param mixed $logical A value or expression that can be evaluated to TRUE or FALSE - * @return boolean The boolean inverse of the argument. - */ - public static function NOT($logical=FALSE) { - $logical = PHPExcel_Calculation_Functions::flattenSingleValue($logical); - if (is_string($logical)) { - $logical = strtoupper($logical); - if (($logical == 'TRUE') || ($logical == PHPExcel_Calculation::getTRUE())) { - return FALSE; - } elseif (($logical == 'FALSE') || ($logical == PHPExcel_Calculation::getFALSE())) { - return TRUE; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - - return !$logical; - } // function NOT() - - /** - * STATEMENT_IF - * - * Returns one value if a condition you specify evaluates to TRUE and another value if it evaluates to FALSE. - * - * Excel Function: - * =IF(condition[,returnIfTrue[,returnIfFalse]]) - * - * Condition is any value or expression that can be evaluated to TRUE or FALSE. - * For example, A10=100 is a logical expression; if the value in cell A10 is equal to 100, - * the expression evaluates to TRUE. Otherwise, the expression evaluates to FALSE. - * This argument can use any comparison calculation operator. - * ReturnIfTrue is the value that is returned if condition evaluates to TRUE. - * For example, if this argument is the text string "Within budget" and the condition argument evaluates to TRUE, - * then the IF function returns the text "Within budget" - * If condition is TRUE and ReturnIfTrue is blank, this argument returns 0 (zero). To display the word TRUE, use - * the logical value TRUE for this argument. - * ReturnIfTrue can be another formula. - * ReturnIfFalse is the value that is returned if condition evaluates to FALSE. - * For example, if this argument is the text string "Over budget" and the condition argument evaluates to FALSE, - * then the IF function returns the text "Over budget". - * If condition is FALSE and ReturnIfFalse is omitted, then the logical value FALSE is returned. - * If condition is FALSE and ReturnIfFalse is blank, then the value 0 (zero) is returned. - * ReturnIfFalse can be another formula. - * - * @access public - * @category Logical Functions - * @param mixed $condition Condition to evaluate - * @param mixed $returnIfTrue Value to return when condition is true - * @param mixed $returnIfFalse Optional value to return when condition is false - * @return mixed The value of returnIfTrue or returnIfFalse determined by condition - */ - public static function STATEMENT_IF($condition = TRUE, $returnIfTrue = 0, $returnIfFalse = FALSE) { - $condition = (is_null($condition)) ? TRUE : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($condition); - $returnIfTrue = (is_null($returnIfTrue)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfTrue); - $returnIfFalse = (is_null($returnIfFalse)) ? FALSE : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfFalse); - - return ($condition) ? $returnIfTrue : $returnIfFalse; - } // function STATEMENT_IF() - - - /** - * IFERROR - * - * Excel Function: - * =IFERROR(testValue,errorpart) - * - * @access public - * @category Logical Functions - * @param mixed $testValue Value to check, is also the value returned when no error - * @param mixed $errorpart Value to return when testValue is an error condition - * @return mixed The value of errorpart or testValue determined by error condition - */ - public static function IFERROR($testValue = '', $errorpart = '') { - $testValue = (is_null($testValue)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($testValue); - $errorpart = (is_null($errorpart)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($errorpart); - - return self::STATEMENT_IF(PHPExcel_Calculation_Functions::IS_ERROR($testValue), $errorpart, $testValue); - } // function IFERROR() - -} // class PHPExcel_Calculation_Logical diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/LookupRef.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/LookupRef.php deleted file mode 100644 index 94f42e5f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/LookupRef.php +++ /dev/null @@ -1,881 +0,0 @@ - '') { - if (strpos($sheetText,' ') !== False) { $sheetText = "'".$sheetText."'"; } - $sheetText .='!'; - } - if ((!is_bool($referenceStyle)) || $referenceStyle) { - $rowRelative = $columnRelative = '$'; - $column = PHPExcel_Cell::stringFromColumnIndex($column-1); - if (($relativity == 2) || ($relativity == 4)) { $columnRelative = ''; } - if (($relativity == 3) || ($relativity == 4)) { $rowRelative = ''; } - return $sheetText.$columnRelative.$column.$rowRelative.$row; - } else { - if (($relativity == 2) || ($relativity == 4)) { $column = '['.$column.']'; } - if (($relativity == 3) || ($relativity == 4)) { $row = '['.$row.']'; } - return $sheetText.'R'.$row.'C'.$column; - } - } // function CELL_ADDRESS() - - - /** - * COLUMN - * - * Returns the column number of the given cell reference - * If the cell reference is a range of cells, COLUMN returns the column numbers of each column in the reference as a horizontal array. - * If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the - * reference of the cell in which the COLUMN function appears; otherwise this function returns 0. - * - * Excel Function: - * =COLUMN([cellAddress]) - * - * @param cellAddress A reference to a range of cells for which you want the column numbers - * @return integer or array of integer - */ - public static function COLUMN($cellAddress=Null) { - if (is_null($cellAddress) || trim($cellAddress) === '') { return 0; } - - if (is_array($cellAddress)) { - foreach($cellAddress as $columnKey => $value) { - $columnKey = preg_replace('/[^a-z]/i','',$columnKey); - return (integer) PHPExcel_Cell::columnIndexFromString($columnKey); - } - } else { - if (strpos($cellAddress,'!') !== false) { - list($sheet,$cellAddress) = explode('!',$cellAddress); - } - if (strpos($cellAddress,':') !== false) { - list($startAddress,$endAddress) = explode(':',$cellAddress); - $startAddress = preg_replace('/[^a-z]/i','',$startAddress); - $endAddress = preg_replace('/[^a-z]/i','',$endAddress); - $returnValue = array(); - do { - $returnValue[] = (integer) PHPExcel_Cell::columnIndexFromString($startAddress); - } while ($startAddress++ != $endAddress); - return $returnValue; - } else { - $cellAddress = preg_replace('/[^a-z]/i','',$cellAddress); - return (integer) PHPExcel_Cell::columnIndexFromString($cellAddress); - } - } - } // function COLUMN() - - - /** - * COLUMNS - * - * Returns the number of columns in an array or reference. - * - * Excel Function: - * =COLUMNS(cellAddress) - * - * @param cellAddress An array or array formula, or a reference to a range of cells for which you want the number of columns - * @return integer The number of columns in cellAddress - */ - public static function COLUMNS($cellAddress=Null) { - if (is_null($cellAddress) || $cellAddress === '') { - return 1; - } elseif (!is_array($cellAddress)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $x = array_keys($cellAddress); - $x = array_shift($x); - $isMatrix = (is_numeric($x)); - list($columns,$rows) = PHPExcel_Calculation::_getMatrixDimensions($cellAddress); - - if ($isMatrix) { - return $rows; - } else { - return $columns; - } - } // function COLUMNS() - - - /** - * ROW - * - * Returns the row number of the given cell reference - * If the cell reference is a range of cells, ROW returns the row numbers of each row in the reference as a vertical array. - * If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the - * reference of the cell in which the ROW function appears; otherwise this function returns 0. - * - * Excel Function: - * =ROW([cellAddress]) - * - * @param cellAddress A reference to a range of cells for which you want the row numbers - * @return integer or array of integer - */ - public static function ROW($cellAddress=Null) { - if (is_null($cellAddress) || trim($cellAddress) === '') { return 0; } - - if (is_array($cellAddress)) { - foreach($cellAddress as $columnKey => $rowValue) { - foreach($rowValue as $rowKey => $cellValue) { - return (integer) preg_replace('/[^0-9]/i','',$rowKey); - } - } - } else { - if (strpos($cellAddress,'!') !== false) { - list($sheet,$cellAddress) = explode('!',$cellAddress); - } - if (strpos($cellAddress,':') !== false) { - list($startAddress,$endAddress) = explode(':',$cellAddress); - $startAddress = preg_replace('/[^0-9]/','',$startAddress); - $endAddress = preg_replace('/[^0-9]/','',$endAddress); - $returnValue = array(); - do { - $returnValue[][] = (integer) $startAddress; - } while ($startAddress++ != $endAddress); - return $returnValue; - } else { - list($cellAddress) = explode(':',$cellAddress); - return (integer) preg_replace('/[^0-9]/','',$cellAddress); - } - } - } // function ROW() - - - /** - * ROWS - * - * Returns the number of rows in an array or reference. - * - * Excel Function: - * =ROWS(cellAddress) - * - * @param cellAddress An array or array formula, or a reference to a range of cells for which you want the number of rows - * @return integer The number of rows in cellAddress - */ - public static function ROWS($cellAddress=Null) { - if (is_null($cellAddress) || $cellAddress === '') { - return 1; - } elseif (!is_array($cellAddress)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $i = array_keys($cellAddress); - $isMatrix = (is_numeric(array_shift($i))); - list($columns,$rows) = PHPExcel_Calculation::_getMatrixDimensions($cellAddress); - - if ($isMatrix) { - return $columns; - } else { - return $rows; - } - } // function ROWS() - - - /** - * HYPERLINK - * - * Excel Function: - * =HYPERLINK(linkURL,displayName) - * - * @access public - * @category Logical Functions - * @param string $linkURL Value to check, is also the value returned when no error - * @param string $displayName Value to return when testValue is an error condition - * @param PHPExcel_Cell $pCell The cell to set the hyperlink in - * @return mixed The value of $displayName (or $linkURL if $displayName was blank) - */ - public static function HYPERLINK($linkURL = '', $displayName = null, PHPExcel_Cell $pCell = null) { - $args = func_get_args(); - $pCell = array_pop($args); - - $linkURL = (is_null($linkURL)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($linkURL); - $displayName = (is_null($displayName)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($displayName); - - if ((!is_object($pCell)) || (trim($linkURL) == '')) { - return PHPExcel_Calculation_Functions::REF(); - } - - if ((is_object($displayName)) || trim($displayName) == '') { - $displayName = $linkURL; - } - - $pCell->getHyperlink()->setUrl($linkURL); - - return $displayName; - } // function HYPERLINK() - - - /** - * INDIRECT - * - * Returns the reference specified by a text string. - * References are immediately evaluated to display their contents. - * - * Excel Function: - * =INDIRECT(cellAddress) - * - * NOTE - INDIRECT() does not yet support the optional a1 parameter introduced in Excel 2010 - * - * @param cellAddress $cellAddress The cell address of the current cell (containing this formula) - * @param PHPExcel_Cell $pCell The current cell (containing this formula) - * @return mixed The cells referenced by cellAddress - * - * @todo Support for the optional a1 parameter introduced in Excel 2010 - * - */ - public static function INDIRECT($cellAddress = NULL, PHPExcel_Cell $pCell = NULL) { - $cellAddress = PHPExcel_Calculation_Functions::flattenSingleValue($cellAddress); - if (is_null($cellAddress) || $cellAddress === '') { - return PHPExcel_Calculation_Functions::REF(); - } - - $cellAddress1 = $cellAddress; - $cellAddress2 = NULL; - if (strpos($cellAddress,':') !== false) { - list($cellAddress1,$cellAddress2) = explode(':',$cellAddress); - } - - if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $cellAddress1, $matches)) || - ((!is_null($cellAddress2)) && (!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $cellAddress2, $matches)))) { - if (!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $cellAddress1, $matches)) { - return PHPExcel_Calculation_Functions::REF(); - } - - if (strpos($cellAddress,'!') !== FALSE) { - list($sheetName, $cellAddress) = explode('!',$cellAddress); - $sheetName = trim($sheetName, "'"); - $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName); - } else { - $pSheet = $pCell->getWorksheet(); - } - - return PHPExcel_Calculation::getInstance()->extractNamedRange($cellAddress, $pSheet, FALSE); - } - - if (strpos($cellAddress,'!') !== FALSE) { - list($sheetName,$cellAddress) = explode('!',$cellAddress); - $sheetName = trim($sheetName, "'"); - $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName); - } else { - $pSheet = $pCell->getWorksheet(); - } - - return PHPExcel_Calculation::getInstance()->extractCellRange($cellAddress, $pSheet, FALSE); - } // function INDIRECT() - - - /** - * OFFSET - * - * Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells. - * The reference that is returned can be a single cell or a range of cells. You can specify the number of rows and - * the number of columns to be returned. - * - * Excel Function: - * =OFFSET(cellAddress, rows, cols, [height], [width]) - * - * @param cellAddress The reference from which you want to base the offset. Reference must refer to a cell or - * range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value. - * @param rows The number of rows, up or down, that you want the upper-left cell to refer to. - * Using 5 as the rows argument specifies that the upper-left cell in the reference is - * five rows below reference. Rows can be positive (which means below the starting reference) - * or negative (which means above the starting reference). - * @param cols The number of columns, to the left or right, that you want the upper-left cell of the result - * to refer to. Using 5 as the cols argument specifies that the upper-left cell in the - * reference is five columns to the right of reference. Cols can be positive (which means - * to the right of the starting reference) or negative (which means to the left of the - * starting reference). - * @param height The height, in number of rows, that you want the returned reference to be. Height must be a positive number. - * @param width The width, in number of columns, that you want the returned reference to be. Width must be a positive number. - * @return string A reference to a cell or range of cells - */ - public static function OFFSET($cellAddress=Null,$rows=0,$columns=0,$height=null,$width=null) { - $rows = PHPExcel_Calculation_Functions::flattenSingleValue($rows); - $columns = PHPExcel_Calculation_Functions::flattenSingleValue($columns); - $height = PHPExcel_Calculation_Functions::flattenSingleValue($height); - $width = PHPExcel_Calculation_Functions::flattenSingleValue($width); - if ($cellAddress == Null) { - return 0; - } - - $args = func_get_args(); - $pCell = array_pop($args); - if (!is_object($pCell)) { - return PHPExcel_Calculation_Functions::REF(); - } - - $sheetName = NULL; - if (strpos($cellAddress,"!")) { - list($sheetName,$cellAddress) = explode("!",$cellAddress); - $sheetName = trim($sheetName, "'"); - } - if (strpos($cellAddress,":")) { - list($startCell,$endCell) = explode(":",$cellAddress); - } else { - $startCell = $endCell = $cellAddress; - } - list($startCellColumn,$startCellRow) = PHPExcel_Cell::coordinateFromString($startCell); - list($endCellColumn,$endCellRow) = PHPExcel_Cell::coordinateFromString($endCell); - - $startCellRow += $rows; - $startCellColumn = PHPExcel_Cell::columnIndexFromString($startCellColumn) - 1; - $startCellColumn += $columns; - - if (($startCellRow <= 0) || ($startCellColumn < 0)) { - return PHPExcel_Calculation_Functions::REF(); - } - $endCellColumn = PHPExcel_Cell::columnIndexFromString($endCellColumn) - 1; - if (($width != null) && (!is_object($width))) { - $endCellColumn = $startCellColumn + $width - 1; - } else { - $endCellColumn += $columns; - } - $startCellColumn = PHPExcel_Cell::stringFromColumnIndex($startCellColumn); - - if (($height != null) && (!is_object($height))) { - $endCellRow = $startCellRow + $height - 1; - } else { - $endCellRow += $rows; - } - - if (($endCellRow <= 0) || ($endCellColumn < 0)) { - return PHPExcel_Calculation_Functions::REF(); - } - $endCellColumn = PHPExcel_Cell::stringFromColumnIndex($endCellColumn); - - $cellAddress = $startCellColumn.$startCellRow; - if (($startCellColumn != $endCellColumn) || ($startCellRow != $endCellRow)) { - $cellAddress .= ':'.$endCellColumn.$endCellRow; - } - - if ($sheetName !== NULL) { - $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName); - } else { - $pSheet = $pCell->getWorksheet(); - } - - return PHPExcel_Calculation::getInstance()->extractCellRange($cellAddress, $pSheet, False); - } // function OFFSET() - - - /** - * CHOOSE - * - * Uses lookup_value to return a value from the list of value arguments. - * Use CHOOSE to select one of up to 254 values based on the lookup_value. - * - * Excel Function: - * =CHOOSE(index_num, value1, [value2], ...) - * - * @param index_num Specifies which value argument is selected. - * Index_num must be a number between 1 and 254, or a formula or reference to a cell containing a number - * between 1 and 254. - * @param value1... Value1 is required, subsequent values are optional. - * Between 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on - * index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or - * text. - * @return mixed The selected value - */ - public static function CHOOSE() { - $chooseArgs = func_get_args(); - $chosenEntry = PHPExcel_Calculation_Functions::flattenArray(array_shift($chooseArgs)); - $entryCount = count($chooseArgs) - 1; - - if(is_array($chosenEntry)) { - $chosenEntry = array_shift($chosenEntry); - } - if ((is_numeric($chosenEntry)) && (!is_bool($chosenEntry))) { - --$chosenEntry; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $chosenEntry = floor($chosenEntry); - if (($chosenEntry < 0) || ($chosenEntry > $entryCount)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_array($chooseArgs[$chosenEntry])) { - return PHPExcel_Calculation_Functions::flattenArray($chooseArgs[$chosenEntry]); - } else { - return $chooseArgs[$chosenEntry]; - } - } // function CHOOSE() - - - /** - * MATCH - * - * The MATCH function searches for a specified item in a range of cells - * - * Excel Function: - * =MATCH(lookup_value, lookup_array, [match_type]) - * - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_array The range of cells being searched - * @param match_type The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered. - * @return integer The relative position of the found item - */ - public static function MATCH($lookup_value, $lookup_array, $match_type=1) { - $lookup_array = PHPExcel_Calculation_Functions::flattenArray($lookup_array); - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - $match_type = (is_null($match_type)) ? 1 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($match_type); - // MATCH is not case sensitive - $lookup_value = strtolower($lookup_value); - - // lookup_value type has to be number, text, or logical values - if ((!is_numeric($lookup_value)) && (!is_string($lookup_value)) && (!is_bool($lookup_value))) { - return PHPExcel_Calculation_Functions::NA(); - } - - // match_type is 0, 1 or -1 - if (($match_type !== 0) && ($match_type !== -1) && ($match_type !== 1)) { - return PHPExcel_Calculation_Functions::NA(); - } - - // lookup_array should not be empty - $lookupArraySize = count($lookup_array); - if ($lookupArraySize <= 0) { - return PHPExcel_Calculation_Functions::NA(); - } - - // lookup_array should contain only number, text, or logical values, or empty (null) cells - foreach($lookup_array as $i => $lookupArrayValue) { - // check the type of the value - if ((!is_numeric($lookupArrayValue)) && (!is_string($lookupArrayValue)) && - (!is_bool($lookupArrayValue)) && (!is_null($lookupArrayValue))) { - return PHPExcel_Calculation_Functions::NA(); - } - // convert strings to lowercase for case-insensitive testing - if (is_string($lookupArrayValue)) { - $lookup_array[$i] = strtolower($lookupArrayValue); - } - if ((is_null($lookupArrayValue)) && (($match_type == 1) || ($match_type == -1))) { - $lookup_array = array_slice($lookup_array,0,$i-1); - } - } - - // if match_type is 1 or -1, the list has to be ordered - if ($match_type == 1) { - asort($lookup_array); - $keySet = array_keys($lookup_array); - } elseif($match_type == -1) { - arsort($lookup_array); - $keySet = array_keys($lookup_array); - } - - // ** - // find the match - // ** - // loop on the cells -// var_dump($lookup_array); -// echo '
'; - foreach($lookup_array as $i => $lookupArrayValue) { - if (($match_type == 0) && ($lookupArrayValue == $lookup_value)) { - // exact match - return ++$i; - } elseif (($match_type == -1) && ($lookupArrayValue <= $lookup_value)) { -// echo '$i = '.$i.' => '; -// var_dump($lookupArrayValue); -// echo '
'; -// echo 'Keyset = '; -// var_dump($keySet); -// echo '
'; - $i = array_search($i,$keySet); -// echo '$i='.$i.'
'; - // if match_type is -1 <=> find the smallest value that is greater than or equal to lookup_value - if ($i < 1){ - // 1st cell was allready smaller than the lookup_value - break; - } else { - // the previous cell was the match - return $keySet[$i-1]+1; - } - } elseif (($match_type == 1) && ($lookupArrayValue >= $lookup_value)) { -// echo '$i = '.$i.' => '; -// var_dump($lookupArrayValue); -// echo '
'; -// echo 'Keyset = '; -// var_dump($keySet); -// echo '
'; - $i = array_search($i,$keySet); -// echo '$i='.$i.'
'; - // if match_type is 1 <=> find the largest value that is less than or equal to lookup_value - if ($i < 1){ - // 1st cell was allready bigger than the lookup_value - break; - } else { - // the previous cell was the match - return $keySet[$i-1]+1; - } - } - } - - // unsuccessful in finding a match, return #N/A error value - return PHPExcel_Calculation_Functions::NA(); - } // function MATCH() - - - /** - * INDEX - * - * Uses an index to choose a value from a reference or array - * - * Excel Function: - * =INDEX(range_array, row_num, [column_num]) - * - * @param range_array A range of cells or an array constant - * @param row_num The row in array from which to return a value. If row_num is omitted, column_num is required. - * @param column_num The column in array from which to return a value. If column_num is omitted, row_num is required. - * @return mixed the value of a specified cell or array of cells - */ - public static function INDEX($arrayValues,$rowNum = 0,$columnNum = 0) { - - if (($rowNum < 0) || ($columnNum < 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (!is_array($arrayValues)) { - return PHPExcel_Calculation_Functions::REF(); - } - - $rowKeys = array_keys($arrayValues); - $columnKeys = @array_keys($arrayValues[$rowKeys[0]]); - - if ($columnNum > count($columnKeys)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($columnNum == 0) { - if ($rowNum == 0) { - return $arrayValues; - } - $rowNum = $rowKeys[--$rowNum]; - $returnArray = array(); - foreach($arrayValues as $arrayColumn) { - if (is_array($arrayColumn)) { - if (isset($arrayColumn[$rowNum])) { - $returnArray[] = $arrayColumn[$rowNum]; - } else { - return $arrayValues[$rowNum]; - } - } else { - return $arrayValues[$rowNum]; - } - } - return $returnArray; - } - $columnNum = $columnKeys[--$columnNum]; - if ($rowNum > count($rowKeys)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($rowNum == 0) { - return $arrayValues[$columnNum]; - } - $rowNum = $rowKeys[--$rowNum]; - - return $arrayValues[$rowNum][$columnNum]; - } // function INDEX() - - - /** - * TRANSPOSE - * - * @param array $matrixData A matrix of values - * @return array - * - * Unlike the Excel TRANSPOSE function, which will only work on a single row or column, this function will transpose a full matrix. - */ - public static function TRANSPOSE($matrixData) { - $returnMatrix = array(); - if (!is_array($matrixData)) { $matrixData = array(array($matrixData)); } - - $column = 0; - foreach($matrixData as $matrixRow) { - $row = 0; - foreach($matrixRow as $matrixCell) { - $returnMatrix[$row][$column] = $matrixCell; - ++$row; - } - ++$column; - } - return $returnMatrix; - } // function TRANSPOSE() - - - private static function _vlookupSort($a,$b) { - $f = array_keys($a); - $firstColumn = array_shift($f); - if (strtolower($a[$firstColumn]) == strtolower($b[$firstColumn])) { - return 0; - } - return (strtolower($a[$firstColumn]) < strtolower($b[$firstColumn])) ? -1 : 1; - } // function _vlookupSort() - - - /** - * VLOOKUP - * The VLOOKUP function searches for value in the left-most column of lookup_array and returns the value in the same row based on the index_number. - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_array The range of cells being searched - * @param index_number The column number in table_array from which the matching value must be returned. The first column is 1. - * @param not_exact_match Determines if you are looking for an exact match based on lookup_value. - * @return mixed The value of the found cell - */ - public static function VLOOKUP($lookup_value, $lookup_array, $index_number, $not_exact_match=true) { - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - $index_number = PHPExcel_Calculation_Functions::flattenSingleValue($index_number); - $not_exact_match = PHPExcel_Calculation_Functions::flattenSingleValue($not_exact_match); - - // index_number must be greater than or equal to 1 - if ($index_number < 1) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // index_number must be less than or equal to the number of columns in lookup_array - if ((!is_array($lookup_array)) || (empty($lookup_array))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $f = array_keys($lookup_array); - $firstRow = array_pop($f); - if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $columnKeys = array_keys($lookup_array[$firstRow]); - $returnColumn = $columnKeys[--$index_number]; - $firstColumn = array_shift($columnKeys); - } - } - - if (!$not_exact_match) { - uasort($lookup_array,array('self','_vlookupSort')); - } - - $rowNumber = $rowValue = False; - foreach($lookup_array as $rowKey => $rowData) { - if ((is_numeric($lookup_value) && is_numeric($rowData[$firstColumn]) && ($rowData[$firstColumn] > $lookup_value)) || - (!is_numeric($lookup_value) && !is_numeric($rowData[$firstColumn]) && (strtolower($rowData[$firstColumn]) > strtolower($lookup_value)))) { - break; - } - $rowNumber = $rowKey; - $rowValue = $rowData[$firstColumn]; - } - - if ($rowNumber !== false) { - if ((!$not_exact_match) && ($rowValue != $lookup_value)) { - // if an exact match is required, we have what we need to return an appropriate response - return PHPExcel_Calculation_Functions::NA(); - } else { - // otherwise return the appropriate value - $result = $lookup_array[$rowNumber][$returnColumn]; - if ((is_numeric($lookup_value) && is_numeric($result)) || - (!is_numeric($lookup_value) && !is_numeric($result))) { - return $result; - } - } - } - - return PHPExcel_Calculation_Functions::NA(); - } // function VLOOKUP() - - -/** - * HLOOKUP - * The HLOOKUP function searches for value in the top-most row of lookup_array and returns the value in the same column based on the index_number. - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_array The range of cells being searched - * @param index_number The row number in table_array from which the matching value must be returned. The first row is 1. - * @param not_exact_match Determines if you are looking for an exact match based on lookup_value. - * @return mixed The value of the found cell - */ - public static function HLOOKUP($lookup_value, $lookup_array, $index_number, $not_exact_match=true) { - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - $index_number = PHPExcel_Calculation_Functions::flattenSingleValue($index_number); - $not_exact_match = PHPExcel_Calculation_Functions::flattenSingleValue($not_exact_match); - - // index_number must be greater than or equal to 1 - if ($index_number < 1) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // index_number must be less than or equal to the number of columns in lookup_array - if ((!is_array($lookup_array)) || (empty($lookup_array))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $f = array_keys($lookup_array); - $firstRow = array_pop($f); - if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $columnKeys = array_keys($lookup_array[$firstRow]); - $firstkey = $f[0] - 1; - $returnColumn = $firstkey + $index_number; - $firstColumn = array_shift($f); - } - } - - if (!$not_exact_match) { - $firstRowH = asort($lookup_array[$firstColumn]); - } - - $rowNumber = $rowValue = False; - foreach($lookup_array[$firstColumn] as $rowKey => $rowData) { - if ((is_numeric($lookup_value) && is_numeric($rowData) && ($rowData > $lookup_value)) || - (!is_numeric($lookup_value) && !is_numeric($rowData) && (strtolower($rowData) > strtolower($lookup_value)))) { - break; - } - $rowNumber = $rowKey; - $rowValue = $rowData; - } - - if ($rowNumber !== false) { - if ((!$not_exact_match) && ($rowValue != $lookup_value)) { - // if an exact match is required, we have what we need to return an appropriate response - return PHPExcel_Calculation_Functions::NA(); - } else { - // otherwise return the appropriate value - $result = $lookup_array[$returnColumn][$rowNumber]; - return $result; - } - } - - return PHPExcel_Calculation_Functions::NA(); - } // function HLOOKUP() - - - /** - * LOOKUP - * The LOOKUP function searches for value either from a one-row or one-column range or from an array. - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_vector The range of cells being searched - * @param result_vector The column from which the matching value must be returned - * @return mixed The value of the found cell - */ - public static function LOOKUP($lookup_value, $lookup_vector, $result_vector=null) { - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - - if (!is_array($lookup_vector)) { - return PHPExcel_Calculation_Functions::NA(); - } - $lookupRows = count($lookup_vector); - $l = array_keys($lookup_vector); - $l = array_shift($l); - $lookupColumns = count($lookup_vector[$l]); - if ((($lookupRows == 1) && ($lookupColumns > 1)) || (($lookupRows == 2) && ($lookupColumns != 2))) { - $lookup_vector = self::TRANSPOSE($lookup_vector); - $lookupRows = count($lookup_vector); - $l = array_keys($lookup_vector); - $lookupColumns = count($lookup_vector[array_shift($l)]); - } - - if (is_null($result_vector)) { - $result_vector = $lookup_vector; - } - $resultRows = count($result_vector); - $l = array_keys($result_vector); - $l = array_shift($l); - $resultColumns = count($result_vector[$l]); - if ((($resultRows == 1) && ($resultColumns > 1)) || (($resultRows == 2) && ($resultColumns != 2))) { - $result_vector = self::TRANSPOSE($result_vector); - $resultRows = count($result_vector); - $r = array_keys($result_vector); - $resultColumns = count($result_vector[array_shift($r)]); - } - - if ($lookupRows == 2) { - $result_vector = array_pop($lookup_vector); - $lookup_vector = array_shift($lookup_vector); - } - if ($lookupColumns != 2) { - foreach($lookup_vector as &$value) { - if (is_array($value)) { - $k = array_keys($value); - $key1 = $key2 = array_shift($k); - $key2++; - $dataValue1 = $value[$key1]; - } else { - $key1 = 0; - $key2 = 1; - $dataValue1 = $value; - } - $dataValue2 = array_shift($result_vector); - if (is_array($dataValue2)) { - $dataValue2 = array_shift($dataValue2); - } - $value = array($key1 => $dataValue1, $key2 => $dataValue2); - } - unset($value); - } - - return self::VLOOKUP($lookup_value,$lookup_vector,2); - } // function LOOKUP() - -} // class PHPExcel_Calculation_LookupRef diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/MathTrig.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/MathTrig.php deleted file mode 100644 index b2bb19d48..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/MathTrig.php +++ /dev/null @@ -1,1373 +0,0 @@ - 1; --$i) { - if (($value % $i) == 0) { - $factorArray = array_merge($factorArray,self::_factors($value / $i)); - $factorArray = array_merge($factorArray,self::_factors($i)); - if ($i <= sqrt($value)) { - break; - } - } - } - if (!empty($factorArray)) { - rsort($factorArray); - return $factorArray; - } else { - return array((integer) $value); - } - } // function _factors() - - - private static function _romanCut($num, $n) { - return ($num - ($num % $n ) ) / $n; - } // function _romanCut() - - - /** - * ATAN2 - * - * This function calculates the arc tangent of the two variables x and y. It is similar to - * calculating the arc tangent of y ÷ x, except that the signs of both arguments are used - * to determine the quadrant of the result. - * The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a - * point with coordinates (xCoordinate, yCoordinate). The angle is given in radians between - * -pi and pi, excluding -pi. - * - * Note that the Excel ATAN2() function accepts its arguments in the reverse order to the standard - * PHP atan2() function, so we need to reverse them here before calling the PHP atan() function. - * - * Excel Function: - * ATAN2(xCoordinate,yCoordinate) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $xCoordinate The x-coordinate of the point. - * @param float $yCoordinate The y-coordinate of the point. - * @return float The inverse tangent of the specified x- and y-coordinates. - */ - public static function ATAN2($xCoordinate = NULL, $yCoordinate = NULL) { - $xCoordinate = PHPExcel_Calculation_Functions::flattenSingleValue($xCoordinate); - $yCoordinate = PHPExcel_Calculation_Functions::flattenSingleValue($yCoordinate); - - $xCoordinate = ($xCoordinate !== NULL) ? $xCoordinate : 0.0; - $yCoordinate = ($yCoordinate !== NULL) ? $yCoordinate : 0.0; - - if (((is_numeric($xCoordinate)) || (is_bool($xCoordinate))) && - ((is_numeric($yCoordinate))) || (is_bool($yCoordinate))) { - $xCoordinate = (float) $xCoordinate; - $yCoordinate = (float) $yCoordinate; - - if (($xCoordinate == 0) && ($yCoordinate == 0)) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - return atan2($yCoordinate, $xCoordinate); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ATAN2() - - - /** - * CEILING - * - * Returns number rounded up, away from zero, to the nearest multiple of significance. - * For example, if you want to avoid using pennies in your prices and your product is - * priced at $4.42, use the formula =CEILING(4.42,0.05) to round prices up to the - * nearest nickel. - * - * Excel Function: - * CEILING(number[,significance]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number The number you want to round. - * @param float $significance The multiple to which you want to round. - * @return float Rounded Number - */ - public static function CEILING($number, $significance = NULL) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $significance = PHPExcel_Calculation_Functions::flattenSingleValue($significance); - - if ((is_null($significance)) && - (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) { - $significance = $number/abs($number); - } - - if ((is_numeric($number)) && (is_numeric($significance))) { - if ($significance == 0.0) { - return 0.0; - } elseif (self::SIGN($number) == self::SIGN($significance)) { - return ceil($number / $significance) * $significance; - } else { - return PHPExcel_Calculation_Functions::NaN(); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CEILING() - - - /** - * COMBIN - * - * Returns the number of combinations for a given number of items. Use COMBIN to - * determine the total possible number of groups for a given number of items. - * - * Excel Function: - * COMBIN(numObjs,numInSet) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param int $numObjs Number of different objects - * @param int $numInSet Number of objects in each combination - * @return int Number of combinations - */ - public static function COMBIN($numObjs, $numInSet) { - $numObjs = PHPExcel_Calculation_Functions::flattenSingleValue($numObjs); - $numInSet = PHPExcel_Calculation_Functions::flattenSingleValue($numInSet); - - if ((is_numeric($numObjs)) && (is_numeric($numInSet))) { - if ($numObjs < $numInSet) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif ($numInSet < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return round(self::FACT($numObjs) / self::FACT($numObjs - $numInSet)) / self::FACT($numInSet); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function COMBIN() - - - /** - * EVEN - * - * Returns number rounded up to the nearest even integer. - * You can use this function for processing items that come in twos. For example, - * a packing crate accepts rows of one or two items. The crate is full when - * the number of items, rounded up to the nearest two, matches the crate's - * capacity. - * - * Excel Function: - * EVEN(number) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number Number to round - * @return int Rounded Number - */ - public static function EVEN($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_null($number)) { - return 0; - } elseif (is_bool($number)) { - $number = (int) $number; - } - - if (is_numeric($number)) { - $significance = 2 * self::SIGN($number); - return (int) self::CEILING($number,$significance); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function EVEN() - - - /** - * FACT - * - * Returns the factorial of a number. - * The factorial of a number is equal to 1*2*3*...* number. - * - * Excel Function: - * FACT(factVal) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $factVal Factorial Value - * @return int Factorial - */ - public static function FACT($factVal) { - $factVal = PHPExcel_Calculation_Functions::flattenSingleValue($factVal); - - if (is_numeric($factVal)) { - if ($factVal < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $factLoop = floor($factVal); - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - if ($factVal > $factLoop) { - return PHPExcel_Calculation_Functions::NaN(); - } - } - - $factorial = 1; - while ($factLoop > 1) { - $factorial *= $factLoop--; - } - return $factorial ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FACT() - - - /** - * FACTDOUBLE - * - * Returns the double factorial of a number. - * - * Excel Function: - * FACTDOUBLE(factVal) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $factVal Factorial Value - * @return int Double Factorial - */ - public static function FACTDOUBLE($factVal) { - $factLoop = PHPExcel_Calculation_Functions::flattenSingleValue($factVal); - - if (is_numeric($factLoop)) { - $factLoop = floor($factLoop); - if ($factVal < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $factorial = 1; - while ($factLoop > 1) { - $factorial *= $factLoop--; - --$factLoop; - } - return $factorial ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FACTDOUBLE() - - - /** - * FLOOR - * - * Rounds number down, toward zero, to the nearest multiple of significance. - * - * Excel Function: - * FLOOR(number[,significance]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number Number to round - * @param float $significance Significance - * @return float Rounded Number - */ - public static function FLOOR($number, $significance = NULL) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $significance = PHPExcel_Calculation_Functions::flattenSingleValue($significance); - - if ((is_null($significance)) && (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) { - $significance = $number/abs($number); - } - - if ((is_numeric($number)) && (is_numeric($significance))) { - if ((float) $significance == 0.0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - if (self::SIGN($number) == self::SIGN($significance)) { - return floor($number / $significance) * $significance; - } else { - return PHPExcel_Calculation_Functions::NaN(); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FLOOR() - - - /** - * GCD - * - * Returns the greatest common divisor of a series of numbers. - * The greatest common divisor is the largest integer that divides both - * number1 and number2 without a remainder. - * - * Excel Function: - * GCD(number1[,number2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return integer Greatest Common Divisor - */ - public static function GCD() { - $returnValue = 1; - $allValuesFactors = array(); - // Loop through arguments - foreach(PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $value) { - if (!is_numeric($value)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($value == 0) { - continue; - } elseif($value < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $myFactors = self::_factors($value); - $myCountedFactors = array_count_values($myFactors); - $allValuesFactors[] = $myCountedFactors; - } - $allValuesCount = count($allValuesFactors); - if ($allValuesCount == 0) { - return 0; - } - - $mergedArray = $allValuesFactors[0]; - for ($i=1;$i < $allValuesCount; ++$i) { - $mergedArray = array_intersect_key($mergedArray,$allValuesFactors[$i]); - } - $mergedArrayValues = count($mergedArray); - if ($mergedArrayValues == 0) { - return $returnValue; - } elseif ($mergedArrayValues > 1) { - foreach($mergedArray as $mergedKey => $mergedValue) { - foreach($allValuesFactors as $highestPowerTest) { - foreach($highestPowerTest as $testKey => $testValue) { - if (($testKey == $mergedKey) && ($testValue < $mergedValue)) { - $mergedArray[$mergedKey] = $testValue; - $mergedValue = $testValue; - } - } - } - } - - $returnValue = 1; - foreach($mergedArray as $key => $value) { - $returnValue *= pow($key,$value); - } - return $returnValue; - } else { - $keys = array_keys($mergedArray); - $key = $keys[0]; - $value = $mergedArray[$key]; - foreach($allValuesFactors as $testValue) { - foreach($testValue as $mergedKey => $mergedValue) { - if (($mergedKey == $key) && ($mergedValue < $value)) { - $value = $mergedValue; - } - } - } - return pow($key,$value); - } - } // function GCD() - - - /** - * INT - * - * Casts a floating point value to an integer - * - * Excel Function: - * INT(number) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number Number to cast to an integer - * @return integer Integer value - */ - public static function INT($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_null($number)) { - return 0; - } elseif (is_bool($number)) { - return (int) $number; - } - if (is_numeric($number)) { - return (int) floor($number); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function INT() - - - /** - * LCM - * - * Returns the lowest common multiplier of a series of numbers - * The least common multiple is the smallest positive integer that is a multiple - * of all integer arguments number1, number2, and so on. Use LCM to add fractions - * with different denominators. - * - * Excel Function: - * LCM(number1[,number2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return int Lowest Common Multiplier - */ - public static function LCM() { - $returnValue = 1; - $allPoweredFactors = array(); - // Loop through arguments - foreach(PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $value) { - if (!is_numeric($value)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if ($value == 0) { - return 0; - } elseif ($value < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $myFactors = self::_factors(floor($value)); - $myCountedFactors = array_count_values($myFactors); - $myPoweredFactors = array(); - foreach($myCountedFactors as $myCountedFactor => $myCountedPower) { - $myPoweredFactors[$myCountedFactor] = pow($myCountedFactor,$myCountedPower); - } - foreach($myPoweredFactors as $myPoweredValue => $myPoweredFactor) { - if (array_key_exists($myPoweredValue,$allPoweredFactors)) { - if ($allPoweredFactors[$myPoweredValue] < $myPoweredFactor) { - $allPoweredFactors[$myPoweredValue] = $myPoweredFactor; - } - } else { - $allPoweredFactors[$myPoweredValue] = $myPoweredFactor; - } - } - } - foreach($allPoweredFactors as $allPoweredFactor) { - $returnValue *= (integer) $allPoweredFactor; - } - return $returnValue; - } // function LCM() - - - /** - * LOG_BASE - * - * Returns the logarithm of a number to a specified base. The default base is 10. - * - * Excel Function: - * LOG(number[,base]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number The positive real number for which you want the logarithm - * @param float $base The base of the logarithm. If base is omitted, it is assumed to be 10. - * @return float - */ - public static function LOG_BASE($number = NULL, $base = 10) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $base = (is_null($base)) ? 10 : (float) PHPExcel_Calculation_Functions::flattenSingleValue($base); - - if ((!is_numeric($base)) || (!is_numeric($number))) - return PHPExcel_Calculation_Functions::VALUE(); - if (($base <= 0) || ($number <= 0)) - return PHPExcel_Calculation_Functions::NaN(); - return log($number, $base); - } // function LOG_BASE() - - - /** - * MDETERM - * - * Returns the matrix determinant of an array. - * - * Excel Function: - * MDETERM(array) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param array $matrixValues A matrix of values - * @return float - */ - public static function MDETERM($matrixValues) { - $matrixData = array(); - if (!is_array($matrixValues)) { $matrixValues = array(array($matrixValues)); } - - $row = $maxColumn = 0; - foreach($matrixValues as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $column = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixData[$column][$row] = $matrixCell; - ++$column; - } - if ($column > $maxColumn) { $maxColumn = $column; } - ++$row; - } - if ($row != $maxColumn) { return PHPExcel_Calculation_Functions::VALUE(); } - - try { - $matrix = new PHPExcel_Shared_JAMA_Matrix($matrixData); - return $matrix->det(); - } catch (PHPExcel_Exception $ex) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } // function MDETERM() - - - /** - * MINVERSE - * - * Returns the inverse matrix for the matrix stored in an array. - * - * Excel Function: - * MINVERSE(array) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param array $matrixValues A matrix of values - * @return array - */ - public static function MINVERSE($matrixValues) { - $matrixData = array(); - if (!is_array($matrixValues)) { $matrixValues = array(array($matrixValues)); } - - $row = $maxColumn = 0; - foreach($matrixValues as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $column = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixData[$column][$row] = $matrixCell; - ++$column; - } - if ($column > $maxColumn) { $maxColumn = $column; } - ++$row; - } - if ($row != $maxColumn) { return PHPExcel_Calculation_Functions::VALUE(); } - - try { - $matrix = new PHPExcel_Shared_JAMA_Matrix($matrixData); - return $matrix->inverse()->getArray(); - } catch (PHPExcel_Exception $ex) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } // function MINVERSE() - - - /** - * MMULT - * - * @param array $matrixData1 A matrix of values - * @param array $matrixData2 A matrix of values - * @return array - */ - public static function MMULT($matrixData1,$matrixData2) { - $matrixAData = $matrixBData = array(); - if (!is_array($matrixData1)) { $matrixData1 = array(array($matrixData1)); } - if (!is_array($matrixData2)) { $matrixData2 = array(array($matrixData2)); } - - $rowA = 0; - foreach($matrixData1 as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $columnA = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixAData[$rowA][$columnA] = $matrixCell; - ++$columnA; - } - ++$rowA; - } - try { - $matrixA = new PHPExcel_Shared_JAMA_Matrix($matrixAData); - $rowB = 0; - foreach($matrixData2 as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $columnB = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixBData[$rowB][$columnB] = $matrixCell; - ++$columnB; - } - ++$rowB; - } - $matrixB = new PHPExcel_Shared_JAMA_Matrix($matrixBData); - - if (($rowA != $columnB) || ($rowB != $columnA)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - return $matrixA->times($matrixB)->getArray(); - } catch (PHPExcel_Exception $ex) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } // function MMULT() - - - /** - * MOD - * - * @param int $a Dividend - * @param int $b Divisor - * @return int Remainder - */ - public static function MOD($a = 1, $b = 1) { - $a = PHPExcel_Calculation_Functions::flattenSingleValue($a); - $b = PHPExcel_Calculation_Functions::flattenSingleValue($b); - - if ($b == 0.0) { - return PHPExcel_Calculation_Functions::DIV0(); - } elseif (($a < 0.0) && ($b > 0.0)) { - return $b - fmod(abs($a),$b); - } elseif (($a > 0.0) && ($b < 0.0)) { - return $b + fmod($a,abs($b)); - } - - return fmod($a,$b); - } // function MOD() - - - /** - * MROUND - * - * Rounds a number to the nearest multiple of a specified value - * - * @param float $number Number to round - * @param int $multiple Multiple to which you want to round $number - * @return float Rounded Number - */ - public static function MROUND($number,$multiple) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $multiple = PHPExcel_Calculation_Functions::flattenSingleValue($multiple); - - if ((is_numeric($number)) && (is_numeric($multiple))) { - if ($multiple == 0) { - return 0; - } - if ((self::SIGN($number)) == (self::SIGN($multiple))) { - $multiplier = 1 / $multiple; - return round($number * $multiplier) / $multiplier; - } - return PHPExcel_Calculation_Functions::NaN(); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function MROUND() - - - /** - * MULTINOMIAL - * - * Returns the ratio of the factorial of a sum of values to the product of factorials. - * - * @param array of mixed Data Series - * @return float - */ - public static function MULTINOMIAL() { - $summer = 0; - $divisor = 1; - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if (is_numeric($arg)) { - if ($arg < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - $summer += floor($arg); - $divisor *= self::FACT($arg); - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - - // Return - if ($summer > 0) { - $summer = self::FACT($summer); - return $summer / $divisor; - } - return 0; - } // function MULTINOMIAL() - - - /** - * ODD - * - * Returns number rounded up to the nearest odd integer. - * - * @param float $number Number to round - * @return int Rounded Number - */ - public static function ODD($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_null($number)) { - return 1; - } elseif (is_bool($number)) { - $number = (int) $number; - } - - if (is_numeric($number)) { - $significance = self::SIGN($number); - if ($significance == 0) { - return 1; - } - - $result = self::CEILING($number,$significance); - if ($result == self::EVEN($result)) { - $result += $significance; - } - - return (int) $result; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ODD() - - - /** - * POWER - * - * Computes x raised to the power y. - * - * @param float $x - * @param float $y - * @return float - */ - public static function POWER($x = 0, $y = 2) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $y = PHPExcel_Calculation_Functions::flattenSingleValue($y); - - // Validate parameters - if ($x == 0.0 && $y == 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif ($x == 0.0 && $y < 0.0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - // Return - $result = pow($x, $y); - return (!is_nan($result) && !is_infinite($result)) ? $result : PHPExcel_Calculation_Functions::NaN(); - } // function POWER() - - - /** - * PRODUCT - * - * PRODUCT returns the product of all the values and cells referenced in the argument list. - * - * Excel Function: - * PRODUCT(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function PRODUCT() { - // Return value - $returnValue = null; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = $arg; - } else { - $returnValue *= $arg; - } - } - } - - // Return - if (is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function PRODUCT() - - - /** - * QUOTIENT - * - * QUOTIENT function returns the integer portion of a division. Numerator is the divided number - * and denominator is the divisor. - * - * Excel Function: - * QUOTIENT(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function QUOTIENT() { - // Return value - $returnValue = null; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = ($arg == 0) ? 0 : $arg; - } else { - if (($returnValue == 0) || ($arg == 0)) { - $returnValue = 0; - } else { - $returnValue /= $arg; - } - } - } - } - - // Return - return intval($returnValue); - } // function QUOTIENT() - - - /** - * RAND - * - * @param int $min Minimal value - * @param int $max Maximal value - * @return int Random number - */ - public static function RAND($min = 0, $max = 0) { - $min = PHPExcel_Calculation_Functions::flattenSingleValue($min); - $max = PHPExcel_Calculation_Functions::flattenSingleValue($max); - - if ($min == 0 && $max == 0) { - return (rand(0,10000000)) / 10000000; - } else { - return rand($min, $max); - } - } // function RAND() - - - public static function ROMAN($aValue, $style=0) { - $aValue = PHPExcel_Calculation_Functions::flattenSingleValue($aValue); - $style = (is_null($style)) ? 0 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($style); - if ((!is_numeric($aValue)) || ($aValue < 0) || ($aValue >= 4000)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $aValue = (integer) $aValue; - if ($aValue == 0) { - return ''; - } - - $mill = Array('', 'M', 'MM', 'MMM', 'MMMM', 'MMMMM'); - $cent = Array('', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM'); - $tens = Array('', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC'); - $ones = Array('', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX'); - - $roman = ''; - while ($aValue > 5999) { - $roman .= 'M'; - $aValue -= 1000; - } - $m = self::_romanCut($aValue, 1000); $aValue %= 1000; - $c = self::_romanCut($aValue, 100); $aValue %= 100; - $t = self::_romanCut($aValue, 10); $aValue %= 10; - - return $roman.$mill[$m].$cent[$c].$tens[$t].$ones[$aValue]; - } // function ROMAN() - - - /** - * ROUNDUP - * - * Rounds a number up to a specified number of decimal places - * - * @param float $number Number to round - * @param int $digits Number of digits to which you want to round $number - * @return float Rounded Number - */ - public static function ROUNDUP($number,$digits) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $digits = PHPExcel_Calculation_Functions::flattenSingleValue($digits); - - if ((is_numeric($number)) && (is_numeric($digits))) { - $significance = pow(10,(int) $digits); - if ($number < 0.0) { - return floor($number * $significance) / $significance; - } else { - return ceil($number * $significance) / $significance; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ROUNDUP() - - - /** - * ROUNDDOWN - * - * Rounds a number down to a specified number of decimal places - * - * @param float $number Number to round - * @param int $digits Number of digits to which you want to round $number - * @return float Rounded Number - */ - public static function ROUNDDOWN($number,$digits) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $digits = PHPExcel_Calculation_Functions::flattenSingleValue($digits); - - if ((is_numeric($number)) && (is_numeric($digits))) { - $significance = pow(10,(int) $digits); - if ($number < 0.0) { - return ceil($number * $significance) / $significance; - } else { - return floor($number * $significance) / $significance; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ROUNDDOWN() - - - /** - * SERIESSUM - * - * Returns the sum of a power series - * - * @param float $x Input value to the power series - * @param float $n Initial power to which you want to raise $x - * @param float $m Step by which to increase $n for each term in the series - * @param array of mixed Data Series - * @return float - */ - public static function SERIESSUM() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - $x = array_shift($aArgs); - $n = array_shift($aArgs); - $m = array_shift($aArgs); - - if ((is_numeric($x)) && (is_numeric($n)) && (is_numeric($m))) { - // Calculate - $i = 0; - foreach($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue += $arg * pow($x,$n + ($m * $i++)); - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Return - return $returnValue; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SERIESSUM() - - - /** - * SIGN - * - * Determines the sign of a number. Returns 1 if the number is positive, zero (0) - * if the number is 0, and -1 if the number is negative. - * - * @param float $number Number to round - * @return int sign value - */ - public static function SIGN($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_bool($number)) - return (int) $number; - if (is_numeric($number)) { - if ($number == 0.0) { - return 0; - } - return $number / abs($number); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SIGN() - - - /** - * SQRTPI - * - * Returns the square root of (number * pi). - * - * @param float $number Number - * @return float Square Root of Number * Pi - */ - public static function SQRTPI($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_numeric($number)) { - if ($number < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return sqrt($number * M_PI) ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SQRTPI() - - - /** - * SUBTOTAL - * - * Returns a subtotal in a list or database. - * - * @param int the number 1 to 11 that specifies which function to - * use in calculating subtotals within a list. - * @param array of mixed Data Series - * @return float - */ - public static function SUBTOTAL() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $subtotal = array_shift($aArgs); - - if ((is_numeric($subtotal)) && (!is_string($subtotal))) { - switch($subtotal) { - case 1 : - return PHPExcel_Calculation_Statistical::AVERAGE($aArgs); - break; - case 2 : - return PHPExcel_Calculation_Statistical::COUNT($aArgs); - break; - case 3 : - return PHPExcel_Calculation_Statistical::COUNTA($aArgs); - break; - case 4 : - return PHPExcel_Calculation_Statistical::MAX($aArgs); - break; - case 5 : - return PHPExcel_Calculation_Statistical::MIN($aArgs); - break; - case 6 : - return self::PRODUCT($aArgs); - break; - case 7 : - return PHPExcel_Calculation_Statistical::STDEV($aArgs); - break; - case 8 : - return PHPExcel_Calculation_Statistical::STDEVP($aArgs); - break; - case 9 : - return self::SUM($aArgs); - break; - case 10 : - return PHPExcel_Calculation_Statistical::VARFunc($aArgs); - break; - case 11 : - return PHPExcel_Calculation_Statistical::VARP($aArgs); - break; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SUBTOTAL() - - - /** - * SUM - * - * SUM computes the sum of all the values and cells referenced in the argument list. - * - * Excel Function: - * SUM(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function SUM() { - // Return value - $returnValue = 0; - - // Loop through the arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue += $arg; - } - } - - // Return - return $returnValue; - } // function SUM() - - - /** - * SUMIF - * - * Counts the number of cells that contain numbers within the list of arguments - * - * Excel Function: - * SUMIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be summed. - * @return float - */ - public static function SUMIF($aArgs,$condition,$sumArgs = array()) { - // Return value - $returnValue = 0; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs); - if (empty($sumArgs)) { - $sumArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { - $arg = str_replace('"', '""', $arg); - $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); - } - - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - // Is it a value within our criteria - $returnValue += $sumArgs[$key]; - } - } - - // Return - return $returnValue; - } // function SUMIF() - - - /** - * SUMPRODUCT - * - * Excel Function: - * SUMPRODUCT(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function SUMPRODUCT() { - $arrayList = func_get_args(); - - $wrkArray = PHPExcel_Calculation_Functions::flattenArray(array_shift($arrayList)); - $wrkCellCount = count($wrkArray); - - for ($i=0; $i< $wrkCellCount; ++$i) { - if ((!is_numeric($wrkArray[$i])) || (is_string($wrkArray[$i]))) { - $wrkArray[$i] = 0; - } - } - - foreach($arrayList as $matrixData) { - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData); - $count = count($array2); - if ($wrkCellCount != $count) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - foreach ($array2 as $i => $val) { - if ((!is_numeric($val)) || (is_string($val))) { - $val = 0; - } - $wrkArray[$i] *= $val; - } - } - - return array_sum($wrkArray); - } // function SUMPRODUCT() - - - /** - * SUMSQ - * - * SUMSQ returns the sum of the squares of the arguments - * - * Excel Function: - * SUMSQ(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function SUMSQ() { - // Return value - $returnValue = 0; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue += ($arg * $arg); - } - } - - // Return - return $returnValue; - } // function SUMSQ() - - - /** - * SUMX2MY2 - * - * @param mixed[] $matrixData1 Matrix #1 - * @param mixed[] $matrixData2 Matrix #2 - * @return float - */ - public static function SUMX2MY2($matrixData1,$matrixData2) { - $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1); - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2); - $count1 = count($array1); - $count2 = count($array2); - if ($count1 < $count2) { - $count = $count1; - } else { - $count = $count2; - } - - $result = 0; - for ($i = 0; $i < $count; ++$i) { - if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) && - ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) { - $result += ($array1[$i] * $array1[$i]) - ($array2[$i] * $array2[$i]); - } - } - - return $result; - } // function SUMX2MY2() - - - /** - * SUMX2PY2 - * - * @param mixed[] $matrixData1 Matrix #1 - * @param mixed[] $matrixData2 Matrix #2 - * @return float - */ - public static function SUMX2PY2($matrixData1,$matrixData2) { - $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1); - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2); - $count1 = count($array1); - $count2 = count($array2); - if ($count1 < $count2) { - $count = $count1; - } else { - $count = $count2; - } - - $result = 0; - for ($i = 0; $i < $count; ++$i) { - if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) && - ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) { - $result += ($array1[$i] * $array1[$i]) + ($array2[$i] * $array2[$i]); - } - } - - return $result; - } // function SUMX2PY2() - - - /** - * SUMXMY2 - * - * @param mixed[] $matrixData1 Matrix #1 - * @param mixed[] $matrixData2 Matrix #2 - * @return float - */ - public static function SUMXMY2($matrixData1,$matrixData2) { - $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1); - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2); - $count1 = count($array1); - $count2 = count($array2); - if ($count1 < $count2) { - $count = $count1; - } else { - $count = $count2; - } - - $result = 0; - for ($i = 0; $i < $count; ++$i) { - if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) && - ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) { - $result += ($array1[$i] - $array2[$i]) * ($array1[$i] - $array2[$i]); - } - } - - return $result; - } // function SUMXMY2() - - - /** - * TRUNC - * - * Truncates value to the number of fractional digits by number_digits. - * - * @param float $value - * @param int $digits - * @return float Truncated value - */ - public static function TRUNC($value = 0, $digits = 0) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $digits = PHPExcel_Calculation_Functions::flattenSingleValue($digits); - - // Validate parameters - if ((!is_numeric($value)) || (!is_numeric($digits))) - return PHPExcel_Calculation_Functions::VALUE(); - $digits = floor($digits); - - // Truncate - $adjust = pow(10, $digits); - - if (($digits > 0) && (rtrim(intval((abs($value) - abs(intval($value))) * $adjust),'0') < $adjust/10)) - return $value; - - return (intval($value * $adjust)) / $adjust; - } // function TRUNC() - -} // class PHPExcel_Calculation_MathTrig diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Statistical.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Statistical.php deleted file mode 100644 index 67e1951c2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Statistical.php +++ /dev/null @@ -1,3651 +0,0 @@ - $value) { - if ((is_bool($value)) || (is_string($value)) || (is_null($value))) { - unset($array1[$key]); - unset($array2[$key]); - } - } - foreach($array2 as $key => $value) { - if ((is_bool($value)) || (is_string($value)) || (is_null($value))) { - unset($array1[$key]); - unset($array2[$key]); - } - } - $array1 = array_merge($array1); - $array2 = array_merge($array2); - - return True; - } // function _checkTrendArrays() - - - /** - * Beta function. - * - * @author Jaco van Kooten - * - * @param p require p>0 - * @param q require q>0 - * @return 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow - */ - private static function _beta($p, $q) { - if ($p <= 0.0 || $q <= 0.0 || ($p + $q) > LOG_GAMMA_X_MAX_VALUE) { - return 0.0; - } else { - return exp(self::_logBeta($p, $q)); - } - } // function _beta() - - - /** - * Incomplete beta function - * - * @author Jaco van Kooten - * @author Paul Meagher - * - * The computation is based on formulas from Numerical Recipes, Chapter 6.4 (W.H. Press et al, 1992). - * @param x require 0<=x<=1 - * @param p require p>0 - * @param q require q>0 - * @return 0 if x<0, p<=0, q<=0 or p+q>2.55E305 and 1 if x>1 to avoid errors and over/underflow - */ - private static function _incompleteBeta($x, $p, $q) { - if ($x <= 0.0) { - return 0.0; - } elseif ($x >= 1.0) { - return 1.0; - } elseif (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > LOG_GAMMA_X_MAX_VALUE)) { - return 0.0; - } - $beta_gam = exp((0 - self::_logBeta($p, $q)) + $p * log($x) + $q * log(1.0 - $x)); - if ($x < ($p + 1.0) / ($p + $q + 2.0)) { - return $beta_gam * self::_betaFraction($x, $p, $q) / $p; - } else { - return 1.0 - ($beta_gam * self::_betaFraction(1 - $x, $q, $p) / $q); - } - } // function _incompleteBeta() - - - // Function cache for _logBeta function - private static $_logBetaCache_p = 0.0; - private static $_logBetaCache_q = 0.0; - private static $_logBetaCache_result = 0.0; - - /** - * The natural logarithm of the beta function. - * - * @param p require p>0 - * @param q require q>0 - * @return 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow - * @author Jaco van Kooten - */ - private static function _logBeta($p, $q) { - if ($p != self::$_logBetaCache_p || $q != self::$_logBetaCache_q) { - self::$_logBetaCache_p = $p; - self::$_logBetaCache_q = $q; - if (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > LOG_GAMMA_X_MAX_VALUE)) { - self::$_logBetaCache_result = 0.0; - } else { - self::$_logBetaCache_result = self::_logGamma($p) + self::_logGamma($q) - self::_logGamma($p + $q); - } - } - return self::$_logBetaCache_result; - } // function _logBeta() - - - /** - * Evaluates of continued fraction part of incomplete beta function. - * Based on an idea from Numerical Recipes (W.H. Press et al, 1992). - * @author Jaco van Kooten - */ - private static function _betaFraction($x, $p, $q) { - $c = 1.0; - $sum_pq = $p + $q; - $p_plus = $p + 1.0; - $p_minus = $p - 1.0; - $h = 1.0 - $sum_pq * $x / $p_plus; - if (abs($h) < XMININ) { - $h = XMININ; - } - $h = 1.0 / $h; - $frac = $h; - $m = 1; - $delta = 0.0; - while ($m <= MAX_ITERATIONS && abs($delta-1.0) > PRECISION ) { - $m2 = 2 * $m; - // even index for d - $d = $m * ($q - $m) * $x / ( ($p_minus + $m2) * ($p + $m2)); - $h = 1.0 + $d * $h; - if (abs($h) < XMININ) { - $h = XMININ; - } - $h = 1.0 / $h; - $c = 1.0 + $d / $c; - if (abs($c) < XMININ) { - $c = XMININ; - } - $frac *= $h * $c; - // odd index for d - $d = -($p + $m) * ($sum_pq + $m) * $x / (($p + $m2) * ($p_plus + $m2)); - $h = 1.0 + $d * $h; - if (abs($h) < XMININ) { - $h = XMININ; - } - $h = 1.0 / $h; - $c = 1.0 + $d / $c; - if (abs($c) < XMININ) { - $c = XMININ; - } - $delta = $h * $c; - $frac *= $delta; - ++$m; - } - return $frac; - } // function _betaFraction() - - - /** - * logGamma function - * - * @version 1.1 - * @author Jaco van Kooten - * - * Original author was Jaco van Kooten. Ported to PHP by Paul Meagher. - * - * The natural logarithm of the gamma function.
- * Based on public domain NETLIB (Fortran) code by W. J. Cody and L. Stoltz
- * Applied Mathematics Division
- * Argonne National Laboratory
- * Argonne, IL 60439
- *

- * References: - *

    - *
  1. W. J. Cody and K. E. Hillstrom, 'Chebyshev Approximations for the Natural - * Logarithm of the Gamma Function,' Math. Comp. 21, 1967, pp. 198-203.
  2. - *
  3. K. E. Hillstrom, ANL/AMD Program ANLC366S, DGAMMA/DLGAMA, May, 1969.
  4. - *
  5. Hart, Et. Al., Computer Approximations, Wiley and sons, New York, 1968.
  6. - *
- *

- *

- * From the original documentation: - *

- *

- * This routine calculates the LOG(GAMMA) function for a positive real argument X. - * Computation is based on an algorithm outlined in references 1 and 2. - * The program uses rational functions that theoretically approximate LOG(GAMMA) - * to at least 18 significant decimal digits. The approximation for X > 12 is from - * reference 3, while approximations for X < 12.0 are similar to those in reference - * 1, but are unpublished. The accuracy achieved depends on the arithmetic system, - * the compiler, the intrinsic functions, and proper selection of the - * machine-dependent constants. - *

- *

- * Error returns:
- * The program returns the value XINF for X .LE. 0.0 or when overflow would occur. - * The computation is believed to be free of underflow and overflow. - *

- * @return MAX_VALUE for x < 0.0 or when overflow would occur, i.e. x > 2.55E305 - */ - - // Function cache for logGamma - private static $_logGammaCache_result = 0.0; - private static $_logGammaCache_x = 0.0; - - private static function _logGamma($x) { - // Log Gamma related constants - static $lg_d1 = -0.5772156649015328605195174; - static $lg_d2 = 0.4227843350984671393993777; - static $lg_d4 = 1.791759469228055000094023; - - static $lg_p1 = array( 4.945235359296727046734888, - 201.8112620856775083915565, - 2290.838373831346393026739, - 11319.67205903380828685045, - 28557.24635671635335736389, - 38484.96228443793359990269, - 26377.48787624195437963534, - 7225.813979700288197698961 ); - static $lg_p2 = array( 4.974607845568932035012064, - 542.4138599891070494101986, - 15506.93864978364947665077, - 184793.2904445632425417223, - 1088204.76946882876749847, - 3338152.967987029735917223, - 5106661.678927352456275255, - 3074109.054850539556250927 ); - static $lg_p4 = array( 14745.02166059939948905062, - 2426813.369486704502836312, - 121475557.4045093227939592, - 2663432449.630976949898078, - 29403789566.34553899906876, - 170266573776.5398868392998, - 492612579337.743088758812, - 560625185622.3951465078242 ); - - static $lg_q1 = array( 67.48212550303777196073036, - 1113.332393857199323513008, - 7738.757056935398733233834, - 27639.87074403340708898585, - 54993.10206226157329794414, - 61611.22180066002127833352, - 36351.27591501940507276287, - 8785.536302431013170870835 ); - static $lg_q2 = array( 183.0328399370592604055942, - 7765.049321445005871323047, - 133190.3827966074194402448, - 1136705.821321969608938755, - 5267964.117437946917577538, - 13467014.54311101692290052, - 17827365.30353274213975932, - 9533095.591844353613395747 ); - static $lg_q4 = array( 2690.530175870899333379843, - 639388.5654300092398984238, - 41355999.30241388052042842, - 1120872109.61614794137657, - 14886137286.78813811542398, - 101680358627.2438228077304, - 341747634550.7377132798597, - 446315818741.9713286462081 ); - - static $lg_c = array( -0.001910444077728, - 8.4171387781295e-4, - -5.952379913043012e-4, - 7.93650793500350248e-4, - -0.002777777777777681622553, - 0.08333333333333333331554247, - 0.0057083835261 ); - - // Rough estimate of the fourth root of logGamma_xBig - static $lg_frtbig = 2.25e76; - static $pnt68 = 0.6796875; - - - if ($x == self::$_logGammaCache_x) { - return self::$_logGammaCache_result; - } - $y = $x; - if ($y > 0.0 && $y <= LOG_GAMMA_X_MAX_VALUE) { - if ($y <= EPS) { - $res = -log(y); - } elseif ($y <= 1.5) { - // --------------------- - // EPS .LT. X .LE. 1.5 - // --------------------- - if ($y < $pnt68) { - $corr = -log($y); - $xm1 = $y; - } else { - $corr = 0.0; - $xm1 = $y - 1.0; - } - if ($y <= 0.5 || $y >= $pnt68) { - $xden = 1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm1 + $lg_p1[$i]; - $xden = $xden * $xm1 + $lg_q1[$i]; - } - $res = $corr + $xm1 * ($lg_d1 + $xm1 * ($xnum / $xden)); - } else { - $xm2 = $y - 1.0; - $xden = 1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm2 + $lg_p2[$i]; - $xden = $xden * $xm2 + $lg_q2[$i]; - } - $res = $corr + $xm2 * ($lg_d2 + $xm2 * ($xnum / $xden)); - } - } elseif ($y <= 4.0) { - // --------------------- - // 1.5 .LT. X .LE. 4.0 - // --------------------- - $xm2 = $y - 2.0; - $xden = 1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm2 + $lg_p2[$i]; - $xden = $xden * $xm2 + $lg_q2[$i]; - } - $res = $xm2 * ($lg_d2 + $xm2 * ($xnum / $xden)); - } elseif ($y <= 12.0) { - // ---------------------- - // 4.0 .LT. X .LE. 12.0 - // ---------------------- - $xm4 = $y - 4.0; - $xden = -1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm4 + $lg_p4[$i]; - $xden = $xden * $xm4 + $lg_q4[$i]; - } - $res = $lg_d4 + $xm4 * ($xnum / $xden); - } else { - // --------------------------------- - // Evaluate for argument .GE. 12.0 - // --------------------------------- - $res = 0.0; - if ($y <= $lg_frtbig) { - $res = $lg_c[6]; - $ysq = $y * $y; - for ($i = 0; $i < 6; ++$i) - $res = $res / $ysq + $lg_c[$i]; - } - $res /= $y; - $corr = log($y); - $res = $res + log(SQRT2PI) - 0.5 * $corr; - $res += $y * ($corr - 1.0); - } - } else { - // -------------------------- - // Return for bad arguments - // -------------------------- - $res = MAX_VALUE; - } - // ------------------------------ - // Final adjustments and return - // ------------------------------ - self::$_logGammaCache_x = $x; - self::$_logGammaCache_result = $res; - return $res; - } // function _logGamma() - - - // - // Private implementation of the incomplete Gamma function - // - private static function _incompleteGamma($a,$x) { - static $max = 32; - $summer = 0; - for ($n=0; $n<=$max; ++$n) { - $divisor = $a; - for ($i=1; $i<=$n; ++$i) { - $divisor *= ($a + $i); - } - $summer += (pow($x,$n) / $divisor); - } - return pow($x,$a) * exp(0-$x) * $summer; - } // function _incompleteGamma() - - - // - // Private implementation of the Gamma function - // - private static function _gamma($data) { - if ($data == 0.0) return 0; - - static $p0 = 1.000000000190015; - static $p = array ( 1 => 76.18009172947146, - 2 => -86.50532032941677, - 3 => 24.01409824083091, - 4 => -1.231739572450155, - 5 => 1.208650973866179e-3, - 6 => -5.395239384953e-6 - ); - - $y = $x = $data; - $tmp = $x + 5.5; - $tmp -= ($x + 0.5) * log($tmp); - - $summer = $p0; - for ($j=1;$j<=6;++$j) { - $summer += ($p[$j] / ++$y); - } - return exp(0 - $tmp + log(SQRT2PI * $summer / $x)); - } // function _gamma() - - - /*************************************************************************** - * inverse_ncdf.php - * ------------------- - * begin : Friday, January 16, 2004 - * copyright : (C) 2004 Michael Nickerson - * email : nickersonm@yahoo.com - * - ***************************************************************************/ - private static function _inverse_ncdf($p) { - // Inverse ncdf approximation by Peter J. Acklam, implementation adapted to - // PHP by Michael Nickerson, using Dr. Thomas Ziegler's C implementation as - // a guide. http://home.online.no/~pjacklam/notes/invnorm/index.html - // I have not checked the accuracy of this implementation. Be aware that PHP - // will truncate the coeficcients to 14 digits. - - // You have permission to use and distribute this function freely for - // whatever purpose you want, but please show common courtesy and give credit - // where credit is due. - - // Input paramater is $p - probability - where 0 < p < 1. - - // Coefficients in rational approximations - static $a = array( 1 => -3.969683028665376e+01, - 2 => 2.209460984245205e+02, - 3 => -2.759285104469687e+02, - 4 => 1.383577518672690e+02, - 5 => -3.066479806614716e+01, - 6 => 2.506628277459239e+00 - ); - - static $b = array( 1 => -5.447609879822406e+01, - 2 => 1.615858368580409e+02, - 3 => -1.556989798598866e+02, - 4 => 6.680131188771972e+01, - 5 => -1.328068155288572e+01 - ); - - static $c = array( 1 => -7.784894002430293e-03, - 2 => -3.223964580411365e-01, - 3 => -2.400758277161838e+00, - 4 => -2.549732539343734e+00, - 5 => 4.374664141464968e+00, - 6 => 2.938163982698783e+00 - ); - - static $d = array( 1 => 7.784695709041462e-03, - 2 => 3.224671290700398e-01, - 3 => 2.445134137142996e+00, - 4 => 3.754408661907416e+00 - ); - - // Define lower and upper region break-points. - $p_low = 0.02425; //Use lower region approx. below this - $p_high = 1 - $p_low; //Use upper region approx. above this - - if (0 < $p && $p < $p_low) { - // Rational approximation for lower region. - $q = sqrt(-2 * log($p)); - return ((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) / - (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1); - } elseif ($p_low <= $p && $p <= $p_high) { - // Rational approximation for central region. - $q = $p - 0.5; - $r = $q * $q; - return ((((($a[1] * $r + $a[2]) * $r + $a[3]) * $r + $a[4]) * $r + $a[5]) * $r + $a[6]) * $q / - ((((($b[1] * $r + $b[2]) * $r + $b[3]) * $r + $b[4]) * $r + $b[5]) * $r + 1); - } elseif ($p_high < $p && $p < 1) { - // Rational approximation for upper region. - $q = sqrt(-2 * log(1 - $p)); - return -((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) / - (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1); - } - // If 0 < p < 1, return a null value - return PHPExcel_Calculation_Functions::NULL(); - } // function _inverse_ncdf() - - - private static function _inverse_ncdf2($prob) { - // Approximation of inverse standard normal CDF developed by - // B. Moro, "The Full Monte," Risk 8(2), Feb 1995, 57-58. - - $a1 = 2.50662823884; - $a2 = -18.61500062529; - $a3 = 41.39119773534; - $a4 = -25.44106049637; - - $b1 = -8.4735109309; - $b2 = 23.08336743743; - $b3 = -21.06224101826; - $b4 = 3.13082909833; - - $c1 = 0.337475482272615; - $c2 = 0.976169019091719; - $c3 = 0.160797971491821; - $c4 = 2.76438810333863E-02; - $c5 = 3.8405729373609E-03; - $c6 = 3.951896511919E-04; - $c7 = 3.21767881768E-05; - $c8 = 2.888167364E-07; - $c9 = 3.960315187E-07; - - $y = $prob - 0.5; - if (abs($y) < 0.42) { - $z = ($y * $y); - $z = $y * ((($a4 * $z + $a3) * $z + $a2) * $z + $a1) / (((($b4 * $z + $b3) * $z + $b2) * $z + $b1) * $z + 1); - } else { - if ($y > 0) { - $z = log(-log(1 - $prob)); - } else { - $z = log(-log($prob)); - } - $z = $c1 + $z * ($c2 + $z * ($c3 + $z * ($c4 + $z * ($c5 + $z * ($c6 + $z * ($c7 + $z * ($c8 + $z * $c9))))))); - if ($y < 0) { - $z = -$z; - } - } - return $z; - } // function _inverse_ncdf2() - - - private static function _inverse_ncdf3($p) { - // ALGORITHM AS241 APPL. STATIST. (1988) VOL. 37, NO. 3. - // Produces the normal deviate Z corresponding to a given lower - // tail area of P; Z is accurate to about 1 part in 10**16. - // - // This is a PHP version of the original FORTRAN code that can - // be found at http://lib.stat.cmu.edu/apstat/ - $split1 = 0.425; - $split2 = 5; - $const1 = 0.180625; - $const2 = 1.6; - - // coefficients for p close to 0.5 - $a0 = 3.3871328727963666080; - $a1 = 1.3314166789178437745E+2; - $a2 = 1.9715909503065514427E+3; - $a3 = 1.3731693765509461125E+4; - $a4 = 4.5921953931549871457E+4; - $a5 = 6.7265770927008700853E+4; - $a6 = 3.3430575583588128105E+4; - $a7 = 2.5090809287301226727E+3; - - $b1 = 4.2313330701600911252E+1; - $b2 = 6.8718700749205790830E+2; - $b3 = 5.3941960214247511077E+3; - $b4 = 2.1213794301586595867E+4; - $b5 = 3.9307895800092710610E+4; - $b6 = 2.8729085735721942674E+4; - $b7 = 5.2264952788528545610E+3; - - // coefficients for p not close to 0, 0.5 or 1. - $c0 = 1.42343711074968357734; - $c1 = 4.63033784615654529590; - $c2 = 5.76949722146069140550; - $c3 = 3.64784832476320460504; - $c4 = 1.27045825245236838258; - $c5 = 2.41780725177450611770E-1; - $c6 = 2.27238449892691845833E-2; - $c7 = 7.74545014278341407640E-4; - - $d1 = 2.05319162663775882187; - $d2 = 1.67638483018380384940; - $d3 = 6.89767334985100004550E-1; - $d4 = 1.48103976427480074590E-1; - $d5 = 1.51986665636164571966E-2; - $d6 = 5.47593808499534494600E-4; - $d7 = 1.05075007164441684324E-9; - - // coefficients for p near 0 or 1. - $e0 = 6.65790464350110377720; - $e1 = 5.46378491116411436990; - $e2 = 1.78482653991729133580; - $e3 = 2.96560571828504891230E-1; - $e4 = 2.65321895265761230930E-2; - $e5 = 1.24266094738807843860E-3; - $e6 = 2.71155556874348757815E-5; - $e7 = 2.01033439929228813265E-7; - - $f1 = 5.99832206555887937690E-1; - $f2 = 1.36929880922735805310E-1; - $f3 = 1.48753612908506148525E-2; - $f4 = 7.86869131145613259100E-4; - $f5 = 1.84631831751005468180E-5; - $f6 = 1.42151175831644588870E-7; - $f7 = 2.04426310338993978564E-15; - - $q = $p - 0.5; - - // computation for p close to 0.5 - if (abs($q) <= split1) { - $R = $const1 - $q * $q; - $z = $q * ((((((($a7 * $R + $a6) * $R + $a5) * $R + $a4) * $R + $a3) * $R + $a2) * $R + $a1) * $R + $a0) / - ((((((($b7 * $R + $b6) * $R + $b5) * $R + $b4) * $R + $b3) * $R + $b2) * $R + $b1) * $R + 1); - } else { - if ($q < 0) { - $R = $p; - } else { - $R = 1 - $p; - } - $R = pow(-log($R),2); - - // computation for p not close to 0, 0.5 or 1. - If ($R <= $split2) { - $R = $R - $const2; - $z = ((((((($c7 * $R + $c6) * $R + $c5) * $R + $c4) * $R + $c3) * $R + $c2) * $R + $c1) * $R + $c0) / - ((((((($d7 * $R + $d6) * $R + $d5) * $R + $d4) * $R + $d3) * $R + $d2) * $R + $d1) * $R + 1); - } else { - // computation for p near 0 or 1. - $R = $R - $split2; - $z = ((((((($e7 * $R + $e6) * $R + $e5) * $R + $e4) * $R + $e3) * $R + $e2) * $R + $e1) * $R + $e0) / - ((((((($f7 * $R + $f6) * $R + $f5) * $R + $f4) * $R + $f3) * $R + $f2) * $R + $f1) * $R + 1); - } - if ($q < 0) { - $z = -$z; - } - } - return $z; - } // function _inverse_ncdf3() - - - /** - * AVEDEV - * - * Returns the average of the absolute deviations of data points from their mean. - * AVEDEV is a measure of the variability in a data set. - * - * Excel Function: - * AVEDEV(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function AVEDEV() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if ($aMean != PHPExcel_Calculation_Functions::DIV0()) { - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = abs($arg - $aMean); - } else { - $returnValue += abs($arg - $aMean); - } - ++$aCount; - } - } - - // Return - if ($aCount == 0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - return $returnValue / $aCount; - } - return PHPExcel_Calculation_Functions::NaN(); - } // function AVEDEV() - - - /** - * AVERAGE - * - * Returns the average (arithmetic mean) of the arguments - * - * Excel Function: - * AVERAGE(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function AVERAGE() { - $returnValue = $aCount = 0; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()) as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = $arg; - } else { - $returnValue += $arg; - } - ++$aCount; - } - } - - // Return - if ($aCount > 0) { - return $returnValue / $aCount; - } else { - return PHPExcel_Calculation_Functions::DIV0(); - } - } // function AVERAGE() - - - /** - * AVERAGEA - * - * Returns the average of its arguments, including numbers, text, and logical values - * - * Excel Function: - * AVERAGEA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function AVERAGEA() { - // Return value - $returnValue = null; - - $aCount = 0; - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()) as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if (is_null($returnValue)) { - $returnValue = $arg; - } else { - $returnValue += $arg; - } - ++$aCount; - } - } - } - - // Return - if ($aCount > 0) { - return $returnValue / $aCount; - } else { - return PHPExcel_Calculation_Functions::DIV0(); - } - } // function AVERAGEA() - - - /** - * AVERAGEIF - * - * Returns the average value from a range of cells that contain numbers within the list of arguments - * - * Excel Function: - * AVERAGEIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be checked. - * @param mixed[] $averageArgs Data values - * @return float - */ - public static function AVERAGEIF($aArgs,$condition,$averageArgs = array()) { - // Return value - $returnValue = 0; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $averageArgs = PHPExcel_Calculation_Functions::flattenArray($averageArgs); - if (empty($averageArgs)) { - $averageArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - $aCount = 0; - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue += $arg; - ++$aCount; - } - } - } - - // Return - if ($aCount > 0) { - return $returnValue / $aCount; - } else { - return PHPExcel_Calculation_Functions::DIV0(); - } - } // function AVERAGEIF() - - - /** - * BETADIST - * - * Returns the beta distribution. - * - * @param float $value Value at which you want to evaluate the distribution - * @param float $alpha Parameter to the distribution - * @param float $beta Parameter to the distribution - * @param boolean $cumulative - * @return float - * - */ - public static function BETADIST($value,$alpha,$beta,$rMin=0,$rMax=1) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - $rMin = PHPExcel_Calculation_Functions::flattenSingleValue($rMin); - $rMax = PHPExcel_Calculation_Functions::flattenSingleValue($rMax); - - if ((is_numeric($value)) && (is_numeric($alpha)) && (is_numeric($beta)) && (is_numeric($rMin)) && (is_numeric($rMax))) { - if (($value < $rMin) || ($value > $rMax) || ($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($rMin > $rMax) { - $tmp = $rMin; - $rMin = $rMax; - $rMax = $tmp; - } - $value -= $rMin; - $value /= ($rMax - $rMin); - return self::_incompleteBeta($value,$alpha,$beta); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BETADIST() - - - /** - * BETAINV - * - * Returns the inverse of the beta distribution. - * - * @param float $probability Probability at which you want to evaluate the distribution - * @param float $alpha Parameter to the distribution - * @param float $beta Parameter to the distribution - * @param float $rMin Minimum value - * @param float $rMax Maximum value - * @param boolean $cumulative - * @return float - * - */ - public static function BETAINV($probability,$alpha,$beta,$rMin=0,$rMax=1) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - $rMin = PHPExcel_Calculation_Functions::flattenSingleValue($rMin); - $rMax = PHPExcel_Calculation_Functions::flattenSingleValue($rMax); - - if ((is_numeric($probability)) && (is_numeric($alpha)) && (is_numeric($beta)) && (is_numeric($rMin)) && (is_numeric($rMax))) { - if (($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax) || ($probability <= 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($rMin > $rMax) { - $tmp = $rMin; - $rMin = $rMax; - $rMax = $tmp; - } - $a = 0; - $b = 2; - - $i = 0; - while ((($b - $a) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - $guess = ($a + $b) / 2; - $result = self::BETADIST($guess, $alpha, $beta); - if (($result == $probability) || ($result == 0)) { - $b = $a; - } elseif ($result > $probability) { - $b = $guess; - } else { - $a = $guess; - } - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return round($rMin + $guess * ($rMax - $rMin),12); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BETAINV() - - - /** - * BINOMDIST - * - * Returns the individual term binomial distribution probability. Use BINOMDIST in problems with - * a fixed number of tests or trials, when the outcomes of any trial are only success or failure, - * when trials are independent, and when the probability of success is constant throughout the - * experiment. For example, BINOMDIST can calculate the probability that two of the next three - * babies born are male. - * - * @param float $value Number of successes in trials - * @param float $trials Number of trials - * @param float $probability Probability of success on each trial - * @param boolean $cumulative - * @return float - * - * @todo Cumulative distribution function - * - */ - public static function BINOMDIST($value, $trials, $probability, $cumulative) { - $value = floor(PHPExcel_Calculation_Functions::flattenSingleValue($value)); - $trials = floor(PHPExcel_Calculation_Functions::flattenSingleValue($trials)); - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - - if ((is_numeric($value)) && (is_numeric($trials)) && (is_numeric($probability))) { - if (($value < 0) || ($value > $trials)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - $summer = 0; - for ($i = 0; $i <= $value; ++$i) { - $summer += PHPExcel_Calculation_MathTrig::COMBIN($trials,$i) * pow($probability,$i) * pow(1 - $probability,$trials - $i); - } - return $summer; - } else { - return PHPExcel_Calculation_MathTrig::COMBIN($trials,$value) * pow($probability,$value) * pow(1 - $probability,$trials - $value) ; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BINOMDIST() - - - /** - * CHIDIST - * - * Returns the one-tailed probability of the chi-squared distribution. - * - * @param float $value Value for the function - * @param float $degrees degrees of freedom - * @return float - */ - public static function CHIDIST($value, $degrees) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - - if ((is_numeric($value)) && (is_numeric($degrees))) { - if ($degrees < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($value < 0) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - return 1; - } - return PHPExcel_Calculation_Functions::NaN(); - } - return 1 - (self::_incompleteGamma($degrees/2,$value/2) / self::_gamma($degrees/2)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CHIDIST() - - - /** - * CHIINV - * - * Returns the one-tailed probability of the chi-squared distribution. - * - * @param float $probability Probability for the function - * @param float $degrees degrees of freedom - * @return float - */ - public static function CHIINV($probability, $degrees) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - - if ((is_numeric($probability)) && (is_numeric($degrees))) { - - $xLo = 100; - $xHi = 0; - - $x = $xNew = 1; - $dx = 1; - $i = 0; - - while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - // Apply Newton-Raphson step - $result = self::CHIDIST($x, $degrees); - $error = $result - $probability; - if ($error == 0.0) { - $dx = 0; - } elseif ($error < 0.0) { - $xLo = $x; - } else { - $xHi = $x; - } - // Avoid division by zero - if ($result != 0.0) { - $dx = $error / $result; - $xNew = $x - $dx; - } - // If the NR fails to converge (which for example may be the - // case if the initial guess is too rough) we apply a bisection - // step to determine a more narrow interval around the root. - if (($xNew < $xLo) || ($xNew > $xHi) || ($result == 0.0)) { - $xNew = ($xLo + $xHi) / 2; - $dx = $xNew - $x; - } - $x = $xNew; - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return round($x,12); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CHIINV() - - - /** - * CONFIDENCE - * - * Returns the confidence interval for a population mean - * - * @param float $alpha - * @param float $stdDev Standard Deviation - * @param float $size - * @return float - * - */ - public static function CONFIDENCE($alpha,$stdDev,$size) { - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - $size = floor(PHPExcel_Calculation_Functions::flattenSingleValue($size)); - - if ((is_numeric($alpha)) && (is_numeric($stdDev)) && (is_numeric($size))) { - if (($alpha <= 0) || ($alpha >= 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($stdDev <= 0) || ($size < 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return self::NORMSINV(1 - $alpha / 2) * $stdDev / sqrt($size); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CONFIDENCE() - - - /** - * CORREL - * - * Returns covariance, the average of the products of deviations for each data point pair. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function CORREL($yValues,$xValues=null) { - if ((is_null($xValues)) || (!is_array($yValues)) || (!is_array($xValues))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getCorrelation(); - } // function CORREL() - - - /** - * COUNT - * - * Counts the number of cells that contain numbers within the list of arguments - * - * Excel Function: - * COUNT(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return int - */ - public static function COUNT() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNT() - - - /** - * COUNTA - * - * Counts the number of cells that are not empty within the list of arguments - * - * Excel Function: - * COUNTA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return int - */ - public static function COUNTA() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric, boolean or string value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNTA() - - - /** - * COUNTBLANK - * - * Counts the number of empty cells within the list of arguments - * - * Excel Function: - * COUNTBLANK(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return int - */ - public static function COUNTBLANK() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a blank cell? - if ((is_null($arg)) || ((is_string($arg)) && ($arg == ''))) { - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNTBLANK() - - - /** - * COUNTIF - * - * Counts the number of cells that contain numbers within the list of arguments - * - * Excel Function: - * COUNTIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be counted. - * @return int - */ - public static function COUNTIF($aArgs,$condition) { - // Return value - $returnValue = 0; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - // Is it a value within our criteria - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNTIF() - - - /** - * COVAR - * - * Returns covariance, the average of the products of deviations for each data point pair. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function COVAR($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getCovariance(); - } // function COVAR() - - - /** - * CRITBINOM - * - * Returns the smallest value for which the cumulative binomial distribution is greater - * than or equal to a criterion value - * - * See http://support.microsoft.com/kb/828117/ for details of the algorithm used - * - * @param float $trials number of Bernoulli trials - * @param float $probability probability of a success on each trial - * @param float $alpha criterion value - * @return int - * - * @todo Warning. This implementation differs from the algorithm detailed on the MS - * web site in that $CumPGuessMinus1 = $CumPGuess - 1 rather than $CumPGuess - $PGuess - * This eliminates a potential endless loop error, but may have an adverse affect on the - * accuracy of the function (although all my tests have so far returned correct results). - * - */ - public static function CRITBINOM($trials, $probability, $alpha) { - $trials = floor(PHPExcel_Calculation_Functions::flattenSingleValue($trials)); - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - - if ((is_numeric($trials)) && (is_numeric($probability)) && (is_numeric($alpha))) { - if ($trials < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($alpha < 0) || ($alpha > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($alpha <= 0.5) { - $t = sqrt(log(1 / ($alpha * $alpha))); - $trialsApprox = 0 - ($t + (2.515517 + 0.802853 * $t + 0.010328 * $t * $t) / (1 + 1.432788 * $t + 0.189269 * $t * $t + 0.001308 * $t * $t * $t)); - } else { - $t = sqrt(log(1 / pow(1 - $alpha,2))); - $trialsApprox = $t - (2.515517 + 0.802853 * $t + 0.010328 * $t * $t) / (1 + 1.432788 * $t + 0.189269 * $t * $t + 0.001308 * $t * $t * $t); - } - $Guess = floor($trials * $probability + $trialsApprox * sqrt($trials * $probability * (1 - $probability))); - if ($Guess < 0) { - $Guess = 0; - } elseif ($Guess > $trials) { - $Guess = $trials; - } - - $TotalUnscaledProbability = $UnscaledPGuess = $UnscaledCumPGuess = 0.0; - $EssentiallyZero = 10e-12; - - $m = floor($trials * $probability); - ++$TotalUnscaledProbability; - if ($m == $Guess) { ++$UnscaledPGuess; } - if ($m <= $Guess) { ++$UnscaledCumPGuess; } - - $PreviousValue = 1; - $Done = False; - $k = $m + 1; - while ((!$Done) && ($k <= $trials)) { - $CurrentValue = $PreviousValue * ($trials - $k + 1) * $probability / ($k * (1 - $probability)); - $TotalUnscaledProbability += $CurrentValue; - if ($k == $Guess) { $UnscaledPGuess += $CurrentValue; } - if ($k <= $Guess) { $UnscaledCumPGuess += $CurrentValue; } - if ($CurrentValue <= $EssentiallyZero) { $Done = True; } - $PreviousValue = $CurrentValue; - ++$k; - } - - $PreviousValue = 1; - $Done = False; - $k = $m - 1; - while ((!$Done) && ($k >= 0)) { - $CurrentValue = $PreviousValue * $k + 1 * (1 - $probability) / (($trials - $k) * $probability); - $TotalUnscaledProbability += $CurrentValue; - if ($k == $Guess) { $UnscaledPGuess += $CurrentValue; } - if ($k <= $Guess) { $UnscaledCumPGuess += $CurrentValue; } - if ($CurrentValue <= $EssentiallyZero) { $Done = True; } - $PreviousValue = $CurrentValue; - --$k; - } - - $PGuess = $UnscaledPGuess / $TotalUnscaledProbability; - $CumPGuess = $UnscaledCumPGuess / $TotalUnscaledProbability; - -// $CumPGuessMinus1 = $CumPGuess - $PGuess; - $CumPGuessMinus1 = $CumPGuess - 1; - - while (True) { - if (($CumPGuessMinus1 < $alpha) && ($CumPGuess >= $alpha)) { - return $Guess; - } elseif (($CumPGuessMinus1 < $alpha) && ($CumPGuess < $alpha)) { - $PGuessPlus1 = $PGuess * ($trials - $Guess) * $probability / $Guess / (1 - $probability); - $CumPGuessMinus1 = $CumPGuess; - $CumPGuess = $CumPGuess + $PGuessPlus1; - $PGuess = $PGuessPlus1; - ++$Guess; - } elseif (($CumPGuessMinus1 >= $alpha) && ($CumPGuess >= $alpha)) { - $PGuessMinus1 = $PGuess * $Guess * (1 - $probability) / ($trials - $Guess + 1) / $probability; - $CumPGuess = $CumPGuessMinus1; - $CumPGuessMinus1 = $CumPGuessMinus1 - $PGuess; - $PGuess = $PGuessMinus1; - --$Guess; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CRITBINOM() - - - /** - * DEVSQ - * - * Returns the sum of squares of deviations of data points from their sample mean. - * - * Excel Function: - * DEVSQ(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function DEVSQ() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if ($aMean != PHPExcel_Calculation_Functions::DIV0()) { - $aCount = -1; - foreach ($aArgs as $k => $arg) { - // Is it a numeric value? - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - - // Return - if (is_null($returnValue)) { - return PHPExcel_Calculation_Functions::NaN(); - } else { - return $returnValue; - } - } - return self::NA(); - } // function DEVSQ() - - - /** - * EXPONDIST - * - * Returns the exponential distribution. Use EXPONDIST to model the time between events, - * such as how long an automated bank teller takes to deliver cash. For example, you can - * use EXPONDIST to determine the probability that the process takes at most 1 minute. - * - * @param float $value Value of the function - * @param float $lambda The parameter value - * @param boolean $cumulative - * @return float - */ - public static function EXPONDIST($value, $lambda, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $lambda = PHPExcel_Calculation_Functions::flattenSingleValue($lambda); - $cumulative = PHPExcel_Calculation_Functions::flattenSingleValue($cumulative); - - if ((is_numeric($value)) && (is_numeric($lambda))) { - if (($value < 0) || ($lambda < 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return 1 - exp(0-$value*$lambda); - } else { - return $lambda * exp(0-$value*$lambda); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function EXPONDIST() - - - /** - * FISHER - * - * Returns the Fisher transformation at x. This transformation produces a function that - * is normally distributed rather than skewed. Use this function to perform hypothesis - * testing on the correlation coefficient. - * - * @param float $value - * @return float - */ - public static function FISHER($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_numeric($value)) { - if (($value <= -1) || ($value >= 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return 0.5 * log((1+$value)/(1-$value)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FISHER() - - - /** - * FISHERINV - * - * Returns the inverse of the Fisher transformation. Use this transformation when - * analyzing correlations between ranges or arrays of data. If y = FISHER(x), then - * FISHERINV(y) = x. - * - * @param float $value - * @return float - */ - public static function FISHERINV($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_numeric($value)) { - return (exp(2 * $value) - 1) / (exp(2 * $value) + 1); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FISHERINV() - - - /** - * FORECAST - * - * Calculates, or predicts, a future value by using existing values. The predicted value is a y-value for a given x-value. - * - * @param float Value of X for which we want to find Y - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function FORECAST($xValue,$yValues,$xValues) { - $xValue = PHPExcel_Calculation_Functions::flattenSingleValue($xValue); - if (!is_numeric($xValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getValueOfYForX($xValue); - } // function FORECAST() - - - /** - * GAMMADIST - * - * Returns the gamma distribution. - * - * @param float $value Value at which you want to evaluate the distribution - * @param float $a Parameter to the distribution - * @param float $b Parameter to the distribution - * @param boolean $cumulative - * @return float - * - */ - public static function GAMMADIST($value,$a,$b,$cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $a = PHPExcel_Calculation_Functions::flattenSingleValue($a); - $b = PHPExcel_Calculation_Functions::flattenSingleValue($b); - - if ((is_numeric($value)) && (is_numeric($a)) && (is_numeric($b))) { - if (($value < 0) || ($a <= 0) || ($b <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return self::_incompleteGamma($a,$value / $b) / self::_gamma($a); - } else { - return (1 / (pow($b,$a) * self::_gamma($a))) * pow($value,$a-1) * exp(0-($value / $b)); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function GAMMADIST() - - - /** - * GAMMAINV - * - * Returns the inverse of the beta distribution. - * - * @param float $probability Probability at which you want to evaluate the distribution - * @param float $alpha Parameter to the distribution - * @param float $beta Parameter to the distribution - * @return float - * - */ - public static function GAMMAINV($probability,$alpha,$beta) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - - if ((is_numeric($probability)) && (is_numeric($alpha)) && (is_numeric($beta))) { - if (($alpha <= 0) || ($beta <= 0) || ($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $xLo = 0; - $xHi = $alpha * $beta * 5; - - $x = $xNew = 1; - $error = $pdf = 0; - $dx = 1024; - $i = 0; - - while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - // Apply Newton-Raphson step - $error = self::GAMMADIST($x, $alpha, $beta, True) - $probability; - if ($error < 0.0) { - $xLo = $x; - } else { - $xHi = $x; - } - $pdf = self::GAMMADIST($x, $alpha, $beta, False); - // Avoid division by zero - if ($pdf != 0.0) { - $dx = $error / $pdf; - $xNew = $x - $dx; - } - // If the NR fails to converge (which for example may be the - // case if the initial guess is too rough) we apply a bisection - // step to determine a more narrow interval around the root. - if (($xNew < $xLo) || ($xNew > $xHi) || ($pdf == 0.0)) { - $xNew = ($xLo + $xHi) / 2; - $dx = $xNew - $x; - } - $x = $xNew; - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return $x; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function GAMMAINV() - - - /** - * GAMMALN - * - * Returns the natural logarithm of the gamma function. - * - * @param float $value - * @return float - */ - public static function GAMMALN($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_numeric($value)) { - if ($value <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return log(self::_gamma($value)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function GAMMALN() - - - /** - * GEOMEAN - * - * Returns the geometric mean of an array or range of positive data. For example, you - * can use GEOMEAN to calculate average growth rate given compound interest with - * variable rates. - * - * Excel Function: - * GEOMEAN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function GEOMEAN() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - $aMean = PHPExcel_Calculation_MathTrig::PRODUCT($aArgs); - if (is_numeric($aMean) && ($aMean > 0)) { - $aCount = self::COUNT($aArgs) ; - if (self::MIN($aArgs) > 0) { - return pow($aMean, (1 / $aCount)); - } - } - return PHPExcel_Calculation_Functions::NaN(); - } // GEOMEAN() - - - /** - * GROWTH - * - * Returns values along a predicted emponential trend - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param array of mixed Values of X for which we want to find Y - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @return array of float - */ - public static function GROWTH($yValues,$xValues=array(),$newValues=array(),$const=True) { - $yValues = PHPExcel_Calculation_Functions::flattenArray($yValues); - $xValues = PHPExcel_Calculation_Functions::flattenArray($xValues); - $newValues = PHPExcel_Calculation_Functions::flattenArray($newValues); - $const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - - $bestFitExponential = trendClass::calculate(trendClass::TREND_EXPONENTIAL,$yValues,$xValues,$const); - if (empty($newValues)) { - $newValues = $bestFitExponential->getXValues(); - } - - $returnArray = array(); - foreach($newValues as $xValue) { - $returnArray[0][] = $bestFitExponential->getValueOfYForX($xValue); - } - - return $returnArray; - } // function GROWTH() - - - /** - * HARMEAN - * - * Returns the harmonic mean of a data set. The harmonic mean is the reciprocal of the - * arithmetic mean of reciprocals. - * - * Excel Function: - * HARMEAN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function HARMEAN() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::NA(); - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - if (self::MIN($aArgs) < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $aCount = 0; - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if ($arg <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (is_null($returnValue)) { - $returnValue = (1 / $arg); - } else { - $returnValue += (1 / $arg); - } - ++$aCount; - } - } - - // Return - if ($aCount > 0) { - return 1 / ($returnValue / $aCount); - } else { - return $returnValue; - } - } // function HARMEAN() - - - /** - * HYPGEOMDIST - * - * Returns the hypergeometric distribution. HYPGEOMDIST returns the probability of a given number of - * sample successes, given the sample size, population successes, and population size. - * - * @param float $sampleSuccesses Number of successes in the sample - * @param float $sampleNumber Size of the sample - * @param float $populationSuccesses Number of successes in the population - * @param float $populationNumber Population size - * @return float - * - */ - public static function HYPGEOMDIST($sampleSuccesses, $sampleNumber, $populationSuccesses, $populationNumber) { - $sampleSuccesses = floor(PHPExcel_Calculation_Functions::flattenSingleValue($sampleSuccesses)); - $sampleNumber = floor(PHPExcel_Calculation_Functions::flattenSingleValue($sampleNumber)); - $populationSuccesses = floor(PHPExcel_Calculation_Functions::flattenSingleValue($populationSuccesses)); - $populationNumber = floor(PHPExcel_Calculation_Functions::flattenSingleValue($populationNumber)); - - if ((is_numeric($sampleSuccesses)) && (is_numeric($sampleNumber)) && (is_numeric($populationSuccesses)) && (is_numeric($populationNumber))) { - if (($sampleSuccesses < 0) || ($sampleSuccesses > $sampleNumber) || ($sampleSuccesses > $populationSuccesses)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($sampleNumber <= 0) || ($sampleNumber > $populationNumber)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($populationSuccesses <= 0) || ($populationSuccesses > $populationNumber)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return PHPExcel_Calculation_MathTrig::COMBIN($populationSuccesses,$sampleSuccesses) * - PHPExcel_Calculation_MathTrig::COMBIN($populationNumber - $populationSuccesses,$sampleNumber - $sampleSuccesses) / - PHPExcel_Calculation_MathTrig::COMBIN($populationNumber,$sampleNumber); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function HYPGEOMDIST() - - - /** - * INTERCEPT - * - * Calculates the point at which a line will intersect the y-axis by using existing x-values and y-values. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function INTERCEPT($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getIntersect(); - } // function INTERCEPT() - - - /** - * KURT - * - * Returns the kurtosis of a data set. Kurtosis characterizes the relative peakedness - * or flatness of a distribution compared with the normal distribution. Positive - * kurtosis indicates a relatively peaked distribution. Negative kurtosis indicates a - * relatively flat distribution. - * - * @param array Data Series - * @return float - */ - public static function KURT() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $mean = self::AVERAGE($aArgs); - $stdDev = self::STDEV($aArgs); - - if ($stdDev > 0) { - $count = $summer = 0; - // Loop through arguments - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summer += pow((($arg - $mean) / $stdDev),4) ; - ++$count; - } - } - } - - // Return - if ($count > 3) { - return $summer * ($count * ($count+1) / (($count-1) * ($count-2) * ($count-3))) - (3 * pow($count-1,2) / (($count-2) * ($count-3))); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function KURT() - - - /** - * LARGE - * - * Returns the nth largest value in a data set. You can use this function to - * select a value based on its relative standing. - * - * Excel Function: - * LARGE(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param int $entry Position (ordered from the largest) in the array or range of data to return - * @return float - * - */ - public static function LARGE() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = floor(array_pop($aArgs)); - - if ((is_numeric($entry)) && (!is_string($entry))) { - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $count = self::COUNT($mArgs); - $entry = floor(--$entry); - if (($entry < 0) || ($entry >= $count) || ($count == 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - rsort($mArgs); - return $mArgs[$entry]; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function LARGE() - - - /** - * LINEST - * - * Calculates the statistics for a line by using the "least squares" method to calculate a straight line that best fits your data, - * and then returns an array that describes the line. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @param boolean A logical value specifying whether to return additional regression statistics. - * @return array - */ - public static function LINEST($yValues, $xValues = NULL, $const = TRUE, $stats = FALSE) { - $const = (is_null($const)) ? TRUE : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - $stats = (is_null($stats)) ? FALSE : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats); - if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues))); - - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return 0; - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues,$const); - if ($stats) { - return array( array( $bestFitLinear->getSlope(), - $bestFitLinear->getSlopeSE(), - $bestFitLinear->getGoodnessOfFit(), - $bestFitLinear->getF(), - $bestFitLinear->getSSRegression(), - ), - array( $bestFitLinear->getIntersect(), - $bestFitLinear->getIntersectSE(), - $bestFitLinear->getStdevOfResiduals(), - $bestFitLinear->getDFResiduals(), - $bestFitLinear->getSSResiduals() - ) - ); - } else { - return array( $bestFitLinear->getSlope(), - $bestFitLinear->getIntersect() - ); - } - } // function LINEST() - - - /** - * LOGEST - * - * Calculates an exponential curve that best fits the X and Y data series, - * and then returns an array that describes the line. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @param boolean A logical value specifying whether to return additional regression statistics. - * @return array - */ - public static function LOGEST($yValues,$xValues=null,$const=True,$stats=False) { - $const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - $stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats); - if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues))); - - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - foreach($yValues as $value) { - if ($value <= 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - } - - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return 1; - } - - $bestFitExponential = trendClass::calculate(trendClass::TREND_EXPONENTIAL,$yValues,$xValues,$const); - if ($stats) { - return array( array( $bestFitExponential->getSlope(), - $bestFitExponential->getSlopeSE(), - $bestFitExponential->getGoodnessOfFit(), - $bestFitExponential->getF(), - $bestFitExponential->getSSRegression(), - ), - array( $bestFitExponential->getIntersect(), - $bestFitExponential->getIntersectSE(), - $bestFitExponential->getStdevOfResiduals(), - $bestFitExponential->getDFResiduals(), - $bestFitExponential->getSSResiduals() - ) - ); - } else { - return array( $bestFitExponential->getSlope(), - $bestFitExponential->getIntersect() - ); - } - } // function LOGEST() - - - /** - * LOGINV - * - * Returns the inverse of the normal cumulative distribution - * - * @param float $probability - * @param float $mean - * @param float $stdDev - * @return float - * - * @todo Try implementing P J Acklam's refinement algorithm for greater - * accuracy if I can get my head round the mathematics - * (as described at) http://home.online.no/~pjacklam/notes/invnorm/ - */ - public static function LOGINV($probability, $mean, $stdDev) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($probability)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if (($probability < 0) || ($probability > 1) || ($stdDev <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return exp($mean + $stdDev * self::NORMSINV($probability)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function LOGINV() - - - /** - * LOGNORMDIST - * - * Returns the cumulative lognormal distribution of x, where ln(x) is normally distributed - * with parameters mean and standard_dev. - * - * @param float $value - * @param float $mean - * @param float $stdDev - * @return float - */ - public static function LOGNORMDIST($value, $mean, $stdDev) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if (($value <= 0) || ($stdDev <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return self::NORMSDIST((log($value) - $mean) / $stdDev); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function LOGNORMDIST() - - - /** - * MAX - * - * MAX returns the value of the element of the values passed that has the highest value, - * with negative numbers considered smaller than positive numbers. - * - * Excel Function: - * MAX(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MAX() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MAX() - - - /** - * MAXA - * - * Returns the greatest value in a list of arguments, including numbers, text, and logical values - * - * Excel Function: - * MAXA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MAXA() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MAXA() - - - /** - * MAXIF - * - * Counts the maximum value within a range of cells that contain numbers within the list of arguments - * - * Excel Function: - * MAXIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be checked. - * @return float - */ - public static function MAXIF($aArgs,$condition,$sumArgs = array()) { - // Return value - $returnValue = null; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs); - if (empty($sumArgs)) { - $sumArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - return $returnValue; - } // function MAXIF() - - - /** - * MEDIAN - * - * Returns the median of the given numbers. The median is the number in the middle of a set of numbers. - * - * Excel Function: - * MEDIAN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MEDIAN() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::NaN(); - - $mArgs = array(); - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - - $mValueCount = count($mArgs); - if ($mValueCount > 0) { - sort($mArgs,SORT_NUMERIC); - $mValueCount = $mValueCount / 2; - if ($mValueCount == floor($mValueCount)) { - $returnValue = ($mArgs[$mValueCount--] + $mArgs[$mValueCount]) / 2; - } else { - $mValueCount == floor($mValueCount); - $returnValue = $mArgs[$mValueCount]; - } - } - - // Return - return $returnValue; - } // function MEDIAN() - - - /** - * MIN - * - * MIN returns the value of the element of the values passed that has the smallest value, - * with negative numbers considered smaller than positive numbers. - * - * Excel Function: - * MIN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MIN() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if ((is_null($returnValue)) || ($arg < $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MIN() - - - /** - * MINA - * - * Returns the smallest value in a list of arguments, including numbers, text, and logical values - * - * Excel Function: - * MINA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MINA() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if ((is_null($returnValue)) || ($arg < $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MINA() - - - /** - * MINIF - * - * Returns the minimum value within a range of cells that contain numbers within the list of arguments - * - * Excel Function: - * MINIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be checked. - * @return float - */ - public static function MINIF($aArgs,$condition,$sumArgs = array()) { - // Return value - $returnValue = null; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs); - if (empty($sumArgs)) { - $sumArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - if ((is_null($returnValue)) || ($arg < $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - return $returnValue; - } // function MINIF() - - - // - // Special variant of array_count_values that isn't limited to strings and integers, - // but can work with floating point numbers as values - // - private static function _modeCalc($data) { - $frequencyArray = array(); - foreach($data as $datum) { - $found = False; - foreach($frequencyArray as $key => $value) { - if ((string) $value['value'] == (string) $datum) { - ++$frequencyArray[$key]['frequency']; - $found = True; - break; - } - } - if (!$found) { - $frequencyArray[] = array('value' => $datum, - 'frequency' => 1 ); - } - } - - foreach($frequencyArray as $key => $value) { - $frequencyList[$key] = $value['frequency']; - $valueList[$key] = $value['value']; - } - array_multisort($frequencyList, SORT_DESC, $valueList, SORT_ASC, SORT_NUMERIC, $frequencyArray); - - if ($frequencyArray[0]['frequency'] == 1) { - return PHPExcel_Calculation_Functions::NA(); - } - return $frequencyArray[0]['value']; - } // function _modeCalc() - - - /** - * MODE - * - * Returns the most frequently occurring, or repetitive, value in an array or range of data - * - * Excel Function: - * MODE(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MODE() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::NA(); - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - - if (!empty($mArgs)) { - return self::_modeCalc($mArgs); - } - - // Return - return $returnValue; - } // function MODE() - - - /** - * NEGBINOMDIST - * - * Returns the negative binomial distribution. NEGBINOMDIST returns the probability that - * there will be number_f failures before the number_s-th success, when the constant - * probability of a success is probability_s. This function is similar to the binomial - * distribution, except that the number of successes is fixed, and the number of trials is - * variable. Like the binomial, trials are assumed to be independent. - * - * @param float $failures Number of Failures - * @param float $successes Threshold number of Successes - * @param float $probability Probability of success on each trial - * @return float - * - */ - public static function NEGBINOMDIST($failures, $successes, $probability) { - $failures = floor(PHPExcel_Calculation_Functions::flattenSingleValue($failures)); - $successes = floor(PHPExcel_Calculation_Functions::flattenSingleValue($successes)); - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - - if ((is_numeric($failures)) && (is_numeric($successes)) && (is_numeric($probability))) { - if (($failures < 0) || ($successes < 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - if (($failures + $successes - 1) <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - } - return (PHPExcel_Calculation_MathTrig::COMBIN($failures + $successes - 1,$successes - 1)) * (pow($probability,$successes)) * (pow(1 - $probability,$failures)) ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function NEGBINOMDIST() - - - /** - * NORMDIST - * - * Returns the normal distribution for the specified mean and standard deviation. This - * function has a very wide range of applications in statistics, including hypothesis - * testing. - * - * @param float $value - * @param float $mean Mean Value - * @param float $stdDev Standard Deviation - * @param boolean $cumulative - * @return float - * - */ - public static function NORMDIST($value, $mean, $stdDev, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if ($stdDev < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return 0.5 * (1 + PHPExcel_Calculation_Engineering::_erfVal(($value - $mean) / ($stdDev * sqrt(2)))); - } else { - return (1 / (SQRT2PI * $stdDev)) * exp(0 - (pow($value - $mean,2) / (2 * ($stdDev * $stdDev)))); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function NORMDIST() - - - /** - * NORMINV - * - * Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. - * - * @param float $value - * @param float $mean Mean Value - * @param float $stdDev Standard Deviation - * @return float - * - */ - public static function NORMINV($probability,$mean,$stdDev) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($probability)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($stdDev < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return (self::_inverse_ncdf($probability) * $stdDev) + $mean; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function NORMINV() - - - /** - * NORMSDIST - * - * Returns the standard normal cumulative distribution function. The distribution has - * a mean of 0 (zero) and a standard deviation of one. Use this function in place of a - * table of standard normal curve areas. - * - * @param float $value - * @return float - */ - public static function NORMSDIST($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - return self::NORMDIST($value, 0, 1, True); - } // function NORMSDIST() - - - /** - * NORMSINV - * - * Returns the inverse of the standard normal cumulative distribution - * - * @param float $value - * @return float - */ - public static function NORMSINV($value) { - return self::NORMINV($value, 0, 1); - } // function NORMSINV() - - - /** - * PERCENTILE - * - * Returns the nth percentile of values in a range.. - * - * Excel Function: - * PERCENTILE(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param float $entry Percentile value in the range 0..1, inclusive. - * @return float - */ - public static function PERCENTILE() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = array_pop($aArgs); - - if ((is_numeric($entry)) && (!is_string($entry))) { - if (($entry < 0) || ($entry > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $mValueCount = count($mArgs); - if ($mValueCount > 0) { - sort($mArgs); - $count = self::COUNT($mArgs); - $index = $entry * ($count-1); - $iBase = floor($index); - if ($index == $iBase) { - return $mArgs[$index]; - } else { - $iNext = $iBase + 1; - $iProportion = $index - $iBase; - return $mArgs[$iBase] + (($mArgs[$iNext] - $mArgs[$iBase]) * $iProportion) ; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PERCENTILE() - - - /** - * PERCENTRANK - * - * Returns the rank of a value in a data set as a percentage of the data set. - * - * @param array of number An array of, or a reference to, a list of numbers. - * @param number The number whose rank you want to find. - * @param number The number of significant digits for the returned percentage value. - * @return float - */ - public static function PERCENTRANK($valueSet,$value,$significance=3) { - $valueSet = PHPExcel_Calculation_Functions::flattenArray($valueSet); - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $significance = (is_null($significance)) ? 3 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($significance); - - foreach($valueSet as $key => $valueEntry) { - if (!is_numeric($valueEntry)) { - unset($valueSet[$key]); - } - } - sort($valueSet,SORT_NUMERIC); - $valueCount = count($valueSet); - if ($valueCount == 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $valueAdjustor = $valueCount - 1; - if (($value < $valueSet[0]) || ($value > $valueSet[$valueAdjustor])) { - return PHPExcel_Calculation_Functions::NA(); - } - - $pos = array_search($value,$valueSet); - if ($pos === False) { - $pos = 0; - $testValue = $valueSet[0]; - while ($testValue < $value) { - $testValue = $valueSet[++$pos]; - } - --$pos; - $pos += (($value - $valueSet[$pos]) / ($testValue - $valueSet[$pos])); - } - - return round($pos / $valueAdjustor,$significance); - } // function PERCENTRANK() - - - /** - * PERMUT - * - * Returns the number of permutations for a given number of objects that can be - * selected from number objects. A permutation is any set or subset of objects or - * events where internal order is significant. Permutations are different from - * combinations, for which the internal order is not significant. Use this function - * for lottery-style probability calculations. - * - * @param int $numObjs Number of different objects - * @param int $numInSet Number of objects in each permutation - * @return int Number of permutations - */ - public static function PERMUT($numObjs,$numInSet) { - $numObjs = PHPExcel_Calculation_Functions::flattenSingleValue($numObjs); - $numInSet = PHPExcel_Calculation_Functions::flattenSingleValue($numInSet); - - if ((is_numeric($numObjs)) && (is_numeric($numInSet))) { - $numInSet = floor($numInSet); - if ($numObjs < $numInSet) { - return PHPExcel_Calculation_Functions::NaN(); - } - return round(PHPExcel_Calculation_MathTrig::FACT($numObjs) / PHPExcel_Calculation_MathTrig::FACT($numObjs - $numInSet)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PERMUT() - - - /** - * POISSON - * - * Returns the Poisson distribution. A common application of the Poisson distribution - * is predicting the number of events over a specific time, such as the number of - * cars arriving at a toll plaza in 1 minute. - * - * @param float $value - * @param float $mean Mean Value - * @param boolean $cumulative - * @return float - * - */ - public static function POISSON($value, $mean, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - - if ((is_numeric($value)) && (is_numeric($mean))) { - if (($value < 0) || ($mean <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - $summer = 0; - for ($i = 0; $i <= floor($value); ++$i) { - $summer += pow($mean,$i) / PHPExcel_Calculation_MathTrig::FACT($i); - } - return exp(0-$mean) * $summer; - } else { - return (exp(0-$mean) * pow($mean,$value)) / PHPExcel_Calculation_MathTrig::FACT($value); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function POISSON() - - - /** - * QUARTILE - * - * Returns the quartile of a data set. - * - * Excel Function: - * QUARTILE(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param int $entry Quartile value in the range 1..3, inclusive. - * @return float - */ - public static function QUARTILE() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = floor(array_pop($aArgs)); - - if ((is_numeric($entry)) && (!is_string($entry))) { - $entry /= 4; - if (($entry < 0) || ($entry > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return self::PERCENTILE($aArgs,$entry); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function QUARTILE() - - - /** - * RANK - * - * Returns the rank of a number in a list of numbers. - * - * @param number The number whose rank you want to find. - * @param array of number An array of, or a reference to, a list of numbers. - * @param mixed Order to sort the values in the value set - * @return float - */ - public static function RANK($value,$valueSet,$order=0) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $valueSet = PHPExcel_Calculation_Functions::flattenArray($valueSet); - $order = (is_null($order)) ? 0 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($order); - - foreach($valueSet as $key => $valueEntry) { - if (!is_numeric($valueEntry)) { - unset($valueSet[$key]); - } - } - - if ($order == 0) { - rsort($valueSet,SORT_NUMERIC); - } else { - sort($valueSet,SORT_NUMERIC); - } - $pos = array_search($value,$valueSet); - if ($pos === False) { - return PHPExcel_Calculation_Functions::NA(); - } - - return ++$pos; - } // function RANK() - - - /** - * RSQ - * - * Returns the square of the Pearson product moment correlation coefficient through data points in known_y's and known_x's. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function RSQ($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getGoodnessOfFit(); - } // function RSQ() - - - /** - * SKEW - * - * Returns the skewness of a distribution. Skewness characterizes the degree of asymmetry - * of a distribution around its mean. Positive skewness indicates a distribution with an - * asymmetric tail extending toward more positive values. Negative skewness indicates a - * distribution with an asymmetric tail extending toward more negative values. - * - * @param array Data Series - * @return float - */ - public static function SKEW() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $mean = self::AVERAGE($aArgs); - $stdDev = self::STDEV($aArgs); - - $count = $summer = 0; - // Loop through arguments - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summer += pow((($arg - $mean) / $stdDev),3) ; - ++$count; - } - } - } - - // Return - if ($count > 2) { - return $summer * ($count / (($count-1) * ($count-2))); - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function SKEW() - - - /** - * SLOPE - * - * Returns the slope of the linear regression line through data points in known_y's and known_x's. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function SLOPE($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getSlope(); - } // function SLOPE() - - - /** - * SMALL - * - * Returns the nth smallest value in a data set. You can use this function to - * select a value based on its relative standing. - * - * Excel Function: - * SMALL(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param int $entry Position (ordered from the smallest) in the array or range of data to return - * @return float - */ - public static function SMALL() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = array_pop($aArgs); - - if ((is_numeric($entry)) && (!is_string($entry))) { - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $count = self::COUNT($mArgs); - $entry = floor(--$entry); - if (($entry < 0) || ($entry >= $count) || ($count == 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - sort($mArgs); - return $mArgs[$entry]; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SMALL() - - - /** - * STANDARDIZE - * - * Returns a normalized value from a distribution characterized by mean and standard_dev. - * - * @param float $value Value to normalize - * @param float $mean Mean Value - * @param float $stdDev Standard Deviation - * @return float Standardized value - */ - public static function STANDARDIZE($value,$mean,$stdDev) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if ($stdDev <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return ($value - $mean) / $stdDev ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function STANDARDIZE() - - - /** - * STDEV - * - * Estimates standard deviation based on a sample. The standard deviation is a measure of how - * widely values are dispersed from the average value (the mean). - * - * Excel Function: - * STDEV(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEV() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if (!is_null($aMean)) { - $aCount = -1; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEV() - - - /** - * STDEVA - * - * Estimates standard deviation based on a sample, including numbers, text, and logical values - * - * Excel Function: - * STDEVA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEVA() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGEA($aArgs); - if (!is_null($aMean)) { - $aCount = -1; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEVA() - - - /** - * STDEVP - * - * Calculates standard deviation based on the entire population - * - * Excel Function: - * STDEVP(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEVP() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if (!is_null($aMean)) { - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEVP() - - - /** - * STDEVPA - * - * Calculates standard deviation based on the entire population, including numbers, text, and logical values - * - * Excel Function: - * STDEVPA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEVPA() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGEA($aArgs); - if (!is_null($aMean)) { - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEVPA() - - - /** - * STEYX - * - * Returns the standard error of the predicted y-value for each x in the regression. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function STEYX($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getStdevOfResiduals(); - } // function STEYX() - - - /** - * TDIST - * - * Returns the probability of Student's T distribution. - * - * @param float $value Value for the function - * @param float $degrees degrees of freedom - * @param float $tails number of tails (1 or 2) - * @return float - */ - public static function TDIST($value, $degrees, $tails) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - $tails = floor(PHPExcel_Calculation_Functions::flattenSingleValue($tails)); - - if ((is_numeric($value)) && (is_numeric($degrees)) && (is_numeric($tails))) { - if (($value < 0) || ($degrees < 1) || ($tails < 1) || ($tails > 2)) { - return PHPExcel_Calculation_Functions::NaN(); - } - // tdist, which finds the probability that corresponds to a given value - // of t with k degrees of freedom. This algorithm is translated from a - // pascal function on p81 of "Statistical Computing in Pascal" by D - // Cooke, A H Craven & G M Clark (1985: Edward Arnold (Pubs.) Ltd: - // London). The above Pascal algorithm is itself a translation of the - // fortran algoritm "AS 3" by B E Cooper of the Atlas Computer - // Laboratory as reported in (among other places) "Applied Statistics - // Algorithms", editied by P Griffiths and I D Hill (1985; Ellis - // Horwood Ltd.; W. Sussex, England). - $tterm = $degrees; - $ttheta = atan2($value,sqrt($tterm)); - $tc = cos($ttheta); - $ts = sin($ttheta); - $tsum = 0; - - if (($degrees % 2) == 1) { - $ti = 3; - $tterm = $tc; - } else { - $ti = 2; - $tterm = 1; - } - - $tsum = $tterm; - while ($ti < $degrees) { - $tterm *= $tc * $tc * ($ti - 1) / $ti; - $tsum += $tterm; - $ti += 2; - } - $tsum *= $ts; - if (($degrees % 2) == 1) { $tsum = M_2DIVPI * ($tsum + $ttheta); } - $tValue = 0.5 * (1 + $tsum); - if ($tails == 1) { - return 1 - abs($tValue); - } else { - return 1 - abs((1 - $tValue) - $tValue); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TDIST() - - - /** - * TINV - * - * Returns the one-tailed probability of the chi-squared distribution. - * - * @param float $probability Probability for the function - * @param float $degrees degrees of freedom - * @return float - */ - public static function TINV($probability, $degrees) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - - if ((is_numeric($probability)) && (is_numeric($degrees))) { - $xLo = 100; - $xHi = 0; - - $x = $xNew = 1; - $dx = 1; - $i = 0; - - while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - // Apply Newton-Raphson step - $result = self::TDIST($x, $degrees, 2); - $error = $result - $probability; - if ($error == 0.0) { - $dx = 0; - } elseif ($error < 0.0) { - $xLo = $x; - } else { - $xHi = $x; - } - // Avoid division by zero - if ($result != 0.0) { - $dx = $error / $result; - $xNew = $x - $dx; - } - // If the NR fails to converge (which for example may be the - // case if the initial guess is too rough) we apply a bisection - // step to determine a more narrow interval around the root. - if (($xNew < $xLo) || ($xNew > $xHi) || ($result == 0.0)) { - $xNew = ($xLo + $xHi) / 2; - $dx = $xNew - $x; - } - $x = $xNew; - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return round($x,12); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TINV() - - - /** - * TREND - * - * Returns values along a linear trend - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param array of mixed Values of X for which we want to find Y - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @return array of float - */ - public static function TREND($yValues,$xValues=array(),$newValues=array(),$const=True) { - $yValues = PHPExcel_Calculation_Functions::flattenArray($yValues); - $xValues = PHPExcel_Calculation_Functions::flattenArray($xValues); - $newValues = PHPExcel_Calculation_Functions::flattenArray($newValues); - $const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues,$const); - if (empty($newValues)) { - $newValues = $bestFitLinear->getXValues(); - } - - $returnArray = array(); - foreach($newValues as $xValue) { - $returnArray[0][] = $bestFitLinear->getValueOfYForX($xValue); - } - - return $returnArray; - } // function TREND() - - - /** - * TRIMMEAN - * - * Returns the mean of the interior of a data set. TRIMMEAN calculates the mean - * taken by excluding a percentage of data points from the top and bottom tails - * of a data set. - * - * Excel Function: - * TRIMEAN(value1[,value2[, ...]],$discard) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param float $discard Percentage to discard - * @return float - */ - public static function TRIMMEAN() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $percent = array_pop($aArgs); - - if ((is_numeric($percent)) && (!is_string($percent))) { - if (($percent < 0) || ($percent > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $discard = floor(self::COUNT($mArgs) * $percent / 2); - sort($mArgs); - for ($i=0; $i < $discard; ++$i) { - array_pop($mArgs); - array_shift($mArgs); - } - return self::AVERAGE($mArgs); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TRIMMEAN() - - - /** - * VARFunc - * - * Estimates variance based on a sample. - * - * Excel Function: - * VAR(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARFunc() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $aCount = 0; - foreach ($aArgs as $arg) { - if (is_bool($arg)) { $arg = (integer) $arg; } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - - // Return - if ($aCount > 1) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * ($aCount - 1)); - } - return $returnValue; - } // function VARFunc() - - - /** - * VARA - * - * Estimates variance based on a sample, including numbers, text, and logical values - * - * Excel Function: - * VARA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARA() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_string($arg)) && - (PHPExcel_Calculation_Functions::isValue($k))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ((is_string($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - } - - // Return - if ($aCount > 1) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * ($aCount - 1)); - } - return $returnValue; - } // function VARA() - - - /** - * VARP - * - * Calculates variance based on the entire population - * - * Excel Function: - * VARP(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARP() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $aCount = 0; - foreach ($aArgs as $arg) { - if (is_bool($arg)) { $arg = (integer) $arg; } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - - // Return - if ($aCount > 0) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * $aCount); - } - return $returnValue; - } // function VARP() - - - /** - * VARPA - * - * Calculates variance based on the entire population, including numbers, text, and logical values - * - * Excel Function: - * VARPA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARPA() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_string($arg)) && - (PHPExcel_Calculation_Functions::isValue($k))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ((is_string($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - } - - // Return - if ($aCount > 0) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * $aCount); - } - return $returnValue; - } // function VARPA() - - - /** - * WEIBULL - * - * Returns the Weibull distribution. Use this distribution in reliability - * analysis, such as calculating a device's mean time to failure. - * - * @param float $value - * @param float $alpha Alpha Parameter - * @param float $beta Beta Parameter - * @param boolean $cumulative - * @return float - * - */ - public static function WEIBULL($value, $alpha, $beta, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - - if ((is_numeric($value)) && (is_numeric($alpha)) && (is_numeric($beta))) { - if (($value < 0) || ($alpha <= 0) || ($beta <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return 1 - exp(0 - pow($value / $beta,$alpha)); - } else { - return ($alpha / pow($beta,$alpha)) * pow($value,$alpha - 1) * exp(0 - pow($value / $beta,$alpha)); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function WEIBULL() - - - /** - * ZTEST - * - * Returns the Weibull distribution. Use this distribution in reliability - * analysis, such as calculating a device's mean time to failure. - * - * @param float $dataSet - * @param float $m0 Alpha Parameter - * @param float $sigma Beta Parameter - * @param boolean $cumulative - * @return float - * - */ - public static function ZTEST($dataSet, $m0, $sigma = NULL) { - $dataSet = PHPExcel_Calculation_Functions::flattenArrayIndexed($dataSet); - $m0 = PHPExcel_Calculation_Functions::flattenSingleValue($m0); - $sigma = PHPExcel_Calculation_Functions::flattenSingleValue($sigma); - - if (is_null($sigma)) { - $sigma = self::STDEV($dataSet); - } - $n = count($dataSet); - - return 1 - self::NORMSDIST((self::AVERAGE($dataSet) - $m0)/($sigma/SQRT($n))); - } // function ZTEST() - -} // class PHPExcel_Calculation_Statistical diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/TextData.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/TextData.php deleted file mode 100644 index 7a52d2e7f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/TextData.php +++ /dev/null @@ -1,631 +0,0 @@ -=0 && ord($c{0}) <= 127) - return ord($c{0}); - if (ord($c{0}) >= 192 && ord($c{0}) <= 223) - return (ord($c{0})-192)*64 + (ord($c{1})-128); - if (ord($c{0}) >= 224 && ord($c{0}) <= 239) - return (ord($c{0})-224)*4096 + (ord($c{1})-128)*64 + (ord($c{2})-128); - if (ord($c{0}) >= 240 && ord($c{0}) <= 247) - return (ord($c{0})-240)*262144 + (ord($c{1})-128)*4096 + (ord($c{2})-128)*64 + (ord($c{3})-128); - if (ord($c{0}) >= 248 && ord($c{0}) <= 251) - return (ord($c{0})-248)*16777216 + (ord($c{1})-128)*262144 + (ord($c{2})-128)*4096 + (ord($c{3})-128)*64 + (ord($c{4})-128); - if (ord($c{0}) >= 252 && ord($c{0}) <= 253) - return (ord($c{0})-252)*1073741824 + (ord($c{1})-128)*16777216 + (ord($c{2})-128)*262144 + (ord($c{3})-128)*4096 + (ord($c{4})-128)*64 + (ord($c{5})-128); - if (ord($c{0}) >= 254 && ord($c{0}) <= 255) //error - return PHPExcel_Calculation_Functions::VALUE(); - return 0; - } // function _uniord() - - /** - * CHARACTER - * - * @param string $character Value - * @return int - */ - public static function CHARACTER($character) { - $character = PHPExcel_Calculation_Functions::flattenSingleValue($character); - - if ((!is_numeric($character)) || ($character < 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (function_exists('mb_convert_encoding')) { - return mb_convert_encoding('&#'.intval($character).';', 'UTF-8', 'HTML-ENTITIES'); - } else { - return chr(intval($character)); - } - } - - - /** - * TRIMNONPRINTABLE - * - * @param mixed $stringValue Value to check - * @return string - */ - public static function TRIMNONPRINTABLE($stringValue = '') { - $stringValue = PHPExcel_Calculation_Functions::flattenSingleValue($stringValue); - - if (is_bool($stringValue)) { - return ($stringValue) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (self::$_invalidChars == Null) { - self::$_invalidChars = range(chr(0),chr(31)); - } - - if (is_string($stringValue) || is_numeric($stringValue)) { - return str_replace(self::$_invalidChars, '', trim($stringValue, "\x00..\x1F")); - } - return NULL; - } // function TRIMNONPRINTABLE() - - - /** - * TRIMSPACES - * - * @param mixed $stringValue Value to check - * @return string - */ - public static function TRIMSPACES($stringValue = '') { - $stringValue = PHPExcel_Calculation_Functions::flattenSingleValue($stringValue); - - if (is_bool($stringValue)) { - return ($stringValue) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (is_string($stringValue) || is_numeric($stringValue)) { - return trim(preg_replace('/ +/',' ',trim($stringValue,' '))); - } - return NULL; - } // function TRIMSPACES() - - - /** - * ASCIICODE - * - * @param string $characters Value - * @return int - */ - public static function ASCIICODE($characters) { - if (($characters === NULL) || ($characters === '')) - return PHPExcel_Calculation_Functions::VALUE(); - $characters = PHPExcel_Calculation_Functions::flattenSingleValue($characters); - if (is_bool($characters)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $characters = (int) $characters; - } else { - $characters = ($characters) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - } - - $character = $characters; - if ((function_exists('mb_strlen')) && (function_exists('mb_substr'))) { - if (mb_strlen($characters, 'UTF-8') > 1) { $character = mb_substr($characters, 0, 1, 'UTF-8'); } - return self::_uniord($character); - } else { - if (strlen($characters) > 0) { $character = substr($characters, 0, 1); } - return ord($character); - } - } // function ASCIICODE() - - - /** - * CONCATENATE - * - * @return string - */ - public static function CONCATENATE() { - // Return value - $returnValue = ''; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - if (is_bool($arg)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $arg = (int) $arg; - } else { - $arg = ($arg) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - } - $returnValue .= $arg; - } - - // Return - return $returnValue; - } // function CONCATENATE() - - - /** - * DOLLAR - * - * This function converts a number to text using currency format, with the decimals rounded to the specified place. - * The format used is $#,##0.00_);($#,##0.00).. - * - * @param float $value The value to format - * @param int $decimals The number of digits to display to the right of the decimal point. - * If decimals is negative, number is rounded to the left of the decimal point. - * If you omit decimals, it is assumed to be 2 - * @return string - */ - public static function DOLLAR($value = 0, $decimals = 2) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $decimals = is_null($decimals) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($decimals); - - // Validate parameters - if (!is_numeric($value) || !is_numeric($decimals)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $decimals = floor($decimals); - - $mask = '$#,##0'; - if ($decimals > 0) { - $mask .= '.' . str_repeat('0',$decimals); - } else { - $round = pow(10,abs($decimals)); - if ($value < 0) { $round = 0-$round; } - $value = PHPExcel_Calculation_MathTrig::MROUND($value, $round); - } - - return PHPExcel_Style_NumberFormat::toFormattedString($value, $mask); - - } // function DOLLAR() - - - /** - * SEARCHSENSITIVE - * - * @param string $needle The string to look for - * @param string $haystack The string in which to look - * @param int $offset Offset within $haystack - * @return string - */ - public static function SEARCHSENSITIVE($needle,$haystack,$offset=1) { - $needle = PHPExcel_Calculation_Functions::flattenSingleValue($needle); - $haystack = PHPExcel_Calculation_Functions::flattenSingleValue($haystack); - $offset = PHPExcel_Calculation_Functions::flattenSingleValue($offset); - - if (!is_bool($needle)) { - if (is_bool($haystack)) { - $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (($offset > 0) && (PHPExcel_Shared_String::CountCharacters($haystack) > $offset)) { - if (PHPExcel_Shared_String::CountCharacters($needle) == 0) { - return $offset; - } - if (function_exists('mb_strpos')) { - $pos = mb_strpos($haystack, $needle, --$offset, 'UTF-8'); - } else { - $pos = strpos($haystack, $needle, --$offset); - } - if ($pos !== false) { - return ++$pos; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SEARCHSENSITIVE() - - - /** - * SEARCHINSENSITIVE - * - * @param string $needle The string to look for - * @param string $haystack The string in which to look - * @param int $offset Offset within $haystack - * @return string - */ - public static function SEARCHINSENSITIVE($needle,$haystack,$offset=1) { - $needle = PHPExcel_Calculation_Functions::flattenSingleValue($needle); - $haystack = PHPExcel_Calculation_Functions::flattenSingleValue($haystack); - $offset = PHPExcel_Calculation_Functions::flattenSingleValue($offset); - - if (!is_bool($needle)) { - if (is_bool($haystack)) { - $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (($offset > 0) && (PHPExcel_Shared_String::CountCharacters($haystack) > $offset)) { - if (PHPExcel_Shared_String::CountCharacters($needle) == 0) { - return $offset; - } - if (function_exists('mb_stripos')) { - $pos = mb_stripos($haystack, $needle, --$offset,'UTF-8'); - } else { - $pos = stripos($haystack, $needle, --$offset); - } - if ($pos !== false) { - return ++$pos; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SEARCHINSENSITIVE() - - - /** - * FIXEDFORMAT - * - * @param mixed $value Value to check - * @param integer $decimals - * @param boolean $no_commas - * @return boolean - */ - public static function FIXEDFORMAT($value, $decimals = 2, $no_commas = FALSE) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $decimals = PHPExcel_Calculation_Functions::flattenSingleValue($decimals); - $no_commas = PHPExcel_Calculation_Functions::flattenSingleValue($no_commas); - - // Validate parameters - if (!is_numeric($value) || !is_numeric($decimals)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $decimals = floor($decimals); - - $valueResult = round($value,$decimals); - if ($decimals < 0) { $decimals = 0; } - if (!$no_commas) { - $valueResult = number_format($valueResult,$decimals); - } - - return (string) $valueResult; - } // function FIXEDFORMAT() - - - /** - * LEFT - * - * @param string $value Value - * @param int $chars Number of characters - * @return string - */ - public static function LEFT($value = '', $chars = 1) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - - if ($chars < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (function_exists('mb_substr')) { - return mb_substr($value, 0, $chars, 'UTF-8'); - } else { - return substr($value, 0, $chars); - } - } // function LEFT() - - - /** - * MID - * - * @param string $value Value - * @param int $start Start character - * @param int $chars Number of characters - * @return string - */ - public static function MID($value = '', $start = 1, $chars = null) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $start = PHPExcel_Calculation_Functions::flattenSingleValue($start); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - - if (($start < 1) || ($chars < 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (function_exists('mb_substr')) { - return mb_substr($value, --$start, $chars, 'UTF-8'); - } else { - return substr($value, --$start, $chars); - } - } // function MID() - - - /** - * RIGHT - * - * @param string $value Value - * @param int $chars Number of characters - * @return string - */ - public static function RIGHT($value = '', $chars = 1) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - - if ($chars < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if ((function_exists('mb_substr')) && (function_exists('mb_strlen'))) { - return mb_substr($value, mb_strlen($value, 'UTF-8') - $chars, $chars, 'UTF-8'); - } else { - return substr($value, strlen($value) - $chars); - } - } // function RIGHT() - - - /** - * STRINGLENGTH - * - * @param string $value Value - * @return string - */ - public static function STRINGLENGTH($value = '') { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (function_exists('mb_strlen')) { - return mb_strlen($value, 'UTF-8'); - } else { - return strlen($value); - } - } // function STRINGLENGTH() - - - /** - * LOWERCASE - * - * Converts a string value to upper case. - * - * @param string $mixedCaseString - * @return string - */ - public static function LOWERCASE($mixedCaseString) { - $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString); - - if (is_bool($mixedCaseString)) { - $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - return PHPExcel_Shared_String::StrToLower($mixedCaseString); - } // function LOWERCASE() - - - /** - * UPPERCASE - * - * Converts a string value to upper case. - * - * @param string $mixedCaseString - * @return string - */ - public static function UPPERCASE($mixedCaseString) { - $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString); - - if (is_bool($mixedCaseString)) { - $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - return PHPExcel_Shared_String::StrToUpper($mixedCaseString); - } // function UPPERCASE() - - - /** - * PROPERCASE - * - * Converts a string value to upper case. - * - * @param string $mixedCaseString - * @return string - */ - public static function PROPERCASE($mixedCaseString) { - $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString); - - if (is_bool($mixedCaseString)) { - $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - return PHPExcel_Shared_String::StrToTitle($mixedCaseString); - } // function PROPERCASE() - - - /** - * REPLACE - * - * @param string $oldText String to modify - * @param int $start Start character - * @param int $chars Number of characters - * @param string $newText String to replace in defined position - * @return string - */ - public static function REPLACE($oldText = '', $start = 1, $chars = null, $newText) { - $oldText = PHPExcel_Calculation_Functions::flattenSingleValue($oldText); - $start = PHPExcel_Calculation_Functions::flattenSingleValue($start); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - $newText = PHPExcel_Calculation_Functions::flattenSingleValue($newText); - - $left = self::LEFT($oldText,$start-1); - $right = self::RIGHT($oldText,self::STRINGLENGTH($oldText)-($start+$chars)+1); - - return $left.$newText.$right; - } // function REPLACE() - - - /** - * SUBSTITUTE - * - * @param string $text Value - * @param string $fromText From Value - * @param string $toText To Value - * @param integer $instance Instance Number - * @return string - */ - public static function SUBSTITUTE($text = '', $fromText = '', $toText = '', $instance = 0) { - $text = PHPExcel_Calculation_Functions::flattenSingleValue($text); - $fromText = PHPExcel_Calculation_Functions::flattenSingleValue($fromText); - $toText = PHPExcel_Calculation_Functions::flattenSingleValue($toText); - $instance = floor(PHPExcel_Calculation_Functions::flattenSingleValue($instance)); - - if ($instance == 0) { - if(function_exists('mb_str_replace')) { - return mb_str_replace($fromText,$toText,$text); - } else { - return str_replace($fromText,$toText,$text); - } - } else { - $pos = -1; - while($instance > 0) { - if (function_exists('mb_strpos')) { - $pos = mb_strpos($text, $fromText, $pos+1, 'UTF-8'); - } else { - $pos = strpos($text, $fromText, $pos+1); - } - if ($pos === false) { - break; - } - --$instance; - } - if ($pos !== false) { - if (function_exists('mb_strlen')) { - return self::REPLACE($text,++$pos,mb_strlen($fromText, 'UTF-8'),$toText); - } else { - return self::REPLACE($text,++$pos,strlen($fromText),$toText); - } - } - } - - return $text; - } // function SUBSTITUTE() - - - /** - * RETURNSTRING - * - * @param mixed $testValue Value to check - * @return boolean - */ - public static function RETURNSTRING($testValue = '') { - $testValue = PHPExcel_Calculation_Functions::flattenSingleValue($testValue); - - if (is_string($testValue)) { - return $testValue; - } - return Null; - } // function RETURNSTRING() - - - /** - * TEXTFORMAT - * - * @param mixed $value Value to check - * @param string $format Format mask to use - * @return boolean - */ - public static function TEXTFORMAT($value,$format) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $format = PHPExcel_Calculation_Functions::flattenSingleValue($format); - - if ((is_string($value)) && (!is_numeric($value)) && PHPExcel_Shared_Date::isDateTimeFormatCode($format)) { - $value = PHPExcel_Calculation_DateTime::DATEVALUE($value); - } - - return (string) PHPExcel_Style_NumberFormat::toFormattedString($value,$format); - } // function TEXTFORMAT() - - /** - * VALUE - * - * @param mixed $value Value to check - * @return boolean - */ - public static function VALUE($value = '') { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (!is_numeric($value)) { - $numberValue = str_replace( - PHPExcel_Shared_String::getThousandsSeparator(), - '', - trim($value, " \t\n\r\0\x0B" . PHPExcel_Shared_String::getCurrencyCode()) - ); - if (is_numeric($numberValue)) { - return (float) $numberValue; - } - - $dateSetting = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - - if (strpos($value, ':') !== false) { - $timeValue = PHPExcel_Calculation_DateTime::TIMEVALUE($value); - if ($timeValue !== PHPExcel_Calculation_Functions::VALUE()) { - PHPExcel_Calculation_Functions::setReturnDateType($dateSetting); - return $timeValue; - } - } - $dateValue = PHPExcel_Calculation_DateTime::DATEVALUE($value); - if ($dateValue !== PHPExcel_Calculation_Functions::VALUE()) { - PHPExcel_Calculation_Functions::setReturnDateType($dateSetting); - return $dateValue; - } - PHPExcel_Calculation_Functions::setReturnDateType($dateSetting); - - return PHPExcel_Calculation_Functions::VALUE(); - } - return (float) $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Token/Stack.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Token/Stack.php deleted file mode 100644 index 57963e738..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Token/Stack.php +++ /dev/null @@ -1,115 +0,0 @@ -_count; - } // function count() - - /** - * Push a new entry onto the stack - * - * @param mixed $type - * @param mixed $value - * @param mixed $reference - */ - public function push($type, $value, $reference = NULL) { - $this->_stack[$this->_count++] = array('type' => $type, - 'value' => $value, - 'reference' => $reference - ); - if ($type == 'Function') { - $localeFunction = PHPExcel_Calculation::_localeFunc($value); - if ($localeFunction != $value) { - $this->_stack[($this->_count - 1)]['localeValue'] = $localeFunction; - } - } - } // function push() - - /** - * Pop the last entry from the stack - * - * @return mixed - */ - public function pop() { - if ($this->_count > 0) { - return $this->_stack[--$this->_count]; - } - return NULL; - } // function pop() - - /** - * Return an entry from the stack without removing it - * - * @param integer $n number indicating how far back in the stack we want to look - * @return mixed - */ - public function last($n = 1) { - if ($this->_count - $n < 0) { - return NULL; - } - return $this->_stack[$this->_count - $n]; - } // function last() - - /** - * Clear the stack - */ - function clear() { - $this->_stack = array(); - $this->_count = 0; - } - -} // class PHPExcel_Calculation_Token_Stack diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Token/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Token/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/Token/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/functionlist.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/functionlist.txt deleted file mode 100644 index 67dbd49cf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/functionlist.txt +++ /dev/null @@ -1,351 +0,0 @@ -ABS -ACCRINT -ACCRINTM -ACOS -ACOSH -ADDRESS -AMORDEGRC -AMORLINC -AND -AREAS -ASC -ASIN -ASINH -ATAN -ATAN2 -ATANH -AVEDEV -AVERAGE -AVERAGEA -AVERAGEIF -AVERAGEIFS -BAHTTEXT -BESSELI -BESSELJ -BESSELK -BESSELY -BETADIST -BETAINV -BIN2DEC -BIN2HEX -BIN2OCT -BINOMDIST -CEILING -CELL -CHAR -CHIDIST -CHIINV -CHITEST -CHOOSE -CLEAN -CODE -COLUMN -COLUMNS -COMBIN -COMPLEX -CONCATENATE -CONFIDENCE -CONVERT -CORREL -COS -COSH -COUNT -COUNTA -COUNTBLANK -COUNTIF -COUNTIFS -COUPDAYBS -COUPDAYBS -COUPDAYSNC -COUPNCD -COUPNUM -COUPPCD -COVAR -CRITBINOM -CUBEKPIMEMBER -CUBEMEMBER -CUBEMEMBERPROPERTY -CUBERANKEDMEMBER -CUBESET -CUBESETCOUNT -CUBEVALUE -CUMIPMT -CUMPRINC -DATE -DATEDIF -DATEVALUE -DAVERAGE -DAY -DAYS360 -DB -DCOUNT -DCOUNTA -DDB -DEC2BIN -DEC2HEX -DEC2OCT -DEGREES -DELTA -DEVSQ -DGET -DISC -DMAX -DMIN -DOLLAR -DOLLARDE -DOLLARFR -DPRODUCT -DSTDEV -DSTDEVP -DSUM -DURATION -DVAR -DVARP -EDATE -EFFECT -EOMONTH -ERF -ERFC -ERROR.TYPE -EVEN -EXACT -EXP -EXPONDIST -FACT -FACTDOUBLE -FALSE -FDIST -FIND -FINDB -FINV -FISHER -FISHERINV -FIXED -FLOOR -FORECAST -FREQUENCY -FTEST -FV -FVSCHEDULE -GAMAMDIST -GAMMAINV -GAMMALN -GCD -GEOMEAN -GESTEP -GETPIVOTDATA -GROWTH -HARMEAN -HEX2BIN -HEX2OCT -HLOOKUP -HOUR -HYPERLINK -HYPGEOMDIST -IF -IFERROR -IMABS -IMAGINARY -IMARGUMENT -IMCONJUGATE -IMCOS -IMEXP -IMLN -IMLOG10 -IMLOG2 -IMPOWER -IMPRODUCT -IMREAL -IMSIN -IMSQRT -IMSUB -IMSUM -INDEX -INDIRECT -INFO -INT -INTERCEPT -INTRATE -IPMT -IRR -ISBLANK -ISERR -ISERROR -ISEVEN -ISLOGICAL -ISNA -ISNONTEXT -ISNUMBER -ISODD -ISPMT -ISREF -ISTEXT -JIS -KURT -LARGE -LCM -LEFT -LEFTB -LEN -LENB -LINEST -LN -LOG -LOG10 -LOGEST -LOGINV -LOGNORMDIST -LOOKUP -LOWER -MATCH -MAX -MAXA -MDETERM -MDURATION -MEDIAN -MID -MIDB -MIN -MINA -MINUTE -MINVERSE -MIRR -MMULT -MOD -MODE -MONTH -MROUND -MULTINOMIAL -N -NA -NEGBINOMDIST -NETWORKDAYS -NOMINAL -NORMDIST -NORMINV -NORMSDIST -NORMSINV -NOT -NOW -NPER -NPV -OCT2BIN -OCT2DEC -OCT2HEX -ODD -ODDFPRICE -ODDFYIELD -ODDLPRICE -ODDLYIELD -OFFSET -OR -PEARSON -PERCENTILE -PERCENTRANK -PERMUT -PHONETIC -PI -PMT -POISSON -POWER -PPMT -PRICE -PRICEDISC -PRICEMAT -PROB -PRODUCT -PROPER -PV -QUARTILE -QUOTIENT -RADIANS -RAND -RANDBETWEEN -RANK -RATE -RECEIVED -REPLACE -REPLACEB -REPT -RIGHT -RIGHTB -ROMAN -ROUND -ROUNDDOWN -ROUNDUP -ROW -ROWS -RSQ -RTD -SEARCH -SEARCHB -SECOND -SERIESSUM -SIGN -SIN -SINH -SKEW -SLN -SLOPE -SMALL -SQRT -SQRTPI -STANDARDIZE -STDEV -STDEVA -STDEVP -STDEVPA -STEYX -SUBSTITUTE -SUBTOTAL -SUM -SUMIF -SUMIFS -SUMPRODUCT -SUMSQ -SUMX2MY2 -SUMX2PY2 -SUMXMY2 -SYD -T -TAN -TANH -TBILLEQ -TBILLPRICE -TBILLYIELD -TDIST -TEXT -TIME -TIMEVALUE -TINV -TODAY -TRANSPOSE -TREND -TRIM -TRIMMEAN -TRUE -TRUNC -TTEST -TYPE -UPPER -USDOLLAR -VALUE -VAR -VARA -VARP -VARPA -VDB -VERSION -VLOOKUP -WEEKDAY -WEEKNUM -WEIBULL -WORKDAY -XIRR -XNPV -YEAR -YEARFRAC -YIELD -YIELDDISC -YIELDMAT -ZTEST diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Calculation/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell.php deleted file mode 100644 index 2d5f9102d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell.php +++ /dev/null @@ -1,1022 +0,0 @@ -_parent->updateCacheData($this); - - return $this; - } - - public function detach() { - $this->_parent = NULL; - } - - public function attach(PHPExcel_CachedObjectStorage_CacheBase $parent) { - $this->_parent = $parent; - } - - - /** - * Create a new Cell - * - * @param mixed $pValue - * @param string $pDataType - * @param PHPExcel_Worksheet $pSheet - * @throws PHPExcel_Exception - */ - public function __construct($pValue = NULL, $pDataType = NULL, PHPExcel_Worksheet $pSheet = NULL) - { - // Initialise cell value - $this->_value = $pValue; - - // Set worksheet cache - $this->_parent = $pSheet->getCellCacheController(); - - // Set datatype? - if ($pDataType !== NULL) { - if ($pDataType == PHPExcel_Cell_DataType::TYPE_STRING2) - $pDataType = PHPExcel_Cell_DataType::TYPE_STRING; - $this->_dataType = $pDataType; - } elseif (!self::getValueBinder()->bindValue($this, $pValue)) { - throw new PHPExcel_Exception("Value could not be bound to cell."); - } - } - - /** - * Get cell coordinate column - * - * @return string - */ - public function getColumn() - { - return $this->_parent->getCurrentColumn(); - } - - /** - * Get cell coordinate row - * - * @return int - */ - public function getRow() - { - return $this->_parent->getCurrentRow(); - } - - /** - * Get cell coordinate - * - * @return string - */ - public function getCoordinate() - { - return $this->_parent->getCurrentAddress(); - } - - /** - * Get cell value - * - * @return mixed - */ - public function getValue() - { - return $this->_value; - } - - /** - * Get cell value with formatting - * - * @return string - */ - public function getFormattedValue() - { - return (string) PHPExcel_Style_NumberFormat::toFormattedString( - $this->getCalculatedValue(), - $this->getStyle() - ->getNumberFormat()->getFormatCode() - ); - } - - /** - * Set cell value - * - * Sets the value for a cell, automatically determining the datatype using the value binder - * - * @param mixed $pValue Value - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setValue($pValue = NULL) - { - if (!self::getValueBinder()->bindValue($this, $pValue)) { - throw new PHPExcel_Exception("Value could not be bound to cell."); - } - return $this; - } - - /** - * Set the value for a cell, with the explicit data type passed to the method (bypassing any use of the value binder) - * - * @param mixed $pValue Value - * @param string $pDataType Explicit data type - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setValueExplicit($pValue = NULL, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING) - { - // set the value according to data type - switch ($pDataType) { - case PHPExcel_Cell_DataType::TYPE_NULL: - $this->_value = $pValue; - break; - case PHPExcel_Cell_DataType::TYPE_STRING2: - $pDataType = PHPExcel_Cell_DataType::TYPE_STRING; - case PHPExcel_Cell_DataType::TYPE_STRING: - case PHPExcel_Cell_DataType::TYPE_INLINE: - $this->_value = PHPExcel_Cell_DataType::checkString($pValue); - break; - case PHPExcel_Cell_DataType::TYPE_NUMERIC: - $this->_value = (float)$pValue; - break; - case PHPExcel_Cell_DataType::TYPE_FORMULA: - $this->_value = (string)$pValue; - break; - case PHPExcel_Cell_DataType::TYPE_BOOL: - $this->_value = (bool)$pValue; - break; - case PHPExcel_Cell_DataType::TYPE_ERROR: - $this->_value = PHPExcel_Cell_DataType::checkErrorCode($pValue); - break; - default: - throw new PHPExcel_Exception('Invalid datatype: ' . $pDataType); - break; - } - - // set the datatype - $this->_dataType = $pDataType; - - return $this->notifyCacheController(); - } - - /** - * Get calculated cell value - * - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling - * - * @param boolean $resetLog Whether the calculation engine logger should be reset or not - * @return mixed - * @throws PHPExcel_Exception - */ - public function getCalculatedValue($resetLog = TRUE) - { -//echo 'Cell '.$this->getCoordinate().' value is a '.$this->_dataType.' with a value of '.$this->getValue().PHP_EOL; - if ($this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA) { - try { -//echo 'Cell value for '.$this->getCoordinate().' is a formula: Calculating value'.PHP_EOL; - $result = PHPExcel_Calculation::getInstance( - $this->getWorksheet()->getParent() - )->calculateCellValue($this,$resetLog); -//echo $this->getCoordinate().' calculation result is '.$result.PHP_EOL; - // We don't yet handle array returns - if (is_array($result)) { - while (is_array($result)) { - $result = array_pop($result); - } - } - } catch ( PHPExcel_Exception $ex ) { - if (($ex->getMessage() === 'Unable to access External Workbook') && ($this->_calculatedValue !== NULL)) { -//echo 'Returning fallback value of '.$this->_calculatedValue.' for cell '.$this->getCoordinate().PHP_EOL; - return $this->_calculatedValue; // Fallback for calculations referencing external files. - } -//echo 'Calculation Exception: '.$ex->getMessage().PHP_EOL; - $result = '#N/A'; - throw new PHPExcel_Calculation_Exception( - $this->getWorksheet()->getTitle().'!'.$this->getCoordinate().' -> '.$ex->getMessage() - ); - } - - if ($result === '#Not Yet Implemented') { -//echo 'Returning fallback value of '.$this->_calculatedValue.' for cell '.$this->getCoordinate().PHP_EOL; - return $this->_calculatedValue; // Fallback if calculation engine does not support the formula. - } -//echo 'Returning calculated value of '.$result.' for cell '.$this->getCoordinate().PHP_EOL; - return $result; - } elseif($this->_value instanceof PHPExcel_RichText) { -// echo 'Cell value for '.$this->getCoordinate().' is rich text: Returning data value of '.$this->_value.'
'; - return $this->_value->getPlainText(); - } -// echo 'Cell value for '.$this->getCoordinate().' is not a formula: Returning data value of '.$this->_value.'
'; - return $this->_value; - } - - /** - * Set old calculated value (cached) - * - * @param mixed $pValue Value - * @return PHPExcel_Cell - */ - public function setCalculatedValue($pValue = NULL) - { - if ($pValue !== NULL) { - $this->_calculatedValue = (is_numeric($pValue)) ? (float) $pValue : $pValue; - } - - return $this->notifyCacheController(); - } - - /** - * Get old calculated value (cached) - * This returns the value last calculated by MS Excel or whichever spreadsheet program was used to - * create the original spreadsheet file. - * Note that this value is not guaranteed to refelect the actual calculated value because it is - * possible that auto-calculation was disabled in the original spreadsheet, and underlying data - * values used by the formula have changed since it was last calculated. - * - * @return mixed - */ - public function getOldCalculatedValue() - { - return $this->_calculatedValue; - } - - /** - * Get cell data type - * - * @return string - */ - public function getDataType() - { - return $this->_dataType; - } - - /** - * Set cell data type - * - * @param string $pDataType - * @return PHPExcel_Cell - */ - public function setDataType($pDataType = PHPExcel_Cell_DataType::TYPE_STRING) - { - if ($pDataType == PHPExcel_Cell_DataType::TYPE_STRING2) - $pDataType = PHPExcel_Cell_DataType::TYPE_STRING; - - $this->_dataType = $pDataType; - - return $this->notifyCacheController(); - } - - /** - * Identify if the cell contains a formula - * - * @return boolean - */ - public function isFormula() - { - return $this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA; - } - - /** - * Does this cell contain Data validation rules? - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function hasDataValidation() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot check for data validation when cell is not bound to a worksheet'); - } - - return $this->getWorksheet()->dataValidationExists($this->getCoordinate()); - } - - /** - * Get Data validation rules - * - * @return PHPExcel_Cell_DataValidation - * @throws PHPExcel_Exception - */ - public function getDataValidation() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot get data validation for cell that is not bound to a worksheet'); - } - - return $this->getWorksheet()->getDataValidation($this->getCoordinate()); - } - - /** - * Set Data validation rules - * - * @param PHPExcel_Cell_DataValidation $pDataValidation - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setDataValidation(PHPExcel_Cell_DataValidation $pDataValidation = NULL) - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot set data validation for cell that is not bound to a worksheet'); - } - - $this->getWorksheet()->setDataValidation($this->getCoordinate(), $pDataValidation); - - return $this->notifyCacheController(); - } - - /** - * Does this cell contain a Hyperlink? - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function hasHyperlink() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot check for hyperlink when cell is not bound to a worksheet'); - } - - return $this->getWorksheet()->hyperlinkExists($this->getCoordinate()); - } - - /** - * Get Hyperlink - * - * @return PHPExcel_Cell_Hyperlink - * @throws PHPExcel_Exception - */ - public function getHyperlink() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot get hyperlink for cell that is not bound to a worksheet'); - } - - return $this->getWorksheet()->getHyperlink($this->getCoordinate()); - } - - /** - * Set Hyperlink - * - * @param PHPExcel_Cell_Hyperlink $pHyperlink - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setHyperlink(PHPExcel_Cell_Hyperlink $pHyperlink = NULL) - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot set hyperlink for cell that is not bound to a worksheet'); - } - - $this->getWorksheet()->setHyperlink($this->getCoordinate(), $pHyperlink); - - return $this->notifyCacheController(); - } - - /** - * Get parent worksheet - * - * @return PHPExcel_CachedObjectStorage_CacheBase - */ - public function getParent() { - return $this->_parent; - } - - /** - * Get parent worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_parent->getParent(); - } - - /** - * Is this cell in a merge range - * - * @return boolean - */ - public function isInMergeRange() { - return (boolean) $this->getMergeRange(); - } - - /** - * Is this cell the master (top left cell) in a merge range (that holds the actual data value) - * - * @return boolean - */ - public function isMergeRangeValueCell() { - if ($mergeRange = $this->getMergeRange()) { - $mergeRange = PHPExcel_Cell::splitRange($mergeRange); - list($startCell) = $mergeRange[0]; - if ($this->getCoordinate() === $startCell) { - return true; - } - } - return false; - } - - /** - * If this cell is in a merge range, then return the range - * - * @return string - */ - public function getMergeRange() { - foreach($this->getWorksheet()->getMergeCells() as $mergeRange) { - if ($this->isInRange($mergeRange)) { - return $mergeRange; - } - } - return false; - } - - /** - * Get cell style - * - * @return PHPExcel_Style - */ - public function getStyle() - { - return $this->getWorksheet()->getStyle($this->getCoordinate()); - } - - /** - * Re-bind parent - * - * @param PHPExcel_Worksheet $parent - * @return PHPExcel_Cell - */ - public function rebindParent(PHPExcel_Worksheet $parent) { - $this->_parent = $parent->getCellCacheController(); - - return $this->notifyCacheController(); - } - - /** - * Is cell in a specific range? - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return boolean - */ - public function isInRange($pRange = 'A1:A1') - { - list($rangeStart,$rangeEnd) = self::rangeBoundaries($pRange); - - // Translate properties - $myColumn = self::columnIndexFromString($this->getColumn()); - $myRow = $this->getRow(); - - // Verify if cell is in range - return (($rangeStart[0] <= $myColumn) && ($rangeEnd[0] >= $myColumn) && - ($rangeStart[1] <= $myRow) && ($rangeEnd[1] >= $myRow) - ); - } - - /** - * Coordinate from string - * - * @param string $pCoordinateString - * @return array Array containing column and row (indexes 0 and 1) - * @throws PHPExcel_Exception - */ - public static function coordinateFromString($pCoordinateString = 'A1') - { - if (preg_match("/^([$]?[A-Z]{1,3})([$]?\d{1,7})$/", $pCoordinateString, $matches)) { - return array($matches[1],$matches[2]); - } elseif ((strpos($pCoordinateString,':') !== FALSE) || (strpos($pCoordinateString,',') !== FALSE)) { - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells'); - } elseif ($pCoordinateString == '') { - throw new PHPExcel_Exception('Cell coordinate can not be zero-length string'); - } - - throw new PHPExcel_Exception('Invalid cell coordinate '.$pCoordinateString); - } - - /** - * Make string row, column or cell coordinate absolute - * - * @param string $pCoordinateString e.g. 'A' or '1' or 'A1' - * Note that this value can be a row or column reference as well as a cell reference - * @return string Absolute coordinate e.g. '$A' or '$1' or '$A$1' - * @throws PHPExcel_Exception - */ - public static function absoluteReference($pCoordinateString = 'A1') - { - if (strpos($pCoordinateString,':') === FALSE && strpos($pCoordinateString,',') === FALSE) { - // Split out any worksheet name from the reference - $worksheet = ''; - $cellAddress = explode('!',$pCoordinateString); - if (count($cellAddress) > 1) { - list($worksheet,$pCoordinateString) = $cellAddress; - } - if ($worksheet > '') $worksheet .= '!'; - - // Create absolute coordinate - if (ctype_digit($pCoordinateString)) { - return $worksheet . '$' . $pCoordinateString; - } elseif (ctype_alpha($pCoordinateString)) { - return $worksheet . '$' . strtoupper($pCoordinateString); - } - return $worksheet . self::absoluteCoordinate($pCoordinateString); - } - - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells'); - } - - /** - * Make string coordinate absolute - * - * @param string $pCoordinateString e.g. 'A1' - * @return string Absolute coordinate e.g. '$A$1' - * @throws PHPExcel_Exception - */ - public static function absoluteCoordinate($pCoordinateString = 'A1') - { - if (strpos($pCoordinateString,':') === FALSE && strpos($pCoordinateString,',') === FALSE) { - // Split out any worksheet name from the coordinate - $worksheet = ''; - $cellAddress = explode('!',$pCoordinateString); - if (count($cellAddress) > 1) { - list($worksheet,$pCoordinateString) = $cellAddress; - } - if ($worksheet > '') $worksheet .= '!'; - - // Create absolute coordinate - list($column, $row) = self::coordinateFromString($pCoordinateString); - $column = ltrim($column,'$'); - $row = ltrim($row,'$'); - return $worksheet . '$' . $column . '$' . $row; - } - - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells'); - } - - /** - * Split range into coordinate strings - * - * @param string $pRange e.g. 'B4:D9' or 'B4:D9,H2:O11' or 'B4' - * @return array Array containg one or more arrays containing one or two coordinate strings - * e.g. array('B4','D9') or array(array('B4','D9'),array('H2','O11')) - * or array('B4') - */ - public static function splitRange($pRange = 'A1:A1') - { - // Ensure $pRange is a valid range - if(empty($pRange)) { - $pRange = self::DEFAULT_RANGE; - } - - $exploded = explode(',', $pRange); - $counter = count($exploded); - for ($i = 0; $i < $counter; ++$i) { - $exploded[$i] = explode(':', $exploded[$i]); - } - return $exploded; - } - - /** - * Build range from coordinate strings - * - * @param array $pRange Array containg one or more arrays containing one or two coordinate strings - * @return string String representation of $pRange - * @throws PHPExcel_Exception - */ - public static function buildRange($pRange) - { - // Verify range - if (!is_array($pRange) || empty($pRange) || !is_array($pRange[0])) { - throw new PHPExcel_Exception('Range does not contain any information'); - } - - // Build range - $imploded = array(); - $counter = count($pRange); - for ($i = 0; $i < $counter; ++$i) { - $pRange[$i] = implode(':', $pRange[$i]); - } - $imploded = implode(',', $pRange); - - return $imploded; - } - - /** - * Calculate range boundaries - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return array Range coordinates array(Start Cell, End Cell) - * where Start Cell and End Cell are arrays (Column Number, Row Number) - */ - public static function rangeBoundaries($pRange = 'A1:A1') - { - // Ensure $pRange is a valid range - if(empty($pRange)) { - $pRange = self::DEFAULT_RANGE; - } - - // Uppercase coordinate - $pRange = strtoupper($pRange); - - // Extract range - if (strpos($pRange, ':') === FALSE) { - $rangeA = $rangeB = $pRange; - } else { - list($rangeA, $rangeB) = explode(':', $pRange); - } - - // Calculate range outer borders - $rangeStart = self::coordinateFromString($rangeA); - $rangeEnd = self::coordinateFromString($rangeB); - - // Translate column into index - $rangeStart[0] = self::columnIndexFromString($rangeStart[0]); - $rangeEnd[0] = self::columnIndexFromString($rangeEnd[0]); - - return array($rangeStart, $rangeEnd); - } - - /** - * Calculate range dimension - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return array Range dimension (width, height) - */ - public static function rangeDimension($pRange = 'A1:A1') - { - // Calculate range outer borders - list($rangeStart,$rangeEnd) = self::rangeBoundaries($pRange); - - return array( ($rangeEnd[0] - $rangeStart[0] + 1), ($rangeEnd[1] - $rangeStart[1] + 1) ); - } - - /** - * Calculate range boundaries - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return array Range coordinates array(Start Cell, End Cell) - * where Start Cell and End Cell are arrays (Column ID, Row Number) - */ - public static function getRangeBoundaries($pRange = 'A1:A1') - { - // Ensure $pRange is a valid range - if(empty($pRange)) { - $pRange = self::DEFAULT_RANGE; - } - - // Uppercase coordinate - $pRange = strtoupper($pRange); - - // Extract range - if (strpos($pRange, ':') === FALSE) { - $rangeA = $rangeB = $pRange; - } else { - list($rangeA, $rangeB) = explode(':', $pRange); - } - - return array( self::coordinateFromString($rangeA), self::coordinateFromString($rangeB)); - } - - /** - * Column index from string - * - * @param string $pString - * @return int Column index (base 1 !!!) - */ - public static function columnIndexFromString($pString = 'A') - { - // Using a lookup cache adds a slight memory overhead, but boosts speed - // caching using a static within the method is faster than a class static, - // though it's additional memory overhead - static $_indexCache = array(); - - if (isset($_indexCache[$pString])) - return $_indexCache[$pString]; - - // It's surprising how costly the strtoupper() and ord() calls actually are, so we use a lookup array rather than use ord() - // and make it case insensitive to get rid of the strtoupper() as well. Because it's a static, there's no significant - // memory overhead either - static $_columnLookup = array( - 'A' => 1, 'B' => 2, 'C' => 3, 'D' => 4, 'E' => 5, 'F' => 6, 'G' => 7, 'H' => 8, 'I' => 9, 'J' => 10, 'K' => 11, 'L' => 12, 'M' => 13, - 'N' => 14, 'O' => 15, 'P' => 16, 'Q' => 17, 'R' => 18, 'S' => 19, 'T' => 20, 'U' => 21, 'V' => 22, 'W' => 23, 'X' => 24, 'Y' => 25, 'Z' => 26, - 'a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5, 'f' => 6, 'g' => 7, 'h' => 8, 'i' => 9, 'j' => 10, 'k' => 11, 'l' => 12, 'm' => 13, - 'n' => 14, 'o' => 15, 'p' => 16, 'q' => 17, 'r' => 18, 's' => 19, 't' => 20, 'u' => 21, 'v' => 22, 'w' => 23, 'x' => 24, 'y' => 25, 'z' => 26 - ); - - // We also use the language construct isset() rather than the more costly strlen() function to match the length of $pString - // for improved performance - if (isset($pString{0})) { - if (!isset($pString{1})) { - $_indexCache[$pString] = $_columnLookup[$pString]; - return $_indexCache[$pString]; - } elseif(!isset($pString{2})) { - $_indexCache[$pString] = $_columnLookup[$pString{0}] * 26 + $_columnLookup[$pString{1}]; - return $_indexCache[$pString]; - } elseif(!isset($pString{3})) { - $_indexCache[$pString] = $_columnLookup[$pString{0}] * 676 + $_columnLookup[$pString{1}] * 26 + $_columnLookup[$pString{2}]; - return $_indexCache[$pString]; - } - } - throw new PHPExcel_Exception("Column string index can not be " . ((isset($pString{0})) ? "longer than 3 characters" : "empty")); - } - - /** - * String from columnindex - * - * @param int $pColumnIndex Column index (base 0 !!!) - * @return string - */ - public static function stringFromColumnIndex($pColumnIndex = 0) - { - // Using a lookup cache adds a slight memory overhead, but boosts speed - // caching using a static within the method is faster than a class static, - // though it's additional memory overhead - static $_indexCache = array(); - - if (!isset($_indexCache[$pColumnIndex])) { - // Determine column string - if ($pColumnIndex < 26) { - $_indexCache[$pColumnIndex] = chr(65 + $pColumnIndex); - } elseif ($pColumnIndex < 702) { - $_indexCache[$pColumnIndex] = chr(64 + ($pColumnIndex / 26)) . - chr(65 + $pColumnIndex % 26); - } else { - $_indexCache[$pColumnIndex] = chr(64 + (($pColumnIndex - 26) / 676)) . - chr(65 + ((($pColumnIndex - 26) % 676) / 26)) . - chr(65 + $pColumnIndex % 26); - } - } - return $_indexCache[$pColumnIndex]; - } - - /** - * Extract all cell references in range - * - * @param string $pRange Range (e.g. A1 or A1:C10 or A1:E10 A20:E25) - * @return array Array containing single cell references - */ - public static function extractAllCellReferencesInRange($pRange = 'A1') { - // Returnvalue - $returnValue = array(); - - // Explode spaces - $cellBlocks = explode(' ', str_replace('$', '', strtoupper($pRange))); - foreach ($cellBlocks as $cellBlock) { - // Single cell? - if (strpos($cellBlock,':') === FALSE && strpos($cellBlock,',') === FALSE) { - $returnValue[] = $cellBlock; - continue; - } - - // Range... - $ranges = self::splitRange($cellBlock); - foreach($ranges as $range) { - // Single cell? - if (!isset($range[1])) { - $returnValue[] = $range[0]; - continue; - } - - // Range... - list($rangeStart, $rangeEnd) = $range; - sscanf($rangeStart,'%[A-Z]%d', $startCol, $startRow); - sscanf($rangeEnd,'%[A-Z]%d', $endCol, $endRow); - $endCol++; - - // Current data - $currentCol = $startCol; - $currentRow = $startRow; - - // Loop cells - while ($currentCol != $endCol) { - while ($currentRow <= $endRow) { - $returnValue[] = $currentCol.$currentRow; - ++$currentRow; - } - ++$currentCol; - $currentRow = $startRow; - } - } - } - - // Sort the result by column and row - $sortKeys = array(); - foreach (array_unique($returnValue) as $coord) { - sscanf($coord,'%[A-Z]%d', $column, $row); - $sortKeys[sprintf('%3s%09d',$column,$row)] = $coord; - } - ksort($sortKeys); - - // Return value - return array_values($sortKeys); - } - - /** - * Compare 2 cells - * - * @param PHPExcel_Cell $a Cell a - * @param PHPExcel_Cell $b Cell b - * @return int Result of comparison (always -1 or 1, never zero!) - */ - public static function compareCells(PHPExcel_Cell $a, PHPExcel_Cell $b) - { - if ($a->getRow() < $b->getRow()) { - return -1; - } elseif ($a->getRow() > $b->getRow()) { - return 1; - } elseif (self::columnIndexFromString($a->getColumn()) < self::columnIndexFromString($b->getColumn())) { - return -1; - } else { - return 1; - } - } - - /** - * Get value binder to use - * - * @return PHPExcel_Cell_IValueBinder - */ - public static function getValueBinder() { - if (self::$_valueBinder === NULL) { - self::$_valueBinder = new PHPExcel_Cell_DefaultValueBinder(); - } - - return self::$_valueBinder; - } - - /** - * Set value binder to use - * - * @param PHPExcel_Cell_IValueBinder $binder - * @throws PHPExcel_Exception - */ - public static function setValueBinder(PHPExcel_Cell_IValueBinder $binder = NULL) { - if ($binder === NULL) { - throw new PHPExcel_Exception("A PHPExcel_Cell_IValueBinder is required for PHPExcel to function correctly."); - } - - self::$_valueBinder = $binder; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if ((is_object($value)) && ($key != '_parent')) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - - /** - * Get index to cellXf - * - * @return int - */ - public function getXfIndex() - { - return $this->_xfIndex; - } - - /** - * Set index to cellXf - * - * @param int $pValue - * @return PHPExcel_Cell - */ - public function setXfIndex($pValue = 0) - { - $this->_xfIndex = $pValue; - - return $this->notifyCacheController(); - } - - /** - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling - */ - public function setFormulaAttributes($pAttributes) - { - $this->_formulaAttributes = $pAttributes; - return $this; - } - - /** - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling - */ - public function getFormulaAttributes() - { - return $this->_formulaAttributes; - } - - /** - * Convert to string - * - * @return string - */ - public function __toString() - { - return (string) $this->getValue(); - } - -} - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/AdvancedValueBinder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/AdvancedValueBinder.php deleted file mode 100644 index f4280ac49..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/AdvancedValueBinder.php +++ /dev/null @@ -1,192 +0,0 @@ -setValueExplicit( TRUE, PHPExcel_Cell_DataType::TYPE_BOOL); - return true; - } elseif($value == PHPExcel_Calculation::getFALSE()) { - $cell->setValueExplicit( FALSE, PHPExcel_Cell_DataType::TYPE_BOOL); - return true; - } - - // Check for number in scientific format - if (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NUMBER.'$/', $value)) { - $cell->setValueExplicit( (float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - return true; - } - - // Check for fraction - if (preg_match('/^([+-]?)\s*([0-9]+)\s?\/\s*([0-9]+)$/', $value, $matches)) { - // Convert value to number - $value = $matches[2] / $matches[3]; - if ($matches[1] == '-') $value = 0 - $value; - $cell->setValueExplicit( (float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( '??/??' ); - return true; - } elseif (preg_match('/^([+-]?)([0-9]*) +([0-9]*)\s?\/\s*([0-9]*)$/', $value, $matches)) { - // Convert value to number - $value = $matches[2] + ($matches[3] / $matches[4]); - if ($matches[1] == '-') $value = 0 - $value; - $cell->setValueExplicit( (float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( '# ??/??' ); - return true; - } - - // Check for percentage - if (preg_match('/^\-?[0-9]*\.?[0-9]*\s?\%$/', $value)) { - // Convert value to number - $value = (float) str_replace('%', '', $value) / 100; - $cell->setValueExplicit( $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00 ); - return true; - } - - // Check for currency - $currencyCode = PHPExcel_Shared_String::getCurrencyCode(); - $decimalSeparator = PHPExcel_Shared_String::getDecimalSeparator(); - $thousandsSeparator = PHPExcel_Shared_String::getThousandsSeparator(); - if (preg_match('/^'.preg_quote($currencyCode).' *(\d{1,3}('.preg_quote($thousandsSeparator).'\d{3})*|(\d+))('.preg_quote($decimalSeparator).'\d{2})?$/', $value)) { - // Convert value to number - $value = (float) trim(str_replace(array($currencyCode, $thousandsSeparator, $decimalSeparator), array('', '', '.'), $value)); - $cell->setValueExplicit( $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( - str_replace('$', $currencyCode, PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE ) - ); - return true; - } elseif (preg_match('/^\$ *(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$/', $value)) { - // Convert value to number - $value = (float) trim(str_replace(array('$',','), '', $value)); - $cell->setValueExplicit( $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE ); - return true; - } - - // Check for time without seconds e.g. '9:45', '09:45' - if (preg_match('/^(\d|[0-1]\d|2[0-3]):[0-5]\d$/', $value)) { - // Convert value to number - list($h, $m) = explode(':', $value); - $days = $h / 24 + $m / 1440; - $cell->setValueExplicit($days, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME3 ); - return true; - } - - // Check for time with seconds '9:45:59', '09:45:59' - if (preg_match('/^(\d|[0-1]\d|2[0-3]):[0-5]\d:[0-5]\d$/', $value)) { - // Convert value to number - list($h, $m, $s) = explode(':', $value); - $days = $h / 24 + $m / 1440 + $s / 86400; - // Convert value to number - $cell->setValueExplicit($days, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4 ); - return true; - } - - // Check for datetime, e.g. '2008-12-31', '2008-12-31 15:59', '2008-12-31 15:59:10' - if (($d = PHPExcel_Shared_Date::stringToExcel($value)) !== false) { - // Convert value to number - $cell->setValueExplicit($d, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Determine style. Either there is a time part or not. Look for ':' - if (strpos($value, ':') !== false) { - $formatCode = 'yyyy-mm-dd h:mm'; - } else { - $formatCode = 'yyyy-mm-dd'; - } - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode($formatCode); - return true; - } - - // Check for newline character "\n" - if (strpos($value, "\n") !== FALSE) { - $value = PHPExcel_Shared_String::SanitizeUTF8($value); - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_STRING); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getAlignment()->setWrapText(TRUE); - return true; - } - } - - // Not bound yet? Use parent... - return parent::bindValue($cell, $value); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DataType.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DataType.php deleted file mode 100644 index 07e148a50..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DataType.php +++ /dev/null @@ -1,122 +0,0 @@ - 0, - '#DIV/0!' => 1, - '#VALUE!' => 2, - '#REF!' => 3, - '#NAME?' => 4, - '#NUM!' => 5, - '#N/A' => 6 - ); - - /** - * Get list of error codes - * - * @return array - */ - public static function getErrorCodes() { - return self::$_errorCodes; - } - - /** - * DataType for value - * - * @deprecated Replaced by PHPExcel_Cell_IValueBinder infrastructure, will be removed in version 1.8.0 - * @param mixed $pValue - * @return string - */ - public static function dataTypeForValue($pValue = null) { - return PHPExcel_Cell_DefaultValueBinder::dataTypeForValue($pValue); - } - - /** - * Check a string that it satisfies Excel requirements - * - * @param mixed Value to sanitize to an Excel string - * @return mixed Sanitized value - */ - public static function checkString($pValue = null) - { - if ($pValue instanceof PHPExcel_RichText) { - // TODO: Sanitize Rich-Text string (max. character count is 32,767) - return $pValue; - } - - // string must never be longer than 32,767 characters, truncate if necessary - $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 32767); - - // we require that newline is represented as "\n" in core, not as "\r\n" or "\r" - $pValue = str_replace(array("\r\n", "\r"), "\n", $pValue); - - return $pValue; - } - - /** - * Check a value that it is a valid error code - * - * @param mixed Value to sanitize to an Excel error code - * @return string Sanitized value - */ - public static function checkErrorCode($pValue = null) - { - $pValue = (string) $pValue; - - if ( !array_key_exists($pValue, self::$_errorCodes) ) { - $pValue = '#NULL!'; - } - - return $pValue; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DataValidation.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DataValidation.php deleted file mode 100644 index 538ecd1fb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DataValidation.php +++ /dev/null @@ -1,472 +0,0 @@ -_formula1 = ''; - $this->_formula2 = ''; - $this->_type = PHPExcel_Cell_DataValidation::TYPE_NONE; - $this->_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP; - $this->_operator = ''; - $this->_allowBlank = FALSE; - $this->_showDropDown = FALSE; - $this->_showInputMessage = FALSE; - $this->_showErrorMessage = FALSE; - $this->_errorTitle = ''; - $this->_error = ''; - $this->_promptTitle = ''; - $this->_prompt = ''; - } - - /** - * Get Formula 1 - * - * @return string - */ - public function getFormula1() { - return $this->_formula1; - } - - /** - * Set Formula 1 - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setFormula1($value = '') { - $this->_formula1 = $value; - return $this; - } - - /** - * Get Formula 2 - * - * @return string - */ - public function getFormula2() { - return $this->_formula2; - } - - /** - * Set Formula 2 - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setFormula2($value = '') { - $this->_formula2 = $value; - return $this; - } - - /** - * Get Type - * - * @return string - */ - public function getType() { - return $this->_type; - } - - /** - * Set Type - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setType($value = PHPExcel_Cell_DataValidation::TYPE_NONE) { - $this->_type = $value; - return $this; - } - - /** - * Get Error style - * - * @return string - */ - public function getErrorStyle() { - return $this->_errorStyle; - } - - /** - * Set Error style - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setErrorStyle($value = PHPExcel_Cell_DataValidation::STYLE_STOP) { - $this->_errorStyle = $value; - return $this; - } - - /** - * Get Operator - * - * @return string - */ - public function getOperator() { - return $this->_operator; - } - - /** - * Set Operator - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setOperator($value = '') { - $this->_operator = $value; - return $this; - } - - /** - * Get Allow Blank - * - * @return boolean - */ - public function getAllowBlank() { - return $this->_allowBlank; - } - - /** - * Set Allow Blank - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setAllowBlank($value = false) { - $this->_allowBlank = $value; - return $this; - } - - /** - * Get Show DropDown - * - * @return boolean - */ - public function getShowDropDown() { - return $this->_showDropDown; - } - - /** - * Set Show DropDown - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setShowDropDown($value = false) { - $this->_showDropDown = $value; - return $this; - } - - /** - * Get Show InputMessage - * - * @return boolean - */ - public function getShowInputMessage() { - return $this->_showInputMessage; - } - - /** - * Set Show InputMessage - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setShowInputMessage($value = false) { - $this->_showInputMessage = $value; - return $this; - } - - /** - * Get Show ErrorMessage - * - * @return boolean - */ - public function getShowErrorMessage() { - return $this->_showErrorMessage; - } - - /** - * Set Show ErrorMessage - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setShowErrorMessage($value = false) { - $this->_showErrorMessage = $value; - return $this; - } - - /** - * Get Error title - * - * @return string - */ - public function getErrorTitle() { - return $this->_errorTitle; - } - - /** - * Set Error title - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setErrorTitle($value = '') { - $this->_errorTitle = $value; - return $this; - } - - /** - * Get Error - * - * @return string - */ - public function getError() { - return $this->_error; - } - - /** - * Set Error - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setError($value = '') { - $this->_error = $value; - return $this; - } - - /** - * Get Prompt title - * - * @return string - */ - public function getPromptTitle() { - return $this->_promptTitle; - } - - /** - * Set Prompt title - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setPromptTitle($value = '') { - $this->_promptTitle = $value; - return $this; - } - - /** - * Get Prompt - * - * @return string - */ - public function getPrompt() { - return $this->_prompt; - } - - /** - * Set Prompt - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setPrompt($value = '') { - $this->_prompt = $value; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_formula1 - . $this->_formula2 - . $this->_type = PHPExcel_Cell_DataValidation::TYPE_NONE - . $this->_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP - . $this->_operator - . ($this->_allowBlank ? 't' : 'f') - . ($this->_showDropDown ? 't' : 'f') - . ($this->_showInputMessage ? 't' : 'f') - . ($this->_showErrorMessage ? 't' : 'f') - . $this->_errorTitle - . $this->_error - . $this->_promptTitle - . $this->_prompt - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DefaultValueBinder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DefaultValueBinder.php deleted file mode 100644 index 59a9c7137..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/DefaultValueBinder.php +++ /dev/null @@ -1,100 +0,0 @@ -setValueExplicit( $value, self::dataTypeForValue($value) ); - - // Done! - return TRUE; - } - - /** - * DataType for value - * - * @param mixed $pValue - * @return string - */ - public static function dataTypeForValue($pValue = null) { - // Match the value against a few data types - if (is_null($pValue)) { - return PHPExcel_Cell_DataType::TYPE_NULL; - } elseif ($pValue === '') { - return PHPExcel_Cell_DataType::TYPE_STRING; - } elseif ($pValue instanceof PHPExcel_RichText) { - return PHPExcel_Cell_DataType::TYPE_INLINE; - } elseif ($pValue{0} === '=' && strlen($pValue) > 1) { - return PHPExcel_Cell_DataType::TYPE_FORMULA; - } elseif (is_bool($pValue)) { - return PHPExcel_Cell_DataType::TYPE_BOOL; - } elseif (is_float($pValue) || is_int($pValue)) { - return PHPExcel_Cell_DataType::TYPE_NUMERIC; - } elseif (preg_match('/^\-?([0-9]+\\.?[0-9]*|[0-9]*\\.?[0-9]+)$/', $pValue)) { - if (is_string($pValue) && $pValue{0} === '0' && strlen($pValue) > 1 && $pValue{1} !== '.' ) { - return PHPExcel_Cell_DataType::TYPE_STRING; - } - return PHPExcel_Cell_DataType::TYPE_NUMERIC; - } elseif (is_string($pValue) && array_key_exists($pValue, PHPExcel_Cell_DataType::getErrorCodes())) { - return PHPExcel_Cell_DataType::TYPE_ERROR; - } - - return PHPExcel_Cell_DataType::TYPE_STRING; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/Hyperlink.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/Hyperlink.php deleted file mode 100644 index 178ba7ee2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/Hyperlink.php +++ /dev/null @@ -1,126 +0,0 @@ -_url = $pUrl; - $this->_tooltip = $pTooltip; - } - - /** - * Get URL - * - * @return string - */ - public function getUrl() { - return $this->_url; - } - - /** - * Set URL - * - * @param string $value - * @return PHPExcel_Cell_Hyperlink - */ - public function setUrl($value = '') { - $this->_url = $value; - return $this; - } - - /** - * Get tooltip - * - * @return string - */ - public function getTooltip() { - return $this->_tooltip; - } - - /** - * Set tooltip - * - * @param string $value - * @return PHPExcel_Cell_Hyperlink - */ - public function setTooltip($value = '') { - $this->_tooltip = $value; - return $this; - } - - /** - * Is this hyperlink internal? (to another worksheet) - * - * @return boolean - */ - public function isInternal() { - return strpos($this->_url, 'sheet://') !== false; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_url - . $this->_tooltip - . __CLASS__ - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/IValueBinder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/IValueBinder.php deleted file mode 100644 index 551815523..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Cell/IValueBinder.php +++ /dev/null @@ -1,46 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart.php deleted file mode 100644 index b9146b34b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart.php +++ /dev/null @@ -1,635 +0,0 @@ -_name = $name; - $this->_title = $title; - $this->_legend = $legend; - $this->_xAxisLabel = $xAxisLabel; - $this->_yAxisLabel = $yAxisLabel; - $this->_plotArea = $plotArea; - $this->_plotVisibleOnly = $plotVisibleOnly; - $this->_displayBlanksAs = $displayBlanksAs; - $this->_xAxis = $xAxis; - $this->_yAxis = $yAxis; - $this->_majorGridlines = $majorGridlines; - $this->_minorGridlines = $minorGridlines; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Get Worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_worksheet; - } - - /** - * Set Worksheet - * - * @param PHPExcel_Worksheet $pValue - * @throws PHPExcel_Chart_Exception - * @return PHPExcel_Chart - */ - public function setWorksheet(PHPExcel_Worksheet $pValue = null) { - $this->_worksheet = $pValue; - - return $this; - } - - /** - * Get Title - * - * @return PHPExcel_Chart_Title - */ - public function getTitle() { - return $this->_title; - } - - /** - * Set Title - * - * @param PHPExcel_Chart_Title $title - * @return PHPExcel_Chart - */ - public function setTitle(PHPExcel_Chart_Title $title) { - $this->_title = $title; - - return $this; - } - - /** - * Get Legend - * - * @return PHPExcel_Chart_Legend - */ - public function getLegend() { - return $this->_legend; - } - - /** - * Set Legend - * - * @param PHPExcel_Chart_Legend $legend - * @return PHPExcel_Chart - */ - public function setLegend(PHPExcel_Chart_Legend $legend) { - $this->_legend = $legend; - - return $this; - } - - /** - * Get X-Axis Label - * - * @return PHPExcel_Chart_Title - */ - public function getXAxisLabel() { - return $this->_xAxisLabel; - } - - /** - * Set X-Axis Label - * - * @param PHPExcel_Chart_Title $label - * @return PHPExcel_Chart - */ - public function setXAxisLabel(PHPExcel_Chart_Title $label) { - $this->_xAxisLabel = $label; - - return $this; - } - - /** - * Get Y-Axis Label - * - * @return PHPExcel_Chart_Title - */ - public function getYAxisLabel() { - return $this->_yAxisLabel; - } - - /** - * Set Y-Axis Label - * - * @param PHPExcel_Chart_Title $label - * @return PHPExcel_Chart - */ - public function setYAxisLabel(PHPExcel_Chart_Title $label) { - $this->_yAxisLabel = $label; - - return $this; - } - - /** - * Get Plot Area - * - * @return PHPExcel_Chart_PlotArea - */ - public function getPlotArea() { - return $this->_plotArea; - } - - /** - * Get Plot Visible Only - * - * @return boolean - */ - public function getPlotVisibleOnly() { - return $this->_plotVisibleOnly; - } - - /** - * Set Plot Visible Only - * - * @param boolean $plotVisibleOnly - * @return PHPExcel_Chart - */ - public function setPlotVisibleOnly($plotVisibleOnly = true) { - $this->_plotVisibleOnly = $plotVisibleOnly; - - return $this; - } - - /** - * Get Display Blanks as - * - * @return string - */ - public function getDisplayBlanksAs() { - return $this->_displayBlanksAs; - } - - /** - * Set Display Blanks as - * - * @param string $displayBlanksAs - * @return PHPExcel_Chart - */ - public function setDisplayBlanksAs($displayBlanksAs = '0') { - $this->_displayBlanksAs = $displayBlanksAs; - } - - - /** - * Get yAxis - * - * @return PHPExcel_Chart_Axis - */ - public function getChartAxisY() { - if($this->_yAxis !== NULL){ - return $this->_yAxis; - } - - return new PHPExcel_Chart_Axis(); - } - - /** - * Get xAxis - * - * @return PHPExcel_Chart_Axis - */ - public function getChartAxisX() { - if($this->_xAxis !== NULL){ - return $this->_xAxis; - } - - return new PHPExcel_Chart_Axis(); - } - - /** - * Get Major Gridlines - * - * @return PHPExcel_Chart_Gridlines - */ - public function getMajorGridlines() { - if($this->_majorGridlines !== NULL){ - return $this->_majorGridlines; - } - - return new PHPExcel_Chart_Gridlines(); - } - - /** - * Get Minor Gridlines - * - * @return PHPExcel_Chart_Gridlines - */ - public function getMinorGridlines() { - if($this->_minorGridlines !== NULL){ - return $this->_minorGridlines; - } - - return new PHPExcel_Chart_Gridlines(); - } - - - /** - * Set the Top Left position for the chart - * - * @param string $cell - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setTopLeftPosition($cell, $xOffset=null, $yOffset=null) { - $this->_topLeftCellRef = $cell; - if (!is_null($xOffset)) - $this->setTopLeftXOffset($xOffset); - if (!is_null($yOffset)) - $this->setTopLeftYOffset($yOffset); - - return $this; - } - - /** - * Get the top left position of the chart - * - * @return array an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell - */ - public function getTopLeftPosition() { - return array( 'cell' => $this->_topLeftCellRef, - 'xOffset' => $this->_topLeftXOffset, - 'yOffset' => $this->_topLeftYOffset - ); - } - - /** - * Get the cell address where the top left of the chart is fixed - * - * @return string - */ - public function getTopLeftCell() { - return $this->_topLeftCellRef; - } - - /** - * Set the Top Left cell position for the chart - * - * @param string $cell - * @return PHPExcel_Chart - */ - public function setTopLeftCell($cell) { - $this->_topLeftCellRef = $cell; - - return $this; - } - - /** - * Set the offset position within the Top Left cell for the chart - * - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setTopLeftOffset($xOffset=null,$yOffset=null) { - if (!is_null($xOffset)) - $this->setTopLeftXOffset($xOffset); - if (!is_null($yOffset)) - $this->setTopLeftYOffset($yOffset); - - return $this; - } - - /** - * Get the offset position within the Top Left cell for the chart - * - * @return integer[] - */ - public function getTopLeftOffset() { - return array( 'X' => $this->_topLeftXOffset, - 'Y' => $this->_topLeftYOffset - ); - } - - public function setTopLeftXOffset($xOffset) { - $this->_topLeftXOffset = $xOffset; - - return $this; - } - - public function getTopLeftXOffset() { - return $this->_topLeftXOffset; - } - - public function setTopLeftYOffset($yOffset) { - $this->_topLeftYOffset = $yOffset; - - return $this; - } - - public function getTopLeftYOffset() { - return $this->_topLeftYOffset; - } - - /** - * Set the Bottom Right position of the chart - * - * @param string $cell - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setBottomRightPosition($cell, $xOffset=null, $yOffset=null) { - $this->_bottomRightCellRef = $cell; - if (!is_null($xOffset)) - $this->setBottomRightXOffset($xOffset); - if (!is_null($yOffset)) - $this->setBottomRightYOffset($yOffset); - - return $this; - } - - /** - * Get the bottom right position of the chart - * - * @return array an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell - */ - public function getBottomRightPosition() { - return array( 'cell' => $this->_bottomRightCellRef, - 'xOffset' => $this->_bottomRightXOffset, - 'yOffset' => $this->_bottomRightYOffset - ); - } - - public function setBottomRightCell($cell) { - $this->_bottomRightCellRef = $cell; - - return $this; - } - - /** - * Get the cell address where the bottom right of the chart is fixed - * - * @return string - */ - public function getBottomRightCell() { - return $this->_bottomRightCellRef; - } - - /** - * Set the offset position within the Bottom Right cell for the chart - * - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setBottomRightOffset($xOffset=null,$yOffset=null) { - if (!is_null($xOffset)) - $this->setBottomRightXOffset($xOffset); - if (!is_null($yOffset)) - $this->setBottomRightYOffset($yOffset); - - return $this; - } - - /** - * Get the offset position within the Bottom Right cell for the chart - * - * @return integer[] - */ - public function getBottomRightOffset() { - return array( 'X' => $this->_bottomRightXOffset, - 'Y' => $this->_bottomRightYOffset - ); - } - - public function setBottomRightXOffset($xOffset) { - $this->_bottomRightXOffset = $xOffset; - - return $this; - } - - public function getBottomRightXOffset() { - return $this->_bottomRightXOffset; - } - - public function setBottomRightYOffset($yOffset) { - $this->_bottomRightYOffset = $yOffset; - - return $this; - } - - public function getBottomRightYOffset() { - return $this->_bottomRightYOffset; - } - - - public function refresh() { - if ($this->_worksheet !== NULL) { - $this->_plotArea->refresh($this->_worksheet); - } - } - - public function render($outputDestination = null) { - $libraryName = PHPExcel_Settings::getChartRendererName(); - if (is_null($libraryName)) { - return false; - } - // Ensure that data series values are up-to-date before we render - $this->refresh(); - - $libraryPath = PHPExcel_Settings::getChartRendererPath(); - $includePath = str_replace('\\','/',get_include_path()); - $rendererPath = str_replace('\\','/',$libraryPath); - if (strpos($rendererPath,$includePath) === false) { - set_include_path(get_include_path() . PATH_SEPARATOR . $libraryPath); - } - - $rendererName = 'PHPExcel_Chart_Renderer_'.$libraryName; - $renderer = new $rendererName($this); - - if ($outputDestination == 'php://output') { - $outputDestination = null; - } - return $renderer->render($outputDestination); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Axis.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Axis.php deleted file mode 100644 index efb39e9f4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Axis.php +++ /dev/null @@ -1,584 +0,0 @@ - self::FORMAT_CODE_GENERAL, - 'source_linked' => 1 - ); - - /** - * Axis Options - * - * @var array of mixed - */ - - private $_axis_options = array( - 'minimum' => NULL, - 'maximum' => NULL, - 'major_unit' => NULL, - 'minor_unit' => NULL, - 'orientation' => self::ORIENTATION_NORMAL, - 'minor_tick_mark' => self::TICK_MARK_NONE, - 'major_tick_mark' => self::TICK_MARK_NONE, - 'axis_labels' => self::AXIS_LABELS_NEXT_TO, - 'horizontal_crosses' => self::HORIZONTAL_CROSSES_AUTOZERO, - 'horizontal_crosses_value' => NULL - ); - - /** - * Fill Properties - * - * @var array of mixed - */ - - private $_fill_properties = array( - 'type' => self::EXCEL_COLOR_TYPE_ARGB, - 'value' => NULL, - 'alpha' => 0 - ); - - /** - * Line Properties - * - * @var array of mixed - */ - - private $_line_properties = array( - 'type' => self::EXCEL_COLOR_TYPE_ARGB, - 'value' => NULL, - 'alpha' => 0 - ); - - /** - * Line Style Properties - * - * @var array of mixed - */ - - private $_line_style_properties = array( - 'width' => '9525', - 'compound' => self::LINE_STYLE_COMPOUND_SIMPLE, - 'dash' => self::LINE_STYLE_DASH_SOLID, - 'cap' => self::LINE_STYLE_CAP_FLAT, - 'join' => self::LINE_STYLE_JOIN_BEVEL, - 'arrow' => array( - 'head' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_5 - ), - 'end' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_8 - ), - ) - ); - - /** - * Shadow Properties - * - * @var array of mixed - */ - - private $_shadow_properties = array( - 'presets' => self::SHADOW_PRESETS_NOSHADOW, - 'effect' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 40, - ), - 'size' => array( - 'sx' => NULL, - 'sy' => NULL, - 'kx' => NULL - ), - 'blur' => NULL, - 'direction' => NULL, - 'distance' => NULL, - 'algn' => NULL, - 'rotWithShape' => NULL - ); - - /** - * Glow Properties - * - * @var array of mixed - */ - - private $_glow_properties = array( - 'size' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 40 - ) - ); - - /** - * Soft Edge Properties - * - * @var array of mixed - */ - - private $_soft_edges = array( - 'size' => NULL - ); - - /** - * Get Series Data Type - * - * @return string - */ - - public function setAxisNumberProperties($format_code) { - $this->_axis_number['format'] = (string) $format_code; - $this->_axis_number['source_linked'] = 0; - } - - /** - * Get Axis Number Format Data Type - * - * @return string - */ - - public function getAxisNumberFormat() { - return $this->_axis_number['format']; - } - - /** - * Get Axis Number Source Linked - * - * @return string - */ - - public function getAxisNumberSourceLinked() { - return (string) $this->_axis_number['source_linked']; - } - - /** - * Set Axis Options Properties - * - * @param string $axis_labels - * @param string $horizontal_crosses_value - * @param string $horizontal_crosses - * @param string $axis_orientation - * @param string $major_tmt - * @param string $minor_tmt - * @param string $minimum - * @param string $maximum - * @param string $major_unit - * @param string $minor_unit - * - */ - - public function setAxisOptionsProperties($axis_labels, $horizontal_crosses_value = NULL, $horizontal_crosses = NULL, - $axis_orientation = NULL, $major_tmt = NULL, $minor_tmt = NULL, $minimum = NULL, $maximum = NULL, $major_unit = NULL, - $minor_unit = NULL) { - - $this->_axis_options['axis_labels'] = (string) $axis_labels; - ($horizontal_crosses_value !== NULL) - ? $this->_axis_options['horizontal_crosses_value'] = (string) $horizontal_crosses_value : NULL; - ($horizontal_crosses !== NULL) ? $this->_axis_options['horizontal_crosses'] = (string) $horizontal_crosses : NULL; - ($axis_orientation !== NULL) ? $this->_axis_options['orientation'] = (string) $axis_orientation : NULL; - ($major_tmt !== NULL) ? $this->_axis_options['major_tick_mark'] = (string) $major_tmt : NULL; - ($minor_tmt !== NULL) ? $this->_axis_options['minor_tick_mark'] = (string) $minor_tmt : NULL; - ($minor_tmt !== NULL) ? $this->_axis_options['minor_tick_mark'] = (string) $minor_tmt : NULL; - ($minimum !== NULL) ? $this->_axis_options['minimum'] = (string) $minimum : NULL; - ($maximum !== NULL) ? $this->_axis_options['maximum'] = (string) $maximum : NULL; - ($major_unit !== NULL) ? $this->_axis_options['major_unit'] = (string) $major_unit : NULL; - ($minor_unit !== NULL) ? $this->_axis_options['minor_unit'] = (string) $minor_unit : NULL; - } - - /** - * Get Axis Options Property - * - * @param string $property - * - * @return string - */ - - public function getAxisOptionsProperty($property) { - return $this->_axis_options[$property]; - } - - /** - * Set Axis Orientation Property - * - * @param string $orientation - * - */ - - public function setAxisOrientation($orientation) { - $this->orientation = (string) $orientation; - } - - /** - * Set Fill Property - * - * @param string $color - * @param int $alpha - * @param string $type - * - */ - - public function setFillParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB) { - $this->_fill_properties = $this->setColorProperties($color, $alpha, $type); - } - - /** - * Set Line Property - * - * @param string $color - * @param int $alpha - * @param string $type - * - */ - - public function setLineParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB) { - $this->_line_properties = $this->setColorProperties($color, $alpha, $type); - } - - /** - * Get Fill Property - * - * @param string $property - * - * @return string - */ - - public function getFillProperty($property) { - return $this->_fill_properties[$property]; - } - - /** - * Get Line Property - * - * @param string $property - * - * @return string - */ - - public function getLineProperty($property) { - return $this->_line_properties[$property]; - } - - /** - * Set Line Style Properties - * - * @param float $line_width - * @param string $compound_type - * @param string $dash_type - * @param string $cap_type - * @param string $join_type - * @param string $head_arrow_type - * @param string $head_arrow_size - * @param string $end_arrow_type - * @param string $end_arrow_size - * - */ - - public function setLineStyleProperties($line_width = NULL, $compound_type = NULL, - $dash_type = NULL, $cap_type = NULL, $join_type = NULL, $head_arrow_type = NULL, - $head_arrow_size = NULL, $end_arrow_type = NULL, $end_arrow_size = NULL) { - - (!is_null($line_width)) ? $this->_line_style_properties['width'] = $this->getExcelPointsWidth((float) $line_width) - : NULL; - (!is_null($compound_type)) ? $this->_line_style_properties['compound'] = (string) $compound_type : NULL; - (!is_null($dash_type)) ? $this->_line_style_properties['dash'] = (string) $dash_type : NULL; - (!is_null($cap_type)) ? $this->_line_style_properties['cap'] = (string) $cap_type : NULL; - (!is_null($join_type)) ? $this->_line_style_properties['join'] = (string) $join_type : NULL; - (!is_null($head_arrow_type)) ? $this->_line_style_properties['arrow']['head']['type'] = (string) $head_arrow_type - : NULL; - (!is_null($head_arrow_size)) ? $this->_line_style_properties['arrow']['head']['size'] = (string) $head_arrow_size - : NULL; - (!is_null($end_arrow_type)) ? $this->_line_style_properties['arrow']['end']['type'] = (string) $end_arrow_type - : NULL; - (!is_null($end_arrow_size)) ? $this->_line_style_properties['arrow']['end']['size'] = (string) $end_arrow_size - : NULL; - } - - /** - * Get Line Style Property - * - * @param array|string $elements - * - * @return string - */ - - public function getLineStyleProperty($elements) { - return $this->getArrayElementsValue($this->_line_style_properties, $elements); - } - - /** - * Get Line Style Arrow Excel Width - * - * @param string $arrow - * - * @return string - */ - - public function getLineStyleArrowWidth($arrow) { - return $this->getLineStyleArrowSize($this->_line_style_properties['arrow'][$arrow]['size'], 'w'); - } - - /** - * Get Line Style Arrow Excel Length - * - * @param string $arrow - * - * @return string - */ - - public function getLineStyleArrowLength($arrow) { - return $this->getLineStyleArrowSize($this->_line_style_properties['arrow'][$arrow]['size'], 'len'); - } - - /** - * Set Shadow Properties - * - * @param int $shadow_presets - * @param string $sh_color_value - * @param string $sh_color_type - * @param string $sh_color_alpha - * @param float $sh_blur - * @param int $sh_angle - * @param float $sh_distance - * - */ - - public function setShadowProperties($sh_presets, $sh_color_value = NULL, $sh_color_type = NULL, $sh_color_alpha = NULL, $sh_blur = NULL, $sh_angle = NULL, $sh_distance = NULL) { - $this - ->_setShadowPresetsProperties((int) $sh_presets) - ->_setShadowColor( - is_null($sh_color_value) ? $this->_shadow_properties['color']['value'] : $sh_color_value - , is_null($sh_color_alpha) ? (int) $this->_shadow_properties['color']['alpha'] : $sh_color_alpha - , is_null($sh_color_type) ? $this->_shadow_properties['color']['type'] : $sh_color_type) - ->_setShadowBlur($sh_blur) - ->_setShadowAngle($sh_angle) - ->_setShadowDistance($sh_distance); - } - - /** - * Set Shadow Color - * - * @param int $shadow_presets - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowPresetsProperties($shadow_presets) { - $this->_shadow_properties['presets'] = $shadow_presets; - $this->_setShadowProperiesMapValues($this->getShadowPresetsMap($shadow_presets)); - - return $this; - } - - /** - * Set Shadow Properties from Maped Values - * - * @param array $properties_map - * @param * $reference - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowProperiesMapValues(array $properties_map, &$reference = NULL) { - $base_reference = $reference; - foreach ($properties_map as $property_key => $property_val) { - if (is_array($property_val)) { - if ($reference === NULL) { - $reference = & $this->_shadow_properties[$property_key]; - } else { - $reference = & $reference[$property_key]; - } - $this->_setShadowProperiesMapValues($property_val, $reference); - } else { - if ($base_reference === NULL) { - $this->_shadow_properties[$property_key] = $property_val; - } else { - $reference[$property_key] = $property_val; - } - } - } - - return $this; - } - - /** - * Set Shadow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowColor($color, $alpha, $type) { - $this->_shadow_properties['color'] = $this->setColorProperties($color, $alpha, $type); - - return $this; - } - - /** - * Set Shadow Blur - * - * @param float $blur - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowBlur($blur) { - if ($blur !== NULL) { - $this->_shadow_properties['blur'] = (string) $this->getExcelPointsWidth($blur); - } - - return $this; - } - - /** - * Set Shadow Angle - * - * @param int $angle - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowAngle($angle) { - if ($angle !== NULL) { - $this->_shadow_properties['direction'] = (string) $this->getExcelPointsAngle($angle); - } - - return $this; - } - - /** - * Set Shadow Distance - * - * @param float $distance - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowDistance($distance) { - if ($distance !== NULL) { - $this->_shadow_properties['distance'] = (string) $this->getExcelPointsWidth($distance); - } - - return $this; - } - - /** - * Get Glow Property - * - * @param float $size - * @param string $color_value - * @param int $color_alpha - * @param string $color_type - */ - - public function getShadowProperty($elements) { - return $this->getArrayElementsValue($this->_shadow_properties, $elements); - } - - /** - * Set Glow Properties - * - * @param float $size - * @param string $color_value - * @param int $color_alpha - * @param string $color_type - */ - - public function setGlowProperties($size, $color_value = NULL, $color_alpha = NULL, $color_type = NULL) { - $this - ->_setGlowSize($size) - ->_setGlowColor( - is_null($color_value) ? $this->_glow_properties['color']['value'] : $color_value - , is_null($color_alpha) ? (int) $this->_glow_properties['color']['alpha'] : $color_alpha - , is_null($color_type) ? $this->_glow_properties['color']['type'] : $color_type); - } - - /** - * Get Glow Property - * - * @param array|string $property - * - * @return string - */ - - public function getGlowProperty($property) { - return $this->getArrayElementsValue($this->_glow_properties, $property); - } - - /** - * Set Glow Color - * - * @param float $size - * - * @return PHPExcel_Chart_Axis - */ - - private function _setGlowSize($size) { - if (!is_null($size)) { - $this->_glow_properties['size'] = $this->getExcelPointsWidth($size); - } - - return $this; - } - - /** - * Set Glow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Axis - */ - - private function _setGlowColor($color, $alpha, $type) { - $this->_glow_properties['color'] = $this->setColorProperties($color, $alpha, $type); - - return $this; - } - - /** - * Set Soft Edges Size - * - * @param float $size - */ - - public function setSoftEdges($size) { - if (!is_null($size)) { - $_soft_edges['size'] = (string) $this->getExcelPointsWidth($size); - } - } - - /** - * Get Soft Edges Size - * - * @return string - */ - - public function getSoftEdgesSize() { - return $this->_soft_edges['size']; - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/DataSeries.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/DataSeries.php deleted file mode 100644 index 86e61eb17..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/DataSeries.php +++ /dev/null @@ -1,365 +0,0 @@ -_plotType = $plotType; - $this->_plotGrouping = $plotGrouping; - $this->_plotOrder = $plotOrder; - $keys = array_keys($plotValues); - $this->_plotValues = $plotValues; - if ((count($plotLabel) == 0) || (is_null($plotLabel[$keys[0]]))) { - $plotLabel[$keys[0]] = new PHPExcel_Chart_DataSeriesValues(); - } - - $this->_plotLabel = $plotLabel; - if ((count($plotCategory) == 0) || (is_null($plotCategory[$keys[0]]))) { - $plotCategory[$keys[0]] = new PHPExcel_Chart_DataSeriesValues(); - } - $this->_plotCategory = $plotCategory; - $this->_smoothLine = $smoothLine; - $this->_plotStyle = $plotStyle; - } - - /** - * Get Plot Type - * - * @return string - */ - public function getPlotType() { - return $this->_plotType; - } - - /** - * Set Plot Type - * - * @param string $plotType - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotType($plotType = '') { - $this->_plotType = $plotType; - return $this; - } - - /** - * Get Plot Grouping Type - * - * @return string - */ - public function getPlotGrouping() { - return $this->_plotGrouping; - } - - /** - * Set Plot Grouping Type - * - * @param string $groupingType - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotGrouping($groupingType = null) { - $this->_plotGrouping = $groupingType; - return $this; - } - - /** - * Get Plot Direction - * - * @return string - */ - public function getPlotDirection() { - return $this->_plotDirection; - } - - /** - * Set Plot Direction - * - * @param string $plotDirection - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotDirection($plotDirection = null) { - $this->_plotDirection = $plotDirection; - return $this; - } - - /** - * Get Plot Order - * - * @return string - */ - public function getPlotOrder() { - return $this->_plotOrder; - } - - /** - * Get Plot Labels - * - * @return array of PHPExcel_Chart_DataSeriesValues - */ - public function getPlotLabels() { - return $this->_plotLabel; - } - - /** - * Get Plot Label by Index - * - * @return PHPExcel_Chart_DataSeriesValues - */ - public function getPlotLabelByIndex($index) { - $keys = array_keys($this->_plotLabel); - if (in_array($index,$keys)) { - return $this->_plotLabel[$index]; - } elseif(isset($keys[$index])) { - return $this->_plotLabel[$keys[$index]]; - } - return false; - } - - /** - * Get Plot Categories - * - * @return array of PHPExcel_Chart_DataSeriesValues - */ - public function getPlotCategories() { - return $this->_plotCategory; - } - - /** - * Get Plot Category by Index - * - * @return PHPExcel_Chart_DataSeriesValues - */ - public function getPlotCategoryByIndex($index) { - $keys = array_keys($this->_plotCategory); - if (in_array($index,$keys)) { - return $this->_plotCategory[$index]; - } elseif(isset($keys[$index])) { - return $this->_plotCategory[$keys[$index]]; - } - return false; - } - - /** - * Get Plot Style - * - * @return string - */ - public function getPlotStyle() { - return $this->_plotStyle; - } - - /** - * Set Plot Style - * - * @param string $plotStyle - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotStyle($plotStyle = null) { - $this->_plotStyle = $plotStyle; - return $this; - } - - /** - * Get Plot Values - * - * @return array of PHPExcel_Chart_DataSeriesValues - */ - public function getPlotValues() { - return $this->_plotValues; - } - - /** - * Get Plot Values by Index - * - * @return PHPExcel_Chart_DataSeriesValues - */ - public function getPlotValuesByIndex($index) { - $keys = array_keys($this->_plotValues); - if (in_array($index,$keys)) { - return $this->_plotValues[$index]; - } elseif(isset($keys[$index])) { - return $this->_plotValues[$keys[$index]]; - } - return false; - } - - /** - * Get Number of Plot Series - * - * @return integer - */ - public function getPlotSeriesCount() { - return count($this->_plotValues); - } - - /** - * Get Smooth Line - * - * @return boolean - */ - public function getSmoothLine() { - return $this->_smoothLine; - } - - /** - * Set Smooth Line - * - * @param boolean $smoothLine - * @return PHPExcel_Chart_DataSeries - */ - public function setSmoothLine($smoothLine = TRUE) { - $this->_smoothLine = $smoothLine; - return $this; - } - - public function refresh(PHPExcel_Worksheet $worksheet) { - foreach($this->_plotValues as $plotValues) { - if ($plotValues !== NULL) - $plotValues->refresh($worksheet, TRUE); - } - foreach($this->_plotLabel as $plotValues) { - if ($plotValues !== NULL) - $plotValues->refresh($worksheet, TRUE); - } - foreach($this->_plotCategory as $plotValues) { - if ($plotValues !== NULL) - $plotValues->refresh($worksheet, FALSE); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/DataSeriesValues.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/DataSeriesValues.php deleted file mode 100644 index 731d2c922..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/DataSeriesValues.php +++ /dev/null @@ -1,327 +0,0 @@ -setDataType($dataType); - $this->_dataSource = $dataSource; - $this->_formatCode = $formatCode; - $this->_pointCount = $pointCount; - $this->_dataValues = $dataValues; - $this->_marker = $marker; - } - - /** - * Get Series Data Type - * - * @return string - */ - public function getDataType() { - return $this->_dataType; - } - - /** - * Set Series Data Type - * - * @param string $dataType Datatype of this data series - * Typical values are: - * PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_STRING - * Normally used for axis point values - * PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_NUMBER - * Normally used for chart data values - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setDataType($dataType = self::DATASERIES_TYPE_NUMBER) { - if (!in_array($dataType, self::$_dataTypeValues)) { - throw new PHPExcel_Chart_Exception('Invalid datatype for chart data series values'); - } - $this->_dataType = $dataType; - - return $this; - } - - /** - * Get Series Data Source (formula) - * - * @return string - */ - public function getDataSource() { - return $this->_dataSource; - } - - /** - * Set Series Data Source (formula) - * - * @param string $dataSource - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setDataSource($dataSource = null, $refreshDataValues = true) { - $this->_dataSource = $dataSource; - - if ($refreshDataValues) { - // TO DO - } - - return $this; - } - - /** - * Get Point Marker - * - * @return string - */ - public function getPointMarker() { - return $this->_marker; - } - - /** - * Set Point Marker - * - * @param string $marker - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setPointMarker($marker = null) { - $this->_marker = $marker; - - return $this; - } - - /** - * Get Series Format Code - * - * @return string - */ - public function getFormatCode() { - return $this->_formatCode; - } - - /** - * Set Series Format Code - * - * @param string $formatCode - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setFormatCode($formatCode = null) { - $this->_formatCode = $formatCode; - - return $this; - } - - /** - * Get Series Point Count - * - * @return integer - */ - public function getPointCount() { - return $this->_pointCount; - } - - /** - * Identify if the Data Series is a multi-level or a simple series - * - * @return boolean - */ - public function isMultiLevelSeries() { - if (count($this->_dataValues) > 0) { - return is_array($this->_dataValues[0]); - } - return null; - } - - /** - * Return the level count of a multi-level Data Series - * - * @return boolean - */ - public function multiLevelCount() { - $levelCount = 0; - foreach($this->_dataValues as $dataValueSet) { - $levelCount = max($levelCount,count($dataValueSet)); - } - return $levelCount; - } - - /** - * Get Series Data Values - * - * @return array of mixed - */ - public function getDataValues() { - return $this->_dataValues; - } - - /** - * Get the first Series Data value - * - * @return mixed - */ - public function getDataValue() { - $count = count($this->_dataValues); - if ($count == 0) { - return null; - } elseif ($count == 1) { - return $this->_dataValues[0]; - } - return $this->_dataValues; - } - - /** - * Set Series Data Values - * - * @param array $dataValues - * @param boolean $refreshDataSource - * TRUE - refresh the value of _dataSource based on the values of $dataValues - * FALSE - don't change the value of _dataSource - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setDataValues($dataValues = array(), $refreshDataSource = TRUE) { - $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($dataValues); - $this->_pointCount = count($dataValues); - - if ($refreshDataSource) { - // TO DO - } - - return $this; - } - - private function _stripNulls($var) { - return $var !== NULL; - } - - public function refresh(PHPExcel_Worksheet $worksheet, $flatten = TRUE) { - if ($this->_dataSource !== NULL) { - $calcEngine = PHPExcel_Calculation::getInstance($worksheet->getParent()); - $newDataValues = PHPExcel_Calculation::_unwrapResult( - $calcEngine->_calculateFormulaValue( - '='.$this->_dataSource, - NULL, - $worksheet->getCell('A1') - ) - ); - if ($flatten) { - $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($newDataValues); - foreach($this->_dataValues as &$dataValue) { - if ((!empty($dataValue)) && ($dataValue[0] == '#')) { - $dataValue = 0.0; - } - } - unset($dataValue); - } else { - $cellRange = explode('!',$this->_dataSource); - if (count($cellRange) > 1) { - list(,$cellRange) = $cellRange; - } - - $dimensions = PHPExcel_Cell::rangeDimension(str_replace('$','',$cellRange)); - if (($dimensions[0] == 1) || ($dimensions[1] == 1)) { - $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($newDataValues); - } else { - $newArray = array_values(array_shift($newDataValues)); - foreach($newArray as $i => $newDataSet) { - $newArray[$i] = array($newDataSet); - } - - foreach($newDataValues as $newDataSet) { - $i = 0; - foreach($newDataSet as $newDataVal) { - array_unshift($newArray[$i++],$newDataVal); - } - } - $this->_dataValues = $newArray; - } - } - $this->_pointCount = count($this->_dataValues); - } - - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Exception.php deleted file mode 100644 index 58b5b5822..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/GridLines.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/GridLines.php deleted file mode 100644 index 7467ea7ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/GridLines.php +++ /dev/null @@ -1,458 +0,0 @@ - array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => NULL, - 'alpha' => 0 - ), - 'style' => array( - 'width' => '9525', - 'compound' => self::LINE_STYLE_COMPOUND_SIMPLE, - 'dash' => self::LINE_STYLE_DASH_SOLID, - 'cap' => self::LINE_STYLE_CAP_FLAT, - 'join' => self::LINE_STYLE_JOIN_BEVEL, - 'arrow' => array( - 'head' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_5 - ), - 'end' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_8 - ), - ) - ) - ), - $_shadow_properties = array( - 'presets' => self::SHADOW_PRESETS_NOSHADOW, - 'effect' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 85, - ), - 'size' => array( - 'sx' => NULL, - 'sy' => NULL, - 'kx' => NULL - ), - 'blur' => NULL, - 'direction' => NULL, - 'distance' => NULL, - 'algn' => NULL, - 'rotWithShape' => NULL - ), - $_glow_properties = array( - 'size' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 40 - ) - ), - $_soft_edges = array( - 'size' => NULL - ); - - /** - * Get Object State - * - * @return bool - */ - - public function getObjectState() { - return $this->_object_state; - } - - /** - * Change Object State to True - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _activateObject() { - $this->_object_state = TRUE; - - return $this; - } - - /** - * Set Line Color Properties - * - * @param string $value - * @param int $alpha - * @param string $type - */ - - public function setLineColorProperties($value, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_STANDARD) { - $this - ->_activateObject() - ->_line_properties['color'] = $this->setColorProperties( - $value, - $alpha, - $type); - } - - /** - * Set Line Color Properties - * - * @param float $line_width - * @param string $compound_type - * @param string $dash_type - * @param string $cap_type - * @param string $join_type - * @param string $head_arrow_type - * @param string $head_arrow_size - * @param string $end_arrow_type - * @param string $end_arrow_size - */ - - public function setLineStyleProperties($line_width = NULL, $compound_type = NULL, $dash_type = NULL, $cap_type = NULL, $join_type = NULL, $head_arrow_type = NULL, $head_arrow_size = NULL, $end_arrow_type = NULL, $end_arrow_size = NULL) { - $this->_activateObject(); - (!is_null($line_width)) - ? $this->_line_properties['style']['width'] = $this->getExcelPointsWidth((float) $line_width) - : NULL; - (!is_null($compound_type)) - ? $this->_line_properties['style']['compound'] = (string) $compound_type - : NULL; - (!is_null($dash_type)) - ? $this->_line_properties['style']['dash'] = (string) $dash_type - : NULL; - (!is_null($cap_type)) - ? $this->_line_properties['style']['cap'] = (string) $cap_type - : NULL; - (!is_null($join_type)) - ? $this->_line_properties['style']['join'] = (string) $join_type - : NULL; - (!is_null($head_arrow_type)) - ? $this->_line_properties['style']['arrow']['head']['type'] = (string) $head_arrow_type - : NULL; - (!is_null($head_arrow_size)) - ? $this->_line_properties['style']['arrow']['head']['size'] = (string) $head_arrow_size - : NULL; - (!is_null($end_arrow_type)) - ? $this->_line_properties['style']['arrow']['end']['type'] = (string) $end_arrow_type - : NULL; - (!is_null($end_arrow_size)) - ? $this->_line_properties['style']['arrow']['end']['size'] = (string) $end_arrow_size - : NULL; - } - - /** - * Get Line Color Property - * - * @param string $parameter - * - * @return string - */ - - public function getLineColorProperty($parameter) { - return $this->_line_properties['color'][$parameter]; - } - - /** - * Get Line Style Property - * - * @param array|string $elements - * - * @return string - */ - - public function getLineStyleProperty($elements) { - return $this->getArrayElementsValue($this->_line_properties['style'], $elements); - } - - /** - * Set Glow Properties - * - * @param float $size - * @param string $color_value - * @param int $color_alpha - * @param string $color_type - * - */ - - public function setGlowProperties($size, $color_value = NULL, $color_alpha = NULL, $color_type = NULL) { - $this - ->_activateObject() - ->_setGlowSize($size) - ->_setGlowColor($color_value, $color_alpha, $color_type); - } - - /** - * Get Glow Color Property - * - * @param string $property - * - * @return string - */ - - public function getGlowColor($property) { - return $this->_glow_properties['color'][$property]; - } - - /** - * Get Glow Size - * - * @return string - */ - - public function getGlowSize() { - return $this->_glow_properties['size']; - } - - /** - * Set Glow Size - * - * @param float $size - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setGlowSize($size) { - $this->_glow_properties['size'] = $this->getExcelPointsWidth((float) $size); - - return $this; - } - - /** - * Set Glow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setGlowColor($color, $alpha, $type) { - if (!is_null($color)) { - $this->_glow_properties['color']['value'] = (string) $color; - } - if (!is_null($alpha)) { - $this->_glow_properties['color']['alpha'] = $this->getTrueAlpha((int) $alpha); - } - if (!is_null($type)) { - $this->_glow_properties['color']['type'] = (string) $type; - } - - return $this; - } - - /** - * Get Line Style Arrow Parameters - * - * @param string $arrow_selector - * @param string $property_selector - * - * @return string - */ - - public function getLineStyleArrowParameters($arrow_selector, $property_selector) { - return $this->getLineStyleArrowSize($this->_line_properties['style']['arrow'][$arrow_selector]['size'], $property_selector); - } - - /** - * Set Shadow Properties - * - * @param int $sh_presets - * @param string $sh_color_value - * @param string $sh_color_type - * @param int $sh_color_alpha - * @param string $sh_blur - * @param int $sh_angle - * @param float $sh_distance - * - */ - - public function setShadowProperties($sh_presets, $sh_color_value = NULL, $sh_color_type = NULL, $sh_color_alpha = NULL, $sh_blur = NULL, $sh_angle = NULL, $sh_distance = NULL) { - $this - ->_activateObject() - ->_setShadowPresetsProperties((int) $sh_presets) - ->_setShadowColor( - is_null($sh_color_value) ? $this->_shadow_properties['color']['value'] : $sh_color_value - , is_null($sh_color_alpha) ? (int) $this->_shadow_properties['color']['alpha'] - : $this->getTrueAlpha($sh_color_alpha) - , is_null($sh_color_type) ? $this->_shadow_properties['color']['type'] : $sh_color_type) - ->_setShadowBlur($sh_blur) - ->_setShadowAngle($sh_angle) - ->_setShadowDistance($sh_distance); - } - - /** - * Set Shadow Presets Properties - * - * @param int $shadow_presets - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowPresetsProperties($shadow_presets) { - $this->_shadow_properties['presets'] = $shadow_presets; - $this->_setShadowProperiesMapValues($this->getShadowPresetsMap($shadow_presets)); - - return $this; - } - - /** - * Set Shadow Properties Values - * - * @param array $properties_map - * @param * $reference - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowProperiesMapValues(array $properties_map, &$reference = NULL) { - $base_reference = $reference; - foreach ($properties_map as $property_key => $property_val) { - if (is_array($property_val)) { - if ($reference === NULL) { - $reference = & $this->_shadow_properties[$property_key]; - } else { - $reference = & $reference[$property_key]; - } - $this->_setShadowProperiesMapValues($property_val, $reference); - } else { - if ($base_reference === NULL) { - $this->_shadow_properties[$property_key] = $property_val; - } else { - $reference[$property_key] = $property_val; - } - } - } - - return $this; - } - - /** - * Set Shadow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowColor($color, $alpha, $type) { - if (!is_null($color)) { - $this->_shadow_properties['color']['value'] = (string) $color; - } - if (!is_null($alpha)) { - $this->_shadow_properties['color']['alpha'] = $this->getTrueAlpha((int) $alpha); - } - if (!is_null($type)) { - $this->_shadow_properties['color']['type'] = (string) $type; - } - - return $this; - } - - /** - * Set Shadow Blur - * - * @param float $blur - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowBlur($blur) { - if ($blur !== NULL) { - $this->_shadow_properties['blur'] = (string) $this->getExcelPointsWidth($blur); - } - - return $this; - } - - /** - * Set Shadow Angle - * - * @param int $angle - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowAngle($angle) { - if ($angle !== NULL) { - $this->_shadow_properties['direction'] = (string) $this->getExcelPointsAngle($angle); - } - - return $this; - } - - /** - * Set Shadow Distance - * - * @param float $distance - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowDistance($distance) { - if ($distance !== NULL) { - $this->_shadow_properties['distance'] = (string) $this->getExcelPointsWidth($distance); - } - - return $this; - } - - /** - * Get Shadow Property - * - * @param string $elements - * @param array $elements - * - * @return string - */ - - public function getShadowProperty($elements) { - return $this->getArrayElementsValue($this->_shadow_properties, $elements); - } - - /** - * Set Soft Edges Size - * - * @param float $size - */ - - public function setSoftEdgesSize($size) { - if (!is_null($size)) { - $this->_activateObject(); - $_soft_edges['size'] = (string) $this->getExcelPointsWidth($size); - } - } - - /** - * Get Soft Edges Size - * - * @return string - */ - - public function getSoftEdgesSize() { - return $this->_soft_edges['size']; - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Layout.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Layout.php deleted file mode 100644 index eefa157a9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Layout.php +++ /dev/null @@ -1,445 +0,0 @@ -_layoutTarget = $layout['layoutTarget']; } - if (isset($layout['xMode'])) { $this->_xMode = $layout['xMode']; } - if (isset($layout['yMode'])) { $this->_yMode = $layout['yMode']; } - if (isset($layout['x'])) { $this->_xPos = (float) $layout['x']; } - if (isset($layout['y'])) { $this->_yPos = (float) $layout['y']; } - if (isset($layout['w'])) { $this->_width = (float) $layout['w']; } - if (isset($layout['h'])) { $this->_height = (float) $layout['h']; } - } - - /** - * Get Layout Target - * - * @return string - */ - public function getLayoutTarget() { - return $this->_layoutTarget; - } - - /** - * Set Layout Target - * - * @param Layout Target $value - * @return PHPExcel_Chart_Layout - */ - public function setLayoutTarget($value) { - $this->_layoutTarget = $value; - return $this; - } - - /** - * Get X-Mode - * - * @return string - */ - public function getXMode() { - return $this->_xMode; - } - - /** - * Set X-Mode - * - * @param X-Mode $value - * @return PHPExcel_Chart_Layout - */ - public function setXMode($value) { - $this->_xMode = $value; - return $this; - } - - /** - * Get Y-Mode - * - * @return string - */ - public function getYMode() { - return $this->_yMode; - } - - /** - * Set Y-Mode - * - * @param Y-Mode $value - * @return PHPExcel_Chart_Layout - */ - public function setYMode($value) { - $this->_yMode = $value; - return $this; - } - - /** - * Get X-Position - * - * @return number - */ - public function getXPosition() { - return $this->_xPos; - } - - /** - * Set X-Position - * - * @param X-Position $value - * @return PHPExcel_Chart_Layout - */ - public function setXPosition($value) { - $this->_xPos = $value; - return $this; - } - - /** - * Get Y-Position - * - * @return number - */ - public function getYPosition() { - return $this->_yPos; - } - - /** - * Set Y-Position - * - * @param Y-Position $value - * @return PHPExcel_Chart_Layout - */ - public function setYPosition($value) { - $this->_yPos = $value; - return $this; - } - - /** - * Get Width - * - * @return number - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param Width $value - * @return PHPExcel_Chart_Layout - */ - public function setWidth($value) { - $this->_width = $value; - return $this; - } - - /** - * Get Height - * - * @return number - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set Height - * - * @param Height $value - * @return PHPExcel_Chart_Layout - */ - public function setHeight($value) { - $this->_height = $value; - return $this; - } - - - /** - * Get show legend key - * - * @return boolean - */ - public function getShowLegendKey() { - return $this->_showLegendKey; - } - - /** - * Set show legend key - * Specifies that legend keys should be shown in data labels. - * - * @param boolean $value Show legend key - * @return PHPExcel_Chart_Layout - */ - public function setShowLegendKey($value) { - $this->_showLegendKey = $value; - return $this; - } - - /** - * Get show value - * - * @return boolean - */ - public function getShowVal() { - return $this->_showVal; - } - - /** - * Set show val - * Specifies that the value should be shown in data labels. - * - * @param boolean $value Show val - * @return PHPExcel_Chart_Layout - */ - public function setShowVal($value) { - $this->_showVal = $value; - return $this; - } - - /** - * Get show category name - * - * @return boolean - */ - public function getShowCatName() { - return $this->_showCatName; - } - - /** - * Set show cat name - * Specifies that the category name should be shown in data labels. - * - * @param boolean $value Show cat name - * @return PHPExcel_Chart_Layout - */ - public function setShowCatName($value) { - $this->_showCatName = $value; - return $this; - } - - /** - * Get show data series name - * - * @return boolean - */ - public function getShowSerName() { - return $this->_showSerName; - } - - /** - * Set show ser name - * Specifies that the series name should be shown in data labels. - * - * @param boolean $value Show series name - * @return PHPExcel_Chart_Layout - */ - public function setShowSerName($value) { - $this->_showSerName = $value; - return $this; - } - - /** - * Get show percentage - * - * @return boolean - */ - public function getShowPercent() { - return $this->_showPercent; - } - - /** - * Set show percentage - * Specifies that the percentage should be shown in data labels. - * - * @param boolean $value Show percentage - * @return PHPExcel_Chart_Layout - */ - public function setShowPercent($value) { - $this->_showPercent = $value; - return $this; - } - - /** - * Get show bubble size - * - * @return boolean - */ - public function getShowBubbleSize() { - return $this->_showBubbleSize; - } - - /** - * Set show bubble size - * Specifies that the bubble size should be shown in data labels. - * - * @param boolean $value Show bubble size - * @return PHPExcel_Chart_Layout - */ - public function setShowBubbleSize($value) { - $this->_showBubbleSize = $value; - return $this; - } - - /** - * Get show leader lines - * - * @return boolean - */ - public function getShowLeaderLines() { - return $this->_showLeaderLines; - } - - /** - * Set show leader lines - * Specifies that leader lines should be shown in data labels. - * - * @param boolean $value Show leader lines - * @return PHPExcel_Chart_Layout - */ - public function setShowLeaderLines($value) { - $this->_showLeaderLines = $value; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Legend.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Legend.php deleted file mode 100644 index 783b3d429..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Legend.php +++ /dev/null @@ -1,171 +0,0 @@ - self::POSITION_BOTTOM, - self::xlLegendPositionCorner => self::POSITION_TOPRIGHT, - self::xlLegendPositionCustom => '??', - self::xlLegendPositionLeft => self::POSITION_LEFT, - self::xlLegendPositionRight => self::POSITION_RIGHT, - self::xlLegendPositionTop => self::POSITION_TOP - ); - - /** - * Legend position - * - * @var string - */ - private $_position = self::POSITION_RIGHT; - - /** - * Allow overlay of other elements? - * - * @var boolean - */ - private $_overlay = TRUE; - - /** - * Legend Layout - * - * @var PHPExcel_Chart_Layout - */ - private $_layout = NULL; - - - /** - * Create a new PHPExcel_Chart_Legend - */ - public function __construct($position = self::POSITION_RIGHT, PHPExcel_Chart_Layout $layout = NULL, $overlay = FALSE) - { - $this->setPosition($position); - $this->_layout = $layout; - $this->setOverlay($overlay); - } - - /** - * Get legend position as an excel string value - * - * @return string - */ - public function getPosition() { - return $this->_position; - } - - /** - * Get legend position using an excel string value - * - * @param string $position - */ - public function setPosition($position = self::POSITION_RIGHT) { - if (!in_array($position,self::$_positionXLref)) { - return false; - } - - $this->_position = $position; - return true; - } - - /** - * Get legend position as an Excel internal numeric value - * - * @return number - */ - public function getPositionXL() { - return array_search($this->_position,self::$_positionXLref); - } - - /** - * Set legend position using an Excel internal numeric value - * - * @param number $positionXL - */ - public function setPositionXL($positionXL = self::xlLegendPositionRight) { - if (!array_key_exists($positionXL,self::$_positionXLref)) { - return false; - } - - $this->_position = self::$_positionXLref[$positionXL]; - return true; - } - - /** - * Get allow overlay of other elements? - * - * @return boolean - */ - public function getOverlay() { - return $this->_overlay; - } - - /** - * Set allow overlay of other elements? - * - * @param boolean $overlay - * @return boolean - */ - public function setOverlay($overlay = FALSE) { - if (!is_bool($overlay)) { - return false; - } - - $this->_overlay = $overlay; - return true; - } - - /** - * Get Layout - * - * @return PHPExcel_Chart_Layout - */ - public function getLayout() { - return $this->_layout; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/PlotArea.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/PlotArea.php deleted file mode 100644 index c917ce305..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/PlotArea.php +++ /dev/null @@ -1,128 +0,0 @@ -_layout = $layout; - $this->_plotSeries = $plotSeries; - } - - /** - * Get Layout - * - * @return PHPExcel_Chart_Layout - */ - public function getLayout() { - return $this->_layout; - } - - /** - * Get Number of Plot Groups - * - * @return array of PHPExcel_Chart_DataSeries - */ - public function getPlotGroupCount() { - return count($this->_plotSeries); - } - - /** - * Get Number of Plot Series - * - * @return integer - */ - public function getPlotSeriesCount() { - $seriesCount = 0; - foreach($this->_plotSeries as $plot) { - $seriesCount += $plot->getPlotSeriesCount(); - } - return $seriesCount; - } - - /** - * Get Plot Series - * - * @return array of PHPExcel_Chart_DataSeries - */ - public function getPlotGroup() { - return $this->_plotSeries; - } - - /** - * Get Plot Series by Index - * - * @return PHPExcel_Chart_DataSeries - */ - public function getPlotGroupByIndex($index) { - return $this->_plotSeries[$index]; - } - - /** - * Set Plot Series - * - * @param [PHPExcel_Chart_DataSeries] - * @return PHPExcel_Chart_PlotArea - */ - public function setPlotSeries($plotSeries = array()) { - $this->_plotSeries = $plotSeries; - - return $this; - } - - public function refresh(PHPExcel_Worksheet $worksheet) { - foreach($this->_plotSeries as $plotSeries) { - $plotSeries->refresh($worksheet); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Properties.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Properties.php deleted file mode 100644 index 7593983c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Properties.php +++ /dev/null @@ -1,359 +0,0 @@ - (string) $type, - 'value' => (string) $color, - 'alpha' => (string) $this->getTrueAlpha($alpha) - ); - } - - protected function getLineStyleArrowSize($array_selector, $array_kay_selector) { - $sizes = array( - 1 => array('w' => 'sm', 'len' => 'sm'), - 2 => array('w' => 'sm', 'len' => 'med'), - 3 => array('w' => 'sm', 'len' => 'lg'), - 4 => array('w' => 'med', 'len' => 'sm'), - 5 => array('w' => 'med', 'len' => 'med'), - 6 => array('w' => 'med', 'len' => 'lg'), - 7 => array('w' => 'lg', 'len' => 'sm'), - 8 => array('w' => 'lg', 'len' => 'med'), - 9 => array('w' => 'lg', 'len' => 'lg') - ); - - return $sizes[$array_selector][$array_kay_selector]; - } - - protected function getShadowPresetsMap($shadow_presets_option) { - $presets_options = array( - //OUTER - 1 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '2700000', - 'algn' => 'tl', - 'rotWithShape' => '0' - ), - 2 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '5400000', - 'algn' => 't', - 'rotWithShape' => '0' - ), - 3 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '8100000', - 'algn' => 'tr', - 'rotWithShape' => '0' - ), - 4 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'algn' => 'l', - 'rotWithShape' => '0' - ), - 5 => array( - 'effect' => 'outerShdw', - 'size' => array( - 'sx' => '102000', - 'sy' => '102000' - ) - , - 'blur' => '63500', - 'distance' => '38100', - 'algn' => 'ctr', - 'rotWithShape' => '0' - ), - 6 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '10800000', - 'algn' => 'r', - 'rotWithShape' => '0' - ), - 7 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '18900000', - 'algn' => 'bl', - 'rotWithShape' => '0' - ), - 8 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '16200000', - 'rotWithShape' => '0' - ), - 9 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '13500000', - 'algn' => 'br', - 'rotWithShape' => '0' - ), - //INNER - 10 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '2700000', - ), - 11 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '5400000', - ), - 12 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '8100000', - ), - 13 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - ), - 14 => array( - 'effect' => 'innerShdw', - 'blur' => '114300', - ), - 15 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '10800000', - ), - 16 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '18900000', - ), - 17 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '16200000', - ), - 18 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '13500000', - ), - //perspective - 19 => array( - 'effect' => 'outerShdw', - 'blur' => '152400', - 'distance' => '317500', - 'size' => array( - 'sx' => '90000', - 'sy' => '-19000', - ), - 'direction' => '5400000', - 'rotWithShape' => '0', - ), - 20 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'direction' => '18900000', - 'size' => array( - 'sy' => '23000', - 'kx' => '-1200000', - ), - 'algn' => 'bl', - 'rotWithShape' => '0', - ), - 21 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'direction' => '13500000', - 'size' => array( - 'sy' => '23000', - 'kx' => '1200000', - ), - 'algn' => 'br', - 'rotWithShape' => '0', - ), - 22 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'distance' => '12700', - 'direction' => '2700000', - 'size' => array( - 'sy' => '-23000', - 'kx' => '-800400', - ), - 'algn' => 'bl', - 'rotWithShape' => '0', - ), - 23 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'distance' => '12700', - 'direction' => '8100000', - 'size' => array( - 'sy' => '-23000', - 'kx' => '800400', - ), - 'algn' => 'br', - 'rotWithShape' => '0', - ), - ); - - return $presets_options[$shadow_presets_option]; - } - - protected function getArrayElementsValue($properties, $elements) { - $reference = & $properties; - if (!is_array($elements)) { - return $reference[$elements]; - } else { - foreach ($elements as $keys) { - $reference = & $reference[$keys]; - } - - return $reference; - } - - return $this; - } - -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt deleted file mode 100644 index 20a825885..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt +++ /dev/null @@ -1,17 +0,0 @@ -ChartDirector - http://www.advsofteng.com/cdphp.html - -GraPHPite - http://graphpite.sourceforge.net/ - -JpGraph - http://www.aditus.nu/jpgraph/ - -LibChart - http://naku.dohcrew.com/libchart/pages/introduction/ - -pChart - http://pchart.sourceforge.net/ - -TeeChart - http://www.steema.com/products/teechart/overview.html diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/jpgraph.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/jpgraph.php deleted file mode 100644 index 99a0b97ad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Renderer/jpgraph.php +++ /dev/null @@ -1,855 +0,0 @@ - MARK_DIAMOND, - 'square' => MARK_SQUARE, - 'triangle' => MARK_UTRIANGLE, - 'x' => MARK_X, - 'star' => MARK_STAR, - 'dot' => MARK_FILLEDCIRCLE, - 'dash' => MARK_DTRIANGLE, - 'circle' => MARK_CIRCLE, - 'plus' => MARK_CROSS - ); - - - private $_chart = null; - - private $_graph = null; - - private static $_plotColour = 0; - - private static $_plotMark = 0; - - - private function _formatPointMarker($seriesPlot,$markerID) { - $plotMarkKeys = array_keys(self::$_markSet); - if (is_null($markerID)) { - // Use default plot marker (next marker in the series) - self::$_plotMark %= count(self::$_markSet); - $seriesPlot->mark->SetType(self::$_markSet[$plotMarkKeys[self::$_plotMark++]]); - } elseif ($markerID !== 'none') { - // Use specified plot marker (if it exists) - if (isset(self::$_markSet[$markerID])) { - $seriesPlot->mark->SetType(self::$_markSet[$markerID]); - } else { - // If the specified plot marker doesn't exist, use default plot marker (next marker in the series) - self::$_plotMark %= count(self::$_markSet); - $seriesPlot->mark->SetType(self::$_markSet[$plotMarkKeys[self::$_plotMark++]]); - } - } else { - // Hide plot marker - $seriesPlot->mark->Hide(); - } - $seriesPlot->mark->SetColor(self::$_colourSet[self::$_plotColour]); - $seriesPlot->mark->SetFillColor(self::$_colourSet[self::$_plotColour]); - $seriesPlot->SetColor(self::$_colourSet[self::$_plotColour++]); - - return $seriesPlot; - } // function _formatPointMarker() - - - private function _formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation = '') { - $datasetLabelFormatCode = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getFormatCode(); - if (!is_null($datasetLabelFormatCode)) { - // Retrieve any label formatting code - $datasetLabelFormatCode = stripslashes($datasetLabelFormatCode); - } - - $testCurrentIndex = 0; - foreach($datasetLabels as $i => $datasetLabel) { - if (is_array($datasetLabel)) { - if ($rotation == 'bar') { - $datasetLabels[$i] = implode(" ",$datasetLabel); - } else { - $datasetLabel = array_reverse($datasetLabel); - $datasetLabels[$i] = implode("\n",$datasetLabel); - } - } else { - // Format labels according to any formatting code - if (!is_null($datasetLabelFormatCode)) { - $datasetLabels[$i] = PHPExcel_Style_NumberFormat::toFormattedString($datasetLabel,$datasetLabelFormatCode); - } - } - ++$testCurrentIndex; - } - - return $datasetLabels; - } // function _formatDataSetLabels() - - - private function _percentageSumCalculation($groupID,$seriesCount) { - // Adjust our values to a percentage value across all series in the group - for($i = 0; $i < $seriesCount; ++$i) { - if ($i == 0) { - $sumValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - } else { - $nextValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - foreach($nextValues as $k => $value) { - if (isset($sumValues[$k])) { - $sumValues[$k] += $value; - } else { - $sumValues[$k] = $value; - } - } - } - } - - return $sumValues; - } // function _percentageSumCalculation() - - - private function _percentageAdjustValues($dataValues,$sumValues) { - foreach($dataValues as $k => $dataValue) { - $dataValues[$k] = $dataValue / $sumValues[$k] * 100; - } - - return $dataValues; - } // function _percentageAdjustValues() - - - private function _getCaption($captionElement) { - // Read any caption - $caption = (!is_null($captionElement)) ? $captionElement->getCaption() : NULL; - // Test if we have a title caption to display - if (!is_null($caption)) { - // If we do, it could be a plain string or an array - if (is_array($caption)) { - // Implode an array to a plain string - $caption = implode('',$caption); - } - } - return $caption; - } // function _getCaption() - - - private function _renderTitle() { - $title = $this->_getCaption($this->_chart->getTitle()); - if (!is_null($title)) { - $this->_graph->title->Set($title); - } - } // function _renderTitle() - - - private function _renderLegend() { - $legend = $this->_chart->getLegend(); - if (!is_null($legend)) { - $legendPosition = $legend->getPosition(); - $legendOverlay = $legend->getOverlay(); - switch ($legendPosition) { - case 'r' : - $this->_graph->legend->SetPos(0.01,0.5,'right','center'); // right - $this->_graph->legend->SetColumns(1); - break; - case 'l' : - $this->_graph->legend->SetPos(0.01,0.5,'left','center'); // left - $this->_graph->legend->SetColumns(1); - break; - case 't' : - $this->_graph->legend->SetPos(0.5,0.01,'center','top'); // top - break; - case 'b' : - $this->_graph->legend->SetPos(0.5,0.99,'center','bottom'); // bottom - break; - default : - $this->_graph->legend->SetPos(0.01,0.01,'right','top'); // top-right - $this->_graph->legend->SetColumns(1); - break; - } - } else { - $this->_graph->legend->Hide(); - } - } // function _renderLegend() - - - private function _renderCartesianPlotArea($type='textlin') { - $this->_graph = new Graph(self::$_width,self::$_height); - $this->_graph->SetScale($type); - - $this->_renderTitle(); - - // Rotate for bar rather than column chart - $rotation = $this->_chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotDirection(); - $reverse = ($rotation == 'bar') ? true : false; - - $xAxisLabel = $this->_chart->getXAxisLabel(); - if (!is_null($xAxisLabel)) { - $title = $this->_getCaption($xAxisLabel); - if (!is_null($title)) { - $this->_graph->xaxis->SetTitle($title,'center'); - $this->_graph->xaxis->title->SetMargin(35); - if ($reverse) { - $this->_graph->xaxis->title->SetAngle(90); - $this->_graph->xaxis->title->SetMargin(90); - } - } - } - - $yAxisLabel = $this->_chart->getYAxisLabel(); - if (!is_null($yAxisLabel)) { - $title = $this->_getCaption($yAxisLabel); - if (!is_null($title)) { - $this->_graph->yaxis->SetTitle($title,'center'); - if ($reverse) { - $this->_graph->yaxis->title->SetAngle(0); - $this->_graph->yaxis->title->SetMargin(-55); - } - } - } - } // function _renderCartesianPlotArea() - - - private function _renderPiePlotArea($doughnut = False) { - $this->_graph = new PieGraph(self::$_width,self::$_height); - - $this->_renderTitle(); - } // function _renderPiePlotArea() - - - private function _renderRadarPlotArea() { - $this->_graph = new RadarGraph(self::$_width,self::$_height); - $this->_graph->SetScale('lin'); - - $this->_renderTitle(); - } // function _renderRadarPlotArea() - - - private function _renderPlotLine($groupID, $filled = false, $combination = false, $dimensions = '2d') { - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount); - $this->_graph->xaxis->SetTickLabels($datasetLabels); - } - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - if ($grouping == 'percentStacked') { - $sumValues = $this->_percentageSumCalculation($groupID,$seriesCount); - } - - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - $marker = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker(); - - if ($grouping == 'percentStacked') { - $dataValues = $this->_percentageAdjustValues($dataValues,$sumValues); - } - - // Fill in any missing values in the $dataValues array - $testCurrentIndex = 0; - foreach($dataValues as $k => $dataValue) { - while($k != $testCurrentIndex) { - $dataValues[$testCurrentIndex] = null; - ++$testCurrentIndex; - } - ++$testCurrentIndex; - } - - $seriesPlot = new LinePlot($dataValues); - if ($combination) { - $seriesPlot->SetBarCenter(); - } - - if ($filled) { - $seriesPlot->SetFilled(true); - $seriesPlot->SetColor('black'); - $seriesPlot->SetFillColor(self::$_colourSet[self::$_plotColour++]); - } else { - // Set the appropriate plot marker - $this->_formatPointMarker($seriesPlot,$marker); - } - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue(); - $seriesPlot->SetLegend($dataLabel); - - $seriesPlots[] = $seriesPlot; - } - - if ($grouping == 'standard') { - $groupPlot = $seriesPlots; - } else { - $groupPlot = new AccLinePlot($seriesPlots); - } - $this->_graph->Add($groupPlot); - } // function _renderPlotLine() - - - private function _renderPlotBar($groupID, $dimensions = '2d') { - $rotation = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotDirection(); - // Rotate for bar rather than column chart - if (($groupID == 0) && ($rotation == 'bar')) { - $this->_graph->Set90AndMargin(); - } - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation); - // Rotate for bar rather than column chart - if ($rotation == 'bar') { - $datasetLabels = array_reverse($datasetLabels); - $this->_graph->yaxis->SetPos('max'); - $this->_graph->yaxis->SetLabelAlign('center','top'); - $this->_graph->yaxis->SetLabelSide(SIDE_RIGHT); - } - $this->_graph->xaxis->SetTickLabels($datasetLabels); - } - - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - if ($grouping == 'percentStacked') { - $sumValues = $this->_percentageSumCalculation($groupID,$seriesCount); - } - - // Loop through each data series in turn - for($j = 0; $j < $seriesCount; ++$j) { - $dataValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($j)->getDataValues(); - if ($grouping == 'percentStacked') { - $dataValues = $this->_percentageAdjustValues($dataValues,$sumValues); - } - - // Fill in any missing values in the $dataValues array - $testCurrentIndex = 0; - foreach($dataValues as $k => $dataValue) { - while($k != $testCurrentIndex) { - $dataValues[$testCurrentIndex] = null; - ++$testCurrentIndex; - } - ++$testCurrentIndex; - } - - // Reverse the $dataValues order for bar rather than column chart - if ($rotation == 'bar') { - $dataValues = array_reverse($dataValues); - } - $seriesPlot = new BarPlot($dataValues); - $seriesPlot->SetColor('black'); - $seriesPlot->SetFillColor(self::$_colourSet[self::$_plotColour++]); - if ($dimensions == '3d') { - $seriesPlot->SetShadow(); - } - if (!$this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($j)) { - $dataLabel = ''; - } else { - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($j)->getDataValue(); - } - $seriesPlot->SetLegend($dataLabel); - - $seriesPlots[] = $seriesPlot; - } - // Reverse the plot order for bar rather than column chart - if (($rotation == 'bar') && (!($grouping == 'percentStacked'))) { - $seriesPlots = array_reverse($seriesPlots); - } - - if ($grouping == 'clustered') { - $groupPlot = new GroupBarPlot($seriesPlots); - } elseif ($grouping == 'standard') { - $groupPlot = new GroupBarPlot($seriesPlots); - } else { - $groupPlot = new AccBarPlot($seriesPlots); - if ($dimensions == '3d') { - $groupPlot->SetShadow(); - } - } - - $this->_graph->Add($groupPlot); - } // function _renderPlotBar() - - - private function _renderPlotScatter($groupID,$bubble) { - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - $scatterStyle = $bubbleSize = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValuesY = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues(); - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - - foreach($dataValuesY as $k => $dataValueY) { - $dataValuesY[$k] = $k; - } - - $seriesPlot = new ScatterPlot($dataValuesX,$dataValuesY); - if ($scatterStyle == 'lineMarker') { - $seriesPlot->SetLinkPoints(); - $seriesPlot->link->SetColor(self::$_colourSet[self::$_plotColour]); - } elseif ($scatterStyle == 'smoothMarker') { - $spline = new Spline($dataValuesY,$dataValuesX); - list($splineDataY,$splineDataX) = $spline->Get(count($dataValuesX) * self::$_width / 20); - $lplot = new LinePlot($splineDataX,$splineDataY); - $lplot->SetColor(self::$_colourSet[self::$_plotColour]); - - $this->_graph->Add($lplot); - } - - if ($bubble) { - $this->_formatPointMarker($seriesPlot,'dot'); - $seriesPlot->mark->SetColor('black'); - $seriesPlot->mark->SetSize($bubbleSize); - } else { - $marker = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker(); - $this->_formatPointMarker($seriesPlot,$marker); - } - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue(); - $seriesPlot->SetLegend($dataLabel); - - $this->_graph->Add($seriesPlot); - } - } // function _renderPlotScatter() - - - private function _renderPlotRadar($groupID) { - $radarStyle = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValuesY = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues(); - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - $marker = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker(); - - $dataValues = array(); - foreach($dataValuesY as $k => $dataValueY) { - $dataValues[$k] = implode(' ',array_reverse($dataValueY)); - } - $tmp = array_shift($dataValues); - $dataValues[] = $tmp; - $tmp = array_shift($dataValuesX); - $dataValuesX[] = $tmp; - - $this->_graph->SetTitles(array_reverse($dataValues)); - - $seriesPlot = new RadarPlot(array_reverse($dataValuesX)); - - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue(); - $seriesPlot->SetColor(self::$_colourSet[self::$_plotColour++]); - if ($radarStyle == 'filled') { - $seriesPlot->SetFillColor(self::$_colourSet[self::$_plotColour]); - } - $this->_formatPointMarker($seriesPlot,$marker); - $seriesPlot->SetLegend($dataLabel); - - $this->_graph->Add($seriesPlot); - } - } // function _renderPlotRadar() - - - private function _renderPlotContour($groupID) { - $contourStyle = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - - $dataValues = array(); - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValuesY = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues(); - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - - $dataValues[$i] = $dataValuesX; - } - $seriesPlot = new ContourPlot($dataValues); - - $this->_graph->Add($seriesPlot); - } // function _renderPlotContour() - - - private function _renderPlotStock($groupID) { - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $plotOrder = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotOrder(); - - $dataValues = array(); - // Loop through each data series in turn and build the plot arrays - foreach($plotOrder as $i => $v) { - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($v)->getDataValues(); - foreach($dataValuesX as $j => $dataValueX) { - $dataValues[$plotOrder[$i]][$j] = $dataValueX; - } - } - if(empty($dataValues)) { - return; - } - - $dataValuesPlot = array(); - // Flatten the plot arrays to a single dimensional array to work with jpgraph - for($j = 0; $j < count($dataValues[0]); $j++) { - for($i = 0; $i < $seriesCount; $i++) { - $dataValuesPlot[] = $dataValues[$i][$j]; - } - } - - // Set the x-axis labels - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount); - $this->_graph->xaxis->SetTickLabels($datasetLabels); - } - - $seriesPlot = new StockPlot($dataValuesPlot); - $seriesPlot->SetWidth(20); - - $this->_graph->Add($seriesPlot); - } // function _renderPlotStock() - - - private function _renderAreaChart($groupCount, $dimensions = '2d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotLine($i,True,False,$dimensions); - } - } // function _renderAreaChart() - - - private function _renderLineChart($groupCount, $dimensions = '2d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotLine($i,False,False,$dimensions); - } - } // function _renderLineChart() - - - private function _renderBarChart($groupCount, $dimensions = '2d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_bar.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotBar($i,$dimensions); - } - } // function _renderBarChart() - - - private function _renderScatterChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea('linlin'); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotScatter($i,false); - } - } // function _renderScatterChart() - - - private function _renderBubbleChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php'); - - $this->_renderCartesianPlotArea('linlin'); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotScatter($i,true); - } - } // function _renderBubbleChart() - - - private function _renderPieChart($groupCount, $dimensions = '2d', $doughnut = False, $multiplePlots = False) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_pie.php'); - if ($dimensions == '3d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_pie3d.php'); - } - - $this->_renderPiePlotArea($doughnut); - - $iLimit = ($multiplePlots) ? $groupCount : 1; - for($groupID = 0; $groupID < $iLimit; ++$groupID) { - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - $exploded = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - if ($groupID == 0) { - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount); - } - } - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - // For pie charts, we only display the first series: doughnut charts generally display all series - $jLimit = ($multiplePlots) ? $seriesCount : 1; - // Loop through each data series in turn - for($j = 0; $j < $jLimit; ++$j) { - $dataValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($j)->getDataValues(); - - // Fill in any missing values in the $dataValues array - $testCurrentIndex = 0; - foreach($dataValues as $k => $dataValue) { - while($k != $testCurrentIndex) { - $dataValues[$testCurrentIndex] = null; - ++$testCurrentIndex; - } - ++$testCurrentIndex; - } - - if ($dimensions == '3d') { - $seriesPlot = new PiePlot3D($dataValues); - } else { - if ($doughnut) { - $seriesPlot = new PiePlotC($dataValues); - } else { - $seriesPlot = new PiePlot($dataValues); - } - } - - if ($multiplePlots) { - $seriesPlot->SetSize(($jLimit-$j) / ($jLimit * 4)); - } - - if ($doughnut) { - $seriesPlot->SetMidColor('white'); - } - - $seriesPlot->SetColor(self::$_colourSet[self::$_plotColour++]); - if (count($datasetLabels) > 0) - $seriesPlot->SetLabels(array_fill(0,count($datasetLabels),'')); - if ($dimensions != '3d') { - $seriesPlot->SetGuideLines(false); - } - if ($j == 0) { - if ($exploded) { - $seriesPlot->ExplodeAll(); - } - $seriesPlot->SetLegends($datasetLabels); - } - - $this->_graph->Add($seriesPlot); - } - } - } // function _renderPieChart() - - - private function _renderRadarChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_radar.php'); - - $this->_renderRadarPlotArea(); - - for($groupID = 0; $groupID < $groupCount; ++$groupID) { - $this->_renderPlotRadar($groupID); - } - } // function _renderRadarChart() - - - private function _renderStockChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_stock.php'); - - $this->_renderCartesianPlotArea('intint'); - - for($groupID = 0; $groupID < $groupCount; ++$groupID) { - $this->_renderPlotStock($groupID); - } - } // function _renderStockChart() - - - private function _renderContourChart($groupCount,$dimensions) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_contour.php'); - - $this->_renderCartesianPlotArea('intint'); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotContour($i); - } - } // function _renderContourChart() - - - private function _renderCombinationChart($groupCount,$dimensions,$outputDestination) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_bar.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $dimensions = null; - $chartType = $this->_chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType(); - switch ($chartType) { - case 'area3DChart' : - $dimensions = '3d'; - case 'areaChart' : - $this->_renderPlotLine($i,True,True,$dimensions); - break; - case 'bar3DChart' : - $dimensions = '3d'; - case 'barChart' : - $this->_renderPlotBar($i,$dimensions); - break; - case 'line3DChart' : - $dimensions = '3d'; - case 'lineChart' : - $this->_renderPlotLine($i,False,True,$dimensions); - break; - case 'scatterChart' : - $this->_renderPlotScatter($i,false); - break; - case 'bubbleChart' : - $this->_renderPlotScatter($i,true); - break; - default : - $this->_graph = null; - return false; - } - } - - $this->_renderLegend(); - - $this->_graph->Stroke($outputDestination); - return true; - } // function _renderCombinationChart() - - - public function render($outputDestination) { - self::$_plotColour = 0; - - $groupCount = $this->_chart->getPlotArea()->getPlotGroupCount(); - - $dimensions = null; - if ($groupCount == 1) { - $chartType = $this->_chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotType(); - } else { - $chartTypes = array(); - for($i = 0; $i < $groupCount; ++$i) { - $chartTypes[] = $this->_chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType(); - } - $chartTypes = array_unique($chartTypes); - if (count($chartTypes) == 1) { - $chartType = array_pop($chartTypes); - } elseif (count($chartTypes) == 0) { - echo 'Chart is not yet implemented
'; - return false; - } else { - return $this->_renderCombinationChart($groupCount,$dimensions,$outputDestination); - } - } - - switch ($chartType) { - case 'area3DChart' : - $dimensions = '3d'; - case 'areaChart' : - $this->_renderAreaChart($groupCount,$dimensions); - break; - case 'bar3DChart' : - $dimensions = '3d'; - case 'barChart' : - $this->_renderBarChart($groupCount,$dimensions); - break; - case 'line3DChart' : - $dimensions = '3d'; - case 'lineChart' : - $this->_renderLineChart($groupCount,$dimensions); - break; - case 'pie3DChart' : - $dimensions = '3d'; - case 'pieChart' : - $this->_renderPieChart($groupCount,$dimensions,False,False); - break; - case 'doughnut3DChart' : - $dimensions = '3d'; - case 'doughnutChart' : - $this->_renderPieChart($groupCount,$dimensions,True,True); - break; - case 'scatterChart' : - $this->_renderScatterChart($groupCount); - break; - case 'bubbleChart' : - $this->_renderBubbleChart($groupCount); - break; - case 'radarChart' : - $this->_renderRadarChart($groupCount); - break; - case 'surface3DChart' : - $dimensions = '3d'; - case 'surfaceChart' : - $this->_renderContourChart($groupCount,$dimensions); - break; - case 'stockChart' : - $this->_renderStockChart($groupCount,$dimensions); - break; - default : - echo $chartType.' is not yet implemented
'; - return false; - } - $this->_renderLegend(); - - $this->_graph->Stroke($outputDestination); - return true; - } // function render() - - - /** - * Create a new PHPExcel_Chart_Renderer_jpgraph - */ - public function __construct(PHPExcel_Chart $chart) - { - $this->_graph = null; - $this->_chart = $chart; - } // function __construct() - -} // PHPExcel_Chart_Renderer_jpgraph diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Title.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Title.php deleted file mode 100644 index 5d226c4b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/Title.php +++ /dev/null @@ -1,92 +0,0 @@ -_caption = $caption; - $this->_layout = $layout; - } - - /** - * Get caption - * - * @return string - */ - public function getCaption() { - return $this->_caption; - } - - /** - * Set caption - * - * @param string $caption - * @return PHPExcel_Chart_Title - */ - public function setCaption($caption = null) { - $this->_caption = $caption; - - return $this; - } - - /** - * Get Layout - * - * @return PHPExcel_Chart_Layout - */ - public function getLayout() { - return $this->_layout; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Chart/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Comment.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Comment.php deleted file mode 100644 index 8b8cfdcc4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Comment.php +++ /dev/null @@ -1,327 +0,0 @@ -_author = 'Author'; - $this->_text = new PHPExcel_RichText(); - $this->_fillColor = new PHPExcel_Style_Color('FFFFFFE1'); - $this->_alignment = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - } - - /** - * Get Author - * - * @return string - */ - public function getAuthor() { - return $this->_author; - } - - /** - * Set Author - * - * @param string $pValue - * @return PHPExcel_Comment - */ - public function setAuthor($pValue = '') { - $this->_author = $pValue; - return $this; - } - - /** - * Get Rich text comment - * - * @return PHPExcel_RichText - */ - public function getText() { - return $this->_text; - } - - /** - * Set Rich text comment - * - * @param PHPExcel_RichText $pValue - * @return PHPExcel_Comment - */ - public function setText(PHPExcel_RichText $pValue) { - $this->_text = $pValue; - return $this; - } - - /** - * Get comment width (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set comment width (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setWidth($value = '96pt') { - $this->_width = $value; - return $this; - } - - /** - * Get comment height (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set comment height (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setHeight($value = '55.5pt') { - $this->_height = $value; - return $this; - } - - /** - * Get left margin (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getMarginLeft() { - return $this->_marginLeft; - } - - /** - * Set left margin (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setMarginLeft($value = '59.25pt') { - $this->_marginLeft = $value; - return $this; - } - - /** - * Get top margin (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getMarginTop() { - return $this->_marginTop; - } - - /** - * Set top margin (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setMarginTop($value = '1.5pt') { - $this->_marginTop = $value; - return $this; - } - - /** - * Is the comment visible by default? - * - * @return boolean - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set comment default visibility - * - * @param boolean $value - * @return PHPExcel_Comment - */ - public function setVisible($value = false) { - $this->_visible = $value; - return $this; - } - - /** - * Get fill color - * - * @return PHPExcel_Style_Color - */ - public function getFillColor() { - return $this->_fillColor; - } - - /** - * Set Alignment - * - * @param string $pValue - * @return PHPExcel_Comment - */ - public function setAlignment($pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL) { - $this->_alignment = $pValue; - return $this; - } - - /** - * Get Alignment - * - * @return string - */ - public function getAlignment() { - return $this->_alignment; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_author - . $this->_text->getHashCode() - . $this->_width - . $this->_height - . $this->_marginLeft - . $this->_marginTop - . ($this->_visible ? 1 : 0) - . $this->_fillColor->getHashCode() - . $this->_alignment - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - - /** - * Convert to string - * - * @return string - */ - public function __toString() { - return $this->_text->getPlainText(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/DocumentProperties.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/DocumentProperties.php deleted file mode 100644 index 7b4a0e435..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/DocumentProperties.php +++ /dev/null @@ -1,587 +0,0 @@ -_lastModifiedBy = $this->_creator; - $this->_created = time(); - $this->_modified = time(); - } - - /** - * Get Creator - * - * @return string - */ - public function getCreator() { - return $this->_creator; - } - - /** - * Set Creator - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCreator($pValue = '') { - $this->_creator = $pValue; - return $this; - } - - /** - * Get Last Modified By - * - * @return string - */ - public function getLastModifiedBy() { - return $this->_lastModifiedBy; - } - - /** - * Set Last Modified By - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setLastModifiedBy($pValue = '') { - $this->_lastModifiedBy = $pValue; - return $this; - } - - /** - * Get Created - * - * @return datetime - */ - public function getCreated() { - return $this->_created; - } - - /** - * Set Created - * - * @param datetime $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCreated($pValue = null) { - if ($pValue === NULL) { - $pValue = time(); - } elseif (is_string($pValue)) { - if (is_numeric($pValue)) { - $pValue = intval($pValue); - } else { - $pValue = strtotime($pValue); - } - } - - $this->_created = $pValue; - return $this; - } - - /** - * Get Modified - * - * @return datetime - */ - public function getModified() { - return $this->_modified; - } - - /** - * Set Modified - * - * @param datetime $pValue - * @return PHPExcel_DocumentProperties - */ - public function setModified($pValue = null) { - if ($pValue === NULL) { - $pValue = time(); - } elseif (is_string($pValue)) { - if (is_numeric($pValue)) { - $pValue = intval($pValue); - } else { - $pValue = strtotime($pValue); - } - } - - $this->_modified = $pValue; - return $this; - } - - /** - * Get Title - * - * @return string - */ - public function getTitle() { - return $this->_title; - } - - /** - * Set Title - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setTitle($pValue = '') { - $this->_title = $pValue; - return $this; - } - - /** - * Get Description - * - * @return string - */ - public function getDescription() { - return $this->_description; - } - - /** - * Set Description - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setDescription($pValue = '') { - $this->_description = $pValue; - return $this; - } - - /** - * Get Subject - * - * @return string - */ - public function getSubject() { - return $this->_subject; - } - - /** - * Set Subject - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setSubject($pValue = '') { - $this->_subject = $pValue; - return $this; - } - - /** - * Get Keywords - * - * @return string - */ - public function getKeywords() { - return $this->_keywords; - } - - /** - * Set Keywords - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setKeywords($pValue = '') { - $this->_keywords = $pValue; - return $this; - } - - /** - * Get Category - * - * @return string - */ - public function getCategory() { - return $this->_category; - } - - /** - * Set Category - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCategory($pValue = '') { - $this->_category = $pValue; - return $this; - } - - /** - * Get Company - * - * @return string - */ - public function getCompany() { - return $this->_company; - } - - /** - * Set Company - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCompany($pValue = '') { - $this->_company = $pValue; - return $this; - } - - /** - * Get Manager - * - * @return string - */ - public function getManager() { - return $this->_manager; - } - - /** - * Set Manager - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setManager($pValue = '') { - $this->_manager = $pValue; - return $this; - } - - /** - * Get a List of Custom Property Names - * - * @return array of string - */ - public function getCustomProperties() { - return array_keys($this->_customProperties); - } - - /** - * Check if a Custom Property is defined - * - * @param string $propertyName - * @return boolean - */ - public function isCustomPropertySet($propertyName) { - return isset($this->_customProperties[$propertyName]); - } - - /** - * Get a Custom Property Value - * - * @param string $propertyName - * @return string - */ - public function getCustomPropertyValue($propertyName) { - if (isset($this->_customProperties[$propertyName])) { - return $this->_customProperties[$propertyName]['value']; - } - - } - - /** - * Get a Custom Property Type - * - * @param string $propertyName - * @return string - */ - public function getCustomPropertyType($propertyName) { - if (isset($this->_customProperties[$propertyName])) { - return $this->_customProperties[$propertyName]['type']; - } - - } - - /** - * Set a Custom Property - * - * @param string $propertyName - * @param mixed $propertyValue - * @param string $propertyType - * 'i' : Integer - * 'f' : Floating Point - * 's' : String - * 'd' : Date/Time - * 'b' : Boolean - * @return PHPExcel_DocumentProperties - */ - public function setCustomProperty($propertyName,$propertyValue='',$propertyType=NULL) { - if (($propertyType === NULL) || (!in_array($propertyType,array(self::PROPERTY_TYPE_INTEGER, - self::PROPERTY_TYPE_FLOAT, - self::PROPERTY_TYPE_STRING, - self::PROPERTY_TYPE_DATE, - self::PROPERTY_TYPE_BOOLEAN)))) { - if ($propertyValue === NULL) { - $propertyType = self::PROPERTY_TYPE_STRING; - } elseif (is_float($propertyValue)) { - $propertyType = self::PROPERTY_TYPE_FLOAT; - } elseif(is_int($propertyValue)) { - $propertyType = self::PROPERTY_TYPE_INTEGER; - } elseif (is_bool($propertyValue)) { - $propertyType = self::PROPERTY_TYPE_BOOLEAN; - } else { - $propertyType = self::PROPERTY_TYPE_STRING; - } - } - - $this->_customProperties[$propertyName] = array('value' => $propertyValue, 'type' => $propertyType); - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - - public static function convertProperty($propertyValue,$propertyType) { - switch ($propertyType) { - case 'empty' : // Empty - return ''; - break; - case 'null' : // Null - return NULL; - break; - case 'i1' : // 1-Byte Signed Integer - case 'i2' : // 2-Byte Signed Integer - case 'i4' : // 4-Byte Signed Integer - case 'i8' : // 8-Byte Signed Integer - case 'int' : // Integer - return (int) $propertyValue; - break; - case 'ui1' : // 1-Byte Unsigned Integer - case 'ui2' : // 2-Byte Unsigned Integer - case 'ui4' : // 4-Byte Unsigned Integer - case 'ui8' : // 8-Byte Unsigned Integer - case 'uint' : // Unsigned Integer - return abs((int) $propertyValue); - break; - case 'r4' : // 4-Byte Real Number - case 'r8' : // 8-Byte Real Number - case 'decimal' : // Decimal - return (float) $propertyValue; - break; - case 'lpstr' : // LPSTR - case 'lpwstr' : // LPWSTR - case 'bstr' : // Basic String - return $propertyValue; - break; - case 'date' : // Date and Time - case 'filetime' : // File Time - return strtotime($propertyValue); - break; - case 'bool' : // Boolean - return ($propertyValue == 'true') ? True : False; - break; - case 'cy' : // Currency - case 'error' : // Error Status Code - case 'vector' : // Vector - case 'array' : // Array - case 'blob' : // Binary Blob - case 'oblob' : // Binary Blob Object - case 'stream' : // Binary Stream - case 'ostream' : // Binary Stream Object - case 'storage' : // Binary Storage - case 'ostorage' : // Binary Storage Object - case 'vstream' : // Binary Versioned Stream - case 'clsid' : // Class ID - case 'cf' : // Clipboard Data - return $propertyValue; - break; - } - return $propertyValue; - } - - public static function convertPropertyType($propertyType) { - switch ($propertyType) { - case 'i1' : // 1-Byte Signed Integer - case 'i2' : // 2-Byte Signed Integer - case 'i4' : // 4-Byte Signed Integer - case 'i8' : // 8-Byte Signed Integer - case 'int' : // Integer - case 'ui1' : // 1-Byte Unsigned Integer - case 'ui2' : // 2-Byte Unsigned Integer - case 'ui4' : // 4-Byte Unsigned Integer - case 'ui8' : // 8-Byte Unsigned Integer - case 'uint' : // Unsigned Integer - return self::PROPERTY_TYPE_INTEGER; - break; - case 'r4' : // 4-Byte Real Number - case 'r8' : // 8-Byte Real Number - case 'decimal' : // Decimal - return self::PROPERTY_TYPE_FLOAT; - break; - case 'empty' : // Empty - case 'null' : // Null - case 'lpstr' : // LPSTR - case 'lpwstr' : // LPWSTR - case 'bstr' : // Basic String - return self::PROPERTY_TYPE_STRING; - break; - case 'date' : // Date and Time - case 'filetime' : // File Time - return self::PROPERTY_TYPE_DATE; - break; - case 'bool' : // Boolean - return self::PROPERTY_TYPE_BOOLEAN; - break; - case 'cy' : // Currency - case 'error' : // Error Status Code - case 'vector' : // Vector - case 'array' : // Array - case 'blob' : // Binary Blob - case 'oblob' : // Binary Blob Object - case 'stream' : // Binary Stream - case 'ostream' : // Binary Stream Object - case 'storage' : // Binary Storage - case 'ostorage' : // Binary Storage Object - case 'vstream' : // Binary Versioned Stream - case 'clsid' : // Class ID - case 'cf' : // Clipboard Data - return self::PROPERTY_TYPE_UNKNOWN; - break; - } - return self::PROPERTY_TYPE_UNKNOWN; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/DocumentSecurity.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/DocumentSecurity.php deleted file mode 100644 index cf7ffb57c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/DocumentSecurity.php +++ /dev/null @@ -1,218 +0,0 @@ -_lockRevision = false; - $this->_lockStructure = false; - $this->_lockWindows = false; - $this->_revisionsPassword = ''; - $this->_workbookPassword = ''; - } - - /** - * Is some sort of dcument security enabled? - * - * @return boolean - */ - function isSecurityEnabled() { - return $this->_lockRevision || - $this->_lockStructure || - $this->_lockWindows; - } - - /** - * Get LockRevision - * - * @return boolean - */ - function getLockRevision() { - return $this->_lockRevision; - } - - /** - * Set LockRevision - * - * @param boolean $pValue - * @return PHPExcel_DocumentSecurity - */ - function setLockRevision($pValue = false) { - $this->_lockRevision = $pValue; - return $this; - } - - /** - * Get LockStructure - * - * @return boolean - */ - function getLockStructure() { - return $this->_lockStructure; - } - - /** - * Set LockStructure - * - * @param boolean $pValue - * @return PHPExcel_DocumentSecurity - */ - function setLockStructure($pValue = false) { - $this->_lockStructure = $pValue; - return $this; - } - - /** - * Get LockWindows - * - * @return boolean - */ - function getLockWindows() { - return $this->_lockWindows; - } - - /** - * Set LockWindows - * - * @param boolean $pValue - * @return PHPExcel_DocumentSecurity - */ - function setLockWindows($pValue = false) { - $this->_lockWindows = $pValue; - return $this; - } - - /** - * Get RevisionsPassword (hashed) - * - * @return string - */ - function getRevisionsPassword() { - return $this->_revisionsPassword; - } - - /** - * Set RevisionsPassword - * - * @param string $pValue - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @return PHPExcel_DocumentSecurity - */ - function setRevisionsPassword($pValue = '', $pAlreadyHashed = false) { - if (!$pAlreadyHashed) { - $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue); - } - $this->_revisionsPassword = $pValue; - return $this; - } - - /** - * Get WorkbookPassword (hashed) - * - * @return string - */ - function getWorkbookPassword() { - return $this->_workbookPassword; - } - - /** - * Set WorkbookPassword - * - * @param string $pValue - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @return PHPExcel_DocumentSecurity - */ - function setWorkbookPassword($pValue = '', $pAlreadyHashed = false) { - if (!$pAlreadyHashed) { - $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue); - } - $this->_workbookPassword = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Exception.php deleted file mode 100644 index 578b9eeee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/HashTable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/HashTable.php deleted file mode 100644 index 77106e1e0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/HashTable.php +++ /dev/null @@ -1,202 +0,0 @@ -addFromSource($pSource); - } - } - - /** - * Add HashTable items from source - * - * @param PHPExcel_IComparable[] $pSource Source array to create HashTable from - * @throws PHPExcel_Exception - */ - public function addFromSource($pSource = null) { - // Check if an array was passed - if ($pSource == null) { - return; - } else if (!is_array($pSource)) { - throw new PHPExcel_Exception('Invalid array parameter passed.'); - } - - foreach ($pSource as $item) { - $this->add($item); - } - } - - /** - * Add HashTable item - * - * @param PHPExcel_IComparable $pSource Item to add - * @throws PHPExcel_Exception - */ - public function add(PHPExcel_IComparable $pSource = null) { - $hash = $pSource->getHashCode(); - if (!isset($this->_items[$hash])) { - $this->_items[$hash] = $pSource; - $this->_keyMap[count($this->_items) - 1] = $hash; - } - } - - /** - * Remove HashTable item - * - * @param PHPExcel_IComparable $pSource Item to remove - * @throws PHPExcel_Exception - */ - public function remove(PHPExcel_IComparable $pSource = null) { - $hash = $pSource->getHashCode(); - if (isset($this->_items[$hash])) { - unset($this->_items[$hash]); - - $deleteKey = -1; - foreach ($this->_keyMap as $key => $value) { - if ($deleteKey >= 0) { - $this->_keyMap[$key - 1] = $value; - } - - if ($value == $hash) { - $deleteKey = $key; - } - } - unset($this->_keyMap[count($this->_keyMap) - 1]); - } - } - - /** - * Clear HashTable - * - */ - public function clear() { - $this->_items = array(); - $this->_keyMap = array(); - } - - /** - * Count - * - * @return int - */ - public function count() { - return count($this->_items); - } - - /** - * Get index for hash code - * - * @param string $pHashCode - * @return int Index - */ - public function getIndexForHashCode($pHashCode = '') { - return array_search($pHashCode, $this->_keyMap); - } - - /** - * Get by index - * - * @param int $pIndex - * @return PHPExcel_IComparable - * - */ - public function getByIndex($pIndex = 0) { - if (isset($this->_keyMap[$pIndex])) { - return $this->getByHashCode( $this->_keyMap[$pIndex] ); - } - - return null; - } - - /** - * Get by hashcode - * - * @param string $pHashCode - * @return PHPExcel_IComparable - * - */ - public function getByHashCode($pHashCode = '') { - if (isset($this->_items[$pHashCode])) { - return $this->_items[$pHashCode]; - } - - return null; - } - - /** - * HashTable to array - * - * @return PHPExcel_IComparable[] - */ - public function toArray() { - return $this->_items; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/IComparable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/IComparable.php deleted file mode 100644 index adb9a016d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/IComparable.php +++ /dev/null @@ -1,43 +0,0 @@ - 'IWriter', 'path' => 'PHPExcel/Writer/{0}.php', 'class' => 'PHPExcel_Writer_{0}' ), - array( 'type' => 'IReader', 'path' => 'PHPExcel/Reader/{0}.php', 'class' => 'PHPExcel_Reader_{0}' ) - ); - - /** - * Autoresolve classes - * - * @var array - * @access private - * @static - */ - private static $_autoResolveClasses = array( - 'Excel2007', - 'Excel5', - 'Excel2003XML', - 'OOCalc', - 'SYLK', - 'Gnumeric', - 'HTML', - 'CSV', - ); - - /** - * Private constructor for PHPExcel_IOFactory - */ - private function __construct() { } - - /** - * Get search locations - * - * @static - * @access public - * @return array - */ - public static function getSearchLocations() { - return self::$_searchLocations; - } // function getSearchLocations() - - /** - * Set search locations - * - * @static - * @access public - * @param array $value - * @throws PHPExcel_Reader_Exception - */ - public static function setSearchLocations($value) { - if (is_array($value)) { - self::$_searchLocations = $value; - } else { - throw new PHPExcel_Reader_Exception('Invalid parameter passed.'); - } - } // function setSearchLocations() - - /** - * Add search location - * - * @static - * @access public - * @param string $type Example: IWriter - * @param string $location Example: PHPExcel/Writer/{0}.php - * @param string $classname Example: PHPExcel_Writer_{0} - */ - public static function addSearchLocation($type = '', $location = '', $classname = '') { - self::$_searchLocations[] = array( 'type' => $type, 'path' => $location, 'class' => $classname ); - } // function addSearchLocation() - - /** - * Create PHPExcel_Writer_IWriter - * - * @static - * @access public - * @param PHPExcel $phpExcel - * @param string $writerType Example: Excel2007 - * @return PHPExcel_Writer_IWriter - * @throws PHPExcel_Reader_Exception - */ - public static function createWriter(PHPExcel $phpExcel, $writerType = '') { - // Search type - $searchType = 'IWriter'; - - // Include class - foreach (self::$_searchLocations as $searchLocation) { - if ($searchLocation['type'] == $searchType) { - $className = str_replace('{0}', $writerType, $searchLocation['class']); - - $instance = new $className($phpExcel); - if ($instance !== NULL) { - return $instance; - } - } - } - - // Nothing found... - throw new PHPExcel_Reader_Exception("No $searchType found for type $writerType"); - } // function createWriter() - - /** - * Create PHPExcel_Reader_IReader - * - * @static - * @access public - * @param string $readerType Example: Excel2007 - * @return PHPExcel_Reader_IReader - * @throws PHPExcel_Reader_Exception - */ - public static function createReader($readerType = '') { - // Search type - $searchType = 'IReader'; - - // Include class - foreach (self::$_searchLocations as $searchLocation) { - if ($searchLocation['type'] == $searchType) { - $className = str_replace('{0}', $readerType, $searchLocation['class']); - - $instance = new $className(); - if ($instance !== NULL) { - return $instance; - } - } - } - - // Nothing found... - throw new PHPExcel_Reader_Exception("No $searchType found for type $readerType"); - } // function createReader() - - /** - * Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution - * - * @static - * @access public - * @param string $pFilename The name of the spreadsheet file - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public static function load($pFilename) { - $reader = self::createReaderForFile($pFilename); - return $reader->load($pFilename); - } // function load() - - /** - * Identify file type using automatic PHPExcel_Reader_IReader resolution - * - * @static - * @access public - * @param string $pFilename The name of the spreadsheet file to identify - * @return string - * @throws PHPExcel_Reader_Exception - */ - public static function identify($pFilename) { - $reader = self::createReaderForFile($pFilename); - $className = get_class($reader); - $classType = explode('_',$className); - unset($reader); - return array_pop($classType); - } // function identify() - - /** - * Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution - * - * @static - * @access public - * @param string $pFilename The name of the spreadsheet file - * @return PHPExcel_Reader_IReader - * @throws PHPExcel_Reader_Exception - */ - public static function createReaderForFile($pFilename) { - - // First, lucky guess by inspecting file extension - $pathinfo = pathinfo($pFilename); - - $extensionType = NULL; - if (isset($pathinfo['extension'])) { - switch (strtolower($pathinfo['extension'])) { - case 'xlsx': // Excel (OfficeOpenXML) Spreadsheet - case 'xlsm': // Excel (OfficeOpenXML) Macro Spreadsheet (macros will be discarded) - case 'xltx': // Excel (OfficeOpenXML) Template - case 'xltm': // Excel (OfficeOpenXML) Macro Template (macros will be discarded) - $extensionType = 'Excel2007'; - break; - case 'xls': // Excel (BIFF) Spreadsheet - case 'xlt': // Excel (BIFF) Template - $extensionType = 'Excel5'; - break; - case 'ods': // Open/Libre Offic Calc - case 'ots': // Open/Libre Offic Calc Template - $extensionType = 'OOCalc'; - break; - case 'slk': - $extensionType = 'SYLK'; - break; - case 'xml': // Excel 2003 SpreadSheetML - $extensionType = 'Excel2003XML'; - break; - case 'gnumeric': - $extensionType = 'Gnumeric'; - break; - case 'htm': - case 'html': - $extensionType = 'HTML'; - break; - case 'csv': - // Do nothing - // We must not try to use CSV reader since it loads - // all files including Excel files etc. - break; - default: - break; - } - - if ($extensionType !== NULL) { - $reader = self::createReader($extensionType); - // Let's see if we are lucky - if (isset($reader) && $reader->canRead($pFilename)) { - return $reader; - } - } - } - - // If we reach here then "lucky guess" didn't give any result - // Try walking through all the options in self::$_autoResolveClasses - foreach (self::$_autoResolveClasses as $autoResolveClass) { - // Ignore our original guess, we know that won't work - if ($autoResolveClass !== $extensionType) { - $reader = self::createReader($autoResolveClass); - if ($reader->canRead($pFilename)) { - return $reader; - } - } - } - - throw new PHPExcel_Reader_Exception('Unable to identify a reader for this file'); - } // function createReaderForFile() -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/NamedRange.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/NamedRange.php deleted file mode 100644 index fe245e3ee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/NamedRange.php +++ /dev/null @@ -1,246 +0,0 @@ -_worksheet) - * - * @var bool - */ - private $_localOnly; - - /** - * Scope - * - * @var PHPExcel_Worksheet - */ - private $_scope; - - /** - * Create a new NamedRange - * - * @param string $pName - * @param PHPExcel_Worksheet $pWorksheet - * @param string $pRange - * @param bool $pLocalOnly - * @param PHPExcel_Worksheet|null $pScope Scope. Only applies when $pLocalOnly = true. Null for global scope. - * @throws PHPExcel_Exception - */ - public function __construct($pName = null, PHPExcel_Worksheet $pWorksheet, $pRange = 'A1', $pLocalOnly = false, $pScope = null) - { - // Validate data - if (($pName === NULL) || ($pWorksheet === NULL) || ($pRange === NULL)) { - throw new PHPExcel_Exception('Parameters can not be null.'); - } - - // Set local members - $this->_name = $pName; - $this->_worksheet = $pWorksheet; - $this->_range = $pRange; - $this->_localOnly = $pLocalOnly; - $this->_scope = ($pLocalOnly == true) ? - (($pScope == null) ? $pWorksheet : $pScope) : null; - } - - /** - * Get name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Set name - * - * @param string $value - * @return PHPExcel_NamedRange - */ - public function setName($value = null) { - if ($value !== NULL) { - // Old title - $oldTitle = $this->_name; - - // Re-attach - if ($this->_worksheet !== NULL) { - $this->_worksheet->getParent()->removeNamedRange($this->_name,$this->_worksheet); - } - $this->_name = $value; - - if ($this->_worksheet !== NULL) { - $this->_worksheet->getParent()->addNamedRange($this); - } - - // New title - $newTitle = $this->_name; - PHPExcel_ReferenceHelper::getInstance()->updateNamedFormulas($this->_worksheet->getParent(), $oldTitle, $newTitle); - } - return $this; - } - - /** - * Get worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_worksheet; - } - - /** - * Set worksheet - * - * @param PHPExcel_Worksheet $value - * @return PHPExcel_NamedRange - */ - public function setWorksheet(PHPExcel_Worksheet $value = null) { - if ($value !== NULL) { - $this->_worksheet = $value; - } - return $this; - } - - /** - * Get range - * - * @return string - */ - public function getRange() { - return $this->_range; - } - - /** - * Set range - * - * @param string $value - * @return PHPExcel_NamedRange - */ - public function setRange($value = null) { - if ($value !== NULL) { - $this->_range = $value; - } - return $this; - } - - /** - * Get localOnly - * - * @return bool - */ - public function getLocalOnly() { - return $this->_localOnly; - } - - /** - * Set localOnly - * - * @param bool $value - * @return PHPExcel_NamedRange - */ - public function setLocalOnly($value = false) { - $this->_localOnly = $value; - $this->_scope = $value ? $this->_worksheet : null; - return $this; - } - - /** - * Get scope - * - * @return PHPExcel_Worksheet|null - */ - public function getScope() { - return $this->_scope; - } - - /** - * Set scope - * - * @param PHPExcel_Worksheet|null $value - * @return PHPExcel_NamedRange - */ - public function setScope(PHPExcel_Worksheet $value = null) { - $this->_scope = $value; - $this->_localOnly = ($value == null) ? false : true; - return $this; - } - - /** - * Resolve a named range to a regular cell range - * - * @param string $pNamedRange Named range - * @param PHPExcel_Worksheet|null $pSheet Scope. Use null for global scope - * @return PHPExcel_NamedRange - */ - public static function resolveRange($pNamedRange = '', PHPExcel_Worksheet $pSheet) { - return $pSheet->getParent()->getNamedRange($pNamedRange, $pSheet); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Abstract.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Abstract.php deleted file mode 100644 index 1a6b422ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Abstract.php +++ /dev/null @@ -1,230 +0,0 @@ -_readDataOnly; - } - - /** - * Set read data only - * Set to true, to advise the Reader only to read data values for cells, and to ignore any formatting information. - * Set to false (the default) to advise the Reader to read both data and formatting for cells. - * - * @param boolean $pValue - * - * @return PHPExcel_Reader_IReader - */ - public function setReadDataOnly($pValue = FALSE) { - $this->_readDataOnly = $pValue; - return $this; - } - - /** - * Read charts in workbook? - * If this is true, then the Reader will include any charts that exist in the workbook. - * Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. - * If false (the default) it will ignore any charts defined in the workbook file. - * - * @return boolean - */ - public function getIncludeCharts() { - return $this->_includeCharts; - } - - /** - * Set read charts in workbook - * Set to true, to advise the Reader to include any charts that exist in the workbook. - * Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. - * Set to false (the default) to discard charts. - * - * @param boolean $pValue - * - * @return PHPExcel_Reader_IReader - */ - public function setIncludeCharts($pValue = FALSE) { - $this->_includeCharts = (boolean) $pValue; - return $this; - } - - /** - * Get which sheets to load - * Returns either an array of worksheet names (the list of worksheets that should be loaded), or a null - * indicating that all worksheets in the workbook should be loaded. - * - * @return mixed - */ - public function getLoadSheetsOnly() - { - return $this->_loadSheetsOnly; - } - - /** - * Set which sheets to load - * - * @param mixed $value - * This should be either an array of worksheet names to be loaded, or a string containing a single worksheet name. - * If NULL, then it tells the Reader to read all worksheets in the workbook - * - * @return PHPExcel_Reader_IReader - */ - public function setLoadSheetsOnly($value = NULL) - { - if ($value === NULL) - return $this->setLoadAllSheets(); - - $this->_loadSheetsOnly = is_array($value) ? - $value : array($value); - return $this; - } - - /** - * Set all sheets to load - * Tells the Reader to load all worksheets from the workbook. - * - * @return PHPExcel_Reader_IReader - */ - public function setLoadAllSheets() - { - $this->_loadSheetsOnly = NULL; - return $this; - } - - /** - * Read filter - * - * @return PHPExcel_Reader_IReadFilter - */ - public function getReadFilter() { - return $this->_readFilter; - } - - /** - * Set read filter - * - * @param PHPExcel_Reader_IReadFilter $pValue - * @return PHPExcel_Reader_IReader - */ - public function setReadFilter(PHPExcel_Reader_IReadFilter $pValue) { - $this->_readFilter = $pValue; - return $this; - } - - /** - * Open file for reading - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - * @return resource - */ - protected function _openFile($pFilename) - { - // Check if file exists - if (!file_exists($pFilename) || !is_readable($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - // Open file - $this->_fileHandle = fopen($pFilename, 'r'); - if ($this->_fileHandle === FALSE) { - throw new PHPExcel_Reader_Exception("Could not open file " . $pFilename . " for reading."); - } - } - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - try { - $this->_openFile($pFilename); - } catch (Exception $e) { - return FALSE; - } - - $readable = $this->_isValidFormat(); - fclose ($this->_fileHandle); - return $readable; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/CSV.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/CSV.php deleted file mode 100644 index 22176fdc9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/CSV.php +++ /dev/null @@ -1,387 +0,0 @@ -_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - /** - * Validate that the current file is a CSV file - * - * @return boolean - */ - protected function _isValidFormat() - { - return TRUE; - } - - /** - * Set input encoding - * - * @param string $pValue Input encoding - */ - public function setInputEncoding($pValue = 'UTF-8') - { - $this->_inputEncoding = $pValue; - return $this; - } - - /** - * Get input encoding - * - * @return string - */ - public function getInputEncoding() - { - return $this->_inputEncoding; - } - - /** - * Move filepointer past any BOM marker - * - */ - protected function _skipBOM() - { - rewind($this->_fileHandle); - - switch ($this->_inputEncoding) { - case 'UTF-8': - fgets($this->_fileHandle, 4) == "\xEF\xBB\xBF" ? - fseek($this->_fileHandle, 3) : fseek($this->_fileHandle, 0); - break; - case 'UTF-16LE': - fgets($this->_fileHandle, 3) == "\xFF\xFE" ? - fseek($this->_fileHandle, 2) : fseek($this->_fileHandle, 0); - break; - case 'UTF-16BE': - fgets($this->_fileHandle, 3) == "\xFE\xFF" ? - fseek($this->_fileHandle, 2) : fseek($this->_fileHandle, 0); - break; - case 'UTF-32LE': - fgets($this->_fileHandle, 5) == "\xFF\xFE\x00\x00" ? - fseek($this->_fileHandle, 4) : fseek($this->_fileHandle, 0); - break; - case 'UTF-32BE': - fgets($this->_fileHandle, 5) == "\x00\x00\xFE\xFF" ? - fseek($this->_fileHandle, 4) : fseek($this->_fileHandle, 0); - break; - default: - break; - } - } - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - - // Skip BOM, if any - $this->_skipBOM(); - - $escapeEnclosures = array( "\\" . $this->_enclosure, $this->_enclosure . $this->_enclosure ); - - $worksheetInfo = array(); - $worksheetInfo[0]['worksheetName'] = 'Worksheet'; - $worksheetInfo[0]['lastColumnLetter'] = 'A'; - $worksheetInfo[0]['lastColumnIndex'] = 0; - $worksheetInfo[0]['totalRows'] = 0; - $worksheetInfo[0]['totalColumns'] = 0; - - // Loop through each line of the file in turn - while (($rowData = fgetcsv($fileHandle, 0, $this->_delimiter, $this->_enclosure)) !== FALSE) { - $worksheetInfo[0]['totalRows']++; - $worksheetInfo[0]['lastColumnIndex'] = max($worksheetInfo[0]['lastColumnIndex'], count($rowData) - 1); - } - - $worksheetInfo[0]['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($worksheetInfo[0]['lastColumnIndex']); - $worksheetInfo[0]['totalColumns'] = $worksheetInfo[0]['lastColumnIndex'] + 1; - - // Close file - fclose($fileHandle); - - return $worksheetInfo; - } - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - $lineEnding = ini_get('auto_detect_line_endings'); - ini_set('auto_detect_line_endings', true); - - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - - // Skip BOM, if any - $this->_skipBOM(); - - // Create new PHPExcel object - while ($objPHPExcel->getSheetCount() <= $this->_sheetIndex) { - $objPHPExcel->createSheet(); - } - $sheet = $objPHPExcel->setActiveSheetIndex($this->_sheetIndex); - - $escapeEnclosures = array( "\\" . $this->_enclosure, - $this->_enclosure . $this->_enclosure - ); - - // Set our starting row based on whether we're in contiguous mode or not - $currentRow = 1; - if ($this->_contiguous) { - $currentRow = ($this->_contiguousRow == -1) ? $sheet->getHighestRow(): $this->_contiguousRow; - } - - // Loop through each line of the file in turn - while (($rowData = fgetcsv($fileHandle, 0, $this->_delimiter, $this->_enclosure)) !== FALSE) { - $columnLetter = 'A'; - foreach($rowData as $rowDatum) { - if ($rowDatum != '' && $this->_readFilter->readCell($columnLetter, $currentRow)) { - // Unescape enclosures - $rowDatum = str_replace($escapeEnclosures, $this->_enclosure, $rowDatum); - - // Convert encoding if necessary - if ($this->_inputEncoding !== 'UTF-8') { - $rowDatum = PHPExcel_Shared_String::ConvertEncoding($rowDatum, 'UTF-8', $this->_inputEncoding); - } - - // Set cell value - $sheet->getCell($columnLetter . $currentRow)->setValue($rowDatum); - } - ++$columnLetter; - } - ++$currentRow; - } - - // Close file - fclose($fileHandle); - - if ($this->_contiguous) { - $this->_contiguousRow = $currentRow; - } - - ini_set('auto_detect_line_endings', $lineEnding); - - // Return - return $objPHPExcel; - } - - /** - * Get delimiter - * - * @return string - */ - public function getDelimiter() { - return $this->_delimiter; - } - - /** - * Set delimiter - * - * @param string $pValue Delimiter, defaults to , - * @return PHPExcel_Reader_CSV - */ - public function setDelimiter($pValue = ',') { - $this->_delimiter = $pValue; - return $this; - } - - /** - * Get enclosure - * - * @return string - */ - public function getEnclosure() { - return $this->_enclosure; - } - - /** - * Set enclosure - * - * @param string $pValue Enclosure, defaults to " - * @return PHPExcel_Reader_CSV - */ - public function setEnclosure($pValue = '"') { - if ($pValue == '') { - $pValue = '"'; - } - $this->_enclosure = $pValue; - return $this; - } - - /** - * Get sheet index - * - * @return integer - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param integer $pValue Sheet index - * @return PHPExcel_Reader_CSV - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - - /** - * Set Contiguous - * - * @param boolean $contiguous - */ - public function setContiguous($contiguous = FALSE) - { - $this->_contiguous = (bool) $contiguous; - if (!$contiguous) { - $this->_contiguousRow = -1; - } - - return $this; - } - - /** - * Get Contiguous - * - * @return boolean - */ - public function getContiguous() { - return $this->_contiguous; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/DefaultReadFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/DefaultReadFilter.php deleted file mode 100644 index dc55fc6bd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/DefaultReadFilter.php +++ /dev/null @@ -1,58 +0,0 @@ -_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - - // Office xmlns:o="urn:schemas-microsoft-com:office:office" - // Excel xmlns:x="urn:schemas-microsoft-com:office:excel" - // XML Spreadsheet xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" - // Spreadsheet component xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" - // XML schema xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" - // XML data type xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" - // MS-persist recordset xmlns:rs="urn:schemas-microsoft-com:rowset" - // Rowset xmlns:z="#RowsetSchema" - // - - $signature = array( - '' - ); - - // Open file - $this->_openFile($pFilename); - $fileHandle = $this->_fileHandle; - - // Read sample data (first 2 KB will do) - $data = fread($fileHandle, 2048); - fclose($fileHandle); - - $valid = true; - foreach($signature as $match) { - // every part of the signature must be present - if (strpos($data, $match) === false) { - $valid = false; - break; - } - } - - // Retrieve charset encoding - if(preg_match('//um',$data,$matches)) { - $this->_charSet = strtoupper($matches[1]); - } -// echo 'Character Set is ',$this->_charSet,'
'; - - return $valid; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - if (!$this->canRead($pFilename)) { - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - - $worksheetNames = array(); - - $xml = simplexml_load_string(file_get_contents($pFilename), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespaces = $xml->getNamespaces(true); - - $xml_ss = $xml->children($namespaces['ss']); - foreach($xml_ss->Worksheet as $worksheet) { - $worksheet_ss = $worksheet->attributes($namespaces['ss']); - $worksheetNames[] = self::_convertStringEncoding((string) $worksheet_ss['Name'],$this->_charSet); - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - $xml = simplexml_load_string(file_get_contents($pFilename), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespaces = $xml->getNamespaces(true); - - $worksheetID = 1; - $xml_ss = $xml->children($namespaces['ss']); - foreach($xml_ss->Worksheet as $worksheet) { - $worksheet_ss = $worksheet->attributes($namespaces['ss']); - - $tmpInfo = array(); - $tmpInfo['worksheetName'] = ''; - $tmpInfo['lastColumnLetter'] = 'A'; - $tmpInfo['lastColumnIndex'] = 0; - $tmpInfo['totalRows'] = 0; - $tmpInfo['totalColumns'] = 0; - - if (isset($worksheet_ss['Name'])) { - $tmpInfo['worksheetName'] = (string) $worksheet_ss['Name']; - } else { - $tmpInfo['worksheetName'] = "Worksheet_{$worksheetID}"; - } - - if (isset($worksheet->Table->Row)) { - $rowIndex = 0; - - foreach($worksheet->Table->Row as $rowData) { - $columnIndex = 0; - $rowHasData = false; - - foreach($rowData->Cell as $cell) { - if (isset($cell->Data)) { - $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex); - $rowHasData = true; - } - - ++$columnIndex; - } - - ++$rowIndex; - - if ($rowHasData) { - $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex); - } - } - } - - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1; - - $worksheetInfo[] = $tmpInfo; - ++$worksheetID; - } - - return $worksheetInfo; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - - private static function identifyFixedStyleValue($styleList,&$styleAttributeValue) { - $styleAttributeValue = strtolower($styleAttributeValue); - foreach($styleList as $style) { - if ($styleAttributeValue == strtolower($style)) { - $styleAttributeValue = $style; - return true; - } - } - return false; - } - - - /** - * pixel units to excel width units(units of 1/256th of a character width) - * @param pxs - * @return - */ - private static function _pixel2WidthUnits($pxs) { - $UNIT_OFFSET_MAP = array(0, 36, 73, 109, 146, 182, 219); - - $widthUnits = 256 * ($pxs / 7); - $widthUnits += $UNIT_OFFSET_MAP[($pxs % 7)]; - return $widthUnits; - } - - - /** - * excel width units(units of 1/256th of a character width) to pixel units - * @param widthUnits - * @return - */ - private static function _widthUnits2Pixel($widthUnits) { - $pixels = ($widthUnits / 256) * 7; - $offsetWidthUnits = $widthUnits % 256; - $pixels += round($offsetWidthUnits / (256 / 7)); - return $pixels; - } - - - private static function _hex2str($hex) { - return chr(hexdec($hex[1])); - } - - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - $fromFormats = array('\-', '\ '); - $toFormats = array('-', ' '); - - $underlineStyles = array ( - PHPExcel_Style_Font::UNDERLINE_NONE, - PHPExcel_Style_Font::UNDERLINE_DOUBLE, - PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING, - PHPExcel_Style_Font::UNDERLINE_SINGLE, - PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING - ); - $verticalAlignmentStyles = array ( - PHPExcel_Style_Alignment::VERTICAL_BOTTOM, - PHPExcel_Style_Alignment::VERTICAL_TOP, - PHPExcel_Style_Alignment::VERTICAL_CENTER, - PHPExcel_Style_Alignment::VERTICAL_JUSTIFY - ); - $horizontalAlignmentStyles = array ( - PHPExcel_Style_Alignment::HORIZONTAL_GENERAL, - PHPExcel_Style_Alignment::HORIZONTAL_LEFT, - PHPExcel_Style_Alignment::HORIZONTAL_RIGHT, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS, - PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY - ); - - $timezoneObj = new DateTimeZone('Europe/London'); - $GMT = new DateTimeZone('UTC'); - - - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - if (!$this->canRead($pFilename)) { - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - - $xml = simplexml_load_string(file_get_contents($pFilename), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespaces = $xml->getNamespaces(true); - - $docProps = $objPHPExcel->getProperties(); - if (isset($xml->DocumentProperties[0])) { - foreach($xml->DocumentProperties[0] as $propertyName => $propertyValue) { - switch ($propertyName) { - case 'Title' : - $docProps->setTitle(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Subject' : - $docProps->setSubject(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Author' : - $docProps->setCreator(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Created' : - $creationDate = strtotime($propertyValue); - $docProps->setCreated($creationDate); - break; - case 'LastAuthor' : - $docProps->setLastModifiedBy(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'LastSaved' : - $lastSaveDate = strtotime($propertyValue); - $docProps->setModified($lastSaveDate); - break; - case 'Company' : - $docProps->setCompany(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Category' : - $docProps->setCategory(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Manager' : - $docProps->setManager(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Keywords' : - $docProps->setKeywords(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Description' : - $docProps->setDescription(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - } - } - } - if (isset($xml->CustomDocumentProperties)) { - foreach($xml->CustomDocumentProperties[0] as $propertyName => $propertyValue) { - $propertyAttributes = $propertyValue->attributes($namespaces['dt']); - $propertyName = preg_replace_callback('/_x([0-9a-z]{4})_/','PHPExcel_Reader_Excel2003XML::_hex2str',$propertyName); - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_UNKNOWN; - switch((string) $propertyAttributes) { - case 'string' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING; - $propertyValue = trim($propertyValue); - break; - case 'boolean' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN; - $propertyValue = (bool) $propertyValue; - break; - case 'integer' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_INTEGER; - $propertyValue = intval($propertyValue); - break; - case 'float' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_FLOAT; - $propertyValue = floatval($propertyValue); - break; - case 'dateTime.tz' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE; - $propertyValue = strtotime(trim($propertyValue)); - break; - } - $docProps->setCustomProperty($propertyName,$propertyValue,$propertyType); - } - } - - foreach($xml->Styles[0] as $style) { - $style_ss = $style->attributes($namespaces['ss']); - $styleID = (string) $style_ss['ID']; -// echo 'Style ID = '.$styleID.'
'; - if ($styleID == 'Default') { - $this->_styles['Default'] = array(); - } else { - $this->_styles[$styleID] = $this->_styles['Default']; - } - foreach ($style as $styleType => $styleData) { - $styleAttributes = $styleData->attributes($namespaces['ss']); -// echo $styleType.'
'; - switch ($styleType) { - case 'Alignment' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'
'; - $styleAttributeValue = (string) $styleAttributeValue; - switch ($styleAttributeKey) { - case 'Vertical' : - if (self::identifyFixedStyleValue($verticalAlignmentStyles,$styleAttributeValue)) { - $this->_styles[$styleID]['alignment']['vertical'] = $styleAttributeValue; - } - break; - case 'Horizontal' : - if (self::identifyFixedStyleValue($horizontalAlignmentStyles,$styleAttributeValue)) { - $this->_styles[$styleID]['alignment']['horizontal'] = $styleAttributeValue; - } - break; - case 'WrapText' : - $this->_styles[$styleID]['alignment']['wrap'] = true; - break; - } - } - break; - case 'Borders' : - foreach($styleData->Border as $borderStyle) { - $borderAttributes = $borderStyle->attributes($namespaces['ss']); - $thisBorder = array(); - foreach($borderAttributes as $borderStyleKey => $borderStyleValue) { -// echo $borderStyleKey.' = '.$borderStyleValue.'
'; - switch ($borderStyleKey) { - case 'LineStyle' : - $thisBorder['style'] = PHPExcel_Style_Border::BORDER_MEDIUM; -// $thisBorder['style'] = $borderStyleValue; - break; - case 'Weight' : -// $thisBorder['style'] = $borderStyleValue; - break; - case 'Position' : - $borderPosition = strtolower($borderStyleValue); - break; - case 'Color' : - $borderColour = substr($borderStyleValue,1); - $thisBorder['color']['rgb'] = $borderColour; - break; - } - } - if (!empty($thisBorder)) { - if (($borderPosition == 'left') || ($borderPosition == 'right') || ($borderPosition == 'top') || ($borderPosition == 'bottom')) { - $this->_styles[$styleID]['borders'][$borderPosition] = $thisBorder; - } - } - } - break; - case 'Font' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'
'; - $styleAttributeValue = (string) $styleAttributeValue; - switch ($styleAttributeKey) { - case 'FontName' : - $this->_styles[$styleID]['font']['name'] = $styleAttributeValue; - break; - case 'Size' : - $this->_styles[$styleID]['font']['size'] = $styleAttributeValue; - break; - case 'Color' : - $this->_styles[$styleID]['font']['color']['rgb'] = substr($styleAttributeValue,1); - break; - case 'Bold' : - $this->_styles[$styleID]['font']['bold'] = true; - break; - case 'Italic' : - $this->_styles[$styleID]['font']['italic'] = true; - break; - case 'Underline' : - if (self::identifyFixedStyleValue($underlineStyles,$styleAttributeValue)) { - $this->_styles[$styleID]['font']['underline'] = $styleAttributeValue; - } - break; - } - } - break; - case 'Interior' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'
'; - switch ($styleAttributeKey) { - case 'Color' : - $this->_styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue,1); - break; - } - } - break; - case 'NumberFormat' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'
'; - $styleAttributeValue = str_replace($fromFormats,$toFormats,$styleAttributeValue); - switch ($styleAttributeValue) { - case 'Short Date' : - $styleAttributeValue = 'dd/mm/yyyy'; - break; - } - if ($styleAttributeValue > '') { - $this->_styles[$styleID]['numberformat']['code'] = $styleAttributeValue; - } - } - break; - case 'Protection' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'
'; - } - break; - } - } -// print_r($this->_styles[$styleID]); -// echo '
'; - } -// echo '
'; - - $worksheetID = 0; - $xml_ss = $xml->children($namespaces['ss']); - - foreach($xml_ss->Worksheet as $worksheet) { - $worksheet_ss = $worksheet->attributes($namespaces['ss']); - - if ((isset($this->_loadSheetsOnly)) && (isset($worksheet_ss['Name'])) && - (!in_array($worksheet_ss['Name'], $this->_loadSheetsOnly))) { - continue; - } - -// echo '

Worksheet: ',$worksheet_ss['Name'],'

'; -// - // Create new Worksheet - $objPHPExcel->createSheet(); - $objPHPExcel->setActiveSheetIndex($worksheetID); - if (isset($worksheet_ss['Name'])) { - $worksheetName = self::_convertStringEncoding((string) $worksheet_ss['Name'],$this->_charSet); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in - // formula cells... during the load, all formulae should be correct, and we're simply bringing - // the worksheet name in line with the formula, not the reverse - $objPHPExcel->getActiveSheet()->setTitle($worksheetName,false); - } - - $columnID = 'A'; - if (isset($worksheet->Table->Column)) { - foreach($worksheet->Table->Column as $columnData) { - $columnData_ss = $columnData->attributes($namespaces['ss']); - if (isset($columnData_ss['Index'])) { - $columnID = PHPExcel_Cell::stringFromColumnIndex($columnData_ss['Index']-1); - } - if (isset($columnData_ss['Width'])) { - $columnWidth = $columnData_ss['Width']; -// echo 'Setting column width for '.$columnID.' to '.$columnWidth.'
'; - $objPHPExcel->getActiveSheet()->getColumnDimension($columnID)->setWidth($columnWidth / 5.4); - } - ++$columnID; - } - } - - $rowID = 1; - if (isset($worksheet->Table->Row)) { - foreach($worksheet->Table->Row as $rowData) { - $rowHasData = false; - $row_ss = $rowData->attributes($namespaces['ss']); - if (isset($row_ss['Index'])) { - $rowID = (integer) $row_ss['Index']; - } -// echo 'Row '.$rowID.'
'; - - $columnID = 'A'; - foreach($rowData->Cell as $cell) { - - $cell_ss = $cell->attributes($namespaces['ss']); - if (isset($cell_ss['Index'])) { - $columnID = PHPExcel_Cell::stringFromColumnIndex($cell_ss['Index']-1); - } - $cellRange = $columnID.$rowID; - - if ($this->getReadFilter() !== NULL) { - if (!$this->getReadFilter()->readCell($columnID, $rowID, $worksheetName)) { - continue; - } - } - - if ((isset($cell_ss['MergeAcross'])) || (isset($cell_ss['MergeDown']))) { - $columnTo = $columnID; - if (isset($cell_ss['MergeAcross'])) { - $columnTo = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($columnID) + $cell_ss['MergeAcross'] -1); - } - $rowTo = $rowID; - if (isset($cell_ss['MergeDown'])) { - $rowTo = $rowTo + $cell_ss['MergeDown']; - } - $cellRange .= ':'.$columnTo.$rowTo; - $objPHPExcel->getActiveSheet()->mergeCells($cellRange); - } - - $cellIsSet = $hasCalculatedValue = false; - $cellDataFormula = ''; - if (isset($cell_ss['Formula'])) { - $cellDataFormula = $cell_ss['Formula']; - // added this as a check for array formulas - if (isset($cell_ss['ArrayRange'])) { - $cellDataCSEFormula = $cell_ss['ArrayRange']; -// echo "found an array formula at ".$columnID.$rowID."
"; - } - $hasCalculatedValue = true; - } - if (isset($cell->Data)) { - $cellValue = $cellData = $cell->Data; - $type = PHPExcel_Cell_DataType::TYPE_NULL; - $cellData_ss = $cellData->attributes($namespaces['ss']); - if (isset($cellData_ss['Type'])) { - $cellDataType = $cellData_ss['Type']; - switch ($cellDataType) { - /* - const TYPE_STRING = 's'; - const TYPE_FORMULA = 'f'; - const TYPE_NUMERIC = 'n'; - const TYPE_BOOL = 'b'; - const TYPE_NULL = 'null'; - const TYPE_INLINE = 'inlineStr'; - const TYPE_ERROR = 'e'; - */ - case 'String' : - $cellValue = self::_convertStringEncoding($cellValue,$this->_charSet); - $type = PHPExcel_Cell_DataType::TYPE_STRING; - break; - case 'Number' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $cellValue = (float) $cellValue; - if (floor($cellValue) == $cellValue) { - $cellValue = (integer) $cellValue; - } - break; - case 'Boolean' : - $type = PHPExcel_Cell_DataType::TYPE_BOOL; - $cellValue = ($cellValue != 0); - break; - case 'DateTime' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $cellValue = PHPExcel_Shared_Date::PHPToExcel(strtotime($cellValue)); - break; - case 'Error' : - $type = PHPExcel_Cell_DataType::TYPE_ERROR; - break; - } - } - - if ($hasCalculatedValue) { -// echo 'FORMULA
'; - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; - $columnNumber = PHPExcel_Cell::columnIndexFromString($columnID); - if (substr($cellDataFormula,0,3) == 'of:') { - $cellDataFormula = substr($cellDataFormula,3); -// echo 'Before: ',$cellDataFormula,'
'; - $temp = explode('"',$cellDataFormula); - $key = false; - foreach($temp as &$value) { - // Only replace in alternate array entries (i.e. non-quoted blocks) - if ($key = !$key) { - $value = str_replace(array('[.','.',']'),'',$value); - } - } - } else { - // Convert R1C1 style references to A1 style references (but only when not quoted) -// echo 'Before: ',$cellDataFormula,'
'; - $temp = explode('"',$cellDataFormula); - $key = false; - foreach($temp as &$value) { - // Only replace in alternate array entries (i.e. non-quoted blocks) - if ($key = !$key) { - preg_match_all('/(R(\[?-?\d*\]?))(C(\[?-?\d*\]?))/',$value, $cellReferences,PREG_SET_ORDER+PREG_OFFSET_CAPTURE); - // Reverse the matches array, otherwise all our offsets will become incorrect if we modify our way - // through the formula from left to right. Reversing means that we work right to left.through - // the formula - $cellReferences = array_reverse($cellReferences); - // Loop through each R1C1 style reference in turn, converting it to its A1 style equivalent, - // then modify the formula to use that new reference - foreach($cellReferences as $cellReference) { - $rowReference = $cellReference[2][0]; - // Empty R reference is the current row - if ($rowReference == '') $rowReference = $rowID; - // Bracketed R references are relative to the current row - if ($rowReference{0} == '[') $rowReference = $rowID + trim($rowReference,'[]'); - $columnReference = $cellReference[4][0]; - // Empty C reference is the current column - if ($columnReference == '') $columnReference = $columnNumber; - // Bracketed C references are relative to the current column - if ($columnReference{0} == '[') $columnReference = $columnNumber + trim($columnReference,'[]'); - $A1CellReference = PHPExcel_Cell::stringFromColumnIndex($columnReference-1).$rowReference; - $value = substr_replace($value,$A1CellReference,$cellReference[0][1],strlen($cellReference[0][0])); - } - } - } - } - unset($value); - // Then rebuild the formula string - $cellDataFormula = implode('"',$temp); -// echo 'After: ',$cellDataFormula,'
'; - } - -// echo 'Cell '.$columnID.$rowID.' is a '.$type.' with a value of '.(($hasCalculatedValue) ? $cellDataFormula : $cellValue).'
'; -// - $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setValueExplicit((($hasCalculatedValue) ? $cellDataFormula : $cellValue),$type); - if ($hasCalculatedValue) { -// echo 'Formula result is '.$cellValue.'
'; - $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setCalculatedValue($cellValue); - } - $cellIsSet = $rowHasData = true; - } - - if (isset($cell->Comment)) { -// echo 'comment found
'; - $commentAttributes = $cell->Comment->attributes($namespaces['ss']); - $author = 'unknown'; - if (isset($commentAttributes->Author)) { - $author = (string)$commentAttributes->Author; -// echo 'Author: ',$author,'
'; - } - $node = $cell->Comment->Data->asXML(); -// $annotation = str_replace('html:','',substr($node,49,-10)); -// echo $annotation,'
'; - $annotation = strip_tags($node); -// echo 'Annotation: ',$annotation,'
'; - $objPHPExcel->getActiveSheet()->getComment( $columnID.$rowID ) - ->setAuthor(self::_convertStringEncoding($author ,$this->_charSet)) - ->setText($this->_parseRichText($annotation) ); - } - - if (($cellIsSet) && (isset($cell_ss['StyleID']))) { - $style = (string) $cell_ss['StyleID']; -// echo 'Cell style for '.$columnID.$rowID.' is '.$style.'
'; - if ((isset($this->_styles[$style])) && (!empty($this->_styles[$style]))) { -// echo 'Cell '.$columnID.$rowID.'
'; -// print_r($this->_styles[$style]); -// echo '
'; - if (!$objPHPExcel->getActiveSheet()->cellExists($columnID.$rowID)) { - $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setValue(NULL); - } - $objPHPExcel->getActiveSheet()->getStyle($cellRange)->applyFromArray($this->_styles[$style]); - } - } - ++$columnID; - } - - if ($rowHasData) { - if (isset($row_ss['StyleID'])) { - $rowStyle = $row_ss['StyleID']; - } - if (isset($row_ss['Height'])) { - $rowHeight = $row_ss['Height']; -// echo 'Setting row height to '.$rowHeight.'
'; - $objPHPExcel->getActiveSheet()->getRowDimension($rowID)->setRowHeight($rowHeight); - } - } - - ++$rowID; - } - } - ++$worksheetID; - } - - // Return - return $objPHPExcel; - } - - - private static function _convertStringEncoding($string,$charset) { - if ($charset != 'UTF-8') { - return PHPExcel_Shared_String::ConvertEncoding($string,'UTF-8',$charset); - } - return $string; - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText(self::_convertStringEncoding($is,$this->_charSet)); - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007.php deleted file mode 100644 index afe3b5c8e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007.php +++ /dev/null @@ -1,2085 +0,0 @@ -_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - $this->_referenceHelper = PHPExcel_ReferenceHelper::getInstance(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - // Check if zip class exists -// if (!class_exists($zipClass, FALSE)) { -// throw new PHPExcel_Reader_Exception($zipClass . " library is not enabled"); -// } - - $xl = false; - // Load file - $zip = new $zipClass; - if ($zip->open($pFilename) === true) { - // check if it is an OOXML archive - $rels = simplexml_load_string($this->_getFromZipArchive($zip, "_rels/.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if ($rels !== false) { - foreach ($rels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument": - if (basename($rel["Target"]) == 'workbook.xml') { - $xl = true; - } - break; - - } - } - } - $zip->close(); - } - - return $xl; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetNames = array(); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - $zip->open($pFilename); - - // The files we're looking at here are small enough that simpleXML is more efficient than XMLReader - $rels = simplexml_load_string( - $this->_getFromZipArchive($zip, "_rels/.rels", 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()) - ); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($rels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument": - $xmlWorkbook = simplexml_load_string( - $this->_getFromZipArchive($zip, "{$rel['Target']}", 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()) - ); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - - if ($xmlWorkbook->sheets) { - foreach ($xmlWorkbook->sheets->sheet as $eleSheet) { - // Check if sheet should be skipped - $worksheetNames[] = (string) $eleSheet["name"]; - } - } - } - } - - $zip->close(); - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - $zip->open($pFilename); - - $rels = simplexml_load_string($this->_getFromZipArchive($zip, "_rels/.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($rels->Relationship as $rel) { - if ($rel["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument") { - $dir = dirname($rel["Target"]); - $relsWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/_rels/" . basename($rel["Target"]) . ".rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $relsWorkbook->registerXPathNamespace("rel", "http://schemas.openxmlformats.org/package/2006/relationships"); - - $worksheets = array(); - foreach ($relsWorkbook->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet") { - $worksheets[(string) $ele["Id"]] = $ele["Target"]; - } - } - - $xmlWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - if ($xmlWorkbook->sheets) { - $dir = dirname($rel["Target"]); - foreach ($xmlWorkbook->sheets->sheet as $eleSheet) { - $tmpInfo = array( - 'worksheetName' => (string) $eleSheet["name"], - 'lastColumnLetter' => 'A', - 'lastColumnIndex' => 0, - 'totalRows' => 0, - 'totalColumns' => 0, - ); - - $fileWorksheet = $worksheets[(string) self::array_item($eleSheet->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "id")]; - - $xml = new XMLReader(); - $res = $xml->open('zip://'.PHPExcel_Shared_File::realpath($pFilename).'#'."$dir/$fileWorksheet", null, PHPExcel_Settings::getLibXmlLoaderOptions()); - $xml->setParserProperty(2,true); - - $currCells = 0; - while ($xml->read()) { - if ($xml->name == 'row' && $xml->nodeType == XMLReader::ELEMENT) { - $row = $xml->getAttribute('r'); - $tmpInfo['totalRows'] = $row; - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $currCells = 0; - } elseif ($xml->name == 'c' && $xml->nodeType == XMLReader::ELEMENT) { - $currCells++; - } - } - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $xml->close(); - - $tmpInfo['lastColumnIndex'] = $tmpInfo['totalColumns'] - 1; - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - - $worksheetInfo[] = $tmpInfo; - } - } - } - } - - $zip->close(); - - return $worksheetInfo; - } - - - private static function _castToBool($c) { -// echo 'Initial Cast to Boolean', PHP_EOL; - $value = isset($c->v) ? (string) $c->v : NULL; - if ($value == '0') { - return FALSE; - } elseif ($value == '1') { - return TRUE; - } else { - return (bool)$c->v; - } - return $value; - } // function _castToBool() - - - private static function _castToError($c) { -// echo 'Initial Cast to Error', PHP_EOL; - return isset($c->v) ? (string) $c->v : NULL; - } // function _castToError() - - - private static function _castToString($c) { -// echo 'Initial Cast to String, PHP_EOL; - return isset($c->v) ? (string) $c->v : NULL; - } // function _castToString() - - - private function _castToFormula($c,$r,&$cellDataType,&$value,&$calculatedValue,&$sharedFormulas,$castBaseType) { -// echo 'Formula', PHP_EOL; -// echo '$c->f is ', $c->f, PHP_EOL; - $cellDataType = 'f'; - $value = "={$c->f}"; - $calculatedValue = self::$castBaseType($c); - - // Shared formula? - if (isset($c->f['t']) && strtolower((string)$c->f['t']) == 'shared') { -// echo 'SHARED FORMULA', PHP_EOL; - $instance = (string)$c->f['si']; - -// echo 'Instance ID = ', $instance, PHP_EOL; -// -// echo 'Shared Formula Array:', PHP_EOL; -// print_r($sharedFormulas); - if (!isset($sharedFormulas[(string)$c->f['si']])) { -// echo 'SETTING NEW SHARED FORMULA', PHP_EOL; -// echo 'Master is ', $r, PHP_EOL; -// echo 'Formula is ', $value, PHP_EOL; - $sharedFormulas[$instance] = array( 'master' => $r, - 'formula' => $value - ); -// echo 'New Shared Formula Array:', PHP_EOL; -// print_r($sharedFormulas); - } else { -// echo 'GETTING SHARED FORMULA', PHP_EOL; -// echo 'Master is ', $sharedFormulas[$instance]['master'], PHP_EOL; -// echo 'Formula is ', $sharedFormulas[$instance]['formula'], PHP_EOL; - $master = PHPExcel_Cell::coordinateFromString($sharedFormulas[$instance]['master']); - $current = PHPExcel_Cell::coordinateFromString($r); - - $difference = array(0, 0); - $difference[0] = PHPExcel_Cell::columnIndexFromString($current[0]) - PHPExcel_Cell::columnIndexFromString($master[0]); - $difference[1] = $current[1] - $master[1]; - - $value = $this->_referenceHelper->updateFormulaReferences( $sharedFormulas[$instance]['formula'], - 'A1', - $difference[0], - $difference[1] - ); -// echo 'Adjusted Formula is ', $value, PHP_EOL; - } - } - } - - - public function _getFromZipArchive($archive, $fileName = '') - { - // Root-relative paths - if (strpos($fileName, '//') !== false) - { - $fileName = substr($fileName, strpos($fileName, '//') + 1); - } - $fileName = PHPExcel_Shared_File::realpath($fileName); - - // Apache POI fixes - $contents = $archive->getFromName($fileName); - if ($contents === false) - { - $contents = $archive->getFromName(substr($fileName, 1)); - } - - return $contents; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - // Initialisations - $excel = new PHPExcel; - $excel->removeSheetByIndex(0); - if (!$this->_readDataOnly) { - $excel->removeCellStyleXfByIndex(0); // remove the default style - $excel->removeCellXfByIndex(0); // remove the default style - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - $zip->open($pFilename); - - // Read the theme first, because we need the colour scheme when reading the styles - $wbRels = simplexml_load_string($this->_getFromZipArchive($zip, "xl/_rels/workbook.xml.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($wbRels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme": - $themeOrderArray = array('lt1','dk1','lt2','dk2'); - $themeOrderAdditional = count($themeOrderArray); - - $xmlTheme = simplexml_load_string($this->_getFromZipArchive($zip, "xl/{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlTheme)) { - $xmlThemeName = $xmlTheme->attributes(); - $xmlTheme = $xmlTheme->children("http://schemas.openxmlformats.org/drawingml/2006/main"); - $themeName = (string)$xmlThemeName['name']; - - $colourScheme = $xmlTheme->themeElements->clrScheme->attributes(); - $colourSchemeName = (string)$colourScheme['name']; - $colourScheme = $xmlTheme->themeElements->clrScheme->children("http://schemas.openxmlformats.org/drawingml/2006/main"); - - $themeColours = array(); - foreach ($colourScheme as $k => $xmlColour) { - $themePos = array_search($k,$themeOrderArray); - if ($themePos === false) { - $themePos = $themeOrderAdditional++; - } - if (isset($xmlColour->sysClr)) { - $xmlColourData = $xmlColour->sysClr->attributes(); - $themeColours[$themePos] = $xmlColourData['lastClr']; - } elseif (isset($xmlColour->srgbClr)) { - $xmlColourData = $xmlColour->srgbClr->attributes(); - $themeColours[$themePos] = $xmlColourData['val']; - } - } - self::$_theme = new PHPExcel_Reader_Excel2007_Theme($themeName,$colourSchemeName,$themeColours); - } - break; - } - } - - $rels = simplexml_load_string($this->_getFromZipArchive($zip, "_rels/.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($rels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties": - $xmlCore = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlCore)) { - $xmlCore->registerXPathNamespace("dc", "http://purl.org/dc/elements/1.1/"); - $xmlCore->registerXPathNamespace("dcterms", "http://purl.org/dc/terms/"); - $xmlCore->registerXPathNamespace("cp", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"); - $docProps = $excel->getProperties(); - $docProps->setCreator((string) self::array_item($xmlCore->xpath("dc:creator"))); - $docProps->setLastModifiedBy((string) self::array_item($xmlCore->xpath("cp:lastModifiedBy"))); - $docProps->setCreated(strtotime(self::array_item($xmlCore->xpath("dcterms:created")))); //! respect xsi:type - $docProps->setModified(strtotime(self::array_item($xmlCore->xpath("dcterms:modified")))); //! respect xsi:type - $docProps->setTitle((string) self::array_item($xmlCore->xpath("dc:title"))); - $docProps->setDescription((string) self::array_item($xmlCore->xpath("dc:description"))); - $docProps->setSubject((string) self::array_item($xmlCore->xpath("dc:subject"))); - $docProps->setKeywords((string) self::array_item($xmlCore->xpath("cp:keywords"))); - $docProps->setCategory((string) self::array_item($xmlCore->xpath("cp:category"))); - } - break; - - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties": - $xmlCore = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlCore)) { - $docProps = $excel->getProperties(); - if (isset($xmlCore->Company)) - $docProps->setCompany((string) $xmlCore->Company); - if (isset($xmlCore->Manager)) - $docProps->setManager((string) $xmlCore->Manager); - } - break; - - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties": - $xmlCore = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlCore)) { - $docProps = $excel->getProperties(); - foreach ($xmlCore as $xmlProperty) { - $cellDataOfficeAttributes = $xmlProperty->attributes(); - if (isset($cellDataOfficeAttributes['name'])) { - $propertyName = (string) $cellDataOfficeAttributes['name']; - $cellDataOfficeChildren = $xmlProperty->children('http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes'); - $attributeType = $cellDataOfficeChildren->getName(); - $attributeValue = (string) $cellDataOfficeChildren->{$attributeType}; - $attributeValue = PHPExcel_DocumentProperties::convertProperty($attributeValue,$attributeType); - $attributeType = PHPExcel_DocumentProperties::convertPropertyType($attributeType); - $docProps->setCustomProperty($propertyName,$attributeValue,$attributeType); - } - } - } - break; - //Ribbon - case "http://schemas.microsoft.com/office/2006/relationships/ui/extensibility": - $customUI = $rel['Target']; - if(!is_null($customUI)){ - $this->_readRibbon($excel, $customUI, $zip); - } - break; - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument": - $dir = dirname($rel["Target"]); - $relsWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/_rels/" . basename($rel["Target"]) . ".rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $relsWorkbook->registerXPathNamespace("rel", "http://schemas.openxmlformats.org/package/2006/relationships"); - - $sharedStrings = array(); - $xpath = self::array_item($relsWorkbook->xpath("rel:Relationship[@Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings']")); - $xmlStrings = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/$xpath[Target]"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - if (isset($xmlStrings) && isset($xmlStrings->si)) { - foreach ($xmlStrings->si as $val) { - if (isset($val->t)) { - $sharedStrings[] = PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $val->t ); - } elseif (isset($val->r)) { - $sharedStrings[] = $this->_parseRichText($val); - } - } - } - - $worksheets = array(); - $macros = $customUI = NULL; - foreach ($relsWorkbook->Relationship as $ele) { - switch($ele['Type']){ - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet": - $worksheets[(string) $ele["Id"]] = $ele["Target"]; - break; - // a vbaProject ? (: some macros) - case "http://schemas.microsoft.com/office/2006/relationships/vbaProject": - $macros = $ele["Target"]; - break; - } - } - - if(!is_null($macros)){ - $macrosCode = $this->_getFromZipArchive($zip, 'xl/vbaProject.bin');//vbaProject.bin always in 'xl' dir and always named vbaProject.bin - if($macrosCode !== false){ - $excel->setMacrosCode($macrosCode); - $excel->setHasMacros(true); - //short-circuit : not reading vbaProject.bin.rel to get Signature =>allways vbaProjectSignature.bin in 'xl' dir - $Certificate = $this->_getFromZipArchive($zip, 'xl/vbaProjectSignature.bin'); - if($Certificate !== false) - $excel->setMacrosCertificate($Certificate); - } - } - $styles = array(); - $cellStyles = array(); - $xpath = self::array_item($relsWorkbook->xpath("rel:Relationship[@Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles']")); - $xmlStyles = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/$xpath[Target]"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - $numFmts = null; - if ($xmlStyles && $xmlStyles->numFmts[0]) { - $numFmts = $xmlStyles->numFmts[0]; - } - if (isset($numFmts) && ($numFmts !== NULL)) { - $numFmts->registerXPathNamespace("sml", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - } - if (!$this->_readDataOnly && $xmlStyles) { - foreach ($xmlStyles->cellXfs->xf as $xf) { - $numFmt = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - - if ($xf["numFmtId"]) { - if (isset($numFmts)) { - $tmpNumFmt = self::array_item($numFmts->xpath("sml:numFmt[@numFmtId=$xf[numFmtId]]")); - - if (isset($tmpNumFmt["formatCode"])) { - $numFmt = (string) $tmpNumFmt["formatCode"]; - } - } - - if ((int)$xf["numFmtId"] < 164) { - $numFmt = PHPExcel_Style_NumberFormat::builtInFormatCode((int)$xf["numFmtId"]); - } - } - $quotePrefix = false; - if (isset($xf["quotePrefix"])) { - $quotePrefix = (boolean) $xf["quotePrefix"]; - } - //$numFmt = str_replace('mm', 'i', $numFmt); - //$numFmt = str_replace('h', 'H', $numFmt); - - $style = (object) array( - "numFmt" => $numFmt, - "font" => $xmlStyles->fonts->font[intval($xf["fontId"])], - "fill" => $xmlStyles->fills->fill[intval($xf["fillId"])], - "border" => $xmlStyles->borders->border[intval($xf["borderId"])], - "alignment" => $xf->alignment, - "protection" => $xf->protection, - "quotePrefix" => $quotePrefix, - ); - $styles[] = $style; - - // add style to cellXf collection - $objStyle = new PHPExcel_Style; - self::_readStyle($objStyle, $style); - $excel->addCellXf($objStyle); - } - - foreach ($xmlStyles->cellStyleXfs->xf as $xf) { - $numFmt = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - if ($numFmts && $xf["numFmtId"]) { - $tmpNumFmt = self::array_item($numFmts->xpath("sml:numFmt[@numFmtId=$xf[numFmtId]]")); - if (isset($tmpNumFmt["formatCode"])) { - $numFmt = (string) $tmpNumFmt["formatCode"]; - } else if ((int)$xf["numFmtId"] < 165) { - $numFmt = PHPExcel_Style_NumberFormat::builtInFormatCode((int)$xf["numFmtId"]); - } - } - - $cellStyle = (object) array( - "numFmt" => $numFmt, - "font" => $xmlStyles->fonts->font[intval($xf["fontId"])], - "fill" => $xmlStyles->fills->fill[intval($xf["fillId"])], - "border" => $xmlStyles->borders->border[intval($xf["borderId"])], - "alignment" => $xf->alignment, - "protection" => $xf->protection, - "quotePrefix" => $quotePrefix, - ); - $cellStyles[] = $cellStyle; - - // add style to cellStyleXf collection - $objStyle = new PHPExcel_Style; - self::_readStyle($objStyle, $cellStyle); - $excel->addCellStyleXf($objStyle); - } - } - - $dxfs = array(); - if (!$this->_readDataOnly && $xmlStyles) { - // Conditional Styles - if ($xmlStyles->dxfs) { - foreach ($xmlStyles->dxfs->dxf as $dxf) { - $style = new PHPExcel_Style(FALSE, TRUE); - self::_readStyle($style, $dxf); - $dxfs[] = $style; - } - } - // Cell Styles - if ($xmlStyles->cellStyles) { - foreach ($xmlStyles->cellStyles->cellStyle as $cellStyle) { - if (intval($cellStyle['builtinId']) == 0) { - if (isset($cellStyles[intval($cellStyle['xfId'])])) { - // Set default style - $style = new PHPExcel_Style; - self::_readStyle($style, $cellStyles[intval($cellStyle['xfId'])]); - - // normal style, currently not using it for anything - } - } - } - } - } - - $xmlWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - - // Set base date - if ($xmlWorkbook->workbookPr) { - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900); - if (isset($xmlWorkbook->workbookPr['date1904'])) { - if (self::boolean((string) $xmlWorkbook->workbookPr['date1904'])) { - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904); - } - } - } - - $sheetId = 0; // keep track of new sheet id in final workbook - $oldSheetId = -1; // keep track of old sheet id in final workbook - $countSkippedSheets = 0; // keep track of number of skipped sheets - $mapSheetId = array(); // mapping of sheet ids from old to new - - - $charts = $chartDetails = array(); - - if ($xmlWorkbook->sheets) { - foreach ($xmlWorkbook->sheets->sheet as $eleSheet) { - ++$oldSheetId; - - // Check if sheet should be skipped - if (isset($this->_loadSheetsOnly) && !in_array((string) $eleSheet["name"], $this->_loadSheetsOnly)) { - ++$countSkippedSheets; - $mapSheetId[$oldSheetId] = null; - continue; - } - - // Map old sheet id in original workbook to new sheet id. - // They will differ if loadSheetsOnly() is being used - $mapSheetId[$oldSheetId] = $oldSheetId - $countSkippedSheets; - - // Load sheet - $docSheet = $excel->createSheet(); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet - // references in formula cells... during the load, all formulae should be correct, - // and we're simply bringing the worksheet name in line with the formula, not the - // reverse - $docSheet->setTitle((string) $eleSheet["name"],false); - $fileWorksheet = $worksheets[(string) self::array_item($eleSheet->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "id")]; - $xmlSheet = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/$fileWorksheet"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - - $sharedFormulas = array(); - - if (isset($eleSheet["state"]) && (string) $eleSheet["state"] != '') { - $docSheet->setSheetState( (string) $eleSheet["state"] ); - } - - if (isset($xmlSheet->sheetViews) && isset($xmlSheet->sheetViews->sheetView)) { - if (isset($xmlSheet->sheetViews->sheetView['zoomScale'])) { - $docSheet->getSheetView()->setZoomScale( intval($xmlSheet->sheetViews->sheetView['zoomScale']) ); - } - - if (isset($xmlSheet->sheetViews->sheetView['zoomScaleNormal'])) { - $docSheet->getSheetView()->setZoomScaleNormal( intval($xmlSheet->sheetViews->sheetView['zoomScaleNormal']) ); - } - - if (isset($xmlSheet->sheetViews->sheetView['view'])) { - $docSheet->getSheetView()->setView((string) $xmlSheet->sheetViews->sheetView['view']); - } - - if (isset($xmlSheet->sheetViews->sheetView['showGridLines'])) { - $docSheet->setShowGridLines(self::boolean((string)$xmlSheet->sheetViews->sheetView['showGridLines'])); - } - - if (isset($xmlSheet->sheetViews->sheetView['showRowColHeaders'])) { - $docSheet->setShowRowColHeaders(self::boolean((string)$xmlSheet->sheetViews->sheetView['showRowColHeaders'])); - } - - if (isset($xmlSheet->sheetViews->sheetView['rightToLeft'])) { - $docSheet->setRightToLeft(self::boolean((string)$xmlSheet->sheetViews->sheetView['rightToLeft'])); - } - - if (isset($xmlSheet->sheetViews->sheetView->pane)) { - if (isset($xmlSheet->sheetViews->sheetView->pane['topLeftCell'])) { - $docSheet->freezePane( (string)$xmlSheet->sheetViews->sheetView->pane['topLeftCell'] ); - } else { - $xSplit = 0; - $ySplit = 0; - - if (isset($xmlSheet->sheetViews->sheetView->pane['xSplit'])) { - $xSplit = 1 + intval($xmlSheet->sheetViews->sheetView->pane['xSplit']); - } - - if (isset($xmlSheet->sheetViews->sheetView->pane['ySplit'])) { - $ySplit = 1 + intval($xmlSheet->sheetViews->sheetView->pane['ySplit']); - } - - $docSheet->freezePaneByColumnAndRow($xSplit, $ySplit); - } - } - - if (isset($xmlSheet->sheetViews->sheetView->selection)) { - if (isset($xmlSheet->sheetViews->sheetView->selection['sqref'])) { - $sqref = (string)$xmlSheet->sheetViews->sheetView->selection['sqref']; - $sqref = explode(' ', $sqref); - $sqref = $sqref[0]; - $docSheet->setSelectedCells($sqref); - } - } - - } - - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->tabColor)) { - if (isset($xmlSheet->sheetPr->tabColor['rgb'])) { - $docSheet->getTabColor()->setARGB( (string)$xmlSheet->sheetPr->tabColor['rgb'] ); - } - } - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr['codeName'])) { - $docSheet->setCodeName((string) $xmlSheet->sheetPr['codeName']); - } - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->outlinePr)) { - if (isset($xmlSheet->sheetPr->outlinePr['summaryRight']) && - !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryRight'])) { - $docSheet->setShowSummaryRight(FALSE); - } else { - $docSheet->setShowSummaryRight(TRUE); - } - - if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) && - !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) { - $docSheet->setShowSummaryBelow(FALSE); - } else { - $docSheet->setShowSummaryBelow(TRUE); - } - } - - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->pageSetUpPr)) { - if (isset($xmlSheet->sheetPr->pageSetUpPr['fitToPage']) && - !self::boolean((string) $xmlSheet->sheetPr->pageSetUpPr['fitToPage'])) { - $docSheet->getPageSetup()->setFitToPage(FALSE); - } else { - $docSheet->getPageSetup()->setFitToPage(TRUE); - } - } - - if (isset($xmlSheet->sheetFormatPr)) { - if (isset($xmlSheet->sheetFormatPr['customHeight']) && - self::boolean((string) $xmlSheet->sheetFormatPr['customHeight']) && - isset($xmlSheet->sheetFormatPr['defaultRowHeight'])) { - $docSheet->getDefaultRowDimension()->setRowHeight( (float)$xmlSheet->sheetFormatPr['defaultRowHeight'] ); - } - if (isset($xmlSheet->sheetFormatPr['defaultColWidth'])) { - $docSheet->getDefaultColumnDimension()->setWidth( (float)$xmlSheet->sheetFormatPr['defaultColWidth'] ); - } - if (isset($xmlSheet->sheetFormatPr['zeroHeight']) && - ((string)$xmlSheet->sheetFormatPr['zeroHeight'] == '1')) { - $docSheet->getDefaultRowDimension()->setZeroHeight(true); - } - } - - if (isset($xmlSheet->cols) && !$this->_readDataOnly) { - foreach ($xmlSheet->cols->col as $col) { - for ($i = intval($col["min"]) - 1; $i < intval($col["max"]); ++$i) { - if ($col["style"] && !$this->_readDataOnly) { - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setXfIndex(intval($col["style"])); - } - if (self::boolean($col["bestFit"])) { - //$docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setAutoSize(TRUE); - } - if (self::boolean($col["hidden"])) { - // echo PHPExcel_Cell::stringFromColumnIndex($i),': HIDDEN COLUMN',PHP_EOL; - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setVisible(FALSE); - } - if (self::boolean($col["collapsed"])) { - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setCollapsed(TRUE); - } - if ($col["outlineLevel"] > 0) { - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setOutlineLevel(intval($col["outlineLevel"])); - } - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setWidth(floatval($col["width"])); - - if (intval($col["max"]) == 16384) { - break; - } - } - } - } - - if (isset($xmlSheet->printOptions) && !$this->_readDataOnly) { - if (self::boolean((string) $xmlSheet->printOptions['gridLinesSet'])) { - $docSheet->setShowGridlines(TRUE); - } - - if (self::boolean((string) $xmlSheet->printOptions['gridLines'])) { - $docSheet->setPrintGridlines(TRUE); - } - - if (self::boolean((string) $xmlSheet->printOptions['horizontalCentered'])) { - $docSheet->getPageSetup()->setHorizontalCentered(TRUE); - } - if (self::boolean((string) $xmlSheet->printOptions['verticalCentered'])) { - $docSheet->getPageSetup()->setVerticalCentered(TRUE); - } - } - - if ($xmlSheet && $xmlSheet->sheetData && $xmlSheet->sheetData->row) { - foreach ($xmlSheet->sheetData->row as $row) { - if ($row["ht"] && !$this->_readDataOnly) { - $docSheet->getRowDimension(intval($row["r"]))->setRowHeight(floatval($row["ht"])); - } - if (self::boolean($row["hidden"]) && !$this->_readDataOnly) { - $docSheet->getRowDimension(intval($row["r"]))->setVisible(FALSE); - } - if (self::boolean($row["collapsed"])) { - $docSheet->getRowDimension(intval($row["r"]))->setCollapsed(TRUE); - } - if ($row["outlineLevel"] > 0) { - $docSheet->getRowDimension(intval($row["r"]))->setOutlineLevel(intval($row["outlineLevel"])); - } - if ($row["s"] && !$this->_readDataOnly) { - $docSheet->getRowDimension(intval($row["r"]))->setXfIndex(intval($row["s"])); - } - - foreach ($row->c as $c) { - $r = (string) $c["r"]; - $cellDataType = (string) $c["t"]; - $value = null; - $calculatedValue = null; - - // Read cell? - if ($this->getReadFilter() !== NULL) { - $coordinates = PHPExcel_Cell::coordinateFromString($r); - - if (!$this->getReadFilter()->readCell($coordinates[0], $coordinates[1], $docSheet->getTitle())) { - continue; - } - } - - // echo 'Reading cell ', $coordinates[0], $coordinates[1], PHP_EOL; - // print_r($c); - // echo PHP_EOL; - // echo 'Cell Data Type is ', $cellDataType, ': '; - // - // Read cell! - switch ($cellDataType) { - case "s": - // echo 'String', PHP_EOL; - if ((string)$c->v != '') { - $value = $sharedStrings[intval($c->v)]; - - if ($value instanceof PHPExcel_RichText) { - $value = clone $value; - } - } else { - $value = ''; - } - - break; - case "b": - // echo 'Boolean', PHP_EOL; - if (!isset($c->f)) { - $value = self::_castToBool($c); - } else { - // Formula - $this->_castToFormula($c,$r,$cellDataType,$value,$calculatedValue,$sharedFormulas,'_castToBool'); - if (isset($c->f['t'])) { - $att = array(); - $att = $c->f; - $docSheet->getCell($r)->setFormulaAttributes($att); - } - // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; - } - break; - case "inlineStr": - // echo 'Inline String', PHP_EOL; - $value = $this->_parseRichText($c->is); - - break; - case "e": - // echo 'Error', PHP_EOL; - if (!isset($c->f)) { - $value = self::_castToError($c); - } else { - // Formula - $this->_castToFormula($c,$r,$cellDataType,$value,$calculatedValue,$sharedFormulas,'_castToError'); - // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; - } - - break; - - default: - // echo 'Default', PHP_EOL; - if (!isset($c->f)) { - // echo 'Not a Formula', PHP_EOL; - $value = self::_castToString($c); - } else { - // echo 'Treat as Formula', PHP_EOL; - // Formula - $this->_castToFormula($c,$r,$cellDataType,$value,$calculatedValue,$sharedFormulas,'_castToString'); - // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; - } - - break; - } - // echo 'Value is ', $value, PHP_EOL; - - // Check for numeric values - if (is_numeric($value) && $cellDataType != 's') { - if ($value == (int)$value) $value = (int)$value; - elseif ($value == (float)$value) $value = (float)$value; - elseif ($value == (double)$value) $value = (double)$value; - } - - // Rich text? - if ($value instanceof PHPExcel_RichText && $this->_readDataOnly) { - $value = $value->getPlainText(); - } - - $cell = $docSheet->getCell($r); - // Assign value - if ($cellDataType != '') { - $cell->setValueExplicit($value, $cellDataType); - } else { - $cell->setValue($value); - } - if ($calculatedValue !== NULL) { - $cell->setCalculatedValue($calculatedValue); - } - - // Style information? - if ($c["s"] && !$this->_readDataOnly) { - // no style index means 0, it seems - $cell->setXfIndex(isset($styles[intval($c["s"])]) ? - intval($c["s"]) : 0); - } - } - } - } - - $conditionals = array(); - if (!$this->_readDataOnly && $xmlSheet && $xmlSheet->conditionalFormatting) { - foreach ($xmlSheet->conditionalFormatting as $conditional) { - foreach ($conditional->cfRule as $cfRule) { - if ( - ( - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_NONE || - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_CELLIS || - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT || - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_EXPRESSION - ) && isset($dxfs[intval($cfRule["dxfId"])]) - ) { - $conditionals[(string) $conditional["sqref"]][intval($cfRule["priority"])] = $cfRule; - } - } - } - - foreach ($conditionals as $ref => $cfRules) { - ksort($cfRules); - $conditionalStyles = array(); - foreach ($cfRules as $cfRule) { - $objConditional = new PHPExcel_Style_Conditional(); - $objConditional->setConditionType((string)$cfRule["type"]); - $objConditional->setOperatorType((string)$cfRule["operator"]); - - if ((string)$cfRule["text"] != '') { - $objConditional->setText((string)$cfRule["text"]); - } - - if (count($cfRule->formula) > 1) { - foreach ($cfRule->formula as $formula) { - $objConditional->addCondition((string)$formula); - } - } else { - $objConditional->addCondition((string)$cfRule->formula); - } - $objConditional->setStyle(clone $dxfs[intval($cfRule["dxfId"])]); - $conditionalStyles[] = $objConditional; - } - - // Extract all cell references in $ref - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($ref); - foreach ($aReferences as $reference) { - $docSheet->getStyle($reference)->setConditionalStyles($conditionalStyles); - } - } - } - - $aKeys = array("sheet", "objects", "scenarios", "formatCells", "formatColumns", "formatRows", "insertColumns", "insertRows", "insertHyperlinks", "deleteColumns", "deleteRows", "selectLockedCells", "sort", "autoFilter", "pivotTables", "selectUnlockedCells"); - if (!$this->_readDataOnly && $xmlSheet && $xmlSheet->sheetProtection) { - foreach ($aKeys as $key) { - $method = "set" . ucfirst($key); - $docSheet->getProtection()->$method(self::boolean((string) $xmlSheet->sheetProtection[$key])); - } - } - - if (!$this->_readDataOnly && $xmlSheet && $xmlSheet->sheetProtection) { - $docSheet->getProtection()->setPassword((string) $xmlSheet->sheetProtection["password"], TRUE); - if ($xmlSheet->protectedRanges->protectedRange) { - foreach ($xmlSheet->protectedRanges->protectedRange as $protectedRange) { - $docSheet->protectCells((string) $protectedRange["sqref"], (string) $protectedRange["password"], true); - } - } - } - - if ($xmlSheet && $xmlSheet->autoFilter && !$this->_readDataOnly) { - $autoFilter = $docSheet->getAutoFilter(); - - $autoFilterRange = (string) $xmlSheet->autoFilter["ref"]; - if (strpos($autoFilterRange, ':') === false) { - $autoFilterRange = "${autoFilterRange}:${autoFilterRange}"; - } - $autoFilter->setRange($autoFilterRange); - - foreach ($xmlSheet->autoFilter->filterColumn as $filterColumn) { - $column = $autoFilter->getColumnByOffset((integer) $filterColumn["colId"]); - // Check for standard filters - if ($filterColumn->filters) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER); - $filters = $filterColumn->filters; - if ((isset($filters["blank"])) && ($filters["blank"] == 1)) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - '' - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER); - } - // Standard filters are always an OR join, so no join rule needs to be set - // Entries can be either filter elements - foreach ($filters->filter as $filterRule) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - (string) $filterRule["val"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER); - } - // Or Date Group elements - foreach ($filters->dateGroupItem as $dateGroupItem) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - array( - 'year' => (string) $dateGroupItem["year"], - 'month' => (string) $dateGroupItem["month"], - 'day' => (string) $dateGroupItem["day"], - 'hour' => (string) $dateGroupItem["hour"], - 'minute' => (string) $dateGroupItem["minute"], - 'second' => (string) $dateGroupItem["second"], - ), - (string) $dateGroupItem["dateTimeGrouping"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP); - } - } - // Check for custom filters - if ($filterColumn->customFilters) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER); - $customFilters = $filterColumn->customFilters; - // Custom filters can an AND or an OR join; - // and there should only ever be one or two entries - if ((isset($customFilters["and"])) && ($customFilters["and"] == 1)) { - $column->setJoin(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND); - } - foreach ($customFilters->customFilter as $filterRule) { - $column->createRule()->setRule( - (string) $filterRule["operator"], - (string) $filterRule["val"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER); - } - } - // Check for dynamic filters - if ($filterColumn->dynamicFilter) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER); - // We should only ever have one dynamic filter - foreach ($filterColumn->dynamicFilter as $filterRule) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - (string) $filterRule["val"], - (string) $filterRule["type"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER); - if (isset($filterRule["val"])) { - $column->setAttribute('val',(string) $filterRule["val"]); - } - if (isset($filterRule["maxVal"])) { - $column->setAttribute('maxVal',(string) $filterRule["maxVal"]); - } - } - } - // Check for dynamic filters - if ($filterColumn->top10) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER); - // We should only ever have one top10 filter - foreach ($filterColumn->top10 as $filterRule) { - $column->createRule()->setRule( - (((isset($filterRule["percent"])) && ($filterRule["percent"] == 1)) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE - ), - (string) $filterRule["val"], - (((isset($filterRule["top"])) && ($filterRule["top"] == 1)) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM - ) - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER); - } - } - } - } - - if ($xmlSheet && $xmlSheet->mergeCells && $xmlSheet->mergeCells->mergeCell && !$this->_readDataOnly) { - foreach ($xmlSheet->mergeCells->mergeCell as $mergeCell) { - $mergeRef = (string) $mergeCell["ref"]; - if (strpos($mergeRef,':') !== FALSE) { - $docSheet->mergeCells((string) $mergeCell["ref"]); - } - } - } - - if ($xmlSheet && $xmlSheet->pageMargins && !$this->_readDataOnly) { - $docPageMargins = $docSheet->getPageMargins(); - $docPageMargins->setLeft(floatval($xmlSheet->pageMargins["left"])); - $docPageMargins->setRight(floatval($xmlSheet->pageMargins["right"])); - $docPageMargins->setTop(floatval($xmlSheet->pageMargins["top"])); - $docPageMargins->setBottom(floatval($xmlSheet->pageMargins["bottom"])); - $docPageMargins->setHeader(floatval($xmlSheet->pageMargins["header"])); - $docPageMargins->setFooter(floatval($xmlSheet->pageMargins["footer"])); - } - - if ($xmlSheet && $xmlSheet->pageSetup && !$this->_readDataOnly) { - $docPageSetup = $docSheet->getPageSetup(); - - if (isset($xmlSheet->pageSetup["orientation"])) { - $docPageSetup->setOrientation((string) $xmlSheet->pageSetup["orientation"]); - } - if (isset($xmlSheet->pageSetup["paperSize"])) { - $docPageSetup->setPaperSize(intval($xmlSheet->pageSetup["paperSize"])); - } - if (isset($xmlSheet->pageSetup["scale"])) { - $docPageSetup->setScale(intval($xmlSheet->pageSetup["scale"]), FALSE); - } - if (isset($xmlSheet->pageSetup["fitToHeight"]) && intval($xmlSheet->pageSetup["fitToHeight"]) >= 0) { - $docPageSetup->setFitToHeight(intval($xmlSheet->pageSetup["fitToHeight"]), FALSE); - } - if (isset($xmlSheet->pageSetup["fitToWidth"]) && intval($xmlSheet->pageSetup["fitToWidth"]) >= 0) { - $docPageSetup->setFitToWidth(intval($xmlSheet->pageSetup["fitToWidth"]), FALSE); - } - if (isset($xmlSheet->pageSetup["firstPageNumber"]) && isset($xmlSheet->pageSetup["useFirstPageNumber"]) && - self::boolean((string) $xmlSheet->pageSetup["useFirstPageNumber"])) { - $docPageSetup->setFirstPageNumber(intval($xmlSheet->pageSetup["firstPageNumber"])); - } - } - - if ($xmlSheet && $xmlSheet->headerFooter && !$this->_readDataOnly) { - $docHeaderFooter = $docSheet->getHeaderFooter(); - - if (isset($xmlSheet->headerFooter["differentOddEven"]) && - self::boolean((string)$xmlSheet->headerFooter["differentOddEven"])) { - $docHeaderFooter->setDifferentOddEven(TRUE); - } else { - $docHeaderFooter->setDifferentOddEven(FALSE); - } - if (isset($xmlSheet->headerFooter["differentFirst"]) && - self::boolean((string)$xmlSheet->headerFooter["differentFirst"])) { - $docHeaderFooter->setDifferentFirst(TRUE); - } else { - $docHeaderFooter->setDifferentFirst(FALSE); - } - if (isset($xmlSheet->headerFooter["scaleWithDoc"]) && - !self::boolean((string)$xmlSheet->headerFooter["scaleWithDoc"])) { - $docHeaderFooter->setScaleWithDocument(FALSE); - } else { - $docHeaderFooter->setScaleWithDocument(TRUE); - } - if (isset($xmlSheet->headerFooter["alignWithMargins"]) && - !self::boolean((string)$xmlSheet->headerFooter["alignWithMargins"])) { - $docHeaderFooter->setAlignWithMargins(FALSE); - } else { - $docHeaderFooter->setAlignWithMargins(TRUE); - } - - $docHeaderFooter->setOddHeader((string) $xmlSheet->headerFooter->oddHeader); - $docHeaderFooter->setOddFooter((string) $xmlSheet->headerFooter->oddFooter); - $docHeaderFooter->setEvenHeader((string) $xmlSheet->headerFooter->evenHeader); - $docHeaderFooter->setEvenFooter((string) $xmlSheet->headerFooter->evenFooter); - $docHeaderFooter->setFirstHeader((string) $xmlSheet->headerFooter->firstHeader); - $docHeaderFooter->setFirstFooter((string) $xmlSheet->headerFooter->firstFooter); - } - - if ($xmlSheet && $xmlSheet->rowBreaks && $xmlSheet->rowBreaks->brk && !$this->_readDataOnly) { - foreach ($xmlSheet->rowBreaks->brk as $brk) { - if ($brk["man"]) { - $docSheet->setBreak("A$brk[id]", PHPExcel_Worksheet::BREAK_ROW); - } - } - } - if ($xmlSheet && $xmlSheet->colBreaks && $xmlSheet->colBreaks->brk && !$this->_readDataOnly) { - foreach ($xmlSheet->colBreaks->brk as $brk) { - if ($brk["man"]) { - $docSheet->setBreak(PHPExcel_Cell::stringFromColumnIndex((string) $brk["id"]) . "1", PHPExcel_Worksheet::BREAK_COLUMN); - } - } - } - - if ($xmlSheet && $xmlSheet->dataValidations && !$this->_readDataOnly) { - foreach ($xmlSheet->dataValidations->dataValidation as $dataValidation) { - // Uppercase coordinate - $range = strtoupper($dataValidation["sqref"]); - $rangeSet = explode(' ',$range); - foreach($rangeSet as $range) { - $stRange = $docSheet->shrinkRangeToFit($range); - - // Extract all cell references in $range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($stRange); - foreach ($aReferences as $reference) { - // Create validation - $docValidation = $docSheet->getCell($reference)->getDataValidation(); - $docValidation->setType((string) $dataValidation["type"]); - $docValidation->setErrorStyle((string) $dataValidation["errorStyle"]); - $docValidation->setOperator((string) $dataValidation["operator"]); - $docValidation->setAllowBlank($dataValidation["allowBlank"] != 0); - $docValidation->setShowDropDown($dataValidation["showDropDown"] == 0); - $docValidation->setShowInputMessage($dataValidation["showInputMessage"] != 0); - $docValidation->setShowErrorMessage($dataValidation["showErrorMessage"] != 0); - $docValidation->setErrorTitle((string) $dataValidation["errorTitle"]); - $docValidation->setError((string) $dataValidation["error"]); - $docValidation->setPromptTitle((string) $dataValidation["promptTitle"]); - $docValidation->setPrompt((string) $dataValidation["prompt"]); - $docValidation->setFormula1((string) $dataValidation->formula1); - $docValidation->setFormula2((string) $dataValidation->formula2); - } - } - } - } - - // Add hyperlinks - $hyperlinks = array(); - if (!$this->_readDataOnly) { - // Locate hyperlink relations - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink") { - $hyperlinks[(string)$ele["Id"]] = (string)$ele["Target"]; - } - } - } - - // Loop through hyperlinks - if ($xmlSheet && $xmlSheet->hyperlinks) { - foreach ($xmlSheet->hyperlinks->hyperlink as $hyperlink) { - // Link url - $linkRel = $hyperlink->attributes('http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - foreach (PHPExcel_Cell::extractAllCellReferencesInRange($hyperlink['ref']) as $cellReference) { - $cell = $docSheet->getCell( $cellReference ); - if (isset($linkRel['id'])) { - $hyperlinkUrl = $hyperlinks[ (string)$linkRel['id'] ]; - if (isset($hyperlink['location'])) { - $hyperlinkUrl .= '#' . (string) $hyperlink['location']; - } - $cell->getHyperlink()->setUrl($hyperlinkUrl); - } elseif (isset($hyperlink['location'])) { - $cell->getHyperlink()->setUrl( 'sheet://' . (string)$hyperlink['location'] ); - } - - // Tooltip - if (isset($hyperlink['tooltip'])) { - $cell->getHyperlink()->setTooltip( (string)$hyperlink['tooltip'] ); - } - } - } - } - } - - // Add comments - $comments = array(); - $vmlComments = array(); - if (!$this->_readDataOnly) { - // Locate comment relations - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments") { - $comments[(string)$ele["Id"]] = (string)$ele["Target"]; - } - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing") { - $vmlComments[(string)$ele["Id"]] = (string)$ele["Target"]; - } - } - } - - // Loop through comments - foreach ($comments as $relName => $relPath) { - // Load comments file - $relPath = PHPExcel_Shared_File::realpath(dirname("$dir/$fileWorksheet") . "/" . $relPath); - $commentsFile = simplexml_load_string($this->_getFromZipArchive($zip, $relPath) , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - - // Utility variables - $authors = array(); - - // Loop through authors - foreach ($commentsFile->authors->author as $author) { - $authors[] = (string)$author; - } - - // Loop through contents - foreach ($commentsFile->commentList->comment as $comment) { - if(!empty($comment['authorId'])) - $docSheet->getComment( (string)$comment['ref'] )->setAuthor( $authors[(string)$comment['authorId']] ); - $docSheet->getComment( (string)$comment['ref'] )->setText( $this->_parseRichText($comment->text) ); - } - } - - // Loop through VML comments - foreach ($vmlComments as $relName => $relPath) { - // Load VML comments file - $relPath = PHPExcel_Shared_File::realpath(dirname("$dir/$fileWorksheet") . "/" . $relPath); - $vmlCommentsFile = simplexml_load_string( $this->_getFromZipArchive($zip, $relPath) , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $vmlCommentsFile->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - - $shapes = $vmlCommentsFile->xpath('//v:shape'); - foreach ($shapes as $shape) { - $shape->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - - if (isset($shape['style'])) { - $style = (string)$shape['style']; - $fillColor = strtoupper( substr( (string)$shape['fillcolor'], 1 ) ); - $column = null; - $row = null; - - $clientData = $shape->xpath('.//x:ClientData'); - if (is_array($clientData) && !empty($clientData)) { - $clientData = $clientData[0]; - - if ( isset($clientData['ObjectType']) && (string)$clientData['ObjectType'] == 'Note' ) { - $temp = $clientData->xpath('.//x:Row'); - if (is_array($temp)) $row = $temp[0]; - - $temp = $clientData->xpath('.//x:Column'); - if (is_array($temp)) $column = $temp[0]; - } - } - - if (($column !== NULL) && ($row !== NULL)) { - // Set comment properties - $comment = $docSheet->getCommentByColumnAndRow((string) $column, $row + 1); - $comment->getFillColor()->setRGB( $fillColor ); - - // Parse style - $styleArray = explode(';', str_replace(' ', '', $style)); - foreach ($styleArray as $stylePair) { - $stylePair = explode(':', $stylePair); - - if ($stylePair[0] == 'margin-left') $comment->setMarginLeft($stylePair[1]); - if ($stylePair[0] == 'margin-top') $comment->setMarginTop($stylePair[1]); - if ($stylePair[0] == 'width') $comment->setWidth($stylePair[1]); - if ($stylePair[0] == 'height') $comment->setHeight($stylePair[1]); - if ($stylePair[0] == 'visibility') $comment->setVisible( $stylePair[1] == 'visible' ); - - } - } - } - } - } - - // Header/footer images - if ($xmlSheet && $xmlSheet->legacyDrawingHF && !$this->_readDataOnly) { - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $vmlRelationship = ''; - - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing") { - $vmlRelationship = self::dir_add("$dir/$fileWorksheet", $ele["Target"]); - } - } - - if ($vmlRelationship != '') { - // Fetch linked images - $relsVML = simplexml_load_string($this->_getFromZipArchive($zip, dirname($vmlRelationship) . '/_rels/' . basename($vmlRelationship) . '.rels' ), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $drawings = array(); - foreach ($relsVML->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image") { - $drawings[(string) $ele["Id"]] = self::dir_add($vmlRelationship, $ele["Target"]); - } - } - - // Fetch VML document - $vmlDrawing = simplexml_load_string($this->_getFromZipArchive($zip, $vmlRelationship), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $vmlDrawing->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - - $hfImages = array(); - - $shapes = $vmlDrawing->xpath('//v:shape'); - foreach ($shapes as $idx => $shape) { - $shape->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - $imageData = $shape->xpath('//v:imagedata'); - $imageData = $imageData[$idx]; - - $imageData = $imageData->attributes('urn:schemas-microsoft-com:office:office'); - $style = self::toCSSArray( (string)$shape['style'] ); - - $hfImages[ (string)$shape['id'] ] = new PHPExcel_Worksheet_HeaderFooterDrawing(); - if (isset($imageData['title'])) { - $hfImages[ (string)$shape['id'] ]->setName( (string)$imageData['title'] ); - } - - $hfImages[ (string)$shape['id'] ]->setPath("zip://".PHPExcel_Shared_File::realpath($pFilename)."#" . $drawings[(string)$imageData['relid']], false); - $hfImages[ (string)$shape['id'] ]->setResizeProportional(false); - $hfImages[ (string)$shape['id'] ]->setWidth($style['width']); - $hfImages[ (string)$shape['id'] ]->setHeight($style['height']); - if (isset($style['margin-left'])) { - $hfImages[ (string)$shape['id'] ]->setOffsetX($style['margin-left']); - } - $hfImages[ (string)$shape['id'] ]->setOffsetY($style['margin-top']); - $hfImages[ (string)$shape['id'] ]->setResizeProportional(true); - } - - $docSheet->getHeaderFooter()->setImages($hfImages); - } - } - } - - } - - // TODO: Autoshapes from twoCellAnchors! - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $drawings = array(); - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing") { - $drawings[(string) $ele["Id"]] = self::dir_add("$dir/$fileWorksheet", $ele["Target"]); - } - } - if ($xmlSheet->drawing && !$this->_readDataOnly) { - foreach ($xmlSheet->drawing as $drawing) { - $fileDrawing = $drawings[(string) self::array_item($drawing->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "id")]; - $relsDrawing = simplexml_load_string($this->_getFromZipArchive($zip, dirname($fileDrawing) . "/_rels/" . basename($fileDrawing) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $images = array(); - - if ($relsDrawing && $relsDrawing->Relationship) { - foreach ($relsDrawing->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image") { - $images[(string) $ele["Id"]] = self::dir_add($fileDrawing, $ele["Target"]); - } elseif ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart") { - if ($this->_includeCharts) { - $charts[self::dir_add($fileDrawing, $ele["Target"])] = array('id' => (string) $ele["Id"], - 'sheet' => $docSheet->getTitle() - ); - } - } - } - } - $xmlDrawing = simplexml_load_string($this->_getFromZipArchive($zip, $fileDrawing), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions())->children("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"); - - if ($xmlDrawing->oneCellAnchor) { - foreach ($xmlDrawing->oneCellAnchor as $oneCellAnchor) { - if ($oneCellAnchor->pic->blipFill) { - $blip = $oneCellAnchor->pic->blipFill->children("http://schemas.openxmlformats.org/drawingml/2006/main")->blip; - $xfrm = $oneCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->xfrm; - $outerShdw = $oneCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->effectLst->outerShdw; - $objDrawing = new PHPExcel_Worksheet_Drawing; - $objDrawing->setName((string) self::array_item($oneCellAnchor->pic->nvPicPr->cNvPr->attributes(), "name")); - $objDrawing->setDescription((string) self::array_item($oneCellAnchor->pic->nvPicPr->cNvPr->attributes(), "descr")); - $objDrawing->setPath("zip://".PHPExcel_Shared_File::realpath($pFilename)."#" . $images[(string) self::array_item($blip->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "embed")], false); - $objDrawing->setCoordinates(PHPExcel_Cell::stringFromColumnIndex((string) $oneCellAnchor->from->col) . ($oneCellAnchor->from->row + 1)); - $objDrawing->setOffsetX(PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->colOff)); - $objDrawing->setOffsetY(PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->rowOff)); - $objDrawing->setResizeProportional(false); - $objDrawing->setWidth(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cx"))); - $objDrawing->setHeight(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cy"))); - if ($xfrm) { - $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($xfrm->attributes(), "rot"))); - } - if ($outerShdw) { - $shadow = $objDrawing->getShadow(); - $shadow->setVisible(true); - $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "blurRad"))); - $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "dist"))); - $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($outerShdw->attributes(), "dir"))); - $shadow->setAlignment((string) self::array_item($outerShdw->attributes(), "algn")); - $shadow->getColor()->setRGB(self::array_item($outerShdw->srgbClr->attributes(), "val")); - $shadow->setAlpha(self::array_item($outerShdw->srgbClr->alpha->attributes(), "val") / 1000); - } - $objDrawing->setWorksheet($docSheet); - } else { - // ? Can charts be positioned with a oneCellAnchor ? - $coordinates = PHPExcel_Cell::stringFromColumnIndex((string) $oneCellAnchor->from->col) . ($oneCellAnchor->from->row + 1); - $offsetX = PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->colOff); - $offsetY = PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->rowOff); - $width = PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cx")); - $height = PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cy")); - } - } - } - if ($xmlDrawing->twoCellAnchor) { - foreach ($xmlDrawing->twoCellAnchor as $twoCellAnchor) { - if ($twoCellAnchor->pic->blipFill) { - $blip = $twoCellAnchor->pic->blipFill->children("http://schemas.openxmlformats.org/drawingml/2006/main")->blip; - $xfrm = $twoCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->xfrm; - $outerShdw = $twoCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->effectLst->outerShdw; - $objDrawing = new PHPExcel_Worksheet_Drawing; - $objDrawing->setName((string) self::array_item($twoCellAnchor->pic->nvPicPr->cNvPr->attributes(), "name")); - $objDrawing->setDescription((string) self::array_item($twoCellAnchor->pic->nvPicPr->cNvPr->attributes(), "descr")); - $objDrawing->setPath("zip://".PHPExcel_Shared_File::realpath($pFilename)."#" . $images[(string) self::array_item($blip->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "embed")], false); - $objDrawing->setCoordinates(PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->from->col) . ($twoCellAnchor->from->row + 1)); - $objDrawing->setOffsetX(PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->colOff)); - $objDrawing->setOffsetY(PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->rowOff)); - $objDrawing->setResizeProportional(false); - - $objDrawing->setWidth(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($xfrm->ext->attributes(), "cx"))); - $objDrawing->setHeight(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($xfrm->ext->attributes(), "cy"))); - - if ($xfrm) { - $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($xfrm->attributes(), "rot"))); - } - if ($outerShdw) { - $shadow = $objDrawing->getShadow(); - $shadow->setVisible(true); - $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "blurRad"))); - $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "dist"))); - $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($outerShdw->attributes(), "dir"))); - $shadow->setAlignment((string) self::array_item($outerShdw->attributes(), "algn")); - $shadow->getColor()->setRGB(self::array_item($outerShdw->srgbClr->attributes(), "val")); - $shadow->setAlpha(self::array_item($outerShdw->srgbClr->alpha->attributes(), "val") / 1000); - } - $objDrawing->setWorksheet($docSheet); - } elseif(($this->_includeCharts) && ($twoCellAnchor->graphicFrame)) { - $fromCoordinate = PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->from->col) . ($twoCellAnchor->from->row + 1); - $fromOffsetX = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->colOff); - $fromOffsetY = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->rowOff); - $toCoordinate = PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->to->col) . ($twoCellAnchor->to->row + 1); - $toOffsetX = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->to->colOff); - $toOffsetY = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->to->rowOff); - $graphic = $twoCellAnchor->graphicFrame->children("http://schemas.openxmlformats.org/drawingml/2006/main")->graphic; - $chartRef = $graphic->graphicData->children("http://schemas.openxmlformats.org/drawingml/2006/chart")->chart; - $thisChart = (string) $chartRef->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"); - - $chartDetails[$docSheet->getTitle().'!'.$thisChart] = - array( 'fromCoordinate' => $fromCoordinate, - 'fromOffsetX' => $fromOffsetX, - 'fromOffsetY' => $fromOffsetY, - 'toCoordinate' => $toCoordinate, - 'toOffsetX' => $toOffsetX, - 'toOffsetY' => $toOffsetY, - 'worksheetTitle' => $docSheet->getTitle() - ); - } - } - } - - } - } - } - - // Loop through definedNames - if ($xmlWorkbook->definedNames) { - foreach ($xmlWorkbook->definedNames->definedName as $definedName) { - // Extract range - $extractedRange = (string)$definedName; - $extractedRange = preg_replace('/\'(\w+)\'\!/', '', $extractedRange); - if (($spos = strpos($extractedRange,'!')) !== false) { - $extractedRange = substr($extractedRange,0,$spos).str_replace('$', '', substr($extractedRange,$spos)); - } else { - $extractedRange = str_replace('$', '', $extractedRange); - } - - // Valid range? - if (stripos((string)$definedName, '#REF!') !== FALSE || $extractedRange == '') { - continue; - } - - // Some definedNames are only applicable if we are on the same sheet... - if ((string)$definedName['localSheetId'] != '' && (string)$definedName['localSheetId'] == $sheetId) { - // Switch on type - switch ((string)$definedName['name']) { - - case '_xlnm._FilterDatabase': - if ((string)$definedName['hidden'] !== '1') { - $extractedRange = explode(',', $extractedRange); - foreach ($extractedRange as $range) { - $autoFilterRange = $range; - if (strpos($autoFilterRange, ':') === false) { - $autoFilterRange = "${autoFilterRange}:${autoFilterRange}"; - } - $docSheet->getAutoFilter()->setRange($autoFilterRange); - } - } - break; - - case '_xlnm.Print_Titles': - // Split $extractedRange - $extractedRange = explode(',', $extractedRange); - - // Set print titles - foreach ($extractedRange as $range) { - $matches = array(); - $range = str_replace('$', '', $range); - - // check for repeating columns, e g. 'A:A' or 'A:D' - if (preg_match('/!?([A-Z]+)\:([A-Z]+)$/', $range, $matches)) { - $docSheet->getPageSetup()->setColumnsToRepeatAtLeft(array($matches[1], $matches[2])); - } - // check for repeating rows, e.g. '1:1' or '1:5' - elseif (preg_match('/!?(\d+)\:(\d+)$/', $range, $matches)) { - $docSheet->getPageSetup()->setRowsToRepeatAtTop(array($matches[1], $matches[2])); - } - } - break; - - case '_xlnm.Print_Area': - $rangeSets = explode(',', $extractedRange); // FIXME: what if sheetname contains comma? - $newRangeSets = array(); - foreach($rangeSets as $rangeSet) { - $range = explode('!', $rangeSet); // FIXME: what if sheetname contains exclamation mark? - $rangeSet = isset($range[1]) ? $range[1] : $range[0]; - if (strpos($rangeSet, ':') === FALSE) { - $rangeSet = $rangeSet . ':' . $rangeSet; - } - $newRangeSets[] = str_replace('$', '', $rangeSet); - } - $docSheet->getPageSetup()->setPrintArea(implode(',',$newRangeSets)); - break; - - default: - break; - } - } - } - } - - // Next sheet id - ++$sheetId; - } - - // Loop through definedNames - if ($xmlWorkbook->definedNames) { - foreach ($xmlWorkbook->definedNames->definedName as $definedName) { - // Extract range - $extractedRange = (string)$definedName; - $extractedRange = preg_replace('/\'(\w+)\'\!/', '', $extractedRange); - if (($spos = strpos($extractedRange,'!')) !== false) { - $extractedRange = substr($extractedRange,0,$spos).str_replace('$', '', substr($extractedRange,$spos)); - } else { - $extractedRange = str_replace('$', '', $extractedRange); - } - - // Valid range? - if (stripos((string)$definedName, '#REF!') !== false || $extractedRange == '') { - continue; - } - - // Some definedNames are only applicable if we are on the same sheet... - if ((string)$definedName['localSheetId'] != '') { - // Local defined name - // Switch on type - switch ((string)$definedName['name']) { - - case '_xlnm._FilterDatabase': - case '_xlnm.Print_Titles': - case '_xlnm.Print_Area': - break; - - default: - if ($mapSheetId[(integer) $definedName['localSheetId']] !== null) { - $range = explode('!', (string)$definedName); - if (count($range) == 2) { - $range[0] = str_replace("''", "'", $range[0]); - $range[0] = str_replace("'", "", $range[0]); - if ($worksheet = $docSheet->getParent()->getSheetByName($range[0])) { - $extractedRange = str_replace('$', '', $range[1]); - $scope = $docSheet->getParent()->getSheet($mapSheetId[(integer) $definedName['localSheetId']]); - $excel->addNamedRange( new PHPExcel_NamedRange((string)$definedName['name'], $worksheet, $extractedRange, true, $scope) ); - } - } - } - break; - } - } else if (!isset($definedName['localSheetId'])) { - // "Global" definedNames - $locatedSheet = null; - $extractedSheetName = ''; - if (strpos( (string)$definedName, '!' ) !== false) { - // Extract sheet name - $extractedSheetName = PHPExcel_Worksheet::extractSheetTitle( (string)$definedName, true ); - $extractedSheetName = $extractedSheetName[0]; - - // Locate sheet - $locatedSheet = $excel->getSheetByName($extractedSheetName); - - // Modify range - $range = explode('!', $extractedRange); - $extractedRange = isset($range[1]) ? $range[1] : $range[0]; - } - - if ($locatedSheet !== NULL) { - $excel->addNamedRange( new PHPExcel_NamedRange((string)$definedName['name'], $locatedSheet, $extractedRange, false) ); - } - } - } - } - } - - if ((!$this->_readDataOnly) || (!empty($this->_loadSheetsOnly))) { - // active sheet index - $activeTab = intval($xmlWorkbook->bookViews->workbookView["activeTab"]); // refers to old sheet index - - // keep active sheet index if sheet is still loaded, else first sheet is set as the active - if (isset($mapSheetId[$activeTab]) && $mapSheetId[$activeTab] !== null) { - $excel->setActiveSheetIndex($mapSheetId[$activeTab]); - } else { - if ($excel->getSheetCount() == 0) { - $excel->createSheet(); - } - $excel->setActiveSheetIndex(0); - } - } - break; - } - - } - - - if (!$this->_readDataOnly) { - $contentTypes = simplexml_load_string($this->_getFromZipArchive($zip, "[Content_Types].xml"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - foreach ($contentTypes->Override as $contentType) { - switch ($contentType["ContentType"]) { - case "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": - if ($this->_includeCharts) { - $chartEntryRef = ltrim($contentType['PartName'],'/'); - $chartElements = simplexml_load_string($this->_getFromZipArchive($zip, $chartEntryRef), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $objChart = PHPExcel_Reader_Excel2007_Chart::readChart($chartElements,basename($chartEntryRef,'.xml')); - -// echo 'Chart ',$chartEntryRef,'
'; -// var_dump($charts[$chartEntryRef]); -// - if (isset($charts[$chartEntryRef])) { - $chartPositionRef = $charts[$chartEntryRef]['sheet'].'!'.$charts[$chartEntryRef]['id']; -// echo 'Position Ref ',$chartPositionRef,'
'; - if (isset($chartDetails[$chartPositionRef])) { -// var_dump($chartDetails[$chartPositionRef]); - - $excel->getSheetByName($charts[$chartEntryRef]['sheet'])->addChart($objChart); - $objChart->setWorksheet($excel->getSheetByName($charts[$chartEntryRef]['sheet'])); - $objChart->setTopLeftPosition( $chartDetails[$chartPositionRef]['fromCoordinate'], - $chartDetails[$chartPositionRef]['fromOffsetX'], - $chartDetails[$chartPositionRef]['fromOffsetY'] - ); - $objChart->setBottomRightPosition( $chartDetails[$chartPositionRef]['toCoordinate'], - $chartDetails[$chartPositionRef]['toOffsetX'], - $chartDetails[$chartPositionRef]['toOffsetY'] - ); - } - } - } - } - } - } - - $zip->close(); - - return $excel; - } - - - private static function _readColor($color, $background=FALSE) { - if (isset($color["rgb"])) { - return (string)$color["rgb"]; - } else if (isset($color["indexed"])) { - return PHPExcel_Style_Color::indexedColor($color["indexed"]-7,$background)->getARGB(); - } else if (isset($color["theme"])) { - if (self::$_theme !== NULL) { - $returnColour = self::$_theme->getColourByIndex((int)$color["theme"]); - if (isset($color["tint"])) { - $tintAdjust = (float) $color["tint"]; - $returnColour = PHPExcel_Style_Color::changeBrightness($returnColour, $tintAdjust); - } - return 'FF'.$returnColour; - } - } - - if ($background) { - return 'FFFFFFFF'; - } - return 'FF000000'; - } - - - private static function _readStyle($docStyle, $style) { - // format code -// if (isset($style->numFmt)) { -// if (isset($style->numFmt['formatCode'])) { -// $docStyle->getNumberFormat()->setFormatCode((string) $style->numFmt['formatCode']); -// } else { - $docStyle->getNumberFormat()->setFormatCode($style->numFmt); -// } -// } - - // font - if (isset($style->font)) { - $docStyle->getFont()->setName((string) $style->font->name["val"]); - $docStyle->getFont()->setSize((string) $style->font->sz["val"]); - if (isset($style->font->b)) { - $docStyle->getFont()->setBold(!isset($style->font->b["val"]) || self::boolean((string) $style->font->b["val"])); - } - if (isset($style->font->i)) { - $docStyle->getFont()->setItalic(!isset($style->font->i["val"]) || self::boolean((string) $style->font->i["val"])); - } - if (isset($style->font->strike)) { - $docStyle->getFont()->setStrikethrough(!isset($style->font->strike["val"]) || self::boolean((string) $style->font->strike["val"])); - } - $docStyle->getFont()->getColor()->setARGB(self::_readColor($style->font->color)); - - if (isset($style->font->u) && !isset($style->font->u["val"])) { - $docStyle->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - } else if (isset($style->font->u) && isset($style->font->u["val"])) { - $docStyle->getFont()->setUnderline((string)$style->font->u["val"]); - } - - if (isset($style->font->vertAlign) && isset($style->font->vertAlign["val"])) { - $vertAlign = strtolower((string)$style->font->vertAlign["val"]); - if ($vertAlign == 'superscript') { - $docStyle->getFont()->setSuperScript(true); - } - if ($vertAlign == 'subscript') { - $docStyle->getFont()->setSubScript(true); - } - } - } - - // fill - if (isset($style->fill)) { - if ($style->fill->gradientFill) { - $gradientFill = $style->fill->gradientFill[0]; - if(!empty($gradientFill["type"])) { - $docStyle->getFill()->setFillType((string) $gradientFill["type"]); - } - $docStyle->getFill()->setRotation(floatval($gradientFill["degree"])); - $gradientFill->registerXPathNamespace("sml", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - $docStyle->getFill()->getStartColor()->setARGB(self::_readColor( self::array_item($gradientFill->xpath("sml:stop[@position=0]"))->color) ); - $docStyle->getFill()->getEndColor()->setARGB(self::_readColor( self::array_item($gradientFill->xpath("sml:stop[@position=1]"))->color) ); - } elseif ($style->fill->patternFill) { - $patternType = (string)$style->fill->patternFill["patternType"] != '' ? (string)$style->fill->patternFill["patternType"] : 'solid'; - $docStyle->getFill()->setFillType($patternType); - if ($style->fill->patternFill->fgColor) { - $docStyle->getFill()->getStartColor()->setARGB(self::_readColor($style->fill->patternFill->fgColor,true)); - } else { - $docStyle->getFill()->getStartColor()->setARGB('FF000000'); - } - if ($style->fill->patternFill->bgColor) { - $docStyle->getFill()->getEndColor()->setARGB(self::_readColor($style->fill->patternFill->bgColor,true)); - } - } - } - - // border - if (isset($style->border)) { - $diagonalUp = self::boolean((string) $style->border["diagonalUp"]); - $diagonalDown = self::boolean((string) $style->border["diagonalDown"]); - if (!$diagonalUp && !$diagonalDown) { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_NONE); - } elseif ($diagonalUp && !$diagonalDown) { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_UP); - } elseif (!$diagonalUp && $diagonalDown) { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_DOWN); - } else { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_BOTH); - } - self::_readBorder($docStyle->getBorders()->getLeft(), $style->border->left); - self::_readBorder($docStyle->getBorders()->getRight(), $style->border->right); - self::_readBorder($docStyle->getBorders()->getTop(), $style->border->top); - self::_readBorder($docStyle->getBorders()->getBottom(), $style->border->bottom); - self::_readBorder($docStyle->getBorders()->getDiagonal(), $style->border->diagonal); - } - - // alignment - if (isset($style->alignment)) { - $docStyle->getAlignment()->setHorizontal((string) $style->alignment["horizontal"]); - $docStyle->getAlignment()->setVertical((string) $style->alignment["vertical"]); - - $textRotation = 0; - if ((int)$style->alignment["textRotation"] <= 90) { - $textRotation = (int)$style->alignment["textRotation"]; - } else if ((int)$style->alignment["textRotation"] > 90) { - $textRotation = 90 - (int)$style->alignment["textRotation"]; - } - - $docStyle->getAlignment()->setTextRotation(intval($textRotation)); - $docStyle->getAlignment()->setWrapText(self::boolean((string) $style->alignment["wrapText"])); - $docStyle->getAlignment()->setShrinkToFit(self::boolean((string) $style->alignment["shrinkToFit"])); - $docStyle->getAlignment()->setIndent( intval((string)$style->alignment["indent"]) > 0 ? intval((string)$style->alignment["indent"]) : 0 ); - $docStyle->getAlignment()->setReadorder( intval((string)$style->alignment["readingOrder"]) > 0 ? intval((string)$style->alignment["readingOrder"]) : 0 ); - } - - // protection - if (isset($style->protection)) { - if (isset($style->protection['locked'])) { - if (self::boolean((string) $style->protection['locked'])) { - $docStyle->getProtection()->setLocked(PHPExcel_Style_Protection::PROTECTION_PROTECTED); - } else { - $docStyle->getProtection()->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - } - } - - if (isset($style->protection['hidden'])) { - if (self::boolean((string) $style->protection['hidden'])) { - $docStyle->getProtection()->setHidden(PHPExcel_Style_Protection::PROTECTION_PROTECTED); - } else { - $docStyle->getProtection()->setHidden(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - } - } - } - - // top-level style settings - if (isset($style->quotePrefix)) { - $docStyle->setQuotePrefix($style->quotePrefix); - } - } - - - private static function _readBorder($docBorder, $eleBorder) { - if (isset($eleBorder["style"])) { - $docBorder->setBorderStyle((string) $eleBorder["style"]); - } - if (isset($eleBorder->color)) { - $docBorder->getColor()->setARGB(self::_readColor($eleBorder->color)); - } - } - - - private function _parseRichText($is = null) { - $value = new PHPExcel_RichText(); - - if (isset($is->t)) { - $value->createText( PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $is->t ) ); - } else { - foreach ($is->r as $run) { - if (!isset($run->rPr)) { - $objText = $value->createText( PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $run->t ) ); - - } else { - $objText = $value->createTextRun( PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $run->t ) ); - - if (isset($run->rPr->rFont["val"])) { - $objText->getFont()->setName((string) $run->rPr->rFont["val"]); - } - - if (isset($run->rPr->sz["val"])) { - $objText->getFont()->setSize((string) $run->rPr->sz["val"]); - } - - if (isset($run->rPr->color)) { - $objText->getFont()->setColor( new PHPExcel_Style_Color( self::_readColor($run->rPr->color) ) ); - } - - if ((isset($run->rPr->b["val"]) && self::boolean((string) $run->rPr->b["val"])) || - (isset($run->rPr->b) && !isset($run->rPr->b["val"]))) { - $objText->getFont()->setBold(TRUE); - } - - if ((isset($run->rPr->i["val"]) && self::boolean((string) $run->rPr->i["val"])) || - (isset($run->rPr->i) && !isset($run->rPr->i["val"]))) { - $objText->getFont()->setItalic(TRUE); - } - - if (isset($run->rPr->vertAlign) && isset($run->rPr->vertAlign["val"])) { - $vertAlign = strtolower((string)$run->rPr->vertAlign["val"]); - if ($vertAlign == 'superscript') { - $objText->getFont()->setSuperScript(TRUE); - } - if ($vertAlign == 'subscript') { - $objText->getFont()->setSubScript(TRUE); - } - } - - if (isset($run->rPr->u) && !isset($run->rPr->u["val"])) { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - } else if (isset($run->rPr->u) && isset($run->rPr->u["val"])) { - $objText->getFont()->setUnderline((string)$run->rPr->u["val"]); - } - - if ((isset($run->rPr->strike["val"]) && self::boolean((string) $run->rPr->strike["val"])) || - (isset($run->rPr->strike) && !isset($run->rPr->strike["val"]))) { - $objText->getFont()->setStrikethrough(TRUE); - } - } - } - } - - return $value; - } - - private function _readRibbon($excel, $customUITarget, $zip) - { - $baseDir = dirname($customUITarget); - $nameCustomUI = basename($customUITarget); - // get the xml file (ribbon) - $localRibbon = $this->_getFromZipArchive($zip, $customUITarget); - $customUIImagesNames = array(); - $customUIImagesBinaries = array(); - // something like customUI/_rels/customUI.xml.rels - $pathRels = $baseDir . '/_rels/' . $nameCustomUI . '.rels'; - $dataRels = $this->_getFromZipArchive($zip, $pathRels); - if ($dataRels) { - // exists and not empty if the ribbon have some pictures (other than internal MSO) - $UIRels = simplexml_load_string($dataRels, 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if ($UIRels) { - // we need to save id and target to avoid parsing customUI.xml and "guess" if it's a pseudo callback who load the image - foreach ($UIRels->Relationship as $ele) { - if ($ele["Type"] == 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image') { - // an image ? - $customUIImagesNames[(string) $ele['Id']] = (string)$ele['Target']; - $customUIImagesBinaries[(string)$ele['Target']] = $this->_getFromZipArchive($zip, $baseDir . '/' . (string) $ele['Target']); - } - } - } - } - if ($localRibbon) { - $excel->setRibbonXMLData($customUITarget, $localRibbon); - if (count($customUIImagesNames) > 0 && count($customUIImagesBinaries) > 0) { - $excel->setRibbonBinObjects($customUIImagesNames, $customUIImagesBinaries); - } else { - $excel->setRibbonBinObjects(NULL); - } - } else { - $excel->setRibbonXMLData(NULL); - $excel->setRibbonBinObjects(NULL); - } - } - - private static function array_item($array, $key = 0) { - return (isset($array[$key]) ? $array[$key] : null); - } - - - private static function dir_add($base, $add) { - return preg_replace('~[^/]+/\.\./~', '', dirname($base) . "/$add"); - } - - - private static function toCSSArray($style) { - $style = str_replace(array("\r","\n"), "", $style); - - $temp = explode(';', $style); - $style = array(); - foreach ($temp as $item) { - $item = explode(':', $item); - - if (strpos($item[1], 'px') !== false) { - $item[1] = str_replace('px', '', $item[1]); - } - if (strpos($item[1], 'pt') !== false) { - $item[1] = str_replace('pt', '', $item[1]); - $item[1] = PHPExcel_Shared_Font::fontSizeToPixels($item[1]); - } - if (strpos($item[1], 'in') !== false) { - $item[1] = str_replace('in', '', $item[1]); - $item[1] = PHPExcel_Shared_Font::inchSizeToPixels($item[1]); - } - if (strpos($item[1], 'cm') !== false) { - $item[1] = str_replace('cm', '', $item[1]); - $item[1] = PHPExcel_Shared_Font::centimeterSizeToPixels($item[1]); - } - - $style[$item[0]] = $item[1]; - } - - return $style; - } - - private static function boolean($value = NULL) - { - if (is_object($value)) { - $value = (string) $value; - } - if (is_numeric($value)) { - return (bool) $value; - } - return ($value === 'true' || $value === 'TRUE'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/Chart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/Chart.php deleted file mode 100644 index 1424276c6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/Chart.php +++ /dev/null @@ -1,517 +0,0 @@ -attributes(); - if (isset($attributes[$name])) { - if ($format == 'string') { - return (string) $attributes[$name]; - } elseif ($format == 'integer') { - return (integer) $attributes[$name]; - } elseif ($format == 'boolean') { - return (boolean) ($attributes[$name] === '0' || $attributes[$name] !== 'true') ? false : true; - } else { - return (float) $attributes[$name]; - } - } - return null; - } // function _getAttribute() - - - private static function _readColor($color,$background=false) { - if (isset($color["rgb"])) { - return (string)$color["rgb"]; - } else if (isset($color["indexed"])) { - return PHPExcel_Style_Color::indexedColor($color["indexed"]-7,$background)->getARGB(); - } - } - - - public static function readChart($chartElements,$chartName) { - $namespacesChartMeta = $chartElements->getNamespaces(true); - $chartElementsC = $chartElements->children($namespacesChartMeta['c']); - - $XaxisLabel = $YaxisLabel = $legend = $title = NULL; - $dispBlanksAs = $plotVisOnly = NULL; - - foreach($chartElementsC as $chartElementKey => $chartElement) { - switch ($chartElementKey) { - case "chart": - foreach($chartElement as $chartDetailsKey => $chartDetails) { - $chartDetailsC = $chartDetails->children($namespacesChartMeta['c']); - switch ($chartDetailsKey) { - case "plotArea": - $plotAreaLayout = $XaxisLable = $YaxisLable = null; - $plotSeries = $plotAttributes = array(); - foreach($chartDetails as $chartDetailKey => $chartDetail) { - switch ($chartDetailKey) { - case "layout": - $plotAreaLayout = self::_chartLayoutDetails($chartDetail,$namespacesChartMeta,'plotArea'); - break; - case "catAx": - if (isset($chartDetail->title)) { - $XaxisLabel = self::_chartTitle($chartDetail->title->children($namespacesChartMeta['c']),$namespacesChartMeta,'cat'); - } - break; - case "dateAx": - if (isset($chartDetail->title)) { - $XaxisLabel = self::_chartTitle($chartDetail->title->children($namespacesChartMeta['c']),$namespacesChartMeta,'cat'); - } - break; - case "valAx": - if (isset($chartDetail->title)) { - $YaxisLabel = self::_chartTitle($chartDetail->title->children($namespacesChartMeta['c']),$namespacesChartMeta,'cat'); - } - break; - case "barChart": - case "bar3DChart": - $barDirection = self::_getAttribute($chartDetail->barDir, 'val', 'string'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotDirection($barDirection); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "lineChart": - case "line3DChart": - $plotSeries[] = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "areaChart": - case "area3DChart": - $plotSeries[] = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "doughnutChart": - case "pieChart": - case "pie3DChart": - $explosion = isset($chartDetail->ser->explosion); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($explosion); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "scatterChart": - $scatterStyle = self::_getAttribute($chartDetail->scatterStyle, 'val', 'string'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($scatterStyle); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "bubbleChart": - $bubbleScale = self::_getAttribute($chartDetail->bubbleScale, 'val', 'integer'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($bubbleScale); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "radarChart": - $radarStyle = self::_getAttribute($chartDetail->radarStyle, 'val', 'string'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($radarStyle); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "surfaceChart": - case "surface3DChart": - $wireFrame = self::_getAttribute($chartDetail->wireframe, 'val', 'boolean'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($wireFrame); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "stockChart": - $plotSeries[] = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotAttributes = self::_readChartAttributes($plotAreaLayout); - break; - } - } - if ($plotAreaLayout == NULL) { - $plotAreaLayout = new PHPExcel_Chart_Layout(); - } - $plotArea = new PHPExcel_Chart_PlotArea($plotAreaLayout,$plotSeries); - self::_setChartAttributes($plotAreaLayout,$plotAttributes); - break; - case "plotVisOnly": - $plotVisOnly = self::_getAttribute($chartDetails, 'val', 'string'); - break; - case "dispBlanksAs": - $dispBlanksAs = self::_getAttribute($chartDetails, 'val', 'string'); - break; - case "title": - $title = self::_chartTitle($chartDetails,$namespacesChartMeta,'title'); - break; - case "legend": - $legendPos = 'r'; - $legendLayout = null; - $legendOverlay = false; - foreach($chartDetails as $chartDetailKey => $chartDetail) { - switch ($chartDetailKey) { - case "legendPos": - $legendPos = self::_getAttribute($chartDetail, 'val', 'string'); - break; - case "overlay": - $legendOverlay = self::_getAttribute($chartDetail, 'val', 'boolean'); - break; - case "layout": - $legendLayout = self::_chartLayoutDetails($chartDetail,$namespacesChartMeta,'legend'); - break; - } - } - $legend = new PHPExcel_Chart_Legend($legendPos, $legendLayout, $legendOverlay); - break; - } - } - } - } - $chart = new PHPExcel_Chart($chartName,$title,$legend,$plotArea,$plotVisOnly,$dispBlanksAs,$XaxisLabel,$YaxisLabel); - - return $chart; - } // function readChart() - - - private static function _chartTitle($titleDetails,$namespacesChartMeta,$type) { - $caption = array(); - $titleLayout = null; - foreach($titleDetails as $titleDetailKey => $chartDetail) { - switch ($titleDetailKey) { - case "tx": - $titleDetails = $chartDetail->rich->children($namespacesChartMeta['a']); - foreach($titleDetails as $titleKey => $titleDetail) { - switch ($titleKey) { - case "p": - $titleDetailPart = $titleDetail->children($namespacesChartMeta['a']); - $caption[] = self::_parseRichText($titleDetailPart); - } - } - break; - case "layout": - $titleLayout = self::_chartLayoutDetails($chartDetail,$namespacesChartMeta); - break; - } - } - - return new PHPExcel_Chart_Title($caption, $titleLayout); - } // function _chartTitle() - - - private static function _chartLayoutDetails($chartDetail,$namespacesChartMeta) { - if (!isset($chartDetail->manualLayout)) { - return null; - } - $details = $chartDetail->manualLayout->children($namespacesChartMeta['c']); - if (is_null($details)) { - return null; - } - $layout = array(); - foreach($details as $detailKey => $detail) { -// echo $detailKey,' => ',self::_getAttribute($detail, 'val', 'string'),PHP_EOL; - $layout[$detailKey] = self::_getAttribute($detail, 'val', 'string'); - } - return new PHPExcel_Chart_Layout($layout); - } // function _chartLayoutDetails() - - - private static function _chartDataSeries($chartDetail,$namespacesChartMeta,$plotType) { - $multiSeriesType = NULL; - $smoothLine = false; - $seriesLabel = $seriesCategory = $seriesValues = $plotOrder = array(); - - $seriesDetailSet = $chartDetail->children($namespacesChartMeta['c']); - foreach($seriesDetailSet as $seriesDetailKey => $seriesDetails) { - switch ($seriesDetailKey) { - case "grouping": - $multiSeriesType = self::_getAttribute($chartDetail->grouping, 'val', 'string'); - break; - case "ser": - $marker = NULL; - foreach($seriesDetails as $seriesKey => $seriesDetail) { - switch ($seriesKey) { - case "idx": - $seriesIndex = self::_getAttribute($seriesDetail, 'val', 'integer'); - break; - case "order": - $seriesOrder = self::_getAttribute($seriesDetail, 'val', 'integer'); - $plotOrder[$seriesIndex] = $seriesOrder; - break; - case "tx": - $seriesLabel[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta); - break; - case "marker": - $marker = self::_getAttribute($seriesDetail->symbol, 'val', 'string'); - break; - case "smooth": - $smoothLine = self::_getAttribute($seriesDetail, 'val', 'boolean'); - break; - case "cat": - $seriesCategory[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta); - break; - case "val": - $seriesValues[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta,$marker); - break; - case "xVal": - $seriesCategory[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta,$marker); - break; - case "yVal": - $seriesValues[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta,$marker); - break; - } - } - } - } - return new PHPExcel_Chart_DataSeries($plotType,$multiSeriesType,$plotOrder,$seriesLabel,$seriesCategory,$seriesValues,$smoothLine); - } // function _chartDataSeries() - - - private static function _chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta, $marker = null, $smoothLine = false) { - if (isset($seriesDetail->strRef)) { - $seriesSource = (string) $seriesDetail->strRef->f; - $seriesData = self::_chartDataSeriesValues($seriesDetail->strRef->strCache->children($namespacesChartMeta['c']),'s'); - - return new PHPExcel_Chart_DataSeriesValues('String',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } elseif (isset($seriesDetail->numRef)) { - $seriesSource = (string) $seriesDetail->numRef->f; - $seriesData = self::_chartDataSeriesValues($seriesDetail->numRef->numCache->children($namespacesChartMeta['c'])); - - return new PHPExcel_Chart_DataSeriesValues('Number',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } elseif (isset($seriesDetail->multiLvlStrRef)) { - $seriesSource = (string) $seriesDetail->multiLvlStrRef->f; - $seriesData = self::_chartDataSeriesValuesMultiLevel($seriesDetail->multiLvlStrRef->multiLvlStrCache->children($namespacesChartMeta['c']),'s'); - $seriesData['pointCount'] = count($seriesData['dataValues']); - - return new PHPExcel_Chart_DataSeriesValues('String',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } elseif (isset($seriesDetail->multiLvlNumRef)) { - $seriesSource = (string) $seriesDetail->multiLvlNumRef->f; - $seriesData = self::_chartDataSeriesValuesMultiLevel($seriesDetail->multiLvlNumRef->multiLvlNumCache->children($namespacesChartMeta['c']),'s'); - $seriesData['pointCount'] = count($seriesData['dataValues']); - - return new PHPExcel_Chart_DataSeriesValues('String',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } - return null; - } // function _chartDataSeriesValueSet() - - - private static function _chartDataSeriesValues($seriesValueSet,$dataType='n') { - $seriesVal = array(); - $formatCode = ''; - $pointCount = 0; - - foreach($seriesValueSet as $seriesValueIdx => $seriesValue) { - switch ($seriesValueIdx) { - case 'ptCount': - $pointCount = self::_getAttribute($seriesValue, 'val', 'integer'); - break; - case 'formatCode': - $formatCode = (string) $seriesValue; - break; - case 'pt': - $pointVal = self::_getAttribute($seriesValue, 'idx', 'integer'); - if ($dataType == 's') { - $seriesVal[$pointVal] = (string) $seriesValue->v; - } else { - $seriesVal[$pointVal] = (float) $seriesValue->v; - } - break; - } - } - - if (empty($seriesVal)) { - $seriesVal = NULL; - } - - return array( 'formatCode' => $formatCode, - 'pointCount' => $pointCount, - 'dataValues' => $seriesVal - ); - } // function _chartDataSeriesValues() - - - private static function _chartDataSeriesValuesMultiLevel($seriesValueSet,$dataType='n') { - $seriesVal = array(); - $formatCode = ''; - $pointCount = 0; - - foreach($seriesValueSet->lvl as $seriesLevelIdx => $seriesLevel) { - foreach($seriesLevel as $seriesValueIdx => $seriesValue) { - switch ($seriesValueIdx) { - case 'ptCount': - $pointCount = self::_getAttribute($seriesValue, 'val', 'integer'); - break; - case 'formatCode': - $formatCode = (string) $seriesValue; - break; - case 'pt': - $pointVal = self::_getAttribute($seriesValue, 'idx', 'integer'); - if ($dataType == 's') { - $seriesVal[$pointVal][] = (string) $seriesValue->v; - } else { - $seriesVal[$pointVal][] = (float) $seriesValue->v; - } - break; - } - } - } - - return array( 'formatCode' => $formatCode, - 'pointCount' => $pointCount, - 'dataValues' => $seriesVal - ); - } // function _chartDataSeriesValuesMultiLevel() - - private static function _parseRichText($titleDetailPart = null) { - $value = new PHPExcel_RichText(); - - foreach($titleDetailPart as $titleDetailElementKey => $titleDetailElement) { - if (isset($titleDetailElement->t)) { - $objText = $value->createTextRun( (string) $titleDetailElement->t ); - } - if (isset($titleDetailElement->rPr)) { - if (isset($titleDetailElement->rPr->rFont["val"])) { - $objText->getFont()->setName((string) $titleDetailElement->rPr->rFont["val"]); - } - - $fontSize = (self::_getAttribute($titleDetailElement->rPr, 'sz', 'integer')); - if (!is_null($fontSize)) { - $objText->getFont()->setSize(floor($fontSize / 100)); - } - - $fontColor = (self::_getAttribute($titleDetailElement->rPr, 'color', 'string')); - if (!is_null($fontColor)) { - $objText->getFont()->setColor( new PHPExcel_Style_Color( self::_readColor($fontColor) ) ); - } - - $bold = self::_getAttribute($titleDetailElement->rPr, 'b', 'boolean'); - if (!is_null($bold)) { - $objText->getFont()->setBold($bold); - } - - $italic = self::_getAttribute($titleDetailElement->rPr, 'i', 'boolean'); - if (!is_null($italic)) { - $objText->getFont()->setItalic($italic); - } - - $baseline = self::_getAttribute($titleDetailElement->rPr, 'baseline', 'integer'); - if (!is_null($baseline)) { - if ($baseline > 0) { - $objText->getFont()->setSuperScript(true); - } elseif($baseline < 0) { - $objText->getFont()->setSubScript(true); - } - } - - $underscore = (self::_getAttribute($titleDetailElement->rPr, 'u', 'string')); - if (!is_null($underscore)) { - if ($underscore == 'sng') { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - } elseif($underscore == 'dbl') { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLE); - } else { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_NONE); - } - } - - $strikethrough = (self::_getAttribute($titleDetailElement->rPr, 's', 'string')); - if (!is_null($strikethrough)) { - if ($strikethrough == 'noStrike') { - $objText->getFont()->setStrikethrough(false); - } else { - $objText->getFont()->setStrikethrough(true); - } - } - } - } - - return $value; - } - - private static function _readChartAttributes($chartDetail) { - $plotAttributes = array(); - if (isset($chartDetail->dLbls)) { - if (isset($chartDetail->dLbls->howLegendKey)) { - $plotAttributes['showLegendKey'] = self::_getAttribute($chartDetail->dLbls->showLegendKey, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showVal)) { - $plotAttributes['showVal'] = self::_getAttribute($chartDetail->dLbls->showVal, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showCatName)) { - $plotAttributes['showCatName'] = self::_getAttribute($chartDetail->dLbls->showCatName, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showSerName)) { - $plotAttributes['showSerName'] = self::_getAttribute($chartDetail->dLbls->showSerName, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showPercent)) { - $plotAttributes['showPercent'] = self::_getAttribute($chartDetail->dLbls->showPercent, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showBubbleSize)) { - $plotAttributes['showBubbleSize'] = self::_getAttribute($chartDetail->dLbls->showBubbleSize, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showLeaderLines)) { - $plotAttributes['showLeaderLines'] = self::_getAttribute($chartDetail->dLbls->showLeaderLines, 'val', 'string'); - } - } - - return $plotAttributes; - } - - private static function _setChartAttributes($plotArea,$plotAttributes) - { - foreach($plotAttributes as $plotAttributeKey => $plotAttributeValue) { - switch($plotAttributeKey) { - case 'showLegendKey' : - $plotArea->setShowLegendKey($plotAttributeValue); - break; - case 'showVal' : - $plotArea->setShowVal($plotAttributeValue); - break; - case 'showCatName' : - $plotArea->setShowCatName($plotAttributeValue); - break; - case 'showSerName' : - $plotArea->setShowSerName($plotAttributeValue); - break; - case 'showPercent' : - $plotArea->setShowPercent($plotAttributeValue); - break; - case 'showBubbleSize' : - $plotArea->setShowBubbleSize($plotAttributeValue); - break; - case 'showLeaderLines' : - $plotArea->setShowLeaderLines($plotAttributeValue); - break; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/Theme.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/Theme.php deleted file mode 100644 index a371c6208..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/Theme.php +++ /dev/null @@ -1,124 +0,0 @@ -_themeName = $themeName; - $this->_colourSchemeName = $colourSchemeName; - $this->_colourMap = $colourMap; - } - - /** - * Get Theme Name - * - * @return string - */ - public function getThemeName() - { - return $this->_themeName; - } - - /** - * Get colour Scheme Name - * - * @return string - */ - public function getColourSchemeName() { - return $this->_colourSchemeName; - } - - /** - * Get colour Map Value by Position - * - * @return string - */ - public function getColourByIndex($index=0) { - if (isset($this->_colourMap[$index])) { - return $this->_colourMap[$index]; - } - return null; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if ((is_object($value)) && ($key != '_parent')) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel2007/index.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5.php deleted file mode 100644 index f2893ece7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5.php +++ /dev/null @@ -1,7088 +0,0 @@ -_data - * - * @var int - */ - private $_dataSize; - - /** - * Current position in stream - * - * @var integer - */ - private $_pos; - - /** - * Workbook to be returned by the reader. - * - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Worksheet that is currently being built by the reader. - * - * @var PHPExcel_Worksheet - */ - private $_phpSheet; - - /** - * BIFF version - * - * @var int - */ - private $_version; - - /** - * Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95) - * For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE' - * - * @var string - */ - private $_codepage; - - /** - * Shared formats - * - * @var array - */ - private $_formats; - - /** - * Shared fonts - * - * @var array - */ - private $_objFonts; - - /** - * Color palette - * - * @var array - */ - private $_palette; - - /** - * Worksheets - * - * @var array - */ - private $_sheets; - - /** - * External books - * - * @var array - */ - private $_externalBooks; - - /** - * REF structures. Only applies to BIFF8. - * - * @var array - */ - private $_ref; - - /** - * External names - * - * @var array - */ - private $_externalNames; - - /** - * Defined names - * - * @var array - */ - private $_definedname; - - /** - * Shared strings. Only applies to BIFF8. - * - * @var array - */ - private $_sst; - - /** - * Panes are frozen? (in sheet currently being read). See WINDOW2 record. - * - * @var boolean - */ - private $_frozen; - - /** - * Fit printout to number of pages? (in sheet currently being read). See SHEETPR record. - * - * @var boolean - */ - private $_isFitToPages; - - /** - * Objects. One OBJ record contributes with one entry. - * - * @var array - */ - private $_objs; - - /** - * Text Objects. One TXO record corresponds with one entry. - * - * @var array - */ - private $_textObjects; - - /** - * Cell Annotations (BIFF8) - * - * @var array - */ - private $_cellNotes; - - /** - * The combined MSODRAWINGGROUP data - * - * @var string - */ - private $_drawingGroupData; - - /** - * The combined MSODRAWING data (per sheet) - * - * @var string - */ - private $_drawingData; - - /** - * Keep track of XF index - * - * @var int - */ - private $_xfIndex; - - /** - * Mapping of XF index (that is a cell XF) to final index in cellXf collection - * - * @var array - */ - private $_mapCellXfIndex; - - /** - * Mapping of XF index (that is a style XF) to final index in cellStyleXf collection - * - * @var array - */ - private $_mapCellStyleXfIndex; - - /** - * The shared formulas in a sheet. One SHAREDFMLA record contributes with one value. - * - * @var array - */ - private $_sharedFormulas; - - /** - * The shared formula parts in a sheet. One FORMULA record contributes with one value if it - * refers to a shared formula. - * - * @var array - */ - private $_sharedFormulaParts; - - /** - * The type of encryption in use - * - * @var int - */ - private $_encryption = 0; - - /** - * The position in the stream after which contents are encrypted - * - * @var int - */ - private $_encryptionStartPos = false; - - /** - * The current RC4 decryption object - * - * @var PHPExcel_Reader_Excel5_RC4 - */ - private $_rc4Key = null; - - /** - * The position in the stream that the RC4 decryption object was left at - * - * @var int - */ - private $_rc4Pos = 0; - - /** - * The current MD5 context state - * - * @var string - */ - private $_md5Ctxt = null; - - /** - * Create a new PHPExcel_Reader_Excel5 instance - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - try { - // Use ParseXL for the hard work. - $ole = new PHPExcel_Shared_OLERead(); - - // get excel data - $res = $ole->read($pFilename); - return true; - } catch (PHPExcel_Exception $e) { - return false; - } - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetNames = array(); - - // Read the OLE file - $this->_loadOLE($pFilename); - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - $this->_pos = 0; - $this->_sheets = array(); - - // Parse Workbook Global Substream - while ($this->_pos < $this->_dataSize) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_SHEET: $this->_readSheet(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - foreach ($this->_sheets as $sheet) { - if ($sheet['sheetType'] != 0x00) { - // 0x00: Worksheet, 0x02: Chart, 0x06: Visual Basic module - continue; - } - - $worksheetNames[] = $sheet['name']; - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - // Read the OLE file - $this->_loadOLE($pFilename); - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - // initialize - $this->_pos = 0; - $this->_sheets = array(); - - // Parse Workbook Global Substream - while ($this->_pos < $this->_dataSize) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_SHEET: $this->_readSheet(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - // Parse the individual sheets - foreach ($this->_sheets as $sheet) { - - if ($sheet['sheetType'] != 0x00) { - // 0x00: Worksheet - // 0x02: Chart - // 0x06: Visual Basic module - continue; - } - - $tmpInfo = array(); - $tmpInfo['worksheetName'] = $sheet['name']; - $tmpInfo['lastColumnLetter'] = 'A'; - $tmpInfo['lastColumnIndex'] = 0; - $tmpInfo['totalRows'] = 0; - $tmpInfo['totalColumns'] = 0; - - $this->_pos = $sheet['offset']; - - while ($this->_pos <= $this->_dataSize - 4) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_RK: - case self::XLS_Type_LABELSST: - case self::XLS_Type_NUMBER: - case self::XLS_Type_FORMULA: - case self::XLS_Type_BOOLERR: - case self::XLS_Type_LABEL: - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - $rowIndex = self::_GetInt2d($recordData, 0) + 1; - $columnIndex = self::_GetInt2d($recordData, 2); - - $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex); - $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex); - break; - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1; - - $worksheetInfo[] = $tmpInfo; - } - - return $worksheetInfo; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Read the OLE file - $this->_loadOLE($pFilename); - - // Initialisations - $this->_phpExcel = new PHPExcel; - $this->_phpExcel->removeSheetByIndex(0); // remove 1st sheet - if (!$this->_readDataOnly) { - $this->_phpExcel->removeCellStyleXfByIndex(0); // remove the default style - $this->_phpExcel->removeCellXfByIndex(0); // remove the default style - } - - // Read the summary information stream (containing meta data) - $this->_readSummaryInformation(); - - // Read the Additional document summary information stream (containing application-specific meta data) - $this->_readDocumentSummaryInformation(); - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - // initialize - $this->_pos = 0; - $this->_codepage = 'CP1252'; - $this->_formats = array(); - $this->_objFonts = array(); - $this->_palette = array(); - $this->_sheets = array(); - $this->_externalBooks = array(); - $this->_ref = array(); - $this->_definedname = array(); - $this->_sst = array(); - $this->_drawingGroupData = ''; - $this->_xfIndex = ''; - $this->_mapCellXfIndex = array(); - $this->_mapCellStyleXfIndex = array(); - - // Parse Workbook Global Substream - while ($this->_pos < $this->_dataSize) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_FILEPASS: $this->_readFilepass(); break; - case self::XLS_Type_CODEPAGE: $this->_readCodepage(); break; - case self::XLS_Type_DATEMODE: $this->_readDateMode(); break; - case self::XLS_Type_FONT: $this->_readFont(); break; - case self::XLS_Type_FORMAT: $this->_readFormat(); break; - case self::XLS_Type_XF: $this->_readXf(); break; - case self::XLS_Type_XFEXT: $this->_readXfExt(); break; - case self::XLS_Type_STYLE: $this->_readStyle(); break; - case self::XLS_Type_PALETTE: $this->_readPalette(); break; - case self::XLS_Type_SHEET: $this->_readSheet(); break; - case self::XLS_Type_EXTERNALBOOK: $this->_readExternalBook(); break; - case self::XLS_Type_EXTERNNAME: $this->_readExternName(); break; - case self::XLS_Type_EXTERNSHEET: $this->_readExternSheet(); break; - case self::XLS_Type_DEFINEDNAME: $this->_readDefinedName(); break; - case self::XLS_Type_MSODRAWINGGROUP: $this->_readMsoDrawingGroup(); break; - case self::XLS_Type_SST: $this->_readSst(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - // Resolve indexed colors for font, fill, and border colors - // Cannot be resolved already in XF record, because PALETTE record comes afterwards - if (!$this->_readDataOnly) { - foreach ($this->_objFonts as $objFont) { - if (isset($objFont->colorIndex)) { - $color = self::_readColor($objFont->colorIndex,$this->_palette,$this->_version); - $objFont->getColor()->setRGB($color['rgb']); - } - } - - foreach ($this->_phpExcel->getCellXfCollection() as $objStyle) { - // fill start and end color - $fill = $objStyle->getFill(); - - if (isset($fill->startcolorIndex)) { - $startColor = self::_readColor($fill->startcolorIndex,$this->_palette,$this->_version); - $fill->getStartColor()->setRGB($startColor['rgb']); - } - - if (isset($fill->endcolorIndex)) { - $endColor = self::_readColor($fill->endcolorIndex,$this->_palette,$this->_version); - $fill->getEndColor()->setRGB($endColor['rgb']); - } - - // border colors - $top = $objStyle->getBorders()->getTop(); - $right = $objStyle->getBorders()->getRight(); - $bottom = $objStyle->getBorders()->getBottom(); - $left = $objStyle->getBorders()->getLeft(); - $diagonal = $objStyle->getBorders()->getDiagonal(); - - if (isset($top->colorIndex)) { - $borderTopColor = self::_readColor($top->colorIndex,$this->_palette,$this->_version); - $top->getColor()->setRGB($borderTopColor['rgb']); - } - - if (isset($right->colorIndex)) { - $borderRightColor = self::_readColor($right->colorIndex,$this->_palette,$this->_version); - $right->getColor()->setRGB($borderRightColor['rgb']); - } - - if (isset($bottom->colorIndex)) { - $borderBottomColor = self::_readColor($bottom->colorIndex,$this->_palette,$this->_version); - $bottom->getColor()->setRGB($borderBottomColor['rgb']); - } - - if (isset($left->colorIndex)) { - $borderLeftColor = self::_readColor($left->colorIndex,$this->_palette,$this->_version); - $left->getColor()->setRGB($borderLeftColor['rgb']); - } - - if (isset($diagonal->colorIndex)) { - $borderDiagonalColor = self::_readColor($diagonal->colorIndex,$this->_palette,$this->_version); - $diagonal->getColor()->setRGB($borderDiagonalColor['rgb']); - } - } - } - - // treat MSODRAWINGGROUP records, workbook-level Escher - if (!$this->_readDataOnly && $this->_drawingGroupData) { - $escherWorkbook = new PHPExcel_Shared_Escher(); - $reader = new PHPExcel_Reader_Excel5_Escher($escherWorkbook); - $escherWorkbook = $reader->load($this->_drawingGroupData); - - // debug Escher stream - //$debug = new Debug_Escher(new PHPExcel_Shared_Escher()); - //$debug->load($this->_drawingGroupData); - } - - // Parse the individual sheets - foreach ($this->_sheets as $sheet) { - - if ($sheet['sheetType'] != 0x00) { - // 0x00: Worksheet, 0x02: Chart, 0x06: Visual Basic module - continue; - } - - // check if sheet should be skipped - if (isset($this->_loadSheetsOnly) && !in_array($sheet['name'], $this->_loadSheetsOnly)) { - continue; - } - - // add sheet to PHPExcel object - $this->_phpSheet = $this->_phpExcel->createSheet(); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in formula - // cells... during the load, all formulae should be correct, and we're simply bringing the worksheet - // name in line with the formula, not the reverse - $this->_phpSheet->setTitle($sheet['name'],false); - $this->_phpSheet->setSheetState($sheet['sheetState']); - - $this->_pos = $sheet['offset']; - - // Initialize isFitToPages. May change after reading SHEETPR record. - $this->_isFitToPages = false; - - // Initialize drawingData - $this->_drawingData = ''; - - // Initialize objs - $this->_objs = array(); - - // Initialize shared formula parts - $this->_sharedFormulaParts = array(); - - // Initialize shared formulas - $this->_sharedFormulas = array(); - - // Initialize text objs - $this->_textObjects = array(); - - // Initialize cell annotations - $this->_cellNotes = array(); - $this->textObjRef = -1; - - while ($this->_pos <= $this->_dataSize - 4) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_PRINTGRIDLINES: $this->_readPrintGridlines(); break; - case self::XLS_Type_DEFAULTROWHEIGHT: $this->_readDefaultRowHeight(); break; - case self::XLS_Type_SHEETPR: $this->_readSheetPr(); break; - case self::XLS_Type_HORIZONTALPAGEBREAKS: $this->_readHorizontalPageBreaks(); break; - case self::XLS_Type_VERTICALPAGEBREAKS: $this->_readVerticalPageBreaks(); break; - case self::XLS_Type_HEADER: $this->_readHeader(); break; - case self::XLS_Type_FOOTER: $this->_readFooter(); break; - case self::XLS_Type_HCENTER: $this->_readHcenter(); break; - case self::XLS_Type_VCENTER: $this->_readVcenter(); break; - case self::XLS_Type_LEFTMARGIN: $this->_readLeftMargin(); break; - case self::XLS_Type_RIGHTMARGIN: $this->_readRightMargin(); break; - case self::XLS_Type_TOPMARGIN: $this->_readTopMargin(); break; - case self::XLS_Type_BOTTOMMARGIN: $this->_readBottomMargin(); break; - case self::XLS_Type_PAGESETUP: $this->_readPageSetup(); break; - case self::XLS_Type_PROTECT: $this->_readProtect(); break; - case self::XLS_Type_SCENPROTECT: $this->_readScenProtect(); break; - case self::XLS_Type_OBJECTPROTECT: $this->_readObjectProtect(); break; - case self::XLS_Type_PASSWORD: $this->_readPassword(); break; - case self::XLS_Type_DEFCOLWIDTH: $this->_readDefColWidth(); break; - case self::XLS_Type_COLINFO: $this->_readColInfo(); break; - case self::XLS_Type_DIMENSION: $this->_readDefault(); break; - case self::XLS_Type_ROW: $this->_readRow(); break; - case self::XLS_Type_DBCELL: $this->_readDefault(); break; - case self::XLS_Type_RK: $this->_readRk(); break; - case self::XLS_Type_LABELSST: $this->_readLabelSst(); break; - case self::XLS_Type_MULRK: $this->_readMulRk(); break; - case self::XLS_Type_NUMBER: $this->_readNumber(); break; - case self::XLS_Type_FORMULA: $this->_readFormula(); break; - case self::XLS_Type_SHAREDFMLA: $this->_readSharedFmla(); break; - case self::XLS_Type_BOOLERR: $this->_readBoolErr(); break; - case self::XLS_Type_MULBLANK: $this->_readMulBlank(); break; - case self::XLS_Type_LABEL: $this->_readLabel(); break; - case self::XLS_Type_BLANK: $this->_readBlank(); break; - case self::XLS_Type_MSODRAWING: $this->_readMsoDrawing(); break; - case self::XLS_Type_OBJ: $this->_readObj(); break; - case self::XLS_Type_WINDOW2: $this->_readWindow2(); break; - case self::XLS_Type_PAGELAYOUTVIEW: $this->_readPageLayoutView(); break; - case self::XLS_Type_SCL: $this->_readScl(); break; - case self::XLS_Type_PANE: $this->_readPane(); break; - case self::XLS_Type_SELECTION: $this->_readSelection(); break; - case self::XLS_Type_MERGEDCELLS: $this->_readMergedCells(); break; - case self::XLS_Type_HYPERLINK: $this->_readHyperLink(); break; - case self::XLS_Type_DATAVALIDATIONS: $this->_readDataValidations(); break; - case self::XLS_Type_DATAVALIDATION: $this->_readDataValidation(); break; - case self::XLS_Type_SHEETLAYOUT: $this->_readSheetLayout(); break; - case self::XLS_Type_SHEETPROTECTION: $this->_readSheetProtection(); break; - case self::XLS_Type_RANGEPROTECTION: $this->_readRangeProtection(); break; - case self::XLS_Type_NOTE: $this->_readNote(); break; - //case self::XLS_Type_IMDATA: $this->_readImData(); break; - case self::XLS_Type_TXO: $this->_readTextObject(); break; - case self::XLS_Type_CONTINUE: $this->_readContinue(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - - } - - // treat MSODRAWING records, sheet-level Escher - if (!$this->_readDataOnly && $this->_drawingData) { - $escherWorksheet = new PHPExcel_Shared_Escher(); - $reader = new PHPExcel_Reader_Excel5_Escher($escherWorksheet); - $escherWorksheet = $reader->load($this->_drawingData); - - // debug Escher stream - //$debug = new Debug_Escher(new PHPExcel_Shared_Escher()); - //$debug->load($this->_drawingData); - - // get all spContainers in one long array, so they can be mapped to OBJ records - $allSpContainers = $escherWorksheet->getDgContainer()->getSpgrContainer()->getAllSpContainers(); - } - - // treat OBJ records - foreach ($this->_objs as $n => $obj) { -// echo '
Object reference is ',$n,'
'; -// var_dump($obj); -// echo '
'; - - // the first shape container never has a corresponding OBJ record, hence $n + 1 - if (isset($allSpContainers[$n + 1]) && is_object($allSpContainers[$n + 1])) { - $spContainer = $allSpContainers[$n + 1]; - - // we skip all spContainers that are a part of a group shape since we cannot yet handle those - if ($spContainer->getNestingLevel() > 1) { - continue; - } - - // calculate the width and height of the shape - list($startColumn, $startRow) = PHPExcel_Cell::coordinateFromString($spContainer->getStartCoordinates()); - list($endColumn, $endRow) = PHPExcel_Cell::coordinateFromString($spContainer->getEndCoordinates()); - - $startOffsetX = $spContainer->getStartOffsetX(); - $startOffsetY = $spContainer->getStartOffsetY(); - $endOffsetX = $spContainer->getEndOffsetX(); - $endOffsetY = $spContainer->getEndOffsetY(); - - $width = PHPExcel_Shared_Excel5::getDistanceX($this->_phpSheet, $startColumn, $startOffsetX, $endColumn, $endOffsetX); - $height = PHPExcel_Shared_Excel5::getDistanceY($this->_phpSheet, $startRow, $startOffsetY, $endRow, $endOffsetY); - - // calculate offsetX and offsetY of the shape - $offsetX = $startOffsetX * PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, $startColumn) / 1024; - $offsetY = $startOffsetY * PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $startRow) / 256; - - switch ($obj['otObjType']) { - case 0x19: - // Note -// echo 'Cell Annotation Object
'; -// echo 'Object ID is ',$obj['idObjID'],'
'; -// - if (isset($this->_cellNotes[$obj['idObjID']])) { - $cellNote = $this->_cellNotes[$obj['idObjID']]; - - if (isset($this->_textObjects[$obj['idObjID']])) { - $textObject = $this->_textObjects[$obj['idObjID']]; - $this->_cellNotes[$obj['idObjID']]['objTextData'] = $textObject; - } - } - break; - - case 0x08: -// echo 'Picture Object
'; - // picture - - // get index to BSE entry (1-based) - $BSEindex = $spContainer->getOPT(0x0104); - $BSECollection = $escherWorkbook->getDggContainer()->getBstoreContainer()->getBSECollection(); - $BSE = $BSECollection[$BSEindex - 1]; - $blipType = $BSE->getBlipType(); - - // need check because some blip types are not supported by Escher reader such as EMF - if ($blip = $BSE->getBlip()) { - $ih = imagecreatefromstring($blip->getData()); - $drawing = new PHPExcel_Worksheet_MemoryDrawing(); - $drawing->setImageResource($ih); - - // width, height, offsetX, offsetY - $drawing->setResizeProportional(false); - $drawing->setWidth($width); - $drawing->setHeight($height); - $drawing->setOffsetX($offsetX); - $drawing->setOffsetY($offsetY); - - switch ($blipType) { - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG: - $drawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG); - $drawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_JPEG); - break; - - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG: - $drawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_PNG); - $drawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_PNG); - break; - } - - $drawing->setWorksheet($this->_phpSheet); - $drawing->setCoordinates($spContainer->getStartCoordinates()); - } - - break; - - default: - // other object type - break; - - } - } - } - - // treat SHAREDFMLA records - if ($this->_version == self::XLS_BIFF8) { - foreach ($this->_sharedFormulaParts as $cell => $baseCell) { - list($column, $row) = PHPExcel_Cell::coordinateFromString($cell); - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($column, $row, $this->_phpSheet->getTitle()) ) { - $formula = $this->_getFormulaFromStructure($this->_sharedFormulas[$baseCell], $cell); - $this->_phpSheet->getCell($cell)->setValueExplicit('=' . $formula, PHPExcel_Cell_DataType::TYPE_FORMULA); - } - } - } - - if (!empty($this->_cellNotes)) { - foreach($this->_cellNotes as $note => $noteDetails) { - if (!isset($noteDetails['objTextData'])) { - if (isset($this->_textObjects[$note])) { - $textObject = $this->_textObjects[$note]; - $noteDetails['objTextData'] = $textObject; - } else { - $noteDetails['objTextData']['text'] = ''; - } - } -// echo 'Cell annotation ',$note,'
'; -// var_dump($noteDetails); -// echo '
'; - $cellAddress = str_replace('$','',$noteDetails['cellRef']); - $this->_phpSheet->getComment( $cellAddress ) - ->setAuthor( $noteDetails['author'] ) - ->setText($this->_parseRichText($noteDetails['objTextData']['text']) ); - } - } - } - - // add the named ranges (defined names) - foreach ($this->_definedname as $definedName) { - if ($definedName['isBuiltInName']) { - switch ($definedName['name']) { - - case pack('C', 0x06): - // print area - // in general, formula looks like this: Foo!$C$7:$J$66,Bar!$A$1:$IV$2 - $ranges = explode(',', $definedName['formula']); // FIXME: what if sheetname contains comma? - - $extractedRanges = array(); - foreach ($ranges as $range) { - // $range should look like one of these - // Foo!$C$7:$J$66 - // Bar!$A$1:$IV$2 - - $explodes = explode('!', $range); // FIXME: what if sheetname contains exclamation mark? - $sheetName = trim($explodes[0], "'"); - - if (count($explodes) == 2) { - if (strpos($explodes[1], ':') === FALSE) { - $explodes[1] = $explodes[1] . ':' . $explodes[1]; - } - $extractedRanges[] = str_replace('$', '', $explodes[1]); // C7:J66 - } - } - if ($docSheet = $this->_phpExcel->getSheetByName($sheetName)) { - $docSheet->getPageSetup()->setPrintArea(implode(',', $extractedRanges)); // C7:J66,A1:IV2 - } - break; - - case pack('C', 0x07): - // print titles (repeating rows) - // Assuming BIFF8, there are 3 cases - // 1. repeating rows - // formula looks like this: Sheet!$A$1:$IV$2 - // rows 1-2 repeat - // 2. repeating columns - // formula looks like this: Sheet!$A$1:$B$65536 - // columns A-B repeat - // 3. both repeating rows and repeating columns - // formula looks like this: Sheet!$A$1:$B$65536,Sheet!$A$1:$IV$2 - - $ranges = explode(',', $definedName['formula']); // FIXME: what if sheetname contains comma? - - foreach ($ranges as $range) { - // $range should look like this one of these - // Sheet!$A$1:$B$65536 - // Sheet!$A$1:$IV$2 - - $explodes = explode('!', $range); - - if (count($explodes) == 2) { - if ($docSheet = $this->_phpExcel->getSheetByName($explodes[0])) { - - $extractedRange = $explodes[1]; - $extractedRange = str_replace('$', '', $extractedRange); - - $coordinateStrings = explode(':', $extractedRange); - if (count($coordinateStrings) == 2) { - list($firstColumn, $firstRow) = PHPExcel_Cell::coordinateFromString($coordinateStrings[0]); - list($lastColumn, $lastRow) = PHPExcel_Cell::coordinateFromString($coordinateStrings[1]); - - if ($firstColumn == 'A' and $lastColumn == 'IV') { - // then we have repeating rows - $docSheet->getPageSetup()->setRowsToRepeatAtTop(array($firstRow, $lastRow)); - } elseif ($firstRow == 1 and $lastRow == 65536) { - // then we have repeating columns - $docSheet->getPageSetup()->setColumnsToRepeatAtLeft(array($firstColumn, $lastColumn)); - } - } - } - } - } - break; - - } - } else { - // Extract range - $explodes = explode('!', $definedName['formula']); - - if (count($explodes) == 2) { - if (($docSheet = $this->_phpExcel->getSheetByName($explodes[0])) || - ($docSheet = $this->_phpExcel->getSheetByName(trim($explodes[0],"'")))) { - $extractedRange = $explodes[1]; - $extractedRange = str_replace('$', '', $extractedRange); - - $localOnly = ($definedName['scope'] == 0) ? false : true; - - $scope = ($definedName['scope'] == 0) ? - null : $this->_phpExcel->getSheetByName($this->_sheets[$definedName['scope'] - 1]['name']); - - $this->_phpExcel->addNamedRange( new PHPExcel_NamedRange((string)$definedName['name'], $docSheet, $extractedRange, $localOnly, $scope) ); - } - } else { - // Named Value - // TODO Provide support for named values - } - } - } - $this->_data = null; - - return $this->_phpExcel; - } - - /** - * Read record data from stream, decrypting as required - * - * @param string $data Data stream to read from - * @param int $pos Position to start reading from - * @param int $length Record data length - * - * @return string Record data - */ - private function _readRecordData($data, $pos, $len) - { - $data = substr($data, $pos, $len); - - // File not encrypted, or record before encryption start point - if ($this->_encryption == self::MS_BIFF_CRYPTO_NONE || $pos < $this->_encryptionStartPos) { - return $data; - } - - $recordData = ''; - if ($this->_encryption == self::MS_BIFF_CRYPTO_RC4) { - - $oldBlock = floor($this->_rc4Pos / self::REKEY_BLOCK); - $block = floor($pos / self::REKEY_BLOCK); - $endBlock = floor(($pos + $len) / self::REKEY_BLOCK); - - // Spin an RC4 decryptor to the right spot. If we have a decryptor sitting - // at a point earlier in the current block, re-use it as we can save some time. - if ($block != $oldBlock || $pos < $this->_rc4Pos || !$this->_rc4Key) { - $this->_rc4Key = $this->_makeKey($block, $this->_md5Ctxt); - $step = $pos % self::REKEY_BLOCK; - } else { - $step = $pos - $this->_rc4Pos; - } - $this->_rc4Key->RC4(str_repeat("\0", $step)); - - // Decrypt record data (re-keying at the end of every block) - while ($block != $endBlock) { - $step = self::REKEY_BLOCK - ($pos % self::REKEY_BLOCK); - $recordData .= $this->_rc4Key->RC4(substr($data, 0, $step)); - $data = substr($data, $step); - $pos += $step; - $len -= $step; - $block++; - $this->_rc4Key = $this->_makeKey($block, $this->_md5Ctxt); - } - $recordData .= $this->_rc4Key->RC4(substr($data, 0, $len)); - - // Keep track of the position of this decryptor. - // We'll try and re-use it later if we can to speed things up - $this->_rc4Pos = $pos + $len; - - } elseif ($this->_encryption == self::MS_BIFF_CRYPTO_XOR) { - throw new PHPExcel_Reader_Exception('XOr encryption not supported'); - } - return $recordData; - } - - /** - * Use OLE reader to extract the relevant data streams from the OLE file - * - * @param string $pFilename - */ - private function _loadOLE($pFilename) - { - // OLE reader - $ole = new PHPExcel_Shared_OLERead(); - - // get excel data, - $res = $ole->read($pFilename); - // Get workbook data: workbook stream + sheet streams - $this->_data = $ole->getStream($ole->wrkbook); - - // Get summary information data - $this->_summaryInformation = $ole->getStream($ole->summaryInformation); - - // Get additional document summary information data - $this->_documentSummaryInformation = $ole->getStream($ole->documentSummaryInformation); - - // Get user-defined property data -// $this->_userDefinedProperties = $ole->getUserDefinedProperties(); - } - - - /** - * Read summary information - */ - private function _readSummaryInformation() - { - if (!isset($this->_summaryInformation)) { - return; - } - - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - // offset: 2; size: 2; - // offset: 4; size: 2; OS version - // offset: 6; size: 2; OS indicator - // offset: 8; size: 16 - // offset: 24; size: 4; section count - $secCount = self::_GetInt4d($this->_summaryInformation, 24); - - // offset: 28; size: 16; first section's class id: e0 85 9f f2 f9 4f 68 10 ab 91 08 00 2b 27 b3 d9 - // offset: 44; size: 4 - $secOffset = self::_GetInt4d($this->_summaryInformation, 44); - - // section header - // offset: $secOffset; size: 4; section length - $secLength = self::_GetInt4d($this->_summaryInformation, $secOffset); - - // offset: $secOffset+4; size: 4; property count - $countProperties = self::_GetInt4d($this->_summaryInformation, $secOffset+4); - - // initialize code page (used to resolve string values) - $codePage = 'CP1252'; - - // offset: ($secOffset+8); size: var - // loop through property decarations and properties - for ($i = 0; $i < $countProperties; ++$i) { - - // offset: ($secOffset+8) + (8 * $i); size: 4; property ID - $id = self::_GetInt4d($this->_summaryInformation, ($secOffset+8) + (8 * $i)); - - // Use value of property id as appropriate - // offset: ($secOffset+12) + (8 * $i); size: 4; offset from beginning of section (48) - $offset = self::_GetInt4d($this->_summaryInformation, ($secOffset+12) + (8 * $i)); - - $type = self::_GetInt4d($this->_summaryInformation, $secOffset + $offset); - - // initialize property value - $value = null; - - // extract property value based on property type - switch ($type) { - case 0x02: // 2 byte signed integer - $value = self::_GetInt2d($this->_summaryInformation, $secOffset + 4 + $offset); - break; - - case 0x03: // 4 byte signed integer - $value = self::_GetInt4d($this->_summaryInformation, $secOffset + 4 + $offset); - break; - - case 0x13: // 4 byte unsigned integer - // not needed yet, fix later if necessary - break; - - case 0x1E: // null-terminated string prepended by dword string length - $byteLength = self::_GetInt4d($this->_summaryInformation, $secOffset + 4 + $offset); - $value = substr($this->_summaryInformation, $secOffset + 8 + $offset, $byteLength); - $value = PHPExcel_Shared_String::ConvertEncoding($value, 'UTF-8', $codePage); - $value = rtrim($value); - break; - - case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - // PHP-time - $value = PHPExcel_Shared_OLE::OLE2LocalDate(substr($this->_summaryInformation, $secOffset + 4 + $offset, 8)); - break; - - case 0x47: // Clipboard format - // not needed yet, fix later if necessary - break; - } - - switch ($id) { - case 0x01: // Code Page - $codePage = PHPExcel_Shared_CodePage::NumberToName($value); - break; - - case 0x02: // Title - $this->_phpExcel->getProperties()->setTitle($value); - break; - - case 0x03: // Subject - $this->_phpExcel->getProperties()->setSubject($value); - break; - - case 0x04: // Author (Creator) - $this->_phpExcel->getProperties()->setCreator($value); - break; - - case 0x05: // Keywords - $this->_phpExcel->getProperties()->setKeywords($value); - break; - - case 0x06: // Comments (Description) - $this->_phpExcel->getProperties()->setDescription($value); - break; - - case 0x07: // Template - // Not supported by PHPExcel - break; - - case 0x08: // Last Saved By (LastModifiedBy) - $this->_phpExcel->getProperties()->setLastModifiedBy($value); - break; - - case 0x09: // Revision - // Not supported by PHPExcel - break; - - case 0x0A: // Total Editing Time - // Not supported by PHPExcel - break; - - case 0x0B: // Last Printed - // Not supported by PHPExcel - break; - - case 0x0C: // Created Date/Time - $this->_phpExcel->getProperties()->setCreated($value); - break; - - case 0x0D: // Modified Date/Time - $this->_phpExcel->getProperties()->setModified($value); - break; - - case 0x0E: // Number of Pages - // Not supported by PHPExcel - break; - - case 0x0F: // Number of Words - // Not supported by PHPExcel - break; - - case 0x10: // Number of Characters - // Not supported by PHPExcel - break; - - case 0x11: // Thumbnail - // Not supported by PHPExcel - break; - - case 0x12: // Name of creating application - // Not supported by PHPExcel - break; - - case 0x13: // Security - // Not supported by PHPExcel - break; - - } - } - } - - - /** - * Read additional document summary information - */ - private function _readDocumentSummaryInformation() - { - if (!isset($this->_documentSummaryInformation)) { - return; - } - - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - // offset: 2; size: 2; - // offset: 4; size: 2; OS version - // offset: 6; size: 2; OS indicator - // offset: 8; size: 16 - // offset: 24; size: 4; section count - $secCount = self::_GetInt4d($this->_documentSummaryInformation, 24); -// echo '$secCount = ',$secCount,'
'; - - // offset: 28; size: 16; first section's class id: 02 d5 cd d5 9c 2e 1b 10 93 97 08 00 2b 2c f9 ae - // offset: 44; size: 4; first section offset - $secOffset = self::_GetInt4d($this->_documentSummaryInformation, 44); -// echo '$secOffset = ',$secOffset,'
'; - - // section header - // offset: $secOffset; size: 4; section length - $secLength = self::_GetInt4d($this->_documentSummaryInformation, $secOffset); -// echo '$secLength = ',$secLength,'
'; - - // offset: $secOffset+4; size: 4; property count - $countProperties = self::_GetInt4d($this->_documentSummaryInformation, $secOffset+4); -// echo '$countProperties = ',$countProperties,'
'; - - // initialize code page (used to resolve string values) - $codePage = 'CP1252'; - - // offset: ($secOffset+8); size: var - // loop through property decarations and properties - for ($i = 0; $i < $countProperties; ++$i) { -// echo 'Property ',$i,'
'; - // offset: ($secOffset+8) + (8 * $i); size: 4; property ID - $id = self::_GetInt4d($this->_documentSummaryInformation, ($secOffset+8) + (8 * $i)); -// echo 'ID is ',$id,'
'; - - // Use value of property id as appropriate - // offset: 60 + 8 * $i; size: 4; offset from beginning of section (48) - $offset = self::_GetInt4d($this->_documentSummaryInformation, ($secOffset+12) + (8 * $i)); - - $type = self::_GetInt4d($this->_documentSummaryInformation, $secOffset + $offset); -// echo 'Type is ',$type,', '; - - // initialize property value - $value = null; - - // extract property value based on property type - switch ($type) { - case 0x02: // 2 byte signed integer - $value = self::_GetInt2d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - break; - - case 0x03: // 4 byte signed integer - $value = self::_GetInt4d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - break; - - case 0x0B: // Boolean - $value = self::_GetInt2d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - $value = ($value == 0 ? false : true); - break; - - case 0x13: // 4 byte unsigned integer - // not needed yet, fix later if necessary - break; - - case 0x1E: // null-terminated string prepended by dword string length - $byteLength = self::_GetInt4d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - $value = substr($this->_documentSummaryInformation, $secOffset + 8 + $offset, $byteLength); - $value = PHPExcel_Shared_String::ConvertEncoding($value, 'UTF-8', $codePage); - $value = rtrim($value); - break; - - case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - // PHP-Time - $value = PHPExcel_Shared_OLE::OLE2LocalDate(substr($this->_documentSummaryInformation, $secOffset + 4 + $offset, 8)); - break; - - case 0x47: // Clipboard format - // not needed yet, fix later if necessary - break; - } - - switch ($id) { - case 0x01: // Code Page - $codePage = PHPExcel_Shared_CodePage::NumberToName($value); - break; - - case 0x02: // Category - $this->_phpExcel->getProperties()->setCategory($value); - break; - - case 0x03: // Presentation Target - // Not supported by PHPExcel - break; - - case 0x04: // Bytes - // Not supported by PHPExcel - break; - - case 0x05: // Lines - // Not supported by PHPExcel - break; - - case 0x06: // Paragraphs - // Not supported by PHPExcel - break; - - case 0x07: // Slides - // Not supported by PHPExcel - break; - - case 0x08: // Notes - // Not supported by PHPExcel - break; - - case 0x09: // Hidden Slides - // Not supported by PHPExcel - break; - - case 0x0A: // MM Clips - // Not supported by PHPExcel - break; - - case 0x0B: // Scale Crop - // Not supported by PHPExcel - break; - - case 0x0C: // Heading Pairs - // Not supported by PHPExcel - break; - - case 0x0D: // Titles of Parts - // Not supported by PHPExcel - break; - - case 0x0E: // Manager - $this->_phpExcel->getProperties()->setManager($value); - break; - - case 0x0F: // Company - $this->_phpExcel->getProperties()->setCompany($value); - break; - - case 0x10: // Links up-to-date - // Not supported by PHPExcel - break; - - } - } - } - - - /** - * Reads a general type of BIFF record. Does nothing except for moving stream pointer forward to next record. - */ - private function _readDefault() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); -// $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - } - - - /** - * The NOTE record specifies a comment associated with a particular cell. In Excel 95 (BIFF7) and earlier versions, - * this record stores a note (cell note). This feature was significantly enhanced in Excel 97. - */ - private function _readNote() - { -// echo 'Read Cell Annotation
'; - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - $cellAddress = $this->_readBIFF8CellAddress(substr($recordData, 0, 4)); - if ($this->_version == self::XLS_BIFF8) { - $noteObjID = self::_GetInt2d($recordData, 6); - $noteAuthor = self::_readUnicodeStringLong(substr($recordData, 8)); - $noteAuthor = $noteAuthor['value']; -// echo 'Note Address=',$cellAddress,'
'; -// echo 'Note Object ID=',$noteObjID,'
'; -// echo 'Note Author=',$noteAuthor,'
'; -// - $this->_cellNotes[$noteObjID] = array('cellRef' => $cellAddress, - 'objectID' => $noteObjID, - 'author' => $noteAuthor - ); - } else { - $extension = false; - if ($cellAddress == '$B$65536') { - // If the address row is -1 and the column is 0, (which translates as $B$65536) then this is a continuation - // note from the previous cell annotation. We're not yet handling this, so annotations longer than the - // max 2048 bytes will probably throw a wobbly. - $row = self::_GetInt2d($recordData, 0); - $extension = true; - $cellAddress = array_pop(array_keys($this->_phpSheet->getComments())); - } -// echo 'Note Address=',$cellAddress,'
'; - - $cellAddress = str_replace('$','',$cellAddress); - $noteLength = self::_GetInt2d($recordData, 4); - $noteText = trim(substr($recordData, 6)); -// echo 'Note Length=',$noteLength,'
'; -// echo 'Note Text=',$noteText,'
'; - - if ($extension) { - // Concatenate this extension with the currently set comment for the cell - $comment = $this->_phpSheet->getComment( $cellAddress ); - $commentText = $comment->getText()->getPlainText(); - $comment->setText($this->_parseRichText($commentText.$noteText) ); - } else { - // Set comment for the cell - $this->_phpSheet->getComment( $cellAddress ) -// ->setAuthor( $author ) - ->setText($this->_parseRichText($noteText) ); - } - } - - } - - - /** - * The TEXT Object record contains the text associated with a cell annotation. - */ - private function _readTextObject() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // recordData consists of an array of subrecords looking like this: - // grbit: 2 bytes; Option Flags - // rot: 2 bytes; rotation - // cchText: 2 bytes; length of the text (in the first continue record) - // cbRuns: 2 bytes; length of the formatting (in the second continue record) - // followed by the continuation records containing the actual text and formatting - $grbitOpts = self::_GetInt2d($recordData, 0); - $rot = self::_GetInt2d($recordData, 2); - $cchText = self::_GetInt2d($recordData, 10); - $cbRuns = self::_GetInt2d($recordData, 12); - $text = $this->_getSplicedRecordData(); - - $this->_textObjects[$this->textObjRef] = array( - 'text' => substr($text["recordData"],$text["spliceOffsets"][0]+1,$cchText), - 'format' => substr($text["recordData"],$text["spliceOffsets"][1],$cbRuns), - 'alignment' => $grbitOpts, - 'rotation' => $rot - ); - -// echo '_readTextObject()
'; -// var_dump($this->_textObjects[$this->textObjRef]); -// echo '
'; - } - - - /** - * Read BOF - */ - private function _readBof() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = substr($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 2; size: 2; type of the following data - $substreamType = self::_GetInt2d($recordData, 2); - - switch ($substreamType) { - case self::XLS_WorkbookGlobals: - $version = self::_GetInt2d($recordData, 0); - if (($version != self::XLS_BIFF8) && ($version != self::XLS_BIFF7)) { - throw new PHPExcel_Reader_Exception('Cannot read this Excel file. Version is too old.'); - } - $this->_version = $version; - break; - - case self::XLS_Worksheet: - // do not use this version information for anything - // it is unreliable (OpenOffice doc, 5.8), use only version information from the global stream - break; - - default: - // substream, e.g. chart - // just skip the entire substream - do { - $code = self::_GetInt2d($this->_data, $this->_pos); - $this->_readDefault(); - } while ($code != self::XLS_Type_EOF && $this->_pos < $this->_dataSize); - break; - } - } - - - /** - * FILEPASS - * - * This record is part of the File Protection Block. It - * contains information about the read/write password of the - * file. All record contents following this record will be - * encrypted. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - * - * The decryption functions and objects used from here on in - * are based on the source of Spreadsheet-ParseExcel: - * http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel/ - */ - private function _readFilepass() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - if ($length != 54) { - throw new PHPExcel_Reader_Exception('Unexpected file pass record length'); - } - - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_verifyPassword( - 'VelvetSweatshop', - substr($recordData, 6, 16), - substr($recordData, 22, 16), - substr($recordData, 38, 16), - $this->_md5Ctxt - )) { - throw new PHPExcel_Reader_Exception('Decryption password incorrect'); - } - - $this->_encryption = self::MS_BIFF_CRYPTO_RC4; - - // Decryption required from the record after next onwards - $this->_encryptionStartPos = $this->_pos + self::_GetInt2d($this->_data, $this->_pos + 2); - } - - /** - * Make an RC4 decryptor for the given block - * - * @var int $block Block for which to create decrypto - * @var string $valContext MD5 context state - * - * @return PHPExcel_Reader_Excel5_RC4 - */ - private function _makeKey($block, $valContext) - { - $pwarray = str_repeat("\0", 64); - - for ($i = 0; $i < 5; $i++) { - $pwarray[$i] = $valContext[$i]; - } - - $pwarray[5] = chr($block & 0xff); - $pwarray[6] = chr(($block >> 8) & 0xff); - $pwarray[7] = chr(($block >> 16) & 0xff); - $pwarray[8] = chr(($block >> 24) & 0xff); - - $pwarray[9] = "\x80"; - $pwarray[56] = "\x48"; - - $md5 = new PHPExcel_Reader_Excel5_MD5(); - $md5->add($pwarray); - - $s = $md5->getContext(); - return new PHPExcel_Reader_Excel5_RC4($s); - } - - /** - * Verify RC4 file password - * - * @var string $password Password to check - * @var string $docid Document id - * @var string $salt_data Salt data - * @var string $hashedsalt_data Hashed salt data - * @var string &$valContext Set to the MD5 context of the value - * - * @return bool Success - */ - private function _verifyPassword($password, $docid, $salt_data, $hashedsalt_data, &$valContext) - { - $pwarray = str_repeat("\0", 64); - - for ($i = 0; $i < strlen($password); $i++) { - $o = ord(substr($password, $i, 1)); - $pwarray[2 * $i] = chr($o & 0xff); - $pwarray[2 * $i + 1] = chr(($o >> 8) & 0xff); - } - $pwarray[2 * $i] = chr(0x80); - $pwarray[56] = chr(($i << 4) & 0xff); - - $md5 = new PHPExcel_Reader_Excel5_MD5(); - $md5->add($pwarray); - - $mdContext1 = $md5->getContext(); - - $offset = 0; - $keyoffset = 0; - $tocopy = 5; - - $md5->reset(); - - while ($offset != 16) { - if ((64 - $offset) < 5) { - $tocopy = 64 - $offset; - } - - for ($i = 0; $i <= $tocopy; $i++) { - $pwarray[$offset + $i] = $mdContext1[$keyoffset + $i]; - } - - $offset += $tocopy; - - if ($offset == 64) { - $md5->add($pwarray); - $keyoffset = $tocopy; - $tocopy = 5 - $tocopy; - $offset = 0; - continue; - } - - $keyoffset = 0; - $tocopy = 5; - for ($i = 0; $i < 16; $i++) { - $pwarray[$offset + $i] = $docid[$i]; - } - $offset += 16; - } - - $pwarray[16] = "\x80"; - for ($i = 0; $i < 47; $i++) { - $pwarray[17 + $i] = "\0"; - } - $pwarray[56] = "\x80"; - $pwarray[57] = "\x0a"; - - $md5->add($pwarray); - $valContext = $md5->getContext(); - - $key = $this->_makeKey(0, $valContext); - - $salt = $key->RC4($salt_data); - $hashedsalt = $key->RC4($hashedsalt_data); - - $salt .= "\x80" . str_repeat("\0", 47); - $salt[56] = "\x80"; - - $md5->reset(); - $md5->add($salt); - $mdContext2 = $md5->getContext(); - - return $mdContext2 == $hashedsalt; - } - - /** - * CODEPAGE - * - * This record stores the text encoding used to write byte - * strings, stored as MS Windows code page identifier. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readCodepage() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; code page identifier - $codepage = self::_GetInt2d($recordData, 0); - - $this->_codepage = PHPExcel_Shared_CodePage::NumberToName($codepage); - } - - - /** - * DATEMODE - * - * This record specifies the base date for displaying date - * values. All dates are stored as count of days past this - * base date. In BIFF2-BIFF4 this record is part of the - * Calculation Settings Block. In BIFF5-BIFF8 it is - * stored in the Workbook Globals Substream. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readDateMode() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; 0 = base 1900, 1 = base 1904 - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900); - if (ord($recordData{0}) == 1) { - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904); - } - } - - - /** - * Read a FONT record - */ - private function _readFont() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - $objFont = new PHPExcel_Style_Font(); - - // offset: 0; size: 2; height of the font (in twips = 1/20 of a point) - $size = self::_GetInt2d($recordData, 0); - $objFont->setSize($size / 20); - - // offset: 2; size: 2; option flags - // bit: 0; mask 0x0001; bold (redundant in BIFF5-BIFF8) - // bit: 1; mask 0x0002; italic - $isItalic = (0x0002 & self::_GetInt2d($recordData, 2)) >> 1; - if ($isItalic) $objFont->setItalic(true); - - // bit: 2; mask 0x0004; underlined (redundant in BIFF5-BIFF8) - // bit: 3; mask 0x0008; strike - $isStrike = (0x0008 & self::_GetInt2d($recordData, 2)) >> 3; - if ($isStrike) $objFont->setStrikethrough(true); - - // offset: 4; size: 2; colour index - $colorIndex = self::_GetInt2d($recordData, 4); - $objFont->colorIndex = $colorIndex; - - // offset: 6; size: 2; font weight - $weight = self::_GetInt2d($recordData, 6); - switch ($weight) { - case 0x02BC: - $objFont->setBold(true); - break; - } - - // offset: 8; size: 2; escapement type - $escapement = self::_GetInt2d($recordData, 8); - switch ($escapement) { - case 0x0001: - $objFont->setSuperScript(true); - break; - case 0x0002: - $objFont->setSubScript(true); - break; - } - - // offset: 10; size: 1; underline type - $underlineType = ord($recordData{10}); - switch ($underlineType) { - case 0x00: - break; // no underline - case 0x01: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - break; - case 0x02: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLE); - break; - case 0x21: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING); - break; - case 0x22: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING); - break; - } - - // offset: 11; size: 1; font family - // offset: 12; size: 1; character set - // offset: 13; size: 1; not used - // offset: 14; size: var; font name - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringShort(substr($recordData, 14)); - } else { - $string = $this->_readByteStringShort(substr($recordData, 14)); - } - $objFont->setName($string['value']); - - $this->_objFonts[] = $objFont; - } - } - - - /** - * FORMAT - * - * This record contains information about a number format. - * All FORMAT records occur together in a sequential list. - * - * In BIFF2-BIFF4 other records referencing a FORMAT record - * contain a zero-based index into this list. From BIFF5 on - * the FORMAT record contains the index itself that will be - * used by other records. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readFormat() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - $indexCode = self::_GetInt2d($recordData, 0); - - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong(substr($recordData, 2)); - } else { - // BIFF7 - $string = $this->_readByteStringShort(substr($recordData, 2)); - } - - $formatString = $string['value']; - $this->_formats[$indexCode] = $formatString; - } - } - - - /** - * XF - Extended Format - * - * This record contains formatting information for cells, rows, columns or styles. - * According to http://support.microsoft.com/kb/147732 there are always at least 15 cell style XF - * and 1 cell XF. - * Inspection of Excel files generated by MS Office Excel shows that XF records 0-14 are cell style XF - * and XF record 15 is a cell XF - * We only read the first cell style XF and skip the remaining cell style XF records - * We read all cell XF records. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readXf() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - $objStyle = new PHPExcel_Style(); - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; Index to FONT record - if (self::_GetInt2d($recordData, 0) < 4) { - $fontIndex = self::_GetInt2d($recordData, 0); - } else { - // this has to do with that index 4 is omitted in all BIFF versions for some strange reason - // check the OpenOffice documentation of the FONT record - $fontIndex = self::_GetInt2d($recordData, 0) - 1; - } - $objStyle->setFont($this->_objFonts[$fontIndex]); - - // offset: 2; size: 2; Index to FORMAT record - $numberFormatIndex = self::_GetInt2d($recordData, 2); - if (isset($this->_formats[$numberFormatIndex])) { - // then we have user-defined format code - $numberformat = array('code' => $this->_formats[$numberFormatIndex]); - } elseif (($code = PHPExcel_Style_NumberFormat::builtInFormatCode($numberFormatIndex)) !== '') { - // then we have built-in format code - $numberformat = array('code' => $code); - } else { - // we set the general format code - $numberformat = array('code' => 'General'); - } - $objStyle->getNumberFormat()->setFormatCode($numberformat['code']); - - // offset: 4; size: 2; XF type, cell protection, and parent style XF - // bit 2-0; mask 0x0007; XF_TYPE_PROT - $xfTypeProt = self::_GetInt2d($recordData, 4); - // bit 0; mask 0x01; 1 = cell is locked - $isLocked = (0x01 & $xfTypeProt) >> 0; - $objStyle->getProtection()->setLocked($isLocked ? - PHPExcel_Style_Protection::PROTECTION_INHERIT : PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - - // bit 1; mask 0x02; 1 = Formula is hidden - $isHidden = (0x02 & $xfTypeProt) >> 1; - $objStyle->getProtection()->setHidden($isHidden ? - PHPExcel_Style_Protection::PROTECTION_PROTECTED : PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - - // bit 2; mask 0x04; 0 = Cell XF, 1 = Cell Style XF - $isCellStyleXf = (0x04 & $xfTypeProt) >> 2; - - // offset: 6; size: 1; Alignment and text break - // bit 2-0, mask 0x07; horizontal alignment - $horAlign = (0x07 & ord($recordData{6})) >> 0; - switch ($horAlign) { - case 0: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_GENERAL); - break; - case 1: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_LEFT); - break; - case 2: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER); - break; - case 3: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT); - break; - case 4: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_FILL); - break; - case 5: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY); - break; - case 6: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS); - break; - } - // bit 3, mask 0x08; wrap text - $wrapText = (0x08 & ord($recordData{6})) >> 3; - switch ($wrapText) { - case 0: - $objStyle->getAlignment()->setWrapText(false); - break; - case 1: - $objStyle->getAlignment()->setWrapText(true); - break; - } - // bit 6-4, mask 0x70; vertical alignment - $vertAlign = (0x70 & ord($recordData{6})) >> 4; - switch ($vertAlign) { - case 0: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP); - break; - case 1: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); - break; - case 2: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_BOTTOM); - break; - case 3: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_JUSTIFY); - break; - } - - if ($this->_version == self::XLS_BIFF8) { - // offset: 7; size: 1; XF_ROTATION: Text rotation angle - $angle = ord($recordData{7}); - $rotation = 0; - if ($angle <= 90) { - $rotation = $angle; - } else if ($angle <= 180) { - $rotation = 90 - $angle; - } else if ($angle == 255) { - $rotation = -165; - } - $objStyle->getAlignment()->setTextRotation($rotation); - - // offset: 8; size: 1; Indentation, shrink to cell size, and text direction - // bit: 3-0; mask: 0x0F; indent level - $indent = (0x0F & ord($recordData{8})) >> 0; - $objStyle->getAlignment()->setIndent($indent); - - // bit: 4; mask: 0x10; 1 = shrink content to fit into cell - $shrinkToFit = (0x10 & ord($recordData{8})) >> 4; - switch ($shrinkToFit) { - case 0: - $objStyle->getAlignment()->setShrinkToFit(false); - break; - case 1: - $objStyle->getAlignment()->setShrinkToFit(true); - break; - } - - // offset: 9; size: 1; Flags used for attribute groups - - // offset: 10; size: 4; Cell border lines and background area - // bit: 3-0; mask: 0x0000000F; left style - if ($bordersLeftStyle = self::_mapBorderStyle((0x0000000F & self::_GetInt4d($recordData, 10)) >> 0)) { - $objStyle->getBorders()->getLeft()->setBorderStyle($bordersLeftStyle); - } - // bit: 7-4; mask: 0x000000F0; right style - if ($bordersRightStyle = self::_mapBorderStyle((0x000000F0 & self::_GetInt4d($recordData, 10)) >> 4)) { - $objStyle->getBorders()->getRight()->setBorderStyle($bordersRightStyle); - } - // bit: 11-8; mask: 0x00000F00; top style - if ($bordersTopStyle = self::_mapBorderStyle((0x00000F00 & self::_GetInt4d($recordData, 10)) >> 8)) { - $objStyle->getBorders()->getTop()->setBorderStyle($bordersTopStyle); - } - // bit: 15-12; mask: 0x0000F000; bottom style - if ($bordersBottomStyle = self::_mapBorderStyle((0x0000F000 & self::_GetInt4d($recordData, 10)) >> 12)) { - $objStyle->getBorders()->getBottom()->setBorderStyle($bordersBottomStyle); - } - // bit: 22-16; mask: 0x007F0000; left color - $objStyle->getBorders()->getLeft()->colorIndex = (0x007F0000 & self::_GetInt4d($recordData, 10)) >> 16; - - // bit: 29-23; mask: 0x3F800000; right color - $objStyle->getBorders()->getRight()->colorIndex = (0x3F800000 & self::_GetInt4d($recordData, 10)) >> 23; - - // bit: 30; mask: 0x40000000; 1 = diagonal line from top left to right bottom - $diagonalDown = (0x40000000 & self::_GetInt4d($recordData, 10)) >> 30 ? - true : false; - - // bit: 31; mask: 0x80000000; 1 = diagonal line from bottom left to top right - $diagonalUp = (0x80000000 & self::_GetInt4d($recordData, 10)) >> 31 ? - true : false; - - if ($diagonalUp == false && $diagonalDown == false) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_NONE); - } elseif ($diagonalUp == true && $diagonalDown == false) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_UP); - } elseif ($diagonalUp == false && $diagonalDown == true) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_DOWN); - } elseif ($diagonalUp == true && $diagonalDown == true) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_BOTH); - } - - // offset: 14; size: 4; - // bit: 6-0; mask: 0x0000007F; top color - $objStyle->getBorders()->getTop()->colorIndex = (0x0000007F & self::_GetInt4d($recordData, 14)) >> 0; - - // bit: 13-7; mask: 0x00003F80; bottom color - $objStyle->getBorders()->getBottom()->colorIndex = (0x00003F80 & self::_GetInt4d($recordData, 14)) >> 7; - - // bit: 20-14; mask: 0x001FC000; diagonal color - $objStyle->getBorders()->getDiagonal()->colorIndex = (0x001FC000 & self::_GetInt4d($recordData, 14)) >> 14; - - // bit: 24-21; mask: 0x01E00000; diagonal style - if ($bordersDiagonalStyle = self::_mapBorderStyle((0x01E00000 & self::_GetInt4d($recordData, 14)) >> 21)) { - $objStyle->getBorders()->getDiagonal()->setBorderStyle($bordersDiagonalStyle); - } - - // bit: 31-26; mask: 0xFC000000 fill pattern - if ($fillType = self::_mapFillPattern((0xFC000000 & self::_GetInt4d($recordData, 14)) >> 26)) { - $objStyle->getFill()->setFillType($fillType); - } - // offset: 18; size: 2; pattern and background colour - // bit: 6-0; mask: 0x007F; color index for pattern color - $objStyle->getFill()->startcolorIndex = (0x007F & self::_GetInt2d($recordData, 18)) >> 0; - - // bit: 13-7; mask: 0x3F80; color index for pattern background - $objStyle->getFill()->endcolorIndex = (0x3F80 & self::_GetInt2d($recordData, 18)) >> 7; - } else { - // BIFF5 - - // offset: 7; size: 1; Text orientation and flags - $orientationAndFlags = ord($recordData{7}); - - // bit: 1-0; mask: 0x03; XF_ORIENTATION: Text orientation - $xfOrientation = (0x03 & $orientationAndFlags) >> 0; - switch ($xfOrientation) { - case 0: - $objStyle->getAlignment()->setTextRotation(0); - break; - case 1: - $objStyle->getAlignment()->setTextRotation(-165); - break; - case 2: - $objStyle->getAlignment()->setTextRotation(90); - break; - case 3: - $objStyle->getAlignment()->setTextRotation(-90); - break; - } - - // offset: 8; size: 4; cell border lines and background area - $borderAndBackground = self::_GetInt4d($recordData, 8); - - // bit: 6-0; mask: 0x0000007F; color index for pattern color - $objStyle->getFill()->startcolorIndex = (0x0000007F & $borderAndBackground) >> 0; - - // bit: 13-7; mask: 0x00003F80; color index for pattern background - $objStyle->getFill()->endcolorIndex = (0x00003F80 & $borderAndBackground) >> 7; - - // bit: 21-16; mask: 0x003F0000; fill pattern - $objStyle->getFill()->setFillType(self::_mapFillPattern((0x003F0000 & $borderAndBackground) >> 16)); - - // bit: 24-22; mask: 0x01C00000; bottom line style - $objStyle->getBorders()->getBottom()->setBorderStyle(self::_mapBorderStyle((0x01C00000 & $borderAndBackground) >> 22)); - - // bit: 31-25; mask: 0xFE000000; bottom line color - $objStyle->getBorders()->getBottom()->colorIndex = (0xFE000000 & $borderAndBackground) >> 25; - - // offset: 12; size: 4; cell border lines - $borderLines = self::_GetInt4d($recordData, 12); - - // bit: 2-0; mask: 0x00000007; top line style - $objStyle->getBorders()->getTop()->setBorderStyle(self::_mapBorderStyle((0x00000007 & $borderLines) >> 0)); - - // bit: 5-3; mask: 0x00000038; left line style - $objStyle->getBorders()->getLeft()->setBorderStyle(self::_mapBorderStyle((0x00000038 & $borderLines) >> 3)); - - // bit: 8-6; mask: 0x000001C0; right line style - $objStyle->getBorders()->getRight()->setBorderStyle(self::_mapBorderStyle((0x000001C0 & $borderLines) >> 6)); - - // bit: 15-9; mask: 0x0000FE00; top line color index - $objStyle->getBorders()->getTop()->colorIndex = (0x0000FE00 & $borderLines) >> 9; - - // bit: 22-16; mask: 0x007F0000; left line color index - $objStyle->getBorders()->getLeft()->colorIndex = (0x007F0000 & $borderLines) >> 16; - - // bit: 29-23; mask: 0x3F800000; right line color index - $objStyle->getBorders()->getRight()->colorIndex = (0x3F800000 & $borderLines) >> 23; - } - - // add cellStyleXf or cellXf and update mapping - if ($isCellStyleXf) { - // we only read one style XF record which is always the first - if ($this->_xfIndex == 0) { - $this->_phpExcel->addCellStyleXf($objStyle); - $this->_mapCellStyleXfIndex[$this->_xfIndex] = 0; - } - } else { - // we read all cell XF records - $this->_phpExcel->addCellXf($objStyle); - $this->_mapCellXfIndex[$this->_xfIndex] = count($this->_phpExcel->getCellXfCollection()) - 1; - } - - // update XF index for when we read next record - ++$this->_xfIndex; - } - } - - - /** - * - */ - private function _readXfExt() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 0x087D = repeated header - - // offset: 2; size: 2 - - // offset: 4; size: 8; not used - - // offset: 12; size: 2; record version - - // offset: 14; size: 2; index to XF record which this record modifies - $ixfe = self::_GetInt2d($recordData, 14); - - // offset: 16; size: 2; not used - - // offset: 18; size: 2; number of extension properties that follow - $cexts = self::_GetInt2d($recordData, 18); - - // start reading the actual extension data - $offset = 20; - while ($offset < $length) { - // extension type - $extType = self::_GetInt2d($recordData, $offset); - - // extension length - $cb = self::_GetInt2d($recordData, $offset + 2); - - // extension data - $extData = substr($recordData, $offset + 4, $cb); - - switch ($extType) { - case 4: // fill start color - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $fill = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getFill(); - $fill->getStartColor()->setRGB($rgb); - unset($fill->startcolorIndex); // normal color index does not apply, discard - } - } - break; - - case 5: // fill end color - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $fill = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getFill(); - $fill->getEndColor()->setRGB($rgb); - unset($fill->endcolorIndex); // normal color index does not apply, discard - } - } - break; - - case 7: // border color top - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $top = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getTop(); - $top->getColor()->setRGB($rgb); - unset($top->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 8: // border color bottom - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $bottom = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getBottom(); - $bottom->getColor()->setRGB($rgb); - unset($bottom->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 9: // border color left - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $left = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getLeft(); - $left->getColor()->setRGB($rgb); - unset($left->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 10: // border color right - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $right = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getRight(); - $right->getColor()->setRGB($rgb); - unset($right->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 11: // border color diagonal - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $diagonal = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getDiagonal(); - $diagonal->getColor()->setRGB($rgb); - unset($diagonal->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 13: // font color - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $font = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getFont(); - $font->getColor()->setRGB($rgb); - unset($font->colorIndex); // normal color index does not apply, discard - } - } - break; - } - - $offset += $cb; - } - } - - } - - - /** - * Read STYLE record - */ - private function _readStyle() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; index to XF record and flag for built-in style - $ixfe = self::_GetInt2d($recordData, 0); - - // bit: 11-0; mask 0x0FFF; index to XF record - $xfIndex = (0x0FFF & $ixfe) >> 0; - - // bit: 15; mask 0x8000; 0 = user-defined style, 1 = built-in style - $isBuiltIn = (bool) ((0x8000 & $ixfe) >> 15); - - if ($isBuiltIn) { - // offset: 2; size: 1; identifier for built-in style - $builtInId = ord($recordData{2}); - - switch ($builtInId) { - case 0x00: - // currently, we are not using this for anything - break; - - default: - break; - } - - } else { - // user-defined; not supported by PHPExcel - } - } - } - - - /** - * Read PALETTE record - */ - private function _readPalette() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; number of following colors - $nm = self::_GetInt2d($recordData, 0); - - // list of RGB colors - for ($i = 0; $i < $nm; ++$i) { - $rgb = substr($recordData, 2 + 4 * $i, 4); - $this->_palette[] = self::_readRGB($rgb); - } - } - } - - - /** - * SHEET - * - * This record is located in the Workbook Globals - * Substream and represents a sheet inside the workbook. - * One SHEET record is written for each sheet. It stores the - * sheet name and a stream offset to the BOF record of the - * respective Sheet Substream within the Workbook Stream. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readSheet() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // offset: 0; size: 4; absolute stream position of the BOF record of the sheet - // NOTE: not encrypted - $rec_offset = self::_GetInt4d($this->_data, $this->_pos + 4); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 4; size: 1; sheet state - switch (ord($recordData{4})) { - case 0x00: $sheetState = PHPExcel_Worksheet::SHEETSTATE_VISIBLE; break; - case 0x01: $sheetState = PHPExcel_Worksheet::SHEETSTATE_HIDDEN; break; - case 0x02: $sheetState = PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN; break; - default: $sheetState = PHPExcel_Worksheet::SHEETSTATE_VISIBLE; break; - } - - // offset: 5; size: 1; sheet type - $sheetType = ord($recordData{5}); - - // offset: 6; size: var; sheet name - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringShort(substr($recordData, 6)); - $rec_name = $string['value']; - } elseif ($this->_version == self::XLS_BIFF7) { - $string = $this->_readByteStringShort(substr($recordData, 6)); - $rec_name = $string['value']; - } - - $this->_sheets[] = array( - 'name' => $rec_name, - 'offset' => $rec_offset, - 'sheetState' => $sheetState, - 'sheetType' => $sheetType, - ); - } - - - /** - * Read EXTERNALBOOK record - */ - private function _readExternalBook() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset within record data - $offset = 0; - - // there are 4 types of records - if (strlen($recordData) > 4) { - // external reference - // offset: 0; size: 2; number of sheet names ($nm) - $nm = self::_GetInt2d($recordData, 0); - $offset += 2; - - // offset: 2; size: var; encoded URL without sheet name (Unicode string, 16-bit length) - $encodedUrlString = self::_readUnicodeStringLong(substr($recordData, 2)); - $offset += $encodedUrlString['size']; - - // offset: var; size: var; list of $nm sheet names (Unicode strings, 16-bit length) - $externalSheetNames = array(); - for ($i = 0; $i < $nm; ++$i) { - $externalSheetNameString = self::_readUnicodeStringLong(substr($recordData, $offset)); - $externalSheetNames[] = $externalSheetNameString['value']; - $offset += $externalSheetNameString['size']; - } - - // store the record data - $this->_externalBooks[] = array( - 'type' => 'external', - 'encodedUrl' => $encodedUrlString['value'], - 'externalSheetNames' => $externalSheetNames, - ); - - } elseif (substr($recordData, 2, 2) == pack('CC', 0x01, 0x04)) { - // internal reference - // offset: 0; size: 2; number of sheet in this document - // offset: 2; size: 2; 0x01 0x04 - $this->_externalBooks[] = array( - 'type' => 'internal', - ); - } elseif (substr($recordData, 0, 4) == pack('vCC', 0x0001, 0x01, 0x3A)) { - // add-in function - // offset: 0; size: 2; 0x0001 - $this->_externalBooks[] = array( - 'type' => 'addInFunction', - ); - } elseif (substr($recordData, 0, 2) == pack('v', 0x0000)) { - // DDE links, OLE links - // offset: 0; size: 2; 0x0000 - // offset: 2; size: var; encoded source document name - $this->_externalBooks[] = array( - 'type' => 'DDEorOLE', - ); - } - } - - - /** - * Read EXTERNNAME record. - */ - private function _readExternName() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // external sheet references provided for named cells - if ($this->_version == self::XLS_BIFF8) { - // offset: 0; size: 2; options - $options = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; - - // offset: 4; size: 2; not used - - // offset: 6; size: var - $nameString = self::_readUnicodeStringShort(substr($recordData, 6)); - - // offset: var; size: var; formula data - $offset = 6 + $nameString['size']; - $formula = $this->_getFormulaFromStructure(substr($recordData, $offset)); - - $this->_externalNames[] = array( - 'name' => $nameString['value'], - 'formula' => $formula, - ); - } - } - - - /** - * Read EXTERNSHEET record - */ - private function _readExternSheet() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // external sheet references provided for named cells - if ($this->_version == self::XLS_BIFF8) { - // offset: 0; size: 2; number of following ref structures - $nm = self::_GetInt2d($recordData, 0); - for ($i = 0; $i < $nm; ++$i) { - $this->_ref[] = array( - // offset: 2 + 6 * $i; index to EXTERNALBOOK record - 'externalBookIndex' => self::_GetInt2d($recordData, 2 + 6 * $i), - // offset: 4 + 6 * $i; index to first sheet in EXTERNALBOOK record - 'firstSheetIndex' => self::_GetInt2d($recordData, 4 + 6 * $i), - // offset: 6 + 6 * $i; index to last sheet in EXTERNALBOOK record - 'lastSheetIndex' => self::_GetInt2d($recordData, 6 + 6 * $i), - ); - } - } - } - - - /** - * DEFINEDNAME - * - * This record is part of a Link Table. It contains the name - * and the token array of an internal defined name. Token - * arrays of defined names contain tokens with aberrant - * token classes. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readDefinedName() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8) { - // retrieves named cells - - // offset: 0; size: 2; option flags - $opts = self::_GetInt2d($recordData, 0); - - // bit: 5; mask: 0x0020; 0 = user-defined name, 1 = built-in-name - $isBuiltInName = (0x0020 & $opts) >> 5; - - // offset: 2; size: 1; keyboard shortcut - - // offset: 3; size: 1; length of the name (character count) - $nlen = ord($recordData{3}); - - // offset: 4; size: 2; size of the formula data (it can happen that this is zero) - // note: there can also be additional data, this is not included in $flen - $flen = self::_GetInt2d($recordData, 4); - - // offset: 8; size: 2; 0=Global name, otherwise index to sheet (1-based) - $scope = self::_GetInt2d($recordData, 8); - - // offset: 14; size: var; Name (Unicode string without length field) - $string = self::_readUnicodeString(substr($recordData, 14), $nlen); - - // offset: var; size: $flen; formula data - $offset = 14 + $string['size']; - $formulaStructure = pack('v', $flen) . substr($recordData, $offset); - - try { - $formula = $this->_getFormulaFromStructure($formulaStructure); - } catch (PHPExcel_Exception $e) { - $formula = ''; - } - - $this->_definedname[] = array( - 'isBuiltInName' => $isBuiltInName, - 'name' => $string['value'], - 'formula' => $formula, - 'scope' => $scope, - ); - } - } - - - /** - * Read MSODRAWINGGROUP record - */ - private function _readMsoDrawingGroup() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - $recordData = $splicedRecordData['recordData']; - - $this->_drawingGroupData .= $recordData; - } - - - /** - * SST - Shared String Table - * - * This record contains a list of all strings used anywhere - * in the workbook. Each string occurs only once. The - * workbook uses indexes into the list to reference the - * strings. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - **/ - private function _readSst() - { - // offset within (spliced) record data - $pos = 0; - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - - $recordData = $splicedRecordData['recordData']; - $spliceOffsets = $splicedRecordData['spliceOffsets']; - - // offset: 0; size: 4; total number of strings in the workbook - $pos += 4; - - // offset: 4; size: 4; number of following strings ($nm) - $nm = self::_GetInt4d($recordData, 4); - $pos += 4; - - // loop through the Unicode strings (16-bit length) - for ($i = 0; $i < $nm; ++$i) { - - // number of characters in the Unicode string - $numChars = self::_GetInt2d($recordData, $pos); - $pos += 2; - - // option flags - $optionFlags = ord($recordData{$pos}); - ++$pos; - - // bit: 0; mask: 0x01; 0 = compressed; 1 = uncompressed - $isCompressed = (($optionFlags & 0x01) == 0) ; - - // bit: 2; mask: 0x02; 0 = ordinary; 1 = Asian phonetic - $hasAsian = (($optionFlags & 0x04) != 0); - - // bit: 3; mask: 0x03; 0 = ordinary; 1 = Rich-Text - $hasRichText = (($optionFlags & 0x08) != 0); - - if ($hasRichText) { - // number of Rich-Text formatting runs - $formattingRuns = self::_GetInt2d($recordData, $pos); - $pos += 2; - } - - if ($hasAsian) { - // size of Asian phonetic setting - $extendedRunLength = self::_GetInt4d($recordData, $pos); - $pos += 4; - } - - // expected byte length of character array if not split - $len = ($isCompressed) ? $numChars : $numChars * 2; - - // look up limit position - foreach ($spliceOffsets as $spliceOffset) { - // it can happen that the string is empty, therefore we need - // <= and not just < - if ($pos <= $spliceOffset) { - $limitpos = $spliceOffset; - break; - } - } - - if ($pos + $len <= $limitpos) { - // character array is not split between records - - $retstr = substr($recordData, $pos, $len); - $pos += $len; - - } else { - // character array is split between records - - // first part of character array - $retstr = substr($recordData, $pos, $limitpos - $pos); - - $bytesRead = $limitpos - $pos; - - // remaining characters in Unicode string - $charsLeft = $numChars - (($isCompressed) ? $bytesRead : ($bytesRead / 2)); - - $pos = $limitpos; - - // keep reading the characters - while ($charsLeft > 0) { - - // look up next limit position, in case the string span more than one continue record - foreach ($spliceOffsets as $spliceOffset) { - if ($pos < $spliceOffset) { - $limitpos = $spliceOffset; - break; - } - } - - // repeated option flags - // OpenOffice.org documentation 5.21 - $option = ord($recordData{$pos}); - ++$pos; - - if ($isCompressed && ($option == 0)) { - // 1st fragment compressed - // this fragment compressed - $len = min($charsLeft, $limitpos - $pos); - $retstr .= substr($recordData, $pos, $len); - $charsLeft -= $len; - $isCompressed = true; - - } elseif (!$isCompressed && ($option != 0)) { - // 1st fragment uncompressed - // this fragment uncompressed - $len = min($charsLeft * 2, $limitpos - $pos); - $retstr .= substr($recordData, $pos, $len); - $charsLeft -= $len / 2; - $isCompressed = false; - - } elseif (!$isCompressed && ($option == 0)) { - // 1st fragment uncompressed - // this fragment compressed - $len = min($charsLeft, $limitpos - $pos); - for ($j = 0; $j < $len; ++$j) { - $retstr .= $recordData{$pos + $j} . chr(0); - } - $charsLeft -= $len; - $isCompressed = false; - - } else { - // 1st fragment compressed - // this fragment uncompressed - $newstr = ''; - for ($j = 0; $j < strlen($retstr); ++$j) { - $newstr .= $retstr[$j] . chr(0); - } - $retstr = $newstr; - $len = min($charsLeft * 2, $limitpos - $pos); - $retstr .= substr($recordData, $pos, $len); - $charsLeft -= $len / 2; - $isCompressed = false; - } - - $pos += $len; - } - } - - // convert to UTF-8 - $retstr = self::_encodeUTF16($retstr, $isCompressed); - - // read additional Rich-Text information, if any - $fmtRuns = array(); - if ($hasRichText) { - // list of formatting runs - for ($j = 0; $j < $formattingRuns; ++$j) { - // first formatted character; zero-based - $charPos = self::_GetInt2d($recordData, $pos + $j * 4); - - // index to font record - $fontIndex = self::_GetInt2d($recordData, $pos + 2 + $j * 4); - - $fmtRuns[] = array( - 'charPos' => $charPos, - 'fontIndex' => $fontIndex, - ); - } - $pos += 4 * $formattingRuns; - } - - // read additional Asian phonetics information, if any - if ($hasAsian) { - // For Asian phonetic settings, we skip the extended string data - $pos += $extendedRunLength; - } - - // store the shared sting - $this->_sst[] = array( - 'value' => $retstr, - 'fmtRuns' => $fmtRuns, - ); - } - - // _getSplicedRecordData() takes care of moving current position in data stream - } - - - /** - * Read PRINTGRIDLINES record - */ - private function _readPrintGridlines() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - // offset: 0; size: 2; 0 = do not print sheet grid lines; 1 = print sheet gridlines - $printGridlines = (bool) self::_GetInt2d($recordData, 0); - $this->_phpSheet->setPrintGridlines($printGridlines); - } - } - - - /** - * Read DEFAULTROWHEIGHT record - */ - private function _readDefaultRowHeight() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; option flags - // offset: 2; size: 2; default height for unused rows, (twips 1/20 point) - $height = self::_GetInt2d($recordData, 2); - $this->_phpSheet->getDefaultRowDimension()->setRowHeight($height / 20); - } - - - /** - * Read SHEETPR record - */ - private function _readSheetPr() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2 - - // bit: 6; mask: 0x0040; 0 = outline buttons above outline group - $isSummaryBelow = (0x0040 & self::_GetInt2d($recordData, 0)) >> 6; - $this->_phpSheet->setShowSummaryBelow($isSummaryBelow); - - // bit: 7; mask: 0x0080; 0 = outline buttons left of outline group - $isSummaryRight = (0x0080 & self::_GetInt2d($recordData, 0)) >> 7; - $this->_phpSheet->setShowSummaryRight($isSummaryRight); - - // bit: 8; mask: 0x100; 0 = scale printout in percent, 1 = fit printout to number of pages - // this corresponds to radio button setting in page setup dialog in Excel - $this->_isFitToPages = (bool) ((0x0100 & self::_GetInt2d($recordData, 0)) >> 8); - } - - - /** - * Read HORIZONTALPAGEBREAKS record - */ - private function _readHorizontalPageBreaks() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - - // offset: 0; size: 2; number of the following row index structures - $nm = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 6 * $nm; list of $nm row index structures - for ($i = 0; $i < $nm; ++$i) { - $r = self::_GetInt2d($recordData, 2 + 6 * $i); - $cf = self::_GetInt2d($recordData, 2 + 6 * $i + 2); - $cl = self::_GetInt2d($recordData, 2 + 6 * $i + 4); - - // not sure why two column indexes are necessary? - $this->_phpSheet->setBreakByColumnAndRow($cf, $r, PHPExcel_Worksheet::BREAK_ROW); - } - } - } - - - /** - * Read VERTICALPAGEBREAKS record - */ - private function _readVerticalPageBreaks() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - // offset: 0; size: 2; number of the following column index structures - $nm = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 6 * $nm; list of $nm row index structures - for ($i = 0; $i < $nm; ++$i) { - $c = self::_GetInt2d($recordData, 2 + 6 * $i); - $rf = self::_GetInt2d($recordData, 2 + 6 * $i + 2); - $rl = self::_GetInt2d($recordData, 2 + 6 * $i + 4); - - // not sure why two row indexes are necessary? - $this->_phpSheet->setBreakByColumnAndRow($c, $rf, PHPExcel_Worksheet::BREAK_COLUMN); - } - } - } - - - /** - * Read HEADER record - */ - private function _readHeader() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: var - // realized that $recordData can be empty even when record exists - if ($recordData) { - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong($recordData); - } else { - $string = $this->_readByteStringShort($recordData); - } - - $this->_phpSheet->getHeaderFooter()->setOddHeader($string['value']); - $this->_phpSheet->getHeaderFooter()->setEvenHeader($string['value']); - } - } - } - - - /** - * Read FOOTER record - */ - private function _readFooter() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: var - // realized that $recordData can be empty even when record exists - if ($recordData) { - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong($recordData); - } else { - $string = $this->_readByteStringShort($recordData); - } - $this->_phpSheet->getHeaderFooter()->setOddFooter($string['value']); - $this->_phpSheet->getHeaderFooter()->setEvenFooter($string['value']); - } - } - } - - - /** - * Read HCENTER record - */ - private function _readHcenter() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 0 = print sheet left aligned, 1 = print sheet centered horizontally - $isHorizontalCentered = (bool) self::_GetInt2d($recordData, 0); - - $this->_phpSheet->getPageSetup()->setHorizontalCentered($isHorizontalCentered); - } - } - - - /** - * Read VCENTER record - */ - private function _readVcenter() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 0 = print sheet aligned at top page border, 1 = print sheet vertically centered - $isVerticalCentered = (bool) self::_GetInt2d($recordData, 0); - - $this->_phpSheet->getPageSetup()->setVerticalCentered($isVerticalCentered); - } - } - - - /** - * Read LEFTMARGIN record - */ - private function _readLeftMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setLeft(self::_extractNumber($recordData)); - } - } - - - /** - * Read RIGHTMARGIN record - */ - private function _readRightMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setRight(self::_extractNumber($recordData)); - } - } - - - /** - * Read TOPMARGIN record - */ - private function _readTopMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setTop(self::_extractNumber($recordData)); - } - } - - - /** - * Read BOTTOMMARGIN record - */ - private function _readBottomMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setBottom(self::_extractNumber($recordData)); - } - } - - - /** - * Read PAGESETUP record - */ - private function _readPageSetup() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; paper size - $paperSize = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; scaling factor - $scale = self::_GetInt2d($recordData, 2); - - // offset: 6; size: 2; fit worksheet width to this number of pages, 0 = use as many as needed - $fitToWidth = self::_GetInt2d($recordData, 6); - - // offset: 8; size: 2; fit worksheet height to this number of pages, 0 = use as many as needed - $fitToHeight = self::_GetInt2d($recordData, 8); - - // offset: 10; size: 2; option flags - - // bit: 1; mask: 0x0002; 0=landscape, 1=portrait - $isPortrait = (0x0002 & self::_GetInt2d($recordData, 10)) >> 1; - - // bit: 2; mask: 0x0004; 1= paper size, scaling factor, paper orient. not init - // when this bit is set, do not use flags for those properties - $isNotInit = (0x0004 & self::_GetInt2d($recordData, 10)) >> 2; - - if (!$isNotInit) { - $this->_phpSheet->getPageSetup()->setPaperSize($paperSize); - switch ($isPortrait) { - case 0: $this->_phpSheet->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE); break; - case 1: $this->_phpSheet->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT); break; - } - - $this->_phpSheet->getPageSetup()->setScale($scale, false); - $this->_phpSheet->getPageSetup()->setFitToPage((bool) $this->_isFitToPages); - $this->_phpSheet->getPageSetup()->setFitToWidth($fitToWidth, false); - $this->_phpSheet->getPageSetup()->setFitToHeight($fitToHeight, false); - } - - // offset: 16; size: 8; header margin (IEEE 754 floating-point value) - $marginHeader = self::_extractNumber(substr($recordData, 16, 8)); - $this->_phpSheet->getPageMargins()->setHeader($marginHeader); - - // offset: 24; size: 8; footer margin (IEEE 754 floating-point value) - $marginFooter = self::_extractNumber(substr($recordData, 24, 8)); - $this->_phpSheet->getPageMargins()->setFooter($marginFooter); - } - } - - - /** - * PROTECT - Sheet protection (BIFF2 through BIFF8) - * if this record is omitted, then it also means no sheet protection - */ - private function _readProtect() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; - - // bit 0, mask 0x01; 1 = sheet is protected - $bool = (0x01 & self::_GetInt2d($recordData, 0)) >> 0; - $this->_phpSheet->getProtection()->setSheet((bool)$bool); - } - - - /** - * SCENPROTECT - */ - private function _readScenProtect() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; - - // bit: 0, mask 0x01; 1 = scenarios are protected - $bool = (0x01 & self::_GetInt2d($recordData, 0)) >> 0; - - $this->_phpSheet->getProtection()->setScenarios((bool)$bool); - } - - - /** - * OBJECTPROTECT - */ - private function _readObjectProtect() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; - - // bit: 0, mask 0x01; 1 = objects are protected - $bool = (0x01 & self::_GetInt2d($recordData, 0)) >> 0; - - $this->_phpSheet->getProtection()->setObjects((bool)$bool); - } - - - /** - * PASSWORD - Sheet protection (hashed) password (BIFF2 through BIFF8) - */ - private function _readPassword() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 16-bit hash value of password - $password = strtoupper(dechex(self::_GetInt2d($recordData, 0))); // the hashed password - $this->_phpSheet->getProtection()->setPassword($password, true); - } - } - - - /** - * Read DEFCOLWIDTH record - */ - private function _readDefColWidth() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; default column width - $width = self::_GetInt2d($recordData, 0); - if ($width != 8) { - $this->_phpSheet->getDefaultColumnDimension()->setWidth($width); - } - } - - - /** - * Read COLINFO record - */ - private function _readColInfo() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; index to first column in range - $fc = self::_GetInt2d($recordData, 0); // first column index - - // offset: 2; size: 2; index to last column in range - $lc = self::_GetInt2d($recordData, 2); // first column index - - // offset: 4; size: 2; width of the column in 1/256 of the width of the zero character - $width = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 2; index to XF record for default column formatting - $xfIndex = self::_GetInt2d($recordData, 6); - - // offset: 8; size: 2; option flags - - // bit: 0; mask: 0x0001; 1= columns are hidden - $isHidden = (0x0001 & self::_GetInt2d($recordData, 8)) >> 0; - - // bit: 10-8; mask: 0x0700; outline level of the columns (0 = no outline) - $level = (0x0700 & self::_GetInt2d($recordData, 8)) >> 8; - - // bit: 12; mask: 0x1000; 1 = collapsed - $isCollapsed = (0x1000 & self::_GetInt2d($recordData, 8)) >> 12; - - // offset: 10; size: 2; not used - - for ($i = $fc; $i <= $lc; ++$i) { - if ($lc == 255 || $lc == 256) { - $this->_phpSheet->getDefaultColumnDimension()->setWidth($width / 256); - break; - } - $this->_phpSheet->getColumnDimensionByColumn($i)->setWidth($width / 256); - $this->_phpSheet->getColumnDimensionByColumn($i)->setVisible(!$isHidden); - $this->_phpSheet->getColumnDimensionByColumn($i)->setOutlineLevel($level); - $this->_phpSheet->getColumnDimensionByColumn($i)->setCollapsed($isCollapsed); - $this->_phpSheet->getColumnDimensionByColumn($i)->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * ROW - * - * This record contains the properties of a single row in a - * sheet. Rows and cells in a sheet are divided into blocks - * of 32 rows. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readRow() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; index of this row - $r = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column of the first cell which is described by a cell record - - // offset: 4; size: 2; index to column of the last cell which is described by a cell record, increased by 1 - - // offset: 6; size: 2; - - // bit: 14-0; mask: 0x7FFF; height of the row, in twips = 1/20 of a point - $height = (0x7FFF & self::_GetInt2d($recordData, 6)) >> 0; - - // bit: 15: mask: 0x8000; 0 = row has custom height; 1= row has default height - $useDefaultHeight = (0x8000 & self::_GetInt2d($recordData, 6)) >> 15; - - if (!$useDefaultHeight) { - $this->_phpSheet->getRowDimension($r + 1)->setRowHeight($height / 20); - } - - // offset: 8; size: 2; not used - - // offset: 10; size: 2; not used in BIFF5-BIFF8 - - // offset: 12; size: 4; option flags and default row formatting - - // bit: 2-0: mask: 0x00000007; outline level of the row - $level = (0x00000007 & self::_GetInt4d($recordData, 12)) >> 0; - $this->_phpSheet->getRowDimension($r + 1)->setOutlineLevel($level); - - // bit: 4; mask: 0x00000010; 1 = outline group start or ends here... and is collapsed - $isCollapsed = (0x00000010 & self::_GetInt4d($recordData, 12)) >> 4; - $this->_phpSheet->getRowDimension($r + 1)->setCollapsed($isCollapsed); - - // bit: 5; mask: 0x00000020; 1 = row is hidden - $isHidden = (0x00000020 & self::_GetInt4d($recordData, 12)) >> 5; - $this->_phpSheet->getRowDimension($r + 1)->setVisible(!$isHidden); - - // bit: 7; mask: 0x00000080; 1 = row has explicit format - $hasExplicitFormat = (0x00000080 & self::_GetInt4d($recordData, 12)) >> 7; - - // bit: 27-16; mask: 0x0FFF0000; only applies when hasExplicitFormat = 1; index to XF record - $xfIndex = (0x0FFF0000 & self::_GetInt4d($recordData, 12)) >> 16; - - if ($hasExplicitFormat) { - $this->_phpSheet->getRowDimension($r + 1)->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read RK record - * This record represents a cell that contains an RK value - * (encoded integer or floating-point value). If a - * floating-point value cannot be encoded to an RK value, - * a NUMBER record will be written. This record replaces the - * record INTEGER written in BIFF2. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readRk() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 4; RK value - $rknum = self::_GetInt4d($recordData, 6); - $numValue = self::_GetIEEE754($rknum); - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add style information - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // add cell - $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC); - } - } - - - /** - * Read LABELSST record - * This record represents a cell that contains a string. It - * replaces the LABEL record and RSTRING record used in - * BIFF2-BIFF5. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readLabelSst() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 4; index to SST record - $index = self::_GetInt4d($recordData, 6); - - // add cell - if (($fmtRuns = $this->_sst[$index]['fmtRuns']) && !$this->_readDataOnly) { - // then we should treat as rich text - $richText = new PHPExcel_RichText(); - $charPos = 0; - $sstCount = count($this->_sst[$index]['fmtRuns']); - for ($i = 0; $i <= $sstCount; ++$i) { - if (isset($fmtRuns[$i])) { - $text = PHPExcel_Shared_String::Substring($this->_sst[$index]['value'], $charPos, $fmtRuns[$i]['charPos'] - $charPos); - $charPos = $fmtRuns[$i]['charPos']; - } else { - $text = PHPExcel_Shared_String::Substring($this->_sst[$index]['value'], $charPos, PHPExcel_Shared_String::CountCharacters($this->_sst[$index]['value'])); - } - - if (PHPExcel_Shared_String::CountCharacters($text) > 0) { - if ($i == 0) { // first text run, no style - $richText->createText($text); - } else { - $textRun = $richText->createTextRun($text); - if (isset($fmtRuns[$i - 1])) { - if ($fmtRuns[$i - 1]['fontIndex'] < 4) { - $fontIndex = $fmtRuns[$i - 1]['fontIndex']; - } else { - // this has to do with that index 4 is omitted in all BIFF versions for some strange reason - // check the OpenOffice documentation of the FONT record - $fontIndex = $fmtRuns[$i - 1]['fontIndex'] - 1; - } - $textRun->setFont(clone $this->_objFonts[$fontIndex]); - } - } - } - } - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - $cell->setValueExplicit($richText, PHPExcel_Cell_DataType::TYPE_STRING); - } else { - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - $cell->setValueExplicit($this->_sst[$index]['value'], PHPExcel_Cell_DataType::TYPE_STRING); - } - - if (!$this->_readDataOnly) { - // add style information - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read MULRK record - * This record represents a cell range containing RK value - * cells. All cells are located in the same row. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readMulRk() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to first column - $colFirst = self::_GetInt2d($recordData, 2); - - // offset: var; size: 2; index to last column - $colLast = self::_GetInt2d($recordData, $length - 2); - $columns = $colLast - $colFirst + 1; - - // offset within record data - $offset = 4; - - for ($i = 0; $i < $columns; ++$i) { - $columnString = PHPExcel_Cell::stringFromColumnIndex($colFirst + $i); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - - // offset: var; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, $offset); - - // offset: var; size: 4; RK value - $numValue = self::_GetIEEE754(self::_GetInt4d($recordData, $offset + 2)); - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // add cell value - $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC); - } - - $offset += 6; - } - } - - - /** - * Read NUMBER record - * This record represents a cell that contains a - * floating-point value. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readNumber() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - $numValue = self::_extractNumber(substr($recordData, 6, 8)); - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // add cell value - $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC); - } - } - - - /** - * Read FORMULA record + perhaps a following STRING record if formula result is a string - * This record contains the token array and the result of a - * formula cell. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readFormula() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; row index - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; col index - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // offset: 20: size: variable; formula structure - $formulaStructure = substr($recordData, 20); - - // offset: 14: size: 2; option flags, recalculate always, recalculate on open etc. - $options = self::_GetInt2d($recordData, 14); - - // bit: 0; mask: 0x0001; 1 = recalculate always - // bit: 1; mask: 0x0002; 1 = calculate on open - // bit: 2; mask: 0x0008; 1 = part of a shared formula - $isPartOfSharedFormula = (bool) (0x0008 & $options); - - // WARNING: - // We can apparently not rely on $isPartOfSharedFormula. Even when $isPartOfSharedFormula = true - // the formula data may be ordinary formula data, therefore we need to check - // explicitly for the tExp token (0x01) - $isPartOfSharedFormula = $isPartOfSharedFormula && ord($formulaStructure{2}) == 0x01; - - if ($isPartOfSharedFormula) { - // part of shared formula which means there will be a formula with a tExp token and nothing else - // get the base cell, grab tExp token - $baseRow = self::_GetInt2d($formulaStructure, 3); - $baseCol = self::_GetInt2d($formulaStructure, 5); - $this->_baseCell = PHPExcel_Cell::stringFromColumnIndex($baseCol). ($baseRow + 1); - } - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - - if ($isPartOfSharedFormula) { - // formula is added to this cell after the sheet has been read - $this->_sharedFormulaParts[$columnString . ($row + 1)] = $this->_baseCell; - } - - // offset: 16: size: 4; not used - - // offset: 4; size: 2; XF index - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 8; result of the formula - if ( (ord($recordData{6}) == 0) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255) ) { - - // String formula. Result follows in appended STRING record - $dataType = PHPExcel_Cell_DataType::TYPE_STRING; - - // read possible SHAREDFMLA record - $code = self::_GetInt2d($this->_data, $this->_pos); - if ($code == self::XLS_Type_SHAREDFMLA) { - $this->_readSharedFmla(); - } - - // read STRING record - $value = $this->_readString(); - - } elseif ((ord($recordData{6}) == 1) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255)) { - - // Boolean formula. Result is in +2; 0=false, 1=true - $dataType = PHPExcel_Cell_DataType::TYPE_BOOL; - $value = (bool) ord($recordData{8}); - - } elseif ((ord($recordData{6}) == 2) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255)) { - - // Error formula. Error code is in +2 - $dataType = PHPExcel_Cell_DataType::TYPE_ERROR; - $value = self::_mapErrorCode(ord($recordData{8})); - - } elseif ((ord($recordData{6}) == 3) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255)) { - - // Formula result is a null string - $dataType = PHPExcel_Cell_DataType::TYPE_NULL; - $value = ''; - - } else { - - // forumla result is a number, first 14 bytes like _NUMBER record - $dataType = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $value = self::_extractNumber(substr($recordData, 6, 8)); - - } - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // store the formula - if (!$isPartOfSharedFormula) { - // not part of shared formula - // add cell value. If we can read formula, populate with formula, otherwise just used cached value - try { - if ($this->_version != self::XLS_BIFF8) { - throw new PHPExcel_Reader_Exception('Not BIFF8. Can only read BIFF8 formulas'); - } - $formula = $this->_getFormulaFromStructure($formulaStructure); // get formula in human language - $cell->setValueExplicit('=' . $formula, PHPExcel_Cell_DataType::TYPE_FORMULA); - - } catch (PHPExcel_Exception $e) { - $cell->setValueExplicit($value, $dataType); - } - } else { - if ($this->_version == self::XLS_BIFF8) { - // do nothing at this point, formula id added later in the code - } else { - $cell->setValueExplicit($value, $dataType); - } - } - - // store the cached calculated value - $cell->setCalculatedValue($value); - } - } - - - /** - * Read a SHAREDFMLA record. This function just stores the binary shared formula in the reader, - * which usually contains relative references. - * These will be used to construct the formula in each shared formula part after the sheet is read. - */ - private function _readSharedFmla() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0, size: 6; cell range address of the area used by the shared formula, not used for anything - $cellRange = substr($recordData, 0, 6); - $cellRange = $this->_readBIFF5CellRangeAddressFixed($cellRange); // note: even BIFF8 uses BIFF5 syntax - - // offset: 6, size: 1; not used - - // offset: 7, size: 1; number of existing FORMULA records for this shared formula - $no = ord($recordData{7}); - - // offset: 8, size: var; Binary token array of the shared formula - $formula = substr($recordData, 8); - - // at this point we only store the shared formula for later use - $this->_sharedFormulas[$this->_baseCell] = $formula; - - } - - - /** - * Read a STRING record from current stream position and advance the stream pointer to next record - * This record is used for storing result from FORMULA record when it is a string, and - * it occurs directly after the FORMULA record - * - * @return string The string contents as UTF-8 - */ - private function _readString() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong($recordData); - $value = $string['value']; - } else { - $string = $this->_readByteStringLong($recordData); - $value = $string['value']; - } - - return $value; - } - - - /** - * Read BOOLERR record - * This record represents a Boolean value or error value - * cell. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readBoolErr() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; row index - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; column index - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 1; the boolean value or error value - $boolErr = ord($recordData{6}); - - // offset: 7; size: 1; 0=boolean; 1=error - $isError = ord($recordData{7}); - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - switch ($isError) { - case 0: // boolean - $value = (bool) $boolErr; - - // add cell value - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_BOOL); - break; - - case 1: // error type - $value = self::_mapErrorCode($boolErr); - - // add cell value - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_ERROR); - break; - } - - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read MULBLANK record - * This record represents a cell range of empty cells. All - * cells are located in the same row - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readMulBlank() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to first column - $fc = self::_GetInt2d($recordData, 2); - - // offset: 4; size: 2 x nc; list of indexes to XF records - // add style information - if (!$this->_readDataOnly) { - for ($i = 0; $i < $length / 2 - 3; ++$i) { - $columnString = PHPExcel_Cell::stringFromColumnIndex($fc + $i); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - $xfIndex = self::_GetInt2d($recordData, 4 + 2 * $i); - $this->_phpSheet->getCell($columnString . ($row + 1))->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - // offset: 6; size 2; index to last column (not needed) - } - - - /** - * Read LABEL record - * This record represents a cell that contains a string. In - * BIFF8 it is usually replaced by the LABELSST record. - * Excel still uses this record, if it copies unformatted - * text cells to the clipboard. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readLabel() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; XF index - $xfIndex = self::_GetInt2d($recordData, 4); - - // add cell value - // todo: what if string is very long? continue record - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong(substr($recordData, 6)); - $value = $string['value']; - } else { - $string = $this->_readByteStringLong(substr($recordData, 6)); - $value = $string['value']; - } - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_STRING); - - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read BLANK record - */ - private function _readBlank() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; row index - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; col index - $col = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($col); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; XF index - $xfIndex = self::_GetInt2d($recordData, 4); - - // add style information - if (!$this->_readDataOnly) { - $this->_phpSheet->getCell($columnString . ($row + 1))->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - - } - - - /** - * Read MSODRAWING record - */ - private function _readMsoDrawing() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - $recordData = $splicedRecordData['recordData']; - - $this->_drawingData .= $recordData; - } - - - /** - * Read OBJ record - */ - private function _readObj() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly || $this->_version != self::XLS_BIFF8) { - return; - } - - // recordData consists of an array of subrecords looking like this: - // ft: 2 bytes; ftCmo type (0x15) - // cb: 2 bytes; size in bytes of ftCmo data - // ot: 2 bytes; Object Type - // id: 2 bytes; Object id number - // grbit: 2 bytes; Option Flags - // data: var; subrecord data - - // for now, we are just interested in the second subrecord containing the object type - $ftCmoType = self::_GetInt2d($recordData, 0); - $cbCmoSize = self::_GetInt2d($recordData, 2); - $otObjType = self::_GetInt2d($recordData, 4); - $idObjID = self::_GetInt2d($recordData, 6); - $grbitOpts = self::_GetInt2d($recordData, 6); - - $this->_objs[] = array( - 'ftCmoType' => $ftCmoType, - 'cbCmoSize' => $cbCmoSize, - 'otObjType' => $otObjType, - 'idObjID' => $idObjID, - 'grbitOpts' => $grbitOpts - ); - $this->textObjRef = $idObjID; - -// echo '_readObj()
'; -// var_dump(end($this->_objs)); -// echo '
'; - } - - - /** - * Read WINDOW2 record - */ - private function _readWindow2() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; option flags - $options = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to first visible row - $firstVisibleRow = self::_GetInt2d($recordData, 2); - - // offset: 4; size: 2; index to first visible colum - $firstVisibleColumn = self::_GetInt2d($recordData, 4); - if ($this->_version === self::XLS_BIFF8) { - // offset: 8; size: 2; not used - // offset: 10; size: 2; cached magnification factor in page break preview (in percent); 0 = Default (60%) - // offset: 12; size: 2; cached magnification factor in normal view (in percent); 0 = Default (100%) - // offset: 14; size: 4; not used - $zoomscaleInPageBreakPreview = self::_GetInt2d($recordData, 10); - if ($zoomscaleInPageBreakPreview === 0) $zoomscaleInPageBreakPreview = 60; - $zoomscaleInNormalView = self::_GetInt2d($recordData, 12); - if ($zoomscaleInNormalView === 0) $zoomscaleInNormalView = 100; - } - - // bit: 1; mask: 0x0002; 0 = do not show gridlines, 1 = show gridlines - $showGridlines = (bool) ((0x0002 & $options) >> 1); - $this->_phpSheet->setShowGridlines($showGridlines); - - // bit: 2; mask: 0x0004; 0 = do not show headers, 1 = show headers - $showRowColHeaders = (bool) ((0x0004 & $options) >> 2); - $this->_phpSheet->setShowRowColHeaders($showRowColHeaders); - - // bit: 3; mask: 0x0008; 0 = panes are not frozen, 1 = panes are frozen - $this->_frozen = (bool) ((0x0008 & $options) >> 3); - - // bit: 6; mask: 0x0040; 0 = columns from left to right, 1 = columns from right to left - $this->_phpSheet->setRightToLeft((bool)((0x0040 & $options) >> 6)); - - // bit: 10; mask: 0x0400; 0 = sheet not active, 1 = sheet active - $isActive = (bool) ((0x0400 & $options) >> 10); - if ($isActive) { - $this->_phpExcel->setActiveSheetIndex($this->_phpExcel->getIndex($this->_phpSheet)); - } - - // bit: 11; mask: 0x0800; 0 = normal view, 1 = page break view - $isPageBreakPreview = (bool) ((0x0800 & $options) >> 11); - - //FIXME: set $firstVisibleRow and $firstVisibleColumn - - if ($this->_phpSheet->getSheetView()->getView() !== PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT) { - //NOTE: this setting is inferior to page layout view(Excel2007-) - $view = $isPageBreakPreview? PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_BREAK_PREVIEW : - PHPExcel_Worksheet_SheetView::SHEETVIEW_NORMAL; - $this->_phpSheet->getSheetView()->setView($view); - if ($this->_version === self::XLS_BIFF8) { - $zoomScale = $isPageBreakPreview? $zoomscaleInPageBreakPreview : $zoomscaleInNormalView; - $this->_phpSheet->getSheetView()->setZoomScale($zoomScale); - $this->_phpSheet->getSheetView()->setZoomScaleNormal($zoomscaleInNormalView); - } - } - } - - /** - * Read PLV Record(Created by Excel2007 or upper) - */ - private function _readPageLayoutView(){ - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - //var_dump(unpack("vrt/vgrbitFrt/V2reserved/vwScalePLV/vgrbit", $recordData)); - - // offset: 0; size: 2; rt - //->ignore - $rt = self::_GetInt2d($recordData, 0); - // offset: 2; size: 2; grbitfr - //->ignore - $grbitFrt = self::_GetInt2d($recordData, 2); - // offset: 4; size: 8; reserved - //->ignore - - // offset: 12; size 2; zoom scale - $wScalePLV = self::_GetInt2d($recordData, 12); - // offset: 14; size 2; grbit - $grbit = self::_GetInt2d($recordData, 14); - - // decomprise grbit - $fPageLayoutView = $grbit & 0x01; - $fRulerVisible = ($grbit >> 1) & 0x01; //no support - $fWhitespaceHidden = ($grbit >> 3) & 0x01; //no support - - if ($fPageLayoutView === 1) { - $this->_phpSheet->getSheetView()->setView(PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT); - $this->_phpSheet->getSheetView()->setZoomScale($wScalePLV); //set by Excel2007 only if SHEETVIEW_PAGE_LAYOUT - } - //otherwise, we cannot know whether SHEETVIEW_PAGE_LAYOUT or SHEETVIEW_PAGE_BREAK_PREVIEW. - } - - /** - * Read SCL record - */ - private function _readScl() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; numerator of the view magnification - $numerator = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; numerator of the view magnification - $denumerator = self::_GetInt2d($recordData, 2); - - // set the zoom scale (in percent) - $this->_phpSheet->getSheetView()->setZoomScale($numerator * 100 / $denumerator); - } - - - /** - * Read PANE record - */ - private function _readPane() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; position of vertical split - $px = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; position of horizontal split - $py = self::_GetInt2d($recordData, 2); - - if ($this->_frozen) { - // frozen panes - $this->_phpSheet->freezePane(PHPExcel_Cell::stringFromColumnIndex($px) . ($py + 1)); - } else { - // unfrozen panes; split windows; not supported by PHPExcel core - } - } - } - - - /** - * Read SELECTION record. There is one such record for each pane in the sheet. - */ - private function _readSelection() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 1; pane identifier - $paneId = ord($recordData{0}); - - // offset: 1; size: 2; index to row of the active cell - $r = self::_GetInt2d($recordData, 1); - - // offset: 3; size: 2; index to column of the active cell - $c = self::_GetInt2d($recordData, 3); - - // offset: 5; size: 2; index into the following cell range list to the - // entry that contains the active cell - $index = self::_GetInt2d($recordData, 5); - - // offset: 7; size: var; cell range address list containing all selected cell ranges - $data = substr($recordData, 7); - $cellRangeAddressList = $this->_readBIFF5CellRangeAddressList($data); // note: also BIFF8 uses BIFF5 syntax - - $selectedCells = $cellRangeAddressList['cellRangeAddresses'][0]; - - // first row '1' + last row '16384' indicates that full column is selected (apparently also in BIFF8!) - if (preg_match('/^([A-Z]+1\:[A-Z]+)16384$/', $selectedCells)) { - $selectedCells = preg_replace('/^([A-Z]+1\:[A-Z]+)16384$/', '${1}1048576', $selectedCells); - } - - // first row '1' + last row '65536' indicates that full column is selected - if (preg_match('/^([A-Z]+1\:[A-Z]+)65536$/', $selectedCells)) { - $selectedCells = preg_replace('/^([A-Z]+1\:[A-Z]+)65536$/', '${1}1048576', $selectedCells); - } - - // first column 'A' + last column 'IV' indicates that full row is selected - if (preg_match('/^(A[0-9]+\:)IV([0-9]+)$/', $selectedCells)) { - $selectedCells = preg_replace('/^(A[0-9]+\:)IV([0-9]+)$/', '${1}XFD${2}', $selectedCells); - } - - $this->_phpSheet->setSelectedCells($selectedCells); - } - } - - - private function _includeCellRangeFiltered($cellRangeAddress) - { - $includeCellRange = true; - if ($this->getReadFilter() !== NULL) { - $includeCellRange = false; - $rangeBoundaries = PHPExcel_Cell::getRangeBoundaries($cellRangeAddress); - $rangeBoundaries[1][0]++; - for ($row = $rangeBoundaries[0][1]; $row <= $rangeBoundaries[1][1]; $row++) { - for ($column = $rangeBoundaries[0][0]; $column != $rangeBoundaries[1][0]; $column++) { - if ($this->getReadFilter()->readCell($column, $row, $this->_phpSheet->getTitle())) { - $includeCellRange = true; - break 2; - } - } - } - } - return $includeCellRange; - } - - - /** - * MERGEDCELLS - * - * This record contains the addresses of merged cell ranges - * in the current sheet. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readMergedCells() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - $cellRangeAddressList = $this->_readBIFF8CellRangeAddressList($recordData); - foreach ($cellRangeAddressList['cellRangeAddresses'] as $cellRangeAddress) { - if ((strpos($cellRangeAddress,':') !== FALSE) && - ($this->_includeCellRangeFiltered($cellRangeAddress))) { - $this->_phpSheet->mergeCells($cellRangeAddress); - } - } - } - } - - - /** - * Read HYPERLINK record - */ - private function _readHyperLink() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer forward to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8; cell range address of all cells containing this hyperlink - try { - $cellRange = $this->_readBIFF8CellRangeAddressFixed($recordData, 0, 8); - } catch (PHPExcel_Exception $e) { - return; - } - - // offset: 8, size: 16; GUID of StdLink - - // offset: 24, size: 4; unknown value - - // offset: 28, size: 4; option flags - - // bit: 0; mask: 0x00000001; 0 = no link or extant, 1 = file link or URL - $isFileLinkOrUrl = (0x00000001 & self::_GetInt2d($recordData, 28)) >> 0; - - // bit: 1; mask: 0x00000002; 0 = relative path, 1 = absolute path or URL - $isAbsPathOrUrl = (0x00000001 & self::_GetInt2d($recordData, 28)) >> 1; - - // bit: 2 (and 4); mask: 0x00000014; 0 = no description - $hasDesc = (0x00000014 & self::_GetInt2d($recordData, 28)) >> 2; - - // bit: 3; mask: 0x00000008; 0 = no text, 1 = has text - $hasText = (0x00000008 & self::_GetInt2d($recordData, 28)) >> 3; - - // bit: 7; mask: 0x00000080; 0 = no target frame, 1 = has target frame - $hasFrame = (0x00000080 & self::_GetInt2d($recordData, 28)) >> 7; - - // bit: 8; mask: 0x00000100; 0 = file link or URL, 1 = UNC path (inc. server name) - $isUNC = (0x00000100 & self::_GetInt2d($recordData, 28)) >> 8; - - // offset within record data - $offset = 32; - - if ($hasDesc) { - // offset: 32; size: var; character count of description text - $dl = self::_GetInt4d($recordData, 32); - // offset: 36; size: var; character array of description text, no Unicode string header, always 16-bit characters, zero terminated - $desc = self::_encodeUTF16(substr($recordData, 36, 2 * ($dl - 1)), false); - $offset += 4 + 2 * $dl; - } - if ($hasFrame) { - $fl = self::_GetInt4d($recordData, $offset); - $offset += 4 + 2 * $fl; - } - - // detect type of hyperlink (there are 4 types) - $hyperlinkType = null; - - if ($isUNC) { - $hyperlinkType = 'UNC'; - } else if (!$isFileLinkOrUrl) { - $hyperlinkType = 'workbook'; - } else if (ord($recordData{$offset}) == 0x03) { - $hyperlinkType = 'local'; - } else if (ord($recordData{$offset}) == 0xE0) { - $hyperlinkType = 'URL'; - } - - switch ($hyperlinkType) { - case 'URL': - // section 5.58.2: Hyperlink containing a URL - // e.g. http://example.org/index.php - - // offset: var; size: 16; GUID of URL Moniker - $offset += 16; - // offset: var; size: 4; size (in bytes) of character array of the URL including trailing zero word - $us = self::_GetInt4d($recordData, $offset); - $offset += 4; - // offset: var; size: $us; character array of the URL, no Unicode string header, always 16-bit characters, zero-terminated - $url = self::_encodeUTF16(substr($recordData, $offset, $us - 2), false); - $nullOffset = strpos($url, 0x00); - if ($nullOffset) - $url = substr($url,0,$nullOffset); - $url .= $hasText ? '#' : ''; - $offset += $us; - break; - - case 'local': - // section 5.58.3: Hyperlink to local file - // examples: - // mydoc.txt - // ../../somedoc.xls#Sheet!A1 - - // offset: var; size: 16; GUI of File Moniker - $offset += 16; - - // offset: var; size: 2; directory up-level count. - $upLevelCount = self::_GetInt2d($recordData, $offset); - $offset += 2; - - // offset: var; size: 4; character count of the shortened file path and name, including trailing zero word - $sl = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // offset: var; size: sl; character array of the shortened file path and name in 8.3-DOS-format (compressed Unicode string) - $shortenedFilePath = substr($recordData, $offset, $sl); - $shortenedFilePath = self::_encodeUTF16($shortenedFilePath, true); - $shortenedFilePath = substr($shortenedFilePath, 0, -1); // remove trailing zero - - $offset += $sl; - - // offset: var; size: 24; unknown sequence - $offset += 24; - - // extended file path - // offset: var; size: 4; size of the following file link field including string lenth mark - $sz = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // only present if $sz > 0 - if ($sz > 0) { - // offset: var; size: 4; size of the character array of the extended file path and name - $xl = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // offset: var; size 2; unknown - $offset += 2; - - // offset: var; size $xl; character array of the extended file path and name. - $extendedFilePath = substr($recordData, $offset, $xl); - $extendedFilePath = self::_encodeUTF16($extendedFilePath, false); - $offset += $xl; - } - - // construct the path - $url = str_repeat('..\\', $upLevelCount); - $url .= ($sz > 0) ? - $extendedFilePath : $shortenedFilePath; // use extended path if available - $url .= $hasText ? '#' : ''; - - break; - - - case 'UNC': - // section 5.58.4: Hyperlink to a File with UNC (Universal Naming Convention) Path - // todo: implement - return; - - case 'workbook': - // section 5.58.5: Hyperlink to the Current Workbook - // e.g. Sheet2!B1:C2, stored in text mark field - $url = 'sheet://'; - break; - - default: - return; - - } - - if ($hasText) { - // offset: var; size: 4; character count of text mark including trailing zero word - $tl = self::_GetInt4d($recordData, $offset); - $offset += 4; - // offset: var; size: var; character array of the text mark without the # sign, no Unicode header, always 16-bit characters, zero-terminated - $text = self::_encodeUTF16(substr($recordData, $offset, 2 * ($tl - 1)), false); - $url .= $text; - } - - // apply the hyperlink to all the relevant cells - foreach (PHPExcel_Cell::extractAllCellReferencesInRange($cellRange) as $coordinate) { - $this->_phpSheet->getCell($coordinate)->getHyperLink()->setUrl($url); - } - } - } - - - /** - * Read DATAVALIDATIONS record - */ - private function _readDataValidations() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer forward to next record - $this->_pos += 4 + $length; - } - - - /** - * Read DATAVALIDATION record - */ - private function _readDataValidation() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer forward to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 4; Options - $options = self::_GetInt4d($recordData, 0); - - // bit: 0-3; mask: 0x0000000F; type - $type = (0x0000000F & $options) >> 0; - switch ($type) { - case 0x00: $type = PHPExcel_Cell_DataValidation::TYPE_NONE; break; - case 0x01: $type = PHPExcel_Cell_DataValidation::TYPE_WHOLE; break; - case 0x02: $type = PHPExcel_Cell_DataValidation::TYPE_DECIMAL; break; - case 0x03: $type = PHPExcel_Cell_DataValidation::TYPE_LIST; break; - case 0x04: $type = PHPExcel_Cell_DataValidation::TYPE_DATE; break; - case 0x05: $type = PHPExcel_Cell_DataValidation::TYPE_TIME; break; - case 0x06: $type = PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH; break; - case 0x07: $type = PHPExcel_Cell_DataValidation::TYPE_CUSTOM; break; - } - - // bit: 4-6; mask: 0x00000070; error type - $errorStyle = (0x00000070 & $options) >> 4; - switch ($errorStyle) { - case 0x00: $errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP; break; - case 0x01: $errorStyle = PHPExcel_Cell_DataValidation::STYLE_WARNING; break; - case 0x02: $errorStyle = PHPExcel_Cell_DataValidation::STYLE_INFORMATION; break; - } - - // bit: 7; mask: 0x00000080; 1= formula is explicit (only applies to list) - // I have only seen cases where this is 1 - $explicitFormula = (0x00000080 & $options) >> 7; - - // bit: 8; mask: 0x00000100; 1= empty cells allowed - $allowBlank = (0x00000100 & $options) >> 8; - - // bit: 9; mask: 0x00000200; 1= suppress drop down arrow in list type validity - $suppressDropDown = (0x00000200 & $options) >> 9; - - // bit: 18; mask: 0x00040000; 1= show prompt box if cell selected - $showInputMessage = (0x00040000 & $options) >> 18; - - // bit: 19; mask: 0x00080000; 1= show error box if invalid values entered - $showErrorMessage = (0x00080000 & $options) >> 19; - - // bit: 20-23; mask: 0x00F00000; condition operator - $operator = (0x00F00000 & $options) >> 20; - switch ($operator) { - case 0x00: $operator = PHPExcel_Cell_DataValidation::OPERATOR_BETWEEN ; break; - case 0x01: $operator = PHPExcel_Cell_DataValidation::OPERATOR_NOTBETWEEN ; break; - case 0x02: $operator = PHPExcel_Cell_DataValidation::OPERATOR_EQUAL ; break; - case 0x03: $operator = PHPExcel_Cell_DataValidation::OPERATOR_NOTEQUAL ; break; - case 0x04: $operator = PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHAN ; break; - case 0x05: $operator = PHPExcel_Cell_DataValidation::OPERATOR_LESSTHAN ; break; - case 0x06: $operator = PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHANOREQUAL; break; - case 0x07: $operator = PHPExcel_Cell_DataValidation::OPERATOR_LESSTHANOREQUAL ; break; - } - - // offset: 4; size: var; title of the prompt box - $offset = 4; - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $promptTitle = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: var; title of the error box - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $errorTitle = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: var; text of the prompt box - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $prompt = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: var; text of the error box - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $error = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: 2; size of the formula data for the first condition - $sz1 = self::_GetInt2d($recordData, $offset); - $offset += 2; - - // offset: var; size: 2; not used - $offset += 2; - - // offset: var; size: $sz1; formula data for first condition (without size field) - $formula1 = substr($recordData, $offset, $sz1); - $formula1 = pack('v', $sz1) . $formula1; // prepend the length - try { - $formula1 = $this->_getFormulaFromStructure($formula1); - - // in list type validity, null characters are used as item separators - if ($type == PHPExcel_Cell_DataValidation::TYPE_LIST) { - $formula1 = str_replace(chr(0), ',', $formula1); - } - } catch (PHPExcel_Exception $e) { - return; - } - $offset += $sz1; - - // offset: var; size: 2; size of the formula data for the first condition - $sz2 = self::_GetInt2d($recordData, $offset); - $offset += 2; - - // offset: var; size: 2; not used - $offset += 2; - - // offset: var; size: $sz2; formula data for second condition (without size field) - $formula2 = substr($recordData, $offset, $sz2); - $formula2 = pack('v', $sz2) . $formula2; // prepend the length - try { - $formula2 = $this->_getFormulaFromStructure($formula2); - } catch (PHPExcel_Exception $e) { - return; - } - $offset += $sz2; - - // offset: var; size: var; cell range address list with - $cellRangeAddressList = $this->_readBIFF8CellRangeAddressList(substr($recordData, $offset)); - $cellRangeAddresses = $cellRangeAddressList['cellRangeAddresses']; - - foreach ($cellRangeAddresses as $cellRange) { - $stRange = $this->_phpSheet->shrinkRangeToFit($cellRange); - $stRange = PHPExcel_Cell::extractAllCellReferencesInRange($stRange); - foreach ($stRange as $coordinate) { - $objValidation = $this->_phpSheet->getCell($coordinate)->getDataValidation(); - $objValidation->setType($type); - $objValidation->setErrorStyle($errorStyle); - $objValidation->setAllowBlank((bool)$allowBlank); - $objValidation->setShowInputMessage((bool)$showInputMessage); - $objValidation->setShowErrorMessage((bool)$showErrorMessage); - $objValidation->setShowDropDown(!$suppressDropDown); - $objValidation->setOperator($operator); - $objValidation->setErrorTitle($errorTitle); - $objValidation->setError($error); - $objValidation->setPromptTitle($promptTitle); - $objValidation->setPrompt($prompt); - $objValidation->setFormula1($formula1); - $objValidation->setFormula2($formula2); - } - } - - } - - - /** - * Read SHEETLAYOUT record. Stores sheet tab color information. - */ - private function _readSheetLayout() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // local pointer in record data - $offset = 0; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; repeated record identifier 0x0862 - - // offset: 2; size: 10; not used - - // offset: 12; size: 4; size of record data - // Excel 2003 uses size of 0x14 (documented), Excel 2007 uses size of 0x28 (not documented?) - $sz = self::_GetInt4d($recordData, 12); - - switch ($sz) { - case 0x14: - // offset: 16; size: 2; color index for sheet tab - $colorIndex = self::_GetInt2d($recordData, 16); - $color = self::_readColor($colorIndex,$this->_palette,$this->_version); - $this->_phpSheet->getTabColor()->setRGB($color['rgb']); - break; - - case 0x28: - // TODO: Investigate structure for .xls SHEETLAYOUT record as saved by MS Office Excel 2007 - return; - break; - } - } - } - - - /** - * Read SHEETPROTECTION record (FEATHEADR) - */ - private function _readSheetProtection() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; repeated record header - - // offset: 2; size: 2; FRT cell reference flag (=0 currently) - - // offset: 4; size: 8; Currently not used and set to 0 - - // offset: 12; size: 2; Shared feature type index (2=Enhanced Protetion, 4=SmartTag) - $isf = self::_GetInt2d($recordData, 12); - if ($isf != 2) { - return; - } - - // offset: 14; size: 1; =1 since this is a feat header - - // offset: 15; size: 4; size of rgbHdrSData - - // rgbHdrSData, assume "Enhanced Protection" - // offset: 19; size: 2; option flags - $options = self::_GetInt2d($recordData, 19); - - // bit: 0; mask 0x0001; 1 = user may edit objects, 0 = users must not edit objects - $bool = (0x0001 & $options) >> 0; - $this->_phpSheet->getProtection()->setObjects(!$bool); - - // bit: 1; mask 0x0002; edit scenarios - $bool = (0x0002 & $options) >> 1; - $this->_phpSheet->getProtection()->setScenarios(!$bool); - - // bit: 2; mask 0x0004; format cells - $bool = (0x0004 & $options) >> 2; - $this->_phpSheet->getProtection()->setFormatCells(!$bool); - - // bit: 3; mask 0x0008; format columns - $bool = (0x0008 & $options) >> 3; - $this->_phpSheet->getProtection()->setFormatColumns(!$bool); - - // bit: 4; mask 0x0010; format rows - $bool = (0x0010 & $options) >> 4; - $this->_phpSheet->getProtection()->setFormatRows(!$bool); - - // bit: 5; mask 0x0020; insert columns - $bool = (0x0020 & $options) >> 5; - $this->_phpSheet->getProtection()->setInsertColumns(!$bool); - - // bit: 6; mask 0x0040; insert rows - $bool = (0x0040 & $options) >> 6; - $this->_phpSheet->getProtection()->setInsertRows(!$bool); - - // bit: 7; mask 0x0080; insert hyperlinks - $bool = (0x0080 & $options) >> 7; - $this->_phpSheet->getProtection()->setInsertHyperlinks(!$bool); - - // bit: 8; mask 0x0100; delete columns - $bool = (0x0100 & $options) >> 8; - $this->_phpSheet->getProtection()->setDeleteColumns(!$bool); - - // bit: 9; mask 0x0200; delete rows - $bool = (0x0200 & $options) >> 9; - $this->_phpSheet->getProtection()->setDeleteRows(!$bool); - - // bit: 10; mask 0x0400; select locked cells - $bool = (0x0400 & $options) >> 10; - $this->_phpSheet->getProtection()->setSelectLockedCells(!$bool); - - // bit: 11; mask 0x0800; sort cell range - $bool = (0x0800 & $options) >> 11; - $this->_phpSheet->getProtection()->setSort(!$bool); - - // bit: 12; mask 0x1000; auto filter - $bool = (0x1000 & $options) >> 12; - $this->_phpSheet->getProtection()->setAutoFilter(!$bool); - - // bit: 13; mask 0x2000; pivot tables - $bool = (0x2000 & $options) >> 13; - $this->_phpSheet->getProtection()->setPivotTables(!$bool); - - // bit: 14; mask 0x4000; select unlocked cells - $bool = (0x4000 & $options) >> 14; - $this->_phpSheet->getProtection()->setSelectUnlockedCells(!$bool); - - // offset: 21; size: 2; not used - } - - - /** - * Read RANGEPROTECTION record - * Reading of this record is based on Microsoft Office Excel 97-2000 Binary File Format Specification, - * where it is referred to as FEAT record - */ - private function _readRangeProtection() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // local pointer in record data - $offset = 0; - - if (!$this->_readDataOnly) { - $offset += 12; - - // offset: 12; size: 2; shared feature type, 2 = enhanced protection, 4 = smart tag - $isf = self::_GetInt2d($recordData, 12); - if ($isf != 2) { - // we only read FEAT records of type 2 - return; - } - $offset += 2; - - $offset += 5; - - // offset: 19; size: 2; count of ref ranges this feature is on - $cref = self::_GetInt2d($recordData, 19); - $offset += 2; - - $offset += 6; - - // offset: 27; size: 8 * $cref; list of cell ranges (like in hyperlink record) - $cellRanges = array(); - for ($i = 0; $i < $cref; ++$i) { - try { - $cellRange = $this->_readBIFF8CellRangeAddressFixed(substr($recordData, 27 + 8 * $i, 8)); - } catch (PHPExcel_Exception $e) { - return; - } - $cellRanges[] = $cellRange; - $offset += 8; - } - - // offset: var; size: var; variable length of feature specific data - $rgbFeat = substr($recordData, $offset); - $offset += 4; - - // offset: var; size: 4; the encrypted password (only 16-bit although field is 32-bit) - $wPassword = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // Apply range protection to sheet - if ($cellRanges) { - $this->_phpSheet->protectCells(implode(' ', $cellRanges), strtoupper(dechex($wPassword)), true); - } - } - } - - - /** - * Read IMDATA record - */ - private function _readImData() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - $recordData = $splicedRecordData['recordData']; - - // UNDER CONSTRUCTION - - // offset: 0; size: 2; image format - $cf = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; environment from which the file was written - $env = self::_GetInt2d($recordData, 2); - - // offset: 4; size: 4; length of the image data - $lcb = self::_GetInt4d($recordData, 4); - - // offset: 8; size: var; image data - $iData = substr($recordData, 8); - - switch ($cf) { - case 0x09: // Windows bitmap format - // BITMAPCOREINFO - // 1. BITMAPCOREHEADER - // offset: 0; size: 4; bcSize, Specifies the number of bytes required by the structure - $bcSize = self::_GetInt4d($iData, 0); -// var_dump($bcSize); - - // offset: 4; size: 2; bcWidth, specifies the width of the bitmap, in pixels - $bcWidth = self::_GetInt2d($iData, 4); -// var_dump($bcWidth); - - // offset: 6; size: 2; bcHeight, specifies the height of the bitmap, in pixels. - $bcHeight = self::_GetInt2d($iData, 6); -// var_dump($bcHeight); - $ih = imagecreatetruecolor($bcWidth, $bcHeight); - - // offset: 8; size: 2; bcPlanes, specifies the number of planes for the target device. This value must be 1 - - // offset: 10; size: 2; bcBitCount specifies the number of bits-per-pixel. This value must be 1, 4, 8, or 24 - $bcBitCount = self::_GetInt2d($iData, 10); -// var_dump($bcBitCount); - - $rgbString = substr($iData, 12); - $rgbTriples = array(); - while (strlen($rgbString) > 0) { - $rgbTriples[] = unpack('Cb/Cg/Cr', $rgbString); - $rgbString = substr($rgbString, 3); - } - $x = 0; - $y = 0; - foreach ($rgbTriples as $i => $rgbTriple) { - $color = imagecolorallocate($ih, $rgbTriple['r'], $rgbTriple['g'], $rgbTriple['b']); - imagesetpixel($ih, $x, $bcHeight - 1 - $y, $color); - $x = ($x + 1) % $bcWidth; - $y = $y + floor(($x + 1) / $bcWidth); - } - //imagepng($ih, 'image.png'); - - $drawing = new PHPExcel_Worksheet_Drawing(); - $drawing->setPath($filename); - $drawing->setWorksheet($this->_phpSheet); - - break; - - case 0x02: // Windows metafile or Macintosh PICT format - case 0x0e: // native format - default; - break; - - } - - // _getSplicedRecordData() takes care of moving current position in data stream - } - - - /** - * Read a free CONTINUE record. Free CONTINUE record may be a camouflaged MSODRAWING record - * When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used instead. Undocumented. - * In this case, we must treat the CONTINUE record as a MSODRAWING record - */ - private function _readContinue() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // check if we are reading drawing data - // this is in case a free CONTINUE record occurs in other circumstances we are unaware of - if ($this->_drawingData == '') { - // move stream pointer to next record - $this->_pos += 4 + $length; - - return; - } - - // check if record data is at least 4 bytes long, otherwise there is no chance this is MSODRAWING data - if ($length < 4) { - // move stream pointer to next record - $this->_pos += 4 + $length; - - return; - } - - // dirty check to see if CONTINUE record could be a camouflaged MSODRAWING record - // look inside CONTINUE record to see if it looks like a part of an Escher stream - // we know that Escher stream may be split at least at - // 0xF003 MsofbtSpgrContainer - // 0xF004 MsofbtSpContainer - // 0xF00D MsofbtClientTextbox - $validSplitPoints = array(0xF003, 0xF004, 0xF00D); // add identifiers if we find more - - $splitPoint = self::_GetInt2d($recordData, 2); - if (in_array($splitPoint, $validSplitPoints)) { - // get spliced record data (and move pointer to next record) - $splicedRecordData = $this->_getSplicedRecordData(); - $this->_drawingData .= $splicedRecordData['recordData']; - - return; - } - - // move stream pointer to next record - $this->_pos += 4 + $length; - - } - - - /** - * Reads a record from current position in data stream and continues reading data as long as CONTINUE - * records are found. Splices the record data pieces and returns the combined string as if record data - * is in one piece. - * Moves to next current position in data stream to start of next record different from a CONtINUE record - * - * @return array - */ - private function _getSplicedRecordData() - { - $data = ''; - $spliceOffsets = array(); - - $i = 0; - $spliceOffsets[0] = 0; - - do { - ++$i; - - // offset: 0; size: 2; identifier - $identifier = self::_GetInt2d($this->_data, $this->_pos); - // offset: 2; size: 2; length - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $data .= $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - $spliceOffsets[$i] = $spliceOffsets[$i - 1] + $length; - - $this->_pos += 4 + $length; - $nextIdentifier = self::_GetInt2d($this->_data, $this->_pos); - } - while ($nextIdentifier == self::XLS_Type_CONTINUE); - - $splicedData = array( - 'recordData' => $data, - 'spliceOffsets' => $spliceOffsets, - ); - - return $splicedData; - - } - - - /** - * Convert formula structure into human readable Excel formula like 'A3+A5*5' - * - * @param string $formulaStructure The complete binary data for the formula - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string Human readable formula - */ - private function _getFormulaFromStructure($formulaStructure, $baseCell = 'A1') - { - // offset: 0; size: 2; size of the following formula data - $sz = self::_GetInt2d($formulaStructure, 0); - - // offset: 2; size: sz - $formulaData = substr($formulaStructure, 2, $sz); - - // for debug: dump the formula data - //echo ''; - //echo 'size: ' . $sz . "\n"; - //echo 'the entire formula data: '; - //Debug::dump($formulaData); - //echo "\n----\n"; - - // offset: 2 + sz; size: variable (optional) - if (strlen($formulaStructure) > 2 + $sz) { - $additionalData = substr($formulaStructure, 2 + $sz); - - // for debug: dump the additional data - //echo 'the entire additional data: '; - //Debug::dump($additionalData); - //echo "\n----\n"; - - } else { - $additionalData = ''; - } - - return $this->_getFormulaFromData($formulaData, $additionalData, $baseCell); - } - - - /** - * Take formula data and additional data for formula and return human readable formula - * - * @param string $formulaData The binary data for the formula itself - * @param string $additionalData Additional binary data going with the formula - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string Human readable formula - */ - private function _getFormulaFromData($formulaData, $additionalData = '', $baseCell = 'A1') - { - // start parsing the formula data - $tokens = array(); - - while (strlen($formulaData) > 0 and $token = $this->_getNextToken($formulaData, $baseCell)) { - $tokens[] = $token; - $formulaData = substr($formulaData, $token['size']); - - // for debug: dump the token - //var_dump($token); - } - - $formulaString = $this->_createFormulaFromTokens($tokens, $additionalData); - - return $formulaString; - } - - - /** - * Take array of tokens together with additional data for formula and return human readable formula - * - * @param array $tokens - * @param array $additionalData Additional binary data going with the formula - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string Human readable formula - */ - private function _createFormulaFromTokens($tokens, $additionalData) - { - // empty formula? - if (empty($tokens)) { - return ''; - } - - $formulaStrings = array(); - foreach ($tokens as $token) { - // initialize spaces - $space0 = isset($space0) ? $space0 : ''; // spaces before next token, not tParen - $space1 = isset($space1) ? $space1 : ''; // carriage returns before next token, not tParen - $space2 = isset($space2) ? $space2 : ''; // spaces before opening parenthesis - $space3 = isset($space3) ? $space3 : ''; // carriage returns before opening parenthesis - $space4 = isset($space4) ? $space4 : ''; // spaces before closing parenthesis - $space5 = isset($space5) ? $space5 : ''; // carriage returns before closing parenthesis - - switch ($token['name']) { - case 'tAdd': // addition - case 'tConcat': // addition - case 'tDiv': // division - case 'tEQ': // equality - case 'tGE': // greater than or equal - case 'tGT': // greater than - case 'tIsect': // intersection - case 'tLE': // less than or equal - case 'tList': // less than or equal - case 'tLT': // less than - case 'tMul': // multiplication - case 'tNE': // multiplication - case 'tPower': // power - case 'tRange': // range - case 'tSub': // subtraction - $op2 = array_pop($formulaStrings); - $op1 = array_pop($formulaStrings); - $formulaStrings[] = "$op1$space1$space0{$token['data']}$op2"; - unset($space0, $space1); - break; - case 'tUplus': // unary plus - case 'tUminus': // unary minus - $op = array_pop($formulaStrings); - $formulaStrings[] = "$space1$space0{$token['data']}$op"; - unset($space0, $space1); - break; - case 'tPercent': // percent sign - $op = array_pop($formulaStrings); - $formulaStrings[] = "$op$space1$space0{$token['data']}"; - unset($space0, $space1); - break; - case 'tAttrVolatile': // indicates volatile function - case 'tAttrIf': - case 'tAttrSkip': - case 'tAttrChoose': - // token is only important for Excel formula evaluator - // do nothing - break; - case 'tAttrSpace': // space / carriage return - // space will be used when next token arrives, do not alter formulaString stack - switch ($token['data']['spacetype']) { - case 'type0': - $space0 = str_repeat(' ', $token['data']['spacecount']); - break; - case 'type1': - $space1 = str_repeat("\n", $token['data']['spacecount']); - break; - case 'type2': - $space2 = str_repeat(' ', $token['data']['spacecount']); - break; - case 'type3': - $space3 = str_repeat("\n", $token['data']['spacecount']); - break; - case 'type4': - $space4 = str_repeat(' ', $token['data']['spacecount']); - break; - case 'type5': - $space5 = str_repeat("\n", $token['data']['spacecount']); - break; - } - break; - case 'tAttrSum': // SUM function with one parameter - $op = array_pop($formulaStrings); - $formulaStrings[] = "{$space1}{$space0}SUM($op)"; - unset($space0, $space1); - break; - case 'tFunc': // function with fixed number of arguments - case 'tFuncV': // function with variable number of arguments - if ($token['data']['function'] != '') { - // normal function - $ops = array(); // array of operators - for ($i = 0; $i < $token['data']['args']; ++$i) { - $ops[] = array_pop($formulaStrings); - } - $ops = array_reverse($ops); - $formulaStrings[] = "$space1$space0{$token['data']['function']}(" . implode(',', $ops) . ")"; - unset($space0, $space1); - } else { - // add-in function - $ops = array(); // array of operators - for ($i = 0; $i < $token['data']['args'] - 1; ++$i) { - $ops[] = array_pop($formulaStrings); - } - $ops = array_reverse($ops); - $function = array_pop($formulaStrings); - $formulaStrings[] = "$space1$space0$function(" . implode(',', $ops) . ")"; - unset($space0, $space1); - } - break; - case 'tParen': // parenthesis - $expression = array_pop($formulaStrings); - $formulaStrings[] = "$space3$space2($expression$space5$space4)"; - unset($space2, $space3, $space4, $space5); - break; - case 'tArray': // array constant - $constantArray = self::_readBIFF8ConstantArray($additionalData); - $formulaStrings[] = $space1 . $space0 . $constantArray['value']; - $additionalData = substr($additionalData, $constantArray['size']); // bite of chunk of additional data - unset($space0, $space1); - break; - case 'tMemArea': - // bite off chunk of additional data - $cellRangeAddressList = $this->_readBIFF8CellRangeAddressList($additionalData); - $additionalData = substr($additionalData, $cellRangeAddressList['size']); - $formulaStrings[] = "$space1$space0{$token['data']}"; - unset($space0, $space1); - break; - case 'tArea': // cell range address - case 'tBool': // boolean - case 'tErr': // error code - case 'tInt': // integer - case 'tMemErr': - case 'tMemFunc': - case 'tMissArg': - case 'tName': - case 'tNameX': - case 'tNum': // number - case 'tRef': // single cell reference - case 'tRef3d': // 3d cell reference - case 'tArea3d': // 3d cell range reference - case 'tRefN': - case 'tAreaN': - case 'tStr': // string - $formulaStrings[] = "$space1$space0{$token['data']}"; - unset($space0, $space1); - break; - } - } - $formulaString = $formulaStrings[0]; - - // for debug: dump the human readable formula - //echo '----' . "\n"; - //echo 'Formula: ' . $formulaString; - - return $formulaString; - } - - - /** - * Fetch next token from binary formula data - * - * @param string Formula data - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return array - * @throws PHPExcel_Reader_Exception - */ - private function _getNextToken($formulaData, $baseCell = 'A1') - { - // offset: 0; size: 1; token id - $id = ord($formulaData[0]); // token id - $name = false; // initialize token name - - switch ($id) { - case 0x03: $name = 'tAdd'; $size = 1; $data = '+'; break; - case 0x04: $name = 'tSub'; $size = 1; $data = '-'; break; - case 0x05: $name = 'tMul'; $size = 1; $data = '*'; break; - case 0x06: $name = 'tDiv'; $size = 1; $data = '/'; break; - case 0x07: $name = 'tPower'; $size = 1; $data = '^'; break; - case 0x08: $name = 'tConcat'; $size = 1; $data = '&'; break; - case 0x09: $name = 'tLT'; $size = 1; $data = '<'; break; - case 0x0A: $name = 'tLE'; $size = 1; $data = '<='; break; - case 0x0B: $name = 'tEQ'; $size = 1; $data = '='; break; - case 0x0C: $name = 'tGE'; $size = 1; $data = '>='; break; - case 0x0D: $name = 'tGT'; $size = 1; $data = '>'; break; - case 0x0E: $name = 'tNE'; $size = 1; $data = '<>'; break; - case 0x0F: $name = 'tIsect'; $size = 1; $data = ' '; break; - case 0x10: $name = 'tList'; $size = 1; $data = ','; break; - case 0x11: $name = 'tRange'; $size = 1; $data = ':'; break; - case 0x12: $name = 'tUplus'; $size = 1; $data = '+'; break; - case 0x13: $name = 'tUminus'; $size = 1; $data = '-'; break; - case 0x14: $name = 'tPercent'; $size = 1; $data = '%'; break; - case 0x15: // parenthesis - $name = 'tParen'; - $size = 1; - $data = null; - break; - case 0x16: // missing argument - $name = 'tMissArg'; - $size = 1; - $data = ''; - break; - case 0x17: // string - $name = 'tStr'; - // offset: 1; size: var; Unicode string, 8-bit string length - $string = self::_readUnicodeStringShort(substr($formulaData, 1)); - $size = 1 + $string['size']; - $data = self::_UTF8toExcelDoubleQuoted($string['value']); - break; - case 0x19: // Special attribute - // offset: 1; size: 1; attribute type flags: - switch (ord($formulaData[1])) { - case 0x01: - $name = 'tAttrVolatile'; - $size = 4; - $data = null; - break; - case 0x02: - $name = 'tAttrIf'; - $size = 4; - $data = null; - break; - case 0x04: - $name = 'tAttrChoose'; - // offset: 2; size: 2; number of choices in the CHOOSE function ($nc, number of parameters decreased by 1) - $nc = self::_GetInt2d($formulaData, 2); - // offset: 4; size: 2 * $nc - // offset: 4 + 2 * $nc; size: 2 - $size = 2 * $nc + 6; - $data = null; - break; - case 0x08: - $name = 'tAttrSkip'; - $size = 4; - $data = null; - break; - case 0x10: - $name = 'tAttrSum'; - $size = 4; - $data = null; - break; - case 0x40: - case 0x41: - $name = 'tAttrSpace'; - $size = 4; - // offset: 2; size: 2; space type and position - switch (ord($formulaData[2])) { - case 0x00: - $spacetype = 'type0'; - break; - case 0x01: - $spacetype = 'type1'; - break; - case 0x02: - $spacetype = 'type2'; - break; - case 0x03: - $spacetype = 'type3'; - break; - case 0x04: - $spacetype = 'type4'; - break; - case 0x05: - $spacetype = 'type5'; - break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized space type in tAttrSpace token'); - break; - } - // offset: 3; size: 1; number of inserted spaces/carriage returns - $spacecount = ord($formulaData[3]); - - $data = array('spacetype' => $spacetype, 'spacecount' => $spacecount); - break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized attribute flag in tAttr token'); - break; - } - break; - case 0x1C: // error code - // offset: 1; size: 1; error code - $name = 'tErr'; - $size = 2; - $data = self::_mapErrorCode(ord($formulaData[1])); - break; - case 0x1D: // boolean - // offset: 1; size: 1; 0 = false, 1 = true; - $name = 'tBool'; - $size = 2; - $data = ord($formulaData[1]) ? 'TRUE' : 'FALSE'; - break; - case 0x1E: // integer - // offset: 1; size: 2; unsigned 16-bit integer - $name = 'tInt'; - $size = 3; - $data = self::_GetInt2d($formulaData, 1); - break; - case 0x1F: // number - // offset: 1; size: 8; - $name = 'tNum'; - $size = 9; - $data = self::_extractNumber(substr($formulaData, 1)); - $data = str_replace(',', '.', (string)$data); // in case non-English locale - break; - case 0x20: // array constant - case 0x40: - case 0x60: - // offset: 1; size: 7; not used - $name = 'tArray'; - $size = 8; - $data = null; - break; - case 0x21: // function with fixed number of arguments - case 0x41: - case 0x61: - $name = 'tFunc'; - $size = 3; - // offset: 1; size: 2; index to built-in sheet function - switch (self::_GetInt2d($formulaData, 1)) { - case 2: $function = 'ISNA'; $args = 1; break; - case 3: $function = 'ISERROR'; $args = 1; break; - case 10: $function = 'NA'; $args = 0; break; - case 15: $function = 'SIN'; $args = 1; break; - case 16: $function = 'COS'; $args = 1; break; - case 17: $function = 'TAN'; $args = 1; break; - case 18: $function = 'ATAN'; $args = 1; break; - case 19: $function = 'PI'; $args = 0; break; - case 20: $function = 'SQRT'; $args = 1; break; - case 21: $function = 'EXP'; $args = 1; break; - case 22: $function = 'LN'; $args = 1; break; - case 23: $function = 'LOG10'; $args = 1; break; - case 24: $function = 'ABS'; $args = 1; break; - case 25: $function = 'INT'; $args = 1; break; - case 26: $function = 'SIGN'; $args = 1; break; - case 27: $function = 'ROUND'; $args = 2; break; - case 30: $function = 'REPT'; $args = 2; break; - case 31: $function = 'MID'; $args = 3; break; - case 32: $function = 'LEN'; $args = 1; break; - case 33: $function = 'VALUE'; $args = 1; break; - case 34: $function = 'TRUE'; $args = 0; break; - case 35: $function = 'FALSE'; $args = 0; break; - case 38: $function = 'NOT'; $args = 1; break; - case 39: $function = 'MOD'; $args = 2; break; - case 40: $function = 'DCOUNT'; $args = 3; break; - case 41: $function = 'DSUM'; $args = 3; break; - case 42: $function = 'DAVERAGE'; $args = 3; break; - case 43: $function = 'DMIN'; $args = 3; break; - case 44: $function = 'DMAX'; $args = 3; break; - case 45: $function = 'DSTDEV'; $args = 3; break; - case 48: $function = 'TEXT'; $args = 2; break; - case 61: $function = 'MIRR'; $args = 3; break; - case 63: $function = 'RAND'; $args = 0; break; - case 65: $function = 'DATE'; $args = 3; break; - case 66: $function = 'TIME'; $args = 3; break; - case 67: $function = 'DAY'; $args = 1; break; - case 68: $function = 'MONTH'; $args = 1; break; - case 69: $function = 'YEAR'; $args = 1; break; - case 71: $function = 'HOUR'; $args = 1; break; - case 72: $function = 'MINUTE'; $args = 1; break; - case 73: $function = 'SECOND'; $args = 1; break; - case 74: $function = 'NOW'; $args = 0; break; - case 75: $function = 'AREAS'; $args = 1; break; - case 76: $function = 'ROWS'; $args = 1; break; - case 77: $function = 'COLUMNS'; $args = 1; break; - case 83: $function = 'TRANSPOSE'; $args = 1; break; - case 86: $function = 'TYPE'; $args = 1; break; - case 97: $function = 'ATAN2'; $args = 2; break; - case 98: $function = 'ASIN'; $args = 1; break; - case 99: $function = 'ACOS'; $args = 1; break; - case 105: $function = 'ISREF'; $args = 1; break; - case 111: $function = 'CHAR'; $args = 1; break; - case 112: $function = 'LOWER'; $args = 1; break; - case 113: $function = 'UPPER'; $args = 1; break; - case 114: $function = 'PROPER'; $args = 1; break; - case 117: $function = 'EXACT'; $args = 2; break; - case 118: $function = 'TRIM'; $args = 1; break; - case 119: $function = 'REPLACE'; $args = 4; break; - case 121: $function = 'CODE'; $args = 1; break; - case 126: $function = 'ISERR'; $args = 1; break; - case 127: $function = 'ISTEXT'; $args = 1; break; - case 128: $function = 'ISNUMBER'; $args = 1; break; - case 129: $function = 'ISBLANK'; $args = 1; break; - case 130: $function = 'T'; $args = 1; break; - case 131: $function = 'N'; $args = 1; break; - case 140: $function = 'DATEVALUE'; $args = 1; break; - case 141: $function = 'TIMEVALUE'; $args = 1; break; - case 142: $function = 'SLN'; $args = 3; break; - case 143: $function = 'SYD'; $args = 4; break; - case 162: $function = 'CLEAN'; $args = 1; break; - case 163: $function = 'MDETERM'; $args = 1; break; - case 164: $function = 'MINVERSE'; $args = 1; break; - case 165: $function = 'MMULT'; $args = 2; break; - case 184: $function = 'FACT'; $args = 1; break; - case 189: $function = 'DPRODUCT'; $args = 3; break; - case 190: $function = 'ISNONTEXT'; $args = 1; break; - case 195: $function = 'DSTDEVP'; $args = 3; break; - case 196: $function = 'DVARP'; $args = 3; break; - case 198: $function = 'ISLOGICAL'; $args = 1; break; - case 199: $function = 'DCOUNTA'; $args = 3; break; - case 207: $function = 'REPLACEB'; $args = 4; break; - case 210: $function = 'MIDB'; $args = 3; break; - case 211: $function = 'LENB'; $args = 1; break; - case 212: $function = 'ROUNDUP'; $args = 2; break; - case 213: $function = 'ROUNDDOWN'; $args = 2; break; - case 214: $function = 'ASC'; $args = 1; break; - case 215: $function = 'DBCS'; $args = 1; break; - case 221: $function = 'TODAY'; $args = 0; break; - case 229: $function = 'SINH'; $args = 1; break; - case 230: $function = 'COSH'; $args = 1; break; - case 231: $function = 'TANH'; $args = 1; break; - case 232: $function = 'ASINH'; $args = 1; break; - case 233: $function = 'ACOSH'; $args = 1; break; - case 234: $function = 'ATANH'; $args = 1; break; - case 235: $function = 'DGET'; $args = 3; break; - case 244: $function = 'INFO'; $args = 1; break; - case 252: $function = 'FREQUENCY'; $args = 2; break; - case 261: $function = 'ERROR.TYPE'; $args = 1; break; - case 271: $function = 'GAMMALN'; $args = 1; break; - case 273: $function = 'BINOMDIST'; $args = 4; break; - case 274: $function = 'CHIDIST'; $args = 2; break; - case 275: $function = 'CHIINV'; $args = 2; break; - case 276: $function = 'COMBIN'; $args = 2; break; - case 277: $function = 'CONFIDENCE'; $args = 3; break; - case 278: $function = 'CRITBINOM'; $args = 3; break; - case 279: $function = 'EVEN'; $args = 1; break; - case 280: $function = 'EXPONDIST'; $args = 3; break; - case 281: $function = 'FDIST'; $args = 3; break; - case 282: $function = 'FINV'; $args = 3; break; - case 283: $function = 'FISHER'; $args = 1; break; - case 284: $function = 'FISHERINV'; $args = 1; break; - case 285: $function = 'FLOOR'; $args = 2; break; - case 286: $function = 'GAMMADIST'; $args = 4; break; - case 287: $function = 'GAMMAINV'; $args = 3; break; - case 288: $function = 'CEILING'; $args = 2; break; - case 289: $function = 'HYPGEOMDIST'; $args = 4; break; - case 290: $function = 'LOGNORMDIST'; $args = 3; break; - case 291: $function = 'LOGINV'; $args = 3; break; - case 292: $function = 'NEGBINOMDIST'; $args = 3; break; - case 293: $function = 'NORMDIST'; $args = 4; break; - case 294: $function = 'NORMSDIST'; $args = 1; break; - case 295: $function = 'NORMINV'; $args = 3; break; - case 296: $function = 'NORMSINV'; $args = 1; break; - case 297: $function = 'STANDARDIZE'; $args = 3; break; - case 298: $function = 'ODD'; $args = 1; break; - case 299: $function = 'PERMUT'; $args = 2; break; - case 300: $function = 'POISSON'; $args = 3; break; - case 301: $function = 'TDIST'; $args = 3; break; - case 302: $function = 'WEIBULL'; $args = 4; break; - case 303: $function = 'SUMXMY2'; $args = 2; break; - case 304: $function = 'SUMX2MY2'; $args = 2; break; - case 305: $function = 'SUMX2PY2'; $args = 2; break; - case 306: $function = 'CHITEST'; $args = 2; break; - case 307: $function = 'CORREL'; $args = 2; break; - case 308: $function = 'COVAR'; $args = 2; break; - case 309: $function = 'FORECAST'; $args = 3; break; - case 310: $function = 'FTEST'; $args = 2; break; - case 311: $function = 'INTERCEPT'; $args = 2; break; - case 312: $function = 'PEARSON'; $args = 2; break; - case 313: $function = 'RSQ'; $args = 2; break; - case 314: $function = 'STEYX'; $args = 2; break; - case 315: $function = 'SLOPE'; $args = 2; break; - case 316: $function = 'TTEST'; $args = 4; break; - case 325: $function = 'LARGE'; $args = 2; break; - case 326: $function = 'SMALL'; $args = 2; break; - case 327: $function = 'QUARTILE'; $args = 2; break; - case 328: $function = 'PERCENTILE'; $args = 2; break; - case 331: $function = 'TRIMMEAN'; $args = 2; break; - case 332: $function = 'TINV'; $args = 2; break; - case 337: $function = 'POWER'; $args = 2; break; - case 342: $function = 'RADIANS'; $args = 1; break; - case 343: $function = 'DEGREES'; $args = 1; break; - case 346: $function = 'COUNTIF'; $args = 2; break; - case 347: $function = 'COUNTBLANK'; $args = 1; break; - case 350: $function = 'ISPMT'; $args = 4; break; - case 351: $function = 'DATEDIF'; $args = 3; break; - case 352: $function = 'DATESTRING'; $args = 1; break; - case 353: $function = 'NUMBERSTRING'; $args = 2; break; - case 360: $function = 'PHONETIC'; $args = 1; break; - case 368: $function = 'BAHTTEXT'; $args = 1; break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized function in formula'); - break; - } - $data = array('function' => $function, 'args' => $args); - break; - case 0x22: // function with variable number of arguments - case 0x42: - case 0x62: - $name = 'tFuncV'; - $size = 4; - // offset: 1; size: 1; number of arguments - $args = ord($formulaData[1]); - // offset: 2: size: 2; index to built-in sheet function - $index = self::_GetInt2d($formulaData, 2); - switch ($index) { - case 0: $function = 'COUNT'; break; - case 1: $function = 'IF'; break; - case 4: $function = 'SUM'; break; - case 5: $function = 'AVERAGE'; break; - case 6: $function = 'MIN'; break; - case 7: $function = 'MAX'; break; - case 8: $function = 'ROW'; break; - case 9: $function = 'COLUMN'; break; - case 11: $function = 'NPV'; break; - case 12: $function = 'STDEV'; break; - case 13: $function = 'DOLLAR'; break; - case 14: $function = 'FIXED'; break; - case 28: $function = 'LOOKUP'; break; - case 29: $function = 'INDEX'; break; - case 36: $function = 'AND'; break; - case 37: $function = 'OR'; break; - case 46: $function = 'VAR'; break; - case 49: $function = 'LINEST'; break; - case 50: $function = 'TREND'; break; - case 51: $function = 'LOGEST'; break; - case 52: $function = 'GROWTH'; break; - case 56: $function = 'PV'; break; - case 57: $function = 'FV'; break; - case 58: $function = 'NPER'; break; - case 59: $function = 'PMT'; break; - case 60: $function = 'RATE'; break; - case 62: $function = 'IRR'; break; - case 64: $function = 'MATCH'; break; - case 70: $function = 'WEEKDAY'; break; - case 78: $function = 'OFFSET'; break; - case 82: $function = 'SEARCH'; break; - case 100: $function = 'CHOOSE'; break; - case 101: $function = 'HLOOKUP'; break; - case 102: $function = 'VLOOKUP'; break; - case 109: $function = 'LOG'; break; - case 115: $function = 'LEFT'; break; - case 116: $function = 'RIGHT'; break; - case 120: $function = 'SUBSTITUTE'; break; - case 124: $function = 'FIND'; break; - case 125: $function = 'CELL'; break; - case 144: $function = 'DDB'; break; - case 148: $function = 'INDIRECT'; break; - case 167: $function = 'IPMT'; break; - case 168: $function = 'PPMT'; break; - case 169: $function = 'COUNTA'; break; - case 183: $function = 'PRODUCT'; break; - case 193: $function = 'STDEVP'; break; - case 194: $function = 'VARP'; break; - case 197: $function = 'TRUNC'; break; - case 204: $function = 'USDOLLAR'; break; - case 205: $function = 'FINDB'; break; - case 206: $function = 'SEARCHB'; break; - case 208: $function = 'LEFTB'; break; - case 209: $function = 'RIGHTB'; break; - case 216: $function = 'RANK'; break; - case 219: $function = 'ADDRESS'; break; - case 220: $function = 'DAYS360'; break; - case 222: $function = 'VDB'; break; - case 227: $function = 'MEDIAN'; break; - case 228: $function = 'SUMPRODUCT'; break; - case 247: $function = 'DB'; break; - case 255: $function = ''; break; - case 269: $function = 'AVEDEV'; break; - case 270: $function = 'BETADIST'; break; - case 272: $function = 'BETAINV'; break; - case 317: $function = 'PROB'; break; - case 318: $function = 'DEVSQ'; break; - case 319: $function = 'GEOMEAN'; break; - case 320: $function = 'HARMEAN'; break; - case 321: $function = 'SUMSQ'; break; - case 322: $function = 'KURT'; break; - case 323: $function = 'SKEW'; break; - case 324: $function = 'ZTEST'; break; - case 329: $function = 'PERCENTRANK'; break; - case 330: $function = 'MODE'; break; - case 336: $function = 'CONCATENATE'; break; - case 344: $function = 'SUBTOTAL'; break; - case 345: $function = 'SUMIF'; break; - case 354: $function = 'ROMAN'; break; - case 358: $function = 'GETPIVOTDATA'; break; - case 359: $function = 'HYPERLINK'; break; - case 361: $function = 'AVERAGEA'; break; - case 362: $function = 'MAXA'; break; - case 363: $function = 'MINA'; break; - case 364: $function = 'STDEVPA'; break; - case 365: $function = 'VARPA'; break; - case 366: $function = 'STDEVA'; break; - case 367: $function = 'VARA'; break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized function in formula'); - break; - } - $data = array('function' => $function, 'args' => $args); - break; - case 0x23: // index to defined name - case 0x43: - case 0x63: - $name = 'tName'; - $size = 5; - // offset: 1; size: 2; one-based index to definedname record - $definedNameIndex = self::_GetInt2d($formulaData, 1) - 1; - // offset: 2; size: 2; not used - $data = $this->_definedname[$definedNameIndex]['name']; - break; - case 0x24: // single cell reference e.g. A5 - case 0x44: - case 0x64: - $name = 'tRef'; - $size = 5; - $data = $this->_readBIFF8CellAddress(substr($formulaData, 1, 4)); - break; - case 0x25: // cell range reference to cells in the same sheet (2d) - case 0x45: - case 0x65: - $name = 'tArea'; - $size = 9; - $data = $this->_readBIFF8CellRangeAddress(substr($formulaData, 1, 8)); - break; - case 0x26: // Constant reference sub-expression - case 0x46: - case 0x66: - $name = 'tMemArea'; - // offset: 1; size: 4; not used - // offset: 5; size: 2; size of the following subexpression - $subSize = self::_GetInt2d($formulaData, 5); - $size = 7 + $subSize; - $data = $this->_getFormulaFromData(substr($formulaData, 7, $subSize)); - break; - case 0x27: // Deleted constant reference sub-expression - case 0x47: - case 0x67: - $name = 'tMemErr'; - // offset: 1; size: 4; not used - // offset: 5; size: 2; size of the following subexpression - $subSize = self::_GetInt2d($formulaData, 5); - $size = 7 + $subSize; - $data = $this->_getFormulaFromData(substr($formulaData, 7, $subSize)); - break; - case 0x29: // Variable reference sub-expression - case 0x49: - case 0x69: - $name = 'tMemFunc'; - // offset: 1; size: 2; size of the following sub-expression - $subSize = self::_GetInt2d($formulaData, 1); - $size = 3 + $subSize; - $data = $this->_getFormulaFromData(substr($formulaData, 3, $subSize)); - break; - - case 0x2C: // Relative 2d cell reference reference, used in shared formulas and some other places - case 0x4C: - case 0x6C: - $name = 'tRefN'; - $size = 5; - $data = $this->_readBIFF8CellAddressB(substr($formulaData, 1, 4), $baseCell); - break; - - case 0x2D: // Relative 2d range reference - case 0x4D: - case 0x6D: - $name = 'tAreaN'; - $size = 9; - $data = $this->_readBIFF8CellRangeAddressB(substr($formulaData, 1, 8), $baseCell); - break; - - case 0x39: // External name - case 0x59: - case 0x79: - $name = 'tNameX'; - $size = 7; - // offset: 1; size: 2; index to REF entry in EXTERNSHEET record - // offset: 3; size: 2; one-based index to DEFINEDNAME or EXTERNNAME record - $index = self::_GetInt2d($formulaData, 3); - // assume index is to EXTERNNAME record - $data = $this->_externalNames[$index - 1]['name']; - // offset: 5; size: 2; not used - break; - - case 0x3A: // 3d reference to cell - case 0x5A: - case 0x7A: - $name = 'tRef3d'; - $size = 7; - - try { - // offset: 1; size: 2; index to REF entry - $sheetRange = $this->_readSheetRangeByRefIndex(self::_GetInt2d($formulaData, 1)); - // offset: 3; size: 4; cell address - $cellAddress = $this->_readBIFF8CellAddress(substr($formulaData, 3, 4)); - - $data = "$sheetRange!$cellAddress"; - } catch (PHPExcel_Exception $e) { - // deleted sheet reference - $data = '#REF!'; - } - - break; - case 0x3B: // 3d reference to cell range - case 0x5B: - case 0x7B: - $name = 'tArea3d'; - $size = 11; - - try { - // offset: 1; size: 2; index to REF entry - $sheetRange = $this->_readSheetRangeByRefIndex(self::_GetInt2d($formulaData, 1)); - // offset: 3; size: 8; cell address - $cellRangeAddress = $this->_readBIFF8CellRangeAddress(substr($formulaData, 3, 8)); - - $data = "$sheetRange!$cellRangeAddress"; - } catch (PHPExcel_Exception $e) { - // deleted sheet reference - $data = '#REF!'; - } - - break; - // Unknown cases // don't know how to deal with - default: - throw new PHPExcel_Reader_Exception('Unrecognized token ' . sprintf('%02X', $id) . ' in formula'); - break; - } - - return array( - 'id' => $id, - 'name' => $name, - 'size' => $size, - 'data' => $data, - ); - } - - - /** - * Reads a cell address in BIFF8 e.g. 'A2' or '$A$2' - * section 3.3.4 - * - * @param string $cellAddressStructure - * @return string - */ - private function _readBIFF8CellAddress($cellAddressStructure) - { - // offset: 0; size: 2; index to row (0... 65535) (or offset (-32768... 32767)) - $row = self::_GetInt2d($cellAddressStructure, 0) + 1; - - // offset: 2; size: 2; index to column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $column = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::_GetInt2d($cellAddressStructure, 2)); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($cellAddressStructure, 2))) { - $column = '$' . $column; - } - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($cellAddressStructure, 2))) { - $row = '$' . $row; - } - - return $column . $row; - } - - - /** - * Reads a cell address in BIFF8 for shared formulas. Uses positive and negative values for row and column - * to indicate offsets from a base cell - * section 3.3.4 - * - * @param string $cellAddressStructure - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string - */ - private function _readBIFF8CellAddressB($cellAddressStructure, $baseCell = 'A1') - { - list($baseCol, $baseRow) = PHPExcel_Cell::coordinateFromString($baseCell); - $baseCol = PHPExcel_Cell::columnIndexFromString($baseCol) - 1; - - // offset: 0; size: 2; index to row (0... 65535) (or offset (-32768... 32767)) - $rowIndex = self::_GetInt2d($cellAddressStructure, 0); - $row = self::_GetInt2d($cellAddressStructure, 0) + 1; - - // offset: 2; size: 2; index to column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $colIndex = 0x00FF & self::_GetInt2d($cellAddressStructure, 2); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($cellAddressStructure, 2))) { - $column = PHPExcel_Cell::stringFromColumnIndex($colIndex); - $column = '$' . $column; - } else { - $colIndex = ($colIndex <= 127) ? $colIndex : $colIndex - 256; - $column = PHPExcel_Cell::stringFromColumnIndex($baseCol + $colIndex); - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($cellAddressStructure, 2))) { - $row = '$' . $row; - } else { - $rowIndex = ($rowIndex <= 32767) ? $rowIndex : $rowIndex - 65536; - $row = $baseRow + $rowIndex; - } - - return $column . $row; - } - - - /** - * Reads a cell range address in BIFF5 e.g. 'A2:B6' or 'A1' - * always fixed range - * section 2.5.14 - * - * @param string $subData - * @return string - * @throws PHPExcel_Reader_Exception - */ - private function _readBIFF5CellRangeAddressFixed($subData) - { - // offset: 0; size: 2; index to first row - $fr = self::_GetInt2d($subData, 0) + 1; - - // offset: 2; size: 2; index to last row - $lr = self::_GetInt2d($subData, 2) + 1; - - // offset: 4; size: 1; index to first column - $fc = ord($subData{4}); - - // offset: 5; size: 1; index to last column - $lc = ord($subData{5}); - - // check values - if ($fr > $lr || $fc > $lc) { - throw new PHPExcel_Reader_Exception('Not a cell range address'); - } - - // column index to letter - $fc = PHPExcel_Cell::stringFromColumnIndex($fc); - $lc = PHPExcel_Cell::stringFromColumnIndex($lc); - - if ($fr == $lr and $fc == $lc) { - return "$fc$fr"; - } - return "$fc$fr:$lc$lr"; - } - - - /** - * Reads a cell range address in BIFF8 e.g. 'A2:B6' or 'A1' - * always fixed range - * section 2.5.14 - * - * @param string $subData - * @return string - * @throws PHPExcel_Reader_Exception - */ - private function _readBIFF8CellRangeAddressFixed($subData) - { - // offset: 0; size: 2; index to first row - $fr = self::_GetInt2d($subData, 0) + 1; - - // offset: 2; size: 2; index to last row - $lr = self::_GetInt2d($subData, 2) + 1; - - // offset: 4; size: 2; index to first column - $fc = self::_GetInt2d($subData, 4); - - // offset: 6; size: 2; index to last column - $lc = self::_GetInt2d($subData, 6); - - // check values - if ($fr > $lr || $fc > $lc) { - throw new PHPExcel_Reader_Exception('Not a cell range address'); - } - - // column index to letter - $fc = PHPExcel_Cell::stringFromColumnIndex($fc); - $lc = PHPExcel_Cell::stringFromColumnIndex($lc); - - if ($fr == $lr and $fc == $lc) { - return "$fc$fr"; - } - return "$fc$fr:$lc$lr"; - } - - - /** - * Reads a cell range address in BIFF8 e.g. 'A2:B6' or '$A$2:$B$6' - * there are flags indicating whether column/row index is relative - * section 3.3.4 - * - * @param string $subData - * @return string - */ - private function _readBIFF8CellRangeAddress($subData) - { - // todo: if cell range is just a single cell, should this funciton - // not just return e.g. 'A1' and not 'A1:A1' ? - - // offset: 0; size: 2; index to first row (0... 65535) (or offset (-32768... 32767)) - $fr = self::_GetInt2d($subData, 0) + 1; - - // offset: 2; size: 2; index to last row (0... 65535) (or offset (-32768... 32767)) - $lr = self::_GetInt2d($subData, 2) + 1; - - // offset: 4; size: 2; index to first column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $fc = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::_GetInt2d($subData, 4)); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 4))) { - $fc = '$' . $fc; - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 4))) { - $fr = '$' . $fr; - } - - // offset: 6; size: 2; index to last column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $lc = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::_GetInt2d($subData, 6)); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 6))) { - $lc = '$' . $lc; - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 6))) { - $lr = '$' . $lr; - } - - return "$fc$fr:$lc$lr"; - } - - - /** - * Reads a cell range address in BIFF8 for shared formulas. Uses positive and negative values for row and column - * to indicate offsets from a base cell - * section 3.3.4 - * - * @param string $subData - * @param string $baseCell Base cell - * @return string Cell range address - */ - private function _readBIFF8CellRangeAddressB($subData, $baseCell = 'A1') - { - list($baseCol, $baseRow) = PHPExcel_Cell::coordinateFromString($baseCell); - $baseCol = PHPExcel_Cell::columnIndexFromString($baseCol) - 1; - - // TODO: if cell range is just a single cell, should this funciton - // not just return e.g. 'A1' and not 'A1:A1' ? - - // offset: 0; size: 2; first row - $frIndex = self::_GetInt2d($subData, 0); // adjust below - - // offset: 2; size: 2; relative index to first row (0... 65535) should be treated as offset (-32768... 32767) - $lrIndex = self::_GetInt2d($subData, 2); // adjust below - - // offset: 4; size: 2; first column with relative/absolute flags - - // bit: 7-0; mask 0x00FF; column index - $fcIndex = 0x00FF & self::_GetInt2d($subData, 4); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 4))) { - // absolute column index - $fc = PHPExcel_Cell::stringFromColumnIndex($fcIndex); - $fc = '$' . $fc; - } else { - // column offset - $fcIndex = ($fcIndex <= 127) ? $fcIndex : $fcIndex - 256; - $fc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $fcIndex); - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 4))) { - // absolute row index - $fr = $frIndex + 1; - $fr = '$' . $fr; - } else { - // row offset - $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536; - $fr = $baseRow + $frIndex; - } - - // offset: 6; size: 2; last column with relative/absolute flags - - // bit: 7-0; mask 0x00FF; column index - $lcIndex = 0x00FF & self::_GetInt2d($subData, 6); - $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; - $lc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $lcIndex); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 6))) { - // absolute column index - $lc = PHPExcel_Cell::stringFromColumnIndex($lcIndex); - $lc = '$' . $lc; - } else { - // column offset - $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; - $lc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $lcIndex); - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 6))) { - // absolute row index - $lr = $lrIndex + 1; - $lr = '$' . $lr; - } else { - // row offset - $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536; - $lr = $baseRow + $lrIndex; - } - - return "$fc$fr:$lc$lr"; - } - - - /** - * Read BIFF8 cell range address list - * section 2.5.15 - * - * @param string $subData - * @return array - */ - private function _readBIFF8CellRangeAddressList($subData) - { - $cellRangeAddresses = array(); - - // offset: 0; size: 2; number of the following cell range addresses - $nm = self::_GetInt2d($subData, 0); - - $offset = 2; - // offset: 2; size: 8 * $nm; list of $nm (fixed) cell range addresses - for ($i = 0; $i < $nm; ++$i) { - $cellRangeAddresses[] = $this->_readBIFF8CellRangeAddressFixed(substr($subData, $offset, 8)); - $offset += 8; - } - - return array( - 'size' => 2 + 8 * $nm, - 'cellRangeAddresses' => $cellRangeAddresses, - ); - } - - - /** - * Read BIFF5 cell range address list - * section 2.5.15 - * - * @param string $subData - * @return array - */ - private function _readBIFF5CellRangeAddressList($subData) - { - $cellRangeAddresses = array(); - - // offset: 0; size: 2; number of the following cell range addresses - $nm = self::_GetInt2d($subData, 0); - - $offset = 2; - // offset: 2; size: 6 * $nm; list of $nm (fixed) cell range addresses - for ($i = 0; $i < $nm; ++$i) { - $cellRangeAddresses[] = $this->_readBIFF5CellRangeAddressFixed(substr($subData, $offset, 6)); - $offset += 6; - } - - return array( - 'size' => 2 + 6 * $nm, - 'cellRangeAddresses' => $cellRangeAddresses, - ); - } - - - /** - * Get a sheet range like Sheet1:Sheet3 from REF index - * Note: If there is only one sheet in the range, one gets e.g Sheet1 - * It can also happen that the REF structure uses the -1 (FFFF) code to indicate deleted sheets, - * in which case an PHPExcel_Reader_Exception is thrown - * - * @param int $index - * @return string|false - * @throws PHPExcel_Reader_Exception - */ - private function _readSheetRangeByRefIndex($index) - { - if (isset($this->_ref[$index])) { - - $type = $this->_externalBooks[$this->_ref[$index]['externalBookIndex']]['type']; - - switch ($type) { - case 'internal': - // check if we have a deleted 3d reference - if ($this->_ref[$index]['firstSheetIndex'] == 0xFFFF or $this->_ref[$index]['lastSheetIndex'] == 0xFFFF) { - throw new PHPExcel_Reader_Exception('Deleted sheet reference'); - } - - // we have normal sheet range (collapsed or uncollapsed) - $firstSheetName = $this->_sheets[$this->_ref[$index]['firstSheetIndex']]['name']; - $lastSheetName = $this->_sheets[$this->_ref[$index]['lastSheetIndex']]['name']; - - if ($firstSheetName == $lastSheetName) { - // collapsed sheet range - $sheetRange = $firstSheetName; - } else { - $sheetRange = "$firstSheetName:$lastSheetName"; - } - - // escape the single-quotes - $sheetRange = str_replace("'", "''", $sheetRange); - - // if there are special characters, we need to enclose the range in single-quotes - // todo: check if we have identified the whole set of special characters - // it seems that the following characters are not accepted for sheet names - // and we may assume that they are not present: []*/:\? - if (preg_match("/[ !\"@#£$%&{()}<>=+'|^,;-]/", $sheetRange)) { - $sheetRange = "'$sheetRange'"; - } - - return $sheetRange; - break; - - default: - // TODO: external sheet support - throw new PHPExcel_Reader_Exception('Excel5 reader only supports internal sheets in fomulas'); - break; - } - } - return false; - } - - - /** - * read BIFF8 constant value array from array data - * returns e.g. array('value' => '{1,2;3,4}', 'size' => 40} - * section 2.5.8 - * - * @param string $arrayData - * @return array - */ - private static function _readBIFF8ConstantArray($arrayData) - { - // offset: 0; size: 1; number of columns decreased by 1 - $nc = ord($arrayData[0]); - - // offset: 1; size: 2; number of rows decreased by 1 - $nr = self::_GetInt2d($arrayData, 1); - $size = 3; // initialize - $arrayData = substr($arrayData, 3); - - // offset: 3; size: var; list of ($nc + 1) * ($nr + 1) constant values - $matrixChunks = array(); - for ($r = 1; $r <= $nr + 1; ++$r) { - $items = array(); - for ($c = 1; $c <= $nc + 1; ++$c) { - $constant = self::_readBIFF8Constant($arrayData); - $items[] = $constant['value']; - $arrayData = substr($arrayData, $constant['size']); - $size += $constant['size']; - } - $matrixChunks[] = implode(',', $items); // looks like e.g. '1,"hello"' - } - $matrix = '{' . implode(';', $matrixChunks) . '}'; - - return array( - 'value' => $matrix, - 'size' => $size, - ); - } - - - /** - * read BIFF8 constant value which may be 'Empty Value', 'Number', 'String Value', 'Boolean Value', 'Error Value' - * section 2.5.7 - * returns e.g. array('value' => '5', 'size' => 9) - * - * @param string $valueData - * @return array - */ - private static function _readBIFF8Constant($valueData) - { - // offset: 0; size: 1; identifier for type of constant - $identifier = ord($valueData[0]); - - switch ($identifier) { - case 0x00: // empty constant (what is this?) - $value = ''; - $size = 9; - break; - case 0x01: // number - // offset: 1; size: 8; IEEE 754 floating-point value - $value = self::_extractNumber(substr($valueData, 1, 8)); - $size = 9; - break; - case 0x02: // string value - // offset: 1; size: var; Unicode string, 16-bit string length - $string = self::_readUnicodeStringLong(substr($valueData, 1)); - $value = '"' . $string['value'] . '"'; - $size = 1 + $string['size']; - break; - case 0x04: // boolean - // offset: 1; size: 1; 0 = FALSE, 1 = TRUE - if (ord($valueData[1])) { - $value = 'TRUE'; - } else { - $value = 'FALSE'; - } - $size = 9; - break; - case 0x10: // error code - // offset: 1; size: 1; error code - $value = self::_mapErrorCode(ord($valueData[1])); - $size = 9; - break; - } - return array( - 'value' => $value, - 'size' => $size, - ); - } - - - /** - * Extract RGB color - * OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.4 - * - * @param string $rgb Encoded RGB value (4 bytes) - * @return array - */ - private static function _readRGB($rgb) - { - // offset: 0; size 1; Red component - $r = ord($rgb{0}); - - // offset: 1; size: 1; Green component - $g = ord($rgb{1}); - - // offset: 2; size: 1; Blue component - $b = ord($rgb{2}); - - // HEX notation, e.g. 'FF00FC' - $rgb = sprintf('%02X%02X%02X', $r, $g, $b); - - return array('rgb' => $rgb); - } - - - /** - * Read byte string (8-bit string length) - * OpenOffice documentation: 2.5.2 - * - * @param string $subData - * @return array - */ - private function _readByteStringShort($subData) - { - // offset: 0; size: 1; length of the string (character count) - $ln = ord($subData[0]); - - // offset: 1: size: var; character array (8-bit characters) - $value = $this->_decodeCodepage(substr($subData, 1, $ln)); - - return array( - 'value' => $value, - 'size' => 1 + $ln, // size in bytes of data structure - ); - } - - - /** - * Read byte string (16-bit string length) - * OpenOffice documentation: 2.5.2 - * - * @param string $subData - * @return array - */ - private function _readByteStringLong($subData) - { - // offset: 0; size: 2; length of the string (character count) - $ln = self::_GetInt2d($subData, 0); - - // offset: 2: size: var; character array (8-bit characters) - $value = $this->_decodeCodepage(substr($subData, 2)); - - //return $string; - return array( - 'value' => $value, - 'size' => 2 + $ln, // size in bytes of data structure - ); - } - - - /** - * Extracts an Excel Unicode short string (8-bit string length) - * OpenOffice documentation: 2.5.3 - * function will automatically find out where the Unicode string ends. - * - * @param string $subData - * @return array - */ - private static function _readUnicodeStringShort($subData) - { - $value = ''; - - // offset: 0: size: 1; length of the string (character count) - $characterCount = ord($subData[0]); - - $string = self::_readUnicodeString(substr($subData, 1), $characterCount); - - // add 1 for the string length - $string['size'] += 1; - - return $string; - } - - - /** - * Extracts an Excel Unicode long string (16-bit string length) - * OpenOffice documentation: 2.5.3 - * this function is under construction, needs to support rich text, and Asian phonetic settings - * - * @param string $subData - * @return array - */ - private static function _readUnicodeStringLong($subData) - { - $value = ''; - - // offset: 0: size: 2; length of the string (character count) - $characterCount = self::_GetInt2d($subData, 0); - - $string = self::_readUnicodeString(substr($subData, 2), $characterCount); - - // add 2 for the string length - $string['size'] += 2; - - return $string; - } - - - /** - * Read Unicode string with no string length field, but with known character count - * this function is under construction, needs to support rich text, and Asian phonetic settings - * OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.3 - * - * @param string $subData - * @param int $characterCount - * @return array - */ - private static function _readUnicodeString($subData, $characterCount) - { - $value = ''; - - // offset: 0: size: 1; option flags - - // bit: 0; mask: 0x01; character compression (0 = compressed 8-bit, 1 = uncompressed 16-bit) - $isCompressed = !((0x01 & ord($subData[0])) >> 0); - - // bit: 2; mask: 0x04; Asian phonetic settings - $hasAsian = (0x04) & ord($subData[0]) >> 2; - - // bit: 3; mask: 0x08; Rich-Text settings - $hasRichText = (0x08) & ord($subData[0]) >> 3; - - // offset: 1: size: var; character array - // this offset assumes richtext and Asian phonetic settings are off which is generally wrong - // needs to be fixed - $value = self::_encodeUTF16(substr($subData, 1, $isCompressed ? $characterCount : 2 * $characterCount), $isCompressed); - - return array( - 'value' => $value, - 'size' => $isCompressed ? 1 + $characterCount : 1 + 2 * $characterCount, // the size in bytes including the option flags - ); - } - - - /** - * Convert UTF-8 string to string surounded by double quotes. Used for explicit string tokens in formulas. - * Example: hello"world --> "hello""world" - * - * @param string $value UTF-8 encoded string - * @return string - */ - private static function _UTF8toExcelDoubleQuoted($value) - { - return '"' . str_replace('"', '""', $value) . '"'; - } - - - /** - * Reads first 8 bytes of a string and return IEEE 754 float - * - * @param string $data Binary string that is at least 8 bytes long - * @return float - */ - private static function _extractNumber($data) - { - $rknumhigh = self::_GetInt4d($data, 4); - $rknumlow = self::_GetInt4d($data, 0); - $sign = ($rknumhigh & 0x80000000) >> 31; - $exp = (($rknumhigh & 0x7ff00000) >> 20) - 1023; - $mantissa = (0x100000 | ($rknumhigh & 0x000fffff)); - $mantissalow1 = ($rknumlow & 0x80000000) >> 31; - $mantissalow2 = ($rknumlow & 0x7fffffff); - $value = $mantissa / pow( 2 , (20 - $exp)); - - if ($mantissalow1 != 0) { - $value += 1 / pow (2 , (21 - $exp)); - } - - $value += $mantissalow2 / pow (2 , (52 - $exp)); - if ($sign) { - $value *= -1; - } - - return $value; - } - - - private static function _GetIEEE754($rknum) - { - if (($rknum & 0x02) != 0) { - $value = $rknum >> 2; - } else { - // changes by mmp, info on IEEE754 encoding from - // research.microsoft.com/~hollasch/cgindex/coding/ieeefloat.html - // The RK format calls for using only the most significant 30 bits - // of the 64 bit floating point value. The other 34 bits are assumed - // to be 0 so we use the upper 30 bits of $rknum as follows... - $sign = ($rknum & 0x80000000) >> 31; - $exp = ($rknum & 0x7ff00000) >> 20; - $mantissa = (0x100000 | ($rknum & 0x000ffffc)); - $value = $mantissa / pow( 2 , (20- ($exp - 1023))); - if ($sign) { - $value = -1 * $value; - } - //end of changes by mmp - } - if (($rknum & 0x01) != 0) { - $value /= 100; - } - return $value; - } - - - /** - * Get UTF-8 string from (compressed or uncompressed) UTF-16 string - * - * @param string $string - * @param bool $compressed - * @return string - */ - private static function _encodeUTF16($string, $compressed = '') - { - if ($compressed) { - $string = self::_uncompressByteString($string); - } - - return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', 'UTF-16LE'); - } - - - /** - * Convert UTF-16 string in compressed notation to uncompressed form. Only used for BIFF8. - * - * @param string $string - * @return string - */ - private static function _uncompressByteString($string) - { - $uncompressedString = ''; - $strLen = strlen($string); - for ($i = 0; $i < $strLen; ++$i) { - $uncompressedString .= $string[$i] . "\0"; - } - - return $uncompressedString; - } - - - /** - * Convert string to UTF-8. Only used for BIFF5. - * - * @param string $string - * @return string - */ - private function _decodeCodepage($string) - { - return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', $this->_codepage); - } - - - /** - * Read 16-bit unsigned integer - * - * @param string $data - * @param int $pos - * @return int - */ - public static function _GetInt2d($data, $pos) - { - return ord($data[$pos]) | (ord($data[$pos+1]) << 8); - } - - - /** - * Read 32-bit signed integer - * - * @param string $data - * @param int $pos - * @return int - */ - public static function _GetInt4d($data, $pos) - { - // FIX: represent numbers correctly on 64-bit system - // http://sourceforge.net/tracker/index.php?func=detail&aid=1487372&group_id=99160&atid=623334 - // Hacked by Andreas Rehm 2006 to ensure correct result of the <<24 block on 32 and 64bit systems - $_or_24 = ord($data[$pos + 3]); - if ($_or_24 >= 128) { - // negative number - $_ord_24 = -abs((256 - $_or_24) << 24); - } else { - $_ord_24 = ($_or_24 & 127) << 24; - } - return ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | $_ord_24; - } - - - /** - * Read color - * - * @param int $color Indexed color - * @param array $palette Color palette - * @return array RGB color value, example: array('rgb' => 'FF0000') - */ - private static function _readColor($color,$palette,$version) - { - if ($color <= 0x07 || $color >= 0x40) { - // special built-in color - return self::_mapBuiltInColor($color); - } elseif (isset($palette) && isset($palette[$color - 8])) { - // palette color, color index 0x08 maps to pallete index 0 - return $palette[$color - 8]; - } else { - // default color table - if ($version == self::XLS_BIFF8) { - return self::_mapColor($color); - } else { - // BIFF5 - return self::_mapColorBIFF5($color); - } - } - - return $color; - } - - - /** - * Map border style - * OpenOffice documentation: 2.5.11 - * - * @param int $index - * @return string - */ - private static function _mapBorderStyle($index) - { - switch ($index) { - case 0x00: return PHPExcel_Style_Border::BORDER_NONE; - case 0x01: return PHPExcel_Style_Border::BORDER_THIN; - case 0x02: return PHPExcel_Style_Border::BORDER_MEDIUM; - case 0x03: return PHPExcel_Style_Border::BORDER_DASHED; - case 0x04: return PHPExcel_Style_Border::BORDER_DOTTED; - case 0x05: return PHPExcel_Style_Border::BORDER_THICK; - case 0x06: return PHPExcel_Style_Border::BORDER_DOUBLE; - case 0x07: return PHPExcel_Style_Border::BORDER_HAIR; - case 0x08: return PHPExcel_Style_Border::BORDER_MEDIUMDASHED; - case 0x09: return PHPExcel_Style_Border::BORDER_DASHDOT; - case 0x0A: return PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT; - case 0x0B: return PHPExcel_Style_Border::BORDER_DASHDOTDOT; - case 0x0C: return PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT; - case 0x0D: return PHPExcel_Style_Border::BORDER_SLANTDASHDOT; - default: return PHPExcel_Style_Border::BORDER_NONE; - } - } - - - /** - * Get fill pattern from index - * OpenOffice documentation: 2.5.12 - * - * @param int $index - * @return string - */ - private static function _mapFillPattern($index) - { - switch ($index) { - case 0x00: return PHPExcel_Style_Fill::FILL_NONE; - case 0x01: return PHPExcel_Style_Fill::FILL_SOLID; - case 0x02: return PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY; - case 0x03: return PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY; - case 0x04: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY; - case 0x05: return PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL; - case 0x06: return PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL; - case 0x07: return PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN; - case 0x08: return PHPExcel_Style_Fill::FILL_PATTERN_DARKUP; - case 0x09: return PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID; - case 0x0A: return PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS; - case 0x0B: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL; - case 0x0C: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL; - case 0x0D: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN; - case 0x0E: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP; - case 0x0F: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID; - case 0x10: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS; - case 0x11: return PHPExcel_Style_Fill::FILL_PATTERN_GRAY125; - case 0x12: return PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625; - default: return PHPExcel_Style_Fill::FILL_NONE; - } - } - - - /** - * Map error code, e.g. '#N/A' - * - * @param int $subData - * @return string - */ - private static function _mapErrorCode($subData) - { - switch ($subData) { - case 0x00: return '#NULL!'; break; - case 0x07: return '#DIV/0!'; break; - case 0x0F: return '#VALUE!'; break; - case 0x17: return '#REF!'; break; - case 0x1D: return '#NAME?'; break; - case 0x24: return '#NUM!'; break; - case 0x2A: return '#N/A'; break; - default: return false; - } - } - - - /** - * Map built-in color to RGB value - * - * @param int $color Indexed color - * @return array - */ - private static function _mapBuiltInColor($color) - { - switch ($color) { - case 0x00: return array('rgb' => '000000'); - case 0x01: return array('rgb' => 'FFFFFF'); - case 0x02: return array('rgb' => 'FF0000'); - case 0x03: return array('rgb' => '00FF00'); - case 0x04: return array('rgb' => '0000FF'); - case 0x05: return array('rgb' => 'FFFF00'); - case 0x06: return array('rgb' => 'FF00FF'); - case 0x07: return array('rgb' => '00FFFF'); - case 0x40: return array('rgb' => '000000'); // system window text color - case 0x41: return array('rgb' => 'FFFFFF'); // system window background color - default: return array('rgb' => '000000'); - } - } - - - /** - * Map color array from BIFF5 built-in color index - * - * @param int $subData - * @return array - */ - private static function _mapColorBIFF5($subData) - { - switch ($subData) { - case 0x08: return array('rgb' => '000000'); - case 0x09: return array('rgb' => 'FFFFFF'); - case 0x0A: return array('rgb' => 'FF0000'); - case 0x0B: return array('rgb' => '00FF00'); - case 0x0C: return array('rgb' => '0000FF'); - case 0x0D: return array('rgb' => 'FFFF00'); - case 0x0E: return array('rgb' => 'FF00FF'); - case 0x0F: return array('rgb' => '00FFFF'); - case 0x10: return array('rgb' => '800000'); - case 0x11: return array('rgb' => '008000'); - case 0x12: return array('rgb' => '000080'); - case 0x13: return array('rgb' => '808000'); - case 0x14: return array('rgb' => '800080'); - case 0x15: return array('rgb' => '008080'); - case 0x16: return array('rgb' => 'C0C0C0'); - case 0x17: return array('rgb' => '808080'); - case 0x18: return array('rgb' => '8080FF'); - case 0x19: return array('rgb' => '802060'); - case 0x1A: return array('rgb' => 'FFFFC0'); - case 0x1B: return array('rgb' => 'A0E0F0'); - case 0x1C: return array('rgb' => '600080'); - case 0x1D: return array('rgb' => 'FF8080'); - case 0x1E: return array('rgb' => '0080C0'); - case 0x1F: return array('rgb' => 'C0C0FF'); - case 0x20: return array('rgb' => '000080'); - case 0x21: return array('rgb' => 'FF00FF'); - case 0x22: return array('rgb' => 'FFFF00'); - case 0x23: return array('rgb' => '00FFFF'); - case 0x24: return array('rgb' => '800080'); - case 0x25: return array('rgb' => '800000'); - case 0x26: return array('rgb' => '008080'); - case 0x27: return array('rgb' => '0000FF'); - case 0x28: return array('rgb' => '00CFFF'); - case 0x29: return array('rgb' => '69FFFF'); - case 0x2A: return array('rgb' => 'E0FFE0'); - case 0x2B: return array('rgb' => 'FFFF80'); - case 0x2C: return array('rgb' => 'A6CAF0'); - case 0x2D: return array('rgb' => 'DD9CB3'); - case 0x2E: return array('rgb' => 'B38FEE'); - case 0x2F: return array('rgb' => 'E3E3E3'); - case 0x30: return array('rgb' => '2A6FF9'); - case 0x31: return array('rgb' => '3FB8CD'); - case 0x32: return array('rgb' => '488436'); - case 0x33: return array('rgb' => '958C41'); - case 0x34: return array('rgb' => '8E5E42'); - case 0x35: return array('rgb' => 'A0627A'); - case 0x36: return array('rgb' => '624FAC'); - case 0x37: return array('rgb' => '969696'); - case 0x38: return array('rgb' => '1D2FBE'); - case 0x39: return array('rgb' => '286676'); - case 0x3A: return array('rgb' => '004500'); - case 0x3B: return array('rgb' => '453E01'); - case 0x3C: return array('rgb' => '6A2813'); - case 0x3D: return array('rgb' => '85396A'); - case 0x3E: return array('rgb' => '4A3285'); - case 0x3F: return array('rgb' => '424242'); - default: return array('rgb' => '000000'); - } - } - - - /** - * Map color array from BIFF8 built-in color index - * - * @param int $subData - * @return array - */ - private static function _mapColor($subData) - { - switch ($subData) { - case 0x08: return array('rgb' => '000000'); - case 0x09: return array('rgb' => 'FFFFFF'); - case 0x0A: return array('rgb' => 'FF0000'); - case 0x0B: return array('rgb' => '00FF00'); - case 0x0C: return array('rgb' => '0000FF'); - case 0x0D: return array('rgb' => 'FFFF00'); - case 0x0E: return array('rgb' => 'FF00FF'); - case 0x0F: return array('rgb' => '00FFFF'); - case 0x10: return array('rgb' => '800000'); - case 0x11: return array('rgb' => '008000'); - case 0x12: return array('rgb' => '000080'); - case 0x13: return array('rgb' => '808000'); - case 0x14: return array('rgb' => '800080'); - case 0x15: return array('rgb' => '008080'); - case 0x16: return array('rgb' => 'C0C0C0'); - case 0x17: return array('rgb' => '808080'); - case 0x18: return array('rgb' => '9999FF'); - case 0x19: return array('rgb' => '993366'); - case 0x1A: return array('rgb' => 'FFFFCC'); - case 0x1B: return array('rgb' => 'CCFFFF'); - case 0x1C: return array('rgb' => '660066'); - case 0x1D: return array('rgb' => 'FF8080'); - case 0x1E: return array('rgb' => '0066CC'); - case 0x1F: return array('rgb' => 'CCCCFF'); - case 0x20: return array('rgb' => '000080'); - case 0x21: return array('rgb' => 'FF00FF'); - case 0x22: return array('rgb' => 'FFFF00'); - case 0x23: return array('rgb' => '00FFFF'); - case 0x24: return array('rgb' => '800080'); - case 0x25: return array('rgb' => '800000'); - case 0x26: return array('rgb' => '008080'); - case 0x27: return array('rgb' => '0000FF'); - case 0x28: return array('rgb' => '00CCFF'); - case 0x29: return array('rgb' => 'CCFFFF'); - case 0x2A: return array('rgb' => 'CCFFCC'); - case 0x2B: return array('rgb' => 'FFFF99'); - case 0x2C: return array('rgb' => '99CCFF'); - case 0x2D: return array('rgb' => 'FF99CC'); - case 0x2E: return array('rgb' => 'CC99FF'); - case 0x2F: return array('rgb' => 'FFCC99'); - case 0x30: return array('rgb' => '3366FF'); - case 0x31: return array('rgb' => '33CCCC'); - case 0x32: return array('rgb' => '99CC00'); - case 0x33: return array('rgb' => 'FFCC00'); - case 0x34: return array('rgb' => 'FF9900'); - case 0x35: return array('rgb' => 'FF6600'); - case 0x36: return array('rgb' => '666699'); - case 0x37: return array('rgb' => '969696'); - case 0x38: return array('rgb' => '003366'); - case 0x39: return array('rgb' => '339966'); - case 0x3A: return array('rgb' => '003300'); - case 0x3B: return array('rgb' => '333300'); - case 0x3C: return array('rgb' => '993300'); - case 0x3D: return array('rgb' => '993366'); - case 0x3E: return array('rgb' => '333399'); - case 0x3F: return array('rgb' => '333333'); - default: return array('rgb' => '000000'); - } - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText($is); - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/Escher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/Escher.php deleted file mode 100644 index 8dc5e902e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/Escher.php +++ /dev/null @@ -1,640 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Reader_Excel5_Escher - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel5_Escher -{ - const DGGCONTAINER = 0xF000; - const BSTORECONTAINER = 0xF001; - const DGCONTAINER = 0xF002; - const SPGRCONTAINER = 0xF003; - const SPCONTAINER = 0xF004; - const DGG = 0xF006; - const BSE = 0xF007; - const DG = 0xF008; - const SPGR = 0xF009; - const SP = 0xF00A; - const OPT = 0xF00B; - const CLIENTTEXTBOX = 0xF00D; - const CLIENTANCHOR = 0xF010; - const CLIENTDATA = 0xF011; - const BLIPJPEG = 0xF01D; - const BLIPPNG = 0xF01E; - const SPLITMENUCOLORS = 0xF11E; - const TERTIARYOPT = 0xF122; - - /** - * Escher stream data (binary) - * - * @var string - */ - private $_data; - - /** - * Size in bytes of the Escher stream data - * - * @var int - */ - private $_dataSize; - - /** - * Current position of stream pointer in Escher stream data - * - * @var int - */ - private $_pos; - - /** - * The object to be returned by the reader. Modified during load. - * - * @var mixed - */ - private $_object; - - /** - * Create a new PHPExcel_Reader_Excel5_Escher instance - * - * @param mixed $object - */ - public function __construct($object) - { - $this->_object = $object; - } - - /** - * Load Escher stream data. May be a partial Escher stream. - * - * @param string $data - */ - public function load($data) - { - $this->_data = $data; - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - $this->_pos = 0; - - // Parse Escher stream - while ($this->_pos < $this->_dataSize) { - - // offset: 2; size: 2: Record Type - $fbt = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos + 2); - - switch ($fbt) { - case self::DGGCONTAINER: $this->_readDggContainer(); break; - case self::DGG: $this->_readDgg(); break; - case self::BSTORECONTAINER: $this->_readBstoreContainer(); break; - case self::BSE: $this->_readBSE(); break; - case self::BLIPJPEG: $this->_readBlipJPEG(); break; - case self::BLIPPNG: $this->_readBlipPNG(); break; - case self::OPT: $this->_readOPT(); break; - case self::TERTIARYOPT: $this->_readTertiaryOPT(); break; - case self::SPLITMENUCOLORS: $this->_readSplitMenuColors(); break; - case self::DGCONTAINER: $this->_readDgContainer(); break; - case self::DG: $this->_readDg(); break; - case self::SPGRCONTAINER: $this->_readSpgrContainer(); break; - case self::SPCONTAINER: $this->_readSpContainer(); break; - case self::SPGR: $this->_readSpgr(); break; - case self::SP: $this->_readSp(); break; - case self::CLIENTTEXTBOX: $this->_readClientTextbox(); break; - case self::CLIENTANCHOR: $this->_readClientAnchor(); break; - case self::CLIENTDATA: $this->_readClientData(); break; - default: $this->_readDefault(); break; - } - } - - return $this->_object; - } - - /** - * Read a generic record - */ - private function _readDefault() - { - // offset 0; size: 2; recVer and recInstance - $verInstance = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos); - - // offset: 2; size: 2: Record Type - $fbt = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos + 2); - - // bit: 0-3; mask: 0x000F; recVer - $recVer = (0x000F & $verInstance) >> 0; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read DggContainer record (Drawing Group Container) - */ - private function _readDggContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $dggContainer = new PHPExcel_Shared_Escher_DggContainer(); - $this->_object->setDggContainer($dggContainer); - $reader = new PHPExcel_Reader_Excel5_Escher($dggContainer); - $reader->load($recordData); - } - - /** - * Read Dgg record (Drawing Group) - */ - private function _readDgg() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read BstoreContainer record (Blip Store Container) - */ - private function _readBstoreContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $bstoreContainer = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer(); - $this->_object->setBstoreContainer($bstoreContainer); - $reader = new PHPExcel_Reader_Excel5_Escher($bstoreContainer); - $reader->load($recordData); - } - - /** - * Read BSE record - */ - private function _readBSE() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // add BSE to BstoreContainer - $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE(); - $this->_object->addBSE($BSE); - - $BSE->setBLIPType($recInstance); - - // offset: 0; size: 1; btWin32 (MSOBLIPTYPE) - $btWin32 = ord($recordData[0]); - - // offset: 1; size: 1; btWin32 (MSOBLIPTYPE) - $btMacOS = ord($recordData[1]); - - // offset: 2; size: 16; MD4 digest - $rgbUid = substr($recordData, 2, 16); - - // offset: 18; size: 2; tag - $tag = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 18); - - // offset: 20; size: 4; size of BLIP in bytes - $size = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 20); - - // offset: 24; size: 4; number of references to this BLIP - $cRef = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 24); - - // offset: 28; size: 4; MSOFO file offset - $foDelay = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 28); - - // offset: 32; size: 1; unused1 - $unused1 = ord($recordData{32}); - - // offset: 33; size: 1; size of nameData in bytes (including null terminator) - $cbName = ord($recordData{33}); - - // offset: 34; size: 1; unused2 - $unused2 = ord($recordData{34}); - - // offset: 35; size: 1; unused3 - $unused3 = ord($recordData{35}); - - // offset: 36; size: $cbName; nameData - $nameData = substr($recordData, 36, $cbName); - - // offset: 36 + $cbName, size: var; the BLIP data - $blipData = substr($recordData, 36 + $cbName); - - // record is a container, read contents - $reader = new PHPExcel_Reader_Excel5_Escher($BSE); - $reader->load($blipData); - } - - /** - * Read BlipJPEG record. Holds raw JPEG image data - */ - private function _readBlipJPEG() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - $pos = 0; - - // offset: 0; size: 16; rgbUid1 (MD4 digest of) - $rgbUid1 = substr($recordData, 0, 16); - $pos += 16; - - // offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3 - if (in_array($recInstance, array(0x046B, 0x06E3))) { - $rgbUid2 = substr($recordData, 16, 16); - $pos += 16; - } - - // offset: var; size: 1; tag - $tag = ord($recordData{$pos}); - $pos += 1; - - // offset: var; size: var; the raw image data - $data = substr($recordData, $pos); - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($data); - - $this->_object->setBlip($blip); - } - - /** - * Read BlipPNG record. Holds raw PNG image data - */ - private function _readBlipPNG() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - $pos = 0; - - // offset: 0; size: 16; rgbUid1 (MD4 digest of) - $rgbUid1 = substr($recordData, 0, 16); - $pos += 16; - - // offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3 - if ($recInstance == 0x06E1) { - $rgbUid2 = substr($recordData, 16, 16); - $pos += 16; - } - - // offset: var; size: 1; tag - $tag = ord($recordData{$pos}); - $pos += 1; - - // offset: var; size: var; the raw image data - $data = substr($recordData, $pos); - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($data); - - $this->_object->setBlip($blip); - } - - /** - * Read OPT record. This record may occur within DggContainer record or SpContainer - */ - private function _readOPT() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - $this->_readOfficeArtRGFOPTE($recordData, $recInstance); - } - - /** - * Read TertiaryOPT record - */ - private function _readTertiaryOPT() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read SplitMenuColors record - */ - private function _readSplitMenuColors() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read DgContainer record (Drawing Container) - */ - private function _readDgContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $dgContainer = new PHPExcel_Shared_Escher_DgContainer(); - $this->_object->setDgContainer($dgContainer); - $reader = new PHPExcel_Reader_Excel5_Escher($dgContainer); - $escher = $reader->load($recordData); - } - - /** - * Read Dg record (Drawing) - */ - private function _readDg() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read SpgrContainer record (Shape Group Container) - */ - private function _readSpgrContainer() - { - // context is either context DgContainer or SpgrContainer - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $spgrContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer(); - - if ($this->_object instanceof PHPExcel_Shared_Escher_DgContainer) { - // DgContainer - $this->_object->setSpgrContainer($spgrContainer); - } else { - // SpgrContainer - $this->_object->addChild($spgrContainer); - } - - $reader = new PHPExcel_Reader_Excel5_Escher($spgrContainer); - $escher = $reader->load($recordData); - } - - /** - * Read SpContainer record (Shape Container) - */ - private function _readSpContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // add spContainer to spgrContainer - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - $this->_object->addChild($spContainer); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $reader = new PHPExcel_Reader_Excel5_Escher($spContainer); - $escher = $reader->load($recordData); - } - - /** - * Read Spgr record (Shape Group) - */ - private function _readSpgr() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read Sp record (Shape) - */ - private function _readSp() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read ClientTextbox record - */ - private function _readClientTextbox() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read ClientAnchor record. This record holds information about where the shape is anchored in worksheet - */ - private function _readClientAnchor() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // offset: 2; size: 2; upper-left corner column index (0-based) - $c1 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 2); - - // offset: 4; size: 2; upper-left corner horizontal offset in 1/1024 of column width - $startOffsetX = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 4); - - // offset: 6; size: 2; upper-left corner row index (0-based) - $r1 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 6); - - // offset: 8; size: 2; upper-left corner vertical offset in 1/256 of row height - $startOffsetY = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 8); - - // offset: 10; size: 2; bottom-right corner column index (0-based) - $c2 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 10); - - // offset: 12; size: 2; bottom-right corner horizontal offset in 1/1024 of column width - $endOffsetX = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 12); - - // offset: 14; size: 2; bottom-right corner row index (0-based) - $r2 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 14); - - // offset: 16; size: 2; bottom-right corner vertical offset in 1/256 of row height - $endOffsetY = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 16); - - // set the start coordinates - $this->_object->setStartCoordinates(PHPExcel_Cell::stringFromColumnIndex($c1) . ($r1 + 1)); - - // set the start offsetX - $this->_object->setStartOffsetX($startOffsetX); - - // set the start offsetY - $this->_object->setStartOffsetY($startOffsetY); - - // set the end coordinates - $this->_object->setEndCoordinates(PHPExcel_Cell::stringFromColumnIndex($c2) . ($r2 + 1)); - - // set the end offsetX - $this->_object->setEndOffsetX($endOffsetX); - - // set the end offsetY - $this->_object->setEndOffsetY($endOffsetY); - } - - /** - * Read ClientData record - */ - private function _readClientData() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read OfficeArtRGFOPTE table of property-value pairs - * - * @param string $data Binary data - * @param int $n Number of properties - */ - private function _readOfficeArtRGFOPTE($data, $n) { - - $splicedComplexData = substr($data, 6 * $n); - - // loop through property-value pairs - for ($i = 0; $i < $n; ++$i) { - // read 6 bytes at a time - $fopte = substr($data, 6 * $i, 6); - - // offset: 0; size: 2; opid - $opid = PHPExcel_Reader_Excel5::_GetInt2d($fopte, 0); - - // bit: 0-13; mask: 0x3FFF; opid.opid - $opidOpid = (0x3FFF & $opid) >> 0; - - // bit: 14; mask 0x4000; 1 = value in op field is BLIP identifier - $opidFBid = (0x4000 & $opid) >> 14; - - // bit: 15; mask 0x8000; 1 = this is a complex property, op field specifies size of complex data - $opidFComplex = (0x8000 & $opid) >> 15; - - // offset: 2; size: 4; the value for this property - $op = PHPExcel_Reader_Excel5::_GetInt4d($fopte, 2); - - if ($opidFComplex) { - $complexData = substr($splicedComplexData, 0, $op); - $splicedComplexData = substr($splicedComplexData, $op); - - // we store string value with complex data - $value = $complexData; - } else { - // we store integer value - $value = $op; - } - - $this->_object->setOPT($opidOpid, $value); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/MD5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/MD5.php deleted file mode 100644 index 097e9753f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/MD5.php +++ /dev/null @@ -1,221 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_Excel5_MD5 - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel5_MD5 -{ - // Context - private $a; - private $b; - private $c; - private $d; - - - /** - * MD5 stream constructor - */ - public function __construct() - { - $this->reset(); - } - - - /** - * Reset the MD5 stream context - */ - public function reset() - { - $this->a = 0x67452301; - $this->b = 0xEFCDAB89; - $this->c = 0x98BADCFE; - $this->d = 0x10325476; - } - - - /** - * Get MD5 stream context - * - * @return string - */ - public function getContext() - { - $s = ''; - foreach (array('a', 'b', 'c', 'd') as $i) { - $v = $this->{$i}; - $s .= chr($v & 0xff); - $s .= chr(($v >> 8) & 0xff); - $s .= chr(($v >> 16) & 0xff); - $s .= chr(($v >> 24) & 0xff); - } - - return $s; - } - - - /** - * Add data to context - * - * @param string $data Data to add - */ - public function add($data) - { - $words = array_values(unpack('V16', $data)); - - $A = $this->a; - $B = $this->b; - $C = $this->c; - $D = $this->d; - - $F = array('PHPExcel_Reader_Excel5_MD5','F'); - $G = array('PHPExcel_Reader_Excel5_MD5','G'); - $H = array('PHPExcel_Reader_Excel5_MD5','H'); - $I = array('PHPExcel_Reader_Excel5_MD5','I'); - - /* ROUND 1 */ - self::step($F, $A, $B, $C, $D, $words[0], 7, 0xd76aa478); - self::step($F, $D, $A, $B, $C, $words[1], 12, 0xe8c7b756); - self::step($F, $C, $D, $A, $B, $words[2], 17, 0x242070db); - self::step($F, $B, $C, $D, $A, $words[3], 22, 0xc1bdceee); - self::step($F, $A, $B, $C, $D, $words[4], 7, 0xf57c0faf); - self::step($F, $D, $A, $B, $C, $words[5], 12, 0x4787c62a); - self::step($F, $C, $D, $A, $B, $words[6], 17, 0xa8304613); - self::step($F, $B, $C, $D, $A, $words[7], 22, 0xfd469501); - self::step($F, $A, $B, $C, $D, $words[8], 7, 0x698098d8); - self::step($F, $D, $A, $B, $C, $words[9], 12, 0x8b44f7af); - self::step($F, $C, $D, $A, $B, $words[10], 17, 0xffff5bb1); - self::step($F, $B, $C, $D, $A, $words[11], 22, 0x895cd7be); - self::step($F, $A, $B, $C, $D, $words[12], 7, 0x6b901122); - self::step($F, $D, $A, $B, $C, $words[13], 12, 0xfd987193); - self::step($F, $C, $D, $A, $B, $words[14], 17, 0xa679438e); - self::step($F, $B, $C, $D, $A, $words[15], 22, 0x49b40821); - - /* ROUND 2 */ - self::step($G, $A, $B, $C, $D, $words[1], 5, 0xf61e2562); - self::step($G, $D, $A, $B, $C, $words[6], 9, 0xc040b340); - self::step($G, $C, $D, $A, $B, $words[11], 14, 0x265e5a51); - self::step($G, $B, $C, $D, $A, $words[0], 20, 0xe9b6c7aa); - self::step($G, $A, $B, $C, $D, $words[5], 5, 0xd62f105d); - self::step($G, $D, $A, $B, $C, $words[10], 9, 0x02441453); - self::step($G, $C, $D, $A, $B, $words[15], 14, 0xd8a1e681); - self::step($G, $B, $C, $D, $A, $words[4], 20, 0xe7d3fbc8); - self::step($G, $A, $B, $C, $D, $words[9], 5, 0x21e1cde6); - self::step($G, $D, $A, $B, $C, $words[14], 9, 0xc33707d6); - self::step($G, $C, $D, $A, $B, $words[3], 14, 0xf4d50d87); - self::step($G, $B, $C, $D, $A, $words[8], 20, 0x455a14ed); - self::step($G, $A, $B, $C, $D, $words[13], 5, 0xa9e3e905); - self::step($G, $D, $A, $B, $C, $words[2], 9, 0xfcefa3f8); - self::step($G, $C, $D, $A, $B, $words[7], 14, 0x676f02d9); - self::step($G, $B, $C, $D, $A, $words[12], 20, 0x8d2a4c8a); - - /* ROUND 3 */ - self::step($H, $A, $B, $C, $D, $words[5], 4, 0xfffa3942); - self::step($H, $D, $A, $B, $C, $words[8], 11, 0x8771f681); - self::step($H, $C, $D, $A, $B, $words[11], 16, 0x6d9d6122); - self::step($H, $B, $C, $D, $A, $words[14], 23, 0xfde5380c); - self::step($H, $A, $B, $C, $D, $words[1], 4, 0xa4beea44); - self::step($H, $D, $A, $B, $C, $words[4], 11, 0x4bdecfa9); - self::step($H, $C, $D, $A, $B, $words[7], 16, 0xf6bb4b60); - self::step($H, $B, $C, $D, $A, $words[10], 23, 0xbebfbc70); - self::step($H, $A, $B, $C, $D, $words[13], 4, 0x289b7ec6); - self::step($H, $D, $A, $B, $C, $words[0], 11, 0xeaa127fa); - self::step($H, $C, $D, $A, $B, $words[3], 16, 0xd4ef3085); - self::step($H, $B, $C, $D, $A, $words[6], 23, 0x04881d05); - self::step($H, $A, $B, $C, $D, $words[9], 4, 0xd9d4d039); - self::step($H, $D, $A, $B, $C, $words[12], 11, 0xe6db99e5); - self::step($H, $C, $D, $A, $B, $words[15], 16, 0x1fa27cf8); - self::step($H, $B, $C, $D, $A, $words[2], 23, 0xc4ac5665); - - /* ROUND 4 */ - self::step($I, $A, $B, $C, $D, $words[0], 6, 0xf4292244); - self::step($I, $D, $A, $B, $C, $words[7], 10, 0x432aff97); - self::step($I, $C, $D, $A, $B, $words[14], 15, 0xab9423a7); - self::step($I, $B, $C, $D, $A, $words[5], 21, 0xfc93a039); - self::step($I, $A, $B, $C, $D, $words[12], 6, 0x655b59c3); - self::step($I, $D, $A, $B, $C, $words[3], 10, 0x8f0ccc92); - self::step($I, $C, $D, $A, $B, $words[10], 15, 0xffeff47d); - self::step($I, $B, $C, $D, $A, $words[1], 21, 0x85845dd1); - self::step($I, $A, $B, $C, $D, $words[8], 6, 0x6fa87e4f); - self::step($I, $D, $A, $B, $C, $words[15], 10, 0xfe2ce6e0); - self::step($I, $C, $D, $A, $B, $words[6], 15, 0xa3014314); - self::step($I, $B, $C, $D, $A, $words[13], 21, 0x4e0811a1); - self::step($I, $A, $B, $C, $D, $words[4], 6, 0xf7537e82); - self::step($I, $D, $A, $B, $C, $words[11], 10, 0xbd3af235); - self::step($I, $C, $D, $A, $B, $words[2], 15, 0x2ad7d2bb); - self::step($I, $B, $C, $D, $A, $words[9], 21, 0xeb86d391); - - $this->a = ($this->a + $A) & 0xffffffff; - $this->b = ($this->b + $B) & 0xffffffff; - $this->c = ($this->c + $C) & 0xffffffff; - $this->d = ($this->d + $D) & 0xffffffff; - } - - - private static function F($X, $Y, $Z) - { - return (($X & $Y) | ((~ $X) & $Z)); // X AND Y OR NOT X AND Z - } - - - private static function G($X, $Y, $Z) - { - return (($X & $Z) | ($Y & (~ $Z))); // X AND Z OR Y AND NOT Z - } - - - private static function H($X, $Y, $Z) - { - return ($X ^ $Y ^ $Z); // X XOR Y XOR Z - } - - - private static function I($X, $Y, $Z) - { - return ($Y ^ ($X | (~ $Z))) ; // Y XOR (X OR NOT Z) - } - - - private static function step($func, &$A, $B, $C, $D, $M, $s, $t) - { - $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff; - $A = self::rotate($A, $s); - $A = ($B + $A) & 0xffffffff; - } - - - private static function rotate($decimal, $bits) - { - $binary = str_pad(decbin($decimal), 32, "0", STR_PAD_LEFT); - return bindec(substr($binary, $bits).substr($binary, 0, $bits)); - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/RC4.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/RC4.php deleted file mode 100644 index 199ee1921..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/RC4.php +++ /dev/null @@ -1,88 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Reader_Excel5_RC4 - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel5_RC4 -{ - // Context - var $s = array(); - var $i = 0; - var $j = 0; - - /** - * RC4 stream decryption/encryption constrcutor - * - * @param string $key Encryption key/passphrase - */ - public function __construct($key) - { - $len = strlen($key); - - for ($this->i = 0; $this->i < 256; $this->i++) { - $this->s[$this->i] = $this->i; - } - - $this->j = 0; - for ($this->i = 0; $this->i < 256; $this->i++) { - $this->j = ($this->j + $this->s[$this->i] + ord($key[$this->i % $len])) % 256; - $t = $this->s[$this->i]; - $this->s[$this->i] = $this->s[$this->j]; - $this->s[$this->j] = $t; - } - $this->i = $this->j = 0; - } - - /** - * Symmetric decryption/encryption function - * - * @param string $data Data to encrypt/decrypt - * - * @return string - */ - public function RC4($data) - { - $len = strlen($data); - for ($c = 0; $c < $len; $c++) { - $this->i = ($this->i + 1) % 256; - $this->j = ($this->j + $this->s[$this->i]) % 256; - $t = $this->s[$this->i]; - $this->s[$this->i] = $this->s[$this->j]; - $this->s[$this->j] = $t; - - $t = ($this->s[$this->i] + $this->s[$this->j]) % 256; - - $data[$c] = chr(ord($data[$c]) ^ $this->s[$t]); - } - return $data; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Excel5/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Exception.php deleted file mode 100644 index d0e2f5707..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_Exception - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Exception extends PHPExcel_Exception { - /** - * Error handler callback - * - * @param mixed $code - * @param mixed $string - * @param mixed $file - * @param mixed $line - * @param mixed $context - */ - public static function errorHandlerCallback($code, $string, $file, $line, $context) { - $e = new self($string, $code); - $e->line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Gnumeric.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Gnumeric.php deleted file mode 100644 index d8121495d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/Gnumeric.php +++ /dev/null @@ -1,873 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_Gnumeric - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Gnumeric extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Formats - * - * @var array - */ - private $_styles = array(); - - /** - * Shared Expressions - * - * @var array - */ - private $_expressions = array(); - - private $_referenceHelper = null; - - - /** - * Create a new PHPExcel_Reader_Gnumeric - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - $this->_referenceHelper = PHPExcel_ReferenceHelper::getInstance(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - // Check if gzlib functions are available - if (!function_exists('gzread')) { - throw new PHPExcel_Reader_Exception("gzlib library is not enabled"); - } - - // Read signature data (first 3 bytes) - $fh = fopen($pFilename, 'r'); - $data = fread($fh, 2); - fclose($fh); - - if ($data != chr(0x1F).chr(0x8B)) { - return false; - } - - return true; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $xml = new XMLReader(); - $xml->open( - 'compress.zlib://'.realpath($pFilename), null, PHPExcel_Settings::getLibXmlLoaderOptions() - ); - $xml->setParserProperty(2,true); - - $worksheetNames = array(); - while ($xml->read()) { - if ($xml->name == 'gnm:SheetName' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $worksheetNames[] = (string) $xml->value; - } elseif ($xml->name == 'gnm:Sheets') { - // break out of the loop once we've got our sheet names rather than parse the entire file - break; - } - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $xml = new XMLReader(); - $xml->open( - 'compress.zlib://'.realpath($pFilename), null, PHPExcel_Settings::getLibXmlLoaderOptions() - ); - $xml->setParserProperty(2,true); - - $worksheetInfo = array(); - while ($xml->read()) { - if ($xml->name == 'gnm:Sheet' && $xml->nodeType == XMLReader::ELEMENT) { - $tmpInfo = array( - 'worksheetName' => '', - 'lastColumnLetter' => 'A', - 'lastColumnIndex' => 0, - 'totalRows' => 0, - 'totalColumns' => 0, - ); - - while ($xml->read()) { - if ($xml->name == 'gnm:Name' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $tmpInfo['worksheetName'] = (string) $xml->value; - } elseif ($xml->name == 'gnm:MaxCol' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $tmpInfo['lastColumnIndex'] = (int) $xml->value; - $tmpInfo['totalColumns'] = (int) $xml->value + 1; - } elseif ($xml->name == 'gnm:MaxRow' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $tmpInfo['totalRows'] = (int) $xml->value + 1; - break; - } - } - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $worksheetInfo[] = $tmpInfo; - } - } - - return $worksheetInfo; - } - - - private function _gzfileGetContents($filename) { - $file = @gzopen($filename, 'rb'); - if ($file !== false) { - $data = ''; - while (!gzeof($file)) { - $data .= gzread($file, 1024); - } - gzclose($file); - } - return $data; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $timezoneObj = new DateTimeZone('Europe/London'); - $GMT = new DateTimeZone('UTC'); - - $gFileData = $this->_gzfileGetContents($pFilename); - -// echo '<pre>'; -// echo htmlentities($gFileData,ENT_QUOTES,'UTF-8'); -// echo '</pre><hr />'; -// - $xml = simplexml_load_string($gFileData, 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesMeta = $xml->getNamespaces(true); - -// var_dump($namespacesMeta); -// - $gnmXML = $xml->children($namespacesMeta['gnm']); - - $docProps = $objPHPExcel->getProperties(); - // Document Properties are held differently, depending on the version of Gnumeric - if (isset($namespacesMeta['office'])) { - $officeXML = $xml->children($namespacesMeta['office']); - $officeDocXML = $officeXML->{'document-meta'}; - $officeDocMetaXML = $officeDocXML->meta; - - foreach($officeDocMetaXML as $officePropertyData) { - - $officePropertyDC = array(); - if (isset($namespacesMeta['dc'])) { - $officePropertyDC = $officePropertyData->children($namespacesMeta['dc']); - } - foreach($officePropertyDC as $propertyName => $propertyValue) { - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'title' : - $docProps->setTitle(trim($propertyValue)); - break; - case 'subject' : - $docProps->setSubject(trim($propertyValue)); - break; - case 'creator' : - $docProps->setCreator(trim($propertyValue)); - $docProps->setLastModifiedBy(trim($propertyValue)); - break; - case 'date' : - $creationDate = strtotime(trim($propertyValue)); - $docProps->setCreated($creationDate); - $docProps->setModified($creationDate); - break; - case 'description' : - $docProps->setDescription(trim($propertyValue)); - break; - } - } - $officePropertyMeta = array(); - if (isset($namespacesMeta['meta'])) { - $officePropertyMeta = $officePropertyData->children($namespacesMeta['meta']); - } - foreach($officePropertyMeta as $propertyName => $propertyValue) { - $attributes = $propertyValue->attributes($namespacesMeta['meta']); - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'keyword' : - $docProps->setKeywords(trim($propertyValue)); - break; - case 'initial-creator' : - $docProps->setCreator(trim($propertyValue)); - $docProps->setLastModifiedBy(trim($propertyValue)); - break; - case 'creation-date' : - $creationDate = strtotime(trim($propertyValue)); - $docProps->setCreated($creationDate); - $docProps->setModified($creationDate); - break; - case 'user-defined' : - list(,$attrName) = explode(':',$attributes['name']); - switch ($attrName) { - case 'publisher' : - $docProps->setCompany(trim($propertyValue)); - break; - case 'category' : - $docProps->setCategory(trim($propertyValue)); - break; - case 'manager' : - $docProps->setManager(trim($propertyValue)); - break; - } - break; - } - } - } - } elseif (isset($gnmXML->Summary)) { - foreach($gnmXML->Summary->Item as $summaryItem) { - $propertyName = $summaryItem->name; - $propertyValue = $summaryItem->{'val-string'}; - switch ($propertyName) { - case 'title' : - $docProps->setTitle(trim($propertyValue)); - break; - case 'comments' : - $docProps->setDescription(trim($propertyValue)); - break; - case 'keywords' : - $docProps->setKeywords(trim($propertyValue)); - break; - case 'category' : - $docProps->setCategory(trim($propertyValue)); - break; - case 'manager' : - $docProps->setManager(trim($propertyValue)); - break; - case 'author' : - $docProps->setCreator(trim($propertyValue)); - $docProps->setLastModifiedBy(trim($propertyValue)); - break; - case 'company' : - $docProps->setCompany(trim($propertyValue)); - break; - } - } - } - - $worksheetID = 0; - foreach($gnmXML->Sheets->Sheet as $sheet) { - $worksheetName = (string) $sheet->Name; -// echo '<b>Worksheet: ',$worksheetName,'</b><br />'; - if ((isset($this->_loadSheetsOnly)) && (!in_array($worksheetName, $this->_loadSheetsOnly))) { - continue; - } - - $maxRow = $maxCol = 0; - - // Create new Worksheet - $objPHPExcel->createSheet(); - $objPHPExcel->setActiveSheetIndex($worksheetID); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in formula - // cells... during the load, all formulae should be correct, and we're simply bringing the worksheet - // name in line with the formula, not the reverse - $objPHPExcel->getActiveSheet()->setTitle($worksheetName,false); - - if ((!$this->_readDataOnly) && (isset($sheet->PrintInformation))) { - if (isset($sheet->PrintInformation->Margins)) { - foreach($sheet->PrintInformation->Margins->children('gnm',TRUE) as $key => $margin) { - $marginAttributes = $margin->attributes(); - $marginSize = 72 / 100; // Default - switch($marginAttributes['PrefUnit']) { - case 'mm' : - $marginSize = intval($marginAttributes['Points']) / 100; - break; - } - switch($key) { - case 'top' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setTop($marginSize); - break; - case 'bottom' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setBottom($marginSize); - break; - case 'left' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setLeft($marginSize); - break; - case 'right' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setRight($marginSize); - break; - case 'header' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setHeader($marginSize); - break; - case 'footer' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setFooter($marginSize); - break; - } - } - } - } - - foreach($sheet->Cells->Cell as $cell) { - $cellAttributes = $cell->attributes(); - $row = (int) $cellAttributes->Row + 1; - $column = (int) $cellAttributes->Col; - - if ($row > $maxRow) $maxRow = $row; - if ($column > $maxCol) $maxCol = $column; - - $column = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if ($this->getReadFilter() !== NULL) { - if (!$this->getReadFilter()->readCell($column, $row, $worksheetName)) { - continue; - } - } - - $ValueType = $cellAttributes->ValueType; - $ExprID = (string) $cellAttributes->ExprID; -// echo 'Cell ',$column,$row,'<br />'; -// echo 'Type is ',$ValueType,'<br />'; -// echo 'Value is ',$cell,'<br />'; - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; - if ($ExprID > '') { - if (((string) $cell) > '') { - - $this->_expressions[$ExprID] = array( 'column' => $cellAttributes->Col, - 'row' => $cellAttributes->Row, - 'formula' => (string) $cell - ); -// echo 'NEW EXPRESSION ',$ExprID,'<br />'; - } else { - $expression = $this->_expressions[$ExprID]; - - $cell = $this->_referenceHelper->updateFormulaReferences( $expression['formula'], - 'A1', - $cellAttributes->Col - $expression['column'], - $cellAttributes->Row - $expression['row'], - $worksheetName - ); -// echo 'SHARED EXPRESSION ',$ExprID,'<br />'; -// echo 'New Value is ',$cell,'<br />'; - } - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; - } else { - switch($ValueType) { - case '10' : // NULL - $type = PHPExcel_Cell_DataType::TYPE_NULL; - break; - case '20' : // Boolean - $type = PHPExcel_Cell_DataType::TYPE_BOOL; - $cell = ($cell == 'TRUE') ? True : False; - break; - case '30' : // Integer - $cell = intval($cell); - case '40' : // Float - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - break; - case '50' : // Error - $type = PHPExcel_Cell_DataType::TYPE_ERROR; - break; - case '60' : // String - $type = PHPExcel_Cell_DataType::TYPE_STRING; - break; - case '70' : // Cell Range - case '80' : // Array - } - } - $objPHPExcel->getActiveSheet()->getCell($column.$row)->setValueExplicit($cell,$type); - } - - if ((!$this->_readDataOnly) && (isset($sheet->Objects))) { - foreach($sheet->Objects->children('gnm',TRUE) as $key => $comment) { - $commentAttributes = $comment->attributes(); - // Only comment objects are handled at the moment - if ($commentAttributes->Text) { - $objPHPExcel->getActiveSheet()->getComment( (string)$commentAttributes->ObjectBound ) - ->setAuthor( (string)$commentAttributes->Author ) - ->setText($this->_parseRichText((string)$commentAttributes->Text) ); - } - } - } -// echo '$maxCol=',$maxCol,'; $maxRow=',$maxRow,'<br />'; -// - foreach($sheet->Styles->StyleRegion as $styleRegion) { - $styleAttributes = $styleRegion->attributes(); - if (($styleAttributes['startRow'] <= $maxRow) && - ($styleAttributes['startCol'] <= $maxCol)) { - - $startColumn = PHPExcel_Cell::stringFromColumnIndex((int) $styleAttributes['startCol']); - $startRow = $styleAttributes['startRow'] + 1; - - $endColumn = ($styleAttributes['endCol'] > $maxCol) ? $maxCol : (int) $styleAttributes['endCol']; - $endColumn = PHPExcel_Cell::stringFromColumnIndex($endColumn); - $endRow = ($styleAttributes['endRow'] > $maxRow) ? $maxRow : $styleAttributes['endRow']; - $endRow += 1; - $cellRange = $startColumn.$startRow.':'.$endColumn.$endRow; -// echo $cellRange,'<br />'; - - $styleAttributes = $styleRegion->Style->attributes(); -// var_dump($styleAttributes); -// echo '<br />'; - - // We still set the number format mask for date/time values, even if _readDataOnly is true - if ((!$this->_readDataOnly) || - (PHPExcel_Shared_Date::isDateTimeFormatCode((string) $styleAttributes['Format']))) { - $styleArray = array(); - $styleArray['numberformat']['code'] = (string) $styleAttributes['Format']; - // If _readDataOnly is false, we set all formatting information - if (!$this->_readDataOnly) { - switch($styleAttributes['HAlign']) { - case '1' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - break; - case '2' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_LEFT; - break; - case '4' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_RIGHT; - break; - case '8' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_CENTER; - break; - case '16' : - case '64' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS; - break; - case '32' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY; - break; - } - - switch($styleAttributes['VAlign']) { - case '1' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_TOP; - break; - case '2' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_BOTTOM; - break; - case '4' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_CENTER; - break; - case '8' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_JUSTIFY; - break; - } - - $styleArray['alignment']['wrap'] = ($styleAttributes['WrapText'] == '1') ? True : False; - $styleArray['alignment']['shrinkToFit'] = ($styleAttributes['ShrinkToFit'] == '1') ? True : False; - $styleArray['alignment']['indent'] = (intval($styleAttributes["Indent"]) > 0) ? $styleAttributes["indent"] : 0; - - $RGB = self::_parseGnumericColour($styleAttributes["Fore"]); - $styleArray['font']['color']['rgb'] = $RGB; - $RGB = self::_parseGnumericColour($styleAttributes["Back"]); - $shade = $styleAttributes["Shade"]; - if (($RGB != '000000') || ($shade != '0')) { - $styleArray['fill']['color']['rgb'] = $styleArray['fill']['startcolor']['rgb'] = $RGB; - $RGB2 = self::_parseGnumericColour($styleAttributes["PatternColor"]); - $styleArray['fill']['endcolor']['rgb'] = $RGB2; - switch($shade) { - case '1' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_SOLID; - break; - case '2' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR; - break; - case '3' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_GRADIENT_PATH; - break; - case '4' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN; - break; - case '5' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY; - break; - case '6' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID; - break; - case '7' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL; - break; - case '8' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS; - break; - case '9' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKUP; - break; - case '10' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL; - break; - case '11' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625; - break; - case '12' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_GRAY125; - break; - case '13' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN; - break; - case '14' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY; - break; - case '15' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID; - break; - case '16' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL; - break; - case '17' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS; - break; - case '18' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP; - break; - case '19' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL; - break; - case '20' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY; - break; - } - } - - $fontAttributes = $styleRegion->Style->Font->attributes(); -// var_dump($fontAttributes); -// echo '<br />'; - $styleArray['font']['name'] = (string) $styleRegion->Style->Font; - $styleArray['font']['size'] = intval($fontAttributes['Unit']); - $styleArray['font']['bold'] = ($fontAttributes['Bold'] == '1') ? True : False; - $styleArray['font']['italic'] = ($fontAttributes['Italic'] == '1') ? True : False; - $styleArray['font']['strike'] = ($fontAttributes['StrikeThrough'] == '1') ? True : False; - switch($fontAttributes['Underline']) { - case '1' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_SINGLE; - break; - case '2' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_DOUBLE; - break; - case '3' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING; - break; - case '4' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING; - break; - default : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_NONE; - break; - } - switch($fontAttributes['Script']) { - case '1' : - $styleArray['font']['superScript'] = True; - break; - case '-1' : - $styleArray['font']['subScript'] = True; - break; - } - - if (isset($styleRegion->Style->StyleBorder)) { - if (isset($styleRegion->Style->StyleBorder->Top)) { - $styleArray['borders']['top'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Top->attributes()); - } - if (isset($styleRegion->Style->StyleBorder->Bottom)) { - $styleArray['borders']['bottom'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Bottom->attributes()); - } - if (isset($styleRegion->Style->StyleBorder->Left)) { - $styleArray['borders']['left'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Left->attributes()); - } - if (isset($styleRegion->Style->StyleBorder->Right)) { - $styleArray['borders']['right'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Right->attributes()); - } - if ((isset($styleRegion->Style->StyleBorder->Diagonal)) && (isset($styleRegion->Style->StyleBorder->{'Rev-Diagonal'}))) { - $styleArray['borders']['diagonal'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Diagonal->attributes()); - $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_BOTH; - } elseif (isset($styleRegion->Style->StyleBorder->Diagonal)) { - $styleArray['borders']['diagonal'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Diagonal->attributes()); - $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_UP; - } elseif (isset($styleRegion->Style->StyleBorder->{'Rev-Diagonal'})) { - $styleArray['borders']['diagonal'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->{'Rev-Diagonal'}->attributes()); - $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_DOWN; - } - } - if (isset($styleRegion->Style->HyperLink)) { - // TO DO - $hyperlink = $styleRegion->Style->HyperLink->attributes(); - } - } -// var_dump($styleArray); -// echo '<br />'; - $objPHPExcel->getActiveSheet()->getStyle($cellRange)->applyFromArray($styleArray); - } - } - } - - if ((!$this->_readDataOnly) && (isset($sheet->Cols))) { - // Column Widths - $columnAttributes = $sheet->Cols->attributes(); - $defaultWidth = $columnAttributes['DefaultSizePts'] / 5.4; - $c = 0; - foreach($sheet->Cols->ColInfo as $columnOverride) { - $columnAttributes = $columnOverride->attributes(); - $column = $columnAttributes['No']; - $columnWidth = $columnAttributes['Unit'] / 5.4; - $hidden = ((isset($columnAttributes['Hidden'])) && ($columnAttributes['Hidden'] == '1')) ? true : false; - $columnCount = (isset($columnAttributes['Count'])) ? $columnAttributes['Count'] : 1; - while ($c < $column) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($defaultWidth); - ++$c; - } - while (($c < ($column+$columnCount)) && ($c <= $maxCol)) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($columnWidth); - if ($hidden) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setVisible(false); - } - ++$c; - } - } - while ($c <= $maxCol) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($defaultWidth); - ++$c; - } - } - - if ((!$this->_readDataOnly) && (isset($sheet->Rows))) { - // Row Heights - $rowAttributes = $sheet->Rows->attributes(); - $defaultHeight = $rowAttributes['DefaultSizePts']; - $r = 0; - - foreach($sheet->Rows->RowInfo as $rowOverride) { - $rowAttributes = $rowOverride->attributes(); - $row = $rowAttributes['No']; - $rowHeight = $rowAttributes['Unit']; - $hidden = ((isset($rowAttributes['Hidden'])) && ($rowAttributes['Hidden'] == '1')) ? true : false; - $rowCount = (isset($rowAttributes['Count'])) ? $rowAttributes['Count'] : 1; - while ($r < $row) { - ++$r; - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($defaultHeight); - } - while (($r < ($row+$rowCount)) && ($r < $maxRow)) { - ++$r; - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($rowHeight); - if ($hidden) { - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setVisible(false); - } - } - } - while ($r < $maxRow) { - ++$r; - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($defaultHeight); - } - } - - // Handle Merged Cells in this worksheet - if (isset($sheet->MergedRegions)) { - foreach($sheet->MergedRegions->Merge as $mergeCells) { - if (strpos($mergeCells,':') !== FALSE) { - $objPHPExcel->getActiveSheet()->mergeCells($mergeCells); - } - } - } - - $worksheetID++; - } - - // Loop through definedNames (global named ranges) - if (isset($gnmXML->Names)) { - foreach($gnmXML->Names->Name as $namedRange) { - $name = (string) $namedRange->name; - $range = (string) $namedRange->value; - if (stripos($range, '#REF!') !== false) { - continue; - } - - $range = explode('!',$range); - $range[0] = trim($range[0],"'");; - if ($worksheet = $objPHPExcel->getSheetByName($range[0])) { - $extractedRange = str_replace('$', '', $range[1]); - $objPHPExcel->addNamedRange( new PHPExcel_NamedRange($name, $worksheet, $extractedRange) ); - } - } - } - - - // Return - return $objPHPExcel; - } - - - private static function _parseBorderAttributes($borderAttributes) - { - $styleArray = array(); - - if (isset($borderAttributes["Color"])) { - $RGB = self::_parseGnumericColour($borderAttributes["Color"]); - $styleArray['color']['rgb'] = $RGB; - } - - switch ($borderAttributes["Style"]) { - case '0' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_NONE; - break; - case '1' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case '2' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUM; - break; - case '4' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHED; - break; - case '5' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_THICK; - break; - case '6' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DOUBLE; - break; - case '7' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DOTTED; - break; - case '9' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHDOT; - break; - case '10' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT; - break; - case '11' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHDOTDOT; - break; - case '12' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT; - break; - case '13' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT; - break; - case '3' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_SLANTDASHDOT; - break; - case '8' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHED; - break; - } - return $styleArray; - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText($is); - - return $value; - } - - - private static function _parseGnumericColour($gnmColour) { - list($gnmR,$gnmG,$gnmB) = explode(':',$gnmColour); - $gnmR = substr(str_pad($gnmR,4,'0',STR_PAD_RIGHT),0,2); - $gnmG = substr(str_pad($gnmG,4,'0',STR_PAD_RIGHT),0,2); - $gnmB = substr(str_pad($gnmB,4,'0',STR_PAD_RIGHT),0,2); - $RGB = $gnmR.$gnmG.$gnmB; -// echo 'Excel Colour: ',$RGB,'<br />'; - return $RGB; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/HTML.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/HTML.php deleted file mode 100644 index 6adcc857a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/HTML.php +++ /dev/null @@ -1,469 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_HTML - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Input encoding - * - * @var string - */ - private $_inputEncoding = 'ANSI'; - - /** - * Sheet index to read - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Formats - * - * @var array - */ - private $_formats = array( 'h1' => array( 'font' => array( 'bold' => true, - 'size' => 24, - ), - ), // Bold, 24pt - 'h2' => array( 'font' => array( 'bold' => true, - 'size' => 18, - ), - ), // Bold, 18pt - 'h3' => array( 'font' => array( 'bold' => true, - 'size' => 13.5, - ), - ), // Bold, 13.5pt - 'h4' => array( 'font' => array( 'bold' => true, - 'size' => 12, - ), - ), // Bold, 12pt - 'h5' => array( 'font' => array( 'bold' => true, - 'size' => 10, - ), - ), // Bold, 10pt - 'h6' => array( 'font' => array( 'bold' => true, - 'size' => 7.5, - ), - ), // Bold, 7.5pt - 'a' => array( 'font' => array( 'underline' => true, - 'color' => array( 'argb' => PHPExcel_Style_Color::COLOR_BLUE, - ), - ), - ), // Blue underlined - 'hr' => array( 'borders' => array( 'bottom' => array( 'style' => PHPExcel_Style_Border::BORDER_THIN, - 'color' => array( PHPExcel_Style_Color::COLOR_BLACK, - ), - ), - ), - ), // Bottom border - ); - - - /** - * Create a new PHPExcel_Reader_HTML - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - /** - * Validate that the current file is an HTML file - * - * @return boolean - */ - protected function _isValidFormat() - { - // Reading 2048 bytes should be enough to validate that the format is HTML - $data = fread($this->_fileHandle, 2048); - if ((strpos($data, '<') !== FALSE) && - (strlen($data) !== strlen(strip_tags($data)))) { - return TRUE; - } - - return FALSE; - } - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - /** - * Set input encoding - * - * @param string $pValue Input encoding - */ - public function setInputEncoding($pValue = 'ANSI') - { - $this->_inputEncoding = $pValue; - return $this; - } - - /** - * Get input encoding - * - * @return string - */ - public function getInputEncoding() - { - return $this->_inputEncoding; - } - - // Data Array used for testing only, should write to PHPExcel object on completion of tests - private $_dataArray = array(); - - private $_tableLevel = 0; - private $_nestedColumn = array('A'); - - private function _setTableStartColumn($column) { - if ($this->_tableLevel == 0) - $column = 'A'; - ++$this->_tableLevel; - $this->_nestedColumn[$this->_tableLevel] = $column; - - return $this->_nestedColumn[$this->_tableLevel]; - } - - private function _getTableStartColumn() { - return $this->_nestedColumn[$this->_tableLevel]; - } - - private function _releaseTableStartColumn() { - --$this->_tableLevel; - return array_pop($this->_nestedColumn); - } - - private function _flushCell($sheet,$column,$row,&$cellContent) { - if (is_string($cellContent)) { - // Simple String content - if (trim($cellContent) > '') { - // Only actually write it if there's content in the string -// echo 'FLUSH CELL: ' , $column , $row , ' => ' , $cellContent , '<br />'; - // Write to worksheet to be done here... - // ... we return the cell so we can mess about with styles more easily - $cell = $sheet->setCellValue($column.$row,$cellContent,true); - $this->_dataArray[$row][$column] = $cellContent; - } - } else { - // We have a Rich Text run - // TODO - $this->_dataArray[$row][$column] = 'RICH TEXT: ' . $cellContent; - } - $cellContent = (string) ''; - } - - private function _processDomElement(DOMNode $element, $sheet, &$row, &$column, &$cellContent){ - foreach($element->childNodes as $child){ - if ($child instanceof DOMText) { - $domText = preg_replace('/\s+/',' ',trim($child->nodeValue)); - if (is_string($cellContent)) { - // simply append the text if the cell content is a plain text string - $cellContent .= $domText; - } else { - // but if we have a rich text run instead, we need to append it correctly - // TODO - } - } elseif($child instanceof DOMElement) { -// echo '<b>DOM ELEMENT: </b>' , strtoupper($child->nodeName) , '<br />'; - - $attributeArray = array(); - foreach($child->attributes as $attribute) { -// echo '<b>ATTRIBUTE: </b>' , $attribute->name , ' => ' , $attribute->value , '<br />'; - $attributeArray[$attribute->name] = $attribute->value; - } - - switch($child->nodeName) { - case 'meta' : - foreach($attributeArray as $attributeName => $attributeValue) { - switch($attributeName) { - case 'content': - // TODO - // Extract character set, so we can convert to UTF-8 if required - break; - } - } - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - break; - case 'title' : - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - $sheet->setTitle($cellContent); - $cellContent = ''; - break; - case 'span' : - case 'div' : - case 'font' : - case 'i' : - case 'em' : - case 'strong': - case 'b' : -// echo 'STYLING, SPAN OR DIV<br />'; - if ($cellContent > '') - $cellContent .= ' '; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - if ($cellContent > '') - $cellContent .= ' '; -// echo 'END OF STYLING, SPAN OR DIV<br />'; - break; - case 'hr' : - $this->_flushCell($sheet,$column,$row,$cellContent); - ++$row; - if (isset($this->_formats[$child->nodeName])) { - $sheet->getStyle($column.$row)->applyFromArray($this->_formats[$child->nodeName]); - } else { - $cellContent = '----------'; - $this->_flushCell($sheet,$column,$row,$cellContent); - } - ++$row; - case 'br' : - if ($this->_tableLevel > 0) { - // If we're inside a table, replace with a \n - $cellContent .= "\n"; - } else { - // Otherwise flush our existing content and move the row cursor on - $this->_flushCell($sheet,$column,$row,$cellContent); - ++$row; - } -// echo 'HARD LINE BREAK: ' , '<br />'; - break; - case 'a' : -// echo 'START OF HYPERLINK: ' , '<br />'; - foreach($attributeArray as $attributeName => $attributeValue) { - switch($attributeName) { - case 'href': -// echo 'Link to ' , $attributeValue , '<br />'; - $sheet->getCell($column.$row)->getHyperlink()->setUrl($attributeValue); - if (isset($this->_formats[$child->nodeName])) { - $sheet->getStyle($column.$row)->applyFromArray($this->_formats[$child->nodeName]); - } - break; - } - } - $cellContent .= ' '; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF HYPERLINK:' , '<br />'; - break; - case 'h1' : - case 'h2' : - case 'h3' : - case 'h4' : - case 'h5' : - case 'h6' : - case 'ol' : - case 'ul' : - case 'p' : - if ($this->_tableLevel > 0) { - // If we're inside a table, replace with a \n - $cellContent .= "\n"; -// echo 'LIST ENTRY: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF LIST ENTRY:' , '<br />'; - } else { - if ($cellContent > '') { - $this->_flushCell($sheet,$column,$row,$cellContent); - $row += 2; - } -// echo 'START OF PARAGRAPH: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF PARAGRAPH:' , '<br />'; - $this->_flushCell($sheet,$column,$row,$cellContent); - - if (isset($this->_formats[$child->nodeName])) { - $sheet->getStyle($column.$row)->applyFromArray($this->_formats[$child->nodeName]); - } - - $row += 2; - $column = 'A'; - } - break; - case 'li' : - if ($this->_tableLevel > 0) { - // If we're inside a table, replace with a \n - $cellContent .= "\n"; -// echo 'LIST ENTRY: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF LIST ENTRY:' , '<br />'; - } else { - if ($cellContent > '') { - $this->_flushCell($sheet,$column,$row,$cellContent); - } - ++$row; -// echo 'LIST ENTRY: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF LIST ENTRY:' , '<br />'; - $this->_flushCell($sheet,$column,$row,$cellContent); - $column = 'A'; - } - break; - case 'table' : - $this->_flushCell($sheet,$column,$row,$cellContent); - $column = $this->_setTableStartColumn($column); -// echo 'START OF TABLE LEVEL ' , $this->_tableLevel , '<br />'; - if ($this->_tableLevel > 1) - --$row; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF TABLE LEVEL ' , $this->_tableLevel , '<br />'; - $column = $this->_releaseTableStartColumn(); - if ($this->_tableLevel > 1) { - ++$column; - } else { - ++$row; - } - break; - case 'thead' : - case 'tbody' : - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - break; - case 'tr' : - ++$row; - $column = $this->_getTableStartColumn(); - $cellContent = ''; -// echo 'START OF TABLE ' , $this->_tableLevel , ' ROW<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF TABLE ' , $this->_tableLevel , ' ROW<br />'; - break; - case 'th' : - case 'td' : -// echo 'START OF TABLE ' , $this->_tableLevel , ' CELL<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF TABLE ' , $this->_tableLevel , ' CELL<br />'; - $this->_flushCell($sheet,$column,$row,$cellContent); - ++$column; - break; - case 'body' : - $row = 1; - $column = 'A'; - $content = ''; - $this->_tableLevel = 0; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - break; - default: - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - } - } - } - } - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Open file to validate - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid HTML file."); - } - // Close after validating - fclose ($this->_fileHandle); - - // Create new PHPExcel - while ($objPHPExcel->getSheetCount() <= $this->_sheetIndex) { - $objPHPExcel->createSheet(); - } - $objPHPExcel->setActiveSheetIndex( $this->_sheetIndex ); - - // Create a new DOM object - $dom = new DOMDocument; - // Reload the HTML file into the DOM object - if ((version_compare(PHP_VERSION, '5.4.0') >= 0) && defined(LIBXML_DTDLOAD)) { - $loaded = $dom->loadHTMLFile($pFilename, PHPExcel_Settings::getLibXmlLoaderOptions()); - } else { - $loaded = $dom->loadHTMLFile($pFilename); - } - if ($loaded === FALSE) { - throw new PHPExcel_Reader_Exception('Failed to load '. $pFilename. ' as a DOM Document'); - } - - // Discard white space - $dom->preserveWhiteSpace = false; - - - $row = 0; - $column = 'A'; - $content = ''; - $this->_processDomElement($dom,$objPHPExcel->getActiveSheet(),$row,$column,$content); - - // Return - return $objPHPExcel; - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Reader_HTML - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/IReadFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/IReadFilter.php deleted file mode 100644 index f27cff8b9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/IReadFilter.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_IReadFilter - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_Reader_IReadFilter -{ - /** - * Should this cell be read? - * - * @param $column String column index - * @param $row Row index - * @param $worksheetName Optional worksheet name - * @return boolean - */ - public function readCell($column, $row, $worksheetName = ''); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/IReader.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/IReader.php deleted file mode 100644 index b543df4a7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/IReader.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_IReader - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_Reader_IReader -{ - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - */ - public function canRead($pFilename); - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/OOCalc.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/OOCalc.php deleted file mode 100644 index 4ffed2b3b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/OOCalc.php +++ /dev/null @@ -1,711 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_OOCalc - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_OOCalc extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Formats - * - * @var array - */ - private $_styles = array(); - - - /** - * Create a new PHPExcel_Reader_OOCalc - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - // Check if zip class exists -// if (!class_exists($zipClass, FALSE)) { -// throw new PHPExcel_Reader_Exception($zipClass . " library is not enabled"); -// } - - $mimeType = 'UNKNOWN'; - // Load file - $zip = new $zipClass; - if ($zip->open($pFilename) === true) { - // check if it is an OOXML archive - $stat = $zip->statName('mimetype'); - if ($stat && ($stat['size'] <= 255)) { - $mimeType = $zip->getFromName($stat['name']); - } elseif($stat = $zip->statName('META-INF/manifest.xml')) { - $xml = simplexml_load_string($zip->getFromName('META-INF/manifest.xml'), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesContent = $xml->getNamespaces(true); - if (isset($namespacesContent['manifest'])) { - $manifest = $xml->children($namespacesContent['manifest']); - foreach($manifest as $manifestDataSet) { - $manifestAttributes = $manifestDataSet->attributes($namespacesContent['manifest']); - if ($manifestAttributes->{'full-path'} == '/') { - $mimeType = (string) $manifestAttributes->{'media-type'}; - break; - } - } - } - } - - $zip->close(); - - return ($mimeType === 'application/vnd.oasis.opendocument.spreadsheet'); - } - - return FALSE; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - if (!$zip->open($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! Error opening file."); - } - - $worksheetNames = array(); - - $xml = new XMLReader(); - $res = $xml->open('zip://'.realpath($pFilename).'#content.xml', null, PHPExcel_Settings::getLibXmlLoaderOptions()); - $xml->setParserProperty(2,true); - - // Step into the first level of content of the XML - $xml->read(); - while ($xml->read()) { - // Quickly jump through to the office:body node - while ($xml->name !== 'office:body') { - if ($xml->isEmptyElement) - $xml->read(); - else - $xml->next(); - } - // Now read each node until we find our first table:table node - while ($xml->read()) { - if ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT) { - // Loop through each table:table node reading the table:name attribute for each worksheet name - do { - $worksheetNames[] = $xml->getAttribute('table:name'); - $xml->next(); - } while ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT); - } - } - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - if (!$zip->open($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! Error opening file."); - } - - $xml = new XMLReader(); - $res = $xml->open('zip://'.realpath($pFilename).'#content.xml', null, PHPExcel_Settings::getLibXmlLoaderOptions()); - $xml->setParserProperty(2,true); - - // Step into the first level of content of the XML - $xml->read(); - while ($xml->read()) { - // Quickly jump through to the office:body node - while ($xml->name !== 'office:body') { - if ($xml->isEmptyElement) - $xml->read(); - else - $xml->next(); - } - // Now read each node until we find our first table:table node - while ($xml->read()) { - if ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT) { - $worksheetNames[] = $xml->getAttribute('table:name'); - - $tmpInfo = array( - 'worksheetName' => $xml->getAttribute('table:name'), - 'lastColumnLetter' => 'A', - 'lastColumnIndex' => 0, - 'totalRows' => 0, - 'totalColumns' => 0, - ); - - // Loop through each child node of the table:table element reading - $currCells = 0; - do { - $xml->read(); - if ($xml->name == 'table:table-row' && $xml->nodeType == XMLReader::ELEMENT) { - $rowspan = $xml->getAttribute('table:number-rows-repeated'); - $rowspan = empty($rowspan) ? 1 : $rowspan; - $tmpInfo['totalRows'] += $rowspan; - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $currCells = 0; - // Step into the row - $xml->read(); - do { - if ($xml->name == 'table:table-cell' && $xml->nodeType == XMLReader::ELEMENT) { - if (!$xml->isEmptyElement) { - $currCells++; - $xml->next(); - } else { - $xml->read(); - } - } elseif ($xml->name == 'table:covered-table-cell' && $xml->nodeType == XMLReader::ELEMENT) { - $mergeSize = $xml->getAttribute('table:number-columns-repeated'); - $currCells += $mergeSize; - $xml->read(); - } - } while ($xml->name != 'table:table-row'); - } - } while ($xml->name != 'table:table'); - - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $tmpInfo['lastColumnIndex'] = $tmpInfo['totalColumns'] - 1; - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $worksheetInfo[] = $tmpInfo; - } - } - -// foreach($workbookData->table as $worksheetDataSet) { -// $worksheetData = $worksheetDataSet->children($namespacesContent['table']); -// $worksheetDataAttributes = $worksheetDataSet->attributes($namespacesContent['table']); -// -// $rowIndex = 0; -// foreach ($worksheetData as $key => $rowData) { -// switch ($key) { -// case 'table-row' : -// $rowDataTableAttributes = $rowData->attributes($namespacesContent['table']); -// $rowRepeats = (isset($rowDataTableAttributes['number-rows-repeated'])) ? -// $rowDataTableAttributes['number-rows-repeated'] : 1; -// $columnIndex = 0; -// -// foreach ($rowData as $key => $cellData) { -// $cellDataTableAttributes = $cellData->attributes($namespacesContent['table']); -// $colRepeats = (isset($cellDataTableAttributes['number-columns-repeated'])) ? -// $cellDataTableAttributes['number-columns-repeated'] : 1; -// $cellDataOfficeAttributes = $cellData->attributes($namespacesContent['office']); -// if (isset($cellDataOfficeAttributes['value-type'])) { -// $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex + $colRepeats - 1); -// $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex + $rowRepeats); -// } -// $columnIndex += $colRepeats; -// } -// $rowIndex += $rowRepeats; -// break; -// } -// } -// -// $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); -// $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1; -// -// } -// } - } - - return $worksheetInfo; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - - private static function identifyFixedStyleValue($styleList,&$styleAttributeValue) { - $styleAttributeValue = strtolower($styleAttributeValue); - foreach($styleList as $style) { - if ($styleAttributeValue == strtolower($style)) { - $styleAttributeValue = $style; - return true; - } - } - return false; - } - - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $timezoneObj = new DateTimeZone('Europe/London'); - $GMT = new DateTimeZone('UTC'); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - if (!$zip->open($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! Error opening file."); - } - -// echo '<h1>Meta Information</h1>'; - $xml = simplexml_load_string($zip->getFromName("meta.xml"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesMeta = $xml->getNamespaces(true); -// echo '<pre>'; -// print_r($namespacesMeta); -// echo '</pre><hr />'; - - $docProps = $objPHPExcel->getProperties(); - $officeProperty = $xml->children($namespacesMeta['office']); - foreach($officeProperty as $officePropertyData) { - $officePropertyDC = array(); - if (isset($namespacesMeta['dc'])) { - $officePropertyDC = $officePropertyData->children($namespacesMeta['dc']); - } - foreach($officePropertyDC as $propertyName => $propertyValue) { - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'title' : - $docProps->setTitle($propertyValue); - break; - case 'subject' : - $docProps->setSubject($propertyValue); - break; - case 'creator' : - $docProps->setCreator($propertyValue); - $docProps->setLastModifiedBy($propertyValue); - break; - case 'date' : - $creationDate = strtotime($propertyValue); - $docProps->setCreated($creationDate); - $docProps->setModified($creationDate); - break; - case 'description' : - $docProps->setDescription($propertyValue); - break; - } - } - $officePropertyMeta = array(); - if (isset($namespacesMeta['dc'])) { - $officePropertyMeta = $officePropertyData->children($namespacesMeta['meta']); - } - foreach($officePropertyMeta as $propertyName => $propertyValue) { - $propertyValueAttributes = $propertyValue->attributes($namespacesMeta['meta']); - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'initial-creator' : - $docProps->setCreator($propertyValue); - break; - case 'keyword' : - $docProps->setKeywords($propertyValue); - break; - case 'creation-date' : - $creationDate = strtotime($propertyValue); - $docProps->setCreated($creationDate); - break; - case 'user-defined' : - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING; - foreach ($propertyValueAttributes as $key => $value) { - if ($key == 'name') { - $propertyValueName = (string) $value; - } elseif($key == 'value-type') { - switch ($value) { - case 'date' : - $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue,'date'); - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE; - break; - case 'boolean' : - $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue,'bool'); - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN; - break; - case 'float' : - $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue,'r4'); - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_FLOAT; - break; - default : - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING; - } - } - } - $docProps->setCustomProperty($propertyValueName,$propertyValue,$propertyValueType); - break; - } - } - } - - -// echo '<h1>Workbook Content</h1>'; - $xml = simplexml_load_string($zip->getFromName("content.xml"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesContent = $xml->getNamespaces(true); -// echo '<pre>'; -// print_r($namespacesContent); -// echo '</pre><hr />'; - - $workbook = $xml->children($namespacesContent['office']); - foreach($workbook->body->spreadsheet as $workbookData) { - $workbookData = $workbookData->children($namespacesContent['table']); - $worksheetID = 0; - foreach($workbookData->table as $worksheetDataSet) { - $worksheetData = $worksheetDataSet->children($namespacesContent['table']); -// print_r($worksheetData); -// echo '<br />'; - $worksheetDataAttributes = $worksheetDataSet->attributes($namespacesContent['table']); -// print_r($worksheetDataAttributes); -// echo '<br />'; - if ((isset($this->_loadSheetsOnly)) && (isset($worksheetDataAttributes['name'])) && - (!in_array($worksheetDataAttributes['name'], $this->_loadSheetsOnly))) { - continue; - } - -// echo '<h2>Worksheet '.$worksheetDataAttributes['name'].'</h2>'; - // Create new Worksheet - $objPHPExcel->createSheet(); - $objPHPExcel->setActiveSheetIndex($worksheetID); - if (isset($worksheetDataAttributes['name'])) { - $worksheetName = (string) $worksheetDataAttributes['name']; - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in - // formula cells... during the load, all formulae should be correct, and we're simply - // bringing the worksheet name in line with the formula, not the reverse - $objPHPExcel->getActiveSheet()->setTitle($worksheetName,false); - } - - $rowID = 1; - foreach($worksheetData as $key => $rowData) { -// echo '<b>'.$key.'</b><br />'; - switch ($key) { - case 'table-header-rows': - foreach ($rowData as $key=>$cellData) { - $rowData = $cellData; - break; - } - case 'table-row' : - $rowDataTableAttributes = $rowData->attributes($namespacesContent['table']); - $rowRepeats = (isset($rowDataTableAttributes['number-rows-repeated'])) ? - $rowDataTableAttributes['number-rows-repeated'] : 1; - $columnID = 'A'; - foreach($rowData as $key => $cellData) { - if ($this->getReadFilter() !== NULL) { - if (!$this->getReadFilter()->readCell($columnID, $rowID, $worksheetName)) { - continue; - } - } - -// echo '<b>'.$columnID.$rowID.'</b><br />'; - $cellDataText = (isset($namespacesContent['text'])) ? - $cellData->children($namespacesContent['text']) : - ''; - $cellDataOffice = $cellData->children($namespacesContent['office']); - $cellDataOfficeAttributes = $cellData->attributes($namespacesContent['office']); - $cellDataTableAttributes = $cellData->attributes($namespacesContent['table']); - -// echo 'Office Attributes: '; -// print_r($cellDataOfficeAttributes); -// echo '<br />Table Attributes: '; -// print_r($cellDataTableAttributes); -// echo '<br />Cell Data Text'; -// print_r($cellDataText); -// echo '<br />'; -// - $type = $formatting = $hyperlink = null; - $hasCalculatedValue = false; - $cellDataFormula = ''; - if (isset($cellDataTableAttributes['formula'])) { - $cellDataFormula = $cellDataTableAttributes['formula']; - $hasCalculatedValue = true; - } - - if (isset($cellDataOffice->annotation)) { -// echo 'Cell has comment<br />'; - $annotationText = $cellDataOffice->annotation->children($namespacesContent['text']); - $textArray = array(); - foreach($annotationText as $t) { - if (isset($t->span)) { - foreach($t->span as $text) { - $textArray[] = (string)$text; - } - } else { - $textArray[] = (string) $t; - } - } - $text = implode("\n",$textArray); -// echo $text,'<br />'; - $objPHPExcel->getActiveSheet()->getComment( $columnID.$rowID ) -// ->setAuthor( $author ) - ->setText($this->_parseRichText($text) ); - } - - if (isset($cellDataText->p)) { - // Consolidate if there are multiple p records (maybe with spans as well) - $dataArray = array(); - // Text can have multiple text:p and within those, multiple text:span. - // text:p newlines, but text:span does not. - // Also, here we assume there is no text data is span fields are specified, since - // we have no way of knowing proper positioning anyway. - foreach ($cellDataText->p as $pData) { - if (isset($pData->span)) { - // span sections do not newline, so we just create one large string here - $spanSection = ""; - foreach ($pData->span as $spanData) { - $spanSection .= $spanData; - } - array_push($dataArray, $spanSection); - } else { - array_push($dataArray, $pData); - } - } - $allCellDataText = implode($dataArray, "\n"); - -// echo 'Value Type is '.$cellDataOfficeAttributes['value-type'].'<br />'; - switch ($cellDataOfficeAttributes['value-type']) { - case 'string' : - $type = PHPExcel_Cell_DataType::TYPE_STRING; - $dataValue = $allCellDataText; - if (isset($dataValue->a)) { - $dataValue = $dataValue->a; - $cellXLinkAttributes = $dataValue->attributes($namespacesContent['xlink']); - $hyperlink = $cellXLinkAttributes['href']; - } - break; - case 'boolean' : - $type = PHPExcel_Cell_DataType::TYPE_BOOL; - $dataValue = ($allCellDataText == 'TRUE') ? True : False; - break; - case 'percentage' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = (float) $cellDataOfficeAttributes['value']; - if (floor($dataValue) == $dataValue) { - $dataValue = (integer) $dataValue; - } - $formatting = PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00; - break; - case 'currency' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = (float) $cellDataOfficeAttributes['value']; - if (floor($dataValue) == $dataValue) { - $dataValue = (integer) $dataValue; - } - $formatting = PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE; - break; - case 'float' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = (float) $cellDataOfficeAttributes['value']; - if (floor($dataValue) == $dataValue) { - if ($dataValue == (integer) $dataValue) - $dataValue = (integer) $dataValue; - else - $dataValue = (float) $dataValue; - } - break; - case 'date' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dateObj = new DateTime($cellDataOfficeAttributes['date-value'], $GMT); - $dateObj->setTimeZone($timezoneObj); - list($year,$month,$day,$hour,$minute,$second) = explode(' ',$dateObj->format('Y m d H i s')); - $dataValue = PHPExcel_Shared_Date::FormattedPHPToExcel($year,$month,$day,$hour,$minute,$second); - if ($dataValue != floor($dataValue)) { - $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15.' '.PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4; - } else { - $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15; - } - break; - case 'time' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = PHPExcel_Shared_Date::PHPToExcel(strtotime('01-01-1970 '.implode(':',sscanf($cellDataOfficeAttributes['time-value'],'PT%dH%dM%dS')))); - $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4; - break; - } -// echo 'Data value is '.$dataValue.'<br />'; -// if ($hyperlink !== NULL) { -// echo 'Hyperlink is '.$hyperlink.'<br />'; -// } - } else { - $type = PHPExcel_Cell_DataType::TYPE_NULL; - $dataValue = NULL; - } - - if ($hasCalculatedValue) { - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; -// echo 'Formula: ', $cellDataFormula, PHP_EOL; - $cellDataFormula = substr($cellDataFormula,strpos($cellDataFormula,':=')+1); - $temp = explode('"',$cellDataFormula); - $tKey = false; - foreach($temp as &$value) { - // Only replace in alternate array entries (i.e. non-quoted blocks) - if ($tKey = !$tKey) { - $value = preg_replace('/\[([^\.]+)\.([^\.]+):\.([^\.]+)\]/Ui','$1!$2:$3',$value); // Cell range reference in another sheet - $value = preg_replace('/\[([^\.]+)\.([^\.]+)\]/Ui','$1!$2',$value); // Cell reference in another sheet - $value = preg_replace('/\[\.([^\.]+):\.([^\.]+)\]/Ui','$1:$2',$value); // Cell range reference - $value = preg_replace('/\[\.([^\.]+)\]/Ui','$1',$value); // Simple cell reference - $value = PHPExcel_Calculation::_translateSeparator(';',',',$value,$inBraces); - } - } - unset($value); - // Then rebuild the formula string - $cellDataFormula = implode('"',$temp); -// echo 'Adjusted Formula: ', $cellDataFormula, PHP_EOL; - } - - $colRepeats = (isset($cellDataTableAttributes['number-columns-repeated'])) ? - $cellDataTableAttributes['number-columns-repeated'] : 1; - if ($type !== NULL) { - for ($i = 0; $i < $colRepeats; ++$i) { - if ($i > 0) { - ++$columnID; - } - if ($type !== PHPExcel_Cell_DataType::TYPE_NULL) { - for ($rowAdjust = 0; $rowAdjust < $rowRepeats; ++$rowAdjust) { - $rID = $rowID + $rowAdjust; - $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->setValueExplicit((($hasCalculatedValue) ? $cellDataFormula : $dataValue),$type); - if ($hasCalculatedValue) { -// echo 'Forumla result is '.$dataValue.'<br />'; - $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->setCalculatedValue($dataValue); - } - if ($formatting !== NULL) { - $objPHPExcel->getActiveSheet()->getStyle($columnID.$rID)->getNumberFormat()->setFormatCode($formatting); - } else { - $objPHPExcel->getActiveSheet()->getStyle($columnID.$rID)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_GENERAL); - } - if ($hyperlink !== NULL) { - $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->getHyperlink()->setUrl($hyperlink); - } - } - } - } - } - - // Merged cells - if ((isset($cellDataTableAttributes['number-columns-spanned'])) || (isset($cellDataTableAttributes['number-rows-spanned']))) { - if (($type !== PHPExcel_Cell_DataType::TYPE_NULL) || (!$this->_readDataOnly)) { - $columnTo = $columnID; - if (isset($cellDataTableAttributes['number-columns-spanned'])) { - $columnTo = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($columnID) + $cellDataTableAttributes['number-columns-spanned'] -2); - } - $rowTo = $rowID; - if (isset($cellDataTableAttributes['number-rows-spanned'])) { - $rowTo = $rowTo + $cellDataTableAttributes['number-rows-spanned'] - 1; - } - $cellRange = $columnID.$rowID.':'.$columnTo.$rowTo; - $objPHPExcel->getActiveSheet()->mergeCells($cellRange); - } - } - - ++$columnID; - } - $rowID += $rowRepeats; - break; - } - } - ++$worksheetID; - } - } - - // Return - return $objPHPExcel; - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText($is); - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/SYLK.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/SYLK.php deleted file mode 100644 index b61118a3b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/SYLK.php +++ /dev/null @@ -1,450 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_SYLK - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Input encoding - * - * @var string - */ - private $_inputEncoding = 'ANSI'; - - /** - * Sheet index to read - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Formats - * - * @var array - */ - private $_formats = array(); - - /** - * Format Count - * - * @var int - */ - private $_format = 0; - - /** - * Create a new PHPExcel_Reader_SYLK - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - /** - * Validate that the current file is a SYLK file - * - * @return boolean - */ - protected function _isValidFormat() - { - // Read sample data (first 2 KB will do) - $data = fread($this->_fileHandle, 2048); - - // Count delimiters in file - $delimiterCount = substr_count($data, ';'); - if ($delimiterCount < 1) { - return FALSE; - } - - // Analyze first line looking for ID; signature - $lines = explode("\n", $data); - if (substr($lines[0],0,4) != 'ID;P') { - return FALSE; - } - - return TRUE; - } - - /** - * Set input encoding - * - * @param string $pValue Input encoding - */ - public function setInputEncoding($pValue = 'ANSI') - { - $this->_inputEncoding = $pValue; - return $this; - } - - /** - * Get input encoding - * - * @return string - */ - public function getInputEncoding() - { - return $this->_inputEncoding; - } - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - rewind($fileHandle); - - $worksheetInfo = array(); - $worksheetInfo[0]['worksheetName'] = 'Worksheet'; - $worksheetInfo[0]['lastColumnLetter'] = 'A'; - $worksheetInfo[0]['lastColumnIndex'] = 0; - $worksheetInfo[0]['totalRows'] = 0; - $worksheetInfo[0]['totalColumns'] = 0; - - // Loop through file - $rowData = array(); - - // loop through one row (line) at a time in the file - $rowIndex = 0; - while (($rowData = fgets($fileHandle)) !== FALSE) { - $columnIndex = 0; - - // convert SYLK encoded $rowData to UTF-8 - $rowData = PHPExcel_Shared_String::SYLKtoUTF8($rowData); - - // explode each row at semicolons while taking into account that literal semicolon (;) - // is escaped like this (;;) - $rowData = explode("\t",str_replace('¤',';',str_replace(';',"\t",str_replace(';;','¤',rtrim($rowData))))); - - $dataType = array_shift($rowData); - if ($dataType == 'C') { - // Read cell value data - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : - $columnIndex = substr($rowDatum,1) - 1; - break; - case 'R' : - case 'Y' : - $rowIndex = substr($rowDatum,1); - break; - } - - $worksheetInfo[0]['totalRows'] = max($worksheetInfo[0]['totalRows'], $rowIndex); - $worksheetInfo[0]['lastColumnIndex'] = max($worksheetInfo[0]['lastColumnIndex'], $columnIndex); - } - } - } - - $worksheetInfo[0]['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($worksheetInfo[0]['lastColumnIndex']); - $worksheetInfo[0]['totalColumns'] = $worksheetInfo[0]['lastColumnIndex'] + 1; - - // Close file - fclose($fileHandle); - - return $worksheetInfo; - } - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - rewind($fileHandle); - - // Create new PHPExcel - while ($objPHPExcel->getSheetCount() <= $this->_sheetIndex) { - $objPHPExcel->createSheet(); - } - $objPHPExcel->setActiveSheetIndex( $this->_sheetIndex ); - - $fromFormats = array('\-', '\ '); - $toFormats = array('-', ' '); - - // Loop through file - $rowData = array(); - $column = $row = ''; - - // loop through one row (line) at a time in the file - while (($rowData = fgets($fileHandle)) !== FALSE) { - - // convert SYLK encoded $rowData to UTF-8 - $rowData = PHPExcel_Shared_String::SYLKtoUTF8($rowData); - - // explode each row at semicolons while taking into account that literal semicolon (;) - // is escaped like this (;;) - $rowData = explode("\t",str_replace('¤',';',str_replace(';',"\t",str_replace(';;','¤',rtrim($rowData))))); - - $dataType = array_shift($rowData); - // Read shared styles - if ($dataType == 'P') { - $formatArray = array(); - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'P' : $formatArray['numberformat']['code'] = str_replace($fromFormats,$toFormats,substr($rowDatum,1)); - break; - case 'E' : - case 'F' : $formatArray['font']['name'] = substr($rowDatum,1); - break; - case 'L' : $formatArray['font']['size'] = substr($rowDatum,1); - break; - case 'S' : $styleSettings = substr($rowDatum,1); - for ($i=0;$i<strlen($styleSettings);++$i) { - switch ($styleSettings{$i}) { - case 'I' : $formatArray['font']['italic'] = true; - break; - case 'D' : $formatArray['font']['bold'] = true; - break; - case 'T' : $formatArray['borders']['top']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'B' : $formatArray['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'L' : $formatArray['borders']['left']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'R' : $formatArray['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - } - } - break; - } - } - $this->_formats['P'.$this->_format++] = $formatArray; - // Read cell value data - } elseif ($dataType == 'C') { - $hasCalculatedValue = false; - $cellData = $cellDataFormula = ''; - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : $column = substr($rowDatum,1); - break; - case 'R' : - case 'Y' : $row = substr($rowDatum,1); - break; - case 'K' : $cellData = substr($rowDatum,1); - break; - case 'E' : $cellDataFormula = '='.substr($rowDatum,1); - // Convert R1C1 style references to A1 style references (but only when not quoted) - $temp = explode('"',$cellDataFormula); - $key = false; - foreach($temp as &$value) { - // Only count/replace in alternate array entries - if ($key = !$key) { - preg_match_all('/(R(\[?-?\d*\]?))(C(\[?-?\d*\]?))/',$value, $cellReferences,PREG_SET_ORDER+PREG_OFFSET_CAPTURE); - // Reverse the matches array, otherwise all our offsets will become incorrect if we modify our way - // through the formula from left to right. Reversing means that we work right to left.through - // the formula - $cellReferences = array_reverse($cellReferences); - // Loop through each R1C1 style reference in turn, converting it to its A1 style equivalent, - // then modify the formula to use that new reference - foreach($cellReferences as $cellReference) { - $rowReference = $cellReference[2][0]; - // Empty R reference is the current row - if ($rowReference == '') $rowReference = $row; - // Bracketed R references are relative to the current row - if ($rowReference{0} == '[') $rowReference = $row + trim($rowReference,'[]'); - $columnReference = $cellReference[4][0]; - // Empty C reference is the current column - if ($columnReference == '') $columnReference = $column; - // Bracketed C references are relative to the current column - if ($columnReference{0} == '[') $columnReference = $column + trim($columnReference,'[]'); - $A1CellReference = PHPExcel_Cell::stringFromColumnIndex($columnReference-1).$rowReference; - - $value = substr_replace($value,$A1CellReference,$cellReference[0][1],strlen($cellReference[0][0])); - } - } - } - unset($value); - // Then rebuild the formula string - $cellDataFormula = implode('"',$temp); - $hasCalculatedValue = true; - break; - } - } - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1); - $cellData = PHPExcel_Calculation::_unwrapResult($cellData); - - // Set cell value - $objPHPExcel->getActiveSheet()->getCell($columnLetter.$row)->setValue(($hasCalculatedValue) ? $cellDataFormula : $cellData); - if ($hasCalculatedValue) { - $cellData = PHPExcel_Calculation::_unwrapResult($cellData); - $objPHPExcel->getActiveSheet()->getCell($columnLetter.$row)->setCalculatedValue($cellData); - } - // Read cell formatting - } elseif ($dataType == 'F') { - $formatStyle = $columnWidth = $styleSettings = ''; - $styleData = array(); - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : $column = substr($rowDatum,1); - break; - case 'R' : - case 'Y' : $row = substr($rowDatum,1); - break; - case 'P' : $formatStyle = $rowDatum; - break; - case 'W' : list($startCol,$endCol,$columnWidth) = explode(' ',substr($rowDatum,1)); - break; - case 'S' : $styleSettings = substr($rowDatum,1); - for ($i=0;$i<strlen($styleSettings);++$i) { - switch ($styleSettings{$i}) { - case 'I' : $styleData['font']['italic'] = true; - break; - case 'D' : $styleData['font']['bold'] = true; - break; - case 'T' : $styleData['borders']['top']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'B' : $styleData['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'L' : $styleData['borders']['left']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'R' : $styleData['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - } - } - break; - } - } - if (($formatStyle > '') && ($column > '') && ($row > '')) { - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1); - if (isset($this->_formats[$formatStyle])) { - $objPHPExcel->getActiveSheet()->getStyle($columnLetter.$row)->applyFromArray($this->_formats[$formatStyle]); - } - } - if ((!empty($styleData)) && ($column > '') && ($row > '')) { - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1); - $objPHPExcel->getActiveSheet()->getStyle($columnLetter.$row)->applyFromArray($styleData); - } - if ($columnWidth > '') { - if ($startCol == $endCol) { - $startCol = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $objPHPExcel->getActiveSheet()->getColumnDimension($startCol)->setWidth($columnWidth); - } else { - $startCol = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $endCol = PHPExcel_Cell::stringFromColumnIndex($endCol-1); - $objPHPExcel->getActiveSheet()->getColumnDimension($startCol)->setWidth($columnWidth); - do { - $objPHPExcel->getActiveSheet()->getColumnDimension(++$startCol)->setWidth($columnWidth); - } while ($startCol != $endCol); - } - } - } else { - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : $column = substr($rowDatum,1); - break; - case 'R' : - case 'Y' : $row = substr($rowDatum,1); - break; - } - } - } - } - - // Close file - fclose($fileHandle); - - // Return - return $objPHPExcel; - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Reader_SYLK - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Reader/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/ReferenceHelper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/ReferenceHelper.php deleted file mode 100644 index 9eadab4d5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/ReferenceHelper.php +++ /dev/null @@ -1,922 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_ReferenceHelper (Singleton) - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_ReferenceHelper -{ - /** Constants */ - /** Regular Expressions */ - const REFHELPER_REGEXP_CELLREF = '((\w*|\'[^!]*\')!)?(?<![:a-z\$])(\$?[a-z]{1,3}\$?\d+)(?=[^:!\d\'])'; - const REFHELPER_REGEXP_CELLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}\$?\d+):(\$?[a-z]{1,3}\$?\d+)'; - const REFHELPER_REGEXP_ROWRANGE = '((\w*|\'[^!]*\')!)?(\$?\d+):(\$?\d+)'; - const REFHELPER_REGEXP_COLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}):(\$?[a-z]{1,3})'; - - /** - * Instance of this class - * - * @var PHPExcel_ReferenceHelper - */ - private static $_instance; - - /** - * Get an instance of this class - * - * @return PHPExcel_ReferenceHelper - */ - public static function getInstance() { - if (!isset(self::$_instance) || (self::$_instance === NULL)) { - self::$_instance = new PHPExcel_ReferenceHelper(); - } - - return self::$_instance; - } - - /** - * Create a new PHPExcel_ReferenceHelper - */ - protected function __construct() { - } - - /** - * Compare two column addresses - * Intended for use as a Callback function for sorting column addresses by column - * - * @param string $a First column to test (e.g. 'AA') - * @param string $b Second column to test (e.g. 'Z') - * @return integer - */ - public static function columnSort($a, $b) { - return strcasecmp(strlen($a) . $a, strlen($b) . $b); - } - - /** - * Compare two column addresses - * Intended for use as a Callback function for reverse sorting column addresses by column - * - * @param string $a First column to test (e.g. 'AA') - * @param string $b Second column to test (e.g. 'Z') - * @return integer - */ - public static function columnReverseSort($a, $b) { - return 1 - strcasecmp(strlen($a) . $a, strlen($b) . $b); - } - - /** - * Compare two cell addresses - * Intended for use as a Callback function for sorting cell addresses by column and row - * - * @param string $a First cell to test (e.g. 'AA1') - * @param string $b Second cell to test (e.g. 'Z1') - * @return integer - */ - public static function cellSort($a, $b) { - sscanf($a,'%[A-Z]%d', $ac, $ar); - sscanf($b,'%[A-Z]%d', $bc, $br); - - if ($ar == $br) { - return strcasecmp(strlen($ac) . $ac, strlen($bc) . $bc); - } - return ($ar < $br) ? -1 : 1; - } - - /** - * Compare two cell addresses - * Intended for use as a Callback function for sorting cell addresses by column and row - * - * @param string $a First cell to test (e.g. 'AA1') - * @param string $b Second cell to test (e.g. 'Z1') - * @return integer - */ - public static function cellReverseSort($a, $b) { - sscanf($a,'%[A-Z]%d', $ac, $ar); - sscanf($b,'%[A-Z]%d', $bc, $br); - - if ($ar == $br) { - return 1 - strcasecmp(strlen($ac) . $ac, strlen($bc) . $bc); - } - return ($ar < $br) ? 1 : -1; - } - - /** - * Test whether a cell address falls within a defined range of cells - * - * @param string $cellAddress Address of the cell we're testing - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @return boolean - */ - private static function cellAddressInDeleteRange($cellAddress, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols) { - list($cellColumn, $cellRow) = PHPExcel_Cell::coordinateFromString($cellAddress); - $cellColumnIndex = PHPExcel_Cell::columnIndexFromString($cellColumn); - // Is cell within the range of rows/columns if we're deleting - if ($pNumRows < 0 && - ($cellRow >= ($beforeRow + $pNumRows)) && - ($cellRow < $beforeRow)) { - return TRUE; - } elseif ($pNumCols < 0 && - ($cellColumnIndex >= ($beforeColumnIndex + $pNumCols)) && - ($cellColumnIndex < $beforeColumnIndex)) { - return TRUE; - } - return FALSE; - } - - /** - * Update page breaks when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustPageBreaks(PHPExcel_Worksheet $pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aBreaks = $pSheet->getBreaks(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aBreaks, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aBreaks, array('PHPExcel_ReferenceHelper','cellSort')); - - foreach ($aBreaks as $key => $value) { - if (self::cellAddressInDeleteRange($key, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols)) { - // If we're deleting, then clear any defined breaks that are within the range - // of rows/columns that we're deleting - $pSheet->setBreak($key, PHPExcel_Worksheet::BREAK_NONE); - } else { - // Otherwise update any affected breaks by inserting a new break at the appropriate point - // and removing the old affected break - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->setBreak($newReference, $value) - ->setBreak($key, PHPExcel_Worksheet::BREAK_NONE); - } - } - } - } - - /** - * Update cell comments when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustComments($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aComments = $pSheet->getComments(); - $aNewComments = array(); // the new array of all comments - - foreach ($aComments as $key => &$value) { - // Any comments inside a deleted range will be ignored - if (!self::cellAddressInDeleteRange($key, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols)) { - // Otherwise build a new array of comments indexed by the adjusted cell reference - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - $aNewComments[$newReference] = $value; - } - } - // Replace the comments array with the new set of comments - $pSheet->setComments($aNewComments); - } - - /** - * Update hyperlinks when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustHyperlinks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aHyperlinkCollection = $pSheet->getHyperlinkCollection(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aHyperlinkCollection, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aHyperlinkCollection, array('PHPExcel_ReferenceHelper','cellSort')); - - foreach ($aHyperlinkCollection as $key => $value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->setHyperlink( $newReference, $value ); - $pSheet->setHyperlink( $key, null ); - } - } - } - - /** - * Update data validations when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustDataValidations($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aDataValidationCollection = $pSheet->getDataValidationCollection(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aDataValidationCollection, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aDataValidationCollection, array('PHPExcel_ReferenceHelper','cellSort')); - foreach ($aDataValidationCollection as $key => $value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->setDataValidation( $newReference, $value ); - $pSheet->setDataValidation( $key, null ); - } - } - } - - /** - * Update merged cells when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustMergeCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aMergeCells = $pSheet->getMergeCells(); - $aNewMergeCells = array(); // the new array of all merge cells - foreach ($aMergeCells as $key => &$value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - $aNewMergeCells[$newReference] = $newReference; - } - $pSheet->setMergeCells($aNewMergeCells); // replace the merge cells array - } - - /** - * Update protected cells when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustProtectedCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aProtectedCells = $pSheet->getProtectedCells(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aProtectedCells, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aProtectedCells, array('PHPExcel_ReferenceHelper','cellSort')); - foreach ($aProtectedCells as $key => $value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->protectCells( $newReference, $value, true ); - $pSheet->unprotectCells( $key ); - } - } - } - - /** - * Update column dimensions when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustColumnDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aColumnDimensions = array_reverse($pSheet->getColumnDimensions(), true); - if (!empty($aColumnDimensions)) { - foreach ($aColumnDimensions as $objColumnDimension) { - $newReference = $this->updateCellReference($objColumnDimension->getColumnIndex() . '1', $pBefore, $pNumCols, $pNumRows); - list($newReference) = PHPExcel_Cell::coordinateFromString($newReference); - if ($objColumnDimension->getColumnIndex() != $newReference) { - $objColumnDimension->setColumnIndex($newReference); - } - } - $pSheet->refreshColumnDimensions(); - } - } - - /** - * Update row dimensions when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustRowDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aRowDimensions = array_reverse($pSheet->getRowDimensions(), true); - if (!empty($aRowDimensions)) { - foreach ($aRowDimensions as $objRowDimension) { - $newReference = $this->updateCellReference('A' . $objRowDimension->getRowIndex(), $pBefore, $pNumCols, $pNumRows); - list(, $newReference) = PHPExcel_Cell::coordinateFromString($newReference); - if ($objRowDimension->getRowIndex() != $newReference) { - $objRowDimension->setRowIndex($newReference); - } - } - $pSheet->refreshRowDimensions(); - - $copyDimension = $pSheet->getRowDimension($beforeRow - 1); - for ($i = $beforeRow; $i <= $beforeRow - 1 + $pNumRows; ++$i) { - $newDimension = $pSheet->getRowDimension($i); - $newDimension->setRowHeight($copyDimension->getRowHeight()); - $newDimension->setVisible($copyDimension->getVisible()); - $newDimension->setOutlineLevel($copyDimension->getOutlineLevel()); - $newDimension->setCollapsed($copyDimension->getCollapsed()); - } - } - } - - /** - * Insert a new column or row, updating all possible related data - * - * @param string $pBefore Insert before this cell address (e.g. 'A1') - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @throws PHPExcel_Exception - */ - public function insertNewBefore($pBefore = 'A1', $pNumCols = 0, $pNumRows = 0, PHPExcel_Worksheet $pSheet = NULL) - { - $remove = ($pNumCols < 0 || $pNumRows < 0); - $aCellCollection = $pSheet->getCellCollection(); - - // Get coordinates of $pBefore - $beforeColumn = 'A'; - $beforeRow = 1; - list($beforeColumn, $beforeRow) = PHPExcel_Cell::coordinateFromString($pBefore); - $beforeColumnIndex = PHPExcel_Cell::columnIndexFromString($beforeColumn); - - // Clear cells if we are removing columns or rows - $highestColumn = $pSheet->getHighestColumn(); - $highestRow = $pSheet->getHighestRow(); - - // 1. Clear column strips if we are removing columns - if ($pNumCols < 0 && $beforeColumnIndex - 2 + $pNumCols > 0) { - for ($i = 1; $i <= $highestRow - 1; ++$i) { - for ($j = $beforeColumnIndex - 1 + $pNumCols; $j <= $beforeColumnIndex - 2; ++$j) { - $coordinate = PHPExcel_Cell::stringFromColumnIndex($j) . $i; - $pSheet->removeConditionalStyles($coordinate); - if ($pSheet->cellExists($coordinate)) { - $pSheet->getCell($coordinate)->setValueExplicit('', PHPExcel_Cell_DataType::TYPE_NULL); - $pSheet->getCell($coordinate)->setXfIndex(0); - } - } - } - } - - // 2. Clear row strips if we are removing rows - if ($pNumRows < 0 && $beforeRow - 1 + $pNumRows > 0) { - for ($i = $beforeColumnIndex - 1; $i <= PHPExcel_Cell::columnIndexFromString($highestColumn) - 1; ++$i) { - for ($j = $beforeRow + $pNumRows; $j <= $beforeRow - 1; ++$j) { - $coordinate = PHPExcel_Cell::stringFromColumnIndex($i) . $j; - $pSheet->removeConditionalStyles($coordinate); - if ($pSheet->cellExists($coordinate)) { - $pSheet->getCell($coordinate)->setValueExplicit('', PHPExcel_Cell_DataType::TYPE_NULL); - $pSheet->getCell($coordinate)->setXfIndex(0); - } - } - } - } - - // Loop through cells, bottom-up, and change cell coordinates - if($remove) { - // It's faster to reverse and pop than to use unshift, especially with large cell collections - $aCellCollection = array_reverse($aCellCollection); - } - while ($cellID = array_pop($aCellCollection)) { - $cell = $pSheet->getCell($cellID); - $cellIndex = PHPExcel_Cell::columnIndexFromString($cell->getColumn()); - - if ($cellIndex-1 + $pNumCols < 0) { - continue; - } - - // New coordinates - $newCoordinates = PHPExcel_Cell::stringFromColumnIndex($cellIndex-1 + $pNumCols) . ($cell->getRow() + $pNumRows); - - // Should the cell be updated? Move value and cellXf index from one cell to another. - if (($cellIndex >= $beforeColumnIndex) && - ($cell->getRow() >= $beforeRow)) { - - // Update cell styles - $pSheet->getCell($newCoordinates)->setXfIndex($cell->getXfIndex()); - - // Insert this cell at its new location - if ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA) { - // Formula should be adjusted - $pSheet->getCell($newCoordinates) - ->setValue($this->updateFormulaReferences($cell->getValue(), - $pBefore, $pNumCols, $pNumRows, $pSheet->getTitle())); - } else { - // Formula should not be adjusted - $pSheet->getCell($newCoordinates)->setValue($cell->getValue()); - } - - // Clear the original cell - $pSheet->getCellCacheController()->deleteCacheData($cellID); - - } else { - /* We don't need to update styles for rows/columns before our insertion position, - but we do still need to adjust any formulae in those cells */ - if ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA) { - // Formula should be adjusted - $cell->setValue($this->updateFormulaReferences($cell->getValue(), - $pBefore, $pNumCols, $pNumRows, $pSheet->getTitle())); - } - - } - } - - // Duplicate styles for the newly inserted cells - $highestColumn = $pSheet->getHighestColumn(); - $highestRow = $pSheet->getHighestRow(); - - if ($pNumCols > 0 && $beforeColumnIndex - 2 > 0) { - for ($i = $beforeRow; $i <= $highestRow - 1; ++$i) { - - // Style - $coordinate = PHPExcel_Cell::stringFromColumnIndex( $beforeColumnIndex - 2 ) . $i; - if ($pSheet->cellExists($coordinate)) { - $xfIndex = $pSheet->getCell($coordinate)->getXfIndex(); - $conditionalStyles = $pSheet->conditionalStylesExists($coordinate) ? - $pSheet->getConditionalStyles($coordinate) : false; - for ($j = $beforeColumnIndex - 1; $j <= $beforeColumnIndex - 2 + $pNumCols; ++$j) { - $pSheet->getCellByColumnAndRow($j, $i)->setXfIndex($xfIndex); - if ($conditionalStyles) { - $cloned = array(); - foreach ($conditionalStyles as $conditionalStyle) { - $cloned[] = clone $conditionalStyle; - } - $pSheet->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($j) . $i, $cloned); - } - } - } - - } - } - - if ($pNumRows > 0 && $beforeRow - 1 > 0) { - for ($i = $beforeColumnIndex - 1; $i <= PHPExcel_Cell::columnIndexFromString($highestColumn) - 1; ++$i) { - - // Style - $coordinate = PHPExcel_Cell::stringFromColumnIndex($i) . ($beforeRow - 1); - if ($pSheet->cellExists($coordinate)) { - $xfIndex = $pSheet->getCell($coordinate)->getXfIndex(); - $conditionalStyles = $pSheet->conditionalStylesExists($coordinate) ? - $pSheet->getConditionalStyles($coordinate) : false; - for ($j = $beforeRow; $j <= $beforeRow - 1 + $pNumRows; ++$j) { - $pSheet->getCell(PHPExcel_Cell::stringFromColumnIndex($i) . $j)->setXfIndex($xfIndex); - if ($conditionalStyles) { - $cloned = array(); - foreach ($conditionalStyles as $conditionalStyle) { - $cloned[] = clone $conditionalStyle; - } - $pSheet->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($i) . $j, $cloned); - } - } - } - } - } - - // Update worksheet: column dimensions - $this->_adjustColumnDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: row dimensions - $this->_adjustRowDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: page breaks - $this->_adjustPageBreaks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: comments - $this->_adjustComments($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: hyperlinks - $this->_adjustHyperlinks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: data validations - $this->_adjustDataValidations($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: merge cells - $this->_adjustMergeCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: protected cells - $this->_adjustProtectedCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: autofilter - $autoFilter = $pSheet->getAutoFilter(); - $autoFilterRange = $autoFilter->getRange(); - if (!empty($autoFilterRange)) { - if ($pNumCols != 0) { - $autoFilterColumns = array_keys($autoFilter->getColumns()); - if (count($autoFilterColumns) > 0) { - sscanf($pBefore,'%[A-Z]%d', $column, $row); - $columnIndex = PHPExcel_Cell::columnIndexFromString($column); - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($autoFilterRange); - if ($columnIndex <= $rangeEnd[0]) { - if ($pNumCols < 0) { - // If we're actually deleting any columns that fall within the autofilter range, - // then we delete any rules for those columns - $deleteColumn = $columnIndex + $pNumCols - 1; - $deleteCount = abs($pNumCols); - for ($i = 1; $i <= $deleteCount; ++$i) { - if (in_array(PHPExcel_Cell::stringFromColumnIndex($deleteColumn),$autoFilterColumns)) { - $autoFilter->clearColumn(PHPExcel_Cell::stringFromColumnIndex($deleteColumn)); - } - ++$deleteColumn; - } - } - $startCol = ($columnIndex > $rangeStart[0]) ? $columnIndex : $rangeStart[0]; - - // Shuffle columns in autofilter range - if ($pNumCols > 0) { - // For insert, we shuffle from end to beginning to avoid overwriting - $startColID = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $toColID = PHPExcel_Cell::stringFromColumnIndex($startCol+$pNumCols-1); - $endColID = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]); - - $startColRef = $startCol; - $endColRef = $rangeEnd[0]; - $toColRef = $rangeEnd[0]+$pNumCols; - - do { - $autoFilter->shiftColumn(PHPExcel_Cell::stringFromColumnIndex($endColRef-1),PHPExcel_Cell::stringFromColumnIndex($toColRef-1)); - --$endColRef; - --$toColRef; - } while ($startColRef <= $endColRef); - } else { - // For delete, we shuffle from beginning to end to avoid overwriting - $startColID = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $toColID = PHPExcel_Cell::stringFromColumnIndex($startCol+$pNumCols-1); - $endColID = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]); - do { - $autoFilter->shiftColumn($startColID,$toColID); - ++$startColID; - ++$toColID; - } while ($startColID != $endColID); - } - } - } - } - $pSheet->setAutoFilter( $this->updateCellReference($autoFilterRange, $pBefore, $pNumCols, $pNumRows) ); - } - - // Update worksheet: freeze pane - if ($pSheet->getFreezePane() != '') { - $pSheet->freezePane( $this->updateCellReference($pSheet->getFreezePane(), $pBefore, $pNumCols, $pNumRows) ); - } - - // Page setup - if ($pSheet->getPageSetup()->isPrintAreaSet()) { - $pSheet->getPageSetup()->setPrintArea( $this->updateCellReference($pSheet->getPageSetup()->getPrintArea(), $pBefore, $pNumCols, $pNumRows) ); - } - - // Update worksheet: drawings - $aDrawings = $pSheet->getDrawingCollection(); - foreach ($aDrawings as $objDrawing) { - $newReference = $this->updateCellReference($objDrawing->getCoordinates(), $pBefore, $pNumCols, $pNumRows); - if ($objDrawing->getCoordinates() != $newReference) { - $objDrawing->setCoordinates($newReference); - } - } - - // Update workbook: named ranges - if (count($pSheet->getParent()->getNamedRanges()) > 0) { - foreach ($pSheet->getParent()->getNamedRanges() as $namedRange) { - if ($namedRange->getWorksheet()->getHashCode() == $pSheet->getHashCode()) { - $namedRange->setRange( - $this->updateCellReference($namedRange->getRange(), $pBefore, $pNumCols, $pNumRows) - ); - } - } - } - - // Garbage collect - $pSheet->garbageCollect(); - } - - /** - * Update references within formulas - * - * @param string $pFormula Formula to update - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to insert - * @param int $pNumRows Number of rows to insert - * @param string $sheetName Worksheet name/title - * @return string Updated formula - * @throws PHPExcel_Exception - */ - public function updateFormulaReferences($pFormula = '', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0, $sheetName = '') { - // Update cell references in the formula - $formulaBlocks = explode('"',$pFormula); - $i = false; - foreach($formulaBlocks as &$formulaBlock) { - // Ignore blocks that were enclosed in quotes (alternating entries in the $formulaBlocks array after the explode) - if ($i = !$i) { - $adjustCount = 0; - $newCellTokens = $cellTokens = array(); - // Search for row ranges (e.g. 'Sheet1'!3:5 or 3:5) with or without $ absolutes (e.g. $3:5) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_ROWRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3].':'.$match[4]; - $modified3 = substr($this->updateCellReference('$A'.$match[3],$pBefore,$pNumCols,$pNumRows),2); - $modified4 = substr($this->updateCellReference('$A'.$match[4],$pBefore,$pNumCols,$pNumRows),2); - - if ($match[3].':'.$match[4] !== $modified3.':'.$modified4) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3.':'.$modified4; - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = 100000; - $row = 10000000+trim($match[3],'$'); - $cellIndex = $column.$row; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<!\d\$\!)'.preg_quote($fromString).'(?!\d)/i'; - ++$adjustCount; - } - } - } - } - // Search for column ranges (e.g. 'Sheet1'!C:E or C:E) with or without $ absolutes (e.g. $C:E) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_COLRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3].':'.$match[4]; - $modified3 = substr($this->updateCellReference($match[3].'$1',$pBefore,$pNumCols,$pNumRows),0,-2); - $modified4 = substr($this->updateCellReference($match[4].'$1',$pBefore,$pNumCols,$pNumRows),0,-2); - - if ($match[3].':'.$match[4] !== $modified3.':'.$modified4) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3.':'.$modified4; - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = PHPExcel_Cell::columnIndexFromString(trim($match[3],'$')) + 100000; - $row = 10000000; - $cellIndex = $column.$row; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<![A-Z\$\!])'.preg_quote($fromString).'(?![A-Z])/i'; - ++$adjustCount; - } - } - } - } - // Search for cell ranges (e.g. 'Sheet1'!A3:C5 or A3:C5) with or without $ absolutes (e.g. $A1:C$5) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_CELLRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3].':'.$match[4]; - $modified3 = $this->updateCellReference($match[3],$pBefore,$pNumCols,$pNumRows); - $modified4 = $this->updateCellReference($match[4],$pBefore,$pNumCols,$pNumRows); - - if ($match[3].$match[4] !== $modified3.$modified4) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3.':'.$modified4; - list($column,$row) = PHPExcel_Cell::coordinateFromString($match[3]); - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = PHPExcel_Cell::columnIndexFromString(trim($column,'$')) + 100000; - $row = trim($row,'$') + 10000000; - $cellIndex = $column.$row; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<![A-Z]\$\!)'.preg_quote($fromString).'(?!\d)/i'; - ++$adjustCount; - } - } - } - } - // Search for cell references (e.g. 'Sheet1'!A3 or C5) with or without $ absolutes (e.g. $A1 or C$5) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_CELLREF.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3]; - - $modified3 = $this->updateCellReference($match[3],$pBefore,$pNumCols,$pNumRows); - if ($match[3] !== $modified3) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3; - list($column,$row) = PHPExcel_Cell::coordinateFromString($match[3]); - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = PHPExcel_Cell::columnIndexFromString(trim($column,'$')) + 100000; - $row = trim($row,'$') + 10000000; - $cellIndex = $row . $column; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<![A-Z\$\!])'.preg_quote($fromString).'(?!\d)/i'; - ++$adjustCount; - } - } - } - } - if ($adjustCount > 0) { - if ($pNumCols > 0 || $pNumRows > 0) { - krsort($cellTokens); - krsort($newCellTokens); - } else { - ksort($cellTokens); - ksort($newCellTokens); - } // Update cell references in the formula - $formulaBlock = str_replace('\\','',preg_replace($cellTokens,$newCellTokens,$formulaBlock)); - } - } - } - unset($formulaBlock); - - // Then rebuild the formula string - return implode('"',$formulaBlocks); - } - - /** - * Update cell reference - * - * @param string $pCellRange Cell range - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to increment - * @param int $pNumRows Number of rows to increment - * @return string Updated cell range - * @throws PHPExcel_Exception - */ - public function updateCellReference($pCellRange = 'A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0) { - // Is it in another worksheet? Will not have to update anything. - if (strpos($pCellRange, "!") !== false) { - return $pCellRange; - // Is it a range or a single cell? - } elseif (strpos($pCellRange, ':') === false && strpos($pCellRange, ',') === false) { - // Single cell - return $this->_updateSingleCellReference($pCellRange, $pBefore, $pNumCols, $pNumRows); - } elseif (strpos($pCellRange, ':') !== false || strpos($pCellRange, ',') !== false) { - // Range - return $this->_updateCellRange($pCellRange, $pBefore, $pNumCols, $pNumRows); - } else { - // Return original - return $pCellRange; - } - } - - /** - * Update named formulas (i.e. containing worksheet references / named ranges) - * - * @param PHPExcel $pPhpExcel Object to update - * @param string $oldName Old name (name to replace) - * @param string $newName New name - */ - public function updateNamedFormulas(PHPExcel $pPhpExcel, $oldName = '', $newName = '') { - if ($oldName == '') { - return; - } - - foreach ($pPhpExcel->getWorksheetIterator() as $sheet) { - foreach ($sheet->getCellCollection(false) as $cellID) { - $cell = $sheet->getCell($cellID); - if (($cell !== NULL) && ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA)) { - $formula = $cell->getValue(); - if (strpos($formula, $oldName) !== false) { - $formula = str_replace("'" . $oldName . "'!", "'" . $newName . "'!", $formula); - $formula = str_replace($oldName . "!", $newName . "!", $formula); - $cell->setValueExplicit($formula, PHPExcel_Cell_DataType::TYPE_FORMULA); - } - } - } - } - } - - /** - * Update cell range - * - * @param string $pCellRange Cell range (e.g. 'B2:D4', 'B:C' or '2:3') - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to increment - * @param int $pNumRows Number of rows to increment - * @return string Updated cell range - * @throws PHPExcel_Exception - */ - private function _updateCellRange($pCellRange = 'A1:A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0) { - if (strpos($pCellRange,':') !== false || strpos($pCellRange, ',') !== false) { - // Update range - $range = PHPExcel_Cell::splitRange($pCellRange); - $ic = count($range); - for ($i = 0; $i < $ic; ++$i) { - $jc = count($range[$i]); - for ($j = 0; $j < $jc; ++$j) { - if (ctype_alpha($range[$i][$j])) { - $r = PHPExcel_Cell::coordinateFromString($this->_updateSingleCellReference($range[$i][$j].'1', $pBefore, $pNumCols, $pNumRows)); - $range[$i][$j] = $r[0]; - } elseif(ctype_digit($range[$i][$j])) { - $r = PHPExcel_Cell::coordinateFromString($this->_updateSingleCellReference('A'.$range[$i][$j], $pBefore, $pNumCols, $pNumRows)); - $range[$i][$j] = $r[1]; - } else { - $range[$i][$j] = $this->_updateSingleCellReference($range[$i][$j], $pBefore, $pNumCols, $pNumRows); - } - } - } - - // Recreate range string - return PHPExcel_Cell::buildRange($range); - } else { - throw new PHPExcel_Exception("Only cell ranges may be passed to this method."); - } - } - - /** - * Update single cell reference - * - * @param string $pCellReference Single cell reference - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to increment - * @param int $pNumRows Number of rows to increment - * @return string Updated cell reference - * @throws PHPExcel_Exception - */ - private function _updateSingleCellReference($pCellReference = 'A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0) { - if (strpos($pCellReference, ':') === false && strpos($pCellReference, ',') === false) { - // Get coordinates of $pBefore - list($beforeColumn, $beforeRow) = PHPExcel_Cell::coordinateFromString( $pBefore ); - - // Get coordinates of $pCellReference - list($newColumn, $newRow) = PHPExcel_Cell::coordinateFromString( $pCellReference ); - - // Verify which parts should be updated - $updateColumn = (($newColumn{0} != '$') && ($beforeColumn{0} != '$') && - PHPExcel_Cell::columnIndexFromString($newColumn) >= PHPExcel_Cell::columnIndexFromString($beforeColumn)); - $updateRow = (($newRow{0} != '$') && ($beforeRow{0} != '$') && - $newRow >= $beforeRow); - - // Create new column reference - if ($updateColumn) { - $newColumn = PHPExcel_Cell::stringFromColumnIndex( PHPExcel_Cell::columnIndexFromString($newColumn) - 1 + $pNumCols ); - } - - // Create new row reference - if ($updateRow) { - $newRow = $newRow + $pNumRows; - } - - // Return new reference - return $newColumn . $newRow; - } else { - throw new PHPExcel_Exception("Only single cell references may be passed to this method."); - } - } - - /** - * __clone implementation. Cloning should not be allowed in a Singleton! - * - * @throws PHPExcel_Exception - */ - public final function __clone() { - throw new PHPExcel_Exception("Cloning a Singleton is not allowed!"); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText.php deleted file mode 100644 index 19326315b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText.php +++ /dev/null @@ -1,199 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_RichText implements PHPExcel_IComparable -{ - /** - * Rich text elements - * - * @var PHPExcel_RichText_ITextElement[] - */ - private $_richTextElements; - - /** - * Create a new PHPExcel_RichText instance - * - * @param PHPExcel_Cell $pCell - * @throws PHPExcel_Exception - */ - public function __construct(PHPExcel_Cell $pCell = null) - { - // Initialise variables - $this->_richTextElements = array(); - - // Rich-Text string attached to cell? - if ($pCell !== NULL) { - // Add cell text and style - if ($pCell->getValue() != "") { - $objRun = new PHPExcel_RichText_Run($pCell->getValue()); - $objRun->setFont(clone $pCell->getParent()->getStyle($pCell->getCoordinate())->getFont()); - $this->addText($objRun); - } - - // Set parent value - $pCell->setValueExplicit($this, PHPExcel_Cell_DataType::TYPE_STRING); - } - } - - /** - * Add text - * - * @param PHPExcel_RichText_ITextElement $pText Rich text element - * @throws PHPExcel_Exception - * @return PHPExcel_RichText - */ - public function addText(PHPExcel_RichText_ITextElement $pText = null) - { - $this->_richTextElements[] = $pText; - return $this; - } - - /** - * Create text - * - * @param string $pText Text - * @return PHPExcel_RichText_TextElement - * @throws PHPExcel_Exception - */ - public function createText($pText = '') - { - $objText = new PHPExcel_RichText_TextElement($pText); - $this->addText($objText); - return $objText; - } - - /** - * Create text run - * - * @param string $pText Text - * @return PHPExcel_RichText_Run - * @throws PHPExcel_Exception - */ - public function createTextRun($pText = '') - { - $objText = new PHPExcel_RichText_Run($pText); - $this->addText($objText); - return $objText; - } - - /** - * Get plain text - * - * @return string - */ - public function getPlainText() - { - // Return value - $returnValue = ''; - - // Loop through all PHPExcel_RichText_ITextElement - foreach ($this->_richTextElements as $text) { - $returnValue .= $text->getText(); - } - - // Return - return $returnValue; - } - - /** - * Convert to string - * - * @return string - */ - public function __toString() - { - return $this->getPlainText(); - } - - /** - * Get Rich Text elements - * - * @return PHPExcel_RichText_ITextElement[] - */ - public function getRichTextElements() - { - return $this->_richTextElements; - } - - /** - * Set Rich Text elements - * - * @param PHPExcel_RichText_ITextElement[] $pElements Array of elements - * @throws PHPExcel_Exception - * @return PHPExcel_RichText - */ - public function setRichTextElements($pElements = null) - { - if (is_array($pElements)) { - $this->_richTextElements = $pElements; - } else { - throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed."); - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() - { - $hashElements = ''; - foreach ($this->_richTextElements as $element) { - $hashElements .= $element->getHashCode(); - } - - return md5( - $hashElements - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() - { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/ITextElement.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/ITextElement.php deleted file mode 100644 index 9f1c6240a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/ITextElement.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php -/** - * PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText_ITextElement - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_RichText_ITextElement -{ - /** - * Get text - * - * @return string Text - */ - public function getText(); - - /** - * Set text - * - * @param $pText string Text - * @return PHPExcel_RichText_ITextElement - */ - public function setText($pText = ''); - - /** - * Get font - * - * @return PHPExcel_Style_Font - */ - public function getFont(); - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode(); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/Run.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/Run.php deleted file mode 100644 index 4a8c592e3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/Run.php +++ /dev/null @@ -1,102 +0,0 @@ -<?php -/** - * PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText_Run - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_RichText_Run extends PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement -{ - /** - * Font - * - * @var PHPExcel_Style_Font - */ - private $_font; - - /** - * Create a new PHPExcel_RichText_Run instance - * - * @param string $pText Text - */ - public function __construct($pText = '') - { - // Initialise variables - $this->setText($pText); - $this->_font = new PHPExcel_Style_Font(); - } - - /** - * Get font - * - * @return PHPExcel_Style_Font - */ - public function getFont() { - return $this->_font; - } - - /** - * Set font - * - * @param PHPExcel_Style_Font $pFont Font - * @throws PHPExcel_Exception - * @return PHPExcel_RichText_ITextElement - */ - public function setFont(PHPExcel_Style_Font $pFont = null) { - $this->_font = $pFont; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->getText() - . $this->_font->getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/TextElement.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/TextElement.php deleted file mode 100644 index ec7c2644e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/TextElement.php +++ /dev/null @@ -1,108 +0,0 @@ -<?php -/** - * PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText_TextElement - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement -{ - /** - * Text - * - * @var string - */ - private $_text; - - /** - * Create a new PHPExcel_RichText_TextElement instance - * - * @param string $pText Text - */ - public function __construct($pText = '') - { - // Initialise variables - $this->_text = $pText; - } - - /** - * Get text - * - * @return string Text - */ - public function getText() { - return $this->_text; - } - - /** - * Set text - * - * @param $pText string Text - * @return PHPExcel_RichText_ITextElement - */ - public function setText($pText = '') { - $this->_text = $pText; - return $this; - } - - /** - * Get font - * - * @return PHPExcel_Style_Font - */ - public function getFont() { - return null; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_text - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/RichText/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Settings.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Settings.php deleted file mode 100644 index c78d9350d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Settings.php +++ /dev/null @@ -1,391 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Settings - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -class PHPExcel_Settings -{ - /** constants */ - /** Available Zip library classes */ - const PCLZIP = 'PHPExcel_Shared_ZipArchive'; - const ZIPARCHIVE = 'ZipArchive'; - - /** Optional Chart Rendering libraries */ - const CHART_RENDERER_JPGRAPH = 'jpgraph'; - - /** Optional PDF Rendering libraries */ - const PDF_RENDERER_TCPDF = 'tcPDF'; - const PDF_RENDERER_DOMPDF = 'DomPDF'; - const PDF_RENDERER_MPDF = 'mPDF'; - - - private static $_chartRenderers = array( - self::CHART_RENDERER_JPGRAPH, - ); - - private static $_pdfRenderers = array( - self::PDF_RENDERER_TCPDF, - self::PDF_RENDERER_DOMPDF, - self::PDF_RENDERER_MPDF, - ); - - - /** - * Name of the class used for Zip file management - * e.g. - * ZipArchive - * - * @var string - */ - private static $_zipClass = self::ZIPARCHIVE; - - - /** - * Name of the external Library used for rendering charts - * e.g. - * jpgraph - * - * @var string - */ - private static $_chartRendererName = NULL; - - /** - * Directory Path to the external Library used for rendering charts - * - * @var string - */ - private static $_chartRendererPath = NULL; - - - /** - * Name of the external Library used for rendering PDF files - * e.g. - * mPDF - * - * @var string - */ - private static $_pdfRendererName = NULL; - - /** - * Directory Path to the external Library used for rendering PDF files - * - * @var string - */ - private static $_pdfRendererPath = NULL; - - /** - * Default options for libxml loader - * - * @var int - */ - private static $_libXmlLoaderOptions = null; - - /** - * Set the Zip handler Class that PHPExcel should use for Zip file management (PCLZip or ZipArchive) - * - * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management - * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive - * @return boolean Success or failure - */ - public static function setZipClass($zipClass) - { - if (($zipClass === self::PCLZIP) || - ($zipClass === self::ZIPARCHIVE)) { - self::$_zipClass = $zipClass; - return TRUE; - } - return FALSE; - } // function setZipClass() - - - /** - * Return the name of the Zip handler Class that PHPExcel is configured to use (PCLZip or ZipArchive) - * or Zip file management - * - * @return string Name of the Zip handler Class that PHPExcel is configured to use - * for Zip file management - * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive - */ - public static function getZipClass() - { - return self::$_zipClass; - } // function getZipClass() - - - /** - * Return the name of the method that is currently configured for cell cacheing - * - * @return string Name of the cacheing method - */ - public static function getCacheStorageMethod() - { - return PHPExcel_CachedObjectStorageFactory::getCacheStorageMethod(); - } // function getCacheStorageMethod() - - - /** - * Return the name of the class that is currently being used for cell cacheing - * - * @return string Name of the class currently being used for cacheing - */ - public static function getCacheStorageClass() - { - return PHPExcel_CachedObjectStorageFactory::getCacheStorageClass(); - } // function getCacheStorageClass() - - - /** - * Set the method that should be used for cell cacheing - * - * @param string $method Name of the cacheing method - * @param array $arguments Optional configuration arguments for the cacheing method - * @return boolean Success or failure - */ - public static function setCacheStorageMethod( - $method = PHPExcel_CachedObjectStorageFactory::cache_in_memory, - $arguments = array() - ) - { - return PHPExcel_CachedObjectStorageFactory::initialize($method, $arguments); - } // function setCacheStorageMethod() - - - /** - * Set the locale code to use for formula translations and any special formatting - * - * @param string $locale The locale code to use (e.g. "fr" or "pt_br" or "en_uk") - * @return boolean Success or failure - */ - public static function setLocale($locale='en_us') - { - return PHPExcel_Calculation::getInstance()->setLocale($locale); - } // function setLocale() - - - /** - * Set details of the external library that PHPExcel should use for rendering charts - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH - * @param string $libraryBaseDir Directory path to the library's base folder - * - * @return boolean Success or failure - */ - public static function setChartRenderer($libraryName, $libraryBaseDir) - { - if (!self::setChartRendererName($libraryName)) - return FALSE; - return self::setChartRendererPath($libraryBaseDir); - } // function setChartRenderer() - - - /** - * Identify to PHPExcel the external library to use for rendering charts - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH - * - * @return boolean Success or failure - */ - public static function setChartRendererName($libraryName) - { - if (!in_array($libraryName,self::$_chartRenderers)) { - return FALSE; - } - - self::$_chartRendererName = $libraryName; - - return TRUE; - } // function setChartRendererName() - - - /** - * Tell PHPExcel where to find the external library to use for rendering charts - * - * @param string $libraryBaseDir Directory path to the library's base folder - * @return boolean Success or failure - */ - public static function setChartRendererPath($libraryBaseDir) - { - if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) { - return FALSE; - } - self::$_chartRendererPath = $libraryBaseDir; - - return TRUE; - } // function setChartRendererPath() - - - /** - * Return the Chart Rendering Library that PHPExcel is currently configured to use (e.g. jpgraph) - * - * @return string|NULL Internal reference name of the Chart Rendering Library that PHPExcel is - * currently configured to use - * e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH - */ - public static function getChartRendererName() - { - return self::$_chartRendererName; - } // function getChartRendererName() - - - /** - * Return the directory path to the Chart Rendering Library that PHPExcel is currently configured to use - * - * @return string|NULL Directory Path to the Chart Rendering Library that PHPExcel is - * currently configured to use - */ - public static function getChartRendererPath() - { - return self::$_chartRendererPath; - } // function getChartRendererPath() - - - /** - * Set details of the external library that PHPExcel should use for rendering PDF files - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, - * PHPExcel_Settings::PDF_RENDERER_DOMPDF - * or PHPExcel_Settings::PDF_RENDERER_MPDF - * @param string $libraryBaseDir Directory path to the library's base folder - * - * @return boolean Success or failure - */ - public static function setPdfRenderer($libraryName, $libraryBaseDir) - { - if (!self::setPdfRendererName($libraryName)) - return FALSE; - return self::setPdfRendererPath($libraryBaseDir); - } // function setPdfRenderer() - - - /** - * Identify to PHPExcel the external library to use for rendering PDF files - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, - * PHPExcel_Settings::PDF_RENDERER_DOMPDF - * or PHPExcel_Settings::PDF_RENDERER_MPDF - * - * @return boolean Success or failure - */ - public static function setPdfRendererName($libraryName) - { - if (!in_array($libraryName,self::$_pdfRenderers)) { - return FALSE; - } - - self::$_pdfRendererName = $libraryName; - - return TRUE; - } // function setPdfRendererName() - - - /** - * Tell PHPExcel where to find the external library to use for rendering PDF files - * - * @param string $libraryBaseDir Directory path to the library's base folder - * @return boolean Success or failure - */ - public static function setPdfRendererPath($libraryBaseDir) - { - if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) { - return FALSE; - } - self::$_pdfRendererPath = $libraryBaseDir; - - return TRUE; - } // function setPdfRendererPath() - - - /** - * Return the PDF Rendering Library that PHPExcel is currently configured to use (e.g. dompdf) - * - * @return string|NULL Internal reference name of the PDF Rendering Library that PHPExcel is - * currently configured to use - * e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, - * PHPExcel_Settings::PDF_RENDERER_DOMPDF - * or PHPExcel_Settings::PDF_RENDERER_MPDF - */ - public static function getPdfRendererName() - { - return self::$_pdfRendererName; - } // function getPdfRendererName() - - /** - * Return the directory path to the PDF Rendering Library that PHPExcel is currently configured to use - * - * @return string|NULL Directory Path to the PDF Rendering Library that PHPExcel is - * currently configured to use - */ - public static function getPdfRendererPath() - { - return self::$_pdfRendererPath; - } // function getPdfRendererPath() - - /** - * Set default options for libxml loader - * - * @param int $options Default options for libxml loader - */ - public static function setLibXmlLoaderOptions($options = null) - { - if (is_null($options) && defined(LIBXML_DTDLOAD)) { - $options = LIBXML_DTDLOAD | LIBXML_DTDATTR; - } - if (version_compare(PHP_VERSION, '5.2.11') >= 0) { - @libxml_disable_entity_loader($options == (LIBXML_DTDLOAD | LIBXML_DTDATTR)); - } - self::$_libXmlLoaderOptions = $options; - } // function setLibXmlLoaderOptions - - /** - * Get default options for libxml loader. - * Defaults to LIBXML_DTDLOAD | LIBXML_DTDATTR when not set explicitly. - * - * @return int Default options for libxml loader - */ - public static function getLibXmlLoaderOptions() - { - if (is_null(self::$_libXmlLoaderOptions) && defined(LIBXML_DTDLOAD)) { - self::setLibXmlLoaderOptions(LIBXML_DTDLOAD | LIBXML_DTDATTR); - } - if (version_compare(PHP_VERSION, '5.2.11') >= 0) { - @libxml_disable_entity_loader(self::$_libXmlLoaderOptions == (LIBXML_DTDLOAD | LIBXML_DTDATTR)); - } - return self::$_libXmlLoaderOptions; - } // function getLibXmlLoaderOptions -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/CodePage.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/CodePage.php deleted file mode 100644 index 01e0ea4f3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/CodePage.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_CodePage - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_CodePage -{ - /** - * Convert Microsoft Code Page Identifier to Code Page Name which iconv - * and mbstring understands - * - * @param integer $codePage Microsoft Code Page Indentifier - * @return string Code Page Name - * @throws PHPExcel_Exception - */ - public static function NumberToName($codePage = 1252) - { - switch ($codePage) { - case 367: return 'ASCII'; break; // ASCII - case 437: return 'CP437'; break; // OEM US - case 720: throw new PHPExcel_Exception('Code page 720 not supported.'); - break; // OEM Arabic - case 737: return 'CP737'; break; // OEM Greek - case 775: return 'CP775'; break; // OEM Baltic - case 850: return 'CP850'; break; // OEM Latin I - case 852: return 'CP852'; break; // OEM Latin II (Central European) - case 855: return 'CP855'; break; // OEM Cyrillic - case 857: return 'CP857'; break; // OEM Turkish - case 858: return 'CP858'; break; // OEM Multilingual Latin I with Euro - case 860: return 'CP860'; break; // OEM Portugese - case 861: return 'CP861'; break; // OEM Icelandic - case 862: return 'CP862'; break; // OEM Hebrew - case 863: return 'CP863'; break; // OEM Canadian (French) - case 864: return 'CP864'; break; // OEM Arabic - case 865: return 'CP865'; break; // OEM Nordic - case 866: return 'CP866'; break; // OEM Cyrillic (Russian) - case 869: return 'CP869'; break; // OEM Greek (Modern) - case 874: return 'CP874'; break; // ANSI Thai - case 932: return 'CP932'; break; // ANSI Japanese Shift-JIS - case 936: return 'CP936'; break; // ANSI Chinese Simplified GBK - case 949: return 'CP949'; break; // ANSI Korean (Wansung) - case 950: return 'CP950'; break; // ANSI Chinese Traditional BIG5 - case 1200: return 'UTF-16LE'; break; // UTF-16 (BIFF8) - case 1250: return 'CP1250'; break; // ANSI Latin II (Central European) - case 1251: return 'CP1251'; break; // ANSI Cyrillic - case 0: // CodePage is not always correctly set when the xls file was saved by Apple's Numbers program - case 1252: return 'CP1252'; break; // ANSI Latin I (BIFF4-BIFF7) - case 1253: return 'CP1253'; break; // ANSI Greek - case 1254: return 'CP1254'; break; // ANSI Turkish - case 1255: return 'CP1255'; break; // ANSI Hebrew - case 1256: return 'CP1256'; break; // ANSI Arabic - case 1257: return 'CP1257'; break; // ANSI Baltic - case 1258: return 'CP1258'; break; // ANSI Vietnamese - case 1361: return 'CP1361'; break; // ANSI Korean (Johab) - case 10000: return 'MAC'; break; // Apple Roman - case 10001: return 'CP932'; break; // Macintosh Japanese - case 10002: return 'CP950'; break; // Macintosh Chinese Traditional - case 10003: return 'CP1361'; break; // Macintosh Korean - case 10006: return 'MACGREEK'; break; // Macintosh Greek - case 10007: return 'MACCYRILLIC'; break; // Macintosh Cyrillic - case 10008: return 'CP936'; break; // Macintosh - Simplified Chinese (GB 2312) - case 10029: return 'MACCENTRALEUROPE'; break; // Macintosh Central Europe - case 10079: return 'MACICELAND'; break; // Macintosh Icelandic - case 10081: return 'MACTURKISH'; break; // Macintosh Turkish - case 32768: return 'MAC'; break; // Apple Roman - case 32769: throw new PHPExcel_Exception('Code page 32769 not supported.'); - break; // ANSI Latin I (BIFF2-BIFF3) - case 65000: return 'UTF-7'; break; // Unicode (UTF-7) - case 65001: return 'UTF-8'; break; // Unicode (UTF-8) - } - - throw new PHPExcel_Exception('Unknown codepage: ' . $codePage); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Date.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Date.php deleted file mode 100644 index 75f367eac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Date.php +++ /dev/null @@ -1,393 +0,0 @@ -<?php - -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Date - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Date -{ - /** constants */ - const CALENDAR_WINDOWS_1900 = 1900; // Base date of 1st Jan 1900 = 1.0 - const CALENDAR_MAC_1904 = 1904; // Base date of 2nd Jan 1904 = 1.0 - - /* - * Names of the months of the year, indexed by shortname - * Planned usage for locale settings - * - * @public - * @var string[] - */ - public static $_monthNames = array( 'Jan' => 'January', - 'Feb' => 'February', - 'Mar' => 'March', - 'Apr' => 'April', - 'May' => 'May', - 'Jun' => 'June', - 'Jul' => 'July', - 'Aug' => 'August', - 'Sep' => 'September', - 'Oct' => 'October', - 'Nov' => 'November', - 'Dec' => 'December', - ); - - /* - * Names of the months of the year, indexed by shortname - * Planned usage for locale settings - * - * @public - * @var string[] - */ - public static $_numberSuffixes = array( 'st', - 'nd', - 'rd', - 'th', - ); - - /* - * Base calendar year to use for calculations - * - * @private - * @var int - */ - protected static $_excelBaseDate = self::CALENDAR_WINDOWS_1900; - - /** - * Set the Excel calendar (Windows 1900 or Mac 1904) - * - * @param integer $baseDate Excel base date (1900 or 1904) - * @return boolean Success or failure - */ - public static function setExcelCalendar($baseDate) { - if (($baseDate == self::CALENDAR_WINDOWS_1900) || - ($baseDate == self::CALENDAR_MAC_1904)) { - self::$_excelBaseDate = $baseDate; - return TRUE; - } - return FALSE; - } // function setExcelCalendar() - - - /** - * Return the Excel calendar (Windows 1900 or Mac 1904) - * - * @return integer Excel base date (1900 or 1904) - */ - public static function getExcelCalendar() { - return self::$_excelBaseDate; - } // function getExcelCalendar() - - - /** - * Convert a date from Excel to PHP - * - * @param long $dateValue Excel date/time value - * @param boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as - * a UST timestamp, or adjusted to UST - * @param string $timezone The timezone for finding the adjustment from UST - * @return long PHP serialized date/time - */ - public static function ExcelToPHP($dateValue = 0, $adjustToTimezone = FALSE, $timezone = NULL) { - if (self::$_excelBaseDate == self::CALENDAR_WINDOWS_1900) { - $my_excelBaseDate = 25569; - // Adjust for the spurious 29-Feb-1900 (Day 60) - if ($dateValue < 60) { - --$my_excelBaseDate; - } - } else { - $my_excelBaseDate = 24107; - } - - // Perform conversion - if ($dateValue >= 1) { - $utcDays = $dateValue - $my_excelBaseDate; - $returnValue = round($utcDays * 86400); - if (($returnValue <= PHP_INT_MAX) && ($returnValue >= -PHP_INT_MAX)) { - $returnValue = (integer) $returnValue; - } - } else { - $hours = round($dateValue * 24); - $mins = round($dateValue * 1440) - round($hours * 60); - $secs = round($dateValue * 86400) - round($hours * 3600) - round($mins * 60); - $returnValue = (integer) gmmktime($hours, $mins, $secs); - } - - $timezoneAdjustment = ($adjustToTimezone) ? - PHPExcel_Shared_TimeZone::getTimezoneAdjustment($timezone, $returnValue) : - 0; - - // Return - return $returnValue + $timezoneAdjustment; - } // function ExcelToPHP() - - - /** - * Convert a date from Excel to a PHP Date/Time object - * - * @param integer $dateValue Excel date/time value - * @return DateTime PHP date/time object - */ - public static function ExcelToPHPObject($dateValue = 0) { - $dateTime = self::ExcelToPHP($dateValue); - $days = floor($dateTime / 86400); - $time = round((($dateTime / 86400) - $days) * 86400); - $hours = round($time / 3600); - $minutes = round($time / 60) - ($hours * 60); - $seconds = round($time) - ($hours * 3600) - ($minutes * 60); - - $dateObj = date_create('1-Jan-1970+'.$days.' days'); - $dateObj->setTime($hours,$minutes,$seconds); - - return $dateObj; - } // function ExcelToPHPObject() - - - /** - * Convert a date from PHP to Excel - * - * @param mixed $dateValue PHP serialized date/time or date object - * @param boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as - * a UST timestamp, or adjusted to UST - * @param string $timezone The timezone for finding the adjustment from UST - * @return mixed Excel date/time value - * or boolean FALSE on failure - */ - public static function PHPToExcel($dateValue = 0, $adjustToTimezone = FALSE, $timezone = NULL) { - $saveTimeZone = date_default_timezone_get(); - date_default_timezone_set('UTC'); - $retValue = FALSE; - if ((is_object($dateValue)) && ($dateValue instanceof DateTime)) { - $retValue = self::FormattedPHPToExcel( $dateValue->format('Y'), $dateValue->format('m'), $dateValue->format('d'), - $dateValue->format('H'), $dateValue->format('i'), $dateValue->format('s') - ); - } elseif (is_numeric($dateValue)) { - $retValue = self::FormattedPHPToExcel( date('Y',$dateValue), date('m',$dateValue), date('d',$dateValue), - date('H',$dateValue), date('i',$dateValue), date('s',$dateValue) - ); - } - date_default_timezone_set($saveTimeZone); - - return $retValue; - } // function PHPToExcel() - - - /** - * FormattedPHPToExcel - * - * @param long $year - * @param long $month - * @param long $day - * @param long $hours - * @param long $minutes - * @param long $seconds - * @return long Excel date/time value - */ - public static function FormattedPHPToExcel($year, $month, $day, $hours=0, $minutes=0, $seconds=0) { - if (self::$_excelBaseDate == self::CALENDAR_WINDOWS_1900) { - // - // Fudge factor for the erroneous fact that the year 1900 is treated as a Leap Year in MS Excel - // This affects every date following 28th February 1900 - // - $excel1900isLeapYear = TRUE; - if (($year == 1900) && ($month <= 2)) { $excel1900isLeapYear = FALSE; } - $my_excelBaseDate = 2415020; - } else { - $my_excelBaseDate = 2416481; - $excel1900isLeapYear = FALSE; - } - - // Julian base date Adjustment - if ($month > 2) { - $month -= 3; - } else { - $month += 9; - --$year; - } - - // Calculate the Julian Date, then subtract the Excel base date (JD 2415020 = 31-Dec-1899 Giving Excel Date of 0) - $century = substr($year,0,2); - $decade = substr($year,2,2); - $excelDate = floor((146097 * $century) / 4) + floor((1461 * $decade) / 4) + floor((153 * $month + 2) / 5) + $day + 1721119 - $my_excelBaseDate + $excel1900isLeapYear; - - $excelTime = (($hours * 3600) + ($minutes * 60) + $seconds) / 86400; - - return (float) $excelDate + $excelTime; - } // function FormattedPHPToExcel() - - - /** - * Is a given cell a date/time? - * - * @param PHPExcel_Cell $pCell - * @return boolean - */ - public static function isDateTime(PHPExcel_Cell $pCell) { - return self::isDateTimeFormat( - $pCell->getWorksheet()->getStyle( - $pCell->getCoordinate() - )->getNumberFormat() - ); - } // function isDateTime() - - - /** - * Is a given number format a date/time? - * - * @param PHPExcel_Style_NumberFormat $pFormat - * @return boolean - */ - public static function isDateTimeFormat(PHPExcel_Style_NumberFormat $pFormat) { - return self::isDateTimeFormatCode($pFormat->getFormatCode()); - } // function isDateTimeFormat() - - - private static $possibleDateFormatCharacters = 'eymdHs'; - - /** - * Is a given number format code a date/time? - * - * @param string $pFormatCode - * @return boolean - */ - public static function isDateTimeFormatCode($pFormatCode = '') { - if (strtolower($pFormatCode) === strtolower(PHPExcel_Style_NumberFormat::FORMAT_GENERAL)) - // "General" contains an epoch letter 'e', so we trap for it explicitly here (case-insensitive check) - return FALSE; - if (preg_match('/[0#]E[+-]0/i', $pFormatCode)) - // Scientific format - return FALSE; - // Switch on formatcode - switch ($pFormatCode) { - // Explicitly defined date formats - case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DDMMYYYY: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMYSLASH: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMYMINUS: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMMINUS: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_MYMINUS: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DATETIME: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME1: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME2: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME3: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME5: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME6: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME7: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME8: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDDSLASH: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX14: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX16: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX17: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX22: - return TRUE; - } - - // Typically number, currency or accounting (or occasionally fraction) formats - if ((substr($pFormatCode,0,1) == '_') || (substr($pFormatCode,0,2) == '0 ')) { - return FALSE; - } - // Try checking for any of the date formatting characters that don't appear within square braces - if (preg_match('/(^|\])[^\[]*['.self::$possibleDateFormatCharacters.']/i',$pFormatCode)) { - // We might also have a format mask containing quoted strings... - // we don't want to test for any of our characters within the quoted blocks - if (strpos($pFormatCode,'"') !== FALSE) { - $segMatcher = FALSE; - foreach(explode('"',$pFormatCode) as $subVal) { - // Only test in alternate array entries (the non-quoted blocks) - if (($segMatcher = !$segMatcher) && - (preg_match('/(^|\])[^\[]*['.self::$possibleDateFormatCharacters.']/i',$subVal))) { - return TRUE; - } - } - return FALSE; - } - return TRUE; - } - - // No date... - return FALSE; - } // function isDateTimeFormatCode() - - - /** - * Convert a date/time string to Excel time - * - * @param string $dateValue Examples: '2009-12-31', '2009-12-31 15:59', '2009-12-31 15:59:10' - * @return float|FALSE Excel date/time serial value - */ - public static function stringToExcel($dateValue = '') { - if (strlen($dateValue) < 2) - return FALSE; - if (!preg_match('/^(\d{1,4}[ \.\/\-][A-Z]{3,9}([ \.\/\-]\d{1,4})?|[A-Z]{3,9}[ \.\/\-]\d{1,4}([ \.\/\-]\d{1,4})?|\d{1,4}[ \.\/\-]\d{1,4}([ \.\/\-]\d{1,4})?)( \d{1,2}:\d{1,2}(:\d{1,2})?)?$/iu', $dateValue)) - return FALSE; - - $dateValueNew = PHPExcel_Calculation_DateTime::DATEVALUE($dateValue); - - if ($dateValueNew === PHPExcel_Calculation_Functions::VALUE()) { - return FALSE; - } else { - if (strpos($dateValue, ':') !== FALSE) { - $timeValue = PHPExcel_Calculation_DateTime::TIMEVALUE($dateValue); - if ($timeValue === PHPExcel_Calculation_Functions::VALUE()) { - return FALSE; - } - $dateValueNew += $timeValue; - } - return $dateValueNew; - } - - - } - - public static function monthStringToNumber($month) { - $monthIndex = 1; - foreach(self::$_monthNames as $shortMonthName => $longMonthName) { - if (($month === $longMonthName) || ($month === $shortMonthName)) { - return $monthIndex; - } - ++$monthIndex; - } - return $month; - } - - public static function dayStringToNumber($day) { - $strippedDayValue = (str_replace(self::$_numberSuffixes,'',$day)); - if (is_numeric($strippedDayValue)) { - return $strippedDayValue; - } - return $day; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Drawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Drawing.php deleted file mode 100644 index dbff74abc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Drawing.php +++ /dev/null @@ -1,272 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Drawing - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Drawing -{ - /** - * Convert pixels to EMU - * - * @param int $pValue Value in pixels - * @return int Value in EMU - */ - public static function pixelsToEMU($pValue = 0) { - return round($pValue * 9525); - } - - /** - * Convert EMU to pixels - * - * @param int $pValue Value in EMU - * @return int Value in pixels - */ - public static function EMUToPixels($pValue = 0) { - if ($pValue != 0) { - return round($pValue / 9525); - } else { - return 0; - } - } - - /** - * Convert pixels to column width. Exact algorithm not known. - * By inspection of a real Excel file using Calibri 11, one finds 1000px ~ 142.85546875 - * This gives a conversion factor of 7. Also, we assume that pixels and font size are proportional. - * - * @param int $pValue Value in pixels - * @param PHPExcel_Style_Font $pDefaultFont Default font of the workbook - * @return int Value in cell dimension - */ - public static function pixelsToCellDimension($pValue = 0, PHPExcel_Style_Font $pDefaultFont) { - // Font name and size - $name = $pDefaultFont->getName(); - $size = $pDefaultFont->getSize(); - - if (isset(PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size])) { - // Exact width can be determined - $colWidth = $pValue - * PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['width'] - / PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['px']; - } else { - // We don't have data for this particular font and size, use approximation by - // extrapolating from Calibri 11 - $colWidth = $pValue * 11 - * PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['width'] - / PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['px'] / $size; - } - - return $colWidth; - } - - /** - * Convert column width from (intrinsic) Excel units to pixels - * - * @param float $pValue Value in cell dimension - * @param PHPExcel_Style_Font $pDefaultFont Default font of the workbook - * @return int Value in pixels - */ - public static function cellDimensionToPixels($pValue = 0, PHPExcel_Style_Font $pDefaultFont) { - // Font name and size - $name = $pDefaultFont->getName(); - $size = $pDefaultFont->getSize(); - - if (isset(PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size])) { - // Exact width can be determined - $colWidth = $pValue - * PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['px'] - / PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['width']; - - } else { - // We don't have data for this particular font and size, use approximation by - // extrapolating from Calibri 11 - $colWidth = $pValue * $size - * PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['px'] - / PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['width'] / 11; - } - - // Round pixels to closest integer - $colWidth = (int) round($colWidth); - - return $colWidth; - } - - /** - * Convert pixels to points - * - * @param int $pValue Value in pixels - * @return int Value in points - */ - public static function pixelsToPoints($pValue = 0) { - return $pValue * 0.67777777; - } - - /** - * Convert points to pixels - * - * @param int $pValue Value in points - * @return int Value in pixels - */ - public static function pointsToPixels($pValue = 0) { - if ($pValue != 0) { - return (int) ceil($pValue * 1.333333333); - } else { - return 0; - } - } - - /** - * Convert degrees to angle - * - * @param int $pValue Degrees - * @return int Angle - */ - public static function degreesToAngle($pValue = 0) { - return (int)round($pValue * 60000); - } - - /** - * Convert angle to degrees - * - * @param int $pValue Angle - * @return int Degrees - */ - public static function angleToDegrees($pValue = 0) { - if ($pValue != 0) { - return round($pValue / 60000); - } else { - return 0; - } - } - - /** - * Create a new image from file. By alexander at alexauto dot nl - * - * @link http://www.php.net/manual/en/function.imagecreatefromwbmp.php#86214 - * @param string $filename Path to Windows DIB (BMP) image - * @return resource - */ - public static function imagecreatefrombmp($p_sFile) - { - // Load the image into a string - $file = fopen($p_sFile,"rb"); - $read = fread($file,10); - while(!feof($file)&&($read<>"")) - $read .= fread($file,1024); - - $temp = unpack("H*",$read); - $hex = $temp[1]; - $header = substr($hex,0,108); - - // Process the header - // Structure: http://www.fastgraph.com/help/bmp_header_format.html - if (substr($header,0,4)=="424d") - { - // Cut it in parts of 2 bytes - $header_parts = str_split($header,2); - - // Get the width 4 bytes - $width = hexdec($header_parts[19].$header_parts[18]); - - // Get the height 4 bytes - $height = hexdec($header_parts[23].$header_parts[22]); - - // Unset the header params - unset($header_parts); - } - - // Define starting X and Y - $x = 0; - $y = 1; - - // Create newimage - $image = imagecreatetruecolor($width,$height); - - // Grab the body from the image - $body = substr($hex,108); - - // Calculate if padding at the end-line is needed - // Divided by two to keep overview. - // 1 byte = 2 HEX-chars - $body_size = (strlen($body)/2); - $header_size = ($width*$height); - - // Use end-line padding? Only when needed - $usePadding = ($body_size>($header_size*3)+4); - - // Using a for-loop with index-calculation instaid of str_split to avoid large memory consumption - // Calculate the next DWORD-position in the body - for ($i=0;$i<$body_size;$i+=3) - { - // Calculate line-ending and padding - if ($x>=$width) - { - // If padding needed, ignore image-padding - // Shift i to the ending of the current 32-bit-block - if ($usePadding) - $i += $width%4; - - // Reset horizontal position - $x = 0; - - // Raise the height-position (bottom-up) - $y++; - - // Reached the image-height? Break the for-loop - if ($y>$height) - break; - } - - // Calculation of the RGB-pixel (defined as BGR in image-data) - // Define $i_pos as absolute position in the body - $i_pos = $i*2; - $r = hexdec($body[$i_pos+4].$body[$i_pos+5]); - $g = hexdec($body[$i_pos+2].$body[$i_pos+3]); - $b = hexdec($body[$i_pos].$body[$i_pos+1]); - - // Calculate and draw the pixel - $color = imagecolorallocate($image,$r,$g,$b); - imagesetpixel($image,$x,$height-$y,$color); - - // Raise the horizontal position - $x++; - } - - // Unset the body / free the memory - unset($body); - - // Return image-object - return $image; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher.php deleted file mode 100644 index ddf68c65b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher.php +++ /dev/null @@ -1,91 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher -{ - /** - * Drawing Group Container - * - * @var PHPExcel_Shared_Escher_DggContainer - */ - private $_dggContainer; - - /** - * Drawing Container - * - * @var PHPExcel_Shared_Escher_DgContainer - */ - private $_dgContainer; - - /** - * Get Drawing Group Container - * - * @return PHPExcel_Shared_Escher_DgContainer - */ - public function getDggContainer() - { - return $this->_dggContainer; - } - - /** - * Set Drawing Group Container - * - * @param PHPExcel_Shared_Escher_DggContainer $dggContainer - */ - public function setDggContainer($dggContainer) - { - return $this->_dggContainer = $dggContainer; - } - - /** - * Get Drawing Container - * - * @return PHPExcel_Shared_Escher_DgContainer - */ - public function getDgContainer() - { - return $this->_dgContainer; - } - - /** - * Set Drawing Container - * - * @param PHPExcel_Shared_Escher_DgContainer $dgContainer - */ - public function setDgContainer($dgContainer) - { - return $this->_dgContainer = $dgContainer; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer.php deleted file mode 100644 index cb826db10..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer.php +++ /dev/null @@ -1,83 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DgContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DgContainer -{ - /** - * Drawing index, 1-based. - * - * @var int - */ - private $_dgId; - - /** - * Last shape index in this drawing - * - * @var int - */ - private $_lastSpId; - - private $_spgrContainer = null; - - public function getDgId() - { - return $this->_dgId; - } - - public function setDgId($value) - { - $this->_dgId = $value; - } - - public function getLastSpId() - { - return $this->_lastSpId; - } - - public function setLastSpId($value) - { - $this->_lastSpId = $value; - } - - public function getSpgrContainer() - { - return $this->_spgrContainer; - } - - public function setSpgrContainer($spgrContainer) - { - return $this->_spgrContainer = $spgrContainer; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php deleted file mode 100644 index b8ad8eafd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php +++ /dev/null @@ -1,109 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DgContainer_SpgrContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DgContainer_SpgrContainer -{ - /** - * Parent Shape Group Container - * - * @var PHPExcel_Shared_Escher_DgContainer_SpgrContainer - */ - private $_parent; - - /** - * Shape Container collection - * - * @var array - */ - private $_children = array(); - - /** - * Set parent Shape Group Container - * - * @param PHPExcel_Shared_Escher_DgContainer_SpgrContainer $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get the parent Shape Group Container if any - * - * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer|null - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Add a child. This will be either spgrContainer or spContainer - * - * @param mixed $child - */ - public function addChild($child) - { - $this->_children[] = $child; - $child->setParent($this); - } - - /** - * Get collection of Shape Containers - */ - public function getChildren() - { - return $this->_children; - } - - /** - * Recursively get all spContainers within this spgrContainer - * - * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer[] - */ - public function getAllSpContainers() - { - $allSpContainers = array(); - - foreach ($this->_children as $child) { - if ($child instanceof PHPExcel_Shared_Escher_DgContainer_SpgrContainer) { - $allSpContainers = array_merge($allSpContainers, $child->getAllSpContainers()); - } else { - $allSpContainers[] = $child; - } - } - - return $allSpContainers; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php deleted file mode 100644 index 682314801..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php +++ /dev/null @@ -1,395 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer -{ - /** - * Parent Shape Group Container - * - * @var PHPExcel_Shared_Escher_DgContainer_SpgrContainer - */ - private $_parent; - - /** - * Is this a group shape? - * - * @var boolean - */ - private $_spgr = false; - - /** - * Shape type - * - * @var int - */ - private $_spType; - - /** - * Shape flag - * - * @var int - */ - private $_spFlag; - - /** - * Shape index (usually group shape has index 0, and the rest: 1,2,3...) - * - * @var boolean - */ - private $_spId; - - /** - * Array of options - * - * @var array - */ - private $_OPT; - - /** - * Cell coordinates of upper-left corner of shape, e.g. 'A1' - * - * @var string - */ - private $_startCoordinates; - - /** - * Horizontal offset of upper-left corner of shape measured in 1/1024 of column width - * - * @var int - */ - private $_startOffsetX; - - /** - * Vertical offset of upper-left corner of shape measured in 1/256 of row height - * - * @var int - */ - private $_startOffsetY; - - /** - * Cell coordinates of bottom-right corner of shape, e.g. 'B2' - * - * @var string - */ - private $_endCoordinates; - - /** - * Horizontal offset of bottom-right corner of shape measured in 1/1024 of column width - * - * @var int - */ - private $_endOffsetX; - - /** - * Vertical offset of bottom-right corner of shape measured in 1/256 of row height - * - * @var int - */ - private $_endOffsetY; - - /** - * Set parent Shape Group Container - * - * @param PHPExcel_Shared_Escher_DgContainer_SpgrContainer $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get the parent Shape Group Container - * - * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Set whether this is a group shape - * - * @param boolean $value - */ - public function setSpgr($value = false) - { - $this->_spgr = $value; - } - - /** - * Get whether this is a group shape - * - * @return boolean - */ - public function getSpgr() - { - return $this->_spgr; - } - - /** - * Set the shape type - * - * @param int $value - */ - public function setSpType($value) - { - $this->_spType = $value; - } - - /** - * Get the shape type - * - * @return int - */ - public function getSpType() - { - return $this->_spType; - } - - /** - * Set the shape flag - * - * @param int $value - */ - public function setSpFlag($value) - { - $this->_spFlag = $value; - } - - /** - * Get the shape flag - * - * @return int - */ - public function getSpFlag() - { - return $this->_spFlag; - } - - /** - * Set the shape index - * - * @param int $value - */ - public function setSpId($value) - { - $this->_spId = $value; - } - - /** - * Get the shape index - * - * @return int - */ - public function getSpId() - { - return $this->_spId; - } - - /** - * Set an option for the Shape Group Container - * - * @param int $property The number specifies the option - * @param mixed $value - */ - public function setOPT($property, $value) - { - $this->_OPT[$property] = $value; - } - - /** - * Get an option for the Shape Group Container - * - * @param int $property The number specifies the option - * @return mixed - */ - public function getOPT($property) - { - if (isset($this->_OPT[$property])) { - return $this->_OPT[$property]; - } - return null; - } - - /** - * Get the collection of options - * - * @return array - */ - public function getOPTCollection() - { - return $this->_OPT; - } - - /** - * Set cell coordinates of upper-left corner of shape - * - * @param string $value - */ - public function setStartCoordinates($value = 'A1') - { - $this->_startCoordinates = $value; - } - - /** - * Get cell coordinates of upper-left corner of shape - * - * @return string - */ - public function getStartCoordinates() - { - return $this->_startCoordinates; - } - - /** - * Set offset in x-direction of upper-left corner of shape measured in 1/1024 of column width - * - * @param int $startOffsetX - */ - public function setStartOffsetX($startOffsetX = 0) - { - $this->_startOffsetX = $startOffsetX; - } - - /** - * Get offset in x-direction of upper-left corner of shape measured in 1/1024 of column width - * - * @return int - */ - public function getStartOffsetX() - { - return $this->_startOffsetX; - } - - /** - * Set offset in y-direction of upper-left corner of shape measured in 1/256 of row height - * - * @param int $startOffsetY - */ - public function setStartOffsetY($startOffsetY = 0) - { - $this->_startOffsetY = $startOffsetY; - } - - /** - * Get offset in y-direction of upper-left corner of shape measured in 1/256 of row height - * - * @return int - */ - public function getStartOffsetY() - { - return $this->_startOffsetY; - } - - /** - * Set cell coordinates of bottom-right corner of shape - * - * @param string $value - */ - public function setEndCoordinates($value = 'A1') - { - $this->_endCoordinates = $value; - } - - /** - * Get cell coordinates of bottom-right corner of shape - * - * @return string - */ - public function getEndCoordinates() - { - return $this->_endCoordinates; - } - - /** - * Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width - * - * @param int $startOffsetX - */ - public function setEndOffsetX($endOffsetX = 0) - { - $this->_endOffsetX = $endOffsetX; - } - - /** - * Get offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width - * - * @return int - */ - public function getEndOffsetX() - { - return $this->_endOffsetX; - } - - /** - * Set offset in y-direction of bottom-right corner of shape measured in 1/256 of row height - * - * @param int $endOffsetY - */ - public function setEndOffsetY($endOffsetY = 0) - { - $this->_endOffsetY = $endOffsetY; - } - - /** - * Get offset in y-direction of bottom-right corner of shape measured in 1/256 of row height - * - * @return int - */ - public function getEndOffsetY() - { - return $this->_endOffsetY; - } - - /** - * Get the nesting level of this spContainer. This is the number of spgrContainers between this spContainer and - * the dgContainer. A value of 1 = immediately within first spgrContainer - * Higher nesting level occurs if and only if spContainer is part of a shape group - * - * @return int Nesting level - */ - public function getNestingLevel() - { - $nestingLevel = 0; - - $parent = $this->getParent(); - while ($parent instanceof PHPExcel_Shared_Escher_DgContainer_SpgrContainer) { - ++$nestingLevel; - $parent = $parent->getParent(); - } - - return $nestingLevel; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DgContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer.php deleted file mode 100644 index 26696ec9d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer -{ - /** - * Maximum shape index of all shapes in all drawings increased by one - * - * @var int - */ - private $_spIdMax; - - /** - * Total number of drawings saved - * - * @var int - */ - private $_cDgSaved; - - /** - * Total number of shapes saved (including group shapes) - * - * @var int - */ - private $_cSpSaved; - - /** - * BLIP Store Container - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer - */ - private $_bstoreContainer; - - /** - * Array of options for the drawing group - * - * @var array - */ - private $_OPT = array(); - - /** - * Array of identifier clusters containg information about the maximum shape identifiers - * - * @var array - */ - private $_IDCLs = array(); - - /** - * Get maximum shape index of all shapes in all drawings (plus one) - * - * @return int - */ - public function getSpIdMax() - { - return $this->_spIdMax; - } - - /** - * Set maximum shape index of all shapes in all drawings (plus one) - * - * @param int - */ - public function setSpIdMax($value) - { - $this->_spIdMax = $value; - } - - /** - * Get total number of drawings saved - * - * @return int - */ - public function getCDgSaved() - { - return $this->_cDgSaved; - } - - /** - * Set total number of drawings saved - * - * @param int - */ - public function setCDgSaved($value) - { - $this->_cDgSaved = $value; - } - - /** - * Get total number of shapes saved (including group shapes) - * - * @return int - */ - public function getCSpSaved() - { - return $this->_cSpSaved; - } - - /** - * Set total number of shapes saved (including group shapes) - * - * @param int - */ - public function setCSpSaved($value) - { - $this->_cSpSaved = $value; - } - - /** - * Get BLIP Store Container - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer - */ - public function getBstoreContainer() - { - return $this->_bstoreContainer; - } - - /** - * Set BLIP Store Container - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $bstoreContainer - */ - public function setBstoreContainer($bstoreContainer) - { - $this->_bstoreContainer = $bstoreContainer; - } - - /** - * Set an option for the drawing group - * - * @param int $property The number specifies the option - * @param mixed $value - */ - public function setOPT($property, $value) - { - $this->_OPT[$property] = $value; - } - - /** - * Get an option for the drawing group - * - * @param int $property The number specifies the option - * @return mixed - */ - public function getOPT($property) - { - if (isset($this->_OPT[$property])) { - return $this->_OPT[$property]; - } - return null; - } - - /** - * Get identifier clusters - * - * @return array - */ - public function getIDCLs() - { - return $this->_IDCLs; - } - - /** - * Set identifier clusters. array(<drawingId> => <max shape id>, ...) - * - * @param array $pValue - */ - public function setIDCLs($pValue) - { - $this->_IDCLs = $pValue; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php deleted file mode 100644 index fba2e73fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer_BstoreContainer -{ - /** - * BLIP Store Entries. Each of them holds one BLIP (Big Large Image or Picture) - * - * @var array - */ - private $_BSECollection = array(); - - /** - * Add a BLIP Store Entry - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $BSE - */ - public function addBSE($BSE) - { - $this->_BSECollection[] = $BSE; - $BSE->setParent($this); - } - - /** - * Get the collection of BLIP Store Entries - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE[] - */ - public function getBSECollection() - { - return $this->_BSECollection; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php deleted file mode 100644 index 418896a34..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE -{ - const BLIPTYPE_ERROR = 0x00; - const BLIPTYPE_UNKNOWN = 0x01; - const BLIPTYPE_EMF = 0x02; - const BLIPTYPE_WMF = 0x03; - const BLIPTYPE_PICT = 0x04; - const BLIPTYPE_JPEG = 0x05; - const BLIPTYPE_PNG = 0x06; - const BLIPTYPE_DIB = 0x07; - const BLIPTYPE_TIFF = 0x11; - const BLIPTYPE_CMYKJPEG = 0x12; - - /** - * The parent BLIP Store Entry Container - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer - */ - private $_parent; - - /** - * The BLIP (Big Large Image or Picture) - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip - */ - private $_blip; - - /** - * The BLIP type - * - * @var int - */ - private $_blipType; - - /** - * Set parent BLIP Store Entry Container - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get the BLIP - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip - */ - public function getBlip() - { - return $this->_blip; - } - - /** - * Set the BLIP - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip $blip - */ - public function setBlip($blip) - { - $this->_blip = $blip; - $blip->setParent($this); - } - - /** - * Get the BLIP type - * - * @return int - */ - public function getBlipType() - { - return $this->_blipType; - } - - /** - * Set the BLIP type - * - * @param int - */ - public function setBlipType($blipType) - { - $this->_blipType = $blipType; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php deleted file mode 100644 index d9cc2f5c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php +++ /dev/null @@ -1,91 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip -{ - /** - * The parent BSE - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE - */ - private $_parent; - - /** - * Raw image data - * - * @var string - */ - private $_data; - - /** - * Get the raw image data - * - * @return string - */ - public function getData() - { - return $this->_data; - } - - /** - * Set the raw image data - * - * @param string - */ - public function setData($data) - { - $this->_data = $data; - } - - /** - * Set parent BSE - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get parent BSE - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent - */ - public function getParent() - { - return $this->_parent; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/DggContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Escher/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Excel5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Excel5.php deleted file mode 100644 index 3caf675dd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Excel5.php +++ /dev/null @@ -1,317 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Excel5 - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Excel5 -{ - /** - * Get the width of a column in pixels. We use the relationship y = ceil(7x) where - * x is the width in intrinsic Excel units (measuring width in number of normal characters) - * This holds for Arial 10 - * - * @param PHPExcel_Worksheet $sheet The sheet - * @param string $col The column - * @return integer The width in pixels - */ - public static function sizeCol($sheet, $col = 'A') - { - // default font of the workbook - $font = $sheet->getParent()->getDefaultStyle()->getFont(); - - $columnDimensions = $sheet->getColumnDimensions(); - - // first find the true column width in pixels (uncollapsed and unhidden) - if ( isset($columnDimensions[$col]) and $columnDimensions[$col]->getWidth() != -1 ) { - - // then we have column dimension with explicit width - $columnDimension = $columnDimensions[$col]; - $width = $columnDimension->getWidth(); - $pixelWidth = PHPExcel_Shared_Drawing::cellDimensionToPixels($width, $font); - - } else if ($sheet->getDefaultColumnDimension()->getWidth() != -1) { - - // then we have default column dimension with explicit width - $defaultColumnDimension = $sheet->getDefaultColumnDimension(); - $width = $defaultColumnDimension->getWidth(); - $pixelWidth = PHPExcel_Shared_Drawing::cellDimensionToPixels($width, $font); - - } else { - - // we don't even have any default column dimension. Width depends on default font - $pixelWidth = PHPExcel_Shared_Font::getDefaultColumnWidthByFont($font, true); - } - - // now find the effective column width in pixels - if (isset($columnDimensions[$col]) and !$columnDimensions[$col]->getVisible()) { - $effectivePixelWidth = 0; - } else { - $effectivePixelWidth = $pixelWidth; - } - - return $effectivePixelWidth; - } - - /** - * Convert the height of a cell from user's units to pixels. By interpolation - * the relationship is: y = 4/3x. If the height hasn't been set by the user we - * use the default value. If the row is hidden we use a value of zero. - * - * @param PHPExcel_Worksheet $sheet The sheet - * @param integer $row The row index (1-based) - * @return integer The width in pixels - */ - public static function sizeRow($sheet, $row = 1) - { - // default font of the workbook - $font = $sheet->getParent()->getDefaultStyle()->getFont(); - - $rowDimensions = $sheet->getRowDimensions(); - - // first find the true row height in pixels (uncollapsed and unhidden) - if ( isset($rowDimensions[$row]) and $rowDimensions[$row]->getRowHeight() != -1) { - - // then we have a row dimension - $rowDimension = $rowDimensions[$row]; - $rowHeight = $rowDimension->getRowHeight(); - $pixelRowHeight = (int) ceil(4 * $rowHeight / 3); // here we assume Arial 10 - - } else if ($sheet->getDefaultRowDimension()->getRowHeight() != -1) { - - // then we have a default row dimension with explicit height - $defaultRowDimension = $sheet->getDefaultRowDimension(); - $rowHeight = $defaultRowDimension->getRowHeight(); - $pixelRowHeight = PHPExcel_Shared_Drawing::pointsToPixels($rowHeight); - - } else { - - // we don't even have any default row dimension. Height depends on default font - $pointRowHeight = PHPExcel_Shared_Font::getDefaultRowHeightByFont($font); - $pixelRowHeight = PHPExcel_Shared_Font::fontSizeToPixels($pointRowHeight); - - } - - // now find the effective row height in pixels - if ( isset($rowDimensions[$row]) and !$rowDimensions[$row]->getVisible() ) { - $effectivePixelRowHeight = 0; - } else { - $effectivePixelRowHeight = $pixelRowHeight; - } - - return $effectivePixelRowHeight; - } - - /** - * Get the horizontal distance in pixels between two anchors - * The distanceX is found as sum of all the spanning columns widths minus correction for the two offsets - * - * @param PHPExcel_Worksheet $sheet - * @param string $startColumn - * @param integer $startOffsetX Offset within start cell measured in 1/1024 of the cell width - * @param string $endColumn - * @param integer $endOffsetX Offset within end cell measured in 1/1024 of the cell width - * @return integer Horizontal measured in pixels - */ - public static function getDistanceX(PHPExcel_Worksheet $sheet, $startColumn = 'A', $startOffsetX = 0, $endColumn = 'A', $endOffsetX = 0) - { - $distanceX = 0; - - // add the widths of the spanning columns - $startColumnIndex = PHPExcel_Cell::columnIndexFromString($startColumn) - 1; // 1-based - $endColumnIndex = PHPExcel_Cell::columnIndexFromString($endColumn) - 1; // 1-based - for ($i = $startColumnIndex; $i <= $endColumnIndex; ++$i) { - $distanceX += self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($i)); - } - - // correct for offsetX in startcell - $distanceX -= (int) floor(self::sizeCol($sheet, $startColumn) * $startOffsetX / 1024); - - // correct for offsetX in endcell - $distanceX -= (int) floor(self::sizeCol($sheet, $endColumn) * (1 - $endOffsetX / 1024)); - - return $distanceX; - } - - /** - * Get the vertical distance in pixels between two anchors - * The distanceY is found as sum of all the spanning rows minus two offsets - * - * @param PHPExcel_Worksheet $sheet - * @param integer $startRow (1-based) - * @param integer $startOffsetY Offset within start cell measured in 1/256 of the cell height - * @param integer $endRow (1-based) - * @param integer $endOffsetY Offset within end cell measured in 1/256 of the cell height - * @return integer Vertical distance measured in pixels - */ - public static function getDistanceY(PHPExcel_Worksheet $sheet, $startRow = 1, $startOffsetY = 0, $endRow = 1, $endOffsetY = 0) - { - $distanceY = 0; - - // add the widths of the spanning rows - for ($row = $startRow; $row <= $endRow; ++$row) { - $distanceY += self::sizeRow($sheet, $row); - } - - // correct for offsetX in startcell - $distanceY -= (int) floor(self::sizeRow($sheet, $startRow) * $startOffsetY / 256); - - // correct for offsetX in endcell - $distanceY -= (int) floor(self::sizeRow($sheet, $endRow) * (1 - $endOffsetY / 256)); - - return $distanceY; - } - - /** - * Convert 1-cell anchor coordinates to 2-cell anchor coordinates - * This function is ported from PEAR Spreadsheet_Writer_Excel with small modifications - * - * Calculate the vertices that define the position of the image as required by - * the OBJ record. - * - * +------------+------------+ - * | A | B | - * +-----+------------+------------+ - * | |(x1,y1) | | - * | 1 |(A1)._______|______ | - * | | | | | - * | | | | | - * +-----+----| BITMAP |-----+ - * | | | | | - * | 2 | |______________. | - * | | | (B2)| - * | | | (x2,y2)| - * +---- +------------+------------+ - * - * Example of a bitmap that covers some of the area from cell A1 to cell B2. - * - * Based on the width and height of the bitmap we need to calculate 8 vars: - * $col_start, $row_start, $col_end, $row_end, $x1, $y1, $x2, $y2. - * The width and height of the cells are also variable and have to be taken into - * account. - * The values of $col_start and $row_start are passed in from the calling - * function. The values of $col_end and $row_end are calculated by subtracting - * the width and height of the bitmap from the width and height of the - * underlying cells. - * The vertices are expressed as a percentage of the underlying cell width as - * follows (rhs values are in pixels): - * - * x1 = X / W *1024 - * y1 = Y / H *256 - * x2 = (X-1) / W *1024 - * y2 = (Y-1) / H *256 - * - * Where: X is distance from the left side of the underlying cell - * Y is distance from the top of the underlying cell - * W is the width of the cell - * H is the height of the cell - * - * @param PHPExcel_Worksheet $sheet - * @param string $coordinates E.g. 'A1' - * @param integer $offsetX Horizontal offset in pixels - * @param integer $offsetY Vertical offset in pixels - * @param integer $width Width in pixels - * @param integer $height Height in pixels - * @return array - */ - public static function oneAnchor2twoAnchor($sheet, $coordinates, $offsetX, $offsetY, $width, $height) - { - list($column, $row) = PHPExcel_Cell::coordinateFromString($coordinates); - $col_start = PHPExcel_Cell::columnIndexFromString($column) - 1; - $row_start = $row - 1; - - $x1 = $offsetX; - $y1 = $offsetY; - - // Initialise end cell to the same as the start cell - $col_end = $col_start; // Col containing lower right corner of object - $row_end = $row_start; // Row containing bottom right corner of object - - // Zero the specified offset if greater than the cell dimensions - if ($x1 >= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start))) { - $x1 = 0; - } - if ($y1 >= self::sizeRow($sheet, $row_start + 1)) { - $y1 = 0; - } - - $width = $width + $x1 -1; - $height = $height + $y1 -1; - - // Subtract the underlying cell widths to find the end cell of the image - while ($width >= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end))) { - $width -= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end)); - ++$col_end; - } - - // Subtract the underlying cell heights to find the end cell of the image - while ($height >= self::sizeRow($sheet, $row_end + 1)) { - $height -= self::sizeRow($sheet, $row_end + 1); - ++$row_end; - } - - // Bitmap isn't allowed to start or finish in a hidden cell, i.e. a cell - // with zero height or width. - if (self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) == 0) { - return; - } - if (self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) == 0) { - return; - } - if (self::sizeRow($sheet, $row_start + 1) == 0) { - return; - } - if (self::sizeRow($sheet, $row_end + 1) == 0) { - return; - } - - // Convert the pixel values to the percentage value expected by Excel - $x1 = $x1 / self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) * 1024; - $y1 = $y1 / self::sizeRow($sheet, $row_start + 1) * 256; - $x2 = ($width + 1) / self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) * 1024; // Distance to right side of object - $y2 = ($height + 1) / self::sizeRow($sheet, $row_end + 1) * 256; // Distance to bottom of object - - $startCoordinates = PHPExcel_Cell::stringFromColumnIndex($col_start) . ($row_start + 1); - $endCoordinates = PHPExcel_Cell::stringFromColumnIndex($col_end) . ($row_end + 1); - - $twoAnchor = array( - 'startCoordinates' => $startCoordinates, - 'startOffsetX' => $x1, - 'startOffsetY' => $y1, - 'endCoordinates' => $endCoordinates, - 'endOffsetX' => $x2, - 'endOffsetY' => $y2, - ); - - return $twoAnchor; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/File.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/File.php deleted file mode 100644 index 52c9b9796..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/File.php +++ /dev/null @@ -1,178 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_File - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_File -{ - /* - * Use Temp or File Upload Temp for temporary files - * - * @protected - * @var boolean - */ - protected static $_useUploadTempDirectory = FALSE; - - - /** - * Set the flag indicating whether the File Upload Temp directory should be used for temporary files - * - * @param boolean $useUploadTempDir Use File Upload Temporary directory (true or false) - */ - public static function setUseUploadTempDirectory($useUploadTempDir = FALSE) { - self::$_useUploadTempDirectory = (boolean) $useUploadTempDir; - } // function setUseUploadTempDirectory() - - - /** - * Get the flag indicating whether the File Upload Temp directory should be used for temporary files - * - * @return boolean Use File Upload Temporary directory (true or false) - */ - public static function getUseUploadTempDirectory() { - return self::$_useUploadTempDirectory; - } // function getUseUploadTempDirectory() - - - /** - * Verify if a file exists - * - * @param string $pFilename Filename - * @return bool - */ - public static function file_exists($pFilename) { - // Sick construction, but it seems that - // file_exists returns strange values when - // doing the original file_exists on ZIP archives... - if ( strtolower(substr($pFilename, 0, 3)) == 'zip' ) { - // Open ZIP file and verify if the file exists - $zipFile = substr($pFilename, 6, strpos($pFilename, '#') - 6); - $archiveFile = substr($pFilename, strpos($pFilename, '#') + 1); - - $zip = new ZipArchive(); - if ($zip->open($zipFile) === true) { - $returnValue = ($zip->getFromName($archiveFile) !== false); - $zip->close(); - return $returnValue; - } else { - return false; - } - } else { - // Regular file_exists - return file_exists($pFilename); - } - } - - /** - * Returns canonicalized absolute pathname, also for ZIP archives - * - * @param string $pFilename - * @return string - */ - public static function realpath($pFilename) { - // Returnvalue - $returnValue = ''; - - // Try using realpath() - if (file_exists($pFilename)) { - $returnValue = realpath($pFilename); - } - - // Found something? - if ($returnValue == '' || ($returnValue === NULL)) { - $pathArray = explode('/' , $pFilename); - while(in_array('..', $pathArray) && $pathArray[0] != '..') { - for ($i = 0; $i < count($pathArray); ++$i) { - if ($pathArray[$i] == '..' && $i > 0) { - unset($pathArray[$i]); - unset($pathArray[$i - 1]); - break; - } - } - } - $returnValue = implode('/', $pathArray); - } - - // Return - return $returnValue; - } - - /** - * Get the systems temporary directory. - * - * @return string - */ - public static function sys_get_temp_dir() - { - if (self::$_useUploadTempDirectory) { - // use upload-directory when defined to allow running on environments having very restricted - // open_basedir configs - if (ini_get('upload_tmp_dir') !== FALSE) { - if ($temp = ini_get('upload_tmp_dir')) { - if (file_exists($temp)) - return realpath($temp); - } - } - } - - // sys_get_temp_dir is only available since PHP 5.2.1 - // http://php.net/manual/en/function.sys-get-temp-dir.php#94119 - if ( !function_exists('sys_get_temp_dir')) { - if ($temp = getenv('TMP') ) { - if ((!empty($temp)) && (file_exists($temp))) { return realpath($temp); } - } - if ($temp = getenv('TEMP') ) { - if ((!empty($temp)) && (file_exists($temp))) { return realpath($temp); } - } - if ($temp = getenv('TMPDIR') ) { - if ((!empty($temp)) && (file_exists($temp))) { return realpath($temp); } - } - - // trick for creating a file in system's temporary dir - // without knowing the path of the system's temporary dir - $temp = tempnam(__FILE__, ''); - if (file_exists($temp)) { - unlink($temp); - return realpath(dirname($temp)); - } - - return null; - } - - // use ordinary built-in PHP function - // There should be no problem with the 5.2.4 Suhosin realpath() bug, because this line should only - // be called if we're running 5.2.1 or earlier - return realpath(sys_get_temp_dir()); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Font.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Font.php deleted file mode 100644 index ee0702e44..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/Font.php +++ /dev/null @@ -1,773 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Font - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Font -{ - /* Methods for resolving autosize value */ - const AUTOSIZE_METHOD_APPROX = 'approx'; - const AUTOSIZE_METHOD_EXACT = 'exact'; - - private static $_autoSizeMethods = array( - self::AUTOSIZE_METHOD_APPROX, - self::AUTOSIZE_METHOD_EXACT, - ); - - /** Character set codes used by BIFF5-8 in Font records */ - const CHARSET_ANSI_LATIN = 0x00; - const CHARSET_SYSTEM_DEFAULT = 0x01; - const CHARSET_SYMBOL = 0x02; - const CHARSET_APPLE_ROMAN = 0x4D; - const CHARSET_ANSI_JAPANESE_SHIFTJIS = 0x80; - const CHARSET_ANSI_KOREAN_HANGUL = 0x81; - const CHARSET_ANSI_KOREAN_JOHAB = 0x82; - const CHARSET_ANSI_CHINESE_SIMIPLIFIED = 0x86; // gb2312 - const CHARSET_ANSI_CHINESE_TRADITIONAL = 0x88; // big5 - const CHARSET_ANSI_GREEK = 0xA1; - const CHARSET_ANSI_TURKISH = 0xA2; - const CHARSET_ANSI_VIETNAMESE = 0xA3; - const CHARSET_ANSI_HEBREW = 0xB1; - const CHARSET_ANSI_ARABIC = 0xB2; - const CHARSET_ANSI_BALTIC = 0xBA; - const CHARSET_ANSI_CYRILLIC = 0xCC; - const CHARSET_ANSI_THAI = 0xDD; - const CHARSET_ANSI_LATIN_II = 0xEE; - const CHARSET_OEM_LATIN_I = 0xFF; - - // XXX: Constants created! - /** Font filenames */ - const ARIAL = 'arial.ttf'; - const ARIAL_BOLD = 'arialbd.ttf'; - const ARIAL_ITALIC = 'ariali.ttf'; - const ARIAL_BOLD_ITALIC = 'arialbi.ttf'; - - const CALIBRI = 'CALIBRI.TTF'; - const CALIBRI_BOLD = 'CALIBRIB.TTF'; - const CALIBRI_ITALIC = 'CALIBRII.TTF'; - const CALIBRI_BOLD_ITALIC = 'CALIBRIZ.TTF'; - - const COMIC_SANS_MS = 'comic.ttf'; - const COMIC_SANS_MS_BOLD = 'comicbd.ttf'; - - const COURIER_NEW = 'cour.ttf'; - const COURIER_NEW_BOLD = 'courbd.ttf'; - const COURIER_NEW_ITALIC = 'couri.ttf'; - const COURIER_NEW_BOLD_ITALIC = 'courbi.ttf'; - - const GEORGIA = 'georgia.ttf'; - const GEORGIA_BOLD = 'georgiab.ttf'; - const GEORGIA_ITALIC = 'georgiai.ttf'; - const GEORGIA_BOLD_ITALIC = 'georgiaz.ttf'; - - const IMPACT = 'impact.ttf'; - - const LIBERATION_SANS = 'LiberationSans-Regular.ttf'; - const LIBERATION_SANS_BOLD = 'LiberationSans-Bold.ttf'; - const LIBERATION_SANS_ITALIC = 'LiberationSans-Italic.ttf'; - const LIBERATION_SANS_BOLD_ITALIC = 'LiberationSans-BoldItalic.ttf'; - - const LUCIDA_CONSOLE = 'lucon.ttf'; - const LUCIDA_SANS_UNICODE = 'l_10646.ttf'; - - const MICROSOFT_SANS_SERIF = 'micross.ttf'; - - const PALATINO_LINOTYPE = 'pala.ttf'; - const PALATINO_LINOTYPE_BOLD = 'palab.ttf'; - const PALATINO_LINOTYPE_ITALIC = 'palai.ttf'; - const PALATINO_LINOTYPE_BOLD_ITALIC = 'palabi.ttf'; - - const SYMBOL = 'symbol.ttf'; - - const TAHOMA = 'tahoma.ttf'; - const TAHOMA_BOLD = 'tahomabd.ttf'; - - const TIMES_NEW_ROMAN = 'times.ttf'; - const TIMES_NEW_ROMAN_BOLD = 'timesbd.ttf'; - const TIMES_NEW_ROMAN_ITALIC = 'timesi.ttf'; - const TIMES_NEW_ROMAN_BOLD_ITALIC = 'timesbi.ttf'; - - const TREBUCHET_MS = 'trebuc.ttf'; - const TREBUCHET_MS_BOLD = 'trebucbd.ttf'; - const TREBUCHET_MS_ITALIC = 'trebucit.ttf'; - const TREBUCHET_MS_BOLD_ITALIC = 'trebucbi.ttf'; - - const VERDANA = 'verdana.ttf'; - const VERDANA_BOLD = 'verdanab.ttf'; - const VERDANA_ITALIC = 'verdanai.ttf'; - const VERDANA_BOLD_ITALIC = 'verdanaz.ttf'; - - /** - * AutoSize method - * - * @var string - */ - private static $autoSizeMethod = self::AUTOSIZE_METHOD_APPROX; - - /** - * Path to folder containing TrueType font .ttf files - * - * @var string - */ - private static $trueTypeFontPath = null; - - /** - * How wide is a default column for a given default font and size? - * Empirical data found by inspecting real Excel files and reading off the pixel width - * in Microsoft Office Excel 2007. - * - * @var array - */ - public static $defaultColumnWidths = array( - 'Arial' => array( - 1 => array('px' => 24, 'width' => 12.00000000), - 2 => array('px' => 24, 'width' => 12.00000000), - 3 => array('px' => 32, 'width' => 10.66406250), - 4 => array('px' => 32, 'width' => 10.66406250), - 5 => array('px' => 40, 'width' => 10.00000000), - 6 => array('px' => 48, 'width' => 9.59765625), - 7 => array('px' => 48, 'width' => 9.59765625), - 8 => array('px' => 56, 'width' => 9.33203125), - 9 => array('px' => 64, 'width' => 9.14062500), - 10 => array('px' => 64, 'width' => 9.14062500), - ), - 'Calibri' => array( - 1 => array('px' => 24, 'width' => 12.00000000), - 2 => array('px' => 24, 'width' => 12.00000000), - 3 => array('px' => 32, 'width' => 10.66406250), - 4 => array('px' => 32, 'width' => 10.66406250), - 5 => array('px' => 40, 'width' => 10.00000000), - 6 => array('px' => 48, 'width' => 9.59765625), - 7 => array('px' => 48, 'width' => 9.59765625), - 8 => array('px' => 56, 'width' => 9.33203125), - 9 => array('px' => 56, 'width' => 9.33203125), - 10 => array('px' => 64, 'width' => 9.14062500), - 11 => array('px' => 64, 'width' => 9.14062500), - ), - 'Verdana' => array( - 1 => array('px' => 24, 'width' => 12.00000000), - 2 => array('px' => 24, 'width' => 12.00000000), - 3 => array('px' => 32, 'width' => 10.66406250), - 4 => array('px' => 32, 'width' => 10.66406250), - 5 => array('px' => 40, 'width' => 10.00000000), - 6 => array('px' => 48, 'width' => 9.59765625), - 7 => array('px' => 48, 'width' => 9.59765625), - 8 => array('px' => 64, 'width' => 9.14062500), - 9 => array('px' => 72, 'width' => 9.00000000), - 10 => array('px' => 72, 'width' => 9.00000000), - ), - ); - - /** - * Set autoSize method - * - * @param string $pValue - * @return boolean Success or failure - */ - public static function setAutoSizeMethod($pValue = self::AUTOSIZE_METHOD_APPROX) - { - if (!in_array($pValue,self::$_autoSizeMethods)) { - return FALSE; - } - self::$autoSizeMethod = $pValue; - - return TRUE; - } - - /** - * Get autoSize method - * - * @return string - */ - public static function getAutoSizeMethod() - { - return self::$autoSizeMethod; - } - - /** - * Set the path to the folder containing .ttf files. There should be a trailing slash. - * Typical locations on variout some platforms: - * <ul> - * <li>C:/Windows/Fonts/</li> - * <li>/usr/share/fonts/truetype/</li> - * <li>~/.fonts/</li> - * </ul> - * - * @param string $pValue - */ - public static function setTrueTypeFontPath($pValue = '') - { - self::$trueTypeFontPath = $pValue; - } - - /** - * Get the path to the folder containing .ttf files. - * - * @return string - */ - public static function getTrueTypeFontPath() - { - return self::$trueTypeFontPath; - } - - /** - * Calculate an (approximate) OpenXML column width, based on font size and text contained - * - * @param PHPExcel_Style_Font $font Font object - * @param PHPExcel_RichText|string $cellText Text to calculate width - * @param integer $rotation Rotation angle - * @param PHPExcel_Style_Font|NULL $defaultFont Font object - * @return integer Column width - */ - public static function calculateColumnWidth(PHPExcel_Style_Font $font, $cellText = '', $rotation = 0, PHPExcel_Style_Font $defaultFont = null) { - // If it is rich text, use plain text - if ($cellText instanceof PHPExcel_RichText) { - $cellText = $cellText->getPlainText(); - } - - // Special case if there are one or more newline characters ("\n") - if (strpos($cellText, "\n") !== false) { - $lineTexts = explode("\n", $cellText); - $lineWitdhs = array(); - foreach ($lineTexts as $lineText) { - $lineWidths[] = self::calculateColumnWidth($font, $lineText, $rotation = 0, $defaultFont); - } - return max($lineWidths); // width of longest line in cell - } - - // Try to get the exact text width in pixels - $approximate = self::$autoSizeMethod == self::AUTOSIZE_METHOD_APPROX; - if (!$approximate) { - $columnWidthAdjust = ceil(self::getTextWidthPixelsExact('n', $font, 0) * 1.07); - try { - // Width of text in pixels excl. padding - // and addition because Excel adds some padding, just use approx width of 'n' glyph - $columnWidth = self::getTextWidthPixelsExact($cellText, $font, $rotation) + $columnWidthAdjust; - } catch (PHPExcel_Exception $e) { - $approximate == true; - } - } - - if ($approximate) { - $columnWidthAdjust = self::getTextWidthPixelsApprox('n', $font, 0); - // Width of text in pixels excl. padding, approximation - // and addition because Excel adds some padding, just use approx width of 'n' glyph - $columnWidth = self::getTextWidthPixelsApprox($cellText, $font, $rotation) + $columnWidthAdjust; - } - - // Convert from pixel width to column width - $columnWidth = PHPExcel_Shared_Drawing::pixelsToCellDimension($columnWidth, $defaultFont); - - // Return - return round($columnWidth, 6); - } - - /** - * Get GD text width in pixels for a string of text in a certain font at a certain rotation angle - * - * @param string $text - * @param PHPExcel_Style_Font - * @param int $rotation - * @return int - * @throws PHPExcel_Exception - */ - public static function getTextWidthPixelsExact($text, PHPExcel_Style_Font $font, $rotation = 0) { - if (!function_exists('imagettfbbox')) { - throw new PHPExcel_Exception('GD library needs to be enabled'); - } - - // font size should really be supplied in pixels in GD2, - // but since GD2 seems to assume 72dpi, pixels and points are the same - $fontFile = self::getTrueTypeFontFileFromFont($font); - $textBox = imagettfbbox($font->getSize(), $rotation, $fontFile, $text); - - // Get corners positions - $lowerLeftCornerX = $textBox[0]; -// $lowerLeftCornerY = $textBox[1]; - $lowerRightCornerX = $textBox[2]; -// $lowerRightCornerY = $textBox[3]; - $upperRightCornerX = $textBox[4]; -// $upperRightCornerY = $textBox[5]; - $upperLeftCornerX = $textBox[6]; -// $upperLeftCornerY = $textBox[7]; - - // Consider the rotation when calculating the width - $textWidth = max($lowerRightCornerX - $upperLeftCornerX, $upperRightCornerX - $lowerLeftCornerX); - - return $textWidth; - } - - /** - * Get approximate width in pixels for a string of text in a certain font at a certain rotation angle - * - * @param string $columnText - * @param PHPExcel_Style_Font $font - * @param int $rotation - * @return int Text width in pixels (no padding added) - */ - public static function getTextWidthPixelsApprox($columnText, PHPExcel_Style_Font $font = null, $rotation = 0) - { - $fontName = $font->getName(); - $fontSize = $font->getSize(); - - // Calculate column width in pixels. We assume fixed glyph width. Result varies with font name and size. - switch ($fontName) { - case 'Calibri': - // value 8.26 was found via interpolation by inspecting real Excel files with Calibri 11 font. - $columnWidth = (int) (8.26 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 11; // extrapolate from font size - break; - - case 'Arial': - // value 7 was found via interpolation by inspecting real Excel files with Arial 10 font. -// $columnWidth = (int) (7 * PHPExcel_Shared_String::CountCharacters($columnText)); - // value 8 was set because of experience in different exports at Arial 10 font. - $columnWidth = (int) (8 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 10; // extrapolate from font size - break; - - case 'Verdana': - // value 8 was found via interpolation by inspecting real Excel files with Verdana 10 font. - $columnWidth = (int) (8 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 10; // extrapolate from font size - break; - - default: - // just assume Calibri - $columnWidth = (int) (8.26 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 11; // extrapolate from font size - break; - } - - // Calculate approximate rotated column width - if ($rotation !== 0) { - if ($rotation == -165) { - // stacked text - $columnWidth = 4; // approximation - } else { - // rotated text - $columnWidth = $columnWidth * cos(deg2rad($rotation)) - + $fontSize * abs(sin(deg2rad($rotation))) / 5; // approximation - } - } - - // pixel width is an integer - return (int) $columnWidth; - } - - /** - * Calculate an (approximate) pixel size, based on a font points size - * - * @param int $fontSizeInPoints Font size (in points) - * @return int Font size (in pixels) - */ - public static function fontSizeToPixels($fontSizeInPoints = 11) { - return (int) ((4 / 3) * $fontSizeInPoints); - } - - /** - * Calculate an (approximate) pixel size, based on inch size - * - * @param int $sizeInInch Font size (in inch) - * @return int Size (in pixels) - */ - public static function inchSizeToPixels($sizeInInch = 1) { - return ($sizeInInch * 96); - } - - /** - * Calculate an (approximate) pixel size, based on centimeter size - * - * @param int $sizeInCm Font size (in centimeters) - * @return int Size (in pixels) - */ - public static function centimeterSizeToPixels($sizeInCm = 1) { - return ($sizeInCm * 37.795275591); - } - - /** - * Returns the font path given the font - * - * @param PHPExcel_Style_Font - * @return string Path to TrueType font file - */ - public static function getTrueTypeFontFileFromFont($font) { - if (!file_exists(self::$trueTypeFontPath) || !is_dir(self::$trueTypeFontPath)) { - throw new PHPExcel_Exception('Valid directory to TrueType Font files not specified'); - } - - $name = $font->getName(); - $bold = $font->getBold(); - $italic = $font->getItalic(); - - // Check if we can map font to true type font file - switch ($name) { - case 'Arial': - $fontFile = ( - $bold ? ($italic ? self::ARIAL_BOLD_ITALIC : self::ARIAL_BOLD) - : ($italic ? self::ARIAL_ITALIC : self::ARIAL) - ); - break; - - case 'Calibri': - $fontFile = ( - $bold ? ($italic ? self::CALIBRI_BOLD_ITALIC : self::CALIBRI_BOLD) - : ($italic ? self::CALIBRI_ITALIC : self::CALIBRI) - ); - break; - - case 'Courier New': - $fontFile = ( - $bold ? ($italic ? self::COURIER_NEW_BOLD_ITALIC : self::COURIER_NEW_BOLD) - : ($italic ? self::COURIER_NEW_ITALIC : self::COURIER_NEW) - ); - break; - - case 'Comic Sans MS': - $fontFile = ( - $bold ? self::COMIC_SANS_MS_BOLD : self::COMIC_SANS_MS - ); - break; - - case 'Georgia': - $fontFile = ( - $bold ? ($italic ? self::GEORGIA_BOLD_ITALIC : self::GEORGIA_BOLD) - : ($italic ? self::GEORGIA_ITALIC : self::GEORGIA) - ); - break; - - case 'Impact': - $fontFile = self::IMPACT; - break; - - case 'Liberation Sans': - $fontFile = ( - $bold ? ($italic ? self::LIBERATION_SANS_BOLD_ITALIC : self::LIBERATION_SANS_BOLD) - : ($italic ? self::LIBERATION_SANS_ITALIC : self::LIBERATION_SANS) - ); - break; - - case 'Lucida Console': - $fontFile = self::LUCIDA_CONSOLE; - break; - - case 'Lucida Sans Unicode': - $fontFile = self::LUCIDA_SANS_UNICODE; - break; - - case 'Microsoft Sans Serif': - $fontFile = self::MICROSOFT_SANS_SERIF; - break; - - case 'Palatino Linotype': - $fontFile = ( - $bold ? ($italic ? self::PALATINO_LINOTYPE_BOLD_ITALIC : self::PALATINO_LINOTYPE_BOLD) - : ($italic ? self::PALATINO_LINOTYPE_ITALIC : self::PALATINO_LINOTYPE) - ); - break; - - case 'Symbol': - $fontFile = self::SYMBOL; - break; - - case 'Tahoma': - $fontFile = ( - $bold ? self::TAHOMA_BOLD : self::TAHOMA - ); - break; - - case 'Times New Roman': - $fontFile = ( - $bold ? ($italic ? self::TIMES_NEW_ROMAN_BOLD_ITALIC : self::TIMES_NEW_ROMAN_BOLD) - : ($italic ? self::TIMES_NEW_ROMAN_ITALIC : self::TIMES_NEW_ROMAN) - ); - break; - - case 'Trebuchet MS': - $fontFile = ( - $bold ? ($italic ? self::TREBUCHET_MS_BOLD_ITALIC : self::TREBUCHET_MS_BOLD) - : ($italic ? self::TREBUCHET_MS_ITALIC : self::TREBUCHET_MS) - ); - break; - - case 'Verdana': - $fontFile = ( - $bold ? ($italic ? self::VERDANA_BOLD_ITALIC : self::VERDANA_BOLD) - : ($italic ? self::VERDANA_ITALIC : self::VERDANA) - ); - break; - - default: - throw new PHPExcel_Exception('Unknown font name "'. $name .'". Cannot map to TrueType font file'); - break; - } - - $fontFile = self::$trueTypeFontPath . $fontFile; - - // Check if file actually exists - if (!file_exists($fontFile)) { - throw New PHPExcel_Exception('TrueType Font file not found'); - } - - return $fontFile; - } - - /** - * Returns the associated charset for the font name. - * - * @param string $name Font name - * @return int Character set code - */ - public static function getCharsetFromFontName($name) - { - switch ($name) { - // Add more cases. Check FONT records in real Excel files. - case 'EucrosiaUPC': return self::CHARSET_ANSI_THAI; - case 'Wingdings': return self::CHARSET_SYMBOL; - case 'Wingdings 2': return self::CHARSET_SYMBOL; - case 'Wingdings 3': return self::CHARSET_SYMBOL; - default: return self::CHARSET_ANSI_LATIN; - } - } - - /** - * Get the effective column width for columns without a column dimension or column with width -1 - * For example, for Calibri 11 this is 9.140625 (64 px) - * - * @param PHPExcel_Style_Font $font The workbooks default font - * @param boolean $pPixels true = return column width in pixels, false = return in OOXML units - * @return mixed Column width - */ - public static function getDefaultColumnWidthByFont(PHPExcel_Style_Font $font, $pPixels = false) - { - if (isset(self::$defaultColumnWidths[$font->getName()][$font->getSize()])) { - // Exact width can be determined - $columnWidth = $pPixels ? - self::$defaultColumnWidths[$font->getName()][$font->getSize()]['px'] - : self::$defaultColumnWidths[$font->getName()][$font->getSize()]['width']; - - } else { - // We don't have data for this particular font and size, use approximation by - // extrapolating from Calibri 11 - $columnWidth = $pPixels ? - self::$defaultColumnWidths['Calibri'][11]['px'] - : self::$defaultColumnWidths['Calibri'][11]['width']; - $columnWidth = $columnWidth * $font->getSize() / 11; - - // Round pixels to closest integer - if ($pPixels) { - $columnWidth = (int) round($columnWidth); - } - } - - return $columnWidth; - } - - /** - * Get the effective row height for rows without a row dimension or rows with height -1 - * For example, for Calibri 11 this is 15 points - * - * @param PHPExcel_Style_Font $font The workbooks default font - * @return float Row height in points - */ - public static function getDefaultRowHeightByFont(PHPExcel_Style_Font $font) - { - switch ($font->getName()) { - case 'Arial': - switch ($font->getSize()) { - case 10: - // inspection of Arial 10 workbook says 12.75pt ~17px - $rowHeight = 12.75; - break; - - case 9: - // inspection of Arial 9 workbook says 12.00pt ~16px - $rowHeight = 12; - break; - - case 8: - // inspection of Arial 8 workbook says 11.25pt ~15px - $rowHeight = 11.25; - break; - - case 7: - // inspection of Arial 7 workbook says 9.00pt ~12px - $rowHeight = 9; - break; - - case 6: - case 5: - // inspection of Arial 5,6 workbook says 8.25pt ~11px - $rowHeight = 8.25; - break; - - case 4: - // inspection of Arial 4 workbook says 6.75pt ~9px - $rowHeight = 6.75; - break; - - case 3: - // inspection of Arial 3 workbook says 6.00pt ~8px - $rowHeight = 6; - break; - - case 2: - case 1: - // inspection of Arial 1,2 workbook says 5.25pt ~7px - $rowHeight = 5.25; - break; - - default: - // use Arial 10 workbook as an approximation, extrapolation - $rowHeight = 12.75 * $font->getSize() / 10; - break; - } - break; - - case 'Calibri': - switch ($font->getSize()) { - case 11: - // inspection of Calibri 11 workbook says 15.00pt ~20px - $rowHeight = 15; - break; - - case 10: - // inspection of Calibri 10 workbook says 12.75pt ~17px - $rowHeight = 12.75; - break; - - case 9: - // inspection of Calibri 9 workbook says 12.00pt ~16px - $rowHeight = 12; - break; - - case 8: - // inspection of Calibri 8 workbook says 11.25pt ~15px - $rowHeight = 11.25; - break; - - case 7: - // inspection of Calibri 7 workbook says 9.00pt ~12px - $rowHeight = 9; - break; - - case 6: - case 5: - // inspection of Calibri 5,6 workbook says 8.25pt ~11px - $rowHeight = 8.25; - break; - - case 4: - // inspection of Calibri 4 workbook says 6.75pt ~9px - $rowHeight = 6.75; - break; - - case 3: - // inspection of Calibri 3 workbook says 6.00pt ~8px - $rowHeight = 6.00; - break; - - case 2: - case 1: - // inspection of Calibri 1,2 workbook says 5.25pt ~7px - $rowHeight = 5.25; - break; - - default: - // use Calibri 11 workbook as an approximation, extrapolation - $rowHeight = 15 * $font->getSize() / 11; - break; - } - break; - - case 'Verdana': - switch ($font->getSize()) { - case 10: - // inspection of Verdana 10 workbook says 12.75pt ~17px - $rowHeight = 12.75; - break; - - case 9: - // inspection of Verdana 9 workbook says 11.25pt ~15px - $rowHeight = 11.25; - break; - - case 8: - // inspection of Verdana 8 workbook says 10.50pt ~14px - $rowHeight = 10.50; - break; - - case 7: - // inspection of Verdana 7 workbook says 9.00pt ~12px - $rowHeight = 9.00; - break; - - case 6: - case 5: - // inspection of Verdana 5,6 workbook says 8.25pt ~11px - $rowHeight = 8.25; - break; - - case 4: - // inspection of Verdana 4 workbook says 6.75pt ~9px - $rowHeight = 6.75; - break; - - case 3: - // inspection of Verdana 3 workbook says 6.00pt ~8px - $rowHeight = 6; - break; - - case 2: - case 1: - // inspection of Verdana 1,2 workbook says 5.25pt ~7px - $rowHeight = 5.25; - break; - - default: - // use Verdana 10 workbook as an approximation, extrapolation - $rowHeight = 12.75 * $font->getSize() / 10; - break; - } - break; - - default: - // just use Calibri as an approximation - $rowHeight = 15 * $font->getSize() / 11; - break; - } - - return $rowHeight; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT deleted file mode 100644 index 1c18a5da3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT +++ /dev/null @@ -1,16 +0,0 @@ -Mar 1, 2005 11:15 AST by PM - -+ For consistency, renamed Math.php to Maths.java, utils to util, - tests to test, docs to doc - - -+ Removed conditional logic from top of Matrix class. - -+ Switched to using hypo function in Maths.php for all php-hypot calls. - NOTE TO SELF: Need to make sure that all decompositions have been - switched over to using the bundled hypo. - -Feb 25, 2005 at 10:00 AST by PM - -+ Recommend using simpler Error.php instead of JAMA_Error.php but - can be persuaded otherwise. - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/CholeskyDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/CholeskyDecomposition.php deleted file mode 100644 index cfbaa53bc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/CholeskyDecomposition.php +++ /dev/null @@ -1,149 +0,0 @@ -<?php -/** - * @package JAMA - * - * Cholesky decomposition class - * - * For a symmetric, positive definite matrix A, the Cholesky decomposition - * is an lower triangular matrix L so that A = L*L'. - * - * If the matrix is not symmetric or positive definite, the constructor - * returns a partial decomposition and sets an internal flag that may - * be queried by the isSPD() method. - * - * @author Paul Meagher - * @author Michael Bommarito - * @version 1.2 - */ -class CholeskyDecomposition { - - /** - * Decomposition storage - * @var array - * @access private - */ - private $L = array(); - - /** - * Matrix row and column dimension - * @var int - * @access private - */ - private $m; - - /** - * Symmetric positive definite flag - * @var boolean - * @access private - */ - private $isspd = true; - - - /** - * CholeskyDecomposition - * - * Class constructor - decomposes symmetric positive definite matrix - * @param mixed Matrix square symmetric positive definite matrix - */ - public function __construct($A = null) { - if ($A instanceof Matrix) { - $this->L = $A->getArray(); - $this->m = $A->getRowDimension(); - - for($i = 0; $i < $this->m; ++$i) { - for($j = $i; $j < $this->m; ++$j) { - for($sum = $this->L[$i][$j], $k = $i - 1; $k >= 0; --$k) { - $sum -= $this->L[$i][$k] * $this->L[$j][$k]; - } - if ($i == $j) { - if ($sum >= 0) { - $this->L[$i][$i] = sqrt($sum); - } else { - $this->isspd = false; - } - } else { - if ($this->L[$i][$i] != 0) { - $this->L[$j][$i] = $sum / $this->L[$i][$i]; - } - } - } - - for ($k = $i+1; $k < $this->m; ++$k) { - $this->L[$i][$k] = 0.0; - } - } - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(ArgumentTypeException)); - } - } // function __construct() - - - /** - * Is the matrix symmetric and positive definite? - * - * @return boolean - */ - public function isSPD() { - return $this->isspd; - } // function isSPD() - - - /** - * getL - * - * Return triangular factor. - * @return Matrix Lower triangular matrix - */ - public function getL() { - return new Matrix($this->L); - } // function getL() - - - /** - * Solve A*X = B - * - * @param $B Row-equal matrix - * @return Matrix L * L' * X = B - */ - public function solve($B = null) { - if ($B instanceof Matrix) { - if ($B->getRowDimension() == $this->m) { - if ($this->isspd) { - $X = $B->getArrayCopy(); - $nx = $B->getColumnDimension(); - - for ($k = 0; $k < $this->m; ++$k) { - for ($i = $k + 1; $i < $this->m; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X[$i][$j] -= $X[$k][$j] * $this->L[$i][$k]; - } - } - for ($j = 0; $j < $nx; ++$j) { - $X[$k][$j] /= $this->L[$k][$k]; - } - } - - for ($k = $this->m - 1; $k >= 0; --$k) { - for ($j = 0; $j < $nx; ++$j) { - $X[$k][$j] /= $this->L[$k][$k]; - } - for ($i = 0; $i < $k; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X[$i][$j] -= $X[$k][$j] * $this->L[$k][$i]; - } - } - } - - return new Matrix($X, $this->m, $nx); - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixSPDException)); - } - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionException)); - } - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(ArgumentTypeException)); - } - } // function solve() - -} // class CholeskyDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php deleted file mode 100644 index 2a696d00f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php +++ /dev/null @@ -1,862 +0,0 @@ -<?php -/** - * @package JAMA - * - * Class to obtain eigenvalues and eigenvectors of a real matrix. - * - * If A is symmetric, then A = V*D*V' where the eigenvalue matrix D - * is diagonal and the eigenvector matrix V is orthogonal (i.e. - * A = V.times(D.times(V.transpose())) and V.times(V.transpose()) - * equals the identity matrix). - * - * If A is not symmetric, then the eigenvalue matrix D is block diagonal - * with the real eigenvalues in 1-by-1 blocks and any complex eigenvalues, - * lambda + i*mu, in 2-by-2 blocks, [lambda, mu; -mu, lambda]. The - * columns of V represent the eigenvectors in the sense that A*V = V*D, - * i.e. A.times(V) equals V.times(D). The matrix V may be badly - * conditioned, or even singular, so the validity of the equation - * A = V*D*inverse(V) depends upon V.cond(). - * - * @author Paul Meagher - * @license PHP v3.0 - * @version 1.1 - */ -class EigenvalueDecomposition { - - /** - * Row and column dimension (square matrix). - * @var int - */ - private $n; - - /** - * Internal symmetry flag. - * @var int - */ - private $issymmetric; - - /** - * Arrays for internal storage of eigenvalues. - * @var array - */ - private $d = array(); - private $e = array(); - - /** - * Array for internal storage of eigenvectors. - * @var array - */ - private $V = array(); - - /** - * Array for internal storage of nonsymmetric Hessenberg form. - * @var array - */ - private $H = array(); - - /** - * Working storage for nonsymmetric algorithm. - * @var array - */ - private $ort; - - /** - * Used for complex scalar division. - * @var float - */ - private $cdivr; - private $cdivi; - - - /** - * Symmetric Householder reduction to tridiagonal form. - * - * @access private - */ - private function tred2 () { - // This is derived from the Algol procedures tred2 by - // Bowdler, Martin, Reinsch, and Wilkinson, Handbook for - // Auto. Comp., Vol.ii-Linear Algebra, and the corresponding - // Fortran subroutine in EISPACK. - $this->d = $this->V[$this->n-1]; - // Householder reduction to tridiagonal form. - for ($i = $this->n-1; $i > 0; --$i) { - $i_ = $i -1; - // Scale to avoid under/overflow. - $h = $scale = 0.0; - $scale += array_sum(array_map(abs, $this->d)); - if ($scale == 0.0) { - $this->e[$i] = $this->d[$i_]; - $this->d = array_slice($this->V[$i_], 0, $i_); - for ($j = 0; $j < $i; ++$j) { - $this->V[$j][$i] = $this->V[$i][$j] = 0.0; - } - } else { - // Generate Householder vector. - for ($k = 0; $k < $i; ++$k) { - $this->d[$k] /= $scale; - $h += pow($this->d[$k], 2); - } - $f = $this->d[$i_]; - $g = sqrt($h); - if ($f > 0) { - $g = -$g; - } - $this->e[$i] = $scale * $g; - $h = $h - $f * $g; - $this->d[$i_] = $f - $g; - for ($j = 0; $j < $i; ++$j) { - $this->e[$j] = 0.0; - } - // Apply similarity transformation to remaining columns. - for ($j = 0; $j < $i; ++$j) { - $f = $this->d[$j]; - $this->V[$j][$i] = $f; - $g = $this->e[$j] + $this->V[$j][$j] * $f; - for ($k = $j+1; $k <= $i_; ++$k) { - $g += $this->V[$k][$j] * $this->d[$k]; - $this->e[$k] += $this->V[$k][$j] * $f; - } - $this->e[$j] = $g; - } - $f = 0.0; - for ($j = 0; $j < $i; ++$j) { - $this->e[$j] /= $h; - $f += $this->e[$j] * $this->d[$j]; - } - $hh = $f / (2 * $h); - for ($j=0; $j < $i; ++$j) { - $this->e[$j] -= $hh * $this->d[$j]; - } - for ($j = 0; $j < $i; ++$j) { - $f = $this->d[$j]; - $g = $this->e[$j]; - for ($k = $j; $k <= $i_; ++$k) { - $this->V[$k][$j] -= ($f * $this->e[$k] + $g * $this->d[$k]); - } - $this->d[$j] = $this->V[$i-1][$j]; - $this->V[$i][$j] = 0.0; - } - } - $this->d[$i] = $h; - } - - // Accumulate transformations. - for ($i = 0; $i < $this->n-1; ++$i) { - $this->V[$this->n-1][$i] = $this->V[$i][$i]; - $this->V[$i][$i] = 1.0; - $h = $this->d[$i+1]; - if ($h != 0.0) { - for ($k = 0; $k <= $i; ++$k) { - $this->d[$k] = $this->V[$k][$i+1] / $h; - } - for ($j = 0; $j <= $i; ++$j) { - $g = 0.0; - for ($k = 0; $k <= $i; ++$k) { - $g += $this->V[$k][$i+1] * $this->V[$k][$j]; - } - for ($k = 0; $k <= $i; ++$k) { - $this->V[$k][$j] -= $g * $this->d[$k]; - } - } - } - for ($k = 0; $k <= $i; ++$k) { - $this->V[$k][$i+1] = 0.0; - } - } - - $this->d = $this->V[$this->n-1]; - $this->V[$this->n-1] = array_fill(0, $j, 0.0); - $this->V[$this->n-1][$this->n-1] = 1.0; - $this->e[0] = 0.0; - } - - - /** - * Symmetric tridiagonal QL algorithm. - * - * This is derived from the Algol procedures tql2, by - * Bowdler, Martin, Reinsch, and Wilkinson, Handbook for - * Auto. Comp., Vol.ii-Linear Algebra, and the corresponding - * Fortran subroutine in EISPACK. - * - * @access private - */ - private function tql2() { - for ($i = 1; $i < $this->n; ++$i) { - $this->e[$i-1] = $this->e[$i]; - } - $this->e[$this->n-1] = 0.0; - $f = 0.0; - $tst1 = 0.0; - $eps = pow(2.0,-52.0); - - for ($l = 0; $l < $this->n; ++$l) { - // Find small subdiagonal element - $tst1 = max($tst1, abs($this->d[$l]) + abs($this->e[$l])); - $m = $l; - while ($m < $this->n) { - if (abs($this->e[$m]) <= $eps * $tst1) - break; - ++$m; - } - // If m == l, $this->d[l] is an eigenvalue, - // otherwise, iterate. - if ($m > $l) { - $iter = 0; - do { - // Could check iteration count here. - $iter += 1; - // Compute implicit shift - $g = $this->d[$l]; - $p = ($this->d[$l+1] - $g) / (2.0 * $this->e[$l]); - $r = hypo($p, 1.0); - if ($p < 0) - $r *= -1; - $this->d[$l] = $this->e[$l] / ($p + $r); - $this->d[$l+1] = $this->e[$l] * ($p + $r); - $dl1 = $this->d[$l+1]; - $h = $g - $this->d[$l]; - for ($i = $l + 2; $i < $this->n; ++$i) - $this->d[$i] -= $h; - $f += $h; - // Implicit QL transformation. - $p = $this->d[$m]; - $c = 1.0; - $c2 = $c3 = $c; - $el1 = $this->e[$l + 1]; - $s = $s2 = 0.0; - for ($i = $m-1; $i >= $l; --$i) { - $c3 = $c2; - $c2 = $c; - $s2 = $s; - $g = $c * $this->e[$i]; - $h = $c * $p; - $r = hypo($p, $this->e[$i]); - $this->e[$i+1] = $s * $r; - $s = $this->e[$i] / $r; - $c = $p / $r; - $p = $c * $this->d[$i] - $s * $g; - $this->d[$i+1] = $h + $s * ($c * $g + $s * $this->d[$i]); - // Accumulate transformation. - for ($k = 0; $k < $this->n; ++$k) { - $h = $this->V[$k][$i+1]; - $this->V[$k][$i+1] = $s * $this->V[$k][$i] + $c * $h; - $this->V[$k][$i] = $c * $this->V[$k][$i] - $s * $h; - } - } - $p = -$s * $s2 * $c3 * $el1 * $this->e[$l] / $dl1; - $this->e[$l] = $s * $p; - $this->d[$l] = $c * $p; - // Check for convergence. - } while (abs($this->e[$l]) > $eps * $tst1); - } - $this->d[$l] = $this->d[$l] + $f; - $this->e[$l] = 0.0; - } - - // Sort eigenvalues and corresponding vectors. - for ($i = 0; $i < $this->n - 1; ++$i) { - $k = $i; - $p = $this->d[$i]; - for ($j = $i+1; $j < $this->n; ++$j) { - if ($this->d[$j] < $p) { - $k = $j; - $p = $this->d[$j]; - } - } - if ($k != $i) { - $this->d[$k] = $this->d[$i]; - $this->d[$i] = $p; - for ($j = 0; $j < $this->n; ++$j) { - $p = $this->V[$j][$i]; - $this->V[$j][$i] = $this->V[$j][$k]; - $this->V[$j][$k] = $p; - } - } - } - } - - - /** - * Nonsymmetric reduction to Hessenberg form. - * - * This is derived from the Algol procedures orthes and ortran, - * by Martin and Wilkinson, Handbook for Auto. Comp., - * Vol.ii-Linear Algebra, and the corresponding - * Fortran subroutines in EISPACK. - * - * @access private - */ - private function orthes () { - $low = 0; - $high = $this->n-1; - - for ($m = $low+1; $m <= $high-1; ++$m) { - // Scale column. - $scale = 0.0; - for ($i = $m; $i <= $high; ++$i) { - $scale = $scale + abs($this->H[$i][$m-1]); - } - if ($scale != 0.0) { - // Compute Householder transformation. - $h = 0.0; - for ($i = $high; $i >= $m; --$i) { - $this->ort[$i] = $this->H[$i][$m-1] / $scale; - $h += $this->ort[$i] * $this->ort[$i]; - } - $g = sqrt($h); - if ($this->ort[$m] > 0) { - $g *= -1; - } - $h -= $this->ort[$m] * $g; - $this->ort[$m] -= $g; - // Apply Householder similarity transformation - // H = (I -u * u' / h) * H * (I -u * u') / h) - for ($j = $m; $j < $this->n; ++$j) { - $f = 0.0; - for ($i = $high; $i >= $m; --$i) { - $f += $this->ort[$i] * $this->H[$i][$j]; - } - $f /= $h; - for ($i = $m; $i <= $high; ++$i) { - $this->H[$i][$j] -= $f * $this->ort[$i]; - } - } - for ($i = 0; $i <= $high; ++$i) { - $f = 0.0; - for ($j = $high; $j >= $m; --$j) { - $f += $this->ort[$j] * $this->H[$i][$j]; - } - $f = $f / $h; - for ($j = $m; $j <= $high; ++$j) { - $this->H[$i][$j] -= $f * $this->ort[$j]; - } - } - $this->ort[$m] = $scale * $this->ort[$m]; - $this->H[$m][$m-1] = $scale * $g; - } - } - - // Accumulate transformations (Algol's ortran). - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - $this->V[$i][$j] = ($i == $j ? 1.0 : 0.0); - } - } - for ($m = $high-1; $m >= $low+1; --$m) { - if ($this->H[$m][$m-1] != 0.0) { - for ($i = $m+1; $i <= $high; ++$i) { - $this->ort[$i] = $this->H[$i][$m-1]; - } - for ($j = $m; $j <= $high; ++$j) { - $g = 0.0; - for ($i = $m; $i <= $high; ++$i) { - $g += $this->ort[$i] * $this->V[$i][$j]; - } - // Double division avoids possible underflow - $g = ($g / $this->ort[$m]) / $this->H[$m][$m-1]; - for ($i = $m; $i <= $high; ++$i) { - $this->V[$i][$j] += $g * $this->ort[$i]; - } - } - } - } - } - - - /** - * Performs complex division. - * - * @access private - */ - private function cdiv($xr, $xi, $yr, $yi) { - if (abs($yr) > abs($yi)) { - $r = $yi / $yr; - $d = $yr + $r * $yi; - $this->cdivr = ($xr + $r * $xi) / $d; - $this->cdivi = ($xi - $r * $xr) / $d; - } else { - $r = $yr / $yi; - $d = $yi + $r * $yr; - $this->cdivr = ($r * $xr + $xi) / $d; - $this->cdivi = ($r * $xi - $xr) / $d; - } - } - - - /** - * Nonsymmetric reduction from Hessenberg to real Schur form. - * - * Code is derived from the Algol procedure hqr2, - * by Martin and Wilkinson, Handbook for Auto. Comp., - * Vol.ii-Linear Algebra, and the corresponding - * Fortran subroutine in EISPACK. - * - * @access private - */ - private function hqr2 () { - // Initialize - $nn = $this->n; - $n = $nn - 1; - $low = 0; - $high = $nn - 1; - $eps = pow(2.0, -52.0); - $exshift = 0.0; - $p = $q = $r = $s = $z = 0; - // Store roots isolated by balanc and compute matrix norm - $norm = 0.0; - - for ($i = 0; $i < $nn; ++$i) { - if (($i < $low) OR ($i > $high)) { - $this->d[$i] = $this->H[$i][$i]; - $this->e[$i] = 0.0; - } - for ($j = max($i-1, 0); $j < $nn; ++$j) { - $norm = $norm + abs($this->H[$i][$j]); - } - } - - // Outer loop over eigenvalue index - $iter = 0; - while ($n >= $low) { - // Look for single small sub-diagonal element - $l = $n; - while ($l > $low) { - $s = abs($this->H[$l-1][$l-1]) + abs($this->H[$l][$l]); - if ($s == 0.0) { - $s = $norm; - } - if (abs($this->H[$l][$l-1]) < $eps * $s) { - break; - } - --$l; - } - // Check for convergence - // One root found - if ($l == $n) { - $this->H[$n][$n] = $this->H[$n][$n] + $exshift; - $this->d[$n] = $this->H[$n][$n]; - $this->e[$n] = 0.0; - --$n; - $iter = 0; - // Two roots found - } else if ($l == $n-1) { - $w = $this->H[$n][$n-1] * $this->H[$n-1][$n]; - $p = ($this->H[$n-1][$n-1] - $this->H[$n][$n]) / 2.0; - $q = $p * $p + $w; - $z = sqrt(abs($q)); - $this->H[$n][$n] = $this->H[$n][$n] + $exshift; - $this->H[$n-1][$n-1] = $this->H[$n-1][$n-1] + $exshift; - $x = $this->H[$n][$n]; - // Real pair - if ($q >= 0) { - if ($p >= 0) { - $z = $p + $z; - } else { - $z = $p - $z; - } - $this->d[$n-1] = $x + $z; - $this->d[$n] = $this->d[$n-1]; - if ($z != 0.0) { - $this->d[$n] = $x - $w / $z; - } - $this->e[$n-1] = 0.0; - $this->e[$n] = 0.0; - $x = $this->H[$n][$n-1]; - $s = abs($x) + abs($z); - $p = $x / $s; - $q = $z / $s; - $r = sqrt($p * $p + $q * $q); - $p = $p / $r; - $q = $q / $r; - // Row modification - for ($j = $n-1; $j < $nn; ++$j) { - $z = $this->H[$n-1][$j]; - $this->H[$n-1][$j] = $q * $z + $p * $this->H[$n][$j]; - $this->H[$n][$j] = $q * $this->H[$n][$j] - $p * $z; - } - // Column modification - for ($i = 0; $i <= n; ++$i) { - $z = $this->H[$i][$n-1]; - $this->H[$i][$n-1] = $q * $z + $p * $this->H[$i][$n]; - $this->H[$i][$n] = $q * $this->H[$i][$n] - $p * $z; - } - // Accumulate transformations - for ($i = $low; $i <= $high; ++$i) { - $z = $this->V[$i][$n-1]; - $this->V[$i][$n-1] = $q * $z + $p * $this->V[$i][$n]; - $this->V[$i][$n] = $q * $this->V[$i][$n] - $p * $z; - } - // Complex pair - } else { - $this->d[$n-1] = $x + $p; - $this->d[$n] = $x + $p; - $this->e[$n-1] = $z; - $this->e[$n] = -$z; - } - $n = $n - 2; - $iter = 0; - // No convergence yet - } else { - // Form shift - $x = $this->H[$n][$n]; - $y = 0.0; - $w = 0.0; - if ($l < $n) { - $y = $this->H[$n-1][$n-1]; - $w = $this->H[$n][$n-1] * $this->H[$n-1][$n]; - } - // Wilkinson's original ad hoc shift - if ($iter == 10) { - $exshift += $x; - for ($i = $low; $i <= $n; ++$i) { - $this->H[$i][$i] -= $x; - } - $s = abs($this->H[$n][$n-1]) + abs($this->H[$n-1][$n-2]); - $x = $y = 0.75 * $s; - $w = -0.4375 * $s * $s; - } - // MATLAB's new ad hoc shift - if ($iter == 30) { - $s = ($y - $x) / 2.0; - $s = $s * $s + $w; - if ($s > 0) { - $s = sqrt($s); - if ($y < $x) { - $s = -$s; - } - $s = $x - $w / (($y - $x) / 2.0 + $s); - for ($i = $low; $i <= $n; ++$i) { - $this->H[$i][$i] -= $s; - } - $exshift += $s; - $x = $y = $w = 0.964; - } - } - // Could check iteration count here. - $iter = $iter + 1; - // Look for two consecutive small sub-diagonal elements - $m = $n - 2; - while ($m >= $l) { - $z = $this->H[$m][$m]; - $r = $x - $z; - $s = $y - $z; - $p = ($r * $s - $w) / $this->H[$m+1][$m] + $this->H[$m][$m+1]; - $q = $this->H[$m+1][$m+1] - $z - $r - $s; - $r = $this->H[$m+2][$m+1]; - $s = abs($p) + abs($q) + abs($r); - $p = $p / $s; - $q = $q / $s; - $r = $r / $s; - if ($m == $l) { - break; - } - if (abs($this->H[$m][$m-1]) * (abs($q) + abs($r)) < - $eps * (abs($p) * (abs($this->H[$m-1][$m-1]) + abs($z) + abs($this->H[$m+1][$m+1])))) { - break; - } - --$m; - } - for ($i = $m + 2; $i <= $n; ++$i) { - $this->H[$i][$i-2] = 0.0; - if ($i > $m+2) { - $this->H[$i][$i-3] = 0.0; - } - } - // Double QR step involving rows l:n and columns m:n - for ($k = $m; $k <= $n-1; ++$k) { - $notlast = ($k != $n-1); - if ($k != $m) { - $p = $this->H[$k][$k-1]; - $q = $this->H[$k+1][$k-1]; - $r = ($notlast ? $this->H[$k+2][$k-1] : 0.0); - $x = abs($p) + abs($q) + abs($r); - if ($x != 0.0) { - $p = $p / $x; - $q = $q / $x; - $r = $r / $x; - } - } - if ($x == 0.0) { - break; - } - $s = sqrt($p * $p + $q * $q + $r * $r); - if ($p < 0) { - $s = -$s; - } - if ($s != 0) { - if ($k != $m) { - $this->H[$k][$k-1] = -$s * $x; - } elseif ($l != $m) { - $this->H[$k][$k-1] = -$this->H[$k][$k-1]; - } - $p = $p + $s; - $x = $p / $s; - $y = $q / $s; - $z = $r / $s; - $q = $q / $p; - $r = $r / $p; - // Row modification - for ($j = $k; $j < $nn; ++$j) { - $p = $this->H[$k][$j] + $q * $this->H[$k+1][$j]; - if ($notlast) { - $p = $p + $r * $this->H[$k+2][$j]; - $this->H[$k+2][$j] = $this->H[$k+2][$j] - $p * $z; - } - $this->H[$k][$j] = $this->H[$k][$j] - $p * $x; - $this->H[$k+1][$j] = $this->H[$k+1][$j] - $p * $y; - } - // Column modification - for ($i = 0; $i <= min($n, $k+3); ++$i) { - $p = $x * $this->H[$i][$k] + $y * $this->H[$i][$k+1]; - if ($notlast) { - $p = $p + $z * $this->H[$i][$k+2]; - $this->H[$i][$k+2] = $this->H[$i][$k+2] - $p * $r; - } - $this->H[$i][$k] = $this->H[$i][$k] - $p; - $this->H[$i][$k+1] = $this->H[$i][$k+1] - $p * $q; - } - // Accumulate transformations - for ($i = $low; $i <= $high; ++$i) { - $p = $x * $this->V[$i][$k] + $y * $this->V[$i][$k+1]; - if ($notlast) { - $p = $p + $z * $this->V[$i][$k+2]; - $this->V[$i][$k+2] = $this->V[$i][$k+2] - $p * $r; - } - $this->V[$i][$k] = $this->V[$i][$k] - $p; - $this->V[$i][$k+1] = $this->V[$i][$k+1] - $p * $q; - } - } // ($s != 0) - } // k loop - } // check convergence - } // while ($n >= $low) - - // Backsubstitute to find vectors of upper triangular form - if ($norm == 0.0) { - return; - } - - for ($n = $nn-1; $n >= 0; --$n) { - $p = $this->d[$n]; - $q = $this->e[$n]; - // Real vector - if ($q == 0) { - $l = $n; - $this->H[$n][$n] = 1.0; - for ($i = $n-1; $i >= 0; --$i) { - $w = $this->H[$i][$i] - $p; - $r = 0.0; - for ($j = $l; $j <= $n; ++$j) { - $r = $r + $this->H[$i][$j] * $this->H[$j][$n]; - } - if ($this->e[$i] < 0.0) { - $z = $w; - $s = $r; - } else { - $l = $i; - if ($this->e[$i] == 0.0) { - if ($w != 0.0) { - $this->H[$i][$n] = -$r / $w; - } else { - $this->H[$i][$n] = -$r / ($eps * $norm); - } - // Solve real equations - } else { - $x = $this->H[$i][$i+1]; - $y = $this->H[$i+1][$i]; - $q = ($this->d[$i] - $p) * ($this->d[$i] - $p) + $this->e[$i] * $this->e[$i]; - $t = ($x * $s - $z * $r) / $q; - $this->H[$i][$n] = $t; - if (abs($x) > abs($z)) { - $this->H[$i+1][$n] = (-$r - $w * $t) / $x; - } else { - $this->H[$i+1][$n] = (-$s - $y * $t) / $z; - } - } - // Overflow control - $t = abs($this->H[$i][$n]); - if (($eps * $t) * $t > 1) { - for ($j = $i; $j <= $n; ++$j) { - $this->H[$j][$n] = $this->H[$j][$n] / $t; - } - } - } - } - // Complex vector - } else if ($q < 0) { - $l = $n-1; - // Last vector component imaginary so matrix is triangular - if (abs($this->H[$n][$n-1]) > abs($this->H[$n-1][$n])) { - $this->H[$n-1][$n-1] = $q / $this->H[$n][$n-1]; - $this->H[$n-1][$n] = -($this->H[$n][$n] - $p) / $this->H[$n][$n-1]; - } else { - $this->cdiv(0.0, -$this->H[$n-1][$n], $this->H[$n-1][$n-1] - $p, $q); - $this->H[$n-1][$n-1] = $this->cdivr; - $this->H[$n-1][$n] = $this->cdivi; - } - $this->H[$n][$n-1] = 0.0; - $this->H[$n][$n] = 1.0; - for ($i = $n-2; $i >= 0; --$i) { - // double ra,sa,vr,vi; - $ra = 0.0; - $sa = 0.0; - for ($j = $l; $j <= $n; ++$j) { - $ra = $ra + $this->H[$i][$j] * $this->H[$j][$n-1]; - $sa = $sa + $this->H[$i][$j] * $this->H[$j][$n]; - } - $w = $this->H[$i][$i] - $p; - if ($this->e[$i] < 0.0) { - $z = $w; - $r = $ra; - $s = $sa; - } else { - $l = $i; - if ($this->e[$i] == 0) { - $this->cdiv(-$ra, -$sa, $w, $q); - $this->H[$i][$n-1] = $this->cdivr; - $this->H[$i][$n] = $this->cdivi; - } else { - // Solve complex equations - $x = $this->H[$i][$i+1]; - $y = $this->H[$i+1][$i]; - $vr = ($this->d[$i] - $p) * ($this->d[$i] - $p) + $this->e[$i] * $this->e[$i] - $q * $q; - $vi = ($this->d[$i] - $p) * 2.0 * $q; - if ($vr == 0.0 & $vi == 0.0) { - $vr = $eps * $norm * (abs($w) + abs($q) + abs($x) + abs($y) + abs($z)); - } - $this->cdiv($x * $r - $z * $ra + $q * $sa, $x * $s - $z * $sa - $q * $ra, $vr, $vi); - $this->H[$i][$n-1] = $this->cdivr; - $this->H[$i][$n] = $this->cdivi; - if (abs($x) > (abs($z) + abs($q))) { - $this->H[$i+1][$n-1] = (-$ra - $w * $this->H[$i][$n-1] + $q * $this->H[$i][$n]) / $x; - $this->H[$i+1][$n] = (-$sa - $w * $this->H[$i][$n] - $q * $this->H[$i][$n-1]) / $x; - } else { - $this->cdiv(-$r - $y * $this->H[$i][$n-1], -$s - $y * $this->H[$i][$n], $z, $q); - $this->H[$i+1][$n-1] = $this->cdivr; - $this->H[$i+1][$n] = $this->cdivi; - } - } - // Overflow control - $t = max(abs($this->H[$i][$n-1]),abs($this->H[$i][$n])); - if (($eps * $t) * $t > 1) { - for ($j = $i; $j <= $n; ++$j) { - $this->H[$j][$n-1] = $this->H[$j][$n-1] / $t; - $this->H[$j][$n] = $this->H[$j][$n] / $t; - } - } - } // end else - } // end for - } // end else for complex case - } // end for - - // Vectors of isolated roots - for ($i = 0; $i < $nn; ++$i) { - if ($i < $low | $i > $high) { - for ($j = $i; $j < $nn; ++$j) { - $this->V[$i][$j] = $this->H[$i][$j]; - } - } - } - - // Back transformation to get eigenvectors of original matrix - for ($j = $nn-1; $j >= $low; --$j) { - for ($i = $low; $i <= $high; ++$i) { - $z = 0.0; - for ($k = $low; $k <= min($j,$high); ++$k) { - $z = $z + $this->V[$i][$k] * $this->H[$k][$j]; - } - $this->V[$i][$j] = $z; - } - } - } // end hqr2 - - - /** - * Constructor: Check for symmetry, then construct the eigenvalue decomposition - * - * @access public - * @param A Square matrix - * @return Structure to access D and V. - */ - public function __construct($Arg) { - $this->A = $Arg->getArray(); - $this->n = $Arg->getColumnDimension(); - - $issymmetric = true; - for ($j = 0; ($j < $this->n) & $issymmetric; ++$j) { - for ($i = 0; ($i < $this->n) & $issymmetric; ++$i) { - $issymmetric = ($this->A[$i][$j] == $this->A[$j][$i]); - } - } - - if ($issymmetric) { - $this->V = $this->A; - // Tridiagonalize. - $this->tred2(); - // Diagonalize. - $this->tql2(); - } else { - $this->H = $this->A; - $this->ort = array(); - // Reduce to Hessenberg form. - $this->orthes(); - // Reduce Hessenberg to real Schur form. - $this->hqr2(); - } - } - - - /** - * Return the eigenvector matrix - * - * @access public - * @return V - */ - public function getV() { - return new Matrix($this->V, $this->n, $this->n); - } - - - /** - * Return the real parts of the eigenvalues - * - * @access public - * @return real(diag(D)) - */ - public function getRealEigenvalues() { - return $this->d; - } - - - /** - * Return the imaginary parts of the eigenvalues - * - * @access public - * @return imag(diag(D)) - */ - public function getImagEigenvalues() { - return $this->e; - } - - - /** - * Return the block diagonal eigenvalue matrix - * - * @access public - * @return D - */ - public function getD() { - for ($i = 0; $i < $this->n; ++$i) { - $D[$i] = array_fill(0, $this->n, 0.0); - $D[$i][$i] = $this->d[$i]; - if ($this->e[$i] == 0) { - continue; - } - $o = ($this->e[$i] > 0) ? $i + 1 : $i - 1; - $D[$i][$o] = $this->e[$i]; - } - return new Matrix($D); - } - -} // class EigenvalueDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/LUDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/LUDecomposition.php deleted file mode 100644 index 08e500cf7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/LUDecomposition.php +++ /dev/null @@ -1,258 +0,0 @@ -<?php -/** - * @package JAMA - * - * For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n - * unit lower triangular matrix L, an n-by-n upper triangular matrix U, - * and a permutation vector piv of length m so that A(piv,:) = L*U. - * If m < n, then L is m-by-m and U is m-by-n. - * - * The LU decompostion with pivoting always exists, even if the matrix is - * singular, so the constructor will never fail. The primary use of the - * LU decomposition is in the solution of square systems of simultaneous - * linear equations. This will fail if isNonsingular() returns false. - * - * @author Paul Meagher - * @author Bartosz Matosiuk - * @author Michael Bommarito - * @version 1.1 - * @license PHP v3.0 - */ -class PHPExcel_Shared_JAMA_LUDecomposition { - - const MatrixSingularException = "Can only perform operation on singular matrix."; - const MatrixSquareException = "Mismatched Row dimension"; - - /** - * Decomposition storage - * @var array - */ - private $LU = array(); - - /** - * Row dimension. - * @var int - */ - private $m; - - /** - * Column dimension. - * @var int - */ - private $n; - - /** - * Pivot sign. - * @var int - */ - private $pivsign; - - /** - * Internal storage of pivot vector. - * @var array - */ - private $piv = array(); - - - /** - * LU Decomposition constructor. - * - * @param $A Rectangular matrix - * @return Structure to access L, U and piv. - */ - public function __construct($A) { - if ($A instanceof PHPExcel_Shared_JAMA_Matrix) { - // Use a "left-looking", dot-product, Crout/Doolittle algorithm. - $this->LU = $A->getArray(); - $this->m = $A->getRowDimension(); - $this->n = $A->getColumnDimension(); - for ($i = 0; $i < $this->m; ++$i) { - $this->piv[$i] = $i; - } - $this->pivsign = 1; - $LUrowi = $LUcolj = array(); - - // Outer loop. - for ($j = 0; $j < $this->n; ++$j) { - // Make a copy of the j-th column to localize references. - for ($i = 0; $i < $this->m; ++$i) { - $LUcolj[$i] = &$this->LU[$i][$j]; - } - // Apply previous transformations. - for ($i = 0; $i < $this->m; ++$i) { - $LUrowi = $this->LU[$i]; - // Most of the time is spent in the following dot product. - $kmax = min($i,$j); - $s = 0.0; - for ($k = 0; $k < $kmax; ++$k) { - $s += $LUrowi[$k] * $LUcolj[$k]; - } - $LUrowi[$j] = $LUcolj[$i] -= $s; - } - // Find pivot and exchange if necessary. - $p = $j; - for ($i = $j+1; $i < $this->m; ++$i) { - if (abs($LUcolj[$i]) > abs($LUcolj[$p])) { - $p = $i; - } - } - if ($p != $j) { - for ($k = 0; $k < $this->n; ++$k) { - $t = $this->LU[$p][$k]; - $this->LU[$p][$k] = $this->LU[$j][$k]; - $this->LU[$j][$k] = $t; - } - $k = $this->piv[$p]; - $this->piv[$p] = $this->piv[$j]; - $this->piv[$j] = $k; - $this->pivsign = $this->pivsign * -1; - } - // Compute multipliers. - if (($j < $this->m) && ($this->LU[$j][$j] != 0.0)) { - for ($i = $j+1; $i < $this->m; ++$i) { - $this->LU[$i][$j] /= $this->LU[$j][$j]; - } - } - } - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::ArgumentTypeException); - } - } // function __construct() - - - /** - * Get lower triangular factor. - * - * @return array Lower triangular factor - */ - public function getL() { - for ($i = 0; $i < $this->m; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i > $j) { - $L[$i][$j] = $this->LU[$i][$j]; - } elseif ($i == $j) { - $L[$i][$j] = 1.0; - } else { - $L[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($L); - } // function getL() - - - /** - * Get upper triangular factor. - * - * @return array Upper triangular factor - */ - public function getU() { - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i <= $j) { - $U[$i][$j] = $this->LU[$i][$j]; - } else { - $U[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($U); - } // function getU() - - - /** - * Return pivot permutation vector. - * - * @return array Pivot vector - */ - public function getPivot() { - return $this->piv; - } // function getPivot() - - - /** - * Alias for getPivot - * - * @see getPivot - */ - public function getDoublePivot() { - return $this->getPivot(); - } // function getDoublePivot() - - - /** - * Is the matrix nonsingular? - * - * @return true if U, and hence A, is nonsingular. - */ - public function isNonsingular() { - for ($j = 0; $j < $this->n; ++$j) { - if ($this->LU[$j][$j] == 0) { - return false; - } - } - return true; - } // function isNonsingular() - - - /** - * Count determinants - * - * @return array d matrix deterninat - */ - public function det() { - if ($this->m == $this->n) { - $d = $this->pivsign; - for ($j = 0; $j < $this->n; ++$j) { - $d *= $this->LU[$j][$j]; - } - return $d; - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::MatrixDimensionException); - } - } // function det() - - - /** - * Solve A*X = B - * - * @param $B A Matrix with as many rows as A and any number of columns. - * @return X so that L*U*X = B(piv,:) - * @PHPExcel_Calculation_Exception IllegalArgumentException Matrix row dimensions must agree. - * @PHPExcel_Calculation_Exception RuntimeException Matrix is singular. - */ - public function solve($B) { - if ($B->getRowDimension() == $this->m) { - if ($this->isNonsingular()) { - // Copy right hand side with pivoting - $nx = $B->getColumnDimension(); - $X = $B->getMatrix($this->piv, 0, $nx-1); - // Solve L*Y = B(piv,:) - for ($k = 0; $k < $this->n; ++$k) { - for ($i = $k+1; $i < $this->n; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X->A[$i][$j] -= $X->A[$k][$j] * $this->LU[$i][$k]; - } - } - } - // Solve U*X = Y; - for ($k = $this->n-1; $k >= 0; --$k) { - for ($j = 0; $j < $nx; ++$j) { - $X->A[$k][$j] /= $this->LU[$k][$k]; - } - for ($i = 0; $i < $k; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X->A[$i][$j] -= $X->A[$k][$j] * $this->LU[$i][$k]; - } - } - } - return $X; - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixSingularException); - } - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixSquareException); - } - } // function solve() - -} // class PHPExcel_Shared_JAMA_LUDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/Matrix.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/Matrix.php deleted file mode 100644 index b893a447a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/Matrix.php +++ /dev/null @@ -1,1059 +0,0 @@ -<?php -/** - * @package JAMA - */ - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/* - * Matrix class - * - * @author Paul Meagher - * @author Michael Bommarito - * @author Lukasz Karapuda - * @author Bartek Matosiuk - * @version 1.8 - * @license PHP v3.0 - * @see http://math.nist.gov/javanumerics/jama/ - */ -class PHPExcel_Shared_JAMA_Matrix { - - - const PolymorphicArgumentException = "Invalid argument pattern for polymorphic function."; - const ArgumentTypeException = "Invalid argument type."; - const ArgumentBoundsException = "Invalid argument range."; - const MatrixDimensionException = "Matrix dimensions are not equal."; - const ArrayLengthException = "Array length must be a multiple of m."; - - /** - * Matrix storage - * - * @var array - * @access public - */ - public $A = array(); - - /** - * Matrix row dimension - * - * @var int - * @access private - */ - private $m; - - /** - * Matrix column dimension - * - * @var int - * @access private - */ - private $n; - - - /** - * Polymorphic constructor - * - * As PHP has no support for polymorphic constructors, we hack our own sort of polymorphism using func_num_args, func_get_arg, and gettype. In essence, we're just implementing a simple RTTI filter and calling the appropriate constructor. - */ - public function __construct() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - //Rectangular matrix - m x n initialized from 2D array - case 'array': - $this->m = count($args[0]); - $this->n = count($args[0][0]); - $this->A = $args[0]; - break; - //Square matrix - n x n - case 'integer': - $this->m = $args[0]; - $this->n = $args[0]; - $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0)); - break; - //Rectangular matrix - m x n - case 'integer,integer': - $this->m = $args[0]; - $this->n = $args[1]; - $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0)); - break; - //Rectangular matrix - m x n initialized from packed array - case 'array,integer': - $this->m = $args[1]; - if ($this->m != 0) { - $this->n = count($args[0]) / $this->m; - } else { - $this->n = 0; - } - if (($this->m * $this->n) == count($args[0])) { - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = $args[0][$i + $j * $this->m]; - } - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArrayLengthException); - } - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function __construct() - - - /** - * getArray - * - * @return array Matrix array - */ - public function getArray() { - return $this->A; - } // function getArray() - - - /** - * getRowDimension - * - * @return int Row dimension - */ - public function getRowDimension() { - return $this->m; - } // function getRowDimension() - - - /** - * getColumnDimension - * - * @return int Column dimension - */ - public function getColumnDimension() { - return $this->n; - } // function getColumnDimension() - - - /** - * get - * - * Get the i,j-th element of the matrix. - * @param int $i Row position - * @param int $j Column position - * @return mixed Element (int/float/double) - */ - public function get($i = null, $j = null) { - return $this->A[$i][$j]; - } // function get() - - - /** - * getMatrix - * - * Get a submatrix - * @param int $i0 Initial row index - * @param int $iF Final row index - * @param int $j0 Initial column index - * @param int $jF Final column index - * @return Matrix Submatrix - */ - public function getMatrix() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - //A($i0...; $j0...) - case 'integer,integer': - list($i0, $j0) = $args; - if ($i0 >= 0) { $m = $this->m - $i0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if ($j0 >= 0) { $n = $this->n - $j0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = $i0; $i < $this->m; ++$i) { - for($j = $j0; $j < $this->n; ++$j) { - $R->set($i, $j, $this->A[$i][$j]); - } - } - return $R; - break; - //A($i0...$iF; $j0...$jF) - case 'integer,integer,integer,integer': - list($i0, $iF, $j0, $jF) = $args; - if (($iF > $i0) && ($this->m >= $iF) && ($i0 >= 0)) { $m = $iF - $i0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (($jF > $j0) && ($this->n >= $jF) && ($j0 >= 0)) { $n = $jF - $j0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m+1, $n+1); - for($i = $i0; $i <= $iF; ++$i) { - for($j = $j0; $j <= $jF; ++$j) { - $R->set($i - $i0, $j - $j0, $this->A[$i][$j]); - } - } - return $R; - break; - //$R = array of row indices; $C = array of column indices - case 'array,array': - list($RL, $CL) = $args; - if (count($RL) > 0) { $m = count($RL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (count($CL) > 0) { $n = count($CL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = 0; $i < $m; ++$i) { - for($j = 0; $j < $n; ++$j) { - $R->set($i - $i0, $j - $j0, $this->A[$RL[$i]][$CL[$j]]); - } - } - return $R; - break; - //$RL = array of row indices; $CL = array of column indices - case 'array,array': - list($RL, $CL) = $args; - if (count($RL) > 0) { $m = count($RL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (count($CL) > 0) { $n = count($CL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = 0; $i < $m; ++$i) { - for($j = 0; $j < $n; ++$j) { - $R->set($i, $j, $this->A[$RL[$i]][$CL[$j]]); - } - } - return $R; - break; - //A($i0...$iF); $CL = array of column indices - case 'integer,integer,array': - list($i0, $iF, $CL) = $args; - if (($iF > $i0) && ($this->m >= $iF) && ($i0 >= 0)) { $m = $iF - $i0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (count($CL) > 0) { $n = count($CL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = $i0; $i < $iF; ++$i) { - for($j = 0; $j < $n; ++$j) { - $R->set($i - $i0, $j, $this->A[$RL[$i]][$j]); - } - } - return $R; - break; - //$RL = array of row indices - case 'array,integer,integer': - list($RL, $j0, $jF) = $args; - if (count($RL) > 0) { $m = count($RL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (($jF >= $j0) && ($this->n >= $jF) && ($j0 >= 0)) { $n = $jF - $j0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n+1); - for($i = 0; $i < $m; ++$i) { - for($j = $j0; $j <= $jF; ++$j) { - $R->set($i, $j - $j0, $this->A[$RL[$i]][$j]); - } - } - return $R; - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function getMatrix() - - - /** - * checkMatrixDimensions - * - * Is matrix B the same size? - * @param Matrix $B Matrix B - * @return boolean - */ - public function checkMatrixDimensions($B = null) { - if ($B instanceof PHPExcel_Shared_JAMA_Matrix) { - if (($this->m == $B->getRowDimension()) && ($this->n == $B->getColumnDimension())) { - return true; - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixDimensionException); - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); - } - } // function checkMatrixDimensions() - - - - /** - * set - * - * Set the i,j-th element of the matrix. - * @param int $i Row position - * @param int $j Column position - * @param mixed $c Int/float/double value - * @return mixed Element (int/float/double) - */ - public function set($i = null, $j = null, $c = null) { - // Optimized set version just has this - $this->A[$i][$j] = $c; - } // function set() - - - /** - * identity - * - * Generate an identity matrix. - * @param int $m Row dimension - * @param int $n Column dimension - * @return Matrix Identity matrix - */ - public function identity($m = null, $n = null) { - return $this->diagonal($m, $n, 1); - } // function identity() - - - /** - * diagonal - * - * Generate a diagonal matrix - * @param int $m Row dimension - * @param int $n Column dimension - * @param mixed $c Diagonal value - * @return Matrix Diagonal matrix - */ - public function diagonal($m = null, $n = null, $c = 1) { - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = 0; $i < $m; ++$i) { - $R->set($i, $i, $c); - } - return $R; - } // function diagonal() - - - /** - * getMatrixByRow - * - * Get a submatrix by row index/range - * @param int $i0 Initial row index - * @param int $iF Final row index - * @return Matrix Submatrix - */ - public function getMatrixByRow($i0 = null, $iF = null) { - if (is_int($i0)) { - if (is_int($iF)) { - return $this->getMatrix($i0, 0, $iF + 1, $this->n); - } else { - return $this->getMatrix($i0, 0, $i0 + 1, $this->n); - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); - } - } // function getMatrixByRow() - - - /** - * getMatrixByCol - * - * Get a submatrix by column index/range - * @param int $i0 Initial column index - * @param int $iF Final column index - * @return Matrix Submatrix - */ - public function getMatrixByCol($j0 = null, $jF = null) { - if (is_int($j0)) { - if (is_int($jF)) { - return $this->getMatrix(0, $j0, $this->m, $jF + 1); - } else { - return $this->getMatrix(0, $j0, $this->m, $j0 + 1); - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); - } - } // function getMatrixByCol() - - - /** - * transpose - * - * Tranpose matrix - * @return Matrix Transposed matrix - */ - public function transpose() { - $R = new PHPExcel_Shared_JAMA_Matrix($this->n, $this->m); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $R->set($j, $i, $this->A[$i][$j]); - } - } - return $R; - } // function transpose() - - - /** - * trace - * - * Sum of diagonal elements - * @return float Sum of diagonal elements - */ - public function trace() { - $s = 0; - $n = min($this->m, $this->n); - for($i = 0; $i < $n; ++$i) { - $s += $this->A[$i][$i]; - } - return $s; - } // function trace() - - - /** - * uminus - * - * Unary minus matrix -A - * @return Matrix Unary minus matrix - */ - public function uminus() { - } // function uminus() - - - /** - * plus - * - * A + B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function plus() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) + $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function plus() - - - /** - * plusEquals - * - * A = A + B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function plusEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] += $value; - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function plusEquals() - - - /** - * minus - * - * A - B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function minus() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) - $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function minus() - - - /** - * minusEquals - * - * A = A - B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function minusEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] -= $value; - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function minusEquals() - - - /** - * arrayTimes - * - * Element-by-element multiplication - * Cij = Aij * Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Cij - */ - public function arrayTimes() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) * $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayTimes() - - - /** - * arrayTimesEquals - * - * Element-by-element multiplication - * Aij = Aij * Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Aij - */ - public function arrayTimesEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] *= $value; - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayTimesEquals() - - - /** - * arrayRightDivide - * - * Element-by-element right division - * A / B - * @param Matrix $B Matrix B - * @return Matrix Division result - */ - public function arrayRightDivide() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - if ($value == 0) { - // Trap for Divide by Zero error - $M->set($i, $j, '#DIV/0!'); - } else { - $M->set($i, $j, $this->A[$i][$j] / $value); - } - } else { - $M->set($i, $j, PHPExcel_Calculation_Functions::NaN()); - } - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayRightDivide() - - - /** - * arrayRightDivideEquals - * - * Element-by-element right division - * Aij = Aij / Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Aij - */ - public function arrayRightDivideEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = $this->A[$i][$j] / $M->get($i, $j); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayRightDivideEquals() - - - /** - * arrayLeftDivide - * - * Element-by-element Left division - * A / B - * @param Matrix $B Matrix B - * @return Matrix Division result - */ - public function arrayLeftDivide() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) / $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayLeftDivide() - - - /** - * arrayLeftDivideEquals - * - * Element-by-element Left division - * Aij = Aij / Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Aij - */ - public function arrayLeftDivideEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = $M->get($i, $j) / $this->A[$i][$j]; - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayLeftDivideEquals() - - - /** - * times - * - * Matrix multiplication - * @param mixed $n Matrix/Array/Scalar - * @return Matrix Product - */ - public function times() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $B = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - if ($this->n == $B->m) { - $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $B->n); - for($j = 0; $j < $B->n; ++$j) { - for ($k = 0; $k < $this->n; ++$k) { - $Bcolj[$k] = $B->A[$k][$j]; - } - for($i = 0; $i < $this->m; ++$i) { - $Arowi = $this->A[$i]; - $s = 0; - for($k = 0; $k < $this->n; ++$k) { - $s += $Arowi[$k] * $Bcolj[$k]; - } - $C->A[$i][$j] = $s; - } - } - return $C; - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionMismatch)); - } - break; - case 'array': - $B = new PHPExcel_Shared_JAMA_Matrix($args[0]); - if ($this->n == $B->m) { - $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $B->n); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $s = "0"; - for($k = 0; $k < $C->n; ++$k) { - $s += $this->A[$i][$k] * $B->A[$k][$j]; - } - $C->A[$i][$j] = $s; - } - } - return $C; - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionMismatch)); - } - return $M; - break; - case 'integer': - $C = new PHPExcel_Shared_JAMA_Matrix($this->A); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $C->A[$i][$j] *= $args[0]; - } - } - return $C; - break; - case 'double': - $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $this->n); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $C->A[$i][$j] = $args[0] * $this->A[$i][$j]; - } - } - return $C; - break; - case 'float': - $C = new PHPExcel_Shared_JAMA_Matrix($this->A); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $C->A[$i][$j] *= $args[0]; - } - } - return $C; - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function times() - - - /** - * power - * - * A = A ^ B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function power() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] = pow($this->A[$i][$j],$value); - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function power() - - - /** - * concat - * - * A = A & B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function concat() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"').trim($M->get($i, $j),'"'); - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function concat() - - - /** - * Solve A*X = B. - * - * @param Matrix $B Right hand side - * @return Matrix ... Solution if A is square, least squares solution otherwise - */ - public function solve($B) { - if ($this->m == $this->n) { - $LU = new PHPExcel_Shared_JAMA_LUDecomposition($this); - return $LU->solve($B); - } else { - $QR = new QRDecomposition($this); - return $QR->solve($B); - } - } // function solve() - - - /** - * Matrix inverse or pseudoinverse. - * - * @return Matrix ... Inverse(A) if A is square, pseudoinverse otherwise. - */ - public function inverse() { - return $this->solve($this->identity($this->m, $this->m)); - } // function inverse() - - - /** - * det - * - * Calculate determinant - * @return float Determinant - */ - public function det() { - $L = new PHPExcel_Shared_JAMA_LUDecomposition($this); - return $L->det(); - } // function det() - - -} // class PHPExcel_Shared_JAMA_Matrix diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/QRDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/QRDecomposition.php deleted file mode 100644 index 753846298..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/QRDecomposition.php +++ /dev/null @@ -1,234 +0,0 @@ -<?php -/** - * @package JAMA - * - * For an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n - * orthogonal matrix Q and an n-by-n upper triangular matrix R so that - * A = Q*R. - * - * The QR decompostion always exists, even if the matrix does not have - * full rank, so the constructor will never fail. The primary use of the - * QR decomposition is in the least squares solution of nonsquare systems - * of simultaneous linear equations. This will fail if isFullRank() - * returns false. - * - * @author Paul Meagher - * @license PHP v3.0 - * @version 1.1 - */ -class PHPExcel_Shared_JAMA_QRDecomposition { - - const MatrixRankException = "Can only perform operation on full-rank matrix."; - - /** - * Array for internal storage of decomposition. - * @var array - */ - private $QR = array(); - - /** - * Row dimension. - * @var integer - */ - private $m; - - /** - * Column dimension. - * @var integer - */ - private $n; - - /** - * Array for internal storage of diagonal of R. - * @var array - */ - private $Rdiag = array(); - - - /** - * QR Decomposition computed by Householder reflections. - * - * @param matrix $A Rectangular matrix - * @return Structure to access R and the Householder vectors and compute Q. - */ - public function __construct($A) { - if($A instanceof PHPExcel_Shared_JAMA_Matrix) { - // Initialize. - $this->QR = $A->getArrayCopy(); - $this->m = $A->getRowDimension(); - $this->n = $A->getColumnDimension(); - // Main loop. - for ($k = 0; $k < $this->n; ++$k) { - // Compute 2-norm of k-th column without under/overflow. - $nrm = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $nrm = hypo($nrm, $this->QR[$i][$k]); - } - if ($nrm != 0.0) { - // Form k-th Householder vector. - if ($this->QR[$k][$k] < 0) { - $nrm = -$nrm; - } - for ($i = $k; $i < $this->m; ++$i) { - $this->QR[$i][$k] /= $nrm; - } - $this->QR[$k][$k] += 1.0; - // Apply transformation to remaining columns. - for ($j = $k+1; $j < $this->n; ++$j) { - $s = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $s += $this->QR[$i][$k] * $this->QR[$i][$j]; - } - $s = -$s/$this->QR[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $this->QR[$i][$j] += $s * $this->QR[$i][$k]; - } - } - } - $this->Rdiag[$k] = -$nrm; - } - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::ArgumentTypeException); - } - } // function __construct() - - - /** - * Is the matrix full rank? - * - * @return boolean true if R, and hence A, has full rank, else false. - */ - public function isFullRank() { - for ($j = 0; $j < $this->n; ++$j) { - if ($this->Rdiag[$j] == 0) { - return false; - } - } - return true; - } // function isFullRank() - - - /** - * Return the Householder vectors - * - * @return Matrix Lower trapezoidal matrix whose columns define the reflections - */ - public function getH() { - for ($i = 0; $i < $this->m; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i >= $j) { - $H[$i][$j] = $this->QR[$i][$j]; - } else { - $H[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($H); - } // function getH() - - - /** - * Return the upper triangular factor - * - * @return Matrix upper triangular factor - */ - public function getR() { - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i < $j) { - $R[$i][$j] = $this->QR[$i][$j]; - } elseif ($i == $j) { - $R[$i][$j] = $this->Rdiag[$i]; - } else { - $R[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($R); - } // function getR() - - - /** - * Generate and return the (economy-sized) orthogonal factor - * - * @return Matrix orthogonal factor - */ - public function getQ() { - for ($k = $this->n-1; $k >= 0; --$k) { - for ($i = 0; $i < $this->m; ++$i) { - $Q[$i][$k] = 0.0; - } - $Q[$k][$k] = 1.0; - for ($j = $k; $j < $this->n; ++$j) { - if ($this->QR[$k][$k] != 0) { - $s = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $s += $this->QR[$i][$k] * $Q[$i][$j]; - } - $s = -$s/$this->QR[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $Q[$i][$j] += $s * $this->QR[$i][$k]; - } - } - } - } - /* - for($i = 0; $i < count($Q); ++$i) { - for($j = 0; $j < count($Q); ++$j) { - if(! isset($Q[$i][$j]) ) { - $Q[$i][$j] = 0; - } - } - } - */ - return new PHPExcel_Shared_JAMA_Matrix($Q); - } // function getQ() - - - /** - * Least squares solution of A*X = B - * - * @param Matrix $B A Matrix with as many rows as A and any number of columns. - * @return Matrix Matrix that minimizes the two norm of Q*R*X-B. - */ - public function solve($B) { - if ($B->getRowDimension() == $this->m) { - if ($this->isFullRank()) { - // Copy right hand side - $nx = $B->getColumnDimension(); - $X = $B->getArrayCopy(); - // Compute Y = transpose(Q)*B - for ($k = 0; $k < $this->n; ++$k) { - for ($j = 0; $j < $nx; ++$j) { - $s = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $s += $this->QR[$i][$k] * $X[$i][$j]; - } - $s = -$s/$this->QR[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $X[$i][$j] += $s * $this->QR[$i][$k]; - } - } - } - // Solve R*X = Y; - for ($k = $this->n-1; $k >= 0; --$k) { - for ($j = 0; $j < $nx; ++$j) { - $X[$k][$j] /= $this->Rdiag[$k]; - } - for ($i = 0; $i < $k; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X[$i][$j] -= $X[$k][$j]* $this->QR[$i][$k]; - } - } - } - $X = new PHPExcel_Shared_JAMA_Matrix($X); - return ($X->getMatrix(0, $this->n-1, 0, $nx)); - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixRankException); - } - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::MatrixDimensionException); - } - } // function solve() - -} // PHPExcel_Shared_JAMA_class QRDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/SingularValueDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/SingularValueDecomposition.php deleted file mode 100644 index a4b096c59..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/SingularValueDecomposition.php +++ /dev/null @@ -1,526 +0,0 @@ -<?php -/** - * @package JAMA - * - * For an m-by-n matrix A with m >= n, the singular value decomposition is - * an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and - * an n-by-n orthogonal matrix V so that A = U*S*V'. - * - * The singular values, sigma[$k] = S[$k][$k], are ordered so that - * sigma[0] >= sigma[1] >= ... >= sigma[n-1]. - * - * The singular value decompostion always exists, so the constructor will - * never fail. The matrix condition number and the effective numerical - * rank can be computed from this decomposition. - * - * @author Paul Meagher - * @license PHP v3.0 - * @version 1.1 - */ -class SingularValueDecomposition { - - /** - * Internal storage of U. - * @var array - */ - private $U = array(); - - /** - * Internal storage of V. - * @var array - */ - private $V = array(); - - /** - * Internal storage of singular values. - * @var array - */ - private $s = array(); - - /** - * Row dimension. - * @var int - */ - private $m; - - /** - * Column dimension. - * @var int - */ - private $n; - - - /** - * Construct the singular value decomposition - * - * Derived from LINPACK code. - * - * @param $A Rectangular matrix - * @return Structure to access U, S and V. - */ - public function __construct($Arg) { - - // Initialize. - $A = $Arg->getArrayCopy(); - $this->m = $Arg->getRowDimension(); - $this->n = $Arg->getColumnDimension(); - $nu = min($this->m, $this->n); - $e = array(); - $work = array(); - $wantu = true; - $wantv = true; - $nct = min($this->m - 1, $this->n); - $nrt = max(0, min($this->n - 2, $this->m)); - - // Reduce A to bidiagonal form, storing the diagonal elements - // in s and the super-diagonal elements in e. - for ($k = 0; $k < max($nct,$nrt); ++$k) { - - if ($k < $nct) { - // Compute the transformation for the k-th column and - // place the k-th diagonal in s[$k]. - // Compute 2-norm of k-th column without under/overflow. - $this->s[$k] = 0; - for ($i = $k; $i < $this->m; ++$i) { - $this->s[$k] = hypo($this->s[$k], $A[$i][$k]); - } - if ($this->s[$k] != 0.0) { - if ($A[$k][$k] < 0.0) { - $this->s[$k] = -$this->s[$k]; - } - for ($i = $k; $i < $this->m; ++$i) { - $A[$i][$k] /= $this->s[$k]; - } - $A[$k][$k] += 1.0; - } - $this->s[$k] = -$this->s[$k]; - } - - for ($j = $k + 1; $j < $this->n; ++$j) { - if (($k < $nct) & ($this->s[$k] != 0.0)) { - // Apply the transformation. - $t = 0; - for ($i = $k; $i < $this->m; ++$i) { - $t += $A[$i][$k] * $A[$i][$j]; - } - $t = -$t / $A[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $A[$i][$j] += $t * $A[$i][$k]; - } - // Place the k-th row of A into e for the - // subsequent calculation of the row transformation. - $e[$j] = $A[$k][$j]; - } - } - - if ($wantu AND ($k < $nct)) { - // Place the transformation in U for subsequent back - // multiplication. - for ($i = $k; $i < $this->m; ++$i) { - $this->U[$i][$k] = $A[$i][$k]; - } - } - - if ($k < $nrt) { - // Compute the k-th row transformation and place the - // k-th super-diagonal in e[$k]. - // Compute 2-norm without under/overflow. - $e[$k] = 0; - for ($i = $k + 1; $i < $this->n; ++$i) { - $e[$k] = hypo($e[$k], $e[$i]); - } - if ($e[$k] != 0.0) { - if ($e[$k+1] < 0.0) { - $e[$k] = -$e[$k]; - } - for ($i = $k + 1; $i < $this->n; ++$i) { - $e[$i] /= $e[$k]; - } - $e[$k+1] += 1.0; - } - $e[$k] = -$e[$k]; - if (($k+1 < $this->m) AND ($e[$k] != 0.0)) { - // Apply the transformation. - for ($i = $k+1; $i < $this->m; ++$i) { - $work[$i] = 0.0; - } - for ($j = $k+1; $j < $this->n; ++$j) { - for ($i = $k+1; $i < $this->m; ++$i) { - $work[$i] += $e[$j] * $A[$i][$j]; - } - } - for ($j = $k + 1; $j < $this->n; ++$j) { - $t = -$e[$j] / $e[$k+1]; - for ($i = $k + 1; $i < $this->m; ++$i) { - $A[$i][$j] += $t * $work[$i]; - } - } - } - if ($wantv) { - // Place the transformation in V for subsequent - // back multiplication. - for ($i = $k + 1; $i < $this->n; ++$i) { - $this->V[$i][$k] = $e[$i]; - } - } - } - } - - // Set up the final bidiagonal matrix or order p. - $p = min($this->n, $this->m + 1); - if ($nct < $this->n) { - $this->s[$nct] = $A[$nct][$nct]; - } - if ($this->m < $p) { - $this->s[$p-1] = 0.0; - } - if ($nrt + 1 < $p) { - $e[$nrt] = $A[$nrt][$p-1]; - } - $e[$p-1] = 0.0; - // If required, generate U. - if ($wantu) { - for ($j = $nct; $j < $nu; ++$j) { - for ($i = 0; $i < $this->m; ++$i) { - $this->U[$i][$j] = 0.0; - } - $this->U[$j][$j] = 1.0; - } - for ($k = $nct - 1; $k >= 0; --$k) { - if ($this->s[$k] != 0.0) { - for ($j = $k + 1; $j < $nu; ++$j) { - $t = 0; - for ($i = $k; $i < $this->m; ++$i) { - $t += $this->U[$i][$k] * $this->U[$i][$j]; - } - $t = -$t / $this->U[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $this->U[$i][$j] += $t * $this->U[$i][$k]; - } - } - for ($i = $k; $i < $this->m; ++$i ) { - $this->U[$i][$k] = -$this->U[$i][$k]; - } - $this->U[$k][$k] = 1.0 + $this->U[$k][$k]; - for ($i = 0; $i < $k - 1; ++$i) { - $this->U[$i][$k] = 0.0; - } - } else { - for ($i = 0; $i < $this->m; ++$i) { - $this->U[$i][$k] = 0.0; - } - $this->U[$k][$k] = 1.0; - } - } - } - - // If required, generate V. - if ($wantv) { - for ($k = $this->n - 1; $k >= 0; --$k) { - if (($k < $nrt) AND ($e[$k] != 0.0)) { - for ($j = $k + 1; $j < $nu; ++$j) { - $t = 0; - for ($i = $k + 1; $i < $this->n; ++$i) { - $t += $this->V[$i][$k]* $this->V[$i][$j]; - } - $t = -$t / $this->V[$k+1][$k]; - for ($i = $k + 1; $i < $this->n; ++$i) { - $this->V[$i][$j] += $t * $this->V[$i][$k]; - } - } - } - for ($i = 0; $i < $this->n; ++$i) { - $this->V[$i][$k] = 0.0; - } - $this->V[$k][$k] = 1.0; - } - } - - // Main iteration loop for the singular values. - $pp = $p - 1; - $iter = 0; - $eps = pow(2.0, -52.0); - - while ($p > 0) { - // Here is where a test for too many iterations would go. - // This section of the program inspects for negligible - // elements in the s and e arrays. On completion the - // variables kase and k are set as follows: - // kase = 1 if s(p) and e[k-1] are negligible and k<p - // kase = 2 if s(k) is negligible and k<p - // kase = 3 if e[k-1] is negligible, k<p, and - // s(k), ..., s(p) are not negligible (qr step). - // kase = 4 if e(p-1) is negligible (convergence). - for ($k = $p - 2; $k >= -1; --$k) { - if ($k == -1) { - break; - } - if (abs($e[$k]) <= $eps * (abs($this->s[$k]) + abs($this->s[$k+1]))) { - $e[$k] = 0.0; - break; - } - } - if ($k == $p - 2) { - $kase = 4; - } else { - for ($ks = $p - 1; $ks >= $k; --$ks) { - if ($ks == $k) { - break; - } - $t = ($ks != $p ? abs($e[$ks]) : 0.) + ($ks != $k + 1 ? abs($e[$ks-1]) : 0.); - if (abs($this->s[$ks]) <= $eps * $t) { - $this->s[$ks] = 0.0; - break; - } - } - if ($ks == $k) { - $kase = 3; - } else if ($ks == $p-1) { - $kase = 1; - } else { - $kase = 2; - $k = $ks; - } - } - ++$k; - - // Perform the task indicated by kase. - switch ($kase) { - // Deflate negligible s(p). - case 1: - $f = $e[$p-2]; - $e[$p-2] = 0.0; - for ($j = $p - 2; $j >= $k; --$j) { - $t = hypo($this->s[$j],$f); - $cs = $this->s[$j] / $t; - $sn = $f / $t; - $this->s[$j] = $t; - if ($j != $k) { - $f = -$sn * $e[$j-1]; - $e[$j-1] = $cs * $e[$j-1]; - } - if ($wantv) { - for ($i = 0; $i < $this->n; ++$i) { - $t = $cs * $this->V[$i][$j] + $sn * $this->V[$i][$p-1]; - $this->V[$i][$p-1] = -$sn * $this->V[$i][$j] + $cs * $this->V[$i][$p-1]; - $this->V[$i][$j] = $t; - } - } - } - break; - // Split at negligible s(k). - case 2: - $f = $e[$k-1]; - $e[$k-1] = 0.0; - for ($j = $k; $j < $p; ++$j) { - $t = hypo($this->s[$j], $f); - $cs = $this->s[$j] / $t; - $sn = $f / $t; - $this->s[$j] = $t; - $f = -$sn * $e[$j]; - $e[$j] = $cs * $e[$j]; - if ($wantu) { - for ($i = 0; $i < $this->m; ++$i) { - $t = $cs * $this->U[$i][$j] + $sn * $this->U[$i][$k-1]; - $this->U[$i][$k-1] = -$sn * $this->U[$i][$j] + $cs * $this->U[$i][$k-1]; - $this->U[$i][$j] = $t; - } - } - } - break; - // Perform one qr step. - case 3: - // Calculate the shift. - $scale = max(max(max(max( - abs($this->s[$p-1]),abs($this->s[$p-2])),abs($e[$p-2])), - abs($this->s[$k])), abs($e[$k])); - $sp = $this->s[$p-1] / $scale; - $spm1 = $this->s[$p-2] / $scale; - $epm1 = $e[$p-2] / $scale; - $sk = $this->s[$k] / $scale; - $ek = $e[$k] / $scale; - $b = (($spm1 + $sp) * ($spm1 - $sp) + $epm1 * $epm1) / 2.0; - $c = ($sp * $epm1) * ($sp * $epm1); - $shift = 0.0; - if (($b != 0.0) || ($c != 0.0)) { - $shift = sqrt($b * $b + $c); - if ($b < 0.0) { - $shift = -$shift; - } - $shift = $c / ($b + $shift); - } - $f = ($sk + $sp) * ($sk - $sp) + $shift; - $g = $sk * $ek; - // Chase zeros. - for ($j = $k; $j < $p-1; ++$j) { - $t = hypo($f,$g); - $cs = $f/$t; - $sn = $g/$t; - if ($j != $k) { - $e[$j-1] = $t; - } - $f = $cs * $this->s[$j] + $sn * $e[$j]; - $e[$j] = $cs * $e[$j] - $sn * $this->s[$j]; - $g = $sn * $this->s[$j+1]; - $this->s[$j+1] = $cs * $this->s[$j+1]; - if ($wantv) { - for ($i = 0; $i < $this->n; ++$i) { - $t = $cs * $this->V[$i][$j] + $sn * $this->V[$i][$j+1]; - $this->V[$i][$j+1] = -$sn * $this->V[$i][$j] + $cs * $this->V[$i][$j+1]; - $this->V[$i][$j] = $t; - } - } - $t = hypo($f,$g); - $cs = $f/$t; - $sn = $g/$t; - $this->s[$j] = $t; - $f = $cs * $e[$j] + $sn * $this->s[$j+1]; - $this->s[$j+1] = -$sn * $e[$j] + $cs * $this->s[$j+1]; - $g = $sn * $e[$j+1]; - $e[$j+1] = $cs * $e[$j+1]; - if ($wantu && ($j < $this->m - 1)) { - for ($i = 0; $i < $this->m; ++$i) { - $t = $cs * $this->U[$i][$j] + $sn * $this->U[$i][$j+1]; - $this->U[$i][$j+1] = -$sn * $this->U[$i][$j] + $cs * $this->U[$i][$j+1]; - $this->U[$i][$j] = $t; - } - } - } - $e[$p-2] = $f; - $iter = $iter + 1; - break; - // Convergence. - case 4: - // Make the singular values positive. - if ($this->s[$k] <= 0.0) { - $this->s[$k] = ($this->s[$k] < 0.0 ? -$this->s[$k] : 0.0); - if ($wantv) { - for ($i = 0; $i <= $pp; ++$i) { - $this->V[$i][$k] = -$this->V[$i][$k]; - } - } - } - // Order the singular values. - while ($k < $pp) { - if ($this->s[$k] >= $this->s[$k+1]) { - break; - } - $t = $this->s[$k]; - $this->s[$k] = $this->s[$k+1]; - $this->s[$k+1] = $t; - if ($wantv AND ($k < $this->n - 1)) { - for ($i = 0; $i < $this->n; ++$i) { - $t = $this->V[$i][$k+1]; - $this->V[$i][$k+1] = $this->V[$i][$k]; - $this->V[$i][$k] = $t; - } - } - if ($wantu AND ($k < $this->m-1)) { - for ($i = 0; $i < $this->m; ++$i) { - $t = $this->U[$i][$k+1]; - $this->U[$i][$k+1] = $this->U[$i][$k]; - $this->U[$i][$k] = $t; - } - } - ++$k; - } - $iter = 0; - --$p; - break; - } // end switch - } // end while - - } // end constructor - - - /** - * Return the left singular vectors - * - * @access public - * @return U - */ - public function getU() { - return new Matrix($this->U, $this->m, min($this->m + 1, $this->n)); - } - - - /** - * Return the right singular vectors - * - * @access public - * @return V - */ - public function getV() { - return new Matrix($this->V); - } - - - /** - * Return the one-dimensional array of singular values - * - * @access public - * @return diagonal of S. - */ - public function getSingularValues() { - return $this->s; - } - - - /** - * Return the diagonal matrix of singular values - * - * @access public - * @return S - */ - public function getS() { - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - $S[$i][$j] = 0.0; - } - $S[$i][$i] = $this->s[$i]; - } - return new Matrix($S); - } - - - /** - * Two norm - * - * @access public - * @return max(S) - */ - public function norm2() { - return $this->s[0]; - } - - - /** - * Two norm condition number - * - * @access public - * @return max(S)/min(S) - */ - public function cond() { - return $this->s[0] / $this->s[min($this->m, $this->n) - 1]; - } - - - /** - * Effective numerical matrix rank - * - * @access public - * @return Number of nonnegligible singular values. - */ - public function rank() { - $eps = pow(2.0, -52.0); - $tol = max($this->m, $this->n) * $this->s[0] * $eps; - $r = 0; - for ($i = 0; $i < count($this->s); ++$i) { - if ($this->s[$i] > $tol) { - ++$r; - } - } - return $r; - } - -} // class SingularValueDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/Error.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/Error.php deleted file mode 100644 index e73252b3d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/Error.php +++ /dev/null @@ -1,82 +0,0 @@ -<?php -/** - * @package JAMA - * - * Error handling - * @author Michael Bommarito - * @version 01292005 - */ - -//Language constant -define('JAMALANG', 'EN'); - - -//All errors may be defined by the following format: -//define('ExceptionName', N); -//$error['lang'][ExceptionName] = 'Error message'; -$error = array(); - -/* -I've used Babelfish and a little poor knowledge of Romance/Germanic languages for the translations here. -Feel free to correct anything that looks amiss to you. -*/ - -define('PolymorphicArgumentException', -1); -$error['EN'][PolymorphicArgumentException] = "Invalid argument pattern for polymorphic function."; -$error['FR'][PolymorphicArgumentException] = "Modèle inadmissible d'argument pour la fonction polymorphe.". -$error['DE'][PolymorphicArgumentException] = "Unzulässiges Argumentmuster für polymorphe Funktion."; - -define('ArgumentTypeException', -2); -$error['EN'][ArgumentTypeException] = "Invalid argument type."; -$error['FR'][ArgumentTypeException] = "Type inadmissible d'argument."; -$error['DE'][ArgumentTypeException] = "Unzulässige Argumentart."; - -define('ArgumentBoundsException', -3); -$error['EN'][ArgumentBoundsException] = "Invalid argument range."; -$error['FR'][ArgumentBoundsException] = "Gamme inadmissible d'argument."; -$error['DE'][ArgumentBoundsException] = "Unzulässige Argumentstrecke."; - -define('MatrixDimensionException', -4); -$error['EN'][MatrixDimensionException] = "Matrix dimensions are not equal."; -$error['FR'][MatrixDimensionException] = "Les dimensions de Matrix ne sont pas égales."; -$error['DE'][MatrixDimensionException] = "Matrixmaße sind nicht gleich."; - -define('PrecisionLossException', -5); -$error['EN'][PrecisionLossException] = "Significant precision loss detected."; -$error['FR'][PrecisionLossException] = "Perte significative de précision détectée."; -$error['DE'][PrecisionLossException] = "Bedeutender Präzision Verlust ermittelte."; - -define('MatrixSPDException', -6); -$error['EN'][MatrixSPDException] = "Can only perform operation on symmetric positive definite matrix."; -$error['FR'][MatrixSPDException] = "Perte significative de précision détectée."; -$error['DE'][MatrixSPDException] = "Bedeutender Präzision Verlust ermittelte."; - -define('MatrixSingularException', -7); -$error['EN'][MatrixSingularException] = "Can only perform operation on singular matrix."; - -define('MatrixRankException', -8); -$error['EN'][MatrixRankException] = "Can only perform operation on full-rank matrix."; - -define('ArrayLengthException', -9); -$error['EN'][ArrayLengthException] = "Array length must be a multiple of m."; - -define('RowLengthException', -10); -$error['EN'][RowLengthException] = "All rows must have the same length."; - -/** - * Custom error handler - * @param int $num Error number - */ -function JAMAError($errorNumber = null) { - global $error; - - if (isset($errorNumber)) { - if (isset($error[JAMALANG][$errorNumber])) { - return $error[JAMALANG][$errorNumber]; - } else { - return $error['EN'][$errorNumber]; - } - } else { - return ("Invalid argument to JAMAError()"); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/Maths.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/Maths.php deleted file mode 100644 index aa09a8bbb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/Maths.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php -/** - * @package JAMA - * - * Pythagorean Theorem: - * - * a = 3 - * b = 4 - * r = sqrt(square(a) + square(b)) - * r = 5 - * - * r = sqrt(a^2 + b^2) without under/overflow. - */ -function hypo($a, $b) { - if (abs($a) > abs($b)) { - $r = $b / $a; - $r = abs($a) * sqrt(1 + $r * $r); - } elseif ($b != 0) { - $r = $a / $b; - $r = abs($b) * sqrt(1 + $r * $r); - } else { - $r = 0.0; - } - return $r; -} // function hypo() - - -/** - * Mike Bommarito's version. - * Compute n-dimensional hyotheneuse. - * -function hypot() { - $s = 0; - foreach (func_get_args() as $d) { - if (is_numeric($d)) { - $s += pow($d, 2); - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(ArgumentTypeException)); - } - } - return sqrt($s); -} -*/ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/JAMA/utils/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE.php deleted file mode 100644 index 9796282a8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE.php +++ /dev/null @@ -1,531 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: OLE.php,v 1.13 2007/03/07 14:38:25 schmidt Exp $ - - -/** -* Array for storing OLE instances that are accessed from -* OLE_ChainedBlockStream::stream_open(). -* @var array -*/ -$GLOBALS['_OLE_INSTANCES'] = array(); - -/** -* OLE package base class. -* -* @author Xavier Noguer <xnoguer@php.net> -* @author Christian Schmidt <schmidt@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE -{ - const OLE_PPS_TYPE_ROOT = 5; - const OLE_PPS_TYPE_DIR = 1; - const OLE_PPS_TYPE_FILE = 2; - const OLE_DATA_SIZE_SMALL = 0x1000; - const OLE_LONG_INT_SIZE = 4; - const OLE_PPS_SIZE = 0x80; - - /** - * The file handle for reading an OLE container - * @var resource - */ - public $_file_handle; - - /** - * Array of PPS's found on the OLE container - * @var array - */ - public $_list = array(); - - /** - * Root directory of OLE container - * @var OLE_PPS_Root - */ - public $root; - - /** - * Big Block Allocation Table - * @var array (blockId => nextBlockId) - */ - public $bbat; - - /** - * Short Block Allocation Table - * @var array (blockId => nextBlockId) - */ - public $sbat; - - /** - * Size of big blocks. This is usually 512. - * @var int number of octets per block. - */ - public $bigBlockSize; - - /** - * Size of small blocks. This is usually 64. - * @var int number of octets per block - */ - public $smallBlockSize; - - /** - * Reads an OLE container from the contents of the file given. - * - * @acces public - * @param string $file - * @return mixed true on success, PEAR_Error on failure - */ - public function read($file) - { - $fh = fopen($file, "r"); - if (!$fh) { - throw new PHPExcel_Reader_Exception("Can't open file $file"); - } - $this->_file_handle = $fh; - - $signature = fread($fh, 8); - if ("\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1" != $signature) { - throw new PHPExcel_Reader_Exception("File doesn't seem to be an OLE container."); - } - fseek($fh, 28); - if (fread($fh, 2) != "\xFE\xFF") { - // This shouldn't be a problem in practice - throw new PHPExcel_Reader_Exception("Only Little-Endian encoding is supported."); - } - // Size of blocks and short blocks in bytes - $this->bigBlockSize = pow(2, self::_readInt2($fh)); - $this->smallBlockSize = pow(2, self::_readInt2($fh)); - - // Skip UID, revision number and version number - fseek($fh, 44); - // Number of blocks in Big Block Allocation Table - $bbatBlockCount = self::_readInt4($fh); - - // Root chain 1st block - $directoryFirstBlockId = self::_readInt4($fh); - - // Skip unused bytes - fseek($fh, 56); - // Streams shorter than this are stored using small blocks - $this->bigBlockThreshold = self::_readInt4($fh); - // Block id of first sector in Short Block Allocation Table - $sbatFirstBlockId = self::_readInt4($fh); - // Number of blocks in Short Block Allocation Table - $sbbatBlockCount = self::_readInt4($fh); - // Block id of first sector in Master Block Allocation Table - $mbatFirstBlockId = self::_readInt4($fh); - // Number of blocks in Master Block Allocation Table - $mbbatBlockCount = self::_readInt4($fh); - $this->bbat = array(); - - // Remaining 4 * 109 bytes of current block is beginning of Master - // Block Allocation Table - $mbatBlocks = array(); - for ($i = 0; $i < 109; ++$i) { - $mbatBlocks[] = self::_readInt4($fh); - } - - // Read rest of Master Block Allocation Table (if any is left) - $pos = $this->_getBlockOffset($mbatFirstBlockId); - for ($i = 0; $i < $mbbatBlockCount; ++$i) { - fseek($fh, $pos); - for ($j = 0; $j < $this->bigBlockSize / 4 - 1; ++$j) { - $mbatBlocks[] = self::_readInt4($fh); - } - // Last block id in each block points to next block - $pos = $this->_getBlockOffset(self::_readInt4($fh)); - } - - // Read Big Block Allocation Table according to chain specified by - // $mbatBlocks - for ($i = 0; $i < $bbatBlockCount; ++$i) { - $pos = $this->_getBlockOffset($mbatBlocks[$i]); - fseek($fh, $pos); - for ($j = 0 ; $j < $this->bigBlockSize / 4; ++$j) { - $this->bbat[] = self::_readInt4($fh); - } - } - - // Read short block allocation table (SBAT) - $this->sbat = array(); - $shortBlockCount = $sbbatBlockCount * $this->bigBlockSize / 4; - $sbatFh = $this->getStream($sbatFirstBlockId); - for ($blockId = 0; $blockId < $shortBlockCount; ++$blockId) { - $this->sbat[$blockId] = self::_readInt4($sbatFh); - } - fclose($sbatFh); - - $this->_readPpsWks($directoryFirstBlockId); - - return true; - } - - /** - * @param int block id - * @param int byte offset from beginning of file - * @access public - */ - public function _getBlockOffset($blockId) - { - return 512 + $blockId * $this->bigBlockSize; - } - - /** - * Returns a stream for use with fread() etc. External callers should - * use PHPExcel_Shared_OLE_PPS_File::getStream(). - * @param int|PPS block id or PPS - * @return resource read-only stream - */ - public function getStream($blockIdOrPps) - { - static $isRegistered = false; - if (!$isRegistered) { - stream_wrapper_register('ole-chainedblockstream', - 'PHPExcel_Shared_OLE_ChainedBlockStream'); - $isRegistered = true; - } - - // Store current instance in global array, so that it can be accessed - // in OLE_ChainedBlockStream::stream_open(). - // Object is removed from self::$instances in OLE_Stream::close(). - $GLOBALS['_OLE_INSTANCES'][] = $this; - $instanceId = end(array_keys($GLOBALS['_OLE_INSTANCES'])); - - $path = 'ole-chainedblockstream://oleInstanceId=' . $instanceId; - if ($blockIdOrPps instanceof PHPExcel_Shared_OLE_PPS) { - $path .= '&blockId=' . $blockIdOrPps->_StartBlock; - $path .= '&size=' . $blockIdOrPps->Size; - } else { - $path .= '&blockId=' . $blockIdOrPps; - } - return fopen($path, 'r'); - } - - /** - * Reads a signed char. - * @param resource file handle - * @return int - * @access public - */ - private static function _readInt1($fh) - { - list(, $tmp) = unpack("c", fread($fh, 1)); - return $tmp; - } - - /** - * Reads an unsigned short (2 octets). - * @param resource file handle - * @return int - * @access public - */ - private static function _readInt2($fh) - { - list(, $tmp) = unpack("v", fread($fh, 2)); - return $tmp; - } - - /** - * Reads an unsigned long (4 octets). - * @param resource file handle - * @return int - * @access public - */ - private static function _readInt4($fh) - { - list(, $tmp) = unpack("V", fread($fh, 4)); - return $tmp; - } - - /** - * Gets information about all PPS's on the OLE container from the PPS WK's - * creates an OLE_PPS object for each one. - * - * @access public - * @param integer the block id of the first block - * @return mixed true on success, PEAR_Error on failure - */ - public function _readPpsWks($blockId) - { - $fh = $this->getStream($blockId); - for ($pos = 0; ; $pos += 128) { - fseek($fh, $pos, SEEK_SET); - $nameUtf16 = fread($fh, 64); - $nameLength = self::_readInt2($fh); - $nameUtf16 = substr($nameUtf16, 0, $nameLength - 2); - // Simple conversion from UTF-16LE to ISO-8859-1 - $name = str_replace("\x00", "", $nameUtf16); - $type = self::_readInt1($fh); - switch ($type) { - case self::OLE_PPS_TYPE_ROOT: - $pps = new PHPExcel_Shared_OLE_PPS_Root(null, null, array()); - $this->root = $pps; - break; - case self::OLE_PPS_TYPE_DIR: - $pps = new PHPExcel_Shared_OLE_PPS(null, null, null, null, null, - null, null, null, null, array()); - break; - case self::OLE_PPS_TYPE_FILE: - $pps = new PHPExcel_Shared_OLE_PPS_File($name); - break; - default: - continue; - } - fseek($fh, 1, SEEK_CUR); - $pps->Type = $type; - $pps->Name = $name; - $pps->PrevPps = self::_readInt4($fh); - $pps->NextPps = self::_readInt4($fh); - $pps->DirPps = self::_readInt4($fh); - fseek($fh, 20, SEEK_CUR); - $pps->Time1st = self::OLE2LocalDate(fread($fh, 8)); - $pps->Time2nd = self::OLE2LocalDate(fread($fh, 8)); - $pps->_StartBlock = self::_readInt4($fh); - $pps->Size = self::_readInt4($fh); - $pps->No = count($this->_list); - $this->_list[] = $pps; - - // check if the PPS tree (starting from root) is complete - if (isset($this->root) && - $this->_ppsTreeComplete($this->root->No)) { - - break; - } - } - fclose($fh); - - // Initialize $pps->children on directories - foreach ($this->_list as $pps) { - if ($pps->Type == self::OLE_PPS_TYPE_DIR || $pps->Type == self::OLE_PPS_TYPE_ROOT) { - $nos = array($pps->DirPps); - $pps->children = array(); - while ($nos) { - $no = array_pop($nos); - if ($no != -1) { - $childPps = $this->_list[$no]; - $nos[] = $childPps->PrevPps; - $nos[] = $childPps->NextPps; - $pps->children[] = $childPps; - } - } - } - } - - return true; - } - - /** - * It checks whether the PPS tree is complete (all PPS's read) - * starting with the given PPS (not necessarily root) - * - * @access public - * @param integer $index The index of the PPS from which we are checking - * @return boolean Whether the PPS tree for the given PPS is complete - */ - public function _ppsTreeComplete($index) - { - return isset($this->_list[$index]) && - ($pps = $this->_list[$index]) && - ($pps->PrevPps == -1 || - $this->_ppsTreeComplete($pps->PrevPps)) && - ($pps->NextPps == -1 || - $this->_ppsTreeComplete($pps->NextPps)) && - ($pps->DirPps == -1 || - $this->_ppsTreeComplete($pps->DirPps)); - } - - /** - * Checks whether a PPS is a File PPS or not. - * If there is no PPS for the index given, it will return false. - * - * @access public - * @param integer $index The index for the PPS - * @return bool true if it's a File PPS, false otherwise - */ - public function isFile($index) - { - if (isset($this->_list[$index])) { - return ($this->_list[$index]->Type == self::OLE_PPS_TYPE_FILE); - } - return false; - } - - /** - * Checks whether a PPS is a Root PPS or not. - * If there is no PPS for the index given, it will return false. - * - * @access public - * @param integer $index The index for the PPS. - * @return bool true if it's a Root PPS, false otherwise - */ - public function isRoot($index) - { - if (isset($this->_list[$index])) { - return ($this->_list[$index]->Type == self::OLE_PPS_TYPE_ROOT); - } - return false; - } - - /** - * Gives the total number of PPS's found in the OLE container. - * - * @access public - * @return integer The total number of PPS's found in the OLE container - */ - public function ppsTotal() - { - return count($this->_list); - } - - /** - * Gets data from a PPS - * If there is no PPS for the index given, it will return an empty string. - * - * @access public - * @param integer $index The index for the PPS - * @param integer $position The position from which to start reading - * (relative to the PPS) - * @param integer $length The amount of bytes to read (at most) - * @return string The binary string containing the data requested - * @see OLE_PPS_File::getStream() - */ - public function getData($index, $position, $length) - { - // if position is not valid return empty string - if (!isset($this->_list[$index]) || ($position >= $this->_list[$index]->Size) || ($position < 0)) { - return ''; - } - $fh = $this->getStream($this->_list[$index]); - $data = stream_get_contents($fh, $length, $position); - fclose($fh); - return $data; - } - - /** - * Gets the data length from a PPS - * If there is no PPS for the index given, it will return 0. - * - * @access public - * @param integer $index The index for the PPS - * @return integer The amount of bytes in data the PPS has - */ - public function getDataLength($index) - { - if (isset($this->_list[$index])) { - return $this->_list[$index]->Size; - } - return 0; - } - - /** - * Utility function to transform ASCII text to Unicode - * - * @access public - * @static - * @param string $ascii The ASCII string to transform - * @return string The string in Unicode - */ - public static function Asc2Ucs($ascii) - { - $rawname = ''; - for ($i = 0; $i < strlen($ascii); ++$i) { - $rawname .= $ascii{$i} . "\x00"; - } - return $rawname; - } - - /** - * Utility function - * Returns a string for the OLE container with the date given - * - * @access public - * @static - * @param integer $date A timestamp - * @return string The string for the OLE container - */ - public static function LocalDate2OLE($date = null) - { - if (!isset($date)) { - return "\x00\x00\x00\x00\x00\x00\x00\x00"; - } - - // factor used for separating numbers into 4 bytes parts - $factor = pow(2, 32); - - // days from 1-1-1601 until the beggining of UNIX era - $days = 134774; - // calculate seconds - $big_date = $days*24*3600 + gmmktime(date("H",$date),date("i",$date),date("s",$date), - date("m",$date),date("d",$date),date("Y",$date)); - // multiply just to make MS happy - $big_date *= 10000000; - - $high_part = floor($big_date / $factor); - // lower 4 bytes - $low_part = floor((($big_date / $factor) - $high_part) * $factor); - - // Make HEX string - $res = ''; - - for ($i = 0; $i < 4; ++$i) { - $hex = $low_part % 0x100; - $res .= pack('c', $hex); - $low_part /= 0x100; - } - for ($i = 0; $i < 4; ++$i) { - $hex = $high_part % 0x100; - $res .= pack('c', $hex); - $high_part /= 0x100; - } - return $res; - } - - /** - * Returns a timestamp from an OLE container's date - * - * @access public - * @static - * @param integer $string A binary string with the encoded date - * @return string The timestamp corresponding to the string - */ - public static function OLE2LocalDate($string) - { - if (strlen($string) != 8) { - return new PEAR_Error("Expecting 8 byte string"); - } - - // factor used for separating numbers into 4 bytes parts - $factor = pow(2,32); - list(, $high_part) = unpack('V', substr($string, 4, 4)); - list(, $low_part) = unpack('V', substr($string, 0, 4)); - - $big_date = ($high_part * $factor) + $low_part; - // translate to seconds - $big_date /= 10000000; - - // days from 1-1-1601 until the beggining of UNIX era - $days = 134774; - - // translate to seconds from beggining of UNIX era - $big_date -= $days * 24 * 3600; - return floor($big_date); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/ChainedBlockStream.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/ChainedBlockStream.php deleted file mode 100644 index 0736fc232..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/ChainedBlockStream.php +++ /dev/null @@ -1,222 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (C) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_OLE - * @copyright Copyright (c) 2006 - 2007 Christian Schmidt - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_OLE_ChainedBlockStream - * - * Stream wrapper for reading data stored in an OLE file. Implements methods - * for PHP's stream_wrapper_register(). For creating streams using this - * wrapper, use PHPExcel_Shared_OLE_PPS_File::getStream(). - * - * @category PHPExcel - * @package PHPExcel_Shared_OLE - */ -class PHPExcel_Shared_OLE_ChainedBlockStream -{ - /** - * The OLE container of the file that is being read. - * @var OLE - */ - public $ole; - - /** - * Parameters specified by fopen(). - * @var array - */ - public $params; - - /** - * The binary data of the file. - * @var string - */ - public $data; - - /** - * The file pointer. - * @var int byte offset - */ - public $pos; - - /** - * Implements support for fopen(). - * For creating streams using this wrapper, use OLE_PPS_File::getStream(). - * - * @param string $path resource name including scheme, e.g. - * ole-chainedblockstream://oleInstanceId=1 - * @param string $mode only "r" is supported - * @param int $options mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH - * @param string &$openedPath absolute path of the opened stream (out parameter) - * @return bool true on success - */ - public function stream_open($path, $mode, $options, &$openedPath) - { - if ($mode != 'r') { - if ($options & STREAM_REPORT_ERRORS) { - trigger_error('Only reading is supported', E_USER_WARNING); - } - return false; - } - - // 25 is length of "ole-chainedblockstream://" - parse_str(substr($path, 25), $this->params); - if (!isset($this->params['oleInstanceId'], - $this->params['blockId'], - $GLOBALS['_OLE_INSTANCES'][$this->params['oleInstanceId']])) { - - if ($options & STREAM_REPORT_ERRORS) { - trigger_error('OLE stream not found', E_USER_WARNING); - } - return false; - } - $this->ole = $GLOBALS['_OLE_INSTANCES'][$this->params['oleInstanceId']]; - - $blockId = $this->params['blockId']; - $this->data = ''; - if (isset($this->params['size']) && - $this->params['size'] < $this->ole->bigBlockThreshold && - $blockId != $this->ole->root->_StartBlock) { - - // Block id refers to small blocks - $rootPos = $this->ole->_getBlockOffset($this->ole->root->_StartBlock); - while ($blockId != -2) { - $pos = $rootPos + $blockId * $this->ole->bigBlockSize; - $blockId = $this->ole->sbat[$blockId]; - fseek($this->ole->_file_handle, $pos); - $this->data .= fread($this->ole->_file_handle, $this->ole->bigBlockSize); - } - } else { - // Block id refers to big blocks - while ($blockId != -2) { - $pos = $this->ole->_getBlockOffset($blockId); - fseek($this->ole->_file_handle, $pos); - $this->data .= fread($this->ole->_file_handle, $this->ole->bigBlockSize); - $blockId = $this->ole->bbat[$blockId]; - } - } - if (isset($this->params['size'])) { - $this->data = substr($this->data, 0, $this->params['size']); - } - - if ($options & STREAM_USE_PATH) { - $openedPath = $path; - } - - return true; - } - - /** - * Implements support for fclose(). - * - */ - public function stream_close() - { - $this->ole = null; - unset($GLOBALS['_OLE_INSTANCES']); - } - - /** - * Implements support for fread(), fgets() etc. - * - * @param int $count maximum number of bytes to read - * @return string - */ - public function stream_read($count) - { - if ($this->stream_eof()) { - return false; - } - $s = substr($this->data, $this->pos, $count); - $this->pos += $count; - return $s; - } - - /** - * Implements support for feof(). - * - * @return bool TRUE if the file pointer is at EOF; otherwise FALSE - */ - public function stream_eof() - { - return $this->pos >= strlen($this->data); - } - - /** - * Returns the position of the file pointer, i.e. its offset into the file - * stream. Implements support for ftell(). - * - * @return int - */ - public function stream_tell() - { - return $this->pos; - } - - /** - * Implements support for fseek(). - * - * @param int $offset byte offset - * @param int $whence SEEK_SET, SEEK_CUR or SEEK_END - * @return bool - */ - public function stream_seek($offset, $whence) - { - if ($whence == SEEK_SET && $offset >= 0) { - $this->pos = $offset; - } elseif ($whence == SEEK_CUR && -$offset <= $this->pos) { - $this->pos += $offset; - } elseif ($whence == SEEK_END && -$offset <= sizeof($this->data)) { - $this->pos = strlen($this->data) + $offset; - } else { - return false; - } - return true; - } - - /** - * Implements support for fstat(). Currently the only supported field is - * "size". - * @return array - */ - public function stream_stat() - { - return array( - 'size' => strlen($this->data), - ); - } - - // Methods used by stream_wrapper_register() that are not implemented: - // bool stream_flush ( void ) - // int stream_write ( string data ) - // bool rename ( string path_from, string path_to ) - // bool mkdir ( string path, int mode, int options ) - // bool rmdir ( string path, int options ) - // bool dir_opendir ( string path, int options ) - // array url_stat ( string path, int flags ) - // string dir_readdir ( void ) - // bool dir_rewinddir ( void ) - // bool dir_closedir ( void ) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS.php deleted file mode 100644 index 4db0ae4e2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS.php +++ /dev/null @@ -1,230 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: PPS.php,v 1.7 2007/02/13 21:00:42 schmidt Exp $ - - -/** -* Class for creating PPS's for OLE containers -* -* @author Xavier Noguer <xnoguer@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE_PPS -{ - /** - * The PPS index - * @var integer - */ - public $No; - - /** - * The PPS name (in Unicode) - * @var string - */ - public $Name; - - /** - * The PPS type. Dir, Root or File - * @var integer - */ - public $Type; - - /** - * The index of the previous PPS - * @var integer - */ - public $PrevPps; - - /** - * The index of the next PPS - * @var integer - */ - public $NextPps; - - /** - * The index of it's first child if this is a Dir or Root PPS - * @var integer - */ - public $DirPps; - - /** - * A timestamp - * @var integer - */ - public $Time1st; - - /** - * A timestamp - * @var integer - */ - public $Time2nd; - - /** - * Starting block (small or big) for this PPS's data inside the container - * @var integer - */ - public $_StartBlock; - - /** - * The size of the PPS's data (in bytes) - * @var integer - */ - public $Size; - - /** - * The PPS's data (only used if it's not using a temporary file) - * @var string - */ - public $_data; - - /** - * Array of child PPS's (only used by Root and Dir PPS's) - * @var array - */ - public $children = array(); - - /** - * Pointer to OLE container - * @var OLE - */ - public $ole; - - /** - * The constructor - * - * @access public - * @param integer $No The PPS index - * @param string $name The PPS name - * @param integer $type The PPS type. Dir, Root or File - * @param integer $prev The index of the previous PPS - * @param integer $next The index of the next PPS - * @param integer $dir The index of it's first child if this is a Dir or Root PPS - * @param integer $time_1st A timestamp - * @param integer $time_2nd A timestamp - * @param string $data The (usually binary) source data of the PPS - * @param array $children Array containing children PPS for this PPS - */ - public function __construct($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children) - { - $this->No = $No; - $this->Name = $name; - $this->Type = $type; - $this->PrevPps = $prev; - $this->NextPps = $next; - $this->DirPps = $dir; - $this->Time1st = $time_1st; - $this->Time2nd = $time_2nd; - $this->_data = $data; - $this->children = $children; - if ($data != '') { - $this->Size = strlen($data); - } else { - $this->Size = 0; - } - } - - /** - * Returns the amount of data saved for this PPS - * - * @access public - * @return integer The amount of data (in bytes) - */ - public function _DataLen() - { - if (!isset($this->_data)) { - return 0; - } - //if (isset($this->_PPS_FILE)) { - // fseek($this->_PPS_FILE, 0); - // $stats = fstat($this->_PPS_FILE); - // return $stats[7]; - //} else { - return strlen($this->_data); - //} - } - - /** - * Returns a string with the PPS's WK (What is a WK?) - * - * @access public - * @return string The binary string - */ - public function _getPpsWk() - { - $ret = str_pad($this->Name,64,"\x00"); - - $ret .= pack("v", strlen($this->Name) + 2) // 66 - . pack("c", $this->Type) // 67 - . pack("c", 0x00) //UK // 68 - . pack("V", $this->PrevPps) //Prev // 72 - . pack("V", $this->NextPps) //Next // 76 - . pack("V", $this->DirPps) //Dir // 80 - . "\x00\x09\x02\x00" // 84 - . "\x00\x00\x00\x00" // 88 - . "\xc0\x00\x00\x00" // 92 - . "\x00\x00\x00\x46" // 96 // Seems to be ok only for Root - . "\x00\x00\x00\x00" // 100 - . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time1st) // 108 - . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time2nd) // 116 - . pack("V", isset($this->_StartBlock)? - $this->_StartBlock:0) // 120 - . pack("V", $this->Size) // 124 - . pack("V", 0); // 128 - return $ret; - } - - /** - * Updates index and pointers to previous, next and children PPS's for this - * PPS. I don't think it'll work with Dir PPS's. - * - * @access public - * @param array &$raList Reference to the array of PPS's for the whole OLE - * container - * @return integer The index for this PPS - */ - public static function _savePpsSetPnt(&$raList, $to_save, $depth = 0) - { - if ( !is_array($to_save) || (empty($to_save)) ) { - return 0xFFFFFFFF; - } elseif( count($to_save) == 1 ) { - $cnt = count($raList); - // If the first entry, it's the root... Don't clone it! - $raList[$cnt] = ( $depth == 0 ) ? $to_save[0] : clone $to_save[0]; - $raList[$cnt]->No = $cnt; - $raList[$cnt]->PrevPps = 0xFFFFFFFF; - $raList[$cnt]->NextPps = 0xFFFFFFFF; - $raList[$cnt]->DirPps = self::_savePpsSetPnt($raList, @$raList[$cnt]->children, $depth++); - } else { - $iPos = floor(count($to_save) / 2); - $aPrev = array_slice($to_save, 0, $iPos); - $aNext = array_slice($to_save, $iPos + 1); - $cnt = count($raList); - // If the first entry, it's the root... Don't clone it! - $raList[$cnt] = ( $depth == 0 ) ? $to_save[$iPos] : clone $to_save[$iPos]; - $raList[$cnt]->No = $cnt; - $raList[$cnt]->PrevPps = self::_savePpsSetPnt($raList, $aPrev, $depth++); - $raList[$cnt]->NextPps = self::_savePpsSetPnt($raList, $aNext, $depth++); - $raList[$cnt]->DirPps = self::_savePpsSetPnt($raList, @$raList[$cnt]->children, $depth++); - - } - return $cnt; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/File.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/File.php deleted file mode 100644 index f061f568c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/File.php +++ /dev/null @@ -1,84 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: File.php,v 1.11 2007/02/13 21:00:42 schmidt Exp $ - - -/** -* Class for creating File PPS's for OLE containers -* -* @author Xavier Noguer <xnoguer@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE_PPS_File extends PHPExcel_Shared_OLE_PPS - { - /** - * The constructor - * - * @access public - * @param string $name The name of the file (in Unicode) - * @see OLE::Asc2Ucs() - */ - public function __construct($name) - { - parent::__construct( - null, - $name, - PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE, - null, - null, - null, - null, - null, - '', - array()); - } - - /** - * Initialization method. Has to be called right after OLE_PPS_File(). - * - * @access public - * @return mixed true on success - */ - public function init() - { - return true; - } - - /** - * Append data to PPS - * - * @access public - * @param string $data The data to append - */ - public function append($data) - { - $this->_data .= $data; - } - - /** - * Returns a stream for reading this file using fread() etc. - * @return resource a read-only stream - */ - public function getStream() - { - $this->ole->getStream($this); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/Root.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/Root.php deleted file mode 100644 index eb929d205..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/Root.php +++ /dev/null @@ -1,467 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: Root.php,v 1.9 2005/04/23 21:53:49 dufuz Exp $ - - -/** -* Class for creating Root PPS's for OLE containers -* -* @author Xavier Noguer <xnoguer@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE_PPS_Root extends PHPExcel_Shared_OLE_PPS - { - - /** - * Directory for temporary files - * @var string - */ - protected $_tmp_dir = NULL; - - /** - * @param integer $time_1st A timestamp - * @param integer $time_2nd A timestamp - */ - public function __construct($time_1st, $time_2nd, $raChild) - { - $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir(); - - parent::__construct( - null, - PHPExcel_Shared_OLE::Asc2Ucs('Root Entry'), - PHPExcel_Shared_OLE::OLE_PPS_TYPE_ROOT, - null, - null, - null, - $time_1st, - $time_2nd, - null, - $raChild); - } - - /** - * Method for saving the whole OLE container (including files). - * In fact, if called with an empty argument (or '-'), it saves to a - * temporary file and then outputs it's contents to stdout. - * If a resource pointer to a stream created by fopen() is passed - * it will be used, but you have to close such stream by yourself. - * - * @param string|resource $filename The name of the file or stream where to save the OLE container. - * @access public - * @return mixed true on success - */ - public function save($filename) - { - // Initial Setting for saving - $this->_BIG_BLOCK_SIZE = pow(2, - ((isset($this->_BIG_BLOCK_SIZE))? self::_adjust2($this->_BIG_BLOCK_SIZE) : 9)); - $this->_SMALL_BLOCK_SIZE= pow(2, - ((isset($this->_SMALL_BLOCK_SIZE))? self::_adjust2($this->_SMALL_BLOCK_SIZE): 6)); - - if (is_resource($filename)) { - $this->_FILEH_ = $filename; - } else if ($filename == '-' || $filename == '') { - if ($this->_tmp_dir === NULL) - $this->_tmp_dir = PHPExcel_Shared_File::sys_get_temp_dir(); - $this->_tmp_filename = tempnam($this->_tmp_dir, "OLE_PPS_Root"); - $this->_FILEH_ = fopen($this->_tmp_filename,"w+b"); - if ($this->_FILEH_ == false) { - throw new PHPExcel_Writer_Exception("Can't create temporary file."); - } - } else { - $this->_FILEH_ = fopen($filename, "wb"); - } - if ($this->_FILEH_ == false) { - throw new PHPExcel_Writer_Exception("Can't open $filename. It may be in use or protected."); - } - // Make an array of PPS's (for Save) - $aList = array(); - PHPExcel_Shared_OLE_PPS::_savePpsSetPnt($aList, array($this)); - // calculate values for header - list($iSBDcnt, $iBBcnt, $iPPScnt) = $this->_calcSize($aList); //, $rhInfo); - // Save Header - $this->_saveHeader($iSBDcnt, $iBBcnt, $iPPScnt); - - // Make Small Data string (write SBD) - $this->_data = $this->_makeSmallData($aList); - - // Write BB - $this->_saveBigData($iSBDcnt, $aList); - // Write PPS - $this->_savePps($aList); - // Write Big Block Depot and BDList and Adding Header informations - $this->_saveBbd($iSBDcnt, $iBBcnt, $iPPScnt); - - if (!is_resource($filename)) { - fclose($this->_FILEH_); - } - - return true; - } - - /** - * Calculate some numbers - * - * @access public - * @param array $raList Reference to an array of PPS's - * @return array The array of numbers - */ - public function _calcSize(&$raList) - { - // Calculate Basic Setting - list($iSBDcnt, $iBBcnt, $iPPScnt) = array(0,0,0); - $iSmallLen = 0; - $iSBcnt = 0; - $iCount = count($raList); - for ($i = 0; $i < $iCount; ++$i) { - if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) { - $raList[$i]->Size = $raList[$i]->_DataLen(); - if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) { - $iSBcnt += floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE) - + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0); - } else { - $iBBcnt += (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) + - (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0)); - } - } - } - $iSmallLen = $iSBcnt * $this->_SMALL_BLOCK_SIZE; - $iSlCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE); - $iSBDcnt = floor($iSBcnt / $iSlCnt) + (($iSBcnt % $iSlCnt)? 1:0); - $iBBcnt += (floor($iSmallLen / $this->_BIG_BLOCK_SIZE) + - (( $iSmallLen % $this->_BIG_BLOCK_SIZE)? 1: 0)); - $iCnt = count($raList); - $iBdCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE; - $iPPScnt = (floor($iCnt/$iBdCnt) + (($iCnt % $iBdCnt)? 1: 0)); - - return array($iSBDcnt, $iBBcnt, $iPPScnt); - } - - /** - * Helper function for caculating a magic value for block sizes - * - * @access public - * @param integer $i2 The argument - * @see save() - * @return integer - */ - private static function _adjust2($i2) - { - $iWk = log($i2)/log(2); - return ($iWk > floor($iWk))? floor($iWk)+1:$iWk; - } - - /** - * Save OLE header - * - * @access public - * @param integer $iSBDcnt - * @param integer $iBBcnt - * @param integer $iPPScnt - */ - public function _saveHeader($iSBDcnt, $iBBcnt, $iPPScnt) - { - $FILE = $this->_FILEH_; - - // Calculate Basic Setting - $iBlCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - - $iBdExL = 0; - $iAll = $iBBcnt + $iPPScnt + $iSBDcnt; - $iAllW = $iAll; - $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0); - $iBdCnt = floor(($iAll + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0); - - // Calculate BD count - if ($iBdCnt > $i1stBdL) { - while (1) { - ++$iBdExL; - ++$iAllW; - $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0); - $iBdCnt = floor(($iAllW + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0); - if ($iBdCnt <= ($iBdExL*$iBlCnt+ $i1stBdL)) { - break; - } - } - } - - // Save Header - fwrite($FILE, - "\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1" - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . pack("v", 0x3b) - . pack("v", 0x03) - . pack("v", -2) - . pack("v", 9) - . pack("v", 6) - . pack("v", 0) - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . pack("V", $iBdCnt) - . pack("V", $iBBcnt+$iSBDcnt) //ROOT START - . pack("V", 0) - . pack("V", 0x1000) - . pack("V", $iSBDcnt ? 0 : -2) //Small Block Depot - . pack("V", $iSBDcnt) - ); - // Extra BDList Start, Count - if ($iBdCnt < $i1stBdL) { - fwrite($FILE, - pack("V", -2) // Extra BDList Start - . pack("V", 0) // Extra BDList Count - ); - } else { - fwrite($FILE, pack("V", $iAll+$iBdCnt) . pack("V", $iBdExL)); - } - - // BDList - for ($i = 0; $i < $i1stBdL && $i < $iBdCnt; ++$i) { - fwrite($FILE, pack("V", $iAll+$i)); - } - if ($i < $i1stBdL) { - $jB = $i1stBdL - $i; - for ($j = 0; $j < $jB; ++$j) { - fwrite($FILE, (pack("V", -1))); - } - } - } - - /** - * Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) - * - * @access public - * @param integer $iStBlk - * @param array &$raList Reference to array of PPS's - */ - public function _saveBigData($iStBlk, &$raList) - { - $FILE = $this->_FILEH_; - - // cycle through PPS's - $iCount = count($raList); - for ($i = 0; $i < $iCount; ++$i) { - if ($raList[$i]->Type != PHPExcel_Shared_OLE::OLE_PPS_TYPE_DIR) { - $raList[$i]->Size = $raList[$i]->_DataLen(); - if (($raList[$i]->Size >= PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) || - (($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_ROOT) && isset($raList[$i]->_data))) - { - // Write Data - //if (isset($raList[$i]->_PPS_FILE)) { - // $iLen = 0; - // fseek($raList[$i]->_PPS_FILE, 0); // To The Top - // while($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) { - // $iLen += strlen($sBuff); - // fwrite($FILE, $sBuff); - // } - //} else { - fwrite($FILE, $raList[$i]->_data); - //} - - if ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE) { - fwrite($FILE, str_repeat("\x00", $this->_BIG_BLOCK_SIZE - ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE))); - } - // Set For PPS - $raList[$i]->_StartBlock = $iStBlk; - $iStBlk += - (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) + - (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0)); - } - // Close file for each PPS, and unlink it - //if (isset($raList[$i]->_PPS_FILE)) { - // fclose($raList[$i]->_PPS_FILE); - // $raList[$i]->_PPS_FILE = null; - // unlink($raList[$i]->_tmp_filename); - //} - } - } - } - - /** - * get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) - * - * @access public - * @param array &$raList Reference to array of PPS's - */ - public function _makeSmallData(&$raList) - { - $sRes = ''; - $FILE = $this->_FILEH_; - $iSmBlk = 0; - - $iCount = count($raList); - for ($i = 0; $i < $iCount; ++$i) { - // Make SBD, small data string - if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) { - if ($raList[$i]->Size <= 0) { - continue; - } - if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) { - $iSmbCnt = floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE) - + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0); - // Add to SBD - $jB = $iSmbCnt - 1; - for ($j = 0; $j < $jB; ++$j) { - fwrite($FILE, pack("V", $j+$iSmBlk+1)); - } - fwrite($FILE, pack("V", -2)); - - //// Add to Data String(this will be written for RootEntry) - //if ($raList[$i]->_PPS_FILE) { - // fseek($raList[$i]->_PPS_FILE, 0); // To The Top - // while ($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) { - // $sRes .= $sBuff; - // } - //} else { - $sRes .= $raList[$i]->_data; - //} - if ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE) { - $sRes .= str_repeat("\x00",$this->_SMALL_BLOCK_SIZE - ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)); - } - // Set for PPS - $raList[$i]->_StartBlock = $iSmBlk; - $iSmBlk += $iSmbCnt; - } - } - } - $iSbCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE); - if ($iSmBlk % $iSbCnt) { - $iB = $iSbCnt - ($iSmBlk % $iSbCnt); - for ($i = 0; $i < $iB; ++$i) { - fwrite($FILE, pack("V", -1)); - } - } - return $sRes; - } - - /** - * Saves all the PPS's WKs - * - * @access public - * @param array $raList Reference to an array with all PPS's - */ - public function _savePps(&$raList) - { - // Save each PPS WK - $iC = count($raList); - for ($i = 0; $i < $iC; ++$i) { - fwrite($this->_FILEH_, $raList[$i]->_getPpsWk()); - } - // Adjust for Block - $iCnt = count($raList); - $iBCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE; - if ($iCnt % $iBCnt) { - fwrite($this->_FILEH_, str_repeat("\x00",($iBCnt - ($iCnt % $iBCnt)) * PHPExcel_Shared_OLE::OLE_PPS_SIZE)); - } - } - - /** - * Saving Big Block Depot - * - * @access public - * @param integer $iSbdSize - * @param integer $iBsize - * @param integer $iPpsCnt - */ - public function _saveBbd($iSbdSize, $iBsize, $iPpsCnt) - { - $FILE = $this->_FILEH_; - // Calculate Basic Setting - $iBbCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - - $iBdExL = 0; - $iAll = $iBsize + $iPpsCnt + $iSbdSize; - $iAllW = $iAll; - $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0); - $iBdCnt = floor(($iAll + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0); - // Calculate BD count - if ($iBdCnt >$i1stBdL) { - while (1) { - ++$iBdExL; - ++$iAllW; - $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0); - $iBdCnt = floor(($iAllW + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0); - if ($iBdCnt <= ($iBdExL*$iBbCnt+ $i1stBdL)) { - break; - } - } - } - - // Making BD - // Set for SBD - if ($iSbdSize > 0) { - for ($i = 0; $i < ($iSbdSize - 1); ++$i) { - fwrite($FILE, pack("V", $i+1)); - } - fwrite($FILE, pack("V", -2)); - } - // Set for B - for ($i = 0; $i < ($iBsize - 1); ++$i) { - fwrite($FILE, pack("V", $i+$iSbdSize+1)); - } - fwrite($FILE, pack("V", -2)); - - // Set for PPS - for ($i = 0; $i < ($iPpsCnt - 1); ++$i) { - fwrite($FILE, pack("V", $i+$iSbdSize+$iBsize+1)); - } - fwrite($FILE, pack("V", -2)); - // Set for BBD itself ( 0xFFFFFFFD : BBD) - for ($i = 0; $i < $iBdCnt; ++$i) { - fwrite($FILE, pack("V", 0xFFFFFFFD)); - } - // Set for ExtraBDList - for ($i = 0; $i < $iBdExL; ++$i) { - fwrite($FILE, pack("V", 0xFFFFFFFC)); - } - // Adjust for Block - if (($iAllW + $iBdCnt) % $iBbCnt) { - $iBlock = ($iBbCnt - (($iAllW + $iBdCnt) % $iBbCnt)); - for ($i = 0; $i < $iBlock; ++$i) { - fwrite($FILE, pack("V", -1)); - } - } - // Extra BDList - if ($iBdCnt > $i1stBdL) { - $iN=0; - $iNb=0; - for ($i = $i1stBdL;$i < $iBdCnt; $i++, ++$iN) { - if ($iN >= ($iBbCnt - 1)) { - $iN = 0; - ++$iNb; - fwrite($FILE, pack("V", $iAll+$iBdCnt+$iNb)); - } - fwrite($FILE, pack("V", $iBsize+$iSbdSize+$iPpsCnt+$i)); - } - if (($iBdCnt-$i1stBdL) % ($iBbCnt-1)) { - $iB = ($iBbCnt - 1) - (($iBdCnt - $i1stBdL) % ($iBbCnt - 1)); - for ($i = 0; $i < $iB; ++$i) { - fwrite($FILE, pack("V", -1)); - } - } - fwrite($FILE, pack("V", -2)); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/PPS/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLE/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLERead.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLERead.php deleted file mode 100644 index 261bdde58..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/OLERead.php +++ /dev/null @@ -1,317 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -defined('IDENTIFIER_OLE') || - define('IDENTIFIER_OLE', pack('CCCCCCCC', 0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1)); - -class PHPExcel_Shared_OLERead { - private $data = ''; - - // OLE identifier - const IDENTIFIER_OLE = IDENTIFIER_OLE; - - // Size of a sector = 512 bytes - const BIG_BLOCK_SIZE = 0x200; - - // Size of a short sector = 64 bytes - const SMALL_BLOCK_SIZE = 0x40; - - // Size of a directory entry always = 128 bytes - const PROPERTY_STORAGE_BLOCK_SIZE = 0x80; - - // Minimum size of a standard stream = 4096 bytes, streams smaller than this are stored as short streams - const SMALL_BLOCK_THRESHOLD = 0x1000; - - // header offsets - const NUM_BIG_BLOCK_DEPOT_BLOCKS_POS = 0x2c; - const ROOT_START_BLOCK_POS = 0x30; - const SMALL_BLOCK_DEPOT_BLOCK_POS = 0x3c; - const EXTENSION_BLOCK_POS = 0x44; - const NUM_EXTENSION_BLOCK_POS = 0x48; - const BIG_BLOCK_DEPOT_BLOCKS_POS = 0x4c; - - // property storage offsets (directory offsets) - const SIZE_OF_NAME_POS = 0x40; - const TYPE_POS = 0x42; - const START_BLOCK_POS = 0x74; - const SIZE_POS = 0x78; - - - - public $wrkbook = null; - public $summaryInformation = null; - public $documentSummaryInformation = null; - - - /** - * Read the file - * - * @param $sFileName string Filename - * @throws PHPExcel_Reader_Exception - */ - public function read($sFileName) - { - // Check if file exists and is readable - if(!is_readable($sFileName)) { - throw new PHPExcel_Reader_Exception("Could not open " . $sFileName . " for reading! File does not exist, or it is not readable."); - } - - // Get the file identifier - // Don't bother reading the whole file until we know it's a valid OLE file - $this->data = file_get_contents($sFileName, FALSE, NULL, 0, 8); - - // Check OLE identifier - if ($this->data != self::IDENTIFIER_OLE) { - throw new PHPExcel_Reader_Exception('The filename ' . $sFileName . ' is not recognised as an OLE file'); - } - - // Get the file data - $this->data = file_get_contents($sFileName); - - // Total number of sectors used for the SAT - $this->numBigBlockDepotBlocks = self::_GetInt4d($this->data, self::NUM_BIG_BLOCK_DEPOT_BLOCKS_POS); - - // SecID of the first sector of the directory stream - $this->rootStartBlock = self::_GetInt4d($this->data, self::ROOT_START_BLOCK_POS); - - // SecID of the first sector of the SSAT (or -2 if not extant) - $this->sbdStartBlock = self::_GetInt4d($this->data, self::SMALL_BLOCK_DEPOT_BLOCK_POS); - - // SecID of the first sector of the MSAT (or -2 if no additional sectors are used) - $this->extensionBlock = self::_GetInt4d($this->data, self::EXTENSION_BLOCK_POS); - - // Total number of sectors used by MSAT - $this->numExtensionBlocks = self::_GetInt4d($this->data, self::NUM_EXTENSION_BLOCK_POS); - - $bigBlockDepotBlocks = array(); - $pos = self::BIG_BLOCK_DEPOT_BLOCKS_POS; - - $bbdBlocks = $this->numBigBlockDepotBlocks; - - if ($this->numExtensionBlocks != 0) { - $bbdBlocks = (self::BIG_BLOCK_SIZE - self::BIG_BLOCK_DEPOT_BLOCKS_POS)/4; - } - - for ($i = 0; $i < $bbdBlocks; ++$i) { - $bigBlockDepotBlocks[$i] = self::_GetInt4d($this->data, $pos); - $pos += 4; - } - - for ($j = 0; $j < $this->numExtensionBlocks; ++$j) { - $pos = ($this->extensionBlock + 1) * self::BIG_BLOCK_SIZE; - $blocksToRead = min($this->numBigBlockDepotBlocks - $bbdBlocks, self::BIG_BLOCK_SIZE / 4 - 1); - - for ($i = $bbdBlocks; $i < $bbdBlocks + $blocksToRead; ++$i) { - $bigBlockDepotBlocks[$i] = self::_GetInt4d($this->data, $pos); - $pos += 4; - } - - $bbdBlocks += $blocksToRead; - if ($bbdBlocks < $this->numBigBlockDepotBlocks) { - $this->extensionBlock = self::_GetInt4d($this->data, $pos); - } - } - - $pos = 0; - $this->bigBlockChain = ''; - $bbs = self::BIG_BLOCK_SIZE / 4; - for ($i = 0; $i < $this->numBigBlockDepotBlocks; ++$i) { - $pos = ($bigBlockDepotBlocks[$i] + 1) * self::BIG_BLOCK_SIZE; - - $this->bigBlockChain .= substr($this->data, $pos, 4*$bbs); - $pos += 4*$bbs; - } - - $pos = 0; - $sbdBlock = $this->sbdStartBlock; - $this->smallBlockChain = ''; - while ($sbdBlock != -2) { - $pos = ($sbdBlock + 1) * self::BIG_BLOCK_SIZE; - - $this->smallBlockChain .= substr($this->data, $pos, 4*$bbs); - $pos += 4*$bbs; - - $sbdBlock = self::_GetInt4d($this->bigBlockChain, $sbdBlock*4); - } - - // read the directory stream - $block = $this->rootStartBlock; - $this->entry = $this->_readData($block); - - $this->_readPropertySets(); - } - - /** - * Extract binary stream data - * - * @return string - */ - public function getStream($stream) - { - if ($stream === NULL) { - return null; - } - - $streamData = ''; - - if ($this->props[$stream]['size'] < self::SMALL_BLOCK_THRESHOLD) { - $rootdata = $this->_readData($this->props[$this->rootentry]['startBlock']); - - $block = $this->props[$stream]['startBlock']; - - while ($block != -2) { - $pos = $block * self::SMALL_BLOCK_SIZE; - $streamData .= substr($rootdata, $pos, self::SMALL_BLOCK_SIZE); - - $block = self::_GetInt4d($this->smallBlockChain, $block*4); - } - - return $streamData; - } else { - $numBlocks = $this->props[$stream]['size'] / self::BIG_BLOCK_SIZE; - if ($this->props[$stream]['size'] % self::BIG_BLOCK_SIZE != 0) { - ++$numBlocks; - } - - if ($numBlocks == 0) return ''; - - $block = $this->props[$stream]['startBlock']; - - while ($block != -2) { - $pos = ($block + 1) * self::BIG_BLOCK_SIZE; - $streamData .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); - $block = self::_GetInt4d($this->bigBlockChain, $block*4); - } - - return $streamData; - } - } - - /** - * Read a standard stream (by joining sectors using information from SAT) - * - * @param int $bl Sector ID where the stream starts - * @return string Data for standard stream - */ - private function _readData($bl) - { - $block = $bl; - $data = ''; - - while ($block != -2) { - $pos = ($block + 1) * self::BIG_BLOCK_SIZE; - $data .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); - $block = self::_GetInt4d($this->bigBlockChain, $block*4); - } - return $data; - } - - /** - * Read entries in the directory stream. - */ - private function _readPropertySets() { - $offset = 0; - - // loop through entires, each entry is 128 bytes - $entryLen = strlen($this->entry); - while ($offset < $entryLen) { - // entry data (128 bytes) - $d = substr($this->entry, $offset, self::PROPERTY_STORAGE_BLOCK_SIZE); - - // size in bytes of name - $nameSize = ord($d[self::SIZE_OF_NAME_POS]) | (ord($d[self::SIZE_OF_NAME_POS+1]) << 8); - - // type of entry - $type = ord($d[self::TYPE_POS]); - - // sectorID of first sector or short sector, if this entry refers to a stream (the case with workbook) - // sectorID of first sector of the short-stream container stream, if this entry is root entry - $startBlock = self::_GetInt4d($d, self::START_BLOCK_POS); - - $size = self::_GetInt4d($d, self::SIZE_POS); - - $name = str_replace("\x00", "", substr($d,0,$nameSize)); - - - $this->props[] = array ( - 'name' => $name, - 'type' => $type, - 'startBlock' => $startBlock, - 'size' => $size); - - // tmp helper to simplify checks - $upName = strtoupper($name); - - // Workbook directory entry (BIFF5 uses Book, BIFF8 uses Workbook) - if (($upName === 'WORKBOOK') || ($upName === 'BOOK')) { - $this->wrkbook = count($this->props) - 1; - } - else if ( $upName === 'ROOT ENTRY' || $upName === 'R') { - // Root entry - $this->rootentry = count($this->props) - 1; - } - - // Summary information - if ($name == chr(5) . 'SummaryInformation') { -// echo 'Summary Information<br />'; - $this->summaryInformation = count($this->props) - 1; - } - - // Additional Document Summary information - if ($name == chr(5) . 'DocumentSummaryInformation') { -// echo 'Document Summary Information<br />'; - $this->documentSummaryInformation = count($this->props) - 1; - } - - $offset += self::PROPERTY_STORAGE_BLOCK_SIZE; - } - - } - - /** - * Read 4 bytes of data at specified position - * - * @param string $data - * @param int $pos - * @return int - */ - private static function _GetInt4d($data, $pos) - { - // FIX: represent numbers correctly on 64-bit system - // http://sourceforge.net/tracker/index.php?func=detail&aid=1487372&group_id=99160&atid=623334 - // Hacked by Andreas Rehm 2006 to ensure correct result of the <<24 block on 32 and 64bit systems - $_or_24 = ord($data[$pos + 3]); - if ($_or_24 >= 128) { - // negative number - $_ord_24 = -abs((256 - $_or_24) << 24); - } else { - $_ord_24 = ($_or_24 & 127) << 24; - } - return ord($data[$pos]) | (ord($data[$pos + 1]) << 8) | (ord($data[$pos + 2]) << 16) | $_ord_24; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/gnu-lgpl.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/gnu-lgpl.txt deleted file mode 100644 index cbee875ba..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/gnu-lgpl.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -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 and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, 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 library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete 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 distribute a copy of this License along with the -Library. - - 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 Library or any portion -of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -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 Library, 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 Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you 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. - - If distribution of 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 satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be 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. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library 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. - - 9. 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 Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -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 with -this License. - - 11. 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 Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library 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 Library. - -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. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library 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. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser 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 Library -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 Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -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 - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "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 -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. 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 LIBRARY 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 -LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), 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 Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. 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. - - <one line to give the library's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - <signature of Ty Coon>, 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/pclzip.lib.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/pclzip.lib.php deleted file mode 100644 index 4bf05a523..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/pclzip.lib.php +++ /dev/null @@ -1,5694 +0,0 @@ -<?php -// -------------------------------------------------------------------------------- -// PhpConcept Library - Zip Module 2.8.2 -// -------------------------------------------------------------------------------- -// License GNU/LGPL - Vincent Blavet - August 2009 -// http://www.phpconcept.net -// -------------------------------------------------------------------------------- -// -// Presentation : -// PclZip is a PHP library that manage ZIP archives. -// So far tests show that archives generated by PclZip are readable by -// WinZip application and other tools. -// -// Description : -// See readme.txt and http://www.phpconcept.net -// -// Warning : -// This library and the associated files are non commercial, non professional -// work. -// It should not have unexpected results. However if any damage is caused by -// this software the author can not be responsible. -// The use of this software is at the risk of the user. -// -// -------------------------------------------------------------------------------- -// $Id: pclzip.lib.php,v 1.60 2009/09/30 21:01:04 vblavet Exp $ -// -------------------------------------------------------------------------------- - - // ----- Constants - if (!defined('PCLZIP_READ_BLOCK_SIZE')) { - define( 'PCLZIP_READ_BLOCK_SIZE', 2048 ); - } - - // ----- File list separator - // In version 1.x of PclZip, the separator for file list is a space - // (which is not a very smart choice, specifically for windows paths !). - // A better separator should be a comma (,). This constant gives you the - // abilty to change that. - // However notice that changing this value, may have impact on existing - // scripts, using space separated filenames. - // Recommanded values for compatibility with older versions : - //define( 'PCLZIP_SEPARATOR', ' ' ); - // Recommanded values for smart separation of filenames. - if (!defined('PCLZIP_SEPARATOR')) { - define( 'PCLZIP_SEPARATOR', ',' ); - } - - // ----- Error configuration - // 0 : PclZip Class integrated error handling - // 1 : PclError external library error handling. By enabling this - // you must ensure that you have included PclError library. - // [2,...] : reserved for futur use - if (!defined('PCLZIP_ERROR_EXTERNAL')) { - define( 'PCLZIP_ERROR_EXTERNAL', 0 ); - } - - // ----- Optional static temporary directory - // By default temporary files are generated in the script current - // path. - // If defined : - // - MUST BE terminated by a '/'. - // - MUST be a valid, already created directory - // Samples : - // define( 'PCLZIP_TEMPORARY_DIR', '/temp/' ); - // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' ); - if (!defined('PCLZIP_TEMPORARY_DIR')) { - define( 'PCLZIP_TEMPORARY_DIR', '' ); - } - - // ----- Optional threshold ratio for use of temporary files - // Pclzip sense the size of the file to add/extract and decide to - // use or not temporary file. The algorythm is looking for - // memory_limit of PHP and apply a ratio. - // threshold = memory_limit * ratio. - // Recommended values are under 0.5. Default 0.47. - // Samples : - // define( 'PCLZIP_TEMPORARY_FILE_RATIO', 0.5 ); - if (!defined('PCLZIP_TEMPORARY_FILE_RATIO')) { - define( 'PCLZIP_TEMPORARY_FILE_RATIO', 0.47 ); - } - -// -------------------------------------------------------------------------------- -// ***** UNDER THIS LINE NOTHING NEEDS TO BE MODIFIED ***** -// -------------------------------------------------------------------------------- - - // ----- Global variables - $g_pclzip_version = "2.8.2"; - - // ----- Error codes - // -1 : Unable to open file in binary write mode - // -2 : Unable to open file in binary read mode - // -3 : Invalid parameters - // -4 : File does not exist - // -5 : Filename is too long (max. 255) - // -6 : Not a valid zip file - // -7 : Invalid extracted file size - // -8 : Unable to create directory - // -9 : Invalid archive extension - // -10 : Invalid archive format - // -11 : Unable to delete file (unlink) - // -12 : Unable to rename file (rename) - // -13 : Invalid header checksum - // -14 : Invalid archive size - define( 'PCLZIP_ERR_USER_ABORTED', 2 ); - define( 'PCLZIP_ERR_NO_ERROR', 0 ); - define( 'PCLZIP_ERR_WRITE_OPEN_FAIL', -1 ); - define( 'PCLZIP_ERR_READ_OPEN_FAIL', -2 ); - define( 'PCLZIP_ERR_INVALID_PARAMETER', -3 ); - define( 'PCLZIP_ERR_MISSING_FILE', -4 ); - define( 'PCLZIP_ERR_FILENAME_TOO_LONG', -5 ); - define( 'PCLZIP_ERR_INVALID_ZIP', -6 ); - define( 'PCLZIP_ERR_BAD_EXTRACTED_FILE', -7 ); - define( 'PCLZIP_ERR_DIR_CREATE_FAIL', -8 ); - define( 'PCLZIP_ERR_BAD_EXTENSION', -9 ); - define( 'PCLZIP_ERR_BAD_FORMAT', -10 ); - define( 'PCLZIP_ERR_DELETE_FILE_FAIL', -11 ); - define( 'PCLZIP_ERR_RENAME_FILE_FAIL', -12 ); - define( 'PCLZIP_ERR_BAD_CHECKSUM', -13 ); - define( 'PCLZIP_ERR_INVALID_ARCHIVE_ZIP', -14 ); - define( 'PCLZIP_ERR_MISSING_OPTION_VALUE', -15 ); - define( 'PCLZIP_ERR_INVALID_OPTION_VALUE', -16 ); - define( 'PCLZIP_ERR_ALREADY_A_DIRECTORY', -17 ); - define( 'PCLZIP_ERR_UNSUPPORTED_COMPRESSION', -18 ); - define( 'PCLZIP_ERR_UNSUPPORTED_ENCRYPTION', -19 ); - define( 'PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE', -20 ); - define( 'PCLZIP_ERR_DIRECTORY_RESTRICTION', -21 ); - - // ----- Options values - define( 'PCLZIP_OPT_PATH', 77001 ); - define( 'PCLZIP_OPT_ADD_PATH', 77002 ); - define( 'PCLZIP_OPT_REMOVE_PATH', 77003 ); - define( 'PCLZIP_OPT_REMOVE_ALL_PATH', 77004 ); - define( 'PCLZIP_OPT_SET_CHMOD', 77005 ); - define( 'PCLZIP_OPT_EXTRACT_AS_STRING', 77006 ); - define( 'PCLZIP_OPT_NO_COMPRESSION', 77007 ); - define( 'PCLZIP_OPT_BY_NAME', 77008 ); - define( 'PCLZIP_OPT_BY_INDEX', 77009 ); - define( 'PCLZIP_OPT_BY_EREG', 77010 ); - define( 'PCLZIP_OPT_BY_PREG', 77011 ); - define( 'PCLZIP_OPT_COMMENT', 77012 ); - define( 'PCLZIP_OPT_ADD_COMMENT', 77013 ); - define( 'PCLZIP_OPT_PREPEND_COMMENT', 77014 ); - define( 'PCLZIP_OPT_EXTRACT_IN_OUTPUT', 77015 ); - define( 'PCLZIP_OPT_REPLACE_NEWER', 77016 ); - define( 'PCLZIP_OPT_STOP_ON_ERROR', 77017 ); - // Having big trouble with crypt. Need to multiply 2 long int - // which is not correctly supported by PHP ... - //define( 'PCLZIP_OPT_CRYPT', 77018 ); - define( 'PCLZIP_OPT_EXTRACT_DIR_RESTRICTION', 77019 ); - define( 'PCLZIP_OPT_TEMP_FILE_THRESHOLD', 77020 ); - define( 'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD', 77020 ); // alias - define( 'PCLZIP_OPT_TEMP_FILE_ON', 77021 ); - define( 'PCLZIP_OPT_ADD_TEMP_FILE_ON', 77021 ); // alias - define( 'PCLZIP_OPT_TEMP_FILE_OFF', 77022 ); - define( 'PCLZIP_OPT_ADD_TEMP_FILE_OFF', 77022 ); // alias - - // ----- File description attributes - define( 'PCLZIP_ATT_FILE_NAME', 79001 ); - define( 'PCLZIP_ATT_FILE_NEW_SHORT_NAME', 79002 ); - define( 'PCLZIP_ATT_FILE_NEW_FULL_NAME', 79003 ); - define( 'PCLZIP_ATT_FILE_MTIME', 79004 ); - define( 'PCLZIP_ATT_FILE_CONTENT', 79005 ); - define( 'PCLZIP_ATT_FILE_COMMENT', 79006 ); - - // ----- Call backs values - define( 'PCLZIP_CB_PRE_EXTRACT', 78001 ); - define( 'PCLZIP_CB_POST_EXTRACT', 78002 ); - define( 'PCLZIP_CB_PRE_ADD', 78003 ); - define( 'PCLZIP_CB_POST_ADD', 78004 ); - /* For futur use - define( 'PCLZIP_CB_PRE_LIST', 78005 ); - define( 'PCLZIP_CB_POST_LIST', 78006 ); - define( 'PCLZIP_CB_PRE_DELETE', 78007 ); - define( 'PCLZIP_CB_POST_DELETE', 78008 ); - */ - - // -------------------------------------------------------------------------------- - // Class : PclZip - // Description : - // PclZip is the class that represent a Zip archive. - // The public methods allow the manipulation of the archive. - // Attributes : - // Attributes must not be accessed directly. - // Methods : - // PclZip() : Object creator - // create() : Creates the Zip archive - // listContent() : List the content of the Zip archive - // extract() : Extract the content of the archive - // properties() : List the properties of the archive - // -------------------------------------------------------------------------------- - class PclZip - { - // ----- Filename of the zip file - var $zipname = ''; - - // ----- File descriptor of the zip file - var $zip_fd = 0; - - // ----- Internal error handling - var $error_code = 1; - var $error_string = ''; - - // ----- Current status of the magic_quotes_runtime - // This value store the php configuration for magic_quotes - // The class can then disable the magic_quotes and reset it after - var $magic_quotes_status; - - // -------------------------------------------------------------------------------- - // Function : PclZip() - // Description : - // Creates a PclZip object and set the name of the associated Zip archive - // filename. - // Note that no real action is taken, if the archive does not exist it is not - // created. Use create() for that. - // -------------------------------------------------------------------------------- - function PclZip($p_zipname) - { - - // ----- Tests the zlib - if (!function_exists('gzopen')) - { - die('Abort '.basename(__FILE__).' : Missing zlib extensions'); - } - - // ----- Set the attributes - $this->zipname = $p_zipname; - $this->zip_fd = 0; - $this->magic_quotes_status = -1; - - // ----- Return - return; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // create($p_filelist, $p_add_dir="", $p_remove_dir="") - // create($p_filelist, $p_option, $p_option_value, ...) - // Description : - // This method supports two different synopsis. The first one is historical. - // This method creates a Zip Archive. The Zip file is created in the - // filesystem. The files and directories indicated in $p_filelist - // are added in the archive. See the parameters description for the - // supported format of $p_filelist. - // When a directory is in the list, the directory and its content is added - // in the archive. - // In this synopsis, the function takes an optional variable list of - // options. See bellow the supported options. - // Parameters : - // $p_filelist : An array containing file or directory names, or - // a string containing one filename or one directory name, or - // a string containing a list of filenames and/or directory - // names separated by spaces. - // $p_add_dir : A path to add before the real path of the archived file, - // in order to have it memorized in the archive. - // $p_remove_dir : A path to remove from the real path of the file to archive, - // in order to have a shorter path memorized in the archive. - // When $p_add_dir and $p_remove_dir are set, $p_remove_dir - // is removed first, before $p_add_dir is added. - // Options : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_COMMENT : - // PCLZIP_CB_PRE_ADD : - // PCLZIP_CB_POST_ADD : - // Return Values : - // 0 on failure, - // The list of the added files, with a status of the add action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function create($p_filelist) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Set default values - $v_options = array(); - $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove from the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_ADD => 'optional', - PCLZIP_CB_POST_ADD => 'optional', - PCLZIP_OPT_NO_COMPRESSION => 'optional', - PCLZIP_OPT_COMMENT => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - //, PCLZIP_OPT_CRYPT => 'optional' - )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_options[PCLZIP_OPT_ADD_PATH] = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1]; - } - else if ($v_size > 2) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Invalid number / type of arguments"); - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Init - $v_string_list = array(); - $v_att_list = array(); - $v_filedescr_list = array(); - $p_result_list = array(); - - // ----- Look if the $p_filelist is really an array - if (is_array($p_filelist)) { - - // ----- Look if the first element is also an array - // This will mean that this is a file description entry - if (isset($p_filelist[0]) && is_array($p_filelist[0])) { - $v_att_list = $p_filelist; - } - - // ----- The list is a list of string names - else { - $v_string_list = $p_filelist; - } - } - - // ----- Look if the $p_filelist is a string - else if (is_string($p_filelist)) { - // ----- Create a list from the string - $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist); - } - - // ----- Invalid variable type for $p_filelist - else { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_filelist"); - return 0; - } - - // ----- Reformat the string list - if (sizeof($v_string_list) != 0) { - foreach ($v_string_list as $v_string) { - if ($v_string != '') { - $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string; - } - else { - } - } - } - - // ----- For each file in the list check the attributes - $v_supported_attributes - = array ( PCLZIP_ATT_FILE_NAME => 'mandatory' - ,PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional' - ,PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional' - ,PCLZIP_ATT_FILE_MTIME => 'optional' - ,PCLZIP_ATT_FILE_CONTENT => 'optional' - ,PCLZIP_ATT_FILE_COMMENT => 'optional' - ); - foreach ($v_att_list as $v_entry) { - $v_result = $this->privFileDescrParseAtt($v_entry, - $v_filedescr_list[], - $v_options, - $v_supported_attributes); - if ($v_result != 1) { - return 0; - } - } - - // ----- Expand the filelist (expand directories) - $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Call the create fct - $v_result = $this->privCreate($v_filedescr_list, $p_result_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Return - return $p_result_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // add($p_filelist, $p_add_dir="", $p_remove_dir="") - // add($p_filelist, $p_option, $p_option_value, ...) - // Description : - // This method supports two synopsis. The first one is historical. - // This methods add the list of files in an existing archive. - // If a file with the same name already exists, it is added at the end of the - // archive, the first one is still present. - // If the archive does not exist, it is created. - // Parameters : - // $p_filelist : An array containing file or directory names, or - // a string containing one filename or one directory name, or - // a string containing a list of filenames and/or directory - // names separated by spaces. - // $p_add_dir : A path to add before the real path of the archived file, - // in order to have it memorized in the archive. - // $p_remove_dir : A path to remove from the real path of the file to archive, - // in order to have a shorter path memorized in the archive. - // When $p_add_dir and $p_remove_dir are set, $p_remove_dir - // is removed first, before $p_add_dir is added. - // Options : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_COMMENT : - // PCLZIP_OPT_ADD_COMMENT : - // PCLZIP_OPT_PREPEND_COMMENT : - // PCLZIP_CB_PRE_ADD : - // PCLZIP_CB_POST_ADD : - // Return Values : - // 0 on failure, - // The list of the added files, with a status of the add action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function add($p_filelist) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Set default values - $v_options = array(); - $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove form the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_ADD => 'optional', - PCLZIP_CB_POST_ADD => 'optional', - PCLZIP_OPT_NO_COMPRESSION => 'optional', - PCLZIP_OPT_COMMENT => 'optional', - PCLZIP_OPT_ADD_COMMENT => 'optional', - PCLZIP_OPT_PREPEND_COMMENT => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - //, PCLZIP_OPT_CRYPT => 'optional' - )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_options[PCLZIP_OPT_ADD_PATH] = $v_add_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Init - $v_string_list = array(); - $v_att_list = array(); - $v_filedescr_list = array(); - $p_result_list = array(); - - // ----- Look if the $p_filelist is really an array - if (is_array($p_filelist)) { - - // ----- Look if the first element is also an array - // This will mean that this is a file description entry - if (isset($p_filelist[0]) && is_array($p_filelist[0])) { - $v_att_list = $p_filelist; - } - - // ----- The list is a list of string names - else { - $v_string_list = $p_filelist; - } - } - - // ----- Look if the $p_filelist is a string - else if (is_string($p_filelist)) { - // ----- Create a list from the string - $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist); - } - - // ----- Invalid variable type for $p_filelist - else { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type '".gettype($p_filelist)."' for p_filelist"); - return 0; - } - - // ----- Reformat the string list - if (sizeof($v_string_list) != 0) { - foreach ($v_string_list as $v_string) { - $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string; - } - } - - // ----- For each file in the list check the attributes - $v_supported_attributes - = array ( PCLZIP_ATT_FILE_NAME => 'mandatory' - ,PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional' - ,PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional' - ,PCLZIP_ATT_FILE_MTIME => 'optional' - ,PCLZIP_ATT_FILE_CONTENT => 'optional' - ,PCLZIP_ATT_FILE_COMMENT => 'optional' - ); - foreach ($v_att_list as $v_entry) { - $v_result = $this->privFileDescrParseAtt($v_entry, - $v_filedescr_list[], - $v_options, - $v_supported_attributes); - if ($v_result != 1) { - return 0; - } - } - - // ----- Expand the filelist (expand directories) - $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Call the create fct - $v_result = $this->privAdd($v_filedescr_list, $p_result_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Return - return $p_result_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : listContent() - // Description : - // This public method, gives the list of the files and directories, with their - // properties. - // The properties of each entries in the list are (used also in other functions) : - // filename : Name of the file. For a create or add action it is the filename - // given by the user. For an extract function it is the filename - // of the extracted file. - // stored_filename : Name of the file / directory stored in the archive. - // size : Size of the stored file. - // compressed_size : Size of the file's data compressed in the archive - // (without the headers overhead) - // mtime : Last known modification date of the file (UNIX timestamp) - // comment : Comment associated with the file - // folder : true | false - // index : index of the file in the archive - // status : status of the action (depending of the action) : - // Values are : - // ok : OK ! - // filtered : the file / dir is not extracted (filtered by user) - // already_a_directory : the file can not be extracted because a - // directory with the same name already exists - // write_protected : the file can not be extracted because a file - // with the same name already exists and is - // write protected - // newer_exist : the file was not extracted because a newer file exists - // path_creation_fail : the file is not extracted because the folder - // does not exist and can not be created - // write_error : the file was not extracted because there was a - // error while writing the file - // read_error : the file was not extracted because there was a error - // while reading the file - // invalid_header : the file was not extracted because of an archive - // format error (bad file header) - // Note that each time a method can continue operating when there - // is an action error on a file, the error is only logged in the file status. - // Return Values : - // 0 on an unrecoverable failure, - // The list of the files in the archive. - // -------------------------------------------------------------------------------- - function listContent() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Call the extracting fct - $p_list = array(); - if (($v_result = $this->privList($p_list)) != 1) - { - unset($p_list); - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // extract($p_path="./", $p_remove_path="") - // extract([$p_option, $p_option_value, ...]) - // Description : - // This method supports two synopsis. The first one is historical. - // This method extract all the files / directories from the archive to the - // folder indicated in $p_path. - // If you want to ignore the 'root' part of path of the memorized files - // you can indicate this in the optional $p_remove_path parameter. - // By default, if a newer file with the same name already exists, the - // file is not extracted. - // - // If both PCLZIP_OPT_PATH and PCLZIP_OPT_ADD_PATH aoptions - // are used, the path indicated in PCLZIP_OPT_ADD_PATH is append - // at the end of the path value of PCLZIP_OPT_PATH. - // Parameters : - // $p_path : Path where the files and directories are to be extracted - // $p_remove_path : First part ('root' part) of the memorized path - // (if any similar) to remove while extracting. - // Options : - // PCLZIP_OPT_PATH : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_CB_PRE_EXTRACT : - // PCLZIP_CB_POST_EXTRACT : - // Return Values : - // 0 or a negative value on failure, - // The list of the extracted files, with a status of the action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function extract() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); -// $v_path = "./"; - $v_path = ''; - $v_remove_path = ""; - $v_remove_all_path = false; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Default values for option - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - - // ----- Look for arguments - if ($v_size > 0) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_PATH => 'optional', - PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_EXTRACT => 'optional', - PCLZIP_CB_POST_EXTRACT => 'optional', - PCLZIP_OPT_SET_CHMOD => 'optional', - PCLZIP_OPT_BY_NAME => 'optional', - PCLZIP_OPT_BY_EREG => 'optional', - PCLZIP_OPT_BY_PREG => 'optional', - PCLZIP_OPT_BY_INDEX => 'optional', - PCLZIP_OPT_EXTRACT_AS_STRING => 'optional', - PCLZIP_OPT_EXTRACT_IN_OUTPUT => 'optional', - PCLZIP_OPT_REPLACE_NEWER => 'optional' - ,PCLZIP_OPT_STOP_ON_ERROR => 'optional' - ,PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - )); - if ($v_result != 1) { - return 0; - } - - // ----- Set the arguments - if (isset($v_options[PCLZIP_OPT_PATH])) { - $v_path = $v_options[PCLZIP_OPT_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) { - $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - if (isset($v_options[PCLZIP_OPT_ADD_PATH])) { - // ----- Check for '/' in last path char - if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) { - $v_path .= '/'; - } - $v_path .= $v_options[PCLZIP_OPT_ADD_PATH]; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_remove_path = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Trace - - // ----- Call the extracting fct - $p_list = array(); - $v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, - $v_remove_all_path, $v_options); - if ($v_result < 1) { - unset($p_list); - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - - // -------------------------------------------------------------------------------- - // Function : - // extractByIndex($p_index, $p_path="./", $p_remove_path="") - // extractByIndex($p_index, [$p_option, $p_option_value, ...]) - // Description : - // This method supports two synopsis. The first one is historical. - // This method is doing a partial extract of the archive. - // The extracted files or folders are identified by their index in the - // archive (from 0 to n). - // Note that if the index identify a folder, only the folder entry is - // extracted, not all the files included in the archive. - // Parameters : - // $p_index : A single index (integer) or a string of indexes of files to - // extract. The form of the string is "0,4-6,8-12" with only numbers - // and '-' for range or ',' to separate ranges. No spaces or ';' - // are allowed. - // $p_path : Path where the files and directories are to be extracted - // $p_remove_path : First part ('root' part) of the memorized path - // (if any similar) to remove while extracting. - // Options : - // PCLZIP_OPT_PATH : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_EXTRACT_AS_STRING : The files are extracted as strings and - // not as files. - // The resulting content is in a new field 'content' in the file - // structure. - // This option must be used alone (any other options are ignored). - // PCLZIP_CB_PRE_EXTRACT : - // PCLZIP_CB_POST_EXTRACT : - // Return Values : - // 0 on failure, - // The list of the extracted files, with a status of the action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - //function extractByIndex($p_index, options...) - function extractByIndex($p_index) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); -// $v_path = "./"; - $v_path = ''; - $v_remove_path = ""; - $v_remove_all_path = false; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Default values for option - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove form the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_PATH => 'optional', - PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_EXTRACT_AS_STRING => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_EXTRACT => 'optional', - PCLZIP_CB_POST_EXTRACT => 'optional', - PCLZIP_OPT_SET_CHMOD => 'optional', - PCLZIP_OPT_REPLACE_NEWER => 'optional' - ,PCLZIP_OPT_STOP_ON_ERROR => 'optional' - ,PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - )); - if ($v_result != 1) { - return 0; - } - - // ----- Set the arguments - if (isset($v_options[PCLZIP_OPT_PATH])) { - $v_path = $v_options[PCLZIP_OPT_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) { - $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - if (isset($v_options[PCLZIP_OPT_ADD_PATH])) { - // ----- Check for '/' in last path char - if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) { - $v_path .= '/'; - } - $v_path .= $v_options[PCLZIP_OPT_ADD_PATH]; - } - if (!isset($v_options[PCLZIP_OPT_EXTRACT_AS_STRING])) { - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - } - else { - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_remove_path = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Trace - - // ----- Trick - // Here I want to reuse extractByRule(), so I need to parse the $p_index - // with privParseOptions() - $v_arg_trick = array (PCLZIP_OPT_BY_INDEX, $p_index); - $v_options_trick = array(); - $v_result = $this->privParseOptions($v_arg_trick, sizeof($v_arg_trick), $v_options_trick, - array (PCLZIP_OPT_BY_INDEX => 'optional' )); - if ($v_result != 1) { - return 0; - } - $v_options[PCLZIP_OPT_BY_INDEX] = $v_options_trick[PCLZIP_OPT_BY_INDEX]; - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Call the extracting fct - if (($v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, $v_remove_all_path, $v_options)) < 1) { - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // delete([$p_option, $p_option_value, ...]) - // Description : - // This method removes files from the archive. - // If no parameters are given, then all the archive is emptied. - // Parameters : - // None or optional arguments. - // Options : - // PCLZIP_OPT_BY_INDEX : - // PCLZIP_OPT_BY_NAME : - // PCLZIP_OPT_BY_EREG : - // PCLZIP_OPT_BY_PREG : - // Return Values : - // 0 on failure, - // The list of the files which are still present in the archive. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function delete() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 0) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_BY_NAME => 'optional', - PCLZIP_OPT_BY_EREG => 'optional', - PCLZIP_OPT_BY_PREG => 'optional', - PCLZIP_OPT_BY_INDEX => 'optional' )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Call the delete fct - $v_list = array(); - if (($v_result = $this->privDeleteByRule($v_list, $v_options)) != 1) { - $this->privSwapBackMagicQuotes(); - unset($v_list); - return(0); - } - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : deleteByIndex() - // Description : - // ***** Deprecated ***** - // delete(PCLZIP_OPT_BY_INDEX, $p_index) should be prefered. - // -------------------------------------------------------------------------------- - function deleteByIndex($p_index) - { - - $p_list = $this->delete(PCLZIP_OPT_BY_INDEX, $p_index); - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : properties() - // Description : - // This method gives the properties of the archive. - // The properties are : - // nb : Number of files in the archive - // comment : Comment associated with the archive file - // status : not_exist, ok - // Parameters : - // None - // Return Values : - // 0 on failure, - // An array with the archive properties. - // -------------------------------------------------------------------------------- - function properties() - { - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - $this->privSwapBackMagicQuotes(); - return(0); - } - - // ----- Default properties - $v_prop = array(); - $v_prop['comment'] = ''; - $v_prop['nb'] = 0; - $v_prop['status'] = 'not_exist'; - - // ----- Look if file exists - if (@is_file($this->zipname)) - { - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) - { - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode'); - - // ----- Return - return 0; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privSwapBackMagicQuotes(); - return 0; - } - - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Set the user attributes - $v_prop['comment'] = $v_central_dir['comment']; - $v_prop['nb'] = $v_central_dir['entries']; - $v_prop['status'] = 'ok'; - } - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_prop; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : duplicate() - // Description : - // This method creates an archive by copying the content of an other one. If - // the archive already exist, it is replaced by the new one without any warning. - // Parameters : - // $p_archive : The filename of a valid archive, or - // a valid PclZip object. - // Return Values : - // 1 on success. - // 0 or a negative value on error (error code). - // -------------------------------------------------------------------------------- - function duplicate($p_archive) - { - $v_result = 1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Look if the $p_archive is a PclZip object - if ((is_object($p_archive)) && (get_class($p_archive) == 'pclzip')) - { - - // ----- Duplicate the archive - $v_result = $this->privDuplicate($p_archive->zipname); - } - - // ----- Look if the $p_archive is a string (so a filename) - else if (is_string($p_archive)) - { - - // ----- Check that $p_archive is a valid zip file - // TBC : Should also check the archive format - if (!is_file($p_archive)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "No file with filename '".$p_archive."'"); - $v_result = PCLZIP_ERR_MISSING_FILE; - } - else { - // ----- Duplicate the archive - $v_result = $this->privDuplicate($p_archive); - } - } - - // ----- Invalid variable - else - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add"); - $v_result = PCLZIP_ERR_INVALID_PARAMETER; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : merge() - // Description : - // This method merge the $p_archive_to_add archive at the end of the current - // one ($this). - // If the archive ($this) does not exist, the merge becomes a duplicate. - // If the $p_archive_to_add archive does not exist, the merge is a success. - // Parameters : - // $p_archive_to_add : It can be directly the filename of a valid zip archive, - // or a PclZip object archive. - // Return Values : - // 1 on success, - // 0 or negative values on error (see below). - // -------------------------------------------------------------------------------- - function merge($p_archive_to_add) - { - $v_result = 1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Look if the $p_archive_to_add is a PclZip object - if ((is_object($p_archive_to_add)) && (get_class($p_archive_to_add) == 'pclzip')) - { - - // ----- Merge the archive - $v_result = $this->privMerge($p_archive_to_add); - } - - // ----- Look if the $p_archive_to_add is a string (so a filename) - else if (is_string($p_archive_to_add)) - { - - // ----- Create a temporary archive - $v_object_archive = new PclZip($p_archive_to_add); - - // ----- Merge the archive - $v_result = $this->privMerge($v_object_archive); - } - - // ----- Invalid variable - else - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add"); - $v_result = PCLZIP_ERR_INVALID_PARAMETER; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - - - // -------------------------------------------------------------------------------- - // Function : errorCode() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorCode() - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - return(PclErrorCode()); - } - else { - return($this->error_code); - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : errorName() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorName($p_with_code=false) - { - $v_name = array ( PCLZIP_ERR_NO_ERROR => 'PCLZIP_ERR_NO_ERROR', - PCLZIP_ERR_WRITE_OPEN_FAIL => 'PCLZIP_ERR_WRITE_OPEN_FAIL', - PCLZIP_ERR_READ_OPEN_FAIL => 'PCLZIP_ERR_READ_OPEN_FAIL', - PCLZIP_ERR_INVALID_PARAMETER => 'PCLZIP_ERR_INVALID_PARAMETER', - PCLZIP_ERR_MISSING_FILE => 'PCLZIP_ERR_MISSING_FILE', - PCLZIP_ERR_FILENAME_TOO_LONG => 'PCLZIP_ERR_FILENAME_TOO_LONG', - PCLZIP_ERR_INVALID_ZIP => 'PCLZIP_ERR_INVALID_ZIP', - PCLZIP_ERR_BAD_EXTRACTED_FILE => 'PCLZIP_ERR_BAD_EXTRACTED_FILE', - PCLZIP_ERR_DIR_CREATE_FAIL => 'PCLZIP_ERR_DIR_CREATE_FAIL', - PCLZIP_ERR_BAD_EXTENSION => 'PCLZIP_ERR_BAD_EXTENSION', - PCLZIP_ERR_BAD_FORMAT => 'PCLZIP_ERR_BAD_FORMAT', - PCLZIP_ERR_DELETE_FILE_FAIL => 'PCLZIP_ERR_DELETE_FILE_FAIL', - PCLZIP_ERR_RENAME_FILE_FAIL => 'PCLZIP_ERR_RENAME_FILE_FAIL', - PCLZIP_ERR_BAD_CHECKSUM => 'PCLZIP_ERR_BAD_CHECKSUM', - PCLZIP_ERR_INVALID_ARCHIVE_ZIP => 'PCLZIP_ERR_INVALID_ARCHIVE_ZIP', - PCLZIP_ERR_MISSING_OPTION_VALUE => 'PCLZIP_ERR_MISSING_OPTION_VALUE', - PCLZIP_ERR_INVALID_OPTION_VALUE => 'PCLZIP_ERR_INVALID_OPTION_VALUE', - PCLZIP_ERR_UNSUPPORTED_COMPRESSION => 'PCLZIP_ERR_UNSUPPORTED_COMPRESSION', - PCLZIP_ERR_UNSUPPORTED_ENCRYPTION => 'PCLZIP_ERR_UNSUPPORTED_ENCRYPTION' - ,PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE => 'PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE' - ,PCLZIP_ERR_DIRECTORY_RESTRICTION => 'PCLZIP_ERR_DIRECTORY_RESTRICTION' - ); - - if (isset($v_name[$this->error_code])) { - $v_value = $v_name[$this->error_code]; - } - else { - $v_value = 'NoName'; - } - - if ($p_with_code) { - return($v_value.' ('.$this->error_code.')'); - } - else { - return($v_value); - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : errorInfo() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorInfo($p_full=false) - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - return(PclErrorString()); - } - else { - if ($p_full) { - return($this->errorName(true)." : ".$this->error_string); - } - else { - return($this->error_string." [code ".$this->error_code."]"); - } - } - } - // -------------------------------------------------------------------------------- - - -// -------------------------------------------------------------------------------- -// ***** UNDER THIS LINE ARE DEFINED PRIVATE INTERNAL FUNCTIONS ***** -// ***** ***** -// ***** THESES FUNCTIONS MUST NOT BE USED DIRECTLY ***** -// -------------------------------------------------------------------------------- - - - - // -------------------------------------------------------------------------------- - // Function : privCheckFormat() - // Description : - // This method check that the archive exists and is a valid zip archive. - // Several level of check exists. (futur) - // Parameters : - // $p_level : Level of check. Default 0. - // 0 : Check the first bytes (magic codes) (default value)) - // 1 : 0 + Check the central directory (futur) - // 2 : 1 + Check each file header (futur) - // Return Values : - // true on success, - // false on error, the error code is set. - // -------------------------------------------------------------------------------- - function privCheckFormat($p_level=0) - { - $v_result = true; - - // ----- Reset the file system cache - clearstatcache(); - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Look if the file exits - if (!is_file($this->zipname)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "Missing archive file '".$this->zipname."'"); - return(false); - } - - // ----- Check that the file is readeable - if (!is_readable($this->zipname)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to read archive '".$this->zipname."'"); - return(false); - } - - // ----- Check the magic code - // TBC - - // ----- Check the central header - // TBC - - // ----- Check each file header - // TBC - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privParseOptions() - // Description : - // This internal methods reads the variable list of arguments ($p_options_list, - // $p_size) and generate an array with the options and values ($v_result_list). - // $v_requested_options contains the options that can be present and those that - // must be present. - // $v_requested_options is an array, with the option value as key, and 'optional', - // or 'mandatory' as value. - // Parameters : - // See above. - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options=false) - { - $v_result=1; - - // ----- Read the options - $i=0; - while ($i<$p_size) { - - // ----- Check if the option is supported - if (!isset($v_requested_options[$p_options_list[$i]])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid optional parameter '".$p_options_list[$i]."' for this method"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for next option - switch ($p_options_list[$i]) { - // ----- Look for options that request a path value - case PCLZIP_OPT_PATH : - case PCLZIP_OPT_REMOVE_PATH : - case PCLZIP_OPT_ADD_PATH : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE); - $i++; - break; - - case PCLZIP_OPT_TEMP_FILE_THRESHOLD : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - return PclZip::errorCode(); - } - - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); - return PclZip::errorCode(); - } - - // ----- Check the value - $v_value = $p_options_list[$i+1]; - if ((!is_integer($v_value)) || ($v_value<0)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Integer expected for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - return PclZip::errorCode(); - } - - // ----- Get the value (and convert it in bytes) - $v_result_list[$p_options_list[$i]] = $v_value*1048576; - $i++; - break; - - case PCLZIP_OPT_TEMP_FILE_ON : - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); - return PclZip::errorCode(); - } - - $v_result_list[$p_options_list[$i]] = true; - break; - - case PCLZIP_OPT_TEMP_FILE_OFF : - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_ON])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_ON'"); - return PclZip::errorCode(); - } - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'"); - return PclZip::errorCode(); - } - - $v_result_list[$p_options_list[$i]] = true; - break; - - case PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if ( is_string($p_options_list[$i+1]) - && ($p_options_list[$i+1] != '')) { - $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE); - $i++; - } - else { - } - break; - - // ----- Look for options that request an array of string for value - case PCLZIP_OPT_BY_NAME : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]][0] = $p_options_list[$i+1]; - } - else if (is_array($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that request an EREG or PREG expression - case PCLZIP_OPT_BY_EREG : - // ereg() is deprecated starting with PHP 5.3. Move PCLZIP_OPT_BY_EREG - // to PCLZIP_OPT_BY_PREG - $p_options_list[$i] = PCLZIP_OPT_BY_PREG; - case PCLZIP_OPT_BY_PREG : - //case PCLZIP_OPT_CRYPT : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that takes a string - case PCLZIP_OPT_COMMENT : - case PCLZIP_OPT_ADD_COMMENT : - case PCLZIP_OPT_PREPEND_COMMENT : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, - "Missing parameter value for option '" - .PclZipUtilOptionText($p_options_list[$i]) - ."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, - "Wrong parameter value for option '" - .PclZipUtilOptionText($p_options_list[$i]) - ."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that request an array of index - case PCLZIP_OPT_BY_INDEX : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_work_list = array(); - if (is_string($p_options_list[$i+1])) { - - // ----- Remove spaces - $p_options_list[$i+1] = strtr($p_options_list[$i+1], ' ', ''); - - // ----- Parse items - $v_work_list = explode(",", $p_options_list[$i+1]); - } - else if (is_integer($p_options_list[$i+1])) { - $v_work_list[0] = $p_options_list[$i+1].'-'.$p_options_list[$i+1]; - } - else if (is_array($p_options_list[$i+1])) { - $v_work_list = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Value must be integer, string or array for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Reduce the index list - // each index item in the list must be a couple with a start and - // an end value : [0,3], [5-5], [8-10], ... - // ----- Check the format of each item - $v_sort_flag=false; - $v_sort_value=0; - for ($j=0; $j<sizeof($v_work_list); $j++) { - // ----- Explode the item - $v_item_list = explode("-", $v_work_list[$j]); - $v_size_item_list = sizeof($v_item_list); - - // ----- TBC : Here we might check that each item is a - // real integer ... - - // ----- Look for single value - if ($v_size_item_list == 1) { - // ----- Set the option value - $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0]; - $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[0]; - } - elseif ($v_size_item_list == 2) { - // ----- Set the option value - $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0]; - $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Too many values in index range for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - - // ----- Look for list sort - if ($v_result_list[$p_options_list[$i]][$j]['start'] < $v_sort_value) { - $v_sort_flag=true; - - // ----- TBC : An automatic sort should be writen ... - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Invalid order of index range for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $v_sort_value = $v_result_list[$p_options_list[$i]][$j]['start']; - } - - // ----- Sort the items - if ($v_sort_flag) { - // TBC : To Be Completed - } - - // ----- Next option - $i++; - break; - - // ----- Look for options that request no value - case PCLZIP_OPT_REMOVE_ALL_PATH : - case PCLZIP_OPT_EXTRACT_AS_STRING : - case PCLZIP_OPT_NO_COMPRESSION : - case PCLZIP_OPT_EXTRACT_IN_OUTPUT : - case PCLZIP_OPT_REPLACE_NEWER : - case PCLZIP_OPT_STOP_ON_ERROR : - $v_result_list[$p_options_list[$i]] = true; - break; - - // ----- Look for options that request an octal value - case PCLZIP_OPT_SET_CHMOD : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - $i++; - break; - - // ----- Look for options that request a call-back - case PCLZIP_CB_PRE_EXTRACT : - case PCLZIP_CB_POST_EXTRACT : - case PCLZIP_CB_PRE_ADD : - case PCLZIP_CB_POST_ADD : - /* for futur use - case PCLZIP_CB_PRE_DELETE : - case PCLZIP_CB_POST_DELETE : - case PCLZIP_CB_PRE_LIST : - case PCLZIP_CB_POST_LIST : - */ - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_function_name = $p_options_list[$i+1]; - - // ----- Check that the value is a valid existing function - if (!function_exists($v_function_name)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Function '".$v_function_name."()' is not an existing function for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Set the attribute - $v_result_list[$p_options_list[$i]] = $v_function_name; - $i++; - break; - - default : - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Unknown parameter '" - .$p_options_list[$i]."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Next options - $i++; - } - - // ----- Look for mandatory options - if ($v_requested_options !== false) { - for ($key=reset($v_requested_options); $key=key($v_requested_options); $key=next($v_requested_options)) { - // ----- Look for mandatory option - if ($v_requested_options[$key] == 'mandatory') { - // ----- Look if present - if (!isset($v_result_list[$key])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".PclZipUtilOptionText($key)."(".$key.")"); - - // ----- Return - return PclZip::errorCode(); - } - } - } - } - - // ----- Look for default values - if (!isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { - - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privOptionDefaultThreshold() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privOptionDefaultThreshold(&$p_options) - { - $v_result=1; - - if (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - || isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) { - return $v_result; - } - - // ----- Get 'memory_limit' configuration value - $v_memory_limit = ini_get('memory_limit'); - $v_memory_limit = trim($v_memory_limit); - $last = strtolower(substr($v_memory_limit, -1)); - - if($last == 'g') - //$v_memory_limit = $v_memory_limit*1024*1024*1024; - $v_memory_limit = $v_memory_limit*1073741824; - if($last == 'm') - //$v_memory_limit = $v_memory_limit*1024*1024; - $v_memory_limit = $v_memory_limit*1048576; - if($last == 'k') - $v_memory_limit = $v_memory_limit*1024; - - $p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] = floor($v_memory_limit*PCLZIP_TEMPORARY_FILE_RATIO); - - - // ----- Sanity check : No threshold if value lower than 1M - if ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] < 1048576) { - unset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privFileDescrParseAtt() - // Description : - // Parameters : - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v_options, $v_requested_options=false) - { - $v_result=1; - - // ----- For each file in the list check the attributes - foreach ($p_file_list as $v_key => $v_value) { - - // ----- Check if the option is supported - if (!isset($v_requested_options[$v_key])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file attribute '".$v_key."' for this file"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for attribute - switch ($v_key) { - case PCLZIP_ATT_FILE_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['filename'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['filename'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - break; - - case PCLZIP_ATT_FILE_NEW_SHORT_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['new_short_name'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['new_short_name'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty short filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - break; - - case PCLZIP_ATT_FILE_NEW_FULL_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['new_full_name'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['new_full_name'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty full filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - break; - - // ----- Look for options that takes a string - case PCLZIP_ATT_FILE_COMMENT : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['comment'] = $v_value; - break; - - case PCLZIP_ATT_FILE_MTIME : - if (!is_integer($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". Integer expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['mtime'] = $v_value; - break; - - case PCLZIP_ATT_FILE_CONTENT : - $p_filedescr['content'] = $v_value; - break; - - default : - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Unknown parameter '".$v_key."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for mandatory options - if ($v_requested_options !== false) { - for ($key=reset($v_requested_options); $key=key($v_requested_options); $key=next($v_requested_options)) { - // ----- Look for mandatory option - if ($v_requested_options[$key] == 'mandatory') { - // ----- Look if present - if (!isset($p_file_list[$key])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".PclZipUtilOptionText($key)."(".$key.")"); - return PclZip::errorCode(); - } - } - } - } - - // end foreach - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privFileDescrExpand() - // Description : - // This method look for each item of the list to see if its a file, a folder - // or a string to be added as file. For any other type of files (link, other) - // just ignore the item. - // Then prepare the information that will be stored for that file. - // When its a folder, expand the folder with all the files that are in that - // folder (recursively). - // Parameters : - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privFileDescrExpand(&$p_filedescr_list, &$p_options) - { - $v_result=1; - - // ----- Create a result list - $v_result_list = array(); - - // ----- Look each entry - for ($i=0; $i<sizeof($p_filedescr_list); $i++) { - - // ----- Get filedescr - $v_descr = $p_filedescr_list[$i]; - - // ----- Reduce the filename - $v_descr['filename'] = PclZipUtilTranslateWinPath($v_descr['filename'], false); - $v_descr['filename'] = PclZipUtilPathReduction($v_descr['filename']); - - // ----- Look for real file or folder - if (file_exists($v_descr['filename'])) { - if (@is_file($v_descr['filename'])) { - $v_descr['type'] = 'file'; - } - else if (@is_dir($v_descr['filename'])) { - $v_descr['type'] = 'folder'; - } - else if (@is_link($v_descr['filename'])) { - // skip - continue; - } - else { - // skip - continue; - } - } - - // ----- Look for string added as file - else if (isset($v_descr['content'])) { - $v_descr['type'] = 'virtual_file'; - } - - // ----- Missing file - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "File '".$v_descr['filename']."' does not exist"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Calculate the stored filename - $this->privCalculateStoredFilename($v_descr, $p_options); - - // ----- Add the descriptor in result list - $v_result_list[sizeof($v_result_list)] = $v_descr; - - // ----- Look for folder - if ($v_descr['type'] == 'folder') { - // ----- List of items in folder - $v_dirlist_descr = array(); - $v_dirlist_nb = 0; - if ($v_folder_handler = @opendir($v_descr['filename'])) { - while (($v_item_handler = @readdir($v_folder_handler)) !== false) { - - // ----- Skip '.' and '..' - if (($v_item_handler == '.') || ($v_item_handler == '..')) { - continue; - } - - // ----- Compose the full filename - $v_dirlist_descr[$v_dirlist_nb]['filename'] = $v_descr['filename'].'/'.$v_item_handler; - - // ----- Look for different stored filename - // Because the name of the folder was changed, the name of the - // files/sub-folders also change - if (($v_descr['stored_filename'] != $v_descr['filename']) - && (!isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH]))) { - if ($v_descr['stored_filename'] != '') { - $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_descr['stored_filename'].'/'.$v_item_handler; - } - else { - $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_item_handler; - } - } - - $v_dirlist_nb++; - } - - @closedir($v_folder_handler); - } - else { - // TBC : unable to open folder in read mode - } - - // ----- Expand each element of the list - if ($v_dirlist_nb != 0) { - // ----- Expand - if (($v_result = $this->privFileDescrExpand($v_dirlist_descr, $p_options)) != 1) { - return $v_result; - } - - // ----- Concat the resulting list - $v_result_list = array_merge($v_result_list, $v_dirlist_descr); - } - else { - } - - // ----- Free local array - unset($v_dirlist_descr); - } - } - - // ----- Get the result list - $p_filedescr_list = $v_result_list; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCreate() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privCreate($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the file in write mode - if (($v_result = $this->privOpenFd('wb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Add the list of files - $v_result = $this->privAddList($p_filedescr_list, $p_result_list, $p_options); - - // ----- Close - $this->privCloseFd(); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAdd() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAdd($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Look if the archive exists or is empty - if ((!is_file($this->zipname)) || (filesize($this->zipname) == 0)) - { - - // ----- Do a create - $v_result = $this->privCreate($p_filedescr_list, $p_result_list, $p_options); - - // ----- Return - return $v_result; - } - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) - { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_zip_temp_name.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = $v_central_dir['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Swap the file descriptor - // Here is a trick : I swap the temporary fd with the zip fd, in order to use - // the following methods on the temporary fil and not the real archive - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Add the files - $v_header_list = array(); - if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) - { - fclose($v_zip_temp_fd); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($this->zip_fd); - - // ----- Copy the block of file headers from the old archive - $v_size = $v_central_dir['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_zip_temp_fd, $v_read_size); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Create the Central Dir files header - for ($i=0, $v_count=0; $i<sizeof($v_header_list); $i++) - { - // ----- Create the file header - if ($v_header_list[$i]['status'] == 'ok') { - if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) { - fclose($v_zip_temp_fd); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - $v_count++; - } - - // ----- Transform the header to a 'usable' info - $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - // ----- Zip file comment - $v_comment = $v_central_dir['comment']; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - if (isset($p_options[PCLZIP_OPT_ADD_COMMENT])) { - $v_comment = $v_comment.$p_options[PCLZIP_OPT_ADD_COMMENT]; - } - if (isset($p_options[PCLZIP_OPT_PREPEND_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_PREPEND_COMMENT].$v_comment; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($this->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_count+$v_central_dir['entries'], $v_size, $v_offset, $v_comment)) != 1) - { - // ----- Reset the file list - unset($v_header_list); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Swap back the file descriptor - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Close - $this->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privOpenFd() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privOpenFd($p_mode) - { - $v_result=1; - - // ----- Look if already open - if ($this->zip_fd != 0) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Zip file \''.$this->zipname.'\' already open'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, $p_mode)) == 0) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in '.$p_mode.' mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCloseFd() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privCloseFd() - { - $v_result=1; - - if ($this->zip_fd != 0) - @fclose($this->zip_fd); - $this->zip_fd = 0; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddList() - // Description : - // $p_add_dir and $p_remove_dir will give the ability to memorize a path which is - // different from the real path of the file. This is usefull if you want to have PclTar - // running in any directory, and memorize relative path from an other directory. - // Parameters : - // $p_list : An array containing the file or directory names to add in the tar - // $p_result_list : list of added files with their properties (specially the status field) - // $p_add_dir : Path to add in the filename path archived - // $p_remove_dir : Path to remove in the filename path archived - // Return Values : - // -------------------------------------------------------------------------------- -// function privAddList($p_list, &$p_result_list, $p_add_dir, $p_remove_dir, $p_remove_all_dir, &$p_options) - function privAddList($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - - // ----- Add the files - $v_header_list = array(); - if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($this->zip_fd); - - // ----- Create the Central Dir files header - for ($i=0,$v_count=0; $i<sizeof($v_header_list); $i++) - { - // ----- Create the file header - if ($v_header_list[$i]['status'] == 'ok') { - if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) { - // ----- Return - return $v_result; - } - $v_count++; - } - - // ----- Transform the header to a 'usable' info - $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - // ----- Zip file comment - $v_comment = ''; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($this->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_count, $v_size, $v_offset, $v_comment)) != 1) - { - // ----- Reset the file list - unset($v_header_list); - - // ----- Return - return $v_result; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFileList() - // Description : - // Parameters : - // $p_filedescr_list : An array containing the file description - // or directory names to add in the zip - // $p_result_list : list of added files with their properties (specially the status field) - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_header = array(); - - // ----- Recuperate the current number of elt in list - $v_nb = sizeof($p_result_list); - - // ----- Loop on the files - for ($j=0; ($j<sizeof($p_filedescr_list)) && ($v_result==1); $j++) { - // ----- Format the filename - $p_filedescr_list[$j]['filename'] - = PclZipUtilTranslateWinPath($p_filedescr_list[$j]['filename'], false); - - - // ----- Skip empty file names - // TBC : Can this be possible ? not checked in DescrParseAtt ? - if ($p_filedescr_list[$j]['filename'] == "") { - continue; - } - - // ----- Check the filename - if ( ($p_filedescr_list[$j]['type'] != 'virtual_file') - && (!file_exists($p_filedescr_list[$j]['filename']))) { - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "File '".$p_filedescr_list[$j]['filename']."' does not exist"); - return PclZip::errorCode(); - } - - // ----- Look if it is a file or a dir with no all path remove option - // or a dir with all its path removed -// if ( (is_file($p_filedescr_list[$j]['filename'])) -// || ( is_dir($p_filedescr_list[$j]['filename']) - if ( ($p_filedescr_list[$j]['type'] == 'file') - || ($p_filedescr_list[$j]['type'] == 'virtual_file') - || ( ($p_filedescr_list[$j]['type'] == 'folder') - && ( !isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH]) - || !$p_options[PCLZIP_OPT_REMOVE_ALL_PATH])) - ) { - - // ----- Add the file - $v_result = $this->privAddFile($p_filedescr_list[$j], $v_header, - $p_options); - if ($v_result != 1) { - return $v_result; - } - - // ----- Store the file infos - $p_result_list[$v_nb++] = $v_header; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFile($p_filedescr, &$p_header, &$p_options) - { - $v_result=1; - - // ----- Working variable - $p_filename = $p_filedescr['filename']; - - // TBC : Already done in the fileAtt check ... ? - if ($p_filename == "") { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file list parameter (invalid or empty list)"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for a stored different filename - /* TBC : Removed - if (isset($p_filedescr['stored_filename'])) { - $v_stored_filename = $p_filedescr['stored_filename']; - } - else { - $v_stored_filename = $p_filedescr['stored_filename']; - } - */ - - // ----- Set the file properties - clearstatcache(); - $p_header['version'] = 20; - $p_header['version_extracted'] = 10; - $p_header['flag'] = 0; - $p_header['compression'] = 0; - $p_header['crc'] = 0; - $p_header['compressed_size'] = 0; - $p_header['filename_len'] = strlen($p_filename); - $p_header['extra_len'] = 0; - $p_header['disk'] = 0; - $p_header['internal'] = 0; - $p_header['offset'] = 0; - $p_header['filename'] = $p_filename; -// TBC : Removed $p_header['stored_filename'] = $v_stored_filename; - $p_header['stored_filename'] = $p_filedescr['stored_filename']; - $p_header['extra'] = ''; - $p_header['status'] = 'ok'; - $p_header['index'] = -1; - - // ----- Look for regular file - if ($p_filedescr['type']=='file') { - $p_header['external'] = 0x00000000; - $p_header['size'] = filesize($p_filename); - } - - // ----- Look for regular folder - else if ($p_filedescr['type']=='folder') { - $p_header['external'] = 0x00000010; - $p_header['mtime'] = filemtime($p_filename); - $p_header['size'] = filesize($p_filename); - } - - // ----- Look for virtual file - else if ($p_filedescr['type'] == 'virtual_file') { - $p_header['external'] = 0x00000000; - $p_header['size'] = strlen($p_filedescr['content']); - } - - - // ----- Look for filetime - if (isset($p_filedescr['mtime'])) { - $p_header['mtime'] = $p_filedescr['mtime']; - } - else if ($p_filedescr['type'] == 'virtual_file') { - $p_header['mtime'] = time(); - } - else { - $p_header['mtime'] = filemtime($p_filename); - } - - // ------ Look for file comment - if (isset($p_filedescr['comment'])) { - $p_header['comment_len'] = strlen($p_filedescr['comment']); - $p_header['comment'] = $p_filedescr['comment']; - } - else { - $p_header['comment_len'] = 0; - $p_header['comment'] = ''; - } - - // ----- Look for pre-add callback - if (isset($p_options[PCLZIP_CB_PRE_ADD])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_header, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_ADD].'(PCLZIP_CB_PRE_ADD, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_ADD](PCLZIP_CB_PRE_ADD, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_header['status'] = "skipped"; - $v_result = 1; - } - - // ----- Update the informations - // Only some fields can be modified - if ($p_header['stored_filename'] != $v_local_header['stored_filename']) { - $p_header['stored_filename'] = PclZipUtilPathReduction($v_local_header['stored_filename']); - } - } - - // ----- Look for empty stored filename - if ($p_header['stored_filename'] == "") { - $p_header['status'] = "filtered"; - } - - // ----- Check the path length - if (strlen($p_header['stored_filename']) > 0xFF) { - $p_header['status'] = 'filename_too_long'; - } - - // ----- Look if no error, or file not skipped - if ($p_header['status'] == 'ok') { - - // ----- Look for a file - if ($p_filedescr['type'] == 'file') { - // ----- Look for using temporary file to zip - if ( (!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) - && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) - || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_header['size'])) ) ) { - $v_result = $this->privAddFileUsingTempFile($p_filedescr, $p_header, $p_options); - if ($v_result < PCLZIP_ERR_NO_ERROR) { - return $v_result; - } - } - - // ----- Use "in memory" zip algo - else { - - // ----- Open the source file - if (($v_file = @fopen($p_filename, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to open file '$p_filename' in binary read mode"); - return PclZip::errorCode(); - } - - // ----- Read the file content - $v_content = @fread($v_file, $p_header['size']); - - // ----- Close the file - @fclose($v_file); - - // ----- Calculate the CRC - $p_header['crc'] = @crc32($v_content); - - // ----- Look for no compression - if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) { - // ----- Set header parameters - $p_header['compressed_size'] = $p_header['size']; - $p_header['compression'] = 0; - } - - // ----- Look for normal compression - else { - // ----- Compress the content - $v_content = @gzdeflate($v_content); - - // ----- Set header parameters - $p_header['compressed_size'] = strlen($v_content); - $p_header['compression'] = 8; - } - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - @fclose($v_file); - return $v_result; - } - - // ----- Write the compressed (or not) content - @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']); - - } - - } - - // ----- Look for a virtual file (a file from string) - else if ($p_filedescr['type'] == 'virtual_file') { - - $v_content = $p_filedescr['content']; - - // ----- Calculate the CRC - $p_header['crc'] = @crc32($v_content); - - // ----- Look for no compression - if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) { - // ----- Set header parameters - $p_header['compressed_size'] = $p_header['size']; - $p_header['compression'] = 0; - } - - // ----- Look for normal compression - else { - // ----- Compress the content - $v_content = @gzdeflate($v_content); - - // ----- Set header parameters - $p_header['compressed_size'] = strlen($v_content); - $p_header['compression'] = 8; - } - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - @fclose($v_file); - return $v_result; - } - - // ----- Write the compressed (or not) content - @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']); - } - - // ----- Look for a directory - else if ($p_filedescr['type'] == 'folder') { - // ----- Look for directory last '/' - if (@substr($p_header['stored_filename'], -1) != '/') { - $p_header['stored_filename'] .= '/'; - } - - // ----- Set the file properties - $p_header['size'] = 0; - //$p_header['external'] = 0x41FF0010; // Value for a folder : to be checked - $p_header['external'] = 0x00000010; // Value for a folder : to be checked - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) - { - return $v_result; - } - } - } - - // ----- Look for post-add callback - if (isset($p_options[PCLZIP_CB_POST_ADD])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_header, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_ADD].'(PCLZIP_CB_POST_ADD, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_ADD](PCLZIP_CB_POST_ADD, $v_local_header); - if ($v_result == 0) { - // ----- Ignored - $v_result = 1; - } - - // ----- Update the informations - // Nothing can be modified - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFileUsingTempFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFileUsingTempFile($p_filedescr, &$p_header, &$p_options) - { - $v_result=PCLZIP_ERR_NO_ERROR; - - // ----- Working variable - $p_filename = $p_filedescr['filename']; - - - // ----- Open the source file - if (($v_file = @fopen($p_filename, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to open file '$p_filename' in binary read mode"); - return PclZip::errorCode(); - } - - // ----- Creates a compressed temporary file - $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz'; - if (($v_file_compressed = @gzopen($v_gzip_temp_name, "wb")) == 0) { - fclose($v_file); - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary write mode'); - return PclZip::errorCode(); - } - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = filesize($p_filename); - while ($v_size != 0) { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_file, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @gzputs($v_file_compressed, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close the file - @fclose($v_file); - @gzclose($v_file_compressed); - - // ----- Check the minimum file size - if (filesize($v_gzip_temp_name) < 18) { - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'gzip temporary file \''.$v_gzip_temp_name.'\' has invalid filesize - should be minimum 18 bytes'); - return PclZip::errorCode(); - } - - // ----- Extract the compressed attributes - if (($v_file_compressed = @fopen($v_gzip_temp_name, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - // ----- Read the gzip file header - $v_binary_data = @fread($v_file_compressed, 10); - $v_data_header = unpack('a1id1/a1id2/a1cm/a1flag/Vmtime/a1xfl/a1os', $v_binary_data); - - // ----- Check some parameters - $v_data_header['os'] = bin2hex($v_data_header['os']); - - // ----- Read the gzip file footer - @fseek($v_file_compressed, filesize($v_gzip_temp_name)-8); - $v_binary_data = @fread($v_file_compressed, 8); - $v_data_footer = unpack('Vcrc/Vcompressed_size', $v_binary_data); - - // ----- Set the attributes - $p_header['compression'] = ord($v_data_header['cm']); - //$p_header['mtime'] = $v_data_header['mtime']; - $p_header['crc'] = $v_data_footer['crc']; - $p_header['compressed_size'] = filesize($v_gzip_temp_name)-18; - - // ----- Close the file - @fclose($v_file_compressed); - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - return $v_result; - } - - // ----- Add the compressed data - if (($v_file_compressed = @fopen($v_gzip_temp_name, "rb")) == 0) - { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - fseek($v_file_compressed, 10); - $v_size = $p_header['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_file_compressed, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close the file - @fclose($v_file_compressed); - - // ----- Unlink the temporary file - @unlink($v_gzip_temp_name); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCalculateStoredFilename() - // Description : - // Based on file descriptor properties and global options, this method - // calculate the filename that will be stored in the archive. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privCalculateStoredFilename(&$p_filedescr, &$p_options) - { - $v_result=1; - - // ----- Working variables - $p_filename = $p_filedescr['filename']; - if (isset($p_options[PCLZIP_OPT_ADD_PATH])) { - $p_add_dir = $p_options[PCLZIP_OPT_ADD_PATH]; - } - else { - $p_add_dir = ''; - } - if (isset($p_options[PCLZIP_OPT_REMOVE_PATH])) { - $p_remove_dir = $p_options[PCLZIP_OPT_REMOVE_PATH]; - } - else { - $p_remove_dir = ''; - } - if (isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $p_remove_all_dir = $p_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - else { - $p_remove_all_dir = 0; - } - - - // ----- Look for full name change - if (isset($p_filedescr['new_full_name'])) { - // ----- Remove drive letter if any - $v_stored_filename = PclZipUtilTranslateWinPath($p_filedescr['new_full_name']); - } - - // ----- Look for path and/or short name change - else { - - // ----- Look for short name change - // Its when we cahnge just the filename but not the path - if (isset($p_filedescr['new_short_name'])) { - $v_path_info = pathinfo($p_filename); - $v_dir = ''; - if ($v_path_info['dirname'] != '') { - $v_dir = $v_path_info['dirname'].'/'; - } - $v_stored_filename = $v_dir.$p_filedescr['new_short_name']; - } - else { - // ----- Calculate the stored filename - $v_stored_filename = $p_filename; - } - - // ----- Look for all path to remove - if ($p_remove_all_dir) { - $v_stored_filename = basename($p_filename); - } - // ----- Look for partial path remove - else if ($p_remove_dir != "") { - if (substr($p_remove_dir, -1) != '/') - $p_remove_dir .= "/"; - - if ( (substr($p_filename, 0, 2) == "./") - || (substr($p_remove_dir, 0, 2) == "./")) { - - if ( (substr($p_filename, 0, 2) == "./") - && (substr($p_remove_dir, 0, 2) != "./")) { - $p_remove_dir = "./".$p_remove_dir; - } - if ( (substr($p_filename, 0, 2) != "./") - && (substr($p_remove_dir, 0, 2) == "./")) { - $p_remove_dir = substr($p_remove_dir, 2); - } - } - - $v_compare = PclZipUtilPathInclusion($p_remove_dir, - $v_stored_filename); - if ($v_compare > 0) { - if ($v_compare == 2) { - $v_stored_filename = ""; - } - else { - $v_stored_filename = substr($v_stored_filename, - strlen($p_remove_dir)); - } - } - } - - // ----- Remove drive letter if any - $v_stored_filename = PclZipUtilTranslateWinPath($v_stored_filename); - - // ----- Look for path to add - if ($p_add_dir != "") { - if (substr($p_add_dir, -1) == "/") - $v_stored_filename = $p_add_dir.$v_stored_filename; - else - $v_stored_filename = $p_add_dir."/".$v_stored_filename; - } - } - - // ----- Filename (reduce the path of stored name) - $v_stored_filename = PclZipUtilPathReduction($v_stored_filename); - $p_filedescr['stored_filename'] = $v_stored_filename; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteFileHeader(&$p_header) - { - $v_result=1; - - // ----- Store the offset position of the file - $p_header['offset'] = ftell($this->zip_fd); - - // ----- Transform UNIX mtime to DOS format mdate/mtime - $v_date = getdate($p_header['mtime']); - $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; - $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; - - // ----- Packed data - $v_binary_data = pack("VvvvvvVVVvv", 0x04034b50, - $p_header['version_extracted'], $p_header['flag'], - $p_header['compression'], $v_mtime, $v_mdate, - $p_header['crc'], $p_header['compressed_size'], - $p_header['size'], - strlen($p_header['stored_filename']), - $p_header['extra_len']); - - // ----- Write the first 148 bytes of the header in the archive - fputs($this->zip_fd, $v_binary_data, 30); - - // ----- Write the variable fields - if (strlen($p_header['stored_filename']) != 0) - { - fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename'])); - } - if ($p_header['extra_len'] != 0) - { - fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteCentralFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteCentralFileHeader(&$p_header) - { - $v_result=1; - - // TBC - //for(reset($p_header); $key = key($p_header); next($p_header)) { - //} - - // ----- Transform UNIX mtime to DOS format mdate/mtime - $v_date = getdate($p_header['mtime']); - $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; - $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; - - - // ----- Packed data - $v_binary_data = pack("VvvvvvvVVVvvvvvVV", 0x02014b50, - $p_header['version'], $p_header['version_extracted'], - $p_header['flag'], $p_header['compression'], - $v_mtime, $v_mdate, $p_header['crc'], - $p_header['compressed_size'], $p_header['size'], - strlen($p_header['stored_filename']), - $p_header['extra_len'], $p_header['comment_len'], - $p_header['disk'], $p_header['internal'], - $p_header['external'], $p_header['offset']); - - // ----- Write the 42 bytes of the header in the zip file - fputs($this->zip_fd, $v_binary_data, 46); - - // ----- Write the variable fields - if (strlen($p_header['stored_filename']) != 0) - { - fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename'])); - } - if ($p_header['extra_len'] != 0) - { - fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']); - } - if ($p_header['comment_len'] != 0) - { - fputs($this->zip_fd, $p_header['comment'], $p_header['comment_len']); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteCentralHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteCentralHeader($p_nb_entries, $p_size, $p_offset, $p_comment) - { - $v_result=1; - - // ----- Packed data - $v_binary_data = pack("VvvvvVVv", 0x06054b50, 0, 0, $p_nb_entries, - $p_nb_entries, $p_size, - $p_offset, strlen($p_comment)); - - // ----- Write the 22 bytes of the header in the zip file - fputs($this->zip_fd, $v_binary_data, 22); - - // ----- Write the variable fields - if (strlen($p_comment) != 0) - { - fputs($this->zip_fd, $p_comment, strlen($p_comment)); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privList() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privList(&$p_list) - { - $v_result=1; - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) - { - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Go to beginning of Central Dir - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_central_dir['offset'])) - { - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read each entry - for ($i=0; $i<$v_central_dir['entries']; $i++) - { - // ----- Read the file header - if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - $v_header['index'] = $i; - - // ----- Get the only interesting attributes - $this->privConvertHeader2FileInfo($v_header, $p_list[$i]); - unset($v_header); - } - - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privConvertHeader2FileInfo() - // Description : - // This function takes the file informations from the central directory - // entries and extract the interesting parameters that will be given back. - // The resulting file infos are set in the array $p_info - // $p_info['filename'] : Filename with full path. Given by user (add), - // extracted in the filesystem (extract). - // $p_info['stored_filename'] : Stored filename in the archive. - // $p_info['size'] = Size of the file. - // $p_info['compressed_size'] = Compressed size of the file. - // $p_info['mtime'] = Last modification date of the file. - // $p_info['comment'] = Comment associated with the file. - // $p_info['folder'] = true/false : indicates if the entry is a folder or not. - // $p_info['status'] = status of the action on the file. - // $p_info['crc'] = CRC of the file content. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privConvertHeader2FileInfo($p_header, &$p_info) - { - $v_result=1; - - // ----- Get the interesting attributes - $v_temp_path = PclZipUtilPathReduction($p_header['filename']); - $p_info['filename'] = $v_temp_path; - $v_temp_path = PclZipUtilPathReduction($p_header['stored_filename']); - $p_info['stored_filename'] = $v_temp_path; - $p_info['size'] = $p_header['size']; - $p_info['compressed_size'] = $p_header['compressed_size']; - $p_info['mtime'] = $p_header['mtime']; - $p_info['comment'] = $p_header['comment']; - $p_info['folder'] = (($p_header['external']&0x00000010)==0x00000010); - $p_info['index'] = $p_header['index']; - $p_info['status'] = $p_header['status']; - $p_info['crc'] = $p_header['crc']; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractByRule() - // Description : - // Extract a file or directory depending of rules (by index, by name, ...) - // Parameters : - // $p_file_list : An array where will be placed the properties of each - // extracted file - // $p_path : Path to add while writing the extracted files - // $p_remove_path : Path to remove (from the file memorized path) while writing the - // extracted files. If the path does not match the file path, - // the file is extracted with its memorized path. - // $p_remove_path does not apply to 'list' mode. - // $p_path and $p_remove_path are commulative. - // Return Values : - // 1 on success,0 or less on error (see error code list) - // -------------------------------------------------------------------------------- - function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) - { - $v_result=1; - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Check the path - if ( ($p_path == "") - || ( (substr($p_path, 0, 1) != "/") - && (substr($p_path, 0, 3) != "../") - && (substr($p_path,1,2)!=":/"))) - $p_path = "./".$p_path; - - // ----- Reduce the path last (and duplicated) '/' - if (($p_path != "./") && ($p_path != "/")) - { - // ----- Look for the path end '/' - while (substr($p_path, -1) == "/") - { - $p_path = substr($p_path, 0, strlen($p_path)-1); - } - } - - // ----- Look for path to remove format (should end by /) - if (($p_remove_path != "") && (substr($p_remove_path, -1) != '/')) - { - $p_remove_path .= '/'; - } - $p_remove_path_size = strlen($p_remove_path); - - // ----- Open the zip file - if (($v_result = $this->privOpenFd('rb')) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Start at beginning of Central Dir - $v_pos_entry = $v_central_dir['offset']; - - // ----- Read each entry - $j_start = 0; - for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) - { - - // ----- Read next Central dir entry - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_pos_entry)) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the file header - $v_header = array(); - if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Store the index - $v_header['index'] = $i; - - // ----- Store the file position - $v_pos_entry = ftell($this->zip_fd); - - // ----- Look for the specific extract rules - $v_extract = false; - - // ----- Look for extract by name rule - if ( (isset($p_options[PCLZIP_OPT_BY_NAME])) - && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) { - - // ----- Look if the filename is in the list - for ($j=0; ($j<sizeof($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_extract); $j++) { - - // ----- Look for a directory - if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") { - - // ----- Look if the directory is in the filename path - if ( (strlen($v_header['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) - && (substr($v_header['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_extract = true; - } - } - // ----- Look for a filename - elseif ($v_header['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) { - $v_extract = true; - } - } - } - - // ----- Look for extract by ereg rule - // ereg() is deprecated with PHP 5.3 - /* - else if ( (isset($p_options[PCLZIP_OPT_BY_EREG])) - && ($p_options[PCLZIP_OPT_BY_EREG] != "")) { - - if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header['stored_filename'])) { - $v_extract = true; - } - } - */ - - // ----- Look for extract by preg rule - else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) - && ($p_options[PCLZIP_OPT_BY_PREG] != "")) { - - if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header['stored_filename'])) { - $v_extract = true; - } - } - - // ----- Look for extract by index rule - else if ( (isset($p_options[PCLZIP_OPT_BY_INDEX])) - && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) { - - // ----- Look if the index is in the list - for ($j=$j_start; ($j<sizeof($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_extract); $j++) { - - if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) { - $v_extract = true; - } - if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) { - $j_start = $j+1; - } - - if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) { - break; - } - } - } - - // ----- Look for no rule, which means extract all the archive - else { - $v_extract = true; - } - - // ----- Check compression method - if ( ($v_extract) - && ( ($v_header['compression'] != 8) - && ($v_header['compression'] != 0))) { - $v_header['status'] = 'unsupported_compression'; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_COMPRESSION, - "Filename '".$v_header['stored_filename']."' is " - ."compressed by an unsupported compression " - ."method (".$v_header['compression'].") "); - - return PclZip::errorCode(); - } - } - - // ----- Check encrypted files - if (($v_extract) && (($v_header['flag'] & 1) == 1)) { - $v_header['status'] = 'unsupported_encryption'; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, - "Unsupported encryption for " - ." filename '".$v_header['stored_filename'] - ."'"); - - return PclZip::errorCode(); - } - } - - // ----- Look for real extraction - if (($v_extract) && ($v_header['status'] != 'ok')) { - $v_result = $this->privConvertHeader2FileInfo($v_header, - $p_file_list[$v_nb_extracted++]); - if ($v_result != 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - $v_extract = false; - } - - // ----- Look for real extraction - if ($v_extract) - { - - // ----- Go to the file position - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_header['offset'])) - { - // ----- Close the zip file - $this->privCloseFd(); - - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for extraction as string - if ($p_options[PCLZIP_OPT_EXTRACT_AS_STRING]) { - - $v_string = ''; - - // ----- Extracting the file - $v_result1 = $this->privExtractFileAsString($v_header, $v_string, $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Set the file content - $p_file_list[$v_nb_extracted]['content'] = $v_string; - - // ----- Next extracted file - $v_nb_extracted++; - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - // ----- Look for extraction in standard output - elseif ( (isset($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) - && ($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) { - // ----- Extracting the file in standard output - $v_result1 = $this->privExtractFileInOutput($v_header, $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - // ----- Look for normal extraction - else { - // ----- Extracting the file - $v_result1 = $this->privExtractFile($v_header, - $p_path, $p_remove_path, - $p_remove_all_path, - $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - } - } - - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFile() - // Description : - // Parameters : - // Return Values : - // - // 1 : ... ? - // PCLZIP_ERR_USER_ABORTED(2) : User ask for extraction stop in callback - // -------------------------------------------------------------------------------- - function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) - { - $v_result=1; - - // ----- Read the file header - if (($v_result = $this->privReadFileHeader($v_header)) != 1) - { - // ----- Return - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for all path to remove - if ($p_remove_all_path == true) { - // ----- Look for folder entry that not need to be extracted - if (($p_entry['external']&0x00000010)==0x00000010) { - - $p_entry['status'] = "filtered"; - - return $v_result; - } - - // ----- Get the basename of the path - $p_entry['filename'] = basename($p_entry['filename']); - } - - // ----- Look for path to remove - else if ($p_remove_path != "") - { - if (PclZipUtilPathInclusion($p_remove_path, $p_entry['filename']) == 2) - { - - // ----- Change the file status - $p_entry['status'] = "filtered"; - - // ----- Return - return $v_result; - } - - $p_remove_path_size = strlen($p_remove_path); - if (substr($p_entry['filename'], 0, $p_remove_path_size) == $p_remove_path) - { - - // ----- Remove the path - $p_entry['filename'] = substr($p_entry['filename'], $p_remove_path_size); - - } - } - - // ----- Add the path - if ($p_path != '') { - $p_entry['filename'] = $p_path."/".$p_entry['filename']; - } - - // ----- Check a base_dir_restriction - if (isset($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION])) { - $v_inclusion - = PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION], - $p_entry['filename']); - if ($v_inclusion == 0) { - - PclZip::privErrorLog(PCLZIP_ERR_DIRECTORY_RESTRICTION, - "Filename '".$p_entry['filename']."' is " - ."outside PCLZIP_OPT_EXTRACT_DIR_RESTRICTION"); - - return PclZip::errorCode(); - } - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Look for specific actions while the file exist - if (file_exists($p_entry['filename'])) - { - - // ----- Look if file is a directory - if (is_dir($p_entry['filename'])) - { - - // ----- Change the file status - $p_entry['status'] = "already_a_directory"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_ALREADY_A_DIRECTORY, - "Filename '".$p_entry['filename']."' is " - ."already used by an existing directory"); - - return PclZip::errorCode(); - } - } - // ----- Look if file is write protected - else if (!is_writeable($p_entry['filename'])) - { - - // ----- Change the file status - $p_entry['status'] = "write_protected"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, - "Filename '".$p_entry['filename']."' exists " - ."and is write protected"); - - return PclZip::errorCode(); - } - } - - // ----- Look if the extracted file is older - else if (filemtime($p_entry['filename']) > $p_entry['mtime']) - { - // ----- Change the file status - if ( (isset($p_options[PCLZIP_OPT_REPLACE_NEWER])) - && ($p_options[PCLZIP_OPT_REPLACE_NEWER]===true)) { - } - else { - $p_entry['status'] = "newer_exist"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, - "Newer version of '".$p_entry['filename']."' exists " - ."and option PCLZIP_OPT_REPLACE_NEWER is not selected"); - - return PclZip::errorCode(); - } - } - } - else { - } - } - - // ----- Check the directory availability and create it if necessary - else { - if ((($p_entry['external']&0x00000010)==0x00000010) || (substr($p_entry['filename'], -1) == '/')) - $v_dir_to_check = $p_entry['filename']; - else if (!strstr($p_entry['filename'], "/")) - $v_dir_to_check = ""; - else - $v_dir_to_check = dirname($p_entry['filename']); - - if (($v_result = $this->privDirCheck($v_dir_to_check, (($p_entry['external']&0x00000010)==0x00000010))) != 1) { - - // ----- Change the file status - $p_entry['status'] = "path_creation_fail"; - - // ----- Return - //return $v_result; - $v_result = 1; - } - } - } - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) - { - // ----- Look for not compressed file - if ($p_entry['compression'] == 0) { - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) - { - - // ----- Change the file status - $p_entry['status'] = "write_error"; - - // ----- Return - return $v_result; - } - - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - /* Try to speed up the code - $v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_binary_data, $v_read_size); - */ - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Closing the destination file - fclose($v_dest_file); - - // ----- Change the file mtime - touch($p_entry['filename'], $p_entry['mtime']); - - - } - else { - // ----- TBC - // Need to be finished - if (($p_entry['flag'] & 1) == 1) { - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, 'File \''.$p_entry['filename'].'\' is encrypted. Encrypted files are not supported.'); - return PclZip::errorCode(); - } - - - // ----- Look for using temporary file to unzip - if ( (!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) - && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) - || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_entry['size'])) ) ) { - $v_result = $this->privExtractFileUsingTempFile($p_entry, $p_options); - if ($v_result < PCLZIP_ERR_NO_ERROR) { - return $v_result; - } - } - - // ----- Look for extract in memory - else { - - - // ----- Read the compressed file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - $v_file_content = @gzinflate($v_buffer); - unset($v_buffer); - if ($v_file_content === FALSE) { - - // ----- Change the file status - // TBC - $p_entry['status'] = "error"; - - return $v_result; - } - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { - - // ----- Change the file status - $p_entry['status'] = "write_error"; - - return $v_result; - } - - // ----- Write the uncompressed data - @fwrite($v_dest_file, $v_file_content, $p_entry['size']); - unset($v_file_content); - - // ----- Closing the destination file - @fclose($v_dest_file); - - } - - // ----- Change the file mtime - @touch($p_entry['filename'], $p_entry['mtime']); - } - - // ----- Look for chmod option - if (isset($p_options[PCLZIP_OPT_SET_CHMOD])) { - - // ----- Change the mode of the file - @chmod($p_entry['filename'], $p_options[PCLZIP_OPT_SET_CHMOD]); - } - - } - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileUsingTempFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileUsingTempFile(&$p_entry, &$p_options) - { - $v_result=1; - - // ----- Creates a temporary file - $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz'; - if (($v_dest_file = @fopen($v_gzip_temp_name, "wb")) == 0) { - fclose($v_file); - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary write mode'); - return PclZip::errorCode(); - } - - - // ----- Write gz file format header - $v_binary_data = pack('va1a1Va1a1', 0x8b1f, Chr($p_entry['compression']), Chr(0x00), time(), Chr(0x00), Chr(3)); - @fwrite($v_dest_file, $v_binary_data, 10); - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Write gz file format footer - $v_binary_data = pack('VV', $p_entry['crc'], $p_entry['size']); - @fwrite($v_dest_file, $v_binary_data, 8); - - // ----- Close the temporary file - @fclose($v_dest_file); - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { - $p_entry['status'] = "write_error"; - return $v_result; - } - - // ----- Open the temporary gz file - if (($v_src_file = @gzopen($v_gzip_temp_name, 'rb')) == 0) { - @fclose($v_dest_file); - $p_entry['status'] = "read_error"; - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['size']; - while ($v_size != 0) { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($v_src_file, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - @fclose($v_dest_file); - @gzclose($v_src_file); - - // ----- Delete the temporary file - @unlink($v_gzip_temp_name); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileInOutput() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileInOutput(&$p_entry, &$p_options) - { - $v_result=1; - - // ----- Read the file header - if (($v_result = $this->privReadFileHeader($v_header)) != 1) { - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - // ----- Trace - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) { - // ----- Look for not compressed file - if ($p_entry['compressed_size'] == $p_entry['size']) { - - // ----- Read the file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Send the file to the output - echo $v_buffer; - unset($v_buffer); - } - else { - - // ----- Read the compressed file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - $v_file_content = gzinflate($v_buffer); - unset($v_buffer); - - // ----- Send the file to the output - echo $v_file_content; - unset($v_file_content); - } - } - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileAsString() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileAsString(&$p_entry, &$p_string, &$p_options) - { - $v_result=1; - - // ----- Read the file header - $v_header = array(); - if (($v_result = $this->privReadFileHeader($v_header)) != 1) - { - // ----- Return - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) { - // ----- Look for not compressed file - // if ($p_entry['compressed_size'] == $p_entry['size']) - if ($p_entry['compression'] == 0) { - - // ----- Reading the file - $p_string = @fread($this->zip_fd, $p_entry['compressed_size']); - } - else { - - // ----- Reading the file - $v_data = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - if (($p_string = @gzinflate($v_data)) === FALSE) { - // TBC - } - } - - // ----- Trace - } - else { - // TBC : error : can not extract a folder in a string - } - - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Swap the content to header - $v_local_header['content'] = $p_string; - $p_string = ''; - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Swap back the content to header - $p_string = $v_local_header['content']; - unset($v_local_header['content']); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadFileHeader(&$p_header) - { - $v_result=1; - - // ----- Read the 4 bytes signature - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] != 0x04034b50) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the first 42 bytes of the header - $v_binary_data = fread($this->zip_fd, 26); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 26) - { - $p_header['filename'] = ""; - $p_header['status'] = "invalid_header"; - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid block size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $v_data = unpack('vversion/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len', $v_binary_data); - - // ----- Get filename - $p_header['filename'] = fread($this->zip_fd, $v_data['filename_len']); - - // ----- Get extra_fields - if ($v_data['extra_len'] != 0) { - $p_header['extra'] = fread($this->zip_fd, $v_data['extra_len']); - } - else { - $p_header['extra'] = ''; - } - - // ----- Extract properties - $p_header['version_extracted'] = $v_data['version']; - $p_header['compression'] = $v_data['compression']; - $p_header['size'] = $v_data['size']; - $p_header['compressed_size'] = $v_data['compressed_size']; - $p_header['crc'] = $v_data['crc']; - $p_header['flag'] = $v_data['flag']; - $p_header['filename_len'] = $v_data['filename_len']; - - // ----- Recuperate date in UNIX format - $p_header['mdate'] = $v_data['mdate']; - $p_header['mtime'] = $v_data['mtime']; - if ($p_header['mdate'] && $p_header['mtime']) - { - // ----- Extract time - $v_hour = ($p_header['mtime'] & 0xF800) >> 11; - $v_minute = ($p_header['mtime'] & 0x07E0) >> 5; - $v_seconde = ($p_header['mtime'] & 0x001F)*2; - - // ----- Extract date - $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980; - $v_month = ($p_header['mdate'] & 0x01E0) >> 5; - $v_day = $p_header['mdate'] & 0x001F; - - // ----- Get UNIX date format - $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year); - - } - else - { - $p_header['mtime'] = time(); - } - - // TBC - //for(reset($v_data); $key = key($v_data); next($v_data)) { - //} - - // ----- Set the stored filename - $p_header['stored_filename'] = $p_header['filename']; - - // ----- Set the status field - $p_header['status'] = "ok"; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadCentralFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadCentralFileHeader(&$p_header) - { - $v_result=1; - - // ----- Read the 4 bytes signature - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] != 0x02014b50) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the first 42 bytes of the header - $v_binary_data = fread($this->zip_fd, 42); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 42) - { - $p_header['filename'] = ""; - $p_header['status'] = "invalid_header"; - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid block size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $p_header = unpack('vversion/vversion_extracted/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len/vcomment_len/vdisk/vinternal/Vexternal/Voffset', $v_binary_data); - - // ----- Get filename - if ($p_header['filename_len'] != 0) - $p_header['filename'] = fread($this->zip_fd, $p_header['filename_len']); - else - $p_header['filename'] = ''; - - // ----- Get extra - if ($p_header['extra_len'] != 0) - $p_header['extra'] = fread($this->zip_fd, $p_header['extra_len']); - else - $p_header['extra'] = ''; - - // ----- Get comment - if ($p_header['comment_len'] != 0) - $p_header['comment'] = fread($this->zip_fd, $p_header['comment_len']); - else - $p_header['comment'] = ''; - - // ----- Extract properties - - // ----- Recuperate date in UNIX format - //if ($p_header['mdate'] && $p_header['mtime']) - // TBC : bug : this was ignoring time with 0/0/0 - if (1) - { - // ----- Extract time - $v_hour = ($p_header['mtime'] & 0xF800) >> 11; - $v_minute = ($p_header['mtime'] & 0x07E0) >> 5; - $v_seconde = ($p_header['mtime'] & 0x001F)*2; - - // ----- Extract date - $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980; - $v_month = ($p_header['mdate'] & 0x01E0) >> 5; - $v_day = $p_header['mdate'] & 0x001F; - - // ----- Get UNIX date format - $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year); - - } - else - { - $p_header['mtime'] = time(); - } - - // ----- Set the stored filename - $p_header['stored_filename'] = $p_header['filename']; - - // ----- Set default status to ok - $p_header['status'] = 'ok'; - - // ----- Look if it is a directory - if (substr($p_header['filename'], -1) == '/') { - //$p_header['external'] = 0x41FF0010; - $p_header['external'] = 0x00000010; - } - - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCheckFileHeaders() - // Description : - // Parameters : - // Return Values : - // 1 on success, - // 0 on error; - // -------------------------------------------------------------------------------- - function privCheckFileHeaders(&$p_local_header, &$p_central_header) - { - $v_result=1; - - // ----- Check the static values - // TBC - if ($p_local_header['filename'] != $p_central_header['filename']) { - } - if ($p_local_header['version_extracted'] != $p_central_header['version_extracted']) { - } - if ($p_local_header['flag'] != $p_central_header['flag']) { - } - if ($p_local_header['compression'] != $p_central_header['compression']) { - } - if ($p_local_header['mtime'] != $p_central_header['mtime']) { - } - if ($p_local_header['filename_len'] != $p_central_header['filename_len']) { - } - - // ----- Look for flag bit 3 - if (($p_local_header['flag'] & 8) == 8) { - $p_local_header['size'] = $p_central_header['size']; - $p_local_header['compressed_size'] = $p_central_header['compressed_size']; - $p_local_header['crc'] = $p_central_header['crc']; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadEndCentralDir() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadEndCentralDir(&$p_central_dir) - { - $v_result=1; - - // ----- Go to the end of the zip file - $v_size = filesize($this->zipname); - @fseek($this->zip_fd, $v_size); - if (@ftell($this->zip_fd) != $v_size) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to go to the end of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- First try : look if this is an archive with no commentaries (most of the time) - // in this case the end of central dir is at 22 bytes of the file end - $v_found = 0; - if ($v_size > 26) { - @fseek($this->zip_fd, $v_size-22); - if (($v_pos = @ftell($this->zip_fd)) != ($v_size-22)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read for bytes - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = @unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] == 0x06054b50) { - $v_found = 1; - } - - $v_pos = ftell($this->zip_fd); - } - - // ----- Go back to the maximum possible size of the Central Dir End Record - if (!$v_found) { - $v_maximum_size = 65557; // 0xFFFF + 22; - if ($v_maximum_size > $v_size) - $v_maximum_size = $v_size; - @fseek($this->zip_fd, $v_size-$v_maximum_size); - if (@ftell($this->zip_fd) != ($v_size-$v_maximum_size)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read byte per byte in order to find the signature - $v_pos = ftell($this->zip_fd); - $v_bytes = 0x00000000; - while ($v_pos < $v_size) - { - // ----- Read a byte - $v_byte = @fread($this->zip_fd, 1); - - // ----- Add the byte - //$v_bytes = ($v_bytes << 8) | Ord($v_byte); - // Note we mask the old value down such that once shifted we can never end up with more than a 32bit number - // Otherwise on systems where we have 64bit integers the check below for the magic number will fail. - $v_bytes = ( ($v_bytes & 0xFFFFFF) << 8) | Ord($v_byte); - - // ----- Compare the bytes - if ($v_bytes == 0x504b0506) - { - $v_pos++; - break; - } - - $v_pos++; - } - - // ----- Look if not found end of central dir - if ($v_pos == $v_size) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Unable to find End of Central Dir Record signature"); - - // ----- Return - return PclZip::errorCode(); - } - } - - // ----- Read the first 18 bytes of the header - $v_binary_data = fread($this->zip_fd, 18); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 18) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid End of Central Dir Record size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $v_data = unpack('vdisk/vdisk_start/vdisk_entries/ventries/Vsize/Voffset/vcomment_size', $v_binary_data); - - // ----- Check the global size - if (($v_pos + $v_data['comment_size'] + 18) != $v_size) { - - // ----- Removed in release 2.2 see readme file - // The check of the file size is a little too strict. - // Some bugs where found when a zip is encrypted/decrypted with 'crypt'. - // While decrypted, zip has training 0 bytes - if (0) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, - 'The central dir is not at the end of the archive.' - .' Some trailing bytes exists after the archive.'); - - // ----- Return - return PclZip::errorCode(); - } - } - - // ----- Get comment - if ($v_data['comment_size'] != 0) { - $p_central_dir['comment'] = fread($this->zip_fd, $v_data['comment_size']); - } - else - $p_central_dir['comment'] = ''; - - $p_central_dir['entries'] = $v_data['entries']; - $p_central_dir['disk_entries'] = $v_data['disk_entries']; - $p_central_dir['offset'] = $v_data['offset']; - $p_central_dir['size'] = $v_data['size']; - $p_central_dir['disk'] = $v_data['disk']; - $p_central_dir['disk_start'] = $v_data['disk_start']; - - // TBC - //for(reset($p_central_dir); $key = key($p_central_dir); next($p_central_dir)) { - //} - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDeleteByRule() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDeleteByRule(&$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Scan all the files - // ----- Start at beginning of Central Dir - $v_pos_entry = $v_central_dir['offset']; - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_pos_entry)) - { - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read each entry - $v_header_list = array(); - $j_start = 0; - for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) - { - - // ----- Read the file header - $v_header_list[$v_nb_extracted] = array(); - if (($v_result = $this->privReadCentralFileHeader($v_header_list[$v_nb_extracted])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - - return $v_result; - } - - - // ----- Store the index - $v_header_list[$v_nb_extracted]['index'] = $i; - - // ----- Look for the specific extract rules - $v_found = false; - - // ----- Look for extract by name rule - if ( (isset($p_options[PCLZIP_OPT_BY_NAME])) - && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) { - - // ----- Look if the filename is in the list - for ($j=0; ($j<sizeof($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_found); $j++) { - - // ----- Look for a directory - if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") { - - // ----- Look if the directory is in the filename path - if ( (strlen($v_header_list[$v_nb_extracted]['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) - && (substr($v_header_list[$v_nb_extracted]['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_found = true; - } - elseif ( (($v_header_list[$v_nb_extracted]['external']&0x00000010)==0x00000010) /* Indicates a folder */ - && ($v_header_list[$v_nb_extracted]['stored_filename'].'/' == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_found = true; - } - } - // ----- Look for a filename - elseif ($v_header_list[$v_nb_extracted]['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) { - $v_found = true; - } - } - } - - // ----- Look for extract by ereg rule - // ereg() is deprecated with PHP 5.3 - /* - else if ( (isset($p_options[PCLZIP_OPT_BY_EREG])) - && ($p_options[PCLZIP_OPT_BY_EREG] != "")) { - - if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header_list[$v_nb_extracted]['stored_filename'])) { - $v_found = true; - } - } - */ - - // ----- Look for extract by preg rule - else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) - && ($p_options[PCLZIP_OPT_BY_PREG] != "")) { - - if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header_list[$v_nb_extracted]['stored_filename'])) { - $v_found = true; - } - } - - // ----- Look for extract by index rule - else if ( (isset($p_options[PCLZIP_OPT_BY_INDEX])) - && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) { - - // ----- Look if the index is in the list - for ($j=$j_start; ($j<sizeof($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_found); $j++) { - - if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) { - $v_found = true; - } - if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) { - $j_start = $j+1; - } - - if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) { - break; - } - } - } - else { - $v_found = true; - } - - // ----- Look for deletion - if ($v_found) - { - unset($v_header_list[$v_nb_extracted]); - } - else - { - $v_nb_extracted++; - } - } - - // ----- Look if something need to be deleted - if ($v_nb_extracted > 0) { - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Creates a temporary zip archive - $v_temp_zip = new PclZip($v_zip_temp_name); - - // ----- Open the temporary zip file in write mode - if (($v_result = $v_temp_zip->privOpenFd('wb')) != 1) { - $this->privCloseFd(); - - // ----- Return - return $v_result; - } - - // ----- Look which file need to be kept - for ($i=0; $i<sizeof($v_header_list); $i++) { - - // ----- Calculate the position of the header - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_header_list[$i]['offset'])) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the file header - $v_local_header = array(); - if (($v_result = $this->privReadFileHeader($v_local_header)) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Check that local file header is same as central file header - if ($this->privCheckFileHeaders($v_local_header, - $v_header_list[$i]) != 1) { - // TBC - } - unset($v_local_header); - - // ----- Write the file header - if (($v_result = $v_temp_zip->privWriteFileHeader($v_header_list[$i])) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Read/write the data block - if (($v_result = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compressed_size'])) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($v_temp_zip->zip_fd); - - // ----- Re-Create the Central Dir files header - for ($i=0; $i<sizeof($v_header_list); $i++) { - // ----- Create the file header - if (($v_result = $v_temp_zip->privWriteCentralFileHeader($v_header_list[$i])) != 1) { - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Transform the header to a 'usable' info - $v_temp_zip->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - - // ----- Zip file comment - $v_comment = ''; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($v_temp_zip->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $v_temp_zip->privWriteCentralHeader(sizeof($v_header_list), $v_size, $v_offset, $v_comment)) != 1) { - // ----- Reset the file list - unset($v_header_list); - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Close - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Destroy the temporary archive - unset($v_temp_zip); - } - - // ----- Remove every files : reset the file - else if ($v_central_dir['entries'] != 0) { - $this->privCloseFd(); - - if (($v_result = $this->privOpenFd('wb')) != 1) { - return $v_result; - } - - if (($v_result = $this->privWriteCentralHeader(0, 0, 0, '')) != 1) { - return $v_result; - } - - $this->privCloseFd(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDirCheck() - // Description : - // Check if a directory exists, if not it creates it and all the parents directory - // which may be useful. - // Parameters : - // $p_dir : Directory path to check. - // Return Values : - // 1 : OK - // -1 : Unable to create directory - // -------------------------------------------------------------------------------- - function privDirCheck($p_dir, $p_is_dir=false) - { - $v_result = 1; - - - // ----- Remove the final '/' - if (($p_is_dir) && (substr($p_dir, -1)=='/')) - { - $p_dir = substr($p_dir, 0, strlen($p_dir)-1); - } - - // ----- Check the directory availability - if ((is_dir($p_dir)) || ($p_dir == "")) - { - return 1; - } - - // ----- Extract parent directory - $p_parent_dir = dirname($p_dir); - - // ----- Just a check - if ($p_parent_dir != $p_dir) - { - // ----- Look for parent directory - if ($p_parent_dir != "") - { - if (($v_result = $this->privDirCheck($p_parent_dir)) != 1) - { - return $v_result; - } - } - } - - // ----- Create the directory - if (!@mkdir($p_dir, 0777)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_DIR_CREATE_FAIL, "Unable to create directory '$p_dir'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privMerge() - // Description : - // If $p_archive_to_add does not exist, the function exit with a success result. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privMerge(&$p_archive_to_add) - { - $v_result=1; - - // ----- Look if the archive_to_add exists - if (!is_file($p_archive_to_add->zipname)) - { - - // ----- Nothing to merge, so merge is a success - $v_result = 1; - - // ----- Return - return $v_result; - } - - // ----- Look if the archive exists - if (!is_file($this->zipname)) - { - - // ----- Do a duplicate - $v_result = $this->privDuplicate($p_archive_to_add->zipname); - - // ----- Return - return $v_result; - } - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Open the archive_to_add file - if (($v_result=$p_archive_to_add->privOpenFd('rb')) != 1) - { - $this->privCloseFd(); - - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir_to_add = array(); - if (($v_result = $p_archive_to_add->privReadEndCentralDir($v_central_dir_to_add)) != 1) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - return $v_result; - } - - // ----- Go to beginning of File - @rewind($p_archive_to_add->zip_fd); - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_zip_temp_name.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = $v_central_dir['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Copy the files from the archive_to_add into the temporary file - $v_size = $v_central_dir_to_add['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($p_archive_to_add->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($v_zip_temp_fd); - - // ----- Copy the block of file headers from the old archive - $v_size = $v_central_dir['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Copy the block of file headers from the archive_to_add - $v_size = $v_central_dir_to_add['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_archive_to_add->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Merge the file comments - $v_comment = $v_central_dir['comment'].' '.$v_central_dir_to_add['comment']; - - // ----- Calculate the size of the (new) central header - $v_size = @ftell($v_zip_temp_fd)-$v_offset; - - // ----- Swap the file descriptor - // Here is a trick : I swap the temporary fd with the zip fd, in order to use - // the following methods on the temporary fil and not the real archive fd - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_central_dir['entries']+$v_central_dir_to_add['entries'], $v_size, $v_offset, $v_comment)) != 1) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - @fclose($v_zip_temp_fd); - $this->zip_fd = null; - - // ----- Reset the file list - unset($v_header_list); - - // ----- Return - return $v_result; - } - - // ----- Swap back the file descriptor - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Close - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDuplicate() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDuplicate($p_archive_filename) - { - $v_result=1; - - // ----- Look if the $p_archive_filename exists - if (!is_file($p_archive_filename)) - { - - // ----- Nothing to duplicate, so duplicate is a success. - $v_result = 1; - - // ----- Return - return $v_result; - } - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('wb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($p_archive_filename, 'rb')) == 0) - { - $this->privCloseFd(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive file \''.$p_archive_filename.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = filesize($p_archive_filename); - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($v_zip_temp_fd, $v_read_size); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close - $this->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privErrorLog() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privErrorLog($p_error_code=0, $p_error_string='') - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - PclError($p_error_code, $p_error_string); - } - else { - $this->error_code = $p_error_code; - $this->error_string = $p_error_string; - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privErrorReset() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privErrorReset() - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - PclErrorReset(); - } - else { - $this->error_code = 0; - $this->error_string = ''; - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDisableMagicQuotes() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDisableMagicQuotes() - { - $v_result=1; - - // ----- Look if function exists - if ( (!function_exists("get_magic_quotes_runtime")) - || (!function_exists("set_magic_quotes_runtime"))) { - return $v_result; - } - - // ----- Look if already done - if ($this->magic_quotes_status != -1) { - return $v_result; - } - - // ----- Get and memorize the magic_quote value - $this->magic_quotes_status = @get_magic_quotes_runtime(); - - // ----- Disable magic_quotes - if ($this->magic_quotes_status == 1) { - @set_magic_quotes_runtime(0); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privSwapBackMagicQuotes() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privSwapBackMagicQuotes() - { - $v_result=1; - - // ----- Look if function exists - if ( (!function_exists("get_magic_quotes_runtime")) - || (!function_exists("set_magic_quotes_runtime"))) { - return $v_result; - } - - // ----- Look if something to do - if ($this->magic_quotes_status != -1) { - return $v_result; - } - - // ----- Swap back magic_quotes - if ($this->magic_quotes_status == 1) { - @set_magic_quotes_runtime($this->magic_quotes_status); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - } - // End of class - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilPathReduction() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function PclZipUtilPathReduction($p_dir) - { - $v_result = ""; - - // ----- Look for not empty path - if ($p_dir != "") { - // ----- Explode path by directory names - $v_list = explode("/", $p_dir); - - // ----- Study directories from last to first - $v_skip = 0; - for ($i=sizeof($v_list)-1; $i>=0; $i--) { - // ----- Look for current path - if ($v_list[$i] == ".") { - // ----- Ignore this directory - // Should be the first $i=0, but no check is done - } - else if ($v_list[$i] == "..") { - $v_skip++; - } - else if ($v_list[$i] == "") { - // ----- First '/' i.e. root slash - if ($i == 0) { - $v_result = "/".$v_result; - if ($v_skip > 0) { - // ----- It is an invalid path, so the path is not modified - // TBC - $v_result = $p_dir; - $v_skip = 0; - } - } - // ----- Last '/' i.e. indicates a directory - else if ($i == (sizeof($v_list)-1)) { - $v_result = $v_list[$i]; - } - // ----- Double '/' inside the path - else { - // ----- Ignore only the double '//' in path, - // but not the first and last '/' - } - } - else { - // ----- Look for item to skip - if ($v_skip > 0) { - $v_skip--; - } - else { - $v_result = $v_list[$i].($i!=(sizeof($v_list)-1)?"/".$v_result:""); - } - } - } - - // ----- Look for skip - if ($v_skip > 0) { - while ($v_skip > 0) { - $v_result = '../'.$v_result; - $v_skip--; - } - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilPathInclusion() - // Description : - // This function indicates if the path $p_path is under the $p_dir tree. Or, - // said in an other way, if the file or sub-dir $p_path is inside the dir - // $p_dir. - // The function indicates also if the path is exactly the same as the dir. - // This function supports path with duplicated '/' like '//', but does not - // support '.' or '..' statements. - // Parameters : - // Return Values : - // 0 if $p_path is not inside directory $p_dir - // 1 if $p_path is inside directory $p_dir - // 2 if $p_path is exactly the same as $p_dir - // -------------------------------------------------------------------------------- - function PclZipUtilPathInclusion($p_dir, $p_path) - { - $v_result = 1; - - // ----- Look for path beginning by ./ - if ( ($p_dir == '.') - || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) { - $p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1); - } - if ( ($p_path == '.') - || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) { - $p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1); - } - - // ----- Explode dir and path by directory separator - $v_list_dir = explode("/", $p_dir); - $v_list_dir_size = sizeof($v_list_dir); - $v_list_path = explode("/", $p_path); - $v_list_path_size = sizeof($v_list_path); - - // ----- Study directories paths - $i = 0; - $j = 0; - while (($i < $v_list_dir_size) && ($j < $v_list_path_size) && ($v_result)) { - - // ----- Look for empty dir (path reduction) - if ($v_list_dir[$i] == '') { - $i++; - continue; - } - if ($v_list_path[$j] == '') { - $j++; - continue; - } - - // ----- Compare the items - if (($v_list_dir[$i] != $v_list_path[$j]) && ($v_list_dir[$i] != '') && ( $v_list_path[$j] != '')) { - $v_result = 0; - } - - // ----- Next items - $i++; - $j++; - } - - // ----- Look if everything seems to be the same - if ($v_result) { - // ----- Skip all the empty items - while (($j < $v_list_path_size) && ($v_list_path[$j] == '')) $j++; - while (($i < $v_list_dir_size) && ($v_list_dir[$i] == '')) $i++; - - if (($i >= $v_list_dir_size) && ($j >= $v_list_path_size)) { - // ----- There are exactly the same - $v_result = 2; - } - else if ($i < $v_list_dir_size) { - // ----- The path is shorter than the dir - $v_result = 0; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilCopyBlock() - // Description : - // Parameters : - // $p_mode : read/write compression mode - // 0 : src & dest normal - // 1 : src gzip, dest normal - // 2 : src normal, dest gzip - // 3 : src & dest gzip - // Return Values : - // -------------------------------------------------------------------------------- - function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0) - { - $v_result = 1; - - if ($p_mode==0) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_src, $v_read_size); - @fwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==1) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($p_src, $v_read_size); - @fwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==2) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_src, $v_read_size); - @gzwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==3) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($p_src, $v_read_size); - @gzwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilRename() - // Description : - // This function tries to do a simple rename() function. If it fails, it - // tries to copy the $p_src file in a new $p_dest file and then unlink the - // first one. - // Parameters : - // $p_src : Old filename - // $p_dest : New filename - // Return Values : - // 1 on success, 0 on failure. - // -------------------------------------------------------------------------------- - function PclZipUtilRename($p_src, $p_dest) - { - $v_result = 1; - - // ----- Try to rename the files - if (!@rename($p_src, $p_dest)) { - - // ----- Try to copy & unlink the src - if (!@copy($p_src, $p_dest)) { - $v_result = 0; - } - else if (!@unlink($p_src)) { - $v_result = 0; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilOptionText() - // Description : - // Translate option value in text. Mainly for debug purpose. - // Parameters : - // $p_option : the option value. - // Return Values : - // The option text value. - // -------------------------------------------------------------------------------- - function PclZipUtilOptionText($p_option) - { - - $v_list = get_defined_constants(); - for (reset($v_list); $v_key = key($v_list); next($v_list)) { - $v_prefix = substr($v_key, 0, 10); - if (( ($v_prefix == 'PCLZIP_OPT') - || ($v_prefix == 'PCLZIP_CB_') - || ($v_prefix == 'PCLZIP_ATT')) - && ($v_list[$v_key] == $p_option)) { - return $v_key; - } - } - - $v_result = 'Unknown'; - - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilTranslateWinPath() - // Description : - // Translate windows path by replacing '\' by '/' and optionally removing - // drive letter. - // Parameters : - // $p_path : path to translate. - // $p_remove_disk_letter : true | false - // Return Values : - // The path translated. - // -------------------------------------------------------------------------------- - function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true) - { - if (stristr(php_uname(), 'windows')) { - // ----- Look for potential disk letter - if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) { - $p_path = substr($p_path, $v_position+1); - } - // ----- Change potential windows directory separator - if ((strpos($p_path, '\\') > 0) || (substr($p_path, 0,1) == '\\')) { - $p_path = strtr($p_path, '\\', '/'); - } - } - return $p_path; - } - // -------------------------------------------------------------------------------- - - -?> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/readme.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/readme.txt deleted file mode 100644 index 6ed883947..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PCLZip/readme.txt +++ /dev/null @@ -1,421 +0,0 @@ -// -------------------------------------------------------------------------------- -// PclZip 2.8.2 - readme.txt -// -------------------------------------------------------------------------------- -// License GNU/LGPL - August 2009 -// Vincent Blavet - vincent@phpconcept.net -// http://www.phpconcept.net -// -------------------------------------------------------------------------------- -// $Id: readme.txt,v 1.60 2009/09/30 20:35:21 vblavet Exp $ -// -------------------------------------------------------------------------------- - - - -0 - Sommaire -============ - 1 - Introduction - 2 - What's new - 3 - Corrected bugs - 4 - Known bugs or limitations - 5 - License - 6 - Warning - 7 - Documentation - 8 - Author - 9 - Contribute - -1 - Introduction -================ - - PclZip is a library that allow you to manage a Zip archive. - - Full documentation about PclZip can be found here : http://www.phpconcept.net/pclzip - -2 - What's new -============== - - Version 2.8.2 : - - PCLZIP_CB_PRE_EXTRACT and PCLZIP_CB_POST_EXTRACT are now supported with - extraction as a string (PCLZIP_OPT_EXTRACT_AS_STRING). The string - can also be modified in the post-extract call back. - **Bugs correction : - - PCLZIP_OPT_REMOVE_ALL_PATH was not working correctly - - Remove use of eval() and do direct call to callback functions - - Correct support of 64bits systems (Thanks to WordPress team) - - Version 2.8.1 : - - Move option PCLZIP_OPT_BY_EREG to PCLZIP_OPT_BY_PREG because ereg() is - deprecated in PHP 5.3. When using option PCLZIP_OPT_BY_EREG, PclZip will - automatically replace it by PCLZIP_OPT_BY_PREG. - - Version 2.8 : - - Improve extraction of zip archive for large files by using temporary files - This feature is working like the one defined in r2.7. - Options are renamed : PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_OFF, - PCLZIP_OPT_TEMP_FILE_THRESHOLD - - Add a ratio constant PCLZIP_TEMPORARY_FILE_RATIO to configure the auto - sense of temporary file use. - - Bug correction : Reduce filepath in returned file list to remove ennoying - './/' preambule in file path. - - Version 2.7 : - - Improve creation of zip archive for large files : - PclZip will now autosense the configured memory and use temporary files - when large file is suspected. - This feature can also ne triggered by manual options in create() and add() - methods. 'PCLZIP_OPT_ADD_TEMP_FILE_ON' force the use of temporary files, - 'PCLZIP_OPT_ADD_TEMP_FILE_OFF' disable the autosense technic, - 'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD' allow for configuration of a size - threshold to use temporary files. - Using "temporary files" rather than "memory" might take more time, but - might give the ability to zip very large files : - Tested on my win laptop with a 88Mo file : - Zip "in-memory" : 18sec (max_execution_time=30, memory_limit=180Mo) - Zip "tmporary-files" : 23sec (max_execution_time=30, memory_limit=30Mo) - - Replace use of mktime() by time() to limit the E_STRICT error messages. - - Bug correction : When adding files with full windows path (drive letter) - PclZip is now working. Before, if the drive letter is not the default - path, PclZip was not able to add the file. - - Version 2.6 : - - Code optimisation - - New attributes PCLZIP_ATT_FILE_COMMENT gives the ability to - add a comment for a specific file. (Don't really know if this is usefull) - - New attribute PCLZIP_ATT_FILE_CONTENT gives the ability to add a string - as a file. - - New attribute PCLZIP_ATT_FILE_MTIME modify the timestamp associated with - a file. - - Correct a bug. Files archived with a timestamp with 0h0m0s were extracted - with current time - - Add CRC value in the informations returned back for each file after an - action. - - Add missing closedir() statement. - - When adding a folder, and removing the path of this folder, files were - incorrectly added with a '/' at the beginning. Which means files are - related to root in unix systems. Corrected. - - Add conditional if before constant definition. This will allow users - to redefine constants without changing the file, and then improve - upgrade of pclzip code for new versions. - - Version 2.5 : - - Introduce the ability to add file/folder with individual properties (file descriptor). - This gives for example the ability to change the filename of a zipped file. - . Able to add files individually - . Able to change full name - . Able to change short name - . Compatible with global options - - New attributes : PCLZIP_ATT_FILE_NAME, PCLZIP_ATT_FILE_NEW_SHORT_NAME, PCLZIP_ATT_FILE_NEW_FULL_NAME - - New error code : PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE - - Add a security control feature. PclZip can extract any file in any folder - of a system. People may use this to upload a zip file and try to override - a system file. The PCLZIP_OPT_EXTRACT_DIR_RESTRICTION will give the - ability to forgive any directory transversal behavior. - - New PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : check extraction path - - New error code : PCLZIP_ERR_DIRECTORY_RESTRICTION - - Modification in PclZipUtilPathInclusion() : dir and path beginning with ./ will be prepend - by current path (getcwd()) - - Version 2.4 : - - Code improvment : try to speed up the code by removing unusefull call to pack() - - Correct bug in delete() : delete() should be called with no argument. This was not - the case in 2.3. This is corrected in 2.4. - - Correct a bug in path_inclusion function. When the path has several '../../', the - result was bad. - - Add a check for magic_quotes_runtime configuration. If enabled, PclZip will - disable it while working and det it back to its original value. - This resolve a lots of bad formated archive errors. - - Bug correction : PclZip now correctly unzip file in some specific situation, - when compressed content has same size as uncompressed content. - - Bug correction : When selecting option 'PCLZIP_OPT_REMOVE_ALL_PATH', - directories are not any more created. - - Code improvment : correct unclosed opendir(), better handling of . and .. in - loops. - - - Version 2.3 : - - Correct a bug with PHP5 : affecting the value 0xFE49FFE0 to a variable does not - give the same result in PHP4 and PHP5 .... - - Version 2.2 : - - Try development of PCLZIP_OPT_CRYPT ..... - However this becomes to a stop. To crypt/decrypt I need to multiply 2 long integers, - the result (greater than a long) is not supported by PHP. Even the use of bcmath - functions does not help. I did not find yet a solution ...; - - Add missing '/' at end of directory entries - - Check is a file is encrypted or not. Returns status 'unsupported_encryption' and/or - error code PCLZIP_ERR_UNSUPPORTED_ENCRYPTION. - - Corrected : Bad "version need to extract" field in local file header - - Add private method privCheckFileHeaders() in order to check local and central - file headers. PclZip is now supporting purpose bit flag bit 3. Purpose bit flag bit 3 gives - the ability to have a local file header without size, compressed size and crc filled. - - Add a generic status 'error' for file status - - Add control of compression type. PclZip only support deflate compression method. - Before v2.2, PclZip does not check the compression method used in an archive while - extracting. With v2.2 PclZip returns a new error status for a file using an unsupported - compression method. New status is "unsupported_compression". New error code is - PCLZIP_ERR_UNSUPPORTED_COMPRESSION. - - Add optional attribute PCLZIP_OPT_STOP_ON_ERROR. This will stop the extract of files - when errors like 'a folder with same name exists' or 'a newer file exists' or - 'a write protected file' exists, rather than set a status for the concerning file - and resume the extract of the zip. - - Add optional attribute PCLZIP_OPT_REPLACE_NEWER. This will force, during an extract' the - replacement of the file, even if a newer version of the file exists. - Note that today if a file with the same name already exists but is older it will be - replaced by the extracted one. - - Improve PclZipUtilOption() - - Support of zip archive with trailing bytes. Before 2.2, PclZip checks that the central - directory structure is the last data in the archive. Crypt encryption/decryption of - zip archive put trailing 0 bytes after decryption. PclZip is now supporting this. - - Version 2.1 : - - Add the ability to abort the extraction by using a user callback function. - The user can now return the value '2' in its callback which indicates to stop the - extraction. For a pre call-back extract is stopped before the extration of the current - file. For a post call back, the extraction is stopped after. - - Add the ability to extract a file (or several files) directly in the standard output. - This is done by the new parameter PCLZIP_OPT_EXTRACT_IN_OUTPUT with method extract(). - - Add support for parameters PCLZIP_OPT_COMMENT, PCLZIP_OPT_ADD_COMMENT, - PCLZIP_OPT_PREPEND_COMMENT. This will create, replace, add, or prepend comments - in the zip archive. - - When merging two archives, the comments are not any more lost, but merged, with a - blank space separator. - - Corrected bug : Files are not deleted when all files are asked to be deleted. - - Corrected bug : Folders with name '0' made PclZip to abort the create or add feature. - - - Version 2.0 : - ***** Warning : Some new features may break the backward compatibility for your scripts. - Please carefully read the readme file. - - Add the ability to delete by Index, name and regular expression. This feature is - performed by the method delete(), which uses the optional parameters - PCLZIP_OPT_BY_INDEX, PCLZIP_OPT_BY_NAME, PCLZIP_OPT_BY_EREG or PCLZIP_OPT_BY_PREG. - - Add the ability to extract by regular expression. To extract by regexp you must use the method - extract(), with the option PCLZIP_OPT_BY_EREG or PCLZIP_OPT_BY_PREG - (depending if you want to use ereg() or preg_match() syntax) followed by the - regular expression pattern. - - Add the ability to extract by index, directly with the extract() method. This is a - code improvment of the extractByIndex() method. - - Add the ability to extract by name. To extract by name you must use the method - extract(), with the option PCLZIP_OPT_BY_NAME followed by the filename to - extract or an array of filenames to extract. To extract all a folder, use the folder - name rather than the filename with a '/' at the end. - - Add the ability to add files without compression. This is done with a new attribute - which is PCLZIP_OPT_NO_COMPRESSION. - - Add the attribute PCLZIP_OPT_EXTRACT_AS_STRING, which allow to extract a file directly - in a string without using any file (or temporary file). - - Add constant PCLZIP_SEPARATOR for static configuration of filename separators in a single string. - The default separator is now a comma (,) and not any more a blank space. - THIS BREAK THE BACKWARD COMPATIBILITY : Please check if this may have an impact with - your script. - - Improve algorythm performance by removing the use of temporary files when adding or - extracting files in an archive. - - Add (correct) detection of empty filename zipping. This can occurs when the removed - path is the same - as a zipped dir. The dir is not zipped (['status'] = filtered), only its content. - - Add better support for windows paths (thanks for help from manus@manusfreedom.com). - - Corrected bug : When the archive file already exists with size=0, the add() method - fails. Corrected in 2.0. - - Remove the use of OS_WINDOWS constant. Use php_uname() function rather. - - Control the order of index ranges in extract by index feature. - - Change the internal management of folders (better handling of internal flag). - - - Version 1.3 : - - Removing the double include check. This is now done by include_once() and require_once() - PHP directives. - - Changing the error handling mecanism : Remove the use of an external error library. - The former PclError...() functions are replaced by internal equivalent methods. - By changing the environment variable PCLZIP_ERROR_EXTERNAL you can still use the former library. - Introducing the use of constants for error codes rather than integer values. This will help - in futur improvment. - Introduction of error handling functions like errorCode(), errorName() and errorInfo(). - - Remove the deprecated use of calling function with arguments passed by reference. - - Add the calling of extract(), extractByIndex(), create() and add() functions - with variable options rather than fixed arguments. - - Add the ability to remove all the file path while extracting or adding, - without any need to specify the path to remove. - This is available for extract(), extractByIndex(), create() and add() functionS by using - the new variable options parameters : - - PCLZIP_OPT_REMOVE_ALL_PATH : by indicating this option while calling the fct. - - Ability to change the mode of a file after the extraction (chmod()). - This is available for extract() and extractByIndex() functionS by using - the new variable options parameters. - - PCLZIP_OPT_SET_CHMOD : by setting the value of this option. - - Ability to definition call-back options. These call-back will be called during the adding, - or the extracting of file (extract(), extractByIndex(), create() and add() functions) : - - PCLZIP_CB_PRE_EXTRACT : will be called before each extraction of a file. The user - can trigerred the change the filename of the extracted file. The user can triggered the - skip of the extraction. This is adding a 'skipped' status in the file list result value. - - PCLZIP_CB_POST_EXTRACT : will be called after each extraction of a file. - Nothing can be triggered from that point. - - PCLZIP_CB_PRE_ADD : will be called before each add of a file. The user - can trigerred the change the stored filename of the added file. The user can triggered the - skip of the add. This is adding a 'skipped' status in the file list result value. - - PCLZIP_CB_POST_ADD : will be called after each add of a file. - Nothing can be triggered from that point. - - Two status are added in the file list returned as function result : skipped & filename_too_long - 'skipped' is used when a call-back function ask for skipping the file. - 'filename_too_long' is used while adding a file with a too long filename to archive (the file is - not added) - - Adding the function PclZipUtilPathInclusion(), that check the inclusion of a path into - a directory. - - Add a check of the presence of the archive file before some actions (like list, ...) - - Add the initialisation of field "index" in header array. This means that by - default index will be -1 when not explicitly set by the methods. - - Version 1.2 : - - Adding a duplicate function. - - Adding a merge function. The merge function is a "quick merge" function, - it just append the content of an archive at the end of the first one. There - is no check for duplicate files or more recent files. - - Improve the search of the central directory end. - - Version 1.1.2 : - - - Changing the license of PclZip. PclZip is now released under the GNU / LGPL license - (see License section). - - Adding the optional support of a static temporary directory. You will need to configure - the constant PCLZIP_TEMPORARY_DIR if you want to use this feature. - - Improving the rename() function. In some cases rename() does not work (different - Filesystems), so it will be replaced by a copy() + unlink() functions. - - Version 1.1.1 : - - - Maintenance release, no new feature. - - Version 1.1 : - - - New method Add() : adding files in the archive - - New method ExtractByIndex() : partial extract of the archive, files are identified by - their index in the archive - - New method DeleteByIndex() : delete some files/folder entries from the archive, - files are identified by their index in the archive. - - Adding a test of the zlib extension presence. If not present abort the script. - - Version 1.0.1 : - - - No new feature - - -3 - Corrected bugs -================== - - Corrected in Version 2.0 : - - Corrected : During an extraction, if a call-back fucntion is used and try to skip - a file, all the extraction process is stopped. - - Corrected in Version 1.3 : - - Corrected : Support of static synopsis for method extract() is broken. - - Corrected : invalid size of archive content field (0xFF) should be (0xFFFF). - - Corrected : When an extract is done with a remove_path parameter, the entry for - the directory with exactly the same path is not skipped/filtered. - - Corrected : extractByIndex() and deleteByIndex() were not managing index in the - right way. For example indexes '1,3-5,11' will only extract files 1 and 11. This - is due to a sort of the index resulting table that puts 11 before 3-5 (sort on - string and not interger). The sort is temporarilly removed, this means that - you must provide a sorted list of index ranges. - - Corrected in Version 1.2 : - - - Nothing. - - Corrected in Version 1.1.2 : - - - Corrected : Winzip is unable to delete or add new files in a PclZip created archives. - - Corrected in Version 1.1.1 : - - - Corrected : When archived file is not compressed (0% compression), the - extract method fails. - - Corrected in Version 1.1 : - - - Corrected : Adding a complete tree of folder may result in a bad archive - creation. - - Corrected in Version 1.0.1 : - - - Corrected : Error while compressing files greater than PCLZIP_READ_BLOCK_SIZE (default=1024). - - -4 - Known bugs or limitations -============================= - - Please publish bugs reports in SourceForge : - http://sourceforge.net/tracker/?group_id=40254&atid=427564 - - In Version 2.x : - - PclZip does only support file uncompressed or compressed with deflate (compression method 8) - - PclZip does not support password protected zip archive - - Some concern were seen when changing mtime of a file while archiving. - Seems to be linked to Daylight Saving Time (PclTest_changing_mtime). - - In Version 1.2 : - - - merge() methods does not check for duplicate files or last date of modifications. - - In Version 1.1 : - - - Limitation : Using 'extract' fields in the file header in the zip archive is not supported. - - WinZip is unable to delete a single file in a PclZip created archive. It is also unable to - add a file in a PclZip created archive. (Corrected in v.1.2) - - In Version 1.0.1 : - - - Adding a complete tree of folder may result in a bad archive - creation. (Corrected in V.1.1). - - Path given to methods must be in the unix format (/) and not the Windows format (\). - Workaround : Use only / directory separators. - - PclZip is using temporary files that are sometime the name of the file with a .tmp or .gz - added suffix. Files with these names may already exist and may be overwritten. - Workaround : none. - - PclZip does not check if the zlib extension is present. If it is absent, the zip - file is not created and the lib abort without warning. - Workaround : enable the zlib extension on the php install - - In Version 1.0 : - - - Error while compressing files greater than PCLZIP_READ_BLOCK_SIZE (default=1024). - (Corrected in v.1.0.1) - - Limitation : Multi-disk zip archive are not supported. - - -5 - License -=========== - - Since version 1.1.2, PclZip Library is released under GNU/LGPL license. - This library is free, so you can use it at no cost. - - HOWEVER, if you release a script, an application, a library or any kind of - code using PclZip library (or a part of it), YOU MUST : - - Indicate in the documentation (or a readme file), that your work - uses PclZip Library, and make a reference to the author and the web site - http://www.phpconcept.net - - Gives the ability to the final user to update the PclZip libary. - - I will also appreciate that you send me a mail (vincent@phpconcept.net), just to - be aware that someone is using PclZip. - - For more information about GNU/LGPL license : http://www.gnu.org - -6 - Warning -================= - - This library and the associated files are non commercial, non professional work. - It should not have unexpected results. However if any damage is caused by this software - the author can not be responsible. - The use of this software is at the risk of the user. - -7 - Documentation -================= - PclZip User Manuel is available in English on PhpConcept : http://www.phpconcept.net/pclzip/man/en/index.php - A Russian translation was done by Feskov Kuzma : http://php.russofile.ru/ru/authors/unsort/zip/ - -8 - Author -========== - - This software was written by Vincent Blavet (vincent@phpconcept.net) on its leasure time. - -9 - Contribute -============== - If you want to contribute to the development of PclZip, please contact vincent@phpconcept.net. - If you can help in financing PhpConcept hosting service, please go to - http://www.phpconcept.net/soutien.php diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PasswordHasher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PasswordHasher.php deleted file mode 100644 index 891b6bc15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/PasswordHasher.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_PasswordHasher - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_PasswordHasher -{ - /** - * Create a password hash from a given string. - * - * This method is based on the algorithm provided by - * Daniel Rentz of OpenOffice and the PEAR package - * Spreadsheet_Excel_Writer by Xavier Noguer <xnoguer@rezebra.com>. - * - * @param string $pPassword Password to hash - * @return string Hashed password - */ - public static function hashPassword($pPassword = '') { - $password = 0x0000; - $charPos = 1; // char position - - // split the plain text password in its component characters - $chars = preg_split('//', $pPassword, -1, PREG_SPLIT_NO_EMPTY); - foreach ($chars as $char) { - $value = ord($char) << $charPos++; // shifted ASCII value - $rotated_bits = $value >> 15; // rotated bits beyond bit 15 - $value &= 0x7fff; // first 15 bits - $password ^= ($value | $rotated_bits); - } - - $password ^= strlen($pPassword); - $password ^= 0xCE4B; - - return(strtoupper(dechex($password))); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/String.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/String.php deleted file mode 100644 index fc86d537d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/String.php +++ /dev/null @@ -1,776 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_String - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_String -{ - /** Constants */ - /** Regular Expressions */ - // Fraction - const STRING_REGEXP_FRACTION = '(-?)(\d+)\s+(\d+\/\d+)'; - - - /** - * Control characters array - * - * @var string[] - */ - private static $_controlCharacters = array(); - - /** - * SYLK Characters array - * - * $var array - */ - private static $_SYLKCharacters = array(); - - /** - * Decimal separator - * - * @var string - */ - private static $_decimalSeparator; - - /** - * Thousands separator - * - * @var string - */ - private static $_thousandsSeparator; - - /** - * Currency code - * - * @var string - */ - private static $_currencyCode; - - /** - * Is mbstring extension avalable? - * - * @var boolean - */ - private static $_isMbstringEnabled; - - /** - * Is iconv extension avalable? - * - * @var boolean - */ - private static $_isIconvEnabled; - - /** - * Build control characters array - */ - private static function _buildControlCharacters() { - for ($i = 0; $i <= 31; ++$i) { - if ($i != 9 && $i != 10 && $i != 13) { - $find = '_x' . sprintf('%04s' , strtoupper(dechex($i))) . '_'; - $replace = chr($i); - self::$_controlCharacters[$find] = $replace; - } - } - } - - /** - * Build SYLK characters array - */ - private static function _buildSYLKCharacters() - { - self::$_SYLKCharacters = array( - "\x1B 0" => chr(0), - "\x1B 1" => chr(1), - "\x1B 2" => chr(2), - "\x1B 3" => chr(3), - "\x1B 4" => chr(4), - "\x1B 5" => chr(5), - "\x1B 6" => chr(6), - "\x1B 7" => chr(7), - "\x1B 8" => chr(8), - "\x1B 9" => chr(9), - "\x1B :" => chr(10), - "\x1B ;" => chr(11), - "\x1B <" => chr(12), - "\x1B :" => chr(13), - "\x1B >" => chr(14), - "\x1B ?" => chr(15), - "\x1B!0" => chr(16), - "\x1B!1" => chr(17), - "\x1B!2" => chr(18), - "\x1B!3" => chr(19), - "\x1B!4" => chr(20), - "\x1B!5" => chr(21), - "\x1B!6" => chr(22), - "\x1B!7" => chr(23), - "\x1B!8" => chr(24), - "\x1B!9" => chr(25), - "\x1B!:" => chr(26), - "\x1B!;" => chr(27), - "\x1B!<" => chr(28), - "\x1B!=" => chr(29), - "\x1B!>" => chr(30), - "\x1B!?" => chr(31), - "\x1B'?" => chr(127), - "\x1B(0" => '€', // 128 in CP1252 - "\x1B(2" => '‚', // 130 in CP1252 - "\x1B(3" => 'ƒ', // 131 in CP1252 - "\x1B(4" => '„', // 132 in CP1252 - "\x1B(5" => '…', // 133 in CP1252 - "\x1B(6" => '†', // 134 in CP1252 - "\x1B(7" => '‡', // 135 in CP1252 - "\x1B(8" => 'ˆ', // 136 in CP1252 - "\x1B(9" => '‰', // 137 in CP1252 - "\x1B(:" => 'Š', // 138 in CP1252 - "\x1B(;" => '‹', // 139 in CP1252 - "\x1BNj" => 'Œ', // 140 in CP1252 - "\x1B(>" => 'Ž', // 142 in CP1252 - "\x1B)1" => '‘', // 145 in CP1252 - "\x1B)2" => '’', // 146 in CP1252 - "\x1B)3" => '“', // 147 in CP1252 - "\x1B)4" => '”', // 148 in CP1252 - "\x1B)5" => '•', // 149 in CP1252 - "\x1B)6" => '–', // 150 in CP1252 - "\x1B)7" => '—', // 151 in CP1252 - "\x1B)8" => '˜', // 152 in CP1252 - "\x1B)9" => '™', // 153 in CP1252 - "\x1B):" => 'š', // 154 in CP1252 - "\x1B);" => '›', // 155 in CP1252 - "\x1BNz" => 'œ', // 156 in CP1252 - "\x1B)>" => 'ž', // 158 in CP1252 - "\x1B)?" => 'Ÿ', // 159 in CP1252 - "\x1B*0" => ' ', // 160 in CP1252 - "\x1BN!" => '¡', // 161 in CP1252 - "\x1BN\"" => '¢', // 162 in CP1252 - "\x1BN#" => '£', // 163 in CP1252 - "\x1BN(" => '¤', // 164 in CP1252 - "\x1BN%" => '¥', // 165 in CP1252 - "\x1B*6" => '¦', // 166 in CP1252 - "\x1BN'" => '§', // 167 in CP1252 - "\x1BNH " => '¨', // 168 in CP1252 - "\x1BNS" => '©', // 169 in CP1252 - "\x1BNc" => 'ª', // 170 in CP1252 - "\x1BN+" => '«', // 171 in CP1252 - "\x1B*<" => '¬', // 172 in CP1252 - "\x1B*=" => '­', // 173 in CP1252 - "\x1BNR" => '®', // 174 in CP1252 - "\x1B*?" => '¯', // 175 in CP1252 - "\x1BN0" => '°', // 176 in CP1252 - "\x1BN1" => '±', // 177 in CP1252 - "\x1BN2" => '²', // 178 in CP1252 - "\x1BN3" => '³', // 179 in CP1252 - "\x1BNB " => '´', // 180 in CP1252 - "\x1BN5" => 'µ', // 181 in CP1252 - "\x1BN6" => '¶', // 182 in CP1252 - "\x1BN7" => '·', // 183 in CP1252 - "\x1B+8" => '¸', // 184 in CP1252 - "\x1BNQ" => '¹', // 185 in CP1252 - "\x1BNk" => 'º', // 186 in CP1252 - "\x1BN;" => '»', // 187 in CP1252 - "\x1BN<" => '¼', // 188 in CP1252 - "\x1BN=" => '½', // 189 in CP1252 - "\x1BN>" => '¾', // 190 in CP1252 - "\x1BN?" => '¿', // 191 in CP1252 - "\x1BNAA" => 'À', // 192 in CP1252 - "\x1BNBA" => 'Á', // 193 in CP1252 - "\x1BNCA" => 'Â', // 194 in CP1252 - "\x1BNDA" => 'Ã', // 195 in CP1252 - "\x1BNHA" => 'Ä', // 196 in CP1252 - "\x1BNJA" => 'Å', // 197 in CP1252 - "\x1BNa" => 'Æ', // 198 in CP1252 - "\x1BNKC" => 'Ç', // 199 in CP1252 - "\x1BNAE" => 'È', // 200 in CP1252 - "\x1BNBE" => 'É', // 201 in CP1252 - "\x1BNCE" => 'Ê', // 202 in CP1252 - "\x1BNHE" => 'Ë', // 203 in CP1252 - "\x1BNAI" => 'Ì', // 204 in CP1252 - "\x1BNBI" => 'Í', // 205 in CP1252 - "\x1BNCI" => 'Î', // 206 in CP1252 - "\x1BNHI" => 'Ï', // 207 in CP1252 - "\x1BNb" => 'Ð', // 208 in CP1252 - "\x1BNDN" => 'Ñ', // 209 in CP1252 - "\x1BNAO" => 'Ò', // 210 in CP1252 - "\x1BNBO" => 'Ó', // 211 in CP1252 - "\x1BNCO" => 'Ô', // 212 in CP1252 - "\x1BNDO" => 'Õ', // 213 in CP1252 - "\x1BNHO" => 'Ö', // 214 in CP1252 - "\x1B-7" => '×', // 215 in CP1252 - "\x1BNi" => 'Ø', // 216 in CP1252 - "\x1BNAU" => 'Ù', // 217 in CP1252 - "\x1BNBU" => 'Ú', // 218 in CP1252 - "\x1BNCU" => 'Û', // 219 in CP1252 - "\x1BNHU" => 'Ü', // 220 in CP1252 - "\x1B-=" => 'Ý', // 221 in CP1252 - "\x1BNl" => 'Þ', // 222 in CP1252 - "\x1BN{" => 'ß', // 223 in CP1252 - "\x1BNAa" => 'à', // 224 in CP1252 - "\x1BNBa" => 'á', // 225 in CP1252 - "\x1BNCa" => 'â', // 226 in CP1252 - "\x1BNDa" => 'ã', // 227 in CP1252 - "\x1BNHa" => 'ä', // 228 in CP1252 - "\x1BNJa" => 'å', // 229 in CP1252 - "\x1BNq" => 'æ', // 230 in CP1252 - "\x1BNKc" => 'ç', // 231 in CP1252 - "\x1BNAe" => 'è', // 232 in CP1252 - "\x1BNBe" => 'é', // 233 in CP1252 - "\x1BNCe" => 'ê', // 234 in CP1252 - "\x1BNHe" => 'ë', // 235 in CP1252 - "\x1BNAi" => 'ì', // 236 in CP1252 - "\x1BNBi" => 'í', // 237 in CP1252 - "\x1BNCi" => 'î', // 238 in CP1252 - "\x1BNHi" => 'ï', // 239 in CP1252 - "\x1BNs" => 'ð', // 240 in CP1252 - "\x1BNDn" => 'ñ', // 241 in CP1252 - "\x1BNAo" => 'ò', // 242 in CP1252 - "\x1BNBo" => 'ó', // 243 in CP1252 - "\x1BNCo" => 'ô', // 244 in CP1252 - "\x1BNDo" => 'õ', // 245 in CP1252 - "\x1BNHo" => 'ö', // 246 in CP1252 - "\x1B/7" => '÷', // 247 in CP1252 - "\x1BNy" => 'ø', // 248 in CP1252 - "\x1BNAu" => 'ù', // 249 in CP1252 - "\x1BNBu" => 'ú', // 250 in CP1252 - "\x1BNCu" => 'û', // 251 in CP1252 - "\x1BNHu" => 'ü', // 252 in CP1252 - "\x1B/=" => 'ý', // 253 in CP1252 - "\x1BN|" => 'þ', // 254 in CP1252 - "\x1BNHy" => 'ÿ', // 255 in CP1252 - ); - } - - /** - * Get whether mbstring extension is available - * - * @return boolean - */ - public static function getIsMbstringEnabled() - { - if (isset(self::$_isMbstringEnabled)) { - return self::$_isMbstringEnabled; - } - - self::$_isMbstringEnabled = function_exists('mb_convert_encoding') ? - true : false; - - return self::$_isMbstringEnabled; - } - - /** - * Get whether iconv extension is available - * - * @return boolean - */ - public static function getIsIconvEnabled() - { - if (isset(self::$_isIconvEnabled)) { - return self::$_isIconvEnabled; - } - - // Fail if iconv doesn't exist - if (!function_exists('iconv')) { - self::$_isIconvEnabled = false; - return false; - } - - // Sometimes iconv is not working, and e.g. iconv('UTF-8', 'UTF-16LE', 'x') just returns false, - if (!@iconv('UTF-8', 'UTF-16LE', 'x')) { - self::$_isIconvEnabled = false; - return false; - } - - // Sometimes iconv_substr('A', 0, 1, 'UTF-8') just returns false in PHP 5.2.0 - // we cannot use iconv in that case either (http://bugs.php.net/bug.php?id=37773) - if (!@iconv_substr('A', 0, 1, 'UTF-8')) { - self::$_isIconvEnabled = false; - return false; - } - - // CUSTOM: IBM AIX iconv() does not work - if ( defined('PHP_OS') && @stristr(PHP_OS, 'AIX') - && defined('ICONV_IMPL') && (@strcasecmp(ICONV_IMPL, 'unknown') == 0) - && defined('ICONV_VERSION') && (@strcasecmp(ICONV_VERSION, 'unknown') == 0) ) - { - self::$_isIconvEnabled = false; - return false; - } - - // If we reach here no problems were detected with iconv - self::$_isIconvEnabled = true; - return true; - } - - public static function buildCharacterSets() { - if(empty(self::$_controlCharacters)) { - self::_buildControlCharacters(); - } - if(empty(self::$_SYLKCharacters)) { - self::_buildSYLKCharacters(); - } - } - - /** - * Convert from OpenXML escaped control character to PHP control character - * - * Excel 2007 team: - * ---------------- - * That's correct, control characters are stored directly in the shared-strings table. - * We do encode characters that cannot be represented in XML using the following escape sequence: - * _xHHHH_ where H represents a hexadecimal character in the character's value... - * So you could end up with something like _x0008_ in a string (either in a cell value (<v>) - * element or in the shared string <t> element. - * - * @param string $value Value to unescape - * @return string - */ - public static function ControlCharacterOOXML2PHP($value = '') { - return str_replace( array_keys(self::$_controlCharacters), array_values(self::$_controlCharacters), $value ); - } - - /** - * Convert from PHP control character to OpenXML escaped control character - * - * Excel 2007 team: - * ---------------- - * That's correct, control characters are stored directly in the shared-strings table. - * We do encode characters that cannot be represented in XML using the following escape sequence: - * _xHHHH_ where H represents a hexadecimal character in the character's value... - * So you could end up with something like _x0008_ in a string (either in a cell value (<v>) - * element or in the shared string <t> element. - * - * @param string $value Value to escape - * @return string - */ - public static function ControlCharacterPHP2OOXML($value = '') { - return str_replace( array_values(self::$_controlCharacters), array_keys(self::$_controlCharacters), $value ); - } - - /** - * Try to sanitize UTF8, stripping invalid byte sequences. Not perfect. Does not surrogate characters. - * - * @param string $value - * @return string - */ - public static function SanitizeUTF8($value) - { - if (self::getIsIconvEnabled()) { - $value = @iconv('UTF-8', 'UTF-8', $value); - return $value; - } - - if (self::getIsMbstringEnabled()) { - $value = mb_convert_encoding($value, 'UTF-8', 'UTF-8'); - return $value; - } - - // else, no conversion - return $value; - } - - /** - * Check if a string contains UTF8 data - * - * @param string $value - * @return boolean - */ - public static function IsUTF8($value = '') { - return $string === '' || preg_match('/^./su', $string) === 1; - } - - /** - * Formats a numeric value as a string for output in various output writers forcing - * point as decimal separator in case locale is other than English. - * - * @param mixed $value - * @return string - */ - public static function FormatNumber($value) { - if (is_float($value)) { - return str_replace(',', '.', $value); - } - return (string) $value; - } - - /** - * Converts a UTF-8 string into BIFF8 Unicode string data (8-bit string length) - * Writes the string using uncompressed notation, no rich text, no Asian phonetics - * If mbstring extension is not available, ASCII is assumed, and compressed notation is used - * although this will give wrong results for non-ASCII strings - * see OpenOffice.org's Documentation of the Microsoft Excel File Format, sect. 2.5.3 - * - * @param string $value UTF-8 encoded string - * @param mixed[] $arrcRuns Details of rich text runs in $value - * @return string - */ - public static function UTF8toBIFF8UnicodeShort($value, $arrcRuns = array()) - { - // character count - $ln = self::CountCharacters($value, 'UTF-8'); - // option flags - if(empty($arrcRuns)){ - $opt = (self::getIsIconvEnabled() || self::getIsMbstringEnabled()) ? - 0x0001 : 0x0000; - $data = pack('CC', $ln, $opt); - // characters - $data .= self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8'); - } - else { - $data = pack('vC', $ln, 0x09); - $data .= pack('v', count($arrcRuns)); - // characters - $data .= self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8'); - foreach ($arrcRuns as $cRun){ - $data .= pack('v', $cRun['strlen']); - $data .= pack('v', $cRun['fontidx']); - } - } - return $data; - } - - /** - * Converts a UTF-8 string into BIFF8 Unicode string data (16-bit string length) - * Writes the string using uncompressed notation, no rich text, no Asian phonetics - * If mbstring extension is not available, ASCII is assumed, and compressed notation is used - * although this will give wrong results for non-ASCII strings - * see OpenOffice.org's Documentation of the Microsoft Excel File Format, sect. 2.5.3 - * - * @param string $value UTF-8 encoded string - * @return string - */ - public static function UTF8toBIFF8UnicodeLong($value) - { - // character count - $ln = self::CountCharacters($value, 'UTF-8'); - - // option flags - $opt = (self::getIsIconvEnabled() || self::getIsMbstringEnabled()) ? - 0x0001 : 0x0000; - - // characters - $chars = self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8'); - - $data = pack('vC', $ln, $opt) . $chars; - return $data; - } - - /** - * Convert string from one encoding to another. First try mbstring, then iconv, finally strlen - * - * @param string $value - * @param string $to Encoding to convert to, e.g. 'UTF-8' - * @param string $from Encoding to convert from, e.g. 'UTF-16LE' - * @return string - */ - public static function ConvertEncoding($value, $to, $from) - { - if (self::getIsIconvEnabled()) { - return iconv($from, $to, $value); - } - - if (self::getIsMbstringEnabled()) { - return mb_convert_encoding($value, $to, $from); - } - - if($from == 'UTF-16LE'){ - return self::utf16_decode($value, false); - }else if($from == 'UTF-16BE'){ - return self::utf16_decode($value); - } - // else, no conversion - return $value; - } - - /** - * Decode UTF-16 encoded strings. - * - * Can handle both BOM'ed data and un-BOM'ed data. - * Assumes Big-Endian byte order if no BOM is available. - * This function was taken from http://php.net/manual/en/function.utf8-decode.php - * and $bom_be parameter added. - * - * @param string $str UTF-16 encoded data to decode. - * @return string UTF-8 / ISO encoded data. - * @access public - * @version 0.2 / 2010-05-13 - * @author Rasmus Andersson {@link http://rasmusandersson.se/} - * @author vadik56 - */ - public static function utf16_decode($str, $bom_be = TRUE) { - if( strlen($str) < 2 ) return $str; - $c0 = ord($str{0}); - $c1 = ord($str{1}); - if( $c0 == 0xfe && $c1 == 0xff ) { $str = substr($str,2); } - elseif( $c0 == 0xff && $c1 == 0xfe ) { $str = substr($str,2); $bom_be = false; } - $len = strlen($str); - $newstr = ''; - for($i=0;$i<$len;$i+=2) { - if( $bom_be ) { $val = ord($str{$i}) << 4; $val += ord($str{$i+1}); } - else { $val = ord($str{$i+1}) << 4; $val += ord($str{$i}); } - $newstr .= ($val == 0x228) ? "\n" : chr($val); - } - return $newstr; - } - - /** - * Get character count. First try mbstring, then iconv, finally strlen - * - * @param string $value - * @param string $enc Encoding - * @return int Character count - */ - public static function CountCharacters($value, $enc = 'UTF-8') - { - if (self::getIsMbstringEnabled()) { - return mb_strlen($value, $enc); - } - - if (self::getIsIconvEnabled()) { - return iconv_strlen($value, $enc); - } - - // else strlen - return strlen($value); - } - - /** - * Get a substring of a UTF-8 encoded string. First try mbstring, then iconv, finally strlen - * - * @param string $pValue UTF-8 encoded string - * @param int $pStart Start offset - * @param int $pLength Maximum number of characters in substring - * @return string - */ - public static function Substring($pValue = '', $pStart = 0, $pLength = 0) - { - if (self::getIsMbstringEnabled()) { - return mb_substr($pValue, $pStart, $pLength, 'UTF-8'); - } - - if (self::getIsIconvEnabled()) { - return iconv_substr($pValue, $pStart, $pLength, 'UTF-8'); - } - - // else substr - return substr($pValue, $pStart, $pLength); - } - - /** - * Convert a UTF-8 encoded string to upper case - * - * @param string $pValue UTF-8 encoded string - * @return string - */ - public static function StrToUpper($pValue = '') - { - if (function_exists('mb_convert_case')) { - return mb_convert_case($pValue, MB_CASE_UPPER, "UTF-8"); - } - return strtoupper($pValue); - } - - /** - * Convert a UTF-8 encoded string to lower case - * - * @param string $pValue UTF-8 encoded string - * @return string - */ - public static function StrToLower($pValue = '') - { - if (function_exists('mb_convert_case')) { - return mb_convert_case($pValue, MB_CASE_LOWER, "UTF-8"); - } - return strtolower($pValue); - } - - /** - * Convert a UTF-8 encoded string to title/proper case - * (uppercase every first character in each word, lower case all other characters) - * - * @param string $pValue UTF-8 encoded string - * @return string - */ - public static function StrToTitle($pValue = '') - { - if (function_exists('mb_convert_case')) { - return mb_convert_case($pValue, MB_CASE_TITLE, "UTF-8"); - } - return ucwords($pValue); - } - - /** - * Identify whether a string contains a fractional numeric value, - * and convert it to a numeric if it is - * - * @param string &$operand string value to test - * @return boolean - */ - public static function convertToNumberIfFraction(&$operand) { - if (preg_match('/^'.self::STRING_REGEXP_FRACTION.'$/i', $operand, $match)) { - $sign = ($match[1] == '-') ? '-' : '+'; - $fractionFormula = '='.$sign.$match[2].$sign.$match[3]; - $operand = PHPExcel_Calculation::getInstance()->_calculateFormulaValue($fractionFormula); - return true; - } - return false; - } // function convertToNumberIfFraction() - - /** - * Get the decimal separator. If it has not yet been set explicitly, try to obtain number - * formatting information from locale. - * - * @return string - */ - public static function getDecimalSeparator() - { - if (!isset(self::$_decimalSeparator)) { - $localeconv = localeconv(); - self::$_decimalSeparator = ($localeconv['decimal_point'] != '') - ? $localeconv['decimal_point'] : $localeconv['mon_decimal_point']; - - if (self::$_decimalSeparator == '') { - // Default to . - self::$_decimalSeparator = '.'; - } - } - return self::$_decimalSeparator; - } - - /** - * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString() - * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF - * - * @param string $pValue Character for decimal separator - */ - public static function setDecimalSeparator($pValue = '.') - { - self::$_decimalSeparator = $pValue; - } - - /** - * Get the thousands separator. If it has not yet been set explicitly, try to obtain number - * formatting information from locale. - * - * @return string - */ - public static function getThousandsSeparator() - { - if (!isset(self::$_thousandsSeparator)) { - $localeconv = localeconv(); - self::$_thousandsSeparator = ($localeconv['thousands_sep'] != '') - ? $localeconv['thousands_sep'] : $localeconv['mon_thousands_sep']; - - if (self::$_thousandsSeparator == '') { - // Default to . - self::$_thousandsSeparator = ','; - } - } - return self::$_thousandsSeparator; - } - - /** - * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString() - * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF - * - * @param string $pValue Character for thousands separator - */ - public static function setThousandsSeparator($pValue = ',') - { - self::$_thousandsSeparator = $pValue; - } - - /** - * Get the currency code. If it has not yet been set explicitly, try to obtain the - * symbol information from locale. - * - * @return string - */ - public static function getCurrencyCode() - { - if (!isset(self::$_currencyCode)) { - $localeconv = localeconv(); - self::$_currencyCode = ($localeconv['currency_symbol'] != '') - ? $localeconv['currency_symbol'] : $localeconv['int_curr_symbol']; - - if (self::$_currencyCode == '') { - // Default to $ - self::$_currencyCode = '$'; - } - } - return self::$_currencyCode; - } - - /** - * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString() - * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF - * - * @param string $pValue Character for currency code - */ - public static function setCurrencyCode($pValue = '$') - { - self::$_currencyCode = $pValue; - } - - /** - * Convert SYLK encoded string to UTF-8 - * - * @param string $pValue - * @return string UTF-8 encoded string - */ - public static function SYLKtoUTF8($pValue = '') - { - // If there is no escape character in the string there is nothing to do - if (strpos($pValue, '') === false) { - return $pValue; - } - - foreach (self::$_SYLKCharacters as $k => $v) { - $pValue = str_replace($k, $v, $pValue); - } - - return $pValue; - } - - /** - * Retrieve any leading numeric part of a string, or return the full string if no leading numeric - * (handles basic integer or float, but not exponent or non decimal) - * - * @param string $value - * @return mixed string or only the leading numeric part of the string - */ - public static function testStringAsNumeric($value) - { - if (is_numeric($value)) - return $value; - $v = floatval($value); - return (is_numeric(substr($value,0,strlen($v)))) ? $v : $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/TimeZone.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/TimeZone.php deleted file mode 100644 index 1792a2953..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/TimeZone.php +++ /dev/null @@ -1,140 +0,0 @@ -<?php - -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_TimeZone - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_TimeZone -{ - /* - * Default Timezone used for date/time conversions - * - * @private - * @var string - */ - protected static $_timezone = 'UTC'; - - /** - * Validate a Timezone name - * - * @param string $timezone Time zone (e.g. 'Europe/London') - * @return boolean Success or failure - */ - public static function _validateTimeZone($timezone) { - if (in_array($timezone, DateTimeZone::listIdentifiers())) { - return TRUE; - } - return FALSE; - } - - /** - * Set the Default Timezone used for date/time conversions - * - * @param string $timezone Time zone (e.g. 'Europe/London') - * @return boolean Success or failure - */ - public static function setTimeZone($timezone) { - if (self::_validateTimezone($timezone)) { - self::$_timezone = $timezone; - return TRUE; - } - return FALSE; - } // function setTimezone() - - - /** - * Return the Default Timezone used for date/time conversions - * - * @return string Timezone (e.g. 'Europe/London') - */ - public static function getTimeZone() { - return self::$_timezone; - } // function getTimezone() - - - /** - * Return the Timezone transition for the specified timezone and timestamp - * - * @param DateTimeZone $objTimezone The timezone for finding the transitions - * @param integer $timestamp PHP date/time value for finding the current transition - * @return array The current transition details - */ - private static function _getTimezoneTransitions($objTimezone, $timestamp) { - $allTransitions = $objTimezone->getTransitions(); - $transitions = array(); - foreach($allTransitions as $key => $transition) { - if ($transition['ts'] > $timestamp) { - $transitions[] = ($key > 0) ? $allTransitions[$key - 1] : $transition; - break; - } - if (empty($transitions)) { - $transitions[] = end($allTransitions); - } - } - - return $transitions; - } - - /** - * Return the Timezone offset used for date/time conversions to/from UST - * This requires both the timezone and the calculated date/time to allow for local DST - * - * @param string $timezone The timezone for finding the adjustment to UST - * @param integer $timestamp PHP date/time value - * @return integer Number of seconds for timezone adjustment - * @throws PHPExcel_Exception - */ - public static function getTimeZoneAdjustment($timezone, $timestamp) { - if ($timezone !== NULL) { - if (!self::_validateTimezone($timezone)) { - throw new PHPExcel_Exception("Invalid timezone " . $timezone); - } - } else { - $timezone = self::$_timezone; - } - - if ($timezone == 'UST') { - return 0; - } - - $objTimezone = new DateTimeZone($timezone); - if (version_compare(PHP_VERSION, '5.3.0') >= 0) { - $transitions = $objTimezone->getTransitions($timestamp,$timestamp); - } else { - $transitions = self::_getTimezoneTransitions($objTimezone, $timestamp); - } - - return (count($transitions) > 0) ? $transitions[0]['offset'] : 0; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/XMLWriter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/XMLWriter.php deleted file mode 100644 index beca51fc5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/XMLWriter.php +++ /dev/null @@ -1,127 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -if (!defined('DATE_W3C')) { - define('DATE_W3C', 'Y-m-d\TH:i:sP'); -} - -if (!defined('DEBUGMODE_ENABLED')) { - define('DEBUGMODE_ENABLED', false); -} - - -/** - * PHPExcel_Shared_XMLWriter - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_XMLWriter extends XMLWriter { - /** Temporary storage method */ - const STORAGE_MEMORY = 1; - const STORAGE_DISK = 2; - - /** - * Temporary filename - * - * @var string - */ - private $_tempFileName = ''; - - /** - * Create a new PHPExcel_Shared_XMLWriter instance - * - * @param int $pTemporaryStorage Temporary storage location - * @param string $pTemporaryStorageFolder Temporary storage folder - */ - public function __construct($pTemporaryStorage = self::STORAGE_MEMORY, $pTemporaryStorageFolder = NULL) { - // Open temporary storage - if ($pTemporaryStorage == self::STORAGE_MEMORY) { - $this->openMemory(); - } else { - // Create temporary filename - if ($pTemporaryStorageFolder === NULL) - $pTemporaryStorageFolder = PHPExcel_Shared_File::sys_get_temp_dir(); - $this->_tempFileName = @tempnam($pTemporaryStorageFolder, 'xml'); - - // Open storage - if ($this->openUri($this->_tempFileName) === false) { - // Fallback to memory... - $this->openMemory(); - } - } - - // Set default values - if (DEBUGMODE_ENABLED) { - $this->setIndent(true); - } - } - - /** - * Destructor - */ - public function __destruct() { - // Unlink temporary files - if ($this->_tempFileName != '') { - @unlink($this->_tempFileName); - } - } - - /** - * Get written data - * - * @return $data - */ - public function getData() { - if ($this->_tempFileName == '') { - return $this->outputMemory(true); - } else { - $this->flush(); - return file_get_contents($this->_tempFileName); - } - } - - /** - * Fallback method for writeRaw, introduced in PHP 5.2 - * - * @param string $text - * @return string - */ - public function writeRawData($text) - { - if (is_array($text)) { - $text = implode("\n",$text); - } - - if (method_exists($this, 'writeRaw')) { - return $this->writeRaw(htmlspecialchars($text)); - } - - return $this->text($text); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/ZipArchive.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/ZipArchive.php deleted file mode 100644 index 9a801a841..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/ZipArchive.php +++ /dev/null @@ -1,175 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_ZipArchive - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -if (!defined('PCLZIP_TEMPORARY_DIR')) { - define('PCLZIP_TEMPORARY_DIR', PHPExcel_Shared_File::sys_get_temp_dir() . DIRECTORY_SEPARATOR); -} -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/PCLZip/pclzip.lib.php'; - - -/** - * PHPExcel_Shared_ZipArchive - * - * @category PHPExcel - * @package PHPExcel_Shared_ZipArchive - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_ZipArchive -{ - - /** constants */ - const OVERWRITE = 'OVERWRITE'; - const CREATE = 'CREATE'; - - - /** - * Temporary storage directory - * - * @var string - */ - private $_tempDir; - - /** - * Zip Archive Stream Handle - * - * @var string - */ - private $_zip; - - - /** - * Open a new zip archive - * - * @param string $fileName Filename for the zip archive - * @return boolean - */ - public function open($fileName) - { - $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir(); - - $this->_zip = new PclZip($fileName); - - return true; - } - - - /** - * Close this zip archive - * - */ - public function close() - { - } - - - /** - * Add a new file to the zip archive from a string of raw data. - * - * @param string $localname Directory/Name of the file to add to the zip archive - * @param string $contents String of data to add to the zip archive - */ - public function addFromString($localname, $contents) - { - $filenameParts = pathinfo($localname); - - $handle = fopen($this->_tempDir.'/'.$filenameParts["basename"], "wb"); - fwrite($handle, $contents); - fclose($handle); - - $res = $this->_zip->add($this->_tempDir.'/'.$filenameParts["basename"], - PCLZIP_OPT_REMOVE_PATH, $this->_tempDir, - PCLZIP_OPT_ADD_PATH, $filenameParts["dirname"] - ); - if ($res == 0) { - throw new PHPExcel_Writer_Exception("Error zipping files : " . $this->_zip->errorInfo(true)); - } - - unlink($this->_tempDir.'/'.$filenameParts["basename"]); - } - - /** - * Find if given fileName exist in archive (Emulate ZipArchive locateName()) - * - * @param string $fileName Filename for the file in zip archive - * @return boolean - */ - public function locateName($fileName) - { - $list = $this->_zip->listContent(); - $listCount = count($list); - $list_index = -1; - for ($i = 0; $i < $listCount; ++$i) { - if (strtolower($list[$i]["filename"]) == strtolower($fileName) || - strtolower($list[$i]["stored_filename"]) == strtolower($fileName)) { - $list_index = $i; - break; - } - } - return ($list_index > -1); - } - - /** - * Extract file from archive by given fileName (Emulate ZipArchive getFromName()) - * - * @param string $fileName Filename for the file in zip archive - * @return string $contents File string contents - */ - public function getFromName($fileName) - { - $list = $this->_zip->listContent(); - $listCount = count($list); - $list_index = -1; - for ($i = 0; $i < $listCount; ++$i) { - if (strtolower($list[$i]["filename"]) == strtolower($fileName) || - strtolower($list[$i]["stored_filename"]) == strtolower($fileName)) { - $list_index = $i; - break; - } - } - - $extracted = ""; - if ($list_index != -1) { - $extracted = $this->_zip->extractByIndex($list_index, PCLZIP_OPT_EXTRACT_AS_STRING); - } else { - $filename = substr($fileName, 1); - $list_index = -1; - for ($i = 0; $i < $listCount; ++$i) { - if (strtolower($list[$i]["filename"]) == strtolower($fileName) || - strtolower($list[$i]["stored_filename"]) == strtolower($fileName)) { - $list_index = $i; - break; - } - } - $extracted = $this->_zip->extractByIndex($list_index, PCLZIP_OPT_EXTRACT_AS_STRING); - } - if ((is_array($extracted)) && ($extracted != 0)) { - $contents = $extracted[0]["content"]; - } - - return $contents; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/ZipStreamWrapper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/ZipStreamWrapper.php deleted file mode 100644 index 6e63d3ce3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/ZipStreamWrapper.php +++ /dev/null @@ -1,201 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_ZipStreamWrapper - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_ZipStreamWrapper { - /** - * Internal ZipAcrhive - * - * @var ZipAcrhive - */ - private $_archive; - - /** - * Filename in ZipAcrhive - * - * @var string - */ - private $_fileNameInArchive = ''; - - /** - * Position in file - * - * @var int - */ - private $_position = 0; - - /** - * Data - * - * @var mixed - */ - private $_data = ''; - - /** - * Register wrapper - */ - public static function register() { - @stream_wrapper_unregister("zip"); - @stream_wrapper_register("zip", __CLASS__); - } - - /** - * Implements support for fopen(). - * - * @param string $path resource name including scheme, e.g. - * @param string $mode only "r" is supported - * @param int $options mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH - * @param string &$openedPath absolute path of the opened stream (out parameter) - * @return bool true on success - */ - public function stream_open($path, $mode, $options, &$opened_path) { - // Check for mode - if ($mode{0} != 'r') { - throw new PHPExcel_Reader_Exception('Mode ' . $mode . ' is not supported. Only read mode is supported.'); - } - - $pos = strrpos($path, '#'); - $url['host'] = substr($path, 6, $pos - 6); // 6: strlen('zip://') - $url['fragment'] = substr($path, $pos + 1); - - // Open archive - $this->_archive = new ZipArchive(); - $this->_archive->open($url['host']); - - $this->_fileNameInArchive = $url['fragment']; - $this->_position = 0; - $this->_data = $this->_archive->getFromName( $this->_fileNameInArchive ); - - return true; - } - - /** - * Implements support for fstat(). - * - * @return boolean - */ - public function statName() { - return $this->_fileNameInArchive; - } - - /** - * Implements support for fstat(). - * - * @return boolean - */ - public function url_stat() { - return $this->statName( $this->_fileNameInArchive ); - } - - /** - * Implements support for fstat(). - * - * @return boolean - */ - public function stream_stat() { - return $this->_archive->statName( $this->_fileNameInArchive ); - } - - /** - * Implements support for fread(), fgets() etc. - * - * @param int $count maximum number of bytes to read - * @return string - */ - function stream_read($count) { - $ret = substr($this->_data, $this->_position, $count); - $this->_position += strlen($ret); - return $ret; - } - - /** - * Returns the position of the file pointer, i.e. its offset into the file - * stream. Implements support for ftell(). - * - * @return int - */ - public function stream_tell() { - return $this->_position; - } - - /** - * EOF stream - * - * @return bool - */ - public function stream_eof() { - return $this->_position >= strlen($this->_data); - } - - /** - * Seek stream - * - * @param int $offset byte offset - * @param int $whence SEEK_SET, SEEK_CUR or SEEK_END - * @return bool - */ - public function stream_seek($offset, $whence) { - switch ($whence) { - case SEEK_SET: - if ($offset < strlen($this->_data) && $offset >= 0) { - $this->_position = $offset; - return true; - } else { - return false; - } - break; - - case SEEK_CUR: - if ($offset >= 0) { - $this->_position += $offset; - return true; - } else { - return false; - } - break; - - case SEEK_END: - if (strlen($this->_data) + $offset >= 0) { - $this->_position = strlen($this->_data) + $offset; - return true; - } else { - return false; - } - break; - - default: - return false; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/bestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/bestFitClass.php deleted file mode 100644 index 9ae8b006d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/bestFitClass.php +++ /dev/null @@ -1,432 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Best_Fit -{ - /** - * Indicator flag for a calculation error - * - * @var boolean - **/ - protected $_error = False; - - /** - * Algorithm type to use for best-fit - * - * @var string - **/ - protected $_bestFitType = 'undetermined'; - - /** - * Number of entries in the sets of x- and y-value arrays - * - * @var int - **/ - protected $_valueCount = 0; - - /** - * X-value dataseries of values - * - * @var float[] - **/ - protected $_xValues = array(); - - /** - * Y-value dataseries of values - * - * @var float[] - **/ - protected $_yValues = array(); - - /** - * Flag indicating whether values should be adjusted to Y=0 - * - * @var boolean - **/ - protected $_adjustToZero = False; - - /** - * Y-value series of best-fit values - * - * @var float[] - **/ - protected $_yBestFitValues = array(); - - protected $_goodnessOfFit = 1; - - protected $_stdevOfResiduals = 0; - - protected $_covariance = 0; - - protected $_correlation = 0; - - protected $_SSRegression = 0; - - protected $_SSResiduals = 0; - - protected $_DFResiduals = 0; - - protected $_F = 0; - - protected $_slope = 0; - - protected $_slopeSE = 0; - - protected $_intersect = 0; - - protected $_intersectSE = 0; - - protected $_Xoffset = 0; - - protected $_Yoffset = 0; - - - public function getError() { - return $this->_error; - } // function getBestFitType() - - - public function getBestFitType() { - return $this->_bestFitType; - } // function getBestFitType() - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - */ - public function getValueOfYForX($xValue) { - return False; - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - */ - public function getValueOfXForY($yValue) { - return False; - } // function getValueOfXForY() - - - /** - * Return the original set of X-Values - * - * @return float[] X-Values - */ - public function getXValues() { - return $this->_xValues; - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getEquation($dp=0) { - return False; - } // function getEquation() - - - /** - * Return the Slope of the line - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getSlope($dp=0) { - if ($dp != 0) { - return round($this->_slope,$dp); - } - return $this->_slope; - } // function getSlope() - - - /** - * Return the standard error of the Slope - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getSlopeSE($dp=0) { - if ($dp != 0) { - return round($this->_slopeSE,$dp); - } - return $this->_slopeSE; - } // function getSlopeSE() - - - /** - * Return the Value of X where it intersects Y = 0 - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getIntersect($dp=0) { - if ($dp != 0) { - return round($this->_intersect,$dp); - } - return $this->_intersect; - } // function getIntersect() - - - /** - * Return the standard error of the Intersect - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getIntersectSE($dp=0) { - if ($dp != 0) { - return round($this->_intersectSE,$dp); - } - return $this->_intersectSE; - } // function getIntersectSE() - - - /** - * Return the goodness of fit for this regression - * - * @param int $dp Number of places of decimal precision to return - * @return float - */ - public function getGoodnessOfFit($dp=0) { - if ($dp != 0) { - return round($this->_goodnessOfFit,$dp); - } - return $this->_goodnessOfFit; - } // function getGoodnessOfFit() - - - public function getGoodnessOfFitPercent($dp=0) { - if ($dp != 0) { - return round($this->_goodnessOfFit * 100,$dp); - } - return $this->_goodnessOfFit * 100; - } // function getGoodnessOfFitPercent() - - - /** - * Return the standard deviation of the residuals for this regression - * - * @param int $dp Number of places of decimal precision to return - * @return float - */ - public function getStdevOfResiduals($dp=0) { - if ($dp != 0) { - return round($this->_stdevOfResiduals,$dp); - } - return $this->_stdevOfResiduals; - } // function getStdevOfResiduals() - - - public function getSSRegression($dp=0) { - if ($dp != 0) { - return round($this->_SSRegression,$dp); - } - return $this->_SSRegression; - } // function getSSRegression() - - - public function getSSResiduals($dp=0) { - if ($dp != 0) { - return round($this->_SSResiduals,$dp); - } - return $this->_SSResiduals; - } // function getSSResiduals() - - - public function getDFResiduals($dp=0) { - if ($dp != 0) { - return round($this->_DFResiduals,$dp); - } - return $this->_DFResiduals; - } // function getDFResiduals() - - - public function getF($dp=0) { - if ($dp != 0) { - return round($this->_F,$dp); - } - return $this->_F; - } // function getF() - - - public function getCovariance($dp=0) { - if ($dp != 0) { - return round($this->_covariance,$dp); - } - return $this->_covariance; - } // function getCovariance() - - - public function getCorrelation($dp=0) { - if ($dp != 0) { - return round($this->_correlation,$dp); - } - return $this->_correlation; - } // function getCorrelation() - - - public function getYBestFitValues() { - return $this->_yBestFitValues; - } // function getYBestFitValues() - - - protected function _calculateGoodnessOfFit($sumX,$sumY,$sumX2,$sumY2,$sumXY,$meanX,$meanY, $const) { - $SSres = $SScov = $SScor = $SStot = $SSsex = 0.0; - foreach($this->_xValues as $xKey => $xValue) { - $bestFitY = $this->_yBestFitValues[$xKey] = $this->getValueOfYForX($xValue); - - $SSres += ($this->_yValues[$xKey] - $bestFitY) * ($this->_yValues[$xKey] - $bestFitY); - if ($const) { - $SStot += ($this->_yValues[$xKey] - $meanY) * ($this->_yValues[$xKey] - $meanY); - } else { - $SStot += $this->_yValues[$xKey] * $this->_yValues[$xKey]; - } - $SScov += ($this->_xValues[$xKey] - $meanX) * ($this->_yValues[$xKey] - $meanY); - if ($const) { - $SSsex += ($this->_xValues[$xKey] - $meanX) * ($this->_xValues[$xKey] - $meanX); - } else { - $SSsex += $this->_xValues[$xKey] * $this->_xValues[$xKey]; - } - } - - $this->_SSResiduals = $SSres; - $this->_DFResiduals = $this->_valueCount - 1 - $const; - - if ($this->_DFResiduals == 0.0) { - $this->_stdevOfResiduals = 0.0; - } else { - $this->_stdevOfResiduals = sqrt($SSres / $this->_DFResiduals); - } - if (($SStot == 0.0) || ($SSres == $SStot)) { - $this->_goodnessOfFit = 1; - } else { - $this->_goodnessOfFit = 1 - ($SSres / $SStot); - } - - $this->_SSRegression = $this->_goodnessOfFit * $SStot; - $this->_covariance = $SScov / $this->_valueCount; - $this->_correlation = ($this->_valueCount * $sumXY - $sumX * $sumY) / sqrt(($this->_valueCount * $sumX2 - pow($sumX,2)) * ($this->_valueCount * $sumY2 - pow($sumY,2))); - $this->_slopeSE = $this->_stdevOfResiduals / sqrt($SSsex); - $this->_intersectSE = $this->_stdevOfResiduals * sqrt(1 / ($this->_valueCount - ($sumX * $sumX) / $sumX2)); - if ($this->_SSResiduals != 0.0) { - if ($this->_DFResiduals == 0.0) { - $this->_F = 0.0; - } else { - $this->_F = $this->_SSRegression / ($this->_SSResiduals / $this->_DFResiduals); - } - } else { - if ($this->_DFResiduals == 0.0) { - $this->_F = 0.0; - } else { - $this->_F = $this->_SSRegression / $this->_DFResiduals; - } - } - } // function _calculateGoodnessOfFit() - - - protected function _leastSquareFit($yValues, $xValues, $const) { - // calculate sums - $x_sum = array_sum($xValues); - $y_sum = array_sum($yValues); - $meanX = $x_sum / $this->_valueCount; - $meanY = $y_sum / $this->_valueCount; - $mBase = $mDivisor = $xx_sum = $xy_sum = $yy_sum = 0.0; - for($i = 0; $i < $this->_valueCount; ++$i) { - $xy_sum += $xValues[$i] * $yValues[$i]; - $xx_sum += $xValues[$i] * $xValues[$i]; - $yy_sum += $yValues[$i] * $yValues[$i]; - - if ($const) { - $mBase += ($xValues[$i] - $meanX) * ($yValues[$i] - $meanY); - $mDivisor += ($xValues[$i] - $meanX) * ($xValues[$i] - $meanX); - } else { - $mBase += $xValues[$i] * $yValues[$i]; - $mDivisor += $xValues[$i] * $xValues[$i]; - } - } - - // calculate slope -// $this->_slope = (($this->_valueCount * $xy_sum) - ($x_sum * $y_sum)) / (($this->_valueCount * $xx_sum) - ($x_sum * $x_sum)); - $this->_slope = $mBase / $mDivisor; - - // calculate intersect -// $this->_intersect = ($y_sum - ($this->_slope * $x_sum)) / $this->_valueCount; - if ($const) { - $this->_intersect = $meanY - ($this->_slope * $meanX); - } else { - $this->_intersect = 0; - } - - $this->_calculateGoodnessOfFit($x_sum,$y_sum,$xx_sum,$yy_sum,$xy_sum,$meanX,$meanY,$const); - } // function _leastSquareFit() - - - /** - * Define the regression - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - // Calculate number of points - $nY = count($yValues); - $nX = count($xValues); - - // Define X Values if necessary - if ($nX == 0) { - $xValues = range(1,$nY); - $nX = $nY; - } elseif ($nY != $nX) { - // Ensure both arrays of points are the same size - $this->_error = True; - return False; - } - - $this->_valueCount = $nY; - $this->_xValues = $xValues; - $this->_yValues = $yValues; - } // function __construct() - -} // class bestFit diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/exponentialBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/exponentialBestFitClass.php deleted file mode 100644 index b524b5fe4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/exponentialBestFitClass.php +++ /dev/null @@ -1,148 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'); - - -/** - * PHPExcel_Exponential_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Exponential_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'exponential'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() * pow($this->getSlope(),($xValue - $this->_Xoffset)); - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return log(($yValue + $this->_Yoffset) / $this->getIntersect()) / log($this->getSlope()); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' * '.$slope.'^X'; - } // function getEquation() - - - /** - * Return the Slope of the line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getSlope($dp=0) { - if ($dp != 0) { - return round(exp($this->_slope),$dp); - } - return exp($this->_slope); - } // function getSlope() - - - /** - * Return the Value of X where it intersects Y = 0 - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getIntersect($dp=0) { - if ($dp != 0) { - return round(exp($this->_intersect),$dp); - } - return exp($this->_intersect); - } // function getIntersect() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _exponential_regression($yValues, $xValues, $const) { - foreach($yValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - - $this->_leastSquareFit($yValues, $xValues, $const); - } // function _exponential_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_exponential_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class exponentialBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/linearBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/linearBestFitClass.php deleted file mode 100644 index 7d811aa5b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/linearBestFitClass.php +++ /dev/null @@ -1,111 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'); - - -/** - * PHPExcel_Linear_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Linear_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'linear'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() + $this->getSlope() * $xValue; - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return ($yValue - $this->getIntersect()) / $this->getSlope(); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' + '.$slope.' * X'; - } // function getEquation() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _linear_regression($yValues, $xValues, $const) { - $this->_leastSquareFit($yValues, $xValues,$const); - } // function _linear_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_linear_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class linearBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/logarithmicBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/logarithmicBestFitClass.php deleted file mode 100644 index b43cd5edf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/logarithmicBestFitClass.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'); - - -/** - * PHPExcel_Logarithmic_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Logarithmic_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'logarithmic'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() + $this->getSlope() * log($xValue - $this->_Xoffset); - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return exp(($yValue - $this->getIntersect()) / $this->getSlope()); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' + '.$slope.' * log(X)'; - } // function getEquation() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _logarithmic_regression($yValues, $xValues, $const) { - foreach($xValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - - $this->_leastSquareFit($yValues, $xValues, $const); - } // function _logarithmic_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_logarithmic_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class logarithmicBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/polynomialBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/polynomialBestFitClass.php deleted file mode 100644 index 3d329eb7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/polynomialBestFitClass.php +++ /dev/null @@ -1,224 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/JAMA/Matrix.php'; - - -/** - * PHPExcel_Polynomial_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Polynomial_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'polynomial'; - - /** - * Polynomial order - * - * @protected - * @var int - **/ - protected $_order = 0; - - - /** - * Return the order of this polynomial - * - * @return int - **/ - public function getOrder() { - return $this->_order; - } // function getOrder() - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - $retVal = $this->getIntersect(); - $slope = $this->getSlope(); - foreach($slope as $key => $value) { - if ($value != 0.0) { - $retVal += $value * pow($xValue, $key + 1); - } - } - return $retVal; - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return ($yValue - $this->getIntersect()) / $this->getSlope(); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - $equation = 'Y = '.$intersect; - foreach($slope as $key => $value) { - if ($value != 0.0) { - $equation .= ' + '.$value.' * X'; - if ($key > 0) { - $equation .= '^'.($key + 1); - } - } - } - return $equation; - } // function getEquation() - - - /** - * Return the Slope of the line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getSlope($dp=0) { - if ($dp != 0) { - $coefficients = array(); - foreach($this->_slope as $coefficient) { - $coefficients[] = round($coefficient,$dp); - } - return $coefficients; - } - return $this->_slope; - } // function getSlope() - - - public function getCoefficients($dp=0) { - return array_merge(array($this->getIntersect($dp)),$this->getSlope($dp)); - } // function getCoefficients() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param int $order Order of Polynomial for this regression - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _polynomial_regression($order, $yValues, $xValues, $const) { - // calculate sums - $x_sum = array_sum($xValues); - $y_sum = array_sum($yValues); - $xx_sum = $xy_sum = 0; - for($i = 0; $i < $this->_valueCount; ++$i) { - $xy_sum += $xValues[$i] * $yValues[$i]; - $xx_sum += $xValues[$i] * $xValues[$i]; - $yy_sum += $yValues[$i] * $yValues[$i]; - } - /* - * This routine uses logic from the PHP port of polyfit version 0.1 - * written by Michael Bommarito and Paul Meagher - * - * The function fits a polynomial function of order $order through - * a series of x-y data points using least squares. - * - */ - for ($i = 0; $i < $this->_valueCount; ++$i) { - for ($j = 0; $j <= $order; ++$j) { - $A[$i][$j] = pow($xValues[$i], $j); - } - } - for ($i=0; $i < $this->_valueCount; ++$i) { - $B[$i] = array($yValues[$i]); - } - $matrixA = new Matrix($A); - $matrixB = new Matrix($B); - $C = $matrixA->solve($matrixB); - - $coefficients = array(); - for($i = 0; $i < $C->m; ++$i) { - $r = $C->get($i, 0); - if (abs($r) <= pow(10, -9)) { - $r = 0; - } - $coefficients[] = $r; - } - - $this->_intersect = array_shift($coefficients); - $this->_slope = $coefficients; - - $this->_calculateGoodnessOfFit($x_sum,$y_sum,$xx_sum,$yy_sum,$xy_sum); - foreach($this->_xValues as $xKey => $xValue) { - $this->_yBestFitValues[$xKey] = $this->getValueOfYForX($xValue); - } - } // function _polynomial_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param int $order Order of Polynomial for this regression - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($order, $yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - if ($order < $this->_valueCount) { - $this->_bestFitType .= '_'.$order; - $this->_order = $order; - $this->_polynomial_regression($order, $yValues, $xValues, $const); - if (($this->getGoodnessOfFit() < 0.0) || ($this->getGoodnessOfFit() > 1.0)) { - $this->_error = True; - } - } else { - $this->_error = True; - } - } - } // function __construct() - -} // class polynomialBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/powerBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/powerBestFitClass.php deleted file mode 100644 index 832669c9f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/powerBestFitClass.php +++ /dev/null @@ -1,142 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'; - - -/** - * PHPExcel_Power_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Power_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'power'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() * pow(($xValue - $this->_Xoffset),$this->getSlope()); - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return pow((($yValue + $this->_Yoffset) / $this->getIntersect()),(1 / $this->getSlope())); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' * X^'.$slope; - } // function getEquation() - - - /** - * Return the Value of X where it intersects Y = 0 - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getIntersect($dp=0) { - if ($dp != 0) { - return round(exp($this->_intersect),$dp); - } - return exp($this->_intersect); - } // function getIntersect() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _power_regression($yValues, $xValues, $const) { - foreach($xValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - foreach($yValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - - $this->_leastSquareFit($yValues, $xValues, $const); - } // function _power_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_power_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class powerBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/trendClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/trendClass.php deleted file mode 100644 index 25d7eb1d8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Shared/trend/trendClass.php +++ /dev/null @@ -1,156 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/linearBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/logarithmicBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/exponentialBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/powerBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/polynomialBestFitClass.php'; - - -/** - * PHPExcel_trendClass - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class trendClass -{ - const TREND_LINEAR = 'Linear'; - const TREND_LOGARITHMIC = 'Logarithmic'; - const TREND_EXPONENTIAL = 'Exponential'; - const TREND_POWER = 'Power'; - const TREND_POLYNOMIAL_2 = 'Polynomial_2'; - const TREND_POLYNOMIAL_3 = 'Polynomial_3'; - const TREND_POLYNOMIAL_4 = 'Polynomial_4'; - const TREND_POLYNOMIAL_5 = 'Polynomial_5'; - const TREND_POLYNOMIAL_6 = 'Polynomial_6'; - const TREND_BEST_FIT = 'Bestfit'; - const TREND_BEST_FIT_NO_POLY = 'Bestfit_no_Polynomials'; - - /** - * Names of the best-fit trend analysis methods - * - * @var string[] - **/ - private static $_trendTypes = array( self::TREND_LINEAR, - self::TREND_LOGARITHMIC, - self::TREND_EXPONENTIAL, - self::TREND_POWER - ); - /** - * Names of the best-fit trend polynomial orders - * - * @var string[] - **/ - private static $_trendTypePolyOrders = array( self::TREND_POLYNOMIAL_2, - self::TREND_POLYNOMIAL_3, - self::TREND_POLYNOMIAL_4, - self::TREND_POLYNOMIAL_5, - self::TREND_POLYNOMIAL_6 - ); - - /** - * Cached results for each method when trying to identify which provides the best fit - * - * @var PHPExcel_Best_Fit[] - **/ - private static $_trendCache = array(); - - - public static function calculate($trendType=self::TREND_BEST_FIT, $yValues, $xValues=array(), $const=True) { - // Calculate number of points in each dataset - $nY = count($yValues); - $nX = count($xValues); - - // Define X Values if necessary - if ($nX == 0) { - $xValues = range(1,$nY); - $nX = $nY; - } elseif ($nY != $nX) { - // Ensure both arrays of points are the same size - trigger_error("trend(): Number of elements in coordinate arrays do not match.", E_USER_ERROR); - } - - $key = md5($trendType.$const.serialize($yValues).serialize($xValues)); - // Determine which trend method has been requested - switch ($trendType) { - // Instantiate and return the class for the requested trend method - case self::TREND_LINEAR : - case self::TREND_LOGARITHMIC : - case self::TREND_EXPONENTIAL : - case self::TREND_POWER : - if (!isset(self::$_trendCache[$key])) { - $className = 'PHPExcel_'.$trendType.'_Best_Fit'; - self::$_trendCache[$key] = new $className($yValues,$xValues,$const); - } - return self::$_trendCache[$key]; - break; - case self::TREND_POLYNOMIAL_2 : - case self::TREND_POLYNOMIAL_3 : - case self::TREND_POLYNOMIAL_4 : - case self::TREND_POLYNOMIAL_5 : - case self::TREND_POLYNOMIAL_6 : - if (!isset(self::$_trendCache[$key])) { - $order = substr($trendType,-1); - self::$_trendCache[$key] = new PHPExcel_Polynomial_Best_Fit($order,$yValues,$xValues,$const); - } - return self::$_trendCache[$key]; - break; - case self::TREND_BEST_FIT : - case self::TREND_BEST_FIT_NO_POLY : - // If the request is to determine the best fit regression, then we test each trend line in turn - // Start by generating an instance of each available trend method - foreach(self::$_trendTypes as $trendMethod) { - $className = 'PHPExcel_'.$trendMethod.'BestFit'; - $bestFit[$trendMethod] = new $className($yValues,$xValues,$const); - $bestFitValue[$trendMethod] = $bestFit[$trendMethod]->getGoodnessOfFit(); - } - if ($trendType != self::TREND_BEST_FIT_NO_POLY) { - foreach(self::$_trendTypePolyOrders as $trendMethod) { - $order = substr($trendMethod,-1); - $bestFit[$trendMethod] = new PHPExcel_Polynomial_Best_Fit($order,$yValues,$xValues,$const); - if ($bestFit[$trendMethod]->getError()) { - unset($bestFit[$trendMethod]); - } else { - $bestFitValue[$trendMethod] = $bestFit[$trendMethod]->getGoodnessOfFit(); - } - } - } - // Determine which of our trend lines is the best fit, and then we return the instance of that trend class - arsort($bestFitValue); - $bestFitType = key($bestFitValue); - return $bestFit[$bestFitType]; - break; - default : - return false; - } - } // function calculate() - -} // class trendClass \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style.php deleted file mode 100644 index 9c29320ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style.php +++ /dev/null @@ -1,668 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /** - * Font - * - * @var PHPExcel_Style_Font - */ - protected $_font; - - /** - * Fill - * - * @var PHPExcel_Style_Fill - */ - protected $_fill; - - /** - * Borders - * - * @var PHPExcel_Style_Borders - */ - protected $_borders; - - /** - * Alignment - * - * @var PHPExcel_Style_Alignment - */ - protected $_alignment; - - /** - * Number Format - * - * @var PHPExcel_Style_NumberFormat - */ - protected $_numberFormat; - - /** - * Conditional styles - * - * @var PHPExcel_Style_Conditional[] - */ - protected $_conditionalStyles; - - /** - * Protection - * - * @var PHPExcel_Style_Protection - */ - protected $_protection; - - /** - * Index of style in collection. Only used for real style. - * - * @var int - */ - protected $_index; - - /** - * Use Quote Prefix when displaying in cell editor. Only used for real style. - * - * @var boolean - */ - protected $_quotePrefix = false; - - /** - * Create a new PHPExcel_Style - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = false, $isConditional = false) - { - // Supervisor? - $this->_isSupervisor = $isSupervisor; - - // Initialise values - $this->_conditionalStyles = array(); - $this->_font = new PHPExcel_Style_Font($isSupervisor, $isConditional); - $this->_fill = new PHPExcel_Style_Fill($isSupervisor, $isConditional); - $this->_borders = new PHPExcel_Style_Borders($isSupervisor, $isConditional); - $this->_alignment = new PHPExcel_Style_Alignment($isSupervisor, $isConditional); - $this->_numberFormat = new PHPExcel_Style_NumberFormat($isSupervisor, $isConditional); - $this->_protection = new PHPExcel_Style_Protection($isSupervisor, $isConditional); - - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_font->bindParent($this); - $this->_fill->bindParent($this); - $this->_borders->bindParent($this); - $this->_alignment->bindParent($this); - $this->_numberFormat->bindParent($this); - $this->_protection->bindParent($this); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style - */ - public function getSharedComponent() - { - $activeSheet = $this->getActiveSheet(); - $selectedCell = $this->getActiveCell(); // e.g. 'A1' - - if ($activeSheet->cellExists($selectedCell)) { - $xfIndex = $activeSheet->getCell($selectedCell)->getXfIndex(); - } else { - $xfIndex = 0; - } - - return $this->_parent->getCellXfByIndex($xfIndex); - } - - /** - * Get parent. Only used for style supervisor - * - * @return PHPExcel - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('quotePrefix' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->applyFromArray( - * array( - * 'font' => array( - * 'name' => 'Arial', - * 'bold' => true, - * 'italic' => false, - * 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE, - * 'strike' => false, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ), - * 'borders' => array( - * 'bottom' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ), - * 'top' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ), - * 'quotePrefix' => true - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @param boolean $pAdvanced Advanced mode for setting borders. - * @throws PHPExcel_Exception - * @return PHPExcel_Style - */ - public function applyFromArray($pStyles = null, $pAdvanced = true) - { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - - $pRange = $this->getSelectedCells(); - - // Uppercase coordinate - $pRange = strtoupper($pRange); - - // Is it a cell range or a single cell? - if (strpos($pRange, ':') === false) { - $rangeA = $pRange; - $rangeB = $pRange; - } else { - list($rangeA, $rangeB) = explode(':', $pRange); - } - - // Calculate range outer borders - $rangeStart = PHPExcel_Cell::coordinateFromString($rangeA); - $rangeEnd = PHPExcel_Cell::coordinateFromString($rangeB); - - // Translate column into index - $rangeStart[0] = PHPExcel_Cell::columnIndexFromString($rangeStart[0]) - 1; - $rangeEnd[0] = PHPExcel_Cell::columnIndexFromString($rangeEnd[0]) - 1; - - // Make sure we can loop upwards on rows and columns - if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { - $tmp = $rangeStart; - $rangeStart = $rangeEnd; - $rangeEnd = $tmp; - } - - // ADVANCED MODE: - - if ($pAdvanced && isset($pStyles['borders'])) { - - // 'allborders' is a shorthand property for 'outline' and 'inside' and - // it applies to components that have not been set explicitly - if (isset($pStyles['borders']['allborders'])) { - foreach (array('outline', 'inside') as $component) { - if (!isset($pStyles['borders'][$component])) { - $pStyles['borders'][$component] = $pStyles['borders']['allborders']; - } - } - unset($pStyles['borders']['allborders']); // not needed any more - } - - // 'outline' is a shorthand property for 'top', 'right', 'bottom', 'left' - // it applies to components that have not been set explicitly - if (isset($pStyles['borders']['outline'])) { - foreach (array('top', 'right', 'bottom', 'left') as $component) { - if (!isset($pStyles['borders'][$component])) { - $pStyles['borders'][$component] = $pStyles['borders']['outline']; - } - } - unset($pStyles['borders']['outline']); // not needed any more - } - - // 'inside' is a shorthand property for 'vertical' and 'horizontal' - // it applies to components that have not been set explicitly - if (isset($pStyles['borders']['inside'])) { - foreach (array('vertical', 'horizontal') as $component) { - if (!isset($pStyles['borders'][$component])) { - $pStyles['borders'][$component] = $pStyles['borders']['inside']; - } - } - unset($pStyles['borders']['inside']); // not needed any more - } - - // width and height characteristics of selection, 1, 2, or 3 (for 3 or more) - $xMax = min($rangeEnd[0] - $rangeStart[0] + 1, 3); - $yMax = min($rangeEnd[1] - $rangeStart[1] + 1, 3); - - // loop through up to 3 x 3 = 9 regions - for ($x = 1; $x <= $xMax; ++$x) { - // start column index for region - $colStart = ($x == 3) ? - PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]) - : PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] + $x - 1); - - // end column index for region - $colEnd = ($x == 1) ? - PHPExcel_Cell::stringFromColumnIndex($rangeStart[0]) - : PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0] - $xMax + $x); - - for ($y = 1; $y <= $yMax; ++$y) { - - // which edges are touching the region - $edges = array(); - - // are we at left edge - if ($x == 1) { - $edges[] = 'left'; - } - - // are we at right edge - if ($x == $xMax) { - $edges[] = 'right'; - } - - // are we at top edge? - if ($y == 1) { - $edges[] = 'top'; - } - - // are we at bottom edge? - if ($y == $yMax) { - $edges[] = 'bottom'; - } - - // start row index for region - $rowStart = ($y == 3) ? - $rangeEnd[1] : $rangeStart[1] + $y - 1; - - // end row index for region - $rowEnd = ($y == 1) ? - $rangeStart[1] : $rangeEnd[1] - $yMax + $y; - - // build range for region - $range = $colStart . $rowStart . ':' . $colEnd . $rowEnd; - - // retrieve relevant style array for region - $regionStyles = $pStyles; - unset($regionStyles['borders']['inside']); - - // what are the inner edges of the region when looking at the selection - $innerEdges = array_diff( array('top', 'right', 'bottom', 'left'), $edges ); - - // inner edges that are not touching the region should take the 'inside' border properties if they have been set - foreach ($innerEdges as $innerEdge) { - switch ($innerEdge) { - case 'top': - case 'bottom': - // should pick up 'horizontal' border property if set - if (isset($pStyles['borders']['horizontal'])) { - $regionStyles['borders'][$innerEdge] = $pStyles['borders']['horizontal']; - } else { - unset($regionStyles['borders'][$innerEdge]); - } - break; - case 'left': - case 'right': - // should pick up 'vertical' border property if set - if (isset($pStyles['borders']['vertical'])) { - $regionStyles['borders'][$innerEdge] = $pStyles['borders']['vertical']; - } else { - unset($regionStyles['borders'][$innerEdge]); - } - break; - } - } - - // apply region style to region by calling applyFromArray() in simple mode - $this->getActiveSheet()->getStyle($range)->applyFromArray($regionStyles, false); - } - } - return $this; - } - - // SIMPLE MODE: - - // Selection type, inspect - if (preg_match('/^[A-Z]+1:[A-Z]+1048576$/', $pRange)) { - $selectionType = 'COLUMN'; - } else if (preg_match('/^A[0-9]+:XFD[0-9]+$/', $pRange)) { - $selectionType = 'ROW'; - } else { - $selectionType = 'CELL'; - } - - // First loop through columns, rows, or cells to find out which styles are affected by this operation - switch ($selectionType) { - case 'COLUMN': - $oldXfIndexes = array(); - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - $oldXfIndexes[$this->getActiveSheet()->getColumnDimensionByColumn($col)->getXfIndex()] = true; - } - break; - - case 'ROW': - $oldXfIndexes = array(); - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - if ($this->getActiveSheet()->getRowDimension($row)->getXfIndex() == null) { - $oldXfIndexes[0] = true; // row without explicit style should be formatted based on default style - } else { - $oldXfIndexes[$this->getActiveSheet()->getRowDimension($row)->getXfIndex()] = true; - } - } - break; - - case 'CELL': - $oldXfIndexes = array(); - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $oldXfIndexes[$this->getActiveSheet()->getCellByColumnAndRow($col, $row)->getXfIndex()] = true; - } - } - break; - } - - // clone each of the affected styles, apply the style array, and add the new styles to the workbook - $workbook = $this->getActiveSheet()->getParent(); - foreach ($oldXfIndexes as $oldXfIndex => $dummy) { - $style = $workbook->getCellXfByIndex($oldXfIndex); - $newStyle = clone $style; - $newStyle->applyFromArray($pStyles); - - if ($existingStyle = $workbook->getCellXfByHashCode($newStyle->getHashCode())) { - // there is already such cell Xf in our collection - $newXfIndexes[$oldXfIndex] = $existingStyle->getIndex(); - } else { - // we don't have such a cell Xf, need to add - $workbook->addCellXf($newStyle); - $newXfIndexes[$oldXfIndex] = $newStyle->getIndex(); - } - } - - // Loop through columns, rows, or cells again and update the XF index - switch ($selectionType) { - case 'COLUMN': - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - $columnDimension = $this->getActiveSheet()->getColumnDimensionByColumn($col); - $oldXfIndex = $columnDimension->getXfIndex(); - $columnDimension->setXfIndex($newXfIndexes[$oldXfIndex]); - } - break; - - case 'ROW': - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $rowDimension = $this->getActiveSheet()->getRowDimension($row); - $oldXfIndex = $rowDimension->getXfIndex() === null ? - 0 : $rowDimension->getXfIndex(); // row without explicit style should be formatted based on default style - $rowDimension->setXfIndex($newXfIndexes[$oldXfIndex]); - } - break; - - case 'CELL': - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $cell = $this->getActiveSheet()->getCellByColumnAndRow($col, $row); - $oldXfIndex = $cell->getXfIndex(); - $cell->setXfIndex($newXfIndexes[$oldXfIndex]); - } - } - break; - } - - } else { - // not a supervisor, just apply the style array directly on style object - if (array_key_exists('fill', $pStyles)) { - $this->getFill()->applyFromArray($pStyles['fill']); - } - if (array_key_exists('font', $pStyles)) { - $this->getFont()->applyFromArray($pStyles['font']); - } - if (array_key_exists('borders', $pStyles)) { - $this->getBorders()->applyFromArray($pStyles['borders']); - } - if (array_key_exists('alignment', $pStyles)) { - $this->getAlignment()->applyFromArray($pStyles['alignment']); - } - if (array_key_exists('numberformat', $pStyles)) { - $this->getNumberFormat()->applyFromArray($pStyles['numberformat']); - } - if (array_key_exists('protection', $pStyles)) { - $this->getProtection()->applyFromArray($pStyles['protection']); - } - if (array_key_exists('quotePrefix', $pStyles)) { - $this->_quotePrefix = $pStyles['quotePrefix']; - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Fill - * - * @return PHPExcel_Style_Fill - */ - public function getFill() - { - return $this->_fill; - } - - /** - * Get Font - * - * @return PHPExcel_Style_Font - */ - public function getFont() - { - return $this->_font; - } - - /** - * Set font - * - * @param PHPExcel_Style_Font $font - * @return PHPExcel_Style - */ - public function setFont(PHPExcel_Style_Font $font) - { - $this->_font = $font; - return $this; - } - - /** - * Get Borders - * - * @return PHPExcel_Style_Borders - */ - public function getBorders() - { - return $this->_borders; - } - - /** - * Get Alignment - * - * @return PHPExcel_Style_Alignment - */ - public function getAlignment() - { - return $this->_alignment; - } - - /** - * Get Number Format - * - * @return PHPExcel_Style_NumberFormat - */ - public function getNumberFormat() - { - return $this->_numberFormat; - } - - /** - * Get Conditional Styles. Only used on supervisor. - * - * @return PHPExcel_Style_Conditional[] - */ - public function getConditionalStyles() - { - return $this->getActiveSheet()->getConditionalStyles($this->getActiveCell()); - } - - /** - * Set Conditional Styles. Only used on supervisor. - * - * @param PHPExcel_Style_Conditional[] $pValue Array of condtional styles - * @return PHPExcel_Style - */ - public function setConditionalStyles($pValue = null) - { - if (is_array($pValue)) { - $this->getActiveSheet()->setConditionalStyles($this->getSelectedCells(), $pValue); - } - return $this; - } - - /** - * Get Protection - * - * @return PHPExcel_Style_Protection - */ - public function getProtection() - { - return $this->_protection; - } - - /** - * Get quote prefix - * - * @return boolean - */ - public function getQuotePrefix() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getQuotePrefix(); - } - return $this->_quotePrefix; - } - - /** - * Set quote prefix - * - * @param boolean $pValue - */ - public function setQuotePrefix($pValue) - { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = array('quotePrefix' => $pValue); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_quotePrefix = (boolean) $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() - { - $hashConditionals = ''; - foreach ($this->_conditionalStyles as $conditional) { - $hashConditionals .= $conditional->getHashCode(); - } - - return md5( - $this->_fill->getHashCode() - . $this->_font->getHashCode() - . $this->_borders->getHashCode() - . $this->_alignment->getHashCode() - . $this->_numberFormat->getHashCode() - . $hashConditionals - . $this->_protection->getHashCode() - . ($this->_quotePrefix ? 't' : 'f') - . __CLASS__ - ); - } - - /** - * Get own index in style collection - * - * @return int - */ - public function getIndex() - { - return $this->_index; - } - - /** - * Set own index in style collection - * - * @param int $pValue - */ - public function setIndex($pValue) - { - $this->_index = $pValue; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Alignment.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Alignment.php deleted file mode 100644 index 00825debf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Alignment.php +++ /dev/null @@ -1,459 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Alignment - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Horizontal alignment styles */ - const HORIZONTAL_GENERAL = 'general'; - const HORIZONTAL_LEFT = 'left'; - const HORIZONTAL_RIGHT = 'right'; - const HORIZONTAL_CENTER = 'center'; - const HORIZONTAL_CENTER_CONTINUOUS = 'centerContinuous'; - const HORIZONTAL_JUSTIFY = 'justify'; - const HORIZONTAL_FILL = 'fill'; - const HORIZONTAL_DISTRIBUTED = 'distributed'; // Excel2007 only - - /* Vertical alignment styles */ - const VERTICAL_BOTTOM = 'bottom'; - const VERTICAL_TOP = 'top'; - const VERTICAL_CENTER = 'center'; - const VERTICAL_JUSTIFY = 'justify'; - const VERTICAL_DISTRIBUTED = 'distributed'; // Excel2007 only - - /* Read order */ - const READORDER_CONTEXT = 0; - const READORDER_LTR = 1; - const READORDER_RTL = 2; - - /** - * Horizontal alignment - * - * @var string - */ - protected $_horizontal = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - - /** - * Vertical alignment - * - * @var string - */ - protected $_vertical = PHPExcel_Style_Alignment::VERTICAL_BOTTOM; - - /** - * Text rotation - * - * @var integer - */ - protected $_textRotation = 0; - - /** - * Wrap text - * - * @var boolean - */ - protected $_wrapText = FALSE; - - /** - * Shrink to fit - * - * @var boolean - */ - protected $_shrinkToFit = FALSE; - - /** - * Indent - only possible with horizontal alignment left and right - * - * @var integer - */ - protected $_indent = 0; - - /** - * Read order - * - * @var integer - */ - protected $_readorder = 0; - - /** - * Create a new PHPExcel_Style_Alignment - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - if ($isConditional) { - $this->_horizontal = NULL; - $this->_vertical = NULL; - $this->_textRotation = NULL; - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Alignment - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getAlignment(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('alignment' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray( - * array( - * 'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER, - * 'vertical' => PHPExcel_Style_Alignment::VERTICAL_CENTER, - * 'rotation' => 0, - * 'wrap' => TRUE - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Alignment - */ - public function applyFromArray($pStyles = NULL) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells()) - ->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (isset($pStyles['horizontal'])) { - $this->setHorizontal($pStyles['horizontal']); - } - if (isset($pStyles['vertical'])) { - $this->setVertical($pStyles['vertical']); - } - if (isset($pStyles['rotation'])) { - $this->setTextRotation($pStyles['rotation']); - } - if (isset($pStyles['wrap'])) { - $this->setWrapText($pStyles['wrap']); - } - if (isset($pStyles['shrinkToFit'])) { - $this->setShrinkToFit($pStyles['shrinkToFit']); - } - if (isset($pStyles['indent'])) { - $this->setIndent($pStyles['indent']); - } - if (isset($pStyles['readorder'])) { - $this->setReadorder($pStyles['readorder']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Horizontal - * - * @return string - */ - public function getHorizontal() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHorizontal(); - } - return $this->_horizontal; - } - - /** - * Set Horizontal - * - * @param string $pValue - * @return PHPExcel_Style_Alignment - */ - public function setHorizontal($pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - } - - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('horizontal' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } - else { - $this->_horizontal = $pValue; - } - return $this; - } - - /** - * Get Vertical - * - * @return string - */ - public function getVertical() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getVertical(); - } - return $this->_vertical; - } - - /** - * Set Vertical - * - * @param string $pValue - * @return PHPExcel_Style_Alignment - */ - public function setVertical($pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM; - } - - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('vertical' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_vertical = $pValue; - } - return $this; - } - - /** - * Get TextRotation - * - * @return int - */ - public function getTextRotation() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getTextRotation(); - } - return $this->_textRotation; - } - - /** - * Set TextRotation - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Alignment - */ - public function setTextRotation($pValue = 0) { - // Excel2007 value 255 => PHPExcel value -165 - if ($pValue == 255) { - $pValue = -165; - } - - // Set rotation - if ( ($pValue >= -90 && $pValue <= 90) || $pValue == -165 ) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('rotation' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_textRotation = $pValue; - } - } else { - throw new PHPExcel_Exception("Text rotation should be a value between -90 and 90."); - } - - return $this; - } - - /** - * Get Wrap Text - * - * @return boolean - */ - public function getWrapText() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getWrapText(); - } - return $this->_wrapText; - } - - /** - * Set Wrap Text - * - * @param boolean $pValue - * @return PHPExcel_Style_Alignment - */ - public function setWrapText($pValue = FALSE) { - if ($pValue == '') { - $pValue = FALSE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('wrap' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_wrapText = $pValue; - } - return $this; - } - - /** - * Get Shrink to fit - * - * @return boolean - */ - public function getShrinkToFit() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getShrinkToFit(); - } - return $this->_shrinkToFit; - } - - /** - * Set Shrink to fit - * - * @param boolean $pValue - * @return PHPExcel_Style_Alignment - */ - public function setShrinkToFit($pValue = FALSE) { - if ($pValue == '') { - $pValue = FALSE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('shrinkToFit' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_shrinkToFit = $pValue; - } - return $this; - } - - /** - * Get indent - * - * @return int - */ - public function getIndent() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getIndent(); - } - return $this->_indent; - } - - /** - * Set indent - * - * @param int $pValue - * @return PHPExcel_Style_Alignment - */ - public function setIndent($pValue = 0) { - if ($pValue > 0) { - if ($this->getHorizontal() != self::HORIZONTAL_GENERAL && - $this->getHorizontal() != self::HORIZONTAL_LEFT && - $this->getHorizontal() != self::HORIZONTAL_RIGHT) { - $pValue = 0; // indent not supported - } - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('indent' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_indent = $pValue; - } - return $this; - } - - /** - * Get read order - * - * @return integer - */ - public function getReadorder() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getReadorder(); - } - return $this->_readorder; - } - - /** - * Set read order - * - * @param int $pValue - * @return PHPExcel_Style_Alignment - */ - public function setReadorder($pValue = 0) { - if ($pValue < 0 || $pValue > 2) { - $pValue = 0; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('readorder' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_readorder = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_horizontal - . $this->_vertical - . $this->_textRotation - . ($this->_wrapText ? 't' : 'f') - . ($this->_shrinkToFit ? 't' : 'f') - . $this->_indent - . $this->_readorder - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Border.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Border.php deleted file mode 100644 index ec737bf0f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Border.php +++ /dev/null @@ -1,294 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Border - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Border extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Border style */ - const BORDER_NONE = 'none'; - const BORDER_DASHDOT = 'dashDot'; - const BORDER_DASHDOTDOT = 'dashDotDot'; - const BORDER_DASHED = 'dashed'; - const BORDER_DOTTED = 'dotted'; - const BORDER_DOUBLE = 'double'; - const BORDER_HAIR = 'hair'; - const BORDER_MEDIUM = 'medium'; - const BORDER_MEDIUMDASHDOT = 'mediumDashDot'; - const BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot'; - const BORDER_MEDIUMDASHED = 'mediumDashed'; - const BORDER_SLANTDASHDOT = 'slantDashDot'; - const BORDER_THICK = 'thick'; - const BORDER_THIN = 'thin'; - - /** - * Border style - * - * @var string - */ - protected $_borderStyle = PHPExcel_Style_Border::BORDER_NONE; - - /** - * Border color - * - * @var PHPExcel_Style_Color - */ - protected $_color; - - /** - * Parent property name - * - * @var string - */ - protected $_parentPropertyName; - - /** - * Create a new PHPExcel_Style_Border - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); - - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_color->bindParent($this, '_color'); - } - } - - /** - * Bind parent. Only used for supervisor - * - * @param PHPExcel_Style_Borders $parent - * @param string $parentPropertyName - * @return PHPExcel_Style_Border - */ - public function bindParent($parent, $parentPropertyName=NULL) - { - $this->_parent = $parent; - $this->_parentPropertyName = $parentPropertyName; - return $this; - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getSharedComponent() - { - switch ($this->_parentPropertyName) { - case '_allBorders': - case '_horizontal': - case '_inside': - case '_outline': - case '_vertical': - throw new PHPExcel_Exception('Cannot get shared component for a pseudo-border.'); - break; - case '_bottom': - return $this->_parent->getSharedComponent()->getBottom(); break; - case '_diagonal': - return $this->_parent->getSharedComponent()->getDiagonal(); break; - case '_left': - return $this->_parent->getSharedComponent()->getLeft(); break; - case '_right': - return $this->_parent->getSharedComponent()->getRight(); break; - case '_top': - return $this->_parent->getSharedComponent()->getTop(); break; - - } - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - switch ($this->_parentPropertyName) { - case '_allBorders': - $key = 'allborders'; break; - case '_bottom': - $key = 'bottom'; break; - case '_diagonal': - $key = 'diagonal'; break; - case '_horizontal': - $key = 'horizontal'; break; - case '_inside': - $key = 'inside'; break; - case '_left': - $key = 'left'; break; - case '_outline': - $key = 'outline'; break; - case '_right': - $key = 'right'; break; - case '_top': - $key = 'top'; break; - case '_vertical': - $key = 'vertical'; break; - } - return $this->_parent->getStyleArray(array($key => $array)); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->getTop()->applyFromArray( - * array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Border - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (isset($pStyles['style'])) { - $this->setBorderStyle($pStyles['style']); - } - if (isset($pStyles['color'])) { - $this->getColor()->applyFromArray($pStyles['color']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Border style - * - * @return string - */ - public function getBorderStyle() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getBorderStyle(); - } - return $this->_borderStyle; - } - - /** - * Set Border style - * - * @param string|boolean $pValue - * When passing a boolean, FALSE equates PHPExcel_Style_Border::BORDER_NONE - * and TRUE to PHPExcel_Style_Border::BORDER_MEDIUM - * @return PHPExcel_Style_Border - */ - public function setBorderStyle($pValue = PHPExcel_Style_Border::BORDER_NONE) { - - if (empty($pValue)) { - $pValue = PHPExcel_Style_Border::BORDER_NONE; - } elseif(is_bool($pValue) && $pValue) { - $pValue = PHPExcel_Style_Border::BORDER_MEDIUM; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('style' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_borderStyle = $pValue; - } - return $this; - } - - /** - * Get Border Color - * - * @return PHPExcel_Style_Color - */ - public function getColor() { - return $this->_color; - } - - /** - * Set Border Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Border - */ - public function setColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_color = $color; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_borderStyle - . $this->_color->getHashCode() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Borders.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Borders.php deleted file mode 100644 index 21dcfeeef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Borders.php +++ /dev/null @@ -1,424 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Borders - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Borders extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Diagonal directions */ - const DIAGONAL_NONE = 0; - const DIAGONAL_UP = 1; - const DIAGONAL_DOWN = 2; - const DIAGONAL_BOTH = 3; - - /** - * Left - * - * @var PHPExcel_Style_Border - */ - protected $_left; - - /** - * Right - * - * @var PHPExcel_Style_Border - */ - protected $_right; - - /** - * Top - * - * @var PHPExcel_Style_Border - */ - protected $_top; - - /** - * Bottom - * - * @var PHPExcel_Style_Border - */ - protected $_bottom; - - /** - * Diagonal - * - * @var PHPExcel_Style_Border - */ - protected $_diagonal; - - /** - * DiagonalDirection - * - * @var int - */ - protected $_diagonalDirection; - - /** - * All borders psedo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_allBorders; - - /** - * Outline psedo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_outline; - - /** - * Inside psedo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_inside; - - /** - * Vertical pseudo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_vertical; - - /** - * Horizontal pseudo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_horizontal; - - /** - * Create a new PHPExcel_Style_Borders - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - $this->_left = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_right = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_top = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_bottom = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_diagonal = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_diagonalDirection = PHPExcel_Style_Borders::DIAGONAL_NONE; - - // Specially for supervisor - if ($isSupervisor) { - // Initialize pseudo-borders - $this->_allBorders = new PHPExcel_Style_Border(TRUE); - $this->_outline = new PHPExcel_Style_Border(TRUE); - $this->_inside = new PHPExcel_Style_Border(TRUE); - $this->_vertical = new PHPExcel_Style_Border(TRUE); - $this->_horizontal = new PHPExcel_Style_Border(TRUE); - - // bind parent if we are a supervisor - $this->_left->bindParent($this, '_left'); - $this->_right->bindParent($this, '_right'); - $this->_top->bindParent($this, '_top'); - $this->_bottom->bindParent($this, '_bottom'); - $this->_diagonal->bindParent($this, '_diagonal'); - $this->_allBorders->bindParent($this, '_allBorders'); - $this->_outline->bindParent($this, '_outline'); - $this->_inside->bindParent($this, '_inside'); - $this->_vertical->bindParent($this, '_vertical'); - $this->_horizontal->bindParent($this, '_horizontal'); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Borders - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getBorders(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('borders' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( - * array( - * 'bottom' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ), - * 'top' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ) - * ); - * </code> - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( - * array( - * 'allborders' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Borders - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('left', $pStyles)) { - $this->getLeft()->applyFromArray($pStyles['left']); - } - if (array_key_exists('right', $pStyles)) { - $this->getRight()->applyFromArray($pStyles['right']); - } - if (array_key_exists('top', $pStyles)) { - $this->getTop()->applyFromArray($pStyles['top']); - } - if (array_key_exists('bottom', $pStyles)) { - $this->getBottom()->applyFromArray($pStyles['bottom']); - } - if (array_key_exists('diagonal', $pStyles)) { - $this->getDiagonal()->applyFromArray($pStyles['diagonal']); - } - if (array_key_exists('diagonaldirection', $pStyles)) { - $this->setDiagonalDirection($pStyles['diagonaldirection']); - } - if (array_key_exists('allborders', $pStyles)) { - $this->getLeft()->applyFromArray($pStyles['allborders']); - $this->getRight()->applyFromArray($pStyles['allborders']); - $this->getTop()->applyFromArray($pStyles['allborders']); - $this->getBottom()->applyFromArray($pStyles['allborders']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Left - * - * @return PHPExcel_Style_Border - */ - public function getLeft() { - return $this->_left; - } - - /** - * Get Right - * - * @return PHPExcel_Style_Border - */ - public function getRight() { - return $this->_right; - } - - /** - * Get Top - * - * @return PHPExcel_Style_Border - */ - public function getTop() { - return $this->_top; - } - - /** - * Get Bottom - * - * @return PHPExcel_Style_Border - */ - public function getBottom() { - return $this->_bottom; - } - - /** - * Get Diagonal - * - * @return PHPExcel_Style_Border - */ - public function getDiagonal() { - return $this->_diagonal; - } - - /** - * Get AllBorders (pseudo-border). Only applies to supervisor. - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getAllBorders() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_allBorders; - } - - /** - * Get Outline (pseudo-border). Only applies to supervisor. - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function getOutline() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_outline; - } - - /** - * Get Inside (pseudo-border). Only applies to supervisor. - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function getInside() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_inside; - } - - /** - * Get Vertical (pseudo-border). Only applies to supervisor. - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getVertical() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_vertical; - } - - /** - * Get Horizontal (pseudo-border). Only applies to supervisor. - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getHorizontal() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_horizontal; - } - - /** - * Get DiagonalDirection - * - * @return int - */ - public function getDiagonalDirection() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getDiagonalDirection(); - } - return $this->_diagonalDirection; - } - - /** - * Set DiagonalDirection - * - * @param int $pValue - * @return PHPExcel_Style_Borders - */ - public function setDiagonalDirection($pValue = PHPExcel_Style_Borders::DIAGONAL_NONE) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Borders::DIAGONAL_NONE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('diagonaldirection' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_diagonalDirection = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashcode(); - } - return md5( - $this->getLeft()->getHashCode() - . $this->getRight()->getHashCode() - . $this->getTop()->getHashCode() - . $this->getBottom()->getHashCode() - . $this->getDiagonal()->getHashCode() - . $this->getDiagonalDirection() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Color.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Color.php deleted file mode 100644 index a56c9a633..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Color.php +++ /dev/null @@ -1,429 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Color - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Color extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Colors */ - const COLOR_BLACK = 'FF000000'; - const COLOR_WHITE = 'FFFFFFFF'; - const COLOR_RED = 'FFFF0000'; - const COLOR_DARKRED = 'FF800000'; - const COLOR_BLUE = 'FF0000FF'; - const COLOR_DARKBLUE = 'FF000080'; - const COLOR_GREEN = 'FF00FF00'; - const COLOR_DARKGREEN = 'FF008000'; - const COLOR_YELLOW = 'FFFFFF00'; - const COLOR_DARKYELLOW = 'FF808000'; - - /** - * Indexed colors array - * - * @var array - */ - protected static $_indexedColors; - - /** - * ARGB - Alpha RGB - * - * @var string - */ - protected $_argb = NULL; - - /** - * Parent property name - * - * @var string - */ - protected $_parentPropertyName; - - - /** - * Create a new PHPExcel_Style_Color - * - * @param string $pARGB ARGB value for the colour - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($pARGB = PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if (!$isConditional) { - $this->_argb = $pARGB; - } - } - - /** - * Bind parent. Only used for supervisor - * - * @param mixed $parent - * @param string $parentPropertyName - * @return PHPExcel_Style_Color - */ - public function bindParent($parent, $parentPropertyName=NULL) - { - $this->_parent = $parent; - $this->_parentPropertyName = $parentPropertyName; - return $this; - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Color - */ - public function getSharedComponent() - { - switch ($this->_parentPropertyName) { - case '_endColor': - return $this->_parent->getSharedComponent()->getEndColor(); break; - case '_color': - return $this->_parent->getSharedComponent()->getColor(); break; - case '_startColor': - return $this->_parent->getSharedComponent()->getStartColor(); break; - } - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - switch ($this->_parentPropertyName) { - case '_endColor': - $key = 'endcolor'; - break; - case '_color': - $key = 'color'; - break; - case '_startColor': - $key = 'startcolor'; - break; - - } - return $this->_parent->getStyleArray(array($key => $array)); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->getColor()->applyFromArray( array('rgb' => '808080') ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Color - */ - public function applyFromArray($pStyles = NULL) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('rgb', $pStyles)) { - $this->setRGB($pStyles['rgb']); - } - if (array_key_exists('argb', $pStyles)) { - $this->setARGB($pStyles['argb']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get ARGB - * - * @return string - */ - public function getARGB() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getARGB(); - } - return $this->_argb; - } - - /** - * Set ARGB - * - * @param string $pValue - * @return PHPExcel_Style_Color - */ - public function setARGB($pValue = PHPExcel_Style_Color::COLOR_BLACK) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Color::COLOR_BLACK; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('argb' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_argb = $pValue; - } - return $this; - } - - /** - * Get RGB - * - * @return string - */ - public function getRGB() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getRGB(); - } - return substr($this->_argb, 2); - } - - /** - * Set RGB - * - * @param string $pValue RGB value - * @return PHPExcel_Style_Color - */ - public function setRGB($pValue = '000000') { - if ($pValue == '') { - $pValue = '000000'; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('argb' => 'FF' . $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_argb = 'FF' . $pValue; - } - return $this; - } - - /** - * Get a specified colour component of an RGB value - * - * @private - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param int $offset Position within the RGB value to extract - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The extracted colour component - */ - private static function _getColourComponent($RGB,$offset,$hex=TRUE) { - $colour = substr($RGB, $offset, 2); - if (!$hex) - $colour = hexdec($colour); - return $colour; - } - - /** - * Get the red colour component of an RGB value - * - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The red colour component - */ - public static function getRed($RGB,$hex=TRUE) { - return self::_getColourComponent($RGB, strlen($RGB) - 6, $hex); - } - - /** - * Get the green colour component of an RGB value - * - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The green colour component - */ - public static function getGreen($RGB,$hex=TRUE) { - return self::_getColourComponent($RGB, strlen($RGB) - 4, $hex); - } - - /** - * Get the blue colour component of an RGB value - * - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The blue colour component - */ - public static function getBlue($RGB,$hex=TRUE) { - return self::_getColourComponent($RGB, strlen($RGB) - 2, $hex); - } - - /** - * Adjust the brightness of a color - * - * @param string $hex The colour as an RGBA or RGB value (e.g. FF00CCCC or CCDDEE) - * @param float $adjustPercentage The percentage by which to adjust the colour as a float from -1 to 1 - * @return string The adjusted colour as an RGBA or RGB value (e.g. FF00CCCC or CCDDEE) - */ - public static function changeBrightness($hex, $adjustPercentage) { - $rgba = (strlen($hex) == 8); - - $red = self::getRed($hex, FALSE); - $green = self::getGreen($hex, FALSE); - $blue = self::getBlue($hex, FALSE); - if ($adjustPercentage > 0) { - $red += (255 - $red) * $adjustPercentage; - $green += (255 - $green) * $adjustPercentage; - $blue += (255 - $blue) * $adjustPercentage; - } else { - $red += $red * $adjustPercentage; - $green += $green * $adjustPercentage; - $blue += $blue * $adjustPercentage; - } - - if ($red < 0) $red = 0; - elseif ($red > 255) $red = 255; - if ($green < 0) $green = 0; - elseif ($green > 255) $green = 255; - if ($blue < 0) $blue = 0; - elseif ($blue > 255) $blue = 255; - - $rgb = strtoupper( str_pad(dechex($red), 2, '0', 0) . - str_pad(dechex($green), 2, '0', 0) . - str_pad(dechex($blue), 2, '0', 0) - ); - return (($rgba) ? 'FF' : '') . $rgb; - } - - /** - * Get indexed color - * - * @param int $pIndex Index entry point into the colour array - * @param boolean $background Flag to indicate whether default background or foreground colour - * should be returned if the indexed colour doesn't exist - * @return PHPExcel_Style_Color - */ - public static function indexedColor($pIndex, $background=FALSE) { - // Clean parameter - $pIndex = intval($pIndex); - - // Indexed colors - if (is_null(self::$_indexedColors)) { - self::$_indexedColors = array( - 1 => 'FF000000', // System Colour #1 - Black - 2 => 'FFFFFFFF', // System Colour #2 - White - 3 => 'FFFF0000', // System Colour #3 - Red - 4 => 'FF00FF00', // System Colour #4 - Green - 5 => 'FF0000FF', // System Colour #5 - Blue - 6 => 'FFFFFF00', // System Colour #6 - Yellow - 7 => 'FFFF00FF', // System Colour #7- Magenta - 8 => 'FF00FFFF', // System Colour #8- Cyan - 9 => 'FF800000', // Standard Colour #9 - 10 => 'FF008000', // Standard Colour #10 - 11 => 'FF000080', // Standard Colour #11 - 12 => 'FF808000', // Standard Colour #12 - 13 => 'FF800080', // Standard Colour #13 - 14 => 'FF008080', // Standard Colour #14 - 15 => 'FFC0C0C0', // Standard Colour #15 - 16 => 'FF808080', // Standard Colour #16 - 17 => 'FF9999FF', // Chart Fill Colour #17 - 18 => 'FF993366', // Chart Fill Colour #18 - 19 => 'FFFFFFCC', // Chart Fill Colour #19 - 20 => 'FFCCFFFF', // Chart Fill Colour #20 - 21 => 'FF660066', // Chart Fill Colour #21 - 22 => 'FFFF8080', // Chart Fill Colour #22 - 23 => 'FF0066CC', // Chart Fill Colour #23 - 24 => 'FFCCCCFF', // Chart Fill Colour #24 - 25 => 'FF000080', // Chart Line Colour #25 - 26 => 'FFFF00FF', // Chart Line Colour #26 - 27 => 'FFFFFF00', // Chart Line Colour #27 - 28 => 'FF00FFFF', // Chart Line Colour #28 - 29 => 'FF800080', // Chart Line Colour #29 - 30 => 'FF800000', // Chart Line Colour #30 - 31 => 'FF008080', // Chart Line Colour #31 - 32 => 'FF0000FF', // Chart Line Colour #32 - 33 => 'FF00CCFF', // Standard Colour #33 - 34 => 'FFCCFFFF', // Standard Colour #34 - 35 => 'FFCCFFCC', // Standard Colour #35 - 36 => 'FFFFFF99', // Standard Colour #36 - 37 => 'FF99CCFF', // Standard Colour #37 - 38 => 'FFFF99CC', // Standard Colour #38 - 39 => 'FFCC99FF', // Standard Colour #39 - 40 => 'FFFFCC99', // Standard Colour #40 - 41 => 'FF3366FF', // Standard Colour #41 - 42 => 'FF33CCCC', // Standard Colour #42 - 43 => 'FF99CC00', // Standard Colour #43 - 44 => 'FFFFCC00', // Standard Colour #44 - 45 => 'FFFF9900', // Standard Colour #45 - 46 => 'FFFF6600', // Standard Colour #46 - 47 => 'FF666699', // Standard Colour #47 - 48 => 'FF969696', // Standard Colour #48 - 49 => 'FF003366', // Standard Colour #49 - 50 => 'FF339966', // Standard Colour #50 - 51 => 'FF003300', // Standard Colour #51 - 52 => 'FF333300', // Standard Colour #52 - 53 => 'FF993300', // Standard Colour #53 - 54 => 'FF993366', // Standard Colour #54 - 55 => 'FF333399', // Standard Colour #55 - 56 => 'FF333333' // Standard Colour #56 - ); - } - - if (array_key_exists($pIndex, self::$_indexedColors)) { - return new PHPExcel_Style_Color(self::$_indexedColors[$pIndex]); - } - - if ($background) { - return new PHPExcel_Style_Color('FFFFFFFF'); - } - return new PHPExcel_Style_Color('FF000000'); - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_argb - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Conditional.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Conditional.php deleted file mode 100644 index aebf1e313..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Conditional.php +++ /dev/null @@ -1,277 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Conditional - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Conditional implements PHPExcel_IComparable -{ - /* Condition types */ - const CONDITION_NONE = 'none'; - const CONDITION_CELLIS = 'cellIs'; - const CONDITION_CONTAINSTEXT = 'containsText'; - const CONDITION_EXPRESSION = 'expression'; - - /* Operator types */ - const OPERATOR_NONE = ''; - const OPERATOR_BEGINSWITH = 'beginsWith'; - const OPERATOR_ENDSWITH = 'endsWith'; - const OPERATOR_EQUAL = 'equal'; - const OPERATOR_GREATERTHAN = 'greaterThan'; - const OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual'; - const OPERATOR_LESSTHAN = 'lessThan'; - const OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual'; - const OPERATOR_NOTEQUAL = 'notEqual'; - const OPERATOR_CONTAINSTEXT = 'containsText'; - const OPERATOR_NOTCONTAINS = 'notContains'; - const OPERATOR_BETWEEN = 'between'; - - /** - * Condition type - * - * @var int - */ - private $_conditionType; - - /** - * Operator type - * - * @var int - */ - private $_operatorType; - - /** - * Text - * - * @var string - */ - private $_text; - - /** - * Condition - * - * @var string[] - */ - private $_condition = array(); - - /** - * Style - * - * @var PHPExcel_Style - */ - private $_style; - - /** - * Create a new PHPExcel_Style_Conditional - */ - public function __construct() - { - // Initialise values - $this->_conditionType = PHPExcel_Style_Conditional::CONDITION_NONE; - $this->_operatorType = PHPExcel_Style_Conditional::OPERATOR_NONE; - $this->_text = null; - $this->_condition = array(); - $this->_style = new PHPExcel_Style(FALSE, TRUE); - } - - /** - * Get Condition type - * - * @return string - */ - public function getConditionType() { - return $this->_conditionType; - } - - /** - * Set Condition type - * - * @param string $pValue PHPExcel_Style_Conditional condition type - * @return PHPExcel_Style_Conditional - */ - public function setConditionType($pValue = PHPExcel_Style_Conditional::CONDITION_NONE) { - $this->_conditionType = $pValue; - return $this; - } - - /** - * Get Operator type - * - * @return string - */ - public function getOperatorType() { - return $this->_operatorType; - } - - /** - * Set Operator type - * - * @param string $pValue PHPExcel_Style_Conditional operator type - * @return PHPExcel_Style_Conditional - */ - public function setOperatorType($pValue = PHPExcel_Style_Conditional::OPERATOR_NONE) { - $this->_operatorType = $pValue; - return $this; - } - - /** - * Get text - * - * @return string - */ - public function getText() { - return $this->_text; - } - - /** - * Set text - * - * @param string $value - * @return PHPExcel_Style_Conditional - */ - public function setText($value = null) { - $this->_text = $value; - return $this; - } - - /** - * Get Condition - * - * @deprecated Deprecated, use getConditions instead - * @return string - */ - public function getCondition() { - if (isset($this->_condition[0])) { - return $this->_condition[0]; - } - - return ''; - } - - /** - * Set Condition - * - * @deprecated Deprecated, use setConditions instead - * @param string $pValue Condition - * @return PHPExcel_Style_Conditional - */ - public function setCondition($pValue = '') { - if (!is_array($pValue)) - $pValue = array($pValue); - - return $this->setConditions($pValue); - } - - /** - * Get Conditions - * - * @return string[] - */ - public function getConditions() { - return $this->_condition; - } - - /** - * Set Conditions - * - * @param string[] $pValue Condition - * @return PHPExcel_Style_Conditional - */ - public function setConditions($pValue) { - if (!is_array($pValue)) - $pValue = array($pValue); - - $this->_condition = $pValue; - return $this; - } - - /** - * Add Condition - * - * @param string $pValue Condition - * @return PHPExcel_Style_Conditional - */ - public function addCondition($pValue = '') { - $this->_condition[] = $pValue; - return $this; - } - - /** - * Get Style - * - * @return PHPExcel_Style - */ - public function getStyle() { - return $this->_style; - } - - /** - * Set Style - * - * @param PHPExcel_Style $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Conditional - */ - public function setStyle(PHPExcel_Style $pValue = null) { - $this->_style = $pValue; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_conditionType - . $this->_operatorType - . implode(';', $this->_condition) - . $this->_style->getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Fill.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Fill.php deleted file mode 100644 index 6412ba634..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Fill.php +++ /dev/null @@ -1,321 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Fill - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Fill extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Fill types */ - const FILL_NONE = 'none'; - const FILL_SOLID = 'solid'; - const FILL_GRADIENT_LINEAR = 'linear'; - const FILL_GRADIENT_PATH = 'path'; - const FILL_PATTERN_DARKDOWN = 'darkDown'; - const FILL_PATTERN_DARKGRAY = 'darkGray'; - const FILL_PATTERN_DARKGRID = 'darkGrid'; - const FILL_PATTERN_DARKHORIZONTAL = 'darkHorizontal'; - const FILL_PATTERN_DARKTRELLIS = 'darkTrellis'; - const FILL_PATTERN_DARKUP = 'darkUp'; - const FILL_PATTERN_DARKVERTICAL = 'darkVertical'; - const FILL_PATTERN_GRAY0625 = 'gray0625'; - const FILL_PATTERN_GRAY125 = 'gray125'; - const FILL_PATTERN_LIGHTDOWN = 'lightDown'; - const FILL_PATTERN_LIGHTGRAY = 'lightGray'; - const FILL_PATTERN_LIGHTGRID = 'lightGrid'; - const FILL_PATTERN_LIGHTHORIZONTAL = 'lightHorizontal'; - const FILL_PATTERN_LIGHTTRELLIS = 'lightTrellis'; - const FILL_PATTERN_LIGHTUP = 'lightUp'; - const FILL_PATTERN_LIGHTVERTICAL = 'lightVertical'; - const FILL_PATTERN_MEDIUMGRAY = 'mediumGray'; - - /** - * Fill type - * - * @var string - */ - protected $_fillType = PHPExcel_Style_Fill::FILL_NONE; - - /** - * Rotation - * - * @var double - */ - protected $_rotation = 0; - - /** - * Start color - * - * @var PHPExcel_Style_Color - */ - protected $_startColor; - - /** - * End color - * - * @var PHPExcel_Style_Color - */ - protected $_endColor; - - /** - * Create a new PHPExcel_Style_Fill - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if ($isConditional) { - $this->_fillType = NULL; - } - $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor, $isConditional); - $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional); - - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_startColor->bindParent($this, '_startColor'); - $this->_endColor->bindParent($this, '_endColor'); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Fill - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getFill(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('fill' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray( - * array( - * 'type' => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR, - * 'rotation' => 0, - * 'startcolor' => array( - * 'rgb' => '000000' - * ), - * 'endcolor' => array( - * 'argb' => 'FFFFFFFF' - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Fill - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('type', $pStyles)) { - $this->setFillType($pStyles['type']); - } - if (array_key_exists('rotation', $pStyles)) { - $this->setRotation($pStyles['rotation']); - } - if (array_key_exists('startcolor', $pStyles)) { - $this->getStartColor()->applyFromArray($pStyles['startcolor']); - } - if (array_key_exists('endcolor', $pStyles)) { - $this->getEndColor()->applyFromArray($pStyles['endcolor']); - } - if (array_key_exists('color', $pStyles)) { - $this->getStartColor()->applyFromArray($pStyles['color']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Fill Type - * - * @return string - */ - public function getFillType() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getFillType(); - } - return $this->_fillType; - } - - /** - * Set Fill Type - * - * @param string $pValue PHPExcel_Style_Fill fill type - * @return PHPExcel_Style_Fill - */ - public function setFillType($pValue = PHPExcel_Style_Fill::FILL_NONE) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('type' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_fillType = $pValue; - } - return $this; - } - - /** - * Get Rotation - * - * @return double - */ - public function getRotation() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getRotation(); - } - return $this->_rotation; - } - - /** - * Set Rotation - * - * @param double $pValue - * @return PHPExcel_Style_Fill - */ - public function setRotation($pValue = 0) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('rotation' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_rotation = $pValue; - } - return $this; - } - - /** - * Get Start Color - * - * @return PHPExcel_Style_Color - */ - public function getStartColor() { - return $this->_startColor; - } - - /** - * Set Start Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Fill - */ - public function setStartColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getStartColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_startColor = $color; - } - return $this; - } - - /** - * Get End Color - * - * @return PHPExcel_Style_Color - */ - public function getEndColor() { - return $this->_endColor; - } - - /** - * Set End Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Fill - */ - public function setEndColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getEndColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_endColor = $color; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->getFillType() - . $this->getRotation() - . $this->getStartColor()->getHashCode() - . $this->getEndColor()->getHashCode() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Font.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Font.php deleted file mode 100644 index 296e34855..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Font.php +++ /dev/null @@ -1,532 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Font - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Font extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Underline types */ - const UNDERLINE_NONE = 'none'; - const UNDERLINE_DOUBLE = 'double'; - const UNDERLINE_DOUBLEACCOUNTING = 'doubleAccounting'; - const UNDERLINE_SINGLE = 'single'; - const UNDERLINE_SINGLEACCOUNTING = 'singleAccounting'; - - /** - * Font Name - * - * @var string - */ - protected $_name = 'Calibri'; - - /** - * Font Size - * - * @var float - */ - protected $_size = 11; - - /** - * Bold - * - * @var boolean - */ - protected $_bold = FALSE; - - /** - * Italic - * - * @var boolean - */ - protected $_italic = FALSE; - - /** - * Superscript - * - * @var boolean - */ - protected $_superScript = FALSE; - - /** - * Subscript - * - * @var boolean - */ - protected $_subScript = FALSE; - - /** - * Underline - * - * @var string - */ - protected $_underline = self::UNDERLINE_NONE; - - /** - * Strikethrough - * - * @var boolean - */ - protected $_strikethrough = FALSE; - - /** - * Foreground color - * - * @var PHPExcel_Style_Color - */ - protected $_color; - - /** - * Create a new PHPExcel_Style_Font - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if ($isConditional) { - $this->_name = NULL; - $this->_size = NULL; - $this->_bold = NULL; - $this->_italic = NULL; - $this->_superScript = NULL; - $this->_subScript = NULL; - $this->_underline = NULL; - $this->_strikethrough = NULL; - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional); - } else { - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); - } - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_color->bindParent($this, '_color'); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Font - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getFont(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('font' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray( - * array( - * 'name' => 'Arial', - * 'bold' => TRUE, - * 'italic' => FALSE, - * 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE, - * 'strike' => FALSE, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Font - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('name', $pStyles)) { - $this->setName($pStyles['name']); - } - if (array_key_exists('bold', $pStyles)) { - $this->setBold($pStyles['bold']); - } - if (array_key_exists('italic', $pStyles)) { - $this->setItalic($pStyles['italic']); - } - if (array_key_exists('superScript', $pStyles)) { - $this->setSuperScript($pStyles['superScript']); - } - if (array_key_exists('subScript', $pStyles)) { - $this->setSubScript($pStyles['subScript']); - } - if (array_key_exists('underline', $pStyles)) { - $this->setUnderline($pStyles['underline']); - } - if (array_key_exists('strike', $pStyles)) { - $this->setStrikethrough($pStyles['strike']); - } - if (array_key_exists('color', $pStyles)) { - $this->getColor()->applyFromArray($pStyles['color']); - } - if (array_key_exists('size', $pStyles)) { - $this->setSize($pStyles['size']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getName(); - } - return $this->_name; - } - - /** - * Set Name - * - * @param string $pValue - * @return PHPExcel_Style_Font - */ - public function setName($pValue = 'Calibri') { - if ($pValue == '') { - $pValue = 'Calibri'; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('name' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_name = $pValue; - } - return $this; - } - - /** - * Get Size - * - * @return double - */ - public function getSize() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getSize(); - } - return $this->_size; - } - - /** - * Set Size - * - * @param double $pValue - * @return PHPExcel_Style_Font - */ - public function setSize($pValue = 10) { - if ($pValue == '') { - $pValue = 10; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('size' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_size = $pValue; - } - return $this; - } - - /** - * Get Bold - * - * @return boolean - */ - public function getBold() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getBold(); - } - return $this->_bold; - } - - /** - * Set Bold - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setBold($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('bold' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_bold = $pValue; - } - return $this; - } - - /** - * Get Italic - * - * @return boolean - */ - public function getItalic() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getItalic(); - } - return $this->_italic; - } - - /** - * Set Italic - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setItalic($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('italic' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_italic = $pValue; - } - return $this; - } - - /** - * Get SuperScript - * - * @return boolean - */ - public function getSuperScript() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getSuperScript(); - } - return $this->_superScript; - } - - /** - * Set SuperScript - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setSuperScript($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('superScript' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_superScript = $pValue; - $this->_subScript = !$pValue; - } - return $this; - } - - /** - * Get SubScript - * - * @return boolean - */ - public function getSubScript() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getSubScript(); - } - return $this->_subScript; - } - - /** - * Set SubScript - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setSubScript($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('subScript' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_subScript = $pValue; - $this->_superScript = !$pValue; - } - return $this; - } - - /** - * Get Underline - * - * @return string - */ - public function getUnderline() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getUnderline(); - } - return $this->_underline; - } - - /** - * Set Underline - * - * @param string|boolean $pValue PHPExcel_Style_Font underline type - * If a boolean is passed, then TRUE equates to UNDERLINE_SINGLE, - * false equates to UNDERLINE_NONE - * @return PHPExcel_Style_Font - */ - public function setUnderline($pValue = self::UNDERLINE_NONE) { - if (is_bool($pValue)) { - $pValue = ($pValue) ? self::UNDERLINE_SINGLE : self::UNDERLINE_NONE; - } elseif ($pValue == '') { - $pValue = self::UNDERLINE_NONE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('underline' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_underline = $pValue; - } - return $this; - } - - /** - * Get Strikethrough - * - * @return boolean - */ - public function getStrikethrough() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getStrikethrough(); - } - return $this->_strikethrough; - } - - /** - * Set Strikethrough - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setStrikethrough($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('strike' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_strikethrough = $pValue; - } - return $this; - } - - /** - * Get Color - * - * @return PHPExcel_Style_Color - */ - public function getColor() { - return $this->_color; - } - - /** - * Set Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Font - */ - public function setColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_color = $color; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_name - . $this->_size - . ($this->_bold ? 't' : 'f') - . ($this->_italic ? 't' : 'f') - . ($this->_superScript ? 't' : 'f') - . ($this->_subScript ? 't' : 'f') - . $this->_underline - . ($this->_strikethrough ? 't' : 'f') - . $this->_color->getHashCode() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/NumberFormat.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/NumberFormat.php deleted file mode 100644 index 0d7d93de2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/NumberFormat.php +++ /dev/null @@ -1,711 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_NumberFormat - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_NumberFormat extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Pre-defined formats */ - const FORMAT_GENERAL = 'General'; - - const FORMAT_TEXT = '@'; - - const FORMAT_NUMBER = '0'; - const FORMAT_NUMBER_00 = '0.00'; - const FORMAT_NUMBER_COMMA_SEPARATED1 = '#,##0.00'; - const FORMAT_NUMBER_COMMA_SEPARATED2 = '#,##0.00_-'; - - const FORMAT_PERCENTAGE = '0%'; - const FORMAT_PERCENTAGE_00 = '0.00%'; - - const FORMAT_DATE_YYYYMMDD2 = 'yyyy-mm-dd'; - const FORMAT_DATE_YYYYMMDD = 'yy-mm-dd'; - const FORMAT_DATE_DDMMYYYY = 'dd/mm/yy'; - const FORMAT_DATE_DMYSLASH = 'd/m/y'; - const FORMAT_DATE_DMYMINUS = 'd-m-y'; - const FORMAT_DATE_DMMINUS = 'd-m'; - const FORMAT_DATE_MYMINUS = 'm-y'; - const FORMAT_DATE_XLSX14 = 'mm-dd-yy'; - const FORMAT_DATE_XLSX15 = 'd-mmm-yy'; - const FORMAT_DATE_XLSX16 = 'd-mmm'; - const FORMAT_DATE_XLSX17 = 'mmm-yy'; - const FORMAT_DATE_XLSX22 = 'm/d/yy h:mm'; - const FORMAT_DATE_DATETIME = 'd/m/y h:mm'; - const FORMAT_DATE_TIME1 = 'h:mm AM/PM'; - const FORMAT_DATE_TIME2 = 'h:mm:ss AM/PM'; - const FORMAT_DATE_TIME3 = 'h:mm'; - const FORMAT_DATE_TIME4 = 'h:mm:ss'; - const FORMAT_DATE_TIME5 = 'mm:ss'; - const FORMAT_DATE_TIME6 = 'h:mm:ss'; - const FORMAT_DATE_TIME7 = 'i:s.S'; - const FORMAT_DATE_TIME8 = 'h:mm:ss;@'; - const FORMAT_DATE_YYYYMMDDSLASH = 'yy/mm/dd;@'; - - const FORMAT_CURRENCY_USD_SIMPLE = '"$"#,##0.00_-'; - const FORMAT_CURRENCY_USD = '$#,##0_-'; - const FORMAT_CURRENCY_EUR_SIMPLE = '[$EUR ]#,##0.00_-'; - - /** - * Excel built-in number formats - * - * @var array - */ - protected static $_builtInFormats; - - /** - * Excel built-in number formats (flipped, for faster lookups) - * - * @var array - */ - protected static $_flippedBuiltInFormats; - - /** - * Format Code - * - * @var string - */ - protected $_formatCode = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - - /** - * Built-in format Code - * - * @var string - */ - protected $_builtInFormatCode = 0; - - /** - * Create a new PHPExcel_Style_NumberFormat - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - if ($isConditional) { - $this->_formatCode = NULL; - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_NumberFormat - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getNumberFormat(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('numberformat' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray( - * array( - * 'code' => PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_NumberFormat - */ - public function applyFromArray($pStyles = null) - { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('code', $pStyles)) { - $this->setFormatCode($pStyles['code']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Format Code - * - * @return string - */ - public function getFormatCode() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getFormatCode(); - } - if ($this->_builtInFormatCode !== false) - { - return self::builtInFormatCode($this->_builtInFormatCode); - } - return $this->_formatCode; - } - - /** - * Set Format Code - * - * @param string $pValue - * @return PHPExcel_Style_NumberFormat - */ - public function setFormatCode($pValue = PHPExcel_Style_NumberFormat::FORMAT_GENERAL) - { - if ($pValue == '') { - $pValue = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('code' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_formatCode = $pValue; - $this->_builtInFormatCode = self::builtInFormatCodeIndex($pValue); - } - return $this; - } - - /** - * Get Built-In Format Code - * - * @return int - */ - public function getBuiltInFormatCode() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getBuiltInFormatCode(); - } - return $this->_builtInFormatCode; - } - - /** - * Set Built-In Format Code - * - * @param int $pValue - * @return PHPExcel_Style_NumberFormat - */ - public function setBuiltInFormatCode($pValue = 0) - { - - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('code' => self::builtInFormatCode($pValue))); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_builtInFormatCode = $pValue; - $this->_formatCode = self::builtInFormatCode($pValue); - } - return $this; - } - - /** - * Fill built-in format codes - */ - private static function fillBuiltInFormatCodes() - { - // Built-in format codes - if (is_null(self::$_builtInFormats)) { - self::$_builtInFormats = array(); - - // General - self::$_builtInFormats[0] = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - self::$_builtInFormats[1] = '0'; - self::$_builtInFormats[2] = '0.00'; - self::$_builtInFormats[3] = '#,##0'; - self::$_builtInFormats[4] = '#,##0.00'; - - self::$_builtInFormats[9] = '0%'; - self::$_builtInFormats[10] = '0.00%'; - self::$_builtInFormats[11] = '0.00E+00'; - self::$_builtInFormats[12] = '# ?/?'; - self::$_builtInFormats[13] = '# ??/??'; - self::$_builtInFormats[14] = 'mm-dd-yy'; - self::$_builtInFormats[15] = 'd-mmm-yy'; - self::$_builtInFormats[16] = 'd-mmm'; - self::$_builtInFormats[17] = 'mmm-yy'; - self::$_builtInFormats[18] = 'h:mm AM/PM'; - self::$_builtInFormats[19] = 'h:mm:ss AM/PM'; - self::$_builtInFormats[20] = 'h:mm'; - self::$_builtInFormats[21] = 'h:mm:ss'; - self::$_builtInFormats[22] = 'm/d/yy h:mm'; - - self::$_builtInFormats[37] = '#,##0 ;(#,##0)'; - self::$_builtInFormats[38] = '#,##0 ;[Red](#,##0)'; - self::$_builtInFormats[39] = '#,##0.00;(#,##0.00)'; - self::$_builtInFormats[40] = '#,##0.00;[Red](#,##0.00)'; - - self::$_builtInFormats[44] = '_("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)'; - self::$_builtInFormats[45] = 'mm:ss'; - self::$_builtInFormats[46] = '[h]:mm:ss'; - self::$_builtInFormats[47] = 'mmss.0'; - self::$_builtInFormats[48] = '##0.0E+0'; - self::$_builtInFormats[49] = '@'; - - // CHT - self::$_builtInFormats[27] = '[$-404]e/m/d'; - self::$_builtInFormats[30] = 'm/d/yy'; - self::$_builtInFormats[36] = '[$-404]e/m/d'; - self::$_builtInFormats[50] = '[$-404]e/m/d'; - self::$_builtInFormats[57] = '[$-404]e/m/d'; - - // THA - self::$_builtInFormats[59] = 't0'; - self::$_builtInFormats[60] = 't0.00'; - self::$_builtInFormats[61] = 't#,##0'; - self::$_builtInFormats[62] = 't#,##0.00'; - self::$_builtInFormats[67] = 't0%'; - self::$_builtInFormats[68] = 't0.00%'; - self::$_builtInFormats[69] = 't# ?/?'; - self::$_builtInFormats[70] = 't# ??/??'; - - // Flip array (for faster lookups) - self::$_flippedBuiltInFormats = array_flip(self::$_builtInFormats); - } - } - - /** - * Get built-in format code - * - * @param int $pIndex - * @return string - */ - public static function builtInFormatCode($pIndex) - { - // Clean parameter - $pIndex = intval($pIndex); - - // Ensure built-in format codes are available - self::fillBuiltInFormatCodes(); - - // Lookup format code - if (isset(self::$_builtInFormats[$pIndex])) { - return self::$_builtInFormats[$pIndex]; - } - - return ''; - } - - /** - * Get built-in format code index - * - * @param string $formatCode - * @return int|boolean - */ - public static function builtInFormatCodeIndex($formatCode) - { - // Ensure built-in format codes are available - self::fillBuiltInFormatCodes(); - - // Lookup format code - if (isset(self::$_flippedBuiltInFormats[$formatCode])) { - return self::$_flippedBuiltInFormats[$formatCode]; - } - - return false; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_formatCode - . $this->_builtInFormatCode - . __CLASS__ - ); - } - - /** - * Search/replace values to convert Excel date/time format masks to PHP format masks - * - * @var array - */ - private static $_dateFormatReplacements = array( - // first remove escapes related to non-format characters - '\\' => '', - // 12-hour suffix - 'am/pm' => 'A', - // 4-digit year - 'e' => 'Y', - 'yyyy' => 'Y', - // 2-digit year - 'yy' => 'y', - // first letter of month - no php equivalent - 'mmmmm' => 'M', - // full month name - 'mmmm' => 'F', - // short month name - 'mmm' => 'M', - // mm is minutes if time, but can also be month w/leading zero - // so we try to identify times be the inclusion of a : separator in the mask - // It isn't perfect, but the best way I know how - ':mm' => ':i', - 'mm:' => 'i:', - // month leading zero - 'mm' => 'm', - // month no leading zero - 'm' => 'n', - // full day of week name - 'dddd' => 'l', - // short day of week name - 'ddd' => 'D', - // days leading zero - 'dd' => 'd', - // days no leading zero - 'd' => 'j', - // seconds - 'ss' => 's', - // fractional seconds - no php equivalent - '.s' => '' - ); - /** - * Search/replace values to convert Excel date/time format masks hours to PHP format masks (24 hr clock) - * - * @var array - */ - private static $_dateFormatReplacements24 = array( - 'hh' => 'H', - 'h' => 'G' - ); - /** - * Search/replace values to convert Excel date/time format masks hours to PHP format masks (12 hr clock) - * - * @var array - */ - private static $_dateFormatReplacements12 = array( - 'hh' => 'h', - 'h' => 'g' - ); - - private static function _formatAsDate(&$value, &$format) - { - // dvc: convert Excel formats to PHP date formats - - // strip off first part containing e.g. [$-F800] or [$USD-409] - // general syntax: [$<Currency string>-<language info>] - // language info is in hexadecimal - $format = preg_replace('/^(\[\$[A-Z]*-[0-9A-F]*\])/i', '', $format); - - // OpenOffice.org uses upper-case number formats, e.g. 'YYYY', convert to lower-case - $format = strtolower($format); - - $format = strtr($format,self::$_dateFormatReplacements); - if (!strpos($format,'A')) { // 24-hour time format - $format = strtr($format,self::$_dateFormatReplacements24); - } else { // 12-hour time format - $format = strtr($format,self::$_dateFormatReplacements12); - } - - $dateObj = PHPExcel_Shared_Date::ExcelToPHPObject($value); - $value = $dateObj->format($format); - } - - private static function _formatAsPercentage(&$value, &$format) - { - if ($format === self::FORMAT_PERCENTAGE) { - $value = round( (100 * $value), 0) . '%'; - } else { - if (preg_match('/\.[#0]+/i', $format, $m)) { - $s = substr($m[0], 0, 1) . (strlen($m[0]) - 1); - $format = str_replace($m[0], $s, $format); - } - if (preg_match('/^[#0]+/', $format, $m)) { - $format = str_replace($m[0], strlen($m[0]), $format); - } - $format = '%' . str_replace('%', 'f%%', $format); - - $value = sprintf($format, 100 * $value); - } - } - - private static function _formatAsFraction(&$value, &$format) - { - $sign = ($value < 0) ? '-' : ''; - - $integerPart = floor(abs($value)); - $decimalPart = trim(fmod(abs($value),1),'0.'); - $decimalLength = strlen($decimalPart); - $decimalDivisor = pow(10,$decimalLength); - - $GCD = PHPExcel_Calculation_MathTrig::GCD($decimalPart,$decimalDivisor); - - $adjustedDecimalPart = $decimalPart/$GCD; - $adjustedDecimalDivisor = $decimalDivisor/$GCD; - - if ((strpos($format,'0') !== false) || (strpos($format,'#') !== false) || (substr($format,0,3) == '? ?')) { - if ($integerPart == 0) { - $integerPart = ''; - } - $value = "$sign$integerPart $adjustedDecimalPart/$adjustedDecimalDivisor"; - } else { - $adjustedDecimalPart += $integerPart * $adjustedDecimalDivisor; - $value = "$sign$adjustedDecimalPart/$adjustedDecimalDivisor"; - } - } - - private static function _complexNumberFormatMask($number, $mask) { - if (strpos($mask,'.') !== false) { - $numbers = explode('.', $number . '.0'); - $masks = explode('.', $mask . '.0'); - $result1 = self::_complexNumberFormatMask($numbers[0], $masks[0]); - $result2 = strrev(self::_complexNumberFormatMask(strrev($numbers[1]), strrev($masks[1]))); - return $result1 . '.' . $result2; - } - - $r = preg_match_all('/0+/', $mask, $result, PREG_OFFSET_CAPTURE); - if ($r > 1) { - $result = array_reverse($result[0]); - - foreach($result as $block) { - $divisor = 1 . $block[0]; - $size = strlen($block[0]); - $offset = $block[1]; - - $blockValue = sprintf( - '%0' . $size . 'd', - fmod($number, $divisor) - ); - $number = floor($number / $divisor); - $mask = substr_replace($mask,$blockValue, $offset, $size); - } - if ($number > 0) { - $mask = substr_replace($mask, $number, $offset, 0); - } - $result = $mask; - } else { - $result = $number; - } - - return $result; - } - - /** - * Convert a value in a pre-defined format to a PHP string - * - * @param mixed $value Value to format - * @param string $format Format code - * @param array $callBack Callback function for additional formatting of string - * @return string Formatted string - */ - public static function toFormattedString($value = '0', $format = PHPExcel_Style_NumberFormat::FORMAT_GENERAL, $callBack = null) - { - // For now we do not treat strings although section 4 of a format code affects strings - if (!is_numeric($value)) return $value; - - // For 'General' format code, we just pass the value although this is not entirely the way Excel does it, - // it seems to round numbers to a total of 10 digits. - if (($format === PHPExcel_Style_NumberFormat::FORMAT_GENERAL) || ($format === PHPExcel_Style_NumberFormat::FORMAT_TEXT)) { - return $value; - } - - // Get the sections, there can be up to four sections - $sections = explode(';', $format); - - // Fetch the relevant section depending on whether number is positive, negative, or zero? - // Text not supported yet. - // Here is how the sections apply to various values in Excel: - // 1 section: [POSITIVE/NEGATIVE/ZERO/TEXT] - // 2 sections: [POSITIVE/ZERO/TEXT] [NEGATIVE] - // 3 sections: [POSITIVE/TEXT] [NEGATIVE] [ZERO] - // 4 sections: [POSITIVE] [NEGATIVE] [ZERO] [TEXT] - switch (count($sections)) { - case 1: - $format = $sections[0]; - break; - - case 2: - $format = ($value >= 0) ? $sections[0] : $sections[1]; - $value = abs($value); // Use the absolute value - break; - - case 3: - $format = ($value > 0) ? - $sections[0] : ( ($value < 0) ? - $sections[1] : $sections[2]); - $value = abs($value); // Use the absolute value - break; - - case 4: - $format = ($value > 0) ? - $sections[0] : ( ($value < 0) ? - $sections[1] : $sections[2]); - $value = abs($value); // Use the absolute value - break; - - default: - // something is wrong, just use first section - $format = $sections[0]; - break; - } - - // Save format with color information for later use below - $formatColor = $format; - - // Strip color information - $color_regex = '/^\\[[a-zA-Z]+\\]/'; - $format = preg_replace($color_regex, '', $format); - - // Let's begin inspecting the format and converting the value to a formatted string - if (preg_match('/^(\[\$[A-Z]*-[0-9A-F]*\])*[hmsdy]/i', $format)) { // datetime format - self::_formatAsDate($value, $format); - } else if (preg_match('/%$/', $format)) { // % number format - self::_formatAsPercentage($value, $format); - } else { - if ($format === self::FORMAT_CURRENCY_EUR_SIMPLE) { - $value = 'EUR ' . sprintf('%1.2f', $value); - } else { - // In Excel formats, "_" is used to add spacing, which we can't do in HTML - $format = preg_replace('/_./', '', $format); - - // Some non-number characters are escaped with \, which we don't need - $format = preg_replace("/\\\\/", '', $format); - - // Some non-number strings are quoted, so we'll get rid of the quotes, likewise any positional * symbols - $format = str_replace(array('"','*'), '', $format); - - // Find out if we need thousands separator - // This is indicated by a comma enclosed by a digit placeholder: - // #,# or 0,0 - $useThousands = preg_match('/(#,#|0,0)/', $format); - if ($useThousands) { - $format = preg_replace('/0,0/', '00', $format); - $format = preg_replace('/#,#/', '##', $format); - } - - // Scale thousands, millions,... - // This is indicated by a number of commas after a digit placeholder: - // #, or 0.0,, - $scale = 1; // same as no scale - $matches = array(); - if (preg_match('/(#|0)(,+)/', $format, $matches)) { - $scale = pow(1000, strlen($matches[2])); - - // strip the commas - $format = preg_replace('/0,+/', '0', $format); - $format = preg_replace('/#,+/', '#', $format); - } - - if (preg_match('/#?.*\?\/\?/', $format, $m)) { - //echo 'Format mask is fractional '.$format.' <br />'; - if ($value != (int)$value) { - self::_formatAsFraction($value, $format); - } - - } else { - // Handle the number itself - - // scale number - $value = $value / $scale; - - // Strip # - $format = preg_replace('/\\#/', '0', $format); - - $n = "/\[[^\]]+\]/"; - $m = preg_replace($n, '', $format); - $number_regex = "/(0+)(\.?)(0*)/"; - if (preg_match($number_regex, $m, $matches)) { - $left = $matches[1]; - $dec = $matches[2]; - $right = $matches[3]; - - // minimun width of formatted number (including dot) - $minWidth = strlen($left) + strlen($dec) + strlen($right); - if ($useThousands) { - $value = number_format( - $value - , strlen($right) - , PHPExcel_Shared_String::getDecimalSeparator() - , PHPExcel_Shared_String::getThousandsSeparator() - ); - $value = preg_replace($number_regex, $value, $format); - } else { - if (preg_match('/[0#]E[+-]0/i', $format)) { - // Scientific format - $value = sprintf('%5.2E', $value); - } elseif (preg_match('/0([^\d\.]+)0/', $format)) { - $value = self::_complexNumberFormatMask($value, $format); - } else { - $sprintf_pattern = "%0$minWidth." . strlen($right) . "f"; - $value = sprintf($sprintf_pattern, $value); - $value = preg_replace($number_regex, $value, $format); - } - } - } - } - if (preg_match('/\[\$(.*)\]/u', $format, $m)) { - // Currency or Accounting - $currencyFormat = $m[0]; - $currencyCode = $m[1]; - list($currencyCode) = explode('-',$currencyCode); - if ($currencyCode == '') { - $currencyCode = PHPExcel_Shared_String::getCurrencyCode(); - } - $value = preg_replace('/\[\$([^\]]*)\]/u',$currencyCode,$value); - } - } - } - - // Additional formatting provided by callback function - if ($callBack !== null) { - list($writerInstance, $function) = $callBack; - $value = $writerInstance->$function($value, $formatColor); - } - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Protection.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Protection.php deleted file mode 100644 index 8dc1f31ad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Protection.php +++ /dev/null @@ -1,207 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version 1.4.5, 2007-08-23 - */ - - -/** - * PHPExcel_Style_Protection - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Protection extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /** Protection styles */ - const PROTECTION_INHERIT = 'inherit'; - const PROTECTION_PROTECTED = 'protected'; - const PROTECTION_UNPROTECTED = 'unprotected'; - - /** - * Locked - * - * @var string - */ - protected $_locked; - - /** - * Hidden - * - * @var string - */ - protected $_hidden; - - /** - * Create a new PHPExcel_Style_Protection - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if (!$isConditional) { - $this->_locked = self::PROTECTION_INHERIT; - $this->_hidden = self::PROTECTION_INHERIT; - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Protection - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getProtection(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('protection' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray( - * array( - * 'locked' => TRUE, - * 'hidden' => FALSE - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Protection - */ - public function applyFromArray($pStyles = NULL) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (isset($pStyles['locked'])) { - $this->setLocked($pStyles['locked']); - } - if (isset($pStyles['hidden'])) { - $this->setHidden($pStyles['hidden']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get locked - * - * @return string - */ - public function getLocked() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getLocked(); - } - return $this->_locked; - } - - /** - * Set locked - * - * @param string $pValue - * @return PHPExcel_Style_Protection - */ - public function setLocked($pValue = self::PROTECTION_INHERIT) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('locked' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_locked = $pValue; - } - return $this; - } - - /** - * Get hidden - * - * @return string - */ - public function getHidden() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHidden(); - } - return $this->_hidden; - } - - /** - * Set hidden - * - * @param string $pValue - * @return PHPExcel_Style_Protection - */ - public function setHidden($pValue = self::PROTECTION_INHERIT) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('hidden' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_hidden = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_locked - . $this->_hidden - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Supervisor.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Supervisor.php deleted file mode 100644 index 2d21f5293..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/Supervisor.php +++ /dev/null @@ -1,132 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Supervisor - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Style_Supervisor -{ - /** - * Supervisor? - * - * @var boolean - */ - protected $_isSupervisor; - - /** - * Parent. Only used for supervisor - * - * @var PHPExcel_Style - */ - protected $_parent; - - /** - * Create a new PHPExcel_Style_Alignment - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE) - { - // Supervisor? - $this->_isSupervisor = $isSupervisor; - } - - /** - * Bind parent. Only used for supervisor - * - * @param PHPExcel $parent - * @return PHPExcel_Style_Supervisor - */ - public function bindParent($parent, $parentPropertyName=NULL) - { - $this->_parent = $parent; - return $this; - } - - /** - * Is this a supervisor or a cell style component? - * - * @return boolean - */ - public function getIsSupervisor() - { - return $this->_isSupervisor; - } - - /** - * Get the currently active sheet. Only used for supervisor - * - * @return PHPExcel_Worksheet - */ - public function getActiveSheet() - { - return $this->_parent->getActiveSheet(); - } - - /** - * Get the currently active cell coordinate in currently active sheet. - * Only used for supervisor - * - * @return string E.g. 'A1' - */ - public function getSelectedCells() - { - return $this->getActiveSheet()->getSelectedCells(); - } - - /** - * Get the currently active cell coordinate in currently active sheet. - * Only used for supervisor - * - * @return string E.g. 'A1' - */ - public function getActiveCell() - { - return $this->getActiveSheet()->getActiveCell(); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if ((is_object($value)) && ($key != '_parent')) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Style/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet.php deleted file mode 100644 index 6215be8b1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet.php +++ /dev/null @@ -1,2917 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet implements PHPExcel_IComparable -{ - /* Break types */ - const BREAK_NONE = 0; - const BREAK_ROW = 1; - const BREAK_COLUMN = 2; - - /* Sheet state */ - const SHEETSTATE_VISIBLE = 'visible'; - const SHEETSTATE_HIDDEN = 'hidden'; - const SHEETSTATE_VERYHIDDEN = 'veryHidden'; - - /** - * Invalid characters in sheet title - * - * @var array - */ - private static $_invalidCharacters = array('*', ':', '/', '\\', '?', '[', ']'); - - /** - * Parent spreadsheet - * - * @var PHPExcel - */ - private $_parent; - - /** - * Cacheable collection of cells - * - * @var PHPExcel_CachedObjectStorage_xxx - */ - private $_cellCollection = null; - - /** - * Collection of row dimensions - * - * @var PHPExcel_Worksheet_RowDimension[] - */ - private $_rowDimensions = array(); - - /** - * Default row dimension - * - * @var PHPExcel_Worksheet_RowDimension - */ - private $_defaultRowDimension = null; - - /** - * Collection of column dimensions - * - * @var PHPExcel_Worksheet_ColumnDimension[] - */ - private $_columnDimensions = array(); - - /** - * Default column dimension - * - * @var PHPExcel_Worksheet_ColumnDimension - */ - private $_defaultColumnDimension = null; - - /** - * Collection of drawings - * - * @var PHPExcel_Worksheet_BaseDrawing[] - */ - private $_drawingCollection = null; - - /** - * Collection of Chart objects - * - * @var PHPExcel_Chart[] - */ - private $_chartCollection = array(); - - /** - * Worksheet title - * - * @var string - */ - private $_title; - - /** - * Sheet state - * - * @var string - */ - private $_sheetState; - - /** - * Page setup - * - * @var PHPExcel_Worksheet_PageSetup - */ - private $_pageSetup; - - /** - * Page margins - * - * @var PHPExcel_Worksheet_PageMargins - */ - private $_pageMargins; - - /** - * Page header/footer - * - * @var PHPExcel_Worksheet_HeaderFooter - */ - private $_headerFooter; - - /** - * Sheet view - * - * @var PHPExcel_Worksheet_SheetView - */ - private $_sheetView; - - /** - * Protection - * - * @var PHPExcel_Worksheet_Protection - */ - private $_protection; - - /** - * Collection of styles - * - * @var PHPExcel_Style[] - */ - private $_styles = array(); - - /** - * Conditional styles. Indexed by cell coordinate, e.g. 'A1' - * - * @var array - */ - private $_conditionalStylesCollection = array(); - - /** - * Is the current cell collection sorted already? - * - * @var boolean - */ - private $_cellCollectionIsSorted = false; - - /** - * Collection of breaks - * - * @var array - */ - private $_breaks = array(); - - /** - * Collection of merged cell ranges - * - * @var array - */ - private $_mergeCells = array(); - - /** - * Collection of protected cell ranges - * - * @var array - */ - private $_protectedCells = array(); - - /** - * Autofilter Range and selection - * - * @var PHPExcel_Worksheet_AutoFilter - */ - private $_autoFilter = NULL; - - /** - * Freeze pane - * - * @var string - */ - private $_freezePane = ''; - - /** - * Show gridlines? - * - * @var boolean - */ - private $_showGridlines = true; - - /** - * Print gridlines? - * - * @var boolean - */ - private $_printGridlines = false; - - /** - * Show row and column headers? - * - * @var boolean - */ - private $_showRowColHeaders = true; - - /** - * Show summary below? (Row/Column outline) - * - * @var boolean - */ - private $_showSummaryBelow = true; - - /** - * Show summary right? (Row/Column outline) - * - * @var boolean - */ - private $_showSummaryRight = true; - - /** - * Collection of comments - * - * @var PHPExcel_Comment[] - */ - private $_comments = array(); - - /** - * Active cell. (Only one!) - * - * @var string - */ - private $_activeCell = 'A1'; - - /** - * Selected cells - * - * @var string - */ - private $_selectedCells = 'A1'; - - /** - * Cached highest column - * - * @var string - */ - private $_cachedHighestColumn = 'A'; - - /** - * Cached highest row - * - * @var int - */ - private $_cachedHighestRow = 1; - - /** - * Right-to-left? - * - * @var boolean - */ - private $_rightToLeft = false; - - /** - * Hyperlinks. Indexed by cell coordinate, e.g. 'A1' - * - * @var array - */ - private $_hyperlinkCollection = array(); - - /** - * Data validation objects. Indexed by cell coordinate, e.g. 'A1' - * - * @var array - */ - private $_dataValidationCollection = array(); - - /** - * Tab color - * - * @var PHPExcel_Style_Color - */ - private $_tabColor; - - /** - * Dirty flag - * - * @var boolean - */ - private $_dirty = true; - - /** - * Hash - * - * @var string - */ - private $_hash = null; - - /** - * CodeName - * - * @var string - */ - private $_codeName = null; - - /** - * Create a new worksheet - * - * @param PHPExcel $pParent - * @param string $pTitle - */ - public function __construct(PHPExcel $pParent = null, $pTitle = 'Worksheet') - { - // Set parent and title - $this->_parent = $pParent; - $this->setTitle($pTitle, FALSE); - // setTitle can change $pTitle - $this->setCodeName($this->getTitle()); - $this->setSheetState(PHPExcel_Worksheet::SHEETSTATE_VISIBLE); - - $this->_cellCollection = PHPExcel_CachedObjectStorageFactory::getInstance($this); - - // Set page setup - $this->_pageSetup = new PHPExcel_Worksheet_PageSetup(); - - // Set page margins - $this->_pageMargins = new PHPExcel_Worksheet_PageMargins(); - - // Set page header/footer - $this->_headerFooter = new PHPExcel_Worksheet_HeaderFooter(); - - // Set sheet view - $this->_sheetView = new PHPExcel_Worksheet_SheetView(); - - // Drawing collection - $this->_drawingCollection = new ArrayObject(); - - // Chart collection - $this->_chartCollection = new ArrayObject(); - - // Protection - $this->_protection = new PHPExcel_Worksheet_Protection(); - - // Default row dimension - $this->_defaultRowDimension = new PHPExcel_Worksheet_RowDimension(NULL); - - // Default column dimension - $this->_defaultColumnDimension = new PHPExcel_Worksheet_ColumnDimension(NULL); - - $this->_autoFilter = new PHPExcel_Worksheet_AutoFilter(NULL, $this); - } - - - /** - * Disconnect all cells from this PHPExcel_Worksheet object, - * typically so that the worksheet object can be unset - * - */ - public function disconnectCells() { - if ( $this->_cellCollection !== NULL){ - $this->_cellCollection->unsetWorksheetCells(); - $this->_cellCollection = NULL; - } - // detach ourself from the workbook, so that it can then delete this worksheet successfully - $this->_parent = null; - } - - /** - * Code to execute when this worksheet is unset() - * - */ - function __destruct() { - PHPExcel_Calculation::getInstance($this->_parent) - ->clearCalculationCacheForWorksheet($this->_title); - - $this->disconnectCells(); - } - - /** - * Return the cache controller for the cell collection - * - * @return PHPExcel_CachedObjectStorage_xxx - */ - public function getCellCacheController() { - return $this->_cellCollection; - } // function getCellCacheController() - - - /** - * Get array of invalid characters for sheet title - * - * @return array - */ - public static function getInvalidCharacters() - { - return self::$_invalidCharacters; - } - - /** - * Check sheet code name for valid Excel syntax - * - * @param string $pValue The string to check - * @return string The valid string - * @throws Exception - */ - private static function _checkSheetCodeName($pValue) - { - $CharCount = PHPExcel_Shared_String::CountCharacters($pValue); - if ($CharCount == 0) { - throw new PHPExcel_Exception('Sheet code name cannot be empty.'); - } - // Some of the printable ASCII characters are invalid: * : / \ ? [ ] and first and last characters cannot be a "'" - if ((str_replace(self::$_invalidCharacters, '', $pValue) !== $pValue) || - (PHPExcel_Shared_String::Substring($pValue,-1,1)=='\'') || - (PHPExcel_Shared_String::Substring($pValue,0,1)=='\'')) { - throw new PHPExcel_Exception('Invalid character found in sheet code name'); - } - - // Maximum 31 characters allowed for sheet title - if ($CharCount > 31) { - throw new PHPExcel_Exception('Maximum 31 characters allowed in sheet code name.'); - } - - return $pValue; - } - - /** - * Check sheet title for valid Excel syntax - * - * @param string $pValue The string to check - * @return string The valid string - * @throws PHPExcel_Exception - */ - private static function _checkSheetTitle($pValue) - { - // Some of the printable ASCII characters are invalid: * : / \ ? [ ] - if (str_replace(self::$_invalidCharacters, '', $pValue) !== $pValue) { - throw new PHPExcel_Exception('Invalid character found in sheet title'); - } - - // Maximum 31 characters allowed for sheet title - if (PHPExcel_Shared_String::CountCharacters($pValue) > 31) { - throw new PHPExcel_Exception('Maximum 31 characters allowed in sheet title.'); - } - - return $pValue; - } - - /** - * Get collection of cells - * - * @param boolean $pSorted Also sort the cell collection? - * @return PHPExcel_Cell[] - */ - public function getCellCollection($pSorted = true) - { - if ($pSorted) { - // Re-order cell collection - return $this->sortCellCollection(); - } - if ($this->_cellCollection !== NULL) { - return $this->_cellCollection->getCellList(); - } - return array(); - } - - /** - * Sort collection of cells - * - * @return PHPExcel_Worksheet - */ - public function sortCellCollection() - { - if ($this->_cellCollection !== NULL) { - return $this->_cellCollection->getSortedCellList(); - } - return array(); - } - - /** - * Get collection of row dimensions - * - * @return PHPExcel_Worksheet_RowDimension[] - */ - public function getRowDimensions() - { - return $this->_rowDimensions; - } - - /** - * Get default row dimension - * - * @return PHPExcel_Worksheet_RowDimension - */ - public function getDefaultRowDimension() - { - return $this->_defaultRowDimension; - } - - /** - * Get collection of column dimensions - * - * @return PHPExcel_Worksheet_ColumnDimension[] - */ - public function getColumnDimensions() - { - return $this->_columnDimensions; - } - - /** - * Get default column dimension - * - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function getDefaultColumnDimension() - { - return $this->_defaultColumnDimension; - } - - /** - * Get collection of drawings - * - * @return PHPExcel_Worksheet_BaseDrawing[] - */ - public function getDrawingCollection() - { - return $this->_drawingCollection; - } - - /** - * Get collection of charts - * - * @return PHPExcel_Chart[] - */ - public function getChartCollection() - { - return $this->_chartCollection; - } - - /** - * Add chart - * - * @param PHPExcel_Chart $pChart - * @param int|null $iChartIndex Index where chart should go (0,1,..., or null for last) - * @return PHPExcel_Chart - */ - public function addChart(PHPExcel_Chart $pChart = null, $iChartIndex = null) - { - $pChart->setWorksheet($this); - if (is_null($iChartIndex)) { - $this->_chartCollection[] = $pChart; - } else { - // Insert the chart at the requested index - array_splice($this->_chartCollection, $iChartIndex, 0, array($pChart)); - } - - return $pChart; - } - - /** - * Return the count of charts on this worksheet - * - * @return int The number of charts - */ - public function getChartCount() - { - return count($this->_chartCollection); - } - - /** - * Get a chart by its index position - * - * @param string $index Chart index position - * @return false|PHPExcel_Chart - * @throws PHPExcel_Exception - */ - public function getChartByIndex($index = null) - { - $chartCount = count($this->_chartCollection); - if ($chartCount == 0) { - return false; - } - if (is_null($index)) { - $index = --$chartCount; - } - if (!isset($this->_chartCollection[$index])) { - return false; - } - - return $this->_chartCollection[$index]; - } - - /** - * Return an array of the names of charts on this worksheet - * - * @return string[] The names of charts - * @throws PHPExcel_Exception - */ - public function getChartNames() - { - $chartNames = array(); - foreach($this->_chartCollection as $chart) { - $chartNames[] = $chart->getName(); - } - return $chartNames; - } - - /** - * Get a chart by name - * - * @param string $chartName Chart name - * @return false|PHPExcel_Chart - * @throws PHPExcel_Exception - */ - public function getChartByName($chartName = '') - { - $chartCount = count($this->_chartCollection); - if ($chartCount == 0) { - return false; - } - foreach($this->_chartCollection as $index => $chart) { - if ($chart->getName() == $chartName) { - return $this->_chartCollection[$index]; - } - } - return false; - } - - /** - * Refresh column dimensions - * - * @return PHPExcel_Worksheet - */ - public function refreshColumnDimensions() - { - $currentColumnDimensions = $this->getColumnDimensions(); - $newColumnDimensions = array(); - - foreach ($currentColumnDimensions as $objColumnDimension) { - $newColumnDimensions[$objColumnDimension->getColumnIndex()] = $objColumnDimension; - } - - $this->_columnDimensions = $newColumnDimensions; - - return $this; - } - - /** - * Refresh row dimensions - * - * @return PHPExcel_Worksheet - */ - public function refreshRowDimensions() - { - $currentRowDimensions = $this->getRowDimensions(); - $newRowDimensions = array(); - - foreach ($currentRowDimensions as $objRowDimension) { - $newRowDimensions[$objRowDimension->getRowIndex()] = $objRowDimension; - } - - $this->_rowDimensions = $newRowDimensions; - - return $this; - } - - /** - * Calculate worksheet dimension - * - * @return string String containing the dimension of this worksheet - */ - public function calculateWorksheetDimension() - { - // Return - return 'A1' . ':' . $this->getHighestColumn() . $this->getHighestRow(); - } - - /** - * Calculate worksheet data dimension - * - * @return string String containing the dimension of this worksheet that actually contain data - */ - public function calculateWorksheetDataDimension() - { - // Return - return 'A1' . ':' . $this->getHighestDataColumn() . $this->getHighestDataRow(); - } - - /** - * Calculate widths for auto-size columns - * - * @param boolean $calculateMergeCells Calculate merge cell width - * @return PHPExcel_Worksheet; - */ - public function calculateColumnWidths($calculateMergeCells = false) - { - // initialize $autoSizes array - $autoSizes = array(); - foreach ($this->getColumnDimensions() as $colDimension) { - if ($colDimension->getAutoSize()) { - $autoSizes[$colDimension->getColumnIndex()] = -1; - } - } - - // There is only something to do if there are some auto-size columns - if (!empty($autoSizes)) { - - // build list of cells references that participate in a merge - $isMergeCell = array(); - foreach ($this->getMergeCells() as $cells) { - foreach (PHPExcel_Cell::extractAllCellReferencesInRange($cells) as $cellReference) { - $isMergeCell[$cellReference] = true; - } - } - - // loop through all cells in the worksheet - foreach ($this->getCellCollection(false) as $cellID) { - $cell = $this->getCell($cellID); - if (isset($autoSizes[$this->_cellCollection->getCurrentColumn()])) { - // Determine width if cell does not participate in a merge - if (!isset($isMergeCell[$this->_cellCollection->getCurrentAddress()])) { - // Calculated value - // To formatted string - $cellValue = PHPExcel_Style_NumberFormat::toFormattedString( - $cell->getCalculatedValue(), - $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getNumberFormat()->getFormatCode() - ); - - $autoSizes[$this->_cellCollection->getCurrentColumn()] = max( - (float) $autoSizes[$this->_cellCollection->getCurrentColumn()], - (float)PHPExcel_Shared_Font::calculateColumnWidth( - $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont(), - $cellValue, - $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getAlignment()->getTextRotation(), - $this->getDefaultStyle()->getFont() - ) - ); - } - } - } - - // adjust column widths - foreach ($autoSizes as $columnIndex => $width) { - if ($width == -1) $width = $this->getDefaultColumnDimension()->getWidth(); - $this->getColumnDimension($columnIndex)->setWidth($width); - } - } - - return $this; - } - - /** - * Get parent - * - * @return PHPExcel - */ - public function getParent() { - return $this->_parent; - } - - /** - * Re-bind parent - * - * @param PHPExcel $parent - * @return PHPExcel_Worksheet - */ - public function rebindParent(PHPExcel $parent) { - if ($this->_parent !== null) { - $namedRanges = $this->_parent->getNamedRanges(); - foreach ($namedRanges as $namedRange) { - $parent->addNamedRange($namedRange); - } - - $this->_parent->removeSheetByIndex( - $this->_parent->getIndex($this) - ); - } - $this->_parent = $parent; - - return $this; - } - - /** - * Get title - * - * @return string - */ - public function getTitle() - { - return $this->_title; - } - - /** - * Set title - * - * @param string $pValue String containing the dimension of this worksheet - * @param string $updateFormulaCellReferences boolean Flag indicating whether cell references in formulae should - * be updated to reflect the new sheet name. - * This should be left as the default true, unless you are - * certain that no formula cells on any worksheet contain - * references to this worksheet - * @return PHPExcel_Worksheet - */ - public function setTitle($pValue = 'Worksheet', $updateFormulaCellReferences = true) - { - // Is this a 'rename' or not? - if ($this->getTitle() == $pValue) { - return $this; - } - - // Syntax check - self::_checkSheetTitle($pValue); - - // Old title - $oldTitle = $this->getTitle(); - - if ($this->_parent) { - // Is there already such sheet name? - if ($this->_parent->sheetNameExists($pValue)) { - // Use name, but append with lowest possible integer - - if (PHPExcel_Shared_String::CountCharacters($pValue) > 29) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,29); - } - $i = 1; - while ($this->_parent->sheetNameExists($pValue . ' ' . $i)) { - ++$i; - if ($i == 10) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 28) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,28); - } - } elseif ($i == 100) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 27) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,27); - } - } - } - - $altTitle = $pValue . ' ' . $i; - return $this->setTitle($altTitle,$updateFormulaCellReferences); - } - } - - // Set title - $this->_title = $pValue; - $this->_dirty = true; - - if ($this->_parent) { - // New title - $newTitle = $this->getTitle(); - PHPExcel_Calculation::getInstance($this->_parent) - ->renameCalculationCacheForWorksheet($oldTitle, $newTitle); - if ($updateFormulaCellReferences) - PHPExcel_ReferenceHelper::getInstance()->updateNamedFormulas($this->_parent, $oldTitle, $newTitle); - } - - return $this; - } - - /** - * Get sheet state - * - * @return string Sheet state (visible, hidden, veryHidden) - */ - public function getSheetState() { - return $this->_sheetState; - } - - /** - * Set sheet state - * - * @param string $value Sheet state (visible, hidden, veryHidden) - * @return PHPExcel_Worksheet - */ - public function setSheetState($value = PHPExcel_Worksheet::SHEETSTATE_VISIBLE) { - $this->_sheetState = $value; - return $this; - } - - /** - * Get page setup - * - * @return PHPExcel_Worksheet_PageSetup - */ - public function getPageSetup() - { - return $this->_pageSetup; - } - - /** - * Set page setup - * - * @param PHPExcel_Worksheet_PageSetup $pValue - * @return PHPExcel_Worksheet - */ - public function setPageSetup(PHPExcel_Worksheet_PageSetup $pValue) - { - $this->_pageSetup = $pValue; - return $this; - } - - /** - * Get page margins - * - * @return PHPExcel_Worksheet_PageMargins - */ - public function getPageMargins() - { - return $this->_pageMargins; - } - - /** - * Set page margins - * - * @param PHPExcel_Worksheet_PageMargins $pValue - * @return PHPExcel_Worksheet - */ - public function setPageMargins(PHPExcel_Worksheet_PageMargins $pValue) - { - $this->_pageMargins = $pValue; - return $this; - } - - /** - * Get page header/footer - * - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function getHeaderFooter() - { - return $this->_headerFooter; - } - - /** - * Set page header/footer - * - * @param PHPExcel_Worksheet_HeaderFooter $pValue - * @return PHPExcel_Worksheet - */ - public function setHeaderFooter(PHPExcel_Worksheet_HeaderFooter $pValue) - { - $this->_headerFooter = $pValue; - return $this; - } - - /** - * Get sheet view - * - * @return PHPExcel_Worksheet_SheetView - */ - public function getSheetView() - { - return $this->_sheetView; - } - - /** - * Set sheet view - * - * @param PHPExcel_Worksheet_SheetView $pValue - * @return PHPExcel_Worksheet - */ - public function setSheetView(PHPExcel_Worksheet_SheetView $pValue) - { - $this->_sheetView = $pValue; - return $this; - } - - /** - * Get Protection - * - * @return PHPExcel_Worksheet_Protection - */ - public function getProtection() - { - return $this->_protection; - } - - /** - * Set Protection - * - * @param PHPExcel_Worksheet_Protection $pValue - * @return PHPExcel_Worksheet - */ - public function setProtection(PHPExcel_Worksheet_Protection $pValue) - { - $this->_protection = $pValue; - $this->_dirty = true; - - return $this; - } - - /** - * Get highest worksheet column - * - * @param string $row Return the data highest column for the specified row, - * or the highest column of any row if no row number is passed - * @return string Highest column name - */ - public function getHighestColumn($row = null) - { - if ($row == null) { - return $this->_cachedHighestColumn; - } - return $this->getHighestDataColumn($row); - } - - /** - * Get highest worksheet column that contains data - * - * @param string $row Return the highest data column for the specified row, - * or the highest data column of any row if no row number is passed - * @return string Highest column name that contains data - */ - public function getHighestDataColumn($row = null) - { - return $this->_cellCollection->getHighestColumn($row); - } - - /** - * Get highest worksheet row - * - * @param string $column Return the highest data row for the specified column, - * or the highest row of any column if no column letter is passed - * @return int Highest row number - */ - public function getHighestRow($column = null) - { - if ($column == null) { - return $this->_cachedHighestRow; - } - return $this->getHighestDataRow($column); - } - - /** - * Get highest worksheet row that contains data - * - * @param string $column Return the highest data row for the specified column, - * or the highest data row of any column if no column letter is passed - * @return string Highest row number that contains data - */ - public function getHighestDataRow($column = null) - { - return $this->_cellCollection->getHighestRow($column); - } - - /** - * Get highest worksheet column and highest row that have cell records - * - * @return array Highest column name and highest row number - */ - public function getHighestRowAndColumn() - { - return $this->_cellCollection->getHighestRowAndColumn(); - } - - /** - * Set a cell value - * - * @param string $pCoordinate Coordinate of the cell - * @param mixed $pValue Value of the cell - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValue($pCoordinate = 'A1', $pValue = null, $returnCell = false) - { - $cell = $this->getCell($pCoordinate)->setValue($pValue); - return ($returnCell) ? $cell : $this; - } - - /** - * Set a cell value by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell (A = 0) - * @param string $pRow Numeric row coordinate of the cell - * @param mixed $pValue Value of the cell - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValueByColumnAndRow($pColumn = 0, $pRow = 1, $pValue = null, $returnCell = false) - { - $cell = $this->getCellByColumnAndRow($pColumn, $pRow)->setValue($pValue); - return ($returnCell) ? $cell : $this; - } - - /** - * Set a cell value - * - * @param string $pCoordinate Coordinate of the cell - * @param mixed $pValue Value of the cell - * @param string $pDataType Explicit data type - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValueExplicit($pCoordinate = 'A1', $pValue = null, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING, $returnCell = false) - { - // Set value - $cell = $this->getCell($pCoordinate)->setValueExplicit($pValue, $pDataType); - return ($returnCell) ? $cell : $this; - } - - /** - * Set a cell value by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell - * @param string $pRow Numeric row coordinate of the cell - * @param mixed $pValue Value of the cell - * @param string $pDataType Explicit data type - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValueExplicitByColumnAndRow($pColumn = 0, $pRow = 1, $pValue = null, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING, $returnCell = false) - { - $cell = $this->getCellByColumnAndRow($pColumn, $pRow)->setValueExplicit($pValue, $pDataType); - return ($returnCell) ? $cell : $this; - } - - /** - * Get cell at a specific coordinate - * - * @param string $pCoordinate Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found - */ - public function getCell($pCoordinate = 'A1') - { - // Check cell collection - if ($this->_cellCollection->isDataSet($pCoordinate)) { - return $this->_cellCollection->getCacheData($pCoordinate); - } - - // Worksheet reference? - if (strpos($pCoordinate, '!') !== false) { - $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true); - return $this->_parent->getSheetByName($worksheetReference[0])->getCell($worksheetReference[1]); - } - - // Named range? - if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) && - (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $pCoordinate, $matches))) { - $namedRange = PHPExcel_NamedRange::resolveRange($pCoordinate, $this); - if ($namedRange !== NULL) { - $pCoordinate = $namedRange->getRange(); - return $namedRange->getWorksheet()->getCell($pCoordinate); - } - } - - // Uppercase coordinate - $pCoordinate = strtoupper($pCoordinate); - - if (strpos($pCoordinate, ':') !== false || strpos($pCoordinate, ',') !== false) { - throw new PHPExcel_Exception('Cell coordinate can not be a range of cells.'); - } elseif (strpos($pCoordinate, '$') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not be absolute.'); - } - - // Create new cell object - return $this->_createNewCell($pCoordinate); - } - - /** - * Get cell at a specific coordinate by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell - * @param string $pRow Numeric row coordinate of the cell - * @return PHPExcel_Cell Cell that was found - */ - public function getCellByColumnAndRow($pColumn = 0, $pRow = 1) - { - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($pColumn); - $coordinate = $columnLetter . $pRow; - - if ($this->_cellCollection->isDataSet($coordinate)) { - return $this->_cellCollection->getCacheData($coordinate); - } - - return $this->_createNewCell($coordinate); - } - - /** - * Create a new cell at the specified coordinate - * - * @param string $pCoordinate Coordinate of the cell - * @return PHPExcel_Cell Cell that was created - */ - private function _createNewCell($pCoordinate) - { - $cell = $this->_cellCollection->addCacheData( - $pCoordinate, - new PHPExcel_Cell( - NULL, - PHPExcel_Cell_DataType::TYPE_NULL, - $this - ) - ); - $this->_cellCollectionIsSorted = false; - - // Coordinates - $aCoordinates = PHPExcel_Cell::coordinateFromString($pCoordinate); - if (PHPExcel_Cell::columnIndexFromString($this->_cachedHighestColumn) < PHPExcel_Cell::columnIndexFromString($aCoordinates[0])) - $this->_cachedHighestColumn = $aCoordinates[0]; - $this->_cachedHighestRow = max($this->_cachedHighestRow, $aCoordinates[1]); - - // Cell needs appropriate xfIndex from dimensions records - // but don't create dimension records if they don't already exist - $rowDimension = $this->getRowDimension($aCoordinates[1], FALSE); - $columnDimension = $this->getColumnDimension($aCoordinates[0], FALSE); - - if ($rowDimension !== NULL && $rowDimension->getXfIndex() > 0) { - // then there is a row dimension with explicit style, assign it to the cell - $cell->setXfIndex($rowDimension->getXfIndex()); - } elseif ($columnDimension !== NULL && $columnDimension->getXfIndex() > 0) { - // then there is a column dimension, assign it to the cell - $cell->setXfIndex($columnDimension->getXfIndex()); - } - - return $cell; - } - - /** - * Does the cell at a specific coordinate exist? - * - * @param string $pCoordinate Coordinate of the cell - * @throws PHPExcel_Exception - * @return boolean - */ - public function cellExists($pCoordinate = 'A1') - { - // Worksheet reference? - if (strpos($pCoordinate, '!') !== false) { - $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true); - return $this->_parent->getSheetByName($worksheetReference[0])->cellExists($worksheetReference[1]); - } - - // Named range? - if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) && - (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $pCoordinate, $matches))) { - $namedRange = PHPExcel_NamedRange::resolveRange($pCoordinate, $this); - if ($namedRange !== NULL) { - $pCoordinate = $namedRange->getRange(); - if ($this->getHashCode() != $namedRange->getWorksheet()->getHashCode()) { - if (!$namedRange->getLocalOnly()) { - return $namedRange->getWorksheet()->cellExists($pCoordinate); - } else { - throw new PHPExcel_Exception('Named range ' . $namedRange->getName() . ' is not accessible from within sheet ' . $this->getTitle()); - } - } - } - else { return false; } - } - - // Uppercase coordinate - $pCoordinate = strtoupper($pCoordinate); - - if (strpos($pCoordinate,':') !== false || strpos($pCoordinate,',') !== false) { - throw new PHPExcel_Exception('Cell coordinate can not be a range of cells.'); - } elseif (strpos($pCoordinate,'$') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not be absolute.'); - } else { - // Coordinates - $aCoordinates = PHPExcel_Cell::coordinateFromString($pCoordinate); - - // Cell exists? - return $this->_cellCollection->isDataSet($pCoordinate); - } - } - - /** - * Cell at a specific coordinate by using numeric cell coordinates exists? - * - * @param string $pColumn Numeric column coordinate of the cell - * @param string $pRow Numeric row coordinate of the cell - * @return boolean - */ - public function cellExistsByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->cellExists(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Get row dimension at a specific row - * - * @param int $pRow Numeric index of the row - * @return PHPExcel_Worksheet_RowDimension - */ - public function getRowDimension($pRow = 1, $create = TRUE) - { - // Found - $found = null; - - // Get row dimension - if (!isset($this->_rowDimensions[$pRow])) { - if (!$create) - return NULL; - $this->_rowDimensions[$pRow] = new PHPExcel_Worksheet_RowDimension($pRow); - - $this->_cachedHighestRow = max($this->_cachedHighestRow,$pRow); - } - return $this->_rowDimensions[$pRow]; - } - - /** - * Get column dimension at a specific column - * - * @param string $pColumn String index of the column - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function getColumnDimension($pColumn = 'A', $create = TRUE) - { - // Uppercase coordinate - $pColumn = strtoupper($pColumn); - - // Fetch dimensions - if (!isset($this->_columnDimensions[$pColumn])) { - if (!$create) - return NULL; - $this->_columnDimensions[$pColumn] = new PHPExcel_Worksheet_ColumnDimension($pColumn); - - if (PHPExcel_Cell::columnIndexFromString($this->_cachedHighestColumn) < PHPExcel_Cell::columnIndexFromString($pColumn)) - $this->_cachedHighestColumn = $pColumn; - } - return $this->_columnDimensions[$pColumn]; - } - - /** - * Get column dimension at a specific column by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function getColumnDimensionByColumn($pColumn = 0) - { - return $this->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($pColumn)); - } - - /** - * Get styles - * - * @return PHPExcel_Style[] - */ - public function getStyles() - { - return $this->_styles; - } - - /** - * Get default style of workbook. - * - * @deprecated - * @return PHPExcel_Style - * @throws PHPExcel_Exception - */ - public function getDefaultStyle() - { - return $this->_parent->getDefaultStyle(); - } - - /** - * Set default style - should only be used by PHPExcel_IReader implementations! - * - * @deprecated - * @param PHPExcel_Style $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setDefaultStyle(PHPExcel_Style $pValue) - { - $this->_parent->getDefaultStyle()->applyFromArray(array( - 'font' => array( - 'name' => $pValue->getFont()->getName(), - 'size' => $pValue->getFont()->getSize(), - ), - )); - return $this; - } - - /** - * Get style for cell - * - * @param string $pCellCoordinate Cell coordinate (or range) to get style for - * @return PHPExcel_Style - * @throws PHPExcel_Exception - */ - public function getStyle($pCellCoordinate = 'A1') - { - // set this sheet as active - $this->_parent->setActiveSheetIndex($this->_parent->getIndex($this)); - - // set cell coordinate as active - $this->setSelectedCells($pCellCoordinate); - - return $this->_parent->getCellXfSupervisor(); - } - - /** - * Get conditional styles for a cell - * - * @param string $pCoordinate - * @return PHPExcel_Style_Conditional[] - */ - public function getConditionalStyles($pCoordinate = 'A1') - { - if (!isset($this->_conditionalStylesCollection[$pCoordinate])) { - $this->_conditionalStylesCollection[$pCoordinate] = array(); - } - return $this->_conditionalStylesCollection[$pCoordinate]; - } - - /** - * Do conditional styles exist for this cell? - * - * @param string $pCoordinate - * @return boolean - */ - public function conditionalStylesExists($pCoordinate = 'A1') - { - if (isset($this->_conditionalStylesCollection[$pCoordinate])) { - return true; - } - return false; - } - - /** - * Removes conditional styles for a cell - * - * @param string $pCoordinate - * @return PHPExcel_Worksheet - */ - public function removeConditionalStyles($pCoordinate = 'A1') - { - unset($this->_conditionalStylesCollection[$pCoordinate]); - return $this; - } - - /** - * Get collection of conditional styles - * - * @return array - */ - public function getConditionalStylesCollection() - { - return $this->_conditionalStylesCollection; - } - - /** - * Set conditional styles - * - * @param $pCoordinate string E.g. 'A1' - * @param $pValue PHPExcel_Style_Conditional[] - * @return PHPExcel_Worksheet - */ - public function setConditionalStyles($pCoordinate = 'A1', $pValue) - { - $this->_conditionalStylesCollection[$pCoordinate] = $pValue; - return $this; - } - - /** - * Get style for cell by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @param int pColumn2 Numeric column coordinate of the range cell - * @param int pRow2 Numeric row coordinate of the range cell - * @return PHPExcel_Style - */ - public function getStyleByColumnAndRow($pColumn = 0, $pRow = 1, $pColumn2 = null, $pRow2 = null) - { - if (!is_null($pColumn2) && !is_null($pRow2)) { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow . ':' . - PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->getStyle($cellRange); - } - - return $this->getStyle(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Set shared cell style to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range! - * - * @deprecated - * @param PHPExcel_Style $pSharedCellStyle Cell style to share - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setSharedStyle(PHPExcel_Style $pSharedCellStyle = null, $pRange = '') - { - $this->duplicateStyle($pSharedCellStyle, $pRange); - return $this; - } - - /** - * Duplicate cell style to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range! - * - * @param PHPExcel_Style $pCellStyle Cell style to duplicate - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function duplicateStyle(PHPExcel_Style $pCellStyle = null, $pRange = '') - { - // make sure we have a real style and not supervisor - $style = $pCellStyle->getIsSupervisor() ? $pCellStyle->getSharedComponent() : $pCellStyle; - - // Add the style to the workbook if necessary - $workbook = $this->_parent; - if ($existingStyle = $this->_parent->getCellXfByHashCode($pCellStyle->getHashCode())) { - // there is already such cell Xf in our collection - $xfIndex = $existingStyle->getIndex(); - } else { - // we don't have such a cell Xf, need to add - $workbook->addCellXf($pCellStyle); - $xfIndex = $pCellStyle->getIndex(); - } - - // Calculate range outer borders - list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange . ':' . $pRange); - - // Make sure we can loop upwards on rows and columns - if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { - $tmp = $rangeStart; - $rangeStart = $rangeEnd; - $rangeEnd = $tmp; - } - - // Loop through cells and apply styles - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $this->getCell(PHPExcel_Cell::stringFromColumnIndex($col - 1) . $row)->setXfIndex($xfIndex); - } - } - - return $this; - } - - /** - * Duplicate conditional style to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range! - * - * @param array of PHPExcel_Style_Conditional $pCellStyle Cell style to duplicate - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function duplicateConditionalStyle(array $pCellStyle = null, $pRange = '') - { - foreach($pCellStyle as $cellStyle) { - if (!($cellStyle instanceof PHPExcel_Style_Conditional)) { - throw new PHPExcel_Exception('Style is not a conditional style'); - } - } - - // Calculate range outer borders - list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange . ':' . $pRange); - - // Make sure we can loop upwards on rows and columns - if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { - $tmp = $rangeStart; - $rangeStart = $rangeEnd; - $rangeEnd = $tmp; - } - - // Loop through cells and apply styles - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $this->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($col - 1) . $row, $pCellStyle); - } - } - - return $this; - } - - /** - * Duplicate cell style array to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range, - * if they are in the styles array. For example, if you decide to set a range of - * cells to font bold, only include font bold in the styles array. - * - * @deprecated - * @param array $pStyles Array containing style information - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @param boolean $pAdvanced Advanced mode for setting borders. - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function duplicateStyleArray($pStyles = null, $pRange = '', $pAdvanced = true) - { - $this->getStyle($pRange)->applyFromArray($pStyles, $pAdvanced); - return $this; - } - - /** - * Set break on a cell - * - * @param string $pCell Cell coordinate (e.g. A1) - * @param int $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setBreak($pCell = 'A1', $pBreak = PHPExcel_Worksheet::BREAK_NONE) - { - // Uppercase coordinate - $pCell = strtoupper($pCell); - - if ($pCell != '') { - if ($pBreak == PHPExcel_Worksheet::BREAK_NONE) { - if (isset($this->_breaks[$pCell])) { - unset($this->_breaks[$pCell]); - } - } else { - $this->_breaks[$pCell] = $pBreak; - } - } else { - throw new PHPExcel_Exception('No cell coordinate specified.'); - } - - return $this; - } - - /** - * Set break on a cell by using numeric cell coordinates - * - * @param integer $pColumn Numeric column coordinate of the cell - * @param integer $pRow Numeric row coordinate of the cell - * @param integer $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*) - * @return PHPExcel_Worksheet - */ - public function setBreakByColumnAndRow($pColumn = 0, $pRow = 1, $pBreak = PHPExcel_Worksheet::BREAK_NONE) - { - return $this->setBreak(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow, $pBreak); - } - - /** - * Get breaks - * - * @return array[] - */ - public function getBreaks() - { - return $this->_breaks; - } - - /** - * Set merge on a cell range - * - * @param string $pRange Cell range (e.g. A1:E1) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function mergeCells($pRange = 'A1:A1') - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (strpos($pRange,':') !== false) { - $this->_mergeCells[$pRange] = $pRange; - - // make sure cells are created - - // get the cells in the range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange); - - // create upper left cell if it does not already exist - $upperLeft = $aReferences[0]; - if (!$this->cellExists($upperLeft)) { - $this->getCell($upperLeft)->setValueExplicit(null, PHPExcel_Cell_DataType::TYPE_NULL); - } - - // create or blank out the rest of the cells in the range - $count = count($aReferences); - for ($i = 1; $i < $count; $i++) { - $this->getCell($aReferences[$i])->setValueExplicit(null, PHPExcel_Cell_DataType::TYPE_NULL); - } - - } else { - throw new PHPExcel_Exception('Merge must be set on a range of cells.'); - } - - return $this; - } - - /** - * Set merge on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function mergeCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->mergeCells($cellRange); - } - - /** - * Remove merge on a cell range - * - * @param string $pRange Cell range (e.g. A1:E1) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unmergeCells($pRange = 'A1:A1') - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (strpos($pRange,':') !== false) { - if (isset($this->_mergeCells[$pRange])) { - unset($this->_mergeCells[$pRange]); - } else { - throw new PHPExcel_Exception('Cell range ' . $pRange . ' not known as merged.'); - } - } else { - throw new PHPExcel_Exception('Merge can only be removed from a range of cells.'); - } - - return $this; - } - - /** - * Remove merge on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unmergeCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->unmergeCells($cellRange); - } - - /** - * Get merge cells array. - * - * @return array[] - */ - public function getMergeCells() - { - return $this->_mergeCells; - } - - /** - * Set merge cells array for the entire sheet. Use instead mergeCells() to merge - * a single cell range. - * - * @param array - */ - public function setMergeCells($pValue = array()) - { - $this->_mergeCells = $pValue; - - return $this; - } - - /** - * Set protection on a cell range - * - * @param string $pRange Cell (e.g. A1) or cell range (e.g. A1:E1) - * @param string $pPassword Password to unlock the protection - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function protectCells($pRange = 'A1', $pPassword = '', $pAlreadyHashed = false) - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (!$pAlreadyHashed) { - $pPassword = PHPExcel_Shared_PasswordHasher::hashPassword($pPassword); - } - $this->_protectedCells[$pRange] = $pPassword; - - return $this; - } - - /** - * Set protection on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @param string $pPassword Password to unlock the protection - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function protectCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1, $pPassword = '', $pAlreadyHashed = false) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->protectCells($cellRange, $pPassword, $pAlreadyHashed); - } - - /** - * Remove protection on a cell range - * - * @param string $pRange Cell (e.g. A1) or cell range (e.g. A1:E1) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unprotectCells($pRange = 'A1') - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (isset($this->_protectedCells[$pRange])) { - unset($this->_protectedCells[$pRange]); - } else { - throw new PHPExcel_Exception('Cell range ' . $pRange . ' not known as protected.'); - } - return $this; - } - - /** - * Remove protection on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @param string $pPassword Password to unlock the protection - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unprotectCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1, $pPassword = '', $pAlreadyHashed = false) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->unprotectCells($cellRange, $pPassword, $pAlreadyHashed); - } - - /** - * Get protected cells - * - * @return array[] - */ - public function getProtectedCells() - { - return $this->_protectedCells; - } - - /** - * Get Autofilter - * - * @return PHPExcel_Worksheet_AutoFilter - */ - public function getAutoFilter() - { - return $this->_autoFilter; - } - - /** - * Set AutoFilter - * - * @param PHPExcel_Worksheet_AutoFilter|string $pValue - * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setAutoFilter($pValue) - { - if (is_string($pValue)) { - $this->_autoFilter->setRange($pValue); - } elseif(is_object($pValue) && ($pValue instanceof PHPExcel_Worksheet_AutoFilter)) { - $this->_autoFilter = $pValue; - } - return $this; - } - - /** - * Set Autofilter Range by using numeric cell coordinates - * - * @param integer $pColumn1 Numeric column coordinate of the first cell - * @param integer $pRow1 Numeric row coordinate of the first cell - * @param integer $pColumn2 Numeric column coordinate of the second cell - * @param integer $pRow2 Numeric row coordinate of the second cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setAutoFilterByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1) - { - return $this->setAutoFilter( - PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 - . ':' . - PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2 - ); - } - - /** - * Remove autofilter - * - * @return PHPExcel_Worksheet - */ - public function removeAutoFilter() - { - $this->_autoFilter->setRange(NULL); - return $this; - } - - /** - * Get Freeze Pane - * - * @return string - */ - public function getFreezePane() - { - return $this->_freezePane; - } - - /** - * Freeze Pane - * - * @param string $pCell Cell (i.e. A2) - * Examples: - * A2 will freeze the rows above cell A2 (i.e row 1) - * B1 will freeze the columns to the left of cell B1 (i.e column A) - * B2 will freeze the rows above and to the left of cell A2 - * (i.e row 1 and column A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function freezePane($pCell = '') - { - // Uppercase coordinate - $pCell = strtoupper($pCell); - - if (strpos($pCell,':') === false && strpos($pCell,',') === false) { - $this->_freezePane = $pCell; - } else { - throw new PHPExcel_Exception('Freeze pane can not be set on a range of cells.'); - } - return $this; - } - - /** - * Freeze Pane by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function freezePaneByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->freezePane(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Unfreeze Pane - * - * @return PHPExcel_Worksheet - */ - public function unfreezePane() - { - return $this->freezePane(''); - } - - /** - * Insert a new row, updating all possible related data - * - * @param int $pBefore Insert before this one - * @param int $pNumRows Number of rows to insert - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function insertNewRowBefore($pBefore = 1, $pNumRows = 1) { - if ($pBefore >= 1) { - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore('A' . $pBefore, 0, $pNumRows, $this); - } else { - throw new PHPExcel_Exception("Rows can only be inserted before at least row 1."); - } - return $this; - } - - /** - * Insert a new column, updating all possible related data - * - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to insert - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function insertNewColumnBefore($pBefore = 'A', $pNumCols = 1) { - if (!is_numeric($pBefore)) { - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore($pBefore . '1', $pNumCols, 0, $this); - } else { - throw new PHPExcel_Exception("Column references should not be numeric."); - } - return $this; - } - - /** - * Insert a new column, updating all possible related data - * - * @param int $pBefore Insert before this one (numeric column coordinate of the cell) - * @param int $pNumCols Number of columns to insert - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function insertNewColumnBeforeByIndex($pBefore = 0, $pNumCols = 1) { - if ($pBefore >= 0) { - return $this->insertNewColumnBefore(PHPExcel_Cell::stringFromColumnIndex($pBefore), $pNumCols); - } else { - throw new PHPExcel_Exception("Columns can only be inserted before at least column A (0)."); - } - } - - /** - * Delete a row, updating all possible related data - * - * @param int $pRow Remove starting with this one - * @param int $pNumRows Number of rows to remove - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function removeRow($pRow = 1, $pNumRows = 1) { - if ($pRow >= 1) { - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore('A' . ($pRow + $pNumRows), 0, -$pNumRows, $this); - } else { - throw new PHPExcel_Exception("Rows to be deleted should at least start from row 1."); - } - return $this; - } - - /** - * Remove a column, updating all possible related data - * - * @param int $pColumn Remove starting with this one - * @param int $pNumCols Number of columns to remove - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function removeColumn($pColumn = 'A', $pNumCols = 1) { - if (!is_numeric($pColumn)) { - $pColumn = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($pColumn) - 1 + $pNumCols); - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore($pColumn . '1', -$pNumCols, 0, $this); - } else { - throw new PHPExcel_Exception("Column references should not be numeric."); - } - return $this; - } - - /** - * Remove a column, updating all possible related data - * - * @param int $pColumn Remove starting with this one (numeric column coordinate of the cell) - * @param int $pNumCols Number of columns to remove - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function removeColumnByIndex($pColumn = 0, $pNumCols = 1) { - if ($pColumn >= 0) { - return $this->removeColumn(PHPExcel_Cell::stringFromColumnIndex($pColumn), $pNumCols); - } else { - throw new PHPExcel_Exception("Columns to be deleted should at least start from column 0"); - } - } - - /** - * Show gridlines? - * - * @return boolean - */ - public function getShowGridlines() { - return $this->_showGridlines; - } - - /** - * Set show gridlines - * - * @param boolean $pValue Show gridlines (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowGridlines($pValue = false) { - $this->_showGridlines = $pValue; - return $this; - } - - /** - * Print gridlines? - * - * @return boolean - */ - public function getPrintGridlines() { - return $this->_printGridlines; - } - - /** - * Set print gridlines - * - * @param boolean $pValue Print gridlines (true/false) - * @return PHPExcel_Worksheet - */ - public function setPrintGridlines($pValue = false) { - $this->_printGridlines = $pValue; - return $this; - } - - /** - * Show row and column headers? - * - * @return boolean - */ - public function getShowRowColHeaders() { - return $this->_showRowColHeaders; - } - - /** - * Set show row and column headers - * - * @param boolean $pValue Show row and column headers (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowRowColHeaders($pValue = false) { - $this->_showRowColHeaders = $pValue; - return $this; - } - - /** - * Show summary below? (Row/Column outlining) - * - * @return boolean - */ - public function getShowSummaryBelow() { - return $this->_showSummaryBelow; - } - - /** - * Set show summary below - * - * @param boolean $pValue Show summary below (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowSummaryBelow($pValue = true) { - $this->_showSummaryBelow = $pValue; - return $this; - } - - /** - * Show summary right? (Row/Column outlining) - * - * @return boolean - */ - public function getShowSummaryRight() { - return $this->_showSummaryRight; - } - - /** - * Set show summary right - * - * @param boolean $pValue Show summary right (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowSummaryRight($pValue = true) { - $this->_showSummaryRight = $pValue; - return $this; - } - - /** - * Get comments - * - * @return PHPExcel_Comment[] - */ - public function getComments() - { - return $this->_comments; - } - - /** - * Set comments array for the entire sheet. - * - * @param array of PHPExcel_Comment - * @return PHPExcel_Worksheet - */ - public function setComments($pValue = array()) - { - $this->_comments = $pValue; - - return $this; - } - - /** - * Get comment for cell - * - * @param string $pCellCoordinate Cell coordinate to get comment for - * @return PHPExcel_Comment - * @throws PHPExcel_Exception - */ - public function getComment($pCellCoordinate = 'A1') - { - // Uppercase coordinate - $pCellCoordinate = strtoupper($pCellCoordinate); - - if (strpos($pCellCoordinate,':') !== false || strpos($pCellCoordinate,',') !== false) { - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells.'); - } else if (strpos($pCellCoordinate,'$') !== false) { - throw new PHPExcel_Exception('Cell coordinate string must not be absolute.'); - } else if ($pCellCoordinate == '') { - throw new PHPExcel_Exception('Cell coordinate can not be zero-length string.'); - } else { - // Check if we already have a comment for this cell. - // If not, create a new comment. - if (isset($this->_comments[$pCellCoordinate])) { - return $this->_comments[$pCellCoordinate]; - } else { - $newComment = new PHPExcel_Comment(); - $this->_comments[$pCellCoordinate] = $newComment; - return $newComment; - } - } - } - - /** - * Get comment for cell by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @return PHPExcel_Comment - */ - public function getCommentByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->getComment(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Get selected cell - * - * @deprecated - * @return string - */ - public function getSelectedCell() - { - return $this->getSelectedCells(); - } - - /** - * Get active cell - * - * @return string Example: 'A1' - */ - public function getActiveCell() - { - return $this->_activeCell; - } - - /** - * Get selected cells - * - * @return string - */ - public function getSelectedCells() - { - return $this->_selectedCells; - } - - /** - * Selected cell - * - * @param string $pCoordinate Cell (i.e. A1) - * @return PHPExcel_Worksheet - */ - public function setSelectedCell($pCoordinate = 'A1') - { - return $this->setSelectedCells($pCoordinate); - } - - /** - * Select a range of cells. - * - * @param string $pCoordinate Cell range, examples: 'A1', 'B2:G5', 'A:C', '3:6' - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setSelectedCells($pCoordinate = 'A1') - { - // Uppercase coordinate - $pCoordinate = strtoupper($pCoordinate); - - // Convert 'A' to 'A:A' - $pCoordinate = preg_replace('/^([A-Z]+)$/', '${1}:${1}', $pCoordinate); - - // Convert '1' to '1:1' - $pCoordinate = preg_replace('/^([0-9]+)$/', '${1}:${1}', $pCoordinate); - - // Convert 'A:C' to 'A1:C1048576' - $pCoordinate = preg_replace('/^([A-Z]+):([A-Z]+)$/', '${1}1:${2}1048576', $pCoordinate); - - // Convert '1:3' to 'A1:XFD3' - $pCoordinate = preg_replace('/^([0-9]+):([0-9]+)$/', 'A${1}:XFD${2}', $pCoordinate); - - if (strpos($pCoordinate,':') !== false || strpos($pCoordinate,',') !== false) { - list($first, ) = PHPExcel_Cell::splitRange($pCoordinate); - $this->_activeCell = $first[0]; - } else { - $this->_activeCell = $pCoordinate; - } - $this->_selectedCells = $pCoordinate; - return $this; - } - - /** - * Selected cell by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setSelectedCellByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->setSelectedCells(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Get right-to-left - * - * @return boolean - */ - public function getRightToLeft() { - return $this->_rightToLeft; - } - - /** - * Set right-to-left - * - * @param boolean $value Right-to-left true/false - * @return PHPExcel_Worksheet - */ - public function setRightToLeft($value = false) { - $this->_rightToLeft = $value; - return $this; - } - - /** - * Fill worksheet from values in array - * - * @param array $source Source array - * @param mixed $nullValue Value in source array that stands for blank cell - * @param string $startCell Insert array starting from this cell address as the top left coordinate - * @param boolean $strictNullComparison Apply strict comparison when testing for null values in the array - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function fromArray($source = null, $nullValue = null, $startCell = 'A1', $strictNullComparison = false) { - if (is_array($source)) { - // Convert a 1-D array to 2-D (for ease of looping) - if (!is_array(end($source))) { - $source = array($source); - } - - // start coordinate - list ($startColumn, $startRow) = PHPExcel_Cell::coordinateFromString($startCell); - - // Loop through $source - foreach ($source as $rowData) { - $currentColumn = $startColumn; - foreach($rowData as $cellValue) { - if ($strictNullComparison) { - if ($cellValue !== $nullValue) { - // Set cell value - $this->getCell($currentColumn . $startRow)->setValue($cellValue); - } - } else { - if ($cellValue != $nullValue) { - // Set cell value - $this->getCell($currentColumn . $startRow)->setValue($cellValue); - } - } - ++$currentColumn; - } - ++$startRow; - } - } else { - throw new PHPExcel_Exception("Parameter \$source should be an array."); - } - return $this; - } - - /** - * Create array from a range of cells - * - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist - * @param boolean $calculateFormulas Should formulas be calculated? - * @param boolean $formatData Should formatting be applied to cell values? - * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero - * True - Return rows and columns indexed by their actual row and column IDs - * @return array - */ - public function rangeToArray($pRange = 'A1', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { - // Returnvalue - $returnValue = array(); - // Identify the range that we need to extract from the worksheet - list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange); - $minCol = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] -1); - $minRow = $rangeStart[1]; - $maxCol = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0] -1); - $maxRow = $rangeEnd[1]; - - $maxCol++; - // Loop through rows - $r = -1; - for ($row = $minRow; $row <= $maxRow; ++$row) { - $rRef = ($returnCellRef) ? $row : ++$r; - $c = -1; - // Loop through columns in the current row - for ($col = $minCol; $col != $maxCol; ++$col) { - $cRef = ($returnCellRef) ? $col : ++$c; - // Using getCell() will create a new cell if it doesn't already exist. We don't want that to happen - // so we test and retrieve directly against _cellCollection - if ($this->_cellCollection->isDataSet($col.$row)) { - // Cell exists - $cell = $this->_cellCollection->getCacheData($col.$row); - if ($cell->getValue() !== null) { - if ($cell->getValue() instanceof PHPExcel_RichText) { - $returnValue[$rRef][$cRef] = $cell->getValue()->getPlainText(); - } else { - if ($calculateFormulas) { - $returnValue[$rRef][$cRef] = $cell->getCalculatedValue(); - } else { - $returnValue[$rRef][$cRef] = $cell->getValue(); - } - } - - if ($formatData) { - $style = $this->_parent->getCellXfByIndex($cell->getXfIndex()); - $returnValue[$rRef][$cRef] = PHPExcel_Style_NumberFormat::toFormattedString( - $returnValue[$rRef][$cRef], - ($style && $style->getNumberFormat()) ? - $style->getNumberFormat()->getFormatCode() : - PHPExcel_Style_NumberFormat::FORMAT_GENERAL - ); - } - } else { - // Cell holds a NULL - $returnValue[$rRef][$cRef] = $nullValue; - } - } else { - // Cell doesn't exist - $returnValue[$rRef][$cRef] = $nullValue; - } - } - } - - // Return - return $returnValue; - } - - - /** - * Create array from a range of cells - * - * @param string $pNamedRange Name of the Named Range - * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist - * @param boolean $calculateFormulas Should formulas be calculated? - * @param boolean $formatData Should formatting be applied to cell values? - * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero - * True - Return rows and columns indexed by their actual row and column IDs - * @return array - * @throws PHPExcel_Exception - */ - public function namedRangeToArray($pNamedRange = '', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { - $namedRange = PHPExcel_NamedRange::resolveRange($pNamedRange, $this); - if ($namedRange !== NULL) { - $pWorkSheet = $namedRange->getWorksheet(); - $pCellRange = $namedRange->getRange(); - - return $pWorkSheet->rangeToArray( $pCellRange, - $nullValue, $calculateFormulas, $formatData, $returnCellRef); - } - - throw new PHPExcel_Exception('Named Range '.$pNamedRange.' does not exist.'); - } - - - /** - * Create array from worksheet - * - * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist - * @param boolean $calculateFormulas Should formulas be calculated? - * @param boolean $formatData Should formatting be applied to cell values? - * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero - * True - Return rows and columns indexed by their actual row and column IDs - * @return array - */ - public function toArray($nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { - // Garbage collect... - $this->garbageCollect(); - - // Identify the range that we need to extract from the worksheet - $maxCol = $this->getHighestColumn(); - $maxRow = $this->getHighestRow(); - // Return - return $this->rangeToArray( 'A1:'.$maxCol.$maxRow, - $nullValue, $calculateFormulas, $formatData, $returnCellRef); - } - - /** - * Get row iterator - * - * @param integer $startRow The row number at which to start iterating - * @return PHPExcel_Worksheet_RowIterator - */ - public function getRowIterator($startRow = 1) { - return new PHPExcel_Worksheet_RowIterator($this,$startRow); - } - - /** - * Run PHPExcel garabage collector. - * - * @return PHPExcel_Worksheet - */ - public function garbageCollect() { - // Flush cache - $this->_cellCollection->getCacheData('A1'); - // Build a reference table from images -// $imageCoordinates = array(); -// $iterator = $this->getDrawingCollection()->getIterator(); -// while ($iterator->valid()) { -// $imageCoordinates[$iterator->current()->getCoordinates()] = true; -// -// $iterator->next(); -// } -// - // Lookup highest column and highest row if cells are cleaned - $colRow = $this->_cellCollection->getHighestRowAndColumn(); - $highestRow = $colRow['row']; - $highestColumn = PHPExcel_Cell::columnIndexFromString($colRow['column']); - - // Loop through column dimensions - foreach ($this->_columnDimensions as $dimension) { - $highestColumn = max($highestColumn,PHPExcel_Cell::columnIndexFromString($dimension->getColumnIndex())); - } - - // Loop through row dimensions - foreach ($this->_rowDimensions as $dimension) { - $highestRow = max($highestRow,$dimension->getRowIndex()); - } - - // Cache values - if ($highestColumn < 0) { - $this->_cachedHighestColumn = 'A'; - } else { - $this->_cachedHighestColumn = PHPExcel_Cell::stringFromColumnIndex(--$highestColumn); - } - $this->_cachedHighestRow = $highestRow; - - // Return - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_dirty) { - $this->_hash = md5( $this->_title . - $this->_autoFilter . - ($this->_protection->isProtectionEnabled() ? 't' : 'f') . - __CLASS__ - ); - $this->_dirty = false; - } - return $this->_hash; - } - - /** - * Extract worksheet title from range. - * - * Example: extractSheetTitle("testSheet!A1") ==> 'A1' - * Example: extractSheetTitle("'testSheet 1'!A1", true) ==> array('testSheet 1', 'A1'); - * - * @param string $pRange Range to extract title from - * @param bool $returnRange Return range? (see example) - * @return mixed - */ - public static function extractSheetTitle($pRange, $returnRange = false) { - // Sheet title included? - if (($sep = strpos($pRange, '!')) === false) { - return ''; - } - - if ($returnRange) { - return array( trim(substr($pRange, 0, $sep),"'"), - substr($pRange, $sep + 1) - ); - } - - return substr($pRange, $sep + 1); - } - - /** - * Get hyperlink - * - * @param string $pCellCoordinate Cell coordinate to get hyperlink for - */ - public function getHyperlink($pCellCoordinate = 'A1') - { - // return hyperlink if we already have one - if (isset($this->_hyperlinkCollection[$pCellCoordinate])) { - return $this->_hyperlinkCollection[$pCellCoordinate]; - } - - // else create hyperlink - $this->_hyperlinkCollection[$pCellCoordinate] = new PHPExcel_Cell_Hyperlink(); - return $this->_hyperlinkCollection[$pCellCoordinate]; - } - - /** - * Set hyperlnk - * - * @param string $pCellCoordinate Cell coordinate to insert hyperlink - * @param PHPExcel_Cell_Hyperlink $pHyperlink - * @return PHPExcel_Worksheet - */ - public function setHyperlink($pCellCoordinate = 'A1', PHPExcel_Cell_Hyperlink $pHyperlink = null) - { - if ($pHyperlink === null) { - unset($this->_hyperlinkCollection[$pCellCoordinate]); - } else { - $this->_hyperlinkCollection[$pCellCoordinate] = $pHyperlink; - } - return $this; - } - - /** - * Hyperlink at a specific coordinate exists? - * - * @param string $pCoordinate - * @return boolean - */ - public function hyperlinkExists($pCoordinate = 'A1') - { - return isset($this->_hyperlinkCollection[$pCoordinate]); - } - - /** - * Get collection of hyperlinks - * - * @return PHPExcel_Cell_Hyperlink[] - */ - public function getHyperlinkCollection() - { - return $this->_hyperlinkCollection; - } - - /** - * Get data validation - * - * @param string $pCellCoordinate Cell coordinate to get data validation for - */ - public function getDataValidation($pCellCoordinate = 'A1') - { - // return data validation if we already have one - if (isset($this->_dataValidationCollection[$pCellCoordinate])) { - return $this->_dataValidationCollection[$pCellCoordinate]; - } - - // else create data validation - $this->_dataValidationCollection[$pCellCoordinate] = new PHPExcel_Cell_DataValidation(); - return $this->_dataValidationCollection[$pCellCoordinate]; - } - - /** - * Set data validation - * - * @param string $pCellCoordinate Cell coordinate to insert data validation - * @param PHPExcel_Cell_DataValidation $pDataValidation - * @return PHPExcel_Worksheet - */ - public function setDataValidation($pCellCoordinate = 'A1', PHPExcel_Cell_DataValidation $pDataValidation = null) - { - if ($pDataValidation === null) { - unset($this->_dataValidationCollection[$pCellCoordinate]); - } else { - $this->_dataValidationCollection[$pCellCoordinate] = $pDataValidation; - } - return $this; - } - - /** - * Data validation at a specific coordinate exists? - * - * @param string $pCoordinate - * @return boolean - */ - public function dataValidationExists($pCoordinate = 'A1') - { - return isset($this->_dataValidationCollection[$pCoordinate]); - } - - /** - * Get collection of data validations - * - * @return PHPExcel_Cell_DataValidation[] - */ - public function getDataValidationCollection() - { - return $this->_dataValidationCollection; - } - - /** - * Accepts a range, returning it as a range that falls within the current highest row and column of the worksheet - * - * @param string $range - * @return string Adjusted range value - */ - public function shrinkRangeToFit($range) { - $maxCol = $this->getHighestColumn(); - $maxRow = $this->getHighestRow(); - $maxCol = PHPExcel_Cell::columnIndexFromString($maxCol); - - $rangeBlocks = explode(' ',$range); - foreach ($rangeBlocks as &$rangeSet) { - $rangeBoundaries = PHPExcel_Cell::getRangeBoundaries($rangeSet); - - if (PHPExcel_Cell::columnIndexFromString($rangeBoundaries[0][0]) > $maxCol) { $rangeBoundaries[0][0] = PHPExcel_Cell::stringFromColumnIndex($maxCol); } - if ($rangeBoundaries[0][1] > $maxRow) { $rangeBoundaries[0][1] = $maxRow; } - if (PHPExcel_Cell::columnIndexFromString($rangeBoundaries[1][0]) > $maxCol) { $rangeBoundaries[1][0] = PHPExcel_Cell::stringFromColumnIndex($maxCol); } - if ($rangeBoundaries[1][1] > $maxRow) { $rangeBoundaries[1][1] = $maxRow; } - $rangeSet = $rangeBoundaries[0][0].$rangeBoundaries[0][1].':'.$rangeBoundaries[1][0].$rangeBoundaries[1][1]; - } - unset($rangeSet); - $stRange = implode(' ',$rangeBlocks); - - return $stRange; - } - - /** - * Get tab color - * - * @return PHPExcel_Style_Color - */ - public function getTabColor() - { - if ($this->_tabColor === NULL) - $this->_tabColor = new PHPExcel_Style_Color(); - - return $this->_tabColor; - } - - /** - * Reset tab color - * - * @return PHPExcel_Worksheet - */ - public function resetTabColor() - { - $this->_tabColor = null; - unset($this->_tabColor); - - return $this; - } - - /** - * Tab color set? - * - * @return boolean - */ - public function isTabColorSet() - { - return ($this->_tabColor !== NULL); - } - - /** - * Copy worksheet (!= clone!) - * - * @return PHPExcel_Worksheet - */ - public function copy() { - $copied = clone $this; - - return $copied; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - foreach ($this as $key => $val) { - if ($key == '_parent') { - continue; - } - - if (is_object($val) || (is_array($val))) { - if ($key == '_cellCollection') { - $newCollection = clone $this->_cellCollection; - $newCollection->copyCellCollection($this); - $this->_cellCollection = $newCollection; - } elseif ($key == '_drawingCollection') { - $newCollection = clone $this->_drawingCollection; - $this->_drawingCollection = $newCollection; - } elseif (($key == '_autoFilter') && ($this->_autoFilter instanceof PHPExcel_Worksheet_AutoFilter)) { - $newAutoFilter = clone $this->_autoFilter; - $this->_autoFilter = $newAutoFilter; - $this->_autoFilter->setParent($this); - } else { - $this->{$key} = unserialize(serialize($val)); - } - } - } - } -/** - * Define the code name of the sheet - * - * @param null|string Same rule as Title minus space not allowed (but, like Excel, change silently space to underscore) - * @return objWorksheet - * @throws PHPExcel_Exception - */ - public function setCodeName($pValue=null){ - // Is this a 'rename' or not? - if ($this->getCodeName() == $pValue) { - return $this; - } - $pValue = str_replace(' ', '_', $pValue);//Excel does this automatically without flinching, we are doing the same - // Syntax check - // throw an exception if not valid - self::_checkSheetCodeName($pValue); - - // We use the same code that setTitle to find a valid codeName else not using a space (Excel don't like) but a '_' - - if ($this->getParent()) { - // Is there already such sheet name? - if ($this->getParent()->sheetCodeNameExists($pValue)) { - // Use name, but append with lowest possible integer - - if (PHPExcel_Shared_String::CountCharacters($pValue) > 29) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,29); - } - $i = 1; - while ($this->getParent()->sheetCodeNameExists($pValue . '_' . $i)) { - ++$i; - if ($i == 10) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 28) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,28); - } - } elseif ($i == 100) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 27) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,27); - } - } - } - - $pValue = $pValue . '_' . $i;// ok, we have a valid name - //codeName is'nt used in formula : no need to call for an update - //return $this->setTitle($altTitle,$updateFormulaCellReferences); - } - } - - $this->_codeName=$pValue; - return $this; - } - /** - * Return the code name of the sheet - * - * @return null|string - */ - public function getCodeName(){ - return $this->_codeName; - } - /** - * Sheet has a code name ? - * @return boolean - */ - public function hasCodeName(){ - return !(is_null($this->_codeName)); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter.php deleted file mode 100644 index d0fa8b6df..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter.php +++ /dev/null @@ -1,858 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_AutoFilter - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_AutoFilter -{ - /** - * Autofilter Worksheet - * - * @var PHPExcel_Worksheet - */ - private $_workSheet = NULL; - - - /** - * Autofilter Range - * - * @var string - */ - private $_range = ''; - - - /** - * Autofilter Column Ruleset - * - * @var array of PHPExcel_Worksheet_AutoFilter_Column - */ - private $_columns = array(); - - - /** - * Create a new PHPExcel_Worksheet_AutoFilter - * - * @param string $pRange Cell range (i.e. A1:E10) - * @param PHPExcel_Worksheet $pSheet - */ - public function __construct($pRange = '', PHPExcel_Worksheet $pSheet = NULL) - { - $this->_range = $pRange; - $this->_workSheet = $pSheet; - } - - /** - * Get AutoFilter Parent Worksheet - * - * @return PHPExcel_Worksheet - */ - public function getParent() { - return $this->_workSheet; - } - - /** - * Set AutoFilter Parent Worksheet - * - * @param PHPExcel_Worksheet $pSheet - * @return PHPExcel_Worksheet_AutoFilter - */ - public function setParent(PHPExcel_Worksheet $pSheet = NULL) { - $this->_workSheet = $pSheet; - - return $this; - } - - /** - * Get AutoFilter Range - * - * @return string - */ - public function getRange() { - return $this->_range; - } - - /** - * Set AutoFilter Range - * - * @param string $pRange Cell range (i.e. A1:E10) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function setRange($pRange = '') { - // Uppercase coordinate - $cellAddress = explode('!',strtoupper($pRange)); - if (count($cellAddress) > 1) { - list($worksheet,$pRange) = $cellAddress; - } - - if (strpos($pRange,':') !== FALSE) { - $this->_range = $pRange; - } elseif(empty($pRange)) { - $this->_range = ''; - } else { - throw new PHPExcel_Exception('Autofilter must be set on a range of cells.'); - } - - if (empty($pRange)) { - // Discard all column rules - $this->_columns = array(); - } else { - // Discard any column rules that are no longer valid within this range - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - foreach($this->_columns as $key => $value) { - $colIndex = PHPExcel_Cell::columnIndexFromString($key); - if (($rangeStart[0] > $colIndex) || ($rangeEnd[0] < $colIndex)) { - unset($this->_columns[$key]); - } - } - } - - return $this; - } - - /** - * Get all AutoFilter Columns - * - * @throws PHPExcel_Exception - * @return array of PHPExcel_Worksheet_AutoFilter_Column - */ - public function getColumns() { - return $this->_columns; - } - - /** - * Validate that the specified column is in the AutoFilter range - * - * @param string $column Column name (e.g. A) - * @throws PHPExcel_Exception - * @return integer The column offset within the autofilter range - */ - public function testColumnInRange($column) { - if (empty($this->_range)) { - throw new PHPExcel_Exception("No autofilter range is defined."); - } - - $columnIndex = PHPExcel_Cell::columnIndexFromString($column); - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - if (($rangeStart[0] > $columnIndex) || ($rangeEnd[0] < $columnIndex)) { - throw new PHPExcel_Exception("Column is outside of current autofilter range."); - } - - return $columnIndex - $rangeStart[0]; - } - - /** - * Get a specified AutoFilter Column Offset within the defined AutoFilter range - * - * @param string $pColumn Column name (e.g. A) - * @throws PHPExcel_Exception - * @return integer The offset of the specified column within the autofilter range - */ - public function getColumnOffset($pColumn) { - return $this->testColumnInRange($pColumn); - } - - /** - * Get a specified AutoFilter Column - * - * @param string $pColumn Column name (e.g. A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function getColumn($pColumn) { - $this->testColumnInRange($pColumn); - - if (!isset($this->_columns[$pColumn])) { - $this->_columns[$pColumn] = new PHPExcel_Worksheet_AutoFilter_Column($pColumn, $this); - } - - return $this->_columns[$pColumn]; - } - - /** - * Get a specified AutoFilter Column by it's offset - * - * @param integer $pColumnOffset Column offset within range (starting from 0) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function getColumnByOffset($pColumnOffset = 0) { - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - $pColumn = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] + $pColumnOffset - 1); - - return $this->getColumn($pColumn); - } - - /** - * Set AutoFilter - * - * @param PHPExcel_Worksheet_AutoFilter_Column|string $pColumn - * A simple string containing a Column ID like 'A' is permitted - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function setColumn($pColumn) - { - if ((is_string($pColumn)) && (!empty($pColumn))) { - $column = $pColumn; - } elseif(is_object($pColumn) && ($pColumn instanceof PHPExcel_Worksheet_AutoFilter_Column)) { - $column = $pColumn->getColumnIndex(); - } else { - throw new PHPExcel_Exception("Column is not within the autofilter range."); - } - $this->testColumnInRange($column); - - if (is_string($pColumn)) { - $this->_columns[$pColumn] = new PHPExcel_Worksheet_AutoFilter_Column($pColumn, $this); - } elseif(is_object($pColumn) && ($pColumn instanceof PHPExcel_Worksheet_AutoFilter_Column)) { - $pColumn->setParent($this); - $this->_columns[$column] = $pColumn; - } - ksort($this->_columns); - - return $this; - } - - /** - * Clear a specified AutoFilter Column - * - * @param string $pColumn Column name (e.g. A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function clearColumn($pColumn) { - $this->testColumnInRange($pColumn); - - if (isset($this->_columns[$pColumn])) { - unset($this->_columns[$pColumn]); - } - - return $this; - } - - /** - * Shift an AutoFilter Column Rule to a different column - * - * Note: This method bypasses validation of the destination column to ensure it is within this AutoFilter range. - * Nor does it verify whether any column rule already exists at $toColumn, but will simply overrideany existing value. - * Use with caution. - * - * @param string $fromColumn Column name (e.g. A) - * @param string $toColumn Column name (e.g. B) - * @return PHPExcel_Worksheet_AutoFilter - */ - public function shiftColumn($fromColumn=NULL,$toColumn=NULL) { - $fromColumn = strtoupper($fromColumn); - $toColumn = strtoupper($toColumn); - - if (($fromColumn !== NULL) && (isset($this->_columns[$fromColumn])) && ($toColumn !== NULL)) { - $this->_columns[$fromColumn]->setParent(); - $this->_columns[$fromColumn]->setColumnIndex($toColumn); - $this->_columns[$toColumn] = $this->_columns[$fromColumn]; - $this->_columns[$toColumn]->setParent($this); - unset($this->_columns[$fromColumn]); - - ksort($this->_columns); - } - - return $this; - } - - - /** - * Test if cell value is in the defined set of values - * - * @param mixed $cellValue - * @param mixed[] $dataSet - * @return boolean - */ - private static function _filterTestInSimpleDataSet($cellValue,$dataSet) - { - $dataSetValues = $dataSet['filterValues']; - $blanks = $dataSet['blanks']; - if (($cellValue == '') || ($cellValue === NULL)) { - return $blanks; - } - return in_array($cellValue,$dataSetValues); - } - - /** - * Test if cell value is in the defined set of Excel date values - * - * @param mixed $cellValue - * @param mixed[] $dataSet - * @return boolean - */ - private static function _filterTestInDateGroupSet($cellValue,$dataSet) - { - $dateSet = $dataSet['filterValues']; - $blanks = $dataSet['blanks']; - if (($cellValue == '') || ($cellValue === NULL)) { - return $blanks; - } - - if (is_numeric($cellValue)) { - $dateValue = PHPExcel_Shared_Date::ExcelToPHP($cellValue); - if ($cellValue < 1) { - // Just the time part - $dtVal = date('His',$dateValue); - $dateSet = $dateSet['time']; - } elseif($cellValue == floor($cellValue)) { - // Just the date part - $dtVal = date('Ymd',$dateValue); - $dateSet = $dateSet['date']; - } else { - // date and time parts - $dtVal = date('YmdHis',$dateValue); - $dateSet = $dateSet['dateTime']; - } - foreach($dateSet as $dateValue) { - // Use of substr to extract value at the appropriate group level - if (substr($dtVal,0,strlen($dateValue)) == $dateValue) - return TRUE; - } - } - - return FALSE; - } - - /** - * Test if cell value is within a set of values defined by a ruleset - * - * @param mixed $cellValue - * @param mixed[] $ruleSet - * @return boolean - */ - private static function _filterTestInCustomDataSet($cellValue, $ruleSet) - { - $dataSet = $ruleSet['filterRules']; - $join = $ruleSet['join']; - $customRuleForBlanks = isset($ruleSet['customRuleForBlanks']) ? $ruleSet['customRuleForBlanks'] : FALSE; - - if (!$customRuleForBlanks) { - // Blank cells are always ignored, so return a FALSE - if (($cellValue == '') || ($cellValue === NULL)) { - return FALSE; - } - } - $returnVal = ($join == PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND); - foreach($dataSet as $rule) { - if (is_numeric($rule['value'])) { - // Numeric values are tested using the appropriate operator - switch ($rule['operator']) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL : - $retVal = ($cellValue == $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_NOTEQUAL : - $retVal = ($cellValue != $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHAN : - $retVal = ($cellValue > $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL : - $retVal = ($cellValue >= $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN : - $retVal = ($cellValue < $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL : - $retVal = ($cellValue <= $rule['value']); - break; - } - } elseif($rule['value'] == '') { - switch ($rule['operator']) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL : - $retVal = (($cellValue == '') || ($cellValue === NULL)); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_NOTEQUAL : - $retVal = (($cellValue != '') && ($cellValue !== NULL)); - break; - default : - $retVal = TRUE; - break; - } - } else { - // String values are always tested for equality, factoring in for wildcards (hence a regexp test) - $retVal = preg_match('/^'.$rule['value'].'$/i',$cellValue); - } - // If there are multiple conditions, then we need to test both using the appropriate join operator - switch ($join) { - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR : - $returnVal = $returnVal || $retVal; - // Break as soon as we have a TRUE match for OR joins, - // to avoid unnecessary additional code execution - if ($returnVal) - return $returnVal; - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND : - $returnVal = $returnVal && $retVal; - break; - } - } - - return $returnVal; - } - - /** - * Test if cell date value is matches a set of values defined by a set of months - * - * @param mixed $cellValue - * @param mixed[] $monthSet - * @return boolean - */ - private static function _filterTestInPeriodDateSet($cellValue, $monthSet) - { - // Blank cells are always ignored, so return a FALSE - if (($cellValue == '') || ($cellValue === NULL)) { - return FALSE; - } - - if (is_numeric($cellValue)) { - $dateValue = date('m',PHPExcel_Shared_Date::ExcelToPHP($cellValue)); - if (in_array($dateValue,$monthSet)) { - return TRUE; - } - } - - return FALSE; - } - - /** - * Search/Replace arrays to convert Excel wildcard syntax to a regexp syntax for preg_matching - * - * @var array - */ - private static $_fromReplace = array('\*', '\?', '~~', '~.*', '~.?'); - private static $_toReplace = array('.*', '.', '~', '\*', '\?'); - - - /** - * Convert a dynamic rule daterange to a custom filter range expression for ease of calculation - * - * @param string $dynamicRuleType - * @param PHPExcel_Worksheet_AutoFilter_Column &$filterColumn - * @return mixed[] - */ - private function _dynamicFilterDateRange($dynamicRuleType, &$filterColumn) - { - $rDateType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC); - $val = $maxVal = NULL; - - $ruleValues = array(); - $baseDate = PHPExcel_Calculation_DateTime::DATENOW(); - // Calculate start/end dates for the required date range based on current date - switch ($dynamicRuleType) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK : - $baseDate = strtotime('-7 days',$baseDate); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK : - $baseDate = strtotime('-7 days',$baseDate); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH : - $baseDate = strtotime('-1 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH : - $baseDate = strtotime('+1 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER : - $baseDate = strtotime('-3 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER : - $baseDate = strtotime('+3 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR : - $baseDate = strtotime('-1 year',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR : - $baseDate = strtotime('+1 year',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - } - - switch ($dynamicRuleType) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TODAY : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW : - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(strtotime('+1 day',$baseDate)); - $val = (int) PHPExcel_Shared_Date::PHPToExcel($baseDate); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE : - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(strtotime('+1 day',$baseDate)); - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,1,date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR : - $maxVal = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,31,12,date('Y',$baseDate))); - ++$maxVal; - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,1,date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER : - $thisMonth = date('m',$baseDate); - $thisQuarter = floor(--$thisMonth / 3); - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(gmmktime(0,0,0,date('t',$baseDate),(1+$thisQuarter)*3,date('Y',$baseDate))); - ++$maxVal; - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,1+$thisQuarter*3,date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH : - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(gmmktime(0,0,0,date('t',$baseDate),date('m',$baseDate),date('Y',$baseDate))); - ++$maxVal; - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK : - $dayOfWeek = date('w',$baseDate); - $val = (int) PHPExcel_Shared_Date::PHPToExcel($baseDate) - $dayOfWeek; - $maxVal = $val + 7; - break; - } - - switch ($dynamicRuleType) { - // Adjust Today dates for Yesterday and Tomorrow - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY : - --$maxVal; - --$val; - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW : - ++$maxVal; - ++$val; - break; - } - - // Set the filter column rule attributes ready for writing - $filterColumn->setAttributes(array( 'val' => $val, - 'maxVal' => $maxVal - ) - ); - - // Set the rules for identifying rows for hide/show - $ruleValues[] = array( 'operator' => PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL, - 'value' => $val - ); - $ruleValues[] = array( 'operator' => PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN, - 'value' => $maxVal - ); - PHPExcel_Calculation_Functions::setReturnDateType($rDateType); - - return array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND - ) - ); - } - - private function _calculateTopTenValue($columnID,$startRow,$endRow,$ruleType,$ruleValue) { - $range = $columnID.$startRow.':'.$columnID.$endRow; - $dataValues = PHPExcel_Calculation_Functions::flattenArray( - $this->_workSheet->rangeToArray($range,NULL,TRUE,FALSE) - ); - - $dataValues = array_filter($dataValues); - if ($ruleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) { - rsort($dataValues); - } else { - sort($dataValues); - } - - return array_pop(array_slice($dataValues,0,$ruleValue)); - } - - /** - * Apply the AutoFilter rules to the AutoFilter Range - * - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function showHideRows() - { - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - - // The heading row should always be visible -// echo 'AutoFilter Heading Row ',$rangeStart[1],' is always SHOWN',PHP_EOL; - $this->_workSheet->getRowDimension($rangeStart[1])->setVisible(TRUE); - - $columnFilterTests = array(); - foreach($this->_columns as $columnID => $filterColumn) { - $rules = $filterColumn->getRules(); - switch ($filterColumn->getFilterType()) { - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER : - $ruleValues = array(); - // Build a list of the filter value selections - foreach($rules as $rule) { - $ruleType = $rule->getRuleType(); - $ruleValues[] = $rule->getValue(); - } - // Test if we want to include blanks in our filter criteria - $blanks = FALSE; - $ruleDataSet = array_filter($ruleValues); - if (count($ruleValues) != count($ruleDataSet)) - $blanks = TRUE; - if ($ruleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER) { - // Filter on absolute values - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInSimpleDataSet', - 'arguments' => array( 'filterValues' => $ruleDataSet, - 'blanks' => $blanks - ) - ); - } else { - // Filter on date group values - $arguments = array(); - foreach($ruleDataSet as $ruleValue) { - $date = $time = ''; - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR] !== '')) - $date .= sprintf('%04d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH] != '')) - $date .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY] !== '')) - $date .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR] !== '')) - $time .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE] !== '')) - $time .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND] !== '')) - $time .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND]); - $dateTime = $date . $time; - $arguments['date'][] = $date; - $arguments['time'][] = $time; - $arguments['dateTime'][] = $dateTime; - } - // Remove empty elements - $arguments['date'] = array_filter($arguments['date']); - $arguments['time'] = array_filter($arguments['time']); - $arguments['dateTime'] = array_filter($arguments['dateTime']); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInDateGroupSet', - 'arguments' => array( 'filterValues' => $arguments, - 'blanks' => $blanks - ) - ); - } - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER : - $customRuleForBlanks = FALSE; - $ruleValues = array(); - // Build a list of the filter value selections - foreach($rules as $rule) { - $ruleType = $rule->getRuleType(); - $ruleValue = $rule->getValue(); - if (!is_numeric($ruleValue)) { - // Convert to a regexp allowing for regexp reserved characters, wildcards and escaped wildcards - $ruleValue = preg_quote($ruleValue); - $ruleValue = str_replace(self::$_fromReplace,self::$_toReplace,$ruleValue); - if (trim($ruleValue) == '') { - $customRuleForBlanks = TRUE; - $ruleValue = trim($ruleValue); - } - } - $ruleValues[] = array( 'operator' => $rule->getOperator(), - 'value' => $ruleValue - ); - } - $join = $filterColumn->getJoin(); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => $join, - 'customRuleForBlanks' => $customRuleForBlanks - ) - ); - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER : - $ruleValues = array(); - foreach($rules as $rule) { - // We should only ever have one Dynamic Filter Rule anyway - $dynamicRuleType = $rule->getGrouping(); - if (($dynamicRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE) || - ($dynamicRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE)) { - // Number (Average) based - // Calculate the average - $averageFormula = '=AVERAGE('.$columnID.($rangeStart[1]+1).':'.$columnID.$rangeEnd[1].')'; - $average = PHPExcel_Calculation::getInstance()->calculateFormula($averageFormula,NULL,$this->_workSheet->getCell('A1')); - // Set above/below rule based on greaterThan or LessTan - $operator = ($dynamicRuleType === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHAN - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN; - $ruleValues[] = array( 'operator' => $operator, - 'value' => $average - ); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR - ) - ); - } else { - // Date based - if ($dynamicRuleType{0} == 'M' || $dynamicRuleType{0} == 'Q') { - // Month or Quarter - sscanf($dynamicRuleType,'%[A-Z]%d', $periodType, $period); - if ($periodType == 'M') { - $ruleValues = array($period); - } else { - --$period; - $periodEnd = (1+$period)*3; - $periodStart = 1+$period*3; - $ruleValues = range($periodStart,periodEnd); - } - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInPeriodDateSet', - 'arguments' => $ruleValues - ); - $filterColumn->setAttributes(array()); - } else { - // Date Range - $columnFilterTests[$columnID] = $this->_dynamicFilterDateRange($dynamicRuleType, $filterColumn); - break; - } - } - } - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER : - $ruleValues = array(); - $dataRowCount = $rangeEnd[1] - $rangeStart[1]; - foreach($rules as $rule) { - // We should only ever have one Dynamic Filter Rule anyway - $toptenRuleType = $rule->getGrouping(); - $ruleValue = $rule->getValue(); - $ruleOperator = $rule->getOperator(); - } - if ($ruleOperator === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT) { - $ruleValue = floor($ruleValue * ($dataRowCount / 100)); - } - if ($ruleValue < 1) $ruleValue = 1; - if ($ruleValue > 500) $ruleValue = 500; - - $maxVal = $this->_calculateTopTenValue($columnID,$rangeStart[1]+1,$rangeEnd[1],$toptenRuleType,$ruleValue); - - $operator = ($toptenRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL; - $ruleValues[] = array( 'operator' => $operator, - 'value' => $maxVal - ); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR - ) - ); - $filterColumn->setAttributes( - array('maxVal' => $maxVal) - ); - break; - } - } - -// echo 'Column Filter Test CRITERIA',PHP_EOL; -// var_dump($columnFilterTests); -// - // Execute the column tests for each row in the autoFilter range to determine show/hide, - for ($row = $rangeStart[1]+1; $row <= $rangeEnd[1]; ++$row) { -// echo 'Testing Row = ',$row,PHP_EOL; - $result = TRUE; - foreach($columnFilterTests as $columnID => $columnFilterTest) { -// echo 'Testing cell ',$columnID.$row,PHP_EOL; - $cellValue = $this->_workSheet->getCell($columnID.$row)->getCalculatedValue(); -// echo 'Value is ',$cellValue,PHP_EOL; - // Execute the filter test - $result = $result && - call_user_func_array( - array('PHPExcel_Worksheet_AutoFilter',$columnFilterTest['method']), - array( - $cellValue, - $columnFilterTest['arguments'] - ) - ); -// echo (($result) ? 'VALID' : 'INVALID'),PHP_EOL; - // If filter test has resulted in FALSE, exit the loop straightaway rather than running any more tests - if (!$result) - break; - } - // Set show/hide for the row based on the result of the autoFilter result -// echo (($result) ? 'SHOW' : 'HIDE'),PHP_EOL; - $this->_workSheet->getRowDimension($row)->setVisible($result); - } - - return $this; - } - - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - if ($key == '_workSheet') { - // Detach from worksheet - $this->{$key} = NULL; - } else { - $this->{$key} = clone $value; - } - } elseif ((is_array($value)) && ($key == '_columns')) { - // The columns array of PHPExcel_Worksheet_AutoFilter objects - $this->{$key} = array(); - foreach ($value as $k => $v) { - $this->{$key}[$k] = clone $v; - // attach the new cloned Column to this new cloned Autofilter object - $this->{$key}[$k]->setParent($this); - } - } else { - $this->{$key} = $value; - } - } - } - - /** - * toString method replicates previous behavior by returning the range if object is - * referenced as a property of its parent. - */ - public function __toString() { - return (string) $this->_range; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column.php deleted file mode 100644 index 1a6fb4eb8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column.php +++ /dev/null @@ -1,394 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_AutoFilter_Column - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_AutoFilter_Column -{ - const AUTOFILTER_FILTERTYPE_FILTER = 'filters'; - const AUTOFILTER_FILTERTYPE_CUSTOMFILTER = 'customFilters'; - // Supports no more than 2 rules, with an And/Or join criteria - // if more than 1 rule is defined - const AUTOFILTER_FILTERTYPE_DYNAMICFILTER = 'dynamicFilter'; - // Even though the filter rule is constant, the filtered data can vary - // e.g. filtered by date = TODAY - const AUTOFILTER_FILTERTYPE_TOPTENFILTER = 'top10'; - - /** - * Types of autofilter rules - * - * @var string[] - */ - private static $_filterTypes = array( - // Currently we're not handling - // colorFilter - // extLst - // iconFilter - self::AUTOFILTER_FILTERTYPE_FILTER, - self::AUTOFILTER_FILTERTYPE_CUSTOMFILTER, - self::AUTOFILTER_FILTERTYPE_DYNAMICFILTER, - self::AUTOFILTER_FILTERTYPE_TOPTENFILTER, - ); - - /* Multiple Rule Connections */ - const AUTOFILTER_COLUMN_JOIN_AND = 'and'; - const AUTOFILTER_COLUMN_JOIN_OR = 'or'; - - /** - * Join options for autofilter rules - * - * @var string[] - */ - private static $_ruleJoins = array( - self::AUTOFILTER_COLUMN_JOIN_AND, - self::AUTOFILTER_COLUMN_JOIN_OR, - ); - - /** - * Autofilter - * - * @var PHPExcel_Worksheet_AutoFilter - */ - private $_parent = NULL; - - - /** - * Autofilter Column Index - * - * @var string - */ - private $_columnIndex = ''; - - - /** - * Autofilter Column Filter Type - * - * @var string - */ - private $_filterType = self::AUTOFILTER_FILTERTYPE_FILTER; - - - /** - * Autofilter Multiple Rules And/Or - * - * @var string - */ - private $_join = self::AUTOFILTER_COLUMN_JOIN_OR; - - - /** - * Autofilter Column Rules - * - * @var array of PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - private $_ruleset = array(); - - - /** - * Autofilter Column Dynamic Attributes - * - * @var array of mixed - */ - private $_attributes = array(); - - - /** - * Create a new PHPExcel_Worksheet_AutoFilter_Column - * - * @param string $pColumn Column (e.g. A) - * @param PHPExcel_Worksheet_AutoFilter $pParent Autofilter for this column - */ - public function __construct($pColumn, PHPExcel_Worksheet_AutoFilter $pParent = NULL) - { - $this->_columnIndex = $pColumn; - $this->_parent = $pParent; - } - - /** - * Get AutoFilter Column Index - * - * @return string - */ - public function getColumnIndex() { - return $this->_columnIndex; - } - - /** - * Set AutoFilter Column Index - * - * @param string $pColumn Column (e.g. A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setColumnIndex($pColumn) { - // Uppercase coordinate - $pColumn = strtoupper($pColumn); - if ($this->_parent !== NULL) { - $this->_parent->testColumnInRange($pColumn); - } - - $this->_columnIndex = $pColumn; - - return $this; - } - - /** - * Get this Column's AutoFilter Parent - * - * @return PHPExcel_Worksheet_AutoFilter - */ - public function getParent() { - return $this->_parent; - } - - /** - * Set this Column's AutoFilter Parent - * - * @param PHPExcel_Worksheet_AutoFilter - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setParent(PHPExcel_Worksheet_AutoFilter $pParent = NULL) { - $this->_parent = $pParent; - - return $this; - } - - /** - * Get AutoFilter Type - * - * @return string - */ - public function getFilterType() { - return $this->_filterType; - } - - /** - * Set AutoFilter Type - * - * @param string $pFilterType - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setFilterType($pFilterType = self::AUTOFILTER_FILTERTYPE_FILTER) { - if (!in_array($pFilterType,self::$_filterTypes)) { - throw new PHPExcel_Exception('Invalid filter type for column AutoFilter.'); - } - - $this->_filterType = $pFilterType; - - return $this; - } - - /** - * Get AutoFilter Multiple Rules And/Or Join - * - * @return string - */ - public function getJoin() { - return $this->_join; - } - - /** - * Set AutoFilter Multiple Rules And/Or - * - * @param string $pJoin And/Or - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setJoin($pJoin = self::AUTOFILTER_COLUMN_JOIN_OR) { - // Lowercase And/Or - $pJoin = strtolower($pJoin); - if (!in_array($pJoin,self::$_ruleJoins)) { - throw new PHPExcel_Exception('Invalid rule connection for column AutoFilter.'); - } - - $this->_join = $pJoin; - - return $this; - } - - /** - * Set AutoFilter Attributes - * - * @param string[] $pAttributes - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setAttributes($pAttributes = array()) { - $this->_attributes = $pAttributes; - - return $this; - } - - /** - * Set An AutoFilter Attribute - * - * @param string $pName Attribute Name - * @param string $pValue Attribute Value - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setAttribute($pName, $pValue) { - $this->_attributes[$pName] = $pValue; - - return $this; - } - - /** - * Get AutoFilter Column Attributes - * - * @return string - */ - public function getAttributes() { - return $this->_attributes; - } - - /** - * Get specific AutoFilter Column Attribute - * - * @param string $pName Attribute Name - * @return string - */ - public function getAttribute($pName) { - if (isset($this->_attributes[$pName])) - return $this->_attributes[$pName]; - return NULL; - } - - /** - * Get all AutoFilter Column Rules - * - * @throws PHPExcel_Exception - * @return array of PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function getRules() { - return $this->_ruleset; - } - - /** - * Get a specified AutoFilter Column Rule - * - * @param integer $pIndex Rule index in the ruleset array - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function getRule($pIndex) { - if (!isset($this->_ruleset[$pIndex])) { - $this->_ruleset[$pIndex] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this); - } - return $this->_ruleset[$pIndex]; - } - - /** - * Create a new AutoFilter Column Rule in the ruleset - * - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function createRule() { - $this->_ruleset[] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this); - - return end($this->_ruleset); - } - - /** - * Add a new AutoFilter Column Rule to the ruleset - * - * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule - * @param boolean $returnRule Flag indicating whether the rule object or the column object should be returned - * @return PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule=TRUE) { - $pRule->setParent($this); - $this->_ruleset[] = $pRule; - - return ($returnRule) ? $pRule : $this; - } - - /** - * Delete a specified AutoFilter Column Rule - * If the number of rules is reduced to 1, then we reset And/Or logic to Or - * - * @param integer $pIndex Rule index in the ruleset array - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function deleteRule($pIndex) { - if (isset($this->_ruleset[$pIndex])) { - unset($this->_ruleset[$pIndex]); - // If we've just deleted down to a single rule, then reset And/Or joining to Or - if (count($this->_ruleset) <= 1) { - $this->setJoin(self::AUTOFILTER_COLUMN_JOIN_OR); - } - } - - return $this; - } - - /** - * Delete all AutoFilter Column Rules - * - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function clearRules() { - $this->_ruleset = array(); - $this->setJoin(self::AUTOFILTER_COLUMN_JOIN_OR); - - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - if ($key == '_parent') { - // Detach from autofilter parent - $this->$key = NULL; - } else { - $this->$key = clone $value; - } - } elseif ((is_array($value)) && ($key == '_ruleset')) { - // The columns array of PHPExcel_Worksheet_AutoFilter objects - $this->$key = array(); - foreach ($value as $k => $v) { - $this->$key[$k] = clone $v; - // attach the new cloned Rule to this new cloned Autofilter Cloned object - $this->$key[$k]->setParent($this); - } - } else { - $this->$key = $value; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/Rule.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/Rule.php deleted file mode 100644 index 4a14d7d7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/Rule.php +++ /dev/null @@ -1,464 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_AutoFilter_Column_Rule - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_AutoFilter_Column_Rule -{ - const AUTOFILTER_RULETYPE_FILTER = 'filter'; - const AUTOFILTER_RULETYPE_DATEGROUP = 'dateGroupItem'; - const AUTOFILTER_RULETYPE_CUSTOMFILTER = 'customFilter'; - const AUTOFILTER_RULETYPE_DYNAMICFILTER = 'dynamicFilter'; - const AUTOFILTER_RULETYPE_TOPTENFILTER = 'top10Filter'; - - private static $_ruleTypes = array( - // Currently we're not handling - // colorFilter - // extLst - // iconFilter - self::AUTOFILTER_RULETYPE_FILTER, - self::AUTOFILTER_RULETYPE_DATEGROUP, - self::AUTOFILTER_RULETYPE_CUSTOMFILTER, - self::AUTOFILTER_RULETYPE_DYNAMICFILTER, - self::AUTOFILTER_RULETYPE_TOPTENFILTER, - ); - - const AUTOFILTER_RULETYPE_DATEGROUP_YEAR = 'year'; - const AUTOFILTER_RULETYPE_DATEGROUP_MONTH = 'month'; - const AUTOFILTER_RULETYPE_DATEGROUP_DAY = 'day'; - const AUTOFILTER_RULETYPE_DATEGROUP_HOUR = 'hour'; - const AUTOFILTER_RULETYPE_DATEGROUP_MINUTE = 'minute'; - const AUTOFILTER_RULETYPE_DATEGROUP_SECOND = 'second'; - - private static $_dateTimeGroups = array( - self::AUTOFILTER_RULETYPE_DATEGROUP_YEAR, - self::AUTOFILTER_RULETYPE_DATEGROUP_MONTH, - self::AUTOFILTER_RULETYPE_DATEGROUP_DAY, - self::AUTOFILTER_RULETYPE_DATEGROUP_HOUR, - self::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE, - self::AUTOFILTER_RULETYPE_DATEGROUP_SECOND, - ); - - const AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY = 'yesterday'; - const AUTOFILTER_RULETYPE_DYNAMIC_TODAY = 'today'; - const AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW = 'tomorrow'; - const AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE = 'yearToDate'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR = 'thisYear'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER = 'thisQuarter'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH = 'thisMonth'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK = 'thisWeek'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR = 'lastYear'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER = 'lastQuarter'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH = 'lastMonth'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK = 'lastWeek'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR = 'nextYear'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER = 'nextQuarter'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH = 'nextMonth'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK = 'nextWeek'; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1 = 'M1'; - const AUTOFILTER_RULETYPE_DYNAMIC_JANUARY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2 = 'M2'; - const AUTOFILTER_RULETYPE_DYNAMIC_FEBRUARY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3 = 'M3'; - const AUTOFILTER_RULETYPE_DYNAMIC_MARCH = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4 = 'M4'; - const AUTOFILTER_RULETYPE_DYNAMIC_APRIL = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5 = 'M5'; - const AUTOFILTER_RULETYPE_DYNAMIC_MAY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6 = 'M6'; - const AUTOFILTER_RULETYPE_DYNAMIC_JUNE = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7 = 'M7'; - const AUTOFILTER_RULETYPE_DYNAMIC_JULY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8 = 'M8'; - const AUTOFILTER_RULETYPE_DYNAMIC_AUGUST = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9 = 'M9'; - const AUTOFILTER_RULETYPE_DYNAMIC_SEPTEMBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10 = 'M10'; - const AUTOFILTER_RULETYPE_DYNAMIC_OCTOBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11 = 'M11'; - const AUTOFILTER_RULETYPE_DYNAMIC_NOVEMBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12 = 'M12'; - const AUTOFILTER_RULETYPE_DYNAMIC_DECEMBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1 = 'Q1'; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2 = 'Q2'; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3 = 'Q3'; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4 = 'Q4'; - const AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE = 'aboveAverage'; - const AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE = 'belowAverage'; - - private static $_dynamicTypes = array( - self::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY, - self::AUTOFILTER_RULETYPE_DYNAMIC_TODAY, - self::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW, - self::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4, - self::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE, - self::AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE, - ); - - /* - * The only valid filter rule operators for filter and customFilter types are: - * <xsd:enumeration value="equal"/> - * <xsd:enumeration value="lessThan"/> - * <xsd:enumeration value="lessThanOrEqual"/> - * <xsd:enumeration value="notEqual"/> - * <xsd:enumeration value="greaterThanOrEqual"/> - * <xsd:enumeration value="greaterThan"/> - */ - const AUTOFILTER_COLUMN_RULE_EQUAL = 'equal'; - const AUTOFILTER_COLUMN_RULE_NOTEQUAL = 'notEqual'; - const AUTOFILTER_COLUMN_RULE_GREATERTHAN = 'greaterThan'; - const AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL = 'greaterThanOrEqual'; - const AUTOFILTER_COLUMN_RULE_LESSTHAN = 'lessThan'; - const AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL = 'lessThanOrEqual'; - - private static $_operators = array( - self::AUTOFILTER_COLUMN_RULE_EQUAL, - self::AUTOFILTER_COLUMN_RULE_NOTEQUAL, - self::AUTOFILTER_COLUMN_RULE_GREATERTHAN, - self::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL, - self::AUTOFILTER_COLUMN_RULE_LESSTHAN, - self::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL, - ); - - const AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE = 'byValue'; - const AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT = 'byPercent'; - - private static $_topTenValue = array( - self::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE, - self::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT, - ); - - const AUTOFILTER_COLUMN_RULE_TOPTEN_TOP = 'top'; - const AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM = 'bottom'; - - private static $_topTenType = array( - self::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP, - self::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM, - ); - - - /* Rule Operators (Numeric, Boolean etc) */ -// const AUTOFILTER_COLUMN_RULE_BETWEEN = 'between'; // greaterThanOrEqual 1 && lessThanOrEqual 2 - /* Rule Operators (Numeric Special) which are translated to standard numeric operators with calculated values */ -// const AUTOFILTER_COLUMN_RULE_TOPTEN = 'topTen'; // greaterThan calculated value -// const AUTOFILTER_COLUMN_RULE_TOPTENPERCENT = 'topTenPercent'; // greaterThan calculated value -// const AUTOFILTER_COLUMN_RULE_ABOVEAVERAGE = 'aboveAverage'; // Value is calculated as the average -// const AUTOFILTER_COLUMN_RULE_BELOWAVERAGE = 'belowAverage'; // Value is calculated as the average - /* Rule Operators (String) which are set as wild-carded values */ -// const AUTOFILTER_COLUMN_RULE_BEGINSWITH = 'beginsWith'; // A* -// const AUTOFILTER_COLUMN_RULE_ENDSWITH = 'endsWith'; // *Z -// const AUTOFILTER_COLUMN_RULE_CONTAINS = 'contains'; // *B* -// const AUTOFILTER_COLUMN_RULE_DOESNTCONTAIN = 'notEqual'; // notEqual *B* - /* Rule Operators (Date Special) which are translated to standard numeric operators with calculated values */ -// const AUTOFILTER_COLUMN_RULE_BEFORE = 'lessThan'; -// const AUTOFILTER_COLUMN_RULE_AFTER = 'greaterThan'; -// const AUTOFILTER_COLUMN_RULE_YESTERDAY = 'yesterday'; -// const AUTOFILTER_COLUMN_RULE_TODAY = 'today'; -// const AUTOFILTER_COLUMN_RULE_TOMORROW = 'tomorrow'; -// const AUTOFILTER_COLUMN_RULE_LASTWEEK = 'lastWeek'; -// const AUTOFILTER_COLUMN_RULE_THISWEEK = 'thisWeek'; -// const AUTOFILTER_COLUMN_RULE_NEXTWEEK = 'nextWeek'; -// const AUTOFILTER_COLUMN_RULE_LASTMONTH = 'lastMonth'; -// const AUTOFILTER_COLUMN_RULE_THISMONTH = 'thisMonth'; -// const AUTOFILTER_COLUMN_RULE_NEXTMONTH = 'nextMonth'; -// const AUTOFILTER_COLUMN_RULE_LASTQUARTER = 'lastQuarter'; -// const AUTOFILTER_COLUMN_RULE_THISQUARTER = 'thisQuarter'; -// const AUTOFILTER_COLUMN_RULE_NEXTQUARTER = 'nextQuarter'; -// const AUTOFILTER_COLUMN_RULE_LASTYEAR = 'lastYear'; -// const AUTOFILTER_COLUMN_RULE_THISYEAR = 'thisYear'; -// const AUTOFILTER_COLUMN_RULE_NEXTYEAR = 'nextYear'; -// const AUTOFILTER_COLUMN_RULE_YEARTODATE = 'yearToDate'; // <dynamicFilter val="40909" type="yearToDate" maxVal="41113"/> -// const AUTOFILTER_COLUMN_RULE_ALLDATESINMONTH = 'allDatesInMonth'; // <dynamicFilter type="M2"/> for Month/February -// const AUTOFILTER_COLUMN_RULE_ALLDATESINQUARTER = 'allDatesInQuarter'; // <dynamicFilter type="Q2"/> for Quarter 2 - - /** - * Autofilter Column - * - * @var PHPExcel_Worksheet_AutoFilter_Column - */ - private $_parent = NULL; - - - /** - * Autofilter Rule Type - * - * @var string - */ - private $_ruleType = self::AUTOFILTER_RULETYPE_FILTER; - - - /** - * Autofilter Rule Value - * - * @var string - */ - private $_value = ''; - - /** - * Autofilter Rule Operator - * - * @var string - */ - private $_operator = ''; - - /** - * DateTimeGrouping Group Value - * - * @var string - */ - private $_grouping = ''; - - - /** - * Create a new PHPExcel_Worksheet_AutoFilter_Column_Rule - * - * @param PHPExcel_Worksheet_AutoFilter_Column $pParent - */ - public function __construct(PHPExcel_Worksheet_AutoFilter_Column $pParent = NULL) - { - $this->_parent = $pParent; - } - - /** - * Get AutoFilter Rule Type - * - * @return string - */ - public function getRuleType() { - return $this->_ruleType; - } - - /** - * Set AutoFilter Rule Type - * - * @param string $pRuleType - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setRuleType($pRuleType = self::AUTOFILTER_RULETYPE_FILTER) { - if (!in_array($pRuleType,self::$_ruleTypes)) { - throw new PHPExcel_Exception('Invalid rule type for column AutoFilter Rule.'); - } - - $this->_ruleType = $pRuleType; - - return $this; - } - - /** - * Get AutoFilter Rule Value - * - * @return string - */ - public function getValue() { - return $this->_value; - } - - /** - * Set AutoFilter Rule Value - * - * @param string|string[] $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setValue($pValue = '') { - if (is_array($pValue)) { - $grouping = -1; - foreach($pValue as $key => $value) { - // Validate array entries - if (!in_array($key,self::$_dateTimeGroups)) { - // Remove any invalid entries from the value array - unset($pValue[$key]); - } else { - // Work out what the dateTime grouping will be - $grouping = max($grouping,array_search($key,self::$_dateTimeGroups)); - } - } - if (count($pValue) == 0) { - throw new PHPExcel_Exception('Invalid rule value for column AutoFilter Rule.'); - } - // Set the dateTime grouping that we've anticipated - $this->setGrouping(self::$_dateTimeGroups[$grouping]); - } - $this->_value = $pValue; - - return $this; - } - - /** - * Get AutoFilter Rule Operator - * - * @return string - */ - public function getOperator() { - return $this->_operator; - } - - /** - * Set AutoFilter Rule Operator - * - * @param string $pOperator - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setOperator($pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL) { - if (empty($pOperator)) - $pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL; - if ((!in_array($pOperator,self::$_operators)) && - (!in_array($pOperator,self::$_topTenValue))) { - throw new PHPExcel_Exception('Invalid operator for column AutoFilter Rule.'); - } - $this->_operator = $pOperator; - - return $this; - } - - /** - * Get AutoFilter Rule Grouping - * - * @return string - */ - public function getGrouping() { - return $this->_grouping; - } - - /** - * Set AutoFilter Rule Grouping - * - * @param string $pGrouping - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setGrouping($pGrouping = NULL) { - if (($pGrouping !== NULL) && - (!in_array($pGrouping,self::$_dateTimeGroups)) && - (!in_array($pGrouping,self::$_dynamicTypes)) && - (!in_array($pGrouping,self::$_topTenType))) { - throw new PHPExcel_Exception('Invalid rule type for column AutoFilter Rule.'); - } - - $this->_grouping = $pGrouping; - - return $this; - } - - /** - * Set AutoFilter Rule - * - * @param string $pOperator - * @param string|string[] $pValue - * @param string $pGrouping - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setRule($pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL, $pValue = '', $pGrouping = NULL) { - $this->setOperator($pOperator); - $this->setValue($pValue); - // Only set grouping if it's been passed in as a user-supplied argument, - // otherwise we're calculating it when we setValue() and don't want to overwrite that - // If the user supplies an argumnet for grouping, then on their own head be it - if ($pGrouping !== NULL) - $this->setGrouping($pGrouping); - - return $this; - } - - /** - * Get this Rule's AutoFilter Column Parent - * - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function getParent() { - return $this->_parent; - } - - /** - * Set this Rule's AutoFilter Column Parent - * - * @param PHPExcel_Worksheet_AutoFilter_Column - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setParent(PHPExcel_Worksheet_AutoFilter_Column $pParent = NULL) { - $this->_parent = $pParent; - - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - if ($key == '_parent') { - // Detach from autofilter column parent - $this->$key = NULL; - } else { - $this->$key = clone $value; - } - } else { - $this->$key = $value; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/AutoFilter/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/BaseDrawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/BaseDrawing.php deleted file mode 100644 index 5a760fcad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/BaseDrawing.php +++ /dev/null @@ -1,489 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_BaseDrawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable -{ - /** - * Image counter - * - * @var int - */ - private static $_imageCounter = 0; - - /** - * Image index - * - * @var int - */ - private $_imageIndex = 0; - - /** - * Name - * - * @var string - */ - protected $_name; - - /** - * Description - * - * @var string - */ - protected $_description; - - /** - * Worksheet - * - * @var PHPExcel_Worksheet - */ - protected $_worksheet; - - /** - * Coordinates - * - * @var string - */ - protected $_coordinates; - - /** - * Offset X - * - * @var int - */ - protected $_offsetX; - - /** - * Offset Y - * - * @var int - */ - protected $_offsetY; - - /** - * Width - * - * @var int - */ - protected $_width; - - /** - * Height - * - * @var int - */ - protected $_height; - - /** - * Proportional resize - * - * @var boolean - */ - protected $_resizeProportional; - - /** - * Rotation - * - * @var int - */ - protected $_rotation; - - /** - * Shadow - * - * @var PHPExcel_Worksheet_Drawing_Shadow - */ - protected $_shadow; - - /** - * Create a new PHPExcel_Worksheet_BaseDrawing - */ - public function __construct() - { - // Initialise values - $this->_name = ''; - $this->_description = ''; - $this->_worksheet = null; - $this->_coordinates = 'A1'; - $this->_offsetX = 0; - $this->_offsetY = 0; - $this->_width = 0; - $this->_height = 0; - $this->_resizeProportional = true; - $this->_rotation = 0; - $this->_shadow = new PHPExcel_Worksheet_Drawing_Shadow(); - - // Set image index - self::$_imageCounter++; - $this->_imageIndex = self::$_imageCounter; - } - - /** - * Get image index - * - * @return int - */ - public function getImageIndex() { - return $this->_imageIndex; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Set Name - * - * @param string $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setName($pValue = '') { - $this->_name = $pValue; - return $this; - } - - /** - * Get Description - * - * @return string - */ - public function getDescription() { - return $this->_description; - } - - /** - * Set Description - * - * @param string $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setDescription($pValue = '') { - $this->_description = $pValue; - return $this; - } - - /** - * Get Worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_worksheet; - } - - /** - * Set Worksheet - * - * @param PHPExcel_Worksheet $pValue - * @param bool $pOverrideOld If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet? - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setWorksheet(PHPExcel_Worksheet $pValue = null, $pOverrideOld = false) { - if (is_null($this->_worksheet)) { - // Add drawing to PHPExcel_Worksheet - $this->_worksheet = $pValue; - $this->_worksheet->getCell($this->_coordinates); - $this->_worksheet->getDrawingCollection()->append($this); - } else { - if ($pOverrideOld) { - // Remove drawing from old PHPExcel_Worksheet - $iterator = $this->_worksheet->getDrawingCollection()->getIterator(); - - while ($iterator->valid()) { - if ($iterator->current()->getHashCode() == $this->getHashCode()) { - $this->_worksheet->getDrawingCollection()->offsetUnset( $iterator->key() ); - $this->_worksheet = null; - break; - } - } - - // Set new PHPExcel_Worksheet - $this->setWorksheet($pValue); - } else { - throw new PHPExcel_Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet."); - } - } - return $this; - } - - /** - * Get Coordinates - * - * @return string - */ - public function getCoordinates() { - return $this->_coordinates; - } - - /** - * Set Coordinates - * - * @param string $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setCoordinates($pValue = 'A1') { - $this->_coordinates = $pValue; - return $this; - } - - /** - * Get OffsetX - * - * @return int - */ - public function getOffsetX() { - return $this->_offsetX; - } - - /** - * Set OffsetX - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setOffsetX($pValue = 0) { - $this->_offsetX = $pValue; - return $this; - } - - /** - * Get OffsetY - * - * @return int - */ - public function getOffsetY() { - return $this->_offsetY; - } - - /** - * Set OffsetY - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setOffsetY($pValue = 0) { - $this->_offsetY = $pValue; - return $this; - } - - /** - * Get Width - * - * @return int - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setWidth($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_height / ($this->_width != 0 ? $this->_width : 1); - $this->_height = round($ratio * $pValue); - } - - // Set width - $this->_width = $pValue; - - return $this; - } - - /** - * Get Height - * - * @return int - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set Height - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setHeight($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_width / ($this->_height != 0 ? $this->_height : 1); - $this->_width = round($ratio * $pValue); - } - - // Set height - $this->_height = $pValue; - - return $this; - } - - /** - * Set width and height with proportional resize - * Example: - * <code> - * $objDrawing->setResizeProportional(true); - * $objDrawing->setWidthAndHeight(160,120); - * </code> - * - * @author Vincent@luo MSN:kele_100@hotmail.com - * @param int $width - * @param int $height - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setWidthAndHeight($width = 0, $height = 0) { - $xratio = $width / ($this->_width != 0 ? $this->_width : 1); - $yratio = $height / ($this->_height != 0 ? $this->_height : 1); - if ($this->_resizeProportional && !($width == 0 || $height == 0)) { - if (($xratio * $this->_height) < $height) { - $this->_height = ceil($xratio * $this->_height); - $this->_width = $width; - } else { - $this->_width = ceil($yratio * $this->_width); - $this->_height = $height; - } - } else { - $this->_width = $width; - $this->_height = $height; - } - - return $this; - } - - /** - * Get ResizeProportional - * - * @return boolean - */ - public function getResizeProportional() { - return $this->_resizeProportional; - } - - /** - * Set ResizeProportional - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setResizeProportional($pValue = true) { - $this->_resizeProportional = $pValue; - return $this; - } - - /** - * Get Rotation - * - * @return int - */ - public function getRotation() { - return $this->_rotation; - } - - /** - * Set Rotation - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setRotation($pValue = 0) { - $this->_rotation = $pValue; - return $this; - } - - /** - * Get Shadow - * - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function getShadow() { - return $this->_shadow; - } - - /** - * Set Shadow - * - * @param PHPExcel_Worksheet_Drawing_Shadow $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setShadow(PHPExcel_Worksheet_Drawing_Shadow $pValue = null) { - $this->_shadow = $pValue; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_name - . $this->_description - . $this->_worksheet->getHashCode() - . $this->_coordinates - . $this->_offsetX - . $this->_offsetY - . $this->_width - . $this->_height - . $this->_rotation - . $this->_shadow->getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/CellIterator.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/CellIterator.php deleted file mode 100644 index 27cdc94c3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/CellIterator.php +++ /dev/null @@ -1,161 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_CellIterator - * - * Used to iterate rows in a PHPExcel_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_CellIterator implements Iterator -{ - /** - * PHPExcel_Worksheet to iterate - * - * @var PHPExcel_Worksheet - */ - private $_subject; - - /** - * Row index - * - * @var int - */ - private $_rowIndex; - - /** - * Current iterator position - * - * @var int - */ - private $_position = 0; - - /** - * Loop only existing cells - * - * @var boolean - */ - private $_onlyExistingCells = true; - - /** - * Create a new cell iterator - * - * @param PHPExcel_Worksheet $subject - * @param int $rowIndex - */ - public function __construct(PHPExcel_Worksheet $subject = null, $rowIndex = 1) { - // Set subject and row index - $this->_subject = $subject; - $this->_rowIndex = $rowIndex; - } - - /** - * Destructor - */ - public function __destruct() { - unset($this->_subject); - } - - /** - * Rewind iterator - */ - public function rewind() { - $this->_position = 0; - } - - /** - * Current PHPExcel_Cell - * - * @return PHPExcel_Cell - */ - public function current() { - return $this->_subject->getCellByColumnAndRow($this->_position, $this->_rowIndex); - } - - /** - * Current key - * - * @return int - */ - public function key() { - return $this->_position; - } - - /** - * Next value - */ - public function next() { - ++$this->_position; - } - - /** - * Are there any more PHPExcel_Cell instances available? - * - * @return boolean - */ - public function valid() { - // columnIndexFromString() returns an index based at one, - // treat it as a count when comparing it to the base zero - // position. - $columnCount = PHPExcel_Cell::columnIndexFromString($this->_subject->getHighestColumn()); - - if ($this->_onlyExistingCells) { - // If we aren't looking at an existing cell, either - // because the first column doesn't exist or next() has - // been called onto a nonexistent cell, then loop until we - // find one, or pass the last column. - while ($this->_position < $columnCount && - !$this->_subject->cellExistsByColumnAndRow($this->_position, $this->_rowIndex)) { - ++$this->_position; - } - } - - return $this->_position < $columnCount; - } - - /** - * Get loop only existing cells - * - * @return boolean - */ - public function getIterateOnlyExistingCells() { - return $this->_onlyExistingCells; - } - - /** - * Set the iterator to loop only existing cells - * - * @param boolean $value - */ - public function setIterateOnlyExistingCells($value = true) { - $this->_onlyExistingCells = $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/ColumnDimension.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/ColumnDimension.php deleted file mode 100644 index bc6a042eb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/ColumnDimension.php +++ /dev/null @@ -1,266 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_ColumnDimension - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_ColumnDimension -{ - /** - * Column index - * - * @var int - */ - private $_columnIndex; - - /** - * Column width - * - * When this is set to a negative value, the column width should be ignored by IWriter - * - * @var double - */ - private $_width = -1; - - /** - * Auto size? - * - * @var bool - */ - private $_autoSize = false; - - /** - * Visible? - * - * @var bool - */ - private $_visible = true; - - /** - * Outline level - * - * @var int - */ - private $_outlineLevel = 0; - - /** - * Collapsed - * - * @var bool - */ - private $_collapsed = false; - - /** - * Index to cellXf - * - * @var int - */ - private $_xfIndex; - - /** - * Create a new PHPExcel_Worksheet_ColumnDimension - * - * @param string $pIndex Character column index - */ - public function __construct($pIndex = 'A') - { - // Initialise values - $this->_columnIndex = $pIndex; - - // set default index to cellXf - $this->_xfIndex = 0; - } - - /** - * Get ColumnIndex - * - * @return string - */ - public function getColumnIndex() { - return $this->_columnIndex; - } - - /** - * Set ColumnIndex - * - * @param string $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setColumnIndex($pValue) { - $this->_columnIndex = $pValue; - return $this; - } - - /** - * Get Width - * - * @return double - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param double $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setWidth($pValue = -1) { - $this->_width = $pValue; - return $this; - } - - /** - * Get Auto Size - * - * @return bool - */ - public function getAutoSize() { - return $this->_autoSize; - } - - /** - * Set Auto Size - * - * @param bool $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setAutoSize($pValue = false) { - $this->_autoSize = $pValue; - return $this; - } - - /** - * Get Visible - * - * @return bool - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set Visible - * - * @param bool $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setVisible($pValue = true) { - $this->_visible = $pValue; - return $this; - } - - /** - * Get Outline Level - * - * @return int - */ - public function getOutlineLevel() { - return $this->_outlineLevel; - } - - /** - * Set Outline Level - * - * Value must be between 0 and 7 - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setOutlineLevel($pValue) { - if ($pValue < 0 || $pValue > 7) { - throw new PHPExcel_Exception("Outline level must range between 0 and 7."); - } - - $this->_outlineLevel = $pValue; - return $this; - } - - /** - * Get Collapsed - * - * @return bool - */ - public function getCollapsed() { - return $this->_collapsed; - } - - /** - * Set Collapsed - * - * @param bool $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setCollapsed($pValue = true) { - $this->_collapsed = $pValue; - return $this; - } - - /** - * Get index to cellXf - * - * @return int - */ - public function getXfIndex() - { - return $this->_xfIndex; - } - - /** - * Set index to cellXf - * - * @param int $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setXfIndex($pValue = 0) - { - $this->_xfIndex = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing.php deleted file mode 100644 index e8d87f1d0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing.php +++ /dev/null @@ -1,148 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Drawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Drawing extends PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable -{ - /** - * Path - * - * @var string - */ - private $_path; - - /** - * Create a new PHPExcel_Worksheet_Drawing - */ - public function __construct() - { - // Initialise values - $this->_path = ''; - - // Initialize parent - parent::__construct(); - } - - /** - * Get Filename - * - * @return string - */ - public function getFilename() { - return basename($this->_path); - } - - /** - * Get indexed filename (using image index) - * - * @return string - */ - public function getIndexedFilename() { - $fileName = $this->getFilename(); - $fileName = str_replace(' ', '_', $fileName); - return str_replace('.' . $this->getExtension(), '', $fileName) . $this->getImageIndex() . '.' . $this->getExtension(); - } - - /** - * Get Extension - * - * @return string - */ - public function getExtension() { - $exploded = explode(".", basename($this->_path)); - return $exploded[count($exploded) - 1]; - } - - /** - * Get Path - * - * @return string - */ - public function getPath() { - return $this->_path; - } - - /** - * Set Path - * - * @param string $pValue File path - * @param boolean $pVerifyFile Verify file - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_Drawing - */ - public function setPath($pValue = '', $pVerifyFile = true) { - if ($pVerifyFile) { - if (file_exists($pValue)) { - $this->_path = $pValue; - - if ($this->_width == 0 && $this->_height == 0) { - // Get width/height - list($this->_width, $this->_height) = getimagesize($pValue); - } - } else { - throw new PHPExcel_Exception("File $pValue not found!"); - } - } else { - $this->_path = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_path - . parent::getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing/Shadow.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing/Shadow.php deleted file mode 100644 index 98b95b1a7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing/Shadow.php +++ /dev/null @@ -1,288 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Drawing_Shadow - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable -{ - /* Shadow alignment */ - const SHADOW_BOTTOM = 'b'; - const SHADOW_BOTTOM_LEFT = 'bl'; - const SHADOW_BOTTOM_RIGHT = 'br'; - const SHADOW_CENTER = 'ctr'; - const SHADOW_LEFT = 'l'; - const SHADOW_TOP = 't'; - const SHADOW_TOP_LEFT = 'tl'; - const SHADOW_TOP_RIGHT = 'tr'; - - /** - * Visible - * - * @var boolean - */ - private $_visible; - - /** - * Blur radius - * - * Defaults to 6 - * - * @var int - */ - private $_blurRadius; - - /** - * Shadow distance - * - * Defaults to 2 - * - * @var int - */ - private $_distance; - - /** - * Shadow direction (in degrees) - * - * @var int - */ - private $_direction; - - /** - * Shadow alignment - * - * @var int - */ - private $_alignment; - - /** - * Color - * - * @var PHPExcel_Style_Color - */ - private $_color; - - /** - * Alpha - * - * @var int - */ - private $_alpha; - - /** - * Create a new PHPExcel_Worksheet_Drawing_Shadow - */ - public function __construct() - { - // Initialise values - $this->_visible = false; - $this->_blurRadius = 6; - $this->_distance = 2; - $this->_direction = 0; - $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT; - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); - $this->_alpha = 50; - } - - /** - * Get Visible - * - * @return boolean - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set Visible - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setVisible($pValue = false) { - $this->_visible = $pValue; - return $this; - } - - /** - * Get Blur radius - * - * @return int - */ - public function getBlurRadius() { - return $this->_blurRadius; - } - - /** - * Set Blur radius - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setBlurRadius($pValue = 6) { - $this->_blurRadius = $pValue; - return $this; - } - - /** - * Get Shadow distance - * - * @return int - */ - public function getDistance() { - return $this->_distance; - } - - /** - * Set Shadow distance - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setDistance($pValue = 2) { - $this->_distance = $pValue; - return $this; - } - - /** - * Get Shadow direction (in degrees) - * - * @return int - */ - public function getDirection() { - return $this->_direction; - } - - /** - * Set Shadow direction (in degrees) - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setDirection($pValue = 0) { - $this->_direction = $pValue; - return $this; - } - - /** - * Get Shadow alignment - * - * @return int - */ - public function getAlignment() { - return $this->_alignment; - } - - /** - * Set Shadow alignment - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setAlignment($pValue = 0) { - $this->_alignment = $pValue; - return $this; - } - - /** - * Get Color - * - * @return PHPExcel_Style_Color - */ - public function getColor() { - return $this->_color; - } - - /** - * Set Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setColor(PHPExcel_Style_Color $pValue = null) { - $this->_color = $pValue; - return $this; - } - - /** - * Get Alpha - * - * @return int - */ - public function getAlpha() { - return $this->_alpha; - } - - /** - * Set Alpha - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setAlpha($pValue = 0) { - $this->_alpha = $pValue; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - ($this->_visible ? 't' : 'f') - . $this->_blurRadius - . $this->_distance - . $this->_direction - . $this->_alignment - . $this->_color->getHashCode() - . $this->_alpha - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Drawing/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/HeaderFooter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/HeaderFooter.php deleted file mode 100644 index 803741638..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/HeaderFooter.php +++ /dev/null @@ -1,465 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_HeaderFooter - * - * <code> - * Header/Footer Formatting Syntax taken from Office Open XML Part 4 - Markup Language Reference, page 1970: - * - * There are a number of formatting codes that can be written inline with the actual header / footer text, which - * affect the formatting in the header or footer. - * - * Example: This example shows the text "Center Bold Header" on the first line (center section), and the date on - * the second line (center section). - * &CCenter &"-,Bold"Bold&"-,Regular"Header_x000A_&D - * - * General Rules: - * There is no required order in which these codes must appear. - * - * The first occurrence of the following codes turns the formatting ON, the second occurrence turns it OFF again: - * - strikethrough - * - superscript - * - subscript - * Superscript and subscript cannot both be ON at same time. Whichever comes first wins and the other is ignored, - * while the first is ON. - * &L - code for "left section" (there are three header / footer locations, "left", "center", and "right"). When - * two or more occurrences of this section marker exist, the contents from all markers are concatenated, in the - * order of appearance, and placed into the left section. - * &P - code for "current page #" - * &N - code for "total pages" - * &font size - code for "text font size", where font size is a font size in points. - * &K - code for "text font color" - * RGB Color is specified as RRGGBB - * Theme Color is specifed as TTSNN where TT is the theme color Id, S is either "+" or "-" of the tint/shade - * value, NN is the tint/shade value. - * &S - code for "text strikethrough" on / off - * &X - code for "text super script" on / off - * &Y - code for "text subscript" on / off - * &C - code for "center section". When two or more occurrences of this section marker exist, the contents - * from all markers are concatenated, in the order of appearance, and placed into the center section. - * - * &D - code for "date" - * &T - code for "time" - * &G - code for "picture as background" - * &U - code for "text single underline" - * &E - code for "double underline" - * &R - code for "right section". When two or more occurrences of this section marker exist, the contents - * from all markers are concatenated, in the order of appearance, and placed into the right section. - * &Z - code for "this workbook's file path" - * &F - code for "this workbook's file name" - * &A - code for "sheet tab name" - * &+ - code for add to page #. - * &- - code for subtract from page #. - * &"font name,font type" - code for "text font name" and "text font type", where font name and font type - * are strings specifying the name and type of the font, separated by a comma. When a hyphen appears in font - * name, it means "none specified". Both of font name and font type can be localized values. - * &"-,Bold" - code for "bold font style" - * &B - also means "bold font style". - * &"-,Regular" - code for "regular font style" - * &"-,Italic" - code for "italic font style" - * &I - also means "italic font style" - * &"-,Bold Italic" code for "bold italic font style" - * &O - code for "outline style" - * &H - code for "shadow style" - * </code> - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_HeaderFooter -{ - /* Header/footer image location */ - const IMAGE_HEADER_LEFT = 'LH'; - const IMAGE_HEADER_CENTER = 'CH'; - const IMAGE_HEADER_RIGHT = 'RH'; - const IMAGE_FOOTER_LEFT = 'LF'; - const IMAGE_FOOTER_CENTER = 'CF'; - const IMAGE_FOOTER_RIGHT = 'RF'; - - /** - * OddHeader - * - * @var string - */ - private $_oddHeader = ''; - - /** - * OddFooter - * - * @var string - */ - private $_oddFooter = ''; - - /** - * EvenHeader - * - * @var string - */ - private $_evenHeader = ''; - - /** - * EvenFooter - * - * @var string - */ - private $_evenFooter = ''; - - /** - * FirstHeader - * - * @var string - */ - private $_firstHeader = ''; - - /** - * FirstFooter - * - * @var string - */ - private $_firstFooter = ''; - - /** - * Different header for Odd/Even, defaults to false - * - * @var boolean - */ - private $_differentOddEven = false; - - /** - * Different header for first page, defaults to false - * - * @var boolean - */ - private $_differentFirst = false; - - /** - * Scale with document, defaults to true - * - * @var boolean - */ - private $_scaleWithDocument = true; - - /** - * Align with margins, defaults to true - * - * @var boolean - */ - private $_alignWithMargins = true; - - /** - * Header/footer images - * - * @var PHPExcel_Worksheet_HeaderFooterDrawing[] - */ - private $_headerFooterImages = array(); - - /** - * Create a new PHPExcel_Worksheet_HeaderFooter - */ - public function __construct() - { - } - - /** - * Get OddHeader - * - * @return string - */ - public function getOddHeader() { - return $this->_oddHeader; - } - - /** - * Set OddHeader - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setOddHeader($pValue) { - $this->_oddHeader = $pValue; - return $this; - } - - /** - * Get OddFooter - * - * @return string - */ - public function getOddFooter() { - return $this->_oddFooter; - } - - /** - * Set OddFooter - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setOddFooter($pValue) { - $this->_oddFooter = $pValue; - return $this; - } - - /** - * Get EvenHeader - * - * @return string - */ - public function getEvenHeader() { - return $this->_evenHeader; - } - - /** - * Set EvenHeader - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setEvenHeader($pValue) { - $this->_evenHeader = $pValue; - return $this; - } - - /** - * Get EvenFooter - * - * @return string - */ - public function getEvenFooter() { - return $this->_evenFooter; - } - - /** - * Set EvenFooter - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setEvenFooter($pValue) { - $this->_evenFooter = $pValue; - return $this; - } - - /** - * Get FirstHeader - * - * @return string - */ - public function getFirstHeader() { - return $this->_firstHeader; - } - - /** - * Set FirstHeader - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setFirstHeader($pValue) { - $this->_firstHeader = $pValue; - return $this; - } - - /** - * Get FirstFooter - * - * @return string - */ - public function getFirstFooter() { - return $this->_firstFooter; - } - - /** - * Set FirstFooter - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setFirstFooter($pValue) { - $this->_firstFooter = $pValue; - return $this; - } - - /** - * Get DifferentOddEven - * - * @return boolean - */ - public function getDifferentOddEven() { - return $this->_differentOddEven; - } - - /** - * Set DifferentOddEven - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setDifferentOddEven($pValue = false) { - $this->_differentOddEven = $pValue; - return $this; - } - - /** - * Get DifferentFirst - * - * @return boolean - */ - public function getDifferentFirst() { - return $this->_differentFirst; - } - - /** - * Set DifferentFirst - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setDifferentFirst($pValue = false) { - $this->_differentFirst = $pValue; - return $this; - } - - /** - * Get ScaleWithDocument - * - * @return boolean - */ - public function getScaleWithDocument() { - return $this->_scaleWithDocument; - } - - /** - * Set ScaleWithDocument - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setScaleWithDocument($pValue = true) { - $this->_scaleWithDocument = $pValue; - return $this; - } - - /** - * Get AlignWithMargins - * - * @return boolean - */ - public function getAlignWithMargins() { - return $this->_alignWithMargins; - } - - /** - * Set AlignWithMargins - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setAlignWithMargins($pValue = true) { - $this->_alignWithMargins = $pValue; - return $this; - } - - /** - * Add header/footer image - * - * @param PHPExcel_Worksheet_HeaderFooterDrawing $image - * @param string $location - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function addImage(PHPExcel_Worksheet_HeaderFooterDrawing $image = null, $location = self::IMAGE_HEADER_LEFT) { - $this->_headerFooterImages[$location] = $image; - return $this; - } - - /** - * Remove header/footer image - * - * @param string $location - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function removeImage($location = self::IMAGE_HEADER_LEFT) { - if (isset($this->_headerFooterImages[$location])) { - unset($this->_headerFooterImages[$location]); - } - return $this; - } - - /** - * Set header/footer images - * - * @param PHPExcel_Worksheet_HeaderFooterDrawing[] $images - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setImages($images) { - if (!is_array($images)) { - throw new PHPExcel_Exception('Invalid parameter!'); - } - - $this->_headerFooterImages = $images; - return $this; - } - - /** - * Get header/footer images - * - * @return PHPExcel_Worksheet_HeaderFooterDrawing[] - */ - public function getImages() { - // Sort array - $images = array(); - if (isset($this->_headerFooterImages[self::IMAGE_HEADER_LEFT])) $images[self::IMAGE_HEADER_LEFT] = $this->_headerFooterImages[self::IMAGE_HEADER_LEFT]; - if (isset($this->_headerFooterImages[self::IMAGE_HEADER_CENTER])) $images[self::IMAGE_HEADER_CENTER] = $this->_headerFooterImages[self::IMAGE_HEADER_CENTER]; - if (isset($this->_headerFooterImages[self::IMAGE_HEADER_RIGHT])) $images[self::IMAGE_HEADER_RIGHT] = $this->_headerFooterImages[self::IMAGE_HEADER_RIGHT]; - if (isset($this->_headerFooterImages[self::IMAGE_FOOTER_LEFT])) $images[self::IMAGE_FOOTER_LEFT] = $this->_headerFooterImages[self::IMAGE_FOOTER_LEFT]; - if (isset($this->_headerFooterImages[self::IMAGE_FOOTER_CENTER])) $images[self::IMAGE_FOOTER_CENTER] = $this->_headerFooterImages[self::IMAGE_FOOTER_CENTER]; - if (isset($this->_headerFooterImages[self::IMAGE_FOOTER_RIGHT])) $images[self::IMAGE_FOOTER_RIGHT] = $this->_headerFooterImages[self::IMAGE_FOOTER_RIGHT]; - $this->_headerFooterImages = $images; - - return $this->_headerFooterImages; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/HeaderFooterDrawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/HeaderFooterDrawing.php deleted file mode 100644 index 966664f93..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/HeaderFooterDrawing.php +++ /dev/null @@ -1,350 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_HeaderFooterDrawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_HeaderFooterDrawing extends PHPExcel_Worksheet_Drawing implements PHPExcel_IComparable -{ - /** - * Path - * - * @var string - */ - private $_path; - - /** - * Name - * - * @var string - */ - protected $_name; - - /** - * Offset X - * - * @var int - */ - protected $_offsetX; - - /** - * Offset Y - * - * @var int - */ - protected $_offsetY; - - /** - * Width - * - * @var int - */ - protected $_width; - - /** - * Height - * - * @var int - */ - protected $_height; - - /** - * Proportional resize - * - * @var boolean - */ - protected $_resizeProportional; - - /** - * Create a new PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function __construct() - { - // Initialise values - $this->_path = ''; - $this->_name = ''; - $this->_offsetX = 0; - $this->_offsetY = 0; - $this->_width = 0; - $this->_height = 0; - $this->_resizeProportional = true; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Set Name - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setName($pValue = '') { - $this->_name = $pValue; - return $this; - } - - /** - * Get OffsetX - * - * @return int - */ - public function getOffsetX() { - return $this->_offsetX; - } - - /** - * Set OffsetX - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setOffsetX($pValue = 0) { - $this->_offsetX = $pValue; - return $this; - } - - /** - * Get OffsetY - * - * @return int - */ - public function getOffsetY() { - return $this->_offsetY; - } - - /** - * Set OffsetY - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setOffsetY($pValue = 0) { - $this->_offsetY = $pValue; - return $this; - } - - /** - * Get Width - * - * @return int - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setWidth($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_width / $this->_height; - $this->_height = round($ratio * $pValue); - } - - // Set width - $this->_width = $pValue; - - return $this; - } - - /** - * Get Height - * - * @return int - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set Height - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setHeight($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_width / $this->_height; - $this->_width = round($ratio * $pValue); - } - - // Set height - $this->_height = $pValue; - - return $this; - } - - /** - * Set width and height with proportional resize - * Example: - * <code> - * $objDrawing->setResizeProportional(true); - * $objDrawing->setWidthAndHeight(160,120); - * </code> - * - * @author Vincent@luo MSN:kele_100@hotmail.com - * @param int $width - * @param int $height - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setWidthAndHeight($width = 0, $height = 0) { - $xratio = $width / $this->_width; - $yratio = $height / $this->_height; - if ($this->_resizeProportional && !($width == 0 || $height == 0)) { - if (($xratio * $this->_height) < $height) { - $this->_height = ceil($xratio * $this->_height); - $this->_width = $width; - } else { - $this->_width = ceil($yratio * $this->_width); - $this->_height = $height; - } - } - return $this; - } - - /** - * Get ResizeProportional - * - * @return boolean - */ - public function getResizeProportional() { - return $this->_resizeProportional; - } - - /** - * Set ResizeProportional - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setResizeProportional($pValue = true) { - $this->_resizeProportional = $pValue; - return $this; - } - - /** - * Get Filename - * - * @return string - */ - public function getFilename() { - return basename($this->_path); - } - - /** - * Get Extension - * - * @return string - */ - public function getExtension() { - $parts = explode(".", basename($this->_path)); - return end($parts); - } - - /** - * Get Path - * - * @return string - */ - public function getPath() { - return $this->_path; - } - - /** - * Set Path - * - * @param string $pValue File path - * @param boolean $pVerifyFile Verify file - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setPath($pValue = '', $pVerifyFile = true) { - if ($pVerifyFile) { - if (file_exists($pValue)) { - $this->_path = $pValue; - - if ($this->_width == 0 && $this->_height == 0) { - // Get width/height - list($this->_width, $this->_height) = getimagesize($pValue); - } - } else { - throw new PHPExcel_Exception("File $pValue not found!"); - } - } else { - $this->_path = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_path - . $this->_name - . $this->_offsetX - . $this->_offsetY - . $this->_width - . $this->_height - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/MemoryDrawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/MemoryDrawing.php deleted file mode 100644 index 80fc6d1f0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/MemoryDrawing.php +++ /dev/null @@ -1,200 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_MemoryDrawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_MemoryDrawing extends PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable -{ - /* Rendering functions */ - const RENDERING_DEFAULT = 'imagepng'; - const RENDERING_PNG = 'imagepng'; - const RENDERING_GIF = 'imagegif'; - const RENDERING_JPEG = 'imagejpeg'; - - /* MIME types */ - const MIMETYPE_DEFAULT = 'image/png'; - const MIMETYPE_PNG = 'image/png'; - const MIMETYPE_GIF = 'image/gif'; - const MIMETYPE_JPEG = 'image/jpeg'; - - /** - * Image resource - * - * @var resource - */ - private $_imageResource; - - /** - * Rendering function - * - * @var string - */ - private $_renderingFunction; - - /** - * Mime type - * - * @var string - */ - private $_mimeType; - - /** - * Unique name - * - * @var string - */ - private $_uniqueName; - - /** - * Create a new PHPExcel_Worksheet_MemoryDrawing - */ - public function __construct() - { - // Initialise values - $this->_imageResource = null; - $this->_renderingFunction = self::RENDERING_DEFAULT; - $this->_mimeType = self::MIMETYPE_DEFAULT; - $this->_uniqueName = md5(rand(0, 9999). time() . rand(0, 9999)); - - // Initialize parent - parent::__construct(); - } - - /** - * Get image resource - * - * @return resource - */ - public function getImageResource() { - return $this->_imageResource; - } - - /** - * Set image resource - * - * @param $value resource - * @return PHPExcel_Worksheet_MemoryDrawing - */ - public function setImageResource($value = null) { - $this->_imageResource = $value; - - if (!is_null($this->_imageResource)) { - // Get width/height - $this->_width = imagesx($this->_imageResource); - $this->_height = imagesy($this->_imageResource); - } - return $this; - } - - /** - * Get rendering function - * - * @return string - */ - public function getRenderingFunction() { - return $this->_renderingFunction; - } - - /** - * Set rendering function - * - * @param string $value - * @return PHPExcel_Worksheet_MemoryDrawing - */ - public function setRenderingFunction($value = PHPExcel_Worksheet_MemoryDrawing::RENDERING_DEFAULT) { - $this->_renderingFunction = $value; - return $this; - } - - /** - * Get mime type - * - * @return string - */ - public function getMimeType() { - return $this->_mimeType; - } - - /** - * Set mime type - * - * @param string $value - * @return PHPExcel_Worksheet_MemoryDrawing - */ - public function setMimeType($value = PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_DEFAULT) { - $this->_mimeType = $value; - return $this; - } - - /** - * Get indexed filename (using image index) - * - * @return string - */ - public function getIndexedFilename() { - $extension = strtolower($this->getMimeType()); - $extension = explode('/', $extension); - $extension = $extension[1]; - - return $this->_uniqueName . $this->getImageIndex() . '.' . $extension; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_renderingFunction - . $this->_mimeType - . $this->_uniqueName - . parent::getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/PageMargins.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/PageMargins.php deleted file mode 100644 index b05a291ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/PageMargins.php +++ /dev/null @@ -1,220 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_PageMargins - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_PageMargins -{ - /** - * Left - * - * @var double - */ - private $_left = 0.7; - - /** - * Right - * - * @var double - */ - private $_right = 0.7; - - /** - * Top - * - * @var double - */ - private $_top = 0.75; - - /** - * Bottom - * - * @var double - */ - private $_bottom = 0.75; - - /** - * Header - * - * @var double - */ - private $_header = 0.3; - - /** - * Footer - * - * @var double - */ - private $_footer = 0.3; - - /** - * Create a new PHPExcel_Worksheet_PageMargins - */ - public function __construct() - { - } - - /** - * Get Left - * - * @return double - */ - public function getLeft() { - return $this->_left; - } - - /** - * Set Left - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setLeft($pValue) { - $this->_left = $pValue; - return $this; - } - - /** - * Get Right - * - * @return double - */ - public function getRight() { - return $this->_right; - } - - /** - * Set Right - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setRight($pValue) { - $this->_right = $pValue; - return $this; - } - - /** - * Get Top - * - * @return double - */ - public function getTop() { - return $this->_top; - } - - /** - * Set Top - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setTop($pValue) { - $this->_top = $pValue; - return $this; - } - - /** - * Get Bottom - * - * @return double - */ - public function getBottom() { - return $this->_bottom; - } - - /** - * Set Bottom - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setBottom($pValue) { - $this->_bottom = $pValue; - return $this; - } - - /** - * Get Header - * - * @return double - */ - public function getHeader() { - return $this->_header; - } - - /** - * Set Header - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setHeader($pValue) { - $this->_header = $pValue; - return $this; - } - - /** - * Get Footer - * - * @return double - */ - public function getFooter() { - return $this->_footer; - } - - /** - * Set Footer - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setFooter($pValue) { - $this->_footer = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/PageSetup.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/PageSetup.php deleted file mode 100644 index ba2792fac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/PageSetup.php +++ /dev/null @@ -1,798 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_PageSetup - * - * <code> - * Paper size taken from Office Open XML Part 4 - Markup Language Reference, page 1988: - * - * 1 = Letter paper (8.5 in. by 11 in.) - * 2 = Letter small paper (8.5 in. by 11 in.) - * 3 = Tabloid paper (11 in. by 17 in.) - * 4 = Ledger paper (17 in. by 11 in.) - * 5 = Legal paper (8.5 in. by 14 in.) - * 6 = Statement paper (5.5 in. by 8.5 in.) - * 7 = Executive paper (7.25 in. by 10.5 in.) - * 8 = A3 paper (297 mm by 420 mm) - * 9 = A4 paper (210 mm by 297 mm) - * 10 = A4 small paper (210 mm by 297 mm) - * 11 = A5 paper (148 mm by 210 mm) - * 12 = B4 paper (250 mm by 353 mm) - * 13 = B5 paper (176 mm by 250 mm) - * 14 = Folio paper (8.5 in. by 13 in.) - * 15 = Quarto paper (215 mm by 275 mm) - * 16 = Standard paper (10 in. by 14 in.) - * 17 = Standard paper (11 in. by 17 in.) - * 18 = Note paper (8.5 in. by 11 in.) - * 19 = #9 envelope (3.875 in. by 8.875 in.) - * 20 = #10 envelope (4.125 in. by 9.5 in.) - * 21 = #11 envelope (4.5 in. by 10.375 in.) - * 22 = #12 envelope (4.75 in. by 11 in.) - * 23 = #14 envelope (5 in. by 11.5 in.) - * 24 = C paper (17 in. by 22 in.) - * 25 = D paper (22 in. by 34 in.) - * 26 = E paper (34 in. by 44 in.) - * 27 = DL envelope (110 mm by 220 mm) - * 28 = C5 envelope (162 mm by 229 mm) - * 29 = C3 envelope (324 mm by 458 mm) - * 30 = C4 envelope (229 mm by 324 mm) - * 31 = C6 envelope (114 mm by 162 mm) - * 32 = C65 envelope (114 mm by 229 mm) - * 33 = B4 envelope (250 mm by 353 mm) - * 34 = B5 envelope (176 mm by 250 mm) - * 35 = B6 envelope (176 mm by 125 mm) - * 36 = Italy envelope (110 mm by 230 mm) - * 37 = Monarch envelope (3.875 in. by 7.5 in.). - * 38 = 6 3/4 envelope (3.625 in. by 6.5 in.) - * 39 = US standard fanfold (14.875 in. by 11 in.) - * 40 = German standard fanfold (8.5 in. by 12 in.) - * 41 = German legal fanfold (8.5 in. by 13 in.) - * 42 = ISO B4 (250 mm by 353 mm) - * 43 = Japanese double postcard (200 mm by 148 mm) - * 44 = Standard paper (9 in. by 11 in.) - * 45 = Standard paper (10 in. by 11 in.) - * 46 = Standard paper (15 in. by 11 in.) - * 47 = Invite envelope (220 mm by 220 mm) - * 50 = Letter extra paper (9.275 in. by 12 in.) - * 51 = Legal extra paper (9.275 in. by 15 in.) - * 52 = Tabloid extra paper (11.69 in. by 18 in.) - * 53 = A4 extra paper (236 mm by 322 mm) - * 54 = Letter transverse paper (8.275 in. by 11 in.) - * 55 = A4 transverse paper (210 mm by 297 mm) - * 56 = Letter extra transverse paper (9.275 in. by 12 in.) - * 57 = SuperA/SuperA/A4 paper (227 mm by 356 mm) - * 58 = SuperB/SuperB/A3 paper (305 mm by 487 mm) - * 59 = Letter plus paper (8.5 in. by 12.69 in.) - * 60 = A4 plus paper (210 mm by 330 mm) - * 61 = A5 transverse paper (148 mm by 210 mm) - * 62 = JIS B5 transverse paper (182 mm by 257 mm) - * 63 = A3 extra paper (322 mm by 445 mm) - * 64 = A5 extra paper (174 mm by 235 mm) - * 65 = ISO B5 extra paper (201 mm by 276 mm) - * 66 = A2 paper (420 mm by 594 mm) - * 67 = A3 transverse paper (297 mm by 420 mm) - * 68 = A3 extra transverse paper (322 mm by 445 mm) - * </code> - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_PageSetup -{ - /* Paper size */ - const PAPERSIZE_LETTER = 1; - const PAPERSIZE_LETTER_SMALL = 2; - const PAPERSIZE_TABLOID = 3; - const PAPERSIZE_LEDGER = 4; - const PAPERSIZE_LEGAL = 5; - const PAPERSIZE_STATEMENT = 6; - const PAPERSIZE_EXECUTIVE = 7; - const PAPERSIZE_A3 = 8; - const PAPERSIZE_A4 = 9; - const PAPERSIZE_A4_SMALL = 10; - const PAPERSIZE_A5 = 11; - const PAPERSIZE_B4 = 12; - const PAPERSIZE_B5 = 13; - const PAPERSIZE_FOLIO = 14; - const PAPERSIZE_QUARTO = 15; - const PAPERSIZE_STANDARD_1 = 16; - const PAPERSIZE_STANDARD_2 = 17; - const PAPERSIZE_NOTE = 18; - const PAPERSIZE_NO9_ENVELOPE = 19; - const PAPERSIZE_NO10_ENVELOPE = 20; - const PAPERSIZE_NO11_ENVELOPE = 21; - const PAPERSIZE_NO12_ENVELOPE = 22; - const PAPERSIZE_NO14_ENVELOPE = 23; - const PAPERSIZE_C = 24; - const PAPERSIZE_D = 25; - const PAPERSIZE_E = 26; - const PAPERSIZE_DL_ENVELOPE = 27; - const PAPERSIZE_C5_ENVELOPE = 28; - const PAPERSIZE_C3_ENVELOPE = 29; - const PAPERSIZE_C4_ENVELOPE = 30; - const PAPERSIZE_C6_ENVELOPE = 31; - const PAPERSIZE_C65_ENVELOPE = 32; - const PAPERSIZE_B4_ENVELOPE = 33; - const PAPERSIZE_B5_ENVELOPE = 34; - const PAPERSIZE_B6_ENVELOPE = 35; - const PAPERSIZE_ITALY_ENVELOPE = 36; - const PAPERSIZE_MONARCH_ENVELOPE = 37; - const PAPERSIZE_6_3_4_ENVELOPE = 38; - const PAPERSIZE_US_STANDARD_FANFOLD = 39; - const PAPERSIZE_GERMAN_STANDARD_FANFOLD = 40; - const PAPERSIZE_GERMAN_LEGAL_FANFOLD = 41; - const PAPERSIZE_ISO_B4 = 42; - const PAPERSIZE_JAPANESE_DOUBLE_POSTCARD = 43; - const PAPERSIZE_STANDARD_PAPER_1 = 44; - const PAPERSIZE_STANDARD_PAPER_2 = 45; - const PAPERSIZE_STANDARD_PAPER_3 = 46; - const PAPERSIZE_INVITE_ENVELOPE = 47; - const PAPERSIZE_LETTER_EXTRA_PAPER = 48; - const PAPERSIZE_LEGAL_EXTRA_PAPER = 49; - const PAPERSIZE_TABLOID_EXTRA_PAPER = 50; - const PAPERSIZE_A4_EXTRA_PAPER = 51; - const PAPERSIZE_LETTER_TRANSVERSE_PAPER = 52; - const PAPERSIZE_A4_TRANSVERSE_PAPER = 53; - const PAPERSIZE_LETTER_EXTRA_TRANSVERSE_PAPER = 54; - const PAPERSIZE_SUPERA_SUPERA_A4_PAPER = 55; - const PAPERSIZE_SUPERB_SUPERB_A3_PAPER = 56; - const PAPERSIZE_LETTER_PLUS_PAPER = 57; - const PAPERSIZE_A4_PLUS_PAPER = 58; - const PAPERSIZE_A5_TRANSVERSE_PAPER = 59; - const PAPERSIZE_JIS_B5_TRANSVERSE_PAPER = 60; - const PAPERSIZE_A3_EXTRA_PAPER = 61; - const PAPERSIZE_A5_EXTRA_PAPER = 62; - const PAPERSIZE_ISO_B5_EXTRA_PAPER = 63; - const PAPERSIZE_A2_PAPER = 64; - const PAPERSIZE_A3_TRANSVERSE_PAPER = 65; - const PAPERSIZE_A3_EXTRA_TRANSVERSE_PAPER = 66; - - /* Page orientation */ - const ORIENTATION_DEFAULT = 'default'; - const ORIENTATION_LANDSCAPE = 'landscape'; - const ORIENTATION_PORTRAIT = 'portrait'; - - /* Print Range Set Method */ - const SETPRINTRANGE_OVERWRITE = 'O'; - const SETPRINTRANGE_INSERT = 'I'; - - - /** - * Paper size - * - * @var int - */ - private $_paperSize = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER; - - /** - * Orientation - * - * @var string - */ - private $_orientation = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT; - - /** - * Scale (Print Scale) - * - * Print scaling. Valid values range from 10 to 400 - * This setting is overridden when fitToWidth and/or fitToHeight are in use - * - * @var int? - */ - private $_scale = 100; - - /** - * Fit To Page - * Whether scale or fitToWith / fitToHeight applies - * - * @var boolean - */ - private $_fitToPage = FALSE; - - /** - * Fit To Height - * Number of vertical pages to fit on - * - * @var int? - */ - private $_fitToHeight = 1; - - /** - * Fit To Width - * Number of horizontal pages to fit on - * - * @var int? - */ - private $_fitToWidth = 1; - - /** - * Columns to repeat at left - * - * @var array Containing start column and end column, empty array if option unset - */ - private $_columnsToRepeatAtLeft = array('', ''); - - /** - * Rows to repeat at top - * - * @var array Containing start row number and end row number, empty array if option unset - */ - private $_rowsToRepeatAtTop = array(0, 0); - - /** - * Center page horizontally - * - * @var boolean - */ - private $_horizontalCentered = FALSE; - - /** - * Center page vertically - * - * @var boolean - */ - private $_verticalCentered = FALSE; - - /** - * Print area - * - * @var string - */ - private $_printArea = NULL; - - /** - * First page number - * - * @var int - */ - private $_firstPageNumber = NULL; - - /** - * Create a new PHPExcel_Worksheet_PageSetup - */ - public function __construct() - { - } - - /** - * Get Paper Size - * - * @return int - */ - public function getPaperSize() { - return $this->_paperSize; - } - - /** - * Set Paper Size - * - * @param int $pValue - * @return PHPExcel_Worksheet_PageSetup - */ - public function setPaperSize($pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER) { - $this->_paperSize = $pValue; - return $this; - } - - /** - * Get Orientation - * - * @return string - */ - public function getOrientation() { - return $this->_orientation; - } - - /** - * Set Orientation - * - * @param string $pValue - * @return PHPExcel_Worksheet_PageSetup - */ - public function setOrientation($pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) { - $this->_orientation = $pValue; - return $this; - } - - /** - * Get Scale - * - * @return int? - */ - public function getScale() { - return $this->_scale; - } - - /** - * Set Scale - * - * Print scaling. Valid values range from 10 to 400 - * This setting is overridden when fitToWidth and/or fitToHeight are in use - * - * @param int? $pValue - * @param boolean $pUpdate Update fitToPage so scaling applies rather than fitToHeight / fitToWidth - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function setScale($pValue = 100, $pUpdate = true) { - // Microsoft Office Excel 2007 only allows setting a scale between 10 and 400 via the user interface, - // but it is apparently still able to handle any scale >= 0, where 0 results in 100 - if (($pValue >= 0) || is_null($pValue)) { - $this->_scale = $pValue; - if ($pUpdate) { - $this->_fitToPage = false; - } - } else { - throw new PHPExcel_Exception("Scale must not be negative"); - } - return $this; - } - - /** - * Get Fit To Page - * - * @return boolean - */ - public function getFitToPage() { - return $this->_fitToPage; - } - - /** - * Set Fit To Page - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_PageSetup - */ - public function setFitToPage($pValue = TRUE) { - $this->_fitToPage = $pValue; - return $this; - } - - /** - * Get Fit To Height - * - * @return int? - */ - public function getFitToHeight() { - return $this->_fitToHeight; - } - - /** - * Set Fit To Height - * - * @param int? $pValue - * @param boolean $pUpdate Update fitToPage so it applies rather than scaling - * @return PHPExcel_Worksheet_PageSetup - */ - public function setFitToHeight($pValue = 1, $pUpdate = TRUE) { - $this->_fitToHeight = $pValue; - if ($pUpdate) { - $this->_fitToPage = TRUE; - } - return $this; - } - - /** - * Get Fit To Width - * - * @return int? - */ - public function getFitToWidth() { - return $this->_fitToWidth; - } - - /** - * Set Fit To Width - * - * @param int? $pValue - * @param boolean $pUpdate Update fitToPage so it applies rather than scaling - * @return PHPExcel_Worksheet_PageSetup - */ - public function setFitToWidth($pValue = 1, $pUpdate = TRUE) { - $this->_fitToWidth = $pValue; - if ($pUpdate) { - $this->_fitToPage = TRUE; - } - return $this; - } - - /** - * Is Columns to repeat at left set? - * - * @return boolean - */ - public function isColumnsToRepeatAtLeftSet() { - if (is_array($this->_columnsToRepeatAtLeft)) { - if ($this->_columnsToRepeatAtLeft[0] != '' && $this->_columnsToRepeatAtLeft[1] != '') { - return true; - } - } - - return false; - } - - /** - * Get Columns to repeat at left - * - * @return array Containing start column and end column, empty array if option unset - */ - public function getColumnsToRepeatAtLeft() { - return $this->_columnsToRepeatAtLeft; - } - - /** - * Set Columns to repeat at left - * - * @param array $pValue Containing start column and end column, empty array if option unset - * @return PHPExcel_Worksheet_PageSetup - */ - public function setColumnsToRepeatAtLeft($pValue = null) { - if (is_array($pValue)) { - $this->_columnsToRepeatAtLeft = $pValue; - } - return $this; - } - - /** - * Set Columns to repeat at left by start and end - * - * @param string $pStart - * @param string $pEnd - * @return PHPExcel_Worksheet_PageSetup - */ - public function setColumnsToRepeatAtLeftByStartAndEnd($pStart = 'A', $pEnd = 'A') { - $this->_columnsToRepeatAtLeft = array($pStart, $pEnd); - return $this; - } - - /** - * Is Rows to repeat at top set? - * - * @return boolean - */ - public function isRowsToRepeatAtTopSet() { - if (is_array($this->_rowsToRepeatAtTop)) { - if ($this->_rowsToRepeatAtTop[0] != 0 && $this->_rowsToRepeatAtTop[1] != 0) { - return true; - } - } - - return false; - } - - /** - * Get Rows to repeat at top - * - * @return array Containing start column and end column, empty array if option unset - */ - public function getRowsToRepeatAtTop() { - return $this->_rowsToRepeatAtTop; - } - - /** - * Set Rows to repeat at top - * - * @param array $pValue Containing start column and end column, empty array if option unset - * @return PHPExcel_Worksheet_PageSetup - */ - public function setRowsToRepeatAtTop($pValue = null) { - if (is_array($pValue)) { - $this->_rowsToRepeatAtTop = $pValue; - } - return $this; - } - - /** - * Set Rows to repeat at top by start and end - * - * @param int $pStart - * @param int $pEnd - * @return PHPExcel_Worksheet_PageSetup - */ - public function setRowsToRepeatAtTopByStartAndEnd($pStart = 1, $pEnd = 1) { - $this->_rowsToRepeatAtTop = array($pStart, $pEnd); - return $this; - } - - /** - * Get center page horizontally - * - * @return bool - */ - public function getHorizontalCentered() { - return $this->_horizontalCentered; - } - - /** - * Set center page horizontally - * - * @param bool $value - * @return PHPExcel_Worksheet_PageSetup - */ - public function setHorizontalCentered($value = false) { - $this->_horizontalCentered = $value; - return $this; - } - - /** - * Get center page vertically - * - * @return bool - */ - public function getVerticalCentered() { - return $this->_verticalCentered; - } - - /** - * Set center page vertically - * - * @param bool $value - * @return PHPExcel_Worksheet_PageSetup - */ - public function setVerticalCentered($value = false) { - $this->_verticalCentered = $value; - return $this; - } - - /** - * Get print area - * - * @param int $index Identifier for a specific print area range if several ranges have been set - * Default behaviour, or a index value of 0, will return all ranges as a comma-separated string - * Otherwise, the specific range identified by the value of $index will be returned - * Print areas are numbered from 1 - * @throws PHPExcel_Exception - * @return string - */ - public function getPrintArea($index = 0) { - if ($index == 0) { - return $this->_printArea; - } - $printAreas = explode(',',$this->_printArea); - if (isset($printAreas[$index-1])) { - return $printAreas[$index-1]; - } - throw new PHPExcel_Exception("Requested Print Area does not exist"); - } - - /** - * Is print area set? - * - * @param int $index Identifier for a specific print area range if several ranges have been set - * Default behaviour, or an index value of 0, will identify whether any print range is set - * Otherwise, existence of the range identified by the value of $index will be returned - * Print areas are numbered from 1 - * @return boolean - */ - public function isPrintAreaSet($index = 0) { - if ($index == 0) { - return !is_null($this->_printArea); - } - $printAreas = explode(',',$this->_printArea); - return isset($printAreas[$index-1]); - } - - /** - * Clear a print area - * - * @param int $index Identifier for a specific print area range if several ranges have been set - * Default behaviour, or an index value of 0, will clear all print ranges that are set - * Otherwise, the range identified by the value of $index will be removed from the series - * Print areas are numbered from 1 - * @return PHPExcel_Worksheet_PageSetup - */ - public function clearPrintArea($index = 0) { - if ($index == 0) { - $this->_printArea = NULL; - } else { - $printAreas = explode(',',$this->_printArea); - if (isset($printAreas[$index-1])) { - unset($printAreas[$index-1]); - $this->_printArea = implode(',',$printAreas); - } - } - - return $this; - } - - /** - * Set print area. e.g. 'A1:D10' or 'A1:D10,G5:M20' - * - * @param string $value - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * When the method is "O"verwrite, then a positive integer index will overwrite that indexed - * entry in the print areas list; a negative index value will identify which entry to - * overwrite working bacward through the print area to the list, with the last entry as -1. - * Specifying an index value of 0, will overwrite <b>all</b> existing print ranges. - * When the method is "I"nsert, then a positive index will insert after that indexed entry in - * the print areas list, while a negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @param string $method Determines the method used when setting multiple print areas - * Default behaviour, or the "O" method, overwrites existing print area - * The "I" method, inserts the new print area before any specified index, or at the end of the list - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function setPrintArea($value, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE) { - if (strpos($value,'!') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not specify a worksheet.'); - } elseif (strpos($value,':') === false) { - throw new PHPExcel_Exception('Cell coordinate must be a range of cells.'); - } elseif (strpos($value,'$') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not be absolute.'); - } - $value = strtoupper($value); - - if ($method == self::SETPRINTRANGE_OVERWRITE) { - if ($index == 0) { - $this->_printArea = $value; - } else { - $printAreas = explode(',',$this->_printArea); - if($index < 0) { - $index = count($printAreas) - abs($index) + 1; - } - if (($index <= 0) || ($index > count($printAreas))) { - throw new PHPExcel_Exception('Invalid index for setting print range.'); - } - $printAreas[$index-1] = $value; - $this->_printArea = implode(',',$printAreas); - } - } elseif($method == self::SETPRINTRANGE_INSERT) { - if ($index == 0) { - $this->_printArea .= ($this->_printArea == '') ? $value : ','.$value; - } else { - $printAreas = explode(',',$this->_printArea); - if($index < 0) { - $index = abs($index) - 1; - } - if ($index > count($printAreas)) { - throw new PHPExcel_Exception('Invalid index for setting print range.'); - } - $printAreas = array_merge(array_slice($printAreas,0,$index),array($value),array_slice($printAreas,$index)); - $this->_printArea = implode(',',$printAreas); - } - } else { - throw new PHPExcel_Exception('Invalid method for setting print range.'); - } - - return $this; - } - - /** - * Add a new print area (e.g. 'A1:D10' or 'A1:D10,G5:M20') to the list of print areas - * - * @param string $value - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * A positive index will insert after that indexed entry in the print areas list, while a - * negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function addPrintArea($value, $index = -1) { - return $this->setPrintArea($value, $index, self::SETPRINTRANGE_INSERT); - } - - /** - * Set print area - * - * @param int $column1 Column 1 - * @param int $row1 Row 1 - * @param int $column2 Column 2 - * @param int $row2 Row 2 - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * When the method is "O"verwrite, then a positive integer index will overwrite that indexed - * entry in the print areas list; a negative index value will identify which entry to - * overwrite working bacward through the print area to the list, with the last entry as -1. - * Specifying an index value of 0, will overwrite <b>all</b> existing print ranges. - * When the method is "I"nsert, then a positive index will insert after that indexed entry in - * the print areas list, while a negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @param string $method Determines the method used when setting multiple print areas - * Default behaviour, or the "O" method, overwrites existing print area - * The "I" method, inserts the new print area before any specified index, or at the end of the list - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function setPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE) - { - return $this->setPrintArea(PHPExcel_Cell::stringFromColumnIndex($column1) . $row1 . ':' . PHPExcel_Cell::stringFromColumnIndex($column2) . $row2, $index, $method); - } - - /** - * Add a new print area to the list of print areas - * - * @param int $column1 Start Column for the print area - * @param int $row1 Start Row for the print area - * @param int $column2 End Column for the print area - * @param int $row2 End Row for the print area - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * A positive index will insert after that indexed entry in the print areas list, while a - * negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function addPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = -1) - { - return $this->setPrintArea(PHPExcel_Cell::stringFromColumnIndex($column1) . $row1 . ':' . PHPExcel_Cell::stringFromColumnIndex($column2) . $row2, $index, self::SETPRINTRANGE_INSERT); - } - - /** - * Get first page number - * - * @return int - */ - public function getFirstPageNumber() { - return $this->_firstPageNumber; - } - - /** - * Set first page number - * - * @param int $value - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setFirstPageNumber($value = null) { - $this->_firstPageNumber = $value; - return $this; - } - - /** - * Reset first page number - * - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function resetFirstPageNumber() { - return $this->setFirstPageNumber(null); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Protection.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Protection.php deleted file mode 100644 index da66bf763..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Protection.php +++ /dev/null @@ -1,545 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Protection - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Protection -{ - /** - * Sheet - * - * @var boolean - */ - private $_sheet = false; - - /** - * Objects - * - * @var boolean - */ - private $_objects = false; - - /** - * Scenarios - * - * @var boolean - */ - private $_scenarios = false; - - /** - * Format cells - * - * @var boolean - */ - private $_formatCells = false; - - /** - * Format columns - * - * @var boolean - */ - private $_formatColumns = false; - - /** - * Format rows - * - * @var boolean - */ - private $_formatRows = false; - - /** - * Insert columns - * - * @var boolean - */ - private $_insertColumns = false; - - /** - * Insert rows - * - * @var boolean - */ - private $_insertRows = false; - - /** - * Insert hyperlinks - * - * @var boolean - */ - private $_insertHyperlinks = false; - - /** - * Delete columns - * - * @var boolean - */ - private $_deleteColumns = false; - - /** - * Delete rows - * - * @var boolean - */ - private $_deleteRows = false; - - /** - * Select locked cells - * - * @var boolean - */ - private $_selectLockedCells = false; - - /** - * Sort - * - * @var boolean - */ - private $_sort = false; - - /** - * AutoFilter - * - * @var boolean - */ - private $_autoFilter = false; - - /** - * Pivot tables - * - * @var boolean - */ - private $_pivotTables = false; - - /** - * Select unlocked cells - * - * @var boolean - */ - private $_selectUnlockedCells = false; - - /** - * Password - * - * @var string - */ - private $_password = ''; - - /** - * Create a new PHPExcel_Worksheet_Protection - */ - public function __construct() - { - } - - /** - * Is some sort of protection enabled? - * - * @return boolean - */ - function isProtectionEnabled() { - return $this->_sheet || - $this->_objects || - $this->_scenarios || - $this->_formatCells || - $this->_formatColumns || - $this->_formatRows || - $this->_insertColumns || - $this->_insertRows || - $this->_insertHyperlinks || - $this->_deleteColumns || - $this->_deleteRows || - $this->_selectLockedCells || - $this->_sort || - $this->_autoFilter || - $this->_pivotTables || - $this->_selectUnlockedCells; - } - - /** - * Get Sheet - * - * @return boolean - */ - function getSheet() { - return $this->_sheet; - } - - /** - * Set Sheet - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSheet($pValue = false) { - $this->_sheet = $pValue; - return $this; - } - - /** - * Get Objects - * - * @return boolean - */ - function getObjects() { - return $this->_objects; - } - - /** - * Set Objects - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setObjects($pValue = false) { - $this->_objects = $pValue; - return $this; - } - - /** - * Get Scenarios - * - * @return boolean - */ - function getScenarios() { - return $this->_scenarios; - } - - /** - * Set Scenarios - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setScenarios($pValue = false) { - $this->_scenarios = $pValue; - return $this; - } - - /** - * Get FormatCells - * - * @return boolean - */ - function getFormatCells() { - return $this->_formatCells; - } - - /** - * Set FormatCells - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setFormatCells($pValue = false) { - $this->_formatCells = $pValue; - return $this; - } - - /** - * Get FormatColumns - * - * @return boolean - */ - function getFormatColumns() { - return $this->_formatColumns; - } - - /** - * Set FormatColumns - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setFormatColumns($pValue = false) { - $this->_formatColumns = $pValue; - return $this; - } - - /** - * Get FormatRows - * - * @return boolean - */ - function getFormatRows() { - return $this->_formatRows; - } - - /** - * Set FormatRows - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setFormatRows($pValue = false) { - $this->_formatRows = $pValue; - return $this; - } - - /** - * Get InsertColumns - * - * @return boolean - */ - function getInsertColumns() { - return $this->_insertColumns; - } - - /** - * Set InsertColumns - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setInsertColumns($pValue = false) { - $this->_insertColumns = $pValue; - return $this; - } - - /** - * Get InsertRows - * - * @return boolean - */ - function getInsertRows() { - return $this->_insertRows; - } - - /** - * Set InsertRows - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setInsertRows($pValue = false) { - $this->_insertRows = $pValue; - return $this; - } - - /** - * Get InsertHyperlinks - * - * @return boolean - */ - function getInsertHyperlinks() { - return $this->_insertHyperlinks; - } - - /** - * Set InsertHyperlinks - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setInsertHyperlinks($pValue = false) { - $this->_insertHyperlinks = $pValue; - return $this; - } - - /** - * Get DeleteColumns - * - * @return boolean - */ - function getDeleteColumns() { - return $this->_deleteColumns; - } - - /** - * Set DeleteColumns - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setDeleteColumns($pValue = false) { - $this->_deleteColumns = $pValue; - return $this; - } - - /** - * Get DeleteRows - * - * @return boolean - */ - function getDeleteRows() { - return $this->_deleteRows; - } - - /** - * Set DeleteRows - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setDeleteRows($pValue = false) { - $this->_deleteRows = $pValue; - return $this; - } - - /** - * Get SelectLockedCells - * - * @return boolean - */ - function getSelectLockedCells() { - return $this->_selectLockedCells; - } - - /** - * Set SelectLockedCells - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSelectLockedCells($pValue = false) { - $this->_selectLockedCells = $pValue; - return $this; - } - - /** - * Get Sort - * - * @return boolean - */ - function getSort() { - return $this->_sort; - } - - /** - * Set Sort - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSort($pValue = false) { - $this->_sort = $pValue; - return $this; - } - - /** - * Get AutoFilter - * - * @return boolean - */ - function getAutoFilter() { - return $this->_autoFilter; - } - - /** - * Set AutoFilter - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setAutoFilter($pValue = false) { - $this->_autoFilter = $pValue; - return $this; - } - - /** - * Get PivotTables - * - * @return boolean - */ - function getPivotTables() { - return $this->_pivotTables; - } - - /** - * Set PivotTables - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setPivotTables($pValue = false) { - $this->_pivotTables = $pValue; - return $this; - } - - /** - * Get SelectUnlockedCells - * - * @return boolean - */ - function getSelectUnlockedCells() { - return $this->_selectUnlockedCells; - } - - /** - * Set SelectUnlockedCells - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSelectUnlockedCells($pValue = false) { - $this->_selectUnlockedCells = $pValue; - return $this; - } - - /** - * Get Password (hashed) - * - * @return string - */ - function getPassword() { - return $this->_password; - } - - /** - * Set Password - * - * @param string $pValue - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @return PHPExcel_Worksheet_Protection - */ - function setPassword($pValue = '', $pAlreadyHashed = false) { - if (!$pAlreadyHashed) { - $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue); - } - $this->_password = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Row.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Row.php deleted file mode 100644 index df16d33c2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/Row.php +++ /dev/null @@ -1,90 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Row - * - * Represents a row in PHPExcel_Worksheet, used by PHPExcel_Worksheet_RowIterator - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Row -{ - /** - * PHPExcel_Worksheet - * - * @var PHPExcel_Worksheet - */ - private $_parent; - - /** - * Row index - * - * @var int - */ - private $_rowIndex = 0; - - /** - * Create a new row - * - * @param PHPExcel_Worksheet $parent - * @param int $rowIndex - */ - public function __construct(PHPExcel_Worksheet $parent = null, $rowIndex = 1) { - // Set parent and row index - $this->_parent = $parent; - $this->_rowIndex = $rowIndex; - } - - /** - * Destructor - */ - public function __destruct() { - unset($this->_parent); - } - - /** - * Get row index - * - * @return int - */ - public function getRowIndex() { - return $this->_rowIndex; - } - - /** - * Get cell iterator - * - * @return PHPExcel_Worksheet_CellIterator - */ - public function getCellIterator() { - return new PHPExcel_Worksheet_CellIterator($this->_parent, $this->_rowIndex); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/RowDimension.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/RowDimension.php deleted file mode 100644 index bff89a080..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/RowDimension.php +++ /dev/null @@ -1,265 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_RowDimension - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_RowDimension -{ - /** - * Row index - * - * @var int - */ - private $_rowIndex; - - /** - * Row height (in pt) - * - * When this is set to a negative value, the row height should be ignored by IWriter - * - * @var double - */ - private $_rowHeight = -1; - - /** - * ZeroHeight for Row? - * - * @var bool - */ - private $_zeroHeight = false; - - /** - * Visible? - * - * @var bool - */ - private $_visible = true; - - /** - * Outline level - * - * @var int - */ - private $_outlineLevel = 0; - - /** - * Collapsed - * - * @var bool - */ - private $_collapsed = false; - - /** - * Index to cellXf. Null value means row has no explicit cellXf format. - * - * @var int|null - */ - private $_xfIndex; - - /** - * Create a new PHPExcel_Worksheet_RowDimension - * - * @param int $pIndex Numeric row index - */ - public function __construct($pIndex = 0) - { - // Initialise values - $this->_rowIndex = $pIndex; - - // set row dimension as unformatted by default - $this->_xfIndex = null; - } - - /** - * Get Row Index - * - * @return int - */ - public function getRowIndex() { - return $this->_rowIndex; - } - - /** - * Set Row Index - * - * @param int $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setRowIndex($pValue) { - $this->_rowIndex = $pValue; - return $this; - } - - /** - * Get Row Height - * - * @return double - */ - public function getRowHeight() { - return $this->_rowHeight; - } - - /** - * Set Row Height - * - * @param double $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setRowHeight($pValue = -1) { - $this->_rowHeight = $pValue; - return $this; - } - - /** - * Get ZeroHeight - * - * @return bool - */ - public function getZeroHeight() { - return $this->_zeroHeight; - } - - /** - * Set ZeroHeight - * - * @param bool $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setZeroHeight($pValue = false) { - $this->_zeroHeight = $pValue; - return $this; - } - - /** - * Get Visible - * - * @return bool - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set Visible - * - * @param bool $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setVisible($pValue = true) { - $this->_visible = $pValue; - return $this; - } - - /** - * Get Outline Level - * - * @return int - */ - public function getOutlineLevel() { - return $this->_outlineLevel; - } - - /** - * Set Outline Level - * - * Value must be between 0 and 7 - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_RowDimension - */ - public function setOutlineLevel($pValue) { - if ($pValue < 0 || $pValue > 7) { - throw new PHPExcel_Exception("Outline level must range between 0 and 7."); - } - - $this->_outlineLevel = $pValue; - return $this; - } - - /** - * Get Collapsed - * - * @return bool - */ - public function getCollapsed() { - return $this->_collapsed; - } - - /** - * Set Collapsed - * - * @param bool $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setCollapsed($pValue = true) { - $this->_collapsed = $pValue; - return $this; - } - - /** - * Get index to cellXf - * - * @return int - */ - public function getXfIndex() - { - return $this->_xfIndex; - } - - /** - * Set index to cellXf - * - * @param int $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setXfIndex($pValue = 0) - { - $this->_xfIndex = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/RowIterator.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/RowIterator.php deleted file mode 100644 index 642ec763d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/RowIterator.php +++ /dev/null @@ -1,148 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_RowIterator - * - * Used to iterate rows in a PHPExcel_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_RowIterator implements Iterator -{ - /** - * PHPExcel_Worksheet to iterate - * - * @var PHPExcel_Worksheet - */ - private $_subject; - - /** - * Current iterator position - * - * @var int - */ - private $_position = 1; - - /** - * Start position - * - * @var int - */ - private $_startRow = 1; - - - /** - * Create a new row iterator - * - * @param PHPExcel_Worksheet $subject The worksheet to iterate over - * @param integer $startRow The row number at which to start iterating - */ - public function __construct(PHPExcel_Worksheet $subject = null, $startRow = 1) { - // Set subject - $this->_subject = $subject; - $this->resetStart($startRow); - } - - /** - * Destructor - */ - public function __destruct() { - unset($this->_subject); - } - - /** - * (Re)Set the start row and the current row pointer - * - * @param integer $startRow The row number at which to start iterating - */ - public function resetStart($startRow = 1) { - $this->_startRow = $startRow; - $this->seek($startRow); - } - - /** - * Set the row pointer to the selected row - * - * @param integer $row The row number to set the current pointer at - */ - public function seek($row = 1) { - $this->_position = $row; - } - - /** - * Rewind the iterator to the starting row - */ - public function rewind() { - $this->_position = $this->_startRow; - } - - /** - * Return the current row in this worksheet - * - * @return PHPExcel_Worksheet_Row - */ - public function current() { - return new PHPExcel_Worksheet_Row($this->_subject, $this->_position); - } - - /** - * Return the current iterator key - * - * @return int - */ - public function key() { - return $this->_position; - } - - /** - * Set the iterator to its next value - */ - public function next() { - ++$this->_position; - } - - /** - * Set the iterator to its previous value - */ - public function prev() { - if ($this->_position > 1) - --$this->_position; - } - - /** - * Indicate if more rows exist in the worksheet - * - * @return boolean - */ - public function valid() { - return $this->_position <= $this->_subject->getHighestRow(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/SheetView.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/SheetView.php deleted file mode 100644 index 8ced835dd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/SheetView.php +++ /dev/null @@ -1,188 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_SheetView - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_SheetView -{ - - /* Sheet View types */ - const SHEETVIEW_NORMAL = 'normal'; - const SHEETVIEW_PAGE_LAYOUT = 'pageLayout'; - const SHEETVIEW_PAGE_BREAK_PREVIEW = 'pageBreakPreview'; - - private static $_sheetViewTypes = array( - self::SHEETVIEW_NORMAL, - self::SHEETVIEW_PAGE_LAYOUT, - self::SHEETVIEW_PAGE_BREAK_PREVIEW, - ); - - /** - * ZoomScale - * - * Valid values range from 10 to 400. - * - * @var int - */ - private $_zoomScale = 100; - - /** - * ZoomScaleNormal - * - * Valid values range from 10 to 400. - * - * @var int - */ - private $_zoomScaleNormal = 100; - - /** - * View - * - * Valid values range from 10 to 400. - * - * @var string - */ - private $_sheetviewType = self::SHEETVIEW_NORMAL; - - /** - * Create a new PHPExcel_Worksheet_SheetView - */ - public function __construct() - { - } - - /** - * Get ZoomScale - * - * @return int - */ - public function getZoomScale() { - return $this->_zoomScale; - } - - /** - * Set ZoomScale - * - * Valid values range from 10 to 400. - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_SheetView - */ - public function setZoomScale($pValue = 100) { - // Microsoft Office Excel 2007 only allows setting a scale between 10 and 400 via the user interface, - // but it is apparently still able to handle any scale >= 1 - if (($pValue >= 1) || is_null($pValue)) { - $this->_zoomScale = $pValue; - } else { - throw new PHPExcel_Exception("Scale must be greater than or equal to 1."); - } - return $this; - } - - /** - * Get ZoomScaleNormal - * - * @return int - */ - public function getZoomScaleNormal() { - return $this->_zoomScaleNormal; - } - - /** - * Set ZoomScale - * - * Valid values range from 10 to 400. - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_SheetView - */ - public function setZoomScaleNormal($pValue = 100) { - if (($pValue >= 1) || is_null($pValue)) { - $this->_zoomScaleNormal = $pValue; - } else { - throw new PHPExcel_Exception("Scale must be greater than or equal to 1."); - } - return $this; - } - - /** - * Get View - * - * @return string - */ - public function getView() { - return $this->_sheetviewType; - } - - /** - * Set View - * - * Valid values are - * 'normal' self::SHEETVIEW_NORMAL - * 'pageLayout' self::SHEETVIEW_PAGE_LAYOUT - * 'pageBreakPreview' self::SHEETVIEW_PAGE_BREAK_PREVIEW - * - * @param string $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_SheetView - */ - public function setView($pValue = NULL) { - // MS Excel 2007 allows setting the view to 'normal', 'pageLayout' or 'pageBreakPreview' - // via the user interface - if ($pValue === NULL) - $pValue = self::SHEETVIEW_NORMAL; - if (in_array($pValue, self::$_sheetViewTypes)) { - $this->_sheetviewType = $pValue; - } else { - throw new PHPExcel_Exception("Invalid sheetview layout type."); - } - - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Worksheet/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/WorksheetIterator.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/WorksheetIterator.php deleted file mode 100644 index ad17fd903..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/WorksheetIterator.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_WorksheetIterator - * - * Used to iterate worksheets in PHPExcel - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_WorksheetIterator implements Iterator -{ - /** - * Spreadsheet to iterate - * - * @var PHPExcel - */ - private $_subject; - - /** - * Current iterator position - * - * @var int - */ - private $_position = 0; - - /** - * Create a new worksheet iterator - * - * @param PHPExcel $subject - */ - public function __construct(PHPExcel $subject = null) - { - // Set subject - $this->_subject = $subject; - } - - /** - * Destructor - */ - public function __destruct() - { - unset($this->_subject); - } - - /** - * Rewind iterator - */ - public function rewind() - { - $this->_position = 0; - } - - /** - * Current PHPExcel_Worksheet - * - * @return PHPExcel_Worksheet - */ - public function current() - { - return $this->_subject->getSheet($this->_position); - } - - /** - * Current key - * - * @return int - */ - public function key() - { - return $this->_position; - } - - /** - * Next value - */ - public function next() - { - ++$this->_position; - } - - /** - * More PHPExcel_Worksheet instances available? - * - * @return boolean - */ - public function valid() - { - return $this->_position < $this->_subject->getSheetCount(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Abstract.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Abstract.php deleted file mode 100644 index fca6a60cc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Abstract.php +++ /dev/null @@ -1,158 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Abstract - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * Write charts that are defined in the workbook? - * Identifies whether the Writer should write definitions for any charts that exist in the PHPExcel object; - * - * @var boolean - */ - protected $_includeCharts = FALSE; - - /** - * Pre-calculate formulas - * Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are - * immediately available to MS Excel or other office spreadsheet viewer when opening the file - * - * @var boolean - */ - protected $_preCalculateFormulas = TRUE; - - /** - * Use disk caching where possible? - * - * @var boolean - */ - protected $_useDiskCaching = FALSE; - - /** - * Disk caching directory - * - * @var string - */ - protected $_diskCachingDirectory = './'; - - /** - * Write charts in workbook? - * If this is true, then the Writer will write definitions for any charts that exist in the PHPExcel object. - * If false (the default) it will ignore any charts defined in the PHPExcel object. - * - * @return boolean - */ - public function getIncludeCharts() { - return $this->_includeCharts; - } - - /** - * Set write charts in workbook - * Set to true, to advise the Writer to include any charts that exist in the PHPExcel object. - * Set to false (the default) to ignore charts. - * - * @param boolean $pValue - * @return PHPExcel_Writer_IWriter - */ - public function setIncludeCharts($pValue = FALSE) { - $this->_includeCharts = (boolean) $pValue; - return $this; - } - - /** - * Get Pre-Calculate Formulas flag - * If this is true (the default), then the writer will recalculate all formulae in a workbook when saving, - * so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet - * viewer when opening the file - * If false, then formulae are not calculated on save. This is faster for saving in PHPExcel, but slower - * when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself - * - * @return boolean - */ - public function getPreCalculateFormulas() { - return $this->_preCalculateFormulas; - } - - /** - * Set Pre-Calculate Formulas - * Set to true (the default) to advise the Writer to calculate all formulae on save - * Set to false to prevent precalculation of formulae on save. - * - * @param boolean $pValue Pre-Calculate Formulas? - * @return PHPExcel_Writer_IWriter - */ - public function setPreCalculateFormulas($pValue = TRUE) { - $this->_preCalculateFormulas = (boolean) $pValue; - return $this; - } - - /** - * Get use disk caching where possible? - * - * @return boolean - */ - public function getUseDiskCaching() { - return $this->_useDiskCaching; - } - - /** - * Set use disk caching where possible? - * - * @param boolean $pValue - * @param string $pDirectory Disk caching directory - * @throws PHPExcel_Writer_Exception when directory does not exist - * @return PHPExcel_Writer_Excel2007 - */ - public function setUseDiskCaching($pValue = FALSE, $pDirectory = NULL) { - $this->_useDiskCaching = $pValue; - - if ($pDirectory !== NULL) { - if (is_dir($pDirectory)) { - $this->_diskCachingDirectory = $pDirectory; - } else { - throw new PHPExcel_Writer_Exception("Directory does not exist: $pDirectory"); - } - } - return $this; - } - - /** - * Get disk caching directory - * - * @return string - */ - public function getDiskCachingDirectory() { - return $this->_diskCachingDirectory; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/CSV.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/CSV.php deleted file mode 100644 index 97961ccca..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/CSV.php +++ /dev/null @@ -1,310 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_CSV - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_CSV - * - * @category PHPExcel - * @package PHPExcel_Writer_CSV - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_CSV extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter { - /** - * PHPExcel object - * - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Delimiter - * - * @var string - */ - private $_delimiter = ','; - - /** - * Enclosure - * - * @var string - */ - private $_enclosure = '"'; - - /** - * Line ending - * - * @var string - */ - private $_lineEnding = PHP_EOL; - - /** - * Sheet index to write - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Whether to write a BOM (for UTF8). - * - * @var boolean - */ - private $_useBOM = false; - - /** - * Whether to write a fully Excel compatible CSV file. - * - * @var boolean - */ - private $_excelCompatibility = false; - - /** - * Create a new PHPExcel_Writer_CSV - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) { - $this->_phpExcel = $phpExcel; - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) { - // Fetch sheet - $sheet = $this->_phpExcel->getSheet($this->_sheetIndex); - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog(FALSE); - $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); - PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); - - // Open file - $fileHandle = fopen($pFilename, 'wb+'); - if ($fileHandle === false) { - throw new PHPExcel_Writer_Exception("Could not open file $pFilename for writing."); - } - - if ($this->_excelCompatibility) { - fwrite($fileHandle, "\xEF\xBB\xBF"); // Enforce UTF-8 BOM Header - $this->setEnclosure('"'); // Set enclosure to " - $this->setDelimiter(";"); // Set delimiter to a semi-colon - $this->setLineEnding("\r\n"); - fwrite($fileHandle, 'sep=' . $this->getDelimiter() . $this->_lineEnding); - } elseif ($this->_useBOM) { - // Write the UTF-8 BOM code if required - fwrite($fileHandle, "\xEF\xBB\xBF"); - } - - // Identify the range that we need to extract from the worksheet - $maxCol = $sheet->getHighestDataColumn(); - $maxRow = $sheet->getHighestDataRow(); - - // Write rows to file - for($row = 1; $row <= $maxRow; ++$row) { - // Convert the row to an array... - $cellsArray = $sheet->rangeToArray('A'.$row.':'.$maxCol.$row,'', $this->_preCalculateFormulas); - // ... and write to the file - $this->_writeLine($fileHandle, $cellsArray[0]); - } - - // Close file - fclose($fileHandle); - - PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); - } - - /** - * Get delimiter - * - * @return string - */ - public function getDelimiter() { - return $this->_delimiter; - } - - /** - * Set delimiter - * - * @param string $pValue Delimiter, defaults to , - * @return PHPExcel_Writer_CSV - */ - public function setDelimiter($pValue = ',') { - $this->_delimiter = $pValue; - return $this; - } - - /** - * Get enclosure - * - * @return string - */ - public function getEnclosure() { - return $this->_enclosure; - } - - /** - * Set enclosure - * - * @param string $pValue Enclosure, defaults to " - * @return PHPExcel_Writer_CSV - */ - public function setEnclosure($pValue = '"') { - if ($pValue == '') { - $pValue = null; - } - $this->_enclosure = $pValue; - return $this; - } - - /** - * Get line ending - * - * @return string - */ - public function getLineEnding() { - return $this->_lineEnding; - } - - /** - * Set line ending - * - * @param string $pValue Line ending, defaults to OS line ending (PHP_EOL) - * @return PHPExcel_Writer_CSV - */ - public function setLineEnding($pValue = PHP_EOL) { - $this->_lineEnding = $pValue; - return $this; - } - - /** - * Get whether BOM should be used - * - * @return boolean - */ - public function getUseBOM() { - return $this->_useBOM; - } - - /** - * Set whether BOM should be used - * - * @param boolean $pValue Use UTF-8 byte-order mark? Defaults to false - * @return PHPExcel_Writer_CSV - */ - public function setUseBOM($pValue = false) { - $this->_useBOM = $pValue; - return $this; - } - - /** - * Get whether the file should be saved with full Excel Compatibility - * - * @return boolean - */ - public function getExcelCompatibility() { - return $this->_excelCompatibility; - } - - /** - * Set whether the file should be saved with full Excel Compatibility - * - * @param boolean $pValue Set the file to be written as a fully Excel compatible csv file - * Note that this overrides other settings such as useBOM, enclosure and delimiter - * @return PHPExcel_Writer_CSV - */ - public function setExcelCompatibility($pValue = false) { - $this->_excelCompatibility = $pValue; - return $this; - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Writer_CSV - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - - /** - * Write line to CSV file - * - * @param mixed $pFileHandle PHP filehandle - * @param array $pValues Array containing values in a row - * @throws PHPExcel_Writer_Exception - */ - private function _writeLine($pFileHandle = null, $pValues = null) { - if (is_array($pValues)) { - // No leading delimiter - $writeDelimiter = false; - - // Build the line - $line = ''; - - foreach ($pValues as $element) { - // Escape enclosures - $element = str_replace($this->_enclosure, $this->_enclosure . $this->_enclosure, $element); - - // Add delimiter - if ($writeDelimiter) { - $line .= $this->_delimiter; - } else { - $writeDelimiter = true; - } - - // Add enclosed string - $line .= $this->_enclosure . $element . $this->_enclosure; - } - - // Add line ending - $line .= $this->_lineEnding; - - // Write to file - fwrite($pFileHandle, $line); - } else { - throw new PHPExcel_Writer_Exception("Invalid data row passed to CSV writer."); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007.php deleted file mode 100644 index 4cf14ac1c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007.php +++ /dev/null @@ -1,532 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007 - * - * @category PHPExcel - * @package PHPExcel_Writer_2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007 extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * Pre-calculate formulas - * Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are - * immediately available to MS Excel or other office spreadsheet viewer when opening the file - * - * Overrides the default TRUE for this specific writer for performance reasons - * - * @var boolean - */ - protected $_preCalculateFormulas = FALSE; - - /** - * Office2003 compatibility - * - * @var boolean - */ - private $_office2003compatibility = false; - - /** - * Private writer parts - * - * @var PHPExcel_Writer_Excel2007_WriterPart[] - */ - private $_writerParts = array(); - - /** - * Private PHPExcel - * - * @var PHPExcel - */ - private $_spreadSheet; - - /** - * Private string table - * - * @var string[] - */ - private $_stringTable = array(); - - /** - * Private unique PHPExcel_Style_Conditional HashTable - * - * @var PHPExcel_HashTable - */ - private $_stylesConditionalHashTable; - - /** - * Private unique PHPExcel_Style HashTable - * - * @var PHPExcel_HashTable - */ - private $_styleHashTable; - - /** - * Private unique PHPExcel_Style_Fill HashTable - * - * @var PHPExcel_HashTable - */ - private $_fillHashTable; - - /** - * Private unique PHPExcel_Style_Font HashTable - * - * @var PHPExcel_HashTable - */ - private $_fontHashTable; - - /** - * Private unique PHPExcel_Style_Borders HashTable - * - * @var PHPExcel_HashTable - */ - private $_bordersHashTable ; - - /** - * Private unique PHPExcel_Style_NumberFormat HashTable - * - * @var PHPExcel_HashTable - */ - private $_numFmtHashTable; - - /** - * Private unique PHPExcel_Worksheet_BaseDrawing HashTable - * - * @var PHPExcel_HashTable - */ - private $_drawingHashTable; - - /** - * Create a new PHPExcel_Writer_Excel2007 - * - * @param PHPExcel $pPHPExcel - */ - public function __construct(PHPExcel $pPHPExcel = null) - { - // Assign PHPExcel - $this->setPHPExcel($pPHPExcel); - - $writerPartsArray = array( 'stringtable' => 'PHPExcel_Writer_Excel2007_StringTable', - 'contenttypes' => 'PHPExcel_Writer_Excel2007_ContentTypes', - 'docprops' => 'PHPExcel_Writer_Excel2007_DocProps', - 'rels' => 'PHPExcel_Writer_Excel2007_Rels', - 'theme' => 'PHPExcel_Writer_Excel2007_Theme', - 'style' => 'PHPExcel_Writer_Excel2007_Style', - 'workbook' => 'PHPExcel_Writer_Excel2007_Workbook', - 'worksheet' => 'PHPExcel_Writer_Excel2007_Worksheet', - 'drawing' => 'PHPExcel_Writer_Excel2007_Drawing', - 'comments' => 'PHPExcel_Writer_Excel2007_Comments', - 'chart' => 'PHPExcel_Writer_Excel2007_Chart', - 'relsvba' => 'PHPExcel_Writer_Excel2007_RelsVBA', - 'relsribbonobjects' => 'PHPExcel_Writer_Excel2007_RelsRibbon' - ); - - // Initialise writer parts - // and Assign their parent IWriters - foreach ($writerPartsArray as $writer => $class) { - $this->_writerParts[$writer] = new $class($this); - } - - $hashTablesArray = array( '_stylesConditionalHashTable', '_fillHashTable', '_fontHashTable', - '_bordersHashTable', '_numFmtHashTable', '_drawingHashTable', - '_styleHashTable' - ); - - // Set HashTable variables - foreach ($hashTablesArray as $tableName) { - $this->$tableName = new PHPExcel_HashTable(); - } - } - - /** - * Get writer part - * - * @param string $pPartName Writer part name - * @return PHPExcel_Writer_Excel2007_WriterPart - */ - public function getWriterPart($pPartName = '') { - if ($pPartName != '' && isset($this->_writerParts[strtolower($pPartName)])) { - return $this->_writerParts[strtolower($pPartName)]; - } else { - return null; - } - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) - { - if ($this->_spreadSheet !== NULL) { - // garbage collect - $this->_spreadSheet->garbageCollect(); - - // If $pFilename is php://output or php://stdout, make it a temporary file... - $originalFilename = $pFilename; - if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') { - $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp'); - if ($pFilename == '') { - $pFilename = $originalFilename; - } - } - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->setWriteDebugLog(FALSE); - $saveDateReturnType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - - // Create string lookup table - $this->_stringTable = array(); - for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) { - $this->_stringTable = $this->getWriterPart('StringTable')->createStringTable($this->_spreadSheet->getSheet($i), $this->_stringTable); - } - - // Create styles dictionaries - $this->_styleHashTable->addFromSource( $this->getWriterPart('Style')->allStyles($this->_spreadSheet) ); - $this->_stylesConditionalHashTable->addFromSource( $this->getWriterPart('Style')->allConditionalStyles($this->_spreadSheet) ); - $this->_fillHashTable->addFromSource( $this->getWriterPart('Style')->allFills($this->_spreadSheet) ); - $this->_fontHashTable->addFromSource( $this->getWriterPart('Style')->allFonts($this->_spreadSheet) ); - $this->_bordersHashTable->addFromSource( $this->getWriterPart('Style')->allBorders($this->_spreadSheet) ); - $this->_numFmtHashTable->addFromSource( $this->getWriterPart('Style')->allNumberFormats($this->_spreadSheet) ); - - // Create drawing dictionary - $this->_drawingHashTable->addFromSource( $this->getWriterPart('Drawing')->allDrawings($this->_spreadSheet) ); - - // Create new ZIP file and open it for writing - $zipClass = PHPExcel_Settings::getZipClass(); - $objZip = new $zipClass(); - - // Retrieve OVERWRITE and CREATE constants from the instantiated zip class - // This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP - $ro = new ReflectionObject($objZip); - $zipOverWrite = $ro->getConstant('OVERWRITE'); - $zipCreate = $ro->getConstant('CREATE'); - - if (file_exists($pFilename)) { - unlink($pFilename); - } - // Try opening the ZIP file - if ($objZip->open($pFilename, $zipOverWrite) !== true) { - if ($objZip->open($pFilename, $zipCreate) !== true) { - throw new PHPExcel_Writer_Exception("Could not open " . $pFilename . " for writing."); - } - } - - // Add [Content_Types].xml to ZIP file - $objZip->addFromString('[Content_Types].xml', $this->getWriterPart('ContentTypes')->writeContentTypes($this->_spreadSheet, $this->_includeCharts)); - - //if hasMacros, add the vbaProject.bin file, Certificate file(if exists) - if($this->_spreadSheet->hasMacros()){ - $macrosCode=$this->_spreadSheet->getMacrosCode(); - if(!is_null($macrosCode)){// we have the code ? - $objZip->addFromString('xl/vbaProject.bin', $macrosCode);//allways in 'xl', allways named vbaProject.bin - if($this->_spreadSheet->hasMacrosCertificate()){//signed macros ? - // Yes : add the certificate file and the related rels file - $objZip->addFromString('xl/vbaProjectSignature.bin', $this->_spreadSheet->getMacrosCertificate()); - $objZip->addFromString('xl/_rels/vbaProject.bin.rels', - $this->getWriterPart('RelsVBA')->writeVBARelationships($this->_spreadSheet)); - } - } - } - //a custom UI in this workbook ? add it ("base" xml and additional objects (pictures) and rels) - if($this->_spreadSheet->hasRibbon()){ - $tmpRibbonTarget=$this->_spreadSheet->getRibbonXMLData('target'); - $objZip->addFromString($tmpRibbonTarget, $this->_spreadSheet->getRibbonXMLData('data')); - if($this->_spreadSheet->hasRibbonBinObjects()){ - $tmpRootPath=dirname($tmpRibbonTarget).'/'; - $ribbonBinObjects=$this->_spreadSheet->getRibbonBinObjects('data');//the files to write - foreach($ribbonBinObjects as $aPath=>$aContent){ - $objZip->addFromString($tmpRootPath.$aPath, $aContent); - } - //the rels for files - $objZip->addFromString($tmpRootPath.'_rels/'.basename($tmpRibbonTarget).'.rels', - $this->getWriterPart('RelsRibbonObjects')->writeRibbonRelationships($this->_spreadSheet)); - } - } - - // Add relationships to ZIP file - $objZip->addFromString('_rels/.rels', $this->getWriterPart('Rels')->writeRelationships($this->_spreadSheet)); - $objZip->addFromString('xl/_rels/workbook.xml.rels', $this->getWriterPart('Rels')->writeWorkbookRelationships($this->_spreadSheet)); - - // Add document properties to ZIP file - $objZip->addFromString('docProps/app.xml', $this->getWriterPart('DocProps')->writeDocPropsApp($this->_spreadSheet)); - $objZip->addFromString('docProps/core.xml', $this->getWriterPart('DocProps')->writeDocPropsCore($this->_spreadSheet)); - $customPropertiesPart = $this->getWriterPart('DocProps')->writeDocPropsCustom($this->_spreadSheet); - if ($customPropertiesPart !== NULL) { - $objZip->addFromString('docProps/custom.xml', $customPropertiesPart); - } - - // Add theme to ZIP file - $objZip->addFromString('xl/theme/theme1.xml', $this->getWriterPart('Theme')->writeTheme($this->_spreadSheet)); - - // Add string table to ZIP file - $objZip->addFromString('xl/sharedStrings.xml', $this->getWriterPart('StringTable')->writeStringTable($this->_stringTable)); - - // Add styles to ZIP file - $objZip->addFromString('xl/styles.xml', $this->getWriterPart('Style')->writeStyles($this->_spreadSheet)); - - // Add workbook to ZIP file - $objZip->addFromString('xl/workbook.xml', $this->getWriterPart('Workbook')->writeWorkbook($this->_spreadSheet, $this->_preCalculateFormulas)); - - $chartCount = 0; - // Add worksheets - for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) { - $objZip->addFromString('xl/worksheets/sheet' . ($i + 1) . '.xml', $this->getWriterPart('Worksheet')->writeWorksheet($this->_spreadSheet->getSheet($i), $this->_stringTable, $this->_includeCharts)); - if ($this->_includeCharts) { - $charts = $this->_spreadSheet->getSheet($i)->getChartCollection(); - if (count($charts) > 0) { - foreach($charts as $chart) { - $objZip->addFromString('xl/charts/chart' . ($chartCount + 1) . '.xml', $this->getWriterPart('Chart')->writeChart($chart)); - $chartCount++; - } - } - } - } - - $chartRef1 = $chartRef2 = 0; - // Add worksheet relationships (drawings, ...) - for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) { - - // Add relationships - $objZip->addFromString('xl/worksheets/_rels/sheet' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeWorksheetRelationships($this->_spreadSheet->getSheet($i), ($i + 1), $this->_includeCharts)); - - $drawings = $this->_spreadSheet->getSheet($i)->getDrawingCollection(); - $drawingCount = count($drawings); - if ($this->_includeCharts) { - $chartCount = $this->_spreadSheet->getSheet($i)->getChartCount(); - } - - // Add drawing and image relationship parts - if (($drawingCount > 0) || ($chartCount > 0)) { - // Drawing relationships - $objZip->addFromString('xl/drawings/_rels/drawing' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeDrawingRelationships($this->_spreadSheet->getSheet($i),$chartRef1, $this->_includeCharts)); - - // Drawings - $objZip->addFromString('xl/drawings/drawing' . ($i + 1) . '.xml', $this->getWriterPart('Drawing')->writeDrawings($this->_spreadSheet->getSheet($i),$chartRef2,$this->_includeCharts)); - } - - // Add comment relationship parts - if (count($this->_spreadSheet->getSheet($i)->getComments()) > 0) { - // VML Comments - $objZip->addFromString('xl/drawings/vmlDrawing' . ($i + 1) . '.vml', $this->getWriterPart('Comments')->writeVMLComments($this->_spreadSheet->getSheet($i))); - - // Comments - $objZip->addFromString('xl/comments' . ($i + 1) . '.xml', $this->getWriterPart('Comments')->writeComments($this->_spreadSheet->getSheet($i))); - } - - // Add header/footer relationship parts - if (count($this->_spreadSheet->getSheet($i)->getHeaderFooter()->getImages()) > 0) { - // VML Drawings - $objZip->addFromString('xl/drawings/vmlDrawingHF' . ($i + 1) . '.vml', $this->getWriterPart('Drawing')->writeVMLHeaderFooterImages($this->_spreadSheet->getSheet($i))); - - // VML Drawing relationships - $objZip->addFromString('xl/drawings/_rels/vmlDrawingHF' . ($i + 1) . '.vml.rels', $this->getWriterPart('Rels')->writeHeaderFooterDrawingRelationships($this->_spreadSheet->getSheet($i))); - - // Media - foreach ($this->_spreadSheet->getSheet($i)->getHeaderFooter()->getImages() as $image) { - $objZip->addFromString('xl/media/' . $image->getIndexedFilename(), file_get_contents($image->getPath())); - } - } - } - - // Add media - for ($i = 0; $i < $this->getDrawingHashTable()->count(); ++$i) { - if ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_Drawing) { - $imageContents = null; - $imagePath = $this->getDrawingHashTable()->getByIndex($i)->getPath(); - if (strpos($imagePath, 'zip://') !== false) { - $imagePath = substr($imagePath, 6); - $imagePathSplitted = explode('#', $imagePath); - - $imageZip = new ZipArchive(); - $imageZip->open($imagePathSplitted[0]); - $imageContents = $imageZip->getFromName($imagePathSplitted[1]); - $imageZip->close(); - unset($imageZip); - } else { - $imageContents = file_get_contents($imagePath); - } - - $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents); - } else if ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_MemoryDrawing) { - ob_start(); - call_user_func( - $this->getDrawingHashTable()->getByIndex($i)->getRenderingFunction(), - $this->getDrawingHashTable()->getByIndex($i)->getImageResource() - ); - $imageContents = ob_get_contents(); - ob_end_clean(); - - $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents); - } - } - - PHPExcel_Calculation_Functions::setReturnDateType($saveDateReturnType); - PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->setWriteDebugLog($saveDebugLog); - - // Close file - if ($objZip->close() === false) { - throw new PHPExcel_Writer_Exception("Could not close zip file $pFilename."); - } - - // If a temporary file was used, copy it to the correct file stream - if ($originalFilename != $pFilename) { - if (copy($pFilename, $originalFilename) === false) { - throw new PHPExcel_Writer_Exception("Could not copy temporary zip file $pFilename to $originalFilename."); - } - @unlink($pFilename); - } - } else { - throw new PHPExcel_Writer_Exception("PHPExcel object unassigned."); - } - } - - /** - * Get PHPExcel object - * - * @return PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function getPHPExcel() { - if ($this->_spreadSheet !== null) { - return $this->_spreadSheet; - } else { - throw new PHPExcel_Writer_Exception("No PHPExcel assigned."); - } - } - - /** - * Set PHPExcel object - * - * @param PHPExcel $pPHPExcel PHPExcel object - * @throws PHPExcel_Writer_Exception - * @return PHPExcel_Writer_Excel2007 - */ - public function setPHPExcel(PHPExcel $pPHPExcel = null) { - $this->_spreadSheet = $pPHPExcel; - return $this; - } - - /** - * Get string table - * - * @return string[] - */ - public function getStringTable() { - return $this->_stringTable; - } - - /** - * Get PHPExcel_Style HashTable - * - * @return PHPExcel_HashTable - */ - public function getStyleHashTable() { - return $this->_styleHashTable; - } - - /** - * Get PHPExcel_Style_Conditional HashTable - * - * @return PHPExcel_HashTable - */ - public function getStylesConditionalHashTable() { - return $this->_stylesConditionalHashTable; - } - - /** - * Get PHPExcel_Style_Fill HashTable - * - * @return PHPExcel_HashTable - */ - public function getFillHashTable() { - return $this->_fillHashTable; - } - - /** - * Get PHPExcel_Style_Font HashTable - * - * @return PHPExcel_HashTable - */ - public function getFontHashTable() { - return $this->_fontHashTable; - } - - /** - * Get PHPExcel_Style_Borders HashTable - * - * @return PHPExcel_HashTable - */ - public function getBordersHashTable() { - return $this->_bordersHashTable; - } - - /** - * Get PHPExcel_Style_NumberFormat HashTable - * - * @return PHPExcel_HashTable - */ - public function getNumFmtHashTable() { - return $this->_numFmtHashTable; - } - - /** - * Get PHPExcel_Worksheet_BaseDrawing HashTable - * - * @return PHPExcel_HashTable - */ - public function getDrawingHashTable() { - return $this->_drawingHashTable; - } - - /** - * Get Office2003 compatibility - * - * @return boolean - */ - public function getOffice2003Compatibility() { - return $this->_office2003compatibility; - } - - /** - * Set Office2003 compatibility - * - * @param boolean $pValue Office2003 compatibility? - * @return PHPExcel_Writer_Excel2007 - */ - public function setOffice2003Compatibility($pValue = false) { - $this->_office2003compatibility = $pValue; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Chart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Chart.php deleted file mode 100644 index ceb750ade..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Chart.php +++ /dev/null @@ -1,1606 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Writer_Excel2007_Chart - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Chart extends - PHPExcel_Writer_Excel2007_WriterPart { - - /** - * Write charts to XML format - * - * @param PHPExcel_Chart $pChart - * - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeChart(PHPExcel_Chart $pChart = NULL) { - // Create XML writer - $objWriter = NULL; - if ($this->getParentWriter() - ->getUseDiskCaching() - ) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter() - ->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - // Ensure that data series values are up-to-date before we save - $pChart->refresh(); - - // XML header - $objWriter->startDocument('1.0', 'UTF-8', 'yes'); - - // c:chartSpace - $objWriter->startElement('c:chartSpace'); - $objWriter->writeAttribute('xmlns:c', 'http://schemas.openxmlformats.org/drawingml/2006/chart'); - $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - $objWriter->startElement('c:date1904'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - $objWriter->startElement('c:lang'); - $objWriter->writeAttribute('val', "en-GB"); - $objWriter->endElement(); - $objWriter->startElement('c:roundedCorners'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $this->_writeAlternateContent($objWriter); - - $objWriter->startElement('c:chart'); - - $this->_writeTitle($pChart->getTitle(), $objWriter); - - $objWriter->startElement('c:autoTitleDeleted'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $this->_writePlotArea( - $pChart->getPlotArea(), - $pChart->getXAxisLabel(), - $pChart->getYAxisLabel(), - $objWriter, - $pChart->getWorksheet(), - $pChart->getChartAxisX(), - $pChart->getChartAxisY(), - $pChart->getMajorGridlines(), - $pChart->getMinorGridlines() - ); - - $this->_writeLegend($pChart->getLegend(), $objWriter); - - $objWriter->startElement('c:plotVisOnly'); - $objWriter->writeAttribute('val', 1); - $objWriter->endElement(); - - $objWriter->startElement('c:dispBlanksAs'); - $objWriter->writeAttribute('val', "gap"); - $objWriter->endElement(); - - $objWriter->startElement('c:showDLblsOverMax'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - $this->_writePrintSettings($objWriter); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write Chart Title - * - * @param PHPExcel_Chart_Title $title - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeTitle(PHPExcel_Chart_Title $title = NULL, $objWriter) { - if (is_null($title)) { - return; - } - - $objWriter->startElement('c:title'); - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:rich'); - - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - - $caption = $title->getCaption(); - if ((is_array($caption)) && (count($caption) > 0)) { - $caption = $caption[0]; - } - $this->getParentWriter() - ->getWriterPart('stringtable') - ->writeRichTextForCharts($objWriter, $caption, 'a'); - - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $layout = $title->getLayout(); - $this->_writeLayout($layout, $objWriter); - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Chart Legend - * - * @param PHPExcel_Chart_Legend $legend - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeLegend(PHPExcel_Chart_Legend $legend = NULL, $objWriter) { - if (is_null($legend)) { - return; - } - - $objWriter->startElement('c:legend'); - - $objWriter->startElement('c:legendPos'); - $objWriter->writeAttribute('val', $legend->getPosition()); - $objWriter->endElement(); - - $layout = $legend->getLayout(); - $this->_writeLayout($layout, $objWriter); - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', ($legend->getOverlay()) ? '1' : '0'); - $objWriter->endElement(); - - $objWriter->startElement('c:txPr'); - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - $objWriter->startElement('a:pPr'); - $objWriter->writeAttribute('rtl', 0); - - $objWriter->startElement('a:defRPr'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('a:endParaRPr'); - $objWriter->writeAttribute('lang', "en-US"); - $objWriter->endElement(); - - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Chart Plot Area - * - * @param PHPExcel_Chart_PlotArea $plotArea - * @param PHPExcel_Chart_Title $xAxisLabel - * @param PHPExcel_Chart_Title $yAxisLabel - * @param PHPExcel_Chart_Axis $xAxis - * @param PHPExcel_Chart_Axis $yAxis - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotArea(PHPExcel_Chart_PlotArea $plotArea, - PHPExcel_Chart_Title $xAxisLabel = NULL, - PHPExcel_Chart_Title $yAxisLabel = NULL, - $objWriter, - PHPExcel_Worksheet $pSheet, - PHPExcel_Chart_Axis $xAxis, - PHPExcel_Chart_Axis $yAxis, - PHPExcel_Chart_Gridlines $majorGridlines, - PHPExcel_Chart_Gridlines $minorGridlines - ) { - if (is_null($plotArea)) { - return; - } - - $id1 = $id2 = 0; - $this->_seriesIndex = 0; - $objWriter->startElement('c:plotArea'); - - $layout = $plotArea->getLayout(); - - $this->_writeLayout($layout, $objWriter); - - $chartTypes = self::_getChartType($plotArea); - $catIsMultiLevelSeries = $valIsMultiLevelSeries = FALSE; - $plotGroupingType = ''; - foreach ($chartTypes as $chartType) { - $objWriter->startElement('c:' . $chartType); - - $groupCount = $plotArea->getPlotGroupCount(); - for ($i = 0; $i < $groupCount; ++$i) { - $plotGroup = $plotArea->getPlotGroupByIndex($i); - $groupType = $plotGroup->getPlotType(); - if ($groupType == $chartType) { - - $plotStyle = $plotGroup->getPlotStyle(); - if ($groupType === PHPExcel_Chart_DataSeries::TYPE_RADARCHART) { - $objWriter->startElement('c:radarStyle'); - $objWriter->writeAttribute('val', $plotStyle); - $objWriter->endElement(); - } elseif ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) { - $objWriter->startElement('c:scatterStyle'); - $objWriter->writeAttribute('val', $plotStyle); - $objWriter->endElement(); - } - - $this->_writePlotGroup($plotGroup, $chartType, $objWriter, $catIsMultiLevelSeries, $valIsMultiLevelSeries, $plotGroupingType, $pSheet); - } - } - - $this->_writeDataLbls($objWriter, $layout); - - if ($chartType === PHPExcel_Chart_DataSeries::TYPE_LINECHART) { - // Line only, Line3D can't be smoothed - - $objWriter->startElement('c:smooth'); - $objWriter->writeAttribute('val', (integer) $plotGroup->getSmoothLine()); - $objWriter->endElement(); - } elseif (($chartType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) || - ($chartType === PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) - ) { - - $objWriter->startElement('c:gapWidth'); - $objWriter->writeAttribute('val', 150); - $objWriter->endElement(); - - if ($plotGroupingType == 'percentStacked' || - $plotGroupingType == 'stacked' - ) { - - $objWriter->startElement('c:overlap'); - $objWriter->writeAttribute('val', 100); - $objWriter->endElement(); - } - } elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - - $objWriter->startElement('c:bubbleScale'); - $objWriter->writeAttribute('val', 25); - $objWriter->endElement(); - - $objWriter->startElement('c:showNegBubbles'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) { - - $objWriter->startElement('c:hiLowLines'); - $objWriter->endElement(); - - $objWriter->startElement('c:upDownBars'); - - $objWriter->startElement('c:gapWidth'); - $objWriter->writeAttribute('val', 300); - $objWriter->endElement(); - - $objWriter->startElement('c:upBars'); - $objWriter->endElement(); - - $objWriter->startElement('c:downBars'); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - // Generate 2 unique numbers to use for axId values - // $id1 = $id2 = rand(10000000,99999999); - // do { - // $id2 = rand(10000000,99999999); - // } while ($id1 == $id2); - $id1 = '75091328'; - $id2 = '75089408'; - - if (($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id1); - $objWriter->endElement(); - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - } else { - $objWriter->startElement('c:firstSliceAng'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - if ($chartType === PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) { - - $objWriter->startElement('c:holeSize'); - $objWriter->writeAttribute('val', 50); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } - - if (($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - if ($chartType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $this->_writeValAx($objWriter, $plotArea, $xAxisLabel, $chartType, $id1, $id2, $catIsMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines); - } else { - $this->_writeCatAx($objWriter, $plotArea, $xAxisLabel, $chartType, $id1, $id2, $catIsMultiLevelSeries, $xAxis, $yAxis); - } - - $this->_writeValAx($objWriter, $plotArea, $yAxisLabel, $chartType, $id1, $id2, $valIsMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines); - } - - $objWriter->endElement(); - } - - /** - * Write Data Labels - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart_Layout $chartLayout Chart layout - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeDataLbls($objWriter, $chartLayout) { - $objWriter->startElement('c:dLbls'); - - $objWriter->startElement('c:showLegendKey'); - $showLegendKey = (empty($chartLayout)) ? 0 : $chartLayout->getShowLegendKey(); - $objWriter->writeAttribute('val', ((empty($showLegendKey)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showVal'); - $showVal = (empty($chartLayout)) ? 0 : $chartLayout->getShowVal(); - $objWriter->writeAttribute('val', ((empty($showVal)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showCatName'); - $showCatName = (empty($chartLayout)) ? 0 : $chartLayout->getShowCatName(); - $objWriter->writeAttribute('val', ((empty($showCatName)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showSerName'); - $showSerName = (empty($chartLayout)) ? 0 : $chartLayout->getShowSerName(); - $objWriter->writeAttribute('val', ((empty($showSerName)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showPercent'); - $showPercent = (empty($chartLayout)) ? 0 : $chartLayout->getShowPercent(); - $objWriter->writeAttribute('val', ((empty($showPercent)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showBubbleSize'); - $showBubbleSize = (empty($chartLayout)) ? 0 : $chartLayout->getShowBubbleSize(); - $objWriter->writeAttribute('val', ((empty($showBubbleSize)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showLeaderLines'); - $showLeaderLines = (empty($chartLayout)) ? 1 : $chartLayout->getShowLeaderLines(); - $objWriter->writeAttribute('val', ((empty($showLeaderLines)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Category Axis - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart_PlotArea $plotArea - * @param PHPExcel_Chart_Title $xAxisLabel - * @param string $groupType Chart type - * @param string $id1 - * @param string $id2 - * @param boolean $isMultiLevelSeries - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeCatAx($objWriter, PHPExcel_Chart_PlotArea $plotArea, $xAxisLabel, $groupType, $id1, $id2, $isMultiLevelSeries, $xAxis, $yAxis) { - $objWriter->startElement('c:catAx'); - - if ($id1 > 0) { - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id1); - $objWriter->endElement(); - } - - $objWriter->startElement('c:scaling'); - $objWriter->startElement('c:orientation'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('orientation')); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('c:delete'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->startElement('c:axPos'); - $objWriter->writeAttribute('val', "b"); - $objWriter->endElement(); - - if (!is_null($xAxisLabel)) { - $objWriter->startElement('c:title'); - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:rich'); - - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - $objWriter->startElement('a:r'); - - $caption = $xAxisLabel->getCaption(); - if (is_array($caption)) { - $caption = $caption[0]; - } - $objWriter->startElement('a:t'); - // $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($caption)); - $objWriter->endElement(); - - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $layout = $xAxisLabel->getLayout(); - $this->_writeLayout($layout, $objWriter); - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - } - - $objWriter->startElement('c:numFmt'); - $objWriter->writeAttribute('formatCode', $yAxis->getAxisNumberFormat()); - $objWriter->writeAttribute('sourceLinked', $yAxis->getAxisNumberSourceLinked()); - $objWriter->endElement(); - - $objWriter->startElement('c:majorTickMark'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('major_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:minorTickMark'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('minor_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:tickLblPos'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('axis_labels')); - $objWriter->endElement(); - - if ($id2 > 0) { - $objWriter->startElement('c:crossAx'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - - $objWriter->startElement('c:crosses'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('horizontal_crosses')); - $objWriter->endElement(); - } - - $objWriter->startElement('c:auto'); - $objWriter->writeAttribute('val', 1); - $objWriter->endElement(); - - $objWriter->startElement('c:lblAlgn'); - $objWriter->writeAttribute('val', "ctr"); - $objWriter->endElement(); - - $objWriter->startElement('c:lblOffset'); - $objWriter->writeAttribute('val', 100); - $objWriter->endElement(); - - if ($isMultiLevelSeries) { - $objWriter->startElement('c:noMultiLvlLbl'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - $objWriter->endElement(); - } - - /** - * Write Value Axis - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart_PlotArea $plotArea - * @param PHPExcel_Chart_Title $yAxisLabel - * @param string $groupType Chart type - * @param string $id1 - * @param string $id2 - * @param boolean $isMultiLevelSeries - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeValAx($objWriter, PHPExcel_Chart_PlotArea $plotArea, $yAxisLabel, $groupType, $id1, $id2, $isMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines) { - $objWriter->startElement('c:valAx'); - - if ($id2 > 0) { - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - } - - $objWriter->startElement('c:scaling'); - $objWriter->startElement('c:orientation'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('orientation')); - - if (!is_null($xAxis->getAxisOptionsProperty('maximum'))) { - $objWriter->startElement('c:max'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('maximum')); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getAxisOptionsProperty('minimum'))) { - $objWriter->startElement('c:min'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minimum')); - $objWriter->endElement(); - } - - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('c:delete'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->startElement('c:axPos'); - $objWriter->writeAttribute('val', "l"); - $objWriter->endElement(); - - $objWriter->startElement('c:majorGridlines'); - $objWriter->startElement('c:spPr'); - - if (!is_null($majorGridlines->getLineColorProperty('value'))) { - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', $majorGridlines->getLineStyleProperty('width')); - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:{$majorGridlines->getLineColorProperty('type')}"); - $objWriter->writeAttribute('val', $majorGridlines->getLineColorProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $majorGridlines->getLineColorProperty('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end srgbClr - $objWriter->endElement(); //end solidFill - - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', $majorGridlines->getLineStyleProperty('dash')); - $objWriter->endElement(); - - if ($majorGridlines->getLineStyleProperty('join') == 'miter') { - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - } else { - $objWriter->startElement('a:bevel'); - $objWriter->endElement(); - } - - if (!is_null($majorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')))) { - $objWriter->startElement('a:headEnd'); - $objWriter->writeAttribute('type', $majorGridlines->getLineStyleProperty(array('arrow', 'head', 'type'))); - $objWriter->writeAttribute('w', $majorGridlines->getLineStyleArrowParameters('head', 'w')); - $objWriter->writeAttribute('len', $majorGridlines->getLineStyleArrowParameters('head', 'len')); - $objWriter->endElement(); - } - - if (!is_null($majorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')))) { - $objWriter->startElement('a:tailEnd'); - $objWriter->writeAttribute('type', $majorGridlines->getLineStyleProperty(array('arrow', 'end', 'type'))); - $objWriter->writeAttribute('w', $majorGridlines->getLineStyleArrowParameters('end', 'w')); - $objWriter->writeAttribute('len', $majorGridlines->getLineStyleArrowParameters('end', 'len')); - $objWriter->endElement(); - } - $objWriter->endElement(); //end ln - } - $objWriter->startElement('a:effectLst'); - - if (!is_null($majorGridlines->getGlowSize())) { - $objWriter->startElement('a:glow'); - $objWriter->writeAttribute('rad', $majorGridlines->getGlowSize()); - $objWriter->startElement("a:{$majorGridlines->getGlowColor('type')}"); - $objWriter->writeAttribute('val', $majorGridlines->getGlowColor('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $majorGridlines->getGlowColor('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end schemeClr - $objWriter->endElement(); //end glow - } - - if (!is_null($majorGridlines->getShadowProperty('presets'))) { - $objWriter->startElement("a:{$majorGridlines->getShadowProperty('effect')}"); - if (!is_null($majorGridlines->getShadowProperty('blur'))) { - $objWriter->writeAttribute('blurRad', $majorGridlines->getShadowProperty('blur')); - } - if (!is_null($majorGridlines->getShadowProperty('distance'))) { - $objWriter->writeAttribute('dist', $majorGridlines->getShadowProperty('distance')); - } - if (!is_null($majorGridlines->getShadowProperty('direction'))) { - $objWriter->writeAttribute('dir', $majorGridlines->getShadowProperty('direction')); - } - if (!is_null($majorGridlines->getShadowProperty('algn'))) { - $objWriter->writeAttribute('algn', $majorGridlines->getShadowProperty('algn')); - } - if (!is_null($majorGridlines->getShadowProperty(array('size', 'sx')))) { - $objWriter->writeAttribute('sx', $majorGridlines->getShadowProperty(array('size', 'sx'))); - } - if (!is_null($majorGridlines->getShadowProperty(array('size', 'sy')))) { - $objWriter->writeAttribute('sy', $majorGridlines->getShadowProperty(array('size', 'sy'))); - } - if (!is_null($majorGridlines->getShadowProperty(array('size', 'kx')))) { - $objWriter->writeAttribute('kx', $majorGridlines->getShadowProperty(array('size', 'kx'))); - } - if (!is_null($majorGridlines->getShadowProperty('rotWithShape'))) { - $objWriter->writeAttribute('rotWithShape', $majorGridlines->getShadowProperty('rotWithShape')); - } - $objWriter->startElement("a:{$majorGridlines->getShadowProperty(array('color', 'type'))}"); - $objWriter->writeAttribute('val', $majorGridlines->getShadowProperty(array('color', 'value'))); - - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $majorGridlines->getShadowProperty(array('color', 'alpha'))); - $objWriter->endElement(); //end alpha - - $objWriter->endElement(); //end color:type - $objWriter->endElement(); //end shadow - } - - if (!is_null($majorGridlines->getSoftEdgesSize())) { - $objWriter->startElement('a:softEdge'); - $objWriter->writeAttribute('rad', $majorGridlines->getSoftEdgesSize()); - $objWriter->endElement(); //end softEdge - } - - $objWriter->endElement(); //end effectLst - $objWriter->endElement(); //end spPr - $objWriter->endElement(); //end majorGridLines - - if ($minorGridlines->getObjectState()) { - $objWriter->startElement('c:minorGridlines'); - $objWriter->startElement('c:spPr'); - - if (!is_null($minorGridlines->getLineColorProperty('value'))) { - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', $minorGridlines->getLineStyleProperty('width')); - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:{$minorGridlines->getLineColorProperty('type')}"); - $objWriter->writeAttribute('val', $minorGridlines->getLineColorProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $minorGridlines->getLineColorProperty('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end srgbClr - $objWriter->endElement(); //end solidFill - - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', $minorGridlines->getLineStyleProperty('dash')); - $objWriter->endElement(); - - if ($minorGridlines->getLineStyleProperty('join') == 'miter') { - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - } else { - $objWriter->startElement('a:bevel'); - $objWriter->endElement(); - } - - if (!is_null($minorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')))) { - $objWriter->startElement('a:headEnd'); - $objWriter->writeAttribute('type', $minorGridlines->getLineStyleProperty(array('arrow', 'head', 'type'))); - $objWriter->writeAttribute('w', $minorGridlines->getLineStyleArrowParameters('head', 'w')); - $objWriter->writeAttribute('len', $minorGridlines->getLineStyleArrowParameters('head', 'len')); - $objWriter->endElement(); - } - - if (!is_null($minorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')))) { - $objWriter->startElement('a:tailEnd'); - $objWriter->writeAttribute('type', $minorGridlines->getLineStyleProperty(array('arrow', 'end', 'type'))); - $objWriter->writeAttribute('w', $minorGridlines->getLineStyleArrowParameters('end', 'w')); - $objWriter->writeAttribute('len', $minorGridlines->getLineStyleArrowParameters('end', 'len')); - $objWriter->endElement(); - } - $objWriter->endElement(); //end ln - } - - $objWriter->startElement('a:effectLst'); - - if (!is_null($minorGridlines->getGlowSize())) { - $objWriter->startElement('a:glow'); - $objWriter->writeAttribute('rad', $minorGridlines->getGlowSize()); - $objWriter->startElement("a:{$minorGridlines->getGlowColor('type')}"); - $objWriter->writeAttribute('val', $minorGridlines->getGlowColor('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $minorGridlines->getGlowColor('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end schemeClr - $objWriter->endElement(); //end glow - } - - if (!is_null($minorGridlines->getShadowProperty('presets'))) { - $objWriter->startElement("a:{$minorGridlines->getShadowProperty('effect')}"); - if (!is_null($minorGridlines->getShadowProperty('blur'))) { - $objWriter->writeAttribute('blurRad', $minorGridlines->getShadowProperty('blur')); - } - if (!is_null($minorGridlines->getShadowProperty('distance'))) { - $objWriter->writeAttribute('dist', $minorGridlines->getShadowProperty('distance')); - } - if (!is_null($minorGridlines->getShadowProperty('direction'))) { - $objWriter->writeAttribute('dir', $minorGridlines->getShadowProperty('direction')); - } - if (!is_null($minorGridlines->getShadowProperty('algn'))) { - $objWriter->writeAttribute('algn', $minorGridlines->getShadowProperty('algn')); - } - if (!is_null($minorGridlines->getShadowProperty(array('size', 'sx')))) { - $objWriter->writeAttribute('sx', $minorGridlines->getShadowProperty(array('size', 'sx'))); - } - if (!is_null($minorGridlines->getShadowProperty(array('size', 'sy')))) { - $objWriter->writeAttribute('sy', $minorGridlines->getShadowProperty(array('size', 'sy'))); - } - if (!is_null($minorGridlines->getShadowProperty(array('size', 'kx')))) { - $objWriter->writeAttribute('kx', $minorGridlines->getShadowProperty(array('size', 'kx'))); - } - if (!is_null($minorGridlines->getShadowProperty('rotWithShape'))) { - $objWriter->writeAttribute('rotWithShape', $minorGridlines->getShadowProperty('rotWithShape')); - } - $objWriter->startElement("a:{$minorGridlines->getShadowProperty(array('color', 'type'))}"); - $objWriter->writeAttribute('val', $minorGridlines->getShadowProperty(array('color', 'value'))); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $minorGridlines->getShadowProperty(array('color', 'alpha'))); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end color:type - $objWriter->endElement(); //end shadow - } - - if (!is_null($minorGridlines->getSoftEdgesSize())) { - $objWriter->startElement('a:softEdge'); - $objWriter->writeAttribute('rad', $minorGridlines->getSoftEdgesSize()); - $objWriter->endElement(); //end softEdge - } - - $objWriter->endElement(); //end effectLst - $objWriter->endElement(); //end spPr - $objWriter->endElement(); //end minorGridLines - } - - if (!is_null($yAxisLabel)) { - - $objWriter->startElement('c:title'); - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:rich'); - - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - $objWriter->startElement('a:r'); - - $caption = $yAxisLabel->getCaption(); - if (is_array($caption)) { - $caption = $caption[0]; - } - - $objWriter->startElement('a:t'); - // $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($caption)); - $objWriter->endElement(); - - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $layout = $yAxisLabel->getLayout(); - $this->_writeLayout($layout, $objWriter); - } - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - $objWriter->startElement('c:numFmt'); - $objWriter->writeAttribute('formatCode', $xAxis->getAxisNumberFormat()); - $objWriter->writeAttribute('sourceLinked', $xAxis->getAxisNumberSourceLinked()); - $objWriter->endElement(); - - $objWriter->startElement('c:majorTickMark'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('major_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:minorTickMark'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minor_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:tickLblPos'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('axis_labels')); - $objWriter->endElement(); - - $objWriter->startElement('c:spPr'); - - if (!is_null($xAxis->getFillProperty('value'))) { - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:" . $xAxis->getFillProperty('type')); - $objWriter->writeAttribute('val', $xAxis->getFillProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getFillProperty('alpha')); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - $objWriter->startElement('a:ln'); - - $objWriter->writeAttribute('w', $xAxis->getLineStyleProperty('width')); - $objWriter->writeAttribute('cap', $xAxis->getLineStyleProperty('cap')); - $objWriter->writeAttribute('cmpd', $xAxis->getLineStyleProperty('compound')); - - if (!is_null($xAxis->getLineProperty('value'))) { - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:" . $xAxis->getLineProperty('type')); - $objWriter->writeAttribute('val', $xAxis->getLineProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getLineProperty('alpha')); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', $xAxis->getLineStyleProperty('dash')); - $objWriter->endElement(); - - if ($xAxis->getLineStyleProperty('join') == 'miter') { - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - } else { - $objWriter->startElement('a:bevel'); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getLineStyleProperty(array('arrow', 'head', 'type')))) { - $objWriter->startElement('a:headEnd'); - $objWriter->writeAttribute('type', $xAxis->getLineStyleProperty(array('arrow', 'head', 'type'))); - $objWriter->writeAttribute('w', $xAxis->getLineStyleArrowWidth('head')); - $objWriter->writeAttribute('len', $xAxis->getLineStyleArrowLength('head')); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getLineStyleProperty(array('arrow', 'end', 'type')))) { - $objWriter->startElement('a:tailEnd'); - $objWriter->writeAttribute('type', $xAxis->getLineStyleProperty(array('arrow', 'end', 'type'))); - $objWriter->writeAttribute('w', $xAxis->getLineStyleArrowWidth('end')); - $objWriter->writeAttribute('len', $xAxis->getLineStyleArrowLength('end')); - $objWriter->endElement(); - } - - $objWriter->endElement(); - - $objWriter->startElement('a:effectLst'); - - if (!is_null($xAxis->getGlowProperty('size'))) { - $objWriter->startElement('a:glow'); - $objWriter->writeAttribute('rad', $xAxis->getGlowProperty('size')); - $objWriter->startElement("a:{$xAxis->getGlowProperty(array('color','type'))}"); - $objWriter->writeAttribute('val', $xAxis->getGlowProperty(array('color','value'))); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getGlowProperty(array('color','alpha'))); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getShadowProperty('presets'))) { - $objWriter->startElement("a:{$xAxis->getShadowProperty('effect')}"); - - if (!is_null($xAxis->getShadowProperty('blur'))) { - $objWriter->writeAttribute('blurRad', $xAxis->getShadowProperty('blur')); - } - if (!is_null($xAxis->getShadowProperty('distance'))) { - $objWriter->writeAttribute('dist', $xAxis->getShadowProperty('distance')); - } - if (!is_null($xAxis->getShadowProperty('direction'))) { - $objWriter->writeAttribute('dir', $xAxis->getShadowProperty('direction')); - } - if (!is_null($xAxis->getShadowProperty('algn'))) { - $objWriter->writeAttribute('algn', $xAxis->getShadowProperty('algn')); - } - if (!is_null($xAxis->getShadowProperty(array('size','sx')))) { - $objWriter->writeAttribute('sx', $xAxis->getShadowProperty(array('size','sx'))); - } - if (!is_null($xAxis->getShadowProperty(array('size','sy')))) { - $objWriter->writeAttribute('sy', $xAxis->getShadowProperty(array('size','sy'))); - } - if (!is_null($xAxis->getShadowProperty(array('size','kx')))) { - $objWriter->writeAttribute('kx', $xAxis->getShadowProperty(array('size','kx'))); - } - if (!is_null($xAxis->getShadowProperty('rotWithShape'))) { - $objWriter->writeAttribute('rotWithShape', $xAxis->getShadowProperty('rotWithShape')); - } - - $objWriter->startElement("a:{$xAxis->getShadowProperty(array('color','type'))}"); - $objWriter->writeAttribute('val', $xAxis->getShadowProperty(array('color','value'))); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getShadowProperty(array('color','alpha'))); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - if (!is_null($xAxis->getSoftEdgesSize())) { - $objWriter->startElement('a:softEdge'); - $objWriter->writeAttribute('rad', $xAxis->getSoftEdgesSize()); - $objWriter->endElement(); - } - - $objWriter->endElement(); //effectList - $objWriter->endElement(); //end spPr - - if ($id1 > 0) { - $objWriter->startElement('c:crossAx'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - - if (!is_null($xAxis->getAxisOptionsProperty('horizontal_crosses_value'))) { - $objWriter->startElement('c:crossesAt'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('horizontal_crosses_value')); - $objWriter->endElement(); - } else { - $objWriter->startElement('c:crosses'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('horizontal_crosses')); - $objWriter->endElement(); - } - - $objWriter->startElement('c:crossBetween'); - $objWriter->writeAttribute('val', "midCat"); - $objWriter->endElement(); - - if (!is_null($xAxis->getAxisOptionsProperty('major_unit'))) { - $objWriter->startElement('c:majorUnit'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('major_unit')); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getAxisOptionsProperty('minor_unit'))) { - $objWriter->startElement('c:minorUnit'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minor_unit')); - $objWriter->endElement(); - } - - } - - if ($isMultiLevelSeries) { - if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $objWriter->startElement('c:noMultiLvlLbl'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - - } - - /** - * Get the data series type(s) for a chart plot series - * - * @param PHPExcel_Chart_PlotArea $plotArea - * - * @return string|array - * @throws PHPExcel_Writer_Exception - */ - private - static function _getChartType($plotArea) { - $groupCount = $plotArea->getPlotGroupCount(); - - if ($groupCount == 1) { - $chartType = array( - $plotArea->getPlotGroupByIndex(0) - ->getPlotType() - ); - } else { - $chartTypes = array(); - for ($i = 0; $i < $groupCount; ++$i) { - $chartTypes[] = $plotArea->getPlotGroupByIndex($i) - ->getPlotType(); - } - $chartType = array_unique($chartTypes); - if (count($chartTypes) == 0) { - throw new PHPExcel_Writer_Exception('Chart is not yet implemented'); - } - } - - return $chartType; - } - - /** - * Write Plot Group (series of related plots) - * - * @param PHPExcel_Chart_DataSeries $plotGroup - * @param string $groupType Type of plot for dataseries - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param boolean &$catIsMultiLevelSeries Is category a multi-series category - * @param boolean &$valIsMultiLevelSeries Is value set a multi-series set - * @param string &$plotGroupingType Type of grouping for multi-series values - * @param PHPExcel_Worksheet $pSheet - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotGroup($plotGroup, - $groupType, - $objWriter, - &$catIsMultiLevelSeries, - &$valIsMultiLevelSeries, - &$plotGroupingType, - PHPExcel_Worksheet $pSheet - ) { - if (is_null($plotGroup)) { - return; - } - - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_BARCHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) - ) { - $objWriter->startElement('c:barDir'); - $objWriter->writeAttribute('val', $plotGroup->getPlotDirection()); - $objWriter->endElement(); - } - - if (!is_null($plotGroup->getPlotGrouping())) { - $plotGroupingType = $plotGroup->getPlotGrouping(); - $objWriter->startElement('c:grouping'); - $objWriter->writeAttribute('val', $plotGroupingType); - $objWriter->endElement(); - } - - // Get these details before the loop, because we can use the count to check for varyColors - $plotSeriesOrder = $plotGroup->getPlotOrder(); - $plotSeriesCount = count($plotSeriesOrder); - - if (($groupType !== PHPExcel_Chart_DataSeries::TYPE_RADARCHART) && - ($groupType !== PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) - ) { - - if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_LINECHART) { - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) || - ($plotSeriesCount > 1) - ) { - $objWriter->startElement('c:varyColors'); - $objWriter->writeAttribute('val', 1); - $objWriter->endElement(); - } else { - $objWriter->startElement('c:varyColors'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - } - } - - foreach ($plotSeriesOrder as $plotSeriesIdx => $plotSeriesRef) { - $objWriter->startElement('c:ser'); - - $objWriter->startElement('c:idx'); - $objWriter->writeAttribute('val', $this->_seriesIndex + $plotSeriesIdx); - $objWriter->endElement(); - - $objWriter->startElement('c:order'); - $objWriter->writeAttribute('val', $this->_seriesIndex + $plotSeriesRef); - $objWriter->endElement(); - - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - $objWriter->startElement('c:dPt'); - $objWriter->startElement('c:idx'); - $objWriter->writeAttribute('val', 3); - $objWriter->endElement(); - - $objWriter->startElement('c:bubble3D'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->startElement('c:spPr'); - $objWriter->startElement('a:solidFill'); - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', 'FF9900'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - // Labels - $plotSeriesLabel = $plotGroup->getPlotLabelByIndex($plotSeriesRef); - if ($plotSeriesLabel && ($plotSeriesLabel->getPointCount() > 0)) { - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:strRef'); - $this->_writePlotSeriesLabel($plotSeriesLabel, $objWriter); - $objWriter->endElement(); - $objWriter->endElement(); - } - - // Formatting for the points - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_LINECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) - ) { - $objWriter->startElement('c:spPr'); - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', 12700); - if ($groupType == PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) { - $objWriter->startElement('a:noFill'); - $objWriter->endElement(); - } - $objWriter->endElement(); - $objWriter->endElement(); - } - - $plotSeriesValues = $plotGroup->getPlotValuesByIndex($plotSeriesRef); - if ($plotSeriesValues) { - $plotSeriesMarker = $plotSeriesValues->getPointMarker(); - if ($plotSeriesMarker) { - $objWriter->startElement('c:marker'); - $objWriter->startElement('c:symbol'); - $objWriter->writeAttribute('val', $plotSeriesMarker); - $objWriter->endElement(); - - if ($plotSeriesMarker !== 'none') { - $objWriter->startElement('c:size'); - $objWriter->writeAttribute('val', 3); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) - ) { - - $objWriter->startElement('c:invertIfNegative'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - - // Category Labels - $plotSeriesCategory = $plotGroup->getPlotCategoryByIndex($plotSeriesRef); - if ($plotSeriesCategory && ($plotSeriesCategory->getPointCount() > 0)) { - $catIsMultiLevelSeries = $catIsMultiLevelSeries || $plotSeriesCategory->isMultiLevelSeries(); - - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - if (!is_null($plotGroup->getPlotStyle())) { - $plotStyle = $plotGroup->getPlotStyle(); - if ($plotStyle) { - $objWriter->startElement('c:explosion'); - $objWriter->writeAttribute('val', 25); - $objWriter->endElement(); - } - } - } - - if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) - ) { - $objWriter->startElement('c:xVal'); - } else { - $objWriter->startElement('c:cat'); - } - - $this->_writePlotSeriesValues($plotSeriesCategory, $objWriter, $groupType, 'str', $pSheet); - $objWriter->endElement(); - } - - // Values - if ($plotSeriesValues) { - $valIsMultiLevelSeries = $valIsMultiLevelSeries || $plotSeriesValues->isMultiLevelSeries(); - - if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) - ) { - $objWriter->startElement('c:yVal'); - } else { - $objWriter->startElement('c:val'); - } - - $this->_writePlotSeriesValues($plotSeriesValues, $objWriter, $groupType, 'num', $pSheet); - $objWriter->endElement(); - } - - if ($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $this->_writeBubbles($plotSeriesValues, $objWriter, $pSheet); - } - - $objWriter->endElement(); - - } - - $this->_seriesIndex += $plotSeriesIdx + 1; - } - - /** - * Write Plot Series Label - * - * @param PHPExcel_Chart_DataSeriesValues $plotSeriesLabel - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotSeriesLabel($plotSeriesLabel, $objWriter) { - if (is_null($plotSeriesLabel)) { - return; - } - - $objWriter->startElement('c:f'); - $objWriter->writeRawData($plotSeriesLabel->getDataSource()); - $objWriter->endElement(); - - $objWriter->startElement('c:strCache'); - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesLabel->getPointCount()); - $objWriter->endElement(); - - foreach ($plotSeriesLabel->getDataValues() as $plotLabelKey => $plotLabelValue) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotLabelKey); - - $objWriter->startElement('c:v'); - $objWriter->writeRawData($plotLabelValue); - $objWriter->endElement(); - $objWriter->endElement(); - } - $objWriter->endElement(); - - } - - /** - * Write Plot Series Values - * - * @param PHPExcel_Chart_DataSeriesValues $plotSeriesValues - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $groupType Type of plot for dataseries - * @param string $dataType Datatype of series values - * @param PHPExcel_Worksheet $pSheet - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotSeriesValues($plotSeriesValues, - $objWriter, - $groupType, - $dataType = 'str', - PHPExcel_Worksheet $pSheet - ) { - if (is_null($plotSeriesValues)) { - return; - } - - if ($plotSeriesValues->isMultiLevelSeries()) { - $levelCount = $plotSeriesValues->multiLevelCount(); - - $objWriter->startElement('c:multiLvlStrRef'); - - $objWriter->startElement('c:f'); - $objWriter->writeRawData($plotSeriesValues->getDataSource()); - $objWriter->endElement(); - - $objWriter->startElement('c:multiLvlStrCache'); - - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount()); - $objWriter->endElement(); - - for ($level = 0; $level < $levelCount; ++$level) { - $objWriter->startElement('c:lvl'); - - foreach ($plotSeriesValues->getDataValues() as $plotSeriesKey => $plotSeriesValue) { - if (isset($plotSeriesValue[$level])) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotSeriesKey); - - $objWriter->startElement('c:v'); - $objWriter->writeRawData($plotSeriesValue[$level]); - $objWriter->endElement(); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } else { - $objWriter->startElement('c:' . $dataType . 'Ref'); - - $objWriter->startElement('c:f'); - $objWriter->writeRawData($plotSeriesValues->getDataSource()); - $objWriter->endElement(); - - $objWriter->startElement('c:' . $dataType . 'Cache'); - - if (($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART) && - ($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && - ($groupType != PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - if (($plotSeriesValues->getFormatCode() !== NULL) && - ($plotSeriesValues->getFormatCode() !== '') - ) { - $objWriter->startElement('c:formatCode'); - $objWriter->writeRawData($plotSeriesValues->getFormatCode()); - $objWriter->endElement(); - } - } - - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount()); - $objWriter->endElement(); - - $dataValues = $plotSeriesValues->getDataValues(); - if (!empty($dataValues)) { - if (is_array($dataValues)) { - foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotSeriesKey); - - $objWriter->startElement('c:v'); - $objWriter->writeRawData($plotSeriesValue); - $objWriter->endElement(); - $objWriter->endElement(); - } - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Write Bubble Chart Details - * - * @param PHPExcel_Chart_DataSeriesValues $plotSeriesValues - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeBubbles($plotSeriesValues, $objWriter, PHPExcel_Worksheet $pSheet) { - if (is_null($plotSeriesValues)) { - return; - } - - $objWriter->startElement('c:bubbleSize'); - $objWriter->startElement('c:numLit'); - - $objWriter->startElement('c:formatCode'); - $objWriter->writeRawData('General'); - $objWriter->endElement(); - - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount()); - $objWriter->endElement(); - - $dataValues = $plotSeriesValues->getDataValues(); - if (!empty($dataValues)) { - if (is_array($dataValues)) { - foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotSeriesKey); - $objWriter->startElement('c:v'); - $objWriter->writeRawData(1); - $objWriter->endElement(); - $objWriter->endElement(); - } - } - } - - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('c:bubble3D'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - - /** - * Write Layout - * - * @param PHPExcel_Chart_Layout $layout - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeLayout(PHPExcel_Chart_Layout $layout = NULL, $objWriter) { - $objWriter->startElement('c:layout'); - - if (!is_null($layout)) { - $objWriter->startElement('c:manualLayout'); - - $layoutTarget = $layout->getLayoutTarget(); - if (!is_null($layoutTarget)) { - $objWriter->startElement('c:layoutTarget'); - $objWriter->writeAttribute('val', $layoutTarget); - $objWriter->endElement(); - } - - $xMode = $layout->getXMode(); - if (!is_null($xMode)) { - $objWriter->startElement('c:xMode'); - $objWriter->writeAttribute('val', $xMode); - $objWriter->endElement(); - } - - $yMode = $layout->getYMode(); - if (!is_null($yMode)) { - $objWriter->startElement('c:yMode'); - $objWriter->writeAttribute('val', $yMode); - $objWriter->endElement(); - } - - $x = $layout->getXPosition(); - if (!is_null($x)) { - $objWriter->startElement('c:x'); - $objWriter->writeAttribute('val', $x); - $objWriter->endElement(); - } - - $y = $layout->getYPosition(); - if (!is_null($y)) { - $objWriter->startElement('c:y'); - $objWriter->writeAttribute('val', $y); - $objWriter->endElement(); - } - - $w = $layout->getWidth(); - if (!is_null($w)) { - $objWriter->startElement('c:w'); - $objWriter->writeAttribute('val', $w); - $objWriter->endElement(); - } - - $h = $layout->getHeight(); - if (!is_null($h)) { - $objWriter->startElement('c:h'); - $objWriter->writeAttribute('val', $h); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Alternate Content block - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeAlternateContent($objWriter) { - $objWriter->startElement('mc:AlternateContent'); - $objWriter->writeAttribute('xmlns:mc', 'http://schemas.openxmlformats.org/markup-compatibility/2006'); - - $objWriter->startElement('mc:Choice'); - $objWriter->writeAttribute('xmlns:c14', 'http://schemas.microsoft.com/office/drawing/2007/8/2/chart'); - $objWriter->writeAttribute('Requires', 'c14'); - - $objWriter->startElement('c14:style'); - $objWriter->writeAttribute('val', '102'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('mc:Fallback'); - $objWriter->startElement('c:style'); - $objWriter->writeAttribute('val', '2'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Printer Settings - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePrintSettings($objWriter) { - $objWriter->startElement('c:printSettings'); - - $objWriter->startElement('c:headerFooter'); - $objWriter->endElement(); - - $objWriter->startElement('c:pageMargins'); - $objWriter->writeAttribute('footer', 0.3); - $objWriter->writeAttribute('header', 0.3); - $objWriter->writeAttribute('r', 0.7); - $objWriter->writeAttribute('l', 0.7); - $objWriter->writeAttribute('t', 0.75); - $objWriter->writeAttribute('b', 0.75); - $objWriter->endElement(); - - $objWriter->startElement('c:pageSetup'); - $objWriter->writeAttribute('orientation', "portrait"); - $objWriter->endElement(); - - $objWriter->endElement(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Comments.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Comments.php deleted file mode 100644 index dc809fa8e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Comments.php +++ /dev/null @@ -1,268 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Comments - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Comments extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write comments to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeComments(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Comments cache - $comments = $pWorksheet->getComments(); - - // Authors cache - $authors = array(); - $authorId = 0; - foreach ($comments as $comment) { - if (!isset($authors[$comment->getAuthor()])) { - $authors[$comment->getAuthor()] = $authorId++; - } - } - - // comments - $objWriter->startElement('comments'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - - // Loop through authors - $objWriter->startElement('authors'); - foreach ($authors as $author => $index) { - $objWriter->writeElement('author', $author); - } - $objWriter->endElement(); - - // Loop through comments - $objWriter->startElement('commentList'); - foreach ($comments as $key => $value) { - $this->_writeComment($objWriter, $key, $value, $authors); - } - $objWriter->endElement(); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write comment to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pCellReference Cell reference - * @param PHPExcel_Comment $pComment Comment - * @param array $pAuthors Array of authors - * @throws PHPExcel_Writer_Exception - */ - public function _writeComment(PHPExcel_Shared_XMLWriter $objWriter = null, $pCellReference = 'A1', PHPExcel_Comment $pComment = null, $pAuthors = null) - { - // comment - $objWriter->startElement('comment'); - $objWriter->writeAttribute('ref', $pCellReference); - $objWriter->writeAttribute('authorId', $pAuthors[$pComment->getAuthor()]); - - // text - $objWriter->startElement('text'); - $this->getParentWriter()->getWriterPart('stringtable')->writeRichText($objWriter, $pComment->getText()); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write VML comments to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeVMLComments(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Comments cache - $comments = $pWorksheet->getComments(); - - // xml - $objWriter->startElement('xml'); - $objWriter->writeAttribute('xmlns:v', 'urn:schemas-microsoft-com:vml'); - $objWriter->writeAttribute('xmlns:o', 'urn:schemas-microsoft-com:office:office'); - $objWriter->writeAttribute('xmlns:x', 'urn:schemas-microsoft-com:office:excel'); - - // o:shapelayout - $objWriter->startElement('o:shapelayout'); - $objWriter->writeAttribute('v:ext', 'edit'); - - // o:idmap - $objWriter->startElement('o:idmap'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('data', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // v:shapetype - $objWriter->startElement('v:shapetype'); - $objWriter->writeAttribute('id', '_x0000_t202'); - $objWriter->writeAttribute('coordsize', '21600,21600'); - $objWriter->writeAttribute('o:spt', '202'); - $objWriter->writeAttribute('path', 'm,l,21600r21600,l21600,xe'); - - // v:stroke - $objWriter->startElement('v:stroke'); - $objWriter->writeAttribute('joinstyle', 'miter'); - $objWriter->endElement(); - - // v:path - $objWriter->startElement('v:path'); - $objWriter->writeAttribute('gradientshapeok', 't'); - $objWriter->writeAttribute('o:connecttype', 'rect'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // Loop through comments - foreach ($comments as $key => $value) { - $this->_writeVMLComment($objWriter, $key, $value); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write VML comment to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pCellReference Cell reference - * @param PHPExcel_Comment $pComment Comment - * @throws PHPExcel_Writer_Exception - */ - public function _writeVMLComment(PHPExcel_Shared_XMLWriter $objWriter = null, $pCellReference = 'A1', PHPExcel_Comment $pComment = null) - { - // Metadata - list($column, $row) = PHPExcel_Cell::coordinateFromString($pCellReference); - $column = PHPExcel_Cell::columnIndexFromString($column); - $id = 1024 + $column + $row; - $id = substr($id, 0, 4); - - // v:shape - $objWriter->startElement('v:shape'); - $objWriter->writeAttribute('id', '_x0000_s' . $id); - $objWriter->writeAttribute('type', '#_x0000_t202'); - $objWriter->writeAttribute('style', 'position:absolute;margin-left:' . $pComment->getMarginLeft() . ';margin-top:' . $pComment->getMarginTop() . ';width:' . $pComment->getWidth() . ';height:' . $pComment->getHeight() . ';z-index:1;visibility:' . ($pComment->getVisible() ? 'visible' : 'hidden')); - $objWriter->writeAttribute('fillcolor', '#' . $pComment->getFillColor()->getRGB()); - $objWriter->writeAttribute('o:insetmode', 'auto'); - - // v:fill - $objWriter->startElement('v:fill'); - $objWriter->writeAttribute('color2', '#' . $pComment->getFillColor()->getRGB()); - $objWriter->endElement(); - - // v:shadow - $objWriter->startElement('v:shadow'); - $objWriter->writeAttribute('on', 't'); - $objWriter->writeAttribute('color', 'black'); - $objWriter->writeAttribute('obscured', 't'); - $objWriter->endElement(); - - // v:path - $objWriter->startElement('v:path'); - $objWriter->writeAttribute('o:connecttype', 'none'); - $objWriter->endElement(); - - // v:textbox - $objWriter->startElement('v:textbox'); - $objWriter->writeAttribute('style', 'mso-direction-alt:auto'); - - // div - $objWriter->startElement('div'); - $objWriter->writeAttribute('style', 'text-align:left'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // x:ClientData - $objWriter->startElement('x:ClientData'); - $objWriter->writeAttribute('ObjectType', 'Note'); - - // x:MoveWithCells - $objWriter->writeElement('x:MoveWithCells', ''); - - // x:SizeWithCells - $objWriter->writeElement('x:SizeWithCells', ''); - - // x:Anchor - //$objWriter->writeElement('x:Anchor', $column . ', 15, ' . ($row - 2) . ', 10, ' . ($column + 4) . ', 15, ' . ($row + 5) . ', 18'); - - // x:AutoFill - $objWriter->writeElement('x:AutoFill', 'False'); - - // x:Row - $objWriter->writeElement('x:Row', ($row - 1)); - - // x:Column - $objWriter->writeElement('x:Column', ($column - 1)); - - $objWriter->endElement(); - - $objWriter->endElement(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/ContentTypes.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/ContentTypes.php deleted file mode 100644 index 557853654..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/ContentTypes.php +++ /dev/null @@ -1,287 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_ContentTypes - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_ContentTypes extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write content types to XML format - * - * @param PHPExcel $pPHPExcel - * @param boolean $includeCharts Flag indicating if we should include drawing details for charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeContentTypes(PHPExcel $pPHPExcel = null, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Types - $objWriter->startElement('Types'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/content-types'); - - // Theme - $this->_writeOverrideContentType( - $objWriter, '/xl/theme/theme1.xml', 'application/vnd.openxmlformats-officedocument.theme+xml' - ); - - // Styles - $this->_writeOverrideContentType( - $objWriter, '/xl/styles.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml' - ); - - // Rels - $this->_writeDefaultContentType( - $objWriter, 'rels', 'application/vnd.openxmlformats-package.relationships+xml' - ); - - // XML - $this->_writeDefaultContentType( - $objWriter, 'xml', 'application/xml' - ); - - // VML - $this->_writeDefaultContentType( - $objWriter, 'vml', 'application/vnd.openxmlformats-officedocument.vmlDrawing' - ); - - // Workbook - if($pPHPExcel->hasMacros()){ //Macros in workbook ? - // Yes : not standard content but "macroEnabled" - $this->_writeOverrideContentType( - $objWriter, '/xl/workbook.xml', 'application/vnd.ms-excel.sheet.macroEnabled.main+xml' - ); - //... and define a new type for the VBA project - $this->_writeDefaultContentType( - $objWriter, 'bin', 'application/vnd.ms-office.vbaProject' - ); - if($pPHPExcel->hasMacrosCertificate()){// signed macros ? - // Yes : add needed information - $this->_writeOverrideContentType( - $objWriter, '/xl/vbaProjectSignature.bin', 'application/vnd.ms-office.vbaProjectSignature' - ); - } - }else{// no macros in workbook, so standard type - $this->_writeOverrideContentType( - $objWriter, '/xl/workbook.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml' - ); - } - - // DocProps - $this->_writeOverrideContentType( - $objWriter, '/docProps/app.xml', 'application/vnd.openxmlformats-officedocument.extended-properties+xml' - ); - - $this->_writeOverrideContentType( - $objWriter, '/docProps/core.xml', 'application/vnd.openxmlformats-package.core-properties+xml' - ); - - $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties(); - if (!empty($customPropertyList)) { - $this->_writeOverrideContentType( - $objWriter, '/docProps/custom.xml', 'application/vnd.openxmlformats-officedocument.custom-properties+xml' - ); - } - - // Worksheets - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - $this->_writeOverrideContentType( - $objWriter, '/xl/worksheets/sheet' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml' - ); - } - - // Shared strings - $this->_writeOverrideContentType( - $objWriter, '/xl/sharedStrings.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml' - ); - - // Add worksheet relationship content types - $chart = 1; - for ($i = 0; $i < $sheetCount; ++$i) { - $drawings = $pPHPExcel->getSheet($i)->getDrawingCollection(); - $drawingCount = count($drawings); - $chartCount = ($includeCharts) ? $pPHPExcel->getSheet($i)->getChartCount() : 0; - - // We need a drawing relationship for the worksheet if we have either drawings or charts - if (($drawingCount > 0) || ($chartCount > 0)) { - $this->_writeOverrideContentType( - $objWriter, '/xl/drawings/drawing' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.drawing+xml' - ); - } - - // If we have charts, then we need a chart relationship for every individual chart - if ($chartCount > 0) { - for ($c = 0; $c < $chartCount; ++$c) { - $this->_writeOverrideContentType( - $objWriter, '/xl/charts/chart' . $chart++ . '.xml', 'application/vnd.openxmlformats-officedocument.drawingml.chart+xml' - ); - } - } - } - - // Comments - for ($i = 0; $i < $sheetCount; ++$i) { - if (count($pPHPExcel->getSheet($i)->getComments()) > 0) { - $this->_writeOverrideContentType( - $objWriter, '/xl/comments' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml' - ); - } - } - - // Add media content-types - $aMediaContentTypes = array(); - $mediaCount = $this->getParentWriter()->getDrawingHashTable()->count(); - for ($i = 0; $i < $mediaCount; ++$i) { - $extension = ''; - $mimeType = ''; - - if ($this->getParentWriter()->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_Drawing) { - $extension = strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getExtension()); - $mimeType = $this->_getImageMimeType( $this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getPath() ); - } else if ($this->getParentWriter()->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_MemoryDrawing) { - $extension = strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getMimeType()); - $extension = explode('/', $extension); - $extension = $extension[1]; - - $mimeType = $this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getMimeType(); - } - - if (!isset( $aMediaContentTypes[$extension]) ) { - $aMediaContentTypes[$extension] = $mimeType; - - $this->_writeDefaultContentType( - $objWriter, $extension, $mimeType - ); - } - } - if($pPHPExcel->hasRibbonBinObjects()){//Some additional objects in the ribbon ? - //we need to write "Extension" but not already write for media content - $tabRibbonTypes=array_diff($pPHPExcel->getRibbonBinObjects('types'), array_keys($aMediaContentTypes)); - foreach($tabRibbonTypes as $aRibbonType){ - $mimeType='image/.'.$aRibbonType;//we wrote $mimeType like customUI Editor - $this->_writeDefaultContentType( - $objWriter, $aRibbonType, $mimeType - ); - } - } - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - if (count($pPHPExcel->getSheet()->getHeaderFooter()->getImages()) > 0) { - foreach ($pPHPExcel->getSheet()->getHeaderFooter()->getImages() as $image) { - if (!isset( $aMediaContentTypes[strtolower($image->getExtension())]) ) { - $aMediaContentTypes[strtolower($image->getExtension())] = $this->_getImageMimeType( $image->getPath() ); - - $this->_writeDefaultContentType( - $objWriter, strtolower($image->getExtension()), $aMediaContentTypes[strtolower($image->getExtension())] - ); - } - } - } - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Get image mime type - * - * @param string $pFile Filename - * @return string Mime Type - * @throws PHPExcel_Writer_Exception - */ - private function _getImageMimeType($pFile = '') - { - if (PHPExcel_Shared_File::file_exists($pFile)) { - $image = getimagesize($pFile); - return image_type_to_mime_type($image[2]); - } else { - throw new PHPExcel_Writer_Exception("File $pFile does not exist"); - } - } - - /** - * Write Default content type - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pPartname Part name - * @param string $pContentType Content type - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefaultContentType(PHPExcel_Shared_XMLWriter $objWriter = null, $pPartname = '', $pContentType = '') - { - if ($pPartname != '' && $pContentType != '') { - // Write content type - $objWriter->startElement('Default'); - $objWriter->writeAttribute('Extension', $pPartname); - $objWriter->writeAttribute('ContentType', $pContentType); - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Override content type - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pPartname Part name - * @param string $pContentType Content type - * @throws PHPExcel_Writer_Exception - */ - private function _writeOverrideContentType(PHPExcel_Shared_XMLWriter $objWriter = null, $pPartname = '', $pContentType = '') - { - if ($pPartname != '' && $pContentType != '') { - // Write content type - $objWriter->startElement('Override'); - $objWriter->writeAttribute('PartName', $pPartname); - $objWriter->writeAttribute('ContentType', $pContentType); - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/DocProps.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/DocProps.php deleted file mode 100644 index f8821379c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/DocProps.php +++ /dev/null @@ -1,272 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_DocProps - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_DocProps extends PHPExcel_Writer_Excel2007_WriterPart -{ -/** - * Write docProps/app.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDocPropsApp(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Properties - $objWriter->startElement('Properties'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/officeDocument/2006/extended-properties'); - $objWriter->writeAttribute('xmlns:vt', 'http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes'); - - // Application - $objWriter->writeElement('Application', 'Microsoft Excel'); - - // DocSecurity - $objWriter->writeElement('DocSecurity', '0'); - - // ScaleCrop - $objWriter->writeElement('ScaleCrop', 'false'); - - // HeadingPairs - $objWriter->startElement('HeadingPairs'); - - // Vector - $objWriter->startElement('vt:vector'); - $objWriter->writeAttribute('size', '2'); - $objWriter->writeAttribute('baseType', 'variant'); - - // Variant - $objWriter->startElement('vt:variant'); - $objWriter->writeElement('vt:lpstr', 'Worksheets'); - $objWriter->endElement(); - - // Variant - $objWriter->startElement('vt:variant'); - $objWriter->writeElement('vt:i4', $pPHPExcel->getSheetCount()); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // TitlesOfParts - $objWriter->startElement('TitlesOfParts'); - - // Vector - $objWriter->startElement('vt:vector'); - $objWriter->writeAttribute('size', $pPHPExcel->getSheetCount()); - $objWriter->writeAttribute('baseType', 'lpstr'); - - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - $objWriter->writeElement('vt:lpstr', $pPHPExcel->getSheet($i)->getTitle()); - } - - $objWriter->endElement(); - - $objWriter->endElement(); - - // Company - $objWriter->writeElement('Company', $pPHPExcel->getProperties()->getCompany()); - - // Company - $objWriter->writeElement('Manager', $pPHPExcel->getProperties()->getManager()); - - // LinksUpToDate - $objWriter->writeElement('LinksUpToDate', 'false'); - - // SharedDoc - $objWriter->writeElement('SharedDoc', 'false'); - - // HyperlinksChanged - $objWriter->writeElement('HyperlinksChanged', 'false'); - - // AppVersion - $objWriter->writeElement('AppVersion', '12.0000'); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write docProps/core.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDocPropsCore(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // cp:coreProperties - $objWriter->startElement('cp:coreProperties'); - $objWriter->writeAttribute('xmlns:cp', 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:dcterms', 'http://purl.org/dc/terms/'); - $objWriter->writeAttribute('xmlns:dcmitype', 'http://purl.org/dc/dcmitype/'); - $objWriter->writeAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance'); - - // dc:creator - $objWriter->writeElement('dc:creator', $pPHPExcel->getProperties()->getCreator()); - - // cp:lastModifiedBy - $objWriter->writeElement('cp:lastModifiedBy', $pPHPExcel->getProperties()->getLastModifiedBy()); - - // dcterms:created - $objWriter->startElement('dcterms:created'); - $objWriter->writeAttribute('xsi:type', 'dcterms:W3CDTF'); - $objWriter->writeRawData(date(DATE_W3C, $pPHPExcel->getProperties()->getCreated())); - $objWriter->endElement(); - - // dcterms:modified - $objWriter->startElement('dcterms:modified'); - $objWriter->writeAttribute('xsi:type', 'dcterms:W3CDTF'); - $objWriter->writeRawData(date(DATE_W3C, $pPHPExcel->getProperties()->getModified())); - $objWriter->endElement(); - - // dc:title - $objWriter->writeElement('dc:title', $pPHPExcel->getProperties()->getTitle()); - - // dc:description - $objWriter->writeElement('dc:description', $pPHPExcel->getProperties()->getDescription()); - - // dc:subject - $objWriter->writeElement('dc:subject', $pPHPExcel->getProperties()->getSubject()); - - // cp:keywords - $objWriter->writeElement('cp:keywords', $pPHPExcel->getProperties()->getKeywords()); - - // cp:category - $objWriter->writeElement('cp:category', $pPHPExcel->getProperties()->getCategory()); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write docProps/custom.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDocPropsCustom(PHPExcel $pPHPExcel = null) - { - $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties(); - if (empty($customPropertyList)) { - return; - } - - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // cp:coreProperties - $objWriter->startElement('Properties'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/officeDocument/2006/custom-properties'); - $objWriter->writeAttribute('xmlns:vt', 'http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes'); - - - foreach($customPropertyList as $key => $customProperty) { - $propertyValue = $pPHPExcel->getProperties()->getCustomPropertyValue($customProperty); - $propertyType = $pPHPExcel->getProperties()->getCustomPropertyType($customProperty); - - $objWriter->startElement('property'); - $objWriter->writeAttribute('fmtid', '{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'); - $objWriter->writeAttribute('pid', $key+2); - $objWriter->writeAttribute('name', $customProperty); - - switch($propertyType) { - case 'i' : - $objWriter->writeElement('vt:i4', $propertyValue); - break; - case 'f' : - $objWriter->writeElement('vt:r8', $propertyValue); - break; - case 'b' : - $objWriter->writeElement('vt:bool', ($propertyValue) ? 'true' : 'false'); - break; - case 'd' : - $objWriter->startElement('vt:filetime'); - $objWriter->writeRawData(date(DATE_W3C, $propertyValue)); - $objWriter->endElement(); - break; - default : - $objWriter->writeElement('vt:lpwstr', $propertyValue); - break; - } - - $objWriter->endElement(); - } - - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Drawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Drawing.php deleted file mode 100644 index 1cf971ed4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Drawing.php +++ /dev/null @@ -1,598 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Drawing - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Drawing extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write drawings to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @param int &$chartRef Chart ID - * @param boolean $includeCharts Flag indicating if we should include drawing details for charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDrawings(PHPExcel_Worksheet $pWorksheet = null, &$chartRef, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // xdr:wsDr - $objWriter->startElement('xdr:wsDr'); - $objWriter->writeAttribute('xmlns:xdr', 'http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing'); - $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main'); - - // Loop through images and write drawings - $i = 1; - $iterator = $pWorksheet->getDrawingCollection()->getIterator(); - while ($iterator->valid()) { - $this->_writeDrawing($objWriter, $iterator->current(), $i); - - $iterator->next(); - ++$i; - } - - if ($includeCharts) { - $chartCount = $pWorksheet->getChartCount(); - // Loop through charts and write the chart position - if ($chartCount > 0) { - for ($c = 0; $c < $chartCount; ++$c) { - $this->_writeChart($objWriter, $pWorksheet->getChartByIndex($c), $c+$i); - } - } - } - - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write drawings to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart $pChart - * @param int $pRelationId - * @throws PHPExcel_Writer_Exception - */ - public function _writeChart(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Chart $pChart = null, $pRelationId = -1) - { - $tl = $pChart->getTopLeftPosition(); - $tl['colRow'] = PHPExcel_Cell::coordinateFromString($tl['cell']); - $br = $pChart->getBottomRightPosition(); - $br['colRow'] = PHPExcel_Cell::coordinateFromString($br['cell']); - - $objWriter->startElement('xdr:twoCellAnchor'); - - $objWriter->startElement('xdr:from'); - $objWriter->writeElement('xdr:col', PHPExcel_Cell::columnIndexFromString($tl['colRow'][0]) - 1); - $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($tl['xOffset'])); - $objWriter->writeElement('xdr:row', $tl['colRow'][1] - 1); - $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($tl['yOffset'])); - $objWriter->endElement(); - $objWriter->startElement('xdr:to'); - $objWriter->writeElement('xdr:col', PHPExcel_Cell::columnIndexFromString($br['colRow'][0]) - 1); - $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($br['xOffset'])); - $objWriter->writeElement('xdr:row', $br['colRow'][1] - 1); - $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($br['yOffset'])); - $objWriter->endElement(); - - $objWriter->startElement('xdr:graphicFrame'); - $objWriter->writeAttribute('macro', ''); - $objWriter->startElement('xdr:nvGraphicFramePr'); - $objWriter->startElement('xdr:cNvPr'); - $objWriter->writeAttribute('name', 'Chart '.$pRelationId); - $objWriter->writeAttribute('id', 1025 * $pRelationId); - $objWriter->endElement(); - $objWriter->startElement('xdr:cNvGraphicFramePr'); - $objWriter->startElement('a:graphicFrameLocks'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('xdr:xfrm'); - $objWriter->startElement('a:off'); - $objWriter->writeAttribute('x', '0'); - $objWriter->writeAttribute('y', '0'); - $objWriter->endElement(); - $objWriter->startElement('a:ext'); - $objWriter->writeAttribute('cx', '0'); - $objWriter->writeAttribute('cy', '0'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('a:graphic'); - $objWriter->startElement('a:graphicData'); - $objWriter->writeAttribute('uri', 'http://schemas.openxmlformats.org/drawingml/2006/chart'); - $objWriter->startElement('c:chart'); - $objWriter->writeAttribute('xmlns:c', 'http://schemas.openxmlformats.org/drawingml/2006/chart'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - $objWriter->writeAttribute('r:id', 'rId'.$pRelationId); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('xdr:clientData'); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write drawings to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet_BaseDrawing $pDrawing - * @param int $pRelationId - * @throws PHPExcel_Writer_Exception - */ - public function _writeDrawing(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet_BaseDrawing $pDrawing = null, $pRelationId = -1) - { - if ($pRelationId >= 0) { - // xdr:oneCellAnchor - $objWriter->startElement('xdr:oneCellAnchor'); - // Image location - $aCoordinates = PHPExcel_Cell::coordinateFromString($pDrawing->getCoordinates()); - $aCoordinates[0] = PHPExcel_Cell::columnIndexFromString($aCoordinates[0]); - - // xdr:from - $objWriter->startElement('xdr:from'); - $objWriter->writeElement('xdr:col', $aCoordinates[0] - 1); - $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getOffsetX())); - $objWriter->writeElement('xdr:row', $aCoordinates[1] - 1); - $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getOffsetY())); - $objWriter->endElement(); - - // xdr:ext - $objWriter->startElement('xdr:ext'); - $objWriter->writeAttribute('cx', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getWidth())); - $objWriter->writeAttribute('cy', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getHeight())); - $objWriter->endElement(); - - // xdr:pic - $objWriter->startElement('xdr:pic'); - - // xdr:nvPicPr - $objWriter->startElement('xdr:nvPicPr'); - - // xdr:cNvPr - $objWriter->startElement('xdr:cNvPr'); - $objWriter->writeAttribute('id', $pRelationId); - $objWriter->writeAttribute('name', $pDrawing->getName()); - $objWriter->writeAttribute('descr', $pDrawing->getDescription()); - $objWriter->endElement(); - - // xdr:cNvPicPr - $objWriter->startElement('xdr:cNvPicPr'); - - // a:picLocks - $objWriter->startElement('a:picLocks'); - $objWriter->writeAttribute('noChangeAspect', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // xdr:blipFill - $objWriter->startElement('xdr:blipFill'); - - // a:blip - $objWriter->startElement('a:blip'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - $objWriter->writeAttribute('r:embed', 'rId' . $pRelationId); - $objWriter->endElement(); - - // a:stretch - $objWriter->startElement('a:stretch'); - $objWriter->writeElement('a:fillRect', null); - $objWriter->endElement(); - - $objWriter->endElement(); - - // xdr:spPr - $objWriter->startElement('xdr:spPr'); - - // a:xfrm - $objWriter->startElement('a:xfrm'); - $objWriter->writeAttribute('rot', PHPExcel_Shared_Drawing::degreesToAngle($pDrawing->getRotation())); - $objWriter->endElement(); - - // a:prstGeom - $objWriter->startElement('a:prstGeom'); - $objWriter->writeAttribute('prst', 'rect'); - - // a:avLst - $objWriter->writeElement('a:avLst', null); - - $objWriter->endElement(); - -// // a:solidFill -// $objWriter->startElement('a:solidFill'); - -// // a:srgbClr -// $objWriter->startElement('a:srgbClr'); -// $objWriter->writeAttribute('val', 'FFFFFF'); - -///* SHADE -// // a:shade -// $objWriter->startElement('a:shade'); -// $objWriter->writeAttribute('val', '85000'); -// $objWriter->endElement(); -//*/ - -// $objWriter->endElement(); - -// $objWriter->endElement(); -/* - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '88900'); - $objWriter->writeAttribute('cap', 'sq'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', 'FFFFFF'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:miter - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - - $objWriter->endElement(); -*/ - - if ($pDrawing->getShadow()->getVisible()) { - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getShadow()->getBlurRadius())); - $objWriter->writeAttribute('dist', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getShadow()->getDistance())); - $objWriter->writeAttribute('dir', PHPExcel_Shared_Drawing::degreesToAngle($pDrawing->getShadow()->getDirection())); - $objWriter->writeAttribute('algn', $pDrawing->getShadow()->getAlignment()); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', $pDrawing->getShadow()->getColor()->getRGB()); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $pDrawing->getShadow()->getAlpha() * 1000); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - } -/* - - // a:scene3d - $objWriter->startElement('a:scene3d'); - - // a:camera - $objWriter->startElement('a:camera'); - $objWriter->writeAttribute('prst', 'orthographicFront'); - $objWriter->endElement(); - - // a:lightRig - $objWriter->startElement('a:lightRig'); - $objWriter->writeAttribute('rig', 'twoPt'); - $objWriter->writeAttribute('dir', 't'); - - // a:rot - $objWriter->startElement('a:rot'); - $objWriter->writeAttribute('lat', '0'); - $objWriter->writeAttribute('lon', '0'); - $objWriter->writeAttribute('rev', '0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); -*/ -/* - // a:sp3d - $objWriter->startElement('a:sp3d'); - - // a:bevelT - $objWriter->startElement('a:bevelT'); - $objWriter->writeAttribute('w', '25400'); - $objWriter->writeAttribute('h', '19050'); - $objWriter->endElement(); - - // a:contourClr - $objWriter->startElement('a:contourClr'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', 'FFFFFF'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); -*/ - $objWriter->endElement(); - - $objWriter->endElement(); - - // xdr:clientData - $objWriter->writeElement('xdr:clientData', null); - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write VML header/footer images to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeVMLHeaderFooterImages(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Header/footer images - $images = $pWorksheet->getHeaderFooter()->getImages(); - - // xml - $objWriter->startElement('xml'); - $objWriter->writeAttribute('xmlns:v', 'urn:schemas-microsoft-com:vml'); - $objWriter->writeAttribute('xmlns:o', 'urn:schemas-microsoft-com:office:office'); - $objWriter->writeAttribute('xmlns:x', 'urn:schemas-microsoft-com:office:excel'); - - // o:shapelayout - $objWriter->startElement('o:shapelayout'); - $objWriter->writeAttribute('v:ext', 'edit'); - - // o:idmap - $objWriter->startElement('o:idmap'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('data', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // v:shapetype - $objWriter->startElement('v:shapetype'); - $objWriter->writeAttribute('id', '_x0000_t75'); - $objWriter->writeAttribute('coordsize', '21600,21600'); - $objWriter->writeAttribute('o:spt', '75'); - $objWriter->writeAttribute('o:preferrelative', 't'); - $objWriter->writeAttribute('path', 'm@4@5l@4@11@9@11@9@5xe'); - $objWriter->writeAttribute('filled', 'f'); - $objWriter->writeAttribute('stroked', 'f'); - - // v:stroke - $objWriter->startElement('v:stroke'); - $objWriter->writeAttribute('joinstyle', 'miter'); - $objWriter->endElement(); - - // v:formulas - $objWriter->startElement('v:formulas'); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'if lineDrawn pixelLineWidth 0'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @0 1 0'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum 0 0 @1'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @2 1 2'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @3 21600 pixelWidth'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @3 21600 pixelHeight'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @0 0 1'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @6 1 2'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @7 21600 pixelWidth'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @8 21600 0'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @7 21600 pixelHeight'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @10 21600 0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // v:path - $objWriter->startElement('v:path'); - $objWriter->writeAttribute('o:extrusionok', 'f'); - $objWriter->writeAttribute('gradientshapeok', 't'); - $objWriter->writeAttribute('o:connecttype', 'rect'); - $objWriter->endElement(); - - // o:lock - $objWriter->startElement('o:lock'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('aspectratio', 't'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // Loop through images - foreach ($images as $key => $value) { - $this->_writeVMLHeaderFooterImage($objWriter, $key, $value); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write VML comment to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pReference Reference - * @param PHPExcel_Worksheet_HeaderFooterDrawing $pImage Image - * @throws PHPExcel_Writer_Exception - */ - public function _writeVMLHeaderFooterImage(PHPExcel_Shared_XMLWriter $objWriter = null, $pReference = '', PHPExcel_Worksheet_HeaderFooterDrawing $pImage = null) - { - // Calculate object id - preg_match('{(\d+)}', md5($pReference), $m); - $id = 1500 + (substr($m[1], 0, 2) * 1); - - // Calculate offset - $width = $pImage->getWidth(); - $height = $pImage->getHeight(); - $marginLeft = $pImage->getOffsetX(); - $marginTop = $pImage->getOffsetY(); - - // v:shape - $objWriter->startElement('v:shape'); - $objWriter->writeAttribute('id', $pReference); - $objWriter->writeAttribute('o:spid', '_x0000_s' . $id); - $objWriter->writeAttribute('type', '#_x0000_t75'); - $objWriter->writeAttribute('style', "position:absolute;margin-left:{$marginLeft}px;margin-top:{$marginTop}px;width:{$width}px;height:{$height}px;z-index:1"); - - // v:imagedata - $objWriter->startElement('v:imagedata'); - $objWriter->writeAttribute('o:relid', 'rId' . $pReference); - $objWriter->writeAttribute('o:title', $pImage->getName()); - $objWriter->endElement(); - - // o:lock - $objWriter->startElement('o:lock'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('rotation', 't'); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - - /** - * Get an array of all drawings - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Worksheet_Drawing[] All drawings in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allDrawings(PHPExcel $pPHPExcel = null) - { - // Get an array of all drawings - $aDrawings = array(); - - // Loop through PHPExcel - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - // Loop through images and add to array - $iterator = $pPHPExcel->getSheet($i)->getDrawingCollection()->getIterator(); - while ($iterator->valid()) { - $aDrawings[] = $iterator->current(); - - $iterator->next(); - } - } - - return $aDrawings; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Rels.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Rels.php deleted file mode 100644 index a7d36c0a9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Rels.php +++ /dev/null @@ -1,437 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Rels - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Rels extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write relationships to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeRelationships(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties(); - if (!empty($customPropertyList)) { - // Relationship docProps/app.xml - $this->_writeRelationship( - $objWriter, - 4, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties', - 'docProps/custom.xml' - ); - - } - - // Relationship docProps/app.xml - $this->_writeRelationship( - $objWriter, - 3, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties', - 'docProps/app.xml' - ); - - // Relationship docProps/core.xml - $this->_writeRelationship( - $objWriter, - 2, - 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties', - 'docProps/core.xml' - ); - - // Relationship xl/workbook.xml - $this->_writeRelationship( - $objWriter, - 1, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument', - 'xl/workbook.xml' - ); - // a custom UI in workbook ? - if($pPHPExcel->hasRibbon()){ - $this->_writeRelationShip( - $objWriter, - 5, - 'http://schemas.microsoft.com/office/2006/relationships/ui/extensibility', - $pPHPExcel->getRibbonXMLData('target') - ); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write workbook relationships to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorkbookRelationships(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Relationship styles.xml - $this->_writeRelationship( - $objWriter, - 1, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles', - 'styles.xml' - ); - - // Relationship theme/theme1.xml - $this->_writeRelationship( - $objWriter, - 2, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme', - 'theme/theme1.xml' - ); - - // Relationship sharedStrings.xml - $this->_writeRelationship( - $objWriter, - 3, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings', - 'sharedStrings.xml' - ); - - // Relationships with sheets - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - $this->_writeRelationship( - $objWriter, - ($i + 1 + 3), - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet', - 'worksheets/sheet' . ($i + 1) . '.xml' - ); - } - // Relationships for vbaProject if needed - // id : just after the last sheet - if($pPHPExcel->hasMacros()){ - $this->_writeRelationShip( - $objWriter, - ($i + 1 + 3), - 'http://schemas.microsoft.com/office/2006/relationships/vbaProject', - 'vbaProject.bin' - ); - ++$i;//increment i if needed for an another relation - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write worksheet relationships to XML format - * - * Numbering is as follows: - * rId1 - Drawings - * rId_hyperlink_x - Hyperlinks - * - * @param PHPExcel_Worksheet $pWorksheet - * @param int $pWorksheetId - * @param boolean $includeCharts Flag indicating if we should write charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorksheetRelationships(PHPExcel_Worksheet $pWorksheet = null, $pWorksheetId = 1, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Write drawing relationships? - $d = 0; - if ($includeCharts) { - $charts = $pWorksheet->getChartCollection(); - } else { - $charts = array(); - } - if (($pWorksheet->getDrawingCollection()->count() > 0) || - (count($charts) > 0)) { - $this->_writeRelationship( - $objWriter, - ++$d, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing', - '../drawings/drawing' . $pWorksheetId . '.xml' - ); - } - - // Write chart relationships? -// $chartCount = 0; -// $charts = $pWorksheet->getChartCollection(); -// echo 'Chart Rels: ' , count($charts) , '<br />'; -// if (count($charts) > 0) { -// foreach($charts as $chart) { -// $this->_writeRelationship( -// $objWriter, -// ++$d, -// 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart', -// '../charts/chart' . ++$chartCount . '.xml' -// ); -// } -// } -// - // Write hyperlink relationships? - $i = 1; - foreach ($pWorksheet->getHyperlinkCollection() as $hyperlink) { - if (!$hyperlink->isInternal()) { - $this->_writeRelationship( - $objWriter, - '_hyperlink_' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink', - $hyperlink->getUrl(), - 'External' - ); - - ++$i; - } - } - - // Write comments relationship? - $i = 1; - if (count($pWorksheet->getComments()) > 0) { - $this->_writeRelationship( - $objWriter, - '_comments_vml' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing', - '../drawings/vmlDrawing' . $pWorksheetId . '.vml' - ); - - $this->_writeRelationship( - $objWriter, - '_comments' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments', - '../comments' . $pWorksheetId . '.xml' - ); - } - - // Write header/footer relationship? - $i = 1; - if (count($pWorksheet->getHeaderFooter()->getImages()) > 0) { - $this->_writeRelationship( - $objWriter, - '_headerfooter_vml' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing', - '../drawings/vmlDrawingHF' . $pWorksheetId . '.vml' - ); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write drawing relationships to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @param int &$chartRef Chart ID - * @param boolean $includeCharts Flag indicating if we should write charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDrawingRelationships(PHPExcel_Worksheet $pWorksheet = null, &$chartRef, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Loop through images and write relationships - $i = 1; - $iterator = $pWorksheet->getDrawingCollection()->getIterator(); - while ($iterator->valid()) { - if ($iterator->current() instanceof PHPExcel_Worksheet_Drawing - || $iterator->current() instanceof PHPExcel_Worksheet_MemoryDrawing) { - // Write relationship for image drawing - $this->_writeRelationship( - $objWriter, - $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image', - '../media/' . str_replace(' ', '', $iterator->current()->getIndexedFilename()) - ); - } - - $iterator->next(); - ++$i; - } - - if ($includeCharts) { - // Loop through charts and write relationships - $chartCount = $pWorksheet->getChartCount(); - if ($chartCount > 0) { - for ($c = 0; $c < $chartCount; ++$c) { - $this->_writeRelationship( - $objWriter, - $i++, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart', - '../charts/chart' . ++$chartRef . '.xml' - ); - } - } - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write header/footer drawing relationships to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeHeaderFooterDrawingRelationships(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Loop through images and write relationships - foreach ($pWorksheet->getHeaderFooter()->getImages() as $key => $value) { - // Write relationship for image drawing - $this->_writeRelationship( - $objWriter, - $key, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image', - '../media/' . $value->getIndexedFilename() - ); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write Override content type - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param int $pId Relationship ID. rId will be prepended! - * @param string $pType Relationship type - * @param string $pTarget Relationship target - * @param string $pTargetMode Relationship target mode - * @throws PHPExcel_Writer_Exception - */ - private function _writeRelationship(PHPExcel_Shared_XMLWriter $objWriter = null, $pId = 1, $pType = '', $pTarget = '', $pTargetMode = '') - { - if ($pType != '' && $pTarget != '') { - // Write relationship - $objWriter->startElement('Relationship'); - $objWriter->writeAttribute('Id', 'rId' . $pId); - $objWriter->writeAttribute('Type', $pType); - $objWriter->writeAttribute('Target', $pTarget); - - if ($pTargetMode != '') { - $objWriter->writeAttribute('TargetMode', $pTargetMode); - } - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/RelsRibbon.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/RelsRibbon.php deleted file mode 100644 index 615f2cbd9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/RelsRibbon.php +++ /dev/null @@ -1,77 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_RelsRibbon - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_RelsRibbon extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write relationships for additional objects of custom UI (ribbon) - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeRibbonRelationships(PHPExcel $pPHPExcel = null){ - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - $localRels=$pPHPExcel->getRibbonBinObjects('names'); - if(is_array($localRels)){ - foreach($localRels as $aId=>$aTarget){ - $objWriter->startElement('Relationship'); - $objWriter->writeAttribute('Id', $aId); - $objWriter->writeAttribute('Type', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image'); - $objWriter->writeAttribute('Target', $aTarget); - $objWriter->endElement();//Relationship - } - } - $objWriter->endElement();//Relationships - - // Return - return $objWriter->getData(); - - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/RelsVBA.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/RelsVBA.php deleted file mode 100644 index 3f87d81f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/RelsVBA.php +++ /dev/null @@ -1,72 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_RelsVBA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_RelsVBA extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write relationships for a signed VBA Project - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeVBARelationships(PHPExcel $pPHPExcel = null){ - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - $objWriter->startElement('Relationship'); - $objWriter->writeAttribute('Id', 'rId1'); - $objWriter->writeAttribute('Type', 'http://schemas.microsoft.com/office/2006/relationships/vbaProjectSignature'); - $objWriter->writeAttribute('Target', 'vbaProjectSignature.bin'); - $objWriter->endElement();//Relationship - $objWriter->endElement();//Relationships - - // Return - return $objWriter->getData(); - - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/StringTable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/StringTable.php deleted file mode 100644 index e8ca1c5a5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/StringTable.php +++ /dev/null @@ -1,319 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_StringTable - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_StringTable extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Create worksheet stringtable - * - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param string[] $pExistingTable Existing table to eventually merge with - * @return string[] String table for worksheet - * @throws PHPExcel_Writer_Exception - */ - public function createStringTable($pSheet = null, $pExistingTable = null) - { - if ($pSheet !== NULL) { - // Create string lookup table - $aStringTable = array(); - $cellCollection = null; - $aFlippedStringTable = null; // For faster lookup - - // Is an existing table given? - if (($pExistingTable !== NULL) && is_array($pExistingTable)) { - $aStringTable = $pExistingTable; - } - - // Fill index array - $aFlippedStringTable = $this->flipStringTable($aStringTable); - - // Loop through cells - foreach ($pSheet->getCellCollection() as $cellID) { - $cell = $pSheet->getCell($cellID); - $cellValue = $cell->getValue(); - if (!is_object($cellValue) && - ($cellValue !== NULL) && - $cellValue !== '' && - !isset($aFlippedStringTable[$cellValue]) && - ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING2 || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_NULL)) { - $aStringTable[] = $cellValue; - $aFlippedStringTable[$cellValue] = true; - } elseif ($cellValue instanceof PHPExcel_RichText && - ($cellValue !== NULL) && - !isset($aFlippedStringTable[$cellValue->getHashCode()])) { - $aStringTable[] = $cellValue; - $aFlippedStringTable[$cellValue->getHashCode()] = true; - } - } - - // Return - return $aStringTable; - } else { - throw new PHPExcel_Writer_Exception("Invalid PHPExcel_Worksheet object passed."); - } - } - - /** - * Write string table to XML format - * - * @param string[] $pStringTable - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeStringTable($pStringTable = null) - { - if ($pStringTable !== NULL) { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // String table - $objWriter->startElement('sst'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - $objWriter->writeAttribute('uniqueCount', count($pStringTable)); - - // Loop through string table - foreach ($pStringTable as $textElement) { - $objWriter->startElement('si'); - - if (! $textElement instanceof PHPExcel_RichText) { - $textToWrite = PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $textElement ); - $objWriter->startElement('t'); - if ($textToWrite !== trim($textToWrite)) { - $objWriter->writeAttribute('xml:space', 'preserve'); - } - $objWriter->writeRawData($textToWrite); - $objWriter->endElement(); - } else if ($textElement instanceof PHPExcel_RichText) { - $this->writeRichText($objWriter, $textElement); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } else { - throw new PHPExcel_Writer_Exception("Invalid string table array passed."); - } - } - - /** - * Write Rich Text - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_RichText $pRichText Rich text - * @param string $prefix Optional Namespace prefix - * @throws PHPExcel_Writer_Exception - */ - public function writeRichText(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_RichText $pRichText = null, $prefix=NULL) - { - if ($prefix !== NULL) - $prefix .= ':'; - // Loop through rich text elements - $elements = $pRichText->getRichTextElements(); - foreach ($elements as $element) { - // r - $objWriter->startElement($prefix.'r'); - - // rPr - if ($element instanceof PHPExcel_RichText_Run) { - // rPr - $objWriter->startElement($prefix.'rPr'); - - // rFont - $objWriter->startElement($prefix.'rFont'); - $objWriter->writeAttribute('val', $element->getFont()->getName()); - $objWriter->endElement(); - - // Bold - $objWriter->startElement($prefix.'b'); - $objWriter->writeAttribute('val', ($element->getFont()->getBold() ? 'true' : 'false')); - $objWriter->endElement(); - - // Italic - $objWriter->startElement($prefix.'i'); - $objWriter->writeAttribute('val', ($element->getFont()->getItalic() ? 'true' : 'false')); - $objWriter->endElement(); - - // Superscript / subscript - if ($element->getFont()->getSuperScript() || $element->getFont()->getSubScript()) { - $objWriter->startElement($prefix.'vertAlign'); - if ($element->getFont()->getSuperScript()) { - $objWriter->writeAttribute('val', 'superscript'); - } else if ($element->getFont()->getSubScript()) { - $objWriter->writeAttribute('val', 'subscript'); - } - $objWriter->endElement(); - } - - // Strikethrough - $objWriter->startElement($prefix.'strike'); - $objWriter->writeAttribute('val', ($element->getFont()->getStrikethrough() ? 'true' : 'false')); - $objWriter->endElement(); - - // Color - $objWriter->startElement($prefix.'color'); - $objWriter->writeAttribute('rgb', $element->getFont()->getColor()->getARGB()); - $objWriter->endElement(); - - // Size - $objWriter->startElement($prefix.'sz'); - $objWriter->writeAttribute('val', $element->getFont()->getSize()); - $objWriter->endElement(); - - // Underline - $objWriter->startElement($prefix.'u'); - $objWriter->writeAttribute('val', $element->getFont()->getUnderline()); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - // t - $objWriter->startElement($prefix.'t'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $element->getText() )); - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Write Rich Text - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string|PHPExcel_RichText $pRichText text string or Rich text - * @param string $prefix Optional Namespace prefix - * @throws PHPExcel_Writer_Exception - */ - public function writeRichTextForCharts(PHPExcel_Shared_XMLWriter $objWriter = null, $pRichText = null, $prefix=NULL) - { - if (!$pRichText instanceof PHPExcel_RichText) { - $textRun = $pRichText; - $pRichText = new PHPExcel_RichText(); - $pRichText->createTextRun($textRun); - } - - if ($prefix !== NULL) - $prefix .= ':'; - // Loop through rich text elements - $elements = $pRichText->getRichTextElements(); - foreach ($elements as $element) { - // r - $objWriter->startElement($prefix.'r'); - - // rPr - $objWriter->startElement($prefix.'rPr'); - - // Bold - $objWriter->writeAttribute('b', ($element->getFont()->getBold() ? 1 : 0)); - // Italic - $objWriter->writeAttribute('i', ($element->getFont()->getItalic() ? 1 : 0)); - // Underline - $underlineType = $element->getFont()->getUnderline(); - switch($underlineType) { - case 'single' : - $underlineType = 'sng'; - break; - case 'double' : - $underlineType = 'dbl'; - break; - } - $objWriter->writeAttribute('u', $underlineType); - // Strikethrough - $objWriter->writeAttribute('strike', ($element->getFont()->getStrikethrough() ? 'sngStrike' : 'noStrike')); - - // rFont - $objWriter->startElement($prefix.'latin'); - $objWriter->writeAttribute('typeface', $element->getFont()->getName()); - $objWriter->endElement(); - - // Superscript / subscript -// if ($element->getFont()->getSuperScript() || $element->getFont()->getSubScript()) { -// $objWriter->startElement($prefix.'vertAlign'); -// if ($element->getFont()->getSuperScript()) { -// $objWriter->writeAttribute('val', 'superscript'); -// } else if ($element->getFont()->getSubScript()) { -// $objWriter->writeAttribute('val', 'subscript'); -// } -// $objWriter->endElement(); -// } -// - $objWriter->endElement(); - - // t - $objWriter->startElement($prefix.'t'); -// $objWriter->writeAttribute('xml:space', 'preserve'); // Excel2010 accepts, Excel2007 complains - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $element->getText() )); - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Flip string table (for index searching) - * - * @param array $stringTable Stringtable - * @return array - */ - public function flipStringTable($stringTable = array()) { - // Return value - $returnValue = array(); - - // Loop through stringtable and add flipped items to $returnValue - foreach ($stringTable as $key => $value) { - if (! $value instanceof PHPExcel_RichText) { - $returnValue[$value] = $key; - } else if ($value instanceof PHPExcel_RichText) { - $returnValue[$value->getHashCode()] = $key; - } - } - - // Return - return $returnValue; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Style.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Style.php deleted file mode 100644 index d38c6eacc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Style.php +++ /dev/null @@ -1,707 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Style - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Style extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write styles to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeStyles(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // styleSheet - $objWriter->startElement('styleSheet'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - - // numFmts - $objWriter->startElement('numFmts'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getNumFmtHashTable()->count()); - - // numFmt - for ($i = 0; $i < $this->getParentWriter()->getNumFmtHashTable()->count(); ++$i) { - $this->_writeNumFmt($objWriter, $this->getParentWriter()->getNumFmtHashTable()->getByIndex($i), $i); - } - - $objWriter->endElement(); - - // fonts - $objWriter->startElement('fonts'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getFontHashTable()->count()); - - // font - for ($i = 0; $i < $this->getParentWriter()->getFontHashTable()->count(); ++$i) { - $this->_writeFont($objWriter, $this->getParentWriter()->getFontHashTable()->getByIndex($i)); - } - - $objWriter->endElement(); - - // fills - $objWriter->startElement('fills'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getFillHashTable()->count()); - - // fill - for ($i = 0; $i < $this->getParentWriter()->getFillHashTable()->count(); ++$i) { - $this->_writeFill($objWriter, $this->getParentWriter()->getFillHashTable()->getByIndex($i)); - } - - $objWriter->endElement(); - - // borders - $objWriter->startElement('borders'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getBordersHashTable()->count()); - - // border - for ($i = 0; $i < $this->getParentWriter()->getBordersHashTable()->count(); ++$i) { - $this->_writeBorder($objWriter, $this->getParentWriter()->getBordersHashTable()->getByIndex($i)); - } - - $objWriter->endElement(); - - // cellStyleXfs - $objWriter->startElement('cellStyleXfs'); - $objWriter->writeAttribute('count', 1); - - // xf - $objWriter->startElement('xf'); - $objWriter->writeAttribute('numFmtId', 0); - $objWriter->writeAttribute('fontId', 0); - $objWriter->writeAttribute('fillId', 0); - $objWriter->writeAttribute('borderId', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - // cellXfs - $objWriter->startElement('cellXfs'); - $objWriter->writeAttribute('count', count($pPHPExcel->getCellXfCollection())); - - // xf - foreach ($pPHPExcel->getCellXfCollection() as $cellXf) { - $this->_writeCellStyleXf($objWriter, $cellXf, $pPHPExcel); - } - - $objWriter->endElement(); - - // cellStyles - $objWriter->startElement('cellStyles'); - $objWriter->writeAttribute('count', 1); - - // cellStyle - $objWriter->startElement('cellStyle'); - $objWriter->writeAttribute('name', 'Normal'); - $objWriter->writeAttribute('xfId', 0); - $objWriter->writeAttribute('builtinId', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - // dxfs - $objWriter->startElement('dxfs'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getStylesConditionalHashTable()->count()); - - // dxf - for ($i = 0; $i < $this->getParentWriter()->getStylesConditionalHashTable()->count(); ++$i) { - $this->_writeCellStyleDxf($objWriter, $this->getParentWriter()->getStylesConditionalHashTable()->getByIndex($i)->getStyle()); - } - - $objWriter->endElement(); - - // tableStyles - $objWriter->startElement('tableStyles'); - $objWriter->writeAttribute('defaultTableStyle', 'TableStyleMedium9'); - $objWriter->writeAttribute('defaultPivotStyle', 'PivotTableStyle1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write Fill - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Fill $pFill Fill style - * @throws PHPExcel_Writer_Exception - */ - private function _writeFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null) - { - // Check if this is a pattern type or gradient type - if ($pFill->getFillType() === PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR || - $pFill->getFillType() === PHPExcel_Style_Fill::FILL_GRADIENT_PATH) { - // Gradient fill - $this->_writeGradientFill($objWriter, $pFill); - } elseif($pFill->getFillType() !== NULL) { - // Pattern fill - $this->_writePatternFill($objWriter, $pFill); - } - } - - /** - * Write Gradient Fill - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Fill $pFill Fill style - * @throws PHPExcel_Writer_Exception - */ - private function _writeGradientFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null) - { - // fill - $objWriter->startElement('fill'); - - // gradientFill - $objWriter->startElement('gradientFill'); - $objWriter->writeAttribute('type', $pFill->getFillType()); - $objWriter->writeAttribute('degree', $pFill->getRotation()); - - // stop - $objWriter->startElement('stop'); - $objWriter->writeAttribute('position', '0'); - - // color - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB()); - $objWriter->endElement(); - - $objWriter->endElement(); - - // stop - $objWriter->startElement('stop'); - $objWriter->writeAttribute('position', '1'); - - // color - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB()); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Pattern Fill - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Fill $pFill Fill style - * @throws PHPExcel_Writer_Exception - */ - private function _writePatternFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null) - { - // fill - $objWriter->startElement('fill'); - - // patternFill - $objWriter->startElement('patternFill'); - $objWriter->writeAttribute('patternType', $pFill->getFillType()); - - if ($pFill->getFillType() !== PHPExcel_Style_Fill::FILL_NONE) { - // fgColor - if ($pFill->getStartColor()->getARGB()) { - $objWriter->startElement('fgColor'); - $objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB()); - $objWriter->endElement(); - } - } - if ($pFill->getFillType() !== PHPExcel_Style_Fill::FILL_NONE) { - // bgColor - if ($pFill->getEndColor()->getARGB()) { - $objWriter->startElement('bgColor'); - $objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB()); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Font - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Font $pFont Font style - * @throws PHPExcel_Writer_Exception - */ - private function _writeFont(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Font $pFont = null) - { - // font - $objWriter->startElement('font'); - // Weird! The order of these elements actually makes a difference when opening Excel2007 - // files in Excel2003 with the compatibility pack. It's not documented behaviour, - // and makes for a real WTF! - - // Bold. We explicitly write this element also when false (like MS Office Excel 2007 does - // for conditional formatting). Otherwise it will apparently not be picked up in conditional - // formatting style dialog - if ($pFont->getBold() !== NULL) { - $objWriter->startElement('b'); - $objWriter->writeAttribute('val', $pFont->getBold() ? '1' : '0'); - $objWriter->endElement(); - } - - // Italic - if ($pFont->getItalic() !== NULL) { - $objWriter->startElement('i'); - $objWriter->writeAttribute('val', $pFont->getItalic() ? '1' : '0'); - $objWriter->endElement(); - } - - // Strikethrough - if ($pFont->getStrikethrough() !== NULL) { - $objWriter->startElement('strike'); - $objWriter->writeAttribute('val', $pFont->getStrikethrough() ? '1' : '0'); - $objWriter->endElement(); - } - - // Underline - if ($pFont->getUnderline() !== NULL) { - $objWriter->startElement('u'); - $objWriter->writeAttribute('val', $pFont->getUnderline()); - $objWriter->endElement(); - } - - // Superscript / subscript - if ($pFont->getSuperScript() === TRUE || $pFont->getSubScript() === TRUE) { - $objWriter->startElement('vertAlign'); - if ($pFont->getSuperScript() === TRUE) { - $objWriter->writeAttribute('val', 'superscript'); - } else if ($pFont->getSubScript() === TRUE) { - $objWriter->writeAttribute('val', 'subscript'); - } - $objWriter->endElement(); - } - - // Size - if ($pFont->getSize() !== NULL) { - $objWriter->startElement('sz'); - $objWriter->writeAttribute('val', $pFont->getSize()); - $objWriter->endElement(); - } - - // Foreground color - if ($pFont->getColor()->getARGB() !== NULL) { - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pFont->getColor()->getARGB()); - $objWriter->endElement(); - } - - // Name - if ($pFont->getName() !== NULL) { - $objWriter->startElement('name'); - $objWriter->writeAttribute('val', $pFont->getName()); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Border - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Borders $pBorders Borders style - * @throws PHPExcel_Writer_Exception - */ - private function _writeBorder(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Borders $pBorders = null) - { - // Write border - $objWriter->startElement('border'); - // Diagonal? - switch ($pBorders->getDiagonalDirection()) { - case PHPExcel_Style_Borders::DIAGONAL_UP: - $objWriter->writeAttribute('diagonalUp', 'true'); - $objWriter->writeAttribute('diagonalDown', 'false'); - break; - case PHPExcel_Style_Borders::DIAGONAL_DOWN: - $objWriter->writeAttribute('diagonalUp', 'false'); - $objWriter->writeAttribute('diagonalDown', 'true'); - break; - case PHPExcel_Style_Borders::DIAGONAL_BOTH: - $objWriter->writeAttribute('diagonalUp', 'true'); - $objWriter->writeAttribute('diagonalDown', 'true'); - break; - } - - // BorderPr - $this->_writeBorderPr($objWriter, 'left', $pBorders->getLeft()); - $this->_writeBorderPr($objWriter, 'right', $pBorders->getRight()); - $this->_writeBorderPr($objWriter, 'top', $pBorders->getTop()); - $this->_writeBorderPr($objWriter, 'bottom', $pBorders->getBottom()); - $this->_writeBorderPr($objWriter, 'diagonal', $pBorders->getDiagonal()); - $objWriter->endElement(); - } - - /** - * Write Cell Style Xf - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style $pStyle Style - * @param PHPExcel $pPHPExcel Workbook - * @throws PHPExcel_Writer_Exception - */ - private function _writeCellStyleXf(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null, PHPExcel $pPHPExcel = null) - { - // xf - $objWriter->startElement('xf'); - $objWriter->writeAttribute('xfId', 0); - $objWriter->writeAttribute('fontId', (int)$this->getParentWriter()->getFontHashTable()->getIndexForHashCode($pStyle->getFont()->getHashCode())); - if ($pStyle->getQuotePrefix()) { - $objWriter->writeAttribute('quotePrefix', 1); - } - - if ($pStyle->getNumberFormat()->getBuiltInFormatCode() === false) { - $objWriter->writeAttribute('numFmtId', (int)($this->getParentWriter()->getNumFmtHashTable()->getIndexForHashCode($pStyle->getNumberFormat()->getHashCode()) + 164) ); - } else { - $objWriter->writeAttribute('numFmtId', (int)$pStyle->getNumberFormat()->getBuiltInFormatCode()); - } - - $objWriter->writeAttribute('fillId', (int)$this->getParentWriter()->getFillHashTable()->getIndexForHashCode($pStyle->getFill()->getHashCode())); - $objWriter->writeAttribute('borderId', (int)$this->getParentWriter()->getBordersHashTable()->getIndexForHashCode($pStyle->getBorders()->getHashCode())); - - // Apply styles? - $objWriter->writeAttribute('applyFont', ($pPHPExcel->getDefaultStyle()->getFont()->getHashCode() != $pStyle->getFont()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyNumberFormat', ($pPHPExcel->getDefaultStyle()->getNumberFormat()->getHashCode() != $pStyle->getNumberFormat()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyFill', ($pPHPExcel->getDefaultStyle()->getFill()->getHashCode() != $pStyle->getFill()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyBorder', ($pPHPExcel->getDefaultStyle()->getBorders()->getHashCode() != $pStyle->getBorders()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyAlignment', ($pPHPExcel->getDefaultStyle()->getAlignment()->getHashCode() != $pStyle->getAlignment()->getHashCode()) ? '1' : '0'); - if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT || $pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->writeAttribute('applyProtection', 'true'); - } - - // alignment - $objWriter->startElement('alignment'); - $objWriter->writeAttribute('horizontal', $pStyle->getAlignment()->getHorizontal()); - $objWriter->writeAttribute('vertical', $pStyle->getAlignment()->getVertical()); - - $textRotation = 0; - if ($pStyle->getAlignment()->getTextRotation() >= 0) { - $textRotation = $pStyle->getAlignment()->getTextRotation(); - } else if ($pStyle->getAlignment()->getTextRotation() < 0) { - $textRotation = 90 - $pStyle->getAlignment()->getTextRotation(); - } - $objWriter->writeAttribute('textRotation', $textRotation); - - $objWriter->writeAttribute('wrapText', ($pStyle->getAlignment()->getWrapText() ? 'true' : 'false')); - $objWriter->writeAttribute('shrinkToFit', ($pStyle->getAlignment()->getShrinkToFit() ? 'true' : 'false')); - - if ($pStyle->getAlignment()->getIndent() > 0) { - $objWriter->writeAttribute('indent', $pStyle->getAlignment()->getIndent()); - } - if ($pStyle->getAlignment()->getReadorder() > 0) { - $objWriter->writeAttribute('readingOrder', $pStyle->getAlignment()->getReadorder()); - } - $objWriter->endElement(); - - // protection - if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT || $pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->startElement('protection'); - if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->writeAttribute('locked', ($pStyle->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - if ($pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->writeAttribute('hidden', ($pStyle->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Cell Style Dxf - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style $pStyle Style - * @throws PHPExcel_Writer_Exception - */ - private function _writeCellStyleDxf(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null) - { - // dxf - $objWriter->startElement('dxf'); - - // font - $this->_writeFont($objWriter, $pStyle->getFont()); - - // numFmt - $this->_writeNumFmt($objWriter, $pStyle->getNumberFormat()); - - // fill - $this->_writeFill($objWriter, $pStyle->getFill()); - - // alignment - $objWriter->startElement('alignment'); - if ($pStyle->getAlignment()->getHorizontal() !== NULL) { - $objWriter->writeAttribute('horizontal', $pStyle->getAlignment()->getHorizontal()); - } - if ($pStyle->getAlignment()->getVertical() !== NULL) { - $objWriter->writeAttribute('vertical', $pStyle->getAlignment()->getVertical()); - } - - if ($pStyle->getAlignment()->getTextRotation() !== NULL) { - $textRotation = 0; - if ($pStyle->getAlignment()->getTextRotation() >= 0) { - $textRotation = $pStyle->getAlignment()->getTextRotation(); - } else if ($pStyle->getAlignment()->getTextRotation() < 0) { - $textRotation = 90 - $pStyle->getAlignment()->getTextRotation(); - } - $objWriter->writeAttribute('textRotation', $textRotation); - } - $objWriter->endElement(); - - // border - $this->_writeBorder($objWriter, $pStyle->getBorders()); - - // protection - if (($pStyle->getProtection()->getLocked() !== NULL) || - ($pStyle->getProtection()->getHidden() !== NULL)) { - if ($pStyle->getProtection()->getLocked() !== PHPExcel_Style_Protection::PROTECTION_INHERIT || - $pStyle->getProtection()->getHidden() !== PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->startElement('protection'); - if (($pStyle->getProtection()->getLocked() !== NULL) && - ($pStyle->getProtection()->getLocked() !== PHPExcel_Style_Protection::PROTECTION_INHERIT)) { - $objWriter->writeAttribute('locked', ($pStyle->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - if (($pStyle->getProtection()->getHidden() !== NULL) && - ($pStyle->getProtection()->getHidden() !== PHPExcel_Style_Protection::PROTECTION_INHERIT)) { - $objWriter->writeAttribute('hidden', ($pStyle->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } - - /** - * Write BorderPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pName Element name - * @param PHPExcel_Style_Border $pBorder Border style - * @throws PHPExcel_Writer_Exception - */ - private function _writeBorderPr(PHPExcel_Shared_XMLWriter $objWriter = null, $pName = 'left', PHPExcel_Style_Border $pBorder = null) - { - // Write BorderPr - if ($pBorder->getBorderStyle() != PHPExcel_Style_Border::BORDER_NONE) { - $objWriter->startElement($pName); - $objWriter->writeAttribute('style', $pBorder->getBorderStyle()); - - // color - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pBorder->getColor()->getARGB()); - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Write NumberFormat - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_NumberFormat $pNumberFormat Number Format - * @param int $pId Number Format identifier - * @throws PHPExcel_Writer_Exception - */ - private function _writeNumFmt(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_NumberFormat $pNumberFormat = null, $pId = 0) - { - // Translate formatcode - $formatCode = $pNumberFormat->getFormatCode(); - - // numFmt - if ($formatCode !== NULL) { - $objWriter->startElement('numFmt'); - $objWriter->writeAttribute('numFmtId', ($pId + 164)); - $objWriter->writeAttribute('formatCode', $formatCode); - $objWriter->endElement(); - } - } - - /** - * Get an array of all styles - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style[] All styles in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allStyles(PHPExcel $pPHPExcel = null) - { - $aStyles = $pPHPExcel->getCellXfCollection(); - - return $aStyles; - } - - /** - * Get an array of all conditional styles - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Conditional[] All conditional styles in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allConditionalStyles(PHPExcel $pPHPExcel = null) - { - // Get an array of all styles - $aStyles = array(); - - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - foreach ($pPHPExcel->getSheet($i)->getConditionalStylesCollection() as $conditionalStyles) { - foreach ($conditionalStyles as $conditionalStyle) { - $aStyles[] = $conditionalStyle; - } - } - } - - return $aStyles; - } - - /** - * Get an array of all fills - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Fill[] All fills in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allFills(PHPExcel $pPHPExcel = null) - { - // Get an array of unique fills - $aFills = array(); - - // Two first fills are predefined - $fill0 = new PHPExcel_Style_Fill(); - $fill0->setFillType(PHPExcel_Style_Fill::FILL_NONE); - $aFills[] = $fill0; - - $fill1 = new PHPExcel_Style_Fill(); - $fill1->setFillType(PHPExcel_Style_Fill::FILL_PATTERN_GRAY125); - $aFills[] = $fill1; - // The remaining fills - $aStyles = $this->allStyles($pPHPExcel); - foreach ($aStyles as $style) { - if (!array_key_exists($style->getFill()->getHashCode(), $aFills)) { - $aFills[ $style->getFill()->getHashCode() ] = $style->getFill(); - } - } - - return $aFills; - } - - /** - * Get an array of all fonts - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Font[] All fonts in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allFonts(PHPExcel $pPHPExcel = null) - { - // Get an array of unique fonts - $aFonts = array(); - $aStyles = $this->allStyles($pPHPExcel); - - foreach ($aStyles as $style) { - if (!array_key_exists($style->getFont()->getHashCode(), $aFonts)) { - $aFonts[ $style->getFont()->getHashCode() ] = $style->getFont(); - } - } - - return $aFonts; - } - - /** - * Get an array of all borders - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Borders[] All borders in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allBorders(PHPExcel $pPHPExcel = null) - { - // Get an array of unique borders - $aBorders = array(); - $aStyles = $this->allStyles($pPHPExcel); - - foreach ($aStyles as $style) { - if (!array_key_exists($style->getBorders()->getHashCode(), $aBorders)) { - $aBorders[ $style->getBorders()->getHashCode() ] = $style->getBorders(); - } - } - - return $aBorders; - } - - /** - * Get an array of all number formats - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_NumberFormat[] All number formats in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allNumberFormats(PHPExcel $pPHPExcel = null) - { - // Get an array of unique number formats - $aNumFmts = array(); - $aStyles = $this->allStyles($pPHPExcel); - - foreach ($aStyles as $style) { - if ($style->getNumberFormat()->getBuiltInFormatCode() === false && !array_key_exists($style->getNumberFormat()->getHashCode(), $aNumFmts)) { - $aNumFmts[ $style->getNumberFormat()->getHashCode() ] = $style->getNumberFormat(); - } - } - - return $aNumFmts; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Theme.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Theme.php deleted file mode 100644 index c67b94816..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Theme.php +++ /dev/null @@ -1,871 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Theme - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Theme extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Map of Major fonts to write - * @static array of string - * - */ - private static $_majorFonts = array( - 'Jpan' => 'MS Pゴシック', - 'Hang' => '맑은 고딕', - 'Hans' => '宋体', - 'Hant' => '新細明體', - 'Arab' => 'Times New Roman', - 'Hebr' => 'Times New Roman', - 'Thai' => 'Tahoma', - 'Ethi' => 'Nyala', - 'Beng' => 'Vrinda', - 'Gujr' => 'Shruti', - 'Khmr' => 'MoolBoran', - 'Knda' => 'Tunga', - 'Guru' => 'Raavi', - 'Cans' => 'Euphemia', - 'Cher' => 'Plantagenet Cherokee', - 'Yiii' => 'Microsoft Yi Baiti', - 'Tibt' => 'Microsoft Himalaya', - 'Thaa' => 'MV Boli', - 'Deva' => 'Mangal', - 'Telu' => 'Gautami', - 'Taml' => 'Latha', - 'Syrc' => 'Estrangelo Edessa', - 'Orya' => 'Kalinga', - 'Mlym' => 'Kartika', - 'Laoo' => 'DokChampa', - 'Sinh' => 'Iskoola Pota', - 'Mong' => 'Mongolian Baiti', - 'Viet' => 'Times New Roman', - 'Uigh' => 'Microsoft Uighur', - 'Geor' => 'Sylfaen', - ); - - /** - * Map of Minor fonts to write - * @static array of string - * - */ - private static $_minorFonts = array( - 'Jpan' => 'MS Pゴシック', - 'Hang' => '맑은 고딕', - 'Hans' => '宋体', - 'Hant' => '新細明體', - 'Arab' => 'Arial', - 'Hebr' => 'Arial', - 'Thai' => 'Tahoma', - 'Ethi' => 'Nyala', - 'Beng' => 'Vrinda', - 'Gujr' => 'Shruti', - 'Khmr' => 'DaunPenh', - 'Knda' => 'Tunga', - 'Guru' => 'Raavi', - 'Cans' => 'Euphemia', - 'Cher' => 'Plantagenet Cherokee', - 'Yiii' => 'Microsoft Yi Baiti', - 'Tibt' => 'Microsoft Himalaya', - 'Thaa' => 'MV Boli', - 'Deva' => 'Mangal', - 'Telu' => 'Gautami', - 'Taml' => 'Latha', - 'Syrc' => 'Estrangelo Edessa', - 'Orya' => 'Kalinga', - 'Mlym' => 'Kartika', - 'Laoo' => 'DokChampa', - 'Sinh' => 'Iskoola Pota', - 'Mong' => 'Mongolian Baiti', - 'Viet' => 'Arial', - 'Uigh' => 'Microsoft Uighur', - 'Geor' => 'Sylfaen', - ); - - /** - * Map of core colours - * @static array of string - * - */ - private static $_colourScheme = array( - 'dk2' => '1F497D', - 'lt2' => 'EEECE1', - 'accent1' => '4F81BD', - 'accent2' => 'C0504D', - 'accent3' => '9BBB59', - 'accent4' => '8064A2', - 'accent5' => '4BACC6', - 'accent6' => 'F79646', - 'hlink' => '0000FF', - 'folHlink' => '800080', - ); - - /** - * Write theme to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeTheme(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // a:theme - $objWriter->startElement('a:theme'); - $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main'); - $objWriter->writeAttribute('name', 'Office Theme'); - - // a:themeElements - $objWriter->startElement('a:themeElements'); - - // a:clrScheme - $objWriter->startElement('a:clrScheme'); - $objWriter->writeAttribute('name', 'Office'); - - // a:dk1 - $objWriter->startElement('a:dk1'); - - // a:sysClr - $objWriter->startElement('a:sysClr'); - $objWriter->writeAttribute('val', 'windowText'); - $objWriter->writeAttribute('lastClr', '000000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lt1 - $objWriter->startElement('a:lt1'); - - // a:sysClr - $objWriter->startElement('a:sysClr'); - $objWriter->writeAttribute('val', 'window'); - $objWriter->writeAttribute('lastClr', 'FFFFFF'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:dk2 - $this->_writeColourScheme($objWriter); - - $objWriter->endElement(); - - // a:fontScheme - $objWriter->startElement('a:fontScheme'); - $objWriter->writeAttribute('name', 'Office'); - - // a:majorFont - $objWriter->startElement('a:majorFont'); - $this->_writeFonts($objWriter, 'Cambria', self::$_majorFonts); - $objWriter->endElement(); - - // a:minorFont - $objWriter->startElement('a:minorFont'); - $this->_writeFonts($objWriter, 'Calibri', self::$_minorFonts); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:fmtScheme - $objWriter->startElement('a:fmtScheme'); - $objWriter->writeAttribute('name', 'Office'); - - // a:fillStyleLst - $objWriter->startElement('a:fillStyleLst'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '50000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '300000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '35000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '37000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '300000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '15000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '350000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lin - $objWriter->startElement('a:lin'); - $objWriter->writeAttribute('ang', '16200000'); - $objWriter->writeAttribute('scaled', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '51000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '130000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '80000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '93000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '130000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '94000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '135000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lin - $objWriter->startElement('a:lin'); - $objWriter->writeAttribute('ang', '16200000'); - $objWriter->writeAttribute('scaled', '0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lnStyleLst - $objWriter->startElement('a:lnStyleLst'); - - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '9525'); - $objWriter->writeAttribute('cap', 'flat'); - $objWriter->writeAttribute('cmpd', 'sng'); - $objWriter->writeAttribute('algn', 'ctr'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '95000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '105000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:prstDash - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', 'solid'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '25400'); - $objWriter->writeAttribute('cap', 'flat'); - $objWriter->writeAttribute('cmpd', 'sng'); - $objWriter->writeAttribute('algn', 'ctr'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:prstDash - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', 'solid'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '38100'); - $objWriter->writeAttribute('cap', 'flat'); - $objWriter->writeAttribute('cmpd', 'sng'); - $objWriter->writeAttribute('algn', 'ctr'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:prstDash - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', 'solid'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - - - // a:effectStyleLst - $objWriter->startElement('a:effectStyleLst'); - - // a:effectStyle - $objWriter->startElement('a:effectStyle'); - - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', '40000'); - $objWriter->writeAttribute('dist', '20000'); - $objWriter->writeAttribute('dir', '5400000'); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', '000000'); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', '38000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:effectStyle - $objWriter->startElement('a:effectStyle'); - - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', '40000'); - $objWriter->writeAttribute('dist', '23000'); - $objWriter->writeAttribute('dir', '5400000'); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', '000000'); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', '35000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:effectStyle - $objWriter->startElement('a:effectStyle'); - - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', '40000'); - $objWriter->writeAttribute('dist', '23000'); - $objWriter->writeAttribute('dir', '5400000'); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', '000000'); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', '35000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:scene3d - $objWriter->startElement('a:scene3d'); - - // a:camera - $objWriter->startElement('a:camera'); - $objWriter->writeAttribute('prst', 'orthographicFront'); - - // a:rot - $objWriter->startElement('a:rot'); - $objWriter->writeAttribute('lat', '0'); - $objWriter->writeAttribute('lon', '0'); - $objWriter->writeAttribute('rev', '0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lightRig - $objWriter->startElement('a:lightRig'); - $objWriter->writeAttribute('rig', 'threePt'); - $objWriter->writeAttribute('dir', 't'); - - // a:rot - $objWriter->startElement('a:rot'); - $objWriter->writeAttribute('lat', '0'); - $objWriter->writeAttribute('lon', '0'); - $objWriter->writeAttribute('rev', '1200000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:sp3d - $objWriter->startElement('a:sp3d'); - - // a:bevelT - $objWriter->startElement('a:bevelT'); - $objWriter->writeAttribute('w', '63500'); - $objWriter->writeAttribute('h', '25400'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:bgFillStyleLst - $objWriter->startElement('a:bgFillStyleLst'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '40000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '350000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '40000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '45000'); - $objWriter->endElement(); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '99000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '350000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '20000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '255000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:path - $objWriter->startElement('a:path'); - $objWriter->writeAttribute('path', 'circle'); - - // a:fillToRect - $objWriter->startElement('a:fillToRect'); - $objWriter->writeAttribute('l', '50000'); - $objWriter->writeAttribute('t', '-80000'); - $objWriter->writeAttribute('r', '50000'); - $objWriter->writeAttribute('b', '180000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '80000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '300000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '30000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '200000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:path - $objWriter->startElement('a:path'); - $objWriter->writeAttribute('path', 'circle'); - - // a:fillToRect - $objWriter->startElement('a:fillToRect'); - $objWriter->writeAttribute('l', '50000'); - $objWriter->writeAttribute('t', '50000'); - $objWriter->writeAttribute('r', '50000'); - $objWriter->writeAttribute('b', '50000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:objectDefaults - $objWriter->writeElement('a:objectDefaults', null); - - // a:extraClrSchemeLst - $objWriter->writeElement('a:extraClrSchemeLst', null); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write fonts to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param string $latinFont - * @param array of string $fontSet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - private function _writeFonts($objWriter, $latinFont, $fontSet) - { - // a:latin - $objWriter->startElement('a:latin'); - $objWriter->writeAttribute('typeface', $latinFont); - $objWriter->endElement(); - - // a:ea - $objWriter->startElement('a:ea'); - $objWriter->writeAttribute('typeface', ''); - $objWriter->endElement(); - - // a:cs - $objWriter->startElement('a:cs'); - $objWriter->writeAttribute('typeface', ''); - $objWriter->endElement(); - - foreach($fontSet as $fontScript => $typeface) { - $objWriter->startElement('a:font'); - $objWriter->writeAttribute('script', $fontScript); - $objWriter->writeAttribute('typeface', $typeface); - $objWriter->endElement(); - } - - } - - /** - * Write colour scheme to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - private function _writeColourScheme($objWriter) - { - foreach(self::$_colourScheme as $colourName => $colourValue) { - $objWriter->startElement('a:'.$colourName); - - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', $colourValue); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Workbook.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Workbook.php deleted file mode 100644 index f30929476..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Workbook.php +++ /dev/null @@ -1,456 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Workbook - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Workbook extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write workbook to XML format - * - * @param PHPExcel $pPHPExcel - * @param boolean $recalcRequired Indicate whether formulas should be recalculated before writing - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorkbook(PHPExcel $pPHPExcel = null, $recalcRequired = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // workbook - $objWriter->startElement('workbook'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - // fileVersion - $this->_writeFileVersion($objWriter); - - // workbookPr - $this->_writeWorkbookPr($objWriter); - - // workbookProtection - $this->_writeWorkbookProtection($objWriter, $pPHPExcel); - - // bookViews - if ($this->getParentWriter()->getOffice2003Compatibility() === false) { - $this->_writeBookViews($objWriter, $pPHPExcel); - } - - // sheets - $this->_writeSheets($objWriter, $pPHPExcel); - - // definedNames - $this->_writeDefinedNames($objWriter, $pPHPExcel); - - // calcPr - $this->_writeCalcPr($objWriter,$recalcRequired); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write file version - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @throws PHPExcel_Writer_Exception - */ - private function _writeFileVersion(PHPExcel_Shared_XMLWriter $objWriter = null) - { - $objWriter->startElement('fileVersion'); - $objWriter->writeAttribute('appName', 'xl'); - $objWriter->writeAttribute('lastEdited', '4'); - $objWriter->writeAttribute('lowestEdited', '4'); - $objWriter->writeAttribute('rupBuild', '4505'); - $objWriter->endElement(); - } - - /** - * Write WorkbookPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @throws PHPExcel_Writer_Exception - */ - private function _writeWorkbookPr(PHPExcel_Shared_XMLWriter $objWriter = null) - { - $objWriter->startElement('workbookPr'); - - if (PHPExcel_Shared_Date::getExcelCalendar() == PHPExcel_Shared_Date::CALENDAR_MAC_1904) { - $objWriter->writeAttribute('date1904', '1'); - } - - $objWriter->writeAttribute('codeName', 'ThisWorkbook'); - - $objWriter->endElement(); - } - - /** - * Write BookViews - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeBookViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - // bookViews - $objWriter->startElement('bookViews'); - - // workbookView - $objWriter->startElement('workbookView'); - - $objWriter->writeAttribute('activeTab', $pPHPExcel->getActiveSheetIndex()); - $objWriter->writeAttribute('autoFilterDateGrouping', '1'); - $objWriter->writeAttribute('firstSheet', '0'); - $objWriter->writeAttribute('minimized', '0'); - $objWriter->writeAttribute('showHorizontalScroll', '1'); - $objWriter->writeAttribute('showSheetTabs', '1'); - $objWriter->writeAttribute('showVerticalScroll', '1'); - $objWriter->writeAttribute('tabRatio', '600'); - $objWriter->writeAttribute('visibility', 'visible'); - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write WorkbookProtection - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeWorkbookProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - if ($pPHPExcel->getSecurity()->isSecurityEnabled()) { - $objWriter->startElement('workbookProtection'); - $objWriter->writeAttribute('lockRevision', ($pPHPExcel->getSecurity()->getLockRevision() ? 'true' : 'false')); - $objWriter->writeAttribute('lockStructure', ($pPHPExcel->getSecurity()->getLockStructure() ? 'true' : 'false')); - $objWriter->writeAttribute('lockWindows', ($pPHPExcel->getSecurity()->getLockWindows() ? 'true' : 'false')); - - if ($pPHPExcel->getSecurity()->getRevisionsPassword() != '') { - $objWriter->writeAttribute('revisionsPassword', $pPHPExcel->getSecurity()->getRevisionsPassword()); - } - - if ($pPHPExcel->getSecurity()->getWorkbookPassword() != '') { - $objWriter->writeAttribute('workbookPassword', $pPHPExcel->getSecurity()->getWorkbookPassword()); - } - - $objWriter->endElement(); - } - } - - /** - * Write calcPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param boolean $recalcRequired Indicate whether formulas should be recalculated before writing - * @throws PHPExcel_Writer_Exception - */ - private function _writeCalcPr(PHPExcel_Shared_XMLWriter $objWriter = null, $recalcRequired = TRUE) - { - $objWriter->startElement('calcPr'); - - // Set the calcid to a higher value than Excel itself will use, otherwise Excel will always recalc - // If MS Excel does do a recalc, then users opening a file in MS Excel will be prompted to save on exit - // because the file has changed - $objWriter->writeAttribute('calcId', '999999'); - $objWriter->writeAttribute('calcMode', 'auto'); - // fullCalcOnLoad isn't needed if we've recalculating for the save - $objWriter->writeAttribute('calcCompleted', ($recalcRequired) ? 1 : 0); - $objWriter->writeAttribute('fullCalcOnLoad', ($recalcRequired) ? 0 : 1); - - $objWriter->endElement(); - } - - /** - * Write sheets - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheets(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - // Write sheets - $objWriter->startElement('sheets'); - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - // sheet - $this->_writeSheet( - $objWriter, - $pPHPExcel->getSheet($i)->getTitle(), - ($i + 1), - ($i + 1 + 3), - $pPHPExcel->getSheet($i)->getSheetState() - ); - } - - $objWriter->endElement(); - } - - /** - * Write sheet - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pSheetname Sheet name - * @param int $pSheetId Sheet id - * @param int $pRelId Relationship ID - * @param string $sheetState Sheet state (visible, hidden, veryHidden) - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheet(PHPExcel_Shared_XMLWriter $objWriter = null, $pSheetname = '', $pSheetId = 1, $pRelId = 1, $sheetState = 'visible') - { - if ($pSheetname != '') { - // Write sheet - $objWriter->startElement('sheet'); - $objWriter->writeAttribute('name', $pSheetname); - $objWriter->writeAttribute('sheetId', $pSheetId); - if ($sheetState != 'visible' && $sheetState != '') { - $objWriter->writeAttribute('state', $sheetState); - } - $objWriter->writeAttribute('r:id', 'rId' . $pRelId); - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Defined Names - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNames(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - // Write defined names - $objWriter->startElement('definedNames'); - - // Named ranges - if (count($pPHPExcel->getNamedRanges()) > 0) { - // Named ranges - $this->_writeNamedRanges($objWriter, $pPHPExcel); - } - - // Other defined names - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - // definedName for autoFilter - $this->_writeDefinedNameForAutofilter($objWriter, $pPHPExcel->getSheet($i), $i); - - // definedName for Print_Titles - $this->_writeDefinedNameForPrintTitles($objWriter, $pPHPExcel->getSheet($i), $i); - - // definedName for Print_Area - $this->_writeDefinedNameForPrintArea($objWriter, $pPHPExcel->getSheet($i), $i); - } - - $objWriter->endElement(); - } - - /** - * Write named ranges - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeNamedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel) - { - // Loop named ranges - $namedRanges = $pPHPExcel->getNamedRanges(); - foreach ($namedRanges as $namedRange) { - $this->_writeDefinedNameForNamedRange($objWriter, $namedRange); - } - } - - /** - * Write Defined Name for named range - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_NamedRange $pNamedRange - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForNamedRange(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_NamedRange $pNamedRange) - { - // definedName for named range - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', $pNamedRange->getName()); - if ($pNamedRange->getLocalOnly()) { - $objWriter->writeAttribute('localSheetId', $pNamedRange->getScope()->getParent()->getIndex($pNamedRange->getScope())); - } - - // Create absolute coordinate and write as raw text - $range = PHPExcel_Cell::splitRange($pNamedRange->getRange()); - for ($i = 0; $i < count($range); $i++) { - $range[$i][0] = '\'' . str_replace("'", "''", $pNamedRange->getWorksheet()->getTitle()) . '\'!' . PHPExcel_Cell::absoluteReference($range[$i][0]); - if (isset($range[$i][1])) { - $range[$i][1] = PHPExcel_Cell::absoluteReference($range[$i][1]); - } - } - $range = PHPExcel_Cell::buildRange($range); - - $objWriter->writeRawData($range); - - $objWriter->endElement(); - } - - /** - * Write Defined Name for autoFilter - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet - * @param int $pSheetId - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForAutofilter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0) - { - // definedName for autoFilter - $autoFilterRange = $pSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', '_xlnm._FilterDatabase'); - $objWriter->writeAttribute('localSheetId', $pSheetId); - $objWriter->writeAttribute('hidden', '1'); - - // Create absolute coordinate and write as raw text - $range = PHPExcel_Cell::splitRange($autoFilterRange); - $range = $range[0]; - // Strip any worksheet ref so we can make the cell ref absolute - if (strpos($range[0],'!') !== false) { - list($ws,$range[0]) = explode('!',$range[0]); - } - - $range[0] = PHPExcel_Cell::absoluteCoordinate($range[0]); - $range[1] = PHPExcel_Cell::absoluteCoordinate($range[1]); - $range = implode(':', $range); - - $objWriter->writeRawData('\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!' . $range); - - $objWriter->endElement(); - } - } - - /** - * Write Defined Name for PrintTitles - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet - * @param int $pSheetId - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForPrintTitles(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0) - { - // definedName for PrintTitles - if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet() || $pSheet->getPageSetup()->isRowsToRepeatAtTopSet()) { - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', '_xlnm.Print_Titles'); - $objWriter->writeAttribute('localSheetId', $pSheetId); - - // Setting string - $settingString = ''; - - // Columns to repeat - if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet()) { - $repeat = $pSheet->getPageSetup()->getColumnsToRepeatAtLeft(); - - $settingString .= '\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!$' . $repeat[0] . ':$' . $repeat[1]; - } - - // Rows to repeat - if ($pSheet->getPageSetup()->isRowsToRepeatAtTopSet()) { - if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet()) { - $settingString .= ','; - } - - $repeat = $pSheet->getPageSetup()->getRowsToRepeatAtTop(); - - $settingString .= '\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!$' . $repeat[0] . ':$' . $repeat[1]; - } - - $objWriter->writeRawData($settingString); - - $objWriter->endElement(); - } - } - - /** - * Write Defined Name for PrintTitles - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet - * @param int $pSheetId - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForPrintArea(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0) - { - // definedName for PrintArea - if ($pSheet->getPageSetup()->isPrintAreaSet()) { - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', '_xlnm.Print_Area'); - $objWriter->writeAttribute('localSheetId', $pSheetId); - - // Setting string - $settingString = ''; - - // Print area - $printArea = PHPExcel_Cell::splitRange($pSheet->getPageSetup()->getPrintArea()); - - $chunks = array(); - foreach ($printArea as $printAreaRect) { - $printAreaRect[0] = PHPExcel_Cell::absoluteReference($printAreaRect[0]); - $printAreaRect[1] = PHPExcel_Cell::absoluteReference($printAreaRect[1]); - $chunks[] = '\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!' . implode(':', $printAreaRect); - } - - $objWriter->writeRawData(implode(',', $chunks)); - - $objWriter->endElement(); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Worksheet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Worksheet.php deleted file mode 100644 index 5cb803e52..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/Worksheet.php +++ /dev/null @@ -1,1220 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Worksheet extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write worksheet to XML format - * - * @param PHPExcel_Worksheet $pSheet - * @param string[] $pStringTable - * @param boolean $includeCharts Flag indicating if we should write charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorksheet($pSheet = null, $pStringTable = null, $includeCharts = FALSE) - { - if (!is_null($pSheet)) { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Worksheet - $objWriter->startElement('worksheet'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - // sheetPr - $this->_writeSheetPr($objWriter, $pSheet); - - // Dimension - $this->_writeDimension($objWriter, $pSheet); - - // sheetViews - $this->_writeSheetViews($objWriter, $pSheet); - - // sheetFormatPr - $this->_writeSheetFormatPr($objWriter, $pSheet); - - // cols - $this->_writeCols($objWriter, $pSheet); - - // sheetData - $this->_writeSheetData($objWriter, $pSheet, $pStringTable); - - // sheetProtection - $this->_writeSheetProtection($objWriter, $pSheet); - - // protectedRanges - $this->_writeProtectedRanges($objWriter, $pSheet); - - // autoFilter - $this->_writeAutoFilter($objWriter, $pSheet); - - // mergeCells - $this->_writeMergeCells($objWriter, $pSheet); - - // conditionalFormatting - $this->_writeConditionalFormatting($objWriter, $pSheet); - - // dataValidations - $this->_writeDataValidations($objWriter, $pSheet); - - // hyperlinks - $this->_writeHyperlinks($objWriter, $pSheet); - - // Print options - $this->_writePrintOptions($objWriter, $pSheet); - - // Page margins - $this->_writePageMargins($objWriter, $pSheet); - - // Page setup - $this->_writePageSetup($objWriter, $pSheet); - - // Header / footer - $this->_writeHeaderFooter($objWriter, $pSheet); - - // Breaks - $this->_writeBreaks($objWriter, $pSheet); - - // Drawings and/or Charts - $this->_writeDrawings($objWriter, $pSheet, $includeCharts); - - // LegacyDrawing - $this->_writeLegacyDrawing($objWriter, $pSheet); - - // LegacyDrawingHF - $this->_writeLegacyDrawingHF($objWriter, $pSheet); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } else { - throw new PHPExcel_Writer_Exception("Invalid PHPExcel_Worksheet object passed."); - } - } - - /** - * Write SheetPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetPr(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // sheetPr - $objWriter->startElement('sheetPr'); - //$objWriter->writeAttribute('codeName', $pSheet->getTitle()); - if($pSheet->getParent()->hasMacros()){//if the workbook have macros, we need to have codeName for the sheet - if($pSheet->hasCodeName()==false){ - $pSheet->setCodeName($pSheet->getTitle()); - } - $objWriter->writeAttribute('codeName', $pSheet->getCodeName()); - } - $autoFilterRange = $pSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - $objWriter->writeAttribute('filterMode', 1); - $pSheet->getAutoFilter()->showHideRows(); - } - - // tabColor - if ($pSheet->isTabColorSet()) { - $objWriter->startElement('tabColor'); - $objWriter->writeAttribute('rgb', $pSheet->getTabColor()->getARGB()); - $objWriter->endElement(); - } - - // outlinePr - $objWriter->startElement('outlinePr'); - $objWriter->writeAttribute('summaryBelow', ($pSheet->getShowSummaryBelow() ? '1' : '0')); - $objWriter->writeAttribute('summaryRight', ($pSheet->getShowSummaryRight() ? '1' : '0')); - $objWriter->endElement(); - - // pageSetUpPr - if ($pSheet->getPageSetup()->getFitToPage()) { - $objWriter->startElement('pageSetUpPr'); - $objWriter->writeAttribute('fitToPage', '1'); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Dimension - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeDimension(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // dimension - $objWriter->startElement('dimension'); - $objWriter->writeAttribute('ref', $pSheet->calculateWorksheetDimension()); - $objWriter->endElement(); - } - - /** - * Write SheetViews - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetViews(PHPExcel_Shared_XMLWriter $objWriter = NULL, PHPExcel_Worksheet $pSheet = NULL) - { - // sheetViews - $objWriter->startElement('sheetViews'); - - // Sheet selected? - $sheetSelected = false; - if ($this->getParentWriter()->getPHPExcel()->getIndex($pSheet) == $this->getParentWriter()->getPHPExcel()->getActiveSheetIndex()) - $sheetSelected = true; - - - // sheetView - $objWriter->startElement('sheetView'); - $objWriter->writeAttribute('tabSelected', $sheetSelected ? '1' : '0'); - $objWriter->writeAttribute('workbookViewId', '0'); - - // Zoom scales - if ($pSheet->getSheetView()->getZoomScale() != 100) { - $objWriter->writeAttribute('zoomScale', $pSheet->getSheetView()->getZoomScale()); - } - if ($pSheet->getSheetView()->getZoomScaleNormal() != 100) { - $objWriter->writeAttribute('zoomScaleNormal', $pSheet->getSheetView()->getZoomScaleNormal()); - } - - // View Layout Type - if ($pSheet->getSheetView()->getView() !== PHPExcel_Worksheet_SheetView::SHEETVIEW_NORMAL) { - $objWriter->writeAttribute('view', $pSheet->getSheetView()->getView()); - } - - // Gridlines - if ($pSheet->getShowGridlines()) { - $objWriter->writeAttribute('showGridLines', 'true'); - } else { - $objWriter->writeAttribute('showGridLines', 'false'); - } - - // Row and column headers - if ($pSheet->getShowRowColHeaders()) { - $objWriter->writeAttribute('showRowColHeaders', '1'); - } else { - $objWriter->writeAttribute('showRowColHeaders', '0'); - } - - // Right-to-left - if ($pSheet->getRightToLeft()) { - $objWriter->writeAttribute('rightToLeft', 'true'); - } - - $activeCell = $pSheet->getActiveCell(); - - // Pane - $pane = ''; - $topLeftCell = $pSheet->getFreezePane(); - if (($topLeftCell != '') && ($topLeftCell != 'A1')) { - $activeCell = $topLeftCell; - // Calculate freeze coordinates - $xSplit = $ySplit = 0; - - list($xSplit, $ySplit) = PHPExcel_Cell::coordinateFromString($topLeftCell); - $xSplit = PHPExcel_Cell::columnIndexFromString($xSplit); - - // pane - $pane = 'topRight'; - $objWriter->startElement('pane'); - if ($xSplit > 1) - $objWriter->writeAttribute('xSplit', $xSplit - 1); - if ($ySplit > 1) { - $objWriter->writeAttribute('ySplit', $ySplit - 1); - $pane = ($xSplit > 1) ? 'bottomRight' : 'bottomLeft'; - } - $objWriter->writeAttribute('topLeftCell', $topLeftCell); - $objWriter->writeAttribute('activePane', $pane); - $objWriter->writeAttribute('state', 'frozen'); - $objWriter->endElement(); - - if (($xSplit > 1) && ($ySplit > 1)) { - // Write additional selections if more than two panes (ie both an X and a Y split) - $objWriter->startElement('selection'); $objWriter->writeAttribute('pane', 'topRight'); $objWriter->endElement(); - $objWriter->startElement('selection'); $objWriter->writeAttribute('pane', 'bottomLeft'); $objWriter->endElement(); - } - } - - // Selection -// if ($pane != '') { - // Only need to write selection element if we have a split pane - // We cheat a little by over-riding the active cell selection, setting it to the split cell - $objWriter->startElement('selection'); - if ($pane != '') { - $objWriter->writeAttribute('pane', $pane); - } - $objWriter->writeAttribute('activeCell', $activeCell); - $objWriter->writeAttribute('sqref', $activeCell); - $objWriter->endElement(); -// } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write SheetFormatPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetFormatPr(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // sheetFormatPr - $objWriter->startElement('sheetFormatPr'); - - // Default row height - if ($pSheet->getDefaultRowDimension()->getRowHeight() >= 0) { - $objWriter->writeAttribute('customHeight', 'true'); - $objWriter->writeAttribute('defaultRowHeight', PHPExcel_Shared_String::FormatNumber($pSheet->getDefaultRowDimension()->getRowHeight())); - } else { - $objWriter->writeAttribute('defaultRowHeight', '14.4'); - } - - // Set Zero Height row - if ((string)$pSheet->getDefaultRowDimension()->getZeroHeight() == '1' || - strtolower((string)$pSheet->getDefaultRowDimension()->getZeroHeight()) == 'true' ) { - $objWriter->writeAttribute('zeroHeight', '1'); - } - - // Default column width - if ($pSheet->getDefaultColumnDimension()->getWidth() >= 0) { - $objWriter->writeAttribute('defaultColWidth', PHPExcel_Shared_String::FormatNumber($pSheet->getDefaultColumnDimension()->getWidth())); - } - - // Outline level - row - $outlineLevelRow = 0; - foreach ($pSheet->getRowDimensions() as $dimension) { - if ($dimension->getOutlineLevel() > $outlineLevelRow) { - $outlineLevelRow = $dimension->getOutlineLevel(); - } - } - $objWriter->writeAttribute('outlineLevelRow', (int)$outlineLevelRow); - - // Outline level - column - $outlineLevelCol = 0; - foreach ($pSheet->getColumnDimensions() as $dimension) { - if ($dimension->getOutlineLevel() > $outlineLevelCol) { - $outlineLevelCol = $dimension->getOutlineLevel(); - } - } - $objWriter->writeAttribute('outlineLevelCol', (int)$outlineLevelCol); - - $objWriter->endElement(); - } - - /** - * Write Cols - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeCols(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // cols - if (count($pSheet->getColumnDimensions()) > 0) { - $objWriter->startElement('cols'); - - $pSheet->calculateColumnWidths(); - - // Loop through column dimensions - foreach ($pSheet->getColumnDimensions() as $colDimension) { - // col - $objWriter->startElement('col'); - $objWriter->writeAttribute('min', PHPExcel_Cell::columnIndexFromString($colDimension->getColumnIndex())); - $objWriter->writeAttribute('max', PHPExcel_Cell::columnIndexFromString($colDimension->getColumnIndex())); - - if ($colDimension->getWidth() < 0) { - // No width set, apply default of 10 - $objWriter->writeAttribute('width', '9.10'); - } else { - // Width set - $objWriter->writeAttribute('width', PHPExcel_Shared_String::FormatNumber($colDimension->getWidth())); - } - - // Column visibility - if ($colDimension->getVisible() == false) { - $objWriter->writeAttribute('hidden', 'true'); - } - - // Auto size? - if ($colDimension->getAutoSize()) { - $objWriter->writeAttribute('bestFit', 'true'); - } - - // Custom width? - if ($colDimension->getWidth() != $pSheet->getDefaultColumnDimension()->getWidth()) { - $objWriter->writeAttribute('customWidth', 'true'); - } - - // Collapsed - if ($colDimension->getCollapsed() == true) { - $objWriter->writeAttribute('collapsed', 'true'); - } - - // Outline level - if ($colDimension->getOutlineLevel() > 0) { - $objWriter->writeAttribute('outlineLevel', $colDimension->getOutlineLevel()); - } - - // Style - $objWriter->writeAttribute('style', $colDimension->getXfIndex()); - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write SheetProtection - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // sheetProtection - $objWriter->startElement('sheetProtection'); - - if ($pSheet->getProtection()->getPassword() != '') { - $objWriter->writeAttribute('password', $pSheet->getProtection()->getPassword()); - } - - $objWriter->writeAttribute('sheet', ($pSheet->getProtection()->getSheet() ? 'true' : 'false')); - $objWriter->writeAttribute('objects', ($pSheet->getProtection()->getObjects() ? 'true' : 'false')); - $objWriter->writeAttribute('scenarios', ($pSheet->getProtection()->getScenarios() ? 'true' : 'false')); - $objWriter->writeAttribute('formatCells', ($pSheet->getProtection()->getFormatCells() ? 'true' : 'false')); - $objWriter->writeAttribute('formatColumns', ($pSheet->getProtection()->getFormatColumns() ? 'true' : 'false')); - $objWriter->writeAttribute('formatRows', ($pSheet->getProtection()->getFormatRows() ? 'true' : 'false')); - $objWriter->writeAttribute('insertColumns', ($pSheet->getProtection()->getInsertColumns() ? 'true' : 'false')); - $objWriter->writeAttribute('insertRows', ($pSheet->getProtection()->getInsertRows() ? 'true' : 'false')); - $objWriter->writeAttribute('insertHyperlinks', ($pSheet->getProtection()->getInsertHyperlinks() ? 'true' : 'false')); - $objWriter->writeAttribute('deleteColumns', ($pSheet->getProtection()->getDeleteColumns() ? 'true' : 'false')); - $objWriter->writeAttribute('deleteRows', ($pSheet->getProtection()->getDeleteRows() ? 'true' : 'false')); - $objWriter->writeAttribute('selectLockedCells', ($pSheet->getProtection()->getSelectLockedCells() ? 'true' : 'false')); - $objWriter->writeAttribute('sort', ($pSheet->getProtection()->getSort() ? 'true' : 'false')); - $objWriter->writeAttribute('autoFilter', ($pSheet->getProtection()->getAutoFilter() ? 'true' : 'false')); - $objWriter->writeAttribute('pivotTables', ($pSheet->getProtection()->getPivotTables() ? 'true' : 'false')); - $objWriter->writeAttribute('selectUnlockedCells', ($pSheet->getProtection()->getSelectUnlockedCells() ? 'true' : 'false')); - $objWriter->endElement(); - } - - /** - * Write ConditionalFormatting - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeConditionalFormatting(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Conditional id - $id = 1; - - // Loop through styles in the current worksheet - foreach ($pSheet->getConditionalStylesCollection() as $cellCoordinate => $conditionalStyles) { - foreach ($conditionalStyles as $conditional) { - // WHY was this again? - // if ($this->getParentWriter()->getStylesConditionalHashTable()->getIndexForHashCode( $conditional->getHashCode() ) == '') { - // continue; - // } - if ($conditional->getConditionType() != PHPExcel_Style_Conditional::CONDITION_NONE) { - // conditionalFormatting - $objWriter->startElement('conditionalFormatting'); - $objWriter->writeAttribute('sqref', $cellCoordinate); - - // cfRule - $objWriter->startElement('cfRule'); - $objWriter->writeAttribute('type', $conditional->getConditionType()); - $objWriter->writeAttribute('dxfId', $this->getParentWriter()->getStylesConditionalHashTable()->getIndexForHashCode( $conditional->getHashCode() )); - $objWriter->writeAttribute('priority', $id++); - - if (($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS - || - $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT) - && $conditional->getOperatorType() != PHPExcel_Style_Conditional::OPERATOR_NONE) { - $objWriter->writeAttribute('operator', $conditional->getOperatorType()); - } - - if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && !is_null($conditional->getText())) { - $objWriter->writeAttribute('text', $conditional->getText()); - } - - if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_CONTAINSTEXT - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'NOT(ISERROR(SEARCH("' . $conditional->getText() . '",' . $cellCoordinate . ')))'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_BEGINSWITH - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'LEFT(' . $cellCoordinate . ',' . strlen($conditional->getText()) . ')="' . $conditional->getText() . '"'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_ENDSWITH - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'RIGHT(' . $cellCoordinate . ',' . strlen($conditional->getText()) . ')="' . $conditional->getText() . '"'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_NOTCONTAINS - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'ISERROR(SEARCH("' . $conditional->getText() . '",' . $cellCoordinate . '))'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION) { - foreach ($conditional->getConditions() as $formula) { - // Formula - $objWriter->writeElement('formula', $formula); - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - } - } - - /** - * Write DataValidations - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeDataValidations(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Datavalidation collection - $dataValidationCollection = $pSheet->getDataValidationCollection(); - - // Write data validations? - if (!empty($dataValidationCollection)) { - $objWriter->startElement('dataValidations'); - $objWriter->writeAttribute('count', count($dataValidationCollection)); - - foreach ($dataValidationCollection as $coordinate => $dv) { - $objWriter->startElement('dataValidation'); - - if ($dv->getType() != '') { - $objWriter->writeAttribute('type', $dv->getType()); - } - - if ($dv->getErrorStyle() != '') { - $objWriter->writeAttribute('errorStyle', $dv->getErrorStyle()); - } - - if ($dv->getOperator() != '') { - $objWriter->writeAttribute('operator', $dv->getOperator()); - } - - $objWriter->writeAttribute('allowBlank', ($dv->getAllowBlank() ? '1' : '0')); - $objWriter->writeAttribute('showDropDown', (!$dv->getShowDropDown() ? '1' : '0')); - $objWriter->writeAttribute('showInputMessage', ($dv->getShowInputMessage() ? '1' : '0')); - $objWriter->writeAttribute('showErrorMessage', ($dv->getShowErrorMessage() ? '1' : '0')); - - if ($dv->getErrorTitle() !== '') { - $objWriter->writeAttribute('errorTitle', $dv->getErrorTitle()); - } - if ($dv->getError() !== '') { - $objWriter->writeAttribute('error', $dv->getError()); - } - if ($dv->getPromptTitle() !== '') { - $objWriter->writeAttribute('promptTitle', $dv->getPromptTitle()); - } - if ($dv->getPrompt() !== '') { - $objWriter->writeAttribute('prompt', $dv->getPrompt()); - } - - $objWriter->writeAttribute('sqref', $coordinate); - - if ($dv->getFormula1() !== '') { - $objWriter->writeElement('formula1', $dv->getFormula1()); - } - if ($dv->getFormula2() !== '') { - $objWriter->writeElement('formula2', $dv->getFormula2()); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write Hyperlinks - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeHyperlinks(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Hyperlink collection - $hyperlinkCollection = $pSheet->getHyperlinkCollection(); - - // Relation ID - $relationId = 1; - - // Write hyperlinks? - if (!empty($hyperlinkCollection)) { - $objWriter->startElement('hyperlinks'); - - foreach ($hyperlinkCollection as $coordinate => $hyperlink) { - $objWriter->startElement('hyperlink'); - - $objWriter->writeAttribute('ref', $coordinate); - if (!$hyperlink->isInternal()) { - $objWriter->writeAttribute('r:id', 'rId_hyperlink_' . $relationId); - ++$relationId; - } else { - $objWriter->writeAttribute('location', str_replace('sheet://', '', $hyperlink->getUrl())); - } - - if ($hyperlink->getTooltip() != '') { - $objWriter->writeAttribute('tooltip', $hyperlink->getTooltip()); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write ProtectedRanges - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeProtectedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - if (count($pSheet->getProtectedCells()) > 0) { - // protectedRanges - $objWriter->startElement('protectedRanges'); - - // Loop protectedRanges - foreach ($pSheet->getProtectedCells() as $protectedCell => $passwordHash) { - // protectedRange - $objWriter->startElement('protectedRange'); - $objWriter->writeAttribute('name', 'p' . md5($protectedCell)); - $objWriter->writeAttribute('sqref', $protectedCell); - if (!empty($passwordHash)) { - $objWriter->writeAttribute('password', $passwordHash); - } - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write MergeCells - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeMergeCells(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - if (count($pSheet->getMergeCells()) > 0) { - // mergeCells - $objWriter->startElement('mergeCells'); - - // Loop mergeCells - foreach ($pSheet->getMergeCells() as $mergeCell) { - // mergeCell - $objWriter->startElement('mergeCell'); - $objWriter->writeAttribute('ref', $mergeCell); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write PrintOptions - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writePrintOptions(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // printOptions - $objWriter->startElement('printOptions'); - - $objWriter->writeAttribute('gridLines', ($pSheet->getPrintGridlines() ? 'true': 'false')); - $objWriter->writeAttribute('gridLinesSet', 'true'); - - if ($pSheet->getPageSetup()->getHorizontalCentered()) { - $objWriter->writeAttribute('horizontalCentered', 'true'); - } - - if ($pSheet->getPageSetup()->getVerticalCentered()) { - $objWriter->writeAttribute('verticalCentered', 'true'); - } - - $objWriter->endElement(); - } - - /** - * Write PageMargins - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writePageMargins(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // pageMargins - $objWriter->startElement('pageMargins'); - $objWriter->writeAttribute('left', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getLeft())); - $objWriter->writeAttribute('right', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getRight())); - $objWriter->writeAttribute('top', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getTop())); - $objWriter->writeAttribute('bottom', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getBottom())); - $objWriter->writeAttribute('header', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getHeader())); - $objWriter->writeAttribute('footer', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getFooter())); - $objWriter->endElement(); - } - - /** - * Write AutoFilter - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeAutoFilter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - $autoFilterRange = $pSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - // autoFilter - $objWriter->startElement('autoFilter'); - - // Strip any worksheet reference from the filter coordinates - $range = PHPExcel_Cell::splitRange($autoFilterRange); - $range = $range[0]; - // Strip any worksheet ref - if (strpos($range[0],'!') !== false) { - list($ws,$range[0]) = explode('!',$range[0]); - } - $range = implode(':', $range); - - $objWriter->writeAttribute('ref', str_replace('$','',$range)); - - $columns = $pSheet->getAutoFilter()->getColumns(); - if (count($columns > 0)) { - foreach($columns as $columnID => $column) { - $rules = $column->getRules(); - if (count($rules > 0)) { - $objWriter->startElement('filterColumn'); - $objWriter->writeAttribute('colId', $pSheet->getAutoFilter()->getColumnOffset($columnID)); - - $objWriter->startElement( $column->getFilterType()); - if ($column->getJoin() == PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND) { - $objWriter->writeAttribute('and', 1); - } - - foreach ($rules as $rule) { - if (($column->getFilterType() === PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER) && - ($rule->getOperator() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL) && - ($rule->getValue() === '')) { - // Filter rule for Blanks - $objWriter->writeAttribute('blank', 1); - } elseif($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER) { - // Dynamic Filter Rule - $objWriter->writeAttribute('type', $rule->getGrouping()); - $val = $column->getAttribute('val'); - if ($val !== NULL) { - $objWriter->writeAttribute('val', $val); - } - $maxVal = $column->getAttribute('maxVal'); - if ($maxVal !== NULL) { - $objWriter->writeAttribute('maxVal', $maxVal); - } - } elseif($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER) { - // Top 10 Filter Rule - $objWriter->writeAttribute('val', $rule->getValue()); - $objWriter->writeAttribute('percent', (($rule->getOperator() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT) ? '1' : '0')); - $objWriter->writeAttribute('top', (($rule->getGrouping() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) ? '1': '0')); - } else { - // Filter, DateGroupItem or CustomFilter - $objWriter->startElement($rule->getRuleType()); - - if ($rule->getOperator() !== PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL) { - $objWriter->writeAttribute('operator', $rule->getOperator()); - } - if ($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP) { - // Date Group filters - foreach($rule->getValue() as $key => $value) { - if ($value > '') $objWriter->writeAttribute($key, $value); - } - $objWriter->writeAttribute('dateTimeGrouping', $rule->getGrouping()); - } else { - $objWriter->writeAttribute('val', $rule->getValue()); - } - - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - } - - $objWriter->endElement(); - } - } - - /** - * Write PageSetup - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writePageSetup(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // pageSetup - $objWriter->startElement('pageSetup'); - $objWriter->writeAttribute('paperSize', $pSheet->getPageSetup()->getPaperSize()); - $objWriter->writeAttribute('orientation', $pSheet->getPageSetup()->getOrientation()); - - if (!is_null($pSheet->getPageSetup()->getScale())) { - $objWriter->writeAttribute('scale', $pSheet->getPageSetup()->getScale()); - } - if (!is_null($pSheet->getPageSetup()->getFitToHeight())) { - $objWriter->writeAttribute('fitToHeight', $pSheet->getPageSetup()->getFitToHeight()); - } else { - $objWriter->writeAttribute('fitToHeight', '0'); - } - if (!is_null($pSheet->getPageSetup()->getFitToWidth())) { - $objWriter->writeAttribute('fitToWidth', $pSheet->getPageSetup()->getFitToWidth()); - } else { - $objWriter->writeAttribute('fitToWidth', '0'); - } - if (!is_null($pSheet->getPageSetup()->getFirstPageNumber())) { - $objWriter->writeAttribute('firstPageNumber', $pSheet->getPageSetup()->getFirstPageNumber()); - $objWriter->writeAttribute('useFirstPageNumber', '1'); - } - - $objWriter->endElement(); - } - - /** - * Write Header / Footer - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeHeaderFooter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // headerFooter - $objWriter->startElement('headerFooter'); - $objWriter->writeAttribute('differentOddEven', ($pSheet->getHeaderFooter()->getDifferentOddEven() ? 'true' : 'false')); - $objWriter->writeAttribute('differentFirst', ($pSheet->getHeaderFooter()->getDifferentFirst() ? 'true' : 'false')); - $objWriter->writeAttribute('scaleWithDoc', ($pSheet->getHeaderFooter()->getScaleWithDocument() ? 'true' : 'false')); - $objWriter->writeAttribute('alignWithMargins', ($pSheet->getHeaderFooter()->getAlignWithMargins() ? 'true' : 'false')); - - $objWriter->writeElement('oddHeader', $pSheet->getHeaderFooter()->getOddHeader()); - $objWriter->writeElement('oddFooter', $pSheet->getHeaderFooter()->getOddFooter()); - $objWriter->writeElement('evenHeader', $pSheet->getHeaderFooter()->getEvenHeader()); - $objWriter->writeElement('evenFooter', $pSheet->getHeaderFooter()->getEvenFooter()); - $objWriter->writeElement('firstHeader', $pSheet->getHeaderFooter()->getFirstHeader()); - $objWriter->writeElement('firstFooter', $pSheet->getHeaderFooter()->getFirstFooter()); - $objWriter->endElement(); - } - - /** - * Write Breaks - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeBreaks(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Get row and column breaks - $aRowBreaks = array(); - $aColumnBreaks = array(); - foreach ($pSheet->getBreaks() as $cell => $breakType) { - if ($breakType == PHPExcel_Worksheet::BREAK_ROW) { - $aRowBreaks[] = $cell; - } else if ($breakType == PHPExcel_Worksheet::BREAK_COLUMN) { - $aColumnBreaks[] = $cell; - } - } - - // rowBreaks - if (!empty($aRowBreaks)) { - $objWriter->startElement('rowBreaks'); - $objWriter->writeAttribute('count', count($aRowBreaks)); - $objWriter->writeAttribute('manualBreakCount', count($aRowBreaks)); - - foreach ($aRowBreaks as $cell) { - $coords = PHPExcel_Cell::coordinateFromString($cell); - - $objWriter->startElement('brk'); - $objWriter->writeAttribute('id', $coords[1]); - $objWriter->writeAttribute('man', '1'); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - // Second, write column breaks - if (!empty($aColumnBreaks)) { - $objWriter->startElement('colBreaks'); - $objWriter->writeAttribute('count', count($aColumnBreaks)); - $objWriter->writeAttribute('manualBreakCount', count($aColumnBreaks)); - - foreach ($aColumnBreaks as $cell) { - $coords = PHPExcel_Cell::coordinateFromString($cell); - - $objWriter->startElement('brk'); - $objWriter->writeAttribute('id', PHPExcel_Cell::columnIndexFromString($coords[0]) - 1); - $objWriter->writeAttribute('man', '1'); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write SheetData - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param string[] $pStringTable String table - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetData(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pStringTable = null) - { - if (is_array($pStringTable)) { - // Flipped stringtable, for faster index searching - $aFlippedStringTable = $this->getParentWriter()->getWriterPart('stringtable')->flipStringTable($pStringTable); - - // sheetData - $objWriter->startElement('sheetData'); - - // Get column count - $colCount = PHPExcel_Cell::columnIndexFromString($pSheet->getHighestColumn()); - - // Highest row number - $highestRow = $pSheet->getHighestRow(); - - // Loop through cells - $cellsByRow = array(); - foreach ($pSheet->getCellCollection() as $cellID) { - $cellAddress = PHPExcel_Cell::coordinateFromString($cellID); - $cellsByRow[$cellAddress[1]][] = $cellID; - } - - $currentRow = 0; - while($currentRow++ < $highestRow) { - // Get row dimension - $rowDimension = $pSheet->getRowDimension($currentRow); - - // Write current row? - $writeCurrentRow = isset($cellsByRow[$currentRow]) || - $rowDimension->getRowHeight() >= 0 || - $rowDimension->getVisible() == false || - $rowDimension->getCollapsed() == true || - $rowDimension->getOutlineLevel() > 0 || - $rowDimension->getXfIndex() !== null; - - if ($writeCurrentRow) { - // Start a new row - $objWriter->startElement('row'); - $objWriter->writeAttribute('r', $currentRow); - $objWriter->writeAttribute('spans', '1:' . $colCount); - - // Row dimensions - if ($rowDimension->getRowHeight() >= 0) { - $objWriter->writeAttribute('customHeight', '1'); - $objWriter->writeAttribute('ht', PHPExcel_Shared_String::FormatNumber($rowDimension->getRowHeight())); - } - - // Row visibility - if ($rowDimension->getVisible() == false) { - $objWriter->writeAttribute('hidden', 'true'); - } - - // Collapsed - if ($rowDimension->getCollapsed() == true) { - $objWriter->writeAttribute('collapsed', 'true'); - } - - // Outline level - if ($rowDimension->getOutlineLevel() > 0) { - $objWriter->writeAttribute('outlineLevel', $rowDimension->getOutlineLevel()); - } - - // Style - if ($rowDimension->getXfIndex() !== null) { - $objWriter->writeAttribute('s', $rowDimension->getXfIndex()); - $objWriter->writeAttribute('customFormat', '1'); - } - - // Write cells - if (isset($cellsByRow[$currentRow])) { - foreach($cellsByRow[$currentRow] as $cellAddress) { - // Write cell - $this->_writeCell($objWriter, $pSheet, $cellAddress, $pStringTable, $aFlippedStringTable); - } - } - - // End row - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Cell - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param PHPExcel_Cell $pCellAddress Cell Address - * @param string[] $pStringTable String table - * @param string[] $pFlippedStringTable String table (flipped), for faster index searching - * @throws PHPExcel_Writer_Exception - */ - private function _writeCell(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pCellAddress = null, $pStringTable = null, $pFlippedStringTable = null) - { - if (is_array($pStringTable) && is_array($pFlippedStringTable)) { - // Cell - $pCell = $pSheet->getCell($pCellAddress); - $objWriter->startElement('c'); - $objWriter->writeAttribute('r', $pCellAddress); - - // Sheet styles - if ($pCell->getXfIndex() != '') { - $objWriter->writeAttribute('s', $pCell->getXfIndex()); - } - - // If cell value is supplied, write cell value - $cellValue = $pCell->getValue(); - if (is_object($cellValue) || $cellValue !== '') { - // Map type - $mappedType = $pCell->getDataType(); - - // Write data type depending on its type - switch (strtolower($mappedType)) { - case 'inlinestr': // Inline string - case 's': // String - case 'b': // Boolean - $objWriter->writeAttribute('t', $mappedType); - break; - case 'f': // Formula - $calculatedValue = ($this->getParentWriter()->getPreCalculateFormulas()) ? - $pCell->getCalculatedValue() : - $cellValue; - if (is_string($calculatedValue)) { - $objWriter->writeAttribute('t', 'str'); - } - break; - case 'e': // Error - $objWriter->writeAttribute('t', $mappedType); - } - - // Write data depending on its type - switch (strtolower($mappedType)) { - case 'inlinestr': // Inline string - if (! $cellValue instanceof PHPExcel_RichText) { - $objWriter->writeElement('t', PHPExcel_Shared_String::ControlCharacterPHP2OOXML( htmlspecialchars($cellValue) ) ); - } else if ($cellValue instanceof PHPExcel_RichText) { - $objWriter->startElement('is'); - $this->getParentWriter()->getWriterPart('stringtable')->writeRichText($objWriter, $cellValue); - $objWriter->endElement(); - } - - break; - case 's': // String - if (! $cellValue instanceof PHPExcel_RichText) { - if (isset($pFlippedStringTable[$cellValue])) { - $objWriter->writeElement('v', $pFlippedStringTable[$cellValue]); - } - } else if ($cellValue instanceof PHPExcel_RichText) { - $objWriter->writeElement('v', $pFlippedStringTable[$cellValue->getHashCode()]); - } - - break; - case 'f': // Formula - $attributes = $pCell->getFormulaAttributes(); - if($attributes['t'] == 'array') { - $objWriter->startElement('f'); - $objWriter->writeAttribute('t', 'array'); - $objWriter->writeAttribute('ref', $pCellAddress); - $objWriter->writeAttribute('aca', '1'); - $objWriter->writeAttribute('ca', '1'); - $objWriter->text(substr($cellValue, 1)); - $objWriter->endElement(); - } else { - $objWriter->writeElement('f', substr($cellValue, 1)); - } - if ($this->getParentWriter()->getOffice2003Compatibility() === false) { - if ($this->getParentWriter()->getPreCalculateFormulas()) { -// $calculatedValue = $pCell->getCalculatedValue(); - if (!is_array($calculatedValue) && substr($calculatedValue, 0, 1) != '#') { - $objWriter->writeElement('v', PHPExcel_Shared_String::FormatNumber($calculatedValue)); - } else { - $objWriter->writeElement('v', '0'); - } - } else { - $objWriter->writeElement('v', '0'); - } - } - break; - case 'n': // Numeric - // force point as decimal separator in case current locale uses comma - $objWriter->writeElement('v', str_replace(',', '.', $cellValue)); - break; - case 'b': // Boolean - $objWriter->writeElement('v', ($cellValue ? '1' : '0')); - break; - case 'e': // Error - if (substr($cellValue, 0, 1) == '=') { - $objWriter->writeElement('f', substr($cellValue, 1)); - $objWriter->writeElement('v', substr($cellValue, 1)); - } else { - $objWriter->writeElement('v', $cellValue); - } - - break; - } - } - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Drawings - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param boolean $includeCharts Flag indicating if we should include drawing details for charts - * @throws PHPExcel_Writer_Exception - */ - private function _writeDrawings(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $includeCharts = FALSE) - { - $chartCount = ($includeCharts) ? $pSheet->getChartCollection()->count() : 0; - // If sheet contains drawings, add the relationships - if (($pSheet->getDrawingCollection()->count() > 0) || - ($chartCount > 0)) { - $objWriter->startElement('drawing'); - $objWriter->writeAttribute('r:id', 'rId1'); - $objWriter->endElement(); - } - } - - /** - * Write LegacyDrawing - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeLegacyDrawing(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // If sheet contains comments, add the relationships - if (count($pSheet->getComments()) > 0) { - $objWriter->startElement('legacyDrawing'); - $objWriter->writeAttribute('r:id', 'rId_comments_vml1'); - $objWriter->endElement(); - } - } - - /** - * Write LegacyDrawingHF - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeLegacyDrawingHF(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // If sheet contains images, add the relationships - if (count($pSheet->getHeaderFooter()->getImages()) > 0) { - $objWriter->startElement('legacyDrawingHF'); - $objWriter->writeAttribute('r:id', 'rId_headerfooter_vml1'); - $objWriter->endElement(); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/WriterPart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/WriterPart.php deleted file mode 100644 index 68b1124fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/WriterPart.php +++ /dev/null @@ -1,81 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_WriterPart - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Parent IWriter object - * - * @var PHPExcel_Writer_IWriter - */ - private $_parentWriter; - - /** - * Set parent IWriter object - * - * @param PHPExcel_Writer_IWriter $pWriter - * @throws PHPExcel_Writer_Exception - */ - public function setParentWriter(PHPExcel_Writer_IWriter $pWriter = null) { - $this->_parentWriter = $pWriter; - } - - /** - * Get parent IWriter object - * - * @return PHPExcel_Writer_IWriter - * @throws PHPExcel_Writer_Exception - */ - public function getParentWriter() { - if (!is_null($this->_parentWriter)) { - return $this->_parentWriter; - } else { - throw new PHPExcel_Writer_Exception("No parent PHPExcel_Writer_IWriter assigned."); - } - } - - /** - * Set parent IWriter object - * - * @param PHPExcel_Writer_IWriter $pWriter - * @throws PHPExcel_Writer_Exception - */ - public function __construct(PHPExcel_Writer_IWriter $pWriter = null) { - if (!is_null($pWriter)) { - $this->_parentWriter = $pWriter; - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel2007/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5.php deleted file mode 100644 index 1a990d045..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5.php +++ /dev/null @@ -1,935 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel5 - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5 extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * PHPExcel object - * - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Total number of shared strings in workbook - * - * @var int - */ - private $_str_total = 0; - - /** - * Number of unique shared strings in workbook - * - * @var int - */ - private $_str_unique = 0; - - /** - * Array of unique shared strings in workbook - * - * @var array - */ - private $_str_table = array(); - - /** - * Color cache. Mapping between RGB value and color index. - * - * @var array - */ - private $_colors; - - /** - * Formula parser - * - * @var PHPExcel_Writer_Excel5_Parser - */ - private $_parser; - - /** - * Identifier clusters for drawings. Used in MSODRAWINGGROUP record. - * - * @var array - */ - private $_IDCLs; - - /** - * Basic OLE object summary information - * - * @var array - */ - private $_summaryInformation; - - /** - * Extended OLE object document summary information - * - * @var array - */ - private $_documentSummaryInformation; - - /** - * Create a new PHPExcel_Writer_Excel5 - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) { - $this->_phpExcel = $phpExcel; - - $this->_parser = new PHPExcel_Writer_Excel5_Parser(); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) { - - // garbage collect - $this->_phpExcel->garbageCollect(); - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog(FALSE); - $saveDateReturnType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - - // initialize colors array - $this->_colors = array(); - - // Initialise workbook writer - $this->_writerWorkbook = new PHPExcel_Writer_Excel5_Workbook($this->_phpExcel, - $this->_str_total, $this->_str_unique, $this->_str_table, - $this->_colors, $this->_parser); - - // Initialise worksheet writers - $countSheets = $this->_phpExcel->getSheetCount(); - for ($i = 0; $i < $countSheets; ++$i) { - $this->_writerWorksheets[$i] = new PHPExcel_Writer_Excel5_Worksheet($this->_str_total, $this->_str_unique, - $this->_str_table, $this->_colors, - $this->_parser, - $this->_preCalculateFormulas, - $this->_phpExcel->getSheet($i)); - } - - // build Escher objects. Escher objects for workbooks needs to be build before Escher object for workbook. - $this->_buildWorksheetEschers(); - $this->_buildWorkbookEscher(); - - // add 15 identical cell style Xfs - // for now, we use the first cellXf instead of cellStyleXf - $cellXfCollection = $this->_phpExcel->getCellXfCollection(); - for ($i = 0; $i < 15; ++$i) { - $this->_writerWorkbook->addXfWriter($cellXfCollection[0], true); - } - - // add all the cell Xfs - foreach ($this->_phpExcel->getCellXfCollection() as $style) { - $this->_writerWorkbook->addXfWriter($style, false); - } - - // add fonts from rich text eleemnts - for ($i = 0; $i < $countSheets; ++$i) { - foreach ($this->_writerWorksheets[$i]->_phpSheet->getCellCollection() as $cellID) { - $cell = $this->_writerWorksheets[$i]->_phpSheet->getCell($cellID); - $cVal = $cell->getValue(); - if ($cVal instanceof PHPExcel_RichText) { - $elements = $cVal->getRichTextElements(); - foreach ($elements as $element) { - if ($element instanceof PHPExcel_RichText_Run) { - $font = $element->getFont(); - $this->_writerWorksheets[$i]->_fntHashIndex[$font->getHashCode()] = $this->_writerWorkbook->_addFont($font); - } - } - } - } - } - - // initialize OLE file - $workbookStreamName = 'Workbook'; - $OLE = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs($workbookStreamName)); - - // Write the worksheet streams before the global workbook stream, - // because the byte sizes of these are needed in the global workbook stream - $worksheetSizes = array(); - for ($i = 0; $i < $countSheets; ++$i) { - $this->_writerWorksheets[$i]->close(); - $worksheetSizes[] = $this->_writerWorksheets[$i]->_datasize; - } - - // add binary data for global workbook stream - $OLE->append($this->_writerWorkbook->writeWorkbook($worksheetSizes)); - - // add binary data for sheet streams - for ($i = 0; $i < $countSheets; ++$i) { - $OLE->append($this->_writerWorksheets[$i]->getData()); - } - - $this->_documentSummaryInformation = $this->_writeDocumentSummaryInformation(); - // initialize OLE Document Summary Information - if(isset($this->_documentSummaryInformation) && !empty($this->_documentSummaryInformation)){ - $OLE_DocumentSummaryInformation = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs(chr(5) . 'DocumentSummaryInformation')); - $OLE_DocumentSummaryInformation->append($this->_documentSummaryInformation); - } - - $this->_summaryInformation = $this->_writeSummaryInformation(); - // initialize OLE Summary Information - if(isset($this->_summaryInformation) && !empty($this->_summaryInformation)){ - $OLE_SummaryInformation = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs(chr(5) . 'SummaryInformation')); - $OLE_SummaryInformation->append($this->_summaryInformation); - } - - // define OLE Parts - $arrRootData = array($OLE); - // initialize OLE Properties file - if(isset($OLE_SummaryInformation)){ - $arrRootData[] = $OLE_SummaryInformation; - } - // initialize OLE Extended Properties file - if(isset($OLE_DocumentSummaryInformation)){ - $arrRootData[] = $OLE_DocumentSummaryInformation; - } - - $root = new PHPExcel_Shared_OLE_PPS_Root(time(), time(), $arrRootData); - // save the OLE file - $res = $root->save($pFilename); - - PHPExcel_Calculation_Functions::setReturnDateType($saveDateReturnType); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); - } - - /** - * Set temporary storage directory - * - * @deprecated - * @param string $pValue Temporary storage directory - * @throws PHPExcel_Writer_Exception when directory does not exist - * @return PHPExcel_Writer_Excel5 - */ - public function setTempDir($pValue = '') { - return $this; - } - - /** - * Build the Worksheet Escher objects - * - */ - private function _buildWorksheetEschers() - { - // 1-based index to BstoreContainer - $blipIndex = 0; - $lastReducedSpId = 0; - $lastSpId = 0; - - foreach ($this->_phpExcel->getAllsheets() as $sheet) { - // sheet index - $sheetIndex = $sheet->getParent()->getIndex($sheet); - - $escher = null; - - // check if there are any shapes for this sheet - $filterRange = $sheet->getAutoFilter()->getRange(); - if (count($sheet->getDrawingCollection()) == 0 && empty($filterRange)) { - continue; - } - - // create intermediate Escher object - $escher = new PHPExcel_Shared_Escher(); - - // dgContainer - $dgContainer = new PHPExcel_Shared_Escher_DgContainer(); - - // set the drawing index (we use sheet index + 1) - $dgId = $sheet->getParent()->getIndex($sheet) + 1; - $dgContainer->setDgId($dgId); - $escher->setDgContainer($dgContainer); - - // spgrContainer - $spgrContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer(); - $dgContainer->setSpgrContainer($spgrContainer); - - // add one shape which is the group shape - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - $spContainer->setSpgr(true); - $spContainer->setSpType(0); - $spContainer->setSpId(($sheet->getParent()->getIndex($sheet) + 1) << 10); - $spgrContainer->addChild($spContainer); - - // add the shapes - - $countShapes[$sheetIndex] = 0; // count number of shapes (minus group shape), in sheet - - foreach ($sheet->getDrawingCollection() as $drawing) { - ++$blipIndex; - - ++$countShapes[$sheetIndex]; - - // add the shape - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - - // set the shape type - $spContainer->setSpType(0x004B); - // set the shape flag - $spContainer->setSpFlag(0x02); - - // set the shape index (we combine 1-based sheet index and $countShapes to create unique shape index) - $reducedSpId = $countShapes[$sheetIndex]; - $spId = $reducedSpId - | ($sheet->getParent()->getIndex($sheet) + 1) << 10; - $spContainer->setSpId($spId); - - // keep track of last reducedSpId - $lastReducedSpId = $reducedSpId; - - // keep track of last spId - $lastSpId = $spId; - - // set the BLIP index - $spContainer->setOPT(0x4104, $blipIndex); - - // set coordinates and offsets, client anchor - $coordinates = $drawing->getCoordinates(); - $offsetX = $drawing->getOffsetX(); - $offsetY = $drawing->getOffsetY(); - $width = $drawing->getWidth(); - $height = $drawing->getHeight(); - - $twoAnchor = PHPExcel_Shared_Excel5::oneAnchor2twoAnchor($sheet, $coordinates, $offsetX, $offsetY, $width, $height); - - $spContainer->setStartCoordinates($twoAnchor['startCoordinates']); - $spContainer->setStartOffsetX($twoAnchor['startOffsetX']); - $spContainer->setStartOffsetY($twoAnchor['startOffsetY']); - $spContainer->setEndCoordinates($twoAnchor['endCoordinates']); - $spContainer->setEndOffsetX($twoAnchor['endOffsetX']); - $spContainer->setEndOffsetY($twoAnchor['endOffsetY']); - - $spgrContainer->addChild($spContainer); - } - - // AutoFilters - if(!empty($filterRange)){ - $rangeBounds = PHPExcel_Cell::rangeBoundaries($filterRange); - $iNumColStart = $rangeBounds[0][0]; - $iNumColEnd = $rangeBounds[1][0]; - - $iInc = $iNumColStart; - while($iInc <= $iNumColEnd){ - ++$countShapes[$sheetIndex]; - - // create an Drawing Object for the dropdown - $oDrawing = new PHPExcel_Worksheet_BaseDrawing(); - // get the coordinates of drawing - $cDrawing = PHPExcel_Cell::stringFromColumnIndex($iInc - 1) . $rangeBounds[0][1]; - $oDrawing->setCoordinates($cDrawing); - $oDrawing->setWorksheet($sheet); - - // add the shape - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - // set the shape type - $spContainer->setSpType(0x00C9); - // set the shape flag - $spContainer->setSpFlag(0x01); - - // set the shape index (we combine 1-based sheet index and $countShapes to create unique shape index) - $reducedSpId = $countShapes[$sheetIndex]; - $spId = $reducedSpId - | ($sheet->getParent()->getIndex($sheet) + 1) << 10; - $spContainer->setSpId($spId); - - // keep track of last reducedSpId - $lastReducedSpId = $reducedSpId; - - // keep track of last spId - $lastSpId = $spId; - - $spContainer->setOPT(0x007F, 0x01040104); // Protection -> fLockAgainstGrouping - $spContainer->setOPT(0x00BF, 0x00080008); // Text -> fFitTextToShape - $spContainer->setOPT(0x01BF, 0x00010000); // Fill Style -> fNoFillHitTest - $spContainer->setOPT(0x01FF, 0x00080000); // Line Style -> fNoLineDrawDash - $spContainer->setOPT(0x03BF, 0x000A0000); // Group Shape -> fPrint - - // set coordinates and offsets, client anchor - $endCoordinates = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::stringFromColumnIndex($iInc - 1)); - $endCoordinates .= $rangeBounds[0][1] + 1; - - $spContainer->setStartCoordinates($cDrawing); - $spContainer->setStartOffsetX(0); - $spContainer->setStartOffsetY(0); - $spContainer->setEndCoordinates($endCoordinates); - $spContainer->setEndOffsetX(0); - $spContainer->setEndOffsetY(0); - - $spgrContainer->addChild($spContainer); - $iInc++; - } - } - - // identifier clusters, used for workbook Escher object - $this->_IDCLs[$dgId] = $lastReducedSpId; - - // set last shape index - $dgContainer->setLastSpId($lastSpId); - - // set the Escher object - $this->_writerWorksheets[$sheetIndex]->setEscher($escher); - } - } - - /** - * Build the Escher object corresponding to the MSODRAWINGGROUP record - */ - private function _buildWorkbookEscher() - { - $escher = null; - - // any drawings in this workbook? - $found = false; - foreach ($this->_phpExcel->getAllSheets() as $sheet) { - if (count($sheet->getDrawingCollection()) > 0) { - $found = true; - break; - } - } - - // nothing to do if there are no drawings - if (!$found) { - return; - } - - // if we reach here, then there are drawings in the workbook - $escher = new PHPExcel_Shared_Escher(); - - // dggContainer - $dggContainer = new PHPExcel_Shared_Escher_DggContainer(); - $escher->setDggContainer($dggContainer); - - // set IDCLs (identifier clusters) - $dggContainer->setIDCLs($this->_IDCLs); - - // this loop is for determining maximum shape identifier of all drawing - $spIdMax = 0; - $totalCountShapes = 0; - $countDrawings = 0; - - foreach ($this->_phpExcel->getAllsheets() as $sheet) { - $sheetCountShapes = 0; // count number of shapes (minus group shape), in sheet - - if (count($sheet->getDrawingCollection()) > 0) { - ++$countDrawings; - - foreach ($sheet->getDrawingCollection() as $drawing) { - ++$sheetCountShapes; - ++$totalCountShapes; - - $spId = $sheetCountShapes - | ($this->_phpExcel->getIndex($sheet) + 1) << 10; - $spIdMax = max($spId, $spIdMax); - } - } - } - - $dggContainer->setSpIdMax($spIdMax + 1); - $dggContainer->setCDgSaved($countDrawings); - $dggContainer->setCSpSaved($totalCountShapes + $countDrawings); // total number of shapes incl. one group shapes per drawing - - // bstoreContainer - $bstoreContainer = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer(); - $dggContainer->setBstoreContainer($bstoreContainer); - - // the BSE's (all the images) - foreach ($this->_phpExcel->getAllsheets() as $sheet) { - foreach ($sheet->getDrawingCollection() as $drawing) { - if ($drawing instanceof PHPExcel_Worksheet_Drawing) { - - $filename = $drawing->getPath(); - - list($imagesx, $imagesy, $imageFormat) = getimagesize($filename); - - switch ($imageFormat) { - - case 1: // GIF, not supported by BIFF8, we convert to PNG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - ob_start(); - imagepng(imagecreatefromgif($filename)); - $blipData = ob_get_contents(); - ob_end_clean(); - break; - - case 2: // JPEG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG; - $blipData = file_get_contents($filename); - break; - - case 3: // PNG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - $blipData = file_get_contents($filename); - break; - - case 6: // Windows DIB (BMP), we convert to PNG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - ob_start(); - imagepng(PHPExcel_Shared_Drawing::imagecreatefrombmp($filename)); - $blipData = ob_get_contents(); - ob_end_clean(); - break; - - default: continue 2; - - } - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($blipData); - - $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE(); - $BSE->setBlipType($blipType); - $BSE->setBlip($blip); - - $bstoreContainer->addBSE($BSE); - - } else if ($drawing instanceof PHPExcel_Worksheet_MemoryDrawing) { - - switch ($drawing->getRenderingFunction()) { - - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG: - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG; - $renderingFunction = 'imagejpeg'; - break; - - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_GIF: - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_PNG: - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_DEFAULT: - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - $renderingFunction = 'imagepng'; - break; - - } - - ob_start(); - call_user_func($renderingFunction, $drawing->getImageResource()); - $blipData = ob_get_contents(); - ob_end_clean(); - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($blipData); - - $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE(); - $BSE->setBlipType($blipType); - $BSE->setBlip($blip); - - $bstoreContainer->addBSE($BSE); - } - } - } - - // Set the Escher object - $this->_writerWorkbook->setEscher($escher); - } - - /** - * Build the OLE Part for DocumentSummary Information - * @return string - */ - private function _writeDocumentSummaryInformation(){ - - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - $data = pack('v', 0xFFFE); - // offset: 2; size: 2; - $data .= pack('v', 0x0000); - // offset: 4; size: 2; OS version - $data .= pack('v', 0x0106); - // offset: 6; size: 2; OS indicator - $data .= pack('v', 0x0002); - // offset: 8; size: 16 - $data .= pack('VVVV', 0x00, 0x00, 0x00, 0x00); - // offset: 24; size: 4; section count - $data .= pack('V', 0x0001); - - // offset: 28; size: 16; first section's class id: 02 d5 cd d5 9c 2e 1b 10 93 97 08 00 2b 2c f9 ae - $data .= pack('vvvvvvvv', 0xD502, 0xD5CD, 0x2E9C, 0x101B, 0x9793, 0x0008, 0x2C2B, 0xAEF9); - // offset: 44; size: 4; offset of the start - $data .= pack('V', 0x30); - - // SECTION - $dataSection = array(); - $dataSection_NumProps = 0; - $dataSection_Summary = ''; - $dataSection_Content = ''; - - // GKPIDDSI_CODEPAGE: CodePage - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x01), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x02), // 2 byte signed integer - 'data' => array('data' => 1252)); - $dataSection_NumProps++; - - // GKPIDDSI_CATEGORY : Category - if($this->_phpExcel->getProperties()->getCategory()){ - $dataProp = $this->_phpExcel->getProperties()->getCategory(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // GKPIDDSI_VERSION :Version of the application that wrote the property storage - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x17), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x03), - 'data' => array('pack' => 'V', 'data' => 0x000C0000)); - $dataSection_NumProps++; - // GKPIDDSI_SCALE : FALSE - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0B), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - // GKPIDDSI_LINKSDIRTY : True if any of the values for the linked properties have changed outside of the application - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x10), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - // GKPIDDSI_SHAREDOC : FALSE - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x13), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - // GKPIDDSI_HYPERLINKSCHANGED : True if any of the values for the _PID_LINKS (hyperlink text) have changed outside of the application - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x16), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - - // GKPIDDSI_DOCSPARTS - // MS-OSHARED p75 (2.3.3.2.2.1) - // Structure is VtVecUnalignedLpstrValue (2.3.3.1.9) - // cElements - $dataProp = pack('v', 0x0001); - $dataProp .= pack('v', 0x0000); - // array of UnalignedLpstr - // cch - $dataProp .= pack('v', 0x000A); - $dataProp .= pack('v', 0x0000); - // value - $dataProp .= 'Worksheet'.chr(0); - - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0D), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x101E), - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - - // GKPIDDSI_HEADINGPAIR - // VtVecHeadingPairValue - // cElements - $dataProp = pack('v', 0x0002); - $dataProp .= pack('v', 0x0000); - // Array of vtHeadingPair - // vtUnalignedString - headingString - // stringType - $dataProp .= pack('v', 0x001E); - // padding - $dataProp .= pack('v', 0x0000); - // UnalignedLpstr - // cch - $dataProp .= pack('v', 0x0013); - $dataProp .= pack('v', 0x0000); - // value - $dataProp .= 'Feuilles de calcul'; - // vtUnalignedString - headingParts - // wType : 0x0003 = 32 bit signed integer - $dataProp .= pack('v', 0x0300); - // padding - $dataProp .= pack('v', 0x0000); - // value - $dataProp .= pack('v', 0x0100); - $dataProp .= pack('v', 0x0000); - $dataProp .= pack('v', 0x0000); - $dataProp .= pack('v', 0x0000); - - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0C), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x100C), - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - - // 4 Section Length - // 4 Property count - // 8 * $dataSection_NumProps (8 = ID (4) + OffSet(4)) - $dataSection_Content_Offset = 8 + $dataSection_NumProps * 8; - foreach ($dataSection as $dataProp){ - // Summary - $dataSection_Summary .= pack($dataProp['summary']['pack'], $dataProp['summary']['data']); - // Offset - $dataSection_Summary .= pack($dataProp['offset']['pack'], $dataSection_Content_Offset); - // DataType - $dataSection_Content .= pack($dataProp['type']['pack'], $dataProp['type']['data']); - // Data - if($dataProp['type']['data'] == 0x02){ // 2 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x03){ // 4 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x0B){ // Boolean - if($dataProp['data']['data'] == false){ - $dataSection_Content .= pack('V', 0x0000); - } else { - $dataSection_Content .= pack('V', 0x0001); - } - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x1E){ // null-terminated string prepended by dword string length - // Null-terminated string - $dataProp['data']['data'] .= chr(0); - $dataProp['data']['length'] += 1; - // Complete the string with null string for being a %4 - $dataProp['data']['length'] = $dataProp['data']['length'] + ((4 - $dataProp['data']['length'] % 4)==4 ? 0 : (4 - $dataProp['data']['length'] % 4)); - $dataProp['data']['data'] = str_pad($dataProp['data']['data'], $dataProp['data']['length'], chr(0), STR_PAD_RIGHT); - - $dataSection_Content .= pack('V', $dataProp['data']['length']); - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 4 + strlen($dataProp['data']['data']); - } - elseif($dataProp['type']['data'] == 0x40){ // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 8; - } - else { - // Data Type Not Used at the moment - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + $dataProp['data']['length']; - } - } - // Now $dataSection_Content_Offset contains the size of the content - - // section header - // offset: $secOffset; size: 4; section length - // + x Size of the content (summary + content) - $data .= pack('V', $dataSection_Content_Offset); - // offset: $secOffset+4; size: 4; property count - $data .= pack('V', $dataSection_NumProps); - // Section Summary - $data .= $dataSection_Summary; - // Section Content - $data .= $dataSection_Content; - - return $data; - } - - /** - * Build the OLE Part for Summary Information - * @return string - */ - private function _writeSummaryInformation(){ - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - $data = pack('v', 0xFFFE); - // offset: 2; size: 2; - $data .= pack('v', 0x0000); - // offset: 4; size: 2; OS version - $data .= pack('v', 0x0106); - // offset: 6; size: 2; OS indicator - $data .= pack('v', 0x0002); - // offset: 8; size: 16 - $data .= pack('VVVV', 0x00, 0x00, 0x00, 0x00); - // offset: 24; size: 4; section count - $data .= pack('V', 0x0001); - - // offset: 28; size: 16; first section's class id: e0 85 9f f2 f9 4f 68 10 ab 91 08 00 2b 27 b3 d9 - $data .= pack('vvvvvvvv', 0x85E0, 0xF29F, 0x4FF9, 0x1068, 0x91AB, 0x0008, 0x272B, 0xD9B3); - // offset: 44; size: 4; offset of the start - $data .= pack('V', 0x30); - - // SECTION - $dataSection = array(); - $dataSection_NumProps = 0; - $dataSection_Summary = ''; - $dataSection_Content = ''; - - // CodePage : CP-1252 - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x01), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x02), // 2 byte signed integer - 'data' => array('data' => 1252)); - $dataSection_NumProps++; - - // Title - if($this->_phpExcel->getProperties()->getTitle()){ - $dataProp = $this->_phpExcel->getProperties()->getTitle(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Subject - if($this->_phpExcel->getProperties()->getSubject()){ - $dataProp = $this->_phpExcel->getProperties()->getSubject(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x03), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Author (Creator) - if($this->_phpExcel->getProperties()->getCreator()){ - $dataProp = $this->_phpExcel->getProperties()->getCreator(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x04), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Keywords - if($this->_phpExcel->getProperties()->getKeywords()){ - $dataProp = $this->_phpExcel->getProperties()->getKeywords(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x05), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Comments (Description) - if($this->_phpExcel->getProperties()->getDescription()){ - $dataProp = $this->_phpExcel->getProperties()->getDescription(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x06), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Last Saved By (LastModifiedBy) - if($this->_phpExcel->getProperties()->getLastModifiedBy()){ - $dataProp = $this->_phpExcel->getProperties()->getLastModifiedBy(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x08), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Created Date/Time - if($this->_phpExcel->getProperties()->getCreated()){ - $dataProp = $this->_phpExcel->getProperties()->getCreated(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0C), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x40), // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - 'data' => array('data' => PHPExcel_Shared_OLE::LocalDate2OLE($dataProp))); - $dataSection_NumProps++; - } - // Modified Date/Time - if($this->_phpExcel->getProperties()->getModified()){ - $dataProp = $this->_phpExcel->getProperties()->getModified(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0D), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x40), // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - 'data' => array('data' => PHPExcel_Shared_OLE::LocalDate2OLE($dataProp))); - $dataSection_NumProps++; - } - // Security - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x13), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x03), // 4 byte signed integer - 'data' => array('data' => 0x00)); - $dataSection_NumProps++; - - - // 4 Section Length - // 4 Property count - // 8 * $dataSection_NumProps (8 = ID (4) + OffSet(4)) - $dataSection_Content_Offset = 8 + $dataSection_NumProps * 8; - foreach ($dataSection as $dataProp){ - // Summary - $dataSection_Summary .= pack($dataProp['summary']['pack'], $dataProp['summary']['data']); - // Offset - $dataSection_Summary .= pack($dataProp['offset']['pack'], $dataSection_Content_Offset); - // DataType - $dataSection_Content .= pack($dataProp['type']['pack'], $dataProp['type']['data']); - // Data - if($dataProp['type']['data'] == 0x02){ // 2 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x03){ // 4 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x1E){ // null-terminated string prepended by dword string length - // Null-terminated string - $dataProp['data']['data'] .= chr(0); - $dataProp['data']['length'] += 1; - // Complete the string with null string for being a %4 - $dataProp['data']['length'] = $dataProp['data']['length'] + ((4 - $dataProp['data']['length'] % 4)==4 ? 0 : (4 - $dataProp['data']['length'] % 4)); - $dataProp['data']['data'] = str_pad($dataProp['data']['data'], $dataProp['data']['length'], chr(0), STR_PAD_RIGHT); - - $dataSection_Content .= pack('V', $dataProp['data']['length']); - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 4 + strlen($dataProp['data']['data']); - } - elseif($dataProp['type']['data'] == 0x40){ // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 8; - } - else { - // Data Type Not Used at the moment - } - } - // Now $dataSection_Content_Offset contains the size of the content - - // section header - // offset: $secOffset; size: 4; section length - // + x Size of the content (summary + content) - $data .= pack('V', $dataSection_Content_Offset); - // offset: $secOffset+4; size: 4; property count - $data .= pack('V', $dataSection_NumProps); - // Section Summary - $data .= $dataSection_Summary; - // Section Content - $data .= $dataSection_Content; - - return $data; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/BIFFwriter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/BIFFwriter.php deleted file mode 100644 index 86201134d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/BIFFwriter.php +++ /dev/null @@ -1,255 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_BIFFwriter (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_BIFFwriter - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_BIFFwriter -{ - /** - * The byte order of this architecture. 0 => little endian, 1 => big endian - * @var integer - */ - private static $_byte_order; - - /** - * The string containing the data of the BIFF stream - * @var string - */ - public $_data; - - /** - * The size of the data in bytes. Should be the same as strlen($this->_data) - * @var integer - */ - public $_datasize; - - /** - * The maximum length for a BIFF record (excluding record header and length field). See _addContinue() - * @var integer - * @see _addContinue() - */ - public $_limit = 8224; - - /** - * Constructor - */ - public function __construct() - { - $this->_data = ''; - $this->_datasize = 0; -// $this->_limit = 8224; - } - - /** - * Determine the byte order and store it as class data to avoid - * recalculating it for each call to new(). - * - * @return int - */ - public static function getByteOrder() - { - if (!isset(self::$_byte_order)) { - // Check if "pack" gives the required IEEE 64bit float - $teststr = pack("d", 1.2345); - $number = pack("C8", 0x8D, 0x97, 0x6E, 0x12, 0x83, 0xC0, 0xF3, 0x3F); - if ($number == $teststr) { - $byte_order = 0; // Little Endian - } elseif ($number == strrev($teststr)){ - $byte_order = 1; // Big Endian - } else { - // Give up. I'll fix this in a later version. - throw new PHPExcel_Writer_Exception("Required floating point format not supported on this platform."); - } - self::$_byte_order = $byte_order; - } - - return self::$_byte_order; - } - - /** - * General storage function - * - * @param string $data binary data to append - * @access private - */ - function _append($data) - { - if (strlen($data) - 4 > $this->_limit) { - $data = $this->_addContinue($data); - } - $this->_data .= $data; - $this->_datasize += strlen($data); - } - - /** - * General storage function like _append, but returns string instead of modifying $this->_data - * - * @param string $data binary data to write - * @return string - */ - public function writeData($data) - { - if (strlen($data) - 4 > $this->_limit) { - $data = $this->_addContinue($data); - } - $this->_datasize += strlen($data); - - return $data; - } - - /** - * Writes Excel BOF record to indicate the beginning of a stream or - * sub-stream in the BIFF file. - * - * @param integer $type Type of BIFF file to write: 0x0005 Workbook, - * 0x0010 Worksheet. - * @access private - */ - function _storeBof($type) - { - $record = 0x0809; // Record identifier (BIFF5-BIFF8) - $length = 0x0010; - - // by inspection of real files, MS Office Excel 2007 writes the following - $unknown = pack("VV", 0x000100D1, 0x00000406); - - $build = 0x0DBB; // Excel 97 - $year = 0x07CC; // Excel 97 - - $version = 0x0600; // BIFF8 - - $header = pack("vv", $record, $length); - $data = pack("vvvv", $version, $type, $build, $year); - $this->_append($header . $data . $unknown); - } - - /** - * Writes Excel EOF record to indicate the end of a BIFF stream. - * - * @access private - */ - function _storeEof() - { - $record = 0x000A; // Record identifier - $length = 0x0000; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $this->_append($header); - } - - /** - * Writes Excel EOF record to indicate the end of a BIFF stream. - * - * @access private - */ - public function writeEof() - { - $record = 0x000A; // Record identifier - $length = 0x0000; // Number of bytes to follow - $header = pack("vv", $record, $length); - return $this->writeData($header); - } - - /** - * Excel limits the size of BIFF records. In Excel 5 the limit is 2084 bytes. In - * Excel 97 the limit is 8228 bytes. Records that are longer than these limits - * must be split up into CONTINUE blocks. - * - * This function takes a long BIFF record and inserts CONTINUE records as - * necessary. - * - * @param string $data The original binary data to be written - * @return string A very convenient string of continue blocks - * @access private - */ - function _addContinue($data) - { - $limit = $this->_limit; - $record = 0x003C; // Record identifier - - // The first 2080/8224 bytes remain intact. However, we have to change - // the length field of the record. - $tmp = substr($data, 0, 2) . pack("v", $limit) . substr($data, 4, $limit); - - $header = pack("vv", $record, $limit); // Headers for continue records - - // Retrieve chunks of 2080/8224 bytes +4 for the header. - $data_length = strlen($data); - for ($i = $limit + 4; $i < ($data_length - $limit); $i += $limit) { - $tmp .= $header; - $tmp .= substr($data, $i, $limit); - } - - // Retrieve the last chunk of data - $header = pack("vv", $record, strlen($data) - $i); - $tmp .= $header; - $tmp .= substr($data, $i, strlen($data) - $i); - - return $tmp; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Escher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Escher.php deleted file mode 100644 index 92e6a8d88..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Escher.php +++ /dev/null @@ -1,537 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Escher -{ - /** - * The object we are writing - */ - private $_object; - - /** - * The written binary data - */ - private $_data; - - /** - * Shape offsets. Positions in binary stream where a new shape record begins - * - * @var array - */ - private $_spOffsets; - - /** - * Shape types. - * - * @var array - */ - private $_spTypes; - - /** - * Constructor - * - * @param mixed - */ - public function __construct($object) - { - $this->_object = $object; - } - - /** - * Process the object to be written - */ - public function close() - { - // initialize - $this->_data = ''; - - switch (get_class($this->_object)) { - - case 'PHPExcel_Shared_Escher': - if ($dggContainer = $this->_object->getDggContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($dggContainer); - $this->_data = $writer->close(); - } else if ($dgContainer = $this->_object->getDgContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($dgContainer); - $this->_data = $writer->close(); - $this->_spOffsets = $writer->getSpOffsets(); - $this->_spTypes = $writer->getSpTypes(); - } - break; - - case 'PHPExcel_Shared_Escher_DggContainer': - // this is a container record - - // initialize - $innerData = ''; - - // write the dgg - $recVer = 0x0; - $recInstance = 0x0000; - $recType = 0xF006; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - // dgg data - $dggData = - pack('VVVV' - , $this->_object->getSpIdMax() // maximum shape identifier increased by one - , $this->_object->getCDgSaved() + 1 // number of file identifier clusters increased by one - , $this->_object->getCSpSaved() - , $this->_object->getCDgSaved() // count total number of drawings saved - ); - - // add file identifier clusters (one per drawing) - $IDCLs = $this->_object->getIDCLs(); - - foreach ($IDCLs as $dgId => $maxReducedSpId) { - $dggData .= pack('VV', $dgId, $maxReducedSpId + 1); - } - - $header = pack('vvV', $recVerInstance, $recType, strlen($dggData)); - $innerData .= $header . $dggData; - - // write the bstoreContainer - if ($bstoreContainer = $this->_object->getBstoreContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($bstoreContainer); - $innerData .= $writer->close(); - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF000; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - break; - - case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer': - // this is a container record - - // initialize - $innerData = ''; - - // treat the inner data - if ($BSECollection = $this->_object->getBSECollection()) { - foreach ($BSECollection as $BSE) { - $writer = new PHPExcel_Writer_Excel5_Escher($BSE); - $innerData .= $writer->close(); - } - } - - // write the record - $recVer = 0xF; - $recInstance = count($this->_object->getBSECollection()); - $recType = 0xF001; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - break; - - case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE': - // this is a semi-container record - - // initialize - $innerData = ''; - - // here we treat the inner data - if ($blip = $this->_object->getBlip()) { - $writer = new PHPExcel_Writer_Excel5_Escher($blip); - $innerData .= $writer->close(); - } - - // initialize - $data = ''; - - $btWin32 = $this->_object->getBlipType(); - $btMacOS = $this->_object->getBlipType(); - $data .= pack('CC', $btWin32, $btMacOS); - - $rgbUid = pack('VVVV', 0,0,0,0); // todo - $data .= $rgbUid; - - $tag = 0; - $size = strlen($innerData); - $cRef = 1; - $foDelay = 0; //todo - $unused1 = 0x0; - $cbName = 0x0; - $unused2 = 0x0; - $unused3 = 0x0; - $data .= pack('vVVVCCCC', $tag, $size, $cRef, $foDelay, $unused1, $cbName, $unused2, $unused3); - - $data .= $innerData; - - // write the record - $recVer = 0x2; - $recInstance = $this->_object->getBlipType(); - $recType = 0xF007; - $length = strlen($data); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header; - - $this->_data .= $data; - break; - - case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip': - // this is an atom record - - // write the record - switch ($this->_object->getParent()->getBlipType()) { - - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG: - // initialize - $innerData = ''; - - $rgbUid1 = pack('VVVV', 0,0,0,0); // todo - $innerData .= $rgbUid1; - - $tag = 0xFF; // todo - $innerData .= pack('C', $tag); - - $innerData .= $this->_object->getData(); - - $recVer = 0x0; - $recInstance = 0x46A; - $recType = 0xF01D; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header; - - $this->_data .= $innerData; - break; - - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG: - // initialize - $innerData = ''; - - $rgbUid1 = pack('VVVV', 0,0,0,0); // todo - $innerData .= $rgbUid1; - - $tag = 0xFF; // todo - $innerData .= pack('C', $tag); - - $innerData .= $this->_object->getData(); - - $recVer = 0x0; - $recInstance = 0x6E0; - $recType = 0xF01E; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header; - - $this->_data .= $innerData; - break; - - } - break; - - case 'PHPExcel_Shared_Escher_DgContainer': - // this is a container record - - // initialize - $innerData = ''; - - // write the dg - $recVer = 0x0; - $recInstance = $this->_object->getDgId(); - $recType = 0xF008; - $length = 8; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - // number of shapes in this drawing (including group shape) - $countShapes = count($this->_object->getSpgrContainer()->getChildren()); - $innerData .= $header . pack('VV', $countShapes, $this->_object->getLastSpId()); - //$innerData .= $header . pack('VV', 0, 0); - - // write the spgrContainer - if ($spgrContainer = $this->_object->getSpgrContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($spgrContainer); - $innerData .= $writer->close(); - - // get the shape offsets relative to the spgrContainer record - $spOffsets = $writer->getSpOffsets(); - $spTypes = $writer->getSpTypes(); - - // save the shape offsets relative to dgContainer - foreach ($spOffsets as & $spOffset) { - $spOffset += 24; // add length of dgContainer header data (8 bytes) plus dg data (16 bytes) - } - - $this->_spOffsets = $spOffsets; - $this->_spTypes = $spTypes; - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF002; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - break; - - case 'PHPExcel_Shared_Escher_DgContainer_SpgrContainer': - // this is a container record - - // initialize - $innerData = ''; - - // initialize spape offsets - $totalSize = 8; - $spOffsets = array(); - $spTypes = array(); - - // treat the inner data - foreach ($this->_object->getChildren() as $spContainer) { - $writer = new PHPExcel_Writer_Excel5_Escher($spContainer); - $spData = $writer->close(); - $innerData .= $spData; - - // save the shape offsets (where new shape records begin) - $totalSize += strlen($spData); - $spOffsets[] = $totalSize; - - $spTypes = array_merge($spTypes, $writer->getSpTypes()); - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF003; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - $this->_spOffsets = $spOffsets; - $this->_spTypes = $spTypes; - break; - - case 'PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer': - // initialize - $data = ''; - - // build the data - - // write group shape record, if necessary? - if ($this->_object->getSpgr()) { - $recVer = 0x1; - $recInstance = 0x0000; - $recType = 0xF009; - $length = 0x00000010; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $data .= $header . pack('VVVV', 0,0,0,0); - } - $this->_spTypes[] = ($this->_object->getSpType()); - - // write the shape record - $recVer = 0x2; - $recInstance = $this->_object->getSpType(); // shape type - $recType = 0xF00A; - $length = 0x00000008; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $data .= $header . pack('VV', $this->_object->getSpId(), $this->_object->getSpgr() ? 0x0005 : 0x0A00); - - - // the options - if ($this->_object->getOPTCollection()) { - $optData = ''; - - $recVer = 0x3; - $recInstance = count($this->_object->getOPTCollection()); - $recType = 0xF00B; - foreach ($this->_object->getOPTCollection() as $property => $value) { - $optData .= pack('vV', $property, $value); - } - $length = strlen($optData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - $data .= $header . $optData; - } - - // the client anchor - if ($this->_object->getStartCoordinates()) { - $clientAnchorData = ''; - - $recVer = 0x0; - $recInstance = 0x0; - $recType = 0xF010; - - // start coordinates - list($column, $row) = PHPExcel_Cell::coordinateFromString($this->_object->getStartCoordinates()); - $c1 = PHPExcel_Cell::columnIndexFromString($column) - 1; - $r1 = $row - 1; - - // start offsetX - $startOffsetX = $this->_object->getStartOffsetX(); - - // start offsetY - $startOffsetY = $this->_object->getStartOffsetY(); - - // end coordinates - list($column, $row) = PHPExcel_Cell::coordinateFromString($this->_object->getEndCoordinates()); - $c2 = PHPExcel_Cell::columnIndexFromString($column) - 1; - $r2 = $row - 1; - - // end offsetX - $endOffsetX = $this->_object->getEndOffsetX(); - - // end offsetY - $endOffsetY = $this->_object->getEndOffsetY(); - - $clientAnchorData = pack('vvvvvvvvv', $this->_object->getSpFlag(), - $c1, $startOffsetX, $r1, $startOffsetY, - $c2, $endOffsetX, $r2, $endOffsetY); - - $length = strlen($clientAnchorData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - $data .= $header . $clientAnchorData; - } - - // the client data, just empty for now - if (!$this->_object->getSpgr()) { - $clientDataData = ''; - - $recVer = 0x0; - $recInstance = 0x0; - $recType = 0xF011; - - $length = strlen($clientDataData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - $data .= $header . $clientDataData; - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF004; - $length = strlen($data); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $data; - break; - - } - - return $this->_data; - } - - /** - * Gets the shape offsets - * - * @return array - */ - public function getSpOffsets() - { - return $this->_spOffsets; - } - - /** - * Gets the shape types - * - * @return array - */ - public function getSpTypes() - { - return $this->_spTypes; - } - - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Font.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Font.php deleted file mode 100644 index 0df194382..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Font.php +++ /dev/null @@ -1,165 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel5_Font - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Font -{ - /** - * Color index - * - * @var int - */ - private $_colorIndex; - - /** - * Font - * - * @var PHPExcel_Style_Font - */ - private $_font; - - /** - * Constructor - * - * @param PHPExcel_Style_Font $font - */ - public function __construct(PHPExcel_Style_Font $font = null) - { - $this->_colorIndex = 0x7FFF; - $this->_font = $font; - } - - /** - * Set the color index - * - * @param int $colorIndex - */ - public function setColorIndex($colorIndex) - { - $this->_colorIndex = $colorIndex; - } - - /** - * Get font record data - * - * @return string - */ - public function writeFont() - { - $font_outline = 0; - $font_shadow = 0; - - $icv = $this->_colorIndex; // Index to color palette - if ($this->_font->getSuperScript()) { - $sss = 1; - } else if ($this->_font->getSubScript()) { - $sss = 2; - } else { - $sss = 0; - } - $bFamily = 0; // Font family - $bCharSet = PHPExcel_Shared_Font::getCharsetFromFontName($this->_font->getName()); // Character set - - $record = 0x31; // Record identifier - $reserved = 0x00; // Reserved - $grbit = 0x00; // Font attributes - if ($this->_font->getItalic()) { - $grbit |= 0x02; - } - if ($this->_font->getStrikethrough()) { - $grbit |= 0x08; - } - if ($font_outline) { - $grbit |= 0x10; - } - if ($font_shadow) { - $grbit |= 0x20; - } - - $data = pack("vvvvvCCCC", - $this->_font->getSize() * 20, // Fontsize (in twips) - $grbit, - $icv, // Colour - self::_mapBold($this->_font->getBold()), // Font weight - $sss, // Superscript/Subscript - self::_mapUnderline($this->_font->getUnderline()), - $bFamily, - $bCharSet, - $reserved - ); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($this->_font->getName()); - - $length = strlen($data); - $header = pack("vv", $record, $length); - - return($header . $data); - } - - /** - * Map to BIFF5-BIFF8 codes for bold - * - * @param boolean $bold - * @return int - */ - private static function _mapBold($bold) { - if ($bold) { - return 0x2BC; // 700 = Bold font weight - } - return 0x190; // 400 = Normal font weight - } - - /** - * Map of BIFF2-BIFF8 codes for underline styles - * @static array of int - * - */ - private static $_mapUnderline = array( PHPExcel_Style_Font::UNDERLINE_NONE => 0x00, - PHPExcel_Style_Font::UNDERLINE_SINGLE => 0x01, - PHPExcel_Style_Font::UNDERLINE_DOUBLE => 0x02, - PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING => 0x21, - PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING => 0x22, - ); - /** - * Map underline - * - * @param string - * @return int - */ - private static function _mapUnderline($underline) { - if (isset(self::$_mapUnderline[$underline])) - return self::$_mapUnderline[$underline]; - return 0x00; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Parser.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Parser.php deleted file mode 100644 index bc6ddb132..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Parser.php +++ /dev/null @@ -1,1583 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Parser (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// * Class for parsing Excel formulas -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Parser - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Parser -{ - /** Constants */ - // Sheet title in unquoted form - // Invalid sheet title characters cannot occur in the sheet title: - // *:/\?[] - // Moreover, there are valid sheet title characters that cannot occur in unquoted form (there may be more?) - // +-% '^&<>=,;#()"{} - const REGEX_SHEET_TITLE_UNQUOTED = '[^\*\:\/\\\\\?\[\]\+\-\% \\\'\^\&\<\>\=\,\;\#\(\)\"\{\}]+'; - - // Sheet title in quoted form (without surrounding quotes) - // Invalid sheet title characters cannot occur in the sheet title: - // *:/\?[] (usual invalid sheet title characters) - // Single quote is represented as a pair '' - const REGEX_SHEET_TITLE_QUOTED = '(([^\*\:\/\\\\\?\[\]\\\'])+|(\\\'\\\')+)+'; - - /** - * The index of the character we are currently looking at - * @var integer - */ - public $_current_char; - - /** - * The token we are working on. - * @var string - */ - public $_current_token; - - /** - * The formula to parse - * @var string - */ - public $_formula; - - /** - * The character ahead of the current char - * @var string - */ - public $_lookahead; - - /** - * The parse tree to be generated - * @var string - */ - public $_parse_tree; - - /** - * Array of external sheets - * @var array - */ - public $_ext_sheets; - - /** - * Array of sheet references in the form of REF structures - * @var array - */ - public $_references; - - /** - * The class constructor - * - */ - public function __construct() - { - $this->_current_char = 0; - $this->_current_token = ''; // The token we are working on. - $this->_formula = ''; // The formula to parse. - $this->_lookahead = ''; // The character ahead of the current char. - $this->_parse_tree = ''; // The parse tree to be generated. - $this->_initializeHashes(); // Initialize the hashes: ptg's and function's ptg's - $this->_ext_sheets = array(); - $this->_references = array(); - } - - /** - * Initialize the ptg and function hashes. - * - * @access private - */ - function _initializeHashes() - { - // The Excel ptg indices - $this->ptg = array( - 'ptgExp' => 0x01, - 'ptgTbl' => 0x02, - 'ptgAdd' => 0x03, - 'ptgSub' => 0x04, - 'ptgMul' => 0x05, - 'ptgDiv' => 0x06, - 'ptgPower' => 0x07, - 'ptgConcat' => 0x08, - 'ptgLT' => 0x09, - 'ptgLE' => 0x0A, - 'ptgEQ' => 0x0B, - 'ptgGE' => 0x0C, - 'ptgGT' => 0x0D, - 'ptgNE' => 0x0E, - 'ptgIsect' => 0x0F, - 'ptgUnion' => 0x10, - 'ptgRange' => 0x11, - 'ptgUplus' => 0x12, - 'ptgUminus' => 0x13, - 'ptgPercent' => 0x14, - 'ptgParen' => 0x15, - 'ptgMissArg' => 0x16, - 'ptgStr' => 0x17, - 'ptgAttr' => 0x19, - 'ptgSheet' => 0x1A, - 'ptgEndSheet' => 0x1B, - 'ptgErr' => 0x1C, - 'ptgBool' => 0x1D, - 'ptgInt' => 0x1E, - 'ptgNum' => 0x1F, - 'ptgArray' => 0x20, - 'ptgFunc' => 0x21, - 'ptgFuncVar' => 0x22, - 'ptgName' => 0x23, - 'ptgRef' => 0x24, - 'ptgArea' => 0x25, - 'ptgMemArea' => 0x26, - 'ptgMemErr' => 0x27, - 'ptgMemNoMem' => 0x28, - 'ptgMemFunc' => 0x29, - 'ptgRefErr' => 0x2A, - 'ptgAreaErr' => 0x2B, - 'ptgRefN' => 0x2C, - 'ptgAreaN' => 0x2D, - 'ptgMemAreaN' => 0x2E, - 'ptgMemNoMemN' => 0x2F, - 'ptgNameX' => 0x39, - 'ptgRef3d' => 0x3A, - 'ptgArea3d' => 0x3B, - 'ptgRefErr3d' => 0x3C, - 'ptgAreaErr3d' => 0x3D, - 'ptgArrayV' => 0x40, - 'ptgFuncV' => 0x41, - 'ptgFuncVarV' => 0x42, - 'ptgNameV' => 0x43, - 'ptgRefV' => 0x44, - 'ptgAreaV' => 0x45, - 'ptgMemAreaV' => 0x46, - 'ptgMemErrV' => 0x47, - 'ptgMemNoMemV' => 0x48, - 'ptgMemFuncV' => 0x49, - 'ptgRefErrV' => 0x4A, - 'ptgAreaErrV' => 0x4B, - 'ptgRefNV' => 0x4C, - 'ptgAreaNV' => 0x4D, - 'ptgMemAreaNV' => 0x4E, - 'ptgMemNoMemN' => 0x4F, - 'ptgFuncCEV' => 0x58, - 'ptgNameXV' => 0x59, - 'ptgRef3dV' => 0x5A, - 'ptgArea3dV' => 0x5B, - 'ptgRefErr3dV' => 0x5C, - 'ptgAreaErr3d' => 0x5D, - 'ptgArrayA' => 0x60, - 'ptgFuncA' => 0x61, - 'ptgFuncVarA' => 0x62, - 'ptgNameA' => 0x63, - 'ptgRefA' => 0x64, - 'ptgAreaA' => 0x65, - 'ptgMemAreaA' => 0x66, - 'ptgMemErrA' => 0x67, - 'ptgMemNoMemA' => 0x68, - 'ptgMemFuncA' => 0x69, - 'ptgRefErrA' => 0x6A, - 'ptgAreaErrA' => 0x6B, - 'ptgRefNA' => 0x6C, - 'ptgAreaNA' => 0x6D, - 'ptgMemAreaNA' => 0x6E, - 'ptgMemNoMemN' => 0x6F, - 'ptgFuncCEA' => 0x78, - 'ptgNameXA' => 0x79, - 'ptgRef3dA' => 0x7A, - 'ptgArea3dA' => 0x7B, - 'ptgRefErr3dA' => 0x7C, - 'ptgAreaErr3d' => 0x7D - ); - - // Thanks to Michael Meeks and Gnumeric for the initial arg values. - // - // The following hash was generated by "function_locale.pl" in the distro. - // Refer to function_locale.pl for non-English function names. - // - // The array elements are as follow: - // ptg: The Excel function ptg code. - // args: The number of arguments that the function takes: - // >=0 is a fixed number of arguments. - // -1 is a variable number of arguments. - // class: The reference, value or array class of the function args. - // vol: The function is volatile. - // - $this->_functions = array( - // function ptg args class vol - 'COUNT' => array( 0, -1, 0, 0 ), - 'IF' => array( 1, -1, 1, 0 ), - 'ISNA' => array( 2, 1, 1, 0 ), - 'ISERROR' => array( 3, 1, 1, 0 ), - 'SUM' => array( 4, -1, 0, 0 ), - 'AVERAGE' => array( 5, -1, 0, 0 ), - 'MIN' => array( 6, -1, 0, 0 ), - 'MAX' => array( 7, -1, 0, 0 ), - 'ROW' => array( 8, -1, 0, 0 ), - 'COLUMN' => array( 9, -1, 0, 0 ), - 'NA' => array( 10, 0, 0, 0 ), - 'NPV' => array( 11, -1, 1, 0 ), - 'STDEV' => array( 12, -1, 0, 0 ), - 'DOLLAR' => array( 13, -1, 1, 0 ), - 'FIXED' => array( 14, -1, 1, 0 ), - 'SIN' => array( 15, 1, 1, 0 ), - 'COS' => array( 16, 1, 1, 0 ), - 'TAN' => array( 17, 1, 1, 0 ), - 'ATAN' => array( 18, 1, 1, 0 ), - 'PI' => array( 19, 0, 1, 0 ), - 'SQRT' => array( 20, 1, 1, 0 ), - 'EXP' => array( 21, 1, 1, 0 ), - 'LN' => array( 22, 1, 1, 0 ), - 'LOG10' => array( 23, 1, 1, 0 ), - 'ABS' => array( 24, 1, 1, 0 ), - 'INT' => array( 25, 1, 1, 0 ), - 'SIGN' => array( 26, 1, 1, 0 ), - 'ROUND' => array( 27, 2, 1, 0 ), - 'LOOKUP' => array( 28, -1, 0, 0 ), - 'INDEX' => array( 29, -1, 0, 1 ), - 'REPT' => array( 30, 2, 1, 0 ), - 'MID' => array( 31, 3, 1, 0 ), - 'LEN' => array( 32, 1, 1, 0 ), - 'VALUE' => array( 33, 1, 1, 0 ), - 'TRUE' => array( 34, 0, 1, 0 ), - 'FALSE' => array( 35, 0, 1, 0 ), - 'AND' => array( 36, -1, 0, 0 ), - 'OR' => array( 37, -1, 0, 0 ), - 'NOT' => array( 38, 1, 1, 0 ), - 'MOD' => array( 39, 2, 1, 0 ), - 'DCOUNT' => array( 40, 3, 0, 0 ), - 'DSUM' => array( 41, 3, 0, 0 ), - 'DAVERAGE' => array( 42, 3, 0, 0 ), - 'DMIN' => array( 43, 3, 0, 0 ), - 'DMAX' => array( 44, 3, 0, 0 ), - 'DSTDEV' => array( 45, 3, 0, 0 ), - 'VAR' => array( 46, -1, 0, 0 ), - 'DVAR' => array( 47, 3, 0, 0 ), - 'TEXT' => array( 48, 2, 1, 0 ), - 'LINEST' => array( 49, -1, 0, 0 ), - 'TREND' => array( 50, -1, 0, 0 ), - 'LOGEST' => array( 51, -1, 0, 0 ), - 'GROWTH' => array( 52, -1, 0, 0 ), - 'PV' => array( 56, -1, 1, 0 ), - 'FV' => array( 57, -1, 1, 0 ), - 'NPER' => array( 58, -1, 1, 0 ), - 'PMT' => array( 59, -1, 1, 0 ), - 'RATE' => array( 60, -1, 1, 0 ), - 'MIRR' => array( 61, 3, 0, 0 ), - 'IRR' => array( 62, -1, 0, 0 ), - 'RAND' => array( 63, 0, 1, 1 ), - 'MATCH' => array( 64, -1, 0, 0 ), - 'DATE' => array( 65, 3, 1, 0 ), - 'TIME' => array( 66, 3, 1, 0 ), - 'DAY' => array( 67, 1, 1, 0 ), - 'MONTH' => array( 68, 1, 1, 0 ), - 'YEAR' => array( 69, 1, 1, 0 ), - 'WEEKDAY' => array( 70, -1, 1, 0 ), - 'HOUR' => array( 71, 1, 1, 0 ), - 'MINUTE' => array( 72, 1, 1, 0 ), - 'SECOND' => array( 73, 1, 1, 0 ), - 'NOW' => array( 74, 0, 1, 1 ), - 'AREAS' => array( 75, 1, 0, 1 ), - 'ROWS' => array( 76, 1, 0, 1 ), - 'COLUMNS' => array( 77, 1, 0, 1 ), - 'OFFSET' => array( 78, -1, 0, 1 ), - 'SEARCH' => array( 82, -1, 1, 0 ), - 'TRANSPOSE' => array( 83, 1, 1, 0 ), - 'TYPE' => array( 86, 1, 1, 0 ), - 'ATAN2' => array( 97, 2, 1, 0 ), - 'ASIN' => array( 98, 1, 1, 0 ), - 'ACOS' => array( 99, 1, 1, 0 ), - 'CHOOSE' => array( 100, -1, 1, 0 ), - 'HLOOKUP' => array( 101, -1, 0, 0 ), - 'VLOOKUP' => array( 102, -1, 0, 0 ), - 'ISREF' => array( 105, 1, 0, 0 ), - 'LOG' => array( 109, -1, 1, 0 ), - 'CHAR' => array( 111, 1, 1, 0 ), - 'LOWER' => array( 112, 1, 1, 0 ), - 'UPPER' => array( 113, 1, 1, 0 ), - 'PROPER' => array( 114, 1, 1, 0 ), - 'LEFT' => array( 115, -1, 1, 0 ), - 'RIGHT' => array( 116, -1, 1, 0 ), - 'EXACT' => array( 117, 2, 1, 0 ), - 'TRIM' => array( 118, 1, 1, 0 ), - 'REPLACE' => array( 119, 4, 1, 0 ), - 'SUBSTITUTE' => array( 120, -1, 1, 0 ), - 'CODE' => array( 121, 1, 1, 0 ), - 'FIND' => array( 124, -1, 1, 0 ), - 'CELL' => array( 125, -1, 0, 1 ), - 'ISERR' => array( 126, 1, 1, 0 ), - 'ISTEXT' => array( 127, 1, 1, 0 ), - 'ISNUMBER' => array( 128, 1, 1, 0 ), - 'ISBLANK' => array( 129, 1, 1, 0 ), - 'T' => array( 130, 1, 0, 0 ), - 'N' => array( 131, 1, 0, 0 ), - 'DATEVALUE' => array( 140, 1, 1, 0 ), - 'TIMEVALUE' => array( 141, 1, 1, 0 ), - 'SLN' => array( 142, 3, 1, 0 ), - 'SYD' => array( 143, 4, 1, 0 ), - 'DDB' => array( 144, -1, 1, 0 ), - 'INDIRECT' => array( 148, -1, 1, 1 ), - 'CALL' => array( 150, -1, 1, 0 ), - 'CLEAN' => array( 162, 1, 1, 0 ), - 'MDETERM' => array( 163, 1, 2, 0 ), - 'MINVERSE' => array( 164, 1, 2, 0 ), - 'MMULT' => array( 165, 2, 2, 0 ), - 'IPMT' => array( 167, -1, 1, 0 ), - 'PPMT' => array( 168, -1, 1, 0 ), - 'COUNTA' => array( 169, -1, 0, 0 ), - 'PRODUCT' => array( 183, -1, 0, 0 ), - 'FACT' => array( 184, 1, 1, 0 ), - 'DPRODUCT' => array( 189, 3, 0, 0 ), - 'ISNONTEXT' => array( 190, 1, 1, 0 ), - 'STDEVP' => array( 193, -1, 0, 0 ), - 'VARP' => array( 194, -1, 0, 0 ), - 'DSTDEVP' => array( 195, 3, 0, 0 ), - 'DVARP' => array( 196, 3, 0, 0 ), - 'TRUNC' => array( 197, -1, 1, 0 ), - 'ISLOGICAL' => array( 198, 1, 1, 0 ), - 'DCOUNTA' => array( 199, 3, 0, 0 ), - 'USDOLLAR' => array( 204, -1, 1, 0 ), - 'FINDB' => array( 205, -1, 1, 0 ), - 'SEARCHB' => array( 206, -1, 1, 0 ), - 'REPLACEB' => array( 207, 4, 1, 0 ), - 'LEFTB' => array( 208, -1, 1, 0 ), - 'RIGHTB' => array( 209, -1, 1, 0 ), - 'MIDB' => array( 210, 3, 1, 0 ), - 'LENB' => array( 211, 1, 1, 0 ), - 'ROUNDUP' => array( 212, 2, 1, 0 ), - 'ROUNDDOWN' => array( 213, 2, 1, 0 ), - 'ASC' => array( 214, 1, 1, 0 ), - 'DBCS' => array( 215, 1, 1, 0 ), - 'RANK' => array( 216, -1, 0, 0 ), - 'ADDRESS' => array( 219, -1, 1, 0 ), - 'DAYS360' => array( 220, -1, 1, 0 ), - 'TODAY' => array( 221, 0, 1, 1 ), - 'VDB' => array( 222, -1, 1, 0 ), - 'MEDIAN' => array( 227, -1, 0, 0 ), - 'SUMPRODUCT' => array( 228, -1, 2, 0 ), - 'SINH' => array( 229, 1, 1, 0 ), - 'COSH' => array( 230, 1, 1, 0 ), - 'TANH' => array( 231, 1, 1, 0 ), - 'ASINH' => array( 232, 1, 1, 0 ), - 'ACOSH' => array( 233, 1, 1, 0 ), - 'ATANH' => array( 234, 1, 1, 0 ), - 'DGET' => array( 235, 3, 0, 0 ), - 'INFO' => array( 244, 1, 1, 1 ), - 'DB' => array( 247, -1, 1, 0 ), - 'FREQUENCY' => array( 252, 2, 0, 0 ), - 'ERROR.TYPE' => array( 261, 1, 1, 0 ), - 'REGISTER.ID' => array( 267, -1, 1, 0 ), - 'AVEDEV' => array( 269, -1, 0, 0 ), - 'BETADIST' => array( 270, -1, 1, 0 ), - 'GAMMALN' => array( 271, 1, 1, 0 ), - 'BETAINV' => array( 272, -1, 1, 0 ), - 'BINOMDIST' => array( 273, 4, 1, 0 ), - 'CHIDIST' => array( 274, 2, 1, 0 ), - 'CHIINV' => array( 275, 2, 1, 0 ), - 'COMBIN' => array( 276, 2, 1, 0 ), - 'CONFIDENCE' => array( 277, 3, 1, 0 ), - 'CRITBINOM' => array( 278, 3, 1, 0 ), - 'EVEN' => array( 279, 1, 1, 0 ), - 'EXPONDIST' => array( 280, 3, 1, 0 ), - 'FDIST' => array( 281, 3, 1, 0 ), - 'FINV' => array( 282, 3, 1, 0 ), - 'FISHER' => array( 283, 1, 1, 0 ), - 'FISHERINV' => array( 284, 1, 1, 0 ), - 'FLOOR' => array( 285, 2, 1, 0 ), - 'GAMMADIST' => array( 286, 4, 1, 0 ), - 'GAMMAINV' => array( 287, 3, 1, 0 ), - 'CEILING' => array( 288, 2, 1, 0 ), - 'HYPGEOMDIST' => array( 289, 4, 1, 0 ), - 'LOGNORMDIST' => array( 290, 3, 1, 0 ), - 'LOGINV' => array( 291, 3, 1, 0 ), - 'NEGBINOMDIST' => array( 292, 3, 1, 0 ), - 'NORMDIST' => array( 293, 4, 1, 0 ), - 'NORMSDIST' => array( 294, 1, 1, 0 ), - 'NORMINV' => array( 295, 3, 1, 0 ), - 'NORMSINV' => array( 296, 1, 1, 0 ), - 'STANDARDIZE' => array( 297, 3, 1, 0 ), - 'ODD' => array( 298, 1, 1, 0 ), - 'PERMUT' => array( 299, 2, 1, 0 ), - 'POISSON' => array( 300, 3, 1, 0 ), - 'TDIST' => array( 301, 3, 1, 0 ), - 'WEIBULL' => array( 302, 4, 1, 0 ), - 'SUMXMY2' => array( 303, 2, 2, 0 ), - 'SUMX2MY2' => array( 304, 2, 2, 0 ), - 'SUMX2PY2' => array( 305, 2, 2, 0 ), - 'CHITEST' => array( 306, 2, 2, 0 ), - 'CORREL' => array( 307, 2, 2, 0 ), - 'COVAR' => array( 308, 2, 2, 0 ), - 'FORECAST' => array( 309, 3, 2, 0 ), - 'FTEST' => array( 310, 2, 2, 0 ), - 'INTERCEPT' => array( 311, 2, 2, 0 ), - 'PEARSON' => array( 312, 2, 2, 0 ), - 'RSQ' => array( 313, 2, 2, 0 ), - 'STEYX' => array( 314, 2, 2, 0 ), - 'SLOPE' => array( 315, 2, 2, 0 ), - 'TTEST' => array( 316, 4, 2, 0 ), - 'PROB' => array( 317, -1, 2, 0 ), - 'DEVSQ' => array( 318, -1, 0, 0 ), - 'GEOMEAN' => array( 319, -1, 0, 0 ), - 'HARMEAN' => array( 320, -1, 0, 0 ), - 'SUMSQ' => array( 321, -1, 0, 0 ), - 'KURT' => array( 322, -1, 0, 0 ), - 'SKEW' => array( 323, -1, 0, 0 ), - 'ZTEST' => array( 324, -1, 0, 0 ), - 'LARGE' => array( 325, 2, 0, 0 ), - 'SMALL' => array( 326, 2, 0, 0 ), - 'QUARTILE' => array( 327, 2, 0, 0 ), - 'PERCENTILE' => array( 328, 2, 0, 0 ), - 'PERCENTRANK' => array( 329, -1, 0, 0 ), - 'MODE' => array( 330, -1, 2, 0 ), - 'TRIMMEAN' => array( 331, 2, 0, 0 ), - 'TINV' => array( 332, 2, 1, 0 ), - 'CONCATENATE' => array( 336, -1, 1, 0 ), - 'POWER' => array( 337, 2, 1, 0 ), - 'RADIANS' => array( 342, 1, 1, 0 ), - 'DEGREES' => array( 343, 1, 1, 0 ), - 'SUBTOTAL' => array( 344, -1, 0, 0 ), - 'SUMIF' => array( 345, -1, 0, 0 ), - 'COUNTIF' => array( 346, 2, 0, 0 ), - 'COUNTBLANK' => array( 347, 1, 0, 0 ), - 'ISPMT' => array( 350, 4, 1, 0 ), - 'DATEDIF' => array( 351, 3, 1, 0 ), - 'DATESTRING' => array( 352, 1, 1, 0 ), - 'NUMBERSTRING' => array( 353, 2, 1, 0 ), - 'ROMAN' => array( 354, -1, 1, 0 ), - 'GETPIVOTDATA' => array( 358, -1, 0, 0 ), - 'HYPERLINK' => array( 359, -1, 1, 0 ), - 'PHONETIC' => array( 360, 1, 0, 0 ), - 'AVERAGEA' => array( 361, -1, 0, 0 ), - 'MAXA' => array( 362, -1, 0, 0 ), - 'MINA' => array( 363, -1, 0, 0 ), - 'STDEVPA' => array( 364, -1, 0, 0 ), - 'VARPA' => array( 365, -1, 0, 0 ), - 'STDEVA' => array( 366, -1, 0, 0 ), - 'VARA' => array( 367, -1, 0, 0 ), - 'BAHTTEXT' => array( 368, 1, 0, 0 ), - ); - } - - /** - * Convert a token to the proper ptg value. - * - * @access private - * @param mixed $token The token to convert. - * @return mixed the converted token on success - */ - function _convert($token) - { - if (preg_match("/\"([^\"]|\"\"){0,255}\"/", $token)) { - return $this->_convertString($token); - - } elseif (is_numeric($token)) { - return $this->_convertNumber($token); - - // match references like A1 or $A$1 - } elseif (preg_match('/^\$?([A-Ia-i]?[A-Za-z])\$?(\d+)$/',$token)) { - return $this->_convertRef2d($token); - - // match external references like Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1 - } elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?(\d+)$/u",$token)) { - return $this->_convertRef3d($token); - - // match external references like 'Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1 - } elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?(\d+)$/u",$token)) { - return $this->_convertRef3d($token); - - // match ranges like A1:B2 or $A$1:$B$2 - } elseif (preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?(\d+)\:(\$)?[A-Ia-i]?[A-Za-z](\$)?(\d+)$/', $token)) { - return $this->_convertRange2d($token); - - // match external ranges like Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2 - } elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)\:\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)$/u",$token)) { - return $this->_convertRange3d($token); - - // match external ranges like 'Sheet1'!A1:B2 or 'Sheet1:Sheet2'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1:Sheet2'!$A$1:$B$2 - } elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)\:\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)$/u",$token)) { - return $this->_convertRange3d($token); - - // operators (including parentheses) - } elseif (isset($this->ptg[$token])) { - return pack("C", $this->ptg[$token]); - - // match error codes - } elseif (preg_match("/^#[A-Z0\/]{3,5}[!?]{1}$/", $token) or $token == '#N/A') { - return $this->_convertError($token); - - // commented so argument number can be processed correctly. See toReversePolish(). - /*elseif (preg_match("/[A-Z0-9\xc0-\xdc\.]+/",$token)) - { - return($this->_convertFunction($token,$this->_func_args)); - }*/ - - // if it's an argument, ignore the token (the argument remains) - } elseif ($token == 'arg') { - return ''; - } - - // TODO: use real error codes - throw new PHPExcel_Writer_Exception("Unknown token $token"); - } - - /** - * Convert a number token to ptgInt or ptgNum - * - * @access private - * @param mixed $num an integer or double for conversion to its ptg value - */ - function _convertNumber($num) - { - // Integer in the range 0..2**16-1 - if ((preg_match("/^\d+$/", $num)) and ($num <= 65535)) { - return pack("Cv", $this->ptg['ptgInt'], $num); - } else { // A float - if (PHPExcel_Writer_Excel5_BIFFwriter::getByteOrder()) { // if it's Big Endian - $num = strrev($num); - } - return pack("Cd", $this->ptg['ptgNum'], $num); - } - } - - /** - * Convert a string token to ptgStr - * - * @access private - * @param string $string A string for conversion to its ptg value. - * @return mixed the converted token on success - */ - function _convertString($string) - { - // chop away beggining and ending quotes - $string = substr($string, 1, strlen($string) - 2); - if (strlen($string) > 255) { - throw new PHPExcel_Writer_Exception("String is too long"); - } - - return pack('C', $this->ptg['ptgStr']) . PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($string); - } - - /** - * Convert a function to a ptgFunc or ptgFuncVarV depending on the number of - * args that it takes. - * - * @access private - * @param string $token The name of the function for convertion to ptg value. - * @param integer $num_args The number of arguments the function receives. - * @return string The packed ptg for the function - */ - function _convertFunction($token, $num_args) - { - $args = $this->_functions[$token][1]; -// $volatile = $this->_functions[$token][3]; - - // Fixed number of args eg. TIME($i,$j,$k). - if ($args >= 0) { - return pack("Cv", $this->ptg['ptgFuncV'], $this->_functions[$token][0]); - } - // Variable number of args eg. SUM($i,$j,$k, ..). - if ($args == -1) { - return pack("CCv", $this->ptg['ptgFuncVarV'], $num_args, $this->_functions[$token][0]); - } - } - - /** - * Convert an Excel range such as A1:D4 to a ptgRefV. - * - * @access private - * @param string $range An Excel range in the A1:A2 - * @param int $class - */ - function _convertRange2d($range, $class=0) - { - - // TODO: possible class value 0,1,2 check Formula.pm - // Split the range into 2 cell refs - if (preg_match('/^(\$)?([A-Ia-i]?[A-Za-z])(\$)?(\d+)\:(\$)?([A-Ia-i]?[A-Za-z])(\$)?(\d+)$/', $range)) { - list($cell1, $cell2) = explode(':', $range); - } else { - // TODO: use real error codes - throw new PHPExcel_Writer_Exception("Unknown range separator"); - } - - // Convert the cell references - list($row1, $col1) = $this->_cellToPackedRowcol($cell1); - list($row2, $col2) = $this->_cellToPackedRowcol($cell2); - - // The ptg value depends on the class of the ptg. - if ($class == 0) { - $ptgArea = pack("C", $this->ptg['ptgArea']); - } elseif ($class == 1) { - $ptgArea = pack("C", $this->ptg['ptgAreaV']); - } elseif ($class == 2) { - $ptgArea = pack("C", $this->ptg['ptgAreaA']); - } else { - // TODO: use real error codes - throw new PHPExcel_Writer_Exception("Unknown class $class"); - } - return $ptgArea . $row1 . $row2 . $col1. $col2; - } - - /** - * Convert an Excel 3d range such as "Sheet1!A1:D4" or "Sheet1:Sheet2!A1:D4" to - * a ptgArea3d. - * - * @access private - * @param string $token An Excel range in the Sheet1!A1:A2 format. - * @return mixed The packed ptgArea3d token on success. - */ - function _convertRange3d($token) - { -// $class = 0; // formulas like Sheet1!$A$1:$A$2 in list type data validation need this class (0x3B) - - // Split the ref at the ! symbol - list($ext_ref, $range) = explode('!', $token); - - // Convert the external reference part (different for BIFF8) - $ext_ref = $this->_getRefIndex($ext_ref); - - // Split the range into 2 cell refs - list($cell1, $cell2) = explode(':', $range); - - // Convert the cell references - if (preg_match("/^(\\$)?[A-Ia-i]?[A-Za-z](\\$)?(\d+)$/", $cell1)) { - list($row1, $col1) = $this->_cellToPackedRowcol($cell1); - list($row2, $col2) = $this->_cellToPackedRowcol($cell2); - } else { // It's a rows range (like 26:27) - list($row1, $col1, $row2, $col2) = $this->_rangeToPackedRange($cell1.':'.$cell2); - } - - // The ptg value depends on the class of the ptg. -// if ($class == 0) { - $ptgArea = pack("C", $this->ptg['ptgArea3d']); -// } elseif ($class == 1) { -// $ptgArea = pack("C", $this->ptg['ptgArea3dV']); -// } elseif ($class == 2) { -// $ptgArea = pack("C", $this->ptg['ptgArea3dA']); -// } else { -// throw new PHPExcel_Writer_Exception("Unknown class $class"); -// } - - return $ptgArea . $ext_ref . $row1 . $row2 . $col1. $col2; - } - - /** - * Convert an Excel reference such as A1, $B2, C$3 or $D$4 to a ptgRefV. - * - * @access private - * @param string $cell An Excel cell reference - * @return string The cell in packed() format with the corresponding ptg - */ - function _convertRef2d($cell) - { -// $class = 2; // as far as I know, this is magick. - - // Convert the cell reference - $cell_array = $this->_cellToPackedRowcol($cell); - list($row, $col) = $cell_array; - - // The ptg value depends on the class of the ptg. -// if ($class == 0) { -// $ptgRef = pack("C", $this->ptg['ptgRef']); -// } elseif ($class == 1) { -// $ptgRef = pack("C", $this->ptg['ptgRefV']); -// } elseif ($class == 2) { - $ptgRef = pack("C", $this->ptg['ptgRefA']); -// } else { -// // TODO: use real error codes -// throw new PHPExcel_Writer_Exception("Unknown class $class"); -// } - return $ptgRef.$row.$col; - } - - /** - * Convert an Excel 3d reference such as "Sheet1!A1" or "Sheet1:Sheet2!A1" to a - * ptgRef3d. - * - * @access private - * @param string $cell An Excel cell reference - * @return mixed The packed ptgRef3d token on success. - */ - function _convertRef3d($cell) - { -// $class = 2; // as far as I know, this is magick. - - // Split the ref at the ! symbol - list($ext_ref, $cell) = explode('!', $cell); - - // Convert the external reference part (different for BIFF8) - $ext_ref = $this->_getRefIndex($ext_ref); - - // Convert the cell reference part - list($row, $col) = $this->_cellToPackedRowcol($cell); - - // The ptg value depends on the class of the ptg. -// if ($class == 0) { -// $ptgRef = pack("C", $this->ptg['ptgRef3d']); -// } elseif ($class == 1) { -// $ptgRef = pack("C", $this->ptg['ptgRef3dV']); -// } elseif ($class == 2) { - $ptgRef = pack("C", $this->ptg['ptgRef3dA']); -// } else { -// throw new PHPExcel_Writer_Exception("Unknown class $class"); -// } - - return $ptgRef . $ext_ref. $row . $col; - } - - /** - * Convert an error code to a ptgErr - * - * @access private - * @param string $errorCode The error code for conversion to its ptg value - * @return string The error code ptgErr - */ - function _convertError($errorCode) - { - switch ($errorCode) { - case '#NULL!': return pack("C", 0x00); - case '#DIV/0!': return pack("C", 0x07); - case '#VALUE!': return pack("C", 0x0F); - case '#REF!': return pack("C", 0x17); - case '#NAME?': return pack("C", 0x1D); - case '#NUM!': return pack("C", 0x24); - case '#N/A': return pack("C", 0x2A); - } - return pack("C", 0xFF); - } - - /** - * Convert the sheet name part of an external reference, for example "Sheet1" or - * "Sheet1:Sheet2", to a packed structure. - * - * @access private - * @param string $ext_ref The name of the external reference - * @return string The reference index in packed() format - */ - function _packExtRef($ext_ref) - { - $ext_ref = preg_replace("/^'/", '', $ext_ref); // Remove leading ' if any. - $ext_ref = preg_replace("/'$/", '', $ext_ref); // Remove trailing ' if any. - - // Check if there is a sheet range eg., Sheet1:Sheet2. - if (preg_match("/:/", $ext_ref)) { - list($sheet_name1, $sheet_name2) = explode(':', $ext_ref); - - $sheet1 = $this->_getSheetIndex($sheet_name1); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name1 in formula"); - } - $sheet2 = $this->_getSheetIndex($sheet_name2); - if ($sheet2 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name2 in formula"); - } - - // Reverse max and min sheet numbers if necessary - if ($sheet1 > $sheet2) { - list($sheet1, $sheet2) = array($sheet2, $sheet1); - } - } else { // Single sheet name only. - $sheet1 = $this->_getSheetIndex($ext_ref); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $ext_ref in formula"); - } - $sheet2 = $sheet1; - } - - // References are stored relative to 0xFFFF. - $offset = -1 - $sheet1; - - return pack('vdvv', $offset, 0x00, $sheet1, $sheet2); - } - - /** - * Look up the REF index that corresponds to an external sheet name - * (or range). If it doesn't exist yet add it to the workbook's references - * array. It assumes all sheet names given must exist. - * - * @access private - * @param string $ext_ref The name of the external reference - * @return mixed The reference index in packed() format on success - */ - function _getRefIndex($ext_ref) - { - $ext_ref = preg_replace("/^'/", '', $ext_ref); // Remove leading ' if any. - $ext_ref = preg_replace("/'$/", '', $ext_ref); // Remove trailing ' if any. - $ext_ref = str_replace('\'\'', '\'', $ext_ref); // Replace escaped '' with ' - - // Check if there is a sheet range eg., Sheet1:Sheet2. - if (preg_match("/:/", $ext_ref)) { - list($sheet_name1, $sheet_name2) = explode(':', $ext_ref); - - $sheet1 = $this->_getSheetIndex($sheet_name1); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name1 in formula"); - } - $sheet2 = $this->_getSheetIndex($sheet_name2); - if ($sheet2 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name2 in formula"); - } - - // Reverse max and min sheet numbers if necessary - if ($sheet1 > $sheet2) { - list($sheet1, $sheet2) = array($sheet2, $sheet1); - } - } else { // Single sheet name only. - $sheet1 = $this->_getSheetIndex($ext_ref); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $ext_ref in formula"); - } - $sheet2 = $sheet1; - } - - // assume all references belong to this document - $supbook_index = 0x00; - $ref = pack('vvv', $supbook_index, $sheet1, $sheet2); - $total_references = count($this->_references); - $index = -1; - for ($i = 0; $i < $total_references; ++$i) { - if ($ref == $this->_references[$i]) { - $index = $i; - break; - } - } - // if REF was not found add it to references array - if ($index == -1) { - $this->_references[$total_references] = $ref; - $index = $total_references; - } - - return pack('v', $index); - } - - /** - * Look up the index that corresponds to an external sheet name. The hash of - * sheet names is updated by the addworksheet() method of the - * PHPExcel_Writer_Excel5_Workbook class. - * - * @access private - * @param string $sheet_name Sheet name - * @return integer The sheet index, -1 if the sheet was not found - */ - function _getSheetIndex($sheet_name) - { - if (!isset($this->_ext_sheets[$sheet_name])) { - return -1; - } else { - return $this->_ext_sheets[$sheet_name]; - } - } - - /** - * This method is used to update the array of sheet names. It is - * called by the addWorksheet() method of the - * PHPExcel_Writer_Excel5_Workbook class. - * - * @access public - * @see PHPExcel_Writer_Excel5_Workbook::addWorksheet() - * @param string $name The name of the worksheet being added - * @param integer $index The index of the worksheet being added - */ - function setExtSheet($name, $index) - { - $this->_ext_sheets[$name] = $index; - } - - /** - * pack() row and column into the required 3 or 4 byte format. - * - * @access private - * @param string $cell The Excel cell reference to be packed - * @return array Array containing the row and column in packed() format - */ - function _cellToPackedRowcol($cell) - { - $cell = strtoupper($cell); - list($row, $col, $row_rel, $col_rel) = $this->_cellToRowcol($cell); - if ($col >= 256) { - throw new PHPExcel_Writer_Exception("Column in: $cell greater than 255"); - } - if ($row >= 65536) { - throw new PHPExcel_Writer_Exception("Row in: $cell greater than 65536 "); - } - - // Set the high bits to indicate if row or col are relative. - $col |= $col_rel << 14; - $col |= $row_rel << 15; - $col = pack('v', $col); - - $row = pack('v', $row); - - return array($row, $col); - } - - /** - * pack() row range into the required 3 or 4 byte format. - * Just using maximum col/rows, which is probably not the correct solution - * - * @access private - * @param string $range The Excel range to be packed - * @return array Array containing (row1,col1,row2,col2) in packed() format - */ - function _rangeToPackedRange($range) - { - preg_match('/(\$)?(\d+)\:(\$)?(\d+)/', $range, $match); - // return absolute rows if there is a $ in the ref - $row1_rel = empty($match[1]) ? 1 : 0; - $row1 = $match[2]; - $row2_rel = empty($match[3]) ? 1 : 0; - $row2 = $match[4]; - // Convert 1-index to zero-index - --$row1; - --$row2; - // Trick poor inocent Excel - $col1 = 0; - $col2 = 65535; // FIXME: maximum possible value for Excel 5 (change this!!!) - - // FIXME: this changes for BIFF8 - if (($row1 >= 65536) or ($row2 >= 65536)) { - throw new PHPExcel_Writer_Exception("Row in: $range greater than 65536 "); - } - - // Set the high bits to indicate if rows are relative. - $col1 |= $row1_rel << 15; - $col2 |= $row2_rel << 15; - $col1 = pack('v', $col1); - $col2 = pack('v', $col2); - - $row1 = pack('v', $row1); - $row2 = pack('v', $row2); - - return array($row1, $col1, $row2, $col2); - } - - /** - * Convert an Excel cell reference such as A1 or $B2 or C$3 or $D$4 to a zero - * indexed row and column number. Also returns two (0,1) values to indicate - * whether the row or column are relative references. - * - * @access private - * @param string $cell The Excel cell reference in A1 format. - * @return array - */ - function _cellToRowcol($cell) - { - preg_match('/(\$)?([A-I]?[A-Z])(\$)?(\d+)/',$cell,$match); - // return absolute column if there is a $ in the ref - $col_rel = empty($match[1]) ? 1 : 0; - $col_ref = $match[2]; - $row_rel = empty($match[3]) ? 1 : 0; - $row = $match[4]; - - // Convert base26 column string to a number. - $expn = strlen($col_ref) - 1; - $col = 0; - $col_ref_length = strlen($col_ref); - for ($i = 0; $i < $col_ref_length; ++$i) { - $col += (ord($col_ref{$i}) - 64) * pow(26, $expn); - --$expn; - } - - // Convert 1-index to zero-index - --$row; - --$col; - - return array($row, $col, $row_rel, $col_rel); - } - - /** - * Advance to the next valid token. - * - * @access private - */ - function _advance() - { - $i = $this->_current_char; - $formula_length = strlen($this->_formula); - // eat up white spaces - if ($i < $formula_length) { - while ($this->_formula{$i} == " ") { - ++$i; - } - - if ($i < ($formula_length - 1)) { - $this->_lookahead = $this->_formula{$i+1}; - } - $token = ''; - } - - while ($i < $formula_length) { - $token .= $this->_formula{$i}; - - if ($i < ($formula_length - 1)) { - $this->_lookahead = $this->_formula{$i+1}; - } else { - $this->_lookahead = ''; - } - - if ($this->_match($token) != '') { - //if ($i < strlen($this->_formula) - 1) { - // $this->_lookahead = $this->_formula{$i+1}; - //} - $this->_current_char = $i + 1; - $this->_current_token = $token; - return 1; - } - - if ($i < ($formula_length - 2)) { - $this->_lookahead = $this->_formula{$i+2}; - } else { // if we run out of characters _lookahead becomes empty - $this->_lookahead = ''; - } - ++$i; - } - //die("Lexical error ".$this->_current_char); - } - - /** - * Checks if it's a valid token. - * - * @access private - * @param mixed $token The token to check. - * @return mixed The checked token or false on failure - */ - function _match($token) - { - switch($token) { - case "+": - case "-": - case "*": - case "/": - case "(": - case ")": - case ",": - case ";": - case ">=": - case "<=": - case "=": - case "<>": - case "^": - case "&": - case "%": - return $token; - break; - case ">": - if ($this->_lookahead == '=') { // it's a GE token - break; - } - return $token; - break; - case "<": - // it's a LE or a NE token - if (($this->_lookahead == '=') or ($this->_lookahead == '>')) { - break; - } - return $token; - break; - default: - // if it's a reference A1 or $A$1 or $A1 or A$1 - if (preg_match('/^\$?[A-Ia-i]?[A-Za-z]\$?[0-9]+$/',$token) and - !preg_match("/[0-9]/",$this->_lookahead) and - ($this->_lookahead != ':') and ($this->_lookahead != '.') and - ($this->_lookahead != '!')) - { - return $token; - } - // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1) - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead) and - ($this->_lookahead != ':') and ($this->_lookahead != '.')) - { - return $token; - } - // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1) - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead) and - ($this->_lookahead != ':') and ($this->_lookahead != '.')) - { - return $token; - } - // if it's a range A1:A2 or $A$1:$A$2 - elseif (preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+:(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+$/', $token) and - !preg_match("/[0-9]/",$this->_lookahead)) - { - return $token; - } - // If it's an external range like Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2 - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead)) - { - return $token; - } - // If it's an external range like 'Sheet1'!A1:B2 or 'Sheet1:Sheet2'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1:Sheet2'!$A$1:$B$2 - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead)) - { - return $token; - } - // If it's a number (check that it's not a sheet name or range) - elseif (is_numeric($token) and - (!is_numeric($token.$this->_lookahead) or ($this->_lookahead == '')) and - ($this->_lookahead != '!') and ($this->_lookahead != ':')) - { - return $token; - } - // If it's a string (of maximum 255 characters) - elseif (preg_match("/\"([^\"]|\"\"){0,255}\"/",$token) and $this->_lookahead != '"' and (substr_count($token, '"')%2 == 0)) - { - return $token; - } - // If it's an error code - elseif (preg_match("/^#[A-Z0\/]{3,5}[!?]{1}$/", $token) or $token == '#N/A') - { - return $token; - } - // if it's a function call - elseif (preg_match("/^[A-Z0-9\xc0-\xdc\.]+$/i",$token) and ($this->_lookahead == "(")) - { - return $token; - } - // It's an argument of some description (e.g. a named range), - // precise nature yet to be determined - elseif(substr($token,-1) == ')') { - return $token; - } - return ''; - } - } - - /** - * The parsing method. It parses a formula. - * - * @access public - * @param string $formula The formula to parse, without the initial equal - * sign (=). - * @return mixed true on success - */ - function parse($formula) - { - $this->_current_char = 0; - $this->_formula = $formula; - $this->_lookahead = isset($formula{1}) ? $formula{1} : ''; - $this->_advance(); - $this->_parse_tree = $this->_condition(); - return true; - } - - /** - * It parses a condition. It assumes the following rule: - * Cond -> Expr [(">" | "<") Expr] - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _condition() - { - $result = $this->_expression(); - if ($this->_current_token == "<") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgLT', $result, $result2); - } elseif ($this->_current_token == ">") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgGT', $result, $result2); - } elseif ($this->_current_token == "<=") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgLE', $result, $result2); - } elseif ($this->_current_token == ">=") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgGE', $result, $result2); - } elseif ($this->_current_token == "=") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgEQ', $result, $result2); - } elseif ($this->_current_token == "<>") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgNE', $result, $result2); - } elseif ($this->_current_token == "&") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgConcat', $result, $result2); - } - return $result; - } - - /** - * It parses a expression. It assumes the following rule: - * Expr -> Term [("+" | "-") Term] - * -> "string" - * -> "-" Term : Negative value - * -> "+" Term : Positive value - * -> Error code - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _expression() - { - // If it's a string return a string node - if (preg_match("/\"([^\"]|\"\"){0,255}\"/", $this->_current_token)) { - $tmp = str_replace('""', '"', $this->_current_token); - if (($tmp == '"') || ($tmp == '')) $tmp = '""'; // Trap for "" that has been used for an empty string - $result = $this->_createTree($tmp, '', ''); - $this->_advance(); - return $result; - // If it's an error code - } elseif (preg_match("/^#[A-Z0\/]{3,5}[!?]{1}$/", $this->_current_token) or $this->_current_token == '#N/A'){ - $result = $this->_createTree($this->_current_token, 'ptgErr', ''); - $this->_advance(); - return $result; - // If it's a negative value - } elseif ($this->_current_token == "-") { - // catch "-" Term - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgUminus', $result2, ''); - return $result; - // If it's a positive value - } elseif ($this->_current_token == "+") { - // catch "+" Term - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgUplus', $result2, ''); - return $result; - } - $result = $this->_term(); - while (($this->_current_token == "+") or - ($this->_current_token == "-") or - ($this->_current_token == "^")) { - /**/ - if ($this->_current_token == "+") { - $this->_advance(); - $result2 = $this->_term(); - $result = $this->_createTree('ptgAdd', $result, $result2); - } elseif ($this->_current_token == "-") { - $this->_advance(); - $result2 = $this->_term(); - $result = $this->_createTree('ptgSub', $result, $result2); - } else { - $this->_advance(); - $result2 = $this->_term(); - $result = $this->_createTree('ptgPower', $result, $result2); - } - } - return $result; - } - - /** - * This function just introduces a ptgParen element in the tree, so that Excel - * doesn't get confused when working with a parenthesized formula afterwards. - * - * @access private - * @see _fact() - * @return array The parsed ptg'd tree - */ - function _parenthesizedExpression() - { - $result = $this->_createTree('ptgParen', $this->_expression(), ''); - return $result; - } - - /** - * It parses a term. It assumes the following rule: - * Term -> Fact [("*" | "/") Fact] - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _term() - { - $result = $this->_fact(); - while (($this->_current_token == "*") or - ($this->_current_token == "/")) { - /**/ - if ($this->_current_token == "*") { - $this->_advance(); - $result2 = $this->_fact(); - $result = $this->_createTree('ptgMul', $result, $result2); - } else { - $this->_advance(); - $result2 = $this->_fact(); - $result = $this->_createTree('ptgDiv', $result, $result2); - } - } - return $result; - } - - /** - * It parses a factor. It assumes the following rule: - * Fact -> ( Expr ) - * | CellRef - * | CellRange - * | Number - * | Function - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _fact() - { - if ($this->_current_token == "(") { - $this->_advance(); // eat the "(" - $result = $this->_parenthesizedExpression(); - if ($this->_current_token != ")") { - throw new PHPExcel_Writer_Exception("')' token expected."); - } - $this->_advance(); // eat the ")" - return $result; - } - // if it's a reference - if (preg_match('/^\$?[A-Ia-i]?[A-Za-z]\$?[0-9]+$/',$this->_current_token)) - { - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1) - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$this->_current_token)) - { - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1) - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$this->_current_token)) - { - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // if it's a range A1:B2 or $A$1:$B$2 - elseif (preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+:(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+$/',$this->_current_token) or - preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+\.\.(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+$/',$this->_current_token)) - { - // must be an error? - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external range (Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2) - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$this->_current_token)) - { - // must be an error? - //$result = $this->_current_token; - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external range ('Sheet1'!A1:B2 or 'Sheet1'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1'!$A$1:$B$2) - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$this->_current_token)) - { - // must be an error? - //$result = $this->_current_token; - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's a number or a percent - elseif (is_numeric($this->_current_token)) - { - if($this->_lookahead == '%'){ - $result = $this->_createTree('ptgPercent', $this->_current_token, ''); - $this->_advance(); // Skip the percentage operator once we've pre-built that tree - } else { - $result = $this->_createTree($this->_current_token, '', ''); - } - $this->_advance(); - return $result; - } - // if it's a function call - elseif (preg_match("/^[A-Z0-9\xc0-\xdc\.]+$/i",$this->_current_token)) - { - $result = $this->_func(); - return $result; - } - throw new PHPExcel_Writer_Exception("Syntax error: ".$this->_current_token. - ", lookahead: ".$this->_lookahead. - ", current char: ".$this->_current_char); - } - - /** - * It parses a function call. It assumes the following rule: - * Func -> ( Expr [,Expr]* ) - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _func() - { - $num_args = 0; // number of arguments received - $function = strtoupper($this->_current_token); - $result = ''; // initialize result - $this->_advance(); - $this->_advance(); // eat the "(" - while ($this->_current_token != ')') { - /**/ - if ($num_args > 0) { - if ($this->_current_token == "," or - $this->_current_token == ";") - { - $this->_advance(); // eat the "," or ";" - } else { - throw new PHPExcel_Writer_Exception("Syntax error: comma expected in ". - "function $function, arg #{$num_args}"); - } - $result2 = $this->_condition(); - $result = $this->_createTree('arg', $result, $result2); - } else { // first argument - $result2 = $this->_condition(); - $result = $this->_createTree('arg', '', $result2); - } - ++$num_args; - } - if (!isset($this->_functions[$function])) { - throw new PHPExcel_Writer_Exception("Function $function() doesn't exist"); - } - $args = $this->_functions[$function][1]; - // If fixed number of args eg. TIME($i,$j,$k). Check that the number of args is valid. - if (($args >= 0) and ($args != $num_args)) { - throw new PHPExcel_Writer_Exception("Incorrect number of arguments in function $function() "); - } - - $result = $this->_createTree($function, $result, $num_args); - $this->_advance(); // eat the ")" - return $result; - } - - /** - * Creates a tree. In fact an array which may have one or two arrays (sub-trees) - * as elements. - * - * @access private - * @param mixed $value The value of this node. - * @param mixed $left The left array (sub-tree) or a final node. - * @param mixed $right The right array (sub-tree) or a final node. - * @return array A tree - */ - function _createTree($value, $left, $right) - { - return array('value' => $value, 'left' => $left, 'right' => $right); - } - - /** - * Builds a string containing the tree in reverse polish notation (What you - * would use in a HP calculator stack). - * The following tree: - * - * + - * / \ - * 2 3 - * - * produces: "23+" - * - * The following tree: - * - * + - * / \ - * 3 * - * / \ - * 6 A1 - * - * produces: "36A1*+" - * - * In fact all operands, functions, references, etc... are written as ptg's - * - * @access public - * @param array $tree The optional tree to convert. - * @return string The tree in reverse polish notation - */ - function toReversePolish($tree = array()) - { - $polish = ""; // the string we are going to return - if (empty($tree)) { // If it's the first call use _parse_tree - $tree = $this->_parse_tree; - } - - if (is_array($tree['left'])) { - $converted_tree = $this->toReversePolish($tree['left']); - $polish .= $converted_tree; - } elseif ($tree['left'] != '') { // It's a final node - $converted_tree = $this->_convert($tree['left']); - $polish .= $converted_tree; - } - if (is_array($tree['right'])) { - $converted_tree = $this->toReversePolish($tree['right']); - $polish .= $converted_tree; - } elseif ($tree['right'] != '') { // It's a final node - $converted_tree = $this->_convert($tree['right']); - $polish .= $converted_tree; - } - // if it's a function convert it here (so we can set it's arguments) - if (preg_match("/^[A-Z0-9\xc0-\xdc\.]+$/",$tree['value']) and - !preg_match('/^([A-Ia-i]?[A-Za-z])(\d+)$/',$tree['value']) and - !preg_match("/^[A-Ia-i]?[A-Za-z](\d+)\.\.[A-Ia-i]?[A-Za-z](\d+)$/",$tree['value']) and - !is_numeric($tree['value']) and - !isset($this->ptg[$tree['value']])) - { - // left subtree for a function is always an array. - if ($tree['left'] != '') { - $left_tree = $this->toReversePolish($tree['left']); - } else { - $left_tree = ''; - } - // add it's left subtree and return. - return $left_tree.$this->_convertFunction($tree['value'], $tree['right']); - } else { - $converted_tree = $this->_convert($tree['value']); - } - $polish .= $converted_tree; - return $polish; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Workbook.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Workbook.php deleted file mode 100644 index ecfac5dc0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Workbook.php +++ /dev/null @@ -1,1450 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Workbook (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// /* -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Workbook - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Workbook extends PHPExcel_Writer_Excel5_BIFFwriter -{ - /** - * Formula parser - * - * @var PHPExcel_Writer_Excel5_Parser - */ - private $_parser; - - /** - * The BIFF file size for the workbook. - * @var integer - * @see _calcSheetOffsets() - */ - public $_biffsize; - - /** - * XF Writers - * @var PHPExcel_Writer_Excel5_Xf[] - */ - private $_xfWriters = array(); - - /** - * Array containing the colour palette - * @var array - */ - public $_palette; - - /** - * The codepage indicates the text encoding used for strings - * @var integer - */ - public $_codepage; - - /** - * The country code used for localization - * @var integer - */ - public $_country_code; - - /** - * Workbook - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Fonts writers - * - * @var PHPExcel_Writer_Excel5_Font[] - */ - private $_fontWriters = array(); - - /** - * Added fonts. Maps from font's hash => index in workbook - * - * @var array - */ - private $_addedFonts = array(); - - /** - * Shared number formats - * - * @var array - */ - private $_numberFormats = array(); - - /** - * Added number formats. Maps from numberFormat's hash => index in workbook - * - * @var array - */ - private $_addedNumberFormats = array(); - - /** - * Sizes of the binary worksheet streams - * - * @var array - */ - private $_worksheetSizes = array(); - - /** - * Offsets of the binary worksheet streams relative to the start of the global workbook stream - * - * @var array - */ - private $_worksheetOffsets = array(); - - /** - * Total number of shared strings in workbook - * - * @var int - */ - private $_str_total; - - /** - * Number of unique shared strings in workbook - * - * @var int - */ - private $_str_unique; - - /** - * Array of unique shared strings in workbook - * - * @var array - */ - private $_str_table; - - /** - * Color cache - */ - private $_colors; - - /** - * Escher object corresponding to MSODRAWINGGROUP - * - * @var PHPExcel_Shared_Escher - */ - private $_escher; - - - /** - * Class constructor - * - * @param PHPExcel $phpExcel The Workbook - * @param int &$str_total Total number of strings - * @param int &$str_unique Total number of unique strings - * @param array &$str_table String Table - * @param array &$colors Colour Table - * @param mixed $parser The formula parser created for the Workbook - */ - public function __construct(PHPExcel $phpExcel = null, - &$str_total, &$str_unique, &$str_table, &$colors, - $parser ) - { - // It needs to call its parent's constructor explicitly - parent::__construct(); - - $this->_parser = $parser; - $this->_biffsize = 0; - $this->_palette = array(); - $this->_country_code = -1; - - $this->_str_total = &$str_total; - $this->_str_unique = &$str_unique; - $this->_str_table = &$str_table; - $this->_colors = &$colors; - $this->_setPaletteXl97(); - - $this->_phpExcel = $phpExcel; - - // set BIFFwriter limit for CONTINUE records - // $this->_limit = 8224; - $this->_codepage = 0x04B0; - - // Add empty sheets and Build color cache - $countSheets = $phpExcel->getSheetCount(); - for ($i = 0; $i < $countSheets; ++$i) { - $phpSheet = $phpExcel->getSheet($i); - - $this->_parser->setExtSheet($phpSheet->getTitle(), $i); // Register worksheet name with parser - - $supbook_index = 0x00; - $ref = pack('vvv', $supbook_index, $i, $i); - $this->_parser->_references[] = $ref; // Register reference with parser - - // Sheet tab colors? - if ($phpSheet->isTabColorSet()) { - $this->_addColor($phpSheet->getTabColor()->getRGB()); - } - } - - } - - /** - * Add a new XF writer - * - * @param PHPExcel_Style - * @param boolean Is it a style XF? - * @return int Index to XF record - */ - public function addXfWriter($style, $isStyleXf = false) - { - $xfWriter = new PHPExcel_Writer_Excel5_Xf($style); - $xfWriter->setIsStyleXf($isStyleXf); - - // Add the font if not already added - $fontIndex = $this->_addFont($style->getFont()); - - // Assign the font index to the xf record - $xfWriter->setFontIndex($fontIndex); - - // Background colors, best to treat these after the font so black will come after white in custom palette - $xfWriter->setFgColor($this->_addColor($style->getFill()->getStartColor()->getRGB())); - $xfWriter->setBgColor($this->_addColor($style->getFill()->getEndColor()->getRGB())); - $xfWriter->setBottomColor($this->_addColor($style->getBorders()->getBottom()->getColor()->getRGB())); - $xfWriter->setTopColor($this->_addColor($style->getBorders()->getTop()->getColor()->getRGB())); - $xfWriter->setRightColor($this->_addColor($style->getBorders()->getRight()->getColor()->getRGB())); - $xfWriter->setLeftColor($this->_addColor($style->getBorders()->getLeft()->getColor()->getRGB())); - $xfWriter->setDiagColor($this->_addColor($style->getBorders()->getDiagonal()->getColor()->getRGB())); - - // Add the number format if it is not a built-in one and not already added - if ($style->getNumberFormat()->getBuiltInFormatCode() === false) { - $numberFormatHashCode = $style->getNumberFormat()->getHashCode(); - - if (isset($this->_addedNumberFormats[$numberFormatHashCode])) { - $numberFormatIndex = $this->_addedNumberFormats[$numberFormatHashCode]; - } else { - $numberFormatIndex = 164 + count($this->_numberFormats); - $this->_numberFormats[$numberFormatIndex] = $style->getNumberFormat(); - $this->_addedNumberFormats[$numberFormatHashCode] = $numberFormatIndex; - } - } else { - $numberFormatIndex = (int) $style->getNumberFormat()->getBuiltInFormatCode(); - } - - // Assign the number format index to xf record - $xfWriter->setNumberFormatIndex($numberFormatIndex); - - $this->_xfWriters[] = $xfWriter; - - $xfIndex = count($this->_xfWriters) - 1; - return $xfIndex; - } - - /** - * Add a font to added fonts - * - * @param PHPExcel_Style_Font $font - * @return int Index to FONT record - */ - public function _addFont(PHPExcel_Style_Font $font) - { - $fontHashCode = $font->getHashCode(); - if(isset($this->_addedFonts[$fontHashCode])){ - $fontIndex = $this->_addedFonts[$fontHashCode]; - } else { - $countFonts = count($this->_fontWriters); - $fontIndex = ($countFonts < 4) ? $countFonts : $countFonts + 1; - - $fontWriter = new PHPExcel_Writer_Excel5_Font($font); - $fontWriter->setColorIndex($this->_addColor($font->getColor()->getRGB())); - $this->_fontWriters[] = $fontWriter; - - $this->_addedFonts[$fontHashCode] = $fontIndex; - } - return $fontIndex; - } - - /** - * Alter color palette adding a custom color - * - * @param string $rgb E.g. 'FF00AA' - * @return int Color index - */ - private function _addColor($rgb) { - if (!isset($this->_colors[$rgb])) { - if (count($this->_colors) < 57) { - // then we add a custom color altering the palette - $colorIndex = 8 + count($this->_colors); - $this->_palette[$colorIndex] = - array( - hexdec(substr($rgb, 0, 2)), - hexdec(substr($rgb, 2, 2)), - hexdec(substr($rgb, 4)), - 0 - ); - $this->_colors[$rgb] = $colorIndex; - } else { - // no room for more custom colors, just map to black - $colorIndex = 0; - } - } else { - // fetch already added custom color - $colorIndex = $this->_colors[$rgb]; - } - - return $colorIndex; - } - - /** - * Sets the colour palette to the Excel 97+ default. - * - * @access private - */ - function _setPaletteXl97() - { - $this->_palette = array( - 0x08 => array(0x00, 0x00, 0x00, 0x00), - 0x09 => array(0xff, 0xff, 0xff, 0x00), - 0x0A => array(0xff, 0x00, 0x00, 0x00), - 0x0B => array(0x00, 0xff, 0x00, 0x00), - 0x0C => array(0x00, 0x00, 0xff, 0x00), - 0x0D => array(0xff, 0xff, 0x00, 0x00), - 0x0E => array(0xff, 0x00, 0xff, 0x00), - 0x0F => array(0x00, 0xff, 0xff, 0x00), - 0x10 => array(0x80, 0x00, 0x00, 0x00), - 0x11 => array(0x00, 0x80, 0x00, 0x00), - 0x12 => array(0x00, 0x00, 0x80, 0x00), - 0x13 => array(0x80, 0x80, 0x00, 0x00), - 0x14 => array(0x80, 0x00, 0x80, 0x00), - 0x15 => array(0x00, 0x80, 0x80, 0x00), - 0x16 => array(0xc0, 0xc0, 0xc0, 0x00), - 0x17 => array(0x80, 0x80, 0x80, 0x00), - 0x18 => array(0x99, 0x99, 0xff, 0x00), - 0x19 => array(0x99, 0x33, 0x66, 0x00), - 0x1A => array(0xff, 0xff, 0xcc, 0x00), - 0x1B => array(0xcc, 0xff, 0xff, 0x00), - 0x1C => array(0x66, 0x00, 0x66, 0x00), - 0x1D => array(0xff, 0x80, 0x80, 0x00), - 0x1E => array(0x00, 0x66, 0xcc, 0x00), - 0x1F => array(0xcc, 0xcc, 0xff, 0x00), - 0x20 => array(0x00, 0x00, 0x80, 0x00), - 0x21 => array(0xff, 0x00, 0xff, 0x00), - 0x22 => array(0xff, 0xff, 0x00, 0x00), - 0x23 => array(0x00, 0xff, 0xff, 0x00), - 0x24 => array(0x80, 0x00, 0x80, 0x00), - 0x25 => array(0x80, 0x00, 0x00, 0x00), - 0x26 => array(0x00, 0x80, 0x80, 0x00), - 0x27 => array(0x00, 0x00, 0xff, 0x00), - 0x28 => array(0x00, 0xcc, 0xff, 0x00), - 0x29 => array(0xcc, 0xff, 0xff, 0x00), - 0x2A => array(0xcc, 0xff, 0xcc, 0x00), - 0x2B => array(0xff, 0xff, 0x99, 0x00), - 0x2C => array(0x99, 0xcc, 0xff, 0x00), - 0x2D => array(0xff, 0x99, 0xcc, 0x00), - 0x2E => array(0xcc, 0x99, 0xff, 0x00), - 0x2F => array(0xff, 0xcc, 0x99, 0x00), - 0x30 => array(0x33, 0x66, 0xff, 0x00), - 0x31 => array(0x33, 0xcc, 0xcc, 0x00), - 0x32 => array(0x99, 0xcc, 0x00, 0x00), - 0x33 => array(0xff, 0xcc, 0x00, 0x00), - 0x34 => array(0xff, 0x99, 0x00, 0x00), - 0x35 => array(0xff, 0x66, 0x00, 0x00), - 0x36 => array(0x66, 0x66, 0x99, 0x00), - 0x37 => array(0x96, 0x96, 0x96, 0x00), - 0x38 => array(0x00, 0x33, 0x66, 0x00), - 0x39 => array(0x33, 0x99, 0x66, 0x00), - 0x3A => array(0x00, 0x33, 0x00, 0x00), - 0x3B => array(0x33, 0x33, 0x00, 0x00), - 0x3C => array(0x99, 0x33, 0x00, 0x00), - 0x3D => array(0x99, 0x33, 0x66, 0x00), - 0x3E => array(0x33, 0x33, 0x99, 0x00), - 0x3F => array(0x33, 0x33, 0x33, 0x00), - ); - } - - /** - * Assemble worksheets into a workbook and send the BIFF data to an OLE - * storage. - * - * @param array $pWorksheetSizes The sizes in bytes of the binary worksheet streams - * @return string Binary data for workbook stream - */ - public function writeWorkbook($pWorksheetSizes = null) - { - $this->_worksheetSizes = $pWorksheetSizes; - - // Calculate the number of selected worksheet tabs and call the finalization - // methods for each worksheet - $total_worksheets = $this->_phpExcel->getSheetCount(); - - // Add part 1 of the Workbook globals, what goes before the SHEET records - $this->_storeBof(0x0005); - $this->_writeCodepage(); - $this->_writeWindow1(); - - $this->_writeDatemode(); - $this->_writeAllFonts(); - $this->_writeAllNumFormats(); - $this->_writeAllXfs(); - $this->_writeAllStyles(); - $this->_writePalette(); - - // Prepare part 3 of the workbook global stream, what goes after the SHEET records - $part3 = ''; - if ($this->_country_code != -1) { - $part3 .= $this->_writeCountry(); - } - $part3 .= $this->_writeRecalcId(); - - $part3 .= $this->_writeSupbookInternal(); - /* TODO: store external SUPBOOK records and XCT and CRN records - in case of external references for BIFF8 */ - $part3 .= $this->_writeExternsheetBiff8(); - $part3 .= $this->_writeAllDefinedNamesBiff8(); - $part3 .= $this->_writeMsoDrawingGroup(); - $part3 .= $this->_writeSharedStringsTable(); - - $part3 .= $this->writeEof(); - - // Add part 2 of the Workbook globals, the SHEET records - $this->_calcSheetOffsets(); - for ($i = 0; $i < $total_worksheets; ++$i) { - $this->_writeBoundsheet($this->_phpExcel->getSheet($i), $this->_worksheetOffsets[$i]); - } - - // Add part 3 of the Workbook globals - $this->_data .= $part3; - - return $this->_data; - } - - /** - * Calculate offsets for Worksheet BOF records. - * - * @access private - */ - function _calcSheetOffsets() - { - $boundsheet_length = 10; // fixed length for a BOUNDSHEET record - - // size of Workbook globals part 1 + 3 - $offset = $this->_datasize; - - // add size of Workbook globals part 2, the length of the SHEET records - $total_worksheets = count($this->_phpExcel->getAllSheets()); - foreach ($this->_phpExcel->getWorksheetIterator() as $sheet) { - $offset += $boundsheet_length + strlen(PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($sheet->getTitle())); - } - - // add the sizes of each of the Sheet substreams, respectively - for ($i = 0; $i < $total_worksheets; ++$i) { - $this->_worksheetOffsets[$i] = $offset; - $offset += $this->_worksheetSizes[$i]; - } - $this->_biffsize = $offset; - } - - /** - * Store the Excel FONT records. - */ - private function _writeAllFonts() - { - foreach ($this->_fontWriters as $fontWriter) { - $this->_append($fontWriter->writeFont()); - } - } - - /** - * Store user defined numerical formats i.e. FORMAT records - */ - private function _writeAllNumFormats() - { - foreach ($this->_numberFormats as $numberFormatIndex => $numberFormat) { - $this->_writeNumFormat($numberFormat->getFormatCode(), $numberFormatIndex); - } - } - - /** - * Write all XF records. - */ - private function _writeAllXfs() - { - foreach ($this->_xfWriters as $xfWriter) { - $this->_append($xfWriter->writeXf()); - } - } - - /** - * Write all STYLE records. - */ - private function _writeAllStyles() - { - $this->_writeStyle(); - } - - /** - * Write the EXTERNCOUNT and EXTERNSHEET records. These are used as indexes for - * the NAME records. - */ - private function _writeExterns() - { - $countSheets = $this->_phpExcel->getSheetCount(); - // Create EXTERNCOUNT with number of worksheets - $this->_writeExterncount($countSheets); - - // Create EXTERNSHEET for each worksheet - for ($i = 0; $i < $countSheets; ++$i) { - $this->_writeExternsheet($this->_phpExcel->getSheet($i)->getTitle()); - } - } - - /** - * Write the NAME record to define the print area and the repeat rows and cols. - */ - private function _writeNames() - { - // total number of sheets - $total_worksheets = $this->_phpExcel->getSheetCount(); - - // Create the print area NAME records - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - // Write a Name record if the print area has been defined - if ($sheetSetup->isPrintAreaSet()) { - // Print area - $printArea = PHPExcel_Cell::splitRange($sheetSetup->getPrintArea()); - $printArea = $printArea[0]; - $printArea[0] = PHPExcel_Cell::coordinateFromString($printArea[0]); - $printArea[1] = PHPExcel_Cell::coordinateFromString($printArea[1]); - - $print_rowmin = $printArea[0][1] - 1; - $print_rowmax = $printArea[1][1] - 1; - $print_colmin = PHPExcel_Cell::columnIndexFromString($printArea[0][0]) - 1; - $print_colmax = PHPExcel_Cell::columnIndexFromString($printArea[1][0]) - 1; - - $this->_writeNameShort( - $i, // sheet index - 0x06, // NAME type - $print_rowmin, - $print_rowmax, - $print_colmin, - $print_colmax - ); - } - } - - // Create the print title NAME records - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - - // simultaneous repeatColumns repeatRows - if ($sheetSetup->isColumnsToRepeatAtLeftSet() && $sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - - $this->_writeNameLong( - $i, // sheet index - 0x07, // NAME type - $rowmin, - $rowmax, - $colmin, - $colmax - ); - - // (exclusive) either repeatColumns or repeatRows - } else if ($sheetSetup->isColumnsToRepeatAtLeftSet() || $sheetSetup->isRowsToRepeatAtTopSet()) { - - // Columns to repeat - if ($sheetSetup->isColumnsToRepeatAtLeftSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - } else { - $colmin = 0; - $colmax = 255; - } - - // Rows to repeat - if ($sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - } else { - $rowmin = 0; - $rowmax = 65535; - } - - $this->_writeNameShort( - $i, // sheet index - 0x07, // NAME type - $rowmin, - $rowmax, - $colmin, - $colmax - ); - } - } - } - - /** - * Writes all the DEFINEDNAME records (BIFF8). - * So far this is only used for repeating rows/columns (print titles) and print areas - */ - private function _writeAllDefinedNamesBiff8() - { - $chunk = ''; - - // Named ranges - if (count($this->_phpExcel->getNamedRanges()) > 0) { - // Loop named ranges - $namedRanges = $this->_phpExcel->getNamedRanges(); - foreach ($namedRanges as $namedRange) { - - // Create absolute coordinate - $range = PHPExcel_Cell::splitRange($namedRange->getRange()); - for ($i = 0; $i < count($range); $i++) { - $range[$i][0] = '\'' . str_replace("'", "''", $namedRange->getWorksheet()->getTitle()) . '\'!' . PHPExcel_Cell::absoluteCoordinate($range[$i][0]); - if (isset($range[$i][1])) { - $range[$i][1] = PHPExcel_Cell::absoluteCoordinate($range[$i][1]); - } - } - $range = PHPExcel_Cell::buildRange($range); // e.g. Sheet1!$A$1:$B$2 - - // parse formula - try { - $error = $this->_parser->parse($range); - $formulaData = $this->_parser->toReversePolish(); - - // make sure tRef3d is of type tRef3dR (0x3A) - if (isset($formulaData{0}) and ($formulaData{0} == "\x7A" or $formulaData{0} == "\x5A")) { - $formulaData = "\x3A" . substr($formulaData, 1); - } - - if ($namedRange->getLocalOnly()) { - // local scope - $scope = $this->_phpExcel->getIndex($namedRange->getScope()) + 1; - } else { - // global scope - $scope = 0; - } - $chunk .= $this->writeData($this->_writeDefinedNameBiff8($namedRange->getName(), $formulaData, $scope, false)); - - } catch(PHPExcel_Exception $e) { - // do nothing - } - } - } - - // total number of sheets - $total_worksheets = $this->_phpExcel->getSheetCount(); - - // write the print titles (repeating rows, columns), if any - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - // simultaneous repeatColumns repeatRows - if ($sheetSetup->isColumnsToRepeatAtLeftSet() && $sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - - // construct formula data manually - $formulaData = pack('Cv', 0x29, 0x17); // tMemFunc - $formulaData .= pack('Cvvvvv', 0x3B, $i, 0, 65535, $colmin, $colmax); // tArea3d - $formulaData .= pack('Cvvvvv', 0x3B, $i, $rowmin, $rowmax, 0, 255); // tArea3d - $formulaData .= pack('C', 0x10); // tList - - // store the DEFINEDNAME record - $chunk .= $this->writeData($this->_writeDefinedNameBiff8(pack('C', 0x07), $formulaData, $i + 1, true)); - - // (exclusive) either repeatColumns or repeatRows - } else if ($sheetSetup->isColumnsToRepeatAtLeftSet() || $sheetSetup->isRowsToRepeatAtTopSet()) { - - // Columns to repeat - if ($sheetSetup->isColumnsToRepeatAtLeftSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - } else { - $colmin = 0; - $colmax = 255; - } - // Rows to repeat - if ($sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - } else { - $rowmin = 0; - $rowmax = 65535; - } - - // construct formula data manually because parser does not recognize absolute 3d cell references - $formulaData = pack('Cvvvvv', 0x3B, $i, $rowmin, $rowmax, $colmin, $colmax); - - // store the DEFINEDNAME record - $chunk .= $this->writeData($this->_writeDefinedNameBiff8(pack('C', 0x07), $formulaData, $i + 1, true)); - } - } - - // write the print areas, if any - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - if ($sheetSetup->isPrintAreaSet()) { - // Print area, e.g. A3:J6,H1:X20 - $printArea = PHPExcel_Cell::splitRange($sheetSetup->getPrintArea()); - $countPrintArea = count($printArea); - - $formulaData = ''; - for ($j = 0; $j < $countPrintArea; ++$j) { - $printAreaRect = $printArea[$j]; // e.g. A3:J6 - $printAreaRect[0] = PHPExcel_Cell::coordinateFromString($printAreaRect[0]); - $printAreaRect[1] = PHPExcel_Cell::coordinateFromString($printAreaRect[1]); - - $print_rowmin = $printAreaRect[0][1] - 1; - $print_rowmax = $printAreaRect[1][1] - 1; - $print_colmin = PHPExcel_Cell::columnIndexFromString($printAreaRect[0][0]) - 1; - $print_colmax = PHPExcel_Cell::columnIndexFromString($printAreaRect[1][0]) - 1; - - // construct formula data manually because parser does not recognize absolute 3d cell references - $formulaData .= pack('Cvvvvv', 0x3B, $i, $print_rowmin, $print_rowmax, $print_colmin, $print_colmax); - - if ($j > 0) { - $formulaData .= pack('C', 0x10); // list operator token ',' - } - } - - // store the DEFINEDNAME record - $chunk .= $this->writeData($this->_writeDefinedNameBiff8(pack('C', 0x06), $formulaData, $i + 1, true)); - } - } - - // write autofilters, if any - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetAutoFilter = $this->_phpExcel->getSheet($i)->getAutoFilter(); - $autoFilterRange = $sheetAutoFilter->getRange(); - if(!empty($autoFilterRange)) { - $rangeBounds = PHPExcel_Cell::rangeBoundaries($autoFilterRange); - - //Autofilter built in name - $name = pack('C', 0x0D); - - $chunk .= $this->writeData($this->_writeShortNameBiff8($name, $i + 1, $rangeBounds, true)); - } - } - - return $chunk; - } - - /** - * Write a DEFINEDNAME record for BIFF8 using explicit binary formula data - * - * @param string $name The name in UTF-8 - * @param string $formulaData The binary formula data - * @param string $sheetIndex 1-based sheet index the defined name applies to. 0 = global - * @param boolean $isBuiltIn Built-in name? - * @return string Complete binary record data - */ - private function _writeDefinedNameBiff8($name, $formulaData, $sheetIndex = 0, $isBuiltIn = false) - { - $record = 0x0018; - - // option flags - $options = $isBuiltIn ? 0x20 : 0x00; - - // length of the name, character count - $nlen = PHPExcel_Shared_String::CountCharacters($name); - - // name with stripped length field - $name = substr(PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($name), 2); - - // size of the formula (in bytes) - $sz = strlen($formulaData); - - // combine the parts - $data = pack('vCCvvvCCCC', $options, 0, $nlen, $sz, 0, $sheetIndex, 0, 0, 0, 0) - . $name . $formulaData; - $length = strlen($data); - - $header = pack('vv', $record, $length); - - return $header . $data; - } - - /** - * Write a short NAME record - * - * @param string $name - * @param string $sheetIndex 1-based sheet index the defined name applies to. 0 = global - * @param integer[][] $rangeBounds range boundaries - * @param boolean $isHidden - * @return string Complete binary record data - * */ - private function _writeShortNameBiff8($name, $sheetIndex = 0, $rangeBounds, $isHidden = false){ - $record = 0x0018; - - // option flags - $options = ($isHidden ? 0x21 : 0x00); - - $extra = pack('Cvvvvv', - 0x3B, - $sheetIndex - 1, - $rangeBounds[0][1] - 1, - $rangeBounds[1][1] - 1, - $rangeBounds[0][0] - 1, - $rangeBounds[1][0] - 1); - - // size of the formula (in bytes) - $sz = strlen($extra); - - // combine the parts - $data = pack('vCCvvvCCCCC', $options, 0, 1, $sz, 0, $sheetIndex, 0, 0, 0, 0, 0) - . $name . $extra; - $length = strlen($data); - - $header = pack('vv', $record, $length); - - return $header . $data; - } - - /** - * Stores the CODEPAGE biff record. - */ - private function _writeCodepage() - { - $record = 0x0042; // Record identifier - $length = 0x0002; // Number of bytes to follow - $cv = $this->_codepage; // The code page - - $header = pack('vv', $record, $length); - $data = pack('v', $cv); - - $this->_append($header . $data); - } - - /** - * Write Excel BIFF WINDOW1 record. - */ - private function _writeWindow1() - { - $record = 0x003D; // Record identifier - $length = 0x0012; // Number of bytes to follow - - $xWn = 0x0000; // Horizontal position of window - $yWn = 0x0000; // Vertical position of window - $dxWn = 0x25BC; // Width of window - $dyWn = 0x1572; // Height of window - - $grbit = 0x0038; // Option flags - - // not supported by PHPExcel, so there is only one selected sheet, the active - $ctabsel = 1; // Number of workbook tabs selected - - $wTabRatio = 0x0258; // Tab to scrollbar ratio - - // not supported by PHPExcel, set to 0 - $itabFirst = 0; // 1st displayed worksheet - $itabCur = $this->_phpExcel->getActiveSheetIndex(); // Active worksheet - - $header = pack("vv", $record, $length); - $data = pack("vvvvvvvvv", $xWn, $yWn, $dxWn, $dyWn, - $grbit, - $itabCur, $itabFirst, - $ctabsel, $wTabRatio); - $this->_append($header . $data); - } - - /** - * Writes Excel BIFF BOUNDSHEET record. - * - * @param PHPExcel_Worksheet $sheet Worksheet name - * @param integer $offset Location of worksheet BOF - */ - private function _writeBoundsheet($sheet, $offset) - { - $sheetname = $sheet->getTitle(); - $record = 0x0085; // Record identifier - - // sheet state - switch ($sheet->getSheetState()) { - case PHPExcel_Worksheet::SHEETSTATE_VISIBLE: $ss = 0x00; break; - case PHPExcel_Worksheet::SHEETSTATE_HIDDEN: $ss = 0x01; break; - case PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN: $ss = 0x02; break; - default: $ss = 0x00; break; - } - - // sheet type - $st = 0x00; - - $grbit = 0x0000; // Visibility and sheet type - - $data = pack("VCC", $offset, $ss, $st); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($sheetname); - - $length = strlen($data); - $header = pack("vv", $record, $length); - $this->_append($header . $data); - } - - /** - * Write Internal SUPBOOK record - */ - private function _writeSupbookInternal() - { - $record = 0x01AE; // Record identifier - $length = 0x0004; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vv", $this->_phpExcel->getSheetCount(), 0x0401); - return $this->writeData($header . $data); - } - - /** - * Writes the Excel BIFF EXTERNSHEET record. These references are used by - * formulas. - * - */ - private function _writeExternsheetBiff8() - { - $total_references = count($this->_parser->_references); - $record = 0x0017; // Record identifier - $length = 2 + 6 * $total_references; // Number of bytes to follow - - $supbook_index = 0; // FIXME: only using internal SUPBOOK record - $header = pack("vv", $record, $length); - $data = pack('v', $total_references); - for ($i = 0; $i < $total_references; ++$i) { - $data .= $this->_parser->_references[$i]; - } - return $this->writeData($header . $data); - } - - /** - * Write Excel BIFF STYLE records. - */ - private function _writeStyle() - { - $record = 0x0293; // Record identifier - $length = 0x0004; // Bytes to follow - - $ixfe = 0x8000; // Index to cell style XF - $BuiltIn = 0x00; // Built-in style - $iLevel = 0xff; // Outline style level - - $header = pack("vv", $record, $length); - $data = pack("vCC", $ixfe, $BuiltIn, $iLevel); - $this->_append($header . $data); - } - - /** - * Writes Excel FORMAT record for non "built-in" numerical formats. - * - * @param string $format Custom format string - * @param integer $ifmt Format index code - */ - private function _writeNumFormat($format, $ifmt) - { - $record = 0x041E; // Record identifier - - $numberFormatString = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($format); - $length = 2 + strlen($numberFormatString); // Number of bytes to follow - - - $header = pack("vv", $record, $length); - $data = pack("v", $ifmt) . $numberFormatString; - $this->_append($header . $data); - } - - /** - * Write DATEMODE record to indicate the date system in use (1904 or 1900). - */ - private function _writeDatemode() - { - $record = 0x0022; // Record identifier - $length = 0x0002; // Bytes to follow - - $f1904 = (PHPExcel_Shared_Date::getExcelCalendar() == PHPExcel_Shared_Date::CALENDAR_MAC_1904) ? - 1 : 0; // Flag for 1904 date system - - $header = pack("vv", $record, $length); - $data = pack("v", $f1904); - $this->_append($header . $data); - } - - /** - * Write BIFF record EXTERNCOUNT to indicate the number of external sheet - * references in the workbook. - * - * Excel only stores references to external sheets that are used in NAME. - * The workbook NAME record is required to define the print area and the repeat - * rows and columns. - * - * A similar method is used in Worksheet.php for a slightly different purpose. - * - * @param integer $cxals Number of external references - */ - private function _writeExterncount($cxals) - { - $record = 0x0016; // Record identifier - $length = 0x0002; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $cxals); - $this->_append($header . $data); - } - - /** - * Writes the Excel BIFF EXTERNSHEET record. These references are used by - * formulas. NAME record is required to define the print area and the repeat - * rows and columns. - * - * A similar method is used in Worksheet.php for a slightly different purpose. - * - * @param string $sheetname Worksheet name - */ - private function _writeExternsheet($sheetname) - { - $record = 0x0017; // Record identifier - $length = 0x02 + strlen($sheetname); // Number of bytes to follow - - $cch = strlen($sheetname); // Length of sheet name - $rgch = 0x03; // Filename encoding - - $header = pack("vv", $record, $length); - $data = pack("CC", $cch, $rgch); - $this->_append($header . $data . $sheetname); - } - - /** - * Store the NAME record in the short format that is used for storing the print - * area, repeat rows only and repeat columns only. - * - * @param integer $index Sheet index - * @param integer $type Built-in name type - * @param integer $rowmin Start row - * @param integer $rowmax End row - * @param integer $colmin Start colum - * @param integer $colmax End column - */ - private function _writeNameShort($index, $type, $rowmin, $rowmax, $colmin, $colmax) - { - $record = 0x0018; // Record identifier - $length = 0x0024; // Number of bytes to follow - - $grbit = 0x0020; // Option flags - $chKey = 0x00; // Keyboard shortcut - $cch = 0x01; // Length of text name - $cce = 0x0015; // Length of text definition - $ixals = $index + 1; // Sheet index - $itab = $ixals; // Equal to ixals - $cchCustMenu = 0x00; // Length of cust menu text - $cchDescription = 0x00; // Length of description text - $cchHelptopic = 0x00; // Length of help topic text - $cchStatustext = 0x00; // Length of status bar text - $rgch = $type; // Built-in name type - - $unknown03 = 0x3b; - $unknown04 = 0xffff-$index; - $unknown05 = 0x0000; - $unknown06 = 0x0000; - $unknown07 = 0x1087; - $unknown08 = 0x8005; - - $header = pack("vv", $record, $length); - $data = pack("v", $grbit); - $data .= pack("C", $chKey); - $data .= pack("C", $cch); - $data .= pack("v", $cce); - $data .= pack("v", $ixals); - $data .= pack("v", $itab); - $data .= pack("C", $cchCustMenu); - $data .= pack("C", $cchDescription); - $data .= pack("C", $cchHelptopic); - $data .= pack("C", $cchStatustext); - $data .= pack("C", $rgch); - $data .= pack("C", $unknown03); - $data .= pack("v", $unknown04); - $data .= pack("v", $unknown05); - $data .= pack("v", $unknown06); - $data .= pack("v", $unknown07); - $data .= pack("v", $unknown08); - $data .= pack("v", $index); - $data .= pack("v", $index); - $data .= pack("v", $rowmin); - $data .= pack("v", $rowmax); - $data .= pack("C", $colmin); - $data .= pack("C", $colmax); - $this->_append($header . $data); - } - - /** - * Store the NAME record in the long format that is used for storing the repeat - * rows and columns when both are specified. This shares a lot of code with - * _writeNameShort() but we use a separate method to keep the code clean. - * Code abstraction for reuse can be carried too far, and I should know. ;-) - * - * @param integer $index Sheet index - * @param integer $type Built-in name type - * @param integer $rowmin Start row - * @param integer $rowmax End row - * @param integer $colmin Start colum - * @param integer $colmax End column - */ - private function _writeNameLong($index, $type, $rowmin, $rowmax, $colmin, $colmax) - { - $record = 0x0018; // Record identifier - $length = 0x003d; // Number of bytes to follow - $grbit = 0x0020; // Option flags - $chKey = 0x00; // Keyboard shortcut - $cch = 0x01; // Length of text name - $cce = 0x002e; // Length of text definition - $ixals = $index + 1; // Sheet index - $itab = $ixals; // Equal to ixals - $cchCustMenu = 0x00; // Length of cust menu text - $cchDescription = 0x00; // Length of description text - $cchHelptopic = 0x00; // Length of help topic text - $cchStatustext = 0x00; // Length of status bar text - $rgch = $type; // Built-in name type - - $unknown01 = 0x29; - $unknown02 = 0x002b; - $unknown03 = 0x3b; - $unknown04 = 0xffff-$index; - $unknown05 = 0x0000; - $unknown06 = 0x0000; - $unknown07 = 0x1087; - $unknown08 = 0x8008; - - $header = pack("vv", $record, $length); - $data = pack("v", $grbit); - $data .= pack("C", $chKey); - $data .= pack("C", $cch); - $data .= pack("v", $cce); - $data .= pack("v", $ixals); - $data .= pack("v", $itab); - $data .= pack("C", $cchCustMenu); - $data .= pack("C", $cchDescription); - $data .= pack("C", $cchHelptopic); - $data .= pack("C", $cchStatustext); - $data .= pack("C", $rgch); - $data .= pack("C", $unknown01); - $data .= pack("v", $unknown02); - // Column definition - $data .= pack("C", $unknown03); - $data .= pack("v", $unknown04); - $data .= pack("v", $unknown05); - $data .= pack("v", $unknown06); - $data .= pack("v", $unknown07); - $data .= pack("v", $unknown08); - $data .= pack("v", $index); - $data .= pack("v", $index); - $data .= pack("v", 0x0000); - $data .= pack("v", 0x3fff); - $data .= pack("C", $colmin); - $data .= pack("C", $colmax); - // Row definition - $data .= pack("C", $unknown03); - $data .= pack("v", $unknown04); - $data .= pack("v", $unknown05); - $data .= pack("v", $unknown06); - $data .= pack("v", $unknown07); - $data .= pack("v", $unknown08); - $data .= pack("v", $index); - $data .= pack("v", $index); - $data .= pack("v", $rowmin); - $data .= pack("v", $rowmax); - $data .= pack("C", 0x00); - $data .= pack("C", 0xff); - // End of data - $data .= pack("C", 0x10); - $this->_append($header . $data); - } - - /** - * Stores the COUNTRY record for localization - * - * @return string - */ - private function _writeCountry() - { - $record = 0x008C; // Record identifier - $length = 4; // Number of bytes to follow - - $header = pack('vv', $record, $length); - /* using the same country code always for simplicity */ - $data = pack('vv', $this->_country_code, $this->_country_code); - //$this->_append($header . $data); - return $this->writeData($header . $data); - } - - /** - * Write the RECALCID record - * - * @return string - */ - private function _writeRecalcId() - { - $record = 0x01C1; // Record identifier - $length = 8; // Number of bytes to follow - - $header = pack('vv', $record, $length); - - // by inspection of real Excel files, MS Office Excel 2007 writes this - $data = pack('VV', 0x000001C1, 0x00001E667); - - return $this->writeData($header . $data); - } - - /** - * Stores the PALETTE biff record. - */ - private function _writePalette() - { - $aref = $this->_palette; - - $record = 0x0092; // Record identifier - $length = 2 + 4 * count($aref); // Number of bytes to follow - $ccv = count($aref); // Number of RGB values to follow - $data = ''; // The RGB data - - // Pack the RGB data - foreach ($aref as $color) { - foreach ($color as $byte) { - $data .= pack("C",$byte); - } - } - - $header = pack("vvv", $record, $length, $ccv); - $this->_append($header . $data); - } - - /** - * Handling of the SST continue blocks is complicated by the need to include an - * additional continuation byte depending on whether the string is split between - * blocks or whether it starts at the beginning of the block. (There are also - * additional complications that will arise later when/if Rich Strings are - * supported). - * - * The Excel documentation says that the SST record should be followed by an - * EXTSST record. The EXTSST record is a hash table that is used to optimise - * access to SST. However, despite the documentation it doesn't seem to be - * required so we will ignore it. - * - * @return string Binary data - */ - private function _writeSharedStringsTable() - { - // maximum size of record data (excluding record header) - $continue_limit = 8224; - - // initialize array of record data blocks - $recordDatas = array(); - - // start SST record data block with total number of strings, total number of unique strings - $recordData = pack("VV", $this->_str_total, $this->_str_unique); - - // loop through all (unique) strings in shared strings table - foreach (array_keys($this->_str_table) as $string) { - - // here $string is a BIFF8 encoded string - - // length = character count - $headerinfo = unpack("vlength/Cencoding", $string); - - // currently, this is always 1 = uncompressed - $encoding = $headerinfo["encoding"]; - - // initialize finished writing current $string - $finished = false; - - while ($finished === false) { - - // normally, there will be only one cycle, but if string cannot immediately be written as is - // there will be need for more than one cylcle, if string longer than one record data block, there - // may be need for even more cycles - - if (strlen($recordData) + strlen($string) <= $continue_limit) { - // then we can write the string (or remainder of string) without any problems - $recordData .= $string; - - if (strlen($recordData) + strlen($string) == $continue_limit) { - // we close the record data block, and initialize a new one - $recordDatas[] = $recordData; - $recordData = ''; - } - - // we are finished writing this string - $finished = true; - } else { - // special treatment writing the string (or remainder of the string) - // If the string is very long it may need to be written in more than one CONTINUE record. - - // check how many bytes more there is room for in the current record - $space_remaining = $continue_limit - strlen($recordData); - - // minimum space needed - // uncompressed: 2 byte string length length field + 1 byte option flags + 2 byte character - // compressed: 2 byte string length length field + 1 byte option flags + 1 byte character - $min_space_needed = ($encoding == 1) ? 5 : 4; - - // We have two cases - // 1. space remaining is less than minimum space needed - // here we must waste the space remaining and move to next record data block - // 2. space remaining is greater than or equal to minimum space needed - // here we write as much as we can in the current block, then move to next record data block - - // 1. space remaining is less than minimum space needed - if ($space_remaining < $min_space_needed) { - // we close the block, store the block data - $recordDatas[] = $recordData; - - // and start new record data block where we start writing the string - $recordData = ''; - - // 2. space remaining is greater than or equal to minimum space needed - } else { - // initialize effective remaining space, for Unicode strings this may need to be reduced by 1, see below - $effective_space_remaining = $space_remaining; - - // for uncompressed strings, sometimes effective space remaining is reduced by 1 - if ( $encoding == 1 && (strlen($string) - $space_remaining) % 2 == 1 ) { - --$effective_space_remaining; - } - - // one block fininshed, store the block data - $recordData .= substr($string, 0, $effective_space_remaining); - - $string = substr($string, $effective_space_remaining); // for next cycle in while loop - $recordDatas[] = $recordData; - - // start new record data block with the repeated option flags - $recordData = pack('C', $encoding); - } - } - } - } - - // Store the last record data block unless it is empty - // if there was no need for any continue records, this will be the for SST record data block itself - if (strlen($recordData) > 0) { - $recordDatas[] = $recordData; - } - - // combine into one chunk with all the blocks SST, CONTINUE,... - $chunk = ''; - foreach ($recordDatas as $i => $recordData) { - // first block should have the SST record header, remaing should have CONTINUE header - $record = ($i == 0) ? 0x00FC : 0x003C; - - $header = pack("vv", $record, strlen($recordData)); - $data = $header . $recordData; - - $chunk .= $this->writeData($data); - } - - return $chunk; - } - - /** - * Writes the MSODRAWINGGROUP record if needed. Possibly split using CONTINUE records. - */ - private function _writeMsoDrawingGroup() - { - // write the Escher stream if necessary - if (isset($this->_escher)) { - $writer = new PHPExcel_Writer_Excel5_Escher($this->_escher); - $data = $writer->close(); - - $record = 0x00EB; - $length = strlen($data); - $header = pack("vv", $record, $length); - - return $this->writeData($header . $data); - - } else { - return ''; - } - } - - /** - * Get Escher object - * - * @return PHPExcel_Shared_Escher - */ - public function getEscher() - { - return $this->_escher; - } - - /** - * Set Escher object - * - * @param PHPExcel_Shared_Escher $pValue - */ - public function setEscher(PHPExcel_Shared_Escher $pValue = null) - { - $this->_escher = $pValue; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Worksheet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Worksheet.php deleted file mode 100644 index fb75499b1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Worksheet.php +++ /dev/null @@ -1,3681 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Worksheet (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// /* -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Worksheet extends PHPExcel_Writer_Excel5_BIFFwriter -{ - /** - * Formula parser - * - * @var PHPExcel_Writer_Excel5_Parser - */ - private $_parser; - - /** - * Maximum number of characters for a string (LABEL record in BIFF5) - * @var integer - */ - public $_xls_strmax; - - /** - * Array containing format information for columns - * @var array - */ - public $_colinfo; - - /** - * Array containing the selected area for the worksheet - * @var array - */ - public $_selection; - - /** - * The active pane for the worksheet - * @var integer - */ - public $_active_pane; - - /** - * Whether to use outline. - * @var integer - */ - public $_outline_on; - - /** - * Auto outline styles. - * @var bool - */ - public $_outline_style; - - /** - * Whether to have outline summary below. - * @var bool - */ - public $_outline_below; - - /** - * Whether to have outline summary at the right. - * @var bool - */ - public $_outline_right; - - /** - * Reference to the total number of strings in the workbook - * @var integer - */ - public $_str_total; - - /** - * Reference to the number of unique strings in the workbook - * @var integer - */ - public $_str_unique; - - /** - * Reference to the array containing all the unique strings in the workbook - * @var array - */ - public $_str_table; - - /** - * Color cache - */ - private $_colors; - - /** - * Index of first used row (at least 0) - * @var int - */ - private $_firstRowIndex; - - /** - * Index of last used row. (no used rows means -1) - * @var int - */ - private $_lastRowIndex; - - /** - * Index of first used column (at least 0) - * @var int - */ - private $_firstColumnIndex; - - /** - * Index of last used column (no used columns means -1) - * @var int - */ - private $_lastColumnIndex; - - /** - * Sheet object - * @var PHPExcel_Worksheet - */ - public $_phpSheet; - - /** - * Count cell style Xfs - * - * @var int - */ - private $_countCellStyleXfs; - - /** - * Escher object corresponding to MSODRAWING - * - * @var PHPExcel_Shared_Escher - */ - private $_escher; - - /** - * Array of font hashes associated to FONT records index - * - * @var array - */ - public $_fntHashIndex; - - /** - * Constructor - * - * @param int &$str_total Total number of strings - * @param int &$str_unique Total number of unique strings - * @param array &$str_table String Table - * @param array &$colors Colour Table - * @param mixed $parser The formula parser created for the Workbook - * @param boolean $preCalculateFormulas Flag indicating whether formulas should be calculated or just written - * @param string $phpSheet The worksheet to write - * @param PHPExcel_Worksheet $phpSheet - */ - public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, - $parser, $preCalculateFormulas, $phpSheet) - { - // It needs to call its parent's constructor explicitly - parent::__construct(); - - // change BIFFwriter limit for CONTINUE records -// $this->_limit = 8224; - - - $this->_preCalculateFormulas = $preCalculateFormulas; - $this->_str_total = &$str_total; - $this->_str_unique = &$str_unique; - $this->_str_table = &$str_table; - $this->_colors = &$colors; - $this->_parser = $parser; - - $this->_phpSheet = $phpSheet; - - //$this->ext_sheets = array(); - //$this->offset = 0; - $this->_xls_strmax = 255; - $this->_colinfo = array(); - $this->_selection = array(0,0,0,0); - $this->_active_pane = 3; - - $this->_print_headers = 0; - - $this->_outline_style = 0; - $this->_outline_below = 1; - $this->_outline_right = 1; - $this->_outline_on = 1; - - $this->_fntHashIndex = array(); - - // calculate values for DIMENSIONS record - $minR = 1; - $minC = 'A'; - - $maxR = $this->_phpSheet->getHighestRow(); - $maxC = $this->_phpSheet->getHighestColumn(); - - // Determine lowest and highest column and row -// $this->_firstRowIndex = ($minR > 65535) ? 65535 : $minR; - $this->_lastRowIndex = ($maxR > 65535) ? 65535 : $maxR ; - - $this->_firstColumnIndex = PHPExcel_Cell::columnIndexFromString($minC); - $this->_lastColumnIndex = PHPExcel_Cell::columnIndexFromString($maxC); - -// if ($this->_firstColumnIndex > 255) $this->_firstColumnIndex = 255; - if ($this->_lastColumnIndex > 255) $this->_lastColumnIndex = 255; - - $this->_countCellStyleXfs = count($phpSheet->getParent()->getCellStyleXfCollection()); - } - - /** - * Add data to the beginning of the workbook (note the reverse order) - * and to the end of the workbook. - * - * @access public - * @see PHPExcel_Writer_Excel5_Workbook::storeWorkbook() - */ - function close() - { - $_phpSheet = $this->_phpSheet; - - $num_sheets = $_phpSheet->getParent()->getSheetCount(); - - // Write BOF record - $this->_storeBof(0x0010); - - // Write PRINTHEADERS - $this->_writePrintHeaders(); - - // Write PRINTGRIDLINES - $this->_writePrintGridlines(); - - // Write GRIDSET - $this->_writeGridset(); - - // Calculate column widths - $_phpSheet->calculateColumnWidths(); - - // Column dimensions - if (($defaultWidth = $_phpSheet->getDefaultColumnDimension()->getWidth()) < 0) { - $defaultWidth = PHPExcel_Shared_Font::getDefaultColumnWidthByFont($_phpSheet->getParent()->getDefaultStyle()->getFont()); - } - - $columnDimensions = $_phpSheet->getColumnDimensions(); - $maxCol = $this->_lastColumnIndex -1; - for ($i = 0; $i <= $maxCol; ++$i) { - $hidden = 0; - $level = 0; - $xfIndex = 15; // there are 15 cell style Xfs - - $width = $defaultWidth; - - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($i); - if (isset($columnDimensions[$columnLetter])) { - $columnDimension = $columnDimensions[$columnLetter]; - if ($columnDimension->getWidth() >= 0) { - $width = $columnDimension->getWidth(); - } - $hidden = $columnDimension->getVisible() ? 0 : 1; - $level = $columnDimension->getOutlineLevel(); - $xfIndex = $columnDimension->getXfIndex() + 15; // there are 15 cell style Xfs - } - - // Components of _colinfo: - // $firstcol first column on the range - // $lastcol last column on the range - // $width width to set - // $xfIndex The optional cell style Xf index to apply to the columns - // $hidden The optional hidden atribute - // $level The optional outline level - $this->_colinfo[] = array($i, $i, $width, $xfIndex, $hidden, $level); - } - - // Write GUTS - $this->_writeGuts(); - - // Write DEFAULTROWHEIGHT - $this->_writeDefaultRowHeight(); - - // Write WSBOOL - $this->_writeWsbool(); - - // Write horizontal and vertical page breaks - $this->_writeBreaks(); - - // Write page header - $this->_writeHeader(); - - // Write page footer - $this->_writeFooter(); - - // Write page horizontal centering - $this->_writeHcenter(); - - // Write page vertical centering - $this->_writeVcenter(); - - // Write left margin - $this->_writeMarginLeft(); - - // Write right margin - $this->_writeMarginRight(); - - // Write top margin - $this->_writeMarginTop(); - - // Write bottom margin - $this->_writeMarginBottom(); - - // Write page setup - $this->_writeSetup(); - - // Write sheet protection - $this->_writeProtect(); - - // Write SCENPROTECT - $this->_writeScenProtect(); - - // Write OBJECTPROTECT - $this->_writeObjectProtect(); - - // Write sheet password - $this->_writePassword(); - - // Write DEFCOLWIDTH record - $this->_writeDefcol(); - - // Write the COLINFO records if they exist - if (!empty($this->_colinfo)) { - $colcount = count($this->_colinfo); - for ($i = 0; $i < $colcount; ++$i) { - $this->_writeColinfo($this->_colinfo[$i]); - } - } - $autoFilterRange = $_phpSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - // Write AUTOFILTERINFO - $this->_writeAutoFilterInfo(); - } - - // Write sheet dimensions - $this->_writeDimensions(); - - // Row dimensions - foreach ($_phpSheet->getRowDimensions() as $rowDimension) { - $xfIndex = $rowDimension->getXfIndex() + 15; // there are 15 cellXfs - $this->_writeRow( $rowDimension->getRowIndex() - 1, $rowDimension->getRowHeight(), $xfIndex, ($rowDimension->getVisible() ? '0' : '1'), $rowDimension->getOutlineLevel() ); - } - - // Write Cells - foreach ($_phpSheet->getCellCollection() as $cellID) { - $cell = $_phpSheet->getCell($cellID); - $row = $cell->getRow() - 1; - $column = PHPExcel_Cell::columnIndexFromString($cell->getColumn()) - 1; - - // Don't break Excel! -// if ($row + 1 > 65536 or $column + 1 > 256) { - if ($row > 65535 || $column > 255) { - break; - } - - // Write cell value - $xfIndex = $cell->getXfIndex() + 15; // there are 15 cell style Xfs - - $cVal = $cell->getValue(); - if ($cVal instanceof PHPExcel_RichText) { - // $this->_writeString($row, $column, $cVal->getPlainText(), $xfIndex); - $arrcRun = array(); - $str_len = PHPExcel_Shared_String::CountCharacters($cVal->getPlainText(), 'UTF-8'); - $str_pos = 0; - $elements = $cVal->getRichTextElements(); - foreach ($elements as $element) { - // FONT Index - if ($element instanceof PHPExcel_RichText_Run) { - $str_fontidx = $this->_fntHashIndex[$element->getFont()->getHashCode()]; - } - else { - $str_fontidx = 0; - } - $arrcRun[] = array('strlen' => $str_pos, 'fontidx' => $str_fontidx); - // Position FROM - $str_pos += PHPExcel_Shared_String::CountCharacters($element->getText(), 'UTF-8'); - } - $this->_writeRichTextString($row, $column, $cVal->getPlainText(), $xfIndex, $arrcRun); - } else { - switch ($cell->getDatatype()) { - case PHPExcel_Cell_DataType::TYPE_STRING: - case PHPExcel_Cell_DataType::TYPE_NULL: - if ($cVal === '' || $cVal === null) { - $this->_writeBlank($row, $column, $xfIndex); - } else { - $this->_writeString($row, $column, $cVal, $xfIndex); - } - break; - - case PHPExcel_Cell_DataType::TYPE_NUMERIC: - $this->_writeNumber($row, $column, $cVal, $xfIndex); - break; - - case PHPExcel_Cell_DataType::TYPE_FORMULA: - $calculatedValue = $this->_preCalculateFormulas ? - $cell->getCalculatedValue() : null; - $this->_writeFormula($row, $column, $cVal, $xfIndex, $calculatedValue); - break; - - case PHPExcel_Cell_DataType::TYPE_BOOL: - $this->_writeBoolErr($row, $column, $cVal, 0, $xfIndex); - break; - - case PHPExcel_Cell_DataType::TYPE_ERROR: - $this->_writeBoolErr($row, $column, self::_mapErrorCode($cVal), 1, $xfIndex); - break; - - } - } - } - - // Append - $this->_writeMsoDrawing(); - - // Write WINDOW2 record - $this->_writeWindow2(); - - // Write PLV record - $this->_writePageLayoutView(); - - // Write ZOOM record - $this->_writeZoom(); - if ($_phpSheet->getFreezePane()) { - $this->_writePanes(); - } - - // Write SELECTION record - $this->_writeSelection(); - - // Write MergedCellsTable Record - $this->_writeMergedCells(); - - // Hyperlinks - foreach ($_phpSheet->getHyperLinkCollection() as $coordinate => $hyperlink) { - list($column, $row) = PHPExcel_Cell::coordinateFromString($coordinate); - - $url = $hyperlink->getUrl(); - - if ( strpos($url, 'sheet://') !== false ) { - // internal to current workbook - $url = str_replace('sheet://', 'internal:', $url); - - } else if ( preg_match('/^(http:|https:|ftp:|mailto:)/', $url) ) { - // URL - // $url = $url; - - } else { - // external (local file) - $url = 'external:' . $url; - } - - $this->_writeUrl($row - 1, PHPExcel_Cell::columnIndexFromString($column) - 1, $url); - } - - $this->_writeDataValidity(); - $this->_writeSheetLayout(); - - // Write SHEETPROTECTION record - $this->_writeSheetProtection(); - $this->_writeRangeProtection(); - - $arrConditionalStyles = $_phpSheet->getConditionalStylesCollection(); - if(!empty($arrConditionalStyles)){ - $arrConditional = array(); - // @todo CFRule & CFHeader - // Write CFHEADER record - $this->_writeCFHeader(); - // Write ConditionalFormattingTable records - foreach ($arrConditionalStyles as $cellCoordinate => $conditionalStyles) { - foreach ($conditionalStyles as $conditional) { - if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS){ - if(!in_array($conditional->getHashCode(), $arrConditional)){ - $arrConditional[] = $conditional->getHashCode(); - // Write CFRULE record - $this->_writeCFRule($conditional); - } - } - } - } - } - - $this->_storeEof(); - } - - /** - * Write a cell range address in BIFF8 - * always fixed range - * See section 2.5.14 in OpenOffice.org's Documentation of the Microsoft Excel File Format - * - * @param string $range E.g. 'A1' or 'A1:B6' - * @return string Binary data - */ - private function _writeBIFF8CellRangeAddressFixed($range = 'A1') - { - $explodes = explode(':', $range); - - // extract first cell, e.g. 'A1' - $firstCell = $explodes[0]; - - // extract last cell, e.g. 'B6' - if (count($explodes) == 1) { - $lastCell = $firstCell; - } else { - $lastCell = $explodes[1]; - } - - $firstCellCoordinates = PHPExcel_Cell::coordinateFromString($firstCell); // e.g. array(0, 1) - $lastCellCoordinates = PHPExcel_Cell::coordinateFromString($lastCell); // e.g. array(1, 6) - - return(pack('vvvv', - $firstCellCoordinates[1] - 1, - $lastCellCoordinates[1] - 1, - PHPExcel_Cell::columnIndexFromString($firstCellCoordinates[0]) - 1, - PHPExcel_Cell::columnIndexFromString($lastCellCoordinates[0]) - 1 - )); - } - - /** - * Retrieves data from memory in one chunk, or from disk in $buffer - * sized chunks. - * - * @return string The data - */ - function getData() - { - $buffer = 4096; - - // Return data stored in memory - if (isset($this->_data)) { - $tmp = $this->_data; - unset($this->_data); - return $tmp; - } - // No data to return - return false; - } - - /** - * Set the option to print the row and column headers on the printed page. - * - * @access public - * @param integer $print Whether to print the headers or not. Defaults to 1 (print). - */ - function printRowColHeaders($print = 1) - { - $this->_print_headers = $print; - } - - /** - * This method sets the properties for outlining and grouping. The defaults - * correspond to Excel's defaults. - * - * @param bool $visible - * @param bool $symbols_below - * @param bool $symbols_right - * @param bool $auto_style - */ - function setOutline($visible = true, $symbols_below = true, $symbols_right = true, $auto_style = false) - { - $this->_outline_on = $visible; - $this->_outline_below = $symbols_below; - $this->_outline_right = $symbols_right; - $this->_outline_style = $auto_style; - - // Ensure this is a boolean vale for Window2 - if ($this->_outline_on) { - $this->_outline_on = 1; - } - } - - /** - * Write a double to the specified row and column (zero indexed). - * An integer can be written as a double. Excel will display an - * integer. $format is optional. - * - * Returns 0 : normal termination - * -2 : row or column out of range - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param float $num The number to write - * @param mixed $xfIndex The optional XF format - * @return integer - */ - private function _writeNumber($row, $col, $num, $xfIndex) - { - $record = 0x0203; // Record identifier - $length = 0x000E; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vvv", $row, $col, $xfIndex); - $xl_double = pack("d", $num); - if (self::getByteOrder()) { // if it's Big Endian - $xl_double = strrev($xl_double); - } - - $this->_append($header.$data.$xl_double); - return(0); - } - - /** - * Write a LABELSST record or a LABEL record. Which one depends on BIFF version - * - * @param int $row Row index (0-based) - * @param int $col Column index (0-based) - * @param string $str The string - * @param int $xfIndex Index to XF record - */ - private function _writeString($row, $col, $str, $xfIndex) - { - $this->_writeLabelSst($row, $col, $str, $xfIndex); - } - - /** - * Write a LABELSST record or a LABEL record. Which one depends on BIFF version - * It differs from _writeString by the writing of rich text strings. - * @param int $row Row index (0-based) - * @param int $col Column index (0-based) - * @param string $str The string - * @param mixed $xfIndex The XF format index for the cell - * @param array $arrcRun Index to Font record and characters beginning - */ - private function _writeRichTextString($row, $col, $str, $xfIndex, $arrcRun){ - $record = 0x00FD; // Record identifier - $length = 0x000A; // Bytes to follow - $str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($str, $arrcRun); - - /* check if string is already present */ - if (!isset($this->_str_table[$str])) { - $this->_str_table[$str] = $this->_str_unique++; - } - $this->_str_total++; - - $header = pack('vv', $record, $length); - $data = pack('vvvV', $row, $col, $xfIndex, $this->_str_table[$str]); - $this->_append($header.$data); - } - - /** - * Write a string to the specified row and column (zero indexed). - * NOTE: there is an Excel 5 defined limit of 255 characters. - * $format is optional. - * Returns 0 : normal termination - * -2 : row or column out of range - * -3 : long string truncated to 255 chars - * - * @access public - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $str The string to write - * @param mixed $xfIndex The XF format index for the cell - * @return integer - */ - private function _writeLabel($row, $col, $str, $xfIndex) - { - $strlen = strlen($str); - $record = 0x0204; // Record identifier - $length = 0x0008 + $strlen; // Bytes to follow - - $str_error = 0; - - if ($strlen > $this->_xls_strmax) { // LABEL must be < 255 chars - $str = substr($str, 0, $this->_xls_strmax); - $length = 0x0008 + $this->_xls_strmax; - $strlen = $this->_xls_strmax; - $str_error = -3; - } - - $header = pack("vv", $record, $length); - $data = pack("vvvv", $row, $col, $xfIndex, $strlen); - $this->_append($header . $data . $str); - return($str_error); - } - - /** - * Write a string to the specified row and column (zero indexed). - * This is the BIFF8 version (no 255 chars limit). - * $format is optional. - * Returns 0 : normal termination - * -2 : row or column out of range - * -3 : long string truncated to 255 chars - * - * @access public - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $str The string to write - * @param mixed $xfIndex The XF format index for the cell - * @return integer - */ - private function _writeLabelSst($row, $col, $str, $xfIndex) - { - $record = 0x00FD; // Record identifier - $length = 0x000A; // Bytes to follow - - $str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($str); - - /* check if string is already present */ - if (!isset($this->_str_table[$str])) { - $this->_str_table[$str] = $this->_str_unique++; - } - $this->_str_total++; - - $header = pack('vv', $record, $length); - $data = pack('vvvV', $row, $col, $xfIndex, $this->_str_table[$str]); - $this->_append($header.$data); - } - - /** - * Writes a note associated with the cell given by the row and column. - * NOTE records don't have a length limit. - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $note The note to write - */ - private function _writeNote($row, $col, $note) - { - $note_length = strlen($note); - $record = 0x001C; // Record identifier - $max_length = 2048; // Maximun length for a NOTE record - - // Length for this record is no more than 2048 + 6 - $length = 0x0006 + min($note_length, 2048); - $header = pack("vv", $record, $length); - $data = pack("vvv", $row, $col, $note_length); - $this->_append($header . $data . substr($note, 0, 2048)); - - for ($i = $max_length; $i < $note_length; $i += $max_length) { - $chunk = substr($note, $i, $max_length); - $length = 0x0006 + strlen($chunk); - $header = pack("vv", $record, $length); - $data = pack("vvv", -1, 0, strlen($chunk)); - $this->_append($header.$data.$chunk); - } - return(0); - } - - /** - * Write a blank cell to the specified row and column (zero indexed). - * A blank cell is used to specify formatting without adding a string - * or a number. - * - * A blank cell without a format serves no purpose. Therefore, we don't write - * a BLANK record unless a format is specified. - * - * Returns 0 : normal termination (including no format) - * -1 : insufficient number of arguments - * -2 : row or column out of range - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param mixed $xfIndex The XF format index - */ - function _writeBlank($row, $col, $xfIndex) - { - $record = 0x0201; // Record identifier - $length = 0x0006; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vvv", $row, $col, $xfIndex); - $this->_append($header . $data); - return 0; - } - - /** - * Write a boolean or an error type to the specified row and column (zero indexed) - * - * @param int $row Row index (0-based) - * @param int $col Column index (0-based) - * @param int $value - * @param boolean $isError Error or Boolean? - * @param int $xfIndex - */ - private function _writeBoolErr($row, $col, $value, $isError, $xfIndex) - { - $record = 0x0205; - $length = 8; - - $header = pack("vv", $record, $length); - $data = pack("vvvCC", $row, $col, $xfIndex, $value, $isError); - $this->_append($header . $data); - return 0; - } - - /** - * Write a formula to the specified row and column (zero indexed). - * The textual representation of the formula is passed to the parser in - * Parser.php which returns a packed binary string. - * - * Returns 0 : normal termination - * -1 : formula errors (bad formula) - * -2 : row or column out of range - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $formula The formula text string - * @param mixed $xfIndex The XF format index - * @param mixed $calculatedValue Calculated value - * @return integer - */ - private function _writeFormula($row, $col, $formula, $xfIndex, $calculatedValue) - { - $record = 0x0006; // Record identifier - - // Initialize possible additional value for STRING record that should be written after the FORMULA record? - $stringValue = null; - - // calculated value - if (isset($calculatedValue)) { - // Since we can't yet get the data type of the calculated value, - // we use best effort to determine data type - if (is_bool($calculatedValue)) { - // Boolean value - $num = pack('CCCvCv', 0x01, 0x00, (int)$calculatedValue, 0x00, 0x00, 0xFFFF); - } elseif (is_int($calculatedValue) || is_float($calculatedValue)) { - // Numeric value - $num = pack('d', $calculatedValue); - } elseif (is_string($calculatedValue)) { - if (array_key_exists($calculatedValue, PHPExcel_Cell_DataType::getErrorCodes())) { - // Error value - $num = pack('CCCvCv', 0x02, 0x00, self::_mapErrorCode($calculatedValue), 0x00, 0x00, 0xFFFF); - } elseif ($calculatedValue === '') { - // Empty string (and BIFF8) - $num = pack('CCCvCv', 0x03, 0x00, 0x00, 0x00, 0x00, 0xFFFF); - } else { - // Non-empty string value (or empty string BIFF5) - $stringValue = $calculatedValue; - $num = pack('CCCvCv', 0x00, 0x00, 0x00, 0x00, 0x00, 0xFFFF); - } - } else { - // We are really not supposed to reach here - $num = pack('d', 0x00); - } - } else { - $num = pack('d', 0x00); - } - - $grbit = 0x03; // Option flags - $unknown = 0x0000; // Must be zero - - // Strip the '=' or '@' sign at the beginning of the formula string - if ($formula{0} == '=') { - $formula = substr($formula,1); - } else { - // Error handling - $this->_writeString($row, $col, 'Unrecognised character for formula'); - return -1; - } - - // Parse the formula using the parser in Parser.php - try { - $error = $this->_parser->parse($formula); - $formula = $this->_parser->toReversePolish(); - - $formlen = strlen($formula); // Length of the binary string - $length = 0x16 + $formlen; // Length of the record data - - $header = pack("vv", $record, $length); - - $data = pack("vvv", $row, $col, $xfIndex) - . $num - . pack("vVv", $grbit, $unknown, $formlen); - $this->_append($header . $data . $formula); - - // Append also a STRING record if necessary - if ($stringValue !== null) { - $this->_writeStringRecord($stringValue); - } - - return 0; - - } catch (PHPExcel_Exception $e) { - // do nothing - } - - } - - /** - * Write a STRING record. This - * - * @param string $stringValue - */ - private function _writeStringRecord($stringValue) - { - $record = 0x0207; // Record identifier - $data = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($stringValue); - - $length = strlen($data); - $header = pack('vv', $record, $length); - - $this->_append($header . $data); - } - - /** - * Write a hyperlink. - * This is comprised of two elements: the visible label and - * the invisible link. The visible label is the same as the link unless an - * alternative string is specified. The label is written using the - * _writeString() method. Therefore the 255 characters string limit applies. - * $string and $format are optional. - * - * The hyperlink can be to a http, ftp, mail, internal sheet (not yet), or external - * directory url. - * - * Returns 0 : normal termination - * -2 : row or column out of range - * -3 : long string truncated to 255 chars - * - * @param integer $row Row - * @param integer $col Column - * @param string $url URL string - * @return integer - */ - private function _writeUrl($row, $col, $url) - { - // Add start row and col to arg list - return($this->_writeUrlRange($row, $col, $row, $col, $url)); - } - - /** - * This is the more general form of _writeUrl(). It allows a hyperlink to be - * written to a range of cells. This function also decides the type of hyperlink - * to be written. These are either, Web (http, ftp, mailto), Internal - * (Sheet1!A1) or external ('c:\temp\foo.xls#Sheet1!A1'). - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlRange($row1, $col1, $row2, $col2, $url) - { - // Check for internal/external sheet links or default to web link - if (preg_match('[^internal:]', $url)) { - return($this->_writeUrlInternal($row1, $col1, $row2, $col2, $url)); - } - if (preg_match('[^external:]', $url)) { - return($this->_writeUrlExternal($row1, $col1, $row2, $col2, $url)); - } - return($this->_writeUrlWeb($row1, $col1, $row2, $col2, $url)); - } - - /** - * Used to write http, ftp and mailto hyperlinks. - * The link type ($options) is 0x03 is the same as absolute dir ref without - * sheet. However it is differentiated by the $unknown2 data stream. - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlWeb($row1, $col1, $row2, $col2, $url) - { - $record = 0x01B8; // Record identifier - $length = 0x00000; // Bytes to follow - - // Pack the undocumented parts of the hyperlink stream - $unknown1 = pack("H*", "D0C9EA79F9BACE118C8200AA004BA90B02000000"); - $unknown2 = pack("H*", "E0C9EA79F9BACE118C8200AA004BA90B"); - - // Pack the option flags - $options = pack("V", 0x03); - - // Convert URL to a null terminated wchar string - $url = join("\0", preg_split("''", $url, -1, PREG_SPLIT_NO_EMPTY)); - $url = $url . "\0\0\0"; - - // Pack the length of the URL - $url_len = pack("V", strlen($url)); - - // Calculate the data length - $length = 0x34 + strlen($url); - - // Pack the header data - $header = pack("vv", $record, $length); - $data = pack("vvvv", $row1, $row2, $col1, $col2); - - // Write the packed data - $this->_append($header . $data . - $unknown1 . $options . - $unknown2 . $url_len . $url); - return 0; - } - - /** - * Used to write internal reference hyperlinks such as "Sheet1!A1". - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlInternal($row1, $col1, $row2, $col2, $url) - { - $record = 0x01B8; // Record identifier - $length = 0x00000; // Bytes to follow - - // Strip URL type - $url = preg_replace('/^internal:/', '', $url); - - // Pack the undocumented parts of the hyperlink stream - $unknown1 = pack("H*", "D0C9EA79F9BACE118C8200AA004BA90B02000000"); - - // Pack the option flags - $options = pack("V", 0x08); - - // Convert the URL type and to a null terminated wchar string - $url .= "\0"; - - // character count - $url_len = PHPExcel_Shared_String::CountCharacters($url); - $url_len = pack('V', $url_len); - - $url = PHPExcel_Shared_String::ConvertEncoding($url, 'UTF-16LE', 'UTF-8'); - - // Calculate the data length - $length = 0x24 + strlen($url); - - // Pack the header data - $header = pack("vv", $record, $length); - $data = pack("vvvv", $row1, $row2, $col1, $col2); - - // Write the packed data - $this->_append($header . $data . - $unknown1 . $options . - $url_len . $url); - return 0; - } - - /** - * Write links to external directory names such as 'c:\foo.xls', - * c:\foo.xls#Sheet1!A1', '../../foo.xls'. and '../../foo.xls#Sheet1!A1'. - * - * Note: Excel writes some relative links with the $dir_long string. We ignore - * these cases for the sake of simpler code. - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlExternal($row1, $col1, $row2, $col2, $url) - { - // Network drives are different. We will handle them separately - // MS/Novell network drives and shares start with \\ - if (preg_match('[^external:\\\\]', $url)) { - return; //($this->_writeUrlExternal_net($row1, $col1, $row2, $col2, $url, $str, $format)); - } - - $record = 0x01B8; // Record identifier - $length = 0x00000; // Bytes to follow - - // Strip URL type and change Unix dir separator to Dos style (if needed) - // - $url = preg_replace('/^external:/', '', $url); - $url = preg_replace('/\//', "\\", $url); - - // Determine if the link is relative or absolute: - // relative if link contains no dir separator, "somefile.xls" - // relative if link starts with up-dir, "..\..\somefile.xls" - // otherwise, absolute - - $absolute = 0x00; // relative path - if ( preg_match('/^[A-Z]:/', $url) ) { - $absolute = 0x02; // absolute path on Windows, e.g. C:\... - } - $link_type = 0x01 | $absolute; - - // Determine if the link contains a sheet reference and change some of the - // parameters accordingly. - // Split the dir name and sheet name (if it exists) - $dir_long = $url; - if (preg_match("/\#/", $url)) { - $link_type |= 0x08; - } - - - // Pack the link type - $link_type = pack("V", $link_type); - - // Calculate the up-level dir count e.g.. (..\..\..\ == 3) - $up_count = preg_match_all("/\.\.\\\/", $dir_long, $useless); - $up_count = pack("v", $up_count); - - // Store the short dos dir name (null terminated) - $dir_short = preg_replace("/\.\.\\\/", '', $dir_long) . "\0"; - - // Store the long dir name as a wchar string (non-null terminated) - $dir_long = $dir_long . "\0"; - - // Pack the lengths of the dir strings - $dir_short_len = pack("V", strlen($dir_short) ); - $dir_long_len = pack("V", strlen($dir_long) ); - $stream_len = pack("V", 0);//strlen($dir_long) + 0x06); - - // Pack the undocumented parts of the hyperlink stream - $unknown1 = pack("H*",'D0C9EA79F9BACE118C8200AA004BA90B02000000' ); - $unknown2 = pack("H*",'0303000000000000C000000000000046' ); - $unknown3 = pack("H*",'FFFFADDE000000000000000000000000000000000000000'); - $unknown4 = pack("v", 0x03 ); - - // Pack the main data stream - $data = pack("vvvv", $row1, $row2, $col1, $col2) . - $unknown1 . - $link_type . - $unknown2 . - $up_count . - $dir_short_len. - $dir_short . - $unknown3 . - $stream_len ;/*. - $dir_long_len . - $unknown4 . - $dir_long . - $sheet_len . - $sheet ;*/ - - // Pack the header data - $length = strlen($data); - $header = pack("vv", $record, $length); - - // Write the packed data - $this->_append($header. $data); - return 0; - } - - /** - * This method is used to set the height and format for a row. - * - * @param integer $row The row to set - * @param integer $height Height we are giving to the row. - * Use null to set XF without setting height - * @param integer $xfIndex The optional cell style Xf index to apply to the columns - * @param bool $hidden The optional hidden attribute - * @param integer $level The optional outline level for row, in range [0,7] - */ - private function _writeRow($row, $height, $xfIndex, $hidden = false, $level = 0) - { - $record = 0x0208; // Record identifier - $length = 0x0010; // Number of bytes to follow - - $colMic = 0x0000; // First defined column - $colMac = 0x0000; // Last defined column - $irwMac = 0x0000; // Used by Excel to optimise loading - $reserved = 0x0000; // Reserved - $grbit = 0x0000; // Option flags - $ixfe = $xfIndex; - - if ( $height < 0 ){ - $height = null; - } - - // Use _writeRow($row, null, $XF) to set XF format without setting height - if ($height != null) { - $miyRw = $height * 20; // row height - } else { - $miyRw = 0xff; // default row height is 256 - } - - // Set the options flags. fUnsynced is used to show that the font and row - // heights are not compatible. This is usually the case for WriteExcel. - // The collapsed flag 0x10 doesn't seem to be used to indicate that a row - // is collapsed. Instead it is used to indicate that the previous row is - // collapsed. The zero height flag, 0x20, is used to collapse a row. - - $grbit |= $level; - if ($hidden) { - $grbit |= 0x0030; - } - if ($height !== null) { - $grbit |= 0x0040; // fUnsynced - } - if ($xfIndex !== 0xF) { - $grbit |= 0x0080; - } - $grbit |= 0x0100; - - $header = pack("vv", $record, $length); - $data = pack("vvvvvvvv", $row, $colMic, $colMac, $miyRw, - $irwMac,$reserved, $grbit, $ixfe); - $this->_append($header.$data); - } - - /** - * Writes Excel DIMENSIONS to define the area in which there is data. - */ - private function _writeDimensions() - { - $record = 0x0200; // Record identifier - - $length = 0x000E; - $data = pack('VVvvv' - , $this->_firstRowIndex - , $this->_lastRowIndex + 1 - , $this->_firstColumnIndex - , $this->_lastColumnIndex + 1 - , 0x0000 // reserved - ); - - $header = pack("vv", $record, $length); - $this->_append($header.$data); - } - - /** - * Write BIFF record Window2. - */ - private function _writeWindow2() - { - $record = 0x023E; // Record identifier - $length = 0x0012; - - $grbit = 0x00B6; // Option flags - $rwTop = 0x0000; // Top row visible in window - $colLeft = 0x0000; // Leftmost column visible in window - - - // The options flags that comprise $grbit - $fDspFmla = 0; // 0 - bit - $fDspGrid = $this->_phpSheet->getShowGridlines() ? 1 : 0; // 1 - $fDspRwCol = $this->_phpSheet->getShowRowColHeaders() ? 1 : 0; // 2 - $fFrozen = $this->_phpSheet->getFreezePane() ? 1 : 0; // 3 - $fDspZeros = 1; // 4 - $fDefaultHdr = 1; // 5 - $fArabic = $this->_phpSheet->getRightToLeft() ? 1 : 0; // 6 - $fDspGuts = $this->_outline_on; // 7 - $fFrozenNoSplit = 0; // 0 - bit - // no support in PHPExcel for selected sheet, therefore sheet is only selected if it is the active sheet - $fSelected = ($this->_phpSheet === $this->_phpSheet->getParent()->getActiveSheet()) ? 1 : 0; - $fPaged = 1; // 2 - $fPageBreakPreview = $this->_phpSheet->getSheetView()->getView() === PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_BREAK_PREVIEW; - - $grbit = $fDspFmla; - $grbit |= $fDspGrid << 1; - $grbit |= $fDspRwCol << 2; - $grbit |= $fFrozen << 3; - $grbit |= $fDspZeros << 4; - $grbit |= $fDefaultHdr << 5; - $grbit |= $fArabic << 6; - $grbit |= $fDspGuts << 7; - $grbit |= $fFrozenNoSplit << 8; - $grbit |= $fSelected << 9; - $grbit |= $fPaged << 10; - $grbit |= $fPageBreakPreview << 11; - - $header = pack("vv", $record, $length); - $data = pack("vvv", $grbit, $rwTop, $colLeft); - - // FIXME !!! - $rgbHdr = 0x0040; // Row/column heading and gridline color index - $zoom_factor_page_break = ($fPageBreakPreview? $this->_phpSheet->getSheetView()->getZoomScale() : 0x0000); - $zoom_factor_normal = $this->_phpSheet->getSheetView()->getZoomScaleNormal(); - - $data .= pack("vvvvV", $rgbHdr, 0x0000, $zoom_factor_page_break, $zoom_factor_normal, 0x00000000); - - $this->_append($header.$data); - } - - /** - * Write BIFF record DEFAULTROWHEIGHT. - */ - private function _writeDefaultRowHeight() - { - $defaultRowHeight = $this->_phpSheet->getDefaultRowDimension()->getRowHeight(); - - if ($defaultRowHeight < 0) { - return; - } - - // convert to twips - $defaultRowHeight = (int) 20 * $defaultRowHeight; - - $record = 0x0225; // Record identifier - $length = 0x0004; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vv", 1, $defaultRowHeight); - $this->_append($header . $data); - } - - /** - * Write BIFF record DEFCOLWIDTH if COLINFO records are in use. - */ - private function _writeDefcol() - { - $defaultColWidth = 8; - - $record = 0x0055; // Record identifier - $length = 0x0002; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $defaultColWidth); - $this->_append($header . $data); - } - - /** - * Write BIFF record COLINFO to define column widths - * - * Note: The SDK says the record length is 0x0B but Excel writes a 0x0C - * length record. - * - * @param array $col_array This is the only parameter received and is composed of the following: - * 0 => First formatted column, - * 1 => Last formatted column, - * 2 => Col width (8.43 is Excel default), - * 3 => The optional XF format of the column, - * 4 => Option flags. - * 5 => Optional outline level - */ - private function _writeColinfo($col_array) - { - if (isset($col_array[0])) { - $colFirst = $col_array[0]; - } - if (isset($col_array[1])) { - $colLast = $col_array[1]; - } - if (isset($col_array[2])) { - $coldx = $col_array[2]; - } else { - $coldx = 8.43; - } - if (isset($col_array[3])) { - $xfIndex = $col_array[3]; - } else { - $xfIndex = 15; - } - if (isset($col_array[4])) { - $grbit = $col_array[4]; - } else { - $grbit = 0; - } - if (isset($col_array[5])) { - $level = $col_array[5]; - } else { - $level = 0; - } - $record = 0x007D; // Record identifier - $length = 0x000C; // Number of bytes to follow - - $coldx *= 256; // Convert to units of 1/256 of a char - - $ixfe = $xfIndex; - $reserved = 0x0000; // Reserved - - $level = max(0, min($level, 7)); - $grbit |= $level << 8; - - $header = pack("vv", $record, $length); - $data = pack("vvvvvv", $colFirst, $colLast, $coldx, - $ixfe, $grbit, $reserved); - $this->_append($header.$data); - } - - /** - * Write BIFF record SELECTION. - */ - private function _writeSelection() - { - // look up the selected cell range - $selectedCells = $this->_phpSheet->getSelectedCells(); - $selectedCells = PHPExcel_Cell::splitRange($this->_phpSheet->getSelectedCells()); - $selectedCells = $selectedCells[0]; - if (count($selectedCells) == 2) { - list($first, $last) = $selectedCells; - } else { - $first = $selectedCells[0]; - $last = $selectedCells[0]; - } - - list($colFirst, $rwFirst) = PHPExcel_Cell::coordinateFromString($first); - $colFirst = PHPExcel_Cell::columnIndexFromString($colFirst) - 1; // base 0 column index - --$rwFirst; // base 0 row index - - list($colLast, $rwLast) = PHPExcel_Cell::coordinateFromString($last); - $colLast = PHPExcel_Cell::columnIndexFromString($colLast) - 1; // base 0 column index - --$rwLast; // base 0 row index - - // make sure we are not out of bounds - $colFirst = min($colFirst, 255); - $colLast = min($colLast, 255); - - $rwFirst = min($rwFirst, 65535); - $rwLast = min($rwLast, 65535); - - $record = 0x001D; // Record identifier - $length = 0x000F; // Number of bytes to follow - - $pnn = $this->_active_pane; // Pane position - $rwAct = $rwFirst; // Active row - $colAct = $colFirst; // Active column - $irefAct = 0; // Active cell ref - $cref = 1; // Number of refs - - if (!isset($rwLast)) { - $rwLast = $rwFirst; // Last row in reference - } - if (!isset($colLast)) { - $colLast = $colFirst; // Last col in reference - } - - // Swap last row/col for first row/col as necessary - if ($rwFirst > $rwLast) { - list($rwFirst, $rwLast) = array($rwLast, $rwFirst); - } - - if ($colFirst > $colLast) { - list($colFirst, $colLast) = array($colLast, $colFirst); - } - - $header = pack("vv", $record, $length); - $data = pack("CvvvvvvCC", $pnn, $rwAct, $colAct, - $irefAct, $cref, - $rwFirst, $rwLast, - $colFirst, $colLast); - $this->_append($header . $data); - } - - /** - * Store the MERGEDCELLS records for all ranges of merged cells - */ - private function _writeMergedCells() - { - $mergeCells = $this->_phpSheet->getMergeCells(); - $countMergeCells = count($mergeCells); - - if ($countMergeCells == 0) { - return; - } - - // maximum allowed number of merged cells per record - $maxCountMergeCellsPerRecord = 1027; - - // record identifier - $record = 0x00E5; - - // counter for total number of merged cells treated so far by the writer - $i = 0; - - // counter for number of merged cells written in record currently being written - $j = 0; - - // initialize record data - $recordData = ''; - - // loop through the merged cells - foreach ($mergeCells as $mergeCell) { - ++$i; - ++$j; - - // extract the row and column indexes - $range = PHPExcel_Cell::splitRange($mergeCell); - list($first, $last) = $range[0]; - list($firstColumn, $firstRow) = PHPExcel_Cell::coordinateFromString($first); - list($lastColumn, $lastRow) = PHPExcel_Cell::coordinateFromString($last); - - $recordData .= pack('vvvv', $firstRow - 1, $lastRow - 1, PHPExcel_Cell::columnIndexFromString($firstColumn) - 1, PHPExcel_Cell::columnIndexFromString($lastColumn) - 1); - - // flush record if we have reached limit for number of merged cells, or reached final merged cell - if ($j == $maxCountMergeCellsPerRecord or $i == $countMergeCells) { - $recordData = pack('v', $j) . $recordData; - $length = strlen($recordData); - $header = pack('vv', $record, $length); - $this->_append($header . $recordData); - - // initialize for next record, if any - $recordData = ''; - $j = 0; - } - } - } - - /** - * Write SHEETLAYOUT record - */ - private function _writeSheetLayout() - { - if (!$this->_phpSheet->isTabColorSet()) { - return; - } - - $recordData = pack( - 'vvVVVvv' - , 0x0862 - , 0x0000 // unused - , 0x00000000 // unused - , 0x00000000 // unused - , 0x00000014 // size of record data - , $this->_colors[$this->_phpSheet->getTabColor()->getRGB()] // color index - , 0x0000 // unused - ); - - $length = strlen($recordData); - - $record = 0x0862; // Record identifier - $header = pack('vv', $record, $length); - $this->_append($header . $recordData); - } - - /** - * Write SHEETPROTECTION - */ - private function _writeSheetProtection() - { - // record identifier - $record = 0x0867; - - // prepare options - $options = (int) !$this->_phpSheet->getProtection()->getObjects() - | (int) !$this->_phpSheet->getProtection()->getScenarios() << 1 - | (int) !$this->_phpSheet->getProtection()->getFormatCells() << 2 - | (int) !$this->_phpSheet->getProtection()->getFormatColumns() << 3 - | (int) !$this->_phpSheet->getProtection()->getFormatRows() << 4 - | (int) !$this->_phpSheet->getProtection()->getInsertColumns() << 5 - | (int) !$this->_phpSheet->getProtection()->getInsertRows() << 6 - | (int) !$this->_phpSheet->getProtection()->getInsertHyperlinks() << 7 - | (int) !$this->_phpSheet->getProtection()->getDeleteColumns() << 8 - | (int) !$this->_phpSheet->getProtection()->getDeleteRows() << 9 - | (int) !$this->_phpSheet->getProtection()->getSelectLockedCells() << 10 - | (int) !$this->_phpSheet->getProtection()->getSort() << 11 - | (int) !$this->_phpSheet->getProtection()->getAutoFilter() << 12 - | (int) !$this->_phpSheet->getProtection()->getPivotTables() << 13 - | (int) !$this->_phpSheet->getProtection()->getSelectUnlockedCells() << 14 ; - - // record data - $recordData = pack( - 'vVVCVVvv' - , 0x0867 // repeated record identifier - , 0x0000 // not used - , 0x0000 // not used - , 0x00 // not used - , 0x01000200 // unknown data - , 0xFFFFFFFF // unknown data - , $options // options - , 0x0000 // not used - ); - - $length = strlen($recordData); - $header = pack('vv', $record, $length); - - $this->_append($header . $recordData); - } - - /** - * Write BIFF record RANGEPROTECTION - * - * Openoffice.org's Documentaion of the Microsoft Excel File Format uses term RANGEPROTECTION for these records - * Microsoft Office Excel 97-2007 Binary File Format Specification uses term FEAT for these records - */ - private function _writeRangeProtection() - { - foreach ($this->_phpSheet->getProtectedCells() as $range => $password) { - // number of ranges, e.g. 'A1:B3 C20:D25' - $cellRanges = explode(' ', $range); - $cref = count($cellRanges); - - $recordData = pack( - 'vvVVvCVvVv', - 0x0868, - 0x00, - 0x0000, - 0x0000, - 0x02, - 0x0, - 0x0000, - $cref, - 0x0000, - 0x00 - ); - - foreach ($cellRanges as $cellRange) { - $recordData .= $this->_writeBIFF8CellRangeAddressFixed($cellRange); - } - - // the rgbFeat structure - $recordData .= pack( - 'VV', - 0x0000, - hexdec($password) - ); - - $recordData .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong('p' . md5($recordData)); - - $length = strlen($recordData); - - $record = 0x0868; // Record identifier - $header = pack("vv", $record, $length); - $this->_append($header . $recordData); - } - } - - /** - * Write BIFF record EXTERNCOUNT to indicate the number of external sheet - * references in a worksheet. - * - * Excel only stores references to external sheets that are used in formulas. - * For simplicity we store references to all the sheets in the workbook - * regardless of whether they are used or not. This reduces the overall - * complexity and eliminates the need for a two way dialogue between the formula - * parser the worksheet objects. - * - * @param integer $count The number of external sheet references in this worksheet - */ - private function _writeExterncount($count) - { - $record = 0x0016; // Record identifier - $length = 0x0002; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $count); - $this->_append($header . $data); - } - - /** - * Writes the Excel BIFF EXTERNSHEET record. These references are used by - * formulas. A formula references a sheet name via an index. Since we store a - * reference to all of the external worksheets the EXTERNSHEET index is the same - * as the worksheet index. - * - * @param string $sheetname The name of a external worksheet - */ - private function _writeExternsheet($sheetname) - { - $record = 0x0017; // Record identifier - - // References to the current sheet are encoded differently to references to - // external sheets. - // - if ($this->_phpSheet->getTitle() == $sheetname) { - $sheetname = ''; - $length = 0x02; // The following 2 bytes - $cch = 1; // The following byte - $rgch = 0x02; // Self reference - } else { - $length = 0x02 + strlen($sheetname); - $cch = strlen($sheetname); - $rgch = 0x03; // Reference to a sheet in the current workbook - } - - $header = pack("vv", $record, $length); - $data = pack("CC", $cch, $rgch); - $this->_append($header . $data . $sheetname); - } - - /** - * Writes the Excel BIFF PANE record. - * The panes can either be frozen or thawed (unfrozen). - * Frozen panes are specified in terms of an integer number of rows and columns. - * Thawed panes are specified in terms of Excel's units for rows and columns. - */ - private function _writePanes() - { - $panes = array(); - if ($freezePane = $this->_phpSheet->getFreezePane()) { - list($column, $row) = PHPExcel_Cell::coordinateFromString($freezePane); - $panes[0] = $row - 1; - $panes[1] = PHPExcel_Cell::columnIndexFromString($column) - 1; - } else { - // thaw panes - return; - } - - $y = isset($panes[0]) ? $panes[0] : null; - $x = isset($panes[1]) ? $panes[1] : null; - $rwTop = isset($panes[2]) ? $panes[2] : null; - $colLeft = isset($panes[3]) ? $panes[3] : null; - if (count($panes) > 4) { // if Active pane was received - $pnnAct = $panes[4]; - } else { - $pnnAct = null; - } - $record = 0x0041; // Record identifier - $length = 0x000A; // Number of bytes to follow - - // Code specific to frozen or thawed panes. - if ($this->_phpSheet->getFreezePane()) { - // Set default values for $rwTop and $colLeft - if (!isset($rwTop)) { - $rwTop = $y; - } - if (!isset($colLeft)) { - $colLeft = $x; - } - } else { - // Set default values for $rwTop and $colLeft - if (!isset($rwTop)) { - $rwTop = 0; - } - if (!isset($colLeft)) { - $colLeft = 0; - } - - // Convert Excel's row and column units to the internal units. - // The default row height is 12.75 - // The default column width is 8.43 - // The following slope and intersection values were interpolated. - // - $y = 20*$y + 255; - $x = 113.879*$x + 390; - } - - - // Determine which pane should be active. There is also the undocumented - // option to override this should it be necessary: may be removed later. - // - if (!isset($pnnAct)) { - if ($x != 0 && $y != 0) { - $pnnAct = 0; // Bottom right - } - if ($x != 0 && $y == 0) { - $pnnAct = 1; // Top right - } - if ($x == 0 && $y != 0) { - $pnnAct = 2; // Bottom left - } - if ($x == 0 && $y == 0) { - $pnnAct = 3; // Top left - } - } - - $this->_active_pane = $pnnAct; // Used in _writeSelection - - $header = pack("vv", $record, $length); - $data = pack("vvvvv", $x, $y, $rwTop, $colLeft, $pnnAct); - $this->_append($header . $data); - } - - /** - * Store the page setup SETUP BIFF record. - */ - private function _writeSetup() - { - $record = 0x00A1; // Record identifier - $length = 0x0022; // Number of bytes to follow - - $iPaperSize = $this->_phpSheet->getPageSetup()->getPaperSize(); // Paper size - - $iScale = $this->_phpSheet->getPageSetup()->getScale() ? - $this->_phpSheet->getPageSetup()->getScale() : 100; // Print scaling factor - - $iPageStart = 0x01; // Starting page number - $iFitWidth = (int) $this->_phpSheet->getPageSetup()->getFitToWidth(); // Fit to number of pages wide - $iFitHeight = (int) $this->_phpSheet->getPageSetup()->getFitToHeight(); // Fit to number of pages high - $grbit = 0x00; // Option flags - $iRes = 0x0258; // Print resolution - $iVRes = 0x0258; // Vertical print resolution - - $numHdr = $this->_phpSheet->getPageMargins()->getHeader(); // Header Margin - - $numFtr = $this->_phpSheet->getPageMargins()->getFooter(); // Footer Margin - $iCopies = 0x01; // Number of copies - - $fLeftToRight = 0x0; // Print over then down - - // Page orientation - $fLandscape = ($this->_phpSheet->getPageSetup()->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? - 0x0 : 0x1; - - $fNoPls = 0x0; // Setup not read from printer - $fNoColor = 0x0; // Print black and white - $fDraft = 0x0; // Print draft quality - $fNotes = 0x0; // Print notes - $fNoOrient = 0x0; // Orientation not set - $fUsePage = 0x0; // Use custom starting page - - $grbit = $fLeftToRight; - $grbit |= $fLandscape << 1; - $grbit |= $fNoPls << 2; - $grbit |= $fNoColor << 3; - $grbit |= $fDraft << 4; - $grbit |= $fNotes << 5; - $grbit |= $fNoOrient << 6; - $grbit |= $fUsePage << 7; - - $numHdr = pack("d", $numHdr); - $numFtr = pack("d", $numFtr); - if (self::getByteOrder()) { // if it's Big Endian - $numHdr = strrev($numHdr); - $numFtr = strrev($numFtr); - } - - $header = pack("vv", $record, $length); - $data1 = pack("vvvvvvvv", $iPaperSize, - $iScale, - $iPageStart, - $iFitWidth, - $iFitHeight, - $grbit, - $iRes, - $iVRes); - $data2 = $numHdr.$numFtr; - $data3 = pack("v", $iCopies); - $this->_append($header . $data1 . $data2 . $data3); - } - - /** - * Store the header caption BIFF record. - */ - private function _writeHeader() - { - $record = 0x0014; // Record identifier - - /* removing for now - // need to fix character count (multibyte!) - if (strlen($this->_phpSheet->getHeaderFooter()->getOddHeader()) <= 255) { - $str = $this->_phpSheet->getHeaderFooter()->getOddHeader(); // header string - } else { - $str = ''; - } - */ - - $recordData = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($this->_phpSheet->getHeaderFooter()->getOddHeader()); - $length = strlen($recordData); - - $header = pack("vv", $record, $length); - - $this->_append($header . $recordData); - } - - /** - * Store the footer caption BIFF record. - */ - private function _writeFooter() - { - $record = 0x0015; // Record identifier - - /* removing for now - // need to fix character count (multibyte!) - if (strlen($this->_phpSheet->getHeaderFooter()->getOddFooter()) <= 255) { - $str = $this->_phpSheet->getHeaderFooter()->getOddFooter(); - } else { - $str = ''; - } - */ - - $recordData = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($this->_phpSheet->getHeaderFooter()->getOddFooter()); - $length = strlen($recordData); - - $header = pack("vv", $record, $length); - - $this->_append($header . $recordData); - } - - /** - * Store the horizontal centering HCENTER BIFF record. - * - * @access private - */ - private function _writeHcenter() - { - $record = 0x0083; // Record identifier - $length = 0x0002; // Bytes to follow - - $fHCenter = $this->_phpSheet->getPageSetup()->getHorizontalCentered() ? 1 : 0; // Horizontal centering - - $header = pack("vv", $record, $length); - $data = pack("v", $fHCenter); - - $this->_append($header.$data); - } - - /** - * Store the vertical centering VCENTER BIFF record. - */ - private function _writeVcenter() - { - $record = 0x0084; // Record identifier - $length = 0x0002; // Bytes to follow - - $fVCenter = $this->_phpSheet->getPageSetup()->getVerticalCentered() ? 1 : 0; // Horizontal centering - - $header = pack("vv", $record, $length); - $data = pack("v", $fVCenter); - $this->_append($header . $data); - } - - /** - * Store the LEFTMARGIN BIFF record. - */ - private function _writeMarginLeft() - { - $record = 0x0026; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getLeft(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Store the RIGHTMARGIN BIFF record. - */ - private function _writeMarginRight() - { - $record = 0x0027; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getRight(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Store the TOPMARGIN BIFF record. - */ - private function _writeMarginTop() - { - $record = 0x0028; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getTop(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Store the BOTTOMMARGIN BIFF record. - */ - private function _writeMarginBottom() - { - $record = 0x0029; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getBottom(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Write the PRINTHEADERS BIFF record. - */ - private function _writePrintHeaders() - { - $record = 0x002a; // Record identifier - $length = 0x0002; // Bytes to follow - - $fPrintRwCol = $this->_print_headers; // Boolean flag - - $header = pack("vv", $record, $length); - $data = pack("v", $fPrintRwCol); - $this->_append($header . $data); - } - - /** - * Write the PRINTGRIDLINES BIFF record. Must be used in conjunction with the - * GRIDSET record. - */ - private function _writePrintGridlines() - { - $record = 0x002b; // Record identifier - $length = 0x0002; // Bytes to follow - - $fPrintGrid = $this->_phpSheet->getPrintGridlines() ? 1 : 0; // Boolean flag - - $header = pack("vv", $record, $length); - $data = pack("v", $fPrintGrid); - $this->_append($header . $data); - } - - /** - * Write the GRIDSET BIFF record. Must be used in conjunction with the - * PRINTGRIDLINES record. - */ - private function _writeGridset() - { - $record = 0x0082; // Record identifier - $length = 0x0002; // Bytes to follow - - $fGridSet = !$this->_phpSheet->getPrintGridlines(); // Boolean flag - - $header = pack("vv", $record, $length); - $data = pack("v", $fGridSet); - $this->_append($header . $data); - } - - /** - * Write the AUTOFILTERINFO BIFF record. This is used to configure the number of autofilter select used in the sheet. - */ - private function _writeAutoFilterInfo(){ - $record = 0x009D; // Record identifier - $length = 0x0002; // Bytes to follow - - $rangeBounds = PHPExcel_Cell::rangeBoundaries($this->_phpSheet->getAutoFilter()->getRange()); - $iNumFilters = 1 + $rangeBounds[1][0] - $rangeBounds[0][0]; - - $header = pack("vv", $record, $length); - $data = pack("v", $iNumFilters); - $this->_append($header . $data); - } - - /** - * Write the GUTS BIFF record. This is used to configure the gutter margins - * where Excel outline symbols are displayed. The visibility of the gutters is - * controlled by a flag in WSBOOL. - * - * @see _writeWsbool() - */ - private function _writeGuts() - { - $record = 0x0080; // Record identifier - $length = 0x0008; // Bytes to follow - - $dxRwGut = 0x0000; // Size of row gutter - $dxColGut = 0x0000; // Size of col gutter - - // determine maximum row outline level - $maxRowOutlineLevel = 0; - foreach ($this->_phpSheet->getRowDimensions() as $rowDimension) { - $maxRowOutlineLevel = max($maxRowOutlineLevel, $rowDimension->getOutlineLevel()); - } - - $col_level = 0; - - // Calculate the maximum column outline level. The equivalent calculation - // for the row outline level is carried out in _writeRow(). - $colcount = count($this->_colinfo); - for ($i = 0; $i < $colcount; ++$i) { - $col_level = max($this->_colinfo[$i][5], $col_level); - } - - // Set the limits for the outline levels (0 <= x <= 7). - $col_level = max(0, min($col_level, 7)); - - // The displayed level is one greater than the max outline levels - if ($maxRowOutlineLevel) { - ++$maxRowOutlineLevel; - } - if ($col_level) { - ++$col_level; - } - - $header = pack("vv", $record, $length); - $data = pack("vvvv", $dxRwGut, $dxColGut, $maxRowOutlineLevel, $col_level); - - $this->_append($header.$data); - } - - /** - * Write the WSBOOL BIFF record, mainly for fit-to-page. Used in conjunction - * with the SETUP record. - */ - private function _writeWsbool() - { - $record = 0x0081; // Record identifier - $length = 0x0002; // Bytes to follow - $grbit = 0x0000; - - // The only option that is of interest is the flag for fit to page. So we - // set all the options in one go. - // - // Set the option flags - $grbit |= 0x0001; // Auto page breaks visible - if ($this->_outline_style) { - $grbit |= 0x0020; // Auto outline styles - } - if ($this->_phpSheet->getShowSummaryBelow()) { - $grbit |= 0x0040; // Outline summary below - } - if ($this->_phpSheet->getShowSummaryRight()) { - $grbit |= 0x0080; // Outline summary right - } - if ($this->_phpSheet->getPageSetup()->getFitToPage()) { - $grbit |= 0x0100; // Page setup fit to page - } - if ($this->_outline_on) { - $grbit |= 0x0400; // Outline symbols displayed - } - - $header = pack("vv", $record, $length); - $data = pack("v", $grbit); - $this->_append($header . $data); - } - - /** - * Write the HORIZONTALPAGEBREAKS and VERTICALPAGEBREAKS BIFF records. - */ - private function _writeBreaks() - { - // initialize - $vbreaks = array(); - $hbreaks = array(); - - foreach ($this->_phpSheet->getBreaks() as $cell => $breakType) { - // Fetch coordinates - $coordinates = PHPExcel_Cell::coordinateFromString($cell); - - // Decide what to do by the type of break - switch ($breakType) { - case PHPExcel_Worksheet::BREAK_COLUMN: - // Add to list of vertical breaks - $vbreaks[] = PHPExcel_Cell::columnIndexFromString($coordinates[0]) - 1; - break; - - case PHPExcel_Worksheet::BREAK_ROW: - // Add to list of horizontal breaks - $hbreaks[] = $coordinates[1]; - break; - - case PHPExcel_Worksheet::BREAK_NONE: - default: - // Nothing to do - break; - } - } - - //horizontal page breaks - if (!empty($hbreaks)) { - - // Sort and filter array of page breaks - sort($hbreaks, SORT_NUMERIC); - if ($hbreaks[0] == 0) { // don't use first break if it's 0 - array_shift($hbreaks); - } - - $record = 0x001b; // Record identifier - $cbrk = count($hbreaks); // Number of page breaks - $length = 2 + 6 * $cbrk; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $cbrk); - - // Append each page break - foreach ($hbreaks as $hbreak) { - $data .= pack("vvv", $hbreak, 0x0000, 0x00ff); - } - - $this->_append($header . $data); - } - - // vertical page breaks - if (!empty($vbreaks)) { - - // 1000 vertical pagebreaks appears to be an internal Excel 5 limit. - // It is slightly higher in Excel 97/200, approx. 1026 - $vbreaks = array_slice($vbreaks, 0, 1000); - - // Sort and filter array of page breaks - sort($vbreaks, SORT_NUMERIC); - if ($vbreaks[0] == 0) { // don't use first break if it's 0 - array_shift($vbreaks); - } - - $record = 0x001a; // Record identifier - $cbrk = count($vbreaks); // Number of page breaks - $length = 2 + 6 * $cbrk; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $cbrk); - - // Append each page break - foreach ($vbreaks as $vbreak) { - $data .= pack("vvv", $vbreak, 0x0000, 0xffff); - } - - $this->_append($header . $data); - } - } - - /** - * Set the Biff PROTECT record to indicate that the worksheet is protected. - */ - private function _writeProtect() - { - // Exit unless sheet protection has been specified - if (!$this->_phpSheet->getProtection()->getSheet()) { - return; - } - - $record = 0x0012; // Record identifier - $length = 0x0002; // Bytes to follow - - $fLock = 1; // Worksheet is protected - - $header = pack("vv", $record, $length); - $data = pack("v", $fLock); - - $this->_append($header.$data); - } - - /** - * Write SCENPROTECT - */ - private function _writeScenProtect() - { - // Exit if sheet protection is not active - if (!$this->_phpSheet->getProtection()->getSheet()) { - return; - } - - // Exit if scenarios are not protected - if (!$this->_phpSheet->getProtection()->getScenarios()) { - return; - } - - $record = 0x00DD; // Record identifier - $length = 0x0002; // Bytes to follow - - $header = pack('vv', $record, $length); - $data = pack('v', 1); - - $this->_append($header . $data); - } - - /** - * Write OBJECTPROTECT - */ - private function _writeObjectProtect() - { - // Exit if sheet protection is not active - if (!$this->_phpSheet->getProtection()->getSheet()) { - return; - } - - // Exit if objects are not protected - if (!$this->_phpSheet->getProtection()->getObjects()) { - return; - } - - $record = 0x0063; // Record identifier - $length = 0x0002; // Bytes to follow - - $header = pack('vv', $record, $length); - $data = pack('v', 1); - - $this->_append($header . $data); - } - - /** - * Write the worksheet PASSWORD record. - */ - private function _writePassword() - { - // Exit unless sheet protection and password have been specified - if (!$this->_phpSheet->getProtection()->getSheet() || !$this->_phpSheet->getProtection()->getPassword()) { - return; - } - - $record = 0x0013; // Record identifier - $length = 0x0002; // Bytes to follow - - $wPassword = hexdec($this->_phpSheet->getProtection()->getPassword()); // Encoded password - - $header = pack("vv", $record, $length); - $data = pack("v", $wPassword); - - $this->_append($header . $data); - } - - /** - * Insert a 24bit bitmap image in a worksheet. - * - * @access public - * @param integer $row The row we are going to insert the bitmap into - * @param integer $col The column we are going to insert the bitmap into - * @param mixed $bitmap The bitmap filename or GD-image resource - * @param integer $x The horizontal position (offset) of the image inside the cell. - * @param integer $y The vertical position (offset) of the image inside the cell. - * @param float $scale_x The horizontal scale - * @param float $scale_y The vertical scale - */ - function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1) - { - $bitmap_array = (is_resource($bitmap) ? $this->_processBitmapGd($bitmap) : $this->_processBitmap($bitmap)); - list($width, $height, $size, $data) = $bitmap_array; //$this->_processBitmap($bitmap); - - // Scale the frame of the image. - $width *= $scale_x; - $height *= $scale_y; - - // Calculate the vertices of the image and write the OBJ record - $this->_positionImage($col, $row, $x, $y, $width, $height); - - // Write the IMDATA record to store the bitmap data - $record = 0x007f; - $length = 8 + $size; - $cf = 0x09; - $env = 0x01; - $lcb = $size; - - $header = pack("vvvvV", $record, $length, $cf, $env, $lcb); - $this->_append($header.$data); - } - - /** - * Calculate the vertices that define the position of the image as required by - * the OBJ record. - * - * +------------+------------+ - * | A | B | - * +-----+------------+------------+ - * | |(x1,y1) | | - * | 1 |(A1)._______|______ | - * | | | | | - * | | | | | - * +-----+----| BITMAP |-----+ - * | | | | | - * | 2 | |______________. | - * | | | (B2)| - * | | | (x2,y2)| - * +---- +------------+------------+ - * - * Example of a bitmap that covers some of the area from cell A1 to cell B2. - * - * Based on the width and height of the bitmap we need to calculate 8 vars: - * $col_start, $row_start, $col_end, $row_end, $x1, $y1, $x2, $y2. - * The width and height of the cells are also variable and have to be taken into - * account. - * The values of $col_start and $row_start are passed in from the calling - * function. The values of $col_end and $row_end are calculated by subtracting - * the width and height of the bitmap from the width and height of the - * underlying cells. - * The vertices are expressed as a percentage of the underlying cell width as - * follows (rhs values are in pixels): - * - * x1 = X / W *1024 - * y1 = Y / H *256 - * x2 = (X-1) / W *1024 - * y2 = (Y-1) / H *256 - * - * Where: X is distance from the left side of the underlying cell - * Y is distance from the top of the underlying cell - * W is the width of the cell - * H is the height of the cell - * The SDK incorrectly states that the height should be expressed as a - * percentage of 1024. - * - * @access private - * @param integer $col_start Col containing upper left corner of object - * @param integer $row_start Row containing top left corner of object - * @param integer $x1 Distance to left side of object - * @param integer $y1 Distance to top of object - * @param integer $width Width of image frame - * @param integer $height Height of image frame - */ - function _positionImage($col_start, $row_start, $x1, $y1, $width, $height) - { - // Initialise end cell to the same as the start cell - $col_end = $col_start; // Col containing lower right corner of object - $row_end = $row_start; // Row containing bottom right corner of object - - // Zero the specified offset if greater than the cell dimensions - if ($x1 >= PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start))) { - $x1 = 0; - } - if ($y1 >= PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_start + 1)) { - $y1 = 0; - } - - $width = $width + $x1 -1; - $height = $height + $y1 -1; - - // Subtract the underlying cell widths to find the end cell of the image - while ($width >= PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end))) { - $width -= PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end)); - ++$col_end; - } - - // Subtract the underlying cell heights to find the end cell of the image - while ($height >= PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1)) { - $height -= PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1); - ++$row_end; - } - - // Bitmap isn't allowed to start or finish in a hidden cell, i.e. a cell - // with zero eight or width. - // - if (PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) == 0) { - return; - } - if (PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) == 0) { - return; - } - if (PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_start + 1) == 0) { - return; - } - if (PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1) == 0) { - return; - } - - // Convert the pixel values to the percentage value expected by Excel - $x1 = $x1 / PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) * 1024; - $y1 = $y1 / PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_start + 1) * 256; - $x2 = $width / PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) * 1024; // Distance to right side of object - $y2 = $height / PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1) * 256; // Distance to bottom of object - - $this->_writeObjPicture($col_start, $x1, - $row_start, $y1, - $col_end, $x2, - $row_end, $y2); - } - - /** - * Store the OBJ record that precedes an IMDATA record. This could be generalise - * to support other Excel objects. - * - * @param integer $colL Column containing upper left corner of object - * @param integer $dxL Distance from left side of cell - * @param integer $rwT Row containing top left corner of object - * @param integer $dyT Distance from top of cell - * @param integer $colR Column containing lower right corner of object - * @param integer $dxR Distance from right of cell - * @param integer $rwB Row containing bottom right corner of object - * @param integer $dyB Distance from bottom of cell - */ - private function _writeObjPicture($colL,$dxL,$rwT,$dyT,$colR,$dxR,$rwB,$dyB) - { - $record = 0x005d; // Record identifier - $length = 0x003c; // Bytes to follow - - $cObj = 0x0001; // Count of objects in file (set to 1) - $OT = 0x0008; // Object type. 8 = Picture - $id = 0x0001; // Object ID - $grbit = 0x0614; // Option flags - - $cbMacro = 0x0000; // Length of FMLA structure - $Reserved1 = 0x0000; // Reserved - $Reserved2 = 0x0000; // Reserved - - $icvBack = 0x09; // Background colour - $icvFore = 0x09; // Foreground colour - $fls = 0x00; // Fill pattern - $fAuto = 0x00; // Automatic fill - $icv = 0x08; // Line colour - $lns = 0xff; // Line style - $lnw = 0x01; // Line weight - $fAutoB = 0x00; // Automatic border - $frs = 0x0000; // Frame style - $cf = 0x0009; // Image format, 9 = bitmap - $Reserved3 = 0x0000; // Reserved - $cbPictFmla = 0x0000; // Length of FMLA structure - $Reserved4 = 0x0000; // Reserved - $grbit2 = 0x0001; // Option flags - $Reserved5 = 0x0000; // Reserved - - - $header = pack("vv", $record, $length); - $data = pack("V", $cObj); - $data .= pack("v", $OT); - $data .= pack("v", $id); - $data .= pack("v", $grbit); - $data .= pack("v", $colL); - $data .= pack("v", $dxL); - $data .= pack("v", $rwT); - $data .= pack("v", $dyT); - $data .= pack("v", $colR); - $data .= pack("v", $dxR); - $data .= pack("v", $rwB); - $data .= pack("v", $dyB); - $data .= pack("v", $cbMacro); - $data .= pack("V", $Reserved1); - $data .= pack("v", $Reserved2); - $data .= pack("C", $icvBack); - $data .= pack("C", $icvFore); - $data .= pack("C", $fls); - $data .= pack("C", $fAuto); - $data .= pack("C", $icv); - $data .= pack("C", $lns); - $data .= pack("C", $lnw); - $data .= pack("C", $fAutoB); - $data .= pack("v", $frs); - $data .= pack("V", $cf); - $data .= pack("v", $Reserved3); - $data .= pack("v", $cbPictFmla); - $data .= pack("v", $Reserved4); - $data .= pack("v", $grbit2); - $data .= pack("V", $Reserved5); - - $this->_append($header . $data); - } - - /** - * Convert a GD-image into the internal format. - * - * @access private - * @param resource $image The image to process - * @return array Array with data and properties of the bitmap - */ - function _processBitmapGd($image) { - $width = imagesx($image); - $height = imagesy($image); - - $data = pack("Vvvvv", 0x000c, $width, $height, 0x01, 0x18); - for ($j=$height; $j--; ) { - for ($i=0; $i < $width; ++$i) { - $color = imagecolorsforindex($image, imagecolorat($image, $i, $j)); - foreach (array("red", "green", "blue") as $key) { - $color[$key] = $color[$key] + round((255 - $color[$key]) * $color["alpha"] / 127); - } - $data .= chr($color["blue"]) . chr($color["green"]) . chr($color["red"]); - } - if (3*$width % 4) { - $data .= str_repeat("\x00", 4 - 3*$width % 4); - } - } - - return array($width, $height, strlen($data), $data); - } - - /** - * Convert a 24 bit bitmap into the modified internal format used by Windows. - * This is described in BITMAPCOREHEADER and BITMAPCOREINFO structures in the - * MSDN library. - * - * @access private - * @param string $bitmap The bitmap to process - * @return array Array with data and properties of the bitmap - */ - function _processBitmap($bitmap) - { - // Open file. - $bmp_fd = @fopen($bitmap,"rb"); - if (!$bmp_fd) { - throw new PHPExcel_Writer_Exception("Couldn't import $bitmap"); - } - - // Slurp the file into a string. - $data = fread($bmp_fd, filesize($bitmap)); - - // Check that the file is big enough to be a bitmap. - if (strlen($data) <= 0x36) { - throw new PHPExcel_Writer_Exception("$bitmap doesn't contain enough data.\n"); - } - - // The first 2 bytes are used to identify the bitmap. - $identity = unpack("A2ident", $data); - if ($identity['ident'] != "BM") { - throw new PHPExcel_Writer_Exception("$bitmap doesn't appear to be a valid bitmap image.\n"); - } - - // Remove bitmap data: ID. - $data = substr($data, 2); - - // Read and remove the bitmap size. This is more reliable than reading - // the data size at offset 0x22. - // - $size_array = unpack("Vsa", substr($data, 0, 4)); - $size = $size_array['sa']; - $data = substr($data, 4); - $size -= 0x36; // Subtract size of bitmap header. - $size += 0x0C; // Add size of BIFF header. - - // Remove bitmap data: reserved, offset, header length. - $data = substr($data, 12); - - // Read and remove the bitmap width and height. Verify the sizes. - $width_and_height = unpack("V2", substr($data, 0, 8)); - $width = $width_and_height[1]; - $height = $width_and_height[2]; - $data = substr($data, 8); - if ($width > 0xFFFF) { - throw new PHPExcel_Writer_Exception("$bitmap: largest image width supported is 65k.\n"); - } - if ($height > 0xFFFF) { - throw new PHPExcel_Writer_Exception("$bitmap: largest image height supported is 65k.\n"); - } - - // Read and remove the bitmap planes and bpp data. Verify them. - $planes_and_bitcount = unpack("v2", substr($data, 0, 4)); - $data = substr($data, 4); - if ($planes_and_bitcount[2] != 24) { // Bitcount - throw new PHPExcel_Writer_Exception("$bitmap isn't a 24bit true color bitmap.\n"); - } - if ($planes_and_bitcount[1] != 1) { - throw new PHPExcel_Writer_Exception("$bitmap: only 1 plane supported in bitmap image.\n"); - } - - // Read and remove the bitmap compression. Verify compression. - $compression = unpack("Vcomp", substr($data, 0, 4)); - $data = substr($data, 4); - - //$compression = 0; - if ($compression['comp'] != 0) { - throw new PHPExcel_Writer_Exception("$bitmap: compression not supported in bitmap image.\n"); - } - - // Remove bitmap data: data size, hres, vres, colours, imp. colours. - $data = substr($data, 20); - - // Add the BITMAPCOREHEADER data - $header = pack("Vvvvv", 0x000c, $width, $height, 0x01, 0x18); - $data = $header . $data; - - return (array($width, $height, $size, $data)); - } - - /** - * Store the window zoom factor. This should be a reduced fraction but for - * simplicity we will store all fractions with a numerator of 100. - */ - private function _writeZoom() - { - // If scale is 100 we don't need to write a record - if ($this->_phpSheet->getSheetView()->getZoomScale() == 100) { - return; - } - - $record = 0x00A0; // Record identifier - $length = 0x0004; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vv", $this->_phpSheet->getSheetView()->getZoomScale(), 100); - $this->_append($header . $data); - } - - /** - * Get Escher object - * - * @return PHPExcel_Shared_Escher - */ - public function getEscher() - { - return $this->_escher; - } - - /** - * Set Escher object - * - * @param PHPExcel_Shared_Escher $pValue - */ - public function setEscher(PHPExcel_Shared_Escher $pValue = null) - { - $this->_escher = $pValue; - } - - /** - * Write MSODRAWING record - */ - private function _writeMsoDrawing() - { - // write the Escher stream if necessary - if (isset($this->_escher)) { - $writer = new PHPExcel_Writer_Excel5_Escher($this->_escher); - $data = $writer->close(); - $spOffsets = $writer->getSpOffsets(); - $spTypes = $writer->getSpTypes(); - // write the neccesary MSODRAWING, OBJ records - - // split the Escher stream - $spOffsets[0] = 0; - $nm = count($spOffsets) - 1; // number of shapes excluding first shape - for ($i = 1; $i <= $nm; ++$i) { - // MSODRAWING record - $record = 0x00EC; // Record identifier - - // chunk of Escher stream for one shape - $dataChunk = substr($data, $spOffsets[$i -1], $spOffsets[$i] - $spOffsets[$i - 1]); - - $length = strlen($dataChunk); - $header = pack("vv", $record, $length); - - $this->_append($header . $dataChunk); - - // OBJ record - $record = 0x005D; // record identifier - $objData = ''; - - // ftCmo - if($spTypes[$i] == 0x00C9){ - // Add ftCmo (common object data) subobject - $objData .= - pack('vvvvvVVV' - , 0x0015 // 0x0015 = ftCmo - , 0x0012 // length of ftCmo data - , 0x0014 // object type, 0x0014 = filter - , $i // object id number, Excel seems to use 1-based index, local for the sheet - , 0x2101 // option flags, 0x2001 is what OpenOffice.org uses - , 0 // reserved - , 0 // reserved - , 0 // reserved - ); - - // Add ftSbs Scroll bar subobject - $objData .= pack('vv', 0x00C, 0x0014); - $objData .= pack('H*', '0000000000000000640001000A00000010000100'); - // Add ftLbsData (List box data) subobject - $objData .= pack('vv', 0x0013, 0x1FEE); - $objData .= pack('H*', '00000000010001030000020008005700'); - } - else { - // Add ftCmo (common object data) subobject - $objData .= - pack('vvvvvVVV' - , 0x0015 // 0x0015 = ftCmo - , 0x0012 // length of ftCmo data - , 0x0008 // object type, 0x0008 = picture - , $i // object id number, Excel seems to use 1-based index, local for the sheet - , 0x6011 // option flags, 0x6011 is what OpenOffice.org uses - , 0 // reserved - , 0 // reserved - , 0 // reserved - ); - } - - // ftEnd - $objData .= - pack('vv' - , 0x0000 // 0x0000 = ftEnd - , 0x0000 // length of ftEnd data - ); - - $length = strlen($objData); - $header = pack('vv', $record, $length); - $this->_append($header . $objData); - } - } - } - - /** - * Store the DATAVALIDATIONS and DATAVALIDATION records. - */ - private function _writeDataValidity() - { - // Datavalidation collection - $dataValidationCollection = $this->_phpSheet->getDataValidationCollection(); - - // Write data validations? - if (!empty($dataValidationCollection)) { - - // DATAVALIDATIONS record - $record = 0x01B2; // Record identifier - $length = 0x0012; // Bytes to follow - - $grbit = 0x0000; // Prompt box at cell, no cached validity data at DV records - $horPos = 0x00000000; // Horizontal position of prompt box, if fixed position - $verPos = 0x00000000; // Vertical position of prompt box, if fixed position - $objId = 0xFFFFFFFF; // Object identifier of drop down arrow object, or -1 if not visible - - $header = pack('vv', $record, $length); - $data = pack('vVVVV', $grbit, $horPos, $verPos, $objId, - count($dataValidationCollection)); - $this->_append($header.$data); - - // DATAVALIDATION records - $record = 0x01BE; // Record identifier - - foreach ($dataValidationCollection as $cellCoordinate => $dataValidation) { - // initialize record data - $data = ''; - - // options - $options = 0x00000000; - - // data type - $type = $dataValidation->getType(); - switch ($type) { - case PHPExcel_Cell_DataValidation::TYPE_NONE: $type = 0x00; break; - case PHPExcel_Cell_DataValidation::TYPE_WHOLE: $type = 0x01; break; - case PHPExcel_Cell_DataValidation::TYPE_DECIMAL: $type = 0x02; break; - case PHPExcel_Cell_DataValidation::TYPE_LIST: $type = 0x03; break; - case PHPExcel_Cell_DataValidation::TYPE_DATE: $type = 0x04; break; - case PHPExcel_Cell_DataValidation::TYPE_TIME: $type = 0x05; break; - case PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH: $type = 0x06; break; - case PHPExcel_Cell_DataValidation::TYPE_CUSTOM: $type = 0x07; break; - } - $options |= $type << 0; - - // error style - $errorStyle = $dataValidation->getType(); - switch ($errorStyle) { - case PHPExcel_Cell_DataValidation::STYLE_STOP: $errorStyle = 0x00; break; - case PHPExcel_Cell_DataValidation::STYLE_WARNING: $errorStyle = 0x01; break; - case PHPExcel_Cell_DataValidation::STYLE_INFORMATION: $errorStyle = 0x02; break; - } - $options |= $errorStyle << 4; - - // explicit formula? - if ($type == 0x03 && preg_match('/^\".*\"$/', $dataValidation->getFormula1())) { - $options |= 0x01 << 7; - } - - // empty cells allowed - $options |= $dataValidation->getAllowBlank() << 8; - - // show drop down - $options |= (!$dataValidation->getShowDropDown()) << 9; - - // show input message - $options |= $dataValidation->getShowInputMessage() << 18; - - // show error message - $options |= $dataValidation->getShowErrorMessage() << 19; - - // condition operator - $operator = $dataValidation->getOperator(); - switch ($operator) { - case PHPExcel_Cell_DataValidation::OPERATOR_BETWEEN: $operator = 0x00 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_NOTBETWEEN: $operator = 0x01 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_EQUAL: $operator = 0x02 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_NOTEQUAL: $operator = 0x03 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHAN: $operator = 0x04 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_LESSTHAN: $operator = 0x05 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHANOREQUAL: $operator = 0x06; break; - case PHPExcel_Cell_DataValidation::OPERATOR_LESSTHANOREQUAL: $operator = 0x07 ; break; - } - $options |= $operator << 20; - - $data = pack('V', $options); - - // prompt title - $promptTitle = $dataValidation->getPromptTitle() !== '' ? - $dataValidation->getPromptTitle() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($promptTitle); - - // error title - $errorTitle = $dataValidation->getErrorTitle() !== '' ? - $dataValidation->getErrorTitle() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($errorTitle); - - // prompt text - $prompt = $dataValidation->getPrompt() !== '' ? - $dataValidation->getPrompt() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($prompt); - - // error text - $error = $dataValidation->getError() !== '' ? - $dataValidation->getError() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($error); - - // formula 1 - try { - $formula1 = $dataValidation->getFormula1(); - if ($type == 0x03) { // list type - $formula1 = str_replace(',', chr(0), $formula1); - } - $this->_parser->parse($formula1); - $formula1 = $this->_parser->toReversePolish(); - $sz1 = strlen($formula1); - - } catch(PHPExcel_Exception $e) { - $sz1 = 0; - $formula1 = ''; - } - $data .= pack('vv', $sz1, 0x0000); - $data .= $formula1; - - // formula 2 - try { - $formula2 = $dataValidation->getFormula2(); - if ($formula2 === '') { - throw new PHPExcel_Writer_Exception('No formula2'); - } - $this->_parser->parse($formula2); - $formula2 = $this->_parser->toReversePolish(); - $sz2 = strlen($formula2); - - } catch(PHPExcel_Exception $e) { - $sz2 = 0; - $formula2 = ''; - } - $data .= pack('vv', $sz2, 0x0000); - $data .= $formula2; - - // cell range address list - $data .= pack('v', 0x0001); - $data .= $this->_writeBIFF8CellRangeAddressFixed($cellCoordinate); - - $length = strlen($data); - $header = pack("vv", $record, $length); - - $this->_append($header . $data); - } - } - } - - /** - * Map Error code - * - * @param string $errorCode - * @return int - */ - private static function _mapErrorCode($errorCode) { - switch ($errorCode) { - case '#NULL!': return 0x00; - case '#DIV/0!': return 0x07; - case '#VALUE!': return 0x0F; - case '#REF!': return 0x17; - case '#NAME?': return 0x1D; - case '#NUM!': return 0x24; - case '#N/A': return 0x2A; - } - - return 0; - } - - /** - * Write PLV Record - */ - private function _writePageLayoutView(){ - $record = 0x088B; // Record identifier - $length = 0x0010; // Bytes to follow - - $rt = 0x088B; // 2 - $grbitFrt = 0x0000; // 2 - $reserved = 0x0000000000000000; // 8 - $wScalvePLV = $this->_phpSheet->getSheetView()->getZoomScale(); // 2 - - // The options flags that comprise $grbit - if($this->_phpSheet->getSheetView()->getView() == PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT){ - $fPageLayoutView = 1; - } else { - $fPageLayoutView = 0; - } - $fRulerVisible = 0; - $fWhitespaceHidden = 0; - - $grbit = $fPageLayoutView; // 2 - $grbit |= $fRulerVisible << 1; - $grbit |= $fWhitespaceHidden << 3; - - $header = pack("vv", $record, $length); - $data = pack("vvVVvv", $rt, $grbitFrt, 0x00000000, 0x00000000, $wScalvePLV, $grbit); - $this->_append($header . $data); - } - - /** - * Write CFRule Record - * @param PHPExcel_Style_Conditional $conditional - */ - private function _writeCFRule(PHPExcel_Style_Conditional $conditional){ - $record = 0x01B1; // Record identifier - - // $type : Type of the CF - // $operatorType : Comparison operator - if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION){ - $type = 0x02; - $operatorType = 0x00; - } else if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS){ - $type = 0x01; - - switch ($conditional->getOperatorType()){ - case PHPExcel_Style_Conditional::OPERATOR_NONE: - $operatorType = 0x00; - break; - case PHPExcel_Style_Conditional::OPERATOR_EQUAL: - $operatorType = 0x03; - break; - case PHPExcel_Style_Conditional::OPERATOR_GREATERTHAN: - $operatorType = 0x05; - break; - case PHPExcel_Style_Conditional::OPERATOR_GREATERTHANOREQUAL: - $operatorType = 0x07; - break; - case PHPExcel_Style_Conditional::OPERATOR_LESSTHAN: - $operatorType = 0x06; - break; - case PHPExcel_Style_Conditional::OPERATOR_LESSTHANOREQUAL: - $operatorType = 0x08; - break; - case PHPExcel_Style_Conditional::OPERATOR_NOTEQUAL: - $operatorType = 0x04; - break; - case PHPExcel_Style_Conditional::OPERATOR_BETWEEN: - $operatorType = 0x01; - break; - // not OPERATOR_NOTBETWEEN 0x02 - } - } - - // $szValue1 : size of the formula data for first value or formula - // $szValue2 : size of the formula data for second value or formula - $arrConditions = $conditional->getConditions(); - $numConditions = sizeof($arrConditions); - if($numConditions == 1){ - $szValue1 = ($arrConditions[0] <= 65535 ? 3 : 0x0000); - $szValue2 = 0x0000; - $operand1 = pack('Cv', 0x1E, $arrConditions[0]); - $operand2 = null; - } else if($numConditions == 2 && ($conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_BETWEEN)){ - $szValue1 = ($arrConditions[0] <= 65535 ? 3 : 0x0000); - $szValue2 = ($arrConditions[1] <= 65535 ? 3 : 0x0000); - $operand1 = pack('Cv', 0x1E, $arrConditions[0]); - $operand2 = pack('Cv', 0x1E, $arrConditions[1]); - } else { - $szValue1 = 0x0000; - $szValue2 = 0x0000; - $operand1 = null; - $operand2 = null; - } - - // $flags : Option flags - // Alignment - $bAlignHz = ($conditional->getStyle()->getAlignment()->getHorizontal() == null ? 1 : 0); - $bAlignVt = ($conditional->getStyle()->getAlignment()->getVertical() == null ? 1 : 0); - $bAlignWrapTx = ($conditional->getStyle()->getAlignment()->getWrapText() == false ? 1 : 0); - $bTxRotation = ($conditional->getStyle()->getAlignment()->getTextRotation() == null ? 1 : 0); - $bIndent = ($conditional->getStyle()->getAlignment()->getIndent() == 0 ? 1 : 0); - $bShrinkToFit = ($conditional->getStyle()->getAlignment()->getShrinkToFit() == false ? 1 : 0); - if($bAlignHz == 0 || $bAlignVt == 0 || $bAlignWrapTx == 0 || $bTxRotation == 0 || $bIndent == 0 || $bShrinkToFit == 0){ - $bFormatAlign = 1; - } else { - $bFormatAlign = 0; - } - // Protection - $bProtLocked = ($conditional->getStyle()->getProtection()->getLocked() == null ? 1 : 0); - $bProtHidden = ($conditional->getStyle()->getProtection()->getHidden() == null ? 1 : 0); - if($bProtLocked == 0 || $bProtHidden == 0){ - $bFormatProt = 1; - } else { - $bFormatProt = 0; - } - // Border - $bBorderLeft = ($conditional->getStyle()->getBorders()->getLeft()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getLeft()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - $bBorderRight = ($conditional->getStyle()->getBorders()->getRight()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getRight()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - $bBorderTop = ($conditional->getStyle()->getBorders()->getTop()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getTop()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - $bBorderBottom = ($conditional->getStyle()->getBorders()->getBottom()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getBottom()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - if($bBorderLeft == 0 || $bBorderRight == 0 || $bBorderTop == 0 || $bBorderBottom == 0){ - $bFormatBorder = 1; - } else { - $bFormatBorder = 0; - } - // Pattern - $bFillStyle = ($conditional->getStyle()->getFill()->getFillType() == null ? 0 : 1); - $bFillColor = ($conditional->getStyle()->getFill()->getStartColor()->getARGB() == null ? 0 : 1); - $bFillColorBg = ($conditional->getStyle()->getFill()->getEndColor()->getARGB() == null ? 0 : 1); - if($bFillStyle == 0 || $bFillColor == 0 || $bFillColorBg == 0){ - $bFormatFill = 1; - } else { - $bFormatFill = 0; - } - // Font - if($conditional->getStyle()->getFont()->getName() != null - || $conditional->getStyle()->getFont()->getSize() != null - || $conditional->getStyle()->getFont()->getBold() != null - || $conditional->getStyle()->getFont()->getItalic() != null - || $conditional->getStyle()->getFont()->getSuperScript() != null - || $conditional->getStyle()->getFont()->getSubScript() != null - || $conditional->getStyle()->getFont()->getUnderline() != null - || $conditional->getStyle()->getFont()->getStrikethrough() != null - || $conditional->getStyle()->getFont()->getColor()->getARGB() != null){ - $bFormatFont = 1; - } else { - $bFormatFont = 0; - } - // Alignment - $flags = 0; - $flags |= (1 == $bAlignHz ? 0x00000001 : 0); - $flags |= (1 == $bAlignVt ? 0x00000002 : 0); - $flags |= (1 == $bAlignWrapTx ? 0x00000004 : 0); - $flags |= (1 == $bTxRotation ? 0x00000008 : 0); - // Justify last line flag - $flags |= (1 == 1 ? 0x00000010 : 0); - $flags |= (1 == $bIndent ? 0x00000020 : 0); - $flags |= (1 == $bShrinkToFit ? 0x00000040 : 0); - // Default - $flags |= (1 == 1 ? 0x00000080 : 0); - // Protection - $flags |= (1 == $bProtLocked ? 0x00000100 : 0); - $flags |= (1 == $bProtHidden ? 0x00000200 : 0); - // Border - $flags |= (1 == $bBorderLeft ? 0x00000400 : 0); - $flags |= (1 == $bBorderRight ? 0x00000800 : 0); - $flags |= (1 == $bBorderTop ? 0x00001000 : 0); - $flags |= (1 == $bBorderBottom ? 0x00002000 : 0); - $flags |= (1 == 1 ? 0x00004000 : 0); // Top left to Bottom right border - $flags |= (1 == 1 ? 0x00008000 : 0); // Bottom left to Top right border - // Pattern - $flags |= (1 == $bFillStyle ? 0x00010000 : 0); - $flags |= (1 == $bFillColor ? 0x00020000 : 0); - $flags |= (1 == $bFillColorBg ? 0x00040000 : 0); - $flags |= (1 == 1 ? 0x00380000 : 0); - // Font - $flags |= (1 == $bFormatFont ? 0x04000000 : 0); - // Alignment : - $flags |= (1 == $bFormatAlign ? 0x08000000 : 0); - // Border - $flags |= (1 == $bFormatBorder ? 0x10000000 : 0); - // Pattern - $flags |= (1 == $bFormatFill ? 0x20000000 : 0); - // Protection - $flags |= (1 == $bFormatProt ? 0x40000000 : 0); - // Text direction - $flags |= (1 == 0 ? 0x80000000 : 0); - - // Data Blocks - if($bFormatFont == 1){ - // Font Name - if($conditional->getStyle()->getFont()->getName() == null){ - $dataBlockFont = pack('VVVVVVVV', 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000); - $dataBlockFont .= pack('VVVVVVVV', 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000); - } else { - $dataBlockFont = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($conditional->getStyle()->getFont()->getName()); - } - // Font Size - if($conditional->getStyle()->getFont()->getSize() == null){ - $dataBlockFont .= pack('V', 20 * 11); - } else { - $dataBlockFont .= pack('V', 20 * $conditional->getStyle()->getFont()->getSize()); - } - // Font Options - $dataBlockFont .= pack('V', 0); - // Font weight - if($conditional->getStyle()->getFont()->getBold() == true){ - $dataBlockFont .= pack('v', 0x02BC); - } else { - $dataBlockFont .= pack('v', 0x0190); - } - // Escapement type - if($conditional->getStyle()->getFont()->getSubScript() == true){ - $dataBlockFont .= pack('v', 0x02); - $fontEscapement = 0; - } else if($conditional->getStyle()->getFont()->getSuperScript() == true){ - $dataBlockFont .= pack('v', 0x01); - $fontEscapement = 0; - } else { - $dataBlockFont .= pack('v', 0x00); - $fontEscapement = 1; - } - // Underline type - switch ($conditional->getStyle()->getFont()->getUnderline()){ - case PHPExcel_Style_Font::UNDERLINE_NONE : $dataBlockFont .= pack('C', 0x00); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_DOUBLE : $dataBlockFont .= pack('C', 0x02); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING : $dataBlockFont .= pack('C', 0x22); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_SINGLE : $dataBlockFont .= pack('C', 0x01); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING : $dataBlockFont .= pack('C', 0x21); $fontUnderline = 0; break; - default : $dataBlockFont .= pack('C', 0x00); $fontUnderline = 1; break; - } - // Not used (3) - $dataBlockFont .= pack('vC', 0x0000, 0x00); - // Font color index - switch ($conditional->getStyle()->getFont()->getColor()->getRGB()) { - case '000000': $colorIdx = 0x08; break; - case 'FFFFFF': $colorIdx = 0x09; break; - case 'FF0000': $colorIdx = 0x0A; break; - case '00FF00': $colorIdx = 0x0B; break; - case '0000FF': $colorIdx = 0x0C; break; - case 'FFFF00': $colorIdx = 0x0D; break; - case 'FF00FF': $colorIdx = 0x0E; break; - case '00FFFF': $colorIdx = 0x0F; break; - case '800000': $colorIdx = 0x10; break; - case '008000': $colorIdx = 0x11; break; - case '000080': $colorIdx = 0x12; break; - case '808000': $colorIdx = 0x13; break; - case '800080': $colorIdx = 0x14; break; - case '008080': $colorIdx = 0x15; break; - case 'C0C0C0': $colorIdx = 0x16; break; - case '808080': $colorIdx = 0x17; break; - case '9999FF': $colorIdx = 0x18; break; - case '993366': $colorIdx = 0x19; break; - case 'FFFFCC': $colorIdx = 0x1A; break; - case 'CCFFFF': $colorIdx = 0x1B; break; - case '660066': $colorIdx = 0x1C; break; - case 'FF8080': $colorIdx = 0x1D; break; - case '0066CC': $colorIdx = 0x1E; break; - case 'CCCCFF': $colorIdx = 0x1F; break; - case '000080': $colorIdx = 0x20; break; - case 'FF00FF': $colorIdx = 0x21; break; - case 'FFFF00': $colorIdx = 0x22; break; - case '00FFFF': $colorIdx = 0x23; break; - case '800080': $colorIdx = 0x24; break; - case '800000': $colorIdx = 0x25; break; - case '008080': $colorIdx = 0x26; break; - case '0000FF': $colorIdx = 0x27; break; - case '00CCFF': $colorIdx = 0x28; break; - case 'CCFFFF': $colorIdx = 0x29; break; - case 'CCFFCC': $colorIdx = 0x2A; break; - case 'FFFF99': $colorIdx = 0x2B; break; - case '99CCFF': $colorIdx = 0x2C; break; - case 'FF99CC': $colorIdx = 0x2D; break; - case 'CC99FF': $colorIdx = 0x2E; break; - case 'FFCC99': $colorIdx = 0x2F; break; - case '3366FF': $colorIdx = 0x30; break; - case '33CCCC': $colorIdx = 0x31; break; - case '99CC00': $colorIdx = 0x32; break; - case 'FFCC00': $colorIdx = 0x33; break; - case 'FF9900': $colorIdx = 0x34; break; - case 'FF6600': $colorIdx = 0x35; break; - case '666699': $colorIdx = 0x36; break; - case '969696': $colorIdx = 0x37; break; - case '003366': $colorIdx = 0x38; break; - case '339966': $colorIdx = 0x39; break; - case '003300': $colorIdx = 0x3A; break; - case '333300': $colorIdx = 0x3B; break; - case '993300': $colorIdx = 0x3C; break; - case '993366': $colorIdx = 0x3D; break; - case '333399': $colorIdx = 0x3E; break; - case '333333': $colorIdx = 0x3F; break; - default: $colorIdx = 0x00; break; - } - $dataBlockFont .= pack('V', $colorIdx); - // Not used (4) - $dataBlockFont .= pack('V', 0x00000000); - // Options flags for modified font attributes - $optionsFlags = 0; - $optionsFlagsBold = ($conditional->getStyle()->getFont()->getBold() == null ? 1 : 0); - $optionsFlags |= (1 == $optionsFlagsBold ? 0x00000002 : 0); - $optionsFlags |= (1 == 1 ? 0x00000008 : 0); - $optionsFlags |= (1 == 1 ? 0x00000010 : 0); - $optionsFlags |= (1 == 0 ? 0x00000020 : 0); - $optionsFlags |= (1 == 1 ? 0x00000080 : 0); - $dataBlockFont .= pack('V', $optionsFlags); - // Escapement type - $dataBlockFont .= pack('V', $fontEscapement); - // Underline type - $dataBlockFont .= pack('V', $fontUnderline); - // Always - $dataBlockFont .= pack('V', 0x00000000); - // Always - $dataBlockFont .= pack('V', 0x00000000); - // Not used (8) - $dataBlockFont .= pack('VV', 0x00000000, 0x00000000); - // Always - $dataBlockFont .= pack('v', 0x0001); - } - if($bFormatAlign == 1){ - $blockAlign = 0; - // Alignment and text break - switch ($conditional->getStyle()->getAlignment()->getHorizontal()){ - case PHPExcel_Style_Alignment::HORIZONTAL_GENERAL : $blockAlign = 0; break; - case PHPExcel_Style_Alignment::HORIZONTAL_LEFT : $blockAlign = 1; break; - case PHPExcel_Style_Alignment::HORIZONTAL_RIGHT : $blockAlign = 3; break; - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER : $blockAlign = 2; break; - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS : $blockAlign = 6; break; - case PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY : $blockAlign = 5; break; - } - if($conditional->getStyle()->getAlignment()->getWrapText() == true){ - $blockAlign |= 1 << 3; - } else { - $blockAlign |= 0 << 3; - } - switch ($conditional->getStyle()->getAlignment()->getVertical()){ - case PHPExcel_Style_Alignment::VERTICAL_BOTTOM : $blockAlign = 2 << 4; break; - case PHPExcel_Style_Alignment::VERTICAL_TOP : $blockAlign = 0 << 4; break; - case PHPExcel_Style_Alignment::VERTICAL_CENTER : $blockAlign = 1 << 4; break; - case PHPExcel_Style_Alignment::VERTICAL_JUSTIFY : $blockAlign = 3 << 4; break; - } - $blockAlign |= 0 << 7; - - // Text rotation angle - $blockRotation = $conditional->getStyle()->getAlignment()->getTextRotation(); - - // Indentation - $blockIndent = $conditional->getStyle()->getAlignment()->getIndent(); - if($conditional->getStyle()->getAlignment()->getShrinkToFit() == true){ - $blockIndent |= 1 << 4; - } else { - $blockIndent |= 0 << 4; - } - $blockIndent |= 0 << 6; - - // Relative indentation - $blockIndentRelative = 255; - - $dataBlockAlign = pack('CCvvv', $blockAlign, $blockRotation, $blockIndent, $blockIndentRelative, 0x0000); - } - if($bFormatBorder == 1){ - $blockLineStyle = 0; - switch ($conditional->getStyle()->getBorders()->getLeft()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D; break; - } - switch ($conditional->getStyle()->getBorders()->getRight()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00 << 4; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01 << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02 << 4; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03 << 4; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04 << 4; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05 << 4; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06 << 4; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07 << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08 << 4; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09 << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A << 4; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C << 4; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D << 4; break; - } - switch ($conditional->getStyle()->getBorders()->getTop()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00 << 8; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01 << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02 << 8; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03 << 8; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04 << 8; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05 << 8; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06 << 8; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07 << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08 << 8; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09 << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A << 8; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C << 8; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D << 8; break; - } - switch ($conditional->getStyle()->getBorders()->getBottom()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00 << 12; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01 << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02 << 12; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03 << 12; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04 << 12; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05 << 12; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06 << 12; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07 << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08 << 12; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09 << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A << 12; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C << 12; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D << 12; break; - } - //@todo _writeCFRule() => $blockLineStyle => Index Color for left line - //@todo _writeCFRule() => $blockLineStyle => Index Color for right line - //@todo _writeCFRule() => $blockLineStyle => Top-left to bottom-right on/off - //@todo _writeCFRule() => $blockLineStyle => Bottom-left to top-right on/off - $blockColor = 0; - //@todo _writeCFRule() => $blockColor => Index Color for top line - //@todo _writeCFRule() => $blockColor => Index Color for bottom line - //@todo _writeCFRule() => $blockColor => Index Color for diagonal line - switch ($conditional->getStyle()->getBorders()->getDiagonal()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockColor |= 0x00 << 21; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockColor |= 0x01 << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockColor |= 0x02 << 21; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockColor |= 0x03 << 21; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockColor |= 0x04 << 21; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockColor |= 0x05 << 21; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockColor |= 0x06 << 21; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockColor |= 0x07 << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockColor |= 0x08 << 21; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockColor |= 0x09 << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockColor |= 0x0A << 21; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockColor |= 0x0B << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockColor |= 0x0C << 21; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockColor |= 0x0D << 21; break; - } - $dataBlockBorder = pack('vv', $blockLineStyle, $blockColor); - } - if($bFormatFill == 1){ - // Fill Patern Style - $blockFillPatternStyle = 0; - switch ($conditional->getStyle()->getFill()->getFillType()){ - case PHPExcel_Style_Fill::FILL_NONE : $blockFillPatternStyle = 0x00; break; - case PHPExcel_Style_Fill::FILL_SOLID : $blockFillPatternStyle = 0x01; break; - case PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY : $blockFillPatternStyle = 0x02; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY : $blockFillPatternStyle = 0x03; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY : $blockFillPatternStyle = 0x04; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL : $blockFillPatternStyle = 0x05; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL : $blockFillPatternStyle = 0x06; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN : $blockFillPatternStyle = 0x07; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKUP : $blockFillPatternStyle = 0x08; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID : $blockFillPatternStyle = 0x09; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS : $blockFillPatternStyle = 0x0A; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL : $blockFillPatternStyle = 0x0B; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL : $blockFillPatternStyle = 0x0C; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN : $blockFillPatternStyle = 0x0D; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP : $blockFillPatternStyle = 0x0E; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID : $blockFillPatternStyle = 0x0F; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS : $blockFillPatternStyle = 0x10; break; - case PHPExcel_Style_Fill::FILL_PATTERN_GRAY125 : $blockFillPatternStyle = 0x11; break; - case PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625 : $blockFillPatternStyle = 0x12; break; - case PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR : $blockFillPatternStyle = 0x00; break; // does not exist in BIFF8 - case PHPExcel_Style_Fill::FILL_GRADIENT_PATH : $blockFillPatternStyle = 0x00; break; // does not exist in BIFF8 - default : $blockFillPatternStyle = 0x00; break; - } - // Color - switch ($conditional->getStyle()->getFill()->getStartColor()->getRGB()) { - case '000000': $colorIdxBg = 0x08; break; - case 'FFFFFF': $colorIdxBg = 0x09; break; - case 'FF0000': $colorIdxBg = 0x0A; break; - case '00FF00': $colorIdxBg = 0x0B; break; - case '0000FF': $colorIdxBg = 0x0C; break; - case 'FFFF00': $colorIdxBg = 0x0D; break; - case 'FF00FF': $colorIdxBg = 0x0E; break; - case '00FFFF': $colorIdxBg = 0x0F; break; - case '800000': $colorIdxBg = 0x10; break; - case '008000': $colorIdxBg = 0x11; break; - case '000080': $colorIdxBg = 0x12; break; - case '808000': $colorIdxBg = 0x13; break; - case '800080': $colorIdxBg = 0x14; break; - case '008080': $colorIdxBg = 0x15; break; - case 'C0C0C0': $colorIdxBg = 0x16; break; - case '808080': $colorIdxBg = 0x17; break; - case '9999FF': $colorIdxBg = 0x18; break; - case '993366': $colorIdxBg = 0x19; break; - case 'FFFFCC': $colorIdxBg = 0x1A; break; - case 'CCFFFF': $colorIdxBg = 0x1B; break; - case '660066': $colorIdxBg = 0x1C; break; - case 'FF8080': $colorIdxBg = 0x1D; break; - case '0066CC': $colorIdxBg = 0x1E; break; - case 'CCCCFF': $colorIdxBg = 0x1F; break; - case '000080': $colorIdxBg = 0x20; break; - case 'FF00FF': $colorIdxBg = 0x21; break; - case 'FFFF00': $colorIdxBg = 0x22; break; - case '00FFFF': $colorIdxBg = 0x23; break; - case '800080': $colorIdxBg = 0x24; break; - case '800000': $colorIdxBg = 0x25; break; - case '008080': $colorIdxBg = 0x26; break; - case '0000FF': $colorIdxBg = 0x27; break; - case '00CCFF': $colorIdxBg = 0x28; break; - case 'CCFFFF': $colorIdxBg = 0x29; break; - case 'CCFFCC': $colorIdxBg = 0x2A; break; - case 'FFFF99': $colorIdxBg = 0x2B; break; - case '99CCFF': $colorIdxBg = 0x2C; break; - case 'FF99CC': $colorIdxBg = 0x2D; break; - case 'CC99FF': $colorIdxBg = 0x2E; break; - case 'FFCC99': $colorIdxBg = 0x2F; break; - case '3366FF': $colorIdxBg = 0x30; break; - case '33CCCC': $colorIdxBg = 0x31; break; - case '99CC00': $colorIdxBg = 0x32; break; - case 'FFCC00': $colorIdxBg = 0x33; break; - case 'FF9900': $colorIdxBg = 0x34; break; - case 'FF6600': $colorIdxBg = 0x35; break; - case '666699': $colorIdxBg = 0x36; break; - case '969696': $colorIdxBg = 0x37; break; - case '003366': $colorIdxBg = 0x38; break; - case '339966': $colorIdxBg = 0x39; break; - case '003300': $colorIdxBg = 0x3A; break; - case '333300': $colorIdxBg = 0x3B; break; - case '993300': $colorIdxBg = 0x3C; break; - case '993366': $colorIdxBg = 0x3D; break; - case '333399': $colorIdxBg = 0x3E; break; - case '333333': $colorIdxBg = 0x3F; break; - default: $colorIdxBg = 0x41; break; - } - // Fg Color - switch ($conditional->getStyle()->getFill()->getEndColor()->getRGB()) { - case '000000': $colorIdxFg = 0x08; break; - case 'FFFFFF': $colorIdxFg = 0x09; break; - case 'FF0000': $colorIdxFg = 0x0A; break; - case '00FF00': $colorIdxFg = 0x0B; break; - case '0000FF': $colorIdxFg = 0x0C; break; - case 'FFFF00': $colorIdxFg = 0x0D; break; - case 'FF00FF': $colorIdxFg = 0x0E; break; - case '00FFFF': $colorIdxFg = 0x0F; break; - case '800000': $colorIdxFg = 0x10; break; - case '008000': $colorIdxFg = 0x11; break; - case '000080': $colorIdxFg = 0x12; break; - case '808000': $colorIdxFg = 0x13; break; - case '800080': $colorIdxFg = 0x14; break; - case '008080': $colorIdxFg = 0x15; break; - case 'C0C0C0': $colorIdxFg = 0x16; break; - case '808080': $colorIdxFg = 0x17; break; - case '9999FF': $colorIdxFg = 0x18; break; - case '993366': $colorIdxFg = 0x19; break; - case 'FFFFCC': $colorIdxFg = 0x1A; break; - case 'CCFFFF': $colorIdxFg = 0x1B; break; - case '660066': $colorIdxFg = 0x1C; break; - case 'FF8080': $colorIdxFg = 0x1D; break; - case '0066CC': $colorIdxFg = 0x1E; break; - case 'CCCCFF': $colorIdxFg = 0x1F; break; - case '000080': $colorIdxFg = 0x20; break; - case 'FF00FF': $colorIdxFg = 0x21; break; - case 'FFFF00': $colorIdxFg = 0x22; break; - case '00FFFF': $colorIdxFg = 0x23; break; - case '800080': $colorIdxFg = 0x24; break; - case '800000': $colorIdxFg = 0x25; break; - case '008080': $colorIdxFg = 0x26; break; - case '0000FF': $colorIdxFg = 0x27; break; - case '00CCFF': $colorIdxFg = 0x28; break; - case 'CCFFFF': $colorIdxFg = 0x29; break; - case 'CCFFCC': $colorIdxFg = 0x2A; break; - case 'FFFF99': $colorIdxFg = 0x2B; break; - case '99CCFF': $colorIdxFg = 0x2C; break; - case 'FF99CC': $colorIdxFg = 0x2D; break; - case 'CC99FF': $colorIdxFg = 0x2E; break; - case 'FFCC99': $colorIdxFg = 0x2F; break; - case '3366FF': $colorIdxFg = 0x30; break; - case '33CCCC': $colorIdxFg = 0x31; break; - case '99CC00': $colorIdxFg = 0x32; break; - case 'FFCC00': $colorIdxFg = 0x33; break; - case 'FF9900': $colorIdxFg = 0x34; break; - case 'FF6600': $colorIdxFg = 0x35; break; - case '666699': $colorIdxFg = 0x36; break; - case '969696': $colorIdxFg = 0x37; break; - case '003366': $colorIdxFg = 0x38; break; - case '339966': $colorIdxFg = 0x39; break; - case '003300': $colorIdxFg = 0x3A; break; - case '333300': $colorIdxFg = 0x3B; break; - case '993300': $colorIdxFg = 0x3C; break; - case '993366': $colorIdxFg = 0x3D; break; - case '333399': $colorIdxFg = 0x3E; break; - case '333333': $colorIdxFg = 0x3F; break; - default: $colorIdxFg = 0x40; break; - } - $dataBlockFill = pack('v', $blockFillPatternStyle); - $dataBlockFill .= pack('v', $colorIdxFg | ($colorIdxBg << 7)); - } - if($bFormatProt == 1){ - $dataBlockProtection = 0; - if($conditional->getStyle()->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED){ - $dataBlockProtection = 1; - } - if($conditional->getStyle()->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED){ - $dataBlockProtection = 1 << 1; - } - } - - $data = pack('CCvvVv', $type, $operatorType, $szValue1, $szValue2, $flags, 0x0000); - if($bFormatFont == 1){ // Block Formatting : OK - $data .= $dataBlockFont; - } - if($bFormatAlign == 1){ - $data .= $dataBlockAlign; - } - if($bFormatBorder == 1){ - $data .= $dataBlockBorder; - } - if($bFormatFill == 1){ // Block Formatting : OK - $data .= $dataBlockFill; - } - if($bFormatProt == 1){ - $data .= $dataBlockProtection; - } - if(!is_null($operand1)){ - $data .= $operand1; - } - if(!is_null($operand2)){ - $data .= $operand2; - } - $header = pack('vv', $record, strlen($data)); - $this->_append($header . $data); - } - - /** - * Write CFHeader record - */ - private function _writeCFHeader(){ - $record = 0x01B0; // Record identifier - $length = 0x0016; // Bytes to follow - - $numColumnMin = null; - $numColumnMax = null; - $numRowMin = null; - $numRowMax = null; - $arrConditional = array(); - foreach ($this->_phpSheet->getConditionalStylesCollection() as $cellCoordinate => $conditionalStyles) { - foreach ($conditionalStyles as $conditional) { - if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS){ - if(!in_array($conditional->getHashCode(), $arrConditional)){ - $arrConditional[] = $conditional->getHashCode(); - } - // Cells - $arrCoord = PHPExcel_Cell::coordinateFromString($cellCoordinate); - if(!is_numeric($arrCoord[0])){ - $arrCoord[0] = PHPExcel_Cell::columnIndexFromString($arrCoord[0]); - } - if(is_null($numColumnMin) || ($numColumnMin > $arrCoord[0])){ - $numColumnMin = $arrCoord[0]; - } - if(is_null($numColumnMax) || ($numColumnMax < $arrCoord[0])){ - $numColumnMax = $arrCoord[0]; - } - if(is_null($numRowMin) || ($numRowMin > $arrCoord[1])){ - $numRowMin = $arrCoord[1]; - } - if(is_null($numRowMax) || ($numRowMax < $arrCoord[1])){ - $numRowMax = $arrCoord[1]; - } - } - } - } - $needRedraw = 1; - $cellRange = pack('vvvv', $numRowMin-1, $numRowMax-1, $numColumnMin-1, $numColumnMax-1); - - $header = pack('vv', $record, $length); - $data = pack('vv', count($arrConditional), $needRedraw); - $data .= $cellRange; - $data .= pack('v', 0x0001); - $data .= $cellRange; - $this->_append($header . $data); - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Xf.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Xf.php deleted file mode 100644 index 99f1b2a0c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/Xf.php +++ /dev/null @@ -1,547 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Format (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// /* -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Xf - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Xf -{ - /** - * Style XF or a cell XF ? - * - * @var boolean - */ - private $_isStyleXf; - - /** - * Index to the FONT record. Index 4 does not exist - * @var integer - */ - private $_fontIndex; - - /** - * An index (2 bytes) to a FORMAT record (number format). - * @var integer - */ - public $_numberFormatIndex; - - /** - * 1 bit, apparently not used. - * @var integer - */ - public $_text_justlast; - - /** - * The cell's foreground color. - * @var integer - */ - public $_fg_color; - - /** - * The cell's background color. - * @var integer - */ - public $_bg_color; - - /** - * Color of the bottom border of the cell. - * @var integer - */ - public $_bottom_color; - - /** - * Color of the top border of the cell. - * @var integer - */ - public $_top_color; - - /** - * Color of the left border of the cell. - * @var integer - */ - public $_left_color; - - /** - * Color of the right border of the cell. - * @var integer - */ - public $_right_color; - - /** - * Constructor - * - * @access public - * @param PHPExcel_Style The XF format - */ - public function __construct(PHPExcel_Style $style = null) - { - $this->_isStyleXf = false; - $this->_fontIndex = 0; - - $this->_numberFormatIndex = 0; - - $this->_text_justlast = 0; - - $this->_fg_color = 0x40; - $this->_bg_color = 0x41; - - $this->_diag = 0; - - $this->_bottom_color = 0x40; - $this->_top_color = 0x40; - $this->_left_color = 0x40; - $this->_right_color = 0x40; - $this->_diag_color = 0x40; - $this->_style = $style; - - } - - - /** - * Generate an Excel BIFF XF record (style or cell). - * - * @return string The XF record - */ - function writeXf() - { - // Set the type of the XF record and some of the attributes. - if ($this->_isStyleXf) { - $style = 0xFFF5; - } else { - $style = self::_mapLocked($this->_style->getProtection()->getLocked()); - $style |= self::_mapHidden($this->_style->getProtection()->getHidden()) << 1; - } - - // Flags to indicate if attributes have been set. - $atr_num = ($this->_numberFormatIndex != 0)?1:0; - $atr_fnt = ($this->_fontIndex != 0)?1:0; - $atr_alc = ((int) $this->_style->getAlignment()->getWrapText()) ? 1 : 0; - $atr_bdr = (self::_mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle()) || - self::_mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle()) || - self::_mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle()) || - self::_mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()))?1:0; - $atr_pat = (($this->_fg_color != 0x40) || - ($this->_bg_color != 0x41) || - self::_mapFillType($this->_style->getFill()->getFillType()))?1:0; - $atr_prot = self::_mapLocked($this->_style->getProtection()->getLocked()) - | self::_mapHidden($this->_style->getProtection()->getHidden()); - - // Zero the default border colour if the border has not been set. - if (self::_mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle()) == 0) { - $this->_bottom_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle()) == 0) { - $this->_top_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()) == 0) { - $this->_right_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle()) == 0) { - $this->_left_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getDiagonal()->getBorderStyle()) == 0) { - $this->_diag_color = 0; - } - - $record = 0x00E0; // Record identifier - $length = 0x0014; // Number of bytes to follow - - $ifnt = $this->_fontIndex; // Index to FONT record - $ifmt = $this->_numberFormatIndex; // Index to FORMAT record - - $align = $this->_mapHAlign($this->_style->getAlignment()->getHorizontal()); // Alignment - $align |= (int) $this->_style->getAlignment()->getWrapText() << 3; - $align |= self::_mapVAlign($this->_style->getAlignment()->getVertical()) << 4; - $align |= $this->_text_justlast << 7; - - $used_attrib = $atr_num << 2; - $used_attrib |= $atr_fnt << 3; - $used_attrib |= $atr_alc << 4; - $used_attrib |= $atr_bdr << 5; - $used_attrib |= $atr_pat << 6; - $used_attrib |= $atr_prot << 7; - - $icv = $this->_fg_color; // fg and bg pattern colors - $icv |= $this->_bg_color << 7; - - $border1 = self::_mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle()); // Border line style and color - $border1 |= self::_mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()) << 4; - $border1 |= self::_mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle()) << 8; - $border1 |= self::_mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle()) << 12; - $border1 |= $this->_left_color << 16; - $border1 |= $this->_right_color << 23; - - $diagonalDirection = $this->_style->getBorders()->getDiagonalDirection(); - $diag_tl_to_rb = $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_BOTH - || $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_DOWN; - $diag_tr_to_lb = $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_BOTH - || $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_UP; - $border1 |= $diag_tl_to_rb << 30; - $border1 |= $diag_tr_to_lb << 31; - - $border2 = $this->_top_color; // Border color - $border2 |= $this->_bottom_color << 7; - $border2 |= $this->_diag_color << 14; - $border2 |= self::_mapBorderStyle($this->_style->getBorders()->getDiagonal()->getBorderStyle()) << 21; - $border2 |= self::_mapFillType($this->_style->getFill()->getFillType()) << 26; - - $header = pack("vv", $record, $length); - - //BIFF8 options: identation, shrinkToFit and text direction - $biff8_options = $this->_style->getAlignment()->getIndent(); - $biff8_options |= (int) $this->_style->getAlignment()->getShrinkToFit() << 4; - - $data = pack("vvvC", $ifnt, $ifmt, $style, $align); - $data .= pack("CCC" - , self::_mapTextRotation($this->_style->getAlignment()->getTextRotation()) - , $biff8_options - , $used_attrib - ); - $data .= pack("VVv", $border1, $border2, $icv); - - return($header . $data); - } - - /** - * Is this a style XF ? - * - * @param boolean $value - */ - public function setIsStyleXf($value) - { - $this->_isStyleXf = $value; - } - - /** - * Sets the cell's bottom border color - * - * @access public - * @param int $colorIndex Color index - */ - function setBottomColor($colorIndex) - { - $this->_bottom_color = $colorIndex; - } - - /** - * Sets the cell's top border color - * - * @access public - * @param int $colorIndex Color index - */ - function setTopColor($colorIndex) - { - $this->_top_color = $colorIndex; - } - - /** - * Sets the cell's left border color - * - * @access public - * @param int $colorIndex Color index - */ - function setLeftColor($colorIndex) - { - $this->_left_color = $colorIndex; - } - - /** - * Sets the cell's right border color - * - * @access public - * @param int $colorIndex Color index - */ - function setRightColor($colorIndex) - { - $this->_right_color = $colorIndex; - } - - /** - * Sets the cell's diagonal border color - * - * @access public - * @param int $colorIndex Color index - */ - function setDiagColor($colorIndex) - { - $this->_diag_color = $colorIndex; - } - - - /** - * Sets the cell's foreground color - * - * @access public - * @param int $colorIndex Color index - */ - function setFgColor($colorIndex) - { - $this->_fg_color = $colorIndex; - } - - /** - * Sets the cell's background color - * - * @access public - * @param int $colorIndex Color index - */ - function setBgColor($colorIndex) - { - $this->_bg_color = $colorIndex; - } - - /** - * Sets the index to the number format record - * It can be date, time, currency, etc... - * - * @access public - * @param integer $numberFormatIndex Index to format record - */ - function setNumberFormatIndex($numberFormatIndex) - { - $this->_numberFormatIndex = $numberFormatIndex; - } - - /** - * Set the font index. - * - * @param int $value Font index, note that value 4 does not exist - */ - public function setFontIndex($value) - { - $this->_fontIndex = $value; - } - - /** - * Map of BIFF2-BIFF8 codes for border styles - * @static array of int - * - */ - private static $_mapBorderStyle = array ( PHPExcel_Style_Border::BORDER_NONE => 0x00, - PHPExcel_Style_Border::BORDER_THIN => 0x01, - PHPExcel_Style_Border::BORDER_MEDIUM => 0x02, - PHPExcel_Style_Border::BORDER_DASHED => 0x03, - PHPExcel_Style_Border::BORDER_DOTTED => 0x04, - PHPExcel_Style_Border::BORDER_THICK => 0x05, - PHPExcel_Style_Border::BORDER_DOUBLE => 0x06, - PHPExcel_Style_Border::BORDER_HAIR => 0x07, - PHPExcel_Style_Border::BORDER_MEDIUMDASHED => 0x08, - PHPExcel_Style_Border::BORDER_DASHDOT => 0x09, - PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT => 0x0A, - PHPExcel_Style_Border::BORDER_DASHDOTDOT => 0x0B, - PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT => 0x0C, - PHPExcel_Style_Border::BORDER_SLANTDASHDOT => 0x0D, - ); - - /** - * Map border style - * - * @param string $borderStyle - * @return int - */ - private static function _mapBorderStyle($borderStyle) { - if (isset(self::$_mapBorderStyle[$borderStyle])) - return self::$_mapBorderStyle[$borderStyle]; - return 0x00; - } - - /** - * Map of BIFF2-BIFF8 codes for fill types - * @static array of int - * - */ - private static $_mapFillType = array( PHPExcel_Style_Fill::FILL_NONE => 0x00, - PHPExcel_Style_Fill::FILL_SOLID => 0x01, - PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY => 0x02, - PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY => 0x03, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY => 0x04, - PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL => 0x05, - PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL => 0x06, - PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN => 0x07, - PHPExcel_Style_Fill::FILL_PATTERN_DARKUP => 0x08, - PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID => 0x09, - PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS => 0x0A, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL => 0x0B, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL => 0x0C, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN => 0x0D, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP => 0x0E, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID => 0x0F, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS => 0x10, - PHPExcel_Style_Fill::FILL_PATTERN_GRAY125 => 0x11, - PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625 => 0x12, - PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR => 0x00, // does not exist in BIFF8 - PHPExcel_Style_Fill::FILL_GRADIENT_PATH => 0x00, // does not exist in BIFF8 - ); - /** - * Map fill type - * - * @param string $fillType - * @return int - */ - private static function _mapFillType($fillType) { - if (isset(self::$_mapFillType[$fillType])) - return self::$_mapFillType[$fillType]; - return 0x00; - } - - /** - * Map of BIFF2-BIFF8 codes for horizontal alignment - * @static array of int - * - */ - private static $_mapHAlign = array( PHPExcel_Style_Alignment::HORIZONTAL_GENERAL => 0, - PHPExcel_Style_Alignment::HORIZONTAL_LEFT => 1, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER => 2, - PHPExcel_Style_Alignment::HORIZONTAL_RIGHT => 3, - PHPExcel_Style_Alignment::HORIZONTAL_FILL => 4, - PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY => 5, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS => 6, - ); - /** - * Map to BIFF2-BIFF8 codes for horizontal alignment - * - * @param string $hAlign - * @return int - */ - private function _mapHAlign($hAlign) - { - if (isset(self::$_mapHAlign[$hAlign])) - return self::$_mapHAlign[$hAlign]; - return 0; - } - - /** - * Map of BIFF2-BIFF8 codes for vertical alignment - * @static array of int - * - */ - private static $_mapVAlign = array( PHPExcel_Style_Alignment::VERTICAL_TOP => 0, - PHPExcel_Style_Alignment::VERTICAL_CENTER => 1, - PHPExcel_Style_Alignment::VERTICAL_BOTTOM => 2, - PHPExcel_Style_Alignment::VERTICAL_JUSTIFY => 3, - ); - /** - * Map to BIFF2-BIFF8 codes for vertical alignment - * - * @param string $vAlign - * @return int - */ - private static function _mapVAlign($vAlign) { - if (isset(self::$_mapVAlign[$vAlign])) - return self::$_mapVAlign[$vAlign]; - return 2; - } - - /** - * Map to BIFF8 codes for text rotation angle - * - * @param int $textRotation - * @return int - */ - private static function _mapTextRotation($textRotation) { - if ($textRotation >= 0) { - return $textRotation; - } - if ($textRotation == -165) { - return 255; - } - if ($textRotation < 0) { - return 90 - $textRotation; - } - } - - /** - * Map locked - * - * @param string - * @return int - */ - private static function _mapLocked($locked) { - switch ($locked) { - case PHPExcel_Style_Protection::PROTECTION_INHERIT: return 1; - case PHPExcel_Style_Protection::PROTECTION_PROTECTED: return 1; - case PHPExcel_Style_Protection::PROTECTION_UNPROTECTED: return 0; - default: return 1; - } - } - - /** - * Map hidden - * - * @param string - * @return int - */ - private static function _mapHidden($hidden) { - switch ($hidden) { - case PHPExcel_Style_Protection::PROTECTION_INHERIT: return 0; - case PHPExcel_Style_Protection::PROTECTION_PROTECTED: return 1; - case PHPExcel_Style_Protection::PROTECTION_UNPROTECTED: return 0; - default: return 0; - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Excel5/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Exception.php deleted file mode 100644 index 1715587a2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Exception - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Exception extends PHPExcel_Exception { - /** - * Error handler callback - * - * @param mixed $code - * @param mixed $string - * @param mixed $file - * @param mixed $line - * @param mixed $context - */ - public static function errorHandlerCallback($code, $string, $file, $line, $context) { - $e = new self($string, $code); - $e->line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/HTML.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/HTML.php deleted file mode 100644 index 63c5d4787..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/HTML.php +++ /dev/null @@ -1,1548 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_HTML - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_HTML - * - * @category PHPExcel - * @package PHPExcel_Writer_HTML - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter { - /** - * PHPExcel object - * - * @var PHPExcel - */ - protected $_phpExcel; - - /** - * Sheet index to write - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Images root - * - * @var string - */ - private $_imagesRoot = '.'; - - /** - * embed images, or link to images - * - * @var boolean - */ - private $_embedImages = FALSE; - - /** - * Use inline CSS? - * - * @var boolean - */ - private $_useInlineCss = false; - - /** - * Array of CSS styles - * - * @var array - */ - private $_cssStyles = null; - - /** - * Array of column widths in points - * - * @var array - */ - private $_columnWidths = null; - - /** - * Default font - * - * @var PHPExcel_Style_Font - */ - private $_defaultFont; - - /** - * Flag whether spans have been calculated - * - * @var boolean - */ - private $_spansAreCalculated = false; - - /** - * Excel cells that should not be written as HTML cells - * - * @var array - */ - private $_isSpannedCell = array(); - - /** - * Excel cells that are upper-left corner in a cell merge - * - * @var array - */ - private $_isBaseCell = array(); - - /** - * Excel rows that should not be written as HTML rows - * - * @var array - */ - private $_isSpannedRow = array(); - - /** - * Is the current writer creating PDF? - * - * @var boolean - */ - protected $_isPdf = false; - - /** - * Generate the Navigation block - * - * @var boolean - */ - private $_generateSheetNavigationBlock = true; - - /** - * Create a new PHPExcel_Writer_HTML - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) { - $this->_phpExcel = $phpExcel; - $this->_defaultFont = $this->_phpExcel->getDefaultStyle()->getFont(); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) { - // garbage collect - $this->_phpExcel->garbageCollect(); - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog(FALSE); - $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); - PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); - - // Build CSS - $this->buildCSS(!$this->_useInlineCss); - - // Open file - $fileHandle = fopen($pFilename, 'wb+'); - if ($fileHandle === false) { - throw new PHPExcel_Writer_Exception("Could not open file $pFilename for writing."); - } - - // Write headers - fwrite($fileHandle, $this->generateHTMLHeader(!$this->_useInlineCss)); - - // Write navigation (tabs) - if ((!$this->_isPdf) && ($this->_generateSheetNavigationBlock)) { - fwrite($fileHandle, $this->generateNavigation()); - } - - // Write data - fwrite($fileHandle, $this->generateSheetData()); - - // Write footer - fwrite($fileHandle, $this->generateHTMLFooter()); - - // Close file - fclose($fileHandle); - - PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); - } - - /** - * Map VAlign - * - * @param string $vAlign Vertical alignment - * @return string - */ - private function _mapVAlign($vAlign) { - switch ($vAlign) { - case PHPExcel_Style_Alignment::VERTICAL_BOTTOM: return 'bottom'; - case PHPExcel_Style_Alignment::VERTICAL_TOP: return 'top'; - case PHPExcel_Style_Alignment::VERTICAL_CENTER: - case PHPExcel_Style_Alignment::VERTICAL_JUSTIFY: return 'middle'; - default: return 'baseline'; - } - } - - /** - * Map HAlign - * - * @param string $hAlign Horizontal alignment - * @return string|false - */ - private function _mapHAlign($hAlign) { - switch ($hAlign) { - case PHPExcel_Style_Alignment::HORIZONTAL_GENERAL: return false; - case PHPExcel_Style_Alignment::HORIZONTAL_LEFT: return 'left'; - case PHPExcel_Style_Alignment::HORIZONTAL_RIGHT: return 'right'; - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER: - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS: return 'center'; - case PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY: return 'justify'; - default: return false; - } - } - - /** - * Map border style - * - * @param int $borderStyle Sheet index - * @return string - */ - private function _mapBorderStyle($borderStyle) { - switch ($borderStyle) { - case PHPExcel_Style_Border::BORDER_NONE: return 'none'; - case PHPExcel_Style_Border::BORDER_DASHDOT: return '1px dashed'; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT: return '1px dotted'; - case PHPExcel_Style_Border::BORDER_DASHED: return '1px dashed'; - case PHPExcel_Style_Border::BORDER_DOTTED: return '1px dotted'; - case PHPExcel_Style_Border::BORDER_DOUBLE: return '3px double'; - case PHPExcel_Style_Border::BORDER_HAIR: return '1px solid'; - case PHPExcel_Style_Border::BORDER_MEDIUM: return '2px solid'; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT: return '2px dashed'; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT: return '2px dotted'; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED: return '2px dashed'; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT: return '2px dashed'; - case PHPExcel_Style_Border::BORDER_THICK: return '3px solid'; - case PHPExcel_Style_Border::BORDER_THIN: return '1px solid'; - default: return '1px solid'; // map others to thin - } - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Writer_HTML - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - - /** - * Get sheet index - * - * @return boolean - */ - public function getGenerateSheetNavigationBlock() { - return $this->_generateSheetNavigationBlock; - } - - /** - * Set sheet index - * - * @param boolean $pValue Flag indicating whether the sheet navigation block should be generated or not - * @return PHPExcel_Writer_HTML - */ - public function setGenerateSheetNavigationBlock($pValue = true) { - $this->_generateSheetNavigationBlock = (bool) $pValue; - return $this; - } - - /** - * Write all sheets (resets sheetIndex to NULL) - */ - public function writeAllSheets() { - $this->_sheetIndex = null; - return $this; - } - - /** - * Generate HTML header - * - * @param boolean $pIncludeStyles Include styles? - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateHTMLHeader($pIncludeStyles = false) { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Construct HTML - $properties = $this->_phpExcel->getProperties(); - $html = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">' . PHP_EOL; - $html .= '<!-- Generated by PHPExcel - http://www.phpexcel.net -->' . PHP_EOL; - $html .= '<html>' . PHP_EOL; - $html .= ' <head>' . PHP_EOL; - $html .= ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8">' . PHP_EOL; - if ($properties->getTitle() > '') - $html .= ' <title>' . htmlspecialchars($properties->getTitle()) . '</title>' . PHP_EOL; - - if ($properties->getCreator() > '') - $html .= ' <meta name="author" content="' . htmlspecialchars($properties->getCreator()) . '" />' . PHP_EOL; - if ($properties->getTitle() > '') - $html .= ' <meta name="title" content="' . htmlspecialchars($properties->getTitle()) . '" />' . PHP_EOL; - if ($properties->getDescription() > '') - $html .= ' <meta name="description" content="' . htmlspecialchars($properties->getDescription()) . '" />' . PHP_EOL; - if ($properties->getSubject() > '') - $html .= ' <meta name="subject" content="' . htmlspecialchars($properties->getSubject()) . '" />' . PHP_EOL; - if ($properties->getKeywords() > '') - $html .= ' <meta name="keywords" content="' . htmlspecialchars($properties->getKeywords()) . '" />' . PHP_EOL; - if ($properties->getCategory() > '') - $html .= ' <meta name="category" content="' . htmlspecialchars($properties->getCategory()) . '" />' . PHP_EOL; - if ($properties->getCompany() > '') - $html .= ' <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL; - if ($properties->getManager() > '') - $html .= ' <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL; - - if ($pIncludeStyles) { - $html .= $this->generateStyles(true); - } - - $html .= ' </head>' . PHP_EOL; - $html .= '' . PHP_EOL; - $html .= ' <body>' . PHP_EOL; - - // Return - return $html; - } - - /** - * Generate sheet data - * - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateSheetData() { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Ensure that Spans have been calculated? - if (!$this->_spansAreCalculated) { - $this->_calculateSpans(); - } - - // Fetch sheets - $sheets = array(); - if (is_null($this->_sheetIndex)) { - $sheets = $this->_phpExcel->getAllSheets(); - } else { - $sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex); - } - - // Construct HTML - $html = ''; - - // Loop all sheets - $sheetId = 0; - foreach ($sheets as $sheet) { - // Write table header - $html .= $this->_generateTableHeader($sheet); - - // Get worksheet dimension - $dimension = explode(':', $sheet->calculateWorksheetDimension()); - $dimension[0] = PHPExcel_Cell::coordinateFromString($dimension[0]); - $dimension[0][0] = PHPExcel_Cell::columnIndexFromString($dimension[0][0]) - 1; - $dimension[1] = PHPExcel_Cell::coordinateFromString($dimension[1]); - $dimension[1][0] = PHPExcel_Cell::columnIndexFromString($dimension[1][0]) - 1; - - // row min,max - $rowMin = $dimension[0][1]; - $rowMax = $dimension[1][1]; - - // calculate start of <tbody>, <thead> - $tbodyStart = $rowMin; - $theadStart = $theadEnd = 0; // default: no <thead> no </thead> - if ($sheet->getPageSetup()->isRowsToRepeatAtTopSet()) { - $rowsToRepeatAtTop = $sheet->getPageSetup()->getRowsToRepeatAtTop(); - - // we can only support repeating rows that start at top row - if ($rowsToRepeatAtTop[0] == 1) { - $theadStart = $rowsToRepeatAtTop[0]; - $theadEnd = $rowsToRepeatAtTop[1]; - $tbodyStart = $rowsToRepeatAtTop[1] + 1; - } - } - - // Loop through cells - $row = $rowMin-1; - while($row++ < $rowMax) { - // <thead> ? - if ($row == $theadStart) { - $html .= ' <thead>' . PHP_EOL; - $cellType = 'th'; - } - - // <tbody> ? - if ($row == $tbodyStart) { - $html .= ' <tbody>' . PHP_EOL; - $cellType = 'td'; - } - - // Write row if there are HTML table cells in it - if ( !isset($this->_isSpannedRow[$sheet->getParent()->getIndex($sheet)][$row]) ) { - // Start a new rowData - $rowData = array(); - // Loop through columns - $column = $dimension[0][0] - 1; - while($column++ < $dimension[1][0]) { - // Cell exists? - if ($sheet->cellExistsByColumnAndRow($column, $row)) { - $rowData[$column] = PHPExcel_Cell::stringFromColumnIndex($column) . $row; - } else { - $rowData[$column] = ''; - } - } - $html .= $this->_generateRow($sheet, $rowData, $row - 1, $cellType); - } - - // </thead> ? - if ($row == $theadEnd) { - $html .= ' </thead>' . PHP_EOL; - } - } - $html .= $this->_extendRowsForChartsAndImages($sheet, $row); - - // Close table body. - $html .= ' </tbody>' . PHP_EOL; - - // Write table footer - $html .= $this->_generateTableFooter(); - - // Writing PDF? - if ($this->_isPdf) { - if (is_null($this->_sheetIndex) && $sheetId + 1 < $this->_phpExcel->getSheetCount()) { - $html .= '<div style="page-break-before:always" />'; - } - } - - // Next sheet - ++$sheetId; - } - - // Return - return $html; - } - - /** - * Generate sheet tabs - * - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateNavigation() - { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Fetch sheets - $sheets = array(); - if (is_null($this->_sheetIndex)) { - $sheets = $this->_phpExcel->getAllSheets(); - } else { - $sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex); - } - - // Construct HTML - $html = ''; - - // Only if there are more than 1 sheets - if (count($sheets) > 1) { - // Loop all sheets - $sheetId = 0; - - $html .= '<ul class="navigation">' . PHP_EOL; - - foreach ($sheets as $sheet) { - $html .= ' <li class="sheet' . $sheetId . '"><a href="#sheet' . $sheetId . '">' . $sheet->getTitle() . '</a></li>' . PHP_EOL; - ++$sheetId; - } - - $html .= '</ul>' . PHP_EOL; - } - - return $html; - } - - private function _extendRowsForChartsAndImages(PHPExcel_Worksheet $pSheet, $row) { - $rowMax = $row; - $colMax = 'A'; - if ($this->_includeCharts) { - foreach ($pSheet->getChartCollection() as $chart) { - if ($chart instanceof PHPExcel_Chart) { - $chartCoordinates = $chart->getTopLeftPosition(); - $chartTL = PHPExcel_Cell::coordinateFromString($chartCoordinates['cell']); - $chartCol = PHPExcel_Cell::columnIndexFromString($chartTL[0]); - if ($chartTL[1] > $rowMax) { - $rowMax = $chartTL[1]; - if ($chartCol > PHPExcel_Cell::columnIndexFromString($colMax)) { - $colMax = $chartTL[0]; - } - } - } - } - } - - foreach ($pSheet->getDrawingCollection() as $drawing) { - if ($drawing instanceof PHPExcel_Worksheet_Drawing) { - $imageTL = PHPExcel_Cell::coordinateFromString($drawing->getCoordinates()); - $imageCol = PHPExcel_Cell::columnIndexFromString($imageTL[0]); - if ($imageTL[1] > $rowMax) { - $rowMax = $imageTL[1]; - if ($imageCol > PHPExcel_Cell::columnIndexFromString($colMax)) { - $colMax = $imageTL[0]; - } - } - } - } - $html = ''; - $colMax++; - while ($row < $rowMax) { - $html .= '<tr>'; - for ($col = 'A'; $col != $colMax; ++$col) { - $html .= '<td>'; - $html .= $this->_writeImageInCell($pSheet, $col.$row); - if ($this->_includeCharts) { - $html .= $this->_writeChartInCell($pSheet, $col.$row); - } - $html .= '</td>'; - } - ++$row; - $html .= '</tr>'; - } - return $html; - } - - - /** - * Generate image tag in cell - * - * @param PHPExcel_Worksheet $pSheet PHPExcel_Worksheet - * @param string $coordinates Cell coordinates - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _writeImageInCell(PHPExcel_Worksheet $pSheet, $coordinates) { - // Construct HTML - $html = ''; - - // Write images - foreach ($pSheet->getDrawingCollection() as $drawing) { - if ($drawing instanceof PHPExcel_Worksheet_Drawing) { - if ($drawing->getCoordinates() == $coordinates) { - $filename = $drawing->getPath(); - - // Strip off eventual '.' - if (substr($filename, 0, 1) == '.') { - $filename = substr($filename, 1); - } - - // Prepend images root - $filename = $this->getImagesRoot() . $filename; - - // Strip off eventual '.' - if (substr($filename, 0, 1) == '.' && substr($filename, 0, 2) != './') { - $filename = substr($filename, 1); - } - - // Convert UTF8 data to PCDATA - $filename = htmlspecialchars($filename); - - $html .= PHP_EOL; - if ((!$this->_embedImages) || ($this->_isPdf)) { - $imageData = $filename; - } else { - $imageDetails = getimagesize($filename); - if ($fp = fopen($filename,"rb", 0)) { - $picture = fread($fp,filesize($filename)); - fclose($fp); - // base64 encode the binary data, then break it - // into chunks according to RFC 2045 semantics - $base64 = chunk_split(base64_encode($picture)); - $imageData = 'data:'.$imageDetails['mime'].';base64,' . $base64; - } else { - $imageData = $filename; - } - } - - $html .= '<div style="position: relative;">'; - $html .= '<img style="position: absolute; z-index: 1; left: ' . - $drawing->getOffsetX() . 'px; top: ' . $drawing->getOffsetY() . 'px; width: ' . - $drawing->getWidth() . 'px; height: ' . $drawing->getHeight() . 'px;" src="' . - $imageData . '" border="0" />'; - $html .= '</div>'; - } - } - } - - // Return - return $html; - } - - /** - * Generate chart tag in cell - * - * @param PHPExcel_Worksheet $pSheet PHPExcel_Worksheet - * @param string $coordinates Cell coordinates - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _writeChartInCell(PHPExcel_Worksheet $pSheet, $coordinates) { - // Construct HTML - $html = ''; - - // Write charts - foreach ($pSheet->getChartCollection() as $chart) { - if ($chart instanceof PHPExcel_Chart) { - $chartCoordinates = $chart->getTopLeftPosition(); - if ($chartCoordinates['cell'] == $coordinates) { - $chartFileName = PHPExcel_Shared_File::sys_get_temp_dir().'/'.uniqid().'.png'; - if (!$chart->render($chartFileName)) { - return; - } - - $html .= PHP_EOL; - $imageDetails = getimagesize($chartFileName); - if ($fp = fopen($chartFileName,"rb", 0)) { - $picture = fread($fp,filesize($chartFileName)); - fclose($fp); - // base64 encode the binary data, then break it - // into chunks according to RFC 2045 semantics - $base64 = chunk_split(base64_encode($picture)); - $imageData = 'data:'.$imageDetails['mime'].';base64,' . $base64; - - $html .= '<div style="position: relative;">'; - $html .= '<img style="position: absolute; z-index: 1; left: ' . $chartCoordinates['xOffset'] . 'px; top: ' . $chartCoordinates['yOffset'] . 'px; width: ' . $imageDetails[0] . 'px; height: ' . $imageDetails[1] . 'px;" src="' . $imageData . '" border="0" />' . PHP_EOL; - $html .= '</div>'; - - unlink($chartFileName); - } - } - } - } - - // Return - return $html; - } - - /** - * Generate CSS styles - * - * @param boolean $generateSurroundingHTML Generate surrounding HTML tags? (&lt;style&gt; and &lt;/style&gt;) - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateStyles($generateSurroundingHTML = true) { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Build CSS - $css = $this->buildCSS($generateSurroundingHTML); - - // Construct HTML - $html = ''; - - // Start styles - if ($generateSurroundingHTML) { - $html .= ' <style type="text/css">' . PHP_EOL; - $html .= ' html { ' . $this->_assembleCSS($css['html']) . ' }' . PHP_EOL; - } - - // Write all other styles - foreach ($css as $styleName => $styleDefinition) { - if ($styleName != 'html') { - $html .= ' ' . $styleName . ' { ' . $this->_assembleCSS($styleDefinition) . ' }' . PHP_EOL; - } - } - - // End styles - if ($generateSurroundingHTML) { - $html .= ' </style>' . PHP_EOL; - } - - // Return - return $html; - } - - /** - * Build CSS styles - * - * @param boolean $generateSurroundingHTML Generate surrounding HTML style? (html { }) - * @return array - * @throws PHPExcel_Writer_Exception - */ - public function buildCSS($generateSurroundingHTML = true) { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Cached? - if (!is_null($this->_cssStyles)) { - return $this->_cssStyles; - } - - // Ensure that spans have been calculated - if (!$this->_spansAreCalculated) { - $this->_calculateSpans(); - } - - // Construct CSS - $css = array(); - - // Start styles - if ($generateSurroundingHTML) { - // html { } - $css['html']['font-family'] = 'Calibri, Arial, Helvetica, sans-serif'; - $css['html']['font-size'] = '11pt'; - $css['html']['background-color'] = 'white'; - } - - - // table { } - $css['table']['border-collapse'] = 'collapse'; - if (!$this->_isPdf) { - $css['table']['page-break-after'] = 'always'; - } - - // .gridlines td { } - $css['.gridlines td']['border'] = '1px dotted black'; - $css['.gridlines th']['border'] = '1px dotted black'; - - // .b {} - $css['.b']['text-align'] = 'center'; // BOOL - - // .e {} - $css['.e']['text-align'] = 'center'; // ERROR - - // .f {} - $css['.f']['text-align'] = 'right'; // FORMULA - - // .inlineStr {} - $css['.inlineStr']['text-align'] = 'left'; // INLINE - - // .n {} - $css['.n']['text-align'] = 'right'; // NUMERIC - - // .s {} - $css['.s']['text-align'] = 'left'; // STRING - - // Calculate cell style hashes - foreach ($this->_phpExcel->getCellXfCollection() as $index => $style) { - $css['td.style' . $index] = $this->_createCSSStyle( $style ); - $css['th.style' . $index] = $this->_createCSSStyle( $style ); - } - - // Fetch sheets - $sheets = array(); - if (is_null($this->_sheetIndex)) { - $sheets = $this->_phpExcel->getAllSheets(); - } else { - $sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex); - } - - // Build styles per sheet - foreach ($sheets as $sheet) { - // Calculate hash code - $sheetIndex = $sheet->getParent()->getIndex($sheet); - - // Build styles - // Calculate column widths - $sheet->calculateColumnWidths(); - - // col elements, initialize - $highestColumnIndex = PHPExcel_Cell::columnIndexFromString($sheet->getHighestColumn()) - 1; - $column = -1; - while($column++ < $highestColumnIndex) { - $this->_columnWidths[$sheetIndex][$column] = 42; // approximation - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = '42pt'; - } - - // col elements, loop through columnDimensions and set width - foreach ($sheet->getColumnDimensions() as $columnDimension) { - if (($width = PHPExcel_Shared_Drawing::cellDimensionToPixels($columnDimension->getWidth(), $this->_defaultFont)) >= 0) { - $width = PHPExcel_Shared_Drawing::pixelsToPoints($width); - $column = PHPExcel_Cell::columnIndexFromString($columnDimension->getColumnIndex()) - 1; - $this->_columnWidths[$sheetIndex][$column] = $width; - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = $width . 'pt'; - - if ($columnDimension->getVisible() === false) { - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['visibility'] = 'collapse'; - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['*display'] = 'none'; // target IE6+7 - } - } - } - - // Default row height - $rowDimension = $sheet->getDefaultRowDimension(); - - // table.sheetN tr { } - $css['table.sheet' . $sheetIndex . ' tr'] = array(); - - if ($rowDimension->getRowHeight() == -1) { - $pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->_phpExcel->getDefaultStyle()->getFont()); - } else { - $pt_height = $rowDimension->getRowHeight(); - } - $css['table.sheet' . $sheetIndex . ' tr']['height'] = $pt_height . 'pt'; - if ($rowDimension->getVisible() === false) { - $css['table.sheet' . $sheetIndex . ' tr']['display'] = 'none'; - $css['table.sheet' . $sheetIndex . ' tr']['visibility'] = 'hidden'; - } - - // Calculate row heights - foreach ($sheet->getRowDimensions() as $rowDimension) { - $row = $rowDimension->getRowIndex() - 1; - - // table.sheetN tr.rowYYYYYY { } - $css['table.sheet' . $sheetIndex . ' tr.row' . $row] = array(); - - if ($rowDimension->getRowHeight() == -1) { - $pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->_phpExcel->getDefaultStyle()->getFont()); - } else { - $pt_height = $rowDimension->getRowHeight(); - } - $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['height'] = $pt_height . 'pt'; - if ($rowDimension->getVisible() === false) { - $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['display'] = 'none'; - $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['visibility'] = 'hidden'; - } - } - } - - // Cache - if (is_null($this->_cssStyles)) { - $this->_cssStyles = $css; - } - - // Return - return $css; - } - - /** - * Create CSS style - * - * @param PHPExcel_Style $pStyle PHPExcel_Style - * @return array - */ - private function _createCSSStyle(PHPExcel_Style $pStyle) { - // Construct CSS - $css = ''; - - // Create CSS - $css = array_merge( - $this->_createCSSStyleAlignment($pStyle->getAlignment()) - , $this->_createCSSStyleBorders($pStyle->getBorders()) - , $this->_createCSSStyleFont($pStyle->getFont()) - , $this->_createCSSStyleFill($pStyle->getFill()) - ); - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Alignment) - * - * @param PHPExcel_Style_Alignment $pStyle PHPExcel_Style_Alignment - * @return array - */ - private function _createCSSStyleAlignment(PHPExcel_Style_Alignment $pStyle) { - // Construct CSS - $css = array(); - - // Create CSS - $css['vertical-align'] = $this->_mapVAlign($pStyle->getVertical()); - if ($textAlign = $this->_mapHAlign($pStyle->getHorizontal())) { - $css['text-align'] = $textAlign; - if(in_array($textAlign,array('left','right'))) - $css['padding-'.$textAlign] = (string)((int)$pStyle->getIndent() * 9).'px'; - } - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Font) - * - * @param PHPExcel_Style_Font $pStyle PHPExcel_Style_Font - * @return array - */ - private function _createCSSStyleFont(PHPExcel_Style_Font $pStyle) { - // Construct CSS - $css = array(); - - // Create CSS - if ($pStyle->getBold()) { - $css['font-weight'] = 'bold'; - } - if ($pStyle->getUnderline() != PHPExcel_Style_Font::UNDERLINE_NONE && $pStyle->getStrikethrough()) { - $css['text-decoration'] = 'underline line-through'; - } else if ($pStyle->getUnderline() != PHPExcel_Style_Font::UNDERLINE_NONE) { - $css['text-decoration'] = 'underline'; - } else if ($pStyle->getStrikethrough()) { - $css['text-decoration'] = 'line-through'; - } - if ($pStyle->getItalic()) { - $css['font-style'] = 'italic'; - } - - $css['color'] = '#' . $pStyle->getColor()->getRGB(); - $css['font-family'] = '\'' . $pStyle->getName() . '\''; - $css['font-size'] = $pStyle->getSize() . 'pt'; - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Borders) - * - * @param PHPExcel_Style_Borders $pStyle PHPExcel_Style_Borders - * @return array - */ - private function _createCSSStyleBorders(PHPExcel_Style_Borders $pStyle) { - // Construct CSS - $css = array(); - - // Create CSS - $css['border-bottom'] = $this->_createCSSStyleBorder($pStyle->getBottom()); - $css['border-top'] = $this->_createCSSStyleBorder($pStyle->getTop()); - $css['border-left'] = $this->_createCSSStyleBorder($pStyle->getLeft()); - $css['border-right'] = $this->_createCSSStyleBorder($pStyle->getRight()); - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Border) - * - * @param PHPExcel_Style_Border $pStyle PHPExcel_Style_Border - * @return string - */ - private function _createCSSStyleBorder(PHPExcel_Style_Border $pStyle) { - // Create CSS -// $css = $this->_mapBorderStyle($pStyle->getBorderStyle()) . ' #' . $pStyle->getColor()->getRGB(); - // Create CSS - add !important to non-none border styles for merged cells - $borderStyle = $this->_mapBorderStyle($pStyle->getBorderStyle()); - $css = $borderStyle . ' #' . $pStyle->getColor()->getRGB() . (($borderStyle == 'none') ? '' : ' !important'); - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Fill) - * - * @param PHPExcel_Style_Fill $pStyle PHPExcel_Style_Fill - * @return array - */ - private function _createCSSStyleFill(PHPExcel_Style_Fill $pStyle) { - // Construct HTML - $css = array(); - - // Create CSS - $value = $pStyle->getFillType() == PHPExcel_Style_Fill::FILL_NONE ? - 'white' : '#' . $pStyle->getStartColor()->getRGB(); - $css['background-color'] = $value; - - // Return - return $css; - } - - /** - * Generate HTML footer - */ - public function generateHTMLFooter() { - // Construct HTML - $html = ''; - $html .= ' </body>' . PHP_EOL; - $html .= '</html>' . PHP_EOL; - - // Return - return $html; - } - - /** - * Generate table header - * - * @param PHPExcel_Worksheet $pSheet The worksheet for the table we are writing - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _generateTableHeader($pSheet) { - $sheetIndex = $pSheet->getParent()->getIndex($pSheet); - - // Construct HTML - $html = ''; - $html .= $this->_setMargins($pSheet); - - if (!$this->_useInlineCss) { - $gridlines = $pSheet->getShowGridlines() ? ' gridlines' : ''; - $html .= ' <table border="0" cellpadding="0" cellspacing="0" id="sheet' . $sheetIndex . '" class="sheet' . $sheetIndex . $gridlines . '">' . PHP_EOL; - } else { - $style = isset($this->_cssStyles['table']) ? - $this->_assembleCSS($this->_cssStyles['table']) : ''; - - if ($this->_isPdf && $pSheet->getShowGridlines()) { - $html .= ' <table border="1" cellpadding="1" id="sheet' . $sheetIndex . '" cellspacing="1" style="' . $style . '">' . PHP_EOL; - } else { - $html .= ' <table border="0" cellpadding="1" id="sheet' . $sheetIndex . '" cellspacing="0" style="' . $style . '">' . PHP_EOL; - } - } - - // Write <col> elements - $highestColumnIndex = PHPExcel_Cell::columnIndexFromString($pSheet->getHighestColumn()) - 1; - $i = -1; - while($i++ < $highestColumnIndex) { - if (!$this->_isPdf) { - if (!$this->_useInlineCss) { - $html .= ' <col class="col' . $i . '">' . PHP_EOL; - } else { - $style = isset($this->_cssStyles['table.sheet' . $sheetIndex . ' col.col' . $i]) ? - $this->_assembleCSS($this->_cssStyles['table.sheet' . $sheetIndex . ' col.col' . $i]) : ''; - $html .= ' <col style="' . $style . '">' . PHP_EOL; - } - } - } - - // Return - return $html; - } - - /** - * Generate table footer - * - * @throws PHPExcel_Writer_Exception - */ - private function _generateTableFooter() { - // Construct HTML - $html = ''; - $html .= ' </table>' . PHP_EOL; - - // Return - return $html; - } - - /** - * Generate row - * - * @param PHPExcel_Worksheet $pSheet PHPExcel_Worksheet - * @param array $pValues Array containing cells in a row - * @param int $pRow Row number (0-based) - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _generateRow(PHPExcel_Worksheet $pSheet, $pValues = null, $pRow = 0, $cellType = 'td') { - if (is_array($pValues)) { - // Construct HTML - $html = ''; - - // Sheet index - $sheetIndex = $pSheet->getParent()->getIndex($pSheet); - - // DomPDF and breaks - if ($this->_isPdf && count($pSheet->getBreaks()) > 0) { - $breaks = $pSheet->getBreaks(); - - // check if a break is needed before this row - if (isset($breaks['A' . $pRow])) { - // close table: </table> - $html .= $this->_generateTableFooter(); - - // insert page break - $html .= '<div style="page-break-before:always" />'; - - // open table again: <table> + <col> etc. - $html .= $this->_generateTableHeader($pSheet); - } - } - - // Write row start - if (!$this->_useInlineCss) { - $html .= ' <tr class="row' . $pRow . '">' . PHP_EOL; - } else { - $style = isset($this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]) - ? $this->_assembleCSS($this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]) : ''; - - $html .= ' <tr style="' . $style . '">' . PHP_EOL; - } - - // Write cells - $colNum = 0; - foreach ($pValues as $cellAddress) { - $cell = ($cellAddress > '') ? $pSheet->getCell($cellAddress) : ''; - $coordinate = PHPExcel_Cell::stringFromColumnIndex($colNum) . ($pRow + 1); - if (!$this->_useInlineCss) { - $cssClass = ''; - $cssClass = 'column' . $colNum; - } else { - $cssClass = array(); - if ($cellType == 'th') { - if (isset($this->_cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum])) { - $this->_cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum]; - } - } else { - if (isset($this->_cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum])) { - $this->_cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum]; - } - } - } - $colSpan = 1; - $rowSpan = 1; - - // initialize - $cellData = '&nbsp;'; - - // PHPExcel_Cell - if ($cell instanceof PHPExcel_Cell) { - $cellData = ''; - if (is_null($cell->getParent())) { - $cell->attach($pSheet); - } - // Value - if ($cell->getValue() instanceof PHPExcel_RichText) { - // Loop through rich text elements - $elements = $cell->getValue()->getRichTextElements(); - foreach ($elements as $element) { - // Rich text start? - if ($element instanceof PHPExcel_RichText_Run) { - $cellData .= '<span style="' . $this->_assembleCSS($this->_createCSSStyleFont($element->getFont())) . '">'; - - if ($element->getFont()->getSuperScript()) { - $cellData .= '<sup>'; - } else if ($element->getFont()->getSubScript()) { - $cellData .= '<sub>'; - } - } - - // Convert UTF8 data to PCDATA - $cellText = $element->getText(); - $cellData .= htmlspecialchars($cellText); - - if ($element instanceof PHPExcel_RichText_Run) { - if ($element->getFont()->getSuperScript()) { - $cellData .= '</sup>'; - } else if ($element->getFont()->getSubScript()) { - $cellData .= '</sub>'; - } - - $cellData .= '</span>'; - } - } - } else { - if ($this->_preCalculateFormulas) { - $cellData = PHPExcel_Style_NumberFormat::toFormattedString( - $cell->getCalculatedValue(), - $pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getNumberFormat()->getFormatCode(), - array($this, 'formatColor') - ); - } else { - $cellData = PHPExcel_Style_NumberFormat::toFormattedString( - $cell->getValue(), - $pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getNumberFormat()->getFormatCode(), - array($this, 'formatColor') - ); - } - $cellData = htmlspecialchars($cellData); - if ($pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getFont()->getSuperScript()) { - $cellData = '<sup>'.$cellData.'</sup>'; - } elseif ($pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getFont()->getSubScript()) { - $cellData = '<sub>'.$cellData.'</sub>'; - } - } - - // Converts the cell content so that spaces occuring at beginning of each new line are replaced by &nbsp; - // Example: " Hello\n to the world" is converted to "&nbsp;&nbsp;Hello\n&nbsp;to the world" - $cellData = preg_replace("/(?m)(?:^|\\G) /", '&nbsp;', $cellData); - - // convert newline "\n" to '<br>' - $cellData = nl2br($cellData); - - // Extend CSS class? - if (!$this->_useInlineCss) { - $cssClass .= ' style' . $cell->getXfIndex(); - $cssClass .= ' ' . $cell->getDataType(); - } else { - if ($cellType == 'th') { - if (isset($this->_cssStyles['th.style' . $cell->getXfIndex()])) { - $cssClass = array_merge($cssClass, $this->_cssStyles['th.style' . $cell->getXfIndex()]); - } - } else { - if (isset($this->_cssStyles['td.style' . $cell->getXfIndex()])) { - $cssClass = array_merge($cssClass, $this->_cssStyles['td.style' . $cell->getXfIndex()]); - } - } - - // General horizontal alignment: Actual horizontal alignment depends on dataType - $sharedStyle = $pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() ); - if ($sharedStyle->getAlignment()->getHorizontal() == PHPExcel_Style_Alignment::HORIZONTAL_GENERAL - && isset($this->_cssStyles['.' . $cell->getDataType()]['text-align'])) - { - $cssClass['text-align'] = $this->_cssStyles['.' . $cell->getDataType()]['text-align']; - } - } - } - - // Hyperlink? - if ($pSheet->hyperlinkExists($coordinate) && !$pSheet->getHyperlink($coordinate)->isInternal()) { - $cellData = '<a href="' . htmlspecialchars($pSheet->getHyperlink($coordinate)->getUrl()) . '" title="' . htmlspecialchars($pSheet->getHyperlink($coordinate)->getTooltip()) . '">' . $cellData . '</a>'; - } - - // Should the cell be written or is it swallowed by a rowspan or colspan? - $writeCell = ! ( isset($this->_isSpannedCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum]) - && $this->_isSpannedCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum] ); - - // Colspan and Rowspan - $colspan = 1; - $rowspan = 1; - if (isset($this->_isBaseCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum])) { - $spans = $this->_isBaseCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum]; - $rowSpan = $spans['rowspan']; - $colSpan = $spans['colspan']; - - // Also apply style from last cell in merge to fix borders - - // relies on !important for non-none border declarations in _createCSSStyleBorder - $endCellCoord = PHPExcel_Cell::stringFromColumnIndex($colNum + $colSpan - 1) . ($pRow + $rowSpan); - if (!$this->_useInlineCss) { - $cssClass .= ' style' . $pSheet->getCell($endCellCoord)->getXfIndex(); - } - } - - // Write - if ($writeCell) { - // Column start - $html .= ' <' . $cellType; - if (!$this->_useInlineCss) { - $html .= ' class="' . $cssClass . '"'; - } else { - //** Necessary redundant code for the sake of PHPExcel_Writer_PDF ** - // We must explicitly write the width of the <td> element because TCPDF - // does not recognize e.g. <col style="width:42pt"> - $width = 0; - $i = $colNum - 1; - $e = $colNum + $colSpan - 1; - while($i++ < $e) { - if (isset($this->_columnWidths[$sheetIndex][$i])) { - $width += $this->_columnWidths[$sheetIndex][$i]; - } - } - $cssClass['width'] = $width . 'pt'; - - // We must also explicitly write the height of the <td> element because TCPDF - // does not recognize e.g. <tr style="height:50pt"> - if (isset($this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]['height'])) { - $height = $this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]['height']; - $cssClass['height'] = $height; - } - //** end of redundant code ** - - $html .= ' style="' . $this->_assembleCSS($cssClass) . '"'; - } - if ($colSpan > 1) { - $html .= ' colspan="' . $colSpan . '"'; - } - if ($rowSpan > 1) { - $html .= ' rowspan="' . $rowSpan . '"'; - } - $html .= '>'; - - // Image? - $html .= $this->_writeImageInCell($pSheet, $coordinate); - - // Chart? - if ($this->_includeCharts) { - $html .= $this->_writeChartInCell($pSheet, $coordinate); - } - - // Cell data - $html .= $cellData; - - // Column end - $html .= '</'.$cellType.'>' . PHP_EOL; - } - - // Next column - ++$colNum; - } - - // Write row end - $html .= ' </tr>' . PHP_EOL; - - // Return - return $html; - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Takes array where of CSS properties / values and converts to CSS string - * - * @param array - * @return string - */ - private function _assembleCSS($pValue = array()) - { - $pairs = array(); - foreach ($pValue as $property => $value) { - $pairs[] = $property . ':' . $value; - } - $string = implode('; ', $pairs); - - return $string; - } - - /** - * Get images root - * - * @return string - */ - public function getImagesRoot() { - return $this->_imagesRoot; - } - - /** - * Set images root - * - * @param string $pValue - * @return PHPExcel_Writer_HTML - */ - public function setImagesRoot($pValue = '.') { - $this->_imagesRoot = $pValue; - return $this; - } - - /** - * Get embed images - * - * @return boolean - */ - public function getEmbedImages() { - return $this->_embedImages; - } - - /** - * Set embed images - * - * @param boolean $pValue - * @return PHPExcel_Writer_HTML - */ - public function setEmbedImages($pValue = '.') { - $this->_embedImages = $pValue; - return $this; - } - - /** - * Get use inline CSS? - * - * @return boolean - */ - public function getUseInlineCss() { - return $this->_useInlineCss; - } - - /** - * Set use inline CSS? - * - * @param boolean $pValue - * @return PHPExcel_Writer_HTML - */ - public function setUseInlineCss($pValue = false) { - $this->_useInlineCss = $pValue; - return $this; - } - - /** - * Add color to formatted string as inline style - * - * @param string $pValue Plain formatted value without color - * @param string $pFormat Format code - * @return string - */ - public function formatColor($pValue, $pFormat) - { - // Color information, e.g. [Red] is always at the beginning - $color = null; // initialize - $matches = array(); - - $color_regex = '/^\\[[a-zA-Z]+\\]/'; - if (preg_match($color_regex, $pFormat, $matches)) { - $color = str_replace('[', '', $matches[0]); - $color = str_replace(']', '', $color); - $color = strtolower($color); - } - - // convert to PCDATA - $value = htmlspecialchars($pValue); - - // color span tag - if ($color !== null) { - $value = '<span style="color:' . $color . '">' . $value . '</span>'; - } - - return $value; - } - - /** - * Calculate information about HTML colspan and rowspan which is not always the same as Excel's - */ - private function _calculateSpans() - { - // Identify all cells that should be omitted in HTML due to cell merge. - // In HTML only the upper-left cell should be written and it should have - // appropriate rowspan / colspan attribute - $sheetIndexes = $this->_sheetIndex !== null ? - array($this->_sheetIndex) : range(0, $this->_phpExcel->getSheetCount() - 1); - - foreach ($sheetIndexes as $sheetIndex) { - $sheet = $this->_phpExcel->getSheet($sheetIndex); - - $candidateSpannedRow = array(); - - // loop through all Excel merged cells - foreach ($sheet->getMergeCells() as $cells) { - list($cells, ) = PHPExcel_Cell::splitRange($cells); - $first = $cells[0]; - $last = $cells[1]; - - list($fc, $fr) = PHPExcel_Cell::coordinateFromString($first); - $fc = PHPExcel_Cell::columnIndexFromString($fc) - 1; - - list($lc, $lr) = PHPExcel_Cell::coordinateFromString($last); - $lc = PHPExcel_Cell::columnIndexFromString($lc) - 1; - - // loop through the individual cells in the individual merge - $r = $fr - 1; - while($r++ < $lr) { - // also, flag this row as a HTML row that is candidate to be omitted - $candidateSpannedRow[$r] = $r; - - $c = $fc - 1; - while($c++ < $lc) { - if ( !($c == $fc && $r == $fr) ) { - // not the upper-left cell (should not be written in HTML) - $this->_isSpannedCell[$sheetIndex][$r][$c] = array( - 'baseCell' => array($fr, $fc), - ); - } else { - // upper-left is the base cell that should hold the colspan/rowspan attribute - $this->_isBaseCell[$sheetIndex][$r][$c] = array( - 'xlrowspan' => $lr - $fr + 1, // Excel rowspan - 'rowspan' => $lr - $fr + 1, // HTML rowspan, value may change - 'xlcolspan' => $lc - $fc + 1, // Excel colspan - 'colspan' => $lc - $fc + 1, // HTML colspan, value may change - ); - } - } - } - } - - // Identify which rows should be omitted in HTML. These are the rows where all the cells - // participate in a merge and the where base cells are somewhere above. - $countColumns = PHPExcel_Cell::columnIndexFromString($sheet->getHighestColumn()); - foreach ($candidateSpannedRow as $rowIndex) { - if (isset($this->_isSpannedCell[$sheetIndex][$rowIndex])) { - if (count($this->_isSpannedCell[$sheetIndex][$rowIndex]) == $countColumns) { - $this->_isSpannedRow[$sheetIndex][$rowIndex] = $rowIndex; - }; - } - } - - // For each of the omitted rows we found above, the affected rowspans should be subtracted by 1 - if ( isset($this->_isSpannedRow[$sheetIndex]) ) { - foreach ($this->_isSpannedRow[$sheetIndex] as $rowIndex) { - $adjustedBaseCells = array(); - $c = -1; - $e = $countColumns - 1; - while($c++ < $e) { - $baseCell = $this->_isSpannedCell[$sheetIndex][$rowIndex][$c]['baseCell']; - - if ( !in_array($baseCell, $adjustedBaseCells) ) { - // subtract rowspan by 1 - --$this->_isBaseCell[$sheetIndex][ $baseCell[0] ][ $baseCell[1] ]['rowspan']; - $adjustedBaseCells[] = $baseCell; - } - } - } - } - - // TODO: Same for columns - } - - // We have calculated the spans - $this->_spansAreCalculated = true; - } - - private function _setMargins(PHPExcel_Worksheet $pSheet) { - $htmlPage = '@page { '; - $htmlBody = 'body { '; - - $left = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getLeft()) . 'in; '; - $htmlPage .= 'left-margin: ' . $left; - $htmlBody .= 'left-margin: ' . $left; - $right = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getRight()) . 'in; '; - $htmlPage .= 'right-margin: ' . $right; - $htmlBody .= 'right-margin: ' . $right; - $top = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getTop()) . 'in; '; - $htmlPage .= 'top-margin: ' . $top; - $htmlBody .= 'top-margin: ' . $top; - $bottom = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getBottom()) . 'in; '; - $htmlPage .= 'bottom-margin: ' . $bottom; - $htmlBody .= 'bottom-margin: ' . $bottom; - - $htmlPage .= "}\n"; - $htmlBody .= "}\n"; - - return "<style>\n" . $htmlPage . $htmlBody . "</style>\n"; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/IWriter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/IWriter.php deleted file mode 100644 index f0b94b9e9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/IWriter.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_IWriter - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_Writer_IWriter -{ - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL); - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument.php deleted file mode 100644 index 2cbe6f904..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument.php +++ /dev/null @@ -1,200 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - * @link http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os.html - */ -class PHPExcel_Writer_OpenDocument extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * Private writer parts - * - * @var PHPExcel_Writer_OpenDocument_WriterPart[] - */ - private $_writerParts = array(); - - /** - * Private PHPExcel - * - * @var PHPExcel - */ - private $_spreadSheet; - - /** - * Create a new PHPExcel_Writer_OpenDocument - * - * @param PHPExcel $pPHPExcel - */ - public function __construct(PHPExcel $pPHPExcel = null) - { - $this->setPHPExcel($pPHPExcel); - - $writerPartsArray = array( - 'content' => 'PHPExcel_Writer_OpenDocument_Content', - 'meta' => 'PHPExcel_Writer_OpenDocument_Meta', - 'meta_inf' => 'PHPExcel_Writer_OpenDocument_MetaInf', - 'mimetype' => 'PHPExcel_Writer_OpenDocument_Mimetype', - 'settings' => 'PHPExcel_Writer_OpenDocument_Settings', - 'styles' => 'PHPExcel_Writer_OpenDocument_Styles', - 'thumbnails' => 'PHPExcel_Writer_OpenDocument_Thumbnails' - ); - - foreach ($writerPartsArray as $writer => $class) { - $this->_writerParts[$writer] = new $class($this); - } - } - - /** - * Get writer part - * - * @param string $pPartName Writer part name - * @return PHPExcel_Writer_Excel2007_WriterPart - */ - public function getWriterPart($pPartName = '') - { - if ($pPartName != '' && isset($this->_writerParts[strtolower($pPartName)])) { - return $this->_writerParts[strtolower($pPartName)]; - } else { - return null; - } - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - if (!$this->_spreadSheet) { - throw new PHPExcel_Writer_Exception('PHPExcel object unassigned.'); - } - - // garbage collect - $this->_spreadSheet->garbageCollect(); - - // If $pFilename is php://output or php://stdout, make it a temporary file... - $originalFilename = $pFilename; - if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') { - $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp'); - if ($pFilename == '') { - $pFilename = $originalFilename; - } - } - - $objZip = $this->_createZip($pFilename); - - $objZip->addFromString('META-INF/manifest.xml', $this->getWriterPart('meta_inf')->writeManifest()); - $objZip->addFromString('Thumbnails/thumbnail.png', $this->getWriterPart('thumbnails')->writeThumbnail()); - $objZip->addFromString('content.xml', $this->getWriterPart('content')->write()); - $objZip->addFromString('meta.xml', $this->getWriterPart('meta')->write()); - $objZip->addFromString('mimetype', $this->getWriterPart('mimetype')->write()); - $objZip->addFromString('settings.xml', $this->getWriterPart('settings')->write()); - $objZip->addFromString('styles.xml', $this->getWriterPart('styles')->write()); - - // Close file - if ($objZip->close() === false) { - throw new PHPExcel_Writer_Exception("Could not close zip file $pFilename."); - } - - // If a temporary file was used, copy it to the correct file stream - if ($originalFilename != $pFilename) { - if (copy($pFilename, $originalFilename) === false) { - throw new PHPExcel_Writer_Exception("Could not copy temporary zip file $pFilename to $originalFilename."); - } - @unlink($pFilename); - } - } - - /** - * Create zip object - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - * @return ZipArchive - */ - private function _createZip($pFilename) - { - // Create new ZIP file and open it for writing - $zipClass = PHPExcel_Settings::getZipClass(); - $objZip = new $zipClass(); - - // Retrieve OVERWRITE and CREATE constants from the instantiated zip class - // This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP - $ro = new ReflectionObject($objZip); - $zipOverWrite = $ro->getConstant('OVERWRITE'); - $zipCreate = $ro->getConstant('CREATE'); - - if (file_exists($pFilename)) { - unlink($pFilename); - } - // Try opening the ZIP file - if ($objZip->open($pFilename, $zipOverWrite) !== true) { - if ($objZip->open($pFilename, $zipCreate) !== true) { - throw new PHPExcel_Writer_Exception("Could not open $pFilename for writing."); - } - } - - return $objZip; - } - - /** - * Get PHPExcel object - * - * @return PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function getPHPExcel() - { - if ($this->_spreadSheet !== null) { - return $this->_spreadSheet; - } else { - throw new PHPExcel_Writer_Exception('No PHPExcel assigned.'); - } - } - - /** - * Set PHPExcel object - * - * @param PHPExcel $pPHPExcel PHPExcel object - * @throws PHPExcel_Writer_Exception - * @return PHPExcel_Writer_Excel2007 - */ - public function setPHPExcel(PHPExcel $pPHPExcel = null) - { - $this->_spreadSheet = $pPHPExcel; - return $this; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Cell/Comment.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Cell/Comment.php deleted file mode 100644 index 88406ed1a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Cell/Comment.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Cell_Comment - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Cell_Comment -{ - public static function write(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Cell $cell) - { - $comments = $cell->getWorksheet()->getComments(); - if (!isset($comments[$cell->getCoordinate()])) { - return; - } - $comment = $comments[$cell->getCoordinate()]; - - $objWriter->startElement('office:annotation'); - //$objWriter->writeAttribute('draw:style-name', 'gr1'); - //$objWriter->writeAttribute('draw:text-style-name', 'P1'); - $objWriter->writeAttribute('svg:width', $comment->getWidth()); - $objWriter->writeAttribute('svg:height', $comment->getHeight()); - $objWriter->writeAttribute('svg:x', $comment->getMarginLeft()); - $objWriter->writeAttribute('svg:y', $comment->getMarginTop()); - //$objWriter->writeAttribute('draw:caption-point-x', $comment->getMarginLeft()); - //$objWriter->writeAttribute('draw:caption-point-y', $comment->getMarginTop()); - $objWriter->writeElement('dc:creator', $comment->getAuthor()); - // TODO: Not realized in PHPExcel_Comment yet. - //$objWriter->writeElement('dc:date', $comment->getDate()); - $objWriter->writeElement('text:p', $comment->getText()->getPlainText()); - //$objWriter->writeAttribute('draw:text-style-name', 'P1'); - $objWriter->endElement(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Content.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Content.php deleted file mode 100644 index 625b35417..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Content.php +++ /dev/null @@ -1,272 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Content - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Content extends PHPExcel_Writer_OpenDocument_WriterPart -{ - const NUMBER_COLS_REPEATED_MAX = 1024; - const NUMBER_ROWS_REPEATED_MAX = 1048576; - - /** - * Write content.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); /* @var $pPHPExcel PHPExcel */ - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Content - $objWriter->startElement('office:document-content'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:style', 'urn:oasis:names:tc:opendocument:xmlns:style:1.0'); - $objWriter->writeAttribute('xmlns:text', 'urn:oasis:names:tc:opendocument:xmlns:text:1.0'); - $objWriter->writeAttribute('xmlns:table', 'urn:oasis:names:tc:opendocument:xmlns:table:1.0'); - $objWriter->writeAttribute('xmlns:draw', 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0'); - $objWriter->writeAttribute('xmlns:fo', 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'); - $objWriter->writeAttribute('xmlns:number', 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0'); - $objWriter->writeAttribute('xmlns:presentation', 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0'); - $objWriter->writeAttribute('xmlns:svg', 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0'); - $objWriter->writeAttribute('xmlns:chart', 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0'); - $objWriter->writeAttribute('xmlns:dr3d', 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0'); - $objWriter->writeAttribute('xmlns:math', 'http://www.w3.org/1998/Math/MathML'); - $objWriter->writeAttribute('xmlns:form', 'urn:oasis:names:tc:opendocument:xmlns:form:1.0'); - $objWriter->writeAttribute('xmlns:script', 'urn:oasis:names:tc:opendocument:xmlns:script:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('xmlns:ooow', 'http://openoffice.org/2004/writer'); - $objWriter->writeAttribute('xmlns:oooc', 'http://openoffice.org/2004/calc'); - $objWriter->writeAttribute('xmlns:dom', 'http://www.w3.org/2001/xml-events'); - $objWriter->writeAttribute('xmlns:xforms', 'http://www.w3.org/2002/xforms'); - $objWriter->writeAttribute('xmlns:xsd', 'http://www.w3.org/2001/XMLSchema'); - $objWriter->writeAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance'); - $objWriter->writeAttribute('xmlns:rpt', 'http://openoffice.org/2005/report'); - $objWriter->writeAttribute('xmlns:of', 'urn:oasis:names:tc:opendocument:xmlns:of:1.2'); - $objWriter->writeAttribute('xmlns:xhtml', 'http://www.w3.org/1999/xhtml'); - $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#'); - $objWriter->writeAttribute('xmlns:tableooo', 'http://openoffice.org/2009/table'); - $objWriter->writeAttribute('xmlns:field', 'urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0'); - $objWriter->writeAttribute('xmlns:formx', 'urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0'); - $objWriter->writeAttribute('xmlns:css3t', 'http://www.w3.org/TR/css3-text/'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->writeElement('office:scripts'); - $objWriter->writeElement('office:font-face-decls'); - $objWriter->writeElement('office:automatic-styles'); - - $objWriter->startElement('office:body'); - $objWriter->startElement('office:spreadsheet'); - $objWriter->writeElement('table:calculation-settings'); - $this->_writeSheets($objWriter); - $objWriter->writeElement('table:named-expressions'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } - - /** - * Write sheets - * - * @param PHPExcel_Shared_XMLWriter $objWriter - */ - private function _writeSheets(PHPExcel_Shared_XMLWriter $objWriter) - { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); /* @var $pPHPExcel PHPExcel */ - - $sheet_count = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheet_count; $i++) { - //$this->getWriterPart('Worksheet')->writeWorksheet()); - $objWriter->startElement('table:table'); - $objWriter->writeAttribute('table:name', $pPHPExcel->getSheet($i)->getTitle()); - $objWriter->writeElement('office:forms'); - $objWriter->startElement('table:table-column'); - $objWriter->writeAttribute('table:number-columns-repeated', self::NUMBER_COLS_REPEATED_MAX); - $objWriter->endElement(); - $this->_writeRows($objWriter, $pPHPExcel->getSheet($i)); - $objWriter->endElement(); - } - } - - /** - * Write rows of the specified sheet - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param PHPExcel_Worksheet $sheet - */ - private function _writeRows(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Worksheet $sheet) - { - $number_rows_repeated = self::NUMBER_ROWS_REPEATED_MAX; - $span_row = 0; - $rows = $sheet->getRowIterator(); - while ($rows->valid()) { - $number_rows_repeated--; - $row = $rows->current(); - if ($row->getCellIterator()->valid()) { - if ($span_row) { - $objWriter->startElement('table:table-row'); - if ($span_row > 1) { - $objWriter->writeAttribute('table:number-rows-repeated', $span_row); - } - $objWriter->startElement('table:table-cell'); - $objWriter->writeAttribute('table:number-columns-repeated', self::NUMBER_COLS_REPEATED_MAX); - $objWriter->endElement(); - $objWriter->endElement(); - $span_row = 0; - } - $objWriter->startElement('table:table-row'); - $this->_writeCells($objWriter, $row); - $objWriter->endElement(); - } else { - $span_row++; - } - $rows->next(); - } - } - - /** - * Write cells of the specified row - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param PHPExcel_Worksheet_Row $row - * @throws PHPExcel_Writer_Exception - */ - private function _writeCells(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Worksheet_Row $row) - { - $number_cols_repeated = self::NUMBER_COLS_REPEATED_MAX; - $prev_column = -1; - $cells = $row->getCellIterator(); - while ($cells->valid()) { - $cell = $cells->current(); - $column = PHPExcel_Cell::columnIndexFromString($cell->getColumn()) - 1; - - $this->_writeCellSpan($objWriter, $column, $prev_column); - $objWriter->startElement('table:table-cell'); - - switch ($cell->getDataType()) { - case PHPExcel_Cell_DataType::TYPE_BOOL: - $objWriter->writeAttribute('office:value-type', 'boolean'); - $objWriter->writeAttribute('office:value', $cell->getValue()); - $objWriter->writeElement('text:p', $cell->getValue()); - break; - - case PHPExcel_Cell_DataType::TYPE_ERROR: - throw new PHPExcel_Writer_Exception('Writing of error not implemented yet.'); - break; - - case PHPExcel_Cell_DataType::TYPE_FORMULA: - try { - $formula_value = $cell->getCalculatedValue(); - } catch (Exception $e) { - $formula_value = $cell->getValue(); - } - $objWriter->writeAttribute('table:formula', 'of:' . $cell->getValue()); - if (is_numeric($formula_value)) { - $objWriter->writeAttribute('office:value-type', 'float'); - } else { - $objWriter->writeAttribute('office:value-type', 'string'); - } - $objWriter->writeAttribute('office:value', $formula_value); - $objWriter->writeElement('text:p', $formula_value); - break; - - case PHPExcel_Cell_DataType::TYPE_INLINE: - throw new PHPExcel_Writer_Exception('Writing of inline not implemented yet.'); - break; - - case PHPExcel_Cell_DataType::TYPE_NUMERIC: - $objWriter->writeAttribute('office:value-type', 'float'); - $objWriter->writeAttribute('office:value', $cell->getValue()); - $objWriter->writeElement('text:p', $cell->getValue()); - break; - - case PHPExcel_Cell_DataType::TYPE_STRING: - $objWriter->writeAttribute('office:value-type', 'string'); - $objWriter->writeElement('text:p', $cell->getValue()); - break; - } - PHPExcel_Writer_OpenDocument_Cell_Comment::write($objWriter, $cell); - $objWriter->endElement(); - $prev_column = $column; - $cells->next(); - } - $number_cols_repeated = $number_cols_repeated - $prev_column - 1; - if ($number_cols_repeated > 0) { - if ($number_cols_repeated > 1) { - $objWriter->startElement('table:table-cell'); - $objWriter->writeAttribute('table:number-columns-repeated', $number_cols_repeated); - $objWriter->endElement(); - } else { - $objWriter->writeElement('table:table-cell'); - } - } - } - - /** - * Write span - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param integer $curColumn - * @param integer $prevColumn - */ - private function _writeCellSpan(PHPExcel_Shared_XMLWriter $objWriter, $curColumn, $prevColumn) - { - $diff = $curColumn - $prevColumn - 1; - if (1 === $diff) { - $objWriter->writeElement('table:table-cell'); - } elseif ($diff > 1) { - $objWriter->startElement('table:table-cell'); - $objWriter->writeAttribute('table:number-columns-repeated', $diff); - $objWriter->endElement(); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Meta.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Meta.php deleted file mode 100644 index 7f39e5589..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Meta.php +++ /dev/null @@ -1,98 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Meta - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Meta extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write meta.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Meta - $objWriter->startElement('office:document-meta'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->startElement('office:meta'); - $objWriter->writeElement('meta:initial-creator', $pPHPExcel->getProperties()->getCreator()); - $objWriter->writeElement('dc:creator', $pPHPExcel->getProperties()->getCreator()); - $objWriter->writeElement('meta:creation-date', date(DATE_W3C, $pPHPExcel->getProperties()->getCreated())); - $objWriter->writeElement('dc:date', date(DATE_W3C, $pPHPExcel->getProperties()->getCreated())); - $objWriter->writeElement('dc:title', $pPHPExcel->getProperties()->getTitle()); - $objWriter->writeElement('dc:description', $pPHPExcel->getProperties()->getDescription()); - $objWriter->writeElement('dc:subject', $pPHPExcel->getProperties()->getSubject()); - $keywords = explode(' ', $pPHPExcel->getProperties()->getKeywords()); - foreach ($keywords as $keyword) { - $objWriter->writeElement('meta:keyword', $keyword); - } - //<meta:document-statistic meta:table-count="XXX" meta:cell-count="XXX" meta:object-count="XXX"/> - $objWriter->startElement('meta:user-defined'); - $objWriter->writeAttribute('meta:name', 'Company'); - $objWriter->writeRaw($pPHPExcel->getProperties()->getCompany()); - $objWriter->endElement(); - $objWriter->startElement('meta:user-defined'); - $objWriter->writeAttribute('meta:name', 'category'); - $objWriter->writeRaw($pPHPExcel->getProperties()->getCategory()); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/MetaInf.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/MetaInf.php deleted file mode 100644 index 301d39db9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/MetaInf.php +++ /dev/null @@ -1,96 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_MetaInf - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_MetaInf extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write META-INF/manifest.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeManifest(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Manifest - $objWriter->startElement('manifest:manifest'); - $objWriter->writeAttribute('xmlns:manifest', 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0'); - $objWriter->writeAttribute('manifest:version', '1.2'); - - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', '/'); - $objWriter->writeAttribute('manifest:version', '1.2'); - $objWriter->writeAttribute('manifest:media-type', 'application/vnd.oasis.opendocument.spreadsheet'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'meta.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'settings.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'content.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'Thumbnails/thumbnail.png'); - $objWriter->writeAttribute('manifest:media-type', 'image/png'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'styles.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Mimetype.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Mimetype.php deleted file mode 100644 index 99ff638a9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Mimetype.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Mimetype - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Mimetype extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write mimetype to plain text format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - return 'application/vnd.oasis.opendocument.spreadsheet'; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Settings.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Settings.php deleted file mode 100644 index 557e748d4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Settings.php +++ /dev/null @@ -1,85 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Settings - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Settings extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write settings.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Settings - $objWriter->startElement('office:document-settings'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:config', 'urn:oasis:names:tc:opendocument:xmlns:config:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->startElement('office:settings'); - $objWriter->startElement('config:config-item-set'); - $objWriter->writeAttribute('config:name', 'ooo:view-settings'); - $objWriter->startElement('config:config-item-map-indexed'); - $objWriter->writeAttribute('config:name', 'Views'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->startElement('config:config-item-set'); - $objWriter->writeAttribute('config:name', 'ooo:configuration-settings'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Styles.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Styles.php deleted file mode 100644 index d88673632..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Styles.php +++ /dev/null @@ -1,101 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Styles - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Styles extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write styles.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Content - $objWriter->startElement('office:document-styles'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:style', 'urn:oasis:names:tc:opendocument:xmlns:style:1.0'); - $objWriter->writeAttribute('xmlns:text', 'urn:oasis:names:tc:opendocument:xmlns:text:1.0'); - $objWriter->writeAttribute('xmlns:table', 'urn:oasis:names:tc:opendocument:xmlns:table:1.0'); - $objWriter->writeAttribute('xmlns:draw', 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0'); - $objWriter->writeAttribute('xmlns:fo', 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'); - $objWriter->writeAttribute('xmlns:number', 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0'); - $objWriter->writeAttribute('xmlns:presentation', 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0'); - $objWriter->writeAttribute('xmlns:svg', 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0'); - $objWriter->writeAttribute('xmlns:chart', 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0'); - $objWriter->writeAttribute('xmlns:dr3d', 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0'); - $objWriter->writeAttribute('xmlns:math', 'http://www.w3.org/1998/Math/MathML'); - $objWriter->writeAttribute('xmlns:form', 'urn:oasis:names:tc:opendocument:xmlns:form:1.0'); - $objWriter->writeAttribute('xmlns:script', 'urn:oasis:names:tc:opendocument:xmlns:script:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('xmlns:ooow', 'http://openoffice.org/2004/writer'); - $objWriter->writeAttribute('xmlns:oooc', 'http://openoffice.org/2004/calc'); - $objWriter->writeAttribute('xmlns:dom', 'http://www.w3.org/2001/xml-events'); - $objWriter->writeAttribute('xmlns:rpt', 'http://openoffice.org/2005/report'); - $objWriter->writeAttribute('xmlns:of', 'urn:oasis:names:tc:opendocument:xmlns:of:1.2'); - $objWriter->writeAttribute('xmlns:xhtml', 'http://www.w3.org/1999/xhtml'); - $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#'); - $objWriter->writeAttribute('xmlns:tableooo', 'http://openoffice.org/2009/table'); - $objWriter->writeAttribute('xmlns:css3t', 'http://www.w3.org/TR/css3-text/'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->writeElement('office:font-face-decls'); - $objWriter->writeElement('office:styles'); - $objWriter->writeElement('office:automatic-styles'); - $objWriter->writeElement('office:master-styles'); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Thumbnails.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Thumbnails.php deleted file mode 100644 index a7e85c456..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/Thumbnails.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Thumbnails - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Thumbnails extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write Thumbnails/thumbnail.png to PNG format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeThumbnail(PHPExcel $pPHPExcel = null) - { - return ''; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/WriterPart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/WriterPart.php deleted file mode 100644 index e6e713a1b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/OpenDocument/WriterPart.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_WriterPart - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_OpenDocument_WriterPart extends PHPExcel_Writer_Excel2007_WriterPart -{ -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF.php deleted file mode 100644 index 4111f8bd9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF.php +++ /dev/null @@ -1,90 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_PDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF -{ - - /** - * The wrapper for the requested PDF rendering engine - * - * @var PHPExcel_Writer_PDF_Core - */ - private $_renderer = NULL; - - /** - * Instantiate a new renderer of the configured type within this container class - * - * @param PHPExcel $phpExcel PHPExcel object - * @throws PHPExcel_Writer_Exception when PDF library is not configured - */ - public function __construct(PHPExcel $phpExcel) - { - $pdfLibraryName = PHPExcel_Settings::getPdfRendererName(); - if (is_null($pdfLibraryName)) { - throw new PHPExcel_Writer_Exception("PDF Rendering library has not been defined."); - } - - $pdfLibraryPath = PHPExcel_Settings::getPdfRendererPath(); - if (is_null($pdfLibraryName)) { - throw new PHPExcel_Writer_Exception("PDF Rendering library path has not been defined."); - } - $includePath = str_replace('\\', '/', get_include_path()); - $rendererPath = str_replace('\\', '/', $pdfLibraryPath); - if (strpos($rendererPath, $includePath) === false) { - set_include_path(get_include_path() . PATH_SEPARATOR . $pdfLibraryPath); - } - - $rendererName = 'PHPExcel_Writer_PDF_' . $pdfLibraryName; - $this->_renderer = new $rendererName($phpExcel); - } - - - /** - * Magic method to handle direct calls to the configured PDF renderer wrapper class. - * - * @param string $name Renderer library method name - * @param mixed[] $arguments Array of arguments to pass to the renderer method - * @return mixed Returned data from the PDF renderer wrapper method - */ - public function __call($name, $arguments) - { - if ($this->_renderer === NULL) { - throw new PHPExcel_Writer_Exception("PDF Rendering library has not been defined."); - } - - return call_user_func_array(array($this->_renderer, $name), $arguments); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/Core.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/Core.php deleted file mode 100644 index 3842334d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/Core.php +++ /dev/null @@ -1,364 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_PDF_Core - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_PDF_Core extends PHPExcel_Writer_HTML -{ - /** - * Temporary storage directory - * - * @var string - */ - protected $_tempDir = ''; - - /** - * Font - * - * @var string - */ - protected $_font = 'freesans'; - - /** - * Orientation (Over-ride) - * - * @var string - */ - protected $_orientation = NULL; - - /** - * Paper size (Over-ride) - * - * @var int - */ - protected $_paperSize = NULL; - - - /** - * Temporary storage for Save Array Return type - * - * @var string - */ - private $_saveArrayReturnType; - - /** - * Paper Sizes xRef List - * - * @var array - */ - protected static $_paperSizes = array( - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER - => 'LETTER', // (8.5 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_SMALL - => 'LETTER', // (8.5 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_TABLOID - => array(792.00, 1224.00), // (11 in. by 17 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEDGER - => array(1224.00, 792.00), // (17 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEGAL - => 'LEGAL', // (8.5 in. by 14 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STATEMENT - => array(396.00, 612.00), // (5.5 in. by 8.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_EXECUTIVE - => 'EXECUTIVE', // (7.25 in. by 10.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3 - => 'A3', // (297 mm by 420 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4 - => 'A4', // (210 mm by 297 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_SMALL - => 'A4', // (210 mm by 297 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5 - => 'A5', // (148 mm by 210 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B4 - => 'B4', // (250 mm by 353 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B5 - => 'B5', // (176 mm by 250 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_FOLIO - => 'FOLIO', // (8.5 in. by 13 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_QUARTO - => array(609.45, 779.53), // (215 mm by 275 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_1 - => array(720.00, 1008.00), // (10 in. by 14 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_2 - => array(792.00, 1224.00), // (11 in. by 17 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NOTE - => 'LETTER', // (8.5 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO9_ENVELOPE - => array(279.00, 639.00), // (3.875 in. by 8.875 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO10_ENVELOPE - => array(297.00, 684.00), // (4.125 in. by 9.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO11_ENVELOPE - => array(324.00, 747.00), // (4.5 in. by 10.375 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO12_ENVELOPE - => array(342.00, 792.00), // (4.75 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO14_ENVELOPE - => array(360.00, 828.00), // (5 in. by 11.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C - => array(1224.00, 1584.00), // (17 in. by 22 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_D - => array(1584.00, 2448.00), // (22 in. by 34 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_E - => array(2448.00, 3168.00), // (34 in. by 44 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_DL_ENVELOPE - => array(311.81, 623.62), // (110 mm by 220 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C5_ENVELOPE - => 'C5', // (162 mm by 229 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C3_ENVELOPE - => 'C3', // (324 mm by 458 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C4_ENVELOPE - => 'C4', // (229 mm by 324 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C6_ENVELOPE - => 'C6', // (114 mm by 162 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C65_ENVELOPE - => array(323.15, 649.13), // (114 mm by 229 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B4_ENVELOPE - => 'B4', // (250 mm by 353 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B5_ENVELOPE - => 'B5', // (176 mm by 250 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B6_ENVELOPE - => array(498.90, 354.33), // (176 mm by 125 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_ITALY_ENVELOPE - => array(311.81, 651.97), // (110 mm by 230 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_MONARCH_ENVELOPE - => array(279.00, 540.00), // (3.875 in. by 7.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_6_3_4_ENVELOPE - => array(261.00, 468.00), // (3.625 in. by 6.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_US_STANDARD_FANFOLD - => array(1071.00, 792.00), // (14.875 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_GERMAN_STANDARD_FANFOLD - => array(612.00, 864.00), // (8.5 in. by 12 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_GERMAN_LEGAL_FANFOLD - => 'FOLIO', // (8.5 in. by 13 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_ISO_B4 - => 'B4', // (250 mm by 353 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_JAPANESE_DOUBLE_POSTCARD - => array(566.93, 419.53), // (200 mm by 148 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_1 - => array(648.00, 792.00), // (9 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_2 - => array(720.00, 792.00), // (10 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_3 - => array(1080.00, 792.00), // (15 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_INVITE_ENVELOPE - => array(623.62, 623.62), // (220 mm by 220 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_EXTRA_PAPER - => array(667.80, 864.00), // (9.275 in. by 12 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEGAL_EXTRA_PAPER - => array(667.80, 1080.00), // (9.275 in. by 15 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_TABLOID_EXTRA_PAPER - => array(841.68, 1296.00), // (11.69 in. by 18 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_EXTRA_PAPER - => array(668.98, 912.76), // (236 mm by 322 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_TRANSVERSE_PAPER - => array(595.80, 792.00), // (8.275 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_TRANSVERSE_PAPER - => 'A4', // (210 mm by 297 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_EXTRA_TRANSVERSE_PAPER - => array(667.80, 864.00), // (9.275 in. by 12 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_SUPERA_SUPERA_A4_PAPER - => array(643.46, 1009.13), // (227 mm by 356 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_SUPERB_SUPERB_A3_PAPER - => array(864.57, 1380.47), // (305 mm by 487 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_PLUS_PAPER - => array(612.00, 913.68), // (8.5 in. by 12.69 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_PLUS_PAPER - => array(595.28, 935.43), // (210 mm by 330 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5_TRANSVERSE_PAPER - => 'A5', // (148 mm by 210 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_JIS_B5_TRANSVERSE_PAPER - => array(515.91, 728.50), // (182 mm by 257 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_EXTRA_PAPER - => array(912.76, 1261.42), // (322 mm by 445 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5_EXTRA_PAPER - => array(493.23, 666.14), // (174 mm by 235 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_ISO_B5_EXTRA_PAPER - => array(569.76, 782.36), // (201 mm by 276 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A2_PAPER - => 'A2', // (420 mm by 594 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_TRANSVERSE_PAPER - => 'A3', // (297 mm by 420 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_EXTRA_TRANSVERSE_PAPER - => array(912.76, 1261.42) // (322 mm by 445 mm) - ); - - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - $this->setUseInlineCss(TRUE); - $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir(); - } - - /** - * Get Font - * - * @return string - */ - public function getFont() - { - return $this->_font; - } - - /** - * Set font. Examples: - * 'arialunicid0-chinese-simplified' - * 'arialunicid0-chinese-traditional' - * 'arialunicid0-korean' - * 'arialunicid0-japanese' - * - * @param string $fontName - */ - public function setFont($fontName) - { - $this->_font = $fontName; - return $this; - } - - /** - * Get Paper Size - * - * @return int - */ - public function getPaperSize() - { - return $this->_paperSize; - } - - /** - * Set Paper Size - * - * @param string $pValue Paper size - * @return PHPExcel_Writer_PDF - */ - public function setPaperSize($pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER) - { - $this->_paperSize = $pValue; - return $this; - } - - /** - * Get Orientation - * - * @return string - */ - public function getOrientation() - { - return $this->_orientation; - } - - /** - * Set Orientation - * - * @param string $pValue Page orientation - * @return PHPExcel_Writer_PDF - */ - public function setOrientation($pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) - { - $this->_orientation = $pValue; - return $this; - } - - /** - * Get temporary storage directory - * - * @return string - */ - public function getTempDir() - { - return $this->_tempDir; - } - - /** - * Set temporary storage directory - * - * @param string $pValue Temporary storage directory - * @throws PHPExcel_Writer_Exception when directory does not exist - * @return PHPExcel_Writer_PDF - */ - public function setTempDir($pValue = '') - { - if (is_dir($pValue)) { - $this->_tempDir = $pValue; - } else { - throw new PHPExcel_Writer_Exception("Directory does not exist: $pValue"); - } - return $this; - } - - /** - * Save PHPExcel to PDF file, pre-save - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - protected function prepareForSave($pFilename = NULL) - { - // garbage collect - $this->_phpExcel->garbageCollect(); - - $this->_saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); - PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); - - // Open file - $fileHandle = fopen($pFilename, 'w'); - if ($fileHandle === FALSE) { - throw new PHPExcel_Writer_Exception("Could not open file $pFilename for writing."); - } - - // Set PDF - $this->_isPdf = TRUE; - // Build CSS - $this->buildCSS(TRUE); - - return $fileHandle; - } - - /** - * Save PHPExcel to PDF file, post-save - * - * @param resource $fileHandle - * @throws PHPExcel_Writer_Exception - */ - protected function restoreStateAfterSave($fileHandle) - { - // Close file - fclose($fileHandle); - - PHPExcel_Calculation::setArrayReturnType($this->_saveArrayReturnType); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/DomPDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/DomPDF.php deleted file mode 100644 index 01e4e0122..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/DomPDF.php +++ /dev/null @@ -1,122 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** Require DomPDF library */ -$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/dompdf_config.inc.php'; -if (file_exists($pdfRendererClassFile)) { - require_once $pdfRendererClassFile; -} else { - throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library'); -} - -/** - * PHPExcel_Writer_PDF_DomPDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF_DomPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter -{ - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - $fileHandle = parent::prepareForSave($pFilename); - - // Default PDF paper size - $paperSize = 'LETTER'; // Letter (8.5 in. by 11 in.) - - // Check for paper size and page orientation - if (is_null($this->getSheetIndex())) { - $orientation = ($this->_phpExcel->getSheet(0)->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet(0)->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet(0)->getPageMargins(); - } else { - $orientation = ($this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageMargins(); - } - - - $orientation = ($orientation == 'L') ? 'landscape' : 'portrait'; - - // Override Page Orientation - if (!is_null($this->getOrientation())) { - $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) - ? PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT - : $this->getOrientation(); - } - // Override Paper Size - if (!is_null($this->getPaperSize())) { - $printPaperSize = $this->getPaperSize(); - } - - if (isset(self::$_paperSizes[$printPaperSize])) { - $paperSize = self::$_paperSizes[$printPaperSize]; - } - - - // Create PDF - $pdf = new DOMPDF(); - $pdf->set_paper(strtolower($paperSize), $orientation); - - $pdf->load_html( - $this->generateHTMLHeader(FALSE) . - $this->generateSheetData() . - $this->generateHTMLFooter() - ); - $pdf->render(); - - // Write to file - fwrite($fileHandle, $pdf->output()); - - parent::restoreStateAfterSave($fileHandle); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/mPDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/mPDF.php deleted file mode 100644 index dddc097d3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/mPDF.php +++ /dev/null @@ -1,130 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** Require mPDF library */ -$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/mpdf.php'; -if (file_exists($pdfRendererClassFile)) { - require_once $pdfRendererClassFile; -} else { - throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library'); -} - -/** - * PHPExcel_Writer_PDF_mPDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF_mPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter -{ - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - $fileHandle = parent::prepareForSave($pFilename); - - // Default PDF paper size - $paperSize = 'LETTER'; // Letter (8.5 in. by 11 in.) - - // Check for paper size and page orientation - if (is_null($this->getSheetIndex())) { - $orientation = ($this->_phpExcel->getSheet(0)->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet(0)->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet(0)->getPageMargins(); - } else { - $orientation = ($this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageMargins(); - } - $this->setOrientation($orientation); - - // Override Page Orientation - if (!is_null($this->getOrientation())) { - $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) - ? PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT - : $this->getOrientation(); - } - $orientation = strtoupper($orientation); - - // Override Paper Size - if (!is_null($this->getPaperSize())) { - $printPaperSize = $this->getPaperSize(); - } - - if (isset(self::$_paperSizes[$printPaperSize])) { - $paperSize = self::$_paperSizes[$printPaperSize]; - } - - // Create PDF - $pdf = new mpdf(); - $ortmp = $orientation; - $pdf->_setPageSize(strtoupper($paperSize), $ortmp); - $pdf->DefOrientation = $orientation; - $pdf->AddPage($orientation); - - // Document info - $pdf->SetTitle($this->_phpExcel->getProperties()->getTitle()); - $pdf->SetAuthor($this->_phpExcel->getProperties()->getCreator()); - $pdf->SetSubject($this->_phpExcel->getProperties()->getSubject()); - $pdf->SetKeywords($this->_phpExcel->getProperties()->getKeywords()); - $pdf->SetCreator($this->_phpExcel->getProperties()->getCreator()); - - $pdf->WriteHTML( - $this->generateHTMLHeader(FALSE) . - $this->generateSheetData() . - $this->generateHTMLFooter() - ); - - // Write to file - fwrite($fileHandle, $pdf->Output('', 'S')); - - parent::restoreStateAfterSave($fileHandle); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/tcPDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/tcPDF.php deleted file mode 100644 index 4e1937afc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/PDF/tcPDF.php +++ /dev/null @@ -1,136 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** Require tcPDF library */ -$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/tcpdf.php'; -if (file_exists($pdfRendererClassFile)) { - $k_path_url = PHPExcel_Settings::getPdfRendererPath(); - require_once $pdfRendererClassFile; -} else { - throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library'); -} - -/** - * PHPExcel_Writer_PDF_tcPDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF_tcPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter -{ - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - $fileHandle = parent::prepareForSave($pFilename); - - // Default PDF paper size - $paperSize = 'LETTER'; // Letter (8.5 in. by 11 in.) - - // Check for paper size and page orientation - if (is_null($this->getSheetIndex())) { - $orientation = ($this->_phpExcel->getSheet(0)->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet(0)->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet(0)->getPageMargins(); - } else { - $orientation = ($this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageMargins(); - } - - // Override Page Orientation - if (!is_null($this->getOrientation())) { - $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - } - // Override Paper Size - if (!is_null($this->getPaperSize())) { - $printPaperSize = $this->getPaperSize(); - } - - if (isset(self::$_paperSizes[$printPaperSize])) { - $paperSize = self::$_paperSizes[$printPaperSize]; - } - - - // Create PDF - $pdf = new TCPDF($orientation, 'pt', $paperSize); - $pdf->setFontSubsetting(FALSE); - // Set margins, converting inches to points (using 72 dpi) - $pdf->SetMargins($printMargins->getLeft() * 72, $printMargins->getTop() * 72, $printMargins->getRight() * 72); - $pdf->SetAutoPageBreak(TRUE, $printMargins->getBottom() * 72); - - $pdf->setPrintHeader(FALSE); - $pdf->setPrintFooter(FALSE); - - $pdf->AddPage(); - - // Set the appropriate font - $pdf->SetFont($this->getFont()); - $pdf->writeHTML( - $this->generateHTMLHeader(FALSE) . - $this->generateSheetData() . - $this->generateHTMLFooter() - ); - - // Document info - $pdf->SetTitle($this->_phpExcel->getProperties()->getTitle()); - $pdf->SetAuthor($this->_phpExcel->getProperties()->getCreator()); - $pdf->SetSubject($this->_phpExcel->getProperties()->getSubject()); - $pdf->SetKeywords($this->_phpExcel->getProperties()->getKeywords()); - $pdf->SetCreator($this->_phpExcel->getProperties()->getCreator()); - - // Write to file - fwrite($fileHandle, $pdf->output($pFilename, 'S')); - - parent::restoreStateAfterSave($fileHandle); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/Writer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/bg/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/bg/config deleted file mode 100644 index 4cecddb3c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/bg/config +++ /dev/null @@ -1,49 +0,0 @@ -## -## PHPExcel -## - -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = лв - - -## -## Excel Error Codes (For future use) - -## -NULL = #ПРАЗНО! -DIV0 = #ДЕЛ/0! -VALUE = #СТОЙНОСТ! -REF = #РЕФ! -NAME = #ИМЕ? -NUM = #ЧИСЛО! -NA = #Н/Д diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/config deleted file mode 100644 index 42cdf3267..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = Kč - - -## -## Excel Error Codes (For future use) -## -NULL = #NULL! -DIV0 = #DIV/0! -VALUE = #HODNOTA! -REF = #REF! -NAME = #NÁZEV? -NUM = #NUM! -NA = #N/A diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/functions deleted file mode 100644 index c0a3cbbf9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funkce doplňků a automatizace -## -GETPIVOTDATA = ZÍSKATKONTDATA ## Vrátí data uložená v kontingenční tabulce. Pomocí funkce ZÍSKATKONTDATA můžete načíst souhrnná data z kontingenční tabulky, pokud jsou tato data v kontingenční sestavě zobrazena. - - -## -## Cube functions Funkce pro práci s krychlemi -## -CUBEKPIMEMBER = CUBEKPIMEMBER ## Vrátí název, vlastnost a velikost klíčového ukazatele výkonu (KUV) a zobrazí v buňce název a vlastnost. Klíčový ukazatel výkonu je kvantifikovatelná veličina, například hrubý měsíční zisk nebo čtvrtletní obrat na zaměstnance, která se používá pro sledování výkonnosti organizace. -CUBEMEMBER = CUBEMEMBER ## Vrátí člen nebo n-tici v hierarchii krychle. Slouží k ověření, zda v krychli existuje člen nebo n-tice. -CUBEMEMBERPROPERTY = CUBEMEMBERPROPERTY ## Vrátí hodnotu vlastnosti člena v krychli. Slouží k ověření, zda v krychli existuje člen s daným názvem, a k vrácení konkrétní vlastnosti tohoto člena. -CUBERANKEDMEMBER = CUBERANKEDMEMBER ## Vrátí n-tý nebo pořadový člen sady. Použijte ji pro vrácení jednoho nebo více prvků sady, například obchodníka s nejvyšším obratem nebo deseti nejlepších studentů. -CUBESET = CUBESET ## Definuje vypočtenou sadu členů nebo n-tic odesláním výrazu sady do krychle na serveru, který vytvoří sadu a potom ji vrátí do aplikace Microsoft Office Excel. -CUBESETCOUNT = CUBESETCOUNT ## Vrátí počet položek v množině -CUBEVALUE = CUBEVALUE ## Vrátí úhrnnou hodnotu z krychle. - - -## -## Database functions Funkce databáze -## -DAVERAGE = DPRŮMĚR ## Vrátí průměr vybraných položek databáze. -DCOUNT = DPOČET ## Spočítá buňky databáze obsahující čísla. -DCOUNTA = DPOČET2 ## Spočítá buňky databáze, které nejsou prázdné. -DGET = DZÍSKAT ## Extrahuje z databáze jeden záznam splňující zadaná kritéria. -DMAX = DMAX ## Vrátí maximální hodnotu z vybraných položek databáze. -DMIN = DMIN ## Vrátí minimální hodnotu z vybraných položek databáze. -DPRODUCT = DSOUČIN ## Vynásobí hodnoty určitého pole záznamů v databázi, které splňují daná kritéria. -DSTDEV = DSMODCH.VÝBĚR ## Odhadne směrodatnou odchylku výběru vybraných položek databáze. -DSTDEVP = DSMODCH ## Vypočte směrodatnou odchylku základního souboru vybraných položek databáze. -DSUM = DSUMA ## Sečte čísla ve sloupcovém poli záznamů databáze, která splňují daná kritéria. -DVAR = DVAR.VÝBĚR ## Odhadne rozptyl výběru vybraných položek databáze. -DVARP = DVAR ## Vypočte rozptyl základního souboru vybraných položek databáze. - - -## -## Date and time functions Funkce data a času -## -DATE = DATUM ## Vrátí pořadové číslo určitého data. -DATEVALUE = DATUMHODN ## Převede datum ve formě textu na pořadové číslo. -DAY = DEN ## Převede pořadové číslo na den v měsíci. -DAYS360 = ROK360 ## Vrátí počet dní mezi dvěma daty na základě roku s 360 dny. -EDATE = EDATE ## Vrátí pořadové číslo data, které označuje určený počet měsíců před nebo po počátečním datu. -EOMONTH = EOMONTH ## Vrátí pořadové číslo posledního dne měsíce před nebo po zadaném počtu měsíců. -HOUR = HODINA ## Převede pořadové číslo na hodinu. -MINUTE = MINUTA ## Převede pořadové číslo na minutu. -MONTH = MĚSÍC ## Převede pořadové číslo na měsíc. -NETWORKDAYS = NETWORKDAYS ## Vrátí počet celých pracovních dní mezi dvěma daty. -NOW = NYNÍ ## Vrátí pořadové číslo aktuálního data a času. -SECOND = SEKUNDA ## Převede pořadové číslo na sekundu. -TIME = ČAS ## Vrátí pořadové číslo určitého času. -TIMEVALUE = ČASHODN ## Převede čas ve formě textu na pořadové číslo. -TODAY = DNES ## Vrátí pořadové číslo dnešního data. -WEEKDAY = DENTÝDNE ## Převede pořadové číslo na den v týdnu. -WEEKNUM = WEEKNUM ## Převede pořadové číslo na číslo představující číselnou pozici týdne v roce. -WORKDAY = WORKDAY ## Vrátí pořadové číslo data před nebo po zadaném počtu pracovních dní. -YEAR = ROK ## Převede pořadové číslo na rok. -YEARFRAC = YEARFRAC ## Vrátí část roku vyjádřenou zlomkem a představující počet celých dní mezi počátečním a koncovým datem. - - -## -## Engineering functions Inženýrské funkce (Technické funkce) -## -BESSELI = BESSELI ## Vrátí modifikovanou Besselovu funkci In(x). -BESSELJ = BESSELJ ## Vrátí modifikovanou Besselovu funkci Jn(x). -BESSELK = BESSELK ## Vrátí modifikovanou Besselovu funkci Kn(x). -BESSELY = BESSELY ## Vrátí Besselovu funkci Yn(x). -BIN2DEC = BIN2DEC ## Převede binární číslo na desítkové. -BIN2HEX = BIN2HEX ## Převede binární číslo na šestnáctkové. -BIN2OCT = BIN2OCT ## Převede binární číslo na osmičkové. -COMPLEX = COMPLEX ## Převede reálnou a imaginární část na komplexní číslo. -CONVERT = CONVERT ## Převede číslo do jiného jednotkového měrného systému. -DEC2BIN = DEC2BIN ## Převede desítkového čísla na dvojkové -DEC2HEX = DEC2HEX ## Převede desítkové číslo na šestnáctkové. -DEC2OCT = DEC2OCT ## Převede desítkové číslo na osmičkové. -DELTA = DELTA ## Testuje rovnost dvou hodnot. -ERF = ERF ## Vrátí chybovou funkci. -ERFC = ERFC ## Vrátí doplňkovou chybovou funkci. -GESTEP = GESTEP ## Testuje, zda je číslo větší než mezní hodnota. -HEX2BIN = HEX2BIN ## Převede šestnáctkové číslo na binární. -HEX2DEC = HEX2DEC ## Převede šestnáctkové číslo na desítkové. -HEX2OCT = HEX2OCT ## Převede šestnáctkové číslo na osmičkové. -IMABS = IMABS ## Vrátí absolutní hodnotu (modul) komplexního čísla. -IMAGINARY = IMAGINARY ## Vrátí imaginární část komplexního čísla. -IMARGUMENT = IMARGUMENT ## Vrátí argument théta, úhel vyjádřený v radiánech. -IMCONJUGATE = IMCONJUGATE ## Vrátí komplexně sdružené číslo ke komplexnímu číslu. -IMCOS = IMCOS ## Vrátí kosinus komplexního čísla. -IMDIV = IMDIV ## Vrátí podíl dvou komplexních čísel. -IMEXP = IMEXP ## Vrátí exponenciální tvar komplexního čísla. -IMLN = IMLN ## Vrátí přirozený logaritmus komplexního čísla. -IMLOG10 = IMLOG10 ## Vrátí dekadický logaritmus komplexního čísla. -IMLOG2 = IMLOG2 ## Vrátí logaritmus komplexního čísla při základu 2. -IMPOWER = IMPOWER ## Vrátí komplexní číslo umocněné na celé číslo. -IMPRODUCT = IMPRODUCT ## Vrátí součin komplexních čísel. -IMREAL = IMREAL ## Vrátí reálnou část komplexního čísla. -IMSIN = IMSIN ## Vrátí sinus komplexního čísla. -IMSQRT = IMSQRT ## Vrátí druhou odmocninu komplexního čísla. -IMSUB = IMSUB ## Vrátí rozdíl mezi dvěma komplexními čísly. -IMSUM = IMSUM ## Vrátí součet dvou komplexních čísel. -OCT2BIN = OCT2BIN ## Převede osmičkové číslo na binární. -OCT2DEC = OCT2DEC ## Převede osmičkové číslo na desítkové. -OCT2HEX = OCT2HEX ## Převede osmičkové číslo na šestnáctkové. - - -## -## Financial functions Finanční funkce -## -ACCRINT = ACCRINT ## Vrátí nahromaděný úrok z cenného papíru, ze kterého je úrok placen v pravidelných termínech. -ACCRINTM = ACCRINTM ## Vrátí nahromaděný úrok z cenného papíru, ze kterého je úrok placen k datu splatnosti. -AMORDEGRC = AMORDEGRC ## Vrátí lineární amortizaci v každém účetním období pomocí koeficientu amortizace. -AMORLINC = AMORLINC ## Vrátí lineární amortizaci v každém účetním období. -COUPDAYBS = COUPDAYBS ## Vrátí počet dnů od začátku období placení kupónů do data splatnosti. -COUPDAYS = COUPDAYS ## Vrátí počet dnů v období placení kupónů, které obsahuje den zúčtování. -COUPDAYSNC = COUPDAYSNC ## Vrátí počet dnů od data zúčtování do následujícího data placení kupónu. -COUPNCD = COUPNCD ## Vrátí následující datum placení kupónu po datu zúčtování. -COUPNUM = COUPNUM ## Vrátí počet kupónů splatných mezi datem zúčtování a datem splatnosti. -COUPPCD = COUPPCD ## Vrátí předchozí datum placení kupónu před datem zúčtování. -CUMIPMT = CUMIPMT ## Vrátí kumulativní úrok splacený mezi dvěma obdobími. -CUMPRINC = CUMPRINC ## Vrátí kumulativní jistinu splacenou mezi dvěma obdobími půjčky. -DB = ODPIS.ZRYCH ## Vrátí odpis aktiva za určité období pomocí degresivní metody odpisu s pevným zůstatkem. -DDB = ODPIS.ZRYCH2 ## Vrátí odpis aktiva za určité období pomocí dvojité degresivní metody odpisu nebo jiné metody, kterou zadáte. -DISC = DISC ## Vrátí diskontní sazbu cenného papíru. -DOLLARDE = DOLLARDE ## Převede částku v korunách vyjádřenou zlomkem na částku v korunách vyjádřenou desetinným číslem. -DOLLARFR = DOLLARFR ## Převede částku v korunách vyjádřenou desetinným číslem na částku v korunách vyjádřenou zlomkem. -DURATION = DURATION ## Vrátí roční dobu cenného papíru s pravidelnými úrokovými sazbami. -EFFECT = EFFECT ## Vrátí efektivní roční úrokovou sazbu. -FV = BUDHODNOTA ## Vrátí budoucí hodnotu investice. -FVSCHEDULE = FVSCHEDULE ## Vrátí budoucí hodnotu počáteční jistiny po použití série sazeb složitého úroku. -INTRATE = INTRATE ## Vrátí úrokovou sazbu plně investovaného cenného papíru. -IPMT = PLATBA.ÚROK ## Vrátí výšku úroku investice za dané období. -IRR = MÍRA.VÝNOSNOSTI ## Vrátí vnitřní výnosové procento série peněžních toků. -ISPMT = ISPMT ## Vypočte výši úroku z investice zaplaceného během určitého období. -MDURATION = MDURATION ## Vrátí Macauleyho modifikovanou dobu cenného papíru o nominální hodnotě 100 Kč. -MIRR = MOD.MÍRA.VÝNOSNOSTI ## Vrátí vnitřní sazbu výnosu, přičemž kladné a záporné hodnoty peněžních prostředků jsou financovány podle různých sazeb. -NOMINAL = NOMINAL ## Vrátí nominální roční úrokovou sazbu. -NPER = POČET.OBDOBÍ ## Vrátí počet období pro investici. -NPV = ČISTÁ.SOUČHODNOTA ## Vrátí čistou současnou hodnotu investice vypočítanou na základě série pravidelných peněžních toků a diskontní sazby. -ODDFPRICE = ODDFPRICE ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč s odlišným prvním obdobím. -ODDFYIELD = ODDFYIELD ## Vrátí výnos cenného papíru s odlišným prvním obdobím. -ODDLPRICE = ODDLPRICE ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč s odlišným posledním obdobím. -ODDLYIELD = ODDLYIELD ## Vrátí výnos cenného papíru s odlišným posledním obdobím. -PMT = PLATBA ## Vrátí hodnotu pravidelné splátky anuity. -PPMT = PLATBA.ZÁKLAD ## Vrátí hodnotu splátky jistiny pro zadanou investici za dané období. -PRICE = PRICE ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč, ze kterého je úrok placen v pravidelných termínech. -PRICEDISC = PRICEDISC ## Vrátí cenu diskontního cenného papíru o nominální hodnotě 100 Kč. -PRICEMAT = PRICEMAT ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč, ze kterého je úrok placen k datu splatnosti. -PV = SOUČHODNOTA ## Vrátí současnou hodnotu investice. -RATE = ÚROKOVÁ.MÍRA ## Vrátí úrokovou sazbu vztaženou na období anuity. -RECEIVED = RECEIVED ## Vrátí částku obdrženou k datu splatnosti plně investovaného cenného papíru. -SLN = ODPIS.LIN ## Vrátí přímé odpisy aktiva pro jedno období. -SYD = ODPIS.NELIN ## Vrátí směrné číslo ročních odpisů aktiva pro zadané období. -TBILLEQ = TBILLEQ ## Vrátí výnos směnky státní pokladny ekvivalentní výnosu obligace. -TBILLPRICE = TBILLPRICE ## Vrátí cenu směnky státní pokladny o nominální hodnotě 100 Kč. -TBILLYIELD = TBILLYIELD ## Vrátí výnos směnky státní pokladny. -VDB = ODPIS.ZA.INT ## Vrátí odpis aktiva pro určité období nebo část období pomocí degresivní metody odpisu. -XIRR = XIRR ## Vrátí vnitřní výnosnost pro harmonogram peněžních toků, který nemusí být nutně periodický. -XNPV = XNPV ## Vrátí čistou současnou hodnotu pro harmonogram peněžních toků, který nemusí být nutně periodický. -YIELD = YIELD ## Vrátí výnos cenného papíru, ze kterého je úrok placen v pravidelných termínech. -YIELDDISC = YIELDDISC ## Vrátí roční výnos diskontního cenného papíru, například směnky státní pokladny. -YIELDMAT = YIELDMAT ## Vrátí roční výnos cenného papíru, ze kterého je úrok placen k datu splatnosti. - - -## -## Information functions Informační funkce -## -CELL = POLÍČKO ## Vrátí informace o formátování, umístění nebo obsahu buňky. -ERROR.TYPE = CHYBA.TYP ## Vrátí číslo odpovídající typu chyby. -INFO = O.PROSTŘEDÍ ## Vrátí informace o aktuálním pracovním prostředí. -ISBLANK = JE.PRÁZDNÉ ## Vrátí hodnotu PRAVDA, pokud se argument hodnota odkazuje na prázdnou buňku. -ISERR = JE.CHYBA ## Vrátí hodnotu PRAVDA, pokud je argument hodnota libovolná chybová hodnota (kromě #N/A). -ISERROR = JE.CHYBHODN ## Vrátí hodnotu PRAVDA, pokud je argument hodnota libovolná chybová hodnota. -ISEVEN = ISEVEN ## Vrátí hodnotu PRAVDA, pokud je číslo sudé. -ISLOGICAL = JE.LOGHODN ## Vrátí hodnotu PRAVDA, pokud je argument hodnota logická hodnota. -ISNA = JE.NEDEF ## Vrátí hodnotu PRAVDA, pokud je argument hodnota chybová hodnota #N/A. -ISNONTEXT = JE.NETEXT ## Vrátí hodnotu PRAVDA, pokud argument hodnota není text. -ISNUMBER = JE.ČÍSLO ## Vrátí hodnotu PRAVDA, pokud je argument hodnota číslo. -ISODD = ISODD ## Vrátí hodnotu PRAVDA, pokud je číslo liché. -ISREF = JE.ODKAZ ## Vrátí hodnotu PRAVDA, pokud je argument hodnota odkaz. -ISTEXT = JE.TEXT ## Vrátí hodnotu PRAVDA, pokud je argument hodnota text. -N = N ## Vrátí hodnotu převedenou na číslo. -NA = NEDEF ## Vrátí chybovou hodnotu #N/A. -TYPE = TYP ## Vrátí číslo označující datový typ hodnoty. - - -## -## Logical functions Logické funkce -## -AND = A ## Vrátí hodnotu PRAVDA, mají-li všechny argumenty hodnotu PRAVDA. -FALSE = NEPRAVDA ## Vrátí logickou hodnotu NEPRAVDA. -IF = KDYŽ ## Určí, který logický test má proběhnout. -IFERROR = IFERROR ## Pokud je vzorec vyhodnocen jako chyba, vrátí zadanou hodnotu. V opačném případě vrátí výsledek vzorce. -NOT = NE ## Provede logickou negaci argumentu funkce. -OR = NEBO ## Vrátí hodnotu PRAVDA, je-li alespoň jeden argument roven hodnotě PRAVDA. -TRUE = PRAVDA ## Vrátí logickou hodnotu PRAVDA. - - -## -## Lookup and reference functions Vyhledávací funkce -## -ADDRESS = ODKAZ ## Vrátí textový odkaz na jednu buňku listu. -AREAS = POČET.BLOKŮ ## Vrátí počet oblastí v odkazu. -CHOOSE = ZVOLIT ## Zvolí hodnotu ze seznamu hodnot. -COLUMN = SLOUPEC ## Vrátí číslo sloupce odkazu. -COLUMNS = SLOUPCE ## Vrátí počet sloupců v odkazu. -HLOOKUP = VVYHLEDAT ## Prohledá horní řádek matice a vrátí hodnotu určené buňky. -HYPERLINK = HYPERTEXTOVÝ.ODKAZ ## Vytvoří zástupce nebo odkaz, který otevře dokument uložený na síťovém serveru, v síti intranet nebo Internet. -INDEX = INDEX ## Pomocí rejstříku zvolí hodnotu z odkazu nebo matice. -INDIRECT = NEPŘÍMÝ.ODKAZ ## Vrátí odkaz určený textovou hodnotou. -LOOKUP = VYHLEDAT ## Vyhledá hodnoty ve vektoru nebo matici. -MATCH = POZVYHLEDAT ## Vyhledá hodnoty v odkazu nebo matici. -OFFSET = POSUN ## Vrátí posun odkazu od zadaného odkazu. -ROW = ŘÁDEK ## Vrátí číslo řádku odkazu. -ROWS = ŘÁDKY ## Vrátí počet řádků v odkazu. -RTD = RTD ## Načte data reálného času z programu, který podporuje automatizaci modelu COM (Automatizace: Způsob práce s objekty určité aplikace z jiné aplikace nebo nástroje pro vývoj. Automatizace (dříve nazývaná automatizace OLE) je počítačovým standardem a je funkcí modelu COM (Component Object Model).). -TRANSPOSE = TRANSPOZICE ## Vrátí transponovanou matici. -VLOOKUP = SVYHLEDAT ## Prohledá první sloupec matice, přesune kurzor v řádku a vrátí hodnotu buňky. - - -## -## Math and trigonometry functions Matematické a trigonometrické funkce -## -ABS = ABS ## Vrátí absolutní hodnotu čísla. -ACOS = ARCCOS ## Vrátí arkuskosinus čísla. -ACOSH = ARCCOSH ## Vrátí hyperbolický arkuskosinus čísla. -ASIN = ARCSIN ## Vrátí arkussinus čísla. -ASINH = ARCSINH ## Vrátí hyperbolický arkussinus čísla. -ATAN = ARCTG ## Vrátí arkustangens čísla. -ATAN2 = ARCTG2 ## Vrátí arkustangens x-ové a y-ové souřadnice. -ATANH = ARCTGH ## Vrátí hyperbolický arkustangens čísla. -CEILING = ZAOKR.NAHORU ## Zaokrouhlí číslo na nejbližší celé číslo nebo na nejbližší násobek zadané hodnoty. -COMBIN = KOMBINACE ## Vrátí počet kombinací pro daný počet položek. -COS = COS ## Vrátí kosinus čísla. -COSH = COSH ## Vrátí hyperbolický kosinus čísla. -DEGREES = DEGREES ## Převede radiány na stupně. -EVEN = ZAOKROUHLIT.NA.SUDÉ ## Zaokrouhlí číslo nahoru na nejbližší celé sudé číslo. -EXP = EXP ## Vrátí základ přirozeného logaritmu e umocněný na zadané číslo. -FACT = FAKTORIÁL ## Vrátí faktoriál čísla. -FACTDOUBLE = FACTDOUBLE ## Vrátí dvojitý faktoriál čísla. -FLOOR = ZAOKR.DOLŮ ## Zaokrouhlí číslo dolů, směrem k nule. -GCD = GCD ## Vrátí největší společný dělitel. -INT = CELÁ.ČÁST ## Zaokrouhlí číslo dolů na nejbližší celé číslo. -LCM = LCM ## Vrátí nejmenší společný násobek. -LN = LN ## Vrátí přirozený logaritmus čísla. -LOG = LOGZ ## Vrátí logaritmus čísla při zadaném základu. -LOG10 = LOG ## Vrátí dekadický logaritmus čísla. -MDETERM = DETERMINANT ## Vrátí determinant matice. -MINVERSE = INVERZE ## Vrátí inverzní matici. -MMULT = SOUČIN.MATIC ## Vrátí součin dvou matic. -MOD = MOD ## Vrátí zbytek po dělení. -MROUND = MROUND ## Vrátí číslo zaokrouhlené na požadovaný násobek. -MULTINOMIAL = MULTINOMIAL ## Vrátí mnohočlen z množiny čísel. -ODD = ZAOKROUHLIT.NA.LICHÉ ## Zaokrouhlí číslo nahoru na nejbližší celé liché číslo. -PI = PI ## Vrátí hodnotu čísla pí. -POWER = POWER ## Umocní číslo na zadanou mocninu. -PRODUCT = SOUČIN ## Vynásobí argumenty funkce. -QUOTIENT = QUOTIENT ## Vrátí celou část dělení. -RADIANS = RADIANS ## Převede stupně na radiány. -RAND = NÁHČÍSLO ## Vrátí náhodné číslo mezi 0 a 1. -RANDBETWEEN = RANDBETWEEN ## Vrátí náhodné číslo mezi zadanými čísly. -ROMAN = ROMAN ## Převede arabskou číslici na římskou ve formátu textu. -ROUND = ZAOKROUHLIT ## Zaokrouhlí číslo na zadaný počet číslic. -ROUNDDOWN = ROUNDDOWN ## Zaokrouhlí číslo dolů, směrem k nule. -ROUNDUP = ROUNDUP ## Zaokrouhlí číslo nahoru, směrem od nuly. -SERIESSUM = SERIESSUM ## Vrátí součet mocninné řady určené podle vzorce. -SIGN = SIGN ## Vrátí znaménko čísla. -SIN = SIN ## Vrátí sinus daného úhlu. -SINH = SINH ## Vrátí hyperbolický sinus čísla. -SQRT = ODMOCNINA ## Vrátí kladnou druhou odmocninu. -SQRTPI = SQRTPI ## Vrátí druhou odmocninu výrazu (číslo * pí). -SUBTOTAL = SUBTOTAL ## Vrátí souhrn v seznamu nebo databázi. -SUM = SUMA ## Sečte argumenty funkce. -SUMIF = SUMIF ## Sečte buňky vybrané podle zadaných kritérií. -SUMIFS = SUMIFS ## Sečte buňky určené více zadanými podmínkami. -SUMPRODUCT = SOUČIN.SKALÁRNÍ ## Vrátí součet součinů odpovídajících prvků matic. -SUMSQ = SUMA.ČTVERCŮ ## Vrátí součet čtverců argumentů. -SUMX2MY2 = SUMX2MY2 ## Vrátí součet rozdílu čtverců odpovídajících hodnot ve dvou maticích. -SUMX2PY2 = SUMX2PY2 ## Vrátí součet součtu čtverců odpovídajících hodnot ve dvou maticích. -SUMXMY2 = SUMXMY2 ## Vrátí součet čtverců rozdílů odpovídajících hodnot ve dvou maticích. -TAN = TGTG ## Vrátí tangens čísla. -TANH = TGH ## Vrátí hyperbolický tangens čísla. -TRUNC = USEKNOUT ## Zkrátí číslo na celé číslo. - - -## -## Statistical functions Statistické funkce -## -AVEDEV = PRŮMODCHYLKA ## Vrátí průměrnou hodnotu absolutních odchylek datových bodů od jejich střední hodnoty. -AVERAGE = PRŮMĚR ## Vrátí průměrnou hodnotu argumentů. -AVERAGEA = AVERAGEA ## Vrátí průměrnou hodnotu argumentů včetně čísel, textu a logických hodnot. -AVERAGEIF = AVERAGEIF ## Vrátí průměrnou hodnotu (aritmetický průměr) všech buněk v oblasti, které vyhovují příslušné podmínce. -AVERAGEIFS = AVERAGEIFS ## Vrátí průměrnou hodnotu (aritmetický průměr) všech buněk vyhovujících několika podmínkám. -BETADIST = BETADIST ## Vrátí hodnotu součtového rozdělení beta. -BETAINV = BETAINV ## Vrátí inverzní hodnotu součtového rozdělení pro zadané rozdělení beta. -BINOMDIST = BINOMDIST ## Vrátí hodnotu binomického rozdělení pravděpodobnosti jednotlivých veličin. -CHIDIST = CHIDIST ## Vrátí jednostrannou pravděpodobnost rozdělení chí-kvadrát. -CHIINV = CHIINV ## Vrátí hodnotu funkce inverzní k distribuční funkci jednostranné pravděpodobnosti rozdělení chí-kvadrát. -CHITEST = CHITEST ## Vrátí test nezávislosti. -CONFIDENCE = CONFIDENCE ## Vrátí interval spolehlivosti pro střední hodnotu základního souboru. -CORREL = CORREL ## Vrátí korelační koeficient mezi dvěma množinami dat. -COUNT = POČET ## Vrátí počet čísel v seznamu argumentů. -COUNTA = POČET2 ## Vrátí počet hodnot v seznamu argumentů. -COUNTBLANK = COUNTBLANK ## Spočítá počet prázdných buněk v oblasti. -COUNTIF = COUNTIF ## Spočítá buňky v oblasti, které odpovídají zadaným kritériím. -COUNTIFS = COUNTIFS ## Spočítá buňky v oblasti, které odpovídají více kritériím. -COVAR = COVAR ## Vrátí hodnotu kovariance, průměrnou hodnotu součinů párových odchylek -CRITBINOM = CRITBINOM ## Vrátí nejmenší hodnotu, pro kterou má součtové binomické rozdělení hodnotu větší nebo rovnu hodnotě kritéria. -DEVSQ = DEVSQ ## Vrátí součet čtverců odchylek. -EXPONDIST = EXPONDIST ## Vrátí hodnotu exponenciálního rozdělení. -FDIST = FDIST ## Vrátí hodnotu rozdělení pravděpodobnosti F. -FINV = FINV ## Vrátí hodnotu inverzní funkce k distribuční funkci rozdělení F. -FISHER = FISHER ## Vrátí hodnotu Fisherovy transformace. -FISHERINV = FISHERINV ## Vrátí hodnotu inverzní funkce k Fisherově transformaci. -FORECAST = FORECAST ## Vrátí hodnotu lineárního trendu. -FREQUENCY = ČETNOSTI ## Vrátí četnost rozdělení jako svislou matici. -FTEST = FTEST ## Vrátí výsledek F-testu. -GAMMADIST = GAMMADIST ## Vrátí hodnotu rozdělení gama. -GAMMAINV = GAMMAINV ## Vrátí hodnotu inverzní funkce k distribuční funkci součtového rozdělení gama. -GAMMALN = GAMMALN ## Vrátí přirozený logaritmus funkce gama, Γ(x). -GEOMEAN = GEOMEAN ## Vrátí geometrický průměr. -GROWTH = LOGLINTREND ## Vrátí hodnoty exponenciálního trendu. -HARMEAN = HARMEAN ## Vrátí harmonický průměr. -HYPGEOMDIST = HYPGEOMDIST ## Vrátí hodnotu hypergeometrického rozdělení. -INTERCEPT = INTERCEPT ## Vrátí úsek lineární regresní čáry. -KURT = KURT ## Vrátí hodnotu excesu množiny dat. -LARGE = LARGE ## Vrátí k-tou největší hodnotu množiny dat. -LINEST = LINREGRESE ## Vrátí parametry lineárního trendu. -LOGEST = LOGLINREGRESE ## Vrátí parametry exponenciálního trendu. -LOGINV = LOGINV ## Vrátí inverzní funkci k distribuční funkci logaritmicko-normálního rozdělení. -LOGNORMDIST = LOGNORMDIST ## Vrátí hodnotu součtového logaritmicko-normálního rozdělení. -MAX = MAX ## Vrátí maximální hodnotu seznamu argumentů. -MAXA = MAXA ## Vrátí maximální hodnotu seznamu argumentů včetně čísel, textu a logických hodnot. -MEDIAN = MEDIAN ## Vrátí střední hodnotu zadaných čísel. -MIN = MIN ## Vrátí minimální hodnotu seznamu argumentů. -MINA = MINA ## Vrátí nejmenší hodnotu v seznamu argumentů včetně čísel, textu a logických hodnot. -MODE = MODE ## Vrátí hodnotu, která se v množině dat vyskytuje nejčastěji. -NEGBINOMDIST = NEGBINOMDIST ## Vrátí hodnotu negativního binomického rozdělení. -NORMDIST = NORMDIST ## Vrátí hodnotu normálního součtového rozdělení. -NORMINV = NORMINV ## Vrátí inverzní funkci k funkci normálního součtového rozdělení. -NORMSDIST = NORMSDIST ## Vrátí hodnotu standardního normálního součtového rozdělení. -NORMSINV = NORMSINV ## Vrátí inverzní funkci k funkci standardního normálního součtového rozdělení. -PEARSON = PEARSON ## Vrátí Pearsonův výsledný momentový korelační koeficient. -PERCENTILE = PERCENTIL ## Vrátí hodnotu k-tého percentilu hodnot v oblasti. -PERCENTRANK = PERCENTRANK ## Vrátí pořadí hodnoty v množině dat vyjádřené procentuální částí množiny dat. -PERMUT = PERMUTACE ## Vrátí počet permutací pro zadaný počet objektů. -POISSON = POISSON ## Vrátí hodnotu distribuční funkce Poissonova rozdělení. -PROB = PROB ## Vrátí pravděpodobnost výskytu hodnot v oblasti mezi dvěma mezními hodnotami. -QUARTILE = QUARTIL ## Vrátí hodnotu kvartilu množiny dat. -RANK = RANK ## Vrátí pořadí čísla v seznamu čísel. -RSQ = RKQ ## Vrátí druhou mocninu Pearsonova výsledného momentového korelačního koeficientu. -SKEW = SKEW ## Vrátí zešikmení rozdělení. -SLOPE = SLOPE ## Vrátí směrnici lineární regresní čáry. -SMALL = SMALL ## Vrátí k-tou nejmenší hodnotu množiny dat. -STANDARDIZE = STANDARDIZE ## Vrátí normalizovanou hodnotu. -STDEV = SMODCH.VÝBĚR ## Vypočte směrodatnou odchylku výběru. -STDEVA = STDEVA ## Vypočte směrodatnou odchylku výběru včetně čísel, textu a logických hodnot. -STDEVP = SMODCH ## Vypočte směrodatnou odchylku základního souboru. -STDEVPA = STDEVPA ## Vypočte směrodatnou odchylku základního souboru včetně čísel, textu a logických hodnot. -STEYX = STEYX ## Vrátí standardní chybu předpovězené hodnoty y pro každou hodnotu x v regresi. -TDIST = TDIST ## Vrátí hodnotu Studentova t-rozdělení. -TINV = TINV ## Vrátí inverzní funkci k distribuční funkci Studentova t-rozdělení. -TREND = LINTREND ## Vrátí hodnoty lineárního trendu. -TRIMMEAN = TRIMMEAN ## Vrátí střední hodnotu vnitřní části množiny dat. -TTEST = TTEST ## Vrátí pravděpodobnost spojenou se Studentovým t-testem. -VAR = VAR.VÝBĚR ## Vypočte rozptyl výběru. -VARA = VARA ## Vypočte rozptyl výběru včetně čísel, textu a logických hodnot. -VARP = VAR ## Vypočte rozptyl základního souboru. -VARPA = VARPA ## Vypočte rozptyl základního souboru včetně čísel, textu a logických hodnot. -WEIBULL = WEIBULL ## Vrátí hodnotu Weibullova rozdělení. -ZTEST = ZTEST ## Vrátí jednostrannou P-hodnotu z-testu. - - -## -## Text functions Textové funkce -## -ASC = ASC ## Změní znaky s plnou šířkou (dvoubajtové)v řetězci znaků na znaky s poloviční šířkou (jednobajtové). -BAHTTEXT = BAHTTEXT ## Převede číslo na text ve formátu, měny ß (baht). -CHAR = ZNAK ## Vrátí znak určený číslem kódu. -CLEAN = VYČISTIT ## Odebere z textu všechny netisknutelné znaky. -CODE = KÓD ## Vrátí číselný kód prvního znaku zadaného textového řetězce. -CONCATENATE = CONCATENATE ## Spojí několik textových položek do jedné. -DOLLAR = KČ ## Převede číslo na text ve formátu měny Kč (česká koruna). -EXACT = STEJNÉ ## Zkontroluje, zda jsou dvě textové hodnoty shodné. -FIND = NAJÍT ## Nalezne textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena). -FINDB = FINDB ## Nalezne textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena). -FIXED = ZAOKROUHLIT.NA.TEXT ## Zformátuje číslo jako text s pevným počtem desetinných míst. -JIS = JIS ## Změní znaky s poloviční šířkou (jednobajtové) v řetězci znaků na znaky s plnou šířkou (dvoubajtové). -LEFT = ZLEVA ## Vrátí první znaky textové hodnoty umístěné nejvíce vlevo. -LEFTB = LEFTB ## Vrátí první znaky textové hodnoty umístěné nejvíce vlevo. -LEN = DÉLKA ## Vrátí počet znaků textového řetězce. -LENB = LENB ## Vrátí počet znaků textového řetězce. -LOWER = MALÁ ## Převede text na malá písmena. -MID = ČÁST ## Vrátí určitý počet znaků textového řetězce počínaje zadaným místem. -MIDB = MIDB ## Vrátí určitý počet znaků textového řetězce počínaje zadaným místem. -PHONETIC = ZVUKOVÉ ## Extrahuje fonetické znaky (furigana) z textového řetězce. -PROPER = VELKÁ2 ## Převede první písmeno každého slova textové hodnoty na velké. -REPLACE = NAHRADIT ## Nahradí znaky uvnitř textu. -REPLACEB = NAHRADITB ## Nahradí znaky uvnitř textu. -REPT = OPAKOVAT ## Zopakuje text podle zadaného počtu opakování. -RIGHT = ZPRAVA ## Vrátí první znaky textové hodnoty umístěné nejvíce vpravo. -RIGHTB = RIGHTB ## Vrátí první znaky textové hodnoty umístěné nejvíce vpravo. -SEARCH = HLEDAT ## Nalezne textovou hodnotu uvnitř jiné (malá a velká písmena nejsou rozlišována). -SEARCHB = SEARCHB ## Nalezne textovou hodnotu uvnitř jiné (malá a velká písmena nejsou rozlišována). -SUBSTITUTE = DOSADIT ## V textovém řetězci nahradí starý text novým. -T = T ## Převede argumenty na text. -TEXT = HODNOTA.NA.TEXT ## Zformátuje číslo a převede ho na text. -TRIM = PROČISTIT ## Odstraní z textu mezery. -UPPER = VELKÁ ## Převede text na velká písmena. -VALUE = HODNOTA ## Převede textový argument na číslo. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/cs/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/config deleted file mode 100644 index ae5900311..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/config +++ /dev/null @@ -1,48 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = kr - - - -## -## Excel Error Codes (For future use) -## -NULL = #NUL! -DIV0 = #DIVISION/0! -VALUE = #VÆRDI! -REF = #REFERENCE! -NAME = #NAVN? -NUM = #NUM! -NA = #I/T diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/functions deleted file mode 100644 index 26e0310c1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Tilføjelsesprogram- og automatiseringsfunktioner -## -GETPIVOTDATA = HENTPIVOTDATA ## Returnerer data, der er lagret i en pivottabelrapport - - -## -## Cube functions Kubefunktioner -## -CUBEKPIMEMBER = KUBE.KPI.MEDLEM ## Returnerer navn, egenskab og mål for en KPI-indikator og viser navnet og egenskaben i cellen. En KPI-indikator er en målbar størrelse, f.eks. bruttooverskud pr. måned eller personaleudskiftning pr. kvartal, der bruges til at overvåge en organisations præstationer. -CUBEMEMBER = KUBE.MEDLEM ## Returnerer et medlem eller en tupel fra kubehierarkiet. Bruges til at validere, om et medlem eller en tupel findes i kuben. -CUBEMEMBERPROPERTY = KUBEMEDLEM.EGENSKAB ## Returnerer værdien af en egenskab for et medlem i kuben. Bruges til at validere, om et medlemsnavn findes i kuben, og returnere den angivne egenskab for medlemmet. -CUBERANKEDMEMBER = KUBEMEDLEM.RANG ## Returnerer det n'te eller rangordnede medlem i et sæt. Bruges til at returnere et eller flere elementer i et sæt, f.eks. topsælgere eller de 10 bedste elever. -CUBESET = KUBESÆT ## Definerer et beregnet sæt medlemmer eller tupler ved at sende et sætudtryk til kuben på serveren, som opretter sættet og returnerer det til Microsoft Office Excel. -CUBESETCOUNT = KUBESÆT.TÆL ## Returnerer antallet af elementer i et sæt. -CUBEVALUE = KUBEVÆRDI ## Returnerer en sammenlagt (aggregeret) værdi fra en kube. - - -## -## Database functions Databasefunktioner -## -DAVERAGE = DMIDDEL ## Returnerer gennemsnittet af markerede databaseposter -DCOUNT = DTÆL ## Tæller de celler, der indeholder tal, i en database -DCOUNTA = DTÆLV ## Tæller udfyldte celler i en database -DGET = DHENT ## Uddrager en enkelt post, der opfylder de angivne kriterier, fra en database -DMAX = DMAKS ## Returnerer den største værdi blandt markerede databaseposter -DMIN = DMIN ## Returnerer den mindste værdi blandt markerede databaseposter -DPRODUCT = DPRODUKT ## Ganger værdierne i et bestemt felt med poster, der opfylder kriterierne i en database -DSTDEV = DSTDAFV ## Beregner et skøn over standardafvigelsen baseret på en stikprøve af markerede databaseposter -DSTDEVP = DSTDAFVP ## Beregner standardafvigelsen baseret på hele populationen af markerede databaseposter -DSUM = DSUM ## Sammenlægger de tal i feltkolonnen i databasen, der opfylder kriterierne -DVAR = DVARIANS ## Beregner varians baseret på en stikprøve af markerede databaseposter -DVARP = DVARIANSP ## Beregner varians baseret på hele populationen af markerede databaseposter - - -## -## Date and time functions Dato- og klokkeslætsfunktioner -## -DATE = DATO ## Returnerer serienummeret for en bestemt dato -DATEVALUE = DATOVÆRDI ## Konverterer en dato i form af tekst til et serienummer -DAY = DAG ## Konverterer et serienummer til en dag i måneden -DAYS360 = DAGE360 ## Beregner antallet af dage mellem to datoer på grundlag af et år med 360 dage -EDATE = EDATO ## Returnerer serienummeret for den dato, der ligger det angivne antal måneder før eller efter startdatoen -EOMONTH = SLUT.PÅ.MÅNED ## Returnerer serienummeret på den sidste dag i måneden før eller efter et angivet antal måneder -HOUR = TIME ## Konverterer et serienummer til en time -MINUTE = MINUT ## Konverterer et serienummer til et minut -MONTH = MÅNED ## Konverterer et serienummer til en måned -NETWORKDAYS = ANTAL.ARBEJDSDAGE ## Returnerer antallet af hele arbejdsdage mellem to datoer -NOW = NU ## Returnerer serienummeret for den aktuelle dato eller det aktuelle klokkeslæt -SECOND = SEKUND ## Konverterer et serienummer til et sekund -TIME = KLOKKESLÆT ## Returnerer serienummeret for et bestemt klokkeslæt -TIMEVALUE = TIDSVÆRDI ## Konverterer et klokkeslæt i form af tekst til et serienummer -TODAY = IDAG ## Returnerer serienummeret for dags dato -WEEKDAY = UGEDAG ## Konverterer et serienummer til en ugedag -WEEKNUM = UGE.NR ## Konverterer et serienummer til et tal, der angiver ugenummeret i året -WORKDAY = ARBEJDSDAG ## Returnerer serienummeret for dagen før eller efter det angivne antal arbejdsdage -YEAR = ÅR ## Konverterer et serienummer til et år -YEARFRAC = ÅR.BRØK ## Returnerer årsbrøken, der repræsenterer antallet af hele dage mellem startdato og slutdato - - -## -## Engineering functions Tekniske funktioner -## -BESSELI = BESSELI ## Returnerer den modificerede Bessel-funktion In(x) -BESSELJ = BESSELJ ## Returnerer Bessel-funktionen Jn(x) -BESSELK = BESSELK ## Returnerer den modificerede Bessel-funktion Kn(x) -BESSELY = BESSELY ## Returnerer Bessel-funktionen Yn(x) -BIN2DEC = BIN.TIL.DEC ## Konverterer et binært tal til et decimaltal -BIN2HEX = BIN.TIL.HEX ## Konverterer et binært tal til et heksadecimalt tal -BIN2OCT = BIN.TIL.OKT ## Konverterer et binært tal til et oktaltal. -COMPLEX = KOMPLEKS ## Konverterer reelle og imaginære koefficienter til et komplekst tal -CONVERT = KONVERTER ## Konverterer et tal fra én måleenhed til en anden -DEC2BIN = DEC.TIL.BIN ## Konverterer et decimaltal til et binært tal -DEC2HEX = DEC.TIL.HEX ## Konverterer et decimaltal til et heksadecimalt tal -DEC2OCT = DEC.TIL.OKT ## Konverterer et decimaltal til et oktaltal -DELTA = DELTA ## Tester, om to værdier er ens -ERF = FEJLFUNK ## Returner fejlfunktionen -ERFC = FEJLFUNK.KOMP ## Returnerer den komplementære fejlfunktion -GESTEP = GETRIN ## Tester, om et tal er større end en grænseværdi -HEX2BIN = HEX.TIL.BIN ## Konverterer et heksadecimalt tal til et binært tal -HEX2DEC = HEX.TIL.DEC ## Konverterer et decimaltal til et heksadecimalt tal -HEX2OCT = HEX.TIL.OKT ## Konverterer et heksadecimalt tal til et oktaltal -IMABS = IMAGABS ## Returnerer den absolutte værdi (modulus) for et komplekst tal -IMAGINARY = IMAGINÆR ## Returnerer den imaginære koefficient for et komplekst tal -IMARGUMENT = IMAGARGUMENT ## Returnerer argumentet theta, en vinkel udtrykt i radianer -IMCONJUGATE = IMAGKONJUGERE ## Returnerer den komplekse konjugation af et komplekst tal -IMCOS = IMAGCOS ## Returnerer et komplekst tals cosinus -IMDIV = IMAGDIV ## Returnerer kvotienten for to komplekse tal -IMEXP = IMAGEKSP ## Returnerer et komplekst tals eksponentialfunktion -IMLN = IMAGLN ## Returnerer et komplekst tals naturlige logaritme -IMLOG10 = IMAGLOG10 ## Returnerer et komplekst tals sædvanlige logaritme (titalslogaritme) -IMLOG2 = IMAGLOG2 ## Returnerer et komplekst tals sædvanlige logaritme (totalslogaritme) -IMPOWER = IMAGPOTENS ## Returnerer et komplekst tal opløftet i en heltalspotens -IMPRODUCT = IMAGPRODUKT ## Returnerer produktet af komplekse tal -IMREAL = IMAGREELT ## Returnerer den reelle koefficient for et komplekst tal -IMSIN = IMAGSIN ## Returnerer et komplekst tals sinus -IMSQRT = IMAGKVROD ## Returnerer et komplekst tals kvadratrod -IMSUB = IMAGSUB ## Returnerer forskellen mellem to komplekse tal -IMSUM = IMAGSUM ## Returnerer summen af komplekse tal -OCT2BIN = OKT.TIL.BIN ## Konverterer et oktaltal til et binært tal -OCT2DEC = OKT.TIL.DEC ## Konverterer et oktaltal til et decimaltal -OCT2HEX = OKT.TIL.HEX ## Konverterer et oktaltal til et heksadecimalt tal - - -## -## Financial functions Finansielle funktioner -## -ACCRINT = PÅLØBRENTE ## Returnerer den påløbne rente for et værdipapir med periodiske renteudbetalinger -ACCRINTM = PÅLØBRENTE.UDLØB ## Returnerer den påløbne rente for et værdipapir, hvor renteudbetalingen finder sted ved papirets udløb -AMORDEGRC = AMORDEGRC ## Returnerer afskrivningsbeløbet for hver regnskabsperiode ved hjælp af en afskrivningskoefficient -AMORLINC = AMORLINC ## Returnerer afskrivningsbeløbet for hver regnskabsperiode -COUPDAYBS = KUPONDAGE.SA ## Returnerer antallet af dage fra starten af kuponperioden til afregningsdatoen -COUPDAYS = KUPONDAGE.A ## Returnerer antallet af dage fra begyndelsen af kuponperioden til afregningsdatoen -COUPDAYSNC = KUPONDAGE.ANK ## Returnerer antallet af dage i den kuponperiode, der indeholder afregningsdatoen -COUPNCD = KUPONDAG.NÆSTE ## Returnerer den næste kupondato efter afregningsdatoen -COUPNUM = KUPONBETALINGER ## Returnerer antallet af kuponudbetalinger mellem afregnings- og udløbsdatoen -COUPPCD = KUPONDAG.FORRIGE ## Returnerer den forrige kupondato før afregningsdatoen -CUMIPMT = AKKUM.RENTE ## Returnerer den akkumulerede rente, der betales på et lån mellem to perioder -CUMPRINC = AKKUM.HOVEDSTOL ## Returnerer den akkumulerede nedbringelse af hovedstol mellem to perioder -DB = DB ## Returnerer afskrivningen på et aktiv i en angivet periode ved anvendelse af saldometoden -DDB = DSA ## Returnerer afskrivningsbeløbet for et aktiv over en bestemt periode ved anvendelse af dobbeltsaldometoden eller en anden afskrivningsmetode, som du angiver -DISC = DISKONTO ## Returnerer et værdipapirs diskonto -DOLLARDE = KR.DECIMAL ## Konverterer en kronepris udtrykt som brøk til en kronepris udtrykt som decimaltal -DOLLARFR = KR.BRØK ## Konverterer en kronepris udtrykt som decimaltal til en kronepris udtrykt som brøk -DURATION = VARIGHED ## Returnerer den årlige løbetid for et værdipapir med periodiske renteudbetalinger -EFFECT = EFFEKTIV.RENTE ## Returnerer den årlige effektive rente -FV = FV ## Returnerer fremtidsværdien af en investering -FVSCHEDULE = FVTABEL ## Returnerer den fremtidige værdi af en hovedstol, når der er tilskrevet rente og rentes rente efter forskellige rentesatser -INTRATE = RENTEFOD ## Returnerer renten på et fuldt ud investeret værdipapir -IPMT = R.YDELSE ## Returnerer renten fra en investering for en given periode -IRR = IA ## Returnerer den interne rente for en række pengestrømme -ISPMT = ISPMT ## Beregner den betalte rente i løbet af en bestemt investeringsperiode -MDURATION = MVARIGHED ## Returnerer Macauleys modificerede løbetid for et værdipapir med en formodet pari på kr. 100 -MIRR = MIA ## Returnerer den interne forrentning, hvor positive og negative pengestrømme finansieres til forskellig rente -NOMINAL = NOMINEL ## Returnerer den årlige nominelle rente -NPER = NPER ## Returnerer antallet af perioder for en investering -NPV = NUTIDSVÆRDI ## Returnerer nettonutidsværdien for en investering baseret på en række periodiske pengestrømme og en diskonteringssats -ODDFPRICE = ULIGE.KURS.PÅLYDENDE ## Returnerer kursen pr. kr. 100 nominel værdi for et værdipapir med en ulige (kort eller lang) første periode -ODDFYIELD = ULIGE.FØRSTE.AFKAST ## Returnerer afkastet for et værdipapir med ulige første periode -ODDLPRICE = ULIGE.SIDSTE.KURS ## Returnerer kursen pr. kr. 100 nominel værdi for et værdipapir med ulige sidste periode -ODDLYIELD = ULIGE.SIDSTE.AFKAST ## Returnerer afkastet for et værdipapir med ulige sidste periode -PMT = YDELSE ## Returnerer renten fra en investering for en given periode -PPMT = H.YDELSE ## Returnerer ydelsen på hovedstolen for en investering i en given periode -PRICE = KURS ## Returnerer kursen pr. kr 100 nominel værdi for et værdipapir med periodiske renteudbetalinger -PRICEDISC = KURS.DISKONTO ## Returnerer kursen pr. kr 100 nominel værdi for et diskonteret værdipapir -PRICEMAT = KURS.UDLØB ## Returnerer kursen pr. kr 100 nominel værdi for et værdipapir, hvor renten udbetales ved papirets udløb -PV = NV ## Returnerer den nuværende værdi af en investering -RATE = RENTE ## Returnerer renten i hver periode for en annuitet -RECEIVED = MODTAGET.VED.UDLØB ## Returnerer det beløb, der modtages ved udløbet af et fuldt ud investeret værdipapir -SLN = LA ## Returnerer den lineære afskrivning for et aktiv i en enkelt periode -SYD = ÅRSAFSKRIVNING ## Returnerer den årlige afskrivning på et aktiv i en bestemt periode -TBILLEQ = STATSOBLIGATION ## Returnerer det obligationsækvivalente afkast for en statsobligation -TBILLPRICE = STATSOBLIGATION.KURS ## Returnerer kursen pr. kr 100 nominel værdi for en statsobligation -TBILLYIELD = STATSOBLIGATION.AFKAST ## Returnerer en afkastet på en statsobligation -VDB = VSA ## Returnerer afskrivningen på et aktiv i en angivet periode, herunder delperioder, ved brug af dobbeltsaldometoden -XIRR = INTERN.RENTE ## Returnerer den interne rente for en plan over pengestrømme, der ikke behøver at være periodiske -XNPV = NETTO.NUTIDSVÆRDI ## Returnerer nutidsværdien for en plan over pengestrømme, der ikke behøver at være periodiske -YIELD = AFKAST ## Returnerer afkastet for et værdipapir med periodiske renteudbetalinger -YIELDDISC = AFKAST.DISKONTO ## Returnerer det årlige afkast for et diskonteret værdipapir, f.eks. en statsobligation -YIELDMAT = AFKAST.UDLØBSDATO ## Returnerer det årlige afkast for et værdipapir, hvor renten udbetales ved papirets udløb - - -## -## Information functions Informationsfunktioner -## -CELL = CELLE ## Returnerer oplysninger om formatering, placering eller indhold af en celle -ERROR.TYPE = FEJLTYPE ## Returnerer et tal, der svarer til en fejltype -INFO = INFO ## Returnerer oplysninger om det aktuelle operativmiljø -ISBLANK = ER.TOM ## Returnerer SAND, hvis værdien er tom -ISERR = ER.FJL ## Returnerer SAND, hvis værdien er en fejlværdi undtagen #I/T -ISERROR = ER.FEJL ## Returnerer SAND, hvis værdien er en fejlværdi -ISEVEN = ER.LIGE ## Returnerer SAND, hvis tallet er lige -ISLOGICAL = ER.LOGISK ## Returnerer SAND, hvis værdien er en logisk værdi -ISNA = ER.IKKE.TILGÆNGELIG ## Returnerer SAND, hvis værdien er fejlværdien #I/T -ISNONTEXT = ER.IKKE.TEKST ## Returnerer SAND, hvis værdien ikke er tekst -ISNUMBER = ER.TAL ## Returnerer SAND, hvis værdien er et tal -ISODD = ER.ULIGE ## Returnerer SAND, hvis tallet er ulige -ISREF = ER.REFERENCE ## Returnerer SAND, hvis værdien er en reference -ISTEXT = ER.TEKST ## Returnerer SAND, hvis værdien er tekst -N = TAL ## Returnerer en værdi konverteret til et tal -NA = IKKE.TILGÆNGELIG ## Returnerer fejlværdien #I/T -TYPE = VÆRDITYPE ## Returnerer et tal, der angiver datatypen for en værdi - - -## -## Logical functions Logiske funktioner -## -AND = OG ## Returnerer SAND, hvis alle argumenterne er sande -FALSE = FALSK ## Returnerer den logiske værdi FALSK -IF = HVIS ## Angiver en logisk test, der skal udføres -IFERROR = HVIS.FEJL ## Returnerer en værdi, du angiver, hvis en formel evauleres som en fejl. Returnerer i modsat fald resultatet af formlen -NOT = IKKE ## Vender argumentets logik om -OR = ELLER ## Returneret værdien SAND, hvis mindst ét argument er sandt -TRUE = SAND ## Returnerer den logiske værdi SAND - - -## -## Lookup and reference functions Opslags- og referencefunktioner -## -ADDRESS = ADRESSE ## Returnerer en reference som tekst til en enkelt celle i et regneark -AREAS = OMRÅDER ## Returnerer antallet af områder i en reference -CHOOSE = VÆLG ## Vælger en værdi på en liste med værdier -COLUMN = KOLONNE ## Returnerer kolonnenummeret i en reference -COLUMNS = KOLONNER ## Returnerer antallet af kolonner i en reference -HLOOKUP = VOPSLAG ## Søger i den øverste række af en matrix og returnerer værdien af den angivne celle -HYPERLINK = HYPERLINK ## Opretter en genvej kaldet et hyperlink, der åbner et dokument, som er lagret på en netværksserver, på et intranet eller på internettet -INDEX = INDEKS ## Anvender et indeks til at vælge en værdi fra en reference eller en matrix -INDIRECT = INDIREKTE ## Returnerer en reference, der er angivet af en tekstværdi -LOOKUP = SLÅ.OP ## Søger værdier i en vektor eller en matrix -MATCH = SAMMENLIGN ## Søger værdier i en reference eller en matrix -OFFSET = FORSKYDNING ## Returnerer en reference forskudt i forhold til en given reference -ROW = RÆKKE ## Returnerer rækkenummeret for en reference -ROWS = RÆKKER ## Returnerer antallet af rækker i en reference -RTD = RTD ## Henter realtidsdata fra et program, der understøtter COM-automatisering (Automation: En metode til at arbejde med objekter fra et andet program eller udviklingsværktøj. Automation, som tidligere blev kaldt OLE Automation, er en industristandard og en funktion i COM (Component Object Model).) -TRANSPOSE = TRANSPONER ## Returnerer en transponeret matrix -VLOOKUP = LOPSLAG ## Søger i øverste række af en matrix og flytter på tværs af rækken for at returnere en celleværdi - - -## -## Math and trigonometry functions Matematiske og trigonometriske funktioner -## -ABS = ABS ## Returnerer den absolutte værdi af et tal -ACOS = ARCCOS ## Returnerer et tals arcus cosinus -ACOSH = ARCCOSH ## Returnerer den inverse hyperbolske cosinus af tal -ASIN = ARCSIN ## Returnerer et tals arcus sinus -ASINH = ARCSINH ## Returnerer den inverse hyperbolske sinus for tal -ATAN = ARCTAN ## Returnerer et tals arcus tangens -ATAN2 = ARCTAN2 ## Returnerer de angivne x- og y-koordinaters arcus tangens -ATANH = ARCTANH ## Returnerer et tals inverse hyperbolske tangens -CEILING = AFRUND.LOFT ## Afrunder et tal til nærmeste heltal eller til nærmeste multiplum af betydning -COMBIN = KOMBIN ## Returnerer antallet af kombinationer for et givet antal objekter -COS = COS ## Returnerer et tals cosinus -COSH = COSH ## Returnerer den inverse hyperbolske cosinus af et tal -DEGREES = GRADER ## Konverterer radianer til grader -EVEN = LIGE ## Runder et tal op til nærmeste lige heltal -EXP = EKSP ## Returnerer e opløftet til en potens af et angivet tal -FACT = FAKULTET ## Returnerer et tals fakultet -FACTDOUBLE = DOBBELT.FAKULTET ## Returnerer et tals dobbelte fakultet -FLOOR = AFRUND.GULV ## Runder et tal ned mod nul -GCD = STØRSTE.FÆLLES.DIVISOR ## Returnerer den største fælles divisor -INT = HELTAL ## Nedrunder et tal til det nærmeste heltal -LCM = MINDSTE.FÆLLES.MULTIPLUM ## Returnerer det mindste fælles multiplum -LN = LN ## Returnerer et tals naturlige logaritme -LOG = LOG ## Returnerer logaritmen for et tal på grundlag af et angivet grundtal -LOG10 = LOG10 ## Returnerer titalslogaritmen af et tal -MDETERM = MDETERM ## Returnerer determinanten for en matrix -MINVERSE = MINVERT ## Returnerer den inverse matrix for en matrix -MMULT = MPRODUKT ## Returnerer matrixproduktet af to matrixer -MOD = REST ## Returnerer restværdien fra division -MROUND = MAFRUND ## Returnerer et tal afrundet til det ønskede multiplum -MULTINOMIAL = MULTINOMIAL ## Returnerer et multinomialt talsæt -ODD = ULIGE ## Runder et tal op til nærmeste ulige heltal -PI = PI ## Returnerer værdien af pi -POWER = POTENS ## Returnerer resultatet af et tal opløftet til en potens -PRODUCT = PRODUKT ## Multiplicerer argumenterne -QUOTIENT = KVOTIENT ## Returnerer heltalsdelen ved division -RADIANS = RADIANER ## Konverterer grader til radianer -RAND = SLUMP ## Returnerer et tilfældigt tal mellem 0 og 1 -RANDBETWEEN = SLUMP.MELLEM ## Returnerer et tilfældigt tal mellem de tal, der angives -ROMAN = ROMERTAL ## Konverterer et arabertal til romertal som tekst -ROUND = AFRUND ## Afrunder et tal til et angivet antal decimaler -ROUNDDOWN = RUND.NED ## Runder et tal ned mod nul -ROUNDUP = RUND.OP ## Runder et tal op, væk fra 0 (nul) -SERIESSUM = SERIESUM ## Returnerer summen af en potensserie baseret på en formel -SIGN = FORTEGN ## Returnerer et tals fortegn -SIN = SIN ## Returnerer en given vinkels sinusværdi -SINH = SINH ## Returnerer den hyperbolske sinus af et tal -SQRT = KVROD ## Returnerer en positiv kvadratrod -SQRTPI = KVRODPI ## Returnerer kvadratroden af (tal * pi;) -SUBTOTAL = SUBTOTAL ## Returnerer en subtotal på en liste eller i en database -SUM = SUM ## Lægger argumenterne sammen -SUMIF = SUM.HVIS ## Lægger de celler sammen, der er specificeret af et givet kriterium. -SUMIFS = SUM.HVISER ## Lægger de celler i et område sammen, der opfylder flere kriterier. -SUMPRODUCT = SUMPRODUKT ## Returnerer summen af produkter af ens matrixkomponenter -SUMSQ = SUMKV ## Returnerer summen af argumenternes kvadrater -SUMX2MY2 = SUMX2MY2 ## Returnerer summen af differensen mellem kvadrater af ens værdier i to matrixer -SUMX2PY2 = SUMX2PY2 ## Returnerer summen af summen af kvadrater af tilsvarende værdier i to matrixer -SUMXMY2 = SUMXMY2 ## Returnerer summen af kvadrater af differenser mellem ens værdier i to matrixer -TAN = TAN ## Returnerer et tals tangens -TANH = TANH ## Returnerer et tals hyperbolske tangens -TRUNC = AFKORT ## Afkorter et tal til et heltal - - -## -## Statistical functions Statistiske funktioner -## -AVEDEV = MAD ## Returnerer den gennemsnitlige numeriske afvigelse fra stikprøvens middelværdi -AVERAGE = MIDDEL ## Returnerer middelværdien af argumenterne -AVERAGEA = MIDDELV ## Returnerer middelværdien af argumenterne og medtager tal, tekst og logiske værdier -AVERAGEIF = MIDDEL.HVIS ## Returnerer gennemsnittet (den aritmetiske middelværdi) af alle de celler, der opfylder et givet kriterium, i et område -AVERAGEIFS = MIDDEL.HVISER ## Returnerer gennemsnittet (den aritmetiske middelværdi) af alle de celler, der opfylder flere kriterier. -BETADIST = BETAFORDELING ## Returnerer den kumulative betafordelingsfunktion -BETAINV = BETAINV ## Returnerer den inverse kumulative fordelingsfunktion for en angivet betafordeling -BINOMDIST = BINOMIALFORDELING ## Returnerer punktsandsynligheden for binomialfordelingen -CHIDIST = CHIFORDELING ## Returnerer fraktilsandsynligheden for en chi2-fordeling -CHIINV = CHIINV ## Returnerer den inverse fraktilsandsynlighed for en chi2-fordeling -CHITEST = CHITEST ## Foretager en test for uafhængighed -CONFIDENCE = KONFIDENSINTERVAL ## Returnerer et konfidensinterval for en population -CORREL = KORRELATION ## Returnerer korrelationskoefficienten mellem to datasæt -COUNT = TÆL ## Tæller antallet af tal på en liste med argumenter -COUNTA = TÆLV ## Tæller antallet af værdier på en liste med argumenter -COUNTBLANK = ANTAL.BLANKE ## Tæller antallet af tomme celler i et område -COUNTIF = TÆLHVIS ## Tæller antallet af celler, som opfylder de givne kriterier, i et område -COUNTIFS = TÆL.HVISER ## Tæller antallet af de celler, som opfylder flere kriterier, i et område -COVAR = KOVARIANS ## Beregner kovariansen mellem to stokastiske variabler -CRITBINOM = KRITBINOM ## Returnerer den mindste værdi for x, for hvilken det gælder, at fordelingsfunktionen er mindre end eller lig med kriterieværdien. -DEVSQ = SAK ## Returnerer summen af de kvadrerede afvigelser fra middelværdien -EXPONDIST = EKSPFORDELING ## Returnerer eksponentialfordelingen -FDIST = FFORDELING ## Returnerer fraktilsandsynligheden for F-fordelingen -FINV = FINV ## Returnerer den inverse fraktilsandsynlighed for F-fordelingen -FISHER = FISHER ## Returnerer Fisher-transformationen -FISHERINV = FISHERINV ## Returnerer den inverse Fisher-transformation -FORECAST = PROGNOSE ## Returnerer en prognoseværdi baseret på lineær tendens -FREQUENCY = FREKVENS ## Returnerer en frekvensfordeling i en søjlevektor -FTEST = FTEST ## Returnerer resultatet af en F-test til sammenligning af varians -GAMMADIST = GAMMAFORDELING ## Returnerer fordelingsfunktionen for gammafordelingen -GAMMAINV = GAMMAINV ## Returnerer den inverse fordelingsfunktion for gammafordelingen -GAMMALN = GAMMALN ## Returnerer den naturlige logaritme til gammafordelingen, G(x) -GEOMEAN = GEOMIDDELVÆRDI ## Returnerer det geometriske gennemsnit -GROWTH = FORØGELSE ## Returnerer værdier langs en eksponentiel tendens -HARMEAN = HARMIDDELVÆRDI ## Returnerer det harmoniske gennemsnit -HYPGEOMDIST = HYPGEOFORDELING ## Returnerer punktsandsynligheden i en hypergeometrisk fordeling -INTERCEPT = SKÆRING ## Returnerer afskæringsværdien på y-aksen i en lineær regression -KURT = TOPSTEJL ## Returnerer kurtosisværdien for en stokastisk variabel -LARGE = STOR ## Returnerer den k'te største værdi i et datasæt -LINEST = LINREGR ## Returnerer parameterestimaterne for en lineær tendens -LOGEST = LOGREGR ## Returnerer parameterestimaterne for en eksponentiel tendens -LOGINV = LOGINV ## Returnerer den inverse fordelingsfunktion for lognormalfordelingen -LOGNORMDIST = LOGNORMFORDELING ## Returnerer fordelingsfunktionen for lognormalfordelingen -MAX = MAKS ## Returnerer den maksimale værdi på en liste med argumenter. -MAXA = MAKSV ## Returnerer den maksimale værdi på en liste med argumenter og medtager tal, tekst og logiske værdier -MEDIAN = MEDIAN ## Returnerer medianen for de angivne tal -MIN = MIN ## Returnerer den mindste værdi på en liste med argumenter. -MINA = MINV ## Returnerer den mindste værdi på en liste med argumenter og medtager tal, tekst og logiske værdier -MODE = HYPPIGST ## Returnerer den hyppigste værdi i et datasæt -NEGBINOMDIST = NEGBINOMFORDELING ## Returnerer den negative binomialfordeling -NORMDIST = NORMFORDELING ## Returnerer fordelingsfunktionen for normalfordelingen -NORMINV = NORMINV ## Returnerer den inverse fordelingsfunktion for normalfordelingen -NORMSDIST = STANDARDNORMFORDELING ## Returnerer fordelingsfunktionen for standardnormalfordelingen -NORMSINV = STANDARDNORMINV ## Returnerer den inverse fordelingsfunktion for standardnormalfordelingen -PEARSON = PEARSON ## Returnerer Pearsons korrelationskoefficient -PERCENTILE = FRAKTIL ## Returnerer den k'te fraktil for datasættet -PERCENTRANK = PROCENTPLADS ## Returnerer den procentuelle rang for en given værdi i et datasæt -PERMUT = PERMUT ## Returnerer antallet af permutationer for et givet sæt objekter -POISSON = POISSON ## Returnerer fordelingsfunktionen for en Poisson-fordeling -PROB = SANDSYNLIGHED ## Returnerer intervalsandsynligheden -QUARTILE = KVARTIL ## Returnerer kvartilen i et givet datasæt -RANK = PLADS ## Returnerer rangen for et tal på en liste med tal -RSQ = FORKLARINGSGRAD ## Returnerer R2-værdien fra en simpel lineær regression -SKEW = SKÆVHED ## Returnerer skævheden for en stokastisk variabel -SLOPE = HÆLDNING ## Returnerer estimatet på hældningen fra en simpel lineær regression -SMALL = MINDSTE ## Returnerer den k'te mindste værdi i datasættet -STANDARDIZE = STANDARDISER ## Returnerer en standardiseret værdi -STDEV = STDAFV ## Estimerer standardafvigelsen på basis af en stikprøve -STDEVA = STDAFVV ## Beregner standardafvigelsen på basis af en prøve og medtager tal, tekst og logiske værdier -STDEVP = STDAFVP ## Beregner standardafvigelsen på basis af en hel population -STDEVPA = STDAFVPV ## Beregner standardafvigelsen på basis af en hel population og medtager tal, tekst og logiske værdier -STEYX = STFYX ## Returnerer standardafvigelsen for de estimerede y-værdier i den simple lineære regression -TDIST = TFORDELING ## Returnerer fordelingsfunktionen for Student's t-fordeling -TINV = TINV ## Returnerer den inverse fordelingsfunktion for Student's t-fordeling -TREND = TENDENS ## Returnerer værdi under antagelse af en lineær tendens -TRIMMEAN = TRIMMIDDELVÆRDI ## Returnerer den trimmede middelværdi for datasættet -TTEST = TTEST ## Returnerer den sandsynlighed, der er forbundet med Student's t-test -VAR = VARIANS ## Beregner variansen på basis af en prøve -VARA = VARIANSV ## Beregner variansen på basis af en prøve og medtager tal, tekst og logiske værdier -VARP = VARIANSP ## Beregner variansen på basis af hele populationen -VARPA = VARIANSPV ## Beregner variansen på basis af hele populationen og medtager tal, tekst og logiske værdier -WEIBULL = WEIBULL ## Returnerer fordelingsfunktionen for Weibull-fordelingen -ZTEST = ZTEST ## Returnerer sandsynlighedsværdien ved en en-sidet z-test - - -## -## Text functions Tekstfunktioner -## -ASC = ASC ## Ændrer engelske tegn i fuld bredde (dobbelt-byte) eller katakana i en tegnstreng til tegn i halv bredde (enkelt-byte) -BAHTTEXT = BAHTTEKST ## Konverterer et tal til tekst ved hjælp af valutaformatet ß (baht) -CHAR = TEGN ## Returnerer det tegn, der svarer til kodenummeret -CLEAN = RENS ## Fjerner alle tegn, der ikke kan udskrives, fra tekst -CODE = KODE ## Returnerer en numerisk kode for det første tegn i en tekststreng -CONCATENATE = SAMMENKÆDNING ## Sammenkæder adskillige tekstelementer til ét tekstelement -DOLLAR = KR ## Konverterer et tal til tekst ved hjælp af valutaformatet kr. (kroner) -EXACT = EKSAKT ## Kontrollerer, om to tekstværdier er identiske -FIND = FIND ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes mellem store og små bogstaver) -FINDB = FINDB ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes mellem store og små bogstaver) -FIXED = FAST ## Formaterer et tal som tekst med et fast antal decimaler -JIS = JIS ## Ændrer engelske tegn i halv bredde (enkelt-byte) eller katakana i en tegnstreng til tegn i fuld bredde (dobbelt-byte) -LEFT = VENSTRE ## Returnerer tegnet længst til venstre i en tekstværdi -LEFTB = VENSTREB ## Returnerer tegnet længst til venstre i en tekstværdi -LEN = LÆNGDE ## Returnerer antallet af tegn i en tekststreng -LENB = LÆNGDEB ## Returnerer antallet af tegn i en tekststreng -LOWER = SMÅ.BOGSTAVER ## Konverterer tekst til små bogstaver -MID = MIDT ## Returnerer et bestemt antal tegn fra en tekststreng fra og med den angivne startposition -MIDB = MIDTB ## Returnerer et bestemt antal tegn fra en tekststreng fra og med den angivne startposition -PHONETIC = FONETISK ## Uddrager de fonetiske (furigana) tegn fra en tekststreng -PROPER = STORT.FORBOGSTAV ## Konverterer første bogstav i hvert ord i teksten til stort bogstav -REPLACE = ERSTAT ## Erstatter tegn i tekst -REPLACEB = ERSTATB ## Erstatter tegn i tekst -REPT = GENTAG ## Gentager tekst et givet antal gange -RIGHT = HØJRE ## Returnerer tegnet længste til højre i en tekstværdi -RIGHTB = HØJREB ## Returnerer tegnet længste til højre i en tekstværdi -SEARCH = SØG ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes ikke mellem store og små bogstaver) -SEARCHB = SØGB ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes ikke mellem store og små bogstaver) -SUBSTITUTE = UDSKIFT ## Udskifter gammel tekst med ny tekst i en tekststreng -T = T ## Konverterer argumenterne til tekst -TEXT = TEKST ## Formaterer et tal og konverterer det til tekst -TRIM = FJERN.OVERFLØDIGE.BLANKE ## Fjerner mellemrum fra tekst -UPPER = STORE.BOGSTAVER ## Konverterer tekst til store bogstaver -VALUE = VÆRDI ## Konverterer et tekstargument til et tal diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/da/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/config deleted file mode 100644 index aa0228e7f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NULL! -DIV0 = #DIV/0! -VALUE = #WERT! -REF = #BEZUG! -NAME = #NAME? -NUM = #ZAHL! -NA = #NV diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/functions deleted file mode 100644 index 3147f9c8b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Add-In- und Automatisierungsfunktionen -## -GETPIVOTDATA = PIVOTDATENZUORDNEN ## In einem PivotTable-Bericht gespeicherte Daten werden zurückgegeben. - - -## -## Cube functions Cubefunktionen -## -CUBEKPIMEMBER = CUBEKPIELEMENT ## Gibt Name, Eigenschaft und Measure eines Key Performance Indicators (KPI) zurück und zeigt den Namen und die Eigenschaft in der Zelle an. Ein KPI ist ein quantifizierbares Maß, wie z. B. der monatliche Bruttogewinn oder die vierteljährliche Mitarbeiterfluktuation, mit dessen Hilfe das Leistungsverhalten eines Unternehmens überwacht werden kann. -CUBEMEMBER = CUBEELEMENT ## Gibt ein Element oder ein Tuple in einer Cubehierarchie zurück. Wird verwendet, um zu überprüfen, ob das Element oder Tuple im Cube vorhanden ist. -CUBEMEMBERPROPERTY = CUBEELEMENTEIGENSCHAFT ## Gibt den Wert einer Elementeigenschaft im Cube zurück. Wird verwendet, um zu überprüfen, ob ein Elementname im Cube vorhanden ist, und um die für dieses Element angegebene Eigenschaft zurückzugeben. -CUBERANKEDMEMBER = CUBERANGELEMENT ## Gibt das n-te oder n-rangige Element in einer Menge zurück. Wird verwendet, um mindestens ein Element in einer Menge zurückzugeben, wie z. B. bester Vertriebsmitarbeiter oder 10 beste Kursteilnehmer. -CUBESET = CUBEMENGE ## Definiert eine berechnete Menge Elemente oder Tuples durch Senden eines Mengenausdrucks an den Cube auf dem Server, der die Menge erstellt und an Microsoft Office Excel zurückgibt. -CUBESETCOUNT = CUBEMENGENANZAHL ## Gibt die Anzahl der Elemente in einer Menge zurück. -CUBEVALUE = CUBEWERT ## Gibt einen Aggregatwert aus einem Cube zurück. - - -## -## Database functions Datenbankfunktionen -## -DAVERAGE = DBMITTELWERT ## Gibt den Mittelwert der ausgewählten Datenbankeinträge zurück -DCOUNT = DBANZAHL ## Zählt die Zellen mit Zahlen in einer Datenbank -DCOUNTA = DBANZAHL2 ## Zählt nicht leere Zellen in einer Datenbank -DGET = DBAUSZUG ## Extrahiert aus einer Datenbank einen einzelnen Datensatz, der den angegebenen Kriterien entspricht -DMAX = DBMAX ## Gibt den größten Wert aus ausgewählten Datenbankeinträgen zurück -DMIN = DBMIN ## Gibt den kleinsten Wert aus ausgewählten Datenbankeinträgen zurück -DPRODUCT = DBPRODUKT ## Multipliziert die Werte in einem bestimmten Feld mit Datensätzen, die den Kriterien in einer Datenbank entsprechen -DSTDEV = DBSTDABW ## Schätzt die Standardabweichung auf der Grundlage einer Stichprobe aus ausgewählten Datenbankeinträgen -DSTDEVP = DBSTDABWN ## Berechnet die Standardabweichung auf der Grundlage der Grundgesamtheit ausgewählter Datenbankeinträge -DSUM = DBSUMME ## Addiert die Zahlen in der Feldspalte mit Datensätzen in der Datenbank, die den Kriterien entsprechen -DVAR = DBVARIANZ ## Schätzt die Varianz auf der Grundlage ausgewählter Datenbankeinträge -DVARP = DBVARIANZEN ## Berechnet die Varianz auf der Grundlage der Grundgesamtheit ausgewählter Datenbankeinträge - - -## -## Date and time functions Datums- und Zeitfunktionen -## -DATE = DATUM ## Gibt die fortlaufende Zahl eines bestimmten Datums zurück -DATEVALUE = DATWERT ## Wandelt ein Datum in Form von Text in eine fortlaufende Zahl um -DAY = TAG ## Wandelt eine fortlaufende Zahl in den Tag des Monats um -DAYS360 = TAGE360 ## Berechnet die Anzahl der Tage zwischen zwei Datumsangaben ausgehend von einem Jahr, das 360 Tage hat -EDATE = EDATUM ## Gibt die fortlaufende Zahl des Datums zurück, bei dem es sich um die angegebene Anzahl von Monaten vor oder nach dem Anfangstermin handelt -EOMONTH = MONATSENDE ## Gibt die fortlaufende Zahl des letzten Tags des Monats vor oder nach einer festgelegten Anzahl von Monaten zurück -HOUR = STUNDE ## Wandelt eine fortlaufende Zahl in eine Stunde um -MINUTE = MINUTE ## Wandelt eine fortlaufende Zahl in eine Minute um -MONTH = MONAT ## Wandelt eine fortlaufende Zahl in einen Monat um -NETWORKDAYS = NETTOARBEITSTAGE ## Gibt die Anzahl von ganzen Arbeitstagen zwischen zwei Datumswerten zurück -NOW = JETZT ## Gibt die fortlaufende Zahl des aktuellen Datums und der aktuellen Uhrzeit zurück -SECOND = SEKUNDE ## Wandelt eine fortlaufende Zahl in eine Sekunde um -TIME = ZEIT ## Gibt die fortlaufende Zahl einer bestimmten Uhrzeit zurück -TIMEVALUE = ZEITWERT ## Wandelt eine Uhrzeit in Form von Text in eine fortlaufende Zahl um -TODAY = HEUTE ## Gibt die fortlaufende Zahl des heutigen Datums zurück -WEEKDAY = WOCHENTAG ## Wandelt eine fortlaufende Zahl in den Wochentag um -WEEKNUM = KALENDERWOCHE ## Wandelt eine fortlaufende Zahl in eine Zahl um, die angibt, in welche Woche eines Jahres das angegebene Datum fällt -WORKDAY = ARBEITSTAG ## Gibt die fortlaufende Zahl des Datums vor oder nach einer bestimmten Anzahl von Arbeitstagen zurück -YEAR = JAHR ## Wandelt eine fortlaufende Zahl in ein Jahr um -YEARFRAC = BRTEILJAHRE ## Gibt die Anzahl der ganzen Tage zwischen Ausgangsdatum und Enddatum in Bruchteilen von Jahren zurück - - -## -## Engineering functions Konstruktionsfunktionen -## -BESSELI = BESSELI ## Gibt die geänderte Besselfunktion In(x) zurück -BESSELJ = BESSELJ ## Gibt die Besselfunktion Jn(x) zurück -BESSELK = BESSELK ## Gibt die geänderte Besselfunktion Kn(x) zurück -BESSELY = BESSELY ## Gibt die Besselfunktion Yn(x) zurück -BIN2DEC = BININDEZ ## Wandelt eine binäre Zahl (Dualzahl) in eine dezimale Zahl um -BIN2HEX = BININHEX ## Wandelt eine binäre Zahl (Dualzahl) in eine hexadezimale Zahl um -BIN2OCT = BININOKT ## Wandelt eine binäre Zahl (Dualzahl) in eine oktale Zahl um -COMPLEX = KOMPLEXE ## Wandelt den Real- und Imaginärteil in eine komplexe Zahl um -CONVERT = UMWANDELN ## Wandelt eine Zahl von einem Maßsystem in ein anderes um -DEC2BIN = DEZINBIN ## Wandelt eine dezimale Zahl in eine binäre Zahl (Dualzahl) um -DEC2HEX = DEZINHEX ## Wandelt eine dezimale Zahl in eine hexadezimale Zahl um -DEC2OCT = DEZINOKT ## Wandelt eine dezimale Zahl in eine oktale Zahl um -DELTA = DELTA ## Überprüft, ob zwei Werte gleich sind -ERF = GAUSSFEHLER ## Gibt die Gauss'sche Fehlerfunktion zurück -ERFC = GAUSSFKOMPL ## Gibt das Komplement zur Gauss'schen Fehlerfunktion zurück -GESTEP = GGANZZAHL ## Überprüft, ob eine Zahl größer als ein gegebener Schwellenwert ist -HEX2BIN = HEXINBIN ## Wandelt eine hexadezimale Zahl in eine Binärzahl um -HEX2DEC = HEXINDEZ ## Wandelt eine hexadezimale Zahl in eine dezimale Zahl um -HEX2OCT = HEXINOKT ## Wandelt eine hexadezimale Zahl in eine Oktalzahl um -IMABS = IMABS ## Gibt den Absolutbetrag (Modulo) einer komplexen Zahl zurück -IMAGINARY = IMAGINÄRTEIL ## Gibt den Imaginärteil einer komplexen Zahl zurück -IMARGUMENT = IMARGUMENT ## Gibt das Argument Theta zurück, einen Winkel, der als Bogenmaß ausgedrückt wird -IMCONJUGATE = IMKONJUGIERTE ## Gibt die konjugierte komplexe Zahl zu einer komplexen Zahl zurück -IMCOS = IMCOS ## Gibt den Kosinus einer komplexen Zahl zurück -IMDIV = IMDIV ## Gibt den Quotienten zweier komplexer Zahlen zurück -IMEXP = IMEXP ## Gibt die algebraische Form einer in exponentieller Schreibweise vorliegenden komplexen Zahl zurück -IMLN = IMLN ## Gibt den natürlichen Logarithmus einer komplexen Zahl zurück -IMLOG10 = IMLOG10 ## Gibt den Logarithmus einer komplexen Zahl zur Basis 10 zurück -IMLOG2 = IMLOG2 ## Gibt den Logarithmus einer komplexen Zahl zur Basis 2 zurück -IMPOWER = IMAPOTENZ ## Potenziert eine komplexe Zahl mit einer ganzen Zahl -IMPRODUCT = IMPRODUKT ## Gibt das Produkt von komplexen Zahlen zurück -IMREAL = IMREALTEIL ## Gibt den Realteil einer komplexen Zahl zurück -IMSIN = IMSIN ## Gibt den Sinus einer komplexen Zahl zurück -IMSQRT = IMWURZEL ## Gibt die Quadratwurzel einer komplexen Zahl zurück -IMSUB = IMSUB ## Gibt die Differenz zwischen zwei komplexen Zahlen zurück -IMSUM = IMSUMME ## Gibt die Summe von komplexen Zahlen zurück -OCT2BIN = OKTINBIN ## Wandelt eine oktale Zahl in eine binäre Zahl (Dualzahl) um -OCT2DEC = OKTINDEZ ## Wandelt eine oktale Zahl in eine dezimale Zahl um -OCT2HEX = OKTINHEX ## Wandelt eine oktale Zahl in eine hexadezimale Zahl um - - -## -## Financial functions Finanzmathematische Funktionen -## -ACCRINT = AUFGELZINS ## Gibt die aufgelaufenen Zinsen (Stückzinsen) eines Wertpapiers mit periodischen Zinszahlungen zurück -ACCRINTM = AUFGELZINSF ## Gibt die aufgelaufenen Zinsen (Stückzinsen) eines Wertpapiers zurück, die bei Fälligkeit ausgezahlt werden -AMORDEGRC = AMORDEGRK ## Gibt die Abschreibung für die einzelnen Abschreibungszeiträume mithilfe eines Abschreibungskoeffizienten zurück -AMORLINC = AMORLINEARK ## Gibt die Abschreibung für die einzelnen Abschreibungszeiträume zurück -COUPDAYBS = ZINSTERMTAGVA ## Gibt die Anzahl der Tage vom Anfang des Zinstermins bis zum Abrechnungstermin zurück -COUPDAYS = ZINSTERMTAGE ## Gibt die Anzahl der Tage der Zinsperiode zurück, die den Abrechnungstermin einschließt -COUPDAYSNC = ZINSTERMTAGNZ ## Gibt die Anzahl der Tage vom Abrechnungstermin bis zum nächsten Zinstermin zurück -COUPNCD = ZINSTERMNZ ## Gibt das Datum des ersten Zinstermins nach dem Abrechnungstermin zurück -COUPNUM = ZINSTERMZAHL ## Gibt die Anzahl der Zinstermine zwischen Abrechnungs- und Fälligkeitsdatum zurück -COUPPCD = ZINSTERMVZ ## Gibt das Datum des letzten Zinstermins vor dem Abrechnungstermin zurück -CUMIPMT = KUMZINSZ ## Berechnet die kumulierten Zinsen, die zwischen zwei Perioden zu zahlen sind -CUMPRINC = KUMKAPITAL ## Berechnet die aufgelaufene Tilgung eines Darlehens, die zwischen zwei Perioden zu zahlen ist -DB = GDA2 ## Gibt die geometrisch-degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode zurück -DDB = GDA ## Gibt die Abschreibung eines Anlageguts für einen angegebenen Zeitraum unter Verwendung der degressiven Doppelraten-Abschreibung oder eines anderen von Ihnen angegebenen Abschreibungsverfahrens zurück -DISC = DISAGIO ## Gibt den in Prozent ausgedrückten Abzinsungssatz eines Wertpapiers zurück -DOLLARDE = NOTIERUNGDEZ ## Wandelt eine Notierung, die als Dezimalbruch ausgedrückt wurde, in eine Dezimalzahl um -DOLLARFR = NOTIERUNGBRU ## Wandelt eine Notierung, die als Dezimalzahl ausgedrückt wurde, in einen Dezimalbruch um -DURATION = DURATION ## Gibt die jährliche Duration eines Wertpapiers mit periodischen Zinszahlungen zurück -EFFECT = EFFEKTIV ## Gibt die jährliche Effektivverzinsung zurück -FV = ZW ## Gibt den zukünftigen Wert (Endwert) einer Investition zurück -FVSCHEDULE = ZW2 ## Gibt den aufgezinsten Wert des Anfangskapitals für eine Reihe periodisch unterschiedlicher Zinssätze zurück -INTRATE = ZINSSATZ ## Gibt den Zinssatz eines voll investierten Wertpapiers zurück -IPMT = ZINSZ ## Gibt die Zinszahlung einer Investition für die angegebene Periode zurück -IRR = IKV ## Gibt den internen Zinsfuß einer Investition ohne Finanzierungskosten oder Reinvestitionsgewinne zurück -ISPMT = ISPMT ## Berechnet die während eines bestimmten Zeitraums für eine Investition gezahlten Zinsen -MDURATION = MDURATION ## Gibt die geänderte Dauer für ein Wertpapier mit einem angenommenen Nennwert von 100 € zurück -MIRR = QIKV ## Gibt den internen Zinsfuß zurück, wobei positive und negative Zahlungen zu unterschiedlichen Sätzen finanziert werden -NOMINAL = NOMINAL ## Gibt die jährliche Nominalverzinsung zurück -NPER = ZZR ## Gibt die Anzahl der Zahlungsperioden einer Investition zurück -NPV = NBW ## Gibt den Nettobarwert einer Investition auf Basis periodisch anfallender Zahlungen und eines Abzinsungsfaktors zurück -ODDFPRICE = UNREGER.KURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers mit einem unregelmäßigen ersten Zinstermin zurück -ODDFYIELD = UNREGER.REND ## Gibt die Rendite eines Wertpapiers mit einem unregelmäßigen ersten Zinstermin zurück -ODDLPRICE = UNREGLE.KURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers mit einem unregelmäßigen letzten Zinstermin zurück -ODDLYIELD = UNREGLE.REND ## Gibt die Rendite eines Wertpapiers mit einem unregelmäßigen letzten Zinstermin zurück -PMT = RMZ ## Gibt die periodische Zahlung für eine Annuität zurück -PPMT = KAPZ ## Gibt die Kapitalrückzahlung einer Investition für eine angegebene Periode zurück -PRICE = KURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück, das periodisch Zinsen auszahlt -PRICEDISC = KURSDISAGIO ## Gibt den Kurs pro 100 € Nennwert eines unverzinslichen Wertpapiers zurück -PRICEMAT = KURSFÄLLIG ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück, das Zinsen am Fälligkeitsdatum auszahlt -PV = BW ## Gibt den Barwert einer Investition zurück -RATE = ZINS ## Gibt den Zinssatz pro Zeitraum einer Annuität zurück -RECEIVED = AUSZAHLUNG ## Gibt den Auszahlungsbetrag eines voll investierten Wertpapiers am Fälligkeitstermin zurück -SLN = LIA ## Gibt die lineare Abschreibung eines Wirtschaftsguts pro Periode zurück -SYD = DIA ## Gibt die arithmetisch-degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode zurück -TBILLEQ = TBILLÄQUIV ## Gibt die Rendite für ein Wertpapier zurück -TBILLPRICE = TBILLKURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück -TBILLYIELD = TBILLRENDITE ## Gibt die Rendite für ein Wertpapier zurück -VDB = VDB ## Gibt die degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode oder Teilperiode zurück -XIRR = XINTZINSFUSS ## Gibt den internen Zinsfuß einer Reihe nicht periodisch anfallender Zahlungen zurück -XNPV = XKAPITALWERT ## Gibt den Nettobarwert (Kapitalwert) einer Reihe nicht periodisch anfallender Zahlungen zurück -YIELD = RENDITE ## Gibt die Rendite eines Wertpapiers zurück, das periodisch Zinsen auszahlt -YIELDDISC = RENDITEDIS ## Gibt die jährliche Rendite eines unverzinslichen Wertpapiers zurück -YIELDMAT = RENDITEFÄLL ## Gibt die jährliche Rendite eines Wertpapiers zurück, das Zinsen am Fälligkeitsdatum auszahlt - - -## -## Information functions Informationsfunktionen -## -CELL = ZELLE ## Gibt Informationen zu Formatierung, Position oder Inhalt einer Zelle zurück -ERROR.TYPE = FEHLER.TYP ## Gibt eine Zahl zurück, die einem Fehlertyp entspricht -INFO = INFO ## Gibt Informationen zur aktuellen Betriebssystemumgebung zurück -ISBLANK = ISTLEER ## Gibt WAHR zurück, wenn der Wert leer ist -ISERR = ISTFEHL ## Gibt WAHR zurück, wenn der Wert ein beliebiger Fehlerwert außer #N/V ist -ISERROR = ISTFEHLER ## Gibt WAHR zurück, wenn der Wert ein beliebiger Fehlerwert ist -ISEVEN = ISTGERADE ## Gibt WAHR zurück, wenn es sich um eine gerade Zahl handelt -ISLOGICAL = ISTLOG ## Gibt WAHR zurück, wenn der Wert ein Wahrheitswert ist -ISNA = ISTNV ## Gibt WAHR zurück, wenn der Wert der Fehlerwert #N/V ist -ISNONTEXT = ISTKTEXT ## Gibt WAHR zurück, wenn der Wert ein Element ist, das keinen Text enthält -ISNUMBER = ISTZAHL ## Gibt WAHR zurück, wenn der Wert eine Zahl ist -ISODD = ISTUNGERADE ## Gibt WAHR zurück, wenn es sich um eine ungerade Zahl handelt -ISREF = ISTBEZUG ## Gibt WAHR zurück, wenn der Wert ein Bezug ist -ISTEXT = ISTTEXT ## Gibt WAHR zurück, wenn der Wert ein Element ist, das Text enthält -N = N ## Gibt den in eine Zahl umgewandelten Wert zurück -NA = NV ## Gibt den Fehlerwert #NV zurück -TYPE = TYP ## Gibt eine Zahl zurück, die den Datentyp des angegebenen Werts anzeigt - - -## -## Logical functions Logische Funktionen -## -AND = UND ## Gibt WAHR zurück, wenn alle zugehörigen Argumente WAHR sind -FALSE = FALSCH ## Gibt den Wahrheitswert FALSCH zurück -IF = WENN ## Gibt einen logischen Test zum Ausführen an -IFERROR = WENNFEHLER ## Gibt einen von Ihnen festgelegten Wert zurück, wenn die Auswertung der Formel zu einem Fehler führt; andernfalls wird das Ergebnis der Formel zurückgegeben -NOT = NICHT ## Kehrt den Wahrheitswert der zugehörigen Argumente um -OR = ODER ## Gibt WAHR zurück, wenn ein Argument WAHR ist -TRUE = WAHR ## Gibt den Wahrheitswert WAHR zurück - - -## -## Lookup and reference functions Nachschlage- und Verweisfunktionen -## -ADDRESS = ADRESSE ## Gibt einen Bezug auf eine einzelne Zelle in einem Tabellenblatt als Text zurück -AREAS = BEREICHE ## Gibt die Anzahl der innerhalb eines Bezugs aufgeführten Bereiche zurück -CHOOSE = WAHL ## Wählt einen Wert aus eine Liste mit Werten aus -COLUMN = SPALTE ## Gibt die Spaltennummer eines Bezugs zurück -COLUMNS = SPALTEN ## Gibt die Anzahl der Spalten in einem Bezug zurück -HLOOKUP = HVERWEIS ## Sucht in der obersten Zeile einer Matrix und gibt den Wert der angegebenen Zelle zurück -HYPERLINK = HYPERLINK ## Erstellt eine Verknüpfung, über die ein auf einem Netzwerkserver, in einem Intranet oder im Internet gespeichertes Dokument geöffnet wird -INDEX = INDEX ## Verwendet einen Index, um einen Wert aus einem Bezug oder einer Matrix auszuwählen -INDIRECT = INDIREKT ## Gibt einen Bezug zurück, der von einem Textwert angegeben wird -LOOKUP = LOOKUP ## Sucht Werte in einem Vektor oder einer Matrix -MATCH = VERGLEICH ## Sucht Werte in einem Bezug oder einer Matrix -OFFSET = BEREICH.VERSCHIEBEN ## Gibt einen Bezugoffset aus einem gegebenen Bezug zurück -ROW = ZEILE ## Gibt die Zeilennummer eines Bezugs zurück -ROWS = ZEILEN ## Gibt die Anzahl der Zeilen in einem Bezug zurück -RTD = RTD ## Ruft Echtzeitdaten von einem Programm ab, das die COM-Automatisierung (Automatisierung: Ein Verfahren, bei dem aus einer Anwendung oder einem Entwicklungstool heraus mit den Objekten einer anderen Anwendung gearbeitet wird. Die früher als OLE-Automatisierung bezeichnete Automatisierung ist ein Industriestandard und eine Funktion von COM (Component Object Model).) unterstützt -TRANSPOSE = MTRANS ## Gibt die transponierte Matrix einer Matrix zurück -VLOOKUP = SVERWEIS ## Sucht in der ersten Spalte einer Matrix und arbeitet sich durch die Zeile, um den Wert einer Zelle zurückzugeben - - -## -## Math and trigonometry functions Mathematische und trigonometrische Funktionen -## -ABS = ABS ## Gibt den Absolutwert einer Zahl zurück -ACOS = ARCCOS ## Gibt den Arkuskosinus einer Zahl zurück -ACOSH = ARCCOSHYP ## Gibt den umgekehrten hyperbolischen Kosinus einer Zahl zurück -ASIN = ARCSIN ## Gibt den Arkussinus einer Zahl zurück -ASINH = ARCSINHYP ## Gibt den umgekehrten hyperbolischen Sinus einer Zahl zurück -ATAN = ARCTAN ## Gibt den Arkustangens einer Zahl zurück -ATAN2 = ARCTAN2 ## Gibt den Arkustangens einer x- und einer y-Koordinate zurück -ATANH = ARCTANHYP ## Gibt den umgekehrten hyperbolischen Tangens einer Zahl zurück -CEILING = OBERGRENZE ## Rundet eine Zahl auf die nächste ganze Zahl oder das nächste Vielfache von Schritt -COMBIN = KOMBINATIONEN ## Gibt die Anzahl der Kombinationen für eine bestimmte Anzahl von Objekten zurück -COS = COS ## Gibt den Kosinus einer Zahl zurück -COSH = COSHYP ## Gibt den hyperbolischen Kosinus einer Zahl zurück -DEGREES = GRAD ## Wandelt Bogenmaß (Radiant) in Grad um -EVEN = GERADE ## Rundet eine Zahl auf die nächste gerade ganze Zahl auf -EXP = EXP ## Potenziert die Basis e mit der als Argument angegebenen Zahl -FACT = FAKULTÄT ## Gibt die Fakultät einer Zahl zurück -FACTDOUBLE = ZWEIFAKULTÄT ## Gibt die Fakultät zu Zahl mit Schrittlänge 2 zurück -FLOOR = UNTERGRENZE ## Rundet die Zahl auf Anzahl_Stellen ab -GCD = GGT ## Gibt den größten gemeinsamen Teiler zurück -INT = GANZZAHL ## Rundet eine Zahl auf die nächstkleinere ganze Zahl ab -LCM = KGV ## Gibt das kleinste gemeinsame Vielfache zurück -LN = LN ## Gibt den natürlichen Logarithmus einer Zahl zurück -LOG = LOG ## Gibt den Logarithmus einer Zahl zu der angegebenen Basis zurück -LOG10 = LOG10 ## Gibt den Logarithmus einer Zahl zur Basis 10 zurück -MDETERM = MDET ## Gibt die Determinante einer Matrix zurück -MINVERSE = MINV ## Gibt die inverse Matrix einer Matrix zurück -MMULT = MMULT ## Gibt das Produkt zweier Matrizen zurück -MOD = REST ## Gibt den Rest einer Division zurück -MROUND = VRUNDEN ## Gibt eine auf das gewünschte Vielfache gerundete Zahl zurück -MULTINOMIAL = POLYNOMIAL ## Gibt den Polynomialkoeffizienten einer Gruppe von Zahlen zurück -ODD = UNGERADE ## Rundet eine Zahl auf die nächste ungerade ganze Zahl auf -PI = PI ## Gibt den Wert Pi zurück -POWER = POTENZ ## Gibt als Ergebnis eine potenzierte Zahl zurück -PRODUCT = PRODUKT ## Multipliziert die zugehörigen Argumente -QUOTIENT = QUOTIENT ## Gibt den ganzzahligen Anteil einer Division zurück -RADIANS = BOGENMASS ## Wandelt Grad in Bogenmaß (Radiant) um -RAND = ZUFALLSZAHL ## Gibt eine Zufallszahl zwischen 0 und 1 zurück -RANDBETWEEN = ZUFALLSBEREICH ## Gibt eine Zufallszahl aus dem festgelegten Bereich zurück -ROMAN = RÖMISCH ## Wandelt eine arabische Zahl in eine römische Zahl als Text um -ROUND = RUNDEN ## Rundet eine Zahl auf eine bestimmte Anzahl von Dezimalstellen -ROUNDDOWN = ABRUNDEN ## Rundet die Zahl auf Anzahl_Stellen ab -ROUNDUP = AUFRUNDEN ## Rundet die Zahl auf Anzahl_Stellen auf -SERIESSUM = POTENZREIHE ## Gibt die Summe von Potenzen (zur Berechnung von Potenzreihen und dichotomen Wahrscheinlichkeiten) zurück -SIGN = VORZEICHEN ## Gibt das Vorzeichen einer Zahl zurück -SIN = SIN ## Gibt den Sinus einer Zahl zurück -SINH = SINHYP ## Gibt den hyperbolischen Sinus einer Zahl zurück -SQRT = WURZEL ## Gibt die Quadratwurzel einer Zahl zurück -SQRTPI = WURZELPI ## Gibt die Wurzel aus der mit Pi (pi) multiplizierten Zahl zurück -SUBTOTAL = TEILERGEBNIS ## Gibt ein Teilergebnis in einer Liste oder Datenbank zurück -SUM = SUMME ## Addiert die zugehörigen Argumente -SUMIF = SUMMEWENN ## Addiert Zahlen, die mit den Suchkriterien übereinstimmen -SUMIFS = SUMMEWENNS ## Die Zellen, die mehrere Kriterien erfüllen, werden in einem Bereich hinzugefügt -SUMPRODUCT = SUMMENPRODUKT ## Gibt die Summe der Produkte zusammengehöriger Matrixkomponenten zurück -SUMSQ = QUADRATESUMME ## Gibt die Summe der quadrierten Argumente zurück -SUMX2MY2 = SUMMEX2MY2 ## Gibt die Summe der Differenzen der Quadrate für zusammengehörige Komponenten zweier Matrizen zurück -SUMX2PY2 = SUMMEX2PY2 ## Gibt die Summe der Quadrate für zusammengehörige Komponenten zweier Matrizen zurück -SUMXMY2 = SUMMEXMY2 ## Gibt die Summe der quadrierten Differenzen für zusammengehörige Komponenten zweier Matrizen zurück -TAN = TAN ## Gibt den Tangens einer Zahl zurück -TANH = TANHYP ## Gibt den hyperbolischen Tangens einer Zahl zurück -TRUNC = KÜRZEN ## Schneidet die Kommastellen einer Zahl ab und gibt als Ergebnis eine ganze Zahl zurück - - -## -## Statistical functions Statistische Funktionen -## -AVEDEV = MITTELABW ## Gibt die durchschnittliche absolute Abweichung einer Reihe von Merkmalsausprägungen und ihrem Mittelwert zurück -AVERAGE = MITTELWERT ## Gibt den Mittelwert der zugehörigen Argumente zurück -AVERAGEA = MITTELWERTA ## Gibt den Mittelwert der zugehörigen Argumente, die Zahlen, Text und Wahrheitswerte enthalten, zurück -AVERAGEIF = MITTELWERTWENN ## Der Durchschnittswert (arithmetisches Mittel) für alle Zellen in einem Bereich, die einem angegebenen Kriterium entsprechen, wird zurückgegeben -AVERAGEIFS = MITTELWERTWENNS ## Gibt den Durchschnittswert (arithmetisches Mittel) aller Zellen zurück, die mehreren Kriterien entsprechen -BETADIST = BETAVERT ## Gibt die Werte der kumulierten Betaverteilungsfunktion zurück -BETAINV = BETAINV ## Gibt das Quantil der angegebenen Betaverteilung zurück -BINOMDIST = BINOMVERT ## Gibt Wahrscheinlichkeiten einer binomialverteilten Zufallsvariablen zurück -CHIDIST = CHIVERT ## Gibt Werte der Verteilungsfunktion (1-Alpha) einer Chi-Quadrat-verteilten Zufallsgröße zurück -CHIINV = CHIINV ## Gibt Quantile der Verteilungsfunktion (1-Alpha) der Chi-Quadrat-Verteilung zurück -CHITEST = CHITEST ## Gibt die Teststatistik eines Unabhängigkeitstests zurück -CONFIDENCE = KONFIDENZ ## Ermöglicht die Berechnung des 1-Alpha Konfidenzintervalls für den Erwartungswert einer Zufallsvariablen -CORREL = KORREL ## Gibt den Korrelationskoeffizienten zweier Reihen von Merkmalsausprägungen zurück -COUNT = ANZAHL ## Gibt die Anzahl der Zahlen in der Liste mit Argumenten an -COUNTA = ANZAHL2 ## Gibt die Anzahl der Werte in der Liste mit Argumenten an -COUNTBLANK = ANZAHLLEEREZELLEN ## Gibt die Anzahl der leeren Zellen in einem Bereich an -COUNTIF = ZÄHLENWENN ## Gibt die Anzahl der Zellen in einem Bereich an, deren Inhalte mit den Suchkriterien übereinstimmen -COUNTIFS = ZÄHLENWENNS ## Gibt die Anzahl der Zellen in einem Bereich an, deren Inhalte mit mehreren Suchkriterien übereinstimmen -COVAR = KOVAR ## Gibt die Kovarianz zurück, den Mittelwert der für alle Datenpunktpaare gebildeten Produkte der Abweichungen -CRITBINOM = KRITBINOM ## Gibt den kleinsten Wert zurück, für den die kumulierten Wahrscheinlichkeiten der Binomialverteilung kleiner oder gleich einer Grenzwahrscheinlichkeit sind -DEVSQ = SUMQUADABW ## Gibt die Summe der quadrierten Abweichungen der Datenpunkte von ihrem Stichprobenmittelwert zurück -EXPONDIST = EXPONVERT ## Gibt Wahrscheinlichkeiten einer exponential verteilten Zufallsvariablen zurück -FDIST = FVERT ## Gibt Werte der Verteilungsfunktion (1-Alpha) einer F-verteilten Zufallsvariablen zurück -FINV = FINV ## Gibt Quantile der F-Verteilung zurück -FISHER = FISHER ## Gibt die Fisher-Transformation zurück -FISHERINV = FISHERINV ## Gibt die Umkehrung der Fisher-Transformation zurück -FORECAST = PROGNOSE ## Gibt einen Wert zurück, der sich aus einem linearen Trend ergibt -FREQUENCY = HÄUFIGKEIT ## Gibt eine Häufigkeitsverteilung als vertikale Matrix zurück -FTEST = FTEST ## Gibt die Teststatistik eines F-Tests zurück -GAMMADIST = GAMMAVERT ## Gibt Wahrscheinlichkeiten einer gammaverteilten Zufallsvariablen zurück -GAMMAINV = GAMMAINV ## Gibt Quantile der Gammaverteilung zurück -GAMMALN = GAMMALN ## Gibt den natürlichen Logarithmus der Gammafunktion zurück, Γ(x) -GEOMEAN = GEOMITTEL ## Gibt das geometrische Mittel zurück -GROWTH = VARIATION ## Gibt Werte zurück, die sich aus einem exponentiellen Trend ergeben -HARMEAN = HARMITTEL ## Gibt das harmonische Mittel zurück -HYPGEOMDIST = HYPGEOMVERT ## Gibt Wahrscheinlichkeiten einer hypergeometrisch-verteilten Zufallsvariablen zurück -INTERCEPT = ACHSENABSCHNITT ## Gibt den Schnittpunkt der Regressionsgeraden zurück -KURT = KURT ## Gibt die Kurtosis (Exzess) einer Datengruppe zurück -LARGE = KGRÖSSTE ## Gibt den k-größten Wert einer Datengruppe zurück -LINEST = RGP ## Gibt die Parameter eines linearen Trends zurück -LOGEST = RKP ## Gibt die Parameter eines exponentiellen Trends zurück -LOGINV = LOGINV ## Gibt Quantile der Lognormalverteilung zurück -LOGNORMDIST = LOGNORMVERT ## Gibt Werte der Verteilungsfunktion einer lognormalverteilten Zufallsvariablen zurück -MAX = MAX ## Gibt den Maximalwert einer Liste mit Argumenten zurück -MAXA = MAXA ## Gibt den Maximalwert einer Liste mit Argumenten zurück, die Zahlen, Text und Wahrheitswerte enthalten -MEDIAN = MEDIAN ## Gibt den Median der angegebenen Zahlen zurück -MIN = MIN ## Gibt den Minimalwert einer Liste mit Argumenten zurück -MINA = MINA ## Gibt den kleinsten Wert einer Liste mit Argumenten zurück, die Zahlen, Text und Wahrheitswerte enthalten -MODE = MODALWERT ## Gibt den am häufigsten vorkommenden Wert in einer Datengruppe zurück -NEGBINOMDIST = NEGBINOMVERT ## Gibt Wahrscheinlichkeiten einer negativen, binominal verteilten Zufallsvariablen zurück -NORMDIST = NORMVERT ## Gibt Wahrscheinlichkeiten einer normal verteilten Zufallsvariablen zurück -NORMINV = NORMINV ## Gibt Quantile der Normalverteilung zurück -NORMSDIST = STANDNORMVERT ## Gibt Werte der Verteilungsfunktion einer standardnormalverteilten Zufallsvariablen zurück -NORMSINV = STANDNORMINV ## Gibt Quantile der Standardnormalverteilung zurück -PEARSON = PEARSON ## Gibt den Pearsonschen Korrelationskoeffizienten zurück -PERCENTILE = QUANTIL ## Gibt das Alpha-Quantil einer Gruppe von Daten zurück -PERCENTRANK = QUANTILSRANG ## Gibt den prozentualen Rang (Alpha) eines Werts in einer Datengruppe zurück -PERMUT = VARIATIONEN ## Gibt die Anzahl der Möglichkeiten zurück, um k Elemente aus einer Menge von n Elementen ohne Zurücklegen zu ziehen -POISSON = POISSON ## Gibt Wahrscheinlichkeiten einer poissonverteilten Zufallsvariablen zurück -PROB = WAHRSCHBEREICH ## Gibt die Wahrscheinlichkeit für ein von zwei Werten eingeschlossenes Intervall zurück -QUARTILE = QUARTILE ## Gibt die Quartile der Datengruppe zurück -RANK = RANG ## Gibt den Rang zurück, den eine Zahl innerhalb einer Liste von Zahlen einnimmt -RSQ = BESTIMMTHEITSMASS ## Gibt das Quadrat des Pearsonschen Korrelationskoeffizienten zurück -SKEW = SCHIEFE ## Gibt die Schiefe einer Verteilung zurück -SLOPE = STEIGUNG ## Gibt die Steigung der Regressionsgeraden zurück -SMALL = KKLEINSTE ## Gibt den k-kleinsten Wert einer Datengruppe zurück -STANDARDIZE = STANDARDISIERUNG ## Gibt den standardisierten Wert zurück -STDEV = STABW ## Schätzt die Standardabweichung ausgehend von einer Stichprobe -STDEVA = STABWA ## Schätzt die Standardabweichung ausgehend von einer Stichprobe, die Zahlen, Text und Wahrheitswerte enthält -STDEVP = STABWN ## Berechnet die Standardabweichung ausgehend von der Grundgesamtheit -STDEVPA = STABWNA ## Berechnet die Standardabweichung ausgehend von der Grundgesamtheit, die Zahlen, Text und Wahrheitswerte enthält -STEYX = STFEHLERYX ## Gibt den Standardfehler der geschätzten y-Werte für alle x-Werte der Regression zurück -TDIST = TVERT ## Gibt Werte der Verteilungsfunktion (1-Alpha) einer (Student) t-verteilten Zufallsvariablen zurück -TINV = TINV ## Gibt Quantile der t-Verteilung zurück -TREND = TREND ## Gibt Werte zurück, die sich aus einem linearen Trend ergeben -TRIMMEAN = GESTUTZTMITTEL ## Gibt den Mittelwert einer Datengruppe zurück, ohne die Randwerte zu berücksichtigen -TTEST = TTEST ## Gibt die Teststatistik eines Student'schen t-Tests zurück -VAR = VARIANZ ## Schätzt die Varianz ausgehend von einer Stichprobe -VARA = VARIANZA ## Schätzt die Varianz ausgehend von einer Stichprobe, die Zahlen, Text und Wahrheitswerte enthält -VARP = VARIANZEN ## Berechnet die Varianz ausgehend von der Grundgesamtheit -VARPA = VARIANZENA ## Berechnet die Varianz ausgehend von der Grundgesamtheit, die Zahlen, Text und Wahrheitswerte enthält -WEIBULL = WEIBULL ## Gibt Wahrscheinlichkeiten einer weibullverteilten Zufallsvariablen zurück -ZTEST = GTEST ## Gibt den einseitigen Wahrscheinlichkeitswert für einen Gausstest (Normalverteilung) zurück - - -## -## Text functions Textfunktionen -## -ASC = ASC ## Konvertiert DB-Text in einer Zeichenfolge (lateinische Buchstaben oder Katakana) in SB-Text -BAHTTEXT = BAHTTEXT ## Wandelt eine Zahl in Text im Währungsformat ß (Baht) um -CHAR = ZEICHEN ## Gibt das der Codezahl entsprechende Zeichen zurück -CLEAN = SÄUBERN ## Löscht alle nicht druckbaren Zeichen aus einem Text -CODE = CODE ## Gibt die Codezahl des ersten Zeichens in einem Text zurück -CONCATENATE = VERKETTEN ## Verknüpft mehrere Textelemente zu einem Textelement -DOLLAR = DM ## Wandelt eine Zahl in Text im Währungsformat € (Euro) um -EXACT = IDENTISCH ## Prüft, ob zwei Textwerte identisch sind -FIND = FINDEN ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird unterschieden) -FINDB = FINDENB ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird unterschieden) -FIXED = FEST ## Formatiert eine Zahl als Text mit einer festen Anzahl von Dezimalstellen -JIS = JIS ## Konvertiert SB-Text in einer Zeichenfolge (lateinische Buchstaben oder Katakana) in DB-Text -LEFT = LINKS ## Gibt die Zeichen ganz links in einem Textwert zurück -LEFTB = LINKSB ## Gibt die Zeichen ganz links in einem Textwert zurück -LEN = LÄNGE ## Gibt die Anzahl der Zeichen in einer Zeichenfolge zurück -LENB = LÄNGEB ## Gibt die Anzahl der Zeichen in einer Zeichenfolge zurück -LOWER = KLEIN ## Wandelt Text in Kleinbuchstaben um -MID = TEIL ## Gibt eine bestimmte Anzahl Zeichen aus einer Zeichenfolge ab der von Ihnen angegebenen Stelle zurück -MIDB = TEILB ## Gibt eine bestimmte Anzahl Zeichen aus einer Zeichenfolge ab der von Ihnen angegebenen Stelle zurück -PHONETIC = PHONETIC ## Extrahiert die phonetischen (Furigana-)Zeichen aus einer Textzeichenfolge -PROPER = GROSS2 ## Wandelt den ersten Buchstaben aller Wörter eines Textwerts in Großbuchstaben um -REPLACE = ERSETZEN ## Ersetzt Zeichen in Text -REPLACEB = ERSETZENB ## Ersetzt Zeichen in Text -REPT = WIEDERHOLEN ## Wiederholt einen Text so oft wie angegeben -RIGHT = RECHTS ## Gibt die Zeichen ganz rechts in einem Textwert zurück -RIGHTB = RECHTSB ## Gibt die Zeichen ganz rechts in einem Textwert zurück -SEARCH = SUCHEN ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird nicht unterschieden) -SEARCHB = SUCHENB ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird nicht unterschieden) -SUBSTITUTE = WECHSELN ## Ersetzt in einer Zeichenfolge neuen Text gegen alten -T = T ## Wandelt die zugehörigen Argumente in Text um -TEXT = TEXT ## Formatiert eine Zahl und wandelt sie in Text um -TRIM = GLÄTTEN ## Entfernt Leerzeichen aus Text -UPPER = GROSS ## Wandelt Text in Großbuchstaben um -VALUE = WERT ## Wandelt ein Textargument in eine Zahl um diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/de/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/uk/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/uk/config deleted file mode 100644 index 532080b57..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/uk/config +++ /dev/null @@ -1,32 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -## -## (For future use) -## -currencySymbol = £ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/uk/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/uk/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/en/uk/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/config deleted file mode 100644 index 96cfa69db..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = $ ## I'm surprised that the Excel Documentation suggests $ rather than € - - -## -## Excel Error Codes (For future use) -## -NULL = #¡NULO! -DIV0 = #¡DIV/0! -VALUE = #¡VALOR! -REF = #¡REF! -NAME = #¿NOMBRE? -NUM = #¡NÚM! -NA = #N/A diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/functions deleted file mode 100644 index 48762695b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funciones de complementos y automatización -## -GETPIVOTDATA = IMPORTARDATOSDINAMICOS ## Devuelve los datos almacenados en un informe de tabla dinámica. - - -## -## Cube functions Funciones de cubo -## -CUBEKPIMEMBER = MIEMBROKPICUBO ## Devuelve un nombre, propiedad y medida de indicador de rendimiento clave (KPI) y muestra el nombre y la propiedad en la celda. Un KPI es una medida cuantificable, como los beneficios brutos mensuales o la facturación trimestral por empleado, que se usa para supervisar el rendimiento de una organización. -CUBEMEMBER = MIEMBROCUBO ## Devuelve un miembro o tupla en una jerarquía de cubo. Se usa para validar la existencia del miembro o la tupla en el cubo. -CUBEMEMBERPROPERTY = PROPIEDADMIEMBROCUBO ## Devuelve el valor de una propiedad de miembro del cubo Se usa para validar la existencia de un nombre de miembro en el cubo y para devolver la propiedad especificada para este miembro. -CUBERANKEDMEMBER = MIEMBRORANGOCUBO ## Devuelve el miembro n, o clasificado, de un conjunto. Se usa para devolver uno o más elementos de un conjunto, por ejemplo, el representante con mejores ventas o los diez mejores alumnos. -CUBESET = CONJUNTOCUBO ## Define un conjunto calculado de miembros o tuplas mediante el envío de una expresión de conjunto al cubo en el servidor, lo que crea el conjunto y, después, devuelve dicho conjunto a Microsoft Office Excel. -CUBESETCOUNT = RECUENTOCONJUNTOCUBO ## Devuelve el número de elementos de un conjunto. -CUBEVALUE = VALORCUBO ## Devuelve un valor agregado de un cubo. - - -## -## Database functions Funciones de base de datos -## -DAVERAGE = BDPROMEDIO ## Devuelve el promedio de las entradas seleccionadas en la base de datos. -DCOUNT = BDCONTAR ## Cuenta el número de celdas que contienen números en una base de datos. -DCOUNTA = BDCONTARA ## Cuenta el número de celdas no vacías en una base de datos. -DGET = BDEXTRAER ## Extrae de una base de datos un único registro que cumple los criterios especificados. -DMAX = BDMAX ## Devuelve el valor máximo de las entradas seleccionadas de la base de datos. -DMIN = BDMIN ## Devuelve el valor mínimo de las entradas seleccionadas de la base de datos. -DPRODUCT = BDPRODUCTO ## Multiplica los valores de un campo concreto de registros de una base de datos que cumplen los criterios especificados. -DSTDEV = BDDESVEST ## Calcula la desviación estándar a partir de una muestra de entradas seleccionadas en la base de datos. -DSTDEVP = BDDESVESTP ## Calcula la desviación estándar en función de la población total de las entradas seleccionadas de la base de datos. -DSUM = BDSUMA ## Suma los números de la columna de campo de los registros de la base de datos que cumplen los criterios. -DVAR = BDVAR ## Calcula la varianza a partir de una muestra de entradas seleccionadas de la base de datos. -DVARP = BDVARP ## Calcula la varianza a partir de la población total de entradas seleccionadas de la base de datos. - - -## -## Date and time functions Funciones de fecha y hora -## -DATE = FECHA ## Devuelve el número de serie correspondiente a una fecha determinada. -DATEVALUE = FECHANUMERO ## Convierte una fecha con formato de texto en un valor de número de serie. -DAY = DIA ## Convierte un número de serie en un valor de día del mes. -DAYS360 = DIAS360 ## Calcula el número de días entre dos fechas a partir de un año de 360 días. -EDATE = FECHA.MES ## Devuelve el número de serie de la fecha equivalente al número indicado de meses anteriores o posteriores a la fecha inicial. -EOMONTH = FIN.MES ## Devuelve el número de serie correspondiente al último día del mes anterior o posterior a un número de meses especificado. -HOUR = HORA ## Convierte un número de serie en un valor de hora. -MINUTE = MINUTO ## Convierte un número de serie en un valor de minuto. -MONTH = MES ## Convierte un número de serie en un valor de mes. -NETWORKDAYS = DIAS.LAB ## Devuelve el número de todos los días laborables existentes entre dos fechas. -NOW = AHORA ## Devuelve el número de serie correspondiente a la fecha y hora actuales. -SECOND = SEGUNDO ## Convierte un número de serie en un valor de segundo. -TIME = HORA ## Devuelve el número de serie correspondiente a una hora determinada. -TIMEVALUE = HORANUMERO ## Convierte una hora con formato de texto en un valor de número de serie. -TODAY = HOY ## Devuelve el número de serie correspondiente al día actual. -WEEKDAY = DIASEM ## Convierte un número de serie en un valor de día de la semana. -WEEKNUM = NUM.DE.SEMANA ## Convierte un número de serie en un número que representa el lugar numérico correspondiente a una semana de un año. -WORKDAY = DIA.LAB ## Devuelve el número de serie de la fecha que tiene lugar antes o después de un número determinado de días laborables. -YEAR = AÑO ## Convierte un número de serie en un valor de año. -YEARFRAC = FRAC.AÑO ## Devuelve la fracción de año que representa el número total de días existentes entre el valor de fecha_inicial y el de fecha_final. - - -## -## Engineering functions Funciones de ingeniería -## -BESSELI = BESSELI ## Devuelve la función Bessel In(x) modificada. -BESSELJ = BESSELJ ## Devuelve la función Bessel Jn(x). -BESSELK = BESSELK ## Devuelve la función Bessel Kn(x) modificada. -BESSELY = BESSELY ## Devuelve la función Bessel Yn(x). -BIN2DEC = BIN.A.DEC ## Convierte un número binario en decimal. -BIN2HEX = BIN.A.HEX ## Convierte un número binario en hexadecimal. -BIN2OCT = BIN.A.OCT ## Convierte un número binario en octal. -COMPLEX = COMPLEJO ## Convierte coeficientes reales e imaginarios en un número complejo. -CONVERT = CONVERTIR ## Convierte un número de un sistema de medida a otro. -DEC2BIN = DEC.A.BIN ## Convierte un número decimal en binario. -DEC2HEX = DEC.A.HEX ## Convierte un número decimal en hexadecimal. -DEC2OCT = DEC.A.OCT ## Convierte un número decimal en octal. -DELTA = DELTA ## Comprueba si dos valores son iguales. -ERF = FUN.ERROR ## Devuelve la función de error. -ERFC = FUN.ERROR.COMPL ## Devuelve la función de error complementario. -GESTEP = MAYOR.O.IGUAL ## Comprueba si un número es mayor que un valor de umbral. -HEX2BIN = HEX.A.BIN ## Convierte un número hexadecimal en binario. -HEX2DEC = HEX.A.DEC ## Convierte un número hexadecimal en decimal. -HEX2OCT = HEX.A.OCT ## Convierte un número hexadecimal en octal. -IMABS = IM.ABS ## Devuelve el valor absoluto (módulo) de un número complejo. -IMAGINARY = IMAGINARIO ## Devuelve el coeficiente imaginario de un número complejo. -IMARGUMENT = IM.ANGULO ## Devuelve el argumento theta, un ángulo expresado en radianes. -IMCONJUGATE = IM.CONJUGADA ## Devuelve la conjugada compleja de un número complejo. -IMCOS = IM.COS ## Devuelve el coseno de un número complejo. -IMDIV = IM.DIV ## Devuelve el cociente de dos números complejos. -IMEXP = IM.EXP ## Devuelve el valor exponencial de un número complejo. -IMLN = IM.LN ## Devuelve el logaritmo natural (neperiano) de un número complejo. -IMLOG10 = IM.LOG10 ## Devuelve el logaritmo en base 10 de un número complejo. -IMLOG2 = IM.LOG2 ## Devuelve el logaritmo en base 2 de un número complejo. -IMPOWER = IM.POT ## Devuelve un número complejo elevado a una potencia entera. -IMPRODUCT = IM.PRODUCT ## Devuelve el producto de números complejos. -IMREAL = IM.REAL ## Devuelve el coeficiente real de un número complejo. -IMSIN = IM.SENO ## Devuelve el seno de un número complejo. -IMSQRT = IM.RAIZ2 ## Devuelve la raíz cuadrada de un número complejo. -IMSUB = IM.SUSTR ## Devuelve la diferencia entre dos números complejos. -IMSUM = IM.SUM ## Devuelve la suma de números complejos. -OCT2BIN = OCT.A.BIN ## Convierte un número octal en binario. -OCT2DEC = OCT.A.DEC ## Convierte un número octal en decimal. -OCT2HEX = OCT.A.HEX ## Convierte un número octal en hexadecimal. - - -## -## Financial functions Funciones financieras -## -ACCRINT = INT.ACUM ## Devuelve el interés acumulado de un valor bursátil con pagos de interés periódicos. -ACCRINTM = INT.ACUM.V ## Devuelve el interés acumulado de un valor bursátil con pagos de interés al vencimiento. -AMORDEGRC = AMORTIZ.PROGRE ## Devuelve la amortización de cada período contable mediante el uso de un coeficiente de amortización. -AMORLINC = AMORTIZ.LIN ## Devuelve la amortización de cada uno de los períodos contables. -COUPDAYBS = CUPON.DIAS.L1 ## Devuelve el número de días desde el principio del período de un cupón hasta la fecha de liquidación. -COUPDAYS = CUPON.DIAS ## Devuelve el número de días del período (entre dos cupones) donde se encuentra la fecha de liquidación. -COUPDAYSNC = CUPON.DIAS.L2 ## Devuelve el número de días desde la fecha de liquidación hasta la fecha del próximo cupón. -COUPNCD = CUPON.FECHA.L2 ## Devuelve la fecha del próximo cupón después de la fecha de liquidación. -COUPNUM = CUPON.NUM ## Devuelve el número de pagos de cupón entre la fecha de liquidación y la fecha de vencimiento. -COUPPCD = CUPON.FECHA.L1 ## Devuelve la fecha de cupón anterior a la fecha de liquidación. -CUMIPMT = PAGO.INT.ENTRE ## Devuelve el interés acumulado pagado entre dos períodos. -CUMPRINC = PAGO.PRINC.ENTRE ## Devuelve el capital acumulado pagado de un préstamo entre dos períodos. -DB = DB ## Devuelve la amortización de un bien durante un período específico a través del método de amortización de saldo fijo. -DDB = DDB ## Devuelve la amortización de un bien durante un período específico a través del método de amortización por doble disminución de saldo u otro método que se especifique. -DISC = TASA.DESC ## Devuelve la tasa de descuento de un valor bursátil. -DOLLARDE = MONEDA.DEC ## Convierte una cotización de un valor bursátil expresada en forma fraccionaria en una cotización de un valor bursátil expresada en forma decimal. -DOLLARFR = MONEDA.FRAC ## Convierte una cotización de un valor bursátil expresada en forma decimal en una cotización de un valor bursátil expresada en forma fraccionaria. -DURATION = DURACION ## Devuelve la duración anual de un valor bursátil con pagos de interés periódico. -EFFECT = INT.EFECTIVO ## Devuelve la tasa de interés anual efectiva. -FV = VF ## Devuelve el valor futuro de una inversión. -FVSCHEDULE = VF.PLAN ## Devuelve el valor futuro de un capital inicial después de aplicar una serie de tasas de interés compuesto. -INTRATE = TASA.INT ## Devuelve la tasa de interés para la inversión total de un valor bursátil. -IPMT = PAGOINT ## Devuelve el pago de intereses de una inversión durante un período determinado. -IRR = TIR ## Devuelve la tasa interna de retorno para una serie de flujos de efectivo periódicos. -ISPMT = INT.PAGO.DIR ## Calcula el interés pagado durante un período específico de una inversión. -MDURATION = DURACION.MODIF ## Devuelve la duración de Macauley modificada de un valor bursátil con un valor nominal supuesto de 100 $. -MIRR = TIRM ## Devuelve la tasa interna de retorno donde se financian flujos de efectivo positivos y negativos a tasas diferentes. -NOMINAL = TASA.NOMINAL ## Devuelve la tasa nominal de interés anual. -NPER = NPER ## Devuelve el número de períodos de una inversión. -NPV = VNA ## Devuelve el valor neto actual de una inversión en función de una serie de flujos periódicos de efectivo y una tasa de descuento. -ODDFPRICE = PRECIO.PER.IRREGULAR.1 ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil con un primer período impar. -ODDFYIELD = RENDTO.PER.IRREGULAR.1 ## Devuelve el rendimiento de un valor bursátil con un primer período impar. -ODDLPRICE = PRECIO.PER.IRREGULAR.2 ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil con un último período impar. -ODDLYIELD = RENDTO.PER.IRREGULAR.2 ## Devuelve el rendimiento de un valor bursátil con un último período impar. -PMT = PAGO ## Devuelve el pago periódico de una anualidad. -PPMT = PAGOPRIN ## Devuelve el pago de capital de una inversión durante un período determinado. -PRICE = PRECIO ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil que paga una tasa de interés periódico. -PRICEDISC = PRECIO.DESCUENTO ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil con descuento. -PRICEMAT = PRECIO.VENCIMIENTO ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil que paga interés a su vencimiento. -PV = VALACT ## Devuelve el valor actual de una inversión. -RATE = TASA ## Devuelve la tasa de interés por período de una anualidad. -RECEIVED = CANTIDAD.RECIBIDA ## Devuelve la cantidad recibida al vencimiento de un valor bursátil completamente invertido. -SLN = SLN ## Devuelve la amortización por método directo de un bien en un período dado. -SYD = SYD ## Devuelve la amortización por suma de dígitos de los años de un bien durante un período especificado. -TBILLEQ = LETRA.DE.TES.EQV.A.BONO ## Devuelve el rendimiento de un bono equivalente a una letra del Tesoro (de EE.UU.) -TBILLPRICE = LETRA.DE.TES.PRECIO ## Devuelve el precio por un valor nominal de 100 $ de una letra del Tesoro (de EE.UU.) -TBILLYIELD = LETRA.DE.TES.RENDTO ## Devuelve el rendimiento de una letra del Tesoro (de EE.UU.) -VDB = DVS ## Devuelve la amortización de un bien durante un período específico o parcial a través del método de cálculo del saldo en disminución. -XIRR = TIR.NO.PER ## Devuelve la tasa interna de retorno para un flujo de efectivo que no es necesariamente periódico. -XNPV = VNA.NO.PER ## Devuelve el valor neto actual para un flujo de efectivo que no es necesariamente periódico. -YIELD = RENDTO ## Devuelve el rendimiento de un valor bursátil que paga intereses periódicos. -YIELDDISC = RENDTO.DESC ## Devuelve el rendimiento anual de un valor bursátil con descuento; por ejemplo, una letra del Tesoro (de EE.UU.) -YIELDMAT = RENDTO.VENCTO ## Devuelve el rendimiento anual de un valor bursátil que paga intereses al vencimiento. - - -## -## Information functions Funciones de información -## -CELL = CELDA ## Devuelve información acerca del formato, la ubicación o el contenido de una celda. -ERROR.TYPE = TIPO.DE.ERROR ## Devuelve un número que corresponde a un tipo de error. -INFO = INFO ## Devuelve información acerca del entorno operativo en uso. -ISBLANK = ESBLANCO ## Devuelve VERDADERO si el valor está en blanco. -ISERR = ESERR ## Devuelve VERDADERO si el valor es cualquier valor de error excepto #N/A. -ISERROR = ESERROR ## Devuelve VERDADERO si el valor es cualquier valor de error. -ISEVEN = ES.PAR ## Devuelve VERDADERO si el número es par. -ISLOGICAL = ESLOGICO ## Devuelve VERDADERO si el valor es un valor lógico. -ISNA = ESNOD ## Devuelve VERDADERO si el valor es el valor de error #N/A. -ISNONTEXT = ESNOTEXTO ## Devuelve VERDADERO si el valor no es texto. -ISNUMBER = ESNUMERO ## Devuelve VERDADERO si el valor es un número. -ISODD = ES.IMPAR ## Devuelve VERDADERO si el número es impar. -ISREF = ESREF ## Devuelve VERDADERO si el valor es una referencia. -ISTEXT = ESTEXTO ## Devuelve VERDADERO si el valor es texto. -N = N ## Devuelve un valor convertido en un número. -NA = ND ## Devuelve el valor de error #N/A. -TYPE = TIPO ## Devuelve un número que indica el tipo de datos de un valor. - - -## -## Logical functions Funciones lógicas -## -AND = Y ## Devuelve VERDADERO si todos sus argumentos son VERDADERO. -FALSE = FALSO ## Devuelve el valor lógico FALSO. -IF = SI ## Especifica una prueba lógica que realizar. -IFERROR = SI.ERROR ## Devuelve un valor que se especifica si una fórmula lo evalúa como un error; de lo contrario, devuelve el resultado de la fórmula. -NOT = NO ## Invierte el valor lógico del argumento. -OR = O ## Devuelve VERDADERO si cualquier argumento es VERDADERO. -TRUE = VERDADERO ## Devuelve el valor lógico VERDADERO. - - -## -## Lookup and reference functions Funciones de búsqueda y referencia -## -ADDRESS = DIRECCION ## Devuelve una referencia como texto a una sola celda de una hoja de cálculo. -AREAS = AREAS ## Devuelve el número de áreas de una referencia. -CHOOSE = ELEGIR ## Elige un valor de una lista de valores. -COLUMN = COLUMNA ## Devuelve el número de columna de una referencia. -COLUMNS = COLUMNAS ## Devuelve el número de columnas de una referencia. -HLOOKUP = BUSCARH ## Busca en la fila superior de una matriz y devuelve el valor de la celda indicada. -HYPERLINK = HIPERVINCULO ## Crea un acceso directo o un salto que abre un documento almacenado en un servidor de red, en una intranet o en Internet. -INDEX = INDICE ## Usa un índice para elegir un valor de una referencia o matriz. -INDIRECT = INDIRECTO ## Devuelve una referencia indicada por un valor de texto. -LOOKUP = BUSCAR ## Busca valores de un vector o una matriz. -MATCH = COINCIDIR ## Busca valores de una referencia o matriz. -OFFSET = DESREF ## Devuelve un desplazamiento de referencia respecto a una referencia dada. -ROW = FILA ## Devuelve el número de fila de una referencia. -ROWS = FILAS ## Devuelve el número de filas de una referencia. -RTD = RDTR ## Recupera datos en tiempo real desde un programa compatible con la automatización COM (automatización: modo de trabajar con los objetos de una aplicación desde otra aplicación o herramienta de entorno. La automatización, antes denominada automatización OLE, es un estándar de la industria y una función del Modelo de objetos componentes (COM).). -TRANSPOSE = TRANSPONER ## Devuelve la transposición de una matriz. -VLOOKUP = BUSCARV ## Busca en la primera columna de una matriz y se mueve en horizontal por la fila para devolver el valor de una celda. - - -## -## Math and trigonometry functions Funciones matemáticas y trigonométricas -## -ABS = ABS ## Devuelve el valor absoluto de un número. -ACOS = ACOS ## Devuelve el arcocoseno de un número. -ACOSH = ACOSH ## Devuelve el coseno hiperbólico inverso de un número. -ASIN = ASENO ## Devuelve el arcoseno de un número. -ASINH = ASENOH ## Devuelve el seno hiperbólico inverso de un número. -ATAN = ATAN ## Devuelve la arcotangente de un número. -ATAN2 = ATAN2 ## Devuelve la arcotangente de las coordenadas "x" e "y". -ATANH = ATANH ## Devuelve la tangente hiperbólica inversa de un número. -CEILING = MULTIPLO.SUPERIOR ## Redondea un número al entero más próximo o al múltiplo significativo más cercano. -COMBIN = COMBINAT ## Devuelve el número de combinaciones para un número determinado de objetos. -COS = COS ## Devuelve el coseno de un número. -COSH = COSH ## Devuelve el coseno hiperbólico de un número. -DEGREES = GRADOS ## Convierte radianes en grados. -EVEN = REDONDEA.PAR ## Redondea un número hasta el entero par más próximo. -EXP = EXP ## Devuelve e elevado a la potencia de un número dado. -FACT = FACT ## Devuelve el factorial de un número. -FACTDOUBLE = FACT.DOBLE ## Devuelve el factorial doble de un número. -FLOOR = MULTIPLO.INFERIOR ## Redondea un número hacia abajo, en dirección hacia cero. -GCD = M.C.D ## Devuelve el máximo común divisor. -INT = ENTERO ## Redondea un número hacia abajo hasta el entero más próximo. -LCM = M.C.M ## Devuelve el mínimo común múltiplo. -LN = LN ## Devuelve el logaritmo natural (neperiano) de un número. -LOG = LOG ## Devuelve el logaritmo de un número en una base especificada. -LOG10 = LOG10 ## Devuelve el logaritmo en base 10 de un número. -MDETERM = MDETERM ## Devuelve la determinante matricial de una matriz. -MINVERSE = MINVERSA ## Devuelve la matriz inversa de una matriz. -MMULT = MMULT ## Devuelve el producto de matriz de dos matrices. -MOD = RESIDUO ## Devuelve el resto de la división. -MROUND = REDOND.MULT ## Devuelve un número redondeado al múltiplo deseado. -MULTINOMIAL = MULTINOMIAL ## Devuelve el polinomio de un conjunto de números. -ODD = REDONDEA.IMPAR ## Redondea un número hacia arriba hasta el entero impar más próximo. -PI = PI ## Devuelve el valor de pi. -POWER = POTENCIA ## Devuelve el resultado de elevar un número a una potencia. -PRODUCT = PRODUCTO ## Multiplica sus argumentos. -QUOTIENT = COCIENTE ## Devuelve la parte entera de una división. -RADIANS = RADIANES ## Convierte grados en radianes. -RAND = ALEATORIO ## Devuelve un número aleatorio entre 0 y 1. -RANDBETWEEN = ALEATORIO.ENTRE ## Devuelve un número aleatorio entre los números que especifique. -ROMAN = NUMERO.ROMANO ## Convierte un número arábigo en número romano, con formato de texto. -ROUND = REDONDEAR ## Redondea un número al número de decimales especificado. -ROUNDDOWN = REDONDEAR.MENOS ## Redondea un número hacia abajo, en dirección hacia cero. -ROUNDUP = REDONDEAR.MAS ## Redondea un número hacia arriba, en dirección contraria a cero. -SERIESSUM = SUMA.SERIES ## Devuelve la suma de una serie de potencias en función de la fórmula. -SIGN = SIGNO ## Devuelve el signo de un número. -SIN = SENO ## Devuelve el seno de un ángulo determinado. -SINH = SENOH ## Devuelve el seno hiperbólico de un número. -SQRT = RAIZ ## Devuelve la raíz cuadrada positiva de un número. -SQRTPI = RAIZ2PI ## Devuelve la raíz cuadrada de un número multiplicado por PI (número * pi). -SUBTOTAL = SUBTOTALES ## Devuelve un subtotal en una lista o base de datos. -SUM = SUMA ## Suma sus argumentos. -SUMIF = SUMAR.SI ## Suma las celdas especificadas que cumplen unos criterios determinados. -SUMIFS = SUMAR.SI.CONJUNTO ## Suma las celdas de un rango que cumplen varios criterios. -SUMPRODUCT = SUMAPRODUCTO ## Devuelve la suma de los productos de los correspondientes componentes de matriz. -SUMSQ = SUMA.CUADRADOS ## Devuelve la suma de los cuadrados de los argumentos. -SUMX2MY2 = SUMAX2MENOSY2 ## Devuelve la suma de la diferencia de los cuadrados de los valores correspondientes de dos matrices. -SUMX2PY2 = SUMAX2MASY2 ## Devuelve la suma de la suma de los cuadrados de los valores correspondientes de dos matrices. -SUMXMY2 = SUMAXMENOSY2 ## Devuelve la suma de los cuadrados de las diferencias de los valores correspondientes de dos matrices. -TAN = TAN ## Devuelve la tangente de un número. -TANH = TANH ## Devuelve la tangente hiperbólica de un número. -TRUNC = TRUNCAR ## Trunca un número a un entero. - - -## -## Statistical functions Funciones estadísticas -## -AVEDEV = DESVPROM ## Devuelve el promedio de las desviaciones absolutas de la media de los puntos de datos. -AVERAGE = PROMEDIO ## Devuelve el promedio de sus argumentos. -AVERAGEA = PROMEDIOA ## Devuelve el promedio de sus argumentos, incluidos números, texto y valores lógicos. -AVERAGEIF = PROMEDIO.SI ## Devuelve el promedio (media aritmética) de todas las celdas de un rango que cumplen unos criterios determinados. -AVERAGEIFS = PROMEDIO.SI.CONJUNTO ## Devuelve el promedio (media aritmética) de todas las celdas que cumplen múltiples criterios. -BETADIST = DISTR.BETA ## Devuelve la función de distribución beta acumulativa. -BETAINV = DISTR.BETA.INV ## Devuelve la función inversa de la función de distribución acumulativa de una distribución beta especificada. -BINOMDIST = DISTR.BINOM ## Devuelve la probabilidad de una variable aleatoria discreta siguiendo una distribución binomial. -CHIDIST = DISTR.CHI ## Devuelve la probabilidad de una variable aleatoria continua siguiendo una distribución chi cuadrado de una sola cola. -CHIINV = PRUEBA.CHI.INV ## Devuelve la función inversa de la probabilidad de una variable aleatoria continua siguiendo una distribución chi cuadrado de una sola cola. -CHITEST = PRUEBA.CHI ## Devuelve la prueba de independencia. -CONFIDENCE = INTERVALO.CONFIANZA ## Devuelve el intervalo de confianza de la media de una población. -CORREL = COEF.DE.CORREL ## Devuelve el coeficiente de correlación entre dos conjuntos de datos. -COUNT = CONTAR ## Cuenta cuántos números hay en la lista de argumentos. -COUNTA = CONTARA ## Cuenta cuántos valores hay en la lista de argumentos. -COUNTBLANK = CONTAR.BLANCO ## Cuenta el número de celdas en blanco de un rango. -COUNTIF = CONTAR.SI ## Cuenta el número de celdas, dentro del rango, que cumplen el criterio especificado. -COUNTIFS = CONTAR.SI.CONJUNTO ## Cuenta el número de celdas, dentro del rango, que cumplen varios criterios. -COVAR = COVAR ## Devuelve la covarianza, que es el promedio de los productos de las desviaciones para cada pareja de puntos de datos. -CRITBINOM = BINOM.CRIT ## Devuelve el menor valor cuya distribución binomial acumulativa es menor o igual a un valor de criterio. -DEVSQ = DESVIA2 ## Devuelve la suma de los cuadrados de las desviaciones. -EXPONDIST = DISTR.EXP ## Devuelve la distribución exponencial. -FDIST = DISTR.F ## Devuelve la distribución de probabilidad F. -FINV = DISTR.F.INV ## Devuelve la función inversa de la distribución de probabilidad F. -FISHER = FISHER ## Devuelve la transformación Fisher. -FISHERINV = PRUEBA.FISHER.INV ## Devuelve la función inversa de la transformación Fisher. -FORECAST = PRONOSTICO ## Devuelve un valor en una tendencia lineal. -FREQUENCY = FRECUENCIA ## Devuelve una distribución de frecuencia como una matriz vertical. -FTEST = PRUEBA.F ## Devuelve el resultado de una prueba F. -GAMMADIST = DISTR.GAMMA ## Devuelve la distribución gamma. -GAMMAINV = DISTR.GAMMA.INV ## Devuelve la función inversa de la distribución gamma acumulativa. -GAMMALN = GAMMA.LN ## Devuelve el logaritmo natural de la función gamma, G(x). -GEOMEAN = MEDIA.GEOM ## Devuelve la media geométrica. -GROWTH = CRECIMIENTO ## Devuelve valores en una tendencia exponencial. -HARMEAN = MEDIA.ARMO ## Devuelve la media armónica. -HYPGEOMDIST = DISTR.HIPERGEOM ## Devuelve la distribución hipergeométrica. -INTERCEPT = INTERSECCION.EJE ## Devuelve la intersección de la línea de regresión lineal. -KURT = CURTOSIS ## Devuelve la curtosis de un conjunto de datos. -LARGE = K.ESIMO.MAYOR ## Devuelve el k-ésimo mayor valor de un conjunto de datos. -LINEST = ESTIMACION.LINEAL ## Devuelve los parámetros de una tendencia lineal. -LOGEST = ESTIMACION.LOGARITMICA ## Devuelve los parámetros de una tendencia exponencial. -LOGINV = DISTR.LOG.INV ## Devuelve la función inversa de la distribución logarítmico-normal. -LOGNORMDIST = DISTR.LOG.NORM ## Devuelve la distribución logarítmico-normal acumulativa. -MAX = MAX ## Devuelve el valor máximo de una lista de argumentos. -MAXA = MAXA ## Devuelve el valor máximo de una lista de argumentos, incluidos números, texto y valores lógicos. -MEDIAN = MEDIANA ## Devuelve la mediana de los números dados. -MIN = MIN ## Devuelve el valor mínimo de una lista de argumentos. -MINA = MINA ## Devuelve el valor mínimo de una lista de argumentos, incluidos números, texto y valores lógicos. -MODE = MODA ## Devuelve el valor más común de un conjunto de datos. -NEGBINOMDIST = NEGBINOMDIST ## Devuelve la distribución binomial negativa. -NORMDIST = DISTR.NORM ## Devuelve la distribución normal acumulativa. -NORMINV = DISTR.NORM.INV ## Devuelve la función inversa de la distribución normal acumulativa. -NORMSDIST = DISTR.NORM.ESTAND ## Devuelve la distribución normal estándar acumulativa. -NORMSINV = DISTR.NORM.ESTAND.INV ## Devuelve la función inversa de la distribución normal estándar acumulativa. -PEARSON = PEARSON ## Devuelve el coeficiente de momento de correlación de producto Pearson. -PERCENTILE = PERCENTIL ## Devuelve el k-ésimo percentil de los valores de un rango. -PERCENTRANK = RANGO.PERCENTIL ## Devuelve el rango porcentual de un valor de un conjunto de datos. -PERMUT = PERMUTACIONES ## Devuelve el número de permutaciones de un número determinado de objetos. -POISSON = POISSON ## Devuelve la distribución de Poisson. -PROB = PROBABILIDAD ## Devuelve la probabilidad de que los valores de un rango se encuentren entre dos límites. -QUARTILE = CUARTIL ## Devuelve el cuartil de un conjunto de datos. -RANK = JERARQUIA ## Devuelve la jerarquía de un número en una lista de números. -RSQ = COEFICIENTE.R2 ## Devuelve el cuadrado del coeficiente de momento de correlación de producto Pearson. -SKEW = COEFICIENTE.ASIMETRIA ## Devuelve la asimetría de una distribución. -SLOPE = PENDIENTE ## Devuelve la pendiente de la línea de regresión lineal. -SMALL = K.ESIMO.MENOR ## Devuelve el k-ésimo menor valor de un conjunto de datos. -STANDARDIZE = NORMALIZACION ## Devuelve un valor normalizado. -STDEV = DESVEST ## Calcula la desviación estándar a partir de una muestra. -STDEVA = DESVESTA ## Calcula la desviación estándar a partir de una muestra, incluidos números, texto y valores lógicos. -STDEVP = DESVESTP ## Calcula la desviación estándar en función de toda la población. -STDEVPA = DESVESTPA ## Calcula la desviación estándar en función de toda la población, incluidos números, texto y valores lógicos. -STEYX = ERROR.TIPICO.XY ## Devuelve el error estándar del valor de "y" previsto para cada "x" de la regresión. -TDIST = DISTR.T ## Devuelve la distribución de t de Student. -TINV = DISTR.T.INV ## Devuelve la función inversa de la distribución de t de Student. -TREND = TENDENCIA ## Devuelve valores en una tendencia lineal. -TRIMMEAN = MEDIA.ACOTADA ## Devuelve la media del interior de un conjunto de datos. -TTEST = PRUEBA.T ## Devuelve la probabilidad asociada a una prueba t de Student. -VAR = VAR ## Calcula la varianza en función de una muestra. -VARA = VARA ## Calcula la varianza en función de una muestra, incluidos números, texto y valores lógicos. -VARP = VARP ## Calcula la varianza en función de toda la población. -VARPA = VARPA ## Calcula la varianza en función de toda la población, incluidos números, texto y valores lógicos. -WEIBULL = DIST.WEIBULL ## Devuelve la distribución de Weibull. -ZTEST = PRUEBA.Z ## Devuelve el valor de una probabilidad de una cola de una prueba z. - - -## -## Text functions Funciones de texto -## -ASC = ASC ## Convierte las letras inglesas o katakana de ancho completo (de dos bytes) dentro de una cadena de caracteres en caracteres de ancho medio (de un byte). -BAHTTEXT = TEXTOBAHT ## Convierte un número en texto, con el formato de moneda ß (Baht). -CHAR = CARACTER ## Devuelve el carácter especificado por el número de código. -CLEAN = LIMPIAR ## Quita del texto todos los caracteres no imprimibles. -CODE = CODIGO ## Devuelve un código numérico del primer carácter de una cadena de texto. -CONCATENATE = CONCATENAR ## Concatena varios elementos de texto en uno solo. -DOLLAR = MONEDA ## Convierte un número en texto, con el formato de moneda $ (dólar). -EXACT = IGUAL ## Comprueba si dos valores de texto son idénticos. -FIND = ENCONTRAR ## Busca un valor de texto dentro de otro (distingue mayúsculas de minúsculas). -FINDB = ENCONTRARB ## Busca un valor de texto dentro de otro (distingue mayúsculas de minúsculas). -FIXED = DECIMAL ## Da formato a un número como texto con un número fijo de decimales. -JIS = JIS ## Convierte las letras inglesas o katakana de ancho medio (de un byte) dentro de una cadena de caracteres en caracteres de ancho completo (de dos bytes). -LEFT = IZQUIERDA ## Devuelve los caracteres del lado izquierdo de un valor de texto. -LEFTB = IZQUIERDAB ## Devuelve los caracteres del lado izquierdo de un valor de texto. -LEN = LARGO ## Devuelve el número de caracteres de una cadena de texto. -LENB = LARGOB ## Devuelve el número de caracteres de una cadena de texto. -LOWER = MINUSC ## Pone el texto en minúsculas. -MID = EXTRAE ## Devuelve un número específico de caracteres de una cadena de texto que comienza en la posición que se especifique. -MIDB = EXTRAEB ## Devuelve un número específico de caracteres de una cadena de texto que comienza en la posición que se especifique. -PHONETIC = FONETICO ## Extrae los caracteres fonéticos (furigana) de una cadena de texto. -PROPER = NOMPROPIO ## Pone en mayúscula la primera letra de cada palabra de un valor de texto. -REPLACE = REEMPLAZAR ## Reemplaza caracteres de texto. -REPLACEB = REEMPLAZARB ## Reemplaza caracteres de texto. -REPT = REPETIR ## Repite el texto un número determinado de veces. -RIGHT = DERECHA ## Devuelve los caracteres del lado derecho de un valor de texto. -RIGHTB = DERECHAB ## Devuelve los caracteres del lado derecho de un valor de texto. -SEARCH = HALLAR ## Busca un valor de texto dentro de otro (no distingue mayúsculas de minúsculas). -SEARCHB = HALLARB ## Busca un valor de texto dentro de otro (no distingue mayúsculas de minúsculas). -SUBSTITUTE = SUSTITUIR ## Sustituye texto nuevo por texto antiguo en una cadena de texto. -T = T ## Convierte sus argumentos a texto. -TEXT = TEXTO ## Da formato a un número y lo convierte en texto. -TRIM = ESPACIOS ## Quita los espacios del texto. -UPPER = MAYUSC ## Pone el texto en mayúsculas. -VALUE = VALOR ## Convierte un argumento de texto en un número. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/es/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/config deleted file mode 100644 index 498cf4ceb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = $ # Symbol not known, should it be a € (Euro)? - - -## -## Excel Error Codes (For future use) -## -NULL = #TYHJÄ! -DIV0 = #JAKO/0! -VALUE = #ARVO! -REF = #VIITTAUS! -NAME = #NIMI? -NUM = #LUKU! -NA = #PUUTTUU diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/functions deleted file mode 100644 index 6a7c2b36f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Apuohjelma- ja automaatiofunktiot -## -GETPIVOTDATA = NOUDA.PIVOT.TIEDOT ## Palauttaa pivot-taulukkoraporttiin tallennettuja tietoja. - - -## -## Cube functions Kuutiofunktiot -## -CUBEKPIMEMBER = KUUTIOKPIJÄSEN ## Palauttaa suorituskykyilmaisimen (KPI) nimen, ominaisuuden sekä mitan ja näyttää nimen sekä ominaisuuden solussa. KPI on mitattavissa oleva suure, kuten kuukauden bruttotuotto tai vuosineljänneksen työntekijäkohtainen liikevaihto, joiden avulla tarkkaillaan organisaation suorituskykyä. -CUBEMEMBER = KUUTIONJÄSEN ## Palauttaa kuutiohierarkian jäsenen tai monikon. Tällä funktiolla voit tarkistaa, että jäsen tai monikko on olemassa kuutiossa. -CUBEMEMBERPROPERTY = KUUTIONJÄSENENOMINAISUUS ## Palauttaa kuution jäsenominaisuuden arvon. Tällä funktiolla voit tarkistaa, että nimi on olemassa kuutiossa, ja palauttaa tämän jäsenen määritetyn ominaisuuden. -CUBERANKEDMEMBER = KUUTIONLUOKITELTUJÄSEN ## Palauttaa joukon n:nnen jäsenen. Tällä funktiolla voit palauttaa joukosta elementtejä, kuten parhaan myyjän tai 10 parasta opiskelijaa. -CUBESET = KUUTIOJOUKKO ## Määrittää lasketun jäsen- tai monikkojoukon lähettämällä joukon lausekkeita palvelimessa olevalle kuutiolle. Palvelin luo joukon ja palauttaa sen Microsoft Office Excelille. -CUBESETCOUNT = KUUTIOJOUKKOJENMÄÄRÄ ## Palauttaa joukon kohteiden määrän. -CUBEVALUE = KUUTIONARVO ## Palauttaa koostetun arvon kuutiosta. - - -## -## Database functions Tietokantafunktiot -## -DAVERAGE = TKESKIARVO ## Palauttaa valittujen tietokantamerkintöjen keskiarvon. -DCOUNT = TLASKE ## Laskee tietokannan lukuja sisältävien solujen määrän. -DCOUNTA = TLASKEA ## Laskee tietokannan tietoja sisältävien solujen määrän. -DGET = TNOUDA ## Hakee määritettyjä ehtoja vastaavan tietueen tietokannasta. -DMAX = TMAKS ## Palauttaa suurimman arvon tietokannasta valittujen arvojen joukosta. -DMIN = TMIN ## Palauttaa pienimmän arvon tietokannasta valittujen arvojen joukosta. -DPRODUCT = TTULO ## Kertoo määritetyn ehdon täyttävien tietokannan tietueiden tietyssä kentässä olevat arvot. -DSTDEV = TKESKIHAJONTA ## Laskee keskihajonnan tietokannasta valituista arvoista muodostuvan otoksen perusteella. -DSTDEVP = TKESKIHAJONTAP ## Laskee keskihajonnan tietokannasta valittujen arvojen koko populaation perusteella. -DSUM = TSUMMA ## Lisää luvut määritetyn ehdon täyttävien tietokannan tietueiden kenttäsarakkeeseen. -DVAR = TVARIANSSI ## Laskee varianssin tietokannasta valittujen arvojen otoksen perusteella. -DVARP = TVARIANSSIP ## Laskee varianssin tietokannasta valittujen arvojen koko populaation perusteella. - - -## -## Date and time functions Päivämäärä- ja aikafunktiot -## -DATE = PÄIVÄYS ## Palauttaa annetun päivämäärän järjestysluvun. -DATEVALUE = PÄIVÄYSARVO ## Muuntaa tekstimuodossa olevan päivämäärän järjestysluvuksi. -DAY = PÄIVÄ ## Muuntaa järjestysluvun kuukauden päiväksi. -DAYS360 = PÄIVÄT360 ## Laskee kahden päivämäärän välisten päivien määrän käyttäen perustana 360-päiväistä vuotta. -EDATE = PÄIVÄ.KUUKAUSI ## Palauttaa järjestyslukuna päivämäärän, joka poikkeaa aloituspäivän päivämäärästä annetun kuukausimäärän verran joko eteen- tai taaksepäin. -EOMONTH = KUUKAUSI.LOPPU ## Palauttaa järjestyslukuna sen kuukauden viimeisen päivämäärän, joka poikkeaa annetun kuukausimäärän verran eteen- tai taaksepäin. -HOUR = TUNNIT ## Muuntaa järjestysluvun tunneiksi. -MINUTE = MINUUTIT ## Muuntaa järjestysluvun minuuteiksi. -MONTH = KUUKAUSI ## Muuntaa järjestysluvun kuukausiksi. -NETWORKDAYS = TYÖPÄIVÄT ## Palauttaa kahden päivämäärän välissä olevien täysien työpäivien määrän. -NOW = NYT ## Palauttaa kuluvan päivämäärän ja ajan järjestysnumeron. -SECOND = SEKUNNIT ## Muuntaa järjestysluvun sekunneiksi. -TIME = AIKA ## Palauttaa annetun kellonajan järjestysluvun. -TIMEVALUE = AIKA_ARVO ## Muuntaa tekstimuodossa olevan kellonajan järjestysluvuksi. -TODAY = TÄMÄ.PÄIVÄ ## Palauttaa kuluvan päivän päivämäärän järjestysluvun. -WEEKDAY = VIIKONPÄIVÄ ## Muuntaa järjestysluvun viikonpäiväksi. -WEEKNUM = VIIKKO.NRO ## Muuntaa järjestysluvun luvuksi, joka ilmaisee viikon järjestysluvun vuoden alusta laskettuna. -WORKDAY = TYÖPÄIVÄ ## Palauttaa järjestysluvun päivämäärälle, joka sijaitsee annettujen työpäivien verran eteen tai taaksepäin. -YEAR = VUOSI ## Muuntaa järjestysluvun vuosiksi. -YEARFRAC = VUOSI.OSA ## Palauttaa määritettyjen päivämäärien (aloituspäivä ja lopetuspäivä) välisen osan vuodesta. - - -## -## Engineering functions Tekniset funktiot -## -BESSELI = BESSELI ## Palauttaa muunnetun Bessel-funktion In(x). -BESSELJ = BESSELJ ## Palauttaa Bessel-funktion Jn(x). -BESSELK = BESSELK ## Palauttaa muunnetun Bessel-funktion Kn(x). -BESSELY = BESSELY ## Palauttaa Bessel-funktion Yn(x). -BIN2DEC = BINDES ## Muuntaa binaariluvun desimaaliluvuksi. -BIN2HEX = BINHEKSA ## Muuntaa binaariluvun heksadesimaaliluvuksi. -BIN2OCT = BINOKT ## Muuntaa binaariluvun oktaaliluvuksi. -COMPLEX = KOMPLEKSI ## Muuntaa reaali- ja imaginaariosien kertoimet kompleksiluvuksi. -CONVERT = MUUNNA ## Muuntaa luvun toisen mittajärjestelmän mukaiseksi. -DEC2BIN = DESBIN ## Muuntaa desimaaliluvun binaariluvuksi. -DEC2HEX = DESHEKSA ## Muuntaa kymmenjärjestelmän luvun heksadesimaaliluvuksi. -DEC2OCT = DESOKT ## Muuntaa kymmenjärjestelmän luvun oktaaliluvuksi. -DELTA = SAMA.ARVO ## Tarkistaa, ovatko kaksi arvoa yhtä suuria. -ERF = VIRHEFUNKTIO ## Palauttaa virhefunktion. -ERFC = VIRHEFUNKTIO.KOMPLEMENTTI ## Palauttaa komplementtivirhefunktion. -GESTEP = RAJA ## Testaa, onko luku suurempi kuin kynnysarvo. -HEX2BIN = HEKSABIN ## Muuntaa heksadesimaaliluvun binaariluvuksi. -HEX2DEC = HEKSADES ## Muuntaa heksadesimaaliluvun desimaaliluvuksi. -HEX2OCT = HEKSAOKT ## Muuntaa heksadesimaaliluvun oktaaliluvuksi. -IMABS = KOMPLEKSI.ITSEISARVO ## Palauttaa kompleksiluvun itseisarvon (moduluksen). -IMAGINARY = KOMPLEKSI.IMAG ## Palauttaa kompleksiluvun imaginaariosan kertoimen. -IMARGUMENT = KOMPLEKSI.ARG ## Palauttaa theeta-argumentin, joka on radiaaneina annettu kulma. -IMCONJUGATE = KOMPLEKSI.KONJ ## Palauttaa kompleksiluvun konjugaattiluvun. -IMCOS = KOMPLEKSI.COS ## Palauttaa kompleksiluvun kosinin. -IMDIV = KOMPLEKSI.OSAM ## Palauttaa kahden kompleksiluvun osamäärän. -IMEXP = KOMPLEKSI.EKSP ## Palauttaa kompleksiluvun eksponentin. -IMLN = KOMPLEKSI.LN ## Palauttaa kompleksiluvun luonnollisen logaritmin. -IMLOG10 = KOMPLEKSI.LOG10 ## Palauttaa kompleksiluvun kymmenkantaisen logaritmin. -IMLOG2 = KOMPLEKSI.LOG2 ## Palauttaa kompleksiluvun kaksikantaisen logaritmin. -IMPOWER = KOMPLEKSI.POT ## Palauttaa kokonaislukupotenssiin korotetun kompleksiluvun. -IMPRODUCT = KOMPLEKSI.TULO ## Palauttaa kompleksilukujen tulon. -IMREAL = KOMPLEKSI.REAALI ## Palauttaa kompleksiluvun reaaliosan kertoimen. -IMSIN = KOMPLEKSI.SIN ## Palauttaa kompleksiluvun sinin. -IMSQRT = KOMPLEKSI.NELIÖJ ## Palauttaa kompleksiluvun neliöjuuren. -IMSUB = KOMPLEKSI.EROTUS ## Palauttaa kahden kompleksiluvun erotuksen. -IMSUM = KOMPLEKSI.SUM ## Palauttaa kompleksilukujen summan. -OCT2BIN = OKTBIN ## Muuntaa oktaaliluvun binaariluvuksi. -OCT2DEC = OKTDES ## Muuntaa oktaaliluvun desimaaliluvuksi. -OCT2HEX = OKTHEKSA ## Muuntaa oktaaliluvun heksadesimaaliluvuksi. - - -## -## Financial functions Rahoitusfunktiot -## -ACCRINT = KERTYNYT.KORKO ## Laskee arvopaperille kertyneen koron, kun korko kertyy säännöllisin väliajoin. -ACCRINTM = KERTYNYT.KORKO.LOPUSSA ## Laskee arvopaperille kertyneen koron, kun korko maksetaan eräpäivänä. -AMORDEGRC = AMORDEGRC ## Laskee kunkin laskentakauden poiston poistokerrointa käyttämällä. -AMORLINC = AMORLINC ## Palauttaa kunkin laskentakauden poiston. -COUPDAYBS = KORKOPÄIVÄT.ALUSTA ## Palauttaa koronmaksukauden aloituspäivän ja tilityspäivän välisen ajanjakson päivien määrän. -COUPDAYS = KORKOPÄIVÄT ## Palauttaa päivien määrän koronmaksukaudelta, johon tilityspäivä kuuluu. -COUPDAYSNC = KORKOPÄIVÄT.SEURAAVA ## Palauttaa tilityspäivän ja seuraavan koronmaksupäivän välisen ajanjakson päivien määrän. -COUPNCD = KORKOMAKSU.SEURAAVA ## Palauttaa tilityspäivän jälkeisen seuraavan koronmaksupäivän. -COUPNUM = KORKOPÄIVÄJAKSOT ## Palauttaa arvopaperin ostopäivän ja erääntymispäivän välisten koronmaksupäivien määrän. -COUPPCD = KORKOPÄIVÄ.EDELLINEN ## Palauttaa tilityspäivää edeltävän koronmaksupäivän. -CUMIPMT = MAKSETTU.KORKO ## Palauttaa kahden jakson välisenä aikana kertyneen koron. -CUMPRINC = MAKSETTU.LYHENNYS ## Palauttaa lainalle kahden jakson välisenä aikana kertyneen lyhennyksen. -DB = DB ## Palauttaa kauden kirjanpidollisen poiston amerikkalaisen DB-menetelmän (Fixed-declining balance) mukaan. -DDB = DDB ## Palauttaa kauden kirjanpidollisen poiston amerikkalaisen DDB-menetelmän (Double-Declining Balance) tai jonkin muun määrittämäsi menetelmän mukaan. -DISC = DISKONTTOKORKO ## Palauttaa arvopaperin diskonttokoron. -DOLLARDE = VALUUTTA.DES ## Muuntaa murtolukuna ilmoitetun valuuttamäärän desimaaliluvuksi. -DOLLARFR = VALUUTTA.MURTO ## Muuntaa desimaalilukuna ilmaistun valuuttamäärän murtoluvuksi. -DURATION = KESTO ## Palauttaa keston arvopaperille, jonka koronmaksu tapahtuu säännöllisesti. -EFFECT = KORKO.EFEKT ## Palauttaa todellisen vuosikoron. -FV = TULEVA.ARVO ## Palauttaa sijoituksen tulevan arvon. -FVSCHEDULE = TULEVA.ARVO.ERIKORKO ## Palauttaa pääoman tulevan arvon, kun pääomalle on kertynyt korkoa vaihtelevasti. -INTRATE = KORKO.ARVOPAPERI ## Palauttaa arvopaperin korkokannan täysin sijoitetulle arvopaperille. -IPMT = IPMT ## Laskee sijoitukselle tai lainalle tiettynä ajanjaksona kertyvän koron. -IRR = SISÄINEN.KORKO ## Laskee sisäisen korkokannan kassavirrasta muodostuvalle sarjalle. -ISPMT = ONMAKSU ## Laskee sijoituksen maksetun koron tietyllä jaksolla. -MDURATION = KESTO.MUUNN ## Palauttaa muunnetun Macauley-keston arvopaperille, jonka oletettu nimellisarvo on 100 euroa. -MIRR = MSISÄINEN ## Palauttaa sisäisen korkokannan, kun positiivisten ja negatiivisten kassavirtojen rahoituskorko on erilainen. -NOMINAL = KORKO.VUOSI ## Palauttaa vuosittaisen nimelliskoron. -NPER = NJAKSO ## Palauttaa sijoituksen jaksojen määrän. -NPV = NNA ## Palauttaa sijoituksen nykyarvon toistuvista kassavirroista muodostuvan sarjan ja diskonttokoron perusteella. -ODDFPRICE = PARITON.ENS.NIMELLISARVO ## Palauttaa arvopaperin hinnan tilanteessa, jossa ensimmäinen jakso on pariton. -ODDFYIELD = PARITON.ENS.TUOTTO ## Palauttaa arvopaperin tuoton tilanteessa, jossa ensimmäinen jakso on pariton. -ODDLPRICE = PARITON.VIIM.NIMELLISARVO ## Palauttaa arvopaperin hinnan tilanteessa, jossa viimeinen jakso on pariton. -ODDLYIELD = PARITON.VIIM.TUOTTO ## Palauttaa arvopaperin tuoton tilanteessa, jossa viimeinen jakso on pariton. -PMT = MAKSU ## Palauttaa annuiteetin kausittaisen maksuerän. -PPMT = PPMT ## Laskee sijoitukselle tai lainalle tiettynä ajanjaksona maksettavan lyhennyksen. -PRICE = HINTA ## Palauttaa hinnan 100 euron nimellisarvoa kohden arvopaperille, jonka korko maksetaan säännöllisin väliajoin. -PRICEDISC = HINTA.DISK ## Palauttaa diskontatun arvopaperin hinnan 100 euron nimellisarvoa kohden. -PRICEMAT = HINTA.LUNASTUS ## Palauttaa hinnan 100 euron nimellisarvoa kohden arvopaperille, jonka korko maksetaan erääntymispäivänä. -PV = NA ## Palauttaa sijoituksen nykyarvon. -RATE = KORKO ## Palauttaa annuiteetin kausittaisen korkokannan. -RECEIVED = SAATU.HINTA ## Palauttaa arvopaperin tuoton erääntymispäivänä kokonaan maksetulle sijoitukselle. -SLN = STP ## Palauttaa sijoituksen tasapoiston yhdeltä jaksolta. -SYD = VUOSIPOISTO ## Palauttaa sijoituksen vuosipoiston annettuna kautena amerikkalaisen SYD-menetelmän (Sum-of-Year's Digits) avulla. -TBILLEQ = OBLIG.TUOTTOPROS ## Palauttaa valtion obligaation tuoton vastaavana joukkovelkakirjan tuottona. -TBILLPRICE = OBLIG.HINTA ## Palauttaa obligaation hinnan 100 euron nimellisarvoa kohden. -TBILLYIELD = OBLIG.TUOTTO ## Palauttaa obligaation tuoton. -VDB = VDB ## Palauttaa annetun kauden tai kauden osan kirjanpidollisen poiston amerikkalaisen DB-menetelmän (Fixed-declining balance) mukaan. -XIRR = SISÄINEN.KORKO.JAKSOTON ## Palauttaa sisäisen korkokannan kassavirtojen sarjoille, jotka eivät välttämättä ole säännöllisiä. -XNPV = NNA.JAKSOTON ## Palauttaa nettonykyarvon kassavirtasarjalle, joka ei välttämättä ole kausittainen. -YIELD = TUOTTO ## Palauttaa tuoton arvopaperille, jonka korko maksetaan säännöllisin väliajoin. -YIELDDISC = TUOTTO.DISK ## Palauttaa diskontatun arvopaperin, kuten obligaation, vuosittaisen tuoton. -YIELDMAT = TUOTTO.ERÄP ## Palauttaa erääntymispäivänään korkoa tuottavan arvopaperin vuosittaisen tuoton. - - -## -## Information functions Erikoisfunktiot -## -CELL = SOLU ## Palauttaa tietoja solun muotoilusta, sijainnista ja sisällöstä. -ERROR.TYPE = VIRHEEN.LAJI ## Palauttaa virhetyyppiä vastaavan luvun. -INFO = KUVAUS ## Palauttaa tietoja nykyisestä käyttöympäristöstä. -ISBLANK = ONTYHJÄ ## Palauttaa arvon TOSI, jos arvo on tyhjä. -ISERR = ONVIRH ## Palauttaa arvon TOSI, jos arvo on mikä tahansa virhearvo paitsi arvo #PUUTTUU!. -ISERROR = ONVIRHE ## Palauttaa arvon TOSI, jos arvo on mikä tahansa virhearvo. -ISEVEN = ONPARILLINEN ## Palauttaa arvon TOSI, jos arvo on parillinen. -ISLOGICAL = ONTOTUUS ## Palauttaa arvon TOSI, jos arvo on mikä tahansa looginen arvo. -ISNA = ONPUUTTUU ## Palauttaa arvon TOSI, jos virhearvo on #PUUTTUU!. -ISNONTEXT = ONEI_TEKSTI ## Palauttaa arvon TOSI, jos arvo ei ole teksti. -ISNUMBER = ONLUKU ## Palauttaa arvon TOSI, jos arvo on luku. -ISODD = ONPARITON ## Palauttaa arvon TOSI, jos arvo on pariton. -ISREF = ONVIITT ## Palauttaa arvon TOSI, jos arvo on viittaus. -ISTEXT = ONTEKSTI ## Palauttaa arvon TOSI, jos arvo on teksti. -N = N ## Palauttaa arvon luvuksi muunnettuna. -NA = PUUTTUU ## Palauttaa virhearvon #PUUTTUU!. -TYPE = TYYPPI ## Palauttaa luvun, joka ilmaisee arvon tietotyypin. - - -## -## Logical functions Loogiset funktiot -## -AND = JA ## Palauttaa arvon TOSI, jos kaikkien argumenttien arvo on TOSI. -FALSE = EPÄTOSI ## Palauttaa totuusarvon EPÄTOSI. -IF = JOS ## Määrittää suoritettavan loogisen testin. -IFERROR = JOSVIRHE ## Palauttaa määrittämäsi arvon, jos kaavan tulos on virhe; muussa tapauksessa palauttaa kaavan tuloksen. -NOT = EI ## Kääntää argumentin loogisen arvon. -OR = TAI ## Palauttaa arvon TOSI, jos minkä tahansa argumentin arvo on TOSI. -TRUE = TOSI ## Palauttaa totuusarvon TOSI. - - -## -## Lookup and reference functions Haku- ja viitefunktiot -## -ADDRESS = OSOITE ## Palauttaa laskentataulukon soluun osoittavan viittauksen tekstinä. -AREAS = ALUEET ## Palauttaa viittauksessa olevien alueiden määrän. -CHOOSE = VALITSE.INDEKSI ## Valitsee arvon arvoluettelosta. -COLUMN = SARAKE ## Palauttaa viittauksen sarakenumeron. -COLUMNS = SARAKKEET ## Palauttaa viittauksessa olevien sarakkeiden määrän. -HLOOKUP = VHAKU ## Suorittaa haun matriisin ylimmältä riviltä ja palauttaa määritetyn solun arvon. -HYPERLINK = HYPERLINKKI ## Luo pikakuvakkeen tai tekstin, joka avaa verkkopalvelimeen, intranetiin tai Internetiin tallennetun tiedoston. -INDEX = INDEKSI ## Valitsee arvon viittauksesta tai matriisista indeksin mukaan. -INDIRECT = EPÄSUORA ## Palauttaa tekstiarvona ilmaistun viittauksen. -LOOKUP = HAKU ## Etsii arvoja vektorista tai matriisista. -MATCH = VASTINE ## Etsii arvoja viittauksesta tai matriisista. -OFFSET = SIIRTYMÄ ## Palauttaa annetun viittauksen siirtymän. -ROW = RIVI ## Palauttaa viittauksen rivinumeron. -ROWS = RIVIT ## Palauttaa viittauksessa olevien rivien määrän. -RTD = RTD ## Noutaa COM-automaatiota (automaatio: Tapa käsitellä sovelluksen objekteja toisesta sovelluksesta tai kehitystyökalusta. Automaatio, jota aiemmin kutsuttiin OLE-automaatioksi, on teollisuusstandardi ja COM-mallin (Component Object Model) ominaisuus.) tukevasta ohjelmasta reaaliaikaisia tietoja. -TRANSPOSE = TRANSPONOI ## Palauttaa matriisin käänteismatriisin. -VLOOKUP = PHAKU ## Suorittaa haun matriisin ensimmäisestä sarakkeesta ja palauttaa rivillä olevan solun arvon. - - -## -## Math and trigonometry functions Matemaattiset ja trigonometriset funktiot -## -ABS = ITSEISARVO ## Palauttaa luvun itseisarvon. -ACOS = ACOS ## Palauttaa luvun arkuskosinin. -ACOSH = ACOSH ## Palauttaa luvun käänteisen hyperbolisen kosinin. -ASIN = ASIN ## Palauttaa luvun arkussinin. -ASINH = ASINH ## Palauttaa luvun käänteisen hyperbolisen sinin. -ATAN = ATAN ## Palauttaa luvun arkustangentin. -ATAN2 = ATAN2 ## Palauttaa arkustangentin x- ja y-koordinaatin perusteella. -ATANH = ATANH ## Palauttaa luvun käänteisen hyperbolisen tangentin. -CEILING = PYÖRISTÄ.KERR.YLÖS ## Pyöristää luvun lähimpään kokonaislukuun tai tarkkuusargumentin lähimpään kerrannaiseen. -COMBIN = KOMBINAATIO ## Palauttaa mahdollisten kombinaatioiden määrän annetulle objektien määrälle. -COS = COS ## Palauttaa luvun kosinin. -COSH = COSH ## Palauttaa luvun hyperbolisen kosinin. -DEGREES = ASTEET ## Muuntaa radiaanit asteiksi. -EVEN = PARILLINEN ## Pyöristää luvun ylöspäin lähimpään parilliseen kokonaislukuun. -EXP = EKSPONENTTI ## Palauttaa e:n korotettuna annetun luvun osoittamaan potenssiin. -FACT = KERTOMA ## Palauttaa luvun kertoman. -FACTDOUBLE = KERTOMA.OSA ## Palauttaa luvun osakertoman. -FLOOR = PYÖRISTÄ.KERR.ALAS ## Pyöristää luvun alaspäin (nollaa kohti). -GCD = SUURIN.YHT.TEKIJÄ ## Palauttaa suurimman yhteisen tekijän. -INT = KOKONAISLUKU ## Pyöristää luvun alaspäin lähimpään kokonaislukuun. -LCM = PIENIN.YHT.JAETTAVA ## Palauttaa pienimmän yhteisen tekijän. -LN = LUONNLOG ## Palauttaa luvun luonnollisen logaritmin. -LOG = LOG ## Laskee luvun logaritmin käyttämällä annettua kantalukua. -LOG10 = LOG10 ## Palauttaa luvun kymmenkantaisen logaritmin. -MDETERM = MDETERM ## Palauttaa matriisin matriisideterminantin. -MINVERSE = MKÄÄNTEINEN ## Palauttaa matriisin käänteismatriisin. -MMULT = MKERRO ## Palauttaa kahden matriisin tulon. -MOD = JAKOJ ## Palauttaa jakolaskun jäännöksen. -MROUND = PYÖRISTÄ.KERR ## Palauttaa luvun pyöristettynä annetun luvun kerrannaiseen. -MULTINOMIAL = MULTINOMI ## Palauttaa lukujoukon multinomin. -ODD = PARITON ## Pyöristää luvun ylöspäin lähimpään parittomaan kokonaislukuun. -PI = PII ## Palauttaa piin arvon. -POWER = POTENSSI ## Palauttaa luvun korotettuna haluttuun potenssiin. -PRODUCT = TULO ## Kertoo annetut argumentit. -QUOTIENT = OSAMÄÄRÄ ## Palauttaa osamäärän kokonaislukuosan. -RADIANS = RADIAANIT ## Muuntaa asteet radiaaneiksi. -RAND = SATUNNAISLUKU ## Palauttaa satunnaisluvun väliltä 0–1. -RANDBETWEEN = SATUNNAISLUKU.VÄLILTÄ ## Palauttaa satunnaisluvun määritettyjen lukujen väliltä. -ROMAN = ROMAN ## Muuntaa arabialaisen numeron tekstimuotoiseksi roomalaiseksi numeroksi. -ROUND = PYÖRISTÄ ## Pyöristää luvun annettuun määrään desimaaleja. -ROUNDDOWN = PYÖRISTÄ.DES.ALAS ## Pyöristää luvun alaspäin (nollaa kohti). -ROUNDUP = PYÖRISTÄ.DES.YLÖS ## Pyöristää luvun ylöspäin (poispäin nollasta). -SERIESSUM = SARJA.SUMMA ## Palauttaa kaavaan perustuvan potenssisarjan arvon. -SIGN = ETUMERKKI ## Palauttaa luvun etumerkin. -SIN = SIN ## Palauttaa annetun kulman sinin. -SINH = SINH ## Palauttaa luvun hyperbolisen sinin. -SQRT = NELIÖJUURI ## Palauttaa positiivisen neliöjuuren. -SQRTPI = NELIÖJUURI.PII ## Palauttaa tulon (luku * pii) neliöjuuren. -SUBTOTAL = VÄLISUMMA ## Palauttaa luettelon tai tietokannan välisumman. -SUM = SUMMA ## Laskee yhteen annetut argumentit. -SUMIF = SUMMA.JOS ## Laskee ehdot täyttävien solujen summan. -SUMIFS = SUMMA.JOS.JOUKKO ## Laskee yhteen solualueen useita ehtoja vastaavat solut. -SUMPRODUCT = TULOJEN.SUMMA ## Palauttaa matriisin toisiaan vastaavien osien tulojen summan. -SUMSQ = NELIÖSUMMA ## Palauttaa argumenttien neliöiden summan. -SUMX2MY2 = NELIÖSUMMIEN.EROTUS ## Palauttaa kahden matriisin toisiaan vastaavien arvojen laskettujen neliösummien erotuksen. -SUMX2PY2 = NELIÖSUMMIEN.SUMMA ## Palauttaa kahden matriisin toisiaan vastaavien arvojen neliösummien summan. -SUMXMY2 = EROTUSTEN.NELIÖSUMMA ## Palauttaa kahden matriisin toisiaan vastaavien arvojen erotusten neliösumman. -TAN = TAN ## Palauttaa luvun tangentin. -TANH = TANH ## Palauttaa luvun hyperbolisen tangentin. -TRUNC = KATKAISE ## Katkaisee luvun kokonaisluvuksi. - - -## -## Statistical functions Tilastolliset funktiot -## -AVEDEV = KESKIPOIKKEAMA ## Palauttaa hajontojen itseisarvojen keskiarvon. -AVERAGE = KESKIARVO ## Palauttaa argumenttien keskiarvon. -AVERAGEA = KESKIARVOA ## Palauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, keskiarvon. -AVERAGEIF = KESKIARVO.JOS ## Palauttaa alueen niiden solujen keskiarvon (aritmeettisen keskiarvon), jotka täyttävät annetut ehdot. -AVERAGEIFS = KESKIARVO.JOS.JOUKKO ## Palauttaa niiden solujen keskiarvon (aritmeettisen keskiarvon), jotka vastaavat useita ehtoja. -BETADIST = BEETAJAKAUMA ## Palauttaa kumulatiivisen beetajakaumafunktion arvon. -BETAINV = BEETAJAKAUMA.KÄÄNT ## Palauttaa määritetyn beetajakauman käänteisen kumulatiivisen jakaumafunktion arvon. -BINOMDIST = BINOMIJAKAUMA ## Palauttaa yksittäisen termin binomijakaumatodennäköisyyden. -CHIDIST = CHIJAKAUMA ## Palauttaa yksisuuntaisen chi-neliön jakauman todennäköisyyden. -CHIINV = CHIJAKAUMA.KÄÄNT ## Palauttaa yksisuuntaisen chi-neliön jakauman todennäköisyyden käänteisarvon. -CHITEST = CHITESTI ## Palauttaa riippumattomuustestin tuloksen. -CONFIDENCE = LUOTTAMUSVÄLI ## Palauttaa luottamusvälin populaation keskiarvolle. -CORREL = KORRELAATIO ## Palauttaa kahden arvojoukon korrelaatiokertoimen. -COUNT = LASKE ## Laskee argumenttiluettelossa olevien lukujen määrän. -COUNTA = LASKE.A ## Laskee argumenttiluettelossa olevien arvojen määrän. -COUNTBLANK = LASKE.TYHJÄT ## Laskee alueella olevien tyhjien solujen määrän. -COUNTIF = LASKE.JOS ## Laskee alueella olevien sellaisten solujen määrän, joiden sisältö vastaa annettuja ehtoja. -COUNTIFS = LASKE.JOS.JOUKKO ## Laskee alueella olevien sellaisten solujen määrän, joiden sisältö vastaa useita ehtoja. -COVAR = KOVARIANSSI ## Palauttaa kovarianssin, joka on keskiarvo havaintoaineiston kunkin pisteparin poikkeamien tuloista. -CRITBINOM = BINOMIJAKAUMA.KRIT ## Palauttaa pienimmän arvon, jossa binomijakauman kertymäfunktion arvo on pienempi tai yhtä suuri kuin vertailuarvo. -DEVSQ = OIKAISTU.NELIÖSUMMA ## Palauttaa keskipoikkeamien neliösumman. -EXPONDIST = EKSPONENTIAALIJAKAUMA ## Palauttaa eksponentiaalijakauman. -FDIST = FJAKAUMA ## Palauttaa F-todennäköisyysjakauman. -FINV = FJAKAUMA.KÄÄNT ## Palauttaa F-todennäköisyysjakauman käänteisfunktion. -FISHER = FISHER ## Palauttaa Fisher-muunnoksen. -FISHERINV = FISHER.KÄÄNT ## Palauttaa käänteisen Fisher-muunnoksen. -FORECAST = ENNUSTE ## Palauttaa lineaarisen trendin arvon. -FREQUENCY = TAAJUUS ## Palauttaa frekvenssijakautuman pystysuuntaisena matriisina. -FTEST = FTESTI ## Palauttaa F-testin tuloksen. -GAMMADIST = GAMMAJAKAUMA ## Palauttaa gammajakauman. -GAMMAINV = GAMMAJAKAUMA.KÄÄNT ## Palauttaa käänteisen gammajakauman kertymäfunktion. -GAMMALN = GAMMALN ## Palauttaa gammafunktion luonnollisen logaritmin G(x). -GEOMEAN = KESKIARVO.GEOM ## Palauttaa geometrisen keskiarvon. -GROWTH = KASVU ## Palauttaa eksponentiaalisen trendin arvon. -HARMEAN = KESKIARVO.HARM ## Palauttaa harmonisen keskiarvon. -HYPGEOMDIST = HYPERGEOM.JAKAUMA ## Palauttaa hypergeometrisen jakauman. -INTERCEPT = LEIKKAUSPISTE ## Palauttaa lineaarisen regressiosuoran leikkauspisteen. -KURT = KURT ## Palauttaa tietoalueen vinous-arvon eli huipukkuuden. -LARGE = SUURI ## Palauttaa tietojoukon k:nneksi suurimman arvon. -LINEST = LINREGR ## Palauttaa lineaarisen trendin parametrit. -LOGEST = LOGREGR ## Palauttaa eksponentiaalisen trendin parametrit. -LOGINV = LOGNORM.JAKAUMA.KÄÄNT ## Palauttaa lognormeeratun jakauman käänteisfunktion. -LOGNORMDIST = LOGNORM.JAKAUMA ## Palauttaa lognormaalisen jakauman kertymäfunktion. -MAX = MAKS ## Palauttaa suurimman arvon argumenttiluettelosta. -MAXA = MAKSA ## Palauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, suurimman arvon. -MEDIAN = MEDIAANI ## Palauttaa annettujen lukujen mediaanin. -MIN = MIN ## Palauttaa pienimmän arvon argumenttiluettelosta. -MINA = MINA ## Palauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, pienimmän arvon. -MODE = MOODI ## Palauttaa tietojoukossa useimmin esiintyvän arvon. -NEGBINOMDIST = BINOMIJAKAUMA.NEG ## Palauttaa negatiivisen binomijakauman. -NORMDIST = NORM.JAKAUMA ## Palauttaa normaalijakauman kertymäfunktion. -NORMINV = NORM.JAKAUMA.KÄÄNT ## Palauttaa käänteisen normaalijakauman kertymäfunktion. -NORMSDIST = NORM.JAKAUMA.NORMIT ## Palauttaa normitetun normaalijakauman kertymäfunktion. -NORMSINV = NORM.JAKAUMA.NORMIT.KÄÄNT ## Palauttaa normitetun normaalijakauman kertymäfunktion käänteisarvon. -PEARSON = PEARSON ## Palauttaa Pearsonin tulomomenttikorrelaatiokertoimen. -PERCENTILE = PROSENTTIPISTE ## Palauttaa alueen arvojen k:nnen prosenttipisteen. -PERCENTRANK = PROSENTTIJÄRJESTYS ## Palauttaa tietojoukon arvon prosentuaalisen järjestysluvun. -PERMUT = PERMUTAATIO ## Palauttaa mahdollisten permutaatioiden määrän annetulle objektien määrälle. -POISSON = POISSON ## Palauttaa Poissonin todennäköisyysjakauman. -PROB = TODENNÄKÖISYYS ## Palauttaa todennäköisyyden sille, että arvot ovat tietyltä väliltä. -QUARTILE = NELJÄNNES ## Palauttaa tietoalueen neljänneksen. -RANK = ARVON.MUKAAN ## Palauttaa luvun paikan lukuarvoluettelossa. -RSQ = PEARSON.NELIÖ ## Palauttaa Pearsonin tulomomenttikorrelaatiokertoimen neliön. -SKEW = JAKAUMAN.VINOUS ## Palauttaa jakauman vinouden. -SLOPE = KULMAKERROIN ## Palauttaa lineaarisen regressiosuoran kulmakertoimen. -SMALL = PIENI ## Palauttaa tietojoukon k:nneksi pienimmän arvon. -STANDARDIZE = NORMITA ## Palauttaa normitetun arvon. -STDEV = KESKIHAJONTA ## Laskee populaation keskihajonnan otoksen perusteella. -STDEVA = KESKIHAJONTAA ## Laskee populaation keskihajonnan otoksen perusteella, mukaan lukien luvut, tekstin ja loogiset arvot. -STDEVP = KESKIHAJONTAP ## Laskee normaalijakautuman koko populaation perusteella. -STDEVPA = KESKIHAJONTAPA ## Laskee populaation keskihajonnan koko populaation perusteella, mukaan lukien luvut, tekstin ja totuusarvot. -STEYX = KESKIVIRHE ## Palauttaa regression kutakin x-arvoa vastaavan ennustetun y-arvon keskivirheen. -TDIST = TJAKAUMA ## Palauttaa t-jakautuman. -TINV = TJAKAUMA.KÄÄNT ## Palauttaa käänteisen t-jakauman. -TREND = SUUNTAUS ## Palauttaa lineaarisen trendin arvoja. -TRIMMEAN = KESKIARVO.TASATTU ## Palauttaa tietojoukon tasatun keskiarvon. -TTEST = TTESTI ## Palauttaa t-testiin liittyvän todennäköisyyden. -VAR = VAR ## Arvioi populaation varianssia otoksen perusteella. -VARA = VARA ## Laskee populaation varianssin otoksen perusteella, mukaan lukien luvut, tekstin ja loogiset arvot. -VARP = VARP ## Laskee varianssin koko populaation perusteella. -VARPA = VARPA ## Laskee populaation varianssin koko populaation perusteella, mukaan lukien luvut, tekstin ja totuusarvot. -WEIBULL = WEIBULL ## Palauttaa Weibullin jakauman. -ZTEST = ZTESTI ## Palauttaa z-testin yksisuuntaisen todennäköisyysarvon. - - -## -## Text functions Tekstifunktiot -## -ASC = ASC ## Muuntaa merkkijonossa olevat englanninkieliset DBCS- tai katakana-merkit SBCS-merkeiksi. -BAHTTEXT = BAHTTEKSTI ## Muuntaa luvun tekstiksi ß (baht) -valuuttamuotoa käyttämällä. -CHAR = MERKKI ## Palauttaa koodin lukua vastaavan merkin. -CLEAN = SIIVOA ## Poistaa tekstistä kaikki tulostumattomat merkit. -CODE = KOODI ## Palauttaa tekstimerkkijonon ensimmäisen merkin numerokoodin. -CONCATENATE = KETJUTA ## Yhdistää useat merkkijonot yhdeksi merkkijonoksi. -DOLLAR = VALUUTTA ## Muuntaa luvun tekstiksi $ (dollari) -valuuttamuotoa käyttämällä. -EXACT = VERTAA ## Tarkistaa, ovatko kaksi tekstiarvoa samanlaiset. -FIND = ETSI ## Etsii tekstiarvon toisen tekstin sisältä (tunnistaa isot ja pienet kirjaimet). -FINDB = ETSIB ## Etsii tekstiarvon toisen tekstin sisältä (tunnistaa isot ja pienet kirjaimet). -FIXED = KIINTEÄ ## Muotoilee luvun tekstiksi, jossa on kiinteä määrä desimaaleja. -JIS = JIS ## Muuntaa merkkijonossa olevat englanninkieliset SBCS- tai katakana-merkit DBCS-merkeiksi. -LEFT = VASEN ## Palauttaa tekstiarvon vasemmanpuoliset merkit. -LEFTB = VASENB ## Palauttaa tekstiarvon vasemmanpuoliset merkit. -LEN = PITUUS ## Palauttaa tekstimerkkijonon merkkien määrän. -LENB = PITUUSB ## Palauttaa tekstimerkkijonon merkkien määrän. -LOWER = PIENET ## Muuntaa tekstin pieniksi kirjaimiksi. -MID = POIMI.TEKSTI ## Palauttaa määritetyn määrän merkkejä merkkijonosta alkaen annetusta kohdasta. -MIDB = POIMI.TEKSTIB ## Palauttaa määritetyn määrän merkkejä merkkijonosta alkaen annetusta kohdasta. -PHONETIC = FONEETTINEN ## Hakee foneettiset (furigana) merkit merkkijonosta. -PROPER = ERISNIMI ## Muuttaa merkkijonon kunkin sanan ensimmäisen kirjaimen isoksi. -REPLACE = KORVAA ## Korvaa tekstissä olevat merkit. -REPLACEB = KORVAAB ## Korvaa tekstissä olevat merkit. -REPT = TOISTA ## Toistaa tekstin annetun määrän kertoja. -RIGHT = OIKEA ## Palauttaa tekstiarvon oikeanpuoliset merkit. -RIGHTB = OIKEAB ## Palauttaa tekstiarvon oikeanpuoliset merkit. -SEARCH = KÄY.LÄPI ## Etsii tekstiarvon toisen tekstin sisältä (isot ja pienet kirjaimet tulkitaan samoiksi merkeiksi). -SEARCHB = KÄY.LÄPIB ## Etsii tekstiarvon toisen tekstin sisältä (isot ja pienet kirjaimet tulkitaan samoiksi merkeiksi). -SUBSTITUTE = VAIHDA ## Korvaa merkkijonossa olevan tekstin toisella. -T = T ## Muuntaa argumentit tekstiksi. -TEXT = TEKSTI ## Muotoilee luvun ja muuntaa sen tekstiksi. -TRIM = POISTA.VÄLIT ## Poistaa välilyönnit tekstistä. -UPPER = ISOT ## Muuntaa tekstin isoiksi kirjaimiksi. -VALUE = ARVO ## Muuntaa tekstiargumentin luvuksi. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fi/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/config deleted file mode 100644 index 1f5db88c4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NUL! -DIV0 = #DIV/0! -VALUE = #VALEUR! -REF = #REF! -NAME = #NOM? -NUM = #NOMBRE! -NA = #N/A diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/functions deleted file mode 100644 index 03b80e5a4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Fonctions de complément et d’automatisation -## -GETPIVOTDATA = LIREDONNEESTABCROISDYNAMIQUE ## Renvoie les données stockées dans un rapport de tableau croisé dynamique. - - -## -## Cube functions Fonctions Cube -## -CUBEKPIMEMBER = MEMBREKPICUBE ## Renvoie un nom, une propriété et une mesure d’indicateur de performance clé et affiche le nom et la propriété dans la cellule. Un indicateur de performance clé est une mesure quantifiable, telle que la marge bénéficiaire brute mensuelle ou la rotation trimestrielle du personnel, utilisée pour évaluer les performances d’une entreprise. -CUBEMEMBER = MEMBRECUBE ## Renvoie un membre ou un uplet dans une hiérarchie de cubes. Utilisez cette fonction pour valider l’existence du membre ou de l’uplet dans le cube. -CUBEMEMBERPROPERTY = PROPRIETEMEMBRECUBE ## Renvoie la valeur d’une propriété de membre du cube. Utilisez cette fonction pour valider l’existence d’un nom de membre dans le cube et pour renvoyer la propriété spécifiée pour ce membre. -CUBERANKEDMEMBER = RANGMEMBRECUBE ## Renvoie le nième membre ou le membre placé à un certain rang dans un ensemble. Utilisez cette fonction pour renvoyer un ou plusieurs éléments d’un ensemble, tels que les meilleurs vendeurs ou les 10 meilleurs étudiants. -CUBESET = JEUCUBE ## Définit un ensemble calculé de membres ou d’uplets en envoyant une expression définie au cube sur le serveur qui crée l’ensemble et le renvoie à Microsoft Office Excel. -CUBESETCOUNT = NBJEUCUBE ## Renvoie le nombre d’éléments dans un jeu. -CUBEVALUE = VALEURCUBE ## Renvoie une valeur d’agrégation issue d’un cube. - - -## -## Database functions Fonctions de base de données -## -DAVERAGE = BDMOYENNE ## Renvoie la moyenne des entrées de base de données sélectionnées. -DCOUNT = BCOMPTE ## Compte le nombre de cellules d’une base de données qui contiennent des nombres. -DCOUNTA = BDNBVAL ## Compte les cellules non vides d’une base de données. -DGET = BDLIRE ## Extrait d’une base de données un enregistrement unique répondant aux critères spécifiés. -DMAX = BDMAX ## Renvoie la valeur maximale des entrées de base de données sélectionnées. -DMIN = BDMIN ## Renvoie la valeur minimale des entrées de base de données sélectionnées. -DPRODUCT = BDPRODUIT ## Multiplie les valeurs d’un champ particulier des enregistrements d’une base de données, qui répondent aux critères spécifiés. -DSTDEV = BDECARTYPE ## Calcule l’écart type pour un échantillon d’entrées de base de données sélectionnées. -DSTDEVP = BDECARTYPEP ## Calcule l’écart type pour l’ensemble d’une population d’entrées de base de données sélectionnées. -DSUM = BDSOMME ## Ajoute les nombres dans la colonne de champ des enregistrements de la base de données, qui répondent aux critères. -DVAR = BDVAR ## Calcule la variance pour un échantillon d’entrées de base de données sélectionnées. -DVARP = BDVARP ## Calcule la variance pour l’ensemble d’une population d’entrées de base de données sélectionnées. - - -## -## Date and time functions Fonctions de date et d’heure -## -DATE = DATE ## Renvoie le numéro de série d’une date précise. -DATEVALUE = DATEVAL ## Convertit une date représentée sous forme de texte en numéro de série. -DAY = JOUR ## Convertit un numéro de série en jour du mois. -DAYS360 = JOURS360 ## Calcule le nombre de jours qui séparent deux dates sur la base d’une année de 360 jours. -EDATE = MOIS.DECALER ## Renvoie le numéro séquentiel de la date qui représente une date spécifiée (l’argument date_départ), corrigée en plus ou en moins du nombre de mois indiqué. -EOMONTH = FIN.MOIS ## Renvoie le numéro séquentiel de la date du dernier jour du mois précédant ou suivant la date_départ du nombre de mois indiqué. -HOUR = HEURE ## Convertit un numéro de série en heure. -MINUTE = MINUTE ## Convertit un numéro de série en minute. -MONTH = MOIS ## Convertit un numéro de série en mois. -NETWORKDAYS = NB.JOURS.OUVRES ## Renvoie le nombre de jours ouvrés entiers compris entre deux dates. -NOW = MAINTENANT ## Renvoie le numéro de série de la date et de l’heure du jour. -SECOND = SECONDE ## Convertit un numéro de série en seconde. -TIME = TEMPS ## Renvoie le numéro de série d’une heure précise. -TIMEVALUE = TEMPSVAL ## Convertit une date représentée sous forme de texte en numéro de série. -TODAY = AUJOURDHUI ## Renvoie le numéro de série de la date du jour. -WEEKDAY = JOURSEM ## Convertit un numéro de série en jour de la semaine. -WEEKNUM = NO.SEMAINE ## Convertit un numéro de série en un numéro représentant l’ordre de la semaine dans l’année. -WORKDAY = SERIE.JOUR.OUVRE ## Renvoie le numéro de série de la date avant ou après le nombre de jours ouvrés spécifiés. -YEAR = ANNEE ## Convertit un numéro de série en année. -YEARFRAC = FRACTION.ANNEE ## Renvoie la fraction de l’année représentant le nombre de jours entre la date de début et la date de fin. - - -## -## Engineering functions Fonctions d’ingénierie -## -BESSELI = BESSELI ## Renvoie la fonction Bessel modifiée In(x). -BESSELJ = BESSELJ ## Renvoie la fonction Bessel Jn(x). -BESSELK = BESSELK ## Renvoie la fonction Bessel modifiée Kn(x). -BESSELY = BESSELY ## Renvoie la fonction Bessel Yn(x). -BIN2DEC = BINDEC ## Convertit un nombre binaire en nombre décimal. -BIN2HEX = BINHEX ## Convertit un nombre binaire en nombre hexadécimal. -BIN2OCT = BINOCT ## Convertit un nombre binaire en nombre octal. -COMPLEX = COMPLEXE ## Convertit des coefficients réel et imaginaire en un nombre complexe. -CONVERT = CONVERT ## Convertit un nombre d’une unité de mesure à une autre. -DEC2BIN = DECBIN ## Convertit un nombre décimal en nombre binaire. -DEC2HEX = DECHEX ## Convertit un nombre décimal en nombre hexadécimal. -DEC2OCT = DECOCT ## Convertit un nombre décimal en nombre octal. -DELTA = DELTA ## Teste l’égalité de deux nombres. -ERF = ERF ## Renvoie la valeur de la fonction d’erreur. -ERFC = ERFC ## Renvoie la valeur de la fonction d’erreur complémentaire. -GESTEP = SUP.SEUIL ## Teste si un nombre est supérieur à une valeur de seuil. -HEX2BIN = HEXBIN ## Convertit un nombre hexadécimal en nombre binaire. -HEX2DEC = HEXDEC ## Convertit un nombre hexadécimal en nombre décimal. -HEX2OCT = HEXOCT ## Convertit un nombre hexadécimal en nombre octal. -IMABS = COMPLEXE.MODULE ## Renvoie la valeur absolue (module) d’un nombre complexe. -IMAGINARY = COMPLEXE.IMAGINAIRE ## Renvoie le coefficient imaginaire d’un nombre complexe. -IMARGUMENT = COMPLEXE.ARGUMENT ## Renvoie l’argument thêta, un angle exprimé en radians. -IMCONJUGATE = COMPLEXE.CONJUGUE ## Renvoie le nombre complexe conjugué d’un nombre complexe. -IMCOS = IMCOS ## Renvoie le cosinus d’un nombre complexe. -IMDIV = COMPLEXE.DIV ## Renvoie le quotient de deux nombres complexes. -IMEXP = COMPLEXE.EXP ## Renvoie la fonction exponentielle d’un nombre complexe. -IMLN = COMPLEXE.LN ## Renvoie le logarithme népérien d’un nombre complexe. -IMLOG10 = COMPLEXE.LOG10 ## Calcule le logarithme en base 10 d’un nombre complexe. -IMLOG2 = COMPLEXE.LOG2 ## Calcule le logarithme en base 2 d’un nombre complexe. -IMPOWER = COMPLEXE.PUISSANCE ## Renvoie un nombre complexe élevé à une puissance entière. -IMPRODUCT = COMPLEXE.PRODUIT ## Renvoie le produit de plusieurs nombres complexes. -IMREAL = COMPLEXE.REEL ## Renvoie le coefficient réel d’un nombre complexe. -IMSIN = COMPLEXE.SIN ## Renvoie le sinus d’un nombre complexe. -IMSQRT = COMPLEXE.RACINE ## Renvoie la racine carrée d’un nombre complexe. -IMSUB = COMPLEXE.DIFFERENCE ## Renvoie la différence entre deux nombres complexes. -IMSUM = COMPLEXE.SOMME ## Renvoie la somme de plusieurs nombres complexes. -OCT2BIN = OCTBIN ## Convertit un nombre octal en nombre binaire. -OCT2DEC = OCTDEC ## Convertit un nombre octal en nombre décimal. -OCT2HEX = OCTHEX ## Convertit un nombre octal en nombre hexadécimal. - - -## -## Financial functions Fonctions financières -## -ACCRINT = INTERET.ACC ## Renvoie l’intérêt couru non échu d’un titre dont l’intérêt est perçu périodiquement. -ACCRINTM = INTERET.ACC.MAT ## Renvoie l’intérêt couru non échu d’un titre dont l’intérêt est perçu à l’échéance. -AMORDEGRC = AMORDEGRC ## Renvoie l’amortissement correspondant à chaque période comptable en utilisant un coefficient d’amortissement. -AMORLINC = AMORLINC ## Renvoie l’amortissement d’un bien à la fin d’une période fiscale donnée. -COUPDAYBS = NB.JOURS.COUPON.PREC ## Renvoie le nombre de jours entre le début de la période de coupon et la date de liquidation. -COUPDAYS = NB.JOURS.COUPONS ## Renvoie le nombre de jours pour la période du coupon contenant la date de liquidation. -COUPDAYSNC = NB.JOURS.COUPON.SUIV ## Renvoie le nombre de jours entre la date de liquidation et la date du coupon suivant la date de liquidation. -COUPNCD = DATE.COUPON.SUIV ## Renvoie la première date de coupon ultérieure à la date de règlement. -COUPNUM = NB.COUPONS ## Renvoie le nombre de coupons dus entre la date de règlement et la date d’échéance. -COUPPCD = DATE.COUPON.PREC ## Renvoie la date de coupon précédant la date de règlement. -CUMIPMT = CUMUL.INTER ## Renvoie l’intérêt cumulé payé sur un emprunt entre deux périodes. -CUMPRINC = CUMUL.PRINCPER ## Renvoie le montant cumulé des remboursements du capital d’un emprunt effectués entre deux périodes. -DB = DB ## Renvoie l’amortissement d’un bien pour une période spécifiée en utilisant la méthode de l’amortissement dégressif à taux fixe. -DDB = DDB ## Renvoie l’amortissement d’un bien pour toute période spécifiée, en utilisant la méthode de l’amortissement dégressif à taux double ou selon un coefficient à spécifier. -DISC = TAUX.ESCOMPTE ## Calcule le taux d’escompte d’une transaction. -DOLLARDE = PRIX.DEC ## Convertit un prix en euros, exprimé sous forme de fraction, en un prix en euros exprimé sous forme de nombre décimal. -DOLLARFR = PRIX.FRAC ## Convertit un prix en euros, exprimé sous forme de nombre décimal, en un prix en euros exprimé sous forme de fraction. -DURATION = DUREE ## Renvoie la durée, en années, d’un titre dont l’intérêt est perçu périodiquement. -EFFECT = TAUX.EFFECTIF ## Renvoie le taux d’intérêt annuel effectif. -FV = VC ## Renvoie la valeur future d’un investissement. -FVSCHEDULE = VC.PAIEMENTS ## Calcule la valeur future d’un investissement en appliquant une série de taux d’intérêt composites. -INTRATE = TAUX.INTERET ## Affiche le taux d’intérêt d’un titre totalement investi. -IPMT = INTPER ## Calcule le montant des intérêts d’un investissement pour une période donnée. -IRR = TRI ## Calcule le taux de rentabilité interne d’un investissement pour une succession de trésoreries. -ISPMT = ISPMT ## Calcule le montant des intérêts d’un investissement pour une période donnée. -MDURATION = DUREE.MODIFIEE ## Renvoie la durée de Macauley modifiée pour un titre ayant une valeur nominale hypothétique de 100_euros. -MIRR = TRIM ## Calcule le taux de rentabilité interne lorsque les paiements positifs et négatifs sont financés à des taux différents. -NOMINAL = TAUX.NOMINAL ## Calcule le taux d’intérêt nominal annuel. -NPER = NPM ## Renvoie le nombre de versements nécessaires pour rembourser un emprunt. -NPV = VAN ## Calcule la valeur actuelle nette d’un investissement basé sur une série de décaissements et un taux d’escompte. -ODDFPRICE = PRIX.PCOUPON.IRREG ## Renvoie le prix par tranche de valeur nominale de 100 euros d’un titre dont la première période de coupon est irrégulière. -ODDFYIELD = REND.PCOUPON.IRREG ## Renvoie le taux de rendement d’un titre dont la première période de coupon est irrégulière. -ODDLPRICE = PRIX.DCOUPON.IRREG ## Renvoie le prix par tranche de valeur nominale de 100 euros d’un titre dont la première période de coupon est irrégulière. -ODDLYIELD = REND.DCOUPON.IRREG ## Renvoie le taux de rendement d’un titre dont la dernière période de coupon est irrégulière. -PMT = VPM ## Calcule le paiement périodique d’un investissement donné. -PPMT = PRINCPER ## Calcule, pour une période donnée, la part de remboursement du principal d’un investissement. -PRICE = PRIX.TITRE ## Renvoie le prix d’un titre rapportant des intérêts périodiques, pour une valeur nominale de 100 euros. -PRICEDISC = VALEUR.ENCAISSEMENT ## Renvoie la valeur d’encaissement d’un escompte commercial, pour une valeur nominale de 100 euros. -PRICEMAT = PRIX.TITRE.ECHEANCE ## Renvoie le prix d’un titre dont la valeur nominale est 100 euros et qui rapporte des intérêts à l’échéance. -PV = PV ## Calcule la valeur actuelle d’un investissement. -RATE = TAUX ## Calcule le taux d’intérêt par période pour une annuité. -RECEIVED = VALEUR.NOMINALE ## Renvoie la valeur nominale à échéance d’un effet de commerce. -SLN = AMORLIN ## Calcule l’amortissement linéaire d’un bien pour une période donnée. -SYD = SYD ## Calcule l’amortissement d’un bien pour une période donnée sur la base de la méthode américaine Sum-of-Years Digits (amortissement dégressif à taux décroissant appliqué à une valeur constante). -TBILLEQ = TAUX.ESCOMPTE.R ## Renvoie le taux d’escompte rationnel d’un bon du Trésor. -TBILLPRICE = PRIX.BON.TRESOR ## Renvoie le prix d’un bon du Trésor d’une valeur nominale de 100 euros. -TBILLYIELD = RENDEMENT.BON.TRESOR ## Calcule le taux de rendement d’un bon du Trésor. -VDB = VDB ## Renvoie l’amortissement d’un bien pour une période spécifiée ou partielle en utilisant une méthode de l’amortissement dégressif à taux fixe. -XIRR = TRI.PAIEMENTS ## Calcule le taux de rentabilité interne d’un ensemble de paiements non périodiques. -XNPV = VAN.PAIEMENTS ## Renvoie la valeur actuelle nette d’un ensemble de paiements non périodiques. -YIELD = RENDEMENT.TITRE ## Calcule le rendement d’un titre rapportant des intérêts périodiquement. -YIELDDISC = RENDEMENT.SIMPLE ## Calcule le taux de rendement d’un emprunt à intérêt simple (par exemple, un bon du Trésor). -YIELDMAT = RENDEMENT.TITRE.ECHEANCE ## Renvoie le rendement annuel d’un titre qui rapporte des intérêts à l’échéance. - - -## -## Information functions Fonctions d’information -## -CELL = CELLULE ## Renvoie des informations sur la mise en forme, l’emplacement et le contenu d’une cellule. -ERROR.TYPE = TYPE.ERREUR ## Renvoie un nombre correspondant à un type d’erreur. -INFO = INFORMATIONS ## Renvoie des informations sur l’environnement d’exploitation actuel. -ISBLANK = ESTVIDE ## Renvoie VRAI si l’argument valeur est vide. -ISERR = ESTERR ## Renvoie VRAI si l’argument valeur fait référence à une valeur d’erreur, sauf #N/A. -ISERROR = ESTERREUR ## Renvoie VRAI si l’argument valeur fait référence à une valeur d’erreur. -ISEVEN = EST.PAIR ## Renvoie VRAI si le chiffre est pair. -ISLOGICAL = ESTLOGIQUE ## Renvoie VRAI si l’argument valeur fait référence à une valeur logique. -ISNA = ESTNA ## Renvoie VRAI si l’argument valeur fait référence à la valeur d’erreur #N/A. -ISNONTEXT = ESTNONTEXTE ## Renvoie VRAI si l’argument valeur ne se présente pas sous forme de texte. -ISNUMBER = ESTNUM ## Renvoie VRAI si l’argument valeur représente un nombre. -ISODD = EST.IMPAIR ## Renvoie VRAI si le chiffre est impair. -ISREF = ESTREF ## Renvoie VRAI si l’argument valeur est une référence. -ISTEXT = ESTTEXTE ## Renvoie VRAI si l’argument valeur se présente sous forme de texte. -N = N ## Renvoie une valeur convertie en nombre. -NA = NA ## Renvoie la valeur d’erreur #N/A. -TYPE = TYPE ## Renvoie un nombre indiquant le type de données d’une valeur. - - -## -## Logical functions Fonctions logiques -## -AND = ET ## Renvoie VRAI si tous ses arguments sont VRAI. -FALSE = FAUX ## Renvoie la valeur logique FAUX. -IF = SI ## Spécifie un test logique à effectuer. -IFERROR = SIERREUR ## Renvoie une valeur que vous spécifiez si une formule génère une erreur ; sinon, elle renvoie le résultat de la formule. -NOT = NON ## Inverse la logique de cet argument. -OR = OU ## Renvoie VRAI si un des arguments est VRAI. -TRUE = VRAI ## Renvoie la valeur logique VRAI. - - -## -## Lookup and reference functions Fonctions de recherche et de référence -## -ADDRESS = ADRESSE ## Renvoie une référence sous forme de texte à une seule cellule d’une feuille de calcul. -AREAS = ZONES ## Renvoie le nombre de zones dans une référence. -CHOOSE = CHOISIR ## Choisit une valeur dans une liste. -COLUMN = COLONNE ## Renvoie le numéro de colonne d’une référence. -COLUMNS = COLONNES ## Renvoie le nombre de colonnes dans une référence. -HLOOKUP = RECHERCHEH ## Effectue une recherche dans la première ligne d’une matrice et renvoie la valeur de la cellule indiquée. -HYPERLINK = LIEN_HYPERTEXTE ## Crée un raccourci ou un renvoi qui ouvre un document stocké sur un serveur réseau, sur un réseau Intranet ou sur Internet. -INDEX = INDEX ## Utilise un index pour choisir une valeur provenant d’une référence ou d’une matrice. -INDIRECT = INDIRECT ## Renvoie une référence indiquée par une valeur de texte. -LOOKUP = RECHERCHE ## Recherche des valeurs dans un vecteur ou une matrice. -MATCH = EQUIV ## Recherche des valeurs dans une référence ou une matrice. -OFFSET = DECALER ## Renvoie une référence décalée par rapport à une référence donnée. -ROW = LIGNE ## Renvoie le numéro de ligne d’une référence. -ROWS = LIGNES ## Renvoie le nombre de lignes dans une référence. -RTD = RTD ## Extrait les données en temps réel à partir d’un programme prenant en charge l’automation COM (Automation : utilisation des objets d'une application à partir d'une autre application ou d'un autre outil de développement. Autrefois appelée OLE Automation, Automation est une norme industrielle et une fonctionnalité du modèle d'objet COM (Component Object Model).). -TRANSPOSE = TRANSPOSE ## Renvoie la transposition d’une matrice. -VLOOKUP = RECHERCHEV ## Effectue une recherche dans la première colonne d’une matrice et se déplace sur la ligne pour renvoyer la valeur d’une cellule. - - -## -## Math and trigonometry functions Fonctions mathématiques et trigonométriques -## -ABS = ABS ## Renvoie la valeur absolue d’un nombre. -ACOS = ACOS ## Renvoie l’arccosinus d’un nombre. -ACOSH = ACOSH ## Renvoie le cosinus hyperbolique inverse d’un nombre. -ASIN = ASIN ## Renvoie l’arcsinus d’un nombre. -ASINH = ASINH ## Renvoie le sinus hyperbolique inverse d’un nombre. -ATAN = ATAN ## Renvoie l’arctangente d’un nombre. -ATAN2 = ATAN2 ## Renvoie l’arctangente des coordonnées x et y. -ATANH = ATANH ## Renvoie la tangente hyperbolique inverse d’un nombre. -CEILING = PLAFOND ## Arrondit un nombre au nombre entier le plus proche ou au multiple le plus proche de l’argument précision en s’éloignant de zéro. -COMBIN = COMBIN ## Renvoie le nombre de combinaisons que l’on peut former avec un nombre donné d’objets. -COS = COS ## Renvoie le cosinus d’un nombre. -COSH = COSH ## Renvoie le cosinus hyperbolique d’un nombre. -DEGREES = DEGRES ## Convertit des radians en degrés. -EVEN = PAIR ## Arrondit un nombre au nombre entier pair le plus proche en s’éloignant de zéro. -EXP = EXP ## Renvoie e élevé à la puissance d’un nombre donné. -FACT = FACT ## Renvoie la factorielle d’un nombre. -FACTDOUBLE = FACTDOUBLE ## Renvoie la factorielle double d’un nombre. -FLOOR = PLANCHER ## Arrondit un nombre en tendant vers 0 (zéro). -GCD = PGCD ## Renvoie le plus grand commun diviseur. -INT = ENT ## Arrondit un nombre à l’entier immédiatement inférieur. -LCM = PPCM ## Renvoie le plus petit commun multiple. -LN = LN ## Renvoie le logarithme népérien d’un nombre. -LOG = LOG ## Renvoie le logarithme d’un nombre dans la base spécifiée. -LOG10 = LOG10 ## Calcule le logarithme en base 10 d’un nombre. -MDETERM = DETERMAT ## Renvoie le déterminant d’une matrice. -MINVERSE = INVERSEMAT ## Renvoie la matrice inverse d’une matrice. -MMULT = PRODUITMAT ## Renvoie le produit de deux matrices. -MOD = MOD ## Renvoie le reste d’une division. -MROUND = ARRONDI.AU.MULTIPLE ## Donne l’arrondi d’un nombre au multiple spécifié. -MULTINOMIAL = MULTINOMIALE ## Calcule la multinomiale d’un ensemble de nombres. -ODD = IMPAIR ## Renvoie le nombre, arrondi à la valeur du nombre entier impair le plus proche en s’éloignant de zéro. -PI = PI ## Renvoie la valeur de pi. -POWER = PUISSANCE ## Renvoie la valeur du nombre élevé à une puissance. -PRODUCT = PRODUIT ## Multiplie ses arguments. -QUOTIENT = QUOTIENT ## Renvoie la partie entière du résultat d’une division. -RADIANS = RADIANS ## Convertit des degrés en radians. -RAND = ALEA ## Renvoie un nombre aléatoire compris entre 0 et 1. -RANDBETWEEN = ALEA.ENTRE.BORNES ## Renvoie un nombre aléatoire entre les nombres que vous spécifiez. -ROMAN = ROMAIN ## Convertit des chiffres arabes en chiffres romains, sous forme de texte. -ROUND = ARRONDI ## Arrondit un nombre au nombre de chiffres indiqué. -ROUNDDOWN = ARRONDI.INF ## Arrondit un nombre en tendant vers 0 (zéro). -ROUNDUP = ARRONDI.SUP ## Arrondit un nombre à l’entier supérieur, en s’éloignant de zéro. -SERIESSUM = SOMME.SERIES ## Renvoie la somme d’une série géométrique en s’appuyant sur la formule suivante : -SIGN = SIGNE ## Renvoie le signe d’un nombre. -SIN = SIN ## Renvoie le sinus d’un angle donné. -SINH = SINH ## Renvoie le sinus hyperbolique d’un nombre. -SQRT = RACINE ## Renvoie la racine carrée d’un nombre. -SQRTPI = RACINE.PI ## Renvoie la racine carrée de (nombre * pi). -SUBTOTAL = SOUS.TOTAL ## Renvoie un sous-total dans une liste ou une base de données. -SUM = SOMME ## Calcule la somme de ses arguments. -SUMIF = SOMME.SI ## Additionne les cellules spécifiées si elles répondent à un critère donné. -SUMIFS = SOMME.SI.ENS ## Ajoute les cellules d’une plage qui répondent à plusieurs critères. -SUMPRODUCT = SOMMEPROD ## Multiplie les valeurs correspondantes des matrices spécifiées et calcule la somme de ces produits. -SUMSQ = SOMME.CARRES ## Renvoie la somme des carrés des arguments. -SUMX2MY2 = SOMME.X2MY2 ## Renvoie la somme de la différence des carrés des valeurs correspondantes de deux matrices. -SUMX2PY2 = SOMME.X2PY2 ## Renvoie la somme de la somme des carrés des valeurs correspondantes de deux matrices. -SUMXMY2 = SOMME.XMY2 ## Renvoie la somme des carrés des différences entre les valeurs correspondantes de deux matrices. -TAN = TAN ## Renvoie la tangente d’un nombre. -TANH = TANH ## Renvoie la tangente hyperbolique d’un nombre. -TRUNC = TRONQUE ## Renvoie la partie entière d’un nombre. - - -## -## Statistical functions Fonctions statistiques -## -AVEDEV = ECART.MOYEN ## Renvoie la moyenne des écarts absolus observés dans la moyenne des points de données. -AVERAGE = MOYENNE ## Renvoie la moyenne de ses arguments. -AVERAGEA = AVERAGEA ## Renvoie la moyenne de ses arguments, nombres, texte et valeurs logiques inclus. -AVERAGEIF = MOYENNE.SI ## Renvoie la moyenne (arithmétique) de toutes les cellules d’une plage qui répondent à des critères donnés. -AVERAGEIFS = MOYENNE.SI.ENS ## Renvoie la moyenne (arithmétique) de toutes les cellules qui répondent à plusieurs critères. -BETADIST = LOI.BETA ## Renvoie la fonction de distribution cumulée. -BETAINV = BETA.INVERSE ## Renvoie l’inverse de la fonction de distribution cumulée pour une distribution bêta spécifiée. -BINOMDIST = LOI.BINOMIALE ## Renvoie la probabilité d’une variable aléatoire discrète suivant la loi binomiale. -CHIDIST = LOI.KHIDEUX ## Renvoie la probabilité unilatérale de la distribution khi-deux. -CHIINV = KHIDEUX.INVERSE ## Renvoie l’inverse de la probabilité unilatérale de la distribution khi-deux. -CHITEST = TEST.KHIDEUX ## Renvoie le test d’indépendance. -CONFIDENCE = INTERVALLE.CONFIANCE ## Renvoie l’intervalle de confiance pour une moyenne de population. -CORREL = COEFFICIENT.CORRELATION ## Renvoie le coefficient de corrélation entre deux séries de données. -COUNT = NB ## Détermine les nombres compris dans la liste des arguments. -COUNTA = NBVAL ## Détermine le nombre de valeurs comprises dans la liste des arguments. -COUNTBLANK = NB.VIDE ## Compte le nombre de cellules vides dans une plage. -COUNTIF = NB.SI ## Compte le nombre de cellules qui répondent à un critère donné dans une plage. -COUNTIFS = NB.SI.ENS ## Compte le nombre de cellules à l’intérieur d’une plage qui répondent à plusieurs critères. -COVAR = COVARIANCE ## Renvoie la covariance, moyenne des produits des écarts pour chaque série d’observations. -CRITBINOM = CRITERE.LOI.BINOMIALE ## Renvoie la plus petite valeur pour laquelle la distribution binomiale cumulée est inférieure ou égale à une valeur de critère. -DEVSQ = SOMME.CARRES.ECARTS ## Renvoie la somme des carrés des écarts. -EXPONDIST = LOI.EXPONENTIELLE ## Renvoie la distribution exponentielle. -FDIST = LOI.F ## Renvoie la distribution de probabilité F. -FINV = INVERSE.LOI.F ## Renvoie l’inverse de la distribution de probabilité F. -FISHER = FISHER ## Renvoie la transformation de Fisher. -FISHERINV = FISHER.INVERSE ## Renvoie l’inverse de la transformation de Fisher. -FORECAST = PREVISION ## Calcule une valeur par rapport à une tendance linéaire. -FREQUENCY = FREQUENCE ## Calcule la fréquence d’apparition des valeurs dans une plage de valeurs, puis renvoie des nombres sous forme de matrice verticale. -FTEST = TEST.F ## Renvoie le résultat d’un test F. -GAMMADIST = LOI.GAMMA ## Renvoie la probabilité d’une variable aléatoire suivant une loi Gamma. -GAMMAINV = LOI.GAMMA.INVERSE ## Renvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi Gamma. -GAMMALN = LNGAMMA ## Renvoie le logarithme népérien de la fonction Gamma, G(x) -GEOMEAN = MOYENNE.GEOMETRIQUE ## Renvoie la moyenne géométrique. -GROWTH = CROISSANCE ## Calcule des valeurs par rapport à une tendance exponentielle. -HARMEAN = MOYENNE.HARMONIQUE ## Renvoie la moyenne harmonique. -HYPGEOMDIST = LOI.HYPERGEOMETRIQUE ## Renvoie la probabilité d’une variable aléatoire discrète suivant une loi hypergéométrique. -INTERCEPT = ORDONNEE.ORIGINE ## Renvoie l’ordonnée à l’origine d’une droite de régression linéaire. -KURT = KURTOSIS ## Renvoie le kurtosis d’une série de données. -LARGE = GRANDE.VALEUR ## Renvoie la k-ième plus grande valeur d’une série de données. -LINEST = DROITEREG ## Renvoie les paramètres d’une tendance linéaire. -LOGEST = LOGREG ## Renvoie les paramètres d’une tendance exponentielle. -LOGINV = LOI.LOGNORMALE.INVERSE ## Renvoie l’inverse de la probabilité pour une variable aléatoire suivant la loi lognormale. -LOGNORMDIST = LOI.LOGNORMALE ## Renvoie la probabilité d’une variable aléatoire continue suivant une loi lognormale. -MAX = MAX ## Renvoie la valeur maximale contenue dans une liste d’arguments. -MAXA = MAXA ## Renvoie la valeur maximale d’une liste d’arguments, nombres, texte et valeurs logiques inclus. -MEDIAN = MEDIANE ## Renvoie la valeur médiane des nombres donnés. -MIN = MIN ## Renvoie la valeur minimale contenue dans une liste d’arguments. -MINA = MINA ## Renvoie la plus petite valeur d’une liste d’arguments, nombres, texte et valeurs logiques inclus. -MODE = MODE ## Renvoie la valeur la plus courante d’une série de données. -NEGBINOMDIST = LOI.BINOMIALE.NEG ## Renvoie la probabilité d’une variable aléatoire discrète suivant une loi binomiale négative. -NORMDIST = LOI.NORMALE ## Renvoie la probabilité d’une variable aléatoire continue suivant une loi normale. -NORMINV = LOI.NORMALE.INVERSE ## Renvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi normale standard. -NORMSDIST = LOI.NORMALE.STANDARD ## Renvoie la probabilité d’une variable aléatoire continue suivant une loi normale standard. -NORMSINV = LOI.NORMALE.STANDARD.INVERSE ## Renvoie l’inverse de la distribution cumulée normale standard. -PEARSON = PEARSON ## Renvoie le coefficient de corrélation d’échantillonnage de Pearson. -PERCENTILE = CENTILE ## Renvoie le k-ième centile des valeurs d’une plage. -PERCENTRANK = RANG.POURCENTAGE ## Renvoie le rang en pourcentage d’une valeur d’une série de données. -PERMUT = PERMUTATION ## Renvoie le nombre de permutations pour un nombre donné d’objets. -POISSON = LOI.POISSON ## Renvoie la probabilité d’une variable aléatoire suivant une loi de Poisson. -PROB = PROBABILITE ## Renvoie la probabilité que des valeurs d’une plage soient comprises entre deux limites. -QUARTILE = QUARTILE ## Renvoie le quartile d’une série de données. -RANK = RANG ## Renvoie le rang d’un nombre contenu dans une liste. -RSQ = COEFFICIENT.DETERMINATION ## Renvoie la valeur du coefficient de détermination R^2 d’une régression linéaire. -SKEW = COEFFICIENT.ASYMETRIE ## Renvoie l’asymétrie d’une distribution. -SLOPE = PENTE ## Renvoie la pente d’une droite de régression linéaire. -SMALL = PETITE.VALEUR ## Renvoie la k-ième plus petite valeur d’une série de données. -STANDARDIZE = CENTREE.REDUITE ## Renvoie une valeur centrée réduite. -STDEV = ECARTYPE ## Évalue l’écart type d’une population en se basant sur un échantillon de cette population. -STDEVA = STDEVA ## Évalue l’écart type d’une population en se basant sur un échantillon de cette population, nombres, texte et valeurs logiques inclus. -STDEVP = ECARTYPEP ## Calcule l’écart type d’une population à partir de la population entière. -STDEVPA = STDEVPA ## Calcule l’écart type d’une population à partir de l’ensemble de la population, nombres, texte et valeurs logiques inclus. -STEYX = ERREUR.TYPE.XY ## Renvoie l’erreur type de la valeur y prévue pour chaque x de la régression. -TDIST = LOI.STUDENT ## Renvoie la probabilité d’une variable aléatoire suivant une loi T de Student. -TINV = LOI.STUDENT.INVERSE ## Renvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi T de Student. -TREND = TENDANCE ## Renvoie des valeurs par rapport à une tendance linéaire. -TRIMMEAN = MOYENNE.REDUITE ## Renvoie la moyenne de l’intérieur d’une série de données. -TTEST = TEST.STUDENT ## Renvoie la probabilité associée à un test T de Student. -VAR = VAR ## Calcule la variance sur la base d’un échantillon. -VARA = VARA ## Estime la variance d’une population en se basant sur un échantillon de cette population, nombres, texte et valeurs logiques incluses. -VARP = VAR.P ## Calcule la variance sur la base de l’ensemble de la population. -VARPA = VARPA ## Calcule la variance d’une population en se basant sur la population entière, nombres, texte et valeurs logiques inclus. -WEIBULL = LOI.WEIBULL ## Renvoie la probabilité d’une variable aléatoire suivant une loi de Weibull. -ZTEST = TEST.Z ## Renvoie la valeur de probabilité unilatérale d’un test z. - - -## -## Text functions Fonctions de texte -## -ASC = ASC ## Change les caractères anglais ou katakana à pleine chasse (codés sur deux octets) à l’intérieur d’une chaîne de caractères en caractères à demi-chasse (codés sur un octet). -BAHTTEXT = BAHTTEXT ## Convertit un nombre en texte en utilisant le format monétaire ß (baht). -CHAR = CAR ## Renvoie le caractère spécifié par le code numérique. -CLEAN = EPURAGE ## Supprime tous les caractères de contrôle du texte. -CODE = CODE ## Renvoie le numéro de code du premier caractère du texte. -CONCATENATE = CONCATENER ## Assemble plusieurs éléments textuels de façon à n’en former qu’un seul. -DOLLAR = EURO ## Convertit un nombre en texte en utilisant le format monétaire € (euro). -EXACT = EXACT ## Vérifie si deux valeurs de texte sont identiques. -FIND = TROUVE ## Trouve un valeur textuelle dans une autre, en respectant la casse. -FINDB = TROUVERB ## Trouve un valeur textuelle dans une autre, en respectant la casse. -FIXED = CTXT ## Convertit un nombre au format texte avec un nombre de décimales spécifié. -JIS = JIS ## Change les caractères anglais ou katakana à demi-chasse (codés sur un octet) à l’intérieur d’une chaîne de caractères en caractères à à pleine chasse (codés sur deux octets). -LEFT = GAUCHE ## Renvoie des caractères situés à l’extrême gauche d’une chaîne de caractères. -LEFTB = GAUCHEB ## Renvoie des caractères situés à l’extrême gauche d’une chaîne de caractères. -LEN = NBCAR ## Renvoie le nombre de caractères contenus dans une chaîne de texte. -LENB = LENB ## Renvoie le nombre de caractères contenus dans une chaîne de texte. -LOWER = MINUSCULE ## Convertit le texte en minuscules. -MID = STXT ## Renvoie un nombre déterminé de caractères d’une chaîne de texte à partir de la position que vous indiquez. -MIDB = STXTB ## Renvoie un nombre déterminé de caractères d’une chaîne de texte à partir de la position que vous indiquez. -PHONETIC = PHONETIQUE ## Extrait les caractères phonétiques (furigana) d’une chaîne de texte. -PROPER = NOMPROPRE ## Met en majuscules la première lettre de chaque mot dans une chaîne textuelle. -REPLACE = REMPLACER ## Remplace des caractères dans un texte. -REPLACEB = REMPLACERB ## Remplace des caractères dans un texte. -REPT = REPT ## Répète un texte un certain nombre de fois. -RIGHT = DROITE ## Renvoie des caractères situés à l’extrême droite d’une chaîne de caractères. -RIGHTB = DROITEB ## Renvoie des caractères situés à l’extrême droite d’une chaîne de caractères. -SEARCH = CHERCHE ## Trouve un texte dans un autre texte (sans respecter la casse). -SEARCHB = CHERCHERB ## Trouve un texte dans un autre texte (sans respecter la casse). -SUBSTITUTE = SUBSTITUE ## Remplace l’ancien texte d’une chaîne de caractères par un nouveau. -T = T ## Convertit ses arguments en texte. -TEXT = TEXTE ## Convertit un nombre au format texte. -TRIM = SUPPRESPACE ## Supprime les espaces du texte. -UPPER = MAJUSCULE ## Convertit le texte en majuscules. -VALUE = CNUM ## Convertit un argument textuel en nombre diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/fr/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/config deleted file mode 100644 index 080b2018f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = Ft - - -## -## Excel Error Codes (For future use) -## -NULL = #NULLA! -DIV0 = #ZÉRÓOSZTÓ! -VALUE = #ÉRTÉK! -REF = #HIV! -NAME = #NÉV? -NUM = #SZÁM! -NA = #HIÁNYZIK diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/functions deleted file mode 100644 index 200d3f71f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Bővítmények és automatizálási függvények -## -GETPIVOTDATA = KIMUTATÁSADATOT.VESZ ## A kimutatásokban tárolt adatok visszaadására használható. - - -## -## Cube functions Kockafüggvények -## -CUBEKPIMEMBER = KOCKA.FŐTELJMUT ## Egy fő teljesítménymutató (KPI) nevét, tulajdonságát és mértékegységét adja eredményül, a nevet és a tulajdonságot megjeleníti a cellában. A KPI-k számszerűsíthető mérési lehetőséget jelentenek – ilyen mutató például a havi bruttó nyereség vagy az egy alkalmazottra jutó negyedéves forgalom –, egy szervezet teljesítményének nyomonkövetésére használhatók. -CUBEMEMBER = KOCKA.TAG ## Kockahierachia tagját vagy rekordját adja eredményül. Ellenőrizhető vele, hogy szerepel-e a kockában az adott tag vagy rekord. -CUBEMEMBERPROPERTY = KOCKA.TAG.TUL ## A kocka egyik tagtulajdonságának értékét adja eredményül. Használatával ellenőrizhető, hogy szerepel-e egy tagnév a kockában, eredménye pedig az erre a tagra vonatkozó, megadott tulajdonság. -CUBERANKEDMEMBER = KOCKA.HALM.ELEM ## Egy halmaz rangsor szerinti n-edik tagját adja eredményül. Használatával egy halmaz egy vagy több elemét kaphatja meg, például a legnagyobb teljesítményű üzletkötőt vagy a 10 legjobb tanulót. -CUBESET = KOCKA.HALM ## Számított tagok vagy rekordok halmazát adja eredményül, ehhez egy beállított kifejezést elküld a kiszolgálón található kockának, majd ezt a halmazt adja vissza a Microsoft Office Excel alkalmazásnak. -CUBESETCOUNT = KOCKA.HALM.DB ## Egy halmaz elemszámát adja eredményül. -CUBEVALUE = KOCKA.ÉRTÉK ## Kockából összesített értéket ad eredményül. - - -## -## Database functions Adatbázis-kezelő függvények -## -DAVERAGE = AB.ÁTLAG ## A kijelölt adatbáziselemek átlagát számítja ki. -DCOUNT = AB.DARAB ## Megszámolja, hogy az adatbázisban hány cella tartalmaz számokat. -DCOUNTA = AB.DARAB2 ## Megszámolja az adatbázisban lévő nem üres cellákat. -DGET = AB.MEZŐ ## Egy adatbázisból egyetlen olyan rekordot ad vissza, amely megfelel a megadott feltételeknek. -DMAX = AB.MAX ## A kiválasztott adatbáziselemek közül a legnagyobb értéket adja eredményül. -DMIN = AB.MIN ## A kijelölt adatbáziselemek közül a legkisebb értéket adja eredményül. -DPRODUCT = AB.SZORZAT ## Az adatbázis megadott feltételeknek eleget tevő rekordjaira összeszorozza a megadott mezőben található számértékeket, és eredményül ezt a szorzatot adja. -DSTDEV = AB.SZÓRÁS ## A kijelölt adatbáziselemek egy mintája alapján megbecsüli a szórást. -DSTDEVP = AB.SZÓRÁS2 ## A kijelölt adatbáziselemek teljes sokasága alapján kiszámítja a szórást. -DSUM = AB.SZUM ## Összeadja a feltételnek megfelelő adatbázisrekordok mezőoszlopában a számokat. -DVAR = AB.VAR ## A kijelölt adatbáziselemek mintája alapján becslést ad a szórásnégyzetre. -DVARP = AB.VAR2 ## A kijelölt adatbáziselemek teljes sokasága alapján kiszámítja a szórásnégyzetet. - - -## -## Date and time functions Dátumfüggvények -## -DATE = DÁTUM ## Adott dátum dátumértékét adja eredményül. -DATEVALUE = DÁTUMÉRTÉK ## Szövegként megadott dátumot dátumértékké alakít át. -DAY = NAP ## Dátumértéket a hónap egy napjává (0-31) alakít. -DAYS360 = NAP360 ## Két dátum közé eső napok számát számítja ki a 360 napos év alapján. -EDATE = EDATE ## Adott dátumnál adott számú hónappal korábbi vagy későbbi dátum dátumértékét adja eredményül. -EOMONTH = EOMONTH ## Adott dátumnál adott számú hónappal korábbi vagy későbbi hónap utolsó napjának dátumértékét adja eredményül. -HOUR = ÓRA ## Időértéket órákká alakít. -MINUTE = PERC ## Időértéket percekké alakít. -MONTH = HÓNAP ## Időértéket hónapokká alakít. -NETWORKDAYS = NETWORKDAYS ## Két dátum között a teljes munkanapok számát adja meg. -NOW = MOST ## A napi dátum dátumértékét és a pontos idő időértékét adja eredményül. -SECOND = MPERC ## Időértéket másodpercekké alakít át. -TIME = IDŐ ## Adott időpont időértékét adja meg. -TIMEVALUE = IDŐÉRTÉK ## Szövegként megadott időpontot időértékké alakít át. -TODAY = MA ## A napi dátum dátumértékét adja eredményül. -WEEKDAY = HÉT.NAPJA ## Dátumértéket a hét napjává alakítja át. -WEEKNUM = WEEKNUM ## Visszatérési értéke egy szám, amely azt mutatja meg, hogy a megadott dátum az év hányadik hetére esik. -WORKDAY = WORKDAY ## Adott dátumnál adott munkanappal korábbi vagy későbbi dátum dátumértékét adja eredményül. -YEAR = ÉV ## Sorszámot évvé alakít át. -YEARFRAC = YEARFRAC ## Az adott dátumok közötti teljes napok számát törtévként adja meg. - - -## -## Engineering functions Mérnöki függvények -## -BESSELI = BESSELI ## Az In(x) módosított Bessel-függvény értékét adja eredményül. -BESSELJ = BESSELJ ## A Jn(x) Bessel-függvény értékét adja eredményül. -BESSELK = BESSELK ## A Kn(x) módosított Bessel-függvény értékét adja eredményül. -BESSELY = BESSELY ## Az Yn(x) módosított Bessel-függvény értékét adja eredményül. -BIN2DEC = BIN2DEC ## Bináris számot decimálissá alakít át. -BIN2HEX = BIN2HEX ## Bináris számot hexadecimálissá alakít át. -BIN2OCT = BIN2OCT ## Bináris számot oktálissá alakít át. -COMPLEX = COMPLEX ## Valós és képzetes részből komplex számot képez. -CONVERT = CONVERT ## Mértékegységeket vált át. -DEC2BIN = DEC2BIN ## Decimális számot binárissá alakít át. -DEC2HEX = DEC2HEX ## Decimális számot hexadecimálissá alakít át. -DEC2OCT = DEC2OCT ## Decimális számot oktálissá alakít át. -DELTA = DELTA ## Azt vizsgálja, hogy két érték egyenlő-e. -ERF = ERF ## A hibafüggvény értékét adja eredményül. -ERFC = ERFC ## A kiegészített hibafüggvény értékét adja eredményül. -GESTEP = GESTEP ## Azt vizsgálja, hogy egy szám nagyobb-e adott küszöbértéknél. -HEX2BIN = HEX2BIN ## Hexadecimális számot binárissá alakít át. -HEX2DEC = HEX2DEC ## Hexadecimális számot decimálissá alakít át. -HEX2OCT = HEX2OCT ## Hexadecimális számot oktálissá alakít át. -IMABS = IMABS ## Komplex szám abszolút értékét (modulusát) adja eredményül. -IMAGINARY = IMAGINARY ## Komplex szám képzetes részét adja eredményül. -IMARGUMENT = IMARGUMENT ## A komplex szám radiánban kifejezett théta argumentumát adja eredményül. -IMCONJUGATE = IMCONJUGATE ## Komplex szám komplex konjugáltját adja eredményül. -IMCOS = IMCOS ## Komplex szám koszinuszát adja eredményül. -IMDIV = IMDIV ## Két komplex szám hányadosát adja eredményül. -IMEXP = IMEXP ## Az e szám komplex kitevőjű hatványát adja eredményül. -IMLN = IMLN ## Komplex szám természetes logaritmusát adja eredményül. -IMLOG10 = IMLOG10 ## Komplex szám tízes alapú logaritmusát adja eredményül. -IMLOG2 = IMLOG2 ## Komplex szám kettes alapú logaritmusát adja eredményül. -IMPOWER = IMPOWER ## Komplex szám hatványát adja eredményül. -IMPRODUCT = IMPRODUCT ## Komplex számok szorzatát adja eredményül. -IMREAL = IMREAL ## Komplex szám valós részét adja eredményül. -IMSIN = IMSIN ## Komplex szám szinuszát adja eredményül. -IMSQRT = IMSQRT ## Komplex szám négyzetgyökét adja eredményül. -IMSUB = IMSUB ## Két komplex szám különbségét adja eredményül. -IMSUM = IMSUM ## Komplex számok összegét adja eredményül. -OCT2BIN = OCT2BIN ## Oktális számot binárissá alakít át. -OCT2DEC = OCT2DEC ## Oktális számot decimálissá alakít át. -OCT2HEX = OCT2HEX ## Oktális számot hexadecimálissá alakít át. - - -## -## Financial functions Pénzügyi függvények -## -ACCRINT = ACCRINT ## Periodikusan kamatozó értékpapír felszaporodott kamatát adja eredményül. -ACCRINTM = ACCRINTM ## Lejáratkor kamatozó értékpapír felszaporodott kamatát adja eredményül. -AMORDEGRC = AMORDEGRC ## Állóeszköz lineáris értékcsökkenését adja meg az egyes könyvelési időszakokra vonatkozóan. -AMORLINC = AMORLINC ## Az egyes könyvelési időszakokban az értékcsökkenést adja meg. -COUPDAYBS = COUPDAYBS ## A szelvényidőszak kezdetétől a kifizetés időpontjáig eltelt napokat adja vissza. -COUPDAYS = COUPDAYS ## A kifizetés időpontját magában foglaló szelvényperiódus hosszát adja meg napokban. -COUPDAYSNC = COUPDAYSNC ## A kifizetés időpontja és a legközelebbi szelvénydátum közötti napok számát adja meg. -COUPNCD = COUPNCD ## A kifizetést követő legelső szelvénydátumot adja eredményül. -COUPNUM = COUPNUM ## A kifizetés és a lejárat időpontja között kifizetendő szelvények számát adja eredményül. -COUPPCD = COUPPCD ## A kifizetés előtti utolsó szelvénydátumot adja eredményül. -CUMIPMT = CUMIPMT ## Két fizetési időszak között kifizetett kamat halmozott értékét adja eredményül. -CUMPRINC = CUMPRINC ## Két fizetési időszak között kifizetett részletek halmozott (kamatot nem tartalmazó) értékét adja eredményül. -DB = KCS2 ## Eszköz adott időszak alatti értékcsökkenését számítja ki a lineáris leírási modell alkalmazásával. -DDB = KCSA ## Eszköz értékcsökkenését számítja ki adott időszakra vonatkozóan a progresszív vagy egyéb megadott leírási modell alkalmazásával. -DISC = DISC ## Értékpapír leszámítolási kamatlábát adja eredményül. -DOLLARDE = DOLLARDE ## Egy közönséges törtként megadott számot tizedes törtté alakít át. -DOLLARFR = DOLLARFR ## Tizedes törtként megadott számot közönséges törtté alakít át. -DURATION = DURATION ## Periodikus kamatfizetésű értékpapír éves kamatérzékenységét adja eredményül. -EFFECT = EFFECT ## Az éves tényleges kamatláb értékét adja eredményül. -FV = JBÉ ## Befektetés jövőbeli értékét számítja ki. -FVSCHEDULE = FVSCHEDULE ## A kezdőtőke adott kamatlábak szerint megnövelt jövőbeli értékét adja eredményül. -INTRATE = INTRATE ## A lejáratig teljesen lekötött értékpapír kamatrátáját adja eredményül. -IPMT = RRÉSZLET ## Hiteltörlesztésen belül a tőketörlesztés nagyságát számítja ki adott időszakra. -IRR = BMR ## A befektetés belső megtérülési rátáját számítja ki pénzáramláshoz. -ISPMT = LRÉSZLETKAMAT ## A befektetés adott időszakára fizetett kamatot számítja ki. -MDURATION = MDURATION ## Egy 100 Ft névértékű értékpapír Macauley-féle módosított kamatérzékenységét adja eredményül. -MIRR = MEGTÉRÜLÉS ## A befektetés belső megtérülési rátáját számítja ki a költségek és a bevételek különböző kamatlába mellett. -NOMINAL = NOMINAL ## Az éves névleges kamatláb értékét adja eredményül. -NPER = PER.SZÁM ## A törlesztési időszakok számát adja meg. -NPV = NMÉ ## Befektetéshez kapcsolódó pénzáramlás nettó jelenértékét számítja ki ismert pénzáramlás és kamatláb mellett. -ODDFPRICE = ODDFPRICE ## Egy 100 Ft névértékű, a futamidő elején töredék-időszakos értékpapír árát adja eredményül. -ODDFYIELD = ODDFYIELD ## A futamidő elején töredék-időszakos értékpapír hozamát adja eredményül. -ODDLPRICE = ODDLPRICE ## Egy 100 Ft névértékű, a futamidő végén töredék-időszakos értékpapír árát adja eredményül. -ODDLYIELD = ODDLYIELD ## A futamidő végén töredék-időszakos értékpapír hozamát adja eredményül. -PMT = RÉSZLET ## A törlesztési időszakra vonatkozó törlesztési összeget számítja ki. -PPMT = PRÉSZLET ## Hiteltörlesztésen belül a tőketörlesztés nagyságát számítja ki adott időszakra. -PRICE = PRICE ## Egy 100 Ft névértékű, periodikusan kamatozó értékpapír árát adja eredményül. -PRICEDISC = PRICEDISC ## Egy 100 Ft névértékű leszámítolt értékpapír árát adja eredményül. -PRICEMAT = PRICEMAT ## Egy 100 Ft névértékű, a lejáratkor kamatozó értékpapír árát adja eredményül. -PV = MÉ ## Befektetés jelenlegi értékét számítja ki. -RATE = RÁTA ## Egy törlesztési időszakban az egy időszakra eső kamatláb nagyságát számítja ki. -RECEIVED = RECEIVED ## A lejáratig teljesen lekötött értékpapír lejáratakor kapott összegét adja eredményül. -SLN = LCSA ## Tárgyi eszköz egy időszakra eső amortizációját adja meg bruttó érték szerinti lineáris leírási kulcsot alkalmazva. -SYD = SYD ## Tárgyi eszköz értékcsökkenését számítja ki adott időszakra az évek számjegyösszegével dolgozó módszer alapján. -TBILLEQ = TBILLEQ ## Kincstárjegy kötvény-egyenértékű hozamát adja eredményül. -TBILLPRICE = TBILLPRICE ## Egy 100 Ft névértékű kincstárjegy árát adja eredményül. -TBILLYIELD = TBILLYIELD ## Kincstárjegy hozamát adja eredményül. -VDB = ÉCSRI ## Tárgyi eszköz amortizációját számítja ki megadott vagy részidőszakra a csökkenő egyenleg módszerének alkalmazásával. -XIRR = XIRR ## Ütemezett készpénzforgalom (cash flow) belső megtérülési kamatrátáját adja eredményül. -XNPV = XNPV ## Ütemezett készpénzforgalom (cash flow) nettó jelenlegi értékét adja eredményül. -YIELD = YIELD ## Periodikusan kamatozó értékpapír hozamát adja eredményül. -YIELDDISC = YIELDDISC ## Leszámítolt értékpapír (például kincstárjegy) éves hozamát adja eredményül. -YIELDMAT = YIELDMAT ## Lejáratkor kamatozó értékpapír éves hozamát adja eredményül. - - -## -## Information functions Információs függvények -## -CELL = CELLA ## Egy cella formátumára, elhelyezkedésére vagy tartalmára vonatkozó adatokat ad eredményül. -ERROR.TYPE = HIBA.TÍPUS ## Egy hibatípushoz tartozó számot ad eredményül. -INFO = INFÓ ## A rendszer- és munkakörnyezet pillanatnyi állapotáról ad felvilágosítást. -ISBLANK = ÜRES ## Eredménye IGAZ, ha az érték üres. -ISERR = HIBA ## Eredménye IGAZ, ha az érték valamelyik hibaérték a #HIÁNYZIK kivételével. -ISERROR = HIBÁS ## Eredménye IGAZ, ha az érték valamelyik hibaérték. -ISEVEN = ISEVEN ## Eredménye IGAZ, ha argumentuma páros szám. -ISLOGICAL = LOGIKAI ## Eredménye IGAZ, ha az érték logikai érték. -ISNA = NINCS ## Eredménye IGAZ, ha az érték a #HIÁNYZIK hibaérték. -ISNONTEXT = NEM.SZÖVEG ## Eredménye IGAZ, ha az érték nem szöveg. -ISNUMBER = SZÁM ## Eredménye IGAZ, ha az érték szám. -ISODD = ISODD ## Eredménye IGAZ, ha argumentuma páratlan szám. -ISREF = HIVATKOZÁS ## Eredménye IGAZ, ha az érték hivatkozás. -ISTEXT = SZÖVEG.E ## Eredménye IGAZ, ha az érték szöveg. -N = N ## Argumentumának értékét számmá alakítja. -NA = HIÁNYZIK ## Eredménye a #HIÁNYZIK hibaérték. -TYPE = TÍPUS ## Érték adattípusának azonosítószámát adja eredményül. - - -## -## Logical functions Logikai függvények -## -AND = ÉS ## Eredménye IGAZ, ha minden argumentuma IGAZ. -FALSE = HAMIS ## A HAMIS logikai értéket adja eredményül. -IF = HA ## Logikai vizsgálatot hajt végre. -IFERROR = HAHIBA ## A megadott értéket adja vissza, ha egy képlet hibához vezet; más esetben a képlet értékét adja eredményül. -NOT = NEM ## Argumentuma értékének ellentettjét adja eredményül. -OR = VAGY ## Eredménye IGAZ, ha bármely argumentuma IGAZ. -TRUE = IGAZ ## Az IGAZ logikai értéket adja eredményül. - - -## -## Lookup and reference functions Keresési és hivatkozási függvények -## -ADDRESS = CÍM ## A munkalap egy cellájára való hivatkozást adja szövegként eredményül. -AREAS = TERÜLET ## Hivatkozásban a területek számát adja eredményül. -CHOOSE = VÁLASZT ## Értékek listájából választ ki egy elemet. -COLUMN = OSZLOP ## Egy hivatkozás oszlopszámát adja eredményül. -COLUMNS = OSZLOPOK ## A hivatkozásban található oszlopok számát adja eredményül. -HLOOKUP = VKERES ## A megadott tömb felső sorában adott értékű elemet keres, és a megtalált elem oszlopából adott sorban elhelyezkedő értékkel tér vissza. -HYPERLINK = HIPERHIVATKOZÁS ## Hálózati kiszolgálón, intraneten vagy az interneten tárolt dokumentumot megnyitó parancsikont vagy hivatkozást hoz létre. -INDEX = INDEX ## Tömb- vagy hivatkozás indexszel megadott értékét adja vissza. -INDIRECT = INDIREKT ## Szöveg megadott hivatkozást ad eredményül. -LOOKUP = KERES ## Vektorban vagy tömbben keres meg értékeket. -MATCH = HOL.VAN ## Hivatkozásban vagy tömbben értékeket keres. -OFFSET = OFSZET ## Hivatkozás egy másik hivatkozástól számított távolságát adja meg. -ROW = SOR ## Egy hivatkozás sorának számát adja meg. -ROWS = SOROK ## Egy hivatkozás sorainak számát adja meg. -RTD = RTD ## Valós idejű adatokat keres vissza a COM automatizmust (automatizálás: Egy alkalmazás objektumaival való munka másik alkalmazásból vagy fejlesztőeszközből. A korábban OLE automatizmusnak nevezett automatizálás iparági szabvány, a Component Object Model (COM) szolgáltatása.) támogató programból. -TRANSPOSE = TRANSZPONÁLÁS ## Egy tömb transzponáltját adja eredményül. -VLOOKUP = FKERES ## A megadott tömb bal szélső oszlopában megkeres egy értéket, majd annak sora és a megadott oszlop metszéspontjában levő értéked adja eredményül. - - -## -## Math and trigonometry functions Matematikai és trigonometrikus függvények -## -ABS = ABS ## Egy szám abszolút értékét adja eredményül. -ACOS = ARCCOS ## Egy szám arkusz koszinuszát számítja ki. -ACOSH = ACOSH ## Egy szám inverz koszinusz hiperbolikuszát számítja ki. -ASIN = ARCSIN ## Egy szám arkusz szinuszát számítja ki. -ASINH = ASINH ## Egy szám inverz szinusz hiperbolikuszát számítja ki. -ATAN = ARCTAN ## Egy szám arkusz tangensét számítja ki. -ATAN2 = ARCTAN2 ## X és y koordináták alapján számítja ki az arkusz tangens értéket. -ATANH = ATANH ## A szám inverz tangens hiperbolikuszát számítja ki. -CEILING = PLAFON ## Egy számot a legközelebbi egészre vagy a pontosságként megadott érték legközelebb eső többszörösére kerekít. -COMBIN = KOMBINÁCIÓK ## Adott számú objektum összes lehetséges kombinációinak számát számítja ki. -COS = COS ## Egy szám koszinuszát számítja ki. -COSH = COSH ## Egy szám koszinusz hiperbolikuszát számítja ki. -DEGREES = FOK ## Radiánt fokká alakít át. -EVEN = PÁROS ## Egy számot a legközelebbi páros egész számra kerekít. -EXP = KITEVŐ ## Az e adott kitevőjű hatványát adja eredményül. -FACT = FAKT ## Egy szám faktoriálisát számítja ki. -FACTDOUBLE = FACTDOUBLE ## Egy szám dupla faktoriálisát adja eredményül. -FLOOR = PADLÓ ## Egy számot lefelé, a nulla felé kerekít. -GCD = GCD ## A legnagyobb közös osztót adja eredményül. -INT = INT ## Egy számot lefelé kerekít a legközelebbi egészre. -LCM = LCM ## A legkisebb közös többszöröst adja eredményül. -LN = LN ## Egy szám természetes logaritmusát számítja ki. -LOG = LOG ## Egy szám adott alapú logaritmusát számítja ki. -LOG10 = LOG10 ## Egy szám 10-es alapú logaritmusát számítja ki. -MDETERM = MDETERM ## Egy tömb mátrix-determinánsát számítja ki. -MINVERSE = INVERZ.MÁTRIX ## Egy tömb mátrix inverzét adja eredményül. -MMULT = MSZORZAT ## Két tömb mátrix-szorzatát adja meg. -MOD = MARADÉK ## Egy szám osztási maradékát adja eredményül. -MROUND = MROUND ## A kívánt többszörösére kerekített értéket ad eredményül. -MULTINOMIAL = MULTINOMIAL ## Számhalmaz multinomiálisát adja eredményül. -ODD = PÁRATLAN ## Egy számot a legközelebbi páratlan számra kerekít. -PI = PI ## A pi matematikai állandót adja vissza. -POWER = HATVÁNY ## Egy szám adott kitevőjű hatványát számítja ki. -PRODUCT = SZORZAT ## Argumentumai szorzatát számítja ki. -QUOTIENT = QUOTIENT ## Egy hányados egész részét adja eredményül. -RADIANS = RADIÁN ## Fokot radiánná alakít át. -RAND = VÉL ## Egy 0 és 1 közötti véletlen számot ad eredményül. -RANDBETWEEN = RANDBETWEEN ## Megadott számok közé eső véletlen számot állít elő. -ROMAN = RÓMAI ## Egy számot római számokkal kifejezve szövegként ad eredményül. -ROUND = KEREKÍTÉS ## Egy számot adott számú számjegyre kerekít. -ROUNDDOWN = KEREKÍTÉS.LE ## Egy számot lefelé, a nulla felé kerekít. -ROUNDUP = KEREKÍTÉS.FEL ## Egy számot felfelé, a nullától távolabbra kerekít. -SERIESSUM = SERIESSUM ## Hatványsor összegét adja eredményül. -SIGN = ELŐJEL ## Egy szám előjelét adja meg. -SIN = SIN ## Egy szög szinuszát számítja ki. -SINH = SINH ## Egy szám szinusz hiperbolikuszát számítja ki. -SQRT = GYÖK ## Egy szám pozitív négyzetgyökét számítja ki. -SQRTPI = SQRTPI ## A (szám*pi) négyzetgyökét adja eredményül. -SUBTOTAL = RÉSZÖSSZEG ## Lista vagy adatbázis részösszegét adja eredményül. -SUM = SZUM ## Összeadja az argumentumlistájában lévő számokat. -SUMIF = SZUMHA ## A megadott feltételeknek eleget tevő cellákban található értékeket adja össze. -SUMIFS = SZUMHATÖBB ## Több megadott feltételnek eleget tévő tartománycellák összegét adja eredményül. -SUMPRODUCT = SZORZATÖSSZEG ## A megfelelő tömbelemek szorzatának összegét számítja ki. -SUMSQ = NÉGYZETÖSSZEG ## Argumentumai négyzetének összegét számítja ki. -SUMX2MY2 = SZUMX2BŐLY2 ## Két tömb megfelelő elemei négyzetének különbségét összegzi. -SUMX2PY2 = SZUMX2MEGY2 ## Két tömb megfelelő elemei négyzetének összegét összegzi. -SUMXMY2 = SZUMXBŐLY2 ## Két tömb megfelelő elemei különbségének négyzetösszegét számítja ki. -TAN = TAN ## Egy szám tangensét számítja ki. -TANH = TANH ## Egy szám tangens hiperbolikuszát számítja ki. -TRUNC = CSONK ## Egy számot egésszé csonkít. - - -## -## Statistical functions Statisztikai függvények -## -AVEDEV = ÁTL.ELTÉRÉS ## Az adatpontoknak átlaguktól való átlagos abszolút eltérését számítja ki. -AVERAGE = ÁTLAG ## Argumentumai átlagát számítja ki. -AVERAGEA = ÁTLAGA ## Argumentumai átlagát számítja ki (beleértve a számokat, szöveget és logikai értékeket). -AVERAGEIF = ÁTLAGHA ## A megadott feltételnek eleget tévő tartomány celláinak átlagát (számtani közepét) adja eredményül. -AVERAGEIFS = ÁTLAGHATÖBB ## A megadott feltételeknek eleget tévő cellák átlagát (számtani közepét) adja eredményül. -BETADIST = BÉTA.ELOSZLÁS ## A béta-eloszlás függvényt számítja ki. -BETAINV = INVERZ.BÉTA ## Adott béta-eloszláshoz kiszámítja a béta eloszlásfüggvény inverzét. -BINOMDIST = BINOM.ELOSZLÁS ## A diszkrét binomiális eloszlás valószínűségértékét számítja ki. -CHIDIST = KHI.ELOSZLÁS ## A khi-négyzet-eloszlás egyszélű valószínűségértékét számítja ki. -CHIINV = INVERZ.KHI ## A khi-négyzet-eloszlás egyszélű valószínűségértékének inverzét számítja ki. -CHITEST = KHI.PRÓBA ## Függetlenségvizsgálatot hajt végre. -CONFIDENCE = MEGBÍZHATÓSÁG ## Egy statisztikai sokaság várható értékének megbízhatósági intervallumát adja eredményül. -CORREL = KORREL ## Két adathalmaz korrelációs együtthatóját számítja ki. -COUNT = DARAB ## Megszámolja, hogy argumentumlistájában hány szám található. -COUNTA = DARAB2 ## Megszámolja, hogy argumentumlistájában hány érték található. -COUNTBLANK = DARABÜRES ## Egy tartományban összeszámolja az üres cellákat. -COUNTIF = DARABTELI ## Egy tartományban összeszámolja azokat a cellákat, amelyek eleget tesznek a megadott feltételnek. -COUNTIFS = DARABHATÖBB ## Egy tartományban összeszámolja azokat a cellákat, amelyek eleget tesznek több feltételnek. -COVAR = KOVAR ## A kovarianciát, azaz a páronkénti eltérések szorzatának átlagát számítja ki. -CRITBINOM = KRITBINOM ## Azt a legkisebb számot adja eredményül, amelyre a binomiális eloszlásfüggvény értéke nem kisebb egy adott határértéknél. -DEVSQ = SQ ## Az átlagtól való eltérések négyzetének összegét számítja ki. -EXPONDIST = EXP.ELOSZLÁS ## Az exponenciális eloszlás értékét számítja ki. -FDIST = F.ELOSZLÁS ## Az F-eloszlás értékét számítja ki. -FINV = INVERZ.F ## Az F-eloszlás inverzének értékét számítja ki. -FISHER = FISHER ## Fisher-transzformációt hajt végre. -FISHERINV = INVERZ.FISHER ## A Fisher-transzformáció inverzét hajtja végre. -FORECAST = ELŐREJELZÉS ## Az ismert értékek alapján lineáris regresszióval becsült értéket ad eredményül. -FREQUENCY = GYAKORISÁG ## A gyakorisági vagy empirikus eloszlás értékét függőleges tömbként adja eredményül. -FTEST = F.PRÓBA ## Az F-próba értékét adja eredményül. -GAMMADIST = GAMMA.ELOSZLÁS ## A gamma-eloszlás értékét számítja ki. -GAMMAINV = INVERZ.GAMMA ## A gamma-eloszlás eloszlásfüggvénye inverzének értékét számítja ki. -GAMMALN = GAMMALN ## A gamma-függvény természetes logaritmusát számítja ki. -GEOMEAN = MÉRTANI.KÖZÉP ## Argumentumai mértani középértékét számítja ki. -GROWTH = NÖV ## Exponenciális regresszió alapján ad becslést. -HARMEAN = HARM.KÖZÉP ## Argumentumai harmonikus átlagát számítja ki. -HYPGEOMDIST = HIPERGEOM.ELOSZLÁS ## A hipergeometriai eloszlás értékét számítja ki. -INTERCEPT = METSZ ## A regressziós egyenes y tengellyel való metszéspontját határozza meg. -KURT = CSÚCSOSSÁG ## Egy adathalmaz csúcsosságát számítja ki. -LARGE = NAGY ## Egy adathalmaz k-adik legnagyobb elemét adja eredményül. -LINEST = LIN.ILL ## A legkisebb négyzetek módszerével az adatokra illesztett egyenes paramétereit határozza meg. -LOGEST = LOG.ILL ## Az adatokra illesztett exponenciális görbe paramétereit határozza meg. -LOGINV = INVERZ.LOG.ELOSZLÁS ## A lognormális eloszlás inverzét számítja ki. -LOGNORMDIST = LOG.ELOSZLÁS ## A lognormális eloszlásfüggvény értékét számítja ki. -MAX = MAX ## Az argumentumai között szereplő legnagyobb számot adja meg. -MAXA = MAX2 ## Az argumentumai között szereplő legnagyobb számot adja meg (beleértve a számokat, szöveget és logikai értékeket). -MEDIAN = MEDIÁN ## Adott számhalmaz mediánját számítja ki. -MIN = MIN ## Az argumentumai között szereplő legkisebb számot adja meg. -MINA = MIN2 ## Az argumentumai között szereplő legkisebb számot adja meg, beleértve a számokat, szöveget és logikai értékeket. -MODE = MÓDUSZ ## Egy adathalmazból kiválasztja a leggyakrabban előforduló számot. -NEGBINOMDIST = NEGBINOM.ELOSZL ## A negatív binomiális eloszlás értékét számítja ki. -NORMDIST = NORM.ELOSZL ## A normális eloszlás értékét számítja ki. -NORMINV = INVERZ.NORM ## A normális eloszlás eloszlásfüggvénye inverzének értékét számítja ki. -NORMSDIST = STNORMELOSZL ## A standard normális eloszlás eloszlásfüggvényének értékét számítja ki. -NORMSINV = INVERZ.STNORM ## A standard normális eloszlás eloszlásfüggvénye inverzének értékét számítja ki. -PEARSON = PEARSON ## A Pearson-féle korrelációs együtthatót számítja ki. -PERCENTILE = PERCENTILIS ## Egy tartományban található értékek k-adik percentilisét, azaz százalékosztályát adja eredményül. -PERCENTRANK = SZÁZALÉKRANG ## Egy értéknek egy adathalmazon belül vett százalékos rangját (elhelyezkedését) számítja ki. -PERMUT = VARIÁCIÓK ## Adott számú objektum k-ad osztályú ismétlés nélküli variációinak számát számítja ki. -POISSON = POISSON ## A Poisson-eloszlás értékét számítja ki. -PROB = VALÓSZÍNŰSÉG ## Annak valószínűségét számítja ki, hogy adott értékek két határérték közé esnek. -QUARTILE = KVARTILIS ## Egy adathalmaz kvartilisét (negyedszintjét) számítja ki. -RANK = SORSZÁM ## Kiszámítja, hogy egy szám hányadik egy számsorozatban. -RSQ = RNÉGYZET ## Kiszámítja a Pearson-féle szorzatmomentum korrelációs együtthatójának négyzetét. -SKEW = FERDESÉG ## Egy eloszlás ferdeségét határozza meg. -SLOPE = MEREDEKSÉG ## Egy lineáris regressziós egyenes meredekségét számítja ki. -SMALL = KICSI ## Egy adathalmaz k-adik legkisebb elemét adja meg. -STANDARDIZE = NORMALIZÁLÁS ## Normalizált értéket ad eredményül. -STDEV = SZÓRÁS ## Egy statisztikai sokaság mintájából kiszámítja annak szórását. -STDEVA = SZÓRÁSA ## Egy statisztikai sokaság mintájából kiszámítja annak szórását (beleértve a számokat, szöveget és logikai értékeket). -STDEVP = SZÓRÁSP ## Egy statisztikai sokaság egészéből kiszámítja annak szórását. -STDEVPA = SZÓRÁSPA ## Egy statisztikai sokaság egészéből kiszámítja annak szórását (beleértve számokat, szöveget és logikai értékeket). -STEYX = STHIBAYX ## Egy regresszió esetén az egyes x-értékek alapján meghatározott y-értékek standard hibáját számítja ki. -TDIST = T.ELOSZLÁS ## A Student-féle t-eloszlás értékét számítja ki. -TINV = INVERZ.T ## A Student-féle t-eloszlás inverzét számítja ki. -TREND = TREND ## Lineáris trend értékeit számítja ki. -TRIMMEAN = RÉSZÁTLAG ## Egy adathalmaz középső részének átlagát számítja ki. -TTEST = T.PRÓBA ## A Student-féle t-próbához tartozó valószínűséget számítja ki. -VAR = VAR ## Minta alapján becslést ad a varianciára. -VARA = VARA ## Minta alapján becslést ad a varianciára (beleértve számokat, szöveget és logikai értékeket). -VARP = VARP ## Egy statisztikai sokaság varianciáját számítja ki. -VARPA = VARPA ## Egy statisztikai sokaság varianciáját számítja ki (beleértve számokat, szöveget és logikai értékeket). -WEIBULL = WEIBULL ## A Weibull-féle eloszlás értékét számítja ki. -ZTEST = Z.PRÓBA ## Az egyszélű z-próbával kapott valószínűségértéket számítja ki. - - -## -## Text functions Szövegműveletekhez használható függvények -## -ASC = ASC ## Szöveg teljes szélességű (kétbájtos) latin és katakana karaktereit félszélességű (egybájtos) karakterekké alakítja. -BAHTTEXT = BAHTSZÖVEG ## Számot szöveggé alakít a ß (baht) pénznemformátum használatával. -CHAR = KARAKTER ## A kódszámmal meghatározott karaktert adja eredményül. -CLEAN = TISZTÍT ## A szövegből eltávolítja az összes nem nyomtatható karaktert. -CODE = KÓD ## Karaktersorozat első karakterének numerikus kódját adja eredményül. -CONCATENATE = ÖSSZEFŰZ ## Több szövegelemet egyetlen szöveges elemmé fűz össze. -DOLLAR = FORINT ## Számot pénznem formátumú szöveggé alakít át. -EXACT = AZONOS ## Megvizsgálja, hogy két érték azonos-e. -FIND = SZÖVEG.TALÁL ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk megkülönböztetésével). -FINDB = SZÖVEG.TALÁL2 ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk megkülönböztetésével). -FIXED = FIX ## Számot szöveges formátumúra alakít adott számú tizedesjegyre kerekítve. -JIS = JIS ## A félszélességű (egybájtos) latin és a katakana karaktereket teljes szélességű (kétbájtos) karakterekké alakítja. -LEFT = BAL ## Szöveg bal szélső karaktereit adja eredményül. -LEFTB = BAL2 ## Szöveg bal szélső karaktereit adja eredményül. -LEN = HOSSZ ## Szöveg karakterekben mért hosszát adja eredményül. -LENB = HOSSZ2 ## Szöveg karakterekben mért hosszát adja eredményül. -LOWER = KISBETŰ ## Szöveget kisbetűssé alakít át. -MID = KÖZÉP ## A szöveg adott pozíciójától kezdve megadott számú karaktert ad vissza eredményként. -MIDB = KÖZÉP2 ## A szöveg adott pozíciójától kezdve megadott számú karaktert ad vissza eredményként. -PHONETIC = PHONETIC ## Szöveg furigana (fonetikus) karaktereit adja vissza. -PROPER = TNÉV ## Szöveg minden szavának kezdőbetűjét nagybetűsre cseréli. -REPLACE = CSERE ## A szövegen belül karaktereket cserél. -REPLACEB = CSERE2 ## A szövegen belül karaktereket cserél. -REPT = SOKSZOR ## Megadott számú alkalommal megismétel egy szövegrészt. -RIGHT = JOBB ## Szövegrész jobb szélső karaktereit adja eredményül. -RIGHTB = JOBB2 ## Szövegrész jobb szélső karaktereit adja eredményül. -SEARCH = SZÖVEG.KERES ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk között nem tesz különbséget). -SEARCHB = SZÖVEG.KERES2 ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk között nem tesz különbséget). -SUBSTITUTE = HELYETTE ## Szövegben adott karaktereket másikra cserél. -T = T ## Argumentumát szöveggé alakítja át. -TEXT = SZÖVEG ## Számértéket alakít át adott számformátumú szöveggé. -TRIM = TRIM ## A szövegből eltávolítja a szóközöket. -UPPER = NAGYBETŰS ## Szöveget nagybetűssé alakít át. -VALUE = ÉRTÉK ## Szöveget számmá alakít át. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/hu/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/config deleted file mode 100644 index c3afa754b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NULLO! -DIV0 = #DIV/0! -VALUE = #VALORE! -REF = #RIF! -NAME = #NOME? -NUM = #NUM! -NA = #N/D diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/functions deleted file mode 100644 index fa290febf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/functions +++ /dev/null @@ -1,439 +0,0 @@ -## -## PHPExcel -## - -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funzioni di automazione e dei componenti aggiuntivi -## -GETPIVOTDATA = INFO.DATI.TAB.PIVOT ## Restituisce i dati memorizzati in un rapporto di tabella pivot - - -## -## Cube functions Funzioni cubo -## -CUBEKPIMEMBER = MEMBRO.KPI.CUBO ## Restituisce il nome, la proprietà e la misura di un indicatore di prestazioni chiave (KPI) e visualizza il nome e la proprietà nella cella. Un KPI è una misura quantificabile, ad esempio l'utile lordo mensile o il fatturato trimestrale dei dipendenti, utilizzata per il monitoraggio delle prestazioni di un'organizzazione. -CUBEMEMBER = MEMBRO.CUBO ## Restituisce un membro o una tupla in una gerarchia di cubi. Consente di verificare l'esistenza del membro o della tupla nel cubo. -CUBEMEMBERPROPERTY = PROPRIETÀ.MEMBRO.CUBO ## Restituisce il valore di una proprietà di un membro del cubo. Consente di verificare l'esistenza di un nome di membro all'interno del cubo e di restituire la proprietà specificata per tale membro. -CUBERANKEDMEMBER = MEMBRO.CUBO.CON.RANGO ## Restituisce l'n-esimo membro o il membro ordinato di un insieme. Consente di restituire uno o più elementi in un insieme, ad esempio l'agente di vendita migliore o i primi 10 studenti. -CUBESET = SET.CUBO ## Definisce un insieme di tuple o membri calcolati mediante l'invio di un'espressione di insieme al cubo sul server. In questo modo l'insieme viene creato e restituito a Microsoft Office Excel. -CUBESETCOUNT = CONTA.SET.CUBO ## Restituisce il numero di elementi di un insieme. -CUBEVALUE = VALORE.CUBO ## Restituisce un valore aggregato da un cubo. - - -## -## Database functions Funzioni di database -## -DAVERAGE = DB.MEDIA ## Restituisce la media di voci del database selezionate -DCOUNT = DB.CONTA.NUMERI ## Conta le celle di un database contenenti numeri -DCOUNTA = DB.CONTA.VALORI ## Conta le celle non vuote in un database -DGET = DB.VALORI ## Estrae da un database un singolo record che soddisfa i criteri specificati -DMAX = DB.MAX ## Restituisce il valore massimo dalle voci selezionate in un database -DMIN = DB.MIN ## Restituisce il valore minimo dalle voci di un database selezionate -DPRODUCT = DB.PRODOTTO ## Moltiplica i valori in un determinato campo di record che soddisfano i criteri del database -DSTDEV = DB.DEV.ST ## Restituisce una stima della deviazione standard sulla base di un campione di voci di un database selezionate -DSTDEVP = DB.DEV.ST.POP ## Calcola la deviazione standard sulla base di tutte le voci di un database selezionate -DSUM = DB.SOMMA ## Aggiunge i numeri nel campo colonna di record del database che soddisfa determinati criteri -DVAR = DB.VAR ## Restituisce una stima della varianza sulla base di un campione da voci di un database selezionate -DVARP = DB.VAR.POP ## Calcola la varianza sulla base di tutte le voci di un database selezionate - - -## -## Date and time functions Funzioni data e ora -## -DATE = DATA ## Restituisce il numero seriale di una determinata data -DATEVALUE = DATA.VALORE ## Converte una data sotto forma di testo in un numero seriale -DAY = GIORNO ## Converte un numero seriale in un giorno del mese -DAYS360 = GIORNO360 ## Calcola il numero di giorni compreso tra due date basandosi su un anno di 360 giorni -EDATE = DATA.MESE ## Restituisce il numero seriale della data che rappresenta il numero di mesi prima o dopo la data di inizio -EOMONTH = FINE.MESE ## Restituisce il numero seriale dell'ultimo giorno del mese, prima o dopo un determinato numero di mesi -HOUR = ORA ## Converte un numero seriale in un'ora -MINUTE = MINUTO ## Converte un numero seriale in un minuto -MONTH = MESE ## Converte un numero seriale in un mese -NETWORKDAYS = GIORNI.LAVORATIVI.TOT ## Restituisce il numero di tutti i giorni lavorativi compresi fra due date -NOW = ADESSO ## Restituisce il numero seriale della data e dell'ora corrente -SECOND = SECONDO ## Converte un numero seriale in un secondo -TIME = ORARIO ## Restituisce il numero seriale di una determinata ora -TIMEVALUE = ORARIO.VALORE ## Converte un orario in forma di testo in un numero seriale -TODAY = OGGI ## Restituisce il numero seriale relativo alla data odierna -WEEKDAY = GIORNO.SETTIMANA ## Converte un numero seriale in un giorno della settimana -WEEKNUM = NUM.SETTIMANA ## Converte un numero seriale in un numero che rappresenta la posizione numerica di una settimana nell'anno -WORKDAY = GIORNO.LAVORATIVO ## Restituisce il numero della data prima o dopo un determinato numero di giorni lavorativi -YEAR = ANNO ## Converte un numero seriale in un anno -YEARFRAC = FRAZIONE.ANNO ## Restituisce la frazione dell'anno che rappresenta il numero dei giorni compresi tra una data_ iniziale e una data_finale - - -## -## Engineering functions Funzioni ingegneristiche -## -BESSELI = BESSEL.I ## Restituisce la funzione di Bessel modificata In(x) -BESSELJ = BESSEL.J ## Restituisce la funzione di Bessel Jn(x) -BESSELK = BESSEL.K ## Restituisce la funzione di Bessel modificata Kn(x) -BESSELY = BESSEL.Y ## Restituisce la funzione di Bessel Yn(x) -BIN2DEC = BINARIO.DECIMALE ## Converte un numero binario in decimale -BIN2HEX = BINARIO.HEX ## Converte un numero binario in esadecimale -BIN2OCT = BINARIO.OCT ## Converte un numero binario in ottale -COMPLEX = COMPLESSO ## Converte i coefficienti reali e immaginari in numeri complessi -CONVERT = CONVERTI ## Converte un numero da un sistema di misura in un altro -DEC2BIN = DECIMALE.BINARIO ## Converte un numero decimale in binario -DEC2HEX = DECIMALE.HEX ## Converte un numero decimale in esadecimale -DEC2OCT = DECIMALE.OCT ## Converte un numero decimale in ottale -DELTA = DELTA ## Verifica se due valori sono uguali -ERF = FUNZ.ERRORE ## Restituisce la funzione di errore -ERFC = FUNZ.ERRORE.COMP ## Restituisce la funzione di errore complementare -GESTEP = SOGLIA ## Verifica se un numero è maggiore del valore di soglia -HEX2BIN = HEX.BINARIO ## Converte un numero esadecimale in binario -HEX2DEC = HEX.DECIMALE ## Converte un numero esadecimale in decimale -HEX2OCT = HEX.OCT ## Converte un numero esadecimale in ottale -IMABS = COMP.MODULO ## Restituisce il valore assoluto (modulo) di un numero complesso -IMAGINARY = COMP.IMMAGINARIO ## Restituisce il coefficiente immaginario di un numero complesso -IMARGUMENT = COMP.ARGOMENTO ## Restituisce l'argomento theta, un angolo espresso in radianti -IMCONJUGATE = COMP.CONIUGATO ## Restituisce il complesso coniugato del numero complesso -IMCOS = COMP.COS ## Restituisce il coseno di un numero complesso -IMDIV = COMP.DIV ## Restituisce il quoziente di due numeri complessi -IMEXP = COMP.EXP ## Restituisce il valore esponenziale di un numero complesso -IMLN = COMP.LN ## Restituisce il logaritmo naturale di un numero complesso -IMLOG10 = COMP.LOG10 ## Restituisce il logaritmo in base 10 di un numero complesso -IMLOG2 = COMP.LOG2 ## Restituisce un logaritmo in base 2 di un numero complesso -IMPOWER = COMP.POTENZA ## Restituisce il numero complesso elevato a una potenza intera -IMPRODUCT = COMP.PRODOTTO ## Restituisce il prodotto di numeri complessi compresi tra 2 e 29 -IMREAL = COMP.PARTE.REALE ## Restituisce il coefficiente reale di un numero complesso -IMSIN = COMP.SEN ## Restituisce il seno di un numero complesso -IMSQRT = COMP.RADQ ## Restituisce la radice quadrata di un numero complesso -IMSUB = COMP.DIFF ## Restituisce la differenza fra due numeri complessi -IMSUM = COMP.SOMMA ## Restituisce la somma di numeri complessi -OCT2BIN = OCT.BINARIO ## Converte un numero ottale in binario -OCT2DEC = OCT.DECIMALE ## Converte un numero ottale in decimale -OCT2HEX = OCT.HEX ## Converte un numero ottale in esadecimale - - -## -## Financial functions Funzioni finanziarie -## -ACCRINT = INT.MATURATO.PER ## Restituisce l'interesse maturato di un titolo che paga interessi periodici -ACCRINTM = INT.MATURATO.SCAD ## Restituisce l'interesse maturato di un titolo che paga interessi alla scadenza -AMORDEGRC = AMMORT.DEGR ## Restituisce l'ammortamento per ogni periodo contabile utilizzando un coefficiente di ammortamento -AMORLINC = AMMORT.PER ## Restituisce l'ammortamento per ogni periodo contabile -COUPDAYBS = GIORNI.CED.INIZ.LIQ ## Restituisce il numero dei giorni che vanno dall'inizio del periodo di durata della cedola alla data di liquidazione -COUPDAYS = GIORNI.CED ## Restituisce il numero dei giorni relativi al periodo della cedola che contiene la data di liquidazione -COUPDAYSNC = GIORNI.CED.NUOVA ## Restituisce il numero di giorni che vanno dalla data di liquidazione alla data della cedola successiva -COUPNCD = DATA.CED.SUCC ## Restituisce un numero che rappresenta la data della cedola successiva alla data di liquidazione -COUPNUM = NUM.CED ## Restituisce il numero di cedole pagabili fra la data di liquidazione e la data di scadenza -COUPPCD = DATA.CED.PREC ## Restituisce un numero che rappresenta la data della cedola precedente alla data di liquidazione -CUMIPMT = INT.CUMUL ## Restituisce l'interesse cumulativo pagato fra due periodi -CUMPRINC = CAP.CUM ## Restituisce il capitale cumulativo pagato per estinguere un debito fra due periodi -DB = DB ## Restituisce l'ammortamento di un bene per un periodo specificato utilizzando il metodo di ammortamento a quote fisse decrescenti -DDB = AMMORT ## Restituisce l'ammortamento di un bene per un periodo specificato utilizzando il metodo di ammortamento a doppie quote decrescenti o altri metodi specificati -DISC = TASSO.SCONTO ## Restituisce il tasso di sconto per un titolo -DOLLARDE = VALUTA.DEC ## Converte un prezzo valuta, espresso come frazione, in prezzo valuta, espresso come numero decimale -DOLLARFR = VALUTA.FRAZ ## Converte un prezzo valuta, espresso come numero decimale, in prezzo valuta, espresso come frazione -DURATION = DURATA ## Restituisce la durata annuale di un titolo con i pagamenti di interesse periodico -EFFECT = EFFETTIVO ## Restituisce l'effettivo tasso di interesse annuo -FV = VAL.FUT ## Restituisce il valore futuro di un investimento -FVSCHEDULE = VAL.FUT.CAPITALE ## Restituisce il valore futuro di un capitale iniziale dopo aver applicato una serie di tassi di interesse composti -INTRATE = TASSO.INT ## Restituisce il tasso di interesse per un titolo interamente investito -IPMT = INTERESSI ## Restituisce il valore degli interessi per un investimento relativo a un periodo specifico -IRR = TIR.COST ## Restituisce il tasso di rendimento interno per una serie di flussi di cassa -ISPMT = INTERESSE.RATA ## Calcola l'interesse di un investimento pagato durante un periodo specifico -MDURATION = DURATA.M ## Restituisce la durata Macauley modificata per un titolo con un valore presunto di € 100 -MIRR = TIR.VAR ## Restituisce il tasso di rendimento interno in cui i flussi di cassa positivi e negativi sono finanziati a tassi differenti -NOMINAL = NOMINALE ## Restituisce il tasso di interesse nominale annuale -NPER = NUM.RATE ## Restituisce un numero di periodi relativi a un investimento -NPV = VAN ## Restituisce il valore attuale netto di un investimento basato su una serie di flussi di cassa periodici e sul tasso di sconto -ODDFPRICE = PREZZO.PRIMO.IRR ## Restituisce il prezzo di un titolo dal valore nominale di € 100 avente il primo periodo di durata irregolare -ODDFYIELD = REND.PRIMO.IRR ## Restituisce il rendimento di un titolo avente il primo periodo di durata irregolare -ODDLPRICE = PREZZO.ULTIMO.IRR ## Restituisce il prezzo di un titolo dal valore nominale di € 100 avente l'ultimo periodo di durata irregolare -ODDLYIELD = REND.ULTIMO.IRR ## Restituisce il rendimento di un titolo avente l'ultimo periodo di durata irregolare -PMT = RATA ## Restituisce il pagamento periodico di una rendita annua -PPMT = P.RATA ## Restituisce il pagamento sul capitale di un investimento per un dato periodo -PRICE = PREZZO ## Restituisce il prezzo di un titolo dal valore nominale di € 100 che paga interessi periodici -PRICEDISC = PREZZO.SCONT ## Restituisce il prezzo di un titolo scontato dal valore nominale di € 100 -PRICEMAT = PREZZO.SCAD ## Restituisce il prezzo di un titolo dal valore nominale di € 100 che paga gli interessi alla scadenza -PV = VA ## Restituisce il valore attuale di un investimento -RATE = TASSO ## Restituisce il tasso di interesse per un periodo di un'annualità -RECEIVED = RICEV.SCAD ## Restituisce l'ammontare ricevuto alla scadenza di un titolo interamente investito -SLN = AMMORT.COST ## Restituisce l'ammortamento a quote costanti di un bene per un singolo periodo -SYD = AMMORT.ANNUO ## Restituisce l'ammortamento a somma degli anni di un bene per un periodo specificato -TBILLEQ = BOT.EQUIV ## Restituisce il rendimento equivalente ad un'obbligazione per un Buono ordinario del Tesoro -TBILLPRICE = BOT.PREZZO ## Restituisce il prezzo di un Buono del Tesoro dal valore nominale di € 100 -TBILLYIELD = BOT.REND ## Restituisce il rendimento di un Buono del Tesoro -VDB = AMMORT.VAR ## Restituisce l'ammortamento di un bene per un periodo specificato o parziale utilizzando il metodo a doppie quote proporzionali ai valori residui -XIRR = TIR.X ## Restituisce il tasso di rendimento interno di un impiego di flussi di cassa -XNPV = VAN.X ## Restituisce il valore attuale netto di un impiego di flussi di cassa non necessariamente periodici -YIELD = REND ## Restituisce il rendimento di un titolo che frutta interessi periodici -YIELDDISC = REND.TITOLI.SCONT ## Restituisce il rendimento annuale di un titolo scontato, ad esempio un Buono del Tesoro -YIELDMAT = REND.SCAD ## Restituisce il rendimento annuo di un titolo che paga interessi alla scadenza - - -## -## Information functions Funzioni relative alle informazioni -## -CELL = CELLA ## Restituisce le informazioni sulla formattazione, la posizione o i contenuti di una cella -ERROR.TYPE = ERRORE.TIPO ## Restituisce un numero che corrisponde a un tipo di errore -INFO = INFO ## Restituisce le informazioni sull'ambiente operativo corrente -ISBLANK = VAL.VUOTO ## Restituisce VERO se il valore è vuoto -ISERR = VAL.ERR ## Restituisce VERO se il valore è un valore di errore qualsiasi tranne #N/D -ISERROR = VAL.ERRORE ## Restituisce VERO se il valore è un valore di errore qualsiasi -ISEVEN = VAL.PARI ## Restituisce VERO se il numero è pari -ISLOGICAL = VAL.LOGICO ## Restituisce VERO se il valore è un valore logico -ISNA = VAL.NON.DISP ## Restituisce VERO se il valore è un valore di errore #N/D -ISNONTEXT = VAL.NON.TESTO ## Restituisce VERO se il valore non è in formato testo -ISNUMBER = VAL.NUMERO ## Restituisce VERO se il valore è un numero -ISODD = VAL.DISPARI ## Restituisce VERO se il numero è dispari -ISREF = VAL.RIF ## Restituisce VERO se il valore è un riferimento -ISTEXT = VAL.TESTO ## Restituisce VERO se il valore è in formato testo -N = NUM ## Restituisce un valore convertito in numero -NA = NON.DISP ## Restituisce il valore di errore #N/D -TYPE = TIPO ## Restituisce un numero che indica il tipo di dati relativi a un valore - - -## -## Logical functions Funzioni logiche -## -AND = E ## Restituisce VERO se tutti gli argomenti sono VERO -FALSE = FALSO ## Restituisce il valore logico FALSO -IF = SE ## Specifica un test logico da eseguire -IFERROR = SE.ERRORE ## Restituisce un valore specificato se una formula fornisce un errore come risultato; in caso contrario, restituisce il risultato della formula -NOT = NON ## Inverte la logica degli argomenti -OR = O ## Restituisce VERO se un argomento qualsiasi è VERO -TRUE = VERO ## Restituisce il valore logico VERO - - -## -## Lookup and reference functions Funzioni di ricerca e di riferimento -## -ADDRESS = INDIRIZZO ## Restituisce un riferimento come testo in una singola cella di un foglio di lavoro -AREAS = AREE ## Restituisce il numero di aree in un riferimento -CHOOSE = SCEGLI ## Sceglie un valore da un elenco di valori -COLUMN = RIF.COLONNA ## Restituisce il numero di colonna di un riferimento -COLUMNS = COLONNE ## Restituisce il numero di colonne in un riferimento -HLOOKUP = CERCA.ORIZZ ## Effettua una ricerca nella riga superiore di una matrice e restituisce il valore della cella specificata -HYPERLINK = COLLEG.IPERTESTUALE ## Crea un collegamento che apre un documento memorizzato in un server di rete, una rete Intranet o Internet -INDEX = INDICE ## Utilizza un indice per scegliere un valore da un riferimento o da una matrice -INDIRECT = INDIRETTO ## Restituisce un riferimento specificato da un valore testo -LOOKUP = CERCA ## Ricerca i valori in un vettore o in una matrice -MATCH = CONFRONTA ## Ricerca i valori in un riferimento o in una matrice -OFFSET = SCARTO ## Restituisce uno scarto di riferimento da un riferimento dato -ROW = RIF.RIGA ## Restituisce il numero di riga di un riferimento -ROWS = RIGHE ## Restituisce il numero delle righe in un riferimento -RTD = DATFIELDPOREALE ## Recupera dati in tempo reale da un programma che supporta l'automazione COM (automazione: Metodo per utilizzare gli oggetti di un'applicazione da un'altra applicazione o da un altro strumento di sviluppo. Precedentemente nota come automazione OLE, l'automazione è uno standard del settore e una caratteristica del modello COM (Component Object Model).) -TRANSPOSE = MATR.TRASPOSTA ## Restituisce la trasposizione di una matrice -VLOOKUP = CERCA.VERT ## Effettua una ricerca nella prima colonna di una matrice e si sposta attraverso la riga per restituire il valore di una cella - - -## -## Math and trigonometry functions Funzioni matematiche e trigonometriche -## -ABS = ASS ## Restituisce il valore assoluto di un numero. -ACOS = ARCCOS ## Restituisce l'arcocoseno di un numero -ACOSH = ARCCOSH ## Restituisce l'inverso del coseno iperbolico di un numero -ASIN = ARCSEN ## Restituisce l'arcoseno di un numero -ASINH = ARCSENH ## Restituisce l'inverso del seno iperbolico di un numero -ATAN = ARCTAN ## Restituisce l'arcotangente di un numero -ATAN2 = ARCTAN.2 ## Restituisce l'arcotangente delle coordinate x e y specificate -ATANH = ARCTANH ## Restituisce l'inverso della tangente iperbolica di un numero -CEILING = ARROTONDA.ECCESSO ## Arrotonda un numero per eccesso all'intero più vicino o al multiplo più vicino a peso -COMBIN = COMBINAZIONE ## Restituisce il numero di combinazioni possibili per un numero assegnato di elementi -COS = COS ## Restituisce il coseno dell'angolo specificato -COSH = COSH ## Restituisce il coseno iperbolico di un numero -DEGREES = GRADI ## Converte i radianti in gradi -EVEN = PARI ## Arrotonda il valore assoluto di un numero per eccesso al più vicino intero pari -EXP = ESP ## Restituisce il numero e elevato alla potenza di num -FACT = FATTORIALE ## Restituisce il fattoriale di un numero -FACTDOUBLE = FATT.DOPPIO ## Restituisce il fattoriale doppio di un numero -FLOOR = ARROTONDA.DIFETTO ## Arrotonda un numero per difetto al multiplo più vicino a zero -GCD = MCD ## Restituisce il massimo comune divisore -INT = INT ## Arrotonda un numero per difetto al numero intero più vicino -LCM = MCM ## Restituisce il minimo comune multiplo -LN = LN ## Restituisce il logaritmo naturale di un numero -LOG = LOG ## Restituisce il logaritmo di un numero in una specificata base -LOG10 = LOG10 ## Restituisce il logaritmo in base 10 di un numero -MDETERM = MATR.DETERM ## Restituisce il determinante di una matrice -MINVERSE = MATR.INVERSA ## Restituisce l'inverso di una matrice -MMULT = MATR.PRODOTTO ## Restituisce il prodotto di due matrici -MOD = RESTO ## Restituisce il resto della divisione -MROUND = ARROTONDA.MULTIPLO ## Restituisce un numero arrotondato al multiplo desiderato -MULTINOMIAL = MULTINOMIALE ## Restituisce il multinomiale di un insieme di numeri -ODD = DISPARI ## Arrotonda un numero per eccesso al più vicino intero dispari -PI = PI.GRECO ## Restituisce il valore di pi greco -POWER = POTENZA ## Restituisce il risultato di un numero elevato a potenza -PRODUCT = PRODOTTO ## Moltiplica i suoi argomenti -QUOTIENT = QUOZIENTE ## Restituisce la parte intera di una divisione -RADIANS = RADIANTI ## Converte i gradi in radianti -RAND = CASUALE ## Restituisce un numero casuale compreso tra 0 e 1 -RANDBETWEEN = CASUALE.TRA ## Restituisce un numero casuale compreso tra i numeri specificati -ROMAN = ROMANO ## Restituisce il numero come numero romano sotto forma di testo -ROUND = ARROTONDA ## Arrotonda il numero al numero di cifre specificato -ROUNDDOWN = ARROTONDA.PER.DIF ## Arrotonda il valore assoluto di un numero per difetto -ROUNDUP = ARROTONDA.PER.ECC ## Arrotonda il valore assoluto di un numero per eccesso -SERIESSUM = SOMMA.SERIE ## Restituisce la somma di una serie di potenze in base alla formula -SIGN = SEGNO ## Restituisce il segno di un numero -SIN = SEN ## Restituisce il seno di un dato angolo -SINH = SENH ## Restituisce il seno iperbolico di un numero -SQRT = RADQ ## Restituisce una radice quadrata -SQRTPI = RADQ.PI.GRECO ## Restituisce la radice quadrata di un numero (numero * pi greco) -SUBTOTAL = SUBTOTALE ## Restituisce un subtotale in un elenco o in un database -SUM = SOMMA ## Somma i suoi argomenti -SUMIF = SOMMA.SE ## Somma le celle specificate da un dato criterio -SUMIFS = SOMMA.PIÙ.SE ## Somma le celle in un intervallo che soddisfano più criteri -SUMPRODUCT = MATR.SOMMA.PRODOTTO ## Restituisce la somma dei prodotti dei componenti corrispondenti della matrice -SUMSQ = SOMMA.Q ## Restituisce la somma dei quadrati degli argomenti -SUMX2MY2 = SOMMA.DIFF.Q ## Restituisce la somma della differenza dei quadrati dei corrispondenti elementi in due matrici -SUMX2PY2 = SOMMA.SOMMA.Q ## Restituisce la somma della somma dei quadrati dei corrispondenti elementi in due matrici -SUMXMY2 = SOMMA.Q.DIFF ## Restituisce la somma dei quadrati delle differenze dei corrispondenti elementi in due matrici -TAN = TAN ## Restituisce la tangente di un numero -TANH = TANH ## Restituisce la tangente iperbolica di un numero -TRUNC = TRONCA ## Tronca la parte decimale di un numero - - -## -## Statistical functions Funzioni statistiche -## -AVEDEV = MEDIA.DEV ## Restituisce la media delle deviazioni assolute delle coordinate rispetto alla loro media -AVERAGE = MEDIA ## Restituisce la media degli argomenti -AVERAGEA = MEDIA.VALORI ## Restituisce la media degli argomenti, inclusi i numeri, il testo e i valori logici -AVERAGEIF = MEDIA.SE ## Restituisce la media aritmetica di tutte le celle in un intervallo che soddisfano un determinato criterio -AVERAGEIFS = MEDIA.PIÙ.SE ## Restituisce la media aritmetica di tutte le celle che soddisfano più criteri -BETADIST = DISTRIB.BETA ## Restituisce la funzione di distribuzione cumulativa beta -BETAINV = INV.BETA ## Restituisce l'inverso della funzione di distribuzione cumulativa per una distribuzione beta specificata -BINOMDIST = DISTRIB.BINOM ## Restituisce la distribuzione binomiale per il termine individuale -CHIDIST = DISTRIB.CHI ## Restituisce la probabilità a una coda per la distribuzione del chi quadrato -CHIINV = INV.CHI ## Restituisce l'inverso della probabilità ad una coda per la distribuzione del chi quadrato -CHITEST = TEST.CHI ## Restituisce il test per l'indipendenza -CONFIDENCE = CONFIDENZA ## Restituisce l'intervallo di confidenza per una popolazione -CORREL = CORRELAZIONE ## Restituisce il coefficiente di correlazione tra due insiemi di dati -COUNT = CONTA.NUMERI ## Conta la quantità di numeri nell'elenco di argomenti -COUNTA = CONTA.VALORI ## Conta il numero di valori nell'elenco di argomenti -COUNTBLANK = CONTA.VUOTE ## Conta il numero di celle vuote all'interno di un intervallo -COUNTIF = CONTA.SE ## Conta il numero di celle all'interno di un intervallo che soddisfa i criteri specificati -COUNTIFS = CONTA.PIÙ.SE ## Conta il numero di celle in un intervallo che soddisfano più criteri. -COVAR = COVARIANZA ## Calcola la covarianza, la media dei prodotti delle deviazioni accoppiate -CRITBINOM = CRIT.BINOM ## Restituisce il più piccolo valore per il quale la distribuzione cumulativa binomiale risulta maggiore o uguale ad un valore di criterio -DEVSQ = DEV.Q ## Restituisce la somma dei quadrati delle deviazioni -EXPONDIST = DISTRIB.EXP ## Restituisce la distribuzione esponenziale -FDIST = DISTRIB.F ## Restituisce la distribuzione di probabilità F -FINV = INV.F ## Restituisce l'inverso della distribuzione della probabilità F -FISHER = FISHER ## Restituisce la trasformazione di Fisher -FISHERINV = INV.FISHER ## Restituisce l'inverso della trasformazione di Fisher -FORECAST = PREVISIONE ## Restituisce i valori lungo una tendenza lineare -FREQUENCY = FREQUENZA ## Restituisce la distribuzione di frequenza come matrice verticale -FTEST = TEST.F ## Restituisce il risultato di un test F -GAMMADIST = DISTRIB.GAMMA ## Restituisce la distribuzione gamma -GAMMAINV = INV.GAMMA ## Restituisce l'inverso della distribuzione cumulativa gamma -GAMMALN = LN.GAMMA ## Restituisce il logaritmo naturale della funzione gamma, G(x) -GEOMEAN = MEDIA.GEOMETRICA ## Restituisce la media geometrica -GROWTH = CRESCITA ## Restituisce i valori lungo una linea di tendenza esponenziale -HARMEAN = MEDIA.ARMONICA ## Restituisce la media armonica -HYPGEOMDIST = DISTRIB.IPERGEOM ## Restituisce la distribuzione ipergeometrica -INTERCEPT = INTERCETTA ## Restituisce l'intercetta della retta di regressione lineare -KURT = CURTOSI ## Restituisce la curtosi di un insieme di dati -LARGE = GRANDE ## Restituisce il k-esimo valore più grande in un insieme di dati -LINEST = REGR.LIN ## Restituisce i parametri di una tendenza lineare -LOGEST = REGR.LOG ## Restituisce i parametri di una linea di tendenza esponenziale -LOGINV = INV.LOGNORM ## Restituisce l'inverso di una distribuzione lognormale -LOGNORMDIST = DISTRIB.LOGNORM ## Restituisce la distribuzione lognormale cumulativa -MAX = MAX ## Restituisce il valore massimo in un elenco di argomenti -MAXA = MAX.VALORI ## Restituisce il valore massimo in un elenco di argomenti, inclusi i numeri, il testo e i valori logici -MEDIAN = MEDIANA ## Restituisce la mediana dei numeri specificati -MIN = MIN ## Restituisce il valore minimo in un elenco di argomenti -MINA = MIN.VALORI ## Restituisce il più piccolo valore in un elenco di argomenti, inclusi i numeri, il testo e i valori logici -MODE = MODA ## Restituisce il valore più comune in un insieme di dati -NEGBINOMDIST = DISTRIB.BINOM.NEG ## Restituisce la distribuzione binomiale negativa -NORMDIST = DISTRIB.NORM ## Restituisce la distribuzione cumulativa normale -NORMINV = INV.NORM ## Restituisce l'inverso della distribuzione cumulativa normale standard -NORMSDIST = DISTRIB.NORM.ST ## Restituisce la distribuzione cumulativa normale standard -NORMSINV = INV.NORM.ST ## Restituisce l'inverso della distribuzione cumulativa normale -PEARSON = PEARSON ## Restituisce il coefficiente del momento di correlazione di Pearson -PERCENTILE = PERCENTILE ## Restituisce il k-esimo dato percentile di valori in un intervallo -PERCENTRANK = PERCENT.RANGO ## Restituisce il rango di un valore in un insieme di dati come percentuale -PERMUT = PERMUTAZIONE ## Restituisce il numero delle permutazioni per un determinato numero di oggetti -POISSON = POISSON ## Restituisce la distribuzione di Poisson -PROB = PROBABILITÀ ## Calcola la probabilità che dei valori in un intervallo siano compresi tra due limiti -QUARTILE = QUARTILE ## Restituisce il quartile di un insieme di dati -RANK = RANGO ## Restituisce il rango di un numero in un elenco di numeri -RSQ = RQ ## Restituisce la radice quadrata del coefficiente di momento di correlazione di Pearson -SKEW = ASIMMETRIA ## Restituisce il grado di asimmetria di una distribuzione -SLOPE = PENDENZA ## Restituisce la pendenza di una retta di regressione lineare -SMALL = PICCOLO ## Restituisce il k-esimo valore più piccolo in un insieme di dati -STANDARDIZE = NORMALIZZA ## Restituisce un valore normalizzato -STDEV = DEV.ST ## Restituisce una stima della deviazione standard sulla base di un campione -STDEVA = DEV.ST.VALORI ## Restituisce una stima della deviazione standard sulla base di un campione, inclusi i numeri, il testo e i valori logici -STDEVP = DEV.ST.POP ## Calcola la deviazione standard sulla base di un'intera popolazione -STDEVPA = DEV.ST.POP.VALORI ## Calcola la deviazione standard sulla base sull'intera popolazione, inclusi i numeri, il testo e i valori logici -STEYX = ERR.STD.YX ## Restituisce l'errore standard del valore previsto per y per ogni valore x nella regressione -TDIST = DISTRIB.T ## Restituisce la distribuzione t di Student -TINV = INV.T ## Restituisce l'inversa della distribuzione t di Student -TREND = TENDENZA ## Restituisce i valori lungo una linea di tendenza lineare -TRIMMEAN = MEDIA.TRONCATA ## Restituisce la media della parte interna di un insieme di dati -TTEST = TEST.T ## Restituisce la probabilità associata ad un test t di Student -VAR = VAR ## Stima la varianza sulla base di un campione -VARA = VAR.VALORI ## Stima la varianza sulla base di un campione, inclusi i numeri, il testo e i valori logici -VARP = VAR.POP ## Calcola la varianza sulla base dell'intera popolazione -VARPA = VAR.POP.VALORI ## Calcola la deviazione standard sulla base sull'intera popolazione, inclusi i numeri, il testo e i valori logici -WEIBULL = WEIBULL ## Restituisce la distribuzione di Weibull -ZTEST = TEST.Z ## Restituisce il valore di probabilità a una coda per un test z - - -## -## Text functions Funzioni di testo -## -ASC = ASC ## Modifica le lettere inglesi o il katakana a doppio byte all'interno di una stringa di caratteri in caratteri a singolo byte -BAHTTEXT = BAHTTESTO ## Converte un numero in testo, utilizzando il formato valuta ß (baht) -CHAR = CODICE.CARATT ## Restituisce il carattere specificato dal numero di codice -CLEAN = LIBERA ## Elimina dal testo tutti i caratteri che non è possibile stampare -CODE = CODICE ## Restituisce il codice numerico del primo carattere di una stringa di testo -CONCATENATE = CONCATENA ## Unisce diversi elementi di testo in un unico elemento di testo -DOLLAR = VALUTA ## Converte un numero in testo, utilizzando il formato valuta € (euro) -EXACT = IDENTICO ## Verifica se due valori di testo sono uguali -FIND = TROVA ## Rileva un valore di testo all'interno di un altro (distinzione tra maiuscole e minuscole) -FINDB = TROVA.B ## Rileva un valore di testo all'interno di un altro (distinzione tra maiuscole e minuscole) -FIXED = FISSO ## Formatta un numero come testo con un numero fisso di decimali -JIS = ORDINAMENTO.JIS ## Modifica le lettere inglesi o i caratteri katakana a byte singolo all'interno di una stringa di caratteri in caratteri a byte doppio. -LEFT = SINISTRA ## Restituisce il carattere più a sinistra di un valore di testo -LEFTB = SINISTRA.B ## Restituisce il carattere più a sinistra di un valore di testo -LEN = LUNGHEZZA ## Restituisce il numero di caratteri di una stringa di testo -LENB = LUNB ## Restituisce il numero di caratteri di una stringa di testo -LOWER = MINUSC ## Converte il testo in lettere minuscole -MID = MEDIA ## Restituisce un numero specifico di caratteri di una stringa di testo a partire dalla posizione specificata -MIDB = MEDIA.B ## Restituisce un numero specifico di caratteri di una stringa di testo a partire dalla posizione specificata -PHONETIC = FURIGANA ## Estrae i caratteri fonetici (furigana) da una stringa di testo. -PROPER = MAIUSC.INIZ ## Converte in maiuscolo la prima lettera di ogni parola di un valore di testo -REPLACE = RIMPIAZZA ## Sostituisce i caratteri all'interno di un testo -REPLACEB = SOSTITUISCI.B ## Sostituisce i caratteri all'interno di un testo -REPT = RIPETI ## Ripete un testo per un dato numero di volte -RIGHT = DESTRA ## Restituisce il carattere più a destra di un valore di testo -RIGHTB = DESTRA.B ## Restituisce il carattere più a destra di un valore di testo -SEARCH = RICERCA ## Rileva un valore di testo all'interno di un altro (non è sensibile alle maiuscole e minuscole) -SEARCHB = CERCA.B ## Rileva un valore di testo all'interno di un altro (non è sensibile alle maiuscole e minuscole) -SUBSTITUTE = SOSTITUISCI ## Sostituisce il nuovo testo al testo contenuto in una stringa -T = T ## Converte gli argomenti in testo -TEXT = TESTO ## Formatta un numero e lo converte in testo -TRIM = ANNULLA.SPAZI ## Elimina gli spazi dal testo -UPPER = MAIUSC ## Converte il testo in lettere maiuscole -VALUE = VALORE ## Converte un argomento di testo in numero diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/it/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/config deleted file mode 100644 index 48dcc15b5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #LEEG! -DIV0 = #DEEL/0! -VALUE = #WAARDE! -REF = #VERW! -NAME = #NAAM? -NUM = #GETAL! -NA = #N/B diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/functions deleted file mode 100644 index 573600aca..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Automatiseringsfuncties en functies in invoegtoepassingen -## -GETPIVOTDATA = DRAAITABEL.OPHALEN ## Geeft gegevens uit een draaitabelrapport als resultaat - - -## -## Cube functions Kubusfuncties -## -CUBEKPIMEMBER = KUBUSKPILID ## Retourneert de naam, eigenschap en waarde van een KPI (prestatie-indicator) en geeft de naam en de eigenschap in de cel weer. Een KPI is een meetbare waarde, zoals de maandelijkse brutowinst of de omzet per kwartaal per werknemer, die wordt gebruikt om de prestaties van een organisatie te bewaken -CUBEMEMBER = KUBUSLID ## Retourneert een lid of tupel in een kubushiërarchie. Wordt gebruikt om te controleren of het lid of de tupel in de kubus aanwezig is -CUBEMEMBERPROPERTY = KUBUSLIDEIGENSCHAP ## Retourneert de waarde van een lideigenschap in de kubus. Wordt gebruikt om te controleren of de lidnaam in de kubus bestaat en retourneert de opgegeven eigenschap voor dit lid -CUBERANKEDMEMBER = KUBUSGERANGCHIKTLID ## Retourneert het zoveelste, gerangschikte lid in een set. Wordt gebruikt om een of meer elementen in een set te retourneren, zoals de tien beste verkopers of de tien beste studenten -CUBESET = KUBUSSET ## Definieert een berekende set leden of tupels door een ingestelde expressie naar de kubus op de server te sturen, alwaar de set wordt gemaakt en vervolgens wordt geretourneerd naar Microsoft Office Excel -CUBESETCOUNT = KUBUSSETAANTAL ## Retourneert het aantal onderdelen in een set -CUBEVALUE = KUBUSWAARDE ## Retourneert een samengestelde waarde van een kubus - - -## -## Database functions Databasefuncties -## -DAVERAGE = DBGEMIDDELDE ## Berekent de gemiddelde waarde in geselecteerde databasegegevens -DCOUNT = DBAANTAL ## Telt de cellen met getallen in een database -DCOUNTA = DBAANTALC ## Telt de niet-lege cellen in een database -DGET = DBLEZEN ## Retourneert één record dat voldoet aan de opgegeven criteria uit een database -DMAX = DBMAX ## Retourneert de maximumwaarde in de geselecteerde databasegegevens -DMIN = DBMIN ## Retourneert de minimumwaarde in de geselecteerde databasegegevens -DPRODUCT = DBPRODUCT ## Vermenigvuldigt de waarden in een bepaald veld van de records die voldoen aan de criteria in een database -DSTDEV = DBSTDEV ## Maakt een schatting van de standaarddeviatie op basis van een steekproef uit geselecteerde databasegegevens -DSTDEVP = DBSTDEVP ## Berekent de standaarddeviatie op basis van de volledige populatie van geselecteerde databasegegevens -DSUM = DBSOM ## Telt de getallen uit een kolom records in de database op die voldoen aan de criteria -DVAR = DBVAR ## Maakt een schatting van de variantie op basis van een steekproef uit geselecteerde databasegegevens -DVARP = DBVARP ## Berekent de variantie op basis van de volledige populatie van geselecteerde databasegegevens - - -## -## Date and time functions Datum- en tijdfuncties -## -DATE = DATUM ## Geeft als resultaat het seriële getal van een opgegeven datum -DATEVALUE = DATUMWAARDE ## Converteert een datum in de vorm van tekst naar een serieel getal -DAY = DAG ## Converteert een serieel getal naar een dag van de maand -DAYS360 = DAGEN360 ## Berekent het aantal dagen tussen twee datums op basis van een jaar met 360 dagen -EDATE = ZELFDE.DAG ## Geeft als resultaat het seriële getal van een datum die het opgegeven aantal maanden voor of na de begindatum ligt -EOMONTH = LAATSTE.DAG ## Geeft als resultaat het seriële getal van de laatste dag van de maand voor of na het opgegeven aantal maanden -HOUR = UUR ## Converteert een serieel getal naar uren -MINUTE = MINUUT ## Converteert een serieel naar getal minuten -MONTH = MAAND ## Converteert een serieel getal naar een maand -NETWORKDAYS = NETTO.WERKDAGEN ## Geeft als resultaat het aantal hele werkdagen tussen twee datums -NOW = NU ## Geeft als resultaat het seriële getal van de huidige datum en tijd -SECOND = SECONDE ## Converteert een serieel getal naar seconden -TIME = TIJD ## Geeft als resultaat het seriële getal van een bepaald tijdstip -TIMEVALUE = TIJDWAARDE ## Converteert de tijd in de vorm van tekst naar een serieel getal -TODAY = VANDAAG ## Geeft als resultaat het seriële getal van de huidige datum -WEEKDAY = WEEKDAG ## Converteert een serieel getal naar een weekdag -WEEKNUM = WEEKNUMMER ## Converteert een serieel getal naar een weeknummer -WORKDAY = WERKDAG ## Geeft als resultaat het seriële getal van de datum voor of na een bepaald aantal werkdagen -YEAR = JAAR ## Converteert een serieel getal naar een jaar -YEARFRAC = JAAR.DEEL ## Geeft als resultaat het gedeelte van het jaar, uitgedrukt in het aantal hele dagen tussen begindatum en einddatum - - -## -## Engineering functions Technische functies -## -BESSELI = BESSEL.Y ## Geeft als resultaat de gewijzigde Bessel-functie In(x) -BESSELJ = BESSEL.J ## Geeft als resultaat de Bessel-functie Jn(x) -BESSELK = BESSEL.K ## Geeft als resultaat de gewijzigde Bessel-functie Kn(x) -BESSELY = BESSEL.Y ## Geeft als resultaat de gewijzigde Bessel-functie Yn(x) -BIN2DEC = BIN.N.DEC ## Converteert een binair getal naar een decimaal getal -BIN2HEX = BIN.N.HEX ## Converteert een binair getal naar een hexadecimaal getal -BIN2OCT = BIN.N.OCT ## Converteert een binair getal naar een octaal getal -COMPLEX = COMPLEX ## Converteert reële en imaginaire coëfficiënten naar een complex getal -CONVERT = CONVERTEREN ## Converteert een getal in de ene maateenheid naar een getal in een andere maateenheid -DEC2BIN = DEC.N.BIN ## Converteert een decimaal getal naar een binair getal -DEC2HEX = DEC.N.HEX ## Converteert een decimaal getal naar een hexadecimaal getal -DEC2OCT = DEC.N.OCT ## Converteert een decimaal getal naar een octaal getal -DELTA = DELTA ## Test of twee waarden gelijk zijn -ERF = FOUTFUNCTIE ## Geeft als resultaat de foutfunctie -ERFC = FOUT.COMPLEMENT ## Geeft als resultaat de complementaire foutfunctie -GESTEP = GROTER.DAN ## Test of een getal groter is dan de drempelwaarde -HEX2BIN = HEX.N.BIN ## Converteert een hexadecimaal getal naar een binair getal -HEX2DEC = HEX.N.DEC ## Converteert een hexadecimaal getal naar een decimaal getal -HEX2OCT = HEX.N.OCT ## Converteert een hexadecimaal getal naar een octaal getal -IMABS = C.ABS ## Geeft als resultaat de absolute waarde (modulus) van een complex getal -IMAGINARY = C.IM.DEEL ## Geeft als resultaat de imaginaire coëfficiënt van een complex getal -IMARGUMENT = C.ARGUMENT ## Geeft als resultaat het argument thèta, een hoek uitgedrukt in radialen -IMCONJUGATE = C.TOEGEVOEGD ## Geeft als resultaat het complexe toegevoegde getal van een complex getal -IMCOS = C.COS ## Geeft als resultaat de cosinus van een complex getal -IMDIV = C.QUOTIENT ## Geeft als resultaat het quotiënt van twee complexe getallen -IMEXP = C.EXP ## Geeft als resultaat de exponent van een complex getal -IMLN = C.LN ## Geeft als resultaat de natuurlijke logaritme van een complex getal -IMLOG10 = C.LOG10 ## Geeft als resultaat de logaritme met grondtal 10 van een complex getal -IMLOG2 = C.LOG2 ## Geeft als resultaat de logaritme met grondtal 2 van een complex getal -IMPOWER = C.MACHT ## Geeft als resultaat een complex getal dat is verheven tot de macht van een geheel getal -IMPRODUCT = C.PRODUCT ## Geeft als resultaat het product van complexe getallen -IMREAL = C.REEEL.DEEL ## Geeft als resultaat de reële coëfficiënt van een complex getal -IMSIN = C.SIN ## Geeft als resultaat de sinus van een complex getal -IMSQRT = C.WORTEL ## Geeft als resultaat de vierkantswortel van een complex getal -IMSUB = C.VERSCHIL ## Geeft als resultaat het verschil tussen twee complexe getallen -IMSUM = C.SOM ## Geeft als resultaat de som van complexe getallen -OCT2BIN = OCT.N.BIN ## Converteert een octaal getal naar een binair getal -OCT2DEC = OCT.N.DEC ## Converteert een octaal getal naar een decimaal getal -OCT2HEX = OCT.N.HEX ## Converteert een octaal getal naar een hexadecimaal getal - - -## -## Financial functions Financiële functies -## -ACCRINT = SAMENG.RENTE ## Berekent de opgelopen rente voor een waardepapier waarvan de rente periodiek wordt uitgekeerd -ACCRINTM = SAMENG.RENTE.V ## Berekent de opgelopen rente voor een waardepapier waarvan de rente op de vervaldatum wordt uitgekeerd -AMORDEGRC = AMORDEGRC ## Geeft als resultaat de afschrijving voor elke boekingsperiode door een afschrijvingscoëfficiënt toe te passen -AMORLINC = AMORLINC ## Berekent de afschrijving voor elke boekingsperiode -COUPDAYBS = COUP.DAGEN.BB ## Berekent het aantal dagen vanaf het begin van de coupontermijn tot de stortingsdatum -COUPDAYS = COUP.DAGEN ## Geeft als resultaat het aantal dagen in de coupontermijn waarin de stortingsdatum valt -COUPDAYSNC = COUP.DAGEN.VV ## Geeft als resultaat het aantal dagen vanaf de stortingsdatum tot de volgende couponvervaldatum -COUPNCD = COUP.DATUM.NB ## Geeft als resultaat de volgende coupondatum na de stortingsdatum -COUPNUM = COUP.AANTAL ## Geeft als resultaat het aantal coupons dat nog moet worden uitbetaald tussen de stortingsdatum en de vervaldatum -COUPPCD = COUP.DATUM.VB ## Geeft als resultaat de vorige couponvervaldatum vóór de stortingsdatum -CUMIPMT = CUM.RENTE ## Geeft als resultaat de cumulatieve rente die tussen twee termijnen is uitgekeerd -CUMPRINC = CUM.HOOFDSOM ## Geeft als resultaat de cumulatieve hoofdsom van een lening die tussen twee termijnen is terugbetaald -DB = DB ## Geeft als resultaat de afschrijving van activa voor een bepaalde periode met behulp van de 'fixed declining balance'-methode -DDB = DDB ## Geeft als resultaat de afschrijving van activa over een bepaalde termijn met behulp van de 'double declining balance'-methode of een andere methode die u opgeeft -DISC = DISCONTO ## Geeft als resultaat het discontopercentage voor een waardepapier -DOLLARDE = EURO.DE ## Converteert een prijs in euro's, uitgedrukt in een breuk, naar een prijs in euro's, uitgedrukt in een decimaal getal -DOLLARFR = EURO.BR ## Converteert een prijs in euro's, uitgedrukt in een decimaal getal, naar een prijs in euro's, uitgedrukt in een breuk -DURATION = DUUR ## Geeft als resultaat de gewogen gemiddelde looptijd voor een waardepapier met periodieke rentebetalingen -EFFECT = EFFECT.RENTE ## Geeft als resultaat het effectieve jaarlijkse rentepercentage -FV = TW ## Geeft als resultaat de toekomstige waarde van een investering -FVSCHEDULE = TOEK.WAARDE2 ## Geeft als resultaat de toekomstige waarde van een bepaalde hoofdsom na het toepassen van een reeks samengestelde rentepercentages -INTRATE = RENTEPERCENTAGE ## Geeft als resultaat het rentepercentage voor een volgestort waardepapier -IPMT = IBET ## Geeft als resultaat de te betalen rente voor een investering over een bepaalde termijn -IRR = IR ## Geeft als resultaat de interne rentabiliteit voor een reeks cashflows -ISPMT = ISBET ## Geeft als resultaat de rente die is betaald tijdens een bepaalde termijn van een investering -MDURATION = AANG.DUUR ## Geeft als resultaat de aangepaste Macauley-looptijd voor een waardepapier, aangenomen dat de nominale waarde € 100 bedraagt -MIRR = GIR ## Geeft als resultaat de interne rentabiliteit voor een serie cashflows, waarbij voor betalingen een ander rentepercentage geldt dan voor inkomsten -NOMINAL = NOMINALE.RENTE ## Geeft als resultaat het nominale jaarlijkse rentepercentage -NPER = NPER ## Geeft als resultaat het aantal termijnen van een investering -NPV = NHW ## Geeft als resultaat de netto huidige waarde van een investering op basis van een reeks periodieke cashflows en een discontopercentage -ODDFPRICE = AFW.ET.PRIJS ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier met een afwijkende eerste termijn -ODDFYIELD = AFW.ET.REND ## Geeft als resultaat het rendement voor een waardepapier met een afwijkende eerste termijn -ODDLPRICE = AFW.LT.PRIJS ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier met een afwijkende laatste termijn -ODDLYIELD = AFW.LT.REND ## Geeft als resultaat het rendement voor een waardepapier met een afwijkende laatste termijn -PMT = BET ## Geeft als resultaat de periodieke betaling voor een annuïteit -PPMT = PBET ## Geeft als resultaat de afbetaling op de hoofdsom voor een bepaalde termijn -PRICE = PRIJS.NOM ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier waarvan de rente periodiek wordt uitgekeerd -PRICEDISC = PRIJS.DISCONTO ## Geeft als resultaat de prijs per € 100 nominale waarde voor een verdisconteerd waardepapier -PRICEMAT = PRIJS.VERVALDAG ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier waarvan de rente wordt uitgekeerd op de vervaldatum -PV = HW ## Geeft als resultaat de huidige waarde van een investering -RATE = RENTE ## Geeft als resultaat het periodieke rentepercentage voor een annuïteit -RECEIVED = OPBRENGST ## Geeft als resultaat het bedrag dat op de vervaldatum wordt uitgekeerd voor een volgestort waardepapier -SLN = LIN.AFSCHR ## Geeft als resultaat de lineaire afschrijving van activa over één termijn -SYD = SYD ## Geeft als resultaat de afschrijving van activa over een bepaalde termijn met behulp van de 'Sum-Of-Years-Digits'-methode -TBILLEQ = SCHATK.OBL ## Geeft als resultaat het rendement op schatkistpapier, dat op dezelfde manier wordt berekend als het rendement op obligaties -TBILLPRICE = SCHATK.PRIJS ## Bepaalt de prijs per € 100 nominale waarde voor schatkistpapier -TBILLYIELD = SCHATK.REND ## Berekent het rendement voor schatkistpapier -VDB = VDB ## Geeft als resultaat de afschrijving van activa over een gehele of gedeeltelijke termijn met behulp van de 'declining balance'-methode -XIRR = IR.SCHEMA ## Berekent de interne rentabiliteit voor een betalingsschema van cashflows -XNPV = NHW2 ## Berekent de huidige nettowaarde voor een betalingsschema van cashflows -YIELD = RENDEMENT ## Geeft als resultaat het rendement voor een waardepapier waarvan de rente periodiek wordt uitgekeerd -YIELDDISC = REND.DISCONTO ## Geeft als resultaat het jaarlijkse rendement voor een verdisconteerd waardepapier, bijvoorbeeld schatkistpapier -YIELDMAT = REND.VERVAL ## Geeft als resultaat het jaarlijkse rendement voor een waardepapier waarvan de rente wordt uitgekeerd op de vervaldatum - - -## -## Information functions Informatiefuncties -## -CELL = CEL ## Geeft als resultaat informatie over de opmaak, locatie of inhoud van een cel -ERROR.TYPE = TYPE.FOUT ## Geeft als resultaat een getal dat overeenkomt met een van de foutwaarden van Microsoft Excel -INFO = INFO ## Geeft als resultaat informatie over de huidige besturingsomgeving -ISBLANK = ISLEEG ## Geeft als resultaat WAAR als de waarde leeg is -ISERR = ISFOUT2 ## Geeft als resultaat WAAR als de waarde een foutwaarde is, met uitzondering van #N/B -ISERROR = ISFOUT ## Geeft als resultaat WAAR als de waarde een foutwaarde is -ISEVEN = IS.EVEN ## Geeft als resultaat WAAR als het getal even is -ISLOGICAL = ISLOGISCH ## Geeft als resultaat WAAR als de waarde een logische waarde is -ISNA = ISNB ## Geeft als resultaat WAAR als de waarde de foutwaarde #N/B is -ISNONTEXT = ISGEENTEKST ## Geeft als resultaat WAAR als de waarde geen tekst is -ISNUMBER = ISGETAL ## Geeft als resultaat WAAR als de waarde een getal is -ISODD = IS.ONEVEN ## Geeft als resultaat WAAR als het getal oneven is -ISREF = ISVERWIJZING ## Geeft als resultaat WAAR als de waarde een verwijzing is -ISTEXT = ISTEKST ## Geeft als resultaat WAAR als de waarde tekst is -N = N ## Geeft als resultaat een waarde die is geconverteerd naar een getal -NA = NB ## Geeft als resultaat de foutwaarde #N/B -TYPE = TYPE ## Geeft als resultaat een getal dat het gegevenstype van een waarde aangeeft - - -## -## Logical functions Logische functies -## -AND = EN ## Geeft als resultaat WAAR als alle argumenten WAAR zijn -FALSE = ONWAAR ## Geeft als resultaat de logische waarde ONWAAR -IF = ALS ## Geeft een logische test aan -IFERROR = ALS.FOUT ## Retourneert een waarde die u opgeeft als een formule een fout oplevert, anders wordt het resultaat van de formule geretourneerd -NOT = NIET ## Keert de logische waarde van het argument om -OR = OF ## Geeft als resultaat WAAR als minimaal een van de argumenten WAAR is -TRUE = WAAR ## Geeft als resultaat de logische waarde WAAR - - -## -## Lookup and reference functions Zoek- en verwijzingsfuncties -## -ADDRESS = ADRES ## Geeft als resultaat een verwijzing, in de vorm van tekst, naar één bepaalde cel in een werkblad -AREAS = BEREIKEN ## Geeft als resultaat het aantal bereiken in een verwijzing -CHOOSE = KIEZEN ## Kiest een waarde uit een lijst met waarden -COLUMN = KOLOM ## Geeft als resultaat het kolomnummer van een verwijzing -COLUMNS = KOLOMMEN ## Geeft als resultaat het aantal kolommen in een verwijzing -HLOOKUP = HORIZ.ZOEKEN ## Zoekt in de bovenste rij van een matrix naar een bepaalde waarde en geeft als resultaat de gevonden waarde in de opgegeven cel -HYPERLINK = HYPERLINK ## Maakt een snelkoppeling of een sprong waarmee een document wordt geopend dat is opgeslagen op een netwerkserver, een intranet of op internet -INDEX = INDEX ## Kiest met een index een waarde uit een verwijzing of een matrix -INDIRECT = INDIRECT ## Geeft als resultaat een verwijzing die wordt aangegeven met een tekstwaarde -LOOKUP = ZOEKEN ## Zoekt naar bepaalde waarden in een vector of een matrix -MATCH = VERGELIJKEN ## Zoekt naar bepaalde waarden in een verwijzing of een matrix -OFFSET = VERSCHUIVING ## Geeft als resultaat een nieuwe verwijzing die is verschoven ten opzichte van een bepaalde verwijzing -ROW = RIJ ## Geeft als resultaat het rijnummer van een verwijzing -ROWS = RIJEN ## Geeft als resultaat het aantal rijen in een verwijzing -RTD = RTG ## Haalt realtimegegevens op uit een programma dat COM-automatisering (automatisering: een methode waarmee de ene toepassing objecten van een andere toepassing of ontwikkelprogramma kan besturen. Automatisering werd vroeger OLE-automatisering genoemd. Automatisering is een industrienorm die deel uitmaakt van het Component Object Model (COM).) ondersteunt -TRANSPOSE = TRANSPONEREN ## Geeft als resultaat de getransponeerde van een matrix -VLOOKUP = VERT.ZOEKEN ## Zoekt in de meest linkse kolom van een matrix naar een bepaalde waarde en geeft als resultaat de waarde in de opgegeven cel - - -## -## Math and trigonometry functions Wiskundige en trigonometrische functies -## -ABS = ABS ## Geeft als resultaat de absolute waarde van een getal -ACOS = BOOGCOS ## Geeft als resultaat de boogcosinus van een getal -ACOSH = BOOGCOSH ## Geeft als resultaat de inverse cosinus hyperbolicus van een getal -ASIN = BOOGSIN ## Geeft als resultaat de boogsinus van een getal -ASINH = BOOGSINH ## Geeft als resultaat de inverse sinus hyperbolicus van een getal -ATAN = BOOGTAN ## Geeft als resultaat de boogtangens van een getal -ATAN2 = BOOGTAN2 ## Geeft als resultaat de boogtangens van de x- en y-coördinaten -ATANH = BOOGTANH ## Geeft als resultaat de inverse tangens hyperbolicus van een getal -CEILING = AFRONDEN.BOVEN ## Rondt de absolute waarde van een getal naar boven af op het dichtstbijzijnde gehele getal of het dichtstbijzijnde significante veelvoud -COMBIN = COMBINATIES ## Geeft als resultaat het aantal combinaties voor een bepaald aantal objecten -COS = COS ## Geeft als resultaat de cosinus van een getal -COSH = COSH ## Geeft als resultaat de cosinus hyperbolicus van een getal -DEGREES = GRADEN ## Converteert radialen naar graden -EVEN = EVEN ## Rondt het getal af op het dichtstbijzijnde gehele even getal -EXP = EXP ## Verheft e tot de macht van een bepaald getal -FACT = FACULTEIT ## Geeft als resultaat de faculteit van een getal -FACTDOUBLE = DUBBELE.FACULTEIT ## Geeft als resultaat de dubbele faculteit van een getal -FLOOR = AFRONDEN.BENEDEN ## Rondt de absolute waarde van een getal naar beneden af -GCD = GGD ## Geeft als resultaat de grootste gemene deler -INT = INTEGER ## Rondt een getal naar beneden af op het dichtstbijzijnde gehele getal -LCM = KGV ## Geeft als resultaat het kleinste gemene veelvoud -LN = LN ## Geeft als resultaat de natuurlijke logaritme van een getal -LOG = LOG ## Geeft als resultaat de logaritme met het opgegeven grondtal van een getal -LOG10 = LOG10 ## Geeft als resultaat de logaritme met grondtal 10 van een getal -MDETERM = DETERMINANTMAT ## Geeft als resultaat de determinant van een matrix -MINVERSE = INVERSEMAT ## Geeft als resultaat de inverse van een matrix -MMULT = PRODUCTMAT ## Geeft als resultaat het product van twee matrices -MOD = REST ## Geeft als resultaat het restgetal van een deling -MROUND = AFRONDEN.N.VEELVOUD ## Geeft als resultaat een getal afgerond op het gewenste veelvoud -MULTINOMIAL = MULTINOMIAAL ## Geeft als resultaat de multinomiaalcoëfficiënt van een reeks getallen -ODD = ONEVEN ## Rondt de absolute waarde van het getal naar boven af op het dichtstbijzijnde gehele oneven getal -PI = PI ## Geeft als resultaat de waarde van pi -POWER = MACHT ## Verheft een getal tot een macht -PRODUCT = PRODUCT ## Vermenigvuldigt de argumenten met elkaar -QUOTIENT = QUOTIENT ## Geeft als resultaat de uitkomst van een deling als geheel getal -RADIANS = RADIALEN ## Converteert graden naar radialen -RAND = ASELECT ## Geeft als resultaat een willekeurig getal tussen 0 en 1 -RANDBETWEEN = ASELECTTUSSEN ## Geeft een willekeurig getal tussen de getallen die u hebt opgegeven -ROMAN = ROMEINS ## Converteert een Arabisch getal naar een Romeins getal en geeft het resultaat weer in de vorm van tekst -ROUND = AFRONDEN ## Rondt een getal af op het opgegeven aantal decimalen -ROUNDDOWN = AFRONDEN.NAAR.BENEDEN ## Rondt de absolute waarde van een getal naar beneden af -ROUNDUP = AFRONDEN.NAAR.BOVEN ## Rondt de absolute waarde van een getal naar boven af -SERIESSUM = SOM.MACHTREEKS ## Geeft als resultaat de som van een machtreeks die is gebaseerd op de formule -SIGN = POS.NEG ## Geeft als resultaat het teken van een getal -SIN = SIN ## Geeft als resultaat de sinus van de opgegeven hoek -SINH = SINH ## Geeft als resultaat de sinus hyperbolicus van een getal -SQRT = WORTEL ## Geeft als resultaat de positieve vierkantswortel van een getal -SQRTPI = WORTEL.PI ## Geeft als resultaat de vierkantswortel van (getal * pi) -SUBTOTAL = SUBTOTAAL ## Geeft als resultaat een subtotaal voor een bereik -SUM = SOM ## Telt de argumenten op -SUMIF = SOM.ALS ## Telt de getallen bij elkaar op die voldoen aan een bepaald criterium -SUMIFS = SOMMEN.ALS ## Telt de cellen in een bereik op die aan meerdere criteria voldoen -SUMPRODUCT = SOMPRODUCT ## Geeft als resultaat de som van de producten van de corresponderende matrixelementen -SUMSQ = KWADRATENSOM ## Geeft als resultaat de som van de kwadraten van de argumenten -SUMX2MY2 = SOM.X2MINY2 ## Geeft als resultaat de som van het verschil tussen de kwadraten van corresponderende waarden in twee matrices -SUMX2PY2 = SOM.X2PLUSY2 ## Geeft als resultaat de som van de kwadratensom van corresponderende waarden in twee matrices -SUMXMY2 = SOM.XMINY.2 ## Geeft als resultaat de som van de kwadraten van de verschillen tussen de corresponderende waarden in twee matrices -TAN = TAN ## Geeft als resultaat de tangens van een getal -TANH = TANH ## Geeft als resultaat de tangens hyperbolicus van een getal -TRUNC = GEHEEL ## Kapt een getal af tot een geheel getal - - -## -## Statistical functions Statistische functies -## -AVEDEV = GEM.DEVIATIE ## Geeft als resultaat het gemiddelde van de absolute deviaties van gegevenspunten ten opzichte van hun gemiddelde waarde -AVERAGE = GEMIDDELDE ## Geeft als resultaat het gemiddelde van de argumenten -AVERAGEA = GEMIDDELDEA ## Geeft als resultaat het gemiddelde van de argumenten, inclusief getallen, tekst en logische waarden -AVERAGEIF = GEMIDDELDE.ALS ## Geeft het gemiddelde (rekenkundig gemiddelde) als resultaat van alle cellen in een bereik die voldoen aan de opgegeven criteria -AVERAGEIFS = GEMIDDELDEN.ALS ## Geeft het gemiddelde (rekenkundig gemiddelde) als resultaat van alle cellen die aan meerdere criteria voldoen -BETADIST = BETA.VERD ## Geeft als resultaat de cumulatieve bèta-verdelingsfunctie -BETAINV = BETA.INV ## Geeft als resultaat de inverse van de cumulatieve verdelingsfunctie voor een gegeven bèta-verdeling -BINOMDIST = BINOMIALE.VERD ## Geeft als resultaat de binomiale verdeling -CHIDIST = CHI.KWADRAAT ## Geeft als resultaat de eenzijdige kans van de chi-kwadraatverdeling -CHIINV = CHI.KWADRAAT.INV ## Geeft als resultaat de inverse van een eenzijdige kans van de chi-kwadraatverdeling -CHITEST = CHI.TOETS ## Geeft als resultaat de onafhankelijkheidstoets -CONFIDENCE = BETROUWBAARHEID ## Geeft als resultaat het betrouwbaarheidsinterval van een gemiddelde waarde voor de elementen van een populatie -CORREL = CORRELATIE ## Geeft als resultaat de correlatiecoëfficiënt van twee gegevensverzamelingen -COUNT = AANTAL ## Telt het aantal getallen in de argumentenlijst -COUNTA = AANTALARG ## Telt het aantal waarden in de argumentenlijst -COUNTBLANK = AANTAL.LEGE.CELLEN ## Telt het aantal lege cellen in een bereik -COUNTIF = AANTAL.ALS ## Telt in een bereik het aantal cellen die voldoen aan een bepaald criterium -COUNTIFS = AANTALLEN.ALS ## Telt in een bereik het aantal cellen die voldoen aan meerdere criteria -COVAR = COVARIANTIE ## Geeft als resultaat de covariantie, het gemiddelde van de producten van de gepaarde deviaties -CRITBINOM = CRIT.BINOM ## Geeft als resultaat de kleinste waarde waarvoor de binomiale verdeling kleiner is dan of gelijk is aan het criterium -DEVSQ = DEV.KWAD ## Geeft als resultaat de som van de deviaties in het kwadraat -EXPONDIST = EXPON.VERD ## Geeft als resultaat de exponentiële verdeling -FDIST = F.VERDELING ## Geeft als resultaat de F-verdeling -FINV = F.INVERSE ## Geeft als resultaat de inverse van de F-verdeling -FISHER = FISHER ## Geeft als resultaat de Fisher-transformatie -FISHERINV = FISHER.INV ## Geeft als resultaat de inverse van de Fisher-transformatie -FORECAST = VOORSPELLEN ## Geeft als resultaat een waarde op basis van een lineaire trend -FREQUENCY = FREQUENTIE ## Geeft als resultaat een frequentieverdeling in de vorm van een verticale matrix -FTEST = F.TOETS ## Geeft als resultaat een F-toets -GAMMADIST = GAMMA.VERD ## Geeft als resultaat de gamma-verdeling -GAMMAINV = GAMMA.INV ## Geeft als resultaat de inverse van de cumulatieve gamma-verdeling -GAMMALN = GAMMA.LN ## Geeft als resultaat de natuurlijke logaritme van de gamma-functie, G(x) -GEOMEAN = MEETK.GEM ## Geeft als resultaat het meetkundige gemiddelde -GROWTH = GROEI ## Geeft als resultaat de waarden voor een exponentiële trend -HARMEAN = HARM.GEM ## Geeft als resultaat het harmonische gemiddelde -HYPGEOMDIST = HYPERGEO.VERD ## Geeft als resultaat de hypergeometrische verdeling -INTERCEPT = SNIJPUNT ## Geeft als resultaat het snijpunt van de lineaire regressielijn met de y-as -KURT = KURTOSIS ## Geeft als resultaat de kurtosis van een gegevensverzameling -LARGE = GROOTSTE ## Geeft als resultaat de op k-1 na grootste waarde in een gegevensverzameling -LINEST = LIJNSCH ## Geeft als resultaat de parameters van een lineaire trend -LOGEST = LOGSCH ## Geeft als resultaat de parameters van een exponentiële trend -LOGINV = LOG.NORM.INV ## Geeft als resultaat de inverse van de logaritmische normale verdeling -LOGNORMDIST = LOG.NORM.VERD ## Geeft als resultaat de cumulatieve logaritmische normale verdeling -MAX = MAX ## Geeft als resultaat de maximumwaarde in een lijst met argumenten -MAXA = MAXA ## Geeft als resultaat de maximumwaarde in een lijst met argumenten, inclusief getallen, tekst en logische waarden -MEDIAN = MEDIAAN ## Geeft als resultaat de mediaan van de opgegeven getallen -MIN = MIN ## Geeft als resultaat de minimumwaarde in een lijst met argumenten -MINA = MINA ## Geeft als resultaat de minimumwaarde in een lijst met argumenten, inclusief getallen, tekst en logische waarden -MODE = MODUS ## Geeft als resultaat de meest voorkomende waarde in een gegevensverzameling -NEGBINOMDIST = NEG.BINOM.VERD ## Geeft als resultaat de negatieve binomiaalverdeling -NORMDIST = NORM.VERD ## Geeft als resultaat de cumulatieve normale verdeling -NORMINV = NORM.INV ## Geeft als resultaat de inverse van de cumulatieve standaardnormale verdeling -NORMSDIST = STAND.NORM.VERD ## Geeft als resultaat de cumulatieve standaardnormale verdeling -NORMSINV = STAND.NORM.INV ## Geeft als resultaat de inverse van de cumulatieve normale verdeling -PEARSON = PEARSON ## Geeft als resultaat de correlatiecoëfficiënt van Pearson -PERCENTILE = PERCENTIEL ## Geeft als resultaat het k-de percentiel van waarden in een bereik -PERCENTRANK = PERCENT.RANG ## Geeft als resultaat de positie, in procenten uitgedrukt, van een waarde in de rangorde van een gegevensverzameling -PERMUT = PERMUTATIES ## Geeft als resultaat het aantal permutaties voor een gegeven aantal objecten -POISSON = POISSON ## Geeft als resultaat de Poisson-verdeling -PROB = KANS ## Geeft als resultaat de kans dat waarden zich tussen twee grenzen bevinden -QUARTILE = KWARTIEL ## Geeft als resultaat het kwartiel van een gegevensverzameling -RANK = RANG ## Geeft als resultaat het rangnummer van een getal in een lijst getallen -RSQ = R.KWADRAAT ## Geeft als resultaat het kwadraat van de Pearson-correlatiecoëfficiënt -SKEW = SCHEEFHEID ## Geeft als resultaat de mate van asymmetrie van een verdeling -SLOPE = RICHTING ## Geeft als resultaat de richtingscoëfficiënt van een lineaire regressielijn -SMALL = KLEINSTE ## Geeft als resultaat de op k-1 na kleinste waarde in een gegevensverzameling -STANDARDIZE = NORMALISEREN ## Geeft als resultaat een genormaliseerde waarde -STDEV = STDEV ## Maakt een schatting van de standaarddeviatie op basis van een steekproef -STDEVA = STDEVA ## Maakt een schatting van de standaarddeviatie op basis van een steekproef, inclusief getallen, tekst en logische waarden -STDEVP = STDEVP ## Berekent de standaarddeviatie op basis van de volledige populatie -STDEVPA = STDEVPA ## Berekent de standaarddeviatie op basis van de volledige populatie, inclusief getallen, tekst en logische waarden -STEYX = STAND.FOUT.YX ## Geeft als resultaat de standaardfout in de voorspelde y-waarde voor elke x in een regressie -TDIST = T.VERD ## Geeft als resultaat de Student T-verdeling -TINV = T.INV ## Geeft als resultaat de inverse van de Student T-verdeling -TREND = TREND ## Geeft als resultaat de waarden voor een lineaire trend -TRIMMEAN = GETRIMD.GEM ## Geeft als resultaat het gemiddelde van waarden in een gegevensverzameling -TTEST = T.TOETS ## Geeft als resultaat de kans met behulp van de Student T-toets -VAR = VAR ## Maakt een schatting van de variantie op basis van een steekproef -VARA = VARA ## Maakt een schatting van de variantie op basis van een steekproef, inclusief getallen, tekst en logische waarden -VARP = VARP ## Berekent de variantie op basis van de volledige populatie -VARPA = VARPA ## Berekent de standaarddeviatie op basis van de volledige populatie, inclusief getallen, tekst en logische waarden -WEIBULL = WEIBULL ## Geeft als resultaat de Weibull-verdeling -ZTEST = Z.TOETS ## Geeft als resultaat de eenzijdige kanswaarde van een Z-toets - - -## -## Text functions Tekstfuncties -## -ASC = ASC ## Wijzigt Nederlandse letters of katakanatekens over de volle breedte (dubbel-bytetekens) binnen een tekenreeks in tekens over de halve breedte (enkel-bytetekens) -BAHTTEXT = BAHT.TEKST ## Converteert een getal naar tekst met de valutanotatie ß (baht) -CHAR = TEKEN ## Geeft als resultaat het teken dat hoort bij de opgegeven code -CLEAN = WISSEN.CONTROL ## Verwijdert alle niet-afdrukbare tekens uit een tekst -CODE = CODE ## Geeft als resultaat de numerieke code voor het eerste teken in een tekenreeks -CONCATENATE = TEKST.SAMENVOEGEN ## Voegt verschillende tekstfragmenten samen tot één tekstfragment -DOLLAR = EURO ## Converteert een getal naar tekst met de valutanotatie € (euro) -EXACT = GELIJK ## Controleert of twee tekenreeksen identiek zijn -FIND = VIND.ALLES ## Zoekt een bepaalde tekenreeks in een tekst (waarbij onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -FINDB = VIND.ALLES.B ## Zoekt een bepaalde tekenreeks in een tekst (waarbij onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -FIXED = VAST ## Maakt een getal als tekst met een vast aantal decimalen op -JIS = JIS ## Wijzigt Nederlandse letters of katakanatekens over de halve breedte (enkel-bytetekens) binnen een tekenreeks in tekens over de volle breedte (dubbel-bytetekens) -LEFT = LINKS ## Geeft als resultaat de meest linkse tekens in een tekenreeks -LEFTB = LINKSB ## Geeft als resultaat de meest linkse tekens in een tekenreeks -LEN = LENGTE ## Geeft als resultaat het aantal tekens in een tekenreeks -LENB = LENGTEB ## Geeft als resultaat het aantal tekens in een tekenreeks -LOWER = KLEINE.LETTERS ## Zet tekst om in kleine letters -MID = MIDDEN ## Geeft als resultaat een bepaald aantal tekens van een tekenreeks vanaf de positie die u opgeeft -MIDB = DEELB ## Geeft als resultaat een bepaald aantal tekens van een tekenreeks vanaf de positie die u opgeeft -PHONETIC = FONETISCH ## Haalt de fonetische tekens (furigana) uit een tekenreeks op -PROPER = BEGINLETTERS ## Zet de eerste letter van elk woord in een tekst om in een hoofdletter -REPLACE = VERVANG ## Vervangt tekens binnen een tekst -REPLACEB = VERVANGENB ## Vervangt tekens binnen een tekst -REPT = HERHALING ## Herhaalt een tekst een aantal malen -RIGHT = RECHTS ## Geeft als resultaat de meest rechtse tekens in een tekenreeks -RIGHTB = RECHTSB ## Geeft als resultaat de meest rechtse tekens in een tekenreeks -SEARCH = VIND.SPEC ## Zoekt een bepaalde tekenreeks in een tekst (waarbij geen onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -SEARCHB = VIND.SPEC.B ## Zoekt een bepaalde tekenreeks in een tekst (waarbij geen onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -SUBSTITUTE = SUBSTITUEREN ## Vervangt oude tekst door nieuwe tekst in een tekenreeks -T = T ## Converteert de argumenten naar tekst -TEXT = TEKST ## Maakt een getal op en converteert het getal naar tekst -TRIM = SPATIES.WISSEN ## Verwijdert de spaties uit een tekst -UPPER = HOOFDLETTERS ## Zet tekst om in hoofdletters -VALUE = WAARDE ## Converteert tekst naar een getal diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/nl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/config deleted file mode 100644 index bf2d34a7f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = kr - - -## -## Excel Error Codes (For future use) -## -NULL = #NULL! -DIV0 = #DIV/0! -VALUE = #VERDI! -REF = #REF! -NAME = #NAVN? -NUM = #NUM! -NA = #I/T diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/functions deleted file mode 100644 index 10d0a2076..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funksjonene Tillegg og Automatisering -## -GETPIVOTDATA = HENTPIVOTDATA ## Returnerer data som er lagret i en pivottabellrapport - - -## -## Cube functions Kubefunksjoner -## -CUBEKPIMEMBER = KUBEKPIMEDLEM ## Returnerer navnet, egenskapen og målet for en viktig ytelsesindikator (KPI), og viser navnet og egenskapen i cellen. En KPI er en målbar enhet, for eksempel månedlig bruttoinntjening eller kvartalsvis inntjening per ansatt, og brukes til å overvåke ytelsen i en organisasjon. -CUBEMEMBER = KUBEMEDLEM ## Returnerer et medlem eller en tuppel i et kubehierarki. Brukes til å validere at medlemmet eller tuppelen finnes i kuben. -CUBEMEMBERPROPERTY = KUBEMEDLEMEGENSKAP ## Returnerer verdien til en medlemsegenskap i kuben. Brukes til å validere at et medlemsnavn finnes i kuben, og til å returnere den angitte egenskapen for dette medlemmet. -CUBERANKEDMEMBER = KUBERANGERTMEDLEM ## Returnerer det n-te, eller rangerte, medlemmet i et sett. Brukes til å returnere ett eller flere elementer i et sett, for eksempel de 10 beste studentene. -CUBESET = KUBESETT ## Definerer et beregnet sett av medlemmer eller tuppeler ved å sende et settuttrykk til kuben på serveren, noe som oppretter settet og deretter returnerer dette settet til Microsoft Office Excel. -CUBESETCOUNT = KUBESETTANTALL ## Returnerer antallet elementer i et sett. -CUBEVALUE = KUBEVERDI ## Returnerer en aggregert verdi fra en kube. - - -## -## Database functions Databasefunksjoner -## -DAVERAGE = DGJENNOMSNITT ## Returnerer gjennomsnittet av merkede databaseposter -DCOUNT = DANTALL ## Teller celler som inneholder tall i en database -DCOUNTA = DANTALLA ## Teller celler som ikke er tomme i en database -DGET = DHENT ## Trekker ut fra en database en post som oppfyller angitte vilkår -DMAX = DMAKS ## Returnerer maksimumsverdien fra merkede databaseposter -DMIN = DMIN ## Returnerer minimumsverdien fra merkede databaseposter -DPRODUCT = DPRODUKT ## Multipliserer verdiene i et bestemt felt med poster som oppfyller vilkårene i en database -DSTDEV = DSTDAV ## Estimerer standardavviket basert på et utvalg av merkede databaseposter -DSTDEVP = DSTAVP ## Beregner standardavviket basert på at merkede databaseposter utgjør hele populasjonen -DSUM = DSUMMER ## Legger til tallene i feltkolonnen med poster, i databasen som oppfyller vilkårene -DVAR = DVARIANS ## Estimerer variansen basert på et utvalg av merkede databaseposter -DVARP = DVARIANSP ## Beregner variansen basert på at merkede databaseposter utgjør hele populasjonen - - -## -## Date and time functions Dato- og tidsfunksjoner -## -DATE = DATO ## Returnerer serienummeret som svarer til en bestemt dato -DATEVALUE = DATOVERDI ## Konverterer en dato med tekstformat til et serienummer -DAY = DAG ## Konverterer et serienummer til en dag i måneden -DAYS360 = DAGER360 ## Beregner antall dager mellom to datoer basert på et år med 360 dager -EDATE = DAG.ETTER ## Returnerer serienummeret som svarer til datoen som er det indikerte antall måneder før eller etter startdatoen -EOMONTH = MÅNEDSSLUTT ## Returnerer serienummeret som svarer til siste dag i måneden, før eller etter et angitt antall måneder -HOUR = TIME ## Konverterer et serienummer til en time -MINUTE = MINUTT ## Konverterer et serienummer til et minutt -MONTH = MÅNED ## Konverterer et serienummer til en måned -NETWORKDAYS = NETT.ARBEIDSDAGER ## Returnerer antall hele arbeidsdager mellom to datoer -NOW = NÅ ## Returnerer serienummeret som svarer til gjeldende dato og klokkeslett -SECOND = SEKUND ## Konverterer et serienummer til et sekund -TIME = TID ## Returnerer serienummeret som svarer til et bestemt klokkeslett -TIMEVALUE = TIDSVERDI ## Konverterer et klokkeslett i tekstformat til et serienummer -TODAY = IDAG ## Returnerer serienummeret som svarer til dagens dato -WEEKDAY = UKEDAG ## Konverterer et serienummer til en ukedag -WEEKNUM = UKENR ## Konverterer et serienummer til et tall som representerer hvilket nummer uken har i et år -WORKDAY = ARBEIDSDAG ## Returnerer serienummeret som svarer til datoen før eller etter et angitt antall arbeidsdager -YEAR = ÅR ## Konverterer et serienummer til et år -YEARFRAC = ÅRDEL ## Returnerer brøkdelen for året, som svarer til antall hele dager mellom startdato og sluttdato - - -## -## Engineering functions Tekniske funksjoner -## -BESSELI = BESSELI ## Returnerer den endrede Bessel-funksjonen In(x) -BESSELJ = BESSELJ ## Returnerer Bessel-funksjonen Jn(x) -BESSELK = BESSELK ## Returnerer den endrede Bessel-funksjonen Kn(x) -BESSELY = BESSELY ## Returnerer Bessel-funksjonen Yn(x) -BIN2DEC = BINTILDES ## Konverterer et binært tall til et desimaltall -BIN2HEX = BINTILHEKS ## Konverterer et binært tall til et heksadesimaltall -BIN2OCT = BINTILOKT ## Konverterer et binært tall til et oktaltall -COMPLEX = KOMPLEKS ## Konverterer reelle og imaginære koeffisienter til et komplekst tall -CONVERT = KONVERTER ## Konverterer et tall fra ett målsystem til et annet -DEC2BIN = DESTILBIN ## Konverterer et desimaltall til et binærtall -DEC2HEX = DESTILHEKS ## Konverterer et heltall i 10-tallsystemet til et heksadesimalt tall -DEC2OCT = DESTILOKT ## Konverterer et heltall i 10-tallsystemet til et oktaltall -DELTA = DELTA ## Undersøker om to verdier er like -ERF = FEILF ## Returnerer feilfunksjonen -ERFC = FEILFK ## Returnerer den komplementære feilfunksjonen -GESTEP = GRENSEVERDI ## Tester om et tall er større enn en terskelverdi -HEX2BIN = HEKSTILBIN ## Konverterer et heksadesimaltall til et binært tall -HEX2DEC = HEKSTILDES ## Konverterer et heksadesimalt tall til et heltall i 10-tallsystemet -HEX2OCT = HEKSTILOKT ## Konverterer et heksadesimalt tall til et oktaltall -IMABS = IMABS ## Returnerer absoluttverdien (koeffisienten) til et komplekst tall -IMAGINARY = IMAGINÆR ## Returnerer den imaginære koeffisienten til et komplekst tall -IMARGUMENT = IMARGUMENT ## Returnerer argumentet theta, som er en vinkel uttrykt i radianer -IMCONJUGATE = IMKONJUGERT ## Returnerer den komplekse konjugaten til et komplekst tall -IMCOS = IMCOS ## Returnerer cosinus til et komplekst tall -IMDIV = IMDIV ## Returnerer kvotienten til to komplekse tall -IMEXP = IMEKSP ## Returnerer eksponenten til et komplekst tall -IMLN = IMLN ## Returnerer den naturlige logaritmen for et komplekst tall -IMLOG10 = IMLOG10 ## Returnerer logaritmen med grunntall 10 for et komplekst tall -IMLOG2 = IMLOG2 ## Returnerer logaritmen med grunntall 2 for et komplekst tall -IMPOWER = IMOPPHØY ## Returnerer et komplekst tall opphøyd til en heltallspotens -IMPRODUCT = IMPRODUKT ## Returnerer produktet av komplekse tall -IMREAL = IMREELL ## Returnerer den reelle koeffisienten til et komplekst tall -IMSIN = IMSIN ## Returnerer sinus til et komplekst tall -IMSQRT = IMROT ## Returnerer kvadratroten av et komplekst tall -IMSUB = IMSUB ## Returnerer differansen mellom to komplekse tall -IMSUM = IMSUMMER ## Returnerer summen av komplekse tall -OCT2BIN = OKTTILBIN ## Konverterer et oktaltall til et binært tall -OCT2DEC = OKTTILDES ## Konverterer et oktaltall til et desimaltall -OCT2HEX = OKTTILHEKS ## Konverterer et oktaltall til et heksadesimaltall - - -## -## Financial functions Økonomiske funksjoner -## -ACCRINT = PÅLØPT.PERIODISK.RENTE ## Returnerer påløpte renter for et verdipapir som betaler periodisk rente -ACCRINTM = PÅLØPT.FORFALLSRENTE ## Returnerer den påløpte renten for et verdipapir som betaler rente ved forfall -AMORDEGRC = AMORDEGRC ## Returnerer avskrivningen for hver regnskapsperiode ved hjelp av en avskrivingskoeffisient -AMORLINC = AMORLINC ## Returnerer avskrivingen for hver regnskapsperiode -COUPDAYBS = OBLIG.DAGER.FF ## Returnerer antall dager fra begynnelsen av den rentebærende perioden til innløsningsdatoen -COUPDAYS = OBLIG.DAGER ## Returnerer antall dager i den rentebærende perioden som inneholder innløsningsdatoen -COUPDAYSNC = OBLIG.DAGER.NF ## Returnerer antall dager fra betalingsdato til neste renteinnbetalingsdato -COUPNCD = OBLIG.DAGER.EF ## Returnerer obligasjonsdatoen som kommer etter oppgjørsdatoen -COUPNUM = OBLIG.ANTALL ## Returnerer antall obligasjoner som skal betales mellom oppgjørsdatoen og forfallsdatoen -COUPPCD = OBLIG.DAG.FORRIGE ## Returnerer obligasjonsdatoen som kommer før oppgjørsdatoen -CUMIPMT = SAMLET.RENTE ## Returnerer den kumulative renten som er betalt mellom to perioder -CUMPRINC = SAMLET.HOVEDSTOL ## Returnerer den kumulative hovedstolen som er betalt for et lån mellom to perioder -DB = DAVSKR ## Returnerer avskrivningen for et aktivum i en angitt periode, foretatt med fast degressiv avskrivning -DDB = DEGRAVS ## Returnerer avskrivningen for et aktivum for en gitt periode, ved hjelp av dobbel degressiv avskrivning eller en metode som du selv angir -DISC = DISKONTERT ## Returnerer diskonteringsraten for et verdipapir -DOLLARDE = DOLLARDE ## Konverterer en valutapris uttrykt som en brøk, til en valutapris uttrykt som et desimaltall -DOLLARFR = DOLLARBR ## Konverterer en valutapris uttrykt som et desimaltall, til en valutapris uttrykt som en brøk -DURATION = VARIGHET ## Returnerer årlig varighet for et verdipapir med renter som betales periodisk -EFFECT = EFFEKTIV.RENTE ## Returnerer den effektive årlige rentesatsen -FV = SLUTTVERDI ## Returnerer fremtidig verdi for en investering -FVSCHEDULE = SVPLAN ## Returnerer den fremtidige verdien av en inngående hovedstol etter å ha anvendt en serie med sammensatte rentesatser -INTRATE = RENTESATS ## Returnerer rentefoten av et fullfinansiert verdipapir -IPMT = RAVDRAG ## Returnerer betalte renter på en investering for en gitt periode -IRR = IR ## Returnerer internrenten for en serie kontantstrømmer -ISPMT = ER.AVDRAG ## Beregner renten som er betalt for en investering i løpet av en bestemt periode -MDURATION = MVARIGHET ## Returnerer Macauleys modifiserte varighet for et verdipapir med en antatt pålydende verdi på kr 100,00 -MIRR = MODIR ## Returnerer internrenten der positive og negative kontantstrømmer finansieres med forskjellige satser -NOMINAL = NOMINELL ## Returnerer årlig nominell rentesats -NPER = PERIODER ## Returnerer antall perioder for en investering -NPV = NNV ## Returnerer netto nåverdi for en investering, basert på en serie periodiske kontantstrømmer og en rentesats -ODDFPRICE = AVVIKFP.PRIS ## Returnerer pris pålydende kr 100 for et verdipapir med en odde første periode -ODDFYIELD = AVVIKFP.AVKASTNING ## Returnerer avkastingen for et verdipapir med en odde første periode -ODDLPRICE = AVVIKSP.PRIS ## Returnerer pris pålydende kr 100 for et verdipapir med en odde siste periode -ODDLYIELD = AVVIKSP.AVKASTNING ## Returnerer avkastingen for et verdipapir med en odde siste periode -PMT = AVDRAG ## Returnerer periodisk betaling for en annuitet -PPMT = AMORT ## Returnerer betalingen på hovedstolen for en investering i en gitt periode -PRICE = PRIS ## Returnerer prisen per pålydende kr 100 for et verdipapir som gir periodisk avkastning -PRICEDISC = PRIS.DISKONTERT ## Returnerer prisen per pålydende kr 100 for et diskontert verdipapir -PRICEMAT = PRIS.FORFALL ## Returnerer prisen per pålydende kr 100 av et verdipapir som betaler rente ved forfall -PV = NÅVERDI ## Returnerer nåverdien av en investering -RATE = RENTE ## Returnerer rentesatsen per periode for en annuitet -RECEIVED = MOTTATT.AVKAST ## Returnerer summen som mottas ved forfallsdato for et fullinvestert verdipapir -SLN = LINAVS ## Returnerer den lineære avskrivningen for et aktivum i én periode -SYD = ÅRSAVS ## Returnerer årsavskrivningen for et aktivum i en angitt periode -TBILLEQ = TBILLEKV ## Returnerer den obligasjonsekvivalente avkastningen for en statsobligasjon -TBILLPRICE = TBILLPRIS ## Returnerer prisen per pålydende kr 100 for en statsobligasjon -TBILLYIELD = TBILLAVKASTNING ## Returnerer avkastningen til en statsobligasjon -VDB = VERDIAVS ## Returnerer avskrivningen for et aktivum i en angitt periode eller delperiode, ved hjelp av degressiv avskrivning -XIRR = XIR ## Returnerer internrenten for en serie kontantstrømmer som ikke nødvendigvis er periodiske -XNPV = XNNV ## Returnerer netto nåverdi for en serie kontantstrømmer som ikke nødvendigvis er periodiske -YIELD = AVKAST ## Returnerer avkastningen på et verdipapir som betaler periodisk rente -YIELDDISC = AVKAST.DISKONTERT ## Returnerer årlig avkastning for et diskontert verdipapir, for eksempel en statskasseveksel -YIELDMAT = AVKAST.FORFALL ## Returnerer den årlige avkastningen for et verdipapir som betaler rente ved forfallsdato - - -## -## Information functions Informasjonsfunksjoner -## -CELL = CELLE ## Returnerer informasjon om formatering, plassering eller innholdet til en celle -ERROR.TYPE = FEIL.TYPE ## Returnerer et tall som svarer til en feiltype -INFO = INFO ## Returnerer informasjon om gjeldende operativmiljø -ISBLANK = ERTOM ## Returnerer SANN hvis verdien er tom -ISERR = ERFEIL ## Returnerer SANN hvis verdien er en hvilken som helst annen feilverdi enn #I/T -ISERROR = ERFEIL ## Returnerer SANN hvis verdien er en hvilken som helst feilverdi -ISEVEN = ERPARTALL ## Returnerer SANN hvis tallet er et partall -ISLOGICAL = ERLOGISK ## Returnerer SANN hvis verdien er en logisk verdi -ISNA = ERIT ## Returnerer SANN hvis verdien er feilverdien #I/T -ISNONTEXT = ERIKKETEKST ## Returnerer SANN hvis verdien ikke er tekst -ISNUMBER = ERTALL ## Returnerer SANN hvis verdien er et tall -ISODD = ERODDETALL ## Returnerer SANN hvis tallet er et oddetall -ISREF = ERREF ## Returnerer SANN hvis verdien er en referanse -ISTEXT = ERTEKST ## Returnerer SANN hvis verdien er tekst -N = N ## Returnerer en verdi som er konvertert til et tall -NA = IT ## Returnerer feilverdien #I/T -TYPE = VERDITYPE ## Returnerer et tall som indikerer datatypen til en verdi - - -## -## Logical functions Logiske funksjoner -## -AND = OG ## Returnerer SANN hvis alle argumentene er lik SANN -FALSE = USANN ## Returnerer den logiske verdien USANN -IF = HVIS ## Angir en logisk test som skal utføres -IFERROR = HVISFEIL ## Returnerer en verdi du angir hvis en formel evaluerer til en feil. Ellers returnerer den resultatet av formelen. -NOT = IKKE ## Reverserer logikken til argumentet -OR = ELLER ## Returnerer SANN hvis ett eller flere argumenter er lik SANN -TRUE = SANN ## Returnerer den logiske verdien SANN - - -## -## Lookup and reference functions Oppslag- og referansefunksjoner -## -ADDRESS = ADRESSE ## Returnerer en referanse som tekst til en enkelt celle i et regneark -AREAS = OMRÅDER ## Returnerer antall områder i en referanse -CHOOSE = VELG ## Velger en verdi fra en liste med verdier -COLUMN = KOLONNE ## Returnerer kolonnenummeret for en referanse -COLUMNS = KOLONNER ## Returnerer antall kolonner i en referanse -HLOOKUP = FINN.KOLONNE ## Leter i den øverste raden i en matrise og returnerer verdien for den angitte cellen -HYPERLINK = HYPERKOBLING ## Oppretter en snarvei eller et hopp som åpner et dokument som er lagret på en nettverksserver, et intranett eller Internett -INDEX = INDEKS ## Bruker en indeks til å velge en verdi fra en referanse eller matrise -INDIRECT = INDIREKTE ## Returnerer en referanse angitt av en tekstverdi -LOOKUP = SLÅ.OPP ## Slår opp verdier i en vektor eller matrise -MATCH = SAMMENLIGNE ## Slår opp verdier i en referanse eller matrise -OFFSET = FORSKYVNING ## Returnerer en referanseforskyvning fra en gitt referanse -ROW = RAD ## Returnerer radnummeret for en referanse -ROWS = RADER ## Returnerer antall rader i en referanse -RTD = RTD ## Henter sanntidsdata fra et program som støtter COM-automatisering (automatisering: En måte å arbeide på med programobjekter fra et annet program- eller utviklingsverktøy. Tidligere kalt OLE-automatisering. Automatisering er en bransjestandard og en funksjon i Component Object Model (COM).) -TRANSPOSE = TRANSPONER ## Returnerer transponeringen av en matrise -VLOOKUP = FINN.RAD ## Leter i den første kolonnen i en matrise og flytter bortover raden for å returnere verdien til en celle - - -## -## Math and trigonometry functions Matematikk- og trigonometrifunksjoner -## -ABS = ABS ## Returnerer absoluttverdien til et tall -ACOS = ARCCOS ## Returnerer arcus cosinus til et tall -ACOSH = ARCCOSH ## Returnerer den inverse hyperbolske cosinus til et tall -ASIN = ARCSIN ## Returnerer arcus sinus til et tall -ASINH = ARCSINH ## Returnerer den inverse hyperbolske sinus til et tall -ATAN = ARCTAN ## Returnerer arcus tangens til et tall -ATAN2 = ARCTAN2 ## Returnerer arcus tangens fra x- og y-koordinater -ATANH = ARCTANH ## Returnerer den inverse hyperbolske tangens til et tall -CEILING = AVRUND.GJELDENDE.MULTIPLUM ## Runder av et tall til nærmeste heltall eller til nærmeste signifikante multiplum -COMBIN = KOMBINASJON ## Returnerer antall kombinasjoner for ett gitt antall objekter -COS = COS ## Returnerer cosinus til et tall -COSH = COSH ## Returnerer den hyperbolske cosinus til et tall -DEGREES = GRADER ## Konverterer radianer til grader -EVEN = AVRUND.TIL.PARTALL ## Runder av et tall oppover til nærmeste heltall som er et partall -EXP = EKSP ## Returnerer e opphøyd i en angitt potens -FACT = FAKULTET ## Returnerer fakultet til et tall -FACTDOUBLE = DOBBELFAKT ## Returnerer et talls doble fakultet -FLOOR = AVRUND.GJELDENDE.MULTIPLUM.NED ## Avrunder et tall nedover, mot null -GCD = SFF ## Returnerer høyeste felles divisor -INT = HELTALL ## Avrunder et tall nedover til nærmeste heltall -LCM = MFM ## Returnerer minste felles multiplum -LN = LN ## Returnerer den naturlige logaritmen til et tall -LOG = LOG ## Returnerer logaritmen for et tall til et angitt grunntall -LOG10 = LOG10 ## Returnerer logaritmen med grunntall 10 for et tall -MDETERM = MDETERM ## Returnerer matrisedeterminanten til en matrise -MINVERSE = MINVERS ## Returnerer den inverse matrisen til en matrise -MMULT = MMULT ## Returnerer matriseproduktet av to matriser -MOD = REST ## Returnerer resten fra en divisjon -MROUND = MRUND ## Returnerer et tall avrundet til det ønskede multiplum -MULTINOMIAL = MULTINOMINELL ## Returnerer det multinominelle for et sett med tall -ODD = AVRUND.TIL.ODDETALL ## Runder av et tall oppover til nærmeste heltall som er et oddetall -PI = PI ## Returnerer verdien av pi -POWER = OPPHØYD.I ## Returnerer resultatet av et tall opphøyd i en potens -PRODUCT = PRODUKT ## Multipliserer argumentene -QUOTIENT = KVOTIENT ## Returnerer heltallsdelen av en divisjon -RADIANS = RADIANER ## Konverterer grader til radianer -RAND = TILFELDIG ## Returnerer et tilfeldig tall mellom 0 og 1 -RANDBETWEEN = TILFELDIGMELLOM ## Returnerer et tilfeldig tall innenfor et angitt område -ROMAN = ROMERTALL ## Konverterer vanlige tall til romertall, som tekst -ROUND = AVRUND ## Avrunder et tall til et angitt antall sifre -ROUNDDOWN = AVRUND.NED ## Avrunder et tall nedover, mot null -ROUNDUP = AVRUND.OPP ## Runder av et tall oppover, bort fra null -SERIESSUM = SUMMER.REKKE ## Returnerer summen av en geometrisk rekke, basert på formelen -SIGN = FORTEGN ## Returnerer fortegnet for et tall -SIN = SIN ## Returnerer sinus til en gitt vinkel -SINH = SINH ## Returnerer den hyperbolske sinus til et tall -SQRT = ROT ## Returnerer en positiv kvadratrot -SQRTPI = ROTPI ## Returnerer kvadratroten av (tall * pi) -SUBTOTAL = DELSUM ## Returnerer en delsum i en liste eller database -SUM = SUMMER ## Legger sammen argumentene -SUMIF = SUMMERHVIS ## Legger sammen cellene angitt ved et gitt vilkår -SUMIFS = SUMMER.HVIS.SETT ## Legger sammen cellene i et område som oppfyller flere vilkår -SUMPRODUCT = SUMMERPRODUKT ## Returnerer summen av produktene av tilsvarende matrisekomponenter -SUMSQ = SUMMERKVADRAT ## Returnerer kvadratsummen av argumentene -SUMX2MY2 = SUMMERX2MY2 ## Returnerer summen av differansen av kvadratene for tilsvarende verdier i to matriser -SUMX2PY2 = SUMMERX2PY2 ## Returnerer summen av kvadratsummene for tilsvarende verdier i to matriser -SUMXMY2 = SUMMERXMY2 ## Returnerer summen av kvadratene av differansen for tilsvarende verdier i to matriser -TAN = TAN ## Returnerer tangens for et tall -TANH = TANH ## Returnerer den hyperbolske tangens for et tall -TRUNC = AVKORT ## Korter av et tall til et heltall - - -## -## Statistical functions Statistiske funksjoner -## -AVEDEV = GJENNOMSNITTSAVVIK ## Returnerer datapunktenes gjennomsnittlige absoluttavvik fra middelverdien -AVERAGE = GJENNOMSNITT ## Returnerer gjennomsnittet for argumentene -AVERAGEA = GJENNOMSNITTA ## Returnerer gjennomsnittet for argumentene, inkludert tall, tekst og logiske verdier -AVERAGEIF = GJENNOMSNITTHVIS ## Returnerer gjennomsnittet (aritmetisk gjennomsnitt) av alle cellene i et område som oppfyller et bestemt vilkår -AVERAGEIFS = GJENNOMSNITT.HVIS.SETT ## Returnerer gjennomsnittet (aritmetisk middelverdi) av alle celler som oppfyller flere vilkår. -BETADIST = BETA.FORDELING ## Returnerer den kumulative betafordelingsfunksjonen -BETAINV = INVERS.BETA.FORDELING ## Returnerer den inverse verdien til fordelingsfunksjonen for en angitt betafordeling -BINOMDIST = BINOM.FORDELING ## Returnerer den individuelle binomiske sannsynlighetsfordelingen -CHIDIST = KJI.FORDELING ## Returnerer den ensidige sannsynligheten for en kjikvadrert fordeling -CHIINV = INVERS.KJI.FORDELING ## Returnerer den inverse av den ensidige sannsynligheten for den kjikvadrerte fordelingen -CHITEST = KJI.TEST ## Utfører testen for uavhengighet -CONFIDENCE = KONFIDENS ## Returnerer konfidensintervallet til gjennomsnittet for en populasjon -CORREL = KORRELASJON ## Returnerer korrelasjonskoeffisienten mellom to datasett -COUNT = ANTALL ## Teller hvor mange tall som er i argumentlisten -COUNTA = ANTALLA ## Teller hvor mange verdier som er i argumentlisten -COUNTBLANK = TELLBLANKE ## Teller antall tomme celler i et område. -COUNTIF = ANTALL.HVIS ## Teller antall celler i et område som oppfyller gitte vilkår -COUNTIFS = ANTALL.HVIS.SETT ## Teller antallet ikke-tomme celler i et område som oppfyller flere vilkår -COVAR = KOVARIANS ## Returnerer kovariansen, gjennomsnittet av produktene av parvise avvik -CRITBINOM = GRENSE.BINOM ## Returnerer den minste verdien der den kumulative binomiske fordelingen er mindre enn eller lik en vilkårsverdi -DEVSQ = AVVIK.KVADRERT ## Returnerer summen av kvadrerte avvik -EXPONDIST = EKSP.FORDELING ## Returnerer eksponentialfordelingen -FDIST = FFORDELING ## Returnerer F-sannsynlighetsfordelingen -FINV = FFORDELING.INVERS ## Returnerer den inverse av den sannsynlige F-fordelingen -FISHER = FISHER ## Returnerer Fisher-transformasjonen -FISHERINV = FISHERINV ## Returnerer den inverse av Fisher-transformasjonen -FORECAST = PROGNOSE ## Returnerer en verdi langs en lineær trend -FREQUENCY = FREKVENS ## Returnerer en frekvensdistribusjon som en loddrett matrise -FTEST = FTEST ## Returnerer resultatet av en F-test -GAMMADIST = GAMMAFORDELING ## Returnerer gammafordelingen -GAMMAINV = GAMMAINV ## Returnerer den inverse av den gammakumulative fordelingen -GAMMALN = GAMMALN ## Returnerer den naturlige logaritmen til gammafunksjonen G(x) -GEOMEAN = GJENNOMSNITT.GEOMETRISK ## Returnerer den geometriske middelverdien -GROWTH = VEKST ## Returnerer verdier langs en eksponentiell trend -HARMEAN = GJENNOMSNITT.HARMONISK ## Returnerer den harmoniske middelverdien -HYPGEOMDIST = HYPGEOM.FORDELING ## Returnerer den hypergeometriske fordelingen -INTERCEPT = SKJÆRINGSPUNKT ## Returnerer skjæringspunktet til den lineære regresjonslinjen -KURT = KURT ## Returnerer kurtosen til et datasett -LARGE = N.STØRST ## Returnerer den n-te største verdien i et datasett -LINEST = RETTLINJE ## Returnerer parameterne til en lineær trend -LOGEST = KURVE ## Returnerer parameterne til en eksponentiell trend -LOGINV = LOGINV ## Returnerer den inverse lognormale fordelingen -LOGNORMDIST = LOGNORMFORD ## Returnerer den kumulative lognormale fordelingen -MAX = STØRST ## Returnerer maksimumsverdien i en argumentliste -MAXA = MAKSA ## Returnerer maksimumsverdien i en argumentliste, inkludert tall, tekst og logiske verdier -MEDIAN = MEDIAN ## Returnerer medianen til tallene som er gitt -MIN = MIN ## Returnerer minimumsverdien i en argumentliste -MINA = MINA ## Returnerer den minste verdien i en argumentliste, inkludert tall, tekst og logiske verdier -MODE = MODUS ## Returnerer den vanligste verdien i et datasett -NEGBINOMDIST = NEGBINOM.FORDELING ## Returnerer den negative binomiske fordelingen -NORMDIST = NORMALFORDELING ## Returnerer den kumulative normalfordelingen -NORMINV = NORMINV ## Returnerer den inverse kumulative normalfordelingen -NORMSDIST = NORMSFORDELING ## Returnerer standard kumulativ normalfordeling -NORMSINV = NORMSINV ## Returnerer den inverse av den den kumulative standard normalfordelingen -PEARSON = PEARSON ## Returnerer produktmomentkorrelasjonskoeffisienten, Pearson -PERCENTILE = PERSENTIL ## Returnerer den n-te persentil av verdiene i et område -PERCENTRANK = PROSENTDEL ## Returnerer prosentrangeringen av en verdi i et datasett -PERMUT = PERMUTER ## Returnerer antall permutasjoner for et gitt antall objekter -POISSON = POISSON ## Returnerer Poissons sannsynlighetsfordeling -PROB = SANNSYNLIG ## Returnerer sannsynligheten for at verdier i et område ligger mellom to grenser -QUARTILE = KVARTIL ## Returnerer kvartilen til et datasett -RANK = RANG ## Returnerer rangeringen av et tall, eller plassen tallet har i en rekke -RSQ = RKVADRAT ## Returnerer kvadratet av produktmomentkorrelasjonskoeffisienten (Pearsons r) -SKEW = SKJEVFORDELING ## Returnerer skjevheten i en fordeling -SLOPE = STIGNINGSTALL ## Returnerer stigningtallet for den lineære regresjonslinjen -SMALL = N.MINST ## Returnerer den n-te minste verdien i et datasett -STANDARDIZE = NORMALISER ## Returnerer en normalisert verdi -STDEV = STDAV ## Estimere standardavvik på grunnlag av et utvalg -STDEVA = STDAVVIKA ## Estimerer standardavvik basert på et utvalg, inkludert tall, tekst og logiske verdier -STDEVP = STDAVP ## Beregner standardavvik basert på hele populasjonen -STDEVPA = STDAVVIKPA ## Beregner standardavvik basert på hele populasjonen, inkludert tall, tekst og logiske verdier -STEYX = STANDARDFEIL ## Returnerer standardfeilen for den predikerte y-verdien for hver x i regresjonen -TDIST = TFORDELING ## Returnerer en Student t-fordeling -TINV = TINV ## Returnerer den inverse Student t-fordelingen -TREND = TREND ## Returnerer verdier langs en lineær trend -TRIMMEAN = TRIMMET.GJENNOMSNITT ## Returnerer den interne middelverdien til et datasett -TTEST = TTEST ## Returnerer sannsynligheten assosiert med en Student t-test -VAR = VARIANS ## Estimerer varians basert på et utvalg -VARA = VARIANSA ## Estimerer varians basert på et utvalg, inkludert tall, tekst og logiske verdier -VARP = VARIANSP ## Beregner varians basert på hele populasjonen -VARPA = VARIANSPA ## Beregner varians basert på hele populasjonen, inkludert tall, tekst og logiske verdier -WEIBULL = WEIBULL.FORDELING ## Returnerer Weibull-fordelingen -ZTEST = ZTEST ## Returnerer den ensidige sannsynlighetsverdien for en z-test - - -## -## Text functions Tekstfunksjoner -## -ASC = STIGENDE ## Endrer fullbreddes (dobbeltbyte) engelske bokstaver eller katakana i en tegnstreng, til halvbreddes (enkeltbyte) tegn -BAHTTEXT = BAHTTEKST ## Konverterer et tall til tekst, og bruker valutaformatet ß (baht) -CHAR = TEGNKODE ## Returnerer tegnet som svarer til kodenummeret -CLEAN = RENSK ## Fjerner alle tegn som ikke kan skrives ut, fra teksten -CODE = KODE ## Returnerer en numerisk kode for det første tegnet i en tekststreng -CONCATENATE = KJEDE.SAMMEN ## Slår sammen flere tekstelementer til ett tekstelement -DOLLAR = VALUTA ## Konverterer et tall til tekst, og bruker valutaformatet $ (dollar) -EXACT = EKSAKT ## Kontrollerer om to tekstverdier er like -FIND = FINN ## Finner en tekstverdi inne i en annen (skiller mellom store og små bokstaver) -FINDB = FINNB ## Finner en tekstverdi inne i en annen (skiller mellom store og små bokstaver) -FIXED = FASTSATT ## Formaterer et tall som tekst med et bestemt antall desimaler -JIS = JIS ## Endrer halvbreddes (enkeltbyte) engelske bokstaver eller katakana i en tegnstreng, til fullbreddes (dobbeltbyte) tegn -LEFT = VENSTRE ## Returnerer tegnene lengst til venstre i en tekstverdi -LEFTB = VENSTREB ## Returnerer tegnene lengst til venstre i en tekstverdi -LEN = LENGDE ## Returnerer antall tegn i en tekststreng -LENB = LENGDEB ## Returnerer antall tegn i en tekststreng -LOWER = SMÅ ## Konverterer tekst til små bokstaver -MID = DELTEKST ## Returnerer et angitt antall tegn fra en tekststreng, og begynner fra posisjonen du angir -MIDB = DELTEKSTB ## Returnerer et angitt antall tegn fra en tekststreng, og begynner fra posisjonen du angir -PHONETIC = FURIGANA ## Trekker ut fonetiske tegn (furigana) fra en tekststreng -PROPER = STOR.FORBOKSTAV ## Gir den første bokstaven i hvert ord i en tekstverdi stor forbokstav -REPLACE = ERSTATT ## Erstatter tegn i en tekst -REPLACEB = ERSTATTB ## Erstatter tegn i en tekst -REPT = GJENTA ## Gjentar tekst et gitt antall ganger -RIGHT = HØYRE ## Returnerer tegnene lengst til høyre i en tekstverdi -RIGHTB = HØYREB ## Returnerer tegnene lengst til høyre i en tekstverdi -SEARCH = SØK ## Finner en tekstverdi inne i en annen (skiller ikke mellom store og små bokstaver) -SEARCHB = SØKB ## Finner en tekstverdi inne i en annen (skiller ikke mellom store og små bokstaver) -SUBSTITUTE = BYTT.UT ## Bytter ut gammel tekst med ny tekst i en tekststreng -T = T ## Konverterer argumentene til tekst -TEXT = TEKST ## Formaterer et tall og konverterer det til tekst -TRIM = TRIMME ## Fjerner mellomrom fra tekst -UPPER = STORE ## Konverterer tekst til store bokstaver -VALUE = VERDI ## Konverterer et tekstargument til et tall diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/no/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/config deleted file mode 100644 index 4dd75bee6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = zł - - -## -## Excel Error Codes (For future use) -## -NULL = #ZERO! -DIV0 = #DZIEL/0! -VALUE = #ARG! -REF = #ADR! -NAME = #NAZWA? -NUM = #LICZBA! -NA = #N/D! diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/functions deleted file mode 100644 index 1881a71e5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funkcje dodatków i automatyzacji -## -GETPIVOTDATA = WEŹDANETABELI ## Zwraca dane przechowywane w raporcie tabeli przestawnej. - - -## -## Cube functions Funkcje modułów -## -CUBEKPIMEMBER = ELEMENT.KPI.MODUŁU ## Zwraca nazwę, właściwość i miarę kluczowego wskaźnika wydajności (KPI) oraz wyświetla nazwę i właściwość w komórce. Wskaźnik KPI jest miarą ilościową, taką jak miesięczny zysk brutto lub kwartalna fluktuacja pracowników, używaną do monitorowania wydajności organizacji. -CUBEMEMBER = ELEMENT.MODUŁU ## Zwraca element lub krotkę z hierarchii modułu. Służy do sprawdzania, czy element lub krotka istnieje w module. -CUBEMEMBERPROPERTY = WŁAŚCIWOŚĆ.ELEMENTU.MODUŁU ## Zwraca wartość właściwości elementu w module. Służy do sprawdzania, czy nazwa elementu istnieje w module, i zwracania określonej właściwości dla tego elementu. -CUBERANKEDMEMBER = USZEREGOWANY.ELEMENT.MODUŁU ## Zwraca n-ty (albo uszeregowany) element zestawu. Służy do zwracania elementu lub elementów zestawu, na przykład najlepszego sprzedawcy lub 10 najlepszych studentów. -CUBESET = ZESTAW.MODUŁÓW ## Definiuje obliczony zestaw elementów lub krotek, wysyłając wyrażenie zestawu do serwera modułu, który tworzy zestaw i zwraca go do programu Microsoft Office Excel. -CUBESETCOUNT = LICZNIK.MODUŁÓW.ZESTAWU ## Zwraca liczbę elementów zestawu. -CUBEVALUE = WARTOŚĆ.MODUŁU ## Zwraca zagregowaną wartość z modułu. - - -## -## Database functions Funkcje baz danych -## -DAVERAGE = BD.ŚREDNIA ## Zwraca wartość średniej wybranych wpisów bazy danych. -DCOUNT = BD.ILE.REKORDÓW ## Zlicza komórki zawierające liczby w bazie danych. -DCOUNTA = BD.ILE.REKORDÓW.A ## Zlicza niepuste komórki w bazie danych. -DGET = BD.POLE ## Wyodrębnia z bazy danych jeden rekord spełniający określone kryteria. -DMAX = BD.MAX ## Zwraca wartość maksymalną z wybranych wpisów bazy danych. -DMIN = BD.MIN ## Zwraca wartość minimalną z wybranych wpisów bazy danych. -DPRODUCT = BD.ILOCZYN ## Mnoży wartości w konkretnym, spełniającym kryteria polu rekordów bazy danych. -DSTDEV = BD.ODCH.STANDARD ## Szacuje odchylenie standardowe na podstawie próbki z wybranych wpisów bazy danych. -DSTDEVP = BD.ODCH.STANDARD.POPUL ## Oblicza odchylenie standardowe na podstawie całej populacji wybranych wpisów bazy danych. -DSUM = BD.SUMA ## Dodaje liczby w kolumnie pól rekordów bazy danych, które spełniają kryteria. -DVAR = BD.WARIANCJA ## Szacuje wariancję na podstawie próbki z wybranych wpisów bazy danych. -DVARP = BD.WARIANCJA.POPUL ## Oblicza wariancję na podstawie całej populacji wybranych wpisów bazy danych. - - -## -## Date and time functions Funkcje dat, godzin i czasu -## -DATE = DATA ## Zwraca liczbę seryjną dla wybranej daty. -DATEVALUE = DATA.WARTOŚĆ ## Konwertuje datę w formie tekstu na liczbę seryjną. -DAY = DZIEŃ ## Konwertuje liczbę seryjną na dzień miesiąca. -DAYS360 = DNI.360 ## Oblicza liczbę dni między dwiema datami na podstawie roku 360-dniowego. -EDATE = UPŁDNI ## Zwraca liczbę seryjną daty jako wskazaną liczbę miesięcy przed określoną datą początkową lub po niej. -EOMONTH = EOMONTH ## Zwraca liczbę seryjną ostatniego dnia miesiąca przed określoną liczbą miesięcy lub po niej. -HOUR = GODZINA ## Konwertuje liczbę seryjną na godzinę. -MINUTE = MINUTA ## Konwertuje liczbę seryjną na minutę. -MONTH = MIESIĄC ## Konwertuje liczbę seryjną na miesiąc. -NETWORKDAYS = NETWORKDAYS ## Zwraca liczbę pełnych dni roboczych między dwiema datami. -NOW = TERAZ ## Zwraca liczbę seryjną bieżącej daty i godziny. -SECOND = SEKUNDA ## Konwertuje liczbę seryjną na sekundę. -TIME = CZAS ## Zwraca liczbę seryjną określonego czasu. -TIMEVALUE = CZAS.WARTOŚĆ ## Konwertuje czas w formie tekstu na liczbę seryjną. -TODAY = DZIŚ ## Zwraca liczbę seryjną dla daty bieżącej. -WEEKDAY = DZIEŃ.TYG ## Konwertuje liczbę seryjną na dzień tygodnia. -WEEKNUM = WEEKNUM ## Konwertuje liczbę seryjną na liczbę reprezentującą numer tygodnia w roku. -WORKDAY = WORKDAY ## Zwraca liczbę seryjną dla daty przed określoną liczbą dni roboczych lub po niej. -YEAR = ROK ## Konwertuje liczbę seryjną na rok. -YEARFRAC = YEARFRAC ## Zwraca część roku reprezentowaną przez pełną liczbę dni między datą początkową a datą końcową. - - -## -## Engineering functions Funkcje inżynierskie -## -BESSELI = BESSELI ## Zwraca wartość zmodyfikowanej funkcji Bessela In(x). -BESSELJ = BESSELJ ## Zwraca wartość funkcji Bessela Jn(x). -BESSELK = BESSELK ## Zwraca wartość zmodyfikowanej funkcji Bessela Kn(x). -BESSELY = BESSELY ## Zwraca wartość funkcji Bessela Yn(x). -BIN2DEC = BIN2DEC ## Konwertuje liczbę w postaci dwójkowej na liczbę w postaci dziesiętnej. -BIN2HEX = BIN2HEX ## Konwertuje liczbę w postaci dwójkowej na liczbę w postaci szesnastkowej. -BIN2OCT = BIN2OCT ## Konwertuje liczbę w postaci dwójkowej na liczbę w postaci ósemkowej. -COMPLEX = COMPLEX ## Konwertuje część rzeczywistą i urojoną na liczbę zespoloną. -CONVERT = CONVERT ## Konwertuje liczbę z jednego systemu miar na inny. -DEC2BIN = DEC2BIN ## Konwertuje liczbę w postaci dziesiętnej na postać dwójkową. -DEC2HEX = DEC2HEX ## Konwertuje liczbę w postaci dziesiętnej na liczbę w postaci szesnastkowej. -DEC2OCT = DEC2OCT ## Konwertuje liczbę w postaci dziesiętnej na liczbę w postaci ósemkowej. -DELTA = DELTA ## Sprawdza, czy dwie wartości są równe. -ERF = ERF ## Zwraca wartość funkcji błędu. -ERFC = ERFC ## Zwraca wartość komplementarnej funkcji błędu. -GESTEP = GESTEP ## Sprawdza, czy liczba jest większa niż wartość progowa. -HEX2BIN = HEX2BIN ## Konwertuje liczbę w postaci szesnastkowej na liczbę w postaci dwójkowej. -HEX2DEC = HEX2DEC ## Konwertuje liczbę w postaci szesnastkowej na liczbę w postaci dziesiętnej. -HEX2OCT = HEX2OCT ## Konwertuje liczbę w postaci szesnastkowej na liczbę w postaci ósemkowej. -IMABS = IMABS ## Zwraca wartość bezwzględną (moduł) liczby zespolonej. -IMAGINARY = IMAGINARY ## Zwraca wartość części urojonej liczby zespolonej. -IMARGUMENT = IMARGUMENT ## Zwraca wartość argumentu liczby zespolonej, przy czym kąt wyrażony jest w radianach. -IMCONJUGATE = IMCONJUGATE ## Zwraca wartość liczby sprzężonej danej liczby zespolonej. -IMCOS = IMCOS ## Zwraca wartość cosinusa liczby zespolonej. -IMDIV = IMDIV ## Zwraca wartość ilorazu dwóch liczb zespolonych. -IMEXP = IMEXP ## Zwraca postać wykładniczą liczby zespolonej. -IMLN = IMLN ## Zwraca wartość logarytmu naturalnego liczby zespolonej. -IMLOG10 = IMLOG10 ## Zwraca wartość logarytmu dziesiętnego liczby zespolonej. -IMLOG2 = IMLOG2 ## Zwraca wartość logarytmu liczby zespolonej przy podstawie 2. -IMPOWER = IMPOWER ## Zwraca wartość liczby zespolonej podniesionej do potęgi całkowitej. -IMPRODUCT = IMPRODUCT ## Zwraca wartość iloczynu liczb zespolonych. -IMREAL = IMREAL ## Zwraca wartość części rzeczywistej liczby zespolonej. -IMSIN = IMSIN ## Zwraca wartość sinusa liczby zespolonej. -IMSQRT = IMSQRT ## Zwraca wartość pierwiastka kwadratowego z liczby zespolonej. -IMSUB = IMSUB ## Zwraca wartość różnicy dwóch liczb zespolonych. -IMSUM = IMSUM ## Zwraca wartość sumy liczb zespolonych. -OCT2BIN = OCT2BIN ## Konwertuje liczbę w postaci ósemkowej na liczbę w postaci dwójkowej. -OCT2DEC = OCT2DEC ## Konwertuje liczbę w postaci ósemkowej na liczbę w postaci dziesiętnej. -OCT2HEX = OCT2HEX ## Konwertuje liczbę w postaci ósemkowej na liczbę w postaci szesnastkowej. - - -## -## Financial functions Funkcje finansowe -## -ACCRINT = ACCRINT ## Zwraca narosłe odsetki dla papieru wartościowego z oprocentowaniem okresowym. -ACCRINTM = ACCRINTM ## Zwraca narosłe odsetki dla papieru wartościowego z oprocentowaniem w terminie wykupu. -AMORDEGRC = AMORDEGRC ## Zwraca amortyzację dla każdego okresu rozliczeniowego z wykorzystaniem współczynnika amortyzacji. -AMORLINC = AMORLINC ## Zwraca amortyzację dla każdego okresu rozliczeniowego. -COUPDAYBS = COUPDAYBS ## Zwraca liczbę dni od początku okresu dywidendy do dnia rozliczeniowego. -COUPDAYS = COUPDAYS ## Zwraca liczbę dni w okresie dywidendy, z uwzględnieniem dnia rozliczeniowego. -COUPDAYSNC = COUPDAYSNC ## Zwraca liczbę dni od dnia rozliczeniowego do daty następnego dnia dywidendy. -COUPNCD = COUPNCD ## Zwraca dzień następnej dywidendy po dniu rozliczeniowym. -COUPNUM = COUPNUM ## Zwraca liczbę dywidend płatnych między dniem rozliczeniowym a dniem wykupu. -COUPPCD = COUPPCD ## Zwraca dzień poprzedniej dywidendy przed dniem rozliczeniowym. -CUMIPMT = CUMIPMT ## Zwraca wartość procentu składanego płatnego między dwoma okresami. -CUMPRINC = CUMPRINC ## Zwraca wartość kapitału skumulowanego spłaty pożyczki między dwoma okresami. -DB = DB ## Zwraca amortyzację środka trwałego w danym okresie metodą degresywną z zastosowaniem stałej bazowej. -DDB = DDB ## Zwraca amortyzację środka trwałego za podany okres metodą degresywną z zastosowaniem podwójnej bazowej lub metodą określoną przez użytkownika. -DISC = DISC ## Zwraca wartość stopy dyskontowej papieru wartościowego. -DOLLARDE = DOLLARDE ## Konwertuje cenę w postaci ułamkowej na cenę wyrażoną w postaci dziesiętnej. -DOLLARFR = DOLLARFR ## Konwertuje cenę wyrażoną w postaci dziesiętnej na cenę wyrażoną w postaci ułamkowej. -DURATION = DURATION ## Zwraca wartość rocznego przychodu z papieru wartościowego o okresowych wypłatach oprocentowania. -EFFECT = EFFECT ## Zwraca wartość efektywnej rocznej stopy procentowej. -FV = FV ## Zwraca przyszłą wartość lokaty. -FVSCHEDULE = FVSCHEDULE ## Zwraca przyszłą wartość kapitału początkowego wraz z szeregiem procentów składanych. -INTRATE = INTRATE ## Zwraca wartość stopy procentowej papieru wartościowego całkowicie ulokowanego. -IPMT = IPMT ## Zwraca wysokość spłaty oprocentowania lokaty za dany okres. -IRR = IRR ## Zwraca wartość wewnętrznej stopy zwrotu dla serii przepływów gotówkowych. -ISPMT = ISPMT ## Oblicza wysokość spłaty oprocentowania za dany okres lokaty. -MDURATION = MDURATION ## Zwraca wartość zmodyfikowanego okresu Macauleya dla papieru wartościowego o założonej wartości nominalnej 100 zł. -MIRR = MIRR ## Zwraca wartość wewnętrznej stopy zwrotu dla przypadku, gdy dodatnie i ujemne przepływy gotówkowe mają różne stopy. -NOMINAL = NOMINAL ## Zwraca wysokość nominalnej rocznej stopy procentowej. -NPER = NPER ## Zwraca liczbę okresów dla lokaty. -NPV = NPV ## Zwraca wartość bieżącą netto lokaty na podstawie szeregu okresowych przepływów gotówkowych i stopy dyskontowej. -ODDFPRICE = ODDFPRICE ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z nietypowym pierwszym okresem. -ODDFYIELD = ODDFYIELD ## Zwraca rentowność papieru wartościowego z nietypowym pierwszym okresem. -ODDLPRICE = ODDLPRICE ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z nietypowym ostatnim okresem. -ODDLYIELD = ODDLYIELD ## Zwraca rentowność papieru wartościowego z nietypowym ostatnim okresem. -PMT = PMT ## Zwraca wartość okresowej płatności raty rocznej. -PPMT = PPMT ## Zwraca wysokość spłaty kapitału w przypadku lokaty dla danego okresu. -PRICE = PRICE ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z oprocentowaniem okresowym. -PRICEDISC = PRICEDISC ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego zdyskontowanego. -PRICEMAT = PRICEMAT ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z oprocentowaniem w terminie wykupu. -PV = PV ## Zwraca wartość bieżącą lokaty. -RATE = RATE ## Zwraca wysokość stopy procentowej w okresie raty rocznej. -RECEIVED = RECEIVED ## Zwraca wartość kapitału otrzymanego przy wykupie papieru wartościowego całkowicie ulokowanego. -SLN = SLN ## Zwraca amortyzację środka trwałego za jeden okres metodą liniową. -SYD = SYD ## Zwraca amortyzację środka trwałego za dany okres metodą sumy cyfr lat amortyzacji. -TBILLEQ = TBILLEQ ## Zwraca rentowność ekwiwalentu obligacji dla bonu skarbowego. -TBILLPRICE = TBILLPRICE ## Zwraca cenę za 100 zł wartości nominalnej bonu skarbowego. -TBILLYIELD = TBILLYIELD ## Zwraca rentowność bonu skarbowego. -VDB = VDB ## Oblicza amortyzację środka trwałego w danym okresie lub jego części metodą degresywną. -XIRR = XIRR ## Zwraca wartość wewnętrznej stopy zwrotu dla serii rozłożonych w czasie przepływów gotówkowych, niekoniecznie okresowych. -XNPV = XNPV ## Zwraca wartość bieżącą netto dla serii rozłożonych w czasie przepływów gotówkowych, niekoniecznie okresowych. -YIELD = YIELD ## Zwraca rentowność papieru wartościowego z oprocentowaniem okresowym. -YIELDDISC = YIELDDISC ## Zwraca roczną rentowność zdyskontowanego papieru wartościowego, na przykład bonu skarbowego. -YIELDMAT = YIELDMAT ## Zwraca roczną rentowność papieru wartościowego oprocentowanego przy wykupie. - - -## -## Information functions Funkcje informacyjne -## -CELL = KOMÓRKA ## Zwraca informacje o formacie, położeniu lub zawartości komórki. -ERROR.TYPE = NR.BŁĘDU ## Zwraca liczbę odpowiadającą typowi błędu. -INFO = INFO ## Zwraca informację o aktualnym środowisku pracy. -ISBLANK = CZY.PUSTA ## Zwraca wartość PRAWDA, jeśli wartość jest pusta. -ISERR = CZY.BŁ ## Zwraca wartość PRAWDA, jeśli wartość jest dowolną wartością błędu, z wyjątkiem #N/D!. -ISERROR = CZY.BŁĄD ## Zwraca wartość PRAWDA, jeśli wartość jest dowolną wartością błędu. -ISEVEN = ISEVEN ## Zwraca wartość PRAWDA, jeśli liczba jest parzysta. -ISLOGICAL = CZY.LOGICZNA ## Zwraca wartość PRAWDA, jeśli wartość jest wartością logiczną. -ISNA = CZY.BRAK ## Zwraca wartość PRAWDA, jeśli wartość jest wartością błędu #N/D!. -ISNONTEXT = CZY.NIE.TEKST ## Zwraca wartość PRAWDA, jeśli wartość nie jest tekstem. -ISNUMBER = CZY.LICZBA ## Zwraca wartość PRAWDA, jeśli wartość jest liczbą. -ISODD = ISODD ## Zwraca wartość PRAWDA, jeśli liczba jest nieparzysta. -ISREF = CZY.ADR ## Zwraca wartość PRAWDA, jeśli wartość jest odwołaniem. -ISTEXT = CZY.TEKST ## Zwraca wartość PRAWDA, jeśli wartość jest tekstem. -N = L ## Zwraca wartość przekonwertowaną na postać liczbową. -NA = BRAK ## Zwraca wartość błędu #N/D!. -TYPE = TYP ## Zwraca liczbę wskazującą typ danych wartości. - - -## -## Logical functions Funkcje logiczne -## -AND = ORAZ ## Zwraca wartość PRAWDA, jeśli wszystkie argumenty mają wartość PRAWDA. -FALSE = FAŁSZ ## Zwraca wartość logiczną FAŁSZ. -IF = JEŻELI ## Określa warunek logiczny do sprawdzenia. -IFERROR = JEŻELI.BŁĄD ## Zwraca określoną wartość, jeśli wynikiem obliczenia formuły jest błąd; w przeciwnym przypadku zwraca wynik formuły. -NOT = NIE ## Odwraca wartość logiczną argumentu. -OR = LUB ## Zwraca wartość PRAWDA, jeśli co najmniej jeden z argumentów ma wartość PRAWDA. -TRUE = PRAWDA ## Zwraca wartość logiczną PRAWDA. - - -## -## Lookup and reference functions Funkcje wyszukiwania i odwołań -## -ADDRESS = ADRES ## Zwraca odwołanie do jednej komórki w arkuszu jako wartość tekstową. -AREAS = OBSZARY ## Zwraca liczbę obszarów występujących w odwołaniu. -CHOOSE = WYBIERZ ## Wybiera wartość z listy wartości. -COLUMN = NR.KOLUMNY ## Zwraca numer kolumny z odwołania. -COLUMNS = LICZBA.KOLUMN ## Zwraca liczbę kolumn dla danego odwołania. -HLOOKUP = WYSZUKAJ.POZIOMO ## Przegląda górny wiersz tablicy i zwraca wartość wskazanej komórki. -HYPERLINK = HIPERŁĄCZE ## Tworzy skrót lub skok, który pozwala otwierać dokument przechowywany na serwerze sieciowym, w sieci intranet lub w Internecie. -INDEX = INDEKS ## Używa indeksu do wybierania wartości z odwołania lub tablicy. -INDIRECT = ADR.POŚR ## Zwraca odwołanie określone przez wartość tekstową. -LOOKUP = WYSZUKAJ ## Wyszukuje wartości w wektorze lub tablicy. -MATCH = PODAJ.POZYCJĘ ## Wyszukuje wartości w odwołaniu lub w tablicy. -OFFSET = PRZESUNIĘCIE ## Zwraca adres przesunięty od danego odwołania. -ROW = WIERSZ ## Zwraca numer wiersza odwołania. -ROWS = ILE.WIERSZY ## Zwraca liczbę wierszy dla danego odwołania. -RTD = RTD ## Pobiera dane w czasie rzeczywistym z programu obsługującego automatyzację COM (Automatyzacja: Sposób pracy z obiektami aplikacji pochodzącymi z innej aplikacji lub narzędzia projektowania. Nazywana wcześniej Automatyzacją OLE, Automatyzacja jest standardem przemysłowym i funkcją obiektowego modelu składników (COM, Component Object Model).). -TRANSPOSE = TRANSPONUJ ## Zwraca transponowaną tablicę. -VLOOKUP = WYSZUKAJ.PIONOWO ## Przeszukuje pierwszą kolumnę tablicy i przechodzi wzdłuż wiersza, aby zwrócić wartość komórki. - - -## -## Math and trigonometry functions Funkcje matematyczne i trygonometryczne -## -ABS = MODUŁ.LICZBY ## Zwraca wartość absolutną liczby. -ACOS = ACOS ## Zwraca arcus cosinus liczby. -ACOSH = ACOSH ## Zwraca arcus cosinus hiperboliczny liczby. -ASIN = ASIN ## Zwraca arcus sinus liczby. -ASINH = ASINH ## Zwraca arcus sinus hiperboliczny liczby. -ATAN = ATAN ## Zwraca arcus tangens liczby. -ATAN2 = ATAN2 ## Zwraca arcus tangens liczby na podstawie współrzędnych x i y. -ATANH = ATANH ## Zwraca arcus tangens hiperboliczny liczby. -CEILING = ZAOKR.W.GÓRĘ ## Zaokrągla liczbę do najbliższej liczby całkowitej lub do najbliższej wielokrotności dokładności. -COMBIN = KOMBINACJE ## Zwraca liczbę kombinacji dla danej liczby obiektów. -COS = COS ## Zwraca cosinus liczby. -COSH = COSH ## Zwraca cosinus hiperboliczny liczby. -DEGREES = STOPNIE ## Konwertuje radiany na stopnie. -EVEN = ZAOKR.DO.PARZ ## Zaokrągla liczbę w górę do najbliższej liczby parzystej. -EXP = EXP ## Zwraca wartość liczby e podniesionej do potęgi określonej przez podaną liczbę. -FACT = SILNIA ## Zwraca silnię liczby. -FACTDOUBLE = FACTDOUBLE ## Zwraca podwójną silnię liczby. -FLOOR = ZAOKR.W.DÓŁ ## Zaokrągla liczbę w dół, w kierunku zera. -GCD = GCD ## Zwraca największy wspólny dzielnik. -INT = ZAOKR.DO.CAŁK ## Zaokrągla liczbę w dół do najbliższej liczby całkowitej. -LCM = LCM ## Zwraca najmniejszą wspólną wielokrotność. -LN = LN ## Zwraca logarytm naturalny podanej liczby. -LOG = LOG ## Zwraca logarytm danej liczby przy zadanej podstawie. -LOG10 = LOG10 ## Zwraca logarytm dziesiętny liczby. -MDETERM = WYZNACZNIK.MACIERZY ## Zwraca wyznacznik macierzy tablicy. -MINVERSE = MACIERZ.ODW ## Zwraca odwrotność macierzy tablicy. -MMULT = MACIERZ.ILOCZYN ## Zwraca iloczyn macierzy dwóch tablic. -MOD = MOD ## Zwraca resztę z dzielenia. -MROUND = MROUND ## Zwraca liczbę zaokrągloną do żądanej wielokrotności. -MULTINOMIAL = MULTINOMIAL ## Zwraca wielomian dla zbioru liczb. -ODD = ZAOKR.DO.NPARZ ## Zaokrągla liczbę w górę do najbliższej liczby nieparzystej. -PI = PI ## Zwraca wartość liczby Pi. -POWER = POTĘGA ## Zwraca liczbę podniesioną do potęgi. -PRODUCT = ILOCZYN ## Mnoży argumenty. -QUOTIENT = QUOTIENT ## Zwraca iloraz (całkowity). -RADIANS = RADIANY ## Konwertuje stopnie na radiany. -RAND = LOS ## Zwraca liczbę pseudolosową z zakresu od 0 do 1. -RANDBETWEEN = RANDBETWEEN ## Zwraca liczbę pseudolosową z zakresu określonego przez podane argumenty. -ROMAN = RZYMSKIE ## Konwertuje liczbę arabską na rzymską jako tekst. -ROUND = ZAOKR ## Zaokrągla liczbę do określonej liczby cyfr. -ROUNDDOWN = ZAOKR.DÓŁ ## Zaokrągla liczbę w dół, w kierunku zera. -ROUNDUP = ZAOKR.GÓRA ## Zaokrągla liczbę w górę, w kierunku od zera. -SERIESSUM = SERIESSUM ## Zwraca sumę szeregu potęgowego na podstawie wzoru. -SIGN = ZNAK.LICZBY ## Zwraca znak liczby. -SIN = SIN ## Zwraca sinus danego kąta. -SINH = SINH ## Zwraca sinus hiperboliczny liczby. -SQRT = PIERWIASTEK ## Zwraca dodatni pierwiastek kwadratowy. -SQRTPI = SQRTPI ## Zwraca pierwiastek kwadratowy iloczynu (liczba * Pi). -SUBTOTAL = SUMY.POŚREDNIE ## Zwraca sumę częściową listy lub bazy danych. -SUM = SUMA ## Dodaje argumenty. -SUMIF = SUMA.JEŻELI ## Dodaje komórki określone przez podane kryterium. -SUMIFS = SUMA.WARUNKÓW ## Dodaje komórki w zakresie, które spełniają wiele kryteriów. -SUMPRODUCT = SUMA.ILOCZYNÓW ## Zwraca sumę iloczynów odpowiednich elementów tablicy. -SUMSQ = SUMA.KWADRATÓW ## Zwraca sumę kwadratów argumentów. -SUMX2MY2 = SUMA.X2.M.Y2 ## Zwraca sumę różnic kwadratów odpowiednich wartości w dwóch tablicach. -SUMX2PY2 = SUMA.X2.P.Y2 ## Zwraca sumę sum kwadratów odpowiednich wartości w dwóch tablicach. -SUMXMY2 = SUMA.XMY.2 ## Zwraca sumę kwadratów różnic odpowiednich wartości w dwóch tablicach. -TAN = TAN ## Zwraca tangens liczby. -TANH = TANH ## Zwraca tangens hiperboliczny liczby. -TRUNC = LICZBA.CAŁK ## Przycina liczbę do wartości całkowitej. - - -## -## Statistical functions Funkcje statystyczne -## -AVEDEV = ODCH.ŚREDNIE ## Zwraca średnią wartość odchyleń absolutnych punktów danych od ich wartości średniej. -AVERAGE = ŚREDNIA ## Zwraca wartość średnią argumentów. -AVERAGEA = ŚREDNIA.A ## Zwraca wartość średnią argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych. -AVERAGEIF = ŚREDNIA.JEŻELI ## Zwraca średnią (średnią arytmetyczną) wszystkich komórek w zakresie, które spełniają podane kryteria. -AVERAGEIFS = ŚREDNIA.WARUNKÓW ## Zwraca średnią (średnią arytmetyczną) wszystkich komórek, które spełniają jedno lub więcej kryteriów. -BETADIST = ROZKŁAD.BETA ## Zwraca skumulowaną funkcję gęstości prawdopodobieństwa beta. -BETAINV = ROZKŁAD.BETA.ODW ## Zwraca odwrotność skumulowanej funkcji gęstości prawdopodobieństwa beta. -BINOMDIST = ROZKŁAD.DWUM ## Zwraca pojedynczy składnik dwumianowego rozkładu prawdopodobieństwa. -CHIDIST = ROZKŁAD.CHI ## Zwraca wartość jednostronnego prawdopodobieństwa rozkładu chi-kwadrat. -CHIINV = ROZKŁAD.CHI.ODW ## Zwraca odwrotność wartości jednostronnego prawdopodobieństwa rozkładu chi-kwadrat. -CHITEST = TEST.CHI ## Zwraca test niezależności. -CONFIDENCE = UFNOŚĆ ## Zwraca interwał ufności dla średniej populacji. -CORREL = WSP.KORELACJI ## Zwraca współczynnik korelacji dwóch zbiorów danych. -COUNT = ILE.LICZB ## Zlicza liczby znajdujące się na liście argumentów. -COUNTA = ILE.NIEPUSTYCH ## Zlicza wartości znajdujące się na liście argumentów. -COUNTBLANK = LICZ.PUSTE ## Zwraca liczbę pustych komórek w pewnym zakresie. -COUNTIF = LICZ.JEŻELI ## Zlicza komórki wewnątrz zakresu, które spełniają podane kryteria. -COUNTIFS = LICZ.WARUNKI ## Zlicza komórki wewnątrz zakresu, które spełniają wiele kryteriów. -COVAR = KOWARIANCJA ## Zwraca kowariancję, czyli średnią wartość iloczynów odpowiednich odchyleń. -CRITBINOM = PRÓG.ROZKŁAD.DWUM ## Zwraca najmniejszą wartość, dla której skumulowany rozkład dwumianowy jest mniejszy niż wartość kryterium lub równy jej. -DEVSQ = ODCH.KWADRATOWE ## Zwraca sumę kwadratów odchyleń. -EXPONDIST = ROZKŁAD.EXP ## Zwraca rozkład wykładniczy. -FDIST = ROZKŁAD.F ## Zwraca rozkład prawdopodobieństwa F. -FINV = ROZKŁAD.F.ODW ## Zwraca odwrotność rozkładu prawdopodobieństwa F. -FISHER = ROZKŁAD.FISHER ## Zwraca transformację Fishera. -FISHERINV = ROZKŁAD.FISHER.ODW ## Zwraca odwrotność transformacji Fishera. -FORECAST = REGLINX ## Zwraca wartość trendu liniowego. -FREQUENCY = CZĘSTOŚĆ ## Zwraca rozkład częstotliwości jako tablicę pionową. -FTEST = TEST.F ## Zwraca wynik testu F. -GAMMADIST = ROZKŁAD.GAMMA ## Zwraca rozkład gamma. -GAMMAINV = ROZKŁAD.GAMMA.ODW ## Zwraca odwrotność skumulowanego rozkładu gamma. -GAMMALN = ROZKŁAD.LIN.GAMMA ## Zwraca logarytm naturalny funkcji gamma, Γ(x). -GEOMEAN = ŚREDNIA.GEOMETRYCZNA ## Zwraca średnią geometryczną. -GROWTH = REGEXPW ## Zwraca wartości trendu wykładniczego. -HARMEAN = ŚREDNIA.HARMONICZNA ## Zwraca średnią harmoniczną. -HYPGEOMDIST = ROZKŁAD.HIPERGEOM ## Zwraca rozkład hipergeometryczny. -INTERCEPT = ODCIĘTA ## Zwraca punkt przecięcia osi pionowej z linią regresji liniowej. -KURT = KURTOZA ## Zwraca kurtozę zbioru danych. -LARGE = MAX.K ## Zwraca k-tą największą wartość ze zbioru danych. -LINEST = REGLINP ## Zwraca parametry trendu liniowego. -LOGEST = REGEXPP ## Zwraca parametry trendu wykładniczego. -LOGINV = ROZKŁAD.LOG.ODW ## Zwraca odwrotność rozkładu logarytmu naturalnego. -LOGNORMDIST = ROZKŁAD.LOG ## Zwraca skumulowany rozkład logarytmu naturalnego. -MAX = MAX ## Zwraca maksymalną wartość listy argumentów. -MAXA = MAX.A ## Zwraca maksymalną wartość listy argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych. -MEDIAN = MEDIANA ## Zwraca medianę podanych liczb. -MIN = MIN ## Zwraca minimalną wartość listy argumentów. -MINA = MIN.A ## Zwraca najmniejszą wartość listy argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych. -MODE = WYST.NAJCZĘŚCIEJ ## Zwraca wartość najczęściej występującą w zbiorze danych. -NEGBINOMDIST = ROZKŁAD.DWUM.PRZEC ## Zwraca ujemny rozkład dwumianowy. -NORMDIST = ROZKŁAD.NORMALNY ## Zwraca rozkład normalny skumulowany. -NORMINV = ROZKŁAD.NORMALNY.ODW ## Zwraca odwrotność rozkładu normalnego skumulowanego. -NORMSDIST = ROZKŁAD.NORMALNY.S ## Zwraca standardowy rozkład normalny skumulowany. -NORMSINV = ROZKŁAD.NORMALNY.S.ODW ## Zwraca odwrotność standardowego rozkładu normalnego skumulowanego. -PEARSON = PEARSON ## Zwraca współczynnik korelacji momentu iloczynu Pearsona. -PERCENTILE = PERCENTYL ## Wyznacza k-ty percentyl wartości w zakresie. -PERCENTRANK = PROCENT.POZYCJA ## Zwraca procentową pozycję wartości w zbiorze danych. -PERMUT = PERMUTACJE ## Zwraca liczbę permutacji dla danej liczby obiektów. -POISSON = ROZKŁAD.POISSON ## Zwraca rozkład Poissona. -PROB = PRAWDPD ## Zwraca prawdopodobieństwo, że wartości w zakresie leżą pomiędzy dwiema granicami. -QUARTILE = KWARTYL ## Wyznacza kwartyl zbioru danych. -RANK = POZYCJA ## Zwraca pozycję liczby na liście liczb. -RSQ = R.KWADRAT ## Zwraca kwadrat współczynnika korelacji momentu iloczynu Pearsona. -SKEW = SKOŚNOŚĆ ## Zwraca skośność rozkładu. -SLOPE = NACHYLENIE ## Zwraca nachylenie linii regresji liniowej. -SMALL = MIN.K ## Zwraca k-tą najmniejszą wartość ze zbioru danych. -STANDARDIZE = NORMALIZUJ ## Zwraca wartość znormalizowaną. -STDEV = ODCH.STANDARDOWE ## Szacuje odchylenie standardowe na podstawie próbki. -STDEVA = ODCH.STANDARDOWE.A ## Szacuje odchylenie standardowe na podstawie próbki, z uwzględnieniem liczb, tekstów i wartości logicznych. -STDEVP = ODCH.STANDARD.POPUL ## Oblicza odchylenie standardowe na podstawie całej populacji. -STDEVPA = ODCH.STANDARD.POPUL.A ## Oblicza odchylenie standardowe na podstawie całej populacji, z uwzględnieniem liczb, teksów i wartości logicznych. -STEYX = REGBŁSTD ## Zwraca błąd standardowy przewidzianej wartości y dla każdej wartości x w regresji. -TDIST = ROZKŁAD.T ## Zwraca rozkład t-Studenta. -TINV = ROZKŁAD.T.ODW ## Zwraca odwrotność rozkładu t-Studenta. -TREND = REGLINW ## Zwraca wartości trendu liniowego. -TRIMMEAN = ŚREDNIA.WEWN ## Zwraca średnią wartość dla wnętrza zbioru danych. -TTEST = TEST.T ## Zwraca prawdopodobieństwo związane z testem t-Studenta. -VAR = WARIANCJA ## Szacuje wariancję na podstawie próbki. -VARA = WARIANCJA.A ## Szacuje wariancję na podstawie próbki, z uwzględnieniem liczb, tekstów i wartości logicznych. -VARP = WARIANCJA.POPUL ## Oblicza wariancję na podstawie całej populacji. -VARPA = WARIANCJA.POPUL.A ## Oblicza wariancję na podstawie całej populacji, z uwzględnieniem liczb, tekstów i wartości logicznych. -WEIBULL = ROZKŁAD.WEIBULL ## Zwraca rozkład Weibulla. -ZTEST = TEST.Z ## Zwraca wartość jednostronnego prawdopodobieństwa testu z. - - -## -## Text functions Funkcje tekstowe -## -ASC = ASC ## Zamienia litery angielskie lub katakana o pełnej szerokości (dwubajtowe) w ciągu znaków na znaki o szerokości połówkowej (jednobajtowe). -BAHTTEXT = BAHTTEXT ## Konwertuje liczbę na tekst, stosując format walutowy ß (baht). -CHAR = ZNAK ## Zwraca znak o podanym numerze kodu. -CLEAN = OCZYŚĆ ## Usuwa z tekstu wszystkie znaki, które nie mogą być drukowane. -CODE = KOD ## Zwraca kod numeryczny pierwszego znaku w ciągu tekstowym. -CONCATENATE = ZŁĄCZ.TEKSTY ## Łączy kilka oddzielnych tekstów w jeden tekst. -DOLLAR = KWOTA ## Konwertuje liczbę na tekst, stosując format walutowy $ (dolar). -EXACT = PORÓWNAJ ## Sprawdza identyczność dwóch wartości tekstowych. -FIND = ZNAJDŹ ## Znajduje jedną wartość tekstową wewnątrz innej (z uwzględnieniem wielkich i małych liter). -FINDB = ZNAJDŹB ## Znajduje jedną wartość tekstową wewnątrz innej (z uwzględnieniem wielkich i małych liter). -FIXED = ZAOKR.DO.TEKST ## Formatuje liczbę jako tekst przy stałej liczbie miejsc dziesiętnych. -JIS = JIS ## Zmienia litery angielskie lub katakana o szerokości połówkowej (jednobajtowe) w ciągu znaków na znaki o pełnej szerokości (dwubajtowe). -LEFT = LEWY ## Zwraca skrajne lewe znaki z wartości tekstowej. -LEFTB = LEWYB ## Zwraca skrajne lewe znaki z wartości tekstowej. -LEN = DŁ ## Zwraca liczbę znaków ciągu tekstowego. -LENB = DŁ.B ## Zwraca liczbę znaków ciągu tekstowego. -LOWER = LITERY.MAŁE ## Konwertuje wielkie litery tekstu na małe litery. -MID = FRAGMENT.TEKSTU ## Zwraca określoną liczbę znaków z ciągu tekstowego, zaczynając od zadanej pozycji. -MIDB = FRAGMENT.TEKSTU.B ## Zwraca określoną liczbę znaków z ciągu tekstowego, zaczynając od zadanej pozycji. -PHONETIC = PHONETIC ## Wybiera znaki fonetyczne (furigana) z ciągu tekstowego. -PROPER = Z.WIELKIEJ.LITERY ## Zastępuje pierwszą literę każdego wyrazu tekstu wielką literą. -REPLACE = ZASTĄP ## Zastępuje znaki w tekście. -REPLACEB = ZASTĄP.B ## Zastępuje znaki w tekście. -REPT = POWT ## Powiela tekst daną liczbę razy. -RIGHT = PRAWY ## Zwraca skrajne prawe znaki z wartości tekstowej. -RIGHTB = PRAWYB ## Zwraca skrajne prawe znaki z wartości tekstowej. -SEARCH = SZUKAJ.TEKST ## Wyszukuje jedną wartość tekstową wewnątrz innej (bez uwzględniania wielkości liter). -SEARCHB = SZUKAJ.TEKST.B ## Wyszukuje jedną wartość tekstową wewnątrz innej (bez uwzględniania wielkości liter). -SUBSTITUTE = PODSTAW ## Podstawia nowy tekst w miejsce poprzedniego tekstu w ciągu tekstowym. -T = T ## Konwertuje argumenty na tekst. -TEXT = TEKST ## Formatuje liczbę i konwertuje ją na tekst. -TRIM = USUŃ.ZBĘDNE.ODSTĘPY ## Usuwa spacje z tekstu. -UPPER = LITERY.WIELKIE ## Konwertuje znaki tekstu na wielkie litery. -VALUE = WARTOŚĆ ## Konwertuje argument tekstowy na liczbę. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/config deleted file mode 100644 index 45b6fbd92..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = R$ - - -## -## Excel Error Codes (For future use) -## -NULL = #NULO! -DIV0 = #DIV/0! -VALUE = #VALOR! -REF = #REF! -NAME = #NOME? -NUM = #NÚM! -NA = #N/D diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/functions deleted file mode 100644 index f3ba3a352..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/functions +++ /dev/null @@ -1,408 +0,0 @@ -## -## Add-in and Automation functions Funções Suplemento e Automação -## -GETPIVOTDATA = INFODADOSTABELADINÂMICA ## Retorna os dados armazenados em um relatório de tabela dinâmica - - -## -## Cube functions Funções de Cubo -## -CUBEKPIMEMBER = MEMBROKPICUBO ## Retorna o nome de um KPI (indicador de desempenho-chave), uma propriedade e uma medida e exibe o nome e a propriedade na célula. Um KPI é uma medida quantificável, como o lucro bruto mensal ou a rotatividade trimestral dos funcionários, usada para monitorar o desempenho de uma organização. -CUBEMEMBER = MEMBROCUBO ## Retorna um membro ou tupla em uma hierarquia de cubo. Use para validar se o membro ou tupla existe no cubo. -CUBEMEMBERPROPERTY = PROPRIEDADEMEMBROCUBO ## Retorna o valor da propriedade de um membro no cubo. Usada para validar a existência do nome do membro no cubo e para retornar a propriedade especificada para esse membro. -CUBERANKEDMEMBER = MEMBROCLASSIFICADOCUBO ## Retorna o enésimo membro, ou o membro ordenado, em um conjunto. Use para retornar um ou mais elementos em um conjunto, assim como o melhor vendedor ou os dez melhores alunos. -CUBESET = CONJUNTOCUBO ## Define um conjunto calculado de membros ou tuplas enviando uma expressão do conjunto para o cubo no servidor, que cria o conjunto e o retorna para o Microsoft Office Excel. -CUBESETCOUNT = CONTAGEMCONJUNTOCUBO ## Retorna o número de itens em um conjunto. -CUBEVALUE = VALORCUBO ## Retorna um valor agregado de um cubo. - - -## -## Database functions Funções de banco de dados -## -DAVERAGE = BDMÉDIA ## Retorna a média das entradas selecionadas de um banco de dados -DCOUNT = BDCONTAR ## Conta as células que contêm números em um banco de dados -DCOUNTA = BDCONTARA ## Conta células não vazias em um banco de dados -DGET = BDEXTRAIR ## Extrai de um banco de dados um único registro que corresponde a um critério específico -DMAX = BDMÁX ## Retorna o valor máximo de entradas selecionadas de um banco de dados -DMIN = BDMÍN ## Retorna o valor mínimo de entradas selecionadas de um banco de dados -DPRODUCT = BDMULTIPL ## Multiplica os valores em um campo específico de registros que correspondem ao critério em um banco de dados -DSTDEV = BDEST ## Estima o desvio padrão com base em uma amostra de entradas selecionadas de um banco de dados -DSTDEVP = BDDESVPA ## Calcula o desvio padrão com base na população inteira de entradas selecionadas de um banco de dados -DSUM = BDSOMA ## Adiciona os números à coluna de campos de registros do banco de dados que correspondem ao critério -DVAR = BDVAREST ## Estima a variância com base em uma amostra de entradas selecionadas de um banco de dados -DVARP = BDVARP ## Calcula a variância com base na população inteira de entradas selecionadas de um banco de dados - - -## -## Date and time functions Funções de data e hora -## -DATE = DATA ## Retorna o número de série de uma data específica -DATEVALUE = DATA.VALOR ## Converte uma data na forma de texto para um número de série -DAY = DIA ## Converte um número de série em um dia do mês -DAYS360 = DIAS360 ## Calcula o número de dias entre duas datas com base em um ano de 360 dias -EDATE = DATAM ## Retorna o número de série da data que é o número indicado de meses antes ou depois da data inicial -EOMONTH = FIMMÊS ## Retorna o número de série do último dia do mês antes ou depois de um número especificado de meses -HOUR = HORA ## Converte um número de série em uma hora -MINUTE = MINUTO ## Converte um número de série em um minuto -MONTH = MÊS ## Converte um número de série em um mês -NETWORKDAYS = DIATRABALHOTOTAL ## Retorna o número de dias úteis inteiros entre duas datas -NOW = AGORA ## Retorna o número de série seqüencial da data e hora atuais -SECOND = SEGUNDO ## Converte um número de série em um segundo -TIME = HORA ## Retorna o número de série de uma hora específica -TIMEVALUE = VALOR.TEMPO ## Converte um horário na forma de texto para um número de série -TODAY = HOJE ## Retorna o número de série da data de hoje -WEEKDAY = DIA.DA.SEMANA ## Converte um número de série em um dia da semana -WEEKNUM = NÚMSEMANA ## Converte um número de série em um número que representa onde a semana cai numericamente em um ano -WORKDAY = DIATRABALHO ## Retorna o número de série da data antes ou depois de um número específico de dias úteis -YEAR = ANO ## Converte um número de série em um ano -YEARFRAC = FRAÇÃOANO ## Retorna a fração do ano que representa o número de dias entre data_inicial e data_final - - -## -## Engineering functions Funções de engenharia -## -BESSELI = BESSELI ## Retorna a função de Bessel In(x) modificada -BESSELJ = BESSELJ ## Retorna a função de Bessel Jn(x) -BESSELK = BESSELK ## Retorna a função de Bessel Kn(x) modificada -BESSELY = BESSELY ## Retorna a função de Bessel Yn(x) -BIN2DEC = BIN2DEC ## Converte um número binário em decimal -BIN2HEX = BIN2HEX ## Converte um número binário em hexadecimal -BIN2OCT = BIN2OCT ## Converte um número binário em octal -COMPLEX = COMPLEX ## Converte coeficientes reais e imaginários e um número complexo -CONVERT = CONVERTER ## Converte um número de um sistema de medida para outro -DEC2BIN = DECABIN ## Converte um número decimal em binário -DEC2HEX = DECAHEX ## Converte um número decimal em hexadecimal -DEC2OCT = DECAOCT ## Converte um número decimal em octal -DELTA = DELTA ## Testa se dois valores são iguais -ERF = FUNERRO ## Retorna a função de erro -ERFC = FUNERROCOMPL ## Retorna a função de erro complementar -GESTEP = DEGRAU ## Testa se um número é maior do que um valor limite -HEX2BIN = HEXABIN ## Converte um número hexadecimal em binário -HEX2DEC = HEXADEC ## Converte um número hexadecimal em decimal -HEX2OCT = HEXAOCT ## Converte um número hexadecimal em octal -IMABS = IMABS ## Retorna o valor absoluto (módulo) de um número complexo -IMAGINARY = IMAGINÁRIO ## Retorna o coeficiente imaginário de um número complexo -IMARGUMENT = IMARG ## Retorna o argumento teta, um ângulo expresso em radianos -IMCONJUGATE = IMCONJ ## Retorna o conjugado complexo de um número complexo -IMCOS = IMCOS ## Retorna o cosseno de um número complexo -IMDIV = IMDIV ## Retorna o quociente de dois números complexos -IMEXP = IMEXP ## Retorna o exponencial de um número complexo -IMLN = IMLN ## Retorna o logaritmo natural de um número complexo -IMLOG10 = IMLOG10 ## Retorna o logaritmo de base 10 de um número complexo -IMLOG2 = IMLOG2 ## Retorna o logaritmo de base 2 de um número complexo -IMPOWER = IMPOT ## Retorna um número complexo elevado a uma potência inteira -IMPRODUCT = IMPROD ## Retorna o produto de números complexos -IMREAL = IMREAL ## Retorna o coeficiente real de um número complexo -IMSIN = IMSENO ## Retorna o seno de um número complexo -IMSQRT = IMRAIZ ## Retorna a raiz quadrada de um número complexo -IMSUB = IMSUBTR ## Retorna a diferença entre dois números complexos -IMSUM = IMSOMA ## Retorna a soma de números complexos -OCT2BIN = OCTABIN ## Converte um número octal em binário -OCT2DEC = OCTADEC ## Converte um número octal em decimal -OCT2HEX = OCTAHEX ## Converte um número octal em hexadecimal - - -## -## Financial functions Funções financeiras -## -ACCRINT = JUROSACUM ## Retorna a taxa de juros acumulados de um título que paga uma taxa periódica de juros -ACCRINTM = JUROSACUMV ## Retorna os juros acumulados de um título que paga juros no vencimento -AMORDEGRC = AMORDEGRC ## Retorna a depreciação para cada período contábil usando o coeficiente de depreciação -AMORLINC = AMORLINC ## Retorna a depreciação para cada período contábil -COUPDAYBS = CUPDIASINLIQ ## Retorna o número de dias do início do período de cupom até a data de liquidação -COUPDAYS = CUPDIAS ## Retorna o número de dias no período de cupom que contém a data de quitação -COUPDAYSNC = CUPDIASPRÓX ## Retorna o número de dias da data de liquidação até a data do próximo cupom -COUPNCD = CUPDATAPRÓX ## Retorna a próxima data de cupom após a data de quitação -COUPNUM = CUPNÚM ## Retorna o número de cupons pagáveis entre as datas de quitação e vencimento -COUPPCD = CUPDATAANT ## Retorna a data de cupom anterior à data de quitação -CUMIPMT = PGTOJURACUM ## Retorna os juros acumulados pagos entre dois períodos -CUMPRINC = PGTOCAPACUM ## Retorna o capital acumulado pago sobre um empréstimo entre dois períodos -DB = BD ## Retorna a depreciação de um ativo para um período especificado, usando o método de balanço de declínio fixo -DDB = BDD ## Retorna a depreciação de um ativo com relação a um período especificado usando o método de saldos decrescentes duplos ou qualquer outro método especificado por você -DISC = DESC ## Retorna a taxa de desconto de um título -DOLLARDE = MOEDADEC ## Converte um preço em formato de moeda, na forma fracionária, em um preço na forma decimal -DOLLARFR = MOEDAFRA ## Converte um preço, apresentado na forma decimal, em um preço apresentado na forma fracionária -DURATION = DURAÇÃO ## Retorna a duração anual de um título com pagamentos de juros periódicos -EFFECT = EFETIVA ## Retorna a taxa de juros anual efetiva -FV = VF ## Retorna o valor futuro de um investimento -FVSCHEDULE = VFPLANO ## Retorna o valor futuro de um capital inicial após a aplicação de uma série de taxas de juros compostas -INTRATE = TAXAJUROS ## Retorna a taxa de juros de um título totalmente investido -IPMT = IPGTO ## Retorna o pagamento de juros para um investimento em um determinado período -IRR = TIR ## Retorna a taxa interna de retorno de uma série de fluxos de caixa -ISPMT = ÉPGTO ## Calcula os juros pagos durante um período específico de um investimento -MDURATION = MDURAÇÃO ## Retorna a duração de Macauley modificada para um título com um valor de paridade equivalente a R$ 100 -MIRR = MTIR ## Calcula a taxa interna de retorno em que fluxos de caixa positivos e negativos são financiados com diferentes taxas -NOMINAL = NOMINAL ## Retorna a taxa de juros nominal anual -NPER = NPER ## Retorna o número de períodos de um investimento -NPV = VPL ## Retorna o valor líquido atual de um investimento com base em uma série de fluxos de caixa periódicos e em uma taxa de desconto -ODDFPRICE = PREÇOPRIMINC ## Retorna o preço por R$ 100 de valor nominal de um título com um primeiro período indefinido -ODDFYIELD = LUCROPRIMINC ## Retorna o rendimento de um título com um primeiro período indefinido -ODDLPRICE = PREÇOÚLTINC ## Retorna o preço por R$ 100 de valor nominal de um título com um último período de cupom indefinido -ODDLYIELD = LUCROÚLTINC ## Retorna o rendimento de um título com um último período indefinido -PMT = PGTO ## Retorna o pagamento periódico de uma anuidade -PPMT = PPGTO ## Retorna o pagamento de capital para determinado período de investimento -PRICE = PREÇO ## Retorna a preço por R$ 100,00 de valor nominal de um título que paga juros periódicos -PRICEDISC = PREÇODESC ## Retorna o preço por R$ 100,00 de valor nominal de um título descontado -PRICEMAT = PREÇOVENC ## Retorna o preço por R$ 100,00 de valor nominal de um título que paga juros no vencimento -PV = VP ## Retorna o valor presente de um investimento -RATE = TAXA ## Retorna a taxa de juros por período de uma anuidade -RECEIVED = RECEBER ## Retorna a quantia recebida no vencimento de um título totalmente investido -SLN = DPD ## Retorna a depreciação em linha reta de um ativo durante um período -SYD = SDA ## Retorna a depreciação dos dígitos da soma dos anos de um ativo para um período especificado -TBILLEQ = OTN ## Retorna o rendimento de um título equivalente a uma obrigação do Tesouro -TBILLPRICE = OTNVALOR ## Retorna o preço por R$ 100,00 de valor nominal de uma obrigação do Tesouro -TBILLYIELD = OTNLUCRO ## Retorna o rendimento de uma obrigação do Tesouro -VDB = BDV ## Retorna a depreciação de um ativo para um período especificado ou parcial usando um método de balanço declinante -XIRR = XTIR ## Fornece a taxa interna de retorno para um programa de fluxos de caixa que não é necessariamente periódico -XNPV = XVPL ## Retorna o valor presente líquido de um programa de fluxos de caixa que não é necessariamente periódico -YIELD = LUCRO ## Retorna o lucro de um título que paga juros periódicos -YIELDDISC = LUCRODESC ## Retorna o rendimento anual de um título descontado. Por exemplo, uma obrigação do Tesouro -YIELDMAT = LUCROVENC ## Retorna o lucro anual de um título que paga juros no vencimento - - -## -## Information functions Funções de informação -## -CELL = CÉL ## Retorna informações sobre formatação, localização ou conteúdo de uma célula -ERROR.TYPE = TIPO.ERRO ## Retorna um número correspondente a um tipo de erro -INFO = INFORMAÇÃO ## Retorna informações sobre o ambiente operacional atual -ISBLANK = ÉCÉL.VAZIA ## Retorna VERDADEIRO se o valor for vazio -ISERR = ÉERRO ## Retorna VERDADEIRO se o valor for um valor de erro diferente de #N/D -ISERROR = ÉERROS ## Retorna VERDADEIRO se o valor for um valor de erro -ISEVEN = ÉPAR ## Retorna VERDADEIRO se o número for par -ISLOGICAL = ÉLÓGICO ## Retorna VERDADEIRO se o valor for um valor lógico -ISNA = É.NÃO.DISP ## Retorna VERDADEIRO se o valor for o valor de erro #N/D -ISNONTEXT = É.NÃO.TEXTO ## Retorna VERDADEIRO se o valor for diferente de texto -ISNUMBER = ÉNÚM ## Retorna VERDADEIRO se o valor for um número -ISODD = ÉIMPAR ## Retorna VERDADEIRO se o número for ímpar -ISREF = ÉREF ## Retorna VERDADEIRO se o valor for uma referência -ISTEXT = ÉTEXTO ## Retorna VERDADEIRO se o valor for texto -N = N ## Retorna um valor convertido em um número -NA = NÃO.DISP ## Retorna o valor de erro #N/D -TYPE = TIPO ## Retorna um número indicando o tipo de dados de um valor - - -## -## Logical functions Funções lógicas -## -AND = E ## Retorna VERDADEIRO se todos os seus argumentos forem VERDADEIROS -FALSE = FALSO ## Retorna o valor lógico FALSO -IF = SE ## Especifica um teste lógico a ser executado -IFERROR = SEERRO ## Retornará um valor que você especifica se uma fórmula for avaliada para um erro; do contrário, retornará o resultado da fórmula -NOT = NÃO ## Inverte o valor lógico do argumento -OR = OU ## Retorna VERDADEIRO se um dos argumentos for VERDADEIRO -TRUE = VERDADEIRO ## Retorna o valor lógico VERDADEIRO - - -## -## Lookup and reference functions Funções de pesquisa e referência -## -ADDRESS = ENDEREÇO ## Retorna uma referência como texto para uma única célula em uma planilha -AREAS = ÁREAS ## Retorna o número de áreas em uma referência -CHOOSE = ESCOLHER ## Escolhe um valor a partir de uma lista de valores -COLUMN = COL ## Retorna o número da coluna de uma referência -COLUMNS = COLS ## Retorna o número de colunas em uma referência -HLOOKUP = PROCH ## Procura na linha superior de uma matriz e retorna o valor da célula especificada -HYPERLINK = HYPERLINK ## Cria um atalho ou salto que abre um documento armazenado em um servidor de rede, uma intranet ou na Internet -INDEX = ÍNDICE ## Usa um índice para escolher um valor de uma referência ou matriz -INDIRECT = INDIRETO ## Retorna uma referência indicada por um valor de texto -LOOKUP = PROC ## Procura valores em um vetor ou em uma matriz -MATCH = CORRESP ## Procura valores em uma referência ou em uma matriz -OFFSET = DESLOC ## Retorna um deslocamento de referência com base em uma determinada referência -ROW = LIN ## Retorna o número da linha de uma referência -ROWS = LINS ## Retorna o número de linhas em uma referência -RTD = RTD ## Recupera dados em tempo real de um programa que ofereça suporte a automação COM (automação: uma forma de trabalhar com objetos de um aplicativo a partir de outro aplicativo ou ferramenta de desenvolvimento. Chamada inicialmente de automação OLE, a automação é um padrão industrial e um recurso do modelo de objeto componente (COM).) -TRANSPOSE = TRANSPOR ## Retorna a transposição de uma matriz -VLOOKUP = PROCV ## Procura na primeira coluna de uma matriz e move ao longo da linha para retornar o valor de uma célula - - -## -## Math and trigonometry functions Funções matemáticas e trigonométricas -## -ABS = ABS ## Retorna o valor absoluto de um número -ACOS = ACOS ## Retorna o arco cosseno de um número -ACOSH = ACOSH ## Retorna o cosseno hiperbólico inverso de um número -ASIN = ASEN ## Retorna o arco seno de um número -ASINH = ASENH ## Retorna o seno hiperbólico inverso de um número -ATAN = ATAN ## Retorna o arco tangente de um número -ATAN2 = ATAN2 ## Retorna o arco tangente das coordenadas x e y especificadas -ATANH = ATANH ## Retorna a tangente hiperbólica inversa de um número -CEILING = TETO ## Arredonda um número para o inteiro mais próximo ou para o múltiplo mais próximo de significância -COMBIN = COMBIN ## Retorna o número de combinações de um determinado número de objetos -COS = COS ## Retorna o cosseno de um número -COSH = COSH ## Retorna o cosseno hiperbólico de um número -DEGREES = GRAUS ## Converte radianos em graus -EVEN = PAR ## Arredonda um número para cima até o inteiro par mais próximo -EXP = EXP ## Retorna e elevado à potência de um número especificado -FACT = FATORIAL ## Retorna o fatorial de um número -FACTDOUBLE = FATDUPLO ## Retorna o fatorial duplo de um número -FLOOR = ARREDMULTB ## Arredonda um número para baixo até zero -GCD = MDC ## Retorna o máximo divisor comum -INT = INT ## Arredonda um número para baixo até o número inteiro mais próximo -LCM = MMC ## Retorna o mínimo múltiplo comum -LN = LN ## Retorna o logaritmo natural de um número -LOG = LOG ## Retorna o logaritmo de um número de uma base especificada -LOG10 = LOG10 ## Retorna o logaritmo de base 10 de um número -MDETERM = MATRIZ.DETERM ## Retorna o determinante de uma matriz de uma variável do tipo matriz -MINVERSE = MATRIZ.INVERSO ## Retorna a matriz inversa de uma matriz -MMULT = MATRIZ.MULT ## Retorna o produto de duas matrizes -MOD = RESTO ## Retorna o resto da divisão -MROUND = MARRED ## Retorna um número arredondado ao múltiplo desejado -MULTINOMIAL = MULTINOMIAL ## Retorna o multinomial de um conjunto de números -ODD = ÍMPAR ## Arredonda um número para cima até o inteiro ímpar mais próximo -PI = PI ## Retorna o valor de Pi -POWER = POTÊNCIA ## Fornece o resultado de um número elevado a uma potência -PRODUCT = MULT ## Multiplica seus argumentos -QUOTIENT = QUOCIENTE ## Retorna a parte inteira de uma divisão -RADIANS = RADIANOS ## Converte graus em radianos -RAND = ALEATÓRIO ## Retorna um número aleatório entre 0 e 1 -RANDBETWEEN = ALEATÓRIOENTRE ## Retorna um número aleatório entre os números especificados -ROMAN = ROMANO ## Converte um algarismo arábico em romano, como texto -ROUND = ARRED ## Arredonda um número até uma quantidade especificada de dígitos -ROUNDDOWN = ARREDONDAR.PARA.BAIXO ## Arredonda um número para baixo até zero -ROUNDUP = ARREDONDAR.PARA.CIMA ## Arredonda um número para cima, afastando-o de zero -SERIESSUM = SOMASEQÜÊNCIA ## Retorna a soma de uma série polinomial baseada na fórmula -SIGN = SINAL ## Retorna o sinal de um número -SIN = SEN ## Retorna o seno de um ângulo dado -SINH = SENH ## Retorna o seno hiperbólico de um número -SQRT = RAIZ ## Retorna uma raiz quadrada positiva -SQRTPI = RAIZPI ## Retorna a raiz quadrada de (núm* pi) -SUBTOTAL = SUBTOTAL ## Retorna um subtotal em uma lista ou em um banco de dados -SUM = SOMA ## Soma seus argumentos -SUMIF = SOMASE ## Adiciona as células especificadas por um determinado critério -SUMIFS = SOMASE ## Adiciona as células em um intervalo que atende a vários critérios -SUMPRODUCT = SOMARPRODUTO ## Retorna a soma dos produtos de componentes correspondentes de matrizes -SUMSQ = SOMAQUAD ## Retorna a soma dos quadrados dos argumentos -SUMX2MY2 = SOMAX2DY2 ## Retorna a soma da diferença dos quadrados dos valores correspondentes em duas matrizes -SUMX2PY2 = SOMAX2SY2 ## Retorna a soma da soma dos quadrados dos valores correspondentes em duas matrizes -SUMXMY2 = SOMAXMY2 ## Retorna a soma dos quadrados das diferenças dos valores correspondentes em duas matrizes -TAN = TAN ## Retorna a tangente de um número -TANH = TANH ## Retorna a tangente hiperbólica de um número -TRUNC = TRUNCAR ## Trunca um número para um inteiro - - -## -## Statistical functions Funções estatísticas -## -AVEDEV = DESV.MÉDIO ## Retorna a média aritmética dos desvios médios dos pontos de dados a partir de sua média -AVERAGE = MÉDIA ## Retorna a média dos argumentos -AVERAGEA = MÉDIAA ## Retorna a média dos argumentos, inclusive números, texto e valores lógicos -AVERAGEIF = MÉDIASE ## Retorna a média (média aritmética) de todas as células em um intervalo que atendem a um determinado critério -AVERAGEIFS = MÉDIASES ## Retorna a média (média aritmética) de todas as células que atendem a múltiplos critérios. -BETADIST = DISTBETA ## Retorna a função de distribuição cumulativa beta -BETAINV = BETA.ACUM.INV ## Retorna o inverso da função de distribuição cumulativa para uma distribuição beta especificada -BINOMDIST = DISTRBINOM ## Retorna a probabilidade de distribuição binomial do termo individual -CHIDIST = DIST.QUI ## Retorna a probabilidade unicaudal da distribuição qui-quadrada -CHIINV = INV.QUI ## Retorna o inverso da probabilidade uni-caudal da distribuição qui-quadrada -CHITEST = TESTE.QUI ## Retorna o teste para independência -CONFIDENCE = INT.CONFIANÇA ## Retorna o intervalo de confiança para uma média da população -CORREL = CORREL ## Retorna o coeficiente de correlação entre dois conjuntos de dados -COUNT = CONT.NÚM ## Calcula quantos números há na lista de argumentos -COUNTA = CONT.VALORES ## Calcula quantos valores há na lista de argumentos -COUNTBLANK = CONTAR.VAZIO ## Conta o número de células vazias no intervalo especificado -COUNTIF = CONT.SE ## Calcula o número de células não vazias em um intervalo que corresponde a determinados critérios -COUNTIFS = CONT.SES ## Conta o número de células dentro de um intervalo que atende a múltiplos critérios -COVAR = COVAR ## Retorna a covariância, a média dos produtos dos desvios pares -CRITBINOM = CRIT.BINOM ## Retorna o menor valor para o qual a distribuição binomial cumulativa é menor ou igual ao valor padrão -DEVSQ = DESVQ ## Retorna a soma dos quadrados dos desvios -EXPONDIST = DISTEXPON ## Retorna a distribuição exponencial -FDIST = DISTF ## Retorna a distribuição de probabilidade F -FINV = INVF ## Retorna o inverso da distribuição de probabilidades F -FISHER = FISHER ## Retorna a transformação Fisher -FISHERINV = FISHERINV ## Retorna o inverso da transformação Fisher -FORECAST = PREVISÃO ## Retorna um valor ao longo de uma linha reta -FREQUENCY = FREQÜÊNCIA ## Retorna uma distribuição de freqüência como uma matriz vertical -FTEST = TESTEF ## Retorna o resultado de um teste F -GAMMADIST = DISTGAMA ## Retorna a distribuição gama -GAMMAINV = INVGAMA ## Retorna o inverso da distribuição cumulativa gama -GAMMALN = LNGAMA ## Retorna o logaritmo natural da função gama, G(x) -GEOMEAN = MÉDIA.GEOMÉTRICA ## Retorna a média geométrica -GROWTH = CRESCIMENTO ## Retorna valores ao longo de uma tendência exponencial -HARMEAN = MÉDIA.HARMÔNICA ## Retorna a média harmônica -HYPGEOMDIST = DIST.HIPERGEOM ## Retorna a distribuição hipergeométrica -INTERCEPT = INTERCEPÇÃO ## Retorna a intercepção da linha de regressão linear -KURT = CURT ## Retorna a curtose de um conjunto de dados -LARGE = MAIOR ## Retorna o maior valor k-ésimo de um conjunto de dados -LINEST = PROJ.LIN ## Retorna os parâmetros de uma tendência linear -LOGEST = PROJ.LOG ## Retorna os parâmetros de uma tendência exponencial -LOGINV = INVLOG ## Retorna o inverso da distribuição lognormal -LOGNORMDIST = DIST.LOGNORMAL ## Retorna a distribuição lognormal cumulativa -MAX = MÁXIMO ## Retorna o valor máximo em uma lista de argumentos -MAXA = MÁXIMOA ## Retorna o maior valor em uma lista de argumentos, inclusive números, texto e valores lógicos -MEDIAN = MED ## Retorna a mediana dos números indicados -MIN = MÍNIMO ## Retorna o valor mínimo em uma lista de argumentos -MINA = MÍNIMOA ## Retorna o menor valor em uma lista de argumentos, inclusive números, texto e valores lógicos -MODE = MODO ## Retorna o valor mais comum em um conjunto de dados -NEGBINOMDIST = DIST.BIN.NEG ## Retorna a distribuição binomial negativa -NORMDIST = DIST.NORM ## Retorna a distribuição cumulativa normal -NORMINV = INV.NORM ## Retorna o inverso da distribuição cumulativa normal -NORMSDIST = DIST.NORMP ## Retorna a distribuição cumulativa normal padrão -NORMSINV = INV.NORMP ## Retorna o inverso da distribuição cumulativa normal padrão -PEARSON = PEARSON ## Retorna o coeficiente de correlação do momento do produto Pearson -PERCENTILE = PERCENTIL ## Retorna o k-ésimo percentil de valores em um intervalo -PERCENTRANK = ORDEM.PORCENTUAL ## Retorna a ordem percentual de um valor em um conjunto de dados -PERMUT = PERMUT ## Retorna o número de permutações de um determinado número de objetos -POISSON = POISSON ## Retorna a distribuição Poisson -PROB = PROB ## Retorna a probabilidade de valores em um intervalo estarem entre dois limites -QUARTILE = QUARTIL ## Retorna o quartil do conjunto de dados -RANK = ORDEM ## Retorna a posição de um número em uma lista de números -RSQ = RQUAD ## Retorna o quadrado do coeficiente de correlação do momento do produto de Pearson -SKEW = DISTORÇÃO ## Retorna a distorção de uma distribuição -SLOPE = INCLINAÇÃO ## Retorna a inclinação da linha de regressão linear -SMALL = MENOR ## Retorna o menor valor k-ésimo do conjunto de dados -STANDARDIZE = PADRONIZAR ## Retorna um valor normalizado -STDEV = DESVPAD ## Estima o desvio padrão com base em uma amostra -STDEVA = DESVPADA ## Estima o desvio padrão com base em uma amostra, inclusive números, texto e valores lógicos -STDEVP = DESVPADP ## Calcula o desvio padrão com base na população total -STDEVPA = DESVPADPA ## Calcula o desvio padrão com base na população total, inclusive números, texto e valores lógicos -STEYX = EPADYX ## Retorna o erro padrão do valor-y previsto para cada x da regressão -TDIST = DISTT ## Retorna a distribuição t de Student -TINV = INVT ## Retorna o inverso da distribuição t de Student -TREND = TENDÊNCIA ## Retorna valores ao longo de uma tendência linear -TRIMMEAN = MÉDIA.INTERNA ## Retorna a média do interior de um conjunto de dados -TTEST = TESTET ## Retorna a probabilidade associada ao teste t de Student -VAR = VAR ## Estima a variância com base em uma amostra -VARA = VARA ## Estima a variância com base em uma amostra, inclusive números, texto e valores lógicos -VARP = VARP ## Calcula a variância com base na população inteira -VARPA = VARPA ## Calcula a variância com base na população total, inclusive números, texto e valores lógicos -WEIBULL = WEIBULL ## Retorna a distribuição Weibull -ZTEST = TESTEZ ## Retorna o valor de probabilidade uni-caudal de um teste-z - - -## -## Text functions Funções de texto -## -ASC = ASC ## Altera letras do inglês ou katakana de largura total (bytes duplos) dentro de uma seqüência de caracteres para caracteres de meia largura (byte único) -BAHTTEXT = BAHTTEXT ## Converte um número em um texto, usando o formato de moeda ß (baht) -CHAR = CARACT ## Retorna o caractere especificado pelo número de código -CLEAN = TIRAR ## Remove todos os caracteres do texto que não podem ser impressos -CODE = CÓDIGO ## Retorna um código numérico para o primeiro caractere de uma seqüência de caracteres de texto -CONCATENATE = CONCATENAR ## Agrupa vários itens de texto em um único item de texto -DOLLAR = MOEDA ## Converte um número em texto, usando o formato de moeda $ (dólar) -EXACT = EXATO ## Verifica se dois valores de texto são idênticos -FIND = PROCURAR ## Procura um valor de texto dentro de outro (diferencia maiúsculas de minúsculas) -FINDB = PROCURARB ## Procura um valor de texto dentro de outro (diferencia maiúsculas de minúsculas) -FIXED = DEF.NÚM.DEC ## Formata um número como texto com um número fixo de decimais -JIS = JIS ## Altera letras do inglês ou katakana de meia largura (byte único) dentro de uma seqüência de caracteres para caracteres de largura total (bytes duplos) -LEFT = ESQUERDA ## Retorna os caracteres mais à esquerda de um valor de texto -LEFTB = ESQUERDAB ## Retorna os caracteres mais à esquerda de um valor de texto -LEN = NÚM.CARACT ## Retorna o número de caracteres em uma seqüência de texto -LENB = NÚM.CARACTB ## Retorna o número de caracteres em uma seqüência de texto -LOWER = MINÚSCULA ## Converte texto para minúsculas -MID = EXT.TEXTO ## Retorna um número específico de caracteres de uma seqüência de texto começando na posição especificada -MIDB = EXT.TEXTOB ## Retorna um número específico de caracteres de uma seqüência de texto começando na posição especificada -PHONETIC = FONÉTICA ## Extrai os caracteres fonéticos (furigana) de uma seqüência de caracteres de texto -PROPER = PRI.MAIÚSCULA ## Coloca a primeira letra de cada palavra em maiúscula em um valor de texto -REPLACE = MUDAR ## Muda os caracteres dentro do texto -REPLACEB = MUDARB ## Muda os caracteres dentro do texto -REPT = REPT ## Repete o texto um determinado número de vezes -RIGHT = DIREITA ## Retorna os caracteres mais à direita de um valor de texto -RIGHTB = DIREITAB ## Retorna os caracteres mais à direita de um valor de texto -SEARCH = LOCALIZAR ## Localiza um valor de texto dentro de outro (não diferencia maiúsculas de minúsculas) -SEARCHB = LOCALIZARB ## Localiza um valor de texto dentro de outro (não diferencia maiúsculas de minúsculas) -SUBSTITUTE = SUBSTITUIR ## Substitui um novo texto por um texto antigo em uma seqüência de texto -T = T ## Converte os argumentos em texto -TEXT = TEXTO ## Formata um número e o converte em texto -TRIM = ARRUMAR ## Remove espaços do texto -UPPER = MAIÚSCULA ## Converte o texto em maiúsculas -VALUE = VALOR ## Converte um argumento de texto em um número diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/br/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/config deleted file mode 100644 index 8bb8d8b8e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NULO! -DIV0 = #DIV/0! -VALUE = #VALOR! -REF = #REF! -NAME = #NOME? -NUM = #NÚM! -NA = #N/D diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/functions deleted file mode 100644 index 7fe9e3b58..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/functions +++ /dev/null @@ -1,408 +0,0 @@ -## -## Add-in and Automation functions Funções de Suplemento e Automatização -## -GETPIVOTDATA = OBTERDADOSDIN ## Devolve dados armazenados num relatório de Tabela Dinâmica - - -## -## Cube functions Funções de cubo -## -CUBEKPIMEMBER = MEMBROKPICUBO ## Devolve o nome, propriedade e medição de um KPI (key performance indicator) e apresenta o nome e a propriedade na célula. Um KPI é uma medida quantificável, como, por exemplo, o lucro mensal bruto ou a rotatividade trimestral de pessoal, utilizada para monitorizar o desempenho de uma organização. -CUBEMEMBER = MEMBROCUBO ## Devolve um membro ou cadeia de identificação numa hierarquia de cubo. Utilizada para validar a existência do membro ou cadeia de identificação no cubo. -CUBEMEMBERPROPERTY = PROPRIEDADEMEMBROCUBO ## Devolve o valor de uma propriedade de membro no cubo. Utilizada para validar a existência de um nome de membro no cubo e para devolver a propriedade especificada para esse membro. -CUBERANKEDMEMBER = MEMBROCLASSIFICADOCUBO ## Devolve o enésimo ou a classificação mais alta num conjunto. Utilizada para devolver um ou mais elementos num conjunto, tal como o melhor vendedor ou os 10 melhores alunos. -CUBESET = CONJUNTOCUBO ## Define um conjunto calculado de membros ou cadeias de identificação enviando uma expressão de conjunto para o cubo no servidor, que cria o conjunto e, em seguida, devolve o conjunto ao Microsoft Office Excel. -CUBESETCOUNT = CONTARCONJUNTOCUBO ## Devolve o número de itens num conjunto. -CUBEVALUE = VALORCUBO ## Devolve um valor agregado do cubo. - - -## -## Database functions Funções de base de dados -## -DAVERAGE = BDMÉDIA ## Devolve a média das entradas da base de dados seleccionadas -DCOUNT = BDCONTAR ## Conta as células que contêm números numa base de dados -DCOUNTA = BDCONTAR.VAL ## Conta as células que não estejam em branco numa base de dados -DGET = BDOBTER ## Extrai de uma base de dados um único registo que corresponde aos critérios especificados -DMAX = BDMÁX ## Devolve o valor máximo das entradas da base de dados seleccionadas -DMIN = BDMÍN ## Devolve o valor mínimo das entradas da base de dados seleccionadas -DPRODUCT = BDMULTIPL ## Multiplica os valores de um determinado campo de registos que correspondem aos critérios numa base de dados -DSTDEV = BDDESVPAD ## Calcula o desvio-padrão com base numa amostra de entradas da base de dados seleccionadas -DSTDEVP = BDDESVPADP ## Calcula o desvio-padrão com base na população total das entradas da base de dados seleccionadas -DSUM = BDSOMA ## Adiciona os números na coluna de campo dos registos de base de dados que correspondem aos critérios -DVAR = BDVAR ## Calcula a variância com base numa amostra das entradas de base de dados seleccionadas -DVARP = BDVARP ## Calcula a variância com base na população total das entradas de base de dados seleccionadas - - -## -## Date and time functions Funções de data e hora -## -DATE = DATA ## Devolve o número de série de uma determinada data -DATEVALUE = DATA.VALOR ## Converte uma data em forma de texto num número de série -DAY = DIA ## Converte um número de série num dia do mês -DAYS360 = DIAS360 ## Calcula o número de dias entre duas datas com base num ano com 360 dias -EDATE = DATAM ## Devolve um número de série de data que corresponde ao número de meses indicado antes ou depois da data de início -EOMONTH = FIMMÊS ## Devolve o número de série do último dia do mês antes ou depois de um número de meses especificado -HOUR = HORA ## Converte um número de série numa hora -MINUTE = MINUTO ## Converte um número de série num minuto -MONTH = MÊS ## Converte um número de série num mês -NETWORKDAYS = DIATRABALHOTOTAL ## Devolve o número total de dias úteis entre duas datas -NOW = AGORA ## Devolve o número de série da data e hora actuais -SECOND = SEGUNDO ## Converte um número de série num segundo -TIME = TEMPO ## Devolve o número de série de um determinado tempo -TIMEVALUE = VALOR.TEMPO ## Converte um tempo em forma de texto num número de série -TODAY = HOJE ## Devolve o número de série da data actual -WEEKDAY = DIA.SEMANA ## Converte um número de série num dia da semana -WEEKNUM = NÚMSEMANA ## Converte um número de série num número que representa o número da semana num determinado ano -WORKDAY = DIA.TRABALHO ## Devolve o número de série da data antes ou depois de um número de dias úteis especificado -YEAR = ANO ## Converte um número de série num ano -YEARFRAC = FRACÇÃOANO ## Devolve a fracção de ano que representa o número de dias inteiros entre a data_de_início e a data_de_fim - - -## -## Engineering functions Funções de engenharia -## -BESSELI = BESSELI ## Devolve a função de Bessel modificada In(x) -BESSELJ = BESSELJ ## Devolve a função de Bessel Jn(x) -BESSELK = BESSELK ## Devolve a função de Bessel modificada Kn(x) -BESSELY = BESSELY ## Devolve a função de Bessel Yn(x) -BIN2DEC = BINADEC ## Converte um número binário em decimal -BIN2HEX = BINAHEX ## Converte um número binário em hexadecimal -BIN2OCT = BINAOCT ## Converte um número binário em octal -COMPLEX = COMPLEXO ## Converte coeficientes reais e imaginários num número complexo -CONVERT = CONVERTER ## Converte um número de um sistema de medida noutro -DEC2BIN = DECABIN ## Converte um número decimal em binário -DEC2HEX = DECAHEX ## Converte um número decimal em hexadecimal -DEC2OCT = DECAOCT ## Converte um número decimal em octal -DELTA = DELTA ## Testa se dois valores são iguais -ERF = FUNCERRO ## Devolve a função de erro -ERFC = FUNCERROCOMPL ## Devolve a função de erro complementar -GESTEP = DEGRAU ## Testa se um número é maior do que um valor limite -HEX2BIN = HEXABIN ## Converte um número hexadecimal em binário -HEX2DEC = HEXADEC ## Converte um número hexadecimal em decimal -HEX2OCT = HEXAOCT ## Converte um número hexadecimal em octal -IMABS = IMABS ## Devolve o valor absoluto (módulo) de um número complexo -IMAGINARY = IMAGINÁRIO ## Devolve o coeficiente imaginário de um número complexo -IMARGUMENT = IMARG ## Devolve o argumento Teta, um ângulo expresso em radianos -IMCONJUGATE = IMCONJ ## Devolve o conjugado complexo de um número complexo -IMCOS = IMCOS ## Devolve o co-seno de um número complexo -IMDIV = IMDIV ## Devolve o quociente de dois números complexos -IMEXP = IMEXP ## Devolve o exponencial de um número complexo -IMLN = IMLN ## Devolve o logaritmo natural de um número complexo -IMLOG10 = IMLOG10 ## Devolve o logaritmo de base 10 de um número complexo -IMLOG2 = IMLOG2 ## Devolve o logaritmo de base 2 de um número complexo -IMPOWER = IMPOT ## Devolve um número complexo elevado a uma potência inteira -IMPRODUCT = IMPROD ## Devolve o produto de números complexos -IMREAL = IMREAL ## Devolve o coeficiente real de um número complexo -IMSIN = IMSENO ## Devolve o seno de um número complexo -IMSQRT = IMRAIZ ## Devolve a raiz quadrada de um número complexo -IMSUB = IMSUBTR ## Devolve a diferença entre dois números complexos -IMSUM = IMSOMA ## Devolve a soma de números complexos -OCT2BIN = OCTABIN ## Converte um número octal em binário -OCT2DEC = OCTADEC ## Converte um número octal em decimal -OCT2HEX = OCTAHEX ## Converte um número octal em hexadecimal - - -## -## Financial functions Funções financeiras -## -ACCRINT = JUROSACUM ## Devolve os juros acumulados de um título que paga juros periódicos -ACCRINTM = JUROSACUMV ## Devolve os juros acumulados de um título que paga juros no vencimento -AMORDEGRC = AMORDEGRC ## Devolve a depreciação correspondente a cada período contabilístico utilizando um coeficiente de depreciação -AMORLINC = AMORLINC ## Devolve a depreciação correspondente a cada período contabilístico -COUPDAYBS = CUPDIASINLIQ ## Devolve o número de dias entre o início do período do cupão e a data de regularização -COUPDAYS = CUPDIAS ## Devolve o número de dias no período do cupão que contém a data de regularização -COUPDAYSNC = CUPDIASPRÓX ## Devolve o número de dias entre a data de regularização e a data do cupão seguinte -COUPNCD = CUPDATAPRÓX ## Devolve a data do cupão seguinte após a data de regularização -COUPNUM = CUPNÚM ## Devolve o número de cupões a serem pagos entre a data de regularização e a data de vencimento -COUPPCD = CUPDATAANT ## Devolve a data do cupão anterior antes da data de regularização -CUMIPMT = PGTOJURACUM ## Devolve os juros cumulativos pagos entre dois períodos -CUMPRINC = PGTOCAPACUM ## Devolve o capital cumulativo pago a título de empréstimo entre dois períodos -DB = BD ## Devolve a depreciação de um activo relativo a um período especificado utilizando o método das quotas degressivas fixas -DDB = BDD ## Devolve a depreciação de um activo relativo a um período especificado utilizando o método das quotas degressivas duplas ou qualquer outro método especificado -DISC = DESC ## Devolve a taxa de desconto de um título -DOLLARDE = MOEDADEC ## Converte um preço em unidade monetária, expresso como uma fracção, num preço em unidade monetária, expresso como um número decimal -DOLLARFR = MOEDAFRA ## Converte um preço em unidade monetária, expresso como um número decimal, num preço em unidade monetária, expresso como uma fracção -DURATION = DURAÇÃO ## Devolve a duração anual de um título com pagamentos de juros periódicos -EFFECT = EFECTIVA ## Devolve a taxa de juros anual efectiva -FV = VF ## Devolve o valor futuro de um investimento -FVSCHEDULE = VFPLANO ## Devolve o valor futuro de um capital inicial após a aplicação de uma série de taxas de juro compostas -INTRATE = TAXAJUROS ## Devolve a taxa de juros de um título investido na totalidade -IPMT = IPGTO ## Devolve o pagamento dos juros de um investimento durante um determinado período -IRR = TIR ## Devolve a taxa de rentabilidade interna para uma série de fluxos monetários -ISPMT = É.PGTO ## Calcula os juros pagos durante um período específico de um investimento -MDURATION = MDURAÇÃO ## Devolve a duração modificada de Macauley de um título com um valor de paridade equivalente a € 100 -MIRR = MTIR ## Devolve a taxa interna de rentabilidade em que os fluxos monetários positivos e negativos são financiados com taxas diferentes -NOMINAL = NOMINAL ## Devolve a taxa de juros nominal anual -NPER = NPER ## Devolve o número de períodos de um investimento -NPV = VAL ## Devolve o valor actual líquido de um investimento com base numa série de fluxos monetários periódicos e numa taxa de desconto -ODDFPRICE = PREÇOPRIMINC ## Devolve o preço por € 100 do valor nominal de um título com um período inicial incompleto -ODDFYIELD = LUCROPRIMINC ## Devolve o lucro de um título com um período inicial incompleto -ODDLPRICE = PREÇOÚLTINC ## Devolve o preço por € 100 do valor nominal de um título com um período final incompleto -ODDLYIELD = LUCROÚLTINC ## Devolve o lucro de um título com um período final incompleto -PMT = PGTO ## Devolve o pagamento periódico de uma anuidade -PPMT = PPGTO ## Devolve o pagamento sobre o capital de um investimento num determinado período -PRICE = PREÇO ## Devolve o preço por € 100 do valor nominal de um título que paga juros periódicos -PRICEDISC = PREÇODESC ## Devolve o preço por € 100 do valor nominal de um título descontado -PRICEMAT = PREÇOVENC ## Devolve o preço por € 100 do valor nominal de um título que paga juros no vencimento -PV = VA ## Devolve o valor actual de um investimento -RATE = TAXA ## Devolve a taxa de juros por período de uma anuidade -RECEIVED = RECEBER ## Devolve o montante recebido no vencimento de um título investido na totalidade -SLN = AMORT ## Devolve uma depreciação linear de um activo durante um período -SYD = AMORTD ## Devolve a depreciação por algarismos da soma dos anos de um activo durante um período especificado -TBILLEQ = OTN ## Devolve o lucro de um título equivalente a uma Obrigação do Tesouro -TBILLPRICE = OTNVALOR ## Devolve o preço por € 100 de valor nominal de uma Obrigação do Tesouro -TBILLYIELD = OTNLUCRO ## Devolve o lucro de uma Obrigação do Tesouro -VDB = BDV ## Devolve a depreciação de um activo relativo a um período específico ou parcial utilizando um método de quotas degressivas -XIRR = XTIR ## Devolve a taxa interna de rentabilidade de um plano de fluxos monetários que não seja necessariamente periódica -XNPV = XVAL ## Devolve o valor actual líquido de um plano de fluxos monetários que não seja necessariamente periódico -YIELD = LUCRO ## Devolve o lucro de um título que paga juros periódicos -YIELDDISC = LUCRODESC ## Devolve o lucro anual de um título emitido abaixo do valor nominal, por exemplo, uma Obrigação do Tesouro -YIELDMAT = LUCROVENC ## Devolve o lucro anual de um título que paga juros na data de vencimento - - -## -## Information functions Funções de informação -## -CELL = CÉL ## Devolve informações sobre a formatação, localização ou conteúdo de uma célula -ERROR.TYPE = TIPO.ERRO ## Devolve um número correspondente a um tipo de erro -INFO = INFORMAÇÃO ## Devolve informações sobre o ambiente de funcionamento actual -ISBLANK = É.CÉL.VAZIA ## Devolve VERDADEIRO se o valor estiver em branco -ISERR = É.ERROS ## Devolve VERDADEIRO se o valor for um valor de erro diferente de #N/D -ISERROR = É.ERRO ## Devolve VERDADEIRO se o valor for um valor de erro -ISEVEN = ÉPAR ## Devolve VERDADEIRO se o número for par -ISLOGICAL = É.LÓGICO ## Devolve VERDADEIRO se o valor for lógico -ISNA = É.NÃO.DISP ## Devolve VERDADEIRO se o valor for o valor de erro #N/D -ISNONTEXT = É.NÃO.TEXTO ## Devolve VERDADEIRO se o valor não for texto -ISNUMBER = É.NÚM ## Devolve VERDADEIRO se o valor for um número -ISODD = ÉÍMPAR ## Devolve VERDADEIRO se o número for ímpar -ISREF = É.REF ## Devolve VERDADEIRO se o valor for uma referência -ISTEXT = É.TEXTO ## Devolve VERDADEIRO se o valor for texto -N = N ## Devolve um valor convertido num número -NA = NÃO.DISP ## Devolve o valor de erro #N/D -TYPE = TIPO ## Devolve um número que indica o tipo de dados de um valor - - -## -## Logical functions Funções lógicas -## -AND = E ## Devolve VERDADEIRO se todos os respectivos argumentos corresponderem a VERDADEIRO -FALSE = FALSO ## Devolve o valor lógico FALSO -IF = SE ## Especifica um teste lógico a ser executado -IFERROR = SE.ERRO ## Devolve um valor definido pelo utilizador se ocorrer um erro na fórmula, e devolve o resultado da fórmula se não ocorrer nenhum erro -NOT = NÃO ## Inverte a lógica do respectivo argumento -OR = OU ## Devolve VERDADEIRO se qualquer argumento for VERDADEIRO -TRUE = VERDADEIRO ## Devolve o valor lógico VERDADEIRO - - -## -## Lookup and reference functions Funções de pesquisa e referência -## -ADDRESS = ENDEREÇO ## Devolve uma referência a uma única célula numa folha de cálculo como texto -AREAS = ÁREAS ## Devolve o número de áreas numa referência -CHOOSE = SELECCIONAR ## Selecciona um valor a partir de uma lista de valores -COLUMN = COL ## Devolve o número da coluna de uma referência -COLUMNS = COLS ## Devolve o número de colunas numa referência -HLOOKUP = PROCH ## Procura na linha superior de uma matriz e devolve o valor da célula indicada -HYPERLINK = HIPERLIGAÇÃO ## Cria um atalho ou hiperligação que abre um documento armazenado num servidor de rede, numa intranet ou na Internet -INDEX = ÍNDICE ## Utiliza um índice para escolher um valor de uma referência ou de uma matriz -INDIRECT = INDIRECTO ## Devolve uma referência indicada por um valor de texto -LOOKUP = PROC ## Procura valores num vector ou numa matriz -MATCH = CORRESP ## Procura valores numa referência ou numa matriz -OFFSET = DESLOCAMENTO ## Devolve o deslocamento de referência de uma determinada referência -ROW = LIN ## Devolve o número da linha de uma referência -ROWS = LINS ## Devolve o número de linhas numa referência -RTD = RTD ## Obtém dados em tempo real a partir de um programa que suporte automatização COM (automatização: modo de trabalhar com objectos de uma aplicação a partir de outra aplicação ou ferramenta de desenvolvimento. Anteriormente conhecida como automatização OLE, a automatização é uma norma da indústria de software e uma funcionalidade COM (Component Object Model).) -TRANSPOSE = TRANSPOR ## Devolve a transposição de uma matriz -VLOOKUP = PROCV ## Procura na primeira coluna de uma matriz e percorre a linha para devolver o valor de uma célula - - -## -## Math and trigonometry functions Funções matemáticas e trigonométricas -## -ABS = ABS ## Devolve o valor absoluto de um número -ACOS = ACOS ## Devolve o arco de co-seno de um número -ACOSH = ACOSH ## Devolve o co-seno hiperbólico inverso de um número -ASIN = ASEN ## Devolve o arco de seno de um número -ASINH = ASENH ## Devolve o seno hiperbólico inverso de um número -ATAN = ATAN ## Devolve o arco de tangente de um número -ATAN2 = ATAN2 ## Devolve o arco de tangente das coordenadas x e y -ATANH = ATANH ## Devolve a tangente hiperbólica inversa de um número -CEILING = ARRED.EXCESSO ## Arredonda um número para o número inteiro mais próximo ou para o múltiplo de significância mais próximo -COMBIN = COMBIN ## Devolve o número de combinações de um determinado número de objectos -COS = COS ## Devolve o co-seno de um número -COSH = COSH ## Devolve o co-seno hiperbólico de um número -DEGREES = GRAUS ## Converte radianos em graus -EVEN = PAR ## Arredonda um número por excesso para o número inteiro mais próximo -EXP = EXP ## Devolve e elevado à potência de um determinado número -FACT = FACTORIAL ## Devolve o factorial de um número -FACTDOUBLE = FACTDUPLO ## Devolve o factorial duplo de um número -FLOOR = ARRED.DEFEITO ## Arredonda um número por defeito até zero -GCD = MDC ## Devolve o maior divisor comum -INT = INT ## Arredonda um número por defeito para o número inteiro mais próximo -LCM = MMC ## Devolve o mínimo múltiplo comum -LN = LN ## Devolve o logaritmo natural de um número -LOG = LOG ## Devolve o logaritmo de um número com uma base especificada -LOG10 = LOG10 ## Devolve o logaritmo de base 10 de um número -MDETERM = MATRIZ.DETERM ## Devolve o determinante matricial de uma matriz -MINVERSE = MATRIZ.INVERSA ## Devolve o inverso matricial de uma matriz -MMULT = MATRIZ.MULT ## Devolve o produto matricial de duas matrizes -MOD = RESTO ## Devolve o resto da divisão -MROUND = MARRED ## Devolve um número arredondado para o múltiplo pretendido -MULTINOMIAL = POLINOMIAL ## Devolve o polinomial de um conjunto de números -ODD = ÍMPAR ## Arredonda por excesso um número para o número inteiro ímpar mais próximo -PI = PI ## Devolve o valor de pi -POWER = POTÊNCIA ## Devolve o resultado de um número elevado a uma potência -PRODUCT = PRODUTO ## Multiplica os respectivos argumentos -QUOTIENT = QUOCIENTE ## Devolve a parte inteira de uma divisão -RADIANS = RADIANOS ## Converte graus em radianos -RAND = ALEATÓRIO ## Devolve um número aleatório entre 0 e 1 -RANDBETWEEN = ALEATÓRIOENTRE ## Devolve um número aleatório entre os números especificados -ROMAN = ROMANO ## Converte um número árabe em romano, como texto -ROUND = ARRED ## Arredonda um número para um número de dígitos especificado -ROUNDDOWN = ARRED.PARA.BAIXO ## Arredonda um número por defeito até zero -ROUNDUP = ARRED.PARA.CIMA ## Arredonda um número por excesso, afastando-o de zero -SERIESSUM = SOMASÉRIE ## Devolve a soma de uma série de potências baseada na fórmula -SIGN = SINAL ## Devolve o sinal de um número -SIN = SEN ## Devolve o seno de um determinado ângulo -SINH = SENH ## Devolve o seno hiperbólico de um número -SQRT = RAIZQ ## Devolve uma raiz quadrada positiva -SQRTPI = RAIZPI ## Devolve a raiz quadrada de (núm * pi) -SUBTOTAL = SUBTOTAL ## Devolve um subtotal numa lista ou base de dados -SUM = SOMA ## Adiciona os respectivos argumentos -SUMIF = SOMA.SE ## Adiciona as células especificadas por um determinado critério -SUMIFS = SOMA.SE.S ## Adiciona as células num intervalo que cumpre vários critérios -SUMPRODUCT = SOMARPRODUTO ## Devolve a soma dos produtos de componentes de matrizes correspondentes -SUMSQ = SOMARQUAD ## Devolve a soma dos quadrados dos argumentos -SUMX2MY2 = SOMAX2DY2 ## Devolve a soma da diferença dos quadrados dos valores correspondentes em duas matrizes -SUMX2PY2 = SOMAX2SY2 ## Devolve a soma da soma dos quadrados dos valores correspondentes em duas matrizes -SUMXMY2 = SOMAXMY2 ## Devolve a soma dos quadrados da diferença dos valores correspondentes em duas matrizes -TAN = TAN ## Devolve a tangente de um número -TANH = TANH ## Devolve a tangente hiperbólica de um número -TRUNC = TRUNCAR ## Trunca um número para um número inteiro - - -## -## Statistical functions Funções estatísticas -## -AVEDEV = DESV.MÉDIO ## Devolve a média aritmética dos desvios absolutos à média dos pontos de dados -AVERAGE = MÉDIA ## Devolve a média dos respectivos argumentos -AVERAGEA = MÉDIAA ## Devolve uma média dos respectivos argumentos, incluindo números, texto e valores lógicos -AVERAGEIF = MÉDIA.SE ## Devolve a média aritmética de todas as células num intervalo que cumprem determinado critério -AVERAGEIFS = MÉDIA.SE.S ## Devolve a média aritmética de todas as células que cumprem múltiplos critérios -BETADIST = DISTBETA ## Devolve a função de distribuição cumulativa beta -BETAINV = BETA.ACUM.INV ## Devolve o inverso da função de distribuição cumulativa relativamente a uma distribuição beta específica -BINOMDIST = DISTRBINOM ## Devolve a probabilidade de distribuição binomial de termo individual -CHIDIST = DIST.CHI ## Devolve a probabilidade unicaudal da distribuição qui-quadrada -CHIINV = INV.CHI ## Devolve o inverso da probabilidade unicaudal da distribuição qui-quadrada -CHITEST = TESTE.CHI ## Devolve o teste para independência -CONFIDENCE = INT.CONFIANÇA ## Devolve o intervalo de confiança correspondente a uma média de população -CORREL = CORREL ## Devolve o coeficiente de correlação entre dois conjuntos de dados -COUNT = CONTAR ## Conta os números que existem na lista de argumentos -COUNTA = CONTAR.VAL ## Conta os valores que existem na lista de argumentos -COUNTBLANK = CONTAR.VAZIO ## Conta o número de células em branco num intervalo -COUNTIF = CONTAR.SE ## Calcula o número de células num intervalo que corresponde aos critérios determinados -COUNTIFS = CONTAR.SE.S ## Conta o número de células num intervalo que cumprem múltiplos critérios -COVAR = COVAR ## Devolve a covariância, que é a média dos produtos de desvios de pares -CRITBINOM = CRIT.BINOM ## Devolve o menor valor em que a distribuição binomial cumulativa é inferior ou igual a um valor de critério -DEVSQ = DESVQ ## Devolve a soma dos quadrados dos desvios -EXPONDIST = DISTEXPON ## Devolve a distribuição exponencial -FDIST = DISTF ## Devolve a distribuição da probabilidade F -FINV = INVF ## Devolve o inverso da distribuição da probabilidade F -FISHER = FISHER ## Devolve a transformação Fisher -FISHERINV = FISHERINV ## Devolve o inverso da transformação Fisher -FORECAST = PREVISÃO ## Devolve um valor ao longo de uma tendência linear -FREQUENCY = FREQUÊNCIA ## Devolve uma distribuição de frequência como uma matriz vertical -FTEST = TESTEF ## Devolve o resultado de um teste F -GAMMADIST = DISTGAMA ## Devolve a distribuição gama -GAMMAINV = INVGAMA ## Devolve o inverso da distribuição gama cumulativa -GAMMALN = LNGAMA ## Devolve o logaritmo natural da função gama, Γ(x) -GEOMEAN = MÉDIA.GEOMÉTRICA ## Devolve a média geométrica -GROWTH = CRESCIMENTO ## Devolve valores ao longo de uma tendência exponencial -HARMEAN = MÉDIA.HARMÓNICA ## Devolve a média harmónica -HYPGEOMDIST = DIST.HIPERGEOM ## Devolve a distribuição hipergeométrica -INTERCEPT = INTERCEPTAR ## Devolve a intercepção da linha de regressão linear -KURT = CURT ## Devolve a curtose de um conjunto de dados -LARGE = MAIOR ## Devolve o maior valor k-ésimo de um conjunto de dados -LINEST = PROJ.LIN ## Devolve os parâmetros de uma tendência linear -LOGEST = PROJ.LOG ## Devolve os parâmetros de uma tendência exponencial -LOGINV = INVLOG ## Devolve o inverso da distribuição normal logarítmica -LOGNORMDIST = DIST.NORMALLOG ## Devolve a distribuição normal logarítmica cumulativa -MAX = MÁXIMO ## Devolve o valor máximo numa lista de argumentos -MAXA = MÁXIMOA ## Devolve o valor máximo numa lista de argumentos, incluindo números, texto e valores lógicos -MEDIAN = MED ## Devolve a mediana dos números indicados -MIN = MÍNIMO ## Devolve o valor mínimo numa lista de argumentos -MINA = MÍNIMOA ## Devolve o valor mínimo numa lista de argumentos, incluindo números, texto e valores lógicos -MODE = MODA ## Devolve o valor mais comum num conjunto de dados -NEGBINOMDIST = DIST.BIN.NEG ## Devolve a distribuição binominal negativa -NORMDIST = DIST.NORM ## Devolve a distribuição cumulativa normal -NORMINV = INV.NORM ## Devolve o inverso da distribuição cumulativa normal -NORMSDIST = DIST.NORMP ## Devolve a distribuição cumulativa normal padrão -NORMSINV = INV.NORMP ## Devolve o inverso da distribuição cumulativa normal padrão -PEARSON = PEARSON ## Devolve o coeficiente de correlação momento/produto de Pearson -PERCENTILE = PERCENTIL ## Devolve o k-ésimo percentil de valores num intervalo -PERCENTRANK = ORDEM.PERCENTUAL ## Devolve a ordem percentual de um valor num conjunto de dados -PERMUT = PERMUTAR ## Devolve o número de permutações de um determinado número de objectos -POISSON = POISSON ## Devolve a distribuição de Poisson -PROB = PROB ## Devolve a probabilidade dos valores num intervalo se encontrarem entre dois limites -QUARTILE = QUARTIL ## Devolve o quartil de um conjunto de dados -RANK = ORDEM ## Devolve a ordem de um número numa lista numérica -RSQ = RQUAD ## Devolve o quadrado do coeficiente de correlação momento/produto de Pearson -SKEW = DISTORÇÃO ## Devolve a distorção de uma distribuição -SLOPE = DECLIVE ## Devolve o declive da linha de regressão linear -SMALL = MENOR ## Devolve o menor valor de k-ésimo de um conjunto de dados -STANDARDIZE = NORMALIZAR ## Devolve um valor normalizado -STDEV = DESVPAD ## Calcula o desvio-padrão com base numa amostra -STDEVA = DESVPADA ## Calcula o desvio-padrão com base numa amostra, incluindo números, texto e valores lógicos -STDEVP = DESVPADP ## Calcula o desvio-padrão com base na população total -STDEVPA = DESVPADPA ## Calcula o desvio-padrão com base na população total, incluindo números, texto e valores lógicos -STEYX = EPADYX ## Devolve o erro-padrão do valor de y previsto para cada x na regressão -TDIST = DISTT ## Devolve a distribuição t de Student -TINV = INVT ## Devolve o inverso da distribuição t de Student -TREND = TENDÊNCIA ## Devolve valores ao longo de uma tendência linear -TRIMMEAN = MÉDIA.INTERNA ## Devolve a média do interior de um conjunto de dados -TTEST = TESTET ## Devolve a probabilidade associada ao teste t de Student -VAR = VAR ## Calcula a variância com base numa amostra -VARA = VARA ## Calcula a variância com base numa amostra, incluindo números, texto e valores lógicos -VARP = VARP ## Calcula a variância com base na população total -VARPA = VARPA ## Calcula a variância com base na população total, incluindo números, texto e valores lógicos -WEIBULL = WEIBULL ## Devolve a distribuição Weibull -ZTEST = TESTEZ ## Devolve o valor de probabilidade unicaudal de um teste-z - - -## -## Text functions Funções de texto -## -ASC = ASC ## Altera letras ou katakana de largura total (byte duplo) numa cadeia de caracteres para caracteres de largura média (byte único) -BAHTTEXT = TEXTO.BAHT ## Converte um número em texto, utilizando o formato monetário ß (baht) -CHAR = CARÁCT ## Devolve o carácter especificado pelo número de código -CLEAN = LIMPAR ## Remove do texto todos os caracteres não imprimíveis -CODE = CÓDIGO ## Devolve um código numérico correspondente ao primeiro carácter numa cadeia de texto -CONCATENATE = CONCATENAR ## Agrupa vários itens de texto num único item de texto -DOLLAR = MOEDA ## Converte um número em texto, utilizando o formato monetário € (Euro) -EXACT = EXACTO ## Verifica se dois valores de texto são idênticos -FIND = LOCALIZAR ## Localiza um valor de texto dentro de outro (sensível às maiúsculas e minúsculas) -FINDB = LOCALIZARB ## Localiza um valor de texto dentro de outro (sensível às maiúsculas e minúsculas) -FIXED = FIXA ## Formata um número como texto com um número fixo de decimais -JIS = JIS ## Altera letras ou katakana de largura média (byte único) numa cadeia de caracteres para caracteres de largura total (byte duplo) -LEFT = ESQUERDA ## Devolve os caracteres mais à esquerda de um valor de texto -LEFTB = ESQUERDAB ## Devolve os caracteres mais à esquerda de um valor de texto -LEN = NÚM.CARACT ## Devolve o número de caracteres de uma cadeia de texto -LENB = NÚM.CARACTB ## Devolve o número de caracteres de uma cadeia de texto -LOWER = MINÚSCULAS ## Converte o texto em minúsculas -MID = SEG.TEXTO ## Devolve um número específico de caracteres de uma cadeia de texto, a partir da posição especificada -MIDB = SEG.TEXTOB ## Devolve um número específico de caracteres de uma cadeia de texto, a partir da posição especificada -PHONETIC = FONÉTICA ## Retira os caracteres fonéticos (furigana) de uma cadeia de texto -PROPER = INICIAL.MAIÚSCULA ## Coloca em maiúsculas a primeira letra de cada palavra de um valor de texto -REPLACE = SUBSTITUIR ## Substitui caracteres no texto -REPLACEB = SUBSTITUIRB ## Substitui caracteres no texto -REPT = REPETIR ## Repete texto um determinado número de vezes -RIGHT = DIREITA ## Devolve os caracteres mais à direita de um valor de texto -RIGHTB = DIREITAB ## Devolve os caracteres mais à direita de um valor de texto -SEARCH = PROCURAR ## Localiza um valor de texto dentro de outro (não sensível a maiúsculas e minúsculas) -SEARCHB = PROCURARB ## Localiza um valor de texto dentro de outro (não sensível a maiúsculas e minúsculas) -SUBSTITUTE = SUBST ## Substitui texto novo por texto antigo numa cadeia de texto -T = T ## Converte os respectivos argumentos em texto -TEXT = TEXTO ## Formata um número e converte-o em texto -TRIM = COMPACTAR ## Remove espaços do texto -UPPER = MAIÚSCULAS ## Converte texto em maiúsculas -VALUE = VALOR ## Converte um argumento de texto num número diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/pt/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/config deleted file mode 100644 index 56e45bfda..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = р - - -## -## Excel Error Codes (For future use) -## -NULL = #ПУСТО! -DIV0 = #ДЕЛ/0! -VALUE = #ЗНАЧ! -REF = #ССЫЛ! -NAME = #ИМЯ? -NUM = #ЧИСЛО! -NA = #Н/Д diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/functions deleted file mode 100644 index 5ff6d4fbf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from information provided by web-junior (http://www.web-junior.net/) -## -## - - -## -## Add-in and Automation functions Функции надстроек и автоматизации -## -GETPIVOTDATA = ПОЛУЧИТЬ.ДАННЫЕ.СВОДНОЙ.ТАБЛИЦЫ ## Возвращает данные, хранящиеся в отчете сводной таблицы. - - -## -## Cube functions Функции Куб -## -CUBEKPIMEMBER = КУБЭЛЕМЕНТКИП ## Возвращает свойство ключевого индикатора производительности «(КИП)» и отображает имя «КИП» в ячейке. «КИП» представляет собой количественную величину, такую как ежемесячная валовая прибыль или ежеквартальная текучесть кадров, используемой для контроля эффективности работы организации. -CUBEMEMBER = КУБЭЛЕМЕНТ ## Возвращает элемент или кортеж из куба. Используется для проверки существования элемента или кортежа в кубе. -CUBEMEMBERPROPERTY = КУБСВОЙСТВОЭЛЕМЕНТА ## Возвращает значение свойства элемента из куба. Используется для проверки существования имени элемента в кубе и возвращает указанное свойство для этого элемента. -CUBERANKEDMEMBER = КУБПОРЭЛЕМЕНТ ## Возвращает n-ый или ранжированный элемент в множество. Используется для возвращения одного или нескольких элементов в множество, например, лучшего продавца или 10 лучших студентов. -CUBESET = КУБМНОЖ ## Определяет вычислительное множество элементов или кортежей, отправляя на сервер выражение, которое создает множество, а затем возвращает его в Microsoft Office Excel. -CUBESETCOUNT = КУБЧИСЛОЭЛМНОЖ ## Возвращает число элементов множества. -CUBEVALUE = КУБЗНАЧЕНИЕ ## Возвращает обобщенное значение из куба. - - -## -## Database functions Функции для работы с базами данных -## -DAVERAGE = ДСРЗНАЧ ## Возвращает среднее значение выбранных записей базы данных. -DCOUNT = БСЧЁТ ## Подсчитывает количество числовых ячеек в базе данных. -DCOUNTA = БСЧЁТА ## Подсчитывает количество непустых ячеек в базе данных. -DGET = БИЗВЛЕЧЬ ## Извлекает из базы данных одну запись, удовлетворяющую заданному условию. -DMAX = ДМАКС ## Возвращает максимальное значение среди выделенных записей базы данных. -DMIN = ДМИН ## Возвращает минимальное значение среди выделенных записей базы данных. -DPRODUCT = БДПРОИЗВЕД ## Перемножает значения определенного поля в записях базы данных, удовлетворяющих условию. -DSTDEV = ДСТАНДОТКЛ ## Оценивает стандартное отклонение по выборке для выделенных записей базы данных. -DSTDEVP = ДСТАНДОТКЛП ## Вычисляет стандартное отклонение по генеральной совокупности для выделенных записей базы данных -DSUM = БДСУММ ## Суммирует числа в поле для записей базы данных, удовлетворяющих условию. -DVAR = БДДИСП ## Оценивает дисперсию по выборке из выделенных записей базы данных -DVARP = БДДИСПП ## Вычисляет дисперсию по генеральной совокупности для выделенных записей базы данных - - -## -## Date and time functions Функции даты и времени -## -DATE = ДАТА ## Возвращает заданную дату в числовом формате. -DATEVALUE = ДАТАЗНАЧ ## Преобразует дату из текстового формата в числовой формат. -DAY = ДЕНЬ ## Преобразует дату в числовом формате в день месяца. -DAYS360 = ДНЕЙ360 ## Вычисляет количество дней между двумя датами на основе 360-дневного года. -EDATE = ДАТАМЕС ## Возвращает дату в числовом формате, отстоящую на заданное число месяцев вперед или назад от начальной даты. -EOMONTH = КОНМЕСЯЦА ## Возвращает дату в числовом формате для последнего дня месяца, отстоящего вперед или назад на заданное число месяцев. -HOUR = ЧАС ## Преобразует дату в числовом формате в часы. -MINUTE = МИНУТЫ ## Преобразует дату в числовом формате в минуты. -MONTH = МЕСЯЦ ## Преобразует дату в числовом формате в месяцы. -NETWORKDAYS = ЧИСТРАБДНИ ## Возвращает количество рабочих дней между двумя датами. -NOW = ТДАТА ## Возвращает текущую дату и время в числовом формате. -SECOND = СЕКУНДЫ ## Преобразует дату в числовом формате в секунды. -TIME = ВРЕМЯ ## Возвращает заданное время в числовом формате. -TIMEVALUE = ВРЕМЗНАЧ ## Преобразует время из текстового формата в числовой формат. -TODAY = СЕГОДНЯ ## Возвращает текущую дату в числовом формате. -WEEKDAY = ДЕНЬНЕД ## Преобразует дату в числовом формате в день недели. -WEEKNUM = НОМНЕДЕЛИ ## Преобразует числовое представление в число, которое указывает, на какую неделю года приходится указанная дата. -WORKDAY = РАБДЕНЬ ## Возвращает дату в числовом формате, отстоящую вперед или назад на заданное количество рабочих дней. -YEAR = ГОД ## Преобразует дату в числовом формате в год. -YEARFRAC = ДОЛЯГОДА ## Возвращает долю года, которую составляет количество дней между начальной и конечной датами. - - -## -## Engineering functions Инженерные функции -## -BESSELI = БЕССЕЛЬ.I ## Возвращает модифицированную функцию Бесселя In(x). -BESSELJ = БЕССЕЛЬ.J ## Возвращает функцию Бесселя Jn(x). -BESSELK = БЕССЕЛЬ.K ## Возвращает модифицированную функцию Бесселя Kn(x). -BESSELY = БЕССЕЛЬ.Y ## Возвращает функцию Бесселя Yn(x). -BIN2DEC = ДВ.В.ДЕС ## Преобразует двоичное число в десятичное. -BIN2HEX = ДВ.В.ШЕСТН ## Преобразует двоичное число в шестнадцатеричное. -BIN2OCT = ДВ.В.ВОСЬМ ## Преобразует двоичное число в восьмеричное. -COMPLEX = КОМПЛЕКСН ## Преобразует коэффициенты при вещественной и мнимой частях комплексного числа в комплексное число. -CONVERT = ПРЕОБР ## Преобразует число из одной системы единиц измерения в другую. -DEC2BIN = ДЕС.В.ДВ ## Преобразует десятичное число в двоичное. -DEC2HEX = ДЕС.В.ШЕСТН ## Преобразует десятичное число в шестнадцатеричное. -DEC2OCT = ДЕС.В.ВОСЬМ ## Преобразует десятичное число в восьмеричное. -DELTA = ДЕЛЬТА ## Проверяет равенство двух значений. -ERF = ФОШ ## Возвращает функцию ошибки. -ERFC = ДФОШ ## Возвращает дополнительную функцию ошибки. -GESTEP = ПОРОГ ## Проверяет, не превышает ли данное число порогового значения. -HEX2BIN = ШЕСТН.В.ДВ ## Преобразует шестнадцатеричное число в двоичное. -HEX2DEC = ШЕСТН.В.ДЕС ## Преобразует шестнадцатеричное число в десятичное. -HEX2OCT = ШЕСТН.В.ВОСЬМ ## Преобразует шестнадцатеричное число в восьмеричное. -IMABS = МНИМ.ABS ## Возвращает абсолютную величину (модуль) комплексного числа. -IMAGINARY = МНИМ.ЧАСТЬ ## Возвращает коэффициент при мнимой части комплексного числа. -IMARGUMENT = МНИМ.АРГУМЕНТ ## Возвращает значение аргумента комплексного числа (тета) — угол, выраженный в радианах. -IMCONJUGATE = МНИМ.СОПРЯЖ ## Возвращает комплексно-сопряженное комплексное число. -IMCOS = МНИМ.COS ## Возвращает косинус комплексного числа. -IMDIV = МНИМ.ДЕЛ ## Возвращает частное от деления двух комплексных чисел. -IMEXP = МНИМ.EXP ## Возвращает экспоненту комплексного числа. -IMLN = МНИМ.LN ## Возвращает натуральный логарифм комплексного числа. -IMLOG10 = МНИМ.LOG10 ## Возвращает обычный (десятичный) логарифм комплексного числа. -IMLOG2 = МНИМ.LOG2 ## Возвращает двоичный логарифм комплексного числа. -IMPOWER = МНИМ.СТЕПЕНЬ ## Возвращает комплексное число, возведенное в целую степень. -IMPRODUCT = МНИМ.ПРОИЗВЕД ## Возвращает произведение от 2 до 29 комплексных чисел. -IMREAL = МНИМ.ВЕЩ ## Возвращает коэффициент при вещественной части комплексного числа. -IMSIN = МНИМ.SIN ## Возвращает синус комплексного числа. -IMSQRT = МНИМ.КОРЕНЬ ## Возвращает значение квадратного корня из комплексного числа. -IMSUB = МНИМ.РАЗН ## Возвращает разность двух комплексных чисел. -IMSUM = МНИМ.СУММ ## Возвращает сумму комплексных чисел. -OCT2BIN = ВОСЬМ.В.ДВ ## Преобразует восьмеричное число в двоичное. -OCT2DEC = ВОСЬМ.В.ДЕС ## Преобразует восьмеричное число в десятичное. -OCT2HEX = ВОСЬМ.В.ШЕСТН ## Преобразует восьмеричное число в шестнадцатеричное. - - -## -## Financial functions Финансовые функции -## -ACCRINT = НАКОПДОХОД ## Возвращает накопленный процент по ценным бумагам с периодической выплатой процентов. -ACCRINTM = НАКОПДОХОДПОГАШ ## Возвращает накопленный процент по ценным бумагам, проценты по которым выплачиваются в срок погашения. -AMORDEGRC = АМОРУМ ## Возвращает величину амортизации для каждого периода, используя коэффициент амортизации. -AMORLINC = АМОРУВ ## Возвращает величину амортизации для каждого периода. -COUPDAYBS = ДНЕЙКУПОНДО ## Возвращает количество дней от начала действия купона до даты соглашения. -COUPDAYS = ДНЕЙКУПОН ## Возвращает число дней в периоде купона, содержащем дату соглашения. -COUPDAYSNC = ДНЕЙКУПОНПОСЛЕ ## Возвращает число дней от даты соглашения до срока следующего купона. -COUPNCD = ДАТАКУПОНПОСЛЕ ## Возвращает следующую дату купона после даты соглашения. -COUPNUM = ЧИСЛКУПОН ## Возвращает количество купонов, которые могут быть оплачены между датой соглашения и сроком вступления в силу. -COUPPCD = ДАТАКУПОНДО ## Возвращает предыдущую дату купона перед датой соглашения. -CUMIPMT = ОБЩПЛАТ ## Возвращает общую выплату, произведенную между двумя периодическими выплатами. -CUMPRINC = ОБЩДОХОД ## Возвращает общую выплату по займу между двумя периодами. -DB = ФУО ## Возвращает величину амортизации актива для заданного периода, рассчитанную методом фиксированного уменьшения остатка. -DDB = ДДОБ ## Возвращает величину амортизации актива за данный период, используя метод двойного уменьшения остатка или иной явно указанный метод. -DISC = СКИДКА ## Возвращает норму скидки для ценных бумаг. -DOLLARDE = РУБЛЬ.ДЕС ## Преобразует цену в рублях, выраженную в виде дроби, в цену в рублях, выраженную десятичным числом. -DOLLARFR = РУБЛЬ.ДРОБЬ ## Преобразует цену в рублях, выраженную десятичным числом, в цену в рублях, выраженную в виде дроби. -DURATION = ДЛИТ ## Возвращает ежегодную продолжительность действия ценных бумаг с периодическими выплатами по процентам. -EFFECT = ЭФФЕКТ ## Возвращает действующие ежегодные процентные ставки. -FV = БС ## Возвращает будущую стоимость инвестиции. -FVSCHEDULE = БЗРАСПИС ## Возвращает будущую стоимость первоначальной основной суммы после начисления ряда сложных процентов. -INTRATE = ИНОРМА ## Возвращает процентную ставку для полностью инвестированных ценных бумаг. -IPMT = ПРПЛТ ## Возвращает величину выплаты прибыли на вложения за данный период. -IRR = ВСД ## Возвращает внутреннюю ставку доходности для ряда потоков денежных средств. -ISPMT = ПРОЦПЛАТ ## Вычисляет выплаты за указанный период инвестиции. -MDURATION = МДЛИТ ## Возвращает модифицированную длительность Маколея для ценных бумаг с предполагаемой номинальной стоимостью 100 рублей. -MIRR = МВСД ## Возвращает внутреннюю ставку доходности, при которой положительные и отрицательные денежные потоки имеют разные значения ставки. -NOMINAL = НОМИНАЛ ## Возвращает номинальную годовую процентную ставку. -NPER = КПЕР ## Возвращает общее количество периодов выплаты для данного вклада. -NPV = ЧПС ## Возвращает чистую приведенную стоимость инвестиции, основанной на серии периодических денежных потоков и ставке дисконтирования. -ODDFPRICE = ЦЕНАПЕРВНЕРЕГ ## Возвращает цену за 100 рублей нарицательной стоимости ценных бумаг с нерегулярным первым периодом. -ODDFYIELD = ДОХОДПЕРВНЕРЕГ ## Возвращает доход по ценным бумагам с нерегулярным первым периодом. -ODDLPRICE = ЦЕНАПОСЛНЕРЕГ ## Возвращает цену за 100 рублей нарицательной стоимости ценных бумаг с нерегулярным последним периодом. -ODDLYIELD = ДОХОДПОСЛНЕРЕГ ## Возвращает доход по ценным бумагам с нерегулярным последним периодом. -PMT = ПЛТ ## Возвращает величину выплаты за один период аннуитета. -PPMT = ОСПЛТ ## Возвращает величину выплат в погашение основной суммы по инвестиции за заданный период. -PRICE = ЦЕНА ## Возвращает цену за 100 рублей нарицательной стоимости ценных бумаг, по которым производится периодическая выплата процентов. -PRICEDISC = ЦЕНАСКИДКА ## Возвращает цену за 100 рублей номинальной стоимости ценных бумаг, на которые сделана скидка. -PRICEMAT = ЦЕНАПОГАШ ## Возвращает цену за 100 рублей номинальной стоимости ценных бумаг, проценты по которым выплачиваются в срок погашения. -PV = ПС ## Возвращает приведенную (к текущему моменту) стоимость инвестиции. -RATE = СТАВКА ## Возвращает процентную ставку по аннуитету за один период. -RECEIVED = ПОЛУЧЕНО ## Возвращает сумму, полученную к сроку погашения полностью обеспеченных ценных бумаг. -SLN = АПЛ ## Возвращает величину линейной амортизации актива за один период. -SYD = АСЧ ## Возвращает величину амортизации актива за данный период, рассчитанную методом суммы годовых чисел. -TBILLEQ = РАВНОКЧЕК ## Возвращает эквивалентный облигации доход по казначейскому чеку. -TBILLPRICE = ЦЕНАКЧЕК ## Возвращает цену за 100 рублей нарицательной стоимости для казначейского чека. -TBILLYIELD = ДОХОДКЧЕК ## Возвращает доход по казначейскому чеку. -VDB = ПУО ## Возвращает величину амортизации актива для указанного или частичного периода при использовании метода сокращающегося баланса. -XIRR = ЧИСТВНДОХ ## Возвращает внутреннюю ставку доходности для графика денежных потоков, которые не обязательно носят периодический характер. -XNPV = ЧИСТНЗ ## Возвращает чистую приведенную стоимость для денежных потоков, которые не обязательно являются периодическими. -YIELD = ДОХОД ## Возвращает доход от ценных бумаг, по которым производятся периодические выплаты процентов. -YIELDDISC = ДОХОДСКИДКА ## Возвращает годовой доход по ценным бумагам, на которые сделана скидка (пример — казначейские чеки). -YIELDMAT = ДОХОДПОГАШ ## Возвращает годовой доход от ценных бумаг, проценты по которым выплачиваются в срок погашения. - - -## -## Information functions Информационные функции -## -CELL = ЯЧЕЙКА ## Возвращает информацию о формате, расположении или содержимом ячейки. -ERROR.TYPE = ТИП.ОШИБКИ ## Возвращает числовой код, соответствующий типу ошибки. -INFO = ИНФОРМ ## Возвращает информацию о текущей операционной среде. -ISBLANK = ЕПУСТО ## Возвращает значение ИСТИНА, если аргумент является ссылкой на пустую ячейку. -ISERR = ЕОШ ## Возвращает значение ИСТИНА, если аргумент ссылается на любое значение ошибки, кроме #Н/Д. -ISERROR = ЕОШИБКА ## Возвращает значение ИСТИНА, если аргумент ссылается на любое значение ошибки. -ISEVEN = ЕЧЁТН ## Возвращает значение ИСТИНА, если значение аргумента является четным числом. -ISLOGICAL = ЕЛОГИЧ ## Возвращает значение ИСТИНА, если аргумент ссылается на логическое значение. -ISNA = ЕНД ## Возвращает значение ИСТИНА, если аргумент ссылается на значение ошибки #Н/Д. -ISNONTEXT = ЕНЕТЕКСТ ## Возвращает значение ИСТИНА, если значение аргумента не является текстом. -ISNUMBER = ЕЧИСЛО ## Возвращает значение ИСТИНА, если аргумент ссылается на число. -ISODD = ЕНЕЧЁТ ## Возвращает значение ИСТИНА, если значение аргумента является нечетным числом. -ISREF = ЕССЫЛКА ## Возвращает значение ИСТИНА, если значение аргумента является ссылкой. -ISTEXT = ЕТЕКСТ ## Возвращает значение ИСТИНА, если значение аргумента является текстом. -N = Ч ## Возвращает значение, преобразованное в число. -NA = НД ## Возвращает значение ошибки #Н/Д. -TYPE = ТИП ## Возвращает число, обозначающее тип данных значения. - - -## -## Logical functions Логические функции -## -AND = И ## Renvoie VRAI si tous ses arguments sont VRAI. -FALSE = ЛОЖЬ ## Возвращает логическое значение ЛОЖЬ. -IF = ЕСЛИ ## Выполняет проверку условия. -IFERROR = ЕСЛИОШИБКА ## Возвращает введённое значение, если вычисление по формуле вызывает ошибку; в противном случае функция возвращает результат вычисления. -NOT = НЕ ## Меняет логическое значение своего аргумента на противоположное. -OR = ИЛИ ## Возвращает значение ИСТИНА, если хотя бы один аргумент имеет значение ИСТИНА. -TRUE = ИСТИНА ## Возвращает логическое значение ИСТИНА. - - -## -## Lookup and reference functions Функции ссылки и поиска -## -ADDRESS = АДРЕС ## Возвращает ссылку на отдельную ячейку листа в виде текста. -AREAS = ОБЛАСТИ ## Возвращает количество областей в ссылке. -CHOOSE = ВЫБОР ## Выбирает значение из списка значений по индексу. -COLUMN = СТОЛБЕЦ ## Возвращает номер столбца, на который указывает ссылка. -COLUMNS = ЧИСЛСТОЛБ ## Возвращает количество столбцов в ссылке. -HLOOKUP = ГПР ## Ищет в первой строке массива и возвращает значение отмеченной ячейки -HYPERLINK = ГИПЕРССЫЛКА ## Создает ссылку, открывающую документ, который находится на сервере сети, в интрасети или в Интернете. -INDEX = ИНДЕКС ## Использует индекс для выбора значения из ссылки или массива. -INDIRECT = ДВССЫЛ ## Возвращает ссылку, заданную текстовым значением. -LOOKUP = ПРОСМОТР ## Ищет значения в векторе или массиве. -MATCH = ПОИСКПОЗ ## Ищет значения в ссылке или массиве. -OFFSET = СМЕЩ ## Возвращает смещение ссылки относительно заданной ссылки. -ROW = СТРОКА ## Возвращает номер строки, определяемой ссылкой. -ROWS = ЧСТРОК ## Возвращает количество строк в ссылке. -RTD = ДРВ ## Извлекает данные реального времени из программ, поддерживающих автоматизацию COM (Программирование объектов. Стандартное средство для работы с объектами некоторого приложения из другого приложения или средства разработки. Программирование объектов (ранее называемое программированием OLE) является функцией модели COM (Component Object Model, модель компонентных объектов).). -TRANSPOSE = ТРАНСП ## Возвращает транспонированный массив. -VLOOKUP = ВПР ## Ищет значение в первом столбце массива и возвращает значение из ячейки в найденной строке и указанном столбце. - - -## -## Math and trigonometry functions Математические и тригонометрические функции -## -ABS = ABS ## Возвращает модуль (абсолютную величину) числа. -ACOS = ACOS ## Возвращает арккосинус числа. -ACOSH = ACOSH ## Возвращает гиперболический арккосинус числа. -ASIN = ASIN ## Возвращает арксинус числа. -ASINH = ASINH ## Возвращает гиперболический арксинус числа. -ATAN = ATAN ## Возвращает арктангенс числа. -ATAN2 = ATAN2 ## Возвращает арктангенс для заданных координат x и y. -ATANH = ATANH ## Возвращает гиперболический арктангенс числа. -CEILING = ОКРВВЕРХ ## Округляет число до ближайшего целого или до ближайшего кратного указанному значению. -COMBIN = ЧИСЛКОМБ ## Возвращает количество комбинаций для заданного числа объектов. -COS = COS ## Возвращает косинус числа. -COSH = COSH ## Возвращает гиперболический косинус числа. -DEGREES = ГРАДУСЫ ## Преобразует радианы в градусы. -EVEN = ЧЁТН ## Округляет число до ближайшего четного целого. -EXP = EXP ## Возвращает число e, возведенное в указанную степень. -FACT = ФАКТР ## Возвращает факториал числа. -FACTDOUBLE = ДВФАКТР ## Возвращает двойной факториал числа. -FLOOR = ОКРВНИЗ ## Округляет число до ближайшего меньшего по модулю значения. -GCD = НОД ## Возвращает наибольший общий делитель. -INT = ЦЕЛОЕ ## Округляет число до ближайшего меньшего целого. -LCM = НОК ## Возвращает наименьшее общее кратное. -LN = LN ## Возвращает натуральный логарифм числа. -LOG = LOG ## Возвращает логарифм числа по заданному основанию. -LOG10 = LOG10 ## Возвращает десятичный логарифм числа. -MDETERM = МОПРЕД ## Возвращает определитель матрицы массива. -MINVERSE = МОБР ## Возвращает обратную матрицу массива. -MMULT = МУМНОЖ ## Возвращает произведение матриц двух массивов. -MOD = ОСТАТ ## Возвращает остаток от деления. -MROUND = ОКРУГЛТ ## Возвращает число, округленное с требуемой точностью. -MULTINOMIAL = МУЛЬТИНОМ ## Возвращает мультиномиальный коэффициент множества чисел. -ODD = НЕЧЁТ ## Округляет число до ближайшего нечетного целого. -PI = ПИ ## Возвращает число пи. -POWER = СТЕПЕНЬ ## Возвращает результат возведения числа в степень. -PRODUCT = ПРОИЗВЕД ## Возвращает произведение аргументов. -QUOTIENT = ЧАСТНОЕ ## Возвращает целую часть частного при делении. -RADIANS = РАДИАНЫ ## Преобразует градусы в радианы. -RAND = СЛЧИС ## Возвращает случайное число в интервале от 0 до 1. -RANDBETWEEN = СЛУЧМЕЖДУ ## Возвращает случайное число в интервале между двумя заданными числами. -ROMAN = РИМСКОЕ ## Преобразует арабские цифры в римские в виде текста. -ROUND = ОКРУГЛ ## Округляет число до указанного количества десятичных разрядов. -ROUNDDOWN = ОКРУГЛВНИЗ ## Округляет число до ближайшего меньшего по модулю значения. -ROUNDUP = ОКРУГЛВВЕРХ ## Округляет число до ближайшего большего по модулю значения. -SERIESSUM = РЯД.СУММ ## Возвращает сумму степенного ряда, вычисленную по формуле. -SIGN = ЗНАК ## Возвращает знак числа. -SIN = SIN ## Возвращает синус заданного угла. -SINH = SINH ## Возвращает гиперболический синус числа. -SQRT = КОРЕНЬ ## Возвращает положительное значение квадратного корня. -SQRTPI = КОРЕНЬПИ ## Возвращает квадратный корень из значения выражения (число * ПИ). -SUBTOTAL = ПРОМЕЖУТОЧНЫЕ.ИТОГИ ## Возвращает промежуточный итог в списке или базе данных. -SUM = СУММ ## Суммирует аргументы. -SUMIF = СУММЕСЛИ ## Суммирует ячейки, удовлетворяющие заданному условию. -SUMIFS = СУММЕСЛИМН ## Суммирует диапазон ячеек, удовлетворяющих нескольким условиям. -SUMPRODUCT = СУММПРОИЗВ ## Возвращает сумму произведений соответствующих элементов массивов. -SUMSQ = СУММКВ ## Возвращает сумму квадратов аргументов. -SUMX2MY2 = СУММРАЗНКВ ## Возвращает сумму разностей квадратов соответствующих значений в двух массивах. -SUMX2PY2 = СУММСУММКВ ## Возвращает сумму сумм квадратов соответствующих элементов двух массивов. -SUMXMY2 = СУММКВРАЗН ## Возвращает сумму квадратов разностей соответствующих значений в двух массивах. -TAN = TAN ## Возвращает тангенс числа. -TANH = TANH ## Возвращает гиперболический тангенс числа. -TRUNC = ОТБР ## Отбрасывает дробную часть числа. - - -## -## Statistical functions Статистические функции -## -AVEDEV = СРОТКЛ ## Возвращает среднее арифметическое абсолютных значений отклонений точек данных от среднего. -AVERAGE = СРЗНАЧ ## Возвращает среднее арифметическое аргументов. -AVERAGEA = СРЗНАЧА ## Возвращает среднее арифметическое аргументов, включая числа, текст и логические значения. -AVERAGEIF = СРЗНАЧЕСЛИ ## Возвращает среднее значение (среднее арифметическое) всех ячеек в диапазоне, которые удовлетворяют данному условию. -AVERAGEIFS = СРЗНАЧЕСЛИМН ## Возвращает среднее значение (среднее арифметическое) всех ячеек, которые удовлетворяют нескольким условиям. -BETADIST = БЕТАРАСП ## Возвращает интегральную функцию бета-распределения. -BETAINV = БЕТАОБР ## Возвращает обратную интегральную функцию указанного бета-распределения. -BINOMDIST = БИНОМРАСП ## Возвращает отдельное значение биномиального распределения. -CHIDIST = ХИ2РАСП ## Возвращает одностороннюю вероятность распределения хи-квадрат. -CHIINV = ХИ2ОБР ## Возвращает обратное значение односторонней вероятности распределения хи-квадрат. -CHITEST = ХИ2ТЕСТ ## Возвращает тест на независимость. -CONFIDENCE = ДОВЕРИТ ## Возвращает доверительный интервал для среднего значения по генеральной совокупности. -CORREL = КОРРЕЛ ## Возвращает коэффициент корреляции между двумя множествами данных. -COUNT = СЧЁТ ## Подсчитывает количество чисел в списке аргументов. -COUNTA = СЧЁТЗ ## Подсчитывает количество значений в списке аргументов. -COUNTBLANK = СЧИТАТЬПУСТОТЫ ## Подсчитывает количество пустых ячеек в диапазоне -COUNTIF = СЧЁТЕСЛИ ## Подсчитывает количество ячеек в диапазоне, удовлетворяющих заданному условию -COUNTIFS = СЧЁТЕСЛИМН ## Подсчитывает количество ячеек внутри диапазона, удовлетворяющих нескольким условиям. -COVAR = КОВАР ## Возвращает ковариацию, среднее произведений парных отклонений -CRITBINOM = КРИТБИНОМ ## Возвращает наименьшее значение, для которого интегральное биномиальное распределение меньше или равно заданному критерию. -DEVSQ = КВАДРОТКЛ ## Возвращает сумму квадратов отклонений. -EXPONDIST = ЭКСПРАСП ## Возвращает экспоненциальное распределение. -FDIST = FРАСП ## Возвращает F-распределение вероятности. -FINV = FРАСПОБР ## Возвращает обратное значение для F-распределения вероятности. -FISHER = ФИШЕР ## Возвращает преобразование Фишера. -FISHERINV = ФИШЕРОБР ## Возвращает обратное преобразование Фишера. -FORECAST = ПРЕДСКАЗ ## Возвращает значение линейного тренда. -FREQUENCY = ЧАСТОТА ## Возвращает распределение частот в виде вертикального массива. -FTEST = ФТЕСТ ## Возвращает результат F-теста. -GAMMADIST = ГАММАРАСП ## Возвращает гамма-распределение. -GAMMAINV = ГАММАОБР ## Возвращает обратное гамма-распределение. -GAMMALN = ГАММАНЛОГ ## Возвращает натуральный логарифм гамма функции, Γ(x). -GEOMEAN = СРГЕОМ ## Возвращает среднее геометрическое. -GROWTH = РОСТ ## Возвращает значения в соответствии с экспоненциальным трендом. -HARMEAN = СРГАРМ ## Возвращает среднее гармоническое. -HYPGEOMDIST = ГИПЕРГЕОМЕТ ## Возвращает гипергеометрическое распределение. -INTERCEPT = ОТРЕЗОК ## Возвращает отрезок, отсекаемый на оси линией линейной регрессии. -KURT = ЭКСЦЕСС ## Возвращает эксцесс множества данных. -LARGE = НАИБОЛЬШИЙ ## Возвращает k-ое наибольшее значение в множестве данных. -LINEST = ЛИНЕЙН ## Возвращает параметры линейного тренда. -LOGEST = ЛГРФПРИБЛ ## Возвращает параметры экспоненциального тренда. -LOGINV = ЛОГНОРМОБР ## Возвращает обратное логарифмическое нормальное распределение. -LOGNORMDIST = ЛОГНОРМРАСП ## Возвращает интегральное логарифмическое нормальное распределение. -MAX = МАКС ## Возвращает наибольшее значение в списке аргументов. -MAXA = МАКСА ## Возвращает наибольшее значение в списке аргументов, включая числа, текст и логические значения. -MEDIAN = МЕДИАНА ## Возвращает медиану заданных чисел. -MIN = МИН ## Возвращает наименьшее значение в списке аргументов. -MINA = МИНА ## Возвращает наименьшее значение в списке аргументов, включая числа, текст и логические значения. -MODE = МОДА ## Возвращает значение моды множества данных. -NEGBINOMDIST = ОТРБИНОМРАСП ## Возвращает отрицательное биномиальное распределение. -NORMDIST = НОРМРАСП ## Возвращает нормальную функцию распределения. -NORMINV = НОРМОБР ## Возвращает обратное нормальное распределение. -NORMSDIST = НОРМСТРАСП ## Возвращает стандартное нормальное интегральное распределение. -NORMSINV = НОРМСТОБР ## Возвращает обратное значение стандартного нормального распределения. -PEARSON = ПИРСОН ## Возвращает коэффициент корреляции Пирсона. -PERCENTILE = ПЕРСЕНТИЛЬ ## Возвращает k-ую персентиль для значений диапазона. -PERCENTRANK = ПРОЦЕНТРАНГ ## Возвращает процентную норму значения в множестве данных. -PERMUT = ПЕРЕСТ ## Возвращает количество перестановок для заданного числа объектов. -POISSON = ПУАССОН ## Возвращает распределение Пуассона. -PROB = ВЕРОЯТНОСТЬ ## Возвращает вероятность того, что значение из диапазона находится внутри заданных пределов. -QUARTILE = КВАРТИЛЬ ## Возвращает квартиль множества данных. -RANK = РАНГ ## Возвращает ранг числа в списке чисел. -RSQ = КВПИРСОН ## Возвращает квадрат коэффициента корреляции Пирсона. -SKEW = СКОС ## Возвращает асимметрию распределения. -SLOPE = НАКЛОН ## Возвращает наклон линии линейной регрессии. -SMALL = НАИМЕНЬШИЙ ## Возвращает k-ое наименьшее значение в множестве данных. -STANDARDIZE = НОРМАЛИЗАЦИЯ ## Возвращает нормализованное значение. -STDEV = СТАНДОТКЛОН ## Оценивает стандартное отклонение по выборке. -STDEVA = СТАНДОТКЛОНА ## Оценивает стандартное отклонение по выборке, включая числа, текст и логические значения. -STDEVP = СТАНДОТКЛОНП ## Вычисляет стандартное отклонение по генеральной совокупности. -STDEVPA = СТАНДОТКЛОНПА ## Вычисляет стандартное отклонение по генеральной совокупности, включая числа, текст и логические значения. -STEYX = СТОШYX ## Возвращает стандартную ошибку предсказанных значений y для каждого значения x в регрессии. -TDIST = СТЬЮДРАСП ## Возвращает t-распределение Стьюдента. -TINV = СТЬЮДРАСПОБР ## Возвращает обратное t-распределение Стьюдента. -TREND = ТЕНДЕНЦИЯ ## Возвращает значения в соответствии с линейным трендом. -TRIMMEAN = УРЕЗСРЕДНЕЕ ## Возвращает среднее внутренности множества данных. -TTEST = ТТЕСТ ## Возвращает вероятность, соответствующую критерию Стьюдента. -VAR = ДИСП ## Оценивает дисперсию по выборке. -VARA = ДИСПА ## Оценивает дисперсию по выборке, включая числа, текст и логические значения. -VARP = ДИСПР ## Вычисляет дисперсию для генеральной совокупности. -VARPA = ДИСПРА ## Вычисляет дисперсию для генеральной совокупности, включая числа, текст и логические значения. -WEIBULL = ВЕЙБУЛЛ ## Возвращает распределение Вейбулла. -ZTEST = ZТЕСТ ## Возвращает двустороннее P-значение z-теста. - - -## -## Text functions Текстовые функции -## -ASC = ASC ## Для языков с двухбайтовыми наборами знаков (например, катакана) преобразует полноширинные (двухбайтовые) знаки в полуширинные (однобайтовые). -BAHTTEXT = БАТТЕКСТ ## Преобразует число в текст, используя денежный формат ß (БАТ). -CHAR = СИМВОЛ ## Возвращает знак с заданным кодом. -CLEAN = ПЕЧСИМВ ## Удаляет все непечатаемые знаки из текста. -CODE = КОДСИМВ ## Возвращает числовой код первого знака в текстовой строке. -CONCATENATE = СЦЕПИТЬ ## Объединяет несколько текстовых элементов в один. -DOLLAR = РУБЛЬ ## Преобразует число в текст, используя денежный формат. -EXACT = СОВПАД ## Проверяет идентичность двух текстовых значений. -FIND = НАЙТИ ## Ищет вхождения одного текстового значения в другом (с учетом регистра). -FINDB = НАЙТИБ ## Ищет вхождения одного текстового значения в другом (с учетом регистра). -FIXED = ФИКСИРОВАННЫЙ ## Форматирует число и преобразует его в текст с заданным числом десятичных знаков. -JIS = JIS ## Для языков с двухбайтовыми наборами знаков (например, катакана) преобразует полуширинные (однобайтовые) знаки в текстовой строке в полноширинные (двухбайтовые). -LEFT = ЛЕВСИМВ ## Возвращает крайние слева знаки текстового значения. -LEFTB = ЛЕВБ ## Возвращает крайние слева знаки текстового значения. -LEN = ДЛСТР ## Возвращает количество знаков в текстовой строке. -LENB = ДЛИНБ ## Возвращает количество знаков в текстовой строке. -LOWER = СТРОЧН ## Преобразует все буквы текста в строчные. -MID = ПСТР ## Возвращает заданное число знаков из строки текста, начиная с указанной позиции. -MIDB = ПСТРБ ## Возвращает заданное число знаков из строки текста, начиная с указанной позиции. -PHONETIC = PHONETIC ## Извлекает фонетические (фуригана) знаки из текстовой строки. -PROPER = ПРОПНАЧ ## Преобразует первую букву в каждом слове текста в прописную. -REPLACE = ЗАМЕНИТЬ ## Заменяет знаки в тексте. -REPLACEB = ЗАМЕНИТЬБ ## Заменяет знаки в тексте. -REPT = ПОВТОР ## Повторяет текст заданное число раз. -RIGHT = ПРАВСИМВ ## Возвращает крайние справа знаки текстовой строки. -RIGHTB = ПРАВБ ## Возвращает крайние справа знаки текстовой строки. -SEARCH = ПОИСК ## Ищет вхождения одного текстового значения в другом (без учета регистра). -SEARCHB = ПОИСКБ ## Ищет вхождения одного текстового значения в другом (без учета регистра). -SUBSTITUTE = ПОДСТАВИТЬ ## Заменяет в текстовой строке старый текст новым. -T = Т ## Преобразует аргументы в текст. -TEXT = ТЕКСТ ## Форматирует число и преобразует его в текст. -TRIM = СЖПРОБЕЛЫ ## Удаляет из текста пробелы. -UPPER = ПРОПИСН ## Преобразует все буквы текста в прописные. -VALUE = ЗНАЧЕН ## Преобразует текстовый аргумент в число. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/ru/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/config deleted file mode 100644 index 726f77164..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = kr - - -## -## Excel Error Codes (For future use) -## -NULL = #Skärning! -DIV0 = #Division/0! -VALUE = #Värdefel! -REF = #Referens! -NAME = #Namn? -NUM = #Ogiltigt! -NA = #Saknas! diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/functions deleted file mode 100644 index 9af37d8e4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/functions +++ /dev/null @@ -1,408 +0,0 @@ -## -## Add-in and Automation functions Tilläggs- och automatiseringsfunktioner -## -GETPIVOTDATA = HÄMTA.PIVOTDATA ## Returnerar data som lagrats i en pivottabellrapport - - -## -## Cube functions Kubfunktioner -## -CUBEKPIMEMBER = KUBKPIMEDLEM ## Returnerar namn, egenskap och mått för en KPI och visar namnet och egenskapen i cellen. En KPI, eller prestandaindikator, är ett kvantifierbart mått, t.ex. månatlig bruttovinst eller personalomsättning per kvartal, som används för att analysera ett företags resultat. -CUBEMEMBER = KUBMEDLEM ## Returnerar en medlem eller ett par i en kubhierarki. Används för att verifiera att medlemmen eller paret finns i kuben. -CUBEMEMBERPROPERTY = KUBMEDLEMSEGENSKAP ## Returnerar värdet för en medlemsegenskap i kuben. Används för att verifiera att ett medlemsnamn finns i kuben, samt för att returnera den angivna egenskapen för medlemmen. -CUBERANKEDMEMBER = KUBRANGORDNADMEDLEM ## Returnerar den n:te, eller rangordnade, medlemmen i en uppsättning. Används för att returnera ett eller flera element i en uppsättning, till exempelvis den bästa försäljaren eller de tio bästa eleverna. -CUBESET = KUBINSTÄLLNING ## Definierar en beräknad uppsättning medlemmar eller par genom att skicka ett bestämt uttryck till kuben på servern, som skapar uppsättningen och sedan returnerar den till Microsoft Office Excel. -CUBESETCOUNT = KUBINSTÄLLNINGANTAL ## Returnerar antalet objekt i en uppsättning. -CUBEVALUE = KUBVÄRDE ## Returnerar ett mängdvärde från en kub. - - -## -## Database functions Databasfunktioner -## -DAVERAGE = DMEDEL ## Returnerar medelvärdet av databasposterna -DCOUNT = DANTAL ## Räknar antalet celler som innehåller tal i en databas -DCOUNTA = DANTALV ## Räknar ifyllda celler i en databas -DGET = DHÄMTA ## Hämtar en enstaka post från en databas som uppfyller de angivna villkoren -DMAX = DMAX ## Returnerar det största värdet från databasposterna -DMIN = DMIN ## Returnerar det minsta värdet från databasposterna -DPRODUCT = DPRODUKT ## Multiplicerar värdena i ett visst fält i poster som uppfyller villkoret -DSTDEV = DSTDAV ## Uppskattar standardavvikelsen baserat på ett urval av databasposterna -DSTDEVP = DSTDAVP ## Beräknar standardavvikelsen utifrån hela populationen av valda databasposter -DSUM = DSUMMA ## Summerar talen i kolumnfält i databasposter som uppfyller villkoret -DVAR = DVARIANS ## Uppskattar variansen baserat på ett urval av databasposterna -DVARP = DVARIANSP ## Beräknar variansen utifrån hela populationen av valda databasposter - - -## -## Date and time functions Tid- och datumfunktioner -## -DATE = DATUM ## Returnerar ett serienummer för ett visst datum -DATEVALUE = DATUMVÄRDE ## Konverterar ett datum i textformat till ett serienummer -DAY = DAG ## Konverterar ett serienummer till dag i månaden -DAYS360 = DAGAR360 ## Beräknar antalet dagar mellan två datum baserat på ett 360-dagarsår -EDATE = EDATUM ## Returnerar serienumret för ett datum som infaller ett visst antal månader före eller efter startdatumet -EOMONTH = SLUTMÅNAD ## Returnerar serienumret för sista dagen i månaden ett visst antal månader tidigare eller senare -HOUR = TIMME ## Konverterar ett serienummer till en timme -MINUTE = MINUT ## Konverterar ett serienummer till en minut -MONTH = MÅNAD ## Konverterar ett serienummer till en månad -NETWORKDAYS = NETTOARBETSDAGAR ## Returnerar antalet hela arbetsdagar mellan två datum -NOW = NU ## Returnerar serienumret för dagens datum och aktuell tid -SECOND = SEKUND ## Konverterar ett serienummer till en sekund -TIME = KLOCKSLAG ## Returnerar serienumret för en viss tid -TIMEVALUE = TIDVÄRDE ## Konverterar en tid i textformat till ett serienummer -TODAY = IDAG ## Returnerar serienumret för dagens datum -WEEKDAY = VECKODAG ## Konverterar ett serienummer till en dag i veckan -WEEKNUM = VECKONR ## Konverterar ett serienummer till ett veckonummer -WORKDAY = ARBETSDAGAR ## Returnerar serienumret för ett datum ett visst antal arbetsdagar tidigare eller senare -YEAR = ÅR ## Konverterar ett serienummer till ett år -YEARFRAC = ÅRDEL ## Returnerar en del av ett år som representerar antalet hela dagar mellan start- och slutdatum - - -## -## Engineering functions Tekniska funktioner -## -BESSELI = BESSELI ## Returnerar den modifierade Bessel-funktionen In(x) -BESSELJ = BESSELJ ## Returnerar Bessel-funktionen Jn(x) -BESSELK = BESSELK ## Returnerar den modifierade Bessel-funktionen Kn(x) -BESSELY = BESSELY ## Returnerar Bessel-funktionen Yn(x) -BIN2DEC = BIN.TILL.DEC ## Omvandlar ett binärt tal till decimalt -BIN2HEX = BIN.TILL.HEX ## Omvandlar ett binärt tal till hexadecimalt -BIN2OCT = BIN.TILL.OKT ## Omvandlar ett binärt tal till oktalt -COMPLEX = KOMPLEX ## Omvandlar reella och imaginära koefficienter till ett komplext tal -CONVERT = KONVERTERA ## Omvandlar ett tal från ett måttsystem till ett annat -DEC2BIN = DEC.TILL.BIN ## Omvandlar ett decimalt tal till binärt -DEC2HEX = DEC.TILL.HEX ## Omvandlar ett decimalt tal till hexadecimalt -DEC2OCT = DEC.TILL.OKT ## Omvandlar ett decimalt tal till oktalt -DELTA = DELTA ## Testar om två värden är lika -ERF = FELF ## Returnerar felfunktionen -ERFC = FELFK ## Returnerar den komplementära felfunktionen -GESTEP = SLSTEG ## Testar om ett tal är större än ett tröskelvärde -HEX2BIN = HEX.TILL.BIN ## Omvandlar ett hexadecimalt tal till binärt -HEX2DEC = HEX.TILL.DEC ## Omvandlar ett hexadecimalt tal till decimalt -HEX2OCT = HEX.TILL.OKT ## Omvandlar ett hexadecimalt tal till oktalt -IMABS = IMABS ## Returnerar absolutvärdet (modulus) för ett komplext tal -IMAGINARY = IMAGINÄR ## Returnerar den imaginära koefficienten för ett komplext tal -IMARGUMENT = IMARGUMENT ## Returnerar det komplexa talets argument, en vinkel uttryckt i radianer -IMCONJUGATE = IMKONJUGAT ## Returnerar det komplexa talets konjugat -IMCOS = IMCOS ## Returnerar cosinus för ett komplext tal -IMDIV = IMDIV ## Returnerar kvoten för två komplexa tal -IMEXP = IMEUPPHÖJT ## Returnerar exponenten för ett komplext tal -IMLN = IMLN ## Returnerar den naturliga logaritmen för ett komplext tal -IMLOG10 = IMLOG10 ## Returnerar 10-logaritmen för ett komplext tal -IMLOG2 = IMLOG2 ## Returnerar 2-logaritmen för ett komplext tal -IMPOWER = IMUPPHÖJT ## Returnerar ett komplext tal upphöjt till en exponent -IMPRODUCT = IMPRODUKT ## Returnerar produkten av komplexa tal -IMREAL = IMREAL ## Returnerar den reella koefficienten för ett komplext tal -IMSIN = IMSIN ## Returnerar sinus för ett komplext tal -IMSQRT = IMROT ## Returnerar kvadratroten av ett komplext tal -IMSUB = IMDIFF ## Returnerar differensen mellan två komplexa tal -IMSUM = IMSUM ## Returnerar summan av komplexa tal -OCT2BIN = OKT.TILL.BIN ## Omvandlar ett oktalt tal till binärt -OCT2DEC = OKT.TILL.DEC ## Omvandlar ett oktalt tal till decimalt -OCT2HEX = OKT.TILL.HEX ## Omvandlar ett oktalt tal till hexadecimalt - - -## -## Financial functions Finansiella funktioner -## -ACCRINT = UPPLRÄNTA ## Returnerar den upplupna räntan för värdepapper med periodisk ränta -ACCRINTM = UPPLOBLRÄNTA ## Returnerar den upplupna räntan för ett värdepapper som ger avkastning på förfallodagen -AMORDEGRC = AMORDEGRC ## Returnerar avskrivningen för varje redovisningsperiod med hjälp av en avskrivningskoefficient -AMORLINC = AMORLINC ## Returnerar avskrivningen för varje redovisningsperiod -COUPDAYBS = KUPDAGBB ## Returnerar antal dagar från början av kupongperioden till likviddagen -COUPDAYS = KUPDAGARS ## Returnerar antalet dagar i kupongperioden som innehåller betalningsdatumet -COUPDAYSNC = KUPDAGNK ## Returnerar antalet dagar från betalningsdatumet till nästa kupongdatum -COUPNCD = KUPNKD ## Returnerar nästa kupongdatum efter likviddagen -COUPNUM = KUPANT ## Returnerar kuponger som förfaller till betalning mellan likviddagen och förfallodagen -COUPPCD = KUPFKD ## Returnerar föregående kupongdatum före likviddagen -CUMIPMT = KUMRÄNTA ## Returnerar den ackumulerade räntan som betalats mellan två perioder -CUMPRINC = KUMPRIS ## Returnerar det ackumulerade kapitalbeloppet som betalats på ett lån mellan två perioder -DB = DB ## Returnerar avskrivningen för en tillgång under en angiven tid enligt metoden för fast degressiv avskrivning -DDB = DEGAVSKR ## Returnerar en tillgångs värdeminskning under en viss period med hjälp av dubbel degressiv avskrivning eller någon annan metod som du anger -DISC = DISK ## Returnerar diskonteringsräntan för ett värdepapper -DOLLARDE = DECTAL ## Omvandlar ett pris uttryckt som ett bråk till ett decimaltal -DOLLARFR = BRÅK ## Omvandlar ett pris i kronor uttryckt som ett decimaltal till ett bråk -DURATION = LÖPTID ## Returnerar den årliga löptiden för en säkerhet med periodiska räntebetalningar -EFFECT = EFFRÄNTA ## Returnerar den årliga effektiva räntesatsen -FV = SLUTVÄRDE ## Returnerar det framtida värdet på en investering -FVSCHEDULE = FÖRRÄNTNING ## Returnerar det framtida värdet av ett begynnelsekapital beräknat på olika räntenivåer -INTRATE = ÅRSRÄNTA ## Returnerar räntesatsen för ett betalt värdepapper -IPMT = RBETALNING ## Returnerar räntedelen av en betalning för en given period -IRR = IR ## Returnerar internräntan för en serie betalningar -ISPMT = RALÅN ## Beräknar räntan som har betalats under en specifik betalningsperiod -MDURATION = MLÖPTID ## Returnerar den modifierade Macauley-löptiden för ett värdepapper med det antagna nominella värdet 100 kr -MIRR = MODIR ## Returnerar internräntan där positiva och negativa betalningar finansieras med olika räntor -NOMINAL = NOMRÄNTA ## Returnerar den årliga nominella räntesatsen -NPER = PERIODER ## Returnerar antalet perioder för en investering -NPV = NETNUVÄRDE ## Returnerar nuvärdet av en serie periodiska betalningar vid en given diskonteringsränta -ODDFPRICE = UDDAFPRIS ## Returnerar priset per 100 kr nominellt värde för ett värdepapper med en udda första period -ODDFYIELD = UDDAFAVKASTNING ## Returnerar avkastningen för en säkerhet med en udda första period -ODDLPRICE = UDDASPRIS ## Returnerar priset per 100 kr nominellt värde för ett värdepapper med en udda sista period -ODDLYIELD = UDDASAVKASTNING ## Returnerar avkastningen för en säkerhet med en udda sista period -PMT = BETALNING ## Returnerar den periodiska betalningen för en annuitet -PPMT = AMORT ## Returnerar amorteringsdelen av en annuitetsbetalning för en given period -PRICE = PRIS ## Returnerar priset per 100 kr nominellt värde för ett värdepapper som ger periodisk ränta -PRICEDISC = PRISDISK ## Returnerar priset per 100 kr nominellt värde för ett diskonterat värdepapper -PRICEMAT = PRISFÖRF ## Returnerar priset per 100 kr nominellt värde för ett värdepapper som ger ränta på förfallodagen -PV = PV ## Returnerar nuvärdet av en serie lika stora periodiska betalningar -RATE = RÄNTA ## Returnerar räntesatsen per period i en annuitet -RECEIVED = BELOPP ## Returnerar beloppet som utdelas på förfallodagen för ett betalat värdepapper -SLN = LINAVSKR ## Returnerar den linjära avskrivningen för en tillgång under en period -SYD = ÅRSAVSKR ## Returnerar den årliga avskrivningssumman för en tillgång under en angiven period -TBILLEQ = SSVXEKV ## Returnerar avkastningen motsvarande en obligation för en statsskuldväxel -TBILLPRICE = SSVXPRIS ## Returnerar priset per 100 kr nominellt värde för en statsskuldväxel -TBILLYIELD = SSVXRÄNTA ## Returnerar avkastningen för en statsskuldväxel -VDB = VDEGRAVSKR ## Returnerar avskrivningen för en tillgång under en angiven period (med degressiv avskrivning) -XIRR = XIRR ## Returnerar internräntan för en serie betalningar som inte nödvändigtvis är periodiska -XNPV = XNUVÄRDE ## Returnerar det nuvarande nettovärdet för en serie betalningar som inte nödvändigtvis är periodiska -YIELD = NOMAVK ## Returnerar avkastningen för ett värdepapper som ger periodisk ränta -YIELDDISC = NOMAVKDISK ## Returnerar den årliga avkastningen för diskonterade värdepapper, exempelvis en statsskuldväxel -YIELDMAT = NOMAVKFÖRF ## Returnerar den årliga avkastningen för ett värdepapper som ger ränta på förfallodagen - - -## -## Information functions Informationsfunktioner -## -CELL = CELL ## Returnerar information om formatering, plats och innehåll i en cell -ERROR.TYPE = FEL.TYP ## Returnerar ett tal som motsvarar ett felvärde -INFO = INFO ## Returnerar information om operativsystemet -ISBLANK = ÄRREF ## Returnerar SANT om värdet är tomt -ISERR = Ä ## Returnerar SANT om värdet är ett felvärde annat än #SAKNAS! -ISERROR = ÄRFEL ## Returnerar SANT om värdet är ett felvärde -ISEVEN = ÄRJÄMN ## Returnerar SANT om talet är jämnt -ISLOGICAL = ÄREJTEXT ## Returnerar SANT om värdet är ett logiskt värde -ISNA = ÄRLOGISK ## Returnerar SANT om värdet är felvärdet #SAKNAS! -ISNONTEXT = ÄRSAKNAD ## Returnerar SANT om värdet inte är text -ISNUMBER = ÄRTAL ## Returnerar SANT om värdet är ett tal -ISODD = ÄRUDDA ## Returnerar SANT om talet är udda -ISREF = ÄRTOM ## Returnerar SANT om värdet är en referens -ISTEXT = ÄRTEXT ## Returnerar SANT om värdet är text -N = N ## Returnerar ett värde omvandlat till ett tal -NA = SAKNAS ## Returnerar felvärdet #SAKNAS! -TYPE = VÄRDETYP ## Returnerar ett tal som anger värdets datatyp - - -## -## Logical functions Logiska funktioner -## -AND = OCH ## Returnerar SANT om alla argument är sanna -FALSE = FALSKT ## Returnerar det logiska värdet FALSKT -IF = OM ## Anger vilket logiskt test som ska utföras -IFERROR = OMFEL ## Returnerar ett värde som du anger om en formel utvärderar till ett fel; annars returneras resultatet av formeln -NOT = ICKE ## Inverterar logiken för argumenten -OR = ELLER ## Returnerar SANT om något argument är SANT -TRUE = SANT ## Returnerar det logiska värdet SANT - - -## -## Lookup and reference functions Sök- och referensfunktioner -## -ADDRESS = ADRESS ## Returnerar en referens som text till en enstaka cell i ett kalkylblad -AREAS = OMRÅDEN ## Returnerar antalet områden i en referens -CHOOSE = VÄLJ ## Väljer ett värde i en lista över värden -COLUMN = KOLUMN ## Returnerar kolumnnumret för en referens -COLUMNS = KOLUMNER ## Returnerar antalet kolumner i en referens -HLOOKUP = LETAKOLUMN ## Söker i den översta raden i en matris och returnerar värdet för angiven cell -HYPERLINK = HYPERLÄNK ## Skapar en genväg eller ett hopp till ett dokument i nätverket, i ett intranät eller på Internet -INDEX = INDEX ## Använder ett index för ett välja ett värde i en referens eller matris -INDIRECT = INDIREKT ## Returnerar en referens som anges av ett textvärde -LOOKUP = LETAUPP ## Letar upp värden i en vektor eller matris -MATCH = PASSA ## Letar upp värden i en referens eller matris -OFFSET = FÖRSKJUTNING ## Returnerar en referens förskjuten i förhållande till en given referens -ROW = RAD ## Returnerar radnumret för en referens -ROWS = RADER ## Returnerar antalet rader i en referens -RTD = RTD ## Hämtar realtidsdata från ett program som stöder COM-automation (Automation: Ett sätt att arbeta med ett programs objekt från ett annat program eller utvecklingsverktyg. Detta kallades tidigare för OLE Automation, och är en branschstandard och ingår i Component Object Model (COM).) -TRANSPOSE = TRANSPONERA ## Transponerar en matris -VLOOKUP = LETARAD ## Letar i den första kolumnen i en matris och flyttar över raden för att returnera värdet för en cell - - -## -## Math and trigonometry functions Matematiska och trigonometriska funktioner -## -ABS = ABS ## Returnerar absolutvärdet av ett tal -ACOS = ARCCOS ## Returnerar arcus cosinus för ett tal -ACOSH = ARCCOSH ## Returnerar inverterad hyperbolisk cosinus för ett tal -ASIN = ARCSIN ## Returnerar arcus cosinus för ett tal -ASINH = ARCSINH ## Returnerar hyperbolisk arcus sinus för ett tal -ATAN = ARCTAN ## Returnerar arcus tangens för ett tal -ATAN2 = ARCTAN2 ## Returnerar arcus tangens för en x- och en y- koordinat -ATANH = ARCTANH ## Returnerar hyperbolisk arcus tangens för ett tal -CEILING = RUNDA.UPP ## Avrundar ett tal till närmaste heltal eller närmaste signifikanta multipel -COMBIN = KOMBIN ## Returnerar antalet kombinationer för ett givet antal objekt -COS = COS ## Returnerar cosinus för ett tal -COSH = COSH ## Returnerar hyperboliskt cosinus för ett tal -DEGREES = GRADER ## Omvandlar radianer till grader -EVEN = JÄMN ## Avrundar ett tal uppåt till närmaste heltal -EXP = EXP ## Returnerar e upphöjt till ett givet tal -FACT = FAKULTET ## Returnerar fakulteten för ett tal -FACTDOUBLE = DUBBELFAKULTET ## Returnerar dubbelfakulteten för ett tal -FLOOR = RUNDA.NED ## Avrundar ett tal nedåt mot noll -GCD = SGD ## Returnerar den största gemensamma nämnaren -INT = HELTAL ## Avrundar ett tal nedåt till närmaste heltal -LCM = MGM ## Returnerar den minsta gemensamma multipeln -LN = LN ## Returnerar den naturliga logaritmen för ett tal -LOG = LOG ## Returnerar logaritmen för ett tal för en given bas -LOG10 = LOG10 ## Returnerar 10-logaritmen för ett tal -MDETERM = MDETERM ## Returnerar matrisen som är avgörandet av en matris -MINVERSE = MINVERT ## Returnerar matrisinversen av en matris -MMULT = MMULT ## Returnerar matrisprodukten av två matriser -MOD = REST ## Returnerar resten vid en division -MROUND = MAVRUNDA ## Returnerar ett tal avrundat till en given multipel -MULTINOMIAL = MULTINOMIAL ## Returnerar multinomialen för en uppsättning tal -ODD = UDDA ## Avrundar ett tal uppåt till närmaste udda heltal -PI = PI ## Returnerar värdet pi -POWER = UPPHÖJT.TILL ## Returnerar resultatet av ett tal upphöjt till en exponent -PRODUCT = PRODUKT ## Multiplicerar argumenten -QUOTIENT = KVOT ## Returnerar heltalsdelen av en division -RADIANS = RADIANER ## Omvandlar grader till radianer -RAND = SLUMP ## Returnerar ett slumptal mellan 0 och 1 -RANDBETWEEN = SLUMP.MELLAN ## Returnerar ett slumptal mellan de tal som du anger -ROMAN = ROMERSK ## Omvandlar vanliga (arabiska) siffror till romerska som text -ROUND = AVRUNDA ## Avrundar ett tal till ett angivet antal siffror -ROUNDDOWN = AVRUNDA.NEDÅT ## Avrundar ett tal nedåt mot noll -ROUNDUP = AVRUNDA.UPPÅT ## Avrundar ett tal uppåt, från noll -SERIESSUM = SERIESUMMA ## Returnerar summan av en potensserie baserat på formeln -SIGN = TECKEN ## Returnerar tecknet för ett tal -SIN = SIN ## Returnerar sinus för en given vinkel -SINH = SINH ## Returnerar hyperbolisk sinus för ett tal -SQRT = ROT ## Returnerar den positiva kvadratroten -SQRTPI = ROTPI ## Returnerar kvadratroten för (tal * pi) -SUBTOTAL = DELSUMMA ## Returnerar en delsumma i en lista eller databas -SUM = SUMMA ## Summerar argumenten -SUMIF = SUMMA.OM ## Summerar celler enligt ett angivet villkor -SUMIFS = SUMMA.OMF ## Lägger till cellerna i ett område som uppfyller flera kriterier -SUMPRODUCT = PRODUKTSUMMA ## Returnerar summan av produkterna i motsvarande matriskomponenter -SUMSQ = KVADRATSUMMA ## Returnerar summan av argumentens kvadrater -SUMX2MY2 = SUMMAX2MY2 ## Returnerar summan av differensen mellan kvadraterna för motsvarande värden i två matriser -SUMX2PY2 = SUMMAX2PY2 ## Returnerar summan av summan av kvadraterna av motsvarande värden i två matriser -SUMXMY2 = SUMMAXMY2 ## Returnerar summan av kvadraten av skillnaden mellan motsvarande värden i två matriser -TAN = TAN ## Returnerar tangens för ett tal -TANH = TANH ## Returnerar hyperbolisk tangens för ett tal -TRUNC = AVKORTA ## Avkortar ett tal till ett heltal - - -## -## Statistical functions Statistiska funktioner -## -AVEDEV = MEDELAVV ## Returnerar medelvärdet för datapunkters absoluta avvikelse från deras medelvärde -AVERAGE = MEDEL ## Returnerar medelvärdet av argumenten -AVERAGEA = AVERAGEA ## Returnerar medelvärdet av argumenten, inklusive tal, text och logiska värden -AVERAGEIF = MEDELOM ## Returnerar medelvärdet (aritmetiskt medelvärde) för alla celler i ett område som uppfyller ett givet kriterium -AVERAGEIFS = MEDELOMF ## Returnerar medelvärdet (det aritmetiska medelvärdet) för alla celler som uppfyller flera villkor. -BETADIST = BETAFÖRD ## Returnerar den kumulativa betafördelningsfunktionen -BETAINV = BETAINV ## Returnerar inversen till den kumulativa fördelningsfunktionen för en viss betafördelning -BINOMDIST = BINOMFÖRD ## Returnerar den individuella binomialfördelningen -CHIDIST = CHI2FÖRD ## Returnerar den ensidiga sannolikheten av c2-fördelningen -CHIINV = CHI2INV ## Returnerar inversen av chi2-fördelningen -CHITEST = CHI2TEST ## Returnerar oberoendetesten -CONFIDENCE = KONFIDENS ## Returnerar konfidensintervallet för en populations medelvärde -CORREL = KORREL ## Returnerar korrelationskoefficienten mellan två datamängder -COUNT = ANTAL ## Räknar hur många tal som finns bland argumenten -COUNTA = ANTALV ## Räknar hur många värden som finns bland argumenten -COUNTBLANK = ANTAL.TOMMA ## Räknar antalet tomma celler i ett område -COUNTIF = ANTAL.OM ## Räknar antalet celler i ett område som uppfyller angivna villkor. -COUNTIFS = ANTAL.OMF ## Räknar antalet celler i ett område som uppfyller flera villkor. -COVAR = KOVAR ## Returnerar kovariansen, d.v.s. medelvärdet av produkterna för parade avvikelser -CRITBINOM = KRITBINOM ## Returnerar det minsta värdet för vilket den kumulativa binomialfördelningen är mindre än eller lika med ett villkorsvärde -DEVSQ = KVADAVV ## Returnerar summan av kvadrater på avvikelser -EXPONDIST = EXPONFÖRD ## Returnerar exponentialfördelningen -FDIST = FFÖRD ## Returnerar F-sannolikhetsfördelningen -FINV = FINV ## Returnerar inversen till F-sannolikhetsfördelningen -FISHER = FISHER ## Returnerar Fisher-transformationen -FISHERINV = FISHERINV ## Returnerar inversen till Fisher-transformationen -FORECAST = PREDIKTION ## Returnerar ett värde längs en linjär trendlinje -FREQUENCY = FREKVENS ## Returnerar en frekvensfördelning som en lodrät matris -FTEST = FTEST ## Returnerar resultatet av en F-test -GAMMADIST = GAMMAFÖRD ## Returnerar gammafördelningen -GAMMAINV = GAMMAINV ## Returnerar inversen till den kumulativa gammafördelningen -GAMMALN = GAMMALN ## Returnerar den naturliga logaritmen för gammafunktionen, G(x) -GEOMEAN = GEOMEDEL ## Returnerar det geometriska medelvärdet -GROWTH = EXPTREND ## Returnerar värden längs en exponentiell trend -HARMEAN = HARMMEDEL ## Returnerar det harmoniska medelvärdet -HYPGEOMDIST = HYPGEOMFÖRD ## Returnerar den hypergeometriska fördelningen -INTERCEPT = SKÄRNINGSPUNKT ## Returnerar skärningspunkten för en linjär regressionslinje -KURT = TOPPIGHET ## Returnerar toppigheten av en mängd data -LARGE = STÖRSTA ## Returnerar det n:te största värdet i en mängd data -LINEST = REGR ## Returnerar parametrar till en linjär trendlinje -LOGEST = EXPREGR ## Returnerar parametrarna i en exponentiell trend -LOGINV = LOGINV ## Returnerar inversen till den lognormala fördelningen -LOGNORMDIST = LOGNORMFÖRD ## Returnerar den kumulativa lognormala fördelningen -MAX = MAX ## Returnerar det största värdet i en lista av argument -MAXA = MAXA ## Returnerar det största värdet i en lista av argument, inklusive tal, text och logiska värden -MEDIAN = MEDIAN ## Returnerar medianen för angivna tal -MIN = MIN ## Returnerar det minsta värdet i en lista med argument -MINA = MINA ## Returnerar det minsta värdet i en lista över argument, inklusive tal, text och logiska värden -MODE = TYPVÄRDE ## Returnerar det vanligaste värdet i en datamängd -NEGBINOMDIST = NEGBINOMFÖRD ## Returnerar den negativa binomialfördelningen -NORMDIST = NORMFÖRD ## Returnerar den kumulativa normalfördelningen -NORMINV = NORMINV ## Returnerar inversen till den kumulativa normalfördelningen -NORMSDIST = NORMSFÖRD ## Returnerar den kumulativa standardnormalfördelningen -NORMSINV = NORMSINV ## Returnerar inversen till den kumulativa standardnormalfördelningen -PEARSON = PEARSON ## Returnerar korrelationskoefficienten till Pearsons momentprodukt -PERCENTILE = PERCENTIL ## Returnerar den n:te percentilen av värden i ett område -PERCENTRANK = PROCENTRANG ## Returnerar procentrangen för ett värde i en datamängd -PERMUT = PERMUT ## Returnerar antal permutationer för ett givet antal objekt -POISSON = POISSON ## Returnerar Poisson-fördelningen -PROB = SANNOLIKHET ## Returnerar sannolikheten att värden i ett område ligger mellan två gränser -QUARTILE = KVARTIL ## Returnerar kvartilen av en mängd data -RANK = RANG ## Returnerar rangordningen för ett tal i en lista med tal -RSQ = RKV ## Returnerar kvadraten av Pearsons produktmomentkorrelationskoefficient -SKEW = SNEDHET ## Returnerar snedheten för en fördelning -SLOPE = LUTNING ## Returnerar lutningen på en linjär regressionslinje -SMALL = MINSTA ## Returnerar det n:te minsta värdet i en mängd data -STANDARDIZE = STANDARDISERA ## Returnerar ett normaliserat värde -STDEV = STDAV ## Uppskattar standardavvikelsen baserat på ett urval -STDEVA = STDEVA ## Uppskattar standardavvikelsen baserat på ett urval, inklusive tal, text och logiska värden -STDEVP = STDAVP ## Beräknar standardavvikelsen baserat på hela populationen -STDEVPA = STDEVPA ## Beräknar standardavvikelsen baserat på hela populationen, inklusive tal, text och logiska värden -STEYX = STDFELYX ## Returnerar standardfelet för ett förutspått y-värde för varje x-värde i regressionen -TDIST = TFÖRD ## Returnerar Students t-fördelning -TINV = TINV ## Returnerar inversen till Students t-fördelning -TREND = TREND ## Returnerar värden längs en linjär trend -TRIMMEAN = TRIMMEDEL ## Returnerar medelvärdet av mittpunkterna i en datamängd -TTEST = TTEST ## Returnerar sannolikheten beräknad ur Students t-test -VAR = VARIANS ## Uppskattar variansen baserat på ett urval -VARA = VARA ## Uppskattar variansen baserat på ett urval, inklusive tal, text och logiska värden -VARP = VARIANSP ## Beräknar variansen baserat på hela populationen -VARPA = VARPA ## Beräknar variansen baserat på hela populationen, inklusive tal, text och logiska värden -WEIBULL = WEIBULL ## Returnerar Weibull-fördelningen -ZTEST = ZTEST ## Returnerar det ensidiga sannolikhetsvärdet av ett z-test - - -## -## Text functions Textfunktioner -## -ASC = ASC ## Ändrar helbredds (dubbel byte) engelska bokstäver eller katakana inom en teckensträng till tecken med halvt breddsteg (enkel byte) -BAHTTEXT = BAHTTEXT ## Omvandlar ett tal till text med valutaformatet ß (baht) -CHAR = TECKENKOD ## Returnerar tecknet som anges av kod -CLEAN = STÄDA ## Tar bort alla icke utskrivbara tecken i en text -CODE = KOD ## Returnerar en numerisk kod för det första tecknet i en textsträng -CONCATENATE = SAMMANFOGA ## Sammanfogar flera textdelar till en textsträng -DOLLAR = VALUTA ## Omvandlar ett tal till text med valutaformat -EXACT = EXAKT ## Kontrollerar om två textvärden är identiska -FIND = HITTA ## Hittar en text i en annan (skiljer på gemener och versaler) -FINDB = HITTAB ## Hittar en text i en annan (skiljer på gemener och versaler) -FIXED = FASTTAL ## Formaterar ett tal som text med ett fast antal decimaler -JIS = JIS ## Ändrar halvbredds (enkel byte) engelska bokstäver eller katakana inom en teckensträng till tecken med helt breddsteg (dubbel byte) -LEFT = VÄNSTER ## Returnerar tecken längst till vänster i en sträng -LEFTB = VÄNSTERB ## Returnerar tecken längst till vänster i en sträng -LEN = LÄNGD ## Returnerar antalet tecken i en textsträng -LENB = LÄNGDB ## Returnerar antalet tecken i en textsträng -LOWER = GEMENER ## Omvandlar text till gemener -MID = EXTEXT ## Returnerar angivet antal tecken från en text med början vid den position som du anger -MIDB = EXTEXTB ## Returnerar angivet antal tecken från en text med början vid den position som du anger -PHONETIC = PHONETIC ## Returnerar de fonetiska (furigana) tecknen i en textsträng -PROPER = INITIAL ## Ändrar första bokstaven i varje ord i ett textvärde till versal -REPLACE = ERSÄTT ## Ersätter tecken i text -REPLACEB = ERSÄTTB ## Ersätter tecken i text -REPT = REP ## Upprepar en text ett bestämt antal gånger -RIGHT = HÖGER ## Returnerar tecken längst till höger i en sträng -RIGHTB = HÖGERB ## Returnerar tecken längst till höger i en sträng -SEARCH = SÖK ## Hittar ett textvärde i ett annat (skiljer inte på gemener och versaler) -SEARCHB = SÖKB ## Hittar ett textvärde i ett annat (skiljer inte på gemener och versaler) -SUBSTITUTE = BYT.UT ## Ersätter gammal text med ny text i en textsträng -T = T ## Omvandlar argumenten till text -TEXT = TEXT ## Formaterar ett tal och omvandlar det till text -TRIM = RENSA ## Tar bort blanksteg från text -UPPER = VERSALER ## Omvandlar text till versaler -VALUE = TEXTNUM ## Omvandlar ett textargument till ett tal diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/sv/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/config deleted file mode 100644 index b69d4257a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = YTL - - -## -## Excel Error Codes (For future use) -## -NULL = #BOŞ! -DIV0 = #SAYI/0! -VALUE = #DEĞER! -REF = #BAŞV! -NAME = #AD? -NUM = #SAYI! -NA = #YOK diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/functions deleted file mode 100644 index 45d7df1fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Eklenti ve Otomasyon fonksiyonları -## -GETPIVOTDATA = ÖZETVERİAL ## Bir Özet Tablo raporunda saklanan verileri verir. - - -## -## Cube functions Küp işlevleri -## -CUBEKPIMEMBER = KÜPKPIÜYE ## Kilit performans göstergesi (KPI-Key Performance Indicator) adını, özelliğini ve ölçüsünü verir ve hücredeki ad ve özelliği gösterir. KPI, bir kurumun performansını izlemek için kullanılan aylık brüt kâr ya da üç aylık çalışan giriş çıkışları gibi ölçülebilen bir birimdir. -CUBEMEMBER = KÜPÜYE ## Bir küp hiyerarşisinde bir üyeyi veya kaydı verir. Üye veya kaydın küpte varolduğunu doğrulamak için kullanılır. -CUBEMEMBERPROPERTY = KÜPÜYEÖZELLİĞİ ## Bir küpte bir üyenin özelliğinin değerini verir. Küp içinde üye adının varlığını doğrulamak ve bu üyenin belli özelliklerini getirmek için kullanılır. -CUBERANKEDMEMBER = KÜPÜYESIRASI ## Bir küme içindeki üyenin derecesini veya kaçıncı olduğunu verir. En iyi satış elemanı, veya en iyi on öğrenci gibi bir kümedeki bir veya daha fazla öğeyi getirmek için kullanılır. -CUBESET = KÜPKÜME ## Kümeyi oluşturan ve ardından bu kümeyi Microsoft Office Excel'e getiren sunucudaki küpe küme ifadelerini göndererek hesaplanan üye veya kayıt kümesini tanımlar. -CUBESETCOUNT = KÜPKÜMESAY ## Bir kümedeki öğelerin sayısını getirir. -CUBEVALUE = KÜPDEĞER ## Bir küpten toplam değeri getirir. - - -## -## Database functions Veritabanı işlevleri -## -DAVERAGE = VSEÇORT ## Seçili veritabanı girdilerinin ortalamasını verir. -DCOUNT = VSEÇSAY ## Veritabanında sayı içeren hücre sayısını hesaplar. -DCOUNTA = VSEÇSAYDOLU ## Veritabanındaki boş olmayan hücreleri sayar. -DGET = VAL ## Veritabanından, belirtilen ölçütlerle eşleşen tek bir rapor çıkarır. -DMAX = VSEÇMAK ## Seçili veritabanı girişlerinin en yüksek değerini verir. -DMIN = VSEÇMİN ## Seçili veritabanı girişlerinin en düşük değerini verir. -DPRODUCT = VSEÇÇARP ## Kayıtların belli bir alanında bulunan, bir veritabanındaki ölçütlerle eşleşen değerleri çarpar. -DSTDEV = VSEÇSTDSAPMA ## Seçili veritabanı girişlerinden oluşan bir örneğe dayanarak, standart sapmayı tahmin eder. -DSTDEVP = VSEÇSTDSAPMAS ## Standart sapmayı, seçili veritabanı girişlerinin tüm popülasyonunu esas alarak hesaplar. -DSUM = VSEÇTOPLA ## Kayıtların alan sütununda bulunan, ölçütle eşleşen sayıları toplar. -DVAR = VSEÇVAR ## Seçili veritabanı girişlerinden oluşan bir örneği esas alarak farkı tahmin eder. -DVARP = VSEÇVARS ## Seçili veritabanı girişlerinin tüm popülasyonunu esas alarak farkı hesaplar. - - -## -## Date and time functions Tarih ve saat işlevleri -## -DATE = TARİH ## Belirli bir tarihin seri numarasını verir. -DATEVALUE = TARİHSAYISI ## Metin biçimindeki bir tarihi seri numarasına dönüştürür. -DAY = GÜN ## Seri numarasını, ayın bir gününe dönüştürür. -DAYS360 = GÜN360 ## İki tarih arasındaki gün sayısını, 360 günlük yılı esas alarak hesaplar. -EDATE = SERİTARİH ## Başlangıç tarihinden itibaren, belirtilen ay sayısından önce veya sonraki tarihin seri numarasını verir. -EOMONTH = SERİAY ## Belirtilen sayıda ay önce veya sonraki ayın son gününün seri numarasını verir. -HOUR = SAAT ## Bir seri numarasını saate dönüştürür. -MINUTE = DAKİKA ## Bir seri numarasını dakikaya dönüştürür. -MONTH = AY ## Bir seri numarasını aya dönüştürür. -NETWORKDAYS = TAMİŞGÜNÜ ## İki tarih arasındaki tam çalışma günlerinin sayısını verir. -NOW = ŞİMDİ ## Geçerli tarihin ve saatin seri numarasını verir. -SECOND = SANİYE ## Bir seri numarasını saniyeye dönüştürür. -TIME = ZAMAN ## Belirli bir zamanın seri numarasını verir. -TIMEVALUE = ZAMANSAYISI ## Metin biçimindeki zamanı seri numarasına dönüştürür. -TODAY = BUGÜN ## Bugünün tarihini seri numarasına dönüştürür. -WEEKDAY = HAFTANINGÜNÜ ## Bir seri numarasını, haftanın gününe dönüştürür. -WEEKNUM = HAFTASAY ## Dizisel değerini, haftanın yıl içinde bulunduğu konumu sayısal olarak gösteren sayıya dönüştürür. -WORKDAY = İŞGÜNÜ ## Belirtilen sayıda çalışma günü öncesinin ya da sonrasının tarihinin seri numarasını verir. -YEAR = YIL ## Bir seri numarasını yıla dönüştürür. -YEARFRAC = YILORAN ## Başlangıç_tarihi ve bitiş_tarihi arasındaki tam günleri gösteren yıl kesrini verir. - - -## -## Engineering functions Mühendislik işlevleri -## -BESSELI = BESSELI ## Değiştirilmiş Bessel fonksiyonu In(x)'i verir. -BESSELJ = BESSELJ ## Bessel fonksiyonu Jn(x)'i verir. -BESSELK = BESSELK ## Değiştirilmiş Bessel fonksiyonu Kn(x)'i verir. -BESSELY = BESSELY ## Bessel fonksiyonu Yn(x)'i verir. -BIN2DEC = BIN2DEC ## İkili bir sayıyı, ondalık sayıya dönüştürür. -BIN2HEX = BIN2HEX ## İkili bir sayıyı, onaltılıya dönüştürür. -BIN2OCT = BIN2OCT ## İkili bir sayıyı, sekizliye dönüştürür. -COMPLEX = KARMAŞIK ## Gerçek ve sanal katsayıları, karmaşık sayıya dönüştürür. -CONVERT = ÇEVİR ## Bir sayıyı, bir ölçüm sisteminden bir başka ölçüm sistemine dönüştürür. -DEC2BIN = DEC2BIN ## Ondalık bir sayıyı, ikiliye dönüştürür. -DEC2HEX = DEC2HEX ## Ondalık bir sayıyı, onaltılıya dönüştürür. -DEC2OCT = DEC2OCT ## Ondalık bir sayıyı sekizliğe dönüştürür. -DELTA = DELTA ## İki değerin eşit olup olmadığını sınar. -ERF = HATAİŞLEV ## Hata işlevini verir. -ERFC = TÜMHATAİŞLEV ## Tümleyici hata işlevini verir. -GESTEP = BESINIR ## Bir sayının eşik değerinden büyük olup olmadığını sınar. -HEX2BIN = HEX2BIN ## Onaltılı bir sayıyı ikiliye dönüştürür. -HEX2DEC = HEX2DEC ## Onaltılı bir sayıyı ondalığa dönüştürür. -HEX2OCT = HEX2OCT ## Onaltılı bir sayıyı sekizliğe dönüştürür. -IMABS = SANMUTLAK ## Karmaşık bir sayının mutlak değerini (modül) verir. -IMAGINARY = SANAL ## Karmaşık bir sayının sanal katsayısını verir. -IMARGUMENT = SANBAĞ_DEĞİŞKEN ## Radyanlarla belirtilen bir açı olan teta bağımsız değişkenini verir. -IMCONJUGATE = SANEŞLENEK ## Karmaşık bir sayının karmaşık eşleniğini verir. -IMCOS = SANCOS ## Karmaşık bir sayının kosinüsünü verir. -IMDIV = SANBÖL ## İki karmaşık sayının bölümünü verir. -IMEXP = SANÜS ## Karmaşık bir sayının üssünü verir. -IMLN = SANLN ## Karmaşık bir sayının doğal logaritmasını verir. -IMLOG10 = SANLOG10 ## Karmaşık bir sayının, 10 tabanında logaritmasını verir. -IMLOG2 = SANLOG2 ## Karmaşık bir sayının 2 tabanında logaritmasını verir. -IMPOWER = SANÜSSÜ ## Karmaşık bir sayıyı, bir tamsayı üssüne yükseltilmiş olarak verir. -IMPRODUCT = SANÇARP ## Karmaşık sayıların çarpımını verir. -IMREAL = SANGERÇEK ## Karmaşık bir sayının, gerçek katsayısını verir. -IMSIN = SANSIN ## Karmaşık bir sayının sinüsünü verir. -IMSQRT = SANKAREKÖK ## Karmaşık bir sayının karekökünü verir. -IMSUB = SANÇIKAR ## İki karmaşık sayının farkını verir. -IMSUM = SANTOPLA ## Karmaşık sayıların toplamını verir. -OCT2BIN = OCT2BIN ## Sekizli bir sayıyı ikiliye dönüştürür. -OCT2DEC = OCT2DEC ## Sekizli bir sayıyı ondalığa dönüştürür. -OCT2HEX = OCT2HEX ## Sekizli bir sayıyı onaltılıya dönüştürür. - - -## -## Financial functions Finansal fonksiyonlar -## -ACCRINT = GERÇEKFAİZ ## Dönemsel faiz ödeyen hisse senedine ilişkin tahakkuk eden faizi getirir. -ACCRINTM = GERÇEKFAİZV ## Vadesinde ödeme yapan bir tahvilin tahakkuk etmiş faizini verir. -AMORDEGRC = AMORDEGRC ## Yıpranma katsayısı kullanarak her hesap döneminin değer kaybını verir. -AMORLINC = AMORLINC ## Her hesap dönemi içindeki yıpranmayı verir. -COUPDAYBS = KUPONGÜNBD ## Kupon süresinin başlangıcından alış tarihine kadar olan süredeki gün sayısını verir. -COUPDAYS = KUPONGÜN ## Kupon süresindeki, gün sayısını, alış tarihini de içermek üzere, verir. -COUPDAYSNC = KUPONGÜNDSK ## Alış tarihinden bir sonraki kupon tarihine kadar olan gün sayısını verir. -COUPNCD = KUPONGÜNSKT ## Alış tarihinden bir sonraki kupon tarihini verir. -COUPNUM = KUPONSAYI ## Alış tarihiyle vade tarihi arasında ödenecek kuponların sayısını verir. -COUPPCD = KUPONGÜNÖKT ## Alış tarihinden bir önceki kupon tarihini verir. -CUMIPMT = AİÇVERİMORANI ## İki dönem arasında ödenen kümülatif faizi verir. -CUMPRINC = ANA_PARA_ÖDEMESİ ## İki dönem arasında bir borç üzerine ödenen birikimli temeli verir. -DB = AZALANBAKİYE ## Bir malın belirtilen bir süre içindeki yıpranmasını, sabit azalan bakiye yöntemini kullanarak verir. -DDB = ÇİFTAZALANBAKİYE ## Bir malın belirtilen bir süre içindeki yıpranmasını, çift azalan bakiye yöntemi ya da sizin belirttiğiniz başka bir yöntemi kullanarak verir. -DISC = İNDİRİM ## Bir tahvilin indirim oranını verir. -DOLLARDE = LİRAON ## Kesir olarak tanımlanmış lira fiyatını, ondalık sayı olarak tanımlanmış lira fiyatına dönüştürür. -DOLLARFR = LİRAKES ## Ondalık sayı olarak tanımlanmış lira fiyatını, kesir olarak tanımlanmış lira fiyatına dönüştürür. -DURATION = SÜRE ## Belli aralıklarla faiz ödemesi yapan bir tahvilin yıllık süresini verir. -EFFECT = ETKİN ## Efektif yıllık faiz oranını verir. -FV = ANBD ## Bir yatırımın gelecekteki değerini verir. -FVSCHEDULE = GDPROGRAM ## Bir seri birleşik faiz oranı uyguladıktan sonra, bir başlangıçtaki anaparanın gelecekteki değerini verir. -INTRATE = FAİZORANI ## Tam olarak yatırım yapılmış bir tahvilin faiz oranını verir. -IPMT = FAİZTUTARI ## Bir yatırımın verilen bir süre için faiz ödemesini verir. -IRR = İÇ_VERİM_ORANI ## Bir para akışı serisi için, iç verim oranını verir. -ISPMT = ISPMT ## Yatırımın belirli bir dönemi boyunca ödenen faizi hesaplar. -MDURATION = MSÜRE ## Varsayılan par değeri 10.000.000 lira olan bir tahvil için Macauley değiştirilmiş süreyi verir. -MIRR = D_İÇ_VERİM_ORANI ## Pozitif ve negatif para akışlarının farklı oranlarda finanse edildiği durumlarda, iç verim oranını verir. -NOMINAL = NOMİNAL ## Yıllık nominal faiz oranını verir. -NPER = DÖNEM_SAYISI ## Bir yatırımın dönem sayısını verir. -NPV = NBD ## Bir yatırımın bugünkü net değerini, bir dönemsel para akışları serisine ve bir indirim oranına bağlı olarak verir. -ODDFPRICE = TEKYDEĞER ## Tek bir ilk dönemi olan bir tahvilin değerini, her 100.000.000 lirada bir verir. -ODDFYIELD = TEKYÖDEME ## Tek bir ilk dönemi olan bir tahvilin ödemesini verir. -ODDLPRICE = TEKSDEĞER ## Tek bir son dönemi olan bir tahvilin fiyatını her 10.000.000 lirada bir verir. -ODDLYIELD = TEKSÖDEME ## Tek bir son dönemi olan bir tahvilin ödemesini verir. -PMT = DEVRESEL_ÖDEME ## Bir yıllık dönemsel ödemeyi verir. -PPMT = ANA_PARA_ÖDEMESİ ## Verilen bir süre için, bir yatırımın anaparasına dayanan ödemeyi verir. -PRICE = DEĞER ## Dönemsel faiz ödeyen bir tahvilin fiyatını 10.000.00 liralık değer başına verir. -PRICEDISC = DEĞERİND ## İndirimli bir tahvilin fiyatını 10.000.000 liralık nominal değer başına verir. -PRICEMAT = DEĞERVADE ## Faizini vade sonunda ödeyen bir tahvilin fiyatını 10.000.000 nominal değer başına verir. -PV = BD ## Bir yatırımın bugünkü değerini verir. -RATE = FAİZ_ORANI ## Bir yıllık dönem başına düşen faiz oranını verir. -RECEIVED = GETİRİ ## Tam olarak yatırılmış bir tahvilin vadesinin bitiminde alınan miktarı verir. -SLN = DA ## Bir malın bir dönem içindeki doğrusal yıpranmasını verir. -SYD = YAT ## Bir malın belirli bir dönem için olan amortismanını verir. -TBILLEQ = HTAHEŞ ## Bir Hazine bonosunun bono eşdeğeri ödemesini verir. -TBILLPRICE = HTAHDEĞER ## Bir Hazine bonosunun değerini, 10.000.000 liralık nominal değer başına verir. -TBILLYIELD = HTAHÖDEME ## Bir Hazine bonosunun ödemesini verir. -VDB = DAB ## Bir malın amortismanını, belirlenmiş ya da kısmi bir dönem için, bir azalan bakiye yöntemi kullanarak verir. -XIRR = AİÇVERİMORANI ## Dönemsel olması gerekmeyen bir para akışları programı için, iç verim oranını verir. -XNPV = ANBD ## Dönemsel olması gerekmeyen bir para akışları programı için, bugünkü net değeri verir. -YIELD = ÖDEME ## Belirli aralıklarla faiz ödeyen bir tahvilin ödemesini verir. -YIELDDISC = ÖDEMEİND ## İndirimli bir tahvilin yıllık ödemesini verir; örneğin, bir Hazine bonosunun. -YIELDMAT = ÖDEMEVADE ## Vadesinin bitiminde faiz ödeyen bir tahvilin yıllık ödemesini verir. - - -## -## Information functions Bilgi fonksiyonları -## -CELL = HÜCRE ## Bir hücrenin biçimlendirmesi, konumu ya da içeriği hakkında bilgi verir. -ERROR.TYPE = HATA.TİPİ ## Bir hata türüne ilişkin sayıları verir. -INFO = BİLGİ ## Geçerli işletim ortamı hakkında bilgi verir. -ISBLANK = EBOŞSA ## Değer boşsa, DOĞRU verir. -ISERR = EHATA ## Değer, #YOK dışındaki bir hata değeriyse, DOĞRU verir. -ISERROR = EHATALIYSA ## Değer, herhangi bir hata değeriyse, DOĞRU verir. -ISEVEN = ÇİFTTİR ## Sayı çiftse, DOĞRU verir. -ISLOGICAL = EMANTIKSALSA ## Değer, mantıksal bir değerse, DOĞRU verir. -ISNA = EYOKSA ## Değer, #YOK hata değeriyse, DOĞRU verir. -ISNONTEXT = EMETİNDEĞİLSE ## Değer, metin değilse, DOĞRU verir. -ISNUMBER = ESAYIYSA ## Değer, bir sayıysa, DOĞRU verir. -ISODD = TEKTİR ## Sayı tekse, DOĞRU verir. -ISREF = EREFSE ## Değer bir başvuruysa, DOĞRU verir. -ISTEXT = EMETİNSE ## Değer bir metinse DOĞRU verir. -N = N ## Sayıya dönüştürülmüş bir değer verir. -NA = YOKSAY ## #YOK hata değerini verir. -TYPE = TİP ## Bir değerin veri türünü belirten bir sayı verir. - - -## -## Logical functions Mantıksal fonksiyonlar -## -AND = VE ## Bütün bağımsız değişkenleri DOĞRU ise, DOĞRU verir. -FALSE = YANLIŞ ## YANLIŞ mantıksal değerini verir. -IF = EĞER ## Gerçekleştirilecek bir mantıksal sınama belirtir. -IFERROR = EĞERHATA ## Formül hatalıysa belirttiğiniz değeri verir; bunun dışındaki durumlarda formülün sonucunu verir. -NOT = DEĞİL ## Bağımsız değişkeninin mantığını tersine çevirir. -OR = YADA ## Bağımsız değişkenlerden herhangi birisi DOĞRU ise, DOĞRU verir. -TRUE = DOĞRU ## DOĞRU mantıksal değerini verir. - - -## -## Lookup and reference functions Arama ve Başvuru fonksiyonları -## -ADDRESS = ADRES ## Bir başvuruyu, çalışma sayfasındaki tek bir hücreye metin olarak verir. -AREAS = ALANSAY ## Renvoie le nombre de zones dans une référence. -CHOOSE = ELEMAN ## Değerler listesinden bir değer seçer. -COLUMN = SÜTUN ## Bir başvurunun sütun sayısını verir. -COLUMNS = SÜTUNSAY ## Bir başvurudaki sütunların sayısını verir. -HLOOKUP = YATAYARA ## Bir dizinin en üst satırına bakar ve belirtilen hücrenin değerini verir. -HYPERLINK = KÖPRÜ ## Bir ağ sunucusunda, bir intranette ya da Internet'te depolanan bir belgeyi açan bir kısayol ya da atlama oluşturur. -INDEX = İNDİS ## Başvurudan veya diziden bir değer seçmek için, bir dizin kullanır. -INDIRECT = DOLAYLI ## Metin değeriyle belirtilen bir başvuru verir. -LOOKUP = ARA ## Bir vektördeki veya dizideki değerleri arar. -MATCH = KAÇINCI ## Bir başvurudaki veya dizideki değerleri arar. -OFFSET = KAYDIR ## Verilen bir başvurudan, bir başvuru kaydırmayı verir. -ROW = SATIR ## Bir başvurunun satır sayısını verir. -ROWS = SATIRSAY ## Bir başvurudaki satırların sayısını verir. -RTD = RTD ## COM otomasyonunu destekleyen programdan gerçek zaman verileri alır. -TRANSPOSE = DEVRİK_DÖNÜŞÜM ## Bir dizinin devrik dönüşümünü verir. -VLOOKUP = DÜŞEYARA ## Bir dizinin ilk sütununa bakar ve bir hücrenin değerini vermek için satır boyunca hareket eder. - - -## -## Math and trigonometry functions Matematik ve trigonometri fonksiyonları -## -ABS = MUTLAK ## Bir sayının mutlak değerini verir. -ACOS = ACOS ## Bir sayının ark kosinüsünü verir. -ACOSH = ACOSH ## Bir sayının ters hiperbolik kosinüsünü verir. -ASIN = ASİN ## Bir sayının ark sinüsünü verir. -ASINH = ASİNH ## Bir sayının ters hiperbolik sinüsünü verir. -ATAN = ATAN ## Bir sayının ark tanjantını verir. -ATAN2 = ATAN2 ## Ark tanjantı, x- ve y- koordinatlarından verir. -ATANH = ATANH ## Bir sayının ters hiperbolik tanjantını verir. -CEILING = TAVANAYUVARLA ## Bir sayıyı, en yakın tamsayıya ya da en yakın katına yuvarlar. -COMBIN = KOMBİNASYON ## Verilen sayıda öğenin kombinasyon sayısını verir. -COS = COS ## Bir sayının kosinüsünü verir. -COSH = COSH ## Bir sayının hiperbolik kosinüsünü verir. -DEGREES = DERECE ## Radyanları dereceye dönüştürür. -EVEN = ÇİFT ## Bir sayıyı, en yakın daha büyük çift tamsayıya yuvarlar. -EXP = ÜS ## e'yi, verilen bir sayının üssüne yükseltilmiş olarak verir. -FACT = ÇARPINIM ## Bir sayının faktörünü verir. -FACTDOUBLE = ÇİFTFAKTÖR ## Bir sayının çift çarpınımını verir. -FLOOR = TABANAYUVARLA ## Bir sayıyı, daha küçük sayıya, sıfıra yakınsayarak yuvarlar. -GCD = OBEB ## En büyük ortak böleni verir. -INT = TAMSAYI ## Bir sayıyı aşağıya doğru en yakın tamsayıya yuvarlar. -LCM = OKEK ## En küçük ortak katı verir. -LN = LN ## Bir sayının doğal logaritmasını verir. -LOG = LOG ## Bir sayının, belirtilen bir tabandaki logaritmasını verir. -LOG10 = LOG10 ## Bir sayının 10 tabanında logaritmasını verir. -MDETERM = DETERMİNANT ## Bir dizinin dizey determinantını verir. -MINVERSE = DİZEY_TERS ## Bir dizinin dizey tersini verir. -MMULT = DÇARP ## İki dizinin dizey çarpımını verir. -MOD = MODÜLO ## Bölmeden kalanı verir. -MROUND = KYUVARLA ## İstenen kata yuvarlanmış bir sayı verir. -MULTINOMIAL = ÇOKTERİMLİ ## Bir sayılar kümesinin çok terimlisini verir. -ODD = TEK ## Bir sayıyı en yakın daha büyük tek sayıya yuvarlar. -PI = Pİ ## Pi değerini verir. -POWER = KUVVET ## Bir üsse yükseltilmiş sayının sonucunu verir. -PRODUCT = ÇARPIM ## Bağımsız değişkenlerini çarpar. -QUOTIENT = BÖLÜM ## Bir bölme işleminin tamsayı kısmını verir. -RADIANS = RADYAN ## Dereceleri radyanlara dönüştürür. -RAND = S_SAYI_ÜRET ## 0 ile 1 arasında rastgele bir sayı verir. -RANDBETWEEN = RASTGELEARALIK ## Belirttiğiniz sayılar arasında rastgele bir sayı verir. -ROMAN = ROMEN ## Bir normal rakamı, metin olarak, romen rakamına çevirir. -ROUND = YUVARLA ## Bir sayıyı, belirtilen basamak sayısına yuvarlar. -ROUNDDOWN = AŞAĞIYUVARLA ## Bir sayıyı, daha küçük sayıya, sıfıra yakınsayarak yuvarlar. -ROUNDUP = YUKARIYUVARLA ## Bir sayıyı daha büyük sayıya, sıfırdan ıraksayarak yuvarlar. -SERIESSUM = SERİTOPLA ## Bir üs serisinin toplamını, formüle bağlı olarak verir. -SIGN = İŞARET ## Bir sayının işaretini verir. -SIN = SİN ## Verilen bir açının sinüsünü verir. -SINH = SİNH ## Bir sayının hiperbolik sinüsünü verir. -SQRT = KAREKÖK ## Pozitif bir karekök verir. -SQRTPI = KAREKÖKPİ ## (* Pi sayısının) kare kökünü verir. -SUBTOTAL = ALTTOPLAM ## Bir listedeki ya da veritabanındaki bir alt toplamı verir. -SUM = TOPLA ## Bağımsız değişkenlerini toplar. -SUMIF = ETOPLA ## Verilen ölçütle belirlenen hücreleri toplar. -SUMIFS = SUMIFS ## Bir aralıktaki, birden fazla ölçüte uyan hücreleri ekler. -SUMPRODUCT = TOPLA.ÇARPIM ## İlişkili dizi bileşenlerinin çarpımlarının toplamını verir. -SUMSQ = TOPKARE ## Bağımsız değişkenlerin karelerinin toplamını verir. -SUMX2MY2 = TOPX2EY2 ## İki dizideki ilişkili değerlerin farkının toplamını verir. -SUMX2PY2 = TOPX2AY2 ## İki dizideki ilişkili değerlerin karelerinin toplamının toplamını verir. -SUMXMY2 = TOPXEY2 ## İki dizideki ilişkili değerlerin farklarının karelerinin toplamını verir. -TAN = TAN ## Bir sayının tanjantını verir. -TANH = TANH ## Bir sayının hiperbolik tanjantını verir. -TRUNC = NSAT ## Bir sayının, tamsayı durumuna gelecek şekilde, fazlalıklarını atar. - - -## -## Statistical functions İstatistiksel fonksiyonlar -## -AVEDEV = ORTSAP ## Veri noktalarının ortalamalarından mutlak sapmalarının ortalamasını verir. -AVERAGE = ORTALAMA ## Bağımsız değişkenlerinin ortalamasını verir. -AVERAGEA = ORTALAMAA ## Bağımsız değişkenlerinin, sayılar, metin ve mantıksal değerleri içermek üzere ortalamasını verir. -AVERAGEIF = EĞERORTALAMA ## Verili ölçütü karşılayan bir aralıktaki bütün hücrelerin ortalamasını (aritmetik ortalama) hesaplar. -AVERAGEIFS = EĞERLERORTALAMA ## Birden çok ölçüte uyan tüm hücrelerin ortalamasını (aritmetik ortalama) hesaplar. -BETADIST = BETADAĞ ## Beta birikimli dağılım fonksiyonunu verir. -BETAINV = BETATERS ## Belirli bir beta dağılımı için birikimli dağılım fonksiyonunun tersini verir. -BINOMDIST = BİNOMDAĞ ## Tek terimli binom dağılımı olasılığını verir. -CHIDIST = KİKAREDAĞ ## Kikare dağılımın tek kuyruklu olasılığını verir. -CHIINV = KİKARETERS ## Kikare dağılımın kuyruklu olasılığının tersini verir. -CHITEST = KİKARETEST ## Bağımsızlık sınamalarını verir. -CONFIDENCE = GÜVENİRLİK ## Bir popülasyon ortalaması için güvenirlik aralığını verir. -CORREL = KORELASYON ## İki veri kümesi arasındaki bağlantı katsayısını verir. -COUNT = BAĞ_DEĞ_SAY ## Bağımsız değişkenler listesinde kaç tane sayı bulunduğunu sayar. -COUNTA = BAĞ_DEĞ_DOLU_SAY ## Bağımsız değişkenler listesinde kaç tane değer bulunduğunu sayar. -COUNTBLANK = BOŞLUKSAY ## Aralıktaki boş hücre sayısını hesaplar. -COUNTIF = EĞERSAY ## Verilen ölçütlere uyan bir aralık içindeki hücreleri sayar. -COUNTIFS = ÇOKEĞERSAY ## Birden çok ölçüte uyan bir aralık içindeki hücreleri sayar. -COVAR = KOVARYANS ## Eşleştirilmiş sapmaların ortalaması olan kovaryansı verir. -CRITBINOM = KRİTİKBİNOM ## Birikimli binom dağılımının bir ölçüt değerinden küçük veya ölçüt değerine eşit olduğu en küçük değeri verir. -DEVSQ = SAPKARE ## Sapmaların karelerinin toplamını verir. -EXPONDIST = ÜSTELDAĞ ## Üstel dağılımı verir. -FDIST = FDAĞ ## F olasılık dağılımını verir. -FINV = FTERS ## F olasılık dağılımının tersini verir. -FISHER = FISHER ## Fisher dönüşümünü verir. -FISHERINV = FISHERTERS ## Fisher dönüşümünün tersini verir. -FORECAST = TAHMİN ## Bir doğrusal eğilim boyunca bir değer verir. -FREQUENCY = SIKLIK ## Bir sıklık dağılımını, dikey bir dizi olarak verir. -FTEST = FTEST ## Bir F-test'in sonucunu verir. -GAMMADIST = GAMADAĞ ## Gama dağılımını verir. -GAMMAINV = GAMATERS ## Gama kümülatif dağılımının tersini verir. -GAMMALN = GAMALN ## Gama fonksiyonunun (?(x)) doğal logaritmasını verir. -GEOMEAN = GEOORT ## Geometrik ortayı verir. -GROWTH = BÜYÜME ## Üstel bir eğilim boyunca değerler verir. -HARMEAN = HARORT ## Harmonik ortayı verir. -HYPGEOMDIST = HİPERGEOMDAĞ ## Hipergeometrik dağılımı verir. -INTERCEPT = KESMENOKTASI ## Doğrusal çakıştırma çizgisinin kesişme noktasını verir. -KURT = BASIKLIK ## Bir veri kümesinin basıklığını verir. -LARGE = BÜYÜK ## Bir veri kümesinde k. en büyük değeri verir. -LINEST = DOT ## Doğrusal bir eğilimin parametrelerini verir. -LOGEST = LOT ## Üstel bir eğilimin parametrelerini verir. -LOGINV = LOGTERS ## Bir lognormal dağılımının tersini verir. -LOGNORMDIST = LOGNORMDAĞ ## Birikimli lognormal dağılımını verir. -MAX = MAK ## Bir bağımsız değişkenler listesindeki en büyük değeri verir. -MAXA = MAKA ## Bir bağımsız değişkenler listesindeki, sayılar, metin ve mantıksal değerleri içermek üzere, en büyük değeri verir. -MEDIAN = ORTANCA ## Belirtilen sayıların orta değerini verir. -MIN = MİN ## Bir bağımsız değişkenler listesindeki en küçük değeri verir. -MINA = MİNA ## Bir bağımsız değişkenler listesindeki, sayılar, metin ve mantıksal değerleri de içermek üzere, en küçük değeri verir. -MODE = ENÇOK_OLAN ## Bir veri kümesindeki en sık rastlanan değeri verir. -NEGBINOMDIST = NEGBİNOMDAĞ ## Negatif binom dağılımını verir. -NORMDIST = NORMDAĞ ## Normal birikimli dağılımı verir. -NORMINV = NORMTERS ## Normal kümülatif dağılımın tersini verir. -NORMSDIST = NORMSDAĞ ## Standart normal birikimli dağılımı verir. -NORMSINV = NORMSTERS ## Standart normal birikimli dağılımın tersini verir. -PEARSON = PEARSON ## Pearson çarpım moment korelasyon katsayısını verir. -PERCENTILE = YÜZDEBİRLİK ## Bir aralık içerisinde bulunan değerlerin k. frekans toplamını verir. -PERCENTRANK = YÜZDERANK ## Bir veri kümesindeki bir değerin yüzde mertebesini verir. -PERMUT = PERMÜTASYON ## Verilen sayıda nesne için permütasyon sayısını verir. -POISSON = POISSON ## Poisson dağılımını verir. -PROB = OLASILIK ## Bir aralıktaki değerlerin iki sınır arasında olması olasılığını verir. -QUARTILE = DÖRTTEBİRLİK ## Bir veri kümesinin dörtte birliğini verir. -RANK = RANK ## Bir sayılar listesinde bir sayının mertebesini verir. -RSQ = RKARE ## Pearson çarpım moment korelasyon katsayısının karesini verir. -SKEW = ÇARPIKLIK ## Bir dağılımın çarpıklığını verir. -SLOPE = EĞİM ## Doğrusal çakışma çizgisinin eğimini verir. -SMALL = KÜÇÜK ## Bir veri kümesinde k. en küçük değeri verir. -STANDARDIZE = STANDARTLAŞTIRMA ## Normalleştirilmiş bir değer verir. -STDEV = STDSAPMA ## Bir örneğe dayanarak standart sapmayı tahmin eder. -STDEVA = STDSAPMAA ## Standart sapmayı, sayılar, metin ve mantıksal değerleri içermek üzere, bir örneğe bağlı olarak tahmin eder. -STDEVP = STDSAPMAS ## Standart sapmayı, tüm popülasyona bağlı olarak hesaplar. -STDEVPA = STDSAPMASA ## Standart sapmayı, sayılar, metin ve mantıksal değerleri içermek üzere, tüm popülasyona bağlı olarak hesaplar. -STEYX = STHYX ## Regresyondaki her x için tahmini y değerinin standart hatasını verir. -TDIST = TDAĞ ## T-dağılımını verir. -TINV = TTERS ## T-dağılımının tersini verir. -TREND = EĞİLİM ## Doğrusal bir eğilim boyunca değerler verir. -TRIMMEAN = KIRPORTALAMA ## Bir veri kümesinin içinin ortalamasını verir. -TTEST = TTEST ## T-test'le ilişkilendirilmiş olasılığı verir. -VAR = VAR ## Varyansı, bir örneğe bağlı olarak tahmin eder. -VARA = VARA ## Varyansı, sayılar, metin ve mantıksal değerleri içermek üzere, bir örneğe bağlı olarak tahmin eder. -VARP = VARS ## Varyansı, tüm popülasyona dayanarak hesaplar. -VARPA = VARSA ## Varyansı, sayılar, metin ve mantıksal değerleri içermek üzere, tüm popülasyona bağlı olarak hesaplar. -WEIBULL = WEIBULL ## Weibull dağılımını hesaplar. -ZTEST = ZTEST ## Z-testinin tek kuyruklu olasılık değerini hesaplar. - - -## -## Text functions Metin fonksiyonları -## -ASC = ASC ## Bir karakter dizesindeki çift enli (iki bayt) İngilizce harfleri veya katakanayı yarım enli (tek bayt) karakterlerle değiştirir. -BAHTTEXT = BAHTTEXT ## Sayıyı, ß (baht) para birimi biçimini kullanarak metne dönüştürür. -CHAR = DAMGA ## Kod sayısıyla belirtilen karakteri verir. -CLEAN = TEMİZ ## Metindeki bütün yazdırılamaz karakterleri kaldırır. -CODE = KOD ## Bir metin dizesindeki ilk karakter için sayısal bir kod verir. -CONCATENATE = BİRLEŞTİR ## Pek çok metin öğesini bir metin öğesi olarak birleştirir. -DOLLAR = LİRA ## Bir sayıyı YTL (yeni Türk lirası) para birimi biçimini kullanarak metne dönüştürür. -EXACT = ÖZDEŞ ## İki metin değerinin özdeş olup olmadığını anlamak için, değerleri denetler. -FIND = BUL ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlıdır). -FINDB = BULB ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlıdır). -FIXED = SAYIDÜZENLE ## Bir sayıyı, sabit sayıda ondalıkla, metin olarak biçimlendirir. -JIS = JIS ## Bir karakter dizesindeki tek enli (tek bayt) İngilizce harfleri veya katakanayı çift enli (iki bayt) karakterlerle değiştirir. -LEFT = SOL ## Bir metin değerinden en soldaki karakterleri verir. -LEFTB = SOLB ## Bir metin değerinden en soldaki karakterleri verir. -LEN = UZUNLUK ## Bir metin dizesindeki karakter sayısını verir. -LENB = UZUNLUKB ## Bir metin dizesindeki karakter sayısını verir. -LOWER = KÜÇÜKHARF ## Metni küçük harfe çevirir. -MID = ORTA ## Bir metin dizesinden belirli sayıda karakteri, belirttiğiniz konumdan başlamak üzere verir. -MIDB = ORTAB ## Bir metin dizesinden belirli sayıda karakteri, belirttiğiniz konumdan başlamak üzere verir. -PHONETIC = SES ## Metin dizesinden ses (furigana) karakterlerini ayıklar. -PROPER = YAZIM.DÜZENİ ## Bir metin değerinin her bir sözcüğünün ilk harfini büyük harfe çevirir. -REPLACE = DEĞİŞTİR ## Metnin içindeki karakterleri değiştirir. -REPLACEB = DEĞİŞTİRB ## Metnin içindeki karakterleri değiştirir. -REPT = YİNELE ## Metni belirtilen sayıda yineler. -RIGHT = SAĞ ## Bir metin değerinden en sağdaki karakterleri verir. -RIGHTB = SAĞB ## Bir metin değerinden en sağdaki karakterleri verir. -SEARCH = BUL ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlı değildir). -SEARCHB = BULB ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlı değildir). -SUBSTITUTE = YERİNEKOY ## Bir metin dizesinde, eski metnin yerine yeni metin koyar. -T = M ## Bağımsız değerlerini metne dönüştürür. -TEXT = METNEÇEVİR ## Bir sayıyı biçimlendirir ve metne dönüştürür. -TRIM = KIRP ## Metindeki boşlukları kaldırır. -UPPER = BÜYÜKHARF ## Metni büyük harfe çevirir. -VALUE = SAYIYAÇEVİR ## Bir metin bağımsız değişkenini sayıya dönüştürür. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/PHPExcel/locale/tr/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/ajax-loader.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/ajax-loader.gif deleted file mode 100644 index 0bcd5978b..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/ajax-loader.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/ajax.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/ajax.gif deleted file mode 100644 index 4371cc618..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/ajax.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/base64.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/base64.js deleted file mode 100644 index 9bfc8d26f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/base64.js +++ /dev/null @@ -1,216 +0,0 @@ -/* -Copyright (c) 2008 Fred Palmer fred.palmer_at_gmail.com - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. -*/ -function StringBuffer() -{ - this.buffer = []; -} - -StringBuffer.prototype.append = function append(string) -{ - this.buffer.push(string); - return this; -}; - -StringBuffer.prototype.toString = function toString() -{ - return this.buffer.join(""); -}; - -var Base64 = -{ - codex : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", - - encode : function (input) - { - var output = new StringBuffer(); - - var enumerator = new Utf8EncodeEnumerator(input); - while (enumerator.moveNext()) - { - var chr1 = enumerator.current; - - enumerator.moveNext(); - var chr2 = enumerator.current; - - enumerator.moveNext(); - var chr3 = enumerator.current; - - var enc1 = chr1 >> 2; - var enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); - var enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); - var enc4 = chr3 & 63; - - if (isNaN(chr2)) - { - enc3 = enc4 = 64; - } - else if (isNaN(chr3)) - { - enc4 = 64; - } - - output.append(this.codex.charAt(enc1) + this.codex.charAt(enc2) + this.codex.charAt(enc3) + this.codex.charAt(enc4)); - } - - return output.toString(); - }, - - decode : function (input) - { - var output = new StringBuffer(); - - var enumerator = new Base64DecodeEnumerator(input); - while (enumerator.moveNext()) - { - var charCode = enumerator.current; - - if (charCode < 128) - output.append(String.fromCharCode(charCode)); - else if ((charCode > 191) && (charCode < 224)) - { - enumerator.moveNext(); - var charCode2 = enumerator.current; - - output.append(String.fromCharCode(((charCode & 31) << 6) | (charCode2 & 63))); - } - else - { - enumerator.moveNext(); - var charCode2 = enumerator.current; - - enumerator.moveNext(); - var charCode3 = enumerator.current; - - output.append(String.fromCharCode(((charCode & 15) << 12) | ((charCode2 & 63) << 6) | (charCode3 & 63))); - } - } - - return output.toString(); - } -} - - -function Utf8EncodeEnumerator(input) -{ - this._input = input; - this._index = -1; - this._buffer = []; -} - -Utf8EncodeEnumerator.prototype = -{ - current: Number.NaN, - - moveNext: function() - { - if (this._buffer.length > 0) - { - this.current = this._buffer.shift(); - return true; - } - else if (this._index >= (this._input.length - 1)) - { - this.current = Number.NaN; - return false; - } - else - { - var charCode = this._input.charCodeAt(++this._index); - - // "\r\n" -> "\n" - // - if ((charCode == 13) && (this._input.charCodeAt(this._index + 1) == 10)) - { - charCode = 10; - this._index += 2; - } - - if (charCode < 128) - { - this.current = charCode; - } - else if ((charCode > 127) && (charCode < 2048)) - { - this.current = (charCode >> 6) | 192; - this._buffer.push((charCode & 63) | 128); - } - else - { - this.current = (charCode >> 12) | 224; - this._buffer.push(((charCode >> 6) & 63) | 128); - this._buffer.push((charCode & 63) | 128); - } - - return true; - } - } -} - -function Base64DecodeEnumerator(input) -{ - this._input = input; - this._index = -1; - this._buffer = []; -} - -Base64DecodeEnumerator.prototype = -{ - current: 64, - - moveNext: function() - { - if (this._buffer.length > 0) - { - this.current = this._buffer.shift(); - return true; - } - else if (this._index >= (this._input.length - 1)) - { - this.current = 64; - return false; - } - else - { - var enc1 = Base64.codex.indexOf(this._input.charAt(++this._index)); - var enc2 = Base64.codex.indexOf(this._input.charAt(++this._index)); - var enc3 = Base64.codex.indexOf(this._input.charAt(++this._index)); - var enc4 = Base64.codex.indexOf(this._input.charAt(++this._index)); - - var chr1 = (enc1 << 2) | (enc2 >> 4); - var chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - var chr3 = ((enc3 & 3) << 6) | enc4; - - this.current = chr1; - - if (enc3 != 64) - this._buffer.push(chr2); - - if (enc4 != 64) - this._buffer.push(chr3); - - return true; - } - } -}; diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrap-tab.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrap-tab.js deleted file mode 100644 index a42f6dbf7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrap-tab.js +++ /dev/null @@ -1,144 +0,0 @@ -/* ======================================================== - * bootstrap-tab.js v2.3.1 - * https://twitter.github.com/bootstrap/javascript.html#tabs - * ======================================================== - * Copyright 2012 Twitter, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ======================================================== */ - - -!function ($) { - - "use strict"; // jshint ;_; - - - /* TAB CLASS DEFINITION - * ==================== */ - - var Tab = function (element) { - this.element = $(element) - } - - Tab.prototype = { - - constructor: Tab - - , show: function () { - var $this = this.element - , $ul = $this.closest('ul:not(.dropdown-menu)') - , selector = $this.attr('data-target') - , previous - , $target - , e - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7 - } - - if ( $this.parent('li').hasClass('active') ) return - - previous = $ul.find('.active:last a')[0] - - e = $.Event('show', { - relatedTarget: previous - }) - - $this.trigger(e) - - if (e.isDefaultPrevented()) return - - $target = $(selector) - - this.activate($this.parent('li'), $ul) - this.activate($target, $target.parent(), function () { - $this.trigger({ - type: 'shown' - , relatedTarget: previous - }) - }) - } - - , activate: function ( element, container, callback) { - var $active = container.find('> .active') - , transition = callback - && $.support.transition - && $active.hasClass('fade') - - function next() { - $active - .removeClass('active') - .find('> .dropdown-menu > .active') - .removeClass('active') - - element.addClass('active') - - if (transition) { - element[0].offsetWidth // reflow for transition - element.addClass('in') - } else { - element.removeClass('fade') - } - - if ( element.parent('.dropdown-menu') ) { - element.closest('li.dropdown').addClass('active') - } - - callback && callback() - } - - transition ? - $active.one($.support.transition.end, next) : - next() - - $active.removeClass('in') - } - } - - - /* TAB PLUGIN DEFINITION - * ===================== */ - - var old = $.fn.tab - - $.fn.tab = function ( option ) { - return this.each(function () { - var $this = $(this) - , data = $this.data('tab') - if (!data) $this.data('tab', (data = new Tab(this))) - if (typeof option == 'string') data[option]() - }) - } - - $.fn.tab.Constructor = Tab - - - /* TAB NO CONFLICT - * =============== */ - - $.fn.tab.noConflict = function () { - $.fn.tab = old - return this - } - - - /* TAB DATA-API - * ============ */ - - $(document).on('click.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) { - e.preventDefault() - $(this).tab('show') - }) - -}(window.jQuery); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrap.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrap.min.js deleted file mode 100644 index ab70a2615..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrap.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v3.0.3 (https://getbootstrap.com) - * Copyright 2013 Twitter, Inc. - * Licensed under https://www.apache.org/licenses/LICENSE-2.0 - */ - -if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focus",i="hover"==g?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show),void 0):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide),void 0):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m="body"==this.options.container?window.innerWidth:j.outerWidth(),n="body"==this.options.container?window.innerHeight:j.outerHeight(),o="body"==this.options.container?0:j.offset().left;d="bottom"==d&&g.top+g.height+i-l>n?"top":"top"==d&&g.top-l-i<0?"bottom":"right"==d&&g.right+h>m?"left":"left"==d&&g.left-h<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach()}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),this.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(jQuery),+function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrapSwitch.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrapSwitch.js deleted file mode 100644 index 08c6de6fc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/bootstrapSwitch.js +++ /dev/null @@ -1,251 +0,0 @@ -/* ============================================================ - * bootstrapSwitch v1.3 by Larentis Mattia @spiritualGuru - * https://www.larentis.eu/switch/ - * ============================================================ - * Licensed under the Apache License, Version 2.0 - * https://www.apache.org/licenses/LICENSE-2.0 - * ============================================================ */ - -!function ($) { - "use strict"; - - $.fn['bootstrapSwitch'] = function (method) { - var methods = { - init: function () { - return this.each(function () { - var $element = $(this) - , $div - , $switchLeft - , $switchRight - , $label - , myClasses = "" - , classes = $element.attr('class') - , color - , moving - , onLabel = "ON" - , offLabel = "OFF" - , icon = false; - - $.each(['switch-mini', 'switch-small', 'switch-large'], function (i, el) { - if (classes.indexOf(el) >= 0) - myClasses = el; - }); - - $element.addClass('has-switch'); - - if ($element.data('on') !== undefined) - color = "switch-" + $element.data('on'); - - if ($element.data('on-label') !== undefined) - onLabel = $element.data('on-label'); - - if ($element.data('off-label') !== undefined) - offLabel = $element.data('off-label'); - - if ($element.data('icon') !== undefined) - icon = $element.data('icon'); - - $switchLeft = $('<span>') - .addClass("switch-left") - .addClass(myClasses) - .addClass(color) - .html(onLabel); - - color = ''; - if ($element.data('off') !== undefined) - color = "switch-" + $element.data('off'); - - $switchRight = $('<span>') - .addClass("switch-right") - .addClass(myClasses) - .addClass(color) - .html(offLabel); - - $label = $('<label>') - .html("&nbsp;") - .addClass(myClasses) - .attr('for', $element.find('input').attr('id')); - - if (icon) { - $label.html('<i class="icon icon-' + icon + '"></i>'); - } - - $div = $element.find(':checkbox').wrap($('<div>')).parent().data('animated', false); - - if ($element.data('animated') !== false) - $div.addClass('switch-animate').data('animated', true); - - $div - .append($switchLeft) - .append($label) - .append($switchRight); - - $element.find('>div').addClass( - $element.find('input').is(':checked') ? 'switch-on' : 'switch-off' - ); - - if ($element.find('input').is(':disabled')) - $(this).addClass('deactivate'); - - var changeStatus = function ($this) { - $this.siblings('label').trigger('mousedown').trigger('mouseup').trigger('click'); - }; - - $element.on('keydown', function (e) { - if (e.keyCode === 32) { - e.stopImmediatePropagation(); - e.preventDefault(); - changeStatus($(e.target).find('span:first')); - } - }); - - $switchLeft.on('click', function (e) { - changeStatus($(this)); - }); - - $switchRight.on('click', function (e) { - changeStatus($(this)); - }); - - $element.find('input').on('change', function (e) { - var $this = $(this) - , $element = $this.parent() - , thisState = $this.is(':checked') - , state = $element.is('.switch-off'); - - e.preventDefault(); - - $element.css('left', ''); - - if (state === thisState) { - - if (thisState) - $element.removeClass('switch-off').addClass('switch-on'); - else $element.removeClass('switch-on').addClass('switch-off'); - - if ($element.data('animated') !== false) - $element.addClass("switch-animate"); - - $element.parent().trigger('switch-change', {'el': $this, 'value': thisState}) - } - }); - - $element.find('label').on('mousedown touchstart', function (e) { - var $this = $(this); - moving = false; - - e.preventDefault(); - e.stopImmediatePropagation(); - - $this.closest('div').removeClass('switch-animate'); - - if ($this.closest('.switch').is('.deactivate')) - $this.unbind('click'); - else { - $this.on('mousemove touchmove', function (e) { - var $element = $(this).closest('.switch') - , relativeX = (e.pageX || e.originalEvent.targetTouches[0].pageX) - $element.offset().left - , percent = (relativeX / $element.width()) * 100 - , left = 25 - , right = 75; - - moving = true; - - if (percent < left) - percent = left; - else if (percent > right) - percent = right; - - $element.find('>div').css('left', (percent - right) + "%") - }); - - $this.on('click touchend', function (e) { - var $this = $(this) - , $target = $(e.target) - , $myCheckBox = $target.siblings('input'); - - e.stopImmediatePropagation(); - e.preventDefault(); - - $this.unbind('mouseleave'); - - if (moving) - $myCheckBox.prop('checked', !(parseInt($this.parent().css('left')) < -25)); - else $myCheckBox.prop("checked", !$myCheckBox.is(":checked")); - - moving = false; - $myCheckBox.trigger('change'); - }); - - $this.on('mouseleave', function (e) { - var $this = $(this) - , $myCheckBox = $this.siblings('input'); - - e.preventDefault(); - e.stopImmediatePropagation(); - - $this.unbind('mouseleave'); - $this.trigger('mouseup'); - - $myCheckBox.prop('checked', !(parseInt($this.parent().css('left')) < -25)).trigger('change'); - }); - - $this.on('mouseup', function (e) { - e.stopImmediatePropagation(); - e.preventDefault(); - - $(this).unbind('mousemove'); - }); - } - }); - } - ); - }, - toggleActivation: function () { - $(this).toggleClass('deactivate'); - }, - isActive: function () { - return !$(this).hasClass('deactivate'); - }, - setActive: function (active) { - if (active) - $(this).removeClass('deactivate'); - else $(this).addClass('deactivate'); - }, - toggleState: function (skipOnChange) { - var $input = $(this).find('input:checkbox'); - $input.prop('checked', !$input.is(':checked')).trigger('change', skipOnChange); - }, - setState: function (value, skipOnChange) { - $(this).find('input:checkbox').prop('checked', value).trigger('change', skipOnChange); - }, - status: function () { - return $(this).find('input:checkbox').is(':checked'); - }, - destroy: function () { - var $div = $(this).find('div') - , $checkbox; - - $div.find(':not(input:checkbox)').remove(); - - $checkbox = $div.children(); - $checkbox.unwrap().unwrap(); - - $checkbox.unbind('change'); - - return $checkbox; - } - }; - - if (methods[method]) - return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); - else if (typeof method === 'object' || !method) - return methods.init.apply(this, arguments); - else - $.error('Method ' + method + ' does not exist!'); - }; -}(jQuery); - -$(function () { - $('.switch')['bootstrapSwitch'](); -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/chartMenu.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/chartMenu.js deleted file mode 100644 index 376d8ea5b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/chartMenu.js +++ /dev/null @@ -1,126 +0,0 @@ -/* Modernizr 2.6.2 (Custom Build) | MIT & BSD - * Build: https://modernizr.com/download/#-csstransforms3d-shiv-cssclasses-teststyles-testprop-testallprops-prefixes-domprefixes-load - */ -;window.Modernizr=function(a,b,c){function z(a){j.cssText=a}function A(a,b){return z(m.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective"in g.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},z(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}; - -jQuery( document ).ready(function() {( function( window ) { - -'use strict'; - -function classReg( className ) { - return new RegExp("(^|\\s+)" + className + "(\\s+|$)"); -} - -// classList support for class management -// altho to be fair, the api sucks because it won't accept multiple classes at once -var hasClass, addClass, removeClass; - -if ( 'classList' in document.documentElement ) { - hasClass = function( elem, c ) { - return elem.classList.contains( c ); - }; - addClass = function( elem, c ) { - elem.classList.add( c ); - }; - removeClass = function( elem, c ) { - elem.classList.remove( c ); - }; -} -else { - hasClass = function( elem, c ) { - return classReg( c ).test( elem.className ); - }; - addClass = function( elem, c ) { - if ( !hasClass( elem, c ) ) { - elem.className = elem.className + ' ' + c; - } - }; - removeClass = function( elem, c ) { - elem.className = elem.className.replace( classReg( c ), ' ' ); - }; -} - -function toggleClass( elem, c ) { - var fn = hasClass( elem, c ) ? removeClass : addClass; - fn( elem, c ); -} - -var classie = { - // full names - hasClass: hasClass, - addClass: addClass, - removeClass: removeClass, - toggleClass: toggleClass, - // short names - has: hasClass, - add: addClass, - remove: removeClass, - toggle: toggleClass -}; - -// transport -if ( typeof define === 'function' && define.amd ) { - // AMD - define( classie ); -} else { - // browser global - window.classie = classie; -} - -})( window ); - -var SidebarMenuEffects = (function() { - - function hasParentClass( e, classname ) { - if(e === document) return false; - if( classie.has( e, classname ) ) { - return true; - } - return e.parentNode && hasParentClass( e.parentNode, classname ); - } - - function mobilecheck() { - var check = false; - (function(a){if(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check = true})(navigator.userAgent||navigator.vendor||window.opera); - return check; - } - - function init() { - var container = document.getElementById( 'st-container' ), - buttons = Array.prototype.slice.call( document.querySelectorAll( '#st-trigger-effects > button' ) ), - // event type (if mobile use touch events) - eventtype = mobilecheck() ? 'touchstart' : 'click', - resetMenu = function() { - classie.remove( container, 'st-menu-open' ); - }, - bodyClickFn = function(evt) { - if( !hasParentClass( evt.target, 'st-menu' ) ) { - resetMenu(); - document.removeEventListener( eventtype, bodyClickFn ); - } - }; - - buttons.forEach( function( el, i ) { - var effect = el.getAttribute( 'data-effect' ); - - el.addEventListener( eventtype, function( ev ) { - ev.stopPropagation(); - ev.preventDefault(); - container.className = 'st-container'; // clear - classie.add( container, effect ); - setTimeout( function() { - classie.add( container, 'st-menu-open' ); - }, 25 ); - document.addEventListener( eventtype, bodyClickFn ); - }); - } ); - - jQuery('.CTsubmenu').click(resetMenu); - - } - - init(); - -})(); - -}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/chartbuilder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/chartbuilder.php deleted file mode 100644 index 72f436384..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/chartbuilder.php +++ /dev/null @@ -1,192 +0,0 @@ -<?php -/** -* -* @version 1.0.5 October 6, 2015 -* @author Llewellyn van der Merwe <https://www.vdm.io/> (forked - <https://code.google.com/p/php-class-for-google-chart-tools/>) -* @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html> -* -**/ - -// No direct access. -defined('_JEXEC') or die; - -class Chartbuilder -{ - - private static $_first = true; - public static $_count = 0; - - private $_chartType; - - private $_data; - private $_dataType; - private $_skipFirstRow; - - /** - * sets the chart type and updates the chart counter - */ - public function __construct($chartType, $skipFirstRow = false){ - $this->_chartType = $chartType; - $this->_skipFirstRow = $skipFirstRow; - self::$_count++; - } - - /** - * loads the dataset and converts it to the correct format - */ - public function load($data, $dataType = 'json'){ - $this->_data = ($dataType != 'json') ? $this->dataToJson($data) : $data; - } - - /** - * load jsapi - */ - private function initChart(){ - self::$_first = false; - - $output = ''; - // start a code block - /*$output .= '<script type="text/javascript" src="https://www.google.com/jsapi"></script>'."\n";*/ - $output .= '<script type="text/javascript">google.load(\'visualization\', \'1.0\', {\'packages\':[\'corechart\']});</script>'."\n"; - - return $output; - } - - /** - * draws the chart - */ - - public function draw($div, Array $options = array()){ - $output = ''; - - if(self::$_first)$output .= $this->initChart(); - - // start a code block - $output .= '<script type="text/javascript">'; - - // set callback function - $output .= 'google.setOnLoadCallback(drawChart' . self::$_count . ');'; - - // create callback function - $output .= 'function drawChart' . self::$_count . '(){'; - - $output .= 'var data = new google.visualization.DataTable(' . $this->_data . ');'; - - // make chart resize - $output .= "var width = 0; - - var graphHeight". self::$_count ." = 0; - var graphWidth". self::$_count ." = 0; - jQuery(window).ready(function() { - width = jQuery(window).width(); - if (width < 1000){ - sizeGraph". self::$_count ."(true,width); - } else if (width > 1000) { - sizeGraph". self::$_count ."(false); - } - "; - - - // draw on tab change - if (isset($options['tabclickdraw'])) - { - $output .= "jQuery('.".$options['tabclickdraw']."').on('click', function(){ - width = jQuery(window).width(); - if (width < 1000){ - sizeGraph". self::$_count ."(true,width); - } else if (width > 1000) { - sizeGraph". self::$_count ."(false); - } - });"; - unset($options['tabclickdraw']); - } - - $output .= " - jQuery('.icon').on('click', function(){ - width = jQuery(window).width(); - if (width < 1000){ - sizeGraph". self::$_count ."(true,width); - } else if (width > 1000) { - sizeGraph". self::$_count ."(false); - } - }); - }); - - jQuery(window).resize(function () { - width = jQuery(window).width(); - if (width < 1000){ - sizeGraph". self::$_count ."(true,width); - } else if (width > 1000) { - sizeGraph". self::$_count ."(false); - } - }); - - function sizeGraph". self::$_count ."(set, width) { - if(set){ - var setTo = width/1200; - graphHeight". self::$_count ." = setTo*".$options['height']."; - graphWidth". self::$_count ." = setTo*".$options['width']."; - } else { - graphHeight". self::$_count ." = ".$options['height']."; - graphWidth". self::$_count ." = ".$options['width']."; - } - - "; - - // set the options - $output .= 'var options = ' . json_encode($options) . '; options["height"]=graphHeight'. self::$_count .'; options["width"]=graphWidth'. self::$_count .';'; - - // create and draw the chart - $output .= 'var chart = new google.visualization.' . $this->_chartType . '(document.getElementById(\'' . $div . '\'));'; - $output .= 'chart.draw(data, options);'; - - $output .= '}} </script>' . "\n"; - return $output; - } - - /** - * substracts the column names from the first and second row in the dataset - */ - private function getColumns($data){ - $cols = array(); - foreach($data[0] as $key => $value){ - if(is_numeric($key)){ - if(is_string($data[1][$key])){ - $cols[] = array('id' => '', 'label' => $value, 'type' => 'string'); - } else { - $cols[] = array('id' => '', 'label' => $value, 'type' => 'number'); - } - $this->_skipFirstRow = true; - } else { - if(is_string($value)){ - $cols[] = array('id' => '', 'label' => $key, 'type' => 'string'); - } else { - $cols[] = array('id' => '', 'label' => $key, 'type' => 'number'); - } - } - } - return $cols; - } - - /** - * convert array data to json - * info: https://code.google.com/intl/nl-NL/apis/chart/interactive/docs/datatables_dataviews.html#javascriptliteral - */ - private function dataToJson($data){ - $cols = $this->getColumns($data); - - $rows = array(); - foreach($data as $key => $row){ - if($key != 0 || !$this->_skipFirstRow){ - $c = array(); - foreach($row as $v){ - $c[] = array('v' => $v); - } - $rows[] = array('c' => $c); - } - } - - return json_encode(array('cols' => $cols, 'rows' => $rows)); - } - -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler.php deleted file mode 100644 index fda63a7ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler.php +++ /dev/null @@ -1,17601 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.0.8 - @build 30th January, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage compiler.php - @author Llewellyn van der Merwe <http://www.vdm.io> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -// include class to minify js -require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/js.php'; - -// import the Joomla librarys -jimport('joomla.application.component.modellist'); -jimport('joomla.application'); -jimport('joomla.filesystem.file'); -jimport('joomla.filesystem.folder'); -jimport('joomla.filesystem.archive'); - -/** - * Compiler class - */ -class Compiler -{ - public $folderCount = 0; - public $fileCount = 0; - public $lineCount = 0; - public $filepath = ''; - public $componentFolderName = ''; - // fixed pathes - protected $compilerPath; - protected $templatePath; - protected $bomPath; - protected $componentPath; - protected $tempPath; - protected $add2SalesServer = false; - protected $backupPath = false; - protected $gitPath = false; - // data sets - protected $params; - protected $componentCodeName; - protected $componentData; - protected $joomlaVersion; - protected $joomlaVersionData; - protected $loadLineNr = false; - protected $addEximport = false; - protected $googlechart = false; - // new - protected $newFiles = array(); - protected $codes = array(); - protected $notNew = array(); - protected $langContent = array(); - protected $placeholders = array(); - protected $addCheckin = false; - protected $addContributors = false; - protected $addAjax = false; - protected $theContributors = ''; - protected $fileContentStatic = array(); - protected $fileContentDynamic = array(); - protected $langPrefix = 'COM_'; - protected $lang = 'admin'; - protected $queryBuilder = array(); - protected $dbUniqueKeys = array(); - protected $dbKeys = array(); - protected $customScriptBuilder = array(); - protected $uninstallBuilder = array(); - protected $listBuilder = array(); - protected $listColnrBuilder = array(); - protected $sortBuilder = array(); - protected $searchBuilder = array(); - protected $filterBuilder = array(); - protected $layoutBuilder = array(); - protected $permissionBuilder = array(); - protected $permissionDashboard = array(); - protected $permissionCore = array(); - protected $customFieldBuilder = array(); - protected $aliasBuilder = array(); - protected $catCodeBuilder = array(); - protected $titleBuilder = array(); - protected $buildCategories = array(); - protected $iconBuilder = array(); - protected $hiddenFieldsBuilder = array(); - protected $dynamicfieldsBuilder = array(); - protected $intFieldsBuilder = array(); - protected $customFieldLinksBuilder = array(); - protected $tabCounter = array(); - protected $tagsBuilder = array(); - protected $historyBuilder = array(); - protected $checkboxBuilder = array(); - protected $jsonItemBuilder = array(); - protected $jsonStringBuilder = array(); - protected $base64Builder = array(); - protected $basicEncryptionBuilder = array(); - protected $advancedEncryptionBuilder = array(); - protected $customBuilder = array(); - protected $selectionTranslationFixBuilder = array(); - protected $validationFixBuilder = array(); - protected $customBuilderList = array(); - protected $setTagHistory = false; - protected $editBodyViewScriptBuilder = array(); - protected $targetRelationControl = array(); - protected $targetControlsScriptChecker = array(); - protected $setScriptUserSwitch = array(); - protected $setScriptMediaSwitch = array(); - protected $setGroupControl = array(); - protected $footableScripts = array(); - protected $doNotEscape = array(); - protected $setRouterHelpDone = array(); - // front new - protected $uikit = false; - protected $uikitComp = array(); - protected $templateData = array(); - protected $layoutData = array(); - protected $getAsLookup = array(); - protected $otherWhere = array(); - protected $target; - protected $_adminViewData; - protected $DashboardGetCustomData = array(); - - /** - * Constructor - */ - public function __construct($config = array ()) - { - if (isset($config) && count($config)) - { - $this->params = JComponentHelper::getParams('com_componentbuilder'); - $this->compilerPath = $this->params->get('compiler_folder_path', JPATH_COMPONENT_ADMINISTRATOR.'/compiler'); - $this->joomlaVersion = $config['joomlaVersion']; - $this->templatePath = $this->compilerPath.'/joomla_'.$config['joomlaVersion']; - $this->templatePathCustom = $this->params->get('custom_folder_path', JPATH_COMPONENT_ADMINISTRATOR.'/custom'); - $this->componentData = $this->getComponentData($config['componentId']); // get the version settings - $this->loadLineNr = ($this->componentData->debug_linenr) ? true:false; - $this->joomlaVersionData = $this->setJoomlaVersionData(); - $this->componentSalesName = 'com_'.$this->componentData->sales_name.'__J'.$this->joomlaVersion; - $this->componentBackupName = 'com_'.$this->componentData->sales_name.'_v'.str_replace('.','_',$this->componentData->component_version).'__J'.$this->joomlaVersion; - $this->componentFolderName = 'com_'.$this->componentData->name_code.'_v'.str_replace('.','_',$this->componentData->component_version).'__J'.$this->joomlaVersion; - $this->componentPath = $this->compilerPath.'/'.$this->componentFolderName; - // set temp directory - $comConfig = JFactory::getConfig(); - $this->tempPath = $comConfig->get('tmp_path'); - // set some folder paths in relation to distribution - if ($config['addBackup']) - { - $this->backupPath = $this->params->get('backup_folder_path', $this->tempPath).'/'.$this->componentBackupName.'.zip'; - $this->add2SalesServer = true; - } - if ($config['addGit']) - { - $this->gitPath = $this->params->get('git_folder_path', null); - } - // build the component - return $this->buildComponent(); - } - return false; - } - - protected function setLine($nr) - { - if ($this->loadLineNr) - { - return ' ['.$nr.']'; - } - return ''; - } - - protected function buildComponent() - { - // make sure there is no old build - $this->removeFolder($this->componentPath); - // set all the needed folders - if ($this->buildFolders()) - { - // build the static files - if ($this->setStatic()) - { - // build the dynamique files - if ($this->dynamique()) - { - // build the update to update all content in all files - if ($this->buildFileContent()) - { - // now update the files - if ($this->updateFiles()) - { - // zip the component - if ($this->zipComponent()) - { - // done - return true; - } - } - } - } - } - } - return false; - } - - protected function buildFileContent() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - // ###COMPONENT### - $this->fileContentStatic['###COMPONENT###'] = ComponentbuilderHelper::safeString($this->componentData->name_code, 'U'); - - // ###Component### - $this->fileContentStatic['###Component###'] = ComponentbuilderHelper::safeString($this->componentData->name_code, 'F'); - - // ###component### - $this->fileContentStatic['###component###'] = ComponentbuilderHelper::safeString($this->componentData->name_code); - - // ###COMPANYNAME### - $this->fileContentStatic['###COMPANYNAME###'] = trim($this->componentData->companyname); - - // ###CREATIONDATE### - $this->fileContentStatic['###CREATIONDATE###'] = JFactory::getDate($this->componentData->created)->format('jS F, Y'); - - // ###BUILDDATE### - $this->fileContentStatic['###BUILDDATE###'] = JFactory::getDate()->format('jS F, Y'); - - // ###AUTHOR### - $this->fileContentStatic['###AUTHOR###'] = trim($this->componentData->author); - - // ###AUTHOREMAIL### - $this->fileContentStatic['###AUTHOREMAIL###'] = trim($this->componentData->email); - - // ###AUTHORWEBSITE### - $this->fileContentStatic['###AUTHORWEBSITE###'] = trim($this->componentData->website); - - // ###COPYRIGHT### - $this->fileContentStatic['###COPYRIGHT###'] = trim($this->componentData->copyright); - - // ###LICENSE### - $this->fileContentStatic['###LICENSE###'] = trim($this->componentData->license); - - // ###VERSION### - $this->fileContentStatic['###VERSION###'] = trim($this->componentData->component_version); - - // ###Component_name### - $this->fileContentStatic['###Component_name###'] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - - // ###SHORT_DISCRIPTION### - $this->fileContentStatic['###SHORT_DESCRIPTION###'] = trim($this->componentData->short_description); - - // ###DESCRIPTION### - $this->fileContentStatic['###DESCRIPTION###'] = trim($this->componentData->description); - - // ###COMP_IMAGE_TYPE### - $this->fileContentStatic['###COMP_IMAGE_TYPE###'] = $this->setComponentImageType($this->componentData->image); - - // ###ACCESS_SECTIONS### - $this->fileContentStatic['###ACCESS_SECTIONS###'] = $this->setAccessSections(); - - // set component place holders - $this->placeholders = array( - '###Component###' => $this->fileContentStatic['###Component###'], - '###component###' => $this->fileContentStatic['###component###'], - '###COMPONENT###' => $this->fileContentStatic['###COMPONENT###'], - '[[[Component]]]' => $this->fileContentStatic['###Component###'], - '[[[component]]]' => $this->fileContentStatic['###component###'], - '[[[COMPONENT]]]' => $this->fileContentStatic['###COMPONENT###'] - ); - - // ###CONFIG_FIELDSETS### - $keepLang = $this->lang; - $this->lang = 'admin'; - // run the field sets for first time - $this->setConfigFieldsets(1); - $this->lang = $keepLang; - - // ###ADMINCSS### - $this->fileContentStatic['###ADMINCSS###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_css']); - // ###SITECSS### - $this->fileContentStatic['###SITECSS###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_css']); - - // ###CUSTOM_HELPER_SCRIPT### - $this->fileContentStatic['###CUSTOM_HELPER_SCRIPT###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_helper_admin']); - - // ###ADMIN_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] = ''; - - // ###ADMIN_GLOBAL_EVENT### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT###'] = ''; - // now load the data for the global event if needed - if ($this->componentData->add_admin_event == 1) - { - // ###ADMIN_GLOBAL_EVENT### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT###'] = "\n\n".'// Triger the Global Admin Event'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT###'] .= "\n".$this->fileContentStatic['###Component###'].'Helper::globalEvent($document);'; - // ###ADMIN_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] = "\n\n\t".'/**'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'* The Global Admin Event Method.'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'**/'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'public static function globalEvent($document)'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'{'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_admin_event']); - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'}'; - } - - // ###HELPER_CREATEUSER### - $this->fileContentStatic['###HELPER_CREATEUSER###'] = $this->setCreateUserHelperMethod($this->componentData->creatuserhelper); - - // ###HELP### - $this->fileContentStatic['###HELP###'] = $this->noHelp(); - // ###HELP_SITE### - $this->fileContentStatic['###HELP_SITE###'] = $this->noHelp(); - // ###UPDATE_VERSION_MYSQL### - $this->setVersionController(); - - // build route parse switch - $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] = ''; - // build route views - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = ''; - - // setup back-views and all needed stuff for the admin - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - // reset view array - $viewarray = array(); - $site_edit_view_array = array(); - // start dynamic build - foreach ($this->componentData->admin_views as $view) - { - $this->lang = 'admin'; - // set main keys - $viewName_single = ComponentbuilderHelper::safeString($view['settings']->name_single); - $viewName_list = ComponentbuilderHelper::safeString($view['settings']->name_list); - // set site edit view array - if ($view['edit_create_site_view']) - { - $site_edit_view_array[] = "\t\t\t\t'".$viewName_single."'"; - $this->lang = 'both'; - } - // set the export/import option - if ($view['port']) - { - $this->eximportView[$viewName_list] = true; - } - else - { - $this->eximportView[$viewName_list] = false; - } - // check if help is being loaded - $this->checkHelp($viewName_single); - // set custom admin view list links - $this->setCustomAdminViewListLink($view,$viewName_list); - - // set view array - $viewarray[] = "\t\t\t\t'".$viewName_single."' => '".$viewName_list."'"; - // set the view names - if ($view['settings']->name_single != 'null') - { - // ###VIEW### <<<DYNAMIC>>> - $viewName_u = ComponentbuilderHelper::safeString($view['settings']->name_single,'U'); - $this->fileContentDynamic[$viewName_single]['###VIEW###'] = $viewName_u; - $this->fileContentDynamic[$viewName_list]['###VIEW###'] = $viewName_u; - - // ###View### <<<DYNAMIC>>> - $viewName_f = ComponentbuilderHelper::safeString($view['settings']->name_single,'F'); - $this->fileContentDynamic[$viewName_single]['###View###'] = $viewName_f; - $this->fileContentDynamic[$viewName_list]['###View###'] = $viewName_f; - - // ###view### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###view###'] = $viewName_single; - $this->fileContentDynamic[$viewName_list]['###view###'] = $viewName_single; - - // set some place holder for the views - $this->placeholders['###view###'] = $viewName_single; - - // set license per view if needed - $this->setLockLicensePer($viewName_single); - $this->setLockLicensePer($viewName_list); - - // ###FIELDSETS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###FIELDSETS###'] = $this->setFieldSet($view, $this->fileContentStatic['###component###']); - - // ###ACCESSCONTROL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###ACCESSCONTROL###'] = $this->setFieldSetAccessControl($viewName_single); - - // ###LINKEDVIEWITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWITEMS###'] = ''; - - // ###ADDTOOLBAR### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###ADDTOOLBAR###'] = $this->setAddToolBar($view); - - // set the script for this view - $this->buildTheViewScript($view, $this->fileContentStatic['###component###']); - - // ###VIEW_SCRIPT### - $this->fileContentDynamic[$viewName_single]['###VIEW_SCRIPT###'] = $this->setViewScript($viewName_single); - - // ###EDITBODYSCRIPT### - $this->fileContentDynamic[$viewName_single]['###EDITBODYSCRIPT###'] = $this->setEditBodyScript($viewName_single); - - // ###AJAXTOKE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###AJAXTOKE###'] = $this->setAjaxToke($viewName_single); - - // ###LINKEDVIEWTABLESCRIPTS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWTABLESCRIPTS###'] = ''; - - // ###VALIDATEFIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###VALIDATIONFIX###'] = $this->setValidationFix($viewName_single, $this->fileContentStatic['###Component###']); - - // ###EDITBODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###EDITBODY###'] = $this->setEditBody($view); - - // ###JTABLECONSTRUCTOR### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JTABLECONSTRUCTOR###'] = $this->setJtableConstructor($viewName_single); - - // ###JTABLEALIASCATEGORY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JTABLEALIASCATEGORY###'] = $this->setJtableAliasCategory($viewName_single); - - // ###METHOD_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###METHOD_GET_ITEM###'] = $this->setMethodGetItem($viewName_single); - - // ###LINKEDVIEWGLOBAL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWGLOBAL###'] = ''; - - // ###LINKEDVIEWMETHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWMETHODS###'] = ''; - - // ###JMODELADMIN_BEFORE_DELETE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_BEFORE_DELETE###'] = $this->setJmodelAdminBeforeDelete($viewName_single); - - // ###JMODELADMIN_AFTER_DELETE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_AFTER_DELETE###'] = $this->setJmodelAdminAfterDelete($viewName_single); - - // ###CHECKBOX_SAVE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###CHECKBOX_SAVE###'] = $this->setCheckboxSave($viewName_single); - - // ###METHOD_ITEM_SAVE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###METHOD_ITEM_SAVE###'] = $this->setMethodItemSave($viewName_single); - - // ###POSTSAVEHOOK### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###POSTSAVEHOOK###'] = $this->setPostSaveHook($viewName_single); - - if (isset($this->customScriptBuilder['css_view'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['css_view'][$viewName_single])) - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###VIEWCSS###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['css_view'][$viewName_single]); - // clear some memory - unset($this->customScriptBuilder['css_view'][$viewName_single]); - } - else - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###VIEWCSS###'] = ''; - } - // add css to front end - if ($view['edit_create_site_view']) - { - $this->fileContentDynamic[$viewName_single]['###SITE_VIEWCSS###'] = $this->fileContentDynamic[$viewName_single]['###VIEWCSS###']; - } - } - // set the views names - if ($view['settings']->name_list != 'null') - { - $this->lang = 'admin'; - // ###VIEWS### <<<DYNAMIC>>> - $viewsName_u = ComponentbuilderHelper::safeString($view['settings']->name_list,'U'); - $this->fileContentDynamic[$viewName_list]['###VIEWS###'] = $viewsName_u; - $this->fileContentDynamic[$viewName_single]['###VIEWS###'] = $viewsName_u; - - // ###Views### <<<DYNAMIC>>> - $viewsName_f = ComponentbuilderHelper::safeString($view['settings']->name_list,'F'); - $this->fileContentDynamic[$viewName_list]['###Views###'] = $viewsName_f; - $this->fileContentDynamic[$viewName_single]['###Views###'] = $viewsName_f; - - // ###views### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###views###'] = $viewName_list; - $this->fileContentDynamic[$viewName_single]['###views###'] = $viewName_list; - // ###ICOMOON### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###ICOMOON###'] = $view['icomoon']; - - // set some place holder for the views - $this->placeholders['###views###'] = $viewName_list; - - // set Autocheckin function - if ($view['checkin'] == 1) - { - // ###AUTOCHECKIN### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###AUTOCHECKIN###'] = $this->setAutoCheckin($viewName_single,$this->fileContentStatic['###component###']); - // ###CHECKINCALL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CHECKINCALL###'] = $this->setCheckinCall(); - } - else - { - // ###AUTOCHECKIN### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###AUTOCHECKIN###'] = ''; - // ###CHECKINCALL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CHECKINCALL###'] = ''; - } - - // ###STORE_METHOD_FIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###GET_ITEMS_METHOD_STRING_FIX###'] = $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###']); - - // ###SELECTIONTRANSLATIONFIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###SELECTIONTRANSLATIONFIX###'] = $this->setSelectionTranslationFix($viewName_list,$this->fileContentStatic['###Component###']); - - // ###SELECTIONTRANSLATIONFIXFUNC### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###SELECTIONTRANSLATIONFIXFUNC###'] = $this->setSelectionTranslationFixFunc($viewName_list,$this->fileContentStatic['###Component###']); - - // ###FILTER_FIELDS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###FILTER_FIELDS###'] = $this->setFilterFields($viewName_list); - - // ###STOREDID### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###STOREDID###'] = $this->setStoredId($viewName_list); - - // ###POPULATESTATE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###POPULATESTATE###'] = $this->setPopulateState($viewName_list); - - // ###SORTFIELDS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###SORTFIELDS###'] = $this->setSortFields($viewName_list); - - // ###CATEGORYFILTER### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CATEGORYFILTER###'] = $this->setCategoryFilter($viewName_list); - - // ###CATEGORY_VIEWS### - if (!isset($this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'])) - { - $this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'] = ''; - } - $this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'] .= $this->setRouterCategoryViews($viewName_single,$viewName_list); - - // ###OTHERFILTERS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###OTHERFILTERS###'] = $this->setOtherFilter($viewName_list); - - // ###FILTERFUNCTIONS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###FILTERFUNCTIONS###'] = $this->setFilterFunctions($viewName_single,$viewName_list); - - // ###LISTQUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTQUERY###'] = $this->setListQuery($viewName_single,$viewName_list); - - // ###MODELEXPORTMETHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###MODELEXPORTMETHOD###'] = $this->setModelExportMethod($viewName_single, $viewName_list); - - // ###MODELEXIMPORTMETHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CONTROLLEREXIMPORTMETHOD###'] = $this->setControllerEximportMethod($viewName_single, $viewName_list); - - // ###EXPORTBUTTON### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###EXPORTBUTTON###'] = $this->setExportButton($viewName_single, $viewName_list); - - // ###IMPORTBUTTON### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###IMPORTBUTTON###'] = $this->setImportButton($viewName_single, $viewName_list); - - // ###LISTHEAD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTHEAD###'] = $this->setListHead($viewName_single,$viewName_list); - - // ###LISTBODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTBODY###'] = $this->setListBody($viewName_single,$viewName_list); - - // ###LISTCOLNR### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTCOLNR###'] = $this->setListColnr($viewName_list); - - // ###JVIEWLISTCANDO### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###JVIEWLISTCANDO###'] = $this->setJviewListCanDo($viewName_single,$viewName_list); - - if (isset($this->customScriptBuilder['css_views'][$viewName_list]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['css_views'][$viewName_list])) - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###VIEWSCSS###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['css_views'][$viewName_list]); - // clear some memory - unset($this->customScriptBuilder['css_views'][$viewName_list]); - } - else - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###VIEWSCSS###'] = ''; - } - } - - // set u fields used in batch - $this->fileContentDynamic[$viewName_single]['###UNIQUEFIELDS###'] = $this->setUniqueFields($viewName_single); - - // ###TITLEALIASFIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###TITLEALIASFIX###'] = $this->setAliasTitleFix($viewName_single); - - // ###GENERATENEWTITLE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###GENERATENEWTITLE###'] = $this->setGenerateNewTitle($viewName_single); - - // ###MODEL_BATCH_COPY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###MODEL_BATCH_COPY###'] = $this->setBatchCopy($viewName_single); - - // ###MODEL_BATCH_MOVE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###MODEL_BATCH_MOVE###'] = $this->setBatchMove($viewName_single); - - // ###JCONTROLLERFORM_ALLOWADD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JCONTROLLERFORM_ALLOWADD###'] = $this->setJcontrollerAllowAdd($viewName_single,$viewName_list); - - // ###JCONTROLLERFORM_ALLOWEDIT### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JCONTROLLERFORM_ALLOWEDIT###'] = $this->setJcontrollerAllowEdit($viewName_single,$viewName_list); - - // ###JMODELADMIN_GETFORM### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_GETFORM###'] = $this->setJmodelAdminGetForm($viewName_single,$viewName_list); - - // ###JMODELADMIN_ALLOWEDIT### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_ALLOWEDIT###'] = $this->setJmodelAdminAllowEdit($viewName_single,$viewName_list); - - // ###JMODELADMIN_CANDELETE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_CANDELETE###'] = $this->setJmodelAdminCanDelete($viewName_single,$viewName_list); - - // ###JMODELADMIN_CANEDITSTATE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_CANEDITSTATE###'] = $this->setJmodelAdminCanEditState($viewName_single,$viewName_list); - - // set custom admin view Toolbare buttons - // ###CUSTOM_ADMIN_DYNAMIC_BUTTONS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CUSTOM_ADMIN_DYNAMIC_BUTTONS###'] = $this->setCustomAdminDynamicButton($viewName_list); - // ###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER###'] = $this->setCustomAdminDynamicButtonController($viewName_list); - - // set helper router - if (!isset($this->fileContentStatic['###ROUTEHELPER###'])) - { - $this->fileContentStatic['###ROUTEHELPER###'] = ''; - } - $this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($viewName_single, $viewName_list); - - if ($view['edit_create_site_view']) - { - // add needed router stuff for front edit views - $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($viewName_single); - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($viewName_single); - } - - // ###ACCESS_SECTIONS### - if (!isset($this->fileContentStatic['###ACCESS_SECTIONS###'])) - { - $this->fileContentStatic['###ACCESS_SECTIONS###'] = ''; - } - $this->fileContentStatic['###ACCESS_SECTIONS###'] .= $this->setAccessSectionsCategory($viewName_single, $viewName_list); - - // ###HELPER_EXEL### - $this->fileContentStatic['###HELPER_EXEL###'] = $this->setExelHelperMethods(); - - } - - // setup custom_admin_views and all needed stuff for the site - if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) - { - $this->target = 'custom_admin'; - $this->lang = 'admin'; - // var_dump($this->componentData->custom_admin_views);exit; - // start dynamic build - foreach ($this->componentData->custom_admin_views as $view) - { - // for single views - $this->fileContentDynamic[$view['settings']->code]['###SView###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sview###'] = $view['settings']->code; - $this->fileContentDynamic[$view['settings']->code]['###SVIEW###'] = $view['settings']->CODE; - // for list views - $this->fileContentDynamic[$view['settings']->code]['###SViews###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sviews###'] = $view['settings']->code; - $this->fileContentDynamic[$view['settings']->code]['###SVIEWS###'] = $view['settings']->CODE; - // add to lang array - if (!isset($this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE])) - { - $this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE] = $view['settings']->name; - } - if (!isset($this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'])) - { - $this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'] = $view['settings']->description; - } - // ###ICOMOON### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###ICOMOON###'] = $view['icomoon']; - - // set placeholders - $this->placeholders['###SView###'] = $view['settings']->Code; - $this->placeholders['###sview###'] = $view['settings']->code; - $this->placeholders['###SVIEW###'] = $view['settings']->CODE; - $this->placeholders['[[[SView]]]'] = $view['settings']->Code; - $this->placeholders['[[[sview]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEW]]]'] = $view['settings']->CODE; - $this->placeholders['###SViews###'] = $view['settings']->Code; - $this->placeholders['###sviews###'] = $view['settings']->code; - $this->placeholders['###SVIEWS###'] = $view['settings']->CODE; - $this->placeholders['[[[SViews]]]'] = $view['settings']->Code; - $this->placeholders['[[[sviews]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE; - - // set license per view if needed - $this->setLockLicensePer($view['settings']->code); - - if ($view['settings']->main_get->gettype == 1) - { - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEM###'] = ''; - } - - // ###CUSTOM_ADMIN_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_GET_ITEM###'] = $this->setCustomViewGetItem($view['settings']->main_get, $view['settings']->code,"\t\t"); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEM###'] = ''; - } - } - elseif ($view['settings']->main_get->gettype == 2) - { - // ###CUSTOM_ADMIN_GET_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_GET_LIST_QUERY###'] = $this->setCustomViewListQuery($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY###'] = ''; - } - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEMS###'] = ''; - } - - // ###CUSTOM_ADMIN_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_GET_ITEMS###'] = $this->setCustomViewGetItems($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEMS###'] = ''; - } - } - - // ###CUSTOM_ADMIN_CUSTOM_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_METHODS###'] = $this->setCustomViewCustomItemMethods($view['settings']->main_get, $view['settings']->code); - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_METHODS###'] .= $this->setCustomViewCustomMethods($view, $view['settings']->code); - // ###CUSTOM_ADMIN_DIPLAY_METHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_DIPLAY_METHOD###'] = $this->setCustomViewDisplayMethod($view); - // set document details - $this->setPrepareDocument($view); - // ###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS###'] = $this->setCustomViewExtraDisplayMethods($view); - // ###CUSTOM_ADMIN_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CODE_BODY###'] = $this->setCustomViewCodeBody($view); - // ###CUSTOM_ADMIN_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BODY###'] = $this->setCustomViewBody($view); - - // setup the templates - $this->setCustomViewTemplateBody($view); - } - - // setup the layouts - $this->setCustomViewLayouts(); - } - - // ###VIEWARRAY### - $this->fileContentStatic['###VIEWARRAY###'] = "\n".implode(",\n",$viewarray); - - // ###CUSTOM_ADMIN_EDIT_VIEW_ARRAY### - $this->fileContentStatic['###SITE_EDIT_VIEW_ARRAY###'] = "\n".implode(",\n",$site_edit_view_array); - - // ###MAINMENUS### - $this->fileContentStatic['###MAINMENUS###'] = $this->setMainMenus(); - - // ###SUBMENU### - $this->fileContentStatic['###SUBMENU###'] = $this->setSubMenus(); - - // ###GET_CRYPT_KEY### - $this->fileContentStatic['###GET_CRYPT_KEY###'] = $this->setGetCryptKey(); - - // set the license locker - $this->setLockLicense(); - - // ###CONTRIBUTORS### - $this->fileContentStatic['###CONTRIBUTORS###'] = $this->theContributors; - - // ###INSTALL### - $this->fileContentStatic['###INSTALL###'] = $this->setInstall(); - - // ###UNINSTALL### - $this->fileContentStatic['###UNINSTALL###'] = $this->setUninstall(); - - // ###DASHBOARDICONS### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASHBOARDICONS###'] = $this->setDashboardIcons(); - - // ###DASHBOARDICONACCESS### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASHBOARDICONACCESS###'] = $this->setDashboardIconAccess(); - - // ###DASH_MODEL_METHODS### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_MODEL_METHODS###'] = $this->setDashboardModelMethods(); - - // ###DASH_GET_CUSTOM_DATA### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_GET_CUSTOM_DATA###'] = $this->setDashboardGetCustomData(); - - // ###DASH_DISPLAY_DATA### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_DISPLAY_DATA###'] = $this->setDashboardDisplayData(); - - // add import - if (isset($this->addEximport) && $this->addEximport) - { - // setup import files - $target = array('admin' => 'import'); - $this->buildDynamique($target,'import'); - // set the controller - $this->fileContentDynamic['import']['###BLABLABLA###'] = ''; - } - - // ensure that the ajax model and controller is set if needed - if (isset($this->addAjax) && $this->addAjax) - { - // setup Ajax files - $target = array('admin' => 'ajax'); - $this->buildDynamique($target,'ajax'); - // set the controller - $this->fileContentDynamic['ajax']['###REGISTER_AJAX_TASK###'] = $this->setRegisterAjaxTask('admin'); - $this->fileContentDynamic['ajax']['###AJAX_INPUT_RETURN###'] = $this->setAjaxInputReturn('admin'); - // set the module - $this->fileContentDynamic['ajax']['###AJAX_MODEL_METHODS###'] = $this->setAjaxModelMethods('admin'); - } - - // ensure that the site ajax model and controller is set if needed - if (isset($this->addSiteAjax) && $this->addSiteAjax) - { - // setup Ajax files - $target = array('site' => 'ajax'); - $this->buildDynamique($target,'ajax'); - // set the controller - $this->fileContentDynamic['ajax']['###REGISTER_SITE_AJAX_TASK###'] = $this->setRegisterAjaxTask('site' ); - $this->fileContentDynamic['ajax']['###AJAX_SITE_INPUT_RETURN###'] = $this->setAjaxInputReturn('site' ); - // set the module - $this->fileContentDynamic['ajax']['###AJAX_SITE_MODEL_METHODS###'] = $this->setAjaxModelMethods('site'); - } - - // run the second run if needed - if (isset($this->secondRunAdmin) && ComponentbuilderHelper::checkArray($this->secondRunAdmin)) - { - // start dynamic build - foreach ($this->secondRunAdmin as $function => $arrays) - { - if (ComponentbuilderHelper::checkArray($arrays) && ComponentbuilderHelper::checkString($function)) - { - foreach ($arrays as $array) - { - $this->{$function}($array); - } - } - } - - } - - // ###CONFIG_FIELDSETS### - $keepLang = $this->lang; - $this->lang = 'admin'; - // run field sets for second time - $this->setConfigFieldsets(2); - $this->lang = $keepLang; - } - - // setup front-views and all needed stuff for the site - if (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views)) - { - $this->target = 'site'; - // var_dump($this->componentData->site_views);exit; - // start dynamic build - foreach ($this->componentData->site_views as $view) - { - // for list views - $this->fileContentDynamic[$view['settings']->code]['###SViews###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sviews###'] = $view['settings']->code; - // for single views - $this->fileContentDynamic[$view['settings']->code]['###SView###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sview###'] = $view['settings']->code; - - // set placeholder - $this->placeholders['###SView###'] = $view['settings']->Code; - $this->placeholders['###sview###'] = $view['settings']->code; - $this->placeholders['###SVIEW###'] = $view['settings']->CODE; - $this->placeholders['[[[SView]]]'] = $view['settings']->Code; - $this->placeholders['[[[sview]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEW]]]'] = $view['settings']->CODE; - $this->placeholders['###SViews###'] = $view['settings']->Code; - $this->placeholders['###sviews###'] = $view['settings']->code; - $this->placeholders['###SVIEWS###'] = $view['settings']->CODE; - $this->placeholders['[[[SViews]]]'] = $view['settings']->Code; - $this->placeholders['[[[sviews]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE; - - // set license per view if needed - $this->setLockLicensePer($view['settings']->code); - - // set the site default view - if ($view['default_view'] == 1) - { - $this->fileContentStatic['###SITE_DEFAULT_VIEW###'] = $view['settings']->code; - } - // add site menu - if ($view['menu'] == 1) - { - // ###SITE_MENU_XML### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_MENU_XML###'] = $this->setCustomViewMenu($view); - } - - // insure the needed route helper is loaded - $this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($view['settings']->code,$view['settings']->code, true); - // build route details - $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($view['settings']->code); - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($view['settings']->code); - - if ($view['settings']->main_get->gettype == 1) - { - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code])) - { - // ###SITE_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - } - else - { - // ###SITE_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEM###'] = ''; - } - - // ###SITE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_GET_ITEM###'] = $this->setCustomViewGetItem($view['settings']->main_get, $view['settings']->code,"\t\t"); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code])) - { - // ###SITE_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - } - else - { - // ###SITE_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEM###'] = ''; - } - } - elseif ($view['settings']->main_get->gettype == 2) - { - // ###SITE_GET_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_GET_LIST_QUERY###'] = $this->setCustomViewListQuery($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code])) - { - // ###SITE_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_BEFORE_LIST_QUERY###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - } - else - { - // ###SITE_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_BEFORE_LIST_QUERY###'] = ''; - } - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code])) - { - // ###SITE_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - } - else - { - // ###SITE_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEMS###'] = ''; - } - - // ###SITE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_GET_ITEMS###'] = $this->setCustomViewGetItems($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code])) - { - // ###SITE_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - } - else - { - // ###SITE_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEMS###'] = ''; - } - } - // add to lang array - if (!isset($this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE])) - { - $this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE] = $view['settings']->name; - } - if (!isset($this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'])) - { - $this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'] = $view['settings']->description; - } - // ###SITE_CUSTOM_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_METHODS###'] = $this->setCustomViewCustomItemMethods($view['settings']->main_get, $view['settings']->code); - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_METHODS###'] .= $this->setCustomViewCustomMethods($view, $view['settings']->code); - // ###SITE_DIPLAY_METHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_DIPLAY_METHOD###'] = $this->setCustomViewDisplayMethod($view); - // set document details - $this->setPrepareDocument($view); - // ###SITE_EXTRA_DIPLAY_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_EXTRA_DIPLAY_METHODS###'] = $this->setCustomViewExtraDisplayMethods($view); - // ###SITE_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CODE_BODY###'] = $this->setCustomViewCodeBody($view); - // ###SITE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BODY###'] = $this->setCustomViewBody($view); - - // setup the templates - $this->setCustomViewTemplateBody($view); - } - // set site custom script to helper class - // ###SITE_CUSTOM_HELPER_SCRIPT### - $this->fileContentStatic['###SITE_CUSTOM_HELPER_SCRIPT###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_helper_site']); - // ###SITE_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] = ''; - // ###SITE_GLOBAL_EVENT### - $this->fileContentStatic['###SITE_GLOBAL_EVENT###'] = ''; - // now load the data for the global event if needed - if ($this->componentData->add_site_event == 1) - { - $this->fileContentStatic['###SITE_GLOBAL_EVENT###'] = "\n\n".'// Triger the Global Site Event'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT###'] .= "\n".$this->fileContentStatic['###Component###'].'Helper::globalEvent($document);'; - // ###SITE_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] = "\n\n\t".'/**'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'* The Global Site Event Method.'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'**/'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'public static function globalEvent($document)'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'{'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_site_event']); - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'}'; - } - // setup the layouts - $this->setCustomViewLayouts(); - } - - // ###LANG_ADMIN### - $this->fileContentStatic['###LANG_ADMIN###'] = $this->setLangAdmin(); - - // ###LANG_ADMIN_SYS### - $this->fileContentStatic['###LANG_ADMIN_SYS###'] = $this->setLangAdminSys(); - - // ###LANG_SITE### - $this->fileContentStatic['###LANG_SITE###'] = $this->setLangSite(); - - // ###LANG_SITE_SYS### - $this->fileContentStatic['###LANG_SITE_SYS###'] = $this->setLangSiteSys(); - - // ###INSTALLSCRIPT### - $this->fileContentStatic['###INSTALLSCRIPT###'] = $this->setInstallScript(); - - // ###UPDATESCRIPT### - $this->fileContentStatic['###UPDATESCRIPT###'] = $this->setUpdateScript(); - - // ###UNINSTALLSCRIPT### - $this->fileContentStatic['###UNINSTALLSCRIPT###'] = $this->setUninstallScript(); - - // ###HELPER_UIKIT### - $this->fileContentStatic['###HELPER_UIKIT###'] = $this->setUikitHelperMethods(); - - // ###CONFIG_FIELDSETS### - $this->fileContentStatic['###CONFIG_FIELDSETS###'] = implode("\n",$this->configFieldSets); - - // check if this has been set - if (!isset($this->fileContentStatic['###ROUTER_BUILD_VIEWS###']) || !ComponentbuilderHelper::checkString($this->fileContentStatic['###ROUTER_BUILD_VIEWS###'])) - { - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = 0; - } - else - { - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = '('.$this->fileContentStatic['###ROUTER_BUILD_VIEWS###'].')'; - } - - // ###README### - if ($this->componentData->addreadme) - { - $this->fileContentStatic['###README###'] = $this->componentData->readme; - } - return true; - } - return false; - } - - protected function setLockLicense() - { - if ($this->componentData->add_license && $this->componentData->license_type == 3) - { - $_VDM = '_'.ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(10),'U'); - // add it to the system - $this->fileContentStatic['###HELPER_SITE_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'site'); - $this->fileContentStatic['###HELPER_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'admin'); - $this->fileContentStatic['###LICENSE_LOCKED_INT###'] = $this->setInitLincenseLock($_VDM); - $this->fileContentStatic['###LICENSE_LOCKED_DEFINED###'] = "\n\n".'defined(\''.$_VDM.'\') or die(JText::_(\'NIE_REG_NIE\'));'; - } - else - { - // don't add it to the system - $this->fileContentStatic['###HELPER_SITE_LICENSE_LOCK###'] = ''; - $this->fileContentStatic['###HELPER_LICENSE_LOCK###'] = ''; - $this->fileContentStatic['###LICENSE_LOCKED_INT###'] = ''; - $this->fileContentStatic['###LICENSE_LOCKED_DEFINED###'] = ''; - } - } - - protected function setLockLicensePer($view) - { - if ($this->componentData->add_license && $this->componentData->license_type == 3) - { - $boolMethod = 'isHonest'; - $globalbool = ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(4)); - // add it to the system - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = $this->setBoolLincenseLock($boolMethod,$globalbool); - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked(); - } - else - { - // don't add it to the system - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = ''; - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = ''; - } - } - - protected function checkStatmentLicenseLocked($boolMethod,$globalbool) - { - $statment[] = "\n\t\tif (!\$this->isHonest())"; - $statment[] = "\t\t{"; - $statment[] = "\t\t\tJError::raiseWarning(500, JText::_('NIE_REG_NIE'));"; - $statment[] = "\t\t\tJFactory::getApplication()->redirect('index.php');"; - $statment[] = "\t\t\treturn false;"; - $statment[] = "\t\t}"; - // return the genuine mentod statement - return implode("\n", $statment); - } - - protected function setBoolLincenseLock($boolMethod,$globalbool) - { - $bool[] = "\n\n\t/**"; - $bool[] = "\t* Check if this install has a license."; - $bool[] = "\t**/"; - $bool[] = "\tprivate function ".$boolMethod."()"; - $bool[] = "\t{"; - $bool[] = "\t\tif(isset(\$this->".$globalbool."))"; - $bool[] = "\t\t{"; - $bool[] = "\t\t\treturn \$this->".$globalbool.";"; - $bool[] = "\t\t}"; - $bool[] = "\t\t//".$this->setLine(__LINE__)." Get the global params"; - $bool[] = "\t\t\$params = JComponentHelper::getParams('com_".$this->fileContentStatic['###component###']."', true);"; - $bool[] = "\t\t\$license_key = \$params->get('license_key', null);"; - $bool[] = "\t\tif (\$license_key)"; - $bool[] = "\t\t{"; - $bool[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; - $bool[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $bool[] = "\t\t\t\$the = new VDM(\$license_key);"; - $bool[] = "\t\t\t\$this->".$globalbool." = \$the->_is;"; - $bool[] = "\t\t\treturn \$this->".$globalbool.";"; - $bool[] = "\t\t}"; - $bool[] = "\t\treturn false;"; - $bool[] = "\t}"; - // return the genuine mentod statement - return implode("\n", $bool); - } - - protected function setHelperLincenseLock($_VDM,$target) - { - $helper[] = "\n\n\t/**"; - $helper[] = "\t* Check if this install has a license."; - $helper[] = "\t**/"; - $helper[] = "\tpublic static function isGenuine()"; - $helper[] = "\t{"; - $helper[] = "\t\t//".$this->setLine(__LINE__)." Get the global params"; - $helper[] = "\t\t\$params = JComponentHelper::getParams('com_".$this->fileContentStatic['###component###']."', true);"; - $helper[] = "\t\t\$license_key = \$params->get('license_key', null);"; - $helper[] = "\t\tif (\$license_key)"; - $helper[] = "\t\t{"; - $helper[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; - $helper[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $helper[] = "\t\t\t\$the = new VDM(\$license_key);"; - $helper[] = "\t\t\treturn \$the->_is;"; - $helper[] = "\t\t}"; - $helper[] = "\t\treturn false;"; - $helper[] = "\t}"; - // return the genuine mentod statement - return implode("\n", $helper); - } - - protected function setInitLincenseLock($_VDM) - { - $init[] = "\nif (!defined('".$_VDM."'))"; - $init[] = "{"; - $init[] = "\t\$allow = ".$this->fileContentStatic['###Component###']."Helper::isGenuine();"; - $init[] = "\tif (\$allow)"; - $init[] = "\t{"; - $init[] = "\t\tdefine('".$_VDM."', 1);"; - $init[] = "\t}"; - $init[] = "}"; - // return the initializing statement - return implode("\n", $init); - } - - protected function setVDMCryption() - { - // make sure we have the correct file - if (isset($this->componentData->whmcs_key) && ComponentbuilderHelper::checkString($this->componentData->whmcs_key)) - { - // Get the basic encription. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - if (!empty($this->componentData->whmcs_key) && $basickey && !is_numeric($this->componentData->whmcs_key) && $this->componentData->whmcs_key === base64_encode(base64_decode($this->componentData->whmcs_key, true))) - { - // basic decript data whmcs_key. - $this->componentData->whmcs_key = rtrim($basic->decryptString($this->componentData->whmcs_key), "\0"); - // set the needed string to connect to whmcs - $key["kasier"] = $this->componentData->whmcs_url; - $key["geheim"] = $this->componentData->whmcs_key; - $key["onthou"] = 1; - // prep the call info - $theKey = base64_encode(serialize($key)); - // set the script - $encrypt[] = "/**"; - $encrypt[] = "* ".$this->setLine(__LINE__)."VDM Class "; - $encrypt[] = "**/"; - $encrypt[] = "\nclass VDM"; - $encrypt[] = "{"; - $encrypt[] = "\tpublic \$_key = false;"; - $encrypt[] = "\tpublic \$_is = false;"; - $encrypt[] = "\t"; - $encrypt[] = "\tpublic function __construct(\$Vk5smi0wjnjb)"; - $encrypt[] = "\t{"; - $encrypt[] = "\t\t// get the session"; - $encrypt[] = "\t\t\$session = JFactory::getSession();"; - $encrypt[] = "\t\t\$V2uekt2wcgwk = \$session->get(\$Vk5smi0wjnjb, null);"; - $encrypt[] = "\t\t\$h4sgrGsqq = \$this->get(\$Vk5smi0wjnjb,\$V2uekt2wcgwk);"; - $encrypt[] = "\t\tif (isset(\$h4sgrGsqq['nuut']) && \$h4sgrGsqq['nuut'] && (isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['eiegrendel']) && strlen(\$h4sgrGsqq['eiegrendel']) > 300)"; - $encrypt[] = "\t\t{"; - $encrypt[] = "\t\t\t\$session->set(\$Vk5smi0wjnjb, \$h4sgrGsqq['eiegrendel']);"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tif ((isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 && isset(\$h4sgrGsqq['customfields']) && strlen(\$h4sgrGsqq['customfields']) > 4)"; - $encrypt[] = "\t\t{"; - $encrypt[] = "\t\t\t\$this->_key = md5(\$h4sgrGsqq['customfields']);"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tif ((isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 )"; - $encrypt[] = "\t\t{"; - $encrypt[] = "\t\t\t\$this->_is = true;"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t}"; - $encrypt[] = "\t"; - $encrypt[] = "\tprivate function get(\$Vk5smi0wjnjb,\$V2uekt2wcgwk)"; - $encrypt[] = "\t{"; - $encrypt[] = "\t\t\$Viioj50xuqu2 = unserialize(base64_decode('".$theKey."'));"; - $encrypt[] = "\t\t\$Visqfrd1caus = time() . md5(mt_rand(1000000000, 9999999999) . \$Vk5smi0wjnjb);"; - $encrypt[] = "\t\t\$Vo4tezfgcf3e = date(\"Ymd\");"; - $encrypt[] = "\t\t\$Vozblwvfym2f = \$_SERVER['SERVER_NAME'];"; - $encrypt[] = "\t\t\$Vozblwvfym2fdie = isset(\$_SERVER['SERVER_ADDR']) ? \$_SERVER['SERVER_ADDR'] : \$_SERVER['LOCAL_ADDR'];"; - $encrypt[] = "\t\t\$V343jp03dxco = dirname(__FILE__);"; - $encrypt[] = "\t\t\$Vc2rayehw4f0 = unserialize(base64_decode('czozNjoibW9kdWxlcy9zZXJ2ZXJzL2xpY2Vuc2luZy92ZXJpZnkucGhwIjs='));"; - $encrypt[] = "\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\tif (\$V2uekt2wcgwk) {"; - $encrypt[] = "\t\t\t\$V2uekt2wcgwk = str_replace(\"".'\n'."\", '', \$V2uekt2wcgwk);"; - $encrypt[] = "\t\t\t\$Vm5cxjdc43g4 = substr(\$V2uekt2wcgwk, 0, strlen(\$V2uekt2wcgwk) - 32);"; - $encrypt[] = "\t\t\t\$Vbgx0efeu2sy = substr(\$V2uekt2wcgwk, strlen(\$V2uekt2wcgwk) - 32);"; - $encrypt[] = "\t\t\tif (\$Vbgx0efeu2sy == md5(\$Vm5cxjdc43g4 . \$Viioj50xuqu2['geheim'])) {"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4 = strrev(\$Vm5cxjdc43g4);"; - $encrypt[] = "\t\t\t\t\$Vbgx0efeu2sy = substr(\$Vm5cxjdc43g4, 0, 32);"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4 = substr(\$Vm5cxjdc43g4, 32);"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4 = base64_decode(\$Vm5cxjdc43g4);"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4finding = unserialize(\$Vm5cxjdc43g4);"; - $encrypt[] = "\t\t\t\t\$V3qqz0p00fbq = \$Vm5cxjdc43g4finding['dan'];"; - $encrypt[] = "\t\t\t\tif (\$Vbgx0efeu2sy == md5(\$V3qqz0p00fbq . \$Viioj50xuqu2['geheim'])) {"; - $encrypt[] = "\t\t\t\t\t\$Vbfbwv2y4kre = date(\"Ymd\", mktime(0, 0, 0, date(\"m\"), date(\"d\") - \$Viioj50xuqu2['onthou'], date(\"Y\")));"; - $encrypt[] = "\t\t\t\t\tif (\$V3qqz0p00fbq > \$Vbfbwv2y4kre) {"; - $encrypt[] = "\t\t\t\t\t\t\$Vlpolphukogz = true;"; - $encrypt[] = "\t\t\t\t\t\t\$Vwasqoybpyed = \$Vm5cxjdc43g4finding;"; - $encrypt[] = "\t\t\t\t\t\t\$Vcixw3trerrt = explode(',', \$Vwasqoybpyed['validdomain']);"; - $encrypt[] = "\t\t\t\t\t\tif (!in_array(\$_SERVER['SERVER_NAME'], \$Vcixw3trerrt)) {"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vm5cxjdc43g4finding['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t\t\$Vkni3xyhkqzv = explode(',', \$Vwasqoybpyed['validip']);"; - $encrypt[] = "\t\t\t\t\t\tif (!in_array(\$Vozblwvfym2fdie, \$Vkni3xyhkqzv)) {"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vm5cxjdc43g4finding['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t\t\$Vckfvnepoaxj = explode(',', \$Vwasqoybpyed['validdirectory']);"; - $encrypt[] = "\t\t\t\t\t\tif (!in_array(\$V343jp03dxco, \$Vckfvnepoaxj)) {"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vm5cxjdc43g4finding['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tif (!\$Vlpolphukogz) {"; - $encrypt[] = "\t\t\t\$V1u0c4dl3ehp = array("; - $encrypt[] = "\t\t\t\t'licensekey' => \$Vk5smi0wjnjb,"; - $encrypt[] = "\t\t\t\t'domain' => \$Vozblwvfym2f,"; - $encrypt[] = "\t\t\t\t'ip' => \$Vozblwvfym2fdie,"; - $encrypt[] = "\t\t\t\t'dir' => \$V343jp03dxco,"; - $encrypt[] = "\t\t\t);"; - $encrypt[] = "\t\t\tif (\$Visqfrd1caus) \$V1u0c4dl3ehp['check_token'] = \$Visqfrd1caus;"; - $encrypt[] = "\t\t\t\$Vdsjeyjmpq2o = '';"; - $encrypt[] = "\t\t\tforeach (\$V1u0c4dl3ehp AS \$V2sgyscukmgi=>\$V1u00zkzmb1d) {"; - $encrypt[] = "\t\t\t\t\$Vdsjeyjmpq2o .= \$V2sgyscukmgi.'='.urlencode(\$V1u00zkzmb1d).'&';"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (function_exists('curl_exec')) {"; - $encrypt[] = "\t\t\t\t\$Vdathuqgjyf0 = curl_init();"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_URL, \$Viioj50xuqu2['kasier'] . \$Vc2rayehw4f0);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_POST, 1);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_POSTFIELDS, \$Vdsjeyjmpq2o);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_TIMEOUT, 30);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_RETURNTRANSFER, 1);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5 = curl_exec(\$Vdathuqgjyf0);"; - $encrypt[] = "\t\t\t\tcurl_close(\$Vdathuqgjyf0);"; - $encrypt[] = "\t\t\t} else {"; - $encrypt[] = "\t\t\t\t\$Vrpmu4bvnmkp = fsockopen(\$Viioj50xuqu2['kasier'], 80, \$Vc0t5kmpwkwk, \$Va3g41fnofhu, 5);"; - $encrypt[] = "\t\t\t\tif (\$Vrpmu4bvnmkp) {"; - $encrypt[] = "\t\t\t\t\t\$Vznkm0a0me1y = \"\r\n\";"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop = \"POST \".\$Viioj50xuqu2['kasier'] . \$Vc2rayehw4f0 . \" HTTP/1.0\" . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Host: \".\$Viioj50xuqu2['kasier'] . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Content-type: application/x-www-form-urlencoded\" . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Content-length: \".@strlen(\$Vdsjeyjmpq2o) . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Connection: close\" . \$Vznkm0a0me1y . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \$Vdsjeyjmpq2o;"; - $encrypt[] = "\t\t\t\t\t\$Vqojefyeohg5 = '';"; - $encrypt[] = "\t\t\t\t\t@stream_set_timeout(\$Vrpmu4bvnmkp, 20);"; - $encrypt[] = "\t\t\t\t\t@fputs(\$Vrpmu4bvnmkp, \$V2sgyscukmgiop);"; - $encrypt[] = "\t\t\t\t\t\$V2czq24pjexf = @socket_get_status(\$Vrpmu4bvnmkp);"; - $encrypt[] = "\t\t\t\t\twhile (!@feof(\$Vrpmu4bvnmkp)&&\$V2czq24pjexf) {"; - $encrypt[] = "\t\t\t\t\t\t\$Vqojefyeohg5 .= @fgets(\$Vrpmu4bvnmkp, 1024);"; - $encrypt[] = "\t\t\t\t\t\t\$V2czq24pjexf = @socket_get_status(\$Vrpmu4bvnmkp);"; - $encrypt[] = "\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t@fclose (\$Vqojefyeohg5);"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (!\$Vqojefyeohg5) {"; - $encrypt[] = "\t\t\t\t\$Vbfbwv2y4kre = date(\"Ymd\", mktime(0, 0, 0, date(\"m\"), date(\"d\") - \$Viioj50xuqu2['onthou'], date(\"Y\")));"; - $encrypt[] = "\t\t\t\tif (isset(\$V3qqz0p00fbq) && \$V3qqz0p00fbq > \$Vbfbwv2y4kre) {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed = \$Vm5cxjdc43g4finding;"; - $encrypt[] = "\t\t\t\t} else {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['description'] = \"Remote Check Failed\";"; - $encrypt[] = "\t\t\t\t\treturn \$Vwasqoybpyed;"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t} else {"; - $encrypt[] = "\t\t\t\tpreg_match_all('".'/<(.*?)>([^<]+)<\/\\1>/i'."', \$Vqojefyeohg5, \$V1ot20wob03f);"; - $encrypt[] = "\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\tforeach (\$V1ot20wob03f[1] AS \$V2sgyscukmgi=>\$V1u00zkzmb1d) {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed[\$V1u00zkzmb1d] = \$V1ot20wob03f[2][\$V2sgyscukmgi];"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (!is_array(\$Vwasqoybpyed)) {"; - $encrypt[] = "\t\t\t\tdie(\"Invalid License Server Response\");"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (isset(\$Vwasqoybpyed['md5hash']) && \$Vwasqoybpyed['md5hash']) {"; - $encrypt[] = "\t\t\t\tif (\$Vwasqoybpyed['md5hash'] != md5(\$Viioj50xuqu2['geheim'] . \$Visqfrd1caus)) {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['description'] = \"MD5 Checksum Verification Failed\";"; - $encrypt[] = "\t\t\t\t\treturn \$Vwasqoybpyed;"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (isset(\$Vwasqoybpyed['status']) && \$Vwasqoybpyed['status'] == \"Active\") {"; - $encrypt[] = "\t\t\t\t\$Vwasqoybpyed['dan'] = \$Vo4tezfgcf3e;"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = serialize(\$Vwasqoybpyed);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = base64_encode(\$Vqojefyeohg5ing);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = md5(\$Vo4tezfgcf3e . \$Viioj50xuqu2['geheim']) . \$Vqojefyeohg5ing;"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = strrev(\$Vqojefyeohg5ing);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = \$Vqojefyeohg5ing . md5(\$Vqojefyeohg5ing . \$Viioj50xuqu2['geheim']);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = wordwrap(\$Vqojefyeohg5ing, 80, \"".'\n'."\", true);"; - $encrypt[] = "\t\t\t\t\$Vwasqoybpyed['eiegrendel'] = \$Vqojefyeohg5ing;"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\t\$Vwasqoybpyed['nuut'] = true;"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tunset(\$V1u0c4dl3ehp,\$Vqojefyeohg5,\$V1ot20wob03f,\$Viioj50xuqu2['kasier'],\$Viioj50xuqu2['geheim'],\$Vo4tezfgcf3e,\$Vozblwvfym2fdie,\$Viioj50xuqu2['onthou'],\$Vbgx0efeu2sy);"; - $encrypt[] = "\t\treturn \$Vwasqoybpyed;"; - $encrypt[] = "\t}"; - $encrypt[] = "}"; - - // return the help methods - return implode("\n",$encrypt); - } - } - return ''; - } - - protected function setGetCryptKey() - { - // ###ENCRYPT_FILE### - $this->fileContentStatic['###ENCRYPT_FILE###'] = ''; - if ((isset($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder)) || (isset($this->advancedEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder)) || $this->componentData->add_license) - { - if (isset($this->advancedEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder) || $this->componentData->add_license) - { - // set advanced encrypt file into place - $target = array('admin' => 'encrypt'); - $done = $this->buildDynamique($target,'encrypt'); - // the text for the file ###VDM_ENCRYPTION_BODY### - $this->fileContentDynamic['encrypt']['###VDM_ENCRYPTION_BODY###'] = $this->setVDMCryption(); - // ###ENCRYPT_FILE### - $this->fileContentStatic['###ENCRYPT_FILE###'] = "\n\t\t\t<filename>vdm.php</filename>"; - } - // get component name - $component = $this->fileContentStatic['###component###']; - // set the getCryptKey function to the helper class - $function = array(); - if (isset($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder)) - { - $function[] = "\n\n\tpublic static function getCryptKey(\$type)"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get the global params"; - $function[] = "\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; - $function[] = "\t\tif ('advanced' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$advanced_key = \$params->get('advanced_key', null);"; - $function[] = "\t\t\tif (\$advanced_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." load the file"; - $function[] = "\t\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $function[] = "\n\t\t\t\t\$the = new VDM(\$advanced_key);"; - $function[] = "\n\t\t\t\treturn \$the->_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\telseif ('basic' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$basic_key = \$params->get('basic_key', null);"; - $function[] = "\t\t\tif (\$basic_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\treturn \$basic_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - elseif (isset($this->advancedEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder)) - { - $function[] = "\n\n\tpublic static function getCryptKey(\$type)"; - $function[] = "\t{"; - $function[] = "\t\tif ('advanced' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params"; - $function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; - $function[] = "\t\t\t\$advanced_key = \$params->get('advanced_key', null);"; - $function[] = "\t\t\tif (\$advanced_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." load the file"; - $function[] = "\t\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $function[] = "\n\t\t\t\t\$the = new VDM(\$advanced_key);"; - $function[] = "\n\t\t\t\treturn \$the->_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - elseif (isset($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder)) - { - $function[] = "\n\n\tpublic static function getCryptKey(\$type)"; - $function[] = "\t{"; - $function[] = "\t\tif ('basic' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params"; - $function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; - $function[] = "\t\t\t\$basic_key = \$params->get('basic_key', null);"; - $function[] = "\t\t\tif (\$basic_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\treturn \$basic_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - // return the help methods - return implode("\n",$function); - } - return ''; - } - - protected function setVersionController() - { - $updateServer = ''; - if (ComponentbuilderHelper::checkArray($this->componentData->version_update)) - { - $updateXML = array(); - // add the update server - if ($this->componentData->add_update_server) - { - $updateXML[] = '<updates>'; - } - // add the update sql - $addSQL = true; - foreach ($this->componentData->version_update as $update) - { - // ensure version naming is correct - $update['version'] = preg_replace('/[^0-9.]+/', '', $update['version']); - // check if the sql should be added - if ($update['version'] == $this->componentData->component_version) - { - $addSQL = false; - } - // setup import files - if ($addSQL) - { - $name = ComponentbuilderHelper::safeString($update['version']); - $target = array('admin' => $name); - $this->buildDynamique($target,'sql_update',$update['version']); - $this->fileContentDynamic[$name.'_'.$update['version']]['###UPDATE_VERSION_MYSQL###'] = $update['mysql']; - } - // add the update server - if ($this->componentData->add_update_server) - { - // build update xml - $updateXML[] = "\t<update>"; - $updateXML[] = "\t\t<name>".$this->fileContentStatic['###Component_name###']."</name>"; - $updateXML[] = "\t\t<description>".$this->fileContentStatic['###SHORT_DESCRIPTION###']."</description>"; - $updateXML[] = "\t\t<element>com_".$this->fileContentStatic['###component###']."</element>"; - $updateXML[] = "\t\t<type>component</type>"; - $updateXML[] = "\t\t<version>".$update['version']."</version>"; - $updateXML[] = "\t\t".'<infourl title="'.$this->fileContentStatic['###Component_name###'].'!">'.$this->fileContentStatic['###AUTHORWEBSITE###'].'</infourl>'; - $updateXML[] = "\t\t<downloads>"; - if (!isset($update['url'])) - { - $update['url'] = 'http://domain.com/demo.xml'; - } - $updateXML[] = "\t\t\t".'<downloadurl type="full" format="zip">'.$update['url'].'</downloadurl>'; - $updateXML[] = "\t\t</downloads>"; - $updateXML[] = "\t\t<tags>"; - $updateXML[] = "\t\t\t<tag>stable</tag>"; - $updateXML[] = "\t\t</tags>"; - $updateXML[] = "\t\t<maintainer>".$this->fileContentStatic['###AUTHOR###']."</maintainer>"; - $updateXML[] = "\t\t<maintainerurl>".$this->fileContentStatic['###AUTHORWEBSITE###']."</maintainerurl>"; - $updateXML[] = "\t\t".'<targetplatform name="joomla" version="3.*"/>'; - $updateXML[] = "\t</update>"; - } - } - // add the update server - if ($this->componentData->add_update_server) - { - $updateXML[] = '</updates>'; - // ###UPDATE_SERVER_XML### - $name = str_replace('.xml', '', substr($this->componentData->update_server, strrpos($this->componentData->update_server, '/') + 1)); - $target = array('admin' => $name); - $this->buildDynamique($target,'update_server'); - $this->fileContentDynamic[$name]['###UPDATE_SERVER_XML###'] = implode("\n", $updateXML); - - // set the Update server file name - $this->updateServerFileName = $name; - - // ###UPDATESERVER### - $updateServer = array(); - $updateServer[] = "\n\t<updateservers>"; - $updateServer[] = "\t\t".'<server type="extension" enabled="1" element="com_'.$this->fileContentStatic['###component###'].'" name="'.$this->fileContentStatic['###Component_name###'].'">'.$this->componentData->update_server.'</server>'; - $updateServer[] = "\t</updateservers>"; - // return the array to string - $updateServer = implode("\n", $updateServer); - } - } - // add update server details to component XML file - $this->fileContentStatic['###UPDATESERVER###'] = $updateServer; - } - - protected function noHelp() - { - $help = array(); - $help[] = "\n\n\t/**"; - $help[] = "\t* Can be used to build help urls."; - $help[] = "\t**/"; - $help[] = "\tpublic static function getHelpUrl(\$view)"; - $help[] = "\t{"; - $help[] = "\t\treturn false;"; - $help[] = "\t}"; - // return the no help method - return implode("\n",$help); - } - - protected function checkHelp($viewName_single) - { - if ($viewName_single == "help_document") - { - // set help file into admin place - $target = array('admin' => 'help'); - $admindone = $this->buildDynamique($target,'help'); - // set the help file into site place - $target = array('site' => 'help'); - $sitedone = $this->buildDynamique($target,'help'); - if ($admindone && $sitedone) - { - // ###HELP### - $this->fileContentStatic['###HELP###'] = $this->setHelp(1); - // ###HELP_SITE### - $this->fileContentStatic['###HELP_SITE###'] = $this->setHelp(2); - // to make sure the file is updated TODO - $this->fileContentDynamic['help']['###BLABLA###'] = 'blabla'; - return true; - } - } - return false; - } - - protected function setHelp($location) - { - // set hte help function to the helper class - $target = 'admin_view'; - if ($location == 2) - { - $target = 'site_view'; - } - $help = array(); - $help[] = "\n\n\t/**"; - $help[] = "\t* Load the Component Help URLs."; - $help[] = "\t**/"; - $help[] = "\tpublic static function getHelpUrl(\$view)"; - $help[] = "\t{"; - $help[] = "\t\t\$user = JFactory::getUser();"; - $help[] = "\t\t\$groups = \$user->get('groups');"; - $help[] = "\t\t\$db = JFactory::getDbo();"; - $help[] = "\t\t\$query = \$db->getQuery(true);"; - $help[] = "\t\t\$query->select(array('a.id','a.groups','a.target','a.type','a.article','a.url'));"; - $help[] = "\t\t\$query->from('#__".$this->fileContentStatic['###component###']."_help_document AS a');"; - $help[] = "\t\t\$query->where('a.".$target." = '.\$db->quote(\$view));"; - $help[] = "\t\t\$query->where('a.location = ".(int) $location."');"; - $help[] = "\t\t\$query->where('a.published = 1');"; - $help[] = "\t\t\$db->setQuery(\$query);"; - $help[] = "\t\t\$db->execute();"; - $help[] = "\t\tif(\$db->getNumRows())"; - $help[] = "\t\t{"; - $help[] = "\t\t\t\$helps = \$db->loadObjectList();"; - $help[] = "\t\t\tif (self::checkArray(\$helps))"; - $help[] = "\t\t\t{"; - $help[] = "\t\t\t\tforeach (\$helps as \$nr => \$help)"; - $help[] = "\t\t\t\t{"; - $help[] = "\t\t\t\t\tif (\$help->target == 1)"; - $help[] = "\t\t\t\t\t{"; - $help[] = "\t\t\t\t\t\t\$targetgroups = json_decode(\$help->groups, true);"; - $help[] = "\t\t\t\t\t\tif (!array_intersect(\$targetgroups, \$groups))"; - $help[] = "\t\t\t\t\t\t{"; - $help[] = "\t\t\t\t\t\t\t//".$this->setLine(__LINE__)." if user not in those target groups then remove the item"; - $help[] = "\t\t\t\t\t\t\tunset(\$helps[\$nr]);"; - $help[] = "\t\t\t\t\t\t\tcontinue;"; - $help[] = "\t\t\t\t\t\t}"; - $help[] = "\t\t\t\t\t}"; - $help[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." set the return type"; - $help[] = "\t\t\t\t\tswitch (\$help->type)"; - $help[] = "\t\t\t\t\t{"; - $help[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." set joomla article"; - $help[] = "\t\t\t\t\t\tcase 1:"; - $help[] = "\t\t\t\t\t\t\treturn self::loadArticleLink(\$help->article);"; - $help[] = "\t\t\t\t\t\tbreak;"; - $help[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." set help text"; - $help[] = "\t\t\t\t\t\tcase 2:"; - $help[] = "\t\t\t\t\t\t\treturn self::loadHelpTextLink(\$help->id);"; - $help[] = "\t\t\t\t\t\tbreak;"; - $help[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." set Link"; - $help[] = "\t\t\t\t\t\tcase 3:"; - $help[] = "\t\t\t\t\t\t\treturn \$help->url;"; - $help[] = "\t\t\t\t\t\tbreak;"; - $help[] = "\t\t\t\t\t}"; - $help[] = "\t\t\t\t}"; - $help[] = "\t\t\t}"; - $help[] = "\t\t}"; - $help[] = "\t\treturn false;"; - $help[] = "\t}"; - $help[] = "\n\t/**"; - $help[] = "\t* Get the Article Link."; - $help[] = "\t**/"; - $help[] = "\tprotected static function loadArticleLink(\$id)"; - $help[] = "\t{"; - $help[] = "\t\treturn JURI::root().'index.php?option=com_content&view=article&id='.\$id.'&tmpl=component&layout=modal';"; - $help[] = "\t}"; - $help[] = "\n\t/**"; - $help[] = "\t* Get the Help Text Link."; - $help[] = "\t**/"; - $help[] = "\tprotected static function loadHelpTextLink(\$id)"; - $help[] = "\t{"; - $help[] = "\t\t\$token = JSession::getFormToken();"; - $help[] = "\t\treturn 'index.php?option=com_".$this->fileContentStatic['###component###']."&task=help.getText&id=' . (int) \$id . '&token=' . \$token;"; - $help[] = "\t}"; - // return the help methods - return implode("\n",$help); - } - - protected function setExelHelperMethods() - { - if ($this->addEximport) - { - $exel = array(); - $exel[] = "\n\n\t/**"; - $exel[] = "\t * Prepares the xml document"; - $exel[] = "\t */"; - $exel[] = "\tpublic static function xls(\$rows,\$fileName = null,\$title = null,\$subjectTab = null,\$creator = '".$this->fileContentStatic['###COMPANYNAME###']."',\$description = null,\$category = null,\$keywords = null,\$modified = null)"; - $exel[] = "\t{"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set the user"; - $exel[] = "\t\t\$user = JFactory::getUser();"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set fieldname if not set"; - $exel[] = "\t\tif (!\$fileName)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$fileName = 'exported_'.JFactory::getDate()->format('jS_F_Y');"; - $exel[] = "\t\t}"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set modiefied if not set"; - $exel[] = "\t\tif (!\$modified)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$modified = \$user->name;"; - $exel[] = "\t\t}"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set title if not set"; - $exel[] = "\t\tif (!\$title)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$title = 'Book1';"; - $exel[] = "\t\t}"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set tab name if not set"; - $exel[] = "\t\tif (!\$subjectTab)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$subjectTab = 'Sheet1';"; - $exel[] = "\t\t}"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." make sure the file is loaded\t\t"; - $exel[] = "\t\tJLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers');"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Create new PHPExcel object"; - $exel[] = "\t\t\$objPHPExcel = new PHPExcel();"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Set document properties"; - $exel[] = "\t\t\$objPHPExcel->getProperties()->setCreator(\$creator)"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setCompany('".$this->fileContentStatic['###COMPANYNAME###']."')"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setLastModifiedBy(\$modified)"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setTitle(\$title)"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setSubject(\$subjectTab);"; - $exel[] = "\t\tif (!\$description)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$objPHPExcel->getProperties()->setDescription(\$description);"; - $exel[] = "\t\t}"; - $exel[] = "\t\tif (!\$keywords)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$objPHPExcel->getProperties()->setKeywords(\$keywords);"; - $exel[] = "\t\t}"; - $exel[] = "\t\tif (!\$category)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$objPHPExcel->getProperties()->setCategory(\$category);"; - $exel[] = "\t\t}"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Some styles"; - $exel[] = "\t\t\$headerStyles = array("; - $exel[] = "\t\t\t'font' => array("; - $exel[] = "\t\t\t\t'bold' => true,"; - $exel[] = "\t\t\t\t'color' => array('rgb' => '1171A3'),"; - $exel[] = "\t\t\t\t'size' => 12,"; - $exel[] = "\t\t\t\t'name' => 'Verdana'"; - $exel[] = "\t\t));"; - $exel[] = "\t\t\$sideStyles = array("; - $exel[] = "\t\t\t'font' => array("; - $exel[] = "\t\t\t\t'bold' => true,"; - $exel[] = "\t\t\t\t'color' => array('rgb' => '444444'),"; - $exel[] = "\t\t\t\t'size' => 11,"; - $exel[] = "\t\t\t\t'name' => 'Verdana'"; - $exel[] = "\t\t));"; - $exel[] = "\t\t\$normalStyles = array("; - $exel[] = "\t\t\t'font' => array("; - $exel[] = "\t\t\t\t'color' => array('rgb' => '444444'),"; - $exel[] = "\t\t\t\t'size' => 11,"; - $exel[] = "\t\t\t\t'name' => 'Verdana'"; - $exel[] = "\t\t));"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Add some data"; - $exel[] = "\t\tif (self::checkArray(\$rows))"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$i = 1;"; - $exel[] = "\t\t\tforeach (\$rows as \$array){"; - $exel[] = "\t\t\t\t\$a = 'A';"; - $exel[] = "\t\t\t\tforeach (\$array as \$value){"; - $exel[] = "\t\t\t\t\t\$objPHPExcel->setActiveSheetIndex(0)->setCellValue(\$a.\$i, \$value);"; - $exel[] = "\t\t\t\t\tif (\$i == 1){"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getColumnDimension(\$a)->setAutoSize(true);"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->applyFromArray(\$headerStyles);"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);"; - $exel[] = "\t\t\t\t\t} elseif (\$a == 'A'){"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->applyFromArray(\$sideStyles);"; - $exel[] = "\t\t\t\t\t} else {"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->applyFromArray(\$normalStyles);"; - $exel[] = "\t\t\t\t\t}"; - $exel[] = "\t\t\t\t\t\$a++;"; - $exel[] = "\t\t\t\t}"; - $exel[] = "\t\t\t\t\$i++;"; - $exel[] = "\t\t\t}"; - $exel[] = "\t\t}"; - $exel[] = "\t\telse"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\treturn false;"; - $exel[] = "\t\t}"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Rename worksheet"; - $exel[] = "\t\t\$objPHPExcel->getActiveSheet()->setTitle(\$subjectTab);"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Set active sheet index to the first sheet, so Excel opens this as the first sheet"; - $exel[] = "\t\t\$objPHPExcel->setActiveSheetIndex(0);"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Redirect output to a client's web browser (Excel5)"; - $exel[] = "\t\theader('Content-Type: application/vnd.ms-excel');"; - $exel[] = "\t\theader('Content-Disposition: attachment;filename=\"'.\$fileName.'.xls\"');"; - $exel[] = "\t\theader('Cache-Control: max-age=0');"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." If you're serving to IE 9, then the following may be needed"; - $exel[] = "\t\theader('Cache-Control: max-age=1');"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." If you're serving to IE over SSL, then the following may be needed"; - $exel[] = "\t\theader ('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past"; - $exel[] = "\t\theader ('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); // always modified"; - $exel[] = "\t\theader ('Cache-Control: cache, must-revalidate'); // HTTP/1.1"; - $exel[] = "\t\theader ('Pragma: public'); // HTTP/1.0"; - $exel[] = "\t\t"; - $exel[] = "\t\t\$objWriter = PHPExcel_IOFactory::createWriter(\$objPHPExcel, 'Excel5');"; - $exel[] = "\t\t\$objWriter->save('php://output');"; - $exel[] = "\t\tjexit();"; - $exel[] = "\t}"; - $exel[] = "\t"; - $exel[] = "\t/**"; - $exel[] = "\t* Get CSV Headers"; - $exel[] = "\t*/"; - $exel[] = "\tpublic static function getFileHeaders(\$dataType)"; - $exel[] = "\t{\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." make sure the file is loaded\t\t"; - $exel[] = "\t\tJLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers');"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." get session object"; - $exel[] = "\t\t\$session \t= JFactory::getSession();"; - $exel[] = "\t\t\$package\t= \$session->get('package', null);"; - $exel[] = "\t\t\$package\t= json_decode(\$package, true);"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set the headers"; - $exel[] = "\t\tif(isset(\$package['dir']))"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$inputFileType = PHPExcel_IOFactory::identify(\$package['dir']);"; - $exel[] = "\t\t\t\$excelReader = PHPExcel_IOFactory::createReader(\$inputFileType);"; - $exel[] = "\t\t\t\$excelReader->setReadDataOnly(true);"; - $exel[] = "\t\t\t\$excelObj = \$excelReader->load(\$package['dir']);"; - $exel[] = "\t\t\t\$headers = array();"; - $exel[] = "\t\t\tforeach (\$excelObj->getActiveSheet()->getRowIterator() as \$row)"; - $exel[] = "\t\t\t{"; - $exel[] = "\t\t\t\tif(\$row->getRowIndex() == 1)"; - $exel[] = "\t\t\t\t{"; - $exel[] = "\t\t\t\t\t\$cellIterator = \$row->getCellIterator();"; - $exel[] = "\t\t\t\t\t\$cellIterator->setIterateOnlyExistingCells(false);"; - $exel[] = "\t\t\t\t\tforeach (\$cellIterator as \$cell)"; - $exel[] = "\t\t\t\t\t{"; - $exel[] = "\t\t\t\t\t\tif (!is_null(\$cell))"; - $exel[] = "\t\t\t\t\t\t{"; - $exel[] = "\t\t\t\t\t\t\t\$headers[\$cell->getColumn()] = \$cell->getValue();"; - $exel[] = "\t\t\t\t\t\t}"; - $exel[] = "\t\t\t\t\t}"; - $exel[] = "\t\t\t\t\t\$excelObj->disconnectWorksheets();"; - $exel[] = "\t\t\t\t\tunset(\$excelObj);"; - $exel[] = "\t\t\t\t\tbreak;"; - $exel[] = "\t\t\t\t}"; - $exel[] = "\t\t\t}"; - $exel[] = "\t\t\treturn \$headers;"; - $exel[] = "\t\t}"; - $exel[] = "\t\treturn false;"; - $exel[] = "\t}"; - // return the help methods - return implode("\n",$exel); - } - return ''; - } - - protected function setCreateUserHelperMethod($add) - { - if ($add) - { - $method = array(); - $method[] = "\n\n\t/**"; - $method[] = "\t* Greate user and update given table"; - $method[] = "\t*/"; - $method[] = "\tpublic static function createUser(\$new)"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." load the user component language files if there is an error."; - $method[] = "\t\t\$lang = JFactory::getLanguage();"; - $method[] = "\t\t\$extension = 'com_users';"; - $method[] = "\t\t\$base_dir = JPATH_SITE;"; - $method[] = "\t\t\$language_tag = 'en-GB';"; - $method[] = "\t\t\$reload = true;"; - $method[] = "\t\t\$lang->load(\$extension, \$base_dir, \$language_tag, \$reload);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." load the user regestration model"; - $method[] = "\t\t\$model = self::getModel('registration', JPATH_ROOT. '/components/com_users', 'Users');"; - $method[] = "\t\t//".$this->setLine(__LINE__)." make sure no activation is needed"; - $method[] = "\t\t\$useractivation = self::setParams('com_users','useractivation',0);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." make sure password is send"; - $method[] = "\t\t\$sendpassword = self::setParams('com_users','sendpassword',1);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check if password was set"; - $method[] = "\t\tif (isset(\$new['password']) && isset(\$new['password2']) && self::checkString(\$new['password']) && self::checkString(\$new['password2']))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Use the users passwords"; - $method[] = "\t\t\t\$password = \$new['password'];"; - $method[] = "\t\t\t\$password2 = \$new['password2'];"; - $method[] = "\t\t}"; - $method[] = "\t\telse"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Set random password"; - $method[] = "\t\t\t\$password = self::randomkey(8);"; - $method[] = "\t\t\t\$password2 = \$password;"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." set username"; - $method[] = "\t\tif (isset(\$new['username']) && self::checkString(\$new['username']))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t\$new['username'] = self::safeString(\$new['username']);"; - $method[] = "\t\t}"; - $method[] = "\t\telse"; - $method[] = "\t\t{"; - $method[] = "\t\t\t\$new['username'] = self::safeString(\$new['name']);\t\t\t"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." linup new user data"; - $method[] = "\t\t\$data = array("; - $method[] = "\t\t\t'username' => \$new['username'],"; - $method[] = "\t\t\t'name' => \$new['name'],"; - $method[] = "\t\t\t'email1' => \$new['email'],"; - $method[] = "\t\t\t'password1' => \$password, // First password field"; - $method[] = "\t\t\t'password2' => \$password2, // Confirm password field"; - $method[] = "\t\t\t'block' => 0 );"; - $method[] = "\t\t//".$this->setLine(__LINE__)." register the new user"; - $method[] = "\t\t\$userId = \$model->register(\$data);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." set activation back to default"; - $method[] = "\t\tself::setParams('com_users','useractivation',\$useractivation);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." set send password back to default"; - $method[] = "\t\tself::setParams('com_users','sendpassword',\$sendpassword);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." if user is created"; - $method[] = "\t\tif (\$userId > 0)"; - $method[] = "\t\t{"; - $method[] = "\t\t\treturn \$userId;"; - $method[] = "\t\t}"; - $method[] = "\t\treturn \$model->getError();"; - $method[] = "\t}"; - - $method[] = "\n\tprotected static function setParams(\$component,\$target,\$value)"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Get the params and set the new values"; - $method[] = "\t\t\$params = JComponentHelper::getParams(\$component);"; - $method[] = "\t\t\$was = \$params->get(\$target, null);"; - $method[] = "\t\tif (\$was != \$value)"; - $method[] = "\t\t{"; - $method[] = "\t\t\t\$params->set(\$target, \$value);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get a new database query instance"; - $method[] = "\t\t\t\$db = JFactory::getDBO();"; - $method[] = "\t\t\t\$query = \$db->getQuery(true);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Build the query"; - $method[] = "\t\t\t\$query->update('#__extensions AS a');"; - $method[] = "\t\t\t\$query->set('a.params = ' . \$db->quote((string)\$params));"; - $method[] = "\t\t\t\$query->where('a.element = ' . \$db->quote((string)\$component));"; - $method[] = "\t\t\t"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Execute the query"; - $method[] = "\t\t\t\$db->setQuery(\$query);"; - $method[] = "\t\t\t\$db->query();"; - $method[] = "\t\t}"; - $method[] = "\t\treturn \$was;"; - $method[] = "\t}"; - - // return the help method - return implode("\n",$method); - } - return ''; - } - - protected function setCustomViewMenu($view) - { - $xml = ''; - // build the file - $target = array('site' => $view['settings']->code); - $done = $this->buildDynamique($target,'menu'); - if ($done) - { - // set the lang - $lang = ComponentbuilderHelper::safeString('com_'.$this->fileContentStatic['###component###'].'_menu_'.$view['settings']->code, 'U'); - $this->langContent['adminsys'][$lang.'_TITLE'] = $view['settings']->name; - $this->langContent['adminsys'][$lang.'_OPTION'] = $view['settings']->name; - $this->langContent['adminsys'][$lang.'_DESC'] = $view['settings']->description; - //start loading xml - $xml = '<?xml version="1.0" encoding="utf-8" ?>'; - $xml .= "\n".'<metadata>'; - $xml .= "\n\t".'<layout title="'.$lang.'_TITLE" option="'.$lang.'_OPTION">'; - $xml .= "\n\t\t".'<message>'; - $xml .= "\n\t\t\t".'<![CDATA['.$lang.'_DESC]]>'; - $xml .= "\n\t\t".'</message>'; - $xml .= "\n\t".'</layout>'; - if (isset($this->hasIdRequest[$view['settings']->code])) - { - $requestField = str_replace($view['settings']->code.'_request_id', 'id', $this->hasIdRequest[$view['settings']->code]); - - $xml .= "\n\t".'<!--'.$this->setLine(__LINE__).' Add fields to the request variables for the layout. -->'; - $xml .= "\n\t".'<fields name="request">'; - $xml .= "\n\t\t".'<fieldset name="request"'; - $xml .= "\n\t\t\t".'addfieldpath="/administrator/components/com_'.$this->fileContentStatic['###component###'].'/models/fields">'; - $xml .= "\n\t\t\t".$requestField; - $xml .= "\n\t\t".'</fieldset>'; - $xml .= "\n\t".'</fields>'; - } - if (isset($this->frontEndParams) && isset($this->frontEndParams[$view['settings']->name])) - { - // first we must setup the fields for the page use - $params = $this->setupFrontendParamFields($this->frontEndParams[$view['settings']->name],$view['settings']->code); - // now load the fields - if (ComponentbuilderHelper::checkArray($params)) - { - $xml .= "\n\t".'<!--'.$this->setLine(__LINE__).' Adding page parameters -->'; - $xml .= "\n\t".'<fields name="params">'; - $xml .= "\n\t\t".'<fieldset name="basic" label="COM_'.$this->fileContentStatic['###COMPONENT###'].'">'; - $xml .= implode("\t\t\t",$params); - $xml .= "\n\t\t".'</fieldset>'; - $xml .= "\n\t".'</fields>'; - } - } - $xml .= "\n".'</metadata>'; - } - return $xml; - } - - protected function setupFrontendParamFields($params,$view) - { - $keep = array(); - $menuSetter = $view.'_menu'; - foreach ($params as $field) - { - // we load fields that have options - if (strpos($field,'Option Set. -->') !== false && strpos($field,$menuSetter) === false) - { - // we add the global option - $field = str_replace('Option Set. -->', $this->setLine(__LINE__).' Global & Option Set. -->'."\n\t\t\t".'<option value="">'."\n\t\t\t\t".'JGLOBAL_USE_GLOBAL</option>', $field); - // update the default to be global - $field = preg_replace('/default=".+"/', 'default=""', $field); - // update the default to be filter - $field = preg_replace('/filter=".+"/', 'filter="string"', $field); - // update required - $field = str_replace('required="true"', 'required="false"', $field); - // add to keeper array - $keep[] = $field; - } - else - { - // TODO add convetion to filter fields that we should not load - $keep[] = $field; - } - } - return $keep; - } - - protected function setCustomViewQuery(&$gets,&$code,$tab = '',$type = 'main') - { - $query = ''; - if (ComponentbuilderHelper::checkArray($gets)) - { - $mainAsArray = array(); - $check = 'zzz'; - foreach ($gets as $nr => $the_get) - { - // to insure that there be no double entries of a call - $checker = md5(serialize($the_get).$code); - if (!isset($this->customViewQueryChecker[$this->target]) || !in_array($checker,$this->customViewQueryChecker[$this->target])) - { - // load this unuiqe key - $this->customViewQueryChecker[$this->target][] = $checker; - if (ComponentbuilderHelper::checkString($the_get['selection']['type'])) - { - $getItem = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get from ".$the_get['selection']['table']." as ".$the_get['as']; - } - else - { - $getItem = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get data"; - } - // set the selection - $getItem .= "\n\t".$tab."\t".$the_get['selection']['select']; - if (($nr == 0 && (!isset($the_get['join_field']) || !ComponentbuilderHelper::checkString($the_get['join_field'])) && (isset($the_get['selection']['type']) && ComponentbuilderHelper::checkString($the_get['selection']['type']))) || - ($type == 'custom' && (isset($the_get['selection']['type']) && ComponentbuilderHelper::checkString($the_get['selection']['type'])))) - { - $getItem .= "\n\t".$tab."\t".'$query->from('.$the_get['selection']['from'].');'; - } - elseif (isset($the_get['join_field']) && ComponentbuilderHelper::checkString($the_get['join_field']) && isset($the_get['selection']['type']) && ComponentbuilderHelper::checkString($the_get['selection']['type'])) - { - $getItem .= "\n\t".$tab."\t\$query->join('".$the_get['type']; - $getItem .= "', (".$the_get['selection']['from']; - $getItem .= ") . ' ON (' . \$db->quoteName('".$the_get['on_field']; - $getItem .= "') . ' ".$the_get['operator']; - $getItem .= " ' . \$db->quoteName('".$the_get['join_field']."') . ')');"; - - $check = current(explode(".", $the_get['on_field'])); - } - - // set the method defaults - $default = $this->setCustomViewMethodDefaults($the_get,$code); - if (isset($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]) && ComponentbuilderHelper::checkString($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]) && !in_array($check,$mainAsArray)) - { - // load to other query - if (!isset($this->otherQuery[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']])) - { - $this->otherQuery[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] = ''; - } - $this->otherQuery[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] .= $getItem; - } - else - { - $mainAsArray[] = $default['as']; - $query .= $getItem; - } - } - } - } - return $query; - } - - protected function setCustomViewFieldDecodeFilter(&$get,&$filters,$string,$removeString,$code,$tab) - { - $filter = ''; - // check if filter is set for this field - if (ComponentbuilderHelper::checkArray($filters)) - { - foreach ($filters as $field => $ter) - { - if (strpos($get['selection']['select'], $ter['table_key']) !== false) - { - $as = ''; - $felt = ''; - list($as,$felt) = array_map('trim', explode('.',$ter['table_key'])); - if ($get['as'] == $as) - { - switch ($ter['filter_type']) - { - case 4: - // COM_COMPONENTBUILDER_DYNAMIC_GET_USER_GROUPS - $filter .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." filter ".$as." based on user groups"; - $filter .= "\n\t".$tab."\t\$remove = (count(array_intersect((array) \$this->groups, (array) ".$string."->".$field."))) ? false : true;"; - $filter .= "\n\t".$tab."\tif (\$remove)"; - $filter .= "\n\t".$tab."\t{"; - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Remove ".$string." if user not in groups"; - $filter .= "\n\t".$tab."\t\t".$string." = null;"; - $filter .= "\n\t".$tab."\t\treturn false;"; - } - else - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Unset ".$string." if user not in groups"; - $filter .= "\n\t".$tab."\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\tcontinue;"; - } - $filter .= "\n\t".$tab."\t}"; - break; - case 9: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ARRAY_VALUE - - $filter .= "\n\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(".$string."->".$field."))"; - $filter .= "\n\t".$tab."\t{"; - - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." do your thing here"; - - $filter .= "\n\t".$tab."\t}"; - $filter .= "\n\t".$tab."\telse"; - $filter .= "\n\t".$tab."\t{"; - - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Remove ".$string." if not array."; - $filter .= "\n\t".$tab."\t\t".$string." = null;"; - } - else - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Unset ".$string." if not array."; - $filter .= "\n\t".$tab."\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\tcontinue;"; - } - - $filter .= "\n\t".$tab."\t}"; - break; - case 10: - // COM_COMPONENTBUILDER_DYNAMIC_GET_REPEATABLE_VALUE - $filter .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." filter ".$as." based on repeatable value"; - $filter .= "\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(".$string."->".$field."))"; - $filter .= "\n\t".$tab."\t{"; - - $filter .= "\n\t\t".$tab."\t\$array = json_decode(".$string."->".$field.",true);"; - $filter .= "\n\t\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array))"; - $filter .= "\n\t\t".$tab."\t{"; - - $filter .= "\n\t\t".$tab."\t\t//".$this->setLine(__LINE__)." do your thing here"; - - $filter .= "\n\t\t".$tab."\t}"; - $filter .= "\n\t".$tab."\t\telse"; - $filter .= "\n\t".$tab."\t\t{"; - - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." Remove ".$string." if not array."; - $filter .= "\n\t".$tab."\t\t\t".$string." = null;"; - } - else - { - $filter .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." Unset ".$string." if not array."; - $filter .= "\n\t".$tab."\t\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\t\tcontinue;"; - } - - $filter .= "\n\t".$tab."\t\t}"; - - $filter .= "\n\t".$tab."\t}"; - $filter .= "\n\t".$tab."\telse"; - $filter .= "\n\t".$tab."\t{"; - - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Remove ".$string." if not string."; - $filter .= "\n\t".$tab."\t\t".$string." = null;"; - } - else - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Unset ".$string." if not string."; - $filter .= "\n\t".$tab."\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\tcontinue;"; - } - - $filter .= "\n\t".$tab."\t}"; - break; - } - } - } - } - } - return $filter; - } - - protected function setCustomViewFieldDecode(&$get,$checker,$string,$code,$tab = '') - { - $fieldDecode = ''; - foreach ($checker as $field => $array) - { - if (strpos($get['selection']['select'], $field) !== false) - { - if ($array['decode'] == 'json') - { - $if = "\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(".$string."->".$field."))\n\t".$tab."\t{"; - // json_decode - $decoder = $string."->".$field." = json_decode(".$string."->".$field.", true);"; - // TODO Use the type of field to prepare it even more for use in the view - } - elseif ($array['decode'] == 'base64') - { - $if = "\n\t".$tab."\tif (!empty(".$string."->".$field.") && ".$string."->".$field." === base64_encode(base64_decode(".$string."->".$field.")))\n\t".$tab."\t{"; - // base64_decode - $decoder = $string."->".$field." = base64_decode(".$string."->".$field.");"; - // TODO Use the type of field to prepare it even more for use in the view - } - elseif ($array['decode'] == 'basic_encryption') - { - $if = "\n\t".$tab."\tif (!empty(".$string."->".$field.") && \$basickey && !is_numeric(".$string."->".$field.") && ".$string."->".$field." === base64_encode(base64_decode(".$string."->".$field.", true)))\n\t".$tab."\t{"; - // basic decryption - $decoder = $string."->".$field." = rtrim(\$basic->decryptString(".$string."->".$field."), ".'"\0"'.");"; - $this->siteDecrypt['basic'][$code] = true; - } - elseif ($array['decode'] == 'advance_encryption') - { - $if = "\n\t".$tab."\tif (!empty(".$string."->".$field.") && \$advancedkey && !is_numeric(".$string."->".$field.") && ".$string."->".$field." === base64_encode(base64_decode(".$string."->".$field.", true)))\n\t".$tab."\t{"; - // advanced decryption - $decoder = $string."->".$field." = rtrim(\$advanced->decryptString(".$string."->".$field."), ".'"\0"'.");"; - $this->siteDecrypt['advanced'][$code] = true; - } - - // build decoder string - $fieldDecode .= $if."\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Decode ".$field; - $fieldDecode .= "\n\t".$tab."\t\t".$decoder."\n\t".$tab."\t}"; - } - } - return $fieldDecode; - } - - protected function setCustomViewFieldUikitChecker(&$get,$checker,$string,$code,$tab = '') - { - $fieldUikit = ''; - foreach ($checker as $field => $array) - { - if (strpos($get['selection']['select'], $field) !== false) - { - // build decoder string - $fieldUikit .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Make sure the content prepare plugins fire on ".$field."."; - $fieldUikit .= "\n\t".$tab."\t".$string."->".$field." = JHtml::_('content.prepare',".$string."->".$field.");"; - $fieldUikit .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Checking if ".$field." has uikit components that must be loaded."; - $fieldUikit .= "\n\t".$tab."\t\$this->uikitComp = ".$this->fileContentStatic['###Component###']."Helper::getUikitComp(".$string."->".$field.",\$this->uikitComp);"; - } - } - return $fieldUikit; - } - - protected function setCustomViewCustomJoin(&$gets,$string,$code,&$asBucket,$tab = '') - { - if (ComponentbuilderHelper::checkArray($gets)) - { - $customJoin = ''; - foreach ($gets as $get) - { - // set the value name $default - $default = $this->setCustomViewMethodDefaults($get,$code); - if ($this->checkJoint($default,$get,$asBucket)) - { - // build custom join string - $otherJoin = "\n\t###TAB###\t//".$this->setLine(__LINE__)." set ".$default['valueName']." to the ###STRING### object."; - $otherJoin .= "\n\t###TAB###\t###STRING###->".$default['valueName']." = \$this->get".$default['methodName']."(###STRING###->".$this->getAsLookup[$get['key']][$get['on_field']].");"; - // load to other join - if (!isset($this->otherJoin[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']])) - { - $this->otherJoin[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] = ''; - } - $this->otherJoin[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] .= $otherJoin; - } - else - { - // build custom join string - $customJoin .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." set ".$default['valueName']." to the ".$string." object."; - $customJoin .= "\n\t".$tab."\t".$string."->".$default['valueName']." = \$this->get".$default['methodName']."(".$string."->".$this->getAsLookup[$get['key']][$get['on_field']].");"; - } - } - return $customJoin; - } - return ''; - } - - protected function checkJoint(&$default,&$get,&$asBucket) - { - // check if this function is not linked to the main call - list($aJoin) = explode('.',$get['on_field']); - if (ComponentbuilderHelper::checkArray($asBucket) && in_array($aJoin,$asBucket)) - { - return false; - } - // default fallback - elseif (isset($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]) && ComponentbuilderHelper::checkString($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']])) - { - return true; - } - return false; - } - - protected function setCustomViewFilter(&$filter,&$code,$tab = '') - { - $filters = ''; - if (ComponentbuilderHelper::checkArray($filter)) - { - foreach ($filter as $ter) - { - $as = ''; - $field = ''; - $string = ''; - if (strpos($ter['table_key'],'.') !== false) - { - list($as,$field) = array_map('trim', explode('.',$ter['table_key'])); - } - switch ($ter['filter_type']) - { - case 1: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ID - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . (int) \$pk);"; - break; - case 2: - // COM_COMPONENTBUILDER_DYNAMIC_GET_USER - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . (int) \$this->userId);"; - break; - case 3: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ACCESS_LEVEL - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " (' . implode(',', \$this->levels) . ')');"; - break; - case 4: - // COM_COMPONENTBUILDER_DYNAMIC_GET_USER_GROUPS - $decodeChecker = $this->siteFieldData['decode'][$code][$ter['key']][$as][$field]; - if (ComponentbuilderHelper::checkArray($decodeChecker) || $ter['state_key'] == 'array') - { - // set needed fields to filter after query - $this->siteFieldDecodeFilter[$this->target][$code][$ter['key']][$as][$field] = $ter; - } - else - { - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " (' . implode(',', \$this->groups) . ')');"; - } - break; - case 5: - // COM_COMPONENTBUILDER_DYNAMIC_GET_CATEGORIES - $string = ""; - break; - case 6: - // COM_COMPONENTBUILDER_DYNAMIC_GET_TAGS - $string = ""; - break; - case 7: - // COM_COMPONENTBUILDER_DYNAMIC_GET_DATE - $string = ""; - break; - case 8: - // COM_COMPONENTBUILDER_DYNAMIC_GET_FUNCTIONVAR - if ($ter['operator'] == 'IN' || $ter['operator'] == 'NOT IN') - { - $string = "\n\t\t".$tab."//".$this->setLine(__LINE__)." Check if " . $ter['state_key'] . " is an array with values."; - $string .= "\n\t\t".$tab."\$array = " . $ter['state_key'].";"; - $string .= "\n\t\t".$tab."if (isset(\$array) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array))"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " (' . implode(',', \$array) . ')');"; - $string .= "\n\t\t".$tab."}"; - $string .= "\n\t\t".$tab."else"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\treturn false;"; - $string .= "\n\t\t".$tab."}"; - } - else - { - $string = "\n\t\t".$tab."//".$this->setLine(__LINE__)." Check if " . $ter['state_key'] . " is a string or numeric value."; - $string .= "\n\t\t".$tab."\$checkValue = " . $ter['state_key'].";"; - $string .= "\n\t\t".$tab."if (isset(\$checkValue) && ".$this->fileContentStatic['###Component###']."Helper::checkString(\$checkValue))"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . \$db->quote(\$checkValue));"; - $string .= "\n\t\t".$tab."}"; - $string .= "\n\t\t".$tab."elseif (is_numeric(\$checkValue))"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . \$checkValue);"; - $string .= "\n\t\t".$tab."}"; - $string .= "\n\t\t".$tab."else"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\treturn false;"; - $string .= "\n\t\t".$tab."}"; - } - break; - case 9: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ARRAY_VALUE - $string = ""; - // set needed fields to filter after query - $this->siteFieldDecodeFilter[$this->target][$code][$ter['key']][$as][$field] = $ter; - break; - case 10: - // COM_COMPONENTBUILDER_DYNAMIC_GET_REPEATABLE_VALUE - $string = ""; - // set needed fields to filter after query - $this->siteFieldDecodeFilter[$this->target][$code][$ter['key']][$as][$field] = $ter; - break; - case 11: - // COM_COMPONENTBUILDER_DYNAMIC_GET_OTHER - if (strpos($as,'(') !== false) - { - // TODO (for now we only fix extra sql methods here) - list($dump,$as) = array_map('trim', explode('(',$as)); - $field = trim(str_replace(')', '', $field)); - } - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ". $ter['state_key']."');"; - break; - } - // only add if the filter is set - if (ComponentbuilderHelper::checkString($string)) - { - // sort where - if ($as == 'a' || (isset($this->siteMainGet[$this->target][$code][$as]) && ComponentbuilderHelper::checkString($this->siteMainGet[$this->target][$code][$as]))) - { - $filters .= $string; - } - elseif($as != 'a') - { - $this->otherFilter[$this->target][$code][$as][$field] = $string; - } - } - } - } - return $filters; - } - - protected function setCustomViewOrder(&$order,&$code,$tab = '') - { - $ordering = ''; - if (ComponentbuilderHelper::checkArray($order)) - { - foreach ($order as $or) - { - list($as,$field) = array_map('trim', explode('.',$or['table_key'])); - - // set the string - $string = "\$query->order('".$or['table_key']." ".$or['direction']."');"; - // sort where - if ($as == 'a' || (isset($this->siteMainGet[$this->target][$code][$as]) && ComponentbuilderHelper::checkString($this->siteMainGet[$this->target][$code][$as]))) - { - $ordering .= "\n\t".$tab."\t".$string; - } - else - { - $this->otherOrder[$this->target][$code][$as][$field] = "\n\t\t".$string; - } - } - } - return $ordering; - } - - protected function setCustomViewWhere(&$where,&$code,$tab = '') - { - $wheres = ''; - if (ComponentbuilderHelper::checkArray($where)) - { - foreach ($where as $whe) - { - $as = ''; - $field = ''; - $value = ''; - list($as,$field) = array_map('trim', explode('.',$whe['table_key'])); - if (is_numeric($whe['value_key'])) - { - $value = " ".$whe['value_key']."');"; - - } - elseif (strpos($whe['value_key'],'$this->') !== false) - { - if ($whe['operator'] == 'IN' || $whe['operator'] == 'NOT IN') - { - $value = " (' . implode(',', " . $whe['value_key'] . ") . ')');"; - } - else - { - $value = " ' . \$db->quote(".$whe['value_key']."));"; - } - } - elseif (strpos($whe['value_key'],'.') !== false) - { - $value = " ".$whe['value_key']."');"; - } - // only load if there is a value - if (ComponentbuilderHelper::checkString($value)) - { - // set the string - if ($whe['operator'] == 'IN' || $whe['operator'] == 'NOT IN') - { - $tabe = ''; - if ($as == 'a') - { - $tabe = $tab; - } - $string = "if (isset(" . $whe['value_key']. ") && ".$this->fileContentStatic['###Component###']."Helper::checkArray(" . $whe['value_key']. "))"; - $string .= "\n\t".$tabe."\t{"; - $string .= "\n\t".$tabe."\t\t\$query->where('".$whe['table_key']." ".$whe['operator'].$value; - $string .= "\n\t".$tabe."\t}"; - $string .= "\n\t".$tabe."\telse"; - $string .= "\n\t".$tabe."\t{"; - $string .= "\n\t".$tabe."\t\treturn false;"; - $string .= "\n\t".$tabe."\t}"; - - } - else - { - $string = "\$query->where('".$whe['table_key']." ".$whe['operator'].$value; - } - // sort where - if ($as == 'a' || (isset($this->siteMainGet[$this->target][$code][$as]) && ComponentbuilderHelper::checkString($this->siteMainGet[$this->target][$code][$as]))) - { - $wheres .= "\n\t".$tab."\t".$string; - } - elseif ($as != 'a') - { - $this->otherWhere[$this->target][$code][$as][$field] = "\n\t\t".$string; - } - } - } - } - return $wheres; - } - - protected function setCustomViewGlobals(&$global,$string,$as,$tab = '') - { - $globals = ''; - if (ComponentbuilderHelper::checkArray($global)) - { - $as = array_unique($as); - foreach ($global as $glo) - { - if (in_array($glo['as'],$as)) - { - switch ($glo['type']) - { - case 1: - // SET STATE - $value = "\$this->setState('" . $glo['as'] . "." . $glo['name'] . "', " . $string . "->" . $glo['key'] . ");"; - break; - case 2: - // SET THIS - $value = "\$this->" . $glo['as'] . "_" . $glo['name'] . " = " . $string . "->" . $glo['key'] . ";"; - break; - } - // only add if the filter is set - if (ComponentbuilderHelper::checkString($value)) - { - $globals .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." set the global " . $glo['name'] . " value.\n\t".$tab."\t".$value; - } - } - } - } - return $globals; - } - - protected function removeAsDot($string,$type = '') - { - if (strpos($string,'.') !== false) - { - list($dump,$field) = array_map('trim', explode('.',$string)); - } - else - { - $field = $string; - } - return $field; - } - - protected function setCustomViewGetItem(&$get,&$code,$tab = '',$type = 'main') - { - if (ComponentbuilderHelper::checkObject($get)) - { - $this->siteDecrypt['basic'][$code] = false; - $this->siteDecrypt['advanced'][$code] = false; - - $getItem = "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get a db connection."; - $getItem .= "\n\t".$tab."\t\$db = JFactory::getDbo();"; - $getItem .= "\n\n".$tab."\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $getItem .= "\n\t".$tab."\t\$query = \$db->getQuery(true);"; - // set main get query - $getItem .= $this->setCustomViewQuery($get->main_get,$code,$tab); - // setup filters - $getItem .= $this->setCustomViewFilter($get->filter,$code,$tab); - // setup Where - $getItem .= $this->setCustomViewWhere($get->where,$code,$tab); - // setup ordering - $getItem .= $this->setCustomViewOrder($get->order,$code,$tab); - // get ready to get query - $getItem .= "\n\n".$tab."\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $getItem .= "\n\t".$tab."\t\$db->setQuery(\$query);"; - $getItem .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Load the results as a stdClass object."; - $getItem .= "\n\t".$tab."\t\$data = \$db->loadObject();"; - $getItem .= "\n\n".$tab."\t\tif (empty(\$data))"; - $getItem .= "\n\t".$tab."\t{"; - if ($type == 'main') - { - $langKeyWord = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Not found or access denied','U'); - if (!isset($this->langContent[$this->lang][$langKeyWord])) - { - $this->langContent[$this->lang][$langKeyWord] = 'Not found, or access denied.'; - } - $getItem .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." If no data is found redirect to default page and show warning."; - $getItem .= "\n\t".$tab."\t\tJError::raiseWarning(500, JText::_('".$langKeyWord."'));"; - if ('site' == $this->target) - { - $getItem .= "\n\t".$tab."\t\tJFactory::getApplication()->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$this->fileContentStatic['###SITE_DEFAULT_VIEW###']."');"; - } - else - { - $getItem .= "\n\t".$tab."\t\tJFactory::getApplication()->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."');"; - } - $getItem .= "\n\t".$tab."\t\treturn false;"; - } - else - { - $getItem .= "\n\t".$tab."\t\treturn false;"; - } - $getItem .= "\n\t".$tab."\t}"; - if (ComponentbuilderHelper::checkArray($get->main_get)) - { - $asBucket = array(); - foreach ($get->main_get as $main_get) - { - if (isset($this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']])) - { - $decodeChecker = $this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeChecker)) - { - // set decoding of needed fields - $getItem .= $this->setCustomViewFieldDecode($main_get,$decodeChecker,'$data',$code,$tab); - } - } - - if (isset ($this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']])) - { - $decodeFilter = $this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeFilter)) - { - // also filter fields if needed - $getItem .= $this->setCustomViewFieldDecodeFilter($main_get,$decodeFilter,'$data','$data',$code,$tab); - } - } - - if (isset($this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']])) - { - $uikitChecker = $this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($uikitChecker)) - { - // set uikit checkers on needed fields - $getItem .= $this->setCustomViewFieldUikitChecker($main_get,$uikitChecker,'$data',$code,$tab); - } - } - $asBucket[] = $main_get['as']; - } - } - - if ((isset($this->siteDecrypt['basic'][$code]) && $this->siteDecrypt['basic'][$code]) || (isset($this->siteDecrypt['advanced'][$code]) && $this->siteDecrypt['advanced'][$code])) - { - $Component = $this->fileContentStatic['###Component###']; - $script = ''; - if (isset($this->siteDecrypt['basic'][$code]) && $this->siteDecrypt['basic'][$code]) - { - $script .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t".$tab."\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - } - if (isset($this->siteDecrypt['advanced'][$code]) && $this->siteDecrypt['advanced'][$code]) - { - $script .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the advanced encription."; - $script .= "\n\t".$tab."\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - } - $getItem = $script . $getItem; - } - // setup Globals - $getItem .= $this->setCustomViewGlobals($get->global,'$data',$asBucket,$tab); - // setup the custom gets that returns multipal values - $getItem .= $this->setCustomViewCustomJoin($get->custom_get,'$data',$code,$asBucket,$tab); - // set calculations - if ($get->addcalculation == 1) - { - $get->php_calculation = (array) explode("\n",$get->php_calculation); - $getItem .= "\n\t".$tab."\t".implode("\n\t".$tab."\t",$get->php_calculation); - } - if ($type == 'custom') - { - // return the object - $getItem .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." return data object."; - $getItem .= "\n\t".$tab."\treturn \$data;"; - } - else - { - // set the object - $getItem .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set data object to item."; - $getItem .= "\n\t".$tab."\t\$this->_item[\$pk] = \$data;"; - } - return $getItem; - } - return "\n\t".$tab."\t//".$this->setLine(__LINE__)."add your custom code here."; - } - - protected function setCustomViewCustomMethods($main_view,$code) - { - $methods = ''; - // then set the needed custom methods - if (ComponentbuilderHelper::checkArray($main_view['settings']->custom_get)) - { - // start dynamic build - foreach ($main_view['settings']->custom_get as $view) - { - // fix alias to use in code - $view->code = ComponentbuilderHelper::safeString($code); - $view->Code = ComponentbuilderHelper::safeString($view->code, 'F'); - $view->CODE = ComponentbuilderHelper::safeString($view->code, 'U'); - $main = ''; - if ($view->gettype == 3) - { - // ###SITE_GET_ITEM### <<<DYNAMIC>>> - $main .= "\n\n\t\tif (!isset(\$this->initSet) || !\$this->initSet)"; - $main .= "\n\t\t{"; - $main .= "\n\t\t\t\$this->user\t\t= JFactory::getUser();"; - $main .= "\n\t\t\t\$this->userId\t\t= \$this->user->get('id');"; - $main .= "\n\t\t\t\$this->guest\t\t= \$this->user->get('guest');"; - $main .= "\n\t\t\t\$this->groups\t\t= \$this->user->get('groups');"; - $main .= "\n\t\t\t\$this->authorisedGroups\t= \$this->user->getAuthorisedGroups();"; - $main .= "\n\t\t\t\$this->levels\t\t= \$this->user->getAuthorisedViewLevels();"; - $main .= "\n\t\t\t\$this->initSet\t\t= true;"; - $main .= "\n\t\t}"; - $main .= $this->setCustomViewGetItem($view, $view->code,'','custom'); - $type = 'mixed item data object on success, false on failure.'; - } - elseif ($view->gettype == 4) - { - $main .= "\n\n\t\tif (!isset(\$this->initSet) || !\$this->initSet)"; - $main .= "\n\t\t{"; - $main .= "\n\t\t\t\$this->user\t\t= JFactory::getUser();"; - $main .= "\n\t\t\t\$this->userId\t\t= \$this->user->get('id');"; - $main .= "\n\t\t\t\$this->guest\t\t= \$this->user->get('guest');"; - $main .= "\n\t\t\t\$this->groups\t\t= \$this->user->get('groups');"; - $main .= "\n\t\t\t\$this->authorisedGroups\t= \$this->user->getAuthorisedGroups();"; - $main .= "\n\t\t\t\$this->levels\t\t= \$this->user->getAuthorisedViewLevels();"; - $main .= "\n\t\t\t\$this->initSet\t\t= true;"; - $main .= "\n\t\t}"; - $main .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the global params"; - $main .= "\n\t\t\$globalParams = JComponentHelper::getParams('com_".$this->fileContentStatic['###component###']."', true);"; - // ###SITE_GET_LIST_QUERY### <<<DYNAMIC>>> - $main .= $this->setCustomViewListQuery($view, $view->code, false); - // load the object list - $main .= "\n\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $main .= "\n\t\t\$db->setQuery(\$query);"; - $main .= "\n\t\t\$items = \$db->loadObjectList();"; - $main .= "\n\n\t\tif (empty(\$items))"; - $main .= "\n\t\t{"; - $main .= "\n\t\t\treturn false;"; - $main .= "\n\t\t}"; - // ###SITE_GET_ITEMS### <<<DYNAMIC>>> - $main .= $this->setCustomViewGetItems($view,$view->code); - $main .= "\n\t\t//".$this->setLine(__LINE__)." return items"; - $main .= "\n\t\treturn \$items;"; - $type = 'mixed An array of objects on success, false on failure.'; - } - // load the main mehtod - $methods .= $this->setMainCustomMehtod($main,$view->getcustom,$type); - // ###SITE_CUSTOM_METHODS### <<<DYNAMIC>>> - $methods .= $this->setCustomViewCustomItemMethods($view, $view->code); - } - } - // load uikit get method - $methods .= $this->setUikitGetMethod(); - - return $methods; - } - - protected function setUikitHelperMethods() - { - if ($this->uikit) - { - // build uikit get method - $ukit = array(); - $ukit[] = "\n\n\t/**"; - $ukit[] = "\t* \tUIKIT Component Classes"; - $ukit[] = "\t**/"; - $ukit[] = "\tpublic static \$uk_components = array("; - $ukit[] = "\t\t\t'data-uk-grid' => array("; - $ukit[] = "\t\t\t\t'grid' ),"; - $ukit[] = "\t\t\t'uk-accordion' => array("; - $ukit[] = "\t\t\t\t'accordion' ),"; - $ukit[] = "\t\t\t'uk-autocomplete' => array("; - $ukit[] = "\t\t\t\t'autocomplete' ),"; - $ukit[] = "\t\t\t'data-uk-datepicker' => array("; - $ukit[] = "\t\t\t\t'datepicker' ),"; - $ukit[] = "\t\t\t'uk-form-password' => array("; - $ukit[] = "\t\t\t\t'form-password' ),"; - $ukit[] = "\t\t\t'uk-form-select' => array("; - $ukit[] = "\t\t\t\t'form-select' ),"; - $ukit[] = "\t\t\t'data-uk-htmleditor' => array("; - $ukit[] = "\t\t\t\t'htmleditor' ),"; - $ukit[] = "\t\t\t'data-uk-lightbox' => array("; - $ukit[] = "\t\t\t\t'lightbox' ),"; - $ukit[] = "\t\t\t'uk-nestable' => array("; - $ukit[] = "\t\t\t\t'nestable' ),"; - $ukit[] = "\t\t\t'UIkit.notify' => array("; - $ukit[] = "\t\t\t\t'notify' ),"; - $ukit[] = "\t\t\t'data-uk-parallax' => array("; - $ukit[] = "\t\t\t\t'parallax' ),"; - $ukit[] = "\t\t\t'uk-search' => array("; - $ukit[] = "\t\t\t\t'search' ),"; - $ukit[] = "\t\t\t'uk-slider' => array("; - $ukit[] = "\t\t\t\t'slider' ),"; - $ukit[] = "\t\t\t'uk-slideset' => array("; - $ukit[] = "\t\t\t\t'slideset' ),"; - $ukit[] = "\t\t\t'uk-slideshow' => array("; - $ukit[] = "\t\t\t\t'slideshow',"; - $ukit[] = "\t\t\t\t'slideshow-fx' ),"; - $ukit[] = "\t\t\t'uk-sortable' => array("; - $ukit[] = "\t\t\t\t'sortable' ),"; - $ukit[] = "\t\t\t'data-uk-sticky' => array("; - $ukit[] = "\t\t\t\t'sticky' ),"; - $ukit[] = "\t\t\t'data-uk-timepicker' => array("; - $ukit[] = "\t\t\t\t'timepicker' ),"; - $ukit[] = "\t\t\t'data-uk-tooltip' => array("; - $ukit[] = "\t\t\t\t'tooltip' ),"; - $ukit[] = "\t\t\t'uk-placeholder' => array("; - $ukit[] = "\t\t\t\t'placeholder' ),"; - $ukit[] = "\t\t\t'uk-dotnav' => array("; - $ukit[] = "\t\t\t\t'dotnav' ),"; - $ukit[] = "\t\t\t'uk-slidenav' => array("; - $ukit[] = "\t\t\t\t'slidenav' ),"; - $ukit[] = "\t\t\t'uk-form' => array("; - $ukit[] = "\t\t\t\t'form-advanced' ),"; - $ukit[] = "\t\t\t'uk-progress' => array("; - $ukit[] = "\t\t\t\t'progress' ),"; - $ukit[] = "\t\t\t'upload-drop' => array("; - $ukit[] = "\t\t\t\t'upload', 'form-file' )"; - $ukit[] = "\t\t\t);"; - $ukit[] = "\t"; - $ukit[] = "\t/**"; - $ukit[] = "\t* \tAdd UIKIT Components"; - $ukit[] = "\t**/"; - $ukit[] = "\tpublic static \$uikit = false;"; - $ukit[] = ""; - $ukit[] = "\t/**"; - $ukit[] = "\t* \tGet UIKIT Components"; - $ukit[] = "\t**/"; - $ukit[] = "\tpublic static function getUikitComp(\$content,\$classes = array())"; - $ukit[] = "\t{"; - $ukit[] = "\t\tif (strpos(\$content,'class=\"uk-') !== false)"; - $ukit[] = "\t\t{"; - $ukit[] = "\t\t\t//".$this->setLine(__LINE__)." reset"; - $ukit[] = "\t\t\t\$temp = array();"; - $ukit[] = "\t\t\tforeach (self::\$uk_components as \$looking => \$add)"; - $ukit[] = "\t\t\t{"; - $ukit[] = "\t\t\t\tif (strpos(\$content,\$looking) !== false)"; - $ukit[] = "\t\t\t\t{"; - $ukit[] = "\t\t\t\t\t\$temp[] = \$looking;"; - $ukit[] = "\t\t\t\t}"; - $ukit[] = "\t\t\t}"; - $ukit[] = "\t\t\t//".$this->setLine(__LINE__)." make sure uikit is loaded to config"; - $ukit[] = "\t\t\tif (strpos(\$content,'class=\"uk-') !== false)"; - $ukit[] = "\t\t\t{"; - $ukit[] = "\t\t\t\tself::\$uikit = true;"; - $ukit[] = "\t\t\t}"; - $ukit[] = "\t\t\t//".$this->setLine(__LINE__)." sorter"; - $ukit[] = "\t\t\tif (self::checkArray(\$temp))"; - $ukit[] = "\t\t\t{"; - $ukit[] = "\t\t\t\t//".$this->setLine(__LINE__)." merger"; - $ukit[] = "\t\t\t\tif (self::checkArray(\$classes))"; - $ukit[] = "\t\t\t\t{"; - $ukit[] = "\t\t\t\t\t\$newTemp = array_merge(\$temp,\$classes);"; - $ukit[] = "\t\t\t\t\t\$temp = array_unique(\$newTemp);"; - $ukit[] = "\t\t\t\t}"; - $ukit[] = "\t\t\t\treturn \$temp;"; - $ukit[] = "\t\t\t}"; - $ukit[] = "\t\t}\t"; - $ukit[] = "\t\tif (self::checkArray(\$classes))"; - $ukit[] = "\t\t{"; - $ukit[] = "\t\t\treturn \$classes;"; - $ukit[] = "\t\t}"; - $ukit[] = "\t\treturn false;"; - $ukit[] = "\t}"; - - // return the help methods - return implode("\n",$ukit); - } - return ''; - } - - protected function setUikitGetMethod() - { - $method = ''; - if ($this->uikit) - { - // build uikit get method - $method .= "\n\n\t/**"; - $method .= "\n\t* Get the uikit needed components"; - $method .= "\n\t*"; - $method .= "\n\t* @return mixed An array of objects on success."; - $method .= "\n\t*"; - $method .= "\n\t*/"; - $method .= "\n\tpublic function getUikitComp()"; - $method .= "\n\t{"; - $method .= "\n\t\tif (isset(\$this->uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$this->uikitComp))"; - $method .= "\n\t\t{"; - $method .= "\n\t\t\treturn \$this->uikitComp;"; - $method .= "\n\t\t}"; - $method .= "\n\t\treturn false;"; - $method .= "\n\t}"; - } - return $method; - } - - protected function setMainCustomMehtod(&$body,$nAme,$type) - { - $method = ''; - if (ComponentbuilderHelper::checkString($body)) - { - // build custom method - $method .= "\n\n\t/**"; - $method .= "\n\t* Custom Method"; - $method .= "\n\t*"; - $method .= "\n\t* @return ".$type; - $method .= "\n\t*"; - $method .= "\n\t*/"; - $method .= "\n\tpublic function ".$nAme."()"; - $method .= "\n\t{".$body; - $method .= "\n\t}"; - } - return $method; - } - - protected function setCustomViewCustomItemMethods(&$main_get,$code) - { - $methods = ''; - // first set the needed item/s methods - if (ComponentbuilderHelper::checkObject($main_get)) - { - if (isset($main_get->custom_get) && ComponentbuilderHelper::checkArray($main_get->custom_get)) - { - foreach ($main_get->custom_get as $get) - { - $this->siteDecrypt['basic'][$code] = false; - $this->siteDecrypt['advanced'][$code] = false; - // set the method defaults - $default = $this->setCustomViewMethodDefaults($get,$code); - // build custom method - $methods .= "\n\n\t/**"; - $methods .= "\n\t* Method to get an array of ".$default['name']." Objects."; - $methods .= "\n\t*"; - $methods .= "\n\t* @return mixed An array of ".$default['name']." Objects on success, false on failure."; - $methods .= "\n\t*"; - $methods .= "\n\t*/"; - $methods .= "\n\tpublic function get".$default['methodName']."(\$".$default['on_field'].")"; - $methods .= "\n\t{###CRYPT###"; - $methods .= "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $methods .= "\n\t\t\$db = JFactory::getDbo();"; - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $methods .= "\n\t\t\$query = \$db->getQuery(true);"; - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Get from ".$get['selection']['table']." as ".$default['as']; - $methods .= "\n\t\t".$get['selection']['select']; - $methods .= "\n\t\t".'$query->from('.$get['selection']['from'].');'; - // set the string - if ($get['operator'] == 'IN' || $get['operator'] == 'NOT IN') - { - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Check if \$" . $default['on_field'] . " is an array with values."; - $methods .= "\n\t\t\$array = \$" . $default['on_field'] . ";"; - $methods .= "\n\t\tif (isset(\$array) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array))"; - $methods .= "\n\t\t{"; - $methods .= "\n\t\t\t\$query->where('".$get['join_field']." ".$get['operator']." (' . implode(',', \$array) . ')');"; - $methods .= "\n\t\t}"; - $methods .= "\n\t\telse"; - $methods .= "\n\t\t{"; - $methods .= "\n\t\t\treturn false;"; - $methods .= "\n\t\t}"; - } - else - { - $methods .= "\n\t\t\$query->where('".$get['join_field']." ".$get['operator']." ' . \$db->quote(\$".$default['on_field']."));"; - } - // check if other queries should be loaded - $queryChecker = (isset($this->otherQuery[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherQuery[$this->target][$default['code']][$default['as']])) ? $this->otherQuery[$this->target][$default['code']][$default['as']] : ''; - if (ComponentbuilderHelper::checkArray($queryChecker)) - { - foreach ($queryChecker as $query) - { - $methods .= $query; - } - } - // add any other filter that was set - if (isset($this->otherFilter[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherFilter[$this->target][$default['code']][$default['as']])) - { - foreach ($this->otherFilter[$this->target][$default['code']][$default['as']] as $field => $string) - { - $methods .= $string; - } - } - // add any other where that was set - if (isset($this->otherWhere[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherWhere[$this->target][$default['code']][$default['as']])) - { - foreach ($this->otherWhere[$this->target][$default['code']][$default['as']] as $field => $string) - { - $methods .= $string; - } - } - // add any other order that was set - if (isset($this->otherOrder[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherOrder[$this->target][$default['code']][$default['as']])) - { - foreach ($this->otherOrder[$this->target][$default['code']][$default['as']] as $field => $string) - { - $methods .= $string; - } - } - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $methods .= "\n\t\t\$db->setQuery(\$query);"; - $methods .= "\n\t\t\$db->execute();"; - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." check if there was data returned"; - $methods .= "\n\t\tif (\$db->getNumRows())"; - $methods .= "\n\t\t{"; - // set decoding of needed fields - if (isset($this->siteFieldData['decode'][$default['code']][$get['key']][$default['as']])) - { - $decodeChecker = $this->siteFieldData['decode'][$default['code']][$get['key']][$default['as']]; - } - // also filter fields if needed - if (isset($this->siteFieldDecodeFilter[$this->target][$default['code']][$get['key']][$default['as']])) - { - $decodeFilter = $this->siteFieldDecodeFilter[$this->target][$default['code']][$get['key']][$default['as']]; - } - // set uikit checkers on needed fields - if (isset($this->siteFieldData['uikit'][$default['code']][$get['key']][$default['as']])) - { - $uikitChecker = $this->siteFieldData['uikit'][$default['code']][$get['key']][$default['as']]; - } - // set joined values - $placeholders = array('###TAB###' => "\t\t", '###STRING###' => '$item'); - $joinedChecker = (isset($this->otherJoin[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherJoin[$this->target][$default['code']][$default['as']])) ? $this->otherJoin[$this->target][$default['code']][$default['as']] : ''; - if ( (isset($decodeChecker) && ComponentbuilderHelper::checkArray($decodeChecker)) || - (isset($uikitChecker) && ComponentbuilderHelper::checkArray($uikitChecker)) || - (isset($decodeFilter) && ComponentbuilderHelper::checkArray($decodeFilter)) || - ComponentbuilderHelper::checkArray($joinedChecker)) - { - $decoder = ''; - if (isset($decodeChecker) && ComponentbuilderHelper::checkArray($decodeChecker)) - { - // also filter fields if needed - $decoder = $this->setCustomViewFieldDecode($get,$decodeChecker,'$item',$default['code'],"\t\t"); - } - $decoder_filter = ''; - if (isset($decodeFilter) && ComponentbuilderHelper::checkArray($decodeFilter)) - { - $decoder_filter = $this->setCustomViewFieldDecodeFilter($get,$decodeFilter,'$item','$items[$nr]',$default['code'],"\t\t"); - } - $uikit = ''; - if (isset($uikitChecker) && ComponentbuilderHelper::checkArray($uikitChecker)) - { - $uikit = $this->setCustomViewFieldUikitChecker($get,$uikitChecker,'$item',$default['code'],"\t\t"); - } - $joine = ''; - if (ComponentbuilderHelper::checkArray($joinedChecker)) - { - foreach ($joinedChecker as $joinedString) - { - $joine .= str_replace(array_keys($placeholders),array_values($placeholders),$joinedString); - } - } - if (ComponentbuilderHelper::checkString($decoder) || ComponentbuilderHelper::checkString($uikit) || ComponentbuilderHelper::checkString($decoder_filter) || ComponentbuilderHelper::checkString($joine)) - { - $methods .= "\n\t\t\t\$items = \$db->loadObjectList();"; - $methods .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Convert the parameter fields into objects."; - $methods .= "\n\t\t\tforeach (\$items as \$nr => &\$item)"; - $methods .= "\n\t\t\t{"; - if (ComponentbuilderHelper::checkString($decoder)) - { - $methods .= $decoder; - } - if (ComponentbuilderHelper::checkString($decoder_filter)) - { - $methods .= $decoder_filter; - } - if (ComponentbuilderHelper::checkString($uikit)) - { - $methods .= $uikit; - } - if (ComponentbuilderHelper::checkString($joine)) - { - $methods .= $joine; - } - $methods .= "\n\t\t\t}"; - $methods .= "\n\t\t\treturn \$items;"; - } - else - { - $methods .= "\n\t\t\treturn \$db->loadObjectList();"; - } - } - else - { - $methods .= "\n\t\t\treturn \$db->loadObjectList();"; - } - $methods .= "\n\t\t}"; - $methods .= "\n\t\treturn false;"; - $methods .= "\n\t}"; - - if ((isset($this->siteDecrypt['basic'][$code]) && $this->siteDecrypt['basic'][$code]) || (isset($this->siteDecrypt['advanced'][$code]) && $this->siteDecrypt['advanced'][$code])) - { - $Component = $this->fileContentStatic['###Component###']; - $script = ''; - if ($this->siteDecrypt['basic'][$code]) - { - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$basic = new FOFEncryptAes(\$basickey, 128);\n"; - } - if ($this->siteDecrypt['advanced'][$code]) - { - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the advanced encription."; - $script .= "\n\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);\n"; - } - $methods = str_replace('###CRYPT###',$script,$methods); - } - } - $methods = str_replace('###CRYPT###','',$methods); - } - } - return $methods."\n"; - } - - protected function setCustomViewMethodDefaults($get,$code) - { - $key = substr(ComponentbuilderHelper::safeString(preg_replace('/[0-9]+/', '', md5($get['key'])),'F'), 0, 4); - $method['on_field'] = (isset($get['on_field'])) ? $this->removeAsDot($get['on_field']):null; - $method['join_field'] = (isset($get['join_field'])) ? ComponentbuilderHelper::safeString($this->removeAsDot($get['join_field'])):null; - $method['Join_field'] = (isset($method['join_field'])) ? ComponentbuilderHelper::safeString($method['join_field'],'F'):null; - $method['name'] = ComponentbuilderHelper::safeString($get['selection']['name'],'F'); - $method['code'] = ComponentbuilderHelper::safeString($code); - $method['AS'] = ComponentbuilderHelper::safeString($get['as'],'U'); - $method['as'] = ComponentbuilderHelper::safeString($get['as']); - $method['valueName'] = $method['on_field'] . $method['Join_field'] . $method['name'] . $method['AS']; - $method['methodName'] = ComponentbuilderHelper::safeString($method['on_field'],'F') . $method['Join_field'] . $method['name'] . $key .'_'. $method['AS']; - // return - return $method; - } - - protected function setCustomViewListQuery(&$get,$code,$return = true) - { - if (ComponentbuilderHelper::checkObject($get)) - { - if ($get->pagination == 1) - { - $getItem = "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - } - else - { - $getItem = "\n\t\t//".$this->setLine(__LINE__)." Make sure all records load, since no pagination allowed."; - $getItem .= "\n\t\t\$this->setState('list.limit', 0);"; - $getItem .= "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - } - $getItem .= "\n\t\t\$db = JFactory::getDbo();"; - $getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $getItem .= "\n\t\t\$query = \$db->getQuery(true);"; - // set main get query - $getItem .= $this->setCustomViewQuery($get->main_get,$code); - // setup filters - $getItem .= $this->setCustomViewFilter($get->filter,$code); - // setup where - $getItem .= $this->setCustomViewWhere($get->where,$code); - // setup ordering - $getItem .= $this->setCustomViewOrder($get->order,$code); - if ($return) - { - // return the query object - $getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." return the query object\n\t\treturn \$query;"; - } - - return $getItem; - } - return "\n\t\t//".$this->setLine(__LINE__)."add your custom code here."; - } - - protected function setCustomViewGetItems(&$get,$code) - { - $getItem = ''; - $this->siteDecrypt['basic'][$code] = false; - $this->siteDecrypt['advanced'][$code] = false; - if (ComponentbuilderHelper::checkObject($get)) - { - $getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." Convert the parameter fields into objects."; - $getItem .= "\n\t\tforeach (\$items as \$nr => &\$item)"; - $getItem .= "\n\t\t{"; - $getItem .= "\n\t\t\t//".$this->setLine(__LINE__)." Always create a slug for sef URL's"; - $getItem .= "\n\t\t\t\$item->slug = (isset(\$item->alias)) ? \$item->id.':'.\$item->alias : \$item->id;"; - if (isset($get->main_get) && ComponentbuilderHelper::checkArray($get->main_get)) - { - $asBucket = array(); - foreach ($get->main_get as $main_get) - { - if (isset($this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']])) - { - $decodeChecker = $this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeChecker)) - { - // set decoding of needed fields - $getItem .= $this->setCustomViewFieldDecode($main_get,$decodeChecker,"\$item",$code,"\t"); - } - } - // also filter fields if needed - if (isset($this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']])) - { - $decodeFilter = $this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeFilter)) - { - $getItem .= $this->setCustomViewFieldDecodeFilter($main_get,$decodeFilter,"\$item",'$items[$nr]',$code,"\t"); - } - } - if (isset($this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']])) - { - $uikitChecker = $this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($uikitChecker)) - { - // set uikit checkers on needed fields - $getItem .= $this->setCustomViewFieldUikitChecker($main_get,$uikitChecker,"\$item",$code,"\t"); - } - } - $asBucket[] = $main_get['as']; - } - } - // setup Globals - $getItem .= $this->setCustomViewGlobals($get->global,'$item',$asBucket,"\t"); - // setup the custom gets that returns multipal values - $getItem .= $this->setCustomViewCustomJoin($get->custom_get,"\$item",$code,$asBucket,"\t"); - // set calculations - if ($get->addcalculation == 1) - { - $get->php_calculation = (array) explode("\n",$get->php_calculation); - if (ComponentbuilderHelper::checkArray($get->php_calculation)) - { - $getItem .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t".implode("\n\t\t\t",$get->php_calculation)); - } - } - $getItem .= "\n\t\t}"; - // remove empty foreach - if (strlen($getItem) <= 100) - { - $getItem = "\n"; - } - } - - if ($this->siteDecrypt['basic'][$code] || $this->siteDecrypt['advanced'][$code]) - { - $Component = $this->fileContentStatic['###Component###']; - $script = ''; - if ($this->siteDecrypt['basic'][$code]) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - } - if ($this->siteDecrypt['advanced'][$code]) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the advanced encription."; - $script .= "\n\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - } - $getItem = $script . $getItem; - } - return $getItem; - } - - protected function setCustomViewDisplayMethod(&$view) - { - $method = ''; - if (isset($view['settings']->main_get) && ComponentbuilderHelper::checkObject($view['settings']->main_get)) - { - if ($view['settings']->main_get->gettype == 1) - { - // for single views - $method .= "\n\t\t//".$this->setLine(__LINE__)." Initialise variables."; - $method .= "\n\t\t\$this->item\t= \$this->get('Item');"; - } - elseif ($view['settings']->main_get->gettype == 2) - { - // for list views - $method .= "\n\t\t//".$this->setLine(__LINE__)." Initialise variables."; - $method .= "\n\t\t\$this->items\t= \$this->get('Items');"; - // only add if pagination is requered - if ($view['settings']->main_get->pagination == 1) - { - $method .= "\n\t\t\$this->pagination\t= \$this->get('Pagination');"; - } - // add id to list view - if (isset($this->customAdminViewListId[$view['settings']->code])) - { - // ###HIDDEN_INPUT_VALUES### - $this->fileContentDynamic[$view['settings']->code]['###HIDDEN_INPUT_VALUES###'] = "\n\t".'<input type="hidden" name="id" value="<?php echo $this->app->input->getInt(\'id\', 0); ?>" />'; - } - else - { - // also set the input value ###HIDDEN_INPUT_VALUES### - $this->fileContentDynamic[$view['settings']->code]['###HIDDEN_INPUT_VALUES###'] = ''; - } - } - // add the custom get methods - if (isset($view['settings']->custom_get) && ComponentbuilderHelper::checkArray($view['settings']->custom_get)) - { - foreach ($view['settings']->custom_get as $custom_get) - { - $custom_get_name = str_replace('get','',$custom_get->getcustom); - $method .= "\n\t\t\$this->".ComponentbuilderHelper::safeString($custom_get_name)."\t= \$this->get('".$custom_get_name."');"; - } - } - - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." Check for errors."; - $method .= "\n\t\tif (count(\$errors = \$this->get('Errors')))"; - $method .= "\n\t\t{"; - $method .= "\n\t\t\tJError::raiseWarning(500, ".'implode("\n", $errors));'; - $method .= "\n\t\t\treturn false;"; - $method .= "\n\t\t}"; - // add custom script - if ($view['settings']->add_php_jview_display == 1) - { - $view['settings']->php_jview_display = (array) explode("\n",$view['settings']->php_jview_display); - if (ComponentbuilderHelper::checkArray($view['settings']->php_jview_display)) - { - $method .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t".implode("\n\t\t",$view['settings']->php_jview_display)); - } - } - if ('site' == $this->target) - { - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the toolbar"; - $method .= "\n\t\t\$this->addToolBar();"; - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." set the document"; - $method .= "\n\t\t\$this->_prepareDocument();"; - } - elseif ('custom_admin' == $this->target) - { - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." We don't need toolbar in the modal window."; - $method .= "\n\t\tif (\$this->getLayout() !== 'modal')"; - $method .= "\n\t\t{"; - $method .= "\n\t\t\t//".$this->setLine(__LINE__)." add the tool bar"; - $method .= "\n\t\t\t\$this->addToolBar();"; - $method .= "\n\t\t}"; - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." set the document"; - $method .= "\n\t\t\$this->setDocument();"; - } - $method .= "\n\n\t\tparent::display(\$tpl);"; - } - return $method; - } - - protected function setPrepareDocument($view) - { - // ensure correct target is set - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // set uikit ###'.$TARGET.'_UIKIT_LOADER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_UIKIT_LOADER###'] = $this->setUikitLoader($view); - - // set uikit ###'.$TARGET.'_GOOGLECHART_LOADER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GOOGLECHART_LOADER###'] = $this->setGoogleChartLoader($view); - - // set uikit ###FOOTABLE_LOADER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_FOOTABLE_LOADER###'] = $this->setFootableScriptsLoader($view); - - // set metadata ###DOCUMENT_METADATA### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_METADATA###'] = $this->setDocumentMetadata($view); - - // set custom php scripting ###DOCUMENT_CUSTOM_PHP### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_CUSTOM_PHP###'] = $this->setDocumentCustomPHP($view); - - // set custom css ###DOCUMENT_CUSTOM_CSS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_CUSTOM_CSS###'] = $this->setDocumentCustomCSS($view); - - // set custom javascript ###DOCUMENT_CUSTOM_JS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_CUSTOM_JS###'] = $this->setDocumentCustomJS($view); - - // set custom css file ###VIEWCSS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_VIEWCSS###'] = $this->setCustomCSS($view); - - // set the custom buttons ###CUSTOM_BUTTONS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS###'] = $this->setCustomButtons($view); - - // only set the custom get form method if site target - if ('site' == $this->target) - { - // set the custom get form method ###SITE_CUSTOM_GET_FORM_METHOD### - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_GET_FORM_METHOD###'] = $this->setCustomGetForm($view); - } - - // see if we should add get modules to the view.html - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GET_MODULE###'] = $this->setGetModules($view,$TARGET); - - } - - protected function setGetModules($view,$TARGET) - { - if (isset($this->getModule[$this->target][$view['settings']->code]) && $this->getModule[$this->target][$view['settings']->code]) - { - $addModule = array(); - $addModule[] = "\n\n\t/**"; - $addModule[] = "\t * Get the modules published in a position"; - $addModule[] = "\t */"; - $addModule[] = "\tpublic function getModules(\$position, \$seperator = '', \$class = '')"; - $addModule[] = "\t{"; - $addModule[] = "\t\t//".$this->setLine(__LINE__)." set default"; - $addModule[] = "\t\t\$found = false;"; - $addModule[] = "\t\t//".$this->setLine(__LINE__)." check if we aleady have these modules loaded"; - $addModule[] = "\t\tif (isset(\$this->setModules[\$position]))"; - $addModule[] = "\t\t{"; - $addModule[] = "\t\t\t\$found = true;"; - $addModule[] = "\t\t}"; - $addModule[] = "\t\telse"; - $addModule[] = "\t\t{"; - $addModule[] = "\t\t\t//".$this->setLine(__LINE__)." this is where you want to load your module position"; - $addModule[] = "\t\t\t\$modules = JModuleHelper::getModules(\$position);"; - $addModule[] = "\t\t\tif (\$modules)"; - $addModule[] = "\t\t\t{"; - $addModule[] = "\t\t\t\t//".$this->setLine(__LINE__)." set the place holder"; - $addModule[] = "\t\t\t\t\$this->setModules[\$position] = array();"; - $addModule[] = "\t\t\t\tforeach(\$modules as \$module)"; - $addModule[] = "\t\t\t\t{"; - $addModule[] = "\t\t\t\t\t\$this->setModules[\$position][] = JModuleHelper::renderModule(\$module);"; - $addModule[] = "\t\t\t\t}"; - $addModule[] = "\t\t\t\t\$found = true;"; - $addModule[] = "\t\t\t}"; - $addModule[] = "\t\t}"; - $addModule[] = "\t\t//".$this->setLine(__LINE__)." check if modules were found"; - $addModule[] = "\t\tif (\$found && isset(\$this->setModules[\$position]) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$this->setModules[\$position]))"; - $addModule[] = "\t\t{"; - $addModule[] = "\t\t\t//".$this->setLine(__LINE__)." set class"; - $addModule[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(\$class))"; - $addModule[] = "\t\t\t{"; - $addModule[] = "\t\t\t\t\$class = ' class=\"'.\$class.'\" ';"; - $addModule[] = "\t\t\t}"; - $addModule[] = "\t\t\t//".$this->setLine(__LINE__)." set seperating return values"; - $addModule[] = "\t\t\tswitch(\$seperator)"; - $addModule[] = "\t\t\t{"; - $addModule[] = "\t\t\t\tcase 'none':"; - $addModule[] = "\t\t\t\t\treturn implode('', \$this->setModules[\$position]);"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tcase 'div':"; - $addModule[] = "\t\t\t\t\treturn '<div'.\$class.'>'.implode('</div><div'.\$class.'>', \$this->setModules[\$position]).'</div>';"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tcase 'list':"; - $addModule[] = "\t\t\t\t\treturn '<ul'.\$class.'><li>'.implode('</li><li>', \$this->setModules[\$position]).'</li></ul>';"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tcase 'array':"; - $addModule[] = "\t\t\t\tcase 'Array':"; - $addModule[] = "\t\t\t\t\treturn \$this->setModules[\$position];"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tdefault:"; - $addModule[] = "\t\t\t\t\treturn implode('<br />', \$this->setModules[\$position]);"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\t"; - $addModule[] = "\t\t\t}"; - $addModule[] = "\t\t}"; - $addModule[] = "\t\treturn false;"; - $addModule[] = "\t}"; - - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GET_MODULE_JIMPORT###'] = "\njimport('joomla.application.module.helper');"; - - return implode("\n",$addModule); - } - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GET_MODULE_JIMPORT###'] = ''; - return ''; - } - - protected function setCustomGetForm($view) - { - return ''; - } - - protected function setDocumentCustomPHP($view) - { - if ($view['settings']->add_php_document == 1) - { - $view['settings']->php_document = (array) explode("\n",$view['settings']->php_document); - if (ComponentbuilderHelper::checkArray($view['settings']->php_document)) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t".implode("\n\t\t",$view['settings']->php_document)); - } - } - return ''; - } - - protected function setCustomButtons($view) - { - // ensure correct target is set - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // set the custom buttons ###CUSTOM_BUTTONS_CONTROLLER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_CONTROLLER###'] = ''; - // set the custom buttons ###CUSTOM_BUTTONS_METHOD### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_METHOD###'] = ''; - // if site add buttons to view - if ($this->target == 'site') - { - // set the custom buttons ###SITE_TOP_BUTTON### - $this->fileContentDynamic[$view['settings']->code]['###SITE_TOP_BUTTON###'] = ''; - // set the custom buttons ###SITE_BOTTOM_BUTTON### - $this->fileContentDynamic[$view['settings']->code]['###SITE_BOTTOM_BUTTON###'] = ''; - // load into place - switch ($view['settings']->button_position) - { - case 1: - // set buttons to top right of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_TOP_BUTTON###'] = '<div class="uk-clearfix"><div class="uk-float-right"><?php echo $this->toolbar->render(); ?></div></div>'; - break; - case 2: - // set buttons to top left of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_TOP_BUTTON###'] = '<?php echo $this->toolbar->render(); ?>'; - break; - case 3: - // set buttons to buttom right of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_BOTTOM_BUTTON###'] = '<div class="uk-clearfix"><div class="uk-float-right"><?php echo $this->toolbar->render(); ?></div></div>'; - break; - case 4: - // set buttons to buttom left of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_BOTTOM_BUTTON###'] = '<?php echo $this->toolbar->render(); ?>'; - break; - case 5: - // set buttons to buttom left of the view - $this->placeholders['[[[SITE_TOOLBAR]]]'] = '<?php echo $this->toolbar->render(); ?>'; - break; - - } - - } - // check if custom button should be added - if (isset($view['settings']->add_custom_button) && $view['settings']->add_custom_button == 1) - { - if (ComponentbuilderHelper::checkArray($view['settings']->custom_buttons)) - { - $buttons = array(); - foreach ($view['settings']->custom_buttons as $custom_button) - { - if ($custom_button['target'] != 2 || $this->target == 'site') - { - // Load to lang - $keyLang = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($custom_button['name'],'U'); - $keyCode = ComponentbuilderHelper::safeString($custom_button['name']); - $this->langContent[$this->lang][$keyLang] = trim($custom_button['name']); - // add cpanel button - $buttons[] = "\t\tif (\$this->canDo->get('".$view['settings']->code.".".$keyCode."'))"; - $buttons[] = "\t\t{"; - $buttons[] = "\t\t\t//".$this->setLine(__LINE__)." add ".$custom_button['name']." button."; - $buttons[] = "\t\t\tJToolBarHelper::custom('".$view['settings']->code.".".$custom_button['method']."', '".$custom_button['icomoon']."', '', '".$keyLang."', false);"; - $buttons[] = "\t\t}"; - } - } - if (ComponentbuilderHelper::checkArray($buttons)) - { - if (ComponentbuilderHelper::checkString($view['settings']->php_controller)) - { - // set the custom buttons ###CUSTOM_BUTTONS_CONTROLLER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_CONTROLLER###'] = - "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->php_controller); - if ('site' == $this->target) - { - // add the controller for this view - // build the file - $target = array($this->target => $view['settings']->code); - $this->buildDynamique($target,'custom_form'); - ###GET_FORM_CUSTOM### - } - } - if (ComponentbuilderHelper::checkString($view['settings']->php_model)) - { - // set the custom buttons ###CUSTOM_BUTTONS_METHOD### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_METHOD###'] = - "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->php_model); - } - - return "\n".implode("\n",$buttons); - } - } - } - return ''; - } - - protected function setCustomCSS($view) - { - if ($view['settings']->add_css == 1) - { - if (ComponentbuilderHelper::checkString($view['settings']->css)) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->css); - } - } - return ''; - } - - protected function setDocumentCustomCSS($view) - { - if ($view['settings']->add_css_document == 1) - { - $view['settings']->css_document = (array) explode("\n",$view['settings']->css_document); - if (ComponentbuilderHelper::checkArray($view['settings']->css_document)) - { - $script = "\n\t\t//".$this->setLine(__LINE__)." Set the Custom CSS script to view\n\t\t".'$this->document->addStyleDeclaration("'; - $cssDocument = str_replace('"', '\"', implode("\n\t\t\t",$view['settings']->css_document)); - return $script.str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t".$cssDocument)."\n\t\t".'");'; - } - } - return ''; - } - - protected function setDocumentCustomJS($view) - { - if ($view['settings']->add_js_document == 1) - { - $view['settings']->js_document = (array) explode("\n",$view['settings']->js_document); - if (ComponentbuilderHelper::checkArray($view['settings']->js_document)) - { - $script = "\n\t\t//".$this->setLine(__LINE__)." Set the Custom JS script to view\n\t\t".'$this->document->addScriptDeclaration("'; - $jsDocument = str_replace('"', '\"', implode("\n\t\t\t",$view['settings']->js_document)); - return $script.str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t".$jsDocument)."\n\t\t".'");'; - } - } - return ''; - } - - protected function setFootableScriptsLoader($view) - { - if (isset($this->footableScripts[$this->target][$view['settings']->code]) && $this->footableScripts[$this->target][$view['settings']->code]) - { - return $this->setFootableScripts(false,'$this->document'); - } - return ''; - } - - protected function setDocumentMetadata($view) - { - if ($view['settings']->main_get->gettype == 1 && $view['metadata'] == 1) - { - return $this->setMetadataItem(); - } - elseif ($view['metadata'] == 1) - { - // lets check if we have a custom get method that has the same name as the view - // if we do then it posibly can be that the metadata is loaded via that method - // and we can load the full metadata structure with its vars - if (isset($view['settings']->custom_get) && ComponentbuilderHelper::checkArray($view['settings']->custom_get)) - { - $found = false; - $searchFor = 'get'.$view['settings']->Code; - foreach ($view['settings']->custom_get as $custom_get) - { - if ($searchFor == $custom_get->getcustom) - { - $found = true; - break; - } - } - // now lets see - if ($found) - { - return $this->setMetadataItem($view['settings']->code); - } - else - { - return $this->setMetadataList(); - } - } - else - { - return $this->setMetadataList(); - } - } - return ''; - } - - protected function setMetadataItem($item = 'item') - { - $meta = array(); - $meta[] = "\n\t\t//".$this->setLine(__LINE__)." load the meta description"; - $meta[] = "\t\tif (isset(\$this->".$item."->metadesc) && \$this->".$item."->metadesc)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setDescription(\$this->".$item."->metadesc);"; - $meta[] = "\t\t}"; - $meta[] = "\t\telseif (\$this->params->get('menu-meta_description'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setDescription(\$this->params->get('menu-meta_description'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." load the key words if set"; - $meta[] = "\t\tif (isset(\$this->".$item."->metakey) && \$this->".$item."->metakey)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('keywords', \$this->".$item."->metakey);"; - $meta[] = "\t\t}"; - $meta[] = "\t\telseif (\$this->params->get('menu-meta_keywords'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('keywords', \$this->params->get('menu-meta_keywords'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check the robot params"; - $meta[] = "\t\tif (isset(\$this->".$item."->robots) && \$this->".$item."->robots)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('robots', \$this->".$item."->robots);"; - $meta[] = "\t\t}"; - $meta[] = "\t\telseif (\$this->params->get('robots'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('robots', \$this->params->get('robots'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check if autor is to be set"; - $meta[] = "\t\tif (isset(\$this->".$item."->created_by) && \$this->params->get('MetaAuthor') == '1')"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetaData('author', \$this->".$item."->created_by);"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check if metadata is available"; - $meta[] = "\t\tif (isset(\$this->".$item."->metadata) && \$this->".$item."->metadata)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$mdata = json_decode(\$this->".$item."->metadata,true);"; - $meta[] = "\t\t\tforeach (\$mdata as \$k => \$v)"; - $meta[] = "\t\t\t{"; - $meta[] = "\t\t\t\tif (\$v)"; - $meta[] = "\t\t\t\t{"; - $meta[] = "\t\t\t\t\t\$this->document->setMetadata(\$k, \$v);"; - $meta[] = "\t\t\t\t}"; - $meta[] = "\t\t\t}"; - $meta[] = "\t\t}"; - - return implode("\n",$meta); - } - - protected function setMetadataList() - { - $meta = array(); - $meta[] = "\n\t\t//".$this->setLine(__LINE__)." load the meta description"; - $meta[] = "\t\tif (\$this->params->get('menu-meta_description'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setDescription(\$this->params->get('menu-meta_description'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." load the key words if set"; - $meta[] = "\t\tif (\$this->params->get('menu-meta_keywords'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('keywords', \$this->params->get('menu-meta_keywords'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check the robot params"; - $meta[] = "\t\tif (\$this->params->get('robots'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('robots', \$this->params->get('robots'));"; - $meta[] = "\t\t}"; - - return implode("\n",$meta); - } - - protected function setGoogleChartLoader($view) - { - if (isset($this->googleChart[$this->target][$view['settings']->code]) && $this->googleChart[$this->target][$view['settings']->code]) - { - $chart = array(); - $chart[] = "\n\n\t\t//".$this->setLine(__LINE__)." add the google chart builder class."; - $chart[] = "\t\trequire_once JPATH_COMPONENT_ADMINISTRATOR.'/helpers/chartbuilder.php';"; - $chart[] = "\t\t//".$this->setLine(__LINE__)." load the google chart js."; - $chart[] = "\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/js/google.jsapi.js');"; - $chart[] = "\t\t\$this->document->addScript('https://canvg.googlecode.com/svn/trunk/rgbcolor.js');"; - $chart[] = "\t\t\$this->document->addScript('https://canvg.googlecode.com/svn/trunk/canvg.js');"; - return implode("\n",$chart); - } - return ''; - } - - protected function setUikitLoader($view) - { - // reset buktes - $setter = ''; - $loader['css'] = array(); - $loader['js'] = array(); - // allways load these in - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." always make sure jquery is loaded."; - $setter .= "\n\t\tJHtml::_('jquery.framework');"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Load the header checker class."; - $setter .= "\n\t\trequire_once( JPATH_COMPONENT_SITE.'/helpers/headercheck.php' );"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Initialize the header checker."; - $setter .= "\n\t\t\$HeaderCheck = new HeaderCheck;"; - // load the defaults needed - if ($this->uikit) - { - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load uikit options."; - $setter .= "\n\t\t\$uikit = \$this->params->get('uikit_load');"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Set script size."; - $setter .= "\n\t\t\$size = \$this->params->get('uikit_min');"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Set css style."; - $setter .= "\n\t\t\$style = \$this->params->get('uikit_style');"; - - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." The uikit css."; - $setter .= "\n\t\tif ((!\$HeaderCheck->css_loaded('uikit.min') || \$uikit == 1) && \$uikit != 2 && \$uikit != 3)"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t\$this->document->addStyleSheet(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/uikit'.\$style.\$size.'.css');"; - $setter .= "\n\t\t}"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." The uikit js."; - $setter .= "\n\t\tif ((!\$HeaderCheck->js_loaded('uikit.min') || \$uikit == 1) && \$uikit != 2 && \$uikit != 3)"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/uikit'.\$size.'.js');"; - $setter .= "\n\t\t}"; - } - // load the components need - if ($this->uikit && isset($this->uikitComp[$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->uikitComp[$view['settings']->code])) - { - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the script to find all uikit components needed."; - $setter .= "\n\t\tif (\$uikit != 2)"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." Set the default uikit components in this view."; - $setter .= "\n\t\t\t\$uikitComp = array();"; - foreach ($this->uikitComp[$view['settings']->code] as $class) - { - $setter .= "\n\t\t\t\$uikitComp[] = '".$class."';"; - } - // check content for more needed components - if (isset($this->siteFieldData['uikit'][$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->siteFieldData['uikit'][$view['settings']->code])) - { - $setter .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get field uikit components needed in this view."; - $setter .= "\n\t\t\t\$uikitFieldComp = \$this->get('UikitComp');"; - $setter .= "\n\t\t\tif (isset(\$uikitFieldComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitFieldComp))"; - $setter .= "\n\t\t\t{"; - $setter .= "\n\t\t\t\tif (isset(\$uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitComp))"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\$uikitComp = array_merge(\$uikitComp, \$uikitFieldComp);"; - $setter .= "\n\t\t\t\t\t\$uikitComp = array_unique(\$uikitComp);"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t\telse"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\$uikitComp = \$uikitFieldComp;"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t}"; - } - $setter .= "\n\t\t}"; - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the needed uikit components in this view."; - $setter .= "\n\t\tif (\$uikit != 2 && isset(\$uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitComp))"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." load just in case."; - $setter .= "\n\t\t\tjimport('joomla.filesystem.file');"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." loading..."; - $setter .= "\n\t\t\tforeach (\$uikitComp as \$class)"; - $setter .= "\n\t\t\t{"; - $setter .= "\n\t\t\t\tforeach (".$this->fileContentStatic['###Component###']."Helper::\$uk_components[\$class] as \$name)"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the CSS file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the css."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addStyleSheet(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the JavaScript file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the js."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t}"; - $setter .= "\n\t\t}"; - } - elseif ($this->uikit && ComponentbuilderHelper::checkArray($this->siteFieldData['uikit'][$view['settings']->code])) - { - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the needed uikit components in this view."; - $setter .= "\n\t\t\$uikitComp = \$this->get('UikitComp');"; - $setter .= "\n\t\tif (\$uikit != 2 && isset(\$uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitComp))"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." load just in case."; - $setter .= "\n\t\t\tjimport('joomla.filesystem.file');"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." loading..."; - $setter .= "\n\t\t\tforeach (\$uikitComp as \$class)"; - $setter .= "\n\t\t\t{"; - $setter .= "\n\t\t\t\tforeach (".$this->fileContentStatic['###Component###']."Helper::\$uk_components[\$class] as \$name)"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the CSS file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the css."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addStyleSheet(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the JavaScript file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the js."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t}"; - $setter .= "\n\t\t}"; - } - return $setter; - } - - protected function setCustomViewExtraDisplayMethods(&$view) - { - if ($view['settings']->add_php_jview == 1) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\n".$view['settings']->php_jview); - } - return ''; - } - - protected function setCustomViewBody(&$view) - { - if (ComponentbuilderHelper::checkString($view['settings']->default)) - { - if ($view['settings']->main_get->gettype == 2 && $view['settings']->main_get->pagination == 1) - { - // build body - $body = array(); - // add limit box - if (strpos($view['settings']->default, '[[[LIMITBOX]]]') !== false) - { - $this->placeholders['[[[LIMITBOX]]]'] = '<?php echo $this->pagination->getLimitBox(); ?>'; - } - $body[] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->default); - $body[] = "\n".'<?php if (isset($this->items) && '.$this->fileContentStatic['###component###'].'Helper::checkArray($this->items) && count($this->items) > 4): ?>'; - $body[] = '<form name="adminForm" method="post">'; - $body[] = "\t".'<div class="pagination">'; - $body[] = "\t\t".'<?php if ($this->params->def(\'show_pagination_results\', 1)) : ?>'; - - if (strpos($view['settings']->default, '[[[LIMITBOX]]]') === false) - { - $body[] = "\t\t\t".'<p class="counter pull-right"> <?php echo $this->pagination->getPagesCounter(); ?> <?php echo $this->pagination->getLimitBox(); ?></p>'; - } - else - { - $body[] = "\t\t\t".'<p class="counter pull-right"> <?php echo $this->pagination->getPagesCounter(); ?> </p>'; - } - $body[] = "\t\t".'<?php endif; ?>'; - $body[] = "\t\t".'<?php echo $this->pagination->getPagesLinks(); ?>'; - $body[] = "\t".'</div>'; - $body[] = '</form>'; - $body[] = '<?php endif; ?>'; - - return implode("\n",$body); - } - else - { - return "\n". str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->default); - } - - } - return ''; - } - - protected function setCustomViewCodeBody(&$view) - { - if ($view['settings']->add_php_view == 1) - { - $view['settings']->php_view = (array) explode("\n",$view['settings']->php_view); - if (ComponentbuilderHelper::checkArray($view['settings']->php_view)) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\n".implode("\n",$view['settings']->php_view)); - } - } - return ''; - } - - protected function setCustomViewTemplateBody(&$view) - { - if (isset($this->templateData[$this->target][$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->templateData[$this->target][$view['settings']->code])) - { - foreach ($this->templateData[$this->target][$view['settings']->code] as $template => $data) - { - // build the file - $target = array($this->target => $view['settings']->code); - $this->buildDynamique($target,'template',$template); - // set the file data - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // ###SITE_TEMPLATE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code.'_'.$template]['###'.$TARGET.'_TEMPLATE_BODY###'] = "\n" . str_replace(array_keys($this->placeholders),array_values($this->placeholders),$data['html']); - // ###SITE_TEMPLATE_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code.'_'.$template]['###'.$TARGET.'_TEMPLATE_CODE_BODY###'] = $this->setCustomViewTemplateCode($data['php_view']); - } - } - } - - protected function setCustomViewTemplateCode(&$php) - { - if (ComponentbuilderHelper::checkString($php)) - { - $php_view = (array) explode("\n",$php); - if (ComponentbuilderHelper::checkArray($php_view)) - { - $php_view = "\n\n".implode("\n",$php_view); - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),$php_view); - } - } - return ''; - } - - protected function setCustomViewLayouts() - { - if (isset($this->layoutData[$this->target]) && ComponentbuilderHelper::checkArray($this->layoutData[$this->target])) - { - foreach ($this->layoutData[$this->target] as $layout => $data) - { - // build the file - $target = array($this->target => $layout); - $this->buildDynamique($target,'layout'); - // set the file data - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // ###SITE_LAYOUT_CODE### <<<DYNAMIC>>> - $php_view = (array) explode("\n",$data['php_view']); - if (ComponentbuilderHelper::checkArray($php_view)) - { - $php_view = "\n\n".implode("\n",$php_view); - $this->fileContentDynamic[$layout]['###'.$TARGET.'_LAYOUT_CODE###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$php_view); - } - else - { - $this->fileContentDynamic[$layout]['###'.$TARGET.'_LAYOUT_CODE###'] = ''; - } - // ###SITE_LAYOUT_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$layout]['###'.$TARGET.'_LAYOUT_BODY###'] = "\n" . str_replace(array_keys($this->placeholders),array_values($this->placeholders),$data['html']); - - } - } - } - - protected function getReplacementNames() - { - foreach ($this->newFiles as $type => $files) - { - foreach ($files as $view => $file) - { - if (isset($file['path']) && ComponentbuilderHelper::checkArray($file)) - { - if (JFile::exists($file['path'])) - { - $string = file_get_contents($file['path']); - $buket['static'][] = $this->getInbetweenStrings($string); - } - } - elseif (ComponentbuilderHelper::checkArray($file)) - { - foreach ($file as $nr => $doc) - { - if (ComponentbuilderHelper::checkArray($doc)) - { - if (JFile::exists($doc['path'])) - { - $string = file_get_contents($doc['path']); - $buket[$view][] = $this->getInbetweenStrings($string); - } - } - } - } - } - } - foreach ($buket as $type => $array) - { - foreach ($array as $replacments) - { - $replacments = array_unique($replacments); - foreach ($replacments as $replacment) - { - if ($type != 'static') - { - //var_dump($replacment); echo "\n"; - $echos[$replacment] = "###".$replacment."###<br />"; - } - elseif ($type == 'static') - { - //var_dump($replacment); echo "\n"; - $echos[$replacment] = "###".$replacment."###<br />"; - } - } - } - } - - foreach ($echos as $echo) - { - echo $echo.'<br />'; - } - } - - protected function updateFiles() - { - if (isset($this->newFiles['static']) && ComponentbuilderHelper::checkArray($this->newFiles['static']) && isset($this->newFiles['dynamic']) && ComponentbuilderHelper::checkArray($this->newFiles['dynamic'])) - { - // get the bom file - $bom = JFile::read($this->bomPath); - // first we do the static files - foreach ($this->newFiles['static'] as $static) - { - if (JFile::exists($static['path'])) - { - $this->fileContentStatic['###FILENAME###'] = $static['name']; - $php = ''; - if (ComponentbuilderHelper::checkFileType($static['name'],'php')) - { - $php = "<?php\n"; - } - $string = JFile::read($static['path']); - if (strpos($string,'###BOM###') !== false) - { - list($wast,$code) = explode('###BOM###',$string); - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$php.$bom.$code); - // add to zip array - $this->writeFile($static['path'],$answer); - } - else - { - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$string); - // add to zip array - $this->writeFile($static['path'],$answer); - } - $this->lineCount = $this->lineCount + substr_count($answer, PHP_EOL ); - } - } - // now we do the dynamic files - foreach ($this->newFiles['dynamic'] as $view => $files) - { - if (isset($this->fileContentDynamic[$view]) && ComponentbuilderHelper::checkArray($this->fileContentDynamic[$view])) - { - foreach ($files as $file) - { - if ($file['view'] == $view) - { - if (JFile::exists($file['path'])) - { - $this->fileContentStatic['###FILENAME###'] = $file['name']; - $php = ''; - if (ComponentbuilderHelper::checkFileType($file['name'],'php')) - { - $php = "<?php\n"; - } - $string = JFile::read($file['path']); - if (strpos($string,'###BOM###') !== false) - { - list($bin,$code) = explode('###BOM###',$string); - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$php.$bom.$code); - $answer = str_replace(array_keys($this->fileContentDynamic[$view]),array_values($this->fileContentDynamic[$view]),$answer); - // add to zip array - $this->writeFile($file['path'],$answer); - } - else - { - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$string); - $answer = str_replace(array_keys($this->fileContentDynamic[$view]),array_values($this->fileContentDynamic[$view]),$answer); - // add to zip array - $this->writeFile($file['path'],$answer); - } - $this->lineCount = $this->lineCount + substr_count($answer, PHP_EOL ); - } - } - } - } - } - // do a final run to update the readme file - foreach ($this->newFiles['static'] as $static) - { - if ($this->componentData->addreadme && 'README.md' == $static['name'] && JFile::exists($static['path'])) - { - $this->buildReadMe($static['path']); - break; - } - } - // move the update server to host - if ($this->componentData->add_update_server && isset($this->updateServerFileName) && $this->add2SalesServer) - { - $xml_update_server_path = $this->componentPath.'/'.$this->updateServerFileName.'.xml'; - // make sure we have the correct file - if (JFile::exists($xml_update_server_path) && isset($this->componentData->update_server_ftp)) - { - // Get the basic encription. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - if (!empty($this->componentData->update_server_ftp) && $basickey && !is_numeric($this->componentData->update_server_ftp) && $this->componentData->update_server_ftp === base64_encode(base64_decode($this->componentData->update_server_ftp, true))) - { - // basic decript data update_server_ftp. - $this->componentData->update_server_ftp = rtrim($basic->decryptString($this->componentData->update_server_ftp), "\0"); - } - // now move the file - $this->moveFileToFtpServer($xml_update_server_path,$this->componentData->update_server_ftp); - } - } - return true; - } - return false; - } - - protected function moveFileToFtpServer($localPath, $clientInput, $remote = null, $removeLocal = true) - { - // get the ftp opbject - $ftp = $this->getFTP($clientInput); - // chack if we are conected - if ($ftp instanceof JClientFtp && $ftp->isConnected()) - { - // move the file - if ($ftp->store($localPath,$remote)) - { - // if moved then remove the file from repository - if ($removeLocal) - { - JFile::delete($localPath); - } - } - // at the end close the conection - $ftp->quit(); - } - } - - protected function getFTP($clientInput) - { - $signature = md5($clientInput); - if (isset($this->FTP[$signature]) && $this->FTP[$signature] instanceof JClientFtp) - { - return $this->FTP[$signature]; - } - else - { - // make sure we have a string and it is not default or empty - if (ComponentbuilderHelper::checkString($clientInput)) - { - // turn into vars - parse_str($clientInput); - // set options - if (isset($options) && ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option => $value) - { - if ('timeout' == $option) - { - $options[$option] = (int) $value; - } - if ('type' == $option) - { - $options[$option] = (string) $value; - } - } - } - else - { - $options = array(); - } - // get ftp object - if (isset($host) && $host != 'HOSTNAME' && isset($port) && $port != 'PORT_INT' && isset($username) && $username != 'user@name.com' && isset($password) && $password != 'password') - { - // load for reuse - $this->FTP[$signature] = JClientFtp::getInstance($host, $port, $options, $username, $password); - return $this->FTP[$signature]; - } - } - } - return false; - } - - protected function buildReadMe($path) - { - // setup the unrealistic numbers - $folders = $this->folderCount * 5; - $files = $this->fileCount * 5; - $lines = $this->lineCount * 10; - $seconds = $folders + $files + $lines; - $totalHours = round($seconds / 3600); - $totalDays = round($totalHours / 8); - // setup the more realistic numbers - $debugging = $seconds / 4; - $planning = $seconds / 7; - $mapping = $seconds / 10; - $office = $seconds / 6; - $seconds = $folders + $files + $lines + $debugging + $planning + $mapping + $office; - $actualTotalHours = round($seconds / 3600); - $actualTotalDays = round($actualTotalHours / 8); - $debuggingHours = round($debugging / 3600); - $planningHours = round($planning / 3600); - $mappingHours = round($mapping / 3600); - $officeHours = round($office / 3600); - // the actual time spent - $actualHoursSpent = $actualTotalHours - $totalHours; - $actualDaysSpent = $actualTotalDays - $totalDays; - // calculate the projects actual time frame of completion - $projectWeekTime = round($actualTotalDays / 5,1); - $projectMonthTime = round($actualTotalDays / 24,1); - // set some defaults - $this->fileContentStatic['###LINE_COUNT###'] = $this->lineCount; - $this->fileContentStatic['###FILE_COUNT###'] = $this->fileCount; - $this->fileContentStatic['###FOLDER_COUNT###'] = $this->folderCount; - $this->fileContentStatic['###folders###'] = $folders; - $this->fileContentStatic['###files###'] = $files; - $this->fileContentStatic['###lines###'] = $lines; - $this->fileContentStatic['###seconds###'] = $seconds; - $this->fileContentStatic['###totalHours###'] = $totalHours; - $this->fileContentStatic['###totalDays###'] = $totalDays; - $this->fileContentStatic['###debugging###'] = $debugging; - $this->fileContentStatic['###planning###'] = $planning; - $this->fileContentStatic['###mapping###'] = $mapping; - $this->fileContentStatic['###office###'] = $office; - $this->fileContentStatic['###actualTotalHours###'] = $actualTotalHours; - $this->fileContentStatic['###actualTotalDays###'] = $actualTotalDays; - $this->fileContentStatic['###debuggingHours###'] = $debuggingHours; - $this->fileContentStatic['###planningHours###'] = $planningHours; - $this->fileContentStatic['###mappingHours###'] = $mappingHours; - $this->fileContentStatic['###officeHours###'] = $officeHours; - $this->fileContentStatic['###actualHoursSpent###'] = $actualHoursSpent; - $this->fileContentStatic['###actualDaysSpent###'] = $actualDaysSpent; - $this->fileContentStatic['###projectWeekTime###'] = $projectWeekTime; - $this->fileContentStatic['###projectMonthTime###'] = $projectMonthTime; - // get the file - $string = JFile::read($path); - // update the file - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$string); - // add to zip array - $this->writeFile($path,$answer); - } - - protected function zipComponent() - { - // before we zip the component we first need to move it to the git folder if set - if (ComponentbuilderHelper::checkString($this->gitPath)) - { - // set the git path - $this->gitPath = $this->gitPath.'/com_'.$this->componentData->sales_name.'__joomla_'.$this->joomlaVersion; - // remove old data - $this->removeFolder($this->gitPath,true); - // set the new data - JFolder::copy($this->componentPath, $this->gitPath, '', true); - } - // the name of the zip file to create - $this->filepath = $this->tempPath.'/'.$this->componentFolderName.'.zip'; - // store the current joomla working directory - $joomla = getcwd(); - - // we are changing the working directory to the componet temp folder - chdir($this->componentPath); - - // the full file path of the zip file - $this->filepath = JPath::clean($this->filepath); - - // delete an existing zip file (or use an exclusion parameter in JFolder::files() - JFile::delete($this->filepath); - - // get a list of files in the current directory tree - $files = JFolder::files('.', '', true, true); - $zipArray = array(); - // setup the zip array - foreach ($files as $file) - { - $tmp = array(); - $tmp['name'] = str_replace('./', '', $file); - $tmp['data'] = JFile::read($file); - $tmp['time'] = filemtime($file); - $zipArray[] = $tmp; - } - - // change back to joomla working directory - chdir($joomla); - - // get the zip adapter - $zip = JArchive::getAdapter('zip'); - - //create the zip file - if ($zip->create($this->filepath, $zipArray)) - { - // now move to backup if zip was made and backup is requered - if ($this->backupPath) - { - JFile::copy($this->filepath, $this->backupPath); - } - // move to sales server host - if ($this->componentData->add_sales_server) - { - // make sure we have the correct file - if (isset($this->componentData->sales_server_ftp)) - { - // Get the basic encription. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - if (!empty($this->componentData->sales_server_ftp) && $basickey && !is_numeric($this->componentData->sales_server_ftp) && $this->componentData->sales_server_ftp === base64_encode(base64_decode($this->componentData->sales_server_ftp, true))) - { - // basic decript data update_server_ftp. - $this->componentData->sales_server_ftp = rtrim($basic->decryptString($this->componentData->sales_server_ftp), "\0"); - } - // now move the file - $this->moveFileToFtpServer($this->filepath, $this->componentData->sales_server_ftp, $this->componentSalesName.'.zip',false); - } - } - // remove the component folder since we are done - if ($this->removeFolder($this->componentPath)) - { - return true; - } - } - return false; - } - - protected function removeFolder($dir, $git = false) - { - if (JFolder::exists($dir)) - { - $it = new RecursiveDirectoryIterator($dir); - $it = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); - foreach ($it as $file) - { - if ('.' === $file->getBasename() || '..' === $file->getBasename()) continue; - if ($file->isDir()) - { - if ($git && strpos($file->getPathname(), $dir.'/.git') !== false) continue; - JFolder::delete($file->getPathname()); - } - else - { - if ($git && strpos($file->getPathname(), $dir.'/.git') !== false) continue; - JFile::delete($file->getPathname()); - } - } - if (!$git && JFolder::delete($dir)) - { - return true; - } - } - return false; - } - - protected function writeFile($path,$data) - { - $fh = fopen($path, "w"); - if (!is_resource($fh)) - { - return false; - } - if (fwrite($fh, $data)) - { - // close file. - fclose($fh); - return true; - } - // close file. - fclose($fh); - return false; - } - - protected function setMethodGetItem($view) - { - $script = ''; - // go from json to array - if(isset($this->jsonItemBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonItemBuilder[$view])) - { - foreach ($this->jsonItemBuilder[$view] as $jsonItem) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$jsonItem."))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Convert the ".$jsonItem." field to an array."; - $script .= "\n\t\t\t\t\$".$jsonItem." = new Registry;"; - $script .= "\n\t\t\t\t\$".$jsonItem."->loadString(\$item->".$jsonItem.");"; - $script .= "\n\t\t\t\t\$item->".$jsonItem." = \$".$jsonItem."->toArray();"; - $script .= "\n\t\t\t}"; - } - } - // go from json to string - if (isset($this->jsonStringBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonStringBuilder[$view])) - { - $makeArray = ''; - foreach ($this->jsonStringBuilder[$view] as $jsonString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$jsonString."))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." JSON Decode ".$jsonString."."; - if (strpos($jsonString, 'group') !== false) - { - $makeArray = ',true'; - } - $script .= "\n\t\t\t\t\$item->".$jsonString." = json_decode(\$item->".$jsonString.$makeArray.");"; - $script .= "\n\t\t\t}"; - } - } - // go from base64 to string - if (isset($this->base64Builder[$view]) && ComponentbuilderHelper::checkArray($this->base64Builder[$view])) - { - foreach ($this->base64Builder[$view] as $baseString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$baseString."))"; // TODO && base64_encode(base64_decode(\$item->".$baseString.", true)) === \$item->".$baseString.")"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." base64 Decode ".$baseString."."; - $script .= "\n\t\t\t\t\$item->".$baseString." = base64_decode(\$item->".$baseString.");"; - $script .= "\n\t\t\t}"; - } - } - // decryption - if ((isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) || (isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view]))) - { - $Component = $this->fileContentStatic['###Component###']; - if (isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - foreach ($this->basicEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$baseString.") && \$basickey && !is_numeric(\$item->".$baseString.") && \$item->".$baseString." === base64_encode(base64_decode(\$item->".$baseString.", true)))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." basic decript data ".$baseString."."; - $script .= "\n\t\t\t\t\$item->".$baseString." = rtrim(\$basic->decryptString(\$item->".$baseString."), ".'"\0"'.");"; - $script .= "\n\t\t\t}"; - } - } - if (isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get the advanced encription key."; - $script .= "\n\t\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - foreach ($this->advancedEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$baseString.") && \$advancedkey && !is_numeric(\$item->".$baseString.") && \$item->".$baseString." === base64_encode(base64_decode(\$item->".$baseString.", true)))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." advanced decript data ".$baseString."."; - $script .= "\n\t\t\t\t\$item->".$baseString." = rtrim(\$advanced->decryptString(\$item->".$baseString."), ".'"\0"'.");"; - $script .= "\n\t\t\t}"; - } - } - } - - // add custom php to getitem method - if (isset($this->customScriptBuilder['php_getitem'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getitem'][$view])) - { - $script .= "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getitem'][$view]); - } - - return $script; - } - - protected function setCheckboxSave($view) - { - $script = ''; - if(isset($this->checkboxBuilder[$view]) && ComponentbuilderHelper::checkArray($this->checkboxBuilder[$view])) - { - foreach ($this->checkboxBuilder[$view] as $checkbox) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the empty ".$checkbox." item to data"; - $script .= "\n\t\tif (!isset(\$data['".$checkbox."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$checkbox."'] = '';"; - $script .= "\n\t\t}"; - } - } - return $script; - } - - protected function setMethodItemSave($view) - { - $script = ''; - // turn array into JSON string - if(isset($this->jsonItemBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonItemBuilder[$view])) - { - foreach ($this->jsonItemBuilder[$view] as $jsonItem) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the ".$jsonItem." items to data."; - $script .= "\n\t\tif (isset(\$data['".$jsonItem."']) && is_array(\$data['".$jsonItem."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$".$jsonItem." = new JRegistry;"; - $script .= "\n\t\t\t\$".$jsonItem."->loadArray(\$data['".$jsonItem."']);"; - $script .= "\n\t\t\t\$data['".$jsonItem."'] = (string) \$".$jsonItem.";"; - $script .= "\n\t\t}"; - $script .= "\n\t\telseif (!isset(\$data['".$jsonItem."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Set the empty ".$jsonItem." to data"; - $script .= "\n\t\t\t\$data['".$jsonItem."'] = '';"; - $script .= "\n\t\t}"; - } - } - // turn string into json string - if(isset($this->jsonStringBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonStringBuilder[$view])) - { - foreach ($this->jsonStringBuilder[$view] as $jsonString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the ".$jsonString." string to JSON string."; - $script .= "\n\t\tif (isset(\$data['".$jsonString."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$jsonString."'] = (string) json_encode(\$data['".$jsonString."']);"; - $script .= "\n\t\t}"; - } - } - // turn string into base 64 string - if(isset($this->base64Builder[$view]) && ComponentbuilderHelper::checkArray($this->base64Builder[$view])) - { - foreach ($this->base64Builder[$view] as $baseString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the ".$baseString." string to base64 string."; - $script .= "\n\t\tif (isset(\$data['".$baseString."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$baseString."'] = base64_encode(\$data['".$baseString."']);"; - $script .= "\n\t\t}"; - } - } - // turn string into encrypted string - if((isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) || (isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view]))) - { - $Component = $this->fileContentStatic['###Component###']; - if(isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the basic encription key."; - $script .= "\n\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object"; - $script .= "\n\t\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - foreach ($this->basicEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Encript data ".$baseString."."; - $script .= "\n\t\tif (isset(\$data['".$baseString."']) && \$basickey)"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$baseString."'] = \$basic->encryptString(\$data['".$baseString."']);"; - $script .= "\n\t\t}"; - } - } - if(isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the advanced encription key."; - $script .= "\n\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object"; - $script .= "\n\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - foreach ($this->advancedEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Encript data ".$baseString."."; - $script .= "\n\t\tif (isset(\$data['".$baseString."']) && \$advancedkey)"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$baseString."'] = \$advanced->encryptString(\$data['".$baseString."']);"; - $script .= "\n\t\t}"; - } - } - } - // add custom PHP to the save method - if(isset($this->customScriptBuilder['php_save'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_save'][$view])) - { - $script .= "\n\n" . str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_save'][$view]); - } - return $script; - } - - protected function setJmodelAdminBeforeDelete($view) - { - // add custom PHP to the delete Method - if(isset($this->customScriptBuilder['php_before_delete'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_before_delete'][$view])) - { - return "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_before_delete'][$view]); - } - return ""; - } - - protected function setJmodelAdminAfterDelete($view) - { - // add custom PHP to the delete Method - if(isset($this->customScriptBuilder['php_after_delete'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_after_delete'][$view])) - { - return "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_after_delete'][$view]); - } - return ""; - } - - protected function setPostSaveHook($view) - { - // add custom PHP to the post save hook Method - if(isset($this->customScriptBuilder['php_postsavehook'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_postsavehook'][$view])) - { - return "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_postsavehook'][$view])."\n\n\t\treturn;"; - } - return "\n\t\treturn;"; - - } - - protected function setJtableConstructor($view) - { - // reset - $oserver = ""; - // set component name - $component = $this->fileContentStatic['###component###']; - // add the tags observer - if (isset($this->tagsBuilder[$view]) && ComponentbuilderHelper::checkString($this->tagsBuilder[$view])) - { - $oserver .= "\n\n\t\t//".$this->setLine(__LINE__)." Adding Tag Options"; - $oserver .= "\n\t\tJTableObserverTags::createObserver(\$this, array('typeAlias' => 'com_".$component.".".$view."'));"; - } - // add the history/version observer - if (isset($this->historyBuilder[$view]) && ComponentbuilderHelper::checkString($this->historyBuilder[$view])) - { - $oserver .= "\n\n\t\t//".$this->setLine(__LINE__)." Adding History Options"; - $oserver .= "\n\t\tJTableObserverContenthistory::createObserver(\$this, array('typeAlias' => 'com_".$component.".".$view."'));"; - } - return $oserver; - } - - protected function setJtableAliasCategory($view) - { - // only add Observers if both title, alias and category is availabe in view - if (array_key_exists($view, $this->catCodeBuilder)) - { - $code = $this->catCodeBuilder[$view]['code']; - return ", '".$code."' => \$this->".$code; - } - return ''; - } - - protected function setUninstallScript() - { - // reset script - $script = ''; - if (isset($this->uninstallScriptBuilder) && ComponentbuilderHelper::checkArray($this->uninstallScriptBuilder)) - { - $component = $this->fileContentStatic['###component###']; - // start loading the data to delet - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get Application object"; - $script .= "\n\t\t\$app = JFactory::getApplication();"; - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get The Database object"; - $script .= "\n\t\t\$db = JFactory::getDbo();"; - - foreach ($this->uninstallScriptBuilder as $viewName => $typeAlias) - { - // set a var value - $view = ComponentbuilderHelper::safeString($viewName); - - // First check if data is till in table - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Select id from content type table"; - $script .= "\n\t\t\$query->select(\$db->quoteName('type_id'));"; - $script .= "\n\t\t\$query->from(\$db->quoteName('#__content_types'));"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Where ".$viewName." alias is found"; - $script .= "\n\t\t\$query->where( \$db->quoteName('type_alias') . ' = '. \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Execute query to see if alias is found"; - $script .= "\n\t\t\$db->execute();"; - $script .= "\n\t\t\$".$view."_found = \$db->getNumRows();"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Now check if there were any rows"; - $script .= "\n\t\tif (\$".$view."_found)"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Since there are load the needed ".$view." type ids"; - $script .= "\n\t\t\t\$".$view."_ids = \$db->loadColumn();"; - - // Now remove the actual type entry - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." from the content type table"; - $script .= "\n\t\t\t\$".$view."_condition = array( \$db->quoteName('type_alias') . ' = '. \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->delete(\$db->quoteName('#__content_types'));"; - $script .= "\n\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\t\tif (\$".$view."_done);"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$viewName." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\t\$app->enqueueMessage(JText::_('The (".$typeAlias.") type alias was removed from the <b>#__content_type</b> table'));"; - $script .= "\n\t\t\t}"; - - // Now remove the related items from contentitem tag map table - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the contentitem tag map table"; - $script .= "\n\t\t\t\$".$view."_condition = array( \$db->quoteName('type_alias') . ' = '. \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->delete(\$db->quoteName('#__contentitem_tag_map'));"; - $script .= "\n\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\t\tif (\$".$view."_done);"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$viewName." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\t\$app->enqueueMessage(JText::_('The (".$typeAlias.") type alias was removed from the <b>#__contentitem_tag_map</b> table'));"; - $script .= "\n\t\t\t}"; - - // Now remove the related items from ucm content table - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the ucm content table"; - $script .= "\n\t\t\t\$".$view."_condition = array( \$db->quoteName('core_type_alias') . ' = ' . \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->delete(\$db->quoteName('#__ucm_content'));"; - $script .= "\n\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\t\tif (\$".$view."_done);"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$viewName." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\t\$app->enqueueMessage(JText::_('The (".$typeAlias.") type alias was removed from the <b>#__ucm_content</b> table'));"; - $script .= "\n\t\t\t}"; - - // setup the foreach loop of ids - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Make sure that all the ".$viewName." items are cleared from DB"; - $script .= "\n\t\t\tforeach (\$".$view."_ids as \$".$view."_id)"; - $script .= "\n\t\t\t{"; - - // Now remove the related items from ucm base table - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the ucm base table"; - $script .= "\n\t\t\t\t\$".$view."_condition = array( \$db->quoteName('ucm_type_id') . ' = ' . \$".$view."_id);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\t\$query->delete(\$db->quoteName('#__ucm_base'));"; - $script .= "\n\t\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\t\$db->execute();"; - - // Now remove the related items from ucm history table - $script .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the ucm history table"; - $script .= "\n\t\t\t\t\$".$view."_condition = array( \$db->quoteName('ucm_type_id') . ' = ' . \$".$view."_id);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\t\$query->delete(\$db->quoteName('#__ucm_history'));"; - $script .= "\n\t\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\t\$db->execute();"; - - $script .= "\n\t\t\t}"; - - $script .= "\n\t\t}"; - } - - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." If All related items was removed queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\$app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_base</b> table'));"; - $script .= "\n\t\t\$app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_history</b> table'));"; - // finaly remove the assets from the assets table - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Remove ".$component." assets from the assets table"; - $script .= "\n\t\t\$".$component."_condition = array( \$db->quoteName('name') . ' LIKE ' . \$db->quote('com_".$component."%') );"; - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\$query->delete(\$db->quoteName('#__assets'));"; - $script .= "\n\t\t\$query->where(\$".$component."_condition);"; - $script .= "\n\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\tif (\$".$view."_done);"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$component." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\$app->enqueueMessage(JText::_('All related items was removed from the <b>#__assets</b> table'));"; - $script .= "\n\t\t}"; - // done - $script .= "\n"; - - } - return $script; - } - - protected function setComponentToContentTypes($action) - { - $script = ''; - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - // set component name - $component = $this->fileContentStatic['###component###']; - // reset - $dbStuff = array(); - // start loading the content type data - foreach ($this->componentData->admin_views as $viewData) - { - // set main keys - $view = ComponentbuilderHelper::safeString($viewData['settings']->name_single); - // set list view keys - $views = ComponentbuilderHelper::safeString($viewData['settings']->name_list); - // get this views content type data - $dbStuff[$view] = $this->getContentType($view, $component); - // get the correct views name - $checkViews = (isset($this->catCodeBuilder[$view]['views']) && ComponentbuilderHelper::checkString($this->catCodeBuilder[$view]['views'])) ? $this->catCodeBuilder[$view]['views'] : $views; - if (ComponentbuilderHelper::checkArray($dbStuff[$view]) && array_key_exists($view, $this->catCodeBuilder) && ($checkViews == $views)) - { - $dbStuff[$view.' catagory'] = $this->getCategoryContentType($view, $views, $component); - } - elseif(!isset($dbStuff[$view]) || !ComponentbuilderHelper::checkArray($dbStuff[$view])) - { - // remove if not array - unset($dbStuff[$view]); - } - - } - // build the db insert query - if (ComponentbuilderHelper::checkArray($dbStuff)) - { - $taabb = ''; - if ($action == 'update') - { - $taabb = "\t"; - } - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get The Database object"; - $script .= "\n\t\t\t\$db = JFactory::getDbo();"; - foreach ($dbStuff as $name => $tables) - { - if (ComponentbuilderHelper::checkArray($tables)) - { - $code = ComponentbuilderHelper::safeString($name); - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Create the ".$name." content type object."; - $script .= "\n\t\t\t\$".$code." = new stdClass();"; - foreach ($tables as $table => $data) - { - $script .= "\n\t\t\t\$".$code."->".$table." = '".$data."';"; - } - if ($action == 'update') - { - // we first load script to check if data exist - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Check if ".$name." type is already in content_type DB."; - $script .= "\n\t\t\t\$".$code."_id = null;"; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->select(\$db->quoteName(array('type_id')));"; - $script .= "\n\t\t\t\$query->from(\$db->quoteName('#__content_types'));"; - $script .= "\n\t\t\t\$query->where(\$db->quoteName('type_alias') . ' LIKE '. \$db->quote($".$code."->type_alias));"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\$db->execute();"; - } - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Set the object into the content types table."; - if ($action == 'update') - { - $script .= "\n\t\t\tif (\$db->getNumRows())"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t\$".$code."->type_id = \$db->loadResult();"; - $script .= "\n\t\t\t\t\$".$code."_Updated = \$db->updateObject('#__content_types', \$".$code.", 'type_id');"; - $script .= "\n\t\t\t}"; - $script .= "\n\t\t\telse"; - $script .= "\n\t\t\t{"; - } - $script .= "\n\t\t\t".$taabb."\$".$code."_Inserted = \$db->insertObject('#__content_types', \$".$code.");"; - if ($action == 'update') - { - $script .= "\n\t\t\t}"; - } - } - } - $script .= "\n\n"; - } - } - return $script; - } - - protected function setInstallScript() - { - // reset script - $script = $this->setComponentToContentTypes('install'); - - if (isset($this->paramsBuilder) && ComponentbuilderHelper::checkString($this->paramsBuilder)) - { - if (ComponentbuilderHelper::checkString($script)) - { - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Install the global extenstion params."; - } - else - { - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Install the global extenstion params."; - $script .= "\n\t\t\t\$db = JFactory::getDbo();"; - } - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Field to update."; - $script .= "\n\t\t\t\$fields = array("; - $script .= "\n\t\t\t\t\$db->quoteName('params') . ' = ' . \$db->quote('{".$this->paramsBuilder."}'),"; - $script .= "\n\t\t\t);"; - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Condition."; - $script .= "\n\t\t\t\$conditions = array("; - $script .= "\n\t\t\t\t\$db->quoteName('element') . ' = ' . \$db->quote('com_".$component."')"; - $script .= "\n\t\t\t);"; - $script .= "\n\n\t\t\t\$query->update(\$db->quoteName('#__extensions'))->set(\$fields)->where(\$conditions);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\$allDone = \$db->execute();"; - } - - if (ComponentbuilderHelper::checkString($script)) - { - $script .= "\n\t\t\t".'echo \'<a target="_blank" href="'.$this->fileContentStatic['###AUTHORWEBSITE###'].'" title="'.$this->fileContentStatic['###Component_name###'].'">'; - $script .= "\n\t\t\t\t".'<img src="components/com_'.$component.'/assets/images/component-300.'.$this->componentImageType.'"/>'; - $script .= "\n\t\t\t\t".'</a>\';'; - - return $script; - } - return "\n\t\t\t//".$this->setLine(__LINE__)." noting to install."; - } - - protected function setUpdateScript() - { - // reset script - $script = $this->setComponentToContentTypes('update'); - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $script .= "\n\t\t\t".'echo \'<a target="_blank" href="'.$this->fileContentStatic['###AUTHORWEBSITE###'].'" title="'.$this->fileContentStatic['###Component_name###'].'">'; - $script .= "\n\t\t\t\t".'<img src="components/com_'.$this->fileContentStatic['###component###'].'/assets/images/component-300.'.$this->componentImageType.'"/>'; - $script .= "\n\t\t\t\t".'</a>'; - $script .= "\n\t\t\t\t<h3>Upgrade to Version ".$this->fileContentStatic['###VERSION###']." Was Successful! Let us know if anything is not working as expected.</h3>';"; - } - - if (ComponentbuilderHelper::checkString($script)) - { - return $script; - } - return "\n\t\t\t//".$this->setLine(__LINE__)." noting to update."; - } - - protected function getContentType($view, $component) - { - // add if history is to be kept or if tags is added - if ((isset($this->historyBuilder[$view]) && ComponentbuilderHelper::checkString($this->historyBuilder[$view])) || (isset($this->tagsBuilder[$view]) && ComponentbuilderHelper::checkString($this->tagsBuilder[$view]))) - { - // reset array - $array = array(); - // set needed defaults - $alias = (array_key_exists($view, $this->aliasBuilder)) ? $this->aliasBuilder[$view] : 'null'; - $title = (array_key_exists($view, $this->titleBuilder)) ? $this->titleBuilder[$view] : 'null'; - $category = (array_key_exists($view, $this->catCodeBuilder)) ? $this->catCodeBuilder[$view]['code'] : 'null'; - $categoryHistory = (array_key_exists($view, $this->catCodeBuilder)) ? - '{"sourceColumn": "'.$category.'","targetTable": "#__categories","targetColumn": "id","displayColumn": "title"},': ''; - $Component = ComponentbuilderHelper::safeString($component, 'F'); - $View = ComponentbuilderHelper::safeString($view, 'F'); - $maintext = (isset($this->maintextBuilder[$view]) && ComponentbuilderHelper::checkString($this->maintextBuilder[$view])) ? $this->maintextBuilder[$view] : 'null'; - $hiddenFields = (isset($this->hiddenFieldsBuilder[$view]) && ComponentbuilderHelper::checkString($this->hiddenFieldsBuilder[$view])) ? $this->hiddenFieldsBuilder[$view]: ''; - $dynamicfields = (isset($this->dynamicfieldsBuilder[$view]) && ComponentbuilderHelper::checkString($this->dynamicfieldsBuilder[$view])) ? $this->dynamicfieldsBuilder[$view] : ''; - $intFields = (isset($this->intFieldsBuilder[$view]) && ComponentbuilderHelper::checkString($this->intFieldsBuilder[$view])) ? $this->intFieldsBuilder[$view] : ''; - $customfieldlinks = (isset($this->customFieldLinksBuilder[$view]) && ComponentbuilderHelper::checkString($this->customFieldLinksBuilder[$view])) ? $this->customFieldLinksBuilder[$view] : ''; - // build uninstall script for content types - $this->uninstallScriptBuilder[$View] = 'com_'.$component.'.'.$view; - // check if this view has metadata - if (isset($this->metadataBuilder[$view]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$view])) - { - $core_metadata = 'metadata'; - $core_metakey = 'metakey'; - $core_metadesc = 'metadesc'; - } - else - { - $core_metadata = 'null'; - $core_metakey = 'null'; - $core_metadesc = 'null'; - } - // check if view has access - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $core_access = 'access'; - $accessHistory = ',{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"}'; - } - else - { - $core_access = 'null'; - $accessHistory = ''; - } - // set the title - $array['type_title'] = $Component.' '.$View; - // set the alias - $array['type_alias'] = 'com_'.$component.'.'.$view; - // set the table - $array['table'] = '{"special": {"dbtable": "#__'.$component.'_'.$view.'","key": "id","type": "'.$View.'","prefix": "'.$component.'Table","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - // set field map - $array['field_mappings'] = '{"common": {"core_content_item_id": "id","core_title": "'.$title.'","core_state": "published","core_alias": "'.$alias.'","core_created_time": "created","core_modified_time": "modified","core_body": "'.$maintext.'","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "'.$core_access.'","core_params": "params","core_featured": "null","core_metadata": "'.$core_metadata.'","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "'.$core_metakey.'","core_metadesc": "'.$core_metadesc.'","core_catid": "'.$category.'","core_xreference": "null","asset_id": "asset_id"},"special": {'.$dynamicfields.'}}'; - // set the router class method - $array['router'] = $Component.'HelperRoute::get'.$View.'Route'; - // set content history - $array['content_history_options'] = '{"formFile": "administrator/components/com_'.$component.'/models/forms/'.$view.'.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"'.$hiddenFields.'],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering"'.$intFields.'],"displayLookup": ['.$categoryHistory.'{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}'.$accessHistory.',{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}'.$customfieldlinks.']}'; - - return $array; - } - return false; - } - - protected function getCategoryContentType($view, $views, $component) - { - $category = $this->catCodeBuilder[$view]['code']; - $Component = ComponentbuilderHelper::safeString($component, 'F'); - $View = ComponentbuilderHelper::safeString($view, 'F'); - // build uninstall script for content types - $this->uninstallScriptBuilder[$View.' '.$category] = 'com_'.$component.'.'.$views.'.category'; - // set the title - $array['type_title'] = $Component.' '.$View.' '.ComponentbuilderHelper::safeString($category, 'F'); - // set the alias - $array['type_alias'] = 'com_'.$component.'.'.$views.'.category'; - // set the table - $array['table'] = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}'; - // set field map - $array['field_mappings'] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special":{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}'; - // set the router class method - $array['router'] = $Component.'HelperRoute::getCategoryRoute'; - // set content history - $array['content_history_options'] = '{"formFile":"administrator\/components\/com_categories\/models\/forms\/category.xml", "hideFields":["asset_id","checked_out","checked_out_time","version","lft","rgt","level","path","extension"], "ignoreChanges":["modified_user_id", "modified_time", "checked_out", "checked_out_time", "version", "hits", "path"],"convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"created_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"access","targetTable":"#__viewlevels","targetColumn":"id","displayColumn":"title"},{"sourceColumn":"modified_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"parent_id","targetTable":"#__categories","targetColumn":"id","displayColumn":"title"}]}'; - - return $array; - } - - protected function setRouterHelp($viewName_single, $viewName_list, $front = false) - { - // add if tags is added, also for all front item views - if (((isset($this->tagsBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->tagsBuilder[$viewName_single])) || $front) && (!in_array($viewName_single,$this->setRouterHelpDone))) - { - // insure we load a view only once - $this->setRouterHelpDone[] = $viewName_single; - // build view route helper - $View = ComponentbuilderHelper::safeString($viewName_single, 'F'); - $routeHelper = array(); - $routeHelper[] = "\n\n\t/**"; - $routeHelper[] = "\t* @param int The route of the ".$View; - $routeHelper[] = "\t*/"; - if ('category' == $viewName_single || 'categories' == $viewName_single) - { - $routeHelper[] = "\tpublic static function get".$View."Route(\$id = 0)"; - } - else - { - $routeHelper[] = "\tpublic static function get".$View."Route(\$id = 0, \$catid = 0)"; - } - $routeHelper[] = "\t{"; - $routeHelper[] = "\t\tif (\$id > 0)"; - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)." Initialize the needel array."; - $routeHelper[] = "\t\t\t\$needles = array("; - $routeHelper[] = "\t\t\t\t'".$viewName_single."' => array((int) \$id)"; - $routeHelper[] = "\t\t\t);"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)." Create the link"; - $routeHelper[] = "\t\t\t\$link = 'index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_single."&id='. \$id;"; - $routeHelper[] = "\t\t}"; - $routeHelper[] = "\t\telse"; - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)." Initialize the needel array."; - $routeHelper[] = "\t\t\t\$needles = array();"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)."Create the link but don't add the id."; - $routeHelper[] = "\t\t\t\$link = 'index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_single."';"; - $routeHelper[] = "\t\t}"; - if ('category' != $viewName_single && 'categories' != $viewName_single) - { - $routeHelper[] = "\t\tif (\$catid > 1)"; - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t\$categories = JCategories::getInstance('".$this->fileContentStatic['###component###'].".".$viewName_list."');"; - $routeHelper[] = "\t\t\t\$category = \$categories->get(\$catid);"; - $routeHelper[] = "\t\t\tif (\$category)"; - $routeHelper[] = "\t\t\t{"; - $routeHelper[] = "\t\t\t\t\$needles['category'] = array_reverse(\$category->getPath());"; - $routeHelper[] = "\t\t\t\t\$needles['categories'] = \$needles['category'];"; - $routeHelper[] = "\t\t\t\t\$link .= '&catid='.\$catid;"; - $routeHelper[] = "\t\t\t}"; - $routeHelper[] = "\t\t}"; - } - if (isset($this->hasMenuGlobal[$viewName_single])) - { - $routeHelper[] = "\n\t\tif (\$item = self::_findItem(\$needles, '".$viewName_single."'))"; - } - else - { - $routeHelper[] = "\n\t\tif (\$item = self::_findItem(\$needles))"; - } - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t\$link .= '&Itemid='.\$item;"; - $routeHelper[] = "\t\t}"; - $routeHelper[] = "\n\t\treturn \$link;"; - $routeHelper[] = "\t}"; - - return implode("\n",$routeHelper); - } - return ''; - } - - protected function routerParseSwitch($view) - { - // add if tags is added, also for all front item views - if (1) - { - // build view route switch - $routerSwitch = array(); - - $routerSwitch[] = "\n\t\t\tcase '".$view."':"; - $routerSwitch[] = "\t\t\t\t\$vars['view'] = '".$view."';"; - $routerSwitch[] = "\t\t\t\tif (is_numeric(\$segments[\$count-1]))"; - $routerSwitch[] = "\t\t\t\t{"; - $routerSwitch[] = "\t\t\t\t\t\$vars['id'] = (int) \$segments[\$count-1];"; - $routerSwitch[] = "\t\t\t\t}"; - $routerSwitch[] = "\t\t\t\telse"; - $routerSwitch[] = "\t\t\t\t{"; - $routerSwitch[] = "\t\t\t\t\t\$id = \$this->getVar('".$view."', \$segments[\$count-1], 'alias', 'id');"; - $routerSwitch[] = "\t\t\t\t\tif(\$id)"; - $routerSwitch[] = "\t\t\t\t\t{"; - $routerSwitch[] = "\t\t\t\t\t\t\$vars['id'] = \$id;"; - $routerSwitch[] = "\t\t\t\t\t}"; - $routerSwitch[] = "\t\t\t\t}"; - $routerSwitch[] = "\t\t\t\tbreak;"; - - return implode("\n",$routerSwitch); - } - elseif (0) - { - // build view route switch - $routerSwitch = array(); - - $routerSwitch[] = "\n\t\t\tcase '".$view."':"; - $routerSwitch[] = "\t\t\t\t\$vars['view'] = '".$view."';"; - $routerSwitch[] = "\t\t\t\tbreak;"; - - return implode("\n",$routerSwitch); - } - return ''; - } - - protected function routerBuildViews($view) - { - if (isset($this->fileContentStatic['###ROUTER_BUILD_VIEWS###']) && ComponentbuilderHelper::checkString($this->fileContentStatic['###ROUTER_BUILD_VIEWS###'])) - { - return " || \$view == '".$view."'"; - } - else - { - return "\$view == '".$view."'"; - } - } - - protected function setBatchMove($viewName_single) - { - // set needed defaults - $title = false; - $alias = false; - $category = false; - $batchmove = array(); - $VIEW = ComponentbuilderHelper::safeString($viewName_single, 'U'); - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // only load category if set in this view - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $category = $this->catCodeBuilder[$viewName_single]['code']; - } - // only load alias if set in this view - if (array_key_exists($viewName_single, $this->aliasBuilder)) - { - $alias = $this->aliasBuilder[$viewName_single]; - } - // only load title if set in this view - if (array_key_exists($viewName_single, $this->titleBuilder)) - { - $title = $this->titleBuilder[$viewName_single]; - } - // prepare custom script - if (isset($this->customScriptBuilder['php_batchmove'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_batchmove'][$viewName_single])) - { - $customScript = "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_batchmove'][$viewName_single]); - } - else - { - $customScript = ''; - } - - $batchmove[] = "\n\t/**"; - $batchmove[] = "\t * Batch move items to a new category"; - $batchmove[] = "\t *"; - $batchmove[] = "\t * @param integer \$value The new category ID."; - $batchmove[] = "\t * @param array \$pks An array of row IDs."; - $batchmove[] = "\t * @param array \$contexts An array of item contexts."; - $batchmove[] = "\t *"; - $batchmove[] = "\t * @return boolean True if successful, false otherwise and internal error is set."; - $batchmove[] = "\t *"; - $batchmove[] = "\t * @since\t12.2"; - $batchmove[] = "\t */"; - $batchmove[] = "\tprotected function batchMove(\$values, \$pks, \$contexts)"; - $batchmove[] = "\t{"; - $batchmove[] = "\t\tif (empty(\$this->batchSet))"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\t//".$this->setLine(__LINE__)." Set some needed variables."; - $batchmove[] = "\t\t\t\$this->user = JFactory::getUser();"; - $batchmove[] = "\t\t\t\$this->table = \$this->getTable();"; - $batchmove[] = "\t\t\t\$this->tableClassName = get_class(\$this->table);"; - $batchmove[] = "\t\t\t\$this->contentType = new JUcmType;"; - $batchmove[] = "\t\t\t\$this->type = \$this->contentType->getTypeByTable(\$this->tableClassName);"; - $batchmove[] = "\t\t\t\$this->canDo = ".$Helper."::getActions('".$viewName_single."');"; - $batchmove[] = "\t\t}"; - - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $batchmove[] = "\n\t\tif (!\$this->canDo->get('".$core['core.edit']."') && !\$this->canDo->get('".$core['core.batch']."'))"; - } - else - { - $batchmove[] = "\n\t\tif (!\$this->canDo->get('core.edit') && !\$this->canDo->get('core.batch'))"; - } - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\t\$this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT'));"; - $batchmove[] = "\t\t\treturn false;"; - $batchmove[] = "\t\t}".$customScript; - - $batchmove[] = "\n\t\t//".$this->setLine(__LINE__)." make sure published only updates if user has the permission."; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $batchmove[] = "\t\tif (isset(\$values['published']) && !\$this->canDo->get('".$core['core.edit.state']."'))"; - } - else - { - $batchmove[] = "\t\tif (isset(\$values['published']) && !\$this->canDo->get('core.edit.state'))"; - } - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\tunset(\$values['published']);"; - $batchmove[] = "\t\t}"; - - $batchmove[] = "\t\t//".$this->setLine(__LINE__)." remove move_copy from array"; - $batchmove[] = "\t\tunset(\$values['move_copy']);"; - - if ($category) - { - $batchmove[] = "\n\t\tif (isset(\$values['category']) && (int) \$values['category'] > 0 && !static::checkCategoryId(\$values['category']))"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\treturn false;"; - $batchmove[] = "\t\t}"; - $batchmove[] = "\t\telseif (isset(\$values['category']) && (int) \$values['category'] > 0)"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\t//".$this->setLine(__LINE__)." move the category value to correct field name"; - $batchmove[] = "\t\t\t\$values['".$category."'] = \$values['category'];"; - $batchmove[] = "\t\t\tunset(\$values['category']);"; - $batchmove[] = "\t\t}"; - $batchmove[] = "\t\telseif (isset(\$values['category']))"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\tunset(\$values['category']);"; - $batchmove[] = "\t\t}\n"; - } - - $batchmove[] = "\n\t\t//".$this->setLine(__LINE__)." Parent exists so we proceed"; - $batchmove[] = "\t\tforeach (\$pks as \$pk)"; - $batchmove[] = "\t\t{"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $batchmove[] = "\t\t\tif (!\$this->user->authorise('".$core['core.edit']."', \$contexts[\$pk]))"; - } - else - { - $batchmove[] = "\t\t\tif (!\$this->user->authorise('core.edit', \$contexts[\$pk]))"; - } - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT'));"; - - $batchmove[] = "\n\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check that the row actually exists"; - $batchmove[] = "\t\t\tif (!\$this->table->load(\$pk))"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\tif (\$error = \$this->table->getError())"; - $batchmove[] = "\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Fatal error"; - $batchmove[] = "\t\t\t\t\t\$this->setError(\$error);"; - - $batchmove[] = "\n\t\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t\t}"; - $batchmove[] = "\t\t\t\telse"; - $batchmove[] = "\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Not fatal error"; - $batchmove[] = "\t\t\t\t\t\$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', \$pk));"; - $batchmove[] = "\t\t\t\t\tcontinue;"; - $batchmove[] = "\t\t\t\t}"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." insert all set values."; - $batchmove[] = "\t\t\tif (".$Helper."::checkArray(\$values))"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\tforeach (\$values as \$key => \$value)"; - $batchmove[] = "\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Do special action for access."; - $batchmove[] = "\t\t\t\t\tif ('access' == \$key && strlen(\$value) > 0)"; - $batchmove[] = "\t\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;"; - $batchmove[] = "\t\t\t\t\t}"; - $batchmove[] = "\t\t\t\t\telseif (strlen(\$value) > 0 && isset(\$this->table->\$key))"; - $batchmove[] = "\t\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;"; - $batchmove[] = "\t\t\t\t\t}"; - $batchmove[] = "\t\t\t\t}"; - $batchmove[] = "\t\t\t}\n"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check the row."; - $batchmove[] = "\t\t\tif (!\$this->table->check())"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchmove[] = "\n\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\tif (!empty(\$this->type))"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->createTagsHelper(\$this->tagsObserver, \$this->type, \$pk, \$this->typeAlias, \$this->table);"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." Store the row."; - $batchmove[] = "\t\t\tif (!\$this->table->store())"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchmove[] = "\n\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t}"; - $batchmove[] = "\t\t}"; - - $batchmove[] = "\n\t\t//".$this->setLine(__LINE__)." Clean the cache"; - $batchmove[] = "\t\t\$this->cleanCache();"; - - $batchmove[] = "\n\t\treturn true;"; - $batchmove[] = "\t}"; - - return "\n".implode("\n",$batchmove); - } - - protected function setBatchCopy($viewName_single) - { - // set needed defaults - $title = false; - $alias = false; - $category = false; - $batchcopy = array(); - $VIEW = ComponentbuilderHelper::safeString($viewName_single, 'U'); - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // only load category if set in this view - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $category = $this->catCodeBuilder[$viewName_single]['code']; - } - - // only load alias if set in this view - if (array_key_exists($viewName_single, $this->aliasBuilder)) - { - $alias = $this->aliasBuilder[$viewName_single]; - } - // only load title if set in this view - if (array_key_exists($viewName_single, $this->titleBuilder)) - { - $title = $this->titleBuilder[$viewName_single]; - } - // prepare custom script - if (isset($this->customScriptBuilder['php_batchcopy'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_batchcopy'][$viewName_single])) - { - $customScript = "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_batchcopy'][$viewName_single]); - } - else - { - $customScript = ''; - } - - $batchcopy[] = "\n\t/**"; - $batchcopy[] = "\t * Batch copy items to a new category or current."; - $batchcopy[] = "\t *"; - $batchcopy[] = "\t * @param integer \$values The new values."; - $batchcopy[] = "\t * @param array \$pks An array of row IDs."; - $batchcopy[] = "\t * @param array \$contexts An array of item contexts."; - $batchcopy[] = "\t *"; - $batchcopy[] = "\t * @return mixed An array of new IDs on success, boolean false on failure."; - $batchcopy[] = "\t *"; - $batchcopy[] = "\t * @since\t12.2"; - $batchcopy[] = "\t */"; - $batchcopy[] = "\tprotected function batchCopy(\$values, \$pks, \$contexts)"; - $batchcopy[] = "\t{"; - - $batchcopy[] = "\t\tif (empty(\$this->batchSet))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." Set some needed variables."; - $batchcopy[] = "\t\t\t\$this->user = JFactory::getUser();"; - $batchcopy[] = "\t\t\t\$this->table = \$this->getTable();"; - $batchcopy[] = "\t\t\t\$this->tableClassName = get_class(\$this->table);"; - $batchcopy[] = "\t\t\t\$this->contentType = new JUcmType;"; - $batchcopy[] = "\t\t\t\$this->type = \$this->contentType->getTypeByTable(\$this->tableClassName);"; - $batchcopy[] = "\t\t\t\$this->canDo = ".$Helper."::getActions('".$viewName_single."');"; - $batchcopy[] = "\t\t}"; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - $batchcopy[] = "\n\t\tif (!\$this->canDo->get('".$core['core.create']."') && !\$this->canDo->get('".$core['core.batch']."'))"; - } - else - { - $batchcopy[] = "\n\t\tif (!\$this->canDo->get('core.create') || !\$this->canDo->get('core.batch'))"; - } - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\treturn false;"; - $batchcopy[] = "\t\t}".$customScript; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." get list of uniqe fields"; - $batchcopy[] = "\t\t\$uniqeFields = \$this->getUniqeFields();"; - $batchcopy[] = "\t\t//".$this->setLine(__LINE__)." remove move_copy from array"; - $batchcopy[] = "\t\tunset(\$values['move_copy']);"; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." make sure published is set"; - $batchcopy[] = "\t\tif (!isset(\$values['published']))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t\$values['published'] = 0;"; - $batchcopy[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $batchcopy[] = "\t\telseif (isset(\$values['published']) && !\$this->canDo->get('".$core['core.edit.state']."'))"; - } - else - { - $batchcopy[] = "\t\telseif (isset(\$values['published']) && !\$this->canDo->get('core.edit.state'))"; - } - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t\t\$values['published'] = 0;"; - $batchcopy[] = "\t\t}"; - - if ($category) - { - $batchcopy[] = "\n\t\tif (isset(\$values['category']) && (int) \$values['category'] > 0 && !static::checkCategoryId(\$values['category']))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\treturn false;"; - $batchcopy[] = "\t\t}"; - $batchcopy[] = "\t\telseif (isset(\$values['category']) && (int) \$values['category'] > 0)"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." move the category value to correct field name"; - $batchcopy[] = "\t\t\t\$values['".$category."'] = \$values['category'];"; - $batchcopy[] = "\t\t\tunset(\$values['category']);"; - $batchcopy[] = "\t\t}"; - $batchcopy[] = "\t\telseif (isset(\$values['category']))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\tunset(\$values['category']);"; - $batchcopy[] = "\t\t}"; - } - - $batchcopy[] = "\n\t\t\$newIds = array();"; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." Parent exists so let's proceed"; - $batchcopy[] = "\t\twhile (!empty(\$pks))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." Pop the first ID off the stack"; - $batchcopy[] = "\t\t\t\$pk = array_shift(\$pks);"; - - $batchcopy[] = "\n\t\t\t\$this->table->reset();"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." only allow copy if user may edit this item."; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $batchcopy[] = "\n\t\t\tif (!\$this->user->authorise('".$core['core.edit']."', \$contexts[\$pk]))"; - } - else - { - $batchcopy[] = "\n\t\t\tif (!\$this->user->authorise('core.edit', \$contexts[\$pk]))"; - } - $batchcopy[] = "\n\t\t\t{"; - $batchcopy[] = "\n\t\t\t\t//".$this->setLine(__LINE__)." Not fatal error"; - $batchcopy[] = "\n\t\t\t\t\$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', \$pk));"; - $batchcopy[] = "\n\t\t\t\tcontinue;"; - $batchcopy[] = "\n\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check that the row actually exists"; - $batchcopy[] = "\t\t\tif (!\$this->table->load(\$pk))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tif (\$error = \$this->table->getError())"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Fatal error"; - $batchcopy[] = "\t\t\t\t\t\$this->setError(\$error);"; - - $batchcopy[] = "\n\t\t\t\t\treturn false;"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t\telse"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Not fatal error"; - $batchcopy[] = "\t\t\t\t\t\$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', \$pk));"; - $batchcopy[] = "\t\t\t\t\tcontinue;"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t}"; - if ($category && $alias == 'alias' && $title == 'title') - { - $batchcopy[] = "\n\t\t\tif (isset(\$values['".$category."']))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tstatic::generateTitle((int) \$values['".$category."'], \$this->table);"; - $batchcopy[] = "\t\t\t}"; - $batchcopy[] = "\t\t\telse"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tstatic::generateTitle((int) \$this->table->".$category.", \$this->table);"; - $batchcopy[] = "\t\t\t}"; - } - elseif ($category && $alias && $title) - { - $batchcopy[] = "\n\t\t\tif (isset(\$values['".$category."']))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tlist(\$this->table->".$title.", \$this->table->".$alias.") = \$this->generateNewTitle(\$values['".$category."'], \$this->table->".$alias.", \$this->table->".$title.");"; - $batchcopy[] = "\t\t\t}"; - $batchcopy[] = "\t\t\telse"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tlist(\$this->table->".$title.", \$this->table->".$alias.") = \$this->generateNewTitle(\$this->table->".$category.", \$this->table->".$alias.", \$this->table->".$title.");"; - $batchcopy[] = "\t\t\t}"; - } - elseif (!$category && $alias && $title) - { - $batchcopy[] = "\n\t\t\tlist(\$this->table->".$title.", \$this->table->".$alias.") = \$this->_generateNewTitle(\$this->table->".$alias.", \$this->table->".$title.");"; - } - elseif (!$category && !$alias && $title && $title != 'user') - { - $batchcopy[] = "\n\t\t\t\$this->table->".$title." = \$this->generateUniqe('".$title."',\$this->table->".$title.");"; - } - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." insert all set values"; - $batchcopy[] = "\t\t\tif (".$Helper."::checkArray(\$values))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tforeach (\$values as \$key => \$value)"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\tif (strlen(\$value) > 0 && isset(\$this->table->\$key))"; - $batchcopy[] = "\t\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;"; - $batchcopy[] = "\t\t\t\t\t}"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t}\n"; - - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." update all uniqe fields"; - $batchcopy[] = "\t\t\tif (".$Helper."::checkArray(\$uniqeFields))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tforeach (\$uniqeFields as \$uniqeField)"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t\$this->table->\$uniqeField = \$this->generateUniqe(\$uniqeField,\$this->table->\$uniqeField);"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Reset the ID because we are making a copy"; - $batchcopy[] = "\t\t\t\$this->table->id = 0;"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." TODO: Deal with ordering?"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." \$this->table->ordering\t= 1;"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check the row."; - $batchcopy[] = "\t\t\tif (!\$this->table->check())"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchcopy[] = "\n\t\t\t\treturn false;"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\tif (!empty(\$this->type))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\t\$this->createTagsHelper(\$this->tagsObserver, \$this->type, \$pk, \$this->typeAlias, \$this->table);"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Store the row."; - $batchcopy[] = "\t\t\tif (!\$this->table->store())"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchcopy[] = "\n\t\t\t\treturn false;"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Get the new item ID"; - $batchcopy[] = "\t\t\t\$newId = \$this->table->get('id');"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Add the new ID to the array"; - $batchcopy[] = "\t\t\t\$newIds[\$pk] = \$newId;"; - $batchcopy[] = "\t\t}"; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." Clean the cache"; - $batchcopy[] = "\t\t\$this->cleanCache();"; - - $batchcopy[] = "\n\t\treturn \$newIds;"; - $batchcopy[] = "\t}"; - - return "\n".implode("\n",$batchcopy); - } - - protected function setAliasTitleFix($viewName_single) - { - $fixUniqe = array(); - // only load this if these two items are set - if (array_key_exists($viewName_single, $this->aliasBuilder) && array_key_exists($viewName_single, $this->titleBuilder)) - { - // set needed defaults - $setCategory = false; - $alias = $this->aliasBuilder[$viewName_single]; - $title = $this->titleBuilder[$viewName_single]; - $VIEW = ComponentbuilderHelper::safeString($viewName_single, 'U'); - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $category = $this->catCodeBuilder[$viewName_single]['code']; - $setCategory = true; - } - // start building the fix - $fixUniqe[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the ".$title." for save as copy"; - $fixUniqe[] = "\t\tif (\$input->get('task') == 'save2copy')"; - $fixUniqe[] = "\t\t{"; - $fixUniqe[] = "\t\t\t\$origTable = clone \$this->getTable();"; - $fixUniqe[] = "\t\t\t\$origTable->load(\$input->getInt('id'));"; - $fixUniqe[] = "\n\t\t\tif (\$data['".$title."'] == \$origTable->".$title.")"; - $fixUniqe[] = "\t\t\t{"; - if ($setCategory) - { - $fixUniqe[] = "\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->generateNewTitle(\$data['".$category."'], \$data['".$alias."'], \$data['".$title."']);"; - } - else - { - $fixUniqe[] = "\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->_generateNewTitle(\$data['".$alias."'], \$data['".$title."']);"; - } - $fixUniqe[] = "\t\t\t\t\$data['".$title."'] = \$".$title.";"; - $fixUniqe[] = "\t\t\t\t\$data['".$alias."'] = \$".$alias.";"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\t\t\telse"; - $fixUniqe[] = "\t\t\t{"; - $fixUniqe[] = "\t\t\t\tif (\$data['".$alias."'] == \$origTable->".$alias.")"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data['".$alias."'] = '';"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\$data['published'] = 0;"; - $fixUniqe[] = "\t\t}"; - $fixUniqe[] = "\n\t\t//".$this->setLine(__LINE__)." Automatic handling of ".$alias." for empty fields"; - $fixUniqe[] = "\t\tif (in_array(\$input->get('task'), array('apply', 'save', 'save2new')) && (int) \$input->get('id') == 0)"; - $fixUniqe[] = "\t\t{"; - $fixUniqe[] = "\t\t\tif (\$data['".$alias."'] == null)"; - $fixUniqe[] = "\t\t\t{"; - $fixUniqe[] = "\t\t\t\tif (JFactory::getConfig()->get('unicodeslugs') == 1)"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data['".$alias."'] = JFilterOutput::stringURLUnicodeSlug(\$data['".$title."']);"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t\telse"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data['".$alias."'] = JFilterOutput::stringURLSafe(\$data['".$title."']);"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\t\$table = JTable::getInstance('".$viewName_single."', '".$this->fileContentStatic['###component###']."Table');"; - if ($setCategory) - { - $fixUniqe[] = "\n\t\t\t\tif (\$table->load(array('".$alias."' => \$data['".$alias."'], '".$category."' => \$data['".$category."'])) && (\$table->id != \$data['id'] || \$data['id'] == 0))"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$msg = JText::_('COM_".$this->fileContentStatic['###COMPONENT###']."_".$VIEW."_SAVE_WARNING');"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->generateNewTitle(\$data['".$category."'], \$data['".$alias."'], \$data['".$title."']);"; - } - else - { - $fixUniqe[] = "\n\t\t\t\tif (\$table->load(array('".$alias."' => \$data['".$alias."'])) && (\$table->id != \$data['id'] || \$data['id'] == 0))"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$msg = JText::_('COM_".$this->fileContentStatic['###COMPONENT###']."_".$VIEW."_SAVE_WARNING');"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->_generateNewTitle(\$data['".$alias."'], \$data['".$title."']);"; - } - $fixUniqe[] = "\t\t\t\t\$data['".$alias."'] = \$".$alias.";"; - $fixUniqe[] = "\n\t\t\t\tif (isset(\$msg))"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\tJFactory::getApplication()->enqueueMessage(\$msg, 'warning');"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\t\t}"; - } - // handel other uniqe fields - $fixUniqe[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the uniqe field for save as copy"; - $fixUniqe[] = "\t\tif (\$input->get('task') == 'save2copy')"; - $fixUniqe[] = "\t\t{"; - $fixUniqe[] = "\t\t\t//".$this->setLine(__LINE__)." Automatic handling of other uniqe fields"; - $fixUniqe[] = "\t\t\t\$uniqeFields = \$this->getUniqeFields();"; - $fixUniqe[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uniqeFields))"; - $fixUniqe[] = "\t\t\t{"; - $fixUniqe[] = "\t\t\t\tforeach (\$uniqeFields as \$uniqeField)"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data[\$uniqeField] = \$this->generateUniqe(\$uniqeField,\$data[\$uniqeField]);"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\t\t}"; - - return "\n".implode("\n",$fixUniqe); - } - - protected function setGenerateNewTitle($viewName_single) - { - // if category is added to this view then do nothing - if (array_key_exists($viewName_single, $this->aliasBuilder) && array_key_exists($viewName_single, $this->titleBuilder)) - { - $newFunction = array(); - $newFunction[] = "\n\n\t/**"; - $newFunction[] = "\t* Method to change the title & alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @param string \$alias The alias."; - $newFunction[] = "\t* @param string \$title The title."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @return array Contains the modified title and alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t*/"; - $newFunction[] = "\tprotected function _generateNewTitle(\$alias, \$title)"; - $newFunction[] = "\t{"; - $newFunction[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the title & alias"; - $newFunction[] = "\t\t\$table = \$this->getTable();"; - $newFunction[] = "\n\t\twhile (\$table->load(array('alias' => \$alias)))"; - $newFunction[] = "\t\t{"; - $newFunction[] = "\t\t\t\$title = JString::increment(\$title);"; - $newFunction[] = "\t\t\t\$alias = JString::increment(\$alias, 'dash');"; - $newFunction[] = "\t\t}"; - $newFunction[] = "\n\t\treturn array(\$title, \$alias);"; - $newFunction[] = "\t}"; - return implode("\n",$newFunction); - } - elseif (array_key_exists($viewName_single, $this->titleBuilder)) - { - $newFunction = array(); - $newFunction[] = "\n\n\t/**"; - $newFunction[] = "\t* Method to change the title & alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @param string \$title The title."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @return array Contains the modified title and alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t*/"; - $newFunction[] = "\tprotected function _generateNewTitle(\$title)"; - $newFunction[] = "\t{"; - $newFunction[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the title"; - $newFunction[] = "\t\t\$table = \$this->getTable();"; - $newFunction[] = "\n\t\twhile (\$table->load(array('title' => \$title)))"; - $newFunction[] = "\t\t{"; - $newFunction[] = "\t\t\t\$title = JString::increment(\$title);"; - $newFunction[] = "\t\t}"; - $newFunction[] = "\n\t\treturn \$title;"; - $newFunction[] = "\t}"; - return implode("\n",$newFunction); - } - return ''; - } - - protected function setInstall() - { - if (isset($this->queryBuilder) && ComponentbuilderHelper::checkArray($this->queryBuilder)) - { - // set the main db prefix - $component = $this->fileContentStatic['###component###']; - // start building the db - - $db = ''; - foreach ($this->queryBuilder as $view => $fields) - { - // build the uninstall array - $this->uninstallBuilder[] = "DROP TABLE IF EXISTS `#__".$component."_".$view."`;"; - - // setup the tables - $db .= "CREATE TABLE IF NOT EXISTS `#__".$component."_".$view."` ("; - $db .= "\n\t`id` int(11) NOT NULL AUTO_INCREMENT,"; - $db .= "\n\t`asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0',"; - ksort($fields); - foreach ($fields as $field => $data) - { - // set default - $default = $data['default']; - if ( $default == 'Other' ) - { - $default = $data['other']; - } - if ($default == 'DATETIME' || $default == 'CURRENT_TIMESTAMP') - { - $default = $default.' '.$data['null_switch']; - } - elseif ($default == 0 || $default) - { - $default = $data['null_switch']." DEFAULT '".$default."'"; - } - elseif ($data['null_switch'] == 'NULL') - { - $default = "DEFAULT NULL"; - } - else - { - $default = $data['null_switch']." DEFAULT ''"; - } - // set the lenght - $lenght = ''; - if (isset($data['lenght']) && $data['lenght'] > 0) - { - $lenght = '('.$data['lenght'].')'; - } - // set the field to db - $db .= "\n\t`".$field."` ".$data['type'].$lenght." ".$default.","; - } - $db .= "\n\t`params` TEXT NOT NULL DEFAULT '',"; - $db .= "\n\t`published` tinyint(1) NOT NULL DEFAULT '1',"; - $db .= "\n\t`created_by` int(11) NOT NULL DEFAULT '0',"; - $db .= "\n\t`modified_by` int(11) NOT NULL DEFAULT '0',"; - $db .= "\n\t`created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',"; - $db .= "\n\t`modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',"; - $db .= "\n\t`checked_out` int(11) NOT NULL,"; - $db .= "\n\t`checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',"; - $db .= "\n\t`version` int(11) NOT NULL DEFAULT '1',"; - $db .= "\n\t`hits` int(11) NOT NULL DEFAULT '0',"; - // check if view has access - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $db .= "\n\t`access` int(11) DEFAULT NULL,"; - } - $db .= "\n\t`ordering` int(11) NOT NULL DEFAULT '0',"; - // check if metadata is added to this view - if (isset($this->metadataBuilder[$view]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$view])) - { - $db .= "\n\t`metakey` TEXT NOT NULL DEFAULT '',"; - $db .= "\n\t`metadesc` TEXT NOT NULL DEFAULT '',"; - $db .= "\n\t`metadata` TEXT NOT NULL DEFAULT '',"; - } - $db .= "\n\tPRIMARY KEY (`id`)"; - if (isset($this->dbUniqueKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbUniqueKeys[$view])) - { - foreach ($this->dbUniqueKeys[$view] as $nr => $key) - { - $db .= ",\n\tUNIQUE KEY `idx_".$key."` (`".$key."`)"; - } - } - // check if view has access - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $db .= ",\n\tKEY `idx_access` (`access`)"; - } - $db .= ",\n\tKEY `idx_checkout` (`checked_out`)"; - $db .= ",\n\tKEY `idx_createdby` (`created_by`)"; - $db .= ",\n\tKEY `idx_modifiedby` (`modified_by`)"; - $db .= ",\n\tKEY `idx_state` (`published`)"; - if (isset($this->dbKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbKeys[$view])) - { - foreach ($this->dbKeys[$view] as $nr => $key) - { - $db .= ",\n\tKEY `idx_".$key."` (`".$key."`)"; - } - } - $db .= "\n) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;\n\n"; - } - // add custom sql dump to the file - if (isset($this->customScriptBuilder['sql']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder['sql'])) - { - foreach ($this->customScriptBuilder['sql'] as $for => $customSql) - { - $placeholders = array('[[[component]]]' => $component, '[[[view]]]' => $for); - $db .= "\n\n".str_replace(array_keys($placeholders),array_values($placeholders),$customSql); - } - - } - return $db; - } - return ''; - } - - protected function setUninstall() - { - if (isset($this->queryBuilder) && ComponentbuilderHelper::checkArray($this->queryBuilder)) - { - $bd = ''; - foreach ($this->uninstallBuilder as $line) - { - $bd .= $line."\n"; - } - return $bd; - } - return ''; - } - - protected function setLangAdmin() - { - // add final list of needed lang strings - $this->langContent['adminsys'][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - $this->langContent['adminsys'][$this->langPrefix.'_CONFIGURATION'] = ComponentbuilderHelper::safeString($this->componentData->name,'W').' Configuration'; - $this->langContent[$this->lang][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - $this->langContent['admin'][$this->langPrefix.'_BACK'] = 'Back'; - $this->langContent['admin'][$this->langPrefix.'_DASH'] = 'Dashboard'; - $this->langContent['admin'][$this->langPrefix.'_VERSION'] = 'Version'; - $this->langContent['admin'][$this->langPrefix.'_DATE'] = 'Date'; - $this->langContent['admin'][$this->langPrefix.'_AUTHOR'] = 'Author'; - $this->langContent['admin'][$this->langPrefix.'_WEBSITE'] = 'Website'; - $this->langContent['admin'][$this->langPrefix.'_LICENSE'] = 'License'; - $this->langContent['admin'][$this->langPrefix.'_CONTRIBUTORS'] = 'Contributors'; - $this->langContent['admin'][$this->langPrefix.'_CONTRIBUTOR'] = 'Contributor'; - $this->langContent['admin'][$this->langPrefix.'_DASHBOARD'] = ComponentbuilderHelper::safeString($this->componentData->name,'W').' Dashboard'; - $this->langContent['admin'][$this->langPrefix.'_SAVE_SUCCESS'] = "Great! Item successfully saved."; - $this->langContent['admin'][$this->langPrefix.'_SAVE_WARNING'] = "The value already existed so please select another."; - $this->langContent['admin'][$this->langPrefix.'_HELP_MANAGER'] = "Help"; - $this->langContent['admin'][$this->langPrefix.'_NEW'] = "New"; - $this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_STATE'] = "- Keep Original State -"; - $this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_ACCESS'] = "- Keep Original Access -"; - $this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_CATEGORY'] = "- Keep Original Category -"; - if ($this->componentData->add_license && $this->componentData->license_type == 3) - { - $this->langContent['admin']['NIE_REG_NIE'] = "<br /><br /><center><h1>Lincense not set for ".$this->componentData->name.".</h1><p>Notify your administrator!<br />The lincense can be obtained from ".$this->componentData->companyname.".</p></center>"; - } - // add the langug files needed to import and export data - if ($this->addEximport) - { - $this->langContent['admin'][$this->langPrefix.'_EXPORT_FAILED'] = "Export Failed"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FAILED'] = "Import Failed"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_TITLE'] = "Data Importer"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_NO_IMPORT_TYPE_FOUND'] = "Import type not found."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE'] = "Package to import not found."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_ERROR'] = "Import error."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SUCCESS'] = "Great! Import successful."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_WARNIMPORTFILE'] = "Warning, import file error."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_NO_FILE_SELECTED'] = "No import file selected."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_SELECT_A_FILE'] = "Please select a file to import."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_SELECT_ALL_COLUMNS'] = "Please link all columns."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_SELECT_A_DIRECTORY'] = "Please enter the file directory."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_WARNIMPORTUPLOADERROR'] = "Warning, import upload error."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'] = "Please enter the file directory."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'] = "Path does not have a valid file."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'] = "Does not have a valid file type."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_ENTER_A_URL'] = "Please enter a url."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_INVALID_URL'] = "Invalid url."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_CONTINUE'] = "Continue"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FROM_UPLOAD'] = "Upload"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SELECT_FILE'] = "Select File"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_UPLOAD_BOTTON'] = "Upload File"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FROM_DIRECTORY'] = "Directory"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SELECT_FILE_DIRECTORY'] = "Set the path to file"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_GET_BOTTON'] = "Get File"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FROM_URL'] = "URL"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SELECT_FILE_URL'] = "Enter file URL"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_UPDATE_DATA'] = "Import Data"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FORMATS_ACCEPTED'] = "formats accepted"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_LINK_FILE_TO_TABLE_COLUMNS'] = "Link File to Table Columns"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_TABLE_COLUMNS'] = "Table Columns"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FILE_COLUMNS'] = "File Columns"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_PLEASE_SELECT_COLUMN'] = "-- Please Select Column --"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_IGNORE_COLUMN'] = "-- Ignore This Column --"; - $this->langContent['admin'][$this->langPrefix.'_NO_ACCESS_GRANTED'] = "No Access Granted!"; - } - // check if the both array is set - if (isset($this->langContent['both']) && ComponentbuilderHelper::checkArray($this->langContent['both'])) - { - foreach ($this->langContent['both'] as $keylang => $langval) - { - $this->langContent['admin'][$keylang] = $langval; - } - } - - if (isset($this->langContent['admin']) && ComponentbuilderHelper::checkArray($this->langContent['admin'])) - { - ksort($this->langContent['admin']); - foreach ($this->langContent['admin'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setLangSite() - { - // add final list of needed lang strings - $this->langContent['site'][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - // some more defaults - $this->langContent['site']['JTOOLBAR_APPLY'] = "Save"; - $this->langContent['site']['JTOOLBAR_SAVE_AS_COPY'] = "Save as Copy"; - $this->langContent['site']['JTOOLBAR_SAVE'] = "Save & Close"; - $this->langContent['site']['JTOOLBAR_SAVE_AND_NEW'] = "Save & New"; - $this->langContent['site']['JTOOLBAR_CANCEL'] = "Cancel"; - $this->langContent['site']['JTOOLBAR_CLOSE'] = "Close"; - $this->langContent['site']['JTOOLBAR_HELP'] = "Help"; - $this->langContent['site']['JGLOBAL_FIELD_ID_LABEL'] = "ID"; - $this->langContent['site']['JGLOBAL_FIELD_ID_DESC'] = "Record number in the database."; - $this->langContent['site']['JGLOBAL_FIELD_MODIFIED_LABEL'] = "Modified Date"; - $this->langContent['site']['COM_CONTENT_FIELD_MODIFIED_DESC'] = "The last date this item was modified."; - $this->langContent['site']['JGLOBAL_FIELD_MODIFIED_BY_LABEL'] = "Modified By"; - $this->langContent['site']['JGLOBAL_FIELD_MODIFIED_BY_DESC'] = "The user who did the last modification."; - - // check if the both array is set - if (isset($this->langContent['both']) && ComponentbuilderHelper::checkArray($this->langContent['both'])) - { - foreach ($this->langContent[$this->lang] as $keylang => $langval) - { - $this->langContent['site'][$keylang] = $langval; - } - } - if (isset($this->langContent['site']) && ComponentbuilderHelper::checkArray($this->langContent['site'])) - { - ksort($this->langContent['site']); - foreach ($this->langContent['site'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setLangSiteSys() - { - // add final list of needed lang strings - $this->langContent['sitesys'][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - - if (isset($this->langContent['sitesys']) && ComponentbuilderHelper::checkArray($this->langContent['sitesys'])) - { - ksort($this->langContent['sitesys']); - foreach ($this->langContent['sitesys'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setLangAdminSys() - { - if (isset($this->langContent['adminsys']) && ComponentbuilderHelper::checkArray($this->langContent['adminsys'])) - { - ksort($this->langContent['adminsys']); - foreach ($this->langContent['adminsys'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setCustomAdminViewListLink($view,$viewName_list) - { - if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) - { - foreach ($this->componentData->custom_admin_views as $custom_admin_view) - { - if (ComponentbuilderHelper::checkArray($custom_admin_view['adminviews'])) - { - foreach ($custom_admin_view['adminviews'] as $adminview) - { - if ($view['adminview'] == $adminview) - { - // set the needed keys - $setId = false; - if (ComponentbuilderHelper::checkArray($custom_admin_view['settings']->main_get->filter)) - { - foreach ($custom_admin_view['settings']->main_get->filter as $filter) - { - if ($filter['filter_type'] == 1 || '$id' == $filter['state_key']) - { - $setId = true; - } - } - } - // set the needed array values - $set = array( - 'icon' => $custom_admin_view['icomoon'], - 'link' => $custom_admin_view['settings']->code, - 'NAME' => $custom_admin_view['settings']->CODE, - 'name' => $custom_admin_view['settings']->name); - // only load to list if it has id filter - if ($setId) - { - // now load it to the global object for items list - $this->customAdminViewListLink[$viewName_list][] = $set; - // add to set id for list view if needed - $this->customAdminViewListId[$custom_admin_view['settings']->code] = true; - } - else - { - // now load it to the global object for tool bar - $this->customAdminDynamicButtons[$viewName_list][] = $set; - } - } - } - } - } - } - } - - protected function setListBody($viewName_single,$viewName_list) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // make sure the custom links are only added once - $firstTimeBeingAdded = true; - // add the default - $body = "<?php foreach (\$this->items as \$i => \$item): ?>"; - $body .= "\n\t<?php"; - $body .= "\n\t\t\$canCheckin = \$this->user->authorise('core.manage', 'com_checkin') || \$item->checked_out == \$this->user->id || \$item->checked_out == 0;"; - $body .= "\n\t\t\$userChkOut = JFactory::getUser(\$item->checked_out);"; - $body .= "\n\t\t\$canDo = ".$Helper."::getActions('".$viewName_single."',\$item,'".$viewName_list."');"; - $body .= "\n\t?>"; - $body .= "\n\t".'<tr class="row<?php echo $i % 2; ?>">'; - $body .= "\n\t\t".'<td class="order nowrap center hidden-phone">'; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $body .= "\n\t\t<?php if (\$canDo->get('".$core['core.edit.state']."')): ?>"; - } - else - { - $body .= "\n\t\t<?php if (\$canDo->get('core.edit.state')): ?>"; - } - $body .= "\n\t\t\t<?php"; - $body .= "\n\t\t\t\tif (\$this->saveOrder)"; - $body .= "\n\t\t\t\t{"; - $body .= "\n\t\t\t\t\t\$iconClass = ' inactive';"; - $body .= "\n\t\t\t\t}"; - $body .= "\n\t\t\t\telse"; - $body .= "\n\t\t\t\t{"; - $body .= "\n\t\t\t\t\t\$iconClass = ' inactive tip-top".'" hasTooltip" title="'."' . JHtml::tooltipText('JORDERINGDISABLED');"; - $body .= "\n\t\t\t\t}"; - $body .= "\n\t\t\t?>"; - $body .= "\n\t\t\t".'<span class="sortable-handler<?php echo $iconClass; ?>">'; - $body .= "\n\t\t\t\t".'<i class="icon-menu"></i>'; - $body .= "\n\t\t\t</span>"; - $body .= "\n\t\t\t<?php if (\$this->saveOrder) : ?>"; - $body .= "\n\t\t\t\t".'<input type="text" style="display:none" name="order[]" size="5"'; - $body .= "\n\t\t\t\t".'value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " />'; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t<?php else: ?>"; - $body .= "\n\t\t\t&#8942;"; - $body .= "\n\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t\t".'<td class="nowrap center">'; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $body .= "\n\t\t<?php if (\$canDo->get('".$core['core.edit']."')): ?>"; - } - else - { - $body .= "\n\t\t<?php if (\$canDo->get('core.edit')): ?>"; - } - $body .= "\n\t\t\t\t<?php if (\$item->checked_out) : ?>"; - $body .= "\n\t\t\t\t\t<?php if (\$canCheckin) : ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('grid.id', \$i, \$item->id); ?>"; - $body .= "\n\t\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t\t&#9633;"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t<?php echo JHtml::_('grid.id', \$i, \$item->id); ?>"; - $body .= "\n\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t<?php else: ?>"; - $body .= "\n\t\t\t&#9633;"; - $body .= "\n\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - // check if this view has fields that should not be escaped - $doNotEscape = false; - if (isset($this->doNotEscape[$viewName_list])) - { - $doNotEscape = true; - } - // start adding the dynamic - foreach ($this->listBuilder[$viewName_list] as $item) - { - $checkoutTriger = false; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom'])) - { - $item['id'] = $item['code']; - $item['code'] = $item['code'].'_'.$item['custom']['text']; - } - // check if translated vlaue is used - if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list]) - && array_key_exists($item['code'],$this->selectionTranslationFixBuilder[$viewName_list])) - { - $itemCode = '<?php echo JText::_($item->'.$item['code'].'); ?>'; - } - elseif ($item['custom']['text'] == 'user') - { - $itemCode = '<?php echo JFactory::getUser((int)$item->'.$item['code'].')->name; ?>'; - } - elseif ($doNotEscape) - { - if (in_array($item['code'], $this->doNotEscape[$viewName_list])) - { - $itemCode = '<?php echo $item->'.$item['code'].'; ?>'; - } - else - { - $itemCode = '<?php echo $this->escape($item->'.$item['code'].'); ?>'; - } - } - else - { - $itemCode = '<?php echo $this->escape($item->'.$item['code'].'); ?>'; - } - if ($item['link']) - { - // allways rest custom links - $customAdminView = ''; - // if to be linked - if ($item['type'] == 'category' && !$item['title']) - { - $otherViews = $this->catCodeBuilder[$viewName_single]['views']; - // category and linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$otherViews.".category.' . (int)\$item->".$item['code'].")): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->'.$item['code'].'; ?>&extension=com_'.$this->fileContentStatic['###component###'].'.'.$otherViews.'"><?php echo $this->escape($item->category_title); ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$this->escape(\$item->category_title); ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - elseif ($item['type'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$itemUser = JFactory::getUser(\$item->user); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->user ?>"><?php echo $itemUser->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$itemUser->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - $add = true; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] != 'user' && !$item['title']) - { - // link to that item instead - $link = 'index.php?option='.$item['custom']['component'].'&view='.$item['custom']['views'].'&task='.$item['custom']['view'].'.edit&id=<?php echo $item->'.$item['id'].'; ?>&ref='.$viewName_list; - - $coreLoadLink = false; - if (isset($this->permissionCore[$item['custom']['view']])) - { - $coreLink = $this->permissionCore[$item['custom']['view']]; - $coreLoadLink = true; - } - // check if the item has permissions. - if ($coreLoadLink && isset($this->permissionBuilder[$coreLink['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$coreLink['core.edit']]) && in_array($item['custom']['view'],$this->permissionBuilder[$coreLink['core.edit']])) - { - $accessCheck = "\$this->user->authorise('".$coreLink['core.edit']."', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - else - { - $accessCheck = "\$this->user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - } - elseif (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$".$item['id']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $'.$item['id'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$".$item['id']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - - $add = false; - } - else - { - // start building the links - $link = '<?php echo $edit; ?>&id=<?php echo $item->id; ?>'; - // check if custom links should be added to this list views - if (isset($this->customAdminViewListLink[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminViewListLink[$viewName_list]) && $firstTimeBeingAdded) - { - // make sure the custom links are only added once - $firstTimeBeingAdded = false; - // start building the links - $customAdminView = "\n\t\t\t".'<div class="btn-group">'; - foreach ($this->customAdminViewListLink[$viewName_list] as $customLinkView) - { - $customAdminView .= "\n\t\t\t<?php if (\$canDo->get('".$customLinkView['link'].".access')): ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini" href="index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$customLinkView['link'].'&id=<?php echo $item->id; ?>" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>" ><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php else: ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini disabled" href="#" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>"><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php endif; ?>"; - } - $customAdminView .= "\n\t\t\t".'</div>'; - - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - // set permissions. - $accessCheck = "\$canDo->get('".$core['core.edit']."')"; - } - else - { - // set permissions. - $accessCheck = "\$canDo->get('core.edit')"; - } - // triger the checked out script to be added - $checkoutTriger = true; - } - - if ($add) - { - // set as linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (".$accessCheck."): ?>"; - $body .= "\n\t\t\t\t".'<div class="name">'."\n\t\t\t\t\t".'<a href="'.$link.'">'.$itemCode.'</a>'; - if ($checkoutTriger) - { - $body .= "\n\t\t\t\t\t<?php if (\$item->checked_out): ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.checkedout', \$i, \$userChkOut->name, \$item->checked_out_time, '".$viewName_list.".', \$canCheckin); ?>"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - } - $body .= "\n\t\t\t\t".'</div>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t".'<div class="name">'.$itemCode.'</div>'; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= $customAdminView; - $body .= "\n\t\t</td>"; - } - } - } - else - { - if ($item['type'] == 'category') - { - $body .= "\n\t\t<td class=\"hidden-phone\">"; - $body .= "\n\t\t\t<?php echo \$this->escape(\$item->category_title); ?>"; - $body .= "\n\t\t</td>"; - } - elseif (ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user') - { - // custom user and linked - $body .= "\n\t\t<?php \$".$item['code']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td class="nowrap hidden-phone">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $'.$item['code'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$".$item['code']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - // normal not linked - $body .= "\n\t\t<td class=\"hidden-phone\">"; - $body .= "\n\t\t\t".$itemCode; - $body .= "\n\t\t</td>"; - } - } - } - // add the defaults - $body .= "\n\t\t".'<td class="center">'; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $body .= "\n\t\t<?php if (\$canDo->get('".$core['core.edit.state']."')) : ?>"; - } - else - { - $body .= "\n\t\t<?php if (\$canDo->get('core.edit.state')) : ?>"; - } - $body .= "\n\t\t\t\t<?php if (\$item->checked_out) : ?>"; - $body .= "\n\t\t\t\t\t<?php if (\$canCheckin) : ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', true, 'cb'); ?>"; - $body .= "\n\t\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', false, 'cb'); ?>"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', true, 'cb'); ?>"; - $body .= "\n\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t<?php else: ?>"; - $body .= "\n\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', false, 'cb'); ?>"; - $body .= "\n\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t\t".'<td class="nowrap center hidden-phone">'; - $body .= "\n\t\t\t<?php echo \$item->id; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t</tr>"; - $body .= "\n<?php endforeach; ?>"; - // return the build - return $body; - } - return ''; - } - - protected function setListHead($viewName_single,$viewName_list) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($viewName_single,'U'); - // set status lang - $statusLangName = $langView.'_STATUS'; - // set id lang - $idLangName = $langView.'_ID'; - // add to lang array - if (!isset($this->langContent[$this->lang][$statusLangName])) - { - $this->langContent[$this->lang][$statusLangName] = 'Status'; - } - // add to lang array - if (!isset($this->langContent[$this->lang][$idLangName ])) - { - $this->langContent[$this->lang][$idLangName] = 'Id'; - } - // set default - $head = '<tr>'; - $head .= "\n\t<?php if (\$this->canEdit&& \$this->canState): ?>"; - $head .= "\n\t\t".'<th width="1%" class="nowrap center hidden-phone">'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.sort', '".'<i class="icon-menu-2"></i>'."', 'ordering', \$this->listDirn, \$this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t\t".'<th width="20" class="nowrap center">'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.checkall'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php else: ?>"; - $head .= "\n\t\t".'<th width="20" class="nowrap center hidden-phone">'; - $head .= "\n\t\t\t&#9662;"; - $head .= "\n\t\t</th>"; - $head .= "\n\t\t".'<th width="20" class="nowrap center">'; - $head .= "\n\t\t\t&#9632;"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php endif; ?>"; - // set footer Column number - $this->listColnrBuilder[$viewName_list] = 4; - // build the dynamic fields - foreach ($this->listBuilder[$viewName_list] as $item) - { - if (ComponentbuilderHelper::checkArray($item['custom'])) - { - $item['code'] = $item['code'].'_'.$item['custom']['text']; - } - $class = 'nowrap hidden-phone'; - if ($item['link']) - { - $class = 'nowrap'; - } - $title = "<?php echo JText::_('".$item['lang']."'); ?>"; - if ($item['sort']) - { - $title = "<?php echo JHtml::_('grid.sort', '".$item['lang']."', '".$item['code']."', \$this->listDirn, \$this->listOrder); ?>"; - } - $head .= "\n\t".'<th class="'.$class.'" >'; - $head .= "\n\t\t\t".$title; - $head .= "\n\t</th>"; - $this->listColnrBuilder[$viewName_list]++; - } - // set default - $head .= "\n\t<?php if (\$this->canState): ?>"; - $head .= "\n\t\t".'<th width="10" class="nowrap center" >'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.sort', '".$statusLangName."', 'published', \$this->listDirn, \$this->listOrder); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php else: ?>"; - $head .= "\n\t\t".'<th width="10" class="nowrap center" >'; - $head .= "\n\t\t\t<?php echo JText::_('".$statusLangName."'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php endif; ?>"; - $head .= "\n\t".'<th width="5" class="nowrap center hidden-phone" >'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.sort', '".$idLangName."', 'id', \$this->listDirn, \$this->listOrder); ?>"; - $head .= "\n\t</th>"; - $head .= "\n</tr>"; - - return $head; - } - return ''; - } - - protected function setListColnr($viewName_list) - { - if (isset($this->listColnrBuilder[$viewName_list])) - { - return $this->listColnrBuilder[$viewName_list]; - } - return ''; - } - - protected function setEditBody(&$view) - { - // set view name - $viewName_single = ComponentbuilderHelper::safeString($view['settings']->name_single); - // alignment - $alignmentNames = array(1 => 'left', 2 => 'right', 3 => 'fullwidth', 4 => 'above', 5 => 'under', 6 => 'leftside', 7 => 'rightside'); - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($viewName_single,'U'); - - if (isset($this->layoutBuilder[$viewName_single]) && ComponentbuilderHelper::checkArray($this->layoutBuilder[$viewName_single])) - { - // set the linked view tabs - $linkedTab = array(); - $keys = array(); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if (isset($this->linkedAdminViews[$viewName_single]) && ComponentbuilderHelper::checkArray($this->linkedAdminViews[$viewName_single])) - { - foreach ($this->linkedAdminViews[$viewName_single] as $linkedView) - { - $tabName = $view['settings']->tabs[(int) $linkedView['tab']]; - $this->tabCounter[$viewName_single][$linkedView['tab']] = $tabName; - $linkedTab[$linkedView['adminview']] = $linkedView['tab']; - if (ComponentbuilderHelper::checkString($linkedView['key']) && ComponentbuilderHelper::checkString($linkedView['parentkey'])) - { - $keys[$linkedView['adminview']] = array( 'key' => $linkedView['key'], 'parentKey' => $linkedView['parentkey']); - } - else - { - $keys[$linkedView['adminview']] = array( 'key' => null, 'parentKey' => null); - } - if (isset($linkedView['addnew'])) - { - $keys[$linkedView['adminview']]['addNewButton'] = (int) $linkedView['addnew']; - } - else - { - $keys[$linkedView['adminview']]['addNewButton'] = 0; - } - } - } - // start tab set - $bucket = array(); - $leftside = ''; - $rightside = ''; - $footer = ''; - $header = ''; - $mainwidth = 12; - $sidewidth = 0; - ksort($this->tabCounter[$viewName_single]); - foreach ($this->tabCounter[$viewName_single] as $tabNr => $tabName) - { - $tabWidth = 12; - $lrCounter = 0; - // set tab lang - $tabLangName = $langView.'_'.ComponentbuilderHelper::safeString($tabName,'U'); - // set tab code name - $tabCodeName = ComponentbuilderHelper::safeString($tabName); - // add to lang array - if (!isset($this->langContent[$this->lang][$tabLangName])) - { - $this->langContent[$this->lang][$tabLangName] = $tabName; - } - // check if linked view belongs to this tab - $buildLayout = true; - $linkedViewId = ''; - if (ComponentbuilderHelper::checkArray($linkedTab)) - { - $linkedViewId = array_search($tabNr,$linkedTab); - if ($linkedViewId) - { - // don't build - $buildLayout = false; - } - } - if ($buildLayout) - { - // sort to make sure it loads left first - $alignments = $this->layoutBuilder[$viewName_single][$tabName]; - ksort($alignments); - foreach ($alignments as $alignment => $names) - { - // set layout code name - $layoutCodeName = $tabCodeName.'_'.$alignmentNames[$alignment]; - // reset each time - $items = ''; - $itemCounter = 0; - ksort($names); - foreach ($names as $nr => $name) - { - if ($itemCounter == 0) - { - $items .= "'".$name."'"; - } - else - { - $items .= ",\n\t'".$name."'"; - } - $itemCounter++; - } - switch($alignment) - { - case 1: // left - case 2: // right - // count - $lrCounter++; - // set as items layout - $this->setLayout($viewName_single,$layoutCodeName,$items,'layoutitems'); - // set the lang to tab - $bucket[$tabCodeName]['lang'] = $tabLangName; - // load the body - if (!isset($bucket[$tabCodeName][(int) $alignment])) - { - $bucket[$tabCodeName][(int) $alignment] = ''; - } - $bucket[$tabCodeName][(int) $alignment] .= "<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 3: // fullwidth - // set as items layout - $this->setLayout($viewName_single,$layoutCodeName,$items,'layoutfull'); - // set the lang to tab - $bucket[$tabCodeName]['lang'] = $tabLangName; - // load the body - if (!isset($bucket[$tabCodeName][(int) $alignment])) - { - $bucket[$tabCodeName][(int) $alignment] = ''; - } - $bucket[$tabCodeName][(int) $alignment] .= "<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 4: // above - // set as title layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layouttitle'); - // load to header - $header .= "\n\t<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 5: // under - // set as title layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layouttitle'); - // load to footer - $footer .= "\n\n<div class=\"clearfix\"></div>\n<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 6: // left side - $tabWidth = $tabWidth - 2; - // set as items layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layoutitems'); - // load the body - $leftside .= "\n\t<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 7: // right side - $tabWidth = $tabWidth - 2; - // set as items layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layoutitems'); - // load the body - $rightside .= "\n\t<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - } - } - } - else - { - // set layout code name - $layoutCodeName = $tabCodeName.'_fullwidth'; - // set identifiers - $linkedViewIdentifier[$linkedViewId] = $tabCodeName; - //set function name - $codeName = ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(3).$tabCodeName); - // set as items layout - $this->setLayout($viewName_single,$layoutCodeName,$codeName,'layoutlinkedview'); - // set the lang to tab - $bucket[$tabCodeName]['lang'] = $tabLangName; - // set all the linked view stuff - $this->secondRunAdmin['setLinkedView'][] = array( - 'viewId' => $linkedViewId, - 'viewName_single' => $viewName_single, - 'codeName' => $codeName, - 'layoutCodeName' => $layoutCodeName, - 'key' => $keys[$linkedViewId]['key'], - 'parentKey' => $keys[$linkedViewId]['parentKey'], - 'addNewButon' => $keys[$linkedViewId]['addNewButton']); - // load the body - if (!isset($bucket[$tabCodeName][3])) - { - $bucket[$tabCodeName][3] = ''; - } - $bucket[$tabCodeName][3] .= "<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - } - // width calculator :) - if ($tabWidth == 8) - { - $mainwidth = 8; - $sidewidth = 2; - } - elseif ($tabWidth == 10 && $mainwidth != 8) - { - $mainwidth = 9; - $sidewidth = 3; - } - $bucket[$tabCodeName]['lr'] = $lrCounter; - } - // tab counter - $tabCounter = 0; - // check if width is still 12 - $span = ''; - if ($mainwidth != 12) - { - $span = ' span'.$mainwidth; - } - // start building body - $body = '<div class="form-horizontal'.$span.'">'; - // now build the template - foreach ($bucket as $tabCodeName => $posions) - { - // check main if both left and right is set - $lrCounter = $posions['lr']; - // get lang string - $tabLangName = $posions['lang']; - // build main center - $main = ''; - $mainbottom = ''; - foreach ($posions as $posion => $string) - { - if ($lrCounter == 2) - { - switch($posion) - { - case 1: // left - case 2: // right - $main .= "\n\t\t\t".'<div class="span6">'; - $main .= "\n\t\t\t\t".$string; - $main .= "\n\t\t\t".'</div>'; - break; - } - } - else - { - switch($posion) - { - case 1: // left - case 2: // right - $main .= "\n\t\t\t".'<div class="span12">'; - $main .= "\n\t\t\t\t".$string; - $main .= "\n\t\t\t".'</div>'; - break; - } - } - switch($posion) - { - case 3: // fullwidth - $mainbottom .= "\n\t\t\t".'<div class="span12">'; - $mainbottom .= "\n\t\t\t\t".$string; - $mainbottom .= "\n\t\t\t".'</div>'; - break; - } - } - // set acctive tab - if ($tabCounter == 0) - { - $body .= "\n\n\t<?php echo JHtml::_('bootstrap.startTabSet', '".$viewName_single."Tab', array('active' => '".$tabCodeName."')); ?>"; - } - // if this is a linked view set permissions - $closeIT = false; - if(isset($linkedViewIdentifier) && ComponentbuilderHelper::checkArray($linkedViewIdentifier) && in_array($tabCodeName,$linkedViewIdentifier)) - { - // get view name - $linkedViewId = array_search($tabCodeName,$linkedViewIdentifier); - $linkedViewData = $this->getAdminViewData($linkedViewId); - $linkedCodeName = ComponentbuilderHelper::safeString($linkedViewData->name_single); - // setup correct core target - $coreLoadLinked = false; - if (isset($this->permissionCore[$linkedCodeName])) - { - $coreLinked = $this->permissionCore[$linkedCodeName]; - $coreLoadLinked = true; - } - // check if the item has permissions. - if ($coreLoadLinked && isset($coreLinked['core.access']) && isset($this->permissionBuilder['global'][$coreLinked['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$coreLinked['core.access']]) && in_array($linkedCodeName,$this->permissionBuilder['global'][$coreLinked['core.access']])) - { - $body .= "\n\n\t<?php if (\$this->canDo->get('".$coreLinked['core.access']."')) : ?>"; - $closeIT = true; - } - else - { - $body .= "\n"; - } - // insure clear - unset($coreLoadLinked,$coreLinked,$linkedViewData); - } - else - { - $body .= "\n"; - } - // start tab - $body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeName."', JText::_('".$tabLangName."', true)); ?>"; - // add the main - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= $main; - $body .= "\n\t\t</div>"; - if (strlen($mainbottom) > 0) - { - // add the main bottom - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= $mainbottom; - $body .= "\n\t\t</div>"; - } - $body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - if($closeIT) - { - $body .= "\n\t<?php endif; ?>"; - } - // set counter - $tabCounter++; - } - // set default publishing tab lang - $tabLangName = $langView.'_PUBLISHING'; - // add to lang array - if (!isset($this->langContent[$this->lang][$tabLangName])) - { - $this->langContent[$this->lang][$tabLangName] = 'Publishing'; - } - // check if access is added to this view - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $addAccess = ",\n\t'access'"; - } - else - { - $addAccess = ""; - } - // check if metadata is added to this view - if (isset($this->metadataBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName_single])) - { - // set default publishing tab code name - $tabCodeNameLeft = 'publishing'; - $tabCodeNameRight = 'metadata'; - // the default publishing tiems - $items = "'created',\n\t'created_by',\n\t'modified',\n\t'modified_by',\n\t'published',\n\t'ordering'".$addAccess.",\n\t'version',\n\t'hits',\n\t'id'"; - // set the publishing layout - $this->setLayout($viewName_single, $tabCodeNameLeft, $items, 'layoutpublished'); - $this->setLayout($viewName_single, $tabCodeNameRight, false, 'layoutmetadata'); - } - else - { - // set default publishing tab code name - $tabCodeNameLeft = 'publishing'; - $tabCodeNameRight = 'publlshing'; - // the default publishing tiems - $items_one = "'created',\n\t'created_by',\n\t'modified',\n\t'modified_by'"; - $items_two = "'published',\n\t'ordering'".$addAccess.",\n\t'version',\n\t'hits',\n\t'id'"; - // set the publishing layout - $this->setLayout($viewName_single, $tabCodeNameLeft, $items_one, 'layoutpublished'); - $this->setLayout($viewName_single, $tabCodeNameRight, $items_two, 'layoutpublished'); - } - // check if the item has permissions. - $publishingPer = array(); - $allToBeChekced = array('core.delete','core.edit.created_by','core.edit.state','core.edit.created'); - foreach ($allToBeChekced as $core_permission) - { - if ($coreLoad && isset($core[$core_permission]) && isset($this->permissionBuilder['global'][$core[$core_permission]]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core[$core_permission]]) && in_array($viewName_single,$this->permissionBuilder['global'][$core[$core_permission]])) - { - // set permissions. - $publishingPer[] = "\$this->canDo->get('".$core[$core_permission]."')"; - } - else - { - // set permissions. - $publishingPer[] = "\$this->canDo->get('".$core_permission."')"; - } - } - $body .= "\n\n\t<?php if (".implode(' || ', $publishingPer).") : ?>"; - // set the default publishing tab - $body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeNameLeft."', JText::_('".$tabLangName."', true)); ?>"; - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= "\n\t\t\t".'<div class="span6">'; - $body .= "\n\t\t\t\t<?php echo JLayoutHelper::render('".$viewName_single.".".$tabCodeNameLeft."', \$this); ?>"; - $body .= "\n\t\t\t</div>"; - $body .= "\n\t\t\t".'<div class="span6">'; - $body .= "\n\t\t\t\t<?php echo JLayoutHelper::render('".$viewName_single.".".$tabCodeNameRight."', \$this); ?>"; - $body .= "\n\t\t\t</div>"; - $body .= "\n\t\t</div>"; - $body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - $body .= "\n\t<?php endif; ?>"; - // make sure we dont load it to a view with the name component - if ($viewName_single != 'component') - { - // set permissions tab lang - $tabLangName = $langView.'_PERMISSION'; - // set permissions tab code name - $tabCodeName = 'permissions'; - // add to lang array - if (!isset($this->langContent[$this->lang][$tabLangName])) - { - $this->langContent[$this->lang][$tabLangName] = 'Permissions'; - } - // set the permissions tab - $body .= "\n\n\t<?php if (\$this->canDo->get('core.admin')) : ?>"; - $body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeName."', JText::_('".$tabLangName."', true)); ?>"; - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= "\n\t\t\t".'<div class="span12">'; - $body .= "\n\t\t\t\t".'<fieldset class="adminform">'; - $body .= "\n\t\t\t\t\t".'<div class="adminformlist">'; - $body .= "\n\t\t\t\t\t<?php foreach (\$this->form->getFieldset('accesscontrol') as \$field): ?>"; - $body .= "\n\t\t\t\t\t\t<div>"; - $body .= "\n\t\t\t\t\t\t\t<?php echo \$field->label; echo \$field->input;?>"; - $body .= "\n\t\t\t\t\t\t</div>"; - $body .= "\n\t\t\t\t\t\t".'<div class="clearfix"></div>'; - $body .= "\n\t\t\t\t\t<?php endforeach; ?>"; - $body .= "\n\t\t\t\t\t</div>"; - $body .= "\n\t\t\t\t</fieldset>"; - $body .= "\n\t\t\t</div>"; - $body .= "\n\t\t</div>"; - $body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - $body .= "\n\t<?php endif; ?>"; - } - // end the tab set - $body .= "\n\n\t<?php echo JHtml::_('bootstrap.endTabSet'); ?>"; - $body .= "\n\n\t<div>"; - $body .= "\n\t\t".'<input type="hidden" name="task" value="'.$viewName_single.'.edit" />'; - $body .= "\n\t\t<?php echo JHtml::_('form.token'); ?>"; - $body .= "\n\t</div>"; - $body .= "\n</div>"; - // check if left has been set - if (strlen($leftside) > 0 ) - { - $left = '<div class="span'.$sidewidth.'">'.$leftside."\n</div>"; - } - else - { - $left = ''; - } - // check if right has been set - if (strlen($rightside) > 0 ) - { - $right = '<div class="span'.$sidewidth.'">'.$rightside."\n</div>"; - } - else - { - $right = ''; - } - // set active tab and return - return $header.$left.$body.$right.$footer; - } - return ''; - } - - protected function setLayout($viewName_single, $layoutName, $items, $type) - { - // first build the layout file - $target = array('admin' => $viewName_single); - $this->buildDynamique($target,$type,$layoutName); - // add to front if needed - if ($this->lang == 'both') - { - $target = array('site' => $viewName_single); - $this->buildDynamique($target,$type,$layoutName); - } - if (ComponentbuilderHelper::checkString($items)) - { - // ###LAYOUTITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single.'_'.$layoutName]['###LAYOUTITEMS###'] = $items; - } - else - { - // ###LAYOUTITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single.'_'.$layoutName]['###bogus###'] = 'boom'; - } - } - - protected function setLinkedView($args) - { - extract($args, EXTR_PREFIX_SAME, "oops"); - $single = ''; - $list = ''; - foreach ($this->componentData->admin_views as $array) - { - if ($array['adminview'] == $viewId) - { - $single = ComponentbuilderHelper::safeString($array['settings']->name_single); - $list = ComponentbuilderHelper::safeString($array['settings']->name_list); - break; - } - } - if (ComponentbuilderHelper::checkString($single) && ComponentbuilderHelper::checkString($list)) - { - $head = $this->setListHeadLinked($single,$list,$addNewButon); - $body = $this->setListBodyLinked($single,$list,$viewName_single); - $functionName = ComponentbuilderHelper::safeString($codeName,'F'); - // ###LAYOUTITEMSTABLE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSTABLE###'] = $head.$body; - // ###LAYOUTITEMSHEADER### <<<DYNAMIC>>> - $headerscript = '$edit = "index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$list.'&task='.$single.'.edit";'; - if ($addNewButon) - { - $headerscript .= "\n".'$ref = ($id) ? "&ref='.$viewName_single.'&refid=".$id : "";'; - $headerscript .= "\n".'$new = "index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$single.'&layout=edit".$ref;'; - $headerscript .= "\n".'$can = '.$this->fileContentStatic['###Component###'].'Helper::getActions('."'".$single."'".');'; - } - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSHEADER###'] = $headerscript; - // ###LINKEDVIEWITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWITEMS###'] .= "\n\n\t\t//".$this->setLine(__LINE__)." Get Linked view data\n\t\t\$this->".$codeName."\t\t= \$this->get('".$functionName."');"; - // ###LINKEDVIEWTABLESCRIPTS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWTABLESCRIPTS###'] = $this->setFootableScripts(); - if(strpos($parentKey, '-R>') !== false || strpos($parentKey, '-A>') !== false) - { - list($parent_key) = explode('-',$parentKey); - } - else - { - $parent_key = $parentKey; - } - if(strpos($key, '-R>') !== false || strpos($key, '-A>') !== false) - { - list($_key) = explode('-',$key); - } - else - { - $_key = $key; - } - // set the global key - $globalKey = ComponentbuilderHelper::safeString($_key.ComponentbuilderHelper::randomkey(4)); - // ###LINKEDVIEWGLOBAL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWGLOBAL###'] .= "\n\t\t\$this->".$globalKey." = \$item->".$parent_key.";"; - // ###LINKEDVIEWMETHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWMETHODS###'] .= $this->setListQueryLinked($single, $list, $functionName, $key, $_key, $parentKey, $parent_key, $globalKey); - } - else - { - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSTABLE###'] = 'oops! error.....'; - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSHEADER###'] = ''; - } - } - - protected function setFootableScripts($init = true, $document = '$document') - { - $foo = "\n\n\t\t//".$this->setLine(__LINE__)." Add the CSS for Footable."; - $foo .= "\n\t\t".$document."->addStyleSheet(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/css/footable.core.min.css');"; - $foo .= "\n\n\t\t//".$this->setLine(__LINE__)." Use the Metro Style"; - $foo .= "\n\t\tif (!isset(\$this->fooTableStyle) || 0 == \$this->fooTableStyle)"; - $foo .= "\n\t\t{"; - $foo .= "\n\t\t\t".$document."->addStyleSheet(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/css/footable.metro.min.css');"; - $foo .= "\n\t\t}"; - $foo .= "\n\t\t//".$this->setLine(__LINE__)." Use the Legacy Style."; - $foo .= "\n\t\telseif (isset(\$this->fooTableStyle) && 1 == \$this->fooTableStyle)"; - $foo .= "\n\t\t{"; - $foo .= "\n\t\t\t".$document."->addStyleSheet(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/css/footable.standalone.min.css');"; - $foo .= "\n\t\t}"; - $foo .= "\n\n\t\t//".$this->setLine(__LINE__)." Add the JavaScript for Footable"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.js');"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.sort.js');"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.filter.js');"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.paginate.js');"; - if ($init) - { - $foo .= "\n\n\t\t".'$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('."'.footable'".').footable(); }); jQuery('."'.nav-tabs'".').on('."'click'".', '."'li'".', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('."'.footable'".').trigger('."'footable_resize'".'); }";'; - $foo .= "\n\t\t\$document->addScriptDeclaration(\$footable);\n"; - } - return $foo; - } - - protected function setListBodyLinked($viewName_single,$viewName_list,$refview) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // make sure the custom links are only added once - $firstTimeBeingAdded = true; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - $counter = 0; - // add the default - $body = "\n<tbody>"; - $body .= "\n<?php foreach (\$items as \$i => \$item): ?>"; - $body .= "\n\t<?php"; - $body .= "\n\t\t\$canCheckin = \$user->authorise('core.manage', 'com_checkin') || \$item->checked_out == \$user->id || \$item->checked_out == 0;"; - $body .= "\n\t\t\$userChkOut = JFactory::getUser(\$item->checked_out);"; - $body .= "\n\t\t\$canDo = ".$Helper."::getActions('".$viewName_single."',\$item,'".$viewName_list."');"; - $body .= "\n\t?>"; - $body .= "\n\t".'<tr>'; - // check if this view has fields that should not be escaped - $doNotEscape = false; - if (isset($this->doNotEscape[$viewName_list])) - { - $doNotEscape = true; - } - // start adding the dynamic - foreach ($this->listBuilder[$viewName_list] as $item) - { - $counter++; - $checkoutTriger = false; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom'])) - { - $item['id'] = $item['code']; - $item['code'] = $item['code'].'_'.$item['custom']['text']; - } - // check if translated vlaue is used - if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list]) - && array_key_exists($item['code'],$this->selectionTranslationFixBuilder[$viewName_list])) - { - $itemCode = '<?php echo JText::_($item->'.$item['code'].'); ?>'; - } - elseif ($item['custom']['text'] == 'user') - { - $itemCode = '<?php echo JFactory::getUser((int)$item->'.$item['code'].')->name; ?>'; - } - elseif ($doNotEscape) - { - if (in_array($item['code'], $this->doNotEscape[$viewName_list])) - { - $itemCode = '<?php echo $item->'.$item['code'].'; ?>'; - } - else - { - $itemCode = '<?php echo $displayData->escape($item->'.$item['code'].'); ?>'; - } - } - else - { - $itemCode = '<?php echo $displayData->escape($item->'.$item['code'].'); ?>'; - } - - if ($item['link']) - { - // allways rest custom links - $customAdminView = ''; - // if to be linked - if ($item['type'] == 'category' && !$item['title']) - { - $otherViews = $this->catCodeBuilder[$viewName_single]['views']; - // category and linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$otherViews.".category.' . (int)\$item->".$item['code'].")): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->'.$item['code'].'; ?>&extension=com_'.$this->fileContentStatic['###component###'].'.'.$otherViews.'"><?php echo $displayData->escape($item->category_title); ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$displayData->escape(\$item->category_title); ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - elseif ($item['type'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$itemUser = JFactory::getUser(\$item->user); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->user ?>"><?php echo $itemUser->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$itemUser->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - $add = true; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] != 'user' && !$item['title']) - { - if ($refview == $item['custom']['view']) - { - // normal not linked - $body .= "\n\t\t<td>"; - $body .= "\n\t\t\t".$itemCode; - $body .= "\n\t\t</td>"; - - $add = false; - } - else - { - // link to that item instead - $link = 'index.php?option='.$item['custom']['component'].'&view='.$item['custom']['views'].'&task='.$item['custom']['view'].'.edit&id=<?php echo $item->'.$item['id'].'; ?>&ref='.$refview.'&refid=<?php echo $id; ?>'; - - - $coreLoadLink = false; - if (isset($this->permissionCore[$item['custom']['view']])) - { - $coreLink = $this->permissionCore[$item['custom']['view']]; - $coreLoadLink = true; - } - // check if the item has permissions. - if ($coreLoadLink && isset($this->permissionBuilder[$coreLink['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$coreLink['core.edit']]) && in_array($item['custom']['view'],$this->permissionBuilder[$coreLink['core.edit']])) - { - $accessCheck = "\$user->authorise('".$coreLink['core.edit']."', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - else - { - $accessCheck = "\$user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - } - } - elseif (ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$_".$item['id']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $_'.$item['id'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$_".$item['id']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - - $add = false; - } - else - { - $link = '<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref='.$refview.'&refid=<?php echo $id; ?>'; - // check if custom links should be added to this list views - if (isset($this->customAdminViewListLink[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminViewListLink[$viewName_list]) && $firstTimeBeingAdded) - { - // make sure the custom links are only added once - $firstTimeBeingAdded = false; - // start building the links - $customAdminView = "\n\t\t\t".'<div class="btn-group">'; - foreach ($this->customAdminViewListLink[$viewName_list] as $customLinkView) - { - $customAdminView .= "\n\t\t\t<?php if (\$canDo->get('".$customLinkView['link'].".access')): ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini" href="index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$customLinkView['link'].'&id=<?php echo $item->id; ?>&ref='.$refview.'&refid=<?php echo $id; ?>" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>" ><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php else: ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini disabled" href="#" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>"><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php endif; ?>"; - } - $customAdminView .= "\n\t\t\t".'</div>'; - - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - // set permissions. - $accessCheck = "\$canDo->get('".$core['core.edit']."')"; - } - else - { - // set permissions. - $accessCheck = "\$canDo->get('core.edit')"; - } - // triger the checked out script to be added - $checkoutTriger = true; - } - - if ($add) - { - // set as linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (".$accessCheck."): ?>"; - $body .= "\n\t\t\t\t".'<a href="'.$link.'">'.$itemCode.'</a>'; - if ($checkoutTriger) - { - $body .= "\n\t\t\t\t\t<?php if (\$item->checked_out): ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.checkedout', \$i, \$userChkOut->name, \$item->checked_out_time, '".$viewName_list.".', \$canCheckin); ?>"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - } - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t".'<div class="name">'.$itemCode.'</div>'; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= $customAdminView; - $body .= "\n\t\t</td>"; - } - } - } - else - { - if ($item['type'] == 'category') - { - $body .= "\n\t\t<td>"; - $body .= "\n\t\t\t<?php echo \$displayData->escape(\$item->category_title); ?>"; - $body .= "\n\t\t</td>"; - } - elseif (ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user') - { - // custom user and linked - $body .= "\n\t\t<?php \$_".$item['code']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td>'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $_'.$item['code'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$_".$item['code']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - // normal not linked - $body .= "\n\t\t<td>"; - $body .= "\n\t\t\t".$itemCode; - $body .= "\n\t\t</td>"; - } - } - } - $counter = $counter + 2; - // add the defaults - $body .= "\n\t\t<?php if (\$item->published == 1):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="1">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-published" title="<?php echo JText::_('."'PUBLISHED'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'PUBLISHED'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - - $body .= "\n\t\t<?php elseif (\$item->published == 0):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="2">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-inactive" title="<?php echo JText::_('."'INACTIVE'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'INACTIVE'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - - $body .= "\n\t\t<?php elseif (\$item->published == 2):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="3">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-archived" title="<?php echo JText::_('."'ARCHIVED'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'ARCHIVED'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - - $body .= "\n\t\t<?php elseif (\$item->published == -2):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="4">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-trashed" title="<?php echo JText::_('."'ARCHIVED'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'ARCHIVED'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - $body .= "\n\t\t".'<?php endif; ?>'; - - $body .= "\n\t\t".'<td class="nowrap center hidden-phone">'; - $body .= "\n\t\t\t<?php echo \$item->id; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t</tr>"; - $body .= "\n<?php endforeach; ?>"; - $body .= "\n</tbody>"; - $body .= "\n".'<tfoot class="hide-if-no-paging">'; - $body .= "\n\t".'<tr>'; - $body .= "\n\t\t".'<td colspan="'.$counter.'">'; - $body .= "\n\t\t\t".'<div class="pagination pagination-centered"></div>'; - $body .= "\n\t\t".'</td>'; - $body .= "\n\t".'</tr>'; - $body .= "\n".'</tfoot>'; - $body .= "\n".'</table>'; - $body .= "\n".'<?php else: ?>'; - $body .= "\n\t".'<div class="alert alert-no-items">'; - $body .= "\n\t\t".'<?php echo JText::_('."'JGLOBAL_NO_MATCHING_RESULTS'".'); ?>'; - $body .= "\n\t".'</div>'; - $body .= "\n".'<?php endif; ?>'; - // return the build - return $body; - } - return ''; - } - - protected function setListHeadLinked($viewName_single,$viewName_list,$addNewButon) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - $head = ''; - // only add new button if set - if ($addNewButon) - { - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - // set permissions. - $accessCheck = "\$can->get('".$core['core.create']."')"; - } - else - { - // set permissions. - $accessCheck = "\$can->get('core.create')"; - } - // add a button for new - $head = '<?php if ('.$accessCheck.'): ?>'; - $head .= "\n\t".'<a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('."'".$this->langPrefix."_NEW'".'); ?></a><br /><br />'; - $head .= "\n".'<?php endif; ?>'."\n"; - } - $head .= '<?php if ('.$Helper.'::checkArray($items)): ?>'; - // add some filters - - $head .= "\n".'<table class="footable table data '.$viewName_list.' metro-blue" data-filter="#filter_'.$viewName_list.'" data-page-size="20">'; - $head .= "\n<thead>"; - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($viewName_single,'U'); - // set status lang - $statusLangName = $langView.'_STATUS'; - // set id lang - $idLangName = $langView.'_ID'; - // make sure only first link is used as togeler - $firstLink = true; - // add to lang array - if (!isset($this->langContent[$this->lang][$statusLangName])) - { - $this->langContent[$this->lang][$statusLangName] = 'Status'; - } - // add to lang array - if (!isset($this->langContent[$this->lang][$idLangName ])) - { - $this->langContent[$this->lang][$idLangName] = 'Id'; - } - $head .= "\n\t<tr>"; - // set controller for data hiding options - $controller = 1; - // build the dynamic fields - foreach ($this->listBuilder[$viewName_list] as $item) - { - $setin = 'data-hide="phone"'; - if ($controller > 3) - { - $setin = 'data-hide="phone,tablet"'; - } - - if ($controller > 6) - { - $setin = 'data-hide="all"'; - } - - if ($item['link'] && $firstLink) - { - $setin = 'data-toggle="true"'; - $firstLink = false; - } - $head .= "\n\t\t<th ".$setin.">"; - $head .= "\n\t\t\t<?php echo JText::_('".$item['lang']."'); ?>"; - $head .= "\n\t\t</th>"; - $controller++; - } - // set default - $head .= "\n\t\t".'<th width="10" data-hide="phone,tablet">'; - $head .= "\n\t\t\t<?php echo JText::_('".$statusLangName."'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t\t".'<th width="5" data-type="numeric" data-hide="phone,tablet">'; - $head .= "\n\t\t\t<?php echo JText::_('".$idLangName."'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t</tr>"; - $head .= "\n</thead>"; - - return $head; - } - return ''; - } - - protected function setListQueryLinked($viewName_single, $viewName_list, $functionName, $key, $_key, $parentKey, $parent_key, $globalKey) - { - // check if this view has category added - if (isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])) - { - $categoryCodeName = $this->categoryBuilder[$viewName_list]['code']; - $addCategory = true; - } - else - { - $addCategory = false; - } - $query = "\n\n\t/**"; - $query .= "\n\t* Method to get list data."; - $query .= "\n\t*"; - $query .= "\n\t* @return mixed An array of data items on success, false on failure."; - $query .= "\n\t*/"; - $query .= "\n\tpublic function get".$functionName."()"; - $query .= "\n\t{"; - // setup the query - $query .= "\n\t\t//".$this->setLine(__LINE__)." Get the user object."; - $query .= "\n\t\t\$user = JFactory::getUser();"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $query .= "\n\t\t\$db = JFactory::getDBO();"; - $query .= "\n\t\t\$query = \$db->getQuery(true);"; - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Select some fields"; - $query .= "\n\t\t\$query->select('a.*');"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->select(\$db->quoteName('c.title','category_title'));"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." From the ".$this->fileContentStatic['###component###']."_".$viewName_single." table"; - $query .= "\n\t\t\$query->from(\$db->quoteName('#__".$this->fileContentStatic['###component###']."_".$viewName_single."', 'a'));"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->join('LEFT', \$db->quoteName('#__categories', 'c') . ' ON (' . \$db->quoteName('a.".$categoryCodeName."') . ' = ' . \$db->quoteName('c.id') . ')');"; - } - // add custom filtering php - if (isset($this->customScriptBuilder['php_getlistquery'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getlistquery'][$viewName_single])) - { - $query .= "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getlistquery'][$viewName_single]); - } - // add the custom fields query - $query .= $this->setCustomQuery($viewName_list, $viewName_single); - if ($key && strpos($key,'-R>') === false && strpos($key,'-A>') === false && strpos($parentKey,'-R>') === false && strpos($parentKey,'-A>') === false) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." global."; - $query .= "\n\t\t\$".$globalKey." = \$this->".$globalKey.";"; - $query .= "\n\t\tif (is_numeric(\$".$globalKey." ))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.".$key." = ' . (int) \$".$globalKey." );"; - $query .= "\n\t\t}"; - $query .= "\n\t\telseif (is_string(\$".$globalKey."))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.".$key." = ' . \$db->quote(\$".$globalKey."));"; - $query .= "\n\t\t}"; - $query .= "\n\t\telse"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.".$key." = -5');"; - $query .= "\n\t\t}"; - } - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Join over the asset groups."; - $query .= "\n\t\t\$query->select('ag.title AS access_level');"; - $query .= "\n\t\t\$query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Filter by access level."; - $query .= "\n\t\tif (\$access = \$this->getState('filter.access'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.access = ' . (int) \$access);"; - $query .= "\n\t\t}"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Implement View Level Access"; - $query .= "\n\t\tif (!\$user->authorise('core.options', 'com_".$this->fileContentStatic['###component###']."'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$groups = implode(',', \$user->getAuthorisedViewLevels());"; - $query .= "\n\t\t\t\$query->where('a.access IN (' . \$groups . ')');"; - $query .= "\n\t\t}"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Order the results by ordering"; - $query .= "\n\t\t\$query->order('a.ordering ASC');"; - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the items"; - $query .= "\n\t\t\$db->setQuery(\$query);"; - $query .= "\n\t\t\$db->execute();"; - $query .= "\n\t\tif (\$db->getNumRows())"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$items = \$db->loadObjectList();"; - // ###STORE_METHOD_FIX### <<<DYNAMIC>>> - $query .= $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###'],"\t"); - // ###SELECTIONTRANSLATIONFIX### <<<DYNAMIC>>> - $query .= $this->setSelectionTranslationFix($viewName_list,$this->fileContentStatic['###Component###'],"\t"); - - // filter by child repetable field values - if ($key && strpos($key,'-R>') !== false && strpos($key,'-A>') === false) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." Repetable Field"; - $query .= "\n\t\t\$".$globalKey." = \$this->".$globalKey.";"; - } - // filter by child array field values - if ($key && strpos($key,'-R>') === false && strpos($key,'-A>') !== false) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." Array Field"; - $query .= "\n\t\t\$".$globalKey." = \$this->".$globalKey.";"; - - } - // filter by parent repetable field values - if ($key && strpos($parentKey,'-R>') !== false && strpos($parentKey,'-A>') === false) - { - list($bin,$target) = explode('-R>',$parentKey); - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Filter by ".$_key." Repetable Field"; - $query .= "\n\t\t\t\$".$globalKey." = json_decode(\$this->".$globalKey.",true);"; - $query .= "\n\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$items) && isset(\$".$globalKey.") && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."))"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\tforeach (\$items as \$nr => &\$item)"; - $query .= "\n\t\t\t\t{"; - $query .= "\n\t\t\t\t\tif (\$item->".$_key." && isset(\$".$globalKey."['".$target."']) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."['".$target."']))"; - $query .= "\n\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\tif (!in_array(\$item->".$_key.",\$".$globalKey."['".$target."']))"; - $query .= "\n\t\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\t\tunset(\$items[\$nr]);"; - $query .= "\n\t\t\t\t\t\t\tcontinue;"; - $query .= "\n\t\t\t\t\t\t}"; - $query .= "\n\t\t\t\t\t}"; - $query .= "\n\t\t\t\t}"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\telse"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\treturn false;"; - $query .= "\n\t\t\t}"; - } - // filter by parent array field values - if ($key && strpos($parentKey,'-R>') === false && strpos($parentKey,'-A>') !== false) - { - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." Array Field"; - $query .= "\n\t\t\t\$".$globalKey." = \$this->".$globalKey.";"; - $query .= "\n\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$items) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."))"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\tforeach (\$items as \$nr => &\$item)"; - $query .= "\n\t\t\t\t{"; - list($bin,$target) = explode('-A>',$parentKey); - if (ComponentbuilderHelper::checkString($target)) - { - $query .= "\n\t\t\t\t\tif (\$item->".$_key." && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."['".$target."']))"; - $query .= "\n\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\tif (!in_array(\$item->".$_key.",\$".$globalKey."['".$target."']))"; - } - else - { - $query .= "\n\t\t\t\t\tif (\$item->".$_key.")"; - $query .= "\n\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\tif (!in_array(\$item->".$_key.",\$".$globalKey."))"; - } - $query .= "\n\t\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\t\tunset(\$items[\$nr]);"; - $query .= "\n\t\t\t\t\t\t\tcontinue;"; - $query .= "\n\t\t\t\t\t\t}"; - $query .= "\n\t\t\t\t\t}"; - $query .= "\n\t\t\t\t}"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\telse"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\treturn false;"; - $query .= "\n\t\t\t}"; - } - - $query .= "\n\t\t\treturn \$items;"; - $query .= "\n\t\t}"; - $query .= "\n\t\treturn false;"; - $query .= "\n\t}"; - // ###SELECTIONTRANSLATIONFIXFUNC###<<<DYNAMIC>>> - $query .= $this->setSelectionTranslationFixFunc($viewName_list,$this->fileContentStatic['###Component###']); - - // fixe mothod name clash - $query = str_replace('selectionTranslation(','selectionTranslation'.$functionName.'(',$query); - - return $query; - } - - protected function setCustomAdminDynamicButton($viewName_list) - { - $buttons = ''; - if (isset($this->customAdminDynamicButtons[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminDynamicButtons[$viewName_list])) - { - $buttons = array(); - foreach ($this->customAdminDynamicButtons[$viewName_list] as $custom_button) - { - // Load to lang - $keyLang = $this->langPrefix.'_'.$custom_button['NAME']; - $this->langContent[$this->lang][$keyLang] = ComponentbuilderHelper::safeString($custom_button['name'],'Ww'); - // add cpanel button - $buttons[] = "\t\tif (\$this->canDo->get('".$custom_button['link'].".access'))"; - $buttons[] = "\t\t{"; - $buttons[] = "\t\t\t//".$this->setLine(__LINE__)." add ".$custom_button['name']." button."; - $buttons[] = "\t\t\tJToolBarHelper::custom('".$viewName_list.".redirectTo".ComponentbuilderHelper::safeString($custom_button['link'],'F')."', '".$custom_button['icon']."', '', '".$keyLang."', true);"; - $buttons[] = "\t\t}"; - } - if (ComponentbuilderHelper::checkArray($buttons)) - { - return implode("\n",$buttons); - } - } - return $buttons; - } - - protected function setCustomAdminDynamicButtonController($viewName_list) - { - $method = ''; - if (isset($this->customAdminDynamicButtons[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminDynamicButtons[$viewName_list])) - { - $method = array(); - foreach ($this->customAdminDynamicButtons[$viewName_list] as $custom_button) - { - // add the custom redirect method - $method[] = "\n\n\tpublic function redirectTo".ComponentbuilderHelper::safeString($custom_button['link'],'F')."()"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check for request forgeries"; - $method[] = "\t\tJSession::checkToken() or die(JText::_('JINVALID_TOKEN'));"; - $method[] = "\t\t//".$this->setLine(__LINE__)." check if export is allowed for this user."; - $method[] = "\t\t\$user = JFactory::getUser();"; - $method[] = "\t\tif (\$user->authorise('".$custom_button['link'].".access', 'com_".$this->fileContentStatic['###component###']."'))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the input"; - $method[] = "\t\t\t\$input = JFactory::getApplication()->input;"; - $method[] = "\t\t\t\$pks = \$input->post->get('cid', array(), 'array');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Sanitize the input"; - $method[] = "\t\t\tJArrayHelper::toInteger(\$pks);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." convert to string"; - $method[] = "\t\t\t\$ids = implode('_', \$pks);"; - $method[] = "\t\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$custom_button['link']."&cid='.\$ids, false));"; - $method[] = "\t\t\treturn;"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Redirect to the list screen with error."; - $method[] = "\t\t\$message = JText::_('".$this->langPrefix."_ACCESS_TO_".$custom_button['NAME']."_FAILED');"; - $method[] = "\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_list."', false), \$message, 'error');"; - $method[] = "\t\treturn;"; - $method[] = "\t}"; - // add to lang array - $lankey = $this->langPrefix."_ACCESS_TO_".$custom_button['NAME']."_FAILED"; - if (!isset($this->langContent[$this->lang][$lankey])) - { - $this->langContent[$this->lang][$lankey] = 'Access to '.$custom_button['link'].' was denied.'; - } - } - - return implode("\n",$method); - } - return $method; - } - - protected function setModelExportMethod($viewName_single, $viewName_list) - { - $query = ''; - if ($this->eximportView[$viewName_list]) - { - $query = "\n\n\t/**"; - $query .= "\n\t* Method to get list export data."; - $query .= "\n\t*"; - $query .= "\n\t* @return mixed An array of data items on success, false on failure."; - $query .= "\n\t*/"; - $query .= "\n\tpublic function getExportData(\$pks)"; - $query .= "\n\t{"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." setup the query"; - $query .= "\n\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$pks))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." Get the user object."; - $query .= "\n\t\t\t\$user = JFactory::getUser();"; - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $query .= "\n\t\t\t\$db = JFactory::getDBO();"; - $query .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Select some fields"; - $query .= "\n\t\t\t\$query->select('a.*');"; - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." From the ".$this->fileContentStatic['###component###']."_".$viewName_single." table"; - $query .= "\n\t\t\t\$query->from(\$db->quoteName('#__".$this->fileContentStatic['###component###']."_".$viewName_single."', 'a'));"; - $query .= "\n\t\t\t\$query->where('a.id IN (' . implode(',',\$pks) . ')');"; - // add custom filtering php - if (isset($this->customScriptBuilder['php_getlistquery'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getlistquery'][$viewName_single])) - { - $query .= "\n\n\t".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getlistquery'][$viewName_single]); - } - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." Implement View Level Access"; - $query .= "\n\t\t\tif (!\$user->authorise('core.options', 'com_".$this->fileContentStatic['###component###']."'))"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$groups = implode(',', \$user->getAuthorisedViewLevels());"; - $query .= "\n\t\t\t\t\$query->where('a.access IN (' . \$groups . ')');"; - $query .= "\n\t\t\t}"; - } - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Order the results by ordering"; - $query .= "\n\t\t\t\$query->order('a.ordering ASC');"; - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Load the items"; - $query .= "\n\t\t\t\$db->setQuery(\$query);"; - $query .= "\n\t\t\t\$db->execute();"; - $query .= "\n\t\t\tif (\$db->getNumRows())"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$items = \$db->loadObjectList();"; - $query .= $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###'],"\t\t",true); - $query .= "\n\t\t\t\treturn \$items;"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t}"; - $query .= "\n\t\treturn false;"; - $query .= "\n\t}"; - - $query .= "\n\n\t/**"; - $query .= "\n\t* Method to get header."; - $query .= "\n\t*"; - $query .= "\n\t* @return mixed An array of data items on success, false on failure."; - $query .= "\n\t*/"; - $query .= "\n\tpublic function getExImPortHeaders()"; - $query .= "\n\t{"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $query .= "\n\t\t\$db = JFactory::getDbo();"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." get the columns"; - $query .= "\n\t\t\$columns = \$db->getTableColumns(".'"#__'.$this->fileContentStatic['###component###'].'_'.$viewName_single.'");'; - $query .= "\n\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$columns))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." remove the headers you don't import/export."; - $query .= "\n\t\t\tunset(\$columns['asset_id']);"; - $query .= "\n\t\t\tunset(\$columns['checked_out']);"; - $query .= "\n\t\t\tunset(\$columns['checked_out_time']);"; - $query .= "\n\t\t\t\$headers = new stdClass();"; - $query .= "\n\t\t\tforeach (\$columns as \$column => \$type)"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$headers->{\$column} = \$column;"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\treturn \$headers;"; - $query .= "\n\t\t}"; - $query .= "\n\t\treturn false;"; - $query .= "\n\t}"; - } - return $query; - } - - protected function setControllerEximportMethod($viewName_single, $viewName_list) - { - $method = ''; - if (isset($this->eximportView[$viewName_list]) && $this->eximportView[$viewName_list]) - { - $method = array(); - - // add the export method - $method[] = "\n\n\tpublic function exportData()"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check for request forgeries"; - $method[] = "\t\tJSession::checkToken() or die(JText::_('JINVALID_TOKEN'));"; - $method[] = "\t\t//".$this->setLine(__LINE__)." check if export is allowed for this user."; - $method[] = "\t\t\$user = JFactory::getUser();"; - $method[] = "\t\tif (\$user->authorise('".$viewName_single.".export', 'com_".$this->fileContentStatic['###component###']."') && \$user->authorise('core.export', 'com_".$this->fileContentStatic['###component###']."'))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the input"; - $method[] = "\t\t\t\$input = JFactory::getApplication()->input;"; - $method[] = "\t\t\t\$pks = \$input->post->get('cid', array(), 'array');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Sanitize the input"; - $method[] = "\t\t\tJArrayHelper::toInteger(\$pks);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the model"; - $method[] = "\t\t\t\$model = \$this->getModel('".ComponentbuilderHelper::safeString($viewName_list,'F')."');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." get the data to export"; - $method[] = "\t\t\t\$data = \$model->getExportData(\$pks);"; - $method[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$data))"; - $method[] = "\t\t\t{"; - $method[] = "\t\t\t\t//".$this->setLine(__LINE__)." now set the data to the spreadsheet"; - $method[] = "\t\t\t\t\$date = JFactory::getDate();"; - $method[] = "\t\t\t\t".$this->fileContentStatic['###Component###']."Helper::xls(\$data,'".ComponentbuilderHelper::safeString($viewName_list,'F')."_'.\$date->format('jS_F_Y'),'".ComponentbuilderHelper::safeString($viewName_list,'Ww')." exported ('.\$date->format('jS F, Y').')','".ComponentbuilderHelper::safeString($viewName_list,'w')."');"; - $method[] = "\t\t\t}"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Redirect to the list screen with error."; - $method[] = "\t\t\$message = JText::_('".$this->langPrefix."_EXPORT_FAILED');"; - $method[] = "\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_list."', false), \$message, 'error');"; - $method[] = "\t\treturn;"; - $method[] = "\t}"; - - // add the import method - $method[] = "\n\n\tpublic function importData()"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check for request forgeries"; - $method[] = "\t\tJSession::checkToken() or die(JText::_('JINVALID_TOKEN'));"; - $method[] = "\t\t//".$this->setLine(__LINE__)." check if import is allowed for this user."; - $method[] = "\t\t\$user = JFactory::getUser();"; - $method[] = "\t\tif (\$user->authorise('".$viewName_single.".import', 'com_".$this->fileContentStatic['###component###']."') && \$user->authorise('core.import', 'com_".$this->fileContentStatic['###component###']."'))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the import model"; - $method[] = "\t\t\t\$model = \$this->getModel('".ComponentbuilderHelper::safeString($viewName_list,'F')."');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." get the headers to import"; - $method[] = "\t\t\t\$headers = \$model->getExImPortHeaders();"; - $method[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkObject(\$headers))"; - $method[] = "\t\t\t{"; - $method[] = "\t\t\t\t//".$this->setLine(__LINE__)." Load headers to session."; - $method[] = "\t\t\t\t\$session = JFactory::getSession();"; - $method[] = "\t\t\t\t\$headers = json_encode(\$headers);"; - $method[] = "\t\t\t\t\$session->set('".$viewName_single."_VDM_IMPORTHEADERS', \$headers);"; - $method[] = "\t\t\t\t\$session->set('backto_VDM_IMPORT', '".$viewName_list."');"; - $method[] = "\t\t\t\t\$session->set('dataType_VDM_IMPORTINTO', '".$viewName_single."');"; - $method[] = "\t\t\t\t//".$this->setLine(__LINE__)." Redirect to import view."; - // add to lang array - $selectImportFileNote = $this->langPrefix."_IMPORT_SELECT_FILE_FOR_".ComponentbuilderHelper::safeString($viewName_list,'U'); - if (!isset($this->langContent[$this->lang][$selectImportFileNote])) - { - $this->langContent[$this->lang][$selectImportFileNote] = 'Select the file to import data to '.$viewName_list.'.'; - } - $method[] = "\t\t\t\t\$message = JText::_('".$selectImportFileNote."');"; - $method[] = "\t\t\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=import', false), \$message);"; - $method[] = "\t\t\t\treturn;"; - $method[] = "\t\t\t}"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Redirect to the list screen with error."; - $method[] = "\t\t\$message = JText::_('".$this->langPrefix."_IMPORT_FAILED');"; - $method[] = "\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_list."', false), \$message, 'error');"; - $method[] = "\t\treturn;"; - $method[] = "\t}"; - return implode("\n",$method); - } - return $method; - } - - protected function setExportButton($viewName_single, $viewName_list) - { - $button = ''; - if (isset($this->eximportView[$viewName_list]) && $this->eximportView[$viewName_list]) - { - // main lang prefix - $langExport = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Export Data','U'); - // add to lang array - if (!isset($this->langContent[$this->lang][$langExport])) - { - $this->langContent[$this->lang][$langExport] = 'Export Data'; - } - $button = array(); - $button[] = "\n\n\t\t\tif (\$this->canDo->get('core.export') && \$this->canDo->get('".$viewName_single.".export'))"; - $button[] = "\t\t\t{"; - $button[] = "\t\t\t\tJToolBarHelper::custom('".$viewName_list.".exportData', 'download', '', '".$langExport."', true);"; - $button[] = "\t\t\t}"; - return implode("\n",$button); - } - return $button; - } - - protected function setImportButton($viewName_single, $viewName_list) - { - $button = ''; - if (isset($this->eximportView[$viewName_list]) && $this->eximportView[$viewName_list]) - { - // main lang prefix - $langImport = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Import Data','U'); - // add to lang array - if (!isset($this->langContent[$this->lang][$langImport])) - { - $this->langContent[$this->lang][$langImport] = 'Import Data'; - } - $button = array(); - $button[] = "\n\n\t\tif (\$this->canDo->get('core.import') && \$this->canDo->get('".$viewName_single.".import'))"; - $button[] = "\t\t{"; - $button[] = "\t\t\tJToolBarHelper::custom('".$viewName_list.".importData', 'upload', '', '".$langImport."', false);"; - $button[] = "\t\t}"; - return implode("\n",$button); - } - return $button; - } - - protected function setListQuery($viewName_single, $viewName_list) - { - // check if this view has category added - if (isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])) - { - $categoryCodeName = $this->categoryBuilder[$viewName_list]['code']; - $addCategory = true; - } - else - { - $addCategory = false; - } - // setup the query - $query = "//".$this->setLine(__LINE__)." Get the user object."; - $query .= "\n\t\t\$user = JFactory::getUser();"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $query .= "\n\t\t\$db = JFactory::getDBO();"; - $query .= "\n\t\t\$query = \$db->getQuery(true);"; - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Select some fields"; - $query .= "\n\t\t\$query->select('a.*');"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->select(\$db->quoteName('c.title','category_title'));"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." From the ".$this->fileContentStatic['###component###']."_item table"; - $query .= "\n\t\t\$query->from(\$db->quoteName('#__".$this->fileContentStatic['###component###']."_".$viewName_single."', 'a'));"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->join('LEFT', \$db->quoteName('#__categories', 'c') . ' ON (' . \$db->quoteName('a.".$categoryCodeName."') . ' = ' . \$db->quoteName('c.id') . ')');"; - } - // add custom filtering php - if (isset($this->customScriptBuilder['php_getlistquery'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getlistquery'][$viewName_single])) - { - $query .= "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getlistquery'][$viewName_single]); - } - // add the custom fields query - $query .= $this->setCustomQuery($viewName_list, $viewName_single); - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by published state"; - $query .= "\n\t\t\$published = \$this->getState('filter.published');"; - $query .= "\n\t\tif (is_numeric(\$published))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.published = ' . (int) \$published);"; - $query .= "\n\t\t}"; - $query .= "\n\t\telseif (\$published === '')"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('(a.published = 0 OR a.published = 1)');"; - $query .= "\n\t\t}"; - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Join over the asset groups."; - $query .= "\n\t\t\$query->select('ag.title AS access_level');"; - $query .= "\n\t\t\$query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Filter by access level."; - $query .= "\n\t\tif (\$access = \$this->getState('filter.access'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.access = ' . (int) \$access);"; - $query .= "\n\t\t}"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Implement View Level Access"; - $query .= "\n\t\tif (!\$user->authorise('core.options', 'com_".$this->fileContentStatic['###component###']."'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$groups = implode(',', \$user->getAuthorisedViewLevels());"; - $query .= "\n\t\t\t\$query->where('a.access IN (' . \$groups . ')');"; - $query .= "\n\t\t}"; - } - // set the search query - $query .= $this->setSearchQuery($viewName_list); - // set other filters - $query .= $this->setFilterQuery($viewName_list); - // add the category - if ($addCategory) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by a single or group of categories."; - $query .= "\n\t\t\$baselevel = 1;"; - $query .= "\n\t\t\$categoryId = \$this->getState('filter.category_id');"; - $query .= "\n"; - $query .= "\n\t\tif (is_numeric(\$categoryId))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$cat_tbl = JTable::getInstance('Category', 'JTable');"; - $query .= "\n\t\t\t\$cat_tbl->load(\$categoryId);"; - $query .= "\n\t\t\t\$rgt = \$cat_tbl->rgt;"; - $query .= "\n\t\t\t\$lft = \$cat_tbl->lft;"; - $query .= "\n\t\t\t\$baselevel = (int) \$cat_tbl->level;"; - $query .= "\n\t\t\t\$query->where('c.lft >= ' . (int) \$lft)"; - $query .= "\n\t\t\t\t->where('c.rgt <= ' . (int) \$rgt);"; - $query .= "\n\t\t}"; - $query .= "\n\t\telseif (is_array(\$categoryId))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\tJArrayHelper::toInteger(\$categoryId);"; - $query .= "\n\t\t\t\$categoryId = implode(',', \$categoryId);"; - $query .= "\n\t\t\t\$query->where('a.category IN (' . \$categoryId . ')');"; - $query .= "\n\t\t}"; - $query .= "\n"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Add the list ordering clause."; - $query .= "\n\t\t\$orderCol = \$this->state->get('list.ordering', 'a.id');"; - $query .= "\n\t\t\$orderDirn = \$this->state->get('list.direction', 'asc'); "; - $query .= "\n\t\tif (\$orderCol != '')"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->order(\$db->escape(\$orderCol . ' ' . \$orderDirn));"; - $query .= "\n\t\t}"; - $query .= "\n"; - $query .= "\n\t\treturn \$query;"; - - return $query; - } - - protected function setSearchQuery($viewName_list) - { - if (isset($this->searchBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->searchBuilder[$viewName_list])) - { - // setup the searh options - $search = "'("; - foreach ($this->searchBuilder[$viewName_list] as $nr => $array) - { - // array( 'type' => $typeName, 'code' => $name, 'custom' => $custom, 'list' => $field['list']); - if ($nr == 0) - { - $search .= "a.".$array['code']." LIKE '.\$search.'"; - if (ComponentbuilderHelper::checkArray($array['custom']) && 1 == $array['list']) - { - $search .= " OR ".$array['custom']['db'].".".$array['custom']['text']." LIKE '.\$search.'"; - } - } - else - { - $search .= " OR a.".$array['code']." LIKE '.\$search.'"; - if (ComponentbuilderHelper::checkArray($array['custom']) && 1 == $array['list']) - { - $search .= " OR ".$array['custom']['db'].".".$array['custom']['text']." LIKE '.\$search.'"; - } - } - } - $search .= ")'"; - // now setup query - $query = "\n\t\t//".$this->setLine(__LINE__)." Filter by search."; - $query .= "\n\t\t\$search = \$this->getState('filter.search');"; - $query .= "\n\t\tif (!empty(\$search))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\tif (stripos(\$search, 'id:') === 0)"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$query->where('a.id = ' . (int) substr(\$search, 3));"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\telse"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$search = \$db->quote('%' . \$db->escape(\$search, true) . '%');"; - $query .= "\n\t\t\t\t\$query->where(".$search.");"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t}"; - $query .= "\n"; - - return $query; - } - return ''; - } - - protected function setCustomQuery($viewName_list, $viewName_single) - { - if (isset($this->customBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customBuilder[$viewName_list])) - { - $query = ""; - foreach ($this->customBuilder[$viewName_list] as $filter) - { - if (isset($this->customBuilderList[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customBuilderList[$viewName_list]) && in_array($filter['code'],$this->customBuilderList[$viewName_list])) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." From the ".ComponentbuilderHelper::safeString(ComponentbuilderHelper::safeString($filter['custom']['table'],'w'))." table."; - $query .= "\n\t\t\$query->select(\$db->quoteName('".$filter['custom']['db'].".".$filter['custom']['text']."','".$filter['code']."_".$filter['custom']['text']."'));"; - $query .= "\n\t\t\$query->join('LEFT', \$db->quoteName('".$filter['custom']['table']."', '".$filter['custom']['db']."') . ' ON (' . \$db->quoteName('a.".$filter['code']."') . ' = ' . \$db->quoteName('".$filter['custom']['db'].".".$filter['custom']['id']."') . ')');"; - } - // build the field type file - $this->setCustomFieldTypeFile($filter, $viewName_list, $viewName_single); - } - return $query; - } - } - - protected function setCustomFieldTypeFile($data, $viewName_list, $viewName_single) - { - // make sure it is not already been build - if (!isset($this->fileContentDynamic['customfield_'.$data['type']]) || !ComponentbuilderHelper::checkArray($this->fileContentDynamic['customfield_'.$data['type']])) - { - // first build the custom field type file - $target = array('admin' => 'customfield'); - $this->buildDynamique($target,'field'.$data['custom']['extends'],$data['custom']['type']); - // set tab and break replacements - $tabBreak = array( - '\t' => "\t", - '\n' => "\n" - ); - // make field dynamic - $replace = array( - '###TABLE###' => $data['custom']['table'], - '###ID###' => $data['custom']['id'], - '###TEXT###' => $data['custom']['text'], - '###CODE_TEXT###' => $data['code'].'_'.$data['custom']['text'], - '###CODE###' => $data['code'], - '###component###' => $this->fileContentStatic['###component###'], - '###Component###' => $this->fileContentStatic['###Component###'], - '###view_type###' => $viewName_single.'_'.$data['type'], - '###type###' => $data['type'], - '###view###' => $viewName_single, - '###views###' => $viewName_list - ); - // now load the php script - if (isset($data['custom']['php']) && ComponentbuilderHelper::checkArray($data['custom']['php'])) - { - // make sure the ar is reset - $phpCode = ''; - foreach ($data['custom']['php'] as $line => $code) - { - if (ComponentbuilderHelper::checkString($code)) - { - if ($line == 1) - { - $phpCode .= str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - else - { - $phpCode .= "\n\t\t".str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - } - } - // replace the placholders - $phpCode = str_replace(array_keys($replace),array_values($replace),$phpCode); - } - else - { - $phpCode = 'return null;'; - } - if (!ComponentbuilderHelper::checkString($phpCode)) - { - $phpCode = 'return null;'; - } - - if ($data['custom']['extends'] == 'user') - { - // now load the php xclude script - if (ComponentbuilderHelper::checkArray($data['custom']['phpx'])) - { - // make sure the ar is reset - $phpxCode = ''; - foreach ($data['custom']['phpx'] as $line => $code) - { - if (ComponentbuilderHelper::checkString($code)) - { - if ($line == 1) - { - $phpxCode .= str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - else - { - $phpxCode .= "\n\t\t".str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - } - } - // replace the placholders - $phpxCode = str_replace(array_keys($replace),array_values($replace),$phpxCode); - } - else - { - $phpxCode = 'return null;'; - } - if (!ComponentbuilderHelper::checkString($phpxCode)) - { - $phpxCode = 'return null;'; - } - // temp holder for name - $tempName = $data['custom']['label'].' Group'; - // set lang - $groupLangName = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($tempName,'U'); - // add to lang array - $this->langContent[$this->lang][$groupLangName] = ComponentbuilderHelper::safeString($tempName,'W'); - // build the Group Control - $this->setGroupControl[$data['type']] = $groupLangName; - // ###JFORM_GETGROUPS_PHP### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###JFORM_GETGROUPS_PHP###'] = $phpCode; - - // ###JFORM_GETEXCLUDED_PHP### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###JFORM_GETEXCLUDED_PHP###'] = $phpxCode; - } - else - { - // ###JFORM_GETOPTIONS_PHP### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###JFORM_GETOPTIONS_PHP###'] = $phpCode; - } - // ###Type### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###Type###'] = ComponentbuilderHelper::safeString($data['custom']['type'],'F'); - // ###type### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###type###'] = $data['custom']['type']; - // ###type### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###ADD_BUTTON###'] = $this->setAddButttonToListField($data['custom']['view']); - } - } - - protected function setAddButttonToListField($targetView) - { - $addButton = array(); - $addButton[] = "\n\t/**"; - $addButton[] = "\t * Override to add new button"; - $addButton[] = "\t *"; - $addButton[] = "\t * @return string The field input markup."; - $addButton[] = "\t *"; - $addButton[] = "\t * @since 3.2"; - $addButton[] = "\t */"; - $addButton[] = "\tprotected function getInput()"; - $addButton[] = "\t{"; - $addButton[] = "\t\t//".$this->setLine(__LINE__)." see if we should add buttons"; - $addButton[] = "\t\t\$setButton = \$this->getAttribute('button');"; - $addButton[] = "\t\t//".$this->setLine(__LINE__)." get html"; - $addButton[] = "\t\t\$html = parent::getInput();"; - $addButton[] = "\t\t//".$this->setLine(__LINE__)." if true set button"; - $addButton[] = "\t\tif (\$setButton === 'true')"; - $addButton[] = "\t\t{"; - $addButton[] = "\t\t\t\$user = JFactory::getUser();"; - $addButton[] = "\t\t\t//".$this->setLine(__LINE__)." only add if user allowed to create " . $targetView; - // get core permissions - $coreLoad = false; - if (isset($this->permissionCore[$targetView])) - { - $core = $this->permissionCore[$targetView]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($targetView,$this->permissionBuilder['global'][$core['core.create']])) - { - $addButton[] = "\t\t\tif (\$user->authorise('".$core['core.create']."', 'com_".$this->fileContentStatic['###component###']."'))"; - } - else - { - $addButton[] = "\t\t\tif (\$user->authorise('core.create', 'com_".$this->fileContentStatic['###component###']."'))"; - } - $addButton[] = "\t\t\t{"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." get the input from url"; - $addButton[] = "\t\t\t\t\$jinput = JFactory::getApplication()->input;"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." get the view name & id"; - $addButton[] = "\t\t\t\t\$values = \$jinput->getArray(array("; - $addButton[] = "\t\t\t\t\t'id' => 'int',"; - $addButton[] = "\t\t\t\t\t'view' => 'word'"; - $addButton[] = "\t\t\t\t));"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." check if new item"; - $addButton[] = "\t\t\t\t\$ref = '';"; - $addButton[] = "\t\t\t\tif (!is_null(\$values['id']) && strlen(\$values['view']))"; - $addButton[] = "\t\t\t\t{"; - $addButton[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." only load referal if not new item."; - $addButton[] = "\t\t\t\t\t\$ref = '&amp;ref=' . \$values['view'] . '&amp;refid=' . \$values['id'];"; - $addButton[] = "\t\t\t\t}"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." build the button"; - $addButton[] = "\t\t\t\t\$button = '<a class=\"btn btn-small btn-success\""; - $addButton[] = "\t\t\t\t\thref=\"index.php?option=com_" . $this->fileContentStatic['###component###'] . "&amp;view=" . $targetView . "&amp;layout=edit'.\$ref.'\" >"; - $addButton[] = "\t\t\t\t\t<span class=\"icon-new icon-white\"></span>' . JText::_('COM_".$this->fileContentStatic['###COMPONENT###']."_NEW') . '</a>';"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." return the button attached to input field"; - $addButton[] = "\t\t\t\treturn \$html . \$button;"; - $addButton[] = "\t\t\t}"; - $addButton[] = "\t\t}"; - $addButton[] = "\t\treturn \$html;"; - $addButton[] = "\t}"; - - return implode("\n",$addButton); - } - - protected function setFilterQuery($viewName_list) - { - if (isset($this->filterBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$viewName_list])) - { - $filterQuery = ""; - foreach ($this->filterBuilder[$viewName_list] as $filter) - { - if ($filter['type'] != 'category' && ComponentbuilderHelper::checkArray($filter['custom'])) - { - $filterQuery .= "\n\t\t//".$this->setLine(__LINE__)." Filter by ".$filter['code']."."; - $filterQuery .= "\n\t\tif (\$".$filter['code']." = \$this->getState('filter.".$filter['code']."'))"; - $filterQuery .= "\n\t\t{"; - $filterQuery .= "\n\t\t\t\$query->where('a.".$filter['code']." = ' . \$db->quote(\$db->escape(\$".$filter['code'].", true)));"; - $filterQuery .= "\n\t\t}"; - - } - elseif ($filter['type'] != 'category') - { - $filterQuery .= "\n\t\t//".$this->setLine(__LINE__)." Filter by ".ucwords($filter['code'])."."; - $filterQuery .= "\n\t\tif (\$".$filter['code']." = \$this->getState('filter.".$filter['code']."'))"; - $filterQuery .= "\n\t\t{"; - $filterQuery .= "\n\t\t\t\$query->where('a.".$filter['code']." = ' . \$db->quote(\$db->escape(\$".$filter['code'].", true)));"; - $filterQuery .= "\n\t\t}"; - } - } - return $filterQuery; - } - return ''; - } - - protected function buildTheViewScript($viewArray, $component) - { - // set the view name - $viewName = ComponentbuilderHelper::safeString($viewArray['settings']->name_single); - // setup the str_replace values - $placeholders = array('[[[component]]]' => $component, '[[[view]]]' => $viewName); - // add conditions to this view - if (isset($viewArray['settings']->conditions) && ComponentbuilderHelper::checkArray($viewArray['settings']->conditions)) - { - // reset defaults - $getValue = array(); - $ifValue = array(); - $targetControls = array(); - $functions = array(); - foreach ($viewArray['settings']->conditions as $condition) - { - if (isset($condition['match_name']) && ComponentbuilderHelper::checkString($condition['match_name'])) - { - $uniqueVar = ComponentbuilderHelper::randomkey(7); - $matchName = $condition['match_name'].'_'.$uniqueVar; - $targetBehavior = ($condition['target_behavior'] == 1) ? 'show' : 'hide'; - $targetDefault = ($condition['target_behavior'] == 1) ? 'hide' : 'show'; - - // make sure only one relation is set - $firstTime = true; - // set the realtation if any - if ($condition['target_relation'] && $firstTime) - { - // chain to other items of the same target - $relations = $this->getTargetRelationScript($viewArray['settings']->conditions,$condition,$viewName); - if (ComponentbuilderHelper::checkArray($relations)) - { - // set behavior and default array - $behaviors[$matchName] = $targetBehavior; - $defaults[$matchName] = $targetDefault; - // set the type buket - $typeBuket[$matchName] = $condition['match_type']; - // set function array - $functions[$uniqueVar][0] = $matchName; - $matchNames[$matchName] = $condition['match_name']; - // get the select value - $getValue[$matchName] = $this->getValueScript($condition['match_type'],$condition['match_name'],$uniqueVar); - // get the options - $options = $this->getOptionsScript($condition['match_type'],$condition['match_options']); - // set the if values - $ifValue[$matchName] = $this->ifValueScript($matchName,$condition['match_behavior'],$condition['match_type'],$options); - // set the target controls - $targetControls[$matchName] = $this->setTargetControlsScript($condition['target_field'],$targetBehavior,$targetDefault,$uniqueVar,$viewName); - - $firstTime = false; - foreach($relations as $relation) - { - if (ComponentbuilderHelper::checkString($relation['match_name'])) - { - $relationName = $relation['match_name'].'_'.$uniqueVar; - // set the type buket - $typeBuket[$relationName] = $relation['match_type']; - // set function array - $functions[$uniqueVar][] = $relationName; - $matchNames[$relationName] = $relation['match_name']; - // get the relation option - $relationOptions = $this->getOptionsScript($relation['match_type'],$relation['match_options']); - $getValue[$relationName] = $this->getValueScript($relation['match_type'],$relation['match_name'],$uniqueVar); - $ifValue[$relationName] = $this->ifValueScript($relationName,$relation['match_behavior'],$relation['match_type'],$relationOptions); - } - } - } - } - else - { - // set behavior and default array - $behaviors[$matchName] = $targetBehavior; - $defaults[$matchName] = $targetDefault; - // set the type buket - $typeBuket[$matchName] = $condition['match_type']; - // set function array - $functions[$uniqueVar][0] = $matchName; - $matchNames[$matchName] = $condition['match_name']; - // get the select value - $getValue[$matchName] = $this->getValueScript($condition['match_type'],$condition['match_name'],$uniqueVar); - // get the options - $options = $this->getOptionsScript($condition['match_type'],$condition['match_options']); - // set the if values - $ifValue[$matchName] = $this->ifValueScript($matchName,$condition['match_behavior'],$condition['match_type'],$options); - // set the target controls - $targetControls[$matchName] = $this->setTargetControlsScript($condition['target_field'],$targetBehavior,$targetDefault,$uniqueVar,$viewName); - } - } - } - // reset buckets - $initial = ''; - $func = ''; - $validation = ''; - $isSet = ''; - $listener = ''; - if (ComponentbuilderHelper::checkArray($functions)) - { - // now build the initial script - $initial .= "// Initial Script\njQuery(document).ready(function()"; - $initial .= "\n{"; - foreach ($functions as $function => $matchKeys) - { - $func_call = $this->buildFunctionCall($function,$matchKeys,$getValue); - $initial .= $func_call['code']; - } - $initial .= "});\n"; - // for modal fields - $modal = ''; - // now build the listener scripts - foreach ($functions as $l_function => $l_matchKeys) - { - $funcCall = ''; - foreach ($l_matchKeys as $l_matchKey) - { - $name = $matchNames[$l_matchKey]; - $matchTypeKey = $typeBuket[$l_matchKey]; - $funcCall = $this->buildFunctionCall($l_function,$l_matchKeys,$getValue); - if (isset($this->setScriptUserSwitch) && ComponentbuilderHelper::checkArray($this->setScriptUserSwitch) && in_array($matchTypeKey,$this->setScriptUserSwitch)) - { - $modal .= $funcCall['code']; - } - elseif(isset($this->setScriptMediaSwitch) && ComponentbuilderHelper::checkArray($this->setScriptMediaSwitch) && in_array($matchTypeKey,$this->setScriptMediaSwitch)) - { - $modal .= $funcCall['code']; - } - else - { - $listener .= "\n// #jform_".$name." listeners for ".$l_matchKey." function"; - $listener .= "\njQuery('#jform_".$name."').on('keyup',function()"; - $listener .= "\n{"; - $listener .= $funcCall['code']; - $listener .= "\n});"; - $listener .= "\njQuery('#adminForm').on('change', '#jform_".$name."',function (e)"; - $listener .= "\n{"; - $listener .= "\n\te.preventDefault();"; - $listener .= $funcCall['code']; - $listener .= "\n});\n"; - } - } - } - if (ComponentbuilderHelper::checkString($modal)) - { - $listener .= "\nwindow.SqueezeBox.initialize({"; - $listener .= "\n\tonClose:function(){"; - $listener .= $modal; - $listener .= "\n\t}"; - $listener .= "\n});\n"; - } - - // now build the function - $func = ''; - $head = ''; - foreach ($functions as $f_function => $f_matchKeys) - { - $map = ''; - // does this function require an array - $addArray = false; - $func_ = $this->buildFunctionCall($f_function,$f_matchKeys,$getValue); - // set array switch - if ($func_['array']) - { - $addArray = true; - } - $func .= "\n// the ".$f_function." function"; - $func .= "\nfunction ".$f_function."("; - $fucounter = 0; - foreach ($f_matchKeys as $fu_matchKey) - { - if (ComponentbuilderHelper::checkString($fu_matchKey)) - { - if ($fucounter == 0) - { - $func .= $fu_matchKey; - } - else - { - $func .= ','.$fu_matchKey; - } - $fucounter++; - } - } - $func .= ")"; - $func .= "\n{"; - if ($addArray) - { - foreach ($f_matchKeys as $a_matchKey) - { - $name = $matchNames[$a_matchKey]; - $func .= "\n\tif (isSet(".$a_matchKey.") && ".$a_matchKey.".constructor !== Array)\n\t{\n\t\tvar temp_".$f_function." = ".$a_matchKey.";\n\t\tvar ".$a_matchKey." = [];\n\t\t".$a_matchKey.".push(temp_".$f_function.");\n\t}"; - $func .= "\n\telse if (!isSet(".$a_matchKey."))\n\t{"; - $func .= "\n\t\tvar ".$a_matchKey." = [];"; - $func .= "\n\t}"; - $func .= "\n\tvar ".$name." = ".$a_matchKey.".some(".$a_matchKey."_SomeFunc);\n"; - - // setup the map function - $map .= "\n// the ".$f_function." Some function"; - $map .= "\nfunction ".$a_matchKey."_SomeFunc(".$a_matchKey.")"; - $map .= "\n{"; - $map .= "\n\t//".$this->setLine(__LINE__)." set the function logic"; - $map .= "\n\tif ("; - $if = $ifValue[$a_matchKey]; - if (ComponentbuilderHelper::checkString($if)) - { - $map .= $if; - } - $map .= ")"; - $map .= "\n\t{"; - $map .= "\n\t\treturn true;"; - $map .= "\n\t}\n\treturn false;"; - $map .= "\n}\n"; - } - $func .= "\n\n\t//".$this->setLine(__LINE__)." set this function logic"; - $func .= "\n\tif ("; - // set if counter - $aifcounter = 0; - foreach ($f_matchKeys as $af_matchKey) - { - $name = $matchNames[$af_matchKey]; - if ($aifcounter == 0) - { - $func .= $name; - } - else - { - $func .= ' && '.$name; - } - $aifcounter++; - } - $func .= ")\n\t{"; - - } - else - { - $func .= "\n\t//".$this->setLine(__LINE__)." set the function logic"; - $func .= "\n\tif ("; - // set if counter - $ifcounter = 0; - foreach ($f_matchKeys as $f_matchKey) - { - $if = $ifValue[$f_matchKey]; - if (ComponentbuilderHelper::checkString($if)) - { - if ($ifcounter == 0) - { - $func .= $if; - } - else - { - $func .= ' && '.$if; - } - $ifcounter++; - } - } - $func .= ")\n\t{"; - } - // get the controles - $controls = $targetControls[$f_matchKeys[0]]; - // get target behavior and default - $targetBehavior = $behaviors[$f_matchKeys[0]]; - $targetDefault = $defaults[$f_matchKeys[0]]; - // load the target behavior - foreach($controls as $target => $action) - { - $func .= $action['behavior']; - if (ComponentbuilderHelper::checkString($action['hide'])) - { - $func .= $action[$targetBehavior]; - $head .= $action['requiredVar']; - } - } - $func .= "\n\t}\n\telse\n\t{"; - foreach($controls as $target => $action) - { - $func .= $action['default']; - if (ComponentbuilderHelper::checkString($action['hide'])) - { - $func .= $action[$targetDefault]; - } - } - $func .= "\n\t}\n}\n".$map; - } - // add the needed validation to file - if (isset($this->validationFixBuilder[$viewName]) && ComponentbuilderHelper::checkArray($this->validationFixBuilder[$viewName])) - { - $validation .= "\n// update required fields"; - $validation .= "\nfunction updateFieldRequired(name,status)"; - $validation .= "\n{"; - $validation .= "\n\tvar not_required = jQuery('#jform_not_required').val();"; - $validation .= "\n\n\tif(status == 1)"; - $validation .= "\n\t{"; - $validation .= "\n\t\tif (isSet(not_required) && not_required != 0)"; - $validation .= "\n\t\t{"; - $validation .= "\n\t\t\tnot_required = not_required+','+name;"; - $validation .= "\n\t\t}"; - $validation .= "\n\t\telse"; - $validation .= "\n\t\t{"; - $validation .= "\n\t\t\tnot_required = ','+name;"; - $validation .= "\n\t\t}"; - $validation .= "\n\t}"; - $validation .= "\n\telse"; - $validation .= "\n\t{"; - $validation .= "\n\t\tif (isSet(not_required) && not_required != 0)"; - $validation .= "\n\t\t{"; - $validation .= "\n\t\t\tnot_required = not_required.replace(','+name,'');"; - $validation .= "\n\t\t}"; - $validation .= "\n\t}"; - $validation .= "\n\n\tjQuery('#jform_not_required').val(not_required);"; - $validation .= "\n}\n"; - } - // set the isSet function - $isSet = "\n// the isSet function"; - $isSet .= "\nfunction isSet(val)"; - $isSet .= "\n{"; - $isSet .= "\n\tif ((val != undefined) && (val != null) && 0 !== val.length){"; - $isSet .= "\n\t\treturn true;"; - $isSet .= "\n\t}"; - $isSet .= "\n\treturn false;"; - $isSet .= "\n}"; - } - // load to this buket - $fileScript = $initial.$func.$validation.$isSet; - $footerScript = $listener; - } - // add custom script to file - if (isset($this->customScriptBuilder['view_file'][$viewName]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['view_file'][$viewName])) - { - if (!isset($fileScript)) - { - $fileScript = ''; - } - $fileScript .= "\n\n".str_replace(array_keys($placeholders),array_values($placeholders),$this->customScriptBuilder['view_file'][$viewName]); - } - // add custom script to footer - if (isset($this->customScriptBuilder['view_footer'][$viewName]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['view_footer'][$viewName])) - { - $customFooterScript = "\n\n".str_replace(array_keys($placeholders),array_values($placeholders),$this->customScriptBuilder['view_footer'][$viewName]); - if (strpos($customFooterScript,'<?php') === false) - { - // only add now if no php is added to the footer script - if (!isset($footerScript)) - { - $footerScript = ''; - } - $footerScript .= $customFooterScript; - unset($customFooterScript); - } - - } - // minfy the script - if ($this->params->get('minify') && isset($fileScript) && ComponentbuilderHelper::checkString($fileScript)) - { - // minify the fielScript javscript - $minifier = new JS; - $minifier->add($fileScript); - $fileScript = $minifier->minify(); - } - // minfy the script - if ($this->params->get('minify') && isset($footerScript) && ComponentbuilderHelper::checkString($footerScript)) - { - // minify the footerScript javscript - $minifier = new JS; - $minifier->add($footerScript); - $footerScript = $minifier->minify(); - } - // make sure there is script to add - if (isset($fileScript) && ComponentbuilderHelper::checkString($fileScript)) - { - // add the head script if set - if (isset($head) && ComponentbuilderHelper::checkString($head)) - { - $fileScript = "// Some Global Values\n".$head."\n".$fileScript; - } - // load the script - $this->editBodyViewScriptBuilder[$viewName]['fileScript'] = $fileScript; - } - // make sure to add custom footer script if php was found in it, since we canot minfy it with php - if (isset($customFooterScript) && ComponentbuilderHelper::checkString($customFooterScript)) - { - if (!isset($footerScript)) - { - $footerScript = ''; - } - $footerScript .= $customFooterScript; - } - // make sure there is script to add - if (isset($footerScript) && ComponentbuilderHelper::checkString($footerScript)) - { - // add the needed script tags - $footerScript = "\n\n".'<script type="text/javascript">'."\n".$footerScript."\n</script>"; - $this->editBodyViewScriptBuilder[$viewName]['footerScript'] = $footerScript; - } - } - - protected function buildFunctionCall($function,$matchKeys,$getValue) - { - $initial = ''; - $funcsets = array(); - $array = false; - foreach ($matchKeys as $matchKey) - { - $value = $getValue[$matchKey]; - if ($value['isArray']) - { - $initial .= "\n\t".$value['get']; - $funcsets[] = $matchKey; - $array = true; - } - else - { - $initial .= "\n\t".$value['get']; - $funcsets[] = $matchKey; - } - } - - // make sure that the function is loaded only once - if (ComponentbuilderHelper::checkArray($funcsets)) - { - $initial .= "\n\t".$function."("; - $initial .= implode(',',$funcsets); - $initial .= ");\n"; - } - return array('code' => $initial, 'array' => $array); - } - - protected function getTargetRelationScript($relations,$condition,$view) - { - // reset the buket - $buket = array(); - // convert to name array - foreach ($condition['target_field'] as $targetField) - { - if (ComponentbuilderHelper::checkArray($targetField)) - { - $currentTargets[] = $targetField['name']; - } - } - // start the search - foreach($relations as $relation) - { - // reset found - $found = false; - if ($relation['match_field'] != $condition['match_field']) - { - if (ComponentbuilderHelper::checkArray($relation['target_field'])) - { - foreach($relation['target_field'] as $target) - { - if (ComponentbuilderHelper::checkArray($target) && $this->checkRelationControl($target['name'],$relation['match_name'],$condition['match_name'],$view)) - { - if (in_array($target['name'],$currentTargets)) - { - $this->targetRelationControl[$view][$target['name']] = array($relation['match_name'],$condition['match_name']); - $found = true; - break; - } - } - } - if ($found) - { - $buket[] = $relation; - } - } - } - } - return $buket; - } - - protected function checkRelationControl($targetName,$relationMatchName,$conditionMatchName,$view) - { - if(isset($this->targetRelationControl[$view]) && ComponentbuilderHelper::checkArray($this->targetRelationControl[$view])) - { - if(isset($this->targetRelationControl[$view][$targetName]) && ComponentbuilderHelper::checkArray($this->targetRelationControl[$view][$targetName])) - { - if (!in_array($relationMatchName,$this->targetRelationControl[$view][$targetName]) || !in_array($conditionMatchName,$this->targetRelationControl[$view][$targetName])) - { - return true; - } - } - else - { - return true; - } - } - elseif (!isset($this->targetRelationControl[$view]) || !ComponentbuilderHelper::checkArray($this->targetRelationControl[$view])) - { - return true; - } - return false; - } - - protected function setTargetControlsScript($targets,$targetBehavior,$targetDefault,$uniqueVar,$viewName) - { - $bucket = array(); - if (ComponentbuilderHelper::checkArray($targets) && !in_array($uniqueVar,$this->targetControlsScriptChecker)) - { - foreach($targets as $target) - { - if (ComponentbuilderHelper::checkArray($target)) - { - // set the required var - if($target['required'] == 'yes') - { - $unique = $uniqueVar.ComponentbuilderHelper::randomkey(3); - $bucket[$target['name']]['requiredVar'] = "jform_".$unique."_required = false;\n"; - } - else - { - $bucket[$target['name']]['requiredVar'] = ''; - } - // set target type - $targetTypeSufix = ""; - if ($this->defaultField($target['type'], 'spacer')) - { - // target a class if this is a note or spacer - $targetType = "."; - } - elseif ($target['type'] == 'editor') - { - // target the label if editor field - $targetType = "#jform_"; - // since the id is not alway accessable we use the lable TODO (not best way) - $targetTypeSufix = "-lbl"; - } - else - { - // target an id if this is a field - $targetType = "#jform_"; - } - // set the target behavior - $bucket[$target['name']]['behavior'] = "\n\t\tjQuery('".$targetType.$target['name'].$targetTypeSufix."').closest('.control-group').".$targetBehavior."();"; - // set the target default - $bucket[$target['name']]['default'] = "\n\t\tjQuery('".$targetType.$target['name'].$targetTypeSufix."').closest('.control-group').".$targetDefault."();"; - // the hide required function - if($target['required'] == 'yes') - { - $hide = "\n\t\tif (!jform_".$unique."_required)"; - $hide .= "\n\t\t{"; - $hide .= "\n\t\t\tupdateFieldRequired('".$target['name']."',1);"; - $hide .= "\n\t\t\tjQuery('#jform_".$target['name']."').removeAttr('required');"; - $hide .= "\n\t\t\tjQuery('#jform_".$target['name']."').removeAttr('aria-required');"; - $hide .= "\n\t\t\tjQuery('#jform_".$target['name']."').removeClass('required');"; - $hide .= "\n\t\t\tjform_".$unique."_required = true;"; - $hide .= "\n\t\t}"; - $bucket[$target['name']]['hide'] = $hide; - // the show required function - $show = "\n\t\tif (jform_".$unique."_required)"; - $show .= "\n\t\t{"; - $show .= "\n\t\t\tupdateFieldRequired('".$target['name']."',0);"; - $show .= "\n\t\t\tjQuery('#jform_".$target['name']."').prop('required','required');"; - $show .= "\n\t\t\tjQuery('#jform_".$target['name']."').attr('aria-required',true);"; - $show .= "\n\t\t\tjQuery('#jform_".$target['name']."').addClass('required');"; - $show .= "\n\t\t\tjform_".$unique."_required = false;"; - $show .= "\n\t\t}\n"; - $bucket[$target['name']]['show'] = $show; - // make sure that the axaj and other needed things for this view is loaded - $this->validationFixBuilder[$viewName][] = $target['name']; - } - else - { - $bucket[$target['name']]['hide'] = ''; - $bucket[$target['name']]['show'] = ''; - } - } - } - $this->targetControlsScriptChecker[] = $uniqueVar; - } - return $bucket; - } - - - protected function ifValueScript($value,$behavior,$type,$options) - { - // reset string - $string = ''; - switch ($behavior) - { - case 1: // Is - // only 4 list/radio/checkboxes - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - if (ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option) - { - if (!is_numeric($option)) - { - if($option != 'true' && $option != 'false') - { - $option = "'".$option."'"; - } - } - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.' == '.$option; - } - else - { - $string .= $value.' == '.$option; - } - } - } - else - { - $string .= 'isSet('.$value.')'; - } - } - break; - case 2: // Is Not - // only 4 list/radio/checkboxes - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - if (ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option) - { - if (!is_numeric($option)) - { - if($option != 'true' && $option != 'false') - { - $option = "'".$option."'"; - } - } - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.' != '.$option; - } - else - { - $string .= $value.' != '.$option; - } - } - } - else - { - $string .= '!isSet('.$value.')'; - } - } - break; - case 3: // Any Selection - // only 4 list/radio/checkboxes/dynamic_list - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - if (ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option) - { - if (!is_numeric($option)) - { - if($option != 'true' && $option != 'false') - { - $option = "'".$option."'"; - } - } - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.' == '.$option; - } - else - { - $string .= $value.' == '.$option; - } - } - } - else - { - $userFix = ''; - if (isset($this->setScriptUserSwitch) && ComponentbuilderHelper::checkArray($this->setScriptUserSwitch) && in_array($type,$this->setScriptUserSwitch)) - { - // TODO this needs a closer look, a bit buggy - $userFix = " && ".$value." != 'Select a User.'"; - } - //echo '<pre>'; var_dump($type);exit; - $string .= 'isSet('.$value.')'.$userFix; - } - } - break; - case 4: // Active (not empty) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - $string .= 'isSet('.$value.')'; - } - break; - case 5: // Unactive (empty) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - $string .= '!isSet('.$value.')'; - } - break; - case 6: // Key Word All (case-sensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' && '.$value.'.indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 7: // Key Word Any (case-sensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.'.indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 8: // Key Word All (case-insensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - $keyword = ComponentbuilderHelper::safeString($keyword, 'w'); - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' && '.$value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 9: // Key Word Any (case-insensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - $keyword = ComponentbuilderHelper::safeString($keyword, 'w'); - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 10: // Min Length - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options)) - { - if ($options['length']) - { - $string .= $value.'.length >= '.(int) $options['length']; - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.'.length >= 5'; - } - } - break; - case 11: // Max Length - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - - { - if (ComponentbuilderHelper::checkArray($options)) - { - if ($options['length']) - { - $string .= $value.'.length <= '.(int) $options['length']; - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.'.length <= 5'; - } - } - break; - case 12: // Exact Length - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options)) - { - if ($options['length']) - { - $string .= $value.'.length == '.(int) $options['length']; - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.'.length == 5'; - } - } - break; - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string = 0; - } - return $string; - } - - protected function getOptionsScript($type,$options) - { - $buket = array(); - if(ComponentbuilderHelper::checkString($options)) - { - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - $optionsArray = explode(PHP_EOL, $options); - if (!ComponentbuilderHelper::checkArray($optionsArray)) - { - $optionsArray[] = $optionsArray; - } - foreach($optionsArray as $option) - { - if (strpos($option,'|') !== false) - { - list($option) = explode('|', $option); - } - if ($option != 'dynamic_list') - { - // add option to return buket - $buket[] = $option; - } - } - } - elseif(ComponentbuilderHelper::typeField($type, 'text')) - { - // check to get the key words if set - $keywords = ComponentbuilderHelper::getBetween($options,'keywords="','"'); - if (ComponentbuilderHelper::checkString($keywords)) - { - if (strpos($keywords,',') !== false) - { - $keywords = explode(',', $keywords); - foreach($keywords as $keyword) - { - $buket['keywords'][] = trim($keyword); - } - - } - else - { - $buket['keywords'][] = trim($keywords); - } - } - // check to ket string length if set - $length = ComponentbuilderHelper::getBetween($options,'length="','"'); - if (ComponentbuilderHelper::checkString($length)) - { - $buket['length'] = $length; - } else { - $buket['length'] = false; - } - } - } - - return $buket; - } - - protected function getValueScript($type,$name,$unique) - { - $select = ''; - $isArray = false; - $keyName = $name.'_'.$unique; - if ($type == 'checkboxes') - { - $select = "var ".$keyName." = [];\n\tjQuery('#jform_".$name." input[type=checkbox]').each(function()\n\t{\n\t\tif (jQuery(this).is(':checked'))\n\t\t{\n\t\t\t".$keyName.".push(jQuery(this).prop('value'));\n\t\t}\n\t});"; - $isArray = true; - } - elseif($type == 'checkbox') - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.'").prop(\'checked\');'; - } - elseif ($type == 'radio') - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.' input[type=\'radio\']:checked").val();'; - } - elseif ($type == 'list' || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.'").val();'; - $isArray = true; - } - elseif(ComponentbuilderHelper::typeField($type, 'text')) - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.'").val();'; - } - return array( 'get' => $select, 'isArray' => $isArray); - } - - protected function clearValueScript($type,$name,$unique) - { - $clear = ''; - $isArray = false; - $keyName = $name.'_'.$unique; - if($type == 'text' || $type == 'password' || $type == 'textarea') - { - $clear = "jQuery('#jform_".$name."').value = '';"; - } - elseif($type == 'radio') - { - $clear = "jQuery('#jform_".$name."').checked = false;"; - } - elseif($type == 'checkboxes' || $type == 'checkbox' || $type == 'checkbox') - { - $clear = "jQuery('#jform_".$name."').selectedIndex = -1;"; - } - return $clear; - } - - protected function setViewScript($view) - { - if (isset($this->editBodyViewScriptBuilder[$view]) && isset($this->editBodyViewScriptBuilder[$view]['fileScript'])) - { - return $this->editBodyViewScriptBuilder[$view]['fileScript']; - } - return ''; - } - - protected function setEditBodyScript($view) - { - if (isset($this->editBodyViewScriptBuilder[$view]) && isset($this->editBodyViewScriptBuilder[$view]['footerScript'])) - { - return $this->editBodyViewScriptBuilder[$view]['footerScript']; - } - return ''; - } - - protected function setValidationFix($view,$Component) - { - $fix = ''; - if (isset($this->validationFixBuilder[$view]) && ComponentbuilderHelper::checkArray($this->validationFixBuilder[$view])) - { - $fix .= "\n\n\t/**"; - $fix .= "\n\t* Method to validate the form data."; - $fix .= "\n\t*"; - $fix .= "\n\t* @param JForm \$form The form to validate against."; - $fix .= "\n\t* @param array \$data The data to validate."; - $fix .= "\n\t* @param string \$group The name of the field group to validate."; - $fix .= "\n\t*"; - $fix .= "\n\t* @return mixed Array of filtered data if valid, false otherwise."; - $fix .= "\n\t*"; - $fix .= "\n\t* @see JFormRule"; - $fix .= "\n\t* @see JFilterInput"; - $fix .= "\n\t* @since 12.2"; - $fix .= "\n\t*/"; - $fix .= "\n\tpublic function validate(\$form, \$data, \$group = null)"; - $fix .= "\n\t{"; - $fix .= "\n\t\t//".$this->setLine(__LINE__)." check if the not_required field is set"; - $fix .= "\n\t\tif (".$Component."Helper::checkString(\$data['not_required']))"; - $fix .= "\n\t\t{"; - $fix .= "\n\t\t\t\$requiredFields = (array) explode(',',(string) \$data['not_required']);"; - $fix .= "\n\t\t\t\$requiredFields = array_unique(\$requiredFields);"; - $fix .= "\n\t\t\t//".$this->setLine(__LINE__)." now change the required field attributes value"; - $fix .= "\n\t\t\tforeach (\$requiredFields as \$requiredField)"; - $fix .= "\n\t\t\t{"; - $fix .= "\n\t\t\t\t//".$this->setLine(__LINE__)." make sure there is a string value"; - $fix .= "\n\t\t\t\tif (".$Component."Helper::checkString(\$requiredField))"; - $fix .= "\n\t\t\t\t{"; - $fix .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." change to false"; - $fix .= "\n\t\t\t\t\t\$form->setFieldAttribute(\$requiredField, 'required', 'false');"; - $fix .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." also clear the data set"; - $fix .= "\n\t\t\t\t\t\$data[\$requiredField] = '';"; - $fix .= "\n\t\t\t\t}"; - $fix .= "\n\t\t\t}"; - $fix .= "\n\t\t}"; - $fix .= "\n\t\treturn parent::validate(\$form, \$data, \$group);"; - $fix .= "\n\t}"; - } - return $fix; - } - - protected function setAjaxToke($view) - { - $fix = ''; - if (isset($this->customScriptBuilder['token'][$view]) && $this->customScriptBuilder['token'][$view]) - { - $fix .= "\n\t\t//".$this->setLine(__LINE__)." Add Ajax Token"; - $fix .= "\n\t\t\$document->addScriptDeclaration(\"var token = '\".JSession::getFormToken().\"';\");"; - } - return $fix; - } - - protected function setRegisterAjaxTask($target) - { - $tasks = ''; - if (isset($this->customScriptBuilder[$target]['ajax_controller']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder[$target]['ajax_controller'])) - { - $taskArray = array(); - foreach ($this->customScriptBuilder[$target]['ajax_controller'] as $view) - { - foreach ($view as $task) - { - $taskArray[$task['task_name']] = $task['task_name']; - } - } - if (ComponentbuilderHelper::checkArray($taskArray)) - { - foreach ($taskArray as $name) - { - $tasks .= "\n\t\t\$this->registerTask('".$name."', 'ajax');"; - } - } - } - return $tasks; - } - - protected function setAjaxInputReturn($target) - { - $cases = ''; - if (isset($this->customScriptBuilder[$target]['ajax_controller']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder[$target]['ajax_controller'])) - { - $input = array(); - $valueArray = array(); - $getModel = array(); - foreach ($this->customScriptBuilder[$target]['ajax_controller'] as $view) - { - foreach ($view as $task) - { - $input[$task['task_name']][] = "\n\t\t\t\t\t\t\$".$task['value_name']."Value = \$jinput->get('".$task['value_name']."', ".$task['input_default'].", '".$task['input_filter']."');"; - $valueArray[$task['task_name']][] = "\$".$task['value_name']."Value"; - $getModel[$task['task_name']] = "\n\t\t\t\t\t\t\t\$result = \$this->getModel('ajax')->".$task['method_name']."([[[valueArray]]]);"; - - // see user check is needed - if (!isset($task['user_check']) || 1 == $task['user_check']) - { - // add it since this means it was not set, and in the old method we assumed it was inplace - // or it is set and 1 means we still want it inplace - $userCheck[$task['task_name']] = ' && $user->id != 0'; - } - else - { - $userCheck[$task['task_name']] = ''; - } - } - } - if (ComponentbuilderHelper::checkArray($getModel)) - { - foreach ($getModel as $task => $getMethod) - { - $cases .= "\n\t\t\t\tcase '".$task."':"; - $cases .= "\n\t\t\t\t\ttry"; - $cases .= "\n\t\t\t\t\t{"; - foreach ($input[$task] as $string) - { - $cases .= $string; - } - // set the values - $values = implode(', ',$valueArray[$task]); - $ifvalues = implode(' && ',$valueArray[$task]); - // set the values to method - $getMethod = str_replace('[[[valueArray]]]',$values,$getMethod); - $cases .= "\n\t\t\t\t\t\tif(".$ifvalues.$userCheck[$task].")"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= $getMethod; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\telse"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\t\$result = false;"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\tif(array_key_exists('callback',\$_GET))"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \$_GET['callback'] . \"(\".json_encode(\$result).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\telse"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \"(\".json_encode(\$result).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\tcatch(Exception \$e)"; - $cases .= "\n\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\tif(array_key_exists('callback',\$_GET))"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \$_GET['callback'].\"(\".json_encode(\$e).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\telse"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \"(\".json_encode(\$e).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t}"; - $cases .= "\n\t\t\t\tbreak;"; - } - } - } - return $cases; - } - - protected function setAjaxModelMethods($target) - { - $methods = ''; - if (isset($this->customScriptBuilder[$target]['ajax_model']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder[$target]['ajax_model'])) - { - foreach ($this->customScriptBuilder[$target]['ajax_model'] as $view => $method) - { - $methods .= "\n\n\t//".$this->setLine(__LINE__)." Used in ".$view."\n"; - $methods .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),$method); - } - } - return $methods; - } - - - protected function setFilterFunctions($viewName_single,$viewName_list) - { - if (isset($this->filterBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$viewName_list])) - { - $function = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - foreach ($this->filterBuilder[$viewName_list] as $filter) - { - if ($filter['type'] != 'category' && ComponentbuilderHelper::checkArray($filter['custom']) && $filter['custom']['extends'] == 'user') - { - $function[] = "\n\tprotected function getThe".$filter['function'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F')."Selections()"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $function[] = "\t\t\$db = JFactory::getDbo();"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $function[] = "\t\t\$query = \$db->getQuery(true);"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query->select(\$db->quoteName(array('a.".$filter['custom']['id']."','a.".$filter['custom']['text']."')));"; - $function[] = "\t\t\$query->from(\$db->quoteName('".$filter['custom']['table']."', 'a'));"; - $function[] = "\t\t//".$this->setLine(__LINE__)." get the targeted groups"; - $function[] = "\t\t\$groups= JComponentHelper::getParams('com_".$component."')->get('".$filter['type']."');"; - $function[] = "\t\tif (count(\$groups) > 0)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$query->join('LEFT', \$db->quoteName('#__user_usergroup_map', 'group') . ' ON (' . \$db->quoteName('group.user_id') . ' = ' . \$db->quoteName('a.id') . ')');"; - $function[] = "\t\t\t\$query->where('group.group_id IN (' . implode(',', \$groups) . ')');"; - $function[] = "\t\t}"; - $function[] = "\t\t\$query->order('a.".$filter['custom']['text']." ASC');"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $function[] = "\t\t\$db->setQuery(\$query);"; - $function[] = "\n\t\t\$results = \$db->loadObjectList();"; - $function[] = "\t\tif (\$results)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$filter = array();"; - $function[] = "\t\t\t\$batch = array();"; - $function[] = "\t\t\tforeach (\$results as \$result)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$result->".$filter['custom']['id'].", \$result->".$filter['custom']['text'].");"; - $function[] = "\t\t\t}"; - $function[] = "\t\t\treturn \$filter;"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - - /* else - { - $function[] = "\n\tprotected function getThe".$filter['function'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F')."Selections()"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $function[] = "\t\t\$db = JFactory::getDbo();"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query = \$db->getQuery(true);"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query->select(\$db->quoteName(array('".$filter['custom']['id']."','".$filter['custom']['text']."')));"; - $function[] = "\t\t\$query->from(\$db->quoteName('".$filter['custom']['table']."'));"; - $function[] = "\t\t\$query->where(\$db->quoteName('published') . ' = 1');"; - $function[] = "\t\t\$query->order(\$db->quoteName('".$filter['custom']['text']."') . ' ASC');"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $function[] = "\t\t\$db->setQuery(\$query);"; - $function[] = "\n\t\t\$results = \$db->loadObjectList();"; - $function[] = "\n\t\tif (\$results)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$filter = array();"; - $function[] = "\t\t\t\$batch = array();"; - $function[] = "\t\t\tforeach (\$results as \$result)"; - $function[] = "\t\t\t{"; - if ($filter['custom']['text'] == 'user') - { - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$result->".$filter['custom']['text'].", JFactory::getUser(\$result->".$filter['custom']['text'].")->name);"; - $function[] = "\t\t\t\t\$batch[] = JHtml::_('select.option', \$result->".$filter['custom']['id'].", JFactory::getUser(\$result->".$filter['custom']['text'].")->name);"; - } - else - { - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$result->".$filter['custom']['text'].", \$result->".$filter['custom']['text'].");"; - $function[] = "\t\t\t\t\$batch[] = JHtml::_('select.option', \$result->".$filter['custom']['id'].", \$result->".$filter['custom']['text'].");"; - } - $function[] = "\t\t\t}"; - $function[] = "\t\t\treturn array('filter' => \$filter, 'batch' => \$batch);"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - }*/ - } - elseif ($filter['type'] != 'category' && !ComponentbuilderHelper::checkArray($filter['custom'])) - { - $translation = false; - if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list]) - && array_key_exists($filter['code'],$this->selectionTranslationFixBuilder[$viewName_list])) - { - $translation = true; - } - $function[] = "\n\tprotected function getThe".$filter['function']."Selections()"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $function[] = "\t\t\$db = JFactory::getDbo();"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $function[] = "\t\t\$query = \$db->getQuery(true);"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query->select(\$db->quoteName('".$filter['code']."'));"; - $function[] = "\t\t\$query->from(\$db->quoteName('#__".$component."_".$filter['database']."'));"; - $function[] = "\t\t\$query->order(\$db->quoteName('".$filter['code']."') . ' ASC');"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $function[] = "\t\t\$db->setQuery(\$query);"; - $function[] = "\n\t\t\$results = \$db->loadColumn();"; - $function[] = "\n\t\tif (\$results)"; - $function[] = "\t\t{"; - // check if translated vlaue is used - if ($translation) - { - $function[] = "\t\t\t//".$this->setLine(__LINE__)." get model"; - $function[] = "\t\t\t\$model = \$this->getModel();"; - } - $function[] = "\t\t\t\$results = array_unique(\$results);"; - $function[] = "\t\t\t\$filter = array();"; - $function[] = "\t\t\tforeach (\$results as \$".$filter['code'].")"; - $function[] = "\t\t\t{"; - - // check if translated vlaue is used - if ($translation) - { - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." Translate the ".$filter['code']." selection"; - $function[] = "\t\t\t\t\$text = \$model->selectionTranslation(\$".$filter['code'].",'".$filter['code']."');"; - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." Now add the ".$filter['code']." and its text to the options array"; - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$".$filter['code'].", JText::_(\$text));"; - } - else - { - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." Now add the ".$filter['code']." and its text to the options array"; - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$".$filter['code'].", \$".$filter['code'].");"; - } - $function[] = "\t\t\t}"; - $function[] = "\t\t\treturn \$filter;"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - } - if (ComponentbuilderHelper::checkArray($function)) - { - // return the function - return "\n".implode("\n",$function); - } - } - return ''; - } - - protected function setUniqueFields($view) - { - $fields = array(); - $fields[] = "\n\n\t/**"; - $fields[] = "\t * Method to get the unique fields of this table."; - $fields[] = "\t *"; - $fields[] = "\t * @return mixed An array of field names, boolean false if none is set."; - $fields[] = "\t *"; - $fields[] = "\t * @since 3.0"; - $fields[] = "\t */"; - $fields[] = "\tprotected function getUniqeFields()"; - $fields[] = "\t{"; - if (isset($this->dbUniqueKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbUniqueKeys[$view])) - { - $fields[] = "\t\treturn array('".implode("','",$this->dbUniqueKeys[$view])."');"; - } - else - { - $fields[] = "\t\treturn false;"; - } - $fields[] = "\t}"; - // return the unique fields - return implode("\n",$fields); - } - - protected function setOtherFilter($view) - { - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - $otherFilter = array(); - foreach ($this->filterBuilder[$view] as $filter) - { - if ($filter['type'] != 'category' && ComponentbuilderHelper::checkArray($filter['custom']) && $filter['custom']['extends'] !== 'user') - { - $CodeName = ComponentbuilderHelper::safeString($filter['code'].' '.$filter['custom']['text'],'W'); - $codeName = $filter['code'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F'); - $type = ComponentbuilderHelper::safeString($filter['custom']['type'],'F'); - $otherFilter[] = "\n\t\t//".$this->setLine(__LINE__)." Set ".$CodeName." Selection"; - $otherFilter[] = "\t\t\$this->".$codeName."Options = JFormHelper::loadFieldType('".$type."')->getOptions();"; - $otherFilter[] = "\t\tif (\$this->".$codeName."Options)"; - $otherFilter[] = "\t\t{"; - $otherFilter[] = "\t\t\t//".$this->setLine(__LINE__)." ".$CodeName." Filter"; - $otherFilter[] = "\t\t\tJHtmlSidebar::addFilter("; - $otherFilter[] = "\t\t\t\t'- Select '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t'filter_".$filter['code']."',"; - $otherFilter[] = "\t\t\t\tJHtml::_('select.options', \$this->".$codeName."Options, 'value', 'text', \$this->state->get('filter.".$filter['code']."'))"; - $otherFilter[] = "\t\t\t);"; - - $otherFilter[] = "\n\t\t\tif (\$this->canBatch && \$this->canCreate && \$this->canEdit)"; - $otherFilter[] = "\t\t\t{"; - $otherFilter[] = "\t\t\t\t//".$this->setLine(__LINE__)." ".$CodeName." Batch Selection"; - $otherFilter[] = "\t\t\t\tJHtmlBatch_::addListSelection("; - $otherFilter[] = "\t\t\t\t\t'- Keep Original '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t\t'batch[".$filter['code']."]',"; - $otherFilter[] = "\t\t\t\t\tJHtml::_('select.options', \$this->".$codeName."Options, 'value', 'text')"; - $otherFilter[] = "\t\t\t\t);"; - $otherFilter[] = "\t\t\t}"; - - $otherFilter[] = "\t\t}"; - } - elseif ($filter['type'] != 'category') - { - $Codename = ComponentbuilderHelper::safeString($filter['code'],'W'); - if (isset($filter['custom']) && ComponentbuilderHelper::checkArray($filter['custom']) && $filter['custom']['extends'] === 'user') - { - $functionName = "\$this->getThe".$filter['function'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F')."Selections();"; - } - else - { - $functionName = "\$this->getThe".$filter['function']."Selections();"; - } - $otherFilter[] = "\n\t\t//".$this->setLine(__LINE__)." Set ".$Codename." Selection"; - $otherFilter[] = "\t\t\$this->".$filter['code']."Options = ".$functionName; - $otherFilter[] = "\t\tif (\$this->".$filter['code']."Options)"; - $otherFilter[] = "\t\t{"; - $otherFilter[] = "\t\t\t//".$this->setLine(__LINE__)." ".$Codename." Filter"; - $otherFilter[] = "\t\t\tJHtmlSidebar::addFilter("; - $otherFilter[] = "\t\t\t\t'- Select '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t'filter_".$filter['code']."',"; - $otherFilter[] = "\t\t\t\tJHtml::_('select.options', \$this->".$filter['code']."Options, 'value', 'text', \$this->state->get('filter.".$filter['code']."'))"; - $otherFilter[] = "\t\t\t);"; - - $otherFilter[] = "\n\t\t\tif (\$this->canBatch && \$this->canCreate && \$this->canEdit)"; - $otherFilter[] = "\t\t\t{"; - $otherFilter[] = "\t\t\t\t//".$this->setLine(__LINE__)." ".$Codename." Batch Selection"; - $otherFilter[] = "\t\t\t\tJHtmlBatch_::addListSelection("; - $otherFilter[] = "\t\t\t\t\t'- Keep Original '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t\t'batch[".$filter['code']."]',"; - $otherFilter[] = "\t\t\t\t\tJHtml::_('select.options', \$this->".$filter['code']."Options, 'value', 'text')"; - $otherFilter[] = "\t\t\t\t);"; - $otherFilter[] = "\t\t\t}"; - - $otherFilter[] = "\t\t}"; - } - } - if (ComponentbuilderHelper::checkArray($otherFilter)) - { - // return the filter - return "\n".implode("\n",$otherFilter); - } - } - return ''; - } - - protected function setCategoryFilter($viewName_list) - { - if (isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])) - { - // check if category has another name - if (isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - } - else - { - $otherViews = $viewName_list; - } - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - $COMONENT = ComponentbuilderHelper::safeString($this->componentData->name_code,'U'); - // set filter - $filter = array(); - $filter[] = "\n\n\t\t//".$this->setLine(__LINE__)." Category Filter."; - $filter[] = "\t\tJHtmlSidebar::addFilter("; - $filter[] = "\t\t\tJText::_('JOPTION_SELECT_CATEGORY'),"; - $filter[] = "\t\t\t'filter_category_id',"; - $filter[] = "\t\t\tJHtml::_('select.options', JHtml::_('category.options', 'com_".$component.".".$otherViews."'), 'value', 'text', \$this->state->get('filter.category_id'))"; - $filter[] = "\t\t);"; - - - $filter[] = "\n\t\tif (\$this->canBatch && \$this->canCreate && \$this->canEdit)"; - $filter[] = "\t\t{"; - $filter[] = "\t\t\t//".$this->setLine(__LINE__)." Category Batch selection."; - $filter[] = "\t\t\tJHtmlBatch_::addListSelection("; - $filter[] = "\t\t\t\tJText::_('COM_".$COMONENT."_KEEP_ORIGINAL_CATEGORY'),"; - $filter[] = "\t\t\t\t'batch[category]',"; - $filter[] = "\t\t\t\tJHtml::_('select.options', JHtml::_('category.options', 'com_".$component.".".$otherViews."'), 'value', 'text')"; - $filter[] = "\t\t\t);"; - $filter[] = "\t\t}"; - - // return the filter - return implode("\n",$filter); - } - return ''; - } - - - - protected function setRouterCategoryViews($viewName_single,$viewName_list) - { - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // check if category has another name - if (isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // return category view string - if (isset($this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###']) && ComponentbuilderHelper::checkString($this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'])) - { - return ",\n\t\t\t".'"com_'.$component.'.'.$otherViews.'" => "'.$otherView.'"'; - } - else - { - return "\n\t\t\t".'"com_'.$component.'.'.$otherViews.'" => "'.$otherView.'"'; - } - } - return ''; - - } - - protected function setJcontrollerAllowAdd($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if item has category - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." get the user object"; - $allow[] = "\t\t\$user = JFactory::getUser();"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = \$user->authorise('".$core['core.access']."', 'com_".$component."');"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - $allow[] = "\t\t\$categoryId = JArrayHelper::getValue(\$data, 'catid', \$this->input->getInt('filter_category_id'), 'int');"; - $allow[] = "\t\t\$allow = null;"; - $allow[] = "\n\t\tif (\$categoryId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." If the category has been passed in the URL check it."; - $allow[] = "\t\t\t\$allow = \$user->authorise('core.create', \$this->option . '.".$otherViews.".category.' . \$categoryId);"; - $allow[] = "\t\t}"; - $allow[] = "\n\t\tif (\$allow === null)"; - $allow[] = "\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - // setup the default script - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\t\treturn \$user->authorise('".$core['core.create']."', \$this->option);"; - } - else - { - // setup the default script - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\t\treturn parent::allowAdd(\$data);"; - } - $allow[] = "\t\t}"; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn \$allow;"; - $allow[] = "\t\t}"; - } - else - { - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = JFactory::getUser()->authorise('".$core['core.access']."', 'com_".$component."');"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - // setup the default script - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn JFactory::getUser()->authorise('".$core['core.create']."', \$this->option);"; - } - else - { - // setup the default script - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn parent::allowAdd(\$data);"; - } - } - return implode("\n",$allow); - } - - protected function setJcontrollerAllowEdit($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // prepare custom permission script - if (isset($this->customScriptBuilder['php_allowedit'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_allowedit'][$viewName_single])) - { - $customAllow = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_allowedit'][$viewName_single]); - } - else - { - $customAllow = ''; - } - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\t\t//".$this->setLine(__LINE__)." get user object."; - $allow[] = "\t\t\$user\t\t= JFactory::getUser();"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." get record id."; - $allow[] = "\t\t\$recordId\t= (int) isset(\$data[\$key]) ? \$data[\$key] : 0;"; - // load custom permission script - $allow[] = $customAllow; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = (\$user->authorise('".$core['core.access']."', 'com_".$component.".".$otherView.".' . (int) \$recordId) && \$user->authorise('".$core['core.access']."', 'com_".$component."'));"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($otherView,$this->permissionBuilder[$core['core.edit']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit']."', 'com_".$component.".".$otherView.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$otherView.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($otherView,$this->permissionBuilder[$core['core.edit.own']])) - { - $allow[] = "\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component.".".$otherView.".' . \$recordId))"; - } - else - { - $allow[] = "\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component.".".$otherView.".' . \$recordId))"; - } - $allow[] = "\t\t\t\t{"; - $allow[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Fallback on edit.own. Now test the owner is the user."; - $allow[] = "\t\t\t\t\t\$ownerId = (int) isset(\$data['created_by']) ? \$data['created_by'] : 0;"; - $allow[] = "\t\t\t\t\tif (empty(\$ownerId))"; - $allow[] = "\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." Need to do a lookup from the model."; - $allow[] = "\t\t\t\t\t\t\$record = \$this->getModel()->getItem(\$recordId);"; - $allow[] = "\n\t\t\t\t\t\tif (empty(\$record))"; - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn false;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t\t\$ownerId = \$record->created_by;"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\n\t\t\t\t\t//".$this->setLine(__LINE__)." If the owner matches 'me' then do the test."; - $allow[] = "\t\t\t\t\tif (\$ownerId == \$user->id)"; - $allow[] = "\t\t\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder['global'][$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.own']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.edit.own']])) - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component."'))"; - } - else - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component."'))"; - } - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn true;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\t\t\t\t}"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\n\t\t\t\$categoryId = (int) isset(\$data['catid']) ? \$data['catid']: \$this->getModel()->getItem(\$recordId)->catid;"; - $allow[] = "\n\t\t\tif (\$categoryId)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." The category has been set. Check the category permissions."; - $allow[] = "\t\t\t\t\$catpermission = \$user->authorise('core.edit', \$this->option . '.".$otherViews.".category.' . \$categoryId);"; - $allow[] = "\t\t\t\tif (!\$catpermission && !is_null(\$catpermission))"; - $allow[] = "\t\t\t\t{"; - $allow[] = "\t\t\t\t\treturn false;"; - $allow[] = "\t\t\t\t}"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.edit']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit']."', \$this->option);"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn parent::allowEdit(\$data, \$key);"; - } - } - else - { - // setup the category script - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." get user object."; - $allow[] = "\t\t\$user\t\t= JFactory::getUser();"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." get record id."; - $allow[] = "\t\t\$recordId\t= (int) isset(\$data[\$key]) ? \$data[\$key] : 0;"; - // load custom permission script - $allow[] = $customAllow; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder[$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.access']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = (\$user->authorise('".$core['core.access']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId) && \$user->authorise('".$core['core.access']."', 'com_".$component."'));"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.own']])) - { - $allow[] = "\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component.".".$viewName_single.".' . \$recordId))"; - } - else - { - $allow[] = "\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component.".".$viewName_single.".' . \$recordId))"; - } - $allow[] = "\t\t\t\t{"; - $allow[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Now test the owner is the user."; - $allow[] = "\t\t\t\t\t\$ownerId = (int) isset(\$data['created_by']) ? \$data['created_by'] : 0;"; - $allow[] = "\t\t\t\t\tif (empty(\$ownerId))"; - $allow[] = "\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." Need to do a lookup from the model."; - $allow[] = "\t\t\t\t\t\t\$record = \$this->getModel()->getItem(\$recordId);"; - $allow[] = "\n\t\t\t\t\t\tif (empty(\$record))"; - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn false;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t\t\$ownerId = \$record->created_by;"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\n\t\t\t\t\t//".$this->setLine(__LINE__)." If the owner matches 'me' then allow."; - $allow[] = "\t\t\t\t\tif (\$ownerId == \$user->id)"; - $allow[] = "\t\t\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder['global'][$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.own']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.own']])) - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component."'))"; - } - else - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component."'))"; - } - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn true;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\t\t\t\t}"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit']."', \$this->option);"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn parent::allowEdit(\$data, \$key);"; - } - } - - return implode("\n",$allow); - } - - protected function setJmodelAdminGetForm($viewName_single,$viewName_list) - { - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // allways load these - $allow = array(); - $allow[] = "\t\t//".$this->setLine(__LINE__)." Get the form."; - $allow[] = "\t\t\$form = \$this->loadForm('com_".$component.".".$viewName_single."', '".$viewName_single."', array('control' => 'jform', 'load_data' => \$loadData));"; - $allow[] = "\n\t\tif (empty(\$form))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\n\t\t\$jinput = JFactory::getApplication()->input;"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." The front end calls this model and uses a_id to avoid id clashes so we need to check for that first."; - $allow[] = "\t\tif (\$jinput->get('a_id'))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('a_id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." The back end uses id so we use that the rest of the time and set it to 0 by default."; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Determine correct permissions to check."; - $allow[] = "\t\tif (\$this->getState('".$viewName_single.".id'))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$this->getState('".$viewName_single.".id');"; - $allow[] = "\n\t\t\t\$catid = 0;"; - $allow[] = "\t\t\tif (isset(\$this->getItem(\$id)->catid))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." set catagory id"; - $allow[] = "\t\t\t\t\$catid = \$this->getItem(\$id)->catid;"; - $allow[] = "\n\t\t\t\t//".$this->setLine(__LINE__)." Existing record. Can only edit in selected categories."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('catid', 'action', 'core.edit');"; - $allow[] = "\n\t\t\t\t//".$this->setLine(__LINE__)." Existing record. Can only edit own items in selected categories."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('catid', 'action', 'core.edit.own');"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." New record. Can only create in selected categories."; - $allow[] = "\t\t\t\$form->setFieldAttribute('catid', 'action', 'core.create');"; - $allow[] = "\t\t}"; - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check for existing item."; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit State access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (isset(\$catid) && \$catid != 0 && !\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_list.".category.' . (int) \$catid))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.state']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (isset(\$catid) && \$catid != 0 && !\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_list.".category.' . (int) \$catid))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('core.edit.state', 'com_".$component."')))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'disabled', 'true');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'disabled', 'true');"; - $allow[] = "\n\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'filter', 'unset');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'filter', 'unset');"; - $allow[] = "\t\t}"; - } - else - { - $allow[] = "\n\t\t\$jinput = JFactory::getApplication()->input;"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." The front end calls this model and uses a_id to avoid id clashes so we need to check for that first."; - $allow[] = "\t\tif (\$jinput->get('a_id'))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('a_id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." The back end uses id so we use that the rest of the time and set it to 0 by default."; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check for existing item."; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit State access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.state']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('core.edit.state', 'com_".$component."')))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'disabled', 'true');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'filter', 'unset');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'filter', 'unset');"; - $allow[] = "\t\t}"; - } - $allow[] = "\t\t//".$this->setLine(__LINE__)." If this is a new item insure the greated by is set"; - $allow[] = "\t\tif (0 == \$id)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Set the created_by to this user"; - $allow[] = "\t\t\t\$form->setValue('created_by', null, \$user->id);"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit Creaded By access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.created_by']) && isset($this->permissionBuilder[$core['core.edit.created_by']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.created_by']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.created_by']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.created_by']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.created_by']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (!\$user->authorise('core.edit.created_by', 'com_".$component."'))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created_by', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created_by', 'readonly', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created_by', 'filter', 'unset');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit Creaded Date access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.created']) && isset($this->permissionBuilder[$core['core.edit.created']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.created']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.created']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.created']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.created']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (!\$user->authorise('core.edit.created', 'com_".$component."'))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created', 'filter', 'unset');"; - $allow[] = "\t\t}"; - // handel the fields permissions - if (isset($this->permissionFields[$viewName_single]) && ComponentbuilderHelper::checkArray($this->permissionFields[$viewName_single])) - { - foreach ($this->permissionFields[$viewName_single] as $fieldName => $fieldType) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit ".ComponentbuilderHelper::safeString($fieldName, 'W')." access controls."; - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$viewName_single.".edit.".$fieldName."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$viewName_single.".edit.".$fieldName."', 'com_".$component."')))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'readonly', 'true');"; - if ('radio' == $fieldType || 'repeatable' == $fieldType) - { - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable radio button for display."; - $allow[] = "\t\t\t\$class = \$form->getFieldAttribute('".$fieldName."', 'class', '');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'class', \$class.' disabled no-click');"; - } - $allow[] = "\t\t\tif (!\$form->getValue('".$fieldName."'))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('".$fieldName."', 'filter', 'unset');"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('".$fieldName."', 'required', 'false');"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - } - } - // add the redirect trick to set the field of origin - $allow[] = "\t\t//".$this->setLine(__LINE__)." Only load these values if no id is found"; - $allow[] = "\t\tif (0 == \$id)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Set redirected field name"; - $allow[] = "\t\t\t\$redirectedField = \$jinput->get('ref', null, 'STRING');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Set redirected field value"; - $allow[] = "\t\t\t\$redirectedValue = \$jinput->get('refid', 0, 'INT');"; - $allow[] = "\t\t\tif (0 != \$redirectedValue && \$redirectedField)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." Now set the local-redirected field default value"; - $allow[] = "\t\t\t\t\$form->setValue(\$redirectedField, null, \$redirectedValue);"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - // setup the default script - $allow[] = "\n\t\treturn \$form;"; - - return implode("\n",$allow); - } - - protected function setJmodelAdminAllowEdit($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // prepare custom permission script - if (isset($this->customScriptBuilder['php_allowedit'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_allowedit'][$viewName_single])) - { - $customAllow = "\t\t\$recordId\t= (int) isset(\$data[\$key]) ? \$data[\$key] : 0;\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_allowedit'][$viewName_single]); - } - else - { - $customAllow = ''; - } - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check specific edit permission then general edit permission."; - $allow[] = "\t\t\$user = JFactory::getUser();"; - // load custom permission script - $allow[] = $customAllow; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit']."', 'com_".$component.".".$viewName_single.".'. ((int) isset(\$data[\$key]) ? \$data[\$key] : 0)) or \$user->authorise('".$core['core.edit']."', 'com_".$component."');"; - } - else - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check specific edit permission then general edit permission."; - if (ComponentbuilderHelper::checkString($customAllow)) - { - $allow[] = "\t\t\$user = JFactory::getUser();"; - } - // load custom permission script - $allow[] = $customAllow; - $allow[] = "\t\treturn JFactory::getUser()->authorise('core.edit', 'com_".$component.".".$viewName_single.".'. ((int) isset(\$data[\$key]) ? \$data[\$key] : 0)) or parent::allowEdit(\$data, \$key);"; - } - - return implode("\n",$allow); - } - - protected function setJmodelAdminCanDelete($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\n\t\tif (!empty(\$record->id))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\tif (\$record->published != -2)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn;"; - $allow[] = "\t\t\t}"; - $allow[] = "\n\t\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\t\$allow = \$user->authorise('core.delete', 'com_".$component.".".$otherViews.".category.' . (int) \$record->catid);"; - // check if the item has permissions. - if ($coreLoad && isset($this->permissionBuilder[$core['core.delete']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.delete']]) && in_array($otherView,$this->permissionBuilder[$core['core.delete']])) - { - $allow[] = "\n\t\t\tif (\$allow)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\t\treturn \$user->authorise('".$core['core.delete']."', 'com_".$component.".".$otherView.".' . (int) \$record->id);"; - $allow[] = "\t\t\t}"; - } - else - { - $allow[] = "\n\t\t\tif (\$allow)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\t\treturn \$user->authorise('core.delete', 'com_".$component.".".$otherView.".' . (int) \$record->id);"; - $allow[] = "\t\t\t}"; - } - $allow[] = "\t\t\treturn \$allow;"; - $allow[] = "\t\t}"; - $allow[] = "\t\treturn false;"; - } - else - { - // setup the default script - $allow[] = "\n\t\tif (!empty(\$record->id))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\tif (\$record->published != -2)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn;"; - $allow[] = "\t\t\t}"; - // check if the item has permissions. - if ($coreLoad && isset($this->permissionBuilder[$core['core.delete']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.delete']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.delete']])) - { - $allow[] = "\n\t\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\treturn \$user->authorise('".$core['core.delete']."', 'com_".$component.".".$viewName_single.".' . (int) \$record->id);"; - } - else - { - $allow[] = "\n\t\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\treturn \$user->authorise('core.delete', 'com_".$component.".".$viewName_single.".' . (int) \$record->id);"; - } - $allow[] = "\t\t}"; - $allow[] = "\t\treturn false;"; - } - - return implode("\n",$allow); - } - - protected function setJmodelAdminCanEditState($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if (isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\$recordId\t= (!empty(\$record->id)) ? \$record->id : 0;"; - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - // setup the category script - $allow[] = "\t\t//".$this->setLine(__LINE__)." Check against the category."; - $allow[] = "\t\tif (!empty(\$record->catid))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$catpermission = \$user->authorise('core.edit.state', 'com_".$component.".".$otherViews.".category.' . (int) \$record->catid);"; - $allow[] = "\t\t\tif (!\$catpermission && !is_null(\$catpermission))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit.state']."', 'com_".$component."');"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn parent::canEditState(\$record);"; - } - } - else - { - // setup the default script - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\$recordId\t= (!empty(\$record->id)) ? \$record->id : 0;"; - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit.state']."', 'com_".$component."');"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn parent::canEditState(\$record);"; - } - } - return implode("\n",$allow); - } - - - - protected function setJviewListCanDo($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if the item has permissions for edit. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $allow[] = "\n\t\t\$this->canEdit\t\t= \$this->canDo->get('".$core['core.edit']."');"; - } - else - { - $allow[] = "\n\t\t\$this->canEdit\t\t= \$this->canDo->get('core.edit');"; - } - // check if the item has permissions for edit state. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $allow[] = "\t\t\$this->canState\t\t= \$this->canDo->get('".$core['core.edit.state']."');"; - } - else - { - $allow[] = "\t\t\$this->canState\t\t= \$this->canDo->get('core.edit.state');"; - } - // check if the item has permissions for create. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - $allow[] = "\t\t\$this->canCreate\t= \$this->canDo->get('".$core['core.create']."');"; - } - else - { - $allow[] = "\t\t\$this->canCreate\t= \$this->canDo->get('core.create');"; - } - // check if the item has permissions for delete. - if ($coreLoad && isset($core['core.delete']) && isset($this->permissionBuilder['global'][$core['core.delete']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.delete']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.delete']])) - { - $allow[] = "\t\t\$this->canDelete\t= \$this->canDo->get('".$core['core.delete']."');"; - } - else - { - $allow[] = "\t\t\$this->canDelete\t= \$this->canDo->get('core.delete');"; - } - // check if the item has permissions for batch. - if ($coreLoad && isset($core['core.batch']) && isset($this->permissionBuilder['global']['global'][$core['core.batch']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global']['global'][$core['core.batch']]) && in_array($viewName_single,$this->permissionBuilder['global']['global'][$core['core.delete']])) - { - $allow[] = "\t\t\$this->canBatch\t= (\$this->canDo->get('".$core['core.batch']."') && \$this->canDo->get('core.batch'));"; - } - else - { - $allow[] = "\t\t\$this->canBatch\t= \$this->canDo->get('core.batch');"; - } - - return implode("\n",$allow); - } - - protected function setFieldSetAccessControl($view) - { - $access = ''; - if ($view != 'component') - { - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // set label - $label = 'Permissions in relation to this '.$view; - // set the access fieldset - $access = "<!--".$this->setLine(__LINE__)." Access Control Fields. -->"; - $access .= "\n\t".'<fieldset name="accesscontrol">'; - $access .= "\n\t\t<!--".$this->setLine(__LINE__)." Asset Id Field. Type: Hidden (joomla) -->"; - $access .= "\n\t\t".'<field'; - $access .= "\n\t\t\t".'name="asset_id"'; - $access .= "\n\t\t\t".'type="hidden"'; - $access .= "\n\t\t\t".'filter="unset"'; - $access .= "\n\t\t".'/>'; - $access .= "\n\t\t<!--".$this->setLine(__LINE__)." Rules Field. Type: Rules (joomla) -->"; - $access .= "\n\t\t".'<field'; - $access .= "\n\t\t\t".'name="rules"'; - $access .= "\n\t\t\t".'type="rules"'; - $access .= "\n\t\t\t".'label="'.$label.'"'; - $access .= "\n\t\t\t".'translate_label="false"'; - $access .= "\n\t\t\t".'filter="rules"'; - $access .= "\n\t\t\t".'validate="rules"'; - $access .= "\n\t\t\t".'class="inputbox"'; - $access .= "\n\t\t\t".'component="com_'.$component.'"'; - $access .= "\n\t\t\t".'section="'.$view.'"'; - $access .= "\n\t\t".'/>'; - $access .= "\n\t".'</fieldset>'; - } - // return access field set - return $access; - } - - protected function setFilterFields($view) - { - // keep track of all fields already added - $donelist = array('id','search','published','access','created_by','modified_by'); - // default filter fields - $fields = "'a.id','id'"; - $fields .= ",\n\t\t\t\t'a.published','published'"; - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $fields .= ",\n\t\t\t\t'a.access','access'"; - } - $fields .= ",\n\t\t\t\t'a.ordering','ordering'"; - $fields .= ",\n\t\t\t\t'a.created_by','created_by'"; - $fields .= ",\n\t\t\t\t'a.modified_by','modified_by'"; - - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $fields .= ",\n\t\t\t\t'c.title','category_title'"; - $fields .= ",\n\t\t\t\t'c.id', 'category_id'"; - if ($filter['code'] != 'category') - { - $fields .= ",\n\t\t\t\t'a.".$filter['code']."', '".$filter['code']."'"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $fields .= ",\n\t\t\t\t'".$filter['custom']['db'].".".$filter['custom']['text']."','".$filter['code']."_".$filter['custom']['text']."'"; - }*/ - $fields .= ",\n\t\t\t\t'a.".$filter['code']."','".$filter['code']."'"; - } - $donelist[] = $filter['code']; - } - } - } - // add the rest of the set filters - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - foreach ($this->filterBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $fields .= ",\n\t\t\t\t'c.title','category_title'"; - $fields .= ",\n\t\t\t\t'c.id', 'category_id'"; - if ($filter['code'] != 'category') - { - $fields .= ",\n\t\t\t\t'a.".$filter['code']."', '".$filter['code']."'"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $fields .= ",\n\t\t\t\t'".$filter['custom']['db'].".".$filter['custom']['text']."','".$filter['code']."_".$filter['custom']['text']."'"; - }*/ - $fields .= ",\n\t\t\t\t'a.".$filter['code']."','".$filter['code']."'"; - } - $donelist[] = $filter['code']; - } - } - } - return $fields; - } - - protected function setStoredId($view) - { - // keep track of all fields already added - $donelist = array('id','search','published','access','created_by','modified_by'); - // set the defaults first - $stored = "//".$this->setLine(__LINE__)." Compile the store id."; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.id');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.search');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.published');"; - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.access');"; - } - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.ordering');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.created_by');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.modified_by');"; - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category_id');"; - if ($filter['code'] != 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."_".$filter['custom']['text']."');"; - }*/ - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - $donelist[] = $filter['code']; - } - } - } - // add the rest of the set filters - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - foreach ($this->filterBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category_id');"; - if ($filter['code'] != 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."_".$filter['custom']['text']."');"; - }*/ - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - $donelist[] = $filter['code']; - } - } - } - return $stored; - } - - protected function setAddToolBar($view) - { - // set view name - $viewName = ComponentbuilderHelper::safeString($view['settings']->name_single); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName])) - { - $core = $this->permissionCore[$viewName]; - $coreLoad = true; - } - // check type - if ($view['settings']->type == 2) - { - // set lang strings - $viewNameLang_readonly = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single.' readonly','U'); - // load to lang - $this->langContent[$this->lang][$viewNameLang_readonly] = $view['settings']->name_single.' :: Readonly'; - - // build toolbar - $toolBar = "JFactory::getApplication()->input->set('hidemainmenu', true);"; - $toolBar .= "\n\t\tJToolBarHelper::title(JText::_('".$viewNameLang_readonly."'), '".$viewName."');"; - $toolBar .= "\n\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CLOSE');"; - } - else - { - // set lang strings - $viewNameLang_new = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single.' New','U'); - $viewNameLang_edit = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single.' Edit','U'); - // load to lang - $this->langContent[$this->lang][$viewNameLang_new] = 'A New '.$view['settings']->name_single; - $this->langContent[$this->lang][$viewNameLang_edit] = 'Editing the '.$view['settings']->name_single; - // build toolbar - $toolBar = "JFactory::getApplication()->input->set('hidemainmenu', true);"; - $toolBar .= "\n\t\t\$user = JFactory::getUser();"; - $toolBar .= "\n\t\t\$userId = \$user->id;"; - $toolBar .= "\n\t\t\$isNew = \$this->item->id == 0;"; - $toolBar .= "\n\n\t\tJToolbarHelper::title( JText::_(\$isNew ? '".$viewNameLang_new."' : '".$viewNameLang_edit."'), 'pencil-2 article-add');"; - $toolBar .= "\n\t\t//".$this->setLine(__LINE__)." Built the actions for new and existing records."; - $toolBar .= "\n\t\tif (\$this->refid || \$this->ref)"; - $toolBar .= "\n\t\t{"; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\tif (\$this->canDo->get('".$core['core.create']."') && \$isNew)"; - } - else - { - $toolBar .= "\n\t\t\tif (\$this->canDo->get('core.create') && \$isNew)"; - } - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." We can create the record."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t}"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.edit']])) - { - $toolBar .= "\n\t\t\telseif (\$this->canDo->get('".$core['core.edit']."'))"; - } - else - { - $toolBar .= "\n\t\t\telseif (\$this->canDo->get('core.edit'))"; - } - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." We can save the record."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t\tif (\$isNew)"; - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Do not creat but cancel."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CANCEL');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t\telse"; - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." We can close it."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CLOSE');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t}"; - $toolBar .= "\n\t\telse"; - $toolBar .= "\n\t\t{"; - $toolBar .= "\n\t\t\tif (\$isNew)"; - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." For new records, check the create permission."; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('".$core['core.create']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('core.create'))"; - } - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::apply('".$viewName.".apply', 'JTOOLBAR_APPLY');"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::custom('".$viewName.".save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);"; - $toolBar .= "\n\t\t\t\t};"; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CANCEL');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t\telse"; - $toolBar .= "\n\t\t\t{"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.edit']])) - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('".$core['core.edit']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('core.edit'))"; - } - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." We can save the new record"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::apply('".$viewName.".apply', 'JTOOLBAR_APPLY');"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." We can save this record, but check the create permission to see"; - $toolBar .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." if we can return to make a new one."; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\t\t\tif (\$this->canDo->get('".$core['core.create']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\t\tif (\$this->canDo->get('core.create'))"; - } - $toolBar .= "\n\t\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\t\tJToolBarHelper::custom('".$viewName.".save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);"; - $toolBar .= "\n\t\t\t\t\t}"; - $toolBar .= "\n\t\t\t\t}"; - if ($coreLoad && isset($this->historyBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->historyBuilder[$viewName])) - { - $toolBar .= "\n\t\t\t\t\$canVersion = (\$this->canDo->get('core.version') && \$this->canDo->get('".$core['core.version']."'));"; - $toolBar .= "\n\t\t\t\tif (\$this->state->params->get('save_history', 1) && \$this->canDo->get('".$core['core.edit']."') && \$canVersion)"; - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\tJToolbarHelper::versions('com_".$this->fileContentStatic['###component###'].".".$viewName."', \$this->item->id);"; - $toolBar .= "\n\t\t\t\t}"; - } - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('".$core['core.create']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('core.create'))"; - } - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::custom('".$viewName.".save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false);"; - $toolBar .= "\n\t\t\t\t}"; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CLOSE');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t}"; - $toolBar .= "\n\t\tJToolbarHelper::divider();"; - $toolBar .= "\n\t\t//".$this->setLine(__LINE__)." set help url for this view if found"; - $toolBar .= "\n\t\t\$help_url = ".$this->fileContentStatic['###Component###']."Helper::getHelpUrl('".$viewName."');"; - $toolBar .= "\n\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(\$help_url))"; - $toolBar .= "\n\t\t{"; - $toolBar .= "\n\t\t\tJToolbarHelper::help('".$this->langPrefix."_HELP_MANAGER', false, \$help_url);"; - $toolBar .= "\n\t\t}"; - } - return $toolBar; - } - - protected function setPopulateState($view) - { - // rest buket - $state = ''; - // keep track of all fields already added - $donelist = array(); - - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - $state .= $spacer."\$category = \$app->getUserStateFromRequest(\$this->context . '.filter.category', 'filter_category');"; - $state .= "\n\t\t\$this->setState('filter.category', \$category);"; - $state .= "\n\n\t\t\$categoryId = \$this->getUserStateFromRequest(\$this->context . '.filter.category_id', 'filter_category_id');"; - $state .= "\n\t\t\$this->setState('filter.category_id', \$categoryId);"; - if ($filter['code'] != 'category') - { - $state .= "\n\n\t\t\$".$filter['code']." = \$app->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - } - else - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $state .= $spacer."\$".$filter['code']."_".$filter['custom']['text']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."_".$filter['custom']['text']."', 'filter_".$filter['code']."_".$filter['custom']['text']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."_".$filter['custom']['text']."', \$".$filter['code']."_".$filter['custom']['text'].");"; - $spacer = "\n\n\t\t"; - }*/ - $state .= $spacer."\$".$filter['code']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - $donelist[] = $filter['code']; - } - } - } - // add the rest of the set filters - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - foreach ($this->filterBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - $state .= $spacer."\$category = \$app->getUserStateFromRequest(\$this->context . '.filter.category', 'filter_category');"; - $state .= "\n\t\t\$this->setState('filter.category', \$category);"; - $state .= "\n\n\t\t\$categoryId = \$this->getUserStateFromRequest(\$this->context . '.filter.category_id', 'filter_category_id');"; - $state .= "\n\t\t\$this->setState('filter.category_id', \$categoryId);"; - if ($filter['code'] != 'category') - { - $state .= "\n\n\t\t\$".$filter['code']." = \$app->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - } - else - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $state .= $spacer."\$".$filter['custom']['text']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['custom']['text']."', 'filter_".$filter['custom']['text']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['custom']['text']."', \$".$filter['custom']['text'].");"; - $state .= "\n\t\t\$".$filter['code']."_".$filter['custom']['text']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."_".$filter['custom']['text']."', 'filter_".$filter['code']."_".$filter['custom']['text']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."_".$filter['custom']['text']."', \$".$filter['code']."_".$filter['custom']['text'].");"; - $spacer = "\n\n\t\t"; - }*/ - $state .= $spacer."\$".$filter['code']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - $donelist[] = $filter['code']; - } - } - } - return $state; - } - - protected function setSortFields($view) - { - // set the default first - $fields = "return array("; - $fields .= "\n\t\t\t'a.sorting' => JText::_('JGRID_HEADING_ORDERING')"; - $fields .= ",\n\t\t\t'a.published' => JText::_('JSTATUS')"; - - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if ($filter['type'] == 'category') - { - $fields .= ",\n\t\t\t'c.category_title' => JText::_('".$filter['lang']."')"; - } - elseif (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $fields .= ",\n\t\t\t'".$filter['custom']['db'].".".$filter['custom']['text']."' => JText::_('".$filter['lang']."')"; - } - else - { - $fields .= ",\n\t\t\t'a.".$filter['code']."' => JText::_('".$filter['lang']."')"; - } - } - } - $fields .= ",\n\t\t\t'a.id' => JText::_('JGRID_HEADING_ID')"; - $fields .= "\n\t\t);"; - // return fields - return $fields; - } - - protected function setCheckinCall() - { - $call = "\n\t\t//".$this->setLine(__LINE__)." check in items"; - $call .= "\n\t\t\$this->checkInNow();\n"; - - return $call; - } - - protected function setAutoCheckin($view,$component) - { - $checkin = "\n\n\t/**"; - $checkin .= "\n\t* Build an SQL query to checkin all items left checked out longer then a set time."; - $checkin .= "\n\t*"; - $checkin .= "\n\t* @return a bool"; - $checkin .= "\n\t*"; - $checkin .= "\n\t*/"; - $checkin .= "\n\tprotected function checkInNow()"; - $checkin .= "\n\t{"; - $checkin .= "\n\t\t//".$this->setLine(__LINE__)." Get set check in time"; - $checkin .= "\n\t\t\$time = JComponentHelper::getParams('com_".$component."')->get('check_in');"; - $checkin .= "\n\t\t"; - $checkin .= "\n\t\tif (\$time)"; - $checkin .= "\n\t\t{"; - $checkin .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $checkin .= "\n\t\t\t\$db = JFactory::getDbo();"; - $checkin .= "\n\t\t\t//".$this->setLine(__LINE__)." reset query"; - $checkin .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $checkin .= "\n\t\t\t\$query->select('*');"; - $checkin .= "\n\t\t\t\$query->from(\$db->quoteName('#__".$component."_".$view."'));"; - $checkin .= "\n\t\t\t\$db->setQuery(\$query);"; - $checkin .= "\n\t\t\t\$db->execute();"; - $checkin .= "\n\t\t\tif (\$db->getNumRows())"; - $checkin .= "\n\t\t\t{"; - $checkin .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Get Yesterdays date"; - $checkin .= "\n\t\t\t\t\$date = JFactory::getDate()->modify(\$time)->toSql();"; - $checkin .= "\n\t\t\t\t//".$this->setLine(__LINE__)." reset query"; - $checkin .= "\n\t\t\t\t\$query = \$db->getQuery(true);"; - $checkin .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Fields to update."; - $checkin .= "\n\t\t\t\t\$fields = array("; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'',"; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out') . '=0'"; - $checkin .= "\n\t\t\t\t);"; - $checkin .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Conditions for which records should be updated."; - $checkin .= "\n\t\t\t\t\$conditions = array("; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out') . '!=0', "; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out_time') . '<\''.\$date.'\''"; - $checkin .= "\n\t\t\t\t);"; - $checkin .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Check table"; - $checkin .= "\n\t\t\t\t\$query->update(\$db->quoteName('#__".$component."_".$view."'))->set(\$fields)->where(\$conditions); "; - $checkin .= "\n\n\t\t\t\t\$db->setQuery(\$query);"; - $checkin .= "\n\n\t\t\t\t\$db->execute();"; - $checkin .= "\n\t\t\t}"; - $checkin .= "\n\t\t}"; - $checkin .= "\n\n\t\treturn false;"; - $checkin .= "\n\t}"; - - return $checkin; - } - - protected function setGetItemsMethodStringFix($view,$Component,$tab = '',$export = false) - { - // add the fix if this view has the need for it - $fix = ''; - // encription switches - $basicCrypt = false; - $advancedCrypt = false; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$view])) - { - $core = $this->permissionCore[$view]; - $coreLoad = true; - } - $component = ComponentbuilderHelper::safeString($Component); - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder[$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.access']]) && in_array($view,$this->permissionBuilder[$core['core.access']])) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set values to display correctly."; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." get user object."; - $fix .= "\n\t".$tab."\t\t\$user = JFactory::getUser();"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\$access = (\$user->authorise('".$core['core.access']."', 'com_".$component.".".$view.".' . (int) \$item->id) && \$user->authorise('".$core['core.access']."', 'com_".$component."'));"; - $fix .= "\n\t".$tab."\t\t\tif (!\$access)"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\tunset(\$items[\$nr]);"; - $fix .= "\n\t".$tab."\t\t\t\tcontinue;"; - $fix .= "\n\t".$tab."\t\t\t}\n"; - - } - - if (!$export) - { - $methodName = 'getItemsMethodListStringFixBuilder'; - } - else - { - $methodName = 'getItemsMethodEximportStringFixBuilder'; - } - - if (isset($this->{$methodName}[$view]) && ComponentbuilderHelper::checkArray($this->{$methodName}[$view])) - { - if (!ComponentbuilderHelper::checkString($fix)) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set values to display correctly."; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - } - - foreach ($this->{$methodName}[$view] as $item) - { - switch ($item['method']) - { - case 1: - // JSON_STRING_ENCODE - $decode = 'json_decode'; - $suffix_decode = ', true'; - break; - case 2: - // BASE_SIXTY_FOUR - $decode = 'base64_decode'; - $suffix_decode = ''; - break; - case 3: - // BASIC_ENCRYPTION_LOCALKEY - $decode = '$basic->decryptString'; - $basicCrypt = true; - $suffix_decode = ''; - break; - case 4: - // ADVANCE_ENCRYPTION_VDMKEY - $decode = '$advanced->decryptString'; - $advancedCrypt = true; - $suffix_decode = ''; - break; - default: - // JSON_ARRAY_ENCODE - $decode = 'json_decode'; - $suffix_decode = ', true'; - break; - } - - if ($item['type'] == 'usergroup' && !$export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." decode ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$".$item['name']."Names = '';"; - $fix .= "\n\t".$tab."\t\t\t\t\$counter = 0;"; - $fix .= "\n\t".$tab."\t\t\t\tforeach (\$".$item['name']."Array as \$".$item['name'].")"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\tif (\$counter == 0)"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= ".$Component."Helper::getGroupName(\$".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\telse"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= ', '.".$Component."Helper::getGroupName(\$".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\t\$counter++;"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\$item->".$item['name']." = \$".$item['name']."Names;"; - $fix .= "\n\t".$tab."\t\t\t}"; - } - /*elseif ($item['type'] == 'usergroup' && $export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." decode ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$item->".$item['name']." = implode('|',\$".$item['name']."Array);"; - $fix .= "\n\t".$tab."\t\t\t}"; - }*/ - elseif ($item['translation'] && !$export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$".$item['name']."Names = '';"; - $fix .= "\n\t".$tab."\t\t\t\t\$counter = 0;"; - $fix .= "\n\t".$tab."\t\t\t\tforeach (\$".$item['name']."Array as \$".$item['name'].")"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\tif (\$counter == 0)"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= JText::_(\$this->selectionTranslation(\$".$item['name'].", '".$item['name']."'));"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\telse"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= ', '.JText::_(\$this->selectionTranslation(\$".$item['name'].", '".$item['name']."'));"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\t\$counter++;"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\$item->".$item['name']." = \$".$item['name']."Names;"; - $fix .= "\n\t".$tab."\t\t\t}"; - } - else - { - if ($item['method'] == 2 || $item['method'] == 3 || $item['method'] == 4) - { - $taber = ''; - if ($item['method'] == 3) - { - $taber = "\t"; - $fix .= "\n\t".$tab."\t\t\tif (\$basickey && !is_numeric(\$item->".$item['name'].") && \$item->".$item['name']." === base64_encode(base64_decode(\$item->".$item['name'].", true)))"; - $fix .= "\n\t".$tab."\t\t\t{"; - } - if ($item['method'] == 4) - { - $taber = "\t"; - $fix .= "\n\t".$tab."\t\t\tif (\$advancedkey && !is_numeric(\$item->".$item['name'].") && \$item->".$item['name']." === base64_encode(base64_decode(\$item->".$item['name'].", true)))"; - $fix .= "\n\t".$tab."\t\t\t{"; - } - if ($item['method'] == 3 || $item['method'] == 4) - { - $fix .= "\n\t".$tab."\t\t\t\t//".$this->setLine(__LINE__)." decrypt ".$item['name']; - } - else - { - $fix .= "\n\t".$tab.$taber."\t\t\t//".$this->setLine(__LINE__)." decode ".$item['name']; - } - $fix .= "\n\t".$tab.$taber."\t\t\t\$item->".$item['name']." = ".$decode."(\$item->".$item['name'].");"; - - if ($item['method'] == 3 || $item['method'] == 4) - { - $fix .= "\n\t".$tab."\t\t\t}"; - } - } - else - { - if ($export && $item['type'] == 'repeatable') - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." decode repeatable ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$bucket".$item['name']." = array();"; - $fix .= "\n\t".$tab."\t\t\t\tforeach (\$".$item['name']."Array as \$".$item['name']."FieldName => \$".$item['name'].")"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."))"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$bucket".$item['name']."[] = \$".$item['name']."FieldName . '<||VDM||>' . implode('<|VDM|>',\$".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t//".$this->setLine(__LINE__)." make sure the bucket has values."; - $fix .= "\n\t".$tab."\t\t\t\tif (".$Component."Helper::checkArray(\$bucket".$item['name']."))"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t//".$this->setLine(__LINE__)." clear the repeatable field."; - $fix .= "\n\t".$tab."\t\t\t\t\tunset(\$item->".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t//".$this->setLine(__LINE__)." set repeatable field for export."; - $fix .= "\n\t".$tab."\t\t\t\t\t\$item->".$item['name']." = implode('<|||VDM|||>',\$bucket".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t//".$this->setLine(__LINE__)." unset the bucket."; - $fix .= "\n\t".$tab."\t\t\t\t\tunset(\$bucket".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t}"; - } - else - { - if (!$export) - { - // TODO we must add options for multi custom selection. - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$item->".$item['name']." = ".$Component."Helper::jsonToString(\$item->".$item['name'].");"; - } - } - } - } - } - } - - // close the foreach if needed - if (!ComponentbuilderHelper::checkString($fix) && $export) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set values to display correctly."; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - } - // close the foreach if needed - if (ComponentbuilderHelper::checkString($fix)) - { - // remove these values if export - if ($export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." unset the values we don't want exported."; - $fix .= "\n\t".$tab."\t\t\tunset(\$item->asset_id);"; - $fix .= "\n\t".$tab."\t\t\tunset(\$item->checked_out);"; - $fix .= "\n\t".$tab."\t\t\tunset(\$item->checked_out_time);"; - } - $fix .= "\n\t".$tab."\t\t}"; - $fix .= "\n\t".$tab."\t}"; - if ($export) - { - $fix .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Add headers to items array."; - $fix .= "\n\t".$tab."\t\$headers = \$this->getExImPortHeaders();"; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkObject(\$headers))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tarray_unshift(\$items,\$headers);"; - $fix .= "\n\t".$tab."\t}"; - } - } - - // add custom php to getitems method - if (isset($this->customScriptBuilder['php_getitems'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getitems'][$view])) - { - $fix .= "\n\n".$tab."".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getitems'][$view]); - } - - if ($basicCrypt) - { - $script = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the basic encription key."; - $script .= "\n\t".$tab."\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - // add the encryption script - $fix = $script . $fix; - } - - if ($advancedCrypt) - { - $script = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the advanced encription key."; - $script .= "\n\t".$tab."\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - // add the encryption script - $fix = $script . $fix; - } - - return $fix; - } - - protected function setSelectionTranslationFix($views,$Component,$tab = '') - { - // add the fix if this view has the need for it - $fix = ''; - if (isset($this->selectionTranslationFixBuilder[$views]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$views])) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set selection value to a translatable value"; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - foreach ($this->selectionTranslationFixBuilder[$views] as $name => $values) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$name; - $fix .= "\n\t".$tab."\t\t\t\$item->".$name." = \$this->selectionTranslation(\$item->".$name.", '".$name."');"; - } - $fix .= "\n\t".$tab."\t\t}"; - $fix .= "\n\t".$tab."\t}\n"; - } - return $fix; - } - - protected function setSelectionTranslationFixFunc($views,$Component) - { - // add the fix if this view has the need for it - $fix = ''; - if (isset( $this->selectionTranslationFixBuilder[$views]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$views])) - { - $fix .= "\n\n\t/**"; - $fix .= "\n\t* Method to convert selection values to translatable string."; - $fix .= "\n\t*"; - $fix .= "\n\t* @return translatable string"; - $fix .= "\n\t*/"; - $fix .= "\n\tpublic function selectionTranslation(\$value,\$name)"; - $fix .= "\n\t{"; - foreach ($this->selectionTranslationFixBuilder[$views] as $name => $values) - { - if (ComponentbuilderHelper::checkArray($values)) - { - $fix .= "\n\t\t//".$this->setLine(__LINE__)." Array of ".$name." language strings"; - $fix .= "\n\t\tif (\$name == '".$name."')"; - $fix .= "\n\t\t{"; - $fix .= "\n\t\t\t\$".$name."Array = array("; - $counter = 0; - foreach ($values as $value => $translang) - { - // only add quotes to strings - if (ComponentbuilderHelper::checkString($value)) - { - $key = "'".$value."'"; - } - else - { - if ($value == '') - { - $value = 0; - } - $key = $value; - } - if ($counter == 0) - { - $fix .= "\n\t\t\t\t".$key." => '".$translang."'"; - } - else - { - $fix .= ",\n\t\t\t\t".$key." => '".$translang."'"; - } - $counter++; - } - $fix .= "\n\t\t\t);"; - $fix .= "\n\t\t\t//".$this->setLine(__LINE__)." Now check if value is found in this array"; - $fix .= "\n\t\t\tif (isset(\$".$name."Array[\$value]) && ".$Component."Helper::checkString(\$".$name."Array[\$value]))"; - $fix .= "\n\t\t\t{"; - $fix .= "\n\t\t\t\treturn \$".$name."Array[\$value];"; - $fix .= "\n\t\t\t}"; - $fix .= "\n\t\t}"; - } - } - $fix .= "\n\t\treturn \$value;"; - $fix .= "\n\t}"; - } - return $fix; - } - - protected function setFieldSet($view,$component) - { - // setup the fieldset of this view - if (isset($view['settings']->fields) && ComponentbuilderHelper::checkArray($view['settings']->fields)) - { - // setup the list view and single view name - $listViewName = ComponentbuilderHelper::safeString($view['settings']->name_list); - $viewName = ComponentbuilderHelper::safeString($view['settings']->name_single); - // add metadata to the view - if ($view['metadata']) - { - $this->metadataBuilder[$viewName] = $viewName; - } - // add access to the view - if ($view['access']) - { - $this->accessBuilder[$viewName] = $viewName; - } - // set the read only - $readOnly = ""; - if ($view['settings']->type == 2) - { - $readOnly = "\n\t\t\t".'readonly="true"'."\n\t\t\t".'disabled="true"'; - } - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single,'U'); - $langViews = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_list,'U'); - // set default lang - $this->langContent[$this->lang][$langView] = $view['settings']->name_single; - $this->langContent[$this->lang][$langViews] = $view['settings']->name_list; - // set the singel name - $viewSingleName = ComponentbuilderHelper::safeString($view['settings']->name_single,'W'); - // set global item strings - $this->langContent[$this->lang][$langViews.'_N_ITEMS_ARCHIVED'] = "%s ".$view['settings']->name_list." archived."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_ARCHIVED_1'] = "%s ".$view['settings']->name_single." archived."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_CHECKED_IN_0'] = "No ".$view['settings']->name_single." successfully checked in."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_CHECKED_IN_1'] = "%d ".$view['settings']->name_single." successfully checked in."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_CHECKED_IN_MORE'] = "%d ".$view['settings']->name_list." successfully checked in."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_DELETED'] = "%s ".$view['settings']->name_list." deleted."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_DELETED_1'] = "%s ".$view['settings']->name_single." deleted."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_FEATURED'] = "%s ".$view['settings']->name_list." featured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_FEATURED_1'] = "%s ".$view['settings']->name_single." featured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_PUBLISHED'] = "%s ".$view['settings']->name_list." published."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_PUBLISHED_1'] = "%s ".$view['settings']->name_single." published."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_TRASHED'] = "%s ".$view['settings']->name_list." trashed."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_TRASHED_1'] = "%s ".$view['settings']->name_single." trashed."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNFEATURED'] = "%s ".$view['settings']->name_list." unfeatured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNFEATURED_1'] = "%s ".$view['settings']->name_single." unfeatured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNPUBLISHED'] = "%s ".$view['settings']->name_list." unpublished."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNPUBLISHED_1'] = "%s ".$view['settings']->name_single." unpublished."; - $this->langContent[$this->lang][$langViews.'_BATCH_OPTIONS'] = "Batch process the selected ".$view['settings']->name_list; - $this->langContent[$this->lang][$langViews.'_BATCH_TIP'] = "All changes will be applied to all selected ".$view['settings']->name_list; - // set some basic defaults - $this->langContent[$this->lang][$langView.'_ERROR_UNIQUE_ALIAS'] = "Another ".$view['settings']->name_single." has the same alias."; - $this->langContent[$this->lang][$langView.'_CREATED_DATE_LABEL'] = "Created date"; - $this->langContent[$this->lang][$langView.'_CREATED_DATE_DESC'] = "The date ".$view['settings']->name_single." was created."; - $this->langContent[$this->lang][$langView.'_CREATED_BY_LABEL'] = "Created by"; - $this->langContent[$this->lang][$langView.'_CREATED_BY_DESC'] = "The user that created the ".$view['settings']->name_single."."; - $this->langContent[$this->lang][$langView.'_ORDERING_LABEL'] = "Ordering"; - $this->langContent[$this->lang][$langView.'_VERSION_LABEL'] = "Revision"; - $this->langContent[$this->lang][$langView.'_VERSION_DESC'] = "A count of the number of times this ".$view['settings']->name_single." has been revised."; - $this->langContent[$this->lang][$langView.'_SAVE_WARNING'] = "Alias already existed so a number was added at the end. You can re-edit the ".$view['settings']->name_single." to customise the alias."; - // set the defautl fields - $fieldSet = '<fieldset name="details">'; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Default Fields. -->"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Id Field. Type: Text (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\tname=".'"id"'; - $fieldSet .= "\n\t\t\t".'type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"'; - $fieldSet .= "\n\t\t\t".'description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"'; - $fieldSet .= "\n\t\t\t".'readonly="true"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Date Created Field. Type: Calendar (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\tname=".'"created"'; - $fieldSet .= "\n\t\t\ttype=".'"calendar"'; - $fieldSet .= "\n\t\t\tlabel=".'"'.$langView.'_CREATED_DATE_LABEL"'; - $fieldSet .= "\n\t\t\tdescription=".'"'.$langView.'_CREATED_DATE_DESC"'; - $fieldSet .= "\n\t\t\tsize=".'"22"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\tformat=".'"%Y-%m-%d %H:%M:%S"'; - $fieldSet .= "\n\t\t\tfilter=".'"user_utc"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." User Created Field. Type: User (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\tname=".'"created_by"'; - $fieldSet .= "\n\t\t\ttype=".'"user"'; - $fieldSet .= "\n\t\t\tlabel=".'"'.$langView.'_CREATED_BY_LABEL"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\tdescription=".'"'.$langView.'_CREATED_BY_DESC"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Published Field. Type: List (joomla) -->"; - $fieldSet .= "\n\t\t<field name=".'"published" type="list" label="JSTATUS"'; - $fieldSet .= "\n\t\t\tdescription=".'"JFIELD_PUBLISHED_DESC" class="chzn-color-state"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\tfilter=".'"intval" size="1" default="1" >'; - - $fieldSet .= "\n\t\t\t<option value=".'"1">'; - $fieldSet .= "\n\t\t\t\tJPUBLISHED</option>"; - $fieldSet .= "\n\t\t\t<option value=".'"0">'; - $fieldSet .= "\n\t\t\t\tJUNPUBLISHED</option>"; - $fieldSet .= "\n\t\t\t<option value=".'"2">'; - $fieldSet .= "\n\t\t\t\tJARCHIVED</option>"; - $fieldSet .= "\n\t\t\t<option value=".'"-2">'; - $fieldSet .= "\n\t\t\t\tJTRASHED</option>"; - $fieldSet .= "\n\t\t</field>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Date Modified Field. Type: Calendar (joomla) -->"; - $fieldSet .= "\n\t\t".'<field name="modified" type="calendar" class="readonly"'; - $fieldSet .= "\n\t\t\t".'label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC"'; - $fieldSet .= "\n\t\t\t".'size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />'; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." User Modified Field. Type: User (joomla) -->"; - $fieldSet .= "\n\t\t".'<field name="modified_by" type="user"'; - $fieldSet .= "\n\t\t\t".'label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"'; - $fieldSet .= "\n\t\t\t".'class="readonly"'; - $fieldSet .= "\n\t\t\t".'readonly="true"'; - $fieldSet .= "\n\t\t\t".'filter="unset"'; - $fieldSet .= "\n\t\t/>"; - // check if view has access - if (isset($this->accessBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName])) - { - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Access Field. Type: Accesslevel (joomla) -->"; - $fieldSet .= "\n\t\t".'<field name="access"'; - $fieldSet .= "\n\t\t\t".'type="accesslevel"'; - $fieldSet .= "\n\t\t\t".'label="JFIELD_ACCESS_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="JFIELD_ACCESS_DESC"'; - $fieldSet .= "\n\t\t\t".'default="1"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\t".'required="false"'; - $fieldSet .= "\n\t\t/>"; - } - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Ordering Field. Type: Numbers (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="ordering"'; - $fieldSet .= "\n\t\t\t".'type="number"'; - $fieldSet .= "\n\t\t\t".'class="inputbox validate-ordering"'; - $fieldSet .= "\n\t\t\t".'label="'.$langView.'_ORDERING_LABEL'.'"'; - $fieldSet .= "\n\t\t\t".'description=""'; - $fieldSet .= "\n\t\t\t".'default="0"'; - $fieldSet .= "\n\t\t\t".'size="6"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\t".'required="false"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Version Field. Type: Text (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="version"'; - $fieldSet .= "\n\t\t\t".'type="text"'; - $fieldSet .= "\n\t\t\t".'class="readonly"'; - $fieldSet .= "\n\t\t\t".'label="'.$langView.'_VERSION_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="'.$langView.'_VERSION_DESC"'; - $fieldSet .= "\n\t\t\t".'size="6"'; - $fieldSet .= "\n\t\t\t".'readonly="true"'; - $fieldSet .= "\n\t\t\t".'filter="unset"'; - $fieldSet .= "\n\t\t/>"; - // check if metadata is added to this view - if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName])) - { - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Metakey Field. Type: Textarea (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="metakey"'; - $fieldSet .= "\n\t\t\t".'type="textarea"'; - $fieldSet .= "\n\t\t\t".'label="JFIELD_META_KEYWORDS_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="JFIELD_META_KEYWORDS_DESC"'; - $fieldSet .= "\n\t\t\t".'rows="3"'; - $fieldSet .= "\n\t\t\t".'cols="30"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Metadesc Field. Type: Textarea (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="metadesc"'; - $fieldSet .= "\n\t\t\t".'type="textarea"'; - $fieldSet .= "\n\t\t\t".'label="JFIELD_META_DESCRIPTION_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="JFIELD_META_DESCRIPTION_DESC"'; - $fieldSet .= "\n\t\t\t".'rows="3"'; - $fieldSet .= "\n\t\t\t".'cols="30"'; - $fieldSet .= "\n\t\t/>"; - } - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Dynamic Fields. -->"; - // start adding dynamc fields - $placeholders = array( - '###component###' => $component, - '###view###' => $viewName, - '###views###' => $listViewName); - $spacerCounter = 'a'; - // set the custom table key - $dbkey = 'g'; - // TODO we should add the global and local view switch if field for front end - foreach ($view['settings']->fields as $field) - { - $fieldSet .= $this->setDynamicField($field,$view,$view['settings']->type,$langView,$viewName,$listViewName,$spacerCounter,$placeholders,$dbkey,true); - } - - $fieldSet .= "\n\t</fieldset>"; - // check if metadata is added to this view - if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName])) - { - $fieldSet .= "\n\n\t<!--".$this->setLine(__LINE__)." Metadata Fields. -->"; - $fieldSet .= "\n\t<fields".' name="metadata" label="JGLOBAL_FIELDSET_METADATA_OPTIONS">'; - $fieldSet .= "\n\t\t".'<fieldset name="vdmmetadata"'; - $fieldSet .= "\n\t\t\t".'label="JGLOBAL_FIELDSET_METADATA_OPTIONS">'; - $fieldSet .= "\n\t\t\t<!--".$this->setLine(__LINE__)." Robots Field. Type: List (joomla) -->"; - $fieldSet .= "\n\t\t\t".'<field name="robots"'; - $fieldSet .= "\n\t\t\t\t".'type="list"'; - $fieldSet .= "\n\t\t\t\t".'label="JFIELD_METADATA_ROBOTS_LABEL"'; - $fieldSet .= "\n\t\t\t\t".'description="JFIELD_METADATA_ROBOTS_DESC" >'; - $fieldSet .= "\n\t\t\t\t".'<option value="">JGLOBAL_USE_GLOBAL</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="index, follow">JGLOBAL_INDEX_FOLLOW</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="noindex, follow">JGLOBAL_NOINDEX_FOLLOW</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="index, nofollow">JGLOBAL_INDEX_NOFOLLOW</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="noindex, nofollow">JGLOBAL_NOINDEX_NOFOLLOW</option>'; - $fieldSet .= "\n\t\t\t".'</field>'; - $fieldSet .= "\n\t\t\t<!--".$this->setLine(__LINE__)." Author Field. Type: Text (joomla) -->"; - $fieldSet .= "\n\t\t\t".'<field name="author"'; - $fieldSet .= "\n\t\t\t\t".'type="text"'; - $fieldSet .= "\n\t\t\t\t".'label="JAUTHOR" description="JFIELD_METADATA_AUTHOR_DESC"'; - $fieldSet .= "\n\t\t\t\t".'size="20"'; - $fieldSet .= "\n\t\t\t/>"; - $fieldSet .= "\n\t\t\t<!--".$this->setLine(__LINE__)." Rights Field. Type: Textarea (joomla) -->"; - $fieldSet .= "\n\t\t\t".'<field name="rights" type="textarea" label="JFIELD_META_RIGHTS_LABEL"'; - $fieldSet .= "\n\t\t\t\t".'description="JFIELD_META_RIGHTS_DESC" required="false" filter="string"'; - $fieldSet .= "\n\t\t\t\t".'cols="30" rows="2"'; - $fieldSet .= "\n\t\t\t/>"; - $fieldSet .= "\n\t\t</fieldset>"; - $fieldSet .= "\n\t</fields>"; - } - // retunr the set - return $fieldSet; - } - return ''; - } - - protected function setDynamicField(&$field,&$view,&$viewType, &$langView,&$viewName,&$listViewName,&$spacerCounter,&$placeholders,&$dbkey,$build) - { - $name = ComponentbuilderHelper::safeString($field['settings']->name); - $typeName = ComponentbuilderHelper::safeString($field['settings']->type_name); - $multiple = false; - $langLabel = ''; - $taber = ''; - $fieldSet = ''; - // get field values - $fieldValues = $this->setFieldValues($field,$viewType,$name,$typeName,$multiple,$langLabel,$langView,$spacerCounter,$listViewName,$viewName,$placeholders); - // check if values were set - if (ComponentbuilderHelper::checkArray($fieldValues)) - { - if ($this->defaultField($typeName, 'option')) - { - //reset options array - $optionArray = array(); - // now add to the field set - $fieldSet .= $this->setField('option',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - if ($build) - { - // set builders - $this->setBuilders($langLabel, $langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,false,$optionArray); - } - } - elseif ($this->defaultField($typeName, 'plain')) - { - if ($build) - { - // set builders - $this->setBuilders($langLabel, $langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple); - } - // now add to the field set - $fieldSet .= $this->setField('plain',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - } - elseif ($this->defaultField($typeName, 'spacer')) - { - if ($build) - { - // make sure spacers gets loaded to layout - $tabName = ''; - if (isset($view['settings']->tabs) && isset($view['settings']->tabs[(int) $field['tab']])) - { - $tabName = $view['settings']->tabs[(int) $field['tab']]; - } - $this->setLayoutBuilder($viewName,$tabName,$name,$field); - } - // now add to the field set - $fieldSet .= $this->setField('spacer',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - // increment spacer counter - if ($typeName == 'spacer') - { - $spacerCounter++; - } - } - elseif($this->defaultField($typeName, 'special')) - { - // set the repeatable field - if ($typeName == 'repeatable') - { - if ($build) - { - // set builders - $this->setBuilders($langLabel,$langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,false); - } - // now add to the field set - $fieldSet .= $this->setField('special',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - } - } - elseif (ComponentbuilderHelper::checkArray($fieldValues['custom'])) - { - // set the custom array - $custom = $fieldValues['custom']; - unset($fieldValues['custom']); - // set db key - $custom['db'] = $dbkey; - // increment the db key - $dbkey++; - if ($build) - { - // set builders - $this->setBuilders($langLabel,$langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,$custom); - } - // now add to the field set - $fieldSet .= $this->setField('custom',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - } - } - return $fieldSet; - } - - protected function setField($setType,$taber,&$fieldValues,&$name,&$typeName,&$langView,&$viewName,&$listViewName,$placeholders,&$optionArray) - { - $fieldSet = ''; - if ($setType == 'option') - { - // now add to the field set - $fieldSet .= "\n\t".$taber."\t<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (joomla) -->"; - $fieldSet .= "\n\t".$taber."\t<field"; - $optionSet = ''; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= "\n\t\t".$taber."\t".$property.'="'.$value.'"'; - } - elseif ($property == 'option') - { - $optionSet = ''; - if (strpos($value,',') !== false) - { - // mulitpal options - $options = explode(',',$value); - foreach ($options as $option) - { - if (strpos($option,'|') !== false) - { - // has other value then text - list($v,$t) = explode('|',$option); - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($t,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $t; - // no add to option set - $optionSet .= "\n\t".$taber."\t\t".'<option value="'.$v.'">'."\n\t".$taber."\t\t\t".$langValue.'</option>'; - $optionArray[$v] = $langValue; - } - else - { - // text is also the value - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($option,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $option; - // no add to option set - $optionSet .= "\n\t\t".$taber."\t".'<option value="'.$option.'">'."\n\t\t".$taber."\t\t".$langValue.'</option>'; - $optionArray[$option] = $langValue; - } - } - } - else - { - // one option - if (strpos($value,'|') !== false) - { - // has other value then text - list($v,$t) = explode('|',$value); - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($t,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $t; - // no add to option set - $optionSet .= "\n\t\t".$taber."\t".'<option value="'.$v.'">'."\n\t\t".$taber."\t\t".$langValue.'</option>'; - $optionArray[$v] = $langValue; - } - else - { - // text is also the value - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($value,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $value; - // no add to option set - $optionSet .= "\n\t\t".$taber."\t".'<option value="'.$value.'">'."\n\t\t".$taber."\t\t".$langValue.'</option>'; - $optionArray[$value] = $langValue; - } - - } - } - } - if (ComponentbuilderHelper::checkString($optionSet)) - { - $fieldSet .= '>'; - $fieldSet .= "\n\t\t\t".$taber."<!--".$this->setLine(__LINE__)." Option Set. -->"; - $fieldSet .= $optionSet; - $fieldSet .= "\n\t\t".$taber."</field>"; - } - else - { - $optionArray = false; - $fieldSet .= "\n\t\t\t".$taber."<!--".$this->setLine(__LINE__)." No Manual Options Were Added In Field Settings. -->"; - $fieldSet .= "\n\t\t".$taber."/>"; - } - } - elseif ($setType == 'plain') - { - // now add to the field set - $fieldSet .= "\n\t\t".$taber."<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (joomla) -->"; - $fieldSet .= "\n\t\t".$taber."<field"; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= "\n\t\t".$taber."\t".$property.'="'.$value.'"'; - } - } - $fieldSet .= "\n\t\t".$taber."/>"; - } - elseif ($setType == 'spacer') - { - // now add to the field set - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". A None Database Field. (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= " ".$property.'="'.$value.'"'; - } - } - $fieldSet .= " />"; - } - elseif ($setType == 'special') - { - // set the repeatable field - if ($typeName == 'repeatable') - { - // now add to the field set - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldsSet = array(); - foreach ($fieldValues as $property => $value) - { - if ($property != 'fields') - { - $fieldSet .= "\n\t\t\t".$property.'="'.$value.'"'; - } - } - $fieldSet .= ">"; - $fieldSet .= "\n\t\t\t".'<fields name="'.$fieldValues['name'].'_fields" label="">'; - $fieldSet .= "\n\t\t\t\t".'<fieldset hidden="true" name="'.$fieldValues['name'].'_modal" repeat="true">'; - if (strpos($fieldValues['fields'],',') !== false) - { - // mulitpal fields - $fieldsSets = explode(',',$fieldValues['fields']); - } - else - { - // single field - $fieldsSets[] = $fieldValues['fields']; - } - // only continue if we have a field set - if (ComponentbuilderHelper::checkArray($fieldsSets)) - { - foreach ($fieldsSets as $fieldId) - { - // get the field data - $fieldData['settings'] = $this->getFieldData($fieldId,$viewName); - if (ComponentbuilderHelper::checkObject($fieldData['settings'])) - { - $r_name = ComponentbuilderHelper::safeString($fieldData['settings']->name); - $r_typeName = ComponentbuilderHelper::safeString($fieldData['settings']->type_name); - $r_multiple = false; - $r_langLabel = ''; - // make sure that these fields are not required - $fieldData['settings']->xml = str_replace('required="','requirenot="',$fieldData['settings']->xml); - // add the tabs needed - $taber = "\t\t\t"; - // get field values - $r_fieldValues = $this->setFieldValues($fieldData,$view,$r_name,$r_typeName,$r_multiple,$r_langLabel,$langView,$spacerCounter,$listViewName,$viewName,$placeholders,true); - // check if values were set - if (ComponentbuilderHelper::checkArray($r_fieldValues)) - { - //reset options array - $r_optionArray = array(); - if ($this->defaultField($r_typeName, 'option')) - { - // now add to the field set - $fieldSet .= $this->setField('option',$taber,$r_fieldValues,$r_name,$r_typeName,$langView,$viewName,$listViewName,$placeholders,$r_optionArray); - } - elseif ($this->defaultField($r_typeName, 'plain')) - { - // now add to the field set - $fieldSet .= $this->setField('plain',$taber,$r_fieldValues,$r_name,$r_typeName,$langView,$viewName,$listViewName,$placeholders,$r_optionArray); - } - elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom'])) - { - // add to custom - $custom = $r_fieldValues['custom']; - unset($r_fieldValues['custom']); - // now add to the field set - $fieldSet .= $this->setField('custom',$taber,$r_fieldValues,$r_name,$r_typeName,$langView,$viewName,$listViewName,$placeholders,$r_optionArray); - // set lang (just incase) - $r_listLangName = $langView.'_'.ComponentbuilderHelper::safeString($r_name,'U'); - // add to lang array - $this->langContent[$this->lang][$r_listLangName] = ComponentbuilderHelper::safeString($r_name,'W'); - // if label was set use instead - if (ComponentbuilderHelper::checkString($r_langLabel)) - { - $r_listLangName = $r_langLabel; - } - // set the custom array - $data = array( 'type' => $r_typeName, 'code' => $r_name, 'lang' => $r_listLangName, 'custom' => $custom); - // set the custom field file - $this->setCustomFieldTypeFile($data,$listViewName,$viewName); - } - } - } - } - } - $fieldSet .= "\n\t\t\t\t</fieldset>"; - $fieldSet .= "\n\t\t\t</fields>"; - $fieldSet .= "\n\t\t</field>"; - } - } - elseif ($setType == 'custom') - { - // now add to the field set - $fieldSet .= "\n\t\t".$taber."<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (custom) -->"; - $fieldSet .= "\n\t\t".$taber."<field"; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= "\n\t\t".$taber."\t".$property.'="'.$value.'"'; - } - } - $fieldSet .= "\n\t\t".$taber."/>"; - - } - return $fieldSet; - } - - protected function setFieldValues(&$field,&$viewType,&$name,&$typeName,&$multiple,&$langLabel,$langView,&$spacerCounter,$listViewName,$viewName,$placeholders,$repeatable = false) - { - // reset array` - $fieldValues = array(); - $setCustom = false; - // setup joomla default fields - if (!$this->defaultField($typeName)) - { - $fieldValues['custom'] = array(); - $setCustom = true; - } - // setup a default field - if (ComponentbuilderHelper::checkArray($field['settings']->properties)) - { - foreach ($field['settings']->properties as $property) - { - // reset - $xmlValue = ''; - $langValue = ''; - if ($property['name'] == 'type') - { - if ($typeName == 'custom' || $typeName == 'customuser') - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'type="','"')); - } - // use field core type only if not found - elseif (ComponentbuilderHelper::checkString($typeName)) - { - $xmlValue = $typeName; - } - // make sure none adjustable fields are set - elseif (isset($property['example']) && ComponentbuilderHelper::checkString($property['example']) && $property['adjustable'] == 0) - { - $xmlValue = $property['example']; - } - // fall back on the xml settings - else - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'type="','"')); - } - - // check if the value is set - if (ComponentbuilderHelper::checkString($xmlValue)) - { - // add the value - $typeName = $xmlValue; - } - else - { - // fall back to text - $xmlValue = 'text'; - $typeName = $xmlValue; - } - - // add to custom if it is custom - if ($setCustom) - - { - // set the type just to make sure. - $fieldValues['custom']['type'] = $typeName; - } - } - elseif ($property['name'] == 'name') - { - // if category then name must be catid (only one per view) - if ($typeName == 'category') - { - // quick check if this is a category linked to view page - $requeSt_id = ComponentbuilderHelper::getBetween($field['settings']->xml,'name="','"'); - if (strpos($requeSt_id, '_request_id') !== false) - { - // keep it then, don't change - $xmlValue = $requeSt_id; - } - else - { - $xmlValue = 'catid'; - } - // check if we should use another Text Name as this views name - $otherName = ComponentbuilderHelper::getBetween($field['settings']->xml,'othername="','"'); - $otherViews = ComponentbuilderHelper::getBetween($field['settings']->xml,'views="','"'); - $otherView = ComponentbuilderHelper::getBetween($field['settings']->xml,'view="','"'); - if (ComponentbuilderHelper::checkString($otherName) && ComponentbuilderHelper::checkString($otherViews) && ComponentbuilderHelper::checkString($otherView)) - { - $this->catOtherName[$listViewName] = array( - 'name' => ComponentbuilderHelper::safeString($otherName), - 'views' => ComponentbuilderHelper::safeString($otherViews), - 'view' => ComponentbuilderHelper::safeString($otherView) - ); - } - - } - // if tag is set then enable all tag options for this view (only one per view) - elseif ($typeName == 'tag') - { - $xmlValue = 'tags'; - } - // if the field is set as alias it must be called alias - elseif (isset($field['alias']) && $field['alias']) - { - $xmlValue = 'alias'; - } - elseif ($typeName == 'spacer') - { - // make sure the name is unique - $xmlValue = $name.'_'.$spacerCounter; - } - else - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'name="','"')); - } - - // use field core name only if not found in xml - if (!ComponentbuilderHelper::checkString($xmlValue)) - { - $xmlValue = $name; - } - // set the name if found - else - { - $name = $xmlValue; - } - } - elseif ($property['name'] == 'extension' || $property['name'] == 'directory') - { - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - // replace the placeholders - $xmlValue = str_replace(array_keys($placeholders),array_values($placeholders),$xmlValue); - } - elseif (strpos($property['name'],'type_php_') !== false && $setCustom) - { - // set the line number - $phpLine = (int) str_replace('type_php_','',$property['name']); - // load the php for the custom field file - $fieldValues['custom']['php'][$phpLine] = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - } - elseif (strpos($property['name'],'type_phpx_') !== false && $setCustom) - { - // set the line number - $phpLine = (int) str_replace('type_phpx_','',$property['name']); - // load the php for the custom field file - $fieldValues['custom']['phpx'][$phpLine] = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - } - elseif ($property['name'] == 'extends' && $setCustom) - { - // load the class that is being extended - $fieldValues['custom']['extends'] = ComponentbuilderHelper::getBetween($field['settings']->xml,'extends="','"'); - } - elseif ($property['name'] == 'view' && $setCustom) - { - // load the view name - $fieldValues['custom']['view'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'view="','"')); - } - elseif ($property['name'] == 'views' && $setCustom) - { - // load the views name - $fieldValues['custom']['views'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'views="','"')); - } - elseif ($property['name'] == 'component' && $setCustom) - { - // load the component name - $fieldValues['custom']['component'] = ComponentbuilderHelper::getBetween($field['settings']->xml,'component="','"'); - // replace the placeholders - $fieldValues['custom']['component'] = str_replace(array_keys($placeholders),array_values($placeholders),$fieldValues['custom']['component']); - } - elseif ($property['name'] == 'table' && $setCustom) - { - // load the main table that is queried - $fieldValues['custom']['table'] = ComponentbuilderHelper::getBetween($field['settings']->xml,'table="','"'); - // replace the placeholders - $fieldValues['custom']['table'] = str_replace(array_keys($placeholders),array_values($placeholders),$fieldValues['custom']['table']); - } - elseif ($property['name'] == 'value_field' && $setCustom) - { - // load the text key - $fieldValues['custom']['text'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'value_field="','"')); - } - elseif ($property['name'] == 'key_field' && $setCustom) - { - // load the id key - $fieldValues['custom']['id'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'key_field="','"')); - } - elseif ($property['name'] == 'button' && $repeatable && $setCustom) - { - // dont load the button to repeatable - $xmlValue = 'false'; - } - elseif ($viewType == 2 && ($property['name'] == 'readonly' || $property['name'] == 'disabled')) - { - // set read only - $xmlValue = 'true'; - } - elseif ($property['name'] == 'multiple') - { - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - // add the multipal - if ('true' == $xmlValue) - { - $multiple = true; - } - } - // make sure the name is added as a cless name for use in javascript - elseif ($property['name'] == 'class' && ($typeName == 'note' || $typeName == 'spacer')) - { - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml, 'class="','"'); - // add the type class - if (ComponentbuilderHelper::checkString($xmlValue)) - { - if (strpos($xmlValue,$name) === false) - { - $xmlValue = $xmlValue.' '.$name; - } - } - else - { - $xmlValue = $name; - } - } - else - { - // set the rest of the fields - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - } - - // check if translatable - if (ComponentbuilderHelper::checkString($xmlValue) && $property['translatable'] == 1) - { - // replace placeholders - $xmlValue = str_replace(array_keys($placeholders),array_values($placeholders),$xmlValue); - // insure custom lables dont get messed up - if ($setCustom) - { - $customLabel = $xmlValue; - } - // set lang key - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($name.' '.$property['name'],'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $xmlValue; - // use lang value - $xmlValue = $langValue; - - } - elseif (isset($field['alias']) && $field['alias'] && $property['translatable'] == 1) - { - if ($property['name'] == 'label') - { - $xmlValue = 'JFIELD_ALIAS_LABEL'; - } - elseif ($property['name'] == 'description') - { - $xmlValue = 'JFIELD_ALIAS_DESC'; - } - elseif ($property['name'] == 'hint') - { - $xmlValue = 'JFIELD_ALIAS_PLACEHOLDER'; - } - } - elseif (isset($field['title']) && $field['title'] && $property['translatable'] == 1) - { - if ($property['name'] == 'label') - { - $xmlValue = 'JGLOBAL_TITLE'; - } - elseif ($property['name'] == 'description') - { - $xmlValue = 'JFIELD_TITLE_DESC'; - } - } - // only load value if found or is mandatory - if (ComponentbuilderHelper::checkString($xmlValue) || ($property['mandatory'] == 1 && !$setCustom)) - { - // make sure mantory fields are added - if (!ComponentbuilderHelper::checkString($xmlValue)) - { - if (isset($property['example']) && ComponentbuilderHelper::checkString($property['example'])) - { - $xmlValue = $property['example']; - } - } - - $fieldValues[$property['name']] = $xmlValue; - - // load to langBuilder down the line - if ($property['name'] == 'label') - { - $langLabel = $xmlValue; - if ($setCustom) - { - $fieldValues['custom']['label'] = $customLabel; - } - } - } - } - // do some nice twigs beyond the default - if (isset($fieldValues['name'])) - { - // check if we find reason to remove this field from being escaped - $escaped = ComponentbuilderHelper::getBetween($field['settings']->xml,'escape="','"'); - if (ComponentbuilderHelper::checkString($escaped)) - { - $this->doNotEscape[$listViewName][] = $fieldValues['name']; - } - } - } - return $fieldValues; - } - - protected function setBuilders($langLabel, $langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,$custom = false,$options = false) - { - if ($typeName == 'tag') - { - // set tags for this view but don't load to DB - $this->tagsBuilder[$viewName] = $viewName; - } - else - { - // insure default not none if number type - $intKeys = array('INT','TINYINT','BIGINT','FLOAT','DECIMAL','DOUBLE'); - if (in_array($field['settings']->datatype,$intKeys)) - { - if ($field['settings']->datadefault == 'Other') - { - if (!is_numeric($field['settings']->datadefault_other) || $field['settings']->datadefault_other !== '0000-00-00 00:00:00') - { - $field['settings']->datadefault_other = '0'; - } - } - elseif (!is_numeric($field['settings']->datadefault)) - { - $field['settings']->datadefault = '0'; - } - } - // build the query values - $this->queryBuilder[$viewName][$name] = array( - 'type' => $field['settings']->datatype, - 'lenght' => $field['settings']->datalenght, - 'default' => $field['settings']->datadefault, - 'other' => $field['settings']->datadefault_other, - 'null_switch' => $field['settings']->null_switch); - // don't use these as index or uniqe keys - $notKeys = array('TEXT','TINYTEXT','MEDIUMTEXT','LONGTEXT','BLOB','TINYBLOB','MEDIUMBLOB','LONGBLOB'); - // set index types - if ($field['settings']->indexes == 1 && !in_array($field['settings']->datatype,$notKeys)) - { - // build unique keys of this view for db - $this->dbUniqueKeys[$viewName][] = $name; - } - elseif(($field['settings']->indexes == 2 || $field['alias'] || $field['title'] || $typeName == 'category') && !in_array($field['settings']->datatype,$notKeys)) - { - // build keys of this view for db - $this->dbKeys[$viewName][] = $name; - } - - } - // add history to this view - if ($view['history']) - { - $this->historyBuilder[$viewName] = $viewName; - } - // set Alias (only one title per view) - if ($field['alias']) - { - $this->aliasBuilder[$viewName] = $name; - } - // set Titles (only one title per view) - if ($field['title']) - { - $this->titleBuilder[$viewName] = $name; - } - // category name fix - if ($typeName == 'category') - { - if (isset($this->catOtherName[$listViewName]) && ComponentbuilderHelper::checkArray($this->catOtherName[$listViewName])) - { - $tempName = $this->catOtherName[$listViewName]['name']; - } - else - { - $tempName = $viewName.' category'; - } - // set lang - $listLangName = $langView.'_'.ComponentbuilderHelper::safeString($tempName,'U'); - // add to lang array - $this->langContent[$this->lang][$listLangName] = ComponentbuilderHelper::safeString($tempName,'W'); - } - else - { - // set lang (just incase) - $listLangName = $langView.'_'.ComponentbuilderHelper::safeString($name,'U'); - // add to lang array - $this->langContent[$this->lang][$listLangName] = ComponentbuilderHelper::safeString($name,'W'); - // if label was set use instead - if (ComponentbuilderHelper::checkString($langLabel)) - { - $listLangName = $langLabel; - } - } - // build the list values - if ($field['list'] == 1 && $typeName != 'repeatable') - { - // load to list builder - $this->listBuilder[$listViewName][] = array( - 'type' => $typeName, - 'code' => $name, - 'lang' => $listLangName, - 'title' => ($field['title']) ? true:false, - 'alias' => ($field['alias']) ? true:false, - 'link' => ($field['link']) ? true:false, - 'sort' => ($field['sort']) ? true:false, - 'custom' => $custom, - 'options' => $options ); - - $this->customBuilderList[$listViewName][] = $name; - } - // set the hidden field of this view - if ($typeName == 'hidden') - { - if (!isset($this->hiddenFieldsBuilder[$viewName])) - { - $this->hiddenFieldsBuilder[$viewName] = ''; - } - $this->hiddenFieldsBuilder[$viewName] .= ',"'.$name.'"'; - } - // set all int fields of this view - if ($field['settings']->datatype == 'INT' || $field['settings']->datatype == 'TINYINT' || $field['settings']->datatype == 'BIGINT' ) - { - if (!isset($this->intFieldsBuilder[$viewName])) - { - $this->intFieldsBuilder[$viewName] = ''; - } - $this->intFieldsBuilder[$viewName] .= ',"'.$name.'"'; - } - // set all dynamic field of this view - if ($typeName != 'category' && $typeName != 'repeatable') - { - if (!isset($this->dynamicfieldsBuilder[$viewName])) - { - $this->dynamicfieldsBuilder[$viewName] = ''; - } - if (isset($this->dynamicfieldsBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->dynamicfieldsBuilder[$viewName])) - { - $this->dynamicfieldsBuilder[$viewName] .= ',"'.$name.'":"'.$name.'"'; - } - else - { - $this->dynamicfieldsBuilder[$viewName] .= '"'.$name.'":"'.$name.'"'; - } - } - // TODO we may need to add a switch instead (since now it uses the first editor field) - // set the main(biggest) text field of this view - if ($typeName == 'editor') - { - if (!isset($this->maintextBuilder[$viewName]) || !ComponentbuilderHelper::checkString($this->maintextBuilder[$viewName])) - { - $this->maintextBuilder[$viewName] = $name; - } - } - // set the custom builder - if (ComponentbuilderHelper::checkArray($custom) && $typeName != 'category' && $typeName != 'repeatable') - { - $this->customBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'lang' => $listLangName, 'custom' => $custom); - // set the custom fields needed in content type data - if (!isset($this->customFieldLinksBuilder[$viewName])) - { - $this->customFieldLinksBuilder[$viewName] = ''; - } - $this->customFieldLinksBuilder[$viewName] .= ',{"sourceColumn": "'.$name.'","targetTable": "'.$custom['table'].'","targetColumn": "'.$custom['id'].'","displayColumn": "'.$custom['text'].'"}'; - // build script switch for user - if ($custom['extends'] == 'user') - { - $this->setScriptUserSwitch[$typeName] = $typeName; - } - } - if ($typeName == 'media') - { - $this->setScriptMediaSwitch[$typeName] = $typeName; - } - // setup gategory for this view - if ($typeName == 'category') - { - if (isset($this->catOtherName[$listViewName]) && ComponentbuilderHelper::checkArray($this->catOtherName[$listViewName])) - { - $otherViews = $this->catOtherName[$listViewName]['views']; - $otherView = $this->catOtherName[$listViewName]['view']; - } - else - { - $otherViews = $listViewName; - $otherView = $viewName; - } - $this->categoryBuilder[$listViewName] = array('code' => $name, 'name' => $listLangName); - // also set code name for title alias fix - $this->catCodeBuilder[$viewName] = array('code' => $name, 'views' => $otherViews, 'view' => $otherView); - } - // setup checkbox for this view - if ($typeName == 'checkbox') - { - $this->checkboxBuilder[$viewName][] = $name; - } - // setup checkboxes and other json items for this view - if (($typeName == 'checkboxes' || $multiple || $field['settings']->store != 0) && $typeName != 'tag') - { - switch ($field['settings']->store) - { - case 1: - // JSON_STRING_ENCODE - $this->jsonStringBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'json',$typeName); - break; - case 2: - // BASE_SIXTY_FOUR - $this->base64Builder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'base64',$typeName); - break; - case 3: - // BASIC_ENCRYPTION_LOCALKEY - $this->basicEncryptionBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'basic_encryption',$typeName); - break; - case 4: - // ADVANCE_ENCRYPTION_VDMKEY - $this->advancedEncryptionBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'advance_encryption',$typeName); - break; - default: - // JSON_ARRAY_ENCODE - $this->jsonItemBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'json',$typeName); - break; - } - // just a heads-up for usergroups set to multiple - if ($typeName == 'usergroup') - { - $this->buildSiteFieldData($viewName,$name,'json',$typeName); - } - - // load the json list display fix - if ($field['list'] == 1 && $typeName != 'repeatable') - { - if (ComponentbuilderHelper::checkArray($options)) - { - $this->getItemsMethodListStringFixBuilder[$viewName][] = array('name' => $name, 'type' => $typeName, 'translation' => true, 'custom' => $custom, 'method' => $field['settings']->store); - } - else - { - $this->getItemsMethodListStringFixBuilder[$viewName][] = array('name' => $name, 'type' => $typeName, 'translation' => false, 'custom' => $custom, 'method' => $field['settings']->store); - } - } - } - // build the data for the export & import methods $typeName == 'repeatable' || - if (($typeName == 'checkboxes' || $multiple || $field['settings']->store != 0) && !ComponentbuilderHelper::checkArray($options)) - { - $this->getItemsMethodEximportStringFixBuilder[$viewName][] = array('name' => $name, 'type' => $typeName, 'translation' => false, 'custom' => $custom, 'method' => $field['settings']->store); - } - - // check if field should be added to uikit - $this->buildSiteFieldData($viewName,$name,'uikit',$typeName); - // load the selection translation fix - if (ComponentbuilderHelper::checkArray($options) && $field['list'] == 1 && $typeName != 'repeatable') - { - $this->selectionTranslationFixBuilder[$listViewName][$name] = $options; - } - // build the sort values - if ($field['sort'] == 1 && $field['list'] == 1 && (!$multiple && $typeName != 'checkbox' && $typeName != 'checkboxes' && $typeName != 'repeatable')) - { - $this->sortBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'lang' => $listLangName, 'custom' => $custom, 'options' => $options); - } - // build the search values - if ($field['search'] == 1) - { - $this->searchBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'custom' => $custom, 'list' => $field['list']); - } - // build the filter values - if ($field['filter'] == 1 && $field['list'] == 1 && (!$multiple && $typeName != 'checkbox' && $typeName != 'checkboxes' && $typeName != 'repeatable')) - { - $this->filterBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'lang' => $listLangName, 'database' => $viewName, 'function' => ComponentbuilderHelper::safeString($name,'F'), 'custom' => $custom, 'options' => $options); - } - - // build the layout - $tabName = ''; - if (isset($view['settings']->tabs) && isset($view['settings']->tabs[(int) $field['tab']])) - { - $tabName = $view['settings']->tabs[(int) $field['tab']]; - } - $this->setLayoutBuilder($viewName,$tabName,$name,$field); - - } - - protected function setLayoutBuilder(&$viewName,&$tabName,&$name,&$field) - { - if (ComponentbuilderHelper::checkString($tabName)) - { - $this->tabCounter[$viewName][(int) $field['tab']] = $tabName; - if (isset($this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']])) - { - $size = count($this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']]) + 1; - $this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][$size] = $name; - } - else - { - $this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']] = $name; - } - } - else - { - $this->tabCounter[$viewName][1] = 'Details'; - if (isset($this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']])) - { - $size = count($this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']]) + 1; - $this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][$size] = $name; - } - else - { - $this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']] = $name; - } - } - } - - protected function buildSiteFieldData($view,$field,$set,$type) - { - $decode = array('json','base64','basic_encryption','advance_encryption'); - $uikit = array('textarea','editor'); - if (isset($this->siteFields[$view][$field]) && ComponentbuilderHelper::checkArray($this->siteFields[$view][$field])) - { - foreach ($this->siteFields[$view][$field] as $code => $array) - { - // set the decoding methods - if (in_array($set,$decode)) - { - $this->siteFieldData['decode'][$array['site']][$code][$array['as']][$array['key']] = array('decode' => $set, 'type' => $type); - } - // set the uikit checker - if (in_array($type,$uikit)) - { - $this->siteFieldData['uikit'][$array['site']][$code][$array['as']][$array['key']] = $array; - } - } - } - } - - protected function setRouterCase($viewName) - { - if (strlen($viewName) > 0) - { - $router = "\n\t\tcase '".$viewName."':"; - $router .= "\n\t\t\t\$id = explode(':', \$segments[$count-1]);"; - $router .= "\n\t\t\t\$vars['id'] = (int) \$id[0];"; - $router .= "\n\t\t\t\$vars['view'] = '".$viewName."';"; - $router .= "\n\t\tbreak;"; - - return $router; - } - return ''; - - } - - protected function setComponentImageType($path) - { - $type = ComponentbuilderHelper::imageInfo($path); - if ($type) - { - $imagePath = $this->componentPath.'/admin/assets/images'; - // move the image to its place - JFile::copy(JPATH_SITE.'/'.$path, $imagePath.'/component-300.'.$type,'',true); - // now set the type to global for re-use - $this->componentImageType = $type; - // return image type - return $type; - } - $this->componentImageType = 'jpg'; - return 'jpg'; - } - - protected function setDashboardIconAccess() - { - if (isset($this->permissionDashboard) && ComponentbuilderHelper::checkArray($this->permissionDashboard)) - { - $this->permissionDashboard = array_unique($this->permissionDashboard); - return "\n\t\t//".$this->setLine(__LINE__)." view access array\n\t\t\$viewAccess = array(\n\t\t\t".implode(",\n\t\t\t",$this->permissionDashboard).");"; - } - return ''; - - } - - protected function setDashboardIcons() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $icons = ''; - $counter = 0; - $catArray = array(); - foreach ($this->componentData->admin_views as $view) - { - $name_single = ComponentbuilderHelper::safeString($view['settings']->name_single); - $name_list = ComponentbuilderHelper::safeString($view['settings']->name_list); - - $icons .= $this->addCustomDashboardIcons($view,$counter); - if ($view['dashboard_add'] == 1) - { - $type = ComponentbuilderHelper::imageInfo($view['settings']->icon_add); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$name_single.".add"] = $view['settings']->icon_add; - } - else - { - $type = 'png.'; - } - if ($counter == 0) - { - $icons .= "'".$type.$name_single.".add'"; - } - else - { - $icons .= ", '".$type.$name_single.".add'"; - } - // build lang - $langName = 'Add&nbsp;'.ComponentbuilderHelper::safeString($view['settings']->name_single, 'W').'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.ComponentbuilderHelper::safeString($view['settings']->name_single,'U').'_ADD'; - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - $counter++; - } - if ($view['dashboard_list'] == 1) - { - $type = ComponentbuilderHelper::imageInfo($view['settings']->icon); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$name_list] = $view['settings']->icon; - } - else - { - $type = 'png.'; - } - if ($counter == 0) - { - $icons .= "'".$type.$name_list."'"; - } - else - { - $icons .= ", '".$type.$name_list."'"; - } - // build lang - $langName = ComponentbuilderHelper::safeString($view['settings']->name_list, 'W').'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.ComponentbuilderHelper::safeString($view['settings']->name_list,'U'); - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - $counter++; - } - if (isset($this->categoryBuilder[$name_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$name_list])) - { - $catCode = $this->categoryBuilder[$name_list]['code']; - - // check if category has another name - if (isset($this->catOtherName[$name_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$name_list])) - { - $otherViews = $this->catOtherName[$name_list]['views']; - $otherNames = $this->catOtherName[$name_list]['name']; - // build lang - $langName = ComponentbuilderHelper::safeString($otherNames, 'W'); - } - else - { - $otherViews = $name_list; - // build lang - $langName = 'Catagory &nbsp;For<br />'.ComponentbuilderHelper::safeString($otherViews, 'W'); - } - if(!in_array($otherViews,$catArray)) - { - // add to lang - $langKey = $this->langPrefix.'_DASHBOARD_'.ComponentbuilderHelper::safeString($otherViews,'U').'_'.ComponentbuilderHelper::safeString($catCode,'U'); - $this->langContent[$this->lang][$langKey] = $langName; - // get image type - $type = ComponentbuilderHelper::imageInfo($view['settings']->icon_category); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$otherViews.".".$catCode] = $view['settings']->icon_category; - } - else - { - $type = 'png.'; - } - if ($counter == 0) - { - $icons .= "'".$type.$otherViews.".".$catCode."'"; - } - else - { - $icons .= ", '".$type.$otherViews.".".$catCode."'"; - } - $counter++; - // make sure we add a category only once - $catArray[] = $otherViews; - } - } - } - if (isset($this->lastCustomDashboardIcon) && ComponentbuilderHelper::checkArray($this->lastCustomDashboardIcon)) - { - foreach ($this->lastCustomDashboardIcon as $icon) - { - $icons .= $icon; - } - unset($this->lastCustomDashboardIcon); - } - if (isset($this->iconBuilder) && ComponentbuilderHelper::checkArray($this->iconBuilder)) - { - $imagePath = $this->componentPath.'/admin/assets/images/icons'; - foreach ($this->iconBuilder as $icon => $path) - { - $array_buket = explode('.', $icon); - if (count($array_buket) == 3) - { - list($type, $name, $action) = $array_buket; - } - else - { - list($type, $name) = $array_buket; - $action = false; - } - // set the new image name - if ($action) - { - $imageName = $name.'_'.$action.'.'.$type; - } - else - { - $imageName = $name.'.'.$type; - } - // move the image to its place - JFile::copy(JPATH_SITE.'/'.$path, $imagePath.'/'.$imageName,'',true); - } - } - return $icons; - } - return false; - } - - protected function setDashboardModelMethods() - { - if ($this->componentData->add_php_dashboard_methods) - { - // get all the mothods that should load date to the view - $this->DashboardGetCustomData = ComponentbuilderHelper::getAllBetween($this->componentData->php_dashboard_methods,'public function get','()'); - - // return the methods - return "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->componentData->php_dashboard_methods); - } - return ''; - } - - protected function setDashboardGetCustomData() - { - if (ComponentbuilderHelper::checkArray($this->DashboardGetCustomData)) - { - // gets array reset - $gets = array(); - // set dashboard gets - foreach($this->DashboardGetCustomData as $get) - { - $string = ComponentbuilderHelper::safeString($get); - $tabs = (\strlen($string) < 8) ? "\t\t\t" : (\strlen($string) < 16) ? "\t\t" : (\strlen($string) < 24) ? "\t" : ' '; - $gets[] = "\$this->".$string.$tabs."= \$this->get('".$get."');"; - } - // return the gets - return "\n\t\t".implode("\n\t\t",$gets); - } - return ''; - } - - protected function setDashboardDisplayData() - { - // display array reset - $display = array(); - $mainAccordianName = 'cPanel'; - $builder = array(); - $tab = "\t"; - $loadTabs = false; - // check if we have custom tabs - if ($this->componentData->add_php_dashboard_methods && ComponentbuilderHelper::checkArray($this->componentData->dashboard_tab)) - { - // build the tabs and accordians - foreach ($this->componentData->dashboard_tab as $data) - { - $builder[$data['name']][$data['header']] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$data['html']); - } - // since we have custom tabs we must load the tab structure around the cpanel - $display[] = '<div id="j-main-container" class="span12">'; - $display[] = "\t".'<div class="form-horizontal">'; - $display[] = "\t<?php echo JHtml::_('bootstrap.startTabSet', 'cpanel_tab', array('active' => 'cpanel')); ?>"; - $display[] = "\n\t\t<?php echo JHtml::_('bootstrap.addTab', 'cpanel_tab', 'cpanel', JText::_('cPanel', true)); ?>"; - $display[] = "\t\t".'<div class="row-fluid">'; - // set the tab to insure correct spacing - $tab = "\t\t\t"; - // change the name of the main tab - $mainAccordianName = 'Control Panel'; - $loadTabs = true; - } - else - { - $display[] = '<div id="j-main-container">'; - } - // set dashboard display - $display[] = $tab.'<div class="span9">'; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_left', array('active' => 'main')); ?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_left', '".$mainAccordianName."', 'main'); ?>"; - $display[] = $tab."\t\t\t<?php echo \$this->loadTemplate('main');?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.endSlide'); ?>"; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.endAccordion'); ?>"; - $display[] = $tab."</div>"; - $display[] = $tab.'<div class="span3">'; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_right', array('active' => 'vdm')); ?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_right', '".$this->fileContentStatic['###COMPANYNAME###']."', 'vdm'); ?>"; - $display[] = $tab."\t\t\t<?php echo \$this->loadTemplate('vdm');?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.endSlide'); ?>"; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.endAccordion'); ?>"; - $display[] = $tab."</div>"; - - if ($loadTabs) - { - $display[] = "\t\t</div>"; - $display[] = "\t\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - // load the new tabs - foreach($builder as $tabname => $accordians) - { - $alias = ComponentbuilderHelper::safeString($tabname); - $display[] = "\n\t\t<?php echo JHtml::_('bootstrap.addTab', 'cpanel_tab', '".$alias."', JText::_('".$tabname."', true)); ?>"; - $display[] = "\t\t".'<div class="row-fluid">'; - $display[] = $tab.'<div class="span12">'; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.startAccordion', '".$alias."_accordian', array('active' => 'one')); ?>"; - $slidecounter = 1; - foreach($accordians as $accordianname => $html) - { - $ac_alias = ComponentbuilderHelper::safeString($accordianname); - $counterName = ComponentbuilderHelper::safeString($slidecounter); - $tempName = $alias.'_'.$ac_alias; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.addSlide', '".$alias."_accordian', '".$accordianname."', '".$counterName."'); ?>"; - $display[] = $tab."\t\t\t<?php echo \$this->loadTemplate('".$tempName."');?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.endSlide'); ?>"; - $slidecounter++; - // build the template file - $target = array('custom_admin' => $this->fileContentStatic['###component###']); - $this->buildDynamique($target,'template',$tempName); - // set the file data - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // ###SITE_TEMPLATE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$this->fileContentStatic['###component###'].'_'.$tempName]['###CUSTOM_ADMIN_TEMPLATE_BODY###'] = "\n".$html; - // ###SITE_TEMPLATE_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$this->fileContentStatic['###component###'].'_'.$tempName]['###CUSTOM_ADMIN_TEMPLATE_CODE_BODY###'] = ''; - } - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.endAccordion'); ?>"; - $display[] = $tab."</div>"; - $display[] = "\t\t</div>"; - $display[] = "\t\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - } - - $display[] = "\n\t<?php echo JHtml::_('bootstrap.endTabSet'); ?>"; - $display[] = "\t</div>"; - } - $display[] = "</div>"; - // return the display - return "\n".implode("\n",$display); - } - - protected function addCustomDashboardIcons(&$view,&$counter) - { - // see if we should have custom menus - if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) - { - foreach ($this->componentData->custommenus as $nr => $menu) - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - if ($menu['dashboard_list'] == 1 && $view['adminview'] == $menu['before']) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - // TODO must look at adding custom links to icons aswell - return ''; - } - else - { - $type = ComponentbuilderHelper::imageInfo('images/'.$menu['icon']); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$nameList] = 'images/'.$menu['icon']; - } - else - { - $type = 'png.'; - } - // build lang - $langName = $menu['name'].'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.$nameUpper; - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - // set icon - if ($counter == 0) - { - $counter++; - return "'".$type.$nameList."'"; - } - else - { - $counter++; - return ", '".$type.$nameList."'"; - } - } - } - elseif($menu['dashboard_list'] == 1 && empty($menu['before'])) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - // TODO must look at adding custom links to icons aswell - return ''; - } - else - { - $type = ComponentbuilderHelper::imageInfo('images/'.$menu['icon']); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$nameList] = 'images/'.$menu['icon']; - } - else - { - $type = 'png.'; - } - // build lang - $langName = $menu['name'].'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.$nameUpper; - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - // set icon - $this->lastCustomDashboardIcon[$nr] = ", '".$type.$nameList."'"; - } - } - } - } - return ''; - } - - protected function setSubMenus() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $menus = ''; - // main lang prefix - $lang = $this->langPrefix.'_SUBMENU'; - // set the code name - $codeName = ComponentbuilderHelper::safeString($this->componentData->name_code); - // set dashboard - $menus .= "JHtmlSidebar::addEntry(JText::_('".$lang."_DASHBOARD'), 'index.php?option=com_".$codeName."&view=".$codeName."', \$submenu == '".$codeName."');"; - $this->langContent[$this->lang][$lang.'_DASHBOARD'] = 'Dashboard'; - $catArray = array(); - foreach ($this->componentData->admin_views as $view) - { - // set custom menu - $menus .= $this->addCustomSubMenu($view,$codeName,$lang); - if ($view['submenu'] == 1) - { - // setup access defaults - $tab = ""; - $nameSingle = ComponentbuilderHelper::safeString($view['settings']->name_single); - $coreLoad = false; - if (isset($this->permissionCore[$nameSingle])) - { - $core = $this->permissionCore[$nameSingle]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $menus .= "\n\t\tif (\$user->authorise('".$core['core.access']."', 'com_".$codeName."') && \$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $menus .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - $nameList = ComponentbuilderHelper::safeString($view['settings']->name_list); - $nameUpper = ComponentbuilderHelper::safeString($view['settings']->name_list, 'U'); - $menus .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), 'index.php?option=com_".$codeName."&view=".$nameList."', \$submenu == '".$nameList."');"; - $this->langContent[$this->lang][$lang."_".$nameUpper] = $view['settings']->name_list; - // check if category has another name - if (isset($this->catOtherName[$nameList]) && ComponentbuilderHelper::checkArray($this->catOtherName[$nameList])) - { - $otherViews = $this->catOtherName[$nameList]['views']; - } - else - { - $otherViews = $nameList; - } - if (isset($this->categoryBuilder[$nameList]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$nameList]) && !in_array($otherViews,$catArray)) - { - $menus .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$this->categoryBuilder[$nameList]['name']."'), 'index.php?option=com_categories&view=categories&extension=com_".$codeName.".".$otherViews."', \$submenu == 'categories.".$otherViews."');"; - // make sure we add a category only once - $catArray[] = $otherViews; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $menus .= "\n\t\t}"; - } - } - } - if (isset($this->lastCustomSubMenu) && ComponentbuilderHelper::checkArray($this->lastCustomSubMenu)) - { - foreach ($this->lastCustomSubMenu as $menu) - { - $menus .= $menu; - } - unset($this->lastCustomSubMenu); - } - return $menus; - } - return false; - } - - protected function addCustomSubMenu(&$view,&$codeName,&$lang) - { - // see if we should have custom menus - if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) - { - foreach ($this->componentData->custommenus as $nr => $menu) - { - if ($menu['submenu'] == 1 && $view['adminview'] == $menu['before']) - { - // setup access defaults - $tab = ""; - $nameSingle = ComponentbuilderHelper::safeString($menu['name']); - $coreLoad = false; - if (isset($this->permissionCore[$nameSingle])) - { - $core = $this->permissionCore[$nameSingle]; - $coreLoad = true; - } - $custom = ''; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $custom .= "\n\t\t//".$this->setLine(__LINE__)." Access control (".$core['core.access']." && ".$nameSingle.".submenu)."; - $custom .= "\n\t\tif (\$user->authorise('".$core['core.access']."', 'com_".$codeName."') && \$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $custom .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - else - { - $custom .= "\n\t\t//".$this->setLine(__LINE__)." Access control (".$nameSingle.".submenu)."; - $custom .= "\n\t\tif (\$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $custom .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $custom .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), '".$menu['link']."', \$submenu == '".$nameList."');"; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $custom .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), 'index.php?option=com_".$codeName."&view=".$nameList."', \$submenu == '".$nameList."');"; - } - // check if the item has permissions. - $custom .= "\n\t\t}"; - - return $custom; - } - elseif($menu['submenu'] == 1 && empty($menu['before'])) - { - // setup access defaults - $tab = ""; - $nameSingle = ComponentbuilderHelper::safeString($menu['name']); - $coreLoad = false; - if (isset($this->permissionCore[$nameSingle])) - { - $core = $this->permissionCore[$nameSingle]; - $coreLoad = true; - } - $this->lastCustomSubMenu[$nr] = ''; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $this->lastCustomSubMenu[$nr] .= "\n\t\tif (\$user->authorise('".$core['core.access']."', 'com_".$codeName."') && \$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $this->lastCustomSubMenu[$nr] .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - else - { - $this->lastCustomSubMenu[$nr] .= "\n\t\tif (\$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $this->lastCustomSubMenu[$nr] .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomSubMenu[$nr] .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), '".$menu['link']."', \$submenu == '".$nameList."');"; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomSubMenu[$nr] .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), 'index.php?option=com_".$codeName."&view=".$nameList."', \$submenu == '".$nameList."');"; - } - // check if the item has permissions. - $this->lastCustomSubMenu[$nr] .= "\n\t\t}"; - } - } - } - return ''; - - } - - protected function setMainMenus() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $menus = ''; - // main lang prefix - $lang = $this->langPrefix.'_MENU'; - // set the code name - $codeName = ComponentbuilderHelper::safeString($this->componentData->name_code); - // set main menu name to lang - $this->langContent['adminsys'][$lang] = '&#187; '.$this->componentData->name; - foreach ($this->componentData->admin_views as $view) - { - // set custom menu - $menus .= $this->addCustomMainMenu($view,$codeName,$lang); - if ($view['mainmenu'] == 1) - { - $nameList = ComponentbuilderHelper::safeString($view['settings']->name_list); - $nameUpper = ComponentbuilderHelper::safeString($view['settings']->name_list, 'U'); - $menus .= "\n\t\t\t".'<menu option="com_'.$codeName.'" view="'.$nameList.'">'.$lang.'_'.$nameUpper.'</menu>'; - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $view['settings']->name_list; - } - } - if (isset($this->lastCustomMainMenu) && ComponentbuilderHelper::checkArray($this->lastCustomMainMenu)) - { - foreach ($this->lastCustomMainMenu as $menu) - { - $menus .= $menu; - } - unset($this->lastCustomMainMenu); - } - return $menus; - } - return false; - } - - protected function addCustomMainMenu(&$view,&$codeName,&$lang) - { - // see if we should have custom menus - if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) - { - foreach ($this->componentData->custommenus as $nr => $menu) - { - if ($menu['mainmenu'] == 1 && $view['adminview'] == $menu['before']) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - return "\n\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>'; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - return "\n\t\t\t".'<menu option="com_'.$codeName.'" view="'.$nameList.'">'.$lang.'_'.$nameUpper.'</menu>'; - } - } - elseif($menu['mainmenu'] == 1 && empty($menu['before'])) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomMainMenu[$nr] = "\n\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>'; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomMainMenu[$nr] = "\n\t\t\t".'<menu option="com_'.$codeName.'" view="'.$nameList.'">'.$lang.'_'.$nameUpper.'</menu>'; - } - } - } - } - return ''; - - } - - protected function setConfigFieldsets($timer = 0) - { - // main lang prefix - $lang = $this->langPrefix.'_CONFIG'; - if (1 == $timer) // this is before the admin views are build - { - // start loading Global params - $autorName = ComponentbuilderHelper::htmlEscape($this->componentData->author); - $autorEmail = ComponentbuilderHelper::htmlEscape($this->componentData->email); - $this->paramsBuilder = '"autorName":"'.$autorName.'","autorEmail":"'.$autorEmail.'"'; - // set the custom fields - if (isset($this->componentData->config) && ComponentbuilderHelper::checkArray($this->componentData->config)) - { - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - $viewName = 'config'; - $listViewName = 'configs'; - $placeholders = array( - '###component###' => $component, - '###view###' => $viewName, - '###views###' => $listViewName); - $spacerCounter = 'a'; - $view = ''; - $viewType = 0; - // set the custom table key - $dbkey = 'g'; - foreach ($this->componentData->config as $field) - { - $xmlField = $this->setDynamicField($field, $view, $viewType, $lang, $viewName, $listViewName, $spacerCounter, $placeholders, $dbkey, false); - if (ComponentbuilderHelper::checkString($xmlField)) - { - $this->configFieldSetsCustomField[$field['tabname']][] = $xmlField; - // set global params to db on install - $fieldName = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xmlField,'name="','"')); - $fieldDefault = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xmlField,'default="','"')); - if (isset($field['custom_value']) && ComponentbuilderHelper::checkString($field['custom_value'])) - { - // load the Global checkin defautls - $this->paramsBuilder .= ',"'.$fieldName.'":"'.$field['custom_value'].'"'; - } - elseif (ComponentbuilderHelper::checkString($fieldDefault)) - { - // load the Global checkin defautls - $this->paramsBuilder .= ',"'.$fieldName.'":"'.$fieldDefault.'"'; - } - } - } - } - // first run we must set the globals - $this->setGlobalConfigFieldsets($lang,$autorName,$autorEmail); - $this->setSiteControlConfigFieldsets($lang); - - } - elseif (2 == $timer) // this is after the admin views are build - { - // these field sets can only be added after admin view is build - $this->setGroupControlConfigFieldsets($lang); - // these can be added anytime really (but looks best after groups - $this->setUikitConfigFieldsets($lang); - $this->setGooglechartConfigFieldsets($lang); - $this->setEncryptionConfigFieldsets($lang); - // these are the coustom settings - $this->setCustomControlConfigFieldsets($lang); - } - // we cad add more event (timers as we need) - } - - protected function setSiteControlConfigFieldsets($lang) - { - $front_end = array(); - // do quick build of front-end views - if (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views)) - { - // load the names only to link the page params - foreach ($this->componentData->site_views as $siteView) - { - // now load the view name to the front-end array - $front_end[] = $siteView['settings']->name; - } - } - - // add frontend view stuff including menus - if (isset($this->configFieldSetsCustomField) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField)) - { - foreach ($this->configFieldSetsCustomField as $tab => &$tabFields) - { - $tabCode = ComponentbuilderHelper::safeString($tab).'_custom_config'; - $tabUpper = ComponentbuilderHelper::safeString($tab,'U'); - $tabLower = ComponentbuilderHelper::safeString($tab); - // load the regust id setters for menu views - $viewRequest = 'name="'.$tabLower.'_request_id"'; - foreach($tabFields as $et => $id_field) - { - if(strpos($id_field,$viewRequest) !== false) - { - // set the values needed to insure route is done correclty - $this->hasIdRequest[$tabLower] = $id_field; - unset($tabFields[$et]); - } - elseif (strpos($id_field,'_request_id"') !== false) - { - // not loaded to a tab "view" name - $_viewRequest = ComponentbuilderHelper::getBetween($id_field,'name="','_request_id"'); - // set the values needed to insure route is done correclty - $this->hasIdRequest[$_viewRequest] = $id_field; - unset($tabFields[$et]); - } - } - // load the global menu setters for single fields - $menuSetter = $tabLower.'_menu'; - $pageSettings = array(); - foreach($tabFields as $ct => $field) - { - if(strpos($field,$menuSetter) !== false) - { - // set the values needed to insure route is done correclty - $this->hasMenuGlobal[$tabLower] = $menuSetter; - } - elseif (strpos($field,'_menu"') !== false) - { - // not loaded to a tab "view" name - $_tabLower = ComponentbuilderHelper::getBetween($field,'name="','_menu"'); - // set the values needed to insure route is done correclty - $this->hasMenuGlobal[$_tabLower] = $_tabLower.'_menu'; - } - else - { - $pageSettings[$ct] = $field; - } - } - // insure we load the needed params - if (in_array($tab,$front_end)) - { - $this->frontEndParams[$tab] = $pageSettings; - } - } - } - } - - protected function setCustomControlConfigFieldsets($lang) - { - // add custom new global fields set - if (isset($this->configFieldSetsCustomField) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField)) - { - foreach ($this->configFieldSetsCustomField as $tab => $tabFields) - { - $tabCode = ComponentbuilderHelper::safeString($tab).'_custom_config'; - $tabUpper = ComponentbuilderHelper::safeString($tab,'U'); - $tabLower = ComponentbuilderHelper::safeString($tab); - // setup lang - $this->langContent[$this->lang][$lang.'_'.$tabUpper] = $tab; - // start field set - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="'.$tabCode.'"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_'.$tabUpper.'">'; - // set the fields - $this->configFieldSets[] = implode("\t\t",$tabFields); - // close field set - $this->configFieldSets[] = "\t</fieldset>"; - // remove after loading - unset($this->configFieldSetsCustomField[$tab]); - } - } - } - - protected function setGroupControlConfigFieldsets($lang) - { - // start loading Group control params if needed - if (isset($this->setGroupControl) && ComponentbuilderHelper::checkArray($this->setGroupControl)) - { - // start building field set for config - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="group_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_GROUPS_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_GROUPS_DESC">'; - // setup lang - $this->langContent[$this->lang][$lang.'_GROUPS_LABEL'] = "Target Groups"; - $this->langContent[$this->lang][$lang.'_GROUPS_DESC'] = "The Parameters for the targeted groups are set here."; - $this->langContent[$this->lang][$lang.'_TARGET_GROUP_DESC'] = "Set the group/s being targeted by this user type."; - - foreach ($this->setGroupControl as $selector => $label) - { - $this->configFieldSets[] = "\t\t".'<field name="'.$selector.'"'; - $this->configFieldSets[] = "\t\t\t".'type="usergroup"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$label.'"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_TARGET_GROUP_DESC"'; - $this->configFieldSets[] = "\t\t\t".'multiple="true"'; - $this->configFieldSets[] = "\t\t/>"; - // set params defaults - $this->paramsBuilder .= ',"'.$selector.'":["2"]'; - } - // add custom Target Groups fields - if (isset($this->configFieldSetsCustomField['Target Groups']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Target Groups'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Target Groups']); - unset($this->configFieldSetsCustomField['Target Groups']); - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - } - - protected function setGlobalConfigFieldsets($lang,$autorName,$autorEmail) - { - // start building field set for config - $this->configFieldSets[] = '<fieldset'; - $this->configFieldSets[] = "\t\t".'name="global_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_GLOBAL_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_GLOBAL_DESC">'; - // set application update License Key - if ($this->componentData->add_license && 1 != $this->componentData->license_type) - { - // set licence type switch - switch ($this->componentData->license_type) - { - case 2: - // for updates - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_LABEL']= "Your License Key"; - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_DESC'] = "To get updates you must add the license key here that you recieved from ".$this->componentData->companyname; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="license_key_note" class="alert alert-info" label="'.$lang.'_LICENSE_KEY_NOTE_LABEL" description="'.$lang.'_LICENSE_KEY_NOTE_DESC" />'; - break; - case 3: - // with vdm to lock down ownership - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_LABEL']= "Your License Key"; - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_DESC'] = "To use this component you must add the license key here that you recieved from ".$this->componentData->companyname; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="license_key_note" class="alert alert-info" label="'.$lang.'_LICENSE_KEY_NOTE_LABEL" description="'.$lang.'_LICENSE_KEY_NOTE_DESC" />'; - break; - } - // setup lang - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_LABEL'] = "License Key"; - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_DESC'] = "Add your license key here."; - // add the field - $this->configFieldSets[] = "\t\t".'<field name="license_key"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_LICENSE_KEY_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_LICENSE_KEY_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerLicense" hr="true" />'; - } - // setup lang - $this->langContent[$this->lang][$lang.'_GLOBAL_LABEL'] = "Global"; - $this->langContent[$this->lang][$lang.'_GLOBAL_DESC'] = "The Global Parameters"; - // add auto checin if required - if ($this->addCheckin) - { - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\t".'name="check_in"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_CHECK_TIMER_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_CHECK_TIMER_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-5 hours">'.$lang.'_CHECK_TIMER_OPTION_ONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-12 hours">'.$lang.'_CHECK_TIMER_OPTION_TWO</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-1 day">'.$lang.'_CHECK_TIMER_OPTION_THREE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-2 day">'.$lang.'_CHECK_TIMER_OPTION_FOUR</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-1 week">'.$lang.'_CHECK_TIMER_OPTION_FIVE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="0">'.$lang.'_CHECK_TIMER_OPTION_SIX</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerAuthor" hr="true" />'; - // setup lang - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_LABEL'] = "Check in timer"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_DESC'] = "Set the intervals for the auto checkin fuction of tables that checks out the items to an user."; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_ONE'] = "Every five hours"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_TWO'] = "Every twelve hours"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_THREE'] = "Once a day"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_FOUR'] = "Every second day"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_FIVE'] = "Once a week"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_SIX'] = "Never"; - // load the Global checkin defautls - $this->paramsBuilder .= ',"check_in":"-1 day"'; - } - // set history control - if ($this->setTagHistory) - { - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\t".'name="save_history"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="JGLOBAL_SAVE_HISTORY_OPTIONS_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="JGLOBAL_SAVE_HISTORY_OPTIONS_DESC"'; - $this->configFieldSets[] = "\t\t\t>"; - $this->configFieldSets[] = "\t\t\t".'<option value="1">JYES</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">JNO</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\t".'name="history_limit"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'filter="integer"'; - $this->configFieldSets[] = "\t\t\t".'label="JGLOBAL_HISTORY_LIMIT_OPTIONS_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="JGLOBAL_HISTORY_LIMIT_OPTIONS_DESC"'; - $this->configFieldSets[] = "\t\t\t".'default="10"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerHistory" hr="true" />'; - // load the Global checkin defautls - $this->paramsBuilder .= ',"save_history":"1","history_limit":"10"'; - } - // add custom global fields - if (isset($this->configFieldSetsCustomField['Global']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Global'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Global']); - unset($this->configFieldSetsCustomField['Global']); - } - // set the author details - $this->configFieldSets[] = "\t\t".'<field name="autorTitle"'; - $this->configFieldSets[] = "\t\t\t".'type="spacer"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_AUTHOR"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="autorName"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_AUTHOR_NAME_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_AUTHOR_NAME_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$autorName.'"'; - $this->configFieldSets[] = "\t\t\t".'readonly="true"'; - $this->configFieldSets[] = "\t\t\t".'class="readonly"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="autorEmail"'; - $this->configFieldSets[] = "\t\t\t".'type="email"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_AUTHOR_EMAIL_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_AUTHOR_EMAIL_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$autorEmail.'"'; - $this->configFieldSets[] = "\t\t\t".'readonly="true"'; - $this->configFieldSets[] = "\t\t\t".'class="readonly"'; - $this->configFieldSets[] = "\t\t/>"; - // setup lang - $this->langContent[$this->lang][$lang.'_AUTHOR'] = "Author Info"; - $this->langContent[$this->lang][$lang.'_AUTHOR_NAME_LABEL'] = "Author Name"; - $this->langContent[$this->lang][$lang.'_AUTHOR_NAME_DESC'] = "The name of the author of this component."; - $this->langContent[$this->lang][$lang.'_AUTHOR_EMAIL_LABEL'] = "Author Email"; - $this->langContent[$this->lang][$lang.'_AUTHOR_EMAIL_DESC'] = "The email address of the author of this component."; - // set if contributors were added - $langCont = $lang.'_CONTRIBUTOR'; - if (isset($this->addContributors) && $this->addContributors && isset($this->componentData->contributors) && ComponentbuilderHelper::checkArray($this->componentData->contributors)) - { - foreach ($this->componentData->contributors as $counter => $contributor) - { - // make sure we dont use 0 - $counter++; - // get the word for this number - $COUNTER = ComponentbuilderHelper::safeString($counter,'U'); - // set the dynamic values - $cbTitle = htmlspecialchars($contributor['title'], ENT_XML1, 'UTF-8'); - $cbName = htmlspecialchars($contributor['name'], ENT_XML1, 'UTF-8'); - $cbEmail = htmlspecialchars($contributor['email'], ENT_XML1, 'UTF-8'); - $cbWebsite = htmlspecialchars($contributor['website'], ENT_XML1, 'UTF-8'); // ComponentbuilderHelper::htmlEscape($contributor['website']); - // load to the $fieldsets - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerContributor'.$counter.'" hr="true" />'; - $this->configFieldSets[] = "\t\t".'<field name="contributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="spacer"'; - $this->configFieldSets[] = "\t\t\t".'class="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_'.$COUNTER.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="titleContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_TITLE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_TITLE_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbTitle.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="nameContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_NAME_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_NAME_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbName.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="emailContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="email"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_EMAIL_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_EMAIL_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbEmail.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="linkContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="url"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_LINK_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_LINK_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbWebsite.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="useContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="'.(int) $contributor['use'].'"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_USE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_USE_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_USE_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_USE_EMAIL</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_USE_WWW</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t".'<field name="showContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="'.(int) $contributor['show'].'"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_SHOW_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_SHOW_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_SHOW_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_SHOW_BACK</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_SHOW_FRONT</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="3">'.$langCont.'_SHOW_ALL</option>'; - $this->configFieldSets[] = "\t\t</field>"; - // add the contributor - $this->theContributors .= "\n\t@".strtolower($contributor['title'])."\t\t".$contributor['name'].' <'.$contributor['website'].'>'; - // setup lang - $Counter = ComponentbuilderHelper::safeString($counter,'Ww'); - $this->langContent[$this->lang][$langCont.'_'.$COUNTER] = "Contributor ".$Counter; - // load the Global checkin defautls - $this->paramsBuilder .= ',"titleContributor'.$counter.'":"'.$cbTitle.'"'; - $this->paramsBuilder .= ',"nameContributor'.$counter.'":"'.$cbName.'"'; - $this->paramsBuilder .= ',"emailContributor'.$counter.'":"'.$cbEmail.'"'; - $this->paramsBuilder .= ',"linkContributor'.$counter.'":"'.$cbWebsite.'"'; - $this->paramsBuilder .= ',"useContributor'.$counter.'":"'.(int) $contributor['use'].'"'; - $this->paramsBuilder .= ',"showContributor'.$counter.'":"'.(int) $contributor['show'].'"'; - } - } - // add more contributors if required - if (1 == $this->componentData->emptycontributors) - { - if (isset($counter)){ - $min = $counter + 1; - unset($counter); - } - else - { - $min = 1; - } - $max = $min + $this->componentData->number - 1; - $moreContributerFields = range($min,$max, 1); - foreach ($moreContributerFields as $counter) - { - $COUNTER = ComponentbuilderHelper::safeString($counter,'U'); - - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerContributor'.$counter.'" hr="true" />'; - $this->configFieldSets[] = "\t\t".'<field name="contributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="spacer"'; - $this->configFieldSets[] = "\t\t\t".'class="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_'.$COUNTER.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="titleContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_TITLE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_TITLE_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="nameContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_NAME_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_NAME_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="emailContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="email"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_EMAIL_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_EMAIL_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="linkContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="url"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_LINK_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_LINK_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="useContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_USE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_USE_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_USE_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_USE_EMAIL</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_USE_WWW</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t".'<field name="showContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_SHOW_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_SHOW_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_SHOW_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_SHOW_BACK</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_SHOW_FRONT</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="3">'.$langCont.'_SHOW_ALL</option>'; - $this->configFieldSets[] = "\t\t</field>"; - // setup lang - $Counter = ComponentbuilderHelper::safeString($counter,'Ww'); - $this->langContent[$this->lang][$langCont.'_'.$COUNTER] = "Contributor ".$Counter; - } - } - if ($this->addContributors || $this->componentData->emptycontributors == 1) - { - // setup lang - $this->langContent[$this->lang][$langCont.'_TITLE_LABEL'] = "Contributor Job Title"; - $this->langContent[$this->lang][$langCont.'_TITLE_DESC'] = "The job title that best describes the contributor's relationship to this component."; - $this->langContent[$this->lang][$langCont.'_NAME_LABEL'] = "Contributor Name"; - $this->langContent[$this->lang][$langCont.'_NAME_DESC'] = "The name of this contributor."; - $this->langContent[$this->lang][$langCont.'_EMAIL_LABEL'] = "Contributor Email"; - $this->langContent[$this->lang][$langCont.'_EMAIL_DESC'] = "The email of this contributor."; - $this->langContent[$this->lang][$langCont.'_LINK_LABEL'] = "Contributor Website"; - $this->langContent[$this->lang][$langCont.'_LINK_DESC'] = "The link to this contributor's website."; - $this->langContent[$this->lang][$langCont.'_USE_LABEL'] = "Use"; - $this->langContent[$this->lang][$langCont.'_USE_DESC'] = "How should we link to this contributor."; - $this->langContent[$this->lang][$langCont.'_USE_NONE'] = "None"; - $this->langContent[$this->lang][$langCont.'_USE_EMAIL'] = "Email"; - $this->langContent[$this->lang][$langCont.'_USE_WWW'] = "Website"; - $this->langContent[$this->lang][$langCont.'_SHOW_LABEL'] = "Show"; - $this->langContent[$this->lang][$langCont.'_SHOW_DESC'] = "Select where you want this contributor's details to show in the component."; - $this->langContent[$this->lang][$langCont.'_SHOW_NONE'] = "Hide"; - $this->langContent[$this->lang][$langCont.'_SHOW_BACK'] = "Back-end"; - $this->langContent[$this->lang][$langCont.'_SHOW_FRONT'] = "Front-end"; - $this->langContent[$this->lang][$langCont.'_SHOW_ALL'] = "Both Front & Back-end"; - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - - protected function setUikitConfigFieldsets($lang) - { - if ($this->uikit) - { - // main lang prefix - $lang = $lang.''; - // start building field set for uikit functions - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="uikit_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_UIKIT_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_UIKIT_DESC">'; - // set tab lang - $this->langContent[$this->lang][$lang.'_UIKIT_LABEL'] = "Uikit Settings"; - $this->langContent[$this->lang][$lang.'_UIKIT_DESC'] = "<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework -for developing fast and powerful web interfaces. For more info visit <a href=\"http://getuikit.com/\" >http://getuikit.com/</a>"; - - // set field lang - $this->langContent[$this->lang][$lang.'_UIKIT_LOAD_LABEL'] = "Loading Options"; - $this->langContent[$this->lang][$lang.'_UIKIT_LOAD_DESC'] = "Set the uikit loading option."; - $this->langContent[$this->lang][$lang.'_AUTO_LOAD'] = "Auto"; - $this->langContent[$this->lang][$lang.'_FORCE_LOAD'] = "Force"; - $this->langContent[$this->lang][$lang.'_DONT_LOAD'] = "Not"; - $this->langContent[$this->lang][$lang.'_ONLY_EXTRA'] = "Only Extra"; - // set the field - $this->configFieldSets[] = "\t\t".'<field name="uikit_load"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_UIKIT_LOAD_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_UIKIT_LOAD_DESC"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="">'; - $this->configFieldSets[] = "\t\t\t".'<!--'.$this->setLine(__LINE__).' Option Set. -->'; - $this->configFieldSets[] = "\t\t\t".'<option value="">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_AUTO_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_FORCE_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value="3">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_ONLY_EXTRA</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_DONT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t</field>"; - // set params defaults - $this->paramsBuilder .= ',"uikit_load":"1"'; - - // set field lang - $this->langContent[$this->lang][$lang.'_UIKIT_MIN_LABEL'] = "Load Minified"; - $this->langContent[$this->lang][$lang.'_UIKIT_MIN_DESC'] = "Should the minified version of uikit files be loaded?"; - $this->langContent[$this->lang][$lang.'_YES'] = "Yes"; - $this->langContent[$this->lang][$lang.'_NO'] = "No"; - // set the field - $this->configFieldSets[] = "\t\t".'<field name="uikit_min"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_UIKIT_MIN_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_UIKIT_MIN_DESC"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="">'; - $this->configFieldSets[] = "\t\t\t".'<!--'.$this->setLine(__LINE__).' Option Set. -->'; - $this->configFieldSets[] = "\t\t\t".'<option value="">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_NO</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value=".min">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_YES</option>"'; - $this->configFieldSets[] = "\t\t</field>"; - // set params defaults - $this->paramsBuilder .= ',"uikit_min":""'; - // set field lang - $this->langContent[$this->lang][$lang.'_UIKIT_STYLE_LABEL'] = "css Style"; - $this->langContent[$this->lang][$lang.'_UIKIT_STYLE_DESC'] = "Set the css style that should be used."; - $this->langContent[$this->lang][$lang.'_FLAT_LOAD'] = "Flat"; - $this->langContent[$this->lang][$lang.'_ALMOST_FLAT_LOAD'] = "Almost Flat"; - $this->langContent[$this->lang][$lang.'_GRADIANT_LOAD'] = "Gradient"; - // set the field - $this->configFieldSets[] = "\t\t".'<field name="uikit_style"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_UIKIT_STYLE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_UIKIT_STYLE_DESC"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="">'; - $this->configFieldSets[] = "\t\t\t".'<!--'.$this->setLine(__LINE__).' Option Set. -->'; - $this->configFieldSets[] = "\t\t\t".'<option value="">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_FLAT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value=".almost-flat">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_ALMOST_FLAT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value=".gradient">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_GRADIANT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t</field>"; - // set params defaults - $this->paramsBuilder .= ',"uikit_style":""'; - // add custom Uikit Settings fields - if (isset($this->configFieldSetsCustomField['Uikit Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Uikit Settings'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Uikit Settings']); - unset($this->configFieldSetsCustomField['Uikit Settings']); - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - - } - - protected function setGooglechartConfigFieldsets($lang) - { - if ($this->googlechart) - { - $this->configFieldSets[] = "\n\t<fieldset"; - $this->configFieldSets[] = "\t\tname=\"googlechart_config\""; - $this->configFieldSets[] = "\t\tlabel=\"".$lang."_CHART_SETTINGS_LABEL\""; - $this->configFieldSets[] = "\t\tdescription=\"".$lang."_CHART_SETTINGS_DESC\">"; - $this->configFieldSets[] = "\t\t"; - $this->configFieldSets[] = "\t\t<field type=\"note\" name=\"chart_admin_naote\" class=\"alert alert-info\" label=\"".$lang."_ADMIN_CHART_NOTE_LABEL\" description=\"".$lang."_ADMIN_CHART_NOTE_DESC\" />"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartbackground Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartbackground\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#F7F7FA\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTBACKGROUND_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTBACKGROUND_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_mainwidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_mainwidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_MAINWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_MAINWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add area width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_MAINWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_a Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_a\" hr=\"true\" class=\"spacer_chartadmin_hr_a\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartareatop Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartareatop\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREATOP_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREATOP_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add top spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREATOP_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartarealeft Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartarealeft\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREALEFT_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREALEFT_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add left spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREALEFT_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartareawidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartareawidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREAWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREAWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add chart width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREAWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_b Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_b\" hr=\"true\" class=\"spacer_chartadmin_hr_b\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_legendtextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_legendtextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_legendtextstylefontsize Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_legendtextstylefontsize\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add size of the legend here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_c Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_c\" hr=\"true\" class=\"spacer_chartadmin_hr_c\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_vaxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_vaxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_d Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_d\" hr=\"true\" class=\"spacer_chartadmin_hr_d\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_haxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_haxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_haxistitletextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_haxistitletextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t"; - $this->configFieldSets[] = "\t\t<field type=\"note\" name=\"chart_site_note\" class=\"alert alert-info\" label=\"".$lang."_SITE_CHART_NOTE_LABEL\" description=\"".$lang."_SITE_CHART_NOTE_DESC\" />"; - $this->configFieldSets[] = "\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartbackground Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartbackground\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#F7F7FA\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTBACKGROUND_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTBACKGROUND_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_mainwidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_mainwidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_MAINWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_MAINWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add area width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_MAINWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_a Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_a\" hr=\"true\" class=\"spacer_chartsite_hr_a\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartareatop Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartareatop\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREATOP_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREATOP_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add top spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREATOP_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartarealeft Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartarealeft\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREALEFT_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREALEFT_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add left spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREALEFT_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartareawidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartareawidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREAWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREAWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add chart width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREAWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_b Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_b\" hr=\"true\" class=\"spacer_chartsite_hr_b\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_legendtextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_legendtextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_legendtextstylefontsize Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_legendtextstylefontsize\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add size of the legend here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_c Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_c\" hr=\"true\" class=\"spacer_chartsite_hr_c\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_vaxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_vaxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_d Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_d\" hr=\"true\" class=\"spacer_chartsite_hr_d\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_haxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_haxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_haxistitletextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_haxistitletextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>"; - - // add custom Encryption Settings fields - if (isset($this->configFieldSetsCustomField['Chart Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Chart Settings'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Chart Settings']); - unset($this->configFieldSetsCustomField['Chart Settings']); - } - - $this->configFieldSets[] = "\t</fieldset>"; - - // set params defaults - $this->paramsBuilder .= ',"admin_chartbackground":"#F7F7FA","admin_mainwidth":"1000","admin_chartareatop":"20","admin_chartarealeft":"20","admin_chartareawidth":"170","admin_legendtextstylefontcolor":"10","admin_legendtextstylefontsize":"20","admin_vaxistextstylefontcolor":"#63B1F2","admin_haxistextstylefontcolor":"#63B1F2","admin_haxistitletextstylefontcolor":"#63B1F2","site_chartbackground":"#F7F7FA","site_mainwidth":"1000","site_chartareatop":"20","site_chartarealeft":"20","site_chartareawidth":"170","site_legendtextstylefontcolor":"10","site_legendtextstylefontsize":"20","site_vaxistextstylefontcolor":"#63B1F2","site_haxistextstylefontcolor":"#63B1F2","site_haxistitletextstylefontcolor":"#63B1F2"'; - - // set field lang - $this->langContent[$this->lang][$lang.'_CHART_SETTINGS_LABEL'] = "Chart Settings"; - $this->langContent[$this->lang][$lang.'_CHART_SETTINGS_DESC'] = "The Google Chart Display Settings Are Made Here."; - $this->langContent[$this->lang][$lang.'_ADMIN_CHART_NOTE_LABEL'] = "Admin Settings"; - $this->langContent[$this->lang][$lang.'_ADMIN_CHART_NOTE_DESC'] = "The following settings are used on the back-end of the site called (admin)."; - $this->langContent[$this->lang][$lang.'_SITE_CHART_NOTE_LABEL'] = "Site Settings"; - $this->langContent[$this->lang][$lang.'_SITE_CHART_NOTE_DESC'] = "The following settings are used on the front-end of the site called (site)."; - - $this->langContent[$this->lang][$lang.'_CHARTAREALEFT_DESC'] = "Set in pixels the spacing from the left of the chart area to the beginning of the chart it self. Please don't add the px sign"; - $this->langContent[$this->lang][$lang.'_CHARTAREALEFT_HINT'] = "170"; - $this->langContent[$this->lang][$lang.'_CHARTAREALEFT_LABEL'] = "Left Spacing"; - $this->langContent[$this->lang][$lang.'_CHARTAREATOP_DESC'] = "Set in pixels the spacing from the top of the chart area to the beginning of the chart it self. Please don't add the px sign"; - $this->langContent[$this->lang][$lang.'_CHARTAREATOP_HINT'] = "20"; - $this->langContent[$this->lang][$lang.'_CHARTAREATOP_LABEL'] = "Top Spacing"; - $this->langContent[$this->lang][$lang.'_CHARTAREAWIDTH_DESC'] = "Set in % the width of the chart it self inside the chart area. Please don't add the % sign"; - $this->langContent[$this->lang][$lang.'_CHARTAREAWIDTH_HINT'] = "60"; - $this->langContent[$this->lang][$lang.'_CHARTAREAWIDTH_LABEL'] = "Chart Width"; - $this->langContent[$this->lang][$lang.'_CHARTBACKGROUND_DESC'] = "Select the chart background color here."; - $this->langContent[$this->lang][$lang.'_CHARTBACKGROUND_LABEL'] = "Chart Background"; - $this->langContent[$this->lang][$lang.'_HAXISTEXTSTYLEFONTCOLOR_DESC'] = "Select the horizontal axis font color."; - $this->langContent[$this->lang][$lang.'_HAXISTEXTSTYLEFONTCOLOR_LABEL'] = "hAxis Font Color"; - $this->langContent[$this->lang][$lang.'_HAXISTITLETEXTSTYLEFONTCOLOR_DESC'] = "Select the horizontal axis title's font color."; - $this->langContent[$this->lang][$lang.'_HAXISTITLETEXTSTYLEFONTCOLOR_LABEL'] = "hAxis Title Font Color"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTCOLOR_DESC'] = "Select the legend font color."; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTCOLOR_LABEL'] = "Legend Font Color"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTSIZE_DESC'] = "Set in pixels the font size of the legend"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTSIZE_HINT'] = "10"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTSIZE_LABEL'] = "Legend Font Size"; - $this->langContent[$this->lang][$lang.'_MAINWIDTH_DESC'] = "Set the width of the entire chart area"; - $this->langContent[$this->lang][$lang.'_MAINWIDTH_HINT'] = "1000"; - $this->langContent[$this->lang][$lang.'_MAINWIDTH_LABEL'] = "Chart Area Width"; - $this->langContent[$this->lang][$lang.'_VAXISTEXTSTYLEFONTCOLOR_DESC'] = "Select the vertical axis font color."; - $this->langContent[$this->lang][$lang.'_VAXISTEXTSTYLEFONTCOLOR_LABEL'] = "vAxis Font Color"; - } - } - - protected function setEncryptionConfigFieldsets($lang) - { - // Add encryption if needed - if ((isset($this->basicEncryption) && $this->basicEncryption) || (isset($this->advancedEncryption) && $this->advancedEncryption)) - { - // start building field set for uikit functions - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="encryption_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_ENCRYPTION_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_ENCRYPTION_DESC">'; - // set tab lang - $this->langContent[$this->lang][$lang.'_ENCRYPTION_LABEL'] = "Encryption Settings"; - $this->langContent[$this->lang][$lang.'_ENCRYPTION_DESC'] = "The encription key for the field encryption is set here."; - - if (isset($this->basicEncryption) && $this->basicEncryption) - { - // set field lang - $this->langContent[$this->lang][$lang.'_BASIC_KEY_LABEL'] = "Basic Key <small>(basic encryption)</small>"; - $this->langContent[$this->lang][$lang.'_BASIC_KEY_DESC'] = "Set the basic local key here."; - $this->langContent[$this->lang][$lang.'_BASIC_KEY_NOTE_LABEL'] = "Basic Encryption"; - $this->langContent[$this->lang][$lang.'_BASIC_KEY_NOTE_DESC'] = "When using the basic encryption please use a 32 character passphrase.<br />Never change this passphrase once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>"; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="basic_key_note" class="alert alert-info" label="'.$lang.'_BASIC_KEY_NOTE_LABEL" description="'.$lang.'_BASIC_KEY_NOTE_DESC" />'; - $this->configFieldSets[] = "\t\t".'<field name="basic_key"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_BASIC_KEY_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_BASIC_KEY_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - } - - if (isset($this->advancedEncryption) && $this->advancedEncryption) - { - // set field lang - $this->langContent[$this->lang][$lang.'_VDM_KEY_LABEL'] = "Advanced Key <small>(advanced encryption)</small>"; - $this->langContent[$this->lang][$lang.'_VDM_KEY_DESC'] = "Add the advanced key here."; - $this->langContent[$this->lang][$lang.'_VDM_KEY_NOTE_LABEL'] = "Advanced Encryption"; - $this->langContent[$this->lang][$lang.'_VDM_KEY_NOTE_DESC'] = "When using the advanced encryption you need to get an advanced key from ".$this->componentData->companyname.".<br />Never change this advanced key once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>"; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="vdm_key_note" class="alert alert-info" label="'.$lang.'_VDM_KEY_NOTE_LABEL" description="'.$lang.'_VDM_KEY_NOTE_DESC" />'; - $this->configFieldSets[] = "\t\t".'<field name="advanced_key"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_VDM_KEY_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_VDM_KEY_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - } - // add custom Encryption Settings fields - if (isset($this->configFieldSetsCustomField['Encryption Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Encryption Settings'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Encryption Settings']); - unset($this->configFieldSetsCustomField['Encryption Settings']); - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - } - - protected function setAccessSectionsCategory($viewName_single, $viewName_list) - { - $component = ''; - // check if view has category - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $otherViews = $this->catCodeBuilder[$viewName_single]['views']; - if ($otherViews == $viewName_list) - { - $component .= "\n\t".'<section name="category.'.$otherViews.'">'; - $component .= "\n\t\t".'<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />'; - $component .= "\n\t\t".'<action name="core.delete" title="JACTION_DELETE" description="COM_CATEGORIES_ACCESS_DELETE_DESC" />'; - $component .= "\n\t\t".'<action name="core.edit" title="JACTION_EDIT" description="COM_CATEGORIES_ACCESS_EDIT_DESC" />'; - $component .= "\n\t\t".'<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CATEGORIES_ACCESS_EDITSTATE_DESC" />'; - $component .= "\n\t\t".'<action name="core.edit.own" title="JACTION_EDITOWN" description="COM_CATEGORIES_ACCESS_EDITOWN_DESC" />'; - $component .= "\n\t</section>"; - } - } - return $component; - } - - protected function setAccessSections() - { - // set the default component access values - $componentHead = array(); - $componentHead[] = '<section name="component">'; - $componentHead[] = "\t\t".'<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.options" title="JACTION_OPTIONS" description="JACTION_OPTIONS_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />'; - if ($this->addEximport) - { - $exportTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Export Data','U'); - $exportDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Export Data','U').'_DESC'; - $this->langContent['admin'][$exportTitle] = 'Export Data'; - $this->langContent['admin'][$exportDesc] = ' Allows users in this group to export data.'; - $componentHead[] = "\t\t".'<action name="core.export" title="'.$exportTitle.'" description="'.$exportDesc.'" />'; - - $importTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Import Data','U'); - $importDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Import Data','U').'_DESC'; - $this->langContent['admin'][$importTitle] = 'Import Data'; - $this->langContent['admin'][$importDesc] = ' Allows users in this group to import data.'; - $componentHead[] = "\t\t".'<action name="core.import" title="'.$importTitle.'" description="'.$importDesc.'" />'; - } - // version permission - $batchTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Use Batch','U'); - $batchDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Use Batch','U').'_DESC'; - $this->langContent['admin'][$batchTitle] = 'Use Batch'; - $this->langContent['admin'][$batchDesc] = ' Allows users in this group to use batch copy/update method.'; - $componentHead[] = "\t\t".'<action name="core.batch" title="'.$batchTitle.'" description="'.$batchDesc.'" />'; - // version permission - $importTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Versions','U'); - $importDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Versions','U').'_DESC'; - $this->langContent['admin'][$importTitle] = 'Edit Version'; - $this->langContent['admin'][$importDesc] = ' Allows users in this group to edit versions.'; - $componentHead[] = "\t\t".'<action name="core.version" title="'.$importTitle.'" description="'.$importDesc.'" />'; - // set the defaults - $componentHead[] = "\t\t".'<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_ACCESS_EDITSTATE_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />'; - // new custom created by permissions - $created_byTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created By','U'); - $created_byDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created By','U').'_DESC'; - $this->langContent['admin'][$created_byTitle] = 'Edit Created By'; - $this->langContent['admin'][$created_byDesc] = ' Allows users in this group to edit created by.'; - $componentHead[] = "\t\t".'<action name="core.edit.created_by" title="'.$created_byTitle.'" description="'.$created_byDesc.'" />'; - // new custom created date permissions - $createdTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created Date','U'); - $createdDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created Date','U').'_DESC'; - $this->langContent['admin'][$createdTitle] = 'Edit Created Date'; - $this->langContent['admin'][$createdDesc] = ' Allows users in this group to edit created date.'; - $componentHead[] = "\t\t".'<action name="core.edit.created" title="'.$createdTitle.'" description="'.$createdDesc.'" />'; - // setup the view array - $views = array(); - $componentGlobal = array(); - // set the menu controller lookup - $menuControllers = array('submenu','dashboard_list','dashboard_add'); - // set the custom admin views permissions - if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) - { - foreach ($this->componentData->custom_admin_views as $custom_admin_view) - { - // new custom permissions to access this view - $customAdminName = $custom_admin_view['settings']->name; - $customAdminCode = $custom_admin_view['settings']->code; - $customAdminTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' Access','U'); - $customAdminDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' Access','U').'_DESC'; - $sortKey = ComponentbuilderHelper::safeString($customAdminName.' Access'); - $this->langContent['admin'][$customAdminTitle] = $customAdminName.' Access'; - $this->langContent['admin'][$customAdminDesc] = ' Allows the users in this group to access '.ComponentbuilderHelper::safeString($customAdminName,'w').'.'; - $componentGlobal[$sortKey] = "\t\t".'<action name="'.$customAdminCode.'.access" title="'.$customAdminTitle.'" description="'.$customAdminDesc.'" />'; - // add the custom permissions to use the buttons of this view - if (ComponentbuilderHelper::checkArray($custom_admin_view['settings']->custom_buttons)) - { - foreach ($custom_admin_view['settings']->custom_buttons as $custom_buttons) - { - $customAdminButtonName = $custom_buttons['name']; - $customAdminButtonCode = ComponentbuilderHelper::safeString($customAdminButtonName); - $customAdminButtonTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' '.$customAdminButtonName.' Button Access','U'); - $customAdminButtonDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' '.$customAdminButtonName.' Button Access','U').'_DESC'; - $sortButtonKey = ComponentbuilderHelper::safeString($customAdminName.' '.$customAdminButtonName.' Button Access'); - $this->langContent['admin'][$customAdminButtonTitle] = $customAdminName.' '.$customAdminButtonName.' Button Access'; - $this->langContent['admin'][$customAdminButtonDesc] = ' Allows the users in this group to access the '.ComponentbuilderHelper::safeString($customAdminButtonName,'w').' button.'; - $componentGlobal[$sortButtonKey] = "\t\t".'<action name="'.$customAdminCode.'.'.$customAdminButtonCode.'" title="'.$customAdminButtonTitle.'" description="'.$customAdminButtonDesc.'" />'; - } - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - // add menu controll view that has menus options - if (isset($custom_admin_view[$menuController]) && $custom_admin_view[$menuController]) - { - // TODO for CUSTOM MENUS!!! - } - } - } - } - // set the site views permissions - if (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views)) - { - foreach ($this->componentData->site_views as $site_view) - { - // new custom permissions to access this view - $siteName = $site_view['settings']->name; - $siteCode = $site_view['settings']->code; - $siteTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' Access Site','U'); - $siteDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' Access Site','U').'_DESC'; - $sortKey = ComponentbuilderHelper::safeString($siteName.' Access Site'); - $this->langContent['admin'][$siteTitle] = $siteName.' (Site) Access'; - $this->langContent['admin'][$siteDesc] = ' Allows the users in this group to access site '.ComponentbuilderHelper::safeString($siteName,'w').'.'; - $componentGlobal[$sortKey] = "\t\t".'<action name="site.'.$siteCode.'.access" title="'.$siteTitle.'" description="'.$siteDesc.'" />'; - // add the custom permissions to use the buttons of this view - /* if (ComponentbuilderHelper::checkArray($site_view['settings']->custom_buttons)) - { - foreach ($site_view['settings']->custom_buttons as $custom_buttons) - { - $siteButtonName = $custom_buttons['name']; - $siteButtonCode = ComponentbuilderHelper::safeString($siteButtonName); - $siteButtonTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' '.$siteButtonName.' Button Access','U'); - $siteButtonDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' '.$siteButtonName.' Button Access','U').'_DESC'; - $sortButtonKey = ComponentbuilderHelper::safeString($siteButtonTitle); - $this->langContent['admin'][$siteButtonTitle] = $siteName.' '.$siteButtonName.' Button Access'; - $this->langContent['admin'][$siteButtonDesc] = ' Allows the users in this group to access the '.ComponentbuilderHelper::safeString($siteButtonName,'w').' button.'; - $componentGlobal[$sortButtonKey] = "\t\t".'<action name="'.$siteCode.'.'.$siteButtonCode.'" title="'.$siteButtonTitle.'" description="'.$siteButtonDesc.'" />'; - } - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - // add menu controll view that has menus options - if ($site_view[$menuController]) - { - // TODO for CUSTOM MENUS!!! - } - } */ - } - } - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - foreach ($this->componentData->admin_views as $view) - { - // set view name - $nameView = ComponentbuilderHelper::safeString($view['settings']->name_single); - $nameViews = ComponentbuilderHelper::safeString($view['settings']->name_list); - if ($nameView != 'component') - { - - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - // add menu controll view that has menus options - if ($view[$menuController]) - { - $targetView_ = 'views.'; - if ($menuController == 'dashboard_add') - { - $targetView_ = 'view.'; - } - // menucontroller - $menucontrollerView['action'] = $targetView_.$menuController; - $menucontrollerView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$menucontrollerView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $menucontrollerView; - } - unset($menucontrollerView); - } - } - // check if there are fields - if (ComponentbuilderHelper::checkArray($view['settings']->fields)) - { - // check the fields for their permission settings - foreach($view['settings']->fields as $field) - { - // see if field require permissions to be set - if (isset($field['permission']) && $field['permission']) - { - if (ComponentbuilderHelper::checkArray($field['settings']->properties)) - { - foreach ($field['settings']->properties as $property) - { - if ($property['name'] == 'type') - { - $propertyType = $property; - } - } - $fieldType = $this->getFieldType($field['settings']->type_name,$field['settings']->xml,$propertyType); - $fieldName = $this->getFieldName($fieldType,$field['settings']->xml,$field['alias']); - $fieldView = array(); - // set the permission for this field - $fieldView['action'] = 'view.edit.'.$fieldName; - $fieldView['implementation'] = '3'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$fieldView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $fieldView; - } - // load to global field permission set - $this->permissionFields[$nameView][$fieldName] = $fieldType; - } - } - } - } - if (ComponentbuilderHelper::checkArray($view['settings']->permissions) || $view['port'] || $view['history']) - { - // add export/import permissions to each view that has export/import options - if ($view['port']) - { - // export - $exportView['action'] = 'view.export'; - $exportView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$exportView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $exportView; - } - // import - $importView['action'] = 'view.import'; - $importView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$importView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $importView; - } - } - // add version opstions to each view that has it added - if ($view['history']) - { - // set version control - $versionView['action'] = 'view.version'; - $versionView['implementation'] = '3'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$versionView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $versionView; - } - } - // set batch control - $batchView['action'] = 'view.batch'; - $batchView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$batchView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $batchView; - } - - foreach ($view['settings']->permissions as $permission) - { - // set acction name - $arr = explode('.',trim($permission['action'])); - if ($arr[0] != 'core' || $arr[0] == 'view') - { - array_shift($arr); - $actionMain = implode('.',$arr); - $action = $nameView.'.'.$actionMain; - } - else - { - if ($arr[0] == 'core') - { - // core is already set in global access - $permission['implementation'] = 1; - } - $action = $permission['action']; - } - // build action name - $actionNameBuilder = explode('.',trim($permission['action'])); - array_shift($actionNameBuilder); - $nameBuilder = trim(implode('___',$actionNameBuilder)); - $customName = trim(implode(' ',$actionNameBuilder)); - $W_NameList = ComponentbuilderHelper::safeString($view['settings']->name_list, 'W'); - $w_NameList = ComponentbuilderHelper::safeString($customName.' '.$view['settings']->name_list, 'w'); - $w_NameSingle = ComponentbuilderHelper::safeString($view['settings']->name_single, 'w'); - switch ($nameBuilder) - { - case 'edit': - // set edit title - $permission['title'] = $W_NameList . ' Edit'; - // set edit description - $permission['description'] = ' Allows the users in this group to edit the ' . $w_NameSingle; - break; - case 'edit___own': - // set edit title - $permission['title'] = $W_NameList . ' Edit Own'; - // set edit description - $permission['description'] = ' Allows the users in this group to edit ' . $w_NameList . ' created by them'; - break; - case 'edit___state': - // set edit title - $permission['title'] = $W_NameList . ' Edit State'; - // set edit description - $permission['description'] = ' Allows the users in this group to update the state of the ' . $w_NameSingle; - break; - case 'edit___created_by': - // set edit title - $permission['title'] = $W_NameList . ' Edit Created By'; - // set edit description - $permission['description'] = ' Allows the users in this group to update the created by of the ' . $w_NameList; - break; - case 'edit___created': - // set edit title - $permission['title'] = $W_NameList . ' Edit Created Date'; - // set edit description - $permission['description'] = ' Allows the users in this group to update the created date of the ' . $w_NameList; - break; - case 'create': - // set edit title - $permission['title'] = $W_NameList . ' Create'; - // set edit description - $permission['description'] = ' Allows the users in this group to create ' . $w_NameList; - break; - case 'delete': - // set edit title - $permission['title'] = $W_NameList . ' Delete'; - // set edit description - $permission['description'] = ' Allows the users in this group to delete ' . $w_NameList; - break; - case 'access': - // set edit title - $permission['title'] = $W_NameList . ' Access'; - // set edit description - $permission['description'] = ' Allows the users in this group to access ' . $w_NameList; - break; - case 'export': - // set edit title - $permission['title'] = $W_NameList . ' Export'; - // set edit description - $permission['description'] = ' Allows the users in this group to export ' . $w_NameList; - break; - case 'import': - // set edit title - $permission['title'] = $W_NameList . ' Import'; - // set edit description - $permission['description'] = ' Allows the users in this group to import ' . $w_NameList; - break; - case 'version': - // set edit title - $permission['title'] = $W_NameList . ' Edit Version'; - // set edit description - $permission['description'] = ' Allows users in this group to edit versions of ' . $w_NameList; - break; - case 'batch': - // set edit title - $permission['title'] = $W_NameList . ' Batch Use'; - // set edit description - $permission['description'] = ' Allows users in this group to use batch copy/update method of ' . $w_NameList; - break; - default: - // set edit title - $permission['title'] = $W_NameList . ' ' . ComponentbuilderHelper::safeString($customName, 'W'); - // set edit description - $permission['description'] = ' Allows the users in this group to update the ' . ComponentbuilderHelper::safeString($customName, 'w') . ' of the ' . $w_NameSingle; - break; - } - // if core is not used update all core strings - $coreCheck = explode('.',$action); - $coreCheck[0] = 'core'; - $coreTarget = implode('.',$coreCheck); - $this->permissionCore[$nameView][$coreTarget] = $action; - // set array sort name - $sortKey = ComponentbuilderHelper::safeString($permission['title']); - // set title - $title = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($permission['title'],'U'); - // load the actions - if ($permission['implementation'] == 1) - { - // only related to view - $views[$nameView][] = '<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // load permission to action - $this->permissionBuilder[$action][$nameView] = $nameView; - } - elseif ($permission['implementation'] == 2) - { - // relation to whole component - $componentGlobal[$sortKey] = "\t\t".'<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // build permission switch - $this->permissionBuilder['global'][$action][$nameView] = $nameView; - // dashboard icon checker - if ($coreTarget == 'core.access') - { - $this->permissionDashboard[] = "'" . $nameViews . ".access' => '" . $action . "'"; - $this->permissionDashboard[] = "'" . $nameView . ".access' => '" . $action . "'"; - } - if ($coreTarget == 'core.create') - { - $this->permissionDashboard[] = "'" . $nameView . ".create' => '" . $action . "'"; - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - if ($coreTarget == 'core.'.$menuController) - { - if ($menuController == 'dashboard_add') - { - $this->permissionDashboard[] = "'" . $nameView . ".".$menuController."' => '" . $action . "'"; - } - else - { - $this->permissionDashboard[] = "'" . $nameViews . ".".$menuController."' => '" . $action . "'"; - } - } - } - } - elseif ($permission['implementation'] == 3) - { - // only related to view - $views[$nameView][] = '<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // load permission to action - $this->permissionBuilder[$action][$nameView] = $nameView; - // relation to whole component - $componentGlobal[$sortKey] = "\t\t".'<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // build permission switch - $this->permissionBuilder['global'][$action][$nameView] = $nameView; - // dashboard icon checker - if ($coreTarget == 'core.access') - { - $this->permissionDashboard[] = "'" . $nameViews . ".access' => '" . $action . "'"; - $this->permissionDashboard[] = "'" . $nameView . ".access' => '" . $action . "'"; - } - if ($coreTarget == 'core.create') - { - $this->permissionDashboard[] = "'" . $nameView . ".create' => '" . $action . "'"; - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - if ($coreTarget == 'core.'.$menuController) - { - if ($menuController == 'dashboard_add') - { - $this->permissionDashboard[] = "'" . $nameView . ".".$menuController."' => '" . $action . "'"; - } - else - { - $this->permissionDashboard[] = "'" . $nameViews . ".".$menuController."' => '" . $action . "'"; - } - } - } - } - // set to language file - $this->langContent['admin'][$title] = trim($permission['title']); - $this->langContent['admin'][$title.'_DESC'] = trim($permission['description']); - } - } - } - } - // set the views permissions now - if (ComponentbuilderHelper::checkArray($views)) - { - foreach ($views as $viewName => $actions) - { - $componentViews[] = "\t".'<section name="'.$viewName.'">'; - foreach ($actions as $action) - { - $componentViews[] = "\t\t".$action; - } - $componentViews[] = "\t</section>"; - } - } - /// now build the section - $component = implode("\n",$componentHead); - // sort the array to insure easy search - ksort($componentGlobal,SORT_STRING); - // add global to the compnent section - $component .= "\n".implode("\n",$componentGlobal)."\n\t</section>"; - // add views to the compnent section - $component .= "\n".implode("\n",$componentViews); - // return the build - return $component; - } - return false; - } - - protected function getFieldName($typeName,$xml,$alias) - { - // if category then name must be catid (only one per view) - if ($typeName == 'category') - { - return 'catid'; - - } - // if tag is set then enable all tag options for this view (only one per view) - elseif ($typeName == 'tag') - { - return 'tags'; - } - // if the field is set as alias it must be called alias - elseif ($alias) - { - return 'alias'; - } - elseif ($typeName == 'spacer') - { - // make sure the name is unique - return false; - } - else - { - return ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml,'name="','"')); - } - } - - protected function getFieldType($typeName,$xml,$property) - { - // make sure its lower case - $typeName = ComponentbuilderHelper::safeString($typeName); - - if ($typeName == 'custom' || $typeName == 'customuser') - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml,'type="','"')); - } - // use field core type only if not found - elseif (ComponentbuilderHelper::checkString($typeName)) - { - $xmlValue = $typeName; - } - // make sure none adjustable fields are set - elseif (isset($property['example']) && ComponentbuilderHelper::checkString($property['example']) && $property['adjustable'] == 0) - { - $xmlValue = $property['example']; - } - // fall back on the xml settings - else - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml,'type="','"')); - } - - // check if the value is set - if (ComponentbuilderHelper::checkString($xmlValue)) - { - // add the value - return $xmlValue; - } - else - { - // fall back to text - return 'text'; - } - } - - protected function setJoomlaVersionData() - { - // set the version data - $versionData = json_decode(file_get_contents($this->templatePath.'/settings.json')); - // add custom folders - if ((isset($this->componentData->folders) && ComponentbuilderHelper::checkArray($this->componentData->folders)) || $this->addEximport || $this->uikit || $this->footable) - { - if ($this->addEximport) - { - // move the import view folder in place - $importView = array( 'folder' => 'importViews', 'path' => 'admin/views/import', 'rename' => 1); - $this->componentData->folders[] = $importView; - // move the PHPExel Folder - $PHPExcel = array( 'folder' => 'PHPExcel', 'path' => 'admin/helpers', 'rename' => 0); - $this->componentData->folders[] = $PHPExcel; - } - if ($this->uikit) - { - // move the UIKIT Folder into place - $uikit = array( 'folder' => 'uikit', 'path' => 'media', 'rename' => 0); - $this->componentData->folders[] = $uikit; - } - if ($this->footable) - { - // move the footable folder into place - $footable = array( 'folder' => 'footable', 'path' => 'media', 'rename' => 0); - $this->componentData->folders[] = $footable; - - } - - // pointer tracker - $pointer_tracker = 'h'; - foreach ($this->componentData->folders as $custom) - { - // fix path - $custom['path'] = rtrim($custom['path'], '/'); - $custom['path'] = ltrim($custom['path'], '/'); - // make sure we use the correct name - $pathArray = (array) explode('/',$custom['path']); - $firstFolder = array_values($pathArray)[0]; - $lastFolder = end($pathArray); - // only rename folder if last has folder name - if ($custom['rename'] == 1) - { - $custom['path'] = str_replace('/'.$lastFolder,'',$custom['path']); - $rename = 'new'; - $newname = $lastFolder; - if(($tkey = array_search($lastFolder, $pathArray)) !== false) - { - unset($pathArray[$tkey]); - } - } - else - { - $lastFolder = $custom['folder']; - $rename = false; - $newname = ''; - } - // check if we sould add it to the media xml list - if (!isset($this->fileContentStatic['###EXSTRA_MEDIA_FOLDERS###'])) - { - $this->fileContentStatic['###EXSTRA_MEDIA_FOLDERS###'] = ''; - } - if (count($pathArray) == 1 && $firstFolder == 'media') - { - $this->fileContentStatic['###EXSTRA_MEDIA_FOLDERS###'] .= "\n\t\t<folder>".$lastFolder."</folder>"; - } - // check if we sould add it to the site xml list - if (!isset($this->fileContentStatic['###EXSTRA_SITE_FOLDERS###'])) - { - $this->fileContentStatic['###EXSTRA_SITE_FOLDERS###'] = ''; - } - if (count($pathArray) == 1 && $firstFolder == 'site') - { - $this->fileContentStatic['###EXSTRA_SITE_FOLDERS###'] .= "\n\t\t<folder>".$lastFolder."</folder>"; - } - // check if we sould add it to the admin xml list - if (!isset($this->fileContentStatic['###EXSTRA_ADMIN_FOLDERS###'])) - { - $this->fileContentStatic['###EXSTRA_ADMIN_FOLDERS###'] = ''; - } - if (count($pathArray) == 1 && $firstFolder == 'admin') - { - $this->fileContentStatic['###EXSTRA_ADMIN_FOLDERS###'] .= "\n\t\t\t<folder>".$lastFolder."</folder>"; - } - // make we have not duplicates - $key_pointer = ComponentbuilderHelper::safeString($custom['folder']).'_f'.$pointer_tracker; - $pointer_tracker++; - // set new folder to object - $versionData->move->static->$key_pointer = new stdClass(); - $versionData->move->static->$key_pointer->naam = $custom['folder']; - $versionData->move->static->$key_pointer->path = 'c0mp0n3nt/'.$custom['path']; - $versionData->move->static->$key_pointer->rename = $rename; - $versionData->move->static->$key_pointer->newName = $newname; - $versionData->move->static->$key_pointer->type = 'folder'; - $versionData->move->static->$key_pointer->custom = true; - } - unset($this->componentData->folders); - unset($custom); - } - // add custom files - if ((isset($this->componentData->files) && ComponentbuilderHelper::checkArray($this->componentData->files)) || $this->addEximport || $this->googlechart) - { - if ($this->addEximport) - { - // move the PHPExel main file - $PHPExcel = array( 'file' => 'PHPExcel.php', 'path' => 'admin/helpers', 'rename' => 0); - $this->componentData->files[] = $PHPExcel; - } - if ($this->googlechart) - { - // move the google chart files - $googleChart = array( 'file' => 'google.jsapi.js', 'path' => 'media/js', 'rename' => 0); - $this->componentData->files[] = $googleChart; - $googleChart = array( 'file' => 'chartbuilder.php', 'path' => 'admin/helpers', 'rename' => 0); - $this->componentData->files[] = $googleChart; - } - - // pointer tracker - $pointer_tracker = 'h'; - foreach ($this->componentData->files as $custom) - { - // make we have not duplicates - $key_pointer = ComponentbuilderHelper::safeString($custom['file']).'_g'.$pointer_tracker; - $pointer_tracker++; - // set new file to object - $versionData->move->static->$key_pointer = new stdClass(); - $versionData->move->static->$key_pointer->naam = $custom['file']; - // get the path info - $pathInfo = pathinfo($custom['path']); - if (isset($pathInfo['extension']) && $pathInfo['extension']) - { - $pathInfo['dirname'] = rtrim($pathInfo['dirname'], '/'); - $pathInfo['dirname'] = ltrim($pathInfo['dirname'], '/'); - $versionData->move->static->$key_pointer->path = 'c0mp0n3nt/'.$pathInfo['dirname']; - $versionData->move->static->$key_pointer->rename = 'new'; - $versionData->move->static->$key_pointer->newName = $pathInfo['basename']; - // set the name - $name = $pathInfo['basename']; - } - else - { - $custom['path'] = rtrim($custom['path'], '/'); - $custom['path'] = ltrim($custom['path'], '/'); - $versionData->move->static->$key_pointer->path = 'c0mp0n3nt/'.$custom['path']; - $versionData->move->static->$key_pointer->rename = false; - // set the name - $name = $custom['file']; - } - // check if file should be updated - if (isset($custom['notnew']) && $custom['notnew'] == 0) - { - $this->notNew[] = $key_pointer; - } - $versionData->move->static->$key_pointer->type = 'file'; - $versionData->move->static->$key_pointer->custom = true; - } - unset($this->componentData->files); - unset($custom); - } - return $versionData; - } - - protected function dynamique() - { - $back = false; - $front = false; - if ((isset($this->joomlaVersionData->move->dynamic) && ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->dynamic)) && (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views))) - { - // setup dashboard - $target = array('admin' => $this->componentData->name_code); - $this->buildDynamique($target,'dashboard'); - // now the rest of the views - foreach ($this->componentData->admin_views as $nr => $view) - { - if (ComponentbuilderHelper::checkObject($view['settings'])) - { - if ($view['settings']->name_list != 'null') - { - $target = array('admin' => $view['settings']->name_list); - $this->buildDynamique($target,'list'); - } - if ($view['settings']->name_single != 'null') - { - $target = array('admin' => $view['settings']->name_single); - $this->buildDynamique($target,'single'); - } - if($view['edit_create_site_view']) - { - // setup the front site edit-view files - $target = array('site' => $view['settings']->name_single); - $this->buildDynamique($target,'edit'); - } - } - // quick set of checkin once - if ($view['checkin'] == 1 && !$this->addCheckin) - { - // swtich to add checking to config - $this->addCheckin = true; - } - } - $back = true; - } - if ((isset($this->joomlaVersionData->move->dynamic) && ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->dynamic)) && (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views))) - { - - foreach ($this->componentData->site_views as $nr => $view) - { - if ($view['settings']->main_get->gettype == 2) - { - // set list view - $target = array('site' => $view['settings']->code); - $this->buildDynamique($target,'list'); - } - elseif ($view['settings']->main_get->gettype == 1) - { - // set single view - $target = array('site' => $view['settings']->code); - $this->buildDynamique($target,'single'); - } - } - $front = true; - } - if ((isset($this->joomlaVersionData->move->dynamic) && ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->dynamic)) && (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views))) - { - foreach ($this->componentData->custom_admin_views as $nr => $view) - { - if ($view['settings']->main_get->gettype == 2) - { - // set list view - $target = array('custom_admin' => $view['settings']->code); - $this->buildDynamique($target,'list'); - } - elseif ($view['settings']->main_get->gettype == 1) - { - // set single view - $target = array('custom_admin' => $view['settings']->code); - $this->buildDynamique($target,'single'); - } - } - $back = true; - } - // chekc if we had success - if ($back || $front) - { - return true; - } - return false; - } - - protected function buildDynamique($target,$type,$fileName = false) - { - if (ComponentbuilderHelper::checkArray($target)) - { - foreach ($target as $main => $name) - { - // make sure it is lower case - $name = ComponentbuilderHelper::safeString($name); - // setup the files - foreach ($this->joomlaVersionData->move->dynamic->{$main} as $item => $details) - { - if ($details->type == $type) - { - // set destination path - $path = ''; - if (strpos($details->path,'VIEW') !== false) - { - $path = str_replace('VIEW',$name,$details->path); - } - else - { - $path = $details->path; - } - $zipPath = str_replace('c0mp0n3nt/','', $path); - $path = str_replace('c0mp0n3nt/',$this->componentPath.'/', $path); - - // setup the folder - if (!JFolder::exists($path)) - { - JFolder::create($path); - $this->indexHTML($zipPath); - // count the folder created - $this->folderCount++; - } - // do the file renaming - if ($details->rename) - { - if ($fileName) - { - $new = str_replace($details->rename, $fileName, $item); - $name = $name.'_'.$fileName; - } - elseif ($details->rename == 'new') - { - $new = $details->newName; - } - else - { - $new = str_replace($details->rename, $name, $item); - } - } - else - { - $new = $item; - } - if (!JFile::exists($path.'/'.$new)) - { - // move the file to its place - JFile::copy($this->templatePath.'/'.$item, $path.'/'.$new,'',true); - // count the file created - $this->fileCount++; - } - // store the new files - $this->newFiles['dynamic'][$name][] = array( 'path' => $path.'/'.$new, 'name' => $new , 'view' => $name, 'zip' => $zipPath.'/'.$new); - } - } - } - return true; - } - return false; - } - - protected function setStatic() - { - if (ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->static)) - { - // TODO needs more looking at this must be dynamic actualy - $codeName = ComponentbuilderHelper::safeString($this->componentData->name_code); - $this->notNew[] = 'PHPExcel.php'; - $this->notNew[] = 'LICENSE.txt'; - // do license check - $LICENSE = false; - $licenseChecker = strtolower($this->componentData->license); - if (strpos($licenseChecker,'gnu') !== false && strpos($licenseChecker,'gpl') !== false) - { - $LICENSE = true; - } - // do README check - $README = false; - // add the README file if needed - if ($this->componentData->addreadme) - { - $README = true; - } - // start moving - foreach ($this->joomlaVersionData->move->static as $ftem => $details) - { - // set item - $item = $details->naam; - // do the file renaming - if ($details->rename) - { - if ($details->rename == 'new') - { - $new = $details->newName; - } - else - { - $new = str_replace($details->rename, $codeName, $item); - } - } - else - { - $new = $item; - } - // if not gnu/gpl license dont add the LICENSE.txt file - if ($item == 'LICENSE.txt' && !$LICENSE) - { - continue; - } - // if not needed do not add - if ($item == 'README.md' && !$README) - { - continue; - } - // set destination path - $zipPath = str_replace('c0mp0n3nt/','', $details->path); - $path = str_replace('c0mp0n3nt/',$this->componentPath.'/', $details->path); - // set the template folder path - $templatePath = (isset($details->custom) && $details->custom) ? $this->templatePathCustom : $this->templatePath; - // now mov the file - if ($details->type == 'file') - { - // move the file to its place - JFile::copy($templatePath.'/'.$item, $path.'/'.$new); - // count the file created - $this->fileCount++; - // store the new files - if (!in_array($ftem,$this->notNew)) - { - $this->newFiles['static'][] = array( 'path' => $path.'/'.$new, 'name' => $new, 'zip' => $zipPath.'/'.$new ); - } - } - elseif ($details->type == 'folder') - { - // move the folder to its place - JFolder::copy($templatePath.'/'.$item, $path.'/'.$new); - // count the folder created - $this->folderCount++; - } - } - return true; - } - return false; - } - - protected function getComponentData($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - $query->select('a.*'); - $query->from('#__componentbuilder_component AS a'); - $query->where($db->quoteName('a.id') . ' = '. $db->quote($id)); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects - $component = $db->loadObject(); - // set lang prefix - $this->langPrefix .= ComponentbuilderHelper::safeString($component->name_code,'U'); - // set component code name - $this->componentCodeName = ComponentbuilderHelper::safeString($component->name_code); - // set component sales name - $component->sales_name = ComponentbuilderHelper::safeString($component->system_name); - // ensure version naming is correct - $this->component_version = preg_replace('/[^0-9.]+/', '', $component->component_version); - // ser the addfolders data - $addfolders = json_decode($component->addfolders,true); - if (ComponentbuilderHelper::checkArray($addfolders)) - { - foreach ($addfolders as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->folders[$nr][$option] = $value; - } - } - unset($component->addfolders); - } - // ser the addfiles data - $addfiles = json_decode($component->addfiles,true); - if (ComponentbuilderHelper::checkArray($addfiles)) - { - foreach ($addfiles as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->files[$nr][$option] = $value; - } - } - unset($component->addfiles); - } - // set the uikit switch - if ($component->adduikit) - { - $this->uikit = true; - } - // set the footable switch - if ($component->addfootable) - { - $this->footable = true; - } - - // ser the addcustommenu data - $addcustommenus = json_decode($component->addcustommenus,true); - if (ComponentbuilderHelper::checkArray($addcustommenus)) - { - foreach ($addcustommenus as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->custommenus[$nr][$option] = $value; - } - } - unset($component->addcustommenus); - } - - // tweak the mysql dump settings if needed - $sql_tweak = json_decode($component->sql_tweak,true); - if (ComponentbuilderHelper::checkArray($sql_tweak)) - { - $component->sql_tweak = array(); - foreach ($sql_tweak as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->sql_tweak[$nr][$option] = (int) $value; - } - else - { - $component->sql_tweak[$nr][$option] = $value; - } - } - } - // build the tweak settings - $this->setSqlTweaking($component->sql_tweak); - unset($component->sql_tweak); - } - - // set the admin_view data - $admin_views = json_decode($component->addadmin_views,true); - if (ComponentbuilderHelper::checkArray($admin_views)) - { - foreach ($admin_views as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->admin_views[$nr][$option] = (int) $value; - } - else - { - $component->admin_views[$nr][$option] = $value; - } - } - } - unset($component->addadmin_views); - // sort the views acording to order - usort($component->admin_views, function($a, $b) - { - if ($a['order'] != 0 && $b['order'] != 0) - { - return $a['order'] - $b['order']; - } - elseif ($b['order'] != 0 && $a['order'] == 0) - { - return 1; - } - elseif ($a['order'] != 0 && $b['order'] == 0) - { - return 0; - } - return 1; - }); - // load the view and field data - foreach ($component->admin_views as $key => &$view) - { - if ($view['port'] && !$this->addEximport) - { - $this->addEximport = true; - } - if ($view['history'] && !$this->setTagHistory) - { - $this->setTagHistory = true; - } - if ($view['edit_create_site_view']) - { - $this->siteEditView[$view['adminview']] = true; - } - // TODO this is a temp fix until front view is added - $view['view'] = $view['adminview']; - $view['settings'] = $this->getAdminViewData($view['view']); - } - unset($component->addadmin_view); - } - - // set the site_view data - $site_views = json_decode($component->addsite_views,true); - if (ComponentbuilderHelper::checkArray($site_views)) - { - foreach ($site_views as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->site_views[$nr][$option] = (int) $value; - } - else - { - $component->site_views[$nr][$option] = $value; - } - } - } - unset($component->addsite_views); - $this->lang = 'site'; - $this->target = 'site'; - // load the view and field data - foreach ($component->site_views as $key => &$view) - { - // TODO this is a temp fix until front view is added - $view['view'] = $view['siteview']; - $view['settings'] = $this->getCustomViewData($view['view']); - } - } - - // set the custom_admin_views data - $custom_admin_views = json_decode($component->addcustom_admin_views,true); - if (ComponentbuilderHelper::checkArray($custom_admin_views)) - { - foreach ($custom_admin_views as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->custom_admin_views[$nr][$option] = (int) $value; - } - else - { - $component->custom_admin_views[$nr][$option] = $value; - } - } - } - unset($component->addcustom_admin_views); - $this->lang = 'admin'; - $this->target = 'custom_admin'; - // load the view and field data - foreach ($component->custom_admin_views as $key => &$view) - { - // TODO this is a temp fix until front view is added - $view['view'] = $view['customadminview']; - $view['settings'] = $this->getCustomViewData($view['view'], 'custom_admin_view'); - } - } - - // ser the config data - $addconfig = json_decode($component->addconfig,true); - if (ComponentbuilderHelper::checkArray($addconfig)) - { - foreach ($addconfig as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->config[$nr]['alias'] = 0; - $component->config[$nr]['title'] = 0; - if ($option == 'field') - { - // load the field data - $component->config[$nr]['settings'] = $this->getFieldData($value); - } - else - { - $component->config[$nr][$option] = $value; - } - } - } - unset($component->addconfig); - } - - // check if any contributors is to be added - $contributors = json_decode($component->addcontributors,true); - if (ComponentbuilderHelper::checkArray($contributors)) - { - $this->addContributors = true; - foreach ($contributors as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->contributors[$nr][$option] = $value; - } - } - unset($component->addcontributors); - } - - // check if version updating is set - $version_update = json_decode($component->version_update,true); - if (ComponentbuilderHelper::checkArray($version_update)) - { - $component->version_update = array(); - foreach ($version_update as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->version_update[$nr][$option] = $value; - } - } - } - - // add_css - if ($component->add_css == 1) - { - $this->customScriptBuilder['component_css'] = base64_decode($component->css); - unset($component->css); - } - else - { - $this->customScriptBuilder['component_css'] = ''; - } - // add_php_helper - if ($component->add_php_helper_admin == 1) - { - $this->lang = 'admin'; - $this->customScriptBuilder['component_php_helper_admin'] = "\n\n".$this->setCustomContentLang(base64_decode($component->php_helper_admin)); - unset($component->php_helper); - } - else - { - $this->customScriptBuilder['component_php_helper_admin'] = ''; - } - // add_admin_event - if ($component->add_admin_event == 1) - { - $this->lang = 'admin'; - $this->customScriptBuilder['component_php_admin_event'] = $this->setCustomContentLang(base64_decode($component->php_admin_event)); - unset($component->php_admin_event); - } - else - { - $this->customScriptBuilder['component_php_admin_event'] = ''; - } - // add_php_helper_site - if ($component->add_php_helper_site == 1) - { - $this->lang = 'site'; - $this->customScriptBuilder['component_php_helper_site'] = "\n\n".$this->setCustomContentLang(base64_decode($component->php_helper_site)); - unset($component->php_helper); - } - else - { - $this->customScriptBuilder['component_php_helper_site'] = ''; - } - // add_site_event - if ($component->add_site_event == 1) - { - $this->lang = 'site'; - $this->customScriptBuilder['component_php_site_event'] = $this->setCustomContentLang(base64_decode($component->php_site_event)); - unset($component->php_site_event); - } - else - { - $this->customScriptBuilder['component_php_site_event'] = ''; - } - // add_sql - if ($component->add_sql == 1) - { - $this->customScriptBuilder['sql']['component_sql'] = base64_decode($component->sql); - unset($component->sql); - } - // bom - if (ComponentbuilderHelper::checkString($component->bom)) - { - $this->bomPath = $this->compilerPath.'/'.$component->bom; - unset($component->bom); - } - else - { - $this->bomPath = $this->compilerPath.'/default.txt'; - } - // README - if ($component->addreadme) - { - $component->readme = base64_decode($component->readme); - } - else - { - $component->readme = ''; - } - - // dashboard methods - if ($component->add_php_dashboard_methods) - { - // load the php for the dashboard model - $component->php_dashboard_methods = base64_decode($component->php_dashboard_methods); - // check if dashboard_tab is set - $dashboard_tab = json_decode($component->dashboard_tab,true); - if (ComponentbuilderHelper::checkArray($dashboard_tab)) - { - $component->dashboard_tab = array(); - $nowLang = $this->lang; - $this->lang = 'admin'; - foreach ($dashboard_tab as $option => $values) - { - foreach ($values as $nr => $value) - { - if ('html' == $option) - { - $value = $this->setCustomContentLang($value); - } - $component->dashboard_tab[$nr][$option] = $value; - } - } - $this->lang = $nowLang; - } - else - { - $component->dashboard_tab = ''; - } - } - else - { - $component->php_dashboard_methods = ''; - $component->dashboard_tab = ''; - } - - // return the found component data - return $component; - } - - protected function setSqlTweaking($settings) - { - if (ComponentbuilderHelper::checkArray($settings)) - { - foreach($settings as $setting) - { - // should sql dump be added - if (1 == $setting['add_sql']) - { - // add sql (by option) - if (2 == $setting['add_sql_options']) - { - // rest always - $id_array = array(); - // by id (first remove backups) - $ids = $setting['ids']; - // now get the ids - if (strpos($ids, ',') !== false) - { - $id_array = (array) array_map('trim',explode(',', $ids)); - } - else - { - $id_array[] = trim($ids); - } - $id_array_new = array(); - // check for ranges - foreach ($id_array as $key => $id) - { - if (strpos($id, '=>') !== false) - { - $id_range = (array) array_map('trim', explode('=>', $id)); - unset($id_array[$key]); - // build range - if (count($id_range) == 2) - { - $range = range($id_range[0],$id_range[1]); - $id_array_new = array_merge($id_array_new,$range); - } - } - } - if (ComponentbuilderHelper::checkArray($id_array_new)) - { - $id_array = array_merge($id_array_new, $id_array); - } - // final fixing to array - if (ComponentbuilderHelper::checkArray($id_array)) - { - // uniqe - $id_array = array_unique($id_array, SORT_NUMERIC); - // sort - sort($id_array, SORT_NUMERIC); - // now set it to global - $this->sqlTweak[ (int) $setting['adminview']]['where'] = implode(',', $id_array); - } - } - } - else - { - // remove all sql dump options - $this->sqlTweak[ (int) $setting['adminview']]['remove'] = true; - - } - } - } - } - - protected function getAdminViewData($id) - { - if (!isset($this->_adminViewData[$id])) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - $query->select('a.*'); - $query->from('#__componentbuilder_admin_view AS a'); - $query->where($db->quoteName('a.id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects (see later for more options on retrieving data). - $view = $db->loadObject(); - // reset fields - $view->fields = array(); - // setup view name to use in storing the data - $name_single = ComponentbuilderHelper::safeString($view->name_single); - $name_list = ComponentbuilderHelper::safeString($view->name_list); - // setup token check - $this->customScriptBuilder['token'][$name_single] = false; - $this->customScriptBuilder['token'][$name_list] = false; - // load the values form params - $permissions = json_decode($view->addpermissions,true); - unset($view->addpermissions); - $tabs = json_decode($view->addtabs,true); - unset($view->addtabs); - $fields = json_decode($view->addfields,true); - unset($view->addfields); - $conditions = json_decode($view->addconditions,true); - unset($view->addconditions); - $linked_views = json_decode($view->addlinked_views,true); - unset($view->addlinked_views); - $tables = json_decode($view->addtables,true); - unset($view->addtables); - // sort the values - if (ComponentbuilderHelper::checkArray($tables)) - { - foreach ($tables as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->tables[$nr][$option] = $value; - } - } - } - if (ComponentbuilderHelper::checkArray($tabs)) - { - foreach ($tabs as $option => $values) - { - foreach ($values as $nr => $value) - { - $fix = $nr+1; - $view->tabs[$fix] = $value; - } - } - } - if (ComponentbuilderHelper::checkArray($permissions)) - { - foreach ($permissions as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->permissions[$nr][$option] = $value; - } - } - } - if (ComponentbuilderHelper::checkArray($fields)) - { - foreach ($fields as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->fields[$nr][$option] = (int) $value; - } - } - // sort the fields acording to order - usort($view->fields, function($a, $b) - { - if ($a['order_list'] != 0 && $b['order_list'] != 0) - { - return $a['order_list'] - $b['order_list']; - } - elseif ($b['order_list'] != 0 && $a['order_list'] == 0) - { - return 1; - } - elseif ($a['order_list'] != 0 && $b['order_list'] == 0) - { - return 0; - } - return 1; - }); - // load the field data - foreach ($view->fields as $key => &$field) - { - $field['settings'] = $this->getFieldData($field['field'],$name_single,$name_list); - } - } - if (ComponentbuilderHelper::checkArray($conditions)) - { - foreach ($conditions as $condition => $conditionValues) - { - foreach ($conditionValues as $nr => $conditionValue) - { - if ($condition == 'target_field') - { - if (ComponentbuilderHelper::checkArray($conditionValue) && ComponentbuilderHelper::checkArray($view->fields)) - { - foreach ($conditionValue as $fieldKey => $fieldId) - { - foreach ($view->fields as $fieldValues) - { - if ((int) $fieldValues['field'] == (int) $fieldId) - { - // load the field details - $required = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'required="','"'); - $required = ($required == true) ? 'yes' : 'no'; - $filter = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'filter="','"'); - $filter = ComponentbuilderHelper::checkString($filter) ? $filter : 'none'; - // get name - $name = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'name="','"'); - $name = ComponentbuilderHelper::checkString($name) ? $name : $fieldValues['settings']->name; - // get type - $type = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'type="','"'); - $type = ComponentbuilderHelper::checkString($type) ? $type : $fieldValues['settings']->type_name; - // set the field name - $conditionValue[$fieldKey] = array( - 'name' => ComponentbuilderHelper::safeString($name), - 'type' => ComponentbuilderHelper::safeString($type), - 'required' => $required, - 'filter' => $filter - ); - break; - } - } - } - } - } - if ($condition == 'match_field') - { - foreach ($view->fields as $fieldValue) - { - if ((int) $fieldValue['field'] == (int) $conditionValue) - { - // get name - $name = ComponentbuilderHelper::getBetween($fieldValue['settings']->xml,'name="','"'); - $name = ComponentbuilderHelper::checkString($name) ? $name : $fieldValue['settings']->name; - // get type - $type = ComponentbuilderHelper::getBetween($fieldValue['settings']->xml,'type="','"'); - $type = ComponentbuilderHelper::checkString($type) ? $type : $fieldValue['settings']->type_name; - // set the field details - $view->conditions[$nr]['match_name'] = ComponentbuilderHelper::safeString($name); - $view->conditions[$nr]['match_type'] = ComponentbuilderHelper::safeString($type); - $view->conditions[$nr]['match_xml'] = $fieldValue['settings']->xml; - break; - } - } - } - // set condition values - $view->conditions[$nr][$condition] = $conditionValue; - } - } - } - // set linked views - $linked_views_sorted = null; - if (ComponentbuilderHelper::checkArray($linked_views)) - { - $linked_views_sorted = array(); - foreach ($linked_views as $option => $values) - { - foreach ($values as $nr => $value) - { - $linked_views_sorted[$nr][$option] = $value; - } - } - } - unset($linked_views); - // setup linked views to global data sets - $this->linkedAdminViews[$name_single] = $linked_views_sorted; - unset($linked_views_sorted); - // add_javascript_view_file - if ($view->add_javascript_view_file == 1) - { - $view->javascript_view_file = base64_decode($view->javascript_view_file); - $this->customScriptBuilder['view_file'][$name_single] = $view->javascript_view_file; - if (strpos($view->javascript_view_file,"token") !== false && strpos($view->javascript_view_file,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_single]) - { - $this->customScriptBuilder['token'][$name_single] = true; - } - } - unset($view->javascript_view_file); - } - // add_javascript_view_footer - if ($view->add_javascript_view_footer == 1) - { - $view->javascript_view_footer = base64_decode($view->javascript_view_footer); - if (!isset($this->customScriptBuilder['view_footer'][$name_single])) - { - $this->customScriptBuilder['view_footer'][$name_single] = ''; - } - $this->customScriptBuilder['view_footer'][$name_single] .= $view->javascript_view_footer; - if (strpos($view->javascript_view_footer,"token") !== false && strpos($view->javascript_view_footer,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_single]) - { - $this->customScriptBuilder['token'][$name_single] = true; - } - } - unset($view->javascript_view_footer); - } - // add_javascript_view_file - if ($view->add_javascript_views_file == 1) - { - $view->javascript_views_file = base64_decode($view->javascript_views_file); - $this->customScriptBuilder['views_file'][$name_list] = $view->javascript_views_file; - if (strpos($view->javascript_views_file,"token") !== false && strpos($view->javascript_views_file,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_list]) - { - $this->customScriptBuilder['token'][$name_list] = true; - } - } - unset($view->javascript_views_file); - } - // add_javascript_views_footer - if ($view->add_javascript_views_footer == 1) - { - $view->javascript_views_footer = base64_decode($view->javascript_views_footer); - $this->customScriptBuilder['views_footer'][$name_list] .= $view->javascript_views_footer; - if (strpos($view->javascript_views_footer,"token") !== false && strpos($view->javascript_views_footer,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_list]) - { - $this->customScriptBuilder['token'][$name_list] = true; - } - } - unset($view->javascript_views_footer); - } - // add_css_view - if ($view->add_css_view == 1) - { - $this->customScriptBuilder['css_view'][$name_single] .= base64_decode($view->css_view); - unset($view->css_view); - } - // add_css_views - if ($view->add_css_views == 1) - { - $this->customScriptBuilder['css_views'][$name_list] .= base64_decode($view->css_views); - unset($view->css_views); - } - - $this->lang = 'admin'; - $addArray = array('php_getitem','php_save','php_postsavehook','php_getitems','php_getlistquery','php_allowedit','php_before_delete','php_after_delete','php_batchcopy','php_batchmove'); - foreach ($addArray as $scripter) - { - if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1) - { - $this->customScriptBuilder[$scripter][$name_single] = $this->setCustomContentLang(base64_decode($view->$scripter)); - unset($view->$scripter); - } - } - - // add_Ajax for this view - if ($view->add_php_ajax == 1) - { - $addAjaxSite = false; - if (isset($this->siteEditView[$id]) && $this->siteEditView[$id]) - { - // we should add this site ajax to fron ajax - $addAjaxSite = true; - if (!isset($this->addSiteAjax) || !$this->addSiteAjax) - { - $this->addSiteAjax = true; - } - } - // check if controller input as been set - $ajax_input = json_decode($view->ajax_input,true); - if (ComponentbuilderHelper::checkArray($ajax_input)) - { - foreach ($ajax_input as $option => $values) - { - foreach ($values as $nr => $value) - { - if ($addAjaxSite) - { - $this->customScriptBuilder['site']['ajax_controller'][$name_single][$nr][$option] = $value; - } - $this->customScriptBuilder['admin']['ajax_controller'][$name_single][$nr][$option] = $value; - } - } - if ($addAjaxSite) - { - $this->customScriptBuilder['site']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod)); - } - $this->customScriptBuilder['admin']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod)); - $this->addAjax = true; - unset($view->ajax_input); - } - // unset anyway - unset($view->php_ajaxmethod); - } - // add_sql - if ($view->add_sql == 1) - { - if ($view->source == 1) - { - // build and add the SQL dump - $this->customScriptBuilder['sql'][$name_single] = $this->buildSqlDump($view->tables,$name_single, $id); - unset($view->tables); - } - elseif ($view->source == 2) - { - // add the SQL dump string - $this->customScriptBuilder['sql'][$name_single] = base64_decode($view->sql); - unset($view->sql); - } - } - $this->_adminViewData[$id] = $view; - } - // return the found view data - return $this->_adminViewData[$id]; - } - - protected function uniqueCode($code) - { - if (!isset($this->codes[$this->target]) || !in_array($code,$this->codes[$this->target])) - { - $this->codes[$this->target][] = $code; - return $code; - } - // make sure it is unique - return $this->uniqueCode($code.ComponentbuilderHelper::randomkey(1)); - } - - protected function getCustomViewData($id, $table = 'site_view') - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - $query->select('a.*'); - $query->from('#__componentbuilder_'.$table.' AS a'); - $query->where($db->quoteName('a.id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects (see later for more options on retrieving data). - $view = $db->loadObject(); - if ($table == 'site_view') - { - $this->lang = 'site'; - } - else - { - $this->lang = 'admin'; - } - // set the default data - $view->default = base64_decode($view->default); - $view->default = $this->setCustomContentLang($view->default); - // fix alias to use in code - $view->code = $this->uniqueCode(ComponentbuilderHelper::safeString($view->alias)); - $view->Code = ComponentbuilderHelper::safeString($view->code, 'F'); - $view->CODE = ComponentbuilderHelper::safeString($view->code, 'U'); - // insure the uikit components are loaded - if (!isset($this->uikitComp[$view->code])) - { - $this->uikitComp[$view->code] = array(); - } - $this->uikitComp[$view->code] = ComponentbuilderHelper::getUikitComp($view->default,$this->uikitComp[$view->code]); - // check for footable - if (!isset($this->footableScripts[$this->target][$view->code]) || !$this->footableScripts[$this->target][$view->code]) - { - $foundFoo = $this->getFootableScripts($view->default); - if ($foundFoo) - { - $this->footableScripts[$this->target][$view->code] = true; - } - if ($foundFoo && !$this->footableScripts) - { - $this->footable = true; - } - } - // check for get module - if (!isset($this->getModule[$this->target][$view->code]) || !$this->getModule[$this->target][$view->code]) - { - $found = $this->getGetModule($view->default); - if ($found) - { - $this->getModule[$this->target][$view->code] = true; - } - } - // setup template array - $this->templateData[$this->target][$view->code] = array(); - // setup template and layout data - $this->setTemplateAndLayoutData($view->default,$view->code); - // set the main get data - $main_get = $this->setGetData(array($view->main_get),$view->code); - $view->main_get = $main_get[0]; - // set the custom_get data - $view->custom_get = $this->setGetData(json_decode($view->custom_get,true),$view->code); - // set array adding array of scripts - $addArray = array('php_view','php_jview','php_jview_display','php_document','js_document','css_document','css'); - foreach ($addArray as $scripter) - { - if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1) - { - $view->$scripter = base64_decode($view->$scripter); - $view->$scripter = $this->setCustomContentLang($view->$scripter); - // set uikit to views - $this->uikitComp[$view->code] = ComponentbuilderHelper::getUikitComp($view->$scripter,$this->uikitComp[$view->code]); - - $this->setTemplateAndLayoutData($view->$scripter,$view->code); - - // check for footable - if (!isset($this->footableScripts[$this->target][$view->code]) || !$this->footableScripts[$this->target][$view->code]) - { - $foundFoo = $this->getFootableScripts($view->$scripter); - if ($foundFoo) - { - $this->footableScripts[$this->target][$view->code] = true; - } - if ($foundFoo && !$this->footable) - { - $this->footable = true; - } - } - // check for google chart - if (!isset($this->googleChart[$this->target][$view->code]) || !$this->googleChart[$this->target][$view->code]) - { - $found = $this->getGoogleChart($view->$scripter); - if ($found) - { - $this->googleChart[$this->target][$view->code] = true; - } - if ($found && !$this->googlechart) - { - $this->googlechart = true; - } - } - // check for get module - if (!isset($this->getModule[$this->target][$view->code]) || !$this->getModule[$this->target][$view->code]) - { - $found = $this->getGetModule($view->$scripter); - if ($found) - { - $this->getModule[$this->target][$view->code] = true; - } - } - } - } - // add_Ajax for this view - if (isset($view->add_php_ajax) && $view->add_php_ajax == 1) - { - // check if controller input as been set - $ajax_input = json_decode($view->ajax_input,true); - if (ComponentbuilderHelper::checkArray($ajax_input)) - { - foreach ($ajax_input as $option => $values) - { - foreach ($values as $nr => $value) - { - $this->customScriptBuilder[$this->target]['ajax_controller'][$view->code][$nr][$option] = $value; - } - } - $this->customScriptBuilder[$this->target]['ajax_model'][$view->code] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod)); - $this->addSiteAjax = true; - unset($view->ajax_input); - } - // unset anyway - unset($view->php_ajaxmethod); - } - // add the custom buttons - if (isset($view->add_custom_button) && $view->add_custom_button == 1) - { - if (ComponentbuilderHelper::checkString($view->php_model)) - { - $view->php_model = base64_decode($view->php_model); - $view->php_model = $this->setCustomContentLang($view->php_model); - } - $view->php_controller = base64_decode($view->php_controller); - $view->php_controller = $this->setCustomContentLang($view->php_controller); - // set the button array - $buttons = json_decode($view->custom_button,true); - unset($view->custom_button); - // sort the values - if (ComponentbuilderHelper::checkArray($buttons)) - { - foreach ($buttons as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->custom_buttons[$nr][$option] = $value; - } - } - } - } - // return the found view data - return $view; - } - - protected function setCustomContentLang($content) - { - // set language data - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, "JText::_('","')"); - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, 'JText::_("','")'); - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, "JText::sprintf('","'"); - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, 'JText::sprintf("','"'); - $langHolders = array(); - $lang = array(); - foreach ($langCheck as $langChecked) - { - if (ComponentbuilderHelper::checkArray($langChecked)) - { - $lang = array_merge($lang,$langChecked); - } - } - if (ComponentbuilderHelper::checkArray($lang)) - { - foreach ($lang as $string) - { - if (ComponentbuilderHelper::safeString($string,'U') == $string) - { - continue; - } - // only load if string is not already set - $keyLang = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($string,'U'); - $this->langContent[$this->lang][$keyLang] = trim($string); - $langHolders["JText::_('".$string."')"] = "JText::_('".$keyLang."')"; - $langHolders['JText::_("'.$string.'")'] = 'JText::_("'.$keyLang.'")'; - $langHolders["JText::sprintf('".$string."',"] = "JText::sprintf('".$keyLang."',"; - $langHolders['JText::sprintf("'.$string.'",'] = 'JText::sprintf("'.$keyLang.'",'; - } - $content = str_replace(array_keys($langHolders),array_values($langHolders),$content); - } - return $content; - } - - protected function setTemplateAndLayoutData($default,$view) - { - // set the Tempale date - $temp1 = ComponentbuilderHelper::getAllBetween($default, "\$this->loadTemplate('","')"); - $temp2 = ComponentbuilderHelper::getAllBetween($default, '$this->loadTemplate("','")'); - $templates = array(); - $again = array(); - if (ComponentbuilderHelper::checkArray($temp1) && ComponentbuilderHelper::checkArray($temp2)) - { - $templates = array_merge($temp1,$temp2); - } - else - { - if (ComponentbuilderHelper::checkArray($temp1)) - { - $templates = $temp1; - } - elseif (ComponentbuilderHelper::checkArray($temp2)) - { - $templates = $temp2; - } - } - if (ComponentbuilderHelper::checkArray($templates)) - { - foreach ($templates as $template) - { - if (!isset($this->templateData[$this->target][$view]) || !array_key_exists($template,$this->templateData[$this->target][$view])) - { - $data = $this->getDataWithAlias($template,'template',$view); - if (ComponentbuilderHelper::checkArray($data)) - { - $this->templateData[$this->target][$view][$template] = $data; - // call self to get child data - $again[] = array($data['html'],$view); - $again[] = array($data['php_view'],$view); - } - } - } - } - // set the layout data - $lay1 = ComponentbuilderHelper::getAllBetween($default, "JLayoutHelper::render('","',"); - $lay2 = ComponentbuilderHelper::getAllBetween($default, 'JLayoutHelper::render("','",');; - if (ComponentbuilderHelper::checkArray($lay1) && ComponentbuilderHelper::checkArray($lay2)) - { - $layouts = array_merge($lay1,$lay2); - } - else - { - if (ComponentbuilderHelper::checkArray($lay1)) - { - $layouts = $lay1; - } - elseif (ComponentbuilderHelper::checkArray($lay2)) - { - $layouts = $lay2; - } - } - if (isset($layouts) && ComponentbuilderHelper::checkArray($layouts)) - { - foreach ($layouts as $layout) - { - if (!isset($this->layoutData[$this->target]) || !ComponentbuilderHelper::checkArray($this->layoutData[$this->target]) || !array_key_exists($layout,$this->layoutData[$this->target])) - { - $data = $this->getDataWithAlias($layout,'layout',$view); - if (ComponentbuilderHelper::checkArray($data)) - { - $this->layoutData[$this->target][$layout] = $data; - // call self to get child data - $again[] = array($data['html'],$view); - $again[] = array($data['php_view'],$view); - } - } - } - } - if (ComponentbuilderHelper::checkArray($again)) - { - foreach ($again as $go) - { - $this->setTemplateAndLayoutData($go[0],$go[1]); - } - } - } - - protected function getDataWithAlias($n_ame,$table,$view) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - $query->select('a.*'); - $query->from('#__componentbuilder_'.$table.' AS a'); - $db->setQuery($query); - $rows = $db->loadObjectList(); - foreach ($rows as $row) - { - $k_ey = ComponentbuilderHelper::safeString($row->alias); - $key = preg_replace("/[^A-Za-z]/", '', $k_ey); - $name = preg_replace("/[^A-Za-z]/", '', $n_ame); - if ($k_ey == $n_ame || $key == $name) - { - $php_view = ''; - if ($row->add_php_view == 1) - { - $php_view = base64_decode($row->php_view); - $php_view = $this->setCustomContentLang($php_view); - } - $contnent = base64_decode($row->{$table}); - $contnent = $this->setCustomContentLang($contnent); - // set uikit to views - $this->uikitComp[$view] = ComponentbuilderHelper::getUikitComp($contnent,$this->uikitComp[$view]); - // set footable to views and turn it on - if (!isset($this->footableScripts[$this->target][$view]) || !$this->footableScripts[$this->target][$view]) - { - $foundFoo = $this->getFootableScripts($contnent); - if ($foundFoo) - { - $this->footableScripts[$this->target][$view] = true; - } - if ($foundFoo && !$this->footable) - { - $this->footable = true; - } - } - // set google charts to views and turn it on - if (!isset($this->googleChart[$this->target][$view]) || !$this->googleChart[$this->target][$view]) - { - $foundA = $this->getGoogleChart($php_view); - $foundB = $this->getGoogleChart($contnent); - if ($foundA || $foundB) - { - $this->googleChart[$this->target][$view] = true; - } - if ($foundA || $foundB && !$this->googlechart) - { - $this->googlechart = true; - } - } - // check for get module - if (!isset($this->getModule[$this->target][$view]) || !$this->getModule[$this->target][$view]) - { - $foundA = $this->getGetModule($php_view); - $foundB = $this->getGetModule($contnent); - if ($foundA || $foundB) - { - $this->getModule[$this->target][$view] = true; - } - } - return array('id' => $row->id, 'html' => $contnent, 'php_view' => $php_view); - } - } - return false; - } - - /** - * Get Google Chart class name - **/ - protected function getFootableScripts($content) - { - if (strpos($content,'footable') !== false) - { - return true; - } - return false; - } - - /** - * Ge Get Module class name - **/ - protected function getGetModule($content) - { - if (strpos($content,'this->getModules(') !== false) - { - return true; - } - return false; - } - - /** - * Get Google Chart class name - **/ - protected function getGoogleChart($content) - { - if (strpos($content,'Chartbuilder(') !== false) - { - return true; - } - return false; - } - - protected function setGetData($ids,$view_code) - { - if (ComponentbuilderHelper::checkArray($ids)) - { - $ids = implode(',', $ids); - if (ComponentbuilderHelper::checkString($ids)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - $query->select('a.*'); - $query->from('#__componentbuilder_dynamic_get AS a'); - $query->where('a.id IN (' . $ids . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $results = $db->loadObjectList(); - $typeArray = array(1 => 'LEFT', 2 => 'LEFT OUTER', 3 => 'INNER', 4 => 'RIGHT', 5 => 'RIGHT OUTER'); - $operatorArray = array(1 => '=', 2 => '!=', 3 => '<>', 4 => '>', 5 => '<', 6 => '>=', 7 => '<=', 8 => '!<', 9 => '!>', 10 => 'IN', 11 => 'NOT IN'); - foreach ($results as $nr => &$result) - { - // add calculations if set - if($result->addcalculation == 1) - { - $result->php_calculation = base64_decode($result->php_calculation); - } - // add php custom scripting (php_before_getitem) - if($result->add_php_before_getitem == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_before_getitem'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_before_getitem'][$view_code] .= "\n\n".base64_decode($result->php_before_getitem); - unset($result->php_before_getitem); - } - // add php custom scripting (php_after_getitem) - if($result->add_php_after_getitem == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_after_getitem'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_after_getitem'][$view_code] .= "\n\n".base64_decode($result->php_after_getitem); - unset($result->php_after_getitem); - } - // add php custom scripting (php_before_getitems) - if($result->add_php_before_getitems == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_before_getitems'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_before_getitems'][$view_code] .= "\n\n".base64_decode($result->php_before_getitems); - unset($result->php_before_getitems); - } - // add php custom scripting (php_after_getitems) - if($result->add_php_after_getitems == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_after_getitems'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_after_getitems'][$view_code] .= "\n\n".base64_decode($result->php_after_getitems); - unset($result->php_after_getitems); - } - // add php custom scripting (php_getlistquery) - if($result->add_php_getlistquery == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_getlistquery'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_getlistquery'][$view_code] .= "\n\n".base64_decode($result->php_getlistquery); - unset($result->php_getlistquery); - } - // set the getmethod code name - $result->key = ComponentbuilderHelper::safeString($view_code. ' ' .$result->name . ' ' .$result->id); - // reset buckets - $result->main_get = array(); - $result->custom_get = array(); - // set source data - switch ($result->main_source) - { - case 1: - // set the view data - $result->main_get[0]['selection'] = $this->setDataSelection($result->key,$view_code,$result->view_selection,$result->view_table_main,'a','','view'); - $result->main_get[0]['as'] = 'a'; - $result->main_get[0]['key'] = $result->key; - unset($result->view_selection); - break; - case 2: - // set the database data - $result->main_get[0]['selection'] = $this->setDataSelection($result->key,$view_code,$result->db_selection,$result->db_table_main,'a','','db'); - $result->main_get[0]['as'] = 'a'; - $result->main_get[0]['key'] = $result->key; - unset($result->db_selection); - break; - case 3: - // set custom script - $result->main_get[0]['selection'] = array( - 'select' => base64_decode($result->php_custom_get), - 'from' => '', 'table' => '', 'type' => ''); - break; - } - // set join_view_table details - $join_view_table = json_decode($result->join_view_table,true); - unset($result->join_view_table); - $result->join_view_table = array(); - if (ComponentbuilderHelper::checkArray($join_view_table)) - { - foreach ($join_view_table as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'selection') - { - $on_field_as = ''; - $on_field = ''; - list($on_field_as,$on_field) = array_map('trim', explode('.',$result->join_view_table[$nr]['on_field'])); - $join_field_as = ''; - $join_field = ''; - list($join_field_as,$join_field) = array_map('trim', explode('.',$result->join_view_table[$nr]['join_field'])); - $result->join_view_table[$nr][$option] = - $this->setDataSelection($result->key,$view_code,$value,$result->join_view_table[$nr]['view_table'],$result->join_view_table[$nr]['as'],$result->join_view_table[$nr]['row_type'],'view'); - $result->join_view_table[$nr]['key'] = $result->key; - if ($result->join_view_table[$nr]['row_type'] == 1) - { - $result->main_get[] = $result->join_view_table[$nr]; - if ($on_field_as == 'a') - { - $this->siteMainGet[$this->target][$view_code][$result->join_view_table[$nr]['as']] = $result->join_view_table[$nr]['as']; - } - else - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_view_table[$nr]['as']][$join_field] = $on_field_as; - } - } - elseif ($result->join_view_table[$nr]['row_type'] == 2) - { - $result->custom_get[] = $result->join_view_table[$nr]; - if ($on_field_as != 'a') - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_view_table[$nr]['as']][$join_field] = $on_field_as; - } - } - unset($result->join_view_table[$nr]); - } - else - { - if ($option == 'type') - { - $value = $typeArray[$value]; - } - if ($option == 'operator') - { - $value = $operatorArray[$value]; - } - $result->join_view_table[$nr][$option] = $value; - } - } - } - } - } - unset($result->join_view_table); - // set join_db_table details - $join_db_table = json_decode($result->join_db_table,true); - unset($result->join_db_table); - $result->join_db_table = array(); - if (ComponentbuilderHelper::checkArray($join_db_table)) - { - foreach ($join_db_table as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'selection') - { - $on_field_as = ''; - $on_field = ''; - list($on_field_as,$on_field) = array_map('trim', explode('.',$result->join_db_table[$nr]['on_field'])); - $join_field_as = ''; - $join_field = ''; - list($join_field_as,$join_field) = array_map('trim', explode('.',$result->join_db_table[$nr]['join_field'])); - $result->join_db_table[$nr][$option] = - $this->setDataSelection($result->key,$view_code,$value,$result->join_db_table[$nr]['db_table'],$result->join_db_table[$nr]['as'],$result->join_db_table[$nr]['row_type'],'db'); - $result->join_db_table[$nr]['key'] = $result->key; - if ($result->join_db_table[$nr]['row_type'] == 1) - { - $result->main_get[] = $result->join_db_table[$nr]; - if ($on_field_as == 'a') - { - $this->siteMainGet[$this->target][$view_code][$result->join_db_table[$nr]['as']] = $result->join_db_table[$nr]['as']; - } - else - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_db_table[$nr]['as']][$join_field] = $on_field_as; - } - } - elseif ($result->join_db_table[$nr]['row_type'] == 2) - { - $result->custom_get[] = $result->join_db_table[$nr]; - if ($on_field_as != 'a') - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_db_table[$nr]['as']][$join_field] = $on_field_as; - } - } - unset($result->join_db_table[$nr]); - } - else - { - if ($option == 'type') - { - $value = $typeArray[$value]; - } - if ($option == 'operator') - { - $value = $operatorArray[$value]; - } - $result->join_db_table[$nr][$option] = $value; - } - } - } - } - } - unset($result->join_db_table); - // set filter details - $filter = json_decode($result->filter,true); - unset($result->filter); - $result->filter = array(); - if (ComponentbuilderHelper::checkArray($filter)) - { - foreach ($filter as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'operator') - { - $value = $operatorArray[$value]; - $result->filter[$nr]['key'] = $result->key; - } - $result->filter[$nr][$option] = $value; - } - } - } - } - // set global details - $global = json_decode($result->global,true); - unset($result->global); - $result->global = array(); - if (ComponentbuilderHelper::checkArray($global)) - { - foreach ($global as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - $result->global[$nr][$option] = $value; - } - } - } - } - // set order details - $order = json_decode($result->order,true); - unset($result->order); - $result->order = array(); - if (ComponentbuilderHelper::checkArray($order)) - { - foreach ($order as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - $result->order[$nr][$option] = $value; - } - } - } - } - // set where details - $where = json_decode($result->where,true); - unset($result->where); - $result->where = array(); - if (ComponentbuilderHelper::checkArray($where)) - { - foreach ($where as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'operator') - { - $value = $operatorArray[$value]; - } - $result->where[$nr][$option] = $value; - } - } - } - } - } - return $results; - } - } - } - return false; - } - - protected function setDataSelection($method_key,$view_code,$string,$asset,$as,$row_type,$type) - { - if (ComponentbuilderHelper::checkString($string)) - { - $lines = explode(PHP_EOL,$string); - if (ComponentbuilderHelper::checkArray($lines)) - { - $db = JFactory::getDbo(); - if ('db' == $type) - { - $table = '#__'.$asset; - $queryName = $asset; - $view = ''; - } - elseif ('view' == $type) - { - $view = $this->getViewTableName($asset); - $table = '#__'.$this->componentCodeName.'_'.$view; - $queryName = $view; - } - $gets = array(); - $keys = array(); - foreach ($lines as $line) - { - if (strpos($line,'AS') !== false) - { - list($get,$key) = explode("AS",$line); - } - elseif (strpos($line,'as') !== false) - { - list($get,$key) = explode("as",$line); - } - else - { - $get = $line; - $key = null; - } - $get = trim($get); - $key = trim($key); - // only add the view - if ('a' != $as && 1 == $row_type && 'view' == $type && strpos('#'.$key,'#'.$view.'_') === false) - { - $key = $view.'_'.trim($key); - } - if (ComponentbuilderHelper::checkString($get)) - { - $gets[] = $db->quote($get); - if (ComponentbuilderHelper::checkString($key)) - { - $this->getAsLookup[$method_key][$get] = $key; - $keys[] = $db->quote($key); - } - else - { - $key = str_replace($as.'.','',$get); - $this->getAsLookup[$method_key][$get] = $key; - $keys[] = $db->quote($key); - } - if (ComponentbuilderHelper::checkString($view)) - { - $field = str_replace($as.'.','',$get); - $this->siteFields[$view][$field][$method_key] = array('site' => $view_code, 'get' => $get, 'as' => $as, 'key' => $key); - } - } - } - if (ComponentbuilderHelper::checkArray($gets) && ComponentbuilderHelper::checkArray($keys)) - { - $querySelect = '$query->select($db->quoteName('."\n\t\t\t".'array('.implode(',',$gets).'),'."\n\t\t\t".'array('.implode(',',$keys).')));'; - $queryFrom = '$db->quoteName('.$db->quote($table).', '.$db->quote($as).')'; - // return the select query - return array('select' => $querySelect, 'from' => $queryFrom, 'name' => $queryName, 'table' => $table, 'type' => $type, 'select_gets' => $gets, 'select_keys' => $keys); - } - } - } - return false; - } - - protected function getViewTableName($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.name_single'))); - $query->from($db->quoteName('#__componentbuilder_admin_view','a')); - $query->where($db->quoteName('a.id') . ' = '. (int) $id); - $db->setQuery($query); - return ComponentbuilderHelper::safeString($db->loadResult()); - - } - - protected function buildSqlDump($tables,$view,$view_id) - { - // first build a query statment to get all the data (insure it must be added - check the tweaking) - if (ComponentbuilderHelper::checkArray($tables) && (!isset($this->sqlTweak[$view_id]['remove']) || !$this->sqlTweak[$view_id]['remove'])) - { - $counter = 'a'; - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - foreach ($tables as $table) - { - if ($counter == 'a') - { - // the main table fields - if (strpos($table['sourcemap'],PHP_EOL) !== false) - { - $fields = explode(PHP_EOL,$table['sourcemap']); - if (ComponentbuilderHelper::checkArray($fields)) - { - // reset array buckets - $sourceArray = array(); - $targetArray = array(); - foreach ($fields as $field) - { - if (strpos($field,"=>") !== false) - { - list($source,$target) = explode("=>",$field); - $sourceArray[] = $counter.'.'.trim($source); - $targetArray[] = trim($target); - } - } - if (ComponentbuilderHelper::checkArray($sourceArray) && ComponentbuilderHelper::checkArray($targetArray)) - { - // add to query - $query->select($db->quoteName($sourceArray,$targetArray)); - $query->from('#__'.$table['table'].' AS a'); - } - // we may need to filter the selection - if (isset($this->sqlTweak[$view_id]['where'])) - { - // add to query the where filter - $query->where('a.id IN (' . $this->sqlTweak[$view_id]['where'] . ')'); - } - } - } - } - else - { - // the other tables - if (strpos($table['sourcemap'],PHP_EOL) !== false) - { - $fields = explode(PHP_EOL,$table['sourcemap']); - if (ComponentbuilderHelper::checkArray($fields)) - { - // reset array buckets - $sourceArray = array(); - $targetArray = array(); - foreach ($fields as $field) - { - if (strpos($field,"=>") !== false) - { - list($source,$target) = explode("=>",$field); - $sourceArray[] = $counter.'.'.trim($source); - $targetArray[] = trim($target); - } - if (strpos($field,"==") !== false) - { - list($aKey,$bKey) = explode("==",$field); - // add to query - $query->join('LEFT', $db->quoteName('#__'.$table['table'], $counter) . ' ON (' . $db->quoteName('a.'.trim($aKey)) . ' = ' . $db->quoteName($counter.'.'.trim($bKey)) . ')'); - } - } - if (ComponentbuilderHelper::checkArray($sourceArray) && ComponentbuilderHelper::checkArray($targetArray)) - { - // add to query - $query->select($db->quoteName($sourceArray,$targetArray)); - } - } - } - } - $counter++; - } - // now get the data - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // get the data - $data = $db->loadObjectList(); - // echo'<pre>';var_dump($data);exit; - // start building the MySql dump - $dump = "--"; - $dump .= "\n-- Dumping data for table `#__[[[component]]]_".$view."`"; - $dump .= "\n--"; - $dump .= "\n\nINSERT INTO `#__[[[component]]]_".$view."` ("; - foreach ($data as $line) - { - $comaSet = 0; - foreach($line as $fieldName => $fieldValue) - { - if ($comaSet == 0) - { - $dump .= $db->quoteName($fieldName); - } - else - { - $dump .= ", ".$db->quoteName($fieldName); - } - $comaSet++; - } - break; - } - $dump .= ") VALUES"; - $coma = 0; - foreach ($data as $line) - { - if ($coma == 0) - { - $dump .= "\n("; - } - else - { - $dump .= ",\n("; - } - $comaSet = 0; - foreach($line as $fieldName => $fieldValue) - { - if ($comaSet == 0) - { - $dump .= $this->mysql_escape($fieldValue); - } - else - { - $dump .= ", ". $this->mysql_escape($fieldValue); - } - $comaSet++; - } - $dump .= ")"; - $coma++; - } - $dump .= ";"; - // return build dump query - return $dump; - } - } - return false; - } - - protected function mysql_escape($value) - { - // if array then return maped - if(ComponentbuilderHelper::checkArray($value)) - { - return array_map(__METHOD__, $value); - } - // if string make sure it is correctly escaped - if(ComponentbuilderHelper::checkString($value) && !is_numeric($value)) - { - // Get a db connection. - $db = JFactory::getDbo(); - return $db->quote($value); - } - // if empty value return place holder - if(empty($value)) - { - return "''"; - } - // if not array or string then return number - return $value; - } - - protected function getFieldData($id,$name_single = null,$name_list = null) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Order it by the ordering field. - $query->select('a.*'); - $query->select($db->quoteName(array('c.name', 'c.properties'),array('type_name','type_properties'))); - $query->from('#__componentbuilder_field AS a'); - $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'c') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('c.id') . ')'); - $query->where($db->quoteName('a.id') . ' = '. $db->quote($id)); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects (see later for more options on retrieving data). - $field = $db->loadObject(); - - // load the values form params - $field->xml = json_decode($field->xml); - - // load the type values form type params - $properties = json_decode($field->type_properties,true); - unset($field->type_properties); - - if (ComponentbuilderHelper::checkArray($properties)) - { - foreach ($properties as $option => $values) - { - foreach ($values as $nr => $value) - { - $field->properties[$nr][$option] = $value; - } - } - } - // check if we have advanced encryption - if (4 == $field->store && (!isset($this->advancedEncryption) || !$this->advancedEncryption)) - { - $this->advancedEncryption = true; - } - // check if we have basic encryption - elseif (3 == $field->store && (!isset($this->basicEncryption) || !$this->basicEncryption)) - { - $this->basicEncryption = true; - } - - // check if we should load scripts for single view - if (ComponentbuilderHelper::checkString($name_single) && !isset($this->customFieldScript[$name_single][$id])) - { - // add_javascript_view_footer - if ($field->add_javascript_view_footer == 1) - { - if(!isset($this->customScriptBuilder['view_footer'])) - { - $this->customScriptBuilder['view_footer'] = array(); - } - if (!isset($this->customScriptBuilder['view_footer'][$name_single])) - { - $this->customScriptBuilder['view_footer'][$name_single] = ''; - } - $this->customScriptBuilder['view_footer'][$name_single] .= "\n".base64_decode($field->javascript_view_footer); - if (strpos($field->javascript_view_footer,"token") !== false && strpos($field->javascript_view_footer,"task=ajax") !== false) - { - if (!isset($this->customScriptBuilder['token'][$name_single]) || !$this->customScriptBuilder['token'][$name_single]) - { - if(!isset($this->customScriptBuilder['token'])) - { - $this->customScriptBuilder['token'] = array(); - } - $this->customScriptBuilder['token'][$name_single] = true; - } - } - unset($field->javascript_view_footer); - } - - // add_css_view - if ($field->add_css_view == 1) - { - if (!isset($this->customScriptBuilder['css_view'][$name_single])) - { - $this->customScriptBuilder['css_view'][$name_single] = ''; - } - $this->customScriptBuilder['css_view'][$name_single] .= "\n".base64_decode($field->css_view); - unset($field->css_view); - } - - // add this only once to view. - $this->customFieldScript[$name_single][$id] = true; - } - else - { - // unset if not needed - unset($field->javascript_view_footer); - unset($field->css_view); - } - // check if we should load scripts for list views - if (ComponentbuilderHelper::checkString($name_list)) - { - // add_javascript_views_footer - if ($field->add_javascript_views_footer == 1) - { - $field->javascript_views_footer = base64_decode($field->javascript_views_footer); - $this->customScriptBuilder['views_footer'][$name_list] .= $field->javascript_views_footer; - if (strpos($field->javascript_views_footer,"token") !== false && strpos($field->javascript_views_footer,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_list]) - { - $this->customScriptBuilder['token'][$name_list] = true; - } - } - unset($field->javascript_views_footer); - } - // add_css_views - if ($field->add_css_views == 1) - { - if (!isset($this->customScriptBuilder['css_views'][$name_list])) - { - $this->customScriptBuilder['css_views'][$name_list] = ''; - } - $this->customScriptBuilder['css_views'][$name_list] .= base64_decode($field->css_views); - unset($field->css_views); - } - } - else - { - // unset if not needed - unset($field->javascript_views_footer); - unset($field->css_views); - - } - // return the found field data - return $field; - } - - protected function defaultField($type,$option = 'default') - { - // list of default fields - // https://docs.joomla.org/Form_field - $defaults = array( - 'default' => array( - 'accesslevel','cachehandler','calendar','captcha','category','checkbox', - 'checkboxes','color','combo','componentlayout','contentlanguage','editor', - 'chromestyle','contenttype','databaseconnection','editors','email','file', - 'filelist','folderlist','groupedlist','hidden','file','headertag','helpsite', - 'imagelist','integer','language','list','media','menu','note','number','password', - 'plugins','radio','repeatable','range','rules','sessionhandler','spacer','sql','tag', - 'tel','menuitem','meter','modulelayout','moduleorder','moduleposition','moduletag', - 'templatestyle','text','textarea','timezone','url','user','usergroup' - ), - 'plain' => array( - 'accesslevel','checkbox','cachehandler','calendar','category','chromestyle','color', - 'contenttype','combo','componentlayout','databaseconnection','editor','editors', - 'email','file','filelist','folderlist','headertag','helpsite', - 'hidden','imagelist','integer','language','media','menu', - 'menuitem','meter','modulelayout','moduleorder','moduletag','number','password','range','rules', - 'sessionhandler','tag','tel','text','textarea', - 'timezone','url','user','usergroup' - ), - 'spacer' => array( - 'note','spacer' - ), - 'option' => array( - 'plugins','checkboxes','contentlanguage','list','radio','sql' - ), - 'special' => array( - 'contentlanguage','groupedlist','moduleposition','plugin', - 'repeatable','templatestyle' - ) - ); - - if (in_array($type,$defaults[$option])) - { - return true; - } - return false; - } - - protected function buildFolders() - { - if (ComponentbuilderHelper::checkObject($this->joomlaVersionData->create)) - { - // creat the main componet folder - if (!JFolder::exists($this->componentPath)) - { - JFolder::create($this->componentPath); - // count the folder created - $this->folderCount++; - $this->indexHTML(''); - } - // now build all folders needed for this component - foreach ($this->joomlaVersionData->create as $main => $folders) - { - if (!JFolder::exists($this->componentPath.'/'.$main)) - { - JFolder::create($this->componentPath.'/'.$main); - // count the folder created - $this->folderCount++; - $this->indexHTML($main); - } - if (ComponentbuilderHelper::checkObject($folders)) - { - foreach ($folders as $sub => $subFolders) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub); - } - if (ComponentbuilderHelper::checkObject($subFolders)) - { - foreach ($subFolders as $sub_2 => $subFolders_2) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2); - } - if (ComponentbuilderHelper::checkObject($subFolders_2)) - { - foreach ($subFolders_2 as $sub_3 => $subFolders_3) - { - - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3); - } - if (ComponentbuilderHelper::checkObject($subFolders_3)) - { - foreach ($subFolders_3 as $sub_4 => $subFolders_4) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4); - } - if (ComponentbuilderHelper::checkObject($subFolders_4)) - { - foreach ($subFolders_4 as $sub_5 => $subFolders_5) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5); - } - if (ComponentbuilderHelper::checkObject($subFolders_5)) - { - foreach ($subFolders_5 as $sub_6 => $subFolders_6) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6); - } - if (ComponentbuilderHelper::checkObject($subFolders_6)) - { - foreach ($subFolders_6 as $sub_7 => $subFolders_7) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6.'/'.$sub_7)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6.'/'.$sub_7); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6.'/'.$sub_7); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return true; - } - return false; - } - - protected function getInbetweenStrings($str, $start = '###', $end = '###') - { - $matches = array(); - $regex = "/$start([a-zA-Z0-9_]*)$end/"; - preg_match_all($regex, $str, $matches); - return $matches[1]; - } - - protected function indexHTML($path) - { - if (strlen($path) > 0) - { - JFile::copy($this->templatePath.'/index.html', $this->componentPath.'/'.$path.'/index.html'); - // count the file created - $this->fileCount++; - } - else - { - JFile::copy($this->templatePath.'/index.html', $this->componentPath.'/index.html'); - // count the file created - $this->fileCount++; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/default.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/default.txt deleted file mode 100644 index c7adb7652..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/default.txt +++ /dev/null @@ -1,18 +0,0 @@ -/*----------------------------------------------------------------------------------| www.vdm.io |----/ - ###COMPANYNAME### -/-------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###>###CONTRIBUTORS### - @copyright ###COPYRIGHT### - @license ###LICENSE### - ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ - (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) -.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( -\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) - -/------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/description.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/description.txt deleted file mode 100644 index 5da125e09..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/description.txt +++ /dev/null @@ -1,16 +0,0 @@ -/*----------------------------------------------------------------------------------| www.vdm.io |----/ - ###COMPANYNAME### -/-------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###>###CONTRIBUTORS### - @copyright ###COPYRIGHT### - @license ###LICENSE### - - ###SHORT_DESCRIPTION### - -/------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/giz.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/giz.txt deleted file mode 100644 index e822c0562..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/giz.txt +++ /dev/null @@ -1,17 +0,0 @@ -/*----------------------------------------------------------------------------------| www.giz.de |----/ - ###COMPANYNAME### -/-------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###> - @owner ###COMPANYNAME### - @copyright ###COPYRIGHT### - @license ###LICENSE### - -/-------------------------------------------------------------------------------------------------------/ - ###SHORT_DESCRIPTION### -/------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/1.0.0.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/1.0.0.sql deleted file mode 100644 index 1c5c8d398..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/1.0.0.sql +++ /dev/null @@ -1 +0,0 @@ -###UPDATE_VERSION_MYSQL### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJControllerAdmin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJControllerAdmin.php deleted file mode 100644 index c168d2d51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJControllerAdmin.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * ###Component### Controller - */ -class ###Component###Controller###Component### extends JControllerAdmin -{ - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJModelList.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJModelList.php deleted file mode 100644 index f1fb6c50d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJModelList.php +++ /dev/null @@ -1,210 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); -jimport('joomla.application.component.helper'); - -/** - * ###Component### Model - */ -class ###Component###Model###Component### extends JModelList -{ - public function getIcons() - { - // load user for access menus - $user = JFactory::getUser(); - // reset icon array - $icons = array(); - // view groups array - $viewGroups = array( - 'main' => array(###DASHBOARDICONS###) - );###DASHBOARDICONACCESS### - foreach($viewGroups as $group => $views) - { - $i = 0; - if (###Component###Helper::checkArray($views)) - { - foreach($views as $view) - { - $add = false; - if (strpos($view,'.') !== false) - { - $dwd = explode('.', $view); - if (count($dwd) == 3) - { - list($type, $name, $action) = $dwd; - } - elseif (count($dwd) == 2) - { - list($type, $name) = $dwd; - $action = false; - } - if ($action) - { - $viewName = $name; - switch($action) - { - case 'add': - $url ='index.php?option=com_###component###&view='.$name.'&layout=edit'; - $image = $name.'_'.$action.'.'.$type; - $alt = $name.'&nbsp;'.$action; - $name = 'COM_###COMPONENT###_DASHBOARD_'.###Component###Helper::safeString($name,'U').'_ADD'; - $add = true; - break; - default: - $url = 'index.php?option=com_categories&view=categories&extension=com_###component###.'.$name; - $image = $name.'_'.$action.'.'.$type; - $alt = $name.'&nbsp;'.$action; - $name = 'COM_###COMPONENT###_DASHBOARD_'.###Component###Helper::safeString($name,'U').'_'.###Component###Helper::safeString($action,'U'); - break; - } - } - else - { - $viewName = $name; - $alt = $name; - $url = 'index.php?option=com_###component###&view='.$name; - $image = $name.'.'.$type; - $name = 'COM_###COMPONENT###_DASHBOARD_'.###Component###Helper::safeString($name,'U'); - $hover = false; - } - } - else - { - $viewName = $view; - $alt = $view; - $url = 'index.php?option=com_###component###&view='.$view; - $image = $view.'.png'; - $name = ucwords($view).'<br /><br />'; - $hover = false; - } - // first make sure the view access is set - if (###Component###Helper::checkArray($viewAccess)) - { - // setup some defaults - $dashboard_add = false; - $dashboard_list = false; - $accessTo = ''; - $accessAdd = ''; - // acces checking start - $accessCreate = (isset($viewAccess[$viewName.'.create'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.create']):false; - $accessAccess = (isset($viewAccess[$viewName.'.access'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.access']):false; - // set main controllers - $accessDashboard_add = (isset($viewAccess[$viewName.'.dashboard_add'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.dashboard_add']):false; - $accessDashboard_list = (isset($viewAccess[$viewName.'.dashboard_list'])) ? ###Component###Helper::checkString($viewAccess[$viewName.'.dashboard_list']):false; - // check for adding access - if ($add && $accessCreate) - { - $accessAdd = $viewAccess[$viewName.'.create']; - } - elseif ($add) - { - $accessAdd = 'core.create'; - } - // check if acces to view is set - if ($accessAccess) - { - $accessTo = $viewAccess[$viewName.'.access']; - } - // set main access controllers - if ($accessDashboard_add) - { - $dashboard_add = $user->authorise($viewAccess[$viewName.'.dashboard_add'], 'com_###component###'); - } - if ($accessDashboard_list) - { - $dashboard_list = $user->authorise($viewAccess[$viewName.'.dashboard_list'], 'com_###component###'); - } - if (###Component###Helper::checkString($accessAdd) && ###Component###Helper::checkString($accessTo)) - { - // check access - if($user->authorise($accessAdd, 'com_###component###') && $user->authorise($accessTo, 'com_###component###') && $dashboard_add) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - elseif (###Component###Helper::checkString($accessTo)) - { - // check access - if($user->authorise($accessTo, 'com_###component###') && $dashboard_list) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - elseif (###Component###Helper::checkString($accessAdd)) - { - // check access - if($user->authorise($accessAdd, 'com_###component###') && $dashboard_add) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - else - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - else - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - $i++; - } - } - else - { - $icons[$group][$i] = false; - } - } - return $icons; - }###DASH_MODEL_METHODS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJViewLagacy.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJViewLagacy.php deleted file mode 100644 index cf4c5fadf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHJViewLagacy.php +++ /dev/null @@ -1,101 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###Component### View class - */ -class ###Component###View###Component### extends JViewLegacy -{ - /** - * View display method - * @return void - */ - function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - }; - // Assign data to the view - $this->icons = $this->get('Icons'); - $this->contributors = ###Component###Helper::getContributors();###DASH_GET_CUSTOM_DATA### - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - $canDo = ###Component###Helper::getActions('###component###'); - JToolBarHelper::title(JText::_('COM_###COMPONENT###_DASHBOARD'), 'grid-2'); - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###component###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - if ($canDo->get('core.admin') || $canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - } - - /** - * Method to set up the document properties - * - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - - $document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/dashboard.css"); - - $document->setTitle(JText::_('COM_###COMPONENT###_DASHBOARD')); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHdefault.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHdefault.php deleted file mode 100644 index ffe7591fc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/DASHdefault.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::_('behavior.tooltip'); - -?>###DASH_DISPLAY_DATA### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/Helper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/Helper.php deleted file mode 100644 index 003349bba..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/Helper.php +++ /dev/null @@ -1,860 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### component helper. - */ -abstract class ###Component###Helper -{###ADMIN_GLOBAL_EVENT_HELPER### ###CUSTOM_HELPER_SCRIPT### - /** - * Load the Component xml manifest. - **/ - public static function manifest() - { - $manifestUrl = JPATH_ADMINISTRATOR."/components/com_###component###/###component###.xml"; - return simplexml_load_file($manifestUrl); - } - - /** - * Load the Contributors details. - **/ - public static function getContributors() - { - // get params - $params = JComponentHelper::getParams('com_###component###'); - // start contributors array - $contributors = array(); - // get all Contributors (max 20) - $searchArray = range('0','20'); - foreach($searchArray as $nr) - { - if ((NULL !== $params->get("showContributor".$nr)) && ($params->get("showContributor".$nr) == 1 || $params->get("showContributor".$nr) == 3)) - { - // set link based of selected option - if($params->get("useContributor".$nr) == 1) - { - $link_front = '<a href="mailto:'.$params->get("emailContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - elseif($params->get("useContributor".$nr) == 2) - { - $link_front = '<a href="'.$params->get("linkContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - else - { - $link_front = ''; - $link_back = ''; - } - $contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr)); - $contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back; - } - } - return $contributors; - }###HELP### - - /** - * Configure the Linkbar. - **/ - public static function addSubmenu($submenu) - { - // load user for access menus - $user = JFactory::getUser(); - // load the submenus to sidebar - ###SUBMENU### - }###HELPER_CREATEUSER### ###HELPER_UIKIT### ###HELPER_EXEL### - - public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } - - public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true) - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - - if (!self::checkArray($where) && $where > 0) - { - $where = array($where); - } - - if (self::checkArray($where)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - $query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - if ($unique) - { - return array_unique($db->loadColumn()); - } - return $db->loadColumn(); - } - } - return false; - } - - public static function jsonToString($value, $sperator = ", ") - { - // check if string is JSON - $result = json_decode($value, true); - if (json_last_error() === JSON_ERROR_NONE) { - // is JSON - if (self::checkArray($result)) - { - $value = ''; - $counter = 0; - foreach ($result as $string) - { - if ($counter) - { - $value .= $sperator.$string; - } - else - { - $value .= $string; - } - $counter++; - } - return $value; - } - return json_decode($value); - } - return $value; - } - - public static function isPublished($id,$type) - { - if ($type == 'raw') - { - $type = 'item'; - } - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.published')); - $query->from('#__###component###_'.$type.' AS a'); - $query->where('a.id = '.$id); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - if($found) - { - return true; - } - return false; - } - - public static function getGroupName($id) - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select(array('a.title')); - $query->from('#__usergroups AS a'); - $query->where('a.id = '.$id); - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - if($found) - { - return $db->loadResult(); - } - return $id; - } - - /** - * Get the actions permissions - **/ - public static function getActions($view,&$record = null,$views = null) - { - jimport('joomla.access.access'); - - $user = JFactory::getUser(); - $result = new JObject; - $view = self::safeString($view); - if (self::checkString($views)) - { - $views = self::safeString($views); - } - // get all actions from component - $actions = JAccess::getActions('com_###component###', 'component'); - // set acctions only set in component settiongs - $componentActions = array('core.admin','core.manage','core.options','core.export'); - // loop the actions and set the permissions - foreach ($actions as $action) - { - // set to use component default - $fallback= true; - if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions)) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id); - if (!$permission && !is_null($permission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - } - } - elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0) - { - // make sure we use the core. action check for the categories - if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) { - $coreCheck = explode('.',$action->name); - $coreCheck[0] = 'core'; - $categoryCheck = implode('.',$coreCheck); - } - else - { - $categoryCheck = $action->name; - } - // The record has a category. Check the category permissions. - $catpermission = $user->authorise($categoryCheck, 'com_###component###.'.$views.'.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - } - } - } - } - // if allowed then fallback on component global settings - if ($fallback) - { - $result->set($action->name, $user->authorise($action->name, 'com_###component###')); - } - } - return $result; - } - - /** - * Get any component's model - **/ - public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = '###component###') - { - // load some joomla helpers - JLoader::import('joomla.application.component.model'); - // load the model file - JLoader::import( $name, $path . '/models' ); - // return instance - return JModelLegacy::getInstance( $name, $component.'Model' ); - } - - /** - * Add to asset Table - */ - public static function setAsset($id,$table) - { - $parent = JTable::getInstance('Asset'); - $parent->loadByName('com_###component###'); - - $parentId = $parent->id; - $name = 'com_###component###.'.$table.'.'.$id; - $title = ''; - - $asset = JTable::getInstance('Asset'); - $asset->loadByName($name); - - // Check for an error. - $error = $asset->getError(); - - if ($error) - { - return false; - } - else - { - // Specify how a new or moved node asset is inserted into the tree. - if ($asset->parent_id != $parentId) - { - $asset->setLocation($parentId, 'last-child'); - } - - // Prepare the asset to be stored. - $asset->parent_id = $parentId; - $asset->name = $name; - $asset->title = $title; - // get the default asset rules - $rules = self::getDefaultAssetRules('com_###component###',$table); - if ($rules instanceof JAccessRules) - { - $asset->rules = (string) $rules; - } - - if (!$asset->check() || !$asset->store()) - { - JError::raiseWarning(500, $asset->getError()); - return false; - } - else - { - // Create an asset_id or heal one that is corrupted. - $object = new stdClass(); - - // Must be a valid primary key value. - $object->id = $id; - $object->asset_id = (int) $asset->id; - - // Update their asset_id to link to the asset table. - return JFactory::getDbo()->updateObject('#__###component###_'.$table, $object, 'id'); - } - } - return false; - } - - /** - * Gets the default asset Rules for a component/view. - */ - protected static function getDefaultAssetRules($component,$view) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - $result = JAccess::getAssetRules($assetId); - if ($result instanceof JAccessRules) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($view !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules($_result); - - return $rules; - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - public static function renderBoolButton() - { - $args = func_get_args(); - - // get the radio element - $button = JFormHelper::loadFieldType('radio'); - - // setup the properties - $name = self::htmlEscape($args[0]); - $additional = isset($args[1]) ? (string) $args[1] : ''; - $value = $args[2]; - $yes = isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES'; - $no = isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO'; - - // prepare the xml - $element = new SimpleXMLElement('<field name="'.$name.'" type="radio" class="btn-group"><option '.$additional.' value="0">'.$no.'</option><option '.$additional.' value="1">'.$yes.'</option></field>'); - - // run - $button->setup($element, $value); - - return $button->input; - - } - - public static function checkObject($object) - { - if (isset($object) && is_object($object) && count($object) > 0) - { - return true; - } - return false; - } - - public static function checkArray($array) - { - if (isset($array) && is_array($array) && count($array) > 0) - { - return true; - } - return false; - } - - public static function checkString($string) - { - if (isset($string) && is_string($string) && strlen($string) > 0) - { - return true; - } - return false; - } - - public static function mergeArrays($arrays) - { - if(self::checkArray($arrays)) - { - $arrayBuket = array(); - foreach ($arrays as $array) - { - if (self::checkArray($array)) - { - $arrayBuket = array_merge($arrayBuket, $array); - } - } - return $arrayBuket; - } - return false; - } - - public static function sorten($string, $length = 40, $addTip = true) - { - if (self::checkString($string)) - { - $initial = strlen($string); - $words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE); - $words_count = count($words); - - $word_length = 0; - $last_word = 0; - for (; $last_word < $words_count; ++$last_word) - { - $word_length += strlen($words[$last_word]); - if ($word_length > $length) - { - break; - } - } - - $newString = implode(array_slice($words, 0, $last_word)); - $final = strlen($newString); - if ($initial != $final && $addTip) - { - $title = self::sorten($string, 400 , false); - return '<span class="hasTip" title="'.$title.'" style="cursor:help">'.trim($newString).'...</span>'; - } - elseif ($initial != $final && !$addTip) - { - return trim($newString).'...'; - } - } - return $string; - } - - public static function safeString($string, $type = 'L', $spacer = '_') - { - // remove all numbers and replace with english text version (works well only up to a thousand) - $string = self::replaceNumbers($string); - - if (self::checkString($string)) - { - // remove all other characters - $string = trim($string); - $string = preg_replace('/'.$spacer.'+/', ' ', $string); - $string = preg_replace('/\s+/', ' ', $string); - $string = preg_replace("/[^A-Za-z ]/", '', $string); - // return a string with all first letter of each word uppercase(no undersocre) - if ($type == 'W') - { - return ucwords(strtolower($string)); - } - elseif ($type == 'w') - { - return strtolower($string); - } - elseif ($type == 'Ww') - { - return ucfirst(strtolower($string)); - } - elseif ($type == 'WW') - { - return strtoupper($string); - } - elseif ($type == 'U') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return all upper - return strtoupper($string); - } - elseif ($type == 'F') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return with first caracter to upper - return ucfirst(strtolower($string)); - } - elseif ($type == 'L') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // default is to return lower - return strtolower($string); - } - - // return string - return $string; - } - // not a string - return ''; - } - - public static function htmlEscape($var, $charset = 'UTF-8', $sorten = false, $length = 40) - { - if (self::checkString($var)) - { - $filter = new JFilterInput(); - $string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML'); - if ($sorten) - { - return self::sorten($string,$length); - } - return $string; - } - else - { - return ''; - } - }###HELPER_LICENSE_LOCK### - - public static function replaceNumbers($string) - { - // set numbers array - $numbers = array(); - // first get all numbers - preg_match_all('!\d+!', $string, $numbers); - // check if we have any numbers - if (isset($numbers[0]) && self::checkArray($numbers[0])) - { - foreach ($numbers[0] as $number) - { - $searchReplace[$number] = self::numberToString((int)$number); - } - // now replace numbers in string - $string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string); - // check if we missed any, strange if we did. - return self::replaceNumbers($string); - } - // return the string with no numbers remaining. - return $string; - } - - /** - * Convert an integer into an English word string - * Thanks to Tom Nicholson <http://php.net/manual/en/function.strval.php#41988> - * - * @input an int - * @returns a string - **/ - public static function numberToString($x) - { - $nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven", - "eight", "nine", "ten", "eleven", "twelve", "thirteen", - "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", - "nineteen", "twenty", 30 => "thirty", 40 => "forty", - 50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty", - 90 => "ninety" ); - - if(!is_numeric($x)) - { - $w = $x; - } - elseif(fmod($x, 1) != 0) - { - $w = $x; - } - else - { - if($x < 0) - { - $w = 'minus '; - $x = -$x; - } - else - { - $w = ''; - // ... now $x is a non-negative integer. - } - - if($x < 21) // 0 to 20 - { - $w .= $nwords[$x]; - } - elseif($x < 100) // 21 to 99 - { - $w .= $nwords[10 * floor($x/10)]; - $r = fmod($x, 10); - if($r > 0) - { - $w .= ' '. $nwords[$r]; - } - } - elseif($x < 1000) // 100 to 999 - { - $w .= $nwords[floor($x/100)] .' hundred'; - $r = fmod($x, 100); - if($r > 0) - { - $w .= ' and '. self::numberToString($r); - } - } - elseif($x < 1000000) // 1000 to 999999 - { - $w .= self::numberToString(floor($x/1000)) .' thousand'; - $r = fmod($x, 1000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $w .= 'and '; - } - $w .= self::numberToString($r); - } - } - else // millions - { - $w .= self::numberToString(floor($x/1000000)) .' million'; - $r = fmod($x, 1000000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $word .= 'and '; - } - $w .= self::numberToString($r); - } - } - } - return $w; - } - - /** - * Random Key - * - * @returns a string - **/ - public static function randomkey($size) - { - $bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ"; - $key = array(); - $bagsize = strlen($bag) - 1; - for ($i = 0; $i < $size; $i++) - { - $get = rand(0, $bagsize); - $key[] = $bag[$get]; - } - return implode($key); - }###GET_CRYPT_KEY### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/Helper_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/Helper_site.php deleted file mode 100644 index 997d85e83..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/Helper_site.php +++ /dev/null @@ -1,812 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### component helper - */ -abstract class ###Component###Helper -{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT### - - public static function jsonToString($value) - { - // check if string is JSON - $result = json_decode($value, true); - if (json_last_error() === JSON_ERROR_NONE) { - // is JSON - if (self::checkArray($result)) - { - $value = ''; - $counter = 0; - foreach ($result as $string) - { - if ($counter) - { - $value .= ", ".$string; - } - else - { - $value .= $string; - } - $counter++; - } - } - return json_decode($value); - } - return $value; - } - - /** - * Load the Component xml manifest. - **/ - public static function manifest() - { - $manifestUrl = JPATH_ADMINISTRATOR."/components/com_###component###/###component###.xml"; - return simplexml_load_file($manifestUrl); - } - - /** - * Load the Contributors details. - **/ - public static function getContributors() - { - // get params - $params = JComponentHelper::getParams('com_###component###'); - // start contributors array - $contributors = array(); - // get all Contributors (max 20) - $searchArray = range('0','20'); - foreach($searchArray as $nr) - { - if ((NULL !== $params->get("showContributor".$nr)) && ($params->get("showContributor".$nr) == 2 || $params->get("showContributor".$nr) == 3)) - { - // set link based of selected option - if($params->get("useContributor".$nr) == 1) - { - $link_front = '<a href="mailto:'.$params->get("emailContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - elseif($params->get("useContributor".$nr) == 2) - { - $link_front = '<a href="'.$params->get("linkContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - else - { - $link_front = ''; - $link_back = ''; - } - $contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr)); - $contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back; - } - } - return $contributors; - }###HELP_SITE### - - /** - * Get any component's model - **/ - public static function getModel($name, $path = JPATH_COMPONENT_SITE, $component = '###component###') - { - // load some joomla helpers - JLoader::import('joomla.application.component.model'); - // load the model file - JLoader::import( $name, $path . '/models' ); - // return instance - return JModelLegacy::getInstance( $name, $component.'Model' ); - } - - /** - * Add to asset Table - */ - public static function setAsset($id,$table) - { - $parent = JTable::getInstance('Asset'); - $parent->loadByName('com_###component###'); - - $parentId = $parent->id; - $name = 'com_###component###.'.$table.'.'.$id; - $title = ''; - - $asset = JTable::getInstance('Asset'); - $asset->loadByName($name); - - // Check for an error. - $error = $asset->getError(); - - if ($error) - { - $this->setError($error); - - return false; - } - else - { - // Specify how a new or moved node asset is inserted into the tree. - if ($asset->parent_id != $parentId) - { - $asset->setLocation($parentId, 'last-child'); - } - - // Prepare the asset to be stored. - $asset->parent_id = $parentId; - $asset->name = $name; - $asset->title = $title; - // get the default asset rules - $rules = self::getDefaultAssetRules('com_###component###',$table); - if ($rules instanceof JAccessRules) - { - $asset->rules = (string) $rules; - } - - if (!$asset->check() || !$asset->store()) - { - JError::raiseWarning(500, $asset->getError()); - return false; - } - else - { - // Create an asset_id or heal one that is corrupted. - $object = new stdClass(); - - // Must be a valid primary key value. - $object->id = $id; - $object->asset_id = (int) $asset->id; - - // Update their asset_id to link to the asset table. - return JFactory::getDbo()->updateObject('#__###component###_'.$table, $object, 'id'); - } - } - return false; - } - - /** - * Gets the default asset Rules for a component/view. - */ - protected static function getDefaultAssetRules($component,$view) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - $result = JAccess::getAssetRules($assetId); - if ($result instanceof JAccessRules) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($view !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules($_result); - - return $rules; - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - public static function renderBoolButton() - { - $args = func_get_args(); - - // get the radio element - $button = JFormHelper::loadFieldType('radio'); - - // setup the properties - $name = self::htmlEscape($args[0]); - $additional = isset($args[1]) ? (string) $args[1] : ''; - $value = $args[2]; - $yes = isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES'; - $no = isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO'; - - // prepare the xml - $element = new SimpleXMLElement('<field name="'.$name.'" type="radio" class="btn-group"><option '.$additional.' value="0">'.$no.'</option><option '.$additional.' value="1">'.$yes.'</option></field>'); - - // run - $button->setup($element, $value); - - return $button->input; - - }###HELPER_UIKIT### ###HELPER_CREATEUSER### - - public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } - - public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true) - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - - if (!self::checkArray($where) && $where > 0) - { - $where = array($where); - } - - if (self::checkArray($where)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - $query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - if ($unique) - { - return array_unique($db->loadColumn()); - } - return $db->loadColumn(); - } - } - return false; - } - - /** - * Get the actions permissions - **/ - public static function getActions($view,&$record = null,$views = null) - { - jimport('joomla.access.access'); - - $user = JFactory::getUser(); - $result = new JObject; - $view = self::safeString($view); - if (self::checkString($views)) - { - $views = self::safeString($views); - } - // get all actions from component - $actions = JAccess::getActions('com_###component###', 'component'); - // set acctions only set in component settiongs - $componentActions = array('core.admin','core.manage','core.options','core.export'); - // loop the actions and set the permissions - foreach ($actions as $action) - { - // set to use component default - $fallback = true; - if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions)) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise($action->name, 'com_###component###.'.$view.'.' . (int) $record->id); - if (!$permission && !is_null($permission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - } - } - elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0) - { - // make sure we use the core. action check for the categories - if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) { - $coreCheck = explode('.',$action->name); - $coreCheck[0] = 'core'; - $categoryCheck = implode('.',$coreCheck); - } - else - { - $categoryCheck = $action->name; - } - // The record has a category. Check the category permissions. - $catpermission = $user->authorise($categoryCheck, 'com_###component###.'.$views.'.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise('core.edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_###component###')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - } - } - } - } - // if allowed then fallback on component global settings - if ($fallback) - { - $result->set($action->name, $user->authorise($action->name, 'com_###component###')); - } - } - return $result; - } - - public static function checkObject($object) - { - if (isset($object) && is_object($object) && count($object) > 0) - { - return true; - } - return false; - } - - public static function checkArray($array) - { - if (isset($array) && is_array($array) && count($array) > 0) - { - return true; - } - return false; - } - - public static function checkString($string) - { - if (isset($string) && is_string($string) && strlen($string) > 0) - { - return true; - } - return false; - } - - public static function mergeArrays($arrays) - { - if(self::checkArray($arrays)) - { - $arrayBuket = array(); - foreach ($arrays as $array) - { - if (self::checkArray($array)) - { - $arrayBuket = array_merge($arrayBuket, $array); - } - } - return $arrayBuket; - } - return false; - } - - public static function sorten($string, $length = 40, $addTip = true) - { - if (self::checkString($string)) - { - $initial = strlen($string); - $words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE); - $words_count = count($words); - - $word_length = 0; - $last_word = 0; - for (; $last_word < $words_count; ++$last_word) - { - $word_length += strlen($words[$last_word]); - if ($word_length > $length) - { - break; - } - } - - $newString = implode(array_slice($words, 0, $last_word)); - $final = strlen($newString); - if ($initial != $final && $addTip) - { - $title = self::sorten($string, 400 , false); - return '<span class="hasTip" title="'.$title.'" style="cursor:help">'.trim($newString).'...</span>'; - } - elseif ($initial != $final && !$addTip) - { - return trim($newString).'...'; - } - } - return $string; - } - - public static function safeString($string, $type = 'L', $spacer = '_') - { - // remove all numbers and replace with english text version (works well only up to a thousand) - $string = self::replaceNumbers($string); - - if (self::checkString($string)) - { - // remove all other characters - $string = trim($string); - $string = preg_replace('/'.$spacer.'+/', ' ', $string); - $string = preg_replace('/\s+/', ' ', $string); - $string = preg_replace("/[^A-Za-z ]/", '', $string); - // return a string with all first letter of each word uppercase(no undersocre) - if ($type == 'W') - { - return ucwords(strtolower($string)); - } - elseif ($type == 'w') - { - return strtolower($string); - } - elseif ($type == 'Ww') - { - return ucfirst(strtolower($string)); - } - elseif ($type == 'WW') - { - return strtoupper($string); - } - elseif ($type == 'U') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return all upper - return strtoupper($string); - } - elseif ($type == 'F') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return with first caracter to upper - return ucfirst(strtolower($string)); - } - elseif ($type == 'L') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // default is to return lower - return strtolower($string); - } - - // return string - return $string; - } - // not a string - return ''; - } - - public static function htmlEscape($var, $charset = 'UTF-8', $sorten = false, $length = 40) - { - if (self::checkString($var)) - { - $filter = new JFilterInput(); - $string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML'); - if ($sorten) - { - return self::sorten($string,$length); - } - return $string; - } - else - { - return ''; - } - }###HELPER_SITE_LICENSE_LOCK### - - public static function replaceNumbers($string) - { - // set numbers array - $numbers = array(); - // first get all numbers - preg_match_all('!\d+!', $string, $numbers); - // check if we have any numbers - if (isset($numbers[0]) && self::checkArray($numbers[0])) - { - foreach ($numbers[0] as $number) - { - $searchReplace[$number] = self::numberToString((int)$number); - } - // now replace numbers in string - $string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string); - // check if we missed any, strange if we did. - return self::replaceNumbers($string); - } - // return the string with no numbers remaining. - return $string; - } - - /** - * Convert an integer into an English word string - * Thanks to Tom Nicholson <http://php.net/manual/en/function.strval.php#41988> - * - * @input an int - * @returns a string - **/ - public static function numberToString($x) - { - $nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven", - "eight", "nine", "ten", "eleven", "twelve", "thirteen", - "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", - "nineteen", "twenty", 30 => "thirty", 40 => "forty", - 50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty", - 90 => "ninety" ); - - if(!is_numeric($x)) - { - $w = $x; - } - elseif(fmod($x, 1) != 0) - { - $w = $x; - } - else - { - if($x < 0) - { - $w = 'minus '; - $x = -$x; - } - else - { - $w = ''; - // ... now $x is a non-negative integer. - } - - if($x < 21) // 0 to 20 - { - $w .= $nwords[$x]; - } - elseif($x < 100) // 21 to 99 - { - $w .= $nwords[10 * floor($x/10)]; - $r = fmod($x, 10); - if($r > 0) - { - $w .= ' '. $nwords[$r]; - } - } - elseif($x < 1000) // 100 to 999 - { - $w .= $nwords[floor($x/100)] .' hundred'; - $r = fmod($x, 100); - if($r > 0) - { - $w .= ' and '. self::numberToString($r); - } - } - elseif($x < 1000000) // 1000 to 999999 - { - $w .= self::numberToString(floor($x/1000)) .' thousand'; - $r = fmod($x, 1000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $w .= 'and '; - } - $w .= self::numberToString($r); - } - } - else // millions - { - $w .= self::numberToString(floor($x/1000000)) .' million'; - $r = fmod($x, 1000000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $word .= 'and '; - } - $w .= self::numberToString($r); - } - } - } - return $w; - } - - /** - * Random Key - * - * @returns a string - **/ - public static function randomkey($size) - { - $bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ"; - $key = array(); - $bagsize = strlen($bag) - 1; - for ($i = 0; $i < $size; $i++) - { - $get = rand(0, $bagsize); - $key[] = $bag[$get]; - } - return implode($key); - }###GET_CRYPT_KEY### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerAdmin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerAdmin.php deleted file mode 100644 index befed19e0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerAdmin.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * ###Views### Controller - */ -class ###Component###Controller###Views### extends JControllerAdmin -{ - protected $text_prefix = 'COM_###COMPONENT###_###VIEWS###'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = '###View###', $prefix = '###Component###Model', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - }###CONTROLLEREXIMPORTMETHOD### ###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerAdmin_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerAdmin_custom_admin.php deleted file mode 100644 index cf469f93e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerAdmin_custom_admin.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * ###SViews### Controller - */ -class ###Component###Controller###SViews### extends JControllerAdmin -{ - protected $text_prefix = 'COM_###COMPONENT###_###SVIEWS###'; - /** - * Proxy for getModel. - * @since 2.5 - */ - public function getModel($name = '###SView###', $prefix = '###Component###Model', $config = array()) - { - $model = parent::getModel($name, $prefix, array('ignore_request' => true)); - - return $model; - } - - public function dashboard() - { - $this->setRedirect(JRoute::_('index.php?option=com_###component###', false)); - return; - }###CUSTOM_ADMIN_CUSTOM_BUTTONS_CONTROLLER### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm.php deleted file mode 100644 index 5f2de245a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm.php +++ /dev/null @@ -1,271 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * ###View### Controller - */ -class ###Component###Controller###View### extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = '###Views###'; // safeguard for setting the return view listing to the main view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - {###JCONTROLLERFORM_ALLOWADD### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JCONTROLLERFORM_ALLOWEDIT### - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('###View###', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view=###views###' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - {###POSTSAVEHOOK### - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm_custom_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm_custom_site.php deleted file mode 100644 index 911146a4e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm_custom_site.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### ###SView### Controller - */ -class ###Component###Controller###SView### extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = '###SITE_DEFAULT_VIEW###'; // safeguard for setting the return view listing to the default site view. - parent::__construct($config); - }###SITE_CUSTOM_BUTTONS_CONTROLLER### - - /** - * Method to check if you can edit an existing record. - * - * Extended classes can override this if necessary. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key; default is id. - * - * @return boolean - * - * @since 12.2 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // to insure no other tampering - return false; - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - { - // to insure no other tampering - return false; - } - - /** - * Method to check if you can save a new or existing record. - * - * Extended classes can override this if necessary. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 12.2 - */ - protected function allowSave($data, $key = 'id') - { - // to insure no other tampering - return false; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModelLegacy $model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 12.2 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - { - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm_site.php deleted file mode 100644 index 5ddd57d3b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerForm_site.php +++ /dev/null @@ -1,271 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controllerform'); - -/** - * ###View### Controller - */ -class ###Component###Controller###View### extends JControllerForm -{ - /** - * Current or most recently performed task. - * - * @var string - * @since 12.2 - * @note Replaces _task. - */ - protected $task; - - public function __construct($config = array()) - { - $this->view_list = '###SITE_DEFAULT_VIEW###'; // safeguard for setting the return view listing to the default site view. - parent::__construct($config); - } - - /** - * Method override to check if you can add a new record. - * - * @param array $data An array of input data. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowAdd($data = array()) - {###JCONTROLLERFORM_ALLOWADD### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 1.6 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JCONTROLLERFORM_ALLOWEDIT### - } - - /** - * Gets the URL arguments to append to an item redirect. - * - * @param integer $recordId The primary key id for the item. - * @param string $urlVar The name of the URL variable for the id. - * - * @return string The arguments to append to the redirect URL. - * - * @since 12.2 - */ - protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id') - { - $tmpl = $this->input->get('tmpl'); - $layout = $this->input->get('layout', 'edit', 'string'); - - $ref = $this->input->get('ref', 0, 'string'); - $refid = $this->input->get('refid', 0, 'int'); - - // Setup redirect info. - - $append = ''; - - if ($refid) - { - $append .= '&ref='.(string)$ref.'&refid='.(int)$refid; - } - elseif ($ref) - { - $append .= '&ref='.(string)$ref; - } - - if ($tmpl) - { - $append .= '&tmpl=' . $tmpl; - } - - if ($layout) - { - $append .= '&layout=' . $layout; - } - - if ($recordId) - { - $append .= '&' . $urlVar . '=' . $recordId; - } - - return $append; - } - - /** - * Method to run batch operations. - * - * @param object $model The model. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 2.5 - */ - public function batch($model = null) - { - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - // Set the model - $model = $this->getModel('###View###', '', array()); - - // Preset the redirect - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view=###views###' . $this->getRedirectToListAppend(), false)); - - return parent::batch($model); - } - - /** - * Method to cancel an edit. - * - * @param string $key The name of the primary key of the URL variable. - * - * @return boolean True if access level checks pass, false otherwise. - * - * @since 12.2 - */ - public function cancel($key = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - $cancel = parent::cancel($key); - - if ($cancel) - { - if ($this->refid) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - } - else - { - // Redirect to the items screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . '&view=' . $this->view_list, false - ) - ); - } - return $cancel; - } - - /** - * Method to save a record. - * - * @param string $key The name of the primary key of the URL variable. - * @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions). - * - * @return boolean True if successful, false otherwise. - * - * @since 12.2 - */ - public function save($key = null, $urlVar = null) - { - // get the referal details - $this->ref = $this->input->get('ref', 0, 'word'); - $this->refid = $this->input->get('refid', 0, 'int'); - - if ($this->ref || $this->refid) - { - // to make sure the item is checkedin on redirect - $this->task = 'save'; - } - - $saved = parent::save($key, $urlVar); - - if ($this->refid && $saved) - { - $redirect = '&view='.(string)$this->ref.'&layout=edit&id='.(int)$this->refid; - - // Redirect to the item screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - elseif ($this->ref && $saved) - { - $redirect = '&view='.(string)$this->ref; - - // Redirect to the list screen. - $this->setRedirect( - JRoute::_( - 'index.php?option=' . $this->option . $redirect, false - ) - ); - } - return $saved; - } - - /** - * Function that allows child controller access to model data - * after the data has been saved. - * - * @param JModel &$model The data model object. - * @param array $validData The validated data. - * - * @return void - * - * @since 11.1 - */ - protected function postSaveHook(JModelLegacy $model, $validData = array()) - {###POSTSAVEHOOK### - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy.php deleted file mode 100644 index 38a10e588..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy.php +++ /dev/null @@ -1,108 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controller library -jimport('joomla.application.component.controller'); - -/** - * General Controller of ###Component### component - */ -class ###Component###Controller extends JControllerLegacy -{ - /** - * display task - * - * @return void - */ - function display($cachable = false, $urlparams = false) - { - // set default view if not set - $view = $this->input->getCmd('view', '###Component###'); - $data = $this->getViewRelation($view); - $layout = $this->input->get('layout', null, 'WORD'); - $id = $this->input->getInt('id'); - - // Check for edit form. - if(###Component###Helper::checkArray($data)) - { - if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_###component###.edit.'.$data['view'], $id)) - { - // Somehow the person just went to the form - we don't allow that. - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id)); - $this->setMessage($this->getError(), 'error'); - // check if item was opend from other then its own list view - $ref = $this->input->getCmd('ref', 0); - $refid = $this->input->getInt('refid', 0); - // set redirect - if ($refid > 0 && ###Component###Helper::checkString($ref)) - { - // redirect to item of ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false)); - } - elseif (###Component###Helper::checkString($ref)) - { - - // redirect to ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref, false)); - } - else - { - // normal redirect back to the list view - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.$data['views'], false)); - } - - return false; - } - } - - return parent::display($cachable, $urlparams); - } - - protected function getViewRelation($view) - { - if (###Component###Helper::checkString($view)) - { - $views = array(###VIEWARRAY### - ); - // check if this is a list view - if (in_array($view,$views)) - { - return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view); - } - // check if it is an edit view - elseif (array_key_exists($view,$views)) - { - return array('edit' => true, 'view' => $view, 'views' => $views[$view]); - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyAjax.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyAjax.php deleted file mode 100644 index b894571b4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyAjax.php +++ /dev/null @@ -1,76 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Ajax Controller - */ -class ###Component###ControllerAjax extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // make sure all json stuff are set - JFactory::getDocument()->setMimeEncoding( 'application/json' ); - JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"'); - JResponse::setHeader("Access-Control-Allow-Origin", "*"); - // load the tasks ###REGISTER_AJAX_TASK### - } - - public function ajax() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token) - { - $task = $this->getTask(); - switch($task) - {###AJAX_INPUT_RETURN### - } - } - else - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode(false).");"; - } - else - { - echo "(".json_encode(false).");"; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyAjaxSite.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyAjaxSite.php deleted file mode 100644 index eabdf1854..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyAjaxSite.php +++ /dev/null @@ -1,76 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Ajax Controller - */ -class ###Component###ControllerAjax extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // make sure all json stuff are set - JFactory::getDocument()->setMimeEncoding( 'application/json' ); - JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"'); - JResponse::setHeader("Access-Control-Allow-Origin", "*"); - // load the tasks ###REGISTER_SITE_AJAX_TASK### - } - - public function ajax() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token) - { - $task = $this->getTask(); - switch($task) - {###AJAX_SITE_INPUT_RETURN### - } - } - else - { - if(array_key_exists('callback',$_GET)) - { - echo $_GET['callback']."(".json_encode(false).");"; - } - else - { - echo "(".json_encode(false).");"; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyHelp.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyHelp.php deleted file mode 100644 index f1c1932f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyHelp.php +++ /dev/null @@ -1,132 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Help Controller - */ -class ###Component###ControllerHelp extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('getText', 'help'); - } - - public function help() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($user->id != 0 && $token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'getText': - try - { - $idValue = $jinput->get('id', 0, 'INT'); - if($idValue) - { - $result = $this->getHelpDocumentText($idValue); - } - else - { - $result = ''; - } - echo $result; - // stop execution gracefully - jexit(); - } - catch(Exception $e) - { - // stop execution gracefully - jexit(); - } - break; - } - } - else - { - // stop execution gracefully - jexit(); - } - } - - protected function getHelpDocumentText($id) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.title','a.content')); - $query->from('#__###component###_help_document AS a'); - $query->where('a.id = '.(int) $id); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $text = array(); - $document = $db->loadObject(); - // fix image issue - $images['src="images'] = 'src="'.JURI::root().'images'; - $images["src='images"] = "src='".JURI::root()."images"; - $images['src="/images'] = 'src="'.JURI::root().'images'; - $images["src='/images"] = "src='".JURI::root()."images"; - // set document template - $text[] = "<!doctype html>"; - $text[] = '<html>'; - $text[] = "<head>"; - $text[] = '<meta charset="utf-8">'; - $text[] = "<title>".$document->title."</title>"; - $text[] = '<link type="text/css" href="'.JURI::root().'media/com_###component###/uikit/css/uikit.gradient.min.css" rel="stylesheet"></link>'; - $text[] = '<script type="text/javascript" src="'.JURI::root().'media/com_###component###/uikit/js/uikit.min.js"></script>'; - $text[] = "</head>"; - $text[] = '<body><br />'; - $text[] = '<div class="uk-container uk-container-center uk-grid-collapse">'; - $text[] = '<div class="uk-panel uk-width-1-1 uk-panel-box uk-panel-box-primary">'; - // build the help text - $text[] = '<h3 class="uk-panel-title">'.$document->title."</h3>"; - $text[] = str_replace(array_keys($images),array_values($images),$document->content); - // end template - $text[] = '</div>'; - $text[] = '</div>'; - $text[] = "</body>"; - $text[] = "</html>"; - - return implode("\n",$text); - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyHelp_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyHelp_site.php deleted file mode 100644 index 6c709416a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacyHelp_site.php +++ /dev/null @@ -1,133 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Help Controller - */ -class ###Component###ControllerHelp extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('getText', 'help'); - } - - public function help() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'getText': - try - { - $idValue = $jinput->get('id', 0, 'INT'); - if($idValue) - { - $result = $this->getHelpDocumentText($idValue); - } - else - { - $result = ''; - } - echo $result; - // stop execution gracefully - jexit(); - } - catch(Exception $e) - { - // stop execution gracefully - jexit(); - } - break; - } - } - else - { - // stop execution gracefully - jexit(); - } - } - - protected function getHelpDocumentText($id) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.title','a.content')); - $query->from('#__###component###_help_document AS a'); - $query->where('a.id = '.(int) $id); - $query->where('a.published = 1'); - $query->where('a.location = 2'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $text = array(); - $document = $db->loadObject(); - // fix image issue - $images['src="images'] = 'src="'.JURI::root().'images'; - $images["src='images"] = "src='".JURI::root()."images"; - $images['src="/images'] = 'src="'.JURI::root().'images'; - $images["src='/images"] = "src='".JURI::root()."images"; - // set document template - $text[] = "<!doctype html>"; - $text[] = '<html>'; - $text[] = "<head>"; - $text[] = '<meta charset="utf-8">'; - $text[] = "<title>".$document->title."</title>"; - $text[] = '<link type="text/css" href="'.JURI::root().'media/com_###component###/uikit/css/uikit.gradient.min.css" rel="stylesheet"></link>'; - $text[] = '<script type="text/javascript" src="'.JURI::root().'media/com_###component###/uikit/js/uikit.min.js"></script>'; - $text[] = "</head>"; - $text[] = '<body><br />'; - $text[] = '<div class="uk-container uk-container-center uk-grid-collapse">'; - $text[] = '<div class="uk-panel uk-width-1-1 uk-panel-box uk-panel-box-primary">'; - // build the help text - $text[] = '<h3 class="uk-panel-title">'.$document->title."</h3>"; - $text[] = str_replace(array_keys($images),array_values($images),$document->content); - // end template - $text[] = '</div>'; - $text[] = '</div>'; - $text[] = "</body>"; - $text[] = "</html>"; - - return implode("\n",$text); - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacySITE.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacySITE.php deleted file mode 100644 index 400aaf6c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacySITE.php +++ /dev/null @@ -1,103 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controller library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Component Controller - */ -class ###Component###Controller extends JControllerLegacy -{ - /** - * display task - * - * @return void - */ - function display($cachable = false, $urlparams = false) - { - // set default view if not set - $view = $this->input->getCmd('view', '###SITE_DEFAULT_VIEW###'); - $isEdit = $this->checkEditView($view); - $layout = $this->input->get('layout', null, 'WORD'); - $id = $this->input->getInt('id'); - $cachable = true; - - // Check for edit form. - if($isEdit) - { - if ($layout == 'edit' && !$this->checkEditId('com_###component###.edit.'.$view, $id)) - { - // Somehow the person just went to the form - we don't allow that. - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id)); - $this->setMessage($this->getError(), 'error'); - // check if item was opend from other then its own list view - $ref = $this->input->getCmd('ref', 0); - $refid = $this->input->getInt('refid', 0); - // set redirect - if ($refid > 0 && ###Component###Helper::checkString($ref)) - { - // redirect to item of ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false)); - } - elseif (###Component###Helper::checkString($ref)) - { - - // redirect to ref - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view='.(string)$ref, false)); - } - else - { - // normal redirect back to the list default site view - $this->setRedirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###', false)); - } - return false; - } - } - - return parent::display($cachable, $urlparams); - } - - protected function checkEditView($view) - { - if (###Component###Helper::checkString($view)) - { - $views = array(###SITE_EDIT_VIEW_ARRAY### - ); - // check if this is a edit view - if (in_array($view,$views)) - { - return true; - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy_custom_admin.php deleted file mode 100644 index 4f892783e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy_custom_admin.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### ###SView### Controller - */ -class ###Component###Controller###SView### extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - } - - public function dashboard() - { - $this->setRedirect(JRoute::_('index.php?option=com_###component###', false)); - return; - }###CUSTOM_ADMIN_CUSTOM_BUTTONS_CONTROLLER### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy_import.php deleted file mode 100644 index c76b962c7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JControllerLegacy_import.php +++ /dev/null @@ -1,70 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### Import Controller - */ -class ###Component###ControllerImport extends JControllerLegacy -{ - /** - * Import an spreadsheet. - * - * @return void - */ - public function import() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - - $model = $this->getModel('import'); - if ($model->import()) - { - $cache = JFactory::getCache('mod_menu'); - $cache->clean(); - // TODO: Reset the users acl here as well to kill off any missing bits - } - - $app = JFactory::getApplication(); - $redirect_url = $app->getUserState('com_###component###.redirect_url'); - if (empty($redirect_url)) - { - $redirect_url = JRoute::_('index.php?option=com_###component###&view=import', false); - } - else - { - // wipe out the user state when we're going to redirect - $app->setUserState('com_###component###.redirect_url', ''); - $app->setUserState('com_###component###.message', ''); - $app->setUserState('com_###component###.extension_message', ''); - } - $this->setRedirect($redirect_url); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldCheckboxes.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldCheckboxes.php deleted file mode 100644 index 3c4cf25bb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldCheckboxes.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('checkboxes'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldCheckboxes -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - ###JFORM_GETOPTIONS_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldList.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldList.php deleted file mode 100644 index 968e01250..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldList.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldList -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; ###ADD_BUTTON### - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - ###JFORM_GETOPTIONS_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldRadio.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldRadio.php deleted file mode 100644 index 14937a693..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldRadio.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('radio'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldRadio -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - ###JFORM_GETOPTIONS_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldUser.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldUser.php deleted file mode 100644 index 0e930fd76..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormFieldUser.php +++ /dev/null @@ -1,71 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('user'); - -/** - * ###Type### Form Field class for the ###Component### component - */ -class JFormField###Type### extends JFormFieldUser -{ - /** - * The ###type### field type. - * - * @var string - */ - public $type = '###type###'; - - /** - * Method to get the filtering groups (null means no filtering) - * - * @return mixed array of filtering groups or null. - * - * @since 1.6 - */ - protected function getGroups() - { - ###JFORM_GETGROUPS_PHP### - } - - /** - * Method to get the users to exclude from the list of users - * - * @return mixed Array of users to exclude or null to to not exclude them - * - * @since 1.6 - */ - protected function getExcluded() - { - ###JFORM_GETEXCLUDED_PHP### - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormRule.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormRule.php deleted file mode 100644 index 9009436ca..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JFormRule.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla formrule library -jimport('joomla.form.formrule'); -/** - * Form Rule class for the Joomla Framework. - */ -class JFormRule###Name### extends JFormRule -{ - /** - * The regular expression. - * - * @access protected - * @var string - * @since 2.5 - */ - protected $regex = '^[^_]+$'; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelAdmin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelAdmin.php deleted file mode 100644 index 09abfaab3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelAdmin.php +++ /dev/null @@ -1,429 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * ###Component### ###View### Model - */ -class ###Component###Model###View### extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_###COMPONENT###'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_###component###.###view###'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = '###view###', $prefix = '###Component###Table', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - {###LICENSE_LOCKED_CHECK### - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - }###METHOD_GET_ITEM### - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_###component###.###view###'); - } - }###LINKEDVIEWGLOBAL### - - return $item; - }###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL### - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - {###JMODELADMIN_GETFORM### - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_###component###/models/forms/###view###.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - {###JMODELADMIN_CANDELETE### - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - {###JMODELADMIN_CANEDITSTATE### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JMODELADMIN_ALLOWEDIT### - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__###component###_###view###')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_###component###.edit.###view###.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - }###VALIDATIONFIX### ###UNIQUEFIELDS### - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - {###JMODELADMIN_BEFORE_DELETE### - if (!parent::delete($pks)) - { - return false; - }###JMODELADMIN_AFTER_DELETE### - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ###Component###Helper::getActions('###view###'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - }###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE### - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - }###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE### - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - }###TITLEALIASFIX### - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - }###GENERATENEWTITLE### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelAdmin_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelAdmin_site.php deleted file mode 100644 index f465d41e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelAdmin_site.php +++ /dev/null @@ -1,410 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * ###Component### ###View### Model - */ -class ###Component###Model###View### extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_###COMPONENT###'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_###component###.###view###'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = '###view###', $prefix = '###Component###Table', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - {###LICENSE_LOCKED_CHECK### - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - }###METHOD_GET_ITEM### - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_###component###.###view###'); - } - }###LINKEDVIEWGLOBAL### - - return $item; - }###LINKEDVIEWMETHODS### ###LICENSE_LOCKED_SET_BOOL### - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - {###JMODELADMIN_GETFORM### - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_###component###/models/forms/###view###.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - {###JMODELADMIN_CANDELETE### - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - {###JMODELADMIN_CANEDITSTATE### - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - {###JMODELADMIN_ALLOWEDIT### - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__###component###_###view###')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_###component###.edit.###view###.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - }###VALIDATIONFIX### ###UNIQUEFIELDS### - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ###Component###Helper::getActions('###view###'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - }###MODEL_BATCH_COPY### ###MODEL_BATCH_MOVE### - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - }###CHECKBOX_SAVE### ###METHOD_ITEM_SAVE### - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - }###TITLEALIASFIX### - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - }###GENERATENEWTITLE### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelItem_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelItem_custom_admin.php deleted file mode 100644 index 5a38162de..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelItem_custom_admin.php +++ /dev/null @@ -1,141 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla modelitem library -jimport('joomla.application.component.modelitem'); - -/** - * ###Component### ###SView### Model - */ -class ###Component###Model###SView### extends JModelItem -{ - /** - * Model context string. - * - * @var string - */ - protected $_context = 'com_###component###.###sview###'; - - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * @var object item - */ - protected $item; - - /** - * Method to auto-populate the model state. - * - * Note. Calling getState in this method will result in recursion. - * - * @since 1.6 - * - * @return void - */ - protected function populateState() - { - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - // Get the item main id - $id = $this->input->getInt('id', null); - $this->setState('###sview###.id', $id); - - // Load the parameters. - parent::populateState(); - } - - /** - * Method to get article data. - * - * @param integer $pk The id of the article. - * - * @return mixed Menu item data object on success, false on failure. - */ - public function getItem($pk = null) - { - $this->user = JFactory::getUser(); - // check if this user has permission to access item - if (!$this->user->authorise('###sview###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect('index.php?option=com_###component###'); - return false; - } - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->initSet = true; - - $pk = (!empty($pk)) ? $pk : (int) $this->getState('###sview###.id');###CUSTOM_ADMIN_BEFORE_GET_ITEM### - - if ($this->_item === null) - { - $this->_item = array(); - }###LICENSE_LOCKED_CHECK### - - if (!isset($this->_item[$pk])) - { - try - {###CUSTOM_ADMIN_GET_ITEM### - } - catch (Exception $e) - { - if ($e->getCode() == 404) - { - // Need to go thru the error handler to allow Redirect to work. - JError::raiseError(404, $e->getMessage()); - } - else - { - $this->setError($e); - $this->_item[$pk] = false; - } - } - }###CUSTOM_ADMIN_AFTER_GET_ITEM### - - return $this->_item[$pk]; - }###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelItem_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelItem_site.php deleted file mode 100644 index 1a35c99cd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelItem_site.php +++ /dev/null @@ -1,143 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla modelitem library -jimport('joomla.application.component.modelitem'); - -/** - * ###Component### ###SView### Model - */ -class ###Component###Model###SView### extends JModelItem -{ - /** - * Model context string. - * - * @var string - */ - protected $_context = 'com_###component###.###sview###'; - - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * @var object item - */ - protected $item; - - /** - * Method to auto-populate the model state. - * - * Note. Calling getState in this method will result in recursion. - * - * @since 1.6 - * - * @return void - */ - protected function populateState() - { - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - // Get the itme main id - $id = $this->input->getInt('id', null); - $this->setState('###sview###.id', $id); - - // Load the parameters. - $params = $this->app->getParams(); - $this->setState('params', $params); - parent::populateState(); - } - - /** - * Method to get article data. - * - * @param integer $pk The id of the article. - * - * @return mixed Menu item data object on success, false on failure. - */ - public function getItem($pk = null) - { - $this->user = JFactory::getUser(); - // check if this user has permission to access item - if (!$this->user->authorise('site.###sview###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); - return false; - } - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->initSet = true; - - $pk = (!empty($pk)) ? $pk : (int) $this->getState('###sview###.id');###SITE_BEFORE_GET_ITEM### - - if ($this->_item === null) - { - $this->_item = array(); - }###LICENSE_LOCKED_CHECK### - - if (!isset($this->_item[$pk])) - { - try - {###SITE_GET_ITEM### - } - catch (Exception $e) - { - if ($e->getCode() == 404) - { - // Need to go thru the error handler to allow Redirect to work. - JError::raiseError(404, $e->getMessage()); - } - else - { - $this->setError($e); - $this->_item[$pk] = false; - } - } - }###SITE_AFTER_GET_ITEM### - - return $this->_item[$pk]; - }###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelLegacy_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelLegacy_import.php deleted file mode 100644 index a39f22fa7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelLegacy_import.php +++ /dev/null @@ -1,735 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * ###Component### Import Model - */ -class ###Component###ModelImport extends JModelLegacy -{ - /** - * @var object JTable object - */ - protected $_table = null; - - /** - * @var object JTable object - */ - protected $_url = null; - - /** - * Model context string. - * - * @var string - */ - protected $_context = 'com_###component###.import'; - - /** - * Import Settings - */ - protected $getType = NULL; - protected $dataType = NULL; - - /** - * Method to auto-populate the model state. - * - * Note. Calling getState in this method will result in recursion. - * - * @return void - * - */ - protected function populateState() - { - $app = JFactory::getApplication('administrator'); - - $this->setState('message', $app->getUserState('com_###component###.message')); - $app->setUserState('com_###component###.message', ''); - - // Recall the 'Import from Directory' path. - $path = $app->getUserStateFromRequest($this->_context . '.import_directory', 'import_directory', $app->get('tmp_path')); - $this->setState('import.directory', $path); - // set uploading values - $this->use_streams = false; - $this->allow_unsafe = false; - $this->safeFileOptions = array(); - parent::populateState(); - } - - /** - * Import an spreadsheet from either folder, url or upload. - * - * @return boolean result of import - * - */ - public function import() - { - $this->setState('action', 'import'); - $app = JFactory::getApplication(); - $session = JFactory::getSession(); - $package = null; - $continue = false; - // get import type - $this->getType = $app->input->getString('gettype', NULL); - // get import type - $this->dataType = $session->get('dataType_VDM_IMPORTINTO', NULL); - - if ($package === null) - { - switch ($this->getType) - { - case 'folder': - // Remember the 'Import from Directory' path. - $app->getUserStateFromRequest($this->_context . '.import_directory', 'import_directory'); - $package = $this->_getPackageFromFolder(); - break; - - case 'upload': - $package = $this->_getPackageFromUpload(); - break; - - case 'url': - $package = $this->_getPackageFromUrl(); - break; - - case 'continue': - $continue = true; - $package = $session->get('package', null); - $package = json_decode($package, true); - // clear session - $session->clear('package'); - $session->clear('dataType'); - $session->clear('hasPackage'); - break; - - default: - $app->setUserState('com_###component###.message', JText::_('COM_###COMPONENT###_IMPORT_NO_IMPORT_TYPE_FOUND')); - - return false; - break; - } - } - // Was the package valid? - if (!$package || !$package['type']) - { - if (in_array($this->getType, array('upload', 'url'))) - { - $this->remove($package['packagename']); - } - - $app->setUserState('com_###component###.message', JText::_('COM_###COMPONENT###_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE')); - return false; - } - - // first link data to table headers - if(!$continue){ - $package = json_encode($package); - $session->set('package', $package); - $session->set('dataType', $this->dataType); - $session->set('hasPackage', true); - return true; - } - - // set the data - $headerList = json_decode($session->get($this->dataType.'_VDM_IMPORTHEADERS', false), true); - if (!$this->setData($package,$this->dataType,$headerList)) - { - // There was an error importing the package - $msg = JText::_('COM_###COMPONENT###_IMPORT_ERROR'); - $back = $session->get('backto_VDM_IMPORT', NULL); - if ($back) - { - $app->setUserState('com_###component###.redirect_url', 'index.php?option=com_###component###&view='.$back); - $session->clear('backto_VDM_IMPORT'); - } - $result = false; - } - else - { - // Package imported sucessfully - $msg = JText::sprintf('COM_###COMPONENT###_IMPORT_SUCCESS', $package['packagename']); - $back = $session->get('backto_VDM_IMPORT', NULL); - if ($back) - { - $app->setUserState('com_###component###.redirect_url', 'index.php?option=com_###component###&view='.$back); - $session->clear('backto_VDM_IMPORT'); - } - $result = true; - } - - // Set some model state values - $app->enqueueMessage($msg); - - // remove file after import - $this->remove($package['packagename']); - $session->clear($this->getType.'_VDM_IMPORTHEADERS'); - - return $result; - } - - /** - * Works out an importation spreadsheet from a HTTP upload - * - * @return spreadsheet definition or false on failure - */ - protected function _getPackageFromUpload() - { - // Get the uploaded file information - $input = JFactory::getApplication()->input; - - // Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get. - $userfile = $input->files->get('import_package', null, 'raw'); - - // Make sure that file uploads are enabled in php - if (!(bool) ini_get('file_uploads')) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTFILE')); - return false; - } - - // If there is no uploaded file, we have a problem... - if (!is_array($userfile)) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_NO_FILE_SELECTED')); - return false; - } - - // Check if there was a problem uploading the file. - if ($userfile['error'] || $userfile['size'] < 1) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_WARNIMPORTUPLOADERROR')); - return false; - } - - // Build the appropriate paths - $config = JFactory::getConfig(); - $tmp_dest = $config->get('tmp_path') . '/' . $userfile['name']; - $tmp_src = $userfile['tmp_name']; - - // Move uploaded file - jimport('joomla.filesystem.file'); - $p_file = JFile::upload($tmp_src, $tmp_dest, $this->use_streams, $this->allow_unsafe, $this->safeFileOptions); - - // Was the package downloaded? - if (!$p_file) - { - $session = JFactory::getSession(); - $session->clear('package'); - $session->clear('dataType'); - $session->clear('hasPackage'); - // was not uploaded - return false; - } - - // check that this is a valid spreadsheet - $package = $this->check($userfile['name']); - - return $package; - } - - /** - * Import an spreadsheet from a directory - * - * @return array Spreadsheet details or false on failure - * - */ - protected function _getPackageFromFolder() - { - $input = JFactory::getApplication()->input; - - // Get the path to the package to import - $p_dir = $input->getString('import_directory'); - $p_dir = JPath::clean($p_dir); - // Did you give us a valid path? - if (!file_exists($p_dir)) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY')); - return false; - } - - // Detect the package type - $type = $this->getType; - - // Did you give us a valid package? - if (!$type) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE')); - } - - // check the extention - switch(strtolower(pathinfo($p_dir, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); - return false; - break; - } - - $package['packagename'] = null; - $package['dir'] = $p_dir; - $package['type'] = $type; - - return $package; - } - - /** - * Import an spreadsheet from a URL - * - * @return Package details or false on failure - * - */ - protected function _getPackageFromUrl() - { - $input = JFactory::getApplication()->input; - - // Get the URL of the package to import - $url = $input->getString('import_url'); - - // Did you give us a URL? - if (!$url) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL')); - return false; - } - - // Download the package at the URL given - $p_file = JInstallerHelper::downloadPackage($url); - - // Was the package downloaded? - if (!$p_file) - { - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_INVALID_URL')); - return false; - } - - // check that this is a valid spreadsheet - $package = $this->check($p_file); - - return $package; - } - - /** - * Check a file and verifies it as a spreadsheet file - * Supports .csv .xlsx .xls and .ods - * - * @param string $p_filename The uploaded package filename or import directory - * - * @return array of elements - * - */ - protected function check($archivename) - { - // Clean the name - $archivename = JPath::clean($archivename); - - // check the extention - switch(strtolower(pathinfo($archivename, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: - // Cleanup the import files - $this->remove($archivename); - JError::raiseWarning('', JText::_('COM_###COMPONENT###_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); - return false; - break; - } - - $config = JFactory::getConfig(); - // set Package Name - $check['packagename'] = $archivename; - - // set directory - $check['dir'] = $config->get('tmp_path'). '/' .$archivename; - - // set type - $check['type'] = $this->getType; - - return $check; - } - - /** - * Clean up temporary uploaded spreadsheet - * - * @param string $package Name of the uploaded spreadsheet file - * - * @return boolean True on success - * - */ - protected function remove($package) - { - jimport('joomla.filesystem.file'); - - $config = JFactory::getConfig(); - $package = $config->get('tmp_path'). '/' .$package; - - // Is the package file a valid file? - if (is_file($package)) - { - JFile::delete($package); - } - elseif (is_file(JPath::clean($package))) - { - // It might also be just a base filename - JFile::delete(JPath::clean($package)); - } - } - - /** - * Set the data from the spreadsheet to the database - * - * @param string $package Paths to the uploaded package file - * - * @return boolean false on failure - * - **/ - protected function setData($package,$table,$target_headers) - { - if (###Component###Helper::checkArray($target_headers)) - { - // make sure the file is loaded - JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers'); - $jinput = JFactory::getApplication()->input; - foreach($target_headers as $header) - { - $data['target_headers'][$header] = $jinput->getString($header, null); - } - // set the data - if(isset($package['dir'])) - { - $inputFileType = PHPExcel_IOFactory::identify($package['dir']); - $excelReader = PHPExcel_IOFactory::createReader($inputFileType); - $excelReader->setReadDataOnly(true); - $excelObj = $excelReader->load($package['dir']); - $data['array'] = $excelObj->getActiveSheet()->toArray(null, true,true,true); - $excelObj->disconnectWorksheets(); - unset($excelObj); - return $this->save($data,$table); - } - } - return false; - } - - /** - * Save the data from the file to the database - * - * @param string $package Paths to the uploaded package file - * - * @return boolean false on failure - * - **/ - protected function save($data,$table) - { - // import the data if there is any - if(###Component###Helper::checkArray($data['array'])) - { - // get user object - $user = JFactory::getUser(); - // remove header if it has headers - $id_key = $data['target_headers']['id']; - $published_key = $data['target_headers']['published']; - $ordering_key = $data['target_headers']['ordering']; - // get the first array set - $firstSet = reset($data['array']); - - // check if first array is a header array and remove if true - if($firstSet[$id_key] == 'id' || $firstSet[$published_key] == 'published' || $firstSet[$ordering_key] == 'ordering') - { - array_shift($data['array']); - } - - // make sure there is still values in array and that it was not only headers - if(###Component###Helper::checkArray($data['array']) && $user->authorise($table.'.import', 'com_###component###') && $user->authorise('core.import', 'com_###component###')) - { - // set target. - $target = array_flip($data['target_headers']); - // Get a db connection. - $db = JFactory::getDbo(); - // set some defaults - $todayDate = JFactory::getDate()->toSql(); - // get global action permissions - $canDo = ###Component###Helper::getActions($table); - $canEdit = $canDo->get('core.edit'); - $canState = $canDo->get('core.edit.state'); - $canCreate = $canDo->get('core.create'); - $hasAlias = $this->getAliasesUsed($table); - // prosses the data - foreach($data['array'] as $row) - { - $found = false; - if (isset($row[$id_key]) && is_numeric($row[$id_key]) && $row[$id_key] > 0) - { - // raw items import & update! - $query = $db->getQuery(true); - $query - ->select('version') - ->from($db->quoteName('#__###component###_'.$table)) - ->where($db->quoteName('id') . ' = '. $db->quote($row[$id_key])); - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - } - - if($found && $canEdit) - { - // update item - $id = $row[$id_key]; - $version = $db->loadResult(); - // reset all buckets - $query = $db->getQuery(true); - $fields = array(); - $version = false; - // Fields to update. - foreach($row as $key => $cell) - { - // ignore column - if ('IGNORE' == $target[$key]) - { - continue; - } - // update modified - if ('modified_by' == $target[$key]) - { - continue; - } - // update modified - if ('modified' == $target[$key]) - { - continue; - } - // update version - if ('version' == $target[$key]) - { - $cell = (int) $version + 1; - $version = true; - } - // verify publish authority - if ('published' == $target[$key] && !$canState) - { - continue; - } - // set to update array - if(in_array($key, $data['target_headers']) && is_numeric($cell)) - { - $fields[] = $db->quoteName($target[$key]) . ' = ' . $cell; - } - elseif(in_array($key, $data['target_headers']) && is_string($cell)) - { - $fields[] = $db->quoteName($target[$key]) . ' = ' . $db->quote($cell); - } - elseif(in_array($key, $data['target_headers']) && is_null($cell)) - { - // if import data is null then set empty - $fields[] = $db->quoteName($target[$key]) . " = ''"; - } - } - // load the defaults - $fields[] = $db->quoteName('modified_by') . ' = ' . $db->quote($user->id); - $fields[] = $db->quoteName('modified') . ' = ' . $db->quote($todayDate); - if (!$version) - { - $fields[] = $db->quoteName('version') . " = " . (int) $version + 1; - } - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('id') . ' = ' . $id - ); - - $query->update($db->quoteName('#__###component###_'.$table))->set($fields)->where($conditions); - $db->setQuery($query); - $db->execute(); - } - elseif ($canCreate) - { - // insert item - $query = $db->getQuery(true); - // reset all buckets - $columns = array(); - $values = array(); - $version = false; - // Insert columns. Insert values. - foreach($row as $key => $cell) - { - // ignore column - if ('IGNORE' == $target[$key]) - { - continue; - } - // remove id - if ('id' == $target[$key]) - { - continue; - } - // update created - if ('created_by' == $target[$key]) - { - continue; - } - // update created - if ('created' == $target[$key]) - { - continue; - } - // Make sure the alias is incremented - if ('alias' == $target[$key]) - { - $cell = $this->getAlias($cell,$table); - } - // update version - if ('version' == $target[$key]) - { - $cell = 1; - $version = true; - } - // set to insert array - if(in_array($key, $data['target_headers']) && is_numeric($cell)) - { - $columns[] = $target[$key]; - $values[] = $cell; - } - elseif(in_array($key, $data['target_headers']) && is_string($cell)) - { - $columns[] = $target[$key]; - $values[] = $db->quote($cell); - } - elseif(in_array($key, $data['target_headers']) && is_null($cell)) - { - // if import data is null then set empty - $columns[] = $target[$key]; - $values[] = "''"; - } - } - // load the defaults - $columns[] = 'created_by'; - $values[] = $db->quote($user->id); - $columns[] = 'created'; - $values[] = $db->quote($todayDate); - if (!$version) - { - $columns[] = 'version'; - $values[] = 1; - } - // Prepare the insert query. - $query - ->insert($db->quoteName('#__###component###_'.$table)) - ->columns($db->quoteName($columns)) - ->values(implode(',', $values)); - // Set the query using our newly populated query object and execute it. - $db->setQuery($query); - $done = $db->execute(); - if ($done) - { - $aId = $db->insertid(); - // make sure the access of asset is set - ###Component###Helper::setAsset($aId,$table); - } - } - else - { - return false; - } - } - return true; - } - } - return false; - } - - protected function getAlias($name,$type = false) - { - // sanitize the name to an alias - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $alias = JFilterOutput::stringURLUnicodeSlug($name); - } - else - { - $alias = JFilterOutput::stringURLSafe($name); - } - // must be a uniqe alias - if ($type) - { - return $this->getUniqe($alias,'alias',$type); - } - return $alias; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * @param string $type table. - * - * @return string New value. - */ - protected function getUniqe($value,$field,$type) - { - // insure the filed is always uniqe - while (isset($this->uniqeValueArray[$type][$field][$value])) - { - $value = JString::increment($value, 'dash'); - } - $this->uniqeValueArray[$type][$field][$value] = $value; - return $value; - } - - protected function getAliasesUsed($table) - { - // Get a db connection. - $db = JFactory::getDbo(); - // first we check if there is a alias column - $columns = $db->getTableColumns('#__###component###_'.$table); - if(isset($columns['alias'])){ - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('alias'))); - $query->from($db->quoteName('#__###component###_'.$table)); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $aliases = $db->loadColumn(); - foreach($aliases as $alias) - { - $this->uniqeValueArray[$table]['alias'][$alias] = $alias; - } - } - return true; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList.php deleted file mode 100644 index 15c87b6af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList.php +++ /dev/null @@ -1,126 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * ###Views### Model - */ -class ###Component###Model###Views### extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - ###FILTER_FIELDS### - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - ###POPULATESTATE### - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - {###LICENSE_LOCKED_CHECK### ###CHECKINCALL### - // load parent items - $items = parent::getItems();###GET_ITEMS_METHOD_STRING_FIX### ###SELECTIONTRANSLATIONFIX### - - // return items - return $items; - }###SELECTIONTRANSLATIONFIXFUNC### - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - {###LICENSE_LOCKED_CHECK### - ###LISTQUERY### - }###MODELEXPORTMETHOD### ###LICENSE_LOCKED_SET_BOOL### - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - ###STOREDID### - - return parent::getStoreId($id); - }###AUTOCHECKIN### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelListAjax.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelListAjax.php deleted file mode 100644 index 794cade2e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelListAjax.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -jimport('joomla.application.component.helper'); - -/** - * ###Component### Ajax Model - */ -class ###Component###ModelAjax extends JModelList -{ - protected $app_params; - - public function __construct() - { - parent::__construct(); - // get params - $this->app_params = JComponentHelper::getParams('com_###component###'); - - }###AJAX_MODEL_METHODS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelListAjaxSite.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelListAjaxSite.php deleted file mode 100644 index bed21f089..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelListAjaxSite.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -jimport('joomla.application.component.helper'); - -/** - * ###Component### Ajax Model - */ -class ###Component###ModelAjax extends JModelList -{ - protected $app_params; - - public function __construct() - { - parent::__construct(); - // get params - $this->app_params = JComponentHelper::getParams('com_###component###'); - - }###AJAX_SITE_MODEL_METHODS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList_custom_admin.php deleted file mode 100644 index 16ad0f229..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList_custom_admin.php +++ /dev/null @@ -1,98 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * ###Component### Model for ###SViews### - */ -class ###Component###Model###SViews### extends JModelList -{ - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the current user for authorisation checks - $this->user = JFactory::getUser(); - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - $this->initSet = true;###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY### ###CUSTOM_ADMIN_GET_LIST_QUERY### - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - $user = JFactory::getUser(); - // check if this user has permission to access items - if (!$user->authorise('###sviews###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect('index.php?option=com_###component###'); - return false; - }###LICENSE_LOCKED_CHECK### ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### - // load parent items - $items = parent::getItems(); - - // Get the global params - $globalParams = JComponentHelper::getParams('com_###component###', true);###CUSTOM_ADMIN_GET_ITEMS### ###CUSTOM_ADMIN_AFTER_GET_ITEMS### - - // return items - return $items; - }###CUSTOM_ADMIN_CUSTOM_METHODS### ###LICENSE_LOCKED_SET_BOOL### ###CUSTOM_ADMIN_CUSTOM_BUTTONS_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList_site.php deleted file mode 100644 index 9d26f70e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JModelList_site.php +++ /dev/null @@ -1,98 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * ###Component### Model for ###SViews### - */ -class ###Component###Model###SViews### extends JModelList -{ - /** - * Model user data. - * - * @var strings - */ - protected $user; - protected $userId; - protected $guest; - protected $groups; - protected $levels; - protected $app; - protected $input; - protected $uikitComp; - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the current user for authorisation checks - $this->user = JFactory::getUser(); - $this->userId = $this->user->get('id'); - $this->guest = $this->user->get('guest'); - $this->groups = $this->user->get('groups'); - $this->authorisedGroups = $this->user->getAuthorisedGroups(); - $this->levels = $this->user->getAuthorisedViewLevels(); - $this->app = JFactory::getApplication(); - $this->input = $this->app->input; - $this->initSet = true;###SITE_CUSTOM_BEFORE_LIST_QUERY### ###SITE_GET_LIST_QUERY### - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - $user = JFactory::getUser(); - // check if this user has permission to access items - if (!$user->authorise('site.###sview###.access', 'com_###component###')) - { - JError::raiseWarning(500, JText::_('Not authorised!')); - // redirect away if not a correct (TODO for now we go to default view) - JFactory::getApplication()->redirect(JRoute::_('index.php?option=com_###component###&view=###SITE_DEFAULT_VIEW###')); - return false; - }###LICENSE_LOCKED_CHECK### ###SITE_BEFORE_GET_ITEMS### - // load parent items - $items = parent::getItems(); - - // Get the global params - $globalParams = JComponentHelper::getParams('com_###component###', true);###SITE_GET_ITEMS### ###SITE_AFTER_GET_ITEMS### - - // return items - return $items; - }###LICENSE_LOCKED_SET_BOOL### ###SITE_CUSTOM_METHODS### ###SITE_CUSTOM_BUTTONS_METHOD### ###SITE_CUSTOM_GET_FORM_METHOD### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JTable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JTable.php deleted file mode 100644 index e111122de..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JTable.php +++ /dev/null @@ -1,351 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * ###Views### Table class - */ -class ###Component###Table###View### extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__###component###_###view###', 'id', $db);###JTABLECONSTRUCTOR### ###LICENSE_LOCKED_CHECK### - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the ###View### table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New ###view###. A ###view### created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('###view###', '###Component###Table'); - - if ($table->load(array('alias' => $this->alias###JTABLEALIASCATEGORY###)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_###COMPONENT###_###VIEW###_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('###view###', '###component###Table'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_###component###.###view###.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - }###LICENSE_LOCKED_SET_BOOL### - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_###component###.###view###.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_###component###'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_custom_admin.php deleted file mode 100644 index f5ee5d62e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_custom_admin.php +++ /dev/null @@ -1,113 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###CUSTOM_ADMIN_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SView### - */ -class ###Component###View###SView### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get component params - $this->params = JComponentHelper::getParams('com_###component###'); - // get the application - $this->app = JFactory::getApplication(); - // get the user object - $this->user = JFactory::getUser(); - // get global action permissions - $this->canDo = ###Component###Helper::getActions('###sview###');###CUSTOM_ADMIN_DIPLAY_METHOD### - }###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function setDocument() - {###CUSTOM_ADMIN_DOCUMENT_METADATA### ###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sview###.css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // hide the main menu - $this->app->input->set('hidemainmenu', true); - // set the title - if ($this->item->name) - { - $title = $this->item->name; - } - // Check for empty title and add view name if param is set - if (empty($title)) - { - $title = JText::_('COM_###COMPONENT###_###SVIEW###'); - } - // add title to the page - JToolbarHelper::title($title,'###ICOMOON###'); - // add the back button - // JToolBarHelper::custom('###sview###.back', 'undo-2', '', 'COM_###COMPONENT###_BACK', false); - // add cpanel button - JToolBarHelper::custom('###sview###.dashboard', 'grid-2', '', 'COM_###COMPONENT###_DASH', false);###CUSTOM_ADMIN_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sviews###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - }###CUSTOM_ADMIN_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } -} -?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_edit.php deleted file mode 100644 index f70f39336..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_edit.php +++ /dev/null @@ -1,128 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###View### View class - */ -class ###Component###View###View### extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ###Component###Helper::getActions('###view###',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - }###LINKEDVIEWITEMS### - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - ###ADDTOOLBAR### - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ###Component###Helper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###view###.css");###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS### - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_###component###/views/###view###/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_edit_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_edit_site.php deleted file mode 100644 index a0bacf906..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_edit_site.php +++ /dev/null @@ -1,137 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###View### View class - */ -class ###Component###View###View### extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ###Component###Helper::getActions('###view###',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - }###LINKEDVIEWITEMS### - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // adding the joomla edit toolbar to the front - JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php'); - ###ADDTOOLBAR### - // now initiate the toolbar - $this->toolbar = JToolbar::getInstance(); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ###Component###Helper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_###COMPONENT###_###VIEW###_NEW' : 'COM_###COMPONENT###_###VIEW###_EDIT')); - // we need this to fix the form display - $document->addStyleSheet(JURI::root()."administrator/templates/isis/css/template.css"); - $document->addScript(JURI::root()."administrator/templates/isis/js/template.js"); - // the default style of this view - $document->addStyleSheet(JURI::root()."components/com_###component###/assets/css/###view###.css");###AJAXTOKE### ###LINKEDVIEWTABLESCRIPTS### - // default javascript of this view - $document->addScript(JURI::root().$this->script); - $document->addScript(JURI::root(). "components/com_###component###/views/###view###/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_import.php deleted file mode 100644 index bcde6c9d7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_import.php +++ /dev/null @@ -1,113 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###Component### Import View - */ -class ###Component###ViewImport extends JViewLegacy -{ - protected $headerList; - protected $hasPackage = false; - protected $headers; - protected $hasHeader = 0; - protected $dataType; - - public function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ###Component###Helper::addSubmenu('import'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))){ - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - $paths = new stdClass; - $paths->first = ''; - $state = $this->get('state'); - - $this->paths = &$paths; - $this->state = &$state; - // get global action permissions - $this->canDo = ###Component###Helper::getActions('import'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - } - - // get the session object - $session = JFactory::getSession(); - // check if it has package - $this->hasPackage = $session->get('hasPackage', false); - $this->dataType = $session->get('dataType', false); - if($this->hasPackage && $this->dataType) - { - $this->headerList = json_decode($session->get($this->dataType.'_VDM_IMPORTHEADERS', false),true); - $this->headers = ###Component###Helper::getFileHeaders($this->dataType); - // clear the data type - $session->clear('dataType'); - } - - // Display the template - parent::display($tpl); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_###COMPONENT###_IMPORT_TITLE'), 'upload'); - JHtmlSidebar::setAction('index.php?option=com_###component###&view=import'); - - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('import'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list.php deleted file mode 100644 index b1d3e52ce..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list.php +++ /dev/null @@ -1,233 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###Component### View class for the ###Views### - */ -class ###Component###View###Views### extends JViewLegacy -{ - /** - * ###Views### view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ###Component###Helper::addSubmenu('###views###'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ###Component###Helper::getActions('###view###');###JVIEWLISTCANDO### - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_###COMPONENT###_###VIEWS###'), '###ICOMOON###'); - JHtmlSidebar::setAction('index.php?option=com_###component###&view=###views###'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('###view###.add'); - } - - // Only load if there are items - if (###Component###Helper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('###view###.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('###views###.publish'); - JToolBarHelper::unpublishList('###views###.unpublish'); - JToolBarHelper::archiveList('###views###.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('###views###.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - }###CUSTOM_ADMIN_DYNAMIC_BUTTONS### - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', '###views###.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('###views###.trash'); - }###EXPORTBUTTON### - }###IMPORTBUTTON### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###views###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_###COMPONENT###_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_###COMPONENT###_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } ###CATEGORYFILTER### ###OTHERFILTERS### - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_###COMPONENT###_###VIEWS###')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_###component###/assets/css/###views###.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ###Component###Helper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - ###SORTFIELDS### - } ###FILTERFUNCTIONS### -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list_custom_admin.php deleted file mode 100644 index 17f7e54b0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list_custom_admin.php +++ /dev/null @@ -1,102 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###CUSTOM_ADMIN_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SViews### - */ -class ###Component###View###SViews### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get component params - $this->params = JComponentHelper::getParams('com_###component###'); - // get the application - $this->app = JFactory::getApplication(); - // get the user object - $this->user = JFactory::getUser(); - // get global action permissions - $this->canDo = ###Component###Helper::getActions('###sview###');###CUSTOM_ADMIN_DIPLAY_METHOD### - }###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function setDocument() - {###CUSTOM_ADMIN_UIKIT_LOADER### ###CUSTOM_ADMIN_GOOGLECHART_LOADER### ###CUSTOM_ADMIN_FOOTABLE_LOADER### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sviews###.css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS### ###CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // hide the main menu - $this->app->input->set('hidemainmenu', true); - // add title to the page - JToolbarHelper::title(JText::_('COM_###COMPONENT###_###SVIEWS###'),'###ICOMOON###'); - // add the back button - // JToolBarHelper::custom('###sviews###.back', 'undo-2', '', 'COM_###COMPONENT###_BACK', false); - // add cpanel button - JToolBarHelper::custom('###sviews###.dashboard', 'grid-2', '', 'COM_###COMPONENT###_DASH', false);###CUSTOM_ADMIN_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sviews###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_###component###'); - } - }###CUSTOM_ADMIN_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list_site.php deleted file mode 100644 index 8a40e709a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_list_site.php +++ /dev/null @@ -1,90 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###SITE_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SViews### - */ -class ###Component###View###SViews### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get combined params of both component and menu - $this->app = JFactory::getApplication(); - $this->params = $this->app->getParams(); - $this->menu = $this->app->getMenu()->getActive(); - // get the user object - $this->user = JFactory::getUser();###SITE_DIPLAY_METHOD### - }###SITE_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function _prepareDocument() - {###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // adding the joomla toolbar to the front - JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');###SITE_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sviews###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - // now initiate the toolbar - $this->toolbar = JToolbar::getInstance(); - }###SITE_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var, $sorten = false, $length = 40) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset, $sorten, $length); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_site.php deleted file mode 100644 index fd3d54590..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/JViewLegacy_site.php +++ /dev/null @@ -1,90 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -// import Joomla view library -jimport('joomla.application.component.view');###SITE_GET_MODULE_JIMPORT### - -/** - * ###Component### View class for the ###SView### - */ -class ###Component###View###SView### extends JViewLegacy -{ - // Overwriting JView display method - function display($tpl = null) - { - // get combined params of both component and menu - $this->app = JFactory::getApplication(); - $this->params = $this->app->getParams(); - $this->menu = $this->app->getMenu()->getActive(); - // get the user object - $this->user = JFactory::getUser();###SITE_DIPLAY_METHOD### - }###SITE_EXTRA_DIPLAY_METHODS### - - /** - * Prepares the document - */ - protected function _prepareDocument() - {###SITE_UIKIT_LOADER### ###SITE_GOOGLECHART_LOADER### ###SITE_FOOTABLE_LOADER### ###SITE_DOCUMENT_METADATA### ###SITE_DOCUMENT_CUSTOM_PHP### - // add the document default css file - $this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css');###SITE_DOCUMENT_CUSTOM_CSS### ###SITE_DOCUMENT_CUSTOM_JS### - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - // adding the joomla toolbar to the front - JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');###SITE_CUSTOM_BUTTONS### - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('###sview###'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - // now initiate the toolbar - $this->toolbar = JToolbar::getInstance(); - }###SITE_GET_MODULE### - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var, $sorten = false, $length = 40) - { - // use the helper htmlEscape method instead. - return ###Component###Helper::htmlEscape($var, $this->_charset, $sorten, $length); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/LICENSE.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/LICENSE.txt deleted file mode 100644 index df50810b8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/LICENSE.txt +++ /dev/null @@ -1,340 +0,0 @@ -GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - 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. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 Library General -Public License instead of this License. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/README.md b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/README.md deleted file mode 100644 index dbb7b6a53..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/README.md +++ /dev/null @@ -1 +0,0 @@ -###README### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/access.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/access.xml deleted file mode 100644 index 86efa0364..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/access.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<access component="com_###component###"> - ###ACCESS_SECTIONS### -</access> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/admin.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/admin.css deleted file mode 100644 index 0d5304ea3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/admin.css +++ /dev/null @@ -1,7 +0,0 @@ -###BOM### - -/* CSS Document */ -.no-click { - pointer-events: none; -} -###ADMINCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/admin.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/admin.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/ajax.json.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/ajax.json.php deleted file mode 100644 index c4662ea93..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/ajax.json.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Ajax Controller - */ -class ###Component###ControllerAjax extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // make sure all json stuff are set - JFactory::getDocument()->setMimeEncoding( 'application/json' ); - JResponse::setHeader('Content-Disposition','attachment;filename="getajax.json"'); - JResponse::setHeader("Access-Control-Allow-Origin", "*"); - // load the tasks - $this->registerTask('fieldRequired', 'ajax'); - } - - public function ajax() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($user->id != 0 && $token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'fieldRequired': - try - { - $name = $jinput->get('name', NULL, 'WORD'); - $form = $jinput->get('form', NULL, 'WORD'); - $status = $jinput->get('status', NULL, 'INT'); - - if (###Component###Helper::checkString($name) && ###Component###Helper::checkString($form)) - { - $result = $this->getModel('ajax')->setFieldRequired($name,$form,$status); - } - else - { - $result = false; - } - if(array_key_exists('callback',$_GET)){ - echo $_GET['callback'] . "(".json_encode($result).");"; - } else { - echo "(".json_encode($result).");"; - } - } - catch(Exception $e) - { - if(array_key_exists('callback',$_GET)){ - echo $_GET['callback']."(".json_encode($e).");"; - } else { - echo "(".json_encode($e).");"; - } - } - break; - } - } else { - if(array_key_exists('callback',$_GET)){ - echo $_GET['callback']."(".json_encode(false).");"; - } else { - echo "(".json_encode(false).");"; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/ajax.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/ajax.php deleted file mode 100644 index a98c3cf0e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/ajax.php +++ /dev/null @@ -1,88 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -jimport('joomla.application.component.helper'); - -/** - * ###Component### Ajax Model - */ -class ###Component###ModelAjax extends JModelList -{ - protected $app_params; - - public function __construct() - { - parent::__construct(); - // get params - $this->app_params = JComponentHelper::getParams('com_###component###'); - - } - - public function setFieldRequired($name,$form,$status) - { - // get the session - $session = JFactory::getSession(); - // get this forms set fields - $fields = $session->get($form.'_requiredFieldFix'); - if(###Component###Helper::checkArray($fields)) - { - if ($status == 1) - { - $fields[] = $name; - $fields = array_unique($fields); - } - else - { - // remove from array - if(($key = array_search($name, $fields)) !== false) { - unset($fields[$key]); - } - } - } - else - { - if ($status == 1) - { - $fields = array($name); - } - } - // load the remaining values to seesion - if(###Component###Helper::checkArray($fields)) - { - $session->set($form.'_requiredFieldFix', $fields); - } - else - { - $session->clear($form.'_requiredFieldFix'); - } - return true; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/batch_.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/batch_.php deleted file mode 100644 index 75bc62fcb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/batch_.php +++ /dev/null @@ -1,95 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('JPATH_PLATFORM') or die; - -/** - * Utility class to render a list view batch selection options - * - * @since 3.0 - */ -abstract class JHtmlBatch_ -{ - /** - * ListSelection - * - * @var array - * @since 3.0 - */ - protected static $ListSelection = array(); - - /** - * Render the batch selection options. - * - * @return string The necessary HTML to display the batch selection options - * - * @since 3.0 - */ - public static function render() - { - // Collect display data - $data = new stdClass; - $data->ListSelection = static::getListSelection(); - - // Create a layout object and ask it to render the batch selection options - $layout = new JLayoutFile('batchselection'); - $batchHtml = $layout->render($data); - - return $batchHtml; - } - - /** - * Method to add a list selection to the batch modal - * - * @param string $label Label for the menu item. - * @param string $name Name for the filter. Also used as id. - * @param string $options Options for the select field. - * @param bool $noDefault Don't the label as the empty option - * - * @return void - * - * @since 3.0 - */ - public static function addListSelection($label, $name, $options, $noDefault = false) - { - array_push(static::$ListSelection, array('label' => $label, 'name' => $name, 'options' => $options, 'noDefault' => $noDefault)); - } - - /** - * Returns an array of all ListSelection - * - * @return array - * - * @since 3.0 - */ - public static function getListSelection() - { - return static::$ListSelection; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/batchselection.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/batchselection.php deleted file mode 100644 index 2777f588a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/batchselection.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('JPATH_BASE') or die; - -JHtmlBehavior::core(); -$divWrapper = range(1,120,2); -$counter = 0; -?> -<?php if ($displayData->ListSelection) : ?> -<div class="row-fluid"> - <?php foreach ($displayData->ListSelection as $ListSelection) : ?> - <div class="control-group span6"> - <div class="controls"> - <label for="<?php echo $ListSelection['name']; ?>" class="element-invisible"><?php echo $ListSelection['label']; ?></label> - <select name="<?php echo $ListSelection['name']; ?>" id="<?php echo $ListSelection['name']; ?>" class="span12 small"> - <?php if (!$ListSelection['noDefault']) : ?> - <option value=""><?php echo $ListSelection['label']; ?></option> - <?php endif; ?> - <?php echo $ListSelection['options']; ?> - </select> - </div> - </div> - <?php if (in_array($counter,$divWrapper)) : ?> -</div> -<div class="row-fluid"> - <?php endif; ?> - <?php $counter++; ?> - <?php endforeach; ?> -</div> -<div class="control-group radio" id="batch-move-copy"> - <div class="controls"> - <label class="radio" id="batch[move_copy]c-lbl" for="batch[move_copy]c"> - <input type="radio" value="c" id="batch[move_copy]c" name="batch[move_copy]"><?php echo JText::_('Copy'); ?></label> - <label class="radio" id="batch[move_copy]m-lbl" for="batch[move_copy]m"> - <input type="radio" checked="checked" value="m" id="batch[move_copy]m" name="batch[move_copy]"><?php echo JText::_('Update'); ?></label> - </div> -</div> -<?php endif; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component.xml deleted file mode 100644 index 18b7d9bb7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component.xml +++ /dev/null @@ -1,94 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<extension type="component" version="3.2" method="upgrade"> - <name>COM_###COMPONENT###</name> - <creationDate>###BUILDDATE###</creationDate> - <author>###AUTHOR###</author> - <authorEmail>###AUTHOREMAIL###</authorEmail> - <authorUrl>###AUTHORWEBSITE###</authorUrl> - <copyright>###COPYRIGHT###</copyright> - <license>###LICENSE###</license> - <version>###VERSION###</version> - <description><![CDATA[ - <h1>###Component_name### (v.###VERSION###)</h1> - <div style="clear: both;"></div> - <p>###DESCRIPTION###</p> - <p>Created by <a href="###AUTHORWEBSITE###" target="_blank">###AUTHOR###</a><br /><small>Development started ###CREATIONDATE###</small></p> - ]]></description> - - <!-- Runs on install; New in Joomla 1.5 --> - <install> - <sql> - <file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file> - </sql> - </install> - - <!-- Runs on uninstall; New in Joomla 1.5 --> - <uninstall> - <sql> - <file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file> - </sql> - </uninstall> - - <!-- Runs on install/uninstall/update; New in Joomla 2.5 --> - <scriptfile>script.php</scriptfile> - - <media destination="com_###component###" folder="media"> - <filename>index.html</filename> - <folder>js</folder> - <folder>css</folder> - <folder>images</folder>###EXSTRA_MEDIA_FOLDERS### - </media> - - <!-- Update Schema; New in Joomla 2.5 --> - <update> - <schemas> - <schemapath type="mysql">sql/updates/mysql/</schemapath> - </schemas> - </update> - - <files folder="site"> - <filename>controller.php</filename> - <filename>index.html</filename> - <filename>router.php</filename> - <filename>###component###.php</filename> - <folder>assets</folder> - <folder>helpers</folder> - <folder>controllers</folder> - <folder>models</folder> - <folder>views</folder> - <folder>layouts</folder>###EXSTRA_SITE_FOLDERS### - </files> - - <languages folder="site"> - <language tag="en-GB">language/en-GB/en-GB.com_###component###.ini</language> - <language tag="en-GB">language/en-GB/en-GB.com_###component###.sys.ini</language> - </languages> - - <administration> - <menu>COM_###COMPONENT###_MENU</menu> - <submenu> - <!-- Instead of link you can specify individual link attributes -->###MAINMENUS### - </submenu> - <files folder="admin"> - <filename>access.xml</filename> - <filename>config.xml</filename> - <filename>controller.php</filename>###ENCRYPT_FILE### - <filename>index.html</filename> - <filename>###component###.php</filename> - <folder>assets</folder> - <folder>controllers</folder> - <folder>helpers</folder> - <folder>models</folder> - <folder>sql</folder> - <folder>tables</folder> - <folder>views</folder> - <folder>layouts</folder>###EXSTRA_ADMIN_FOLDERS### - </files> - - <languages folder="admin"> - <language tag="en-GB">language/en-GB/en-GB.com_###component###.ini</language> - <language tag="en-GB">language/en-GB/en-GB.com_###component###.sys.ini</language> - </languages> - - </administration>###UPDATESERVER### -</extension> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component_admin.php deleted file mode 100644 index b5cb560c6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component_admin.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Access check. -if (!JFactory::getUser()->authorise('core.manage', 'com_###component###')) -{ - return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR')); -}; - -// Load cms libraries -JLoader::registerPrefix('J', JPATH_PLATFORM . '/cms'); -// Load joomla libraries without overwrite -JLoader::registerPrefix('J', JPATH_PLATFORM . '/joomla',false); - -// Add CSS file for all pages -$document = JFactory::getDocument(); -$document->addStyleSheet('components/com_###component###/assets/css/admin.css'); -$document->addScript('components/com_###component###/assets/js/admin.js'); - -// require helper files -JLoader::register('###Component###Helper', dirname(__FILE__) . '/helpers/###component###.php'); -JLoader::register('JHtmlBatch_', dirname(__FILE__) . '/helpers/html/batch_.php');###LICENSE_LOCKED_INT### ###ADMIN_GLOBAL_EVENT### - -// import joomla controller library -jimport('joomla.application.component.controller'); - -// Get an instance of the controller prefixed by ###Component### -$controller = JControllerLegacy::getInstance('###Component###'); - -// Perform the Request task -$controller->execute(JFactory::getApplication()->input->get('task')); - -// Redirect if set by the controller -$controller->redirect(); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component_site.php deleted file mode 100644 index 0b86a8725..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/component_site.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Set the component css/js -$document = JFactory::getDocument(); -$document->addStyleSheet('components/com_###component###/assets/css/site.css'); -$document->addScript('components/com_###component###/assets/js/site.js'); - -// Require helper files -JLoader::register('###Component###Helper', dirname(__FILE__) . '/helpers/###component###.php'); -JLoader::register('###Component###HelperRoute', dirname(__FILE__) . '/helpers/route.php');###LICENSE_LOCKED_INT### ###SITE_GLOBAL_EVENT### - -// import joomla controller library -jimport('joomla.application.component.controller'); - -// Get an instance of the controller prefixed by ###Component### -$controller = JControllerLegacy::getInstance('###Component###'); - -// Perform the request task -$jinput = JFactory::getApplication()->input; -$controller->execute($jinput->get('task', null, 'CMD')); - -// Redirect if set by the controller -$controller->redirect(); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/config.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/config.xml deleted file mode 100644 index 8b8968a12..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/config.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<config> - ###CONFIG_FIELDSETS### - <fieldset - name="permissions" - label="JCONFIG_PERMISSIONS_LABEL" - description="JCONFIG_PERMISSIONS_DESC"> - <field - name="rules" - type="rules" - label="JCONFIG_PERMISSIONS_LABEL" - class="inputbox" - validate="rules" - filter="rules" - component="com_###component###" - section="component" - /> - </fieldset> -</config> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/dashboard.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/dashboard.css deleted file mode 100644 index c3c9099b3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/dashboard.css +++ /dev/null @@ -1,155 +0,0 @@ -###BOM### - -/* CSS Document */ - -.dashboard-container { - margin-left: 10px; - margin-top: 10px; - width: 100%; -} -.dashboard-container [class*="span"] { - display: block; - float: none; - margin-left: 0; - width: auto; -} -.dashboard-container:before, .dashboard-container:after { - content: ""; - display: table; -} -.dashboard-container:after { - clear: both; -} -.dashboard-container [class*="span"] { - box-sizing: border-box; - display: block; - float: left; - min-height: 145px; - min-width: 96px; - width: 100%; -} -.dashboard-container [class*="span"]:first-child { - margin-left: 0; -} -.dashboard-wraper { - background: none repeat scroll 0 0 hsl(0, 0%, 93%); - border-radius: 5px; - float: left; - margin: 1%; - padding: 3px; - width: 17%; - min-height: 194px; - min-width: 96px; -} -.dashboard-content a { - background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 85%); - border-radius: 4px; - box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; - color: hsl(0, 0%, 20%); - display: block; - min-height: 89px; - padding: 10px; - text-align: center; - text-decoration: none; -} -.dashboard-content a:hover { - background: linear-gradient(to bottom, hsl(0, 0%, 90%) 0%, hsl(0, 0%, 100%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - color: hsl(200, 100%, 30%); - text-decoration: none; -} -.dashboard-title { - display: block; - padding-top: 5px; -} -.dashboard-info { - background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 85%); - border-radius: 4px; - box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; - color: hsl(0, 0%, 20%); - display: block; - font-size: 12px; - padding: 10px; - text-align: center; -} -.dashboard-info span { - display: block; - text-align: center; -} -.dashboard-info img { - margin: 0 auto; -} -.dashboard-table { - border-top: 1px solid hsl(0, 0%, 87%); - margin-top: 5px; - width: 100%; -} -.dashboard-info h5 { - font-size: 11px; - font-weight: bold; -} -.dashboard-block { - background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border: 1px solid hsl(0, 0%, 76%); - border-radius: 3px; - box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset; - margin-bottom: 20px; -} -.dashboard-block .dashboard-block-head { - background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); - border-bottom: 1px solid hsl(0, 0%, 76%); - border-radius: 3px 3px 0 0; - box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%); - height: 40px; - position: relative; -} -.dashboard-block .dashboard-block-head h5 { - font-size: 12px; - margin: 0; - padding-left: 10px; - padding-top: 11px; - text-transform: uppercase; -} -.dashboard-block .dashboard-block-content { - background: none repeat scroll 0 0 hsl(0, 0%, 93%); - border-radius: 0 0 3px 3px; -} -.dashboard-block .dashboard-block-box { - background: none repeat scroll 0 0 hsl(0, 0%, 100%); - border-top: 1px solid hsl(0, 0%, 82%); - box-shadow: 0 0 5px hsl(0, 0%, 87%) inset; -} -.dashboard-block .dashboard-block-content .dashboard-block-box { - margin-top: 0 !important; -} -.dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table { - margin-bottom: 0 !important; -} -.dashboard-block-table { - background-color: hsla(0, 0%, 0%, 0); - border-collapse: collapse; - border-spacing: 0; - margin-bottom: 20px; - max-width: 100%; - width: 100%; -} -.dashboard-block-table th, .dashboard-block-table td { - border-top: 1px solid hsl(0, 0%, 87%); - line-height: 20px; - padding: 5px; - text-align: left; - vertical-align: middle; -} -.dashboard-badge { - background-color: hsl(0, 0%, 60%); - border-radius: 9px; - color: hsl(0, 0%, 100%); - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - padding: 1px 9px 2px; - text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25); - vertical-align: baseline; - white-space: nowrap; -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default.php deleted file mode 100644 index 5cd0cd318..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default.php +++ /dev/null @@ -1,102 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_###component###&task=###views###.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', '###view###List', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_###component###&view=###views###'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="###view###List"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_###COMPONENT###_###VIEWS###_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default.xml deleted file mode 100644 index 10a8e4742..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default.xml +++ /dev/null @@ -1 +0,0 @@ -###SITE_MENU_XML### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_batch_body.php deleted file mode 100644 index 71e639310..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_batch_body.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> - -<p><?php echo JText::_('COM_###COMPONENT###_###VIEWS###_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_batch_footer.php deleted file mode 100644 index ee4301c37..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_batch_footer.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('###view###.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_body.php deleted file mode 100644 index 61287bf19..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_body.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -$edit = "index.php?option=com_###component###&view=###views###&task=###view###.edit"; - -?> -###LISTBODY### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_custom_admin.php deleted file mode 100644 index 7874b3f6c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_custom_admin.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY### - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -?> -<?php if ($this->canDo->get('###sview###.access')): ?> -<script type="text/javascript"> - Joomla.submitbutton = function(task) { - if (task == '###sview###.back') { - parent.history.back(); - return false; - } else { - var form = document.getElementById('adminForm'); - form.task.value = task; - form.submit(); - } - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_costbenefitprojection&view=###sview###&id='.$this->item->id); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - <input type="hidden" name="task" value="" /> - <?php echo JHtml::_('form.token'); ?> -</form>###CUSTOM_ADMIN_BODY### -<?php else: ?> - <h1><?php echo JText::_('COM_###COMPONENT###_NO_ACCESS_GRANTED'); ?></h1> -<?php endif; ?> - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_custom_admin_template.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_custom_admin_template.php deleted file mode 100644 index caf32ad56..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_custom_admin_template.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_TEMPLATE_CODE_BODY### - -?>###CUSTOM_ADMIN_TEMPLATE_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_foot.php deleted file mode 100644 index d7d6834ec..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_foot.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> -<tr> - <td colspan="###LISTCOLNR###"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_head.php deleted file mode 100644 index dceef326e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_head.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); ###LICENSE_LOCKED_DEFINED### - -?> -###LISTHEAD### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_import.php deleted file mode 100644 index 84830af73..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_import.php +++ /dev/null @@ -1,236 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -JHtml::_('jquery.framework'); -JHtml::_('bootstrap.tooltip'); -JHtml::_('script', 'system/core.js', false, true); -?> -<script type="text/javascript"> - - <?php if ($this->hasPackage && ###Component###Helper::checkArray($this->headerList)) : ?> - Joomla.continueImport = function() - { - var form = document.getElementById('adminForm'); - var error = false; - var therequired = [<?php $i = 0; foreach($this->headerList as $name => $title) { echo ($i != 0)? ', "vdm_'.$name.'"':'"vdm_'.$name.'"'; $i++; } ?>]; - for(i = 0; i < therequired.length; i++) - { - if(jQuery('#'+therequired[i]).val() == "" ) - { - error = true; - break; - } - } - // do field validation - if (error) - { - alert("<?php echo JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_SELECT_ALL_COLUMNS', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'continue'; - form.submit(); - } - }; - <?php else: ?> - Joomla.submitbutton = function() - { - var form = document.getElementById('adminForm'); - - // do field validation - if (form.import_package.value == "") - { - alert("<?php echo JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_SELECT_A_FILE', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'upload'; - form.submit(); - } - }; - - Joomla.submitbutton3 = function() - { - var form = document.getElementById('adminForm'); - - // do field validation - if (form.import_directory.value == ""){ - alert("<?php echo JText::_('COM_###COMPONENT###_IMPORT_MSG_PLEASE_SELECT_A_DIRECTORY', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'folder'; - form.submit(); - } - }; - - Joomla.submitbutton4 = function() - { - var form = document.getElementById('adminForm'); - - // do field validation - if (form.import_url.value == "" || form.import_url.value == "http://") - { - alert("<?php echo JText::_('COM_###COMPONENT###_IMPORT_MSG_ENTER_A_URL', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'url'; - form.submit(); - } - }; - <?php endif; ?> - - // Add spindle-wheel for importations: - jQuery(document).ready(function($) { - var outerDiv = $('body'); - - $('<div id="loading"></div>') - .css("background", "rgba(255, 255, 255, .8) url('components/com_###component###/assets/images/import.gif') 50% 15% no-repeat") - .css("top", outerDiv.position().top - $(window).scrollTop()) - .css("left", outerDiv.position().left - $(window).scrollLeft()) - .css("width", outerDiv.width()) - .css("height", outerDiv.height()) - .css("position", "fixed") - .css("opacity", "0.80") - .css("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)") - .css("filter", "alpha(opacity = 80)") - .css("display", "none") - .appendTo(outerDiv); - }); - -</script> - -<div id="installer-import" class="clearfix"> -<form enctype="multipart/form-data" action="<?php echo JRoute::_('index.php?option=com_###component###&view=import');?>" method="post" name="adminForm" id="adminForm" class="form-horizontal form-validate"> - - <?php if (!empty( $this->sidebar)) : ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> - <?php else : ?> - <div id="j-main-container"> - <?php endif;?> - - <?php if ($this->hasPackage && ###Component###Helper::checkArray($this->headerList) && ###Component###Helper::checkArray($this->headers)) : ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_###COMPONENT###_IMPORT_LINK_FILE_TO_TABLE_COLUMNS'); ?></legend> - <div class="control-group"> - <label class="control-label" ><h4><?php echo JText::_('COM_###COMPONENT###_IMPORT_TABLE_COLUMNS'); ?></h4></label> - <div class="controls"> - <label class="control-label" ><h4><?php echo JText::_('COM_###COMPONENT###_IMPORT_FILE_COLUMNS'); ?></h4></label> - </div> - </div> - <?php foreach($this->headerList as $name => $title): ?> - <div class="control-group"> - <label for="<?php echo $name; ?>" class="control-label" ><?php echo $title; ?></label> - <div class="controls"> - <select name="<?php echo $name; ?>" id="vdm_<?php echo $name; ?>" required class="required input_box" > - <option value=""><?php echo JText::_('COM_###COMPONENT###_IMPORT_PLEASE_SELECT_COLUMN'); ?></option> - <option value="IGNORE"><?php echo JText::_('COM_###COMPONENT###_IMPORT_IGNORE_COLUMN'); ?></option> - <?php foreach($this->headers as $value => $option): ?> - <?php $selected = (strtolower($option) == strtolower ($title) || strtolower($option) == strtolower($name))? 'selected="selected"':''; ?> - <option value="<?php echo ###Component###Helper::htmlEscape($value); ?>" class="required" <?php echo $selected ?>><?php echo ###Component###Helper::htmlEscape($option); ?></option> - <?php endforeach; ?> - </select> - </div> - </div> - <?php endforeach; ?> - <div class="form-actions"> - <input class="btn btn-primary" type="button" value="<?php echo JText::_('COM_###COMPONENT###_IMPORT_CONTINUE'); ?>" onclick="Joomla.continueImport()" /> - </div> - </fieldset> - <input type="hidden" name="gettype" value="continue" /> - <?php else: ?> - <?php echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'upload')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'upload', JText::_('COM_###COMPONENT###_IMPORT_FROM_UPLOAD', true)); ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_###COMPONENT###_IMPORT_UPDATE_DATA'); ?></legend> - <div class="control-group"> - <label for="import_package" class="control-label"><?php echo JText::_('COM_###COMPONENT###_IMPORT_SELECT_FILE'); ?></label> - <div class="controls"> - <input class="input_box" id="import_package" name="import_package" type="file" size="57" /> - </div> - </div> - <div class="form-actions"> - <input class="btn btn-primary" type="button" value="<?php echo JText::_('COM_###COMPONENT###_IMPORT_UPLOAD_BOTTON'); ?>" onclick="Joomla.submitbutton()" />&nbsp;&nbsp;&nbsp;<small><?php echo JText::_('COM_###COMPONENT###_IMPORT_FORMATS_ACCEPTED'); ?> (.csv .xls .ods)</small> - </div> - </fieldset> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'directory', JText::_('COM_###COMPONENT###_IMPORT_FROM_DIRECTORY', true)); ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_###COMPONENT###_IMPORT_UPDATE_DATA'); ?></legend> - <div class="control-group"> - <label for="import_directory" class="control-label"><?php echo JText::_('COM_###COMPONENT###_IMPORT_SELECT_FILE_DIRECTORY'); ?></label> - <div class="controls"> - <input type="text" id="import_directory" name="import_directory" class="span5 input_box" size="70" value="<?php echo $this->state->get('import.directory'); ?>" /> - </div> - </div> - <div class="form-actions"> - <input type="button" class="btn btn-primary" value="<?php echo JText::_('COM_###COMPONENT###_IMPORT_GET_BOTTON'); ?>" onclick="Joomla.submitbutton3()" />&nbsp;&nbsp;&nbsp;<small><?php echo JText::_('COM_###COMPONENT###_IMPORT_FORMATS_ACCEPTED'); ?> (.csv .xls .ods)</small> - </div> - </fieldset> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'url', JText::_('COM_###COMPONENT###_IMPORT_FROM_URL', true)); ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_###COMPONENT###_IMPORT_UPDATE_DATA'); ?></legend> - <div class="control-group"> - <label for="import_url" class="control-label"><?php echo JText::_('COM_###COMPONENT###_IMPORT_SELECT_FILE_URL'); ?></label> - <div class="controls"> - <input type="text" id="import_url" name="import_url" class="span5 input_box" size="70" value="http://" /> - </div> - </div> - <div class="form-actions"> - <input type="button" class="btn btn-primary" value="<?php echo JText::_('COM_###COMPONENT###_IMPORT_GET_BOTTON'); ?>" onclick="Joomla.submitbutton4()" />&nbsp;&nbsp;&nbsp;<small><?php echo JText::_('COM_###COMPONENT###_IMPORT_FORMATS_ACCEPTED'); ?> (.csv .xls .ods)</small> - </div> - </fieldset> - - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - <input type="hidden" name="gettype" value="upload" /> - <?php endif; ?> - <input type="hidden" name="task" value="import.import" /> - <?php echo JHtml::_('form.token'); ?> -</form> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list.xml deleted file mode 100644 index fc3d8cbef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<metadata> - <layout title="COM_###COMPONENT###_MENU_###VIEWS###_TITLE"> - <message>COM_###COMPONENT###_MENU_###VIEWS###_DESC</message> - </layout> -</metadata> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list_custom_admin.php deleted file mode 100644 index fda393570..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list_custom_admin.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###CUSTOM_ADMIN_CODE_BODY### - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -?> -<?php if ($this->canDo->get('###sview###.access')): ?> -<script type="text/javascript"> - Joomla.submitbutton = function(task) { - if (task == '###sview###.back') { - parent.history.back(); - return false; - } else { - var form = document.getElementById('adminForm'); - form.task.value = task; - form.submit(); - } - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_###component###&view=###sviews###'); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - <input type="hidden" name="task" value="" />###HIDDEN_INPUT_VALUES### - <?php echo JHtml::_('form.token'); ?> -</form>###CUSTOM_ADMIN_BODY### -<?php else: ?> - <h1><?php echo JText::_('COM_###COMPONENT###_NO_ACCESS_GRANTED'); ?></h1> -<?php endif; ?> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list_site.php deleted file mode 100644 index 8117307e2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_list_site.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY### - -?> -###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_main.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_main.php deleted file mode 100644 index e7a4b8ad4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_main.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<?php if(is_array($this->icons['main'])) :?> - <?php foreach($this->icons['main'] as $icon): ?> - <div class="dashboard-wraper"> - <div class="dashboard-content"> - <a class="icon" href="<?php echo $icon->url; ?>"> - <img alt="<?php echo $icon->alt; ?>" src="components/com_###component###/assets/images/icons/<?php echo $icon->image; ?>"> - <span class="dashboard-title"><?php echo JText::_($icon->name); ?></span> - </a> - </div> - </div> - <?php endforeach; ?> -<div class="clearfix"></div> -<?php endif; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_site.php deleted file mode 100644 index abd535cf9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_site.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_CODE_BODY### - -?> -###SITE_TOP_BUTTON### ###SITE_BODY### ###SITE_BOTTOM_BUTTON### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_site_template.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_site_template.php deleted file mode 100644 index c4c833b38..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_site_template.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### ###SITE_TEMPLATE_CODE_BODY### - -?>###SITE_TEMPLATE_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_toolbar.php deleted file mode 100644 index b7da90e24..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_toolbar.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access');###LICENSE_LOCKED_DEFINED### - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search ###Views###'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_vdm.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_vdm.php deleted file mode 100644 index db65590a6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/default_vdm.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$manifest = ###Component###Helper::manifest(); -JHtml::_('bootstrap.loadCss'); - -?> -<img alt="<?php echo JText::_('COM_###COMPONENT###'); ?>" src="components/com_###component###/assets/images/component-300.###COMP_IMAGE_TYPE###"> -<ul class="list-striped"> -<li><b><?php echo JText::_('COM_###COMPONENT###_VERSION'); ?>:</b> <?php echo $manifest->version; ?></li> -<li><b><?php echo JText::_('COM_###COMPONENT###_DATE'); ?>:</b> <?php echo $manifest->creationDate; ?></li> -<li><b><?php echo JText::_('COM_###COMPONENT###_AUTHOR'); ?>:</b> <a href="mailto:<?php echo $manifest->authorEmail; ?>"><?php echo $manifest->author; ?></a></li> -<li><b><?php echo JText::_('COM_###COMPONENT###_WEBSITE'); ?>:</b> <a href="<?php echo $manifest->authorUrl; ?>" target="_blank"><?php echo $manifest->authorUrl; ?></a></li> -<li><b><?php echo JText::_('COM_###COMPONENT###_LICENSE'); ?>:</b> <?php echo $manifest->license; ?></li> -<li><b><?php echo $manifest->copyright; ?></b></li> -</ul> -<div class="clearfix"></div> -<?php if(###Component###Helper::checkArray($this->contributors)): ?> -<?php if(count($this->contributors) > 1): ?> -<h3><?php echo JText::_('COM_###COMPONENT###_CONTRIBUTORS'); ?></h3> -<?php else: ?> -<h3><?php echo JText::_('COM_###COMPONENT###_CONTRIBUTOR'); ?></h3> -<?php endif; ?> -<ul class="list-striped"> - <?php foreach($this->contributors as $contributor): ?> - <li><b><?php echo $contributor['title']; ?>:</b> <?php echo $contributor['name']; ?></li> - <?php endforeach; ?> -</ul> -<div class="clearfix"></div> -<?php endif; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/edit.php deleted file mode 100644 index 0e1b76fdf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/edit.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_###component###'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_###component###&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> -###EDITBODY### -</form>###EDITBODYSCRIPT### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/edit_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/edit_site.php deleted file mode 100644 index 644b49e51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/edit_site.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -JHtml::_('behavior.tabstate'); -JHtml::_('behavior.calendar'); -$componentParams = JComponentHelper::getParams('com_###component###'); -?> -<?php echo $this->toolbar->render(); ?> -<form action="<?php echo JRoute::_('index.php?option=com_###component###&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> -###EDITBODY### -</form>###EDITBODYSCRIPT### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_admin.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_admin.ini deleted file mode 100644 index e5b382a4a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_admin.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_ADMIN### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_admin.sys.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_admin.sys.ini deleted file mode 100644 index fc07f9846..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_admin.sys.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_ADMIN_SYS### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_site.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_site.ini deleted file mode 100644 index 7a78b98b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_site.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_SITE### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_site.sys.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_site.sys.ini deleted file mode 100644 index 7e16bfbe8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/en-GB.com_site.sys.ini +++ /dev/null @@ -1 +0,0 @@ -###LANG_SITE_SYS### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/headercheck.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/headercheck.php deleted file mode 100644 index 6b314cf7c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/headercheck.php +++ /dev/null @@ -1,88 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -class HeaderCheck -{ - function js_loaded($script_name) - { - // UIkit check point - if (strpos($script_name,'uikit') !== false) - { - $app = JFactory::getApplication(); - $getTemplateName = $app->getTemplate('template')->template; - - if (strpos($getTemplateName,'yoo') !== false) - { - return true; - } - } - - $document = JFactory::getDocument(); - $head_data = $document->getHeadData(); - foreach (array_keys($head_data['scripts']) as $script) - { - if (stristr($script, $script_name)) - { - return true; - } - } - - return false; - } - - function css_loaded($script_name) - { - // UIkit check point - if (strpos($script_name,'uikit') !== false) - { - $app = JFactory::getApplication(); - $getTemplateName = $app->getTemplate('template')->template; - - if (strpos($getTemplateName,'yoo') !== false) - { - return true; - } - } - - $document = JFactory::getDocument(); - $head_data = $document->getHeadData(); - - foreach (array_keys($head_data['styleSheets']) as $script) - { - if (stristr($script, $script_name)) - { - return true; - } - } - - return false; - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/import.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/import.gif deleted file mode 100644 index 4371cc618..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/import.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/install.mysql.utf8.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/install.mysql.utf8.sql deleted file mode 100644 index 273e93820..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/install.mysql.utf8.sql +++ /dev/null @@ -1 +0,0 @@ -###INSTALL### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout.php deleted file mode 100644 index 578e42d73..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout_custom_admin.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout_custom_admin.php deleted file mode 100644 index ae672604d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout_custom_admin.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('JPATH_BASE') or die('Restricted access');###CUSTOM_ADMIN_LAYOUT_CODE### - -?>###CUSTOM_ADMIN_LAYOUT_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout_site.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout_site.php deleted file mode 100644 index b4ab3d540..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layout_site.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('JPATH_BASE') or die('Restricted access');###SITE_LAYOUT_CODE### - -?>###SITE_LAYOUT_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutfull.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutfull.php deleted file mode 100644 index 51efe768c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutfull.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutitems.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutitems.php deleted file mode 100644 index 178fa30d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutitems.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutlinkedview.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutlinkedview.php deleted file mode 100644 index c28a33b81..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutlinkedview.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -// set the defaults -$items = $displayData->###LAYOUTITEMS###; -$user = JFactory::getUser(); -$id = $displayData->item->id; -###LAYOUTITEMSHEADER### - -?> -<div class="form-vertical"> -###LAYOUTITEMSTABLE### -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutmetadata.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutmetadata.php deleted file mode 100644 index 76c1c4d62..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutmetadata.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -// JLayout for standard handling of metadata fields in the administrator content edit screens. -$fieldSets = $form->getFieldsets('metadata'); -?> - -<?php foreach ($fieldSets as $name => $fieldSet) : ?> - <?php if (isset($fieldSet->description) && trim($fieldSet->description)) : ?> - <p class="alert alert-info"><?php echo $this->escape(JText::_($fieldSet->description)); ?></p> - <?php endif; ?> - - <?php - // Include the real fields in this panel. - if ($name == 'vdmmetadata') - { - echo $form->renderField('metadesc'); - echo $form->renderField('metakey'); - } - - foreach ($form->getFieldset($name) as $field) - { - if ($field->name != 'jform[metadata][tags][]') - { - echo $field->renderField(); - } - } ?> -<?php endforeach; ?> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutpublished.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutpublished.php deleted file mode 100644 index 578e42d73..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layoutpublished.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - ###LAYOUTITEMS### -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layouttitle.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layouttitle.php deleted file mode 100644 index 7a8b15d76..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/layouttitle.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - ###LAYOUTITEMS### -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/module_forms.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/module_forms.js deleted file mode 100644 index e0e2c7797..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/module_forms.js +++ /dev/null @@ -1,3 +0,0 @@ -###BOM### - -###VIEW_SCRIPT### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/module_forms.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/module_forms.xml deleted file mode 100644 index 05d6b9841..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/module_forms.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_###component###/models/rules" - addfieldpath="/administrator/components/com_###component###/models/fields" -> - ###FIELDSETS### - - ###ACCESSCONTROL### -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/routeHelper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/routeHelper.php deleted file mode 100644 index 2f1cfb282..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/routeHelper.php +++ /dev/null @@ -1,222 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Component Helper -jimport('joomla.application.component.helper'); -jimport('joomla.application.categories'); - -/** - * ###Component### Route Helper - **/ -abstract class ###Component###HelperRoute -{ - protected static $lookup;###ROUTEHELPER### - - /** - * Get the URL route for ###component### category from a category ID and language - * - * @param mixed $catid The id of the items's category either an integer id or a instance of JCategoryNode - * @param mixed $language The id of the language being used. - * - * @return string The link to the contact - * - * @since 1.5 - */ - public static function getCategoryRoute_keep_for_later($catid, $language = 0) - { - if ($catid instanceof JCategoryNode) - { - $id = $catid->id; - $category = $catid; - } - else - { - throw new Exception('First parameter must be JCategoryNode'); - } - - $views = array(###ROUTER_CATEGORY_VIEWS###); - $view = $views[$category->extension]; - - if ($id < 1 || !($category instanceof JCategoryNode)) - { - $link = ''; - } - else - { - //Create the link - $link = 'index.php?option=com_###component###&view='.$view.'&category='.$category->slug; - - $needles = array( - $view => array($id), - 'category' => array($id) - ); - - if ($language && $language != "*" && JLanguageMultilang::isEnabled()) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('a.sef AS sef') - ->select('a.lang_code AS lang_code') - ->from('#__languages AS a'); - - $db->setQuery($query); - $langs = $db->loadObjectList(); - foreach ($langs as $lang) - { - if ($language == $lang->lang_code) - { - $link .= '&lang='.$lang->sef; - $needles['language'] = $language; - } - } - } - - if ($item = self::_findItem($needles,'category')) - { - - $link .= '&Itemid='.$item; - } - else - { - if ($category) - { - $catids = array_reverse($category->getPath()); - $needles = array( - 'category' => $catids - ); - if ($item = self::_findItem($needles,'category')) - { - $link .= '&Itemid='.$item; - } - elseif ($item = self::_findItem(null, 'category')) - { - $link .= '&Itemid='.$item; - } - } - } - } - return $link; - } - - protected static function _findItem($needles = null,$type = null) - { - $app = JFactory::getApplication(); - $menus = $app->getMenu('site'); - $language = isset($needles['language']) ? $needles['language'] : '*'; - - // Prepare the reverse lookup array. - if (!isset(self::$lookup[$language])) - { - self::$lookup[$language] = array(); - - $component = JComponentHelper::getComponent('com_###component###'); - - $attributes = array('component_id'); - $values = array($component->id); - - if ($language != '*') - { - $attributes[] = 'language'; - $values[] = array($needles['language'], '*'); - } - - $items = $menus->getItems($attributes, $values); - - foreach ($items as $item) - { - if (isset($item->query) && isset($item->query['view'])) - { - $view = $item->query['view']; - - if (!isset(self::$lookup[$language][$view])) - { - self::$lookup[$language][$view] = array(); - } - - if (isset($item->query['id'])) - { - /** - * Here it will become a bit tricky - * language != * can override existing entries - * language == * cannot override existing entries - */ - if (!isset(self::$lookup[$language][$view][$item->query['id']]) || $item->language != '*') - { - self::$lookup[$language][$view][$item->query['id']] = $item->id; - } - } - } - } - } - - if ($needles) - { - foreach ($needles as $view => $ids) - { - if (isset(self::$lookup[$language][$view])) - { - foreach ($ids as $id) - { - if (isset(self::$lookup[$language][$view][(int) $id])) - { - return self::$lookup[$language][$view][(int) $id]; - } - } - } - } - } - - if ($type) - { - // Check if the global menu item has been set. - $params = JComponentHelper::getParams('com_###component###'); - if ($item = $params->get($type.'_menu', 0)) - { - return $item; - } - } - - // Check if the active menuitem matches the requested language - $active = $menus->getActive(); - - if ($active - && $active->component == 'com_###component###' - && ($language == '*' || in_array($active->language, array('*', $language)) || !JLanguageMultilang::isEnabled())) - { - return $active->id; - } - - // If not found, return language specific home link - $default = $menus->getDefault($language); - - return !empty($default->id) ? $default->id : null; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/router.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/router.php deleted file mode 100644 index d2fee4233..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/router.php +++ /dev/null @@ -1,202 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Routing class from com_###component### - * - * @since 3.3 - */ -class ###Component###Router extends JComponentRouterBase -{ - /** - * Build the route for the com_###component### component - * - * @param array &$query An array of URL arguments - * - * @return array The URL arguments to use to assemble the subsequent URL. - * - * @since 3.3 - */ - public function build(&$query) - { - $segments = array(); - - // Get a menu item based on Itemid or currently active - $params = JComponentHelper::getParams('com_###component###'); - - if (empty($query['Itemid'])) - { - $menuItem = $this->menu->getActive(); - } - else - { - $menuItem = $this->menu->getItem($query['Itemid']); - } - - $mView = (empty($menuItem->query['view'])) ? null : $menuItem->query['view']; - $mId = (empty($menuItem->query['id'])) ? null : $menuItem->query['id']; - - if (isset($query['view'])) - { - $view = $query['view']; - - if (empty($query['Itemid'])) - { - $segments[] = $query['view']; - } - - unset($query['view']); - } - - // Are we dealing with a item that is attached to a menu item? - if (isset($view) && ($mView == $view) and (isset($query['id'])) and ($mId == (int) $query['id'])) - { - unset($query['view']); - unset($query['catid']); - unset($query['id']); - return $segments; - } - - if (isset($view) && isset($query['id']) && ###ROUTER_BUILD_VIEWS###) - { - if ($mId != (int) $query['id'] || $mView != $view) - { - if (###ROUTER_BUILD_VIEWS###) - { - $segments[] = $view; - $id = explode(':', $query['id']); - if (count($id) == 2) - { - $segments[] = $id[1]; - } - else - { - $segments[] = $id[0]; - } - } - } - unset($query['id']); - } - - $total = count($segments); - - for ($i = 0; $i < $total; $i++) - { - $segments[$i] = str_replace(':', '-', $segments[$i]); - } - - return $segments; - - } - - /** - * Parse the segments of a URL. - * - * @param array &$segments The segments of the URL to parse. - * - * @return array The URL attributes to be used by the application. - * - * @since 3.3 - */ - public function parse(&$segments) - { - //var_dump($segments); - //$app = JFactory::getApplication(); - //$menu = $app->getMenu(); - //$item = $menu->getActive(); - - $count = count($segments); - $vars = array(); - - //var_dump($item->query['view']); - //Handle View and Identifier - switch($segments[0]) - {###ROUTER_PARSE_SWITCH### - } - - return $vars; - } - - protected function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - if ('categories' == $table || 'category' == $table) - { - $query->from($db->quoteName('#__categories')); - } - else - { - $query->from($db->quoteName('#__'.$main.'_'.$table)); - } - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } -} - -function ###Component###BuildRoute(&$query) -{ - $router = new ###Component###Router; - - return $router->build($query); -} - -function ###Component###ParseRoute($segments) -{ - $router = new ContentRouter; - - return $router->parse($segments); -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/script.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/script.php deleted file mode 100644 index 2193ffad1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/script.php +++ /dev/null @@ -1,114 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHTML::_('behavior.modal'); -jimport('joomla.installer.installer'); -jimport('joomla.installer.helper'); - -/** - * Script File of ###Component### Component - */ -class com_###component###InstallerScript -{ - /** - * method to install the component - * - * - * @return void - */ - function install($parent) - { - - } - - /** - * method to uninstall the component - * - * @return void - */ - function uninstall($parent) - {###UNINSTALLSCRIPT### - // little notice as after service, in case of bad experience with component. - echo '<h2>Did something go wrong? Are you disappointed?</h2> - <p>Please let me know at <a href="mailto:###AUTHOREMAIL###">###AUTHOREMAIL###</a>. - <br />We at ###COMPANYNAME### are committed to building extensions that performs proficiently! You can help us, really! - <br />Send me your thoughts on improvements that is needed, trust me, I will be very grateful! - <br />Visit us at <a href="###AUTHORWEBSITE###" target="_blank">###AUTHORWEBSITE###</a> today!</p>'; - } - - /** - * method to update the component - * - * @return void - */ - function update($parent) - { - - } - - /** - * method to run before an install/update/uninstall method - * - * @return void - */ - function preflight($type, $parent) - { - if ($type == 'uninstall') - { - return true; - } - - $app = JFactory::getApplication(); - $jversion = new JVersion(); - if (!$jversion->isCompatible('3.4.1')) - { - $app->enqueueMessage('Please upgrade to at least Joomla! 3.4.1 before continuing!', 'error'); - return false; - } - } - - /** - * method to run after an install/update/uninstall method - * - * @return void - */ - function postflight($type, $parent) - { - // set the default component settings - if ($type == 'install') - {###INSTALLSCRIPT### - } - // do any updates needed - if ($type == 'update') - {###UPDATESCRIPT### - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/settings.json b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/settings.json deleted file mode 100644 index 3d2824351..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/settings.json +++ /dev/null @@ -1,710 +0,0 @@ -{ - "create": { - "admin": { - "assets": { - "css": "css", - "images": { - "icons": "icons" - }, - "js": "js" - }, - "controllers": "controllers", - "helpers": { - "html": "html" - }, - "language": { - "en-GB": "en-GB" - }, - "layouts": "layouts", - "models": { - "fields": "fields", - "forms": "forms", - "rules": "rules" - }, - "sql": { - "updates": { - "mysql": "mysql" - } - }, - "tables": "tables", - "views": "views" - }, - "site": { - "assets": { - "css": "css", - "images": "images", - "js": "js" - }, - "controllers": "controllers", - "helpers": "helpers", - "language": { - "en-GB": "en-GB" - }, - "layouts": "layouts", - "models": "models", - "views": "views" - }, - "media": { - "css": "css", - "images": "images", - "js": "js" - } - }, - "move": { - "static": { - "access.xml": { - "naam":"access.xml", - "path": "c0mp0n3nt/admin", - "rename": false, - "type": "file" - }, - "config.xml": { - "naam":"config.xml", - "path": "c0mp0n3nt/admin", - "rename": false, - "type": "file" - }, - "JControllerLegacy.php": { - "naam":"JControllerLegacy.php", - "path": "c0mp0n3nt/admin", - "rename": "new", - "newName": "controller.php", - "type": "file" - }, - "component.xml": { - "naam":"component.xml", - "path": "c0mp0n3nt/", - "rename": "component", - "type": "file" - }, - "component_admin.php": { - "naam":"component_admin.php", - "path": "c0mp0n3nt/admin", - "rename": "component_admin", - "type": "file" - }, - "admin.css": { - "naam":"admin.css", - "path": "c0mp0n3nt/admin/assets/css", - "rename": false, - "type": "file" - }, - "admin.js": { - "naam":"admin.js", - "path": "c0mp0n3nt/admin/assets/js", - "rename": false, - "type": "file" - }, - "site.css": { - "naam":"site.css", - "path": "c0mp0n3nt/site/assets/css", - "rename": false, - "type": "file" - }, - "site.js": { - "naam":"site.js", - "path": "c0mp0n3nt/site/assets/js", - "rename": false, - "type": "file" - }, - "batch_.php": { - "naam":"batch_.php", - "path": "c0mp0n3nt/admin/helpers/html", - "rename": false, - "type": "file" - }, - "batchselection.php": { - "naam":"batchselection.php", - "path": "c0mp0n3nt/admin/layouts", - "rename": false, - "type": "file" - }, - "component_site.php": { - "naam":"component_site.php", - "path": "c0mp0n3nt/site", - "rename": "component_site", - "type": "file" - }, - "router.php": { - "naam":"router.php", - "path": "c0mp0n3nt/site", - "rename": false, - "type": "file" - }, - "routeHelper.php": { - "naam":"routeHelper.php", - "path": "c0mp0n3nt/site/helpers", - "rename": "new", - "newName": "route.php", - "type": "file" - }, - "JControllerLegacySITE.php": { - "naam":"JControllerLegacySITE.php", - "path": "c0mp0n3nt/site", - "rename": "new", - "newName": "controller.php", - "type": "file" - }, - "Helper.php": { - "naam":"Helper.php", - "path": "c0mp0n3nt/admin/helpers", - "rename": "Helper", - "type": "file" - }, - "Helper_site.php": { - "naam":"Helper_site.php", - "path": "c0mp0n3nt/site/helpers", - "rename": "Helper_site", - "type": "file" - }, - "script.php": { - "naam":"script.php", - "path": "c0mp0n3nt/", - "rename": false, - "type": "file" - }, - "en-GB.com_admin.ini": { - "naam":"en-GB.com_admin.ini", - "path": "c0mp0n3nt/admin/language/en-GB", - "rename": "admin", - "type": "file" - }, - "en-GB.com_admin.sys.ini": { - "naam":"en-GB.com_admin.sys.ini", - "path": "c0mp0n3nt/admin/language/en-GB", - "rename": "admin", - "type": "file" - }, - "install.mysql.utf8.sql": { - "naam":"install.mysql.utf8.sql", - "path": "c0mp0n3nt/admin/sql", - "rename": false, - "type": "file" - }, - "uninstall.mysql.utf8.sql": { - "naam":"uninstall.mysql.utf8.sql", - "path": "c0mp0n3nt/admin/sql", - "rename": false, - "type": "file" - }, - "LICENSE.txt": { - "naam":"LICENSE.txt", - "path": "c0mp0n3nt/", - "rename": false, - "type": "file" - }, - "README.md": { - "naam":"README.md", - "path": "c0mp0n3nt/", - "rename": false, - "type": "file" - }, - "en-GB.com_site.ini": { - "naam":"en-GB.com_site.ini", - "path": "c0mp0n3nt/site/language/en-GB", - "rename": "site", - "type": "file" - }, - "en-GB.com_site.sys.ini": { - "naam":"en-GB.com_site.sys.ini", - "path": "c0mp0n3nt/site/language/en-GB", - "rename": "site", - "type": "file" - }, - "headercheck.php": { - "naam":"headercheck.php", - "path": "c0mp0n3nt/site/helpers", - "rename": false, - "type": "file" - } - }, - "dynamic": { - "admin": { - "vdm.php": { - "path": "c0mp0n3nt/admin", - "rename": false, - "type": "encrypt" - }, - "DASHJControllerAdmin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "DASHJControllerAdmin", - "type": "dashboard" - }, - "DASHJModelList.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "DASHJModelList", - "type": "dashboard" - }, - "DASHJViewLagacy.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "dashboard" - }, - "default_vdm.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "dashboard" - }, - "default_main.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "dashboard" - }, - "DASHdefault.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "dashboard" - }, - "dashboard.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": false, - "type": "dashboard" - }, - "module_forms.xml": { - "path": "c0mp0n3nt/admin/models/forms", - "rename": "module_forms", - "type": "single" - }, - "module_forms.js": { - "path": "c0mp0n3nt/admin/models/forms", - "rename": "module_forms", - "type": "single" - }, - "edit.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "single" - }, - "JModelAdmin.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelAdmin", - "type": "single" - }, - "JControllerForm.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerForm", - "type": "single" - }, - "JTable.php": { - "path": "c0mp0n3nt/admin/tables", - "rename": "JTable", - "type": "single" - }, - "submitbutton.js": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": false, - "type": "single" - }, - "JViewLegacy_edit.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "single" - }, - "view.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "view", - "type": "single" - }, - "JControllerAdmin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerAdmin", - "type": "list" - }, - "JModelList.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelList", - "type": "list" - }, - "views.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "views", - "type": "list" - }, - "JViewLegacy_list.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "list" - }, - "default.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_batch_body.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_batch_footer.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_toolbar.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_head.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_body.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "default_foot.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": false, - "type": "list" - }, - "JFormRule.php": { - "path": "c0mp0n3nt/admin/models/rules", - "rename": "JFormRule", - "type": "rule" - }, - "layoutitems.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutitems", - "type": "layoutitems" - }, - "layoutfull.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutfull", - "type": "layoutfull" - }, - "layoutlinkedview.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutlinkedview", - "type": "layoutlinkedview" - }, - "layouttitle.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layouttitle", - "type": "layouttitle" - }, - "layoutpublished.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutpublished", - "type": "layoutpublished" - }, - "layoutmetadata.php": { - "path": "c0mp0n3nt/admin/layouts/VIEW", - "rename": "layoutmetadata", - "type": "layoutmetadata" - }, - "JFormFieldList.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldList", - "type": "fieldlist" - }, - "JFormFieldRadio.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldRadio", - "type": "fieldradio" - }, - "JFormFieldCheckboxes.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldCheckboxes", - "type": "fieldcheckboxes" - }, - "JFormFieldUser.php": { - "path": "c0mp0n3nt/admin/models/fields", - "rename": "JFormFieldUser", - "type": "fielduser" - }, - "JControllerLegacyAjax.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "new", - "newName": "ajax.json.php", - "type": "ajax" - }, - "JModelListAjax.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "new", - "newName": "ajax.php", - "type": "ajax" - }, - "JControllerLegacy_import.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "new", - "newName": "import.php", - "type": "import" - }, - "JModelLegacy_import.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "new", - "newName": "import.php", - "type": "import" - }, - "JViewLegacy_import.php": { - "path": "c0mp0n3nt/admin/views/import", - "rename": "new", - "newName": "view.html.php", - "type": "import" - }, - "default_import.php": { - "path": "c0mp0n3nt/admin/views/import/tmpl", - "rename": "new", - "newName": "default.php", - "type": "import" - }, - "import.gif": { - "path": "c0mp0n3nt/admin/assets/images", - "rename": false, - "type": "import" - }, - "JControllerLegacyHelp.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "new", - "newName": "help.php", - "type": "help" - }, - "1.0.0.sql": { - "path": "c0mp0n3nt/admin/sql/updates/mysql", - "rename": "1.0.0", - "type": "sql_update" - }, - "update_server.xml": { - "path": "c0mp0n3nt/", - "rename": "update_server", - "type": "update_server" - } - }, - "site": { - "JViewLegacy_list_site.php": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "list" - }, - "JModelList_site.php": { - "path": "c0mp0n3nt/site/models", - "rename": "JModelList_site", - "type": "list" - }, - "views_site.css": { - "path": "c0mp0n3nt/site/assets/css", - "rename": "views_site", - "type": "list" - }, - "default_list_site.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "list" - }, - "JViewLegacy_site.php": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "single" - }, - "view_site.css": { - "path": "c0mp0n3nt/site/assets/css", - "rename": "view_site", - "type": "single" - }, - "JModelItem_site.php": { - "path": "c0mp0n3nt/site/models", - "rename": "JModelItem_site", - "type": "single" - }, - "default_site.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "single" - }, - "default_site_template.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "site_template", - "type": "template" - }, - "layout_site.php": { - "path": "c0mp0n3nt/site/layouts", - "rename": "layout_site", - "type": "layout" - }, - "layoutitems.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutitems", - "type": "layoutitems" - }, - "layoutfull.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutfull", - "type": "layoutfull" - }, - "layoutlinkedview.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutlinkedview", - "type": "layoutlinkedview" - }, - "layouttitle.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layouttitle", - "type": "layouttitle" - }, - "layoutpublished.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutpublished", - "type": "layoutpublished" - }, - "layoutmetadata.php": { - "path": "c0mp0n3nt/site/layouts/VIEW", - "rename": "layoutmetadata", - "type": "layoutmetadata" - }, - "default.xml": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": false, - "type": "menu" - }, - "module_forms.xml": { - "path": "c0mp0n3nt/site/models/forms", - "rename": "module_forms", - "type": "edit" - }, - "module_forms.js": { - "path": "c0mp0n3nt/site/models/forms", - "rename": "module_forms", - "type": "edit" - }, - "edit_site.php": { - "path": "c0mp0n3nt/site/views/VIEW/tmpl", - "rename": "new", - "newName": "edit.php", - "type": "edit" - }, - "JModelAdmin_site.php": { - "path": "c0mp0n3nt/site/models", - "rename": "JModelAdmin_site", - "type": "edit" - }, - "JControllerForm_site.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "JControllerForm_site", - "type": "edit" - }, - "submitbutton.js": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": false, - "type": "edit" - }, - "JViewLegacy_edit_site.php": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "edit" - }, - "view_site_edit.css": { - "path": "c0mp0n3nt/site/assets/css", - "rename": "view_site_edit", - "type": "edit" - }, - "JControllerLegacyAjaxSite.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "new", - "newName": "ajax.json.php", - "type": "ajax" - }, - "JModelListAjaxSite.php": { - "path": "c0mp0n3nt/site/models", - "rename": "new", - "newName": "ajax.php", - "type": "ajax" - }, - "JControllerLegacyHelp_site.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "new", - "newName": "help.php", - "type": "help" - }, - "JControllerForm_custom_site.php": { - "path": "c0mp0n3nt/site/controllers", - "rename": "JControllerForm_custom_site", - "type": "custom_form" - }, - "submitbutton_site.js": { - "path": "c0mp0n3nt/site/views/VIEW", - "rename": "new", - "newName": "submitbutton.js", - "type": "custom_form" - } - }, - "custom_admin": { - "JViewLegacy_list_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "list" - }, - "JModelList_custom_admin.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelList_custom_admin", - "type": "list" - }, - "default_list_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "list" - }, - "JControllerAdmin_custom_admin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerAdmin_custom_admin", - "type": "list" - }, - "views_custom_admin.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "views_custom_admin", - "type": "list" - }, - "view_custom_admin.css": { - "path": "c0mp0n3nt/admin/assets/css", - "rename": "view_custom_admin", - "type": "single" - }, - "JViewLegacy_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW", - "rename": "new", - "newName": "view.html.php", - "type": "single" - }, - "JModelItem_custom_admin.php": { - "path": "c0mp0n3nt/admin/models", - "rename": "JModelItem_custom_admin", - "type": "single" - }, - "default_custom_admin.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "new", - "newName": "default.php", - "type": "single" - }, - "JControllerLegacy_custom_admin.php": { - "path": "c0mp0n3nt/admin/controllers", - "rename": "JControllerLegacy_custom_admin", - "type": "single" - }, - "default_custom_admin_template.php": { - "path": "c0mp0n3nt/admin/views/VIEW/tmpl", - "rename": "custom_admin_template", - "type": "template" - }, - "layout_custom_admin.php": { - "path": "c0mp0n3nt/admin/layouts", - "rename": "layout_custom_admin", - "type": "layout" - } - } - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/site.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/site.css deleted file mode 100644 index b3a8d68ee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/site.css +++ /dev/null @@ -1,7 +0,0 @@ -###BOM### - -/* CSS Document */ -.no-click { - pointer-events: none; -} -###SITECSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/site.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/site.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/submitbutton.js deleted file mode 100644 index 84fe0dc54..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/submitbutton.js +++ /dev/null @@ -1,27 +0,0 @@ -###BOM### - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('###view###, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/submitbutton_site.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/submitbutton_site.js deleted file mode 100644 index 1782bc08c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/submitbutton_site.js +++ /dev/null @@ -1,27 +0,0 @@ -###BOM### - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('###sview###, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/uninstall.mysql.utf8.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/uninstall.mysql.utf8.sql deleted file mode 100644 index 568025694..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/uninstall.mysql.utf8.sql +++ /dev/null @@ -1 +0,0 @@ -###UNINSTALL### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/update_server.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/update_server.xml deleted file mode 100644 index 8120c1923..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/update_server.xml +++ /dev/null @@ -1 +0,0 @@ -###UPDATE_SERVER_XML### \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/vdm.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/vdm.php deleted file mode 100644 index 3c541e902..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/vdm.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -###VDM_ENCRYPTION_BODY### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view.css deleted file mode 100644 index 9e342d690..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_custom_admin.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_custom_admin.css deleted file mode 100644 index ea5c57e3f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_custom_admin.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###CUSTOM_ADMIN_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_site.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_site.css deleted file mode 100644 index cb87e4452..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_site.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###SITE_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_site_edit.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_site_edit.css deleted file mode 100644 index cb87e4452..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/view_site_edit.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###SITE_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views.css deleted file mode 100644 index 748781f8b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###VIEWSCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views_custom_admin.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views_custom_admin.css deleted file mode 100644 index ea5c57e3f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views_custom_admin.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###CUSTOM_ADMIN_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views_site.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views_site.css deleted file mode 100644 index cb87e4452..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/views_site.css +++ /dev/null @@ -1,5 +0,0 @@ -###BOM### - -/* CSS Document */ - -###SITE_VIEWCSS### diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Canvas.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Canvas.php deleted file mode 100644 index 359ef51bc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Canvas.php +++ /dev/null @@ -1,167 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * @package Exceptions - */ - class WideImage_NoFontException extends WideImage_Exception {} - - /** - * @package Exceptions - */ - class WideImage_InvalidFontFileException extends WideImage_Exception {} - - /** - * @package Exceptions - */ - class WideImage_InvalidCanvasMethodException extends WideImage_Exception {} - - /** - * @package WideImage - */ - class WideImage_Canvas - { - protected $handle = 0; - protected $image = null; - protected $font = null; - - /** - * Creates a canvas object that writes to the image passed as a parameter - * - * Shouldn't be used directly, use WideImage_Image::getCanvas() instead. - * - * @param WideImage_Image $img Image object - */ - function __construct($img) - { - $this->handle = $img->getHandle(); - $this->image = $img; - } - - /** - * Sets the active font. Can be an instance of - * WideImage_Font_TTF, WideImage_Font_PS, or WideImage_Font_GDF. - * - * - * - * - * @param object $font Font object to set for writeText() - */ - function setFont($font) - { - $this->font = $font; - } - - /** - * Creates and sets the current font - * - * The supported font types are: TTF/OTF, PS, and GDF. - * Font type is detected from the extension. If the $file parameter doesn't have an extension, TTF font is presumed. - * - * Note: not all parameters are supported by all fonts. - * - * @param string $file Font file name (string) - * @param int $size Font size (supported for TTF/OTF and PS fonts, ignored for GDF) - * @param int $color Text color - * @param int $bgcolor Background color (supported only for PS font, ignored for TTF and PS) - * @return mixed One of the WideImage_Font_* objects - */ - function useFont($file, $size = 12, $color = 0, $bgcolor = null) - { - $p = strrpos($file, '.'); - if ($p === false || $p < strlen($file) - 4) - $ext = 'ttf'; - else - $ext = strtolower(substr($file, $p + 1)); - - if ($ext == 'ttf' || $ext == 'otf') - $font = new WideImage_Font_TTF($file, $size, $color); - elseif ($ext == 'ps') - $font = new WideImage_Font_PS($file, $size, $color, $bgcolor); - elseif ($ext == 'gdf') - $font = new WideImage_Font_GDF($file, $color); - else - throw new WideImage_InvalidFontFileException("'$file' appears to be an invalid font file."); - - $this->setFont($font); - return $font; - } - - /** - * Write text on the image at specified position - * - * You must set a font with a call to WideImage_Canvas::setFont() prior to writing text to the image. - * - * Smart coordinates are supported for $x and $y arguments, but currently only for TTF/OTF fonts. - * - * Example: - * <code> - * $img = WideImage::load('pic.jpg'); - * $canvas = $img->getCanvas(); - * $canvas->useFont('Verdana.ttf', 16, $img->allocateColor(255, 0, 0)); - * $canvas->writeText('right', 'bottom', 'www.website.com'); - * </code> - * - * @param int $x Left - * @param int $y Top - * @param string $text Text to write - * @param int $angle The angle, defaults to 0 - */ - function writeText($x, $y, $text, $angle = 0) - { - if ($this->font === null) - throw new WideImage_NoFontException("Can't write text without a font."); - - $angle = - floatval($angle); - if ($angle < 0) - $angle = 360 + $angle; - $angle = $angle % 360; - - $this->font->writeText($this->image, $x, $y, $text, $angle); - } - - /** - * A magic method that allows you to call any PHP function that starts with "image". - * - * This is a shortcut to call custom functions on the image handle. - * - * Example: - * <code> - * $img = WideImage::load('pic.jpg'); - * $canvas = $img->getCanvas(); - * $canvas->filledRect(10, 10, 20, 30, $img->allocateColor(0, 0, 0)); - * $canvas->line(60, 80, 30, 100, $img->allocateColor(255, 0, 0)); - * </code> - */ - function __call($method, $params) - { - if (function_exists('image' . $method)) - { - array_unshift($params, $this->handle); - call_user_func_array('image' . $method, $params); - } - else - throw new WideImage_InvalidCanvasMethodException("Function doesn't exist: image{$method}."); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Coordinate.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Coordinate.php deleted file mode 100644 index a3f6f6373..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Coordinate.php +++ /dev/null @@ -1,208 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internals - **/ - - - /** - * @package Exceptions - */ - class WideImage_InvalidCoordinateException extends WideImage_Exception {} - - /** - * A utility class for smart coordinates - * - * @package Internals - **/ - class WideImage_Coordinate - { - static protected $coord_align = array("left", "center", "right", "top", "middle", "bottom"); - static protected $coord_numeric = array("[0-9]+", "[0-9]+\.[0-9]+", "[0-9]+%", "[0-9]+\.[0-9]+%"); - - /** - * Parses a numeric or string representation of a corrdinate into a structure - * - * @param string $coord Smart coordinate - * @return array Parsed smart coordinate - */ - static function parse($c) - { - $tokens = array(); - $operators = array('+', '-'); - - $flush_operand = false; - $flush_operator = false; - $current_operand = ''; - $current_operator = ''; - $coordinate = strval($c); - $expr_len = strlen($coordinate); - - for ($i = 0; $i < $expr_len; $i++) - { - $char = $coordinate[$i]; - - if (in_array($char, $operators)) - { - $flush_operand = true; - $flush_operator = true; - $current_operator = $char; - } - else - { - $current_operand .= $char; - if ($i == $expr_len - 1) - $flush_operand = true; - } - - if ($flush_operand) - { - if (trim($current_operand) != '') - $tokens[] = array('type' => 'operand', 'value' => trim($current_operand)); - - $current_operand = ''; - $flush_operand = false; - } - - if ($flush_operator) - { - $tokens[] = array('type' => 'operator', 'value' => $char); - $flush_operator = false; - } - } - return $tokens; - } - - /** - * Evaluates the $coord relatively to $dim - * - * @param string $coord A numeric value or percent string - * @param int $dim Dimension - * @param int $sec_dim Secondary dimension (for align) - * @return int Calculated value - */ - static function evaluate($coord, $dim, $sec_dim = null) - { - $comp_regex = implode('|', self::$coord_align) . '|' . implode('|', self::$coord_numeric); - if (preg_match("/^([+-])?({$comp_regex})$/", $coord, $matches)) - { - $sign = intval($matches[1] . "1"); - $val = $matches[2]; - if (in_array($val, self::$coord_align)) - { - if ($sec_dim === null) - { - switch ($val) - { - case 'left': - case 'top': - return 0; - break; - case 'center': - case 'middle': - return $sign * intval($dim / 2); - break; - case 'right': - case 'bottom': - return $sign * $dim; - break; - default: - return null; - } - } - else - { - switch ($val) - { - case 'left': - case 'top': - return 0; - break; - case 'center': - case 'middle': - return $sign * intval($dim / 2 - $sec_dim / 2); - break; - case 'right': - case 'bottom': - return $sign * ($dim - $sec_dim); - break; - default: - return null; - } - } - } - elseif (substr($val, -1) === '%') - return intval(round($sign * $dim * floatval(str_replace('%', '', $val)) / 100)); - else - return $sign * intval(round($val)); - } - } - - /** - * Calculates and fixes a smart coordinate into a numeric value - * - * @param mixed $value Smart coordinate, relative to $dim - * @param int $dim Coordinate to which $value is relative - * @param int $sec_dim Secondary dimension (for align) - * @return int Calculated value - */ - static function fix($value, $dim, $sec_dim = null) - { - $coord_tokens = self::parse($value); - - if (count($coord_tokens) == 0 || $coord_tokens[count($coord_tokens) - 1]['type'] != 'operand') - throw new WideImage_InvalidCoordinateException("Couldn't parse coordinate '$value' properly."); - - $value = 0; - $operation = 1; - foreach ($coord_tokens as $token) - { - if ($token['type'] == 'operand') - { - $operand_value = self::evaluate($token['value'], $dim, $sec_dim); - if ($operation == 1) - $value = $value + $operand_value; - elseif ($operation == -1) - $value = $value - $operand_value; - else - throw new WideImage_InvalidCoordinateException("Invalid coordinate syntax."); - - $operation = 0; - } - elseif ($token['type'] == 'operator') - { - if ($token['value'] == '-') - { - if ($operation == 0) - $operation = -1; - else - $operation = $operation * -1; - } - elseif ($token['value'] == '+') - { - if ($operation == 0) - $operation = '1'; - } - } - } - return $value; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Exception.php deleted file mode 100644 index 0aae4f0f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Exception.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * Base Exception class - * - * @package Exceptions - **/ - class WideImage_Exception extends RuntimeException {} - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/GDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/GDF.php deleted file mode 100644 index c83122e6c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/GDF.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * GDF font support class - * - * @package WideImage - */ - class WideImage_Font_GDF - { - protected $font; - protected $color; - - function __construct($face, $color) - { - if (is_int($face) && $face >= 1 && $face <= 5) - $this->font = $face; - else - $this->font = imageloadfont($face); - $this->color = $color; - } - - function writeText($image, $x, $y, $text) - { - imagestring($image->getHandle(), $this->font, $x, $y, $text, $this->color); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/PS.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/PS.php deleted file mode 100644 index 9359e2e5c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/PS.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * PS font support class - * - * @package WideImage - */ - class WideImage_Font_PS - { - public $size; - public $color; - public $handle; - - function __construct($file, $size, $color, $bgcolor = null) - { - $this->handle = imagepsloadfont($file); - $this->size = $size; - $this->color = $color; - if ($bgcolor === null) - $this->bgcolor = $color; - else - $this->color = $color; - } - - function writeText($image, $x, $y, $text, $angle = 0) - { - if ($image->isTrueColor()) - $image->alphaBlending(true); - - imagepstext($image->getHandle(), $text, $this->handle, $this->size, $this->color, $this->bgcolor, $x, $y, 0, 0, $angle, 4); - } - - function __destruct() - { - imagepsfreefont($this->handle); - $this->handle = null; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/TTF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/TTF.php deleted file mode 100644 index 10877117f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/TTF.php +++ /dev/null @@ -1,75 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * TTF font support class - * - * @package WideImage - */ - class WideImage_Font_TTF - { - public $face; - public $size; - public $color; - - function __construct($face, $size, $color) - { - $this->face = $face; - $this->size = $size; - $this->color = $color; - } - - /** - * Writes text onto an image - * - * @param WideImage_Image $image - * @param mixed $x smart coordinate - * @param mixed $y smart coordinate - * @param string $text - * @param int $angle Angle in degrees clockwise - */ - function writeText($image, $x, $y, $text, $angle = 0) - { - if ($image->isTrueColor()) - $image->alphaBlending(true); - - $box = imageftbbox($this->size, $angle, $this->face, $text); - $obox = array( - 'left' => min($box[0], $box[2], $box[4], $box[6]), - 'top' => min($box[1], $box[3], $box[5], $box[7]), - 'right' => max($box[0], $box[2], $box[4], $box[6]) - 1, - 'bottom' => max($box[1], $box[3], $box[5], $box[7]) - 1 - ); - $obox['width'] = abs($obox['left']) + abs($obox['right']); - $obox['height'] = abs($obox['top']) + abs($obox['bottom']); - - $x = WideImage_Coordinate::fix($x, $image->getWidth(), $obox['width']); - $y = WideImage_Coordinate::fix($y, $image->getHeight(), $obox['height']); - - $fixed_x = $x - $obox['left']; - $fixed_y = $y - $obox['top']; - - imagettftext($image->getHandle(), $this->size, $angle, $fixed_x, $fixed_y, $this->color, $this->face, $text); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Font/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Image.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Image.php deleted file mode 100644 index 3a9928000..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Image.php +++ /dev/null @@ -1,964 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * Thrown when an invalid dimension is passed for some operations - * - * @package Exceptions - */ - class WideImage_InvalidImageDimensionException extends WideImage_Exception {} - - /** - * Thrown when an image can't be saved (returns false by the mapper) - * - * @package Exceptions - */ - class WideImage_UnknownErrorWhileMappingException extends WideImage_Exception {} - - /** - * Base class for images - * - * @package WideImage - */ - abstract class WideImage_Image - { - /** - * Holds the image resource - * @var resource - */ - protected $handle = null; - - /** - * Flag that determines if WideImage should call imagedestroy() upon object destruction - * @var bool - */ - protected $handleReleased = false; - - /** - * Canvas object - * @var WideImage_Canvas - */ - protected $canvas = null; - - /** - * @var string - */ - protected $sdata = null; - - /** - * The base class constructor - * - * @param resource $handle Image handle (GD2 resource) - */ - function __construct($handle) - { - WideImage::assertValidImageHandle($handle); - $this->handle = $handle; - } - - /** - * Cleanup - * - * Destroys the handle via WideImage_Image::destroy() when called by the GC. - */ - function __destruct() - { - $this->destroy(); - } - - /** - * This method destroy the image handle, and releases the image resource. - * - * After this is called, the object doesn't hold a valid image any more. - * No operation should be called after that. - */ - function destroy() - { - if ($this->isValid() && !$this->handleReleased) - imagedestroy($this->handle); - - $this->handle = null; - } - - /** - * Returns the GD image resource - * - * @return resource GD image resource - */ - function getHandle() - { - return $this->handle; - } - - /** - * @return bool True, if the image object holds a valid GD image, false otherwise - */ - function isValid() - { - return WideImage::isValidImageHandle($this->handle); - } - - /** - * Releases the handle - */ - function releaseHandle() - { - $this->handleReleased = true; - } - - /** - * Saves an image to a file - * - * The file type is recognized from the $uri. If you save to a GIF8, truecolor images - * are automatically converted to palette. - * - * This method supports additional parameters: quality (for jpeg images) and - * compression quality and filters (for png images). See http://www.php.net/imagejpeg and - * http://www.php.net/imagepng for details. - * - * Examples: - * <code> - * // save to a GIF - * $image->saveToFile('image.gif'); - * - * // save to a PNG with compression=7 and no filters - * $image->saveToFile('image.png', 7, PNG_NO_FILTER); - * - * // save to a JPEG with quality=80 - * $image->saveToFile('image.jpg', 80); - * - * // save to a JPEG with default quality=100 - * $image->saveToFile('image.jpg'); - * </code> - * - * @param string $uri File location - */ - function saveToFile($uri) - { - $mapper = WideImage_MapperFactory::selectMapper($uri, null); - $args = func_get_args(); - array_unshift($args, $this->getHandle()); - $res = call_user_func_array(array($mapper, 'save'), $args); - if (!$res) - throw new WideImage_UnknownErrorWhileMappingException(get_class($mapper) . " returned an invalid result while saving to $uri"); - } - - /** - * Returns binary string with image data in format specified by $format - * - * Additional parameters may be passed to the function. See WideImage_Image::saveToFile() for more details. - * - * @param string $format The format of the image - * @return string The binary image data in specified format - */ - function asString($format) - { - ob_start(); - $args = func_get_args(); - $args[0] = null; - array_unshift($args, $this->getHandle()); - - $mapper = WideImage_MapperFactory::selectMapper(null, $format); - $res = call_user_func_array(array($mapper, 'save'), $args); - if (!$res) - throw new WideImage_UnknownErrorWhileMappingException(get_class($mapper) . " returned an invalid result while writing the image data"); - - return ob_get_clean(); - } - - /** - * Output a header to browser. - * - * @param $name Name of the header - * @param $data Data - */ - protected function writeHeader($name, $data) - { - header($name . ": " . $data); - } - - /** - * Outputs the image to browser - * - * Sets headers Content-length and Content-type, and echoes the image in the specified format. - * All other headers (such as Content-disposition) must be added manually. - * - * Example: - * <code> - * WideImage::load('image1.png')->resize(100, 100)->output('gif'); - * </code> - * - * @param string $format Image format - */ - function output($format) - { - $args = func_get_args(); - $data = call_user_func_array(array($this, 'asString'), $args); - - $this->writeHeader('Content-length', strlen($data)); - $this->writeHeader('Content-type', WideImage_MapperFactory::mimeType($format)); - echo $data; - } - - /** - * @return int Image width - */ - function getWidth() - { - return imagesx($this->handle); - } - - /** - * @return int Image height - */ - function getHeight() - { - return imagesy($this->handle); - } - - /** - * Allocate a color by RGB values. - * - * @param mixed $R Red-component value or an RGB array (with red, green, blue keys) - * @param int $G If $R is int, this is the green component - * @param int $B If $R is int, this is the blue component - * @return int Image color index - */ - function allocateColor($R, $G = null, $B = null) - { - if (is_array($R)) - return imageColorAllocate($this->handle, $R['red'], $R['green'], $R['blue']); - else - return imageColorAllocate($this->handle, $R, $G, $B); - } - - /** - * @return bool True if the image is transparent, false otherwise - */ - function isTransparent() - { - return $this->getTransparentColor() >= 0; - } - - /** - * @return int Transparent color index - */ - function getTransparentColor() - { - return imagecolortransparent($this->handle); - } - - /** - * Sets the current transparent color index. Only makes sense for palette images (8-bit). - * - * @param int $color Transparent color index - */ - function setTransparentColor($color) - { - return imagecolortransparent($this->handle, $color); - } - - /** - * Returns a RGB array of the transparent color or null if none. - * - * @return mixed Transparent color RGBA array - */ - function getTransparentColorRGB() - { - $total = imagecolorstotal($this->handle); - $tc = $this->getTransparentColor(); - - if ($tc >= $total && $total > 0) - return null; - else - return $this->getColorRGB($tc); - } - - /** - * Returns a RGBA array for pixel at $x, $y - * - * @param int $x - * @param int $y - * @return array RGB array - */ - function getRGBAt($x, $y) - { - return $this->getColorRGB($this->getColorAt($x, $y)); - } - - /** - * Writes a pixel at the designated coordinates - * - * Takes an associative array of colours and uses getExactColor() to - * retrieve the exact index color to write to the image with. - * - * @param int $x - * @param int $y - * @param array $color - */ - function setRGBAt($x, $y, $color) - { - $this->setColorAt($x, $y, $this->getExactColor($color)); - } - - /** - * Returns a color's RGB - * - * @param int $colorIndex Color index - * @return mixed RGBA array for a color with index $colorIndex - */ - function getColorRGB($colorIndex) - { - return imageColorsForIndex($this->handle, $colorIndex); - } - - /** - * Returns an index of the color at $x, $y - * - * @param int $x - * @param int $y - * @return int Color index for a pixel at $x, $y - */ - function getColorAt($x, $y) - { - return imagecolorat($this->handle, $x, $y); - } - - /** - * Set the color index $color to a pixel at $x, $y - * - * @param int $x - * @param int $y - * @param int $color Color index - */ - function setColorAt($x, $y, $color) - { - return imagesetpixel($this->handle, $x, $y, $color); - } - - /** - * Returns closest color index that matches the given RGB value. Uses - * PHP's imagecolorclosest() - * - * @param mixed $R Red or RGBA array - * @param int $G Green component (or null if $R is an RGB array) - * @param int $B Blue component (or null if $R is an RGB array) - * @return int Color index - */ - function getClosestColor($R, $G = null, $B = null) - { - if (is_array($R)) - return imagecolorclosest($this->handle, $R['red'], $R['green'], $R['blue']); - else - return imagecolorclosest($this->handle, $R, $G, $B); - } - - /** - * Returns the color index that exactly matches the given RGB value. Uses - * PHP's imagecolorexact() - * - * @param mixed $R Red or RGBA array - * @param int $G Green component (or null if $R is an RGB array) - * @param int $B Blue component (or null if $R is an RGB array) - * @return int Color index - */ - function getExactColor($R, $G = null, $B = null) - { - if (is_array($R)) - return imagecolorexact($this->handle, $R['red'], $R['green'], $R['blue']); - else - return imagecolorexact($this->handle, $R, $G, $B); - } - - /** - * Copies transparency information from $sourceImage. Optionally fills - * the image with the transparent color at (0, 0). - * - * @param object $sourceImage - * @param bool $fill True if you want to fill the image with transparent color - */ - function copyTransparencyFrom($sourceImage, $fill = true) - { - if ($sourceImage->isTransparent()) - { - $rgba = $sourceImage->getTransparentColorRGB(); - if ($rgba === null) - return; - - if ($this->isTrueColor()) - { - $rgba['alpha'] = 127; - $color = $this->allocateColorAlpha($rgba); - } - else - $color = $this->allocateColor($rgba); - - $this->setTransparentColor($color); - if ($fill) - $this->fill(0, 0, $color); - } - } - - /** - * Fill the image at ($x, $y) with color index $color - * - * @param int $x - * @param int $y - * @param int $color - */ - function fill($x, $y, $color) - { - return imagefill($this->handle, $x, $y, $color); - } - - /** - * Used internally to create Operation objects - * - * @param string $name - * @return object - */ - protected function getOperation($name) - { - return WideImage_OperationFactory::get($name); - } - - /** - * Returns the image's mask - * - * Mask is a greyscale image where the shade defines the alpha channel (black = transparent, white = opaque). - * - * For opaque images (JPEG), the result will be white. For images with single-color transparency (GIF, 8-bit PNG), - * the areas with the transparent color will be black. For images with alpha channel transparenct, - * the result will be alpha channel. - * - * @return WideImage_Image An image mask - **/ - function getMask() - { - return $this->getOperation('GetMask')->execute($this); - } - - /** - * Resize the image to given dimensions. - * - * $width and $height are both smart coordinates. This means that you can pass any of these values in: - * - positive or negative integer (100, -20, ...) - * - positive or negative percent string (30%, -15%, ...) - * - complex coordinate (50% - 20, 15 + 30%, ...) - * - * If $width is null, it's calculated proportionally from $height, and vice versa. - * - * Example (resize to half-size): - * <code> - * $smaller = $image->resize('50%'); - * - * $smaller = $image->resize('100', '100', 'inside', 'down'); - * is the same as - * $smaller = $image->resizeDown(100, 100, 'inside'); - * </code> - * - * @param mixed $width The new width (smart coordinate), or null. - * @param mixed $height The new height (smart coordinate), or null. - * @param string $fit 'inside', 'outside', 'fill' - * @param string $scale 'down', 'up', 'any' - * @return WideImage_Image The resized image - */ - function resize($width = null, $height = null, $fit = 'inside', $scale = 'any') - { - return $this->getOperation('Resize')->execute($this, $width, $height, $fit, $scale); - } - - /** - * Same as WideImage_Image::resize(), but the image is only applied if it is larger then the given dimensions. - * Otherwise, the resulting image retains the source's dimensions. - * - * @param int $width New width, smart coordinate - * @param int $height New height, smart coordinate - * @param string $fit 'inside', 'outside', 'fill' - * @return WideImage_Image resized image - */ - function resizeDown($width = null, $height = null, $fit = 'inside') - { - return $this->resize($width, $height, $fit, 'down'); - } - - /** - * Same as WideImage_Image::resize(), but the image is only applied if it is smaller then the given dimensions. - * Otherwise, the resulting image retains the source's dimensions. - * - * @param int $width New width, smart coordinate - * @param int $height New height, smart coordinate - * @param string $fit 'inside', 'outside', 'fill' - * @return WideImage_Image resized image - */ - function resizeUp($width = null, $height = null, $fit = 'inside') - { - return $this->resize($width, $height, $fit, 'up'); - } - - /** - * Rotate the image for angle $angle clockwise. - * - * Preserves transparency. Has issues when saving to a BMP. - * - * @param int $angle Angle in degrees, clock-wise - * @param int $bgColor color of the new background - * @param bool $ignoreTransparent - * @return WideImage_Image The rotated image - */ - function rotate($angle, $bgColor = null, $ignoreTransparent = true) - { - return $this->getOperation('Rotate')->execute($this, $angle, $bgColor, $ignoreTransparent); - } - - /** - * This method lays the overlay (watermark) on the image. - * - * Hint: if the overlay is a truecolor image with alpha channel, you should leave $pct at 100. - * - * This operation supports alignment notation in coordinates: - * <code> - * $watermark = WideImage::load('logo.gif'); - * $base = WideImage::load('picture.jpg'); - * $result = $base->merge($watermark, "right - 10", "bottom - 10", 50); - * // applies a logo aligned to bottom-right corner with a 10 pixel margin - * </code> - * - * @param WideImage_Image $overlay The overlay image - * @param mixed $left Left position of the overlay, smart coordinate - * @param mixed $top Top position of the overlay, smart coordinate - * @param int $pct The opacity of the overlay - * @return WideImage_Image The merged image - */ - function merge($overlay, $left = 0, $top = 0, $pct = 100) - { - return $this->getOperation('Merge')->execute($this, $overlay, $left, $top, $pct); - } - - /** - * Resizes the canvas of the image, but doesn't scale the content of the image - * - * This operation creates an empty canvas with dimensions $width x $height, filled with - * background color $bg_color and draws the original image onto it at position [$pos_x, $pos_y]. - * - * Arguments $width, $height, $pos_x and $pos_y are all smart coordinates. $width and $height are - * relative to the current image size, $pos_x and $pos_y are relative to the newly calculated - * canvas size. This can be confusing, but it makes sense. See the example below. - * - * The example below loads a 100x150 image and then resizes its canvas to 200% x 100%+20 - * (which evaluates to 200x170). The image is placed at position [10, center+20], which evaluates to [10, 30]. - * <code> - * $image = WideImage::load('someimage.jpg'); // 100x150 - * $white = $image->allocateColor(255, 255, 255); - * $image->resizeCanvas('200%', '100% + 20', 10, 'center+20', $white); - * </code> - * - * The parameter $merge defines whether the original image should be merged onto the new canvas. - * This means it blends transparent color and alpha colors into the background color. If set to false, - * the original image is just copied over, preserving the transparency/alpha information. - * - * You can set the $scale parameter to limit when to resize the canvas. For example, if you want - * to resize the canvas only if the image is smaller than the new size, but leave the image intact - * if it's larger, set it to 'up'. Likewise, if you want to shrink the canvas, but don't want to - * change images that are already smaller, set it to 'down'. - * - * @param mixed $width Width of the new canvas (smart coordinate, relative to current image width) - * @param mixed $height Height of the new canvas (smart coordinate, relative to current image height) - * @param mixed $pos_x x-position of the image (smart coordinate, relative to the new width) - * @param mixed $pos_y y-position of the image (smart coordinate, relative to the new height) - * @param int $bg_color Background color (created with allocateColor or allocateColorAlpha), defaults to null (tries to use a transparent color) - * @param string $scale Possible values: 'up' (enlarge only), 'down' (downsize only), 'any' (resize precisely to $width x $height). Defaults to 'any'. - * @param bool $merge Merge the original image (flatten alpha channel and transparency) or copy it over (preserve). Defaults to false. - * @return WideImage_Image The resulting image with resized canvas - */ - function resizeCanvas($width, $height, $pos_x, $pos_y, $bg_color = null, $scale = 'any', $merge = false) - { - return $this->getOperation('ResizeCanvas')->execute($this, $width, $height, $pos_x, $pos_y, $bg_color, $scale, $merge); - } - - /** - * Returns an image with round corners - * - * You can either set the corners' color or set them transparent. - * - * Note on $smoothness: 1 means jagged edges, 2 is much better, more than 4 doesn't noticeably improve the quality. - * Rendering becomes increasingly slower if you increase smoothness. - * - * Example: - * <code> - * $nice = $ugly->roundCorners(20, $ugly->allocateColor(255, 0, 0), 2); - * </code> - * - * Use $corners parameter to specify which corners to draw rounded. Possible values are - * WideImage::SIDE_TOP_LEFT, WideImage::SIDE_TOP, - * WideImage::SIDE_TOP_RIGHT, WideImage::SIDE_RIGHT, - * WideImage::SIDE_BOTTOM_RIGHT, WideImage::SIDE_BOTTOM, - * WideImage::SIDE_BOTTOM_LEFT, WideImage::SIDE_LEFT, and WideImage::SIDE_ALL. - * You can specify any combination of corners with a + operation, see example below. - * - * Example: - * <code> - * $white = $image->allocateColor(255, 255, 255); - * $diagonal_corners = $image->roundCorners(15, $white, 2, WideImage::SIDE_TOP_LEFT + WideImage::SIDE_BOTTOM_RIGHT); - * $right_corners = $image->roundCorners(15, $white, 2, WideImage::SIDE_RIGHT); - * </code> - * - * @param int $radius Radius of the corners - * @param int $color The color of corners. If null, corners are rendered transparent (slower than using a solid color). - * @param int $smoothness Specify the level of smoothness. Suggested values from 1 to 4. - * @param int $corners Specify which corners to draw (defaults to WideImage::SIDE_ALL = all corners) - * @return WideImage_Image The resulting image with round corners - */ - function roundCorners($radius, $color = null, $smoothness = 2, $corners = 255) - { - return $this->getOperation('RoundCorners')->execute($this, $radius, $color, $smoothness, $corners); - } - - /** - * Returns an image with applied mask - * - * A mask is a grayscale image, where the shade determines the alpha channel. Black is fully transparent - * and white is fully opaque. - * - * @param WideImage_Image $mask The mask image, greyscale - * @param mixed $left Left coordinate, smart coordinate - * @param mixed $top Top coordinate, smart coordinate - * @return WideImage_Image The resulting image - **/ - function applyMask($mask, $left = 0, $top = 0) - { - return $this->getOperation('ApplyMask')->execute($this, $mask, $left, $top); - } - - /** - * Applies a filter - * - * @param int $filter One of the IMG_FILTER_* constants - * @param int $arg1 - * @param int $arg2 - * @param int $arg3 - * @param int $arg4 - * @return WideImage_Image - */ - function applyFilter($filter, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null) - { - return $this->getOperation('ApplyFilter')->execute($this, $filter, $arg1, $arg2, $arg3, $arg4); - } - - /** - * Applies convolution matrix with imageconvolution() - * - * @param array $matrix - * @param float $div - * @param float $offset - * @return WideImage_Image - */ - function applyConvolution($matrix, $div, $offset) - { - return $this->getOperation('ApplyConvolution')->execute($this, $matrix, $div, $offset); - } - - /** - * Returns a cropped rectangular portion of the image - * - * If the rectangle specifies area that is out of bounds, it's limited to the current image bounds. - * - * Examples: - * <code> - * $cropped = $img->crop(10, 10, 150, 200); // crops a 150x200 rect at (10, 10) - * $cropped = $img->crop(-100, -50, 100, 50); // crops a 100x50 rect at the right-bottom of the image - * $cropped = $img->crop('25%', '25%', '50%', '50%'); // crops a 50%x50% rect from the center of the image - * </code> - * - * This operation supports alignment notation in left/top coordinates. - * Example: - * <code> - * $cropped = $img->crop("right", "bottom", 100, 200); // crops a 100x200 rect from right bottom - * $cropped = $img->crop("center", "middle", 50, 30); // crops a 50x30 from the center of the image - * </code> - * - * @param mixed $left Left-coordinate of the crop rect, smart coordinate - * @param mixed $top Top-coordinate of the crop rect, smart coordinate - * @param mixed $width Width of the crop rect, smart coordinate - * @param mixed $height Height of the crop rect, smart coordinate - * @return WideImage_Image The cropped image - **/ - function crop($left = 0, $top = 0, $width = '100%', $height = '100%') - { - return $this->getOperation('Crop')->execute($this, $left, $top, $width, $height); - } - - /** - * Performs an auto-crop on the image - * - * The image is auto-cropped from each of four sides. All sides are - * scanned for pixels that differ from $base_color for more than - * $rgb_threshold in absolute RGB difference. If more than $pixel_cutoff - * differentiating pixels are found, that line is considered to be the crop line for the side. - * If the line isn't different enough, the algorithm procedes to the next line - * towards the other edge of the image. - * - * When the crop rectangle is found, it's enlarged by the $margin value on each of the four sides. - * - * @param int $margin Margin for the crop rectangle, can be negative. - * @param int $rgb_threshold RGB difference which still counts as "same color". - * @param int $pixel_cutoff How many pixels need to be different to mark a cut line. - * @param int $base_color The base color index. If none specified (or null given), left-top pixel is used. - * @return WideImage_Image The cropped image - */ - function autoCrop($margin = 0, $rgb_threshold = 0, $pixel_cutoff = 1, $base_color = null) - { - return $this->getOperation('AutoCrop')->execute($this, $margin, $rgb_threshold, $pixel_cutoff, $base_color); - } - - /** - * Returns a negative of the image - * - * This operation differs from calling WideImage_Image::applyFilter(IMG_FILTER_NEGATIVE), because it's 8-bit and transparency safe. - * This means it will return an 8-bit image, if the source image is 8-bit. If that 8-bit image has a palette transparency, - * the resulting image will keep transparency. - * - * @return WideImage_Image negative of the image - */ - function asNegative() - { - return $this->getOperation('AsNegative')->execute($this); - } - - /** - * Returns a grayscale copy of the image - * - * @return WideImage_Image grayscale copy - **/ - function asGrayscale() - { - return $this->getOperation('AsGrayscale')->execute($this); - } - - /** - * Returns a mirrored copy of the image - * - * @return WideImage_Image Mirrored copy - **/ - function mirror() - { - return $this->getOperation('Mirror')->execute($this); - } - - /** - * Applies the unsharp filter - * - * @param float $amount - * @param float $radius - * @param float $threshold - * @return WideImage_Image Unsharpened copy of the image - **/ - function unsharp($amount, $radius, $threshold) - { - return $this->getOperation('Unsharp')->execute($this, $amount, $radius, $threshold); - } - - /** - * Returns a flipped (mirrored over horizontal line) copy of the image - * - * @return WideImage_Image Flipped copy - **/ - function flip() - { - return $this->getOperation('Flip')->execute($this); - } - - /** - * Corrects gamma on the image - * - * @param float $inputGamma - * @param float $outputGamma - * @return WideImage_Image Image with corrected gamma - **/ - function correctGamma($inputGamma, $outputGamma) - { - return $this->getOperation('CorrectGamma')->execute($this, $inputGamma, $outputGamma); - } - - /** - * Adds noise to the image - * - * @author Tomasz Kapusta - * - * @param int $amount Number of noise pixels to add - * @param string $type Type of noise 'salt&pepper', 'color' or 'mono' - * @return WideImage_Image Image with noise added - **/ - function addNoise($amount, $type) - { - return $this->getOperation('AddNoise')->execute($this, $amount, $type); - } - - /** - * Used internally to execute operations - * - * @param string $name - * @param array $args - * @return WideImage_Image - */ - function __call($name, $args) - { - $op = $this->getOperation($name); - array_unshift($args, $this); - return call_user_func_array(array($op, 'execute'), $args); - } - - /** - * Returns an image in GIF or PNG format - * - * @return string - */ - function __toString() - { - if ($this->isTransparent()) - return $this->asString('gif'); - else - return $this->asString('png'); - } - - /** - * Returns a copy of the image object - * - * @return WideImage_Image The copy - **/ - function copy() - { - $dest = $this->doCreate($this->getWidth(), $this->getHeight()); - $dest->copyTransparencyFrom($this, true); - $this->copyTo($dest, 0, 0); - return $dest; - } - - /** - * Copies this image onto another image - * - * @param WideImage_Image $dest - * @param int $left - * @param int $top - **/ - function copyTo($dest, $left = 0, $top = 0) - { - if (!imagecopy($dest->getHandle(), $this->handle, $left, $top, 0, 0, $this->getWidth(), $this->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - } - - /** - * Returns the canvas object - * - * The Canvas object can be used to draw text and shapes on the image - * - * Examples: - * <code> - * $img = WideImage::load('pic.jpg); - * $canvas = $img->getCanvas(); - * $canvas->useFont('arial.ttf', 15, $img->allocateColor(200, 220, 255)); - * $canvas->writeText(10, 50, "Hello world!"); - * - * $canvas->filledRectangle(10, 10, 80, 40, $img->allocateColor(255, 127, 255)); - * $canvas->line(60, 80, 30, 100, $img->allocateColor(255, 0, 0)); - * $img->saveToFile('new.png'); - * </code> - * - * @return WideImage_Canvas The Canvas object - **/ - function getCanvas() - { - if ($this->canvas == null) - $this->canvas = new WideImage_Canvas($this); - return $this->canvas; - } - - /** - * Returns true if the image is true-color, false otherwise - * - * @return bool - **/ - abstract function isTrueColor(); - - /** - * Returns a true-color copy of the image - * - * @return WideImage_TrueColorImage - **/ - abstract function asTrueColor(); - - /** - * Returns a palette copy (8bit) of the image - * - * @param int $nColors Number of colors in the resulting image, more than 0, less or equal to 255 - * @param bool $dither Use dithering or not - * @param bool $matchPalette Set to true to use imagecolormatch() to match the resulting palette more closely to the original image - * @return WideImage_Image - **/ - abstract function asPalette($nColors = 255, $dither = null, $matchPalette = true); - - /** - * Retrieve an image with selected channels - * - * Examples: - * <code> - * $channels = $img->getChannels('red', 'blue'); - * $channels = $img->getChannels('alpha', 'green'); - * $channels = $img->getChannels(array('green', 'blue')); - * </code> - * - * @return WideImage_Image - **/ - abstract function getChannels(); - - /** - * Returns an image without an alpha channel - * - * @return WideImage_Image - **/ - abstract function copyNoAlpha(); - - /** - * Returns an array of serializable protected variables. Called automatically upon serialize(). - * - * @return array - */ - function __sleep() - { - $this->sdata = $this->asString('png'); - return array('sdata', 'handleReleased'); - } - - /** - * Restores an image from serialization. Called automatically upon unserialize(). - */ - function __wakeup() - { - $temp_image = WideImage::loadFromString($this->sdata); - $temp_image->releaseHandle(); - $this->handle = $temp_image->handle; - $temp_image = null; - $this->sdata = null; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/BMP.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/BMP.php deleted file mode 100644 index 0620f0590..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/BMP.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Mappers - **/ - - include_once WideImage::path() . '/vendor/de77/BMP.php'; - - /** - * Mapper support for BMP - * - * @package Internal/Mappers - */ - class WideImage_Mapper_BMP - { - function load($uri) - { - return WideImage_vendor_de77_BMP::imagecreatefrombmp($uri); - } - - function loadFromString($data) - { - return WideImage_vendor_de77_BMP::imagecreatefromstring($data); - } - - function save($handle, $uri = null) - { - if ($uri == null) - return WideImage_vendor_de77_BMP::imagebmp($handle); - else - return WideImage_vendor_de77_BMP::imagebmp($handle, $uri); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GD.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GD.php deleted file mode 100644 index 03372ebd9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GD.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Mappers - **/ - - /** - * Mapper class for GD files - * - * @package Internal/Mappers - */ - class WideImage_Mapper_GD - { - function load($uri) - { - return @imagecreatefromgd($uri); - } - - function save($handle, $uri = null) - { - if ($uri == null) - return imagegd($handle); - else - return imagegd($handle, $uri); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GD2.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GD2.php deleted file mode 100644 index 7bbc5a60c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GD2.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Mappers - **/ - - /** - * Mapper class for GD2 files - * - * @package Internal/Mappers - */ - class WideImage_Mapper_GD2 - { - function load($uri) - { - return @imagecreatefromgd2($uri); - } - - function save($handle, $uri = null, $chunk_size = null, $type = null) - { - return imagegd2($handle, $uri, $chunk_size, $type); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GIF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GIF.php deleted file mode 100644 index f69ec6915..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/GIF.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Mappers - **/ - - /** - * Mapper class for GIF files - * - * @package Internal/Mappers - */ - class WideImage_Mapper_GIF - { - function load($uri) - { - return @imagecreatefromgif($uri); - } - - function save($handle, $uri = null) - { - // This is a workaround for a bug, for which PHP devs claim it's not - // really a bug. Well, it IS. - // You can't pass null as the second parameter, because php is - // then trying to save an image to a '' location (which results in an - // error, of course). And the same thing works fine for imagepng() and - // imagejpeg(). It's a bug! ;) - if ($uri) - return imagegif($handle, $uri); - else - return imagegif($handle); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/JPEG.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/JPEG.php deleted file mode 100644 index a24a6cb25..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/JPEG.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Mappers - **/ - - /** - * Mapper class for JPEG files - * - * @package Internal/Mappers - */ - class WideImage_Mapper_JPEG - { - function load($uri) - { - return @imagecreatefromjpeg($uri); - } - - function save($handle, $uri = null, $quality = 100) - { - return imagejpeg($handle, $uri, $quality); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/PNG.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/PNG.php deleted file mode 100644 index 30b59d175..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/PNG.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Mappers - **/ - - /** - * Mapper class for PNG files - * - * @package Internal/Mappers - */ - class WideImage_Mapper_PNG - { - function load($uri) - { - return @imagecreatefrompng($uri); - } - - function save($handle, $uri = null, $compression = 9, $filters = PNG_ALL_FILTERS) - { - return imagepng($handle, $uri, $compression, $filters); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/TGA.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/TGA.php deleted file mode 100644 index a1027a575..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/TGA.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Mappers - **/ - - include_once WideImage::path() . '/vendor/de77/TGA.php'; - - /** - * Mapper support for TGA - * - * @package Internal/Mappers - */ - class WideImage_Mapper_TGA - { - function load($uri) - { - return WideImage_vendor_de77_TGA::imagecreatefromtga($uri); - } - - function loadFromString($data) - { - return WideImage_vendor_de77_TGA::imagecreatefromstring($data); - } - - function save($handle, $uri = null) - { - throw new WideImage_Exception("Saving to TGA isn't supported."); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Mapper/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/MapperFactory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/MapperFactory.php deleted file mode 100644 index 4f453df22..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/MapperFactory.php +++ /dev/null @@ -1,126 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * Thrown when image format isn't supported - * - * @package Exceptions - */ - class WideImage_UnsupportedFormatException extends WideImage_Exception {} - - /** - * Mapper factory - * - * @package Internals - **/ - abstract class WideImage_MapperFactory - { - static protected $mappers = array(); - static protected $customMappers = array(); - - static protected $mimeTable = array( - 'image/jpg' => 'JPEG', - 'image/jpeg' => 'JPEG', - 'image/pjpeg' => 'JPEG', - 'image/gif' => 'GIF', - 'image/png' => 'PNG' - ); - - /** - * Returns a mapper, based on the $uri and $format - * - * @param string $uri File URI - * @param string $format File format (extension or mime-type) or null - * @return WideImage_Mapper - **/ - static function selectMapper($uri, $format = null) - { - $format = self::determineFormat($uri, $format); - - if (array_key_exists($format, self::$mappers)) - return self::$mappers[$format]; - - $mapperClassName = 'WideImage_Mapper_' . $format; - - if (!class_exists($mapperClassName, false)) - { - $mapperFileName = WideImage::path() . 'Mapper/' . $format . '.php'; - if (file_exists($mapperFileName)) - require_once $mapperFileName; - } - - if (class_exists($mapperClassName)) - { - self::$mappers[$format] = new $mapperClassName(); - return self::$mappers[$format]; - } - - throw new WideImage_UnsupportedFormatException("Format '{$format}' is not supported."); - } - - static function registerMapper($mapper_class_name, $mime_type, $extension) - { - self::$customMappers[$mime_type] = $mapper_class_name; - self::$mimeTable[$mime_type] = $extension; - } - - static function getCustomMappers() - { - return self::$customMappers; - } - - static function determineFormat($uri, $format = null) - { - if ($format == null) - $format = self::extractExtension($uri); - - // mime-type match - if (preg_match('~[a-z]*/[a-z-]*~i', $format)) - if (isset(self::$mimeTable[strtolower($format)])) - { - return self::$mimeTable[strtolower($format)]; - } - - // clean the string - $format = strtoupper(preg_replace('/[^a-z0-9_-]/i', '', $format)); - if ($format == 'JPG') - $format = 'JPEG'; - - return $format; - } - - static function mimeType($format) - { - return array_search(strtoupper($format), self::$mimeTable); - } - - static function extractExtension($uri) - { - $p = strrpos($uri, '.'); - if ($p === false) - return ''; - else - return substr($uri, $p + 1); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AddNoise.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AddNoise.php deleted file mode 100644 index 5206c3ef3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AddNoise.php +++ /dev/null @@ -1,153 +0,0 @@ -<?php - /** - * @author Tomasz Kapusta - * @copyright 2010 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * Noise filter - * - * @package Internal/Operations - */ - class WideImage_Operation_AddNoise { - /** - * Returns image with noise added - * - * @param WideImage_Image $image - * @param float $amount - * @param const $type - * @param float $threshold - * @return WideImage_Image - */ - - function execute($image, $amount, $type) { - - switch ($type) - { - case 'salt&pepper' : $fun = 'saltPepperNoise_fun'; - break; - case 'color' : $fun = 'colorNoise_fun'; - break; - default : $fun = 'monoNoise_fun'; - break; - } - - return self::filter($image->asTrueColor(), $fun, $amount); - } - - /** - * Returns image with every pixel changed by specififed function - * - * @param WideImage_Image $image - * @param str $function - * @param int $value - * @return WideImage_Image - */ - function filter($image, $function, $value) - { - for ($y = 0; $y < $image->getHeight(); $y++) - { - for ($x = 0; $x< $image->getWidth(); $x++) - { - $rgb = imagecolorat($image->getHandle(), $x, $y); - - $a = ($rgb >> 24) & 0xFF; - $r = ($rgb >> 16) & 0xFF; - $g = ($rgb >> 8) & 0xFF; - $b = $rgb & 0xFF; - - - self::$function($r, $g, $b, $value); - - $color = imagecolorallocatealpha($image->getHandle(), $r, $g, $b, $a); - imagesetpixel($image->getHandle(), $x, $y, $color); - } - } - return $image; - } - /** - * Adds color noise by altering given R,G,B values using specififed amount - * - * @param int $r - * @param int $g - * @param int $b - * @param int $value - * @return void - */ - function colorNoise_fun(&$r, &$g, &$b, $amount) - { - $r = self::byte($r + mt_rand(0, $amount) - ($amount >> 1) ); - $g = self::byte($g + mt_rand(0, $amount) - ($amount >> 1) ); - $b = self::byte($b + mt_rand(0, $amount) - ($amount >> 1) ); - } - /** - * Adds mono noise by altering given R,G,B values using specififed amount - * - * @param int $r - * @param int $g - * @param int $b - * @param int $value - * @return void - */ - function monoNoise_fun(&$r, &$g, &$b, $amount) - { - $rand = mt_rand(0, $amount) - ($amount >> 1); - - $r = self::byte($r + $rand); - $g = self::byte($g + $rand); - $b = self::byte($b + $rand); - } - /** - * Adds salt&pepper noise by altering given R,G,B values using specififed amount - * - * @param int $r - * @param int $g - * @param int $b - * @param int $value - * @return void - */ - function saltPepperNoise_fun(&$r, &$g, &$b, $amount) - { - if (mt_rand(0, 255 - $amount) != 0) return; - - $rand = mt_rand(0, 1); - switch ($rand) - { - case 0 : $r = $g = $b = 0; - break; - case 1 : $r = $g = $b = 255; - break; - } - } - /** - * Returns value within (0,255) - * - * @param int $b - * @return int - */ - function byte($b) - { - if ($b > 255) return 255; - if ($b < 0) return 0; - return (int) $b; - } - - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php deleted file mode 100644 index 9a1c5f74c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * ApplyConvolution operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_ApplyConvolution - { - /** - * Executes imageconvolution() filter - * - * @param WideImage_Image $image - * @param array $matrix - * @param numeric $div - * @param numeric $offset - * @return WideImage_Image - */ - function execute($image, $matrix, $div, $offset) - { - $new = $image->asTrueColor(); - if (!imageconvolution($new->getHandle(), $matrix, $div, $offset)) - throw new WideImage_GDFunctionResultException("imageconvolution() returned false"); - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyFilter.php deleted file mode 100644 index ec6d210b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyFilter.php +++ /dev/null @@ -1,67 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * ApplyFilter operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_ApplyFilter - { - /** - * A list of filters that only accept one arguments for imagefilter() - * - * @var array - */ - static protected $one_arg_filters = array(IMG_FILTER_SMOOTH, IMG_FILTER_CONTRAST, IMG_FILTER_BRIGHTNESS); - - /** - * Executes imagefilter - * - * @param WideImage_Image $image - * @param int $filter - * @param numeric $arg1 - * @param numeric $arg2 - * @param numeric $arg3 - * @return WideImage_TrueColorImage - */ - function execute($image, $filter, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null) - { - $new = $image->asTrueColor(); - - if (in_array($filter, self::$one_arg_filters)) - $res = imagefilter($new->getHandle(), $filter, $arg1); - elseif (defined('IMG_FILTER_PIXELATE') && $filter == IMG_FILTER_PIXELATE) - $res = imagefilter($new->getHandle(), $filter, $arg1, $arg2); - elseif ($filter == IMG_FILTER_COLORIZE) - $res = imagefilter($new->getHandle(), $filter, $arg1, $arg2, $arg3, $arg4); - else - $res = imagefilter($new->getHandle(), $filter); - - if (!$res) - throw new WideImage_GDFunctionResultException("imagefilter() returned false"); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyMask.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyMask.php deleted file mode 100644 index 949213f0c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ApplyMask.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * ApplyMask operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_ApplyMask - { - /** - * Applies a mask on the copy of source image - * - * @param WideImage_Image $image - * @param WideImage_Image $mask - * @param smart_coordinate $left - * @param smart_coordinate $top - * @return WideImage_Image - */ - function execute($image, $mask, $left = 0, $top = 0) - { - $left = WideImage_Coordinate::fix($left, $image->getWidth(), $mask->getWidth()); - $top = WideImage_Coordinate::fix($top, $image->getHeight(), $mask->getHeight()); - - $width = $image->getWidth(); - $mask_width = $mask->getWidth(); - - $height = $image->getHeight(); - $mask_height = $mask->getHeight(); - - $result = $image->asTrueColor(); - - $result->alphaBlending(false); - $result->saveAlpha(true); - - $srcTransparentColor = $result->getTransparentColor(); - if ($srcTransparentColor >= 0) - { - # this was here. works without. - #$trgb = $image->getColorRGB($srcTransparentColor); - #$trgb['alpha'] = 127; - #$destTransparentColor = $result->allocateColorAlpha($trgb); - #$result->setTransparentColor($destTransparentColor); - $destTransparentColor = $srcTransparentColor; - } - else - { - $destTransparentColor = $result->allocateColorAlpha(255, 255, 255, 127); - } - - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $mx = $x - $left; - $my = $y - $top; - if ($mx >= 0 && $mx < $mask_width && $my >= 0 && $my < $mask_height) - { - $srcColor = $image->getColorAt($x, $y); - if ($srcColor == $srcTransparentColor) - $destColor = $destTransparentColor; - else - { - $maskRGB = $mask->getRGBAt($mx, $my); - if ($maskRGB['red'] == 0) - $destColor = $destTransparentColor; - elseif ($srcColor >= 0) - { - $imageRGB = $image->getRGBAt($x, $y); - $level = ($maskRGB['red'] / 255) * (1 - $imageRGB['alpha'] / 127); - $imageRGB['alpha'] = 127 - round($level * 127); - if ($imageRGB['alpha'] == 127) - $destColor = $destTransparentColor; - else - $destColor = $result->allocateColorAlpha($imageRGB); - } - else - $destColor = $destTransparentColor; - } - $result->setColorAt($x, $y, $destColor); - } - } - return $result; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AsGrayscale.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AsGrayscale.php deleted file mode 100644 index dc72f8554..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AsGrayscale.php +++ /dev/null @@ -1,49 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * AsGrayscale operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_AsGrayscale - { - /** - * Returns a greyscale copy of an image - * - * @param WideImage_Image $image - * @return WideImage_Image - */ - function execute($image) - { - $new = $image->asTrueColor(); - if (!imagefilter($new->getHandle(), IMG_FILTER_GRAYSCALE)) - throw new WideImage_GDFunctionResultException("imagefilter() returned false"); - - if (!$image->isTrueColor()) - $new = $new->asPalette(); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AsNegative.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AsNegative.php deleted file mode 100644 index 9a13c4297..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AsNegative.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * AsNegative operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_AsNegative - { - /** - * Returns a greyscale copy of an image - * - * @param WideImage_Image $image - * @return WideImage_Image - */ - function execute($image) - { - $palette = !$image->isTrueColor(); - $transparent = $image->isTransparent(); - - if ($palette && $transparent) - $tcrgb = $image->getTransparentColorRGB(); - - $new = $image->asTrueColor(); - if (!imagefilter($new->getHandle(), IMG_FILTER_NEGATE)) - throw new WideImage_GDFunctionResultException("imagefilter() returned false"); - - if ($palette) - { - $new = $new->asPalette(); - if ($transparent) - { - $irgb = array('red' => 255 - $tcrgb['red'], 'green' => 255 - $tcrgb['green'], 'blue' => 255 - $tcrgb['blue'], 'alpha' => 127); - // needs imagecolorexactalpha instead of imagecolorexact, otherwise doesn't work on some transparent GIF images - $new_tci = imagecolorexactalpha($new->getHandle(), $irgb['red'], $irgb['green'], $irgb['blue'], 127); - $new->setTransparentColor($new_tci); - } - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AutoCrop.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AutoCrop.php deleted file mode 100644 index 2fd0909e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/AutoCrop.php +++ /dev/null @@ -1,162 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * AutoCrop operation - * - * @package Internal/Operations - */ - class WideImage_Operation_AutoCrop - { - /** - * Executes the auto-crop operation on the $img - * - * @param WideImage_Image $img - * @param int $rgb_threshold The difference in RGB from $base_color - * @param int $pixel_cutoff The number of pixels on each border that must be over $rgb_threshold - * @param int $base_color The color that will get cropped - * @return WideImage_Image resulting auto-cropped image - */ - function execute($img, $margin, $rgb_threshold, $pixel_cutoff, $base_color) - { - $margin = intval($margin); - - $rgb_threshold = intval($rgb_threshold); - if ($rgb_threshold < 0) - $rgb_threshold = 0; - - $pixel_cutoff = intval($pixel_cutoff); - if ($pixel_cutoff <= 1) - $pixel_cutoff = 1; - - if ($base_color === null) - $rgb_base = $img->getRGBAt(0, 0); - else - { - if ($base_color < 0) - return $img->copy(); - - $rgb_base = $img->getColorRGB($base_color); - } - - $cut_rect = array('left' => 0, 'top' => 0, 'right' => $img->getWidth() - 1, 'bottom' => $img->getHeight() - 1); - - for ($y = 0; $y <= $cut_rect['bottom']; $y++) - { - $count = 0; - for ($x = 0; $x <= $cut_rect['right']; $x++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['top'] = $y; - break 2; - } - } - } - } - - for ($y = $img->getHeight() - 1; $y >= $cut_rect['top']; $y--) - { - $count = 0; - for ($x = 0; $x <= $cut_rect['right']; $x++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['bottom'] = $y; - break 2; - } - } - } - } - - for ($x = 0; $x <= $cut_rect['right']; $x++) - { - $count = 0; - for ($y = $cut_rect['top']; $y <= $cut_rect['bottom']; $y++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['left'] = $x; - break 2; - } - } - } - } - - for ($x = $cut_rect['right']; $x >= $cut_rect['left']; $x--) - { - $count = 0; - for ($y = $cut_rect['top']; $y <= $cut_rect['bottom']; $y++) - { - $rgb = $img->getRGBAt($x, $y); - $diff = abs($rgb['red'] - $rgb_base['red']) + abs($rgb['green'] - $rgb_base['green']) + abs($rgb['blue'] - $rgb_base['blue']); - if ($diff > $rgb_threshold) - { - $count++; - if ($count >= $pixel_cutoff) - { - $cut_rect['right'] = $x; - break 2; - } - } - } - } - - $cut_rect = array( - 'left' => $cut_rect['left'] - $margin, - 'top' => $cut_rect['top'] - $margin, - 'right' => $cut_rect['right'] + $margin, - 'bottom' => $cut_rect['bottom'] + $margin - ); - - if ($cut_rect['left'] < 0) - $cut_rect['left'] = 0; - - if ($cut_rect['top'] < 0) - $cut_rect['top'] = 0; - - if ($cut_rect['right'] >= $img->getWidth()) - $cut_rect['right'] = $img->getWidth() - 1; - - if ($cut_rect['bottom'] >= $img->getHeight()) - $cut_rect['bottom'] = $img->getHeight() - 1; - - return $img->crop($cut_rect['left'], $cut_rect['top'], $cut_rect['right'] - $cut_rect['left'] + 1, $cut_rect['bottom'] - $cut_rect['top'] + 1); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php deleted file mode 100644 index 048975005..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php +++ /dev/null @@ -1,90 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * CopyChannelsPalette operation class - * - * This operation is intended to be used on palette images - * - * @package Internal/Operations - */ - class WideImage_Operation_CopyChannelsPalette - { - /** - * Returns an image with only specified channels copied - * - * @param WideImage_PaletteImage $img - * @param array $channels - * @return WideImage_PaletteImage - */ - function execute($img, $channels) - { - $blank = array('red' => 0, 'green' => 0, 'blue' => 0); - if (isset($channels['alpha'])) - unset($channels['alpha']); - - $width = $img->getWidth(); - $height = $img->getHeight(); - $copy = WideImage_PaletteImage::create($width, $height); - - if ($img->isTransparent()) - { - $otci = $img->getTransparentColor(); - $TRGB = $img->getColorRGB($otci); - $tci = $copy->allocateColor($TRGB); - } - else - { - $otci = null; - $tci = null; - } - - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $ci = $img->getColorAt($x, $y); - if ($ci === $otci) - { - $copy->setColorAt($x, $y, $tci); - continue; - } - $RGB = $img->getColorRGB($ci); - - $newRGB = $blank; - foreach ($channels as $channel) - $newRGB[$channel] = $RGB[$channel]; - - $color = $copy->getExactColor($newRGB); - if ($color == -1) - $color = $copy->allocateColor($newRGB); - - $copy->setColorAt($x, $y, $color); - } - - if ($img->isTransparent()) - $copy->setTransparentColor($tci); - - return $copy; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php deleted file mode 100644 index bf39520cd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php +++ /dev/null @@ -1,67 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * CopyChannelsTrueColor operation class - * - * Used to perform CopyChannels operation on truecolor images - * - * @package Internal/Operations - */ - class WideImage_Operation_CopyChannelsTrueColor - { - /** - * Returns an image with only specified channels copied - * - * @param WideImage_Image $img - * @param array $channels - * @return WideImage_Image - */ - function execute($img, $channels) - { - $blank = array('red' => 0, 'green' => 0, 'blue' => 0, 'alpha' => 0); - - $width = $img->getWidth(); - $height = $img->getHeight(); - $copy = WideImage_TrueColorImage::create($width, $height); - - if (count($channels) > 0) - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $RGBA = $img->getRGBAt($x, $y); - $newRGBA = $blank; - foreach ($channels as $channel) - $newRGBA[$channel] = $RGBA[$channel]; - - $color = $copy->getExactColorAlpha($newRGBA); - if ($color == -1) - $color = $copy->allocateColorAlpha($newRGBA); - - $copy->setColorAt($x, $y, $color); - } - - return $copy; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CorrectGamma.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CorrectGamma.php deleted file mode 100644 index 49562f1d3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/CorrectGamma.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * CorrectGamma operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_CorrectGamma - { - /** - * Executes imagegammacorrect() - * - * @param WideImage_Image $image - * @param numeric $input_gamma - * @param numeric $output_gamma - * @return WideImage_TrueColorImage - */ - function execute($image, $input_gamma, $output_gamma) - { - $new = $image->copy(); - if (!imagegammacorrect($new->getHandle(), $input_gamma, $output_gamma)) - throw new WideImage_GDFunctionResultException("imagegammacorrect() returned false"); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Crop.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Crop.php deleted file mode 100644 index 6a9d4f5b3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Crop.php +++ /dev/null @@ -1,86 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * Crop operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_Crop - { - /** - * Returns a cropped image - * - * @param WideImage_Image $img - * @param smart_coordinate $left - * @param smart_coordinate $top - * @param smart_coordinate $width - * @param smart_coordinate $height - * @return WideImage_Image - */ - function execute($img, $left, $top, $width, $height) - { - $width = WideImage_Coordinate::fix($width, $img->getWidth(), $width); - $height = WideImage_Coordinate::fix($height, $img->getHeight(), $height); - $left = WideImage_Coordinate::fix($left, $img->getWidth(), $width); - $top = WideImage_Coordinate::fix($top, $img->getHeight(), $height); - if ($left < 0) - { - $width = $left + $width; - $left = 0; - } - - if ($width > $img->getWidth() - $left) - $width = $img->getWidth() - $left; - - if ($top < 0) - { - $height = $top + $height; - $top = 0; - } - - if ($height > $img->getHeight() - $top) - $height = $img->getHeight() - $top; - - if ($width <= 0 || $height <= 0) - throw new WideImage_Exception("Can't crop outside of an image."); - - $new = $img->doCreate($width, $height); - - if ($img->isTransparent() || $img instanceof WideImage_PaletteImage) - { - $new->copyTransparencyFrom($img); - if (!imagecopyresized($new->getHandle(), $img->getHandle(), 0, 0, $left, $top, $width, $height, $width, $height)) - throw new WideImage_GDFunctionResultException("imagecopyresized() returned false"); - } - else - { - $new->alphaBlending(false); - $new->saveAlpha(true); - if (!imagecopyresampled($new->getHandle(), $img->getHandle(), 0, 0, $left, $top, $width, $height, $width, $height)) - throw new WideImage_GDFunctionResultException("imagecopyresampled() returned false"); - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Flip.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Flip.php deleted file mode 100644 index d2f189c7b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Flip.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * Flip operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_Flip - { - /** - * Returns a flipped image - * - * @param WideImage_Image $image - * @return WideImage_Image - */ - function execute($image) - { - $new = $image->copy(); - - $width = $image->getWidth(); - $height = $image->getHeight(); - - if ($new->isTransparent()) - imagefilledrectangle($new->getHandle(), 0, 0, $width, $height, $new->getTransparentColor()); - - for ($y = 0; $y < $height; $y++) - if (!imagecopy($new->getHandle(), $image->getHandle(), 0, $y, 0, $height - $y - 1, $width, 1)) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/GetMask.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/GetMask.php deleted file mode 100644 index f203a91d6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/GetMask.php +++ /dev/null @@ -1,67 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * GetMask operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_GetMask - { - /** - * Returns a mask - * - * @param WideImage_Image $image - * @return WideImage_Image - */ - function execute($image) - { - $width = $image->getWidth(); - $height = $image->getHeight(); - - $mask = WideImage_TrueColorImage::create($width, $height); - $mask->setTransparentColor(-1); - $mask->alphaBlending(false); - $mask->saveAlpha(false); - - for ($i = 0; $i <= 255; $i++) - $greyscale[$i] = ImageColorAllocate($mask->getHandle(), $i, $i, $i); - - imagefilledrectangle($mask->getHandle(), 0, 0, $width, $height, $greyscale[255]); - - $transparentColor = $image->getTransparentColor(); - $alphaToGreyRatio = 255 / 127; - for ($x = 0; $x < $width; $x++) - for ($y = 0; $y < $height; $y++) - { - $color = $image->getColorAt($x, $y); - if ($color == $transparentColor) - $rgba['alpha'] = 127; - else - $rgba = $image->getColorRGB($color); - imagesetpixel($mask->getHandle(), $x, $y, $greyscale[255 - round($rgba['alpha'] * $alphaToGreyRatio)]); - } - return $mask; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Merge.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Merge.php deleted file mode 100644 index ee897119b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Merge.php +++ /dev/null @@ -1,78 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * Merge operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_Merge - { - /** - * Returns a merged image - * - * @param WideImage_Image $base - * @param WideImage_Image $overlay - * @param smart_coordinate $left - * @param smart_coordinate $top - * @param numeric $pct - * @return WideImage_Image - */ - function execute($base, $overlay, $left, $top, $pct) - { - $x = WideImage_Coordinate::fix($left, $base->getWidth(), $overlay->getWidth()); - $y = WideImage_Coordinate::fix($top, $base->getHeight(), $overlay->getHeight()); - - $result = $base->asTrueColor(); - $result->alphaBlending(true); - $result->saveAlpha(true); - - if ($pct <= 0) - return $result; - - if ($pct < 100) - { - if (!imagecopymerge( - $result->getHandle(), - $overlay->getHandle(), - $x, $y, 0, 0, - $overlay->getWidth(), - $overlay->getHeight(), - $pct)) - throw new WideImage_GDFunctionResultException("imagecopymerge() returned false"); - } - else - { - if (!imagecopy( - $result->getHandle(), - $overlay->getHandle(), - $x, $y, 0, 0, - $overlay->getWidth(), - $overlay->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - } - - return $result; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Mirror.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Mirror.php deleted file mode 100644 index ebefbfc4f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Mirror.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * Mirror operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_Mirror - { - /** - * Returns a mirrored image - * - * @param WideImage_Image $image - * @return WideImage_Image - */ - function execute($image) - { - $new = $image->copy(); - - $width = $image->getWidth(); - $height = $image->getHeight(); - - if ($new->isTransparent()) - imagefilledrectangle($new->getHandle(), 0, 0, $width, $height, $new->getTransparentColor()); - - for ($x = 0; $x < $width; $x++) - { - if (!imagecopy($new->getHandle(), $image->getHandle(), $x, 0, $width - $x - 1, 0, 1, $height)) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Resize.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Resize.php deleted file mode 100644 index c495b7cd3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Resize.php +++ /dev/null @@ -1,157 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * An Exception for when an invalid fit method is passed - * - * @package Internal/Operations - */ - class WideImage_Operation_InvalidFitMethodException extends WideImage_Exception {} - /** - * An Exception for when an invalid resize dimensions are passed - * - * @package Internal/Operations - */ - class WideImage_Operation_InvalidResizeDimensionException extends WideImage_Exception {} - - /** - * Resize operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_Resize - { - /** - * Prepares and corrects smart coordinates - * - * @param WideImage_Image $img - * @param smart_coordinate $width - * @param smart_coordinate $height - * @param string $fit - * @return array - */ - protected function prepareDimensions($img, $width, $height, $fit) - { - if ($width === null && $height === null) - { - $width = $img->getWidth(); - $height = $img->getHeight(); - } - - if ($width !== null) - $width = WideImage_Coordinate::fix($width, $img->getWidth()); - - if ($height !== null) - $height = WideImage_Coordinate::fix($height, $img->getHeight()); - - if ($width === null) - $width = floor($img->getWidth() * $height / $img->getHeight()); - - if ($height === null) - $height = floor($img->getHeight() * $width / $img->getWidth()); - - if ($width === 0 || $height === 0) - return array('width' => 0, 'height' => 0); - - if ($fit == null) - $fit = 'inside'; - - $dim = array(); - if ($fit == 'fill') - { - $dim['width'] = $width; - $dim['height'] = $height; - } - elseif ($fit == 'inside' || $fit == 'outside') - { - $rx = $img->getWidth() / $width; - $ry = $img->getHeight() / $height; - - if ($fit == 'inside') - $ratio = ($rx > $ry) ? $rx : $ry; - else - $ratio = ($rx < $ry) ? $rx : $ry; - - $dim['width'] = round($img->getWidth() / $ratio); - $dim['height'] = round($img->getHeight() / $ratio); - } - else - throw new WideImage_Operation_InvalidFitMethodException("{$fit} is not a valid resize-fit method."); - - return $dim; - } - - /** - * Returns a resized image - * - * @param WideImage_Image $img - * @param smart_coordinate $width - * @param smart_coordinate $height - * @param string $fit - * @param string $scale - * @return WideImage_Image - */ - function execute($img, $width, $height, $fit, $scale) - { - $dim = $this->prepareDimensions($img, $width, $height, $fit); - if (($scale === 'down' && ($dim['width'] >= $img->getWidth() && $dim['height'] >= $img->getHeight())) || - ($scale === 'up' && ($dim['width'] <= $img->getWidth() && $dim['height'] <= $img->getHeight()))) - $dim = array('width' => $img->getWidth(), 'height' => $img->getHeight()); - - if ($dim['width'] <= 0 || $dim['height'] <= 0) - throw new WideImage_Operation_InvalidResizeDimensionException("Both dimensions must be larger than 0."); - - if ($img->isTransparent() || $img instanceof WideImage_PaletteImage) - { - $new = WideImage_PaletteImage::create($dim['width'], $dim['height']); - $new->copyTransparencyFrom($img); - if (!imagecopyresized( - $new->getHandle(), - $img->getHandle(), - 0, 0, 0, 0, - $new->getWidth(), - $new->getHeight(), - $img->getWidth(), - $img->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopyresized() returned false"); - } - else - { - $new = WideImage_TrueColorImage::create($dim['width'], $dim['height']); - $new->alphaBlending(false); - $new->saveAlpha(true); - if (!imagecopyresampled( - $new->getHandle(), - $img->getHandle(), - 0, 0, 0, 0, - $new->getWidth(), - $new->getHeight(), - $img->getWidth(), - $img->getHeight())) - throw new WideImage_GDFunctionResultException("imagecopyresampled() returned false"); - $new->alphaBlending(true); - } - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php deleted file mode 100644 index 8262b15ae..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php +++ /dev/null @@ -1,107 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * ResizeCanvas operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_ResizeCanvas - { - /** - * Returns an image with a resized canvas - * - * The image is filled with $color. Use $scale to determine, when to resize. - * - * @param WideImage_Image $img - * @param smart_coordinate $width - * @param smart_coordinate $height - * @param smart_coordinate $left - * @param smart_coordinate $top - * @param int $color - * @param string $scale 'up', 'down', 'any' - * @param boolean $merge - * @return WideImage_Image - */ - function execute($img, $width, $height, $left, $top, $color, $scale, $merge) - { - $new_width = WideImage_Coordinate::fix($width, $img->getWidth()); - $new_height = WideImage_Coordinate::fix($height, $img->getHeight()); - - if ($scale == 'down') - { - $new_width = min($new_width, $img->getWidth()); - $new_height = min($new_height, $img->getHeight()); - } - elseif ($scale == 'up') - { - $new_width = max($new_width, $img->getWidth()); - $new_height = max($new_height, $img->getHeight()); - } - - $new = WideImage::createTrueColorImage($new_width, $new_height); - if ($img->isTrueColor()) - { - if ($color === null) - $color = $new->allocateColorAlpha(0, 0, 0, 127); - } - else - { - imagepalettecopy($new->getHandle(), $img->getHandle()); - - if ($img->isTransparent()) - { - $new->copyTransparencyFrom($img); - $tc_rgb = $img->getTransparentColorRGB(); - $t_color = $new->allocateColorAlpha($tc_rgb); - } - - if ($color === null) - { - if ($img->isTransparent()) - $color = $t_color; - else - $color = $new->allocateColorAlpha(255, 0, 127, 127); - - imagecolortransparent($new->getHandle(), $color); - } - } - $new->fill(0, 0, $color); - - - $x = WideImage_Coordinate::fix($left, $new->getWidth(), $img->getWidth()); - $y = WideImage_Coordinate::fix($top, $new->getHeight(), $img->getHeight()); - - // blending for truecolor images - if ($img->isTrueColor()) - $new->alphaBlending($merge); - - // not-blending for palette images - if (!$merge && !$img->isTrueColor() && isset($t_color)) - $new->getCanvas()->filledRectangle($x, $y, $x + $img->getWidth(), $y + $img->getHeight(), $t_color); - - $img->copyTo($new, $x, $y); - return $new; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Rotate.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Rotate.php deleted file mode 100644 index 690b04f52..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Rotate.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * Rotate operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_Rotate - { - /** - * Returns rotated image - * - * @param WideImage_Image $image - * @param numeric $angle - * @param int $bgColor - * @param bool $ignoreTransparent - * @return WideImage_Image - */ - function execute($image, $angle, $bgColor, $ignoreTransparent) - { - $angle = -floatval($angle); - if ($angle < 0) - $angle = 360 + $angle; - $angle = $angle % 360; - - if ($angle == 0) - return $image->copy(); - - $image = $image->asTrueColor(); - - if ($bgColor === null) - { - $bgColor = $image->getTransparentColor(); - if ($bgColor == -1) - { - $bgColor = $image->allocateColorAlpha(255, 255, 255, 127); - imagecolortransparent($image->getHandle(), $bgColor); - } - } - return new WideImage_TrueColorImage(imagerotate($image->getHandle(), $angle, $bgColor, $ignoreTransparent)); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/RoundCorners.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/RoundCorners.php deleted file mode 100644 index 22eb84991..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/RoundCorners.php +++ /dev/null @@ -1,114 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * ApplyMask operation class - * - * @package Internal/Operations - */ - class WideImage_Operation_RoundCorners - { - /** - * @param WideImage_Image $image - * @param int $radius - * @param int $color - * @param int $smoothness - * @return WideImage_Image - */ - function execute($image, $radius, $color, $smoothness, $corners) - { - if ($smoothness < 1) - $sample_ratio = 1; - elseif ($smoothness > 16) - $sample_ratio = 16; - else - $sample_ratio = $smoothness; - - $corner = WideImage::createTrueColorImage($radius * $sample_ratio, $radius * $sample_ratio); - if ($color === null) - { - imagepalettecopy($corner->getHandle(), $image->getHandle()); - $bg_color = $corner->allocateColor(0, 0, 0); - - $corner->fill(0, 0, $bg_color); - $fg_color = $corner->allocateColor(255, 255, 255); - $corner->getCanvas()->filledEllipse($radius * $sample_ratio, $radius * $sample_ratio, $radius * 2 * $sample_ratio, $radius * 2 * $sample_ratio, $fg_color); - $corner = $corner->resize($radius, $radius); - - $result = $image->asTrueColor(); - - $tc = $result->getTransparentColor(); - if ($tc == -1) - { - $tc = $result->allocateColorAlpha(255, 255, 255, 127); - imagecolortransparent($result->getHandle(), $tc); - $result->setTransparentColor($tc); - } - - if ($corners & WideImage::SIDE_TOP_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_TOP) - $result = $result->applyMask($corner, -1, -1); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_TOP_RIGHT || $corners & WideImage::SIDE_TOP || $corners & WideImage::SIDE_RIGHT) - $result = $result->applyMask($corner, $result->getWidth() - $corner->getWidth() + 1, -1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_RIGHT || $corners & WideImage::SIDE_RIGHT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->applyMask($corner, $result->getWidth() - $corner->getWidth() + 1, $result->getHeight() - $corner->getHeight() + 1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->applyMask($corner, -1, $result->getHeight() - $corner->getHeight() + 1, 100); - - return $result; - } - else - { - $bg_color = $color; - - $corner->fill(0, 0, $bg_color); - $fg_color = $corner->allocateColorAlpha(127, 127, 127, 127); - $corner->getCanvas()->filledEllipse($radius * $sample_ratio, $radius * $sample_ratio, $radius * 2 * $sample_ratio, $radius * 2 * $sample_ratio, $fg_color); - $corner = $corner->resize($radius, $radius); - - $result = $image->copy(); - if ($corners & WideImage::SIDE_TOP_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_TOP) - $result = $result->merge($corner, -1, -1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_TOP_RIGHT || $corners & WideImage::SIDE_TOP || $corners & WideImage::SIDE_RIGHT) - $result = $result->merge($corner, $result->getWidth() - $corner->getWidth() + 1, -1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_RIGHT || $corners & WideImage::SIDE_RIGHT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->merge($corner, $result->getWidth() - $corner->getWidth() + 1, $result->getHeight() - $corner->getHeight() + 1, 100); - - $corner = $corner->rotate(90); - if ($corners & WideImage::SIDE_BOTTOM_LEFT || $corners & WideImage::SIDE_LEFT || $corners & WideImage::SIDE_BOTTOM) - $result = $result->merge($corner, -1, $result->getHeight() - $corner->getHeight() + 1, 100); - - return $result; - } - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Unsharp.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Unsharp.php deleted file mode 100644 index 4c5087e39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/Unsharp.php +++ /dev/null @@ -1,135 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internal/Operations - **/ - - /** - * Unsharp filter - * - * This filter was taken from http://vikjavev.no/computing/ump.php, - * the original author Torstein Hønsi. Adapted to fit better within - * the Wideimage package. - * - * @package Internal/Operations - */ - class WideImage_Operation_Unsharp { - /** - * Returns sharpened image - * - * @param WideImage_Image $image - * @param float $amount - * @param int $radius - * @param float $threshold - * @return WideImage_Image - */ - function execute($image, $amount, $radius, $threshold) { - - // Attempt to calibrate the parameters to Photoshop: - if ($amount > 500) $amount = 500; - $amount = $amount * 0.016; - if ($radius > 50) $radius = 50; - $radius = $radius * 2; - if ($threshold > 255) $threshold = 255; - - $radius = abs(round($radius)); // Only integers make sense. - if ($radius == 0) { - return $image; - } - - // Gaussian blur matrix - - $matrix = array( - array(1, 2, 1), - array(2, 4, 2), - array(1, 2, 1) - ); - - $blurred = $image->applyConvolution($matrix, 16, 0); - - if($threshold > 0) { - // Calculate the difference between the blurred pixels and the original - // and set the pixels - for ($x = 0; $x < $image->getWidth(); $x++) { - for ($y = 0; $y < $image->getHeight(); $y++) { - $rgbOrig = $image->getRGBAt($x, $y); - $rOrig = $rgbOrig["red"]; - $gOrig = $rgbOrig["green"]; - $bOrig = $rgbOrig["blue"]; - - $rgbBlur = $blurred->getRGBAt($x, $y); - $rBlur = $rgbBlur["red"]; - $gBlur = $rgbBlur["green"]; - $bBlur = $rgbBlur["blue"]; - - // When the masked pixels differ less from the original - // than the threshold specifies, they are set to their original value. - $rNew = (abs($rOrig - $rBlur) >= $threshold) - ? max(0, min(255, ($amount * ($rOrig - $rBlur)) + $rOrig)) - : $rOrig; - $gNew = (abs($gOrig - $gBlur) >= $threshold) - ? max(0, min(255, ($amount * ($gOrig - $gBlur)) + $gOrig)) - : $gOrig; - $bNew = (abs($bOrig - $bBlur) >= $threshold) - ? max(0, min(255, ($amount * ($bOrig - $bBlur)) + $bOrig)) - : $bOrig; - $rgbNew = array("red" => $rNew, "green" => $gNew, "blue" => $bNew, "alpha" => 0); - - if (($rOrig != $rNew) || ($gOrig != $gNew) || ($bOrig != $bNew)) { - $image->setRGBAt($x, $y, $rgbNew); - } - } - } - } - else { - $w = $image->getWidth(); - $h = $image->getHeight(); - for ($x = 0; $x < $w; $x++) { - for ($y = 0; $y < $h; $y++) { - $rgbOrig = $image->getRGBAt($x, $y); - $rOrig = $rgbOrig["red"]; - $gOrig = $rgbOrig["green"]; - $bOrig = $rgbOrig["blue"]; - - $rgbBlur = $blurred->getRGBAt($x, $y); - $rBlur = $rgbBlur["red"]; - $gBlur = $rgbBlur["green"]; - $bBlur = $rgbBlur["blue"]; - - $rNew = ($amount * ($rOrig - $rBlur)) + $rOrig; - if($rNew>255){$rNew=255;} - elseif($rNew<0){$rNew=0;} - $gNew = ($amount * ($gOrig - $gBlur)) + $gOrig; - if($gNew>255){$gNew=255;} - elseif($gNew<0){$gNew=0;} - $bNew = ($amount * ($bOrig - $bBlur)) + $bOrig; - if($bNew>255){$bNew=255;} - elseif($bNew<0){$bNew=0;} - $rgbNew = array("red" => $rNew, "green" => $gNew, "blue" => $bNew, "alpha" => 0); - - $image->setRGBAt($x, $y, $rgbNew); - } - } - } - - return $image; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/Operation/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/OperationFactory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/OperationFactory.php deleted file mode 100644 index 3a5f36c49..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/OperationFactory.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package Internals - **/ - - /** - * @package Exceptions - */ - class WideImage_UnknownImageOperationException extends WideImage_Exception {} - - /** - * Operation factory - * - * @package Internals - **/ - class WideImage_OperationFactory - { - static protected $cache = array(); - - static function get($operationName) - { - $lcname = strtolower($operationName); - if (!isset(self::$cache[$lcname])) - { - $opClassName = "WideImage_Operation_" . ucfirst($operationName); - if (!class_exists($opClassName, false)) - { - $fileName = WideImage::path() . 'Operation/' . ucfirst($operationName) . '.php'; - if (file_exists($fileName)) - require_once $fileName; - elseif (!class_exists($opClassName)) - throw new WideImage_UnknownImageOperationException("Can't load '{$operationName}' operation."); - } - self::$cache[$lcname] = new $opClassName(); - } - return self::$cache[$lcname]; - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/PaletteImage.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/PaletteImage.php deleted file mode 100644 index c1e287156..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/PaletteImage.php +++ /dev/null @@ -1,136 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - /** - * @package WideImage - */ - class WideImage_PaletteImage extends WideImage_Image - { - /** - * Create a palette image - * - * @param int $width - * @param int $height - * @return WideImage_PaletteImage - */ - static function create($width, $height) - { - if ($width * $height <= 0 || $width < 0) - throw new WideImage_InvalidImageDimensionException("Can't create an image with dimensions [$width, $height]."); - - return new WideImage_PaletteImage(imagecreate($width, $height)); - } - - function doCreate($width, $height) - { - return self::create($width, $height); - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#isTrueColor() - */ - function isTrueColor() - { - return false; - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#asPalette($nColors, $dither, $matchPalette) - */ - function asPalette($nColors = 255, $dither = null, $matchPalette = true) - { - return $this->copy(); - } - - /** - * Returns a copy of the image - * - * @param $trueColor True if the new image should be truecolor - * @return WideImage_Image - */ - protected function copyAsNew($trueColor = false) - { - $width = $this->getWidth(); - $height = $this->getHeight(); - - if ($trueColor) - $new = WideImage_TrueColorImage::create($width, $height); - else - $new = WideImage_PaletteImage::create($width, $height); - - // copy transparency of source to target - if ($this->isTransparent()) - { - $rgb = $this->getTransparentColorRGB(); - if (is_array($rgb)) - { - $tci = $new->allocateColor($rgb['red'], $rgb['green'], $rgb['blue']); - $new->fill(0, 0, $tci); - $new->setTransparentColor($tci); - } - } - - imageCopy($new->getHandle(), $this->handle, 0, 0, 0, 0, $width, $height); - return $new; - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#asTrueColor() - */ - function asTrueColor() - { - $width = $this->getWidth(); - $height = $this->getHeight(); - $new = WideImage::createTrueColorImage($width, $height); - if ($this->isTransparent()) - $new->copyTransparencyFrom($this); - if (!imageCopy($new->getHandle(), $this->handle, 0, 0, 0, 0, $width, $height)) - throw new WideImage_GDFunctionResultException("imagecopy() returned false"); - return $new; - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#getChannels() - */ - function getChannels() - { - $args = func_get_args(); - if (count($args) == 1 && is_array($args[0])) - $args = $args[0]; - return WideImage_OperationFactory::get('CopyChannelsPalette')->execute($this, $args); - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#copyNoAlpha() - */ - function copyNoAlpha() - { - return WideImage_Image::loadFromString($this->asString('png')); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/TrueColorImage.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/TrueColorImage.php deleted file mode 100644 index a4addcdfa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/TrueColorImage.php +++ /dev/null @@ -1,218 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - **/ - - /** - * A class for truecolor image objects - * - * @package WideImage - */ - class WideImage_TrueColorImage extends WideImage_Image - { - /** - * Creates the object - * - * @param resource $handle - */ - function __construct($handle) - { - parent::__construct($handle); - $this->alphaBlending(false); - $this->saveAlpha(true); - } - - /** - * Factory method that creates a true-color image object - * - * @param int $width - * @param int $height - * @return WideImage_TrueColorImage - */ - static function create($width, $height) - { - if ($width * $height <= 0 || $width < 0) - throw new WideImage_InvalidImageDimensionException("Can't create an image with dimensions [$width, $height]."); - - return new WideImage_TrueColorImage(imagecreatetruecolor($width, $height)); - } - - function doCreate($width, $height) - { - return self::create($width, $height); - } - - function isTrueColor() - { - return true; - } - - /** - * Sets alpha blending mode via imagealphablending() - * - * @param bool $mode - * @return bool - */ - function alphaBlending($mode) - { - return imagealphablending($this->handle, $mode); - } - - /** - * Toggle if alpha channel should be saved with the image via imagesavealpha() - * - * @param bool $on - * @return bool - */ - function saveAlpha($on) - { - return imagesavealpha($this->handle, $on); - } - - /** - * Allocates a color and returns its index - * - * This method accepts either each component as an integer value, - * or an associative array that holds the color's components in keys - * 'red', 'green', 'blue', 'alpha'. - * - * @param mixed $R - * @param int $G - * @param int $B - * @param int $A - * @return int - */ - function allocateColorAlpha($R, $G = null, $B = null, $A = null) - { - if (is_array($R)) - return imageColorAllocateAlpha($this->handle, $R['red'], $R['green'], $R['blue'], $R['alpha']); - else - return imageColorAllocateAlpha($this->handle, $R, $G, $B, $A); - } - - /** - * @see WideImage_Image#asPalette($nColors, $dither, $matchPalette) - */ - function asPalette($nColors = 255, $dither = null, $matchPalette = true) - { - $nColors = intval($nColors); - if ($nColors < 1) - $nColors = 1; - elseif ($nColors > 255) - $nColors = 255; - - if ($dither === null) - $dither = $this->isTransparent(); - - $temp = $this->copy(); - imagetruecolortopalette($temp->handle, $dither, $nColors); - if ($matchPalette == true && function_exists('imagecolormatch')) - imagecolormatch($this->handle, $temp->handle); - - // The code below isn't working properly; it corrupts transparency on some palette->tc->palette conversions. - // Why is this code here? - /* - if ($this->isTransparent()) - { - $trgb = $this->getTransparentColorRGB(); - $tci = $temp->getClosestColor($trgb); - $temp->setTransparentColor($tci); - } - /**/ - - $temp->releaseHandle(); - return new WideImage_PaletteImage($temp->handle); - } - - /** - * Returns the index of the color that best match the given color components - * - * This method accepts either each component as an integer value, - * or an associative array that holds the color's components in keys - * 'red', 'green', 'blue', 'alpha'. - * - * @param mixed $R Red component value or an associative array - * @param int $G Green component - * @param int $B Blue component - * @param int $A Alpha component - * @return int The color index - */ - function getClosestColorAlpha($R, $G = null, $B = null, $A = null) - { - if (is_array($R)) - return imagecolorclosestalpha($this->handle, $R['red'], $R['green'], $R['blue'], $R['alpha']); - else - return imagecolorclosestalpha($this->handle, $R, $G, $B, $A); - } - - /** - * Returns the index of the color that exactly match the given color components - * - * This method accepts either each component as an integer value, - * or an associative array that holds the color's components in keys - * 'red', 'green', 'blue', 'alpha'. - * - * @param mixed $R Red component value or an associative array - * @param int $G Green component - * @param int $B Blue component - * @param int $A Alpha component - * @return int The color index - */ - function getExactColorAlpha($R, $G = null, $B = null, $A = null) - { - if (is_array($R)) - return imagecolorexactalpha($this->handle, $R['red'], $R['green'], $R['blue'], $R['alpha']); - else - return imagecolorexactalpha($this->handle, $R, $G, $B, $A); - } - - /** - * @see WideImage_Image#getChannels() - */ - function getChannels() - { - $args = func_get_args(); - if (count($args) == 1 && is_array($args[0])) - $args = $args[0]; - return WideImage_OperationFactory::get('CopyChannelsTrueColor')->execute($this, $args); - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#copyNoAlpha() - */ - function copyNoAlpha() - { - $prev = $this->saveAlpha(false); - $result = WideImage_Image::loadFromString($this->asString('png')); - $this->saveAlpha($prev); - //$result->releaseHandle(); - return $result; - } - - /** - * (non-PHPdoc) - * @see WideImage_Image#asTrueColor() - */ - function asTrueColor() - { - return $this->copy(); - } - } diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/WideImage.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/WideImage.php deleted file mode 100644 index fd5419f5d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/WideImage.php +++ /dev/null @@ -1,377 +0,0 @@ -<?php - /** - * @author Gasper Kozak - * @copyright 2007-2011 - - This file is part of WideImage. - - WideImage is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - WideImage 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with WideImage; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - * @package WideImage - **/ - - require_once WideImage::path() . 'Exception.php'; - - require_once WideImage::path() . 'Image.php'; - require_once WideImage::path() . 'TrueColorImage.php'; - require_once WideImage::path() . 'PaletteImage.php'; - - require_once WideImage::path() . 'Coordinate.php'; - require_once WideImage::path() . 'Canvas.php'; - require_once WideImage::path() . 'MapperFactory.php'; - require_once WideImage::path() . 'OperationFactory.php'; - - require_once WideImage::path() . 'Font/TTF.php'; - require_once WideImage::path() . 'Font/GDF.php'; - require_once WideImage::path() . 'Font/PS.php'; - - /** - * @package Exceptions - */ - class WideImage_InvalidImageHandleException extends WideImage_Exception {} - - /** - * @package Exceptions - */ - class WideImage_InvalidImageSourceException extends WideImage_Exception {} - - /** - * @package Exceptions - * - * Class for invalid GD function calls result (for example those that return bool) - */ - class WideImage_GDFunctionResultException extends WideImage_Exception {} - - /** - * The gateway class for loading images and core library functions - * - * @package WideImage - */ - class WideImage - { - const SIDE_TOP_LEFT = 1; - const SIDE_TOP = 2; - const SIDE_TOP_RIGHT = 4; - const SIDE_RIGHT = 8; - const SIDE_BOTTOM_RIGHT = 16; - const SIDE_BOTTOM = 32; - const SIDE_BOTTOM_LEFT = 64; - const SIDE_LEFT = 128; - const SIDE_ALL = 255; - - /** - * @var string Path to the library base directory - */ - protected static $path = null; - - /** - * Returns the library version - * @return string The library version - */ - static function version() - { - return '11.02.19'; - } - - /** - * Returns the path to the library - * @return string - */ - static function path() - { - if (self::$path === null) - self::$path = dirname(__FILE__) . DIRECTORY_SEPARATOR; - return self::$path; - } - - /** - * Checks whether the gd library is loaded, and throws an exception otherwise - */ - static function checkGD() - { - if (!extension_loaded('gd')) - throw new WideImage_Exception("WideImage requires the GD extension, but it's apparently not loaded."); - } - - /** - * Registers a custom mapper for image loading and saving - * - * Example: - * <code> - * WideImage::registerCustomMapper('WideImage_Mapper_TGA', 'image/tga', 'tga'); - * </code> - * - * @param string $mapper_class_name - * @param string $mime_type - * @param string $extension - */ - static function registerCustomMapper($mapper_class_name, $mime_type, $extension) - { - WideImage_MapperFactory::registerMapper($mapper_class_name, $mime_type, strtoupper($extension)); - } - - /** - * Loads an image from a file, URL, HTML input file field, binary string, or a valid image handle. - * The image format is auto-detected. - * - * Currently supported formats: PNG, GIF, JPG, BMP, TGA, GD, GD2. - * - * This function analyzes the input and decides whether to use WideImage::loadFromHandle(), - * WideImage::loadFromFile(), WideImage::loadFromUpload() or WideImage::loadFromString(), - * all of which you can also call directly to spare WideImage some guessing. - * - * Arrays are supported for upload fields; it returns an array of loaded images. - * To load only a single image from an array field, use WideImage::loadFromUpload('img', $i), - * where $i is the index of the image you want to load. - * - * <code> - * $img = WideImage::load('http://url/image.png'); // image URL - * $img = WideImage::load('/path/to/image.png'); // local file path - * $img = WideImage::load('img'); // upload field name - * $img = WideImage::load(imagecreatetruecolor(10, 10)); // a GD resource - * $img = WideImage::load($image_data); // binary string containing image data - * </code> - * - * @param mixed $source File name, url, HTML file input field name, binary string, or a GD image resource - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function load($source) - { - $predictedSourceType = ''; - - if ($source == '') - $predictedSourceType = 'String'; - - // Creating image via a valid resource - if (!$predictedSourceType && self::isValidImageHandle($source)) - $predictedSourceType = 'Handle'; - - // Check for binary string - if (!$predictedSourceType) - { - // search first $binLength bytes (at a maximum) for ord<32 characters (binary image data) - $binLength = 64; - $sourceLength = strlen($source); - $maxlen = ($sourceLength > $binLength) ? $binLength : $sourceLength; - for ($i = 0; $i < $maxlen; $i++) - if (ord($source[$i]) < 32) - { - $predictedSourceType = 'String'; - break; - } - } - - // Uploaded image (array uploads not supported) - if (isset($_FILES[$source]) && isset($_FILES[$source]['tmp_name'])) - $predictedSourceType = 'Upload'; - - // Otherwise, must be a file or an URL - if (!$predictedSourceType) - $predictedSourceType = 'File'; - - return call_user_func(array('WideImage', 'loadFrom' . $predictedSourceType), $source); - } - - /** - * Create and load an image from a file or URL. The image format is auto-detected. - * - * @param string $uri File or url - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function loadFromFile($uri) - { - $data = file_get_contents($uri); - $handle = @imagecreatefromstring($data); - if (!self::isValidImageHandle($handle)) - { - try - { - // try to find a mapper first - $mapper = WideImage_MapperFactory::selectMapper($uri); - if ($mapper) - $handle = $mapper->load($uri); - } - catch (WideImage_UnsupportedFormatException $e) - { - // mapper not found - } - - // try all custom mappers - if (!self::isValidImageHandle($handle)) - { - $custom_mappers = WideImage_MapperFactory::getCustomMappers(); - foreach ($custom_mappers as $mime_type => $mapper_class) - { - $mapper = WideImage_MapperFactory::selectMapper(null, $mime_type); - $handle = $mapper->loadFromString($data); - if (self::isValidImageHandle($handle)) - break; - } - } - } - - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageSourceException("File '{$uri}' appears to be an invalid image source."); - - return self::loadFromHandle($handle); - } - - /** - * Create and load an image from a string. Format is auto-detected. - * - * @param string $string Binary data, i.e. from BLOB field in the database - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function loadFromString($string) - { - if (strlen($string) < 128) - throw new WideImage_InvalidImageSourceException("String doesn't contain image data."); - - $handle = @imagecreatefromstring($string); - if (!self::isValidImageHandle($handle)) - { - $custom_mappers = WideImage_MapperFactory::getCustomMappers(); - foreach ($custom_mappers as $mime_type => $mapper_class) - { - $mapper = WideImage_MapperFactory::selectMapper(null, $mime_type); - $handle = $mapper->loadFromString($string); - if (self::isValidImageHandle($handle)) - break; - } - } - - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageSourceException("String doesn't contain valid image data."); - - return self::loadFromHandle($handle); - } - - /** - * Create and load an image from an image handle. - * - * <b>Note:</b> the resulting image object takes ownership of the passed - * handle. When the newly-created image object is destroyed, the handle is - * destroyed too, so it's not a valid image handle anymore. In order to - * preserve the handle for use after object destruction, you have to call - * WideImage_Image::releaseHandle() on the created image instance prior to its - * destruction. - * - * <code> - * $handle = imagecreatefrompng('file.png'); - * $image = WideImage::loadFromHandle($handle); - * </code> - * - * @param resource $handle A valid GD image resource - * @return WideImage_Image WideImage_PaletteImage or WideImage_TrueColorImage instance - */ - static function loadFromHandle($handle) - { - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageSourceException("Handle is not a valid GD image resource."); - - if (imageistruecolor($handle)) - return new WideImage_TrueColorImage($handle); - else - return new WideImage_PaletteImage($handle); - } - - /** - * This method loads a file from the $_FILES array. The image format is auto-detected. - * - * You only have to pass the field name as the parameter. For array fields, this function will - * return an array of image objects, unless you specify the $index parameter, which will - * load the desired image. - * - * @param $field_name Name of the key in $_FILES array - * @param int $index The index of the file to load (if the input field is an array) - * @return WideImage_Image The loaded image - */ - static function loadFromUpload($field_name, $index = null) - { - if (!array_key_exists($field_name, $_FILES)) - throw new WideImage_InvalidImageSourceException("Upload field '{$field_name}' doesn't exist."); - - if (is_array($_FILES[$field_name]['tmp_name'])) - { - if (isset($_FILES[$field_name]['tmp_name'][$index])) - $filename = $_FILES[$field_name]['tmp_name'][$index]; - else - { - $result = array(); - foreach ($_FILES[$field_name]['tmp_name'] as $idx => $tmp_name) - $result[$idx] = self::loadFromFile($tmp_name); - return $result; - } - } - else - $filename = $_FILES[$field_name]['tmp_name']; - - if (!file_exists($filename)) - throw new WideImage_InvalidImageSourceException("Uploaded file doesn't exist."); - return self::loadFromFile($filename); - } - - /** - * Factory method for creating a palette image - * - * @param int $width - * @param int $height - * @return WideImage_PaletteImage - */ - static function createPaletteImage($width, $height) - { - return WideImage_PaletteImage::create($width, $height); - } - - /** - * Factory method for creating a true-color image - * - * @param int $width - * @param int $height - * @return WideImage_TrueColorImage - */ - static function createTrueColorImage($width, $height) - { - return WideImage_TrueColorImage::create($width, $height); - } - - /** - * Check whether the given handle is a valid GD resource - * - * @param mixed $handle The variable to check - * @return bool - */ - static function isValidImageHandle($handle) - { - return (is_resource($handle) && get_resource_type($handle) == 'gd'); - } - - /** - * Throws exception if the handle isn't a valid GD resource - * - * @param mixed $handle The variable to check - */ - static function assertValidImageHandle($handle) - { - if (!self::isValidImageHandle($handle)) - throw new WideImage_InvalidImageHandleException("{$handle} is not a valid image handle."); - } - } - - WideImage::checkGD(); - - WideImage::registerCustomMapper('WideImage_Mapper_BMP', 'image/bmp', 'bmp'); - WideImage::registerCustomMapper('WideImage_Mapper_TGA', 'image/tga', 'tga'); - \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/vendor/de77/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/vendor/de77/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/vendor/de77/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/vendor/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/vendor/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/joomla_3/wideimage/vendor/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/vdm.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/vdm.txt deleted file mode 100644 index 77d1f00f8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compiler/vdm.txt +++ /dev/null @@ -1,23 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version ###VERSION### - @build ###BUILDDATE### - @created ###CREATIONDATE### - @package ###Component_name### - @subpackage ###FILENAME### - @author ###AUTHOR### <###AUTHORWEBSITE###>###CONTRIBUTORS### - @copyright ###COPYRIGHT### - @license ###LICENSE### - - ###SHORT_DESCRIPTION### - -/-----------------------------------------------------------------------------------------------------------------------------*/ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerController.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerController.php deleted file mode 100644 index ad40b1eb9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerController.php +++ /dev/null @@ -1,194 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controlleradmin library -jimport('joomla.application.component.controlleradmin'); - -/** - * Compiler Controller - */ -class ###Component###ControllerCompiler extends JControllerLegacy -{ - /** - * Import an spreadsheet. - * - * @return void - */ - public function compiler() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - // check if user has the right - $user = JFactory::getUser(); - if($user->authorise('core.admin', 'com_###component###')) - { - // get the post values - $jinput = JFactory::getApplication()->input; - $componentId = $jinput->post->get('component', 0, 'INT'); - $version = $jinput->post->get('version', 0, 'INT'); - $addBackup = $jinput->post->get('backup', 0, 'INT'); - $addGit = $jinput->post->get('git', 0, 'INT'); - $model = $this->getModel('compiler'); - if ($model->builder($version,$componentId,$addBackup,$addGit)) - { - $cache = JFactory::getCache('mod_menu'); - $cache->clean(); - // TODO: Reset the users acl here as well to kill off any missing bits - } - else - { - return false; - } - - $app = JFactory::getApplication(); - $redirect_url = $app->getUserState('com_###component###.redirect_url'); - $message = $app->getUserState('com_###component###.message'); - if (empty($redirect_url)) - { - $redirect_url = JRoute::_('index.php?option=com_###component###&view=compiler', false); - // setup the unrealistic numbers - $counter = $model->getCount(); - $folders = $counter['folders'] * 5; - $files = $counter['files'] * 5; - $lines = $counter['lines'] * 10; - $seconds = $folders + $files + $lines; - $totalHours = round($seconds / 3600); - $totalDays = round($totalHours / 8); - // setup the more realistic numbers - $debugging = $seconds / 4; - $planning = $seconds / 7; - $mapping = $seconds / 10; - $office = $seconds / 6; - $seconds = $folders + $files + $lines + $debugging + $planning + $mapping + $office; - $actualTotalHours = round($seconds / 3600); - $actualTotalDays = round($actualTotalHours / 8); - $debuggingHours = round($debugging / 3600); - $planningHours = round($planning / 3600); - $mappingHours = round($mapping / 3600); - $officeHours = round($office / 3600); - // the actual time spent - $actualHoursSpent = $actualTotalHours - $totalHours; - $actualDaysSpent = $actualTotalDays - $totalDays; - // calculate the projects actual time frame of completion - $projectWeekTime = round($actualTotalDays / 5,1); - $projectMonthTime = round($actualTotalDays / 24,1); - if (($pos = strpos($counter['filePath'], "/tmp/")) !== FALSE) - { - $url = JURI::root() . substr($counter['filePath'], $pos + 1); - } - // Message of successful build - $message = '<h1>The ('.$counter['filename'].') Was Successfully Compiled!</h1>'; - $message .= '<p><button class="btn btn-small btn-success" onclick="Joomla.submitbutton(\'compiler.installExtention\')">'; - $message .= 'Install '.$counter['filename'].' on this <span class="icon-joomla icon-white"></span>Joomla website.</button></p>'; - $message .= '<h2>Total time saved</h2>'; - $message .= '<ul>'; - $message .= '<li>Total folders created: <b>'.$counter['folders'].'</b></li>'; - $message .= '<li>Total files created: <b>'.$counter['files'].'</b></li>'; - $message .= '<li>Total lines written: <b>'.$counter['lines'].'</b></li>'; - $message .= '</ul>'; - $message .= '<p><b>'.$totalHours.' Hours</b> or <b>'.$totalDays.' Eight Hour Days</b> <em>(actual time you saved)</em><br />'; - $message .= '<small>(if creating a folder and file took <b>5 seconds</b> and writing one line of code took <b>10 seconds</b>, never making one mistake or taking any coffee break.)</small><br />'; - $message .= '<b>'.$actualHoursSpent.' Hours</b> or <b>'.$actualDaysSpent.' Eight Hour Days</b> <em>(the actual time you spent)</em><br />'; - $message .= '<small>(with the following break down: <b>debugging @'.$debuggingHours.'hours</b> = codingtime / 4; <b>planning @'.$planningHours.'hours</b> = codingtime / 7; <b>mapping @'.$mappingHours.'hours</b> = codingtime / 10; <b>office @'.$officeHours.'hours</b> = codingtime / 6;)</small></p>'; - $message .= '<p><b>'.$actualTotalHours.' Hours</b> or <b>'.$actualTotalDays.' Eight Hour Days</b> <em>(a total of the realistic time frame for this project)</em><br />'; - $message .= '<small>(if creating a folder and file took <b>5 seconds</b> and writing one line of code took <b>10 seconds</b>, with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)</small></p>'; - $message .= '<p>Project duration: <b>'.$projectWeekTime. ' weeks</b> or <b>'.$projectMonthTime.' months</b></p>'; - $message .= '<h2>Path to Zip File</h2>'; - $message .= '<p><b>Path:</b> <code>'.$counter['filePath'].'</code><br />'; - $message .= '<b>URL:</b> <code>'.$url.'</code><br /><br />'; - $message .= '<small>Hey! you can also download the file right now!</small><br /><a class="btn btn-success" href="'.$url.'" ><span class="icon-download icon-white"></span>Download</a></p>'; - $message .= '<p><small><b>Remember!</b> This file is in your tmp folder and therefore publicly accessible untill you click [Clear tmp]!</small> </p>'; - // set redirect - $this->setRedirect($redirect_url,$message,'message'); - $app->setUserState('com_###component###.extension_name', $counter['filename']); - } - else - { - // wipe out the user state when we're going to redirect - $app->setUserState('com_###component###.redirect_url', ''); - $app->setUserState('com_###component###.message', ''); - $app->setUserState('com_###component###.extension_message', ''); - $app->setUserState('com_###component###.extension_name', ''); - // set redirect - $this->setRedirect($redirect_url,$message); - } - return true; - } - return false; - } - - public function clearTmp() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - // check if user has the right - $user = JFactory::getUser(); - // set page redirect - $redirect_url = JRoute::_('index.php?option=com_###component###&view=compiler', false); - $message = 'Could not clear the tmp folder'; - if($user->authorise('core.admin', 'com_###component###')) - { - // get the model - $model = $this->getModel('compiler'); - // get tmp folder - $comConfig = JFactory::getConfig(); - $tmp = $comConfig->get('tmp_path'); - if ($model->emptyFolder($tmp)) - { - $message = '<b>The tmp folder has been clear successfully!</b>'; - $this->setRedirect($redirect_url,$message,'message'); - return true; - } - } - $this->setRedirect($redirect_url,$message,'error'); - return false; - } - - public function installExtention() - { - // Check for request forgeries - JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN')); - // check if user has the right - $user = JFactory::getUser(); - // set page redirect - $redirect_url = JRoute::_('index.php?option=com_###component###&view=compiler', false); - $message = 'Could not install component!'; - if($user->authorise('core.admin')) - { - // get the model - $model = $this->getModel('compiler'); - $app = JFactory::getApplication(); - $fileName = $app->getUserState('com_###component###.extension_name'); - if (###Component###Helper::checkString($fileName)) - { - $lang = JFactory::getLanguage(); - $extension = 'com_installer'; - $base_dir = JPATH_ADMINISTRATOR; - $language_tag = 'en-GB'; - $reload = true; - $lang->load($extension, $base_dir, $language_tag, $reload); - $message = '('.$fileName.'.zip) file was also removed from tmp!'; - $this->setRedirect($redirect_url,$message,'message'); - return $model->install($fileName.'.zip');; - } - } - $this->setRedirect($redirect_url,$message,'error'); - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerModel.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerModel.php deleted file mode 100644 index 49728aea0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerModel.php +++ /dev/null @@ -1,207 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -// include component compiler -require_once JPATH_ADMINISTRATOR.'/components/com_###component###/helpers/compiler.php'; - -/** - * ###Component### Model - */ -class ###Component###ModelCompiler extends JModelList -{ - protected $compiler; - - public function getComponents() - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - // Order it by the ordering field. - $query->select($db->quoteName(array('id', 'system_name'),array('id', 'name'))); - $query->from($db->quoteName('#__###component###_component')); - $query->where($db->quoteName('published') . ' = 1'); - $query->order('ordering ASC'); - // Reset the query using our newly populated query object. - $db->setQuery($query); - // return the result - return $db->loadObjectList(); - } - - public function builder($version,$id,$backup,$git) - { - $set['joomlaVersion'] = $version; - $set['componentId'] = $id; - $set['addBackup'] = $backup; - $set['addGit'] = $git; - // start up Compiler - $this->compiler = new Compiler($set); - if($this->compiler){ - return true; - } - return false; - } - - public function getCount() - { - return array( - 'lines' => $this->compiler->lineCount, - 'files' => $this->compiler->fileCount, - 'folders' => $this->compiler->folderCount, - 'filePath' => $this->compiler->filepath, - 'filename' => $this->compiler->componentFolderName - ); - } - - public function emptyFolder($dir, $removeDir = false) - { - jimport('joomla.filesystem.folder'); - jimport('joomla.filesystem.file'); - - if (JFolder::exists($dir)) - { - $it = new RecursiveDirectoryIterator($dir); - $it = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); - foreach ($it as $file) - { - if ('.' === $file->getBasename() || '..' === $file->getBasename()) continue; - if ($file->isDir()) - { - JFolder::delete($file->getPathname()); - } - else - { - if ($file->getBasename() !== 'index.html') - { - JFile::delete($file->getPathname()); - } - } - } - if ($removeDir) - { - if (JFolder::delete($dir)) - { - return true; - } - } - else - { - return true; - } - } - return false; - } - - public function install($p_file) - { - // Set FTP credentials, if given. - JClientHelper::setCredentialsFromRequest('ftp'); - $app = JFactory::getApplication(); - - // Load installer plugins for assistance if required: - JPluginHelper::importPlugin('installer'); - $dispatcher = JEventDispatcher::getInstance(); - - $package = null; - - // This event allows an input pre-treatment, a custom pre-packing or custom installation. - // (e.g. from a JSON description). - $results = $dispatcher->trigger('onInstallerBeforeInstallation', array($this, &$package)); - - if (in_array(true, $results, true)) - { - return true; - } - elseif (in_array(false, $results, true)) - { - return false; - } - - $config = JFactory::getConfig(); - $tmp_dest = $config->get('tmp_path'); - - // Unpack the downloaded package file. - $package = JInstallerHelper::unpack($tmp_dest . '/' . $p_file, true); - // insure the install type is folder - $installType = 'folder'; - // This event allows a custom installation of the package or a customization of the package: - $results = $dispatcher->trigger('onInstallerBeforeInstaller', array($this, &$package)); - - if (in_array(true, $results, true)) - { - return true; - } - elseif (in_array(false, $results, true)) - { - return false; - } - - // Was the package unpacked? - if (!$package || !$package['type']) - { - $app->enqueueMessage(JText::_('COM_INSTALLER_UNABLE_TO_FIND_INSTALL_PACKAGE'), 'error'); - return false; - } - - // Get an installer instance. - $installer = JInstaller::getInstance(); - - // Install the package. - if (!$installer->install($package['dir'])) - { - // There was an error installing the package. - $msg = JText::sprintf('COM_INSTALLER_INSTALL_ERROR', JText::_('COM_INSTALLER_TYPE_TYPE_' . strtoupper($package['type']))); - $result = false; - $msgType = 'error'; - } - else - { - // Package installed sucessfully. - $msg = JText::sprintf('COM_INSTALLER_INSTALL_SUCCESS', JText::_('COM_INSTALLER_TYPE_TYPE_' . strtoupper($package['type']))); - $result = true; - $msgType = 'message'; - } - - // This event allows a custom a post-flight: - $dispatcher->trigger('onInstallerAfterInstaller', array($this, &$package, $installer, &$result, &$msg)); - - // Set some model state values. - $app = JFactory::getApplication(); - $app->enqueueMessage($msg, $msgType); - $this->setState('name', $installer->get('name')); - $this->setState('result', $result); - $app->setUserState('com_###component###.message', $installer->message); - $app->setUserState('com_###component###.extension_message', $installer->get('extension_message')); - $app->setUserState('com_###component###.redirect_url', $installer->get('redirect_url')); - - // Cleanup the install files. - if (!is_file($package['packagefile'])) - { - $config = JFactory::getConfig(); - $package['packagefile'] = $config->get('tmp_path') . '/' . $package['packagefile']; - } - - JInstallerHelper::cleanupInstall($package['packagefile'], $package['extractdir']); - - return $result; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerViews/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerViews/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerViews/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerViews/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerViews/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/compilerViews/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/custem/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/custem/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/custem/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/data-generator.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/data-generator.js deleted file mode 100644 index a89fefcaf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/data-generator.js +++ /dev/null @@ -1,44 +0,0 @@ -(function(w, undefined) { - var firstNames = ['Elodia', 'Sephnie', 'Maxine', 'Claudine', 'Londa', 'Gwyn', 'Consuelo', 'Mariko', 'Lashanda', 'Jesusa', 'Bernie', 'Annamaria', 'Muriel', 'Nikia', 'Margene', 'Lorraine', 'Annemarie', 'Rayna', 'Anonina', 'Carie', 'Gran', 'Jua', 'Jacqulyn', 'Whiney', 'Renaa', 'Usha', 'Annea', 'Jack', 'Chun', 'Eddy', 'Isidra', 'Myesha', 'Ami', 'Easer', 'Karon', 'Granville', 'Maria', 'Shenia', 'Solomon', 'Marquia', 'Charles', 'Neie', 'Beariz', 'Humbero', 'Rigobero', 'Lamon', 'Rivka', 'Phoebe', 'Renea', 'Celia', 'Shay', 'Sanford', 'Gwen', 'Lizzee', 'Lucila', 'Alice', 'Lauri', 'Desmond', 'Raeann', 'Rona', 'Jason', 'Lilian', 'Karena', 'Dennise', 'Delana', 'Rheba', 'Doy', 'Dolly', 'Venice', 'Dalene', 'Cyndy', 'Ilona', 'Lakeshia', 'Laurena', 'Lorriane', 'Kaci', 'Velve', 'Maple', 'Maire', 'Marline', 'Bar', 'Nelly', 'Shona', 'Karole', 'Judi', 'Ardelia', 'Alonzo', 'Junie', 'Alvina', 'Ilda']; - var lastNames = ['Ortego', 'Landa', 'Piermarini', 'Valles', 'Lusher', 'Branco', 'Falls', 'Hallett', 'Nicley', 'Cambareri', 'Han', 'Edwin', 'Lan', 'Dauenhauer', 'Cerrone', 'Matsumura', 'Mosher', 'Dragoo', 'Robare', 'Judon', 'Kyger', 'Bonk', 'Mcgaughy', 'Mcfetridge', 'Maxton', 'Roling', 'Klotz', 'Boudreaux', 'Hayton', 'Leonardo', 'Schug', 'Dewitt', 'Wohlwend', 'Hoos', 'Pennock', 'Sprinkle', 'Weick', 'Gilliland', 'Resler', 'Badgett', 'Bittinger', 'Letts', 'Bottom', 'Hibler', 'Fuhrman', 'Lewis', 'Moudy', 'Goyette', 'Difranco', 'Kyles', 'Sluss', 'Bruening', 'Halladay', 'Leinen', 'Leister', 'Morgado', 'Wadkins', 'Yingst', 'Hyland', 'Carasco', 'Stever', 'Weisz', 'Woldt', 'Leak', 'Sinclair', 'Heinen', 'Furniss', 'Hosler', 'Shumpert', 'Keasler', 'Stgelais', 'Landers', 'Hogle', 'Ates', 'Vanatta', 'Goodlow', 'Haner', 'Yaple', 'Lamark', 'Cataldo', 'Smelcer', 'Marco', 'Quaranta', 'Cooke', 'Ardrey', 'Guilford', 'Polo', 'Sprouse', 'Gaffney', 'Lafromboise']; - var jobTitles = ['Language Translator', 'Propeller-Driven Airplane Mechanic', 'Work Ticket Distributor', 'Pipe Organ Technician', 'LAN Systems Administrator', 'Employment Clerk', 'Electrical Lineworker', 'Serials Librarian', 'Technical Services Librarian', 'Blackjack Supervisor', 'Pulpwood Cutter', 'Military Science Teacher', 'Missile Pad Mechanic', 'Psychology Professor', 'Scene and Lighting Design Lecturer', 'Internet Marketing Manager', 'Business Services Sales Representative', 'Assistant Corporation Counsel', 'Photocopying Equipment Repairer', 'Post-Anesthesia Care Unit Nurse', 'Animal Husbandry Manager', 'Electrical Engineering Director', 'Drag Car Racer', 'Auto Detailer', 'Childrens Pastor', 'Strawberry Sorter', 'Geophysicist', 'Financial Accountant', 'Crown and Bridge Technician', 'Jig Bore Tool Maker', 'Union Representative', 'High School Librarian', 'High School History Teacher', 'Beveling and Edging Machine Operator', 'Roller Skater', 'Wallpaperer Helper', 'Childcare Center Administrator', 'Ordnance Engineer', 'Industrial Waste Treatment Technician', 'Airline Transport Pilot', 'Window Trimmer', 'Garment Presser', 'State Archivist', 'Die Designer', 'Ventriloquist', 'Calculus Professor', 'Technical Writer', 'Meat Packager', 'Automobile Body Painter', 'Aircraft Landing Gear Inspector', 'Fashion Designer', 'Drywall Stripper', 'Clown', 'National Association for Stock Car Auto Racing Driver', 'Staff Electronic Warfare Officer', 'Hydroelectric Machinery Mechanic', 'Clinical Services Director', 'Traffic Court Referee', 'Internal Medicine Nurse Practitioner', 'Horticulture Instructor', 'Ships Electronic Warfare Officer', 'Broadcast Maintenance Engineer', 'Weight Training Instructor', 'Potato Sorter', 'Appliance Parts Counter Clerk', 'Body Shop Supervisor', 'Accounts Collector', 'Commercial Lender', 'Scale Clerk', 'Obstetrician/Gynecologist', 'Gaming Cage Cashier', 'Fresco Artist', 'Youth Pastor', 'Parachute Officer', 'Geophysical Engineer', 'Route Sales Person', 'Master of Ceremonies', 'Cloak Room Attendant', 'Gas Main Fitter', 'Religious Activities Director', 'Hemodialysis Technician', 'Telephone Lines Repairer', 'Periodontist', 'Wood Fence Installer', 'Offbearer', 'Aviation Tactical Readiness Officer', 'Biology Laboratory Assistant', 'Emergency Room Orderly', 'Magician', 'Dog Trainer']; - var statuses = [{ 'name': 'Active', 'value': 1 }, { 'name': 'Disabled', 'value': 2 }, { 'name': 'Suspended', 'value': 3 }]; - var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; - - function randomDate() { - var start = new Date(1960, 0, 1), end = new Date(1994, 0, 1); - return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime())); - } - - w.generateRows = function(rows, extraCols, return_rows) { - rows = rows || 100; - extraCols = extraCols || 0; - return_rows = return_rows || false; - var output = ''; - for (var i = 0; i < rows; i++) { - var data = { - firstName: firstNames[Math.floor(Math.random() * firstNames.length)], - lastName: lastNames[Math.floor(Math.random() * lastNames.length)], - jobTitle: jobTitles[Math.floor(Math.random() * jobTitles.length)], - status: statuses[Math.floor(Math.random() * statuses.length)], - dob: randomDate() - }; - var row = '<tr>'; - //row += '<td class="expand"></td>'; - row += '<td>' + data.firstName + '</td>'; - row += '<td>' + data.lastName + '</td>'; - row += '<td>' + data.jobTitle + '</td>'; - row += '<td data-value="' + data.dob.getTime() + '">' + data.dob.getDate() + ' ' + months[data.dob.getMonth()] + ' ' + data.dob.getFullYear() +'</td>'; - row += '<td data-value="' + data.status.value + '">' + data.status.name + '</td>'; - for (var j = 0; j < extraCols; j++) { - row += '<td>' + (i+1) + '.' + (j+1) + '</td>'; - } - row += '</tr>'; - if (!return_rows) document.writeln(row); - else - output += row; - } - - if (return_rows) return output; - }; -})(window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/defaultCompiler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/defaultCompiler.php deleted file mode 100644 index 6d2ba7ae9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/defaultCompiler.php +++ /dev/null @@ -1,143 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -JHtml::_('jquery.framework'); -?> - -<script type="text/javascript"> -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var component = jQuery('#component').val(); - var isValid = true; - - if(component == "" && task == 'compiler.compiler'){ - isValid = false; - } - if (isValid){ - jQuery('#form').hide(); - Joomla.submitform(task); - if (task == 'compiler.compiler'){ - jQuery('#compiler').show(); - } else if (task == 'compiler.clearTmp'){ - jQuery('#loading').css('display', 'block'); - jQuery('#clear').show(); - } else { - jQuery('#loading').css('display', 'block'); - } - return true; - } else { - jQuery('.notice').show(); - return false; - } - } -} - -// Add spindle-wheel for importations: -jQuery(document).ready(function($) { - var outerDiv = $('body'); - - $('<div id="loading"></div>') - .css("background", "rgba(255, 255, 255, .8) url('components/com_###component###/assets/images/import.gif') 50% 15% no-repeat") - .css("top", outerDiv.position().top - $(window).scrollTop()) - .css("left", outerDiv.position().left - $(window).scrollLeft()) - .css("width", outerDiv.width()) - .css("height", outerDiv.height()) - .css("position", "fixed") - .css("opacity", "0.80") - .css("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)") - .css("filter", "alpha(opacity = 80)") - .css("display", "none") - .appendTo(outerDiv); -}); -</script> -<?php if(!empty( $this->sidebar)): ?> -<div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> -</div> -<div id="j-main-container" class="span10"> -<?php else: ?> -<div id="j-main-container"> -<?php endif; ?> - <div id="form"> - <h1>Ready to compile your component</h1> - <form action="index.php?option=com_###component###&view=compiler" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - <div> - <span class="notice" style="display:none; color:red;">You must select a component!</span><br /> - <?php if ($this->form): ?> - <?php foreach ($this->form as $field): ?> - <div class="control-group"> - <div class="control-label"><?php echo $field->label;?></div> - <div class="controls"><?php echo $field->input;?></div> - </div> - <?php endforeach; ?> - <?php endif; ?> - </div> - <br /> - <div class="clearfix"></div> - <button class="btn btn-small btn-success" onclick="Joomla.submitbutton('compiler.compiler')"><span class="icon-cog icon-white"></span> - Compile Component - </button> - <input type="hidden" name="version" value="3" /> - <input type="hidden" name="task" value="compiler.compiler" /> - <?php echo JHtml::_('form.token'); ?> - </form> - </div> - <div id="clear" style="display:none;"> - <h1>Please wait! Clearing the tmp folder <span class="loading-dots">.</span></h1> - <div class="clearfix"></div> - </div> - <div id="compiler" style="display:none;"> - <h1>Please wait! Compiling the component <span class="loading-dots">.</span></h1> - <img src="components/com_###component###/assets/images/ajax-loader.gif" /> - <div class="clearfix"></div> - </div> -</div> -<script> -jQuery('#adminForm').on('change', '#component',function (e) -{ - var component = jQuery('#component').val(); - if(component == ""){ - jQuery('.notice').show(); - } - else - { - jQuery('.notice').hide(); - } -}); -// nice little dot trick :) -jQuery(document).ready( function($) { - var x=0; - setInterval(function() { - var dots = ""; - x++; - for (var y=0; y < x%8; y++) { - dots+="."; - } - $(".loading-dots").text(dots); - } , 500); -}); -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/downloadController.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/downloadController.php deleted file mode 100644 index 758bac117..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/downloadController.php +++ /dev/null @@ -1,153 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Download Controller - */ -class ###Component###ControllerDownload extends JControllerLegacy -{ - - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('file', 'download'); - } - - public function download() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - $userAllowed = $jinput->get('key', NULL, 'INT'); - if($user->id != 0 && $userAllowed == $user->id && $token == $call_token) - { - $task = $this->getTask(); - switch($task) - { - case 'file': - $enUrl = $jinput->get('link', NULL, 'BASE64'); - $filename = $jinput->get('filename', NULL, 'CMD'); - if(base64_encode(base64_decode($enUrl, true)) === $enUrl && $filename) - { - // Get local key - $localkey = md5(JComponentHelper::getParams('com_###component###')->get('basic_key', 'localKey34fdWEkl')); - $opener = new FOFEncryptAes($localkey, 256); - $link = rtrim($opener->decryptString(base64_decode($enUrl))); - $info = $this->getContentInfo($link); - // set headers - if (isset($info['type']) && $info['type']) - { - header('Content-Type: '.$info['type']); - } - elseif (strpos($filename, '.mp3') !== false) - { - header('Content-Type: audio/mpeg'); - } - else - { - header('Content-Type: application/octet-stream'); - } - header("Content-Transfer-Encoding: Binary"); - header("Content-disposition: attachment; filename=\"" . $filename . "\""); - header('Expires: 0'); - header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); - header('Pragma: public'); - if (isset($info['filesize']) && $info['filesize']) - { - header('Content-Length: ' . $info['filesize']); - } - ob_clean(); - flush(); - // this is faster but expose the dropbox url - // header("Location: $link"); - // this is slower but better much more secure - readfile($link); - jexit(); - } - break; - } - } - - return false; - } - - protected function getContentInfo($url) - { - // we first try the curl option - if ($this->_isCurl()) - { - $ch = curl_init($url); - curl_setopt($ch, CURLOPT_NOBODY, true); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - curl_setopt($ch, CURLOPT_HEADER, true); - curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); - - $data = curl_exec($ch); - curl_close($ch); - } - else - { - // then we try getheaders (this is slower) - stream_context_set_default( array('http' => array('method' => 'HEAD'))); - $headers = get_headers($url); - if (###Component###Helper::checkArray($headers)) - { - $data = implode("\n", $headers); - } - } - // get the Content Length - if (preg_match('/Content-Length: (\d+)/', $data, $matches)) - { - // Contains file size in bytes - $found['filesize'] = (int)$matches[1]; - - } - // get the Content Type - if (preg_match_all('/Content-Type: (.+)/', $data, $matches)) - { - foreach ($matches[1] as $match) - { - // not the html - if (strpos( $match, 'text/html') === false) - { - $found['type'] = $match; - break; - } - } - - } - // return found values - if (isset($found) && ###Component###Helper::checkArray($found)) - { - return $found; - } - return false; - } - - protected function _isCurl() - { - return function_exists('curl_version'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/downloadController_sermonDistributor.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/downloadController_sermonDistributor.php deleted file mode 100644 index 95880b7ae..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/downloadController_sermonDistributor.php +++ /dev/null @@ -1,155 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * ###Component### Download Controller - */ -class ###Component###ControllerDownload extends JControllerLegacy -{ - - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('file', 'download'); - } - - public function download() - { - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token) - { - $task = $this->getTask(); - switch($task) - { - case 'file': - $keys = $jinput->get('key', NULL, 'BASE64'); - $enUrl = $jinput->get('link', NULL, 'BASE64'); - $filename = $jinput->get('filename', NULL, 'CMD'); - if((base64_encode(base64_decode($enUrl, true)) === $enUrl) && (base64_encode(base64_decode($keys, true)) === $keys) && $filename) - { - // we must first count this download - if (###Component###Helper::countDownload($keys,$filename)) - { - // Get local key - $localkey = ###Component###Helper::getLocalKey(); - $opener = new FOFEncryptAes($localkey, 256); - $link = rtrim($opener->decryptString(base64_decode($enUrl))); - $info = $this->getContentInfo($link); - // set headers - if (isset($info['type']) && $info['type']) - { - header('Content-Type: '.$info['type']); - } - elseif (strpos($filename, '.mp3') !== false) - { - header('Content-Type: audio/mpeg'); - } - else - { - header('Content-Type: application/octet-stream'); - } - header("Content-Transfer-Encoding: Binary"); - header("Content-disposition: attachment; filename=\"" . $filename . "\""); - header('Expires: 0'); - header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); - header('Pragma: public'); - if (isset($info['filesize']) && $info['filesize']) - { - header('Content-Length: ' . $info['filesize']); - } - ob_clean(); - flush(); - // this is faster but expose the dropbox url - // header("Location: $link"); - // this is slower but better much more secure - readfile($link); - jexit(); - } - } - break; - } - } - return false; - } - - protected function getContentInfo($url) - { - // we first try the curl option - if ($this->_isCurl()) - { - $ch = curl_init($url); - curl_setopt($ch, CURLOPT_NOBODY, true); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - curl_setopt($ch, CURLOPT_HEADER, true); - curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); - - $data = curl_exec($ch); - curl_close($ch); - } - else - { - // then we try getheaders (this is slower) - stream_context_set_default( array('http' => array('method' => 'HEAD'))); - $headers = get_headers($url); - if (###Component###Helper::checkArray($headers)) - { - $data = implode("\n", $headers); - } - } - // get the Content Length - if (preg_match('/Content-Length: (\d+)/', $data, $matches)) - { - // Contains file size in bytes - $found['filesize'] = (int)$matches[1]; - - } - // get the Content Type - if (preg_match_all('/Content-Type: (.+)/', $data, $matches)) - { - foreach ($matches[1] as $match) - { - // not the html - if (strpos( $match, 'text/html') === false) - { - $found['type'] = $match; - break; - } - } - - } - // return found values - if (isset($found) && ###Component###Helper::checkArray($found)) - { - return $found; - } - return false; - } - - protected function _isCurl() - { - return function_exists('curl_version'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/dropbox.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/dropbox.php deleted file mode 100644 index 659c98ee6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/dropbox.php +++ /dev/null @@ -1,342 +0,0 @@ -<?php -/*----------------------------------------------------------------------------------| www.vdm.io |----/ - Vast Development Method -/-------------------------------------------------------------------------------------------------------/ - - @version 1.0.0 - 01st July, 2015 - @package Dropbox Links builder - @subpackage dropboxlinks.php - @author Llewellyn van der Merwe <http://www.vdm.io> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - -/------------------------------------------------------------------------------------------------------*/ - -// No direct access. -defined('_JEXEC') or die; - -/** - * Dropbox class - */ -class Dropbox -{ - // the file name - public $fileName; - - // the file array - public $files = array(); - - // the extension to get - protected $getfiles = array(); - - // the extensions to leave - protected $notfiles = array(); - - // the folder array - protected $folders = array(); - - // folder identifiers - protected $getfolders = array('?dl=0'); - - // the list of extension to help identify what is folders (not exhaustive, only some of the commen files) - protected $notfolders = array( - '.3gp','.3gpp','.7z','.aac','.act','.aiff','.aiff','.amr','.ape','.ar','.asf','.au','.avi','.awb','.bmp','.bup','.bzip2','.crx','.css','.dct','.deb','.djvu', - '.doc','.docx','.drc','.dss','.ear','.egg','.exe','.flac','.flv','.gif','.gifv','.gzip','.htaccess','.html','.ico','.ini','.iso','.jar','.jpeg','.jpg','.js', - '.json','.lzip','.m3u','.m4a','.m4p','.m4v','.mkv','.mmf','.mng','.mov','.mp3','.mp4','.mpc','.mpeg','.mpeg4','.mpegps','.mpg','.mpkg','.msi','.odt','.ogg', - '.opus','.pdf','.pea','.php','.pkg','.png','.ppt','.pptx','.ps','.psd','.pst','.pxv','.rar','.raw','.rm','.rmvb','.rpm','.rtf','.shar','.sql','.svg','.sxw', - '.tar','.tgz','.tgz','.tiff','.txt','.veg','.vep','.vob','.wav','.webm','.wma','.wmv','.xar','.xls','.xml','.yuv','.zip' ); - - // the directory where the downloaded files should be stored - protected $dir; - - /** - * Constructor - */ - public function __construct($mainurl, $config = array('save' => false, 'filename' => 'dropbox', 'download' => false, 'dir' => __DIR__)) - { - if ($this->checkArray($config)) - { - // we need more then the normal time to run this script 5 minutes at least. - ini_set('max_execution_time', 500); // TODO this is not the best option I am sure, but for now seems like the only option. - // set main url - $this->mainurl = $mainurl; - // if custom get list is set use it - if (isset($config['get']) && $this->checkArray($config['get'])) - { - $this->getfiles = $config['get']; - } - elseif (isset($config['get']) && $this->checkString($config['get'])) - { - $this->getfiles = array($config['get']); - } - // if custom excludelist is set use it - if (isset($config['not']) && $this->checkArray($config['not'])) - { - $this->notfiles = $config['not']; - } - elseif (isset($config['not']) && $this->checkString($config['not'])) - { - $this->notfiles = array($config['not']); - } - // set main folder name - $this->fileName = (isset($config['filename'])) ? md5($this->mainurl.$config['filename']) : md5($this->mainurl.'nofilenamewasset'); - // set save switch - $save = (isset($config['save'])) ? $config['save'] : false; - // set download switch - $download = (isset($config['download'])) ? $config['download'] : false; - // make sure the note folder identifiers are complete - $this->notfolders = array_unique(array_merge($this->getfiles,$this->notfiles,$this->notfolders)); - // set local directory - $this->dir = (isset($config['dir'])) ? $config['dir'] : __DIR__; - // check if the parching of the drobox files is up to date - if (($json = @file_get_contents($this->fileName.".json")) !== FALSE) - { - $this->files = json_decode($json, true); - } - else - { - // set all folders - $this->parseFolders($this->mainurl, 'VDM_pLeK_h0uEr'); - } - // check if we should save the file - if ($save) - { - $this->save(); - } - // check if we should download the file - if ($download) - { - $this->download(); - } - return true; - } - return false; - } - - public function download($dir = null) - { - if ($this->checkArray($this->files)) - { - // insure the directory is set - $dir = ($dir) ? $dir : $this->dir; - foreach($this->files as $path => $url) - { - // now setup correct path - $path = str_replace('VDM_pLeK_h0uEr', $dir, $path); - // boom here we go move.... - $this->getFile($url, $path); - } - } - } - - public function getFile($url, $path) - { - $newfname = $path; - if (($file = @fopen($url, "rb")) !== FALSE) - { - $filename = substr($path, strrpos($path, '/')); - $makePath = str_replace($filename,'',$path); - if (!file_exists($makePath)) - { - mkdir($makePath, 0755, true); - } - - $newf = fopen($newfname, "wb"); - } - else - { - echo 'error! '.$url.' not found'; - } - - if ($newf) - { - while(!feof($file)) - { - fwrite($newf, fread($file, 1024 * 8 ), 1024 * 8 ); - } - } - - if ($file) - { - fclose($file); - } - - if ($newf) - { - fclose($newf); - } - } - - public function save($filename = null) - { - if ($this->checkString($filename)) - { - // set main folder name - $this->fileName = md5($this->mainurl.$filename); - } - if ($this->checkArray($this->files)) - { - $data = json_encode($this->files); - // now save this folders data to a file. - $this->saveJson($data); - - return true; - } - return false; - } - - protected function saveJson($data) - { - if ($this->checkString($data)) - { - /* - for now it will save - the files in the same - directory as the php - file where the class - is called we will have - to change this to suite - your custom needs. - */ - $fp = fopen($this->fileName.'.json', 'w'); - fwrite($fp, $data); - fclose($fp); - } - } - - protected function parseFolders($url, $foldername) - { - if ($this->checkString($url)) - { - // get the page html - if (($html = @file_get_contents($url)) !== FALSE) - { - //Create a new DOM document - $dom = new DOMDocument; - - //Parse the HTML. The @ is used to suppress any parsing errors - //that will be thrown if the $html string isn't valid XHTML. - @$dom->loadHTML($html); - - //Get all links. You could also use any other tag name here, - //like 'img' or 'table', to extract other tags. - $links = $dom->getElementsByTagName('a'); - - //Iterate over the extracted links and display their URLs - if ($this->checkObject($links)) - { - // the types - $types = array('folders','files'); - foreach ($types as $type) - { - // folder bucket - $buket = array(); - foreach ($links as $nr => $link) - { - // switch to add link - $add = false; - // get actual link - $href = $link->getAttribute('href'); - // only use link reated to type - if ($this->checkArray($this->{'get'.$type}) && $this->checkString($href)) - { - foreach ($this->{'get'.$type} as $get) - { - if (!$add) - { - if (strpos($get,'?dl') === false) - { - $get = $get . '?dl=0'; - } - if (strpos($href,'https://www.dropbox.com/') !== false && strpos($href,$get) !== false) - { - $add = true; - } - } - } - } - else - { - if (strpos($href,'https://www.dropbox.com/') !== false && strpos($href,'?dl=0') !== false) - { - $add = true; - } - } - - // remove if not related to type - if ($this->checkArray($this->{'not'.$type}) && $this->checkString($href) && $add) - { - foreach ($this->{'not'.$type} as $not) - { - if ($add) - { - if (strpos($href,$not) !== false) - { - $add = false; - } - } - } - } - - // now add if still related to type - if ($add) - { - if (!in_array($href,$buket)) - { - $name = str_replace('?dl=0','',substr($href, strrpos($href, '/') + 1)); - - if ($type == 'folders' && strpos($name,'.') === false) - { - // parse this folder for more files and sub folders - $this->parseFolders($href, $foldername.'/'.str_replace('?lst','',$name)); - $buket[] = $href; - unset($links->$nr); - - } - elseif ($type == 'files' && strpos($name,'.') !== false) - { - // Add to file list - $this->files[$foldername.'/'.$name] = str_replace('?dl=0','?dl=1',$href); - $buket[] = $href; - unset($links->$nr); - } - } - } - } - } - } - return true; - } - } - return false; - } - - protected function checkObject($object) - { - if (isset($object) && is_object($object) && count($object) > 0) - { - return true; - } - return false; - } - - protected function checkArray($array) - { - if (isset($array) && is_array($array) && count($array) > 0) - { - return true; - } - return false; - } - - protected function checkString($string) - { - if (isset($string) && is_string($string) && strlen($string) > 0) - { - return true; - } - return false; - } -} - -?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/dropboxupdater.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/dropboxupdater.php deleted file mode 100644 index 76d47ab43..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/dropboxupdater.php +++ /dev/null @@ -1,427 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Dropbox updater component helper - */ -class Dropboxupdater -{ - /** - * to see where we are in the prosses - **/ - public $progress = array('report' => 0); - - /** - * update flag (if false update will not happen) - **/ - protected $okay = true; - - /** - * the type of linksto update - **/ - protected $type; - - /** - * allow a forced manual update - **/ - protected $runManual; - - /** - * Todays date-time - **/ - protected $today; - - /** - * Next updat date-time - **/ - protected $next; - - /** - * update method - **/ - protected $updateMethod; - - /** - * update links - **/ - protected $updateLinks = array(); - - /** - * Listing of dropbox links - **/ - protected $listing = array(); - - /** - * info related to this update - **/ - protected $updateInfo; - protected $infoFilePath; - - /** - * get the localkey - **/ - protected $localkey = false; - - /** - * component parameters - **/ - protected $app_params; - - /** - * everything we want done when initialized - **/ - public function __construct() - { - // get params - $this->app_params = JComponentHelper::getParams('com_###component###'); - - // set local key - $this->localkey = md5($this->app_params->get('link_encryption', 'localKey34fdWEkl')); - } - - /** - * update mehtod - **/ - public function update($type = false, $runManual = false) - { - if ($type) - { - // start frech - $this->okay = true; - // set type - $this->type = $type; - $this->runManual = $runManual; - - // set progress file name - $this->progressFilePath = JPATH_COMPONENT_SITE.'/helpers/'.md5($this->type.'progress'.$this->localkey).'.json'; - - // what update method is set - $this->setUpdateMethod(); - - // set the update links - $this->setUpdateLinks(); - - // set needed dates - if ($this->okay) - { - $this->setDates(); - } - - // get info data or set if not found - if ($this->okay) - { - $this->setInfoData(); - } - - // check if update should run now - if ($this->okay) - { - $this->checkUpdateStatus(); - } - // set progress - if ($this->okay) - { - $this->saveProgress(); - } - - // before update save update info incase class is called again - if($this->okay) - { - if ($this->updateInfo->updatenow) - { - // turn update to active - $this->updateInfo->updatenow = false; - $this->updateInfo->updateactive = true; - // now save the date - $this->okay = $this->saveUpdateInfo(); - } - else - { - $this->okay = false; - } - } - - // run the update if all is okay - if ($this->okay) - { - // set the config - $this->setDropboxConfig(); - // set progress - $this->progress['report'] = 30; - $this->saveProgress(); - // load the file - JLoader::import('dropbox', JPATH_COMPONENT_SITE.'/helpers'); - // okay now update - if ($this->doUpdate()) - { - return $this->okay; - } - } - } - return false; - } - - /** - * set update mehtod - **/ - protected function setUpdateMethod() - { - $method = $this->app_params->get($this->type.'_link_update_method', 0); - if ($this->runManual) - { - // this is a manual method - $this->updateMethod = 'manual'; - } - elseif (2 == $method) - { - // this it an auto mehtod - $this->updateMethod = 'auto'; - } - else - { - $this->okay = false; - } - } - - /** - * set update Links - **/ - protected function setUpdateLinks() - { - // the number of links - $numbers = range(1, 4); - // now check if they are set - foreach ($numbers as $number) - { - // set the number to string - $numStr = ###Component###Helper::safeString($number); - // Get the url - $url = $this->app_params->get($this->type.'dropbox'.$numStr, null); - // only load those that are set - if ($url) - { - $this->updateLinks[] = $url; - } - } - // check if we found any - if (!isset($this->updateLinks) || !###Component###Helper::checkArray($this->updateLinks)) - { - $this->okay = false; - } - } - - /** - * set next update time - **/ - protected function setDates() - { - // set todays date/time - $this->today = time(); - - // set the next update date/time - if ('manual' == $this->updateMethod) - { - // set the date to two days ago to ensure the update runs now - $this->next = strtotime("-2 days"); - } - else - { - // based on the auto time we will set the next update date/time - $timer = $this->app_params->get($this->type.'_dropbox_timer', '60'); - if ($timer != 0) - { - // Get Next Update Time - $this->next = strtotime('+'.$timer.' minutes', $this->today); - } - // if timer is 0 we should not update - else - { - $this->okay = false; - } - } - } - - /** - * set update mehtod - **/ - protected function setInfoData() - { - // set the info file name - $fileName = md5($this->type.'info'.$this->localkey); - // set file path - $this->infoFilePath = JPATH_COMPONENT_SITE.'/helpers/'.$fileName.'.json'; - - if (($json = @file_get_contents($this->infoFilePath)) !== FALSE) - { - $this->updateInfo = json_decode($json); - } - else - { - $this->updateInfo = new stdClass; - $this->updateInfo->nextupdate = 0; - $this->updateInfo->updateactive = false; - $this->updateInfo->updatenow = false; - } - } - - /** - * check update status - **/ - protected function checkUpdateStatus() - { - // check if there is already an update running - if ($this->updateInfo->updateactive) - { - $this->okay = false; - } - // check if the time has come to do the next update - elseif (('auto' == $this->updateMethod) && ($this->updateInfo->nextupdate > $this->today)) - { - $this->okay = false; - } - else - { - $this->updateInfo->updatenow = true; - } - } - - /** - * save the update info - **/ - protected function saveProgress() - { - return $this->saveJson(json_encode($this->progress),$this->progressFilePath); - } - - /** - * save the update info - **/ - protected function saveUpdateInfo() - { - return $this->saveJson(json_encode($this->updateInfo),$this->infoFilePath); - } - - /** - * update the local listing - **/ - protected function doUpdate() - { - // we need more then the normal time to run this script 5 minutes at least. - ini_set('max_execution_time', 500); - // get data of all the urls - foreach ($this->updateLinks as $mainUrl) - { - // set progress - if ($this->progress['report'] < 60) - { - $this->progress['report'] = $this->progress['report'] + 5; - $this->saveProgress(); - } - // get ldropbox links - $dropbox = new Dropbox($mainUrl, $this->dropboxConfig); - // set progress - if ($this->progress['report'] < 70) - { - $this->progress['report'] = $this->progress['report'] + 5; - $this->saveProgress(); - } - // get the links - if (###Component###Helper::checkArray($dropbox->files)) - { - $this->listing = array_merge($this->listing, $dropbox->files); - } - // set progress - if ($this->progress['report'] < 80) - { - $this->progress['report'] = $this->progress['report'] + 5; - $this->saveProgress(); - } - unset($dropbox); - } - - // now store the new listing - return $this->setNewListing(); - } - - protected function setNewListing() - { - // set progress - $this->progress['report'] = 100; - $this->saveProgress(); - // reset storage - $storeage = array(); - // set the listing file name - $fileName = md5($this->type.'listing'.$this->localkey); - // set file path - $listingFilePath = JPATH_COMPONENT_SITE.'/helpers/'.$fileName.'.json'; - - // now store the new listing - if (###Component###Helper::checkArray($this->listing)) - { - // encrypt the urls - $locker = new FOFEncryptAes($this->localkey, 256); - foreach ($this->listing as $folder => $link) - { - $storeage[$folder] = base64_encode($locker->encryptString($link)); - } - } - else - { - $this->okay = false; - } - // save the update links. - $this->saveJson(json_encode($storeage),$listingFilePath); - // make sure the update reset - $this->updateInfo->nextupdate = $this->next; - $this->updateInfo->updateactive = false; - $this->updateInfo->updatenow = false; - - return $this->saveUpdateInfo(); - } - - /** - * set the configeration for dropbox class - **/ - protected function setDropboxConfig() - { - // reset config - $this->dropboxConfig = array(); - // get the legal files set - $getfiles = $this->app_params->get('dropbox_filetypes', null); - if (###Component###Helper::checkArray($getfiles)) - { - $this->dropboxConfig['get'] = $getfiles; - } - // set other config settings - $this->dropboxConfig['save'] = false; - $this->dropboxConfig['download'] = false; - } - - protected function saveJson($data,$filename) - { - if (###Component###Helper::checkString($data)) - { - $fp = fopen($filename, 'w'); - fwrite($fp, $data); - fclose($fp); - return true; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/fb_loader.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/fb_loader.gif deleted file mode 100644 index 919864078..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/fb_loader.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.eot b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.eot deleted file mode 100644 index 37229798b..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.eot and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.svg b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.svg deleted file mode 100644 index 5a6e1fda3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.svg +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata> -This is a custom SVG font generated by IcoMoon. -<iconset grid="16"></iconset> -</metadata> -<defs> -<font id="footable" horiz-adv-x="512" > -<font-face units-per-em="512" ascent="480" descent="-32" /> -<missing-glyph horiz-adv-x="512" /> -<glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" /> -<glyph unicode="&#xe000;" d="M 496,288L 320,288 L 320,464 c0,8.836-7.164,16-16,16l-96,0 c-8.836,0-16-7.164-16-16l0-176 L 16,288 c-8.836,0-16-7.164-16-16l0-96 - c0-8.836, 7.164-16, 16-16l 176,0 l0-176 c0-8.836, 7.164-16, 16-16l 96,0 c 8.836,0, 16,7.164, 16,16L 320,160 l 176,0 c 8.836,0, 16,7.164, 16,16l0,96 - C 512,280.836, 504.836,288, 496,288z" /> -<glyph unicode="&#xe001;" d="M0,272l0-96 c0-8.836, 7.164-16, 16-16l 480,0 c 8.836,0, 16,7.164, 16,16l0,96 c0,8.836-7.164,16-16,16L 16,288 C 7.164,288,0,280.836,0,272z" /> -<glyph unicode="&#xe002;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 288,192l0-128 l-64,0 L 224,192 L 96,192 l0,64 - l 128,0 L 224,384 l 64,0 l0-128 l 128,0 l0-64 L 288,192 z" /> -<glyph unicode="&#xe003;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 416,192L 96,192 l0,64 l 320,0 L 416,192 z" /> -<glyph unicode="&#xe004;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32 - c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 384,192 L 288,192 L 288,96 L 224,96 L 224,192 L 128,192 L 128,256 L 224,256 L 224,352 L 288,352 L 288,256 L 384,256 Z" /> -<glyph unicode="&#xe005;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32 - c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 128,256L 384,256L 384,192L 128,192z" /> -<glyph unicode="&#xe006;" d="M 256,214.857l0-18.286 q0-4 -2.571-6.571t-6.571-2.571l-64,0 l0-64 q0-4 -2.571-6.571t-6.571-2.571l-18.286,0 q-4,0 -6.571,2.571t-2.571,6.571l0,64 l-64,0 q-4,0 -6.571,2.571t-2.571,6.571l0,18.286 q0,4 2.571,6.571t 6.571,2.571l 64,0 l0,64 q0,4 2.571,6.571t 6.571,2.571l 18.286,0 q 4,0 6.571-2.571t 2.571-6.571l0-64 l 64,0 q 4,0 6.571-2.571t 2.571-6.571zM 292.571,105.143l0,201.143 q0,11.429 -8,19.429t-19.429,8l-201.143,0 q-11.429,0 -19.429-8 t-8-19.429l0-201.143 q0-11.429 8-19.429t 19.429-8l 201.143,0 q 11.429,0 19.429,8t 8,19.429zM 329.143,306.286l0-201.143 q0-26.286 -18.714-45.143t-45.286-18.857l-201.143,0 q-26.571,0 -45.286,18.857t-18.714,45.143l0,201.143 q0,26.571 18.714,45.286t 45.286,18.714l 201.143,0 q 26.571,0 45.286-18.714t 18.714-45.286z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe007;" d="M 265.143,370.286q 26.571,0 45.286-18.714t 18.714-45.286l0-201.143 q0-26.286 -18.714-45.143t-45.286-18.857l-201.143,0 q-26.571,0 -45.286,18.857t-18.714,45.143l0,201.143 q0,26.571 18.714,45.286t 45.286,18.714l 201.143,0 zM 292.571,105.143l0,201.143 q0,11.429 -8,19.429t-19.429,8l-201.143,0 q-11.429,0 -19.429-8t-8-19.429l0-201.143 q0-11.429 8-19.429t 19.429-8l 201.143,0 q 11.429,0 19.429,8t 8,19.429z M 246.857,224q 4,0 6.571-2.571t 2.571-6.571l0-18.286 q0-4 -2.571-6.571t-6.571-2.571l-164.571,0 q-4,0 -6.571,2.571t-2.571,6.571l0,18.286 q0,4 2.571,6.571t 6.571,2.571l 164.571,0 z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe008;" d="M 365.714,205.714l0,36.571 q0,7.429 -5.429,12.857t-12.857,5.429l-91.429,0 l0,91.429 q0,7.429 -5.429,12.857t-12.857,5.429l-36.571,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-91.429 l-91.429,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-36.571 q0-7.429 5.429-12.857t 12.857-5.429l 91.429,0 l0-91.429 q0-7.429 5.429-12.857t 12.857-5.429l 36.571,0 q 7.429,0 12.857,5.429t 5.429,12.857l0,91.429 l 91.429,0 q 7.429,0 12.857,5.429t 5.429,12.857zM 438.857,361.143l0-274.286 q0-34 -24.143-58.143t-58.143-24.143l-274.286,0 q-34,0 -58.143,24.143t-24.143,58.143l0,274.286 q0,34 24.143,58.143t 58.143,24.143l 274.286,0 q 34,0 58.143-24.143t 24.143-58.143z" horiz-adv-x="438.857" /> -<glyph unicode="&#xe009;" d="M 365.714,205.714l0,36.571 q0,7.429 -5.429,12.857t-12.857,5.429l-256,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-36.571 q0-7.429 5.429-12.857t 12.857-5.429l 256,0 q 7.429,0 12.857,5.429t 5.429,12.857zM 438.857,361.143l0-274.286 q0-34 -24.143-58.143t-58.143-24.143l-274.286,0 q-34,0 -58.143,24.143t-24.143,58.143l0,274.286 q0,34 24.143,58.143t 58.143,24.143l 274.286,0 q 34,0 58.143-24.143 t 24.143-58.143z" horiz-adv-x="438.857" /> -<glyph unicode="&#xe00a;" d="M 512,224C 512,82.615, 397.385-32, 256-32s -256,114.615, -256,256s 114.615,256, 256,256S 512,365.385, 512,224z M 233.372,374.628 - l -128-128.001C 99.124,240.379, 96,232.189, 96,224s 3.124-16.379 9.372-22.627c 12.497-12.497 32.759-12.497, 45.256,0L 224,274.745 - L 224,96 c 0-17.673 14.327-32 32-32c 17.673,0, 32,14.327, 32,32l0,178.745 l 73.373-73.373c 12.497-12.497 32.758-12.497, 45.255,0 - c 12.497,12.497, 12.497,32.758, 0,45.254l -128,128.001C 266.131,387.124, 245.869,387.124, 233.372,374.628z" /> -<glyph unicode="&#xe00b;" d="M 512,224C 512,365.385, 397.385,480, 256,480s -256-114.615, -256-256s 114.615-256, 256-256S 512,82.615, 512,224z M 233.372,73.372 - l -128,128.001C 99.124,207.621, 96,215.811, 96,224s 3.124,16.379 9.372,22.627c 12.497,12.497 32.759,12.497, 45.256,0L 224,173.255 - L 224,352 c 0,17.673 14.327,32 32,32c 17.673,0, 32-14.327, 32-32l0-178.745 l 73.373,73.373c 12.497,12.497 32.758,12.497, 45.255,0 - c 12.497-12.497, 12.497-32.758, 0-45.254l -128-128.001C 266.131,60.876, 245.869,60.876, 233.372,73.372z" /> -<glyph unicode="&#xe00c;" d="M 256,480C 397.385,480, 512,365.385, 512,224s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,480, 256,480z M 105.372,201.372 - l 128.001-128C 239.621,67.124, 247.811,64, 256,64s 16.379,3.124 22.627,9.372c 12.497,12.497 12.497,32.759,0,45.256L 205.255,192 - L 384,192 c 17.673,0 32,14.327 32,32c0,17.673, -14.327,32, -32,32l-178.745,0 l 73.373,73.373c 12.497,12.497 12.497,32.758,0,45.255 - c -12.497,12.497, -32.758,12.497, -45.254,0l -128.001-128C 92.876,234.131, 92.876,213.869, 105.372,201.372z" /> -<glyph unicode="&#xe00d;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 406.628,201.372 - l-128.001-128C 272.379,67.124, 264.189,64, 256,64s-16.379,3.124-22.627,9.372c-12.497,12.497-12.497,32.759,0,45.256L 306.745,192 - L 128,192 c-17.673,0-32,14.327-32,32c0,17.673, 14.327,32, 32,32l 178.745,0 l-73.373,73.373c-12.497,12.497-12.497,32.758,0,45.255 - c 12.497,12.497, 32.758,12.497, 45.254,0l 128.001-128C 419.124,234.131, 419.124,213.869, 406.628,201.372z" /> -<glyph unicode="&#xe00e;" d="M0,160L 96,64L 256,224L 416,64L 512,160L 256.001,416 z" /> -<glyph unicode="&#xe00f;" d="M 512,288L 416,384L 256,224L 96,384L0,288L 256,32.001 z" /> -<glyph unicode="&#xe010;" d="M 320-32L 416,64L 256,224L 416,384L 320,480L 64,224 z" /> -<glyph unicode="&#xe011;" d="M 192,480L 96,384L 256,224L 96,64L 192-32L 448,224 z" /> -<glyph unicode="&#xe012;" d="M 292.571,132.571q0-7.429 -5.429-12.857t-12.857-5.429l-256,0 q-7.429,0 -12.857,5.429t-5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="292.571" /> -<glyph unicode="&#xe013;" d="M 292.571,278.857q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857t 12.857,5.429l 256,0 q 7.429,0 12.857-5.429t 5.429-12.857z" horiz-adv-x="292.571" /> -<glyph unicode="&#xe014;" d="M 182.857,352l0-256 q0-7.429 -5.429-12.857t-12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429t 5.429-12.857z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe015;" d="M 164.571,224q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429t-5.429,12.857l0,256 q0,7.429 5.429,12.857t 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe016;" d="M 256,480L 32-32L 256,64L 480-32 z" /> -<glyph unicode="&#xe017;" d="M 256-32L 480,480L 256,384L 32,480 z" /> -<glyph unicode="&#xe018;" d="M0,224L 512,0L 416,224L 512,448 z" /> -<glyph unicode="&#xe019;" d="M 512,224L0,448L 96,224L0,0 z" /> -<glyph unicode="&#xe01a;" d="M 512,224C 512,82.615, 397.385-32, 256-32s -256,114.615, -256,256s 114.615,256, 256,256S 512,365.385, 512,224z M 48,224 - c 0-114.875 93.125-208 208-208S 464,109.125, 464,224s -93.125,208, -208,208S 48,338.875, 48,224zM 278.627,374.628l 128-128.001c 12.497-12.496 12.497-32.757 0-45.254c -12.497-12.497 -32.758-12.497,-45.255,0L 288,274.745 - L 288,96 c 0-17.673 -14.327-32 -32-32c-17.673,0, -32,14.327, -32,32l0,178.745 l -73.372-73.373c -12.497-12.497 -32.759-12.497,-45.256,0 - C 99.124,207.621, 96,215.811, 96,224s 3.124,16.379, 9.372,22.627l 128,128.001C 245.869,387.124, 266.131,387.124, 278.627,374.628z" /> -<glyph unicode="&#xe01b;" d="M 512,224C 512,365.385, 397.385,480, 256,480s -256-114.615, -256-256s 114.615-256, 256-256S 512,82.615, 512,224z M 48,224 - c 0,114.875 93.125,208 208,208S 464,338.875, 464,224s -93.125-208, -208-208S 48,109.125, 48,224zM 278.627,73.372l 128,128.001c 12.497,12.496 12.497,32.757 0,45.254c -12.497,12.497 -32.758,12.497,-45.255,0L 288,173.255 - L 288,352 c 0,17.673 -14.327,32 -32,32c-17.673,0, -32-14.327, -32-32l0-178.745 l -73.372,73.373c -12.497,12.497 -32.759,12.497,-45.256,0 - C 99.124,240.379, 96,232.189, 96,224s 3.124-16.379, 9.372-22.627l 128-128.001C 245.869,60.876, 266.131,60.876, 278.627,73.372z" /> -<glyph unicode="&#xe01c;" d="M 256,480C 397.385,480, 512,365.385, 512,224s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,480, 256,480z M 256,16 - c 114.875,0 208,93.125 208,208S 370.875,432, 256,432s -208-93.125, -208-208S 141.125,16, 256,16zM 105.372,246.627l 128.001,128c 12.496,12.497 32.757,12.497 45.254,0c 12.497-12.497 12.497-32.758,0-45.255L 205.255,256 - L 384,256 c 17.673,0 32-14.327 32-32c0-17.673, -14.327-32, -32-32l-178.745,0 l 73.373-73.372c 12.497-12.497 12.497-32.759,0-45.256 - C 272.379,67.124, 264.189,64, 256,64s -16.379,3.124, -22.627,9.372l -128.001,128C 92.876,213.869, 92.876,234.131, 105.372,246.627z" /> -<glyph unicode="&#xe01d;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,16 - c-114.875,0-208,93.125-208,208S 141.125,432, 256,432s 208-93.125, 208-208S 370.875,16, 256,16zM 406.628,246.627l-128.001,128c-12.496,12.497-32.757,12.497-45.254,0c-12.497-12.497-12.497-32.758,0-45.255L 306.745,256 - L 128,256 c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32l 178.745,0 l-73.373-73.372c-12.497-12.497-12.497-32.759,0-45.256 - C 239.621,67.124, 247.811,64, 256,64s 16.379,3.124, 22.627,9.372l 128.001,128C 419.124,213.869, 419.124,234.131, 406.628,246.627z" /> -<glyph unicode="&#xe01e;" d="M 307.143,141.714q0-3.714 -2.857-6.571l-14.286-14.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-112.286,112.286l-112.286-112.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-14.286,14.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 133.143,133.143q 2.857,2.857 6.571,2.857t 6.571-2.857l 133.143-133.143q 2.857-2.857 2.857-6.571z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe01f;" d="M 307.143,269.714q0-3.714 -2.857-6.571l-133.143-133.143q-2.857-2.857 -6.571-2.857t-6.571,2.857l-133.143,133.143q-2.857,2.857 -2.857,6.571t 2.857,6.571l 14.286,14.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 112.286-112.286l 112.286,112.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 14.286-14.286q 2.857-2.857 2.857-6.571z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe020;" d="M 179.143,324.571q0-3.714 -2.857-6.571l-112.286-112.286l 112.286-112.286q 2.857-2.857 2.857-6.571t-2.857-6.571l-14.286-14.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-133.143,133.143q-2.857,2.857 -2.857,6.571t 2.857,6.571l 133.143,133.143q 2.857,2.857 6.571,2.857t 6.571-2.857l 14.286-14.286q 2.857-2.857 2.857-6.571z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe021;" d="M 170,205.714q0-3.714 -2.857-6.571l-133.143-133.143q-2.857-2.857 -6.571-2.857t-6.571,2.857l-14.286,14.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 112.286,112.286l-112.286,112.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 14.286,14.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 133.143-133.143q 2.857-2.857 2.857-6.571z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe022;" d="M 292.571,169.143q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857t 12.857,5.429l 256,0 q 7.429,0 12.857-5.429t 5.429-12.857zM 292.571,278.857q0-7.429 -5.429-12.857t-12.857-5.429l-256,0 q-7.429,0 -12.857,5.429t-5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="292.571" /> -<glyph unicode="&#x20;" horiz-adv-x="256" /> -</font></defs></svg> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.ttf b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.ttf deleted file mode 100644 index 2d5c84ab1..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.ttf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.woff b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.woff deleted file mode 100644 index 4864dbb5c..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/footable.woff and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/fonts/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.core.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.core.css deleted file mode 100644 index d8accfb6b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.core.css +++ /dev/null @@ -1,178 +0,0 @@ -@font-face { - font-family: 'footable'; - src: url('fonts/footable.eot'); - src: url('fonts/footable.eot?#iefix') format('embedded-opentype'), url('fonts/footable.woff') format('woff'), url('fonts/footable.ttf') format('truetype'), url('fonts/footable.svg#footable') format('svg'); - font-weight: normal; - font-style: normal; -} -@media screen and (-webkit-min-device-pixel-ratio: 0) { - @font-face { - font-family: 'footable'; - src: url('fonts/footable.svg#footable') format('svg'); - font-weight: normal; - font-style: normal; - } -} -.footable { - width: 100%; - /** SORTING **/ - - /** PAGINATION **/ - -} -.footable.breakpoint > tbody > tr.footable-detail-show > td { - border-bottom: none; -} -.footable.breakpoint > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e001"; -} -.footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) { - cursor: pointer; -} -.footable.breakpoint > tbody > tr > td.footable-cell-detail { - background: #eee; - border-top: none; -} -.footable.breakpoint > tbody > tr > td > span.footable-toggle { - display: inline-block; - font-family: 'footable'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - -webkit-font-smoothing: antialiased; - padding-right: 5px; - font-size: 14px; - color: #888888; -} -.footable.breakpoint > tbody > tr > td > span.footable-toggle:before { - content: "\e000"; -} -.footable.breakpoint.toggle-circle > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e005"; -} -.footable.breakpoint.toggle-circle > tbody > tr > td > span.footable-toggle:before { - content: "\e004"; -} -.footable.breakpoint.toggle-circle-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e003"; -} -.footable.breakpoint.toggle-circle-filled > tbody > tr > td > span.footable-toggle:before { - content: "\e002"; -} -.footable.breakpoint.toggle-square > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e007"; -} -.footable.breakpoint.toggle-square > tbody > tr > td > span.footable-toggle:before { - content: "\e006"; -} -.footable.breakpoint.toggle-square-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e009"; -} -.footable.breakpoint.toggle-square-filled > tbody > tr > td > span.footable-toggle:before { - content: "\e008"; -} -.footable.breakpoint.toggle-arrow > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e00f"; -} -.footable.breakpoint.toggle-arrow > tbody > tr > td > span.footable-toggle:before { - content: "\e011"; -} -.footable.breakpoint.toggle-arrow-small > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e013"; -} -.footable.breakpoint.toggle-arrow-small > tbody > tr > td > span.footable-toggle:before { - content: "\e015"; -} -.footable.breakpoint.toggle-arrow-circle > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e01b"; -} -.footable.breakpoint.toggle-arrow-circle > tbody > tr > td > span.footable-toggle:before { - content: "\e01d"; -} -.footable.breakpoint.toggle-arrow-circle-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e00b"; -} -.footable.breakpoint.toggle-arrow-circle-filled > tbody > tr > td > span.footable-toggle:before { - content: "\e00d"; -} -.footable.breakpoint.toggle-arrow-tiny > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e01f"; -} -.footable.breakpoint.toggle-arrow-tiny > tbody > tr > td > span.footable-toggle:before { - content: "\e021"; -} -.footable.breakpoint.toggle-arrow-alt > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e017"; -} -.footable.breakpoint.toggle-arrow-alt > tbody > tr > td > span.footable-toggle:before { - content: "\e019"; -} -.footable.breakpoint.toggle-medium > tbody > tr > td > span.footable-toggle { - font-size: 18px; -} -.footable.breakpoint.toggle-large > tbody > tr > td > span.footable-toggle { - font-size: 24px; -} -.footable > thead > tr > th { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: -moz-none; - -ms-user-select: none; - user-select: none; -} -.footable > thead > tr > th.footable-sortable:hover { - cursor: pointer; -} -.footable > thead > tr > th.footable-sorted > span.footable-sort-indicator:before { - content: "\e013"; -} -.footable > thead > tr > th.footable-sorted-desc > span.footable-sort-indicator:before { - content: "\e012"; -} -.footable > thead > tr > th > span.footable-sort-indicator { - display: inline-block; - font-family: 'footable'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - -webkit-font-smoothing: antialiased; - padding-left: 5px; -} -.footable > thead > tr > th > span.footable-sort-indicator:before { - content: "\e022"; -} -.footable > tfoot .pagination { - margin: 0; -} -.footable.no-paging .hide-if-no-paging { - display: none; -} -.footable-row-detail-inner { - display: table; -} -.footable-row-detail-row { - display: table-row; - line-height: 1.5em; -} -.footable-row-detail-group { - display: block; - line-height: 2em; - font-size: 1.2em; - font-weight: bold; -} -.footable-row-detail-name { - display: table-cell; - font-weight: bold; - padding-right: 0.5em; -} -.footable-row-detail-value { - display: table-cell; -} -.footable-odd { - background-color: #f7f7f7; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.core.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.core.min.css deleted file mode 100644 index 22ad8439f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.core.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:'footable';src:url('fonts/footable.eot');src:url('fonts/footable.eot?#iefix') format('embedded-opentype'),url('fonts/footable.woff') format('woff'),url('fonts/footable.ttf') format('truetype'),url('fonts/footable.svg#footable') format('svg');font-weight:normal;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'footable';src:url('fonts/footable.svg#footable') format('svg');font-weight:normal;font-style:normal}}.footable{width:100%}.footable.breakpoint>tbody>tr.footable-detail-show>td{border-bottom:0}.footable.breakpoint>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e001"}.footable.breakpoint>tbody>tr:hover:not(.footable-row-detail){cursor:pointer}.footable.breakpoint>tbody>tr>td.footable-cell-detail{background:#eee;border-top:0}.footable.breakpoint>tbody>tr>td>span.footable-toggle{display:inline-block;font-family:'footable';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;padding-right:5px;font-size:14px;color:#888}.footable.breakpoint>tbody>tr>td>span.footable-toggle:before{content:"\e000"}.footable.breakpoint.toggle-circle>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e005"}.footable.breakpoint.toggle-circle>tbody>tr>td>span.footable-toggle:before{content:"\e004"}.footable.breakpoint.toggle-circle-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e003"}.footable.breakpoint.toggle-circle-filled>tbody>tr>td>span.footable-toggle:before{content:"\e002"}.footable.breakpoint.toggle-square>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e007"}.footable.breakpoint.toggle-square>tbody>tr>td>span.footable-toggle:before{content:"\e006"}.footable.breakpoint.toggle-square-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e009"}.footable.breakpoint.toggle-square-filled>tbody>tr>td>span.footable-toggle:before{content:"\e008"}.footable.breakpoint.toggle-arrow>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e00f"}.footable.breakpoint.toggle-arrow>tbody>tr>td>span.footable-toggle:before{content:"\e011"}.footable.breakpoint.toggle-arrow-small>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e013"}.footable.breakpoint.toggle-arrow-small>tbody>tr>td>span.footable-toggle:before{content:"\e015"}.footable.breakpoint.toggle-arrow-circle>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e01b"}.footable.breakpoint.toggle-arrow-circle>tbody>tr>td>span.footable-toggle:before{content:"\e01d"}.footable.breakpoint.toggle-arrow-circle-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e00b"}.footable.breakpoint.toggle-arrow-circle-filled>tbody>tr>td>span.footable-toggle:before{content:"\e00d"}.footable.breakpoint.toggle-arrow-tiny>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e01f"}.footable.breakpoint.toggle-arrow-tiny>tbody>tr>td>span.footable-toggle:before{content:"\e021"}.footable.breakpoint.toggle-arrow-alt>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e017"}.footable.breakpoint.toggle-arrow-alt>tbody>tr>td>span.footable-toggle:before{content:"\e019"}.footable.breakpoint.toggle-medium>tbody>tr>td>span.footable-toggle{font-size:18px}.footable.breakpoint.toggle-large>tbody>tr>td>span.footable-toggle{font-size:24px}.footable>thead>tr>th{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.footable>thead>tr>th.footable-sortable:hover{cursor:pointer}.footable>thead>tr>th.footable-sorted>span.footable-sort-indicator:before{content:"\e013"}.footable>thead>tr>th.footable-sorted-desc>span.footable-sort-indicator:before{content:"\e012"}.footable>thead>tr>th>span.footable-sort-indicator{display:inline-block;font-family:'footable';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;padding-left:5px}.footable>thead>tr>th>span.footable-sort-indicator:before{content:"\e022"}.footable>tfoot .pagination{margin:0}.footable.no-paging .hide-if-no-paging{display:none}.footable-row-detail-inner{display:table}.footable-row-detail-row{display:table-row;line-height:1.5em}.footable-row-detail-group{display:block;line-height:2em;font-size:1.2em;font-weight:bold}.footable-row-detail-name{display:table-cell;font-weight:bold;padding-right:.5em}.footable-row-detail-value{display:table-cell}.footable-odd{background-color:#f7f7f7} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.metro.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.metro.css deleted file mode 100644 index 8bdb937ad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.metro.css +++ /dev/null @@ -1,152 +0,0 @@ -.footable { - border-collapse: separate; - border-spacing: 0; - width: 100%; - border: 3px solid #52b9e9; - font-family: "Open Sans", Arial, Helvetica, sans-serif; - color: #444444; - background: #efefef; - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} -.footable.breakpoint > tbody > tr.footable-row-detail { - background: #eeeeee; -} -.footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) { - cursor: pointer; -} -.footable.breakpoint > tbody > tr > td.footable-row-detail-cell { - background: #fff; -} -.footable > tbody img { - vertical-align: middle; -} -.footable > tbody > tr:hover:not(.footable-row-detail) { - background: #dddddd; -} -.footable > tbody > tr:hover:not(.footable-row-detail) > td { - color: #000000; -} -.footable > tbody > tr:last-child > td { - border-bottom: none; -} -.footable > tbody > tr > td { - border-top: 1px solid #dddddd; - padding: 10px; - text-align: left; - border-left: none; -} -.footable > tbody > tr > td.footable-row-detail-cell, -.footable > tbody > tr > td.footable-first-column { - border-left: none; -} -.footable > thead > tr > th { - border-bottom: 1px solid #dddddd; - padding: 10px; - text-align: left; -} -.footable > thead > tr > th, -.footable > thead > tr > td { - background-color: #52b9e9; - border: 1px solid #52b9e9; - color: #ffffff; - border-top: none; - border-left: none; - font-weight: normal; -} -.footable > thead > tr > th.footable-first-column, -.footable > thead > tr > td.footable-first-column { - border-left: none; -} -.footable > tfoot > tr > th, -.footable > tfoot > tr > td { - background-color: #52b9e9; - border: 1px solid #52b9e9; - color: #ffffff; - border-top: none; - border-left: none; - padding: 5px; -} -.footable > tfoot .pagination { - text-align: center; -} -.footable > tfoot .pagination ul { - display: inline-block; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - vertical-align: middle; - margin: 0; - padding: 0; -} -.footable > tfoot .pagination ul > li { - display: inline; -} -.footable > tfoot .pagination ul > li > a, -.footable > tfoot .pagination ul > li > span { - float: left; - border: 2px solid transparent; - margin: 0 3px; - color: #ffffff; - background: transparent; - padding: 1px 5px; - text-decoration: none; -} -.footable > tfoot .pagination ul > li.disabled > a { - color: #888; -} -.footable > tfoot .pagination ul > li.active > a { - border-color: #ffffff; -} -.footable > tfoot .pagination ul > li:first-child > a, -.footable > tfoot .pagination ul > li:last-child > a, -.footable > tfoot .pagination ul > li:first-child > span, -.footable > tfoot .pagination ul > li:last-child > span { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} -.footable.metro-red { - border-color: #fa3031; -} -.footable.metro-red > tfoot > tr > th, -.footable.metro-red > thead > tr > th, -.footable.metro-red > tfoot > tr > td, -.footable.metro-red > thead > tr > td { - background-color: #fa3031; - border-color: #fa3031; -} -.footable.metro-purple { - border-color: #932ab6; -} -.footable.metro-purple > tfoot > tr > th, -.footable.metro-purple > thead > tr > th, -.footable.metro-purple > tfoot > tr > td, -.footable.metro-purple > thead > tr > td { - background-color: #932ab6; - border-color: #932ab6; -} -.footable.metro-green { - border-color: #43c83c; -} -.footable.metro-green > tfoot > tr > th, -.footable.metro-green > thead > tr > th, -.footable.metro-green > tfoot > tr > td, -.footable.metro-green > thead > tr > td { - background-color: #43c83c; - border-color: #43c83c; -} -.footable.metro-blue { - border-color: #1171a3; -} -.footable.metro-blue > tfoot > tr > th, -.footable.metro-blue > thead > tr > th, -.footable.metro-blue > tfoot > tr > td, -.footable.metro-blue > thead > tr > td { - background-color: #1171a3; - border-color: #1171a3; -} -.footable-odd { - background-color: #f7f7f7; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.metro.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.metro.min.css deleted file mode 100644 index e603acdb4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.metro.min.css +++ /dev/null @@ -1 +0,0 @@ -.footable{border-collapse:separate;border-spacing:0;width:100%;border:3px solid #52b9e9;font-family:"Open Sans",Arial,Helvetica,sans-serif;color:#444;background:#efefef;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.footable.breakpoint>tbody>tr.footable-row-detail{background:#eee}.footable.breakpoint>tbody>tr:hover:not(.footable-row-detail){cursor:pointer}.footable.breakpoint>tbody>tr>td.footable-row-detail-cell{background:#fff}.footable>tbody img{vertical-align:middle}.footable>tbody>tr:hover:not(.footable-row-detail){background:#ddd}.footable>tbody>tr:hover:not(.footable-row-detail)>td{color:#000}.footable>tbody>tr:last-child>td{border-bottom:0}.footable>tbody>tr>td{border-top:1px solid #ddd;padding:10px;text-align:left;border-left:none}.footable>tbody>tr>td.footable-row-detail-cell,.footable>tbody>tr>td.footable-first-column{border-left:none}.footable>thead>tr>th{border-bottom:1px solid #ddd;padding:10px;text-align:left}.footable>thead>tr>th,.footable>thead>tr>td{background-color:#52b9e9;border:1px solid #52b9e9;color:#fff;border-top:0;border-left:none;font-weight:normal}.footable>thead>tr>th.footable-first-column,.footable>thead>tr>td.footable-first-column{border-left:none}.footable>tfoot>tr>th,.footable>tfoot>tr>td{background-color:#52b9e9;border:1px solid #52b9e9;color:#fff;border-top:0;border-left:none;padding:5px}.footable>tfoot .pagination{text-align:center}.footable>tfoot .pagination ul{display:inline-block;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;vertical-align:middle;margin:0;padding:0}.footable>tfoot .pagination ul>li{display:inline}.footable>tfoot .pagination ul>li>a,.footable>tfoot .pagination ul>li>span{float:left;border:2px solid transparent;margin:0 3px;color:#fff;background:transparent;padding:1px 5px;text-decoration:none}.footable>tfoot .pagination ul>li.disabled>a{color:#888}.footable>tfoot .pagination ul>li.active>a{border-color:#fff}.footable>tfoot .pagination ul>li:first-child>a,.footable>tfoot .pagination ul>li:last-child>a,.footable>tfoot .pagination ul>li:first-child>span,.footable>tfoot .pagination ul>li:last-child>span{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.footable.metro-red{border-color:#fa3031}.footable.metro-red>tfoot>tr>th,.footable.metro-red>thead>tr>th,.footable.metro-red>tfoot>tr>td,.footable.metro-red>thead>tr>td{background-color:#fa3031;border-color:#fa3031}.footable.metro-purple{border-color:#932ab6}.footable.metro-purple>tfoot>tr>th,.footable.metro-purple>thead>tr>th,.footable.metro-purple>tfoot>tr>td,.footable.metro-purple>thead>tr>td{background-color:#932ab6;border-color:#932ab6}.footable.metro-green{border-color:#43c83c}.footable.metro-green>tfoot>tr>th,.footable.metro-green>thead>tr>th,.footable.metro-green>tfoot>tr>td,.footable.metro-green>thead>tr>td{background-color:#43c83c;border-color:#43c83c}.footable.metro-blue{border-color:#1171a3}.footable.metro-blue>tfoot>tr>th,.footable.metro-blue>thead>tr>th,.footable.metro-blue>tfoot>tr>td,.footable.metro-blue>thead>tr>td{background-color:#1171a3;border-color:#1171a3}.footable-odd{background-color:#f7f7f7} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.standalone.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.standalone.css deleted file mode 100644 index a6f44814e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.standalone.css +++ /dev/null @@ -1,181 +0,0 @@ -.footable { - border-collapse: separate; - border-spacing: 0; - border: 1px solid #cccccc; - -moz-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - font-family: 'trebuchet MS', 'Lucida sans', Arial; - font-size: 14px; - color: #444444; - background: #ffffff; -} -.footable > thead > tr:first-child > th.footable-first-column, -.footable > thead > tr:first-child > td.footable-first-column { - -moz-border-radius: 6px 0 0 0; - -webkit-border-radius: 6px 0 0 0; - border-radius: 6px 0 0 0; -} -.footable > thead > tr:first-child > th.footable-last-column, -.footable > thead > tr:first-child > td.footable-last-column { - -moz-border-radius: 0 6px 0 0; - -webkit-border-radius: 0 6px 0 0; - border-radius: 0 6px 0 0; -} -.footable > thead > tr:first-child > th.footable-first-column.footable-last-column, -.footable > thead > tr:first-child > td.footable-first-column.footable-last-column { - -moz-border-radius: 6px 6px 0 0; - -webkit-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.footable > thead > tr > th { - border-left: 1px solid #cccccc; - border-top: 1px solid #cccccc; - padding: 10px; - text-align: left; -} -.footable > thead > tr > th, -.footable > thead > tr > td { - background-color: #dce9f9; - background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9)); - background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: linear-gradient(to bottom, #ebf3fc, #dce9f9); - -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - border-top: none; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.footable > thead > tr > th.footable-first-column, -.footable > thead > tr > td.footable-first-column { - border-left: none; -} -.footable.breakpoint > tbody > tr.footable-row-detail { - background: #eeeeee; -} -.footable.breakpoint > tbody > tr.footable-row-detail > .footable-row-detail-cell { - border-left: none; -} -.footable > tbody img { - vertical-align: middle; -} -.footable > tbody > tr:hover { - background: #fbf8e9; -} -.footable > tbody > tr:last-child > td.footable-first-column { - -moz-border-radius: 0 0 0 6px; - -webkit-border-radius: 0 0 0 6px; - border-radius: 0 0 0 6px; -} -.footable > tbody > tr:last-child > td.footable-last-column { - -moz-border-radius: 0 0 6px 0; - -webkit-border-radius: 0 0 6px 0; - border-radius: 0 0 6px 0; -} -.footable > tbody > tr:last-child > td.footable-first-column.footable-last-column { - -moz-border-radius: 0 0 6px 6px; - -webkit-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.footable > tbody > tr > td { - border-top: 1px solid #cccccc; - border-left: 1px solid #cccccc; - padding: 10px; - text-align: left; -} -.footable > tbody > tr > td.footable-first-column { - border-left: none; -} -.footable > tfoot > tr > th, -.footable > tfoot > tr > td { - background-color: #dce9f9; - background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9)); - background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: linear-gradient(to bottom, #ebf3fc, #dce9f9); - -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - border-top: 1px solid #cccccc; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - padding: 10px; -} -.footable .pagination { - margin: 20px 0; -} -.footable .pagination > ul { - display: inline-block; - margin: 0; - padding: 0; - -moz-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: #ffffff; -} -.footable .pagination > ul > li { - display: inline; -} -.footable .pagination > ul > li > a, -.footable .pagination > ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - border: 1px solid #cccccc; - border-left-width: 0; -} -.footable .pagination > ul > li:first-child > a, -.footable .pagination > ul > li:first-child > span { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - border-left-width: 1px; -} -.footable .pagination > ul > li:last-child > a, -.footable .pagination > ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.footable .pagination > ul > li > a:hover, -.footable .pagination > ul > li > a:focus, -.footable .pagination > ul > .active > a, -.footable .pagination > ul > .active > span { - background-color: #eeeeee; -} -.footable .pagination > ul > .active > a, -.footable .pagination > ul > .active > span { - color: #444444; - cursor: default; -} -.footable .pagination > ul > .disabled > span, -.footable .pagination > ul > .disabled > a, -.footable .pagination > ul > .disabled > a:hover, -.footable .pagination > ul > .disabled > a:focus { - color: #cccccc; - cursor: default; - background-color: #ebf3fc; -} -.footable .pagination.pagination-centered { - text-align: center; -} -.footable .pagination.pagination-right { - text-align: center; -} -.footable-odd { - background-color: #f7f7f7; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.standalone.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.standalone.min.css deleted file mode 100644 index 5d375a29e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/footable.standalone.min.css +++ /dev/null @@ -1 +0,0 @@ -.footable{border-collapse:separate;border-spacing:0;border:1px solid #ccc;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;font-family:'trebuchet MS','Lucida sans',Arial;font-size:14px;color:#444;background:#fff}.footable>thead>tr:first-child>th.footable-first-column,.footable>thead>tr:first-child>td.footable-first-column{-moz-border-radius:6px 0 0 0;-webkit-border-radius:6px 0 0 0;border-radius:6px 0 0 0}.footable>thead>tr:first-child>th.footable-last-column,.footable>thead>tr:first-child>td.footable-last-column{-moz-border-radius:0 6px 0 0;-webkit-border-radius:0 6px 0 0;border-radius:0 6px 0 0}.footable>thead>tr:first-child>th.footable-first-column.footable-last-column,.footable>thead>tr:first-child>td.footable-first-column.footable-last-column{-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.footable>thead>tr>th{border-left:1px solid #ccc;border-top:1px solid #ccc;padding:10px;text-align:left}.footable>thead>tr>th,.footable>thead>tr>td{background-color:#dce9f9;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebf3fc),to(#dce9f9));background-image:-webkit-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-moz-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-ms-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-o-linear-gradient(top,#ebf3fc,#dce9f9);background-image:linear-gradient(to bottom,#ebf3fc,#dce9f9);-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;-moz-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;border-top:0;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.footable>thead>tr>th.footable-first-column,.footable>thead>tr>td.footable-first-column{border-left:none}.footable.breakpoint>tbody>tr.footable-row-detail{background:#eee}.footable.breakpoint>tbody>tr.footable-row-detail>.footable-row-detail-cell{border-left:none}.footable>tbody img{vertical-align:middle}.footable>tbody>tr:hover{background:#fbf8e9}.footable>tbody>tr:last-child>td.footable-first-column{-moz-border-radius:0 0 0 6px;-webkit-border-radius:0 0 0 6px;border-radius:0 0 0 6px}.footable>tbody>tr:last-child>td.footable-last-column{-moz-border-radius:0 0 6px 0;-webkit-border-radius:0 0 6px 0;border-radius:0 0 6px 0}.footable>tbody>tr:last-child>td.footable-first-column.footable-last-column{-moz-border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.footable>tbody>tr>td{border-top:1px solid #ccc;border-left:1px solid #ccc;padding:10px;text-align:left}.footable>tbody>tr>td.footable-first-column{border-left:none}.footable>tfoot>tr>th,.footable>tfoot>tr>td{background-color:#dce9f9;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebf3fc),to(#dce9f9));background-image:-webkit-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-moz-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-ms-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-o-linear-gradient(top,#ebf3fc,#dce9f9);background-image:linear-gradient(to bottom,#ebf3fc,#dce9f9);-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;-moz-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;border-top:1px solid #ccc;text-shadow:0 1px 0 rgba(255,255,255,0.5);padding:10px}.footable .pagination{margin:20px 0}.footable .pagination>ul{display:inline-block;margin:0;padding:0;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#fff}.footable .pagination>ul>li{display:inline}.footable .pagination>ul>li>a,.footable .pagination>ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;border:1px solid #ccc;border-left-width:0}.footable .pagination>ul>li:first-child>a,.footable .pagination>ul>li:first-child>span{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;border-left-width:1px}.footable .pagination>ul>li:last-child>a,.footable .pagination>ul>li:last-child>span{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.footable .pagination>ul>li>a:hover,.footable .pagination>ul>li>a:focus,.footable .pagination>ul>.active>a,.footable .pagination>ul>.active>span{background-color:#eee}.footable .pagination>ul>.active>a,.footable .pagination>ul>.active>span{color:#444;cursor:default}.footable .pagination>ul>.disabled>span,.footable .pagination>ul>.disabled>a,.footable .pagination>ul>.disabled>a:hover,.footable .pagination>ul>.disabled>a:focus{color:#ccc;cursor:default;background-color:#ebf3fc}.footable .pagination.pagination-centered{text-align:center}.footable .pagination.pagination-right{text-align:center}.footable-odd{background-color:#f7f7f7} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/css/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.all.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.all.min.js deleted file mode 100644 index 8c2e30c05..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.all.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * FooTable - Awesome Responsive Tables - * Version : 2.0.3 - * http://fooplugins.com/plugins/footable-jquery/ - * - * Requires jQuery - http://jquery.com/ - * - * Copyright 2014 Steven Usher & Brad Vincent - * Released under the MIT license - * You are free to use FooTable in commercial projects as long as this copyright header is left intact. - * - * Date: 11 Nov 2014 - */ -(function(e,t){function a(){var e=this;e.id=null,e.busy=!1,e.start=function(t,a){e.busy||(e.stop(),e.id=setTimeout(function(){t(),e.id=null,e.busy=!1},a),e.busy=!0)},e.stop=function(){null!==e.id&&(clearTimeout(e.id),e.id=null,e.busy=!1)}}function i(i,o,n){var r=this;r.id=n,r.table=i,r.options=o,r.breakpoints=[],r.breakpointNames="",r.columns={},r.plugins=t.footable.plugins.load(r);var l=r.options,d=l.classes,s=l.events,u=l.triggers,f=0;return r.timers={resize:new a,register:function(e){return r.timers[e]=new a,r.timers[e]}},r.init=function(){var a=e(t),i=e(r.table);if(t.footable.plugins.init(r),i.hasClass(d.loaded))return r.raise(s.alreadyInitialized),undefined;r.raise(s.initializing),i.addClass(d.loading),i.find(l.columnDataSelector).each(function(){var e=r.getColumnData(this);r.columns[e.index]=e});for(var o in l.breakpoints)r.breakpoints.push({name:o,width:l.breakpoints[o]}),r.breakpointNames+=o+" ";r.breakpoints.sort(function(e,t){return e.width-t.width}),i.unbind(u.initialize).bind(u.initialize,function(){i.removeData("footable_info"),i.data("breakpoint",""),i.trigger(u.resize),i.removeClass(d.loading),i.addClass(d.loaded).addClass(d.main),r.raise(s.initialized)}).unbind(u.redraw).bind(u.redraw,function(){r.redraw()}).unbind(u.resize).bind(u.resize,function(){r.resize()}).unbind(u.expandFirstRow).bind(u.expandFirstRow,function(){i.find(l.toggleSelector).first().not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.expandAll).bind(u.expandAll,function(){i.find(l.toggleSelector).not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.collapseAll).bind(u.collapseAll,function(){i.find("."+d.detailShow).trigger(u.toggleRow)}),i.trigger(u.initialize),a.bind("resize.footable",function(){r.timers.resize.stop(),r.timers.resize.start(function(){r.raise(u.resize)},l.delay)})},r.addRowToggle=function(){if(l.addRowToggle){var t=e(r.table),a=!1;t.find("span."+d.toggle).remove();for(var i in r.columns){var o=r.columns[i];if(o.toggle){a=!0;var n="> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:nth-child("+(parseInt(o.index,10)+1)+"),"+"> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:nth-child("+(parseInt(o.index,10)+1)+")";return t.find(n).not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle)),undefined}}a||t.find("> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:first-child").add("> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:first-child").not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle))}},r.setColumnClasses=function(){var t=e(r.table);for(var a in r.columns){var i=r.columns[a];if(null!==i.className){var o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", "),o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+(parseInt(t,10)+1)+")",n=!1}),t.find(o).not("."+d.detailCell).addClass(i.className)}}},r.bindToggleSelectors=function(){var t=e(r.table);r.hasAnyBreakpointColumn()&&(t.find(l.toggleSelector).unbind(u.toggleRow).bind(u.toggleRow,function(){var t=e(this).is("tr")?e(this):e(this).parents("tr:first");r.toggleDetail(t)}),t.find(l.toggleSelector).unbind("click.footable").bind("click.footable",function(a){t.is(".breakpoint")&&e(a.target).is("td,th,."+d.toggle)&&e(this).trigger(u.toggleRow)}))},r.parse=function(e,t){var a=l.parsers[t.type]||l.parsers.alpha;return a(e)},r.getColumnData=function(t){var a=e(t),i=a.data("hide"),o=a.index();i=i||"",i=jQuery.map(i.split(","),function(e){return jQuery.trim(e)});var n={index:o,hide:{},type:a.data("type")||"alpha",name:a.data("name")||e.trim(a.text()),ignore:a.data("ignore")||!1,toggle:a.data("toggle")||!1,className:a.data("class")||null,matches:[],names:{},group:a.data("group")||null,groupName:null,isEditable:a.data("editable")};if(null!==n.group){var d=e(r.table).find('> thead > tr.footable-group-row > th[data-group="'+n.group+'"], > thead > tr.footable-group-row > td[data-group="'+n.group+'"]').first();n.groupName=r.parse(d,{type:"alpha"})}var u=parseInt(a.prev().attr("colspan")||0,10);f+=u>1?u-1:0;var p=parseInt(a.attr("colspan")||0,10),c=n.index+f;if(p>1){var b=a.data("names");b=b||"",b=b.split(",");for(var g=0;p>g;g++)n.matches.push(g+c),b.length>g&&(n.names[g+c]=b[g])}else n.matches.push(c);n.hide["default"]="all"===a.data("hide")||e.inArray("default",i)>=0;var h=!1;for(var m in l.breakpoints)n.hide[m]="all"===a.data("hide")||e.inArray(m,i)>=0,h=h||n.hide[m];n.hasBreakpoint=h;var v=r.raise(s.columnData,{column:{data:n,th:t}});return v.column.data},r.getViewportWidth=function(){return window.innerWidth||(document.body?document.body.offsetWidth:0)},r.calculateWidth=function(e,t){return jQuery.isFunction(l.calculateWidthOverride)?l.calculateWidthOverride(e,t):(t.viewportWidth<t.width&&(t.width=t.viewportWidth),t.parentWidth<t.width&&(t.width=t.parentWidth),t)},r.hasBreakpointColumn=function(e){for(var t in r.columns)if(r.columns[t].hide[e]){if(r.columns[t].ignore)continue;return!0}return!1},r.hasAnyBreakpointColumn=function(){for(var e in r.columns)if(r.columns[e].hasBreakpoint)return!0;return!1},r.resize=function(){var t=e(r.table);if(t.is(":visible")){if(!r.hasAnyBreakpointColumn())return t.trigger(u.redraw),undefined;var a={width:t.width(),viewportWidth:r.getViewportWidth(),parentWidth:t.parent().width()};a=r.calculateWidth(t,a);var i=t.data("footable_info");if(t.data("footable_info",a),r.raise(s.resizing,{old:i,info:a}),!i||i&&i.width&&i.width!==a.width){for(var o,n=null,l=0;r.breakpoints.length>l;l++)if(o=r.breakpoints[l],o&&o.width&&a.width<=o.width){n=o;break}var d=null===n?"default":n.name,f=r.hasBreakpointColumn(d),p=t.data("breakpoint");t.data("breakpoint",d).removeClass("default breakpoint").removeClass(r.breakpointNames).addClass(d+(f?" breakpoint":"")),d!==p&&(t.trigger(u.redraw),r.raise(s.breakpoint,{breakpoint:d,info:a}))}r.raise(s.resized,{old:i,info:a})}},r.redraw=function(){r.addRowToggle(),r.bindToggleSelectors(),r.setColumnClasses();var t=e(r.table),a=t.data("breakpoint"),i=r.hasBreakpointColumn(a);t.find("> tbody > tr:not(."+d.detail+")").data("detail_created",!1).end().find("> thead > tr:last-child > th").each(function(){var i=r.columns[e(this).index()],o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", ");var a=t+1;o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > tfoot > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > colgroup > col:nth-child("+a+")",n=!1}),o+=', > thead > tr[data-group-row="true"] > th[data-group="'+i.group+'"]';var l=t.find(o).add(this);if(""!==a&&(i.hide[a]===!1?l.addClass("footable-visible").show():l.removeClass("footable-visible").hide()),1===t.find("> thead > tr.footable-group-row").length){var s=t.find('> thead > tr:last-child > th[data-group="'+i.group+'"]:visible, > thead > tr:last-child > th[data-group="'+i.group+'"]:visible'),u=t.find('> thead > tr.footable-group-row > th[data-group="'+i.group+'"], > thead > tr.footable-group-row > td[data-group="'+i.group+'"]'),f=0;e.each(s,function(){f+=parseInt(e(this).attr("colspan")||1,10)}),f>0?u.attr("colspan",f).show():u.hide()}}).end().find("> tbody > tr."+d.detailShow).each(function(){r.createOrUpdateDetailRow(this)}),t.find("[data-bind-name]").each(function(){r.toggleInput(this)}),t.find("> tbody > tr."+d.detailShow+":visible").each(function(){var t=e(this).next();t.hasClass(d.detail)&&(i?t.show():t.hide())}),t.find("> thead > tr > th.footable-last-column, > tbody > tr > td.footable-last-column").removeClass("footable-last-column"),t.find("> thead > tr > th.footable-first-column, > tbody > tr > td.footable-first-column").removeClass("footable-first-column"),t.find("> thead > tr, > tbody > tr").find("> th.footable-visible:last, > td.footable-visible:last").addClass("footable-last-column").end().find("> th.footable-visible:first, > td.footable-visible:first").addClass("footable-first-column"),r.raise(s.redrawn)},r.toggleDetail=function(t){var a=t.jquery?t:e(t),i=a.next();a.hasClass(d.detailShow)?(a.removeClass(d.detailShow),i.hasClass(d.detail)&&i.hide(),r.raise(s.rowCollapsed,{row:a[0]})):(r.createOrUpdateDetailRow(a[0]),a.addClass(d.detailShow).next().show(),r.raise(s.rowExpanded,{row:a[0]}))},r.removeRow=function(t){var a=t.jquery?t:e(t);a.hasClass(d.detail)&&(a=a.prev());var i=a.next();a.data("detail_created")===!0&&i.remove(),a.remove(),r.raise(s.rowRemoved)},r.appendRow=function(t){var a=t.jquery?t:e(t);e(r.table).find("tbody").append(a),r.redraw()},r.getColumnFromTdIndex=function(t){var a=null;for(var i in r.columns)if(e.inArray(t,r.columns[i].matches)>=0){a=r.columns[i];break}return a},r.createOrUpdateDetailRow=function(t){var a,i=e(t),o=i.next(),n=[];if(i.data("detail_created")===!0)return!0;if(i.is(":hidden"))return!1;if(r.raise(s.rowDetailUpdating,{row:i,detail:o}),i.find("> td:hidden").each(function(){var t=e(this).index(),a=r.getColumnFromTdIndex(t),i=a.name;if(a.ignore===!0)return!0;t in a.names&&(i=a.names[t]);var o=e(this).attr("data-bind-name");if(null!=o&&e(this).is(":empty")){var l=e("."+d.detailInnerValue+"["+'data-bind-value="'+o+'"]');e(this).html(e(l).contents().detach())}var s;return a.isEditable!==!1&&(a.isEditable||e(this).find(":input").length>0)&&(null==o&&(o="bind-"+e.now()+"-"+t,e(this).attr("data-bind-name",o)),s=e(this).contents().detach()),s||(s=e(this).contents().clone(!0,!0)),n.push({name:i,value:r.parse(this,a),display:s,group:a.group,groupName:a.groupName,bindName:o}),!0}),0===n.length)return!1;var u=i.find("> td:visible").length,f=o.hasClass(d.detail);return f||(o=e('<tr class="'+d.detail+'"><td class="'+d.detailCell+'"><div class="'+d.detailInner+'"></div></td></tr>'),i.after(o)),o.find("> td:first").attr("colspan",u),a=o.find("."+d.detailInner).empty(),l.createDetail(a,n,l.createGroupedDetail,l.detailSeparator,d),i.data("detail_created",!0),r.raise(s.rowDetailUpdated,{row:i,detail:o}),!f},r.raise=function(t,a){r.options.debug===!0&&e.isFunction(r.options.log)&&r.options.log(t,"event"),a=a||{};var i={ft:r};e.extend(!0,i,a);var o=e.Event(t,i);return o.ft||e.extend(!0,o,i),e(r.table).trigger(o),o},r.reset=function(){var t=e(r.table);t.removeData("footable_info").data("breakpoint","").removeClass(d.loading).removeClass(d.loaded),t.find(l.toggleSelector).unbind(u.toggleRow).unbind("click.footable"),t.find("> tbody > tr").removeClass(d.detailShow),t.find("> tbody > tr."+d.detail).remove(),r.raise(s.reset)},r.toggleInput=function(t){var a=e(t).attr("data-bind-name");if(null!=a){var i=e("."+d.detailInnerValue+"["+'data-bind-value="'+a+'"]');null!=i&&(e(t).is(":visible")?e(i).is(":empty")||e(t).html(e(i).contents().detach()):e(t).is(":empty")||e(i).html(e(t).contents().detach()))}},r.init(),r}t.footable={options:{delay:100,breakpoints:{phone:480,tablet:1024},parsers:{alpha:function(t){return e(t).data("value")||e.trim(e(t).text())},numeric:function(t){var a=e(t).data("value")||e(t).text().replace(/[^0-9.\-]/g,"");return a=parseFloat(a),isNaN(a)&&(a=0),a}},addRowToggle:!0,calculateWidthOverride:null,toggleSelector:" > tbody > tr:not(.footable-row-detail)",columnDataSelector:"> thead > tr:last-child > th, > thead > tr:last-child > td",detailSeparator:":",toggleHTMLElement:"<span />",createGroupedDetail:function(e){for(var t={_none:{name:null,data:[]}},a=0;e.length>a;a++){var i=e[a].group;null!==i?(i in t||(t[i]={name:e[a].groupName||e[a].group,data:[]}),t[i].data.push(e[a])):t._none.data.push(e[a])}return t},createDetail:function(t,a,i,o,n){var r=i(a);for(var l in r)if(0!==r[l].data.length){"_none"!==l&&t.append('<div class="'+n.detailInnerGroup+'">'+r[l].name+"</div>");for(var d=0;r[l].data.length>d;d++){var s=r[l].data[d].name?o:"";t.append(e("<div></div>").addClass(n.detailInnerRow).append(e("<div></div>").addClass(n.detailInnerName).append(r[l].data[d].name+s)).append(e("<div></div>").addClass(n.detailInnerValue).attr("data-bind-value",r[l].data[d].bindName).append(r[l].data[d].display)))}}},classes:{main:"footable",loading:"footable-loading",loaded:"footable-loaded",toggle:"footable-toggle",disabled:"footable-disabled",detail:"footable-row-detail",detailCell:"footable-row-detail-cell",detailInner:"footable-row-detail-inner",detailInnerRow:"footable-row-detail-row",detailInnerGroup:"footable-row-detail-group",detailInnerName:"footable-row-detail-name",detailInnerValue:"footable-row-detail-value",detailShow:"footable-detail-show"},triggers:{initialize:"footable_initialize",resize:"footable_resize",redraw:"footable_redraw",toggleRow:"footable_toggle_row",expandFirstRow:"footable_expand_first_row",expandAll:"footable_expand_all",collapseAll:"footable_collapse_all"},events:{alreadyInitialized:"footable_already_initialized",initializing:"footable_initializing",initialized:"footable_initialized",resizing:"footable_resizing",resized:"footable_resized",redrawn:"footable_redrawn",breakpoint:"footable_breakpoint",columnData:"footable_column_data",rowDetailUpdating:"footable_row_detail_updating",rowDetailUpdated:"footable_row_detail_updated",rowCollapsed:"footable_row_collapsed",rowExpanded:"footable_row_expanded",rowRemoved:"footable_row_removed",reset:"footable_reset"},debug:!1,log:null},version:{major:0,minor:5,toString:function(){return t.footable.version.major+"."+t.footable.version.minor},parse:function(e){var t=/(\d+)\.?(\d+)?\.?(\d+)?/.exec(e);return{major:parseInt(t[1],10)||0,minor:parseInt(t[2],10)||0,patch:parseInt(t[3],10)||0}}},plugins:{_validate:function(a){if(!e.isFunction(a))return t.footable.options.debug===!0&&console.error('Validation failed, expected type "function", received type "{0}".',typeof a),!1;var i=new a;return"string"!=typeof i.name?(t.footable.options.debug===!0&&console.error('Validation failed, plugin does not implement a string property called "name".',i),!1):e.isFunction(i.init)?(t.footable.options.debug===!0&&console.log('Validation succeeded for plugin "'+i.name+'".',i),!0):(t.footable.options.debug===!0&&console.error('Validation failed, plugin "'+i.name+'" does not implement a function called "init".',i),!1)},registered:[],register:function(a,i){t.footable.plugins._validate(a)&&(t.footable.plugins.registered.push(a),"object"==typeof i&&e.extend(!0,t.footable.options,i))},load:function(e){var a,i,o=[];for(i=0;t.footable.plugins.registered.length>i;i++)try{a=t.footable.plugins.registered[i],o.push(new a(e))}catch(n){t.footable.options.debug===!0&&console.error(n)}return o},init:function(e){for(var a=0;e.plugins.length>a;a++)try{e.plugins[a].init(e)}catch(i){t.footable.options.debug===!0&&console.error(i)}}}};var o=0;e.fn.footable=function(a){a=a||{};var n=e.extend(!0,{},t.footable.options,a);return this.each(function(){o++;var t=new i(this,n,o);e(this).data("footable",t)})}})(jQuery,window);;(function(e,t,undefined){function a(t){var a=e("<th>"+t.title+"</th>");return e.isPlainObject(t.data)&&a.data(t.data),e.isPlainObject(t.style)&&a.css(t.style),t.className&&a.addClass(t.className),a}function o(t,o){var i=t.find("thead");0===i.size()&&(i=e("<thead>").appendTo(t));for(var n=e("<tr>").appendTo(i),r=0,l=o.cols.length;l>r;r++)n.append(a(o.cols[r]))}function i(t){var a=t.find("tbody");0===a.size()&&(a=e("<tbody>").appendTo(t))}function n(t,a,o){if(o){t.attr("data-page-size",o["page-size"]);var i=t.find("tfoot");0===i.size()&&(i=e('<tfoot class="hide-if-no-paging"></tfoot>').appendTo(t)),i.append("<tr><td colspan="+a.length+"></td></tr>");var n=e("<div>").appendTo(i.find("tr:last-child td"));n.addClass(o["pagination-class"])}}function r(t){for(var a=t[0],o=0,i=t.length;i>o;o++){var n=t[o];if(n.data&&(n.data.toggle===!0||"true"===n.data.toggle))return}a.data=e.extend(a.data,{toggle:!0})}function l(e,t,a){0===e.find("tr.emptyInfo").size()&&e.find("tbody").append('<tr class="emptyInfo"><td colspan="'+t.length+'">'+a+"</td></tr>")}function d(t,a,o,i){t.find("tr:not(."+o+")").each(function(){var t=e(this),o=a.data("index"),n=parseInt(t.data("index"),0),r=n+i;n>=o&&this!==a.get(0)&&t.attr("data-index",r).data("index",r)})}function s(){function t(t,a,o){var i=e("<td>");return t.formatter?i.html(t.formatter(a,i,o)):i.html(a||""),i}var a=this;a.name="Footable Grid",a.init=function(t){var d=t.options.classes.toggle,s=t.options.classes.detail,f=t.options.grid;if(f.cols){a.footable=t;var u=e(t.table);u.data("grid",a),e.isPlainObject(f.data)&&u.data(f.data),a._items=[],r(f.cols),f.showCheckbox&&(f.multiSelect=!0,f.cols.unshift({title:f.checkboxFormatter(!0),name:"",data:{"sort-ignore":!0},formatter:f.checkboxFormatter})),f.showIndex&&f.cols.unshift({title:"#",name:"index",data:{"sort-ignore":!0},formatter:f.indexFormatter}),o(u,f),i(u),n(u,f.cols,f.pagination),u.off(".grid").on({"footable_initialized.grid":function(){f.url||f.ajax?e.ajax(f.ajax||{url:f.url}).then(function(e){a.newItem(e),t.raise(f.events.loaded)},function(){throw"load data from "+(f.url||f.ajax.url)+" fail"}):(a.newItem(f.items||[]),t.raise(f.events.loaded))},"footable_sorted.grid footable_grid_created.grid footable_grid_removed.grid":function(){f.showIndex&&a.getItem().length>0&&u.find("tbody tr:not(."+s+")").each(function(t){var a=e(this).find("td:first");a.html(f.indexFormatter(null,a,t))})},"footable_redrawn.grid footable_row_removed.grid":function(){0===a.getItem().length&&f.showEmptyInfo&&l(u,f.cols,f.emptyInfo)}}).on({"click.grid":function(a){if(e(a.target).closest("td").find(">."+d).size()>0)return!0;var o=e(a.currentTarget);return o.hasClass(s)?!0:(f.multiSelect||o.hasClass(f.activeClass)||u.find("tbody tr."+f.activeClass).removeClass(f.activeClass),o.toggleClass(f.activeClass),f.showCheckbox&&o.find("input:checkbox.check").prop("checked",function(e,t){return a.target===this?t:!t}),t.toggleDetail(o),undefined)}},"tbody tr").on("click.grid","thead input:checkbox.checkAll",function(e){var t=!!e.currentTarget.checked;t?u.find("tbody tr").addClass(f.activeClass):u.find("tbody tr").removeClass(f.activeClass),u.find("tbody input:checkbox.check").prop("checked",t)})}},a.getSelected=function(){var t=a.footable.options.grid,o=e(a.footable.table).find("tbody>tr."+t.activeClass);return o.map(function(){return e(this).data("index")})},a.getItem=function(t){return t!==undefined?e.isArray(t)?e.map(t,function(e){return a._items[e]}):a._items[t]:a._items},a._makeRow=function(o,i){var n,r=a.footable.options.grid;if(e.isFunction(r.template))n=e(r.template(e.extend({},{__index:i},o)));else{n=e("<tr>");for(var l=0,d=r.cols.length;d>l;l++){var s=r.cols[l];n.append(t(s,o[s.name]||"",i))}}return n.attr("data-index",i),n},a.newItem=function(t,o,i){var n=e(a.footable.table).find("tbody"),r=a.footable.options.classes.detail;if(n.find("tr.emptyInfo").remove(),e.isArray(t)){for(var l;l=t.pop();)a.newItem(l,o,!0);return a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}),undefined}if(e.isPlainObject(t)){var s,f=a._items.length;if(o===undefined||0>o||o>f)s=a._makeRow(t,f++),a._items.push(t),n.append(s);else{if(s=a._makeRow(t,o),0===o)a._items.unshift(t),n.prepend(s);else{var u=n.find("tr[data-index="+(o-1)+"]");a._items.splice(o,0,t),u.data("detail_created")===!0&&(u=u.next()),u.after(s)}d(n,s,r,1)}i||(a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}))}},a.setItem=function(t,o){if(e.isPlainObject(t)){var i=e(a.footable.table).find("tbody"),n=a._makeRow(t,o);e.extend(a._items[o],t);var r=i.find("tr").eq(o);r.html(n.html()),a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.updated,{item:t,index:o})}},a.removeItem=function(t){var o=e(a.footable.table).find("tbody"),i=a.footable.options.classes.detail,n=[];if(e.isArray(t)){for(var r;r=t.pop();)n.push(a.removeItem(r));return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}if(t===undefined)o.find("tr").each(function(){n.push(a._items.shift()),a.footable.removeRow(this)});else{var l=o.find("tr[data-index="+t+"]");n=a._items.splice(t,1)[0],a.footable.removeRow(l),d(o,l,i,-1)}return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}}if(t.footable===undefined||null===t.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var f={grid:{enabled:!0,data:null,template:null,cols:null,items:null,url:null,ajax:null,activeClass:"active",multiSelect:!1,showIndex:!1,showCheckbox:!1,showEmptyInfo:!1,emptyInfo:'<p class="text-center text-warning">No Data</p>',pagination:{"page-size":20,"pagination-class":"pagination pagination-centered"},indexFormatter:function(e,t,a){return a+1},checkboxFormatter:function(e){return'<input type="checkbox" class="'+(e?"checkAll":"check")+'">'},events:{loaded:"footable_grid_loaded",created:"footable_grid_created",removed:"footable_grid_removed",updated:"footable_grid_updated"}}};t.footable.plugins.register(s,f)})(jQuery,window);;(function(t,e,undefined){function a(){var e=this;e.name="Footable Filter",e.init=function(a){if(e.footable=a,a.options.filter.enabled===!0){if(t(a.table).data("filter")===!1)return;a.timers.register("filter"),t(a.table).unbind(".filtering").bind({"footable_initialized.filtering":function(){var i=t(a.table),o={input:i.data("filter")||a.options.filter.input,timeout:i.data("filter-timeout")||a.options.filter.timeout,minimum:i.data("filter-minimum")||a.options.filter.minimum,disableEnter:i.data("filter-disable-enter")||a.options.filter.disableEnter};o.disableEnter&&t(o.input).keypress(function(t){return window.event?13!==window.event.keyCode:13!==t.which}),i.bind("footable_clear_filter",function(){t(o.input).val(""),e.clearFilter()}),i.bind("footable_filter",function(t,a){e.filter(a.filter)}),t(o.input).keyup(function(i){a.timers.filter.stop(),27===i.which&&t(o.input).val(""),a.timers.filter.start(function(){var a=t(o.input).val()||"";e.filter(a)},o.timeout)})},"footable_redrawn.filtering":function(){var i=t(a.table),o=i.data("filter-string");o&&e.filter(o)}}).data("footable-filter",e)}},e.filter=function(a){var i=e.footable,o=t(i.table),n=o.data("filter-minimum")||i.options.filter.minimum,r=!a,l=i.raise("footable_filtering",{filter:a,clear:r});if(!(l&&l.result===!1||l.filter&&n>l.filter.length))if(l.clear)e.clearFilter();else{var d=l.filter.split(" ");o.find("> tbody > tr").hide().addClass("footable-filtered");var s=o.find("> tbody > tr:not(.footable-row-detail)");t.each(d,function(t,e){e&&e.length>0&&(o.data("current-filter",e),s=s.filter(i.options.filter.filterFunction))}),s.each(function(){e.showRow(this,i),t(this).removeClass("footable-filtered")}),o.data("filter-string",l.filter),i.raise("footable_filtered",{filter:l.filter,clear:!1})}},e.clearFilter=function(){var a=e.footable,i=t(a.table);i.find("> tbody > tr:not(.footable-row-detail)").removeClass("footable-filtered").each(function(){e.showRow(this,a)}),i.removeData("filter-string"),a.raise("footable_filtered",{clear:!0})},e.showRow=function(e,a){var i=t(e),o=i.next(),n=t(a.table);i.is(":visible")||(n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(e)):i.show())}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={filter:{enabled:!0,input:".footable-filter",timeout:300,minimum:2,disableEnter:!1,filterFunction:function(){var e=t(this),a=e.parents("table:first"),i=a.data("current-filter").toUpperCase(),o=e.find("td").text();return a.data("filter-text-only")||e.find("td[data-value]").each(function(){o+=t(this).data("value")}),o.toUpperCase().indexOf(i)>=0}}};e.footable.plugins.register(a,i)})(jQuery,window);;(function(e,t,undefined){function a(t){var a=e(t.table),i=a.data();this.pageNavigation=i.pageNavigation||t.options.pageNavigation,this.pageSize=i.pageSize||t.options.pageSize,this.firstText=i.firstText||t.options.firstText,this.previousText=i.previousText||t.options.previousText,this.nextText=i.nextText||t.options.nextText,this.lastText=i.lastText||t.options.lastText,this.limitNavigation=parseInt(i.limitNavigation||t.options.limitNavigation||o.limitNavigation,10),this.limitPreviousText=i.limitPreviousText||t.options.limitPreviousText,this.limitNextText=i.limitNextText||t.options.limitNextText,this.limit=this.limitNavigation>0,this.currentPage=i.currentPage||0,this.pages=[],this.control=!1}function i(){var t=this;t.name="Footable Paginate",t.init=function(a){if(a.options.paginate===!0){if(e(a.table).data("page")===!1)return;t.footable=a,e(a.table).unbind(".paging").bind({"footable_initialized.paging footable_row_removed.paging footable_redrawn.paging footable_sorted.paging footable_filtered.paging":function(){t.setupPaging()}}).data("footable-paging",t)}},t.setupPaging=function(){var i=t.footable,o=e(i.table).find("> tbody");i.pageInfo=new a(i),t.createPages(i,o),t.createNavigation(i,o),t.fillPage(i,o,i.pageInfo.currentPage)},t.createPages=function(t,a){var i=1,o=t.pageInfo,n=i*o.pageSize,r=[],l=[];o.pages=[];var d=a.find("> tr:not(.footable-filtered,.footable-row-detail)");d.each(function(e,t){r.push(t),e===n-1?(o.pages.push(r),i++,n=i*o.pageSize,r=[]):e>=d.length-d.length%o.pageSize&&l.push(t)}),l.length>0&&o.pages.push(l),o.currentPage>=o.pages.length&&(o.currentPage=o.pages.length-1),0>o.currentPage&&(o.currentPage=0),1===o.pages.length?e(t.table).addClass("no-paging"):e(t.table).removeClass("no-paging")},t.createNavigation=function(a){var i=e(a.table).find(a.pageInfo.pageNavigation);if(0===i.length){if(i=e(a.pageInfo.pageNavigation),i.parents("table:first").length>0&&i.parents("table:first")!==e(a.table))return;i.length>1&&a.options.debug===!0&&console.error("More than one pagination control was found!")}if(0!==i.length){i.is("ul")||(0===i.find("ul:first").length&&i.append("<ul />"),i=i.find("ul")),i.find("li").remove();var o=a.pageInfo;o.control=i,o.pages.length>0&&(i.append('<li class="footable-page-arrow"><a data-page="first" href="#first">'+a.pageInfo.firstText+"</a>"),i.append('<li class="footable-page-arrow"><a data-page="prev" href="#prev">'+a.pageInfo.previousText+"</a></li>"),o.limit&&i.append('<li class="footable-page-arrow"><a data-page="limit-prev" href="#limit-prev">'+a.pageInfo.limitPreviousText+"</a></li>"),o.limit||e.each(o.pages,function(e,t){t.length>0&&i.append('<li class="footable-page"><a data-page="'+e+'" href="#">'+(e+1)+"</a></li>")}),o.limit&&(i.append('<li class="footable-page-arrow"><a data-page="limit-next" href="#limit-next">'+a.pageInfo.limitNextText+"</a></li>"),t.createLimited(i,o,0)),i.append('<li class="footable-page-arrow"><a data-page="next" href="#next">'+a.pageInfo.nextText+"</a></li>"),i.append('<li class="footable-page-arrow"><a data-page="last" href="#last">'+a.pageInfo.lastText+"</a></li>")),i.off("click","a[data-page]").on("click","a[data-page]",function(n){n.preventDefault();var r=e(this).data("page"),l=o.currentPage;if("first"===r)l=0;else if("prev"===r)l>0&&l--;else if("next"===r)o.pages.length-1>l&&l++;else if("last"===r)l=o.pages.length-1;else if("limit-prev"===r){l=-1;var d=i.find(".footable-page:first a").data("page");t.createLimited(i,o,d-o.limitNavigation),t.setPagingClasses(i,o.currentPage,o.pages.length)}else if("limit-next"===r){l=-1;var s=i.find(".footable-page:last a").data("page");t.createLimited(i,o,s+1),t.setPagingClasses(i,o.currentPage,o.pages.length)}else l=r;if(l>=0){if(o.limit&&o.currentPage!=l){for(var f=l;0!==f%o.limitNavigation;)f-=1;t.createLimited(i,o,f)}t.paginate(a,l)}}),t.setPagingClasses(i,o.currentPage,o.pages.length)}},t.createLimited=function(e,t,a){a=a||0,e.find("li.footable-page").remove();var i,o,n=e.find('li.footable-page-arrow > a[data-page="limit-prev"]').parent(),r=e.find('li.footable-page-arrow > a[data-page="limit-next"]').parent();for(i=t.pages.length-1;i>=0;i--)o=t.pages[i],i>=a&&a+t.limitNavigation>i&&o.length>0&&n.after('<li class="footable-page"><a data-page="'+i+'" href="#">'+(i+1)+"</a></li>");0===a?n.hide():n.show(),a+t.limitNavigation>=t.pages.length?r.hide():r.show()},t.paginate=function(a,i){var o=a.pageInfo;if(o.currentPage!==i){var n=e(a.table).find("> tbody"),r=a.raise("footable_paging",{page:i,size:o.pageSize});if(r&&r.result===!1)return;t.fillPage(a,n,i),o.control.find("li").removeClass("active disabled"),t.setPagingClasses(o.control,o.currentPage,o.pages.length)}},t.setPagingClasses=function(e,t,a){e.find("li.footable-page > a[data-page="+t+"]").parent().addClass("active"),t>=a-1&&(e.find('li.footable-page-arrow > a[data-page="next"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="last"]').parent().addClass("disabled")),1>t&&(e.find('li.footable-page-arrow > a[data-page="first"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="prev"]').parent().addClass("disabled"))},t.fillPage=function(a,i,o){a.pageInfo.currentPage=o,e(a.table).data("currentPage",o),i.find("> tr").hide(),e(a.pageInfo.pages[o]).each(function(){t.showRow(this,a)}),a.raise("footable_page_filled")},t.showRow=function(t,a){var i=e(t),o=i.next(),n=e(a.table);n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(t)):i.show()}}if(t.footable===undefined||null===t.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var o={paginate:!0,pageSize:10,pageNavigation:".pagination",firstText:"&laquo;",previousText:"&lsaquo;",nextText:"&rsaquo;",lastText:"&raquo;",limitNavigation:0,limitPreviousText:"...",limitNextText:"..."};t.footable.plugins.register(i,o)})(jQuery,window);;(function(t,e,undefined){function a(){var e=this;e.name="Footable Sortable",e.init=function(a){e.footable=a,a.options.sort===!0&&t(a.table).unbind(".sorting").bind({"footable_initialized.sorting":function(){var i,o,n=t(a.table),r=(n.find("> tbody"),a.options.classes.sort);if(n.data("sort")!==!1){n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").each(function(){var e=t(this),i=a.columns[e.index()];i.sort.ignore===!0||e.hasClass(r.sortable)||(e.addClass(r.sortable),t("<span />").addClass(r.indicator).appendTo(e))}),n.find("> thead > tr:last-child > th."+r.sortable+", > thead > tr:last-child > td."+r.sortable).unbind("click.footable").bind("click.footable",function(a){a.preventDefault(),o=t(this);var i=!o.hasClass(r.sorted);return e.doSort(o.index(),i),!1});var l=!1;for(var s in a.columns)if(i=a.columns[s],i.sort.initial){var d="descending"!==i.sort.initial;e.doSort(i.index,d);break}l&&a.bindToggleSelectors()}},"footable_redrawn.sorting":function(){var i=t(a.table),o=a.options.classes.sort;i.data("sorted")>=0&&i.find("> thead > tr:last-child > th").each(function(a){var i=t(this);return i.hasClass(o.sorted)||i.hasClass(o.descending)?(e.doSort(a),undefined):undefined})},"footable_column_data.sorting":function(e){var a=t(e.column.th);e.column.data.sort=e.column.data.sort||{},e.column.data.sort.initial=a.data("sort-initial")||!1,e.column.data.sort.ignore=a.data("sort-ignore")||!1,e.column.data.sort.selector=a.data("sort-selector")||null;var i=a.data("sort-match")||0;i>=e.column.data.matches.length&&(i=0),e.column.data.sort.match=e.column.data.matches[i]}}).data("footable-sort",e)},e.doSort=function(a,i){var o=e.footable;if(t(o.table).data("sort")!==!1){var n=t(o.table),r=n.find("> tbody"),l=o.columns[a],s=n.find("> thead > tr:last-child > th:eq("+a+")"),d=o.options.classes.sort,f=o.options.events.sort;if(i=i===undefined?s.hasClass(d.sorted):"toggle"===i?!s.hasClass(d.sorted):i,l.sort.ignore===!0)return!0;var u=o.raise(f.sorting,{column:l,direction:i?"ASC":"DESC"});u&&u.result===!1||(n.data("sorted",l.index),n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").not(s).removeClass(d.sorted+" "+d.descending),i===undefined&&(i=s.hasClass(d.sorted)),i?s.removeClass(d.descending).addClass(d.sorted):s.removeClass(d.sorted).addClass(d.descending),e.sort(o,r,l,i),o.bindToggleSelectors(),o.raise(f.sorted,{column:l,direction:i?"ASC":"DESC"}))}},e.rows=function(e,a,i){var o=[];return a.find("> tr").each(function(){var a=t(this),n=null;if(a.hasClass(e.options.classes.detail))return!0;a.next().hasClass(e.options.classes.detail)&&(n=a.next().get(0));var r={row:a,detail:n};return i!==undefined&&(r.value=e.parse(this.cells[i.sort.match],i)),o.push(r),!0}).detach(),o},e.sort=function(t,a,i,o){var n=e.rows(t,a,i),r=t.options.sorters[i.type]||t.options.sorters.alpha;n.sort(function(t,e){return o?r(t.value,e.value):r(e.value,t.value)});for(var l=0;n.length>l;l++)a.append(n[l].row),null!==n[l].detail&&a.append(n[l].detail)}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={sort:!0,sorters:{alpha:function(t,e){return"string"==typeof t&&(t=t.toLowerCase()),"string"==typeof e&&(e=e.toLowerCase()),t===e?0:e>t?-1:1},numeric:function(t,e){return t-e}},classes:{sort:{sortable:"footable-sortable",sorted:"footable-sorted",descending:"footable-sorted-desc",indicator:"footable-sort-indicator"}},events:{sort:{sorting:"footable_sorting",sorted:"footable_sorted"}}};e.footable.plugins.register(a,i)})(jQuery,window);;(function(t,e,undefined){function a(){var e=this;e.name="Footable Striping",e.init=function(a){e.footable=a,t(a.table).unbind("striping").bind({"footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping":function(){t(this).data("striping")!==!1&&e.setupStriping(a)}})},e.setupStriping=function(e){var a=0;t(e.table).find("> tbody > tr:not(.footable-row-detail)").each(function(){var i=t(this);i.removeClass(e.options.classes.striping.even).removeClass(e.options.classes.striping.odd),0===a%2?i.addClass(e.options.classes.striping.even):i.addClass(e.options.classes.striping.odd),a++})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={striping:{enabled:!0},classes:{striping:{odd:"footable-odd",even:"footable-even"}}};e.footable.plugins.register(a,i)})(jQuery,window);;(function(t,e,undefined){function a(t,e){e=e?e:location.hash;var a=RegExp("&"+t+"(?:=([^&]*))?(?=&|$)","i");return(e=e.replace(/^\#/,"&").match(a))?e[1]===undefined?"":decodeURIComponent(e[1]):undefined}function i(e,a){var i=t(e.table).find("tbody").find("tr:not(.footable-row-detail, .footable-filtered)").length;t(e.table).data("status_num_total",i);var o=t(e.table).find("tbody").find("tr:not(.footable-row-detail)").filter(":visible").length;t(e.table).data("status_num_shown",o);var n=t(e.table).data("sorted"),r=t(e.table).find("th")[n],l=t(r).hasClass("footable-sorted-desc");if(t(e.table).data("status_descending",l),e.pageInfo){var s=e.pageInfo.currentPage;t(e.table).data("status_pagenum",s)}var d="",f=t(e.table).data("filter");t(f).length&&(d=t(f).val()),t(e.table).data("status_filter_val",d);var u,p,c;if("footable_row_expanded"==a.type&&(u=a.row,u&&(p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(",")),c.push(u.rowIndex),t(e.table).data("expanded_rows",c.join(",")))),"footable_row_collapsed"==a.type&&(u=a.row)){p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(","));var g=[];for(var b in c)if(c[b]==u.rowIndex){g=c.splice(b,1);break}t(e.table).data("expanded_rows",g.join(","))}}function o(){var e=this;e.name="Footable LucidBookmarkable",e.init=function(e){e.options.bookmarkable.enabled&&t(e.table).bind({footable_initialized:function(){var i=e.table.id,o=a(i+"_f"),n=a(i+"_p"),r=a(i+"_s"),l=a(i+"_d"),s=a(i+"_e");if(o){var d=t(e.table).data("filter");t(d).val(o),t(e.table).trigger("footable_filter",{filter:o})}if(n&&t(e.table).data("currentPage",n),r!==undefined){var f=t(e.table).data("footable-sort"),u=!0;"true"==l&&(u=!1),f.doSort(r,u)}else t(e.table).trigger("footable_setup_paging");if(s){var p=s.split(",");for(var c in p){var g=t(e.table.rows[p[c]]);g.find("> td:first").trigger("footable_toggle_row")}}e.lucid_bookmark_read=!0},"footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed":function(a){if(i(e,a),e.lucid_bookmark_read){var o=e.table.id,n=o+"_f",r=o+"_p",l=o+"_s",s=o+"_d",d=o+"_e",f=location.hash.replace(/^\#/,"&"),u=[n,r,l,s,d];for(var p in u){var c=RegExp("&"+u[p]+"=([^&]*)","g");f=f.replace(c,"")}var g={};g[n]=t(e.table).data("status_filter_val"),g[r]=t(e.table).data("status_pagenum"),g[l]=t(e.table).data("sorted"),g[s]=t(e.table).data("status_descending"),g[d]=t(e.table).data("expanded_rows");var b=[];for(var h in g)g[h]!==undefined&&b.push(h+"="+encodeURIComponent(g[h]));f.length&&b.push(f),location.hash=b.join("&")}}})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var n={bookmarkable:{enabled:!1}};e.footable.plugins.register(o,n)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.bookmarkable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.bookmarkable.min.js deleted file mode 100644 index ad2b1276d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.bookmarkable.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(t,e){e=e?e:location.hash;var a=RegExp("&"+t+"(?:=([^&]*))?(?=&|$)","i");return(e=e.replace(/^\#/,"&").match(a))?e[1]===undefined?"":decodeURIComponent(e[1]):undefined}function i(e,a){var i=t(e.table).find("tbody").find("tr:not(.footable-row-detail, .footable-filtered)").length;t(e.table).data("status_num_total",i);var o=t(e.table).find("tbody").find("tr:not(.footable-row-detail)").filter(":visible").length;t(e.table).data("status_num_shown",o);var n=t(e.table).data("sorted"),r=t(e.table).find("th")[n],l=t(r).hasClass("footable-sorted-desc");if(t(e.table).data("status_descending",l),e.pageInfo){var s=e.pageInfo.currentPage;t(e.table).data("status_pagenum",s)}var d="",f=t(e.table).data("filter");t(f).length&&(d=t(f).val()),t(e.table).data("status_filter_val",d);var u,p,c;if("footable_row_expanded"==a.type&&(u=a.row,u&&(p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(",")),c.push(u.rowIndex),t(e.table).data("expanded_rows",c.join(",")))),"footable_row_collapsed"==a.type&&(u=a.row)){p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(","));var g=[];for(var b in c)if(c[b]==u.rowIndex){g=c.splice(b,1);break}t(e.table).data("expanded_rows",g.join(","))}}function o(){var e=this;e.name="Footable LucidBookmarkable",e.init=function(e){e.options.bookmarkable.enabled&&t(e.table).bind({footable_initialized:function(){var i=e.table.id,o=a(i+"_f"),n=a(i+"_p"),r=a(i+"_s"),l=a(i+"_d"),s=a(i+"_e");if(o){var d=t(e.table).data("filter");t(d).val(o),t(e.table).trigger("footable_filter",{filter:o})}if(n&&t(e.table).data("currentPage",n),r!==undefined){var f=t(e.table).data("footable-sort"),u=!0;"true"==l&&(u=!1),f.doSort(r,u)}else t(e.table).trigger("footable_setup_paging");if(s){var p=s.split(",");for(var c in p){var g=t(e.table.rows[p[c]]);g.find("> td:first").trigger("footable_toggle_row")}}e.lucid_bookmark_read=!0},"footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed":function(a){if(i(e,a),e.lucid_bookmark_read){var o=e.table.id,n=o+"_f",r=o+"_p",l=o+"_s",s=o+"_d",d=o+"_e",f=location.hash.replace(/^\#/,"&"),u=[n,r,l,s,d];for(var p in u){var c=RegExp("&"+u[p]+"=([^&]*)","g");f=f.replace(c,"")}var g={};g[n]=t(e.table).data("status_filter_val"),g[r]=t(e.table).data("status_pagenum"),g[l]=t(e.table).data("sorted"),g[s]=t(e.table).data("status_descending"),g[d]=t(e.table).data("expanded_rows");var b=[];for(var h in g)g[h]!==undefined&&b.push(h+"="+encodeURIComponent(g[h]));f.length&&b.push(f),location.hash=b.join("&")}}})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var n={bookmarkable:{enabled:!1}};e.footable.plugins.register(o,n)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.filter.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.filter.min.js deleted file mode 100644 index ed3e36228..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.filter.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(){var e=this;e.name="Footable Filter",e.init=function(a){if(e.footable=a,a.options.filter.enabled===!0){if(t(a.table).data("filter")===!1)return;a.timers.register("filter"),t(a.table).unbind(".filtering").bind({"footable_initialized.filtering":function(){var i=t(a.table),o={input:i.data("filter")||a.options.filter.input,timeout:i.data("filter-timeout")||a.options.filter.timeout,minimum:i.data("filter-minimum")||a.options.filter.minimum,disableEnter:i.data("filter-disable-enter")||a.options.filter.disableEnter};o.disableEnter&&t(o.input).keypress(function(t){return window.event?13!==window.event.keyCode:13!==t.which}),i.bind("footable_clear_filter",function(){t(o.input).val(""),e.clearFilter()}),i.bind("footable_filter",function(t,a){e.filter(a.filter)}),t(o.input).keyup(function(i){a.timers.filter.stop(),27===i.which&&t(o.input).val(""),a.timers.filter.start(function(){var a=t(o.input).val()||"";e.filter(a)},o.timeout)})},"footable_redrawn.filtering":function(){var i=t(a.table),o=i.data("filter-string");o&&e.filter(o)}}).data("footable-filter",e)}},e.filter=function(a){var i=e.footable,o=t(i.table),n=o.data("filter-minimum")||i.options.filter.minimum,r=!a,l=i.raise("footable_filtering",{filter:a,clear:r});if(!(l&&l.result===!1||l.filter&&n>l.filter.length))if(l.clear)e.clearFilter();else{var d=l.filter.split(" ");o.find("> tbody > tr").hide().addClass("footable-filtered");var s=o.find("> tbody > tr:not(.footable-row-detail)");t.each(d,function(t,e){e&&e.length>0&&(o.data("current-filter",e),s=s.filter(i.options.filter.filterFunction))}),s.each(function(){e.showRow(this,i),t(this).removeClass("footable-filtered")}),o.data("filter-string",l.filter),i.raise("footable_filtered",{filter:l.filter,clear:!1})}},e.clearFilter=function(){var a=e.footable,i=t(a.table);i.find("> tbody > tr:not(.footable-row-detail)").removeClass("footable-filtered").each(function(){e.showRow(this,a)}),i.removeData("filter-string"),a.raise("footable_filtered",{clear:!0})},e.showRow=function(e,a){var i=t(e),o=i.next(),n=t(a.table);i.is(":visible")||(n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(e)):i.show())}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={filter:{enabled:!0,input:".footable-filter",timeout:300,minimum:2,disableEnter:!1,filterFunction:function(){var e=t(this),a=e.parents("table:first"),i=a.data("current-filter").toUpperCase(),o=e.find("td").text();return a.data("filter-text-only")||e.find("td[data-value]").each(function(){o+=t(this).data("value")}),o.toUpperCase().indexOf(i)>=0}}};e.footable.plugins.register(a,i)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.grid.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.grid.min.js deleted file mode 100644 index 7793ff78f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.grid.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e,t,undefined){function a(t){var a=e("<th>"+t.title+"</th>");return e.isPlainObject(t.data)&&a.data(t.data),e.isPlainObject(t.style)&&a.css(t.style),t.className&&a.addClass(t.className),a}function o(t,o){var i=t.find("thead");0===i.size()&&(i=e("<thead>").appendTo(t));for(var n=e("<tr>").appendTo(i),r=0,l=o.cols.length;l>r;r++)n.append(a(o.cols[r]))}function i(t){var a=t.find("tbody");0===a.size()&&(a=e("<tbody>").appendTo(t))}function n(t,a,o){if(o){t.attr("data-page-size",o["page-size"]);var i=t.find("tfoot");0===i.size()&&(i=e('<tfoot class="hide-if-no-paging"></tfoot>').appendTo(t)),i.append("<tr><td colspan="+a.length+"></td></tr>");var n=e("<div>").appendTo(i.find("tr:last-child td"));n.addClass(o["pagination-class"])}}function r(t){for(var a=t[0],o=0,i=t.length;i>o;o++){var n=t[o];if(n.data&&(n.data.toggle===!0||"true"===n.data.toggle))return}a.data=e.extend(a.data,{toggle:!0})}function l(e,t,a){0===e.find("tr.emptyInfo").size()&&e.find("tbody").append('<tr class="emptyInfo"><td colspan="'+t.length+'">'+a+"</td></tr>")}function d(t,a,o,i){t.find("tr:not(."+o+")").each(function(){var t=e(this),o=a.data("index"),n=parseInt(t.data("index"),0),r=n+i;n>=o&&this!==a.get(0)&&t.attr("data-index",r).data("index",r)})}function s(){function t(t,a,o){var i=e("<td>");return t.formatter?i.html(t.formatter(a,i,o)):i.html(a||""),i}var a=this;a.name="Footable Grid",a.init=function(t){var d=t.options.classes.toggle,s=t.options.classes.detail,f=t.options.grid;if(f.cols){a.footable=t;var u=e(t.table);u.data("grid",a),e.isPlainObject(f.data)&&u.data(f.data),a._items=[],r(f.cols),f.showCheckbox&&(f.multiSelect=!0,f.cols.unshift({title:f.checkboxFormatter(!0),name:"",data:{"sort-ignore":!0},formatter:f.checkboxFormatter})),f.showIndex&&f.cols.unshift({title:"#",name:"index",data:{"sort-ignore":!0},formatter:f.indexFormatter}),o(u,f),i(u),n(u,f.cols,f.pagination),u.off(".grid").on({"footable_initialized.grid":function(){f.url||f.ajax?e.ajax(f.ajax||{url:f.url}).then(function(e){a.newItem(e),t.raise(f.events.loaded)},function(){throw"load data from "+(f.url||f.ajax.url)+" fail"}):(a.newItem(f.items||[]),t.raise(f.events.loaded))},"footable_sorted.grid footable_grid_created.grid footable_grid_removed.grid":function(){f.showIndex&&a.getItem().length>0&&u.find("tbody tr:not(."+s+")").each(function(t){var a=e(this).find("td:first");a.html(f.indexFormatter(null,a,t))})},"footable_redrawn.grid footable_row_removed.grid":function(){0===a.getItem().length&&f.showEmptyInfo&&l(u,f.cols,f.emptyInfo)}}).on({"click.grid":function(a){if(e(a.target).closest("td").find(">."+d).size()>0)return!0;var o=e(a.currentTarget);return o.hasClass(s)?!0:(f.multiSelect||o.hasClass(f.activeClass)||u.find("tbody tr."+f.activeClass).removeClass(f.activeClass),o.toggleClass(f.activeClass),f.showCheckbox&&o.find("input:checkbox.check").prop("checked",function(e,t){return a.target===this?t:!t}),t.toggleDetail(o),undefined)}},"tbody tr").on("click.grid","thead input:checkbox.checkAll",function(e){var t=!!e.currentTarget.checked;t?u.find("tbody tr").addClass(f.activeClass):u.find("tbody tr").removeClass(f.activeClass),u.find("tbody input:checkbox.check").prop("checked",t)})}},a.getSelected=function(){var t=a.footable.options.grid,o=e(a.footable.table).find("tbody>tr."+t.activeClass);return o.map(function(){return e(this).data("index")})},a.getItem=function(t){return t!==undefined?e.isArray(t)?e.map(t,function(e){return a._items[e]}):a._items[t]:a._items},a._makeRow=function(o,i){var n,r=a.footable.options.grid;if(e.isFunction(r.template))n=e(r.template(e.extend({},{__index:i},o)));else{n=e("<tr>");for(var l=0,d=r.cols.length;d>l;l++){var s=r.cols[l];n.append(t(s,o[s.name]||"",i))}}return n.attr("data-index",i),n},a.newItem=function(t,o,i){var n=e(a.footable.table).find("tbody"),r=a.footable.options.classes.detail;if(n.find("tr.emptyInfo").remove(),e.isArray(t)){for(var l;l=t.pop();)a.newItem(l,o,!0);return a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}),undefined}if(e.isPlainObject(t)){var s,f=a._items.length;if(o===undefined||0>o||o>f)s=a._makeRow(t,f++),a._items.push(t),n.append(s);else{if(s=a._makeRow(t,o),0===o)a._items.unshift(t),n.prepend(s);else{var u=n.find("tr[data-index="+(o-1)+"]");a._items.splice(o,0,t),u.data("detail_created")===!0&&(u=u.next()),u.after(s)}d(n,s,r,1)}i||(a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}))}},a.setItem=function(t,o){if(e.isPlainObject(t)){var i=e(a.footable.table).find("tbody"),n=a._makeRow(t,o);e.extend(a._items[o],t);var r=i.find("tr").eq(o);r.html(n.html()),a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.updated,{item:t,index:o})}},a.removeItem=function(t){var o=e(a.footable.table).find("tbody"),i=a.footable.options.classes.detail,n=[];if(e.isArray(t)){for(var r;r=t.pop();)n.push(a.removeItem(r));return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}if(t===undefined)o.find("tr").each(function(){n.push(a._items.shift()),a.footable.removeRow(this)});else{var l=o.find("tr[data-index="+t+"]");n=a._items.splice(t,1)[0],a.footable.removeRow(l),d(o,l,i,-1)}return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}}if(t.footable===undefined||null===t.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var f={grid:{enabled:!0,data:null,template:null,cols:null,items:null,url:null,ajax:null,activeClass:"active",multiSelect:!1,showIndex:!1,showCheckbox:!1,showEmptyInfo:!1,emptyInfo:'<p class="text-center text-warning">No Data</p>',pagination:{"page-size":20,"pagination-class":"pagination pagination-centered"},indexFormatter:function(e,t,a){return a+1},checkboxFormatter:function(e){return'<input type="checkbox" class="'+(e?"checkAll":"check")+'">'},events:{loaded:"footable_grid_loaded",created:"footable_grid_created",removed:"footable_grid_removed",updated:"footable_grid_updated"}}};t.footable.plugins.register(s,f)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.min.js deleted file mode 100644 index 0486c570d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * FooTable - Awesome Responsive Tables - * Version : 2.0.3 - * http://fooplugins.com/plugins/footable-jquery/ - * - * Requires jQuery - http://jquery.com/ - * - * Copyright 2014 Steven Usher & Brad Vincent - * Released under the MIT license - * You are free to use FooTable in commercial projects as long as this copyright header is left intact. - * - * Date: 11 Nov 2014 - */ -(function(e,t){function a(){var e=this;e.id=null,e.busy=!1,e.start=function(t,a){e.busy||(e.stop(),e.id=setTimeout(function(){t(),e.id=null,e.busy=!1},a),e.busy=!0)},e.stop=function(){null!==e.id&&(clearTimeout(e.id),e.id=null,e.busy=!1)}}function i(i,o,n){var r=this;r.id=n,r.table=i,r.options=o,r.breakpoints=[],r.breakpointNames="",r.columns={},r.plugins=t.footable.plugins.load(r);var l=r.options,d=l.classes,s=l.events,u=l.triggers,f=0;return r.timers={resize:new a,register:function(e){return r.timers[e]=new a,r.timers[e]}},r.init=function(){var a=e(t),i=e(r.table);if(t.footable.plugins.init(r),i.hasClass(d.loaded))return r.raise(s.alreadyInitialized),undefined;r.raise(s.initializing),i.addClass(d.loading),i.find(l.columnDataSelector).each(function(){var e=r.getColumnData(this);r.columns[e.index]=e});for(var o in l.breakpoints)r.breakpoints.push({name:o,width:l.breakpoints[o]}),r.breakpointNames+=o+" ";r.breakpoints.sort(function(e,t){return e.width-t.width}),i.unbind(u.initialize).bind(u.initialize,function(){i.removeData("footable_info"),i.data("breakpoint",""),i.trigger(u.resize),i.removeClass(d.loading),i.addClass(d.loaded).addClass(d.main),r.raise(s.initialized)}).unbind(u.redraw).bind(u.redraw,function(){r.redraw()}).unbind(u.resize).bind(u.resize,function(){r.resize()}).unbind(u.expandFirstRow).bind(u.expandFirstRow,function(){i.find(l.toggleSelector).first().not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.expandAll).bind(u.expandAll,function(){i.find(l.toggleSelector).not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.collapseAll).bind(u.collapseAll,function(){i.find("."+d.detailShow).trigger(u.toggleRow)}),i.trigger(u.initialize),a.bind("resize.footable",function(){r.timers.resize.stop(),r.timers.resize.start(function(){r.raise(u.resize)},l.delay)})},r.addRowToggle=function(){if(l.addRowToggle){var t=e(r.table),a=!1;t.find("span."+d.toggle).remove();for(var i in r.columns){var o=r.columns[i];if(o.toggle){a=!0;var n="> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:nth-child("+(parseInt(o.index,10)+1)+"),"+"> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:nth-child("+(parseInt(o.index,10)+1)+")";return t.find(n).not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle)),undefined}}a||t.find("> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:first-child").add("> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:first-child").not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle))}},r.setColumnClasses=function(){var t=e(r.table);for(var a in r.columns){var i=r.columns[a];if(null!==i.className){var o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", "),o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+(parseInt(t,10)+1)+")",n=!1}),t.find(o).not("."+d.detailCell).addClass(i.className)}}},r.bindToggleSelectors=function(){var t=e(r.table);r.hasAnyBreakpointColumn()&&(t.find(l.toggleSelector).unbind(u.toggleRow).bind(u.toggleRow,function(){var t=e(this).is("tr")?e(this):e(this).parents("tr:first");r.toggleDetail(t)}),t.find(l.toggleSelector).unbind("click.footable").bind("click.footable",function(a){t.is(".breakpoint")&&e(a.target).is("td,th,."+d.toggle)&&e(this).trigger(u.toggleRow)}))},r.parse=function(e,t){var a=l.parsers[t.type]||l.parsers.alpha;return a(e)},r.getColumnData=function(t){var a=e(t),i=a.data("hide"),o=a.index();i=i||"",i=jQuery.map(i.split(","),function(e){return jQuery.trim(e)});var n={index:o,hide:{},type:a.data("type")||"alpha",name:a.data("name")||e.trim(a.text()),ignore:a.data("ignore")||!1,toggle:a.data("toggle")||!1,className:a.data("class")||null,matches:[],names:{},group:a.data("group")||null,groupName:null,isEditable:a.data("editable")};if(null!==n.group){var d=e(r.table).find('> thead > tr.footable-group-row > th[data-group="'+n.group+'"], > thead > tr.footable-group-row > td[data-group="'+n.group+'"]').first();n.groupName=r.parse(d,{type:"alpha"})}var u=parseInt(a.prev().attr("colspan")||0,10);f+=u>1?u-1:0;var p=parseInt(a.attr("colspan")||0,10),c=n.index+f;if(p>1){var b=a.data("names");b=b||"",b=b.split(",");for(var g=0;p>g;g++)n.matches.push(g+c),b.length>g&&(n.names[g+c]=b[g])}else n.matches.push(c);n.hide["default"]="all"===a.data("hide")||e.inArray("default",i)>=0;var h=!1;for(var m in l.breakpoints)n.hide[m]="all"===a.data("hide")||e.inArray(m,i)>=0,h=h||n.hide[m];n.hasBreakpoint=h;var v=r.raise(s.columnData,{column:{data:n,th:t}});return v.column.data},r.getViewportWidth=function(){return window.innerWidth||(document.body?document.body.offsetWidth:0)},r.calculateWidth=function(e,t){return jQuery.isFunction(l.calculateWidthOverride)?l.calculateWidthOverride(e,t):(t.viewportWidth<t.width&&(t.width=t.viewportWidth),t.parentWidth<t.width&&(t.width=t.parentWidth),t)},r.hasBreakpointColumn=function(e){for(var t in r.columns)if(r.columns[t].hide[e]){if(r.columns[t].ignore)continue;return!0}return!1},r.hasAnyBreakpointColumn=function(){for(var e in r.columns)if(r.columns[e].hasBreakpoint)return!0;return!1},r.resize=function(){var t=e(r.table);if(t.is(":visible")){if(!r.hasAnyBreakpointColumn())return t.trigger(u.redraw),undefined;var a={width:t.width(),viewportWidth:r.getViewportWidth(),parentWidth:t.parent().width()};a=r.calculateWidth(t,a);var i=t.data("footable_info");if(t.data("footable_info",a),r.raise(s.resizing,{old:i,info:a}),!i||i&&i.width&&i.width!==a.width){for(var o,n=null,l=0;r.breakpoints.length>l;l++)if(o=r.breakpoints[l],o&&o.width&&a.width<=o.width){n=o;break}var d=null===n?"default":n.name,f=r.hasBreakpointColumn(d),p=t.data("breakpoint");t.data("breakpoint",d).removeClass("default breakpoint").removeClass(r.breakpointNames).addClass(d+(f?" breakpoint":"")),d!==p&&(t.trigger(u.redraw),r.raise(s.breakpoint,{breakpoint:d,info:a}))}r.raise(s.resized,{old:i,info:a})}},r.redraw=function(){r.addRowToggle(),r.bindToggleSelectors(),r.setColumnClasses();var t=e(r.table),a=t.data("breakpoint"),i=r.hasBreakpointColumn(a);t.find("> tbody > tr:not(."+d.detail+")").data("detail_created",!1).end().find("> thead > tr:last-child > th").each(function(){var i=r.columns[e(this).index()],o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", ");var a=t+1;o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > tfoot > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > colgroup > col:nth-child("+a+")",n=!1}),o+=', > thead > tr[data-group-row="true"] > th[data-group="'+i.group+'"]';var l=t.find(o).add(this);if(""!==a&&(i.hide[a]===!1?l.addClass("footable-visible").show():l.removeClass("footable-visible").hide()),1===t.find("> thead > tr.footable-group-row").length){var s=t.find('> thead > tr:last-child > th[data-group="'+i.group+'"]:visible, > thead > tr:last-child > th[data-group="'+i.group+'"]:visible'),u=t.find('> thead > tr.footable-group-row > th[data-group="'+i.group+'"], > thead > tr.footable-group-row > td[data-group="'+i.group+'"]'),f=0;e.each(s,function(){f+=parseInt(e(this).attr("colspan")||1,10)}),f>0?u.attr("colspan",f).show():u.hide()}}).end().find("> tbody > tr."+d.detailShow).each(function(){r.createOrUpdateDetailRow(this)}),t.find("[data-bind-name]").each(function(){r.toggleInput(this)}),t.find("> tbody > tr."+d.detailShow+":visible").each(function(){var t=e(this).next();t.hasClass(d.detail)&&(i?t.show():t.hide())}),t.find("> thead > tr > th.footable-last-column, > tbody > tr > td.footable-last-column").removeClass("footable-last-column"),t.find("> thead > tr > th.footable-first-column, > tbody > tr > td.footable-first-column").removeClass("footable-first-column"),t.find("> thead > tr, > tbody > tr").find("> th.footable-visible:last, > td.footable-visible:last").addClass("footable-last-column").end().find("> th.footable-visible:first, > td.footable-visible:first").addClass("footable-first-column"),r.raise(s.redrawn)},r.toggleDetail=function(t){var a=t.jquery?t:e(t),i=a.next();a.hasClass(d.detailShow)?(a.removeClass(d.detailShow),i.hasClass(d.detail)&&i.hide(),r.raise(s.rowCollapsed,{row:a[0]})):(r.createOrUpdateDetailRow(a[0]),a.addClass(d.detailShow).next().show(),r.raise(s.rowExpanded,{row:a[0]}))},r.removeRow=function(t){var a=t.jquery?t:e(t);a.hasClass(d.detail)&&(a=a.prev());var i=a.next();a.data("detail_created")===!0&&i.remove(),a.remove(),r.raise(s.rowRemoved)},r.appendRow=function(t){var a=t.jquery?t:e(t);e(r.table).find("tbody").append(a),r.redraw()},r.getColumnFromTdIndex=function(t){var a=null;for(var i in r.columns)if(e.inArray(t,r.columns[i].matches)>=0){a=r.columns[i];break}return a},r.createOrUpdateDetailRow=function(t){var a,i=e(t),o=i.next(),n=[];if(i.data("detail_created")===!0)return!0;if(i.is(":hidden"))return!1;if(r.raise(s.rowDetailUpdating,{row:i,detail:o}),i.find("> td:hidden").each(function(){var t=e(this).index(),a=r.getColumnFromTdIndex(t),i=a.name;if(a.ignore===!0)return!0;t in a.names&&(i=a.names[t]);var o=e(this).attr("data-bind-name");if(null!=o&&e(this).is(":empty")){var l=e("."+d.detailInnerValue+"["+'data-bind-value="'+o+'"]');e(this).html(e(l).contents().detach())}var s;return a.isEditable!==!1&&(a.isEditable||e(this).find(":input").length>0)&&(null==o&&(o="bind-"+e.now()+"-"+t,e(this).attr("data-bind-name",o)),s=e(this).contents().detach()),s||(s=e(this).contents().clone(!0,!0)),n.push({name:i,value:r.parse(this,a),display:s,group:a.group,groupName:a.groupName,bindName:o}),!0}),0===n.length)return!1;var u=i.find("> td:visible").length,f=o.hasClass(d.detail);return f||(o=e('<tr class="'+d.detail+'"><td class="'+d.detailCell+'"><div class="'+d.detailInner+'"></div></td></tr>'),i.after(o)),o.find("> td:first").attr("colspan",u),a=o.find("."+d.detailInner).empty(),l.createDetail(a,n,l.createGroupedDetail,l.detailSeparator,d),i.data("detail_created",!0),r.raise(s.rowDetailUpdated,{row:i,detail:o}),!f},r.raise=function(t,a){r.options.debug===!0&&e.isFunction(r.options.log)&&r.options.log(t,"event"),a=a||{};var i={ft:r};e.extend(!0,i,a);var o=e.Event(t,i);return o.ft||e.extend(!0,o,i),e(r.table).trigger(o),o},r.reset=function(){var t=e(r.table);t.removeData("footable_info").data("breakpoint","").removeClass(d.loading).removeClass(d.loaded),t.find(l.toggleSelector).unbind(u.toggleRow).unbind("click.footable"),t.find("> tbody > tr").removeClass(d.detailShow),t.find("> tbody > tr."+d.detail).remove(),r.raise(s.reset)},r.toggleInput=function(t){var a=e(t).attr("data-bind-name");if(null!=a){var i=e("."+d.detailInnerValue+"["+'data-bind-value="'+a+'"]');null!=i&&(e(t).is(":visible")?e(i).is(":empty")||e(t).html(e(i).contents().detach()):e(t).is(":empty")||e(i).html(e(t).contents().detach()))}},r.init(),r}t.footable={options:{delay:100,breakpoints:{phone:480,tablet:1024},parsers:{alpha:function(t){return e(t).data("value")||e.trim(e(t).text())},numeric:function(t){var a=e(t).data("value")||e(t).text().replace(/[^0-9.\-]/g,"");return a=parseFloat(a),isNaN(a)&&(a=0),a}},addRowToggle:!0,calculateWidthOverride:null,toggleSelector:" > tbody > tr:not(.footable-row-detail)",columnDataSelector:"> thead > tr:last-child > th, > thead > tr:last-child > td",detailSeparator:":",toggleHTMLElement:"<span />",createGroupedDetail:function(e){for(var t={_none:{name:null,data:[]}},a=0;e.length>a;a++){var i=e[a].group;null!==i?(i in t||(t[i]={name:e[a].groupName||e[a].group,data:[]}),t[i].data.push(e[a])):t._none.data.push(e[a])}return t},createDetail:function(t,a,i,o,n){var r=i(a);for(var l in r)if(0!==r[l].data.length){"_none"!==l&&t.append('<div class="'+n.detailInnerGroup+'">'+r[l].name+"</div>");for(var d=0;r[l].data.length>d;d++){var s=r[l].data[d].name?o:"";t.append(e("<div></div>").addClass(n.detailInnerRow).append(e("<div></div>").addClass(n.detailInnerName).append(r[l].data[d].name+s)).append(e("<div></div>").addClass(n.detailInnerValue).attr("data-bind-value",r[l].data[d].bindName).append(r[l].data[d].display)))}}},classes:{main:"footable",loading:"footable-loading",loaded:"footable-loaded",toggle:"footable-toggle",disabled:"footable-disabled",detail:"footable-row-detail",detailCell:"footable-row-detail-cell",detailInner:"footable-row-detail-inner",detailInnerRow:"footable-row-detail-row",detailInnerGroup:"footable-row-detail-group",detailInnerName:"footable-row-detail-name",detailInnerValue:"footable-row-detail-value",detailShow:"footable-detail-show"},triggers:{initialize:"footable_initialize",resize:"footable_resize",redraw:"footable_redraw",toggleRow:"footable_toggle_row",expandFirstRow:"footable_expand_first_row",expandAll:"footable_expand_all",collapseAll:"footable_collapse_all"},events:{alreadyInitialized:"footable_already_initialized",initializing:"footable_initializing",initialized:"footable_initialized",resizing:"footable_resizing",resized:"footable_resized",redrawn:"footable_redrawn",breakpoint:"footable_breakpoint",columnData:"footable_column_data",rowDetailUpdating:"footable_row_detail_updating",rowDetailUpdated:"footable_row_detail_updated",rowCollapsed:"footable_row_collapsed",rowExpanded:"footable_row_expanded",rowRemoved:"footable_row_removed",reset:"footable_reset"},debug:!1,log:null},version:{major:0,minor:5,toString:function(){return t.footable.version.major+"."+t.footable.version.minor},parse:function(e){var t=/(\d+)\.?(\d+)?\.?(\d+)?/.exec(e);return{major:parseInt(t[1],10)||0,minor:parseInt(t[2],10)||0,patch:parseInt(t[3],10)||0}}},plugins:{_validate:function(a){if(!e.isFunction(a))return t.footable.options.debug===!0&&console.error('Validation failed, expected type "function", received type "{0}".',typeof a),!1;var i=new a;return"string"!=typeof i.name?(t.footable.options.debug===!0&&console.error('Validation failed, plugin does not implement a string property called "name".',i),!1):e.isFunction(i.init)?(t.footable.options.debug===!0&&console.log('Validation succeeded for plugin "'+i.name+'".',i),!0):(t.footable.options.debug===!0&&console.error('Validation failed, plugin "'+i.name+'" does not implement a function called "init".',i),!1)},registered:[],register:function(a,i){t.footable.plugins._validate(a)&&(t.footable.plugins.registered.push(a),"object"==typeof i&&e.extend(!0,t.footable.options,i))},load:function(e){var a,i,o=[];for(i=0;t.footable.plugins.registered.length>i;i++)try{a=t.footable.plugins.registered[i],o.push(new a(e))}catch(n){t.footable.options.debug===!0&&console.error(n)}return o},init:function(e){for(var a=0;e.plugins.length>a;a++)try{e.plugins[a].init(e)}catch(i){t.footable.options.debug===!0&&console.error(i)}}}};var o=0;e.fn.footable=function(a){a=a||{};var n=e.extend(!0,{},t.footable.options,a);return this.each(function(){o++;var t=new i(this,n,o);e(this).data("footable",t)})}})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.paginate.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.paginate.min.js deleted file mode 100644 index 2b1a87ac5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.paginate.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e,t,undefined){function a(t){var a=e(t.table),i=a.data();this.pageNavigation=i.pageNavigation||t.options.pageNavigation,this.pageSize=i.pageSize||t.options.pageSize,this.firstText=i.firstText||t.options.firstText,this.previousText=i.previousText||t.options.previousText,this.nextText=i.nextText||t.options.nextText,this.lastText=i.lastText||t.options.lastText,this.limitNavigation=parseInt(i.limitNavigation||t.options.limitNavigation||o.limitNavigation,10),this.limitPreviousText=i.limitPreviousText||t.options.limitPreviousText,this.limitNextText=i.limitNextText||t.options.limitNextText,this.limit=this.limitNavigation>0,this.currentPage=i.currentPage||0,this.pages=[],this.control=!1}function i(){var t=this;t.name="Footable Paginate",t.init=function(a){if(a.options.paginate===!0){if(e(a.table).data("page")===!1)return;t.footable=a,e(a.table).unbind(".paging").bind({"footable_initialized.paging footable_row_removed.paging footable_redrawn.paging footable_sorted.paging footable_filtered.paging":function(){t.setupPaging()}}).data("footable-paging",t)}},t.setupPaging=function(){var i=t.footable,o=e(i.table).find("> tbody");i.pageInfo=new a(i),t.createPages(i,o),t.createNavigation(i,o),t.fillPage(i,o,i.pageInfo.currentPage)},t.createPages=function(t,a){var i=1,o=t.pageInfo,n=i*o.pageSize,r=[],l=[];o.pages=[];var d=a.find("> tr:not(.footable-filtered,.footable-row-detail)");d.each(function(e,t){r.push(t),e===n-1?(o.pages.push(r),i++,n=i*o.pageSize,r=[]):e>=d.length-d.length%o.pageSize&&l.push(t)}),l.length>0&&o.pages.push(l),o.currentPage>=o.pages.length&&(o.currentPage=o.pages.length-1),0>o.currentPage&&(o.currentPage=0),1===o.pages.length?e(t.table).addClass("no-paging"):e(t.table).removeClass("no-paging")},t.createNavigation=function(a){var i=e(a.table).find(a.pageInfo.pageNavigation);if(0===i.length){if(i=e(a.pageInfo.pageNavigation),i.parents("table:first").length>0&&i.parents("table:first")!==e(a.table))return;i.length>1&&a.options.debug===!0&&console.error("More than one pagination control was found!")}if(0!==i.length){i.is("ul")||(0===i.find("ul:first").length&&i.append("<ul />"),i=i.find("ul")),i.find("li").remove();var o=a.pageInfo;o.control=i,o.pages.length>0&&(i.append('<li class="footable-page-arrow"><a data-page="first" href="#first">'+a.pageInfo.firstText+"</a>"),i.append('<li class="footable-page-arrow"><a data-page="prev" href="#prev">'+a.pageInfo.previousText+"</a></li>"),o.limit&&i.append('<li class="footable-page-arrow"><a data-page="limit-prev" href="#limit-prev">'+a.pageInfo.limitPreviousText+"</a></li>"),o.limit||e.each(o.pages,function(e,t){t.length>0&&i.append('<li class="footable-page"><a data-page="'+e+'" href="#">'+(e+1)+"</a></li>")}),o.limit&&(i.append('<li class="footable-page-arrow"><a data-page="limit-next" href="#limit-next">'+a.pageInfo.limitNextText+"</a></li>"),t.createLimited(i,o,0)),i.append('<li class="footable-page-arrow"><a data-page="next" href="#next">'+a.pageInfo.nextText+"</a></li>"),i.append('<li class="footable-page-arrow"><a data-page="last" href="#last">'+a.pageInfo.lastText+"</a></li>")),i.off("click","a[data-page]").on("click","a[data-page]",function(n){n.preventDefault();var r=e(this).data("page"),l=o.currentPage;if("first"===r)l=0;else if("prev"===r)l>0&&l--;else if("next"===r)o.pages.length-1>l&&l++;else if("last"===r)l=o.pages.length-1;else if("limit-prev"===r){l=-1;var d=i.find(".footable-page:first a").data("page");t.createLimited(i,o,d-o.limitNavigation),t.setPagingClasses(i,o.currentPage,o.pages.length)}else if("limit-next"===r){l=-1;var s=i.find(".footable-page:last a").data("page");t.createLimited(i,o,s+1),t.setPagingClasses(i,o.currentPage,o.pages.length)}else l=r;if(l>=0){if(o.limit&&o.currentPage!=l){for(var f=l;0!==f%o.limitNavigation;)f-=1;t.createLimited(i,o,f)}t.paginate(a,l)}}),t.setPagingClasses(i,o.currentPage,o.pages.length)}},t.createLimited=function(e,t,a){a=a||0,e.find("li.footable-page").remove();var i,o,n=e.find('li.footable-page-arrow > a[data-page="limit-prev"]').parent(),r=e.find('li.footable-page-arrow > a[data-page="limit-next"]').parent();for(i=t.pages.length-1;i>=0;i--)o=t.pages[i],i>=a&&a+t.limitNavigation>i&&o.length>0&&n.after('<li class="footable-page"><a data-page="'+i+'" href="#">'+(i+1)+"</a></li>");0===a?n.hide():n.show(),a+t.limitNavigation>=t.pages.length?r.hide():r.show()},t.paginate=function(a,i){var o=a.pageInfo;if(o.currentPage!==i){var n=e(a.table).find("> tbody"),r=a.raise("footable_paging",{page:i,size:o.pageSize});if(r&&r.result===!1)return;t.fillPage(a,n,i),o.control.find("li").removeClass("active disabled"),t.setPagingClasses(o.control,o.currentPage,o.pages.length)}},t.setPagingClasses=function(e,t,a){e.find("li.footable-page > a[data-page="+t+"]").parent().addClass("active"),t>=a-1&&(e.find('li.footable-page-arrow > a[data-page="next"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="last"]').parent().addClass("disabled")),1>t&&(e.find('li.footable-page-arrow > a[data-page="first"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="prev"]').parent().addClass("disabled"))},t.fillPage=function(a,i,o){a.pageInfo.currentPage=o,e(a.table).data("currentPage",o),i.find("> tr").hide(),e(a.pageInfo.pages[o]).each(function(){t.showRow(this,a)}),a.raise("footable_page_filled")},t.showRow=function(t,a){var i=e(t),o=i.next(),n=e(a.table);n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(t)):i.show()}}if(t.footable===undefined||null===t.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var o={paginate:!0,pageSize:10,pageNavigation:".pagination",firstText:"&laquo;",previousText:"&lsaquo;",nextText:"&rsaquo;",lastText:"&raquo;",limitNavigation:0,limitPreviousText:"...",limitNextText:"..."};t.footable.plugins.register(i,o)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.sort.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.sort.min.js deleted file mode 100644 index 917793dee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.sort.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(){var e=this;e.name="Footable Sortable",e.init=function(a){e.footable=a,a.options.sort===!0&&t(a.table).unbind(".sorting").bind({"footable_initialized.sorting":function(){var i,o,n=t(a.table),r=(n.find("> tbody"),a.options.classes.sort);if(n.data("sort")!==!1){n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").each(function(){var e=t(this),i=a.columns[e.index()];i.sort.ignore===!0||e.hasClass(r.sortable)||(e.addClass(r.sortable),t("<span />").addClass(r.indicator).appendTo(e))}),n.find("> thead > tr:last-child > th."+r.sortable+", > thead > tr:last-child > td."+r.sortable).unbind("click.footable").bind("click.footable",function(a){a.preventDefault(),o=t(this);var i=!o.hasClass(r.sorted);return e.doSort(o.index(),i),!1});var l=!1;for(var s in a.columns)if(i=a.columns[s],i.sort.initial){var d="descending"!==i.sort.initial;e.doSort(i.index,d);break}l&&a.bindToggleSelectors()}},"footable_redrawn.sorting":function(){var i=t(a.table),o=a.options.classes.sort;i.data("sorted")>=0&&i.find("> thead > tr:last-child > th").each(function(a){var i=t(this);return i.hasClass(o.sorted)||i.hasClass(o.descending)?(e.doSort(a),undefined):undefined})},"footable_column_data.sorting":function(e){var a=t(e.column.th);e.column.data.sort=e.column.data.sort||{},e.column.data.sort.initial=a.data("sort-initial")||!1,e.column.data.sort.ignore=a.data("sort-ignore")||!1,e.column.data.sort.selector=a.data("sort-selector")||null;var i=a.data("sort-match")||0;i>=e.column.data.matches.length&&(i=0),e.column.data.sort.match=e.column.data.matches[i]}}).data("footable-sort",e)},e.doSort=function(a,i){var o=e.footable;if(t(o.table).data("sort")!==!1){var n=t(o.table),r=n.find("> tbody"),l=o.columns[a],s=n.find("> thead > tr:last-child > th:eq("+a+")"),d=o.options.classes.sort,f=o.options.events.sort;if(i=i===undefined?s.hasClass(d.sorted):"toggle"===i?!s.hasClass(d.sorted):i,l.sort.ignore===!0)return!0;var u=o.raise(f.sorting,{column:l,direction:i?"ASC":"DESC"});u&&u.result===!1||(n.data("sorted",l.index),n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").not(s).removeClass(d.sorted+" "+d.descending),i===undefined&&(i=s.hasClass(d.sorted)),i?s.removeClass(d.descending).addClass(d.sorted):s.removeClass(d.sorted).addClass(d.descending),e.sort(o,r,l,i),o.bindToggleSelectors(),o.raise(f.sorted,{column:l,direction:i?"ASC":"DESC"}))}},e.rows=function(e,a,i){var o=[];return a.find("> tr").each(function(){var a=t(this),n=null;if(a.hasClass(e.options.classes.detail))return!0;a.next().hasClass(e.options.classes.detail)&&(n=a.next().get(0));var r={row:a,detail:n};return i!==undefined&&(r.value=e.parse(this.cells[i.sort.match],i)),o.push(r),!0}).detach(),o},e.sort=function(t,a,i,o){var n=e.rows(t,a,i),r=t.options.sorters[i.type]||t.options.sorters.alpha;n.sort(function(t,e){return o?r(t.value,e.value):r(e.value,t.value)});for(var l=0;n.length>l;l++)a.append(n[l].row),null!==n[l].detail&&a.append(n[l].detail)}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={sort:!0,sorters:{alpha:function(t,e){return"string"==typeof t&&(t=t.toLowerCase()),"string"==typeof e&&(e=e.toLowerCase()),t===e?0:e>t?-1:1},numeric:function(t,e){return t-e}},classes:{sort:{sortable:"footable-sortable",sorted:"footable-sorted",descending:"footable-sorted-desc",indicator:"footable-sort-indicator"}},events:{sort:{sorting:"footable_sorting",sorted:"footable_sorted"}}};e.footable.plugins.register(a,i)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.striping.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.striping.min.js deleted file mode 100644 index 01161dd17..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/footable.striping.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(){var e=this;e.name="Footable Striping",e.init=function(a){e.footable=a,t(a.table).unbind("striping").bind({"footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping":function(){t(this).data("striping")!==!1&&e.setupStriping(a)}})},e.setupStriping=function(e){var a=0;t(e.table).find("> tbody > tr:not(.footable-row-detail)").each(function(){var i=t(this);i.removeClass(e.options.classes.striping.even).removeClass(e.options.classes.striping.odd),0===a%2?i.addClass(e.options.classes.striping.even):i.addClass(e.options.classes.striping.odd),a++})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={striping:{enabled:!0},classes:{striping:{odd:"footable-odd",even:"footable-even"}}};e.footable.plugins.register(a,i)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/dist/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/icomoon/footable.json b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/icomoon/footable.json deleted file mode 100644 index dda61384c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/icomoon/footable.json +++ /dev/null @@ -1 +0,0 @@ -{"share":"6", "iconsVersion":"1.5", "icomoon":{"selected":[{"idx":"488","unicode":"e000"},{"idx":"489","unicode":"e001"},{"idx":"511","unicode":"e002"},{"idx":"509","unicode":"e003"},{"idx":"512","unicode":"e004"},{"idx":"510","unicode":"e005"},{"idx":"780","unicode":"e006"},{"idx":"779","unicode":"e007"},{"idx":"802","unicode":"e008"},{"idx":"284","unicode":"e009"},{"idx":"397","unicode":"e00a"},{"idx":"393","unicode":"e00b"},{"idx":"391","unicode":"e00c"},{"idx":"395","unicode":"e00d"},{"idx":"430","unicode":"e00e"},{"idx":"428","unicode":"e00f"},{"idx":"427","unicode":"e010"},{"idx":"429","unicode":"e011"},{"idx":"838","unicode":"e012"},{"idx":"839","unicode":"e013"},{"idx":"837","unicode":"e014"},{"idx":"836","unicode":"e015"},{"idx":"346","unicode":"e016"},{"idx":"344","unicode":"e017"},{"idx":"343","unicode":"e018"},{"idx":"345","unicode":"e019"},{"idx":"405","unicode":"e01a"},{"idx":"401","unicode":"e01b"},{"idx":"399","unicode":"e01c"},{"idx":"403","unicode":"e01d"},{"idx":"795","unicode":"e01e"},{"idx":"794","unicode":"e01f"},{"idx":"797","unicode":"e020"},{"idx":"796","unicode":"e021"},{"idx":"834","unicode":"e022"}],"customIcons":[{"metadata":{"id":"fontawesome","name":"Font Awesome","link":"http://fortawesome.github.com/Font-Awesome/","grid":"14","author":"Dave Gandy","authorLink":"https://github.com/davegandy","license":"SIL","licenseLink":"http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL","defaultunicode":true},"svgs":["<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"renren\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 402.5,686.5q-61,33.5 -130.5,33.5q-70.5,0 -130.5-33.5q 49-30.5 83.5-74.5t 47-95.5q 12.5,51.5 47,95.5t 83.5,74.5zM 226.5,180l0,172 q0,89.5 -44.75,163t-117.25,108.5q-64.5-76 -64.5-175.5q0-100 64.75-176t 161.75-92zM 479,272.5q-64,76 -64,175.5q0,100.5 64,175.5q-72.5-35 -117.25-109t-44.75-164 l0-170.5 q 98,16.5 162,92.5zM 819,686.5q-61,33.5 -130.5,33.5q-70.5,0 -130.5-33.5q 49-30.5 83.5-74.5t 47-95.5q 12.5,51.5 47,95.5t 83.5,74.5zM 643,180l0,172 q0,89.5 -45.5,163t-118.5,108.5l0,0 q 66.5-77 66.5-175.5q0-97.5 -66.5-175.5q 64.5-75.5 164-92.5zM 960,448q0,100.5 -64.5,175.5q-72.5-35 -117.25-109 t-44.75-164l0-170.5 q 97,16 161.75,92t 64.75,176z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"weibo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 337.5,642q 10.5-17 5.5-34.5t-22.5-25q-17-7 -36.5-0.5t-30,23q-11,17 -6.5,34.25t 21.5,25.25t 37.25,1.25t 31.25-23.75zM 384.5,581.5q 4-6.5 1.75-13.25t-8.75-9.25q-7-2.5 -14.25,0.25t-10.75,9.25q-8.5,15.5 6.5,22.5q 7,2.5 14.5-0.25t 11-9.25zM 471.5,635q-22.5,51 -79,75t-112,6 q-53.5-17 -73.75-63.25t 3.25-93.75q 23.5-46.5 75.75-69.5t 105.25-9.5q 55.5,14.5 79.25,59.75t 1.25,95.25zM 627.5,555q-4.5-48 -44.5-85t-104.25-54.5t-137.25-10.5q-111.5,11.5 -184.75,70.75t-66.25,132.25q 4.5,48 44.5,85t 104.25,54.5t 137.25,10.5q 111.5-11.5 184.75-70.75t 66.25-132.25zM 781.5,557 q0,34 -18.5,69.75t-54.5,68.5t-84.25,58.75t-113,41.5t-135.25,15.5t-137.5-16.75t-120.25-46.5t-85.75-75.5t-32.5-99.75q0-57.5 34.75-122.5t 98.75-129q 84.5-84.5 170.75-118t 123.25,3.5q 32.5,32 10,104.5q-2,7 -0.5,10t 5,3.5t 7.25-0.25t 6.75-1.75l 3-1q 69.5-29.5 123-29.5t 76.5,30.5q 22.5,31.5 0,89 q-1,6.5 -2.25,10t 2.25,6.25t 6,3.75t 8.5,3q 28.5,9 51.5,23.5t 40,40.75t 17,58.25zM 744.5,245q 21,23.5 27.25,54.25t-3.25,58.75q-4,11.5 -14.75,17t-22.25,2q-11.5-4 -17-14.75t-2-22.25q 10-31.5 -12-55.5t-53.5-17.5q-12,2.5 -22.5-4t-12.5-18.5q-2.5-12 4-22.25t 18.5-12.75q 30-6.5 59.5,2.75t 50.5,32.75z M 835,163.5q 43.5,48 56.25,111.25t-6.75,120.75q-4.5,13.5 -17,20t-26,2t-20-17t-2.5-26q 14-41 5-86t-40-79q-31-34.5 -74-47.75t-86.5-4.25q-14,3 -26-4.75t-15-21.75t 4.75-25.75t 21.75-14.75q 61.5-13 122,5.75t 104,67.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"vk\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 958.5,260q 11.5,32 -75,147q-12,16 -32.5,42.5q-39,50 -45,65.5q-8.5,20.5 7,40.5q 8.5,10.5 40.5,41l 0.5,0 l 0.5,0.5l 0.5,0.5l 1,1q 70.5,65.5 95.5,110.5q 1.5,2.5 3.25,6.25t 3.5,13.25t-0.25,17t-12.5,13.75t-29.5,6.25l-128,2q-12,2.5 -28-2.5t-26-11l-10-6q-15-10.5 -35-32t-34.25-38.75t-30.5-29 t-28.25-7.75q-1.5,0.5 -4,1.75t-8.5,7.25t-10.75,14.75t-8.5,26t-3.25,38.75q0,7.5 -1.75,13.75t-3.75,9.25l-2,2.5q-9,9.5 -26.5,11l-57.5,0 q-35.5,2 -73-8.25t-65.75-26.5t-51.5-33t-35.25-28.75l-12.5-12q-5-5 -13.75-15t-35.75-45.5t-53-75.5t-61.25-105.5t-65.25-136q-3-8 -3-13.5t 1.5-8l 2-3 q 7.5-9.5 28.5-9.5l 137-1q 6,1 11.5,3.25t 8,4.25l 2.5,1.5q 8,5.5 12,16q 10,25 23,51.75t 20.5,40.75l 8,14.5q 14.5,30 28,52t 24.25,34.25t 20.75,19.25t 17,7t 13.5-2.5q 1-0.5 2.5-2.5t 6-11t 6.75-23.5t 4.75-40.5t0-62.5q-1-20 -4.5-36.5t-7-23l-3-6q-12.5-17 -42.5-21.5q-6.5-1 2.5-12q 8.5-9.5 19-15q 26.5-13 119.5-12 q 41,0.5 67.5,6.5q 10,2.5 16.75,6.75t 10.25,12t 5.25,16t 1.75,22.75t-0.5,27.5t-1.25,35.25t-0.75,41.25q0,5.5 -0.5,21t-0.25,24t 1.75,20.25t 5.75,19.5t 11.25,12.25q 4,1 8.5,2t 13-5.5t 19-17.25t 26-33.5t 34-53.75q 30-52 53.5-112.5q 2-5 5-8.75t 5.5-5.25l 2-1.5l 2.5-1.25t 6.5-1.5t 10-0.25l 144-1 q 19.5-2.5 32,1.25t 15.5,8.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"bug, virus\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 816,480q0,13 -9.5,22.5t-22.5,9.5l-112,0 q0,85.5 -33.5,145l 104,104.5q 9.5,9.5 9.5,22.5t-9.5,22.5q-9,9.5 -22.5,9.5t-22.5-9.5l-99-98.5q-2.5,2.5 -7.5,6.5t-21,14.25t-32.5,18.25t-41,14.5t-48.5,6.5l0-448 l-64,0 l0,448 q-25.5,0 -50.75-6.75t-43.5-16.5t-33-19.5t-21.75-16.25l-7.5-7l-91.5,103.5 q-10,10.5 -24,10.5q-12,0 -21.5-8q-9.5-9 -10.25-22.25t 7.75-23.25l 101-113.5q-29-57 -29-137l-112,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 112,0 l0-147 l-86.5-86.5q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5l 86.5,86.5l 422,0 l 86.5-86.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5t-9.5,22.5l-86.5,86.5l0,147 l 112,0 q 13,0 22.5,9.5 t 9.5,22.5zM 576,192l-320,0 q0-66.5 46.75-113.25t 113.25-46.75t 113.25,46.75t 46.75,113.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"archive, box\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 544,416q0-13 -9.5-22.5t-22.5-9.5l-128,0 q-13,0 -22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5l 128,0 q 13,0 22.5-9.5t 9.5-22.5zM 832,320l0,480 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-480 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 864,96l0,128 q0,13 -9.5,22.5t-22.5,9.5l-768,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 768,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"moon, night, dark\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 631,651.5q-27,4.5 -55,4.5q-91,0 -168.5-45t-122.5-122.5t-45-168.5q0-96 52-178.5q-100.5,30 -164.25,114.5t-63.75,192q0,65 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5q 72,0 136.75-30.75t 110.25-85.75zM 732.5,609q-47,101.5 -141.75,162.25t-206.75,60.75q-78,0 -149-30.5 t-122.5-82t-82-122.5t-30.5-149q0-76.5 28.75-146.25t 78-120.75t 117.75-82.25t 145-34.25q 22-1 30.5,19.5q 9,20.5 -7.5,36q-43,39 -65.75,90.75t-22.75,109.25q0,74 36.5,136.5t 99,99t 136.5,36.5q 59,0 114-25.5q 20.5-9 36,6.5q 7,7 8.75,17t-2.25,19z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sun, brightness, lightness\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 736,448q0-58.5 -22.75-111.75t-61.5-92t-92-61.5t-111.75-22.75t-111.75,22.75t-92,61.5t-61.5,92t-22.75,111.75t 22.75,111.75t 61.5,92t 92,61.5t 111.75,22.75t 111.75-22.75t 92-61.5t 61.5-92t 22.75-111.75zM 874,586.5q-2,7.5 -10,10l-146,48l0,153 q0,8 -6.5,13q-7.5,5 -14.5,2 l-146-47l-90,124q-5,6.5 -13,6.5t-13-6.5l-90-124l-146,47q-7,3 -14.5-2q-6.5-5 -6.5-13l0-153 l-146-48q-8-2.5 -10-10q-2.5-8.5 2-14.5l 90-124l-90-124q-4.5-6.5 -2-14.5q 2-7.5 10-10l 146-48l0-153 q0-8 6.5-13q 7.5-5 14.5-2l 146,47l 90-124q 4.5-6 13-6t 13,6l 90,124l 146-47 q 7-3 14.5,2q 6.5,5 6.5,13l0,153 l 146,48q 8,2.5 10,10q 2.5,8 -2,14.5l-90,124l 90,124q 4.5,6 2,14.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"gittip\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 386.5,651l 175-236.5q 8-11 12.25-29.5t-3-42.5t-30.75-39.5q-20-13 -41.5-12.75t-36.75,8.75t-27.25,22.5q-18,20 -48,20q-29.5,0 -47.5-20q-12-14 -27.25-22.5t-36.75-8.75t-42,12.75q-23,15.5 -30.25,39.5t-3,42.5t 12.25,29.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5 t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"male, gender, sex, man\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,352l0,208 q0,20 -14,34t-34,14t-34-14t-14-34l0-176 l-32,0 l0,456 q0,23 -16.5,39.5t-39.5,16.5t-39.5-16.5t-16.5-39.5l0-232 l-32,0 l0,232 q0,23 -16.5,39.5t-39.5,16.5t-39.5-16.5t-16.5-39.5l0-456 l-32,0 l0,176 q0,20 -14,34t-34,14t-34-14t-14-34l0-208 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68z M 368,128q0,46.5 -32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"female, gender, sex, woman\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 640,528q0,20 -14,34t-34,14q-25.5,0 -40-21.5l-113.5-170.5l-22.5,0 l0,66 l 123.5,205.5q 4.5,7.5 4.5,16.5q0,13 -9.5,22.5t-22.5,9.5l-96,0 l0,136 q0,23 -16.5,39.5t-39.5,16.5l-80,0 q-23,0 -39.5-16.5t-16.5-39.5l0-136 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5q0-9 4.5-16.5l 123.5-205.5l0-66 l-22.5,0 l-113.5,170.5q-14.5,21.5 -40,21.5 q-20,0 -34-14t-14-34q0-14.5 8-26.5l 128-192q 36.5-53.5 88-53.5l 192,0 q 51.5,0 88,53.5l 128,192q 8,12 8,26.5zM 432,128q0,46.5 -32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"trello\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 352,672l0-512 q0-7 -4.5-11.5t-11.5-4.5l-240,0 q-7,0 -11.5,4.5t-4.5,11.5l0,512 q0,7 4.5,11.5t 11.5,4.5l 240,0 q 7,0 11.5-4.5t 4.5-11.5zM 688,480l0-320 q0-7 -4.5-11.5t-11.5-4.5l-240,0 q-7,0 -11.5,4.5t-4.5,11.5l0,320 q0,7 4.5,11.5t 11.5,4.5l 240,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"foursquare, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 741.5,512l-293.5,293.5q-26,26.5 -63.75,26.5t-64.25-26.5l-293.5-293.5q-26.5-26.5 -26.5-64t 26.5-64l 293.5-293.5q 26.5-26.5 64-26.5t 64,26.5l 132.5,132.5l-199,199.5l-94-94q-21-21 -49.5-21q-29.5,0 -50,20.5l-60,60.5q-21,20 -21,49.5q0,29 21,50l 203,204q 15,14 33.5,18.5l 3,2l 14,0 q 30,0 49.5-20.5 l 309.5-309.5l 1,1.5q 26.5,26.5 26.5,64t-26.5,64zM 703,199l 60,60q 7,7.5 7,18t-7,18l-365,365q-8.5,7.5 -18.5,7.5l0,0 q-2,0 -3-0.5q-9-1 -15-7l-203.5-204q-7-7.5 -7-18t 7-17.5l 60.5-60q 6.5-7.5 17.5-7.5t 18,7.5l 126,126l 287-287.5q 7.5-7.5 18-7.5t 18,7.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"skype, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 586.5,531.5q0-25 -9.75-45.75t-24.25-34.25t-36.5-24.5t-41.25-17t-43.75-11.5l-52-12q-15-3.5 -22-5.25t-17.5-5.75t-15-8t-8.25-10.5t-3.75-15q0-38.5 72-38.5q 21.5,0 38.5,6t 27,14.25t 19,16.75t 20,14.5t 24,6q 23.5,0 37.75-16t 14.25-38.5q0-27.5 -28-49.75t-71-33.75t-91-11.5q-34,0 -66,7.75 t-59.75,23.5t-44.5,43.5t-16.75,64.25q0,30.5 9.5,53.25t 28,37.75t 40,24.25t 51.5,16.25l 73,18q 45,11 56,18q 16,10 16,30q0,19.5 -20,32.25t-52.5,12.75q-25.5,0 -45.75-8t-32.5-19.25t-22.75-22.5t-23-19.25t-27-8q-25,0 -37.75,15t-12.75,37.5q0,46 61,78.75t 145.5,32.75 q 36.5,0 70-9.25t 61.25-26.75t 44.25-46.75t 16.5-65.75zM 768,640q0,79.5 -56.25,135.75t-135.75,56.25q-65,0 -117-40q-38.5,8 -75,8q-71.5,0 -136.75-27.75t-112.5-75t-75-112.5t-27.75-136.75q0-36.5 8-75q-40-52 -40-117q0-79.5 56.25-135.75t 135.75-56.25q 65,0 117,40 q 38.5-8 75-8q 71.5,0 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,36.5 -8,75q 40,52 40,117z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,750q-21-120.5 -70-249l-1,0 l-1,0.5q-8,3 -21.5,8.25t-50.5,24.5t-68.5,41t-65.5,57.25t-51.5,74l-7.5-5.5q 92,75 209,75q 66,0 128-26zM 419.5,446.5q-10.5-24.5 -26.5-55.5q-155.5,46.5 -336.5,46.5q-0.5,3.5 -0.5,10.5q0,62 22,118.25t 62,100.75q 25-44.5 61.75-83.25t 71.25-62.25t 65.25-40.5 t 49.75-24l 18.5-6.5q 2-0.5 6.5-1.75t 6.5-2.25zM 366,340.5q-60-106.5 -122-189q-69,32.5 -117,93t-64,136q 151,0 303-40zM 708,500q-105-30 -204.5-14.5q 43.5,119.5 64,234.5q 55.5-37.5 92.5-94.75t 48-125.25zM 305.5,129.5q-0.5,0 -1,0.5q 0.5-0.5 1-0.5zM 600.5,202q-92.5-82 -216.5-82q-38,0 -77.5,9.5 q 65.5,85 123,191q 34.5-13 65-30.25t 48.25-30.75t 32.75-28.5t 18.75-20.25zM 712,444.5q-1.5-116 -74.5-205l-0.5,0.5q-4.5,6 -9.5,12.25t-21.75,22.25t-35.5,30.25t-50,32.5t-65.75,32.25q 12.5,26.5 22,47.5q 1,3 3.25,8.75t 3.75,8.25q 18-2.5 37.25-3.5t 36.75-1t 34.5,0.75t 32,2t 28.25,2.75t 24,3.25t 18.25,3 t 12.5,2.25zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"linux, os\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 331.5,205.5q-5.5,0.5 -7.75,5.25t-4.25,4.75q-2.5,0.5 -2.5-2.5q0-6 9.5-7.5l 5,0 zM 375,212.5q-2,0.5 -5.75-3.25t-8.75-2.25q 12-5.5 16,1q 1.5,3 -1.5,4.5zM 199.5,426q-2-0.5 -3,1.5t-2.25,6.25t-2.75,6.75t-5,6.5q-3.5,5 -0.5,6q 2,0.5 6.25-3.5t 6.25-9q 0.5-1.5 1-3.5t 1-3t 0.75-2.25t 0.25-2l0-1.5 t-0.5-1.25t-1.5-1z M 627,605.5q0-9 -27.5-21q 2-7.5 3.75-13.75t 2.5-13t 1.5-10.75t 0.25-11.25t-0.5-9.75t-1.75-11t-2-10.25t-2.5-12.5t-2.75-13.25q-5-24 -23.5-51.5t-36-37.5q 12,10 28.5,41.5q 43.5,81 27,139q-5.5,20 -25,21q-15.5,2 -19.25-9.25t-4-41.75t-5.75-53.5q-4.5-19.5 -9.75-34.5t-9.75-22.75t-7.75-12.25t-6.5-7.5t-3.75-3.5 q-7-31 -15.5-51.5t-14.75-28t-11.75-16.5t-7.5-20q-2-10.5 3-26.75t 2.25-24.75t-22.25-12.5q-7.5-1.5 -22.25-9t-17.75-8q-4-0.5 -5.5-13t 4-25.5t 18-13.5q 18.5-1.5 25.5,15t 2,29q-5.5,9.5 -1,13.25t 15,0.25q 6.5-2 6.5-18l0-18.5 q-2.5-15 -6.75-25t-10.5-15.25t-11.75-7.5t-13.5-3.75q-53.5,4 -44.5,67q0,7.5 -0.5,7.5 q-4.5-4.5 -14.75-5.25t-16.5,0.25t-7.75-2.5q 0.5-28.5 -8-45t-22.5-17q-13.5-0.5 -20.75,13.75t-8.25,29.75q-0.5,7.5 1.75,18.5t 6.5,18.75t 7.75,6.75q 5-1.5 8-7q 2-4.5 -3.5-4q-3.5,0 -7.75-7.25t-4.75-16.75q-0.5-11 4.5-18.5t 17-7q 8.5,0 13.5,10.5t 4.75,19.5t-0.75,11q-11,7.5 -15.5,14.5q-4,6 -13.75,11.75 t-10.25,6.25q-6.5,7 -7.75,13.5t 3.75,9q 7,4 12.5,9.75t 8,9.5t 9.25,6.5t 17.75,3.25q 23.5,1 51-7.5q 1-0.5 11.5-3.5t 17.25-5.25t 14.75-6.5t 10.5-8.75q 4.5-7 10-4q 2.5,1.5 3.25,4.25t-1.5,6t-8.25,4.75q-10,3 -28.25,10.75t-22.75,9.75q-22,9.5 -35,11.5q-12.5,2.5 -39.5-1q-5-1 -4.5,1t 8.5,9.5 q 12.5,11.5 33.5,11q 8.5-0.5 18-3.5t 18-7t 16.75-8.75t 15-8.5t 12.25-6t 8.75-1.25t 4.25,5.5q0,1 -0.5,2.25t-2,2.5t-3,2.25t-4.25,2.5t-4.5,2.25t-5,2.5t-4.75,2.25q-14,7 -33.75,22t-33.25,21.5t-24.5,0.5q-10.5-5.5 -31.5-36.5q-11-15.5 -12.5-11q-0.5,1.5 -0.5,5q0,12.5 -7.5,28.25t-14.75,27.75t-10.5,29t 5.75,31.5 q-11.5,3 -31.25,45t-23.75,70.5q-1,9 -0.75,34.5t-2.75,29.5q-4,12 -14.5,1.5q-16-15.5 -18-47q-1-14 2-28q 2-9.5 -0.5-9l-2,2.5q-18,32.5 5,83q 2.5,6 12.5,14t 12,10q 10,11.5 52,45.25t 46.5,38.25q 8,7.5 8.75,19t-7,21.5t-22.75,11.5q 4,7.5 14.5,22.25t 14,27t 3.5,35.25q 23-12 3.5-46 q-2-4 -5.25-8t-4.75-6t-1-3q 1.5-2.5 6.5-4.75t 10,1.25q 23,26 83,18q 66.5-7.5 88.5-43.5q 11.5-19 17-15q 6,3 5,26q-0.5,12.5 -11.5,46q-4.5,11.5 -3,18.75t 12,7.75q 1.5-9.5 7.25-38.5t 6.75-45q 1-10.5 -3.25-36.75t-3.75-48.5t 11.5-35.25q 7.5-9 25.5-9q 0.5-18.5 17.25-26.5t 36.25-5.25t 30,11.25zM 313,192 q 1.5-8.5 -1.25-15t-5.75-7.5q-4.5-1 -4.5,3.5q 1,2.5 2.5,3q 5,0 3.5,7.5q-1.5,10 4,10q 1.5,0 1.5-1.5zM 522.5,290.5q-1-4 -3.25-5.75t-6.5-2.5t-7.25-2.75q-2.5-1.5 -4.75-4t-3.5-4t-2.75-3.25t-2-2t-2,0.75q-7,8 3.5,21.75t 19.5,15.75q 4.5,0.5 7.25-4t 1.75-10zM 433.5,184q0-5.5 -2.5-9.75t-5.5-6.25t-4.5-1.5q-7,0.5 -3.5,3.5l 2,1 q 7,2 9,15.5q0,1.5 4-1zM 460.5,67.5q0-1 -1.25-2.5t-4.5-3.5t-4.75-3q-7.5-7.5 -12-7.5q-4.5,0.5 -5.75,3.75t-0.5,6.5t-0.25,6.25q-0.5,2 -3,5.25t-3,4.5t 1.5,4.25q 2,1.5 4,0t 5.5-4.5t 7.5-4.5q 0.5-0.5 4.5-0.5t 7.5-1t 4.5-3.5zM 743,738q 10,6 15.5,12.25t 6,12t-1.25,11.25t-7.75,11t-11.75,9.75t-15,9.25 t-15.75,8.25t-16,7.75t-13.5,6.5q-19,9.5 -42.75,28t-37.75,32q-8.5,8 -34,9.75t-44.5-7.25q-9-4.5 -14.75-11.75t-8.25-12.75t-11-9.75t-23.5-4.75q-22-0.5 -65-0.5q-9.5,0 -28.5,0.75t-29,1.25q-22,0.5 -39.75,7.5t-26.75,15t-21.75,14.25t-26.75,5.75q-14.5-0.5 -55.5-15.5t-73-21.5q-9.5-2 -25.5-4.75 t-25-4.5t-19.75-4.75t-16.75-7.25t-8.5-9.75q-5-11.5 3.5-33.25t 9-27.25q 0.5-8 -2-20t-5-21.25t-2.25-18.25t 5.25-13.5q 7-6 28.5-7t 30-6q 15-9 21-17.5t 6-25.5q 10.5,36.5 -16,53q-16,10 -41.5,7.5q-17-1.5 -21.5,5q-6.5,7.5 2.5,28.5q 1,3 4,9t 4.25,9t 2.25,8.5t 0.5,11q0,7.5 -8.5,24.5t-7,24 q 1.5,8.5 18.5,13q 10,3 42.25,9.25t 49.75,10.25q 12,3 37,11t 41.25,11.5t 27.75,2q 21.5-3 32.25-14t 11.5-24t-3.75-29.25t-9.5-26t-10-18.25q-60.5-95 -84.5-121q-34-37 -56.5-20q-5.5,4.5 -7.5-7.5q-1.5-8 -1-19q 0.5-14.5 5-26t 12-23.5t 11-21q 4-10.5 13.25-36t 14.75-39t 15-30.5t 19.5-27q 55-71.5 62-97.5 q-6-56 -8-155q-1-45 12-75.75t 53-52.25q 19.5-10.5 52-10.5q 26.5-0.5 53,6.75t 44.5,20.75q 28.5,21 45.75,60.75t 14.75,73.75q-2.5,47.5 15,107q 17,56.5 66.5,109q 27.5,29.5 49.75,81.5t 29.75,95.5q 4,24.5 2.5,42.25t-6,27.75t-10,11q-5,1 -11.75,9.5t-13.5,17.75t-20.25,16.75t-30.5,7 q-9-0.5 -15.75-2.5t-11.25-6.75t-6.75-7.75t-5.75-10.25t-4.5-9.75q-11-18.5 -20.5-15t-14,24.5t 3.5,48.5q 10,35 0.5,97.5q-5,32.5 9,50.25t 36.5,16.5t 42.5-17.75q 29.5-24.5 44.75-33.25t 51.75-21.25q 26.5-9 38.5-18.25t 9.25-17.25t-12.5-14.25t-25.75-11.75q-16.5-5.5 -24.75-24t-7.5-36.25t 7.75-23.75q 0.5,15.5 4,28.25 t 7.25,20.25t 10.25,14.25t 10.5,9.5t 10.75,6.5t 8.25,4.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"android, os\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 246.5,241.5q 8,0 13.75-5.75t 5.75-13.75t-5.75-13.75t-13.75-5.75t-13.5,5.75t-5.5,13.75t 5.5,13.75t 13.5,5.75zM 457.5,241.5q 8,0 13.5-5.75t 5.5-13.75t-5.5-13.75t-13.5-5.75t-13.75,5.75t-5.75,13.75t 5.75,13.75t 13.75,5.75zM 51.5,333.5q 21,0 36,15t 15,36l0,215 q0,21.5 -14.75,36.5t-36.25,15 t-36.5-15t-15-36.5l0-215 q0-21 15-36t 36.5-15zM 581.5,343l0,333 q0,23 -16,39t-38.5,16l-37.5,0 l0,113.5 q0,21.5 -15,36.5t-36.5,15t-36.5-15t-15-36.5l0-113.5 l-69,0 l0,113.5 q0,21.5 -15,36.5t-36.5,15q-21,0 -36-15t-15-36.5l-0.5-113.5l-37,0 q-23,0 -39-16t-16-39l0-333 l 459,0 zM 465.5,140.5q 53.5,27.5 85.5,76.75t 32,107.75 l-462.5,0 q0-58.5 32-107.75t 86-76.75l-35.5-65.5q-3.5-6.5 2.5-10q 6.5-3 10,3l 36,66q 47.5-21 100.5-21t 100.5,21l 36-66q 3.5-6 10-3q 6,3.5 2.5,10zM 704,384.5l0,215 q0,21.5 -15,36.5t-36.5,15q-21,0 -36-15t-15-36.5l0-215 q0-21.5 15-36.25t 36-14.75q 21.5,0 36.5,14.75t 15,36.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"windows, os\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 341,503l0,325.5 l-341-47l0-278.5 l 341,0 zM 341,131.5l0,329.5 l-341,0 l0-282.5 zM 832,503l0,393 l-453.5-62.5l0-330.5 l 453.5,0 zM 832,64l0,397 l-453.5,0 l0-334.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"apple\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 696.5,607.5q-19.5,62.5 -61.5,125q-64.5,98 -128.5,98q-24.5,0 -70-16q-43-16 -75.5-16q-30.5,0 -71,16.5q-40.5,17 -66,17q-76,0 -150.5-129.5q-73.5-130.5 -73.5-251.5q0-114 56.5-187q 56-72 142-72q 36,0 88.5,15q 52,15 69,15q 22.5,0 71.5-17q 51-17 86.5-17q 59.5,0 106.5,32.5 q 26,18 52,50q-39.5,33.5 -57,59q-32.5,47 -32.5,103.5q0,62 34.5,111.5t 79,63zM 508.5,21q0,30.5 -14.5,68q-15,37.5 -46.5,69q-27,27 -54,36q-18.5,5.5 -52,8.5q 1.5-74.5 39-128.5q 37-53.5 125-74q 0.5,1.5 1.25,5.5t 1.25,5.5q0,2 0.25,5t 0.25,5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"long-arrow-right, arrow, right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 864,446.5q0,7 -5,12l-192,177q-8,7 -17.5,3q-9.5-4.5 -9.5-14.5l0-112 l-624,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 624,0 l0-112 q0-10.5 9.5-14.5t 17.5,2.5l 192,175q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"long-arrow-left, left, arrow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,400l0,96 q0,7 -4.5,11.5t-11.5,4.5l-624,0 l0,112 q0,10.5 -9.5,14.5t-17.5-2.5l-192-175q-5-5 -5-11.5q0-7 5-12l 192-177q 8-7 17.5-3q 9.5,4.5 9.5,14.5l0,112 l 624,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"long-arrow-up, arrow, up\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 382.5,246.5q-4.5,9.5 -14.5,9.5l-112,0 l0,624 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-624 l-112,0 q-10.5,0 -14.5-9.5t 2.5-17.5l 175-192q 5-5 11.5-5q 7,0 12,5l 177.5,192q 6.5,8 2.5,17.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"long-arrow-down, arrow, down, bottom\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 382.5,649.5q 4,9.5 -2.5,17.5l-175,192q-5,5 -11.5,5q-7,0 -12-5l-177.5-192q-6.5-8 -2.5-17.5q 4.5-9.5 14.5-9.5l 112,0 l0-624 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,624 l 112,0 q 10.5,0 14.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"tumblr-sign, social, blog\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 561.5,704.5l0-90.5 q-44,28 -87,28q-25.5,0 -44-11.5q-14.5-8.5 -19.5-22.5q-5.5-15 -5.5-64.5l0-147.5 l 137,0 l0-90.5 l-137,0 l0-145.5 l-82,0 q-5.5,45 -20,73.5t-39,49.5q-24,20 -58,31.5l0,81.5 l 63.5,0 l0,202 q0,39 8.5,60.5q 8.5,21 29.5,39q 21.5,18.5 52,28.5q 31,10 70,10q 33.5,0 64.5-7q 28.5-6.5 67-24.5zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"tumblr, social, blog\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 195,64l 109.5,0 l0,194 l 182,0 l0,120.5 l-182,0 l0,197 q0,68 7,86q 6.5,18.5 26,30q 25,15.5 58.5,15.5q 58.5,0 116-38l0,121 q-51,24 -89,32.5q-38.5,9.5 -86.5,9.5q-52.5,0 -93-13.5q-39-12.5 -69-37.5q-29-25.5 -39.5-52.5q-11-27 -11-80.5l0-269.5 l-85,0 l0-108.5 q 45.5-15 77.5-42q 32-27.5 51.5-66q 19.5-39 27-98z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"bitbucket-sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 424,435q0-21.5 -20.5-33t-38.5-0.5q-21.5,10 -21.25,36.25t 21.75,35.25q 19.5,11.5 40.5-2t 18-36zM 464,427q 4,33 -18,60.5t-55,30.5t-59.5-20t-28-56.5q-1-24.5 12.75-46.5t 36.25-32q 35-15.5 70.75,5t 40.75,59zM 550,231.5q-10,10.5 -26.75,17t-26.5,8t-31.75,4q-77.5,10 -162,0q-22-3 -31.5-4.75 t-26.25-8t-27.25-16.25q 6.5-9.5 18-15.5t 20-7.75t 23.5-4.25q 99-17.5 204-0.5q 16.5,2.5 25.5,4.25t 21.5,8t 19.5,15.75zM 571,604.5q0-3.5 2.75-13.25t 1.5-16t-8.75-8.25q-80.5,53 -182.5,53t-183-53l-6,3l-2.5,6q 13,77 20.5,105q 23.5,40.5 102,54q 124.5,23 214-26.5q 17-9.5 24.5-25.75t 11.25-42.75t 6.25-35.5z M 636,258q 4.5-26.5 -4-37.5q-21.5-27.5 -77.5-44q-108-31.5 -243.5-18q-66,6 -113,23q-19,7.5 -29.75,12.5t-23.5,17t-14.75,27q 4,34 9.5,69t 14.5,85.5t 12,68.5q 0.5,2.5 2.5,15.5t 3.5,18t 6,13.5t 11,14q 52.5,40 142,50q 129.5,14 220-31.5q 12-6.5 19.75-11.5t 15.5-14.5t 9.75-20q 24-133.5 40-236.5zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"bitbucket\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 407.5,429.5q 4,31.5 -25.25,50.5t-55.75,3q-19.5-8.5 -26.75-29t-0.25-41t 26-29q 18-9 36.25-6t 32,17.75t 13.75,33.75zM 463,419q-7-53.5 -56.5-82t-98.5-6.5q-31.5,14 -50.25,44.25t-17.25,64.75q 2,45.5 38.75,77.5t 82.75,28q 45.5-4 76-42t 25-84zM 582.5,148q-10-13.5 -28-22.25t-29-11 t-35.5-6.25q-145.5-23.5 -283,1q-21.5,3.5 -33,6t-27.5,11t-25,21.5q 15,14 38,22.75t 36.75,11t 43.75,5.75q 114,14.5 224,0.5q 31.5-4 44.75-6t 36.25-10.75t 37.5-23.25zM 611,665.5q-4,13 -7.75,38.25t-7,42t-14.25,35t-29,28.25q-43,24 -94.75,35.75t-101,11t-100.75-9.25q-23-4 -40.75-9 t-38.25-13.5t-36.5-21.75t-26-30.75q-12.5-48 -28.5-146l 3-8l 9-4.5q 111.5,74 253.25,74t 253.75-74q 10.5,3 12,11.5t-2.5,22.5t-4,18.5zM 701.5,185q-13,83.5 -55.5,327.5q-2.5,15 -13.5,28t-21.75,20t-27.25,15.5q-126,63 -305,44q-124-13.5 -197-69.5q-7.5-6 -12.75-13.25t-8.5-17.5t-4.5-17t-3-19.75 t-2.75-17.5q-4.5-25 -13.25-75t-14-80.75t-11.75-73.75t-11-79q 1.5-13 8.75-24.25t 15.75-18.75t 22.5-15t 23-11.25t 24-9.25q 62.5-23 156.5-32q 189.5-18.5 338,25q 77.5,23 107.5,61q 8,10 8.25,25.5t-2.75,27z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"adn\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,311l 100.5,153l-201,0 zM 566.5,576l 47,0 l-229.5-345.5l-229.5,345.5l 47,0 l 52-80l 261,0 zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"flickr, photos, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 624,64q 59.5,0 101.75,42.25t 42.25,101.75l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 zM 349,448q0-44 -31-75t-75-31t-75,31t-31,75t 31,75t 75,31t 75-31t 31-75zM 631,448q0-44 -31-75 t-75-31t-75,31t-31,75t 31,75t 75,31t 75-31t 31-75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"instagram, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 681,713l0-324 l-67.5,0 q 10,31.5 10,65.5q0,63 -32,116.25t-87,84.25t-120,31q-98.5,0 -168.5-67.75t-70-163.75q0-34 10-65.5l-70.5,0 l0,324 q0,13 8.75,21.75t 21.75,8.75l 534.5,0 q 12.5,0 21.5-8.75t 9-21.75zM 539,446.5q0-62 -45.25-105.75t-109.25-43.75q-63.5,0 -108.75,43.75t-45.25,105.75 t 45.25,105.75t 108.75,43.75q 64,0 109.25-43.75t 45.25-105.75zM 681,266.5l0-82.5 q0-14 -10-24.25t-24.5-10.25l-87,0 q-14.5,0 -24.5,10.25t-10,24.25l0,82.5 q0,14.5 10,24.5t 24.5,10l 87,0 q 14.5,0 24.5-10t 10-24.5zM 768,162.5l0,571 q0,40.5 -29,69.5t-69.5,29l-571,0 q-40.5,0 -69.5-29t-29-69.5l0-571 q0-40.5 29-69.5 t 69.5-29l 571,0 q 40.5,0 69.5,29t 29,69.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"stackexchange, stackoverflow, social\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 464,700.5l0,75.5 l-353.5,0.5l0-75.5 zM 584.5,527.5l0,350.5 l-0.5,17.5l0,0.5 l-566,0 l-17.5-0.5l-0.5,0 l0-368 l 60.5,0 l0,309 l 464,0 l0-309 l 60,0 zM 120.5,571.5l 352,32.5l-6.5,75l-352.5-32.5zM 154.5,413.5l 341.5,91.5l-19.5,73l-341.5-91.5zM 236,239l 304.5,180l-38.5,65l-304.5-180zM 416,73.5l 199,292.5l-62,42.5l-199.5-292zM 642.5,0 l 60.5,348.5l-74.5,13l-60.5-348.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"dropbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 201,353.5l 247,152.5l-171,142.5l-245-159.5zM 694,631l0,54 l-245,146.5l0,0.5 l-0.5-0.5l-0.5,0.5l0-0.5 l-244.5-146.5l0-54 l 73.5,48l 171-142l0-1 l 0.5,0.5l 0.5-0.5l0,1 l 171.5,142zM 277,59l 171,142.5l-247,152l-169-135zM 695,353.5l 169,135.5l-244.5,159.5l-171.5-142.5zM 619.5,59l 244.5,159.5l-169,135l-247-152z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"youtube-play, social\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 640,448q0-18.5 -15-27l-256-160q-15.5-10 -32.5-1q-16.5,9 -16.5,28l0,320 q0,19 16.5,28q 8,4 15.5,4q 10,0 17-5l 256-160q 15-8.5 15-27zM 896,448q0,48 -0.5,75t-4.25,68.25t-11.25,73.75q-8,36.5 -34.5,61.5t-62,29q-111,12.5 -335.5,12.5t-335.5-12.5q-35.5-4 -62.25-29t-34.75-61.5 q-7-32.5 -10.75-73.75t-4.25-68.25t-0.5-75t 0.5-75t 4.25-68.25t 11.25-73.75q 8-36.5 34.5-61.5t 62-29q 111-12.5 335.5-12.5t 335.5,12.5q 35.5,4 62.25,29t 34.75,61.5q 7,32.5 10.75,73.75t 4.25,68.25t 0.5,75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"xing-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 342.5,382.5q0-0.5 -63-111q-10.5-17 -26-17l-92,0 q-9,0 -13,5.5q-3.5,6 0.5,14.5l 62.5,108l0,0.5 l-98,173q-4.5,7 0,14q 4,6.5 12,6.5l 92.5,0 q 15.5,0 25-18zM 654.5,134q-3.5-6 -12-6l-93.5,0 q-15,0 -24.5,17.5l-205.5,364.5q 0.5,1 131,240.5q 10,17.5 26,17.5l 92,0 q 9,0 12.5-6q 4-6.5 -0.5-14l-130-238l0-0.5 l 204.5-361.5q 4-8 0-14zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"xing, social\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 298.5,333.5q-5,9 -128.5,228q-13.5,23 -32.5,23l-119.5,0 q-10.5,0 -15.5-8.5t0-18l 126.5-224q 0.5,0 0-0.5l-80.5-139.5q-6-11 -0.5-18.5q 4.5-7.5 16-7.5l 119.5,0 q 20,0 33,22.5zM 701.5,12.5q 5.5,8 0,18.5l-264,467l0,0.5 l 168,307.5q 5.5,10 0.5,18.5q-5,7.5 -16,7.5l-119.5,0 q-21,0 -33-22.5l-169.5-311q 9-16 265.5-471 q 12.5-22.5 32-22.5l 120.5,0 q 11,0 15.5,7.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"youtube, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 485.5,622l0,105.5 q0,33.5 -19.5,33.5q-11.5,0 -22.5-11l0-150.5 q 11-11 22.5-11q 19.5,0 19.5,33.5zM 654.5,622.5l0,23 l-45,0 l0-23 q0-34 22.5-34t 22.5,34zM 171.5,513.5l 53.5,0 l0-47 l-156,0 l0,47 l 52.5,0 l0,284.5 l 50,0 l0-284.5 zM 315.5,798l 44.5,0 l0-247 l-44.5,0 l0,189 q-15,21 -28.5,21q-9,0 -10.5-10.5q-0.5-1.5 -0.5-17.5l0-182 l-44.5,0 l0,195.5 q0,24.5 4,36.5 q 6,18.5 29,18.5q 24,0 51-30.5l0,27 zM 530,724l0-98.5 q0-36.5 -4.5-49.5q-8.5-28 -35.5-28q-25,0 -46.5,27l0-108.5 l-44.5,0 l0,331.5 l 44.5,0 l0-24 q 22.5,27.5 46.5,27.5q 27,0 35.5-27.5q 4.5-13.5 4.5-50zM 699,719l0-6.5 l-45.5,0 q0,25.5 -1,30.5q-3.5,18 -20,18q-23,0 -23-34.5l0-43.5 l 89.5,0 l0-51.5 q0-39.5 -13.5-58q-19.5-25.5 -53-25.5q-34,0 -53.5,25.5 q-14,18.5 -14,58l0,86.5 q0,39.5 14.5,58q 19.5,25.5 54,25.5q 36,0 54-26.5q 9-13.5 10.5-27q 1-4.5 1-29zM 395,262.5l0-105 q0-34.5 -21.5-34.5t-21.5,34.5l0,105 q0,35 21.5,35t 21.5-35zM 754.5,638q0,117 -13,175q-7,29.5 -29,49.5t-51,23q-92,10.5 -277.5,10.5t-277.5-10.5q-29-3 -51.25-23t-28.75-49.5 q-13-56 -13-175q0-117 13-175q 7-29.5 29-49.5t 51.5-23.5q 91.5-10 277-10t 277.5,10q 29,3.5 51.25,23.5t 28.75,49.5q 13,56 13,175zM 255.5,0l 51,0 l-60.5,199.5l0,135.5 l-50,0 l0-135.5 q-7-37 -30.5-106q-18.5-51.5 -32.5-93.5l 53,0 l 35.5,131.5zM 440.5,166.5l0,87.5 q0,40.5 -14,59q-18.5,25.5 -53,25.5q-33.5,0 -52.5-25.5 q-14-19 -14-59l0-87.5 q0-40 14-58.5q 19-25.5 52.5-25.5q 34.5,0 53,25.5q 14,18.5 14,58.5zM 608,85.5l0,249.5 l-45.5,0 l0-27.5 q-26.5,31 -51.5,31q-23,0 -29.5-18.5q-4-12 -4-37.5l0-197 l 45.5,0 l0,183.5 q0,16.5 0.5,17.5q 1.5,11 10.5,11q 13.5,0 28.5-21.5l0-190.5 l 45.5,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"youtube-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 459.5,651.5l0-78.5 q0-25 -14.5-25q-8.5,0 -16.5,8l0,112 q 8,8 16.5,8q 14.5,0 14.5-24.5zM 551.5,590.5l 33,0 l0-17 q0-25.5 -16.5-25.5t-16.5,25.5l0,17 zM 266,457.5l0,35 l-40,0 l0,211.5 l-37,0 l0-211.5 l-39,0 l0-35 l 116,0 zM 366.5,520.5l0,183.5 l-33.5,0 l0-20 q-19.5,22.5 -38,22.5q-16.5,0 -21-14q-3-8 -3-27l0-145 l 33,0 l0,135 q0,12 0.5,13q 0.5,7.5 7.5,7.5 q 10,0 21-15.5l0-140 l 33.5,0 zM 492.5,576l0,73 q0,26 -3.5,36.5q-6,21 -26.5,21q-17.5,0 -34-20.5l0,18 l-33.5,0 l0-246.5 l 33.5,0 l0,80.5 q 16-20 34-20q 20.5,0 26.5,21q 3.5,10.5 3.5,37zM 618,640.5l0,4.5 q0,14.5 -1,21.5q-1.5,11 -7.5,20q-13.5,20 -40,20q-26,0 -40.5-19q-10.5-13.5 -10.5-43l0-64.5 q0-29.5 10-43q 14.5-19 40-19t 39,19 q 10.5,14 10.5,43l0,38 l-66.5,0 l0,32.5 q0,25.5 17,25.5q 12,0 15-13q0-0.5 0.25-3.5t 0.25-8.25l0-10.75 l 34,0 zM 392.5,228.5l0,78 q0,25.5 -16,25.5t-16-25.5l0-78 q0-26 16-26t 16,26zM 659,585q0-88.5 -9.5-130q-5-22 -21.5-36.75t-38-17.25q-68-7.5 -206-7.5q-137.5,0 -205.5,7.5q-22,2.5 -38.25,17.25t-21.25,36.75 q-10,43.5 -10,130q0,88 10,130q 5,21.5 21.25,36.5t 37.75,17.5q 68.5,7.5 206,7.5t 206-7.5q 21.5-2.5 37.75-17.5t 21.25-36.5q 10-42 10-130zM 281.5,259.5l 45-148l-37.5,0 l-25.5,97.5l-26.5-97.5l-39,0 l 12,34.5t 11.5,34.5q 17.5,51.5 23,79l0,100.5 l 37,0 l0-100.5 zM 426,300l0-65 q0-29 -10.5-43.5q-14.5-19 -39-19q-25.5,0 -39,19 q-10.5,14.5 -10.5,43.5l0,65 q0,29 10.5,43.5q 13.5,19 39,19q 24.5,0 39-19q 10.5-13.5 10.5-43.5zM 516.5,360l 33.5,0 l0-185 l-33.5,0 l0,141.5 q-11,15.5 -21,15.5q-7.5,0 -8-8q-0.5-1 -0.5-13l0-136 l-33.5,0 l0,146.5 q0,18.5 3,27.5q 5.5,13.5 21.5,13.5q 18,0 38.5-22.5l0,20 zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"thumbs-down, rate, down, dislike\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,288q0,13 -9.5,22.5t-22.5,9.5q-13.5,0 -22.75-9.5t-9.25-22.5q0-13.5 9.25-22.75t 22.75-9.25q 13,0 22.5,9.25t 9.5,22.75zM 208,544l0-320 q0-13 -9.5-22.5t-22.5-9.5l-144,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13 9.5,22.5t 22.5,9.5l 144,0 q 13,0 22.5-9.5t 9.5-22.5zM 772.5,469.5q 27.5,30.5 27.5,74.5q-0.5,39 -28.75,67.5 t-67.25,28.5l-138.5,0 q 2,7 4,12t 5.5,11t 5,9q 9,18.5 13.5,28.5t 9.5,29.25t 5,38.25q0,12 -0.25,19.5t-2.5,22.5t-6,25t-12,22.5t-20,20.25t-30,13t-41.25,5.25q-13,0 -22.5-9.5q-10-10 -17-25t-9.75-26t-6.25-30.5q-4.5-21 -6.75-30.25t-8.75-24.25t-15.5-24q-16.5-16.5 -50.5-60q-24.5-32 -50.5-60.5 t-38-29.5q-12.5-1 -21.5-10.25t-9-21.75l0-320.5 q0-13 9.5-22.25t 22.5-9.75q 17.5-0.5 79-22q 38.5-13 60.25-19.75t 60.75-14.5t 72-7.75l 8.5,0 l 38,0 l 18,0 q 66.5,1 98.5,39q 29,34.5 24.5,90.5q 19.5,18.5 27,47q 8.5,30.5 0,58.5q 23,30.5 21.5,68.5q0,16 -7.5,38z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"thumbs-up, up, rate, like\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,672q0-13 -9.5-22.5t-22.5-9.5q-13.5,0 -22.75,9.5t-9.25,22.5q0,13.5 9.25,22.75t 22.75,9.25q 13,0 22.5-9.25t 9.5-22.75zM 208,416l0,320 q0,13 -9.5,22.5t-22.5,9.5l-144,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 144,0 q 13,0 22.5,9.5t 9.5,22.5zM 800,416q0,43 -27.5,74.5q 7.5,22 7.5,38 q 1.5,38 -21.5,68.5q 8.5,28 0,58.5q-7.5,28.5 -27,47q 4.5,56 -24.5,90.5q-32,38 -98.5,39l-18,0 l-38,0 l-8.5,0 q-33,0 -72-7.75t-60.75-14.5t-60.25-19.75q-61.5-21.5 -79-22q-13-0.5 -22.5-9.75t-9.5-22.25l0-320.5 q0-12.5 9-21.75t 21.5-10.25q 12-1 38-29.5t 50.5-60.5q 34-43.5 50.5-60q 9-9 15.5-24t 8.75-24.25 t 6.75-30.25q 3.5-19.5 6.25-30.5t 9.75-26t 17-25q 9.5-9.5 22.5-9.5q 23,0 41.25,5.25t 30,13t 20,20.25t 12,22.5t 6,25t 2.5,22.5t 0.25,19.5q0,19 -4.75,38t-9.5,30t-13.75,28q-1.5,3 -5,9t-5.5,11t-4,12l 138.5,0 q 39,0 67.5,28.5t 28.5,67.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"sort-by-order-alt\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 673,144.5q0-31.5 -22-58t-51.5-26.5q-26,0 -41.5,18.5t-15.5,47t 18.25,47.5t 52.25,19q 25,0 42.5-13.5t 17.5-34zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5 t 4.5,11.5zM 728,839l0,57 l-234.5,0 l0-57 l 83.5,0 l0-216 q0-3.5 0.25-9.5t 0.25-8.5l0-8 l-1,0 l-3.5,6q-4,6.5 -13,15.5l-31,29l-41-43l 96-92.5l 61.5,0 l0,327 l 82.5,0 zM 743,173.5q0,31 -6.5,60.75t-20.5,57t-34,47.75t-49.25,32.75t-63.75,12.25q-31,0 -54-8q-12-4 -21-7.5l 19.5-56.5q 7.5,3.5 15.5,5.5q 18.5,6.5 37.5,6.5 q 42,0 67.25-29.25t 33.25-72.75l-1,0 q-10.5,11.5 -30.75,18.5t-42.25,7q-53,0 -86.5-35.75t-33.5-86.25q0-52.5 36-89t 90.5-36.5q 61.5,0 102.5,47.25t 41,126.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"sort-by-order\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 673,656.5q0-31.5 -22-58t-51.5-26.5q-26,0 -41.5,18.5t-15.5,47t 18.25,47.5t 52.25,19q 25,0 42.5-13.5t 17.5-34zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5 zM 743,685.5q0,31 -6.5,60.75t-20.5,57t-34,47.75t-49.25,32.75t-63.75,12.25q-31,0 -54-8q-12-4 -21-7.5l 19.5-56.5q 7.5,3.5 15.5,5.5q 18.5,6.5 37.5,6.5q 42,0 67.25-29.25t 33.25-72.75l-1,0 q-10.5,11.5 -30.75,18.5t-42.25,7q-53,0 -86.5-35.75t-33.5-86.25q0-52.5 36-89t 90.5-36.5q 61.5,0 102.5,47.25 t 41,126.25zM 728,327l0,57 l-234.5,0 l0-57 l 83.5,0 l0-216 q0-3.5 0.25-9.5t 0.25-8.5l0-8 l-1,0 l-3.5,6q-4,6.5 -13,15.5l-31,29l-41-43l 96-92.5l 61.5,0 l0,327 l 82.5,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sort-by-attributes-alt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 608,784l0,96 q0,7 -4.5,11.5t-11.5,4.5l-128,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 128,0 q 7,0 11.5,4.5t 4.5,11.5zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 704,528l0,96 q0,7 -4.5,11.5t-11.5,4.5l-224,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 224,0 q 7,0 11.5,4.5t 4.5,11.5zM 800,272l0,96 q0,7 -4.5,11.5t-11.5,4.5l-320,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 320,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,16l0,96 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sort-by-attributes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,784l0,96 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5zM 800,528l0,96 q0,7 -4.5,11.5t-11.5,4.5l-320,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 320,0 q 7,0 11.5,4.5t 4.5,11.5zM 704,272l0,96 q0,7 -4.5,11.5t-11.5,4.5l-224,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 224,0 q 7,0 11.5,4.5t 4.5,11.5zM 608,16l0,96 q0,7 -4.5,11.5t-11.5,4.5l-128,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 128,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"sort-by-alphabet-alt, alphabet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 595.5,716l 88.5,0 l-36-109l-6-23.5q-1-8 -1-10l-2,0 l-1.5,10q0,0.5 -1.75,9t-3.75,14.5zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 830.5,843 l0,53 l-144,0 l0-53 l 37.5,0 l-23.5-72l-121.5,0 l-23.5,72l 37.5,0 l0,53 l-143.5,0 l0-53 l 35,0 l 115-331l 81,0 l 115,331l 35,0 zM 786,267.5l0,116.5 l-292,0 l0-45 l 184.5-264.5q 6-9 10.5-13.5l 5.5-4.5l0-1.5 q-1,0 -3.25,0.25t-3.75,0.25q-6,1.5 -15,1.5l-116,0 l0,57.5 l-60,0 l0-114.5 l 283.5,0 l0,44.5 l-184.5,265q-3,4 -10.5,13l-5.5,5l0,1.5 l 7-1.5q 4.5-0.5 15-0.5l 124,0 l0-59.5 l 60.5,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"sort-by-alphabet, alphabet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 595.5,204l 88.5,0 l-36-109l-6-23.5q-1-8 -1-10l-2,0 l-1.5,10q0,0.5 -1.75,9t-3.75,14.5zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 786,779.5 l0,116.5 l-292,0 l0-45 l 184.5-264.5q 6-9 10.5-13.5l 5.5-4.5l0-1.5 q-1,0 -3.25,0.25t-3.75,0.25q-6,1.5 -15,1.5l-116,0 l0,57.5 l-60,0 l0-114.5 l 283.5,0 l0,44.5 l-184.5,265q-3,4 -10.5,13l-5.5,5.5l0,1 l 7-1q 4.5-1 15-1l 124,0 l0-59.5 l 60.5,0 zM 830.5,331l0,53 l-144,0 l0-53 l 37.5,0 l-23.5-72l-121.5,0 l-23.5,72l 37.5,0 l0,53 l-143.5,0 l0-53 l 35,0 l 115-331l 81,0 l 115,331l 35,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file-text\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 512,688l0-32 q0-7 -4.5-11.5t-11.5-4.5l-352,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 q0,7 4.5,11.5t 11.5,4.5l 352,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,560l0-32 q0-7 -4.5-11.5t-11.5-4.5l-352,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 q0,7 4.5,11.5t 11.5,4.5l 352,0 q 7,0 11.5-4.5t 4.5-11.5zM 640,384l0,400 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14 t-14-34l0-672 q0-20 14-34t 34-14l 272,0 l0,272 q0,20 14,34t 34,14l 272,0 zM 638.5,320l-254.5,0 l0-254.5 q 41,7.5 66,32.5l 156,156q 25,25 32.5,66z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file, new, paper, document\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 640,384l0,400 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 272,0 l0,272 q0,20 14,34t 34,14l 272,0 zM 638.5,320l-254.5,0 l0-254.5 q 41,7.5 66,32.5l 156,156q 25,25 32.5,66z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"bitcoin, btc, currency, money\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 583.5,320q 9,91 -65.5,129q 58.5,14 87.5,51.5t 22.5,107q-3.5,35.5 -16.25,62.5t-32.25,44.5t-48.5,29.25t-60.75,17.25t-72.75,7.5l0,127.5 l-77,0 l0-125.5 q-40,0 -61-0.5l0,126 l-77,0 l0-127.5 q-9,0 -27-0.25t-27.5-0.25l-100,0 l 15.5-91.5l 55.5,0 q 25,0 29-25.5l0-201 l 8,0 q-3-0.5 -8-0.5l0-143.5 q-6.5-34 -44.5-34l-55.5,0 l0-82 l 106,0.5q 32,0 48.5-0.5l0-126 l 77,0 l0,123.5 q 41-1 61-1l0-122.5 l 77,0 l0,126 q 39.5,3.5 70,11.25t 56.5,22.5t 41.25,39t 18.25,57.25zM 476,592.5q0-18 -7.5-32t-18.5-23t-28.75-15.25t-32.75-9.25t-37-4.5t-34.5-1.5t-32.25,0.5t-23.75,0.5l0,169 q 4,0 18.5,0.25t 24,0.25t 26.5-0.75t 29.25-2t 28.5-4.25t 27.75-7t 23.75-10.5t 19.75-15 t 12.25-20t 4.75-25.5zM 440.5,354.5q0-16.5 -6.25-29.25t-15.25-21t-24-14t-27.5-8.25t-30.75-4t-29-1.25t-27,0.5t-19.75,0.25l0,153.5 q 2.5,0 17.25,0.25t 23.25,0t 25-1t 27.5-2.75t 25.75-5.5t 24.25-9.25t 18.5-13.5t 13.5-19.25t 4.5-25.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"won, krw, currency, money\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 257,597.5l 40.5-149.5l-79.5,0 l 37.5,150q 0.5,0.5 0.5,1.5t 0.5,1.5q0-0.5 0.25-1.75t 0.25-1.75zM 315,384l 17.5-64l-146,0 l 16,64l 112.5,0 zM 411,384l 69.5,0 l-17.5-64l-35,0 zM 635.5,598l 39-150l-81,0 l 40.5,149.5q0,0.5 0.25,1.75t 0.75,1.75q0-0.5 0.25-1.5t 0.25-1.5zM 691,384l 16.5-64l-148.5,0 l 17,64l 115,0 zM 896,400l0,32 q0,7 -4.5,11.5 t-11.5,4.5l-106.5,0 l-82,308q-3.5,12 -15.5,12l-79.5,0 q-12,0 -15.5-12l-83-308l-104.5,0 l-83.5,308q-3.5,12 -15.5,12l-79.5,0 q-5.5,0 -9.75-3.5t-5.25-8.5l-80-308l-104,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 87.5,0 l-16.5-64l-71,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 54.5,0 l-44.5-172q-2.5-7.5 2.5-14 q 5-6 13-6l 68.5,0 q 13,0 15.5,12l 45,180l 179.5,0 l 48.5-180q 3.5-12 15.5-12l 63,0 q 12,0 15.5,12l 49,180l 182.5,0 l 46.5-180q 2.5-12 15.5-12l 68.5,0 q 8,0 13,6q 5,6.5 2.5,14l-45.5,172l 55.5,0 q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-72.5,0 l-17,64l 89.5,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"renminbi, cny, currency, money\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,592l0,16 q0,66 -47,113t-113,47l-64,0 q-66,0 -113-47t-47-113l0-240 l-112,0 q-1,51 -7.25,95.25t-15.25,78t-24.25,63.25t-28.5,49.75t-33.75,38.75t-34.75,29.25t-37,22t-34.5,16t-32.75,12.75q-2,1 -16,6.5q-4,1 -6,1q-11,0 -15-10l-35.5-89q-2.5-6.5 0-12.5t 8.5-8.5 q 3.5-1.5 10-3.75t 9-3.25q 15.5-6 23.25-9.25t 22.25-10t 22.75-13t 21-16.25t 20.25-21.25t 17.25-26.75t 15.25-34.25t 11.25-41.75t 8.5-51.5t 3.25-61.5l-128,0 q-7,0 -11.5-4.5t-4.5-11.5l0-80 q0-7 4.5-11.5t 11.5-4.5l 608,0 q 7,0 11.5,4.5t 4.5,11.5l0,80 q0,7 -4.5,11.5t-11.5,4.5l-112,0 l0,256 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5 l0-32 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 640,80l0,80 q0,7 -4.5,11.5t-11.5,4.5l-480,0 q-7,0 -11.5-4.5t-4.5-11.5l0-80 q0-7 4.5-11.5t 11.5-4.5l 480,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"513\" height=\"896\" viewBox=\"0 0 513 896\" data-du=\"\" data-tags=\"yen, jpy, currency, money\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 301.25,768l-86,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-165 l-144,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-51.5 q0-6.5 4.75-11.25t 11.25-4.75l 144,0 l0-42.5 l-144,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-52 q0-6.5 4.75-11.25t 11.25-4.75l 107,0 l-160.5-289q-4-8 0-16q 5-8 14-8l 97,0 q 9.5,0 14.5,9l 107.5,212.5q 9.5,19 28,62.5q 5-12 15.25-34t 13.75-30.5 l 95.5-210q 4-9.5 14.5-9.5l 95.5,0 q 8.5,0 13.5,8q 4.5,7 0.5,15.5l-156.5,289.5l 107.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,52 q0,7 -4.75,11.5t-11.25,4.5l-145,0 l0,42.5 l 145,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,51.5 q0,7 -4.75,11.5t-11.25,4.5l-145,0 l0,165 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"449\" height=\"896\" viewBox=\"0 0 449 896\" data-du=\"\" data-tags=\"rupee, inr, currency, money\" style=\"margin-left: 12px; margin-top: 8px;\"><path d=\"M 449,235l0,51 q0,7 -4.5,11.5t-11.5,4.5l-84,0 q-11.5,72 -64.5,117t-138,55q 83.5,89 229.5,268q 7,8 2,17q-4,9 -14.5,9l-97.5,0 q-8,0 -12.5-6q-153-183.5 -249-285.5q-4.5-4.5 -4.5-11l0-63.5 q0-6.5 4.75-11.25t 11.25-4.75l 56,0 q 66,0 106.25-21.5t 51.25-62.5l-213.5,0 q-7,0 -11.5-4.5t-4.5-11.5l0-51 q0-7 4.5-11.5t 11.5-4.5l 206.5,0 q-28.5-56.5 -134-56.5l-72.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-66.5 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5l0,51 q0,7 -4.5,11.5t-11.5,4.5l-116.5,0 q 23.5,30.5 32,72l 85.5,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"dollar, usd, currency, dollar\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 489,592.5q0,76.5 -49.75,131.75t-129.25,68.25l0,87.5 q0,7 -4.5,11.5t-11.5,4.5l-67.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-87.5 q-33-4.5 -63.75-15.5t-50.75-22.25t-37-24t-23.25-18.75t-8.75-9q-8.5-10.5 -1-20.5l 51.5-67.5q 3.5-5 11.5-6q 7.5-1 12,4.5l 1,1q 56.5,49.5 121.5,62.5q 18.5,4 37,4q 40.5,0 71.25-21.5 t 30.75-61q0-14 -7.5-26.5t-16.75-21t-29.25-18.75t-33-16t-40-16.25q-19.5-8 -30.75-12.5t-30.75-13.25t-31.25-15.5t-28.25-17.75t-26.75-21.25t-21.75-24.5t-17.75-29t-10.5-33.25t-4.25-39q0-69 49-121t 127.5-67l0-90 q0-6.5 4.75-11.25t 11.25-4.75l 67.5,0 q 7,0 11.5,4.5t 4.5,11.5l0,88 q 28.5,3 55.25,11.5t 43.5,16.75 t 31.75,18.75t 19.5,14.5t 7.5,7q 8.5,9 2.5,19l-40.5,73q-4,7.5 -11.5,8q-7,1.5 -13.5-3.5q-1.5-1.5 -7.25-6t-19.5-13.25t-29.25-16t-37.25-13t-42.75-5.75q-47.5,0 -77.5,21.5t-30,55.5q0,13 4.25,24t 14.75,20.75t 19.75,16.5t 28,15.5t 30.25,13.5t 35,13.75q 26.5,10 40.5,15.75t 38,17.5t 37.75,21.25t 31,25 t 26.5,31.75t 15.75,38.25t 6.5,47z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"gbp, currency, money\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 510,568.5l0,183.5 q0,7 -4.5,11.5t-11.5,4.5l-478,0 q-7,0 -11.5-4.5t-4.5-11.5l0-75 q0-6.5 4.75-11.25t 11.25-4.75l 48.5,0 l0-191.5 l-47.5,0 q-7,0 -11.5-4.75t-4.5-11.25l0-65.5 q0-7 4.5-11.5t 11.5-4.5l 47.5,0 l0-111.5 q0-85.5 61.75-141t 157.25-55.5q 92.5,0 167.5,62.5q 4.5,4 5,10.25t-3.5,11.25l-51.5,63.5q-4.5,5.5 -11,6q-6.5,1 -11.5-3.5 q-2.5-2.5 -13-9.5t-34.5-16t-46.5-9q-42.5,0 -68.5,23.5t-26,61.5l0,107.5 l 152.5,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,65.5 q0,6.5 -4.75,11.25t-11.25,4.75l-152.5,0 l0,189.5 l 207,0 l0-90.5 q0-6.5 4.5-11.25t 11.5-4.75l 81,0 q 7,0 11.5,4.75t 4.5,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"euro, currency, money\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 488,653.5l 17.5,79.5q 1.5,6 -1.5,11.25t-8.5,7.25l-2.5,0.5q-2,1 -5.25,1.75t-8,2.25t-10.75,2.75t-12.75,2.5t-15,2.5t-16.75,2.25t-18.25,1.5t-19.25,0.5q-117,0 -204.5-65.25t-119-175.75l-47.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-56.5 q0-6.5 4.75-11.25t 11.25-4.75l 33,0 q-1-28.5 0.5-52.5l-33.5,0 q-7,0 -11.5-4.5 t-4.5-11.5l0-57 q0-7 4.5-11.5t 11.5-4.5l 49,0 q 33.5-105 121.75-169t 200.25-64q 51,0 97,11.5q 5.5,1.5 10,7.5q 3,5.5 1.5,12l-21.5,79.5q-1.5,6.5 -7,9.75t-12,1.25l-2-0.5q-2-0.5 -5.75-1.25l-8.75-1.75t-11.25-1.75t-13-1.5t-14.5-1.25t-14.75-0.5q-63,0 -113,32t-75,88l 234,0 q 8,0 12.5,6q 5,6 3.5,13 l-12,57q-2.5,13 -16,13l-244,0 q-1.5,18.5 0,52.5l 229.5,0 q 7.5,0 12.5,6q 4.5,6 3,13.5l-12,56q-1,5.5 -5.5,9.25t-10,3.75l-193.5,0 q 24,58.5 74.75,92.75t 114.25,34.25q 9,0 18-0.75t 16.75-1.75t 14.75-2.25t 12.25-2.5t 9.25-2.25l 6-1.5l 2.5-1q 6.5-2.5 13,1q 6,3.5 7.5,10.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"expand, right, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 544,448q0,16.5 -13.5,26l-224,160q-15.5,11.5 -33,2.5q-17.5-8.5 -17.5-28.5l0-320 q0-20 17.5-28.5q 17.5-9 33,2.5l 224,160q 13.5,9.5 13.5,26zM 640,688l0-480 q0-7 -4.5-11.5t-11.5-4.5l-480,0 q-7,0 -11.5,4.5t-4.5,11.5l0,480 q0,7 4.5,11.5t 11.5,4.5l 480,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,208l0,480 q0,59.5 -42.25,101.75 t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"collapse-top, up, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 572.5,558.5q-8.5,17.5 -28.5,17.5l-320,0 q-20,0 -28.5-17.5q-9-17.5 2.5-33l 160-224q 9.5-13.5 26-13.5t 26,13.5l 160,224q 11.5,15.5 2.5,33zM 640,688l0-480 q0-6.5 -4.75-11.25t-11.25-4.75l-480,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,480 q0,6.5 4.75,11.25t 11.25,4.75l 480,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"collapse, arrow, down\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 572.5,337.5q 9,17.5 -2.5,33l-160,224q-9.5,13.5 -26,13.5t-26-13.5l-160-224q-11.5-15.5 -2.5-33q 8.5-17.5 28.5-17.5l 320,0 q 20,0 28.5,17.5zM 640,688l0-480 q0-6.5 -4.75-11.25t-11.25-4.75l-480,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,480 q0,6.5 4.75,11.25t 11.25,4.75l 480,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"compass, location, direction, guide\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,544l 128-64l-128-64l0,128 zM 512,248.5l0,271 l-256,128l0-271 zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5 t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"share-sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 502.5,550.5l 176-176q 9.5-9.5 9.5-22.5t-9.5-22.5l-176-176q-15-15.5 -34.5-7q-20,8.5 -20,29.5l0,80 q-59.5,0 -108,9.75t-81.25,25.5t-57,39.5t-38.25,47.75t-22.25,54.5t-10.75,55.75t-2.5,55.25q0,90.5 83.5,202q 5,6 12.5,6q 3.5,0 6.5-1.5q 11-4.5 9.5-16.5q-22-177 31-236.5q 23-26 65-37.75 t 112-11.75l0,80 q0,21 20,29.5q 6,2.5 12,2.5q 13,0 22.5-9.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"external-link-sign, outside, popup\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,464l0-240 q0-13 -9.5-22.5t-22.5-9.5l-240,0 q-21,0 -29.5,19.5q-8.5,20.5 7,35l 72,72l-267,267q-9.5,9.5 -9.5,22.5t 9.5,22.5l 51,51q 9.5,9.5 22.5,9.5t 22.5-9.5l 267-267l 72,72q 9,9.5 22.5,9.5q 6,0 12.5-2.5q 19.5-8.5 19.5-29.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"edit-sign, pencil\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 202,554l 76,76l-26,26l-28,0 l0-48 l-48,0 l0-28 zM 409,359q 7,6.5 -1.5,15l-145.5,145.5q-8.5,8.5 -15,1.5q-7-6.5 1.5-15l 145.5-145.5q 8.5-8.5 15-1.5zM 272,704l 272-272l-144-144l-272,272l0,144 l 144,0 zM 576,400l 46-46q 14-14 14-34t-14-34l-76-76q-14-14 -34-14t-34,14l-46,46zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"check-sign, check, tick\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 342.5,649.5l 307-307q 9.5-9.5 9.5-22.5t-9.5-22.5l-51-51q-9.5-9.5 -22.5-9.5t-22.5,9.5l-233.5,233.5l-105.5-105.5q-9.5-9.5 -22.5-9.5t-22.5,9.5l-51,51q-9.5,9.5 -9.5,22.5t 9.5,22.5l 179,179q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25 t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"level-down, down\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 16,128l 352,0 q 6.5,0 11.25,4.75t 4.75,11.75l0,431.5 l 96,0 q 20,0 29,18.5t-4.5,34.5l-160,192q-9,11 -24.5,11t-24.5-11l-160-192q-13-15.5 -4.5-34.5q 9-18.5 29-18.5l 96,0 l0-320 l-160,0 q-7,0 -12.5-5.5l-80-96q-6.5-7 -2-17q 4.5-9.5 14.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"level-up, up\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 509,301.5q-9,18.5 -29,18.5l-96,0 l0,432 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-10.5,0 -14.5-9q-4-10 2-17.5l 80-96q 4.5-5.5 12.5-5.5l 160,0 l0-320 l-96,0 q-20,0 -29-18.5q-8.5-18.5 4.5-34l 160-192q 9-11 24.5-11t 24.5,11l 160,192q 13.5,16 4.5,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"check-minus, subtract, remove, delete\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 576,400l0,32 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5zM 640,624l0-416 q0-33 -23.5-56.5t-56.5-23.5l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5zM 704,208l0,416 q0,59.5 -42.25,101.75 t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"minus-sign-alt, subtract, remove, delete\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-448,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 448,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25 t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"ticket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,226l 158,158l-286,286l-158-158zM 406.5,715.5l 309-309q 9.5-9.5 9.5-22.5t-9.5-22.5l-181-181q-9-9 -22.5-9t-22.5,9l-309,309q-9.5,9.5 -9.5,22.5t 9.5,22.5l 181,181q 9,9 22.5,9t 22.5-9zM 851,397l-453.5,454q-18.5,18.5 -45.25,18.5t-45.25-18.5l-63-63q 28-28 28-68t-28-68 t-68-28t-68,28l-62.5-63q-18.5-18.5 -18.5-45.25t 18.5-45.25l 453.5-453q 18.5-18.5 45.25-18.5t 45.25,18.5l 62.5,62.5q-28,28 -28,68t 28,68t 68,28t 68-28l 63,62.5q 18.5,18.5 18.5,45.25t-18.5,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"play-sign, media control, video, movie, film\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,64q 104.5,0 192.75,51.5t 139.75,139.75t 51.5,192.75t-51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5zM 576,475.5q 16-9 16-27.5t-16-27.5l-272-160q-15.5-9.5 -32-0.5q-16,9.5 -16,28l0,320 q0,18.5 16,28 q 8,4 16,4q 8.5,0 16-4.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"rss-sign, atom, feed\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 256,640q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 431.5,687q-6.5-116 -88.5-198t-198-88.5q-7-0.5 -12,4.5t-5,11.5l0,64 q0,6.5 4.25,11t 10.75,5q 77,5.5 132,60.5t 60.5,132q 0.5,6.5 5,10.75t 11,4.25l 64,0 q 6.5,0 11.5-5 t 4.5-12zM 623.5,687.5q-2.5-77 -28-148.75t-69.75-130t-102.5-102.5t-130-69.75t-148.75-28q-7-0.5 -11.5,4.5q-5,5 -5,11.5l0,64 q0,6.5 4.5,11t 11,5q 102,3.5 189,55.75t 139.25,139.25t 55.75,189q 0.5,6.5 5,11t 11,4.5l 64,0 q 6.5,0 11.5-5q 5.5-4.5 4.5-11.5zM 768,208l0,480 q0,59.5 -42.25,101.75 t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"192\" height=\"896\" viewBox=\"0 0 192 896\" data-du=\"\" data-tags=\"ellipsis-vertical, dots\" style=\"margin-left: 14px; margin-top: 8px;\"><path d=\"M 192,624l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 192,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 192,112l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"ellipsis-horizontal, dots, more\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 448,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 704,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"bullseye, target, goal\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,448q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5zM 576,448q0-79.5 -56.25-135.75t-135.75-56.25t-135.75,56.25t-56.25,135.75t 56.25,135.75t 135.75,56.25t 135.75-56.25t 56.25-135.75zM 640,448q0,106 -75,181t-181,75t-181-75 t-75-181t 75-181t 181-75t 181,75t 75,181zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102t-25.5,124.25t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"unlock-alt, lock, login\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 528,384q 20,0 34,14t 14,34l0,288 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-288 q0-20 14-34t 34-14l 16,0 l0-160 q0-92.5 65.75-158.25t 158.25-65.75t 158.25,65.75t 65.75,158.25q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.5q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5 l0,160 l 368,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"anchor, link\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 896,592l0,176 q0,11 -10,15q-4,1 -6,1q-6.5,0 -11.5-4.5l-46.5-46.5q-59.5,71.5 -159.25,113.25t-214.75,41.75t-214.75-41.75t-159.25-113.25l-46.5,46.5q-4.5,4.5 -11.5,4.5q-2,0 -6-1q-10-4 -10-15l0-176 q0-7 4.5-11.5t 11.5-4.5l 176,0 q 11,0 15,10q 4,9.5 -3.5,17.5l-50,50q 33.5,45.5 94.75,76.75t 135.75,41.25l0-323.5 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0-81.5 q-29-17 -46.5-46.25t-17.5-64.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,35 -17.5,64.25t-46.5,46.25l0,81.5 l 96,0 q 13,0 22.5,9.5 t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-96,0 l0,323.5 q 74.5-10 135.75-41.25t 94.75-76.75l-50-50q-7.5-8 -3.5-17.5q 4-10 15-10l 176,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"css3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 137.5,64l 752.5,0 l-133,666.5l-402,133.5l-349-133.5l 35.5-178l 148.5,0 l-14.5,73.5l 211,80.5l 243-80.5l 34-169.5l-604,0 l 29-148.5l 604.5,0 l 19-95.5l-604,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"html5\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 565,298.5l 8-87.5l-442,0 l 23.5,267l 306,0 l-11,114l-98.5,26.5l-98-26.5l-6.5-70l-87.5,0 l 11,139l 181,50l 2,0 l0-0.5 l 179.5-49.5l 25-272l-322,0 l-7.5-90.5l 337,0 zM0,64l 704,0 l-64,719l-289,81l-287-81z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-down, arrow, down\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 406.5,649.5l 227-227q 9.5-9.5 9.5-22.5t-9.5-22.5l-51-51q-9.5-9.5 -22.5-9.5t-22.5,9.5l-153.5,153.5l-153.5-153.5q-9.5-9.5 -22.5-9.5t-22.5,9.5l-51,51q-9.5,9.5 -9.5,22.5t 9.5,22.5l 227,227q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-up, arrow, up\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 582.5,569.5l 51-51q 9.5-9.5 9.5-22.5t-9.5-22.5l-227-227q-9.5-9.5 -22.5-9.5t-22.5,9.5l-227,227q-9.5,9.5 -9.5,22.5t 9.5,22.5l 51,51q 9.5,9.5 22.5,9.5t 22.5-9.5l 153.5-153.5l 153.5,153.5q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-right, right, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 358.5,697.5l 227-227q 9.5-9.5 9.5-22.5t-9.5-22.5l-227-227q-9.5-9.5 -22.5-9.5t-22.5,9.5l-51,51q-9.5,9.5 -9.5,22.5t 9.5,22.5l 153.5,153.5l-153.5,153.5q-9.5,9.5 -9.5,22.5t 9.5,22.5l 51,51q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-left, left, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 454.5,697.5l 51-51q 9.5-9.5 9.5-22.5t-9.5-22.5l-153.5-153.5l 153.5-153.5q 9.5-9.5 9.5-22.5t-9.5-22.5l-51-51q-9.5-9.5 -22.5-9.5t-22.5,9.5l-227,227q-9.5,9.5 -9.5,22.5t 9.5,22.5l 227,227q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"maxcdn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 854,327.5l-94,440.5l-152,0 l 90.5-424.5q 2-10.5 0.5-21.5q-2-10 -8-17.5q-5-7 -14-12q-9-4.5 -20-4.5l-98.5,0 l-102.5,480l-151.5,0 l 102-480l-152,0 l-102.5,480l-152,0 l 136-640l 569.5,0 q 78.5,0 122.5,59q 43,58 26,140.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"rocket, speed, jet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 720,224q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 832,80q0,124.5 -37.75,215.25t-126.75,180.25q-40.5,40 -97.5,88l-10,189.5q-1,8 -8,13l-192,112q-3.5,2 -8,2q-6,0 -11.5-4.5l-32-32q-6.5-7 -4-16l 42.5-138l-140.5-140.5l-138,42.5q-1.5,0.5 -4.5,0.5 q-7,0 -11.5-4.5l-32-32q-8.5-9.5 -2.5-19.5l 112-192q 5-7 13-8l 189.5-10q 48-57 88-97.5q 94-93.5 179-129t 215.5-35.5q 7,0 12,4.75t 5,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"fire-extinguisher\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 256,96q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,80l0,160 q0,8 -6,12.5q-4,3.5 -10,3.5q-2,0 -3.5-0.5l-224-48q-5.5-1 -9-5.5t-3.5-10l-128,0 l0,51 q 55.5,11.5 91.75,55.5t 36.25,101.5l0,400 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-400 q0-53 31.25-95.25t 80.75-57.25l0-55.5 l-16,0 q-29.5,0 -57.5,11.75t-45.75,26.5t-33,33.25t-20.25,26.75t-7,12.25q-8.5,17.5 -28.5,17.5q-8,0 -14.5-3.5q-11.5-6 -15.75-18.5t 1.75-24.5q 2.5-5 7.25-13t 18.75-26.75t 30.25-35t 42.5-33.5t 54.25-26.25q-12.5-21 -12.5-43q0-33 23.5-56.5t 56.5-23.5t 56.5,23.5t 23.5,56.5 q0,16.5 -7,32l 151,0 q0-5.5 3.5-10t 9-5.5l 224-48q 1.5-0.5 3.5-0.5q 6,0 10,3.5q 6,4.5 6,12.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"calendar-empty, schedule, date\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 64,832l 704,0 l0-512 l-704,0 l0,512 zM 256,224l0-144 q0-7 -4.5-11.5t-11.5-4.5l-32,0 q-7,0 -11.5,4.5t-4.5,11.5l0,144 q0,7 4.5,11.5t 11.5,4.5l 32,0 q 7,0 11.5-4.5t 4.5-11.5zM 640,224l0-144 q0-7 -4.5-11.5t-11.5-4.5l-32,0 q-7,0 -11.5,4.5t-4.5,11.5l0,144 q0,7 4.5,11.5t 11.5,4.5l 32,0 q 7,0 11.5-4.5t 4.5-11.5zM 832,192l0,640 q0,26 -19,45t-45,19l-704,0 q-26,0 -45-19t-19-45l0-640 q0-26 19-45t 45-19l 64,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 192,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 64,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"shield, defense, security, guard\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 544,480l0-320 l-224,0 l0,568.5 q 59.5-31.5 106.5-68.5q 117.5-92 117.5-180zM 640,96l0,384 q0,43 -16.75,85.25t-41.5,75t-59,63.75t-63.25,51.5t-60.5,38.75t-44.75,24.75t-21.25,10q-6,3 -13,3t-13-3q-8-3.5 -21.25-10t-44.75-24.75t-60.5-38.75t-63.25-51.5t-59-63.75t-41.5-75 t-16.75-85.25l0-384 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"microphone-off, voice, record\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 135.5,472.5l-50.5,50.5q-21-51.5 -21-107l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 q0,26.5 7.5,56.5zM 692.5,171.5l-180.5,180.5l0,64 q0,66 -47,113t-113,47q-27.5,0 -54.5-9.5l-48,48q 48.5,25.5 102.5,25.5q 92.5,0 158.25-65.75t 65.75-158.25l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 q0,110.5 -73.75,192.25t-182.25,93.75l0,66 l 128,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 128,0 l0-66 q-62.5-6.5 -117.5-40.5l-127,127q-5,5 -11.5,5t-11.5-5l-41-41q-5-5 -5-11.5t 5-11.5l 617-617q 5-5 11.5-5t 11.5,5l 41,41q 5,5 5,11.5 t-5,11.5zM 502.5,105.5l-310.5,310.5l0-256 q0-66 47-113t 113-47q 51,0 92.25,29.5t 58.25,76z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"microphone, record, voice\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 576,352l0,64 q0,110.5 -73.75,192.25t-182.25,93.75l0,66 l 128,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 128,0 l0-66 q-108.5-12 -182.25-93.75t-73.75-192.25l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 q0,92.5 65.75,158.25t 158.25,65.75 t 158.25-65.75t 65.75-158.25l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5zM 448,160l0,256 q0,66 -47,113t-113,47t-113-47t-47-113l0-256 q0-66 47-113t 113-47t 113,47t 47,113z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"puzzle, piece, plugin, extension\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,549q0,40.5 -22.25,67.5t-61.75,27q-20.5,0 -38.75-8.75t-29.5-19t-28.25-19t-35.5-8.75q-55,0 -55,62q0,19.5 8,57.5t 7.5,57.5l0,2.5 q-11,0 -16.5,0.5q-17,1.5 -48.75,5.75t-57.75,6.75t-49,2.5q-30.5,0 -51.5-13.25t-21-41.75q0-18.5 8.75-35.5t 19-28.25t 19-29.5t 8.75-38.75q0-39.5 -27-61.75 t-67.5-22.25q-42,0 -71.5,22.75t-29.5,63.75q0,21.5 7.5,41.5t 16.75,32.25t 16.75,26.5t 7.5,25.25q0,22.5 -23,44.5q-18.5,17.5 -58.5,17.5q-47.5,0 -122.5-12q-4.5-1 -13.75-2t-13.75-2l-6.5-1q-0.5,0 -1.5-0.5q-1,0 -1-0.5l0-512 q 1,0.5 8.75,1.75t 17,2.5t 10.75,1.75q 75,12 122.5,12q 40,0 58.5-17.5q 23-22 23-44.5 q0-11 -7.5-25.25t-16.75-26.5t-16.75-32.25t-7.5-41.5q0-41 29.5-63.75t 72-22.75q 40,0 67,22.25t 27,61.75q0,20.5 -8.75,38.75t-19,29.5t-19,28.25t-8.75,35.5q0,28.5 21,41.75t 51.5,13.25q 32,0 90-7.5t 81.5-8.5l0,1 q-0.5,1 -1.75,8.75t-2.5,17t-1.75,10.75q-12,75 -12,122.5q0,40 17.5,58.5 q 22,23 44.5,23q 11,0 25.25-7.5t 26.5-16.75t 32.25-16.75t 41.5-7.5q 41,0 63.75,29.5t 22.75,71.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"eraser, clear, rubber\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 448,704l 168-192l-384,0 l-168,192l 384,0 zM 954.5,165.5q 7.5,17 4.75,35.75t-15.25,32.75l-448,512q-19,22 -48,22l-384,0 q-19,0 -34.75-10.25t-23.75-27.25q-7.5-17 -4.75-35.75t 15.25-32.75l 448-512q 19-22 48-22l 384,0 q 19,0 34.75,10.25t 23.75,27.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"subscript\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448.5,684.5l0,83.5 l-124,0 l-79.5-126l-12-21q-4-4.5 -5.5-10.5l-1.5,0 l-4.5,10.5q-5,10 -12.5,22l-77.5,125l-129,0 l0-83.5 l 64,0 l 98.5-145.5l-92.5-136l-68.5,0 l0-84 l 138,0 l 69.5,114q 1,2 11.5,21q 4,4.5 5.5,10.5l 1.5,0 q 1.5-4.5 5.5-10.5l 12.5-21l 70-114l 128.5,0 l0,84 l-62.5,0 l-92,133.5l 102,148l 54.5,0 zM 768,793l0,103 l-257,0 l-2-13.5 q-1.5-22.5 -1.5-23q0-32 13-58.5t 32.5-43.25t 42-32.5t 42-27.25t 32.5-27t 13-32q0-19 -14.75-31.25t-35.25-12.25q-25.5,0 -48.5,19.5q-7,5.5 -18,19l-52.5-46q 13-18.5 31.5-33q 40-32.5 94-32.5q 55,0 89,29.75t 34,79.25q0,33 -17.25,59.25t-42,43t-49.75,31.25t-43.5,31.5t-20.5,36.5l 116,0 l0-40 l 63,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"superscript, power\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448.5,684.5l0,83.5 l-124,0 l-79.5-126l-12-21q-4-4.5 -5.5-10.5l-1.5,0 l-4.5,10.5q-5,10 -12.5,22l-77.5,125l-129,0 l0-83.5 l 64,0 l 98.5-145.5l-92.5-136l-68.5,0 l0-84 l 138,0 l 69.5,114q 1,2 11.5,21q 4,4.5 5.5,10.5l 1.5,0 q 1.5-4.5 5.5-10.5l 12.5-21l 70-114l 128.5,0 l0,84 l-62.5,0 l-92,133.5l 102,148l 54.5,0 zM 767,345l0,103 l-257,0 l-1.5-13.5 q-2-14 -2-23q0-32 13-58.5t 32.5-43.25t 42-32.5t 42-27.25t 32.5-27t 13-32q0-19 -14.75-31.25t-35.25-12.25q-25.5,0 -48.5,19.5q-7,5.5 -18,19l-52.5-46q 13-18.5 31.5-33q 41.5-32.5 94-32.5q 55,0 89,29.75t 34,79.25q0,28 -12.25,51.5t-31,38.25t-40.75,29.25t-41,25.25t-32.75,25.75t-15.25,31.5l 116,0 l0-40 l 63,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"exclamation, warning, notification\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 256,624l0,112 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-112 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5zM 271,96l-14,384q-0.5,13 -10.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.75-9.5t-10.25-22.5l-14-384q-0.5-13 8.75-22.5t 22.25-9.5l 160,0 q 13,0 22.25,9.5t 8.75,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"info\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 320,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 l0-192 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 l 32,0 q 13,0 22.5,9.5t 9.5,22.5zM 256,96l0,96 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"question, ask, help\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 352,628l0,120 q0,8 -6,14t-14,6l-120,0 q-8,0 -14-6t-6-14l0-120 q0-8 6-14t 14-6l 120,0 q 8,0 14,6t 6,14zM 510,328q0,27 -7.75,50.5t-17.5,38.25t-27.5,29.75t-28.75,21.75t-30.5,17.75q-20.5,11.5 -34.25,32.5t-13.75,33.5q0,8.5 -6,16.25t-14,7.75l-120,0 q-7.5,0 -12.75-9.25 t-5.25-18.75l0-22.5 q0-41.5 32.5-78.25t 71.5-54.25q 29.5-13.5 42-28t 12.5-38q0-21 -23.25-37t-53.75-16q-32.5,0 -54,14.5q-17.5,12.5 -53.5,57.5q-6.5,8 -15.5,8q-6,0 -12.5-4l-82-62.5q-6.5-5 -7.75-12.5t 2.75-14q 80-133 232-133q 40,0 80.5,15.5t 73,41.5t 53,63.75t 20.5,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"unlink, link\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 219.5,635.5l-128,128q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5q-4.5-5 -4.5-11.5t 4.5-11.5l 128-128q 5-4.5 11.5-4.5t 11.5,4.5q 4.5,5 4.5,11.5t-4.5,11.5zM 304,656l0,160 q0,7 -4.5,11.5t-11.5,4.5t-11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5t 11.5,4.5t 4.5,11.5zM 192,544q0,7 -4.5,11.5t-11.5,4.5l-160,0 q-7,0 -11.5-4.5t-4.5-11.5t 4.5-11.5t 11.5-4.5l 160,0 q 7,0 11.5,4.5t 4.5,11.5zM 824,608q0,60 -42.5,101.5l-73.5,73q-41.5,41.5 -101.5,41.5q-60.5,0 -102-42.5l-167-167.5q-10.5-10.5 -21-28l 119.5-9l 136.5,137q 13.5,13.5 34,13.75t 34-13.25l 73.5-73q 14-14 14-33.5q0-20 -14-34l-137-137.5l 9-119.5q 17.5,10.5 28,21l 168,168q 42,43 42,102zM 515.5,246l-119.5,9 l-136.5-137q-14-14 -34-14q-19.5,0 -34,13.5l-73.5,73q-14,14 -14,33.5q0,20 14,34l 137,137l-9,120q-17.5-10.5 -28-21l-168-168q-42-43 -42-102q0-60 42.5-101.5l 73.5-73q 41.5-41.5 101.5-41.5q 60.5,0 102,42.5l 167,167.5q 10.5,10.5 21,28zM 832,288q0,7 -4.5,11.5t-11.5,4.5l-160,0 q-7,0 -11.5-4.5 t-4.5-11.5t 4.5-11.5t 11.5-4.5l 160,0 q 7,0 11.5,4.5t 4.5,11.5zM 560,16l0,160 q0,7 -4.5,11.5t-11.5,4.5t-11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5t 11.5,4.5t 4.5,11.5zM 763.5,91.5l-128,128q-5.5,4.5 -11.5,4.5t-11.5-4.5q-4.5-5 -4.5-11.5t 4.5-11.5l 128-128q 5-4.5 11.5-4.5t 11.5,4.5q 4.5,5 4.5,11.5t-4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"code-fork, branch\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 144,736q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 144,160q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 464,224q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 512,224q0,26 -13,48.25t-35,34.75 q-1,143.5 -113,207q-34,19 -101.5,40.5q-64,20 -84.75,35.5t-20.75,50l0,13 q 22,12.5 35,34.75t 13,48.25q0,40 -28,68t-68,28t-68-28t-28-68q0-26 13-48.25t 35-34.75l0-410 q-22-12.5 -35-34.75t-13-48.25q0-40 28-68t 68-28t 68,28t 28,68q0,26 -13,48.25t-35,34.75l0,248.5 q 27-13 77-28.5q 27.5-8.5 43.75-14.75t 35.25-15.5t 29.5-19.75t 20.25-25.5t 14-34.75t 4.25-45.75q-22-12.5 -35-34.75t-13-48.25q0-40 28-68t 68-28t 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"crop\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 278.5,640l 297.5,0 l0-297.5 zM 256,617.5l 297.5-297.5l-297.5,0 l0,297.5 zM 832,656l0,96 q0,7 -4.5,11.5t-11.5,4.5l-112,0 l0,112 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-112 l-432,0 q-7,0 -11.5-4.5t-4.5-11.5l0-432 l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 112,0 l0-112 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5 l0,112 l 425.5,0 l 123-123.5q 5-4.5 11.5-4.5t 11.5,4.5q 4.5,5 4.5,11.5t-4.5,11.5l-123.5,123l0,425.5 l 112,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"location-arrow, map, arrow\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 700.5,174.5l-320,640q-8.5,17.5 -28.5,17.5q-2.5,0 -7.5-1q-11-2.5 -17.75-11.25t-6.75-19.75l0-288 l-288,0 q-11,0 -19.75-6.75t-11.25-17.75t 2-21t 14.5-15l 640-320q 6.5-3.5 14.5-3.5q 13.5,0 22.5,9.5q 7.5,7 9.25,17.25t-3.25,19.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"star-half-full, star, rating, rate\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 593,478.5l 128.5-125l-178-26l-33-5l-15-30l-79.5-161l0,481.5 l 29.5,15.5l 159,84l-30-177.5l-6-33zM 819,347.5l-181.5,177l 43,250q 2.5,16.5 -3,25.75t-17,9.25q-8.5,0 -20-6l-224.5-118l-224.5,118q-11.5,6 -20,6q-11.5,0 -17-9.25t-3-25.75l 43-250l-182-177q-16-16 -11.5-29.75t 27-17.25 l 251-36.5l 112.5-227.5q 10-20.5 24.5-20.5q 14,0 24.5,20.5l 112.5,227.5l 251,36.5q 22.5,3.5 27,17.25t-12,29.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"reply-all, mail-reply-all\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,541l0,35 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-256-256q-9.5-9.5 -9.5-22.5t 9.5-22.5l 256-256q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5l0,34.5 l-198.5,199q-9.5,9.5 -9.5,22.5t 9.5,22.5zM 896,560q0,29 -8.5,66.75t-19.25,69t-24,62.5t-20.25,45.25l-10,20q-4,8.5 -14,8.5q-3,0 -4.5-0.5 q-12.5-4 -11.5-17q 21.5-200 -53-282.5q-32-35.5 -85.25-55.25t-133.75-26.25l0,125.5 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-256-256q-9.5-9.5 -9.5-22.5t 9.5-22.5l 256-256q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5l0,131 q 205.5,14 299.5,110.5q 84.5,86.5 84.5,254.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"code, embed\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 308.5,699.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5t-5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5t-5,11.5zM 604,166l-186.5,645.5q-2,6.5 -7.75,9.75t-11.75,1.25l-31-8.5q-6.5-2 -9.75-7.75t-1.25-12.25 l 186.5-645.5q 2-6.5 7.75-9.75t 11.75-1.25l 31,8.5q 6.5,2 9.75,7.75t 1.25,12.25zM 932.5,491.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5t-5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"terminal, console, command line\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 292.5,491.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5t-5,11.5zM 832,720l0,32 q0,7 -4.5,11.5t-11.5,4.5l-480,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 480,0 q 7,0 11.5,4.5 t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"flag-checkered, race\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,500l0-96 q-90.5,8 -192,58.5l0,92.5 q 102.5-48 192-55zM 416,291l0-98.5 q-86,4 -192,63l0,94.5 q 107.5-55.5 192-59zM 832,522.5l0-92 q-117.5,58 -192,35.5l0-112 q-10-3 -19.5-7.5q-2.5-1.5 -16.5-8.5t-17.25-8.5t-15.75-7.5t-17.25-7.75t-16.25-6.5t-18-6.25t-17.5-4.25t-19.75-3.75t-19.75-2t-22-1 q-11.5,0 -24.5,1.5l0,111 l 9.5,0 q 51,0 96.25,14.5t 98.75,41q 9.5,4.5 19.5,7.5l0,94 q 21,8.5 45.5,8.5q 60,0 146.5-46zM 832,309l0-94.5 q-84.5,45.5 -153,45.5q-22.5,0 -39-4l0,98 q 74,21 192-45zM 160,128q0,17.5 -8.75,32t-23.25,23l0,633 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-633 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 896,160l0,381.5 q0,19.5 -17.5,28.5q-5,2.5 -8.5,4.5q-109,58 -184.5,58q-44,0 -79-17.5l-14-7q-32-16.5 -49.5-24t-45.5-14.5t-57-7q-51,0 -117.75,22t-114.25,51q-7.5,4.5 -16.5,4.5q-8,0 -16-4 q-16-9.5 -16-28l0-371 q0-17.5 15.5-27.5q 17.5-10.5 39.25-21.25t 57-26t 76.25-24.75t 77.5-9.5q 56,0 104.5,15.5t 104.5,43q 19,9.5 44.5,9.5q 61,0 155-56q 11-6 15.5-8.5q 15.5-8 31,1q 15.5,10 15.5,27.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"flag-alt, flag, report\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,522.5l0-308 q-84.5,45.5 -153,45.5q-41,0 -72.5-16q-50-24.5 -92-38.25t-89-13.75q-86.5,0 -201.5,63.5l0,299.5 q 122.5-56.5 216.5-56.5q 27.5,0 51.75,3.75t 49,13t 38.5,15.5t 41.25,19.75l 14,7q 22,11 50.5,11q 60,0 146.5-46zM 160,128q0,17.5 -8.75,32t-23.25,23l0,633 q0,7 -4.5,11.5t-11.5,4.5 l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-633 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 896,160l0,381.5 q0,19.5 -17.5,28.5q-5,2.5 -8.5,4.5q-109,58 -184.5,58q-44,0 -79-17.5l-14-7q-32-16.5 -49.5-24t-45.5-14.5t-57-7q-51,0 -117.75,22t-114.25,51 q-7.5,4.5 -16.5,4.5q-8,0 -16-4q-16-9.5 -16-28l0-371 q0-17.5 15.5-27.5q 17.5-10.5 39.25-21.25t 57-26t 76.25-24.75t 77.5-9.5q 56,0 104.5,15.5t 104.5,43q 19,9.5 44.5,9.5q 61,0 155-56q 11-6 15.5-8.5q 15.5-8 31,1q 15.5,10 15.5,27.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"keyboard, type\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 192,584l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 256,456l0,48 q0,8 -8,8l-112,0 q-8,0 -8-8l0-48 q0-8 8-8l 112,0 q 8,0 8,8zM 192,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 704,584l0,48 q0,8 -8,8 l-432,0 q-8,0 -8-8l0-48 q0-8 8-8l 432,0 q 8,0 8,8zM 384,456l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 320,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 512,456l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8 l 48,0 q 8,0 8,8zM 448,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 640,456l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 832,584l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 576,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 704,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 832,328l0,176 q0,8 -8,8l-112,0 q-8,0 -8-8l0-48 q0-8 8-8l 56,0 l0-120 q0-8 8-8l 48,0 q 8,0 8,8zM 896,704l0-448 l-832,0 l0,448 l 832,0 zM 960,256l0,448 q0,26.5 -18.75,45.25t-45.25,18.75l-832,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-448 q0-26.5 18.75-45.25t 45.25-18.75l 832,0 q 26.5,0 45.25,18.75t 18.75,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"gamepad, controller, joystick\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 416,544l0-64 q0-7 -4.5-11.5t-11.5-4.5l-96,0 l0-96 q0-7 -4.5-11.5t-11.5-4.5l-64,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,64 q0,7 4.5,11.5t 11.5,4.5l 96,0 l0,96 q0,7 4.5,11.5t 11.5,4.5l 64,0 q 7,0 11.5-4.5t 4.5-11.5l0-96 l 96,0 q 7,0 11.5-4.5t 4.5-11.5zM 704,576q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75 t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 832,448q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 960,512q0,106 -75,181t-181,75q-96,0 -169-64l-110,0 q-73,64 -169,64q-106,0 -181-75 t-75-181t 75-181t 181-75l 448,0 q 106,0 181,75t 75,181z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"meh, neutral, smiley, emoticon\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 576,544q0,13 -9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5zM 320,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 576,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75 t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102t-25.5,124.25t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"frown, sad, smiley, emoticon\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 567,614.5q 4,12.5 -2,24.25t-18.5,15.75t-24.5-2t-16-19q-12.5-40 -46.25-64.75t-75.75-24.75t-75.75,24.75t-46.25,64.75q-4,13 -15.75,19t-24.25,2q-13-4 -19-15.75t-2-24.25q 18.5-60.5 69-97.5t 114-37t 114,37t 69,97.5zM 320,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75 t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 576,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102 t-25.5,124.25t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"smile, smiley, emoticon, happy\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 567,537.5q-18.5,60.5 -69,97.5t-114,37t-114-37t-69-97.5q-4-12.5 2-24.25t 19-15.75q 12.5-4 24.25,2t 15.75,19q 12.5,40 46.25,64.75t 75.75,24.75t 75.75-24.75t 46.25-64.75q 4-13 16-19t 24.5-2t 18.5,15.75t 2,24.25zM 320,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25 t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 576,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102t-25.5,124.25 t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"collapse-alt, minus, subtract, remove, square\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 464,192q 46.5,0 79.25,32.75t 32.75,79.25l0,352 q0,46 -32.75,79t-79.25,33l-352,0 q-46.5,0 -79.25-33t-32.75-79l0-352 q0-46.5 32.75-79.25t 79.25-32.75l 352,0 zM 512,656l0-352 q0-20 -14-34t-34-14l-352,0 q-20,0 -34,14t-14,34l0,352 q0,20 14,34t 34,14l 352,0 q 20,0 34-14t 14-34z M 432,448q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-288,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 288,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"expand-alt, plus, square, add\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 448,464l0,32 q0,7 -4.5,11.5t-11.5,4.5l-112,0 l0,112 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-112 l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 112,0 l0-112 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5l0,112 l 112,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,656l0-352 q0-20 -14-34t-34-14l-352,0 q-20,0 -34,14 t-14,34l0,352 q0,20 14,34t 34,14l 352,0 q 20,0 34-14t 14-34zM 576,304l0,352 q0,46 -32.75,79t-79.25,33l-352,0 q-46.5,0 -79.25-33t-32.75-79l0-352 q0-46.5 32.75-79.25t 79.25-32.75l 352,0 q 46.5,0 79.25,32.75t 32.75,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"folder-open-alt, open, directory, category, browse\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 890.5,465.5q0-17.5 -26.5-17.5l-544,0 q-20,0 -42.75,10.75t-35.75,26.25l-147,181.5q-9,12 -9,20q0,17.5 26.5,17.5l 544,0 q 20,0 43-11t 35.5-26.5l 147-181.5q 9-11 9-19.5zM 320,384l 384,0 l0-80 q0-20 -14-34t-34-14l-288,0 q-20,0 -34-14t-14-34l0-32 q0-20 -14-34t-34-14l-160,0 q-20,0 -34,14t-14,34 l0,426.5 l 128-157.5q 22-26.5 58-43.75t 70-17.25zM 954.5,465.5q0,31 -23,60l-147.5,181.5q-21.5,26.5 -58,43.75t-70,17.25l-544,0 q-46,0 -79-33t-33-79l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 272,0 q 46,0 79,33t 33,79l0,80 l 96,0 q 27,0 49.5,12.25t 33.5,35.25q 7.5,16 7.5,34z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"folder-close-alt, directory, category\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,656l0-352 q0-20 -14-34t-34-14l-352,0 q-20,0 -34-14t-14-34l0-32 q0-20 -14-34t-34-14l-160,0 q-20,0 -34,14t-14,34l0,480 q0,20 14,34t 34,14l 608,0 q 20,0 34-14t 14-34zM 832,304l0,352 q0,46 -33,79t-79,33l-608,0 q-46,0 -79-33t-33-79l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 336,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"github-alt, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,608q0,20 -6.25,41t-21.5,38t-36.25,17t-36.25-17t-21.5-38t-6.25-41t 6.25-41t 21.5-38t 36.25-17t 36.25,17t 21.5,38t 6.25,41zM 640,608q0,20 -6.25,41t-21.5,38t-36.25,17t-36.25-17t-21.5-38t-6.25-41t 6.25-41t 21.5-38t 36.25-17t 36.25,17t 21.5,38t 6.25,41zM 720,608 q0-60 -34.5-102t-93.5-42q-20.5,0 -97.5,10.5q-35.5,5.5 -78.5,5.5t-78.5-5.5q-76-10.5 -97.5-10.5q-59,0 -93.5,42t-34.5,102q0,44 16,76.75t 40.5,51.5t 61,30t 70,14.75t 74.5,3.5l 84,0 q 41,0 74.5-3.5t 70-14.75t 61-30t 40.5-51.5t 16-76.75zM 832,520q0,103.5 -30.5,165.5q-19,38.5 -52.75,66.5t-70.5,43 t-85,23.75t-85.75,11t-83.5,2.25q-39,0 -71-1.5t-73.75-6.25t-76.25-15t-68.5-25.75t-60.5-40.5t-43-57.5q-31-61.5 -31-165.5q0-118.5 68-198q-13.5-41 -13.5-85q0-58 25.5-109q 54,0 95,19.75t 94.5,61.75q 73.5-17.5 154.5-17.5q 74,0 140,16q 52.5-41 93.5-60.5t 94.5-19.5q 25.5,51 25.5,109 q0,43.5 -13.5,84q 68,80 68,199z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"reply, arrow, left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,560q0,83 -63.5,225.5q-1.5,3.5 -5.25,12t-6.75,15t-6.5,11q-6,8.5 -14,8.5q-7.5,0 -11.75-5t-4.25-12.5q0-4.5 1.25-13.25t 1.25-11.75q 2.5-34 2.5-61.5q0-50.5 -8.75-90.5t-24.25-69.25t-40-50.5t-52.75-34.75t-66.5-21.25t-77-10.75t-87.75-3l-112,0 l0,128 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5 l-256-256q-9.5-9.5 -9.5-22.5t 9.5-22.5l 256-256q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5l0,128 l 112,0 q 356.5,0 437.5,201.5q 26.5,67 26.5,166.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"784\" height=\"896\" viewBox=\"0 0 784 896\" data-du=\"\" data-tags=\"spinner, loading, busy, progress\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 248,672q0,30 -21.25,51t-50.75,21q-30,0 -51-21t-21-51t 21-51t 51-21q 29.5,0 50.75,21t 21.25,51zM 464,768q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 160,448q0,33 -23.5,56.5t-56.5,23.5t-56.5-23.5t-23.5-56.5 t 23.5-56.5t 56.5-23.5t 56.5,23.5t 23.5,56.5zM 680,672q0,23 -16.5,39.5t-39.5,16.5t-39.5-16.5t-16.5-39.5t 16.5-39.5t 39.5-16.5t 39.5,16.5t 16.5,39.5zM 264,224q0,36.5 -25.75,62.25t-62.25,25.75t-62.25-25.75t-25.75-62.25t 25.75-62.25t 62.25-25.75t 62.25,25.75t 25.75,62.25zM 496,128q0,40 -28,68t-68,28 t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 768,448q0,20 -14,34t-34,14t-34-14t-14-34t 14-34t 34-14t 34,14t 14,34zM 664,224q0,16.5 -11.75,28.25t-28.25,11.75t-28.25-11.75t-11.75-28.25t 11.75-28.25t 28.25-11.75t 28.25,11.75t 11.75,28.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"quote-right, rdquo\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,160l0,352 q0,52 -20.25,99.25t-54.75,81.75t-81.75,54.75t-99.25,20.25l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 q 53,0 90.5-37.5t 37.5-90.5l0-16 q0-20 -14-34t-34-14l-112,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 192,0 q 40,0 68,28t 28,68zM 832,160 l0,352 q0,52 -20.25,99.25t-54.75,81.75t-81.75,54.75t-99.25,20.25l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 q 53,0 90.5-37.5t 37.5-90.5l0-16 q0-20 -14-34t-34-14l-112,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 192,0 q 40,0 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"quote-left, ldquo\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,480l0,192 q0,40 -28,68t-68,28l-192,0 q-40,0 -68-28t-28-68l0-352 q0-52 20.25-99.25t 54.75-81.75t 81.75-54.75t 99.25-20.25l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-53,0 -90.5,37.5t-37.5,90.5l0,16 q0,20 14,34t 34,14l 112,0 q 40,0 68,28t 28,68z M 832,480l0,192 q0,40 -28,68t-68,28l-192,0 q-40,0 -68-28t-28-68l0-352 q0-52 20.25-99.25t 54.75-81.75t 81.75-54.75t 99.25-20.25l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-53,0 -90.5,37.5t-37.5,90.5l0,16 q0,20 14,34t 34,14l 112,0 q 40,0 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-blank\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,176q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5t-36.5-136.5t-99-99t-136.5-36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5 t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"mobile, phone\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 232,704q0-16.5 -11.75-28.25t-28.25-11.75t-28.25,11.75t-11.75,28.25t 11.75,28.25t 28.25,11.75t 28.25-11.75t 11.75-28.25zM 336,624l0-352 q0-6.5 -4.75-11.25t-11.25-4.75l-256,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 256,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 240,200 q0-8 -8-8l-80,0 q-8,0 -8,8t 8,8l 80,0 q 8,0 8-8zM 384,192l0,512 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-512 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"tablet, mobile\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 320,704q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 512,624l0-480 q0-6.5 -4.75-11.25t-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,480 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 576,144l0,544 q0,33 -23.5,56.5t-56.5,23.5l-416,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 416,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"laptop, computer, notebook\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 208,640q-33,0 -56.5-23.5t-23.5-56.5l0-352 q0-33 23.5-56.5t 56.5-23.5l 544,0 q 33,0 56.5,23.5t 23.5,56.5l0,352 q0,33 -23.5,56.5t-56.5,23.5l-544,0 zM 192,208l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 544,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 q0-6.5 -4.75-11.25t-11.25-4.75l-544,0 q-6.5,0 -11.25,4.75t-4.75,11.25z M 880,672l 80,0 l0,48 q0,20 -23.5,34t-56.5,14l-800,0 q-33,0 -56.5-14t-23.5-34l0-48 l 80,0 l 800,0 zM 520,720q 8,0 8-8t-8-8l-80,0 q-8,0 -8,8t 8,8l 80,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"desktop, computer, screen, display, pc\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 896,496l0-416 q0-6.5 -4.75-11.25t-11.25-4.75l-800,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,416 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 960,80l0,544 q0,33 -23.5,56.5t-56.5,23.5l-272,0 q0,18.5 8,38.75t 16,35.5t 8,21.75q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5 t-9.5-22.5q0-7 8-22t 16-35t 8-39l-272,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"angle-down, arrow, down\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,368q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 196.5,196.5l 196.5-196.5q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"angle-up, arrow, up\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,592q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-196.5-196.5l-196.5,196.5q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"angle-right, arrow, right\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 297.5,480q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"angle-left, arrow, left\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 313.5,272q0,6.5 -5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5t-5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"double-angle-down, down, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,432q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 196.5,196.5l 196.5-196.5q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5zM 537.5,240q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5 t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 196.5,196.5l 196.5-196.5q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"double-angle-up, up, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,656q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-196.5-196.5l-196.5,196.5q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5zM 537.5,464q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-196.5-196.5l-196.5,196.5 q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"double-angle-right, right, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 297.5,480q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5zM 489.5,480q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5 l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"double-angle-left, left, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 313.5,688q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5t-5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5zM 505.5,688q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5 t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5t-5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"plus-sign, add, sum\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-160,0 l0-160 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,160 l-160,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 160,0 l0,160 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-160 l 160,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"h-sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,672l0-448 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,160 l-256,0 l0-160 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,448 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-160 l 256,0 l0,160 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"beer, mug, drink\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,448l0-192 l-128,0 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 64,0 zM 832,672l0,96 l-576,0 l0-96 l 64-96l-64,0 q-79.5,0 -135.75-56.25t-56.25-135.75l0-160 l-32-32l 16-64l 240,0 l 16-64l 480,0 l 16,96l-32,16l0,400 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"fighter-jet, pane, aircraft\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 960,480q-0.5,16 -144,48l-176,16l-112,32l-32,0 l-146.5,176l 34.5,0 q 13,0 22.5,2.25t 9.5,5.75t-9.5,5.75t-22.5,2.25l-48,0 l-80,0 l-32,0 l0-16 l 32,0 l0-208 l-80,0 l-96,112l-48,0 l-16-16l0-96 l 16,0 l0-16 l 64,0 l0-4 l-96-12l0-64 l 96-12l0-4 l-64,0 l0-16 l-16,0 l0-96 l 16-16l 48,0 l 96,112l 80,0 l0-208 l-32,0 l0-16 l 32,0 l 80,0 l 48,0 q 13,0 22.5,2.25t 9.5,5.75t-9.5,5.75t-22.5,2.25l-34.5,0 l 146.5,176l 32,0 l 112,32l 176,16q 130.5,29 143.5,46.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"medkit, medicine, kit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 640,560l0-96 q0-7 -4.5-11.5t-11.5-4.5l-112,0 l0-112 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,112 l-112,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 112,0 l0,112 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5l0-112 l 112,0 q 7,0 11.5-4.5t 4.5-11.5zM 320,192l 256,0 l0-64 l-256,0 l0,64 zM 128,192l0,640 l-16,0 q-46,0 -79-33t-33-79l0-416 q0-46 33-79t 79-33l 16,0 zM 720,192l0,640 l-544,0 l0-640 l 80,0 l0-80 q0-20 14-34t 34-14l 288,0 q 20,0 34,14t 14,34l0,80 l 80,0 zM 896,304l0,416 q0,46 -33,79t-79,33l-16,0 l0-640 l 16,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"ambulance\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 320,704q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 128,448l 192,0 l0-128 l-79,0 q-7,1 -11,4.5l-97.5,97.5q-3.5,6 -4.5,11l0,15 zM 768,704q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75 t 45.25-18.75t 18.75-45.25zM 832,368l0-96 q0-7 -4.5-11.5t-11.5-4.5l-112,0 l0-112 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,112 l-112,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 112,0 l0,112 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5l0-112 l 112,0 q 7,0 11.5-4.5t 4.5-11.5zM 960,96l0,576 q0,13 -9.5,22.5t-22.5,9.5l-96,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-192,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l0-208 q0-13 6.5-29t 16-25.5l 99-99q 9.5-9.5 25.5-16t 29-6.5l 80,0 l0-160 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"hospital, building\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,832l 192,0 l0-576 l-128,0 l0,16 q0,20 -14,34t-34,14l-224,0 q-20,0 -34-14t-14-34l0-16 l-128,0 l0,576 l 192,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 zM 448,240l0-160 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-64,0 l0-48 q0-6.5 -4.75-11.25 t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 64,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 704,224l0,640 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-640 q0-13 9.5-22.5t 22.5-9.5l 160,0 l0-144 q0-20 14-34t 34-14l 224,0 q 20,0 34,14t 14,34l0,144 l 160,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"building, office, work\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,832l 192,0 l0-768 l-576,0 l0,768 l 192,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 zM 704,32l0,832 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-832 q0-13 9.5-22.5t 22.5-9.5l 640,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file-alt, paper, document\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 512,592l0,32 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 352,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,464l0,32 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 352,0 q 7,0 11.5,4.5t 4.5,11.5zM 64,768l 512,0 l0-384 l-208,0 q-20,0 -34-14t-14-34l0-208 l-256,0 l0,640 z M 384,320l 188,0 q-5-14.5 -11-20.5l-156.5-156.5q-6-6 -20.5-11l0,188 zM 640,336l0,448 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 320,0 q 20,0 44,10t 38,24l 156,156q 14,14 24,38t 10,44z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"food, lunch, fork, knife, dinner\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 320,32l0,320 q0,30.5 -17.75,55.5t-46.25,35l0,389.5 q0,26 -19,45t-45,19l-64,0 q-26,0 -45-19t-19-45l0-389.5 q-28.5-10 -46.25-35t-17.75-55.5l0-320 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,208 q0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-208 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,208 q0,13 9.5,22.5 t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-208 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5zM 704,32l0,800 q0,26 -19,45t-45,19l-64,0 q-26,0 -45-19t-19-45l0-256 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-400 q0-66 47-113t 113-47l 128,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"coffee, break, drink, cup, tea\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 832,320q0-40 -28-68t-68-28l-32,0 l0,192 l 32,0 q 40,0 68-28t 28-68zM0,704l 896,0 q0,53 -37.5,90.5t-90.5,37.5l-640,0 q-53,0 -90.5-37.5t-37.5-90.5zM 928,320q0,79.5 -56.25,135.75t-135.75,56.25l-32,0 l0,16 q0,46 -33,79t-79,33l-352,0 q-46,0 -79-33t-33-79l0-368 q0-13 9.5-22.5 t 22.5-9.5l 576,0 q 79.5,0 135.75,56.25t 56.25,135.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"bell-alt, alarm, notification\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 424,848q0-8 -8-8q-29.5,0 -50.75-21.25t-21.25-50.75q0-8 -8-8t-8,8q0,36.5 25.75,62.25t 62.25,25.75q 8,0 8-8zM 832,704q0,26 -19,45t-45,19l-224,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-224,0 q-26,0 -45-19t-19-45q 95-80.5 143.5-198.75t 48.5-249.25 q0-82.5 48-131t 132-58.5q-4-9 -4-18.5q0-20 14-34t 34-14t 34,14t 14,34q0,9.5 -4,18.5q 84,10 132,58.5t 48,131q0,131 48.5,249.25t 143.5,198.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"suitcase, briefcase, travel, vacation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,192l 256,0 l0-64 l-256,0 l0,64 zM 144,192l0,640 l-32,0 q-46,0 -79-33t-33-79l0-416 q0-46 33-79t 79-33l 32,0 zM 704,192l0,640 l-512,0 l0-640 l 64,0 l0-80 q0-20 14-34t 34-14l 288,0 q 20,0 34,14t 14,34l0,80 l 64,0 zM 896,304l0,416 q0,46 -33,79t-79,33l-32,0 l0-640 l 32,0 q 46,0 79,33 t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"stethoscope\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 640,352q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,352q0,31 -17.75,55.5t-46.25,35l0,197.5 q0,79.5 -65.75,135.75t-158.25,56.25t-158.25-56.25t-65.75-135.75l0-66 q-82-10 -137-64t-55-126l0-256 q0-13 9.5-22.5t 22.5-9.5q 3,0 8,1q 8.5-15 23.5-24 t 32.5-9q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75q-16.5,0 -32-9l0,201 q0,53 47,90.5t 113,37.5t 113-37.5t 47-90.5l0-201 q-15.5,9 -32,9q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32.5,9t 23.5,24q 5-1 8-1q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,72 -55,126 t-137,64l0,66 q0,53 47,90.5t 113,37.5t 113-37.5t 47-90.5l0-197.5 q-28.5-10.5 -46.25-35t-17.75-55.5q0-40 28-68t 68-28t 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"user-md, medic, doctor\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,672q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5zM 704,702.5q0,60.5 -36.5,95t-97,34.5l-437,0 q-60.5,0 -97-34.5t-36.5-95q0-34 2.75-65.5t 12-69t 23.75-66.25t 40.5-51.5t 60-30.25q-11,26 -11,60l0,101.5 q-29,10 -46.5,35t-17.5,55.5q0,40 28,68t 68,28 t 68-28t 28-68q0-30.5 -17.75-55.5t-46.25-35l0-101.5 q0-31 12.5-46.5q 66,52 147.5,52t 147.5-52q 12.5,15.5 12.5,46.5l0,32 q-53,0 -90.5,37.5t-37.5,90.5l0,44.5 q-16,14.5 -16,35.5q0,20 14,34t 34,14t 34-14t 14-34q0-21 -16-35.5l0-44.5 q0-26 19-45t 45-19t 45,19t 19,45l0,44.5 q-16,14.5 -16,35.5q0,20 14,34 t 34,14t 34-14t 14-34q0-21 -16-35.5l0-44.5 q0-34 -17.25-63.75t-46.75-46.75q0-5 0.25-21.25t0-24t-1.25-20.75t-3.5-23.5t-6.5-20q 34,7.5 60,30.25t 40.5,51.5t 23.75,66.25t 12,69t 2.75,65.5zM 544,256q0,79.5 -56.25,135.75t-135.75,56.25t-135.75-56.25t-56.25-135.75t 56.25-135.75t 135.75-56.25 t 135.75,56.25t 56.25,135.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cloud-upload, upload, load, open\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 640,432q0-7 -4.5-11.5l-176-176q-4.5-4.5 -11.5-4.5t-11.5,4.5l-175.5,175.5q-5,6 -5,12q0,7 4.5,11.5t 11.5,4.5l 112,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-176 l 112,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 960,576q0,79.5 -56.25,135.75t-135.75,56.25l-544,0 q-92.5,0 -158.25-65.75t-65.75-158.25q0-65 35-120t 94-82.5q-1-15 -1-21.5q0-106 75-181t 181-75q 78,0 142.75,43.5t 94.25,115.5q 35.5-31 83-31q 53,0 90.5,37.5t 37.5,90.5q0,38 -20.5,69q 65,15.5 106.75,67.75t 41.75,119.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cloud-download, download, store, save\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 640,464q0-7 -4.5-11.5t-11.5-4.5l-112,0 l0-176 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 l-112,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,7 4.5,11.5l 176,176q 4.5,4.5 11.5,4.5t 11.5-4.5l 175.5-175.5q 5-6 5-12zM 960,576q0,79.5 -56.25,135.75t-135.75,56.25l-544,0 q-92.5,0 -158.25-65.75t-65.75-158.25q0-65 35-120t 94-82.5q-1-15 -1-21.5q0-106 75-181t 181-75q 78,0 142.75,43.5t 94.25,115.5q 35.5-31 83-31q 53,0 90.5,37.5t 37.5,90.5q0,38 -20.5,69q 65,15.5 106.75,67.75t 41.75,119.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"exchange, transfer, tab, traffic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,592l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-688,0 l0,96 q0,6.5 -4.75,11.25t-11.25,4.75q-6,0 -12-5l-159.5-160q-4.5-4.5 -4.5-11q0-7 4.5-11.5l 160-160q 4.5-4.5 11.5-4.5q 6.5,0 11.25,4.75t 4.75,11.25l0,96 l 688,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,320q0,7 -4.5,11.5l-160,160q-4.5,4.5 -11.5,4.5 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 l-688,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 688,0 l0-96 q0-7 4.5-11.5t 11.5-4.5q 6,0 12,5l 159.5,159.5q 4.5,4.5 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"lightbulb, idea, tip\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 368,288q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25q0-23 -27-35.5t-53-12.5q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75q 25,0 49.75,8t 43.5,27t 18.75,45zM 448,288q0-36 -17.25-67t-45-50.75t-61.5-31t-68.25-11.25t-68.25,11.25t-61.5,31t-45,50.75t-17.25,67 q0,50.5 34,90q 5,5.5 15.25,16.5t 15.25,16.5q 64,76.5 70.5,149l 114,0 q 6.5-72.5 70.5-149q 5-5.5 15.25-16.5t 15.25-16.5q 34-39.5 34-90zM 512,288q0,77.5 -51.5,134q-22.5,24.5 -37.25,43.5t-29.75,47.75t-17,53.75q 23.5,14 23.5,41q0,18.5 -12.5,32q 12.5,13.5 12.5,32q0,26 -22.5,40.5q 6.5,11.5 6.5,23.5 q0,23 -15.75,35.5t-38.75,12.5q-10,22 -30,35t-43.5,13t-43.5-13t-30-35q-23,0 -38.75-12.5t-15.75-35.5q0-12 6.5-23.5q-22.5-14.5 -22.5-40.5q0-18.5 12.5-32q-12.5-13.5 -12.5-32q0-27 23.5-41q-2-25 -17-53.75t-29.75-47.75t-37.25-43.5q-51.5-56.5 -51.5-134q0-49.5 22.25-92.25t 58.5-71t 82-44.5t 93.25-16.25 t 93.25,16.25t 82,44.5t 58.5,71t 22.25,92.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"paste, clipboard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,832l 448,0 l0-320 l-208,0 q-20,0 -34-14t-14-34l0-208 l-192,0 l0,576 zM 512,112l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 640,448l 149.5,0 l-149.5-149.5l0,149.5 zM 896,512l0,336 q0,20 -14,34t-34,14 l-480,0 q-20,0 -34-14t-14-34l0-80 l-272,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 544,0 q 20,0 34,14t 14,34l0,164 q 10.5,6.5 18,14l 204,204q 14,14 24,38t 10,44z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"umbrella, rainy\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448,414l0,290 q0,52 -38,90t-90,38t-90-38t-38-90q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5q0,25 19.5,44.5t 44.5,19.5t 44.5-19.5t 19.5-44.5l0-290 q 16.5-5.5 32-5.5t 32,5.5zM 832,427.5q0,6.5 -4.75,11.25t-11.25,4.75q-5.5,0 -11.5-5q-24.5-23 -46.5-34.5t-51-11.5q-34,0 -64,18.5t-51.5,48.5 q-3.5,5 -8.75,14t-7.25,12q-5.5,8.5 -14,8.5q-9,0 -14.5-8.5q-2-3 -7.25-12t-8.75-14q-21.5-30 -51.25-48.5t-63.75-18.5t-63.75,18.5t-51.25,48.5q-3.5,5 -8.75,14t-7.25,12q-5.5,8.5 -14.5,8.5q-8.5,0 -14-8.5q-2-3 -7.25-12t-8.75-14q-21.5-30 -51.5-48.5t-64-18.5q-29,0 -51,11.5t-46.5,34.5 q-6,5 -11.5,5q-6.5,0 -11.25-4.75t-4.75-11.25q0-2.5 0.5-3.5q 22.5-91.5 86.25-159.75t 149-102.25t 180.25-34q 70,0 137.25,20t 123.25,56.75t 97.25,93.5t 57.75,125.75q 0.5,1 0.5,3.5zM 448,64l0,49 q-21-1 -32-1t-32,1l0-49 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sitemap, tree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,624l0,160 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 48,0 l0-96 l-256,0 l0,96 l 48,0 q 20,0 34,14t 14,34l0,160 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 48,0 l0-96 l-256,0 l0,96 l 48,0 q 20,0 34,14t 14,34l0,160 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 48,0 l0-96 q0-26 19-45t 45-19l 256,0 l0-96 l-48,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34l0,160 q0,20 -14,34t-34,14l-48,0 l0,96 l 256,0 q 26,0 45,19t 19,45l0,96 l 48,0 q 20,0 34,14t 14,34 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"448\" height=\"896\" viewBox=\"0 0 448 896\" data-du=\"\" data-tags=\"bolt, lightning, power, electricity, energy\" style=\"margin-left: 12px; margin-top: 8px;\"><path d=\"M 442.5,283q 9,10 3.5,22l-270,578.5q-6.5,12.5 -21,12.5q-2,0 -7-1q-8.5-2.5 -12.75-9.5t-2.25-15l 98.5-404l-203,50.5q-2,0.5 -6,0.5q-9,0 -15.5-5.5q-9-7.5 -6.5-19.5l 100.5-412.5q 2-7 8-11.5t 14-4.5l 164,0 q 9.5,0 16,6.25t 6.5,14.75q0,4 -2.5,9l-85.5,231.5l 198-49q 4-1 6-1q 9.5,0 17,7.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comments-alt, chat, talk, bubbles\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,192q-76.5,0 -143,26t-105.75,70.5t-39.25,95.5q0,41 26.5,79t 74.5,66l 48.5,28l-17.5,42q 17-10 31-19.5l 22-15.5l 26.5,5q 39,7 76.5,7q 76.5,0 143-26t 105.75-70.5t 39.25-95.5t-39.25-95.5t-105.75-70.5t-143-26zM 352,128q 95.5,0 176.75,34.25t 128.25,93.25t 47,128.5t-47,128.5 t-128.25,93.25t-176.75,34.25q-43,0 -88-8q-62,44 -139,64q-18,4.5 -43,8l-1.5,0 q-5.5,0 -10.25-4t-5.75-10.5q-0.5-1.5 -0.5-3.25t 0.25-3.25t 1-3l 1.25-2.5t 1.75-2.75t 2-2.5t 2.25-2.5t 2-2.25q 2.5-3 11.5-12.5t 13-14.75t 11.25-14.5t 12.5-19.25t 10.25-22q-62-36 -97.5-88.5t-35.5-112q0-69.5 47-128.5t 128.25-93.25 t 176.75-34.25zM 763,712.5q 5,12 10.25,22t 12.5,19.25t 11.25,14.5t 13,14.75t 11.5,12.5q 0.5,0.5 2,2.25t 2.25,2.5t 2,2.5t 1.75,2.75l 1.25,2.5t 1,3t 0.25,3.25t-0.5,3.25q-1.5,7 -6.5,11t-11,3.5q-25-3.5 -43-8q-77-20 -139-64q-45,8 -88,8q-135.5,0 -236-66q 29,2 44,2q 80.5,0 154.5-22.5t 132-64.5 q 62.5-46 96-106t 33.5-127q0-38.5 -11.5-76q 64.5,35.5 102,89t 37.5,115q0,60 -35.5,112.25t-97.5,88.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comment-alt, chat, talk, bubble\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,192q-102,0 -190.75,34.75t-141,93.75t-52.25,127.5q0,56 35.75,106.75t 100.75,87.75l 43.5,25l-13.5,48q-12,45.5 -35,86q 76-31.5 137.5-85.5l 21.5-19l 28.5,3q 34.5,4 65,4q 102,0 190.75-34.75t 141-93.75t 52.25-127.5t-52.25-127.5t-141-93.75t-190.75-34.75zM 896,448 q0,87 -60,160.75t-163,116.5t-225,42.75q-35,0 -72.5-4q-99,87.5 -230,121q-24.5,7 -57,11l-2.5,0 q-7.5,0 -13.5-5.25t-8-13.75l0-0.5 q-1.5-2 -0.25-6t 1-5t 2.25-4.75l 3-4.5t 3.5-4.25t 4-4.5q 3.5-4 15.5-17.25t 17.25-19t 15.5-19.75t 16.25-25.5t 13.5-29.5t 13-38q-78.5-44.5 -123.75-110t-45.25-140.5q0-87 60-160.75 t 163-116.5t 225-42.75t 225,42.75t 163,116.5t 60,160.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"dashboard, meter, speed\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,576q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 288,352q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 502,592.5l 50.5-191q 3-13 -3.75-24.25t-19.25-14.75 t-24,3.25t-15,19.75l-50.5,191q-30,2.5 -53.5,21.75t-31.5,49.25q-10,38.5 10,73t 58.5,44.5t 73-10t 44.5-58.5q 8-30 -3-58.5t-36-45.5zM 832,576q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 512,256q0-26.5 -18.75-45.25 t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 736,352q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 896,576q0,130.5 -70.5,241.5q-9.5,14.5 -27,14.5l-701,0 q-17.5,0 -27-14.5 q-70.5-110.5 -70.5-241.5q0-91 35.5-174t 95.5-143t 143-95.5t 174-35.5t 174,35.5t 143,95.5t 95.5,143t 35.5,174z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"legal, hammer, rules\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 885.5,768q0,26.5 -18.5,45l-53.5,54q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-181.5-182q-19-18 -19-45q0-26.5 21.5-48l-128-128l-63,63q-7,7 -17,7t-17-7q 1,1 6.25,6t 6.25,6.5t 5,5.75t 5,6.75t 3,6.75t 2.75,8.25t 0.75,9q0,19 -14,34q-1.5,1.5 -8.25,9t-9.5,10.25 t-9.25,8.25t-11,7.75t-11,4.5t-13,2.25q-20,0 -34-14l-204-204q-14-14 -14-34q0-6.5 2.25-13t 4.5-11t 7.75-11t 8.25-9.25t 10.25-9.5t 9-8.25q 15-14 34-14q 5,0 9,0.75t 8.25,2.75t 6.75,3t 6.75,5t 5.75,5t 6.5,6.25t 6,6.25q-7-7 -7-17t 7-17l 174-174q 7-7 17-7t 17,7 q-1-1 -6.25-6t-6.25-6.5t-5-5.75t-5-6.75t-3-6.75t-2.75-8.25t-0.75-9q0-19 14-34q 1.5-1.5 8.25-9t 9.5-10.25t 9.25-8.25t 11-7.75t 11-4.5t 13-2.25q 20,0 34,14l 204,204q 14,14 14,34q0,6.5 -2.25,13t-4.5,11t-7.75,11t-8.25,9.25t-10.25,9.5t-9,8.25q-15,14 -34,14 q-5,0 -9-0.75t-8.25-2.75t-6.75-3t-6.75-5t-5.75-5t-6.5-6.25t-6-6.25q 7,7 7,17t-7,17l-63,63l 128,128q 21.5-21.5 48-21.5q 26,0 45.5,18.5l 181.5,181.5q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"undo, arrow, loop\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,78 -30.5,149t-82,122.5t-122.5,82t-149,30.5q-86,0 -163.5-36.25t-132-102.25q-3.5-5 -3.25-11.25t 4.25-10.25l 68.5-69q 5-4.5 12.5-4.5q 8,1 11.5,6q 36.5,47.5 89.5,73.5t 112.5,26q 52,0 99.25-20.25t 81.75-54.75t 54.75-81.75t 20.25-99.25t-20.25-99.25t-54.75-81.75 t-81.75-54.75t-99.25-20.25q-49,0 -94,17.75t-80,50.75l 68.5,69q 15.5,15 7,34.5q-8.5,20 -29.5,20l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-21 20-29.5q 19.5-8.5 34.5,7l 65,64.5q 53.5-50.5 122.25-78.25t 142.25-27.75q 78,0 149,30.5t 122.5,82t 82,122.5t 30.5,149z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"linkedin, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 174.5,312.5l0,495.5 l-165,0 l0-495.5 l 165,0 zM 185,159.5q 0.5,36.5 -25.25,61t-67.75,24.5l-1,0 q-41,0 -66-24.5t-25-61q0-37 25.75-61.25t 67.25-24.25t 66.5,24.25t 25.5,61.25zM 768,524l0,284 l-164.5,0 l0-265 q0-52.5 -20.25-82.25t-63.25-29.75q-31.5,0 -52.75,17.25t-31.75,42.75q-5.5,15 -5.5,40.5l0,276.5 l-164.5,0 q 1-199.5 1-323.5t-0.5-148l-0.5-24l 164.5,0 l0,72 l-1,0 q 10-16 20.5-28t 28.25-26t 43.5-21.75t 57.25-7.75q 85.5,0 137.5,56.75t 52,166.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"envelope-alt, letter, email, mail, contact\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,355l0,397 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-397 q 22,24.5 50.5,43.5q 181,123 248.5,172.5q 28.5,21 46.25,32.75t 47.25,24t 55,12.25l 0.5,0 l 0.5,0 q 25.5,0 55-12.25t 47.25-24t 46.25-32.75q 85-61.5 249-172.5q 28.5-19.5 50-43.5zM 896,208q0,39.5 -24.5,75.5t-61,61.5 q-188,130.5 -234,162.5q-5,3.5 -21.25,15.25t-27,19t-26,16.25t-28.75,13.5t-25,4.5l-0.5,0 l-0.5,0 q-11.5,0 -25-4.5t-28.75-13.5t-26-16.25t-27-19t-21.25-15.25q-45.5-32 -131-91.25t-102.5-71.25q-31-21 -58.5-57.75t-27.5-68.25q0-39 20.75-65t 59.25-26l 736,0 q 32.5,0 56.25,23.5t 23.75,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"sort-up\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,352q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"sort-down\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,544q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"sort, menu, dropdown, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,544q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5zM 512,352q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"columns, layout\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 80,768l 304,0 l0-576 l-320,0 l0,560 q0,6.5 4.75,11.25t 11.25,4.75zM 768,752l0-560 l-320,0 l0,576 l 304,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 832,144l0,608 q0,33 -23.5,56.5t-56.5,23.5l-672,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 672,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"caret-right, right, arrow, next\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 288,448q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"caret-left, previous, arrow, left\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 320,224l0,448 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"caret-up, upload, top, arrow\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,608q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"caret-down, download, bottom, arrow\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,352q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"money, bill\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 384,576l 192,0 l0-48 l-64,0 l0-224 l-57,0 l-74,68.5l 38.5,40q 21-18.5 27.5-28.5l 1,0 l0,144 l-64,0 l0,48 zM 640,448q0,35 -10.5,71t-29.75,67t-50.75,50.5t-69,19.5t-69-19.5t-50.75-50.5t-29.75-67t-10.5-71t 10.5-71t 29.75-67t 50.75-50.5t 69-19.5t 69,19.5t 50.75,50.5t 29.75,67t 10.5,71zM 896,576 l0-256 q-53,0 -90.5-37.5t-37.5-90.5l-576,0 q0,53 -37.5,90.5t-90.5,37.5l0,256 q 53,0 90.5,37.5t 37.5,90.5l 576,0 q0-53 37.5-90.5t 90.5-37.5zM 960,160l0,576 q0,13 -9.5,22.5t-22.5,9.5l-896,0 q-13,0 -22.5-9.5t-9.5-22.5l0-576 q0-13 9.5-22.5t 22.5-9.5l 896,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"google-plus, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 438,732.5q0-10.5 -2.25-20.25t-4.75-18t-8.75-17.25t-10.5-15.25t-13.25-14.75t-13.75-12.75t-16-12.75t-15.5-11.5t-16.5-11.5t-15.25-10.5q-8.5-1 -25-1q-27,0 -53,3.5t-54,12.5t-49,23t-34.5,37.5t-13.5,53.5q0,34 17.75,60.75t 46.5,42t 60.25,22.75t 63.5,7.5q 29.5,0 56.25-6.25t 50.25-19.5t 37.25-36.75 t 13.75-55zM 378,301.5q0-30 -8.25-63.75t-23.5-65.25t-42-52t-59.75-20.5q-46.5,0 -72,34.5t-25.5,82.5q0,23.5 5.75,49.5t 17.75,52t 28,46.75t 39,33.75t 48.5,13q 48.5,0 70.25-30.25t 21.75-80.25zM 312.5,64l 218.5,0 l-67.5,39.5l-67.5,0 q 35.5,22.5 55,63t 19.5,84.5q0,37 -11.5,65.75t-28,46.25t-33,32.25 t-28,30.5t-11.5,33.75q0,13 8.25,25.5t 21.5,24t 29.25,24t 32,27.75t 29.25,33t 21.5,42.5t 8.25,53.25q0,80 -70,141q-76,65.5 -210,65.5q-29.5,0 -59.75-5t-61-16.75t-54.25-29t-38.5-44.5t-15-60.75q0-30.5 18.5-67.5q 16-32 48-55.25t 72.5-35.5t 77.5-18t 75-6.75q-32-41.5 -32-74.5q0-6 1-11.75 t 2.5-9.75t 4-10.75t 3.5-10.75q-20,2.5 -35,2.5q-74.5,0 -127.75-49t-53.25-123q0-70 47.5-125.25t 117-70.75q 47-10 93.5-10zM 832,192l0,64 l-128,0 l0,128 l-64,0 l0-128 l-128,0 l0-64 l 128,0 l0-128 l 64,0 l0,128 l 128,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"google-plus-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 339,796.5q0,19 -5,35.5l-190,0 q-47.5,0 -85.75-28.25t-51.75-73.75q 12-22.5 34.5-38.75t 50-24.75t 53.5-12t 53.5-3.5q 16,0 24.5,1q 3,2 15.25,10.5t 16.5,11.5t 15.5,11.5t 16,12.75t 13.75,12.75t 13.25,14.75t 10.5,15.25t 8.75,17.25t 4.75,18t 2.25,20.25zM 192.5,621q-117,3.5 -192.5,42.5l0-216.5 q 51.5,59 136.5,59 q 16,0 35-2.5q-10.5,30.5 -10.5,43q0,33.5 31.5,74.5zM 279,365.5q0,50 -21.75,80.25t-70.25,30.25q-25.5,0 -48.5-13t-39-33.75t-28-46.75t-17.75-52t-5.75-49.5q0-48 25.75-82.5t 72.25-34.5q 33,0 59.5,20.5t 42,52t 23.5,65t 8,64zM 768,320l0,368 q0,59.5 -42.25,101.75t-101.75,42.25l-234,0 q 19.5-36.5 19.5-78.5q0-33 -11-61.25t-27.75-46.5t-36-35.5t-36-29.75t-27.75-27.25t-11-29.75q0-18 11.5-34t 28-30.75t 32.75-32.25t 27.75-46.5t 11.5-65.5t-13.25-72.75t-37.75-59.25q-3-3 -7-5.5t-6.25-3.75t-5-4.75t-5.25-8.5l 67.5,0 l 67.5-32l-218.5,0 q-69,0 -122.25,19.25t-91.25,66.75q0-63 40.5-106.5t 103.5-43.5l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75l0,48 l-128,0 l0-128 l-64,0 l0,128 l-128,0 l0,64 l 128,0 l0,128 l 64,0 l0-128 l 128,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pinterest-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 624,64q 59.5,0 101.75,42.25t 42.25,101.75l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-362.5,0 q 42.5-61 54-105q 4.5-17 26.5-104.5q 10.5,19.5 36.75,33.5t 56.25,14q 90.5,0 147.75-73.75t 57.25-186.75q0-42 -17.5-81.25t-48.25-69.5t-76.25-48.5t-98.5-18.25q-52,0 -97.25,14.25t-76.5,38.25 t-53.75,54.75t-33.25,64t-10.75,66.25q0,51 19.75,90t 58.25,55q 6.5,2.5 11.75,0t 7.25-9.5q 5-22 7.5-30.5q 3-11.5 -5.5-21q-25-31 -25-75q0-75 51.75-128.25t 135.25-53.25q 74.5,0 116.25,40.5t 41.75,105q0,84 -33.75,143t-86.75,59q-30,0 -48.5-21.75t-11.5-51.75q 4-17 13.25-46.25 t 14.75-51t 5.5-37.25q0-24.5 -13.25-40.75t-37.75-16.25q-30.5,0 -51.75,28.25t-21.25,69.75q0,36 12,60.5l-49,207q-12,50 -3.5,127l-91.5,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pinterest, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5q-55.5,0 -109-16q 29.5-46.5 39-82q 4.5-17 27-105.5q 10,19.5 36.5,33.75t 57,14.25q 60.5,0 108-34.25t 73.5-94.25t 26-135q0-57 -29.75-107t-86.25-81.5t-127.5-31.5q-52.5,0 -98,14.5t-77.25,38.5t-54.5,55.25t-33.5,64.75t-10.75,67 q0,52 20,91.5t 58.5,55.5q 15,6 19-10q 1-3.5 4-15.5t 4-15q 3-11.5 -5.5-21.5q-25.5-30.5 -25.5-75.5q0-75.5 52.25-129.75t 136.75-54.25q 75.5,0 117.75,41t 42.25,106.5q0,85 -34.25,144.5t-87.75,59.5q-30.5,0 -49-21.75t-11.5-52.25q 4-17.5 13.25-46.75t 15-51.5t 5.75-37.75q0-25 -13.5-41.5t-38.5-16.5 q-31,0 -52.5,28.5t-21.5,71q0,36.5 12.5,61l-49.5,209q-8.5,35 -6.5,88.5q-103-45.5 -166.5-140.5t-63.5-211.5q0-104.5 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"truck, transfer, transport\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,704q0-26 -19-45t-45-19t-45,19t-19,45t 19,45t 45,19t 45-19t 19-45zM 128,448l 192,0 l0-128 l-79,0 q-6.5,0 -11,4.5l-97.5,97.5q-4.5,4.5 -4.5,11l0,15 zM 768,704q0-26 -19-45t-45-19t-45,19t-19,45t 19,45t 45,19t 45-19t 19-45zM 896,160l0,512 q0,7.5 -2,13.25t-6.75,9.25 t-8.25,5.75t-11.75,3t-11.25,1t-12.75,0t-11.25-0.25q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-192,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-32,0 q-1.5,0 -11.25,0.25t-12.75,0t-11.25-1t-11.75-3t-8.25-5.75t-6.75-9.25t-2-13.25q0-13 9.5-22.5t 22.5-9.5l0-160 q0-4 -0.25-17.5t0-19 t 1.25-17.25t 3.25-18.5t 7-15.25t 11.25-15l 99-99q 9.5-9.5 25.25-16t 29.25-6.5l 80,0 l0-96 q0-13 9.5-22.5t 22.5-9.5l 512,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"magic, wand, wizard\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 595,290.5l 146.5-146.5l-53.5-53.5l-146.5,146.5zM 818.5,144q0,13.5 -9,22.5l-643,643q-9,9 -22.5,9t-22.5-9l-99-99q-9-9 -9-22.5t 9-22.5l 643-643q 9-9 22.5-9t 22.5,9l 99,99q 9,9 9,22.5zM 143,49l 49,15l-49,15l-15,49l-15-49l-49-15l 49-15l 15-49zM 318,130 l 98,30l-98,30l-30,98l-30-98l-98-30l 98-30l 30-98zM 783,369l 49,15l-49,15l-15,49l-15-49l-49-15l 49-15l 15-49zM 463,49l 49,15l-49,15l-15,49l-15-49l-49-15l 49-15l 15-49z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"table, grid\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 256,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 256,496l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5 l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 256,304l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,496l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,304l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,496l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,304l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 832,144l0,544 q0,33 -23.5,56.5t-56.5,23.5l-672,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 672,0 q 33,0 56.5,23.5t 23.5,56.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"underline, editor, format\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 24,111.5q-18.5-1 -22.5-2l-1.5-44q 6.5-0.5 20-0.5q 30,0 56,2q 66,3.5 83,3.5q 43,0 84-1.5q 58-2 73-2.5q 28,0 43-1l-0.5,7l 1,32l0,4.5 q-30,4.5 -62,4.5q-30,0 -39.5,12.5q-6.5,7 -6.5,66q0,6.5 0.25,16.25t 0.25,12.75l 0.5,114.5l 7,140q 3,62 25.5,101q 17.5,29.5 48,46q 44,23.5 88.5,23.5 q 52,0 95.5-14q 28-9 49.5-25.5q 24-18 32.5-32q 18-28 26.5-57q 10.5-36.5 10.5-114.5q0-39.5 -1.75-64t-5.5-61.25t-6.75-79.75l-2-29.5q-2.5-33.5 -12-44q-17-17.5 -38.5-17l-50,1l-7-1.5l 1-43l 42,0 l 102.5,5q 38,1.5 98-5l 9,1q 3,19 3,25.5q0,3.5 -2,15.5q-22.5,6 -42,6.5q-36.5,5.5 -39.5,8.5q-7.5,7.5 -7.5,20.5 q0,3.5 0.75,13.5t 0.75,15.5q 4,9.5 11,198q 3,97.5 -7.5,152q-7.5,38 -20.5,61q-19,32.5 -56,61.5q-37.5,28.5 -91,44.5q-54.5,16.5 -127.5,16.5q-83.5,0 -142-23q-59.5-23.5 -89.5-61q-30.5-38 -41.5-97.5q-8-40 -8-118.5l0-166.5 q0-94 -8.5-106.5q-12.5-18 -73.5-19.5zM 768,816l0-32 q0-7 -4.5-11.5t-11.5-4.5l-736,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 q0,7 4.5,11.5t 11.5,4.5l 736,0 q 7,0 11.5-4.5t 4.5-11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"strikethrough, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 880,448q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-864,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 864,0 zM 241.5,416q-14-17.5 -25.5-40q-24-48.5 -24-94q0-90.5 67-154.5q 66.5-63.5 196.5-63.5q 25,0 83.5,9.5q 33,6 88.5,24q 5,19 10.5,59q 7,61.5 7,91.5q0,9 -2.5,22.5l-6,1.5l-42-3 l-7-1q-25-74.5 -51.5-102.5q-44-45.5 -105-45.5q-57,0 -91,29.5q-33.5,29 -33.5,73q0,36.5 33,70t 139.5,64.5q 34.5,10 86.5,33q 29,14 47.5,26l-371.5,0 zM 495,544l 205.5,0 q 3.5,19.5 3.5,46q0,55.5 -20.5,106q-11.5,27.5 -35.5,52q-18.5,17.5 -54.5,40.5q-40,24 -76.5,33q-40,10.5 -101.5,10.5q-57,0 -97.5-11.5 l-70-20q-28.5-8 -36-14q-4-4 -4-11l0-6.5 q0-54 -1-78q-0.5-15 0-34l 1-18.5l0-22 l 51-1q 7.5,17 15,35.5t 11.25,28t 6.25,13.5q 17.5,28.5 40,47q 21.5,18 52.5,28.5q 29.5,11 66,11q 32,0 69.5-13.5q 38.5-13 61-43q 23.5-30.5 23.5-64.5q0-42 -40.5-78.5q-17-14.5 -68.5-35.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list-ol, numbered list\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 190.5,810q0,40 -27.25,63t-67.75,23q-53,0 -86-33l 28.5-44q 24.5,22.5 53,22.5q 14.5,0 25.25-7.25t 10.75-21.25q0-32 -52.5-28l-13-28q 4-5 16.25-21.75t 21.25-27t 18.5-19.25l0-0.5 q-8,0 -24.25,0.5t-24.25,0.5l0,26.5 l-53,0 l0-76 l 166.5,0 l0,44 l-47.5,57.5q 25.5,6 40.5,24.5t 15,44zM 191.5,496.5l0,79.5 l-181,0 q-3-18 -3-27q0-25.5 11.75-46.5t 28.25-34t 33-23.75t 28.25-21.75t 11.75-22.5q0-12.5 -7.25-19.25t-19.75-6.75q-23,0 -40.5,29l-42.5-29.5q 12-25.5 35.75-39.75t 52.75-14.25q 36.5,0 61.5,20.75t 25,56.25q0,25 -17,45.75t-37.5,32.25t-37.75,25.25t-17.75,26.25l 63.5,0 l0-30 l 52.5,0 zM 896,656l0,96 q0,6.5 -4.75,11.25 t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-7 4.5-11.5t 11.5-4.5l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,206.5l0,49.5 l-167.5,0 l0-49.5 l 53.5,0 q0-20.5 0.25-61t 0.25-60.5l0-6 l-1,0 q-4,8.5 -25,27l-35.5-38l 68-63.5l 53,0 l0,202 l 54,0 zM 896,400l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75 t-4.75-11.25l0-96 q0-7 4.5-11.5t 11.5-4.5l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,144l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list-ul, bullets\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,704q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 192,448q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25 t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,192q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 896,400l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 896,144l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"reorder, list, menu\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 768,416l0,64 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 768,160l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"sign-blank, square\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"save, disk, floppy, store\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 192,768l 384,0 l0-192 l-384,0 l0,192 zM 640,768l 64,0 l0-448 q0-7 -5-19.25t-10-17.25l-140.5-140.5q-5-5 -17-10t-19.5-5l0,208 q0,20 -14,34t-34,14l-288,0 q-20,0 -34-14t-14-34l0-208 l-64,0 l0,640 l 64,0 l0-208 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,208 zM 448,304l0-160 q0-6.5 -4.75-11.25t-11.25-4.75 l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 768,320l0,464 q0,20 -14,34t-34,14l-672,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 464,0 q 20,0 44,10t 38,24l 140,140q 14,14 24,38t 10,44z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"paper-clip, attachment\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 702,692.5q0,58.5 -39.5,98t-98,39.5q-67.5,0 -117.5-50l-388.5-388q-56.5-57.5 -56.5-135.5q0-79.5 55-135t 134.5-55.5q 79,0 136.5,56.5l 302.5,303q 5,5 5,11q0,8 -15.25,23.25t-23.25,15.25q-6.5,0 -11.5-5l-303-303.5q-39.5-38.5 -90.5-38.5q-53,0 -89.5,37.5t-36.5,90.5q0,52.5 38,90.5 l 388,388.5q 31.5,31.5 72.5,31.5q 32,0 53-21t 21-53q0-41 -31.5-72.5l-290.5-290.5q-13-12 -30-12q-14.5,0 -24,9.5t-9.5,24q0,16 12.5,29.5l 205,205q 5,5 5,11q0,8 -15.5,23.5t-23.5,15.5q-6,0 -11-5l-205-205q-31.5-30.5 -31.5-74.5q0-41 28.5-69.5t 69.5-28.5q 44,0 74.5,31.5l 290.5,290.5q 50,49 50,117.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"copy, duplicate, paper, files\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 848,192q 20,0 34,14t 14,34l0,608 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-144 l-272,0 q-20,0 -34-14t-14-34l0-336 q0-20 10-44t 24-38l 204-204q 14-14 38-24t 44-10l 208,0 q 20,0 34,14t 14,34l0,164 q 34-20 64-20l 208,0 zM 576,298.5l-149.5,149.5l 149.5,0 l0-149.5 zM 256,106.5l-149.5,149.5 l 149.5,0 l0-149.5 zM 354,430l 158-158l0-208 l-192,0 l0,208 q0,20 -14,34t-34,14l-208,0 l0,320 l 256,0 l0-128 q0-20 10-44t 24-38zM 832,832l0-576 l-192,0 l0,208 q0,20 -14,34t-34,14l-208,0 l0,320 l 448,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"cut, scissors\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5zM 630,480l 253.5,199q 14,10 12.5,28q-2.5,17.5 -17.5,25.5l-64,32q-6.5,3.5 -14.5,3.5q-8.5,0 -15.5-4l-345-193.5l-55,33q-4,2 -6,2.5q 7,24.5 5,48.5q-3.5,38.5 -28,73.75t-66,61.75q-66,42 -138.5,42 q-68,0 -111-39q-45-42 -39.5-103.5q 3.5-38 28-73.5t 65.5-62q 66-42 139-42q 41.5,0 75.5,15.5q 4.5-6.5 11-11l 61-36.5l-61-36.5q-6.5-4.5 -11-11q-34,15.5 -75.5,15.5q-73,0 -139-42q-41-26.5 -65.5-62t-28-73.5q-2.5-29.5 7.75-56.5t 31.75-46.5q 42.5-39.5 111-39.5q 72.5,0 138.5,42q 41.5,26 66,61.5t 28,74 q 2,24 -5,48.5q 2,0.5 6,2.5l 55,33l 345-193.5q 7-4 15.5-4q 8,0 14.5,3.5l 64,32q 15,8 17.5,25.5q 1.5,18 -12.5,28zM 289.5,350q 23-21 10.5-54t-53-58.5q-46-29.5 -96-29.5q-37,0 -56.5,18q-23,21 -10.5,54t 53,58.5q 46,29.5 96,29.5q 37,0 56.5-18zM 247,722.5q 40.5-25.5 53-58.5t-10.5-54 q-19.5-18 -56.5-18q-50,0 -96,29.5q-40.5,25.5 -53,58.5t 10.5,54q 19.5,18 56.5,18q 50,0 96-29.5zM 336,416l 48,29l0-5.5 q0-18 16.5-28l 7-4l-39.5-23.5l-13,13q-1.5,1.5 -5,5.5t-6,6q-1,1 -2,1.75t-1.5,1.25zM 448,528l 48,16l 368-288l-64-32l-384,215.5l0,56.5 l-80,48l 4.5,4q 1,1 3.5,3 q 2,2 5.5,6t 5.5,6l 13,13zM 800,736l 64-32l-260-204l-88.5,69q-1,1.5 -6.5,3.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"beaker, lab, beta, experiment, test\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 763.5,724q 28,44.5 10.75,76.25t-70.25,31.75l-576,0 q-53,0 -70.25-31.75t 10.75-76.25l 251.5-396.5l0-199.5 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-32,0 l0,199.5 zM 374,361.5l-136,214.5l 356,0 l-136-214.5l-10-15.5l0-18.5 l0-199.5 l-64,0 l0,199.5 l0,18.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cloud, weather\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 960,576q0,79.5 -56.25,135.75t-135.75,56.25l-544,0 q-92.5,0 -158.25-65.75t-65.75-158.25q0-66 35.5-120.75t 93.5-81.75q-1-14 -1-21.5q0-106 75-181t 181-75q 79,0 143.25,44t 93.75,115q 35-31 83-31q 53,0 90.5,37.5t 37.5,90.5q0,37.5 -20.5,69q 64.5,15 106.5,67.25t 42,119.75z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"link, chain, anchor\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 728,608q0-20 -14-34l-104-104q-14-14 -34-14q-21,0 -36,16q 1.5,1.5 9.5,9.25t 10.75,10.75t 7.5,9.5t 6.5,12.75t 1.75,13.75q0,20 -14,34t-34,14q-7.5,0 -13.75-1.75t-12.75-6.5t-9.5-7.5t-10.75-10.75t-9.25-9.5q-16.5,15.5 -16.5,36.5q0,20 14,34l 103,103.5q 13.5,13.5 34,13.5q 20,0 34-13 l 73.5-73q 14-14 14-33.5zM 376.5,255.5q0-20 -14-34l-103-103.5q-14-14 -34-14q-19.5,0 -34,13.5l-73.5,73q-14,14 -14,33.5q0,20 14,34l 104,104q 13.5,13.5 34,13.5q 21,0 36-15.5q-1.5-1.5 -9.5-9.25t-10.75-10.75t-7.5-9.5t-6.5-12.75t-1.75-13.75q0-20 14-34t 34-14q 7.5,0 13.75,1.75t 12.75,6.5t 9.5,7.5 t 10.75,10.75t 9.25,9.5q 16.5-15.5 16.5-36.5zM 824,608q0,60 -42.5,101.5l-73.5,73q-41.5,41.5 -101.5,41.5q-60.5,0 -102-42.5l-103-103.5q-41.5-41.5 -41.5-101.5q0-61.5 44-104.5l-44-44q-43,44 -104,44q-60,0 -102-42l-104-104q-42-42 -42-102t 42.5-101.5l 73.5-73q 41.5-41.5 101.5-41.5q 60.5,0 102,42.5l 103,103.5 q 41.5,41.5 41.5,101.5q0,61.5 -44,104.5l 44,44q 43-44 104-44q 60,0 102,42l 104,104q 42,42 42,102z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"group, people, users, team, members, community\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 296.5,448q-81,2.5 -132.5,64l-67,0 q-41,0 -69-20.25t-28-59.25q0-176.5 62-176.5q 3,0 21.75,10.5t 48.75,21.25t 59.5,10.75q 33.5,0 66.5-11.5q-2.5,18.5 -2.5,33q0,69.5 40.5,128zM 832,766.5q0,60 -36.5,94.75t-97,34.75l-437,0 q-60.5,0 -97-34.75t-36.5-94.75q0-26.5 1.75-51.75t 7-54.5t 13.25-54.25 t 21.5-48.75t 31-40.5t 42.75-26.75t 55.75-10q 5,0 21.5,10.75t 36.5,24t 53.5,24t 67.5,10.75t 67.5-10.75t 53.5-24t 36.5-24t 21.5-10.75q 30.5,0 55.75,10t 42.75,26.75t 31,40.5t 21.5,48.75t 13.25,54.25t 7,54.5t 1.75,51.75zM 320,128q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5 t 37.5,90.5zM 672,320q0,79.5 -56.25,135.75t-135.75,56.25t-135.75-56.25t-56.25-135.75t 56.25-135.75t 135.75-56.25t 135.75,56.25t 56.25,135.75zM 960,432.5q0,39 -28,59.25t-69,20.25l-67,0 q-51.5-61.5 -132.5-64q 40.5-58.5 40.5-128q0-14.5 -2.5-33q 33,11.5 66.5,11.5q 29.5,0 59.5-10.75t 48.75-21.25 t 21.75-10.5q 62,0 62,176.5zM 896,128q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"fullscreen, maximize, expand, enlarge\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 641.5,270.5l-177.5,177.5l 177.5,177.5l 72-72q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5l0,224 q0,13 -9.5,22.5t-22.5,9.5l-224,0 q-21,0 -29.5-20q-8.5-19.5 7-34.5l 72-72l-177.5-177.5l-177.5,177.5l 72,72q 15.5,15 7,34.5q-8.5,20 -29.5,20l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-21 20-29.5q 19.5-8.5 34.5,7l 72,72 l 177.5-177.5l-177.5-177.5l-72,72q-9.5,9.5 -22.5,9.5q-6,0 -12-2.5q-20-8.5 -20-29.5l0-224 q0-13 9.5-22.5t 22.5-9.5l 224,0 q 21,0 29.5,20q 8.5,19.5 -7,34.5l-72,72l 177.5,177.5l 177.5-177.5l-72-72q-15.5-15 -7-34.5q 8.5-20 29.5-20l 224,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13,0 -22.5-9.5z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"briefcase, suitcase, work, portfolio\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,128l 256,0 l0-64 l-256,0 l0,64 zM 896,448l0,240 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-240 l 336,0 l0,80 q0,13 9.5,22.5t 22.5,9.5l 160,0 q 13,0 22.5-9.5t 9.5-22.5l0-80 l 336,0 zM 512,448l0,64 l-128,0 l0-64 l 128,0 zM 896,208l0,192 l-896,0 l0-192 q0-33 23.5-56.5t 56.5-23.5l 176,0 l0-80 q0-20 14-34 t 34-14l 288,0 q 20,0 34,14t 14,34l0,80 l 176,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"filter\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 701.5,147.5q 8.5,20.5 -7,35l-246.5,246.5l0,371 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5l0-243 l-246.5-246.5q-15.5-14.5 -7-35q 8.5-19.5 29.5-19.5l 640,0 q 21,0 29.5,19.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"tasks, bars\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,704l 320,0 l0-64 l-320,0 l0,64 zM 320,448l 512,0 l0-64 l-512,0 l0,64 zM 640,192l 192,0 l0-64 l-192,0 l0,64 zM 896,608l0,128 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,352l0,128 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5 t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,96l0,128 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"wrench, took, fix, preferences, settings, options\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 192,736q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 514,526l-341,341q-18.5,18.5 -45,18.5q-26,0 -45.5-18.5l-53-54q-19-18 -19-45q0-26.5 19-45.5l 340.5-340.5q 19.5,49 57.25,86.75t 86.75,57.25zM 831,308.5q0,19.5 -11.5,53q-23.5,67 -82.25,108.75 t-129.25,41.75q-92.5,0 -158.25-65.75t-65.75-158.25t 65.75-158.25t 158.25-65.75q 29,0 60.75,8.25t 53.75,23.25q 8,5.5 8,14t-8,14l-146.5,84.5l0,112 l 96.5,53.5q 2.5-1.5 39.5-24.25t 67.75-40.5t 35.25-17.75q 7.5,0 11.75,5t 4.25,12.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"globe, earth, universal, language, localization\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,64q 104.5,0 192.75,51.5t 139.75,139.75t 51.5,192.75t-51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5zM 521,324.5q-1,0.5 -4.75,4.75t-6.75,4.75q 1,0 2.25-2.5t 2.5-5.5t 1.75-3.5q 3-3.5 11-7.5q 7-3 26-6q 17-4 25.5,5.5 q-1-1 4.75-6.5t 7.25-6q 1.5-1 7.5-2.25t 7.5-3.75l 1-11q-6,0.5 -8.75-3.5t-3.25-10.5q0,1 -3,4q0-3.5 -2.25-4t-5.75,0.5t-4.5,0.5q-5-1.5 -7.5-3.75t-4-8.25t-2-7.5q-1-2.5 -4.75-5.25t-4.75-5.25q-0.5-1 -1.25-2.75t-1.5-3.25t-2-2.75t-2.75-1.25t-3.5,2.5t-3.75,5t-2.25,2.5q-1.5-1 -3-0.75t-2.25,0.5t-2.25,1.5t-2.5,1.75 q-1.5,1 -4.25,1.5t-4.25,1q 7.5-2.5 -0.5-5.5q-5-2 -8-1.5q 4.5-2 3.75-6t-4.25-7l 2.5,0 q-0.5-2 -4.25-4.25t-8.75-4.25t-6.5-3q-4-2.5 -17-4.75t-16.5-0.25q-2.5,3 -2.25,5.25t 2,7t 1.75,6.25q 0.5,3 -2.75,6.5t-3.25,6q0,3.5 7,7.75t 5,10.75q-1.5,4 -8,8t-8,6q-2.5,4 -0.75,9.25t 5.25,8.25 q 1,1 0.75,2t-1.75,2.25t-2.75,2t-3.25,1.75l-1.5,1q-5.5,2.5 -10.25-3t-6.75-13q-3.5-12.5 -8-15q-11.5-4 -14.5,0.5q-2.5-6.5 -20.5-13q-12.5-4.5 -29-2q 3-0.5 0-7.5q-3.5-7.5 -9.5-6q 1.5-3 2-8.75t 0.5-6.75q 1.5-6.5 6-11.5q 0.5-0.5 3.5-4.25t 4.75-6.75t 0.25-3q 17.5,2 25-5.5q 2.5-2.5 5.75-8.5t 5.25-8.5q 4.5-3 7-2.75t 7.25,2.75 t 7.25,2.5q 7,0.5 7.75-5.5t-3.75-10q 6,0.5 1.5-8.5q-2.5-3.5 -4-4.5q-6-2 -13.5,2.5q-4,2 1,4q-0.5-0.5 -4.75,5.25t-8.25,8.75t-8-2.5q-0.5-0.5 -2.75-6.75t-4.75-6.75q-4,0 -8,7.5q 1.5-4 -5.5-7.5t-12-4q 9.5-6 -4-13.5q-3.5-2 -10.25-2.5t-9.75,2q-2.5,3.5 -2.75,5.75t 2.5,4t 5.25,2.75t 5.75,2t 4.25,1.5 q 7,5 4,7q-1,0.5 -4.25,1.75t-5.75,2.25t-3,2q-1.5,2 0,7t-1,7q-2.5-2.5 -4.5-8.75t-3.5-8.25q 3.5,4.5 -12.5,3l-5-0.5q-2,0 -8,1t-10.25,0.5t-6.75-4q-2-4 0-10q 0.5-2 2-1q-2-1.5 -5.5-4.75t-5-4.25q-23,7.5 -47,20.5q 3,0.5 6-0.5q 2.5-1 6.5-3.25t 5-2.75q 17-7 21-3.5l 2.5-2.5q 7,8 10,12.5 q-3.5-2 -15-0.5q-10,3 -11,6q 3.5,6 2.5,9q-2-1.5 -5.75-5t-7.25-5.5t-7.5-2.5q-8,0 -11,0.5q-73,40 -117.5,111q 3.5,3.5 6,4q 2,0.5 2.5,4.5t 1.25,5.5t 5.75-1.5q 4.5,4 1.5,9.5q 0.5-0.5 22,13.5q 9.5,8.5 10.5,10.5q 1.5,5.5 -5,9q-0.5-1 -4.5-4.5t-4.5-2q-1.5,2.5 0.25,9.25t 5.25,6.25q-3.5,0 -4.75,8t-1.25,17.75 t-0.5,11.75l 1,0.5q-1.5,6 2.75,17.25t 10.75,9.75q-6.5,1.5 10,21.5q 3,4 4,4.5q 1.5,1 6,3.75t 7.5,5t 5,5.25q 2,2.5 5,11.25t 7,11.75q-1,3 4.75,10t 5.25,11.5q-0.5,0 -1.25,0.5t-1.25,0.5q 1.5,3.5 7.75,7t 7.75,6.5q 0.5,1.5 1,5t 1.5,5.5t 4,1q 1-10 -12-31q-7.5-12.5 -8.5-14.5q-1.5-2.5 -2.75-7.75 t-2.25-7.25q 1,0 3,0.75t 4.25,1.75t 3.75,2t 1,1.5q-1.5,3.5 1,8.75t 6,9.25t 8.5,9.5t 6,6.5q 3,3 7,9.75t0,6.75q 4.5,0 10,5t 8.5,10q 2.5,4 4,13t 2.5,12q 1,3.5 4.25,6.75t 6.25,4.75l 8,4t 6.5,3.5q 2.5,1 9.25,5.25t 10.75,5.75q 5,2 8,2t 7.25-1.25t 6.75-1.75q 7.5-1 14.5,7.5t 10.5,10.5 q 18,9.5 27.5,5.5q-1,0.5 0.25,3.75t 4,7.75t 4.5,7.25t 2.75,4.25q 2.5,3 9,7.5t 9,7.5q 3-2 3.5-4.5q-1.5,4 3.5,10t 9,5q 7-1.5 7-16q-15.5,7.5 -24.5-9q0-0.5 -1.25-2.75t-2-4.25t-1.25-4.25t0-3.75t 2.5-1.5q 4.5,0 5-1.75t-1-6.25t-2-6.5q-0.5-4 -5.5-10t-6-7.5q-2.5,4.5 -8,4t-8-4.5q0,0.5 -0.75,2.75t-0.75,3.25 q-6.5,0 -7.5-0.5q 0.5-1.5 1.25-8.75t 1.75-11.25q 0.5-2 2.75-6t 3.75-7.25t 2-6.25t-2.25-4.75t-8.75-1.25q-9.5,0.5 -13,10q-0.5,1.5 -1.5,5.25t-2.5,5.75t-4.5,3.5q-3.5,1.5 -12,1t-12-2.5q-6.5-4 -11.25-14.5t-4.75-18.5q0-5 1.25-13.25t 1.5-12.5t-2.75-12.25q 1.5-1 4.5-4.75t 5-5.25q 1-0.5 2.25-0.75t 2.25,0t 2-0.75t 1.5-3q-0.5-0.5 -2-1.5 q-1.5-1.5 -2-1.5q 3.5,1.5 14.25-0.75t 13.75,0.75q 7.5,5.5 11-1q0-0.5 -1.25-4.75t-0.25-6.75q 2.5,13.5 14.5,4.5q 1.5,1.5 7.75,2.5t 8.75,2.5q 1.5,1 3.5,2.75t 2.75,2.25t 2.5-0.25t 4.25-3.25q 5,7 6,12q 5.5,20 9.5,22q 3.5,1.5 5.5,1t 2.25-4.75t0-7t-0.75-6.25l-0.5-4l0-9 l-0.5-4q-7.5-1.5 -9.25-6t 0.75-9.25t 7.5-9.25q 0.5-0.5 4-1.75 t 7.75-3.25t 6.25-4q 10.5-9.5 7.5-17.5q 3.5,0 5.5-4.5q-0.5,0 -2.5-1.5t-3.75-2.5t-2.25-1q 4.5-2.5 1-8q 2.5-1.5 3.75-5.5t 3.75-5q 4.5,6 10.5,1q 3.5-4 0.5-8q 2.5-3.5 10.25-5.25t 9.25-4.75q 3.5,1 4-1t 0.5-6t 1.5-6q 2-2.5 7.5-4.5t 6.5-2.5l 8.5-5.5q 1.5-2 0-2q 9,1 15.5-5.5q 5-5.5 -3-10q 1.5-3 -1.5-4.75t-7.5-2.75q 1.5-0.5 5.75-0.25t 5.25-0.75 q 7.5-5 -3.5-8q-8.5-2.5 -21.5,6zM 439.5,763q 103-18 175.5-94.5q-1.5-1.5 -6.25-2.25t-6.25-1.75q-9-3.5 -12-4q 0.5-3.5 -1.25-6.5t-4-4.5t-6.25-4t-5.5-3.5q-1-1 -3.5-3t-3.5-2.75t-3.75-2.25t-4.25-1t-5,0.5l-1.5,0.5q-1.5,0.5 -2.75,1.25t-2.75,1.5t-2,1.5t0,1.25q-10.5-8.5 -18-11q-2.5-0.5 -5.5-2.75t-5.25-3.5t-5-0.75t-5.75,3.5 q-2.5,2.5 -3,7.5t-1,6.5q-3.5-2.5 0-8.75t 1-9.25q-1.5-3 -5.25-2.25t-6,2.25t-5.75,4.25t-4.5,3.25t-4.25,2.75t-4.25,3.75q-1.5,2 -3,6t-2.5,5.5q-1-2 -5.75-3.25t-4.75-2.75q 1,5 2,17.5t 2.5,19q 3.5,15.5 -6,24q-13.5,12.5 -14.5,20q-2,11 6,13q0,3.5 -4,10.25t-3.5,10.75q0,3 1,8z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-down, download, arrow, bottom\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642,448.5q0-13.5 -9-22.5l-45.5-45.5q-9-9 -22.5-9t-22.5,9l-94.5,94.5l0-251 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,251 l-94.5-94.5q-9.5-9.5 -22.5-9.5t-22.5,9.5l-45.5,45.5q-9,9 -9,22.5t 9,22.5l 181,181l 45.5,45.5q 9,9 22.5,9t 22.5-9l 45.5-45.5l 181-181q 9-9 9-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-up, upload, arrow, top\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642,447.5q0-13.5 -9-22.5l-181-181l-45.5-45.5q-9-9 -22.5-9t-22.5,9l-45.5,45.5l-181,181q-9,9 -9,22.5t 9,22.5l 45.5,45.5q 9,9 22.5,9t 22.5-9l 94.5-94.5l0,251 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-251 l 94.5,94.5q 9.5,9.5 22.5,9.5t 22.5-9.5l 45.5-45.5q 9-9 9-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-right, right, arrow, next\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642.5,448q0-13.5 -9-22.5l-45.5-45.5l-181-181q-9-9 -22.5-9t-22.5,9l-45.5,45.5q-9,9 -9,22.5t 9,22.5l 94.5,94.5l-251,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 251,0 l-94.5,94.5q-9.5,9.5 -9.5,22.5t 9.5,22.5l 45.5,45.5q 9,9 22.5,9t 22.5-9l 181-181l 45.5-45.5q 9-9 9-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-left, left, arrow, previous\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-251,0 l 94.5-94.5q 9.5-9.5 9.5-22.5t-9.5-22.5l-45.5-45.5q-9-9 -22.5-9t-22.5,9l-181,181l-45.5,45.5q-9,9 -9,22.5t 9,22.5l 45.5,45.5l 181,181q 9,9 22.5,9t 22.5-9l 45.5-45.5q 9-9 9-22.5t-9-22.5l-94.5-94.5l 251,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"hand-down, down, bottom, point\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,480q0-42 -16-91.5t-32-97t-16-83.5l0-16 l-320,0 l0,16 q0,17.5 -6,33.75t-18.5,31.25t-23,25t-27,24.5q-4.5,4 -7,6q-40.5,36 -72.5,56q-11,7 -34,19q-1.5,0.5 -11.25,5.25t-18,9.25t-17.75,10t-15.25,10.75t-5.75,9.25q0,35.5 15.25,57.75t 48.75,22.25q 21.5,0 42.25-7.5t 34-16.5 t 27.5-16.5t 24.25-7.5l0,288 q0,25 19.25,44.5t 44.75,19.5q 26,0 45-19t 19-45l0-165.5 q 23,17.5 51.5,17.5q 34.5,0 59.5-26.5q 16,9 34.5,9t 36.75-8.75t 26.25-23.75q 12,2 28,2q 42.5,0 63-24.25t 20.5-67.75zM 640,96q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 768,478 q0,71 -38.75,115t-108.75,43.5l-2.5-0.5q-38,30.5 -89,30.5q-11,0 -21.5-1.5q-27,15 -59.5,18.5l0,84.5 q0,52.5 -38,90.25t-90.5,37.75q-51.5,0 -89.5-38t-38-90l0-187 q-27,11 -64,11q-60.5,0 -94.25-40.75t-33.75-103.25q0-19 8.75-34.75t 24.75-27.5t 31.5-20.25t 36-18.5t 31-16.5q 27.5-17.5 64.5-50 q 1.5-1 8.5-7t 10.75-9.5t 10.75-10.25t 11.25-12t 9-11.25t 7-11.75t 2.25-10.75l0-144 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,144 q0,29.5 29.5,111.5q 34.5,95 34.5,158.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"hand-up, up, top, point\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,800q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,418q0-94.5 -83.5-94.5q-13,0 -28,2.5q-8-15 -26.25-23.75t-36.75-8.75t-34.5,9q-25-26.5 -59.5-26.5q-12.5,0 -27.75,5t-23.75,12.5l0-165.5 q0-26 -19-45t-45-19q-25.5,0 -44.75,19.5t-19.25,44.5l0,288 q-10,0 -24.25-7.5t-27.5-16.5t-34-16.5t-42.25-7.5q-33.5,0 -48.75,22.25t-15.25,57.75q0,12 69.5,45q 22,12 32.5,18.5q 32,20 72.5,56q 40.5,35.5 53,50.5q 28.5,34.5 28.5,70l0,16 l 320,0 l0-16 q0-36 16-83.5t 32-96.75t 16-89.75zM 768,415.5q0,66.5 -34.5,161q-29.5,82 -29.5,111.5l0,144 q0,26.5 -18.75,45.25 t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-144 q0-5 -2.25-10.75t-7-11.75t-9-11.25t-11.25-12t-10.75-10.25t-10.75-9.5t-8.5-7q-37-32.5 -64.5-50q-10.5-6.5 -31-16.5t-36-18.5t-31.5-20.25t-24.75-27.5t-8.75-34.75q0-62.5 33.5-103.25t 94.5-40.75q 34,0 64,11l0-187 q0-52 38-90t 89.5-38 q 52.5,0 90.5,37.75t 38,90.25l0,84.5 q 31,2 59.5,18.5q 10.5-1.5 21.5-1.5q 50.5,0 89,30q 69.5-0.5 109.75,42.5t 40.25,113.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"hand-left, point, left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 688,704l 16,0 l0-320 l-16,0 q-17.5,0 -33.75-6t-31.25-18.5t-25-23t-24.5-27q-1-1.5 -1.75-2.25t-2-2.25t-2.25-2.5q-36-40.5 -56-72.5q-7-11 -19-34q-0.5-1.5 -5.25-11.25t-9.25-18t-10-17.75t-10.75-15.25t-9.25-5.75q-35.5,0 -57.75,15.25t-22.25,48.75q0,21.5 7.5,42.25t 16.5,34t 16.5,27.5t 7.5,24.25l-288,0 q-25,0 -44.5,19.25t-19.5,44.75q0,26 19,45t 45,19l 165.5,0 q-7.5,8.5 -12.5,23.75t-5,27.75q0,34.5 26.5,59.5q-9,16 -9,34.5t 8.75,36.75t 23.75,26.25q-2,12 -2,28q0,42.5 24.25,63t 67.75,20.5q 42,0 91.5-16t 97-32t 83.5-16zM 832,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5 t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 896,384l0,320 q0,26.5 -18.75,45.25t-45.25,18.75l-144,0 q-29.5,0 -111.5,29.5q-95,34.5 -158.5,34.5q-71,0 -115-38.75t-43.5-108.75l 0.5-2.5q-30.5-38 -30.5-89q0-11 1.5-21.5q-16.5-28.5 -18.5-59.5l-84.5,0 q-52.5,0 -90.25-38t-37.75-90.5q0-51.5 38-89.5t 90-38l 187,0 q-11-30 -11-64 q0-61 40.75-94.5t 103.25-33.5q 19,0 34.75,8.75t 27.5,24.75t 20.25,31.5t 18.5,36t 16.5,31q 17.5,27.5 50,64.5q 1,1.5 7,8.5t 9.5,10.75t 10.25,10.75t 12,11.25t 11.25,9t 11.75,7t 10.75,2.25l 144,0 q 26.5,0 45.25,18.75t 18.75,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"hand-right, point, right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,384q0-25.5 -19.5-44.75t-44.5-19.25l-288,0 q0-10 7.5-24.25t 16.5-27.5t 16.5-34t 7.5-42.25q0-33.5 -22.25-48.75t-57.75-15.25q-12,0 -45,69.5q-12,22 -18.5,32.5q-20,32 -56,72.5q-35.5,40.5 -50.5,53 q-34.5,28.5 -70,28.5l-16,0 l0,320 l 16,0 q 36,0 83.5,16t 96.75,32t 89.75,16q 94.5,0 94.5-83.5q0-13 -2.5-28q 15-8 23.75-26.25t 8.75-36.75t-9-34.5q 26.5-25 26.5-59.5q0-12.5 -5-27.75t-12.5-23.75l 165.5,0 q 26,0 45-19t 19-45zM 896,383.5q0,52.5 -37.75,90.5t-90.25,38l-84.5,0 q-2,31 -18.5,59.5q 1.5,10.5 1.5,21.5 q0,50.5 -30,89q 0.5,69.5 -42.5,109.75t-113.5,40.25q-66.5,0 -161-34.5q-82-29.5 -111.5-29.5l-144,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 144,0 q 5,0 10.75-2.25t 11.75-7t 11.25-9t 12-11.25t 10.25-10.75t 9.5-10.75t 7-8.5q 32.5-37 50-64.5q 6.5-10.5 16.5-31t 18.5-36t 20.25-31.5t 27.5-24.75 t 34.75-8.75q 62.5,0 103.25,33.5t 40.75,94.5q0,34 -11,64l 187,0 q 52,0 90,38t 38,89.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"certificate, starburst\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 688,448l 69,67.5q 15,14 10,35q-6,20.5 -26,25.5l-94,24l 26.5,93q 6,20.5 -9.5,35q-14.5,15.5 -35,9.5l-93-26.5l-24,94q-5,20 -25.5,26q-6,1 -9.5,1q-15.5,0 -25.5-11l-67.5-69l-67.5,69q-14,15 -35,10q-20.5-5.5 -25.5-26l-24-94l-93,26.5q-20.5,6 -35-9.5q-15.5-14.5 -9.5-35 l 26.5-93l-94-24q-20-5 -26-25.5q-5-21 10-35l 69-67.5l-69-67.5q-15-14 -10-35q 6-20.5 26-25.5l 94-24l-26.5-93q-6-20.5 9.5-35q 14.5-15.5 35-9.5l 93,26.5l 24-94q 5-20.5 25.5-25.5q 20.5-6 35,9.5l 67.5,69.5l 67.5-69.5q 14.5-15 35-9.5q 20.5,5 25.5,25.5l 24,94l 93-26.5q 20.5-6 35,9.5q 15.5,14.5 9.5,35 l-26.5,93l 94,24q 20,5 26,25.5q 5,21 -10,35z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"bell, alarm, notification\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 424,848q0-8 -8-8q-29.5,0 -50.75-21.25t-21.25-50.75q0-8 -8-8t-8,8q0,36.5 25.75,62.25t 62.25,25.75q 8,0 8-8zM 91.5,704l 649,0 q-82-90.5 -123.25-205.75t-41.25-242.25q0-128 -160-128t-160,128q0,127 -41.25,242.25t-123.25,205.75zM 832,704q0,26 -19,45t-45,19 l-224,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-224,0 q-26,0 -45-19t-19-45q 95-80.5 143.5-198.75t 48.5-249.25q0-82.5 48-131t 132-58.5q-4-9 -4-18.5q0-20 14-34t 34-14t 34,14t 14,34q0,9.5 -4,18.5q 84,10 132,58.5t 48,131q0,131 48.5,249.25t 143.5,198.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"bullhorn, megaphone, announcement, advertisement\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,320q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75l0,192 q0,26 -19,45t-45,19q-208.5-173.5 -406-190q-29,9.5 -45.5,33t-15.5,50.25t 20,46.25q-10,16.5 -11.5,32.75t 3,29t 16.75,27.5t 24,25t 30.75,25.25q-14.5,29 -55.75,41.5t-84.25,5.75t-66-27.75q-3.5-11.5 -14.75-43.75 t-16-47.25t-11.5-44.5t-7.5-50.5t 1.75-49.25t 11-55.25l-61,0 q-33,0 -56.5-23.5t-23.5-56.5l0-96 q0-33 23.5-56.5t 56.5-23.5l 240,0 q 217.5,0 448-192q 26,0 45,19t 19,45l0,192 zM 768,622l0-477 q-197,151 -384,171.5l0,135 q 188.5,21 384,170.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"hdd, drive, disk, storage, hard disk\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 520,608q0,16.5 -11.75,28.25t-28.25,11.75t-28.25-11.75t-11.75-28.25t 11.75-28.25t 28.25-11.75t 28.25,11.75t 11.75,28.25zM 648,608q0,16.5 -11.75,28.25t-28.25,11.75t-28.25-11.75t-11.75-28.25t 11.75-28.25t 28.25-11.75t 28.25,11.75t 11.75,28.25zM 704,688l0-160 q0-6.5 -4.75-11.25t-11.25-4.75 l-608,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 608,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 89,448l 590,0 l-78.5-241q-2-6.5 -8-10.75t-13-4.25l-391,0 q-7,0 -13,4.25t-8,10.75zM 768,528l0,160 q0,33 -23.5,56.5t-56.5,23.5l-608,0 q-33,0 -56.5-23.5t-23.5-56.5l0-160 q0-12.5 8-37.5 l 98.5-303q 8.5-26.5 31.5-43t 50.5-16.5l 391,0 q 27.5,0 50.5,16.5t 31.5,43l 98.5,303q 8,25 8,37.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"rss, atom, feed\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,672q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 448,733.5q 1,14 -8.5,24q-9,10.5 -23.5,10.5l-67.5,0 q-12.5,0 -21.5-8.25t-10-20.75q-11-114.5 -92.25-195.75t-195.75-92.25q-12.5-1 -20.75-10t-8.25-21.5l0-67.5 q0-14.5 10.5-23.5q 8.5-8.5 21.5-8.5l 2.5,0 q 80,6.5 153,40.25 t 129.5,90.75q 57,56.5 90.75,129.5t 40.25,153zM 704,734.5q 1,13.5 -9,23.5q-9,10 -23,10l-71.5,0 q-13,0 -22.25-8.75t-9.75-21.25q-6-107.5 -50.5-204.25t-115.75-168t-168-115.75t-204.25-51q-12.5-0.5 -21.25-9.75t-8.75-21.75l0-71.5 q0-14 10-23q 9-9 22-9l 1.5,0 q 131,6.5 250.75,60t 212.75,147 q 93.5,93 147,212.75t 60,250.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"credit, payment, card\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 880,64q 33,0 56.5,23.5t 23.5,56.5l0,608 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 800,0 zM 80,128q-6.5,0 -11.25,4.75t-4.75,11.25l0,112 l 832,0 l0-112 q0-6.5 -4.75-11.25t-11.25-4.75l-800,0 zM 880,768q 6.5,0 11.25-4.75t 4.75-11.25l0-304 l-832,0 l0,304 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 zM 128,704l0-64 l 128,0 l0,64 l-128,0 zM 320,704l0-64 l 192,0 l0,64 l-192,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"unlock\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,288l0,128 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5l0,96 l 48,0 q 20,0 34,14t 14,34l0,288 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-288 q0-20 14-34t 34-14l 336,0 l0-96 q0-92.5 65.75-158.25t 158.25-65.75 t 158.25,65.75t 65.75,158.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"github, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,125.5 -73.25,225.75t-189.25,138.75q-13.5,2.5 -19.75-3.5t-6.25-15l0-105.5 q0-48.5 -26-71q 28.5-3 51.25-9t 47-19.5t 40.5-33.25t 26.5-52.5t 10.25-75.25q0-60.5 -39.5-103q 18.5-45.5 -4-102q-14-4.5 -40.5,5.5t-46,22l-19,12q-46.5-13 -96-13t-96,13q-8-5.5 -21.25-13.5t-41.75-19.25t-43-6.75 q-22,56.5 -3.5,102q-39.5,42.5 -39.5,103q0,42.5 10.25,75t 26.25,52.5t 40.25,33.5t 47,19.5t 51.25,9q-20,18 -24.5,51.5q-10.5,5 -22.5,7.5t-28.5,2.5t-32.75-10.75t-27.75-31.25q-9.5-16 -24.25-26t-24.75-12l-10-1.5q-10.5,0 -14.5,2.25t-2.5,5.75t 4.5,7t 6.5,6l 3.5,2.5q 11,5 21.75,19t 15.75,25.5l 5,11.5 q 6.5,19 22,30.75t 33.5,15t 34.75,3.5t 27.75-1.75l 11.5-2q0,19 0.25,44.5t 0.25,27q0,9 -6.5,15t-20,3.5q-116-38.5 -189.25-138.75t-73.25-225.75q0-104.5 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"facebook, social\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 255.5,278l 128.5,0 l-15,142l-113.5,0 l0,412 l-170.5,0 l0-412 l-85,0 l0-142 l 85,0 l0-85.5 q0-91 43-137.75t 141.5-46.75l 113.5,0 l0,142 l-71,0 q-19.5,0 -31.25,3.25t-17,11.75t-6.75,17.25t-1.5,24.75l0,71 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"twitter, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 810,204q-33.5,49 -81,83.5q 0.5,7 0.5,21q0,65 -19,129.75t-57.75,124.25t-92.25,105.25t-129,73t-161.5,27.25q-135.5,0 -248-72.5q 17.5,2 39,2q 112.5,0 200.5-69q-52.5-1 -94-32.25t-57-79.75q 16.5,2.5 30.5,2.5q 21.5,0 42.5-5.5q-56-11.5 -92.75-55.75t-36.75-102.75l0-2 q 34,19 73,20.5 q-33-22 -52.5-57.5t-19.5-77q0-44 22-81.5q 60.5,74.5 147.25,119.25t 185.75,49.75q-4-19 -4-37q0-67 47.25-114.25t 114.25-47.25q 70,0 118,51q 54.5-10.5 102.5-39q-18.5,57.5 -71,89q 46.5-5 93-25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"phone-sign, contact, talk, voice\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,596.5q0-5.5 -1-8q-1.5-4 -19.25-14.75t-44.25-24.75l-26.5-14.5q-2.5-1.5 -9.5-6.5t-12.5-7.5t-10.5-2.5q-9,0 -23.5,16.25t-28.5,32.75t-22,16.5q-3.5,0 -8.25-1.75t-7.75-3.25t-8.5-4.75t-7-4.25q-49.5-27.5 -85.25-63.25t-63.25-85.25q-1-1.5 -4.25-7t-4.75-8.5t-3.25-7.75t-1.75-8.25q0-6.5 10.25-16.75t 22.5-19.25 t 22.5-19.75t 10.25-18.25q0-5 -2.5-10.5t-7.5-12.5t-6.5-9.5q-1.5-3 -7.5-14.25t-12.5-22.75t-13.25-23.75t-12.5-20.25t-8.25-9t-8-1q-24,0 -50.5,11q-23,10.5 -40,47.25t-17,65.25q0,8 1.25,17t 2.5,15.25t 4.5,16.5t 5,14.75t 6.25,16.5t 5.5,15q 30,82 108.25,160.25t 160.25,108.25q 3,1 15,5.5t 16.5,6.25 t 14.75,5t 16.5,4.5t 15.25,2.5t 17,1.25q 28.5,0 65.25-17t 47.25-40q 11-26.5 11-50.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"bookmark-empty\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 576,128l-512,0 l0,621 l 211.5-203l 44.5-42.5l 44.5,42.5l 211.5,203l0-621 zM 582,64q 11.5,0 22,4.5q 16.5,6.5 26.25,20.5t 9.75,31l0,644.5 q0,17 -9.75,31t-26.25,20.5q-9.5,4 -22,4q-24,0 -41.5-16l-220.5-212l-220.5,212q-18,16.5 -41.5,16.5q-11.5,0 -22-4.5q-16.5-6.5 -26.25-20.5t-9.75-31l0-644.5 q0-17 9.75-31t 26.25-20.5q 10.5-4.5 22-4.5l 524,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"check-empty, checkbox, square\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 560,128l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-416 q0-33 -23.5-56.5t-56.5-23.5zM 704,208l0,416 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"phone, contact, talk, voice\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,620q0,13.5 -5,35.25t-10.5,34.25q-10.5,25 -61,53q-47,25.5 -93,25.5q-13.5,0 -26.25-1.75t-28.75-6.25t-23.75-7.25t-27.75-10.25t-24.5-9q-49-17.5 -87.5-41.5q-64-39.5 -132.25-107.75t-107.75-132.25q-24-38.5 -41.5-87.5q-1.5-4.5 -9-24.5t-10.25-27.75t-7.25-23.75t-6.25-28.75t-1.75-26.25 q0-46 25.5-93q 28-50.5 53-61q 12.5-5.5 34.25-10.5t 35.25-5q 7,0 10.5,1.5q 9,3 26.5,38q 5.5,9.5 15,27t 17.5,31.75t 15.5,26.75q 1.5,2 8.75,12.5t 10.75,17.75t 3.5,14.25q0,10 -14.25,25t-31,27.5t-31,26.5t-14.25,23q0,4.5 2.5,11.25t 4.25,10.25t 7,12t 5.75,9.5q 38,68.5 87,117.5t 117.5,87 q 1,0.5 9.5,5.75t 12,7t 10.25,4.25t 11.25,2.5q 9,0 23-14.25t 26.5-31t 27.5-31t 25-14.25q 7,0 14.25,3.5t 17.75,10.75t 12.5,8.75q 12.5,7.5 26.75,15.5t 31.75,17.5t 27,15q 35,17.5 38,26.5q 1.5,3.5 1.5,10.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"lemon, fruit, food\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 703.5,413q0-22 -3.5-56.75t-9-48.25q-6-15 -8.5-22t-4.5-18.25t-2-24.25q0-11.5 2.5-34.25t 2.5-33.75q0-18.5 -5-27.5q-2-0.5 -6.5-0.5q-9.5,0 -29,2.25t-29.5,2.25q-30,0 -88-12t-87.5-12q-21.5,0 -47.25,5.75t-42.5,11.75t-44.75,17q-68.5,27 -101,51.5q-48,36.5 -79.75,94.75t-44,118t-12.25,124.25 q0,20 6.25,60t 6.25,60.5q0,11.5 -5.5,33.25t-5.5,32.75t 6,18.25t 17,7.25q 12,0 36.25-5.5t 36.75-5.5q 28.5,0 84.75,7.75t 84.75,7.75q 90.5,0 142-18q 64.5-22.5 117.75-76.25t 83-122.75t 29.75-137.5zM 767.5,412q0,82.5 -35,163.75t-98,144t-140.5,90.25q-62,22 -163,22 q-28.5,0 -85-7.25t-84.5-7.25q-12,0 -36.25,7.25t-36.75,7.25q-36.5,0 -61.75-27.75t-25.25-64.25q0-12 5.5-34t 5.5-33.5q0-20 -6.25-60.25t-6.25-60.75q0-55.5 9-108.75t 27.25-104.75t 50.25-97t 75-78q 39-29.5 116-60q 97-39 158-39q 30,0 87.75,12t 86.75,12q 9.5,0 28.5-2.5t 29-2.5 q 40.5,0 59,25.25t 18.5,67.25q0,11.5 -2.5,34t-2.5,34q0,5 0.5,9.25t 1.5,8.5t 2,6.75t 3.25,8t 3.25,8.5q 8,20 12.5,59.25t 4.5,68.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"upload-alt, load, open\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,736q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 768,736q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,624l0,160 q0,20 -14,34t-34,14l-736,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 213.5,0 q 10.5,28 35.25,46 t 55.25,18l 128,0 q 30.5,0 55.25-18t 35.25-46l 213.5,0 q 20,0 34,14t 14,34zM 669.5,300q-8.5,20 -29.5,20l-128,0 l0,224 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 l-128,0 q-21,0 -29.5-20q-8.5-19.5 7-34.5l 224-224q 9-9.5 22.5-9.5t 22.5,9.5l 224,224q 15.5,15 7,34.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"github-sign, git, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 197,676q-4,4.5 -10-1.5q-6.5-5.5 -2-9.5q 4-4.5 10,1.5q 6,5.5 2,9.5zM 176,645.5q 4.5,6 0,9.5q-4,3 -8.5-3.5t0-9q 4.5-3.5 8.5,3zM 145.5,615.5q-2.5,3.5 -6.5,1q-5-2.5 -3.5-6q 1.5-2.5 6.5-1q 5,2.5 3.5,6zM 161,632.5q-3,3.5 -8-1.5q-4.5-5.5 -1-8q 3-3 8,1.5q 4.5,5.5 1,8zM 225.5,688.5q-2,6 -9.5,3q-8.5-2 -6.5-7.5 t 9.5-3.5q 8,2.5 6.5,8zM 257,691q0,5.5 -8,5.5q-8.5,1 -8.5-5.5q0-5.5 8-5.5q 8.5-1 8.5,5.5zM 286,686q 1,5 -7,7t-9-4t 7-7.5q 8-1 9,4.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-112,0 q-8,0 -12.25-0.5t-9.75-2.5t-8-7.25t-2.5-13.75l0-119.5 q0-48.5 -26-71q 28.5-3 51.25-9t 47-19.5 t 40.5-33.25t 26.5-52.5t 10.25-75.25q0-60.5 -39.5-103q 18.5-45.5 -4-102q-14-4.5 -40.5,5.5t-46,22l-19,12q-46.5-13 -96-13t-96,13q-8-5.5 -21.25-13.5t-41.75-19.25t-43-6.75q-22,56.5 -3.5,102q-39.5,42.5 -39.5,103q0,42.5 10.25,75t 26.25,52.5t 40.25,33.5t 47,19.5t 51.25,9q-20,18 -24.5,51.5 q-10.5,5 -22.5,7.5t-28.5,2.5t-32.75-10.75t-27.75-31.25q-9.5-16 -24.25-26t-24.75-12l-10-1.5q-10.5,0 -14.5,2.25t-2.5,5.75t 4.5,7t 6.5,6l 3.5,2.5q 11,5 21.75,19t 15.75,25.5l 5,11.5q 6.5,19 22,30.75t 33.5,15t 34.75,3.5t 27.75-1.75l 11.5-2q0,19 0.25,51.5t 0.25,34q0,11 -5.5,16.75t-11,6.5t-16.5,0.75 l-112,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"trophy, cup, prize, present, win, tournament\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 229,441.5q-37-81 -37-185.5l-128,0 l0,48 q0,39 47.25,81t 117.75,56.5zM 768,304l0-48 l-128,0 q0,104.5 -37,185.5q 70.5-14.5 117.75-56.5t 47.25-81zM 832,240l0,64 q0,35.5 -20.75,71.5t-56,65t-86.5,48.75t-107.75,22.25q-21,27 -47.5,47.5q-19,17 -26.25,36.25t-7.25,44.75q0,27 15.25,45.5 t 48.75,18.5q 37.5,0 66.75,22.75t 29.25,57.25l0,32 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-34.5 29.25-57.25t 66.75-22.75q 33.5,0 48.75-18.5t 15.25-45.5q0-25.5 -7.25-44.75t-26.25-36.25q-26.5-20.5 -47.5-47.5q-56.5-2.5 -107.75-22.25t-86.5-48.75t-56-65t-20.75-71.5l0-64 q0-20 14-34t 34-14l 144,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 288,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 144,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"signin, login, enter\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 592,448q0,13 -9.5,22.5l-272,272q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-144 l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 224,0 l0-144 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 272,272q 9.5,9.5 9.5,22.5zM 768,272l0,352 q0,59.5 -42.25,101.75t-101.75,42.25l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25 q0-2 -0.5-10t-0.25-13.25t 1.5-11.75t 5-9.75t 10.25-3.25l 160,0 q 33,0 56.5-23.5t 23.5-56.5l0-352 q0-33 -23.5-56.5t-56.5-23.5l-144,0 l-5.5,0 l-6.5,0 t-5.75-0.5t-5.75-1.5t-4-2.75t-3.5-4.5t-1-6.75q0-2 -0.5-10t-0.25-13.25t 1.5-11.75t 5-9.75t 10.25-3.25l 160,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"external-link, blank, out, popout\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 704,464l0,160 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 352,0 q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-160 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,32l0,256 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-88-88l-326,326q-5,5 -11.5,5t-11.5-5l-57-57q-5-5 -5-11.5t 5-11.5l 326-326l-88-88q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"pushpin, pin, needle\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 240,432l0-224 q0-7 -4.5-11.5t-11.5-4.5t-11.5,4.5t-4.5,11.5l0,224 q0,7 4.5,11.5t 11.5,4.5t 11.5-4.5t 4.5-11.5zM 576,608q0,13 -9.5,22.5t-22.5,9.5l-214.5,0 l-25.5,241.5q-1,6 -5.25,10.25t-10.25,4.25l-0.5,0 q-13.5,0 -16-13.5l-38-242.5l-202,0 q-13,0 -22.5-9.5t-9.5-22.5q0-61.5 39.25-110.75t 88.75-49.25l0-256 q-26,0 -45-19 t-19-45t 19-45t 45-19l 320,0 q 26,0 45,19t 19,45t-19,45t-45,19l0,256 q 49.5,0 88.75,49.25t 39.25,110.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"linkedin-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 118.5,707l 115.5,0 l0-347 l-115.5,0 l0,347 zM 241.5,253q-0.5-26 -18-43t-46.5-17t-47.25,17t-18.25,43q0,25.5 17.75,42.75t 46.25,17.25l 0.5,0 q 29.5,0 47.5-17.25t 18-42.75zM 534,707l 115.5,0 l0-199 q0-77 -36.5-116.5t-96.5-39.5q-68,0 -104.5,58.5l 1,0 l0-50.5 l-115.5,0 q 1.5,33 0,347l 115.5,0 l0-194 q0-19 3.5-28q 7.5-17.5 22.5-29.75t 37-12.25 q 58,0 58,78.5l0,185.5 zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"signout, exit, quit, logout, log out, leave\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,720q0,2 0.5,10t 0.25,13.25t-1.5,11.75t-5,9.75t-10.25,3.25l-160,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-352 q0-59.5 42.25-101.75t 101.75-42.25l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,2 0.5,10t 0.25,13.25t-1.5,11.75t-5,9.75t-10.25,3.25l-160,0 q-33,0 -56.5,23.5t-23.5,56.5l0,352 q0,33 23.5,56.5t 56.5,23.5l 144,0 l 5.5,0 l 6.5,0 t 5.75,0.5t 5.75,1.5t 4,2.75t 3.5,4.5t 1,6.75zM 784,448q0,13 -9.5,22.5l-272,272q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-144 l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 224,0 l0-144 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 272,272q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"heart-empty, love, like\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,298q0-40.5 -10.75-71.5t-27.5-49.25t-40.75-29.75t-47-15.5t-49-4t-56,12.75t-55.25,32t-43.25,36t-30,30.75q-9,11 -24.5,11t-24.5-11q-12-14 -30-30.75t-43.25-36t-55.25-32t-56-12.75t-49,4t-47,15.5t-40.75,29.75t-27.5,49.25t-10.75,71.5q0,84 93.5,177.5l 290.5,280l 290-279.5 q 94-94 94-178zM 896,298q0,110.5 -114.5,225l-311.5,300q-9,9 -22,9t-22-9l-312-301q-5-4 -13.75-13t-27.75-32.75t-34-48.75t-26.75-60.5t-11.75-69q0-110 63.5-172t 175.5-62q 31,0 63.25,10.75t 60,29t 47.75,34.25t 38,34q 18-18 38-34t 47.75-34.25t 60-29t 63.25-10.75 q 112,0 175.5,62t 63.5,172z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"448\" height=\"896\" viewBox=\"0 0 448 896\" data-du=\"\" data-tags=\"star-half, rating\" style=\"margin-left: 12px; margin-top: 8px;\"><path d=\"M 416,16l0,669.5 l-224.5,118q-11,6 -20,6q-10.5,0 -15.75-7.25t-5.25-17.75q0-3 1-10l 43-250l-182-177q-12.5-13.5 -12.5-24q0-18.5 28-23l 251-36.5l 112.5-227.5q 9.5-20.5 24.5-20.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"thumbs-down, dislike\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,224q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,512q0-17.5 -10.75-40.5t-26.75-23.5q 7.5-8.5 12.5-23.75t 5-27.75q0-34.5 -26.5-59.5q 9-16 9-34.5t-8.75-36.75t-23.75-26.25q 2.5-15 2.5-28q0-42.5 -24.5-63t-68-20.5l-64,0 q-65.5,0 -171,36.5q-2.5,1 -14.5,5.25 t-17.75,6.25t-17.5,5.75t-19,5.5t-16.5,3.25t-15.75,1.5l-16,0 l0,320 l 16,0 q 8,0 17.75,4.5t 20,13.5t 19.25,17.75t 20,22t 17.25,21.25t 15.75,20.5t 11.5,15q 27.5,34 38.5,45.5q 20.5,21.5 29.75,54.75t 15.25,62.75t 19,42.5q 48,0 64-23.5t 16-72.5q0-29.5 -24-80.25t-24-79.75l 176,0 q 25,0 44.5-19.25t 19.5-44.75z M 768,512.5q0,51.5 -38,89.5t-90,38l-88,0 q 24,49.5 24,96q0,59 -17.5,93q-17.5,34.5 -51,50.75t-75.5,16.25q-25.5,0 -45-18.5q-17-16.5 -27-41t-12.75-45.25t-8.75-42.25t-15.5-32q-24-25 -53.5-63.5q-50.5-65.5 -68.5-77.5l-137,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75 l 144,0 q 11,0 69-20q 64-22 111.5-33t 100-11l 56,0 q 70,0 113.25,39.5t 42.75,108l0,2.5 q 30,38.5 30,89q0,11 -1.5,21.5q 19,33.5 19,72q0,18 -4.5,34.5q 24.5,37 24.5,81.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"thumbs-up, like\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,384q0-25.5 -19.5-44.75t-44.5-19.25l-176,0 q0-29 24-79.75t 24-80.25q0-49 -16-72.5t-64-23.5q-13,13 -19,42.5t-15.25,62.75t-29.75,54.75q-11,11.5 -38.5,45.5q-2,2.5 -11.5,15t-15.75,20.5t-17.25,21.25 t-20,22t-19.25,17.75t-20,13.5t-17.75,4.5l-16,0 l0,320 l 16,0 q 6.5,0 15.75,1.5t 16.5,3.25t 19,5.5t 17.5,5.75t 17.75,6.25t 14.5,5.25q 105.5,36.5 171,36.5l 60.5,0 q 96,0 96-83.5q0-13 -2.5-28q 15-8 23.75-26.25t 8.75-36.75t-9-34.5q 26.5-25 26.5-59.5q0-12.5 -5-27.75t-12.5-23.75q 16-0.5 26.75-23.5t 10.75-40.5zM 768,383.5 q0,44.5 -24.5,81.5q 4.5,16.5 4.5,34.5q0,38.5 -19,72q 1.5,10.5 1.5,21.5q0,50.5 -30,89q 0.5,69.5 -42.5,109.75t-113.5,40.25l-18,0 l-46.5,0 q-48,0 -94.75-11.25t-108.25-32.75q-58-20 -69-20l-144,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 137,0 q 18-12 68.5-77.5q 29-37.5 53.5-64 q 12-12.5 17.75-42.75t 15.25-63.25t 31-54q 19.5-18.5 45-18.5q 42,0 75.5,16.25t 51,50.75t 17.5,93q0,46.5 -24,96l 88,0 q 52,0 90,38t 38,89.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comments, chat, talk, bubbles\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 704,384q0,69.5 -47,128.5t-128.25,93.25t-176.75,34.25q-43,0 -88-8q-62,44 -139,64q-18,4.5 -43,8l-1.5,0 q-5.5,0 -10.25-4t-5.75-10.5q-0.5-1.5 -0.5-3.25t 0.25-3.25t 1-3l 1.25-2.5t 1.75-2.75t 2-2.5t 2.25-2.5t 2-2.25q 2.5-3 11.5-12.5t 13-14.75t 11.25-14.5t 12.5-19.25t 10.25-22q-62-36 -97.5-88.5t-35.5-112 q0-69.5 47-128.5t 128.25-93.25t 176.75-34.25t 176.75,34.25t 128.25,93.25t 47,128.5zM 896,512q0,60 -35.5,112.25t-97.5,88.25q 5,12 10.25,22t 12.5,19.25t 11.25,14.5t 13,14.75t 11.5,12.5q 0.5,0.5 2,2.25t 2.25,2.5t 2,2.5t 1.75,2.75l 1.25,2.5t 1,3t 0.25,3.25t-0.5,3.25q-1.5,7 -6.5,11t-11,3.5 q-25-3.5 -43-8q-77-20 -139-64q-45,8 -88,8q-135.5,0 -236-66q 29,2 44,2q 80.5,0 154.5-22.5t 132-64.5q 62.5-46 96-106t 33.5-127q0-38.5 -11.5-76q 64.5,35.5 102,89t 37.5,115z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cogs, settings, options, preferences, gears\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 448,448q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5zM 832,704q0-26 -19-45t-45-19t-45,19t-19,45q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 832,192q0-26 -19-45t-45-19t-45,19t-19,45q0,26.5 18.75,45.25t 45.25,18.75 t 45.25-18.75t 18.75-45.25zM 640,402.5l0,92.5 q0,5 -3.5,9.75t-8,5.25l-77.5,12q-5.5,17.5 -16,38q 17,24 45,57.5q 3.5,5 3.5,10q0,6 -3.5,9.5q-11.5,15 -41.25,44.75t-39.25,29.75q-5.5,0 -10.5-3.5l-57.5-45q-18.5,9.5 -38.5,15.5q-5.5,54 -11.5,77.5q-3.5,12 -15,12l-93,0 q-5.5,0 -10-3.75t-5-8.75 l-11.5-76.5q-17-5 -37.5-15.5l-59,44.5q-3.5,3.5 -10,3.5q-5.5,0 -10.5-4q-72-66.5 -72-80q0-4.5 3.5-9.5q 5-7 20.5-26.5t 23.5-30.5q-11.5-22 -17.5-41l-76-12q-5-0.5 -8.5-4.75t-3.5-9.75l0-92.5 q0-5 3.5-9.75t 8-5.25l 77.5-12q 5.5-17.5 16-38q-17-24 -45-57.5q-3.5-5.5 -3.5-10q0-6 3.5-10q 11-15 41-44.5t 39.5-29.5q 5.5,0 10.5,3.5 l 57.5,45q 17-9 38.5-16q 5.5-54 11.5-77q 3.5-12 15-12l 93,0 q 5.5,0 10,3.75t 5,8.75l 11.5,76.5q 17,5 37.5,15.5l 59-44.5q 4-3.5 10-3.5q 5.5,0 10.5,4q 72,66.5 72,80q0,4.5 -3.5,9.5q-6,8 -21,27t-22.5,30q 11.5,24 17,41l 76,11.5q 5,1 8.5,5.25t 3.5,9.75zM 960,669l0,70 q0,8 -74.5,15.5 q-6,13.5 -15,26q 25.5,56.5 25.5,69q0,2 -2,3.5q-61,35.5 -62,35.5q-4,0 -23-23.5t-26-34q-10,1 -15,1t-15-1q-7,10.5 -26,34t-23,23.5q-1,0 -62-35.5q-2-1.5 -2-3.5q0-12.5 25.5-69q-9-12.5 -15-26q-74.5-7.5 -74.5-15.5l0-70 q0-8 74.5-15.5q 6.5-14.5 15-26q-25.5-56.5 -25.5-69q0-2 2-3.5q 2-1 17.5-10 t 29.5-17t 15-8q 4,0 23,23.25t 26,33.75q 10-1 15-1t 15,1q 25.5-35.5 46-56l 3-1q 2,0 62,35q 2,1.5 2,3.5q0,12.5 -25.5,69q 8.5,11.5 15,26q 74.5,7.5 74.5,15.5zM 960,157l0,70 q0,8 -74.5,15.5q-6,13.5 -15,26q 25.5,56.5 25.5,69q0,2 -2,3.5q-61,35.5 -62,35.5q-4,0 -23-23.5t-26-34 q-10,1 -15,1t-15-1q-7,10.5 -26,34t-23,23.5q-1,0 -62-35.5q-2-1.5 -2-3.5q0-12.5 25.5-69q-9-12.5 -15-26q-74.5-7.5 -74.5-15.5l0-70 q0-8 74.5-15.5q 6.5-14.5 15-26q-25.5-56.5 -25.5-69q0-2 2-3.5q 2-1 17.5-10t 29.5-17t 15-8q 4,0 23,23.25t 26,33.75q 10-1 15-1t 15,1q 25.5-35.5 46-56l 3-1q 2,0 62,35 q 2,1.5 2,3.5q0,12.5 -25.5,69q 8.5,11.5 15,26q 74.5,7.5 74.5,15.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"key, unlock, password\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,256q0-40 -28-68t-68-28t-68,28t-28,68q0,21 9.5,41.5q-20.5-9.5 -41.5-9.5q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68q0-21 -9.5-41.5q 20.5,9.5 41.5,9.5q 40,0 68-28t 28-68zM 841.5,608q0,8.5 -24.5,33t-33,24.5q-4.5,0 -14.25-8t-18.25-16.5t-19.25-20t-12.25-13 l-48,48l 110,110q 14,14 14,34q0,21 -19.5,40.5t-40.5,19.5q-20,0 -34-14l-335.5-335.5q-88,65.5 -182.5,65.5q-81.5,0 -132.75-51.25t-51.25-132.75q0-80 47.5-156.5t 124-124t 156.5-47.5q 81.5,0 132.75,51.25t 51.25,132.75q0,94.5 -65.5,182.5l 177.5,177.5l 48-48q-1.5-1.5 -13-12.25t-20-19.25t-16.5-18.25 t-8-14.25q0-8.5 24.5-33t 33-24.5q 6.5,0 11.5,5q 3,3 23,22.25t 41,39.75t 43.25,43t 36.5,39t 14.25,20.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"camera-retro, image, picture, photo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,416q0-7 -4.5-11.5t-11.5-4.5q-33,0 -56.5,23.5t-23.5,56.5q0,7 4.5,11.5t 11.5,4.5t 11.5-4.5t 4.5-11.5q0-20 14-34t 34-14q 7,0 11.5-4.5t 4.5-11.5zM 576,481q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5zM 64,768l 768,0 l0-64 l-768,0 l0,64 zM 640,481q0-79.5 -56.25-135.75 t-135.75-56.25t-135.75,56.25t-56.25,135.75t 56.25,135.75t 135.75,56.25t 135.75-56.25t 56.25-135.75zM 128,160l 192,0 l0-64 l-192,0 l0,64 zM 64,256l 768,0 l0-59 l0-69 l-414,0 l-32,64l-322,0 l0,64 zM 896,128l0,640 q0,26.5 -18.75,45.25t-45.25,18.75l-768,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-640 q0-26.5 18.75-45.25t 45.25-18.75l 768,0 q 26.5,0 45.25,18.75t 18.75,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"facebook-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 653.5,459l 11.5-109.5l-99,0 l0-54.5 q0-24.5 7.75-34.25t 35.75-9.75l 55,0 l0-109.5 l-87.5,0 q-76,0 -109,36t-33,106.5l0,65.5 l-65.5,0 l0,109.5 l 65.5,0 l0,317.5 l 131,0 l0-317.5 l 87.5,0 zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"twitter-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,305q-28,12.5 -60.5,17q 34-20 46.5-58.5q-32.5,19 -67,25.5q-30.5-33 -76.5-33q-43.5,0 -74.25,30.75t-30.75,74.25q0,14.5 2.5,24q-64.5-3.5 -121-32.5t-96-77.5q-14.5,25 -14.5,53q0,57 45.5,87.5q-23.5-0.5 -50-13l0,1 q0,37.5 25,66.75t 61.5,36.25q-14.5,4 -25.5,4q-6.5,0 -19.5-2 q 10.5,31.5 37.25,52t 60.75,21q-58,45 -130.5,45q-13,0 -25-1.5q 74,47 161,47q 56,0 105-17.75t 84-47.5t 60.25-68.5t 37.5-81t 12.25-84.25q0-9 -0.5-13.5q 31.5-22.5 52.5-54.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75 t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"bar-chart, chart, graph, plot\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 256,512l0,192 l-128,0 l0-192 l 128,0 zM 448,256l0,448 l-128,0 l0-448 l 128,0 zM 640,384l0,320 l-128,0 l0-320 l 128,0 zM 832,192l0,512 l-128,0 l0-512 l 128,0 zM 896,752l0-608 q0-6.5 -4.75-11.25t-11.25-4.75l-800,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,608 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 q 6.5,0 11.25-4.75t 4.75-11.25z M 960,144l0,608 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"resize-horizontal, arrow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,448q0,13 -9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-64 l-512,0 l0,64 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 l 512,0 l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"resize-vertical, arrow\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 352,160q0,13 -9.5,22.5t-22.5,9.5l-64,0 l0,512 l 64,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 64,0 l0-512 l-64,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"folder-open, category, directory\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 939.5,476q0,15.5 -15.5,33l-168,198q-21.5,25.5 -60.25,43.25t-71.75,17.75l-544,0 q-17,0 -30.25-6.5t-13.25-21.5q0-15.5 15.5-33l 168-198q 21.5-25.5 60.25-43.25t 71.75-17.75l 544,0 q 17,0 30.25,6.5t 13.25,21.5zM 768,304l0,80 l-416,0 q-47,0 -98.5,23.75t-82,59.75l-168.5,198l-2.5,3q0-2 -0.25-6.25 t-0.25-6.25l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 272,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"folder-close, category, directory\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,304l0,352 q0,46 -33,79t-79,33l-608,0 q-46,0 -79-33t-33-79l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 336,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"shopping-cart, cart, ecommerce, store\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,768q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 768,768q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 832,224l0,256 q0,12 -8,21.25t-20.5,10.75 l-522,61q 0.5,3.5 2.25,10.75t 3,13.25t 1.25,11q0,8 -12,32l 460,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-512,0 q-13,0 -22.5-9.5t-9.5-22.5q0-7 5.5-19.75t 14.75-29.75t 10.25-19l-88.5-411.5l-102,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 128,0 q 8,0 14.25,3.25t 10,7.75t 6.5,12.25t 3.75,13.25 t 2.75,14.75t 2.25,12.75l 600.5,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"retweet, loop, arrows\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 640,752q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-4,0 -6.75-1t-4.5-3.5t-2.75-4t-1.5-5.75t-0.5-5.75l0-6.5 l0-5.5 l0-80 l0-208 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5q0-12 7.5-20.5l 160-192q 9.5-11 24.5-11t 24.5,11l 160,192q 7.5,8.5 7.5,20.5q0,13 -9.5,22.5t-22.5,9.5l-96,0 l0,192 l 288,0 q 8,0 12.5,5.5l 80,96q 3.5,5.5 3.5,10.5 zM 960,544q0,12 -7.5,20.5l-160,192q-10,11.5 -24.5,11.5t-24.5-11.5l-160-192q-7.5-8.5 -7.5-20.5q0-13 9.5-22.5t 22.5-9.5l 96,0 l0-192 l-288,0 q-8,0 -12.5-6l-80-96q-3.5-4.5 -3.5-10q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 4,0 6.75,1t 4.5,3.5t 2.75,4t 1.5,5.75t 0.5,5.75l0,6.5 l0,5.5 l0,80 l0,208 l 96,0 q 13,0 22.5,9.5t 9.5,22.5z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"chevron-down, download, bottom\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,352q0,26.5 -18.5,45l-325.5,325.5q-19,19 -45.5,19q-27,0 -45-19l-325.5-325.5q-19-18 -19-45q0-26.5 19-45.5l 37-37.5q 19.5-18.5 45.5-18.5q 26.5,0 45,18.5l 243,243l 243-243q 18.5-18.5 45-18.5q 26,0 45.5,18.5l 37.5,37.5q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"chevron-up, upload, top\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,608q0,26.5 -18.5,45l-37.5,37.5q-19,19 -45.5,19q-27,0 -45-19l-243-242.5l-243,242.5q-18,19 -45,19t-45-19l-37.5-37.5q-19-18 -19-45q0-26.5 19-45.5l 325.5-325.5q 18.5-18.5 45-18.5q 26,0 45.5,18.5l 325,325.5q 19,19 19,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"magnet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,416l0,64 q0,100.5 -49.25,181t-137,125.75t-197.75,45.25t-197.75-45.25t-137-125.75t-49.25-181l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,26 11.75,45t 26.75,28.5t 35.5,15t 32,6.5t 22,1t 22-1t 32-6.5t 35.5-15t 26.75-28.5t 11.75-45l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5zM 256,96l0,192 q0,13 -9.5,22.5t-22.5,9.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5zM 768,96l0,192 q0,13 -9.5,22.5t-22.5,9.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comment, bubble, chat, talk\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,448q0,87 -60,160.75t-163,116.5t-225,42.75q-35,0 -72.5-4q-99,87.5 -230,121q-24.5,7 -57,11q-8.5,1 -15.25-4.5t-8.75-14.5l0-0.5 q-1.5-2 -0.25-6t 1-5t 2.25-4.75l 3-4.5t 3.5-4.25t 4-4.5q 3.5-4 15.5-17.25t 17.25-19t 15.5-19.75t 16.25-25.5t 13.5-29.5t 13-38q-78.5-44.5 -123.75-110t-45.25-140.5 q0-65 35.5-124.25t 95.5-102.25t 143-68.25t 174-25.25q 122,0 225,42.75t 163,116.5t 60,160.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"random, shuffle, order, media, control\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 333,240.5q-30,46 -68.5,136.5q-11-22.5 -18.5-36.25t-20.25-31.75t-25.5-28.25t-31.5-17.5t-40.75-7.25l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 112,0 q 125,0 205,112.5zM 896,640q0,7 -4.5,11.5l-160,160q-4.5,4.5 -11.5,4.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q-16,0 -42.5,0.25t-40.5,0.5t-36.5-0.5 t-35.5-2.5t-32-5.25t-31.5-9.25t-29-14.25t-29.5-20t-27.5-26.75t-28-34.75q 29.5-46.5 68-136.5q 11,22.5 18.5,36.25t 20.25,31.75t 25.5,28.25t 31.5,17.5t 40.75,7.25l 128,0 l0-96 q0-7 4.5-11.5t 11.5-4.5q 6,0 12,5l 159.5,159.5q 4.5,4.5 4.5,11.5zM 896,192q0,7 -4.5,11.5l-160,160q-4.5,4.5 -11.5,4.5q-6.5,0 -11.25-4.75t-4.75-11.25 l0-96 l-128,0 q-24,0 -43.5,7.5t-34.5,22.5t-25.5,30.75t-22.5,38.75q-16,31 -39,85.5q-14.5,33 -24.75,55.5t-27,52.5t-32,50t-37,41.5t-45,34.25t-53.25,21t-64,8.25l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 112,0 q 24,0 43.5-7.5t 34.5-22.5t 25.5-30.75t 22.5-38.75q 16-31 39-85.5q 14.5-33 24.75-55.5 t 27-52.5t 32-50t 37-41.5t 45-34.25t 53.25-21t 64-8.25l 128,0 l0-96 q0-7 4.5-11.5t 11.5-4.5q 6,0 12,5l 159.5,159.5q 4.5,4.5 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"calendar, date, schedule\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 64,832l 144,0 l0-144 l-144,0 l0,144 zM 240,832l 160,0 l0-144 l-160,0 l0,144 zM 64,656l 144,0 l0-160 l-144,0 l0,160 zM 240,656l 160,0 l0-160 l-160,0 l0,160 zM 64,464l 144,0 l0-144 l-144,0 l0,144 zM 432,832l 160,0 l0-144 l-160,0 l0,144 zM 240,464l 160,0 l0-144 l-160,0 l0,144 zM 624,832l 144,0 l0-144 l-144,0 l0,144 zM 432,656l 160,0 l0-160 l-160,0 l0,160 z M 256,224l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 624,656l 144,0 l0-160 l-144,0 l0,160 zM 432,464l 160,0 l0-144 l-160,0 l0,144 zM 624,464l 144,0 l0-144 l-144,0 l0,144 zM 640,224l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 832,192l0,640 q0,26 -19,45t-45,19l-704,0 q-26,0 -45-19t-19-45l0-640 q0-26 19-45t 45-19l 64,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 192,0 l0-48 q0-33 23.5-56.5t 56.5-23.5 l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 64,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"plane, airplane, aircraft, flight, vacation, travel\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 688,80q 22,26 6,74t-54,86l-80.5,80.5l 80,348q 2.5,9.5 -6,16.5l-64,48q-3.5,3 -9.5,3q-2,0 -3.5-0.5q-7.5-1.5 -10.5-8l-139.5-254l-129.5,129.5l 26.5,97q 2.5,8.5 -4,15.5l-48,48q-4.5,4.5 -11.5,4.5l-1,0 q-7.5-1 -12-6.5l-94.5-126l-126-94.5q-5.5-3.5 -6.5-11.5q-0.5-6.5 4.5-12.5l 48-48.5q 4.5-4.5 11.5-4.5 q 3,0 4,0.5l 97,26.5l 129.5-129.5l-254-139.5q-7-4 -8.5-12q-1-8 4.5-13.5l 64-64q 7-6.5 15-4l 332.5,79.5l 80-80q 38-38 86-54t 74,6z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"warning-sign, sign\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,687.5l0-95 q0-7 -4.75-11.75t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.75l0,95 q0,7 4.75,11.75t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.75zM 511,500.5l 9-229.5q0-6 -5-9.5q-6.5-5.5 -12-5.5l-110,0 q-5.5,0 -12,5.5q-5,3.5 -5,10.5l 8.5,228.5q0,5 5,8.25t 12,3.25l 92.5,0 q 7,0 11.75-3.25t 5.25-8.25zM 504,33.5l 384,704q 17.5,31.5 -1,63q-8.5,14.5 -23.25,23t-31.75,8.5l-768,0 q-17,0 -31.75-8.5t-23.25-23q-18.5-31.5 -1-63l 384-704q 8.5-15.5 23.5-24.5t 32.5-9t 32.5,9t 23.5,24.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"eye-close, blocked, private\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 277.5,667.5l 39-70.5q-43.5-31.5 -68-79.5t-24.5-101.5q0-60.5 30.5-112.5q-114.5,58.5 -190.5,176.5q 83.5,129 213.5,187.5zM 472,288q0-10 -7-17t-17-7q-62.5,0 -107.25,44.75t-44.75,107.25q0,10 7,17t 17,7t 17-7t 7-17q0-43 30.5-73.5t 73.5-30.5q 10,0 17-7t 7-17zM 653.5,192.5q0,3.5 -0.5,4.5 q-52.5,94 -157.5,283t-158,283.5l-24.5,44.5q-5,8 -14,8q-6,0 -67-35q-8-5 -8-14q0-6 22-43.5q-71.5-32.5 -131.75-86.5t-104.25-122.5q-10-15.5 -10-34.5t 10-34.5q 76.5-117.5 190-185.5t 248-68q 44.5,0 90,8.5l 27-48.5q 5-8 14-8q 2.5,0 9,3t 15.5,7.75t 16.5,9.25t 15.75,9.25t 9.75,5.75 q 8,5 8,13.5zM 672,416q0,69.5 -39.5,126.75t-104.5,82.25l 140-251q 4,22.5 4,42zM 896,480q0,17.5 -10,34.5q-19.5,32 -54.5,72.5q-75,86 -173.75,133.5t-209.75,47.5l 37-66q 106-9 196.25-68.5t 150.75-153.5q-57.5-89.5 -141-147l 31.5-56q 47.5,32 91.25,76.5t 72.25,92q 10,17 10,34.5z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"eye-open, view, visit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,480q-76-118 -190.5-176.5q 30.5,52 30.5,112.5q0,92.5 -65.75,158.25t-158.25,65.75t-158.25-65.75t-65.75-158.25q0-60.5 30.5-112.5q-114.5,58.5 -190.5,176.5q 66.5,102.5 166.75,163.25t 217.25,60.75t 217.25-60.75t 166.75-163.25zM 472,288q0-10 -7-17t-17-7q-62.5,0 -107.25,44.75 t-44.75,107.25q0,10 7,17t 17,7t 17-7t 7-17q0-43 30.5-73.5t 73.5-30.5q 10,0 17-7t 7-17zM 896,480q0,17 -10,34.5q-70,115 -188.25,184.25t-249.75,69.25t-249.75-69.5t-188.25-184q-10-17.5 -10-34.5t 10-34.5q 70-114.5 188.25-184t 249.75-69.5t 249.75,69.5t 188.25,184q 10,17.5 10,34.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"fire, hot\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,848l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,320q0,39 -12.25,72t-32,56.25t-43.75,44t-48,38.75t-43.75,36t-32,40.75t-12.25,48.25q0,48 33.5,112l-2-0.5l 0.5,0.5 q-45-20.5 -80-41.5t-69.25-50t-56.75-61.25t-36.25-75.25t-13.75-92q0-39 12.25-72t 32-56.25t 43.75-44t 48-38.75t 43.75-36t 32-40.75t 12.25-48.25q0-47 -33-112l 1.5,0.5l-0.5-0.5q 45,20.5 80,41.5t 69.25,50t 56.75,61.25t 36.25,75.25t 13.75,92z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"leaf, nature, green\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 640,352q0-13 -9.5-22.5t-22.5-9.5q-86,0 -159,24.75t-129.75,67t-117.75,109.75q-9.5,10.5 -9.5,22.5q0,13 9.5,22.5t 22.5,9.5q 12,0 22.5-9.5q 13.5-12 37-35.5t 33.5-33q 68.5-62 134.25-88t 156.75-26q 13,0 22.5-9.5t 9.5-22.5zM 896,253q0,47.5 -10,96.5q-23,112 -92.25,191.5t-178.75,134 q-107,54 -219,54q-74,0 -143-23.5q-7.5-2.5 -44-21t-48-18.5q-8,0 -19.75,16t-22.5,35t-26.25,35t-30,16q-15,0 -25.5-5.5t-15.5-12t-13.5-21q-1-2 -3-5.5t-2.75-5t-1.5-4.75t-0.75-6.75q0-17.5 15.5-36.75t 34-32.75t 34-28t 15.5-24q0-2 -7-19t-8-22q-4.5-25.5 -4.5-52q0-57.5 21.75-110t 59.5-92.25 t 85.25-69.5t 102-47.75q 27.5-9 72.5-12.75t 89.75-4.5t 89.25-3t 81.75-12t 56.75-28.25l 14.75-14.75t 14.75-14t 13.5-10t 18.25-8t 21.75-2.25q 19.5,0 35.25,23t 23.75,56t 12,62t 4,48z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"gift, present, birthday, holiday\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 464,678l0-28 l0-234 l0-96 l-160,0 l0,96 l0,234 l0,28 q0,12.5 9,19.25t 23,6.75l 96,0 q 14,0 23-6.75t 9-19.25zM 236,256l 97.5,0 l-63-80.5q-13-15.5 -34.5-15.5q-20,0 -34,14t-14,34t 14,34t 34,14zM 580,208q0-20 -14-34t-34-14q-21.5,0 -34.5,15.5l-62.5,80.5l 97,0 q 20,0 34-14t 14-34zM 768,336l0,160 q0,7 -4.5,11.5t-11.5,4.5l-48,0 l0,208 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-208 l-48,0 q-7,0 -11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5l 220,0 q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75q 53.5,0 84,38.5l 64,82.5l 64-82.5q 30.5-38.5 84-38.5q 46.5,0 79.25,32.75t 32.75,79.25 t-32.75,79.25t-79.25,32.75l 220,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"exclamation-sign, sign, notification, attention, warning\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,64q 104.5,0 192.75,51.5t 139.75,139.75t 51.5,192.75t-51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5zM 448,687.5l0-95 q0-7 -4.5-11.75t-11-4.75l-96,0 q-6.5,0 -11.5,5t-5,11.5l0,95 q0,6.5 5,11.5t 11.5,5l 96,0 q 6.5,0 11-4.75t 4.5-11.75zM 447,515.5l 9-310.5q0-6 -5-9q-5-4 -12-4l-110,0 q-7,0 -12,4q-5,3 -5,9l 8.5,310.5q0,5 5,8.75t 12,3.75l 92.5,0 q 7,0 11.75-3.75t 5.25-8.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"asterisk, star\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 741,525q 23,13 29.75,38.75t-6.25,48.75l-32,55q-13,23 -38.75,29.75t-48.75-6.25l-133-76.5l0,153.5 q0,26 -19,45t-45,19l-64,0 q-26,0 -45-19t-19-45l0-153.5 l-133,76.5q-23,13 -48.75,6.25t-38.75-29.75l-32-55q-13-23 -6.25-48.75t 29.75-38.75l 133-77l-133-77 q-23-13 -29.75-38.75t 6.25-48.75l 32-55q 13-23 38.75-29.75t 48.75,6.25l 133,76.5l0-153.5 q0-26 19-45t 45-19l 64,0 q 26,0 45,19t 19,45l0,153.5 l 133-76.5q 23-13 48.75-6.25t 38.75,29.75l 32,55q 13,23 6.25,48.75t-29.75,38.75l-133,77z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"minus, remove, delete, subtract\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,368l0,96 q0,20 -14,34t-34,14l-608,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 608,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"plus, add, sum\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,368l0,96 q0,20 -14,34t-34,14l-208,0 l0,208 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-208 l-208,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 208,0 l0-208 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34l0,208 l 208,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"resize-small, contract, collapse\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,480l0,224 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-72-72l-166,166q-5,5 -11.5,5t-11.5-5l-57-57q-5-5 -5-11.5t 5-11.5l 166-166l-72-72q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5zM 761.5,144q0,6.5 -5,11.5l-166,166l 72,72q 9.5,9.5 9.5,22.5t-9.5,22.5 t-22.5,9.5l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 72,72l 166-166q 5-5 11.5-5t 11.5,5l 57,57q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"resize-full, expand, enlarge\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 377.5,528q0,6.5 -5,11.5l-166,166l 72,72q 9.5,9.5 9.5,22.5t-9.5,22.5t-22.5,9.5l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 72,72l 166-166q 5-5 11.5-5t 11.5,5l 57,57q 5,5 5,11.5zM 768,96l0,224 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-72-72l-166,166 q-5,5 -11.5,5t-11.5-5l-57-57q-5-5 -5-11.5t 5-11.5l 166-166l-72-72q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"share-alt, arrow, forward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,320q0,13 -9.5,22.5l-256,256q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-128 l-112,0 q-49,0 -87.75,3t-77,10.75t-66.5,21.25t-52.75,34.75t-40,50.5t-24.25,69.25t-8.75,90.5q0,27.5 2.5,61.5q0,3 1.25,11.75t 1.25,13.25q0,7.5 -4.25,12.5t-11.75,5q-8,0 -14-8.5q-3.5-4.5 -6.5-11 t-6.75-15t-5.25-12q-63.5-142.5 -63.5-225.5q0-99.5 26.5-166.5q 81-201.5 437.5-201.5l 112,0 l0-128 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 256,256q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,416q0,26.5 -18.5,45l-325.5,326q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-325.5-326q-19-18 -19-45q0-26.5 19-45.5l 37-37.5q 19.5-18.5 45.5-18.5q 26.5,0 45,18.5l 147,147l0-352 q0-26 19-45t 45-19l 64,0 q 26,0 45,19t 19,45l0,352 l 147-147q 18.5-18.5 45-18.5q 26,0 45.5,18.5l 37.5,37.5q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,485.5q0,25.5 -18.5,45l-37.5,37.5q-19,19 -45.5,19q-27,0 -45-19l-147-146.5l0,352 q0,26 -18.75,42.25t-45.25,16.25l-64,0 q-26.5,0 -45.25-16.25t-18.75-42.25l0-352 l-147,146.5q-18,19 -45,19t-45-19l-37.5-37.5q-19-19 -19-45q0-26.5 19-45.5l 325.5-325.5q 17.5-18.5 45-18.5q 27,0 45.5,18.5l 325.5,325.5 q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"arrow-right, next, right\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 736,480q0,27 -18.5,45.5l-325.5,325.5q-19.5,18.5 -45.5,18.5q-25.5,0 -45-18.5l-37.5-37.5q-19-19 -19-45.5t 19-45.5l 146.5-146.5l-352,0 q-26,0 -42.25-18.75t-16.25-45.25l0-64 q0-26.5 16.25-45.25t 42.25-18.75l 352,0 l-146.5-147q-19-18 -19-45t 19-45l 37.5-37.5q 19-19 45-19q 26.5,0 45.5,19l 325.5,325.5q 18.5,17.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"arrow-left, previous, left\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448l0,64 q0,26.5 -16.25,45.25t-42.25,18.75l-352,0 l 146.5,147q 19,18 19,45t-19,45l-37.5,38q-18.5,18.5 -45,18.5q-26,0 -45.5-18.5l-325.5-326q-18.5-18.5 -18.5-45q0-26 18.5-45.5l 325.5-325q 19-19 45.5-19q 26,0 45,19l 37.5,37q 19,19 19,45.5t-19,45.5l-146.5,146.5l 352,0 q 26,0 42.25,18.75 t 16.25,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"ban-circle, block, forbidden\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 656,446.5q0-80.5 -43.5-147.5l-377,376.5q 68.5,44.5 148.5,44.5q 55.5,0 105.75-21.75t 86.75-58.25t 58-87.25t 21.5-106.25zM 156.5,596l 377.5-377q-67.5-45.5 -150-45.5q-74,0 -136.5,36.5t-99,99.5t-36.5,137q0,81 44.5,149.5zM 768,446.5q0,78.5 -30.5,150t-81.75,123t-122.5,82t-149.25,30.5t-149.25-30.5 t-122.5-82t-81.75-123t-30.5-150t 30.5-149.75t 81.75-122.75t 122.5-82t 149.25-30.5t 149.25,30.5t 122.5,82t 81.75,122.75t 30.5,149.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"ok-circle, correct, tick, checkmark\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 585.5,406.5l-211,211q-9.5,9.5 -22.5,9.5t-22.5-9.5l-147-147q-9.5-9.5 -9.5-22.5t 9.5-22.5l 51-51q 9.5-9.5 22.5-9.5t 22.5,9.5l 73.5,73.5l 137.5-137.5q 9.5-9.5 22.5-9.5t 22.5,9.5l 51,51q 9.5,9.5 9.5,22.5t-9.5,22.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99 t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"remove-circle, cancel, close, remove, delete\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 548.5,539.5l-73,73q-5,5 -11.5,5t-11.5-5l-68.5-68.5l-68.5,68.5q-5,5 -11.5,5t-11.5-5l-73-73q-5-5 -5-11.5t 5-11.5l 68.5-68.5l-68.5-68.5q-5-5 -5-11.5t 5-11.5l 73-73q 5-5 11.5-5t 11.5,5l 68.5,68.5l 68.5-68.5q 5-5 11.5-5t 11.5,5l 73,73q 5,5 5,11.5t-5,11.5 l-68.5,68.5l 68.5,68.5q 5,5 5,11.5t-5,11.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75 t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"screenshot, target, goal, spot\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 598.5,512l-54.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 54.5,0 q-16-54 -56.25-94.25t-94.25-56.25l0,54.5 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-54.5 q-54,16 -94.25,56.25t-56.25,94.25l 54.5,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-54.5,0 q 16,54 56.25,94.25t 94.25,56.25l0-54.5 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,54.5 q 54-16 94.25-56.25t 56.25-94.25zM 768,416l0,64 q0,13 -9.5,22.5t-22.5,9.5l-71.5,0 q-18.5,80.5 -77.25,139.25t-139.25,77.25l0,71.5 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-71.5 q-80.5-18.5 -139.25-77.25t-77.25-139.25l-71.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 71.5,0 q 18.5-80.5 77.25-139.25t 139.25-77.25l0-71.5 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,71.5 q 80.5,18.5 139.25,77.25t 77.25,139.25l 71.5,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"info-sign, information, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,688l0-80 q0-7 -4.5-11.5t-11.5-4.5l-48,0 l0-256 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,80 q0,7 4.5,11.5t 11.5,4.5l 48,0 l0,160 l-48,0 q-7,0 -11.5,4.5t-4.5,11.5l0,80 q0,7 4.5,11.5t 11.5,4.5l 224,0 q 7,0 11.5-4.5t 4.5-11.5zM 448,240l0-80 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,80 q0,7 4.5,11.5 t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"question-sign, help, support, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5zM 576,352q0-44 -27.75-81.5t-69.25-58t-85-20.5q-121.5,0 -185.5,106.5q-7.5,12 4,21l 66,50q 3.5,3 9.5,3q 8,0 12.5-6q 26.5-34 43-46q 17-12 43-12q 24,0 42.75,13t 18.75,29.5 q0,19 -10,30.5t-34,22.5q-31.5,14 -57.75,43.25t-26.25,62.75l0,18 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5q0-9.5 10.75-24.75t 27.25-24.75q 16-9 24.5-14.25t 23-17.5t 22.25-24t 14-30.25t 6.25-40.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"ok-sign, checkmark, tick, correct, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642,367q0-14 -9-23l-45.5-45q-9.5-9.5 -22.5-9.5t-22.5,9.5l-204,203.5l-113-113q-9.5-9.5 -22.5-9.5t-22.5,9.5l-45.5,45q-9,9 -9,23q0,13.5 9,22.5l 181,181q 9.5,9.5 22.5,9.5q 13.5,0 23-9.5l 271.5-271.5q 9-9 9-22.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5 t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"remove-sign, cancel, remove, delete, close, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 574.5,561q0-13 -9.5-22.5l-90.5-90.5l 90.5-90.5q 9.5-9.5 9.5-22.5q0-13.5 -9.5-23l-45-45q-9.5-9.5 -23-9.5q-13,0 -22.5,9.5l-90.5,90.5l-90.5-90.5q-9.5-9.5 -22.5-9.5q-13.5,0 -23,9.5l-45,45q-9.5,9.5 -9.5,23q0,13 9.5,22.5l 90.5,90.5l-90.5,90.5q-9.5,9.5 -9.5,22.5q0,13.5 9.5,23l 45,45q 9.5,9.5 23,9.5 q 13,0 22.5-9.5l 90.5-90.5l 90.5,90.5q 9.5,9.5 22.5,9.5q 13.5,0 23-9.5l 45-45q 9.5-9.5 9.5-23zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"minus-sign, remove, delete, subtract, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 608,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 384,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75 t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"plus-sign, add, sum, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 608,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-128,0 l0-128 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,128 l-128,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 128,0 l0,128 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 l 128,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,448q0,104.5 -51.5,192.75 t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"chevron-right, right, arrow-right, next\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 549.5,416q0,26 -18.5,45.5l-326,325.5q-18.5,18.5 -45,18.5t-45-18.5l-38-37.5q-18.5-19.5 -18.5-45.5q0-26.5 18.5-45l 243-243l-243-242.5q-18.5-19.5 -18.5-45.5q0-26.5 18.5-45l 38-37.5q 18-19 45-19t 45,19l 326,325.5q 18.5,18.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"chevron-left, arrow-left, left, previous\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 371,786.5l-326-325.5q-18.5-18.5 -18.5-45.25t 18.5-45.25l 326-325.5q 18.5-18.5 45.25-18.5t 45.25,18.5l 37.5,37.5q 18.5,18.5 18.5,45.25t-18.5,45.25l-243,243l 243,242.5q 18.5,19 18.5,45.5t-18.5,45l-37.5,37.5q-18.5,18.5 -45.25,18.5t-45.25-18.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"769\" height=\"896\" viewBox=\"0 0 769 896\" data-du=\"\" data-tags=\"eject, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 7,489.5l 355-355q 9.5-9.5 22.5-9.5t 22.5,9.5l 355,355q 9.5,9.5 6.5,16t-16,6.5l-736,0 q-13,0 -16-6.5t 6.5-16zM 736.5,768l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"step-forward, forward, next, media, control\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 22.5,825.5q-9.5,9.5 -16,6.5t-6.5-16l0-736 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-339 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,704 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-339 q-2.5,5 -6.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"fast-forward, forward, next, media, control\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 22.5,825.5q-9.5,9.5 -16,6.5t-6.5-16l0-736 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-355 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-339 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,704 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-339 q-2.5,5 -6.5,9.5l-355,355 q-9.5,9.5 -16,6.5t-6.5-16l0-355 q-2.5,5 -6.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"forward, next, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 22.5,825.5q-9.5,9.5 -16,6.5t-6.5-16l0-736 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-355 q0-13 6.5-16t 16,6.5l 355,355q 9.5,9.5 9.5,22.5t-9.5,22.5l-355,355q-9.5,9.5 -16,6.5t-6.5-16l0-355 q-2.5,5 -6.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"stop, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pause, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5zM 320,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"play, media, control\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 692,463.5l-664,369q-11.5,6.5 -19.75,1.5t-8.25-18l0-736 q0-13 8.25-18t 19.75,1.5l 664,369q 11.5,6.5 11.5,15.5t-11.5,15.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"backward, previous, back, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 809.5,70.5q 9.5-9.5 16-6.5t 6.5,16l0,736 q0,13 -6.5,16t-16-6.5l-355-355q-4-4.5 -6.5-9.5l0,355 q0,13 -6.5,16t-16-6.5l-355-355q-9.5-9.5 -9.5-22.5t 9.5-22.5l 355-355q 9.5-9.5 16-6.5t 6.5,16l0,355 q 2.5-5.5 6.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"fast-backward, first, previous, control\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 873.5,70.5q 9.5-9.5 16-6.5t 6.5,16l0,736 q0,13 -6.5,16t-16-6.5l-355-355q-4.5-4.5 -6.5-9.5l0,355 q0,13 -6.5,16t-16-6.5l-355-355q-4.5-4.5 -6.5-9.5l0,339 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,339 q 2-5.5 6.5-9.5l 355-355 q 9.5-9.5 16-6.5t 6.5,16l0,355 q 2-5.5 6.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"step-backward, previous, control\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 489.5,70.5q 9.5-9.5 16-6.5t 6.5,16l0,736 q0,13 -6.5,16t-16-6.5l-355-355q-4.5-4.5 -6.5-9.5l0,339 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,339 q 2-5.5 6.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"move, arrows\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,448q0,13 -9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-64 l-192,0 l0,192 l 64,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 64,0 l0-192 l-192,0 l0,64 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5 t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 l 192,0 l0-192 l-64,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5t-9.5,22.5t-22.5,9.5l-64,0 l0,192 l 192,0 l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"check, checkbox, correct, tick\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,465l0,159 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 31.5,0 58.5,12.5q 7.5,3.5 9,11.5q 1.5,8.5 -4.5,14.5l-24.5,24.5q-5,5 -11.5,5q-1.5,0 -4.5-1q-11.5-3 -22.5-3l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-127 q0-6.5 4.5-11l 32-32q 5-5 11.5-5q 3,0 6,1.5q 10,4 10,14.5zM 819.5,220.5l-407,407q-12,12 -28.5,12t-28.5-12l-215-215q-12-12 -12-28.5t 12-28.5l 55-55q 12-12 28.5-12t 28.5,12l 131.5,131.5l 323.5-323.5q 12-12 28.5-12t 28.5,12l 55,55 q 12,12 12,28.5t-12,28.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"share\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,494.5l0,129.5 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 127.5,0 l0,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,13.5 -13,16q-38.5,13 -66.5,30q-5,2 -8,2l-56,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-107 q0-9.5 9-14.5q 14-6.5 27-18.5q 8-8 17.5-4q 10.5,4.5 10.5,14.5zM 822.5,246.5l-192,192q-9,9.5 -22.5,9.5q-6,0 -12.5-2.5q-19.5-8.5 -19.5-29.5l0-96 l-80,0 q-161.5,0 -219,65.5q-59.5,68.5 -37,236.5q 1.5,11.5 -10,17q-4,1 -6,1q-8,0 -13-6.5q-5-7 -10.5-15.5t-19.75-34.25t-24.75-49.75 t-19.25-57t-8.75-61q0-24.5 1.75-45.5t 7-45t 14-44t 23.5-40.75t 34.25-37t 47.25-30.75t 62.25-24.25t 79.75-15.25t 98.25-5.5l 80,0 l0-96 q0-21 19.5-29.5q 6.5-2.5 12.5-2.5q 13,0 22.5,9.5l 192,192q 9.5,9.5 9.5,22.5t-9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"edit, write, blog\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 444,592l 58-58l-76-76l-58,58l0,28 l 48,0 l0,48 l 28,0 zM 664,232q-8-8 -16.5,0.5l-175,175q-8.5,8.5 -0.5,16.5t 16.5-0.5l 175-175q 8.5-8.5 0.5-16.5zM 704,529l0,95 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 31.5,0 58.5,12.5q 7.5,3.5 9,11.5q 1.5,8.5 -4.5,14.5l-24.5,24.5q-7,7 -16,4q-11.5-3 -22.5-3l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-63 q0-6.5 4.5-11l 32-32q 7.5-7.5 17.5-3.5t 10,14.5zM 656,160l 144,144l-336,336l-144,0 l0-144 zM 878,226l-46,46 l-144-144l 46-46q 14-14 34-14t 34,14l 76,76q 14,14 14,34t-14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"tint, droplet, water, color\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 256,576q0-18 -10-34.5q-0.5-0.5 -7.75-11.25t-12.75-19t-12.5-22t-10.5-25.25q-2-8 -10.5-8t-10.5,8q-3.5,11.5 -10.5,25.25t-12.5,22t-12.75,19t-7.75,11.25q-10,16.5 -10,34.5q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 512,512q0,106 -75,181t-181,75t-181-75t-75-181 q0-72.5 40.5-137.5q 3-4.5 31.25-45.25t 50.5-75.5t 49.75-89t 41.5-100.75q 4.5-15 17-23.5t 25.5-8.5t 25.75,8.5t 16.75,23.5q 14,46.5 41.5,100.75t 49.75,89t 50.5,75.5t 31.25,45.25q 40.5,63.5 40.5,137.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"adjust, contrast\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,720l0-544 q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"map-marker, location, marker\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 384,320q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5zM 512,320q0,54.5 -16.5,89.5l-182,387q-8,16.5 -23.75,26t-33.75,9.5t-33.75-9.5t-23.25-26l-182.5-387q-16.5-35 -16.5-89.5q0-106 75-181t 181-75t 181,75t 75,181z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pencil, write, edit, blog\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 181.5,768l 45.5-45.5l-117.5-117.5l-45.5,45.5l0,53.5 l 64,0 l0,64 l 53.5,0 zM 443,304q0-11 -11-11q-5,0 -8.5,3.5l-271,271q-3.5,3.5 -3.5,8.5q0,11 11,11q 5,0 8.5-3.5l 271-271q 3.5-3.5 3.5-8.5zM 416,208l 208,208l-416,416l-208,0 l0-208 zM 757.5,256q0,26.5 -18.5,45l-83,83l-208-208l 83-82.5q 18-19 45-19 q 26.5,0 45.5,19l 117.5,117q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"picture, image, photo\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 320,288q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 832,480l0,224 l-704,0 l0-96 l 160-160l 80,80l 256-256zM 880,128l-800,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,608 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-608 q0-6.5 -4.75-11.25t-11.25-4.75zM 960,144l0,608 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"facetime-video, video, movie, camera, film\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,176l0,544 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-201.5-201.5l0,83 q0,59.5 -42.25,101.75t-101.75,42.25l-352,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-352 q0-59.5 42.25-101.75t 101.75-42.25l 352,0 q 59.5,0 101.75,42.25t 42.25,101.75l0,82.5 l 201.5-201q 9-9.5 22.5-9.5q 6,0 12.5,2.5 q 19.5,8.5 19.5,29.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"indent-right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 176,416q0,7 -4.5,11.5l-144,144q-4.5,4.5 -11.5,4.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-288 q0-6.5 4.75-11.25t 11.25-4.75q 7,0 11.5,4.5l 144,144q 4.5,4.5 4.5,11.5zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 896,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"indent-left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,272l0,288 q0,6.5 -4.75,11.25t-11.25,4.75q-7,0 -11.5-4.5l-144-144q-4.5-4.5 -4.5-11.5t 4.5-11.5l 144-144q 4.5-4.5 11.5-4.5q 6.5,0 11.25,4.75t 4.75,11.25zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 896,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list, menu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 128,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 128,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 128,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25 t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-justify, justify, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,288l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-right, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 640,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,288l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-768,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 768,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-576,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-center, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 704,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5zM 832,288l0,64 q0,13 -9.5,22.5t-22.5,9.5 l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 640,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-left, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 704,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 640,0 q 13,0 22.5,9.5t 9.5,22.5zM 832,288l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-768,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 768,0 q 13,0 22.5,9.5t 9.5,22.5zM 640,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-576,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"text-width, format, text\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 40.5,64.5l 27,13.5q 10,2.5 105.5,2.5l 65,0 l 9.5-1.5l 57.5-0.5l 223,0.5l 159,0 l 17,1q 7,0.5 14-3.5t 10.5-8l 3.5-4l 21-0.5q 7.5,0 14,0.5l0,52.25 t 0.5,65.75l 0.5,50l-0.5,29q0,16 -2,25.5q-19.5,7.5 -34,9q-12.5-21.5 -27-64q-4-12 -7.75-31.25t-5.75-32.75t-3-14.5q-6.5-7.5 -13.5-9.5q-3.5-1 -29.25-1t-69.25,0.5t-64,0.5 q-47,0 -63.5,2.5q-5,48.5 -4,68l 0.5,76l0-26 l 1.5,179.5l-0.5,73.5q-0.5,23 5.5,42.5q 24.5,12.5 44.5,16q 1,0 9,2.5t 22,6.5t 21.5,6q 15,4 25,9q 2.5,22.5 2.5,25q0,5 -1.5,14.5q-7,0.5 -17,0.5q-55,0 -93.5-5q-36-4 -119-4q-41,0 -116.5,6.5q-22.5,2.5 -35,2.5q-1-11 -1-13l-0.5-13l0-4.5 q 10.5-16.5 39.5-24.5 q 69.5-19 79.5-25q 4.5-10.5 6-28q 3-68.5 3-216.5l-2.5-22q0-132.5 -1-139q-1-5.5 -3-7.5q-3-2.5 -7-3q-19-3 -74-3q-25,0 -84.25,7t-66.25,12q-6.5,4.5 -11,16.5t-11,37.5t-12,42q-3,9.5 -9.75,16t-10.25,6.5q-22-13.5 -28-22l0-148.5 l0-43 zM 752.5,711.5q 13,10 13,24.5t-13,24.5l-81,63 q-13,10 -22.25,5.5t-9.25-21l0-40 l-512,0 l0,40 q0,16.5 -9.25,21t-22.25-5.5l-81-63q-13-10 -13-24.5t 13-24.5l 81-63q 13-10 22.25-5.5t 9.25,21l0,40 l 512,0 l0-40 q0-16.5 9.25-21t 22.25,5.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"text-height, format, editor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 40.5,64.5l 27,13.5q 10,2.5 105.5,2.5l 65,0 l 9.5-1.5l 57.5-0.5l 107.5,0.5l 146.5,0 l 17,1q 7,0.5 14-3.5t 10.5-8l 3.5-4l 21-0.5q 7.5,0 14,0.5l0,52.25 t 0.5,65.75l 0.5,50l-0.5,29q0,16 -2,25.5q-19.5,7.5 -34,9q-12.5-21.5 -27-64q-4-12 -7.75-31.25t-5.75-32.75t-3-14.5q-6.5-7.5 -13.5-9.5q-3.5-1 -21.25-1t-51.75,0.5t-55.5,0.5 q-17,0 -33.5,2.5q-5,48.5 -4,68l 0.5,76l0,166 l 1.5,179.5l-0.5,73.5q-0.5,23 5.5,42.5q 24.5,12.5 44.5,16q 1,0 9,2.5t 22,6.5t 21.5,6q 15,4 25,9q 2.5,22.5 2.5,25q0,5 -1.5,14.5q-7,0.5 -17,0.5q-55,0 -93.5-5q-36-4 -119-4q-44,0 -116.5,7q-24,2 -35,2q-1-11 -1-13l-0.5-13l0-4.5 q 10.5-16.5 39.5-24.5 q 69.5-19 79.5-25q 4.5-10.5 6-28q 4-96 3-216.5l-2.5-214q-0.5-31 -0.25-59.25t 0.25-51.25t-1-28.5t-3-7.5q-3-2.5 -7-3q-19-3 -74-3q-21.5,0 -50,6.75t-36.5,12.25q-6.5,4.5 -11,16.5t-11,37.5t-12,42q-3,9.5 -9.75,16t-10.25,6.5q-22-13.5 -28-22l0-148.5 l0-43 zM 872,704q 16.5,0 21,9.25t-5.5,22.25 l-63,81q-10,13 -24.5,13t-24.5-13l-63-81q-10-13 -5.5-22.25t 21-9.25l 40,0 l0-512 l-40,0 q-16.5,0 -21-9.25t 5.5-22.25l 63-81q 10-13 24.5-13t 24.5,13l 63,81q 10,13 5.5,22.25t-21,9.25l-40,0 l0,512 l 40,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"italic, editor, format\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M0,831l 8.5-42.5q 2-0.5 38.5-10q 38-9.5 58-19.5q 14.5-18.5 20.5-50.5l 13.5-69.5l 28-134l 6-32q 4-22 8.5-42.25t 8-33.5t 6.25-23.25t 4.5-15.25t 1.75-5.75l 14.5-78.5l 8-31.5l 11-67.5l 4-25l0-19 q-20.5-11 -72-14q-14-1 -19-2l 9.5-51.5l 158.5,7q 19.5,1 36.5,1q 33,0 107-4.5q 16.5-1 34-2.25t 18-1.25q-1,9.5 -3,19 q-3.5,14.5 -6.5,25.5q-27.5,9.5 -54.5,15.5q-32,8 -50.5,15.5q-6,15.5 -12,44q-4.5,22 -6.5,41q-22,99.5 -33,153l-30.5,155.5l-19,79l-21.5,117.5l-6,22.5q-1,3.5 0.5,13.5q 32,7.5 59.5,10.5q 18,2.5 33,5q-0.5,14.5 -3.5,29q-3.5,15.5 -4.5,20.5q-9,0 -11.5,0.5q-12,1 -21,1q-4.5,0 -14-1.5q-9.5-2 -72.5-8.5 l-99-1q-20.5-0.5 -87,5.5q-37,3.5 -49,4.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"bold, editor, format\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 277.5,760.5q 38,16 70,16q 65.5,0 108-20.5t 61-56.5q 19-35 19-90.5q0-57 -20.5-90q-29-47 -70.5-63q-40-16 -123.5-16q-37,0 -50.5,5l0,72 l-0.5,86.5l 1.5,135q0,7.5 6,22zM 270.5,387.5q 21.5,3.5 54.5,3.5q 87.5,0 132-32.5t 44.5-112q0-56 -42.5-93.5q-42-37.5 -127.5-37.5q-26,0 -65,6.5q0,22 1,38.5 q 3.5,61 3,139.5l-0.5,49q0,21.5 0.5,38.5zM0,832l 1-47q 22.5-4.5 34-6q 38.5-6 61.5-15.5q 8.5-13.5 10.5-25.5q 4.5-33 4.5-97l-1-248.5q-2.5-128 -4.5-202q-0.5-43.5 -5.5-54.5q-0.5-2 -6-6q-9-6 -34.5-7.5q-15-1 -57-6.5l-2-41.5l 130-3l 190-6.5l 22.5-0.5q 2.5,0 7-0.25t 7-0.25q 0.5,0 10.75,0.25t 20.25,0.25l 37,0 q 44,0 95.5,13.5 q 21.5,6.5 48,19.5q 28.5,14.5 51,38q 22,23.5 32.5,52t 10.5,61q0,35 -16,64t-47.5,52.5q-13,10 -75,38.5q 88.5,20.5 133.5,73q 46,53 46,118q0,38 -14.5,80.5q-10.5,31 -35.5,58.5q-33,36 -70,54q-36.5,18 -101.5,30q-41,7.5 -99,5.5l-98.5-2q-42-1 -149,5.5q-16.5,1.5 -136,5.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"font, letter, glyph, editor\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 362.5,279.5l-85,225q 36.5,0.5 76.75,1t 59.5,0.75t 26.25,0.25l 14.5-1q-16-47.5 -46-120.5q-26.5-66 -46-105.5zM 10.5,832l-10.5,0 l 1-39.5q 11-3.5 40-9q 44.5-8 55-15.5q 10-8 24-34l 118.5-308l 140-362l 37.5,0 l 26.5,0 l 5.5,10.5l 102.5,240q 51.5,121 62,148.5q 19.5,51 48,117.5q 13,29 32.5,82q 12,33.5 32.5,74.5 q 11,24.5 17.5,28.5q 11,9.5 34.5,11.5q 23.5,3 51.5,13.5q 3,19.5 3,28.5q0,7 -0.5,13q-40,0 -96-4q-46.5-4 -94.5-4q-39.5,0 -67.5,1l-100,5.5l-29,1q0-22.5 2-39l 65.5-14q 28-6.5 34-11.5q 6-6 6-13.5t-3-16l-23.5-57l-46-114l-225-1q-14.5,32.5 -52,137q-11.5,32 -11.5,42q0,15.5 8.5,21.5 q 13,10.5 51.5,16q 1.5,0 6.75,1t 15,2.5t 20.25,3q 0.5,14 0.5,29q0,8.5 -1,13.5q-33,0 -174.5-10l-24,4q-40.5,7 -83.5,7z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 480,336q 59.5,0 101.75,42.25t 42.25,101.75t-42.25,101.75t-101.75,42.25t-101.75-42.25t-42.25-101.75t 42.25-101.75t 101.75-42.25zM 832,128q 53,0 90.5,37.5t 37.5,90.5l0,448 q0,53 -37.5,90.5t-90.5,37.5l-704,0 q-53,0 -90.5-37.5t-37.5-90.5l0-448 q0-53 37.5-90.5t 90.5-37.5l 112,0 l 25.5-68 q 9.5-24.5 34.75-42.25t 51.75-17.75l 256,0 q 26.5,0 51.75,17.75t 34.75,42.25l 25.5,68l 112,0 zM 480,704q 92.5,0 158.25-65.75t 65.75-158.25t-65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"print\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 192,768l 448,0 l0-128 l-448,0 l0,128 zM 192,448l 448,0 l0-192 l-80,0 q-20,0 -34-14t-14-34l0-80 l-320,0 l0,320 zM 768,480q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,480l0,208 q0,6.5 -4.75,11.25t-11.25,4.75l-112,0 l0,80 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34 l0-80 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-208 q0-39.5 28.25-67.75t 67.75-28.25l 32,0 l0-272 q0-20 14-34t 34-14l 336,0 q 20,0 44,10t 38,24l 76,76q 14,14 24,38t 10,44l0,128 l 32,0 q 39.5,0 67.75,28.25t 28.25,67.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"bookmark, favorite, ribbon\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 582,64q 11.5,0 22,4.5q 16.5,6.5 26.25,20.5t 9.75,31l0,644.5 q0,17 -9.75,31t-26.25,20.5q-9.5,4 -22,4q-24,0 -41.5-16l-220.5-212l-220.5,212q-18,16.5 -41.5,16.5q-11.5,0 -22-4.5q-16.5-6.5 -26.25-20.5t-9.75-31l0-644.5 q0-17 9.75-31t 26.25-20.5q 10.5-4.5 22-4.5l 524,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"book, read, study, learn, education\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 819.5,239q 20,28.5 9,64.5l-137.5,453q-9.5,32 -38.25,53.75t-61.25,21.75l-461.5,0 q-38.5,0 -74.25-26.75t-49.75-65.75q-12-33.5 -1-63.5q0-2 1.5-13.5t 2-18.5q 0.5-4 -1.5-10.75t-1.5-9.75q 1-5.5 4-10.5t 8.25-11.75t 8.25-11.75q 11.5-19 22.5-45.75t 15-45.75q 1.5-5 0.25-15t-0.25-14q 1.5-5.5 8.5-14t 8.5-11.5 q 10.5-18 21-46t 12.5-45q 0.5-4.5 -1.25-16t 0.25-14q 2-6.5 11-15.25t 11-11.25q 9.5-13 21.25-42.25t 13.75-48.25q 0.5-4 -1.5-12.75t-1-13.25q 1-4 4.5-9t 9-11.5t 8.5-10.5q 4-6 8.25-15.25t 7.5-17.5t 8-18t 9.75-16t 13.25-11.75t 18-5.75t 23.75,2.75l-0.5,1.5q 19-4.5 25.5-4.5l 380.5,0 q 37,0 57,28t 9,65l-137,453 q-18,59.5 -35.75,76.75t-64.25,17.25l-434.5,0 q-13.5,0 -19,7.5q-5.5,8 -0.5,21.5q 12,35 72,35l 461.5,0 q 14.5,0 28-7.75t 17.5-20.75l 150-493.5q 3.5-11 2.5-28.5q 19,7.5 29.5,21.5zM 287.5,240q-2,6.5 1,11.25t 10,4.75l 304,0 q 6.5,0 12.75-4.75t 8.25-11.25l 10.5-32q 2-6.5 -1-11.25t-10-4.75l-304,0 q-6.5,0 -12.75,4.75 t-8.25,11.25zM 246,368q-2,6.5 1,11.25t 10,4.75l 304,0 q 6.5,0 12.75-4.75t 8.25-11.25l 10.5-32q 2-6.5 -1-11.25t-10-4.75l-304,0 q-6.5,0 -12.75,4.75t-8.25,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"tags, price, ecommerce\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 224,224q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 757.5,512q0,26.5 -18.5,45l-245.5,246q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-357.5-358q-19-18.5 -32.25-50.5t-13.25-58.5l0-208 q0-26 19-45t 45-19l 208,0 q 26.5,0 58.5,13.25t 51,32.25 l 357.5,357q 18.5,19.5 18.5,45.5zM 949.5,512q0,26.5 -18.5,45l-245.5,246q-19.5,18.5 -45.5,18.5q-18,0 -29.5-7t-26.5-22.5l 235-235q 18.5-18.5 18.5-45q0-26 -18.5-45.5l-357.5-357q-19-19 -51-32.25t-58.5-13.25l 112,0 q 26.5,0 58.5,13.25t 51,32.25l 357.5,357q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"tag, price, ecommerce\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 224,224q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 757.5,512q0,26.5 -18.5,45l-245.5,246q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-357.5-358q-19-18.5 -32.25-50.5t-13.25-58.5l0-208 q0-26 19-45t 45-19l 208,0 q 26.5,0 58.5,13.25t 51,32.25 l 357.5,357q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"barcode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 31.5,768l-31.5,0 l0-704 l 31.5,0 l0,704 zM 63,767.5l-16,0 l0-703.5 l 16,0 l0,703.5 zM 110,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 188.5,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 267,767.5l-31,0 l0-703.5 l 31,0 l0,703.5 zM 330,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 361.5,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 393,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 471.5,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 550,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 z M 613,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 676,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 723,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 817.5,767.5l-47,0 l0-703.5 l 47,0 l0,703.5 zM 849,767.5l-16,0 l0-703.5 l 16,0 l0,703.5 zM 896,768l-31.5,0 l0-704 l 31.5,0 l0,704 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"qrcode\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,576l0,64 l-64,0 l0-64 l 64,0 zM 192,192l0,64 l-64,0 l0-64 l 64,0 zM 576,192l0,64 l-64,0 l0-64 l 64,0 zM 64,703.5l 192,0 l0-191.5 l-192,0 l0,191.5 zM 64,320l 192,0 l0-192 l-192,0 l0,192 zM 448,320l 192,0 l0-192 l-192,0 l0,192 zM 320,448l0,320 l-320,0 l0-320 l 320,0 zM 576,704l0,64 l-64,0 l0-64 l 64,0 zM 704,704l0,64 l-64,0 l0-64 l 64,0 z M 704,448l0,192 l-192,0 l0-64 l-64,0 l0,192 l-64,0 l0-320 l 192,0 l0,64 l 64,0 l0-64 l 64,0 zM 320,64l0,320 l-320,0 l0-320 l 320,0 zM 704,64l0,320 l-320,0 l0-320 l 320,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"volume-up, speaker\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,176l0,544 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-166.5-166.5l-131,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 131,0 l 166.5-166.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5zM 576,448q0,38 -21.25,70.75t-56.25,46.75q-5,2.5 -12.5,2.5q-13,0 -22.5-9.25t-9.5-22.75q0-10.5 6-17.75t 14.5-12.5t 17-11.5t 14.5-17.75 t 6-28.5t-6-28.5t-14.5-17.75t-17-11.5t-14.5-12.5t-6-17.75q0-13.5 9.5-22.75t 22.5-9.25q 7.5,0 12.5,2.5q 35,13.5 56.25,46.5t 21.25,71zM 704,448q0,76.5 -42.5,141.25t-112.5,94.25q-6.5,2.5 -12.5,2.5q-13.5,0 -23-9.5t-9.5-22.5q0-19.5 19.5-29.5q 28-14.5 38-22q 37-27 57.75-67.75t 20.75-86.75t-20.75-86.75 t-57.75-67.75q-10-7.5 -38-22q-19.5-10 -19.5-29.5q0-13 9.5-22.5t 22.5-9.5q 6.5,0 13,2.5q 70,29.5 112.5,94.25t 42.5,141.25zM 832,448q0,115 -63.5,211.25t-169,141.75q-6.5,2.5 -13,2.5q-13,0 -22.5-9.5t-9.5-22.5q0-18 19.5-29.5q 3.5-2 11.25-5.25t 11.25-5.25q 23-12.5 41-25.5q 61.5-45.5 96-113.5t 34.5-144.5t-34.5-144.5 t-96-113.5q-18-13 -41-25.5q-3.5-2 -11.25-5.25t-11.25-5.25q-19.5-11.5 -19.5-29.5q0-13 9.5-22.5t 22.5-9.5q 6.5,0 13,2.5q 105.5,45.5 169,141.75t 63.5,211.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"volume-down, speaker\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 384,176l0,544 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-166.5-166.5l-131,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 131,0 l 166.5-166.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5zM 576,448q0,38 -21.25,70.75t-56.25,46.75q-5,2.5 -12.5,2.5q-13,0 -22.5-9.25t-9.5-22.75q0-10.5 6-17.75t 14.5-12.5t 17-11.5t 14.5-17.75 t 6-28.5t-6-28.5t-14.5-17.75t-17-11.5t-14.5-12.5t-6-17.75q0-13.5 9.5-22.75t 22.5-9.25q 7.5,0 12.5,2.5q 35,13.5 56.25,46.5t 21.25,71z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"volume-off, speaker, mute\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 384,176l0,544 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-166.5-166.5l-131,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 131,0 l 166.5-166.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"headphones, listen, music\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,443q0,83 -30,157l-10,24.5l-92.5,16.5q-11,41.5 -45.25,68.25t-78.25,26.75l0,16 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5l0,16 q 35.5,0 65,17.75t 46.5,47.75l 34-6q 14.5-47.5 14.5-96.5q0-74 -44-139.5t-118.25-104.5t-157.75-39 t-157.75,39t-118.25,104.5t-44,139.5q0,49 14.5,96.5l 34,6q 17-30 46.5-47.75t 65-17.75l0-16 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-16 q-44,0 -78.25-26.75t-45.25-68.25l-92.5-16.5l-10-24.5q-30-74 -30-157q0-75.5 33.5-145.5t 89.5-121.25 t 133-81.75t 160-30.5t 160,30.5t 133,81.75t 89.5,121.25t 33.5,145.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"flag, report\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 160,128q0,36 -32,55l0,633 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-633 q-32-19 -32-55q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 896,160l0,381.5 q0,12.5 -6.25,19.25t-19.75,13.75q-107.5,58 -184.5,58q-30.5,0 -61.75-11t-54.25-24 t-57.75-24t-71.25-11q-96,0 -232,73q-8.5,4.5 -16.5,4.5q-13,0 -22.5-9.5t-9.5-22.5l0-371 q0-16 15.5-27.5q 10.5-7 39.5-21.5q 118-60 210.5-60q 53.5,0 100,14.5t 109.5,44q 19,9.5 44,9.5q 27,0 58.75-10.5t 55-23.5t 44-23.5t 27.25-10.5q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"lock, password, secure, private, protected, encrypted\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 160,384l 256,0 l0-96 q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5l0,96 zM 576,432l0,288 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-288 q0-20 14-34t 34-14l 16,0 l0-96 q0-92 66-158t 158-66t 158,66t 66,158l0,96 l 16,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list-alt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,592l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,464l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 192,336l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 768,592l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 768,464l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 768,336l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 832,688l0-416 q0-6.5 -4.75-11.25t-11.25-4.75l-736,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,416 q0,6.5 4.75,11.25t 11.25,4.75l 736,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 896,144l0,544 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 736,0 q 33,0 56.5,23.5 t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"refresh, synchronize\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 755.5,528q0,2.5 -0.5,3.5q-32,134 -134,217.25t-239,83.25q-73,0 -141.25-27.5t-121.75-78.5l-64.5,64.5q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5l-68.5,68.5q 35.5,33 80.5,51t 93.5,18q 67,0 125-32.5t 93-89.5q 5.5-8.5 26.5-58.5 q 4-11.5 15-11.5l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 768,128l0,224 q0,13 -9.5,22.5t-22.5,9.5l-224,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 69-69q-74-68.5 -174.5-68.5q-67,0 -125,32.5t-93,89.5q-5.5,8.5 -26.5,58.5q-4,11.5 -15,11.5l-99.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-3.5 q 32.5-134 135-217.25t 240-83.25 q 73,0 142,27.75t 122.5,78.25l 65-64.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"repeat, loop, reload, refresh, synchronize\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,128l0,224 q0,13 -9.5,22.5t-22.5,9.5l-224,0 q-21,0 -29.5-20q-8.5-19.5 7-34.5l 69-69q-74-68.5 -174.5-68.5q-52,0 -99.25,20.25t-81.75,54.75t-54.75,81.75t-20.25,99.25t 20.25,99.25t 54.75,81.75t 81.75,54.75t 99.25,20.25q 59.5,0 112.5-26t 89.5-73.5q 3.5-5 11.5-6q 7,0 12.5,4.5 l 68.5,69q 4.5,4 4.75,10.25t-3.75,11.25q-54.5,66 -132,102.25t-163.5,36.25q-78,0 -149-30.5t-122.5-82t-82-122.5t-30.5-149t 30.5-149t 82-122.5t 122.5-82t 149-30.5q 73.5,0 142.25,27.75t 122.25,78.25l 65-64.5q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"play-circle, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 592,448q0,18.5 -16,27.5l-272,160q-7.5,4.5 -16,4.5q-8,0 -16-4q-16-9.5 -16-28l0-320 q0-18.5 16-28q 16.5-9 32,0.5l 272,160q 16,9 16,27.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"inbox, drawer, storage, archive\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 511.5,480l 158,0 q-0.5-1.5 -1.25-4t-1.25-4l-106-248l-354,0 l-106,248q-0.5,1 -1.25,4t-1.25,4l 158,0 l 47.5,96l 160,0 zM 768,495l0,241 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-241 q0-31 12.5-61.5l 119-276q 5-12.5 18.25-21t 26.25-8.5l 416,0 q 13,0 26.25,8.5t 18.25,21l 119,276 q 12.5,30.5 12.5,61.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"upload, load, open\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 559,438q-4,10 -15,10l-96,0 l0,176 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-176 l-96,0 q-7,0 -11.5-4.5t-4.5-11.5q0-6 5-12l 159.5-159.5q 5.5-4.5 11.5-4.5t 11.5,4.5l 160,160q 7.5,8 3.5,17.5zM 384,176q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99 t 36.5-136.5t-36.5-136.5t-99-99t-136.5-36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"download, arrow, store, save\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 560,464q0,6 -5,12l-159.5,159.5q-5.5,4.5 -11.5,4.5t-11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-176 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,176 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 384,176q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5 t-36.5-136.5t-99-99t-136.5-36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"download-alt, arrow, store, save\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 768,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,560l0,160 q0,20 -14,34t-34,14l-736,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 232.5,0 l 67.5,68 q 29,28 68,28t 68-28l 68-68l 232,0 q 20,0 34,14t 14,34zM 669.5,275.5q 8.5,20.5 -7,35l-224,224q-9,9.5 -22.5,9.5t-22.5-9.5l-224-224q-15.5-14.5 -7-35q 8.5-19.5 29.5-19.5l 128,0 l0-224 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 l 128,0 q 21,0 29.5,19.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"road, asphalt\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 555.5,498l0-2 l-12-160q-0.5-6.5 -5.5-11.25t-11.5-4.75l-93,0 q-6.5,0 -11.5,4.75t-5.5,11.25l-12,160l0,2 q-0.5,6 4,10t 10.5,4l 122,0 q 6,0 10.5-4t 4-10zM 935,731.5q0,36.5 -23,36.5l-352,0 q 6.5,0 11-4.75t 4-11.25l-10-128q-0.5-6.5 -5.5-11.25t-11.5-4.75l-136,0 q-6.5,0 -11.5,4.75t-5.5,11.25l-10,128 q-0.5,6.5 4,11.25t 11,4.75l-352,0 q-23,0 -23-36.5q0-27 13-58l 208.5-522q 4-9.5 13-16.5t 19-7l 169.5,0 q-6.5,0 -11.5,4.75t-5.5,11.25l-7.5,96q-0.5,7 4,11.5t 11,4.5l 83,0 q 6.5,0 11-4.5t 4-11.5l-7.5-96q-0.5-6.5 -5.5-11.25t-11.5-4.75l 169.5,0 q 10,0 19,7t 13,16.5l 208.5,522q 13,31 13,58z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"time, clock\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448,272l0,224 q0,7 -4.5,11.5t-11.5,4.5l-160,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 112,0 l0-176 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file, paper, new, empty\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 64,768l 512,0 l0-384 l-208,0 q-20,0 -34-14t-14-34l0-208 l-256,0 l0,640 zM 384,320l 188,0 q-5-14.5 -11-20.5l-156.5-156.5q-6-6 -20.5-11l0,188 zM 640,336l0,448 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 320,0 q 20,0 44,10t 38,24l 156,156q 14,14 24,38t 10,44z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,496l0,240 q0,13 -9.5,22.5t-22.5,9.5l-192,0 l0-192 l-128,0 l0,192 l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-240 q0-0.5 0.25-1.5t 0.25-1.5l 287.5-237l 287.5,237q 0.5,1 0.5,3zM 815.5,461.5l-31,37q-4,4.5 -10.5,5.5l-1.5,0 q-6.5,0 -10.5-3.5l-346-288.5l-346,288.5q-6,4 -12,3.5q-6.5-1 -10.5-5.5l-31-37q-4-5 -3.5-11.75t 5.5-10.75 l 359.5-299.5q 16-13 38-13t 38,13l 122,102l0-97.5 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,204 l 109.5,91q 5,4 5.5,10.75t-3.5,11.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"trash, remove, delete, bin\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 256,368l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 384,368l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,368l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 576,730l0-474 l-448,0 l0,474 q0,11 3.5,20.25t 7.25,13.5t 5.25,4.25l 416,0 q 1.5,0 5.25-4.25t 7.25-13.5t 3.5-20.25zM 240,192l 224,0 l-24-58.5q-3.5-4.5 -8.5-5.5l-158.5,0 q-5,1 -8.5,5.5zM 704,208l0,32 q0,7 -4.5,11.5t-11.5,4.5l-48,0 l0,474 q0,41.5 -23.5,71.75t-56.5,30.25l-416,0 q-33,0 -56.5-29.25t-23.5-70.75l0-476 l-48,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 154.5,0 l 35-83.5q 7.5-18.5 27-31.5t 39.5-13l 160,0 q 20,0 39.5,13t 27,31.5l 35,83.5l 154.5,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"cog, settings, options, gear, preferences\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,448q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5zM 768,393.5l0,111 q0,6 -4,11.5t-10,6.5l-92.5,14q-9.5,27 -19.5,45.5q 17.5,25 53.5,69q 5,6 5,12.5t-4.5,11.5q-13.5,18.5 -49.5,54t-47,35.5q-6,0 -13-4.5l-69-54q-22,11.5 -45.5,19 q-8,68 -14.5,93q-3.5,14 -18,14l-111,0 q-7,0 -12.25-4.25t-5.75-10.75l-14-92q-24.5-8 -45-18.5l-70.5,53.5q-5,4.5 -12.5,4.5q-7,0 -12.5-5.5q-63-57 -82.5-84q-3.5-5 -3.5-11.5q0-6 4-11.5q 7.5-10.5 25.5-33.25t 27-35.25q-13.5-25 -20.5-49.5l-91.5-13.5q-6.5-1 -10.5-6.25t-4-11.75l0-111 q0-6 4-11.5t 9.5-6.5 l 93-14q 7-23 19.5-46q-20-28.5 -53.5-69q-5-6 -5-12q0-5 4.5-11.5q 13-18 49.25-53.75t 47.25-35.75q 6.5,0 13,5l 69,53.5q 22-11.5 45.5-19q 8-68 14.5-93q 3.5-14 18-14l 111,0 q 7,0 12.25,4.25t 5.75,10.75l 14,92q 24.5,8 45,18.5l 71-53.5q 4.5-4.5 12-4.5q 6.5,0 12.5,5q 64.5,59.5 82.5,85q 3.5,4 3.5,11 q0,6 -4,11.5q-7.5,10.5 -25.5,33.25t-27,35.25q 13,25 20.5,49l 91.5,14q 6.5,1 10.5,6.25t 4,11.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"signal, bars, stats\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,720l0,96 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 320,656l0,160 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,528l0,288 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5 l0-288 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 704,336l0,480 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-480 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,80l0,736 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-736 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"off, switch, power\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,78 -30.5,149t-82,122.5t-122.5,82t-149,30.5t-149-30.5t-122.5-82t-82-122.5t-30.5-149q0-91 40.25-171.5t 113.25-135q 21.5-16 47.75-12.5t 41.75,25q 16,21 12.25,47.25t-24.75,42.25q-49,37 -75.75,90.5t-26.75,114q0,52 20.25,99.25t 54.75,81.75t 81.75,54.75 t 99.25,20.25t 99.25-20.25t 81.75-54.75t 54.75-81.75t 20.25-99.25q0-60.5 -26.75-114t-75.75-90.5q-21-16 -24.75-42.25t 12.25-47.25q 15.5-21.5 42-25t 47.5,12.5q 73,54.5 113.25,135t 40.25,171.5zM 448,64l0,320 q0,26 -19,45t-45,19t-45-19t-19-45l0-320 q0-26 19-45t 45-19t 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"zoom-out, magnifier\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 288,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,416q0-92.5 -65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75t 158.25-65.75t 65.75-158.25z M 832,832q0,26.5 -18.75,45.25t-45.25,18.75q-27,0 -45-19l-171.5-171q-89.5,62 -199.5,62q-71.5,0 -136.75-27.75t-112.5-75t-75-112.5t-27.75-136.75t 27.75-136.75t 75-112.5t 112.5-75t 136.75-27.75t 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,110 -62,199.5l 171.5,171.5q 18.5,18.5 18.5,45z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"zoom-in, magnifier, enlarge\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-112,0 l0,112 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-112 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 112,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 l 112,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,416q0-92.5 -65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75t 158.25-65.75t 65.75-158.25zM 832,832q0,26.5 -18.75,45.25t-45.25,18.75q-27,0 -45-19l-171.5-171q-89.5,62 -199.5,62q-71.5,0 -136.75-27.75 t-112.5-75t-75-112.5t-27.75-136.75t 27.75-136.75t 75-112.5t 112.5-75t 136.75-27.75t 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,110 -62,199.5l 171.5,171.5q 18.5,18.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"remove, cancel, close, delete, mutiply\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 649,661q0,20 -14,34l-68,68q-14,14 -34,14t-34-14l-147-147l-147,147q-14,14 -34,14t-34-14l-68-68q-14-14 -14-34t 14-34l 147-147l-147-147q-14-14 -14-34t 14-34l 68-68q 14-14 34-14t 34,14l 147,147l 147-147q 14-14 34-14t 34,14l 68,68q 14,14 14,34 t-14,34l-147,147l 147,147q 14,14 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"ok, checkmark, tick, correct\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 835.5,283q0,20 -14,34l-362,362l-68,68q-14,14 -34,14t-34-14l-68-68l-181-181q-14-14 -14-34t 14-34l 68-68q 14-14 34-14t 34,14l 147,147.5l 328-328.5q 14-14 34-14t 34,14l 68,68q 14,14 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"th-list, list, ul\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 256,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,624l0,96 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 480,0 q 20,0 34,14t 14,34zM 256,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,368l0,96 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14 l 480,0 q 20,0 34,14t 14,34zM 896,112l0,96 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 480,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"th, grid\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 256,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 576,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 256,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 576,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14 l 160,0 q 20,0 34,14t 14,34zM 896,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 576,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"th-large, grid, icons\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,512l0,192 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45zM 384,128l0,192 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45zM 832,512l0,192 q0,26 -19,45t-45,19 l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45zM 832,128l0,192 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"film, movie, video\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 192,800l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 192,608l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 192,416l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 704,800l0-256 q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,256 q0,13 9.5,22.5t 22.5,9.5l 384,0 q 13,0 22.5-9.5t 9.5-22.5zM 192,224l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5 t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,800l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 704,416l0-256 q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,256 q0,13 9.5,22.5t 22.5,9.5l 384,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,608l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,416l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,224l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5 t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 960,144l0,672 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-672 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"user, profile, member\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,702.5q0,60 -36.5,94.75t-97,34.75l-437,0 q-60.5,0 -97-34.75t-36.5-94.75q0-26.5 1.75-51.75t 7-54.5t 13.25-54.25t 21.5-48.75t 31-40.5t 42.75-26.75t 55.75-10q 4.5,0 21,10.75t 37.25,24t 54,24t 66.75,10.75t 66.75-10.75t 54-24t 37.25-24t 21-10.75q 30.5,0 55.75,10t 42.75,26.75t 31,40.5 t 21.5,48.75t 13.25,54.25t 7,54.5t 1.75,51.75zM 544,256q0,79.5 -56.25,135.75t-135.75,56.25t-135.75-56.25t-56.25-135.75t 56.25-135.75t 135.75-56.25t 135.75,56.25t 56.25,135.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"star-empty, favorite, rate\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 568.5,502l 153-148.5l-211-31l-94.5-191l-94.5,191l-211,31l 153,148.5l-36.5,210.5l 189-99.5l 188.5,99.5zM 832,323.5q0,11 -13,24l-181.5,177l 43,250q 0.5,3.5 0.5,10q0,25 -20.5,25q-9.5,0 -20-6l-224.5-118l-224.5,118q-11,6 -20,6q-10.5,0 -15.75-7.25t-5.25-17.75q0-3 1-10l 43-250 l-182-177q-12.5-13.5 -12.5-24q0-18.5 28-23l 251-36.5l 112.5-227.5q 9.5-20.5 24.5-20.5t 24.5,20.5l 112.5,227.5l 251,36.5q 28,4.5 28,23z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"star, favorite, rate\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,323.5q0,11 -13,24l-181.5,177l 43,250q 0.5,3.5 0.5,10q0,10.5 -5.25,17.75t-15.25,7.25q-9.5,0 -20-6l-224.5-118l-224.5,118q-11,6 -20,6q-10.5,0 -15.75-7.25t-5.25-17.75q0-3 1-10l 43-250l-182-177q-12.5-13.5 -12.5-24q0-18.5 28-23l 251-36.5l 112.5-227.5q 9.5-20.5 24.5-20.5t 24.5,20.5l 112.5,227.5 l 251,36.5q 28,4.5 28,23z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"heart, love, like\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,832q-13,0 -22-9l-312-301q-5-4 -13.75-13t-27.75-32.75t-34-48.75t-26.75-60.5t-11.75-69q0-110 63.5-172t 175.5-62q 31,0 63.25,10.75t 60,29t 47.75,34.25t 38,34q 18-18 38-34t 47.75-34.25t 60-29t 63.25-10.75q 112,0 175.5,62t 63.5,172q0,110.5 -114.5,225l-311.5,300 q-9,9 -22,9z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"envelope, letter, email, mail, contact\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,752l0-384 q-16,18 -34.5,33q-134,103 -213,169q-25.5,21.5 -41.5,33.5t-43.25,24.25t-51.25,12.25l-0.5,0 l-0.5,0 q-24,0 -51.25-12.25t-43.25-24.25t-41.5-33.5q-79-66 -213-169q-18.5-15 -34.5-33l0,384 q0,6.5 4.75,11.25t 11.25,4.75l 736,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 832,226.5l0-5.5 l0-6.75 t-0.25-6.5 t-1.5-6.25t-2.75-4.5t-4.5-3.75t-7-1.25l-736,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,84 73.5,142q 96.5,76 200.5,158.5q 3,2.5 17.5,14.75t 23,18.75t 22.25,15.75t 25.25,13.75t 21.5,4.5l 0.5,0 l 0.5,0 q 10,0 21.5-4.5t 25.25-13.75t 22.25-15.75t 23-18.75t 17.5-14.75q 104-82.5 200.5-158.5q 27-21.5 50.25-57.75t 23.25-65.75z M 896,208l0,544 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 736,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 576,416q0-92.5 -65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75t 158.25-65.75t 65.75-158.25zM 832,832q0,26 -19,45t-45,19q-27,0 -45-19l-171.5-171q-89.5,62 -199.5,62q-71.5,0 -136.75-27.75t-112.5-75t-75-112.5t-27.75-136.75 t 27.75-136.75t 75-112.5t 112.5-75t 136.75-27.75t 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,110 -62,199.5l 171.5,171.5q 18.5,18.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"music, song, sound\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,112l0,560 q0,25 -17,44.5t-43,30.25t-51.75,16t-48.25,5.25t-48.25-5.25t-51.75-16t-43-30.25t-17-44.5t 17-44.5t 43-30.25t 51.75-16t 48.25-5.25q 52.5,0 96,19.5l0-268.5 l-384,118.5l0,354.5 q0,25 -17,44.5t-43,30.25t-51.75,16t-48.25,5.25t-48.25-5.25t-51.75-16t-43-30.25t-17-44.5 t 17-44.5t 43-30.25t 51.75-16t 48.25-5.25q 52.5,0 96,19.5l0-483.5 q0-15.5 9.5-28.25t 24.5-17.75l 416-128q 6-2 14-2q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"glass, drink\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 849.5,93q0,17.5 -21.5,39l-316,316l0,384 l 160,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 160,0 l0-384 l-316-316q-21.5-21.5 -21.5-39q0-11.5 9-18.25t 19-8.75t 21.5-2l 704,0 q 11.5,0 21.5,2t 19,8.75t 9,18.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>"]},{"metadata":{"id":"icomoon-ultimate","name":"IcoMoon - Ultimate","link":"http://icomoon.io/#icons","grid":"16","author":"Keyamoon","authorLink":"http://keyamoon.com/","license":"Royalty Free","licenseLink":"http://icomoon.io/#icons#license","defaultunicode":false},"svgs":["<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"IcoMoon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 129.772,255.999A59.223,59.223 12600 1 1 248.218,255.999A59.223,59.223 12600 1 1 129.772,255.999zM 256.002,0C 114.615,0,0,114.616,0,256s 114.613,256, 256.002,256C 397.384,512, 512,397.385, 512,256\n\t\tC 512,114.616, 397.385,0, 256.002,0z M 189.698,479.641C 112.72,434.854, 60.964,351.479, 60.964,256\n\t\tc0-95.479, 51.756-178.854, 128.731-223.641C 266.7,77.14, 318.49,160.503, 318.49,256C 318.49,351.494, 266.7,434.859, 189.698,479.641z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"safari, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32c-12.032,0-23.854,0.896-35.412,2.606c-0.15-0.391-0.312-0.774-0.491-1.148c 6.413-5.001, 9.775-11.915, 8.317-18.776\n\t\tC 226.547,5.9, 217.217,0, 205.197,0c-2.59,0-5.229,0.281-7.84,0.836c-15.084,3.207-25.073,14.311-22.741,25.281\n\t\tc 1.417,6.669, 7.146,11.669, 15.082,13.692c-0.016,0.486-0.008,0.975, 0.021,1.467C 89.408,70.041, 16,162.445, 16,272\n\t\tc0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240C 496,139.452, 388.549,32, 256,32z M 182.441,24.454\n\t\tc-1.353-6.363, 6.24-13.595, 16.579-15.792C 201.086,8.223, 203.165,8, 205.197,8c 8.018,0, 14.347,3.432, 15.392,8.345\n\t\tc 0.798,3.755-1.535,7.805-5.693,10.952c-3.517-2.483-8.008-3.563-12.55-2.598c-4.522,0.961-8.174,3.754-10.379,7.428\n\t\tC 186.875,30.902, 183.213,28.085, 182.441,24.454z M 384.693,400.693c-21.984,21.984-48.605,37.639-77.655,46.077l-21.198-34.384\n\t\tl-5.373,39.979C 272.422,453.441, 264.254,454, 256,454c-48.614,0-94.318-18.932-128.693-53.307\n\t\tc-21.984-21.983-37.639-48.605-46.077-77.654l 34.384-21.199l-39.98-5.373C 74.559,288.422, 74,280.254, 74,272\n\t\tc0-48.614, 18.931-94.318, 53.307-128.693c 21.984-21.984, 48.606-37.639, 77.655-46.078l 21.198,34.385l 5.374-39.98\n\t\tC 239.578,90.559, 247.746,90, 256,90c 48.614,0, 94.318,18.931, 128.693,53.307c 21.984,21.984, 37.639,48.606, 46.077,77.655\n\t\tl-34.385,21.199l 39.98,5.373C 437.441,255.578, 438,263.746, 438,272C 438,320.614, 419.068,366.318, 384.693,400.693zM 380.451,147.549l-98.489,74.852c-7.322-3.829-15.438-6.031-23.708-6.363l-25.54-53.59l-1.534,59.332\n\t\tc-6.642,3.268-12.552,7.832-17.438,13.475l-31.544-11.182l 23.046,24.269c-3.167,6.759-4.933,14.015-5.217,21.412l-53.579,25.533\n\t\tl 59.369,1.534c 0.19,0.384, 0.387,0.763, 0.585,1.141l-74.852,98.49l 98.489-74.852c 7.322,3.828, 15.437,6.030, 23.708,6.362l 25.54,53.591\n\t\tl 1.533-59.332c 6.643-3.269, 12.553-7.832, 17.439-13.476l 31.545,11.184l-23.047-24.27c 3.168-6.76, 4.934-14.015, 5.218-21.412\n\t\tl 53.578-25.533l-59.368-1.535c-0.189-0.383-0.387-0.762-0.585-1.14L 380.451,147.549z M 256.051,222.267l0,1.724 L 256.051,222.267 \n\t\tL 256.051,222.267z M 246.021,225.049c 3.363-0.715, 6.722-1.059, 10.028-1.059c 2.072,0, 4.125,0.135, 6.147,0.398l 0.046,0.016\n\t\tl-0.005-0.011c 4.366,0.572, 8.588,1.75, 12.566,3.448l-35.773,27.188l-27.19,35.776c-1.188-2.797-2.135-5.742-2.79-8.826\n\t\tC 203.537,256.049, 220.090,230.561, 246.021,225.049z M 281.060,312.942L 281.060,312.942L 281.060,312.942\n\t\tc-4.528,2.772-9.591,4.842-15.080,6.009c-3.363,0.715-6.722,1.059-10.027,1.059c-2.075,0-4.129-0.136-6.154-0.399l-0.039-0.015\n\t\tl 0.005,0.010c-4.367-0.571-8.587-1.75-12.566-3.447l 35.772-27.188l 27.19-35.777c 1.188,2.797, 2.135,5.743, 2.79,8.827\n\t\tC 307.296,282.462, 297.923,302.621, 281.060,312.942z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"opera, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.023,0C 115.161,0, 14.649,101.448, 14.649,253.612C 14.649,389.021, 112.4,512, 255.041,512\n\tc 144.039,0, 242.31-122.943, 242.31-258.388C 497.351,100.232, 393.628,0, 255.023,0z M 344.179,249.271\n\tc-0.034,84.676-4.549,205.241-89.138,205.241l0,0.017 c-83.392,0-86.716-120.633-86.716-205.154c0-99.19, 9.28-194.284, 86.716-194.284\n\tC 332.478,55.091, 344.179,151.383, 344.179,249.271z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"IE, browser, internet explorer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 367.101,314.415l 118.025,0 c 0.91-8.185, 1.274-16.549, 1.274-25.098c0-40.112-10.767-77.734-29.562-110.133\n\tc 19.44-51.654, 18.746-95.494-7.278-121.695c-24.748-24.64-91.145-20.64-166.206,12.599c-5.552-0.42-11.159-0.636-16.819-0.636\n\tc-103.024,0-189.463,70.897-213.354,166.425C 85.5,194.5, 119.5,164.5, 164.92,142.653c-4.13,3.87-28.227,27.826-32.28,31.882\n\tC 12.866,294.274-24.905,450.688, 15.737,491.337c 30.893,30.887, 86.879,25.671, 151.188-5.824\n\tc 29.903,15.229, 63.75,23.815, 99.609,23.815c 96.567,0, 178.402-62.158, 208.045-148.724L 355.645,360.604 \n\tc-16.367,30.191-48.374,50.74-85.109,50.74c-36.734,0-68.742-20.549-85.108-50.74c-7.275-13.637-11.457-29.277-11.457-45.828l0-0.361 \n\tL 367.101,314.415 z M 174.151,256.402c 2.728-48.555, 43.1-87.292, 92.383-87.292c 49.283,0, 89.656,38.736, 92.383,87.292L 174.151,256.402 z M 448.483,81.904\n\tc 16.763,16.94, 16.344,48.107, 2.006,87.011c-24.568-37.454-60.259-66.968-102.396-83.82\n\tC 393.146,65.776, 429.796,63.217, 448.483,81.904z M 46.741,483.628c-21.391-21.398-14.942-66.309, 12.615-120.416\n\tc 17.154,48.135, 50.578,88.545, 93.668,114.577C 105.309,499.448, 66.256,503.126, 46.741,483.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"firefox, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.263,167.070l-5.93,38.040c0,0-8.477-70.428-18.866-96.757c-15.923-40.344-23.007-40.020-23.054-39.961\n\tc 10.665,27.102, 8.731,41.662, 8.731,41.662s-18.896-51.499-68.856-67.884c-55.343-18.141-85.285-13.182-88.744-12.243\n\tc-0.525-0.004-1.032-0.005-1.515-0.005c 0.409,0.031, 0.806,0.073, 1.213,0.106c-0.017,0.010-0.045,0.021-0.041,0.026\n\tc 0.225,0.274, 61.153,10.651, 71.958,25.498c0,0-25.88,0-51.636,7.421c-1.164,0.333, 94.762,11.982, 114.373,107.837\n\tc0,0-10.515-21.938-23.52-25.664c 8.553,26.018, 6.357,75.388-1.788,99.925c-1.048,3.156-2.12-13.641-18.164-20.875\n\tc 5.14,36.823-0.308,95.228-25.854,111.316c-1.991,1.252, 16.015-57.655, 3.621-34.881c-71.354,109.401-155.702,50.486-193.624,24.555\n\tc 19.433,4.231, 56.327-0.659, 72.657-12.806c 0.021-0.015, 0.039-0.028, 0.059-0.043c 17.734-12.126, 28.236-20.982, 37.667-18.886\n\tc 9.437,2.107, 15.719-7.363, 8.39-15.765c-7.338-8.419-25.157-19.989-49.262-13.683c-17,4.452-38.067,23.261-70.224,4.216\n\tc-24.682-14.625-27.006-26.773-27.225-35.188c 0.609-2.983, 1.377-5.768, 2.288-8.312c 2.841-7.935, 11.456-10.329, 16.247-12.219\n\tc 8.128,1.396, 15.131,3.931, 22.484,7.703c 0.095-2.447, 0.126-5.695-0.009-9.38c 0.705-1.401, 0.269-5.626-0.861-10.79\n\tc-0.651-5.154-1.71-10.487-3.376-15.346c 0.006-0.001, 0.010-0.005, 0.015-0.007c 0.028-0.009, 0.054-0.020, 0.078-0.035\n\tc 0.039-0.022, 0.073-0.056, 0.104-0.095c 0.006-0.010, 0.015-0.017, 0.022-0.026c 0.041-0.062, 0.077-0.136, 0.099-0.233\n\tc 0.51-2.309, 6.011-6.762, 12.859-11.55c 6.136-4.29, 13.351-8.848, 19.034-12.376c 5.030-3.124, 8.86-5.441, 9.673-6.049\n\tc 0.309-0.233, 0.679-0.506, 1.082-0.818c 0.075-0.058, 0.15-0.116, 0.227-0.177c 0.047-0.037, 0.095-0.074, 0.143-0.113\n\tc 2.705-2.154, 6.742-6.224, 7.589-14.789c 0.002-0.021, 0.005-0.040, 0.006-0.061c 0.025-0.252, 0.046-0.507, 0.065-0.767\n\tc 0.014-0.181, 0.025-0.363, 0.036-0.548c 0.007-0.142, 0.016-0.283, 0.022-0.428c 0.015-0.337, 0.025-0.682, 0.030-1.032\n\tc0-0.020, 0.001-0.038, 0.002-0.058c 0.011-0.829-0.003-1.693-0.052-2.601c-0.027-0.507-0.063-0.965-0.149-1.381\n\tc-0.004-0.022-0.009-0.046-0.014-0.068c-0.009-0.041-0.018-0.082-0.029-0.122c-0.018-0.073-0.038-0.146-0.061-0.215\n\tc-0.003-0.009-0.005-0.016-0.008-0.023c-0.026-0.080-0.056-0.157-0.087-0.232c-0.002-0.003-0.002-0.005-0.003-0.008\n\tc-0.877-2.054-4.16-2.829-17.721-3.059c-0.013-0.001-0.025-0.001-0.038-0.001l0,0c-5.533-0.094-12.769-0.097-22.251-0.059\n\tc-16.625,0.067-25.814-16.252-28.747-22.566c 4.020-22.23, 15.638-38.071, 34.725-48.813c 0.361-0.203, 0.29-0.371-0.137-0.489\n\tc 3.732-2.257-45.123-0.062-67.593,28.518c-19.944-4.957-37.327-4.623-52.308-1.107c-2.877-0.081-6.462-0.44-10.717-1.326\n\tc-9.962-9.028-24.224-25.701-24.988-45.604c0,0-0.046,0.036-0.126,0.102c-0.010-0.191-0.028-0.38-0.036-0.571\n\tc0,0-30.358,23.332-25.814,86.941c-0.011,1.018-0.032,1.993-0.060,2.937c-8.216,11.144-12.293,20.51-12.596,22.578\n\tC 13.398,163.178, 6.011,185.483,0,219.346c0,0, 4.204-13.333, 12.642-28.433c-6.206,19.011-11.082,48.578-8.218,92.928\n\tc0,0, 0.757-9.833, 3.437-23.997c 2.093,27.505, 11.259,61.462, 34.429,101.394c 44.474,76.66, 112.835,115.37, 188.396,121.308\n\tc 13.418,1.106, 27.025,1.132, 40.712,0.093c 1.258-0.089, 2.516-0.182, 3.775-0.287c 15.482-1.087, 31.067-3.426, 46.619-7.183\n\tC 534.378,423.77, 511.263,167.070, 511.263,167.070z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"chrome, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 129.139,223.271 L 55.873,96.37 C 102.782,37.638 174.99,0 256,0 C 349.716,0 431.655,50.368 476.266,125.5 L 267.381,125.5 C 263.629,125.175 259.835,125 256,125 C 195.063,125 143.711,166.822 129.139,223.271 ZM 347.653,162.5 L 494.383,162.5 C 505.753,191.465 512,223.002 512,256 C 512,396.413 398.95,510.402 258.907,511.963 L 363.604,330.624 C 378.344,309.435 387,283.711 387,256 C 387,219.415 371.918,186.29 347.653,162.5 ZM 163,256 C 163,204.72 204.72,163 256,163 C 307.28,163 349,204.72 349,256 C 349,307.28 307.28,349 256,349 C 204.72,349 163,307.28 163,256 ZM 291.091,382.221 L 217.802,509.16 C 94.536,490.718 0,384.402 0,256 C 0,210.391 11.942,167.577 32.848,130.488 L 137.363,311.515 C 158.297,356.071 203.601,387 256,387 C 268.15,387 279.918,385.33 291.091,382.221 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"css3, w3c\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 76.194,24.261L 59.014,110.224L 408.888,110.224L 397.946,165.751L 47.852,165.751L 30.906,251.7L 380.748,251.7L 361.239,349.732L 220.233,396.443L 98.033,349.732L 106.397,307.211L 20.448,307.211L0,410.387L 202.113,487.739L 435.116,410.387L 512,24.261 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"html5, w3c\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 30.269,0l 41.072,460.815L 255.719,512l 184.862-51.262L 481.731,0L 30.269,0 z M 405.381,431.412L 256.768,472.6l0,0.233 \n\t\tl-0.388-0.117l-0.391,0.117L 255.989,472.6 l-148.611-41.188L 72.257,37.669l 368.248,0 L 405.381,431.412zM 325.377,265.102L 318.842,338.378L 255.874,355.374L 255.737,355.413L 192.806,338.455L 188.781,293.338L 132.036,293.338L 139.951,382.094L 255.737,414.221L 255.797,414.221L 255.874,414.221L 255.989,414.182L 371.66,382.094L 387.18,208.588L 181.197,208.588L 176.046,150.714L 392.117,150.714L 392.313,150.714L 397.369,94.201L 114.26,94.201L 129.509,265.102 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"html5, w3c\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 30.269,0l 41.072,460.815L 255.719,512l 184.862-51.262L 481.731,0L 30.269,0 z M 392.315,150.714l-0.195,0 L 176.045,150.714 l 5.151,57.875\n\tL 387.18,208.589 l-15.521,173.505L 255.99,414.182l-0.115,0.039l-0.077,0 l-0.061,0 l-115.786-32.127l-7.915-88.756l 56.747,0 l 4.024,45.116\n\tl 62.931,16.958l 0.139-0.039l 62.967-16.996l 6.535-73.275L 129.509,265.102 L 114.262,94.202l 283.107,0 L 392.315,150.714z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-css, file, format, code, css\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,305.723L 192,248.61 c0-7.564, 3.348-14.718, 9.427-20.143c 6.080-5.424, 14.096-8.413, 22.573-8.413l0-28.555 \n\t\tc-35.2,0-64,25.7-64,57.111l0,42.833 c0,7.886-7.164,14.279-16,14.279l-16,0 l0,28.555 l 16,0 c 8.837,0, 16,6.395, 16,14.279l0,42.838 \n\t\tc0,31.407, 28.8,57.107, 64,57.107l0-28.556 c-8.477,0-16.494-2.988-22.573-8.413c-6.079-5.426-9.427-12.577-9.427-20.139l0-57.117 \n\t\tc0-7.885-7.164-14.277-16-14.277C 184.837,320, 192,313.605, 192,305.723zM 320,334.277l0,57.117 c0,7.562-3.348,14.713-9.427,20.139c-6.079,5.425-14.095,8.413-22.573,8.413l0,28.556 \n\t\tc 35.201,0, 64-25.7, 64-57.107l0-42.838 c0-7.886, 7.164-14.279, 16-14.279l 16,0 l0-28.555 l-16,0 c-8.836,0-16-6.395-16-14.279L 352,248.61 \n\t\tc0-31.412-28.799-57.111-64-57.111l0,28.555 c 8.479,0, 16.494,2.989, 22.573,8.415c 6.080,5.424, 9.427,12.578, 9.427,20.142l0,57.114 \n\t\tc0,7.883, 7.164,14.276, 16,14.276C 327.164,320, 320,326.395, 320,334.277zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-xml, file, format, code, html, xml\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 192,256L 96,352L 192,448L 224,416L 160,352 \tzM 288,416L 320,448L 416,352L 320,256L 288,288L 352,352 \tzM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-powerpoint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,256l 96,0 l0,32 L 96,288 L 96,256 z M 96,320l 96,0 l0,32 L 96,352 L 96,320 z M 96,384l 96,0 l0,32 L 96,416 L 96,384 z M 451.716,99.715l-71.432-71.431\n\tC 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,168 \n\tC 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 c0-4.336, 3.664-8, 8-8\n\tl 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 zM 288,352 L 382.396,352 C 374.983,388.516 342.703,416 304,416 C 259.817,416 224,380.183 224,336 C 224,297.297 251.485,265.017 288,257.604 L 288,352 ZM 336,224 C 380.183,224 416,259.817 416,304 C 416,309.479 415.446,314.83 414.396,320 L 320,320 L 320,225.604 C 325.17,224.554 330.521,224 336,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-zip, zip\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208,64L 256,64L 256,96L 208,96zM 160,96L 208,96L 208,128L 160,128zM 208,128L 256,128L 256,160L 208,160zM 160,160L 208,160L 208,192L 160,192zM 208,192L 256,192L 256,224L 208,224zM 160,224L 208,224L 208,256L 160,256zM 208,256l0,32 l-48,0 l0,112 c0,8.837, 7.163,16, 16,16l 64,0 c 8.837,0, 16-7.163, 16-16L 256,256 L 208,256 z M 240,384l-64,0 l0-32 l 64,0 L 240,384 zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-excel, file, format, excel, xlc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 371.514,192L 303.867,192L 256.001,262.516L 208.131,192L 140.487,192L 221.568,313.232L 130.081,448L 261.201,448L 261.201,402.212L 230.923,402.212L 256.001,364.715L 311.699,448L 381.92,448L 290.432,313.232 \tzM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-word, file, format, word, docx\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 319.889,237.946L 341.995,237.946L 316.489,351.035L 283.326,192.030L 230.051,192.030L 191.494,351.035L 162.586,192.030L 106.889,192.030L 163.435,447.971L 217.854,447.971L 256.001,296.617L 290.129,447.971L 340.297,447.971L 405.112,192.030L 319.889,192.030 \t\n\t\tzM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-openoffice, file, format, openoffice, open office\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 345.11,235.841c-30.334-14.326-68.986-17.21-97.417,3.024c 34.57-3.302, 72.479,2.419, 97.553,28.562\n\t\t\tc 24-27.54, 62.057-32.703, 96.479-29.866C 412.981,218.489, 375.115,221.049, 345.11,235.841zM 332.824,302.875c-34.189-0.789-67.217,11.586-95.55,30.052c-53.588-22.794-121.368-18.562-167.001,19.491\n\t\t\tc 13.165-0.467, 26.003-3.723, 39.028-5.396c 47.591-4.744, 98.294,7.071, 134.256,39.912c 14.886-21.771, 35.822-39.121, 59.826-49.961\n\t\t\tc 31.537-15.26, 67.080-16.842, 101.41-17.26C 383.949,305.389, 357.485,302.736, 332.824,302.875zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-pdf, file, format, pdf\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 421.006,294.74c-6.824-6.723-21.957-10.283-44.986-10.586c-15.589-0.172-34.351,1.201-54.085,3.964\n\t\tc-8.837-5.099-17.946-10.647-25.094-17.329c-19.231-17.958-35.284-42.886-45.288-70.297c 0.652-2.56, 1.207-4.81, 1.724-7.106\n\t\tc0,0, 10.833-61.53, 7.965-82.333c-0.395-2.853-0.637-3.681-1.404-5.898l-0.941-2.417c-2.948-6.796-8.724-13.997-17.783-13.604\n\t\tl-5.312-0.169l-0.146-0.003c-10.1,0-18.332,5.166-20.493,12.887c-6.569,24.217, 0.209,60.446, 12.491,107.369l-3.144,7.643\n\t\tc-8.794,21.438-19.815,43.030-29.539,62.079l-1.264,2.476c-10.23,20.019-19.512,37.013-27.927,51.411l-8.688,4.594\n\t\tc-0.632,0.334-15.522,8.209-19.014,10.322c-29.628,17.691-49.261,37.77-52.518,53.708c-1.036,5.085-0.265,11.593, 5.007,14.607\n\t\tl 8.403,4.229c 3.645,1.826, 7.489,2.751, 11.427,2.751c 21.102,0, 45.6-26.286, 79.348-85.183\n\t\tc 38.965-12.684, 83.327-23.228, 122.207-29.045c 29.629,16.684, 66.071,28.273, 89.071,28.273c 4.084,0, 7.606-0.389, 10.466-1.148\n\t\tc 4.411-1.168, 8.129-3.683, 10.396-7.096c 4.463-6.716, 5.367-15.966, 4.156-25.438C 425.68,300.589, 423.435,297.113, 421.006,294.74z\n\t\t M 105.823,407.024c 3.848-10.521, 19.080-31.322, 41.602-49.778c 1.416-1.148, 4.904-4.416, 8.097-7.451\n\t\tC 131.971,387.357, 116.199,402.328, 105.823,407.024z M 239.217,99.843c 6.783,0, 10.642,17.097, 10.962,33.127\n\t\tc 0.32,16.030-3.429,27.28-8.079,35.604c-3.851-12.324-5.713-31.75-5.713-44.452C 236.387,124.122, 236.104,99.843, 239.217,99.843z\n\t\t M 199.426,318.747c 4.725-8.458, 9.641-17.378, 14.665-26.839c 12.246-23.158, 19.979-41.278, 25.739-56.173\n\t\tc 11.455,20.842, 25.722,38.56, 42.493,52.756c 2.092,1.771, 4.309,3.551, 6.637,5.325C 254.855,300.564, 225.378,308.771, 199.426,318.747z\n\t\t M 414.452,316.826c-2.077,1.299-8.027,2.050-11.854,2.050c-12.353,0-27.636-5.647-49.063-14.833\n\t\tc 8.234-0.609, 15.781-0.919, 22.55-0.919c 12.391,0, 16.060-0.054, 28.175,3.036S 416.529,315.527, 414.452,316.826zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"libreoffice, file\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 267.313,11.314C 261.091,5.092, 248.8,0, 240,0L 48,0 c-8.8,0-16,7.2-16,16l0,480 c0,8.8, 7.2,16, 16,16l 384,0 c 8.8,0, 16-7.2, 16-16L 448,208 \n\t\tc0-8.8-5.091-21.091-11.313-27.313L 267.313,11.314z M 416,480L 64,480 L 64,32 l 175.579,0 c 1.458,0.24, 4.204,1.377, 5.405,2.239l 168.778,168.777\n\t\tc 0.861,1.201, 1.998,3.947, 2.238,5.405L 416,480 zM 432,0l-96,0 c-8.8,0-10.909,5.091-4.687,11.313l 105.373,105.373C 442.909,122.909, 448,120.8, 448,112L 448,16 C 448,7.2, 440.8,0, 432,0\n\t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"yelp, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 304.438,326.734c-8.641,8.713-1.334,24.564-1.334,24.564l 65.045,108.609c0,0, 10.68,14.32, 19.932,14.32\n\t\tc 9.295,0, 18.477-7.635, 18.477-7.635l 51.422-73.504c0,0, 5.18-9.273, 5.299-17.396c 0.186-11.553-17.227-14.717-17.227-14.717\n\t\tl-121.744-39.096C 324.307,321.881, 312.379,318.715, 304.438,326.734zM 298.266,271.992c 6.23,10.564, 23.414,7.486, 23.414,7.486l 121.469-35.503c0,0, 16.553-6.733, 18.916-15.709\n\t\tc 2.32-8.977-2.73-19.811-2.73-19.811l-58.049-68.376c0,0-5.031-8.646-15.469-9.516c-11.508-0.979-18.59,12.949-18.59,12.949\n\t\tl-68.635,108.005C 298.592,251.519, 292.525,262.275, 298.266,271.992zM 240.877,229.884c 14.304-3.522, 16.574-24.302, 16.574-24.302l-0.972-172.935c0,0-2.157-21.333-11.743-27.116\n\t\tc-15.035-9.121-19.491-4.359-23.798-3.722L 120.090,39.281c0,0-9.877,3.268-15.021,11.509c-7.345,11.676, 7.464,28.772, 7.464,28.772\n\t\tL 217.355,222.44C 217.355,222.44, 227.7,233.138, 240.877,229.884zM 215.972,299.869c 0.361-13.338-16.015-21.35-16.015-21.35L 91.559,223.757c0,0-16.063-6.623-23.861-2.008\n\t\tc-5.975,3.53-11.268,9.92-11.786,15.567l-7.060,86.906c0,0-1.058,15.057, 2.845,21.91c 5.527,9.721, 23.714,2.951, 23.714,2.951\n\t\tl 126.548-27.971C 206.875,317.807, 215.496,317.51, 215.972,299.869zM 247.44,346.771c-10.863-5.578-23.862,5.975-23.862,5.975l-84.734,93.283c0,0-10.572,14.264-7.884,23.025\n\t\tc 2.533,8.209, 6.727,12.289, 12.659,15.164l 85.096,26.863c0,0, 10.317,2.143, 18.129-0.121c 11.090-3.215, 9.047-20.576, 9.047-20.576\n\t\tl 1.924-126.301C 257.814,364.084, 257.381,351.916, 247.44,346.771z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paypal, donate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 324.171,32c 14.166,0, 28.459,2.902, 41.333,8.392c 13.542,5.774, 24.662,13.962, 33.052,24.336\n\t\tc 16.799,20.771, 21.519,49.066, 14.025,84.109c-8.153,38.189-27.199,69.98-55.080,91.935c-27.178,21.401-61.499,32.714-99.254,32.714\n\t\tl-94.135,0 l-25.895,0 l-5.401,25.325L 105.935,424.85L 82.986,424.85 l-6.971,0 L 39.723,424.85 L 125.311,32L 324.171,32 M 142.893,250.007l 40.039,0 l 61.879,0 \n\t\tc 23.718,0, 47.747-9.085, 67.659-25.582c 19.41-16.081, 33.137-37.761, 38.698-61.1c 6.951-26.262, 2.315-52.576-12.757-72.277\n\t\tc-14.588-19.070-37.432-30.007-62.673-30.007l-64.566,0 l-25.575,0 l-5.638,24.946l-28.241,124.966L 142.893,250.007 M 324.171,0L 99.532,0 \n\t\tL0,456.85l 76.016,0 L 64,512l 131.83,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\t\tc 16.858-78.84-20.402-125.966-67.559-145.282c 12.849,6.288, 24.047,15.243, 32.251,26.241c 17.268,23.15, 22.118,54.686, 14.418,93.733\n\t\tc-7.78,39.513-25.208,72.867-50.583,97.022c-4.641,4.851-9.611,9.373-14.902,13.54c-27.178,21.401-61.499,32.714-99.254,32.714\n\t\tl-6.056,0 L 202.217,328.637 L 169.935,480l-66.212,0 l 5.043-23.15l 23.064,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\t\tC 466.737,48.602, 390.077,0, 324.171,0L 324.171,0z M 182.932,218.007l 28.241-124.966l 64.566,0 c 32.296,0, 53.801,27.769, 44.393,62.478\n\t\tc-8.068,34.72-41.693,62.488-75.32,62.488L 182.932,218.007 L 182.932,218.007z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paypal, donate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440.317,65.387c 12.849,6.288, 24.047,15.243, 32.251,26.241c 17.268,23.15, 22.118,54.686, 14.418,93.733\n\tc-7.78,39.513-25.208,72.867-50.583,97.022c-4.641,4.851-9.611,9.373-14.902,13.54c-27.178,21.401-61.499,32.714-99.254,32.714\n\tl-6.056,0 L 202.217,328.637 L 169.935,480l-66.212,0 l 5.043-23.15l 23.064,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\tC 466.737,48.602, 390.077,0, 324.171,0L 99.532,0 L0,456.85l 76.016,0 L 64,512l 131.83,0 l 32.282-151.363l 94.135,0 \n\tc 90.125,0, 165.469-55.539, 185.629-149.968C 524.734,131.829, 487.474,84.703, 440.317,65.387z M 320.131,155.519\n\tc-6.862,29.53-32.214,54.020-60.328,60.684l 15.369-68.011l 46.493,0 C 321.301,150.595, 320.804,153.037, 320.131,155.519z M 211.172,93.041\n\tl 64.566,0 c 18.38,0, 33.254,9.002, 40.935,23.15l-67.077,0 l-23.008,101.815l-43.656,0 L 211.172,93.041z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paypal, donate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440.317,65.387c 12.849,6.288, 24.047,15.243, 32.251,26.241c 17.268,23.15, 22.118,54.686, 14.418,93.733\n\tc-7.78,39.513-25.208,72.867-50.583,97.022c-4.641,4.851-9.611,9.373-14.902,13.54c-27.178,21.401-61.499,32.714-99.254,32.714\n\tl-6.056,0 L 202.217,328.637 L 169.935,480l-66.212,0 l 5.043-23.15l 23.064,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\tC 466.737,48.602, 390.077,0, 324.171,0L 99.532,0 L0,456.85l 76.016,0 L 64,512l 131.83,0 l 32.282-151.363l 94.135,0 \n\tc 90.125,0, 165.469-55.539, 185.629-149.968C 524.734,131.829, 487.474,84.703, 440.317,65.387z M 211.172,93.041l 64.566,0 \n\tc 32.296,0, 53.801,27.769, 44.393,62.478c-8.068,34.72-41.693,62.488-75.32,62.488l-61.879,0 L 211.172,93.041z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"foursquare, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.845,0l-56.539,0 L 331.505,169.948l-49.022-49.025c-6.903-6.904-16.085-10.706-25.853-10.706\n\tc-9.766,0-18.948,3.801-25.858,10.706l-22.257,22.258c-1.249-1.702-2.545-3.382-3.939-5.012\n\tc-30.324-35.439-83.635-39.604-119.074-9.271c-35.443,30.319-39.593,83.625-9.268,119.070c 6.955,8.134, 15.131,14.599, 24.015,19.397\n\tc 0.18,9.12, 3.729,18.187, 10.669,25.132L 230.77,412.337c 6.907,6.91, 16.091,10.717, 25.86,10.717c 9.771,0, 18.953-3.808, 25.853-10.715\n\tl 119.849-119.841c 6.91-6.908, 10.717-16.092, 10.717-25.86s-3.807-18.953-10.715-25.858l-13.789-13.79l 123.301-104.045L 511.846,0 z\n\t M 247.739,137.896c 2.375-2.373, 5.532-3.68, 8.891-3.68c 3.357,0, 6.512,1.306, 8.882,3.676l 51.688,51.691l-56.18,77.121\n\tc-5.547,6.188-10.435,2.932-12.363,0.633c-0.662-0.779-13.843-18.037-30.887-40.391c 8.462-19.37, 9.378-41.408, 2.428-61.509\n\tL 247.739,137.896z M 385.364,257.752c 2.375,2.374, 3.684,5.529, 3.684,8.886s-1.309,6.512-3.686,8.888L 265.507,395.373\n\tc-2.37,2.373-5.522,3.681-8.877,3.681c-3.356,0-6.512-1.309-8.888-3.686l-118.63-118.619c 13.809,1.857, 28.036,0.313, 41.323-4.74\n\tl 79.585,64.009c0,0, 4.353,4.040, 9.158,0.137l 110.959-93.631L 385.364,257.752z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"foursquare, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 469.967,469.971\n\tC 458.341,481.597, 442.965,488, 426.671,488L 85.343,488 c-16.294,0-31.674-6.403-43.304-18.031C 30.406,458.339, 24,442.957, 24,426.656\n\tL 24,85.345 c0-16.292, 6.407-31.671, 18.041-43.305C 53.674,30.407, 69.053,24, 85.343,24l 341.328,0 c 3.549,0, 7.050,0.322, 10.483,0.918\n\tl-105.649,145.030l-49.022-49.025c-6.903-6.904-16.085-10.706-25.853-10.706c-9.766,0-18.948,3.801-25.858,10.706l-22.257,22.258\n\tc-1.249-1.702-2.545-3.382-3.939-5.012c-30.324-35.439-83.635-39.604-119.074-9.271c-35.443,30.319-39.593,83.625-9.268,119.070\n\tc 6.955,8.134, 15.131,14.599, 24.015,19.397c 0.18,9.12, 3.729,18.187, 10.669,25.132L 230.77,412.337\n\tc 6.907,6.91, 16.091,10.717, 25.86,10.717c 9.771,0, 18.953-3.808, 25.853-10.715l 119.849-119.841c 6.91-6.908, 10.717-16.092, 10.717-25.86\n\ts-3.807-18.953-10.715-25.858l-13.789-13.79L 488,139.519l0,287.137 C 488,442.959, 481.596,458.342, 469.967,469.971z M 220.198,165.438\n\tl 27.541-27.542c 2.375-2.373, 5.532-3.68, 8.891-3.68c 3.357,0, 6.512,1.306, 8.882,3.676l 51.688,51.691l-56.18,77.121\n\tc-5.547,6.188-10.435,2.932-12.363,0.633c-0.662-0.779-13.843-18.037-30.887-40.391\n\tC 226.232,207.577, 227.148,185.539, 220.198,165.438z M 250.020,336.018c0,0, 4.353,4.040, 9.158,0.137l 110.959-93.631l 15.228,15.229\n\tc 2.375,2.374, 3.684,5.529, 3.684,8.886s-1.309,6.512-3.686,8.888L 265.507,395.373c-2.37,2.373-5.522,3.681-8.877,3.681\n\tc-3.356,0-6.512-1.309-8.888-3.686l-118.63-118.619c 13.809,1.857, 28.036,0.313, 41.323-4.74L 250.020,336.018z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flattr, donate, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 183.781,0C 62.102,0,0,70.081,0,200.928l0,0l0,91.402 l0,183.115 l 119.195-119.314L 119.195,216.683 c0-54.208, 14.365-88.703, 62.559-96.447\n\tl0,0c 16.836-3.292, 51.875-2.139, 74.153-2.139l0,0l0,82.798 c0,0.755, 0.104,2.103, 0.297,2.793l0,0c 0.935,3.352, 3.965,5.808, 7.558,5.815\n\tl0,0c 2.031,0.004, 3.934-1.052, 5.895-2.985l0,0L 476.218,0.031L 337.562,0L 183.781,0 z M 392.805,155.873l0,139.445 \n\tc0,54.207-14.368,88.707-62.558,96.447l0,0c-16.836,3.291-51.878,2.139-74.156,2.139l0,0l0-82.797 c0-0.75-0.103-2.102-0.297-2.791\n\tl0,0c-0.932-3.356-3.961-5.811-7.556-5.815l0,0c-2.032-0.004-3.933,1.056-5.895,2.983l0,0L 35.781,511.967L 174.434,512l 153.784,0 \n\tC 449.895,512, 512,441.916, 512,311.074l0,0l0-91.407 L 512,36.56 L 392.805,155.873z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"xing, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 172.741,320.203l-46.267,0 \n\tc-2.788,0-4.87-1.247-6.049-3.146c-1.219-1.976-1.282-4.533,0-7.080l 49.162-86.535c 0.052-0.095, 0.052-0.158,0-0.263l-31.284-54.019\n\tc-1.294-2.569-1.483-5.106-0.263-7.079c 1.179-1.909, 3.522-2.885, 6.31-2.885l 46.267,0 c 7.1,0, 10.579,4.562, 12.884,8.654\n\tc0,0, 31.62,55.025, 31.809,55.328c-1.873,3.295-49.95,88.11-49.95,88.11C 182.994,315.546, 179.661,320.203, 172.741,320.203z\n\t M 391.525,106.069L 289.084,286.741c-0.062,0.097-0.062,0.214,0,0.306l 65.229,118.875c 1.295,2.558, 1.326,5.16, 0.096,7.132\n\tc-1.178,1.897-3.354,2.946-6.141,2.946l-46.217,0 c-7.088,0-10.633-4.699-12.924-8.79c0,0-65.576-119.996-65.744-120.307\n\tc 3.28-5.791, 102.958-182.113, 102.958-182.113c 2.48-4.448, 5.477-8.79, 12.387-8.79l 46.742,0 c 2.789,0, 4.977,1.049, 6.152,2.947\n\tC 392.842,100.921, 392.809,103.52, 391.525,106.069z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"xing, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 155.889,333.394l-55.632,0 \n\tc-3.351,0-5.854-1.504-7.271-3.792c-1.467-2.379-1.542-5.464,0-8.534l 59.11-104.313c 0.063-0.114, 0.063-0.19,0-0.316l-37.615-65.116\n\tc-1.556-3.098-1.783-6.157-0.316-8.534c 1.417-2.301, 4.235-3.477, 7.586-3.477l 55.632,0 c 8.535,0, 12.72,5.499, 15.489,10.431\n\tc0,0, 38.020,66.33, 38.249,66.696c-2.252,3.97-60.059,106.21-60.059,106.21C 168.218,327.78, 164.21,333.394, 155.889,333.394z\n\t M 418.956,75.269L 295.78,293.059c-0.075,0.115-0.075,0.255,0,0.367l 78.431,143.295c 1.556,3.084, 1.593,6.221, 0.113,8.597\n\tc-1.415,2.288-4.033,3.552-7.383,3.552l-55.57,0 c-8.522,0-12.783-5.663-15.54-10.596c0,0-78.848-144.646-79.050-145.023\n\tc 3.944-6.98, 123.797-219.523, 123.797-219.523c 2.984-5.362, 6.587-10.596, 14.894-10.596l 56.203,0 c 3.351,0, 5.981,1.265, 7.396,3.553\n\tC 420.537,69.061, 420.499,72.196, 418.956,75.269z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pinterest, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.675,0L 85.324,0 C 38.199,0,0,38.21,0,85.343l0,341.315 C0,473.791, 38.199,512, 85.324,512l 341.351,0 \n\tC 473.8,512, 512,473.791, 512,426.658L 512,85.343 C 512,38.21, 473.8,0, 426.675,0z M 280.822,342.059\n\tc-23.26-1.807-33.021-13.328-51.252-24.404c-10.030,52.589-22.281,103.009-58.569,129.344\n\tc-11.202-79.484, 16.447-139.182, 29.285-202.557c-21.893-36.853, 2.635-111.017, 48.81-92.737\n\tc 56.813,22.474-49.2,137.004, 21.966,151.308c 74.31,14.934, 104.644-128.929, 58.571-175.712\n\tc-66.579-67.553-193.799-1.54-178.155,95.178c 3.807,23.646, 28.236,30.819, 9.762,63.451c-42.61-9.446-55.325-43.051-53.688-87.856\n\tc 2.634-73.337, 65.892-124.682, 129.343-131.783c 80.242-8.982, 155.553,29.454, 165.953,104.938\n\tC 414.553,256.423, 366.623,348.693, 280.822,342.059z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pinterest, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 280.822,342.059\n\tc-23.26-1.807-33.021-13.328-51.252-24.404C 219.54,370.243, 207.288,420.663, 171,446.998\n\tc-11.202-79.484, 16.447-139.182, 29.285-202.557c-21.892-36.853, 2.635-111.017, 48.81-92.737\n\tc 56.813,22.474-49.2,137.004, 21.966,151.308c 74.31,14.934, 104.644-128.929, 58.571-175.712\n\tc-66.579-67.553-193.799-1.54-178.155,95.178c 3.807,23.646, 28.236,30.819, 9.762,63.451c-42.61-9.446-55.325-43.051-53.688-87.856\n\tc 2.634-73.337, 65.892-124.682, 129.343-131.783c 80.242-8.982, 155.553,29.454, 165.953,104.938\n\tC 414.553,256.423, 366.623,348.693, 280.822,342.059z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stackoverflow, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,320 L 512,512 L 0,512 L 0,320 L 64,320 L 64,448 L 448,448 L 448,320 ZM 96,352L 416,352L 416,416L 96,416zM 103.576,282.733L 117.425,220.251L 429.841,289.499L 415.992,351.981zM 139.829,154.279L 166.875,96.276L 456.891,231.508L 429.845,289.511zM 495.861,180.738 L 456.9,231.513 L 203.027,36.709 L 231.195,0 L 260.317,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stumbleupon, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,128\n\tc-17.645,0-32,14.355-32,32l0,128 c0,52.935-43.065,96-96,96s-96-43.065-96-96l0-64 l 64,0 l0,64 c0,17.645, 14.355,32, 32,32s 32-14.355, 32-32L 160,160 \n\tc0-52.935, 43.065-96, 96-96s 96,43.065, 96,89l0,31 l-41,12l-23-12l0-31 C 288,142.355, 273.645,128, 256,128z M 384,384\n\tc-52.935,0-96-43.065-96-103l0-62 l 23,12l 41-12l0,62 c0,24.645, 14.355,39, 32,39s 32-14.355, 32-32l0-64 l 64,0 l0,64 \n\tC 480,340.935, 436.935,384, 384,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stumbleupon, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 256,160\n\tc-17.645,0-32,14.355-32,32l0,128 c0,52.936-43.065,96-96,96s-96-43.064-96-96l0-64 l 64,0 l0,64 c0,17.645, 14.355,32, 32,32s 32-14.355, 32-32L 160,192 \n\tc0-52.935, 43.065-96, 96-96c 52.935,0, 96,43.065, 96,89l0,31 l-41,12l-23-12l0-31 C 288,174.355, 273.645,160, 256,160z M 480,320\n\tc0,52.936-43.065,96-96,96s-96-43.064-96-103l0-62 l 23,12l 41-12l0,62 c0,24.645, 14.355,39, 32,39s 32-14.355, 32-32l0-64 l 64,0 L 480,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"delicious, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.688,0L 85.343,0 C 38.405,0,0,38.408,0,85.346l0,341.312 C0,473.623, 38.405,512, 85.343,512l 341.345,0 \n\tC 473.625,512, 512,473.624, 512,426.658L 512,85.346 C 512,38.408, 473.625,0, 426.688,0z M 480,426.658c0,14.167-5.57,27.541-15.685,37.658\n\tC 454.204,474.43, 440.841,480, 426.688,480L 256,480 L 256,256 L 32,256 L 32,85.346 c0-14.154, 5.575-27.525, 15.698-37.648C 57.82,37.575, 71.19,32, 85.343,32\n\tL 256,32 l0,224 l 224,0 L 480,426.658 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lastfm, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z\n\t M 373.258,380.444c-88.779,0-119.569-40.028-135.986-89.802l-16.425-51.318c-12.319-37.463-26.687-66.712-71.842-66.712\n\tc-31.31,0-63.123,22.579-63.123,85.699c0,49.264, 25.144,80.056, 60.557,80.056c 40.021,0, 66.71-29.765, 66.71-29.765l 16.425,44.644\n\tc0,0-27.718,27.197-85.699,27.197c-71.846,0-111.875-42.076-111.875-120.082c0-81.081, 40.029-128.805, 115.464-128.805\n\tc 68.253,0, 102.64,24.632, 124.188,91.346l 16.936,51.313c 12.318,37.465, 33.867,64.662, 85.698,64.662\n\tc 34.896,0, 53.367-7.699, 53.367-26.684c0-14.885-8.72-25.66-34.892-31.82l-34.9-8.207c-42.587-10.262-59.522-32.329-59.522-67.226\n\tc0-55.936, 45.16-73.384, 91.343-73.384c 52.345,0, 84.161,18.988, 88.266,65.172l-51.317,6.16\n\tc-2.054-22.066-15.396-31.305-40.027-31.305c-22.582,0-36.436,10.265-36.436,27.713c0,15.395, 6.671,24.633, 29.247,29.765\n\tl 32.842,7.182c 44.135,10.266, 67.746,31.82, 67.746,73.386C 480.001,360.946, 436.895,380.444, 373.258,380.444z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lastfm, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 409.79,406.814c-53.333-0.209-81.749-26.291-101.496-72.251l-5.649-12.541l-48.685-111\n\tc-16.146-39.293-56.211-65.836-101.417-65.836c-61.167,0-110.792,49.626-110.792,110.836c0,61.209, 49.624,110.834, 110.792,110.834\n\tc 42.669,0, 79.771-24.125, 98.291-59.5l 19.688,45.416c-27.956,34.085-70.438,55.792-117.977,55.792C 68.29,408.564,0,340.313,0,256.021\n\tc0-84.252, 68.29-152.586, 152.542-152.586c 63.583,0, 114.918,33.959, 141,94.126c 1.978,4.668, 27.579,64.543, 49.913,115.5\n\tc 13.834,31.541, 25.63,52.459, 63.878,53.752c 37.584,1.291, 63.378-21.584, 63.378-50.504c0-28.25-19.668-35.041-52.875-46.082\n\tc-59.691-19.667-90.503-39.417-90.503-86.751c0-46.168, 31.416-76.959, 82.457-76.959c 33.248,0, 57.253,14.793, 73.88,44.293\n\tl-32.628,16.666c-12.295-17.207-25.854-24-43.086-24c-23.956,0-41.063,16.668-41.063,38.833c0,31.461, 28.147,36.211, 67.503,49.127\n\tC 487.375,248.686, 512,268.396, 512,317.604C 512.001,369.272, 467.664,406.898, 409.79,406.814z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"linkedin, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 192,416l-64,0 \n\tL 128,192 l 64,0 L 192,416 z M 160,160c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 177.673,160, 160,160z M 416,416l-64,0 L 352,288 \n\tc0-17.673-14.327-32-32-32s-32,14.327-32,32l0,128 l-64,0 L 224,192 l 64,0 l0,39.736 C 301.199,213.604, 321.376,192, 344,192c 39.765,0, 72,35.817, 72,80\n\tL 416,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reddit, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,320A32,32 2520 1 1 192,320A32,32 2520 1 1 128,320zM 320,320A32,32 2520 1 1 384,320A32,32 2520 1 1 320,320zM 321.556,388.389 C 329.797,381.896 341.744,383.312 348.238,391.555 C 354.732,399.798 353.314,411.744 345.071,418.238 C 322.123,436.317 287.16,448 256,448 C 224.839,448 189.876,436.317 166.928,418.239 C 158.685,411.744 157.268,399.798 163.762,391.555 C 170.257,383.314 182.203,381.896 190.445,388.389 C 203.656,398.798 229.806,410 256,410 C 282.194,410 308.344,398.798 321.556,388.389 ZM 512,256c0-35.346-28.654-64-64-64c-24.058,0-44.996,13.285-55.926,32.91c-32.896-17.997-72.976-29.623-116.64-32.304\n\t\t\tl 38.191-85.763l 73.097,21.1C 393.298,146.614, 411.081,160, 432,160c 26.51,0, 48-21.49, 48-48s-21.49-48-48-48\n\t\t\tc-18.28,0-34.171,10.221-42.277,25.257L 308.27,65.745c-9.112-2.629-18.769,1.861-22.626,10.526l-51.885,116.513\n\t\t\tc-42.569,2.998-81.631,14.511-113.818,32.118C 109.009,205.277, 88.058,192, 64,192c-35.346,0-64,28.654-64,64\n\t\t\tc0,26.156, 15.701,48.627, 38.186,58.551C 34.151,326.565, 32,339.103, 32,352c0,88.365, 100.288,160, 224,160\n\t\t\tc 123.711,0, 224-71.635, 224-160c0-12.896-2.15-25.431-6.184-37.443C 496.301,304.632, 512,282.156, 512,256z M 432,94\n\t\t\tc 9.941,0, 18,8.059, 18,18s-8.059,18-18,18s-18-8.059-18-18S 422.059,94, 432,94z M 32,256c0-17.645, 14.355-32, 32-32\n\t\t\tc 12.754,0, 23.786,7.502, 28.923,18.323c-16.724,12.683-30.583,27.313-40.833,43.369C 40.328,280.957, 32,269.436, 32,256z M 256,474\n\t\t\tc-102.725,0-186-54.621-186-122s 83.275-122, 186-122c 102.725,0, 186,54.621, 186,122S 358.725,474, 256,474z M 459.91,285.692\n\t\t\tc-10.25-16.056-24.109-30.686-40.833-43.369C 424.215,231.502, 435.246,224, 448,224c 17.645,0, 32,14.355, 32,32\n\t\t\tC 480,269.436, 471.672,280.957, 459.91,285.692z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skype, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 487.655,288.969c 1.406-10.4, 2.215-20.973, 2.215-31.736c0-129.155-105.271-233.872-235.103-233.872\n\tc-12.904,0-25.555,1.060-37.866,3.080c-22.072-14.384-48.342-22.767-76.612-22.767C 62.766,3.674,0,66.482,0,143.98\n\tc0,28.198, 8.299,54.394, 22.59,76.389c-1.925,12.017-2.909,24.323-2.909,36.859c0,129.176, 105.217,233.882, 235.085,233.882\n\tc 14.657,0, 28.927-1.427, 42.796-3.933c 21.55,13.369, 46.934,21.148, 74.146,21.148C 449.21,508.326, 512,445.502, 512,368.012\n\tC 511.997,338.719, 503.040,311.484, 487.655,288.969z M 276.74,429.596c-74.705,3.892-109.664-12.637-141.689-42.691\n\tc-35.765-33.567-21.398-71.854, 7.74-73.801c 29.122-1.944, 46.607,33.013, 62.15,42.736c 15.524,9.688, 74.594,31.76, 105.794-3.908\n\tc 33.976-38.828-22.594-58.92-64.059-65.002c-59.203-8.766-133.95-40.792-128.135-103.907c 5.816-63.074, 53.582-95.414, 103.85-99.976\n\tc 64.077-5.817, 105.791,9.707, 138.785,37.86c 38.15,32.529, 17.508,68.894-6.799,71.82c-24.212,2.909-51.404-53.504-104.791-54.352\n\tc-55.027-0.864-92.217,57.261-24.286,73.784c 67.966,16.505, 140.75,23.286, 166.961,85.417\n\tC 418.49,359.713, 351.507,425.701, 276.74,429.596z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"soundcloud, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.686,0L 85.344,0 C 38.407,0, 0.001,38.403, 0.001,85.34l0,234.658 L 8,288l 16,0 l 8,32l-8,32L 8,352 l-8-31.998l0,106.652 \n\tC 0.001,473.623, 38.407,512, 85.344,512l 341.342,0 C 473.625,512, 512,473.623, 512,426.654L 512,320.553 C 512,355.592, 482.459,384, 446.007,384\n\tc-1.177,0-182.777-0.088-182.945-0.105c-3.941-0.381-7.062-3.615-7.062-7.498L 256,175.040 c0-3.697, 1.309-5.606, 6.289-7.458\n\tc 12.818-4.767, 27.267-7.582, 42.159-7.582c 60.854,0, 110.746,44.851, 115.999,102.029c 7.858-3.168, 16.489-4.928, 25.532-4.928\n\tc 36.453,0, 66.021,28.412, 66.021,63.451L 512,85.341 C 512,38.403, 473.621,0, 426.686,0z M 88,384L 72,384 l-8-64l 8-64l 16,0 l 8,64L 88,384z M 152,384l-16,0 \n\tl-8-81.375L 136,224l 16,0 l 8,80L 152,384z M 216,384l-16,0 l-8-112.11L 200,160l 16,0 l 8,111.89L 216,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"soundcloud, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.98,257.102c-9.043,0-17.674,1.76-25.532,4.928C 415.195,204.851, 365.303,160, 304.448,160\n\t\tc-14.893,0-29.341,2.815-42.159,7.582c-4.98,1.851-6.289,3.76-6.289,7.458l0,201.357 c0,3.883, 3.12,7.117, 7.062,7.498\n\t\tC 263.23,383.912, 444.83,384, 446.007,384C 482.459,384, 512,355.592, 512,320.553S 482.433,257.102, 445.98,257.102zM 200,384L 216,384L 224,271.89L 216,160L 200,160L 192,271.89 \tzM 152,384L 136,384L 128,302.625L 136,224L 152,224L 160,304 \tzM 72,384L 88,384L 96,320L 88,256L 72,256L 64,320 \tzM 8,352L 24,352L 32,320L 24,288L 8,288L0,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"windows8, os\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.175,256 L 0,99.963 L 192,73.891 L 192,256 ZM 224,69.241 L 479.936,32 L 479.936,256 L 224,256 ZM 479.999,288 L 479.936,512 L 224,475.992 L 224,288 ZM 192,471.918 L 0.156,445.621 L 0.146,288 L 192,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"windows, os\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.115,255.957c-23.854-12.259-47.043-18.479-68.94-18.479c-2.978,0-5.976,0.090-8.974,0.354\n\t\tc-27.94,2.312-53.461,9.684-69.875,15.414c-4.354,1.599-8.817,3.288-13.415,5.153L0,414.096\n\t\tc 30.851-11.416, 58.146-16.969, 83.135-16.969c 40.423,0, 69.764,15.104, 93.996,30.652c 11.481-38.959, 39.022-133.045, 47.241-161.162\n\t\tC 218.397,262.975, 212.334,259.332, 206.115,255.957zM 264.174,295.535l-45.223,157.074c 13.416,7.686, 58.549,32.025, 93.106,32.025c 27.896,0, 59.126-7.148, 95.417-21.896\n\t\tl 43.178-150.988c-29.316,9.461-57.438,14.26-83.732,14.26C 318.945,326.010, 285.363,310.461, 264.174,295.535zM 146.411,184.395c 38.559,0.399, 67.076,15.104, 90.708,30.251l 46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3\n\t\tc-12.193-2.842-25.010-4.308-38.602-4.308c-25.898,0.488-54.194,6.973-86.444,19.9l-44.22,155.298\n\t\tc 32.404-12.218, 60.322-18.17, 86.043-18.17C 146.366,184.395, 146.411,184.395, 146.411,184.395zM 512,99.062c-29.407,11.416-58.104,17.233-85.514,17.233c-45.843,0-79.646-15.901-101.547-31.183L 278.964,244.23\n\t\tc 30.873,19.854, 64.145,29.939, 99.061,29.939c 28.474,0, 57.97-6.84, 87.731-20.344l-0.091-1.111l 1.867-0.443L 512,99.062z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"android, os, mobile\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,160c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32s 32-14.4, 32-32L 464,192 C 464,174.4, 449.6,160, 432,160zM 48,160c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32s 32-14.4, 32-32L 80,192 C 80,174.4, 65.599,160, 48,160zM 96,368c0,26.51, 21.49,48, 48,48l 16,0 l0,64 c0,17.6, 14.4,32, 32,32s 32-14.4, 32-32l0-64 l 32,0 l0,64 c0,17.6, 14.401,32, 32,32s 32-14.4, 32-32\n\t\tl0-64 l 16,0 c 26.51,0, 48-21.49, 48-48L 384,192 L 96,192 L 96,368 zM 299.299,44.747l 20.252-38.903c 1.016-1.951, 0.25-4.379-1.701-5.395s-4.379-0.25-5.395,1.701l-20.559,39.493\n\t\tC 275.797,35.419, 258.299,32, 240,32c-18.298,0-35.796,3.419-51.898,9.643L 167.544,2.151c-1.016-1.951-3.443-2.717-5.395-1.701\n\t\ts-2.717,3.443-1.701,5.395l 20.25,38.904c-45.315,20.509-78.12,63.792-83.81,115.252l 286.22,0 \n\t\tC 377.42,108.539, 344.615,65.257, 299.299,44.747z M 176,135.2c-12.813,0-23.2-10.387-23.2-23.2c0-12.813, 10.387-23.2, 23.2-23.2\n\t\ts 23.2,10.387, 23.2,23.2C 199.199,124.813, 188.813,135.2, 176,135.2z M 304,135.2c-12.813,0-23.201-10.387-23.201-23.2\n\t\tc0-12.813, 10.389-23.2, 23.201-23.2s 23.199,10.387, 23.199,23.2C 327.199,124.813, 316.813,135.2, 304,135.2z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"finder, mac\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.5,384c-66.156,0-130.837-9.686-193.050-28.849l 10.124-30.371C 132.526,342.859, 193.812,352, 256.5,352\n\t\tc 8.172,0, 16.319-0.164, 24.441-0.474C 283.054,312.746, 288,288, 288,288s-32,0-96,0c0-87.505, 29.909-165.027, 62.465-223.5L0,64.5 l0,383 \n\t\tl 283.088,0 c-2.336-22.842-3.152-44.43-3.077-63.92C 272.195,383.854, 264.358,384, 256.5,384z M 96,128l 32,0 l0,64 L 96,192 L 96,128 zM 512,64.5L 298.435,64.5 c-0.974,1.598-1.947,3.207-2.92,4.843c-19.208,32.286-34.468,65.379-45.358,98.36\n\t\tc-9.103,27.566-15.151,55.116-18.086,82.297l 102.429,0 l-9.229,45.417c-0.157,0.808-4.085,21.422-6.1,53.471\n\t\tc 40.932-4.063, 81.111-12.103, 120.257-24.107l 10.124,30.371c-42.783,13.178-86.732,21.874-131.526,26.021\n\t\tc-0.018,2.188-0.028,4.395-0.021,6.64c 0.062,20.315, 1.173,40.285, 3.301,59.688L 512,447.501 L 512,64.5 z M 416,192l-32,0 l0-64 l 32,0 L 416,192 zM 293.632,512l 39.084,0 c-2.73-10.907-5.094-22.096-7.069-33.543c-1.747-10.126-3.191-20.46-4.343-30.957l-38.216,0 \n\t\tC 285.204,468.189, 288.563,489.901, 293.632,512zM 344.224,0l-48.198,0 c-12.875,17.435-27.466,39.185-41.56,64.5l 43.969,0 C 315.272,36.844, 332.017,14.799, 344.224,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"apple\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 395.749,272.046c-0.647-64.841, 52.879-95.938, 55.271-97.483c-30.076-44.010-76.925-50.039-93.621-50.736\n\t\tc-39.871-4.037-77.798,23.474-98.033,23.474c-20.184,0-51.409-22.877-84.476-22.276c-43.458,0.646-83.529,25.269-105.906,64.19\n\t\tc-45.152,78.349-11.563,194.42, 32.445,257.963c 21.504,31.102, 47.146,66.038, 80.813,64.79c 32.421-1.294, 44.681-20.979, 83.878-20.979\n\t\tc 39.197,0, 50.214,20.979, 84.525,20.335c 34.887-0.648, 56.991-31.699, 78.346-62.898c 24.695-36.084, 34.863-71.019, 35.462-72.813\n\t\tC 463.679,375.26, 396.423,349.495, 395.749,272.046zM 331.281,81.761C 349.15,60.082, 361.211,30.005, 357.921,0c-25.739,1.048-56.939,17.145-75.405,38.775\n\t\tc-16.571,19.188-31.074,49.813-27.187,79.218C 284.062,120.235, 313.393,103.391, 331.281,81.761z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tux, linux\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 283.828,368.458c-40.972,19.059-79.079,18.858-104.67,17.010c-30.526-2.205-55.079-10.562-65.871-17.866\n\t\tc-6.65-4.503-15.692-2.761-20.195,3.891c-4.502,6.651-2.76,15.693, 3.891,20.195c 17.349,11.743, 48.034,20.477, 80.081,22.79\n\t\tc 5.433,0.392, 11.399,0.639, 17.823,0.639c 27.891,0, 63.313-2.658, 101.21-20.285c 7.282-3.389, 10.439-12.037, 7.052-19.32\n\t\tC 299.761,368.229, 291.111,365.076, 283.828,368.458zM 445.474,346.908c 1.393-126.344, 14.381-365.103-227.485-345.806C-20.811,20.323, 42.507,272.586, 38.948,357.077\n\t\tC 35.794,401.77, 20.959,456.401,0,512l 64.55,0 c 6.633-23.561, 11.512-46.86, 13.616-69.075c 3.891,2.714, 8.054,5.337, 12.497,7.85\n\t\tc 7.229,4.259, 13.442,9.922, 20.020,15.917c 15.372,14.009, 32.795,29.887, 66.856,31.876c 2.286,0.131, 4.587,0.197, 6.838,0.197\n\t\tc 34.448,0, 58.007-15.077, 76.939-27.191c 9.070-5.806, 16.909-10.82, 24.282-13.226c 20.955-6.56, 39.266-17.148, 52.952-30.626\n\t\tc 2.138-2.104, 4.121-4.269, 5.981-6.474c 7.623,27.939, 18.059,59.379, 29.644,90.752L 512,512 \n\t\tC 478.913,460.888, 444.782,410.813, 445.474,346.908z M 62.055,278.176c0-0.008,0-0.015-0.001-0.023\n\t\tc-2.373-41.231, 17.355-75.916, 44.063-77.468c 26.706-1.553, 50.28,30.614, 52.652,71.846c0,0.007, 0.002,0.015, 0.002,0.022\n\t\tc 0.128,2.223, 0.184,4.423, 0.185,6.603c-8.462,2.128-16.096,5.218-22.936,8.815c-0.026-0.306-0.046-0.608-0.076-0.915\n\t\tc0-0.004,0-0.009,0-0.013c-2.285-23.405-14.786-41.080-27.926-39.479c-13.14,1.602-21.94,21.875-19.656,45.279\n\t\tc0,0.005, 0.002,0.009, 0.002,0.013c 0.996,10.204, 3.934,19.318, 8.021,26.222c-1.017,0.802-3.892,2.906-7.203,5.328\n\t\tc-2.485,1.817-5.51,4.029-9.157,6.715C 70.084,318.074, 63.272,299.331, 62.055,278.176z M 332.63,380.089\n\t\tc-0.95,21.793-29.454,42.296-55.791,50.522l-0.148,0.048c-10.95,3.551-20.714,9.8-31.052,16.415\n\t\tc-17.366,11.112-35.323,22.604-61.261,22.604c-1.702,0-3.447-0.052-5.163-0.148c-23.758-1.389-34.871-11.516-48.94-24.338\n\t\tc-7.421-6.763-15.095-13.757-24.988-19.562l-0.212-0.122c-21.353-12.052-34.606-27.041-35.454-40.097\n\t\tc-0.421-6.49, 2.469-12.109, 8.591-16.7c 13.318-9.986, 22.239-16.511, 28.142-20.829c 6.555-4.794, 8.534-6.24, 10-7.632\n\t\tc 1.048-0.993, 2.182-2.094, 3.402-3.281c 12.223-11.887, 32.68-31.781, 64.075-31.781c 19.202,0, 40.449,7.4, 63.085,21.951\n\t\tc 10.662,6.939, 19.941,10.143, 31.69,14.2c 8.078,2.789, 17.234,5.951, 29.496,11.202l 0.198,0.082\n\t\tC 319.74,357.325, 333.248,365.905, 332.63,380.089z M 326.323,328.903c-2.2-1.107-4.487-2.16-6.872-3.143\n\t\tc-11.053-4.728-19.916-7.937-27.267-10.499c 4.058-7.947, 6.58-17.86, 6.812-28.621c0-0.005,0-0.011,0-0.015\n\t\tc 0.563-26.187-12.644-47.448-29.498-47.488c-16.855-0.039-30.975,21.157-31.538,47.343c0,0.005,0,0.009,0,0.014\n\t\tc-0.019,0.857-0.021,1.708-0.010,2.555c-10.381-4.776-20.59-8.245-30.583-10.38c-0.046-0.984-0.102-1.966-0.122-2.96\n\t\tc0-0.008,0-0.018,0-0.025c-0.969-47.706, 28.301-87.195, 65.377-88.201c 37.075-1.007, 67.914,36.85, 68.886,84.555\n\t\tc0,0.009,0,0.019,0,0.026C 341.945,293.637, 336.178,313.497, 326.323,328.903z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"yahoo, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424,320l-7.429-208.010C 416.257,103.195, 423.2,96, 432,96l 64,0 c 8.8,0, 14.734,7.088, 13.188,15.751L 472,320M 480,388c0,15.4-12.6,28-28,28l-8,0 c-15.4,0-28-12.6-28-28l0-8 c0-15.4, 12.6-28, 28-28l 8,0 c 15.4,0, 28,12.6, 28,28L 480,388 zM 192,96C 85.961,96,0,167.634,0,256c0,88.365, 85.961,160, 192,160c 106.039,0, 192-71.635, 192-160\n\tC 384,167.634, 298.039,96, 192,96z M 320,224l-37.131,0 L 224,282.87L 224,320 l 48,0 l0,32 L 144,352 l0-32 l 48,0 l0-37.13 L 101.13,192L 80.099,192 l0-32 l 95.803,0 l0,32 L 154.87,192 \n\tL 208,245.13l 16-16L 224,192 l 96,0 L 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tumblr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.69,0L 85.344,0 C 38.405,0, 0.001,38.407, 0.001,85.343l0,341.313 C 0.001,473.625, 38.405,512, 85.344,512L 426.69,512 \n\tC 473.625,512, 512,473.625, 512,426.656L 512,85.342 C 511.996,38.407, 473.621,0, 426.69,0z M 365.858,412.344\n\tc-15.076,7.094-28.764,12.094-41,14.969c-12.248,2.845-25.48,4.279-39.701,4.279c-16.156,0-25.688-2.029-38.094-6.094\n\tc-12.404-4.094-23-9.936-31.75-17.436c-8.779-7.564-14.843-15.599-18.233-24.097c-3.392-8.502-5.078-20.846-5.078-37.002L 192.002,223.062 \n\tl-47.998,0 l0-50.033 c 13.872-4.5, 29.968-10.967, 39.842-19.375c 9.92-8.436, 17.859-18.529, 23.842-30.342\n\tc 6.002-11.783, 10.125-26.813, 12.376-45.033l 50.25,0 L 270.314,160 L 352,160 l0,63.063 l-81.689,0 l0,90.594 c0,20.5-0.264,32.313, 1.908,38.125\n\tc 2.156,5.78, 7.563,11.78, 13.451,15.25c 7.828,4.688, 16.752,7.030, 26.813,7.030c 17.893,0, 35.689-5.813, 53.375-17.438L 365.858,412.344 \n\tL 365.858,412.344z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tumblr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288.016,224 L 288.015,341.092 C 288.015,370.801 287.63,387.92 290.78,396.342 C 293.905,404.719 301.739,413.415 310.275,418.443 C 321.617,425.237 334.546,428.631 349.129,428.631 C 375.056,428.631 390.368,425.207 416,408.361 L 416,485.333 L 416,485.333 C 394.15,495.609 375.067,501.63 357.338,505.794 C 339.588,509.915 320.408,511.997 299.806,511.997 C 276.392,511.997 262.578,509.054 244.601,503.169 C 226.622,497.235 211.271,488.766 198.591,477.899 C 185.866,466.938 177.080,455.295 172.167,442.983 C 167.254,430.665 164.809,412.776 164.809,389.361 L 164.809,209.811 L 96.096,209.811 L 96.096,137.308 C 116.2,130.787 138.678,121.414 152.986,109.232 C 167.363,97.007 178.869,82.379 187.539,65.26 C 196.235,48.187 202.213,26.404 205.475,0.002 L 288.017,0.002 L 288.016,128 L 416,128 L 416,224 L 288.016,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blogger, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.674,0L 85.325,0 C 38.202,0,0,38.209,0,85.341l0,341.318 C0,473.792, 38.202,512, 85.325,512l 341.348,0 \n\tc 47.125,0, 85.324-38.208, 85.324-85.341L 512,85.341C 512,38.209, 473.798,0, 426.674,0z M 448,324.049\n\tC 448,392.544, 392.257,448, 323.278,448L 188.869,448 C 119.941,448, 64,392.544, 64,324.049L 64,188 c 0.048-68.5, 55.94-124, 124.869-124l 62.934,0 \n\tC 320.779,64, 376.002,115.5, 376,184c 0.901,12.847, 12.461,24, 25.646,24l 0.448,0 l 21.078,0 C 436.959,208, 448,222.467, 448,236.156L 448,324.049 zM 352,320c0,17.6-14.4,32-32,32L 192,352 c-17.6,0-32-14.4-32-32l0,0c0-17.6, 14.4-32, 32-32l 128,0 C 337.6,288, 352,302.4, 352,320\n\tL 352,320zM 288,192c0,17.6-14.4,32-32,32l-64,0 c-17.6,0-32-14.4-32-32l0,0c0-17.6, 14.4-32, 32-32l 64,0 C 273.6,160, 288,174.4, 288,192L 288,192\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blogger, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 478.898,192l-28.103,0 l-0.6,0 c-17.583,0-32.994-14.871-34.195-32l0,0C 416.002,68.666, 342.371,0, 250.405,0l-83.912,0 \n\tC 74.587,0, 0.065,74,0,165.333l0,181.399 C0,438.059, 74.587,512, 166.492,512l 179.21,0 C 437.676,512, 512,438.059, 512,346.732L 512,229.541 \n\tC 512,211.29, 497.28,192, 478.898,192z M 160,128l 96,0 c 17.6,0, 32,14.4, 32,32s-14.4,32-32,32l-96,0 c-17.6,0-32-14.4-32-32S 142.4,128, 160,128\n\tz M 352,384L 160,384 c-17.6,0-32-14.4-32-32s 14.4-32, 32-32l 192,0 c 17.6,0, 32,14.4, 32,32S 369.6,384, 352,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"joomla, cms\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 133.002,138.339c 16.416-16.422, 43.001-16.422, 59.402-0.016l 3.913,3.934l 50.552-50.578l-3.937-3.94\n\tc-28.812-28.85-69.257-38.939-106.21-30.261C 131.425,24.887, 103.178,0.016, 69.135,0C 31.31,0, 0.658,30.721, 0.65,68.579\n\tc0,32.668, 22.795,60, 53.331,66.915c-11.569,38.725-2.121,82.417, 28.423,112.992l 113.913,113.95l 50.498-50.607L 132.91,197.886\n\tC 116.569,181.525, 116.539,154.823, 133.002,138.339zM 511.356,68.579C 511.364,30.698, 480.697,0, 442.864,0c-34.617,0-63.239,25.722-67.841,59.119\n\tc-38.537-11.332-81.892-1.748-112.32,28.704l-113.92,113.95l 50.551,50.586l 113.883-113.928c 16.47-16.483, 42.994-16.453, 59.342-0.092\n\tc 16.4,16.415, 16.4,43.057-0.016,59.478l-3.897,3.918l 50.505,50.624l 3.929-3.964c 30.229-30.283, 39.839-73.378, 28.806-111.819\n\tC 485.461,132.159, 511.356,103.394, 511.356,68.579zM 453.133,375.532c 9.051-37.229-0.988-78.162-30.054-107.25L 309.334,154.286l-50.551,50.561l 113.76,114.006\n\tc 16.47,16.498, 16.432,43.048, 0.092,59.424c-16.401,16.407-43.002,16.407-59.418-0.015l-3.883-3.895l-50.497,50.623l 3.866,3.864\n\tc 30.758,30.797, 74.809,40.219, 113.684,28.244C 382.703,488.439, 410.354,512, 443.516,512C 481.318,512, 512,481.325, 512,443.437\n\tC 512,408.837, 486.41,380.209, 453.133,375.532zM 306.172,264.342L 192.404,378.338c-16.355,16.384-43.017,16.414-59.472-0.062c-16.409-16.452-16.416-43.049-0.022-59.485\n\tl 3.904-3.887l-50.543-50.562l-3.867,3.856c-29.38,29.401-39.28,70.917-29.725,108.491C 22.48,383.819,0,411.006,0,443.437\n\tC-0.008,481.31, 30.666,512, 68.491,512c 32.55-0.016, 59.794-22.709, 66.77-53.191c 37.351,9.276, 78.499-0.652, 107.672-29.878\n\tl 113.745-113.98L 306.172,264.342z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wordpress, social, cms\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 259.371,272.352 L 318.386,429.823 C 318.775,430.748 319.252,431.598 319.761,432.4 C 299.805,439.241 278.359,443 256.002,443 C 237.155,443 218.966,440.31 201.758,435.381 L 259.371,272.352 ZM 448,255.997 C 448,324.982 409.612,385.212 352.53,417.626 L 411.173,252.49 C 422.129,225.813 425.775,204.48 425.775,185.515 C 425.775,178.629 425.306,172.241 424.481,166.286 C 439.47,192.917 448,223.482 448,255.997 ZM 64,255.996 C 64,228.884 69.972,203.147 80.626,179.893 L 172.215,424.285 C 108.161,393.98 64,330.009 64,255.996 ZM 95.582,153.284 C 129.911,102.523 188.924,69 256.004,69 C 305.988,69 351.5,87.613 385.658,118.098 C 384.83,118.049 384.023,117.947 383.17,117.947 C 364.31,117.947 350.927,133.948 350.927,151.135 C 350.927,166.546 360.058,179.583 369.787,194.993 C 377.087,207.446 385.614,223.447 385.614,246.564 C 385.614,262.565 379.296,281.139 371.006,307.014 L 351.85,369.33 L 282.46,168.321 C 294.018,167.732 304.434,166.546 304.434,166.546 C 314.781,165.352 313.563,150.544 303.211,151.135 C 303.211,151.135 272.109,153.511 252.036,153.511 C 233.169,153.511 201.469,151.135 201.469,151.135 C 191.114,150.545 189.899,165.95 200.25,166.546 C 200.25,166.546 210.045,167.729 220.389,168.321 L 250.3,248.146 L 208.278,370.874 L 138.361,168.321 C 149.932,167.73 160.337,166.546 160.337,166.546 C 170.674,165.352 169.453,150.544 159.108,151.135 C 159.108,151.135 128.015,153.511 107.938,153.511 C 104.335,153.511 100.087,153.425 95.582,153.284 ZM 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 480,256\n\t\tc0,123.712-100.288,224-224,224S 32,379.712, 32,256S 132.288,32, 256,32S 480,132.288, 480,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wordpress, social, cms\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,255.996c0,74.013, 44.161,137.984, 108.215,168.289L 80.626,179.893C 69.972,203.147, 64,228.884, 64,255.996zM 385.614,246.564c0-23.117-8.527-39.118-15.827-51.571c-9.729-15.41-18.86-28.447-18.86-43.858\n\t\t\tc0-17.187, 13.383-33.188, 32.243-33.188c 0.852,0, 1.66,0.102, 2.488,0.151C 351.5,87.613, 305.988,69, 256.004,69\n\t\t\tc-67.080,0-126.093,33.523-160.422,84.284c 4.505,0.141, 8.753,0.227, 12.356,0.227c 20.077,0, 51.17-2.376, 51.17-2.376\n\t\t\tc 10.345-0.591, 11.566,14.217, 1.229,15.411c0,0-10.405,1.184-21.976,1.775l 69.917,202.553l 42.022-122.728l-29.911-79.825\n\t\t\tc-10.344-0.592-20.139-1.775-20.139-1.775c-10.351-0.596-9.136-16.001, 1.219-15.411c0,0, 31.7,2.376, 50.567,2.376\n\t\t\tc 20.073,0, 51.175-2.376, 51.175-2.376c 10.351-0.591, 11.57,14.217, 1.223,15.411c0,0-10.417,1.186-21.974,1.775L 351.85,369.33\n\t\t\tl 19.156-62.316C 379.296,281.139, 385.614,262.564, 385.614,246.564zM 259.371,272.352l-57.613,163.029c 17.208,4.929, 35.397,7.619, 54.244,7.619c 22.358,0, 43.802-3.759, 63.759-10.6\n\t\t\tc-0.509-0.801-0.987-1.652-1.375-2.577L 259.371,272.352zM 424.481,166.286c 0.826,5.955, 1.294,12.343, 1.294,19.229c0,18.965-3.646,40.298-14.601,66.975l-58.643,165.136\n\t\t\tC 409.612,385.212, 448,324.982, 448,255.997C 448,223.482, 439.47,192.917, 424.481,166.286zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,480\n\t\tC 132.288,480, 32,379.712, 32,256S 132.288,32, 256,32s 224,100.288, 224,224S 379.712,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 131.736,379.684c0,13.526, 11.447,20.291, 34.334,20.291c 20.032,0, 30.044-7.021, 30.044-21.067\n\t\tc0-13.269-10.923-19.898-32.772-19.898C 142.269,359.008, 131.736,365.898, 131.736,379.684zM 426.674,0L 85.344,0 C 38.406,0,0,38.405,0,85.344l0,341.313 C0,473.625, 38.406,512, 85.344,512l 341.33,0 \n\t\tC 473.608,512, 512,473.625, 512,426.656L 512,85.344 C 512,38.405, 473.609,0, 426.674,0z M 237.864,204.494\n\t\tc-3.642,1.302-8.844,2.729-15.606,4.293c 2.080,5.983, 3.123,11.576, 3.123,16.777c0,16.646-5.009,31.149-15.022,43.506\n\t\tc-10.015,12.354-22.956,19.703-38.823,22.043c-10.402,1.563-15.604,7.156-15.604,16.779c0,3.381, 1.689,6.765, 5.072,10.145\n\t\tc 4.422,4.943, 10.924,8.066, 19.509,9.367c 37.195,5.721, 55.793,21.197, 55.793,46.427c0,40.321-24.062,60.481-72.181,60.481\n\t\tc-19.771,0-36.028-3.513-48.772-10.535c-16.129-8.844-24.188-22.76-24.188-41.75c0-21.852, 12.096-36.808, 36.282-44.869l0-0.78 \n\t\tc-8.842-5.462-13.263-13.785-13.263-24.972c0-14.566, 4.162-23.672, 12.484-27.311l0-0.781 c-8.323-2.862-15.737-9.366-22.24-19.512\n\t\tc-7.282-10.926-10.925-22.63-10.925-35.115c0-18.729, 6.635-34.335, 19.896-46.82c 12.748-11.707, 27.964-17.558, 45.653-17.558\n\t\tc 12.747,0, 24.579,3.119, 35.505,9.361c 12.485,0, 26.921-3.12, 43.313-9.361L 237.864,204.494L 237.864,204.494z M 301.089,339.497\n\t\tl-44.093,0 c 0.521-5.201, 0.779-14.042, 0.779-26.532L 257.775,191.619 c0-12.227-0.261-20.682-0.779-25.359l 44.093,0 \n\t\tc-0.521,4.942-0.781,13.135-0.781,24.582l0,119.782 C 300.308,323.891, 300.569,333.516, 301.089,339.497z M 298.159,127.241\n\t\tc-5.332,5.722-11.641,8.581-18.923,8.581c-7.543,0-13.979-2.859-19.313-8.581c-5.333-5.726-8.001-12.486-8.001-20.289\n\t\tc0-8.067, 2.668-14.956, 8.001-20.683c 5.333-5.721, 11.77-8.584, 19.313-8.584c 7.282,0, 13.592,2.863, 18.923,8.584\n\t\tc 5.333,5.728, 7.999,12.615, 7.999,20.683C 306.158,114.755, 303.492,121.516, 298.159,127.241z M 420.845,334.424\n\t\tc-9.627,5.205-21.203,7.803-34.729,7.803c-18.985,0-32.124-6.76-39.405-20.287c-5.465-10.145-8.193-26.14-8.193-47.99l0-69.842 \n\t\tl 0.389,0 l0-0.781 l-5.853-0.391c-3.382,0-7.806,0.391-13.267,1.171L 319.787,166.26 l 19.117,0 l0-15.216 c0-7.285-0.389-13.14-1.17-17.56l 45.259,0 \n\t\tc-0.775,4.94-1.168,10.533-1.168,16.776l0,15.999 l 33.943,0 l0,37.846 c-1.299,0-3.705-0.129-7.218-0.389\n\t\tc-3.512-0.261-6.828-0.393-9.949-0.393l-16.777,0 l0,72.572 c0,17.432, 5.725,26.145, 17.167,26.145c 8.063,0, 15.348-2.209, 21.854-6.632\n\t\tL 420.845,334.424 L 420.845,334.424zM 160.608,200.203c-16.388,0-24.582,9.627-24.582,28.873c0,17.951, 8.194,26.924, 24.582,26.924\n\t\tc 15.868,0, 23.801-9.104, 23.801-27.313c0-7.545-1.82-14.047-5.461-19.511C 174.525,203.195, 168.411,200.203, 160.608,200.203z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 117.639,124.36c-25.396,0-47.242,8.403-65.542,25.208c-19.043,17.926-28.57,40.33-28.57,67.218\n\t\tc0,17.926, 5.188,34.731, 15.647,50.416c 9.337,14.563, 19.090,23.903, 31.889,28.012l0,1.121 c-12.799,5.224-18.483,18.295-18.483,39.209\n\t\tc0,16.062, 5.686,28.011, 18.483,35.854l0,1.121 c-35.327,11.573-51.496,33.047-51.496,64.415c0,27.267, 11.874,47.244, 35.033,59.939\n\t\tC 72.895,506.959, 96.389,512, 124.773,512c 69.085,0, 103.703-28.941, 103.703-86.832c0-36.223-26.661-58.441-80.064-66.658\n\t\tc-12.323-1.863-21.643-6.348-27.991-13.445c-4.854-4.854-7.271-9.709-7.271-14.563c0-13.816, 7.479-21.848, 22.41-24.088\n\t\tc 22.779-3.357, 41.364-13.912, 55.743-31.648c 14.375-17.74, 21.565-38.559, 21.565-62.458c0-7.469-2.259-15.498-5.244-24.086\n\t\tc 9.709-2.244, 16.525-4.297, 21.646-6.166L 229.27,124.36 c-22.527,8.964-43.495,13.442-61.421,13.442\n\t\tC 152.162,128.841, 135.937,124.36, 117.639,124.36z M 123.801,403.885c 31.372,0, 47.052,9.521, 47.052,28.57\n\t\tc0,20.168-14.377,30.246-43.132,30.246c-32.862,0-49.293-9.711-49.293-29.127C 78.427,413.779, 93.55,403.885, 123.801,403.885z\n\t\t M 119.88,256c-23.527,0-35.293-12.882-35.293-38.654c0-27.631, 11.766-41.453, 35.293-41.453c 11.201,0, 19.979,4.298, 26.326,12.884\n\t\tc 5.229,7.845, 7.845,17.18, 7.845,28.011C 154.051,242.927, 142.658,256, 119.88,256zM 290.192,0c-10.828,0-20.070,4.107-27.727,12.324c-7.657,8.218-11.485,18.108-11.485,29.688\n\t\tc0,11.205, 3.829,20.91, 11.485,29.129c 7.654,8.217, 16.896,12.32, 27.727,12.32c 10.455,0, 19.514-4.104, 27.17-12.32\n\t\tc 7.656-8.219, 11.48-17.924, 11.48-29.129c0-11.58-3.824-21.472-11.48-29.688C 309.703,4.107, 300.647,0, 290.192,0zM 321.565,127.999l-63.303,0 c 0.748,7.168-0.32,18.021-0.32,35.57l0,174.216 c0,17.928, 1.068,32.387, 0.32,38.018l 63.303,0 \n\t\tc-0.75-8.188-2.697-22.334-2.697-41.379L 318.868,162.451 C 318.865,146.019, 320.815,135.167, 321.565,127.999zM 461.168,322.1c-16.436,0-24.541-12.514-24.541-37.533l0-103.32 l 24.932,0 c 4.48,0, 8.516-0.246, 13.559,0.123\n\t\tc 5.043,0.374, 7.076,0.125, 9.639,0.125l0-53.495 l-48.129,0 l0-23.808 c0-8.961, 1.408-17.151, 2.527-22.271l-64.979,0 \n\t\tc 1.121,5.12, 1.014,12.938, 1.014,23.395L 375.19,128 l-28.16,0 l0,53.494 c 7.682-1.12, 14.545-1.678, 19.398-1.678l 8.762,0.559l0,0.292 l0,0l0,101.101 \n\t\tc0,31.371, 3.979,54.336, 11.818,68.9c 10.461,19.42, 28.811,29.129, 56.068,29.129c 19.424,0, 36.559-3.732, 49.357-11.205l0-56.016 \n\t\tC 482.196,318.926, 472.742,322.1, 461.168,322.1z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, octacat, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 408.028,408.028\n\tc-19.759,19.758-42.756,35.266-68.354,46.093c-6.503,2.75-13.107,5.164-19.8,7.246L 319.874,423 c0-20.167-6.917-35-20.75-44.5\n\tc 8.667-0.833, 16.625-2, 23.875-3.5s 14.917-3.667, 23-6.5s 15.333-6.208, 21.75-10.125s 12.583-9, 18.5-15.25s 10.875-13.333, 14.875-21.25\n\ts 7.167-17.417, 9.5-28.5s 3.5-23.292, 3.5-36.625c0-25.833-8.417-47.833-25.25-66c 7.667-20, 6.833-41.75-2.5-65.25l-6.25-0.75\n\tc-4.333-0.5-12.125,1.333-23.375,5.5s-23.875,11-37.875,20.5c-19.833-5.5-40.417-8.25-61.75-8.25c-21.5,0-42,2.75-61.5,8.25\n\tc-8.833-6-17.208-10.958-25.125-14.875c-7.917-3.917-14.25-6.583-19-8s-9.167-2.292-13.25-2.625s-6.708-0.417-7.875-0.25\n\ts-2,0.333-2.5,0.5c-9.333,23.667-10.167,45.417-2.5,65.25c-16.833,18.167-25.25,40.167-25.25,66c0,13.333, 1.167,25.542, 3.5,36.625\n\ts 5.5,20.583, 9.5,28.5s 8.958,15, 14.875,21.25s 12.083,11.333, 18.5,15.25s 13.667,7.292, 21.75,10.125s 15.75,5, 23,6.5\n\ts 15.208,2.667, 23.875,3.5c-13.667,9.333-20.5,24.167-20.5,44.5l0,39.115 c-7.549-2.247-14.99-4.902-22.3-7.994\n\tc-25.597-10.827-48.594-26.335-68.353-46.093c-19.758-19.759-35.267-42.756-46.093-68.354C 46.679,313.195, 41,285.043, 41,256\n\ts 5.679-57.195, 16.879-83.675c 10.827-25.597, 26.335-48.594, 46.093-68.353s 42.756-35.267, 68.353-46.093\n\tC 198.805,46.679, 226.957,41, 256,41s 57.195,5.679, 83.675,16.879c 25.598,10.827, 48.595,26.335, 68.354,46.093\n\tc 19.758,19.758, 35.266,42.756, 46.093,68.353C 465.321,198.805, 471,226.957, 471,256s-5.679,57.195-16.879,83.675\n\tC 443.294,365.272, 427.786,388.27, 408.028,408.028z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, octacat, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,415.946c-9.577,0-19.154-4.958-29.071-14.875c-3.905-3.905-3.905-10.237,0-14.143c 3.905-3.904, 10.237-3.904, 14.143,0\n\t\tC 247.175,393.033, 252.058,396, 256,396c 3.941,0, 8.825-2.967, 14.929-9.071c 3.906-3.904, 10.236-3.904, 14.143,0\n\t\tc 3.905,3.905, 3.905,10.237,0,14.143C 275.154,410.988, 265.577,415.946, 256,415.946zM 0,262.746 C 0,287.692 2.133,310.307 6.4,330.587 C 10.667,350.867 16.667,368.457 24.4,383.353 C 32.133,398.249 41.911,411.305 53.733,422.523 C 65.555,433.741 78.399,442.983 92.266,450.252 C 106.133,457.52 121.999,463.4 139.866,467.885 C 157.732,472.372 175.91,475.513 194.399,477.308 C 212.888,479.103 233.244,480 255.466,480 C 277.688,480 298.087,479.105 316.665,477.31 C 335.243,475.515 353.466,472.374 371.331,467.887 C 389.198,463.4 405.11,457.522 419.065,450.254 C 433.020,442.985 445.954,433.741 457.864,422.525 C 469.776,411.307 479.599,398.251 487.331,383.355 C 495.066,368.458 501.111,350.868 505.466,330.589 C 509.821,310.309 511.999,287.695 511.999,262.749 C 511.999,218.059 498.131,179.563 470.399,147.258 C 471.999,142.95 473.376,138.015 474.532,132.451 C 475.686,126.887 476.798,119.035 477.864,108.895 C 478.933,98.754 478.532,87.043 476.665,73.763 C 474.798,60.481 471.288,46.931 466.132,33.112 L 462.132,32.303 C 459.466,31.765 455.111,31.944 449.066,32.843 C 443.023,33.74 435.955,35.354 427.867,37.688 C 419.779,40.020 409.334,44.642 396.533,51.552 C 383.734,58.461 370.223,67.211 356,77.8 C 331.822,70.441 298.49,62.742 256,62.742 C 213.512,62.742 180.089,70.44 155.735,77.799 C 141.512,67.209 127.957,58.505 115.068,51.685 C 102.178,44.864 91.867,40.198 84.134,37.686 C 76.4,35.174 69.245,33.558 62.667,32.841 C 56.089,32.123 51.866,31.898 50,32.168 C 48.134,32.437 46.756,32.751 45.867,33.11 C 40.71,46.93 37.155,60.48 35.199,73.762 C 33.244,87.042 32.799,98.708 33.866,108.758 C 34.933,118.809 36.088,126.707 37.333,132.449 C 38.578,138.192 40,143.128 41.6,147.256 C 13.867,179.381 0,217.877 0,262.746 Z M 68.268,319.702 C 68.268,290.691 78.934,264.383 100.268,240.774 C 106.668,233.571 114.091,228.118 122.535,224.418 C 130.98,220.717 140.579,218.615 151.335,218.115 C 162.091,217.615 172.357,217.715 182.135,218.415 C 191.913,219.116 204.002,220.066 218.402,221.266 C 232.801,222.468 245.246,223.067 255.735,223.067 C 266.223,223.067 278.669,222.467 293.067,221.266 C 307.47,220.066 319.558,219.116 329.335,218.415 C 339.115,217.715 349.38,217.615 360.136,218.115 C 370.892,218.616 380.537,220.717 389.070,224.418 C 397.603,228.118 405.070,233.571 411.47,240.774 C 432.802,264.383 443.47,290.691 443.47,319.702 C 443.47,336.708 441.693,351.864 438.136,365.169 C 434.581,378.475 430.091,389.627 424.669,398.63 C 419.247,407.634 411.645,415.239 401.87,421.44 C 392.091,427.643 382.624,432.445 373.47,435.845 C 364.314,439.245 352.491,441.897 338.003,443.798 C 323.512,445.696 310.536,446.849 299.067,447.248 C 287.6,447.648 273.157,447.848 255.735,447.848 C 238.313,447.848 223.913,447.647 212.535,447.248 C 201.157,446.849 188.224,445.696 173.735,443.798 C 159.246,441.897 147.424,439.246 138.268,435.845 C 129.113,432.444 119.646,427.643 109.868,421.44 C 100.090,415.238 92.49,407.634 87.068,398.63 C 81.645,389.627 77.156,378.475 73.601,365.169 C 70.046,351.864 68.268,336.708 68.268,319.702 ZM 128,304.002A32,48 2520 1 1 192,304.002A32,48 2520 1 1 128,304.002zM 320,304.002A32,48 2520 1 1 384,304.002A32,48 2520 1 1 320,304.002z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, octacat, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,278.205 C 0,301.404 2.17,322.395 6.511,341.172 C 10.85,359.949 16.859,376.264 24.537,390.118 C 32.215,403.972 41.979,416.157 53.83,426.672 C 65.68,437.188 78.533,445.784 92.386,452.46 C 106.239,459.135 122.054,464.559 139.83,468.733 C 157.606,472.906 175.758,475.827 194.285,477.497 C 212.812,479.166 233.175,480 255.374,480 C 277.74,480 298.188,479.166 316.714,477.497 C 335.241,475.827 353.435,472.905 371.294,468.733 C 389.153,464.561 405.050,459.137 418.988,452.46 C 432.926,445.783 445.861,437.188 457.796,426.672 C 469.731,416.157 479.579,403.97 487.339,390.118 C 495.099,376.266 501.15,359.95 505.49,341.172 C 509.83,322.394 512,301.404 512,278.205 C 512,236.811 498.146,201.008 470.441,170.797 C 471.943,166.791 473.32,162.243 474.572,157.152 C 475.824,152.061 476.992,144.801 478.077,135.37 C 479.162,125.939 478.745,115.049 476.825,102.697 C 474.906,90.345 471.359,77.744 466.183,64.891 L 462.428,64.14 C 459.757,63.64 455.375,63.765 449.283,64.516 C 443.191,65.267 436.097,66.769 428.002,69.023 C 419.907,71.276 409.475,75.616 396.706,82.042 C 383.937,88.468 370.459,96.521 356.271,106.202 C 331.903,99.526 298.437,96.187 255.875,96.187 C 213.479,96.187 180.097,99.526 155.728,106.202 C 141.54,96.521 127.978,88.468 115.043,82.042 C 102.108,75.616 91.801,71.276 84.123,69.023 C 76.446,66.769 69.268,65.309 62.592,64.641 C 55.915,63.973 51.7,63.765 49.948,64.015 C 48.196,64.265 46.818,64.558 45.817,64.891 C 40.643,77.744 37.096,90.344 35.177,102.697 C 33.258,115.049 32.84,125.94 33.925,135.37 C 35.010,144.8 36.179,152.061 37.43,157.152 C 38.682,162.243 40.059,166.791 41.561,170.797 C 13.854,201.008 0,236.81 0,278.205 Z M 62.842,341.047 C 62.842,317.012 73.775,294.979 95.64,274.95 C 102.149,268.94 109.744,264.393 118.423,261.304 C 127.102,258.216 136.908,256.464 147.841,256.046 C 158.774,255.629 169.247,255.712 179.262,256.297 C 189.276,256.881 201.628,257.674 216.316,258.675 C 231.004,259.677 243.69,260.177 254.372,260.177 C 265.055,260.177 277.74,259.677 292.428,258.675 C 307.117,257.674 319.467,256.881 329.483,256.297 C 339.498,255.712 349.97,255.629 360.904,256.046 C 371.837,256.464 381.642,258.216 390.323,261.304 C 399.001,264.392 406.595,268.939 413.105,274.95 C 434.97,294.647 445.904,316.678 445.904,341.047 C 445.904,355.403 444.109,368.128 440.52,379.229 C 436.931,390.329 432.341,399.634 426.749,407.144 C 421.157,414.654 413.397,421.039 403.465,426.297 C 393.534,431.555 383.854,435.602 374.423,438.441 C 364.992,441.278 352.89,443.49 338.119,445.076 C 323.346,446.662 310.161,447.622 298.56,447.955 C 286.96,448.289 272.23,448.456 254.371,448.456 C 236.512,448.456 221.782,448.289 210.182,447.955 C 198.582,447.622 185.395,446.662 170.624,445.076 C 155.853,443.49 143.752,441.278 134.321,438.441 C 124.891,435.602 115.21,431.554 105.279,426.297 C 95.348,421.040 87.586,414.656 81.995,407.144 C 76.404,399.633 71.813,390.329 68.225,379.229 C 64.636,368.128 62.842,355.401 62.842,341.047 ZM 320,336A32,48 2520 1 1 384,336A32,48 2520 1 1 320,336zM 128,336A32,48 2520 1 1 192,336A32,48 2520 1 1 128,336z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"steam, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 151.961,418.005 C 165.533,418.005 178.854,411.437 186.947,399.297 C 199.814,379.996 194.598,353.92 175.298,341.053 L 142.261,319.029 C 147.915,317.489 153.858,316.651 160,316.651 C 197.196,316.651 227.348,346.803 227.348,384 C 227.348,421.197 197.195,451.349 159.999,451.349 C 123.797,451.349 94.277,422.783 92.725,386.962 L 128.702,410.946 C 135.863,415.72 143.955,418.005 151.961,418.005 ZM 426.67,0 C 473.608,0 512,38.406 512,85.344 L 512,426.658 C 512,473.626 473.608,512 426.67,512 L 85.344,512 C 38.406,512 0,473.625 0,426.659 L 0,325.145 L 60.667,365.589 C 54.841,397.176 64.136,431.004 88.566,455.434 C 128.018,494.886 191.981,494.886 231.434,455.434 C 255.668,431.201 265.009,397.719 259.472,366.351 L 384.001,254.858 L 384,254.857 C 407.124,251.538 429.408,240.985 447.197,223.196 C 490.935,179.458 490.935,108.543 447.197,64.804 C 403.457,21.065 332.543,21.065 288.804,64.804 C 271.015,82.593 260.462,104.877 257.143,128 L 257.143,128 L 154.796,283.115 C 138.872,283.931 123.107,288.497 108.933,296.811 L 0,224.189 L 0,85.344 C 0,38.406 38.405,0 85.343,0 L 426.67,0 ZM 448,144c0-44.183-35.817-80-80-80s-80,35.817-80,80s 35.817,80, 80,80S 448,188.183, 448,144z M 320,144\n\t\tc0-26.51, 21.49-48, 48-48s 48,21.49, 48,48s-21.49,48-48,48S 320,170.51, 320,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"steam, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,144A48,48 1080 1 1 448,144A48,48 1080 1 1 352,144zM 479.196,64.804c-43.739-43.738-114.653-43.738-158.393,0c-17.789,17.789-28.342,40.073-31.661,63.196l0,0 L 186.795,283.114\n\t\tc-13.753,0.705-27.388,4.208-39.983,10.508L 67.866,231.91c-18.275-14.287-44.671-11.051-58.956,7.224\n\t\tc-14.286,18.275-11.051,44.671, 7.224,58.956l 77.967,60.946c-8.48,33.391, 0.336,70.269, 26.465,96.397\n\t\tc 39.453,39.452, 103.416,39.452, 142.868,0c 24.233-24.233, 33.575-57.714, 28.038-89.083L 416,254.858l-0.001-0.001\n\t\tc 23.124-3.319, 45.408-13.872, 63.197-31.661C 522.935,179.458, 522.935,108.543, 479.196,64.804z M 192,451.349\n\t\tc-37.195,0-67.349-30.152-67.349-67.349c0-0.356, 0.021-0.707, 0.027-1.062l 33.456,26.152c 7.68,6.003, 16.791,8.912, 25.837,8.912\n\t\tc 12.481,0, 24.836-5.54, 33.119-16.136c 14.286-18.275, 11.051-44.671-7.224-58.956l-31.75-24.818c 4.481-0.939, 9.124-1.44, 13.884-1.44\n\t\tc 37.196,0, 67.349,30.152, 67.349,67.349S 229.196,451.349, 192,451.349z M 400,224c-44.183,0-80-35.817-80-80s 35.817-80, 80-80\n\t\ts 80,35.817, 80,80S 444.183,224, 400,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"deviantart, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 480,384L 288,384 \n\t\tL 288,266 c0,0, 35.167,0.5, 54,20l0,34 l 77.205,0 c-5.91-18.941-18.534-37.556-36.564-53.332C 351.651,239.553, 301.044,226, 256,226l0,158 L 32,384 l0-48 \n\t\tc0-21.698, 7.325-43.269, 21.182-62.38c 12.297-16.959, 29.432-31.916, 50.93-44.457c 25.216-14.709, 55.281-25.354, 87.888-31.389L 192,128 l 64,0 \n\t\tl0,64 c 73.5,0, 110.806,13.198, 151.889,37.163c 21.498,12.541, 38.633,27.498, 50.93,44.457C 472.676,292.731, 480,314.302, 480,336L 480,384 zM 99.795,320 C 105.705,301.059 118.33,282.444 136.359,266.668 C 152.129,252.87 171.169,242.074 192,234.79 L 192,320 L 99.795,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"deviantart, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 280.928,203.5c-19.521-1.141-42.041,0.024-68.125,4.475l 60.167,108.444L 512,250.786\n\tc-2.577-6.13-6.343-12.113-11.331-17.899c-24.737-28.639-78.37-54.187-136.802-65.709l 0.001-0.013\n\tc-57.322-13.437-119.401-12.872-182.98-3.274c-2.292,0.344-4.572,0.711-6.84,1.092l-21.136-39.146\n\tc-20.571,2.746-39.904,7.025-57.803,12.737l 20.13,42.099c-32.88,12.738-59.861,30.88-79.329,52.716\n\tC 3.804,269.921-8.885,315.843, 6.537,360.565c 3.102,9.021, 7.294,17.58, 12.468,25.598l 239.034-65.649l-66.375-122.924\n\tc 2.279-0.44, 4.598-0.884, 6.964-1.312c 107.341-19.149, 166.051,10.432, 198.208,41.915l-81.779,19.824L 280.928,203.5z M 87.361,313.195\n\tc-7.379-33.676-1.506-71.263, 45.202-96.297l 36.569,76.474L 87.361,313.195z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forrst, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 288,288L 288,416L 224,416zM 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 288,416l0,64 \n\t\tl-64,0 l0-64 L 96,416 L 256,64l 160,352L 288,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forrst, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,448 L 0,448 L 224,0 L 448,448 L 256,448 L 256,384 L 320,384 L 320,352 L 256,352 L 256,288 L 192,288 ZM 192,448L 256,448L 256,512L 192,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 382.833,113.173 C 379.392,118.075 350.59,156.788 282.555,182.287 C 251.203,124.684 216.452,77.362 211.164,70.281 C 225.552,66.813 240.563,64.961 256.001,64.961 C 304.616,64.961 349.045,83.196 382.833,113.173 ZM 269.376,257.962 C 170.7,289.86 118.19,376.801 113.855,384.223 C 83.297,350.302 64.668,305.435 64.668,256.294 C 64.668,254.336 64.707,252.389 64.766,250.446 C 73.138,250.617 165.856,251.812 261.405,223.217 C 266.881,233.937 272.113,244.818 276.917,255.687 C 274.385,256.4 271.871,257.157 269.376,257.962 ZM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256.001,480\n\t\tC 132.486,480, 32,379.515, 32,256C 32,132.486, 132.486,32, 256.001,32C 379.517,32, 480,132.486, 480,256\n\t\tC 480,379.515, 379.517,480, 256.001,480zM 309.959,238.451 C 305.986,229.121 301.718,219.852 297.265,210.737 C 368.007,181.856 400.070,140.755 404.103,135.298 C 430.749,167.856 446.886,209.324 447.309,254.484 C 441,253.15 377.744,240.32 314.080,248.326 C 312.739,245.050 311.367,241.759 309.959,238.451 ZM 245.594,193.794 C 156.096,217.56 77.269,217.218 68.711,217.105 C 81.118,157.734 121.129,108.389 174.657,83.142 C 179.701,90.059 213.893,137.439 245.594,193.794 ZM 288.66,287.75 C 289.080,287.604 289.5,287.468 289.921,287.324 C 316.783,357.127 327.892,415.63 330.739,432.417 C 307.766,442.201 282.506,447.622 256.001,447.622 C 211.769,447.622 171,432.53 138.56,407.232 C 142.003,400.193 180.742,325.355 288.66,287.75 ZM 325.732,278.482 C 385.69,268.886 438.365,284.598 444.912,286.662 C 436.382,339.899 405.826,385.876 362.902,414.898 C 360.941,403.26 350.758,347.251 325.732,278.482 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 269.376,257.962 C 170.7,289.86 118.19,376.801 113.855,384.223 C 83.297,350.302 64.668,305.435 64.668,256.294 C 64.668,254.336 64.707,252.389 64.766,250.446 C 73.138,250.617 165.856,251.812 261.405,223.217 C 266.881,233.937 272.113,244.818 276.917,255.687 C 274.385,256.4 271.871,257.157 269.376,257.962 ZM 382.833,113.173 C 379.392,118.075 350.59,156.788 282.555,182.287 C 251.203,124.684 216.452,77.362 211.164,70.281 C 225.552,66.813 240.563,64.961 256.001,64.961 C 304.616,64.961 349.045,83.196 382.833,113.173 ZM 245.594,193.794 C 156.096,217.56 77.269,217.218 68.711,217.105 C 81.118,157.734 121.129,108.389 174.657,83.142 C 179.701,90.059 213.893,137.439 245.594,193.794 ZM 288.66,287.75 C 289.080,287.604 289.5,287.468 289.921,287.324 C 316.783,357.127 327.892,415.63 330.739,432.417 C 307.766,442.201 282.506,447.622 256.001,447.622 C 211.769,447.622 171,432.53 138.56,407.232 C 142.003,400.193 180.742,325.355 288.66,287.75 ZM 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 256.001,480\n\t\tC 132.486,480, 32,379.515, 32,256C 32,132.486, 132.486,32, 256.001,32C 379.517,32, 480,132.486, 480,256\n\t\tC 480,379.515, 379.517,480, 256.001,480zM 325.732,278.482 C 385.69,268.886 438.365,284.598 444.912,286.662 C 436.382,339.899 405.826,385.876 362.902,414.898 C 360.941,403.26 350.758,347.251 325.732,278.482 ZM 297.266,210.738 C 368.008,181.856 400.070,140.756 404.103,135.298 C 430.749,167.856 446.886,209.324 447.309,254.484 C 441,253.15 377.744,240.32 314.080,248.326 C 312.739,245.050 311.367,241.759 309.959,238.451 C 305.987,229.121 301.718,219.852 297.266,210.738 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,512C 114.841,512,0,397.159,0,256S 114.841,0, 256.001,0\n\tC 397.162,0, 512,114.841, 512,256S 397.162,512, 256.001,512z M 471.899,291.043c-7.481-2.36-67.682-20.316-136.205-9.349\n\tc 28.602,78.593, 40.239,142.604, 42.479,155.904C 427.23,404.43, 462.152,351.885, 471.899,291.043z M 341.416,457.619\n\tc-3.253-19.185-15.949-86.045-46.649-165.82c-0.48,0.164-0.961,0.32-1.44,0.486c-123.335,42.979-167.608,128.508-171.543,136.552\n\tc 37.075,28.912, 83.668,46.16, 134.218,46.16C 286.292,474.997, 315.161,468.802, 341.416,457.619z M 93.549,402.539\n\tc 4.954-8.48, 64.965-107.842, 177.738-144.297c 2.852-0.92, 5.724-1.785, 8.618-2.6c-5.49-12.422-11.47-24.857-17.728-37.108\n\tc-109.199,32.68-215.162,31.315-224.73,31.118c-0.066,2.221-0.111,4.445-0.111,6.683C 37.336,312.495, 58.626,363.772, 93.549,402.539z\n\t M 41.956,211.548c 9.779,0.13, 99.868,0.521, 202.151-26.641c-36.23-64.406-75.306-118.555-81.071-126.46\n\tC 101.862,87.301, 56.135,143.695, 41.956,211.548z M 204.759,43.75c 6.044,8.092, 45.759,62.174, 81.59,128.007\n\tc 77.754-29.142, 110.67-73.385, 114.604-78.987c-38.615-34.259-89.391-55.1-144.951-55.1C 238.357,37.67, 221.202,39.786, 204.759,43.75z\n\t M 425.261,118.056c-4.608,6.237-41.252,53.209-122.101,86.217c 5.089,10.416, 9.967,21.009, 14.508,31.672\n\tc 1.608,3.78, 3.177,7.542, 4.709,11.285c 72.759-9.149, 145.052,5.514, 152.263,7.039C 474.156,202.657, 455.715,155.264, 425.261,118.056z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"picassa, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.688,0L 85.344,0 C 38.406,0,0,38.406,0,85.341l0,341.313 C0,473.625, 38.406,512, 85.344,512l 341.34,0 \n\tC 473.622,512, 512,473.623, 512,426.652L 512,85.341 C 512,38.406, 473.622,0, 426.688,0z M 256,32c 34.357,0, 66.902,7.745, 96,21.569L 352,197.13 \n\tL 195.221,40.351C 214.549,34.914, 234.934,32, 256,32z M 32,256c0-87.944, 50.688-164.037, 124.437-200.693L 213.13,112L 34.643,290.487\n\tC 32.906,279.245, 32,267.729, 32,256z M 128,439.831c-37.342-26.049-66.382-63.174-82.336-106.625L 128,250.87L 128,439.831 z M 256,480\n\tc-34.357,0-66.902-7.745-96-21.569L 160,384 l 279.831,0 C 399.353,442.026, 332.116,480, 256,480z M 458.431,352L 384,352 L 384,72.168 \n\tc 58.026,40.479, 96,107.715, 96,183.832C 480,290.357, 472.255,322.902, 458.431,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"picassa, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,197.13 L 169.772,14.902 C 196.717,5.264 225.742,0 256,0 C 289.952,0 322.352,6.625 352,18.628 L 352,197.13 ZM 384,352 L 384,34.257 C 460.517,78.521 512,161.246 512,256 C 512,289.952 505.375,322.352 493.372,352 L 384,352 ZM 160,384 L 477.743,384 C 433.479,460.517 350.754,512 256,512 C 222.048,512 189.648,505.375 160,493.372 L 160,384 ZM 213.13,112 L 7.489,317.641 C 2.607,297.896 0,277.254 0,256 C 0,159.309 53.613,75.149 132.726,31.596 L 213.13,112 ZM 128,250.87 L 128,477.743 C 80.702,450.382 42.982,408.319 21.063,357.807 L 128,250.87 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,115.398,0,257.75S 114.615,515.5, 256,515.5s 256-115.398, 256-257.75S 397.385,0, 256,0z M 144,336\n\tc-44.183,0-80-35.817-80-80c0-44.183, 35.817-80, 80-80s 80,35.817, 80,80C 224,300.183, 188.183,336, 144,336z M 368,336\n\tc-44.184,0-80-35.817-80-80c0-44.183, 35.816-80, 80-80s 80,35.817, 80,80C 448,300.183, 412.184,336, 368,336z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.688,0L 85.344,0 C 38.406,0,0,38.406,0,85.341l0,341.313 C0,473.625, 38.406,512, 85.344,512l 341.341,0 \n\tC 473.622,512, 512,473.623, 512,426.652L 512,85.341 C 512,38.406, 473.622,0, 426.688,0z M 144,336c-44.183,0-80-35.817-80-80\n\tc0-44.183, 35.817-80, 80-80s 80,35.817, 80,80C 224,300.183, 188.183,336, 144,336z M 368,336c-44.184,0-80-35.817-80-80\n\tc0-44.183, 35.816-80, 80-80s 80,35.817, 80,80C 448,300.183, 412.184,336, 368,336z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,208 C 364.71,208 336,236.71 336,272 C 336,307.29 364.71,336 400,336 C 435.29,336 464,307.29 464,272 C 464,236.71 435.29,208 400,208 Z M 400,160 L 400,160 C 461.855,160 512,210.144 512,272 C 512,333.855 461.855,384 400,384 C 338.145,384 288,333.855 288,272 C 288,210.144 338.145,160 400,160 ZM0,272A112,112 1080 1 1 224,272A112,112 1080 1 1 0,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,272A112,112 1080 1 1 224,272A112,112 1080 1 1 0,272zM 288,272A112,112 1080 1 1 512,272A112,112 1080 1 1 288,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lanyrd\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z\n\t M 421.834,403.833c-56.666,18.667-167.333,55-188,60.167s-42,13.834-54-20.833c0,0-102-301.333-111.333-328S 50.077,72.424, 71.167,64\n\tc 48.688-19.447, 99.333-44.25, 108.667-16c 8.351,25.273, 97.333,304, 97.333,304s 104.666-36.834, 133.333-44.834s 38.501-13.334, 46,26\n\tS 478.5,385.166, 421.834,403.833z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vimeo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 406.434,219.063\n\tc-16.979,95.648-111.854,176.648-140.39,195.155c-28.544,18.503-54.577-7.411-64.019-26.997\n\tc-10.808-22.354-43.205-143.47-51.684-153.51c-8.482-10.019-33.938,10.040-33.938,10.040l-12.346-16.188\n\tc0,0, 51.691-61.724, 91.020-69.439c 41.702-8.183, 41.64,64.033, 51.67,104.121c 9.7,38.782, 16.22,60.976, 24.688,60.976\n\tc 8.485,0, 24.691-21.631, 42.426-54.785c 17.768-33.188-0.769-62.505-35.486-41.646C 292.268,143.464, 423.406,123.43, 406.434,219.063z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vimeo2\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.655,0L 85.345,0 C 38.406,0,0,38.408,0,85.346l0,341.31 C0,473.625, 38.406,512, 85.345,512l 341.31,0 \n\tC 473.594,512, 512,473.625, 512,426.655L 512,85.346 C 512,38.408, 473.594,0, 426.655,0z M 406.434,219.063\n\tc-16.979,95.648-111.854,176.648-140.39,195.155c-28.544,18.503-54.577-7.411-64.019-26.997\n\tc-10.808-22.354-43.205-143.47-51.684-153.51c-8.482-10.019-33.938,10.040-33.938,10.040l-12.346-16.188\n\tc0,0, 51.691-61.724, 91.020-69.439c 41.702-8.183, 41.64,64.033, 51.67,104.121c 9.7,38.782, 16.22,60.976, 24.688,60.976\n\tc 8.485,0, 24.691-21.631, 42.426-54.785c 17.768-33.188-0.769-62.505-35.486-41.646C 292.268,143.464, 423.406,123.43, 406.434,219.063z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vimeo, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,154.185l 20.797,27.272c0,0, 42.885-33.804, 57.18-16.901c 14.294,16.901, 68.868,220.978, 87.085,258.623\n\tc 15.9,33.015, 59.759,76.66, 107.857,45.491c 48.068-31.17, 207.92-167.643, 236.533-328.808\n\tc 28.59-161.113-192.36-127.363-215.765,13.005c 58.495-35.118, 89.718,14.269, 59.785,70.186\n\tc-29.879,55.862-57.18,92.296-71.476,92.296c-14.269,0-25.245-37.384-41.594-102.723c-16.899-67.551-16.796-189.23-87.058-175.435\n\tC 87.085,50.197,0,154.185,0,154.185z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"youtube, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,64L 96,64 c-52.8,0-96,43.2-96,96l0,192 c0,52.8, 43.2,96, 96,96l 320,0 c 52.8,0, 96-43.2, 96-96L 512,160 C 512,107.2, 468.8,64, 416,64z\n\t\t M 480,352c0,16.989-6.687,33.031-18.827,45.173C 449.031,409.313, 432.99,416, 416,416L 96,416 c-16.989,0-33.031-6.687-45.172-18.827\n\t\tC 38.687,385.031, 32,368.989, 32,352L 32,160 c0-16.989, 6.687-33.031, 18.828-45.172S 79.011,96, 96,96l 320,0 \n\t\tc 16.989,0, 33.031,6.687, 45.173,18.828C 473.314,126.969, 480,143.011, 480,160L 480,352 zM 192,384L 352,256L 192,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"youtube, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,64L 96,64 c-52.8,0-96,43.2-96,96l0,192 c0,52.8, 43.2,96, 96,96l 320,0 c 52.8,0, 96-43.2, 96-96L 512,160 C 512,107.2, 468.8,64, 416,64z\n\t M 192,384L 192,128 l 160,128L 192,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, rss, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,384\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 177.673,384, 160,384z M 248,384c0-66.168-53.832-120-120-120l0-48 \n\tc 92.636,0, 168,75.364, 168,168L 248,384 z M 344,384c0-57.695-22.468-111.938-63.265-152.735C 239.938,190.468, 185.696,168, 128,168l0-48 \n\tc 70.517,0, 136.813,27.461, 186.677,77.324C 364.539,247.187, 392,313.483, 392,384L 344,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, rss, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.67,0L 85.343,0 C 38.405,0,0,38.406,0,85.344l0,341.314 C0,473.625, 38.406,512, 85.344,512L 426.67,512 \n\tc 46.938,0, 85.33-38.374, 85.33-85.342L 512,85.344 C 512,38.406, 473.608,0, 426.67,0z M 139.472,415.624C 115.487,415.624, 96,396.278, 96,372.31\n\tc0-23.842, 19.486-43.406, 43.472-43.406c 24.079,0, 43.53,19.564, 43.53,43.406C 183.001,396.278, 163.55,415.624, 139.472,415.624z\n\t M 248.734,415.998c0-40.905-15.904-79.409-44.73-108.222c-28.857-28.875-67.188-44.813-107.952-44.813L 96.052,200.37 \n\tc 118.826,0, 215.563,96.721, 215.563,215.627L 248.734,415.998L 248.734,415.998z M 359.814,415.998\n\tc0-145.531-118.329-263.97-263.688-263.97L 96.126,89.404 c 180.001,0, 326.473,146.562, 326.473,326.596L 359.814,415.998L 359.814,415.998z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, rss, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 68.147,375.465c-37.598,0-68.146,30.667-68.146,68.038c0,37.577, 30.55,67.901, 68.146,67.901\n\t\tc 37.733,0, 68.247-30.324, 68.247-67.901C 136.393,406.132, 105.882,375.465, 68.147,375.465zM 0.078,173.965l0,98.129 c 63.892,0, 123.979,24.986, 169.229,70.256c 45.192,45.159, 70.141,105.518, 70.141,169.65l 98.561,0 \n\t\tC 338.008,325.59, 186.368,173.965, 0.078,173.965zM 0.194,0l0,98.178 c 227.891,0, 413.378,185.667, 413.378,413.822L 512,512 C 512,229.765, 282.373,0, 0.194,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"twitter, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 403.121,180.544\n\tc 0.146,3.254, 0.221,6.528, 0.221,9.819c0,100.311-76.354,215.982-215.979,215.982c-42.868,0-82.768-12.568-116.363-34.107\n\tc 5.938,0.704, 11.981,1.063, 18.108,1.063c 35.565,0, 68.295-12.138, 94.275-32.497c-33.217-0.61-61.25-22.561-70.912-52.716\n\tc 4.637,0.884, 9.392,1.361, 14.283,1.361c 6.923,0, 13.629-0.928, 19.999-2.662c-34.726-6.976-60.893-37.656-60.893-74.434\n\tc0-0.32,0-0.639, 0.008-0.955c 10.235,5.685, 21.939,9.1, 34.382,9.494c-20.37-13.611-33.77-36.846-33.77-63.184\n\tc0-13.911, 3.744-26.952, 10.278-38.162c 37.439,45.927, 93.374,76.146, 156.462,79.314c-1.294-5.559-1.965-11.351-1.965-17.302\n\tc0-41.92, 33.99-75.906, 75.909-75.906c 21.833,0, 41.562,9.218, 55.409,23.97c 17.29-3.404, 33.537-9.721, 48.206-18.42\n\tc-5.668,17.727-17.705,32.603-33.376,41.997c 15.355-1.834, 29.984-5.916, 43.597-11.952\n\tC 430.825,156.471, 417.955,169.84, 403.121,180.544z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"twitter, tweet, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 419.026,170.917\n\tc 0.164,3.671, 0.245,7.364, 0.245,11.074c0,113.107-84.608,243.534-239.329,243.534c-47.502,0-91.717-14.174-128.943-38.459\n\tc 6.58,0.794, 13.276,1.197, 20.065,1.197c 39.411,0, 75.679-13.685, 104.467-36.641c-36.808-0.69-67.872-25.438-78.577-59.441\n\tc 5.137,1, 10.406,1.537, 15.826,1.537c 7.672,0, 15.103-1.048, 22.16-3.004c-38.48-7.866-67.475-42.458-67.475-83.928\n\tc0-0.361,0-0.719, 0.008-1.076c 11.34,6.41, 24.312,10.26, 38.1,10.705c-22.571-15.349-37.421-41.546-37.421-71.244\n\tc0-15.685, 4.147-30.389, 11.389-43.029c 41.487,51.785, 103.468,85.86, 173.377,89.431c-1.435-6.266-2.179-12.798-2.179-19.507\n\tc0-47.269, 37.663-85.59, 84.115-85.59c 24.195,0, 46.059,10.393, 61.401,27.029c 19.16-3.838, 37.162-10.96, 53.416-20.771\n\tc-6.281,19.988-19.617,36.761-36.983,47.355c 17.013-2.069, 33.226-6.67, 48.31-13.477C 449.725,143.774, 435.463,158.85, 419.026,170.917\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"twitter, tweet, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,97.209c-18.838,8.354-39.082,14.001-60.33,16.54c 21.686-13, 38.343-33.585, 46.186-58.115\n\tc-20.298,12.039-42.778,20.78-66.705,25.49c-19.16-20.415-46.461-33.17-76.673-33.17c-58.011,0-105.044,47.029-105.044,105.039\n\tc0,8.233, 0.929,16.25, 2.72,23.939c-87.3-4.382-164.701-46.2-216.509-109.753c-9.042,15.514-14.223,33.558-14.223,52.809\n\tc0,36.444, 18.544,68.596, 46.73,87.433c-17.219-0.546-33.416-5.271-47.577-13.139c-0.010,0.438-0.010,0.878-0.010,1.321\n\tc0,50.894, 36.209,93.348, 84.261,103c-8.813,2.4-18.094,3.686-27.674,3.686c-6.769,0-13.349-0.66-19.764-1.886\n\tc 13.368,41.73, 52.16,72.103, 98.126,72.948c-35.95,28.175-81.243,44.967-130.458,44.967c-8.479,0-16.84-0.497-25.058-1.47\n\tc 46.486,29.805, 101.701,47.197, 161.021,47.197c 193.211,0, 298.868-160.062, 298.868-298.872c0-4.554-0.103-9.084-0.305-13.59\n\tC 480.11,136.773, 497.918,118.273, 512,97.209z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"instagram, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 427,0L 85,0 C 38.25,0,0,38.25,0,85l0,342 c0,46.75, 38.25,85, 85,85l 342,0 c 46.75,0, 85-38.25, 85-85L 512,85 C 512,38.25, 473.75,0, 427,0z\n\t M 163.9,224l 184.2,0 c 3.494,10.029, 5.4,20.795, 5.4,32c0,53.762-43.738,97.5-97.5,97.5c-53.762,0-97.5-43.738-97.5-97.5\n\tC 158.5,244.795, 160.406,234.029, 163.9,224z M 448,224.025L 448,352 l0,64 c0,17.6-14.4,32-32,32L 96,448 c-17.6,0-32-14.4-32-32l0-64 L 64,224.025 L 64,224 \n\tl 50.054,0 c-2.321,10.301-3.554,21.008-3.554,32c0,80.229, 65.271,145.5, 145.5,145.5c 80.229,0, 145.5-65.271, 145.5-145.5\n\tc0-10.992-1.232-21.699-3.554-32L 448,224 L 448,224.025 z M 448,112c0,8.8-7.2,16-16,16l-32,0 c-8.8,0-16-7.2-16-16L 384,80 c0-8.8, 7.2-16, 16-16l 32,0 \n\tc 8.8,0, 16,7.2, 16,16L 448,112 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 397.385,0 512,114.615 512,256 C 512,386.547 414.281,494.265 288,510.013 L 288,320 L 376,320 L 384,256 L 288,256 L 288,224 C 288,206.327 302.327,192 320,192 L 384,192 L 384,128 L 320,128 C 266.98,128 224,170.98 224,224 L 224,256 L 176,256 L 176,320 L 224,320 L 224,446.5 L 224,503.935 L 224,510.013 C 97.719,494.265 0,386.547 0,256 C 0,114.615 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 C 512,21.6, 490.4,0, 464,0z M 472,408L 352,408 \n\tl0,16 l 120,0 l0,16 L 352,440 l0,16 l 120,0 l0,16 L 352,472 l0,8 l-96,0 l0-8 L 40,472 l0-16 l 216,0 l0-16 L 40,440 l0-16 l 216,0 l0-16 L 40,408 l0-16 l 216,0 L 256,256 l-46.263,0 l0-73.282 L 256,182.718 l0-47.593 \n\tC 256,70.454, 283.896,32, 359.935,32l 87.622,0 l0,79.285 l-71.565,0 c-21.241-0.035-23.876,11.076-23.876,31.756L 352,182.718l 96,0 L 435.296,256\n\tL 352,256 l0,136 l 120,0 L 472,408 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.672,0L 85.342,0 C 38.406,0,0,38.407,0,85.344l0,341.313 C0,473.626, 38.406,512, 85.342,512l 341.33-0.001\n\tc 46.938,0, 85.328-38.373, 85.328-85.344L 512,85.344 C 512,38.407, 473.609,0, 426.672,0z M 435.296,256L 352,256 l0,224 l-96,0 L 256,256 l-46.263,0 l0-73.282 L 256,182.718 \n\tl0-47.593 C 256,70.454, 283.896,32, 359.935,32l 87.622,0 l0,79.285 l-71.565,0 c-21.241-0.035-23.876,11.076-23.876,31.756L 352,182.718l 96,0 \n\tL 435.296,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 287.935,512L 192,512 L 192,256 l-64,0 l0-88.225 l 64-0.029l-0.104-51.976C 191.896,43.794, 211.413,0, 296.195,0l 70.588,0 l0,88.242 l-44.115,0 \n\tc-33.016,0-34.603,12.328-34.603,35.342l-0.131,44.162l 79.345,0 l-9.352,88.225L 288,256L 287.935,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google-drive, drive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 229.665,329.916L 144.338,477.75L 426.665,477.75L 512,329.916 \tzM 487.806,288L 341.339,34.25L 170.665,34.25L 317.143,288 \tzM 146.418,76.257L0,329.916L 85.338,477.75L 231.754,224.088 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218.503,409.081 C 218.503,446.615 195.308,476.277 129.624,478.669 C 91.132,456.776 58.879,425.193 36.17,387.236 C 48.015,357.988 85.016,335.713 127.328,336.179 C 139.339,336.305 150.533,338.236 160.7,341.529 C 188.654,360.962 211.2,373.105 216.862,395.253 C 217.919,399.735 218.503,404.356 218.503,409.081 ZM 256,0C 182.030,0, 115.402,31.385, 68.667,81.549c 18.467-10.226, 40.269-16.319, 63.451-16.319c 33.534,0, 128.219,0, 128.219,0\n\t\tL 231.685,95.3L 198.030,95.3 c 23.748,13.606, 36.376,41.624, 36.376,72.506c0,28.346-15.708,51.19-37.89,68.529\n\t\tc-21.64,16.901-25.746,23.983-25.746,38.367c0,12.271, 25.861,30.549, 37.75,39.468c 41.409,31.056, 49.789,50.592, 49.789,89.435\n\t\tc0,39.363-34.468,78.552-92.933,91.871C 193.55,506.145, 224.089,512, 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z\n\t\t M 384,192l0,64 l-32,0 l0-64 l-64,0 l0-32 l 64,0 L 352,96 l 32,0 l0,64 l 64,0 l0,32 L 384,192 zM 182.884,169.736 C 188.845,215.124 168.961,244.331 134.417,243.303 C 99.854,242.262 67.014,210.557 61.047,165.182 C 55.083,119.788 78.256,85.055 112.812,86.084 C 147.357,87.121 176.922,124.355 182.884,169.736 ZM 110.443,321.034 C 73.103,321.034 41.379,333.918 19.022,352.966 C 6.771,323.056 0,290.321 0,256 C 0,227.617 4.628,200.316 13.156,174.802 C 16.843,224.523 51.832,262.898 109.641,262.898 C 113.898,262.898 118.023,262.677 122.078,262.387 C 118.103,270.002 115.267,278.482 115.267,287.378 C 115.267,302.363 123.511,310.913 133.701,320.825 C 126,320.825 118.566,321.034 110.443,321.034 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.403,434.832c-0.122-1.266-0.226-2.535-0.292-3.815C 0.176,432.297, 0.281,433.566, 0.403,434.832zM 117.954,282.574c 46.005,1.369, 76.867-46.349, 68.931-106.599c-7.947-60.24-51.698-108.584-97.704-109.961\n\t\tc-46.013-1.365-76.87,44.741-68.926,105C 28.196,231.248, 71.931,281.201, 117.954,282.574zM 512,128L 512,85.345 C 512,38.405, 473.609,0, 426.671,0L 85.343,0 C 39.205,0, 1.337,37.116, 0.061,82.963\n\t\tc 29.181-25.693, 69.662-47.158, 111.437-47.158c 44.652,0, 178.622,0, 178.622,0l-39.974,33.809l-56.634,0 \n\t\tc 37.565,14.402, 57.578,58.062, 57.578,102.861c0,37.624-20.905,69.977-50.444,92.984c-28.822,22.451-34.286,31.854-34.286,50.939\n\t\tc0,16.289, 30.873,44, 47.016,55.394c 47.191,33.269, 62.458,64.156, 62.458,115.728c0,8.214-1.021,16.415-3.033,24.48l 153.871,0 \n\t\tC 473.609,512, 512,473.625, 512,426.655L 512,160.001 l-96,0 L 416,256 l-32,0 l0-96 l-95.999,0 l0-32 L 384,128 L 384,32 l 32,0 l0,96 L 512,128 zM 92.943,382.968c 10.807,0, 20.711-0.295, 30.968-0.295c-13.573-13.167-24.313-29.3-24.313-49.19\n\t\tc0-11.804, 3.782-23.168, 9.067-33.26c-5.391,0.385-10.895,0.497-16.563,0.497c-37.178,0-68.753-12.038-92.102-31.927l0,33.621 \n\t\tl 0.003,100.865C 26.723,390.592, 58.447,382.968, 92.943,382.968zM 1.71,443.629c-0.556-2.729-0.983-5.503-1.271-8.317C 0.726,438.126, 1.154,440.9, 1.71,443.629zM 227.725,476.423c-7.529-29.403-34.227-43.982-71.444-69.784c-13.536-4.366-28.447-6.937-44.447-7.104\n\t\tc-44.809-0.482-86.554,17.471-110.108,44.186C 9.686,482.574, 44.243,512, 85.343,512l 143.222,0 c 0.908-5.564, 1.348-11.316, 1.348-17.216\n\t\tC 229.913,488.517, 229.146,482.388, 227.725,476.423z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.756,0L 84.621,0 C 37.571,0,0,38.893,0,85.939l0,340.176 C0,474.326, 37.571,512, 84.621,512l 342.134,0 \n\tC 473.803,512, 512,474.326, 512,426.115L 512,85.939 C 512,38.893, 473.803,0, 426.756,0z M 352,16l0,80 l-80,0 L 272,16 L 352,16 z M 240,16l0,80 l-80,0 L 160,16 L 240,16 z\n\t M 16,96L 16,85.939 C 16,47.375, 46.783,16, 84.621,16L 128,16 l0,80 L 16,96 z M 384,320l-96,0 l0,96 l-64,0 l0-96 l-96,0 l0-64 l 96,0 l0-96 l 64,0 l0,96 l 96,0 L 384,320 z M 496,96L 384,96 L 384,16 \n\tl 42.756,0 C 464.938,16, 496,47.375, 496,85.939L 496,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 279.533,32c0,0-100.478,0-133.97,0C 85.503,32, 28.978,77.503, 28.978,130.211c0,53.863, 40.941,97.333, 102.044,97.333\n\t\tc 4.249,0, 8.378-0.085, 12.421-0.376c-3.965,7.593-6.801,16.144-6.801,25.021c0,14.969, 8.052,27.105, 18.234,37.012\n\t\tc-7.693,0-15.121,0.224-23.226,0.224C 57.259,289.424,0,336.804,0,385.935c0,48.389, 62.771,78.657, 137.167,78.657\n\t\tc 84.812,0, 131.653-48.122, 131.653-96.514c0-38.8-11.448-62.036-46.843-87.067c-12.108-8.572-35.265-29.418-35.265-41.672\n\t\tc0-14.36, 4.098-21.434, 25.714-38.323c 22.156-17.312, 37.836-41.651, 37.836-69.958c0-33.703-15.010-66.549-43.186-77.386l 42.477,0 \n\t\tL 279.533,32z M 232.74,359.729c 1.063,4.486, 1.642,9.103, 1.642,13.814c0,39.1-25.196,69.655-97.487,69.655\n\t\tc-51.421,0-88.558-32.552-88.558-71.65c0-38.321, 46.063-70.222, 97.482-69.666c 12,0.127, 23.184,2.058, 33.335,5.345\n\t\tC 207.067,326.64, 227.092,337.608, 232.74,359.729z M 150.409,213.888c-34.519-1.032-67.318-38.613-73.276-83.93\n\t\tc-5.958-45.333, 17.185-80.021, 51.694-78.995c 34.505,1.037, 67.319,37.407, 73.279,82.729\n\t\tC 208.059,179.022, 184.911,214.921, 150.409,213.888zM 416,128L 416,32L 384,32L 384,128L 288,128L 288,160L 384,160L 384,256L 416,256L 416,160L 512,160L 512,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 394.767,32c0,0-100.478,0-133.97,0c-60.061,0-116.585,45.503-116.585,98.211c0,53.863, 40.941,97.333, 102.044,97.333\n\tc 4.249,0, 8.378-0.085, 12.42-0.376c-3.964,7.593-6.8,16.144-6.8,25.021c0,14.969, 8.052,27.105, 18.234,37.012\n\tc-7.693,0-15.121,0.224-23.226,0.224c-74.391-0.001-131.65,47.38-131.65,96.511c0,48.389, 62.771,78.656, 137.167,78.656\n\tc 84.812,0, 131.653-48.122, 131.653-96.514c0-38.801-11.448-62.036-46.843-87.067c-12.108-8.571-35.266-29.418-35.266-41.672\n\tc0-14.36, 4.098-21.434, 25.714-38.323c 22.156-17.312, 37.837-41.651, 37.837-69.958c0-33.703-15.011-66.549-43.187-77.386l 42.478,0 \n\tL 394.767,32z M 347.974,359.729c 1.063,4.486, 1.642,9.104, 1.642,13.814c0,39.1-25.195,69.655-97.487,69.655\n\tc-51.421,0-88.558-32.552-88.558-71.65c0-38.321, 46.063-70.222, 97.482-69.666c 12,0.127, 23.184,2.058, 33.334,5.345\n\tC 322.301,326.641, 342.325,337.607, 347.974,359.729z M 265.643,213.888c-34.519-1.032-67.318-38.613-73.276-83.93\n\tc-5.958-45.333, 17.185-80.021, 51.694-78.995C 278.565,52, 311.379,88.37, 317.34,133.692\n\tC 323.293,179.022, 300.145,214.921, 265.643,213.888z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 128,128l 256,0 \n\tc 4.569,0, 9.002,0.981, 13.072,2.831L 256,295.415L 114.928,130.83C 118.998,128.982, 123.431,128, 128,128z M 96,352L 96,160 \n\tc0-0.67, 0.028-1.336, 0.070-2l 93.832,109.471L 97.103,360.27C 96.381,357.602, 96,354.827, 96,352z M 384,384L 128,384 \n\tc-2.827,0-5.601-0.381-8.27-1.104l 91.059-91.059L 256,344.586l 45.212-52.747l 91.058,91.060C 389.6,383.619, 386.827,384, 384,384z\n\t M 416,352c0,2.827-0.381,5.6-1.103,8.27l-92.8-92.799L 415.93,158c 0.042,0.664, 0.070,1.33, 0.070,2L 416,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 91.314,443.313l-38.628-38.627l 128-128\n\tl 14.628,14.627L 91.314,443.313z M 76.686,99.314l 14.628-14.628L 256,217.373L 420.687,84.686l 14.627,14.628L 256,310.627L 76.686,99.314z\n\t M 420.687,443.313l-104-152l 14.627-14.627l 128,128L 420.687,443.313z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 426.671,64c 3.994,0, 7.773,1.167, 11.010,3.171\n\tL 256,217.373L 74.323,67.173C 77.562,65.168, 81.345,64, 85.343,64L 426.671,64 z M 85.343,448c-0.962,0-1.91-0.073-2.842-0.204\n\tl 112.813-156.483l-14.628-14.627L 64,393.371L 64,87.802 L 256,320L 448,87.803l0,305.568 L 331.314,276.686l-14.627,14.627l 112.814,156.484\n\tc-0.929,0.13-1.873,0.203-2.831,0.203L 85.343,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.655,0L 85.345,0 C 38.405,0,0,38.392,0,85.329l0,341.328 C0,473.595, 38.405,512, 85.345,512l 341.311,0 \n\tC 473.625,512, 512,473.595, 512,426.657L 512,85.329 C 512,38.392, 473.625,0, 426.655,0z M 128,128l 256,0 c 4.569,0, 9.002,0.981, 13.072,2.831\n\tL 256,295.415L 114.928,130.83C 118.998,128.982, 123.431,128, 128,128z M 96,352L 96,160 c0-0.67, 0.028-1.336, 0.070-2l 93.832,109.47\n\tL 97.103,360.27C 96.381,357.601, 96,354.827, 96,352z M 384,384L 128,384 c-2.827,0-5.601-0.381-8.27-1.103l 91.059-91.059L 256,344.586\n\tl 45.212-52.747l 91.058,91.059C 389.6,383.619, 386.827,384, 384,384z M 416,352c0,2.827-0.381,5.6-1.103,8.27l-92.799-92.799L 415.93,158\n\tc 0.042,0.664, 0.070,1.33, 0.070,2L 416,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"share, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256A64,64 12600 1 1 320,256A64,64 12600 1 1 192,256zM 256,128c 35.346,0, 67.346,14.327, 90.51,37.49l 45.255-45.255C 357.020,85.49, 309.020,64, 256,64\n\t\tc-83.596,0-154.7,53.431-181.060,128L0,192 l0,64 l 128,0 C 128,185.308, 185.308,128, 256,128zM 384,256c0,70.692-57.308,128-128,128c-35.346,0-67.346-14.327-90.51-37.49l-45.255,45.255\n\t\tC 154.981,426.51, 202.981,448, 256,448c 83.596,0, 154.7-53.431, 181.060-128L 512,320 l0-64 L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"share, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,352c-22.58,0-42.96,9.369-57.506,24.415L 158.992,268.664C 159.649,264.538, 160,260.311, 160,256\n\ts-0.351-8.538-1.008-12.663l 215.502-107.751C 389.040,150.631, 409.42,160, 432,160c 44.183,0, 80-35.817, 80-80S 476.183,0, 432,0\n\ts-80,35.817-80,80c0,4.311, 0.352,8.538, 1.008,12.663L 137.506,200.415C 122.96,185.37, 102.58,176, 80,176c-44.183,0-80,35.818-80,80\n\tc0,44.184, 35.817,80, 80,80c 22.58,0, 42.96-9.369, 57.506-24.414l 215.502,107.751C 352.352,423.462, 352,427.689, 352,432\n\tc0,44.184, 35.817,80, 80,80s 80-35.816, 80-80C 512,387.818, 476.183,352, 432,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 9, number, nine\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 8, number, eight\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64L 384,32L 352,0L 160,0L 128,32L 160,64 \tzM 384,48L 352,80L 352,208L 384,240L 416,208L 416,80 \tzM 160,208.001L 160,80L 128,48L 96,80L 96,208.001L 128,240.001 \tzM 352,304L 352,432L 384,464L 416,432L 416,304L 384,272 \tzM 160,432L 160,304L 128,272L 96,304L 96,432L 128,464 \tzM 128,256L 160,288L 352,288L 384,256L 352,224L 160,224 \tzM 160,448L 128,480L 160,512L 352,512L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 7, number\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 6, number, six\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,464L 96,432L 96,304L 128,272L 160,304L 160,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 5, number, five\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 4, number, four\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 3, number, three\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 2, number, two\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 128,464L 96,432L 96,304L 128,272L 160,304L 160,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 1, number, one\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,48L 352,80L 352,208L 384,240L 416,208L 416,80 \tzM 352,304L 352,432L 384,464L 416,432L 416,304L 384,272 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 0, number, zero\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64L 384,32L 352,0L 160,0L 128,32L 160,64 \tzM 384,48L 352,80L 352,208L 384,240L 416,208L 416,80 \tzM 160,208.001L 160,80L 128,48L 96,80L 96,208.001L 128,240.001 \tzM 352,304L 352,432L 384,464L 416,432L 416,304L 384,272 \tzM 160,432L 160,304L 128,272L 96,304L 96,432L 128,464 \tzM 160,448L 128,480L 160,512L 352,512L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"console, command line, terminal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 480,448L 32,448 L 32,64 l 448,0 L 480,448 zM 448,96L 64,96 l0,320 l 384,0 L 448,96 z M 224,256l-32,0 l0,32 l-32,0 l0,32 l-32,0 l0-32 l 32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0,32 l 32,0 l0,32 l 32,0 L 224,256 z M 352,320l-96,0 \n\t\tl0-32 l 96,0 L 352,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"code, embed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,256L 192,128L 128,128L0,256L 128,384L 192,384 \tzM 384,128L 320,128L 448,256L 320,384L 384,384L 512,256 \tzM 272,64L 192,448L 240,448L 320,64 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"embed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,128L 16,256l 128,128l 64,0 L 80,256l 128-128L 144,128 z M 368,128l-64,0 l 128,128L 304,384l 64,0 l 128-128L 368,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"popout, new window\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 176,64 c-26.4,0-48,21.6-48,48l0,48 L 48,160 c-26.4,0-48,21.6-48,48l0,192 c0,26.4, 21.6,48, 48,48l 288,0 c 26.4,0, 48-21.6, 48-48l0-48 l 80,0 \n\tc 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.401,64, 464,64z M 352,400c0,8.673-7.327,16-16,16L 48,416 c-8.673,0-16-7.327-16-16L 32,208 \n\tc0-8.673, 7.327-16, 16-16l 80,0 l0,112 c0,26.4, 21.6,48, 48,48l 176,0 L 352,400 z M 480,304c0,8.673-7.327,16-16,16L 176,320 c-8.673,0-16-7.327-16-16L 160,112 \n\tc0-8.673, 7.327-16, 16-16l 288,0 c 8.673,0, 16,7.327, 16,16L 480,304 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"new tab, external, outside, popout, link, blank\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,32l0,384 l 384,0 L 480,32 L 96,32 z M 448,384L 128,384 L 128,64 l 320,0 L 448,384 zM 64,448L 64,128L 32,96L 32,480L 416,480L 384,448 \tzM 214.627,342.627L 310.627,246.627L 384,320L 384,128L 192,128L 265.373,201.373L 169.373,297.373 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"new tab, external, outside, popout, link, blank\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,288 L 416,224 L 416,480 L 32,480 L 32,96 L 288,96 L 224,160 L 96,160 L 96,416 L 352,416 ZM 480,32 L 480,208 L 414.628,142.628 L 237.255,320 L 192,320 L 192,274.744 L 369.372,97.372 L 304,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"share, out, external, outside\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,320c0,0, 29.412-96, 192-96l0,96 l 192-128L 320,64l0,96 C 192,160, 128,239.836, 128,320zM 352,384L 64,384 L 64,192 l 62.938,0 c 5.047-5.959, 10.456-11.667, 16.244-17.090c 21.982-20.595, 48.281-36.326, 78.057-46.91L0,128 l0,320 l 416,0 \n\t\tL 416,313.688 l-64,42.667L 352,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-decrease, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,288L 512,288L 512,352L 192,352zM 192,160L 512,160L 512,224L 192,224zM0,416L 512,416L 512,480L0,480zM 128,160 L 128,352 L 0,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-increase, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,288L 512,288L 512,352L 192,352zM 192,160L 512,160L 512,224L 192,224zM0,416L 512,416L 512,480L0,480zM 0,352 L 0,160 L 128,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-justify, wysiwyg, justify\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,288L 512,288L 512,352L0,352zM0,160L 512,160L 512,224L0,224zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-right, align right, right, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,160L 512,160L 512,224L 192,224zM 192,416L 512,416L 512,480L 192,480zM0,288L 512,288L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-center, align center, center, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 96,160L 416,160L 416,224L 96,224zM 96,416L 416,416L 416,480L 96,480zM0,288L 512,288L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-left, align left, left, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,160L 320,160L 320,224L0,224zM0,416L 320,416L 320,480L0,480zM0,288L 512,288L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-decrease, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,128L 512,128L 512,192L 192,192zM 192,224L 512,224L 512,288L 192,288zM 192,320L 512,320L 512,384L 192,384zM0,416L 512,416L 512,480L0,480zM 128,160 L 128,352 L 0,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-increase, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,128L 512,128L 512,192L 192,192zM 192,224L 512,224L 512,288L 192,288zM 192,320L 512,320L 512,384L 192,384zM0,416L 512,416L 512,480L0,480zM 0,352 L 0,160 L 128,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-justify, wysiwyg, justify\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,128L 512,128L 512,192L0,192zM0,224L 512,224L 512,288L0,288zM0,320L 512,320L 512,384L0,384zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-right, align right, right, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,128L 512,128L 512,192L 192,192zM 192,320L 512,320L 512,384L 192,384zM0,224L 512,224L 512,288L0,288zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-center, align center, center, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 96,128L 416,128L 416,192L 96,192zM 96,320L 416,320L 416,384L 96,384zM0,224L 512,224L 512,288L0,288zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-left, align left, left, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,128L 320,128L 320,192L0,192zM0,320L 320,320L 320,384L0,384zM0,224L 512,224L 512,288L0,288zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-justify, wysiwyg, justify\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,160L 512,160L 512,192L0,192zM0,288L 512,288L 512,320L0,320zM0,416L 512,416L 512,448L0,448zM0,96L 512,96L 512,128L0,128zM0,224L 512,224L 512,256L0,256zM0,352L 512,352L 512,384L0,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-right, align right, right, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 512,96L 512,128L0,128zM 160,160L 512,160L 512,192L 160,192zM0,224L 512,224L 512,256L0,256zM 160,288L 512,288L 512,320L 160,320zM0,352L 512,352L 512,384L0,384zM 160,416L 512,416L 512,448L 160,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-center, align center, center, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 512,96L 512,128L0,128zM 96,160L 416,160L 416,192L 96,192zM 96,288L 416,288L 416,320L 96,320zM 96,416L 416,416L 416,448L 96,448zM0,224L 512,224L 512,256L0,256zM0,352L 512,352L 512,384L0,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-left, align left, left, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 512,96L 512,128L0,128zM0,160L 352,160L 352,192L0,192zM0,224L 512,224L 512,256L0,256zM0,288L 352,288L 352,320L0,320zM0,352L 512,352L 512,384L0,384zM0,416L 352,416L 352,448L0,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"right to left, rtl, wysiwyg, direction\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,0C 57.308,0,0,57.308,0,128s 57.308,128, 128,128l0,256 l 64,0 L 192,64 l 64,0 l0,448 l 64,0 L 320,64 l 64,0 L 384,0 L 128,0 zM 512,96L 384,224L 512,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"left to right, ltr, wysiwyg, direction\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0c-70.692,0-128,57.308-128,128s 57.308,128, 128,128l0,256 l 64,0 L 320,64 l 64,0 l0,448 l 64,0 L 448,64 l 64,0 L 512,0 L 256,0 zM0,352L 128,224L0,96 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pilcrow, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0 L 448,0 L 448,64 L 384,64 L 384,512 L 320,512 L 320,64 L 256,64 L 256,512 L 192,512 L 192,256 C 121.308,256 64,198.692 64,128 C 64,57.308 121.308,0 192,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"insert-template, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96L 256,96L 256,128L 192,128zM 288,96L 352,96L 352,128L 288,128zM 448,96 L 448,224 L 352,224 L 352,192 L 416,192 L 416,128 L 384,128 L 384,96 ZM 160,192L 224,192L 224,224L 160,224zM 256,192L 320,192L 320,224L 256,224zM 96,128 L 96,192 L 128,192 L 128,224 L 64,224 L 64,96 L 160,96 L 160,128 ZM 192,288L 256,288L 256,320L 192,320zM 288,288L 352,288L 352,320L 288,320zM 448,288 L 448,416 L 352,416 L 352,384 L 416,384 L 416,320 L 384,320 L 384,288 ZM 160,384L 224,384L 224,416L 160,416zM 256,384L 320,384L 320,416L 256,416zM 96,320 L 96,384 L 128,384 L 128,416 L 64,416 L 64,288 L 160,288 L 160,320 ZM 480,32 L 32,32 L 32,480 L 480,480 L 480,32 Z M 512,0 L 512,0 L 512,512 L 0,512 L 0,0 L 512,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"table, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 192,320l0-96 l 128,0 l0,96 L 192,320 z M 320,352l0,96 L 192,448 l0-96 L 320,352 z M 320,96l0,96 L 192,192 L 192,96 L 320,96 z M 160,96l0,96 L 32,192 L 32,96 L 160,96 z\n\t M 32,224l 128,0 l0,96 L 32,320 L 32,224 z M 352,224l 128,0 l0,96 L 352,320 L 352,224 z M 352,192L 352,96 l 128,0 l0,96 L 352,192 z M 32,352l 128,0 l0,96 L 32,448 L 32,352 z M 352,448l0-96 l 128,0 l0,96 L 352,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"table, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,352 l 512,0 L 512,96 L0,96 z M 192,320l0-64 l 128,0 l0,64 L 192,320 z M 320,352l0,64 L 192,416 l0-64 L 320,352 z M 320,160l0,64 L 192,224 l0-64 L 320,160 z M 160,160l0,64 L 32,224 l0-64 L 160,160 z\n\t M 32,256l 128,0 l0,64 L 32,320 L 32,256 z M 352,256l 128,0 l0,64 L 352,320 L 352,256 z M 352,224l0-64 l 128,0 l0,64 L 352,224 z M 32,352l 128,0 l0,64 L 32,416 L 32,352 z M 352,416l0-64 l 128,0 l0,64 L 352,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clear-formatting, remove style, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,448L 288,448L 288,512L0,512zM 448,64 L 296.72,64 L 204.838,416 L 138.694,416 L 230.575,64 L 96,64 L 96,0 L 448,0 ZM 464.887,512 L 400,447.113 L 335.113,512 L 304,480.887 L 368.887,416 L 304,351.113 L 335.113,320 L 400,384.887 L 464.887,320 L 496,351.113 L 431.113,416 L 496,480.887 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pagebreak, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,192 L 128,0 L 512,0 L 512,192 L 480,192 L 480,32 L 160,32 L 160,192 ZM 512,288 L 512,512 L 128,512 L 128,288 L 160,288 L 160,480 L 480,480 L 480,288 ZM 256,224L 320,224L 320,256L 256,256zM 160,224L 224,224L 224,256L 160,256zM 352,224L 416,224L 416,256L 352,256zM 448,224L 512,224L 512,256L 448,256zM0,144L 96,240L0,336 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"highlight, background-color, wysiwyg, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,48.084L 455.917,152l 0.083-0.083L 352,32.084L 471.917,136l 0.042-0.042L 496,160L 327.82,328.18\n\t\t\tc-14.806,14.806-37.578,17.083-54.84,6.84L 296,311.917L 192,192.084l 0.79,0.685L 311.917,296l 0.083-0.083L 208,176.084L 327.917,280\n\t\t\tl 0.083-0.083L 224,160.084L 343.917,264l 0.083-0.083L 240,144.084L 359.917,248l 0.083-0.083L 256,128.084L 375.917,232l 0.083-0.083\n\t\t\tL 272,112.084L 391.917,216l 0.083-0.083L 288,96.084L 407.917,200l 0.083-0.083L 304,80.084L 423.917,184l 0.083-0.083L 320,64.084\n\t\t\tL 439.917,168l 0.083-0.083L 336,48.084zM 360.042,24.042L 352,32.084l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-15.947,15.947\n\t\t\tl-31.071,30.987c-4.189-7.058-6.287-15.037-6.287-23.019c0-11.534, 4.375-23.069, 13.125-31.819L 336,0L 360.042,24.042zM 160.981,223.019 L 272.981,335.019 L 192,416 L 0,416 L 0,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"text-color, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 161.009,416l 28.8-96l 132.382,0 l 28.8,96l 56.816,0 L 311.809,96L 200.191,96 l-96,320L 161.009,416 z M 237.809,160l 36.382,0 l 28.8,96l-93.982,0 \n\tL 237.809,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"subscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 97.009,416l 28.8-96l 132.382,0 l 28.8,96l 56.817,0 l-96-320L 136.191,96 l-96,320L 97.009,416 z M 173.809,160l 36.382,0 l 28.8,96l-93.982,0 \n\tL 173.809,160zM 422,416 C 453.9,416 480,437.6 480,464 C 480,490.4 453.9,512 422,512 L 410,512 C 384.872,512 363.354,498.594 355.345,480 L 422,480 C 436.643,480 448,471.398 448,464 C 448,456.602 436.643,448 422,448 L 410,448 C 378.1,448 352,426.4 352,400 C 352,373.6 378.1,352 410,352 L 422,352 C 447.128,352 468.646,365.406 476.655,384 L 410,384 C 395.357,384 384,392.602 384,400 C 384,407.398 395.357,416 410,416 L 422,416 ZM 512,96L 432,224L 352,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"superscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 97.009,416l 28.8-96l 132.382,0 l 28.8,96l 56.817,0 l-96-320L 136.191,96 l-96,320L 97.009,416 z M 173.809,160l 36.382,0 l 28.8,96l-93.982,0 \n\tL 173.809,160zM 422,64 C 453.9,64 480,85.6 480,112 C 480,138.4 453.9,160 422,160 L 410,160 C 384.872,160 363.354,146.594 355.345,128 L 422,128 C 436.643,128 448,119.399 448,112 C 448,104.601 436.643,96 422,96 L 410,96 C 378.1,96 352,74.4 352,48 C 352,21.6 378.1,0 410,0 L 422,0 C 447.128,0 468.646,13.406 476.655,32 L 410,32 C 395.357,32 384,40.601 384,48 C 384,55.399 395.357,64 410,64 L 422,64 ZM 352,416L 432,288L 512,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"subscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,455 L 384,480 L 448,480 L 448,512 L 352,512 L 352,439 L 416,409 L 416,384 L 352,384 L 352,352 L 448,352 L 448,425 ZM 338,128L 270,128L 176,222L 82,128L 14,128L 142,256L 14,384L 82,384L 176,290L 270,384L 338,384L 210,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"superscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,103 L 384,128 L 448,128 L 448,160 L 352,160 L 352,87 L 416,57 L 416,32 L 352,32 L 352,0 L 448,0 L 448,73 ZM 338,128L 270,128L 176,222L 82,128L 14,128L 142,256L 14,384L 82,384L 176,290L 270,384L 338,384L 210,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"page-break, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 64,256L 64,288L0,288zM 96,256L 192,256L 192,288L 96,288zM 224,256L 288,256L 288,288L 224,288zM 320,256L 416,256L 416,288L 320,288zM 448,256L 512,256L 512,288L 448,288zM 440,0 L 448,224 L 64,224 L 72,0 L 88,0 L 96,192 L 416,192 L 424,0 ZM 72,512 L 64,320 L 448,320 L 440,512 L 424,512 L 416,352 L 96,352 L 88,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"page-break, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 64,256L 64,288L0,288zM 96,256L 192,256L 192,288L 96,288zM 224,256L 288,256L 288,288L 224,288zM 320,256L 416,256L 416,288L 320,288zM 448,256L 512,256L 512,288L 448,288zM 440,0 L 448,224 L 64,224 L 72,0 L 120,0 L 128,192 L 384,192 L 392,0 ZM 72,512 L 64,320 L 448,320 L 440,512 L 392,512 L 384,384 L 128,384 L 120,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"nbsp, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288 L 128,288 L 128,224 L 224,224 L 224,128 L 288,128 L 288,224 L 384,224 L 384,288 L 288,288 L 288,384 L 224,384 ZM 512,320 L 512,512 L 0,512 L 0,320 L 64,320 L 64,448 L 448,448 L 448,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sigma, symbols, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 470.803,367.354 L 493,320 L 512,320 L 480,512 L 0,512 L 0,474.879 L 165.773,279.273 L 0,113.5 L 0,0 L 490,0 L 512,128 L 494.812,128 L 485.452,108.559 L 485.452,108.56 C 467.793,71.878 454.5,64 416,64 L 85,64 L 261.528,240.528 L 112.818,416 L 384,416 C 442.004,416 457.324,395.211 470.803,367.354 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"omega, symbols, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,448 L 480,448 L 512,384 L 512,512 L 320,512 L 320,404.893 C 385.556,376.651 432,306.312 432,224 C 432,116.784 353.201,32.867 256,32.867 C 158.797,32.867 80,116.783 80,224 C 80,306.312 126.443,376.651 192,404.893 L 192,512 L 0,512 L 0,384 L 32,448 L 160,448 L 160,431.705 C 66.185,398.475 0,318.004 0,224 C 0,100.288 114.615,0 256,0 C 397.385,0 512,100.288 512,224 C 512,318.004 445.815,398.475 352,431.705 L 352,448 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"strikethrough, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256 L 512,288 L 394.747,288 C 408.499,307.255 416,329.346 416,352 C 416,387.439 397.67,421.513 365.71,445.482 C 336.031,467.741 297.068,480 256,480 C 214.931,480 175.969,467.741 146.29,445.482 C 114.33,421.513 96,387.439 96,352 L 160,352 C 160,386.691 203.963,416 256,416 C 308.037,416 352,386.691 352,352 C 352,317.309 308.037,288 256,288 L 0,288 L 0,256 L 149.759,256 C 148.59,255.173 147.431,254.338 146.29,253.482 C 114.33,229.512 96,195.439 96,160 C 96,124.561 114.33,90.488 146.29,66.518 C 175.969,44.259 214.931,32 256,32 C 297.068,32 336.031,44.259 365.71,66.518 C 397.67,90.488 416,124.561 416,160 L 352,160 C 352,125.309 308.037,96 256,96 C 203.963,96 160,125.309 160,160 C 160,194.691 203.963,224 256,224 C 295.489,224 333.027,235.339 362.241,256 L 512,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"italic, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,32 L 448,64 L 384,64 L 224,448 L 288,448 L 288,480 L 64,480 L 64,448 L 128,448 L 288,64 L 224,64 L 224,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"underline, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,32 L 416,32 L 416,240 C 416,319.529 344.366,384 256,384 C 167.635,384 96,319.529 96,240 L 96,32 L 160,32 L 160,240 C 160,260.083 169.119,279.352 185.677,294.253 C 204.125,310.855 229.1,320 256,320 C 282.9,320 307.875,310.855 326.323,294.253 C 342.881,279.352 352,260.083 352,240 L 352,32 ZM 96,416L 416,416L 416,480L 96,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bold, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 353.94,242.326C 372.689,220.055, 384,191.322, 384,160c0-70.58-57.421-128-128-128l-64,0 l-64,0 L 96,32 l0,448 l 32,0 l 64,0 l 96,0 \n\tc 70.579,0, 128-57.421, 128-128C 416,305.522, 391.101,264.752, 353.94,242.326z M 192,96l 50.75,0 c 27.984,0, 50.75,28.71, 50.75,64\n\ts-22.766,64-50.75,64L 192,224 L 192,96 z M 271.5,416L 192,416 L 192,288 l 79.5,0 c 29.225,0, 53,28.71, 53,64S 300.725,416, 271.5,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"font-size, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,256 L 224,256 L 224,320 L 160,320 L 160,512 L 96,512 L 96,320 L 32,320 ZM 480,128 L 354.125,128 L 354.125,512 L 285.875,512 L 285.875,128 L 160,128 L 160,64 L 480,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"strikethrough, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 32,160L 96,64L 224,64L 224,224L 288,224L 288,64L 416,64L 480,160L 480,0 \tzM 288,480L 288,320L 224,320L 224,480L 160,480L 128,512L 256,512L 384,512L 352,480 \tzM0,256L 512,256L 512,288L0,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"strikethrough, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,256 L 480,288 L 389.043,288 C 406.067,310.881 416,338.395 416,368 C 416,447.529 344.365,512 256,512 C 173.644,512 105.833,455.998 96.988,384 L 161.98,384 C 165.483,398.155 173.585,411.37 185.677,422.253 C 204.125,438.856 229.1,448 256,448 C 282.9,448 307.875,438.856 326.323,422.253 C 342.881,407.351 352,388.083 352,368 C 352,347.917 342.881,328.649 326.323,313.747 C 307.875,297.144 282.9,288 256,288 L 32,288 L 32,256 L 155.443,256 L 356.557,256 L 480,256 ZM 256,224 L 122.957,224 C 105.933,201.119 96,173.605 96,144 C 96,64.471 167.634,0 256,0 C 338.355,0 406.167,56.002 415.011,128 L 350.020,128 C 346.516,113.845 338.414,100.63 326.323,89.748 C 307.875,73.144 282.9,64 256,64 C 229.1,64 204.125,73.144 185.677,89.748 C 169.119,104.649 160,123.917 160,144 C 160,164.083 169.119,183.351 185.677,198.252 C 204.125,214.856 229.1,224 256,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"italic, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0 L 448,32 L 382.72,32 L 214.72,480 L 288,480 L 288,512 L 64,512 L 64,480 L 129.28,480 L 297.28,32 L 224,32 L 224,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"underline, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,448L 448,448L 448,512L 64,512zM 352,0 L 448,0 L 448,32 L 416,32 L 416,256 C 416,344.365 344.365,416 256,416 C 167.634,416 96,344.365 96,256 L 96,32 L 64,32 L 64,0 L 192,0 L 192,32 L 160,32 L 160,256 C 160,308.935 210.243,356 272,356 C 333.757,356 384,308.935 384,256 L 384,32 L 352,32 L 352,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bold, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320.771,238.502l0-4.307 c 58.147-10.768, 126.522-40.379, 126.522-116.83c0-38.76-18.309-71.062-47.919-89.908\n\tC 368.689,7.538, 328.848,0, 267.473,0L 32.2,0 l0,27.995 c 56.53,5.383, 64.606,10.229, 64.606,77.528l0,300.417 \n\tc0,65.894-7.625,71.844-64.807,77.559L 31.999,512 l 200.479,0 c 67.297,0, 128.134-11.846, 168.513-33.919\n\tc 46.303-24.224, 75.37-65.681, 75.37-117.369C 476.362,285.342, 414.987,248.732, 320.771,238.502z M 192.001,76.988\n\tc0-16.151, 1.615-27.459, 7-33.379c 4.846-4.306, 18.846-10.229, 36.609-10.229c 44.15,0, 87.221,26.918, 87.221,98.522\n\tc0,64.068-35.535,93.678-113.062,93.678l-17.769-0.001L 192,76.988 z M 252.304,478.082C 208.153,479.158, 192,462.467, 192,403.785l 0.001,0 \n\tL 192.001,257.883 l 15.613,0 c 93.144,0, 140.518,37.688, 140.518,111.446C 348.132,445.241, 296.99,477.543, 252.304,478.082z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"width\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,448 L 128,512 L 32,432 L 128,352 L 128,416 L 384,416 L 384,352 L 480,432 L 384,512 L 384,448 ZM 416,96 L 96,96 L 96,256 L 416,256 L 416,96 Z M 480,32 L 480,32 L 480,320 L 32,320 L 32,32 L 480,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"height\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384 L 512,384 L 432,480 L 352,384 L 416,384 L 416,128 L 352,128 L 432,32 L 512,128 L 448,128 ZM 256,96 L 64,96 L 64,416 L 256,416 L 256,96 Z M 320,32 L 320,32 L 320,480 L 0,480 L 0,32 L 320,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"text-width, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,448 L 128,512 L 32,432 L 128,352 L 128,416 L 384,416 L 384,352 L 480,432 L 384,512 L 384,448 ZM 416,32 L 416,160 L 384,96 L 288,96 L 288,320 L 352,320 L 352,352 L 160,352 L 160,320 L 224,320 L 224,96 L 128,96 L 96,160 L 96,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"text-height, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384 L 512,384 L 432,480 L 352,384 L 416,384 L 416,128 L 352,128 L 432,32 L 512,128 L 448,128 ZM 320,32 L 320,160 L 288,96 L 192,96 L 192,448 L 256,448 L 256,480 L 64,480 L 64,448 L 128,448 L 128,96 L 32,96 L 0,160 L 0,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"type, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 32,160L 96,64L 224,64L 224,480L 160,480L 128,512L 256,512L 384,512L 352,480L 288,480L 288,64L 416,64L 480,160L 480,0 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"font-size, size, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,0L 64,160L 128,64L 256,64L 256,480L 192,480L 192,512L 288,512L 384,512L 384,480L 320,480L 320,64L 448,64L 512,160L 512,0 \n\t\t\tzM 128,288L 192,288L 224,336L 224,256L0,256L0,336L 32,288L 96,288L 96,480L 64,480L 64,512L 112,512L 160,512L 160,480L 128,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"font, font family, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 399.798,8.104C 354.535,8.104, 325.488,0, 278.874,0C 128.232,0, 57.978,85.792, 57.978,172.936\n\tc0,51.339, 24.32,68.229, 72.282,68.229c-3.379-7.432-9.457-15.54-9.457-52.017c0-102.005, 38.503-131.729, 87.818-133.755\n\tc0,0-40.459,396.687-157.889,444.271L 50.732,512 l 84.359,0 l 73.938,0 l 54.013-256l 98.922,0 L 384,192L 276.546,192 l 25.972-123.095\n\tc 29.723,6.078, 58.771,12.158, 83.766,12.158c 31.074,0, 59.447-9.457, 74.984-81.063C 442.355,6.080, 422.087,8.104, 399.798,8.104z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 434.745,96L 297.373,233.373L 288,242.745L 288,256 l0,135.016 l-64,16L 224,256 l0-13.255 l-9.373-9.373L 77.255,96L 434.745,96 M 512,64L0,64 \n\t\tl 192,192l0,192 l 128-32L 320,256 L 512,64L 512,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64L 192,256L 192,448L 320,416L 320,256L 512,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,112C 512,50.144, 397.385,0, 256,0S0,50.144,0,112c0,19.688, 11.626,38.185, 32.016,54.261L 32,166.261 l 160,146.242L 192,480 \n\tc0,17.673, 28.654,32, 64,32c 35.348,0, 64-14.327, 64-32L 320,312.503 l 160-146.242l-0.016,0 C 500.374,150.185, 512,131.688, 512,112z\n\t M 460.172,142.132L 288,298.398l0,175.105 c-5.088,2.806-16.152,6.494-32,6.494c-15.848,0-26.912-3.688-32-6.494L 224,298.398 L 51.828,142.132\n\tC 44.423,136.293, 32,123.745, 32,112c0-6.534, 3.743-13.718, 11.124-21.354c 9.839-10.177, 25.29-20.041, 44.683-28.525\n\tc 21.27-9.305, 46.291-17.658, 74.369-22.854C 191.821,33.782, 223.388,30, 256,30c 32.611,0, 64.179,3.782, 93.824,9.267\n\tc 28.078,5.196, 53.1,13.549, 74.369,22.854c 19.393,8.484, 34.844,18.348, 44.683,28.525C 476.257,98.282, 480,105.466, 480,112\n\tC 480,123.745, 467.577,136.293, 460.172,142.132zM 96,116.25A160,43.75 2520 1 1 416,116.25A160,43.75 2520 1 1 96,116.25z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,35.817,0,80l0,48 l 192,192l0,160 c0,17.673, 28.653,32, 64,32c 35.346,0, 64-14.327, 64-32L 320,320 l 192-192L 512,80 \n\tC 512,35.817, 397.385,0, 256,0z M 47.192,69.412c 11.972-6.829, 28.791-13.31, 48.639-18.744C 139.803,38.63, 196.685,32, 256,32\n\tc 59.314,0, 116.197,6.63, 160.169,18.668c 19.848,5.434, 36.667,11.915, 48.64,18.744c 7.896,4.503, 12.162,8.312, 14.148,10.588\n\tc-1.986,2.276-6.253,6.084-14.148,10.588c-11.973,6.829-28.792,13.31-48.64,18.744C 372.198,121.37, 315.315,128, 256,128\n\tc-59.315,0-116.197-6.63-160.169-18.668c-19.848-5.434-36.667-11.915-48.639-18.744C 39.296,86.084, 35.030,82.276, 33.043,80\n\tC 35.030,77.724, 39.296,73.916, 47.192,69.412z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scissors, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.387,354.577c-22.827-22.778-51.864-34.536-78.973-34.536l-14.556,0 l-31.952-32.004l 127.81-128.019\n\tc 31.952-32.005, 31.952-96.014,0-128.019L 256.001,224.027L 64.285,32c-31.952,32.004-31.952,96.014,0,128.019l 127.811,128.017\n\tl-31.953,32.004l-14.557,0 c-27.11,0-56.146,11.759-78.974,34.538c-40.811,40.721-46.325,101.242-12.315,135.175\n\tC 69.282,504.704, 89.441,512, 110.795,512c 27.108,0, 56.145-11.757, 78.973-34.536c 26.792-26.732, 38.371-62, 33.542-92.674l 32.692-32.744\n\tl 32.688,32.744c-4.828,30.674, 6.753,65.941, 33.542,92.674C 345.063,500.243, 374.098,512, 401.206,512\n\tc 21.354,0, 41.512-7.296, 56.497-22.248C 491.713,455.819, 486.197,395.298, 445.387,354.577z M 176.512,422.769\n\tc-3.849,8.941-9.505,17.173-16.813,24.463c-7.318,7.302-15.586,12.959-24.574,16.812c-8.066,3.458-16.48,5.284-24.331,5.284\n\tc-7.573,0-18.306-1.701-26.431-9.806c-8.068-8.052-9.76-18.659-9.76-26.144c0-7.771, 1.821-16.105, 5.263-24.106\n\tc 3.85-8.942, 9.507-17.173, 16.813-24.463c 7.317-7.303, 15.586-12.957, 24.575-16.812c 8.067-3.457, 16.48-5.284, 24.332-5.284\n\tc 7.573,0, 18.306,1.7, 26.429,9.807c 8.067,8.049, 9.761,18.658, 9.761,26.142C 181.777,406.433, 179.957,414.77, 176.512,422.769z\n\t M 256.002,333.298c-24.957,0-45.188-20.266-45.188-45.263c0-24.996, 20.231-45.26, 45.188-45.26s 45.186,20.264, 45.186,45.26\n\tC 301.188,313.034, 280.958,333.298, 256.002,333.298z M 427.636,459.521c-8.124,8.104-18.856,9.806-26.43,9.806\n\tc-7.852,0-16.265-1.826-24.333-5.284c-8.986-3.853-17.254-9.51-24.571-16.812c-7.307-7.29-12.963-15.521-16.813-24.463\n\tc-3.443-7.999-5.263-16.336-5.263-24.106c0-7.483, 1.692-18.094, 9.76-26.143c 8.123-8.104, 18.856-9.807, 26.43-9.807\n\tc 7.85,0, 16.265,1.827, 24.33,5.284c 8.989,3.854, 17.258,9.509, 24.575,16.812c 7.305,7.29, 12.962,15.521, 16.813,24.463\n\tc 3.442,7.999, 5.263,16.335, 5.263,24.106C 437.396,440.862, 435.702,451.47, 427.636,459.521z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scissors, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 148.95,0l-8.601,16.636c-2.967,5.739-3.436,15.441, 3.916,44.132c 4.646,18.127, 12.079,42.257, 22.094,71.721\n\t\tc 12.645,37.202, 27.779,78.103, 41.266,113.162l 30.575-62.683L 148.95,0zM 445.758,435.696l-1.535-17.522l-1.179,0.564c-6.377-24.955-23.095-49.090-48.090-69.052\n\t\tc-25.345-20.24-55.312-32.814-78.206-32.814c-4.53,0-8.712,0.494-12.518,1.472l-15.711-32.209\n\t\tc 16.149-40.417, 39.153-100.779, 57.123-153.646c 10.014-29.463, 17.447-53.594, 22.093-71.72c 7.353-28.691, 6.882-38.393, 3.915-44.132\n\t\tl-8.602-16.635L 256.002,219.465l0-0.001l-32.52,66.671l0,0l-15.711,32.209c-3.806-0.978-7.989-1.472-12.519-1.472\n\t\tc-22.894,0-52.86,12.574-78.204,32.812C 87.812,373.032, 69.9,402.086, 66.614,431.49l-0.372,4.206\n\t\tc-2.601,36.446, 13.639,66.34, 40.411,74.386c 4.235,1.272, 9.070,1.918, 14.373,1.918c 27.206,0, 61.183-16.609, 75.808-53.703\n\t\tc 2.033-4.838, 4.27-10.708, 6.856-17.499c 8.286-21.751, 20.809-54.623, 33.895-68.239c 4.789-4.981, 8.493-8.596, 11.468-11.5\n\t\tc 2.675-2.61, 4.923-4.804, 6.948-7.022c 2.025,2.218, 4.273,4.411, 6.946,7.019c 2.978,2.905, 6.683,6.52, 11.473,11.504\n\t\tc 13.086,13.614, 25.606,46.481, 33.892,68.23c 2.588,6.795, 4.825,12.669, 6.859,17.509c 14.623,37.094, 48.601,53.701, 75.809,53.702\n\t\tc 0.001,0, 0.002,0, 0.002,0c 5.302,0, 10.138-0.646, 14.373-1.918C 432.123,502.034, 448.36,472.142, 445.758,435.696z M 165.027,440.949\n\t\tc-18.821,34.352-35.635,39.49-43.991,39.49c-11.377,0-19.895-9.239-21.556-18.169c-1.095-5.884-1.293-11.923-0.589-17.953\n\t\tc 2.818-24.164, 19.215-44.907, 32.475-58.052c 18.219-18.064, 38.649-30.061, 51.764-35.301c 1.308-0.457, 2.109-0.525, 2.476-0.525\n\t\tc 0.194,0, 0.3,0.018, 0.32,0.018c 0.003,0, 0.004,0, 0.004-0.001C 189.791,353.005, 194.339,382.012, 165.027,440.949z M 412.795,462.271\n\t\tc-1.674,8.931-10.244,18.169-21.691,18.169c-8.408,0-25.327-5.139-44.263-39.491c-29.499-58.958-24.904-87.982-21.062-90.478\n\t\tc 0.001,0, 0.101-0.031, 0.355-0.031c 0.368,0, 1.176,0.069, 2.489,0.526c 13.196,5.238, 33.751,17.234, 52.085,35.3\n\t\tc 13.34,13.146, 29.841,33.888, 32.678,58.044C 414.091,450.356, 413.892,456.399, 412.795,462.271z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scissors, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 390.979,512c-27.208-0.001-61.186-16.608-75.809-53.702c-2.034-4.84-4.271-10.714-6.859-17.509\n\tc-8.285-21.749-20.806-54.616-33.892-68.23c-4.79-4.984-8.495-8.599-11.473-11.504c-2.673-2.607-4.921-4.801-6.946-7.019\n\tc-2.025,2.219-4.273,4.412-6.948,7.022c-2.976,2.904-6.68,6.519-11.468,11.5c-13.086,13.616-25.608,46.488-33.895,68.239\n\tc-2.586,6.791-4.823,12.661-6.856,17.499C 182.208,495.391, 148.231,512, 121.025,512c-5.303,0-10.138-0.646-14.373-1.918\n\tc-26.772-8.046-43.012-37.939-40.411-74.386l 0.372-4.206c 3.287-29.404, 21.199-58.458, 50.435-81.806\n\tc 25.344-20.238, 55.31-32.812, 78.204-32.812c 4.53,0, 8.712,0.494, 12.519,1.472l 15.711-32.209\n\tc-16.148-40.414-39.152-100.774-57.123-153.646c-10.015-29.463-17.448-53.594-22.094-71.721\n\tc-7.352-28.691-6.883-38.393-3.916-44.132L 148.95,0l 107.053,219.465L 363.049,0.001l 8.602,16.635\n\tc 2.967,5.739, 3.438,15.441-3.915,44.132c-4.646,18.126-12.079,42.257-22.093,71.72c-17.97,52.868-40.974,113.229-57.123,153.646\n\tl 15.711,32.209c 3.806-0.978, 7.987-1.472, 12.518-1.472c 22.895,0, 52.861,12.574, 78.206,32.814\n\tc 24.995,19.962, 41.713,44.097, 48.090,69.052l 1.179-0.564l 1.535,17.522c 2.603,36.445-13.635,66.338-40.404,74.386\n\tc-4.235,1.272-9.071,1.918-14.373,1.918C 390.98,512, 390.979,512, 390.979,512z M 346.841,440.948\n\tc 18.936,34.353, 35.854,39.491, 44.263,39.491c 11.447,0, 20.018-9.238, 21.691-18.169c 1.097-5.871, 1.296-11.914, 0.592-17.961\n\tc-2.837-24.156-19.338-44.898-32.678-58.044c-18.334-18.065-38.889-30.062-52.085-35.3c-1.313-0.457-2.121-0.526-2.489-0.526\n\tc-0.255,0-0.354,0.031-0.355,0.031C 321.937,352.966, 317.342,381.99, 346.841,440.948z M 183.13,350.965\n\tc-13.115,5.24-33.545,17.236-51.764,35.301c-13.26,13.145-29.656,33.888-32.475,58.052c-0.704,6.030-0.506,12.069, 0.589,17.953\n\tc 1.661,8.93, 10.179,18.169, 21.556,18.169c 8.356,0, 25.17-5.139, 43.991-39.49c 29.312-58.938, 24.764-87.944, 20.903-90.493\n\tc0,0.001-0.001,0.001-0.004,0.001c-0.020,0-0.125-0.018-0.32-0.018C 185.239,350.439, 184.438,350.508, 183.13,350.965z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rulers, measure, size\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64L 256,0 L 64,0 l0,64 L0,64 l0,192 l 64,0 l0,256 l 192,0 L 256,256 l 256,0 L 512,64 L 256,64 z M 64,224L 32,224 L 32,96 l 32,0 L 64,224 z M 224,64l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 \n\tl-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,64 L 96,480 L 96,32 l 128,0 L 224,64 z M 480,224l-32,0 l0-64 l-32,0 l0,64 l-32,0 l0-64 l-32,0 l0,64 l-32,0 l0-64 l-32,0 l0,64 l-32,0 L 256,96 l 224,0 L 480,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vector, bezier\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 80,206c0-17.673-14.327-32-32-32s-32,14.327-32,32c0,11.843, 6.438,22.175, 16,27.708L 32,512 l 32,0 L 64,233.708 \n\t\tC 73.562,228.175, 80,217.843, 80,206zM 160,160l0,74.848 C 99.878,311.102, 64,407.359, 64,512l 32,0 c0-56.174, 10.995-110.65, 32.678-161.916\n\t\tc 14.316-33.848, 32.865-65.338, 55.366-94.084L 256,256 l0-71.956 c 28.746-22.501, 60.236-41.049, 94.084-55.366\n\t\tC 401.35,106.995, 455.826,96, 512,96L 512,64 c-104.641,0-200.899,35.878-277.152,96L 160,160 zM 233.708,32c-5.534-9.562-15.866-16-27.708-16c-17.673,0-32,14.326-32,32s 14.327,32, 32,32c 11.843,0, 22.175-6.438, 27.708-16\n\t\tL 512,64 L 512,32 L 233.708,32 zM 160,480L 224,480L 224,512L 160,512zM 288,480L 352,480L 352,512L 288,512zM 480,416L 480,480L 416,480L 416,512L 512,512L 512,416 \tzM 480,160L 512,160L 512,224L 480,224zM 480,288L 512,288L 512,352L 480,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"crop, resize, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,192 L 216,192 L 216,96 L 416,96 L 416,296 L 320,296 ZM 512,320 L 512,416 L 96,416 L 96,0 L 192,0 L 192,320 ZM0,96L 72,96L 72,192L0,192zM 320,440L 416,440L 416,512L 320,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"crop, resize, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128l 96-96L 480,0l-96,96L 160,96 L 160,0 L 96,0 l0,96 L0,96 l0,64 l 96,0 l0,256 l 256,0 l0,96 l 64,0 l0-96 l 96,0 l0-64 l-96,0 L 416,128 z M 160,160l 160,0 L 160,320L 160,160 z M 192,352\n\tl 160-160l0,160 L 192,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"circle\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256A256,256 4680 1 1 512,256A256,256 4680 1 1 0,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"circle\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,480\n\t\tC 132.288,480, 32,379.712, 32,256S 132.288,32, 256,32s 224,100.288, 224,224S 379.712,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio-unchecked, circle\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio-checked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 160,256A96,96 12600 1 1 352,256A96,96 12600 1 1 160,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-partial, box, squares, partial, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 C 512,21.6, 490.4,0, 464,0z M 448,448L 64,448 \n\t\tL 64,64 l 384,0 L 448,448 zM 160,384l 192,0 c 17.6,0, 32-14.4, 32-32L 384,160 c0-17.6-14.4-32-32-32L 160,128 c-17.6,0-32,14.4-32,32l0,192 C 128,369.6, 142.4,384, 160,384z\n\t\t M 160,348l 192,0 l0,3.942 c-0.017,0.020-0.038,0.041-0.058,0.058L 160.057,352 c-0.020-0.017-0.041-0.038-0.057-0.058L 160,348 z M 160.057,160l 191.885,0 \n\t\tc 0.020,0.017, 0.041,0.038, 0.058,0.058L 352,164 L 160,164 l0-3.943 C 160.017,160.038, 160.038,160.017, 160.057,160z M 352,172l0,8 L 160,180 l0-8 L 352,172 z\n\t\t M 352,188l0,8 L 160,196 l0-8 L 352,188 z M 352,204l0,8 L 160,212 l0-8 L 352,204 z M 352,220l0,8 L 160,228 l0-8 L 352,220 z M 352,236l0,8 L 160,244 l0-8 L 352,236 z M 352,252l0,8 L 160,260 l0-8 L 352,252 z M 352,268l0,8 \n\t\tL 160,276 l0-8 L 352,268 z M 352,284l0,8 L 160,292 l0-8 L 352,284 z M 352,300l0,8 L 160,308 l0-8 L 352,300 z M 352,316l0,8 L 160,324 l0-8 L 352,316 z M 352,332l0,8 L 160,340 l0-8 L 352,332 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-unchecked, box, square, unchecked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64l0,384 L 64,448 L 64,64 L 448,64 M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0L 464,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-checked, checked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,112L 208,272L 144,192L 96,240L 208,384L 416,144 zM 448,64l0,384 L 64,448 L 64,64 L 448,64 M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0L 464,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-partial, partial\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,416 l 416,0 L 416,96 L0,96 z M 384,480L 32,480 L 32,128 l 352,0 L 384,480 zM 96,192L 320,192L 320,416L 96,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-unchecked, unchecked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128l0,352 L 32,480 L 32,128 L 384,128 M 416,96L0,96 l0,416 l 416,0 L 416,96 L 416,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox, tick, selected, checked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.297,270.361L 104.8,179.922L 62.39,222.32c 41.72,39.207, 138.38,140.625, 171.080,179.447\n\t\tC 325.49,248.018, 421.157,135.506, 512,30.649l-17.973-17.974C 347.156,123.834, 206.297,270.361, 206.297,270.361zM 384,480L 32,480 L 32,128 l 251.776,0 c 11.14-10.316, 22.868-21.030, 35.086-32L0,96 l0,416 l 416,0 L 416,221 c-10.746,13.778-21.408,27.758-32,42.013L 384,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-partial, partial\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 zM 128,128L 384,128L 384,384L 128,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 512,0L 512,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-unchecked, unchecked, square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-checked, tick, checked, selected\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 z M 384,112L 224,272l-96-96l-64,64l 160,160l 224-224L 384,112z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"command, cmd\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,504c-57.346,0-104-46.654-104-104l0-56 l-80,0 l0,56 c0,57.346-46.654,104-104,104S 8,457.346, 8,400s 46.654-104, 104-104l 56,0 l0-80 \n\tl-56,0 C 54.654,216, 8,169.346, 8,112S 54.654,8, 112,8s 104,46.654, 104,104l0,56 l 80,0 l0-56 C 296,54.654, 342.654,8, 400,8s 104,46.654, 104,104\n\ts-46.654,104-104,104l-56,0 l0,80 l 56,0 c 57.346,0, 104,46.654, 104,104S 457.346,504, 400,504z M 344,400c0,30.879, 25.121,56, 56,56\n\ts 56-25.121, 56-56s-25.121-56-56-56l-56,0 L 344,400 z M 112,344c-30.878,0-56,25.121-56,56s 25.122,56, 56,56s 56-25.121, 56-56l0-56 L 112,344 z M 296,296\n\tl0-80 l-80,0 l0,80 L 296,296 z M 400,168c 30.879,0, 56-25.122, 56-56s-25.121-56-56-56s-56,25.122-56,56l0,56 L 400,168 z M 112,56c-30.878,0-56,25.122-56,56\n\ts 25.122,56, 56,56l 56,0 l0-56 C 168,81.122, 142.878,56, 112,56z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-left, left, arrow, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 256,160L 160,256L 256,352L 256,288L 352,288L 352,224L 256,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-down, down, bottom, arrow, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 160,256L 256,352L 352,256L 288,256L 288,160L 224,160L 224,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-right, right, button, arrow, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 256,352L 352,256L 256,160L 256,224L 160,224L 160,288L 256,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-up, button, up, arrow, top, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 352,256L 256,160L 160,256L 224,256L 224,352L 288,352L 288,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-A, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 345.137,384l 48.399,0 L 276,127.501l-40,0 L 118.464,384l 48.399,0 l 29.327-64L 315.81,320 L 345.137,384z M 210.854,288L 256,189.477\n\tL 301.146,288L 210.854,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-keyboard, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sort, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208,352 L 320,352 L 320,0 L 384,0 L 384,352 L 496,352 L 352,496 L 208,352 Z M 192,160 L 192,512 L 128,512 L 128,160 L 16,160 L 160,16 L 304,160 L 192,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sort, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,128 L 192,480 L 128,480 L 128,128 L 48,128 L 160,16 L 272,128 ZM 320,384 L 320,32 L 384,32 L 384,384 L 464,384 L 352,496 L 240,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"transmission, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,304 L 352,192 L 0,192 L 0,128 L 352,128 L 352,16 L 496,160 L 352,304 Z M 160,320 L 512,320 L 512,384 L 160,384 L 160,496 L 16,352 L 160,208 L 160,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"transmission, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,192 L 32,192 L 32,128 L 384,128 L 384,48 L 496,160 L 384,272 ZM 128,320 L 480,320 L 480,384 L 128,384 L 128,464 L 16,352 L 128,240 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tab, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L0,96L0,160L 352,160L 352,256L 480,128L 352,0 \tzM 480,0L 480,128L 480,256L 512,256L 512,0 \tzM 160,256L 32,384L 160,512L 160,416L 512,416L 512,352L 160,352 \tzM0,256L0,512L 32,512L 32,384L 32,256 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backspace, delete, remove\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,368M 448,160 L 202.51,160 L 90.51,272 L 202.51,384 L 448,384 L 448,160 Z M 512,96 L 512,96 L 512,448 L 176,448 L 0,272 L 176,96 L 512,96 ZM 370.744,192 L 416,192 L 416,237.256 L 381.256,272 L 416,306.744 L 416,352 L 370.744,352 L 336,317.256 L 301.256,352 L 256,352 L 256,306.745 L 290.745,272 L 256,237.255 L 256,192 L 301.255,192 L 336,226.745 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backspace, delete, remove\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,368M 176,96L0,272l 176,176l 336,0 L 512,96 L 176,96 z M 448,205.255L 381.256,272L 448,338.744L 448,384 l-45.256,0 L 336,317.256L 269.256,384L 224,384 l0-45.255 \n\tL 290.745,272L 224,205.255L 224,160 l 45.255,0 L 336,226.745L 402.744,160L 448,160 L 448,205.255 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backspace, delete, remove\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128L 197.255,128 l-144,144l 144,144L 480,416 L 480,128 z M 512,96L 512,96l0,352 L 176,448 L0,272L 176,96L 512,96 z M 416,322.301L 416,352 l-29.699,0 \n\tL 336,301.699L 285.699,352L 256,352 l0,0l0-29.698 L 306.302,272L 256,221.698L 256,192 l0,0l 29.699,0 L 336,242.301L 386.301,192L 416,192 l0,29.699 L 365.699,272\n\tL 416,322.301z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"esc, escape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 233.019,278.981 L 73.019,118.981 L 0,192 L 0,0 L 192,0 L 118.981,73.019 L 278.981,233.019 ZM 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 L 64,256 C 64,362.039 149.961,448 256,448 C 362.039,448 448,362.039 448,256 C 448,149.961 362.039,64 256,64 L 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, arrow, return\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32L 416,32L 416,256L 224,256L 288,128L0,304L 288,480L 224,352L 512,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, arrow, return\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32L 416,32L 416,256L 176,256L 256,176L 192,112L0,304L 192,496L 256,432L 176,352L 512,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu-close, arrows, contract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,128L 256,256L 384,128 \tzM 384,416L 256,288L 128,416 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu-close, arrows, contract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,96L 256,224L 384,96 \tzM 384,448L 256,320L 128,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, down, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,128L 256,256L 384,128 \tzM 127.998,287.998L 255.998,415.998L 383.998,287.998 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, arrow, options, select\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,224L 256,96L 128,224 \tzM 128,320L 256,448L 384,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,160L 512,160L 512,352L 480,352zM 416,160L 448,160L 448,352L 416,352zM 352,160L 384,160L 384,352L 352,352zM0,256L 224,32L 224,160L 320,160L 320,352L 224,352L 224,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,0L 352,0L 352,32L 160,32zM 160,64L 352,64L 352,96L 160,96zM 160,128L 352,128L 352,160L 160,160zM 256,512L 480,288L 352,288L 352,192L 160,192L 160,288L 32,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,160L 32,160L 32,352L0,352zM 64,160L 96,160L 96,352L 64,352zM 128,160L 160,160L 160,352L 128,352zM 512,256L 288,32L 288,160L 192,160L 192,352L 288,352L 288,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,480L 352,480L 352,512L 160,512zM 160,416L 352,416L 352,448L 160,448zM 160,352L 352,352L 352,384L 160,384zM 256,0L 480,224L 352,224L 352,320L 160,320L 160,224L 32,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 128,256L 384,512L 256.001,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,128L 256,384L 512,128L 256,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,512L 384,256L 128,0L 256,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,384L 256,128L0,384L 256,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 256,448\n\tc 106.039,0 192-85.961 192-192c0-106.039, -85.961-192, -192-192c -106.039,0, -192,85.961, -192,192C 64,362.039, 149.961,448, 256,448zM 224,368 L 224,288 L 384,288 L 384,224 L 224,224 L 224,144 L 112,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,114.615, 114.615,0, 256,0s 256,114.615, 256,256s -114.615,256, -256,256S 0,397.385, 0,256z M 448,256\n\tc 0-106.039 -85.961-192 -192-192c-106.039,0, -192,85.961, -192,192c 0,106.039, 85.961,192, 192,192C 362.039,448, 448,362.039, 448,256zM 368,288 L 288,288 L 288,128 L 224,128 L 224,288 L 144,288 L 256,400 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 288,368 L 288,288 L 128,288 L 128,224 L 288,224 L 288,144 L 400,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,397.385, 114.615,512, 256,512s 256-114.615, 256-256s -114.615-256, -256-256S 0,114.615, 0,256z M 448,256\n\tc 0,106.039 -85.961,192 -192,192c-106.039,0, -192-85.961, -192-192c 0-106.039, 85.961-192, 192-192C 362.039,64, 448,149.961, 448,256zM 368,224 L 288,224 L 288,384 L 224,384 L 224,224 L 144,224 L 256,112 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 224,368l0-80 L 384,288 l0-64 l-160,0 l0-80 \n\tl -112,112L 224,368z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,114.615, 114.615,0, 256,0s 256,114.615, 256,256s -114.615,256, -256,256S 0,397.385, 0,256z M 368,288l-80,0 L 288,128 l-64,0 l0,160 l-80,0 \n\tl 112,112L 368,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,368l0-80 L 128,288 l0-64 l 160,0 l0-80 \n\tl 112,112L 288,368z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,397.385, 114.615,512, 256,512s 256-114.615, 256-256s -114.615-256, -256-256S 0,114.615, 0,256z M 368,224l-80,0 L 288,384 l-64,0 l0-160 l-80,0 \n\tl 112-112L 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 512,480L 416,256L 512,32 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512L 480,0L 256,96L 32,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L0,32L 96,256L0,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L 32,512L 256,416L 480,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, arrow, previous, backward\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,0L0,256l 224,256L 224,325.774 l 288,58.225L 512,128 l-288,58.227L 224,0 z M 480,165.774l0,180.45 l-288-58.226l0,138.833 L 42.522,256\n\tL 192,85.166L 192,224 L 480,165.774z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,288l 256,224l 256-224L 325.776,288 L 384,0L 128,0 l 58.227,288L0,288 z M 165.775,32l 180.451,0 L 288,320l 138.833,0 L 256,469.479L 85.166,320L 224,320 \n\tL 165.775,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,512l 224-256L 288,0l0,186.225 L0,128l0,256 l 288-58.227L 288,512 z M 32,346.226L 32,165.774 L 320,224L 320,85.167 L 469.479,256L 320,426.834L 320,288 \n\tL 32,346.226z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224L 256,0L0,224l 186.225,0 L 128,512l 256,0 l-58.226-288L 512,224 z M 346.226,480L 165.775,480 L 224,192L 85.167,192 L 256,42.521L 426.834,192\n\tL 288,192 L 346.226,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,480L 352,480L 192,320L 512,320L 512,192L 192,192L 352,32L 224,32L0,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,480L 352,480L 448,384L 224,384L 480,128L 384,32L 128,288L 128,64L 32,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,288L 480,160L 320,320L 320,0L 192,0L 192.001,320.001L 32,160L 32,288.001L 256.001,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,480L 480,160L 384,64L 384,288L 128,32L 32,128L 288,384L 64.001,384L 160.001,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,32L 160,32L 320,192L0,192L0,320L 320,320L 160,480L 288,480L 512,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,32L 160,32L 64,128L 288,128L 32,384L 128,480L 384,224L 384,448L 480,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,224L 32,352L 192,192L 192,512L 320,512L 320,192L 480,352L 480,224L 256,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,32L 32,352L 128,448L 128,224L 384,480L 480,384L 224,128L 448,128L 352,32 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,255.998L 128,312L 128,416L0,256.001L 128,96L 128,200.001 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512L 288,512L 192,416L 512,0L 96,320L0,226.692 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.998,0L 312,384L 416,384L 256.001,512L 96,384L 200.001,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,512L 512,224L 416.001,320L0,0L 320,416L 226.692,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256.002L 384,200L 384,96L 512,255.999L 384,416L 384,311.999 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,0L 224,0L 320,96L0,512L 416,192L 512,285.309 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.002,512L 200,128L 96,128L 255.999,0L 416,128L 311.999,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L0,288L 96,192L 512,512L 192,96L 285.309,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, previous, left, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,255.999L 256,512L 256,352 l 255.999,0 L 512,160L 256,160 L 256,0 L0,255.999z M 76,225.254l 8-8l0,77.49 l-8-8L 76,225.254 z M 68,278.744l-8-8l0-29.49 l 8-8\n\tL 68,278.744 z M 92,209.254l 8-8l0,109.491 l-8-8L 92,209.254 z M 108,193.254l 8-8l0,141.491 l-8-8L 108,193.254 z M 124,177.254l 8-8l0,173.491 l-8-8L 124,177.254 z\n\t M 140,161.254l 8-7.999l0,205.49 l-8-8L 140,161.254 z M 156,145.255l 8-8l0,237.49 l-8-8L 156,145.255 z M 172,129.255l 8-8l0,269.49 l-8-8L 172,129.255 z\n\t M 188,113.255l 8-8l0,301.49 l-8-8L 188,113.255 z M 204,97.255l 8-8l0,333.49 l-8-8L 204,97.255 z M 52,249.254l0,13.49 l-6.745-6.745L 52,249.254z M 236,320\n\tL 236,192 l 8,0 l0,128 L 236,320 z M 252,320L 252,192 l 8,0 l0,128 L 252,320 z M 268,320L 268,192 l 8,0 l0,128 L 268,320 z M 284,320L 284,192 l 8,0 l0,128 L 284,320 z M 300,320L 300,192 l 8,0 l0,128 L 300,320 z M 316,320L 316,192 l 8,0 \n\tl0,128 L 316,320 z M 332,320L 332,192 l 8,0 l0,128 L 332,320 z M 348,320L 348,192 l 8,0 l0,128 L 348,320 z M 364,320L 364,192 l 8,0 l0,128 L 364,320 z M 380,320L 380,192 l 8,0 l0,128 L 380,320 z M 396,320L 396,192 l 8,0 l0,128 \n\tL 396,320 z M 412,320L 412,192 l 8,0 l0,128 L 412,320 z M 428,320L 428,192 l 8,0 l0,128 L 428,320 z M 444,320L 444,192 l 8,0 l0,128 L 444,320 z M 460,320L 460,192 l 8,0 l0,128 L 460,320 z M 479.999,320L 476,320 L 476,192 l 4,0 \n\tL 479.999,320z M 224,192l 4,0 l0,128 l-4,0 l0,114.745 l-4-4L 220,81.255 l 4-4L 224,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-bottom, download, bottom, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.999,512L 512,256L 352,256 L 352,0.001 L 160,0l0,256 L0,256 L 255.999,512z M 225.254,436l-8-8l 77.49,0 l-8,8L 225.254,436 z M 278.744,444l-8,8l-29.49,0 \n\tl-8-8L 278.744,444 z M 209.254,420l-8-8l 109.491,0 l-8,8L 209.254,420 z M 193.254,404l-8-8l 141.491,0 l-8,8L 193.254,404 z M 177.254,388l-8-8l 173.491,0 l-8,8\n\tL 177.254,388 z M 161.254,372l-7.999-8l 205.49,0 l-8,8L 161.254,372 z M 145.255,356l-8-8l 237.49,0 l-8,8L 145.255,356 z M 129.255,340l-8-8l 269.49,0 l-8,8\n\tL 129.255,340 z M 113.255,324l-8-8l 301.49,0 l-8,8L 113.255,324 z M 97.255,308l-8-8l 333.49,0 l-8,8L 97.255,308 z M 249.254,460l 13.49,0 l-6.745,6.745\n\tL 249.254,460z M 320,276L 192,276 l0-8 l 128,0 L 320,276 z M 320,260L 192,260 l0-8 l 128,0 L 320,260 z M 320,244L 192,244 l0-8 l 128,0 L 320,244 z M 320,228L 192,228 l0-8 l 128,0 L 320,228 z M 320,212L 192,212 \n\tl0-8 l 128,0 L 320,212 z M 320,196L 192,196 l0-8 l 128,0 L 320,196 z M 320,180L 192,180 l0-8 l 128,0 L 320,180 z M 320,164L 192,164 l0-8 l 128,0 L 320,164 z M 320,148L 192,148 l0-8 l 128,0 L 320,148 z M 320,132L 192,132 \n\tl0-8 l 128,0 L 320,132 z M 320,116L 192,116 l0-8 l 128,0 L 320,116 z M 320,100L 192,100 l0-8 l 128,0 L 320,100 z M 320,84L 192,84 l0-8 l 128,0 L 320,84 z M 320,68L 192,68 l0-8 l 128,0 L 320,68 z M 320,52L 192,52 l0-8 l 128,0 \n\tL 320,52 z M 320,32.001L 320,36 L 192,36 l0-4 L 320,32.001z M 192,288l0-4 l 128,0 l0,4 l 114.745,0 l-4,4L 81.255,292 l-4-4L 192,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, next, right, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256.001L 256,0l0,160 L 0.001,160 L0,352l 256,0 l0,160 L 512,256.001z M 436,286.746l-8,8l0-77.49 l 8,8L 436,286.746 z M 444,233.256l 8,8l0,29.49 \n\tl-8,8L 444,233.256 z M 420,302.746l-8,8L 412,201.255 l 8,8L 420,302.746 z M 404,318.746l-8,8L 396,185.255 l 8,8L 404,318.746 z M 388,334.746l-8,8L 380,169.255 l 8,8\n\tL 388,334.746 z M 372,350.746l-8,7.999l0-205.49 l 8,8L 372,350.746 z M 356,366.745l-8,8l0-237.49 l 8,8L 356,366.745 z M 340,382.745l-8,8l0-269.49 l 8,8\n\tL 340,382.745 z M 324,398.745l-8,8l0-301.49 l 8,8L 324,398.745 z M 308,414.745l-8,8L 300,89.255 l 8,8L 308,414.745 z M 460,262.746l0-13.49 l 6.745,6.745\n\tL 460,262.746z M 276,192l0,128 l-8,0 L 268,192 L 276,192 z M 260,192l0,128 l-8,0 L 252,192 L 260,192 z M 244,192l0,128 l-8,0 L 236,192 L 244,192 z M 228,192l0,128 l-8,0 L 220,192 L 228,192 z M 212,192l0,128 \n\tl-8,0 L 204,192 L 212,192 z M 196,192l0,128 l-8,0 L 188,192 L 196,192 z M 180,192l0,128 l-8,0 L 172,192 L 180,192 z M 164,192l0,128 l-8,0 L 156,192 L 164,192 z M 148,192l0,128 l-8,0 L 140,192 L 148,192 z M 132,192l0,128 \n\tl-8,0 L 124,192 L 132,192 z M 116,192l0,128 l-8,0 L 108,192 L 116,192 z M 100,192l0,128 l-8,0 L 92,192 L 100,192 z M 84,192l0,128 l-8,0 L 76,192 L 84,192 z M 68,192l0,128 l-8,0 L 60,192 L 68,192 z M 52,192l0,128 l-8,0 L 44,192 \n\tL 52,192 z M 32.001,192L 36,192 l0,128 l-4,0 L 32.001,192z M 288,320l-4,0 L 284,192 l 4,0 L 288,77.255 l 4,4l0,349.49 l-4,4L 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,0L0,256l 160,0 l0,255.999 L 352,512L 352,256 l 160,0 L 256.001,0z M 286.746,76l 8,8l-77.49,0 l 8-8L 286.746,76 z M 233.256,68l 8-8l 29.49,0 l 8,8\n\tL 233.256,68 z M 302.746,92l 8,8L 201.255,100 l 8-8L 302.746,92 z M 318.746,108l 8,8L 185.255,116 l 8-8L 318.746,108 z M 334.746,124l 8,8L 169.255,132 l 8-8L 334.746,124 z\n\t M 350.746,140l 7.999,8l-205.49,0 l 8-8L 350.746,140 z M 366.745,156l 8,8l-237.49,0 l 8-8L 366.745,156 z M 382.745,172l 8,8l-269.49,0 l 8-8L 382.745,172 z\n\t M 398.745,188l 8,8l-301.49,0 l 8-8L 398.745,188 z M 414.745,204l 8,8L 89.255,212 l 8-8L 414.745,204 z M 262.746,52l-13.49,0 l 6.745-6.745L 262.746,52z M 192,236\n\tl 128,0 l0,8 L 192,244 L 192,236 z M 192,252l 128,0 l0,8 L 192,260 L 192,252 z M 192,268l 128,0 l0,8 L 192,276 L 192,268 z M 192,284l 128,0 l0,8 L 192,292 L 192,284 z M 192,300l 128,0 l0,8 L 192,308 L 192,300 z M 192,316l 128,0 l0,8 \n\tL 192,324 L 192,316 z M 192,332l 128,0 l0,8 L 192,340 L 192,332 z M 192,348l 128,0 l0,8 L 192,356 L 192,348 z M 192,364l 128,0 l0,8 L 192,372 L 192,364 z M 192,380l 128,0 l0,8 L 192,388 L 192,380 z M 192,396l 128,0 l0,8 L 192,404 \n\tL 192,396 z M 192,412l 128,0 l0,8 L 192,420 L 192,412 z M 192,428l 128,0 l0,8 L 192,436 L 192,428 z M 192,444l 128,0 l0,8 L 192,452 L 192,444 z M 192,460l 128,0 l0,8 L 192,468 L 192,460 z M 192,479.999L 192,476 l 128,0 l0,4 \n\tL 192,479.999z M 320,224l0,4 L 192,228 l0-4 L 77.255,224 l 4-4l 349.49,0 l 4,4L 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, previous, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,255.999L 256,512L 256,352 l 255.999,0 L 512,160L 256,160 L 256,0 L0,255.999z M 224,192l 256,0 l-0.001,128L 224,320 l0,114.745 L 45.255,255.999L 224,77.255\n\tL 224,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.999,512L 512,256L 352,256 L 352,0.001 L 160,0l0,256 L0,256 L 255.999,512z M 192,288L 192,32 l 128,0.001L 320,288 l 114.745,0 L 255.999,466.745L 77.255,288\n\tL 192,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, next, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256.001L 256,0l0,160 L 0.001,160 L0,352l 256,0 l0,160 L 512,256.001z M 288,320L 32,320 l 0.001-128L 288,192 L 288,77.255 l 178.745,178.746L 288,434.745\n\tL 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,0L0,256l 160,0 l0,255.999 L 352,512L 352,256 l 160,0 L 256.001,0z M 320,224l0,256 l-128-0.001L 192,224 L 77.255,224 L 256.001,45.255L 434.745,224\n\tL 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.001,512L 512,512 L 512,0 L0,0 L 0.001,512z M 448,64l0,384 L 64.001,448 L 64,64L 448,64 z M 224,368L 112,256l 112-112l0,80 l 160,0 l0,64 L 224,288 L 224,368 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,512L 512,0 L0,0 l0,512 L 512,512 z M 64,64l 384,0 l0,384 L 64,448 L 64,64 zM 374.627,182.628 L 246.628,310.628 L 320,384 L 128,384 L 128,192 L 201.372,265.372 L 329.372,137.372 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,511.999L 0,0 L 512,0 L 512,512 L 0,511.999z M 448,64l-384,0 L 64,447.999 L 448,448L 448,64 z M 144,288L 256,400l 112-112l-80,0 l0-160 l-64,0 L 224,288 L 144,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.999,0L0,0 l0,512 l 512,0 L 511.999,0z M 64,448L 64,64 l 383.999,0 L 448,448L 64,448 zM 182.628,137.373 L 310.627,265.372 L 384,192 L 384,384 L 192,384 L 265.371,310.628 L 137.372,182.628 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.999,512L 0,512 L 0,0 L 512,0 L 511.999,512z M 64,64l0,384 L 447.999,448 L 448,64L 64,64 z M 288,368L 400,256l -112-112l0,80 l-160,0 l0,64 L 288,288 L 288,368 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 315.875,150.871L 361.13,196.126L 182.633,374.623L 137.377,329.368zM0,0l0,512 l 512,0 L 512,0 L0,0 z M 448,448L 64,448 L 64,64 l 384,0 L 448,448 zM 384,320 L 192,128 L 384,128 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,0.001L 0,512 L 512,512 L 512,0 L 0,0.001z M 448,448l-384,0 L 64,64.001 L 448,64L 448,448 z M 144,224L 256,112l 112,112l-80,0 l0,160 l-64,0 L 224,224 L 144,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512l 512,0 L 512,0 L0,0 L0,512 z M 448,64l0,384 L 64,448 L 64,64 L 448,64 zM 329.372,374.627 L 201.372,246.628 L 128,320 L 128,128 L 320,128 L 246.628,201.372 L 374.628,329.372 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, vertically\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,16 L 400,160 L 320,160 L 320,352 L 400,352 L 256,496 L 112,352 L 192,352 L 192,160 L 112,160 L 256,16 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, horizontally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,256 L 352,400 L 352,320 L 160,320 L 160,400 L 16,256 L 160,112 L 160,192 L 352,192 L 352,112 L 496,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,0L0,256L 85.573,170.427L 341.573,426.427L 256,512L 512,512L 512,256L 426.427,341.573L 170.427,85.573 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L 512,0L 256,0L 341.573,85.573L 85.573,341.573L0,256L0,512L 256,512L 170.427,426.427L 426.427,170.427 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, vertically\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 329.372,361.372L 288,402.745l0-293.49 l 41.372,41.373C 335.621,156.876, 343.811,160, 352,160s 16.379-3.124, 22.628-9.373\n\tc 12.496-12.497, 12.496-32.758,0-45.255l-96-96c-12.498-12.497-32.758-12.497-45.255,0l-96,96c-12.497,12.497-12.497,32.758,0,45.255\n\tc 12.497,12.497, 32.758,12.497, 45.255,0L 224,109.255l0,293.49 l-41.373-41.373c-12.497-12.496-32.758-12.496-45.255,0\n\tc-12.497,12.497-12.497,32.759,0,45.256l 96,96C 239.621,508.876, 247.811,512, 256,512s 16.379-3.124, 22.628-9.372l 96-96\n\tc 12.496-12.497, 12.496-32.759,0-45.256C 362.13,348.876, 341.87,348.876, 329.372,361.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, horizontally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 361.372,182.628L 402.745,224l-293.49,0 l 41.373-41.372C 156.876,176.379, 160,168.189, 160,160s-3.124-16.379-9.373-22.628\n\tc-12.497-12.496-32.758-12.496-45.255,0l-96,96c-12.497,12.498-12.497,32.759,0,45.255l 96,96c 12.497,12.497, 32.758,12.497, 45.255,0\n\tc 12.497-12.496, 12.497-32.758,0-45.254L 109.255,288l 293.49,0 l-41.373,41.372c-12.496,12.497-12.496,32.758,0,45.255\n\tc 12.497,12.497, 32.759,12.497, 45.256,0l 96-96C 508.876,272.379, 512,264.189, 512,256s-3.124-16.379-9.372-22.628l-96-96\n\tc-12.497-12.496-32.759-12.496-45.256,0C 348.876,149.87, 348.876,170.13, 361.372,182.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,224c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 64,109.256 L 402.744,448L 288,448 c-17.673,0-32,14.326-32,32\n\tc0,17.673, 14.327,32, 32,32l 224,0 L 512,288 c0-17.674-14.327-32-32-32s-32,14.326-32,32l0,114.744 L 109.255,64L 224,64 c 17.673,0, 32-14.327, 32-32\n\tS 241.673,0, 224,0L0,0 L0,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,0c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 114.744,0 L 64,402.744L 64,288 c0-17.673-14.327-32-32-32S0,270.327,0,288l0,224 \n\tl 224,0 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 109.255,448 L 448,109.255L 448,224 c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 512,0 L 288,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 105.372,278.628\n\t\tl 128.001,128C 239.621,412.876, 247.811,416, 256,416s 16.379-3.124 22.627-9.372c 12.497-12.497 12.497-32.759,0-45.256L 205.255,288\n\t\tL 384,288 c 17.673,0 32-14.327 32-32c0-17.673, -14.327-32, -32-32l-178.745,0 l 73.373-73.373c 12.497-12.497 12.497-32.758,0-45.255\n\t\tc -12.497-12.497, -32.758-12.497, -45.254,0l -128.001,128C 92.876,245.869, 92.876,266.131, 105.372,278.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 397.385,512, 512,397.385, 512,256s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,512, 256,512z M 128,192\n\t\tc0-17.673 14.327-32 32-32s 32,14.327 32,32l0,82.745 L 329.373,137.372C 335.621,131.124, 343.811,128, 352,128\n\t\ts 16.379,3.124 22.627,9.372c 12.497,12.497 12.497,32.759,0,45.256L 237.256,320L 320,320 c 17.673,0 32,14.327 32,32s -14.327,32, -32,32\n\t\tl-192,0 L 128,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,114.615, 397.385,0, 256,0s -256,114.615, -256,256s 114.615,256, 256,256S 512,397.385, 512,256z M 233.372,406.628\n\t\tl -128-128.001C 99.124,272.379, 96,264.189, 96,256s 3.124-16.379 9.372-22.627c 12.497-12.497 32.759-12.497, 45.256,0L 224,306.745\n\t\tL 224,128 c 0-17.673 14.327-32 32-32c 17.673,0, 32,14.327, 32,32l0,178.745 l 73.373-73.373c 12.497-12.497 32.758-12.497, 45.255,0\n\t\tc 12.497,12.497, 12.497,32.758, 0,45.254l -128,128.001C 266.131,419.124, 245.869,419.124, 233.372,406.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 114.615,512, 0,397.385, 0,256s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,512, 256,512z M 384,192\n\t\tc0-17.673 -14.327-32 -32-32s -32,14.327 -32,32l0,82.745 L 182.627,137.372C 176.379,131.124, 168.189,128, 160,128\n\t\ts -16.379,3.124 -22.627,9.372c -12.497,12.497 -12.497,32.759,0,45.256L 274.744,320L 192,320 c -17.673,0 -32,14.327 -32,32s 14.327,32, 32,32\n\t\tl 192,0 L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 406.628,278.628\n\t\tl-128.001,128C 272.379,412.876, 264.189,416, 256,416s-16.379-3.124-22.627-9.372c-12.497-12.497-12.497-32.759,0-45.256L 306.745,288\n\t\tL 128,288 c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32l 178.745,0 l-73.373-73.373c-12.497-12.497-12.497-32.758,0-45.255\n\t\tc 12.497-12.497, 32.758-12.497, 45.254,0l 128.001,128C 419.124,245.869, 419.124,266.131, 406.628,278.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 384,320\n\t\tc0,17.673-14.327,32-32,32s-32-14.327-32-32l0-82.745 L 182.627,374.628C 176.379,380.876, 168.189,384, 160,384\n\t\ts-16.379-3.124-22.627-9.372c-12.497-12.497-12.497-32.759,0-45.256L 274.744,192L 192,192 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32\n\t\tl 192,0 L 384,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,397.385, 397.385,512, 256,512s -256-114.615, -256-256s 114.615-256, 256-256S 512,114.615, 512,256z M 233.372,105.372\n\t\tl -128,128.001C 99.124,239.621, 96,247.811, 96,256s 3.124,16.379 9.372,22.627c 12.497,12.497 32.759,12.497, 45.256,0L 224,205.255\n\t\tL 224,384 c 0,17.673 14.327,32 32,32c 17.673,0, 32-14.327, 32-32l0-178.745 l 73.373,73.373c 12.497,12.497 32.758,12.497, 45.255,0\n\t\tc 12.497-12.497, 12.497-32.758, 0-45.254l -128-128.001C 266.131,92.876, 245.869,92.876, 233.372,105.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 128,320\n\t\tc0,17.673 14.327,32 32,32s 32-14.327 32-32l0-82.745 L 329.373,374.628C 335.621,380.876, 343.811,384, 352,384\n\t\ts 16.379-3.124 22.627-9.372c 12.497-12.497 12.497-32.759,0-45.256L 237.256,192L 320,192 c 17.673,0 32-14.327 32-32s -14.327-32, -32-32\n\t\tl-192,0 L 128,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 256,464\n\t\tc 114.875,0 208-93.125 208-208S 370.875,48, 256,48s -208,93.125, -208,208S 141.125,464, 256,464zM 105.372,233.373l 128.001-128c 12.496-12.497 32.757-12.497 45.254,0c 12.497,12.497 12.497,32.758,0,45.255L 205.255,224\n\tL 384,224 c 17.673,0 32,14.327 32,32c0,17.673, -14.327,32, -32,32l-178.745,0 l 73.373,73.372c 12.497,12.497 12.497,32.759,0,45.256\n\tC 272.379,412.876, 264.189,416, 256,416s -16.379-3.124, -22.627-9.372l -128.001-128C 92.876,266.131, 92.876,245.869, 105.372,233.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 397.385,512, 512,397.385, 512,256s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0 208,93.125 208,208S 370.875,464, 256,464s -208-93.125, -208-208S 141.125,48, 256,48zM 320,384c 17.673,0 32-14.327 32-32s -14.327-32, -32-32l-82.744,0 L 374.627,182.628c 12.497-12.497 12.497-32.759,0-45.256\n\tC 368.379,131.124, 360.189,128, 352,128s -16.379,3.124, -22.627,9.372L 192,274.745L 192,192 c0-17.673, -14.327-32, -32-32s -32,14.327, -32,32L 128,384 L 320,384 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,114.615, 397.385,0, 256,0s -256,114.615, -256,256s 114.615,256, 256,256S 512,397.385, 512,256z M 48,256\n\t\tc 0-114.875 93.125-208 208-208S 464,141.125, 464,256s -93.125,208, -208,208S 48,370.875, 48,256zM 278.627,406.628l 128-128.001c 12.497-12.496 12.497-32.757 0-45.254c -12.497-12.497 -32.758-12.497,-45.255,0L 288,306.745\n\tL 288,128 c 0-17.673 -14.327-32 -32-32c-17.673,0, -32,14.327, -32,32l0,178.745 l -73.372-73.373c -12.497-12.497 -32.759-12.497,-45.256,0\n\tC 99.124,239.621, 96,247.811, 96,256s 3.124,16.379, 9.372,22.627l 128,128.001C 245.869,419.124, 266.131,419.124, 278.627,406.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 114.615,512, 0,397.385, 0,256s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,512, 256,512z M 256,48\n\t\tc -114.875,0 -208,93.125 -208,208S 141.125,464, 256,464s 208-93.125, 208-208S 370.875,48, 256,48zM 192,384c -17.673,0 -32-14.327 -32-32s 14.327-32, 32-32l 82.744,0 L 137.373,182.628c -12.497-12.497 -12.497-32.759,0-45.256\n\tC 143.621,131.124, 151.811,128, 160,128s 16.379,3.124, 22.627,9.372L 320,274.745L 320,192 c0-17.673, 14.327-32, 32-32s 32,14.327, 32,32L 384,384 L 192,384 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 406.628,233.373l-128.001-128c-12.496-12.497-32.757-12.497-45.254,0c-12.497,12.497-12.497,32.758,0,45.255L 306.745,224\n\tL 128,224 c-17.673,0-32,14.327-32,32c0,17.673, 14.327,32, 32,32l 178.745,0 l-73.373,73.372c-12.497,12.497-12.497,32.759,0,45.256\n\tC 239.621,412.876, 247.811,416, 256,416s 16.379-3.124, 22.627-9.372l 128.001-128C 419.124,266.131, 419.124,245.869, 406.628,233.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 192,128c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 82.744,0 L 137.373,329.372c-12.497,12.497-12.497,32.759,0,45.256\n\tC 143.621,380.876, 151.811,384, 160,384s 16.379-3.124, 22.627-9.372L 320,237.255L 320,320 c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 384,128 L 192,128 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,397.385, 397.385,512, 256,512s -256-114.615, -256-256s 114.615-256, 256-256S 512,114.615, 512,256z M 48,256\n\t\tc 0,114.875 93.125,208 208,208S 464,370.875, 464,256s -93.125-208, -208-208S 48,141.125, 48,256zM 278.627,105.372l 128,128.001c 12.497,12.496 12.497,32.757 0,45.254c -12.497,12.497 -32.758,12.497,-45.255,0L 288,205.255\n\tL 288,384 c 0,17.673 -14.327,32 -32,32c-17.673,0, -32-14.327, -32-32l0-178.745 l -73.372,73.373c -12.497,12.497 -32.759,12.497,-45.256,0\n\tC 99.124,272.379, 96,264.189, 96,256s 3.124-16.379, 9.372-22.627l 128-128.001C 245.869,92.876, 266.131,92.876, 278.627,105.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 256,464\n\t\tc 114.875,0 208-93.125 208-208S 370.875,48, 256,48s -208,93.125, -208,208S 141.125,464, 256,464zM 320,128c 17.673,0 32,14.327 32,32s -14.327,32, -32,32l-82.744,0 L 374.627,329.372c 12.497,12.497 12.497,32.759,0,45.256\n\tC 368.379,380.876, 360.189,384, 352,384s -16.379-3.124, -22.627-9.372L 192,237.255L 192,320 c0,17.673, -14.327,32, -32,32s -32-14.327, -32-32L 128,128 L 320,128 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 201.373,73.373l-160,160c-12.497,12.496-12.497,32.758,0,45.254l 160,160c 12.497,12.496, 32.758,12.496, 45.255,0\n\tc 12.498-12.496, 12.498-32.758,0-45.254L 141.254,288L 448,288 c 17.673,0, 32-14.326, 32-32c0-17.673-14.327-32-32-32L 141.254,224 l 105.373-105.373\n\tC 252.875,112.379, 256,104.189, 256,96s-3.124-16.379-9.372-22.627C 234.13,60.876, 213.87,60.876, 201.373,73.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,448c 17.674,0, 32-14.326, 32-32c0-17.673-14.326-32-32-32L 173.254,384 l 265.374-265.373c 12.496-12.496, 12.496-32.758,0-45.254\n\tC 432.379,67.124, 424.189,64, 416,64s-16.379,3.124-22.627,9.373L 128,338.746L 128,224 c0-17.673-14.327-32-32-32s-32,14.327-32,32l0,224 L 288,448 z\n\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 73.373,310.627l 160,160c 12.496,12.497, 32.758,12.497, 45.255,0l 160-160c 12.496-12.497, 12.496-32.758,0-45.255\n\tc-12.497-12.497-32.758-12.497-45.255,0L 288,370.745L 288,64 c0-17.673-14.327-32-32-32s-32,14.327-32,32l0,306.745 L 118.627,265.372\n\tC 112.379,259.124, 104.189,256, 96,256s-16.379,3.124-22.627,9.372C 60.876,277.869, 60.876,298.13, 73.373,310.627z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,224c0-17.674-14.326-32-32-32c-17.673,0-32,14.326-32,32l0,114.746 L 118.627,73.372\n\tc-12.496-12.496-32.758-12.496-45.254,0C 67.124,79.621, 64,87.811, 64,96s 3.124,16.379, 9.373,22.627L 338.746,384L 224,384 \n\tc-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 224,0 L 448,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 310.627,438.627l 160-160c 12.497-12.496, 12.497-32.758,0-45.255l-160-160c-12.497-12.496-32.758-12.496-45.255,0\n\tc-12.497,12.497-12.497,32.758,0,45.255L 370.745,224L 64,224 c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 306.745,0 L 265.372,393.373\n\tC 259.124,399.621, 256,407.811, 256,416s 3.124,16.379, 9.372,22.627C 277.869,451.124, 298.13,451.124, 310.627,438.627z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416.010,64c-0.006,0-0.014,0-0.020,0L 224,64 c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 114.746,0 L 73.373,393.373\n\tc-12.497,12.496-12.497,32.758,0,45.254C 79.621,444.876, 87.811,448, 96,448s 16.379-3.124, 22.627-9.373L 384,173.254L 384,288 \n\tc0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 448,64 L 416.010,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 438.627,201.373l-160-160c-12.496-12.497-32.757-12.497-45.254,0l-160,160c-12.497,12.497-12.497,32.758,0,45.255\n\tc 12.497,12.498, 32.758,12.498, 45.255,0L 224,141.255L 224,448 c0,17.673, 14.327,32, 32,32c 17.673,0, 32-14.327, 32-32L 288,141.255 l 105.373,105.373\n\tC 399.621,252.876, 407.811,256, 416,256s 16.379-3.124, 22.627-9.373C 451.124,234.13, 451.124,213.87, 438.627,201.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,288c0,17.674, 14.327,32, 32,32s 32-14.326, 32-32L 128,173.254 l 265.373,265.374c 12.496,12.496, 32.758,12.496, 45.254,0\n\tC 444.876,432.379, 448,424.189, 448,416s-3.124-16.379-9.373-22.627L 173.254,128L 288,128 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 64,64 \n\tL 64,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 256,512L 256,352L 511.999,352L 512,160L 256,160L 256,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,512L 256,384L 512,128L 384,0L 128,256.001L0,128.001L0,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512L 512,256L 352,256L 352,0.001L 160,0L 160,256L0,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,128L 384,256L 128,0L0,128L 256.001,384L 128.001,512L 512,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L 256,0L 256,160L 0.001,160L0,352L 256,352L 256,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,0L 256.001,128L0,384L 128,512L 384,256L 512,383.999L 512,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,0L0,256L 160,256L 160,511.999L 352,512L 352,256L 512,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,384L 128,256L 384,512L 512,384L 256,128L 383.999,0L0,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320.001,128L 192.001,256L 320.001,384.001 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,192L 256,320L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192.001,384L 320.001,256L 192.001,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,320L 256,192L 128,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, previous, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,512L 416,416L 256,256L 416,96L 320,0L 64,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192L 416,96L 256,256L 96,96L0,192L 256,447.999 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0L 96,96L 256,256L 96,416L 192,512L 448,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,320L 96,416L 256,256L 416,416L 512,320L 256.001,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, first, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,416L 192,512L 448,256L 192,0L 96,96L 256,256 \tzM 512,512L 512,0L 448,0L 448,256L 448,512 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-first, first, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 320,0L 64,256L 320,512L 416,416L 256,256 \tzM0,0L0,512L 64,512L 64,256L 64,0 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"wave\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 512,128 L 576,128 L 576,384 C 576,436.935 532.935,480 480,480 C 427.065,480 384,436.935 384,384 L 384,128 C 384,110.355 369.645,96 352,96 C 334.355,96 320,110.355 320,128 L 320,384 C 320,436.935 276.935,480 224,480 C 171.065,480 128,436.935 128,384 L 128,128 C 128,110.355 113.645,96 96,96 C 78.355,96 64,110.355 64,128 L 64,384 L 0,384 L 0,128 C 0,75.065 43.065,32 96,32 C 148.935,32 192,75.065 192,128 L 192,384 C 192,401.645 206.355,416 224,416 C 241.645,416 256,401.645 256,384 L 256,128 C 256,75.065 299.065,32 352,32 C 404.935,32 448,75.065 448,128 L 448,384 C 448,401.645 462.355,416 480,416 C 497.645,416 512,401.645 512,384 L 512,128 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wave\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160 L 480,160 L 480,352 C 480,369.251 476.607,386.021 469.915,401.843 C 463.465,417.093 454.244,430.776 442.51,442.51 C 430.776,454.244 417.093,463.465 401.843,469.915 C 386.021,476.607 369.252,480 352,480 C 334.748,480 317.979,476.607 302.157,469.915 C 286.907,463.465 273.224,454.244 261.49,442.51 C 249.756,430.776 240.535,417.093 234.085,401.843 C 227.393,386.021 224,369.252 224,352 L 224,160 C 224,124.654 195.346,96 160,96 C 124.654,96 96,124.654 96,160 L 96,352 L 32,352 L 32,160 C 32,142.749 35.393,125.979 42.085,110.157 C 48.535,94.907 57.756,81.225 69.49,69.49 C 81.225,57.756 94.907,48.535 110.157,42.085 C 125.979,35.393 142.749,32 160,32 C 177.251,32 194.021,35.393 209.843,42.085 C 225.093,48.535 238.775,57.756 250.51,69.49 C 262.244,81.225 271.465,94.907 277.915,110.157 C 284.607,125.979 288,142.749 288,160 L 288,352 C 288,387.347 316.654,416 352,416 C 387.346,416 416,387.346 416,352 L 416,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shuffle, media control, random\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,352 L 384,288 L 512,384 L 384,480 L 384,416 L 292,416 C 279.379,416 266.979,409.621 259.64,399.352 L 111.533,192 L 0,192 L 0,128 L 124,128 C 136.624,128 149.025,134.381 156.363,144.653 L 208,216.945 L 259.64,144.648 C 266.979,134.379 279.379,128 292,128 L 384,128 L 384,64 L 512,160 L 384,256 L 384,192 L 304.468,192 L 247.325,272 L 304.468,352 L 384,352 ZM 111.533,352 L 145.268,304.77 L 184.593,359.826 L 156.363,399.347 C 149.025,409.619 136.624,416 124,416 L 0,416 L 0,352 L 111.533,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shuffle, media control, random\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,128L 384,0l0,96 c-65.386,0-115.376,15.604-152.825,47.704c-2.625,2.25-5.142,4.55-7.581,6.887\n\t\tc 13.76,19.082, 24.358,38.758, 33.886,57.545C 281.641,178.935, 316.507,160, 384,160l0,96 l0,0 l0,96 c-108.223,0-132.563-48.68-163.378-110.311\n\t\tc-17.153-34.306-34.89-69.78-67.796-97.985C 115.376,111.604, 65.386,96,0,96l0,64 c 108.223,0, 132.563,48.68, 163.378,110.311\n\t\tc 17.153,34.306, 34.89,69.78, 67.796,97.985C 268.624,400.396, 318.615,416, 384,416l0,96 l 128-128L 384,256L 512,128zM0,352l0,64 c 65.386,0, 115.375-15.604, 152.825-47.704c 2.625-2.249, 5.142-4.55, 7.581-6.888\n\t\tc-13.76-19.081-24.359-38.758-33.886-57.545C 102.36,333.064, 67.494,352,0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,320L 160,224L 256,224L 128,96L0,224L 96,224L 96,384L 288,384L 224,320 \tzM 416,288L 416,128L 224,128L 288,192L 352,192L 352,288L 256,288L 384,416L 512,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 437.011,74.99C 390.685,28.662, 326.693,0, 256,0C 146.256,0, 52.655,69.064, 16.251,166.094l 59.938,22.477\n\t\tC 103.491,115.798, 173.692,64, 256,64c 53.020,0, 101.010,21.5, 135.753,56.247L 320,192l 192,0 L 512,0 L 437.011,74.99zM 256,448c-53.020,0-101.013-21.496-135.756-56.244L 192,320L0,320 l0,192 l 74.997-74.997C 121.32,483.334, 185.306,512, 256,512\n\t\tc 109.745,0, 203.346-69.064, 239.75-166.094l-59.938-22.477C 408.51,396.202, 338.309,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,104 C 205.874,104 161.23,127.401 132.837,163.628 L 94.449,134.837 C 131.609,86.955 190.196,56 256,56 L 256,0 L 336,80 L 256,160 L 256,104 ZM 256,408 C 306.127,408 350.771,384.599 379.163,348.372 L 417.551,377.163 C 380.391,425.045 321.804,456 256,456 L 256,512 L 176,432 L 256,352 L 256,408 ZM 100.8,256 C 100.8,306.182 125.764,350.754 164.162,378.451 L 135.37,416.841 C 85.316,380.377 52.8,321.858 52.8,256 L 0,256 L 80,176 L 160,256 L 100.8,256 ZM 459.2,256 L 512,256 L 432,336 L 352,256 L 411.2,256 C 411.2,205.818 386.236,161.246 347.838,133.549 L 376.63,95.16 C 426.684,131.623 459.2,190.141 459.2,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,16 L 480,192 L 304,192 L 368,128 L 336,96 L 224,96 L 224,32 L 368,32 L 416,80 ZM 496,480 L 320,480 L 320,304 L 384,368 L 416,336 L 416,224 L 480,224 L 480,368 L 432,416 ZM 32,496 L 32,320 L 208,320 L 144,384 L 176,416 L 288,416 L 288,480 L 144,480 L 96,432 ZM 16,32 L 192,32 L 192,208 L 128,144 L 96,176 L 96,288 L 32,288 L 32,144 L 80,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,160L 384,160L 384,256L 512,128L 384,0L 384,96L0,96L0,288L 64,288 \tzM 448,352L 128,352L 128,256L0,384L 128,512L 128,416L 512,416L 512,224L 448,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 192,160L 96,160L 96,352L 352,96 \tzM 477.088,34.912L 34.912,477.088L 69.824,512L 210.912,370.912L 352,512L 352,229.823L 512,69.823 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,160 L 96,160 L 256,0 L 256,512 L 96,352 L 0,352 L 0,160 Z M 458.426,256 L 512,309.574 L 512,352 L 469.574,352 L 416,298.426 L 362.426,352 L 320,352 L 320,309.574 L 373.574,256 L 320,202.426 L 320,160 L 362.426,160 L 416,213.574 L 469.574,160 L 512,160 L 512,202.426 L 458.426,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume0, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,160 L 96,160 L 256,0 L 256,512 L 96,352 L 0,352 L 0,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume1, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume2, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume3, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,224L 512,224L 512,288L 288,288zM 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume4, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128L 512,128L 512,192L 288,192zM 288,224L 512,224L 512,288L 288,288zM 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume5, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,32L 512,32L 512,96L 288,96zM 288,128L 512,128L 512,192L 288,192zM 288,224L 512,224L 512,288L 288,288zM 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-decrease, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 zM 256,224L 512,224L 512,288L 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-increase, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 zM 512,288 L 416,288 L 416,384 L 352,384 L 352,288 L 256,288 L 256,224 L 352,224 L 352,128 L 416,128 L 416,224 L 512,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,309.574 L 480,352 L 437.574,352 L 384,298.426 L 330.426,352 L 288,352 L 288,309.574 L 341.574,256 L 288,202.426 L 288,160 L 330.426,160 L 384,213.574 L 437.574,160 L 480,160 L 480,202.426 L 426.426,256 ZM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-low, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-medium, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"volume-high, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.020,461.020c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.373-9.372-24.568,0-33.941\n\t\tC 471.868,376.229, 496.001,317.97, 496.001,256c0-61.969-24.133-120.229-67.952-164.049c-9.372-9.373-9.372-24.569,0-33.941\n\t\tc 9.372-9.372, 24.569-9.372, 33.941,0c 52.885,52.886, 82.011,123.2, 82.011,197.99c0,74.791-29.126,145.104-82.011,197.99\n\t\tC 457.304,458.677, 451.162,461.020, 445.020,461.020zM 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-decrease, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959 C 220.070,31.959 224,37.898 224.001,49 L 224.001,463 C 224.001,474.103 220.073,480.041 214.083,480.041 C 210.281,480.041 205.649,477.647 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 C 205.649,34.351 210.28,31.959 214.082,31.959 ZM 256,224L 512,224L 512,288L 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-increase, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959 C 220.070,31.959 224,37.898 224.001,49 L 224.001,463 C 224.001,474.103 220.073,480.041 214.083,480.041 C 210.281,480.041 205.649,477.647 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 C 205.649,34.351 210.28,31.959 214.082,31.959 ZM 512,288 L 416,288 L 416,384 L 352,384 L 352,288 L 256,288 L 256,224 L 352,224 L 352,128 L 416,128 L 416,224 L 512,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 ZM 480,309.574 L 480,352 L 437.574,352 L 384,298.426 L 330.426,352 L 288,352 L 288,309.574 L 341.574,256 L 288,202.426 L 288,160 L 330.426,160 L 384,213.574 L 437.574,160 L 480,160 L 480,202.426 L 426.426,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-low, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-medium, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"volume-high, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.020,461.020c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.373-9.372-24.568,0-33.941\n\t\tC 471.868,376.229, 496.001,317.97, 496.001,256c0-61.969-24.133-120.229-67.952-164.049c-9.372-9.373-9.372-24.569,0-33.941\n\t\tc 9.372-9.372, 24.569-9.372, 33.941,0c 52.885,52.886, 82.011,123.2, 82.011,197.99c0,74.791-29.126,145.104-82.011,197.99\n\t\tC 457.304,458.677, 451.162,461.020, 445.020,461.020zM 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eject, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,384L 512,384L 512,448L0,448zM 256,64 L 512,320 L 0,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"next, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64 L 384,448 L 320,448 L 320,272 L 160,432 L 160,80 L 320,240 L 320,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"previous, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,448 L 128,64 L 192,64 L 192,240 L 352,80 L 352,432 L 192,272 L 192,448 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"last, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64 L 448,448 L 384,448 L 384,272 L 224,432 L 224,272 L 64,432 L 64,80 L 224,240 L 224,80 L 384,240 L 384,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"first, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,448 L 64,64 L 128,64 L 128,240 L 288,80 L 288,240 L 448,80 L 448,432 L 288,272 L 288,432 L 128,272 L 128,448 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,432 L 256,272 L 96,432 L 96,80 L 256,240 L 256,80 L 432,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,80 L 288,240 L 448,80 L 448,432 L 288,272 L 288,432 L 112,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stop, media control, audio, square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,64L 448,64L 448,448L 64,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pause, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,64L 224,64L 224,448L 64,448zM 288,64L 448,64L 448,448L 288,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,64L 416,256L 96,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 160,176L 272,256L 160,336 zM 288,176L 400,256L 288,336 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 352,336L 240,256L 352,176 zM 224,336L 112,256L 224,176 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stop, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 160,160L 352,160L 352,352L 160,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pause, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 160,160L 224,160L 224,352L 160,352zM 288,160L 352,160L 352,352L 288,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 192,144L 384,256L 192,368 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32l0,224 l0,224 l 256,0 L 512,32 L 256,32 z M 480,448L 288,448 l 128-128L 416,96 L 288,64l 192,0 L 480,448 zM 128,224L0,224L0,288L 128,288L 128,352L 256,256L 128,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,320 L 384,256 L 224,256 L 224,192 L 384,192 L 384,128 L 480,224 ZM 352,288 L 352,416 L 192,416 L 192,512 L 0,416 L 0,0 L 352,0 L 352,160 L 320,160 L 320,32 L 64,32 L 192,96 L 192,384 L 320,384 L 320,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, sign in, log in, login\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256 L 32,256 L 32,192 L 192,192 L 192,128 L 288,224 L 192,320 ZM 512,0 L 512,416 L 320,512 L 320,416 L 128,416 L 128,288 L 160,288 L 160,384 L 320,384 L 320,96 L 448,32 L 160,32 L 160,160 L 128,160 L 128,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,288 L 160,288 L 160,224 L 384,224 L 384,128 L 512,256 L 384,384 ZM 320,320 L 320,512 L 0,512 L 0,0 L 320,0 L 320,192 L 288,192 L 288,64 L 128,64 L 128,448 L 288,448 L 288,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, sign in, log in, login\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0 L 480,512 L 96,512 L 96,352 L 128,352 L 128,448 L 352,448 L 352,64 L 128,64 L 128,160 L 96,160 L 96,0 ZM 192,288 L 0,288 L 0,224 L 192,224 L 192,128 L 320,256 L 192,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,272L 352,128L 352,224L 160,224L 160,320L 352,320L 352,416 \tzM 416,96L 416,64 c0-17.6-14.4-32-32-32L 32,32 C 14.4,32,0,46.4,0,64l0,416 c0,17.6, 14.399,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32l0-32 L 64,448 L 64,96 \n\t\tL 416,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, sign in, log in, login\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,32L 96,32 c-17.6,0-32,14.4-32,32l0,128 l 64,0 L 128,96 l 288,0 l0,352 L 128,448 l0-96 L 64,352 l0,128 c0,17.6, 14.399,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32L 480,64 \n\t\tC 480,46.4, 465.6,32, 448,32zM 192,416L 336,272L 192,128L 192,224L0,224L0,320L 192,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,160L 352,160L 352,0L 160,0L 160,160L0,160L0,352L 160,352L 160,512L 352,512L 352,352L 512,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus, minimize, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,160L 512,160L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,192L 320,192 L 320,16 c0-8.836-7.164-16-16-16l-96,0 c-8.836,0-16,7.164-16,16l0,176 L 16,192 c-8.836,0-16,7.164-16,16l0,96 \n\tc0,8.836, 7.164,16, 16,16l 176,0 l0,176 c0,8.836, 7.164,16, 16,16l 96,0 c 8.836,0, 16-7.164, 16-16L 320,320 l 176,0 c 8.836,0, 16-7.164, 16-16l0-96 \n\tC 512,199.164, 504.836,192, 496,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus, minimize, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,208l0,96 c0,8.836, 7.164,16, 16,16l 480,0 c 8.836,0, 16-7.164, 16-16l0-96 c0-8.836-7.164-16-16-16L 16,192 C 7.164,192,0,199.164,0,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spell-check, correct\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,128l 64,0 l0,96 l 32,0 L 160,32 c0-17.6-14.4-32-32-32L 64,0 C 46.4,0, 32,14.4, 32,32l0,192 l 32,0 L 64,128 z M 64,32l 64,0 l0,64 L 64,96 L 64,32 z M 480,32L 480,0 l-96,0 \n\tc-17.601,0-32,14.4-32,32l0,160 c0,17.6, 14.399,32, 32,32l 96,0 l0-32 l-96,0 L 384,32 L 480,32 z M 320,80L 320,32 c0-17.6-14.4-32-32-32l-96,0 l0,224 l 96,0 \n\tc 17.6,0, 32-14.4, 32-32l0-48 c0-17.6-4.4-32-22-32C 315.6,112, 320,97.6, 320,80z M 288,192l-64,0 l0-64 l 64,0 L 288,192 z M 288,96l-64,0 L 224,32 l 64,0 L 288,96 zM 416,288 L 208,512 L 96,368 L 137,333 L 208,407 L 384,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 438.975,107.787 L 214.724,301.201 L 195.974,317.373 L 176.042,302.638 L 74.423,227.513 L 52.682,248.944 L 194.835,400.742 L 458.905,127.432 L 438.975,107.787 Z M 440.692,56.124 L 440.692,56.124 L 465.651,80.723 L 485.581,100.368 L 512.375,126.779 L 486.233,153.836 L 222.164,427.147 L 194.406,455.876 L 167.099,426.717 L 24.946,274.919 L -0.372,247.883 L 26.006,221.882 L 47.748,200.451 L 70.887,177.642 L 97.013,196.957 L 194.148,268.768 L 414.156,79.012 L 440.692,56.124 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 491.529,32c-167.25,126.583-327.651,295.9-327.651,295.9L 48.288,224L0,273.189\n\t\t\tC 47.508,317.84, 157.581,435.788, 194.816,480C 299.611,304.91, 408.555,174.332, 512,54.923L 491.529,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 198.717,458.848l-198.934-195.8l 98.689-97.135l 100.245,98.666l 214.81-211.426l 98.689,97.135L 198.717,458.848z\n\t\t M 53.956,263.048l 144.762,142.481l 259.328-255.241l-44.518-43.816l-214.81,211.426L 98.473,219.231L 53.956,263.048z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,64L 192,304L 80,192L0,272L 192,464L 512,144 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 286.745,180 L 278.745,188 L 233.255,188 L 225.254,180 ZM 310.744,156 L 201.254,156 L 193.254,148 L 318.744,148 ZM 294.745,172 L 217.254,172 L 209.254,164 L 302.744,164 ZM 326.744,140 L 185.254,140 L 177.254,132 L 334.744,132 ZM 249.255,204 L 241.255,196 L 270.745,196 L 262.745,204 ZM 241.255,316 L 249.255,308 L 262.745,308 L 270.745,316 ZM 209.254,348 L 217.254,340 L 294.745,340 L 302.744,348 ZM 185.254,372 L 326.744,372 L 334.744,380 L 177.254,380 ZM 201.254,356 L 310.744,356 L 318.744,364 L 193.254,364 ZM 233.255,324 L 278.745,324 L 286.745,332 L 225.254,332 ZM 256,32C 132.289,32, 32,132.288, 32,256s 100.289,224, 224,224c 123.712,0, 224-100.288, 224-224S 379.712,32, 256,32z M 448,256\n\t\tc0,1.336-0.021,2.668-0.049,4L 305.255,260 l 8,8l 134.364,0 c-0.164,2.678-0.378,5.345-0.65,8L 321.255,276 l 8,8L 445.98,284 \n\t\tc-0.389,2.682-0.843,5.347-1.343,8L 337.255,292 l 8.001,8l 97.694,0 c-0.626,2.684-1.303,5.353-2.043,8l-87.651,0 l 8,8l 77.226,0 \n\t\tc-0.882,2.689-1.828,5.355-2.828,8l-66.397,0 l 8,8l 55.16,0 c-1.161,2.694-2.386,5.361-3.671,8l-43.489,0 l 5.372,5.372L 388,348l 36.609,0 \n\t\tc-1.479,2.701-3.023,5.368-4.636,8L 380,356 l-8,8l 42.796,0 c-1.852,2.71-3.776,5.377-5.773,8L 364,372 l-8,8l 46.591,0 \n\t\tc-2.31,2.721-4.694,5.392-7.167,8L 348,388 l-2.628,2.628L 342.744,388l-173.49,0 l-2.627,2.627L 164,388l-47.423,0 \n\t\tc-2.473-2.608-4.858-5.279-7.167-8L 156,380 l-8-8l-45.022,0 c-1.997-2.623-3.922-5.29-5.773-8L 140,364 l-8-8L 92.026,356 \n\t\tc-1.612-2.632-3.157-5.299-4.636-8L 124,348 l-2.628-2.628l 5.372-5.372L 83.255,340 c-1.286-2.639-2.51-5.306-3.671-8l 55.16,0 l 8-8L 76.347,324 \n\t\tc-1-2.645-1.947-5.311-2.828-8l 77.226,0 l 8-8L 71.093,308 c-0.74-2.647-1.417-5.316-2.043-8l 97.695,0 l 8-8L 67.362,292 \n\t\tc-0.5-2.653-0.954-5.318-1.343-8l 116.726,0 l 8-8L 65.032,276 c-0.273-2.655-0.487-5.322-0.651-8l 134.364,0 l 8-8L 64.049,260 \n\t\tc-0.027-1.332-0.049-2.664-0.049-4s 0.021-2.668, 0.049-4l 142.696,0 l-8-8L 64.381,244 c 0.164-2.677, 0.377-5.345, 0.651-8l 125.713,0 l-8-8L 66.019,228 \n\t\tc 0.39-2.682, 0.843-5.347, 1.343-8l 107.383,0 l-8-8L 69.049,212 c 0.626-2.684, 1.303-5.352, 2.043-8l 87.653,0 l-8-8L 73.519,196 \n\t\tc 0.881-2.689, 1.829-5.355, 2.829-8l 66.399,0 l-8-8L 79.584,180 c 1.162-2.694, 2.386-5.361, 3.671-8l 43.491,0 l-5.373-5.373L 124,164L 87.391,164 \n\t\tc 1.479-2.701, 3.024-5.368, 4.636-8L 132,156 l 8-8L 97.205,148 c 1.851-2.71, 3.776-5.377, 5.773-8L 148,140 l 8-8l-46.59,0 c 2.309-2.721, 4.694-5.392, 7.167-8\n\t\tL 164,124 l 2.627-2.627l 2.627,2.627l 173.49,0 l 2.628-2.628L 348,124l 47.424,0 c 2.473,2.608, 4.857,5.279, 7.167,8L 356,132 l 8,8l 45.021,0 \n\t\tc 1.997,2.623, 3.923,5.29, 5.773,8l-42.794,0 l 8,8l 39.973,0 c 1.612,2.632, 3.157,5.299, 4.636,8l-36.608,0 l 2.627,2.627L 385.255,172l 43.489,0 \n\t\tc 1.286,2.639, 2.511,5.306, 3.672,8l-55.161,0 l-8,8l 66.398,0 c 1,2.645, 1.946,5.311, 2.828,8l-77.227,0 l-8,8l 87.652,0 \n\t\tc 0.74,2.648, 1.417,5.316, 2.043,8l-97.695,0 l-8,8l 107.383,0 c 0.5,2.653, 0.954,5.318, 1.343,8L 329.255,228 l-8,8l 125.714,0 \n\t\tc 0.272,2.655, 0.486,5.323, 0.65,8L 313.255,244 l-8,8l 142.696,0 C 447.979,253.332, 448,254.664, 448,256z M 188.934,436\n\t\tc-6.289-2.34-12.45-5.005-18.459-8l 171.050,0 c-6.010,2.995-12.171,5.66-18.459,8L 188.934,436 z M 295.231,444\n\t\tc-12.767,2.637-25.894,4-39.231,4s-26.465-1.363-39.231-4L 295.231,444 z M 156.042,420c-4.096-2.507-8.106-5.176-12.024-8l 223.963,0 \n\t\tc-3.917,2.824-7.927,5.493-12.023,8L 156.042,420 z M 133.674,404c-3.088-2.562-6.106-5.23-9.053-8L 387.38,396 \n\t\tc-2.947,2.77-5.965,5.438-9.054,8L 133.674,404 z M 323.066,76c 6.288,2.339, 12.449,5.005, 18.459,8l-171.050,0 \n\t\tc 6.009-2.995, 12.17-5.661, 18.459-8L 323.066,76 z M 216.769,68c 12.767-2.637, 25.894-4, 39.231-4s 26.465,1.363, 39.231,4L 216.769,68 z\n\t\t M 355.958,92c 4.097,2.507, 8.106,5.175, 12.023,8L 144.019,100 c 3.918-2.825, 7.928-5.493, 12.024-8L 355.958,92 z M 378.326,108\n\t\tc 3.089,2.562, 6.106,5.23, 9.054,8L 124.621,116 c 2.947-2.77, 5.965-5.438, 9.053-8L 378.326,108 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 380.628,335.372 L 335.372,380.628 L 256,301.255 L 176.627,380.627 L 131.372,335.372 L 210.745,256 L 131.373,176.627 L 176.627,131.373 L 256,210.745 L 335.372,131.372 L 380.628,176.627 L 301.255,256 L 380.628,335.372 ZM 256,74 C 207.386,74 161.682,92.931 127.307,127.307 C 92.931,161.682 74,207.386 74,256 C 74,304.614 92.932,350.318 127.307,384.693 C 161.682,419.068 207.386,438 256,438 C 304.614,438 350.318,419.068 384.693,384.693 C 419.068,350.318 438,304.614 438,256 C 438,207.386 419.068,161.682 384.693,127.307 C 350.318,92.931 304.614,74 256,74 Z M 256,32 L 256,32 C 379.712,32 480,132.288 480,256 C 480,379.712 379.712,480 256,480 C 132.289,480 32,379.712 32,256 C 32,132.288 132.289,32 256,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32C 132.289,32, 32,132.288, 32,256s 100.289,224, 224,224c 123.712,0, 224-100.288, 224-224S 379.712,32, 256,32z\n\t M 390.628,345.372l-45.256,45.256L 256,301.255l-89.373,89.372l-45.255-45.255L 210.745,256l-89.372-89.373l 45.254-45.254L 256,210.745\n\tl 89.372-89.373l 45.256,45.255L 301.255,256L 390.628,345.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 390.628,345.372 L 345.372,390.628 L 256,301.255 L 166.627,390.627 L 121.372,345.372 L 210.745,256 L 121.373,166.627 L 166.627,121.373 L 256,210.745 L 345.372,121.372 L 390.628,166.627 L 301.255,256 L 390.628,345.372 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.331,411.33c-0.002-0.002-0.004-0.004-0.006-0.005L 352.003,256l 155.322-155.325c 0.002-0.002, 0.004-0.003, 0.006-0.005\n\t\tc 1.672-1.673, 2.881-3.627, 3.656-5.708c 2.123-5.688, 0.912-12.341-3.662-16.915L 433.952,4.674c-4.574-4.573-11.225-5.783-16.914-3.66\n\t\tc-2.080,0.775-4.035,1.984-5.709,3.655c0,0.002-0.002,0.003-0.004,0.005L 256.001,160L 100.677,4.675\n\t\tc-0.002-0.002-0.003-0.003-0.005-0.005c-1.673-1.671-3.627-2.88-5.707-3.655c-5.69-2.124-12.341-0.913-16.915,3.66L 4.676,78.049\n\t\tc-4.574,4.574-5.784,11.226-3.661,16.914c 0.776,2.080, 1.985,4.036, 3.656,5.708c 0.002,0.001, 0.003,0.003, 0.005,0.005L 160.001,256\n\t\tL 4.676,411.326c-0.001,0.002-0.003,0.003-0.004,0.005c-1.671,1.673-2.88,3.627-3.657,5.707c-2.124,5.688-0.913,12.341, 3.661,16.915\n\t\tl 73.374,73.373c 4.575,4.574, 11.226,5.784, 16.915,3.661c 2.080-0.776, 4.035-1.985, 5.708-3.656c 0.001-0.002, 0.003-0.003, 0.005-0.005\n\t\tl 155.324-155.325l 155.324,155.325c 0.002,0.001, 0.004,0.003, 0.006,0.004c 1.674,1.672, 3.627,2.881, 5.707,3.657\n\t\tc 5.689,2.123, 12.342,0.913, 16.914-3.661l 73.373-73.374c 4.574-4.574, 5.785-11.227, 3.662-16.915\n\t\tC 510.212,414.957, 509.003,413.003, 507.331,411.33z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spam, notice, notification, exclamation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,368M 368,0L 144,0 L0,144l0,224 l 144,144l 224,0 l 144-144L 512,144 L 368,0z M 288,416l-64,0 l0-64 l 64,0 L 288,416 z M 288,288l-64,0 L 224,96 l 64,0 L 288,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cancel, close, remove, delete\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368,0L 144,0 L0,144l0,224 l 144,144l 224,0 l 144-144L 512,144 L 368,0z M 392.897,368.006l-24.892,24.891c-6.846,6.845-18.046,6.845-24.89,0\n\tL 256,305.779l-87.115,87.117c-6.845,6.844-18.046,6.844-24.89,0l-24.891-24.892c-6.845-6.846-6.845-18.046,0-24.89L 206.22,256\n\tl-87.116-87.115c-6.845-6.845-6.845-18.046,0-24.89l 24.891-24.891c 6.844-6.845, 18.045-6.845, 24.89,0L 256,206.22l 87.116-87.116\n\tc 6.844-6.845, 18.044-6.845, 24.89,0l 24.891,24.891c 6.845,6.844, 6.845,18.045,0,24.89L 305.781,256l 87.116,87.116\n\tC 399.741,349.96, 399.741,361.16, 392.897,368.006zM 512,368\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark-circle, tick, correct\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 208,416L 102,278l 47-49l 59,75\n\tl 185-151l 23,23L 208,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark-circle, tick, correct\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 208,416L 102,278L 149,229L 208,304L 393,153L 416,176 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cancel-circle, close, remove, delete\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 384,173.255L 301.256,256\n\tL 384,338.744L 384,384 l-45.256,0 L 256,301.256L 173.255,384L 128,384 l0-45.256 L 210.745,256L 128,173.255L 128,128 l 45.255,0 L 256,210.745L 338.744,128L 384,128 \n\tL 384,173.255 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cancel-circle, close, remove, delete\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 352,306.744 L 352,352 L 306.744,352 L 256,301.256 L 205.255,352 L 160,352 L 160,306.744 L 210.745,256 L 160,205.255 L 160,160 L 205.255,160 L 256,210.745 L 306.744,160 L 352,160 L 352,205.255 L 301.256,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blocked, cancel, stop, forbidden, denied, banned\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256c0,141.385, 114.615,256, 256,256c 141.386,0, 256-114.615, 256-256S 397.386,0, 256,0C 114.615,0,0,114.615,0,256z M 448,256\n\tc0,36.618-10.256,70.84-28.044,99.956L 156.045,92.044C 185.16,74.255, 219.382,64, 256,64C 362.038,64, 448,149.961, 448,256z M 64,256\n\tc0-36.618, 10.256-70.839, 28.045-99.956l 263.911,263.912C 326.839,437.745, 292.618,448, 256,448C 149.962,448, 64,362.039, 64,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"info, information\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 224,96l 64,0 l0,64 l-64,0 L 224,96 z\n\t M 320,416L 192,416 l0-32 l 32,0 L 224,256 l-32,0 l0-32 l 96,0 l0,160 l 32,0 L 320,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"info, information\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 224,128L 288,128L 288,192L 224,192zM 320,384L 192,384L 192,352L 224,352L 224,256L 192,256L 192,224L 288,224L 288,352L 320,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus-circle, minus, remove, delete, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 416,288L 96,288 l0-64 l 320,0 L 416,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus-circle, minus, remove, delete, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 128,224L 384,224L 384,288L 128,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus-circle, plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,288l0,128 l-64,0 L 224,288 L 96,288 l0-64 \n\tl 128,0 L 224,96 l 64,0 l0,128 l 128,0 l0,64 L 288,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus-circle, plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 384,288 L 288,288 L 288,384 L 224,384 L 224,288 L 128,288 L 128,224 L 224,224 L 224,128 L 288,128 L 288,224 L 384,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,416L 288,416L 288,512L 192,512zM 400,32 C 426.51,32 448,53.49 448,80 L 448,224 L 288,320 L 288,384 L 192,384 L 192,288 L 352,192 L 352,128 L 96,128 L 96,32 L 400,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 288,416l-64,0 l0-64 l 64,0 \n\tL 288,416 z M 384,224c0,35.29-28.71,64-64,64l-31.942,0 c-0.020,0.017-0.041,0.038-0.058,0.058L 288,320 l-64,0 l0-32 c0-35.29, 28.71-64, 64-64l 31.942,0 \n\tc 0.020-0.017, 0.041-0.038, 0.058-0.057l0-63.885 c-0.017-0.020-0.037-0.041-0.058-0.058L 160,160 L 160,96 l 160,0 c 35.29,0, 64,28.71, 64,64L 384,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,96 C 355.29,96 384,124.71 384,160 L 384,224 C 384,259.29 355.29,288 320,288 L 288.059,288 C 288.038,288.018 288.018,288.038 288,288.059 L 288,320 L 224,320 L 224,288 C 224,252.71 252.71,224 288,224 L 319.942,224 C 319.962,223.984 319.983,223.963 320,223.943 L 320,160.058 C 319.983,160.038 319.963,160.017 319.942,160 L 160,160 L 160,96 L 320,96 ZM 224,352L 288,352L 288,416L 224,416zM 256,48 C 200.441,48 148.208,69.636 108.922,108.922 C 69.636,148.208 48,200.441 48,256 C 48,311.559 69.636,363.792 108.922,403.078 C 148.208,442.364 200.441,464 256,464 C 311.559,464 363.792,442.364 403.078,403.078 C 442.364,363.792 464,311.559 464,256 C 464,200.441 442.364,148.208 403.078,108.922 C 363.792,69.636 311.559,48 256,48 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 288,416l-64,0 l0-64 l 64,0 \n\tL 288,416 z M 384,256l-96,64l-64,0 l0-32 l 96-64l0-32 L 160,192 l0-64 l 192,0 c 17.673,0, 32,14.327, 32,32L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,352L 288,352L 288,416L 224,416zM 352,128 C 369.673,128 384,142.327 384,160 L 384,256 L 288,320 L 224,320 L 224,288 L 320,224 L 320,192 L 160,192 L 160,128 L 352,128 ZM 256,48 C 200.441,48 148.208,69.636 108.922,108.922 C 69.636,148.208 48,200.441 48,256 C 48,311.559 69.636,363.792 108.922,403.078 C 148.208,442.364 200.441,464 256,464 C 311.559,464 363.792,442.364 403.078,403.078 C 442.364,363.792 464,311.559 464,256 C 464,200.441 442.364,148.208 403.078,108.922 C 363.792,69.636 311.559,48 256,48 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"notification, warning, notice, note, exclamation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,416l-64,0 l0-64 l 64,0 L 288,416 z\n\t M 288,288l-64,0 L 224,96 l 64,0 L 288,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"notification, warning, notice, note, exclamation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,48 C 200.441,48 148.208,69.636 108.922,108.922 C 69.636,148.208 48,200.441 48,256 C 48,311.559 69.636,363.792 108.922,403.078 C 148.208,442.364 200.441,464 256,464 C 311.559,464 363.792,442.364 403.078,403.078 C 442.364,363.792 464,311.559 464,256 C 464,200.441 442.364,148.208 403.078,108.922 C 363.792,69.636 311.559,48 256,48 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 ZM 224,352L 288,352L 288,416L 224,416zM 224,96L 288,96L 288,288L 224,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"warning, sign\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 504.978,457.88L 286.441,22.324C 278.070,7.441, 267.035,0, 256,0s-22.070,7.441-30.442,22.324L 7.021,457.88\n\tC-9.722,487.646, 4.521,512, 38.673,512l 434.654,0 C 507.478,512, 521.723,487.646, 504.978,457.88z M 256,448c-17.673,0-32-14.327-32-32\n\tc0-17.674, 14.327-32, 32-32c 17.674,0, 32,14.326, 32,32C 288,433.673, 273.674,448, 256,448z M 278,352l-44,0 l-10-128\n\tc0-17.673, 14.327-32, 32-32s 32,14.327, 32,32L 278,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"warning, sign\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,79.362 L 83.583,448 L 428.417,448 L 256,79.362 Z M 256,0 L 256,0 C 267.035,0 278.070,7.441 286.442,22.324 L 504.978,457.88 C 521.723,487.646 507.478,512 473.327,512 L 38.673,512 C 4.521,512 -9.722,487.646 7.021,457.88 L 225.558,22.324 C 233.93,7.441 244.965,0 256,0 ZM 224,384A32,32 2520 1 1 288,384A32,32 2520 1 1 224,384zM 256,192 C 273.673,192 288,206.327 288,224 L 278,320 L 234,320 L 224,224 C 224,206.327 238.327,192 256,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"resize, dots\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 480,32L 480,96L 416,96zM 416,160L 480,160L 480,224L 416,224zM 288,160L 352,160L 352,224L 288,224zM 416,288L 480,288L 480,352L 416,352zM 288,288L 352,288L 352,352L 288,352zM 160,288L 224,288L 224,352L 160,352zM 288,416L 352,416L 352,480L 288,480zM 160,416L 224,416L 224,480L 160,480zM 32,416L 96,416L 96,480L 32,480zM 416,416L 480,416L 480,480L 416,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"resize, dots\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128L 416,128L 416,160L 384,160zM 320,192L 352,192L 352,224L 320,224zM 320,256L 352,256L 352,288L 320,288zM 320,320L 352,320L 352,352L 320,352zM 256,256L 288,256L 288,288L 256,288zM 256,320L 288,320L 288,352L 256,352zM 192,320L 224,320L 224,352L 192,352zM 384,192L 416,192L 416,224L 384,224zM 384,256L 416,256L 416,288L 384,288zM 384,320L 416,320L 416,352L 384,352zM 384,384L 416,384L 416,416L 384,416zM 320,384L 352,384L 352,416L 320,416zM 256,384L 288,384L 288,416L 256,416zM 192,384L 224,384L 224,416L 192,416zM 128,384L 160,384L 160,416L 128,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"move, drag, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L 384,160L 384,224L 288,224L 288,128L 352,128L 256,0L 160,128L 224,128L 224,224L 128,224L 128,160L0,256L 128,352L 128,288L 224,288L 224,384L 160,384L 256,512L 352,384L 288,384L 288,288L 384,288L 384,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-play, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 288,128L 448,224L 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-music, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 272,352 C 245.49,352 224,330.51 224,304 C 224,277.49 245.49,256 272,256 C 277.611,256 282.994,256.972 288,258.742 L 288,128 L 448,96 L 448,272 C 448,298.51 426.51,320 400,320 C 373.49,320 352,298.51 352,272 C 352,245.491 373.49,224 400,224 C 405.611,224 410.994,224.972 416,226.742 L 416,166.4 L 320,185.6 L 320,304 C 320,330.51 298.51,352 272,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, files, paper, pages, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 224,228L 448,228L 448,236L 224,236zM 224,244L 448,244L 448,252L 224,252zM 224,276L 448,276L 448,284L 224,284zM 224,260L 448,260L 448,268L 224,268zM 224,292L 448,292L 448,300L 224,300zM 224,340L 448,340L 448,348L 224,348zM 224,308L 448,308L 448,316L 224,316zM 224,324L 448,324L 448,332L 224,332zM 224,148L 448,148L 448,156L 224,156zM 224,116L 448,116L 448,124L 224,124zM 224,132L 448,132L 448,140L 224,140zM 224,100L 448,100L 448,108L 224,108zM 224,212L 448,212L 448,220L 224,220zM 224,196L 448,196L 448,204L 224,204zM 224,164L 448,164L 448,172L 224,172zM 224,180L 448,180L 448,188L 224,188z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-user, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 416,288 L 416,320 L 256,320 L 256,288 C 256,270.4 270.4,256 288,256 L 336,256 L 384,256 C 401.6,256 416,270.4 416,288 ZM 288,208A48,48 2520 1 1 384,208A48,48 2520 1 1 288,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-diamonds, files, paper, pages, cards, diamonds\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 336,352 L 256,224 L 336,96 L 416,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-hearts, files, paper, pages, cards, hearts\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 445.631,173.315 C 447.161,177.586 448,183.082 448,190 C 448,270 336,270 336,350 C 336,270 224,270 224,190 C 224,183.083 224.838,177.587 226.369,173.316 C 233.599,148.3 252.654,130 280,130 C 302.238,130 325.636,149.108 336,167.082 C 346.364,149.108 369.762,130 392,130 C 419.345,130 438.4,148.3 445.631,173.315 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-spades, files, paper, pages, cards, spades\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 336,66 C 336,156.5 448,160 448,240 C 448,266.51 426.51,288 400,288 C 373.49,288 352,266.51 352,240 L 352,272 C 352,304 352,336 384,336 L 384,352 L 288,352 L 288,336 C 320,336 320,304 320,272 L 320,240 C 320,266.51 298.51,288 272,288 C 245.49,288 224,266.51 224,240 C 224,160 336,156.5 336,66 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-clubs, files, paper, pages, cards, clubs\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 224,240A48,48 2520 1 1 320,240A48,48 2520 1 1 224,240zM 352,240A48,48 2520 1 1 448,240A48,48 2520 1 1 352,240zM 384,155 C 384,169.896 377.209,183.198 366.56,192 C 352,207.5 352,224 352,240 L 352,272 C 352,304 352,336 384,336 L 384,352 L 288,352 L 288,336 C 320,336 320,304 320,272 L 320,240 C 320,224 320,207.5 305.44,192 C 294.791,183.198 288,169.896 288,155 C 288,128.49 309.49,107 336,107 C 362.51,107 384,128.49 384,155 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-list, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13zM 224,96L 448,96L 448,128L 224,128zM 224,160L 448,160L 448,192L 224,192zM 224,224L 448,224L 448,256L 224,256zM 224,288L 384,288L 384,320L 224,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-checkmark, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 l 81.375,0 \n\tL 154.316,428.235z M 192,384L 192,64 l 288,0 l0,80 l-22.628-22.626L 320,242.745l-73.373-57.372l-29.254,29.255L 320,333.255l 160-175.364L 480,384 L 192,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-cancel, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 l 81.375,0 \n\tL 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 416,286.059 L 416,320 L 382.059,320 L 336,273.941 L 289.941,320 L 256,320 L 256,286.059 L 302.059,240 L 256,193.941 L 256,160 L 289.941,160 L 336,206.059 L 382.059,160 L 416,160 L 416,193.941 L 369.941,240 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-up, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13zM 208,224 L 336,96 L 464,224 L 384,224 L 384,320 L 288,320 L 288,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-down, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13zM 464,224 L 336,352 L 208,224 L 288,224 L 288,128 L 384,128 L 384,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-picture, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 320,352 L 224,352 L 256,224 L 288,224 L 362.667,298.667 L 384,256 L 416,256 L 448,352 ZM 352,160A32,32 2520 1 1 416,160A32,32 2520 1 1 352,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-star, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 336,122.046L 358.89,192.495L 432.964,192.495L 373.037,236.034L 395.927,306.482L 336,262.942L 276.073,306.482L 298.963,236.034L 239.036,192.495L 313.11,192.495 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-minus, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 256,224L 416,224L 416,256L 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-plus, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 416,256 L 352,256 L 352,320 L 320,320 L 320,256 L 256,256 L 256,224 L 320,224 L 320,160 L 352,160 L 352,224 L 416,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-empty, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hand, stop\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 470.667,201.334L 470.667,201.334c-12.445-12.445-32.811-12.445-45.255-0.001l-13.917,13.917\n\tC 389.493,237.252, 352,270.428, 352,224L 352,64 c0-17.6-14.4-32-32-32s-32,14.4-32,32l0,160 c0,8.837-7.164,16-16,16s-16-7.163-16-16L 256,32 \n\tc0-17.6-14.4-32-32-32c-17.6,0-32,14.4-32,32l0,192 c0,8.837-7.164,16-16,16s-16-7.163-16-16L 160,64 c0-17.6-14.4-32-32-32S 96,46.4, 96,64\n\tl0,160 c0,8.837-7.164,16-16,16s-16-7.163-16-16l0-96 c0-17.6-14.4-32-32-32S0,110.4,0,128l0,96 l0,64 c0,64, 32,224, 192,224\n\ts 188.627-175.373, 269.255-256l 9.412-9.412C 483.112,234.144, 483.112,213.778, 470.667,201.334z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pointer, touch, drag, finger, hand\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 386.597,176l-16,0 l-48-16l-16,0 l-48-16L 256,144 L 256,32 l-96,0 l0,259.808 L 103.494,224L0,224 l 115.293,185.921L 217.373,512l 176.516,0 L 448,403.777\n\tl0-207.31 L 386.597,176z M 416,396.223L 374.112,480L 230.628,480 l-89.921-89.921L 60.26,256l 28.247,0 L 192,384L 192,64 l 32,0 l0,224 l 32,0 L 256,176 l 32,10.667L 288,288 \n\tl 32,0 l0-96 l 32,10.667L 352,304 l 32,0 l0-96 l 32,10.667L 416,396.223 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-left, finger, direction, hand, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,192L 237.904,192 C 226.676,151.545, 221,141.704, 221,99c0-36.944 30.056-67 67-67c 36.943,0 67,30.056 67,67\n\tc0,51.986 19.361,75.975 57.545,102.855c 1.134,0.798 2.289,1.581 3.455,2.355L 416,160 L 512,160 l0,320 l-96,0 l0-28.502 \n\tc -31.831,2.151, -40.56,11.096, -51.223,22.042c -8.226,8.445, -18.464,18.956, -37.015,26.638C 308.285,508.243, 282.939,512, 248,512l-24,0 l-8.49,0 \n\tc -30.969,0, -56.163-25.634, -56.163-57.143c0-5.235 0.712-10.438 2.095-15.45c -9.855-10.498, -15.482-24.501, -15.482-39.407\n\tc0-5.234 0.712-10.438 2.095-15.449c -9.855-10.499, -15.482-24.503, -15.482-39.408c0-9.018 2.071-17.55 5.744-25.143L 64,320 \n\tc -35.347,0, -64-28.653, -64-64C 0,220.654, 28.653,192, 64,192z M 464,448c 8.836,0 16-7.163 16-16s -7.164-16, -16-16s -16,7.163, -16,16\n\tS 455.164,448, 464,448z M 67,288L 191.734,288 L 195,288 l0,32 l-3.266,0 c -13.323,0, -24.163,11.279, -24.163,25.143c0,8.685 4.234,16.645 11.327,21.293\n\tl 12.394,8.122l -7.149,12.979c -2.083,3.781, -3.184,8.091, -3.184,12.463c0,8.685 4.234,16.644 11.326,21.291l 12.395,8.122l -7.149,12.98\n\tc -2.083,3.781, -3.184,8.091, -3.184,12.464c0,13.863 10.84,25.143 24.163,25.143L 227,480 l 24,0 c 63.281,0 76.044-19.103 89.556-32.975\n\tc 13.794-14.16 29.245-29.992 75.444-33.364L 416,246.474 c -7.878-4.132, -15.35-8.632, -22.329-13.545C 345.475,199, 320,163.156, 320,99\n\tc0-15.991, -15.010-29, -31-29s -30,13.009, -30,29c0,42.83 6.207,52.706 18.48,93c 3.062,11.371 5.961,22.635 7.938,31.667L 67,224\n\tc -17.645,0, -32,14.355, -32,32C 35,273.645, 49.355,288, 67,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-down, finger, direction, hand, down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,448L 160,274.096 C 119.545,285.324, 109.704,291, 67,291c -36.944,0 -67-30.056 -67-67c0-36.943 30.056-67 67-67\n\tc 51.986,0 75.975-19.361 102.855-57.545c 0.798-1.134 1.581-2.289 2.355-3.455L 128,96 L 128,0 l 320,0 l 0,96 l -28.502,0 \n\tc 2.151,31.831, 11.096,40.56, 22.042,51.223c 8.445,8.226, 18.956,18.464, 26.638,37.015C 476.243,203.715, 480,229.061, 480,264l 0,24 l 0,8.49 \n\tc 0,30.969, -25.634,56.163, -57.143,56.163c -5.235,0 -10.438-0.712 -15.45-2.095c -10.498,9.855, -24.501,15.482, -39.407,15.482\n\tc -5.234,0 -10.438-0.712 -15.449-2.095c -10.499,9.855, -24.503,15.482, -39.408,15.482c -9.018,0 -17.55-2.071 -25.143-5.744L 288,448 \n\tc 0,35.347, -28.653,64, -64,64C 188.654,512, 160,483.347, 160,448z M 416,48c0-8.836 -7.163-16 -16-16s -16,7.164, -16,16s 7.163,16, 16,16\n\tS 416,56.836, 416,48z M 256,445L 256,320.266 L 256,317 l 32,0 l 0,3.266 c 0,13.323, 11.279,24.163, 25.143,24.163c 8.685,0 16.645-4.234 21.293-11.327\n\tl 8.122-12.394l 12.979,7.149c 3.781,2.083, 8.091,3.184, 12.463,3.184c 8.685,0 16.644-4.234 21.291-11.326l 8.122-12.395l 12.98,7.149\n\tc 3.781,2.083, 8.091,3.184, 12.464,3.184c 13.863,0 25.143-10.84 25.143-24.163L 448,285 l0-24 c0-63.281 -19.103-76.044 -32.975-89.556\n\tc -14.16-13.794 -29.992-29.245 -33.364-75.444L 214.474,96 c -4.132,7.878, -8.632,15.35, -13.545,22.329C 167,166.525, 131.156,192, 67,192\n\tc -15.991,0, -29,15.010, -29,31s 13.009,30, 29,30c 42.83,0 52.706-6.207 93-18.48c 11.371-3.062 22.635-5.961 31.667-7.938L 192,445\n\tc 0,17.645, 14.355,32, 32,32C 241.645,477, 256,462.645, 256,445z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-right, finger, direction, hand, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,192L 274.096,192 C 285.324,151.545, 291,141.704, 291,99c0-36.944-30.056-67-67-67c-36.943,0-67,30.056-67,67\n\tc0,51.986-19.361,75.975-57.545,102.855c-1.134,0.798-2.289,1.581-3.455,2.355L 96,160 L0,160 l0,320 l 96,0 l0-28.502 \n\tc 31.831,2.151, 40.56,11.096, 51.223,22.042c 8.226,8.445, 18.464,18.956, 37.015,26.638C 203.715,508.243, 229.061,512, 264,512l 24,0 l 8.49,0 \n\tc 30.969,0, 56.163-25.634, 56.163-57.143c0-5.235-0.712-10.438-2.095-15.45c 9.855-10.498, 15.482-24.501, 15.482-39.407\n\tc0-5.234-0.712-10.438-2.095-15.449c 9.855-10.499, 15.482-24.503, 15.482-39.408c0-9.018-2.071-17.55-5.744-25.143L 448,320 \n\tc 35.347,0, 64-28.653, 64-64C 512,220.654, 483.347,192, 448,192z M 48,448c-8.836,0-16-7.163-16-16s 7.164-16, 16-16s 16,7.163, 16,16\n\tS 56.836,448, 48,448z M 445,288L 320.266,288 L 317,288 l0,32 l 3.266,0 c 13.323,0, 24.163,11.279, 24.163,25.143c0,8.685-4.234,16.645-11.327,21.293\n\tl-12.394,8.122l 7.149,12.979c 2.083,3.781, 3.184,8.091, 3.184,12.463c0,8.685-4.234,16.644-11.326,21.291l-12.395,8.122l 7.149,12.98\n\tc 2.083,3.781, 3.184,8.091, 3.184,12.464c0,13.863-10.84,25.143-24.163,25.143L 285,480 l-24,0 c-63.281,0-76.044-19.103-89.556-32.975\n\tc-13.794-14.16-29.245-29.992-75.444-33.364L 96,246.474 c 7.878-4.132, 15.35-8.632, 22.329-13.545C 166.525,199, 192,163.156, 192,99\n\tc0-15.991, 15.010-29, 31-29s 30,13.009, 30,29c0,42.83-6.207,52.706-18.48,93c-3.062,11.371-5.961,22.635-7.938,31.667L 445,224\n\tc 17.645,0, 32,14.355, 32,32C 477,273.645, 462.645,288, 445,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-up, finger, direction, hand, up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,64L 160,237.904 C 119.545,226.676, 109.704,221, 67,221c-36.944,0-67,30.056-67,67c0,36.943 30.056,67 67,67\n\tc 51.986,0 75.975,19.361 102.855,57.545c 0.798,1.134 1.581,2.289 2.355,3.455L 128,416 L 128,512 l 320,0 l 0-96 l-28.502,0 \n\tc 2.151-31.831, 11.096-40.56, 22.042-51.223c 8.445-8.226, 18.956-18.464, 26.638-37.015C 476.243,308.285, 480,282.939, 480,248l 0-24 l 0-8.49 \n\tc 0-30.969, -25.634-56.163, -57.143-56.163c-5.235,0-10.438,0.712-15.45,2.095c -10.498-9.855, -24.501-15.482, -39.407-15.482\n\tc-5.234,0-10.438,0.712-15.449,2.095c -10.499-9.855, -24.503-15.482, -39.408-15.482c-9.018,0-17.55,2.071-25.143,5.744L 288,64 \n\tc 0-35.347, -28.653-64, -64-64C 188.654,0, 160,28.653, 160,64z M 416,464c0,8.836-7.163,16-16,16s -16-7.164, -16-16s 7.163-16, 16-16\n\tS 416,455.164, 416,464z M 256,67L 256,191.734 L 256,195 l 32,0 l 0-3.266 c 0-13.323, 11.279-24.163, 25.143-24.163c 8.685,0 16.645,4.234 21.293,11.327\n\tl 8.122,12.394l 12.979-7.149c 3.781-2.083, 8.091-3.184, 12.463-3.184c 8.685,0 16.644,4.234 21.291,11.326l 8.122,12.395l 12.98-7.149\n\tc 3.781-2.083, 8.091-3.184, 12.464-3.184c 13.863,0 25.143,10.84 25.143,24.163L 448,227 l0,24 c0,63.281-19.103,76.044-32.975,89.556\n\tc-14.16,13.794-29.992,29.245-33.364,75.444L 214.474,416 c -4.132-7.878, -8.632-15.35, -13.545-22.329C 167,345.475, 131.156,320, 67,320\n\tc-15.991,0, -29-15.010, -29-31s 13.009-30, 29-30c 42.83,0 52.706,6.207 93,18.48c 11.371,3.062 22.635,5.961 31.667,7.938L 192,67\n\tc 0-17.645, 14.355-32, 32-32C 241.645,35, 256,49.355, 256,67z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cursor, pointer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 186.198,512.566L 99.983,336.288L0,432.486L0,0 l 338.877,259.318L 203.79,283.151l 86.285,176.421L 186.198,512.566z\n\t\t M 109.438,282.785l 91.207,186.486l 46.858-23.905l-91.137-186.342l 105.211-18.563L 32,64.781l0,292.51 L 109.438,282.785z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cursor, pointer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 323.817,242.863L0,0L0,404.771L 101.067,309.466L 202.135,512L 288,469.067L 186.933,266.533 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wondering, emoticon, smiley, face, question\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 334.327,128, 352,128z M 128,160c0-17.673, 14.327-32, 32-32\n\ts 32,14.327, 32,32s-14.327,32-32,32S 128,177.673, 128,160z M 165.622,403.193l-11.244-38.387l 218.5-64l 11.244,38.387L 165.622,403.193z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wondering, emoticon, smiley, face, question\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 372.87,300.81L 384.114,339.198L 165.61,403.199L 154.366,364.811zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"neutral, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 320,384L 192,384 l0-32 \n\tl 128,0 L 320,384 z M 352,128c 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 320,142.327, 334.327,128, 352,128z M 160,128\n\tc 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 128,142.327, 142.327,128, 160,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"neutral, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32s-14.327-32-32-32S 128,142.327, 128,160z M 320,160\n\tc0,17.673, 14.327,32, 32,32s 32-14.327, 32-32s-14.327-32-32-32S 320,142.327, 320,160z M 192,352l 128,0 l0,32 L 192,384 L 192,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"confused, emoticon, smiley, face, bewildered\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 320,142.327, 334.327,128, 352,128z M 160,128\n\tc 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 128,142.327, 142.327,128, 160,128z M 343.505,405.28\n\tc-41.451,15.090-87.45-6.356-102.54-47.807c-9.054-24.871-36.653-37.739-61.524-28.686c-22.781,8.294-35.479,32.148-30.494,55.212\n\tl-32.43,0 c-4.622-36.254, 16.225-72.266, 51.978-85.28c 41.452-15.090, 87.451,6.356, 102.541,47.807\n\tc 9.054,24.871, 36.653,37.738, 61.523,28.685c 22.781-8.292, 35.479-32.147, 30.494-55.211l 32.432,0 \n\tC 400.105,356.253, 379.258,392.266, 343.505,405.28z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"confused, emoticon, smiley, face, bewildered\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160A32,32 2520 1 1 192,160A32,32 2520 1 1 128,160zM 320,160A32,32 2520 1 1 384,160A32,32 2520 1 1 320,160zM 363.053,320 L 395.485,320 C 400.108,356.253 379.259,392.265 343.506,405.28 C 302.054,420.368 256.056,398.922 240.966,357.472 C 231.912,332.6 204.313,319.731 179.442,328.786 C 156.661,337.080 143.964,360.935 148.948,383.998 L 116.518,383.998 C 111.897,347.744 132.743,311.734 168.496,298.718 C 209.948,283.629 255.947,305.076 271.037,346.525 C 280.089,371.399 307.69,384.266 332.559,375.211 C 355.34,366.919 368.037,343.062 363.053,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shocked, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,224\n\t\tc-17.673,0-32-21.49-32-48s 14.327-48, 32-48s 32,21.49, 32,48S 177.673,224, 160,224z M 256,416c-35.346,0-64-28.654-64-64\n\t\ts 28.654-64, 64-64c 35.346,0, 64,28.654, 64,64S 291.346,416, 256,416z M 352,224c-17.673,0-32-21.49-32-48s 14.327-48, 32-48\n\t\ts 32,21.49, 32,48S 369.673,224, 352,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shocked, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 192,352 C 192,316.654 220.654,288 256,288 C 291.346,288 320,316.654 320,352 C 320,387.346 291.346,416 256,416 C 220.654,416 192,387.346 192,352 ZM 320,176A32,48 2520 1 1 384,176A32,48 2520 1 1 320,176zM 128,176A32,48 2520 1 1 192,176A32,48 2520 1 1 128,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"evil, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32c0-22.758-4.762-44.4-13.326-64c-16.788,38.418-48.224,68.966-87.247,84.589C 368.33,19.609, 314.459,0, 256,0\n\tS 143.67,19.609, 100.573,52.589C 61.549,36.966, 30.114,6.418, 13.326-32C 4.762-12.4,0,9.242,0,32c0,36.787, 12.425,70.664, 33.294,97.689\n\tC 12.109,166.96,0,210.064,0,256c0,141.385, 114.615,256, 256,256s 256-114.615, 256-256c0-45.936-12.109-89.040-33.294-126.311\n\tC 499.575,102.664, 512,68.787, 512,32z M 288.047,190.258c 1.016-23.727, 22.605-39.474, 40.796-48.569\n\tc 17.371-8.686, 34.552-13.030, 35.274-13.211c 8.573-2.144, 17.26,3.069, 19.403,11.642c 2.143,8.573-3.069,17.259-11.642,19.403\n\tc-8.812,2.225-19.261,6.060-28.468,10.675c 5.324,5.715, 8.587,13.376, 8.587,21.803c0,17.673-14.327,32-32,32s-32-14.327-32-32\n\tC 287.998,191.416, 288.016,190.835, 288.047,190.258z M 128.479,140.12c 2.144-8.573, 10.83-13.786, 19.403-11.642\n\tc 0.723,0.181, 17.903,4.526, 35.274,13.211c 18.19,9.096, 39.78,24.842, 40.796,48.569c 0.031,0.577, 0.049,1.157, 0.049,1.742\n\tc0,17.673-14.327,32-32,32s-32-14.327-32-32c0-8.427, 3.263-16.088, 8.587-21.803c-9.207-4.615-19.655-8.45-28.468-10.675\n\tC 131.549,157.379, 126.337,148.692, 128.479,140.12z M 256,416c-58.255,0-109.232-31.137-137.213-77.672l 41.164-24.698\n\tC 179.538,346.204, 215.222,368, 256,368c 40.777,0, 76.462-21.796, 96.049-54.37l 41.164,24.698C 365.232,384.863, 314.255,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"evil, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 319.998,224 C 302.325,224 287.998,209.673 287.999,191.999 C 287.999,191.414 288.017,190.834 288.048,190.257 C 289.064,166.53 310.654,150.784 328.844,141.688 C 346.215,133.003 363.395,128.658 364.118,128.477 C 372.691,126.333 381.377,131.546 383.521,140.119 C 385.663,148.692 380.451,157.378 371.879,159.522 C 363.066,161.747 352.618,165.582 343.411,170.197 C 348.735,175.912 351.998,183.573 351.998,192 C 351.998,209.673 337.671,224 319.998,224 ZM 140.121,159.522 C 131.549,157.379 126.337,148.692 128.48,140.12 C 130.623,131.547 139.31,126.334 147.883,128.478 C 148.605,128.659 165.786,133.003 183.157,141.689 C 201.348,150.784 222.937,166.531 223.953,190.258 C 223.984,190.835 224.002,191.416 224.002,192 C 224.002,209.673 209.675,224 192.002,224 C 174.329,224 160.002,209.673 160.002,192 C 160.002,183.573 163.265,175.912 168.589,170.197 C 159.382,165.582 148.933,161.747 140.121,159.522 ZM 256,368 C 296.777,368 332.462,346.204 352.049,313.63 L 393.213,338.328 C 365.232,384.863 314.255,416 256,416 C 197.745,416 146.768,384.863 118.787,338.328 L 159.951,313.63 C 179.538,346.204 215.222,368 256,368 ZM 512,32c0-22.758-4.762-44.4-13.326-64c-16.788,38.418-48.224,68.966-87.247,84.589C 368.33,19.609, 314.459,0, 256,0\n\t\tS 143.67,19.609, 100.573,52.589C 61.549,36.966, 30.114,6.418, 13.326-32C 4.762-12.4,0,9.242,0,32\n\t\tc0,36.787, 12.425,70.664, 33.294,97.689C 12.109,166.96,0,210.064,0,256c0,141.385, 114.615,256, 256,256s 256-114.615, 256-256\n\t\tc0-45.936-12.109-89.040-33.294-126.311C 499.575,102.664, 512,68.787, 512,32z M 256,464c-114.875,0-208-93.125-208-208\n\t\tS 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"angry, emoticon, smiley, face, rage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288.047,190.258\n\tc 1.016-23.727, 22.605-39.474, 40.796-48.569c 17.371-8.686, 34.552-13.030, 35.274-13.211c 8.573-2.144, 17.26,3.069, 19.403,11.642\n\tc 2.143,8.573-3.069,17.259-11.642,19.403c-8.812,2.225-19.261,6.060-28.468,10.675c 5.324,5.715, 8.587,13.376, 8.587,21.803\n\tc0,17.673-14.327,32-32,32s-32-14.327-32-32C 287.998,191.416, 288.016,190.835, 288.047,190.258z M 128.479,140.12\n\tc 2.144-8.573, 10.83-13.786, 19.403-11.642c 0.723,0.181, 17.903,4.526, 35.274,13.211c 18.19,9.096, 39.78,24.842, 40.796,48.569\n\tc 0.031,0.577, 0.049,1.157, 0.049,1.742c0,17.673-14.327,32-32,32s-32-14.327-32-32c0-8.427, 3.263-16.088, 8.587-21.803\n\tc-9.207-4.615-19.655-8.45-28.468-10.675C 131.549,157.379, 126.337,148.692, 128.479,140.12z M 352.049,390.37\n\tC 332.462,357.796, 296.777,336, 256,336c-40.778,0-76.462,21.796-96.049,54.37l-41.164-24.698C 146.767,319.137, 197.745,288, 256,288\n\tc 58.254,0, 109.232,31.137, 137.213,77.672L 352.049,390.37z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"angry, emoticon, smiley, face, rage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48z M 352.049,390.37\n\tC 332.462,357.796, 296.777,336, 256,336c-40.778,0-76.462,21.796-96.049,54.37l-41.164-24.698C 146.767,319.137, 197.745,288, 256,288\n\tc 58.254,0, 109.232,31.137, 137.213,77.672L 352.049,390.37zM 383.521,140.12 C 385.663,148.692 380.451,157.379 371.88,159.522 C 363.067,161.747 352.619,165.582 343.412,170.197 C 348.736,175.912 351.999,183.573 351.999,192 C 351.999,209.673 337.672,224 319.999,224 C 302.326,224 287.999,209.673 287.999,192 C 287.999,191.415 288.017,190.835 288.048,190.258 C 289.064,166.531 310.654,150.785 328.844,141.689 C 346.215,133.004 363.395,128.659 364.118,128.478 C 372.691,126.334 381.377,131.547 383.521,140.12 ZM 128.479,140.12c 2.144-8.573, 10.83-13.786, 19.403-11.642c 0.723,0.181, 17.903,4.526, 35.274,13.211\n\tc 18.19,9.096, 39.78,24.842, 40.796,48.569c 0.031,0.577, 0.049,1.157, 0.049,1.742c0,17.673-14.327,32-32,32s-32-14.327-32-32\n\tc0-8.427, 3.263-16.088, 8.587-21.803c-9.207-4.615-19.655-8.45-28.468-10.675C 131.549,157.379, 126.337,148.692, 128.479,140.12z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cool, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 256,416\n\tc-24.229,0-47.192-5.398-67.771-15.041l 16.581-27.638C 220.488,380.177, 237.793,384, 256,384c 46.604,0, 87.386-24.909, 109.771-62.139\n\tl 27.441,16.467C 365.23,384.863, 314.255,416, 256,416z M 416,192c0,17.6-14.4,32-32,32l-64,0 c-17.6,0-32-14.4-32-32l-64,0 \n\tc0,17.6-14.4,32-32,32l-64,0 c-17.6,0-32-14.4-32-32l0-48 c0-8.8, 7.2-16, 16-16l 96,0 c 8.8,0, 16,7.2, 16,16l0,16 l 64,0 l0-16 c0-8.8, 7.2-16, 16-16l 96,0 \n\tc 8.8,0, 16,7.2, 16,16L 416,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cool, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 400,128 C 408.8,128 416,135.2 416,144 L 416,192 C 416,209.6 401.6,224 384,224 L 320,224 C 302.4,224 288,209.6 288,192 L 224,192 C 224,209.6 209.6,224 192,224 L 128,224 C 110.4,224 96,209.6 96,192 L 96,144 C 96,135.2 103.2,128 112,128 L 208,128 C 216.8,128 224,135.2 224,144 L 224,160 L 288,160 L 288,144 C 288,135.2 295.2,128 304,128 L 400,128 ZM 256,384 C 302.604,384 343.386,359.091 365.773,321.861 L 393.213,338.328 C 365.23,384.863 314.255,416 256,416 C 231.771,416 208.808,410.602 188.23,400.959 L 204.811,373.32 C 220.488,380.177 237.793,384 256,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grin, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 352,118\n\tc 31.981,0, 58,26.019, 58,58c0,3.189-0.273,6.438-0.814,9.656c-0.809,4.816-4.979,8.344-9.862,8.344s-9.054-3.528-9.861-8.345\n\tC 386.383,167.313, 370.628,159, 352,159s-34.383,8.313-37.462,26.655c-0.808,4.816-4.978,8.345-9.861,8.345c-0.001,0,0,0-0.001,0\n\tc-4.883,0-9.053-3.528-9.861-8.344C 294.273,182.438, 294,179.189, 294,176C 294,144.019, 320.019,118, 352,118z M 160,118\n\tc 31.981,0, 58,26.019, 58,58c0,3.189-0.274,6.438-0.814,9.656c-0.809,4.816-4.978,8.344-9.862,8.344c-4.884,0-9.053-3.528-9.861-8.345\n\tC 194.383,167.313, 178.628,159, 160,159s-34.383,8.313-37.462,26.655c-0.808,4.816-4.978,8.345-9.861,8.345c0,0,0,0,0,0\n\tc-4.883,0-9.053-3.528-9.862-8.344C 102.274,182.438, 102,179.189, 102,176C 102,144.019, 128.019,118, 160,118z M 96,288l 96,0 l0,123.923 \n\tC 136.953,397.62, 96,347.361, 96,288z M 224,416L 224,288 l 64,0 l0,128 L 224,416 z M 320,411.923L 320,288 l 96,0 C 416,347.361, 375.048,397.62, 320,411.923z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grin, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 96,256l0,32 c0,70.4, 57.6,128, 128,128l 64,0 c 70.4,0, 128-57.6, 128-128l0-32 L 96,256 z M 192,378.494\n\tc-13.269-4.729-25.462-12.411-35.772-22.723C 138.025,337.57, 128,313.501, 128,288l 64,0 L 192,378.494 z M 288,384l-64,0 l0-96 l 64,0 L 288,384 z\n\t M 355.772,355.771c-10.312,10.312-22.505,17.994-35.772,22.723L 320,288 l 64,0 C 384,313.501, 373.976,337.57, 355.772,355.771z M 112.676,192\n\tC 112.677,192, 112.676,192, 112.676,192c 4.884,0, 9.054-3.528, 9.862-8.345C 125.617,165.313, 141.372,152, 160,152\n\ts 34.383,13.313, 37.462,31.655c 0.808,4.816, 4.978,8.345, 9.861,8.345c 4.884,0, 9.054-3.528, 9.862-8.344\n\tc 0.541-3.218, 0.814-6.467, 0.814-9.656c0-31.981-26.019-58-58-58s-58,26.019-58,58c0,3.189, 0.274,6.438, 0.814,9.656\n\tC 103.623,188.472, 107.793,192, 112.676,192z M 304.676,192C 304.677,192, 304.676,192, 304.676,192c 4.885,0, 9.056-3.528, 9.862-8.345\n\tC 317.617,165.313, 333.372,152, 352,152s 34.383,13.313, 37.462,31.655c 0.808,4.816, 4.979,8.345, 9.861,8.345s 9.054-3.528, 9.861-8.344\n\tc 0.541-3.218, 0.814-6.467, 0.814-9.656c0-31.981-26.019-58-58-58s-58,26.019-58,58c0,3.189, 0.272,6.438, 0.813,9.656\n\tC 295.623,188.472, 299.793,192, 304.676,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wink, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.614,0,256c0,141.385, 114.614,256, 256,256c 141.385,0, 256-114.615, 256-256\n\tC 512,114.614, 397.385,0, 256,0z M 352,128c 17.673,0, 32,21.49, 32,48s-14.327,48-32,48s-32-21.49-32-48S 334.327,128, 352,128z\n\t M 176,156.031c 29.823,0, 51,11.166, 51,28.641c0,3.699, 1.906,21.497-0.085,24.797c-7.414-12.288-27.405-21.094-50.915-21.094\n\ts-43.501,8.806-50.915,21.094c-1.991-3.3-0.085-21.098-0.085-24.797C 125,167.197, 146.177,156.031, 176,156.031z M 250.172,416\n\tc-59.621,0-111.929-32.14-141.446-80.476c 35.205,27.53, 97.267,32.905, 162.644,19.989c 70.124-13.853, 124.555-45.771, 144.227-88.297\n\tC 404.77,351.196, 334.838,416, 250.172,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wink, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 271.37,355.514 C 341.494,341.661 395.925,309.743 415.597,267.217 C 404.77,351.195 334.838,416 250.172,416 C 190.551,416 138.243,383.859 108.726,335.526 C 143.931,363.055 205.993,368.43 271.37,355.514 ZM 320,176A32,48 2520 1 1 384,176A32,48 2520 1 1 320,176zM 176,185.75 C 155.102,185.75 137.333,193.578 130.742,204.5 C 128.972,201.567 128,188.413 128,185.125 C 128,169.592 149.49,157 176,157 C 202.51,157 224,169.592 224,185.125 C 224,188.413 223.028,201.567 221.258,204.5 C 214.667,193.578 196.898,185.75 176,185.75 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sad, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 334.327,128, 352,128z M 160,128c 17.673,0, 32,14.327, 32,32\n\ts-14.327,32-32,32s-32-14.327-32-32S 142.327,128, 160,128z M 352.049,390.37C 332.462,357.796, 296.777,336, 256,336\n\tc-40.778,0-76.462,21.796-96.049,54.37l-41.164-24.698C 146.767,319.137, 197.745,288, 256,288c 58.254,0, 109.232,31.137, 137.213,77.672\n\tL 352.049,390.37z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sad, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 ZM 159.951,390.37 L 118.787,365.672 C 146.768,319.137 197.745,288 256,288 C 314.254,288 365.231,319.137 393.213,365.672 L 352.049,390.37 C 332.462,357.796 296.778,336 256,336 C 215.221,336 179.538,357.796 159.951,390.37 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tongue, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 142.327,128, 160,128z M 384,320l-32,0 l0,48 c0,26.51-21.49,48-48,48\n\ts-48-21.49-48-48l0-48 L 128,320 l0-32 l 256,0 L 384,320 z M 352,192c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 369.673,192, 352,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tongue, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 ZM 384,288 L 384,320 L 352,320 L 352,368 C 352,394.51 330.51,416 304,416 C 277.49,416 256,394.51 256,368 L 256,320 L 128,320 L 128,288 L 384,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"smiley, emoticon, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 334.327,128, 352,128z M 160,128c 17.673,0, 32,14.327, 32,32\n\ts-14.327,32-32,32s-32-14.327-32-32S 142.327,128, 160,128z M 256,416c-58.255,0-109.232-31.137-137.213-77.672l 41.164-24.698\n\tC 179.538,346.204, 215.222,368, 256,368s 76.462-21.796, 96.049-54.37l 41.164,24.698C 365.232,384.863, 314.255,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"smiley, emoticon, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 ZM 352.049,313.63 L 393.213,338.328 C 365.232,384.863 314.255,416 256,416 C 197.745,416 146.768,384.863 118.787,338.328 L 159.951,313.63 C 179.538,346.204 215.222,368 256,368 C 296.778,368 332.462,346.204 352.049,313.63 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"happy, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\t\tc 17.674,0, 32,21.49, 32,48s-14.326,48-32,48s-32-21.49-32-48S 334.326,128, 352,128z M 160,128c 17.673,0, 32,21.49, 32,48\n\t\ts-14.327,48-32,48s-32-21.49-32-48S 142.327,128, 160,128z M 256,448c-83.434,0-152.711-69.936-160-159.152\n\t\tc 46.885,27.057, 102.025,42.532, 160,42.532c 57.975,0, 113.115-15.403, 160-42.46C 408.713,378.139, 339.436,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"happy, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 256,299.38 C 313.975,299.38 369.115,283.977 416,256.92 C 408.713,346.139 339.436,416 256,416 C 172.566,416 103.289,346.064 96,256.848 C 142.885,283.904 198.025,299.38 256,299.38 ZM 128,176A32,48 2520 1 1 192,176A32,48 2520 1 1 128,176zM 320,176A32,48 2520 1 1 384,176A32,48 2520 1 1 320,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"yin-yang\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,128A32,32 2520 1 1 288,128A32,32 2520 1 1 224,128zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,416\n\tc-17.674,0-32-14.326-32-32s 14.326-32, 32-32c 17.673,0, 32,14.326, 32,32S 273.673,416, 256,416z M 256,256c-57.438,0-104,46.562-104,104\n\ts 46.562,104, 104,104c-114.875,0-208-93.125-208-208S 141.125,48, 256,48c 57.438,0, 104,46.562, 104,104S 313.438,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"peace\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.616,0,0,114.615,0,256s 114.616,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 464,256\n\tc0,47.478-15.812,92.519-44.924,129.135L 280,246.059L 280,49.375 c 46.477,5.307, 89.506,25.975, 123.078,59.547\n\tC 442.364,148.208, 464,200.441, 464,256z M 232,462.625c-38.565-4.403-74.751-19.392-105.135-43.548L 232,313.941L 232,462.625 z M 280,313.941\n\tl 105.135,105.135c-30.384,24.157-66.569,39.146-105.135,43.549L 280,313.941 z M 108.922,108.922C 142.494,75.35, 185.523,54.682, 232,49.375\n\tl0,196.684 L 92.924,385.136C 63.812,348.519, 48,303.478, 48,256C 48,200.441, 69.636,148.208, 108.922,108.922z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"female, gender, sex, woman\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,316.796c 73.030-14.825, 128-79.391, 128-156.796C 416,71.634, 344.365,0, 256,0S 96,71.634, 96,160\n\tc0,77.405, 54.969,141.971, 128,156.796L 224,384 l-96,0 l0,64 l 96,0 l0,64 l 64,0 l0-64 l 96,0 l0-64 l-96,0 L 288,316.796 z M 150.401,160\n\tc0-58.321, 47.278-105.601, 105.601-105.601c 58.321,0, 105.6,47.28, 105.6,105.601c0,58.32-47.279,105.6-105.601,105.6\n\tC 197.678,265.6, 150.401,218.32, 150.401,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"woman, human, female, gender, sex\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 405.369,221.499l-62.063-62.063c-0.070-0.070-0.138,0.145-0.207,0.075C 320.554,136.966, 311.237,128, 288.679,128l-64,0 \n\t\tc-22.557,0-31.875,8.966-54.42,31.511l-0.704,0.066l-62.555,61.925l0-0.003 c-13,13.575-10.816,33.939, 0.497,45.253l 93.188-92.66\n\t\tL 126.365,320l 65.636,0 l0,159.436 c0,13.257, 10.745,24, 24,24c 13.254,0, 24-10.743, 24-24L 240.001,320 l 32,0 l0,159.436 c0,13.257, 10.745,24, 24,24\n\t\ts 24-10.743, 24-24L 320.001,320 l 64.68,0 l-73.372-147.027l 94.059,93.917l 0.005-0.076C 416.68,255.501, 418.938,235.071, 405.369,221.499zM 208.411,64A48,48 12600 1 1 304.411,64A48,48 12600 1 1 208.411,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"male, gender, sex, man\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,0l0,64 l 82.745,0 L 280.229,186.517C 254.935,169.764, 224.61,160, 192,160c-88.365,0-160,71.634-160,160\n\tc0,88.365, 71.634,160, 160,160s 160-71.635, 160-160c0-32.609-9.765-62.936-26.517-88.229L 448,109.255L 448,192 l 64,0 L 512,0 L 320,0 z M 192,425.6\n\tC 133.679,425.6, 86.4,378.32, 86.4,320S 133.679,214.399, 192,214.399c 58.32,0, 105.6,47.279, 105.6,105.601\n\tC 297.6,378.32, 250.321,425.6, 192,425.6z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"man, human, male, gender, sex\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,128L 160,128 c-17.601,0-32,14.4-32,32l0,128 c0,17.6, 14.399,32, 32,32l0,0L 160,192 l 16,0 l0,296 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 224,320 \n\t\tl 32,0 l0,168 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 304,192 l 16,0 l0,128 c 17.6,0, 32-14.4, 32-32L 352,160 C 352,142.4, 337.6,128, 320,128zM 192,64A48,48 12600 1 1 288,64A48,48 12600 1 1 192,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"people, team, men, humen, man, human, group\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,128L 32,128 c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32l0,0 L 32,192 l 16,0 l0,128 l0,64 l0,104 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 96,320 \n\t\tl 32,0 l0,168 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 176,320 l0,0 L 176,192 l 16,0 l0,128 c 17.6,0, 32-14.4, 32-32L 224,160 C 224,142.4, 209.6,128, 192,128zM 64.016,47.984A47.984,47.984 12600 1 1 159.984,47.98399999999998A47.984,47.984 12600 1 1 64.016,47.98399999999998zM 480,128L 320,128 c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32L 320,192 l 16,0 l0,128 l0,64 l0,104 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 384,320 \n\t\tl 32,0 l0,168 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 464,320 L 464,192 l 16,0 l0,128 c 17.6,0, 32-14.4, 32-32L 512,160 C 512,142.4, 497.6,128, 480,128zM 352.016,47.984A47.984,47.984 12600 1 1 447.984,47.98399999999998A47.984,47.984 12600 1 1 352.016,47.98399999999998z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 21.807,208C 8.463,219.751,0,236.931,0,256c0,35.2, 28.8,64, 64,64l 160,0 c 35.2,0, 64,28.8, 64,64l0,64 c0,35.2, 28.8,64, 64,64\n\ts 64-28.8, 64-64l0-64 c0-35.2, 21.6-64, 48-64s 48-28.8, 48-64L 512,128 C 512,57.308, 454.692,0, 384,0L 224,0 L 96,0 C 60.8,0, 32,28.8, 32,64\n\tc0,13.154, 4.024,25.414, 10.9,35.612C 17.988,108.383,0,132.187,0,160C0,179.069, 8.463,196.249, 21.807,208z M 266.193,112\n\tC 279.537,100.249, 288,83.069, 288,64c0-11.64-3.164-22.57-8.652-32L 384,32 c 52.935,0, 96,43.065, 96,96l0,128 c0,19.538-10.506,32-16,32\n\tc-22.752,0-44.438,11.518-59.5,31.6C 391.28,337.227, 384,360.098, 384,384l0,64 c0,8.477-3.348,16.493-9.428,22.572\n\tC 368.493,476.652, 360.477,480, 352,480s-16.493-3.348-22.572-9.428C 323.348,464.493, 320,456.477, 320,448l0-64 \n\tc0-36.127-20.068-67.642-49.635-84.021C 281.272,288.488, 288,272.996, 288,256c0-19.069-8.463-36.249-21.807-48\n\tC 279.537,196.249, 288,179.069, 288,160S 279.537,123.751, 266.193,112z M 73.428,41.428C 79.507,35.348, 87.523,32, 96,32l 128,0 \n\tc 8.477,0, 16.493,3.348, 22.572,9.428C 252.652,47.507, 256,55.523, 256,64s-3.348,16.493-9.428,22.572C 240.493,92.652, 232.477,96, 224,96\n\tL 96,96 c-8.477,0-16.493-3.348-22.572-9.428C 67.348,80.493, 64,72.477, 64,64S 67.348,47.507, 73.428,41.428z M 41.428,137.428\n\tC 47.507,131.348, 55.523,128, 64,128l 32,0 l 128,0 c 8.477,0, 16.493,3.348, 22.572,9.428C 252.652,143.507, 256,151.523, 256,160\n\ts-3.348,16.493-9.428,22.572C 240.493,188.652, 232.477,192, 224,192L 64,192 c-8.477,0-16.493-3.348-22.572-9.428\n\tC 35.348,176.493, 32,168.477, 32,160S 35.348,143.507, 41.428,137.428z M 41.428,233.428C 47.507,227.348, 55.523,224, 64,224l 160,0 \n\tc 8.477,0, 16.493,3.348, 22.572,9.428C 252.652,239.507, 256,247.523, 256,256s-3.348,16.494-9.428,22.572\n\tC 240.493,284.652, 232.477,288, 224,288L 64,288 c-8.477,0-16.493-3.348-22.572-9.428C 35.348,272.494, 32,264.477, 32,256\n\tS 35.348,239.507, 41.428,233.428z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote-up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.193,304C 503.537,292.249, 512,275.069, 512,256c0-35.2-28.8-64-64-64L 288,192 c-35.2,0-64-28.8-64-64L 224,64 c0-35.2-28.8-64-64-64\n\tS 96,28.8, 96,64l0,64 c0,35.2-21.6,64-48,64S0,220.8,0,256l0,128 c0,70.692, 57.308,128, 128,128l 160,0 l 128,0 c 35.2,0, 64-28.8, 64-64\n\tc0-13.154-4.024-25.414-10.9-35.612C 494.012,403.617, 512,379.813, 512,352C 512,332.931, 503.537,315.751, 490.193,304z M 245.807,400\n\tC 232.463,411.751, 224,428.931, 224,448c0,11.64, 3.164,22.57, 8.653,32L 128,480 c-52.935,0-96-43.065-96-96L 32,256 c0-19.538, 10.506-32, 16-32\n\tc 22.751,0, 44.438-11.518, 59.5-31.6c 13.22-17.626, 20.5-40.498, 20.5-64.4L 128,64 c0-8.477, 3.348-16.493, 9.427-22.573\n\tC 143.507,35.348, 151.523,32, 160,32s 16.493,3.348, 22.573,9.427C 188.652,47.507, 192,55.523, 192,64l0,64 \n\tc0,36.127, 20.069,67.642, 49.635,84.021C 230.728,223.512, 224,239.004, 224,256c0,19.069, 8.463,36.249, 21.807,48\n\tC 232.463,315.751, 224,332.931, 224,352S 232.463,388.249, 245.807,400z M 438.572,470.572C 432.493,476.652, 424.477,480, 416,480L 288,480 \n\tc-8.477,0-16.493-3.348-22.572-9.428C 259.348,464.493, 256,456.477, 256,448s 3.348-16.493, 9.428-22.572\n\tC 271.507,419.348, 279.523,416, 288,416l 128,0 c 8.477,0, 16.493,3.348, 22.572,9.428C 444.652,431.507, 448,439.523, 448,448\n\tS 444.652,464.493, 438.572,470.572z M 470.572,374.572C 464.493,380.652, 456.477,384, 448,384l-32,0 L 288,384 \n\tc-8.477,0-16.493-3.348-22.572-9.428C 259.348,368.493, 256,360.477, 256,352s 3.348-16.493, 9.428-22.572\n\tC 271.507,323.348, 279.523,320, 288,320l 160,0 c 8.477,0, 16.493,3.348, 22.572,9.428C 476.652,335.507, 480,343.523, 480,352\n\tS 476.652,368.493, 470.572,374.572z M 470.572,278.572C 464.493,284.652, 456.477,288, 448,288L 288,288 c-8.477,0-16.493-3.348-22.572-9.428\n\tC 259.348,272.493, 256,264.477, 256,256c0-8.477, 3.348-16.494, 9.428-22.573C 271.507,227.348, 279.523,224, 288,224l 160,0 \n\tc 8.477,0, 16.493,3.348, 22.572,9.427C 476.652,239.506, 480,247.523, 480,256C 480,264.477, 476.652,272.493, 470.572,278.572z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 48,224 C 11.5,224 32,128 64,128 C 48,128 64,48 96,48 C 96,16 128,0 160,0 C 295.176,0 247.632,33.825 384,48 L 384,304 C 263.539,340.134 144,430.712 144,512 C 117.5,512 48,480 144,320 C 144,320 64,320 48,320 C 0,320 16,224 48,224 ZM 416,304 L 416,48 L 384,48 L 384,32 L 448,32 C 465.6,32 480,53.6 480,80 L 480,272 C 480,298.4 465.6,320 448,320 L 384,320 L 384,304 L 416,304 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,288 C 500.5,288 480,384 448,384 C 464,384 448,464 416,464 C 416,496 384,512 352,512 C 216.824,512 264.368,478.175 128,464 L 128,208 C 248.461,171.866 368,81.288 368,0 C 394.5,0 464,32 368,192 C 368,192 448,192 464,192 C 512,192 496,288 464,288 ZM 96,208 L 96,464 L 128,464 L 128,480 L 64,480 C 46.4,480 32,458.4 32,432 L 32,240 C 32,213.6 46.4,192 64,192 L 128,192 L 128,208 L 96,208 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-down, down, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 16,208c0,16.458 8.978,30.977 22.654,39.624C 34.432,254.77, 32,263.1, 32,272c0,26.51 21.49,48 48,48l 93.904,0 \n\tC 162.676,360.455, 157,402.296, 157,445c0,36.944 30.056,67 67,67c 36.943,0 67-30.056 67-67c0-51.986 19.361-91.975 57.545-118.855\n\tc 10.5-7.392 22.371-13.743 35.455-19.033L 384,352 L 512,352 l0-320 l -128,0 l0,31.499 c -29.945-1.966, -44.484-9.461, -58.595-16.747\n\tC 311.361,39.499, 296.839,32, 272,32l -160,0 c -26.51,0, -48,21.49, -48,48c0,6.249 1.207,12.213 3.38,17.688\n\tC 46.995,103.231, 32,121.859, 32,144c0,8.9 2.432,17.23 6.654,24.376C 24.978,177.023, 16,191.542, 16,208z M 464,64\n\tc 8.836,0 16,7.163 16,16s -7.164,16, -16,16s -16-7.163, -16-16S 455.164,64, 464,64z M 68,192l 28,0 l0-32 l -16,0 c -8.822,0, -16-7.178, -16-16\n\ts 7.178-16 16-16l 32,0 l0-32 c -8.822,0, -16-7.178, -16-16s 7.178-16 16-16L 272,64 c 17.064,0 26.149,4.691 38.723,11.185\n\tc 15.874,8.196 35.193,18.16 73.277,20.364L 384,266.66 c -21.468,7.214, -40.714,16.715, -57.329,28.412C 278.475,329, 253,380.844, 253,445\n\tc0,15.991, -13.010,29, -29,29s -29-13.009, -29-29c0-42.83 6.207-84.706 18.48-125c 3.099-11.509 6.033-22.913 8.012-32l -0.234,0 L 80,288 \n\tc -8.822,0, -16-7.178, -16-16s 7.178-16 16-16l 16,0 l0-32 l -28,0 c -10.841,0, -20-7.327, -20-16S 57.159,192, 68,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-down, down, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 16,208c0,16.458 8.978,30.977 22.654,39.624C 34.432,254.77, 32,263.1, 32,272c0,26.51 21.49,48 48,48l 93.904,0 \n\tC 162.676,360.455, 157,402.296, 157,445c0,36.944 30.056,67 67,67c 36.943,0 67-30.056 67-67c0-51.986 19.361-91.975 57.545-118.855\n\tc 10.5-7.392 22.371-13.743 35.455-19.033L 384,352 L 512,352 l0-320 l -128,0 l0,31.499 c -29.945-1.966, -44.484-9.461, -58.595-16.747\n\tC 311.361,39.499, 296.839,32, 272,32l -80,0 l -80,0 c -26.51,0, -48,21.49, -48,48c0,6.249 1.207,12.213 3.38,17.688\n\tC 46.995,103.231, 32,121.859, 32,144c0,8.9 2.432,17.23 6.654,24.376C 24.978,177.023, 16,191.542, 16,208z M 176,288l -96,0 \n\tc -8.822,0, -16-7.178, -16-16s 7.178-16 16-16l 96,0 c 8.822,0 16,7.178 16,16S 184.822,288, 176,288z M 233.455,184.688\n\tC 246.992,176.201, 256,161.156, 256,144c0-17, -8.846-31.925, -22.177-40.453C 237.749,96.589, 240,88.56, 240,80\n\tc0-5.611, -0.973-10.994, -2.742-16L 272,64 c 17.064,0 26.149,4.691 38.723,11.185c 15.874,8.196 35.193,18.16 73.277,20.364L 384,266.66 \n\tc -21.468,7.214, -40.714,16.715, -57.329,28.412C 278.475,329, 253,380.844, 253,445c0,15.991, -13.010,29, -29,29s -29-13.009, -29-29\n\tc0-42.83 6.207-84.706 18.48-125c 3.33-12.37 6.47-24.614 8.438-33.995c 1.271-4.17 1.98-8.582 2.061-13.147\n\tc 0.015-0.301 0.021-0.59 0.021-0.855c0-8.9, -2.432-17.229, -6.654-24.376C 231.021,238.977, 240,224.458, 240,208\n\tC 240,199.538, 237.619,191.592, 233.455,184.688z M 112,64l 80,0 c 8.822,0 16,7.178 16,16s -7.178,16, -16,16l -80,0 c -8.822,0, -16-7.178, -16-16\n\tS 103.178,64, 112,64z M 80,128L 208,128 c 8.822,0 16,7.178 16,16s -7.178,16, -16,16l -128,0 c -8.822,0, -16-7.178, -16-16S 71.178,128, 80,128z\n\t M 68,192L 188,192 c 10.841,0 20,7.327 20,16s -9.159,16, -20,16l -120,0 c -10.841,0, -20-7.327, -20-16S 57.159,192, 68,192z M 448,80\n\tc0-8.837 7.164-16 16-16s 16,7.163 16,16s -7.164,16, -16,16S 448,88.837, 448,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,336c0-16.458-8.978-30.977-22.654-39.624C 477.568,289.23, 480,280.9, 480,272c0-26.51-21.49-48-48-48l-93.904,0 \n\tC 349.324,183.545, 355,141.704, 355,99c0-36.944-30.056-67-67-67c-36.943,0-67,30.056-67,67c0,51.986-19.361,91.975-57.545,118.855\n\tc-10.5,7.392-22.371,13.743-35.455,19.033L 128,192 L0,192 l0,320 l 128,0 l0-31.499 c 29.945,1.966, 44.484,9.461, 58.595,16.747\n\tC 200.639,504.501, 215.161,512, 240,512l 160,0 c 26.51,0, 48-21.49, 48-48c0-6.249-1.207-12.213-3.38-17.688\n\tC 465.005,440.769, 480,422.141, 480,400c0-8.9-2.432-17.23-6.654-24.376C 487.022,366.977, 496,352.458, 496,336z M 48,480\n\tc-8.836,0-16-7.163-16-16s 7.164-16, 16-16s 16,7.163, 16,16S 56.836,480, 48,480z M 444,352l-28,0 l0,32 l 16,0 c 8.822,0, 16,7.178, 16,16\n\ts-7.178,16-16,16l-32,0 l0,32 c 8.822,0, 16,7.178, 16,16s-7.178,16-16,16L 240,480 c-17.064,0-26.149-4.691-38.723-11.185\n\tc-15.874-8.196-35.193-18.16-73.277-20.364L 128,277.34 c 21.468-7.214, 40.714-16.715, 57.329-28.412C 233.525,215, 259,163.156, 259,99\n\tc0-15.991, 13.010-29, 29-29s 29,13.009, 29,29c0,42.83-6.207,84.706-18.48,125c-3.099,11.509-6.033,22.913-8.012,32l 0.234,0 L 432,256 \n\tc 8.822,0, 16,7.178, 16,16s-7.178,16-16,16l-16,0 l0,32 l 28,0 c 10.841,0, 20,7.327, 20,16S 454.841,352, 444,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,336c0-16.458-8.978-30.977-22.654-39.624C 477.568,289.23, 480,280.9, 480,272c0-26.51-21.49-48-48-48l-93.904,0 \n\tC 349.324,183.545, 355,141.704, 355,99c0-36.944-30.056-67-67-67c-36.943,0-67,30.056-67,67c0,51.986-19.361,91.975-57.545,118.855\n\tc-10.5,7.392-22.371,13.743-35.455,19.033L 128,192 L0,192 l0,320 l 128,0 l0-31.499 c 29.945,1.966, 44.484,9.461, 58.595,16.747\n\tC 200.639,504.501, 215.161,512, 240,512l 80,0 l 80,0 c 26.51,0, 48-21.49, 48-48c0-6.249-1.207-12.213-3.38-17.688\n\tC 465.005,440.769, 480,422.141, 480,400c0-8.9-2.432-17.23-6.654-24.376C 487.022,366.977, 496,352.458, 496,336z M 336,256l 96,0 \n\tc 8.822,0, 16,7.178, 16,16s-7.178,16-16,16l-96,0 c-8.822,0-16-7.178-16-16S 327.178,256, 336,256z M 278.545,359.312\n\tC 265.008,367.799, 256,382.844, 256,400c0,17, 8.846,31.925, 22.177,40.453C 274.251,447.411, 272,455.44, 272,464\n\tc0,5.611, 0.973,10.994, 2.742,16L 240,480 c-17.064,0-26.149-4.691-38.723-11.185c-15.874-8.196-35.193-18.16-73.277-20.364L 128,277.34 \n\tc 21.468-7.214, 40.714-16.715, 57.329-28.412C 233.525,215, 259,163.156, 259,99c0-15.991, 13.010-29, 29-29s 29,13.009, 29,29\n\tc0,42.83-6.207,84.706-18.48,125c-3.33,12.37-6.47,24.614-8.438,33.995c-1.271,4.17-1.98,8.582-2.061,13.147\n\tc-0.015,0.301-0.021,0.59-0.021,0.855c0,8.9, 2.432,17.229, 6.654,24.376C 280.979,305.023, 272,319.542, 272,336\n\tC 272,344.462, 274.381,352.408, 278.545,359.312z M 400,480l-80,0 c-8.822,0-16-7.178-16-16s 7.178-16, 16-16l 80,0 c 8.822,0, 16,7.178, 16,16\n\tS 408.822,480, 400,480z M 432,416L 304,416 c-8.822,0-16-7.178-16-16s 7.178-16, 16-16l 128,0 c 8.822,0, 16,7.178, 16,16S 440.822,416, 432,416z\n\t M 444,352L 324,352 c-10.841,0-20-7.327-20-16s 9.159-16, 20-16l 120,0 c 10.841,0, 20,7.327, 20,16S 454.841,352, 444,352z M 64,464\n\tc0,8.837-7.164,16-16,16s-16-7.163-16-16s 7.164-16, 16-16S 64,455.163, 64,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lips, mouth, kiss\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 482.257,185.558c-14.605,0-64.466-26.681-64.466-26.681c-28.426-15.856-60.645-33.828-96.991-33.828\n\tc-26.883,0-48.65,4.256-64.8,12.659c-16.149-8.403-37.917-12.659-64.801-12.659c-36.347,0-68.565,17.972-96.991,33.828\n\tc0,0-49.86,26.681-64.466,26.681c-22.295,0-45.304,29.652-15.688,57.387c 15.905,12.17, 31.108,27.354, 47.204,43.429\n\tc 23.498,23.469, 47.796,47.735, 78.253,66.891c 36.043,22.668, 74.146,33.688, 116.489,33.688c 42.342,0, 80.445-11.020, 116.489-33.688\n\tc 30.456-19.155, 54.755-43.422, 78.252-66.891c 16.096-16.075, 31.3-31.259, 47.204-43.429\n\tC 527.562,215.21, 504.552,185.558, 482.257,185.558z M 256,358.151c-112.285,0-159.638-88.491-224.444-138.080\n\tC 54.398,237.55, 180.040,286.65, 256,286.65s 201.602-49.101, 224.443-66.579C 415.637,269.66, 368.284,358.151, 256,358.151z M 256,240.25\n\tc-86.401,0-230.402-26.030-230.402-26.030l 4.512-0.141c 55.732-3.22, 104.998-60.229, 161.090-60.229c 57.601,0, 64.801,21.6, 64.801,21.6\n\ts 7.2-21.6, 64.8-21.6c 56.092,0, 105.357,57.010, 161.091,60.229l 4.511,0.141C 486.401,214.22, 342.4,240.25, 256,240.25z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lips, mouth, kiss\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,220.078l-5.013-0.157C 445.062,216.344, 390.323,153, 328,153c-64,0-72,24-72,24s-8-24-72-24\n\t\t\tc-62.323,0-117.062,63.344-178.987,66.921L0,220.078c0,0, 160,28.922, 256,28.922S 512,220.078, 512,220.078zM 256,295c-84.399,0-224-49-249.38-68.42C 78.626,281.677, 131.24,380, 256,380c 124.76,0, 177.373-98.322, 249.38-153.42\n\t\t\tC 480,246, 340.399,295, 256,295z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart-broken, love\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 376,32 C 451.111,32 512,92.89 512,168 C 512,352 256,480 256,480 C 256,480 0,352 0,168 C 0,92.89 60.889,32 136,32 C 167.047,32 195.657,42.412 218.547,59.924 L 176,128 L 288,192 L 224,352 L 400,160 L 288,96 L 323.707,42.439 C 339.807,35.725 357.466,32 376,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,480l-13.97-6.779C 232.147,468.426,0,353.771,0,179.487C0,98.162, 67.738,32, 151,32c 39.83,0, 77.258,15.237, 105,41.462\n\t\tC 283.742,47.237, 321.17,32, 361,32c 83.262,0, 151,66.162, 151,147.487c0,174.284-232.147,288.938-242.030,293.733L 256,480z M 151,96\n\t\tc-47.972,0-87,37.452-87,83.487c0,67.976, 54.123,127.616, 99.526,165.68c 36.25,30.39, 73.062,52.351, 92.474,63.081\n\t\tc 19.412-10.73, 56.224-32.691, 92.474-63.081C 393.877,307.104, 448,247.463, 448,179.487C 448,133.452, 408.972,96, 361,96\n\t\tc-32.336,0-61.831,17.070-76.974,44.55L 256,191.41l-28.026-50.86C 212.831,113.070, 183.336,96, 151,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 376,32c-51.956,0-97.1,29.138-120,71.96C 233.099,61.138, 187.955,32, 136,32C 60.889,32,0,92.89,0,168c0,184, 256,312, 256,312\n\ts 256-128, 256-312C 512,92.89, 451.111,32, 376,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart-broken, love\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 377.594,32 C 451.785,32 512,92.22 512,166.416 C 512,312.521 354.088,357.837 256.011,506.125 C 152.25,356.913 0,317.339 0,166.416 C 0,92.22 60.213,32 134.404,32 C 164.581,32 192.399,45.765 214.802,65.917 L 176,128 L 288,192 L 224,352 L 400,160 L 288,96 L 318.948,49.577 C 336.658,38.693 356.553,32 377.594,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.661,512l-26.448-36.033c-32.472-44.238-70.793-76.045-107.854-106.805c-31.139-25.844-60.55-50.256-82.931-79.527\n\t\tC 12.897,254.938,0,217.58,0,175.426C0,96.341, 67.112,32, 149.604,32c 28.833,0, 57.551,10.134, 83.049,29.306\n\t\tc 8.305,6.245, 16.154,13.389, 23.352,21.197c 7.195-7.808, 15.041-14.951, 23.346-21.196C 304.845,42.135, 333.562,32, 362.395,32\n\t\tC 444.888,32, 512,96.341, 512,175.426c0,40.521-12.92,76.971-39.499,111.429c-22.229,28.82-51.254,53.197-81.983,79.006\n\t\tc-37.83,31.771-76.948,64.623-108.27,109.488L 256.661,512z M 149.604,96C 102.401,96, 64,131.631, 64,175.426\n\t\tc0,62.126, 41.624,96.673, 99.233,144.49c 29.444,24.438, 61.92,51.393, 92.271,85.654c 30.285-35.332, 63.626-63.332, 93.853-88.719\n\t\tc 28.007-23.521, 54.461-45.738, 72.467-69.083C 439.927,224.298, 448,201.987, 448,175.426C 448,131.631, 409.598,96, 362.395,96\n\t\tc-23.976,0-58.52,17.647-77.708,56.393l-28.664,57.88l-28.684-57.871C 208.132,113.651, 173.579,96, 149.604,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 377.594,32c-53.815,0-100.129,43.777-121.582,89.5C 234.543,75.778, 188.223,32, 134.404,32C 60.213,32,0,92.22,0,166.416\n\tc0,150.923, 152.25,190.497, 256.011,339.709C 354.088,357.837, 512,312.522, 512,166.416C 512,92.22, 451.785,32, 377.594,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart-broken, love\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,179.078 C 512,222.259 493.391,261.093 463.755,288 L 464,288 L 304,448 C 288,464 272,480 256,480 C 240,480 224,464 208,448 L 48,288 L 48.245,288 C 18.609,261.093 0,222.259 0,179.078 C 0,97.849 65.849,32 147.078,32 C 174.803,32 200.729,39.682 222.864,53.018 L 176,128 L 288,192 L 224,352 L 400,160 L 288,96 L 327.446,36.83 C 339.412,33.686 351.969,32 364.922,32 C 446.15,32 512,97.849 512,179.078 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,179.078C 512,97.849, 446.15,32, 364.922,32C 321.741,32, 282.907,50.609, 256,80.245C 229.093,50.609, 190.259,32, 147.078,32\n\tC 65.849,32,0,97.849,0,179.078C0,222.259, 18.609,261.093, 48.245,288L 48,288 l 160,160c 16,16, 32,32, 48,32s 32-16, 48-32l 160-160l-0.245,0 \n\tC 493.391,261.093, 512,222.259, 512,179.078z M 420.734,240.616L 258.745,402.745c-0.839,0.839-1.766,1.766-2.745,2.74\n\tc-0.98-0.975-1.907-1.901-2.745-2.74L 91.266,240.617C 73.683,224.653, 64,202.798, 64,179.078C 64,133.269, 101.269,96, 147.078,96\n\tc 23.72,0, 45.575,9.683, 61.538,27.266L 256,175.456l 47.384-52.189C 319.348,105.683, 341.202,96, 364.922,96\n\tC 410.731,96, 448,133.269, 448,179.078C 448,202.798, 438.316,224.653, 420.734,240.616z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,179.078 C 512,222.259 493.391,261.093 463.755,288 L 464,288 L 304,448 C 288,464 272,480 256,480 C 240,480 224,464 208,448 L 48,288 L 48.245,288 C 18.609,261.093 0,222.259 0,179.078 C 0,97.849 65.849,32 147.078,32 C 190.259,32 229.093,50.609 256,80.245 C 282.907,50.609 321.741,32 364.922,32 C 446.15,32 512,97.849 512,179.078 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,80l-96,96l-96-96L0,240l 256,256l 256-256L 352,80z M 90.51,240L 160,170.51l 96,96l 96-96L 421.49,240L 256,405.49L 90.51,240z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,80 L 512,240 L 416,336 L 256,496 L 96,336 L 0,240 L 160,80 L 256,176 L 352,80 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,198.525L 335.11,172.821L 256,12.53l-79.108,160.291L0,198.525l 128,124.769L 97.784,499.47L 256,416.291l 158.216,83.179\n\tl-30.217-176.176L 512,198.525z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, half\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,198.525l-176.89-25.704L 256,12.53l-79.108,160.291L0,198.525l 128,124.769L 97.784,499.47L 256,416.291l 158.216,83.179\n\tl-30.217-176.176L 512,198.525z M 256,376.749l-0.471,0.248L 256,91.613l 55.868,113.198l 124.918,18.152l-90.394,88.111l 21.339,124.415\n\tL 256,376.749z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,198.525l-176.89-25.704L 256,12.53l-79.108,160.291L0,198.525l 128,124.769L 97.784,499.47L 256,416.291l 158.216,83.179\n\tl-30.217-176.176L 512,198.525z M 256,376.749l-111.731,58.74l 21.338-124.415l-90.393-88.111l 124.92-18.152L 256,91.613l 55.868,113.198\n\tl 124.918,18.152l-90.394,88.111l 21.339,124.415L 256,376.749z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192.004L 316.434,192.004L 256,6.009L 195.567,192.004L0,192.004L 158.217,306.956L 97.783,492.951L 256,378L 414.216,492.95L 353.783,306.956 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, half\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192.004L 316.434,192.004 L 256,6.009l-60.433,185.995L0,192.004 l 158.217,114.952L 97.783,492.951L 256,378l 158.216,114.95l-60.433-185.994\n\tL 512,192.004z M 256,338.446L 256,109.563 l 37.185,114.44l 120.33,0 l-97.35,70.729l 37.184,114.44L 256,338.446z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,109.563l 30,92.329l 7.185,22.111l 23.249,0 l 97.081,0 l-78.541,57.063l-18.809,13.666l 7.185,22.111l 29.999,92.329\n\tl-78.539-57.062L 256,338.446l-18.809,13.665l-78.54,57.062l 30-92.329l 7.184-22.111l-18.809-13.666l-78.541-57.063l 97.082,0 l 23.25,0 \n\tL 226,201.893L 256,109.563 M 256,6.009l-60.433,185.995L0,192.004 l 158.217,114.952L 97.783,492.951L 256,378l 158.216,114.95l-60.433-185.994\n\tL 512,192.004L 316.434,192.004 L 256,6.009L 256,6.009z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bed, sleep, night, hotel, room\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,448L 64,448L 64,512L 128,512L 128,448L 384,448L 384,512L 448,512L 448,448L 512,448L 512,416L0,416 \tzM 416,160L 256,160L 96,160L0,384L 512,384 \tzM 176,128c 44.183,0, 80,14.327, 80,32c0-17.673, 35.817-32, 80-32s 80,14.327, 80,32L 416,32 c0-17.673-14.326-32-32-32L 128,0 \n\t\tc-17.673,0-32,14.327-32,32l0,128 C 96,142.327, 131.818,128, 176,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bed, sleep, night, hotel, room\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,160c-17.673,0-32,14.327-32,32l0,64 c0-26.51-21.49-48-48-48l-192,0 c-26.51,0-48,21.49-48,48l0,16 l 288,0 l0,16 L 112,288 \n\t\tc-26.51,0-48-21.49-48-48l0-16 L 64,96 c0-17.673-14.327-32-32-32S0,78.327,0,96l0,320 l 64,0 l0-64 l 384,0 l0,64 l 64,0 L 512,192 \n\t\tC 512,174.327, 497.673,160, 480,160zM 64,224A48,48 10800 1 1 160,224A48,48 10800 1 1 64,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"moon, night, sleep\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 357.906,32.24C 327.781,14.848, 295.597,4.288, 263.12,0c 61.468,80.041, 72.384,192.381, 18.787,285.21\n\tc-53.6,92.835-156.344,139.556-256.394,126.34c 19.949,25.979, 45.188,48.573, 75.314,65.967\n\tc 122.954,70.987, 280.185,28.86, 351.172-94.099C 522.993,260.456, 480.865,103.232, 357.906,32.24z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contrast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 64,256\n\tc0-106.039, 85.961-192, 192-192l0,384 C 149.961,448, 64,362.039, 64,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-contrast, contrast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128c-70.692,0-128,57.308-128,128s 57.308,128, 128,128s 128-57.308, 128-128S 326.692,128, 256,128z M 256,336L 256,176 \n\t\tc 44.112,0, 80,35.888, 80,80S 300.112,336, 256,336zM 256,416 C 273.673,416 288,430.327 288,448 L 288,480 C 288,497.673 273.673,512 256,512 C 238.327,512 224,497.673 224,480 L 224,448 C 224,430.327 238.327,416 256,416 ZM 256,96 C 238.327,96 224,81.673 224,64 L 224,32 C 224,14.327 238.327,0 256,0 C 273.673,0 288,14.327 288,32 L 288,64 C 288,81.673 273.673,96 256,96 ZM 480,224 C 497.673,224 512,238.327 512,256 C 512,273.673 497.673,288 480,288 L 448,288 C 430.327,288 416,273.673 416,256 C 416,238.327 430.327,224 448,224 L 480,224 ZM 96,256 C 96,273.673 81.673,288 64,288 L 32,288 C 14.327,288 0,273.673 0,256 C 0,238.327 14.327,224 32,224 L 64,224 C 81.673,224 96,238.327 96,256 ZM 414.392,369.137 L 437.020,391.765 C 449.516,404.261 449.516,424.523 437.020,437.020 C 424.523,449.516 404.261,449.516 391.765,437.020 L 369.137,414.392 C 356.641,401.896 356.641,381.634 369.137,369.137 C 381.634,356.641 401.896,356.641 414.392,369.137 ZM 97.608,142.863 L 74.98,120.235 C 62.483,107.738 62.483,87.477 74.98,74.98 C 87.477,62.483 107.738,62.483 120.235,74.98 L 142.863,97.608 C 155.36,110.105 155.36,130.366 142.863,142.863 C 130.366,155.36 110.105,155.36 97.608,142.863 ZM 414.392,142.863 C 401.896,155.359 381.634,155.359 369.137,142.863 C 356.641,130.366 356.641,110.105 369.137,97.608 L 391.765,74.981 C 404.261,62.484 424.523,62.484 437.020,74.981 C 449.516,87.478 449.516,107.739 437.020,120.236 L 414.392,142.863 ZM 97.608,369.137 C 110.104,356.641 130.366,356.641 142.862,369.137 C 155.359,381.634 155.359,401.896 142.862,414.392 L 120.235,437.020 C 107.738,449.516 87.477,449.516 74.98,437.020 C 62.483,424.523 62.483,404.261 74.98,391.765 L 97.608,369.137 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-low, day, lightness, sun\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,96A32,32 2520 1 1 288,96A32,32 2520 1 1 224,96zM 96,128A32,32 2520 1 1 160,128A32,32 2520 1 1 96,128zM 224,416A32,32 2520 1 1 288,416A32,32 2520 1 1 224,416zM 352,384A32,32 2520 1 1 416,384A32,32 2520 1 1 352,384zM 64,256A32,32 2520 1 1 128,256A32,32 2520 1 1 64,256zM 384,256A32,32 2520 1 1 448,256A32,32 2520 1 1 384,256zM 352,128A32,32 2520 1 1 416,128A32,32 2520 1 1 352,128zM 96,384A32,32 2520 1 1 160,384A32,32 2520 1 1 96,384zM 256,160c-53.020,0-96,42.98-96,96s 42.98,96, 96,96s 96-42.98, 96-96S 309.020,160, 256,160z M 256,301c-24.813,0-45-20.187-45-45\n\t\tc0-24.813, 20.187-45, 45-45c 24.813,0, 45,20.187, 45,45C 301,280.813, 280.813,301, 256,301z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-medium, day, lightness, sun\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,211 C 231.187,211 211,231.187 211,256 C 211,280.813 231.187,301 256,301 C 280.813,301 301,280.813 301,256 C 301,231.187 280.813,211 256,211 Z M 256,160 L 256,160 C 309.020,160 352,202.98 352,256 C 352,309.020 309.020,352 256,352 C 202.98,352 160,309.020 160,256 C 160,202.98 202.98,160 256,160 ZM 438.627,393.373 C 451.125,405.87 451.124,426.131 438.627,438.627 C 426.13,451.125 405.87,451.125 393.373,438.627 L 361.373,406.627 C 348.875,394.13 348.875,373.87 361.373,361.373 C 373.869,348.876 394.13,348.875 406.627,361.373 L 438.627,393.373 ZM 150.627,105.373 C 163.125,117.87 163.124,138.131 150.627,150.627 C 138.13,163.125 117.87,163.125 105.373,150.627 L 73.373,118.627 C 60.875,106.13 60.875,85.87 73.373,73.373 C 85.869,60.876 106.13,60.875 118.627,73.373 L 150.627,105.373 ZM 393.372,73.373 C 405.869,60.875 426.13,60.876 438.626,73.373 C 451.124,85.87 451.124,106.13 438.627,118.627 L 406.627,150.627 C 394.129,163.125 373.869,163.125 361.373,150.627 C 348.875,138.131 348.875,117.87 361.373,105.373 L 393.372,73.373 ZM 105.373,361.373 C 117.87,348.875 138.13,348.876 150.627,361.373 C 163.125,373.87 163.125,394.13 150.627,406.627 L 118.627,438.627 C 106.13,451.125 85.87,451.125 73.373,438.627 C 60.876,426.131 60.875,405.87 73.373,393.373 L 105.373,361.373 ZM 256,32 C 273.673,32 288,46.327 288,64 L 288,96 C 288,113.673 273.673,128 256,128 C 238.327,128 224,113.673 224,96 L 224,64 C 224,46.327 238.327,32 256,32 ZM 256,384 C 273.673,384 288,398.326 288,416 L 288,448 C 288,465.674 273.673,480 256,480 C 238.327,480 224,465.674 224,448 L 224,416 C 224,398.326 238.327,384 256,384 ZM 32,256 C 32,238.327 46.327,224 64,224 L 96,224 C 113.673,224 128,238.327 128,256 C 128,273.674 113.673,288 96,288 L 64,288 C 46.327,288 32,273.674 32,256 ZM 384,256 C 384,238.327 398.326,224 416,224 L 448,224 C 465.674,224 480,238.327 480,256 C 480,273.673 465.674,288 448,288 L 416,288 C 398.326,288 384,273.673 384,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-high, day, lightness, sun\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,211 C 231.187,211 211,231.187 211,256 C 211,280.813 231.187,301 256,301 C 280.813,301 301,280.813 301,256 C 301,231.187 280.813,211 256,211 Z M 256,160 L 256,160 C 309.020,160 352,202.98 352,256 C 352,309.020 309.020,352 256,352 C 202.98,352 160,309.020 160,256 C 160,202.98 202.98,160 256,160 ZM 470.627,425.373 C 483.125,437.87 483.124,458.131 470.627,470.627 C 458.13,483.125 437.87,483.125 425.373,470.627 L 361.373,406.627 C 348.875,394.13 348.875,373.87 361.373,361.373 C 373.869,348.876 394.13,348.875 406.627,361.373 L 470.627,425.373 ZM 150.627,105.373 C 163.125,117.87 163.124,138.131 150.627,150.627 C 138.13,163.125 117.87,163.125 105.373,150.627 L 41.373,86.627 C 28.875,74.13 28.875,53.87 41.373,41.373 C 53.869,28.876 74.13,28.875 86.627,41.373 L 150.627,105.373 ZM 425.372,41.373 C 437.869,28.875 458.13,28.876 470.626,41.373 C 483.124,53.87 483.124,74.13 470.627,86.627 L 406.627,150.627 C 394.129,163.125 373.869,163.125 361.373,150.627 C 348.875,138.131 348.875,117.87 361.373,105.373 L 425.372,41.373 ZM 105.373,361.373 C 117.87,348.875 138.13,348.876 150.627,361.373 C 163.125,373.87 163.125,394.13 150.627,406.627 L 86.627,470.627 C 74.13,483.125 53.87,483.125 41.373,470.627 C 28.876,458.131 28.875,437.87 41.373,425.373 L 105.373,361.373 ZM 256,0 C 273.673,0 288,14.327 288,32 L 288,96 C 288,113.673 273.673,128 256,128 C 238.327,128 224,113.673 224,96 L 224,32 C 224,14.327 238.327,0 256,0 ZM 256,384 C 273.673,384 288,398.326 288,416 L 288,480 C 288,497.674 273.673,512 256,512 C 238.327,512 224,497.674 224,480 L 224,416 C 224,398.326 238.327,384 256,384 ZM 0,256 C 0,238.327 14.327,224 32,224 L 96,224 C 113.673,224 128,238.327 128,256 C 128,273.674 113.673,288 96,288 L 32,288 C 14.327,288 0,273.674 0,256 ZM 384,256 C 384,238.327 398.326,224 416,224 L 480,224 C 497.674,224 512,238.327 512,256 C 512,273.673 497.674,288 480,288 L 416,288 C 398.326,288 384,273.673 384,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sun, brightness, day, lightness\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 459.975,256l 45.606-56.965l-65.807-31.536l 16.375-71.112l-72.974,0.14l-16.102-71.174L 301.389,57.14L 256,0l-45.389,57.14\n\t\tl-65.686-31.788l-16.102,71.174l-72.973-0.14l 16.374,71.112L 6.419,199.035L 52.026,256L 6.419,312.965l 65.807,31.536l-16.374,71.112\n\t\tl 72.973-0.14l 16.102,71.175l 65.686-31.788L 256,512l 45.389-57.14l 65.686,31.788l 16.102-71.175l 72.974,0.14l-16.375-71.112\n\t\tl 65.807-31.536L 459.975,256z M 256,420.5c-87.765,0-158.913-73.649-158.913-164.5c0-90.851, 71.148-164.5, 158.913-164.5\n\t\tc 87.766,0, 158.913,73.649, 158.913,164.5C 414.913,346.851, 343.766,420.5, 256,420.5zM 128,256A128,128 4680 1 1 384,256A128,128 4680 1 1 128,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sun, brightness, day, lightness\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,32 C 224,14.327 238.327,0 256,0 C 273.674,0 288,14.327 288,32 C 288,49.673 273.674,64 256,64 C 238.327,64 224,49.673 224,32 Z M 224,480 C 224,462.327 238.327,448 256,448 C 273.674,448 288,462.327 288,480 C 288,497.673 273.674,512 256,512 C 238.327,512 224,497.673 224,480 Z M 448,256 C 448,238.327 462.327,224 480,224 C 497.673,224 512,238.327 512,256 C 512,273.674 497.673,288 480,288 C 462.327,288 448,273.674 448,256 Z M 0,256 C 0,238.327 14.327,224 32,224 C 49.673,224 64,238.327 64,256 C 64,273.674 49.673,288 32,288 C 14.327,288 0,273.674 0,256 Z M 384.001,96 C 384.001,78.327 398.328,64 416.001,64 C 433.674,64 448.001,78.327 448.001,96 C 448.001,113.673 433.674,128 416.001,128 C 398.328,128 384.001,113.673 384.001,96 Z M 64,416 C 64,398.327 78.327,384 96,384 C 113.673,384 128,398.327 128,416 C 128,433.673 113.673,448 96,448 C 78.327,448 64,433.673 64,416 Z M 384.001,416 C 384.001,398.327 398.328,384 416.001,384 C 433.674,384 448.001,398.327 448.001,416 C 448.001,433.673 433.674,448 416.001,448 C 398.328,448 384.001,433.673 384.001,416 Z M 64,96 C 64,78.327 78.327,64 96,64 C 113.673,64 128,78.327 128,96 C 128,113.673 113.673,128 96,128 C 78.327,128 64,113.673 64,96 ZM 256,192 C 220.71,192 192,220.71 192,256 C 192,291.29 220.71,320 256,320 C 291.29,320 320,291.29 320,256 C 320,220.71 291.29,192 256,192 Z M 256,128 L 256,128 C 326.692,128 384,185.308 384,256 C 384,326.692 326.692,384 256,384 C 185.308,384 128,326.692 128,256 C 128,185.308 185.308,128 256,128 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"umbrella, weather, rainy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 287.933,33.98 C 414.246,49.698 512,157.43 512,288 L 503.418,288 C 492.351,268.876 471.687,256 448.001,256 C 424.316,256 403.652,268.876 392.585,288 L 375.417,288 C 364.35,268.876 343.686,256 320.001,256 C 308.339,256 297.413,259.127 288.001,264.579 L 288.001,432 C 288.001,476.112 252.113,512 208.001,512 C 163.889,512 128.001,476.112 128.001,432 C 128.001,414.327 142.328,400 160.001,400 C 177.674,400 192.001,414.327 192.001,432 C 192.001,440.822 199.179,448 208.001,448 C 216.823,448 224.001,440.822 224.001,432 L 224.001,264.578 C 214.588,259.127 203.663,256 192.001,256 C 168.315,256 147.651,268.876 136.584,288 L 119.417,288 C 108.349,268.876 87.685,256 64,256 C 40.315,256 19.651,268.876 8.583,288 L 0,288 C 0,157.43 97.754,49.698 224.067,33.98 C 224.027,33.325 224,32.666 224,32 C 224,14.327 238.327,0 256,0 C 273.673,0 288,14.327 288,32 C 288,32.666 287.973,33.325 287.933,33.98 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fan, wind\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 460.453,252.301c-25.392-25.391-56.613-41.391-89.355-48.021l 102.556-102.556c 21.799-21.801, 33.919-49.609-7.144-77.164\n\tC 398.975-15.533, 310.389-6.541, 252.302,51.547c-25.392,25.392-41.391,56.614-48.021,89.355L 101.725,38.346\n\tC 79.924,16.548, 52.115,4.427, 24.561,45.49C-15.532,113.025-6.54,201.611, 51.547,259.698c 25.392,25.392, 56.614,41.391, 89.356,48.021\n\tL 38.347,410.276c-21.799,21.801-33.919,49.609, 7.144,77.162c 67.535,40.094, 156.121,31.102, 214.208-26.984\n\tc 25.392-25.393, 41.392-56.614, 48.021-89.357l 102.556,102.556c 21.802,21.799, 49.609,33.92, 77.164-7.143\n\tC 527.533,398.975, 518.54,310.389, 460.453,252.301z M 256,320c-35.346,0-64-28.653-64-64c0-35.346, 28.654-64, 64-64\n\tc 35.347,0, 64,28.654, 64,64C 320,291.347, 291.347,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"windy, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,160c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48c0,2.305-0.173,4.569-0.486,6.788l 31.675,4.525\n\t\tC 415.713,119.615, 416,115.842, 416,112c0-44.183-35.817-80-80-80s-80,35.817-80,80s 35.817,80, 80,80l 176,0 l0-32 L 336,160 zM 64,384c0,53.019, 42.981,96, 96,96s 96-42.981, 96-96c0-8.032-0.992-15.831-2.851-23.287l-31.056,7.764\n\t\tC 223.333,373.447, 224,378.646, 224,384c0,35.347-28.654,64-64,64s-64-28.653-64-64s 28.654-64, 64-64l 352,0 l0-32 L 160,288 \n\t\tC 106.981,288, 64,330.979, 64,384zM 32,144c0-44.183, 35.817-80, 80-80s 80,35.817, 80,80c0,11.811-2.58,23.012-7.174,33.103l 29.157,13.253\n\t\tC 220.415,176.229, 224,160.534, 224,144c0-61.856-50.144-112-112-112S0,82.144,0,144c0,61.855, 50.144,112, 112,112l 400,0 l0-32 L 112,224 \n\t\tC 67.818,224, 32,188.183, 32,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"weather-snow, snow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,148.031 C 483.66,157.321 512,191.727 512,232.771 C 512,280.889 473.065,319.902 424.996,319.994 L 424.996,320 L 96.865,320 C 43.367,320 0,276.607 0,223.076 C 0,169.548 43.367,126.154 96.867,126.155 C 102.768,126.155 108.541,126.712 114.151,127.724 C 113.709,124.627 113.469,121.465 113.469,118.247 C 113.469,81.324 143.385,51.386 180.29,51.386 C 201.799,51.386 220.923,61.567 233.144,77.366 C 254.938,49.747 288.675,32 326.571,32 C 391.273,32 443.881,83.681 445.502,148.031 ZM 447.984,404.084 C 448.137,406.582 447.141,408.326 444.992,409.328 L 389.57,432.002 L 444.992,454.891 C 447.142,455.744 448.138,457.42 447.984,459.912 C 447.838,462.414 445.999,466.438 442.463,471.999 C 438.929,477.703 436.055,481.198 433.835,482.479 C 431.614,483.765 429.581,483.765 427.741,482.479 L 378.749,449.324 L 385.189,505.371 C 385.653,507.507 384.639,509.146 382.194,510.287 C 379.741,511.429 374.987,512 367.931,512 C 360.879,512 356.124,511.426 353.682,510.287 C 351.223,509.146 350.223,507.507 350.682,505.371 L 357.125,449.324 L 308.359,482.479 C 306.519,483.765 304.445,483.765 302.152,482.479 C 299.851,481.198 296.933,477.703 293.411,471.999 C 289.869,466.438 288.080,462.414 288.002,459.912 C 287.923,457.42 288.958,455.745 291.112,454.891 L 346.537,432.002 L 291.112,409.328 C 288.958,408.33 287.923,406.582 288.002,404.084 C 288.080,401.591 289.869,397.562 293.411,392.001 C 296.936,386.443 299.848,383.026 302.152,381.741 C 304.453,380.459 306.519,380.459 308.359,381.741 L 357.125,414.671 L 350.682,358.846 C 350.223,356.563 351.223,354.857 353.682,353.72 C 356.129,352.571 360.879,352 367.931,352 C 374.987,352 379.741,352.578 382.194,353.72 C 384.639,354.854 385.653,356.563 385.189,358.846 L 378.749,414.671 L 427.741,381.741 C 429.581,380.459 431.617,380.459 433.835,381.741 C 436.055,383.027 438.929,386.517 442.463,392.215 C 446,397.631 447.831,401.586 447.984,404.084 ZM 223.984,404.084 C 224.137,406.582 223.141,408.326 220.992,409.328 L 165.57,432.002 L 220.992,454.891 C 223.142,455.744 224.138,457.42 223.984,459.912 C 223.838,462.414 221.999,466.438 218.463,471.999 C 214.929,477.703 212.055,481.198 209.835,482.479 C 207.614,483.765 205.581,483.765 203.741,482.479 L 154.749,449.324 L 161.189,505.371 C 161.653,507.507 160.639,509.146 158.194,510.287 C 155.741,511.429 150.987,512 143.931,512 C 136.879,512 132.124,511.426 129.682,510.287 C 127.223,509.146 126.223,507.507 126.682,505.371 L 133.125,449.324 L 84.359,482.479 C 82.519,483.765 80.445,483.765 78.152,482.479 C 75.851,481.198 72.933,477.703 69.411,471.999 C 65.869,466.438 64.080,462.414 64.002,459.912 C 63.923,457.42 64.958,455.745 67.112,454.891 L 122.537,432.002 L 67.112,409.328 C 64.958,408.33 63.923,406.582 64.002,404.084 C 64.080,401.591 65.869,397.562 69.411,392.001 C 72.936,386.443 75.848,383.026 78.152,381.741 C 80.453,380.459 82.519,380.459 84.359,381.741 L 133.125,414.671 L 126.682,358.846 C 126.223,356.563 127.223,354.857 129.682,353.72 C 132.129,352.571 136.879,352 143.931,352 C 150.987,352 155.741,352.578 158.194,353.72 C 160.639,354.854 161.653,356.563 161.189,358.846 L 154.749,414.671 L 203.741,381.741 C 205.581,380.459 207.617,380.459 209.835,381.741 C 212.055,383.027 214.929,386.517 218.463,392.215 C 222,397.631 223.831,401.586 223.984,404.084 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"weather-rain, rainy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,148.031 C 483.66,157.321 512,191.727 512,232.771 C 512,280.889 473.065,319.902 424.996,319.994 L 424.996,320 L 96.865,320 C 43.367,320 0,276.607 0,223.076 C 0,169.548 43.367,126.154 96.867,126.155 C 102.768,126.155 108.541,126.712 114.151,127.724 C 113.709,124.627 113.469,121.465 113.469,118.247 C 113.469,81.324 143.385,51.386 180.29,51.386 C 201.799,51.386 220.923,61.567 233.144,77.366 C 254.938,49.747 288.675,32 326.571,32 C 391.273,32 443.881,83.681 445.502,148.031 ZM 112,352 C 112,352 160,416 160,464 C 160,490.51 138.51,512 112,512 C 85.49,512 64,490.51 64,464 C 64,416 112,352 112,352 ZM 400,352 C 400,352 448,416 448,464 C 448,490.51 426.51,512 400,512 C 373.49,512 352,490.51 352,464 C 352,416 400,352 400,352 ZM 256,320 C 256,320 304,384 304,432 C 304,458.51 282.51,480 256,480 C 229.49,480 208,458.51 208,432 C 208,384 256,320 256,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"weather-lightning, lightning\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,148.031C 443.881,83.681, 391.273,32, 326.57,32c-37.896,0-71.632,17.747-93.426,45.366\n\t\tc-12.221-15.8-31.345-25.98-52.854-25.98c-36.905,0-66.821,29.938-66.821,66.861c0,3.218, 0.24,6.38, 0.682,9.477\n\t\tc-5.61-1.012-11.383-1.569-17.284-1.569C 43.367,126.154,0,169.548,0,223.076C0,276.607, 43.367,320, 96.865,320l 82.737,0 l 21.333-64\n\t\tl 170.842,0 l-32,64l 85.219,0 l0-0.007 C 473.065,319.902, 512,280.889, 512,232.771C 512,191.727, 483.66,157.321, 445.502,148.031zM 320,288L 224,288L 192,384L 256,384L 224,480L 352,352L 288,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"temperature, thermometer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,360.564L 192,64 c0-17.673-14.326-32-32-32c-17.673,0-32,14.327-32,32l0,296.564 C 108.871,371.631, 96,392.313, 96,416\n\t\tc0,35.347, 28.653,64, 64,64s 64-28.653, 64-64C 224,392.313, 211.13,371.631, 192,360.564zM 256,64L 416,64L 416,96L 256,96zM 256,160L 416,160L 416,192L 256,192zM 256,256L 416,256L 416,288L 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"temperature, thermometer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,345.859L 288,160 c0-17.673-14.326-32-32-32c-17.673,0-32,14.327-32,32l0,185.859 c-10.869,9.131-17.78,22.822-17.78,38.129\n\t\t\tc0,27.492, 22.287,49.779, 49.78,49.779c 27.494,0, 49.779-22.287, 49.779-49.779C 305.781,368.682, 298.869,354.99, 288,345.859zM 352,299.316L 352,102.4 c0-56.32-43.199-102.4-96-102.4c-52.8,0-96,46.080-96,102.4l0,196.917 \n\t\t\tc-19.919,22.565-32.014,52.205-32.014,84.672C 127.988,454.688, 185.302,512, 256.001,512c 70.699,0, 128.013-57.313, 128.013-128.012\n\t\t\tC 384.014,351.521, 371.92,321.883, 352,299.316z M 256.001,480c-53.026,0-96.014-42.986-96.014-96.012\n\t\t\tc0-28.438, 12.367-53.982, 32.014-71.564L 192.001,102.4 c0-19.079, 6.94-36.99, 19.546-50.435C 223.617,39.091, 239.404,32, 256.001,32\n\t\t\tc 16.595,0, 32.384,7.091, 44.455,19.966C 313.061,65.41, 320,83.321, 320,102.4l0,210.023 c 19.646,17.582, 32.014,43.127, 32.014,71.563\n\t\t\tC 352.014,437.014, 309.028,480, 256.001,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"snowflake, winter, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 489.923,362.834L 434.663,330.932L 482.64,303.323L 458.416,261.232L 386.060,302.87L 304.564,255.817L 385.742,208.948L 458.416,250.769L 482.64,208.677L 434.348,180.887L 489.764,148.893L 465.482,106.835L 410.226,138.736L 410.303,83.386L 361.74,83.318L 361.619,166.799L 280.123,213.85L 280.123,120.111L 352.679,78.086L 328.338,36.063L 280.123,63.99L 280.123,0L 231.559,0L 231.559,63.807L 183.662,36.063L 159.322,78.086L 231.559,119.93L 231.559,214.033L 150.38,167.165L 150.261,83.318L 101.698,83.386L 101.777,139.104L 46.361,107.109L 22.077,149.167L 77.335,181.070L 29.36,208.677L 53.585,250.769L 125.939,209.13L 207.438,256.183L 126.257,303.053L 53.585,261.232L 29.36,303.323L 77.651,331.113L 22.236,363.107L 46.518,405.166L 101.775,373.264L 101.698,428.615L 150.261,428.683L 150.38,345.201L 231.877,298.148L 231.877,391.889L 159.322,433.912L 183.662,475.938L 231.877,448.010L 231.877,512L 280.441,512L 280.441,448.194L 328.338,475.938L 352.679,433.912L 280.441,392.070L 280.441,297.969L 361.619,344.836L 361.74,428.683L 410.303,428.615L 410.225,372.898L 465.642,404.895 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"starburst\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,40.007L 296.549,0L 322.744,50.579L 373.67,25.058L 382.956,81.259L 439.276,72.725L 430.74,129.044L 486.942,138.331L 461.422,189.256L 512,215.452L 471.993,256L 512,296.548L 461.422,322.744L 486.942,373.669L 430.74,382.956L 439.276,439.275L 382.956,430.741L 373.67,486.942L 322.744,461.421L 296.549,512L 256.001,471.993L 215.451,512L 189.255,461.421L 138.331,486.942L 129.044,430.741L 72.725,439.275L 81.261,382.956L 25.060,373.669L 50.579,322.744L0,296.548L 40.008,256L0,215.452L 50.579,189.256L 25.060,138.331L 81.261,129.044L 72.725,72.725L 129.044,81.259L 138.331,25.058L 189.255,50.579L 215.451,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spotlight, featured, lights, dualtone, highlight\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 498.608,439.539c 0.003,0.002, 0.005,0.004, 0.008,0.006L 495.111,436l-1.134,0 c-4.219-2.932-9.083-5.615-14.487-8l 7.711,0 \n\t\tl-7.911-8l-24.88,0 c-11.764-2.57-24.752-4-38.41-4c-13.662,0-26.653,1.43-38.419,4.002c 0.003-0.001, 0.006-0.001, 0.009-0.002l-84.852,0 \n\t\tl 4.356,8l 55.415,0 c 0.001,0, 0.002-0.001, 0.003-0.001c-5.407,2.386-10.273,5.070-14.493,8.003c 0.001,0, 0.002-0.001, 0.003-0.002l-36.57,0 \n\t\tl 4.356,8l 22.901,0 c 0.002-0.002, 0.004-0.004, 0.006-0.006c-2.348,2.557-4.264,5.232-5.692,8.008c 0.001-0.001, 0.001-0.002, 0.001-0.002\n\t\tl-12.858,0 l 4.356,8l 5.812,0 c 0.001-0.005, 0.002-0.009, 0.003-0.014C 320.117,461.31, 320,462.648, 320,464c0,1.348, 0.117,2.681, 0.334,4\n\t\tl-1.454,0 l 3.015,5.536l 0.003-0.001C 330.742,495.477, 369.511,512, 416,512c 53.020,0, 96-21.49, 96-48\n\t\tC 512,455.065, 507.112,446.702, 498.608,439.539z M 330.755,441.908c0,0.001-0.001,0.001-0.002,0.002\n\t\tC 330.754,441.909, 330.755,441.909, 330.755,441.908z M 321.382,455.858c-0.022,0.065-0.043,0.131-0.065,0.196\n\t\tC 321.338,455.989, 321.359,455.924, 321.382,455.858z M 322.184,453.791c-0.039,0.090-0.079,0.18-0.117,0.27\n\t\tC 322.104,453.97, 322.145,453.881, 322.184,453.791z M 321.36,472.076c 0.016,0.046, 0.029,0.093, 0.046,0.139\n\t\tC 321.391,472.169, 321.376,472.122, 321.36,472.076z M 320.606,469.393c 0.002,0.008, 0.004,0.016, 0.005,0.022\n\t\tC 320.61,469.408, 320.608,469.4, 320.606,469.393z M 320.943,470.729c 0.012,0.039, 0.021,0.079, 0.033,0.118\n\t\tC 320.965,470.808, 320.954,470.768, 320.943,470.729zM 179.215,420c-15.685-2.57-33.003-4-51.215-4c-18.211,0-35.529,1.43-51.213,4L 36.911,420 l-8.439,8l 14.873,0 \n\t\tc 0.018-0.006, 0.038-0.012, 0.056-0.018c-7.228,2.389-13.731,5.078-19.37,8.018l-3.999,0 l-8.44,8l 0.022,0 C 4.161,450.089,0,456.861,0,464\n\t\tc0,26.51, 57.308,48, 128,48c 65.084,0, 118.82-18.216, 126.937-41.794l 0.021,0.002l 1.057-2.208l-0.461,0 c 0.29-1.319, 0.446-2.652, 0.446-4\n\t\ts-0.156-2.683-0.446-4.002c0,0.001,0,0.001,0,0.002l 4.29,0 l 3.829-8l-11.706,0 c-1.902-2.771-4.455-5.445-7.581-8l 23.116,0 l 3.828-8l-39.36,0 \n\t\tc0,0, 0.001,0.001, 0.002,0.001c-5.625-2.933-12.111-5.616-19.318-8.001l 62.506,0 l 3.829-8l-99.775,0 C 179.213,420, 179.214,420, 179.215,420\n\t\tz M 253.245,454.061c-0.051-0.090-0.104-0.18-0.156-0.27C 253.141,453.881, 253.194,453.971, 253.245,454.061z M 254.244,456.054\n\t\tc-0.029-0.064-0.057-0.13-0.086-0.194C 254.188,455.924, 254.215,455.988, 254.244,456.054z M 233.737,436.945L 233.737,436.945\n\t\tL 233.737,436.945zM 432.14,100L 374.503,100L 366.062,108L 428.312,108 \tzM 424.482,116L 357.623,116L 349.184,124L 420.653,124 \tzM 447.455,68L 408.262,68L 399.822,76L 443.626,76 \tzM 439.798,84L 391.382,84L 382.942,92L 435.969,92 \tzM 455.113,52L 425.142,52L 416.701,60L 451.284,60 \tzM 462.771,36L 442.021,36L 433.581,44L 458.941,44 \tzM 478.086,4L 475.78,4L 467.34,12L 474.257,12 \tzM 470.428,20L 458.9,20L 450.461,28L 466.6,28 \tzM 409.167,148L 323.864,148L 315.424,156L 405.339,156 \tzM 416.825,132L 340.743,132L 332.304,140L 412.996,140 \tzM 393.852,180L 290.104,180L 281.665,188L 390.023,188 \tzM 401.51,164L 306.984,164L 298.545,172L 397.681,172 \tzM 471.38,412L 463.47,404L 286.646,404L 290.475,396L 455.56,396L 447.649,388L 294.304,388L 298.133,380L 439.739,380L 431.829,372L 301.961,372L 305.79,364L 423.918,364L 416.008,356L 309.619,356L 313.447,348L 408.098,348L 400.188,340L 317.276,340L 321.105,332L 392.277,332L 384.367,324L 324.934,324L 328.763,316L 328.763,316L 376.457,316L 368.546,308L 332.592,308L 336.42,300L 360.636,300L 352.726,292L 340.249,292L 340.249,292L 344.078,284L 344.078,284L 344.815,284L 344.318,283.497L 347.906,276L 336.905,276L 328.995,268L 328.995,268L 351.735,268L 355.564,260L 321.085,260L 321.085,260L 313.174,252L 359.393,252L 363.222,244L 305.264,244L 297.354,236L 367.051,236L 370.879,228L 289.443,228L 289.443,228L 281.533,220L 281.533,220L 374.708,220L 378.537,212L 273.623,212L 273.623,212L 265.712,204L 265.713,204L 382.365,204L 386.194,196L 273.226,196L 265.264,203.546L 257.802,196L 170.744,196L 175.102,204L 264.785,204L 256.346,212L 179.458,212L 183.815,220L 247.906,220L 239.466,228L 188.172,228L 192.529,236L 231.026,236L 231.026,236L 222.587,244L 222.586,244L 196.886,244L 201.243,252L 214.147,252L 214.147,252L 205.708,260L 205.707,260L 205.6,260L 205.636,260.067L 197.267,268L 209.957,268L 214.313,276L 188.828,276L 180.388,284L 218.67,284L 223.027,292L 171.948,292L 163.508,300L 227.384,300L 231.741,308L 155.068,308L 146.628,316L 236.098,316L 240.455,324L 138.189,324L 129.749,332L 244.812,332L 249.169,340L 121.309,340L 112.87,348L 253.526,348L 257.883,356L 104.43,356L 95.99,364L 262.239,364L 262.239,364L 266.597,372L 87.55,372L 79.11,380L 270.953,380L 270.953,380L 275.311,388L 70.67,388L 62.231,396L 279.667,396L 279.667,396L 284.024,404L 53.791,404L 45.351,412L 282.816,412L 285.419,406.562L 288.381,412 \tzM 114.104,92L 154.968,92L 147.058,84L 109.748,84 \tzM 96.677,60L 123.327,60L 115.417,52L 92.32,52 \tzM 105.391,76L 139.148,76L 131.237,68L 101.034,68 \tzM 87.963,44L 107.507,44L 99.596,36L 83.606,36 \tzM 75.865,12L 67.955,4L 66.179,4L 70.535,12 \tzM 131.532,124L 186.609,124L 178.699,116L 127.175,116 \tzM 79.249,28L 91.686,28L 83.776,20L 74.892,20 \tzM 122.818,108L 170.789,108L 162.879,100L 118.461,100 \tzM 148.96,156L 218.251,156L 210.34,148L 144.603,148 \tzM 140.246,140L 202.43,140L 194.52,132L 135.889,132 \tzM 157.674,172L 234.071,172L 226.161,164L 153.317,164 \tzM 166.388,188L 249.892,188L 241.981,180L 162.031,180 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 417.889,0L 416,0 L 32,0 l0,448 l 32,64l 384,0 L 448,60.224 L 417.889,0z M 398.111,32l 16,32L 320,64 l-16-32L 398.111,32 z M 64,32l 112,0 l 16,32L 80,64 L 64,32z\n\t M 416,480L 96,480 L 96,96 l 96,0 l0,192 l 64-64l 64,64L 320,96 l 96,0 L 416,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmarks, favorite, ribbon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,64L 128,512L 288,352L 448,512L 448,64 \tzM 384,0L 64,0L 64,448L 96,416L 96,32L 384,32 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmark, ribbon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,0l0,512 l 160-160l 160,160L 416,0 L 96,0 z M 384,434.745l-128-128l-128,128L 128,32 l 256,0 L 384,434.745 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmark, ribbon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,0L 96,512L 256,352L 416,512L 416,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 178,256A78,78 4680 1 1 334,256A78,78 4680 1 1 178,256zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,373\n\t\tc-104,0-207.999-90.999-208-117c 0.001-26.001, 104-117, 208-117s 207.997,90.999, 208,117C 463.997,282.001, 360,373, 256,373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,160C 151.316,160, 58.378,210.278,0,288c 58.378,77.723, 151.316,128, 256,128c 104.684,0, 197.622-50.277, 256-128\n\tC 453.622,210.278, 360.684,160, 256,160z M 224,224c 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 206.327,224, 224,224z\n\t M 386.808,352.648c-19.824,10.129-40.826,17.931-62.423,23.188C 302.141,381.254, 279.134,384, 256,384\n\tc-23.133,0-46.141-2.746-68.384-8.162c-21.597-5.259-42.599-13.061-62.423-23.188c-31.51-16.101-60.111-38.205-83.82-64.649\n\tc 23.709-26.444, 52.31-48.55, 83.82-64.649c 16.168-8.261, 33.121-14.973, 50.541-20.020C 165.79,218.453, 160,236.549, 160,256\n\tc0,53.020, 42.981,96, 96,96c 53.019,0, 96-42.98, 96-96c0-19.451-5.791-37.547-15.733-52.67c 17.419,5.048, 34.372,11.76, 50.541,20.021\n\tc 31.511,16.099, 60.109,38.204, 83.819,64.649C 446.917,314.443, 418.318,336.55, 386.808,352.648z M 430.459,121.861\n\tC 376.099,94.084, 317.403,80, 256,80c-61.403,0-120.099,14.084-174.459,41.861C 52.155,136.877, 24.675,155.813,0,177.899l0,54.603 \n\tc 27.669-29.283, 60.347-53.877, 96.097-72.145C 145.907,134.905, 199.706,122, 256,122s 110.093,12.905, 159.902,38.358\n\tc 35.751,18.268, 68.429,42.862, 96.098,72.145L 512,177.9 C 487.325,155.813, 459.846,136.877, 430.459,121.861z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,409.5c-74.095,0-140.032-36.302-172.742-57.941c-21.921-14.502-42.094-31.101-56.803-46.74\n\t\tC 8.654,285.892,0,269.924,0,256.001c0-13.924, 8.654-29.892, 26.456-48.819c 14.709-15.639, 34.882-32.238, 56.803-46.74\n\t\tC 115.968,138.803, 181.906,102.5, 256,102.5c 74.094,0, 140.031,36.303, 172.741,57.942c 21.92,14.502, 42.093,31.101, 56.803,46.74\n\t\tc 17.801,18.926, 26.455,34.894, 26.456,48.815c-0.001,13.927-8.655,29.895-26.456,48.822c-14.709,15.639-34.882,32.237-56.803,46.739\n\t\tC 396.031,373.198, 330.095,409.5, 256,409.5z M 48.817,256c 5.511,10.143, 28.255,34.967, 67.025,59.47\n\t\tc 27.2,17.19, 81.577,46.029, 140.158,46.029c 58.582,0, 112.959-28.839, 140.158-46.030c 38.77-24.503, 61.514-49.326, 67.024-59.469\n\t\tc-5.512-10.143-28.255-34.966-67.025-59.47C 368.958,179.339, 314.581,150.5, 256,150.5s-112.958,28.839-140.157,46.030\n\t\tC 77.073,221.033, 54.328,245.857, 48.817,256zM 256,322.999c-36.944,0-67-30.056-67-66.999c0-36.944, 30.056-67, 67-67c 36.943,0, 66.999,30.056, 66.999,67\n\t\tC 322.999,292.943, 292.943,322.999, 256,322.999z M 256,220.905c-19.352,0-35.095,15.743-35.095,35.095s 15.743,35.095, 35.095,35.095\n\t\ts 35.095-15.743, 35.095-35.095S 275.352,220.905, 256,220.905z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 92.959,357.768 C 89.468,355.604 86.223,353.52 83.259,351.558 C 61.338,337.056 41.165,320.458 26.456,304.818 C 8.654,285.892 0,269.924 0,256.001 C 0,242.077 8.654,226.109 26.454,207.183 C 41.163,191.544 61.336,174.945 83.257,160.443 C 115.967,138.804 181.905,102.501 255.999,102.501 C 262.311,102.501 268.558,102.783 274.737,103.279 L 240.534,151.163 C 187.991,155.534 140.63,180.865 115.842,196.531 C 77.072,221.035 54.327,245.859 48.816,256.002 C 54.327,266.145 77.071,290.969 115.841,315.472 C 117.44,316.482 119.141,317.536 120.923,318.619 L 92.959,357.768 ZM 485.544,207.182c-14.71-15.639-34.883-32.238-56.803-46.74c-16.325-10.8-40.938-25.242-70.702-37.007l 57.422-80.392\n\t\tl-30.922-22.087l-320,448l 30.922,22.088l 70.088-98.124c 27.191,9.628, 58.037,16.58, 90.451,16.58\n\t\tc 74.095,0, 140.031-36.302, 172.741-57.941c 21.921-14.502, 42.094-31.101, 56.803-46.739c 17.801-18.927, 26.455-34.895, 26.456-48.822\n\t\tC 511.999,242.076, 503.345,226.108, 485.544,207.182z M 396.158,315.47C 368.959,332.661, 314.582,361.5, 256,361.5\n\t\tc-21.332,0-42.102-3.827-61.207-9.521l 29.037-40.651c 9.453,5.51, 20.44,8.673, 32.17,8.673c 35.347,0, 64-28.653, 64-64\n\t\tc0-19.321-8.572-36.626-22.11-48.357l 31.258-43.76c 28.146,9.813, 51.818,23.046, 67.010,32.647\n\t\tc 38.771,24.504, 61.514,49.327, 67.025,59.47C 457.672,266.144, 434.928,290.967, 396.158,315.47z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,409.5c-74.095,0-140.032-36.302-172.742-57.941c-21.921-14.502-42.094-31.101-56.803-46.74\n\t\tC 8.654,285.892,0,269.924,0,256.001c0-13.924, 8.654-29.892, 26.456-48.819c 14.709-15.639, 34.882-32.238, 56.803-46.74\n\t\tC 115.968,138.803, 181.906,102.5, 256,102.5c 74.094,0, 140.031,36.303, 172.741,57.942c 21.92,14.502, 42.093,31.101, 56.803,46.74\n\t\tc 17.801,18.926, 26.455,34.894, 26.456,48.815c-0.001,13.927-8.655,29.895-26.456,48.822c-14.709,15.639-34.882,32.237-56.803,46.739\n\t\tC 396.031,373.198, 330.095,409.5, 256,409.5z M 48.817,256c 5.511,10.143, 28.255,34.967, 67.025,59.47\n\t\tc 27.2,17.19, 81.577,46.029, 140.158,46.029c 58.582,0, 112.959-28.839, 140.158-46.030c 38.77-24.503, 61.514-49.326, 67.024-59.469\n\t\tc-5.512-10.143-28.255-34.966-67.025-59.47C 368.958,179.339, 314.581,150.5, 256,150.5s-112.958,28.839-140.157,46.030\n\t\tC 77.073,221.033, 54.328,245.857, 48.817,256zM 192,256A64,64 2520 1 1 320,256A64,64 2520 1 1 192,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye-blocked, views, vision, visit, banned, blocked, forbidden, private\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,320c 35.346,0, 64-28.654, 64-64c0-13.627-4.271-26.249-11.531-36.628l 151.68-176.959l-24.297-20.825L 284.183,198.535\n\t\tC 275.678,194.355, 266.115,192, 256,192c-35.346,0-64,28.654-64,64c0,13.627, 4.272,26.249, 11.531,36.628L 51.852,469.587\n\t\tl 24.296,20.826l 151.669-176.947C 236.322,317.645, 245.884,320, 256,320zM 165.436,287.902C 161.919,277.92, 160,267.185, 160,256c0-53.020, 42.979-96, 96-96c 6.037,0, 11.941,0.563, 17.67,1.629\n\t\tl 37.081-43.262C 292.753,114.318, 274.377,112, 256,112C 128,112, 0.001,223.999,0,256c0,18.815, 44.258,65.279, 106.74,100.381\n\t\tL 165.436,287.902zM 405.26,155.62l-58.695,68.478C 350.081,234.080, 352,244.815, 352,256c0,53.020-42.98,96-96,96\n\t\tc-6.037,0-11.941-0.563-17.67-1.629l-37.081,43.262C 219.248,397.682, 237.623,400, 256,400c 128,0, 255.997-111.999, 256-144\n\t\tC 511.998,237.185, 467.741,190.72, 405.26,155.62z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,112C 128,112, 0.001,223.999,0,256l0,0c 0.001,32.001, 128,144, 256,144s 255.997-111.999, 256-144l0,0\n\t\tC 511.997,223.999, 384,112, 256,112z M 256,352c-53.021,0-96-42.98-96-96c0-53.020, 42.979-96, 96-96c 53.020,0, 96,42.98, 96,96\n\t\tC 352,309.020, 309.020,352, 256,352zM 192,256A64,64 7560 1 1 320,256A64,64 7560 1 1 192,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,112C 128,112, 0.001,223.999,0,256l0,0c 0.001,32.001, 128,144, 256,144s 255.997-111.999, 256-144l0,0\n\t\tC 511.997,223.999, 384,112, 256,112z M 256,352c-53.021,0-96-42.98-96-96c0-53.020, 42.979-96, 96-96c 53.020,0, 96,42.98, 96,96\n\t\tC 352,309.020, 309.020,352, 256,352zM 224,256A32,32 12600 1 1 288,256A32,32 12600 1 1 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye-blocked, views, vision, visit, banned, blocked, forbidden, private\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 419.661,148.208 C 458.483,175.723 490.346,212.754 512,256 C 464.439,350.979 367.657,416 256,416 C 224.717,416 194.604,410.894 166.411,401.458 L 205.389,362.48 C 221.918,366.13 238.875,368 256,368 C 300.779,368 344.427,355.257 382.223,331.148 C 412.304,311.96 437.795,286.26 456.941,255.999 C 438.415,226.716 413.934,201.724 385.116,182.752 L 419.661,148.208 ZM 256,349 C 244.638,349 233.624,347.512 223.136,344.733 L 379.729,188.141 C 382.51,198.627 384,209.638 384,221 C 384,291.692 326.692,349 256,349 ZM 480,0l-26.869,0 L 343.325,109.806C 315.787,100.844, 286.448,96, 256,96C 144.341,96, 47.559,161.021,0,256\n\t\tc 21.329,42.596, 52.564,79.154, 90.597,106.534L0,453.131L0,480 l 26.869,0 L 480,26.869L 480,0 z M 208,157c 24.022,0, 43.923,17.647, 47.446,40.685\n\t\tl-54.762,54.762C 177.647,248.923, 160,229.022, 160,205C 160,178.49, 181.49,157, 208,157z M 55.058,256\n\t\tc 19.146-30.262, 44.637-55.962, 74.717-75.148c 1.959-1.25, 3.938-2.461, 5.929-3.65C 130.725,190.866, 128,205.613, 128,221\n\t\tc0,29.262, 9.825,56.224, 26.349,77.781l-29.275,29.275C 97.038,309.235, 73.197,284.67, 55.058,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,96C 144.341,96, 47.559,161.021,0,256c 47.559,94.979, 144.341,160, 256,160c 111.657,0, 208.439-65.021, 256-160\n\tC 464.442,161.021, 367.657,96, 256,96z M 382.225,180.852c 30.081,19.187, 55.571,44.887, 74.717,75.148\n\tc-19.146,30.261-44.637,55.961-74.718,75.149C 344.427,355.257, 300.779,368, 256,368c-44.78,0-88.428-12.743-126.225-36.852\n\tC 99.695,311.962, 74.205,286.262, 55.058,256c 19.146-30.262, 44.637-55.962, 74.717-75.148c 1.959-1.25, 3.938-2.461, 5.929-3.65\n\tC 130.725,190.866, 128,205.613, 128,221c0,70.692, 57.308,128, 128,128s 128-57.308, 128-128c0-15.387-2.725-30.134-7.704-43.799\n\tC 378.286,178.39, 380.265,179.602, 382.225,180.852z M 256,205c0,26.51-21.49,48-48,48s-48-21.49-48-48s 21.49-48, 48-48\n\tS 256,178.49, 256,205z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"attachment, paperclip\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128L 128,128 C 57.308,128,0,185.308,0,256s 57.308,128, 128,128l 288,0 l0-32 L 128,352 c-53.020,0-96-42.98-96-96s 42.98-96, 96-96l 288,0 \n\tc 35.347,0, 64,28.654, 64,64c0,35.347-28.653,64-64,64L 192,288 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 224,0 l0-32 L 192,192 \n\tc-35.346,0-64,28.654-64,64c0,35.347, 28.654,64, 64,64l 224,0 c 53.020,0, 96-42.98, 96-96S 469.020,128, 416,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"attachment, paperclip\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 348.916,163.524l-32.476-32.461L 154.035,293.434c-26.907,26.896-26.907,70.524,0,97.422\n\tc 26.902,26.896, 70.53,26.896, 97.437,0l 194.886-194.854c 44.857-44.831, 44.857-117.531,0-162.363\n\tc-44.833-44.852-117.556-44.852-162.391,0L 79.335,238.212l 0.017,0.016c-0.145,0.152-0.306,0.288-0.438,0.423\n\tc-62.551,62.548-62.551,163.928,0,226.453c 62.527,62.528, 163.934,62.528, 226.494,0c 0.137-0.137, 0.258-0.284, 0.41-0.438l 0.016,0.017\n\tl 139.666-139.646l-32.493-32.46L 273.35,432.208l-0.008,0 c-0.148,0.134-0.282,0.285-0.423,0.422\n\tc-44.537,44.529-116.99,44.529-161.538,0c-44.531-44.521-44.531-116.961,0-161.489c 0.152-0.152, 0.302-0.291, 0.444-0.423l-0.023-0.030\n\tl 204.64-204.583c 26.856-26.869, 70.572-26.869, 97.443,0c 26.856,26.867, 26.856,70.574,0,97.42L 218.999,358.375\n\tc-8.968,8.961-23.527,8.961-32.486,0c-8.947-8.943-8.947-23.516,0-32.46L 348.916,163.524z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32.5c 19.393,0.786, 33.686,2.681, 46.365,6.903c 19.163,6.381, 35.674,19.009, 55.209,42.224\n\t\t\tc 54.165,64.364, 108.925,91.826, 183.107,91.826c 7.729,0, 15.767-0.307, 24.147-0.925c-10.090,11.872-20.705,23.466-31.729,34.059\n\t\t\tc-15.453,14.849-30.499,26.521-44.72,34.692c-14.99,8.612-29.547,13.609-43.263,14.851c-1.81,0.164-3.533,0.243-5.271,0.243\n\t\t\tc-16.82,0-29.746-7.817-49.442-20.573c-22.574-14.618-50.668-32.812-91.546-32.812c-13.692,0-27.906,2.034-42.859,6.161L 127.998,32.5 \n\t\t\t M 96,0l0,256 c 30.587-15.262, 54.737-21.011, 74.859-21.011c 61.341,0, 85.367,53.384, 140.988,53.384c 2.648,0, 5.354-0.12, 8.152-0.373\n\t\t\tc 79.729-7.221, 147.031-99.564, 192-160c-38.205,8.835-70.726,13.453-99.318,13.453c-66.72,0-112.085-25.129-158.623-80.43\n\t\t\tC 205.881,3.773, 169.369,0, 96,0L 96,0zM0,0L 64,0L 64,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 254.059,61.023C 205.881,3.773, 169.369,0, 96,0l0,256 c 128.267-64, 142.636,8.335, 223.506,1.023\n\t\tC 399.234,249.803, 467.031,188.436, 512,128C 384.644,157.453, 320.54,140.023, 254.059,61.023zM0,0L 64,0L 64,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 295.832,37.094C 284.518,3.451, 151.002,13.915, 110.264,14.908C 106.385,6.129, 98.028,0, 88.384,0\n\tC 75.069,0, 64.177,11.638, 64.177,25.86l0,460.281 c0,14.223, 10.893,25.859, 24.207,25.859c 13.313,0, 24.205-11.637, 24.205-25.859L 112.589,266.176 \n\tc 42.999-32.181, 174.39-71.337, 183.246-43.268c 9.891,31.352, 105.426,56.895, 151.99,35.262c0,0,0-158.896,0-203.115\n\tC 344.196,100.653, 308.633,75.147, 295.832,37.094z M 112.589,254.707L 112.589,30.38 C 126.911,63.968, 153.415,149.373, 112.589,254.707z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432.311,3.138L 303.69,28.862C 295.061,30.588, 288,24.8, 288,16S 280.94,1.412, 272.311,3.138L 128,32L 128,0 L 64,0 l0,512 l 64,0 L 128,256 \n\tl 144.311-28.862C 280.94,225.412, 288,231.2, 288,240s 7.061,14.588, 15.689,12.862l 128.621-25.725C 440.94,225.412, 448,216.8, 448,208L 448,16 \n\tC 448,7.2, 440.94,1.412, 432.311,3.138z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,0 C 81.673,0 96,14.327 96,32 L 96,512 L 32,512 L 32,32 C 32,14.327 46.327,0 64,0 ZM 304,56.615 L 304,327.384 C 282.5,313.075 251.047,302.77 216,302.77 C 180.953,302.77 149.5,320.459 128,334.769 L 128,64 C 149.5,49.689 180.953,32 216,32 C 251.047,32 282.5,42.305 304,56.615 ZM 416,384 C 377.767,384 343.454,373.695 320,359.384 L 320,88.615 C 343.454,102.925 377.767,113.23 416,113.23 C 454.233,113.23 488.546,94.311 512,80 L 512,350.769 C 488.546,365.080 454.233,384 416,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,86.153 C 454.233,86.153 488.546,65.342 512,49.6 L 512,347.445 C 488.546,363.188 454.233,384 416,384 C 377.767,384 343.454,372.665 320,356.922 C 296.546,341.182 262.233,329.847 224,329.847 C 185.767,329.847 151.455,349.305 128,365.045 L 128,67.2 C 151.455,51.458 185.767,32 224,32 C 262.233,32 296.546,43.334 320,59.076 C 343.454,74.818 377.767,86.153 416,86.153 ZM 64,0 C 81.673,0 96,14.327 96,32 L 96,512 L 32,512 L 32,32 C 32,14.327 46.327,0 64,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"anchor, link\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288l0,66.098 c-40.261,41.123-96.519,80.825-160,91.254L 288,256 l 96,0 l0-32 l-96-37.465l0-0.006 c 37.282-13.18, 64-48.731, 64-90.529\n\tc0-53.020-42.98-96-96-96c-53.021,0-96,42.98-96,96c0,41.798, 26.715,77.35, 64,90.529l0,0.006 L 128,224l0,32 l 96,0 l0,189.352 \n\tc-63.484-10.429-119.742-50.131-160-91.254L 64,288 L0,288 l0,32 c0,64, 128,192, 256,192s 256-128, 256-192l0-32 L 448,288 z M 288,96\n\tc0,17.673-14.327,32-32,32c-17.673,0-32-14.327-32-32s 14.327-32, 32-32C 273.673,64, 288,78.327, 288,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, attach, chain, anchor, url, uri\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.745,154.745l-69.49-69.49C 408.81,72.809, 392.404,66.587, 376,66.587s-32.81,6.222-45.255,18.667l-133.49,133.49\n\t\tc-24.891,24.89-24.891,65.62,0,90.509L 200,312l 31.819-31.82l-2.745-2.745c-4.774-4.774-5.487-10.467-5.487-13.435\n\t\tc0-2.969, 0.713-8.661, 5.487-13.436l 133.49-133.49c 4.775-4.775, 10.468-5.488, 13.436-5.488s 8.66,0.713, 13.435,5.488l 69.491,69.491\n\t\tc 4.774,4.774, 5.487,10.466, 5.487,13.435s-0.713,8.66-5.487,13.435l-133.491,133.49c-4.774,4.775-10.467,5.488-13.435,5.488\n\t\ts-8.66-0.713-13.435-5.488l-2.745-2.746L 264,375.999l 2.745,2.746c 12.445,12.445, 28.851,18.668, 45.255,18.668\n\t\ts 32.81-6.223, 45.255-18.668l 133.49-133.491C 515.636,220.364, 515.636,179.635, 490.745,154.745zM 314.745,202.745L 312,200l-31.82,31.82l 2.746,2.746c 4.774,4.774, 5.487,10.466, 5.487,13.435s-0.713,8.661-5.487,13.435\n\t\tl-133.491,133.49c-4.774,4.775-10.467,5.488-13.435,5.488c-2.969,0-8.66-0.713-13.436-5.488l-69.489-69.49\n\t\tc-7.283-7.282-7.283-19.587-0.001-26.87l 133.49-133.49c 4.775-4.774, 10.467-5.487, 13.436-5.487c 2.968,0, 8.66,0.713, 13.435,5.487\n\t\tl 2.745,2.745L 248,136l-2.745-2.745c-12.445-12.445-28.851-18.667-45.255-18.667c-16.405,0-32.81,6.222-45.255,18.667\n\t\tl-133.49,133.49c-24.891,24.891-24.891,65.62,0,90.511l 69.49,69.49c 12.445,12.445, 28.85,18.668, 45.255,18.668\n\t\tc 16.404,0, 32.81-6.223, 45.255-18.668l 133.49-133.491C 339.636,268.364, 339.636,227.635, 314.745,202.745z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, url, uri, anchor\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 159.965,352.034c 8.803,8.803, 23.209,8.803, 32.012,0l 160.059-160.059c 8.805-8.803, 8.805-23.208,0-32.012\n\t\tc-8.802-8.803-23.208-8.803-32.012,0L 159.965,320.022C 151.162,328.825, 151.162,343.231, 159.965,352.034zM 489.457,73.305l-50.765-50.763c-30.056-30.056-79.237-30.056-109.294,0l-82.775,82.775\n\t\tc-21.994,21.995-27.891,54.229-17.695,81.719L 348.597,67.368c 12.449-12.45, 32.822-12.45, 45.271,0l 50.764,50.763\n\t\tc 12.448,12.45, 12.448,32.822,0,45.271L 324.965,283.069c 27.487,10.195, 59.723,4.301, 81.717-17.695l 82.775-82.773\n\t\tC 519.515,152.543, 519.515,103.362, 489.457,73.305zM 163.403,444.632c-12.449,12.449-32.821,12.449-45.271,0L 67.37,393.868c-12.449-12.45-12.449-32.822,0-45.271\n\t\tL 187.036,228.93c-27.489-10.196-59.725-4.3-81.719,17.695l-82.774,82.773c-30.057,30.060-30.057,79.24,0,109.297l 50.764,50.763\n\t\tc 30.056,30.058, 79.239,30.058, 109.293,0l 82.777-82.774c 21.994-21.994, 27.891-54.229, 17.694-81.719L 163.403,444.632z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, url, uri, anchor\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 476.698,37.321l-2.014-2.021c-47.074-47.067-124.097-47.067-171.163,0L 194.468,144.368\n\t\tc-47.067,47.066-47.067,124.088,0,171.155l 2.013,2.013c 3.916,3.924, 8.073,7.462, 12.368,10.729l 39.924-39.925\n\t\tc-4.651-2.747-9.063-6.036-13.058-10.030l-2.021-2.021c-25.557-25.549-25.557-67.136,0-92.695L 342.758,74.538\n\t\tc 25.558-25.559, 67.137-25.559, 92.693,0l 2.021,2.012c 25.55,25.558, 25.55,67.146,0,92.695l-49.343,49.343\n\t\tc 8.566,21.154, 12.624,43.7, 12.269,66.193l 76.302-76.302C 523.767,161.411, 523.767,84.39, 476.698,37.321zM 315.521,194.467c-3.916-3.916-8.073-7.461-12.368-10.72l-39.924,39.916c 4.652,2.748, 9.063,6.037, 13.058,10.031l 2.021,2.020\n\t\tc 25.558,25.558, 25.558,67.136,0,92.694L 169.243,437.475c-25.559,25.551-67.138,25.551-92.694,0l-2.021-2.021\n\t\tc-25.549-25.56-25.549-67.138,0-92.694l 49.344-49.343c-8.567-21.153-12.623-43.701-12.269-66.193l-76.301,76.299\n\t\tc-47.068,47.066-47.068,124.089,0,171.162l 2.013,2.016c 47.076,47.064, 124.096,47.064, 171.164,0l 109.055-109.059\n\t\tc 47.067-47.066, 47.067-124.097,0-171.163L 315.521,194.467z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link2\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,320 L 256,320 L 208,384 L 48,384 L 0,336 L 0,208 L 48,160 L 208,160 L 256,224 L 64,224 ZM 448,224L 256,224L 304,160L 464,160L 512,208L 512,336L 464,384L 304,384L 256,320L 448,320 zM 224,416L 288,416L 288,512L 224,512zM 109.255,512 L 64,512 L 64,466.744 L 114.745,416 L 160,416 L 160,461.256 ZM 448,466.744 L 448,512 L 402.744,512 L 352,461.256 L 352,416 L 397.256,416 ZM 224,32L 288,32L 288,128L 224,128zM 160,82.744L 160,128L 114.745,128L 64,77.256L 64,32L 109.255,32 zM 397.256,128L 352,128L 352,82.744L 402.744,32L 448,32L 448,77.256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,304L 192,304 c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32l 128,0 c 17.673,0, 32,14.327, 32,32\n\t\tC 352,289.673, 337.673,304, 320,304zM 64,320 L 256,320 L 208,384 L 48,384 L 0,336 L 0,208 L 48,160 L 208,160 L 256,224 L 64,224 ZM 448,224L 256,224L 304,160L 464,160L 512,208L 512,336L 464,384L 304,384L 256,320L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, unlink\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 238.444,337.557c 2.28,4.524, 3.495,9.579, 3.495,14.848c0,8.808-3.372,17.029-9.496,23.154l-81.69,81.69\n\t\tc-6.124,6.124-14.348,9.496-23.154,9.496s-17.030-3.372-23.154-9.496l-49.69-49.69c-6.124-6.125-9.496-14.348-9.496-23.154\n\t\ts 3.372-17.030, 9.496-23.154l 81.69-81.691c 6.124-6.123, 14.348-9.496, 23.154-9.496c 5.269,0, 10.322,1.215, 14.848,3.494l 32.669-32.668\n\t\tc-13.935-10.705-30.72-16.080-47.517-16.080c-19.993,0-39.986,7.583-55.154,22.751l-81.69,81.691\n\t\tc-30.335,30.335-30.335,79.975,0,110.309l 49.69,49.691c 15.167,15.166, 35.16,22.75, 55.153,22.75\n\t\tc 19.994,0, 39.987-7.584, 55.154-22.751l 81.69-81.69c 27.91-27.91, 30.119-72.149, 6.672-102.673L 238.444,337.557zM 489.248,72.442l-49.69-49.691C 424.391,7.583, 404.398,0, 384.404,0c-19.993,0-39.985,7.583-55.153,22.751l-81.691,81.691\n\t\tc-27.91,27.91-30.119,72.149-6.671,102.671l 32.669-32.67c-2.279-4.525-3.494-9.58-3.494-14.847c0-8.808, 3.372-17.030, 9.496-23.154\n\t\tl 81.691-81.691c 6.123-6.124, 14.347-9.497, 23.153-9.497c 8.808,0, 17.030,3.373, 23.154,9.497l 49.69,49.691\n\t\tc 6.124,6.124, 9.496,14.347, 9.496,23.154c0,8.807-3.372,17.030-9.496,23.154l-81.69,81.691c-6.124,6.124-14.347,9.496-23.154,9.496\n\t\tc-5.268,0-10.322-1.215-14.848-3.495l-32.669,32.669c 13.936,10.705, 30.72,16.080, 47.517,16.080c 19.994,0, 39.987-7.584, 55.154-22.752\n\t\tl 81.69-81.69C 519.584,152.416, 519.584,102.777, 489.248,72.442zM 116.684,139.312L 20.687,43.315L 43.315,20.687L 139.312,116.684zM 192,0L 224,0L 224,96L 192,96zM0,192L 96,192L 96,224L0,224zM 395.316,372.688L 491.314,468.686L 468.686,491.314L 372.688,395.316zM 288,416L 320,416L 320,512L 288,512zM 416,288L 512,288L 512,320L 416,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, url, uri, anchor\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,352c 8.8,8.8, 23.637,8.363, 32.971-0.971L 351.030,192.971C 360.364,183.637, 360.8,168.8, 352,160\n\t\ts-23.637-8.363-32.971,0.971L 160.971,319.029C 151.637,328.363, 151.2,343.2, 160,352zM 238.444,337.556c 2.28,4.525, 3.495,9.58, 3.495,14.848c0,8.808-3.372,17.030-9.496,23.154l-81.691,81.691\n\t\tc-6.124,6.124-14.347,9.496-23.154,9.496s-17.030-3.372-23.154-9.496l-49.691-49.691c-6.124-6.124-9.496-14.347-9.496-23.154\n\t\ts 3.372-17.030, 9.496-23.154l 81.691-81.691c 6.124-6.124, 14.347-9.497, 23.154-9.497c 5.268,0, 10.322,1.215, 14.848,3.495l 32.669-32.669\n\t\tc-13.935-10.705-30.72-16.080-47.517-16.080c-19.993,0-39.986,7.583-55.154,22.751l-81.691,81.691\n\t\tc-30.335,30.335-30.335,79.974,0,110.309l 49.691,49.691C 87.611,504.416, 107.604,512, 127.597,512\n\t\tc 19.994,0, 39.987-7.584, 55.154-22.751l 81.691-81.691c 27.91-27.91, 30.119-72.149, 6.672-102.672L 238.444,337.556zM 489.249,72.442l-49.691-49.691C 424.391,7.583, 404.398,0, 384.404,0c-19.993,0-39.986,7.583-55.154,22.751l-81.691,81.691\n\t\tc-27.91,27.91-30.119,72.149-6.671,102.671l 32.669-32.67c-2.279-4.525-3.494-9.58-3.494-14.847c0-8.808, 3.372-17.030, 9.496-23.154\n\t\tl 81.691-81.691c 6.124-6.124, 14.347-9.497, 23.154-9.497s 17.030,3.373, 23.154,9.497l 49.691,49.691\n\t\tc 6.124,6.124, 9.496,14.347, 9.496,23.154s-3.372,17.030-9.496,23.154l-81.691,81.691c-6.124,6.124-14.347,9.496-23.154,9.496\n\t\tc-5.268,0-10.322-1.215-14.848-3.495l-32.669,32.669c 13.936,10.705, 30.72,16.080, 47.517,16.080c 19.994,0, 39.987-7.584, 55.154-22.751\n\t\tl 81.691-81.691C 519.584,152.416, 519.584,102.777, 489.249,72.442z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"network, p2p, connection, lan\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,224 L 384,224 L 384,96 L 256,96 L 256,0 L0,0 l0,192 l 96,0 l0,32 L 64,224 l0,32 l 128,0 l0-32 l-32,0 l0-32 l 96,0 l0-64 l 96,0 l0,96 l-96,0 l0,192 l 96,0 l0,32 l-32,0 l0,32 l 128,0 l0-32 l-32,0 l0-32 L 512,416 z\n\t M 224,160L 32,160 L 32,32 l 192,0 L 224,160 z M 288,384L 288,256 l 192,0 l0,128 L 288,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"earth, globe, web, internet, sphere, planet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 437.020,74.981 C 485.371,123.333 512,187.621 512,256.001 C 512,324.381 485.371,388.668 437.020,437.020 C 388.667,485.371 324.38,512 256,512 C 187.62,512 123.333,485.371 74.98,437.020 C 26.629,388.668 0,324.381 0,256.001 C 0,187.621 26.627,123.333 74.98,74.981 C 123.333,26.629 187.62,0 256,0 C 324.38,0 388.667,26.629 437.020,74.981 Z M 414.392,414.393 C 445.921,382.863 466.885,343.589 475.528,300.862 C 468.791,310.78 462.347,314.459 458.356,292.259 C 454.246,256.064 421.002,279.185 400.098,266.329 C 378.096,281.158 328.645,237.498 337.049,286.741 C 350.016,308.952 407.053,257.016 378.623,304.012 C 360.486,336.82 312.302,409.478 318.57,447.141 C 319.361,502.013 262.503,458.583 242.913,440.381 C 229.735,403.921 238.422,340.194 203.964,322.338 C 166.563,320.714 134.462,317.315 119.967,275.503 C 111.244,245.589 129.249,201.056 161.306,194.181 C 208.231,164.698 224.993,228.708 269.001,229.898 C 282.665,215.601 319.909,211.055 322.997,195.023 C 294.122,189.928 359.631,170.744 320.233,159.832 C 298.498,162.388 284.494,182.369 296.049,199.311 C 253.93,209.132 252.581,138.359 212.094,160.682 C 211.065,195.977 145.983,172.125 189.576,164.968 C 204.554,158.424 165.146,139.46 186.436,142.906 C 196.894,142.338 232.102,130 222.574,121.705 C 242.179,109.535 258.654,150.85 277.843,120.764 C 291.697,97.631 272.033,93.36 254.668,105.086 C 244.878,94.124 271.953,70.448 295.834,60.217 C 303.793,56.807 311.395,54.949 317.207,55.475 C 329.236,69.371 351.482,71.778 352.646,53.804 C 322.855,39.537 290.008,32 256,32 C 207.189,32 160.765,47.512 122.346,76.195 C 132.671,80.925 138.532,86.814 128.585,94.343 C 120.857,117.37 89.5,148.281 61.973,143.905 C 47.68,168.553 38.267,195.708 34.243,224.169 C 57.299,231.797 62.615,246.894 57.661,251.944 C 45.913,262.188 38.693,276.709 34.973,292.605 C 42.478,338.523 64.059,380.843 97.608,414.393 C 139.916,456.7 196.167,480 256,480 C 315.832,480 372.084,456.7 414.392,414.393 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"globe, network, sphere, internet, web\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 265.035,470.342\n\tc-3.771,8.332-6.934,12.994-9.035,15.516c-2.102-2.521-5.265-7.184-9.036-15.516c-5.792-12.799-11.245-30.529-15.768-51.273\n\tc-0.278-1.276-0.552-2.566-0.823-3.864C 238.802,415.728, 247.35,416, 256,416c 8.65,0, 17.198-0.272, 25.628-0.796\n\tc-0.271,1.298-0.545,2.588-0.823,3.864C 276.281,439.812, 270.828,457.543, 265.035,470.342z M 256,392\n\tc-10.145,0-20.19-0.387-30.108-1.155c-3.553-22.027-6.201-46.185-7.858-71.546C 230.423,319.759, 243.098,320, 256,320\n\tc 12.901,0, 25.577-0.241, 37.967-0.702c-1.657,25.362-4.306,49.52-7.858,71.546C 276.19,391.613, 266.146,392, 256,392z M 256,296\n\tc-13.225,0-26.339-0.261-39.229-0.771C 216.261,282.339, 216,269.225, 216,256s 0.261-26.339, 0.771-39.229\n\tC 229.661,216.261, 242.775,216, 256,216c 13.225,0, 26.339,0.261, 39.229,0.771C 295.739,229.661, 296,242.775, 296,256\n\tc0,13.225-0.261,26.339-0.771,39.229C 282.339,295.739, 269.225,296, 256,296z M 120,256c0-10.145, 0.387-20.19, 1.156-30.108\n\tc 22.027-3.553, 46.184-6.201, 71.546-7.858C 192.241,230.423, 192,243.098, 192,256c0,12.901, 0.241,25.577, 0.702,37.967\n\tc-25.362-1.657-49.519-4.306-71.546-7.857C 120.387,276.19, 120,266.146, 120,256z M 96.796,281.628\n\tc-1.298-0.271-2.588-0.545-3.865-0.823c-20.745-4.523-38.475-9.977-51.274-15.77c-8.332-3.771-12.995-6.934-15.515-9.035\n\tc 2.52-2.101, 7.183-5.264, 15.515-9.035c 12.799-5.793, 30.53-11.245, 51.274-15.768c 1.277-0.278, 2.567-0.552, 3.865-0.823\n\tC 96.272,238.803, 96,247.351, 96,256C 96,264.65, 96.272,273.198, 96.796,281.628z M 246.964,41.657\n\tc 3.771-8.332, 6.934-12.994, 9.036-15.514c 2.102,2.52, 5.266,7.183, 9.035,15.515c 5.793,12.799, 11.244,30.53, 15.77,51.274\n\tc 0.278,1.276, 0.552,2.566, 0.823,3.864C 273.198,96.272, 264.65,96, 256,96c-8.65,0-17.198,0.272-25.627,0.796\n\tc 0.271-1.298, 0.545-2.588, 0.823-3.865C 235.719,72.186, 241.172,54.456, 246.964,41.657z M 256,120c 10.146,0, 20.19,0.387, 30.108,1.156\n\tc 3.553,22.027, 6.201,46.184, 7.858,71.546C 281.577,192.241, 268.901,192, 256,192c-12.902,0-25.577,0.241-37.966,0.702\n\tc 1.657-25.362, 4.305-49.519, 7.858-71.546C 235.81,120.386, 245.854,120, 256,120z M 319.298,218.034\n\tc 25.362,1.658, 49.52,4.305, 71.546,7.858C 391.613,235.81, 392,245.855, 392,256c0,10.146-0.387,20.19-1.156,30.108\n\tc-22.026,3.553-46.184,6.201-71.546,7.858C 319.759,281.577, 320,268.901, 320,256C 320,243.098, 319.759,230.423, 319.298,218.034z\n\t M 415.204,230.374c 1.298,0.271, 2.588,0.545, 3.864,0.823c 20.744,4.523, 38.475,9.975, 51.273,15.768\n\tc 8.332,3.771, 12.994,6.934, 15.516,9.035c-2.521,2.102-7.184,5.266-15.516,9.035c-12.8,5.793-30.529,11.244-51.273,15.77\n\tc-1.276,0.278-2.566,0.552-3.864,0.823C 415.728,273.198, 416,264.65, 416,256C 416,247.351, 415.728,238.803, 415.204,230.374z\n\t M 412.871,205.424c-2.382-19.014-6.075-37.269-10.931-54.507c 7.833,3.788, 15.299,7.885, 22.358,12.297\n\tc 20.652,12.907, 36.703,27.697, 47.707,43.958c 4.164,6.152, 7.51,12.42, 10.054,18.775C 464.994,217.941, 441.329,210.949, 412.871,205.424\n\tz M 380.223,162.488c 3.323,12.571, 5.943,25.489, 7.865,38.681c-21.474-3.24-45.006-5.712-69.988-7.268\n\tc-1.557-24.982-4.028-48.515-7.268-69.988c 13.191,1.921, 26.109,4.541, 38.681,7.864c 8.094,2.14, 15.931,4.547, 23.513,7.197\n\tC 375.676,146.557, 378.083,154.394, 380.223,162.488z M 306.576,99.129c-5.525-28.458-12.518-52.124-20.524-69.189\n\tc 6.355,2.544, 12.624,5.89, 18.776,10.054c 16.261,11.004, 31.050,27.055, 43.957,47.707c 4.412,7.060, 8.511,14.526, 12.298,22.359\n\tC 343.845,105.204, 325.59,101.51, 306.576,99.129z M 207.173,39.993c 6.152-4.164, 12.42-7.509, 18.775-10.053\n\tc-8.006,17.065-14.999,40.73-20.523,69.189c-19.014,2.381-37.269,6.075-54.507,10.931c 3.787-7.833, 7.885-15.3, 12.297-22.36\n\tC 176.122,67.049, 190.912,50.997, 207.173,39.993z M 162.488,131.776c 12.571-3.323, 25.489-5.942, 38.681-7.864\n\tc-3.24,21.474-5.712,45.006-7.268,69.988c-24.982,1.556-48.515,4.028-69.988,7.268c 1.921-13.192, 4.541-26.11, 7.864-38.682\n\tc 2.14-8.094, 4.547-15.931, 7.198-23.514C 146.557,136.322, 154.394,133.916, 162.488,131.776z M 99.129,205.424\n\tc-28.458,5.525-52.124,12.517-69.189,20.523c 2.544-6.355, 5.89-12.624, 10.054-18.776c 11.004-16.261, 27.055-31.050, 47.707-43.958\n\tc 7.060-4.412, 14.526-8.51, 22.359-12.297C 105.204,168.155, 101.51,186.41, 99.129,205.424z M 29.94,286.053\n\tc 17.065,8.007, 40.73,14.999, 69.189,20.523c 2.382,19.015, 6.075,37.27, 10.931,54.508c-7.833-3.787-15.3-7.886-22.36-12.298\n\tc-20.651-12.907-36.703-27.696-47.707-43.957C 35.83,298.677, 32.484,292.407, 29.94,286.053z M 131.776,349.514\n\tc-3.323-12.571-5.942-25.49-7.864-38.682c 21.474,3.24, 45.006,5.711, 69.988,7.268c 1.556,24.982, 4.028,48.515, 7.268,69.988\n\tc-13.192-1.921-26.11-4.54-38.682-7.863c-8.094-2.14-15.931-4.547-23.513-7.197C 136.323,365.444, 133.916,357.607, 131.776,349.514z\n\t M 205.424,412.871c 5.525,28.458, 12.517,52.124, 20.523,69.188c-6.355-2.544-12.624-5.89-18.776-10.054\n\tc-16.261-11.004-31.050-27.055-43.958-47.707c-4.412-7.060-8.51-14.525-12.298-22.359C 168.154,406.796, 186.41,410.489, 205.424,412.871\n\tz M 304.829,472.006c-6.153,4.164-12.422,7.51-18.777,10.055c 8.007-17.065, 14.999-40.73, 20.524-69.189\n\tc 19.014-2.382, 37.27-6.075, 54.508-10.932c-3.787,7.834-7.886,15.3-12.298,22.359C 335.879,444.951, 321.090,461.002, 304.829,472.006z\n\t M 349.513,380.223c-12.571,3.323-25.489,5.943-38.681,7.864c 3.239-21.473, 5.711-45.005, 7.268-69.987\n\tc 24.982-1.557, 48.515-4.028, 69.988-7.268c-1.922,13.191-4.541,26.109-7.864,38.682c-2.14,8.093-4.546,15.93-7.196,23.512\n\tC 365.444,375.676, 357.606,378.083, 349.513,380.223z M 412.871,306.576c 28.458-5.525, 52.124-12.518, 69.189-20.524\n\tc-2.545,6.355-5.891,12.624-10.055,18.776c-11.004,16.261-27.055,31.050-47.707,43.957c-7.060,4.412-14.525,8.511-22.358,12.298\n\tC 406.796,343.845, 410.489,325.59, 412.871,306.576z M 420.049,91.951c 21.314,21.314, 38.046,46.128, 49.729,73.751\n\tc 0.52,1.228, 1.013,2.463, 1.51,3.698c-20.423-19.792-47.646-36.58-79.6-49.088c-12.509-31.953-29.296-59.176-49.088-79.6\n\tc 1.234,0.498, 2.47,0.991, 3.697,1.51C 373.921,53.906, 398.735,70.638, 420.049,91.951z M 91.951,91.952\n\tc 21.314-21.314, 46.128-38.045, 73.751-49.729c 1.227-0.519, 2.462-1.012, 3.695-1.509c-19.791,20.423-36.578,47.646-49.085,79.598\n\tc-31.953,12.508-59.176,29.295-79.599,49.086c 0.497-1.233, 0.99-2.468, 1.509-3.695C 53.906,138.079, 70.638,113.266, 91.951,91.952z\n\t M 91.952,420.049c-21.314-21.313-38.045-46.128-49.729-73.751c-0.519-1.228-1.012-2.462-1.509-3.695\n\tc 20.423,19.791, 47.646,36.578, 79.598,49.086c 12.508,31.952, 29.295,59.176, 49.087,79.599c-1.234-0.496-2.469-0.989-3.696-1.509\n\tC 138.079,458.094, 113.266,441.363, 91.952,420.049z M 420.049,420.049c-21.313,21.314-46.128,38.046-73.751,49.729\n\tc-1.228,0.52-2.463,1.013-3.697,1.51c 19.792-20.423, 36.579-47.646, 49.088-79.6c 31.953-12.509, 59.177-29.296, 79.6-49.088\n\tc-0.497,1.234-0.99,2.47-1.51,3.697C 458.094,373.921, 441.363,398.735, 420.049,420.049z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"globe, web, internet, network, sphere\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\tC 480,139.452, 372.549,32, 240,32z M 375.795,352c 4.29-20.227, 6.998-41.695, 7.879-64l 63.724,0 c-1.669,22.098-6.812,43.557-15.341,64\n\tL 375.795,352 z M 343.018,192c 4.808,20.481, 7.699,41.927, 8.641,64L 256,256 l0-64 L 343.018,192 z M 256,160L 256,66.331 \n\tc 7.295,2.123, 14.521,5.685, 21.614,10.685c 13.291,9.37, 26.006,23.804, 36.77,41.743c 7.441,12.401, 13.876,26.208, 19.248,41.242L 256,160\n\tL 256,160z M 165.616,118.758c 10.764-17.939, 23.478-32.374, 36.77-41.743c 7.091-5, 14.319-8.562, 21.614-10.685L 224,160 l-77.632,0 \n\tC 151.741,144.967, 158.176,131.16, 165.616,118.758z M 224,192l0,64 l-95.657,0 c 0.94-22.073, 3.833-43.519, 8.639-64L 224,192 z M 128.343,288L 224,288 l0,64 \n\tl-87.018,0 C 132.176,331.52, 129.283,310.073, 128.343,288z M 224,384l0,93.67 c-7.294-2.123-14.522-5.686-21.614-10.685\n\tc-13.292-9.37-26.007-23.806-36.77-41.743c-7.441-12.402-13.875-26.209-19.249-41.242L 224,384 z M 314.384,425.242\n\tc-10.764,17.938-23.479,32.373-36.77,41.743c-7.093,4.999-14.319,8.562-21.614,10.685L 256,384 l 77.633,0 \n\tC 328.26,399.033, 321.825,412.84, 314.384,425.242z M 256,352l0-64 l 95.657,0 c-0.94,22.073-3.833,43.52-8.641,64L 256,352 z M 383.674,256\n\tc-0.881-22.304-3.589-43.773-7.879-64l 56.262,0 c 8.528,20.443, 13.672,41.903, 15.341,64L 383.674,256 z M 415.329,160l-47.95,0 \n\tc-9.319-29.381-22.188-55.147-37.658-75.714c 21.269,10.17, 40.529,23.808, 57.357,40.636C 397.818,135.661, 407.259,147.391, 415.329,160\n\tz M 387.078,419.078c-16.828,16.829-36.090,30.467-57.357,40.637c 15.472-20.566, 28.339-46.334, 37.658-75.715l 47.95,0 \n\tC 407.259,396.609, 397.818,408.339, 387.078,419.078z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"globe, web, internet, network, sphere\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\tC 480,139.452, 372.549,32, 240,32z M 375.795,352c 4.29-20.227, 6.998-41.696, 7.879-64l 63.723,0 c-1.668,22.098-6.812,43.557-15.34,64\n\tL 375.795,352 z M 104.205,192c-4.29,20.227-6.998,41.696-7.879,64L 32.604,256 c 1.668-22.097, 6.811-43.557, 15.339-64L 104.205,192 z M 343.018,192\n\tc 4.807,20.481, 7.699,41.927, 8.64,64L 256,256 l0-64 L 343.018,192 z M 256,160L 256,66.331 c 7.295,2.123, 14.522,5.685, 21.614,10.685\n\tc 13.291,9.37, 26.006,23.804, 36.77,41.743c 7.441,12.401, 13.876,26.208, 19.248,41.242L 256,160.001 z M 165.616,118.758\n\tc 10.764-17.939, 23.478-32.374, 36.77-41.743c 7.091-5, 14.319-8.562, 21.614-10.685L 224,160 l-77.632,0 \n\tC 151.741,144.967, 158.176,131.16, 165.616,118.758z M 224,192l0,64 l-95.657,0 c 0.94-22.073, 3.833-43.519, 8.639-64L 224,192 z M 47.944,352\n\tc-8.528-20.443-13.671-41.902-15.339-64l 63.722,0 c 0.881,22.304, 3.589,43.773, 7.879,64L 47.944,352 z M 128.343,288L 224,288 l0,64 l-87.018,0 \n\tC 132.176,331.52, 129.283,310.073, 128.343,288z M 224,384l0,93.67 c-7.294-2.123-14.522-5.686-21.614-10.685\n\tc-13.292-9.37-26.007-23.805-36.77-41.743c-7.441-12.402-13.875-26.209-19.249-41.242L 224,384 z M 314.384,425.242\n\tc-10.764,17.938-23.479,32.373-36.77,41.743c-7.092,4.999-14.319,8.562-21.614,10.685L 256,384 l 77.633,0 \n\tC 328.26,399.033, 321.825,412.84, 314.384,425.242z M 256,352l0-64 l 95.657,0 c-0.94,22.073-3.833,43.52-8.64,64L 256,352 z M 383.674,256\n\tc-0.881-22.304-3.589-43.773-7.879-64l 56.262,0 c 8.528,20.443, 13.672,41.903, 15.34,64L 383.674,256 z M 415.329,160l-47.95,0 \n\tc-9.319-29.381-22.188-55.147-37.658-75.714c 21.268,10.17, 40.529,23.808, 57.357,40.636C 397.818,135.661, 407.259,147.391, 415.329,160\n\tz M 92.922,124.922c 16.829-16.829, 36.090-30.466, 57.357-40.636c-15.471,20.567-28.338,46.333-37.658,75.714L 64.672,160 \n\tC 72.741,147.391, 82.183,135.661, 92.922,124.922z M 64.672,384l 47.949,0 c 9.32,29.381, 22.188,55.147, 37.659,75.715\n\tc-21.268-10.17-40.529-23.808-57.357-40.637C 82.183,408.339, 72.741,396.609, 64.672,384z M 387.078,419.078\n\tc-16.828,16.829-36.090,30.467-57.357,40.637c 15.471-20.567, 28.339-46.334, 37.658-75.715l 47.95,0 \n\tC 407.259,396.609, 397.818,408.339, 387.078,419.078z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,320L 288,320L 288,192L 400,192L 256,64L 112,192L 224,192 \tzM 320,259.024l0,16.622 c 74.569,8.786, 128,32.488, 128,60.354c0,35.347-85.961,64-192,64c-106.039,0-192-28.653-192-64\n\t\tc0-27.865, 53.431-51.566, 128-60.354l0-16.622 C 81.585,269.682,0,307.268,0,352c0,53.020, 114.615,96, 256,96s 256-42.98, 256-96\n\t\tC 512,307.268, 430.414,269.682, 320,259.024z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, save, store, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,192L 288,192L 288,64L 224,64L 224,192L 112,192L 256,320 \tzM 371.549,266.316l-16.805,14.788C 410.614,292.295, 448,312.691, 448,336c0,35.347-85.961,64-192,64\n\t\tc-106.039,0-192-28.653-192-64c0-23.309, 37.386-43.705, 93.255-54.896l-16.804-14.788C 57.122,282.151,0,314.572,0,352\n\t\tc0,53.020, 114.615,96, 256,96s 256-42.98, 256-96C 512,314.572, 454.879,282.151, 371.549,266.316z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,352L0,352 l0,128 l 480,0 L 480,352 L 240,352 z M 448,416l-64,0 l0-32 l 64,0 L 448,416 zM 112,160 L 240,32 L 368,160 L 288,160 L 288,320 L 192,320 L 192,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368,224 L 240,352 L 112,224 L 192,224 L 192,32 L 288,32 L 288,224 ZM 240,352L0,352 l0,128 l 480,0 L 480,352 L 240,352 z M 448,416l-64,0 l0-32 l 64,0 L 448,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,448L 512,448L 512,480L0,480zM 512,384 L 512,416 L 0,416 L 0,384 L 64,256 L 192,256 L 192,320 L 320,320 L 320,256 L 448,256 ZM 112,160 L 256,16 L 400,160 L 288,160 L 288,288 L 224,288 L 224,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,256l-80,0 L 256,368L 144,256L 64,256 L0,384l0,32 l 512,0 l0-32 L 448,256z M0,448l 512,0 l0,32 L0,480 L0,448 z M 288,160L 288,32 l-64,0 l0,128 L 112,160 l 144,144l 144-144\n\tL 288,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,512l 320,0 c 53.019,0, 96-42.981, 96-96L0,416 C0,469.019, 42.981,512, 96,512z M 416,448l 32,0 l0,32 l-32,0 L 416,448 zM 112,160 L 256,16 L 400,160 L 288,160 L 288,256 L 224,256 L 224,160 ZM 511.4,368.615 C 513.854,377.077 508.553,384 499.62,384 L 12.379,384 C 3.447,384 -1.854,377.077 0.6,368.615 L 56.642,207.384 C 59.096,198.923 68.413,192 77.345,192 L 192,192 L 192,288 L 320,288 L 320,192 L 434.655,192 C 443.588,192 452.904,198.923 455.358,207.384 L 511.4,368.615 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,512l 320,0 c 53.019,0, 96-42.981, 96-96L0,416 C0,469.019, 42.981,512, 96,512z M 416,448l 32,0 l0,32 l-32,0 L 416,448 zM 400,128 L 256,272 L 112,128 L 224,128 L 224,0 L 288,0 L 288,128 ZM 511.4,368.615 C 513.854,377.077 508.553,384 499.62,384 L 12.379,384 C 3.447,384 -1.854,377.077 0.6,368.615 L 56.642,207.384 C 59.096,198.923 68.413,192 77.345,192 L 112,192 L 240,320 L 272,320 L 400,192 L 434.655,192 C 443.588,192 452.904,198.923 455.358,207.384 L 511.4,368.615 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,384L 448,384L 448,480L 64,480zM 192,191.954 L 80,191.954 L 228.686,43.267 C 243.709,28.245 268.291,28.245 283.313,43.267 L 432,191.954 L 320,191.954 L 320,351.954 L 192,351.954 L 192,191.954 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, arrow, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,384L 448,384L 448,480L 64,480zM 320,192 L 432,192 L 283.314,340.687 C 268.291,355.709 243.709,355.709 228.687,340.687 L 80,192 L 192,192 L 192,32 L 320,32 L 320,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, arrow, load, outbox\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,352L 448,416L 64,416L 64,352L0,352L0,480L 512,480L 512,352 \tzM 128,224L 224,224L 224,384L 288,384L 288,224L 384,224L 256,32 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, arrow, store, save, inbox\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,352L 448,416L 64,416L 64,352L0,352L0,480L 512,480L 512,352 \tzM 384,192L 288,192L 288,32L 224,32L 224,192L 128,192L 256,384 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud-upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.134,193.245C 447.356,187.69, 448,181.921, 448,176c0-44.183-35.817-80-80-80c-7.111,0-14.007,0.934-20.566,2.676\n\tC 335.035,60, 298.789,32, 256,32c-43.674,0-80.527,29.168-92.163,69.085C 152.466,97.774, 140.441,96, 128,96C 57.308,96,0,153.308,0,224\n\tc0,70.694, 57.308,128, 128,128l 64,0 l0,96 l 128,0 l0-96 l 112,0 c 44.183,0, 80-35.816, 80-80C 512,232.64, 483.573,199.919, 446.134,193.245z M 288,320l0,96 \n\tl-64,0 l0-96 l-80,0 l 112-112l 112,112L 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud-download, download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,180.030C 443.881,115.681, 391.273,64, 326.571,64c-37.896,0-71.633,17.747-93.427,45.366\n\tc-12.221-15.799-31.345-25.98-52.854-25.98c-36.905,0-66.821,29.937-66.821,66.861c0,3.218, 0.24,6.38, 0.682,9.477\n\tc-5.611-1.012-11.383-1.569-17.285-1.569C 43.367,158.154,0,201.548,0,255.076C0,308.607, 43.367,352, 96.865,352l 49.88,0 L 256,461.255\n\tL 365.255,352l 59.741,0 l0-0.006 C 473.065,351.902, 512,312.888, 512,264.771C 512,223.726, 483.661,189.321, 445.502,180.030z M 256,416l-96-96\n\tl 64,0 l0-96 l 64,0 l0,96 l 64,0 L 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,328.771c0-41.045-28.339-75.45-66.498-84.74C 443.881,179.681, 391.273,128, 326.571,128\n\tc-37.896,0-71.633,17.747-93.427,45.366c-12.221-15.799-31.345-25.98-52.854-25.98c-36.905,0-66.821,29.937-66.821,66.861\n\tc0,3.218, 0.24,6.38, 0.682,9.477c-5.611-1.012-11.383-1.569-17.285-1.569C 43.367,222.154,0,265.548,0,319.076\n\tC0,372.607, 43.367,416, 96.865,416l 328.131,0 l0-0.006 C 473.065,415.902, 512,376.888, 512,328.771z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.134,257.245C 447.356,251.691, 448,245.922, 448,240c0-44.183-35.817-80-80-80c-7.112,0-14.007,0.934-20.567,2.676\n\tC 335.035,124, 298.789,96, 256,96c-43.674,0-80.527,29.168-92.163,69.085C 152.466,161.775, 140.441,160, 128,160\n\tC 57.308,160,0,217.308,0,288c0,70.693, 57.308,128, 128,128l 304,0 c 44.183,0, 80-35.816, 80-80C 512,296.641, 483.573,263.92, 446.134,257.245\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.133,257.245C 447.356,251.691, 448,245.922, 448,240c0-44.183-35.817-80-80-80c-7.112,0-14.008,0.934-20.568,2.676\n\tC 335.035,124, 298.789,96, 256,96c-43.674,0-80.527,29.168-92.164,69.085C 152.465,161.775, 140.44,160, 128,160\n\tC 57.307,160,0,217.308,0,288c0,70.693, 57.307,128, 128,128l 304,0 c 44.182,0, 80-35.816, 80-80C 512,296.641, 483.573,263.92, 446.133,257.245\n\tz M 432,384.077L 432,384 L 128,384 c-53.021,0-96-42.98-96-96c0-53.019, 42.979-96, 96-96c 31.404,0, 59.288,15.083, 76.803,38.398l 25.601-19.201\n\tc-9.993-13.305-22.521-24.596-36.864-33.163C 199.911,149.406, 225.452,128, 256,128c 35.346,0, 64,28.654, 64,64\n\tc0,8.942-1.839,17.454-5.148,25.184l 29.426,12.593c 4.627-10.799, 7.33-22.615, 7.68-35.021C 356.975,192.976, 362.371,192, 368,192\n\tc 26.51,0, 48,21.49, 48,48c0,6.541-1.316,12.773-3.688,18.455c-8.925,2.261-17.256,6.009-24.701,10.982l 17.7,26.567\n\tc 7.635-5.104, 16.813-8.083, 26.688-8.083c 26.554,0, 48.075,21.523, 48.075,48.076C 480.074,362.553, 458.553,384.077, 432,384.077z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 352,96L 352,192L0,192zM0,224L 352,224L 352,320L0,320zM0,352L 352,352L 352,448L0,448zM 511.998,288 L 431.998,384 L 351.998,288 ZM 352,256 L 432,160 L 512,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 352,96L 352,192L0,192zM0,224L 352,224L 352,320L0,320zM0,352L 352,352L 352,448L0,448zM 352,320 L 432,224 L 512,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options, expand\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 352,96L 352,192L0,192zM0,224L 352,224L 352,320L0,320zM0,352L 352,352L 352,448L0,448zM 512,224 L 432,320 L 352,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, list, items, lines, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,96L 480,96L 480,192L 32,192zM 32,224L 480,224L 480,320L 32,320zM 32,352L 480,352L 480,448L 32,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192l 352,0 l0,64 L0,256 L0,192 z M0,96l 352,0 l0,64 L0,160 L0,96 z M0,288l 352,0 l0,64 L0,352 L0,288 z M0,384l 352,0 l0,64 L0,448 L0,384 z M 384,288l 64,96l 64-96L 384,288 z M 512,256\n\tl-64-96l-64,96L 512,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options, expand\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192L 352,192L 352,256L0,256zM0,96L 352,96L 352,160L0,160zM0,288L 352,288L 352,352L0,352zM0,384L 352,384L 352,448L0,448zM 384,224L 448,320L 512,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, list, items, lines, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384L 64,384 c-35.2,0-64,28.8-64,64s 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64S 483.2,384, 448,384zM 448,192L 64,192 c-35.2,0-64,28.8-64,64s 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64S 483.2,192, 448,192zM 64,128l 384,0 c 35.2,0, 64-28.8, 64-64S 483.2,0, 448,0L 64,0 C 28.8,0,0,28.8,0,64S 28.8,128, 64,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"circle-small\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,256A96,96 2520 1 1 352,256A96,96 2520 1 1 160,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, dots, more\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96A64,64 9000 1 1 320,96A64,64 9000 1 1 192,96zM 192,256A64,64 9000 1 1 320,256A64,64 9000 1 1 192,256zM 192,416A64,64 9000 1 1 320,416A64,64 9000 1 1 192,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, dots, more\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32L 320,32L 320,160L 192,160zM 192,192L 320,192L 320,320L 192,320zM 192,352L 320,352L 320,480L 192,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, branches, descendants\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,384l-8,0 L 480,280 c0-30.878-25.121-56-56-56L 288,224 l0-64 l 8,0 c 13.2,0, 24-10.8, 24-24L 320,56 c0-13.2-10.8-24-24-24l-80,0 \n\tc-13.2,0-24,10.8-24,24l0,80 c0,13.2, 10.8,24, 24,24l 8,0 l0,64 L 88,224 c-30.878,0-56,25.122-56,56l0,104 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 C 512,394.8, 501.2,384, 488,384z M 96,480L 32,480 l0-64 l 64,0 L 96,480 z M 288,480l-64,0 l0-64 l 64,0 L 288,480 z\n\t M 224,128L 224,64 l 64,0 l0,64 L 224,128 z M 480,480l-64,0 l0-64 l 64,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, branches, descendants\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,384l-8,0 L 480,280 c0-30.878-25.121-56-56-56L 288,224 l0-64 l 8,0 c 13.2,0, 24-10.8, 24-24L 320,56 c0-13.2-10.8-24-24-24l-80,0 \n\tc-13.2,0-24,10.8-24,24l0,80 c0,13.2, 10.8,24, 24,24l 8,0 l0,64 L 88,224 c-30.878,0-56,25.122-56,56l0,104 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 C 512,394.8, 501.2,384, 488,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, branches, binary tree\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,352l-50.411,0 L 320,156.020L 320,56 c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,100.019 L 74.412,352L 24,352 \n\tc-13.2,0-24,10.8-24,24l0,80 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24L 128,355.98 L 245.588,160l 20.823,0 L 384,355.98L 384,456 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 C 512,362.8, 501.2,352, 488,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,160L 352,160 L 352,32 l 128,0 L 480,160 z M 192,320L 192,192 l 128,0 l0,128 L 192,320 z M 320,352l0,128 L 192,480 L 192,352 L 320,352 z M 160,320L 32,320 L 32,192 l 128,0 L 160,320 z\n\t M 192,160L 192,32 l 128,0 l0,128 L 192,160 z M 352,192l 128,0 l0,128 L 352,320 L 352,192 z M 160,32l0,128 L 32,160 L 32,32 L 160,32 z M 32,352l 128,0 l0,128 L 32,480 L 32,352 z M 352,480L 352,352 l 128,0 l0,128 L 352,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, squares\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 224,0L 224,224L0,224zM 288,0L 512,0L 512,224L 288,224zM0,288L 224,288L 224,512L0,512zM 288,288L 512,288L 512,512L 288,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, circles\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,32 L 96,32 C 131.346,32 160,60.654 160,96 C 160,131.346 131.346,160 96,160 C 60.654,160 32,131.346 32,96 C 32,60.654 60.654,32 96,32 ZM 256,32 L 256,32 C 291.346,32 320,60.654 320,96 C 320,131.346 291.346,160 256,160 C 220.654,160 192,131.346 192,96 C 192,60.654 220.654,32 256,32 ZM 416,32 L 416,32 C 451.346,32 480,60.654 480,96 C 480,131.346 451.346,160 416,160 C 380.654,160 352,131.346 352,96 C 352,60.654 380.654,32 416,32 ZM 96,192 L 96,192 C 131.346,192 160,220.654 160,256 C 160,291.346 131.346,320 96,320 C 60.654,320 32,291.346 32,256 C 32,220.654 60.654,192 96,192 ZM 256,192 L 256,192 C 291.346,192 320,220.654 320,256 C 320,291.346 291.346,320 256,320 C 220.654,320 192,291.346 192,256 C 192,220.654 220.654,192 256,192 ZM 416,192 L 416,192 C 451.346,192 480,220.654 480,256 C 480,291.346 451.346,320 416,320 C 380.654,320 352,291.346 352,256 C 352,220.654 380.654,192 416,192 ZM 96,352 L 96,352 C 131.346,352 160,380.654 160,416 C 160,451.346 131.346,480 96,480 C 60.654,480 32,451.346 32,416 C 32,380.654 60.654,352 96,352 ZM 256,352 L 256,352 C 291.346,352 320,380.654 320,416 C 320,451.346 291.346,480 256,480 C 220.654,480 192,451.346 192,416 C 192,380.654 220.654,352 256,352 ZM 416,352 L 416,352 C 451.346,352 480,380.654 480,416 C 480,451.346 451.346,480 416,480 C 380.654,480 352,451.346 352,416 C 352,380.654 380.654,352 416,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, squares\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,32L 160,32L 160,160L 32,160zM 192,32L 320,32L 320,160L 192,160zM 352,32L 480,32L 480,160L 352,160zM 32,192L 160,192L 160,320L 32,320zM 192,192L 320,192L 320,320L 192,320zM 352,192L 480,192L 480,320L 352,320zM 32,352L 160,352L 160,480L 32,480zM 192,352L 320,352L 320,480L 192,480zM 352,352L 480,352L 480,480L 352,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, circles\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64A64,64 2520 1 1 128,64A64,64 2520 1 1 0,64zM 192,64A64,64 2520 1 1 320,64A64,64 2520 1 1 192,64zM 384,64A64,64 2520 1 1 512,64A64,64 2520 1 1 384,64zM0,256A64,64 2520 1 1 128,256A64,64 2520 1 1 0,256zM 192,256A64,64 2520 1 1 320,256A64,64 2520 1 1 192,256zM 384,256A64,64 2520 1 1 512,256A64,64 2520 1 1 384,256zM0,448A64,64 2520 1 1 128,448A64,64 2520 1 1 0,448zM 192,448A64,64 2520 1 1 320,448A64,64 2520 1 1 192,448zM 384,448A64,64 2520 1 1 512,448A64,64 2520 1 1 384,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 128,0L 128,128L0,128zM 192,0L 320,0L 320,128L 192,128zM 384,0L 512,0L 512,128L 384,128zM0,192L 128,192L 128,320L0,320zM 192,192L 320,192L 320,320L 192,320zM 384,192L 512,192L 512,320L 384,320zM0,384L 128,384L 128,512L0,512zM 192,384L 320,384L 320,512L 192,512zM 384,384L 512,384L 512,512L 384,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"playlist, music, songs\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 320,32L 320,96L0,96zM0,160L 288,160L 288,224L0,224zM0,288L 224,288L 224,352L0,352zM0,416L 160,416L 160,480L0,480zM 416,0l-64,0 l0,356.559 c-10.010-2.949-20.778-4.559-32-4.559c-53.020,0-96,35.817-96,80s 42.98,80, 96,80s 96-35.817, 96-80L 416,96 l 96,32\n\t\tL 512,64 L 416,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0l 320,0 l0,128 L 192,128 L 192,0 z M 192,192l 320,0 l0,128 L 192,320 L 192,192 z M 192,384l 320,0 l0,128 L 192,512 L 192,384 zM0,64A64,64 2520 1 1 128,64A64,64 2520 1 1 0,64zM0,256A64,64 2520 1 1 128,256A64,64 2520 1 1 0,256zM0,448A64,64 2520 1 1 128,448A64,64 2520 1 1 0,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 128,0L 128,128L0,128zM 192,0L 512,0L 512,128L 192,128zM0,192L 128,192L 128,320L0,320zM 192,192L 512,192L 512,320L 192,320zM0,384L 128,384L 128,512L0,512zM 192,384L 512,384L 512,512L 192,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"numbered-list, list, items, nl\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,416L 512,416L 512,480L 192,480zM 192,224L 512,224L 512,288L 192,288zM 192,32L 512,32L 512,96L 192,96zM 96,0 L 96,128 L 64,128 L 64,32 L 32,32 L 32,0 ZM 64,263 L 64,288 L 128,288 L 128,320 L 32,320 L 32,247 L 96,217 L 96,192 L 32,192 L 32,160 L 128,160 L 128,233 ZM 128,352 L 128,512 L 32,512 L 32,480 L 96,480 L 96,448 L 32,448 L 32,416 L 96,416 L 96,384 L 32,384 L 32,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,0C 28.654,0,0,28.654,0,64s 28.654,64, 64,64s 64-28.654, 64-64S 99.346,0, 64,0z M 64,108c-24.262,0-44-19.738-44-44\n\t\ts 19.738-44, 44-44s 44,19.738, 44,44S 88.262,108, 64,108zM 64,192c-35.346,0-64,28.654-64,64c0,35.346, 28.654,64, 64,64s 64-28.654, 64-64C 128,220.654, 99.346,192, 64,192z M 64,300\n\t\tc-24.262,0-44-19.738-44-44s 19.738-44, 44-44s 44,19.738, 44,44S 88.262,300, 64,300zM 64,384c-35.346,0-64,28.654-64,64s 28.654,64, 64,64s 64-28.654, 64-64S 99.346,384, 64,384z M 64,492c-24.262,0-44-19.738-44-44\n\t\ts 19.738-44, 44-44s 44,19.738, 44,44S 88.262,492, 64,492zM 192,32L 512,32L 512,96L 192,96zM 192,224L 512,224L 512,288L 192,288zM 192,416L 512,416L 512,480L 192,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, todo, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32l 320,0 l0,64 L 192,96 L 192,32 z M 192,224l 320,0 l0,64 L 192,288 L 192,224 z M 192,416l 320,0 l0,64 L 192,480 L 192,416 zM0,64A64,64 2520 1 1 128,64A64,64 2520 1 1 0,64zM0,256A64,64 2520 1 1 128,256A64,64 2520 1 1 0,256zM0,448A64,64 2520 1 1 128,448A64,64 2520 1 1 0,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, todo, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 128,0L 128,128L0,128zM 192,32L 512,32L 512,96L 192,96zM0,192L 128,192L 128,320L0,320zM 192,224L 512,224L 512,288L 192,288zM0,384L 128,384L 128,512L0,512zM 192,416L 512,416L 512,480L 192,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, board, list\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 L 288,64zM 432,64l-32,0 l0,32 l 16,0 l0,384 L 96,480 L 96,96 l 16,0 L 112,64 L 80,64 c-8.801,0-16,7.2-16,16l0,416 c0,8.8, 7.199,16, 16,16l 352,0 c 8.8,0, 16-7.2, 16-16L 448,80 \n\t\tC 448,71.2, 440.8,64, 432,64zM 128,192L 384,192L 384,224L 128,224zM 128,288L 384,288L 384,320L 128,320zM 128,384L 384,384L 384,416L 128,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, board\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 L 288,64zM 432,64l-32,0 l0,32 l 16,0 l0,384 L 96,480 L 96,96 l 16,0 L 112,64 L 80,64 c-8.801,0-16,7.2-16,16l0,416 c0,8.8, 7.199,16, 16,16l 352,0 c 8.8,0, 16-7.2, 16-16L 448,80 \n\t\tC 448,71.2, 440.8,64, 432,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"signup, checkmark, board, agreement, register\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,397.255L 121.373,278.628L 150.627,249.373L 224,306.745L 361.372,185.373L 390.628,214.627 \tzM 415.886,64c 0.039,0.033, 0.081,0.075, 0.114,0.115l0,383.771 c-0.033,0.039-0.075,0.081-0.114,0.114L 96.114,448 \n\tc-0.040-0.033-0.081-0.075-0.114-0.114L 96,64.114 c 0.033-0.040, 0.075-0.081, 0.115-0.114L 32,64 l0,384 c0,35.2, 28.8,64, 64,64l 320,0 \n\tc 35.2,0, 64-28.8, 64-64L 480,64 L 415.886,64 z M 320,64L 320,32 c0-17.673-14.327-32-32-32l-64,0 c-17.673,0-32,14.327-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 L 320,64 z\n\t M 288,64l-64,0 L 224,32 l 64,0 L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, list\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 415.886,64c 0.039,0.033, 0.081,0.075, 0.114,0.115l0,383.771 c-0.033,0.039-0.075,0.081-0.114,0.114L 96.114,448 \n\t\tc-0.040-0.033-0.081-0.075-0.114-0.114L 96,64.114 c 0.033-0.040, 0.075-0.081, 0.115-0.114L 32,64 l0,384 c0,35.2, 28.8,64, 64,64l 320,0 \n\t\tc 35.2,0, 64-28.8, 64-64L 480,64 L 415.886,64 zM 128,160L 192,160L 192,224L 128,224zM 224,160L 384,160L 384,224L 224,224zM 128,256L 192,256L 192,320L 128,320zM 224,256L 384,256L 384,320L 224,320zM 128,352L 192,352L 192,416L 128,416zM 224,352L 384,352L 384,416L 224,416zM 320,64L 320,32 c0-17.673-14.327-32-32-32l-64,0 c-17.673,0-32,14.327-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 L 320,64 z M 288,64l-64,0 L 224,32 l 64,0 L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, board, list\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,48c0-26.51-21.49-48-48-48c-26.509,0-48,21.49-48,48c0,48-96,16-96,80l 288,0 C 384,64, 288,96, 288,48z M 240,71.2\n\t\tc-12.813,0-23.2-10.387-23.2-23.2s 10.387-23.2, 23.2-23.2c 12.812,0, 23.2,10.387, 23.2,23.2S 252.812,71.2, 240,71.2zM 448,96l-32,0 l0,64 L 64,160 L 64,96 L 32,96 c-17.673,0-32,14.327-32,32l0,352 c0,17.674, 14.326,32, 32,32l 416,0 c 17.672,0, 32-14.326, 32-32L 480,128 \n\t\tC 480,110.327, 465.672,96, 448,96z M 416,448L 64,448 l0-32 l 352,0 L 416,448 z M 416,352L 64,352 l0-32 l 352,0 L 416,352 z M 416,256L 64,256 l0-32 l 352,0 L 416,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"socket, power, plugin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,160L 160,160L 160,288L 128,288zM 352,160L 384,160L 384,256L 352,256zM 379.996,32L 132.004,32 C 53.288,75.667,0,159.604,0,256s 53.288,180.333, 132.004,224l 247.992,0 \n\t\tC 458.712,436.333, 512,352.396, 512,256S 458.712,75.667, 379.996,32z M 371.418,448L 140.582,448 c-31.358-18.896-57.763-45.287-76.68-76.726\n\t\tC 43.032,336.59, 32,296.729, 32,256s 11.032-80.589, 31.902-115.275C 82.82,109.287, 109.224,82.896, 140.582,64l 230.836,0 \n\t\tc 31.357,18.896, 57.763,45.287, 76.68,76.725C 468.969,175.411, 480,215.272, 480,256c0,40.729-11.031,80.59-31.902,115.274\n\t\tC 429.181,402.713, 402.776,429.104, 371.418,448zM 256,320c-35.346,0-64,14.327-64,32l0,64 l 128,0 l0-64 C 320,334.327, 291.347,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cord\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 441.435,198.565c-7.42-7.42-19.449-7.42-26.869,0L 336,277.131L 234.87,176l 78.564-78.565c 7.421-7.42, 7.421-19.45,0-26.87\n\tc-7.42-7.42-19.449-7.42-26.869,0L 208,149.13l-46.565-46.565c-7.42-7.42-19.45-7.42-26.87,0s-7.42,19.45,0,26.87l 33.49,33.49\n\tL 101.49,229.49c-42.174,42.174-48.766,106.456-19.775,155.541L 9.373,457.373c-12.497,12.496-12.497,32.758,0,45.254\n\tC 15.621,508.876, 23.811,512, 32,512s 16.379-3.124, 22.627-9.373l 72.341-72.342c 49.085,28.99, 113.367,22.398, 155.541-19.775\n\tl 66.565-66.565l 33.49,33.49c 3.71,3.71, 8.572,5.565, 13.435,5.565s 9.725-1.855, 13.435-5.565c 7.421-7.42, 7.421-19.449,0-26.869\n\tL 362.869,304l 78.565-78.565C 448.855,218.015, 448.855,205.985, 441.435,198.565z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"power cord, cord, plugin, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,141.25L 466.747,96L 377.374,185.376L 326.624,134.625L 415.999,45.25L 370.749,0L 281.374,89.375L 224,32L 180.687,75.312L 436.688,331.313L 480,288.001L 422.624,230.625 \tzM 137.374,374.627c 82.884,82.881, 192.597,18.181, 259.646-37.732L 175.108,114.983\n\t\tC 119.196,182.031, 54.494,291.744, 137.374,374.627zM 95.999,352.002L 159.996,416L 64,511.996L 0.002,447.999z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"switch, power, turn off, off, shutdown\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,73.294l0,67.979 c 18.103,7.902, 34.75,19.204, 49.137,33.59C 399.358,205.083, 416,245.263, 416,288\n\t\ts-16.643,82.917-46.863,113.137C 338.917,431.357, 298.738,448, 256,448s-82.917-16.643-113.137-46.863\n\t\tC 112.643,370.917, 96,330.737, 96,288s 16.643-82.917, 46.863-113.137c 14.387-14.387, 31.034-25.689, 49.137-33.591L 192,73.294 \n\t\tC 99.476,100.834, 32,186.53, 32,288c0,123.712, 100.289,224, 224,224c 123.712,0, 224-100.288, 224-224\n\t\tC 480,186.53, 412.525,100.834, 320,73.294zM 224,0L 288,0L 288,256L 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"power, lightning, bolt\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,352L 160,96L 320,256L 512,128L 352,416L 192,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"power, lightning\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 64,288L 240,288L 160,512L 448,224L 272,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lightning, power\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0L0,256L 192,256L 64,512L 512,192L 256,192L 448,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bowling, game, pin, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 307.943,243.345c-12.006-25.346-24.421-51.555-24.421-84.844c0-13.231, 2.004-28.615, 4.125-44.903\n\tc 4.822-37.026, 9.808-75.313-8.953-97.388c-6.049-7.117-13.967-11.915-23.637-14.341L 255.057,0 l-14,0 c-0.357,0-0.704,0.009-1.051,0.020l-0.012,0 \n\tC 239.647,0.009, 239.3,0, 238.941,0l-14,0.046l0,1.822 c-9.669,2.426-17.587,7.224-23.636,14.341\n\tc-18.761,22.075-13.775,60.362-8.953,97.389c 2.121,16.288, 4.125,31.672, 4.125,44.902c0,33.289-12.415,59.498-24.42,84.844\n\tc-11.822,24.958-24.046,50.765-24.046,82.187c0,60.911, 25.799,139.836, 32.729,155.582c 6.698,15.214, 23.585,26.13, 44.779,29.65L 225.519,512 \n\tl 14,0 c 0.157,0, 0.314-0.002, 0.479-0.007c 0.162,0.004, 0.322,0.007, 0.483,0.007l 14-0.025l0-1.211 c 21.193-3.521, 38.080-14.437, 44.78-29.651\n\tc 6.93-15.748, 32.729-94.678, 32.729-155.581C 331.99,294.109, 319.766,268.303, 307.943,243.345z M 255.54,160l-31.080,0 \n\tc 0.005-0.5, 0.017-0.996, 0.017-1.499c0-9.585-0.902-19.971-2.109-30.501l 35.264,0 c-1.208,10.53-2.109,20.916-2.109,30.501\n\tC 255.522,159.004, 255.535,159.5, 255.54,160z M 222.641,34.342c 2.161-2.542, 6.249-5.962, 16.754-6.303l 0.444-0.016l 0.158,0.002\n\tl 0.131-0.002l 0.476,0.016c 10.506,0.341, 14.594,3.761, 16.755,6.303c 9.060,10.66, 7.361,36.188, 4.298,61.658l-43.313,0 \n\tC 215.28,70.53, 213.581,45.002, 222.641,34.342z M 273.635,469.831c-2.946,6.689-15.628,13.92-33.331,14.145L 240,483.979l-0.304-0.004\n\tc-17.703-0.225-30.385-7.454-33.33-14.143c-6.179-14.038-30.356-88.632-30.356-144.302c0-25.126, 10.371-47.021, 21.351-70.2\n\tc 8.872-18.73, 18.564-39.21, 23.612-63.332l 38.053,0 c 5.048,24.122, 14.74,44.601, 23.612,63.332c 10.98,23.18, 21.352,45.074, 21.352,70.2\n\tC 303.99,381.193, 279.812,455.793, 273.635,469.831z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bowling, game, pins, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 459.941,212.927c-10.505-22.178-21.368-45.11-21.368-74.238c0-11.577, 1.754-25.039, 3.609-39.29\n\tc 4.22-32.398, 8.582-65.899-7.834-85.215c-5.293-6.228-12.221-10.426-20.683-12.548L 413.665,0 l-12.25,0 c-0.312,0-0.615,0.008-0.919,0.017\n\tl-0.011,0 C 400.183,0.008, 399.879,0, 399.564,0l-12.25,0.041l0,1.595 c-8.461,2.123-15.389,6.32-20.682,12.548\n\tC 350.217,33.499, 354.58,67, 358.799,99.399c 1.856,14.251, 3.609,27.713, 3.609,39.29c0,29.128-10.863,52.061-21.367,74.238\n\tc-8.701,18.367-17.647,37.26-20.272,59.159c-3.886-9.868-8.384-19.365-12.825-28.741c-12.006-25.346-24.421-51.555-24.421-84.844\n\tc0-13.231, 2.004-28.615, 4.125-44.903c 4.822-37.026, 9.808-75.313-8.953-97.388c-6.049-7.117-13.967-11.915-23.637-14.341L 255.058,0 l-14,0 \n\tc-0.357,0-0.704,0.009-1.051,0.020l-0.012,0 C 239.647,0.009, 239.3,0, 238.941,0l-14,0.046l0,1.822 c-9.669,2.426-17.587,7.224-23.636,14.341\n\tc-18.761,22.075-13.775,60.362-8.953,97.389c 2.121,16.288, 4.125,31.672, 4.125,44.902c0,33.289-12.415,59.498-24.42,84.844\n\tc-4.162,8.786-8.372,17.68-12.082,26.884c-2.894-21.113-11.579-39.457-20.033-57.302c-10.505-22.178-21.368-45.11-21.368-74.238\n\tc0-11.577, 1.754-25.039, 3.609-39.29c 4.22-32.398, 8.582-65.899-7.834-85.215c-5.293-6.228-12.221-10.426-20.682-12.548L 93.667,0 l-12.25,0 \n\tc-0.312,0-0.616,0.008-0.919,0.017l-0.011,0 C 80.183,0.008, 79.878,0, 79.565,0l-12.25,0.041l0,1.595 \n\tc-8.461,2.123-15.389,6.32-20.682,12.548C 30.217,33.499, 34.58,67, 38.799,99.399c 1.856,14.251, 3.609,27.713, 3.609,39.29\n\tc0,29.128-10.863,52.061-21.368,74.238C 10.696,234.765,0,257.346,0,284.84c0,53.297, 22.574,122.356, 28.638,136.135\n\tc 5.86,13.312, 20.637,22.863, 39.182,25.943L 67.82,448 l 12.25,0 c 0.137,0, 0.275-0.002, 0.419-0.006c 0.142,0.003, 0.282,0.006, 0.423,0.006\n\tl 12.25-0.022l0-1.060 c 18.544-3.080, 33.32-12.632, 39.182-25.944c 3.277-7.446, 11.374-31.038, 18.125-59.557\n\tc 6.611,52.579, 24.647,106.924, 30.27,119.696c 6.698,15.214, 23.585,26.13, 44.779,29.65L 225.518,512 l 14,0 c 0.157,0, 0.314-0.002, 0.479-0.007\n\tc 0.162,0.004, 0.322,0.007, 0.483,0.007l 14-0.025l0-1.211 c 21.193-3.521, 38.080-14.437, 44.78-29.651\n\tc 5.72-12.998, 24.292-69.038, 30.604-122.458c 6.873,29.752, 15.39,54.636, 18.772,62.32c 5.859,13.312, 20.637,22.863, 39.182,25.943L 387.818,448 \n\tl 12.25,0 c 0.137,0, 0.274-0.002, 0.419-0.006c 0.142,0.003, 0.282,0.006, 0.423,0.006l 12.25-0.022l0-1.060 \n\tc 18.545-3.080, 33.32-12.632, 39.183-25.944c 6.064-13.78, 28.638-82.844, 28.638-136.134\n\tC 480.982,257.346, 470.286,234.765, 459.941,212.927z M 222.641,34.342c 2.161-2.542, 6.249-5.962, 16.754-6.303l 0.444-0.016l 0.158,0.002\n\tl 0.131-0.002l 0.476,0.016c 10.506,0.341, 14.594,3.761, 16.755,6.303c 9.060,10.66, 7.361,36.188, 4.298,61.658l-43.313,0 \n\tC 215.28,70.53, 213.581,45.002, 222.641,34.342z M 255.54,160l-31.080,0 c 0.005-0.5, 0.017-0.996, 0.017-1.499\n\tc0-9.585-0.902-19.971-2.109-30.501l 35.264,0 c-1.208,10.53-2.109,20.916-2.109,30.501C 255.522,159.004, 255.535,159.5, 255.54,160z\n\t M 273.635,469.831c-2.946,6.689-15.628,13.92-33.331,14.145L 240,483.979l-0.304-0.004c-17.703-0.225-30.385-7.454-33.33-14.143\n\tc-6.179-14.038-30.356-88.632-30.356-144.302c0-25.126, 10.371-47.021, 21.351-70.2c 8.872-18.73, 18.564-39.21, 23.612-63.332l 38.053,0 \n\tc 5.048,24.122, 14.74,44.601, 23.612,63.332c 10.98,23.18, 21.352,45.074, 21.352,70.2C 303.99,381.193, 279.812,455.793, 273.635,469.831z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bowling ball, ball, game, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,320\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 305.673,320, 288,320z M 320,160c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 337.673,160, 320,160z M 416,224c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32\n\tS 433.673,224, 416,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eight ball, 8ball, billiards, snooker, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,384\n\t\tc-70.692,0-128-57.308-128-128s 57.308-128, 128-128s 128,57.308, 128,128S 326.692,384, 256,384zM 296.963,253.506c 10.817-9.805, 17.543-23.442, 17.543-38.507c0-29.775-26.246-54-58.507-54\n\t\tc-32.26,0-58.505,24.224-58.505,54c0,15.065, 6.726,28.702, 17.542,38.506c-14.076,10.281-23.052,25.735-23.052,42.994\n\t\tc0,30.879, 28.717,56, 64.015,56c 35.299,0, 64.017-25.121, 64.017-56C 320.016,279.241, 311.040,263.787, 296.963,253.506z M 225.494,215\n\t\tc0-14.336, 13.685-26, 30.505-26c 16.821,0, 30.507,11.663, 30.507,26c0,12.943-11.154,23.704-25.699,25.675\n\t\tc-1.59-0.104-3.188-0.174-4.808-0.174c-1.619,0-3.218,0.070-4.807,0.174C 236.648,238.703, 225.494,227.942, 225.494,215z\n\t\t M 255.999,323.5c-19.307,0-35.015-12.112-35.015-27s 15.708-27, 35.015-27c 19.309,0, 35.017,12.112, 35.017,27\n\t\tS 275.308,323.5, 255.999,323.5z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"racing, flag, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 80,0L 80,512L 32,512zM 192,96L 256,96L 256,160L 192,160zM 256,160l0,64 c 32,0, 32,32, 64,32l0-64 C 288,192, 288,160, 256,160zM 320,128L 384,128L 384,192L 320,192zM 320,32c-16,0-24-8-32-16S 272,0, 256,0L 96,0 l0,320 l 160,0 c 16,0, 24,8, 32,16s 16,16, 32,16l 160,0 L 480,32 L 320,32 z M 448,192l-64,0 l0,64 l 64,0 l0,64 l-64,0 l0-64 \n\t\tl-64,0 l0,64 c-16,0-24-8-32-16s-16-16-32-16l0-64 l-64,0 l0,64 l-64,0 l0-64 l 64,0 l0-64 l-64,0 L 128,96 l 64,0 L 192,32 l 64,0 l0,64 c 16,0, 24,8, 32,16s 16,16, 32,16L 320,64 l 64,0 l0,64 l 64,0 L 448,192 \n\t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hockey, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,422.439L 320,438 c0,17.673, 42.98,32, 96,32s 96-14.327, 96-32l0-15.561 C 495.415,437.965, 455.522,446, 416,446\n\t\tS 336.585,437.965, 320,422.439zM 320,404A96,32 7560 1 1 512,404A96,32 7560 1 1 320,404zM 454.402,96L 224.521,384.982c-15.687,18.019-126.371,12.893-184.957,3.903c-0.015,0-0.029,0-0.045-0.001\n\t\tc-26.645-2.943-33.747-13.682-38.070,10.169L 1.446,399.053 c-4.93,37.705, 4.325,70.333, 4.325,70.333\n\t\tc 19.563,20.469, 199.608,8.402, 218.749-11.447L 512,96L 454.402,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"golf, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208.85,387.4L 236,464l0,48 l 40,0 l0-48 l 27.149-76.6c-15.129,3.651-30.915,5.6-47.149,5.6S 223.979,391.052, 208.85,387.4zM 96,192A160,160 7560 1 1 416,192A160,160 7560 1 1 96,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"basketball, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 479.456,256c-3.461-52.57-23.85-100.511-55.763-138.432c-3.75,3.247-7.401,6.64-10.943,10.182\n\t\tc-34.734,34.734-55.393,79.79-59.128,128.25L 479.456,256 zM 398.495,91.805C 359.963,57.887, 310.467,36.13, 256,32.543L 256,256 l 61.544,0 C 321.845,190.673, 352.276,132.492, 398.495,91.805zM 67.25,127.75c-3.542-3.542-7.194-6.936-10.943-10.182C 24.394,155.489, 4.005,203.43, 0.543,256l 125.834,0 \n\t\tC 122.643,207.54, 101.984,162.484, 67.25,127.75zM 162.457,256L 224,256 L 224,32.543 C 169.534,36.13, 120.037,57.887, 81.505,91.805C 127.724,132.492, 158.155,190.673, 162.457,256zM 412.75,416.25c 3.542,3.542, 7.194,6.936, 10.943,10.183c 31.913-37.921, 52.302-85.862, 55.763-138.433L 353.622,288 \n\t\tC 357.357,336.46, 378.016,381.516, 412.75,416.25zM 317.544,288L 256,288 l0,223.456 c 54.467-3.586, 103.963-25.343, 142.495-59.261C 352.276,411.509, 321.845,353.328, 317.544,288zM 0.543,288c 3.461,52.57, 23.85,100.512, 55.763,138.432c 3.75-3.246, 7.401-6.64, 10.943-10.182\n\t\tc 34.734-34.734, 55.393-79.79, 59.128-128.25L 0.543,288 zM 81.505,452.195c 38.532,33.918, 88.029,55.675, 142.495,59.261L 224,288 l-61.543,0 C 158.155,353.327, 127.723,411.509, 81.505,452.195z\n\t\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"baseball, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384.385,439.584c0-0.001-0.002-0.003-0.004-0.004c-0.040-0.044-0.073-0.080-0.114-0.123\n\t\tc-0.003-0.004-0.006-0.007-0.009-0.010c-0.123-0.132-0.236-0.255-0.359-0.387c-0.003-0.004-0.006-0.008-0.010-0.011\n\t\tc-0.041-0.044-0.070-0.077-0.111-0.121c-0.002-0.003-0.006-0.006-0.008-0.009c-0.082-0.088-0.154-0.166-0.236-0.255\n\t\tc-0.006-0.007-0.012-0.013-0.018-0.019c-0.029-0.033-0.066-0.072-0.097-0.105c-0.008-0.009-0.016-0.018-0.023-0.025\n\t\tc-0.030-0.033-0.072-0.079-0.103-0.111c-0.004-0.004-0.008-0.009-0.012-0.013c-0.041-0.044-0.075-0.082-0.115-0.126\n\t\tc-0.006-0.006-0.011-0.012-0.016-0.018c-0.031-0.033-0.068-0.073-0.098-0.106c-0.009-0.010-0.019-0.021-0.027-0.030\n\t\tc-0.031-0.033-0.059-0.063-0.089-0.098c-0.009-0.008-0.018-0.018-0.026-0.027c-0.035-0.039-0.076-0.084-0.112-0.123l-0.001,0 \n\t\tc-0.035-0.039-0.076-0.084-0.111-0.123c-0.010-0.011-0.020-0.021-0.029-0.031c-0.030-0.033-0.052-0.057-0.082-0.090\n\t\tc-0.013-0.014-0.023-0.027-0.036-0.041c-0.030-0.032-0.054-0.058-0.083-0.090c-0.010-0.012-0.020-0.021-0.027-0.031\n\t\tc-0.041-0.045-0.069-0.075-0.109-0.119c-0.011-0.012-0.020-0.022-0.031-0.033c-0.024-0.029-0.053-0.059-0.077-0.087\n\t\tc-0.015-0.017-0.030-0.032-0.044-0.049c-0.021-0.022-0.045-0.050-0.066-0.072c-0.016-0.017-0.030-0.034-0.047-0.052\n\t\tc-0.024-0.027-0.050-0.055-0.076-0.084c-0.010-0.012-0.020-0.023-0.031-0.035c-0.035-0.039-0.065-0.072-0.101-0.111\n\t\tc-0.019-0.020-0.035-0.039-0.053-0.059c-0.015-0.018-0.040-0.045-0.056-0.061c-0.019-0.021-0.037-0.041-0.055-0.062\n\t\tc-0.016-0.017-0.037-0.042-0.053-0.059c-0.019-0.021-0.037-0.041-0.057-0.062c-0.020-0.023-0.035-0.041-0.055-0.062\n\t\tc-0.035-0.039-0.069-0.076-0.104-0.115c-0.010-0.012-0.031-0.035-0.041-0.045c-0.022-0.025-0.045-0.051-0.068-0.076\n\t\tc-0.010-0.012-0.025-0.029-0.036-0.041c-0.022-0.024-0.045-0.050-0.067-0.074c-0.010-0.012-0.025-0.027-0.035-0.039\n\t\tc-0.078-0.088-0.157-0.176-0.236-0.264c-0.010-0.012-0.017-0.020-0.026-0.031c-0.024-0.027-0.048-0.055-0.073-0.082\n\t\tc-0.010-0.012-0.021-0.023-0.031-0.035c-0.024-0.027-0.049-0.055-0.074-0.084c-0.062-0.068-0.123-0.138-0.184-0.206l-0.004-0.004\n\t\tc-0.027-0.030-0.055-0.062-0.082-0.093c-0.006-0.006-0.014-0.016-0.019-0.021c-0.028-0.031-0.057-0.062-0.085-0.094l-0.003-0.004\n\t\tc-0.089-0.102-0.18-0.203-0.269-0.305c-0.006-0.005-0.008-0.008-0.013-0.013c-0.027-0.032-0.056-0.063-0.083-0.095\n\t\tc-0.005-0.006-0.009-0.010-0.014-0.016c-0.121-0.137-0.242-0.274-0.363-0.412l-0.002-0.003c-1.082-1.231-2.152-2.477-3.209-3.731\n\t\tl 6.658-5.61c-6.201-7.489-11.959-15.359-17.228-23.573l-8.081,5.438c-1.694-2.518-3.342-5.070-4.943-7.654l-0.002-0.006\n\t\tc-0.023-0.036-0.047-0.073-0.068-0.109c-0.005-0.007-0.008-0.012-0.012-0.019c-0.092-0.149-0.185-0.298-0.276-0.448\n\t\tc-0.008-0.013-0.015-0.023-0.022-0.037c-0.020-0.030-0.037-0.061-0.057-0.091c-0.008-0.013-0.018-0.030-0.025-0.043\n\t\tc-0.041-0.065-0.080-0.128-0.12-0.193c-0.004-0.007-0.005-0.007-0.008-0.013c-0.017-0.029-0.033-0.057-0.050-0.084\n\t\tc-0.013-0.019-0.022-0.035-0.035-0.055c-0.015-0.025-0.031-0.053-0.047-0.078c-0.012-0.020-0.026-0.043-0.038-0.062\n\t\tc-0.015-0.024-0.030-0.049-0.044-0.072c-0.017-0.025-0.034-0.055-0.051-0.080c-0.020-0.036-0.042-0.072-0.064-0.107\n\t\tc-0.015-0.025-0.030-0.051-0.045-0.076c-0.014-0.021-0.027-0.043-0.041-0.065c-0.016-0.026-0.029-0.050-0.045-0.075\n\t\tc-0.014-0.021-0.025-0.042-0.039-0.062c-0.020-0.033-0.038-0.063-0.057-0.096c-0.010-0.014-0.019-0.029-0.026-0.043\n\t\tc-0.028-0.045-0.054-0.088-0.081-0.133c-0.010-0.016-0.020-0.032-0.029-0.048c-0.020-0.032-0.039-0.065-0.059-0.099\n\t\tc-0.010-0.014-0.019-0.029-0.027-0.045c-0.023-0.038-0.041-0.066-0.064-0.106c-0.008-0.012-0.016-0.024-0.022-0.036\n\t\tc-0.026-0.045-0.060-0.098-0.087-0.144c0-0.001-0.001-0.003-0.002-0.005c-0.027-0.045-0.057-0.094-0.084-0.139\n\t\tc-0.006-0.010-0.012-0.021-0.018-0.031c-0.023-0.039-0.050-0.080-0.072-0.12c-0.006-0.009-0.012-0.018-0.017-0.026\n\t\tc-0.027-0.046-0.060-0.1-0.087-0.145c-0.031-0.052-0.060-0.102-0.092-0.152c-0.002-0.004-0.003-0.006-0.005-0.010\n\t\tc-0.028-0.045-0.056-0.092-0.083-0.139c-0.004-0.006-0.008-0.014-0.013-0.021c-0.089-0.149-0.181-0.305-0.27-0.454\n\t\tc-0.001-0.001-0.003-0.004-0.003-0.005c-0.031-0.052-0.059-0.097-0.089-0.148c-0.001-0.002-0.003-0.005-0.004-0.007\n\t\tc-0.092-0.154-0.181-0.307-0.272-0.463c-0.002-0.001-0.002-0.002-0.003-0.003c-3.678-6.233-7.075-12.636-10.188-19.212l 9.401-4.451\n\t\tc-3.538-7.792-6.66-15.812-9.362-24.021l-9.865,3.414c-2.137-6.174-4.027-12.459-5.662-18.848c0-0.002,0-0.002-0.001-0.004\n\t\tc-0.046-0.18-0.091-0.355-0.137-0.536c0-0.001,0-0.001-0.001-0.002c-0.045-0.18-0.088-0.351-0.133-0.531\n\t\tc-0.002-0.005-0.003-0.010-0.004-0.015c-0.045-0.18-0.088-0.348-0.133-0.529c0-0.002-0.001-0.005-0.002-0.008\n\t\tc-0.044-0.18-0.086-0.35-0.131-0.53c0-0.005-0.002-0.008-0.002-0.012c-0.016-0.061-0.027-0.11-0.043-0.171\n\t\tc0-0.002,0-0.002-0.001-0.004c-0.029-0.121-0.058-0.237-0.087-0.357c0-0.001-0.001-0.004-0.001-0.004\n\t\tc-0.015-0.061-0.028-0.115-0.042-0.176c-0.001-0.002-0.001-0.002-0.002-0.005c-0.029-0.12-0.057-0.236-0.086-0.356\n\t\tc0-0.002-0.001-0.004-0.002-0.006c-0.015-0.061-0.025-0.11-0.041-0.17c-0.001-0.005-0.002-0.008-0.002-0.012\n\t\tc-0.043-0.18-0.084-0.348-0.127-0.529c-0.001-0.004-0.002-0.010-0.004-0.014c-0.043-0.182-0.082-0.35-0.125-0.531\n\t\tc0-0.004-0.002-0.008-0.002-0.010c-0.043-0.181-0.084-0.354-0.125-0.535c-0.001-0.002-0.002-0.004-0.002-0.006\n\t\tc-0.042-0.182-0.083-0.357-0.124-0.538c-0.001-0.001-0.001-0.003-0.001-0.005c-0.043-0.182-0.083-0.357-0.124-0.539\n\t\tc-0.001-0.002-0.001-0.004-0.001-0.005c-0.738-3.241-1.41-6.505-2.017-9.794l 10.659-1.962c-1.417-8.074-2.425-16.289-3.013-24.62\n\t\tL 320,289.777l0-35.555 l 8.616,0.636c 0.588-8.331, 1.596-16.545, 3.013-24.62l-10.659-1.962c 0.606-3.289, 1.278-6.552, 2.017-9.793\n\t\tc0-0.001,0-0.003, 0.001-0.005c 0.041-0.181, 0.081-0.358, 0.124-0.54c0-0.001,0-0.003, 0.001-0.004\n\t\tc 0.041-0.181, 0.082-0.356, 0.124-0.538c0-0.003, 0.001-0.004, 0.002-0.007c 0.041-0.181, 0.082-0.354, 0.125-0.534\n\t\tc0-0.003, 0.002-0.007, 0.002-0.010c 0.043-0.182, 0.082-0.351, 0.125-0.531c 0.002-0.004, 0.003-0.010, 0.004-0.015\n\t\tc 0.043-0.181, 0.084-0.349, 0.127-0.529c0-0.004, 0.001-0.006, 0.002-0.011c 0.016-0.060, 0.026-0.11, 0.041-0.17\n\t\tc 0.001-0.002, 0.002-0.004, 0.002-0.006c 0.029-0.12, 0.057-0.236, 0.086-0.356c 0.001-0.002, 0.001-0.003, 0.002-0.005\n\t\tc 0.014-0.061, 0.027-0.115, 0.042-0.175c0,0, 0.001-0.003, 0.001-0.003c 0.029-0.121, 0.058-0.237, 0.087-0.358\n\t\tc 0.001-0.001, 0.001-0.002, 0.001-0.004c 0.016-0.060, 0.027-0.11, 0.043-0.171c0-0.004, 0.002-0.007, 0.002-0.012\n\t\tc 0.045-0.18, 0.087-0.351, 0.131-0.53c 0.001-0.003, 0.002-0.005, 0.002-0.008c 0.045-0.181, 0.088-0.349, 0.133-0.529\n\t\tc 0.001-0.005, 0.002-0.010, 0.004-0.015c 0.045-0.181, 0.088-0.352, 0.133-0.531c 0.001,0, 0.001-0.001, 0.001-0.002\n\t\tc 0.046-0.18, 0.091-0.357, 0.137-0.536c 0.001-0.001, 0.001-0.002, 0.001-0.004c 1.635-6.389, 3.525-12.674, 5.662-18.848l 9.865,3.414\n\t\tc 2.702-8.21, 5.825-16.229, 9.362-24.021l-9.401-4.451c 3.113-6.576, 6.511-12.978, 10.188-19.212c 0.001-0.001, 0.001-0.002, 0.003-0.003\n\t\tc 0.092-0.156, 0.181-0.308, 0.272-0.463c 0.001-0.002, 0.003-0.004, 0.004-0.006c 0.030-0.052, 0.058-0.097, 0.089-0.148\n\t\tc0-0.001, 0.002-0.004, 0.003-0.005c 0.089-0.149, 0.181-0.305, 0.27-0.454c 0.005-0.007, 0.009-0.014, 0.013-0.021\n\t\tc 0.027-0.046, 0.055-0.093, 0.083-0.138c 0.002-0.003, 0.003-0.006, 0.005-0.010c 0.032-0.051, 0.061-0.101, 0.092-0.152l0,0 \n\t\tc 0.027-0.045, 0.060-0.099, 0.087-0.144c 0.005-0.009, 0.011-0.018, 0.017-0.027c 0.022-0.040, 0.049-0.082, 0.072-0.121\n\t\tc 0.006-0.010, 0.012-0.021, 0.018-0.031c 0.027-0.045, 0.057-0.094, 0.084-0.139c 0.001-0.001, 0.002-0.003, 0.002-0.005\n\t\tc 0.027-0.045, 0.061-0.099, 0.087-0.143c 0.007-0.012, 0.015-0.025, 0.022-0.037c 0.023-0.040, 0.041-0.068, 0.064-0.107\n\t\tc 0.009-0.015, 0.018-0.030, 0.027-0.045c 0.020-0.032, 0.039-0.065, 0.059-0.098c 0.010-0.016, 0.020-0.032, 0.029-0.047\n\t\tc 0.027-0.045, 0.053-0.089, 0.081-0.133c 0.008-0.014, 0.017-0.029, 0.026-0.043c 0.019-0.032, 0.037-0.062, 0.057-0.095\n\t\tc 0.014-0.021, 0.025-0.042, 0.039-0.062c 0.016-0.026, 0.029-0.050, 0.045-0.076c 0.014-0.022, 0.027-0.043, 0.041-0.065\n\t\tc 0.015-0.025, 0.030-0.051, 0.045-0.077c 0.022-0.035, 0.045-0.071, 0.064-0.106c 0.017-0.025, 0.034-0.055, 0.051-0.080\n\t\tc 0.014-0.024, 0.029-0.048, 0.044-0.073c 0.012-0.019, 0.026-0.043, 0.038-0.062c 0.016-0.026, 0.032-0.053, 0.047-0.079\n\t\tc 0.013-0.019, 0.022-0.036, 0.035-0.055c 0.017-0.027, 0.033-0.055, 0.050-0.083c 0.003-0.006, 0.004-0.007, 0.008-0.013\n\t\tc 0.040-0.065, 0.079-0.128, 0.12-0.193c 0.008-0.013, 0.018-0.030, 0.025-0.043c 0.020-0.031, 0.037-0.061, 0.057-0.091\n\t\tc 0.008-0.013, 0.015-0.024, 0.022-0.037c 0.092-0.15, 0.185-0.299, 0.276-0.448c 0.004-0.006, 0.007-0.012, 0.012-0.018\n\t\tc 0.021-0.037, 0.045-0.074, 0.068-0.11l 0.002-0.006c 1.602-2.584, 3.249-5.136, 4.943-7.654l 8.081,5.438\n\t\tc 5.269-8.215, 11.026-16.084, 17.228-23.574l-6.658-5.61c 1.057-1.254, 2.127-2.499, 3.209-3.731l 0.002-0.002\n\t\tc 0.121-0.138, 0.242-0.275, 0.363-0.413c 0.005-0.005, 0.009-0.010, 0.014-0.015c 0.027-0.032, 0.056-0.062, 0.083-0.095\n\t\tc 0.005-0.005, 0.007-0.008, 0.013-0.013c 0.089-0.101, 0.18-0.203, 0.269-0.304l 0.003-0.003c 0.028-0.031, 0.057-0.063, 0.085-0.095\n\t\tc 0.005-0.006, 0.013-0.016, 0.019-0.021c 0.027-0.031, 0.055-0.062, 0.082-0.093l 0.004-0.004c 0.061-0.068, 0.122-0.138, 0.184-0.207\n\t\tc 0.025-0.028, 0.050-0.056, 0.074-0.084c 0.010-0.011, 0.021-0.023, 0.031-0.035c 0.025-0.027, 0.049-0.054, 0.073-0.082\n\t\tc 0.010-0.011, 0.017-0.020, 0.026-0.031c 0.079-0.088, 0.158-0.176, 0.236-0.264c 0.010-0.011, 0.025-0.028, 0.035-0.039\n\t\tc 0.022-0.025, 0.045-0.050, 0.067-0.075c 0.011-0.011, 0.026-0.030, 0.036-0.042c 0.023-0.025, 0.046-0.050, 0.068-0.075\n\t\tc 0.010-0.011, 0.031-0.034, 0.041-0.045c 0.034-0.040, 0.068-0.077, 0.104-0.116c 0.020-0.022, 0.035-0.040, 0.055-0.062\n\t\tc 0.020-0.021, 0.038-0.042, 0.057-0.062c 0.016-0.017, 0.037-0.042, 0.053-0.059c 0.018-0.020, 0.036-0.040, 0.055-0.061\n\t\tc 0.016-0.016, 0.041-0.044, 0.056-0.061c 0.018-0.020, 0.034-0.039, 0.053-0.059c 0.035-0.039, 0.065-0.073, 0.101-0.111\n\t\tc 0.012-0.012, 0.021-0.023, 0.031-0.035c 0.026-0.029, 0.052-0.057, 0.076-0.084c 0.017-0.018, 0.031-0.035, 0.047-0.052\n\t\tc 0.021-0.022, 0.046-0.050, 0.066-0.072c 0.014-0.017, 0.029-0.033, 0.044-0.049c 0.024-0.028, 0.053-0.058, 0.077-0.086\n\t\tc 0.012-0.011, 0.021-0.022, 0.031-0.033c 0.040-0.044, 0.068-0.075, 0.109-0.12c 0.008-0.010, 0.018-0.020, 0.027-0.031\n\t\tc 0.029-0.033, 0.053-0.058, 0.083-0.091c 0.013-0.014, 0.023-0.027, 0.036-0.041c 0.030-0.033, 0.052-0.056, 0.082-0.089\n\t\tc 0.010-0.011, 0.020-0.021, 0.029-0.032c 0.035-0.039, 0.076-0.084, 0.111-0.123l 0.001,0c 0.036-0.038, 0.077-0.084, 0.112-0.123\n\t\tc 0.009-0.009, 0.018-0.019, 0.026-0.027c 0.030-0.034, 0.058-0.064, 0.089-0.098c 0.009-0.010, 0.019-0.020, 0.027-0.030\n\t\tc 0.029-0.033, 0.066-0.074, 0.098-0.107c 0.005-0.006, 0.010-0.011, 0.016-0.017c 0.040-0.044, 0.074-0.082, 0.115-0.126\n\t\tc 0.004-0.004, 0.008-0.008, 0.012-0.012c 0.030-0.033, 0.072-0.078, 0.103-0.111c 0.008-0.009, 0.016-0.017, 0.023-0.025\n\t\tc 0.030-0.033, 0.067-0.073, 0.097-0.106c 0.006-0.006, 0.012-0.012, 0.018-0.019c 0.082-0.089, 0.154-0.167, 0.236-0.255\n\t\tc 0.002-0.002, 0.006-0.005, 0.008-0.008c 0.041-0.044, 0.070-0.077, 0.111-0.121c 0.004-0.003, 0.007-0.007, 0.010-0.011\n\t\tc 0.123-0.132, 0.236-0.255, 0.359-0.387c 0.003-0.003, 0.006-0.006, 0.009-0.010c 0.041-0.043, 0.074-0.079, 0.114-0.123\n\t\tc 0.002-0.001, 0.004-0.003, 0.004-0.004c 4.284-4.598, 8.751-9.019, 13.381-13.268C 355.58,54.318, 300.398,32, 240,32\n\t\tc-60.399,0-115.58,22.318-157.765,59.148c 4.629,4.249, 9.096,8.67, 13.38,13.268c 0.001,0.001, 0.003,0.003, 0.004,0.004\n\t\tc 0.041,0.044, 0.074,0.080, 0.115,0.123c 0.003,0.003, 0.006,0.007, 0.009,0.010c 0.122,0.132, 0.236,0.255, 0.358,0.387\n\t\tc 0.003,0.003, 0.007,0.007, 0.010,0.011c 0.041,0.044, 0.071,0.077, 0.112,0.121c 0.002,0.003, 0.005,0.006, 0.007,0.008\n\t\tc 0.082,0.088, 0.154,0.167, 0.236,0.255c 0.006,0.006, 0.012,0.012, 0.018,0.019c 0.030,0.033, 0.066,0.073, 0.097,0.106\n\t\tc 0.008,0.008, 0.016,0.017, 0.023,0.025c 0.031,0.033, 0.072,0.079, 0.103,0.111c 0.004,0.004, 0.008,0.008, 0.011,0.012\n\t\tc 0.041,0.044, 0.076,0.082, 0.116,0.126c 0.005,0.006, 0.011,0.011, 0.016,0.017c 0.031,0.033, 0.068,0.074, 0.098,0.107\n\t\tc 0.008,0.010, 0.018,0.020, 0.027,0.030c 0.030,0.033, 0.059,0.064, 0.088,0.098c 0.009,0.009, 0.018,0.019, 0.026,0.027\n\t\tc 0.035,0.039, 0.077,0.085, 0.112,0.123l0,0c 0.035,0.039, 0.077,0.084, 0.112,0.123c 0.010,0.011, 0.019,0.021, 0.029,0.032\n\t\tc 0.030,0.033, 0.052,0.057, 0.082,0.089c 0.013,0.014, 0.023,0.027, 0.036,0.041c 0.030,0.033, 0.053,0.058, 0.083,0.091\n\t\tc 0.009,0.011, 0.019,0.021, 0.027,0.031c 0.041,0.045, 0.069,0.075, 0.109,0.12c 0.011,0.011, 0.020,0.022, 0.031,0.033\n\t\tc 0.025,0.029, 0.053,0.059, 0.078,0.086c 0.015,0.016, 0.030,0.032, 0.044,0.049c 0.021,0.022, 0.045,0.050, 0.066,0.072\n\t\tc 0.016,0.017, 0.031,0.034, 0.047,0.052c 0.025,0.027, 0.050,0.055, 0.076,0.084c 0.010,0.012, 0.021,0.023, 0.032,0.035\n\t\tc 0.035,0.039, 0.065,0.072, 0.101,0.111c 0.018,0.020, 0.035,0.039, 0.053,0.059c 0.015,0.017, 0.041,0.045, 0.056,0.061\n\t\tc 0.019,0.021, 0.037,0.041, 0.055,0.061c 0.015,0.017, 0.037,0.042, 0.052,0.059c 0.019,0.021, 0.037,0.041, 0.056,0.062\n\t\tc 0.020,0.022, 0.036,0.040, 0.056,0.062c 0.035,0.039, 0.069,0.076, 0.104,0.116c 0.010,0.011, 0.031,0.034, 0.041,0.045\n\t\tc 0.022,0.025, 0.045,0.050, 0.068,0.075c 0.010,0.012, 0.026,0.030, 0.037,0.042c 0.022,0.024, 0.045,0.050, 0.067,0.075\n\t\tc 0.010,0.011, 0.025,0.027, 0.036,0.039c 0.078,0.088, 0.157,0.176, 0.236,0.264c 0.010,0.011, 0.017,0.020, 0.027,0.031\n\t\tc 0.024,0.028, 0.048,0.055, 0.073,0.082c 0.010,0.011, 0.021,0.023, 0.031,0.035c 0.024,0.028, 0.049,0.056, 0.074,0.084l0,0 \n\t\tc 0.061,0.069, 0.123,0.138, 0.184,0.207l 0.003,0.004c 0.028,0.031, 0.055,0.062, 0.083,0.093c 0.005,0.005, 0.013,0.015, 0.018,0.021\n\t\tc 0.028,0.031, 0.057,0.063, 0.084,0.095l 0.003,0.003c 0.089,0.101, 0.18,0.204, 0.269,0.304c 0.005,0.005, 0.007,0.008, 0.012,0.013\n\t\tc 0.027,0.033, 0.055,0.063, 0.083,0.095c 0.005,0.005, 0.009,0.010, 0.014,0.015c 0.121,0.137, 0.242,0.274, 0.362,0.413l 0.002,0.002\n\t\tc 1.083,1.232, 2.152,2.477, 3.209,3.731l-6.658,5.61c 6.201,7.49, 11.959,15.36, 17.228,23.574l 8.082-5.438\n\t\tc 1.694,2.518, 3.341,5.070, 4.942,7.654l 0.003,0.006c 0.023,0.037, 0.046,0.074, 0.068,0.11c 0.004,0.006, 0.007,0.012, 0.011,0.018\n\t\tc 0.092,0.149, 0.185,0.298, 0.276,0.448c 0.008,0.013, 0.015,0.024, 0.022,0.037c 0.019,0.031, 0.038,0.061, 0.056,0.091\n\t\tc 0.008,0.013, 0.019,0.030, 0.026,0.043c 0.040,0.065, 0.080,0.128, 0.12,0.193c 0.004,0.006, 0.004,0.007, 0.008,0.013\n\t\tc 0.017,0.028, 0.033,0.056, 0.050,0.083c 0.012,0.019, 0.022,0.036, 0.034,0.055c 0.015,0.026, 0.032,0.052, 0.048,0.079\n\t\tc 0.012,0.019, 0.026,0.043, 0.038,0.062c 0.015,0.024, 0.030,0.048, 0.044,0.073c 0.016,0.025, 0.034,0.055, 0.050,0.080\n\t\tc 0.021,0.036, 0.042,0.072, 0.064,0.106c 0.015,0.026, 0.031,0.051, 0.046,0.077c 0.014,0.022, 0.027,0.043, 0.040,0.065\n\t\tc 0.016,0.026, 0.030,0.050, 0.046,0.076c 0.013,0.021, 0.025,0.042, 0.038,0.062c 0.020,0.033, 0.039,0.063, 0.058,0.095\n\t\tc 0.009,0.014, 0.018,0.030, 0.026,0.043c 0.028,0.044, 0.054,0.088, 0.082,0.133c 0.010,0.016, 0.019,0.032, 0.029,0.047\n\t\tc 0.019,0.033, 0.039,0.066, 0.059,0.098c 0.009,0.015, 0.019,0.030, 0.028,0.045c 0.023,0.039, 0.041,0.067, 0.064,0.107\n\t\tc 0.007,0.012, 0.015,0.024, 0.022,0.037c 0.027,0.044, 0.059,0.098, 0.087,0.143c0,0.001, 0.001,0.003, 0.001,0.005\n\t\tc 0.028,0.045, 0.057,0.094, 0.084,0.139c 0.006,0.010, 0.013,0.021, 0.019,0.031c 0.023,0.039, 0.049,0.081, 0.072,0.121\n\t\tc 0.006,0.009, 0.011,0.018, 0.017,0.027c 0.027,0.045, 0.060,0.099, 0.086,0.144l0,0 c 0.031,0.051, 0.060,0.101, 0.092,0.152\n\t\tc 0.002,0.004, 0.003,0.006, 0.005,0.010c 0.028,0.045, 0.055,0.092, 0.083,0.138c 0.004,0.007, 0.009,0.014, 0.013,0.021\n\t\tc 0.088,0.149, 0.181,0.305, 0.27,0.454c 0.001,0.001, 0.002,0.003, 0.003,0.005c 0.030,0.052, 0.058,0.096, 0.088,0.148\n\t\tc 0.001,0.002, 0.003,0.004, 0.004,0.006c 0.092,0.155, 0.181,0.307, 0.273,0.463c 0.001,0.001, 0.001,0.002, 0.002,0.003\n\t\tc 3.678,6.234, 7.076,12.636, 10.189,19.212l-9.402,4.452c 3.538,7.792, 6.66,15.811, 9.362,24.021l 9.865-3.414\n\t\tc 2.137,6.174, 4.028,12.459, 5.663,18.848c0,0.001,0,0.002, 0.001,0.004c 0.046,0.179, 0.091,0.356, 0.137,0.536c0,0.001,0,0.001,0,0.002\n\t\tc 0.045,0.18, 0.088,0.351, 0.134,0.531c 0.001,0.005, 0.002,0.010, 0.003,0.015c 0.045,0.18, 0.087,0.348, 0.132,0.529\n\t\tc0,0.003, 0.001,0.005, 0.002,0.008c 0.044,0.18, 0.087,0.35, 0.131,0.53c 0.001,0.005, 0.002,0.008, 0.003,0.012\n\t\tc 0.015,0.061, 0.027,0.111, 0.042,0.171c0,0.001, 0.001,0.002, 0.001,0.004c 0.029,0.121, 0.058,0.237, 0.087,0.358c0,0,0,0.003,0,0.003\n\t\tc 0.015,0.061, 0.028,0.115, 0.042,0.175c0,0.002,0,0.003, 0.001,0.005c 0.029,0.12, 0.057,0.236, 0.086,0.356\n\t\tc0,0.002, 0.001,0.004, 0.002,0.006c 0.015,0.061, 0.026,0.11, 0.041,0.17c 0.001,0.004, 0.002,0.007, 0.003,0.011\n\t\tc 0.043,0.181, 0.083,0.348, 0.126,0.529c 0.001,0.004, 0.003,0.010, 0.004,0.015c 0.043,0.181, 0.083,0.35, 0.125,0.531\n\t\tc 0.001,0.003, 0.002,0.007, 0.002,0.010c 0.043,0.18, 0.083,0.353, 0.125,0.534c0,0.002, 0.001,0.004, 0.001,0.007\n\t\tc 0.042,0.182, 0.083,0.357, 0.124,0.538c0,0.001, 0.001,0.003, 0.001,0.004c 0.042,0.182, 0.083,0.358, 0.124,0.54\n\t\tc0,0.001, 0.001,0.003, 0.001,0.005c 0.738,3.241, 1.41,6.504, 2.016,9.793l-10.659,1.962c 1.417,8.075, 2.425,16.289, 3.013,24.62\n\t\tl 8.616-0.636l0,35.555 l-8.616-0.637c-0.588,8.331-1.596,16.546-3.013,24.62l 10.659,1.962c-0.606,3.289-1.278,6.553-2.016,9.794\n\t\tc0,0.001-0.001,0.003-0.001,0.005c-0.041,0.182-0.082,0.357-0.124,0.539c0,0.002-0.001,0.004-0.001,0.005\n\t\tc-0.041,0.181-0.082,0.356-0.124,0.538c0,0.002-0.001,0.004-0.001,0.006c-0.042,0.182-0.083,0.354-0.125,0.535\n\t\tc0,0.002-0.001,0.006-0.002,0.010c-0.042,0.182-0.082,0.35-0.125,0.531c-0.001,0.004-0.002,0.010-0.004,0.014\n\t\tc-0.043,0.182-0.083,0.35-0.126,0.529c-0.001,0.004-0.001,0.007-0.003,0.012c-0.015,0.060-0.026,0.109-0.041,0.17\n\t\tc-0.001,0.002-0.001,0.004-0.002,0.006c-0.029,0.12-0.057,0.236-0.086,0.356c-0.001,0.003-0.001,0.003-0.001,0.005\n\t\tc-0.015,0.061-0.028,0.115-0.042,0.176c0,0,0,0.003,0,0.004c-0.029,0.12-0.058,0.236-0.087,0.357c0,0.002-0.001,0.002-0.001,0.004\n\t\tc-0.015,0.061-0.027,0.11-0.042,0.171c-0.001,0.004-0.002,0.007-0.003,0.012c-0.044,0.181-0.086,0.351-0.131,0.53\n\t\tc0,0.003-0.001,0.006-0.002,0.008c-0.045,0.182-0.087,0.35-0.132,0.529c-0.001,0.005-0.002,0.010-0.003,0.015\n\t\tc-0.045,0.181-0.089,0.352-0.134,0.531c0,0.001,0,0.001,0,0.002c-0.046,0.181-0.091,0.356-0.137,0.536\n\t\tc0,0.002-0.001,0.002-0.001,0.004c-1.635,6.389-3.526,12.674-5.663,18.848l-9.865-3.414c-2.702,8.21-5.825,16.229-9.362,24.021\n\t\tl 9.402,4.451c-3.113,6.576-6.511,12.979-10.189,19.212c-0.001,0.001-0.001,0.002-0.002,0.003c-0.092,0.156-0.181,0.309-0.273,0.463\n\t\tc-0.001,0.002-0.003,0.005-0.004,0.007c-0.031,0.052-0.058,0.097-0.088,0.148c-0.001,0.001-0.002,0.004-0.003,0.005\n\t\tc-0.088,0.149-0.181,0.305-0.27,0.454c-0.004,0.007-0.009,0.015-0.013,0.021c-0.027,0.047-0.055,0.094-0.083,0.139\n\t\tc-0.002,0.004-0.003,0.006-0.005,0.010c-0.032,0.051-0.061,0.101-0.092,0.152c-0.027,0.045-0.059,0.099-0.086,0.145\n\t\tc-0.005,0.009-0.011,0.018-0.017,0.026c-0.022,0.040-0.048,0.081-0.072,0.12c-0.006,0.010-0.013,0.021-0.019,0.031\n\t\tc-0.027,0.045-0.056,0.094-0.084,0.139c0,0.002-0.001,0.004-0.001,0.005c-0.028,0.046-0.060,0.099-0.087,0.144\n\t\tc-0.007,0.012-0.015,0.024-0.022,0.036c-0.023,0.040-0.041,0.068-0.064,0.106c-0.009,0.016-0.019,0.031-0.028,0.045\n\t\tc-0.020,0.033-0.040,0.066-0.059,0.099c-0.010,0.016-0.019,0.032-0.029,0.048c-0.027,0.045-0.054,0.088-0.082,0.133\n\t\tc-0.008,0.014-0.017,0.029-0.026,0.043c-0.019,0.032-0.038,0.062-0.058,0.096c-0.013,0.021-0.025,0.041-0.038,0.062\n\t\tc-0.016,0.025-0.030,0.049-0.046,0.075c-0.013,0.022-0.026,0.044-0.040,0.065c-0.015,0.025-0.031,0.051-0.046,0.076\n\t\tc-0.022,0.035-0.044,0.071-0.064,0.107c-0.016,0.025-0.034,0.055-0.050,0.080c-0.015,0.023-0.030,0.048-0.044,0.072\n\t\tc-0.012,0.020-0.026,0.043-0.038,0.062c-0.016,0.025-0.033,0.053-0.048,0.078c-0.012,0.020-0.022,0.036-0.034,0.055\n\t\tc-0.017,0.027-0.034,0.055-0.050,0.084c-0.003,0.006-0.004,0.006-0.008,0.013c-0.040,0.065-0.080,0.128-0.12,0.193\n\t\tc-0.008,0.013-0.018,0.030-0.026,0.043c-0.019,0.030-0.037,0.061-0.056,0.091c-0.007,0.014-0.015,0.024-0.022,0.037\n\t\tc-0.092,0.15-0.185,0.299-0.276,0.448c-0.004,0.007-0.007,0.012-0.011,0.019c-0.022,0.036-0.045,0.073-0.068,0.109l-0.003,0.006\n\t\tc-1.601,2.584-3.249,5.137-4.942,7.654l-8.082-5.438c-5.268,8.214-11.026,16.084-17.227,23.573l 6.658,5.61\n\t\tc-1.057,1.255-2.127,2.5-3.209,3.731l-0.002,0.003c-0.121,0.138-0.242,0.275-0.362,0.412c-0.005,0.006-0.009,0.010-0.014,0.016\n\t\tc-0.028,0.031-0.056,0.062-0.083,0.095c-0.005,0.005-0.007,0.008-0.012,0.013c-0.089,0.102-0.18,0.203-0.269,0.305l-0.003,0.004\n\t\tc-0.028,0.031-0.056,0.062-0.084,0.094c-0.005,0.006-0.013,0.016-0.018,0.021c-0.028,0.031-0.055,0.062-0.083,0.093l-0.003,0.004\n\t\tc-0.061,0.068-0.123,0.138-0.184,0.206l0,0 c-0.025,0.029-0.050,0.057-0.074,0.084c-0.010,0.012-0.021,0.023-0.031,0.035\n\t\tc-0.025,0.027-0.049,0.055-0.073,0.082c-0.010,0.012-0.017,0.020-0.027,0.031c-0.079,0.088-0.158,0.176-0.236,0.264\n\t\tc-0.010,0.012-0.025,0.027-0.036,0.039c-0.022,0.024-0.045,0.050-0.067,0.074c-0.010,0.012-0.026,0.029-0.037,0.041\n\t\tc-0.022,0.025-0.045,0.051-0.068,0.076c-0.010,0.010-0.031,0.033-0.041,0.045c-0.035,0.039-0.069,0.076-0.104,0.115\n\t\tc-0.020,0.021-0.036,0.039-0.056,0.062c-0.019,0.021-0.038,0.041-0.056,0.062c-0.015,0.017-0.038,0.042-0.052,0.059\n\t\tc-0.019,0.021-0.037,0.040-0.055,0.062c-0.015,0.016-0.041,0.043-0.056,0.061c-0.018,0.020-0.035,0.039-0.053,0.059\n\t\tc-0.035,0.039-0.066,0.072-0.101,0.111c-0.011,0.012-0.021,0.023-0.032,0.035c-0.026,0.029-0.051,0.057-0.076,0.084\n\t\tc-0.016,0.018-0.031,0.035-0.047,0.052c-0.021,0.022-0.045,0.050-0.066,0.072c-0.014,0.017-0.029,0.032-0.044,0.049\n\t\tc-0.025,0.028-0.053,0.058-0.078,0.087c-0.011,0.011-0.020,0.021-0.031,0.033c-0.040,0.044-0.068,0.074-0.109,0.119\n\t\tc-0.009,0.010-0.018,0.020-0.027,0.031c-0.030,0.032-0.053,0.058-0.083,0.090c-0.013,0.014-0.023,0.027-0.036,0.041\n\t\tc-0.030,0.033-0.052,0.057-0.082,0.090c-0.010,0.010-0.020,0.021-0.029,0.031c-0.035,0.039-0.077,0.084-0.112,0.123l0,0 \n\t\tc-0.036,0.039-0.077,0.084-0.112,0.123c-0.009,0.010-0.018,0.020-0.026,0.027c-0.030,0.034-0.058,0.064-0.088,0.098\n\t\tc-0.009,0.010-0.019,0.021-0.027,0.030c-0.030,0.033-0.067,0.073-0.098,0.106c-0.005,0.006-0.010,0.012-0.016,0.018\n\t\tc-0.040,0.044-0.075,0.082-0.116,0.126c-0.003,0.004-0.007,0.009-0.011,0.013c-0.030,0.032-0.072,0.078-0.103,0.111\n\t\tc-0.008,0.008-0.016,0.017-0.023,0.025c-0.031,0.033-0.067,0.072-0.097,0.105c-0.006,0.006-0.012,0.012-0.018,0.019\n\t\tc-0.082,0.089-0.154,0.167-0.236,0.255c-0.002,0.003-0.005,0.006-0.007,0.009c-0.041,0.044-0.071,0.077-0.112,0.121\n\t\tc-0.003,0.003-0.007,0.007-0.010,0.011c-0.123,0.132-0.236,0.255-0.358,0.387c-0.003,0.003-0.006,0.006-0.009,0.010\n\t\tc-0.041,0.043-0.074,0.079-0.115,0.123c-0.001,0.001-0.003,0.003-0.004,0.004c-4.284,4.598-8.75,9.019-13.38,13.268\n\t\tC 124.42,489.682, 179.601,512, 240,512c 60.398,0, 115.58-22.318, 157.766-59.148C 393.136,448.603, 388.669,444.182, 384.385,439.584zM 100.911,392.461l-8.524-5.736c 5.686-8.449, 10.772-17.387, 15.118-26.567l 8.676,4.107c 0.76-1.682, 1.502-3.374, 2.223-5.078\n\t\tc 2.412-5.703, 4.564-11.484, 6.484-17.328l-9.041-3.129c 3.321-9.596, 5.938-19.529, 7.778-29.524l 9.028,1.662\n\t\tc 1.319-7.555, 2.243-15.195, 2.782-22.904l-8.995-0.664c 0.374-5.055, 0.549-10.188, 0.548-15.299c 0.001-5.11-0.175-10.244-0.548-15.299\n\t\tl 8.995-0.664c-0.539-7.709-1.462-15.35-2.782-22.904l-9.028,1.662c-1.84-9.996-4.457-19.929-7.778-29.525l 9.041-3.129\n\t\tc-1.919-5.844-4.072-11.625-6.484-17.328c-0.721-1.705-1.463-3.397-2.224-5.079l-8.676,4.108\n\t\tc-4.346-9.18-9.433-18.119-15.118-26.567l 8.524-5.736c-4.926-7.712-10.33-15.117-16.193-22.195l-8.644,7.283\n\t\tc-5.903-7.006-12.331-13.66-19.127-19.824C 21.434,158.649,0,212.817,0,272s 21.434,113.351, 56.947,155.196\n\t\tc 6.797-6.164, 13.224-12.817, 19.127-19.824l 8.644,7.283C 90.581,407.576, 95.985,400.172, 100.911,392.461zM 423.053,116.804c-6.797,6.164-13.224,12.818-19.127,19.824l-8.644-7.284c-5.863,7.079-11.267,14.484-16.192,22.196\n\t\tl 8.523,5.736c-5.686,8.448-10.771,17.387-15.117,26.567l-8.676-4.108c-0.761,1.682-1.503,3.375-2.224,5.079\n\t\tc-2.412,5.703-4.564,11.484-6.484,17.328l 9.041,3.129c-3.321,9.596-5.938,19.529-7.778,29.525l-9.028-1.662\n\t\tc-1.319,7.554-2.243,15.194-2.782,22.903l 8.996,0.665c-0.374,5.055-0.55,10.188-0.549,15.299\n\t\tc-0.001,5.11, 0.175,10.244, 0.549,15.299l-8.996,0.664c 0.539,7.71, 1.463,15.35, 2.782,22.904l 9.028-1.662\n\t\tc 1.84,9.995, 4.457,19.929, 7.778,29.524l-9.041,3.129c 1.92,5.844, 4.072,11.625, 6.484,17.328c 0.721,1.704, 1.463,3.396, 2.224,5.078\n\t\tl 8.676-4.107c 4.346,9.181, 9.432,18.118, 15.117,26.567l-8.523,5.735c 4.926,7.712, 10.329,15.117, 16.191,22.195l 8.645-7.283\n\t\tc 5.903,7.007, 12.33,13.66, 19.127,19.824C 458.566,385.351, 480,331.183, 480,272S 458.566,158.649, 423.053,116.804z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"football, rugby, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 509.052,79.515c-4.199-38.088-38.479-72.367-76.566-76.566c-103.448-11.402-237.574,7.875-329.617,99.919\n\tC 10.824,194.91-8.452,329.039, 2.948,432.484c 4.199,38.088, 38.479,72.368, 76.566,76.566c 103.445,11.401, 237.573-7.877, 329.616-99.918\n\tC 501.175,317.089, 520.454,182.962, 509.052,79.515z M 162.565,290.565c 7.42-7.422, 19.45-7.422, 26.87,0l 32,32\n\tc 7.42,7.42, 7.42,19.449,0,26.869C 217.725,353.146, 212.862,355, 208,355s-9.725-1.854-13.435-5.565l-32-32\n\tC 155.145,310.015, 155.145,297.985, 162.565,290.565z M 170.898,478.433c-29.015-14.741-55.835-34.136-79.515-57.815\n\tc-23.707-23.706-43.119-50.561-57.867-79.613c 1.802-21.906, 5.369-45.418, 11.594-69.638c 2.121-8.25, 4.489-16.306, 7.085-24.178\n\tc 9.431,52.555, 34.577,100.935, 73.13,139.487c 38.523,38.523, 86.859,63.66, 139.368,73.107\n\tC 231.16,470.827, 198.56,476.124, 170.898,478.433z M 285.435,285.435C 281.725,289.146, 276.862,291, 272,291s-9.725-1.854-13.435-5.565\n\tl-32-32c-7.42-7.42-7.42-19.45,0-26.87s 19.45-7.42, 26.87,0l 32,32C 292.855,265.985, 292.855,278.015, 285.435,285.435z\n\t M 349.435,221.435c-3.71,3.71-8.572,5.565-13.435,5.565s-9.725-1.855-13.435-5.565l-32-32c-7.421-7.42-7.421-19.45,0-26.87\n\tc 7.42-7.42, 19.449-7.42, 26.869,0l 32,32C 356.855,201.985, 356.855,214.015, 349.435,221.435z M 466.891,240.634\n\tc-2.12,8.25-4.488,16.306-7.085,24.178c-9.432-52.555-34.577-100.935-73.13-139.487c-38.523-38.523-86.858-63.66-139.367-73.107\n\tc 33.533-11.044, 66.132-16.341, 93.793-18.649c 29.015,14.742, 55.835,34.136, 79.515,57.815c 23.707,23.707, 43.119,50.562, 57.867,79.615\n\tC 476.683,192.903, 473.116,216.415, 466.891,240.634z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"soccer, football, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,432\n\tc-13.729,0-27.215-1.573-40.262-4.611l-30.864-59.863l 34.005-46.804l 74.242,0 l 34.005,46.804l-30.864,59.863\n\tC 283.215,430.427, 269.729,432, 256,432z M 187.794,93.659L 248,123.972l0,57.84 l-60.102,43.666l-54.989-17.867l-10.212-66.544\n\tc 2.821-3.262, 5.771-6.437, 8.852-9.518C 147.955,115.144, 167.031,102.384, 187.794,93.659z M 380.451,131.549\n\tc 3.080,3.080, 6.030,6.255, 8.852,9.517l-10.212,66.545l-54.988,17.867L 264,181.812l0-57.84 l 60.206-30.313\n\tC 344.97,102.384, 364.046,115.144, 380.451,131.549z M 127.948,222.823l 55.029,17.88l 22.948,70.626l-33.99,46.783l-66.501-10.86\n\tc-14.084-23.145-22.59-49.246-24.828-76.63L 127.948,222.823z M 406.565,347.252l-66.501,10.86l-33.99-46.783l 22.948-70.626\n\tl 55.029-17.88l 47.342,47.799C 429.155,298.006, 420.649,324.108, 406.565,347.252z M 425.705,86.294\n\tc 13.677,13.676, 25.525,28.749, 35.439,45.042l-58.491,0.755c-19.854-23.475-45.237-42.115-74.146-53.914l-17.341-55.811\n\tc 13.032,3.067, 25.805,7.224, 38.247,12.486C 377.991,46.941, 403.659,64.248, 425.705,86.294z M 86.294,86.294\n\tc 22.046-22.046, 47.714-39.354, 76.292-51.44c 12.442-5.263, 25.215-9.419, 38.247-12.486l-17.34,55.811\n\tc-28.908,11.8-54.292,30.439-74.146,53.914l-58.491-0.756C 60.77,115.043, 72.618,99.971, 86.294,86.294z M 16,256\n\tc0-6.609, 0.278-13.174, 0.804-19.695l 47.709,33.73c 2.301,31.842, 12.37,61.525, 28.316,87.178l-18.768,55.318\n\tc-16.298-18.896-29.455-40.058-39.208-63.117C 22.343,319.836, 16,288.407, 16,256z M 163.304,477.439l 46.841-34.965\n\tC 224.84,446.076, 240.194,448, 256,448s 31.159-1.924, 45.854-5.525l 46.842,34.965C 319.327,489.75, 288.146,496, 256,496\n\tS 192.673,489.75, 163.304,477.439z M 477.146,349.414c-9.754,23.059-22.91,44.221-39.208,63.117l-18.768-55.318\n\tc 15.946-25.653, 26.016-55.337, 28.316-87.178l 47.708-33.729C 495.722,242.826, 496,249.391, 496,256\n\tC 496,288.407, 489.656,319.836, 477.146,349.414z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 256,64L 32,0c0,0-2.25,25.849,0,64l 224,70.045L 480,64C 482.249,25.849, 480,0, 480,0zM 36.095,97.553C 48.088,222.901, 92.84,433.67, 256,512c 163.16-78.33, 207.912-289.099, 219.905-414.447L 256,180.232\n\t\tL 36.095,97.553z M 244.739,210.185l 4.827,1.815L 87.224,212 c-0.64-2.676-1.263-5.344-1.867-8l 142.932,0 L 244.739,210.185z M 100.62,156\n\t\tl 21.278,8L 77.32,164 c-0.471-2.688-0.927-5.356-1.365-8L 100.62,156 z M 143.176,172l 21.278,8L 80.283,180 c-0.525-2.686-1.028-5.35-1.519-8L 143.176,172 z\n\t\t M 185.732,188l 21.278,8L 83.58,196 c-0.581-2.681-1.143-5.347-1.688-8L 185.732,188 z M 437.622,146.134\n\t\tc-7.63,49.57-21.006,108.417-44.45,163.801C 360.239,387.732, 314.144,443.507, 256,475.97L 256,468 l-13.27,0 \n\t\tc-3.982-2.552-7.905-5.216-11.766-8L 256,460 l0-8 l-35.568,0 c-3.226-2.58-6.405-5.249-9.54-8L 256,444 l0-8 l-53.835,0 c-2.721-2.6-5.406-5.266-8.053-8\n\t\tL 256,428 l0-8 l-69.375,0 c-2.346-2.606-4.652-5.282-6.936-8L 256,412 l0-8 l-82.831,0 c-2.061-2.616-4.089-5.289-6.097-8L 256,396 l0-8 l-94.695,0 \n\t\tc-1.828-2.62-3.624-5.297-5.405-8L 256,380 l0-8 L 150.771,372 c-1.642-2.634-3.27-5.293-4.869-8L 256,364 l0-8 L 141.311,356 \n\t\tc-1.477-2.633-2.932-5.302-4.371-8L 256,348 l0-8 L 132.778,340 c-1.338-2.639-2.662-5.301-3.965-8L 256,332 l0-8 L 125.039,324 \n\t\tc-1.213-2.638-2.406-5.309-3.587-8L 256,316 l0-8 L 118.022,308 c-1.113-2.66-2.208-5.326-3.275-8L 256,300 l0-8 L 111.631,292 \n\t\tc-1.015-2.663-2.014-5.329-2.985-8L 256,284 l0-8 L 105.807,276 c-0.926-2.665-1.838-5.332-2.723-8L 256,268 l0-8 L 100.496,260 \n\t\tc-0.845-2.668-1.677-5.335-2.483-8L 256,252 l0-8 L 95.652,244 c-0.771-2.67-1.528-5.338-2.262-8L 256,236 l0-8 L 91.239,228 c-0.703-2.673-1.391-5.341-2.058-8\n\t\tL 256,220 l0-5.581 l 11.262-4.234L 437.622,146.134z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 256,64L 32,0c0,0-2.25,25.849,0,64l 224,70.045L 480,64C 482.249,25.849, 480,0, 480,0zM 36.095,97.553C 48.088,222.901, 92.84,433.67, 256,512c 163.16-78.33, 207.912-289.099, 219.905-414.447L 256,180.232\n\t\tL 36.095,97.553z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 177.779,146.007L 177.779,256 c0,33.313, 13.555,65.756, 40.286,96.43c 13.125,15.061, 26.722,26.534, 37.937,34.635\n\t\t\tc 11.215-8.101, 24.811-19.574, 37.936-34.635c 26.732-30.674, 40.287-63.117, 40.287-96.43L 334.225,146.007 L 256,119.933L 177.779,146.007zM 256,0L 64,64c0,0,0,96,0,192c0,160.001, 160,256, 192,256s 192-95.999, 192-256c0-96,0-192,0-192L 256,0z M 384,256\n\t\t\tc0,25.2-5.523,50.083-16.419,73.958c-9.677,21.207-23.497,41.633-41.079,60.711c-26.953,29.245-55.599,47.326-70.502,54.681\n\t\t\tc-14.902-7.354-43.548-25.436-70.501-54.681c-17.582-19.078-31.403-39.504-41.080-60.711C 133.525,306.083, 128,281.2, 128,256\n\t\t\tL 128,110.129 l 128-42.667l 128,42.667L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 131.851,141.857c 2.709,85.392, 23.232,156.27, 61.189,211.080c 17.343,25.043, 38.449,46.778, 62.96,64.873\n\t\tc 24.511-18.095, 45.618-39.83, 62.959-64.873c 37.957-54.811, 58.48-125.688, 61.189-211.080c-40.225-9.645-79.752-25.45-124.149-49.495\n\t\tC 211.596,116.411, 172.078,132.212, 131.851,141.857zM 458.873,73.091C 387.436,68.123, 329.919,45.132, 256.002,0C 182.080,45.132, 124.563,68.123, 53.127,73.091\n\t\tC 33.451,384.432, 202.896,483.16, 256.002,512C 309.105,483.16, 478.55,384.432, 458.873,73.091z M 358.422,380.265\n\t\tc-35.469,51.219-77.048,80.031-102.421,95.026c-25.374-14.995-66.952-43.807-102.422-95.026\n\t\tc-49.507-71.489-72.928-164.977-69.753-278.177c 56.394-7.775, 107.891-27.271, 172.175-64.812\n\t\tc 64.281,37.541, 115.777,57.037, 172.173,64.812C 431.35,215.288, 407.929,308.775, 358.422,380.265z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gun-ban, weapon, fire, pistol, firearm\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 199,224 L 36,224 L 28,160 L 0,160 L 0,96 L 295,96 ZM 512,192l0-64 c0-17.6-14.4-32-32-32l-74,0 l 72-96l-60,0 L 82,448l 60,0 l 96.033-128.044c 0.653,0.027, 1.309,0.044, 1.968,0.044l 91.429,0 \n\t\tl 29.46,103.111l-2.262,2.262C 346.183,437.817, 350.4,448, 368,448l 12.5,0 L 512,448 l0-64 l-51.203-128.009C 443.849,213.601, 496.001,192, 512,192\n\t\tz M 262,288l 24-32l 27.143,0 l 9.145,32L 262,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gun, weapon, fire, pistol, firearm\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,64 l 28,0 l 8,64l 156,0 l0,48 c0,26.4, 21.6,48, 48,48l 91.429,0 l 29.46,103.111l-2.262,2.262C 346.183,437.817, 350.4,448, 368,448l 12.5,0 \n\tL 512,448 l0-64 l-51.203-128.009C 443.849,213.601, 496.001,192, 512,192l0-64 c0-17.6-14.4-32-32-32 M 240,288c-8.673,0-16-7.327-16-16l0-48 l 32,0 \n\tl0,32 l 57.143,0 l 9.144,32L 240,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"target, goal, location, spot\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 391.765,391.765\n\tC 363.16,420.369, 327.117,438.826, 288,445.352L 288,352 l-64,0 l0,93.352 c-39.117-6.525-75.16-24.982-103.765-53.587\n\tC 91.632,363.16, 73.174,327.117, 66.649,288L 160,288 l0-64 L 66.649,224 c 6.525-39.117, 24.983-75.16, 53.587-103.765\n\tC 148.84,91.631, 184.883,73.174, 224,66.648L 224,160 l 64,0 L 288,66.648 c 39.117,6.525, 75.16,24.983, 103.765,53.587\n\tc 28.604,28.604, 47.062,64.647, 53.587,103.765L 352,224 l0,64 l 93.352,0 C 438.826,327.117, 420.369,363.16, 391.765,391.765z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"target, goal, location, spot\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224l-50.462,0 C 447.718,134.88, 377.12,64.282, 288,50.462L 288,0 l-64,0 l0,50.462 C 134.88,64.282, 64.282,134.88, 50.462,224L0,224 l0,64 \n\tl 50.462,0 C 64.282,377.12, 134.88,447.718, 224,461.538L 224,512 l 64,0 l0-50.462 C 377.12,447.718, 447.718,377.12, 461.538,288L 512,288 L 512,224 z M 396.411,224\n\tL 346.53,224 c-9.642-27.275-31.255-48.889-58.53-58.53l0-49.881 C 341.757,127.834, 384.166,170.244, 396.411,224z M 256,288\n\tc-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32C 288,273.673, 273.673,288, 256,288z M 224,115.589\n\tl0,49.881 c-27.275,9.641-48.889,31.255-58.53,58.53l-49.881,0 C 127.834,170.244, 170.244,127.834, 224,115.589z M 115.589,288l 49.881,0 \n\tc 9.641,27.275, 31.255,48.889, 58.53,58.53l0,49.881 C 170.244,384.166, 127.834,341.757, 115.589,288z M 288,396.411L 288,346.53 \n\tc 27.275-9.642, 48.889-31.255, 58.53-58.53l 49.881,0 C 384.166,341.757, 341.757,384.166, 288,396.411z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"target, goal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.844,0,0,114.838,0,256.001C0,397.162, 114.844,512, 256,512c 141.155,0, 256-114.838, 256-255.999\n\t\tC 512,114.838, 397.156,0, 256,0z M 256,455.111c-109.789,0-199.11-89.323-199.11-199.11c0-109.79, 89.322-199.112, 199.11-199.112\n\t\ts 199.11,89.322, 199.11,199.112C 455.113,365.788, 365.788,455.111, 256,455.111zM 256,113.777c-78.422,0-142.224,63.801-142.224,142.224c0,78.421, 63.801,142.224, 142.224,142.224\n\t\ts 142.223-63.803, 142.223-142.224C 398.223,177.578, 334.423,113.777, 256,113.777z M 256,341.334\n\t\tc-47.058,0-85.334-38.277-85.334-85.333c0-47.058, 38.276-85.335, 85.334-85.335c 47.056,0, 85.335,38.277, 85.335,85.335\n\t\tC 341.335,303.057, 303.056,341.334, 256,341.334zM 224,256A32,32 12600 1 1 288,256A32,32 12600 1 1 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brain, think, intelligence\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 409.229,148.523 C 452.646,192.37 435.608,279.131 300.902,247.012 C 267.18,252.108 195.051,262.45 185.942,211.934 C 173.126,220.029 108.311,174.537 160.983,105.677 C 223.19,24.351 377.523,44.979 409.229,148.523 ZM 111.44,430.812 C 87.711,403.741 93.114,341.487 96.304,319.265 L 53.648,319.265 C 42.692,319.265 33.405,313.571 29.409,304.406 C 24.022,292.050 29.236,276.662 43.356,263.245 C 67.044,240.736 77.648,217.417 77.648,204.292 L 77.642,202.88 C 77.588,194.453 77.426,168.812 84.316,138.281 C 93.156,99.105 109.925,67.497 134.156,44.334 C 164.931,14.917 207.050,0 259.343,0 C 318.367,0 398.994,13.861 447.907,79.893 C 467.85,106.816 480.214,139.928 483.662,175.652 C 486.765,207.801 482.43,241.531 471.452,270.63 C 458.384,305.271 432.801,323.771 420.817,340.092 C 400.406,367.891 384.179,415.509 383.376,511.999 L 351.375,511.999 C 352.224,405.889 370.974,354.834 394.573,322.695 C 405.947,307.201 429.703,291.189 441.329,260.371 C 450.765,235.355 454.482,206.254 451.795,178.429 C 448.858,147.997 438.466,119.976 421.739,97.394 C 406.656,77.032 386.504,61.033 361.841,49.843 C 333.413,36.945 298.928,30.405 259.343,30.405 C 235.972,30.405 215.052,33.838 197.165,40.61 C 181.792,46.429 168.229,54.894 156.852,65.769 C 137.015,84.73 123.138,111.271 115.605,144.654 C 109.448,171.939 109.594,195.086 109.642,202.692 C 109.646,203.324 109.649,203.857 109.649,204.291 C 109.649,228.325 92.918,259.153 65.985,284.745 C 64.405,286.245 63.178,287.631 62.233,288.858 L 134.456,288.858 L 129.245,315.787 C 129.213,315.957 125.76,334.303 125.438,355.492 C 124.914,389.908 132.674,407.531 136.035,411.36 C 138.673,414.366 141.402,415.483 146.104,415.483 C 182.333,415.483 194.582,416.019 208.155,428.993 C 224.268,444.395 224.317,490.332 224.183,511.999 L 192.182,511.999 C 192.289,494.863 192.295,456.964 185.46,450.429 C 178.652,443.921 172.287,445.89 146.105,445.89 C 131.873,445.89 120.21,440.817 111.44,430.812 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"accessibility, disabled\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,464c-61.856,0-112-50.145-112-112c0-43.848, 25.2-81.803, 61.903-100.19l-21.47-42.938C 36.001,235.14,0,289.361,0,352\n\t\tc0,88.366, 71.634,160, 160,160s 160-71.634, 160-160l-48,0 C 272,413.855, 221.856,464, 160,464zM 480,352L 448,384L 338.743,274.745L 224,274.745L 224,224L 352,224L 352,192L 224,192L 224,128L 160,128L 160,320L 320,320L 448,448L 512,384 \tzM 144,48A48,48 12600 1 1 240,48A48,48 12600 1 1 144,48z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"accessibility\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,96L 480,64L 256,128L 32,64L 32,96L 192,160L 192,288L 128,512L 160,512L 256,288L 352,512L 384,512L 320,288L 320,160 \tzM 208,48A48,48 12600 1 1 304,48A48,48 12600 1 1 208,48z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sun glasses, glasses\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 510.33,173.193c-31.538-3.68-77.793-5.78-96.188-5.78c-18.399,0-78.318,2.103-95.665,10.51\n\tc-17.224,8.352-34.455,20.322-62.479,20.492c-28.023-0.17-45.26-12.141-62.481-20.491c-17.346-8.406-77.266-10.51-95.662-10.51\n\tc-18.397,0-64.65,2.102-96.188,5.779c0,0-3.753,29.049,0,38.368c 16.208,9.591, 17.098,54.853, 31.176,93.845\n\tc 14.079,38.987, 79.877,38.987, 94.5,38.987c 14.624,0, 50.787,2.41, 68.427-9.761c 17.64-12.171, 32.963-71.558, 37.17-88.903\n\tc 3.576-14.755, 18.181-15.435, 22.462-15.31c0,0.043,0,0.067,0,0.067s 0.219-0.022, 0.599-0.044c 0.378,0.021, 0.596,0.044, 0.596,0.044\n\ts0-0.024,0-0.067c 4.283-0.125, 18.885,0.555, 22.463,15.31c 4.203,17.348, 19.528,76.733, 37.17,88.903\n\tc 17.639,12.171, 53.804,9.761, 68.425,9.761c 14.623,0, 80.421,0, 94.503-38.987c 14.079-38.992, 14.965-84.253, 31.177-93.845\n\tC 514.085,202.241, 510.33,173.193, 510.33,173.193z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glasses, prescription glasses\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 364.556,349.662c-16.559,0-40.228-1.143-54.553-11.025c-17.946-12.381-32.25-62.186-39.18-90.771\n\tc-1.225-5.048-4.669-7.367-8.378-8.329l-6.442-0.545l-6.526,0.564c-3.678,0.975-7.083,3.297-8.298,8.309\n\tc-6.932,28.588-21.239,78.395-39.178,90.772c-14.328,9.883-37.997,11.025-54.554,11.025c-3.699,0-7.116-0.060-10.131-0.111\n\tc-2.295-0.040-4.345-0.076-6.076-0.076c-68.958,0-91.864-23.347-98.936-42.932c-5.459-15.116-8.929-31.13-11.99-45.259\n\tc-4.019-18.546-8.175-37.724-14.898-41.701l-2.263-1.34l-0.982-2.439c-4.185-10.392-1.149-36.057-0.498-41.097l 0.776-6.010\n\tl 6.019-0.701c 30.069-3.506, 75.116-5.658, 94.174-5.658c 0.735,0, 74.489,0.472, 96.149,10.97c 2.973,1.44, 5.97,3.002, 8.869,4.512\n\tc 13.646,7.108, 27.757,14.459, 48.385,14.585c 20.533-0.127, 34.642-7.477, 48.288-14.585c 2.897-1.51, 5.895-3.071, 8.866-4.512\n\tc 21.663-10.498, 95.417-10.97, 96.152-10.97c 19.063,0, 64.113,2.152, 94.175,5.658l 6.019,0.701l 0.776,6.010\n\tc 0.651,5.039, 3.69,30.704-0.489,41.095l-0.981,2.441l-2.266,1.34c-6.724,3.979-10.879,23.156-14.898,41.703\n\tc-3.061,14.128-6.53,30.142-11.988,45.257c-7.074,19.586-29.98,42.932-98.937,42.932c-1.734,0-3.784,0.036-6.078,0.076\n\tC 371.671,349.603, 368.255,349.662, 364.556,349.662z M 413.927,195.488c-50.501,0-85.259,6.76-96.183,13.041\n\tc-12.664,7.281-15.064,14.673-15.064,25.766c0,8.89, 9.907,48.147, 17.364,63.063c 6.573,13.144, 14.895,19.464, 26.982,20.491\n\tc 4.684,0.398, 11.674,0.627, 19.176,0.627c 29.55,0, 54.92-2.995, 64.635-7.631c 12.679-6.051, 25.789-12.308, 30.033-69.774\n\tc 0.19-2.574, 0.438-5.146, 0.679-7.635c 1.175-12.159, 2.19-22.661-3.359-28.91c-4.925-5.546-15.666-8.54-31.923-8.9\n\tC 422.157,195.534, 418.006,195.488, 413.927,195.488z M 98.067,195.485c-4.079,0-8.231,0.046-12.34,0.137\n\tc-16.256,0.36-26.996,3.355-31.92,8.901c-5.551,6.251-4.535,16.754-3.359,28.916c 0.241,2.486, 0.489,5.058, 0.679,7.631\n\tc 4.244,57.468, 17.353,63.725, 30.032,69.775c 9.712,4.636, 35.080,7.631, 64.626,7.631c 7.505,0, 14.496-0.229, 19.18-0.628\n\tc 12.093-1.026, 20.415-7.346, 26.985-20.491c 5.45-10.899, 17.361-50.897, 17.36-63.066c0-11.093-2.4-18.485-15.062-25.766\n\tC 183.325,202.244, 148.566,195.485, 98.067,195.485z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glasses, 3d\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,32l0,48 l 80,144L 80,224 l 80-144L 160,32 L0,224l0,256 l 160,0 l 96-96l 96,96l 160,0 L 512,224 L 352,32z M 224,352l-64,64L 32,416 L 32,288 l 192,0 L 224,352 z M 480,416L 352,416 \n\tl-64-64l0-64 l 192,0 L 480,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glasses, 3d glasses\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,128l0,256 l 160,0 l 96-96l 96,96l 160,0 L 512,128 L0,128 z M 224,256l-64,64L 32,320 L 32,192 l 192,0 L 224,256 z M 480,320L 352,320 l-64-64l0-64 l 192,0 L 480,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.993,512 C 269.439,512 282.057,506.787 291.52,497.324 L 350.603,438.24 L 351.33,437.306 C 354.67,433.011 364.836,419.942 361.054,404.135 C 357.124,387.71 341.982,380.579 327.336,373.683 C 318.277,369.416 308.91,365.005 301.889,358.723 L 301.547,358.411 C 301.101,358.005 300.66,357.594 300.202,357.135 C 284.51,341.442 284.51,315.906 300.202,300.213 C 307.805,292.611 317.913,288.424 328.663,288.424 C 339.413,288.424 349.521,292.611 357.101,300.192 C 357.549,300.641 357.981,301.103 358.473,301.641 L 358.673,301.859 C 364.975,308.885 369.395,318.271 373.669,327.348 C 380.915,342.734 389.931,361.882 411.109,361.886 C 411.111,361.886 411.113,361.886 411.115,361.886 C 419.606,361.886 428.168,358.437 437.29,351.341 L 438.223,350.615 L 497.309,291.53 C 516.896,271.939 516.896,240.062 497.307,220.47 L 447.141,170.303 C 443.945,167.105 441.892,164.679 440.582,162.929 C 443.624,161.227 447.84,159.242 451.245,157.638 C 461.718,152.708 474.75,146.571 485.881,136.586 C 486.077,136.411 486.271,136.234 486.469,136.052 C 487.439,135.167 488.292,134.355 489.065,133.581 C 503.844,118.801 511.984,99.151 511.984,78.25 C 511.984,57.349 503.844,37.698 489.066,22.918 C 474.287,8.14 454.637,0 433.737,0 C 412.837,0 393.188,8.139 378.399,22.927 C 377.626,23.702 376.849,24.517 376.022,25.421 L 375.44,26.059 C 365.418,37.232 359.282,50.265 354.351,60.737 C 352.748,64.143 350.762,68.36 349.060,71.402 C 347.307,70.090 344.874,68.031 341.668,64.825 L 291.522,14.679 C 282.056,5.213 269.439,0 255.994,0 C 242.549,0 229.93,5.213 220.464,14.679 L 170.329,64.815 C 167.115,68.029 164.678,70.092 162.922,71.406 C 161.221,68.365 159.237,64.149 157.633,60.744 C 152.704,50.27 146.568,37.236 136.539,26.055 C 136.357,25.852 136.173,25.65 136.034,25.5 C 135.13,24.51 134.348,23.689 133.577,22.919 C 118.798,8.14 99.149,0.001 78.248,0.001 C 57.348,0.001 37.698,8.14 22.917,22.919 C -7.591,53.429 -7.591,103.072 22.906,133.571 C 23.668,134.334 24.474,135.103 25.442,135.988 C 25.637,136.169 25.836,136.35 26.058,136.55 C 37.232,146.572 50.265,152.708 60.737,157.638 C 64.143,159.241 68.359,161.227 71.401,162.929 C 70.086,164.685 68.025,167.121 64.812,170.334 L 14.68,220.47 C 5.213,229.936 0,242.555 0,256.001 C 0,269.447 5.213,282.065 14.679,291.531 L 64.811,341.665 C 68.024,344.879 70.087,347.315 71.401,349.071 C 68.359,350.773 64.142,352.758 60.737,354.361 C 50.265,359.292 37.232,365.428 26.058,375.45 L 25.49,375.968 C 24.496,376.878 23.675,377.66 22.916,378.419 C -7.591,408.927 -7.592,458.569 22.917,489.082 C 37.697,503.86 57.346,512 78.246,512 C 99.146,512 118.795,503.86 133.566,489.092 C 134.32,488.339 135.086,487.536 135.972,486.568 C 136.123,486.406 136.278,486.235 136.477,486.014 L 136.544,485.94 C 146.565,474.767 152.701,461.734 157.632,451.262 C 159.235,447.856 161.221,443.639 162.923,440.597 C 164.676,441.909 167.109,443.968 170.316,447.173 L 220.464,497.323 C 229.929,506.788 242.547,512 255.993,512 Z M 160.697,400.532 C 139.516,400.532 130.499,419.685 123.253,435.074 C 118.984,444.143 114.569,453.52 108.278,460.543 L 107.987,460.86 C 107.573,461.314 107.153,461.765 106.707,462.211 C 99.105,469.813 88.997,474 78.246,474 C 67.495,474 57.388,469.813 49.787,462.212 C 34.094,446.517 34.094,420.982 49.797,405.279 C 50.235,404.839 50.688,404.418 51.113,404.028 L 51.484,403.69 C 58.504,397.414 67.867,393.006 76.922,388.742 C 91.46,381.898 107.937,374.14 111.018,356.483 C 113.96,339.616 102.229,325.345 91.679,314.794 L 41.548,264.661 C 39.259,262.372 37.999,259.297 37.999,256.001 C 37.999,252.705 39.259,249.629 41.548,247.34 L 90.375,198.515 L 91.193,197.963 L 92.382,196.502 C 102.741,186.026 113.896,172.014 111.019,155.519 C 107.939,137.862 91.462,130.104 76.924,123.26 C 67.845,118.985 58.458,114.566 51.461,108.289 L 51.135,107.99 C 50.682,107.576 50.232,107.158 49.787,106.712 C 34.095,91.019 34.095,65.484 49.786,49.791 C 57.389,42.189 67.498,38.002 78.248,38.002 C 88.999,38.002 99.106,42.188 106.712,49.794 C 107.151,50.233 107.572,50.685 108.034,51.19 L 108.258,51.435 C 114.561,58.462 118.98,67.849 123.253,76.928 C 130.497,92.318 139.51,111.471 160.693,111.47 C 160.695,111.47 160.7,111.47 160.702,111.47 C 172.176,111.467 183.35,105.455 196.891,91.991 L 247.332,41.55 C 249.621,39.261 252.697,38 255.994,38 C 259.289,38 262.365,39.26 264.655,41.55 L 314.801,91.698 C 328.477,105.371 339.728,111.468 351.284,111.468 C 351.286,111.468 351.29,111.468 351.29,111.468 C 372.468,111.464 381.486,92.314 388.731,76.926 C 393.004,67.848 397.424,58.46 403.671,51.495 L 403.989,51.146 C 404.413,50.684 404.84,50.225 405.276,49.789 C 412.879,42.187 422.987,38 433.737,38 C 444.488,38 454.595,42.187 462.196,49.787 C 469.797,57.389 473.984,67.497 473.984,78.248 C 473.984,88.999 469.797,99.106 462.186,106.718 C 461.755,107.15 461.31,107.565 460.862,107.974 L 460.55,108.26 C 453.524,114.563 444.137,118.983 435.059,123.257 C 420.524,130.101 404.049,137.858 400.966,155.511 C 398.024,172.367 409.732,186.624 420.267,197.166 L 470.436,247.337 C 475.13,252.032 475.13,259.966 470.438,264.659 L 413.318,321.779 C 411.619,318.741 409.644,314.546 408.047,311.155 C 403.116,300.685 396.979,287.654 386.905,276.422 L 386.443,275.917 C 385.572,274.964 384.776,274.128 383.991,273.341 C 369.213,258.562 349.563,250.423 328.662,250.423 C 307.763,250.423 288.112,258.562 273.332,273.341 C 242.824,303.851 242.824,353.493 273.303,383.972 C 274.084,384.757 274.915,385.55 275.917,386.466 L 276.474,386.972 C 287.646,396.994 300.676,403.129 311.147,408.060 C 314.538,409.657 318.733,411.633 321.772,413.331 L 264.651,470.452 C 262.363,472.74 259.289,474 255.993,474 C 252.696,474 249.62,472.739 247.332,470.452 L 197.183,420.302 C 183.507,406.629 172.254,400.532 160.697,400.532 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 502.156,232.133l-54.194-54.194c-41.73-41.762, 11.691-38.424, 42.707-66.245c 0.155-0.139, 0.309-0.28, 0.463-0.422\n\tc 0.719-0.657, 1.43-1.325, 2.123-2.018c 24.993-24.994, 24.993-65.515,0-90.51c-24.994-24.993-65.516-24.993-90.51,0\n\tc-0.693,0.693-1.361,1.404-2.019,2.123c-0.142,0.154-0.282,0.308-0.422,0.462c-27.826,31.022-24.48,84.461-66.271,42.682\n\tL 279.867,9.845c-13.126-13.127-34.605-13.127-47.733,0l-54.141,54.141c-0.005,0.005-0.010,0.009-0.015,0.014\n\tc-41.805,41.804-38.454-11.644-66.283-42.669c-0.14-0.155-0.281-0.309-0.422-0.463c-0.658-0.719-1.326-1.43-2.019-2.123\n\tc-24.993-24.993-65.515-24.993-90.51,0c-24.993,24.994-24.993,65.516,0,90.51c 0.692,0.693, 1.403,1.361, 2.123,2.019\n\tc 0.153,0.142, 0.308,0.282, 0.462,0.422c 31.026,27.829, 84.473,24.479, 42.67,66.283c-0.005,0.005-0.008,0.010-0.014,0.015l-54.14,54.14\n\tc-13.127,13.127-13.127,34.607,0,47.734l 54.151,54.151c 0.001,0.001, 0.001,0.002, 0.002,0.003\n\tc 41.804,41.805-11.644,38.454-42.669,66.283c-0.155,0.14-0.309,0.281-0.463,0.422c-0.719,0.658-1.43,1.326-2.123,2.019\n\tc-24.993,24.993-24.993,65.515,0,90.51c 24.994,24.993, 65.516,24.993, 90.51,0c 0.693-0.692, 1.361-1.403, 2.019-2.123\n\tc 0.142-0.153, 0.282-0.308, 0.422-0.462c 27.826-31.023, 24.48-84.461, 66.27-42.683l 54.169,54.169c 13.127,13.125, 34.607,13.125, 47.733,0\n\tl 62.917-62.917c 25.066-32.225-22.422-31.452-50.955-57.045c-0.154-0.14-0.309-0.28-0.462-0.422c-0.72-0.657-1.431-1.325-2.123-2.019\n\tc-24.993-24.994-24.993-65.516,0-90.51c 24.995-24.993, 65.517-24.993, 90.51,0c 0.692,0.693, 1.36,1.404, 2.019,2.123\n\tc 0.141,0.154, 0.282,0.308, 0.422,0.463c 25.593,28.532, 24.819,76.021, 57.045,50.954l 62.917-62.917\n\tC 515.282,266.74, 515.282,245.26, 502.156,232.133z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 465.36,512L 386.89,512 c-24.708,0-35.678-9.903-40.529-18.211c-7.357-12.601-5.437-29.006, 5.71-48.76\n\t\tc 12.133-21.498, 16.191-38.792, 11.136-47.45c-4.733-8.106-19.91-12.57-42.736-12.57c-22.825,0-38.001,4.464-42.734,12.57\n\t\tc-5.056,8.657-0.996,25.952, 11.136,47.448c 11.147,19.755, 13.069,36.16, 5.711,48.761c-4.851,8.308-15.82,18.211-40.529,18.211\n\t\tl-79.27,0 c-25.717,0-46.639-20.979-46.639-46.768l0-69.138 c0-2.794, 0.089-5.459, 0.175-8.037c 0.021-0.63, 0.044-1.316, 0.065-2.030\n\t\tc-1.582,0.78-3.443,1.763-5.62,3.002c-14.011,7.973-43.795,17.477-64.926,17.477c-17.396,0-31.892-6.58-41.922-19.028\n\t\tC 5.207,374.183,0,355.185,0,329.396c0-25.791, 5.207-44.791, 15.917-58.085c 10.029-12.448, 24.526-19.028, 41.923-19.028\n\t\tc 21.131,0, 50.915,9.504, 64.923,17.478c 2.176,1.238, 4.038,2.221, 5.619,3c-0.021-0.715-0.044-1.402-0.065-2.034\n\t\tc-0.086-2.575-0.175-5.238-0.175-8.029l-0.4-87.683c0-25.86, 20.922-46.84, 46.639-46.84l 79.388,0 c 2.34-0.004, 8.342-0.014, 12.246-0.588\n\t\tc-0.673-2.288-2.156-6.067-5.414-11.84C 241.942,82.685, 238.275,48, 249.7,28.434C 260.717,9.566, 284.392,0, 320.067,0\n\t\tc 35.679,0, 59.355,9.567, 70.373,28.436c 11.425,19.566, 7.757,54.251-10.901,87.313c-3.258,5.773-4.741,9.552-5.415,11.84\n\t\tc 3.905,0.574, 9.91,0.583, 12.27,0.587l 78.566,0 c 25.717,0, 46.64,20.979, 46.64,46.766L 512,465.21C 512,491.021, 491.077,512, 465.36,512z\n\t\t M 374.026,477.626c 0.932,0.731, 4.714,2.374, 12.863,2.374l 78.471,0 c 8.072,0, 14.64-6.625, 14.64-14.768l-0.4-290.269\n\t\tc0-8.164-6.567-14.788-14.64-14.788l-78.591,0 c-12.822-0.020-32.162-0.050-41.104-15.392c-8.587-14.731-0.457-32.602, 6.405-44.762\n\t\tc 12.133-21.498, 16.191-46.793, 11.136-55.45C 358.072,36.464, 342.895,32, 320.067,32c-22.824,0-38.001,4.464-42.734,12.57\n\t\tc-5.055,8.657-0.996,33.953, 11.137,55.452c 6.861,12.16, 14.991,30.029, 6.406,44.76c-8.942,15.341-28.283,15.373-41.081,15.394\n\t\tL 174.38,160.176 c-8.072,0-14.639,6.625-14.639,14.767l 0.4,87.683c0,2.33, 0.080,4.721, 0.157,7.034c 0.375,11.206, 0.762,22.795-7.325,31.159\n\t\tc-3.052,3.155-8.478,6.918-16.999,6.919c-0.001,0-0.004,0-0.005,0c-7.727,0-16.681-3.135-29.034-10.164\n\t\tc-14.839-8.446-38.229-13.289-49.096-13.289c-7.067,0-25.84,0-25.84,45.112c0,45.108, 18.772,45.108, 25.839,45.108\n\t\tc 10.866,0, 34.258-4.844, 49.098-13.289c 12.353-7.029, 21.308-10.165, 29.037-10.165c 8.523,0, 13.951,3.763, 17.003,6.919\n\t\tc 8.088,8.362, 7.7,19.951, 7.325,31.157c-0.078,2.315-0.158,4.708-0.158,6.967l0,69.138 c0,8.143, 6.567,14.768, 14.639,14.768l 79.27,0 \n\t\tc 8.148,0, 11.932-1.643, 12.863-2.373c 0.138-0.887, 0.433-5.625-5.914-16.871c-18.658-33.061-22.326-59.745-10.901-79.312\n\t\tc 11.017-18.868, 34.693-28.435, 70.369-28.435c 35.678,0, 59.354,9.567, 70.371,28.436c 11.425,19.565, 7.757,46.25-10.901,79.312\n\t\tC 373.593,472.003, 373.889,476.741, 374.026,477.626z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 479.165,128.125L 394.94,128.125 c-21.715-0.033-43.348-1.503-22.252-38.729c 21.138-37.3, 36.059-89.521-48.802-89.521 c-84.857,0-69.935,52.221-48.797,89.521c 21.096,37.226-0.538,38.694-22.255,38.729l-91.938,0 c-18.060,0-32.835,14.778-32.835,32.834 l0,102.189 c0,21.756, 5.904,43.513-31.393,22.378C 59.372,264.389,0,249.469,0,334.328c0,84.854, 59.37,69.935, 96.67,48.798 c 37.297-21.137, 31.393,0.62, 31.393,22.38l0,73.783 c0,18.062, 14.777,32.835, 32.835,32.835l 91.811,0 c 21.76,0, 43.517-8.706, 22.382-46.004 c-21.137-37.295-36.061-89.519, 48.797-89.519c 84.858,0, 69.938,52.221, 48.8,89.519c-21.135,37.299, 0.623,46.005, 22.381,46.005l 84.096,0 c 18.062,0, 32.837-14.777, 32.837-32.835L 512.002,160.958 C 512.002,142.901, 497.227,128.125, 479.165,128.125z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"package, box, book, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 32,64l0,352 l 96,96l 320-64L 448,96 L 352,0z M 344.111,26.053l 75.604,75.604l-263.432,52.687L 80.68,78.739L 344.111,26.053z\n\t M 160,178.075l 4-0.8l0,303.049 l-4,0.801L 160,178.075 z M 172,175.675l 8-1.6l0,303.050 l-8,1.6L 172,175.675 z M 188,172.475l 8-1.6l0,303.049 l-8,1.6\n\tL 188,172.475 z M 204,169.275l 8-1.6l0,303.049 l-8,1.6L 204,169.275 z M 220,166.075l 8-1.6l0,303.049 l-8,1.601L 220,166.075 z M 236,162.875l 8-1.6l0,303.050 \n\tl-8,1.6L 236,162.875 z M 252,159.675l 8-1.6l0,303.050 l-8,1.6L 252,159.675 z M 268,156.476l 8-1.6l0,303.049 l-8,1.6L 268,156.476 z M 284,153.275l 8-1.6\n\tl0,303.049 l-8,1.601L 284,153.275 z M 300,150.075l 8-1.6l0,303.050 l-8,1.6L 300,150.075 z M 316,146.875l 8-1.6l0,303.050 l-8,1.6L 316,146.875 z M 332,143.675\n\tl 8-1.6l0,303.050 l-8,1.6L 332,143.675 z M 348,140.476l 8-1.6l0,303.049 l-8,1.601L 348,140.476 z M 364,137.275l 8-1.6l0,303.049 l-8,1.601L 364,137.275 z\n\t M 380,134.075l 8-1.6l0,303.050 l-8,1.6L 380,134.075 z M 396,130.875l 8-1.6l0,303.050 l-8,1.6L 396,130.875 z M 412,127.675l 4-0.8l0,303.049 l-4,0.801\n\tL 412,127.675 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cylinder, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448.18,80l-0.184,0.114C 447.997,80.076, 448,80.038, 448,80c0-44.183-85.961-80-192-80C 149.961,0, 64,35.817, 64,80\n\tc0,0.039, 0.003,0.076, 0.003,0.115L 63.82,80l0,348 l 0.456-0.285C 64.096,429.134, 64,430.562, 64,432c0,44.183, 85.961,80, 192,80\n\tc 106.039,0, 192-35.817, 192-80c0-1.438-0.096-2.865-0.275-4.284L 448.18,428L 448.18,80 z M 416,432c0,0.658-0.446,2.035-1.806,4L 97.807,436 \n\tc-1.36-1.965-1.807-3.342-1.807-4s 0.446-2.035, 1.807-4l 316.388,0 C 415.554,429.965, 416,431.342, 416,432z M 159.058,468\n\tc-8.613-2.354-16.697-5.029-24.126-8l 242.136,0 c-7.429,2.971-15.514,5.646-24.126,8L 159.058,468 z M 313.593,476\n\tc-18.341,2.613-37.831,4-57.593,4s-39.252-1.387-57.593-4L 313.593,476 z M 117.876,452c-5.219-2.896-9.191-5.618-12.176-8L 406.3,444 \n\tc-2.985,2.382-6.957,5.104-12.177,8L 117.876,452 z M 95.82,124.114c 4.375,2.752, 9.145,5.386, 14.282,7.886L 95.82,132 L 95.82,124.114 z M 95.82,140\n\tl 33.201,0 c 8.035,2.955, 16.667,5.633, 25.813,8L 95.82,148 L 95.82,140 z M 95.82,364l 59.014,0 c-9.146,2.367-17.778,5.045-25.813,8L 95.82,372 L 95.82,364 z\n\t M 198.407,388c 18.341-2.613, 37.831-4, 57.593-4s 39.252,1.387, 57.593,4L 198.407,388 z M 352.942,396c 8.612,2.354, 16.697,5.029, 24.126,8\n\tL 134.932,404 c 7.429-2.971, 15.513-5.646, 24.126-8L 352.942,396 z M 95.82,387.886L 95.82,380 l 14.282,0 C 104.965,382.5, 100.195,385.133, 95.82,387.886z\n\t M 105.701,420c 2.985-2.382, 6.957-5.104, 12.176-8l 276.247,0 c 5.22,2.896, 9.191,5.618, 12.177,8L 105.701,420 z M 416.18,387.886\n\tc-4.375-2.753-9.145-5.386-14.281-7.886l 14.281,0 L 416.18,387.886 z M 416.18,372L 382.98,372 c-8.036-2.955-16.668-5.633-25.813-8l 59.013,0 L 416.18,372 z\n\t M 416.18,356L 316.077,356 c-18.901-2.593-39.094-4-60.077-4c-20.984,0-41.176,1.407-60.077,4L 95.82,356 l0-8 l 320.36,0 L 416.18,356 z M 416.18,340L 95.82,340 l0-8 \n\tl 320.36,0 L 416.18,340 z M 416.18,324L 95.82,324 l0-8 l 320.36,0 L 416.18,324 z M 416.18,308L 95.82,308 l0-8 l 320.36,0 L 416.18,308 z M 416.18,292L 95.82,292 l0-8 l 320.36,0 L 416.18,292 z M 416.18,276\n\tL 95.82,276 l0-8 l 320.36,0 L 416.18,276 z M 416.18,260L 95.82,260 l0-8 l 320.36,0 L 416.18,260 z M 416.18,244L 95.82,244 l0-8 l 320.36,0 L 416.18,244 z M 416.18,228L 95.82,228 l0-8 l 320.36,0 L 416.18,228 z\n\t M 416.18,212L 95.82,212 l0-8 l 320.36,0 L 416.18,212 z M 416.18,196L 95.82,196 l0-8 l 320.36,0 L 416.18,196 z M 416.18,180L 95.82,180 l0-8 l 320.36,0 L 416.18,180 z M 416.18,164L 95.82,164 l0-8 \n\tl 100.104,0 c 18.901,2.592, 39.093,4, 60.077,4c 20.983,0, 41.176-1.408, 60.077-4L 416.18,156 L 416.18,164 z M 416.18,148l-59.013,0 \n\tc 9.146-2.367, 17.777-5.045, 25.813-8l 33.199,0 L 416.179,148 z M 416.18,124.115L 416.18,132 l-14.281,0 C 407.035,129.5, 411.805,126.867, 416.18,124.115z\n\t M 101.545,71.657c 4.631-4.563, 13.769-11.509, 30.998-18.687C 164.527,39.643, 209.525,32, 256,32s 91.473,7.643, 123.457,20.97\n\tc 17.229,7.178, 26.366,14.124, 30.998,18.687C 414.832,75.969, 416,78.93, 416,80s-1.168,4.031-5.545,8.343\n\tc-4.632,4.562-13.77,11.508-30.998,18.687C 347.473,120.357, 302.475,128, 256,128s-91.473-7.643-123.457-20.97\n\tc-17.229-7.178-26.367-14.124-30.998-18.687C 97.168,84.031, 96,81.070, 96,80S 97.168,75.969, 101.545,71.657z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pyramid, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240.001,32.027L 8.352,373.011L 240.001,512L 471.65,373.011L 240.001,32.027z M 53.846,362.989L 224,112.524l0,352.558\n\tL 53.846,362.989z M 256.001,460l 8.47,0 l-8.47,5.082L 256.001,460 z M 256.001,452l0-8 l 35.137,0 l-13.333,8L 256.001,452 z M 256.001,436l0-8 l 61.804,0 l-13.334,8\n\tL 256.001,436 z M 256.001,420l0-8 l 88.471,0 l-13.334,8L 256.001,420 z M 256.001,404l0-8 l 115.137,0 l-13.333,8L 256.001,404 z M 256.001,388l0-8 l 141.804,0 \n\tl-13.333,8L 256.001,388 z M 256.001,372l0-8 l 168.471,0 l-13.333,8L 256.001,372 z M 263.798,124l 5.435,8l-13.231,0 l0-8 L 263.798,124 z M 274.667,140l 5.435,8\n\tl-24.1,0 l0-8 L 274.667,140 z M 285.537,156l 5.435,8l-34.97,0 l0-8 L 285.537,156 z M 296.406,172l 5.436,8l-45.84,0 l0-8 L 296.406,172 z M 307.276,188l 5.435,8l-56.709,0 \n\tl0-8 L 307.276,188 z M 318.146,204l 5.436,8l-67.58,0 l0-8 L 318.146,204 z M 329.016,220l 5.435,8l-78.449,0 l0-8 L 329.016,220 z M 339.886,236l 5.435,8l-89.319,0 l0-8 \n\tL 339.886,236 z M 350.755,252l 5.435,8L 256.001,260 l0-8 L 350.755,252 z M 361.625,268l 5.435,8L 256.001,276 l0-8 L 361.625,268 z M 372.494,284l 5.436,8L 256.001,292 l0-8 \n\tL 372.494,284 z M 383.364,300l 5.435,8L 256.001,308 l0-8 L 383.364,300 z M 394.233,316l 5.436,8L 256.001,324 l0-8 L 394.233,316 z M 405.104,332l 5.435,8L 256.001,340 l0-8 \n\tL 405.104,332 z M 415.974,348l 5.435,8L 256.001,356 l0-8 L 415.974,348 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pyramid\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240.001,32.027L 8.352,373.011L 240.001,512L 471.65,373.011L 240.001,32.027z M 53.846,362.989L 224,112.524l0,352.558\n\tL 53.846,362.989z M 256.001,112.524l 170.155,250.465L 256.001,465.082L 256.001,112.524z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube4, 3d, box, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 244.016,0l-8.031,0 L 26.718,112.107L0,126.42l0,228.121 L 235.137,512l 9.727,0 L 480,354.541L 480,126.42 L 244.016,0z M 203.050,452l-11.947-8\n\tL 224,444 l0,8 L 203.050,452 z M 224,460l0,6.029 L 214.996,460L 224,460 z M 179.157,436l-11.947-8L 224,428 l0,8 L 179.157,436 z M 155.263,420l-11.946-8L 224,412 l0,8 L 155.263,420 z\n\t M 131.37,404l-11.946-8L 224,396 l0,8 L 131.37,404 z M 107.477,388l-11.947-8L 224,380 l0,8 L 107.477,388 z M 83.584,372l-11.947-8L 224,364 l0,8 L 83.584,372 z M 59.69,356\n\tl-11.946-8L 224,348 l0,8 L 59.69,356 z M 35.797,340L 32,337.457L 32,332 l 192,0 l0,8 L 35.797,340 z M 32,324l0-8 l 192,0 l0,8 L 32,324 z M 32,308l0-8 l 192,0 l0,8 L 32,308 z M 32,292l0-8 l 192,0 l0,8 L 32,292 z\n\t M 32,276l0-8 l 192,0 l0,8 L 32,276 z M 32,260l0-8 l 166.65,0 l 14.934,8L 32,260 z M 32,244l0-8 l 136.784,0 l 14.934,8L 32,244 z M 32,228l0-8 l 106.917,0 l 14.934,8L 32,228 z M 32,212l0-8 \n\tl 77.050,0 l 14.933,8L 32,212 z M 32,196l0-8 l 47.184,0 l 14.934,8L 32,196 z M 32,180l0-8 l 17.317,0 l 14.933,8L 32,180 z M 32,164l0-1.277 L 34.383,164L 32,164 z M 240,237.849\n\tL 49.882,136L 240,34.151L 430.117,136L 240,237.849z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube, 3d, box\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 244.016,0l-8.031,0 L 26.718,112.107L0,126.42l0,228.121 L 235.137,512l 9.727,0 L 480,354.541L 480,126.42 L 244.016,0z M 430.117,136\n\tl-76.519,40.992l-85.010-45.542l 76.518-40.992L 430.117,136z M 240,34.151l 76.519,40.992L 240,116.136l-76.519-40.992L 240,34.151z\n\t M 134.893,90.458l 76.519,40.993l-85.011,45.541L 49.882,136L 134.893,90.458z M 98.542,382.017L 32,337.457l0-77.563 l 66.542,41.589\n\tL 98.542,382.017 z M 98.542,269.643L 32,228.054l0-65.331 l 66.542,35.647L 98.542,269.643 z M 224,466.029l-98.458-65.933l0-81.739 L 224,379.895L 224,466.029 z\n\t M 224,348.054l-98.458-61.536l0-73.684 L 224,265.58L 224,348.054 z M 240,237.849l-85.010-45.541L 240,146.766l 85.011,45.541L 240,237.849z\n\t M 354.459,400.097L 256,466.029l0-86.135 l 98.459-61.537L 354.459,400.097 z M 354.459,286.518L 256,348.055L 256,265.58 l 98.459-52.746L 354.459,286.518 z\n\t M 448,337.457l-66.541,44.559l0-80.533 L 448,259.894L 448,337.457 z M 448,228.054l-66.541,41.588L 381.459,198.37 L 448,162.723L 448,228.054 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube, box, 3d, miscellaneous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32L0,128l0,224 l 240,128l 240-128L 480,128 L 240,32z M 224,435.2L 32,332.8L 32,177.067 l 192,102.4L 224,435.2 z M 41.498,145.866L 240,66.465\n\tl 198.502,79.401L 240,251.733L 41.498,145.866z M 448,332.8L 256,435.2L 256,279.467 l 192-102.4L 448,332.8 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube, box, 3d, miscellaneous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L 32,128L 256,224L 480,128 \tzM 32,416L 224,496L 224,272L 32,192 \tzM 288,496L 480,416L 480,192L 288,272 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"boat, sailing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,352l0,128 l 352,0 c 64,0, 160-58.5, 160-128L0,352 zM 256,32L0,320L 256,320 \tzM 288,96l0,224 l 160,0 C 448,160, 288,96, 288,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"ship, travel, vacation, transport\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 450.017,432L 448,432 l-2.017,0 c-7.104,27.604-32.162,48-61.983,48s-54.879-20.396-61.983-48L 320,432 l-2.017,0 \n\t\tc-7.104,27.604-32.162,48-61.983,48s-54.879-20.396-61.983-48L 192,432 l-2.017,0 c-7.104,27.604-32.162,48-61.983,48\n\t\ts-54.879-20.396-61.983-48L 64,432 l-2.017,0 C 54.879,459.604, 29.821,480,0,480l0,32 c 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54\n\t\ts 64-18.653, 64-54c0,35.347, 28.654,54, 64,54c 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54s 64-18.653, 64-54\n\t\tc0,35.347, 28.654,54, 64,54l0-32 C 482.179,480, 457.121,459.604, 450.017,432zM 450.017,368L 448,368 l-2.017,0 c-7.104,27.604-32.162,48-61.983,48c-24.019,0-44.939-13.236-55.886-32.808\n\t\tC 391.793,371.008, 480,224, 480,224l-63.928-27.397c-0.066-0.544-0.143-1.082-0.229-1.613L 389.157,31.582\n\t\tC 386.321,14.212, 369.6,0, 352,0L 160,0 c-17.6,0-34.321,14.212-37.157,31.582L 96.157,194.989c-0.087,0.531-0.163,1.069-0.229,1.613\n\t\tL 32,224c0,0, 88.207,147.008, 151.886,159.192C 172.939,402.764, 152.019,416, 128,416c-29.821,0-54.879-20.396-61.983-48L 64,368 l-2.017,0 \n\t\tC 54.879,395.604, 29.821,416,0,416l0,32 c 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54s 64-18.653, 64-54c0,35.347, 28.654,54, 64,54\n\t\tc 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54s 64-18.653, 64-54c0,35.347, 28.654,54, 64,54l0-32 \n\t\tC 482.179,416, 457.121,395.604, 450.017,368z M 288,32l 64,0 c 1.93,0, 5.265,2.834, 5.575,4.739l 23.669,144.937l-107.891-46.238L 288,32z\n\t\t M 154.424,36.739C 154.735,34.834, 158.070,32, 160,32l 64,0 l 14.646,103.438l-107.891,46.239L 154.424,36.739z M 256,416\n\t\tc-23.686,0-44.356-12.874-55.423-32l 110.846,0 C 300.355,403.126, 279.686,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"train, travel, transport, travel, vacation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,272l0-42 c0-21-16-38-36-38l-28,0 L 352,96 l 32-64L 256,32 l 32,64l0,96 L 128,192 l0-64 L0,128 l0,288 l 32,0 c0,35.347, 28.653,64, 64,64s 64-28.653, 64-64\n\t\tc0,35.347, 28.653,64, 64,64s 64-28.653, 64-64c0,35.347, 28.653,64, 64,64s 64-28.653, 64-64l 96,0 L 416,272z M 96,448\n\t\tc-17.673,0-32-14.326-32-32s 14.327-32, 32-32s 32,14.326, 32,32S 113.673,448, 96,448z M 224,448c-17.673,0-32-14.326-32-32\n\t\ts 14.327-32, 32-32s 32,14.326, 32,32S 241.673,448, 224,448z M 352,448c-17.674,0-32-14.326-32-32s 14.326-32, 32-32s 32,14.326, 32,32\n\t\tS 369.674,448, 352,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"road, asphalt\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,512l 160,0 L 384,0l-96,0 l 16,128l-96,0 L 224,0l-96,0 L0,512l 160,0 l 16-128l 160,0 L 352,512z M 184,320l 16-128l 112,0 l 16,128L 184,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bike, bicycle, ride\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,224c-11.158,0-21.869,1.91-31.831,5.411l-26.398-61.213l 24.512-44.698l 19.967,0 c 7.456,0, 13.5-6.044, 13.5-13.5\n\ts-6.044-13.5-13.5-13.5l-68.785,0 c-7.456,0-13.5,6.044-13.5,13.5s 6.044,13.5, 13.5,13.5l 21.447,0 L 334.895,160L 147.485,160 l 7.903-36.5l 54.11,0 \n\tc 7.456,0, 13.5-6.044, 13.5-13.5s-6.044-13.5-13.5-13.5l-75.89,0 l-27.714,128.004C 102.641,224.171, 99.341,224, 96,224\n\tc-53.020,0-96,42.98-96,96s 42.98,96, 96,96s 96-42.98, 96-96c0-40.247-24.77-74.702-59.893-88.971l 8.224-37.986l 106.824,144.496\n\tc 2.074,2.806, 5.356,4.461, 8.845,4.461l 66.536,0 c 9.946,42.416, 48.015,74, 93.464,74c 53.020,0, 96-42.98, 96-96S 469.020,224, 416,224z\n\t M 165,320c0,38.047-30.953,69-69,69s-69-30.953-69-69s 30.953-69, 69-69c 1.387,0, 2.761,0.053, 4.128,0.134l-17.323,80.009\n\tc-1.578,7.287, 3.051,14.473, 10.338,16.051c 0.963,0.208, 1.923,0.309, 2.87,0.309c 6.217,0, 11.812-4.322, 13.181-10.646l 17.071-78.849\n\tC 149.181,269.242, 165,292.805, 165,320z M 322.83,182l-69.546,126.821L 159.526,182L 322.83,182 z M 274.524,320l 69.835-127.346l 20.010,46.4\n\tC 337.689,256.107, 320,285.987, 320,320L 274.524,320 z M 375.276,264.346L 399.277,320L 347,320 C 347,297.175, 358.147,276.913, 375.276,264.346z\n\t M 416,389c-30.355,0-56.176-19.712-65.383-47L 416,342 c 3.702,0, 7.155-1.862, 9.19-4.955c 2.034-3.093, 2.376-7.002, 0.91-10.4l-31.194-72.334\n\tC 401.56,252.168, 408.645,251, 416,251c 38.047,0, 69,30.953, 69,69S 454.047,389, 416,389z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"truck, vehicle, transit, transport\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,288l-64-128l-96,0 L 352,96 c0-17.6-14.4-32-32-32L 32,64 C 14.4,64,0,78.4,0,96l0,256 l 32,32l 40.583,0 C 67.134,393.416, 64,404.339, 64,416\n\tc0,35.346, 28.654,64, 64,64s 64-28.654, 64-64c0-11.661-3.134-22.584-8.583-32l 177.167,0 c-5.449,9.416-8.584,20.339-8.584,32\n\tc0,35.346, 28.654,64, 64,64s 64-28.654, 64-64c0-11.661-3.135-22.584-8.584-32L 512,384 L 512,288 z M 352,288l0-80 l 66.334,0 l 40,80L 352,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bus, transport, public transportation, travel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,32C 432.279,0, 320,0, 256,0S 79.72,0, 64,32S 32,256, 32,256l0,192 l 64,0 l0,32 c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32l0-32 l 192,0 l0,32 \n\tc0,17.673, 14.327,32, 32,32c 17.674,0, 32-14.327, 32-32l0-32 l 64,0 L 480,256 C 480,256, 463.721,64, 448,32z M 160,32l 192,0 l0,32 L 160,64 L 160,32 z M 128,352\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 145.673,352, 128,352z M 102.499,224.001\n\tc 0.8-7.513, 1.656-15.314, 2.559-23.231c 6.083-53.329, 10.847-81.788, 13.844-96.464c 8.586-2.002, 23.196-4.479, 46.867-6.145\n\tC 196.495,96, 229.49,96, 256,96s 59.505,0, 90.231,2.161c 23.671,1.665, 38.28,4.142, 46.866,6.145\n\tc 2.996,14.676, 7.762,43.136, 13.845,96.465c 0.902,7.917, 1.759,15.718, 2.559,23.23L 102.499,224.001 z M 384,352c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 401.673,352, 384,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gas-pump, pump, oil\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.5,128C 446,91, 352,71.5, 352,71.5L 352,96 c 47.5,13.5, 64,45.719, 64,45.719L 416,192 c0,17.594, 14.406,32, 32,32l 16,0 l0,144 l-48,0 l0-88 \n\tc0-22.062-17.938-40-40-40l-56,0 L 320,80 c0-26.406-21.594-48-48-48L 80,32 c-26.406,0-48,21.594-48,48l0,368 L0,448 l0,64 l 352,0 l0-64 l-32,0 L 320,288 l 48,0 l0,88 \n\tc0,22.062, 17.938,40, 40,40l 64,0 c 22.062,0, 40-17.938, 40-40L 512,176 C 512,146.5, 490.5,128, 490.5,128z M 288,176c0,8.797-7.188,16-16,16L 80,192 \n\tc-8.797,0-16-7.203-16-16L 64,80 c0-8.797, 7.203-16, 16-16l 192,0 c 8.812,0, 16,7.203, 16,16L 288,176 z M 480,184c0,4.4-3.6,8-8,8l-16,0 \n\tc-4.4,0-8-3.6-8-8l0-16 c0-4.4, 3.6-8, 8-8l 16,0 c 4.4,0, 8,3.6, 8,8L 480,184 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"car, drive, vehicle, automobile, transport, travel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 422.198,160L 384.444,46.738C 381.554,38.061, 373.146,32, 364,32L 148,32 c-9.145,0-17.552,6.060-20.444,14.735L 89.801,160L0,160 l0,224 l 64,0 \n\tl0,80 c0,8.8, 7.199,16, 16,16l 64,0 c 8.8,0, 16-7.2, 16-16l0-80 l 192,0 l0,80 c0,8.8, 7.198,16, 16,16l 64,0 c 8.8,0, 16-7.2, 16-16l0-80 l 64,0 L 512,160 L 422.198,160 z\n\t M 112,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 138.51,320, 112,320z M 131.532,160l 32-96l 184.936,0 l 32,96L 131.532,160 z\n\t M 400,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,320, 400,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paper plane, send, flight, fly, plane, airplane, speed, light\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,352L 420.818,422.244L 512,23.566 \tzM 160,329.954L 512,23.566L0,276.797 \tzM 224,385.977L 224,512L 316.876,419.124 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"airplane, flight, fly, plane, travel, vacation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,224L 160,32L 96,32 l 128,192c-41.455,0-82.064,0-112,0l-48-64L0,160 l 56,112L0,384l 64,0 l 48-64c 29.936,0, 70.545,0, 112,0L 96,512l 64,0 \n\tl 192-192c 96,0, 160-29.625, 160-48S 448,224, 352,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"airplane, flight, fly, plane, travel, vacation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,319.984l-91.41-91.411L 512,63.998L 447.995,0l-274.26,109.721L 87.385,23.368C 62.495-1.521, 27.734-7.485, 10.134,10.114\n\tC-7.465,27.713-1.5,62.477, 23.389,87.364l 86.343,86.342L0,447.997L 63.995,512L 228.59,292.566l 91.413,91.414l0,127.99 L 384,511.97 \n\tl 31.996-95.994l 95.994-31.998l0-63.996 L 384,319.982 L 384,319.984 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"briefcase, portfolio, suitcase, work, job, employee\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128L 352,128 L 352,96 c0-17.6-14.4-32-32-32L 192,64 c-17.602,0-32,14.4-32,32l0,32 L 32,128 c-17.6,0-32,14.4-32,32l0,288 \n\tc0,17.601, 14.398,32, 32,32l 448,0 c 17.6,0, 32-14.399, 32-32L 512,160 C 512,142.4, 497.6,128, 480,128z M 192,96.058\n\tc 0.017-0.020, 0.037-0.041, 0.057-0.058l 127.886,0 c 0.021,0.017, 0.041,0.038, 0.059,0.058L 320.002,128 L 192,128 L 192,96.058 z M 480,256l-64,0 l0,48 \n\tc0,8.801-7.2,16-16,16l-32,0 c-8.802,0-16-7.199-16-16l0-48 L 160,256 l0,48 c0,8.801-7.2,16-16,16l-32,0 c-8.801,0-16-7.199-16-16l0-48 L 32,256 l0-32 l 448,0 \n\tL 480,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"briefcase, portfolio, suitcase, work, job, employee\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,160L 352,160 L 352,96 c0-17.6-14.4-32-32-32L 192,64 c-17.602,0-32,14.4-32,32l0,64 L 48,160 c-26.4,0-48,21.6-48,48l0,224 c0,26.4, 21.6,48, 48,48\n\tl 416,0 c 26.398,0, 48-21.6, 48-48L 512,208 C 512,181.6, 490.401,160, 464,160z M 192,96.057c 0.016-0.020, 0.037-0.041, 0.058-0.057l 127.887,0 \n\tc 0.021,0.018, 0.040,0.038, 0.058,0.057L 320.003,160 L 192,160 L 192,96.057 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"briefcase, portfolio, suitcase, work, job, employee\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 109.255,320L 224,320 l0-32 l 64,0 l0,32 l 114.745,0 L 512,210.745L 512,160 c0-17.6-14.4-32-32-32l-96,0 l-64-64L 192,64 l-64,64L 32,128 c-17.6,0-32,14.4-32,32\n\tl0,50.745 L 109.255,320z M 205.255,96l 101.49,0 l 32,32l-165.49,0 L 205.255,96z M 416,352L 288,352 l0,32 l-64,0 l0-32 L 96,352 L0,256l0,192 c0,17.6, 14.4,32, 32,32l 448,0 \n\tc 17.6,0, 32-14.4, 32-32L 512,256 L 416,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,480c0,17.673, 14.327,32, 32,32l 320,0 c 17.674,0, 32-14.327, 32-32L 448,128 L 64,128 L 64,480 z M 320,192l 64,0 l0,256 l-64,0 L 320,192 z M 224,192l 64,0 l0,256 l-64,0 \n\t\tL 224,192 z M 128,192l 64,0 l0,256 l-64,0 L 128,192 zM 448,32L 320,32 L 320,0 L 192,0 l0,32 L 64,32 C 28.654,32,0,60.654,0,96l 512,0 C 512,60.654, 483.347,32, 448,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,224c-106.039,0-192-42.98-192-96l0,32 c0,19.625, 11.787,37.871, 32,53.074L 96,448 c0,35.347, 71.634,64, 160,64\n\t\tc 88.365,0, 160-28.653, 160-64L 416,213.074 c 20.213-15.204, 32-33.449, 32-53.074l0-32 C 448,181.020, 362.039,224, 256,224z M 192,474.118\n\t\tc-10.372-2.025-20.122-4.538-28.967-7.528c-23.747-8.027-33.068-16.675-35.033-19.794L 128,231.547 \n\t\tc 18.467,8.265, 40.151,14.767, 64,18.982L 192,474.118 z M 288,478.597c-10.404,0.924-21.134,1.403-32,1.403\n\t\tc-10.867,0-21.596-0.479-32-1.403L 224,254.665 c 10.408,0.874, 21.096,1.335, 32,1.335s 21.592-0.461, 32-1.335L 288,478.597 z M 384,446.796\n\t\tc-1.965,3.118-11.286,11.767-35.033,19.794c-8.846,2.99-18.596,5.503-28.967,7.528L 320,250.53 c 23.849-4.215, 45.533-10.717, 64-18.982\n\t\tL 384,446.796 zM 256,192c 106.039,0, 192-42.98, 192-96S 362.039,0, 256,0C 149.962,0, 64,42.98, 64,96S 149.962,192, 256,192z M 134.547,56.739\n\t\tC 165.991,41.017, 210.259,32, 256,32s 90.010,9.017, 121.454,24.739C 401.231,68.627, 416,83.671, 416,96s-14.77,27.373-38.546,39.261\n\t\tC 346.010,150.983, 301.741,160, 256,160s-90.009-9.017-121.454-24.739C 110.77,123.373, 96,108.329, 96,96S 110.77,68.627, 134.547,56.739z\n\t\tM 224,96L 288,96L 288,128L 320,128L 320,64L 192,64L 192,128L 224,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224.001,384.001L 256,384.001L 256,416L 224.001,416zM 288,384.001L 288,352.001L 256,352.001L 256,384L 287.999,384L 287.999,416L 319.999,416L 319.999,384.001 \tzM 160.001,384.001L 192.001,384.001L 192.001,416L 160.001,416zM 256,416L 287.999,416L 287.999,448L 256,448zM 192.001,416.001L 224.001,416.001L 224.001,447.999L 192.001,447.999zM 128.001,287.999L 160,287.999L 160,319.999L 128.001,319.999zM 192.001,352.001L 224,352.001L 224,384.001L 192.001,384.001zM 480,112c0-44.183-107.451-80-240-80S0,67.817,0,112c0,0.216, 0.020,0.431, 0.024,0.646l-0.016-0.021\n\t\tC0,131.442, 7.547,158.176, 20.595,210.367c 0.001,0.004, 0.002,0.008, 0.004,0.013l 57.941,231.77\n\t\tC 88.145,480.567, 128.403,512, 168.003,512L 240,512 l 71.997,0 c 39.601,0, 79.858-31.433, 89.463-69.851l 57.941-231.77\n\t\tc 0.002-0.005, 0.003-0.009, 0.004-0.013c 13.048-52.191, 20.595-78.924, 20.586-97.741l-0.016,0.021\n\t\tC 479.981,112.431, 480,112.216, 480,112z M 96.001,319.999l0-32 L 128,287.999 L 128,256 L 96,256 l0-32 L 64,224 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0,31.999 l 32,0 l0,32 l 32,0 l0,32 l-32,0 \n\t\tl0-32 l-32,0 l0,32 l-31.999,0 l0,32 l-32,0 l0-32 L 96.001,319.999 z M 288,255.998l0-31.999 l 31.996,0 l0-32 l 32,0 l0,32 L 320,223.999 l0,32 L 288,255.998l0,32 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0,32 L 288,255.998 z\n\t\t M 351.999,416l-32,0 l0,32 L 288,448 l0,32 l-32,0 l0-32 l-32,0 l0,31.999 l-32,0 L 192,448 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0-31.999 L 192,352.001 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 L 320,384 l 31.999,0 L 351.999,416 \n\t\tz M 384,320.001l-32,0 L 352,352 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0-31.999 l 31.996,0 l0-32 l 32,0 l0,32 L 352,256.001 l0,32 l 32,0 L 384,320.001 z M 416,223.999l-32,0 l0-32 l 32,0 L 416,223.999 z\n\t\t M 434.762,122.571c-3.738,2.324-8.031,4.609-12.787,6.831c-9.065,4.234-19.843,8.23-31.885,11.789\n\t\tC 349.052,153.32, 295.749,160, 240,160s-109.052-6.68-150.090-18.809c-12.042-3.559-22.819-7.555-31.885-11.789\n\t\tc-4.756-2.221-9.049-4.506-12.787-6.831c-7.975-4.958-11.354-8.742-12.665-10.571c 1.312-1.829, 4.69-5.613, 12.665-10.571\n\t\tc 10.865-6.755, 26.313-13.194, 44.672-18.62C 130.948,70.68, 184.251,64, 240,64s 109.052,6.68, 150.090,18.809\n\t\tc 18.359,5.426, 33.807,11.865, 44.672,18.62c 7.975,4.958, 11.354,8.742, 12.665,10.571\n\t\tC 446.115,113.829, 442.737,117.613, 434.762,122.571zM 160,255.999L 160,287.999L 192,287.999L 192,256L 160,256L 160,224L 128,224L 128,255.999 \tzM 320,288.001L 352,288.001L 352,320L 320,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,64L 320,64 L 320,16 c0-8.836-7.163-16-16-16l-96,0 c-8.836,0-16,7.164-16,16l0,48 L 32,64 L0,128l 64,0 l 32,384l 320,0 l 32-384l 64,0 L 480,64z M 224,448\n\tl-64,0 L 160,160 l 64,0 L 224,448 z M 224,32l 64,0 l0,32 l-64,0 L 224,32 z M 352,448l-64,0 L 288,160 l 64,0 L 352,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 456,96L 320,96 L 320,56 c0-13.2-10.8-24-24-24L 184,32 c-13.2,0-24,10.8-24,24l0,40 L 24,96 c-13.2,0-24,10.8-24,24l0,16 c0,13.2, 10.8,24, 24,24l 432,0 \n\tc 13.2,0, 24-10.8, 24-24l0-16 C 480,106.8, 469.2,96, 456,96z M 192,64.401l 96,0 L 288,96 l-96,0 L 192,64.401 zM 64,192l0,256 c0,17.6, 14.4,32, 32,32l 288,0 c 17.6,0, 32-14.4, 32-32L 416,192 L 64,192 z M 160,448l-32,0 L 128,224 l 32,0 L 160,448 z M 224,448l-32,0 L 192,224 l 32,0 L 224,448 z\n\t M 288,448l-32,0 L 256,224 l 32,0 L 288,448 z M 352,448l-32,0 L 320,224 l 32,0 L 352,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,192 L 416,192 L 416,464 C 416,490.4 394.4,512 368,512 L 144,512 C 117.6,512 96,490.4 96,464 L 96,192 L 160,192 L 160,448 L 224,448 L 224,192 L 288,192 L 288,448 L 352,448 L 352,192 ZM 64,96L 448,96L 448,160L 64,160zM 192,32L 320,32L 320,80L 192,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,64L 112,64 c-26.51,0-48,21.49-48,48l0,16 l 384,0 l0-16 C 448,85.49, 426.51,64, 400,64zM 316.16,32l 7.058,50.5L 188.782,82.5 l 7.057-50.5L 316.16,32 M 320,0L 192,0 c-13.2,0-25.495,10.696-27.321,23.769l-9.357,66.962\n\tC 153.495,103.804, 162.8,114.5, 176,114.5l 160,0 c 13.2,0, 22.505-10.696, 20.679-23.769l-9.357-66.962C 345.495,10.696, 333.2,0, 320,0L 320,0z\n\tM 408,160L 104,160 c-17.6,0-30.696,14.341-29.103,31.869l 26.206,288.263C 102.696,497.659, 118.4,512, 136,512l 240,0 \n\tc 17.6,0, 33.304-14.341, 34.897-31.868l 26.205-288.263C 438.696,174.341, 425.6,160, 408,160z M 192,448l-48,0 l-16-224l 64,0 L 192,448 z M 288,448l-64,0 \n\tL 224,224 l 64,0 L 288,448 z M 368,448l-48,0 L 320,224 l 64,0 L 368,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,512L 416,512L 448,160L 64,160 \tzM 320,64L 320,0 L 192,0 l0,64 L 32,64 l0,96 l 32-32l 384,0 l 32,32L 480,64 L 320,64 z M 288,64l-64,0 L 224,32 l 64,0 L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 191.076,399.223 C 202.953,412.152 222.605,416.557 258.824,415.961 C 291.477,415.416 309.766,412.588 320.924,402.316 L 320.924,439.84 C 300.973,446.326 279.032,449.926 256.003,449.926 C 232.972,449.926 211.026,446.326 191.076,439.838 L 191.076,399.223 Z M 191.753,465.056 C 220.577,473.871 233.728,474.347 256.003,474.347 C 278.275,474.347 291.427,473.871 320.253,465.056 C 317.745,478.761 306.952,512 256.003,512 C 205.053,512 194.26,478.761 191.753,465.056 ZM 256.003,38 C 191.676,38 139.342,89.382 139.342,152.54 C 139.342,183.947 161.241,222.929 187.698,266.936 C 198.256,284.497 203.319,301.851 207.387,315.795 C 210.541,326.608 213.52,336.821 217.394,340.44 C 219.195,342.124 227.234,347.617 255.027,347.617 C 256.092,347.617 257.172,347.61 258.273,347.593 C 289.090,347.14 296.43,341.548 297.165,340.912 C 299.529,338.867 302.087,329.647 304.345,321.512 C 307.97,308.448 312.482,292.188 322.461,274.724 C 342.452,239.753 372.659,186.914 372.659,152.539 C 372.659,122.065 360.585,93.373 338.66,71.749 C 316.595,49.985 287.24,38 256.003,38 Z M 256.003,0 L 256.003,0 C 341.371,0 410.66,68.338 410.659,152.54 C 410.659,194.641 382.743,245.843 355.454,293.579 C 328.175,341.316 352.442,384.214 258.825,385.59 C 257.537,385.608 256.273,385.618 255.027,385.618 C 161.744,385.618 183.452,333.624 155.13,286.516 C 126.431,238.779 101.342,194.642 101.342,152.54 C 101.342,68.339 170.629,0 256.003,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.003,0c-85.374,0-154.661,68.339-154.661,152.54c0,42.102, 25.089,86.239, 53.788,133.976\n\t\tc 28.7,47.737, 6.022,100.49, 103.695,99.073c 93.617-1.376, 69.35-44.274, 96.629-92.011c 27.289-47.736, 55.205-98.938, 55.205-141.039\n\t\tC 410.66,68.338, 341.371,0, 256.003,0zM 191.076,399.223l0,40.615 c 19.95,6.488, 41.896,10.088, 64.927,10.088c 23.029,0, 44.97-3.6, 64.921-10.086l0-37.525 \n\t\tc-11.158,10.273-29.447,13.1-62.1,13.645C 222.605,416.557, 202.953,412.152, 191.076,399.223zM 191.753,465.056c 2.507,13.705, 13.3,46.944, 64.25,46.944c 50.949,0, 61.742-33.239, 64.25-46.944\n\t\tc-28.826,8.815-41.977,9.291-64.25,9.291C 233.728,474.347, 220.577,473.871, 191.753,465.056z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 149.961,0, 64,85.961, 64,192c0,71.066, 38.613,133.109, 96,166.309L 160,448 l 64,64l 64,0 l 64-64l0-89.691 \n\tc 57.388-33.199, 96-95.242, 96-166.309C 448,85.961, 362.039,0, 256,0z M 224,340l0-8 l 64,0 l0,8 L 224,340 z M 288,348l0,0.812 \n\tc-10.42,2.104-21.127,3.188-32,3.188c-10.874,0-21.58-1.083-32-3.188L 224,348 L 288,348 z M 224,324l0-8 l 64,0 l0,8 L 224,324 z M 224,308l0-8 l 64,0 l0,8 L 224,308 z\n\t M 224,292l0-8 l 64,0 l0,8 L 224,292 z M 224,276l0-8 l 64,0 l0,8 L 224,276 z M 224,260l0-8 l 64,0 l0,8 L 224,260 z M 224,244l0-8 l 64,0 l0,8 L 224,244 z M 224,228l0-8 l 64,0 l0,8 L 224,228 z M 224,212l0-8 l 64,0 l0,8 \n\tL 224,212 z M 224,196l0-8 l 64,0 l0,8 L 224,196 z M 224,180l0-8 l 64,0 l0,8 L 224,180 z M 224,164l0-4 c0-1.355-0.094-2.688-0.258-4l 64.516,0 \n\tc-0.164,1.312-0.258,2.645-0.258,4l0,4 L 224,164 z M 290.335,148l-68.67,0 c0,0.001, 0.001,0.003, 0.001,0.004\n\tc-1.176-2.906-2.765-5.598-4.697-8.006c0,0.001, 0.001,0.001, 0.002,0.002l 78.057,0 C 293.099,142.407, 291.511,145.097, 290.335,148z\n\t M 289.636,149.901c-0.004,0.011-0.008,0.022-0.012,0.034C 289.628,149.924, 289.632,149.913, 289.636,149.901z M 222.376,149.937\n\tc-0.004-0.013-0.009-0.025-0.013-0.039C 222.367,149.911, 222.372,149.924, 222.376,149.937z M 207.493,132\n\tc 0.003,0.002, 0.006,0.004, 0.010,0.006C 202.909,129.457, 197.625,128, 192,128s-10.909,1.457-15.502,4.006\n\tc 0.003-0.002, 0.006-0.004, 0.010-0.006l-68.913,0 c 2.208-5.463, 4.718-10.802, 7.528-15.995c-1.423,2.629-2.772,5.294-4.041,7.995L 400.92,124 \n\tc 1.237,2.634, 2.396,5.303, 3.486,8l-68.913,0 c 0.004,0.002, 0.009,0.005, 0.013,0.007C 330.912,129.457, 325.627,128, 320,128\n\ts-10.912,1.457-15.506,4.007c 0.004-0.002, 0.009-0.005, 0.013-0.007L 207.493,132 z M 303.164,132.789c-0.014,0.008-0.027,0.018-0.041,0.026\n\tC 303.137,132.806, 303.15,132.797, 303.164,132.789z M 301.858,133.643c-0.017,0.011-0.032,0.023-0.048,0.034\n\tC 301.826,133.666, 301.842,133.654, 301.858,133.643z M 300.595,134.561c-0.014,0.011-0.027,0.021-0.041,0.032\n\tC 300.567,134.582, 300.581,134.571, 300.595,134.561z M 299.376,135.54c-0.007,0.006-0.014,0.012-0.021,0.019\n\tC 299.362,135.552, 299.369,135.546, 299.376,135.54z M 298.206,136.578c-0.001,0.001-0.002,0.001-0.003,0.002\n\tC 298.204,136.579, 298.205,136.579, 298.206,136.578z M 215.968,138.809C 215.968,138.809, 215.968,138.808, 215.968,138.809\n\tC 215.968,138.808, 215.968,138.809, 215.968,138.809z M 214.911,137.67c-0.001-0.001-0.003-0.003-0.004-0.004\n\tC 214.908,137.667, 214.909,137.668, 214.911,137.67z M 213.804,136.587c-0.004-0.004-0.009-0.008-0.013-0.012\n\tC 213.795,136.579, 213.799,136.583, 213.804,136.587z M 212.652,135.564c-0.010-0.009-0.020-0.018-0.030-0.026\n\tC 212.632,135.547, 212.642,135.556, 212.652,135.564z M 211.451,134.597c-0.016-0.012-0.032-0.025-0.048-0.038\n\tC 211.419,134.572, 211.435,134.585, 211.451,134.597z M 210.189,133.677c-0.016-0.011-0.032-0.023-0.048-0.034\n\tC 210.158,133.654, 210.173,133.666, 210.189,133.677z M 208.874,132.813c-0.013-0.008-0.025-0.016-0.038-0.024\n\tC 208.849,132.797, 208.861,132.805, 208.874,132.813z M 160.258,164L 98.431,164 c-0.231,1.318-0.447,2.64-0.646,3.966\n\tc 0.604-4.028, 1.362-8.019, 2.265-11.966l 60.208,0 c-0.164,1.312-0.258,2.645-0.258,4S 160.094,162.688, 160.258,164z M 102.104,148\n\tc-0.372,1.307-0.727,2.62-1.066,3.938c 1.387-5.403, 3.057-10.716, 4.999-15.925c-0.493,1.322-0.968,2.651-1.426,3.987l 62.417,0 \n\tc0-0.001, 0.001-0.001, 0.002-0.002c-1.932,2.408-3.521,5.101-4.697,8.006c0-0.001, 0.001-0.002, 0.001-0.004L 102.104,148 z M 161.637,149.898\n\tc-0.004,0.013-0.009,0.025-0.013,0.039C 161.628,149.924, 161.633,149.911, 161.637,149.898z M 100.059,155.962\n\tc 0.304-1.326, 0.625-2.646, 0.962-3.96C 100.684,153.316, 100.363,154.636, 100.059,155.962z M 175.164,132.789\n\tc-0.013,0.008-0.025,0.016-0.038,0.024C 175.139,132.805, 175.151,132.797, 175.164,132.789z M 173.858,133.643\n\tc-0.016,0.011-0.032,0.023-0.048,0.034C 173.827,133.666, 173.842,133.654, 173.858,133.643z M 172.597,134.56\n\tc-0.017,0.012-0.032,0.025-0.048,0.038C 172.565,134.585, 172.581,134.572, 172.597,134.56z M 171.378,135.538\n\tc-0.010,0.009-0.020,0.018-0.030,0.026C 171.358,135.556, 171.368,135.547, 171.378,135.538z M 170.209,136.575\n\tc-0.004,0.004-0.008,0.008-0.013,0.012C 170.201,136.583, 170.205,136.579, 170.209,136.575z M 169.093,137.666\n\tc-0.001,0.001-0.003,0.003-0.004,0.004C 169.091,137.668, 169.092,137.667, 169.093,137.666z M 168.033,138.808\n\tC 168.032,138.808, 168.032,138.809, 168.033,138.808C 168.032,138.809, 168.032,138.808, 168.033,138.808z M 106.060,135.951\n\tc 0.494-1.323, 1.004-2.639, 1.533-3.948C 107.064,133.312, 106.553,134.628, 106.060,135.951z M 350.376,170.065\n\tc-0.004,0.011-0.008,0.022-0.012,0.034C 350.368,170.087, 350.372,170.076, 350.376,170.065z M 350.364,149.901\n\tc 0.004,0.011, 0.008,0.022, 0.012,0.034C 350.372,149.924, 350.368,149.913, 350.364,149.901z M 349.665,172l 65.103,0 \n\tc-0.332-2.679-0.732-5.342-1.196-7.989c 0.924,5.267, 1.591,10.601, 1.988,15.989l-70.588,0 C 346.901,177.593, 348.489,174.903, 349.665,172\n\tz M 351.742,164c 0.164-1.312, 0.258-2.645, 0.258-4s-0.094-2.688-0.258-4l 60.208,0 c 0.605,2.648, 1.147,5.314, 1.619,8L 351.742,164 z\n\t M 349.665,148c-1.176-2.903-2.764-5.593-4.693-8l 62.418,0 c 0.904,2.642, 1.741,5.309, 2.507,8L 349.665,148 z M 409.897,148.004\n\tc 0.373,1.313, 0.731,2.632, 1.070,3.956C 410.628,150.636, 410.271,149.317, 409.897,148.004z M 410.977,151.993\n\tc 0.341,1.331, 0.667,2.666, 0.974,4.006C 411.643,154.658, 411.318,153.323, 410.977,151.993z M 404.41,132.010\n\tc 0.525,1.301, 1.033,2.609, 1.524,3.924C 405.443,134.619, 404.936,133.312, 404.41,132.010z M 405.972,136.034\n\tc 0.486,1.307, 0.956,2.619, 1.408,3.938C 406.928,138.653, 406.458,137.34, 405.972,136.034z M 341.797,136.58\n\tc-0.001-0.001-0.002-0.001-0.003-0.002C 341.795,136.579, 341.796,136.579, 341.797,136.58z M 340.646,135.559\n\tc-0.008-0.006-0.015-0.013-0.021-0.019C 340.631,135.546, 340.638,135.552, 340.646,135.559z M 339.446,134.593\n\tc-0.014-0.011-0.027-0.021-0.041-0.032C 339.419,134.571, 339.433,134.582, 339.446,134.593z M 338.189,133.677\n\tc-0.016-0.011-0.031-0.022-0.048-0.034C 338.158,133.654, 338.174,133.666, 338.189,133.677z M 336.877,132.814\n\tc-0.014-0.008-0.027-0.018-0.041-0.026C 336.85,132.797, 336.863,132.806, 336.877,132.814z M 320,284l 66.955,0 \n\tc-1.922,2.723-3.943,5.387-6.043,8L 320,292 L 320,284 z M 320,268l 76.875,0 c 1.423-2.629, 2.771-5.292, 4.041-7.993\n\tc-2.577,5.482-5.479,10.819-8.682,15.993L 320,276 L 320,268 z M 320,260l0-8 l 84.406,0 c-1.090,2.697-2.249,5.366-3.486,8L 320,260 z M 320,244l0-8 l 89.896,0 \n\tc-0.766,2.691-1.603,5.358-2.507,8L 320,244 z M 407.381,244.025c-0.453,1.321-0.923,2.636-1.411,3.944\n\tC 406.457,246.661, 406.928,245.347, 407.381,244.025z M 405.936,248.063c-0.492,1.317-1.001,2.628-1.527,3.932\n\tC 404.935,250.691, 405.443,249.381, 405.936,248.063z M 320,228l0-8 l 93.569,0 c-0.71,4.046-1.578,8.050-2.593,12.008\n\tc 0.342-1.331, 0.667-2.667, 0.974-4.008L 320,228 z M 410.969,232.038c-0.34,1.325-0.698,2.645-1.071,3.959\n\tC 410.271,234.683, 410.628,233.363, 410.969,232.038z M 320,212l0-8 l 95.56,0 c-0.397,5.388-1.064,10.722-1.988,15.989\n\tc 0.464-2.646, 0.864-5.31, 1.196-7.989L 320,212 z M 320,196l0-4 c 5.627,0, 10.912-1.457, 15.506-4.007c-0.004,0.002-0.009,0.005-0.013,0.007\n\tl 80.458,0 c-0.033-1.339-0.082-2.675-0.147-4.008C 415.935,186.65, 416,189.32, 416,192s-0.065,5.35-0.196,8.008\n\tc 0.065-1.333, 0.114-2.669, 0.147-4.008L 320,196 z M 415.798,200.118c-0.064,1.291-0.143,2.58-0.237,3.865\n\tC 415.655,202.697, 415.733,201.409, 415.798,200.118z M 341.797,183.42c-0.001,0.001-0.002,0.001-0.003,0.002\n\tC 341.795,183.421, 341.796,183.421, 341.797,183.42z M 340.646,184.441c-0.008,0.006-0.015,0.013-0.021,0.019\n\tC 340.631,184.454, 340.638,184.448, 340.646,184.441z M 339.446,185.407c-0.014,0.011-0.027,0.021-0.041,0.032\n\tC 339.419,185.429, 339.433,185.418, 339.446,185.407z M 338.189,186.323c-0.016,0.011-0.031,0.022-0.048,0.034\n\tC 338.158,186.346, 338.174,186.334, 338.189,186.323z M 336.877,187.186c-0.014,0.008-0.027,0.018-0.041,0.026\n\tC 336.85,187.203, 336.863,187.194, 336.877,187.186z M 415.561,180.018c 0.095,1.285, 0.173,2.574, 0.237,3.865\n\tC 415.733,182.591, 415.655,181.303, 415.561,180.018z M 392.222,107.98c-0.807-1.302-1.632-2.594-2.476-3.875\n\tC 390.592,105.386, 391.415,106.678, 392.222,107.98z M 346.479,60c-2.087-1.437-4.204-2.822-6.35-4.153\n\tc 7.441,4.617, 14.539,9.872, 21.225,15.738c-1.39-1.219-2.793-2.418-4.218-3.585L 154.863,68 c 3.453-2.827, 7.011-5.489, 10.657-8L 346.479,60 z\n\t M 165.524,59.998c 1.043-0.719, 2.094-1.424, 3.153-2.117C 167.619,58.574, 166.567,59.279, 165.524,59.998z M 168.681,57.879\n\tc 1.055-0.69, 2.117-1.367, 3.187-2.031C 170.798,56.512, 169.735,57.189, 168.681,57.879z M 171.901,55.828\n\tc 1.062-0.659, 2.13-1.305, 3.206-1.937C 174.032,54.523, 172.963,55.169, 171.901,55.828z M 175.158,53.861\n\tc 6.452-3.791, 13.144-7.115, 20.041-9.947c-0.071,0.029-0.143,0.056-0.213,0.085l 122.029,0 c 6.822,2.812, 13.443,6.11, 19.829,9.862\n\tc-1.078-0.634-2.164-1.255-3.256-1.862L 178.412,51.999 C 177.32,52.607, 176.236,53.228, 175.158,53.861z M 336.892,53.89\n\tc 1.078,0.633, 2.148,1.28, 3.212,1.94C 339.040,55.17, 337.97,54.523, 336.892,53.89z M 366.169,75.97c-1.318-1.253-2.66-2.474-4.014-3.676\n\tC 363.509,73.497, 364.851,74.717, 366.169,75.97z M 313.924,42.764c-0.599-0.232-1.202-0.453-1.804-0.678\n\tC 312.722,42.311, 313.325,42.532, 313.924,42.764z M 310.57,41.51c-0.627-0.227-1.258-0.445-1.888-0.665\n\tC 309.312,41.065, 309.943,41.283, 310.57,41.51z M 307.203,40.337c-0.652-0.219-1.306-0.434-1.961-0.645\n\tC 305.897,39.903, 306.551,40.118, 307.203,40.337z M 303.841,39.249c-0.684-0.213-1.368-0.424-2.056-0.628\n\tC 302.473,38.825, 303.157,39.036, 303.841,39.249z M 300.524,38.256c-0.735-0.212-1.47-0.424-2.208-0.625\n\tC 299.055,37.832, 299.789,38.044, 300.524,38.256z M 297.558,37.431c-1.89-0.504-3.789-0.979-5.7-1.415\n\tC 293.769,36.452, 295.668,36.927, 297.558,37.431z M 291.789,36l-71.578,0 c 11.607-2.639, 23.593-4, 35.789-4\n\tC 268.195,32, 280.182,33.361, 291.789,36z M 198.074,42.765c 0.604-0.234, 1.213-0.457, 1.82-0.684\n\tC 199.287,42.308, 198.678,42.531, 198.074,42.765z M 201.427,41.512c 0.63-0.229, 1.264-0.448, 1.897-0.668\n\tC 202.69,41.063, 202.057,41.284, 201.427,41.512z M 204.793,40.338c 0.655-0.22, 1.311-0.436, 1.969-0.647\n\tC 206.105,39.903, 205.448,40.118, 204.793,40.338z M 208.153,39.251c 0.687-0.214, 1.375-0.426, 2.064-0.631\n\tC 209.528,38.825, 208.84,39.037, 208.153,39.251z M 211.467,38.258c 0.739-0.213, 1.478-0.426, 2.22-0.628\n\tC 212.944,37.832, 212.206,38.045, 211.467,38.258z M 214.418,37.438c 1.907-0.51, 3.825-0.989, 5.753-1.428\n\tC 218.243,36.448, 216.326,36.928, 214.418,37.438z M 149.845,72.294c-1.364,1.212-2.716,2.442-4.045,3.706l 220.401,0 \n\tc 0.988,0.94, 1.968,1.894, 2.937,2.863c 1.681,1.68, 3.312,3.396, 4.908,5.137L 137.955,84 c-2.385,2.602-4.672,5.271-6.866,8l 249.822,0 \n\tc-2.19-2.726-4.476-5.392-6.856-7.99c 5.747,6.27, 10.942,12.92, 15.562,19.896c-0.867-1.314-1.753-2.617-2.663-3.906L 125.046,100 \n\tc-0.907,1.286-1.791,2.585-2.656,3.895c 5.903-8.913, 12.74-17.3, 20.472-25.032C 145.133,76.593, 147.466,74.409, 149.845,72.294z\n\t M 154.861,68.002c-1.423,1.165-2.825,2.364-4.213,3.582C 152.036,70.365, 153.438,69.167, 154.861,68.002z M 122.238,104.13\n\tc-0.841,1.28-1.666,2.57-2.471,3.87l 272.468,0 c 3.202,5.173, 6.104,10.508, 8.68,15.989c-1.269-2.699-2.617-5.362-4.039-7.989l-281.75,0 \n\tC 117.316,111.951, 119.69,107.991, 122.238,104.13z M 97.781,167.99c-0.199,1.326-0.381,2.656-0.547,3.991\n\tC 97.4,170.646, 97.583,169.316, 97.781,167.99z M 97.232,172l 65.103,0 c0-0.001-0.001-0.003-0.001-0.004\n\tc 1.176,2.906, 2.765,5.598, 4.697,8.006c0-0.001-0.001-0.001-0.002-0.002L 96.441,180 c-0.196,2.654-0.327,5.322-0.392,8l 80.458,0 \n\tc-0.003-0.002-0.006-0.004-0.010-0.006C 181.091,190.543, 186.375,192, 192,192l0,4 L 96.049,196 c 0.065,2.678, 0.196,5.346, 0.392,8L 192,204 l0,8 L 97.232,212 \n\tc 0.333,2.683, 0.734,5.35, 1.199,8L 192,220 l0,8 l-91.95,0 C 97.379,216.327, 96,204.27, 96,192C 96,185.26, 96.416,178.584, 97.232,172z\n\t M 161.624,170.063c 0.004,0.013, 0.009,0.025, 0.013,0.039C 161.633,170.089, 161.628,170.076, 161.624,170.063z M 168.032,181.191\n\tC 168.032,181.191, 168.032,181.192, 168.032,181.191C 168.032,181.192, 168.032,181.191, 168.032,181.191z M 169.089,182.33\n\tc 0.001,0.001, 0.003,0.003, 0.004,0.004C 169.092,182.333, 169.091,182.332, 169.089,182.33z M 170.196,183.413\n\tc 0.004,0.004, 0.009,0.008, 0.013,0.012C 170.205,183.421, 170.201,183.417, 170.196,183.413z M 171.348,184.436\n\tc 0.010,0.009, 0.020,0.018, 0.030,0.026C 171.368,184.453, 171.358,184.444, 171.348,184.436z M 172.549,185.403\n\tc 0.016,0.012, 0.032,0.025, 0.048,0.038C 172.581,185.428, 172.565,185.415, 172.549,185.403z M 173.811,186.323\n\tc 0.016,0.011, 0.032,0.023, 0.048,0.034C 173.842,186.346, 173.827,186.334, 173.811,186.323z M 175.126,187.187\n\tc 0.013,0.008, 0.025,0.016, 0.038,0.024C 175.151,187.203, 175.139,187.195, 175.126,187.187z M 192,236l0,8 l-87.389,0 \n\tc-0.905-2.642-1.742-5.309-2.507-8L 192,236 z M 102.101,235.99c-0.371-1.307-0.727-2.618-1.065-3.936\n\tC 101.375,233.371, 101.729,234.683, 102.101,235.99z M 101.022,232.002c-0.339-1.322-0.663-2.65-0.967-3.983\n\tC 100.36,229.352, 100.683,230.68, 101.022,232.002z M 106.059,248.047c 0.494,1.324, 1.005,2.642, 1.535,3.953L 192,252 l0,8 l-80.919,0 \n\tc 1.27,2.703, 2.621,5.369, 4.044,8L 192,268 l0,8 l-72.234,0 c 0.803,1.298, 1.626,2.585, 2.466,3.863\n\tC 115.634,269.861, 110.221,259.198, 106.059,248.047z M 104.612,244.003c 0.457,1.335, 0.933,2.664, 1.425,3.985\n\tC 105.544,246.667, 105.069,245.339, 104.612,244.003z M 192,284l0,8 l-60.912,0 c-3.091-3.847-5.994-7.812-8.696-11.892\n\tc 0.864,1.309, 1.747,2.607, 2.653,3.892L 192,284 z M 131.093,292.006c 2.192,2.728, 4.478,5.395, 6.861,7.994L 192,300 l0,8 l-46.199,0 \n\tc 1.406,1.337, 2.835,2.641, 4.281,3.919c-2.462-2.18-4.874-4.435-7.22-6.78C 138.672,300.948, 134.753,296.56, 131.093,292.006z\n\t M 150.393,312.195c 1.474,1.297, 2.967,2.566, 4.48,3.805L 192,316 l0,8 l-26.484,0 c 3.123,2.149, 6.312,4.182, 9.564,6.095\n\tC 166.369,324.973, 158.106,318.99, 150.393,312.195z M 192,332l0,6.729 c-5.782-2.523-11.413-5.397-16.872-8.604\n\tc 1.087,0.639, 2.181,1.264, 3.281,1.876L 192,332.001 z M 304,448l-96,0 c-8.8,0-16-7.2-16-16s 7.2-16, 16-16l 96,0 c 8.8,0, 16,7.2, 16,16S 312.8,448, 304,448\n\tz M 320,332l 13.589,0 c 1.1-0.611, 2.192-1.236, 3.278-1.874c-5.457,3.206-11.087,6.079-16.867,8.603L 320,332 z M 336.939,330.082\n\tc 3.244-1.909, 6.427-3.938, 9.543-6.082L 320,324 l0-8 l 37.126,0 C 350.725,321.238, 343.979,325.941, 336.939,330.082z M 357.126,316\n\tc 1.514-1.239, 3.008-2.509, 4.482-3.807C 360.135,313.492, 358.64,314.761, 357.126,316z M 361.915,311.921\n\tc 1.439-1.272, 2.862-2.57, 4.262-3.9C 364.777,309.351, 363.354,310.647, 361.915,311.921z M 366.199,308L 320,308 l0-8 l 54.047,0 \n\tc-1.597,1.741-3.229,3.458-4.909,5.139C 368.169,306.107, 367.188,307.060, 366.199,308z M 380.906,292.007\n\tc-2.19,2.726-4.474,5.391-6.854,7.988C 376.433,297.397, 378.716,294.732, 380.906,292.007z M 389.774,279.853\n\tc 0.837-1.272, 1.656-2.555, 2.456-3.847C 391.431,277.298, 390.613,278.581, 389.774,279.853z M 386.961,283.991\n\tc 0.903-1.28, 1.783-2.574, 2.644-3.878C 388.742,281.416, 387.864,282.711, 386.961,283.991z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,192C 448,85.961, 362.039,0, 256,0C 149.961,0, 64,85.961, 64,192c0,71.066, 38.613,133.109, 96,166.308L 160,448 l 64,64l 64,0 l 64-64\n\tl0-89.692 C 409.388,325.109, 448,263.066, 448,192z M 304,448l-96,0 c-8.8,0-16-7.2-16-16s 7.2-16, 16-16l 96,0 c 8.8,0, 16,7.2, 16,16\n\tS 312.8,448, 304,448z M 320,338.728L 320,192 c 17.674,0, 32-14.327, 32-32s-14.326-32-32-32s-32,14.327-32,32l0,188.812 \n\tc-10.42,2.104-21.127,3.188-32,3.188c-10.874,0-21.58-1.083-32-3.188L 224,160 c0-17.673-14.327-32-32-32s-32,14.327-32,32\n\ts 14.327,32, 32,32l0,146.728 c-18.103-7.901-34.75-19.203-49.137-33.59C 112.643,274.917, 96,234.738, 96,192\n\tc0-42.737, 16.643-82.917, 46.863-113.137C 173.083,48.643, 213.263,32, 256,32s 82.917,16.643, 113.138,46.863\n\tC 399.357,109.083, 416,149.262, 416,192s-16.643,82.917-46.862,113.138C 354.75,319.524, 338.103,330.826, 320,338.728z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skull, skeleton, death, danger\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 132.288,0, 32,93.125, 32,208c0,70.68, 37.974,143.113, 96,180.701l0,99.747 C 165.655,503.425, 209.37,512, 256,512\n\t\tc 46.631,0, 90.345-8.575, 128-23.552l0-99.747 C 442.026,351.113, 480,278.68, 480,208C 480,93.125, 379.712,0, 256,0z M 366.603,361.844\n\t\tL 352,371.303l0,17.398 l0,77.137 c-10.353,3.219-21.056,5.894-32,8.031L 320,384 l-32,0 l0,94.488 c-10.559,0.998-21.25,1.512-32,1.512\n\t\tc-10.75,0-21.441-0.514-32-1.512L 224,384 l-32,0 l0,89.869 c-10.944-2.138-21.647-4.812-32-8.031l0-77.137 l0-17.398 l-14.603-9.459\n\t\tc-23.808-15.422-44.167-38.263-58.875-66.053C 71.789,267.95, 64,237.593, 64,208c0-46.56, 19.668-90.466, 55.383-123.629\n\t\tc 17.626-16.367, 38.191-29.233, 61.125-38.24C 204.381,36.754, 229.78,32, 256,32s 51.619,4.754, 75.493,14.131\n\t\tc 22.933,9.007, 43.498,21.873, 61.124,38.24C 428.331,117.534, 448,161.44, 448,208c0,29.593-7.788,59.95-22.523,87.791\n\t\tC 410.769,323.581, 390.41,346.422, 366.603,361.844zM 139.864,137.409c-31.363,16.3-35.877,44.583-23.652,68.105s 41.561,35.377, 72.924,19.076\n\t\tc 31.363-16.3, 43.364-43.271, 31.652-74.105C 211.375,125.703, 171.227,121.108, 139.864,137.409zM 373.107,137.409c-31.363-16.301-71.512-11.706-80.925,13.076c-11.712,30.834, 0.289,57.805, 31.651,74.105\n\t\tc 31.363,16.301, 60.699,4.446, 72.925-19.076S 404.47,153.709, 373.107,137.409zM 297.167,294.917c0,13.852,0,25.083-41.279,25.083c-39.733,0-41.279-11.231-41.279-25.083s 18.481-25.083, 41.279-25.083\n\tC 278.686,269.834, 297.167,281.065, 297.167,294.917z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skull, skeleton, death, danger\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 132.288,0, 32,93.125, 32,208c0,70.68, 37.974,143.113, 96,180.701l0,99.747 C 165.655,503.425, 209.37,512, 256,512\n\t\tc 46.631,0, 90.345-8.575, 128-23.552l0-99.747 C 442.026,351.113, 480,278.68, 480,208C 480,93.125, 379.712,0, 256,0z M 366.603,361.844\n\t\tL 352,371.303l0,17.398 l0,77.137 c-10.353,3.219-21.056,5.894-32,8.031L 320,384 l-32,0 l0,94.488 c-10.559,0.998-21.25,1.512-32,1.512\n\t\tc-10.75,0-21.441-0.514-32-1.512L 224,384 l-32,0 l0,89.869 c-10.944-2.138-21.647-4.812-32-8.031l0-77.137 l0-17.398 l-14.603-9.459\n\t\tc-23.808-15.422-44.167-38.263-58.875-66.053C 71.789,267.95, 64,237.593, 64,208c0-46.56, 19.668-90.466, 55.383-123.629\n\t\tc 17.626-16.367, 38.191-29.233, 61.125-38.24C 204.381,36.754, 229.78,32, 256,32s 51.619,4.754, 75.493,14.131\n\t\tc 22.933,9.007, 43.498,21.873, 61.124,38.24C 428.331,117.534, 448,161.44, 448,208c0,29.593-7.788,59.95-22.523,87.791\n\t\tC 410.769,323.581, 390.41,346.422, 366.603,361.844zM 139.864,137.409c-31.363,16.3-35.877,44.583-23.652,68.105s 41.561,35.377, 72.924,19.076\n\t\tc 31.363-16.3, 43.364-43.271, 31.652-74.105C 211.375,125.703, 171.227,121.108, 139.864,137.409zM 373.107,137.409c-31.363-16.301-71.512-11.706-80.925,13.076c-11.712,30.834, 0.289,57.805, 31.651,74.105\n\t\tc 31.363,16.301, 60.699,4.446, 72.925-19.076S 404.47,153.709, 373.107,137.409z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skull, dangerous, death, skeleton\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,107.452,0,240c0,2.541, 0.047,5.070, 0.131,7.594C 107.971,273.672, 124.405,266.656, 128,375.083\n\t\tc 20.494,4.957, 105.853,12.714, 128,12.714c 22.146,0, 107.505-7.757, 128-12.714c 3.595-108.427, 20.027-101.411, 127.866-127.489\n\t\tC 511.95,245.073, 512,242.541, 512,240C 512,107.452, 397.385,0, 256,0z M 208,181.333C 208,204.8, 188.8,224, 165.332,224l-26.666,0 \n\t\tC 115.199,224, 96,204.8, 96,181.333l0-10.666 C 96,147.2, 115.199,128, 138.666,128l 26.666,0 C 188.8,128, 208,147.2, 208,170.667L 208,181.333 z\n\t\t M 276,328l-40,0 c-11,0-17.817-8.73-15.149-19.402l 10.299-41.193C 233.817,256.73, 245,248, 256,248s 22.183,8.73, 24.85,19.402\n\t\tl 10.3,41.193C 293.818,319.27, 287,328, 276,328z M 416,181.333C 416,204.8, 396.8,224, 373.331,224l-26.665,0 \n\t\tC 323.198,224, 304,204.8, 304,181.333l0-10.666 C 304,147.2, 323.198,128, 346.665,128l 26.666,0 C 396.8,128, 416,147.2, 416,170.667L 416,181.333 zM 224,427.020L 224,480 l 64,0 l0-52.98 c-13.891,1.045-25.595,1.694-32,1.694C 249.592,428.714, 237.889,428.063, 224,427.020zM 320,480l 64-12.947L 384,416 c-10.327,2.497-37.122,5.705-64,8.274L 320,480 zM 128,467.053L 192,480l0-55.726 c-26.879-2.569-53.674-5.777-64-8.274L 128,467.053 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dumbbell, fitness, gym, exercise\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 72,128L 56,128 c-4.4,0-8,3.6-8,8l0,240 c0,4.4, 3.6,8, 8,8l 16,0 c 4.4,0, 8-3.6, 8-8L 80,136 C 80,131.6, 76.4,128, 72,128zM 24,192L 8,192 c-4.4,0-8,2.4-8,5.333l0,117.333 C0,317.601, 3.6,320, 8,320l 16,0 c 4.4,0, 8-2.399, 8-5.333L 32,197.333 \n\t\tC 32,194.4, 28.4,192, 24,192zM 400,96l-32,0 c-8.8,0-16,7.2-16,16l0,112 L 160,224 L 160,112 c0-8.8-7.2-16-16-16l-32,0 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 32,0 \n\t\tc 8.8,0, 16-7.2, 16-16L 160,288 l 192,0 l0,112 c0,8.8, 7.2,16, 16,16l 32,0 c 8.8,0, 16-7.2, 16-16L 416,112 C 416,103.2, 408.8,96, 400,96zM 456,128l-16,0 c-4.4,0-8,3.6-8,8l0,240 c0,4.4, 3.6,8, 8,8l 16,0 c 4.4,0, 8-3.6, 8-8L 464,136 C 464,131.6, 460.4,128, 456,128zM 504,192l-16,0 c-4.4,0-8,2.4-8,5.333l0,117.333 c0,2.934, 3.6,5.333, 8,5.333l 16,0 c 4.4,0, 8-2.399, 8-5.333L 512,197.333 \n\t\tC 512,194.4, 508.4,192, 504,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.751,13.271L 427.454,0L 304,0 l 3.301,18.771c 11.173,63.55, 37.161,218.268, 37.161,282.229c0,49.075-39.684,89-88.462,89\n\tc-48.778,0-88.461-39.925-88.461-89c0-63.963, 25.988-218.68, 37.162-282.229L 208,0L 84.546,0 l-2.297,13.271\n\tC 68.711,91.482, 46,232.864, 46,301c0,116.346, 94.206,211, 210,211c 115.794,0, 210-94.654, 210-211\n\tC 466,232.867, 443.289,91.484, 429.751,13.271z M 434,301c0,2.346-0.060,4.677-0.148,7l-57.597,0 c 0.133-2.317, 0.207-4.65, 0.207-7\n\tc0-0.326-0.006-0.67-0.007-1l 57.539,0 C 433.995,300.33, 434,300.674, 434,301z M 191.935,468c-6.042-2.353-11.927-5.023-17.631-8l 163.393,0 \n\tc-5.704,2.977-11.589,5.647-17.631,8L 191.935,468 z M 293.454,476c-12.081,2.612-24.608,4-37.454,4s-25.373-1.388-37.454-4L 293.454,476 z\n\t M 160.51,452c-3.924-2.519-7.744-5.188-11.451-8l 213.883,0 c-3.708,2.812-7.526,5.481-11.451,8L 160.51,452 z M 139.243,436\n\tc-2.938-2.572-5.789-5.242-8.553-8l 250.621,0 c-2.765,2.758-5.616,5.428-8.554,8L 139.243,436 z M 78,301c0-0.326, 0.005-0.67, 0.006-1l 57.539,0 \n\tc-0.001,0.33-0.007,0.674-0.007,1c0,2.35, 0.074,4.683, 0.207,7L 78.149,308 C 78.060,305.677, 78,303.346, 78,301z M 154.256,128\n\tc-0.203,1.332-0.404,2.666-0.606,4L 95.489,132 c 0.198-1.334, 0.395-2.669, 0.594-4L 154.256,128 z M 152.447,140c-0.397,2.666-0.791,5.333-1.182,8\n\tL 93.156,148 c 0.382-2.668, 0.767-5.335, 1.156-8L 152.447,140 z M 150.102,156c-0.385,2.67-0.767,5.338-1.144,8L 90.902,164 \n\tc 0.368-2.664, 0.741-5.331, 1.117-8L 150.102,156 z M 147.836,172c-0.371,2.676-0.736,5.341-1.097,8L 88.741,180 c 0.351-2.66, 0.707-5.326, 1.069-8\n\tL 147.836,172 z M 145.665,188c-0.355,2.679-0.705,5.348-1.047,8L 86.682,196 c 0.333-2.655, 0.67-5.321, 1.015-8L 145.665,188 z M 143.603,204\n\tc-0.336,2.685-0.666,5.354-0.986,8L 84.743,212 c 0.309-2.647, 0.629-5.318, 0.955-8L 143.603,204 z M 141.667,220c-0.313,2.693-0.617,5.358-0.911,8\n\tL 82.949,228 c 0.283-2.642, 0.576-5.311, 0.878-8L 141.667,220 z M 139.886,236c-0.286,2.704-0.557,5.365-0.818,8L 81.329,244 \n\tc 0.25-2.635, 0.512-5.301, 0.786-8L 139.886,236 z M 138.299,252c-0.25,2.716-0.482,5.377-0.701,8L 79.929,260 c 0.208-2.623, 0.431-5.291, 0.668-8\n\tL 138.299,252 z M 136.968,268c-0.201,2.727-0.386,5.4-0.546,8L 78.82,276 c 0.151-2.604, 0.324-5.278, 0.514-8L 136.968,268 z M 135.986,284\n\tc-0.13,2.76-0.232,5.427-0.306,8L 78.129,292 c 0.068-2.583, 0.162-5.248, 0.282-8L 135.986,284 z M 136.464,316c 0.333,2.695, 0.76,5.362, 1.267,8\n\tL 79.465,324 c-0.339-2.648-0.612-5.317-0.835-8L 136.464,316 z M 139.553,332c 0.714,2.704, 1.515,5.373, 2.408,8L 82.268,340 \n\tc-0.587-2.646-1.12-5.312-1.589-8L 139.553,332 z M 144.998,348c 1.146,2.719, 2.387,5.387, 3.72,8l-62.11,0 c-0.85-2.641-1.64-5.308-2.369-8\n\tL 144.998,348 z M 153.192,364c 1.671,2.741, 3.451,5.408, 5.328,8L 92.617,372 c-1.137-2.635-2.211-5.302-3.224-8L 153.192,364 z M 164.83,380\n\tc 2.392,2.781, 4.91,5.448, 7.541,8l-71.882,0 c-1.459-2.627-2.854-5.294-4.184-8L 164.83,380 z M 181.477,396c 3.63,2.879, 7.43,5.549, 11.378,8\n\tl-82.352,0 c-1.836-2.615-3.6-5.284-5.297-8L 181.477,396 z M 208.074,412c 8.256,3.61, 16.989,6.32, 26.077,8L 123.155,420 \n\tc-2.307-2.602-4.543-5.267-6.697-8L 208.074,412 z M 277.849,420c 9.089-1.68, 17.821-4.39, 26.077-8l 91.616,0 c-2.154,2.733-4.391,5.398-6.697,8\n\tL 277.849,420 z M 319.146,404c 3.948-2.451, 7.749-5.121, 11.378-8l 76.271,0 c-1.697,2.716-3.461,5.385-5.297,8L 319.146,404 z M 339.631,388\n\tc 2.63-2.552, 5.148-5.219, 7.54-8l 68.524,0 c-1.329,2.706-2.725,5.373-4.184,8L 339.631,388 z M 353.48,372c 1.876-2.592, 3.656-5.259, 5.327-8\n\tl 63.799,0 c-1.012,2.698-2.087,5.365-3.224,8L 353.48,372 z M 376.015,284l 57.574,0 c 0.121,2.752, 0.214,5.417, 0.282,8L 376.32,292 \n\tC 376.247,289.426, 376.146,286.76, 376.015,284z M 375.579,276c-0.161-2.6-0.346-5.273-0.546-8l 57.633,0 c 0.189,2.722, 0.363,5.396, 0.514,8\n\tL 375.579,276 z M 374.402,260c-0.22-2.623-0.451-5.284-0.701-8l 57.701,0 c 0.237,2.709, 0.461,5.377, 0.669,8L 374.402,260 z M 372.933,244\n\tc-0.262-2.635-0.532-5.296-0.818-8l 57.771,0 c 0.273,2.699, 0.536,5.365, 0.786,8L 372.933,244 z M 371.244,228c-0.294-2.642-0.598-5.307-0.911-8\n\tl 57.839,0 c 0.303,2.689, 0.596,5.358, 0.879,8L 371.244,228 z M 369.384,212c-0.32-2.646-0.65-5.315-0.986-8l 57.905,0 \n\tc 0.325,2.682, 0.646,5.353, 0.955,8L 369.384,212 z M 367.382,196c-0.342-2.652-0.691-5.321-1.047-8l 57.968,0 c 0.346,2.679, 0.683,5.345, 1.015,8\n\tL 367.382,196 z M 365.262,180c-0.361-2.659-0.727-5.324-1.098-8l 58.026,0 c 0.361,2.674, 0.717,5.34, 1.068,8L 365.262,180 z M 363.043,164\n\tc-0.377-2.662-0.76-5.33-1.145-8l 58.082,0 c 0.376,2.669, 0.749,5.336, 1.117,8L 363.043,164 z M 360.735,148c-0.392-2.667-0.785-5.334-1.183-8\n\tl 58.135,0 c 0.389,2.665, 0.773,5.332, 1.156,8L 360.735,148 z M 358.351,132c-0.202-1.334-0.403-2.668-0.606-4l 58.173,0 \n\tc 0.198,1.331, 0.396,2.666, 0.594,4L 358.351,132 z M 363.283,356c 1.333-2.613, 2.574-5.281, 3.719-8l 60.76,0 c-0.729,2.692-1.52,5.359-2.369,8\n\tL 363.283,356 z M 370.040,340c 0.893-2.627, 1.694-5.296, 2.408-8l 58.873,0 c-0.469,2.688-1.002,5.354-1.589,8L 370.040,340 z M 374.27,324\n\tc 0.508-2.638, 0.934-5.305, 1.268-8l 57.832,0 c-0.222,2.683-0.495,5.352-0.834,8L 374.27,324 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.751,13.271L 427.454,0L 304,0 l 3.301,18.771c 11.173,63.55, 37.161,218.268, 37.161,282.229c0,49.075-39.684,89-88.462,89\n\tc-48.778,0-88.461-39.925-88.461-89c0-63.963, 25.988-218.68, 37.162-282.229L 208,0L 84.546,0 l-2.297,13.271\n\tC 68.711,91.482, 46,232.864, 46,301c0,116.346, 94.206,211, 210,211c 115.794,0, 210-94.654, 210-211\n\tC 466,232.867, 443.289,91.484, 429.751,13.271z M 342.086,32L 400.5,32 c 4.718,27.656, 10.235,61.294, 15.417,96l-58.173,0 \n\tC 352.52,93.702, 346.945,60.168, 342.086,32z M 169.914,32c-4.859,28.168-10.433,61.702-15.658,96L 96.083,128 \n\tc 5.181-34.706, 10.699-68.344, 15.417-96L 169.914,32 z M 256,480c-98.149,0-178-80.299-178-179c0-33.735, 5.904-86.849, 13.457-141l 58.069,0 \n\tc-7.865,55.027-13.988,108.347-13.988,141c0,66.72, 54.039,121, 120.461,121c 66.423,0, 120.462-54.28, 120.462-121\n\tc0-32.652-6.123-85.973-13.988-141l 58.069,0 C 428.096,214.152, 434,267.266, 434,301C 434,399.701, 354.149,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.751,13.271L 427.454,0L 304,0 l 3.301,18.771c 11.173,63.55, 37.161,218.268, 37.161,282.229c0,49.075-39.684,89-88.462,89\n\tc-48.778,0-88.461-39.925-88.461-89c0-63.963, 25.988-218.68, 37.162-282.229L 208,0L 84.546,0 l-2.297,13.271\n\tC 68.711,91.482, 46,232.864, 46,301c0,116.346, 94.206,211, 210,211c 115.794,0, 210-94.654, 210-211\n\tC 466,232.867, 443.289,91.484, 429.751,13.271z M 256,480c-98.149,0-178-80.299-178-179c0-40.386, 8.46-108.538, 18.083-173l 58.173,0 \n\tc-9.997,65.617-18.717,134.028-18.717,173c0,66.72, 54.039,121, 120.461,121c 66.423,0, 120.462-54.28, 120.462-121\n\tc0-38.971-8.721-107.382-18.718-173l 58.173,0 C 425.54,192.463, 434,260.616, 434,301C 434,399.701, 354.149,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 512,0L 512,128L 384,128zM 384,160l0,96 c0,70.692-57.308,128-128,128s-128-57.308-128-128l0-96 L0,160 l0,96 c0,141.385, 114.615,256, 256,256s 256-114.615, 256-256\n\t\tl0-96 L 384,160 zM0,0L 128,0L 128,128L0,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"atom, nuclear\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 415.962,103.352L 415.962,103.352L 415.962,103.352z M 417.025,256c 52.192-49.905, 77.541-98.79, 60.677-128\n\tc-9.63-16.678-31.68-24.648-61.74-24.648l0,24 c 21.072,0, 36.383,4.729, 40.956,12.648c 3.609,6.252, 1.6,15.865-0.723,22.829\n\tc-4.453,13.355-14.144,29.332-28.021,46.202c-8.424,10.239-18.135,20.561-28.937,30.821c-14.882-12.849-31.438-25.629-49.398-38.029\n\tc-1.757-21.74-4.545-42.458-8.229-61.759c 28.095-8.333, 53.593-12.709, 74.341-12.711l 0.011-24c-0.004,0-0.009,0-0.013,0\n\tc-22.587,0.002-49.698,4.516-79.437,13.202C 319.392,46.396, 289.729,0, 256,0c-33.729,0-63.392,46.396-80.514,116.551\n\tc-29.737-8.686-56.849-13.199-79.436-13.199c-30.060,0-52.124,7.971-61.753,24.648c-16.865,29.21, 8.483,78.095, 60.676,128\n\tc-52.193,49.904-77.541,98.79-60.676,128c 9.63,16.68, 31.685,24.647, 61.753,24.647c 22.586,0, 49.698-4.515, 79.436-13.2\n\tC 192.608,465.604, 222.27,512, 256,512c 33.729,0, 63.392-46.396, 80.514-116.551c 29.737,8.687, 56.85,13.199, 79.437,13.199\n\tc 30.060,0, 52.124-7.972, 61.753-24.648C 494.566,354.791, 469.219,305.904, 417.025,256z M 381.271,256\n\tc-9.31,7.938-19.227,15.792-29.679,23.494C 351.857,271.756, 352,263.923, 352,256c0-7.922-0.143-15.755-0.406-23.494\n\tC 362.046,240.208, 371.963,248.062, 381.271,256z M 318.646,364.434c-11.527-4.098-23.281-8.76-35.135-13.934\n\tc 6.813-3.631, 13.647-7.412, 20.487-11.361c 6.861-3.961, 13.573-8, 20.144-12.099C 322.701,339.923, 320.861,352.42, 318.646,364.434z\n\t M 292,318.354c-11.891,6.864-23.938,13.315-36,19.308c-12.062-5.991-24.11-12.442-36-19.308\n\tc-11.988-6.922-23.596-14.113-34.749-21.506C 184.426,283.492, 184,269.843, 184,256s 0.426-27.492, 1.251-40.847\n\tc 11.153-7.393, 22.761-14.585, 34.749-21.507c 11.89-6.864, 23.938-13.315, 36-19.307c 12.062,5.991, 24.109,12.442, 36,19.307\n\tc 11.988,6.921, 23.596,14.115, 34.749,21.507C 327.574,228.508, 328,242.157, 328,256s-0.426,27.492-1.251,40.848\n\tC 315.596,304.24, 303.988,311.434, 292,318.354z M 187.856,327.040c 6.57,4.099, 13.282,8.138, 20.144,12.099\n\tc 6.84,3.949, 13.673,7.73, 20.487,11.361c-11.852,5.174-23.607,9.835-35.133,13.932C 191.139,352.419, 189.298,339.922, 187.856,327.040z\n\t M 160.406,279.495c-10.452-7.703-20.37-15.558-29.679-23.495c 9.309-7.938, 19.227-15.792, 29.679-23.495\n\tC 160.142,240.245, 160,248.077, 160,256S 160.142,271.756, 160.406,279.495z M 193.354,147.568c 11.526,4.097, 23.281,8.759, 35.133,13.932\n\tc-6.813,3.631-13.647,7.412-20.487,11.361c-6.861,3.961-13.573,8.001-20.144,12.099\n\tC 189.298,172.078, 191.139,159.581, 193.354,147.568z M 304,172.861c-6.84-3.949-13.673-7.73-20.486-11.361\n\tc 11.853-5.173, 23.606-9.834, 35.134-13.931c 2.215,12.012, 4.055,24.508, 5.496,37.391C 317.573,180.862, 310.861,176.823, 304,172.861z\n\t M 210.59,83.408c 7.67-20.454, 16.661-36.834, 26.001-47.368C 241.46,30.547, 248.78,24, 256,24c 7.221,0, 14.539,6.547, 19.409,12.040\n\tc 9.34,10.534, 18.329,26.914, 26.001,47.368c 4.656,12.417, 8.739,25.989, 12.225,40.476c-18.568,6.463-37.916,14.412-57.634,23.766\n\tc-19.719-9.355-39.066-17.304-57.635-23.768C 201.851,109.396, 205.934,95.824, 210.59,83.408z M 83.825,209.031\n\tc-13.878-16.87-23.568-32.846-28.021-46.202c-2.322-6.963-4.332-16.577-0.722-22.829c 4.572-7.919, 19.888-12.647, 40.969-12.648l 0.002,0 \n\tc 20.746,0, 46.243,4.376, 74.337,12.709c-3.684,19.302-6.471,40.020-8.228,61.761c-17.96,12.399-34.518,25.18-49.4,38.029\n\tC 101.96,229.591, 92.249,219.27, 83.825,209.031z M 96.050,384.646c-21.081,0-36.396-4.728-40.968-12.646\n\tc-3.61-6.252-1.6-15.865, 0.722-22.829c 4.453-13.354, 14.143-29.331, 28.021-46.2c 8.424-10.24, 18.135-20.562, 28.937-30.822\n\tc 14.881,12.851, 31.439,25.631, 49.399,38.029c 1.757,21.741, 4.544,42.458, 8.228,61.762C 142.294,380.271, 116.797,384.646, 96.050,384.646\n\tz M 301.41,428.592c-7.671,20.455-16.661,36.834-26.001,47.369C 270.539,481.453, 263.221,488, 256,488\n\tc-7.22,0-14.54-6.547-19.409-12.039c-9.34-10.535-18.331-26.914-26.001-47.368c-4.656-12.417-8.739-25.989-12.225-40.476\n\tc 18.569-6.465, 37.916-14.412, 57.634-23.768c 19.72,9.355, 39.065,17.305, 57.635,23.769\n\tC 310.148,402.604, 306.066,416.176, 301.41,428.592z M 456.195,349.172c 2.321,6.963, 4.332,16.576, 0.723,22.828\n\tc-4.573,7.92-19.889,12.648-40.969,12.648c-20.748,0-46.245-4.377-74.339-12.709c 3.684-19.303, 6.472-40.021, 8.229-61.762\n\tc 17.96-12.4, 34.518-25.181, 49.398-38.029c 10.802,10.261, 20.513,20.582, 28.937,30.82C 442.053,319.84, 451.742,335.816, 456.195,349.172\n\tzM 216,256A40,40 4680 1 1 296,256A40,40 4680 1 1 216,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"atom, science\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 415.962,103.352L 415.962,103.352L 415.962,103.352 \tzM 417.025,256c 52.193-49.905, 77.541-98.79, 60.677-128c-9.63-16.678-31.68-24.648-61.74-24.648l0,24 \n\t\tc 21.072,0, 36.383,4.729, 40.956,12.648c 3.609,6.252, 1.6,15.865-0.723,22.829c-4.453,13.355-14.143,29.332-28.021,46.202\n\t\tc-8.424,10.239-18.135,20.561-28.937,30.821c-14.882-12.849-31.438-25.629-49.398-38.029c-1.757-21.74-4.545-42.458-8.229-61.759\n\t\tc 28.095-8.333, 53.593-12.709, 74.341-12.711l 0.011-24c-0.004,0-0.009,0-0.013,0c-22.587,0.002-49.698,4.516-79.436,13.202\n\t\tC 319.392,46.396, 289.729,0, 256,0s-63.392,46.396-80.514,116.551c-29.737-8.686-56.849-13.199-79.436-13.199\n\t\tc-30.060,0-52.124,7.971-61.753,24.648c-16.865,29.21, 8.483,78.095, 60.676,128c-52.193,49.905-77.541,98.79-60.676,128\n\t\tc 9.63,16.68, 31.685,24.647, 61.753,24.647c 22.586,0, 49.698-4.514, 79.436-13.2C 192.608,465.604, 222.27,512, 256,512\n\t\tc 33.729,0, 63.392-46.396, 80.514-116.551c 29.737,8.687, 56.849,13.199, 79.436,13.199c 30.060,0, 52.124-7.971, 61.753-24.648\n\t\tC 494.566,354.791, 469.219,305.905, 417.025,256z M 381.271,256c-9.309,7.938-19.226,15.792-29.678,23.494\n\t\tC 351.857,271.756, 352,263.923, 352,256c0-7.922-0.143-15.755-0.406-23.494C 362.046,240.208, 371.963,248.062, 381.271,256z\n\t\t M 318.646,364.433c-11.527-4.097-23.281-8.759-35.134-13.933c 6.813-3.631, 13.647-7.412, 20.487-11.361\n\t\tc 6.861-3.961, 13.573-8.001, 20.144-12.099C 322.701,339.923, 320.861,352.42, 318.646,364.433z M 292,318.354\n\t\tc-11.89,6.864-23.938,13.315-36,19.307c-12.062-5.991-24.11-12.442-36-19.307c-11.988-6.922-23.596-14.114-34.749-21.507\n\t\tC 184.426,283.492, 184,269.843, 184,256c0-13.843, 0.426-27.492, 1.251-40.847c 11.153-7.393, 22.761-14.585, 34.749-21.507\n\t\tc 11.89-6.864, 23.938-13.315, 36-19.307c 12.062,5.991, 24.11,12.442, 36,19.307c 11.988,6.921, 23.596,14.115, 34.749,21.507\n\t\tC 327.574,228.508, 328,242.157, 328,256s-0.426,27.492-1.251,40.848C 315.596,304.24, 303.988,311.433, 292,318.354z M 187.856,327.040\n\t\tc 6.57,4.098, 13.282,8.138, 20.144,12.099c 6.84,3.949, 13.673,7.73, 20.487,11.361c-11.852,5.174-23.607,9.835-35.133,13.932\n\t\tC 191.139,352.419, 189.298,339.922, 187.856,327.040z M 160.406,279.495c-10.452-7.703-20.37-15.558-29.679-23.495\n\t\tc 9.309-7.938, 19.227-15.792, 29.679-23.495C 160.142,240.245, 160,248.077, 160,256S 160.142,271.756, 160.406,279.495z M 193.354,147.568\n\t\tc 11.526,4.097, 23.281,8.759, 35.133,13.932c-6.813,3.631-13.647,7.412-20.487,11.361c-6.861,3.961-13.573,8.001-20.144,12.099\n\t\tC 189.298,172.078, 191.139,159.581, 193.354,147.568z M 304,172.861c-6.84-3.949-13.673-7.73-20.486-11.361\n\t\tc 11.852-5.173, 23.606-9.834, 35.133-13.931c 2.215,12.012, 4.055,24.508, 5.497,37.391C 317.573,180.862, 310.861,176.823, 304,172.861z\n\t\t M 210.59,83.408c 7.67-20.454, 16.661-36.834, 26.001-47.368C 241.46,30.547, 248.78,24, 256,24s 14.539,6.547, 19.409,12.040\n\t\tc 9.34,10.534, 18.33,26.914, 26.001,47.368c 4.656,12.417, 8.739,25.989, 12.225,40.476c-18.569,6.463-37.916,14.412-57.634,23.766\n\t\tc-19.719-9.355-39.066-17.304-57.635-23.768C 201.851,109.396, 205.934,95.824, 210.59,83.408z M 83.825,209.031\n\t\tc-13.878-16.87-23.568-32.846-28.021-46.202c-2.322-6.963-4.332-16.577-0.722-22.829c 4.572-7.919, 19.888-12.647, 40.969-12.648\n\t\tl 0.002,0 c 20.746,0, 46.243,4.376, 74.337,12.709c-3.684,19.302-6.471,40.020-8.228,61.761c-17.96,12.399-34.518,25.18-49.4,38.029\n\t\tC 101.96,229.591, 92.249,219.27, 83.825,209.031z M 96.050,384.647c-21.081,0-36.396-4.728-40.968-12.647\n\t\tc-3.61-6.252-1.6-15.865, 0.722-22.829c 4.453-13.355, 14.143-29.331, 28.021-46.201c 8.424-10.239, 18.135-20.561, 28.937-30.821\n\t\tc 14.881,12.85, 31.439,25.63, 49.399,38.029c 1.757,21.741, 4.544,42.458, 8.228,61.761C 142.294,380.271, 116.797,384.647, 96.050,384.647z\n\t\t M 301.41,428.592c-7.671,20.455-16.661,36.834-26.001,47.369C 270.539,481.453, 263.22,488, 256,488s-14.54-6.547-19.409-12.039\n\t\tc-9.34-10.535-18.331-26.914-26.001-47.368c-4.656-12.417-8.739-25.989-12.225-40.476c 18.569-6.464, 37.916-14.412, 57.634-23.767\n\t\tc 19.72,9.355, 39.066,17.305, 57.635,23.768C 310.148,402.604, 306.066,416.176, 301.41,428.592z M 456.195,349.172\n\t\tc 2.322,6.963, 4.332,16.576, 0.723,22.828c-4.573,7.92-19.889,12.648-40.969,12.648c-20.748,0-46.245-4.376-74.339-12.709\n\t\tc 3.684-19.303, 6.472-40.021, 8.229-61.762c 17.96-12.399, 34.517-25.18, 49.398-38.028c 10.802,10.26, 20.513,20.581, 28.937,30.82\n\t\tC 442.053,319.84, 451.742,335.816, 456.195,349.172z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lab, beta, test, experiment\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 478.145,402.241L 320,138.729L 320,32 l 16,0 c 8.8,0, 16-7.2, 16-16s-7.2-16-16-16L 176,0 c-8.8,0-16,7.2-16,16s 7.2,16, 16,16l 16,0 l0,106.729 \n\tL 33.856,402.241C-2.365,462.608, 25.6,512, 96,512l 320,0 C 486.4,512, 514.365,462.608, 478.145,402.241z M 120.519,320L 224,147.531L 224,32 l 64,0 \n\tl0,115.531 L 391.482,320L 120.519,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fire, flame, hot, popular\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160.504,512 C 126.381,440.996 144.553,400.311 170.779,361.978 C 199.499,320 206.901,278.445 206.901,278.445 C 206.901,278.445 229.478,307.795 220.447,353.699 C 260.333,309.299 267.859,238.559 261.838,211.467 C 351.995,274.473 390.526,410.895 338.599,512 C 614.785,355.734 407.298,121.914 371.176,95.575 C 383.217,121.913 385.5,166.5 361.176,188.138 C 320,32 218.19,0 218.19,0 C 230.231,80.522 174.542,168.572 120.842,234.365 C 118.955,202.257 116.951,180.101 100.067,149.375 C 96.277,207.703 51.701,255.249 39.63,313.689 C 23.279,392.832 51.878,450.779 160.504,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fire, flame, hot, popular\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 296.146,512c 49.775-35.92, 81.064-82.854, 84.13-141.004c-15.867,31.84-48.576,41.795-48.576,41.795\n\tc 17.523-45.572-5.688-121.602-86.047-152.889c 22.758,49.777, 6.575,80.855,0,91.73c-18.491-40.533-54.67-54.252-54.67-54.252\n\ts 35.471,146.695-49.155,79.137C 134.716,444.076, 229.545,512, 229.545,512c-56.091,0-217.339-25.322-192.802-225.137\n\tc 40.374,43.432, 66.602,45.572, 66.602,45.572c 14.024-59.596, 13.769-117.822-21.033-143.725c 39.608-8.463, 77.123,14.022, 87.64,45.571\n\tc 28.045-31.551, 16.68-113.053-18.167-140.073c 40.535,2.13, 69.060,34.021, 77.762,55.94c 24.441-39.584, 31.043-89.361,0-150.149\n\tc 73,52.968, 77.265,104.166, 84.13,171.183c 50.887-56.343, 92.888-52.766, 93.402-52.795c-47.646,57.6-39.822,140.802-19.91,172.8\n\tc 54.759-20.623, 71.11-58.31, 71.11-58.31S 560.686,512, 296.146,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bomb, explosive, destroy, detonate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32 L 512,45.254 L 493.255,64 L 512,82.746 L 512,96 L 480,96 L 480,128 L 466.745,128 L 448,109.255 L 429.254,128 L 415.999,128 L 415.999,96 L 383.999,96 L 383.999,95.624 C 377.494,95.395 371.286,94.093 365.348,91.671 C 350.538,85.631 340.384,74.143 330.566,63.034 C 320.893,52.090 311.756,41.753 298.94,37.481 C 282.77,32.090 260.329,27.943 245.27,38.797 C 238.147,43.931 232.748,52.448 229.169,64 L 232,64 C 245.2,64 256,74.8 256,88 L 256,101.577 C 347.732,123.247 416,205.647 416,304 C 416,418.875 322.875,512 208,512 C 93.125,512 0,418.875 0,304 C 0,205.647 68.268,123.247 160,101.577 L 160,88 C 160,74.8 170.8,64 184,64 L 196.080,64 C 201.292,40.842 211.481,23.706 226.56,12.837 C 247.174-2.022 275.704-3.996 309.060,7.123 C 330.037,14.115 343.057,28.846 354.543,41.842 C 369.721,59.016 378.284,68.705 399.795,61.050 L 384,45.254 L 384,32 L 416,32 L 416,0 L 429.255,0 L 448,18.745 L 466.745,0 L 480,0 L 480,32 L 512,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"balance, justice, legal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 28.302,224L 80,141.283L 131.698,224L 160,224L 80,96L0,224 \tzM 128,320L 160,288L 160,256L0,256L0,288L 32,320 \tzM 348.302,224L 400,141.283L 451.698,224L 480,224L 400,96L 320,224 \tzM 320,288L 352,320L 448,320L 480,288L 480,256L 320,256 \tzM 256,416L 256,125.258 c 13.635-4.821, 24.438-15.623, 29.258-29.258L 400,96 l 16,0 L 416,64 L 285.258,64 C 278.667,45.359, 260.899,32, 240,32\n\t\tc-20.898,0-38.667,13.359-45.258,32L 64,64 l0,32 l 16,0 l 114.742,0 c 4.821,13.635, 15.623,24.437, 29.258,29.258L 224,416 L 64,416 l-32,64l 416,0 l-32-64L 256,416 z\n\t\t M 216.8,80c0-12.813, 10.387-23.2, 23.2-23.2c 12.813,0, 23.2,10.387, 23.2,23.2c0,12.813-10.388,23.2-23.2,23.2\n\t\tC 227.187,103.2, 216.8,92.813, 216.8,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hammer, rules, justice, legal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 505.087,457.875L 230.77,208.146l 12.767-12.799c 10.447-10.477, 16.094-24.015, 16.959-37.805\n\tc 0.501-0.225, 1.001-0.456, 1.479-0.721l 51.495-32.201c 6.967-8.196, 6.458-21.134-1.142-28.751L 222.768,6.065\n\tc-7.595-7.617-20.499-8.131-28.672-1.142l-32.118,51.634c-0.263,0.483-0.495,0.983-0.72,1.487\n\tc-13.751,0.868-27.25,6.528-37.699,17.003l-48.714,48.851c-10.449,10.478-16.092,24.013-16.959,37.802\n\tc-0.502,0.225-1.002,0.458-1.482,0.723L 4.911,194.626c-6.971,8.195-6.458,21.132, 1.138,28.748l 89.56,89.802\n\tc 7.597,7.619, 20.498,8.131, 28.675,1.143l 32.114-51.635c 0.264-0.479, 0.494-0.98, 0.721-1.483c 13.751-0.869, 27.252-6.525, 37.699-17.002\n\tl 14.146-14.186l 249.061,275.057c 7.218,7.972, 18.35,9.259, 24.737,2.856l 25.178-25.244\n\tC 514.322,476.278, 513.038,465.116, 505.087,457.875z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dashboard, control panel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 224,128A32,32 10800 1 1 288,128A32,32 10800 1 1 224,128zM 320,160A32,32 10800 1 1 384,160A32,32 10800 1 1 320,160zM 128,160A32,32 10800 1 1 192,160A32,32 10800 1 1 128,160zM 224,352L 224,384L 288,384L 288,352L 256,192 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter-fast, speed, performance, fast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384l 96,0 c0-141.386-114.615-256-256-256S0,242.614,0,384l 32,0 c0-106.039, 85.961-192, 192-192\n\tc 56.409,0, 107.136,24.326, 142.263,63.061l-100.217,80.174c-3.245-0.665-6.604-1.016-10.046-1.016\n\tc-27.493,0-49.78,22.289-49.78,49.781s 22.287,49.779, 49.78,49.779c 27.492,0, 49.778-22.287, 49.778-49.779\n\tc0-3.44-0.349-6.802-1.014-10.047l 78.166-97.707C 403.803,306.969, 416,344.059, 416,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter-medium, speed, performance, medium\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128C 114.615,128,0,242.614,0,384l 32,0 c0-106.039, 85.961-192, 192-192c 7.167,0, 14.241,0.396, 21.205,1.16l-16.586,149.264\n\tc-13.494,8.904-22.399,24.199-22.399,41.576c0,27.492, 22.288,49.779, 49.78,49.779S 305.78,411.492, 305.78,384\n\tc0-17.377-8.904-32.672-22.398-41.576l-16.172-145.542C 352.44,216.483, 416,292.818, 416,384l 96,0 C 512,242.614, 397.385,128, 256,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter-slow, speed, performance, slow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128C 114.615,128,0,242.614,0,384l 32,0 c0-58.209, 25.903-110.363, 66.811-145.574l 108.423,135.527\n\tc-0.665,3.245-1.014,6.604-1.014,10.047c0,27.492, 22.287,49.779, 49.779,49.779c 27.493,0, 49.779-22.287, 49.779-49.779\n\ts-22.286-49.781-49.779-49.781c-3.441,0-6.802,0.351-10.046,1.016L 111.979,228.053c 31.528-22.688, 70.213-36.054, 112.021-36.054\n\tc 106.038,0, 192,85.96, 192,191.999l 96,0 C 512,242.614, 397.385,128, 256,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter2\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 151.418,417.076\n\t\tC 156.971,401.76, 160,385.232, 160,368c0-62.175-39.405-115.146-94.604-135.303c 5.105-42.462, 24.127-81.749, 54.839-112.462\n\t\tC 156.5,83.972, 204.715,64, 256,64s 99.5,19.972, 135.765,56.235c 30.714,30.713, 49.734,70, 54.841,112.462\n\t\tC 391.405,252.854, 352,305.825, 352,368c0,17.234, 3.030,33.76, 8.583,49.075C 329.73,437.196, 293.698,448, 256,448\n\t\tC 218.303,448, 182.271,437.196, 151.418,417.076zM 275.877,320.498 C 282.816,322.245 288,328.538 288,336 L 288,368 C 288,376.8 280.8,384 272,384 L 240,384 C 231.2,384 224,376.8 224,368 L 224,336 C 224,328.538 229.184,322.245 236.123,320.498 L 248,96 L 264,96 L 275.877,320.498 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32 C 397.385,32 512,146.615 512,288 C 512,384.396 458.712,468.333 379.996,512 L 132.004,512 C 53.288,468.333 0,384.396 0,288 C 0,146.615 114.615,32 256,32 Z M 400.957,432.957 C 439.676,394.237 461,342.758 461,288 L 416,288 L 416,256 L 458.519,256 C 455.012,233.501 447.824,211.927 437.237,192 L 384,192 L 384,160 L 416.142,160 C 411.423,154.119 406.366,148.452 400.957,143.043 C 377.846,119.933 350.187,103.024 320,93.144 L 320,128 L 288,128 L 288,85.48 C 277.509,83.846 266.82,83 256,83 C 245.18,83 234.491,83.845 224,85.48 L 224,128 L 192,128 L 192,93.144 C 161.814,103.024 134.154,119.932 111.043,143.043 C 105.634,148.452 100.577,154.119 95.858,160 L 128,160 L 128,192 L 74.762,192 C 64.175,211.927 56.986,233.501 53.48,256 L 96,256 L 96,288 L 51,288 C 51,342.758 72.324,394.237 111.043,432.957 C 116.398,438.312 122.005,443.321 127.823,448 L 224,448 L 242.286,192 L 269.714,192 L 288,448 L 384.177,448 C 389.995,443.321 395.603,438.311 400.957,432.957 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rocket, speed, jet, spaceship, fast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,32L 192,192L 96,192 L0,320c0,0, 101.708-28.326, 161.033-15.042L0,512l 210.951-164.072C 240.37,415.255, 192,512, 192,512l 128-96\n\tl0-96 l 160-160L 512,0L 352,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flower, nature, plant\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 505.647,188.864c-26.708-82.185-107.774-90.487-170.346-28.040c 40.062-78.801, 7.105-153.337-79.305-153.337\n\ts-119.357,74.535-79.31,153.333C 114.121,98.378, 33.055,106.684, 6.354,188.864c-26.701,82.183, 33.998,136.552, 121.318,122.811\n\tC 48.953,351.884, 31.8,431.549, 101.71,482.341c 69.901,50.79, 140.368,9.859, 154.285-77.433\n\tc 13.917,87.292, 84.384,128.225, 154.293,77.433c 69.903-50.792, 52.751-130.456-25.969-170.666\n\tC 471.641,325.417, 532.349,271.047, 505.647,188.864z M 255.996,342.951c-40.876,0-74.006-33.135-74.006-74.010\n\tc0-40.877, 33.13-74.011, 74.006-74.011c 40.875,0, 74.015,33.135, 74.015,74.011C 330.011,309.816, 296.871,342.951, 255.996,342.951z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"steps, shoes, footprint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 401.006,116.918c 61.533,44.385, 67.586,183.594, 79.691,225.961l-114.557,45.395\n\t\tc-11.668-76.665-110.396-134.165-114.432-218.9C 247.674,84.638, 339.471,72.533, 401.006,116.918zM 470.609,506.298c-91.45,33.253-96.841-89.779-96.841-89.779l 119.033-48.42\n\t\tC 492.802,368.099, 548.283,478.053, 470.609,506.298zM 1.074,95.524C 13.2,20.628, 86.67-35.723, 143.735,27.047c 57.061,62.77, 27.905,173.24, 73.867,235.695l-113.099,48.91\n\t\tC 83.1,273.135-11.054,170.42, 1.074,95.524zM 227.187,420.078c-74.894,34.951-113.415-82.033-113.415-82.033l 118.411-49.934\n\t\tC 232.183,288.111, 315.365,378.924, 227.187,420.078z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paw, animal, pet, footprint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 267.169,275.999c-62.664,0-122.669,28.036-161.386,140.869C 67.066,529.701, 152.499,520.707, 206.42,497.39\n\tc 52.206-22.573, 72.079-26.017, 134.958,3.874c 59.195,28.141, 109.789-1.229, 88.681-62.868\n\tC 408.951,376.757, 337.833,275.999, 267.169,275.999z M 148.636,21.786c-35.721,8.537-54.605,57.079-42.18,108.42\n\tc 12.425,51.341, 51.455,86.041, 87.176,77.503c 0.165-0.040, 0.33-0.080, 0.494-0.121c 35.721-8.537, 54.605-57.079, 42.18-108.42\n\tc-5.349-22.1-15.626-41.116-28.448-54.927c-16.965-18.275-38.383-27.438-58.728-22.576C 148.965,21.705, 148.8,21.745, 148.636,21.786z\n\t M 355.568,19.996c-35.95-7.521-73.771,28.318-84.474,80.048c-6.152,29.733-2.007,58.244, 9.457,78.543\n\tc 8.481,15.019, 20.969,25.542, 36.256,28.741c 0.129,0.027, 0.258,0.053, 0.388,0.080c 35.949,7.521, 73.77-28.318, 84.473-80.048\n\tc 10.704-51.73-9.763-99.763-45.713-107.284C 355.826,20.048, 355.697,20.022, 355.568,19.996z M 10.295,286.861\n\tc 19.751,45.678, 61.375,71.645, 92.969,57.996c 18.079-7.81, 28.957-26.896, 31.254-50.356c 1.718-17.539-1.36-37.521-9.81-57.063\n\tc-0.011-0.026-0.022-0.052-0.034-0.078c-19.751-45.678-61.375-71.645-92.969-57.997C 0.111,193.011-9.49,241.104, 10.261,286.783\n\tC 10.272,286.809, 10.284,286.835, 10.295,286.861z M 408.774,336.787c 17.982,7.893, 39.269,2.891, 57.926-11.336\n\tc 14.041-10.705, 26.594-26.635, 35.13-46.226c 19.879-45.623, 10.446-93.821-21.069-107.654c-0.136-0.060-0.272-0.119-0.41-0.177\n\tc-31.515-13.833-73.177,11.938-93.056,57.562c-19.879,45.623-10.446,93.822, 21.069,107.654\n\tC 408.5,336.67, 408.637,336.729, 408.774,336.787z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,42.521L 353.691,128l-73.145,0 l 64.095,56.083L 390.262,224l-24.548,0 l-85.167,0 l 64.095,56.083L 390.262,320L 317.12,320 \n\t\tl 64.094,56.082L 426.834,416l-101.44,0 l-35.88,0 l 4.088,35.646c 1.156,10.074, 2.31,19.565, 3.792,28.354l-82.788,0 \n\t\tc 1.482-8.788, 2.637-18.279, 3.792-28.354L 222.486,416l-35.88,0 L 85.167,416 l 45.62-39.918L 194.881,320l-73.143,0 l 45.62-39.918L 231.452,224\n\t\tl-85.167,0 l-24.548,0 l 45.62-39.917L 231.452,128l-73.143,0 L 256,42.521 M 256,0L 73.143,160l 73.143,0 L 36.571,256l 109.714,0 L 36.571,352l 73.143,0 \n\t\tL0,448l 186.606,0 c-4.043,35.249-8.033,64-26.606,64c 28.735,0, 163.265,0, 192,0c-18.574,0-22.563-28.751-26.606-64L 512,448 l-109.714-96\n\t\tl 73.143,0 l-109.715-96l 109.715,0 l-109.715-96l 73.144,0 L 256,0L 256,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,416l 192,0 l-96-128l 64,0 l-96-96l 64,0 l-96-96l 64,0 L 256,0L 128,96l 64,0 l-96,96l 64,0 l-96,96l 64,0 L 32,416l 192,0 c0,32,0,96-32,96l 128,0 \n\tC 288,512, 288,448, 288,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"apple-fruit, fruit, food\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,158.653c-42.276-43.218-224-71.030-224,134.179c0,126.782, 160.518,267.145, 223.965,203.193l 0.070,0 \n\t\tC 319.483,559.977, 480,419.614, 480,292.832C 480,87.624, 298.276,115.435, 256,158.653z M 416.552,341.25\n\t\tc-12.045,46.402-51.907,89.539-98.744,120.021c 48.953-58.283, 79.127-156.949, 49.948-233.464\n\t\tc-8.688-22.783-18.648-42.083-29.535-58.319C 395.741,188.772, 443.145,238.795, 416.552,341.25zM 240.162,102.028c 6.817-1.627, 13.289-3.756, 19.451-6.256C 257.372,106.106, 256,116.995, 256,128l 10.67,0 \n\t\tc 9.286-43.374, 44.19-94, 90.727-94c0-23.833-16.166-34-34.355-34c-17.31,8.583-32.418,23.974-44.621,45.713\n\t\tc-6.589,11.738-13.463,27.834-17.835,45.851c-0.872-5.087-2.174-10.19-3.983-15.276C 236.858,20.757, 168.043-11.655, 102.9,3.894\n\t\tc-7.376,1.761-14.368,4.085-20.977,6.861c 0.827,6.278, 2.301,12.591, 4.537,18.878C 106.204,85.165, 175.019,117.577, 240.162,102.028z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"leaf, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 357.722,57.524c 16.267,26.877, 33.118,58.46, 46.958,94.158c 27.229,70.232, 33.754,134.454, 19.393,190.877\n\t\tc-7.805,30.667-23.158,55.555-44.399,71.973c-19.013,14.696-42.097,22.464-66.758,22.464c-34.216,0-66.683-15.044-89.079-41.274\n\t\tl-17.479-20.473l-19.723,11.68c-0.414,0.025-0.921,0.043-1.525,0.043c-4.953,0-19.333-1.277-45.82-13.104\n\t\tc-24.112-10.768-41.896-34.861-47.57-64.45c-3.432-17.895-2.157-37.114, 3.688-55.583c 6.773-21.403, 19.392-41.691, 37.505-60.301\n\t\tc 37.296-38.319, 68.56-47.973, 101.659-58.194c 23.814-7.354, 48.439-14.958, 74.26-32.279\n\t\tC 326.399,91.273, 342.422,76.402, 357.722,57.524 M 358.774,0c-84.382,139.493-151.15,70.891-248.795,171.215\n\t\tc-86.168,88.533-54.834,200.125, 16.262,231.872c 28.755,12.84, 47.531,15.885, 58.867,15.885c 10.218,0, 14.392-2.472, 14.392-2.472\n\t\tc 29.521,34.577, 71.58,52.496, 113.415,52.496c 61.097,0, 121.721-38.207, 142.169-118.543C 492.533,203.316, 394.89,53.505, 358.774,0\n\t\tL 358.774,0zM 48.506,483.121C 48.564,484.574, 50.217,512, 86.189,512C 132.597,512, 288,384, 352,160C 281.089,336, 81.5,477.5, 48.506,483.121z\n\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"leaf, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 358.774,0c-84.382,139.493-151.15,70.891-248.795,171.215c-86.168,88.533-56.291,195.153, 16.262,231.872\n\t\tc 71.615-36.594, 144.884-118.411, 199.225-236.862c0,0, 48.833,149.572-100.745,293.687c 72.634,85.074, 195.914,25.886, 230.363-109.459\n\t\tC 492.533,203.316, 394.89,53.505, 358.774,0zM 48.506,483.121C 48.564,484.574, 50.217,512, 86.189,512c 26.172,0, 158.916-72.339, 227.133-260.102\n\t\tC 210.103,434.505, 60.262,479.817, 48.506,483.121z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cup, coffee, break, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,256l-16.104,0 c 0.062-2.658, 0.104-5.323, 0.104-8c0-1.927-0.026-3.846-0.062-5.762c 0.037-0.744, 0.062-1.49, 0.062-2.238\n\tc0-53.020-93.125-96-208-96S0,186.98,0,240c0,0.749, 0.024,1.494, 0.062,2.238C 0.026,244.154,0,246.073,0,248\n\tc0,145.803, 93.125,264, 208,264c 64.591,0, 122.305-37.368, 160.455-96L 432,416 c 44.183,0, 80-35.817, 80-80S 476.183,256, 432,256z M 208,288\n\tc-79.529,0-144-21.49-144-48s 64.471-48, 144-48c 79.529,0, 144,21.49, 144,48S 287.529,288, 208,288z M 432,384l-45.697,0 \n\tc 13.696-28.864, 23.17-61.321, 27.323-96L 432,288 c 23.159,0, 42,24.841, 42,48S 455.159,384, 432,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cup, coffee, break, drink, hot\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,256l-16.104,0 c 0.062-2.658, 0.104-5.323, 0.104-8c0-1.927-0.026-3.846-0.062-5.762c 0.037-0.744, 0.062-1.49, 0.062-2.238\n\tc0-41.61-57.363-77.033-137.579-90.353c-2.896-5.198-6.102-10.012-9.108-14.522C 262.169,124.41, 256,115.156, 256,105\n\tc0-12.191, 9.189-27.562, 27.313-45.687c 6.249-6.248, 6.249-16.379,0-22.627c-6.248-6.249-16.379-6.249-22.627,0\n\tc-51.436,51.435-38.372,84.139-23.169,108.28C 227.874,144.334, 218.022,144, 208,144c-9.622,0-19.086,0.309-28.361,0.892\n\tc-2.092-3.417-4.257-6.664-6.326-9.767C 166.169,124.41, 160,115.156, 160,105c0-12.191, 9.189-27.562, 27.313-45.687\n\tc 6.249-6.248, 6.249-16.379,0-22.627c-6.248-6.249-16.379-6.249-22.627,0c-54.103,54.102-36.845,87.48-20.796,111.968\n\tC 60.39,161.129,0,197.307,0,240c0,0.749, 0.024,1.494, 0.062,2.238C 0.026,244.154,0,246.073,0,248c0,145.803, 93.125,264, 208,264\n\tc 64.591,0, 122.305-37.368, 160.455-96L 432,416 c 44.183,0, 80-35.817, 80-80S 476.183,256, 432,256z M 208,288c-79.529,0-144-21.49-144-48\n\tc0-20.577, 38.848-38.127, 93.427-44.953c-3.882,9.791-12.15,21.049-24.74,33.64c-6.249,6.248-6.249,16.379,0,22.627\n\tC 135.811,254.438, 139.905,256, 144,256s 8.189-1.562, 11.313-4.687c 23.148-23.148, 33.229-42.501, 35.935-58.988\n\tC 196.745,192.113, 202.333,192, 208,192c 15.954,0, 31.299,0.867, 45.642,2.463c-3.779,9.926-12.112,21.379-24.956,34.223\n\tc-6.249,6.248-6.249,16.379,0,22.627C 231.811,254.438, 235.905,256, 240,256s 8.189-1.562, 11.313-4.687\n\tc 19.844-19.844, 30.083-36.898, 34.307-51.75C 325.544,208.096, 352,223.018, 352,240C 352,266.51, 287.529,288, 208,288z M 432,384l-45.697,0 \n\tc 13.696-28.864, 23.17-61.321, 27.323-96L 432,288 c 23.159,0, 42,24.841, 42,48S 455.159,384, 432,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hamburger, food, launch\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,480c 141.385,0, 256-42.98, 256-96L0,384 C0,437.020, 114.615,480, 256,480zM 464,192L 48,192 c-26.4,0-48,21.6-48,48c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48C 512,213.6, 490.4,192, 464,192zM 256,32C 114.615,32,0,84.98,0,138l0,22 l 512,0 l0-22 C 512,84.98, 397.385,32, 256,32z M 80,128c-8.836,0-16-7.164-16-16\n\t\ts 7.164-16, 16-16s 16,7.164, 16,16S 88.836,128, 80,128z M 144,96c-8.836,0-16-7.164-16-16s 7.164-16, 16-16s 16,7.164, 16,16\n\t\tS 152.836,96, 144,96z M 208,128c-8.836,0-16-7.164-16-16s 7.164-16, 16-16s 16,7.164, 16,16S 216.836,128, 208,128z M 304,128\n\t\tc-8.837,0-16-7.164-16-16s 7.163-16, 16-16s 16,7.164, 16,16S 312.837,128, 304,128z M 368,96c-8.836,0-16-7.164-16-16s 7.164-16, 16-16\n\t\ts 16,7.164, 16,16S 376.836,96, 368,96z M 432,128c-8.836,0-16-7.164-16-16s 7.164-16, 16-16s 16,7.164, 16,16S 440.836,128, 432,128zM0,320L 512,320L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"food, spoon, fork, dinner, lunch, restaurant\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 112,0C 58.98,0, 16,50.144, 16,112c0,52.962, 31.511,97.333, 73.853,108.999L 73.959,480.061C 72.882,497.627, 86.4,512, 104,512\n\t\tl 16,0 c 17.6,0, 31.118-14.373, 30.041-31.939l-15.894-259.062C 176.489,209.333, 208,164.962, 208,112C 208,50.144, 165.020,0, 112,0zM 434.667,0L 408,160l-20,0 L 374.667,0l-13.334,0 L 348,160l-20,0 L 301.333,0L 288,0 l0,208 c0,8.836, 7.163,16, 16,16l 41.669,0 l-15.71,256.061\n\t\tC 328.882,497.627, 342.4,512, 360,512l 16,0 c 17.6,0, 31.118-14.373, 30.041-31.939L 390.331,224L 432,224 c 8.837,0, 16-7.164, 16-16L 448,0 L 434.667,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"food, knife, fork, dinner, lunch, restaurant\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0c-44.186,0-80,35.816-80,80l0,240 l 64,0 l0,192 l 96,0 L 512,80 C 512,35.816, 476.183,0, 432,0zM 208,0c-8.838,0-16,7.164-16,16l0,112 c0,4.418-7.164,8-16,8c-8.838,0-16-3.582-16-8L 160,16 c0-8.836-7.164-16-16-16\n\t\tc-8.837,0-16,7.164-16,16l0,112 c0,4.418-7.164,8-16,8c-8.837,0-16-3.582-16-8L 96,16 c0-8.836-7.164-16-16-16c-8.837,0-16,7.164-16,16l0,112 \n\t\tc0,4.418-7.164,8-16,8s-16-3.582-16-8L 32,16 c0-8.836-7.164-16-16-16S0,7.164,0,16l0,112 l0,32 c0,14.159, 12.529,22.055, 26.502,32\n\t\tC 44.107,204.532, 64,220.318, 64,256l0,256 l 96,0 L 160,256 c0-35.682, 19.893-51.468, 37.496-64C 211.469,182.055, 224,174.159, 224,160l0-32 L 224,16 \n\t\tC 224,7.164, 216.837,0, 208,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mug, glass, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160l-32,0 l0-48 c0-44.183-85.961-80-192-80C 85.961,32,0,67.817,0,112l0,288 c0,44.183, 85.961,80, 192,80\n\tc 106.039,0, 192-35.817, 192-80l0-48 l 32,0 c 52.8,0, 96-43.2, 96-96S 468.8,160, 416,160z M 88.028,94.801C 116.999,85.256, 153.923,80, 192,80\n\ts 75.002,5.256, 103.972,14.801c 18.497,6.094, 29.704,12.623, 35.705,17.199c-6.001,4.576-17.208,11.104-35.705,17.199\n\tC 267.002,138.744, 230.077,144, 192,144s-75.001-5.256-103.972-14.801C 69.531,123.104, 58.324,116.576, 52.323,112\n\tC 58.324,107.424, 69.531,100.896, 88.028,94.801z M 452.182,284.182C 447.768,288.596, 438.237,296, 424,296l-40,0 l0-80 l 40,0 \n\tc 14.237,0, 23.768,7.405, 28.182,11.819S 464,241.763, 464,256S 456.596,279.768, 452.182,284.182z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bottle, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,160L 288,32 l 8,0 c 4.4,0, 8-3.6, 8-8L 304,8 c0-4.4-3.6-8-8-8l-80,0 c-4.4,0-8,3.6-8,8l0,16 c0,4.4, 3.6,8, 8,8l 8,0 l0,128 c0,50.832-64,64-64,112.269\n\tL 160,496 c0,8.837, 7.164,16, 16,16l 160,0 c 8.836,0, 16-7.163, 16-16L 352,272.269 C 352,224, 288,210.832, 288,160z M 320,471.849\n\tc-16.984,5.068-39.411,8.151-64,8.151c-24.589,0-47.015-3.083-64-8.151l0-160 c 16.985,5.068, 39.411,8.151, 64,8.151\n\tc 24.589,0, 47.016-3.083, 64-8.151L 320,471.849 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bottle, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,160L 288,32 l 8,0 c 4.4,0, 8-3.6, 8-8L 304,8 c0-4.4-3.6-8-8-8l-80,0 c-4.4,0-8,3.6-8,8l0,16 c0,4.4, 3.6,8, 8,8l 8,0 l0,128 c0,50.832-64,64-64,112.269\n\tL 160,496 c0,8.837, 7.164,16, 16,16l 160,0 c 8.836,0, 16-7.163, 16-16L 352,272.269 C 352,224, 288,210.832, 288,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glass, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 304,192 C 288,208 288,208 288,224 L 288,448 L 352,448 C 369.673,448 384,462.327 384,480 L 128,480 C 128,462.327 142.327,448 160,448 L 224,448 L 224,224 C 224,208 224,208 208,192 L 70.627,54.627 C 58.182,42.182 62.4,32 80,32 L 432,32 C 449.6,32 453.817,42.182 441.373,54.627 L 304.005,191.995 C 304.003,191.997 304.002,191.999 304,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glass, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,160 C 384,261.766 288,288 288,384 L 288,480 L 336,480 C 362.51,480 384,494.327 384,512 L 128,512 C 128,494.327 149.49,480 176,480 L 224,480 L 224,384 C 224,288 128,261.766 128,160 C 128,122.658 135.263,34.781 144.138,0 L 367.861,0 C 376.737,34.781 384,122.658 384,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"diamond, gem, jewelry, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64L 128,64 L0,192l 256,288l 256-288L 384,64z M 256,389.333L 256,388 l-1.185,0 l-7.111-8L 256,380 l0-8 l-15.407,0 l-7.111-8L 256,364 l0-8 l-29.629,0 \n\tl-7.111-8L 256,348 l0-8 l-43.852,0 l-7.111-8L 256,332 l0-8 l-58.074,0 l-7.111-8L 256,316 l0-8 l-72.296,0 l-7.111-8L 256,300 l0-8 l-86.519,0 l-7.111-8L 256,284 l0-8 L 155.259,276 \n\tl-7.111-8L 256,268 l0-8 L 141.037,260 l-7.111-8L 256,252 l0-8 L 126.814,244 l-7.111-8L 256,236 l0-8 L 112.592,228 l-7.111-8L 256,220 l0-8 L 98.37,212 l-7.111-8L 256,204 l0-8 L 84.147,196 \n\tl-3.672-4.131l 69.536-69.536L 256,122.333 L 256,124 l 107.657,0 l 8,8L 256,132 l0,8 l 123.657,0 l 8,8L 256,148 l0,8 l 139.657,0 l 8,8L 256,164 l0,8 l 155.657,0 l 8,8L 256,180 l0,8 l 171.656,0 l 3.869,3.869\n\tL 256,389.333z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"diamond, gem, jewelry\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 357.49,128l 66.584,66.584L 256,383.667L 87.926,194.584L 154.51,128L 357.49,128 M 384,64L 128,64 L0,192l 256,288l 256-288L 384,64L 384,64z\n\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"trophy-star, cup, prize, award, winner, tournament\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 416,32 L 96,32 l0,64 L0,96 l0,32 l0,32 c0,53.019, 42.979,96, 96,96c 10.038,0, 19.715-1.543, 28.81-4.401\n\tc 23.087,33.004, 58.304,56.898, 99.19,65.198L 224,416 l-32,0 c-35.347,0-64,28.653-64,64l 256,0 c0-35.347-28.653-64-64-64l-32,0 l0-99.203 \n\tc 40.886-8.3, 76.103-32.193, 99.19-65.198C 396.285,254.457, 405.962,256, 416,256c 53.021,0, 96-42.981, 96-96l0-32 L 512,96 L 416,96 z M 96,218\n\tc-31.981,0-58-26.019-58-58l0-32 l 58,0 l0,32 c0,20.093, 3.715,39.316, 10.477,57.034C 103.076,217.657, 99.578,218, 96,218z M 304.707,185.597\n\tl 30.51,93.208L 256,220.984l-79.216,57.821l 30.509-93.208l-79.468-57.472l 98.072,0.214L 256,35l 30.104,93.339l 98.071-0.214\n\tL 304.707,185.597z M 474,160c0,31.981-26.019,58-58,58c-3.578,0-7.076-0.343-10.477-0.966C 412.285,199.316, 416,180.093, 416,160l0-32 \n\tl 58,0 L 474,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"trophy, cup, prize, award, winner, tournament\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 416,32 L 96,32 l0,64 L0,96 l0,32 l0,32 c0,53.019, 42.979,96, 96,96c 10.038,0, 19.715-1.543, 28.81-4.401\n\tc 23.087,33.004, 58.304,56.898, 99.19,65.198L 224,416 l-32,0 c-35.347,0-64,28.653-64,64l 256,0 c0-35.347-28.653-64-64-64l-32,0 l0-99.203 \n\tc 40.886-8.3, 76.103-32.193, 99.19-65.198C 396.285,254.457, 405.962,256, 416,256c 53.021,0, 96-42.981, 96-96l0-32 L 512,96 L 416,96 z M 96,218\n\tc-31.981,0-58-26.019-58-58l0-32 l 58,0 l0,32 c0,20.093, 3.715,39.316, 10.477,57.034C 103.076,217.657, 99.578,218, 96,218z M 474,160\n\tc0,31.981-26.019,58-58,58c-3.578,0-7.076-0.343-10.477-0.966C 412.285,199.316, 416,180.093, 416,160l0-32 l 58,0 L 474,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"trophy, cup, prize, award, winner, tournament\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32c-32,0-160,0-160,0l0,64 L 160,96 L 160,32 c0,0-128,0-160,0c0,160, 128,347.188, 224,376l0,40 c-32,0-64,16-64,32l 192,0 c0-16-32-32-64-32\n\tl0-40 C 384,379.188, 512,192, 512,32z M 383.85,113.227L 384,96L 384,64 l 94.227,0 c-2.787,25.839-8.855,53.128-18.14,81.495\n\tc-12.272,37.499-30.058,75.91-51.433,111.082c-20.559,33.826-43.896,63.859-67.488,86.852c-2.266,2.208-4.521,4.336-6.765,6.391\n\tC 376.819,264.762, 382.961,158.322, 383.85,113.227z M 170.834,343.428c-23.593-22.992-46.93-53.025-67.488-86.852\n\tc-21.375-35.172-39.161-73.583-51.433-111.082C 42.629,117.128, 36.56,89.839, 33.773,64L 128,64 l0,32 l 0.15,17.227\n\tc 0.889,45.096, 7.031,151.535, 49.448,236.592C 175.355,347.764, 173.099,345.636, 170.834,343.428z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"crown, king\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,384L 384,384L 384,448L 128,448zM 480,96c-17.673,0-32,14.327-32,32c0,6.567, 1.981,12.67, 5.375,17.75L 336,224l-12.031-96.254\n\t\tC 339.768,125.791, 352,112.329, 352,96c0-17.673-14.327-32-32-32s-32,14.327-32,32c0,12.528, 7.203,23.367, 17.689,28.621L 256,224\n\t\tl-49.689-99.379C 216.797,119.367, 224,108.528, 224,96c0-17.673-14.327-32-32-32s-32,14.327-32,32\n\t\tc0,16.329, 12.232,29.791, 28.032,31.746L 176,224L 58.626,145.75C 62.019,140.671, 64,134.567, 64,128c0-17.673-14.327-32-32-32\n\t\tS0,110.327,0,128s 14.327,32, 32,32c 4.478,0, 8.738-0.923, 12.607-2.583L 128,352l 256,0 l 83.393-194.583\n\t\tc 3.869,1.66, 8.13,2.583, 12.607,2.583c 17.673,0, 32-14.327, 32-32S 497.673,96, 480,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize, third\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51zM 192,160L 288,160L 288,192L 192,192L 192,192L 192,192L 192,224L 288,224L 288,256L 192,256L 192,288L 320,288L 320,128L 192,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize, second\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51zM 192,160L 288,160L 288,192L 192,192L 192,288L 320,288L 320,256L 224,256L 224,224L 320,224L 320,128L 192,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize, first\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51zM 288,256L 288,128L 224,128L 224,160L 256,160L 256,256L 224,256L 224,288L 320,288L 320,256 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, award, prize, winner\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160c0-25.319-19.607-46.045-44.465-47.856c 16.296-18.858, 15.506-47.377-2.398-65.281\n\tc-17.903-17.903-46.423-18.694-65.28-2.399C 302.045,19.607, 281.32,0, 256,0s-46.044,19.607-47.856,44.464\n\tc-18.857-16.295-47.377-15.504-65.281,2.399c-17.903,17.904-18.694,46.423-2.399,65.281C 115.608,113.956, 96,134.681, 96,160\n\ts 19.607,46.044, 44.464,47.856c-16.295,18.857-15.504,47.377, 2.399,65.28c 13.294,13.294, 32.439,17.143, 49.137,11.577L 192,512 l 64-64l 64,64\n\tL 320,284.714 c 16.698,5.565, 35.843,1.717, 49.137-11.577c 17.904-17.903, 18.694-46.422, 2.398-65.28C 396.393,206.045, 416,185.319, 416,160z\n\t M 256,256c-53.020,0-96-42.98-96-96s 42.98-96, 96-96s 96,42.98, 96,96S 309.020,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podium, ranking, standings, winers, rating\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,224L 352,96 L 160,96 l0,96 L0,192 l0,256 l 512,0 L 512,224 L 352,224 z M 128,352L 64,352 l0,32 l 64,0 l0,32 L 32,416 l0-96 l 64,0 l0-32 L 32,288 l0-32 l 96,0 L 128,352 z M 288,320l-32,0 L 256,192 l-32,0 l0-32 l 64,0 L 288,320 \n\tz M 480,416l-96,0 l0-32 l 64,0 l0-32 l-64,0 l0-32 l 64,0 l0-32 l-64,0 l0-32 l 96,0 L 480,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rating, ranking, rate, standing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,416L 32,480L 256,368L 480,480L 480,416L 256,304 \tzM 32,288L 32,352L 256,240L 480,352L 480,288L 256,176 \tzM 256,48L 32,160L 32,224L 256,112L 480,224L 480,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rating, ranking, rate, standing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,416L 32,480L 256,368L 480,480L 480,416L 256,304 \tzM 32,288L 32,352L 256,240L 480,352L 480,288L 256,176 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rating, ranking, rate, standing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,416L 32,480L 256,368L 480,480L 480,416L 256,304 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"balloon, party\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,224C 448,100.288, 362.039,0, 256,0C 149.962,0, 64,100.288, 64,224c0,111.292, 69.573,203.611, 160.743,221.029L 208,512l 96,0 \n\tl-16.743-66.971C 378.427,427.611, 448,335.293, 448,224z M 141.353,256L 93.351,256 C 91.811,245.601, 91,234.912, 91,224\n\tc0-22.483, 3.409-44.038, 9.654-64l 48.008,0 c-6.246,19.963-9.662,41.515-9.662,64C 139,234.912, 139.813,245.601, 141.353,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gift, box, present\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 385.758,160c 9.063-6.44, 17.756-13.608, 25.722-21.574c 16.701-16.701, 27.873-37.25, 31.456-57.861\n\tc 3.929-22.593-1.836-43.57-15.815-57.55c-11.15-11.149-26.255-17.043-43.682-17.043c-24.816,0-50.961,11.912-71.73,32.681\n\tc-33.238,33.238-52.613,79.119-63.038,111.861c-7.72-32.901-23.103-77.322-53.009-107.229C 179.615,27.239, 159.105,19, 139.739,19\n\tc-15.827,0-30.89,5.502-42.13,16.743c-24.993,24.994-21.616,68.893, 7.543,98.052c 10.396,10.396, 22.549,19.031, 35.36,26.206L 32,160.001 l0,128 \n\tl 32,0 l0,224 l 384,0 L 448,288 l 32,0 L 480,160 L 385.758,160 z M 337.163,64.109c 13.862-13.862, 31.161-22.137, 46.275-22.137c 5.35,0, 12.854,1.127, 18.225,6.499\n\tc 13.015,13.014, 5.706,43.154-15.64,64.499c-21.973,21.973-51.53,37.084-77.216,47.030l-25.336,0 \n\tC 292.755,131.226, 309.5,91.772, 337.163,64.109z M 130.607,108.338c-7.914-7.914-12.885-18.080-13.64-27.893\n\tc-0.351-4.56-0.025-13.124, 6.098-19.247C 128.187,56.076, 134.959,55, 139.739,55l0,0 c 10.629,0, 21.734,5.008, 30.466,13.74\n\tc 16.936,16.936, 30.883,43.886, 40.334,77.938c 0.255,0.92, 0.504,1.835, 0.748,2.743c-0.908-0.243-1.823-0.492-2.743-0.748\n\tC 174.492,139.222, 147.542,125.274, 130.607,108.338z M 448,272L 288,272 l0,208 l-64,0 L 224,272 L 64,272 l0-16 l 160,0 l0-64 l 64,0 l0,64 l 160,0 L 448,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gift, box, present\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 385.758,160c 9.063-6.44, 17.756-13.608, 25.722-21.574c 16.701-16.701, 27.873-37.25, 31.456-57.861\n\tc 3.929-22.593-1.836-43.57-15.815-57.55c-11.15-11.149-26.255-17.043-43.682-17.043c-24.816,0-50.961,11.912-71.73,32.681\n\tc-33.238,33.238-52.613,79.119-63.038,111.861c-7.72-32.901-23.103-77.322-53.009-107.229C 179.615,27.239, 159.105,19, 139.739,19\n\tc-15.827,0-30.89,5.502-42.13,16.743c-24.993,24.994-21.616,68.893, 7.543,98.052c 10.396,10.396, 22.549,19.031, 35.36,26.206L 32,160.001 l0,128 \n\tl 32,0 l0,224 l 384,0 L 448,288 l 32,0 L 480,160 L 385.758,160 z M 337.163,64.109c 13.862-13.862, 31.161-22.137, 46.275-22.137c 5.35,0, 12.854,1.127, 18.225,6.499\n\tc 13.015,13.014, 5.706,43.154-15.64,64.499c-21.973,21.973-51.53,37.084-77.216,47.030l-25.336,0 \n\tC 292.755,131.226, 309.5,91.772, 337.163,64.109z M 116.967,80.445c-0.351-4.56-0.025-13.124, 6.098-19.247\n\tC 128.187,56.076, 134.959,55, 139.739,55l0,0 c 10.629,0, 21.734,5.008, 30.466,13.74c 16.936,16.936, 30.883,43.886, 40.334,77.938\n\tc 0.255,0.92, 0.504,1.835, 0.748,2.743c-0.908-0.243-1.823-0.492-2.743-0.748c-34.052-9.452-61.001-23.399-77.937-40.335\n\tC 122.693,100.425, 117.722,90.258, 116.967,80.445z M 224,480L 96,480 L 96,272 l 128,0 L 224,480 z M 224,256L 64,256 l0-64 l 160,0 L 224,256 z M 416,480L 288,480 L 288,272 l 128,0 L 416,480 z\n\t M 448,256L 288,256 l0-64 l 160,0 L 448,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cake, birthday, party, anniversary\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,160.621L 288,112 c0-8.8-7.2-16-16-16l-32,0 c-8.8,0-16,7.2-16,16l0,48.621 C 97.719,165.542,0,199.204,0,240l0,192 \n\t\tc0,44.183, 114.615,80, 256,80c 141.385,0, 256-35.817, 256-80L 512,240 C 512,199.204, 414.281,165.542, 288,160.621z M 53.508,232.795\n\t\tc 12.139-6.375, 28.751-12.408, 48.042-17.445c 34.724-9.067, 77.333-14.832, 122.451-16.692L 224.001,240 c0,8.8, 7.2,16, 16,16l 32,0 \n\t\tc 8.8,0, 16-7.2, 16-16l0-41.342 c 45.117,1.86, 87.727,7.625, 122.45,16.692c 19.291,5.038, 35.903,11.070, 48.042,17.445\n\t\tc 5.353,2.812, 9.059,5.266, 11.582,7.205c-2.523,1.939-6.229,4.394-11.582,7.205c-12.139,6.375-28.751,12.408-48.042,17.445\n\t\tC 367.605,275.839, 312.754,282, 256,282s-111.605-6.161-154.451-17.35c-19.291-5.037-35.903-11.070-48.042-17.445\n\t\tc-5.353-2.812-9.059-5.266-11.582-7.205C 44.449,238.061, 48.155,235.606, 53.508,232.795z M 480,381.749\n\t\tC 436.333,406.348, 352.396,423, 256,423c-96.396,0-180.333-16.652-224-41.251l0-45 C 75.667,361.348, 159.604,378, 256,378\n\t\tc 96.396,0, 180.333-16.652, 224-41.251L 480,381.749 zM 256,80 C 238.327,80 224,65.673 224,48 C 224,47.375 224.022,46.756 224.058,46.141 C 225.268,15.388 256,0 256,0 C 256,0 286.732,15.388 287.942,46.141 C 287.978,46.756 288,47.375 288,48 C 288,65.673 273.673,80 256,80 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"ladder, rank\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0c-17.673,0-32,14.327-32,32l0,64 L 160,96 L 160,32 c0-17.673-14.327-32-32-32S 96,14.327, 96,32l0,448 c0,17.674, 14.327,32, 32,32\n\ts 32-14.326, 32-32l0-64 l 192,0 l0,64 c0,17.674, 14.327,32, 32,32c 17.674,0, 32-14.326, 32-32L 416,32 C 416,14.327, 401.674,0, 384,0z M 352,352L 160,352 l0-64 \n\tl 192,0 L 352,352 z M 352,224L 160,224 l0-64 l 192,0 L 352,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs, steps, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,160L 512,64L 160,64L 128,96L 128,160L 64,224L 64,320L0,384L0,480L 352,480L 384,448L 384,384L 32,384L 36,380L 390.863,380L 398.454,372L 44,372L 52,364L 406.046,364L 413.637,356L 60,356L 68,348L 421.228,348L 428.818,340L 76,340L 84,332L 436.409,332L 444,324L 92,324L 96,320L 448,320L 448,224L 96,224L 100,220L 452.764,220L 460.654,212L 108,212L 116,204L 468.546,204L 476.437,196L 124,196L 132,188L 484.327,188L 492.218,180L 140,180L 148,172L 500.109,172L 508,164L 156,164L 160,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs, steps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,64L 128,96L 128,160L 64,224L 64,320L0,384L0,480L 352,480L 384,448L 384,384L 32,384L 96,320L 416,320L 448,288L 448,224L 96,224L 160,160L 480,160L 512,128L 512,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"chart, stats, statistics, dualtone, plot, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,480L 384,480L 384,464L 368,464L 368,480L 208,480L 208,464L 192,464L 192,480L 80,480L 80,464L 64,464L 64,480L 32,480L 32,336L 48,336L 48,320L 32,320L 32,208L 48,208L 48,192L 32,192L 32,80L 48,80L 48,64L 32,64L 32,0L0,0L0,512L 512,512L 512,464L 496,464 \tzM 220,196L 212,204L 212,330.059L 220,322.059 \tzM 204,212L 196,220L 196,346.059L 204,338.059 \tzM 188,354.059L 188,222L 180,218L 180,351.167L 187.261,354.798 \tzM 268,148L 260,156L 260,282.059L 268,274.059 \tzM 236,180L 228,188L 228,314.059L 236,306.059 \tzM 172,214L 164,210L 164,343.167L 172,347.167 \tzM 252,164L 244,172L 244,298.059L 252,290.059 \tzM 124,190L 116,186L 116,319.167L 124,323.167 \tzM 92,174L 84,170L 84,303.167L 92,307.167 \tzM 156,206L 148,202L 148,335.167L 156,339.167 \tzM 108,182L 100,178L 100,311.167L 108,315.167 \tzM 76,166L 68,162L 68,295.167L 76,299.167 \tzM 284,132L 276,140L 276,266.059L 284,258.059 \tzM 140,198L 132,194L 132,327.167L 140,331.167 \tzM 412,164L 404,172L 404,342.733L 412,330.733 \tzM 428,148L 420,156L 420,318.733L 428,306.733 \tzM 444,132L 436,140L 436,294.733L 444,282.733 \tzM 476,100L 468,108L 468,246.733L 476,234.733 \tzM 460,116L 452,124L 452,270.733L 460,258.733 \tzM 508,68L 500,76L 500,198.733L 508,186.733 \tzM 492,84L 484,92L 484,222.733L 492,210.733 \tzM 348,168L 340,162.667L 340,317.334L 348,328 \tzM 332,157.333L 324,152L 324,296L 332,306.667 \tzM 300,136L 292,130.667L 292,253.333L 300,264 \tzM 316,146.667L 308,141.333L 308,274.667L 316,285.334 \tzM 364,178.667L 356,173.333L 356,338.667L 364,349.334 \tzM 396,180L 388,188L 388,366.732L 396,354.733 \tzM 380,189.333L 372,184L 372,360.001L 380,370.667 \tzM 384,416L 288,288L 192,384L 64,320L 64,448L 512,448L 512,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs-down, down, descend, bottom, steps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,64L 128,160L 224,160L 224,256L 320,256L 320,352L 416,352L 416,448L 512,448L 512,512L 352,512L 352,416L 256,416L 256,320L 160,320L 160,224L 64,224L 64,224L 64,128L0,128L0,64 \tzM 224,0L 461,240L 512,192L 512,320L 384,320L 429,272L 192,32 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs-down, up, ascend, top, steps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64L 384,160L 288,160L 288,256L 192,256L 192,352L 96,352L 96,448L0,448L0,512L 160,512L 160,416L 256,416L 256,320L 352,320L 352,224L 448,224L 448,224L 448,128L 512,128L 512,64 \tzM 32,320L 269,80L 320,128L 320,0L 192,0L 237,48L0,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats-down, decay, decline, bars, graph, statistics\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,384L 480,384L 480,512L 384,512zM 256,320L 352,320L 352,512L 256,512zM 128,288L 224,288L 224,512L 128,512zM0,192L 96,192L 96,512L0,512zM 480,144 L 480,288 L 336,288 L 391.029,232.971 L 288,129.941 L 192,225.941 L 0,33.941 L 0,0 L 33.941,0 L 192,158.059 L 288,62.059 L 424.971,199.029 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats-up, growth, improvement, bars, graph, statistics\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,384L 128,384L 128,512L 32,512zM 160,320L 256,320L 256,512L 160,512zM 288,288L 384,288L 384,512L 288,512zM 416,192L 512,192L 512,512L 416,512zM 512,0 L 512,144 L 456.971,88.971 L 288,257.941 L 192,161.941 L 65.941,288 L 32,288 L 32,254.059 L 192,94.059 L 288,190.059 L 423.029,55.029 L 368,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,192L 48,192 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 160,208 C 160,199.2, 152.8,192, 144,192z M 144,352\n\t\tl0,4 L 48,356 l0-4 L 144,352 z M 48,452l0-8 l 96,0 l0,8 L 48,452 z M 144,460l0,8 L 48,468 l0-8 L 144,460 z M 48,436l0-8 l 96,0 l0,8 L 48,436 z M 48,420l0-8 l 96,0 l0,8 L 48,420 z M 48,404l0-8 l 96,0 l0,8 L 48,404 z M 48,388l0-8 \n\t\tl 96,0 l0,8 L 48,388 z M 48,372l0-8 l 96,0 l0,8 L 48,372 z M 48,480l0-4 l 96,0 l0,4 L 48,480 zM 304,128l-96,0 c-8.8,0-16,7.2-16,16l0,352 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 320,144 C 320,135.2, 312.8,128, 304,128z\n\t\t M 304,320l0,4 l-96,0 l0-4 L 304,320 z M 208,452l0-8 l 96,0 l0,8 L 208,452 z M 304,460l0,8 l-96,0 l0-8 L 304,460 z M 208,436l0-8 l 96,0 l0,8 L 208,436 z M 208,420l0-8 l 96,0 l0,8 L 208,420 z M 208,404l0-8 \n\t\tl 96,0 l0,8 L 208,404 z M 208,388l0-8 l 96,0 l0,8 L 208,388 z M 208,372l0-8 l 96,0 l0,8 L 208,372 z M 208,356l0-8 l 96,0 l0,8 L 208,356 z M 208,340l0-8 l 96,0 l0,8 L 208,340 z M 208,480l0-4 l 96,0 l0,4 L 208,480 zM 464,64l-96,0 c-8.8,0-16,7.2-16,16l0,416 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 480,80 C 480,71.2, 472.8,64, 464,64z M 464,288l0,4 \n\t\tl-96,0 l0-4 L 464,288 z M 368,452l0-8 l 96,0 l0,8 L 368,452 z M 464,460l0,8 l-96,0 l0-8 L 464,460 z M 368,436l0-8 l 96,0 l0,8 L 368,436 z M 368,420l0-8 l 96,0 l0,8 L 368,420 z M 368,404l0-8 l 96,0 l0,8 L 368,404 z\n\t\t M 368,388l0-8 l 96,0 l0,8 L 368,388 z M 368,372l0-8 l 96,0 l0,8 L 368,372 z M 368,356l0-8 l 96,0 l0,8 L 368,356 z M 368,340l0-8 l 96,0 l0,8 L 368,340 z M 368,324l0-8 l 96,0 l0,8 L 368,324 z M 368,308l0-8 l 96,0 \n\t\tl0,8 L 368,308 z M 368,480l0-4 l 96,0 l0,4 L 368,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 304,128l-96,0 c-8.8,0-16,7.2-16,16l0,352 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 320,144 C 320,135.2, 312.8,128, 304,128z\n\t\t M 304,480l-96,0 L 208,316 l 96,0 L 304,480 z M 304,308l-96,0 l0-8 l 96,0 L 304,308 z M 304,292l-96,0 l0-8 l 96,0 L 304,292 z M 304,276l-96,0 l0-8 l 96,0 L 304,276 z M 304,260l-96,0 l0-8 l 96,0 L 304,260 z\n\t\t M 304,244l-96,0 l0-8 l 96,0 L 304,244 z M 304,228l-96,0 l0-8 l 96,0 L 304,228 z M 304,212l-96,0 l0-8 l 96,0 L 304,212 z M 304,196l-96,0 l0-8 l 96,0 L 304,196 z M 304,180l-96,0 l0-8 l 96,0 L 304,180 z\n\t\t M 304,164l-96,0 l0-4 l 96,0 L 304,164 zM 144,192L 48,192 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 160,208 C 160,199.2, 152.8,192, 144,192z M 144,480\n\t\tL 48,480 L 48,348 l 96,0 L 144,480 z M 144,340L 48,340 l0-8 l 96,0 L 144,340 z M 144,324L 48,324 l0-8 l 96,0 L 144,324 z M 144,308L 48,308 l0-8 l 96,0 L 144,308 z M 144,292L 48,292 l0-8 l 96,0 L 144,292 z M 144,276L 48,276 l0-8 l 96,0 \n\t\tL 144,276 z M 144,260L 48,260 l0-8 l 96,0 L 144,260 z M 144,244L 48,244 l0-8 l 96,0 L 144,244 z M 144,228L 48,228 l0-4 l 96,0 L 144,228 zM 464,64l-96,0 c-8.8,0-16,7.2-16,16l0,416 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 480,80 C 480,71.2, 472.8,64, 464,64z M 464,480l-96,0 \n\t\tL 368,284 l 96,0 L 464,480 z M 464,276l-96,0 l0-8 l 96,0 L 464,276 z M 464,260l-96,0 l0-8 l 96,0 L 464,260 z M 464,244l-96,0 l0-8 l 96,0 L 464,244 z M 464,228l-96,0 l0-8 l 96,0 L 464,228 z M 464,212l-96,0 l0-8 \n\t\tl 96,0 L 464,212 z M 464,196l-96,0 l0-8 l 96,0 L 464,196 z M 464,180l-96,0 l0-8 l 96,0 L 464,180 z M 464,164l-96,0 l0-8 l 96,0 L 464,164 z M 464,148l-96,0 l0-8 l 96,0 L 464,148 z M 464,132l-96,0 l0-8 l 96,0 \n\t\tL 464,132 z M 464,116l-96,0 l0-8 l 96,0 L 464,116 z M 464,100l-96,0 l0-4 l 96,0 L 464,100 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,192L 48,192 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 160,208 C 160,199.2, 152.8,192, 144,192z M 144,480\n\t\tL 48,480 L 48,352 l 96,0 L 144,480 zM 304,128l-96,0 c-8.8,0-16,7.2-16,16l0,352 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 320,144 C 320,135.2, 312.8,128, 304,128z\n\t\t M 304,480l-96,0 L 208,320 l 96,0 L 304,480 zM 464,64l-96,0 c-8.8,0-16,7.2-16,16l0,416 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 480,80 C 480,71.2, 472.8,64, 464,64z M 464,480l-96,0 \n\t\tL 368,288 l 96,0 L 464,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,128L 192,128 l0,384 l 128,0 L 320,128 L 320,128z M 224,164l0-4 l 64,0 l0,4 L 224,164 L 224,164z M 224,180l0-8 l 64,0 l0,8 L 224,180 L 224,180z M 224,196l0-8 l 64,0 l0,8 L 224,196 \n\t\tL 224,196z M 224,212l0-8 l 64,0 l0,8 L 224,212 L 224,212z M 224,228l0-8 l 64,0 l0,8 L 224,228 L 224,228z M 224,244l0-8 l 64,0 l0,8 L 224,244 L 224,244z M 224,260l0-8 l 64,0 l0,8 L 224,260 \n\t\tL 224,260z M 224,276l0-8 l 64,0 l0,8 L 224,276 L 224,276z M 224,292l0-8 l 64,0 l0,8 L 224,292 L 224,292z M 224,308l0-8 l 64,0 l0,8 L 224,308 L 224,308z M 224,324l0-8 l 64,0 l0,8 L 224,324 \n\t\tL 224,324z M 224,340l0-8 l 64,0 l0,8 L 224,340 L 224,340z M 224,356l0-8 l 64,0 l0,8 L 224,356 L 224,356z M 224,372l0-8 l 64,0 l0,8 L 224,372 L 224,372z M 224,388l0-8 l 64,0 l0,8 L 224,388 \n\t\tL 224,388z M 224,404l0-8 l 64,0 l0,8 L 224,404 L 224,404z M 224,420l0-8 l 64,0 l0,8 L 224,420 L 224,420z M 224,436l0-8 l 64,0 l0,8 L 224,436 L 224,436z M 224,452l0-8 l 64,0 l0,8 L 224,452 \n\t\tL 224,452z M 224,468l0-8 l 64,0 l0,8 L 224,468 L 224,468z M 224,480l0-4 l 64,0 l0,4 L 224,480 L 224,480zM0,288L 128,288L 128,512L0,512zM 384,0L 512,0L 512,512L 384,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,192L 352,0 L 128,0 l0,128 L0,128 l0,384 l 480,0 L 480,192 L 352,192 z M 160,448L 64,448 L 64,192 l 96,0 L 160,448 z M 288,448l-96,0 L 192,64 l 96,0 L 288,448 z M 416,448l-96,0 L 320,256 l 96,0 L 416,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,416L 512,416L 512,480L0,480zM 64,288L 128,288L 128,384L 64,384zM 160,160L 224,160L 224,384L 160,384zM 256,256L 320,256L 320,384L 256,384zM 352,64L 416,64L 416,384L 352,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats, pie, chart, statistics, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,96c 13.2,0, 24-10.8, 24-24L 512,24 c0-13.2-10.8-24-24-24l-48,0 c-13.2,0-24,10.8-24,24l0,8 L 96,32 l0-8 C 96,10.8, 85.2,0, 72,0L 24,0 \n\tC 10.8,0,0,10.8,0,24l0,48 c0,13.2, 10.8,24, 24,24l 8,0 l0,320 l-8,0 c-13.2,0-24,10.8-24,24l0,48 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\tl 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-48 c0-13.2-10.8-24-24-24l-8,0 L 480,96 L 488,96 z M 448,32l 32,0 l0,32 l-32,0 L 448,32 z M 32,32l 32,0 l0,32 L 32,64 \n\tL 32,32 z M 64,480L 32,480 l0-32 l 32,0 L 64,480 z M 480,480l-32,0 l0-32 l 32,0 L 480,480 z M 448,416l-8,0 c-13.2,0-24,10.8-24,24l0,8 L 96,448 l0-8 c0-13.2-10.8-24-24-24l-8,0 L 64,96 l 8,0 \n\tc 13.2,0, 24-10.8, 24-24l0-8 l 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 8,0 L 448,416 zM 256,128l0,128 l 128,0 C 384,185.308, 326.692,128, 256,128zM 224,288L 224,132.033 c-55.207,14.209-96,64.325-96,123.967c0,70.692, 57.308,128, 128,128c 59.643,0, 109.758-40.793, 123.967-96L 224,288 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats, bars, graph, plot, chart\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,96c 13.2,0, 24-10.8, 24-24L 512,24 c0-13.2-10.8-24-24-24l-48,0 c-13.2,0-24,10.8-24,24l0,8 L 96,32 l0-8 C 96,10.8, 85.2,0, 72,0L 24,0 \n\tC 10.8,0,0,10.8,0,24l0,48 c0,13.2, 10.8,24, 24,24l 8,0 l0,320 l-8,0 c-13.2,0-24,10.8-24,24l0,48 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\tl 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-48 c0-13.2-10.8-24-24-24l-8,0 L 480,96 L 488,96 z M 448,32l 32,0 l0,32 l-32,0 L 448,32 z M 32,32l 32,0 l0,32 L 32,64 \n\tL 32,32 z M 64,480L 32,480 l0-32 l 32,0 L 64,480 z M 480,480l-32,0 l0-32 l 32,0 L 480,480 z M 448,416l-8,0 c-13.2,0-24,10.8-24,24l0,8 L 96,448 l0-8 c0-13.2-10.8-24-24-24l-8,0 L 64,96 l 8,0 \n\tc 13.2,0, 24-10.8, 24-24l0-8 l 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 8,0 L 448,416 zM 128,128L 192,128L 192,384L 128,384zM 224,256L 288,256L 288,384L 224,384zM 320,192L 384,192L 384,384L 320,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats, graph, plot, statistics, chart\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,448 L 512,448 L 512,512 L 0,512 L 0,0 L 64,0 ZM 144,416 C 117.49,416 96,394.51 96,368 C 96,341.49 117.49,320 144,320 C 145.414,320 146.811,320.074 148.194,320.193 L 199.79,234.2 C 194.87,226.665 192,217.669 192,207.999 C 192,181.489 213.49,159.999 240,159.999 C 266.51,159.999 288,181.489 288,207.999 C 288,217.67 285.13,226.665 280.21,234.2 L 331.806,320.193 C 333.189,320.074 334.586,320 336,320 C 337.068,320 338.124,320.047 339.175,320.115 L 424.353,171.054 C 419.085,163.35 416,154.036 416,143.999 C 416,117.489 437.49,95.999 464,95.999 C 490.51,95.999 512,117.489 512,143.999 C 512,170.509 490.51,191.999 464,191.999 C 462.93,191.999 461.876,191.952 460.825,191.883 L 375.647,340.945 C 380.915,348.648 384,357.963 384,368 C 384,394.51 362.51,416 336,416 C 309.49,416 288,394.51 288,368 C 288,358.33 290.87,349.334 295.789,341.799 L 244.194,255.807 C 242.811,255.926 241.414,256 240,256 C 238.586,256 237.189,255.927 235.806,255.807 L 184.21,341.8 C 189.13,349.334 192,358.33 192,368 C 192,394.51 170.51,416 144,416 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288 L 510.013,288 C 494.265,414.281 386.547,512 256,512 C 114.615,512 0,397.385 0,256 C 0,125.453 97.719,17.736 224,1.988 L 224,288 ZM 288,34.253 L 288,223.999 L 477.747,223.999 C 475.044,205.032 469.918,186.566 462.411,168.818 C 451.13,142.148 434.974,118.19 414.392,97.607 C 393.81,77.025 369.851,60.869 343.181,49.589 C 325.434,42.083 306.967,36.956 288,34.253 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 L 256,256 L 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,1.988 L 224,288 L 510.013,288 C 494.265,414.281 386.547,512 256,512 C 114.615,512 0,397.385 0,256 C 0,125.453 97.719,17.736 224,1.988 ZM 256,0l0,256 l 256,0 C 512,114.615, 397.385,0, 256,0z M 288,220l 189.136,0 c 0.214,1.331, 0.42,2.664, 0.61,4L 288,224 L 288,220 z M 328.542,44\n\t\tc 4.929,1.689, 9.812,3.548, 14.639,5.59c 1.841,0.778, 3.665,1.585, 5.479,2.41L 288,52 l0-8 L 328.542,44 z M 288,36l0-1.747 \n\t\tc 3.503,0.499, 6.988,1.083, 10.455,1.747L 288,36 z M 364.535,60c 4.535,2.514, 8.978,5.18, 13.32,8L 288,68 l0-8 L 364.535,60 z M 389.375,76\n\t\tc 3.448,2.562, 6.823,5.233, 10.13,8L 288,84 l0-8 L 389.375,76 z M 408.559,92c 1.97,1.835, 3.921,3.696, 5.833,5.608\n\t\tc 0.789,0.79, 1.56,1.593, 2.336,2.392L 288,100 l0-8 L 408.559,92 z M 424.135,108c 2.312,2.619, 4.556,5.287, 6.734,8L 288,116 l0-8 L 424.135,108 z M 437.001,124\n\t\tc 1.922,2.628, 3.788,5.293, 5.591,8L 288,132 l0-8 L 437.001,124 z M 447.69,140c 1.594,2.631, 3.122,5.302, 4.608,8L 288,148 l0-8 L 447.69,140 z M 456.492,156\n\t\tc 1.317,2.64, 2.596,5.302, 3.812,8L 288,164 l0-8 L 456.492,156 z M 463.726,172c 1.074,2.651, 2.090,5.319, 3.058,8L 288,180 l0-8 L 463.726,172 z M 469.502,188\n\t\tc 0.846,2.654, 1.646,5.32, 2.391,8L 288,196 l0-8 L 469.502,188 z M 473.947,204c 0.631,2.655, 1.212,5.322, 1.745,8L 288,212 l0-8 L 473.947,204 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 224,1.988 C 97.719,17.736,0,125.453,0,256c0,141.385, 114.615,256, 256,256c 130.547,0, 238.265-97.719, 254.013-224L 224,288 z\n\t M 404.79,423.444C 363.783,459.915, 310.942,480, 256,480c-30.254,0-59.586-5.918-87.181-17.59\n\tc-26.67-11.28-50.628-27.437-71.21-48.019C 77.026,393.81, 60.87,369.851, 49.59,343.181C 37.918,315.586, 32,286.254, 32,256\n\tc0-54.942, 20.085-107.783, 56.556-148.789C 116.489,75.803, 152.373,53.090, 192,41.286L 192,320 l 278.715,0 \n\tC 458.91,359.628, 436.197,395.511, 404.79,423.444zM 256,0 C 397.385,0 512,114.615 512,256 L 256,256 L 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 397.385,0 512,114.615 512,256 L 256,256 L 256,0 ZM 224,1.988C 97.719,17.736,0,125.453,0,256c0,141.385, 114.615,256, 256,256c 130.547,0, 238.265-97.719, 254.013-224L 224,288 L 224,1.988 z\n\t\t M 183.534,44L 192,44 l0,8 l-28.617,0 C 169.96,49.010, 176.686,46.342, 183.534,44z M 147.509,60L 192,60 l0,8 l-57.808,0 \n\t\tC 138.541,65.178, 142.982,62.51, 147.509,60z M 122.664,76L 192,76 l0,8 l-79.49,0 C 115.823,81.233, 119.208,78.563, 122.664,76z M 103.438,92L 192,92 l0,8 \n\t\tL 95.268,100 C 97.929,97.259, 100.653,94.592, 103.438,92z M 87.87,108L 192,108 l0,8 L 81.147,116 C 83.322,113.288, 85.562,110.62, 87.87,108z M 75.024,124\n\t\tL 192,124 l0,8 L 69.442,132 C 71.241,129.296, 73.104,126.63, 75.024,124z M 64.354,140L 192,140 l0,8 L 59.74,148 C 61.224,145.305, 62.757,142.636, 64.354,140z\n\t\t M 55.549,156L 192,156 l0,8 L 51.751,164 C 52.963,161.31, 54.23,158.643, 55.549,156z M 48.323,172L 192,172 l0,8 L 45.272,180 \n\t\tC 46.24,177.314, 47.253,174.646, 48.323,172z M 42.562,188L 192,188 l0,8 L 40.169,196 C 40.914,193.316, 41.718,190.651, 42.562,188z M 38.113,204L 192,204 l0,8 \n\t\tL 36.362,212 C 36.898,209.321, 37.481,206.654, 38.113,204z M 34.905,220L 192,220 l0,8 L 33.764,228 C 34.1,225.324, 34.473,222.656, 34.905,220z M 32.896,236\n\t\tL 192,236 l0,8 L 32.333,244 C 32.476,241.327, 32.658,238.659, 32.896,236z M 32,256c0-1.335, 0.022-2.667, 0.046-4L 192,252 l0,8 L 32.049,260 \n\t\tC 32.026,258.668, 32,257.336, 32,256z M 32.32,268L 192,268 l0,8 L 32.89,276 C 32.657,273.342, 32.46,270.676, 32.32,268z M 33.721,284L 192,284 l0,8 L 34.878,292 \n\t\tC 34.45,289.342, 34.054,286.678, 33.721,284z M 36.307,300L 192,300 l0,8 L 38.063,308 C 37.432,305.344, 36.84,302.679, 36.307,300z M 256,480\n\t\tc-14.362,0-28.513-1.351-42.373-4l 84.523,0 C 284.354,478.638, 270.249,480, 256,480z M 328.362,468L 183.472,468 \n\t\tc-4.934-1.689-9.821-3.546-14.653-5.59c-1.84-0.778-3.665-1.585-5.479-2.41l 185.218,0 C 341.96,462.994, 335.22,465.661, 328.362,468z\n\t\t M 364.466,452L 147.465,452 c-4.536-2.514-8.978-5.18-13.32-8l 243.649,0 C 373.438,446.824, 368.993,449.493, 364.466,452z M 389.334,436\n\t\tL 122.625,436 c-3.449-2.562-6.824-5.233-10.13-8l 286.988,0 C 396.168,430.769, 392.787,433.439, 389.334,436z M 408.565,420L 103.441,420 \n\t\tc-1.97-1.835-3.921-3.696-5.833-5.608c-0.789-0.789-1.56-1.593-2.335-2.392l 321.464,0 C 414.088,414.729, 411.362,417.396, 408.565,420z\n\t\t M 424.144,404L 87.865,404 c-2.311-2.619-4.556-5.286-6.734-8l 349.727,0 C 428.684,398.713, 426.448,401.383, 424.144,404z M 436.981,388L 74.999,388 \n\t\tc-1.921-2.628-3.788-5.293-5.59-8l 373.155,0 C 440.763,382.705, 438.901,385.371, 436.981,388z M 447.647,372L 64.31,372 \n\t\tc-1.594-2.631-3.123-5.302-4.608-8l 392.572,0 C 450.786,366.697, 449.245,369.364, 447.647,372z M 456.481,356L 55.508,356 \n\t\tc-1.317-2.64-2.596-5.302-3.812-8l 408.58,0 C 459.062,350.69, 457.801,353.359, 456.481,356z M 463.696,340L 48.291,340 \n\t\tc-1.074-2.652-2.104-5.317-3.072-8L 466.76,332 C 465.79,334.688, 464.768,337.354, 463.696,340z M 470.715,320\n\t\tc-0.398,1.338-0.812,2.671-1.235,4L 42.508,324 c-0.846-2.654-1.647-5.319-2.392-8L 192,316 l0,4 L 470.715,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 147.503,452\n\tc-4.534-2.516-8.971-5.186-13.306-8l 243.613,0 c-4.336,2.815-8.775,5.483-13.312,8L 147.503,452 z M 348.635,460\n\tc-6.556,2.981-13.283,5.65-20.158,8L 183.524,468 c-6.872-2.349-13.594-5.020-20.146-8L 348.635,460 z M 122.679,436\n\tc-3.467-2.573-6.864-5.235-10.173-8l 286.991,0 c-3.309,2.764-6.702,5.428-10.169,8L 122.679,436 z M 95.277,412l 294.096,0 l 8,8L 103.452,420 \n\tC 100.66,417.402, 97.933,414.736, 95.277,412z M 293.373,316l 8,8L 42.537,324 c-0.842-2.646-1.634-5.312-2.38-8L 293.373,316 z M 38.084,308\n\tc-0.629-2.647-1.199-5.317-1.733-8l 241.022,0 l 8,8L 38.084,308 z M 309.373,332l 8,8L 48.312,340 c-1.070-2.644-2.1-5.308-3.071-8L 309.373,332 z\n\t M 325.373,348l 8,8L 55.532,356 c-1.317-2.637-2.581-5.305-3.796-8L 325.373,348 z M 341.373,364l 8,8L 64.357,372 c-1.596-2.632-3.141-5.299-4.63-8\n\tL 341.373,364 z M 357.373,380l 8,8L 75.029,388 c-1.917-2.624-3.778-5.291-5.582-8L 357.373,380 z M 373.373,396l 8,8L 87.868,404 \n\tc-2.301-2.612-4.538-5.281-6.717-8L 373.373,396 z M 265.373,288l 4,4L 34.904,292 c-0.215-1.33-0.428-2.662-0.619-4L 265.373,288 z M 256,32l0,224 L 32,256 \n\tC 32,132.288, 132.288,32, 256,32z M 213.69,476l 84.613,0 c-13.7,2.619-27.84,4-42.304,4C 241.534,480, 227.393,478.62, 213.69,476z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,64C 100.288,64,0,164.288,0,288s 100.288,224, 224,224s 224-100.288, 224-224L 224,288 L 224,64 zM 288,0l0,224 l 224,0 C 512,100.288, 411.712,0, 288,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 224,64 C 100.288,64,0,164.288,0,288s 100.288,224, 224,224s 224-100.288, 224-224c0-36.017-8.514-70.042-23.618-100.191\n\t\tL 224,288zM 456.382,123.809C 419.606,50.401, 343.695,0, 256,0l0,224 L 456.382,123.809z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cone, traffic, maintenance\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,448L 313.792,30.465C 308.406,13.709, 293.2,0, 280,0s-34.8,0-48,0s-28.407,13.709-33.792,30.465L 64,448L0,448 l0,64 l 512,0 l0-64 L 448,448 z\n\t M 210.755,96l 90.489,0 l 20.572,64L 190.184,160 L 210.755,96z M 169.613,224l 172.775,0 l 20.571,64L 149.041,288 L 169.613,224z M 107.898,416l 20.571-64\n\tl 255.061,0 l 20.571,64L 107.898,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"construction, maintenance\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,208L 512,80 c0-8.8-7.2-16-16-16L 16,64 C 7.2,64,0,71.2,0,80l0,128 c0,8.8, 7.2,16, 16,16l 60.175,0 L0,448l 96,0 l 32.646-96l 254.707,0 L 416,448\n\tl 96,0 l-76.175-224L 496,224 C 504.8,224, 512,216.8, 512,208z M 416,96l-96,96l-96,0 l 96-96L 416,96 z M 128,96l 96,0 l-96,96L 32,192 L 128,96z M 372.472,320\n\tL 139.529,320 l 32.646-96l 167.65,0 L 372.472,320z M 480,192l-64,0 l 64-64L 480,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"inject, anti virus, medicine, heal, vaccine\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,192l 16-64L 384,0l-64,16l 31.515,31.515l-52.201,52.201l-71.515-71.515l-39.598,39.598l 48.185,48.185\n\t\tc-1.045,0.811-2.055,1.686-3.013,2.644L 54.627,297.373c-12.445,12.444-12.445,32.81,0,45.254L 64,352l0,0 l0,32 l 20.687,20.687L0,489.373\n\t\tl0,0 L 22.627,512l 84.687-84.687L 128,448l 32,0 l 9.373,9.373c 6.223,6.223, 14.425,9.333, 22.627,9.333s 16.405-3.11, 22.627-9.333\n\t\tl 178.746-178.746c 0.958-0.958, 1.833-1.968, 2.644-3.013l 48.185,48.185l 39.598-39.598l-71.515-71.515l 52.201-52.201L 496,192z\n\t\t M 373.574,258.828L 194.829,437.573c-0.937,0.937-2.055,1.133-2.829,1.133s-1.893-0.196-2.828-1.132L 74.426,322.827\n\t\tc-0.936-0.936-1.132-2.054-1.132-2.827s 0.196-1.892, 1.133-2.828l 178.745-178.746c 0.937-0.936, 2.055-1.133, 2.829-1.133\n\t\ts 1.892,0.196, 2.828,1.133l 114.745,114.745C 375.080,254.678, 375.081,257.321, 373.574,258.828z M 395.313,195.716l-79.029-79.029\n\t\tl 52.201-52.201l 79.029,79.029L 395.313,195.716zM 199.514,376.489L 135.514,312.489L 152.484,295.519L 216.484,359.518zM 295.514,280.489L 231.515,216.489L 248.485,199.519L 312.485,263.518zM 247.514,328.489L 183.514,264.489L 200.485,247.519L 264.484,311.518z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"inject, anti virus, medicine, heal, vaccine, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,192l 16-64L 384,0l-64,16l 31.515,31.515l-52.201,52.201l-71.515-71.515l-39.598,39.598l 48.185,48.185\n\tc-1.045,0.811-2.055,1.686-3.013,2.644L 54.627,297.373c-12.445,12.444-12.445,32.81,0,45.254L 64,352l0,0 l0,32 l 20.687,20.687L0,489.373l0,0 \n\tL 22.627,512l 84.687-84.687L 128,448l 32,0 l 9.373,9.373c 6.223,6.223, 14.425,9.333, 22.627,9.333s 16.405-3.11, 22.627-9.333l 178.746-178.746\n\tc 0.958-0.958, 1.833-1.968, 2.644-3.013l 48.185,48.185l 39.598-39.598l-71.515-71.515l 52.201-52.201L 496,192z M 123.34,268.258\n\tl 0.917-0.918l 127.484,113.32l-15.082,15.082L 123.34,268.258z M 235.742,396.66l-15.082,15.082L 107.34,284.258l 0.917-0.918\n\tL 235.742,396.66z M 139.34,252.258l 0.917-0.917l 127.484,113.32l-15.082,15.082L 139.34,252.258z M 155.34,236.258l 0.917-0.917\n\tl 127.484,113.32l-15.082,15.082L 155.34,236.258z M 171.34,220.258l 0.917-0.917l 127.484,113.32l-15.082,15.082L 171.34,220.258z\n\t M 187.34,204.258l 0.917-0.917l 127.484,113.32l-15.082,15.082L 187.34,204.258z M 203.34,188.258l 0.917-0.917l 127.484,113.32\n\tl-15.082,15.082L 203.34,188.258z M 219.34,172.258l 0.918-0.918l 127.484,113.32l-15.082,15.082L 219.34,172.258z M 235.34,156.258\n\tl 0.918-0.918l 127.484,113.32l-15.082,15.082L 235.34,156.258z M 192,438.706c-0.774,0-1.893-0.196-2.828-1.132L 74.426,322.827\n\tc-0.936-0.936-1.132-2.054-1.132-2.827s 0.196-1.892, 1.133-2.828l 1.832-1.832l 127.484,113.32l-8.913,8.913\n\tC 193.893,438.51, 192.774,438.706, 192,438.706z M 204.66,427.742L 91.34,300.258l 0.917-0.918l 127.484,113.32L 204.66,427.742z\n\t M 373.574,258.828l-8.914,8.914L 251.34,140.258l 1.832-1.832c 0.937-0.936, 2.055-1.133, 2.829-1.133s 1.892,0.196, 2.828,1.133\n\tl 114.745,114.745C 375.080,254.678, 375.081,257.321, 373.574,258.828z M 395.313,195.716l-79.029-79.029l 52.201-52.201l 79.029,79.029\n\tL 395.313,195.716z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bug, virus, error\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,288l0-32 l-96.645,0 c-2.931-36.343-15.893-69.513-35.835-96.125l 80.972,0 l 35.030-140.12l-31.045-7.761l-28.97,115.88l-87.34,0 \n\tc-0.446-0.347-0.898-0.687-1.349-1.028c 3.355-9.751, 5.181-20.211, 5.181-31.097C 352,42.869, 309.020,0, 256,0s-96,42.869-96,95.75\n\tc0,10.886, 1.825,21.346, 5.181,31.097c-0.45,0.342-0.902,0.681-1.349,1.028l-87.34,0 l-28.97-115.88l-31.045,7.761l 35.030,140.12l 80.972,0 \n\tC 112.537,186.487, 99.576,219.657, 96.645,256L0,256 l0,32 l 96.685,0 c 1.901,22.832, 7.754,44.406, 16.819,63.875L 51.508,351.875 l-35.030,140.119\n\tl 31.045,7.762l 28.97-115.881l 56.177,0 C 162.016,422.891, 206.368,447.75, 256,447.75s 93.983-24.859, 123.331-63.875l 56.177,0 l 28.97,115.881\n\tl 31.045-7.762l-35.030-140.119l-61.996,0 c 9.065-19.469, 14.918-41.043, 16.818-63.875L 512,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bug, virus, error\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,160l 32-64L 512,32 l-48,96L 407.11,128 c-4.274-4.689-10.553-9.171-19.73-14.311l-70.76-35.377C 300.88,70.439, 273.6,64, 256,64\n\t\t\tc-17.602,0-44.881,6.439-60.623,14.313l-70.758,35.377c-9.181,5.14-15.457,9.623-19.731,14.311L 48,128.001 L0,32l0,64 l 32,64l 64,0 l0,64 L0,256l0,32 \n\t\t\tl 96-32l0,96 L 64,352 L0,512l 32,0 l 51.199-128l 16.712,0 c 4.447,12.48, 12.241,24.669, 21.074,31.734l 110.022,88.021\n\t\t\tC 237.882,509.253, 246.94,512, 256,512c 9.057,0, 18.113-2.747, 24.985-8.245l 110.022-88.021c 8.835-7.065, 16.628-19.254, 21.074-31.734\n\t\t\tL 428.8,384 L 480,512l 32,0 l-64-160l-32,0 l0-96 l 96,32l0-32 l-96-32l0-64 L 480,160 z M 272,448l-32,0 L 240,128 l 32,0 L 272,448 zM 320,62.221L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,30.221 C 210.129,54.116, 237.284,48, 256,48\n\t\tC 274.713,48, 301.865,54.116, 320,62.221z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"patch, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,416L 96,416L 96,448L 64,448zM 384,96L 416,96L 416,128L 384,128zM 352,64L 384,64L 384,96L 352,96zM 64,352L 96,352L 96,384L 64,384zM 128,416L 160,416L 160,448L 128,448zM 416,128L 448,128L 448,160L 416,160zM 416,64L 448,64L 448,96L 416,96zM 478.864,33.137C 458.39,12.664, 430.105,0, 398.864,0c-13.969,0-27.344,2.538-39.695,7.167\n\t\tc-15.27,5.723-28.975,14.644-40.292,25.957l-0.025,0.025L 33.15,318.851l-0.025,0.025c-11.313,11.317-20.234,25.022-25.957,40.292\n\t\tC 2.538,371.52,0,384.895,0,398.863c0,31.241, 12.663,59.526, 33.137,80S 81.896,512, 113.137,512c 13.969,0, 27.344-2.538, 39.695-7.167\n\t\tc 15.27-5.723, 28.975-14.644, 40.292-25.957l 0.025-0.025l 285.701-285.701l 0.025-0.025c 11.313-11.317, 20.234-25.022, 25.957-40.292\n\t\tc 4.629-12.352, 7.167-25.727, 7.167-39.695C 512,81.896, 499.337,53.611, 478.864,33.137z M 192,448l-32,0 l0,32 l-32,0 l0-32 L 96,448 l0,32 L 64,480 l0-32 L 32,448 l0-32 \n\t\tl 32,0 l0-32 L 32,384 l0-32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0,32 l 32,0 l0,32 l 32,0 L 192,448 z M 224,384l-96-96l 32-32l 96,96L 224,384z M 352,256l-96-96l 32-32l 96,96L 352,256z\n\t\t M 480,96l-32,0 l0,32 l 32,0 l0,32 l-32,0 l0,32 l-32,0 l0-32 l-32,0 l0-32 l-32,0 L 352,96 l-32,0 L 320,64 l 32,0 L 352,32 l 32,0 l0,32 l 32,0 L 416,32 l 32,0 l0,32 l 32,0 L 480,96 zM 96,384L 128,384L 128,416L 96,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"aid, medicine, medical, kit, health\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,128l-96,0 L 352,64 c0-17.6-14.4-32-32-32L 192,32 c-17.6,0-32,14.4-32,32l0,64 L 64,128 c-35.2,0-64,28.8-64,64l0,256 c0,35.2, 28.8,64, 64,64l 384,0 \n\tc 35.2,0, 64-28.8, 64-64L 512,192 C 512,156.8, 483.2,128, 448,128z M 192,64l 128,0 l0,64 L 192,128 L 192,64 z M 384,352l-96,0 l0,96 l-64,0 l0-96 l-96,0 l0-64 l 96,0 l0-96 l 64,0 l0,96 l 96,0 \n\tL 384,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"health, medicine, medical, pulse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,320L 384,352L 320,192L 256,384L 160,32L 96,352L0,352L0,384L 122.235,384L 164.794,171.197L 225.128,392.42L 252.937,494.385L 322.734,284.995L 354.288,363.885L 372.313,408.943L 429.256,352L 512,352L 512,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wand, magic, wizard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 258.181,225.909l 94.386-29.34L 256,128.277L 256,0 L 152.532,74.534L 32,32l 42.533,120.533L0,256l 128,0 l 68.567,96.568l 29.341-94.387\n\tL 448,512l 64-64L 258.181,225.909z M 202.327,202.328l-19.579,62.986l-38.084-53.010L 78.712,212.304 l 39.447-52.861L 96.979,96.979l 62.464,21.182\n\tl 52.862-39.447l0,65.952 l 53.008,38.084L 202.327,202.328z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wand, magic, wizard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,96L 64,32L 32,32L 32,64L 96,128 \tzM 160,0L 192,0L 192,64L 160,64zM 288,160L 352,160L 352,192L 288,192zM 320,64L 320,32L 288,32L 224,96L 256,128 \tzM0,160L 64,160L 64,192L0,192zM 160,288L 192,288L 192,352L 160,352zM 32,288L 32,320L 64,320L 128,256L 96,224 \tzM 505,441L 186.941,122.941c-9.334-9.334-24.607-9.334-33.941,0L 122.941,153c-9.334,9.334-9.334,24.607,0,33.941L 441,505\n\t\tc 9.334,9.334, 24.607,9.334, 33.941,0L 505,474.941C 514.334,465.607, 514.334,450.334, 505,441z M 240,272l-96-96l 32-32l 96,96L 240,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screwdriver, fix, tool, make, build\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.256,395.256L 398.361,286.361c-20.765,4.761-43.441-0.932-59.616-17.106c-16.175-16.175-21.867-38.852-17.106-59.616\n\tl-12.895-12.895c-11.030-11.031-38.41-2.154-65.372,19.758L 96,69.13L 80,32L 28.768,0L0,28.768L 32,80l 37.13,16l 147.373,147.372\n\tc-21.913,26.963-30.79,54.342-19.76,65.372c 0.003,0.003, 0.006,0.005, 0.009,0.008l 12.887,12.887\n\tc 20.765-4.761, 43.441,0.931, 59.616,17.106c 16.176,16.176, 21.868,38.852, 17.106,59.616l 108.894,108.895\n\tc 12.976,12.975, 48.565-1.579, 79.494-32.508C 505.677,443.82, 520.23,408.229, 507.256,395.256z M 445.435,445.435\n\tc-3.71,3.71-8.572,5.565-13.435,5.565s-9.725-1.855-13.435-5.565l-160-160c-7.421-7.42-7.421-19.449,0-26.869\n\tc 7.42-7.42, 19.449-7.42, 26.869,0l 160,160C 452.855,425.985, 452.855,438.015, 445.435,445.435z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screwdriver, fix, tool, make, build\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.256,395.256L 308.744,196.744c-11.030-11.031-38.41-2.154-65.372,19.758L 96,69.13L 80,32L 28.768,0L0,28.768L 32,80\n\tl 37.13,16l 147.373,147.372c-21.913,26.963-30.79,54.342-19.76,65.372c 0.003,0.003, 0.006,0.005, 0.009,0.008l 198.503,198.504\n\tc 12.976,12.975, 48.565-1.579, 79.494-32.508C 505.677,443.82, 520.23,408.229, 507.256,395.256z M 445.435,445.435\n\tc-3.71,3.71-8.572,5.565-13.435,5.565s-9.725-1.855-13.435-5.565l-160-160c-7.421-7.42-7.421-19.449,0-26.869\n\tc 7.42-7.42, 19.449-7.42, 26.869,0l 160,160C 452.855,425.985, 452.855,438.015, 445.435,445.435z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"tools, hammer, tool, fix, make, generate, work, build\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 246.278,352.277 L 319.723,425.722 L 261.385,500.634 C 250.694,514.615 231.764,515.871 219.319,503.427 L 168.574,452.681 C 156.129,440.237 157.386,421.307 171.366,410.616 L 246.278,352.277 ZM 636.756,131.246L 560,208.001l-96-96l 76.756-76.755c-9.244-2.122-18.869-3.245-28.756-3.245c-70.692,0-128,57.308-128,128\n\t\tc0,25.498, 7.458,49.253, 20.309,69.208l-71.454,55.646L 224,176.001l 144-144L 208,32.001 l-71.029,71.029l-7.030-7.029L 96,96.001 l0,33.941 l 7.029,7.029\n\t\tL0,240.001l 80,80l 96-96l 169.116,169.115L 464,511.999l 48-47.998L 387.146,339.146l 55.646-71.454\n\t\tc 19.954,12.851, 43.71,20.309, 69.208,20.309c 70.692,0, 128-57.308, 128-128C 640,150.114, 638.877,140.489, 636.756,131.246z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hammer, tool, fix, make, generate, work, build\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 504.998,414.488L 354.226,263.716c-9.334-9.334-24.607-9.334-33.941,0l-11.313,11.313l-92-92L 368,32L 208,32 l-71.029,71.029\n\tL 129.941,96L 96,96 l0,33.941 l 7.029,7.029L0,240l 80,80l 103.029-103.029l 92,92l-11.313,11.313c-9.334,9.334-9.334,24.607,0,33.941\n\tl 150.772,150.772c 9.334,9.334, 24.607,9.334, 33.941,0l 56.568-56.568C 514.332,439.096, 514.332,423.822, 504.998,414.488z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"factory, make, generate, produce, production\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,448L 480,160L 352,256L 352,160L 224,256L 224,128L 96,224L 96,32L 32,32L 32,448L0,448L0,480L 512,480L 512,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224l-120.543-24.108l 68.189-102.284l-45.255-45.255l-102.283,68.189L 288,0l-64,0 l-24.108,120.542L 97.608,52.353\n\t\tL 52.353,97.608l 68.189,102.284L0,224l0,64 l 120.542,24.108L 52.353,414.392l 45.255,45.255l 102.284-68.189L 224,512l 64,0 l 24.108-120.542\n\t\tl 102.283,68.188l 45.255-45.255l-68.188-102.283L 512,288L 512,224 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 \n\t\tL 216.235,160l 79.528,0 L 352,216.236zM 224,224L 288,224L 288,288L 224,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224l-120.543-24.108l 68.189-102.284l-45.255-45.255l-102.283,68.189L 288,0l-64,0 l-24.108,120.542L 97.608,52.353\n\t\tL 52.353,97.608l 68.189,102.284L0,224l0,64 l 120.542,24.108L 52.353,414.392l 45.255,45.255l 102.284-68.189L 224,512l 64,0 l 24.108-120.542\n\t\tl 102.283,68.188l 45.255-45.255l-68.188-102.283L 512,288L 512,224 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 \n\t\tL 216.235,160l 79.528,0 L 352,216.236z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,208l-112.869-11.287l 71.83-87.791L 403.078,41.040l-87.791,71.829L 304,0l-96,0 l-11.287,112.869L 108.922,41.040\n\tL 41.040,108.922l 71.829,87.791L0,208l0,96 l 112.869,11.287L 41.040,403.078l 67.882,67.883l 87.791-71.83L 208,512l 96,0 l 11.287-112.869\n\tl 87.791,71.83l 67.883-67.883l-71.83-87.791L 512,304L 512,208 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 L 216.235,160\n\tl 79.528,0 L 352,216.236zM 224,224L 288,224L 288,288L 224,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,208l-112.869-11.287l 71.83-87.791L 403.078,41.040l-87.791,71.829L 304,0l-96,0 l-11.287,112.869L 108.922,41.040\n\tL 41.040,108.922l 71.829,87.791L0,208l0,96 l 112.869,11.287L 41.040,403.078l 67.882,67.883l 87.791-71.83L 208,512l 96,0 l 11.287-112.869\n\tl 87.791,71.83l 67.883-67.883l-71.83-87.791L 512,304L 512,208 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 L 216.235,160\n\tl 79.528,0 L 352,216.236z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 316.576,512L 195.423,512 l-12.202-73.212c-1.679-0.669-3.35-1.36-5.010-2.075l-60.396,43.141l-85.669-85.667l 43.058-60.281\n\t\tc-0.738-1.707-1.453-3.425-2.142-5.152L0,316.575L0,195.423 l 72.868-12.144c 0.711-1.795, 1.45-3.582, 2.213-5.355l-42.935-60.108\n\t\tl 85.669-85.669l 59.991,42.851c 1.821-0.788, 3.654-1.549, 5.499-2.282L 195.423,0l 121.153,0 l 12.119,72.715\n\t\tc 1.845,0.733, 3.679,1.494, 5.499,2.282l 59.991-42.851l 85.668,85.669l-42.936,60.107c 0.765,1.774, 1.503,3.561, 2.214,5.357\n\t\tL 512,195.423l0,121.152 l-73.062,12.178c-0.689,1.728-1.403,3.445-2.142,5.151l 43.058,60.281l-85.668,85.668l-60.397-43.141\n\t\tc-1.661,0.714-3.331,1.405-5.011,2.074L 316.576,512z M 227.615,474l 56.77,0 l 10.617-63.705l 10.894-3.6\n\t\tc 7.31-2.416, 14.506-5.396, 21.389-8.856l 10.246-5.151l 52.548,37.533l 40.143-40.143l-37.479-52.472l 5.184-10.26\n\t\tc 3.493-6.913, 6.502-14.146, 8.941-21.499l 3.608-10.874L 474,284.385l0-56.771 l-63.402-10.567l-3.589-10.92\n\t\tc-2.438-7.423-5.454-14.721-8.963-21.69l-5.158-10.25l 37.333-52.265l-40.143-40.144l-52.191,37.279l-10.262-5.192\n\t\tc-6.998-3.541-14.333-6.584-21.801-9.048l-10.902-3.596L 284.385,38l-56.77,0 l-10.537,63.222l-10.902,3.596\n\t\tc-7.465,2.463-14.799,5.507-21.799,9.049l-10.262,5.192l-52.192-37.28l-40.144,40.144l 37.333,52.266l-5.158,10.249\n\t\tc-3.508,6.971-6.523,14.268-8.962,21.69l-3.588,10.921L 38,227.615l0,56.77 l 63.526,10.589l 3.607,10.876\n\t\tc 2.437,7.346, 5.445,14.578, 8.941,21.496l 5.185,10.26l-37.481,52.474l 40.144,40.142l 52.549-37.534l 10.247,5.154\n\t\tc 6.877,3.459, 14.073,6.438, 21.385,8.855l 10.894,3.6L 227.615,474zM 272,192l-32,0 c-26.4,0-48,21.6-48,48l0,32 c0,26.4, 21.6,48, 48,48l 32,0 c 26.4,0, 48-21.6, 48-48l0-32 C 320,213.6, 298.4,192, 272,192z\n\t M 288,272c0,8.8-7.2,16-16,16l-32,0 c-8.8,0-16-7.2-16-16l0-32 c0-8.8, 7.2-16, 16-16l 32,0 c 8.8,0, 16,7.2, 16,16L 288,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,304.047l0-96.094 l-73.387-12.231c-2.979-9.066-6.611-17.834-10.847-26.25l 43.227-60.517l-67.948-67.949l-60.413,43.152\n\t\tc-8.455-4.277-17.269-7.944-26.384-10.951L 304.047,0l-96.094,0 l-12.201,73.208c-9.115,3.007-17.929,6.674-26.383,10.951\n\t\tl-60.414-43.152l-67.949,67.949l 43.227,60.518c-4.235,8.415-7.867,17.183-10.846,26.249L0,207.953l0,96.094 l 73.559,12.26\n\t\tc 2.98,8.984, 6.605,17.674, 10.821,26.015l-43.374,60.724l 67.949,67.948l 60.827-43.447c 8.301,4.175, 16.945,7.764, 25.882,10.717\n\t\tL 207.953,512l 96.094,0 l 12.289-73.737c 8.937-2.953, 17.581-6.542, 25.883-10.716l 60.826,43.446l 67.948-67.948l-43.372-60.723\n\t\tc 4.216-8.341, 7.839-17.031, 10.82-26.016L 512,304.047z M 256,320c-35.346,0-64-28.653-64-64c0-35.346, 28.654-64, 64-64\n\t\tc 35.347,0, 64,28.654, 64,64C 320,291.347, 291.347,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cogs, settings, gears, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 181.861,361.026l 20.649-28.908l-22.627-22.628l-28.909,20.648c-5.361-2.997-11.102-5.387-17.133-7.096L 128,288L 96,288 \n\t\tl-5.84,35.043c-6.031,1.709-11.772,4.099-17.133,7.096L 44.118,309.49L 21.49,332.118l 20.649,28.908\n\t\tc-2.997,5.36-5.387,11.103-7.096,17.133L0,384l0,32 l 35.043,5.841c 1.709,6.030, 4.099,11.772, 7.096,17.133L 21.49,467.882l 22.627,22.628\n\t\tl 28.909-20.648c 5.361,2.997, 11.102,5.387, 17.133,7.096L 96,512l 32,0 l 5.84-35.043c 6.031-1.709, 11.772-4.099, 17.133-7.096l 28.909,20.648\n\t\tl 22.627-22.628l-20.649-28.908c 2.997-5.36, 5.387-11.103, 7.096-17.133L 224,416l0-32 l-35.043-5.841\n\t\tC 187.248,372.129, 184.858,366.387, 181.861,361.026z M 112,432c-17.674,0-32-14.327-32-32s 14.326-32, 32-32s 32,14.327, 32,32\n\t\tS 129.674,432, 112,432zM 512,192l0-32 l-33.691-6.125c-0.621-4.023-1.416-7.989-2.362-11.895l 28.779-18.55L 492.48,93.866l-33.472,7.234\n\t\tc-2.107-3.455-4.363-6.81-6.746-10.065l 19.503-28.171l-22.628-22.627l-28.171,19.503c-3.256-2.383-6.61-4.638-10.065-6.747\n\t\tl 7.234-33.472L 388.571,7.274l-18.55,28.779c-3.906-0.946-7.872-1.741-11.895-2.362L 352,0l-32,0 l-6.126,33.691\n\t\tc-4.023,0.621-7.988,1.416-11.895,2.362L 283.43,7.274L 253.866,19.52l 7.234,33.472c-3.455,2.108-6.81,4.364-10.065,6.747\n\t\tl-28.171-19.503l-22.627,22.627l 19.503,28.171c-2.383,3.255-4.639,6.61-6.747,10.065l-33.472-7.234l-12.246,29.564l 28.779,18.55\n\t\tc-0.946,3.906-1.741,7.871-2.362,11.895L 160,160l0,32 l 33.691,6.125c 0.621,4.023, 1.416,7.989, 2.362,11.895l-28.779,18.55\n\t\tl 12.246,29.564l 33.472-7.234c 2.108,3.455, 4.364,6.809, 6.747,10.065l-19.503,28.171l 22.627,22.628l 28.171-19.503\n\t\tc 3.255,2.383, 6.61,4.638, 10.065,6.746l-7.234,33.472l 29.564,12.246l 18.551-28.779c 3.905,0.946, 7.871,1.741, 11.894,2.362L 320,352l 32,0 \n\t\tl 6.126-33.691c 4.022-0.621, 7.988-1.416, 11.895-2.362l 18.55,28.779l 29.564-12.246l-7.234-33.472\n\t\tc 3.455-2.108, 6.81-4.363, 10.065-6.746l 28.171,19.503l 22.628-22.628l-19.503-28.171c 2.383-3.256, 4.638-6.61, 6.746-10.065\n\t\tl 33.472,7.234l 12.246-29.565l-28.779-18.55c 0.946-3.906, 1.741-7.871, 2.362-11.895L 512,192z M 336,245.6\n\t\tc-38.439,0-69.6-31.161-69.6-69.6c0-38.439, 31.16-69.6, 69.6-69.6s 69.6,31.161, 69.6,69.6C 405.6,214.439, 374.44,245.6, 336,245.6z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 466.895,305.125c-26.863-46.527-10.708-106.152, 36.076-133.244l-50.313-87.146c-14.375,8.427-31.088,13.259-48.923,13.259\n\tc-53.768,0-97.354-43.873-97.354-97.995L 205.752-0.001 c 0.133,16.705-4.037,33.641-12.979,49.126\n\tc-26.862,46.528-86.578,62.351-133.431,35.379L 9.030,171.65c 14.485,8.236, 27.025,20.294, 35.943,35.739\n\tc 26.819,46.454, 10.756,105.96-35.854,133.112l 50.313,87.146c 14.325-8.348, 30.958-13.127, 48.7-13.127\n\tc 53.598,0, 97.072,43.596, 97.35,97.479l 100.627,0 c-0.043-16.537, 4.136-33.285, 12.983-48.609\n\tc 26.818-46.453, 86.388-62.297, 133.207-35.506l 50.313-87.145C 488.222,332.506, 475.766,320.49, 466.895,305.125z M 256,359.666\n\tc-57.254,0-103.668-46.412-103.668-103.667c0-57.254, 46.413-103.667, 103.668-103.667c 57.254,0, 103.666,46.413, 103.666,103.667\n\tC 359.665,313.254, 313.254,359.666, 256,359.666z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"equalizer, control, options, settings, dashboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,32L 32,32 C 14.4,32,0,46.4,0,64l0,384 c0,17.601, 14.397,32, 32,32l 448,0 c 17.6,0, 32-14.399, 32-32L 512,64 C 512,46.4, 497.6,32, 480,32z\n\t\t M 480,447.943c-0.020,0.020-0.037,0.041-0.061,0.057L 32.057,448 c-0.019-0.017-0.040-0.038-0.056-0.057L 32.001,64.057 \n\t\tc 0.017-0.019, 0.038-0.039, 0.057-0.057l 447.885,0 c 0.021,0.018, 0.041,0.038, 0.060,0.057L 480,447.943L 480,447.943zM 216,352l-24,0 L 192,96 l-64,0 l0,256 l-24,0 c-4.4,0-8,3.6-8,8l0,48 c0,4.4, 3.6,8, 8,8l 112,0 c 4.4,0, 8-3.6, 8-8l0-48 C 224,355.6, 220.4,352, 216,352zM 296,160l 24,0 l0,256 l 64,0 L 384,160 l 24,0 c 4.4,0, 8-3.6, 8-8l0-48 c0-4.4-3.6-8-8-8L 296,96 c-4.399,0-8,3.6-8,8l0,48 C 288,156.4, 291.601,160, 296,160z\n\t\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"equalizer, control, options, settings, dashboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,160L 80,160 c-8.8,0-16,7.2-16,16l0,32 c0,8.8, 7.2,16, 16,16l 64,0 c 8.8,0, 16-7.2, 16-16l0-32 C 160,167.2, 152.8,160, 144,160zM 96,64L 128,64L 128,144L 96,144zM 96,240L 128,240L 128,448L 96,448zM 272,288l-64,0 c-8.8,0-16,7.2-16,16l0,32 c0,8.8, 7.2,16, 16,16l 64,0 c 8.801,0, 16-7.2, 16-16l0-32 C 288,295.2, 280.801,288, 272,288zM 224.001,64L 256.001,64L 256.001,272L 224.001,272zM 224.001,368L 256.001,368L 256.001,448L 224.001,448zM 400,192l-64,0 c-8.799,0-16,7.2-16,16l0,32 c0,8.8, 7.201,16, 16,16l 64,0 c 8.801,0, 16-7.2, 16-16l0-32 C 416,199.2, 408.801,192, 400,192zM 352,64L 384,64L 384,176L 352,176zM 352,272L 384,272L 384,448L 352,448zM 440,0L 40,0 C 17.944,0,0,17.944,0,40l0,432 c0,22.056, 17.944,40, 40,40l 400,0 c 22.056,0, 40-17.944, 40-40L 480,40 \n\t\tC 480,17.944, 462.056,0, 440,0z M 448,472c0,4.4-3.6,8-8,8L 40,480 c-4.4,0-8-3.6-8-8L 32,40 c0-4.4, 3.6-8, 8-8l 400,0 c 4.4,0, 8,3.6, 8,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"equalizer, control, options, settings, dashboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,224l 8,0 c 13.2,0 24-10.8 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 L 448,0 l-64,0 l 0,96 l-8,0 c-13.2,0, -24,10.8, -24,24l 0,80 c 0,13.2, 10.8,24, 24,24l 8,0 \n\t\tl 0,288 L 448,512 L 448,224 z M 384,128L 448,128 l 0,64 l-64,0 L 384,128 zM 296,416c 13.2,0 24-10.8 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 L 288,0 l-64,0 l 0,288 l-8,0 c-13.2,0, -24,10.8, -24,24l 0,80 c 0,13.2, 10.8,24, 24,24l 8,0 \n\t\tl 0,96 l 64,0 l0-96 L 296,416 z M 224,320l 64,0 l 0,64 l-64,0 L 224,320 zM 136,224c 13.2,0 24-10.8 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 L 128,0 l-64,0 l 0,96 l-8,0 c-13.2,0, -24,10.8, -24,24l 0,80 c 0,13.2, 10.8,24, 24,24l 8,0 \n\t\tl 0,288 l 64,0 L 128,224 L 136,224 z M 64,128l 64,0 l 0,64 l-64,0 L 64,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"settings, preferences, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,64l0-8 c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,8 L0,64 l0,64 l 96,0 l0,8 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\t\tl 288,0 L 512,64 L 224,64 z M 128,128L 128,64 l 64,0 l0,64 L 128,128 zM 416,216c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,8 L0,224 l0,64 l 288,0 l0,8 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\t\tl 96,0 l0-64 l-96,0 L 416,216 z M 320,288l0-64 l 64,0 l0,64 L 320,288 zM 224,376c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,8 L0,384 l0,64 l 96,0 l0,8 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\t\tl 288,0 l0-64 L 224,384 L 224,376 z M 128,448l0-64 l 64,0 l0,64 L 128,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.882,68.117L 448,128l-64-64l 59.882-59.883C 435.057,1.443, 425.698,0, 416,0c-53.021,0-96,42.98-96,96\n\tc0,9.697, 1.442,19.057, 4.116,27.882L 123.882,324.117C 115.057,321.443, 105.698,320, 96,320c-53.021,0-96,42.98-96,96\n\tc0,9.697, 1.442,19.058, 4.117,27.882L 64,384l 64,64l-59.883,59.882C 76.943,510.556, 86.302,512, 96,512c 53.020,0, 96-42.981, 96-96\n\tc0-9.698-1.444-19.059-4.118-27.883l 200.234-200.235C 396.943,190.556, 406.302,192, 416,192c 53.020,0, 96-42.981, 96-96\n\tC 512,86.302, 510.556,76.942, 507.882,68.117z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480.895,365.861L 294.502,213.748c-6.183-5.045-12.183-9.551-17.906-13.495C 283.937,182.971, 288,163.96, 288,144\n\tC 288,64.471, 223.529,0, 144,0c-14.547,0-28.586,2.166-41.823,6.177L 192,96l0,96 L 96,192 L 6.177,102.177C 2.166,115.414,0,129.453,0,144\n\tc0,79.529, 64.471,144, 144,144c 19.96,0, 38.97-4.063, 56.252-11.404c 3.944,5.724, 8.449,11.724, 13.494,17.906L 365.86,480.896\n\tc 31.645,38.776, 86.336,41.702, 121.536,6.502S 519.671,397.506, 480.895,365.861z M 432,480l-48-48l 48-48l 48,48L 432,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 420.438,512C 420.438,512, 420.438,512, 420.438,512c-12.681,0-24.784-5.636-33.207-15.462L 210.156,289.95\n\t\tC 191.547,297.86, 171.335,302, 151,302C 67.738,302,0,234.262,0,151c0-14.908, 2.18-29.661, 6.478-43.849l 7.743-25.558l 96.879,96.879\n\t\tc 2.621,2.621, 6.137,4.064, 9.9,4.064s 7.279-1.443, 9.9-4.064l 47.573-47.574c 5.458-5.458, 5.458-14.341,0-19.8L 81.594,14.222\n\t\tl 25.557-7.744C 121.338,2.18, 136.091,0, 151,0c 83.262,0, 151,67.739, 151,151c0,20.331-4.14,40.543-12.050,59.155L 496.538,387.23\n\t\tc 9.481,8.128, 14.961,19.335, 15.431,31.557c 0.469,12.221-4.136,23.813-12.966,32.643l-47.574,47.574\n\t\tC 443.049,507.385, 432.042,512, 420.438,512z M 218.138,250.091l 193.39,225.621c 2.37,2.766, 5.534,4.288, 8.911,4.288\n\t\tc 2.162,0, 5.368-0.629, 8.363-3.623l 47.574-47.575c 2.455-2.455, 3.739-5.576, 3.616-8.788c-0.124-3.213-1.644-6.227-4.28-8.487\n\t\tL 250.094,218.139l 6.024-11.32C 265.199,189.754, 270,170.452, 270,151c0-65.617-53.383-119-119-119c-2.076,0-4.147,0.054-6.213,0.16\n\t\tL 201.1,88.473c 17.935,17.936, 17.935,47.119,0,65.054L 153.527,201.1c-8.665,8.665-20.216,13.437-32.527,13.437\n\t\tc-12.31,0-23.862-4.772-32.527-13.437L 32.16,144.788C 32.054,146.854, 32,148.925, 32,151c0,65.617, 53.383,119, 119,119\n\t\tc 19.456,0, 38.757-4.801, 55.817-13.882L 218.138,250.091z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 501.467,408.938l-230.276-197.38C 281.915,191.409, 288,168.417, 288,144C 288,64.471, 223.529,0, 144,0\n\tc-14.547,0-28.586,2.166-41.823,6.177l 83.195,83.195c 12.445,12.445, 12.445,32.81,0,45.255l-50.745,50.745\n\tc-12.445,12.445-32.81,12.445-45.255,0L 6.177,102.177C 2.166,115.414,0,129.453,0,144c0,79.529, 64.471,144, 144,144\n\tc 24.417,0, 47.409-6.085, 67.558-16.81l 197.38,230.276c 11.454,13.362, 31.008,14.113, 43.452,1.669l 50.746-50.746\n\tC 515.58,439.945, 514.829,420.392, 501.467,408.938z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"unlocked, lock\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,32l-64,0 c-52.935,0-96,43.065-96,96l0,96 L 24,224 c-13.2,0-24,10.8-24,24l0,240 c0,13.2, 10.8,24, 24,24l 272,0 c 13.2,0, 24-10.8, 24-24L 320,248 \n\tc0-13.2-10.8-24-24-24l-8,0 l0-96 c0-17.645, 14.355-32, 32-32l 64,0 c 17.645,0, 32,14.355, 32,32l0,96 l 64,0 l0-96 C 480,75.065, 436.935,32, 384,32z\n\t M 192,448l-64,0 l 13.92-69.6C 133.516,372.634, 128,362.963, 128,352c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32\n\tc0,10.963-5.516,20.634-13.92,26.4L 192,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 296,224l-8,0 l0-96 c0-52.935-43.065-96-96-96l-64,0 c-52.935,0-96,43.065-96,96l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,240 \n\tc0,13.2, 10.8,24, 24,24l 272,0 c 13.2,0, 24-10.8, 24-24L 320,248 C 320,234.8, 309.2,224, 296,224z M 192,448l-64,0 l 13.92-69.6\n\tC 133.516,372.634, 128,362.963, 128,352c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32c0,10.963-5.516,20.634-13.92,26.4L 192,448\n\tz M 224,224L 96,224 l0-96 c0-17.645, 14.355-32, 32-32l 64,0 c 17.645,0, 32,14.355, 32,32L 224,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"unlocked, lock\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,32 C 436.935,32 480,75.065 480,128 L 480,224 L 416,224 L 416,128 C 416,110.355 401.645,96 384,96 L 320,96 C 302.355,96 288,110.355 288,128 L 288,224 L 296,224 C 309.2,224 320,234.8 320,248 L 320,488 C 320,501.2 309.2,512 296,512 L 24,512 C 10.8,512 0,501.2 0,488 L 0,248 C 0,234.8 10.8,224 24,224 L 224,224 L 224,128 C 224,75.065 267.065,32 320,32 L 384,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 296,224l-8,0 l0-96 c0-52.935-43.065-96-96-96l-64,0 c-52.935,0-96,43.065-96,96l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,240 \n\tc0,13.2, 10.8,24, 24,24l 272,0 c 13.2,0, 24-10.8, 24-24L 320,248 C 320,234.8, 309.2,224, 296,224z M 96,128c0-17.645, 14.355-32, 32-32l 64,0 \n\tc 17.645,0, 32,14.355, 32,32l0,96 L 96,224 L 96,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,224l-32,0 l0-96 C 384,57.308, 326.692,0, 256,0S 128,57.308, 128,128l0,96 L 96,224 c-17.6,0-32,14.4-32,32l0,224 c0,17.6, 14.4,32, 32,32l 320,0 \n\tc 17.6,0, 32-14.4, 32-32L 448,256 C 448,238.4, 433.6,224, 416,224z M 192,128c0-35.29, 28.71-64, 64-64s 64,28.71, 64,64l0,96 L 192,224 L 192,128 z M 416,320\n\tl-160,16l 160,16l-160,16l 160,16l-160,16l 160,16l-160,16l 160,16l-160,16l 159.947,15.995c-0.002,0.001-0.003,0.003-0.005,0.005L 96.058,480 \n\tc-0.002-0.002-0.003-0.004-0.005-0.005L 256,464L 96,448l 160-16L 96,416l 160-16L 96,384l 160-16L 96,352l 160-16L 96,320l 160-16L 96,288\n\tl 160-16L 96.052,256.005c 0.002-0.002, 0.003-0.004, 0.005-0.005l 319.885,0 c 0.002,0.001, 0.003,0.004, 0.005,0.005L 256,272l 160,16l-160,16\n\tL 416,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,224l-32,0 l0-96 C 384,57.308, 326.692,0, 256,0c-70.692,0-128,57.308-128,128l0,96 L 96,224 c-17.6,0-32,14.4-32,32l0,224 \n\tc0,17.6, 14.4,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32L 448,256 C 448,238.4, 433.6,224, 416,224z M 256,416c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 273.673,416, 256,416z M 320,224L 192,224 l0-96 c0-35.29, 28.71-64, 64-64s 64,28.71, 64,64L 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,192l-32,0 L 416,32 c0-17.6-14.4-32-32-32L 128,0 c-17.6,0-32,14.4-32,32l0,160 L 64,192 c-17.602,0-32,14.4-32,32l0,256 \n\tc0,17.6, 14.398,32, 32,32l 384,0 c 17.6,0, 32-14.4, 32-32L 480,224 C 480,206.4, 465.6,192, 448,192z M 288,416l-64,0 l 13.92-69.6\n\tC 229.516,340.634, 224,330.963, 224,320c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32c0,10.963-5.516,20.634-13.92,26.4L 288,416\n\tz M 352,192L 160,192 L 160,64 l 192,0 L 352,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"keyhole, entrance, signin sign in, login, log in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128C 384,57.308, 326.693,0, 256,0S 128,57.308, 128,128c0,48.913, 27.439,91.411, 67.76,112.958L 128,512l 256,0 l-67.76-271.042\n\tC 356.561,219.411, 384,176.912, 384,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,192L 238.872,192 C 216.74,153.742, 175.377,128, 128,128C 57.308,128,0,185.308,0,256c0,70.691, 57.308,128, 128,128\n\tc 47.377,0, 88.739-25.742, 110.872-64L 256,320 l 32-32l 32,0 l0,32 l 32,0 l 32-32l 32,0 l0,32 l 32,0 l 64-64L 480,192z M 96,301.255\n\tc-24.994,0-45.255-20.262-45.255-45.255c0-24.994, 20.261-45.255, 45.255-45.255s 45.255,20.261, 45.255,45.255\n\tC 141.255,280.993, 120.994,301.255, 96,301.255z M 256,240l0-16 l 192,0 l 8,16L 256,240 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,8.083c-74.945,0-135.917,60.972-135.917,135.917c0,28.822, 9.025,55.572, 24.388,77.588L 15.029,431.029\n\tc-9.373,9.373-9.373,24.568,0,33.941C 19.716,469.657, 25.858,472, 32,472s 12.284-2.343, 16.971-7.029L 60,453.941l 51.029,51.029\n\tC 115.716,509.657, 121.858,512, 128,512s 12.284-2.343, 16.971-7.029c 9.373-9.373, 9.373-24.568,0-33.941L 93.941,420L 121,392.941\n\tl 51.029,51.029C 176.716,448.657, 182.858,451, 189,451s 12.284-2.343, 16.971-7.029c 9.373-9.373, 9.373-24.568,0-33.941L 154.941,359\n\tl 103.471-103.471c 22.016,15.362, 48.766,24.388, 77.588,24.388c 74.945,0, 135.917-60.972, 135.917-135.917S 410.945,8.083, 336,8.083z\n\t M 336,231.917c-48.478,0-87.917-39.439-87.917-87.917S 287.522,56.083, 336,56.083S 423.917,95.522, 423.917,144\n\tS 384.478,231.917, 336,231.917z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,0c-79.529,0-144,64.471-144,144c0,31.598, 10.186,60.813, 27.441,84.558L 4.667,443.332\n\tc-6.223,6.224-6.223,16.406,0,22.629l 9.372,9.372c 6.223,6.223, 16.406,6.223, 22.628,0L 96,416l 32,32l-27.333,27.332\n\tc-6.223,6.224-6.223,16.406,0,22.629l 9.372,9.372c 6.223,6.223, 16.406,6.223, 22.628,0l 86.666-86.665\n\tc 6.222-6.224, 6.222-16.406,0-22.629l-9.372-9.372c-6.223-6.223-16.406-6.223-22.628,0L 160,416l-32-32l 123.441-123.441\n\tC 275.187,277.815, 304.401,288, 336,288c 79.529,0, 144-64.471, 144-144S 415.529,0, 336,0z M 336,250.4c-58.763,0-106.4-47.637-106.4-106.4\n\tS 277.237,37.6, 336,37.6S 442.4,85.237, 442.4,144S 394.763,250.4, 336,250.4z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 501.066,157.121l-50.553-50.552c-12.396-12.397-32.685-32.684-45.081-45.082l-50.553-50.552\n\tc-12.396-12.397-34.477-14.583-49.065-4.858L 167.595,98.223c-14.588,9.726-20.109,30.514-12.268,46.195l 35.243,70.487\n\tc 1.077,2.153, 2.323,4.448, 3.695,6.83L 16,400L0,512l 96,0 l0-32 l 64,0 l0-64 l 64,0 l0-64l 64,0 l0-35.593 c 3.198,1.906, 6.267,3.608, 9.096,5.022\n\tl 70.485,35.244c 15.683,7.841, 36.47,2.319, 46.195-12.269l 92.147-138.22C 515.65,191.598, 513.462,169.519, 501.066,157.121z\n\t M 75.314,427.313l-22.627-22.627l 155.786-155.785l 22.627,22.627L 75.314,427.313z M 458.51,211.882l-22.628,22.628\n\tc-6.223,6.222-16.404,6.222-22.627,0L 277.49,98.745c-6.223-6.222-6.223-16.405,0-22.627l 22.628-22.628\n\tc 6.223-6.222, 16.404-6.222, 22.627,0L 458.51,189.255C 464.733,195.477, 464.733,205.66, 458.51,211.882z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0c-88.365,0-160,71.634-160,160c0,10.013, 0.929,19.808, 2.688,29.312L0,384l0,96 c0,17.673, 14.327,32, 32,32\n\tl 32,0 l0-32 l 64,0 l0-64 l 64,0 l0-64 l 64,0 l 41.521-41.521C 314.526,316.637, 332.869,320, 352,320c 88.365,0, 160-71.634, 160-160S 440.365,0, 352,0z\n\t M 399.937,160.063c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.447,160.063, 399.937,160.063z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contract, minimize, shrink, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288 L 224,496 L 144,416 L 48,512 L 0,464 L 96,368 L 16,288 ZM 512,48 L 416,144 L 496,224 L 288,224 L 288,16 L 368,96 L 464,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"expand, enlarge, maximize, fullscreen\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,0 L 512,208 L 432,128 L 336,224 L 288,176 L 384,80 L 304,0 ZM 224,336 L 128,432 L 208,512 L 0,512 L 0,304 L 80,384 L 176,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fullscreen, expand, maximize, enlarge\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 480,256l0,160 L 256,416 L 32,416 L 32,256 L 32,96 l 224,0 l 224,0 L 480,256 zM 224,160L 224,224L 288,224L 288,160L 336,160L 256,96L 176,160 \tzM 288,352L 288,288L 224,288L 224,352L 176,352L 256,416L 336,352 \tzM 96,288L 160,288L 160,224L 96,224L 96,176L 32,256L 96,336 \tzM 416,224L 352,224L 352,288L 416,288L 416,336L 480,256L 416,176 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-down, smaller, contract, collapse, minimize\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128L 96,128 l0,288 l 288,0 L 384,128 z M 352,384L 128,384 L 128,160 l 224,0 L 352,384 zM 40,72l0,400 l 400,0 L 440,72 L 40,72 z M 424,456L 56,456 L 56,88 l 368,0 L 424,456 zM 160,256L 320,256L 320,288L 160,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-up, bigger, expand, fullscreen, enlarge\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,480 l 480,0 L 480,32 L0,32 z M 448,480L 32,480 L 32,64 l 416,0 L 448,480 zM 408,104L 72,104 l0,336 l 336,0 L 408,104 z M 392,424L 88,424 L 88,120 l 304,0 L 392,424 zM 224,288 L 160,288 L 160,256 L 224,256 L 224,192 L 256,192 L 256,256 L 320,256 L 320,288 L 256,288 L 256,352 L 224,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contract, minimize, shrink, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,192L 192,0L0,192 \tzM 320,0L 320,192L 512,192 \tzM 320,512L 512,320L 320,320 \tzM 192,512L 192,320L0,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"expand, enlarge, maximize, fullscreen\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192L 192,0L0,0 \tzM 320,0L 512,192L 512,0 \tzM 512,512L 512,320L 320,512 \tzM0,512L 192,512L0,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-down, smaller, contract, collapse, minimize\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,144 L 320,192 L 368,48 ZM 264,0L 280,0L 280,32L 264,32zM 296,0L 312,0L 312,32L 296,32zM 328,0L 344,0L 344,32L 328,32zM 360,0L 376,0L 376,32L 360,32zM 392,0L 408,0L 408,32L 392,32zM 424,0L 440,0L 440,32L 424,32zM 457,0L 473,0L 473,32L 457,32zM 72,0L 88,0L 88,32L 72,32zM 104,0L 120,0L 120,32L 104,32zM 136,0L 152,0L 152,32L 136,32zM 168,0L 184,0L 184,32L 168,32zM 200,0L 216,0L 216,32L 200,32zM 232,0L 248,0L 248,32L 232,32zM 144,48 L 192,192 L 48,144 ZM 48,368 L 192,320 L 144,464 ZM 368,464 L 320,320 L 464,368 ZM 40,0L 56,0L 56,32L 40,32zM 264,480L 280,480L 280,512L 264,512zM 296,480L 312,480L 312,512L 296,512zM 328,480L 344,480L 344,512L 328,512zM 360,480L 376,480L 376,512L 360,512zM 392,480L 408,480L 408,512L 392,512zM 424,480L 440,480L 440,512L 424,512zM 457,480L 473,480L 473,512L 457,512zM 72,480L 88,480L 88,512L 72,512zM 104,480L 120,480L 120,512L 104,512zM 136,480L 152,480L 152,512L 136,512zM 168,480L 184,480L 184,512L 168,512zM 200,480L 216,480L 216,512L 200,512zM 232,480L 248,480L 248,512L 232,512zM 40,480L 56,480L 56,512L 40,512zM 0.5,232.5L 32.5,232.5L 32.5,248.5L 0.5,248.5zM 0.5,200.5L 32.5,200.5L 32.5,216.5L 0.5,216.5zM 0.5,168.5L 32.5,168.5L 32.5,184.5L 0.5,184.5zM 0.5,136.5L 32.5,136.5L 32.5,152.5L 0.5,152.5zM 0.5,104.5L 32.5,104.5L 32.5,120.5L 0.5,120.5zM 0.5,72.5L 32.5,72.5L 32.5,88.5L 0.5,88.5zM 0.5,39.5L 32.5,39.5L 32.5,55.5L 0.5,55.5zM 0.5,424.5L 32.5,424.5L 32.5,440.5L 0.5,440.5zM 0.5,392.5L 32.5,392.5L 32.5,408.5L 0.5,408.5zM 0.5,360.5L 32.5,360.5L 32.5,376.5L 0.5,376.5zM 0.5,328.5L 32.5,328.5L 32.5,344.5L 0.5,344.5zM 0.5,296.5L 32.5,296.5L 32.5,312.5L 0.5,312.5zM 0.5,264.5L 32.5,264.5L 32.5,280.5L 0.5,280.5zM 0.5,456.5L 32.5,456.5L 32.5,472.5L 0.5,472.5zM 480.5,232.5L 512.5,232.5L 512.5,248.5L 480.5,248.5zM 480.5,200.5L 512.5,200.5L 512.5,216.5L 480.5,216.5zM 480.5,168.5L 512.5,168.5L 512.5,184.5L 480.5,184.5zM 480.5,136.5L 512.5,136.5L 512.5,152.5L 480.5,152.5zM 480.5,104.5L 512.5,104.5L 512.5,120.5L 480.5,120.5zM 480.5,72.5L 512.5,72.5L 512.5,88.5L 480.5,88.5zM 480.5,39.5L 512.5,39.5L 512.5,55.5L 480.5,55.5zM 480.5,424.5L 512.5,424.5L 512.5,440.5L 480.5,440.5zM 480.5,392.5L 512.5,392.5L 512.5,408.5L 480.5,408.5zM 480.5,360.5L 512.5,360.5L 512.5,376.5L 480.5,376.5zM 480.5,328.5L 512.5,328.5L 512.5,344.5L 480.5,344.5zM 480.5,296.5L 512.5,296.5L 512.5,312.5L 480.5,312.5zM 480.5,264.5L 512.5,264.5L 512.5,280.5L 480.5,280.5zM 480.5,456.5L 512.5,456.5L 512.5,472.5L 480.5,472.5zM 320,192 L 192,192 L 192,320 L 320,320 L 320,192 Z M 352,160 L 352,160 L 352,352 L 160,352 L 160,160 L 352,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-up, bigger, expand, fullscreen, enlarge\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 zM 336,80 L 480,32 L 432,176 ZM 168,128L 184,128L 184,160L 168,160zM 200,128L 216,128L 216,160L 200,160zM 232,128L 248,128L 248,160L 232,160zM 264,128L 280,128L 280,160L 264,160zM 296,128L 312,128L 312,160L 296,160zM 328,128L 344,128L 344,160L 328,160zM 168,352L 184,352L 184,384L 168,384zM 200,352L 216,352L 216,384L 200,384zM 232,352L 248,352L 248,384L 232,384zM 264,352L 280,352L 280,384L 264,384zM 296,352L 312,352L 312,384L 296,384zM 328,352L 344,352L 344,384L 328,384zM 128,328L 160,328L 160,344L 128,344zM 128,296L 160,296L 160,312L 128,312zM 128,264L 160,264L 160,280L 128,280zM 128,232L 160,232L 160,248L 128,248zM 128,200L 160,200L 160,216L 128,216zM 128,168L 160,168L 160,184L 128,184zM 352,328L 384,328L 384,344L 352,344zM 352,296L 384,296L 384,312L 352,312zM 352,264L 384,264L 384,280L 352,280zM 352,232L 384,232L 384,248L 352,248zM 352,200L 384,200L 384,216L 352,216zM 352,168L 384,168L 384,184L 352,184zM 80,176 L 32,32 L 176,80 ZM 176,432 L 32,480 L 80,336 ZM 432,336 L 480,480 L 336,432 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contract, minimize, shrink, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,288 L 224,288 L 224,480 L 154.87,410.87 L 53.87,511.87 L 0.13,458.13 L 101.13,357.13 ZM 410.87,357.13 L 511.87,458.13 L 458.13,511.87 L 357.13,410.87 L 288,480 L 288,288 L 480,288 ZM 480,224 L 288,224 L 288,32 L 357.13,101.13 L 458.13,0.13 L 511.87,53.87 L 410.87,154.87 ZM 154.87,101.13 L 224,32 L 224,224 L 32,224 L 101.13,154.87 L 0.13,53.87 L 53.87,0.13 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"expand, enlarge, maximize, fullscreen\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,0 L 512,192 L 442.87,122.87 L 336.87,228.87 L 283.13,175.13 L 389.13,69.13 L 320,0 ZM 122.87,69.13 L 228.87,175.13 L 175.13,228.87 L 69.13,122.87 L 0,192 L 0,0 L 192,0 ZM 442.87,389.13 L 512,320 L 512,512 L 320,512 L 389.13,442.87 L 283.13,336.87 L 336.87,283.13 ZM 228.87,336.87 L 122.87,442.87 L 192,512 L 0,512 L 0,320 L 69.13,389.13 L 175.13,283.13 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,0c 88.366,0, 160.001,71.635, 160.001,160c0,32.62-9.771,62.954-26.532,88.251c 0.005-0.007, 0.010-0.015, 0.015-0.022\n\tl 35.18,35.18c 17.436-9.611, 33.847-11.408, 42.221-3.035l 135.764,135.764c 12.497,12.498, 2.366,42.891-22.627,67.885\n\tc-24.994,24.992-55.386,35.123-67.882,22.627L 280.375,370.883c-8.375-8.373-6.576-24.783, 3.033-42.221l-35.178-35.178\n\tc 0.021-0.016, 0.043-0.029, 0.063-0.045C 222.987,310.219, 192.639,320, 160,320C 71.635,320,0,248.365,0,160S 71.635,0, 160,0z\n\t M 69.49,250.509C 93.666,274.686, 125.811,288, 160,288c 34.19,0, 66.334-13.314, 90.511-37.491C 274.687,226.333, 288,194.189, 288,160\n\ts-13.313-66.333-37.489-90.51C 226.334,45.313, 194.19,32, 160,32c-34.189,0-66.334,13.314-90.51,37.49C 45.314,93.667, 32,125.81, 32,160\n\tS 45.314,226.333, 69.49,250.509z M 256,160c0,14.397-3.175,28.051-8.854,40.309c-7.261-66.992-60.462-120.193-127.454-127.455\n\tC 131.949,67.174, 145.604,64, 160,64C 213.021,64, 256,106.979, 256,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom out, smaller, scale, reduce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.054, 384,239.549, 384,192\n\t\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192c0,106.039, 85.961,192, 192,192c 47.549,0, 91.054-17.293, 124.588-45.922\n\t\tc-0.5,10.831, 4.68,24.239, 15.963,36.776l 103.147,121.276c 17.661,19.623, 46.511,21.277, 64.11,3.678S 515.754,453.359, 496.131,435.698\n\t\tz M 192,320c-70.692,0-128-57.308-128-128S 121.308,64, 192,64s 128,57.308, 128,128S 262.693,320, 192,320zM 96,160L 288,160L 288,224L 96,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom in, enlarge, scale\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.054, 384,239.549, 384,192\n\t\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192c0,106.039, 85.961,192, 192,192c 47.549,0, 91.054-17.293, 124.588-45.922\n\t\tc-0.5,10.831, 4.68,24.239, 15.963,36.776l 103.147,121.276c 17.661,19.623, 46.511,21.277, 64.11,3.678S 515.754,453.359, 496.131,435.698\n\t\tz M 192,320c-70.692,0-128-57.308-128-128S 121.308,64, 192,64s 128,57.308, 128,128S 262.693,320, 192,320zM 224,96L 160,96L 160,160L 96,160L 96,224L 160,224L 160,288L 224,288L 224,224L 288,224L 288,160L 224,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.055, 384,239.549, 384,192\n\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192s 85.961,192, 192,192c 47.549,0, 91.055-17.293, 124.588-45.922\n\tc-0.5,10.831, 4.68,24.238, 15.963,36.775L 435.698,496.13c 17.661,19.623, 46.511,21.277, 64.109,3.678\n\tC 517.407,482.209, 515.754,453.359, 496.131,435.698z M 287.261,292L 96.74,292 c-2.694-2.56-5.281-5.232-7.762-8l 206.044,0 \n\tC 292.541,286.768, 289.955,289.44, 287.261,292z M 151.544,324c-7.014-2.141-13.79-4.824-20.281-8l 121.475,0 \n\tc-6.491,3.176-13.267,5.859-20.281,8L 151.544,324 z M 117.089,308c-3.851-2.484-7.567-5.156-11.142-8l 172.106,0 \n\tc-3.575,2.844-7.292,5.516-11.143,8L 117.089,308 z M 82.332,276c-1.997-2.596-3.903-5.264-5.715-8l 230.766,0 \n\tc-1.812,2.736-3.718,5.404-5.715,8L 82.332,276 z M 71.701,260c-1.486-2.615-2.894-5.281-4.21-8l 249.018,0 c-1.316,2.719-2.724,5.385-4.21,8\n\tL 71.701,260 z M 63.936,244c-1.071-2.628-2.071-5.294-2.981-8l 262.090,0 c-0.911,2.706-1.91,5.372-2.982,8L 63.936,244 z M 58.539,228\n\tc-0.712-2.637-1.355-5.303-1.912-8l 270.746,0 c-0.557,2.697-1.2,5.363-1.911,8L 58.539,228 z M 53.778,192c0-1.338, 0.024-2.671, 0.062-4\n\tl 276.319,0 c 0.038,1.329, 0.062,2.662, 0.062,4s-0.023,2.671-0.062,4L 53.84,196 C 53.802,194.671, 53.778,193.338, 53.778,192z M 96.74,92l 190.52,0 \n\tc 2.694,2.56, 5.28,5.232, 7.762,8L 88.979,100 C 91.459,97.232, 94.045,94.56, 96.74,92z M 232.456,60c 7.014,2.141, 13.79,4.824, 20.281,8L 131.263,68 \n\tc 6.491-3.176, 13.267-5.859, 20.281-8L 232.456,60 z M 266.91,76c 3.851,2.484, 7.567,5.157, 11.143,8L 105.947,84 \n\tc 3.575-2.843, 7.292-5.516, 11.143-8L 266.91,76 z M 301.667,108c 1.997,2.596, 3.903,5.263, 5.715,8L 76.617,116 c 1.812-2.737, 3.718-5.404, 5.715-8\n\tL 301.667,108 z M 312.298,124c 1.486,2.616, 2.894,5.282, 4.21,8L 67.491,132 c 1.316-2.718, 2.724-5.384, 4.21-8L 312.298,124 z M 320.062,140\n\tc 1.072,2.628, 2.070,5.294, 2.981,8L 60.955,148 c 0.911-2.706, 1.91-5.372, 2.981-8L 320.062,140 z M 325.46,156c 0.712,2.637, 1.355,5.303, 1.912,8\n\tL 56.626,164 c 0.557-2.697, 1.2-5.363, 1.912-8L 325.46,156 z M 328.771,172c 0.385,2.643, 0.692,5.311, 0.925,8L 54.304,180 \n\tc 0.232-2.689, 0.54-5.357, 0.924-8L 328.771,172 z M 329.695,204c-0.232,2.689-0.54,5.357-0.925,8L 55.228,212 c-0.384-2.643-0.692-5.311-0.924-8\n\tL 329.695,204 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.054, 384,239.549, 384,192\n\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192c0,106.039, 85.961,192, 192,192c 47.549,0, 91.054-17.293, 124.588-45.922\n\tc-0.5,10.831, 4.68,24.239, 15.963,36.776l 103.147,121.276c 17.661,19.623, 46.511,21.277, 64.11,3.678S 515.754,453.359, 496.131,435.698z\n\t M 192,320c-70.692,0-128-57.308-128-128S 121.308,64, 192,64s 128,57.308, 128,128S 262.693,320, 192,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom out, smaller, scale, reduce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,160L 256,160L 256,192L 96,192zM 318.771,278.924C 339.674,249.979, 352,214.432, 352,176C 352,78.798, 273.202,0, 176,0S0,78.798,0,176s 78.798,176, 176,176\n\t\tc 38.432,0, 73.979-12.326, 102.924-33.229L 448,512l 64-64L 318.771,278.924z M 176,304c-70.692,0-128-57.308-128-128S 105.308,48, 176,48\n\t\ts 128,57.308, 128,128S 246.693,304, 176,304z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom in, enlarge, scale\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96L 160,96L 160,160L 96,160L 96,192L 160,192L 160,256L 192,256L 192,192L 256,192L 256,160L 192,160 \tzM 318.771,278.924C 339.674,249.979, 352,214.432, 352,176C 352,78.798, 273.202,0, 176,0S0,78.798,0,176s 78.798,176, 176,176\n\t\tc 38.432,0, 73.979-12.326, 102.924-33.229L 448,512l 64-64L 318.771,278.924z M 176,304c-70.692,0-128-57.308-128-128S 105.308,48, 176,48\n\t\ts 128,57.308, 128,128S 246.693,304, 176,304z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 449.077,469.246l-114.54-168.305c 65.459-51.835, 83.963-145.677, 39.835-219.126\n\t\tC 326.445,2.041, 222.559-23.857, 142.793,24.060C 63.028,71.993, 37.131,175.876, 85.054,255.643\n\t\tc 43.213,71.942, 131.962,100.047, 207.479,69.717l 95.143,180.783c 2.95,5.611, 9.802,7.523, 15.229,4.273l 42.784-25.72\n\t\tC 451.126,481.433, 452.653,474.482, 449.077,469.246z M 288.781,267.032c-54.211,32.563-124.808,14.959-157.375-39.253\n\t\tc-32.565-54.197-14.952-124.794, 39.253-157.36c 54.189-32.57, 124.787-14.961, 157.351,39.245\n\t\tC 360.579,163.862, 342.978,234.475, 288.781,267.032z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440.698,471.936L 313.486,285.050c-3.336-4.914-10.234-6.433-15.325-3.379l-16.069,9.668\n\t\tc-5.087,3.050-6.992,9.845-4.229,15.111l 105.281,200.064c 2.763,5.252, 9.177,7.056, 14.271,3.99l 40.101-24.093\n\t\tC 442.608,483.356, 444.033,476.851, 440.698,471.936zM 296.322,266.061c 48.104-30.646, 50.188-110.532, 4.747-181.875c-38.64-60.653-97.389-92.75-143.688-82.201\n\t\tc-10.647,2.086-24.247,7.761-37.93,16.475c-13.683,8.721-24.604,18.643-30.979,27.432C 59.346,83.396, 63.617,150.194, 102.25,210.83\n\t\tc 45.45,71.346, 118.727,103.23, 166.844,72.58l 27.22-17.346L 296.322,266.061z M 278.977,238.831\n\t\tc-31.746,20.215-87.728-8.487-122.253-62.704c-34.536-54.196-36.891-117.063-5.14-137.293c 31.722-20.217, 87.719,8.5, 122.243,62.708\n\t\tC 308.357,155.731, 310.704,218.608, 278.977,238.831z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"binoculars, lookup, search, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,224L 448,224L 416,64L 376,64L 384,0L 288,0L 296,64L 216,64L 224,0L 128,0L 136,64L 96,64L 64,224L 32,224L0,480L0,512L 192,512L 192,224L 224,224L 224,192L 288,192L 288,224L 320,224L 320,512L 512,512L 512,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"binoculars, lookup, search, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 224,0L 224,32L 32,32zM 288,0L 480,0L 480,32L 288,32zM 476,160l-28,0 L 448,32 L 320,32 l0,128 L 192,160 L 192,32 L 64,32 l0,128 L 36,160 c-19.8,0-36,16.2-36,36l0,280 c0,19.8, 16.2,36, 36,36l 152,0 c 19.8,0, 36-16.2, 36-36L 224,288 l 64,0 \n\tl0,188 c0,19.8, 16.2,36, 36,36l 152,0 c 19.8,0, 36-16.2, 36-36L 512,196 C 512,176.2, 495.8,160, 476,160z M 174,480L 50,480 c-9.9,0-18-7.2-18-16\n\ts 8.1-16, 18-16l 124,0 c 9.9,0, 18,7.2, 18,16S 183.9,480, 174,480z M 272,256l-32,0 c-8.8,0-16-7.2-16-16s 7.2-16, 16-16l 32,0 c 8.8,0, 16,7.2, 16,16\n\tS 280.8,256, 272,256z M 462,480L 338,480 c-9.9,0-18-7.2-18-16s 8.1-16, 18-16l 124,0 c 9.9,0, 18,7.2, 18,16S 471.9,480, 462,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"microscope, research, lab\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,464c-25.943,0-50.785-4.788-73.707-13.504C 168.378,467.154, 160,488.598, 160,512l 192,0 \n\t\tc0-23.402-8.378-44.846-22.293-61.504C 306.785,459.212, 281.944,464, 256,464zM 320,288l0,64 l 43.328,0 c-1.777,1.981-3.608,3.927-5.505,5.823C 330.626,385.021, 294.464,400, 256,400\n\t\ts-74.625-14.979-101.823-42.177C 126.979,330.626, 112,294.464, 112,256c0-36.326, 14.35-71.562, 38.771-98.194l 117.583,91.453\n\t\tl 39.293-50.519L 52.122,0l0,0L0,40.54l 112.794,87.729C 83.033,162.104, 64,207.427, 64,256c0,106.039, 85.961,192, 192,192\n\t\tc 71.066,0, 133.109-38.612, 166.308-96L 512,352 l0-64 L 320,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel, repeat\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192 L 320,192 L 391.765,120.235 C 355.5,83.972 307.285,64 256,64 C 204.715,64 156.5,83.972 120.235,120.235 C 83.972,156.5 64,204.715 64,256 C 64,307.285 83.972,355.5 120.235,391.765 C 156.5,428.028 204.715,448 256,448 C 307.285,448 355.5,428.028 391.764,391.764 C 394.792,388.737 397.694,385.618 400.492,382.43 L 448.652,424.571 C 401.729,478.154 332.82,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 C 326.693,0 390.684,28.663 437.008,74.992 L 512,0 L 512,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.021,256.809l-0.011,0.002c0,0, 0.006,0.045, 0.014,0.111c 0.055,1.939, 0.275,3.838, 0.661,5.676\n\tc 0.102,0.873, 0.214,1.83, 0.337,2.887c 0.111,0.943, 0.23,1.957, 0.359,3.039c 0.187,1.283, 0.385,2.646, 0.595,4.088\n\tc 0.428,2.873, 0.9,6.062, 1.454,9.479c 0.674,3.223, 1.402,6.707, 2.182,10.432c 0.355,1.859, 0.888,3.752, 1.393,5.703\n\tc 0.512,1.945, 1.039,3.947, 1.58,6.002c 0.283,1.021, 0.52,2.066, 0.854,3.104c 0.328,1.037, 0.66,2.088, 0.994,3.15\n\tc 0.674,2.117, 1.363,4.283, 2.068,6.494c 0.176,0.553, 0.354,1.105, 0.532,1.662c 0.204,0.551, 0.407,1.104, 0.613,1.658\n\tc 0.413,1.109, 0.829,2.229, 1.251,3.357c 0.848,2.248, 1.711,4.539, 2.59,6.871c 0.984,2.283, 1.985,4.607, 3.002,6.967\n\tc 0.509,1.174, 1.022,2.357, 1.539,3.549c 0.524,1.188, 1.135,2.352, 1.704,3.537c 1.161,2.357, 2.339,4.748, 3.531,7.166\n\tc 1.235,2.393, 2.604,4.756, 3.923,7.164c 0.668,1.199, 1.34,2.404, 2.014,3.615c 0.684,1.205, 1.451,2.375, 2.178,3.57\n\tc 1.475,2.369, 2.965,4.762, 4.467,7.174c 6.32,9.447, 13.338,18.783, 21.105,27.639c 7.856,8.789, 16.363,17.125, 25.346,24.801\n\tc 9.090,7.568, 18.632,14.451, 28.363,20.557c 9.802,6.018, 19.822,11.156, 29.688,15.572c 2.502,1.020, 4.982,2.031, 7.439,3.033\n\tc 1.231,0.486, 2.434,1.016, 3.668,1.459c 1.235,0.434, 2.465,0.867, 3.688,1.297c 2.449,0.842, 4.839,1.734, 7.242,2.496\n\tc 2.416,0.715, 4.802,1.422, 7.156,2.121c 1.178,0.336, 2.33,0.713, 3.502,1.006c 1.173,0.287, 2.338,0.57, 3.493,0.852\n\tc 2.303,0.559, 4.571,1.107, 6.802,1.648c 2.25,0.434, 4.463,0.861, 6.635,1.279c 1.083,0.205, 2.155,0.41, 3.217,0.611\n\tc 0.531,0.1, 1.059,0.199, 1.583,0.299c 0.53,0.074, 1.059,0.146, 1.583,0.221c 2.096,0.291, 4.146,0.576, 6.15,0.855\n\tc 0.999,0.137, 1.986,0.273, 2.961,0.408c 0.973,0.143, 1.952,0.189, 2.907,0.285c 1.911,0.168, 3.772,0.332, 5.582,0.49\n\tc 1.808,0.152, 3.552,0.344, 5.263,0.369c 0.115,0.004, 0.226,0.008, 0.341,0.013C 223.866,497.983, 238.063,512, 255.543,512\n\tc 0.271,0, 0.54-0.014, 0.81-0.021l0,0.011c0,0, 0.045-0.006, 0.112-0.014c 1.939-0.055, 3.837-0.275, 5.675-0.661\n\tc 0.874-0.102, 1.831-0.213, 2.888-0.336c 0.942-0.111, 1.956-0.231, 3.038-0.359c 1.283-0.188, 2.646-0.386, 4.088-0.596\n\tc 2.873-0.428, 6.062-0.9, 9.479-1.454c 3.223-0.674, 6.707-1.402, 10.432-2.181c 1.859-0.356, 3.752-0.889, 5.703-1.393\n\tc 1.946-0.513, 3.947-1.040, 6.002-1.581c 1.022-0.283, 2.066-0.52, 3.104-0.854c 1.037-0.328, 2.087-0.659, 3.15-0.994\n\tc 2.116-0.674, 4.282-1.363, 6.494-2.067c 0.552-0.177, 1.105-0.354, 1.662-0.533c 0.55-0.203, 1.103-0.407, 1.658-0.613\n\tc 1.108-0.412, 2.228-0.829, 3.357-1.25c 2.248-0.849, 4.539-1.712, 6.87-2.591c 2.284-0.984, 4.608-1.985, 6.968-3.002\n\tc 1.174-0.509, 2.357-1.022, 3.549-1.539c 1.188-0.524, 2.351-1.135, 3.537-1.704c 2.357-1.161, 4.747-2.339, 7.165-3.531\n\tc 2.393-1.235, 4.756-2.604, 7.164-3.923c 1.199-0.668, 2.404-1.339, 3.615-2.014c 1.205-0.683, 2.375-1.45, 3.57-2.177\n\tc 2.369-1.476, 4.762-2.965, 7.175-4.468c 9.445-6.32, 18.782-13.337, 27.639-21.105c 8.787-7.856, 17.124-16.363, 24.801-25.345\n\tc 7.568-9.091, 14.451-18.632, 20.556-28.364c 6.018-9.801, 11.157-19.822, 15.571-29.688c 1.021-2.501, 2.031-4.982, 3.034-7.439\n\tc 0.487-1.231, 1.016-2.434, 1.459-3.667c 0.435-1.236, 0.866-2.466, 1.296-3.688c 0.843-2.449, 1.734-4.839, 2.497-7.242\n\tc 0.716-2.416, 1.423-4.802, 2.12-7.155c 0.337-1.179, 0.715-2.33, 1.008-3.502c 0.285-1.174, 0.569-2.338, 0.851-3.494\n\tc 0.559-2.303, 1.108-4.57, 1.648-6.801c 0.434-2.251, 0.86-4.464, 1.279-6.636c 0.205-1.082, 0.409-2.154, 0.611-3.217\n\tc 0.1-0.53, 0.199-1.058, 0.298-1.582c 0.074-0.531, 0.148-1.059, 0.222-1.584c 0.291-2.095, 0.576-4.146, 0.854-6.15\n\tc 0.139-0.998, 0.275-1.985, 0.41-2.961c 0.142-0.973, 0.188-1.951, 0.284-2.906c 0.168-1.911, 0.332-3.773, 0.49-5.582\n\tc 0.152-1.808, 0.343-3.553, 0.369-5.264c 0.010-0.267, 0.020-0.522, 0.029-0.787C 497.746,287.923, 512,273.627, 512,256\n\tc0-0.271-0.014-0.54-0.021-0.81l 0.011,0c0,0-0.006-0.045-0.014-0.112c-0.055-1.939-0.275-3.837-0.661-5.675\n\tc-0.102-0.874-0.214-1.831-0.337-2.888c-0.111-0.943-0.23-1.957-0.359-3.038c-0.187-1.283-0.385-2.647-0.595-4.088\n\tc-0.428-2.873-0.9-6.062-1.454-9.479c-0.674-3.222-1.402-6.707-2.182-10.431c-0.355-1.86-0.888-3.753-1.393-5.704\n\tc-0.512-1.946-1.039-3.947-1.58-6.001c-0.283-1.022-0.52-2.067-0.854-3.104c-0.328-1.038-0.66-2.087-0.994-3.15\n\tc-0.674-2.117-1.363-4.283-2.068-6.495c-0.176-0.551-0.354-1.105-0.532-1.662c-0.204-0.55-0.407-1.103-0.613-1.658\n\tc-0.413-1.108-0.829-2.227-1.251-3.357c-0.848-2.249-1.711-4.54-2.59-6.87c-0.984-2.285-1.985-4.608-3.002-6.968\n\tc-0.51-1.174-1.022-2.357-1.539-3.549c-0.524-1.188-1.135-2.351-1.704-3.538c-1.161-2.357-2.339-4.747-3.531-7.165\n\tc-1.235-2.393-2.604-4.756-3.923-7.164c-0.668-1.199-1.34-2.404-2.014-3.615c-0.684-1.205-1.451-2.375-2.178-3.57\n\tc-1.475-2.37-2.965-4.762-4.467-7.175c-6.32-9.446-13.338-18.782-21.105-27.639c-7.856-8.788-16.363-17.125-25.346-24.801\n\tc-9.090-7.568-18.632-14.451-28.363-20.556c-9.802-6.018-19.822-11.157-29.688-15.571c-2.502-1.020-4.982-2.031-7.439-3.034\n\tc-1.231-0.487-2.434-1.016-3.668-1.459c-1.235-0.435-2.465-0.867-3.688-1.296c-2.449-0.842-4.839-1.734-7.242-2.497\n\tc-2.416-0.716-4.802-1.423-7.156-2.121c-1.178-0.336-2.33-0.714-3.502-1.007c-1.173-0.286-2.338-0.569-3.493-0.851\n\tc-2.303-0.559-4.571-1.108-6.802-1.649c-2.25-0.434-4.463-0.86-6.635-1.279c-1.083-0.206-2.155-0.41-3.217-0.611\n\tc-0.531-0.1-1.059-0.199-1.583-0.298c-0.53-0.074-1.059-0.148-1.583-0.221c-2.096-0.292-4.146-0.577-6.15-0.855\n\tc-0.999-0.138-1.986-0.275-2.961-0.41c-0.973-0.142-1.952-0.188-2.907-0.285c-1.911-0.168-3.772-0.332-5.582-0.49\n\tc-1.808-0.152-3.552-0.343-5.263-0.369c-0.426-0.016-0.837-0.031-1.256-0.046C 287.201,13.999, 273.012,0, 255.543,0\n\tc-0.271,0-0.54,0.014-0.81,0.021l-0.001-0.011c0,0-0.045,0.006-0.111,0.014c-1.939,0.055-3.838,0.275-5.676,0.661\n\tc-0.874,0.102-1.831,0.213-2.888,0.336c-0.942,0.111-1.956,0.231-3.038,0.359c-1.283,0.188-2.646,0.386-4.088,0.596\n\tc-2.873,0.428-6.062,0.9-9.479,1.454c-3.223,0.674-6.707,1.402-10.432,2.181c-1.859,0.356-3.752,0.889-5.703,1.393\n\tc-1.946,0.513-3.947,1.040-6.002,1.581c-1.022,0.283-2.066,0.52-3.104,0.854c-1.037,0.328-2.087,0.659-3.15,0.994\n\tc-2.116,0.674-4.282,1.363-6.494,2.067c-0.552,0.177-1.105,0.354-1.662,0.533c-0.55,0.203-1.103,0.407-1.658,0.613\n\tc-1.108,0.412-2.228,0.829-3.357,1.25c-2.248,0.849-4.539,1.712-6.87,2.591c-2.284,0.984-4.608,1.985-6.968,3.002\n\tc-1.174,0.509-2.357,1.022-3.549,1.539c-1.188,0.524-2.351,1.135-3.537,1.704c-2.357,1.161-4.747,2.339-7.165,3.531\n\tc-2.393,1.235-4.756,2.604-7.164,3.923c-1.199,0.668-2.404,1.339-3.615,2.014c-1.205,0.683-2.375,1.45-3.57,2.177\n\tc-2.369,1.476-4.762,2.965-7.175,4.468c-9.445,6.32-18.782,13.337-27.639,21.105c-8.787,7.856-17.124,16.363-24.801,25.345\n\tc-7.568,9.091-14.451,18.632-20.556,28.364c-6.018,9.801-11.157,19.822-15.571,29.688c-1.021,2.501-2.031,4.982-3.034,7.439\n\tc-0.487,1.231-1.016,2.434-1.459,3.667c-0.435,1.236-0.866,2.466-1.296,3.688c-0.843,2.449-1.734,4.839-2.497,7.242\n\tc-0.716,2.416-1.423,4.802-2.12,7.155c-0.337,1.179-0.715,2.33-1.008,3.502c-0.285,1.174-0.569,2.338-0.851,3.494\n\tc-0.559,2.303-1.108,4.57-1.648,6.801c-0.434,2.251-0.86,4.464-1.279,6.636c-0.205,1.082-0.409,2.154-0.611,3.217\n\tc-0.1,0.53-0.199,1.058-0.298,1.582c-0.074,0.531-0.148,1.059-0.222,1.584c-0.291,2.095-0.576,4.146-0.854,6.15\n\tc-0.139,0.998-0.275,1.985-0.41,2.961c-0.142,0.973-0.188,1.951-0.284,2.906c-0.168,1.911-0.332,3.773-0.49,5.582\n\tc-0.152,1.808-0.343,3.553-0.369,5.264c-0.010,0.274-0.020,0.538-0.029,0.81C 13.763,224.583,0,238.679,0,256\n\tC0,256.271, 0.014,256.539, 0.021,256.809z M 36.759,224.353c 0.021-0.098, 0.043-0.192, 0.064-0.29c 0.322-1.624, 0.816-3.271, 1.278-4.971\n\tc 0.467-1.694, 0.947-3.438, 1.44-5.227c 0.258-0.89, 0.467-1.801, 0.773-2.703c 0.298-0.901, 0.601-1.814, 0.905-2.738\n\tc 0.609-1.841, 1.232-3.725, 1.868-5.647c 0.158-0.479, 0.317-0.962, 0.478-1.446c 0.185-0.477, 0.37-0.957, 0.557-1.438\n\tc 0.373-0.962, 0.75-1.934, 1.13-2.915c 0.76-1.952, 1.535-3.941, 2.323-5.965c 0.884-1.98, 1.783-3.995, 2.696-6.040\n\tc 0.454-1.019, 0.912-2.045, 1.373-3.078c 0.466-1.030, 1.018-2.036, 1.526-3.063c 1.035-2.042, 2.085-4.111, 3.147-6.206\n\tc 1.101-2.071, 2.327-4.112, 3.499-6.196c 0.592-1.037, 1.187-2.080, 1.785-3.128c 0.605-1.043, 1.293-2.051, 1.938-3.083\n\tc 1.308-2.049, 2.628-4.116, 3.959-6.201c 5.617-8.149, 11.816-16.199, 18.665-23.819c 6.937-7.552, 14.421-14.702, 22.299-21.274\n\tc 7.987-6.464, 16.343-12.325, 24.838-17.511c 8.565-5.097, 17.3-9.419, 25.867-13.129c 2.175-0.85, 4.331-1.691, 6.467-2.525\n\tc 1.068-0.406, 2.108-0.855, 3.18-1.222c 1.073-0.357, 2.14-0.714, 3.202-1.068c 2.125-0.693, 4.191-1.444, 6.274-2.071\n\tc 2.092-0.587, 4.157-1.166, 6.196-1.737c 1.019-0.275, 2.013-0.595, 3.027-0.831c 1.015-0.229, 2.022-0.457, 3.022-0.684\n\tc 1.989-0.455, 3.948-0.903, 5.874-1.344c 1.944-0.343, 3.855-0.68, 5.731-1.011c 0.934-0.165, 1.858-0.329, 2.773-0.49\n\tc 0.457-0.081, 0.912-0.162, 1.364-0.242c 0.458-0.056, 0.914-0.111, 1.367-0.166c 1.806-0.224, 3.574-0.441, 5.302-0.655\n\tc 0.86-0.108, 1.711-0.216, 2.551-0.322c 0.837-0.113, 1.682-0.133, 2.505-0.204c 1.646-0.119, 3.249-0.236, 4.808-0.35\n\tc 1.555-0.109, 3.055-0.262, 4.529-0.254c 2.924-0.066, 5.66-0.128, 8.19-0.186c 2.332,0.084, 4.474,0.162, 6.409,0.231\n\tc 0.957,0.027, 1.863,0.054, 2.716,0.078c 1.061,0.067, 2.054,0.13, 2.979,0.189c 1.065,0.069, 2.030,0.133, 2.91,0.19\n\tc 1.628,0.255, 3.296,0.391, 4.995,0.391c 0.233,0, 0.465-0.013, 0.698-0.018c 0.066,0.004, 0.112,0.007, 0.112,0.007l0-0.010 \n\tc 15.57-0.389, 28.375-11.892, 30.778-26.877c 0.271,0.060, 0.532,0.118, 0.806,0.178c 1.623,0.322, 3.271,0.816, 4.971,1.278\n\tc 1.693,0.467, 3.438,0.947, 5.227,1.44c 0.889,0.258, 1.801,0.467, 2.702,0.773c 0.901,0.298, 1.815,0.601, 2.739,0.906\n\tc 1.84,0.609, 3.724,1.232, 5.646,1.868c 0.48,0.158, 0.962,0.317, 1.446,0.478c 0.478,0.185, 0.957,0.37, 1.438,0.556\n\tc 0.963,0.373, 1.934,0.75, 2.915,1.13c 1.952,0.76, 3.942,1.535, 5.966,2.323c 1.98,0.884, 3.994,1.783, 6.040,2.696\n\tc 1.019,0.454, 2.044,0.912, 3.078,1.373c 1.030,0.466, 2.036,1.018, 3.063,1.527c 2.041,1.035, 4.111,2.085, 6.205,3.147\n\tc 2.072,1.101, 4.113,2.327, 6.197,3.499c 1.037,0.592, 2.080,1.187, 3.128,1.786c 1.043,0.605, 2.051,1.293, 3.083,1.938\n\tc 2.049,1.308, 4.115,2.628, 6.201,3.959c 8.148,5.617, 16.199,11.816, 23.818,18.665c 7.552,6.937, 14.703,14.421, 21.275,22.299\n\tc 6.464,7.987, 12.324,16.343, 17.51,24.838c 5.098,8.565, 9.42,17.3, 13.13,25.868c 0.849,2.174, 1.691,4.331, 2.525,6.466\n\tc 0.406,1.068, 0.855,2.108, 1.222,3.18c 0.357,1.073, 0.714,2.14, 1.068,3.202c 0.693,2.125, 1.444,4.192, 2.071,6.274\n\tc 0.587,2.092, 1.165,4.158, 1.737,6.196c 0.275,1.019, 0.595,2.013, 0.83,3.027c 0.23,1.015, 0.458,2.023, 0.684,3.023\n\tc 0.455,1.989, 0.904,3.948, 1.344,5.874c 0.344,1.944, 0.681,3.855, 1.012,5.731c 0.165,0.934, 0.328,1.858, 0.49,2.774\n\tc 0.081,0.457, 0.162,0.912, 0.242,1.364c 0.055,0.458, 0.111,0.914, 0.166,1.367c 0.223,1.806, 0.441,3.574, 0.655,5.302\n\tc 0.108,0.86, 0.216,1.71, 0.321,2.55c 0.113,0.837, 0.134,1.682, 0.205,2.505c 0.119,1.646, 0.236,3.249, 0.35,4.808\n\tc 0.109,1.555, 0.262,3.055, 0.254,4.529c 0.066,2.924, 0.128,5.66, 0.186,8.19c-0.084,2.332-0.162,4.474-0.231,6.409\n\tc-0.027,0.957-0.054,1.863-0.078,2.716c-0.067,1.061-0.13,2.054-0.189,2.979c-0.069,1.065-0.133,2.030-0.19,2.91\n\tC 448.135,252.633, 448,254.301, 448,256c0,0.234, 0.013,0.465, 0.018,0.698c-0.004,0.066-0.008,0.112-0.008,0.112l 0.011,0 \n\tc 0.384,15.383, 11.618,28.064, 26.341,30.685c-0.033,0.148-0.065,0.292-0.099,0.442c-0.322,1.624-0.816,3.271-1.278,4.971\n\tc-0.467,1.694-0.947,3.438-1.44,5.227c-0.258,0.89-0.467,1.801-0.773,2.703c-0.298,0.901-0.601,1.814-0.905,2.738\n\tc-0.609,1.841-1.232,3.725-1.868,5.647c-0.158,0.479-0.317,0.962-0.478,1.446c-0.185,0.477-0.37,0.957-0.557,1.438\n\tc-0.373,0.962-0.75,1.934-1.13,2.915c-0.76,1.952-1.535,3.941-2.323,5.965c-0.884,1.98-1.783,3.995-2.696,6.040\n\tc-0.454,1.019-0.912,2.045-1.373,3.078c-0.466,1.030-1.018,2.036-1.526,3.063c-1.035,2.042-2.085,4.111-3.147,6.206\n\tc-1.101,2.071-2.327,4.112-3.499,6.196c-0.592,1.037-1.187,2.080-1.785,3.128c-0.605,1.043-1.293,2.051-1.938,3.083\n\tc-1.308,2.049-2.628,4.116-3.959,6.201c-5.617,8.149-11.816,16.199-18.665,23.819c-6.937,7.552-14.421,14.702-22.299,21.274\n\tc-7.987,6.464-16.343,12.325-24.838,17.511c-8.565,5.097-17.3,9.419-25.867,13.129c-2.175,0.85-4.331,1.691-6.467,2.525\n\tc-1.068,0.406-2.108,0.855-3.18,1.222c-1.073,0.357-2.14,0.714-3.202,1.068c-2.125,0.693-4.191,1.444-6.274,2.071\n\tc-2.092,0.587-4.157,1.166-6.196,1.737c-1.019,0.275-2.013,0.595-3.027,0.831c-1.015,0.229-2.022,0.457-3.022,0.684\n\tc-1.989,0.455-3.948,0.903-5.874,1.344c-1.944,0.343-3.855,0.68-5.731,1.011c-0.934,0.165-1.858,0.329-2.773,0.49\n\tc-0.457,0.081-0.912,0.162-1.364,0.242c-0.458,0.056-0.914,0.111-1.367,0.166c-1.806,0.224-3.574,0.441-5.302,0.655\n\tc-0.86,0.108-1.711,0.216-2.551,0.322c-0.837,0.113-1.682,0.133-2.505,0.204c-1.646,0.119-3.249,0.236-4.808,0.35\n\tc-1.555,0.109-3.055,0.262-4.529,0.254c-2.924,0.066-5.66,0.128-8.19,0.186c-2.332-0.084-4.474-0.162-6.409-0.231\n\tc-0.957-0.027-1.863-0.054-2.716-0.078c-1.061-0.067-2.054-0.13-2.979-0.189c-1.065-0.069-2.030-0.133-2.91-0.19\n\tc-1.628-0.255-3.296-0.391-4.995-0.391c-0.233,0-0.465,0.013-0.698,0.018c-0.066-0.004-0.112-0.007-0.112-0.007l0,0.010 \n\tc-15.502,0.387-28.262,11.793-30.744,26.682c-1.6-0.32-3.223-0.805-4.896-1.261c-1.693-0.467-3.438-0.947-5.227-1.439\n\tc-0.889-0.258-1.801-0.469-2.702-0.773c-0.901-0.299-1.815-0.602-2.739-0.906c-1.84-0.609-3.724-1.232-5.646-1.869\n\tc-0.48-0.158-0.962-0.316-1.446-0.477c-0.478-0.186-0.957-0.371-1.438-0.557c-0.963-0.373-1.934-0.75-2.915-1.129\n\tc-1.952-0.762-3.942-1.535-5.966-2.324c-1.98-0.885-3.994-1.783-6.040-2.695c-1.019-0.455-2.044-0.912-3.078-1.373\n\tc-1.030-0.467-2.036-1.018-3.063-1.527c-2.041-1.035-4.111-2.086-6.205-3.148c-2.072-1.1-4.113-2.326-6.197-3.498\n\tc-1.037-0.592-2.080-1.188-3.128-1.785c-1.043-0.605-2.051-1.293-3.083-1.939c-2.049-1.307-4.115-2.627-6.201-3.959\n\tc-8.148-5.615-16.199-11.816-23.818-18.664c-7.552-6.938-14.703-14.42-21.275-22.299c-6.464-7.986-12.324-16.342-17.51-24.838\n\tc-5.098-8.564-9.42-17.301-13.13-25.867c-0.849-2.176-1.691-4.332-2.525-6.467c-0.406-1.068-0.855-2.109-1.222-3.18\n\tc-0.357-1.074-0.714-2.141-1.068-3.203c-0.693-2.125-1.444-4.191-2.071-6.273c-0.587-2.092-1.165-4.158-1.737-6.197\n\tc-0.275-1.018-0.595-2.012-0.83-3.027c-0.23-1.014-0.458-2.021-0.684-3.021c-0.455-1.99-0.904-3.949-1.344-5.875\n\tc-0.344-1.943-0.681-3.855-1.012-5.73c-0.165-0.934-0.328-1.859-0.49-2.773c-0.081-0.457-0.162-0.912-0.242-1.365\n\tc-0.055-0.457-0.111-0.914-0.166-1.367c-0.223-1.805-0.441-3.574-0.655-5.301c-0.108-0.861-0.216-1.711-0.321-2.551\n\tc-0.113-0.838-0.134-1.682-0.205-2.506c-0.119-1.645-0.236-3.248-0.35-4.807c-0.109-1.555-0.262-3.055-0.254-4.529\n\tc-0.066-2.924-0.128-5.66-0.186-8.191c 0.084-2.332, 0.162-4.473, 0.231-6.408c 0.027-0.957, 0.054-1.863, 0.078-2.717\n\tc 0.067-1.061, 0.13-2.053, 0.189-2.979c 0.069-1.064, 0.133-2.029, 0.19-2.91C 63.865,259.367, 64,257.699, 64,256\n\tc0-0.233-0.013-0.465-0.018-0.698c 0.004-0.066, 0.008-0.112, 0.008-0.112l-0.011,0 C 63.589,239.5, 51.912,226.613, 36.759,224.353z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 116.626,0 3.271,111.381 0.076,249.987 C 3.036,129.055 94.992,32 208,32 C 322.875,32 416,132.288 416,256 C 416,282.51 437.49,304 464,304 C 490.51,304 512,282.51 512,256 C 512,114.615 397.385,0 256,0 ZM 256,512 C 395.374,512 508.729,400.619 511.924,262.013 C 508.964,382.945 417.008,480 304,480 C 189.125,480 96,379.712 96,256 C 96,229.49 74.51,208 48,208 C 21.49,208 0,229.49 0,256 C 0,397.385 114.615,512 256,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208,464A48,48 12600 1 1 304,464A48,48 12600 1 1 208,464zM0,256A48,48 12600 1 1 96,256A48,48 12600 1 1 0,256zM 416,256A48,48 12600 1 1 512,256A48,48 12600 1 1 416,256zM 60.922,108.922A48,48 12600 1 1 156.922,108.92200000000003A48,48 12600 1 1 60.922,108.92200000000003zM 355.078,403.078A48,48 12600 1 1 451.078,403.078A48,48 12600 1 1 355.078,403.078zM 60.922,403.078A48,48 12600 1 1 156.922,403.078A48,48 12600 1 1 60.922,403.078zM 355.078,108.922A48,48 12600 1 1 451.078,108.92200000000003A48,48 12600 1 1 355.078,108.92200000000003z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,64A64,64 12600 1 1 320,64A64,64 12600 1 1 192,64zM 395.497,256A52.503,52.503 12600 1 1 500.503,256A52.503,52.503 12600 1 1 395.497,256zM 344.212,391.765A47.553,47.553 12600 1 1 439.318,391.765A47.553,47.553 12600 1 1 344.212,391.765zM 212.931,448A43.069,43.069 12600 1 1 299.069,448A43.069,43.069 12600 1 1 212.931,448zM 81.227,391.765A39.009,39.009 12600 1 1 159.245,391.765A39.009,39.009 12600 1 1 81.227,391.765zM 28.669,256A35.331,35.331 12600 1 1 99.331,256A35.331,35.331 12600 1 1 28.669,256zM 88.236,120.236A32,32 12600 1 1 152.236,120.23599999999999A32,32 12600 1 1 88.236,120.23599999999999zM 449.732,120.236c0,32.012-25.953,57.967-57.968,57.967c-32.012,0-57.968-25.955-57.968-57.967\n\tc0-32.016, 25.956-57.967, 57.968-57.967C 423.779,62.269, 449.732,88.22, 449.732,120.236z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 356.223,0 442.978,57.601 485.008,141.496 L 370.504,198.748 C 349.489,156.801 306.111,128 256,128 C 205.889,128 162.511,156.801 141.496,198.748 L 26.992,141.496 C 69.022,57.601 155.778,0 256,0 ZM 382.74,358.502 C 371.524,372.361 358.059,384.36 342.831,393.963 C 316.853,410.342 286.827,419 256,419 C 225.173,419 195.147,410.342 169.169,393.962 C 153.941,384.359 140.475,372.36 129.259,358.501 L 76.468,384.896 C 93.077,408 114.055,427.793 138.341,443.106 C 173.508,465.279 214.194,477 256,477 C 297.807,477 338.492,465.279 373.658,443.107 C 397.944,427.793 418.923,408.001 435.531,384.897 L 382.74,358.502 Z M 370.504,313.252 L 370.504,313.252 L 485.008,370.504 C 442.978,454.398 356.223,512 256,512 C 155.778,512 69.022,454.398 26.992,370.504 L 141.496,313.252 C 162.511,355.199 205.889,384 256,384 C 306.111,384 349.489,355.199 370.504,313.252 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 356.223,0 442.978,57.601 485.008,141.496 L 370.504,198.748 C 349.489,156.801 306.111,128 256,128 C 205.889,128 162.511,156.801 141.496,198.748 L 26.992,141.496 C 69.022,57.601 155.778,0 256,0 ZM 370.504,313.252 L 485.008,370.504 C 442.978,454.398 356.223,512 256,512 C 155.778,512 69.022,454.398 26.992,370.504 L 141.496,313.252 C 162.511,355.199 205.889,384 256,384 C 306.111,384 349.489,355.199 370.504,313.252 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 117.417,175.989C 145.084,128.173, 196.783,96, 256,96s 110.916,32.173, 138.583,79.989l 83.149-48.007\n\t\tC 433.466,51.476, 350.747,0, 256,0S 78.533,51.476, 34.267,127.982L 117.417,175.989z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,128\n\tc 70.692,0, 128,57.308, 128,128s-57.308,128-128,128s-128-57.308-128-128S 185.308,128, 256,128z M 408.735,408.735\n\tC 367.938,449.532, 313.695,472, 256,472c-57.696,0-111.938-22.468-152.735-63.265C 62.468,367.938, 40,313.696, 40,256\n\tc0-57.695, 22.468-111.938, 63.265-152.735l 33.941,33.941c0,0,0,0,0,0c-65.503,65.503-65.503,172.085,0,237.588\n\tC 168.937,406.525, 211.125,424, 256,424c 44.874,0, 87.062-17.475, 118.794-49.206c 65.503-65.503, 65.503-172.084,0-237.588l 33.941-33.941\n\tC 449.532,144.062, 472,198.305, 472,256C 472,313.696, 449.532,367.938, 408.735,408.735z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,256c0-6.090, 0.352-12.098, 1.015-18.011l-92.49-30.052C 1.567,223.507,0,239.569,0,256\n\t\t\tc0,73.615, 31.083,139.961, 80.827,186.662l 57.142-78.648C 111.907,335.551, 96,297.635, 96,256zM 416,256c0,41.634-15.906,79.551-41.969,108.014l 57.142,78.648C 480.917,395.961, 512,329.615, 512,256\n\t\t\tc0-16.431-1.566-32.493-4.524-48.063l-92.49,30.052C 415.648,243.903, 416,249.91, 416,256zM 288,99.204c 45.967,9.331, 84.772,38.371, 107.225,77.913l 92.489-30.051C 451.116,69.356, 376.594,13.036, 288,1.988L 288,99.204 zM 116.775,177.116c 22.453-39.542, 61.258-68.582, 107.225-77.913L 224,1.988 C 135.406,13.036, 60.885,69.356, 24.287,147.065\n\t\t\tL 116.775,177.116zM 322.278,401.664C 302.083,410.868, 279.642,416, 256,416s-46.083-5.132-66.277-14.335l-57.146,78.655\n\t\t\tC 169.18,500.503, 211.245,512, 256,512s 86.82-11.497, 123.424-31.68L 322.278,401.664z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256c-0.639-33.431-7.892-66.758-21.288-97.231c-13.352-30.5-32.731-58.129-56.521-80.96\n\tc-23.776-22.848-51.972-40.91-82.492-52.826C 321.197,13.021, 288.401,7.307, 256,8c-32.405,0.641-64.666,7.687-94.167,20.678\n\tc-29.524,12.948-56.271,31.735-78.367,54.788c-22.112,23.041-39.58,50.354-51.093,79.899C 20.816,192.896, 15.309,224.625, 16,256\n\tc 0.643,31.38, 7.482,62.574, 20.067,91.103c 12.544,28.55, 30.738,54.414, 53.055,75.774c 22.305,21.377, 48.736,38.252, 77.307,49.36\n\tC 194.988,483.389, 225.652,488.688, 256,488c 30.354-0.645, 60.481-7.277, 88.038-19.457c 27.575-12.141, 52.558-29.74, 73.183-51.322\n\tc 20.641-21.57, 36.922-47.118, 47.627-74.715c 6.517-16.729, 10.94-34.2, 13.271-51.899c 0.623,0.036, 1.249,0.060, 1.881,0.060\n\tc 17.673,0, 32-14.326, 32-32c0-0.898-0.047-1.786-0.119-2.666L 512,256.001 z M 461.153,340.974c-11.736,26.601-28.742,50.7-49.589,70.59\n\tc-20.835,19.905-45.5,35.593-72.122,45.895C 312.828,467.798, 284.297,472.685, 256,472c-28.302-0.649-56.298-6.868-81.91-18.237\n\tc-25.625-11.333-48.842-27.745-67.997-47.856c-19.169-20.099-34.264-43.882-44.161-69.529C 51.997,310.736, 47.318,283.271, 48,256\n\tc 0.651-27.276, 6.664-54.206, 17.627-78.845c 10.929-24.65, 26.749-46.985, 46.123-65.405c 19.365-18.434, 42.265-32.935, 66.937-42.428\n\tC 203.356,59.792, 229.755,55.319, 256,56c 26.25,0.653, 52.114,6.459, 75.781,17.017c 23.676,10.525, 45.128,25.751, 62.812,44.391\n\tc 17.698,18.629, 31.605,40.647, 40.695,64.344C 444.412,205.448, 448.679,230.781, 448,256l 0.119,0 c-0.072,0.88-0.119,1.768-0.119,2.666\n\tc0,16.506, 12.496,30.087, 28.543,31.812C 473.431,307.889, 468.278,324.887, 461.153,340.974z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,64A64,64 12600 1 1 320,64A64,64 12600 1 1 192,64zM 327.765,120.235A64,64 12600 1 1 455.765,120.23500000000001A64,64 12600 1 1 327.765,120.23500000000001zM 416,256A32,32 12600 1 1 480,256A32,32 12600 1 1 416,256zM 359.765,391.765A32,32 12600 1 1 423.765,391.765A32,32 12600 1 1 359.765,391.765zM 224.001,448A32,32 12600 1 1 288.001,448A32,32 12600 1 1 224.001,448zM 88.236,391.765A32,32 12600 1 1 152.236,391.765A32,32 12600 1 1 88.236,391.765zM 72.236,120.235A48,48 12600 1 1 168.236,120.23500000000001A48,48 12600 1 1 72.236,120.23500000000001zM 28,256A36,36 12600 1 1 100,256A36,36 12600 1 1 28,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 190.040,305.023c-47.689,25.929-82.896,79.105-91.826,142.978l 315.57,0 c-8.929-63.871-44.137-117.049-91.824-142.978\n\t\tC 288.007,280.883, 288,269.324, 288,256s 0.007-24.882, 33.959-49.023c 47.688-25.928, 82.896-79.105, 91.825-142.977L 98.214,64 \n\t\tc 8.93,63.871, 44.138,117.049, 91.826,142.977C 223.992,231.118, 224,242.676, 224,256S 223.992,280.883, 190.040,305.023zM 64,480.001L 448,480.001L 448,512L 64,512zM 64,0L 448,0L 448,32L 64,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 128,96L 224.001,192L 224.001,320L 128,416L 352,416L 256,320L 256,192 \tzM 480,77.255L 480,0 L0,0 l0,77.255 l 160,160l0,37.489 l-160,160L0,512 l 480,0 l0-77.256 l-160-160l0-37.489 L 480,77.255z M 448,448L 32,448 l 160-160l0-64 \n\t\tL 32,64l 416,0 L 288,224l0,64 L 448,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 346.828,314.38C 309.427,290.036, 288,276.379, 288,256c0-20.378, 21.427-34.036, 58.826-58.379\n\tC 407.055,159.779, 448,85.476, 448,0L 64,0 c0,85.476, 40.945,159.779, 101.174,197.621C 202.573,221.964, 224,235.622, 224,256\n\tc0,20.379-21.427,34.036-58.829,58.38C 104.944,352.223, 64,426.525, 64,512l 384,0 C 448,426.525, 407.057,352.223, 346.828,314.38z\n\t M 129.815,96.91c-8.776-16.792-15.155-35.11-18.968-54.244l 290.306,0 c-3.813,19.134-10.191,37.452-18.969,54.244\n\tc-5.893,11.276-12.767,21.694-20.466,31.090L 150.281,128 C 142.582,118.604, 135.708,108.186, 129.815,96.91z M 248,382.81\n\tc0,21.78-88,54.523-88,86.523l-49.153,0 c 3.813-19.133, 10.191-37.45, 18.967-54.242c 14.308-27.376, 34.383-49.709, 58.057-64.583\n\tl 0.289-0.182l 0.286-0.187l 1.544-1.005c 23.355-15.199, 44.029-28.661, 58.010-44.766L 248,382.81 z M 401.154,469.333L 352,469.333 \n\tc0-32-88-64.743-88-86.523l0-78.44 c 13.98,16.104, 34.654,29.566, 58.010,44.766l 1.544,1.005l 0.286,0.187l 0.289,0.182\n\tc 23.674,14.874, 43.749,37.207, 58.057,64.583C 390.962,431.883, 397.341,450.2, 401.154,469.333z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 364.496,256C 433.373,212.333, 480,128.396, 480,32c0-10.838-0.596-21.517-1.739-32L 33.74,0 C 32.595,10.484, 32,21.163, 32,32\n\t\tc0,96.396, 46.627,180.333, 115.503,224C 78.627,299.667, 32,383.604, 32,480c0,10.838, 0.595,21.517, 1.739,32l 444.521,0 \n\t\tc 1.144-10.483, 1.739-21.162, 1.739-32C 480,383.604, 433.373,299.667, 364.496,256z M 80,480c0-93.456, 40.081-172.707, 112-198.854\n\t\tl0-50.293 l0,0 C 120.081,204.708, 80,125.457, 80,32l0,0 l 352,0 l0,0 c0,93.457-40.081,172.708-112,198.853l0,50.293 \n\t\tC 391.919,307.293, 432,386.544, 432,480L 80,480 zM 309.813,334.797c-35.827-20.322-37.804-46.684-37.813-62.683L 272,240 c0-15.997, 1.902-42.457, 37.872-62.832\n\t\tc 19.252-11.182, 35.904-28.174, 48.524-49.168L 153.605,128 c 12.633,21.016, 29.306,38.021, 48.583,49.203\n\t\tc 35.827,20.322, 37.803,46.683, 37.813,62.683L 240.001,272 c0,15.996-1.902,42.457-37.872,62.832c-36.311,21.090-63.369,62.842-71.545,113.168\n\t\tl 250.835,0 C 373.237,397.646, 346.154,355.876, 309.813,334.797z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-right, rdquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,480 L 288,32 L 480,32 L 480,256 ZM 0,480 L 0,32 L 192,32 L 192,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-right, rdquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32 L 192,480 L 0,480 L 0,256 ZM 480,32 L 480,480 L 288,480 L 288,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-right, rdquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,320 C 338.144,320 288,269.855 288,208 C 288,146.144 338.144,96 400,96 C 461.856,96 512,146.144 512,208 L 512.5,224 C 512.5,347.712 412.212,448 288.5,448 L 288.5,384 C 331.237,384 371.417,367.357 401.637,337.137 C 407.454,331.319 412.763,325.129 417.552,318.627 C 411.833,319.527 405.972,320 400,320 ZM 112,320 C 50.145,320 0,269.855 0,208 C 0,146.144 50.145,96 112,96 C 173.855,96 224,146.144 224,208 L 224.5,224 C 224.5,347.712 124.212,448 0.5,448 L 0.5,384 C 43.237,384 83.417,367.357 113.637,337.137 C 119.455,331.319 124.764,325.129 129.553,318.627 C 123.833,319.527 117.973,320 112,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-left, ldquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 112.5,224 C 174.356,224 224.5,274.145 224.5,336 C 224.5,397.856 174.356,448 112.5,448 C 50.644,448 0.5,397.856 0.5,336 L 0,320 C 0,196.288 100.288,96 224,96 L 224,160 C 181.263,160 141.083,176.643 110.863,206.863 C 105.046,212.681 99.737,218.871 94.948,225.373 C 100.667,224.473 106.528,224 112.5,224 ZM 400.5,224 C 462.355,224 512.5,274.145 512.5,336 C 512.5,397.856 462.355,448 400.5,448 C 338.645,448 288.5,397.856 288.5,336 L 288,320 C 288,196.288 388.288,96 512,96 L 512,160 C 469.263,160 429.083,176.643 398.863,206.863 C 393.045,212.681 387.736,218.871 382.947,225.373 C 388.667,224.473 394.527,224 400.5,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hanger, coat hanger, dress\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 497.817,421.401L 288,271.532L 288,232 c0-24-7.75-33-31-33l-9.365,0 c-7.8-1.428-15.98-4.131-21.711-9.79\n\tc-6.833-6.747-11.605-19.376-11.605-30.713c0-11.335, 4.772-23.965, 11.605-30.713c 7.483-7.389, 17.432-11.458, 28.016-11.458\n\tc 10.583,0, 20.531,4.069, 28.013,11.458c 10.249,10.119, 26.865,10.119, 37.112-0.001c 10.249-10.12, 10.248-26.526,0-36.646\n\tC 301.669,73.959, 278.541,64.5, 253.94,64.5c-24.604,0-47.734,9.46-65.13,26.639c-16.64,16.432-26.977,42.241-26.977,67.357\n\tc0,25.119, 10.337,50.929, 26.979,67.36c 10.079,9.951, 22.089,17.292, 35.188,21.725l0,23.951 L 13.4,421.961\n\tc-11.32,8.085-16.119,22.558-11.874,35.805C 5.772,471.013, 18.089,480, 32,480l 448,0 c 0.007,0, 0.015,0, 0.020,0c 17.674,0, 32-14.327, 32-32\n\tC 512.020,436.913, 506.382,427.144, 497.817,421.401z M 115.855,416L 256,319.325L 396.146,416L 115.855,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tshirt, team, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 348.976,64 L 512,96 L 512,224 L 416,224 L 416,480 L 96,480 L 96,224 L 0,224 L 0,96 L 163.024,64 C 173.682,105.405 211.267,136 256,136 C 300.733,136 338.319,105.405 348.976,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vcard, card, contact\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,96L 64,96 c-35.2,0-64,28.8-64,64l0,224 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,160 C 512,124.8, 483.2,96, 448,96z\n\t M 64,384c0-70.692, 35.817-128, 80-128c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48s-21.49,48-48,48\n\tc 44.183,0, 80,57.308, 80,128L 64,384 z M 448,384L 288,384 l0-32 l 160,0 L 448,384 z M 448,288L 288,288 l0-32 l 160,0 L 448,288 z M 448,192L 288,192 l0-32 l 160,0 L 448,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,192A64,64 12600 1 1 224,192A64,64 12600 1 1 96,192zM 288,96A64,64 12600 1 1 416,96A64,64 12600 1 1 288,96zM 160,288C 71.635,288,0,373.961,0,480l 48,0 c0-20.471, 3.312-40.247, 9.844-58.779c 6.155-17.461, 14.866-33.023, 25.894-46.257\n\t\tC 104.677,349.838, 131.76,336, 160,336s 55.324,13.838, 76.263,38.964c 11.027,13.233, 19.739,28.796, 25.894,46.257\n\t\tC 268.689,439.753, 272,459.529, 272,480l 48,0 C 320,373.961, 248.366,288, 160,288zM 352,192c-47.088,0-89.423,24.413-118.701,63.264c 3.598,1.559, 7.168,3.228, 10.705,5.022\n\t\tc 10.877,5.521, 21.24,12.047, 31.037,19.535c 0.233-0.285, 0.462-0.575, 0.697-0.857C 296.677,253.838, 323.761,240, 352,240\n\t\tc 28.24,0, 55.324,13.838, 76.263,38.964c 11.027,13.233, 19.739,28.796, 25.894,46.257C 460.689,343.753, 464,363.529, 464,384l 48,0 \n\t\tC 512,277.961, 440.366,192, 352,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,128A96,96 12600 1 1 352,128A96,96 12600 1 1 160,128zM 256,256C 149.961,256, 64,356.289, 64,480l 64,0 c0-88.365, 57.307-160, 128-160c 70.691,0, 128,71.635, 128,160l 64,0 \n\t\t\tC 448,356.289, 362.038,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member, employee, job, official\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,96A96,96 10800 1 1 352,96A96,96 10800 1 1 160,96zM 384.039,224l-0.078,0 l-17.634,0 l-99.552,202.122L 304,240l-48-48l-48,48l 37.225,186.122L 145.674,224l-17.635,0 l-0.077,0 \n\t\tC 64,224, 64,266.993, 64,320l0,160 l 384,0 L 448,320 C 448,266.993, 448,224, 384.039,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,321.922l0-14.768 c 19.129-16.6, 32-47.621, 32-83.154c0-53.020-28.653-96-64-96c-35.346,0-64,42.98-64,96\n\t\tc0,35.535, 12.872,66.558, 32.003,83.156l0,14.766 c-73.031,8.895-128,47.634-128,94.078L 416,416 C 416,369.556, 361.031,330.816, 288,321.922zM 160.84,304.806c-13.354-8.158-30.188-13.814-48.839-15.902l0-7.341 c 9.562-8.301, 16-23.799, 16-41.563\n\t\tc0-26.51-14.327-48-32-48s-32,21.49-32,48c0,17.764, 6.438,33.262, 16,41.563l0,7.327 c-45.402,5.079-80,31.397-80,63.109l 89.713,0 \n\t\tC 106.735,332.386, 131.324,316.057, 160.84,304.806zM 432,288.89l0-7.327 c 9.563-8.301, 16-23.799, 16-41.563c0-26.51-14.327-48-32-48s-32,21.49-32,48\n\t\tc0,17.764, 6.438,33.262, 16,41.563l0,7.341 c-18.65,2.088-35.485,7.744-48.84,15.902c 29.516,11.251, 54.104,27.58, 71.127,47.193L 512,351.999 \n\t\tC 512,320.287, 477.403,293.969, 432,288.89z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336.788,330.301c-23.375,17.894-50.901,28.32-80.784,28.32c-29.892,0-57.418-10.427-80.797-28.32\n\t\tC 73.459,351.183,0,410.249,0,480l 512,0 C 512,410.249, 438.54,351.183, 336.788,330.301zM 150.753,176A105.247,144 12600 1 1 361.247,176A105.247,144 12600 1 1 150.753,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,288c 70.692,0, 128-57.308, 128-128S 326.692,32, 256,32S 128,89.308, 128,160S 185.308,288, 256,288z M 160,160\n\t\tc0-1.34, 0.035-2.673, 0.090-4l 191.82,0 c 0.055,1.327, 0.090,2.66, 0.090,4s-0.035,2.673-0.090,4L 160.090,164 C 160.035,162.673, 160,161.34, 160,160z\n\t\t M 188.303,92l 135.395,0 c 2.54,2.529, 4.937,5.202, 7.184,8L 181.12,100 C 183.366,97.202, 185.762,94.529, 188.303,92z M 197.421,84\n\t\tc 3.831-2.96, 7.891-5.637, 12.149-8l 92.859,0 c 4.258,2.363, 8.318,5.040, 12.149,8L 197.421,84 z M 336.661,108c 1.672,2.584, 3.223,5.253, 4.645,8\n\t\tL 170.694,116 c 1.422-2.747, 2.973-5.416, 4.645-8L 336.661,108 z M 344.989,124c 1.061,2.612, 2.011,5.28, 2.842,8L 164.169,132 \n\t\tc 0.831-2.72, 1.781-5.388, 2.841-8L 344.989,124 z M 349.898,140c 0.56,2.629, 1.015,5.297, 1.353,8L 160.749,148 c 0.339-2.703, 0.793-5.371, 1.353-8\n\t\tL 349.898,140 z M 351.251,172c-0.338,2.703-0.793,5.371-1.353,8L 162.102,180 c-0.56-2.629-1.014-5.297-1.353-8L 351.251,172 z M 347.831,188\n\t\tc-0.831,2.72-1.781,5.388-2.842,8L 167.011,196 c-1.061-2.612-2.010-5.28-2.841-8L 347.831,188 z M 341.306,204c-1.422,2.747-2.973,5.416-4.645,8\n\t\tL 175.339,212 c-1.672-2.584-3.223-5.253-4.645-8L 341.306,204 z M 323.697,228L 188.303,228 c-2.541-2.529-4.937-5.202-7.183-8l 149.761,0 \n\t\tC 328.634,222.798, 326.237,225.471, 323.697,228z M 314.579,236c-3.831,2.96-7.892,5.637-12.149,8L 209.57,244 \n\t\tc-4.258-2.363-8.318-5.040-12.149-8L 314.579,236 z M 228.568,252l 54.863,0 c-8.695,2.598-17.902,4-27.432,4S 237.264,254.598, 228.568,252z\n\t\t M 283.432,68l-54.863,0 c 8.696-2.598, 17.902-4, 27.432-4S 274.736,65.402, 283.432,68zM 384,320L 128,320 C 57.308,320,0,377.309,0,448l0,32 l 4.033,0 l 503.934,0 L 512,480 l0-32 C 512,377.309, 454.692,320, 384,320z M 60.303,380l 391.395,0 \n\t\tc 2.54,2.529, 4.937,5.202, 7.184,8L 53.12,388 C 55.366,385.202, 57.762,382.529, 60.303,380z M 69.421,372c 3.831-2.96, 7.891-5.637, 12.149-8\n\t\tL 430.43,364 c 4.258,2.363, 8.318,5.040, 12.149,8L 69.421,372 z M 464.661,396c 1.672,2.584, 3.223,5.254, 4.645,8L 42.694,404 \n\t\tc 1.422-2.746, 2.973-5.416, 4.645-8L 464.661,396 z M 472.989,412c 1.061,2.612, 2.011,5.28, 2.842,8L 36.169,420 c 0.831-2.72, 1.781-5.388, 2.841-8\n\t\tL 472.989,412 z M 477.898,428c 0.56,2.629, 1.015,5.297, 1.353,8L 32.749,436 c 0.339-2.703, 0.793-5.371, 1.353-8L 477.898,428 z M 384,352\n\t\tc 9.529,0, 18.736,1.402, 27.432,4L 100.568,356 c 8.696-2.598, 17.902-4, 27.432-4L 384,352 z M 32,448c0-1.341, 0.035-2.673, 0.090-4l 447.82,0 \n\t\tc 0.055,1.327, 0.090,2.659, 0.090,4L 32,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64c 52.935,0, 96,43.065, 96,96s-43.065,96-96,96s-96-43.065-96-96S 203.065,64, 256,64 M 256,32\n\t\tc-70.692,0-128,57.308-128,128s 57.308,128, 128,128s 128-57.308, 128-128S 326.692,32, 256,32L 256,32zM 384,352c 52.935,0, 96,43.065, 96,96L 32,448 c0-52.935, 43.065-96, 96-96L 384,352 M 384,320L 128,320 C 57.308,320,0,377.309,0,448l0,32 l 4.033,0 \n\t\tl 503.934,0 L 512,480 l0-32 C 512,377.309, 454.692,320, 384,320L 384,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,160A128,128 12600 1 1 384,160A128,128 12600 1 1 128,160zM 384,320L 128,320 C 57.308,320,0,377.309,0,448l0,32 l 4.033,0 l 503.934,0 L 512,480 l0-32 C 512,377.309, 454.692,320, 384,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-block, profile, avatar, person, talk, member, ban\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 368,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224z M 262,368\n\tc0-58.448, 47.552-106, 106-106c 22.375,0, 43.148,6.975, 60.273,18.856L 280.856,428.273C 268.975,411.148, 262,390.375, 262,368z M 368,474\n\tc-22.375,0-43.148-6.975-60.273-18.856l 147.417-147.417C 467.025,324.852, 474,345.625, 474,368C 474,426.448, 426.448,474, 368,474z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-cancel, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 368,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224z M 428.273,280.856\n\tL 368,341.13l-60.273-60.273C 324.852,268.975, 345.625,262, 368,262S 411.148,268.975, 428.273,280.856z M 262,368\n\tc0-22.375, 6.975-43.148, 18.856-60.273L 341.13,368l-60.273,60.273C 268.975,411.148, 262,390.375, 262,368z M 307.727,455.144L 368,394.87\n\tl 60.273,60.273C 411.148,467.025, 390.375,474, 368,474S 324.852,467.025, 307.727,455.144z M 455.144,428.273L 394.87,368l 60.273-60.273\n\tC 467.025,324.852, 474,345.625, 474,368S 467.025,411.148, 455.144,428.273z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-minus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 288,352L 448,352L 448,384L 288,384zM 368,262c 58.448,0, 106,47.552, 106,106s-47.552,106-106,106s-106-47.552-106-106S 309.552,262, 368,262 M 368,224\n\tc-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224L 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-plus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,288L 352,288L 352,352L 288,352L 288,384L 352,384L 352,448L 384,448L 384,384L 448,384L 448,352L 384,352 \tzM 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 368,262c 58.448,0, 106,47.552, 106,106s-47.552,106-106,106s-106-47.552-106-106S 309.552,262, 368,262 M 368,224\n\tc-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224L 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,512L 152,512 c-13.255,0-24-10.745-24-24c0-34.431, 14.534-76.102, 38.879-111.471c 20.346-29.559, 45.342-51.81, 72.339-64.805\n\t\tc-11.899-10.822-22.147-24.013-30.254-39.061c-13-24.131-19.873-52.024-19.873-80.664c0-39.803, 13.102-77.411, 36.893-105.895\n\t\tC 250.816,56.374, 284.205,40, 320,40s 69.184,16.374, 94.017,46.105c 23.79,28.484, 36.893,66.091, 36.893,105.895\n\t\tc0,28.64-6.872,56.533-19.872,80.664c-8.107,15.048-18.355,28.239-30.255,39.061c 26.997,12.995, 51.993,35.246, 72.339,64.805\n\t\tC 497.466,411.898, 512,453.569, 512,488C 512,501.255, 501.255,512, 488,512z M 179.037,464l 281.926,0 \n\t\tc-4.613-19.67-14.26-41.192-27.381-60.255c-20.727-30.113-46.588-49.811-72.819-55.463c-11.053-2.382-18.944-12.155-18.944-23.462\n\t\tl0-17.146 c0-8.63, 4.633-16.595, 12.135-20.861c 29.739-16.916, 48.956-54.133, 48.956-94.813c0-57.346-37.192-104-82.909-104\n\t\ts-82.909,46.654-82.909,104c0,40.68, 19.217,77.896, 48.957,94.813c 7.501,4.267, 12.134,12.231, 12.134,20.861l0,17.146 \n\t\tc0,11.307-7.892,21.080-18.944,23.462c-26.231,5.652-52.092,25.35-72.82,55.463C 193.296,422.808, 183.651,444.33, 179.037,464zM 98.557,432l-47.52,0 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\t\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\t\tc0-57.346, 37.192-104, 82.909-104c 3.127,0, 6.213,0.226, 9.251,0.651c 13.179-14.667, 28.117-26.587, 44.321-35.502\n\t\tC 228.975,12.533, 210.821,8, 192,8c-35.795,0-69.184,16.374-94.017,46.105C 74.193,82.589, 61.091,120.197, 61.091,160\n\t\tc0,28.64, 6.872,56.533, 19.873,80.664c 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805\n\t\tC 14.534,379.898,0,421.569,0,456c0,13.255, 10.745,24, 24,24l 66.193,0 C 90.931,464.487, 93.792,448.294, 98.557,432z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424,512L 88,512 c-13.255,0-24-10.745-24-24c0-34.431, 14.534-76.102, 38.879-111.471c 20.346-29.559, 45.342-51.81, 72.339-64.805\n\t\tc-11.899-10.822-22.147-24.013-30.254-39.061c-13-24.131-19.873-52.024-19.873-80.664c0-39.803, 13.102-77.411, 36.893-105.895\n\t\tC 186.816,56.374, 220.205,40, 256,40s 69.184,16.374, 94.017,46.105c 23.79,28.484, 36.893,66.091, 36.893,105.895\n\t\tc0,28.64-6.872,56.533-19.872,80.664c-8.107,15.048-18.355,28.239-30.255,39.061c 26.997,12.995, 51.993,35.246, 72.339,64.805\n\t\tC 433.466,411.898, 448,453.569, 448,488C 448,501.255, 437.255,512, 424,512z M 115.037,464l 281.926,0 \n\t\tc-4.613-19.67-14.26-41.192-27.381-60.255c-20.727-30.113-46.588-49.811-72.819-55.463c-11.053-2.382-18.944-12.155-18.944-23.462\n\t\tl0-17.146 c0-8.63, 4.633-16.595, 12.135-20.861c 29.739-16.916, 48.956-54.133, 48.956-94.813c0-57.346-37.192-104-82.909-104\n\t\tc-45.716,0-82.909,46.654-82.909,104c0,40.68, 19.217,77.896, 48.957,94.813c 7.501,4.267, 12.134,12.231, 12.134,20.861l0,17.146 \n\t\tc0,11.307-7.892,21.080-18.944,23.462c-26.231,5.652-52.092,25.35-72.82,55.463C 129.296,422.808, 119.651,444.33, 115.037,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 152.983,292c-0.493,2.762-1.188,5.575-2.164,8l 49.679,0 c-0.688-2.631-1.245-5.306-1.662-8L 152.983,292 zM 9.399,388c-1.724,2.638-3.245,5.306-4.529,8l 194.986,0 c 5.639-2.821, 11.325-5.508, 16.946-8L 9.399,388 zM 41.145,356c-3.452,2.599-6.777,5.269-9.945,8l 202.902,0 c-1.456-2.549-2.89-5.219-4.28-8L 41.145,356 zM 138.285,308c-6.406,1.61-14.68,4.332-24.004,8l 92.448,0 c-1.359-2.521-2.583-5.191-3.661-8L 138.285,308 zM 65.208,340c-4.316,2.558-8.585,5.228-12.75,8l 173.643,0 c-1.117-2.591-2.186-5.255-3.182-8L 65.208,340 zM 1.796,404c-0.776,2.649-1.306,5.317-1.575,8l 170.856,0 c 0.318-0.198, 0.628-0.396, 0.949-0.595\n\t\tc 4.079-2.511, 8.32-4.987, 12.661-7.405L 1.796,404 zM 15.32,380l 221.067,0 c 2.17-0.808, 4.317-1.587, 6.409-2.307c-1.259-1.793-2.542-3.699-3.829-5.693L 22.579,372 \n\t\tC 19.977,374.621, 17.554,377.292, 15.32,380zM 124.279,76l 135.453,0 c-2.175-2.818-4.63-5.498-7.394-8L 131.669,68 C 128.905,70.502, 126.454,73.183, 124.279,76zM 108.402,124l 154.566,0 c 3.915-1.792, 8-3.374, 12.259-4.734c-0.104-1.083-0.226-2.172-0.362-3.266L 109.134,116 \n\t\tC 108.798,118.704, 108.56,121.377, 108.402,124zM 79.513,332L 219.26,332 c-2.667-2.341-5.145-5.021-7.404-8L 95.662,324 C 90.377,326.455, 84.958,329.127, 79.513,332zM 133.849,252l 70.037,0 c 0.404-0.855, 0.826-1.697, 1.269-2.525c-0.159-1.705-0.313-3.543-0.453-5.475l-75.065,0 \n\t\tC 130.987,246.799, 132.404,249.47, 133.849,252zM 112.354,212c 2.376,2.069, 5.055,3.283, 7.928,3.283c 0.263,1.593, 0.581,3.161, 0.921,4.717l 83.138,0 \n\t\tc 0.127-2.611, 0.314-5.279, 0.581-8L 112.354,212 zM 108.801,148c 0.248,3.018, 0.528,5.713, 0.775,8l 114.753,0 c 1.916-2.729, 4.008-5.4, 6.284-8L 108.801,148 zM 108.141,132c-0.014,2.779, 0.048,5.453, 0.156,8l 130.18,0 c 3.217-2.898, 6.626-5.564, 10.224-8L 108.141,132 zM 112.378,100c-0.776,2.656-1.424,5.33-1.958,8l 163.155,0 c-0.534-2.67-1.182-5.344-1.958-8L 112.378,100 zM 119.006,84c-1.456,2.603-2.729,5.278-3.839,8l 153.67,0 c-1.109-2.722-2.381-5.397-3.836-8L 119.006,84 zM 198.009,276l-46.956,0 c 1.94,2.176, 3.142,3.359, 3.142,3.359s-0.018,1.878-0.225,4.641l 44.044,0 \n\t\tC 197.873,281.315, 197.868,278.64, 198.009,276zM 163.364,52c-7.931,1.915-14.756,4.643-20.622,8l 98.528,0 c-5.857-3.354-12.666-6.085-20.583-8L 163.364,52 zM 138.783,260c 1.968,2.971, 3.896,5.648, 5.69,8l 54.435,0 c 0.471-2.743, 1.096-5.417, 1.889-8L 138.783,260 zM 204.128,228l-80.822,0 c 0.846,2.745, 1.796,5.413, 2.82,8l 78.136,0 C 204.169,233.445, 204.117,230.776, 204.128,228zM 103.475,196c 0.755,2.85, 1.761,5.56, 2.979,8l 99.473,0 c 0.403-2.643, 0.885-5.312, 1.459-8L 103.475,196 zM 108.591,164c-2.11,2.245-3.676,4.977-4.76,8l 111.377,0 c 1.226-2.693, 2.57-5.365, 4.062-8L 108.591,164 zM 102.089,180c-0.256,2.622-0.25,5.319-0.014,8l 107.282,0 c 0.754-2.668, 1.621-5.338, 2.585-8L 102.089,180 zM 367.497,402.687c-9.476-1.494-9.692-27.327-9.692-27.327s 27.844-27.328, 33.912-64.076\n\tc 16.326,0, 26.407-39.069, 10.082-52.814c 0.681-14.47, 20.984-113.588-81.799-113.588c-102.782,0-82.479,99.118-81.799,113.588\n\tc-16.327,13.745-6.244,52.814, 10.081,52.814c 6.067,36.748, 33.913,64.076, 33.913,64.076s-0.216,25.833-9.692,27.327\n\tC 241.979,407.503, 128,457.345, 128,512l 192,0 l 192,0 C 512,457.345, 398.021,407.503, 367.497,402.687z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-block, profile, avatar, person, talk, member, ban\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 ZM 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 294,368\n\tc0-58.448, 47.552-106, 106-106c 22.375,0, 43.149,6.975, 60.274,18.856L 312.856,428.274C 300.975,411.149, 294,390.375, 294,368z M 400,474\n\tc-22.375,0-43.149-6.975-60.274-18.856l 147.418-147.418C 499.025,324.851, 506,345.625, 506,368C 506,426.448, 458.448,474, 400,474z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-cancel, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 480,314.869\n\t\tL 426.869,368L 480,421.131L 480,448 l-26.869,0 L 400,394.869L 346.869,448L 320,448 l0-26.869 L 373.131,368L 320,314.869L 320,288 l 26.869,0 L 400,341.131\n\t\tL 453.131,288L 480,288 L 480,314.869 zM 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-minus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,288L 512,288L 512,352L 320,352zM 384,422.743c-41.683-38.573-112.118-67.481-136.587-71.375c-11.056-1.759-11.308-32.157-11.308-32.157\n\ts 32.484-32.158, 39.564-75.401c 19.045,0, 30.809-45.973, 11.761-62.148C 288.227,164.635, 311.911,48, 192,48\n\tS 95.775,164.635, 96.568,181.662c-19.047,16.175-7.285,62.148, 11.761,62.148c 7.079,43.243, 39.564,75.401, 39.564,75.401\n\ts-0.252,30.398-11.307,32.157C 112.118,355.262, 41.682,384.17,0,422.743L0,480 l 192,0 l 192,0 L 384,422.743 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-minus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 ZM 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 480,384L 320,384 l0-32 l 160,0 \n\tL 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-plus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288L 448,224L 384,224L 384,288L 320,288L 320,352L 384,352L 384,416L 448,416L 448,352L 512,352L 512,288 zM 384,422.743c-41.683-38.573-112.118-67.481-136.587-71.375c-11.056-1.759-11.308-32.157-11.308-32.157\n\ts 32.484-32.158, 39.564-75.401c 19.045,0, 30.809-45.973, 11.761-62.148C 288.227,164.635, 311.911,48, 192,48\n\tS 95.775,164.635, 96.568,181.662c-19.047,16.175-7.285,62.148, 11.761,62.148c 7.079,43.243, 39.564,75.401, 39.564,75.401\n\ts-0.252,30.398-11.307,32.157C 112.118,355.262, 41.682,384.17,0,422.743L0,480 l 192,0 l 192,0 L 384,422.743 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-plus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 ZM 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 480,384l-64,0 l0,64 l-32,0 \n\tl0-64 l-64,0 l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 L 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 367.497,402.687c-9.476-1.494-9.692-27.327-9.692-27.327s 27.844-27.328, 33.912-64.076\n\tc 16.326,0, 26.407-39.069, 10.082-52.814c 0.681-14.47, 20.984-113.588-81.799-113.588c-102.782,0-82.479,99.118-81.799,113.588\n\tc-16.327,13.745-6.244,52.814, 10.081,52.814c 6.067,36.748, 33.913,64.076, 33.913,64.076s-0.216,25.833-9.692,27.327\n\tC 241.979,407.503, 128,457.345, 128,512l 192,0 l 192,0 C 512,457.345, 398.021,407.503, 367.497,402.687zM 172.027,411.405c 22.047-13.575, 48.813-26.154, 70.769-33.712c-7.876-11.216-16.647-26.468-22.165-44.531\n\tc-7.703-6.283-13.972-15.266-17.999-26.301c-4.033-11.052-5.561-23.426-4.304-34.842c 0.902-8.196, 3.239-15.833, 6.825-22.544\n\tc-2.175-23.293-3.707-69.017, 26.224-102.366c 11.607-12.933, 26.278-22.23, 43.85-27.843C 272.090,86.886, 255.647,48.881, 192,48.881\n\tc-102.782,0-82.479,99.118-81.799,113.588c-16.327,13.745-6.244,52.814, 10.081,52.814c 6.067,36.748, 33.913,64.076, 33.913,64.076\n\ts-0.216,25.833-9.692,27.327C 113.979,311.503,0,361.345,0,416l 164.798,0 C 167.153,414.463, 169.551,412.93, 172.027,411.405z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 311.413,351.368c-11.055-1.759-11.307-32.157-11.307-32.157s 32.484-32.158, 39.564-75.401\n\tc 19.045,0, 30.809-45.973, 11.761-62.148C 352.226,164.635, 375.911,48, 256,48c-119.911,0-96.225,116.635-95.432,133.662\n\tc-19.047,16.175-7.285,62.148, 11.761,62.148c 7.079,43.243, 39.564,75.401, 39.564,75.401s-0.252,30.398-11.307,32.157\n\tC 164.976,357.034, 32,415.685, 32,480l 224,0 l 224,0 C 480,415.685, 347.024,357.034, 311.413,351.368z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-forward, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 363.878,223.997L 255.875,320l0-96 C 167.578,224, 96,166.692, 96,96c0-10.113, 1.471-19.95, 4.24-29.387\n\tc 4.406,20.518, 13.669,39.375, 28.062,55.002c 30.944,33.601, 78.688,44.84, 127.573,34.937L 255.875,64 l 108.003,96.003\n\tc 19.997,17.776, 19.997,27.497, 19.997,31.997S 383.875,206.221, 363.878,223.997z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-reply, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,224l0,96 l-108.003-96.003C 96,206.221, 96,196.5, 96,192s0-14.221, 19.997-31.997L 224,64l0,92.552 \n\tc 48.885,9.903, 96.629-1.336, 127.573-34.937c 14.393-15.628, 23.655-34.485, 28.062-55.002c 2.77,9.436, 4.24,19.273, 4.24,29.386\n\tC 383.875,166.692, 312.297,224, 224,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-forward, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 363.878,223.997L 255.875,320l0-92.552 c-48.885-9.903-96.629,1.336-127.573,34.937\n\tc-14.393,15.627-23.655,34.484-28.062,55.002C 97.471,307.95, 96,298.113, 96,288c0-70.692, 71.578-128, 159.875-128L 255.875,64 l 108.003,96.003\n\tc 19.997,17.776, 19.997,27.497, 19.997,31.997S 383.875,206.221, 363.878,223.997z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-replu, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 379.635,317.387c-4.406-20.518-13.669-39.375-28.062-55.002c-30.944-33.601-78.688-44.84-127.573-34.937\n\tL 224,320 l-108.003-96.003C 96,206.221, 96,196.5, 96,192s0-14.221, 19.997-31.997L 224,64l0,96 c 88.297,0, 159.875,57.308, 159.875,128\n\tC 383.875,298.113, 382.404,307.95, 379.635,317.387z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-last, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 332.003,223.997L 224,320l0-96 L 96,224 l0-64 l 128,0 L 224,64 l 108.003,96.003C 352,177.779, 352,187.5, 352,192\n\tS 352,206.221, 332.003,223.997z M 416,320l-32,0 L 384,64 l 32,0 L 416,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-first, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 128,320L 96,320 L 96,64 l 32,0 L 128,320 z M 416,224L 288,224 l0,96 l-108.003-96.003C 160,206.221, 160,196.5, 160,192\n\ts0-14.221, 19.997-31.997L 288,64l0,96 l 128,0 L 416,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-down, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 287.997,300.003C 270.221,320, 260.5,320, 256,320s-14.221,0-31.997-19.997L 128,192l 96,0 L 224,96 l 64,0 l0,96 l 96,0 \n\tL 287.997,300.003z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-up, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 288,224l0,96 l-64,0 l0-96 l-96,0 l 96.003-108.003C 241.779,96, 251.5,96, 256,96s 14.221,0, 31.997,19.997L 384,224L 288,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-right, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 288,320l0-96 L 96,224 l0-64 l 192,0 L 288,64 l 108.003,96.003C 416,177.779, 416,187.5, 416,192s0,14.221-19.997,31.997L 288,320\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-left, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,64l0,96 l 192,0 l0,64 L 224,224 l0,96 l-108.003-96.003C 96,206.221, 96,196.5, 96,192s0-14.221, 19.997-31.997L 224,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-trash, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 342,320L 170,320 l-23.833-160l 219.667,0 L 342,320z M 384,128L 128,128 L 128,96 l 96,0 L 224,64 l 64,0 l0,32 l 96,0 L 384,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-notification, comment, chat, talk, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 288,320l-64,0 l0-64 l 64,0 L 288,320 z M 288,192l-64,0 L 224,64 l 64,0 L 288,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-minus, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 384,224L 128,224 l0-64 l 256,0 L 384,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-plus, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 384,224l-96,0 l0,96 l-64,0 l0-96 l-96,0 l0-64 l 96,0 L 224,64 l 64,0 l0,96 l 96,0 L 384,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-cancel, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 352,137.012L 297.012,192L 352,246.988L 352,288 l-41.012,0 L 256,233.012L 201.012,288L 160,288 l0-41.012 L 214.988,192\n\tL 160,137.012L 160,96 l 41.012,0 L 256,150.988L 310.988,96L 352,96 L 352,137.012 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-paperclip, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 448,160c0,35.2-28.8,64-64,64L 160,224 c-17.6,0-32-14.4-32-32l0-32 c0-17.6, 14.4-32, 32-32l 176,0 \n\tc 8.837,0, 16,7.164, 16,16s-7.163,16-16,16L 160.057,160 c-0.020,0.017-0.041,0.038-0.057,0.057l0,31.886 c 0.017,0.020, 0.038,0.041, 0.057,0.057\n\tL 384,192 c 8.477,0, 16.493-3.348, 22.572-9.428C 412.652,176.493, 416,168.477, 416,160l0-32 c0-8.477-3.348-16.493-9.428-22.573\n\tC 400.493,99.348, 392.477,96, 384,96L 128,96 c-8.477,0-16.493,3.348-22.573,9.427C 99.348,111.507, 96,119.523, 96,128l0,96 \n\tc0,8.477, 3.348,16.493, 9.427,22.572c 6.080,6.080, 14.096,9.428, 22.573,9.428l 208,0 c 8.837,0, 16,7.164, 16,16s-7.163,16-16,16L 128,288 \n\tc-35.2,0-64-28.8-64-64l0-96 c0-35.2, 28.8-64, 64-64l 256,0 c 35.2,0, 64,28.8, 64,64L 448,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-heart, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 256,288c0,0-128-61.125-128-132c0-0.985, 0.028-1.938, 0.077-2.868c 0.006-0.106, 0.008-0.213, 0.014-0.318\n\tc 0.040-0.672, 0.095-1.326, 0.16-1.969C 131.042,120.123, 158.508,96, 192,96c 35.346,0, 64,38.863, 64,72c0-33.137, 28.654-72, 64-72\n\tc 33.491,0, 60.957,24.122, 63.749,54.843c 0.064,0.645, 0.12,1.298, 0.159,1.971c 0.007,0.105, 0.009,0.212, 0.015,0.317\n\tc 0.048,0.931, 0.077,1.884, 0.077,2.869C 384,226.875, 256,288, 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-star, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 356,342l-100-82.098L 156,342l 36.372-117.326L 96,159.875l 120.676,0 L 256,34.848l 39.324,125.027L 416,159.875 \n\tl-96.372,64.799L 356,342z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-locked, comment, chat, talk, private\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,95.5 C 291.565,95.5 320.5,124.435 320.5,160 L 191.5,160 C 191.5,124.435 220.435,95.5 256,95.5 ZM 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\t\tC 512,21.6, 490.4,0, 464,0z M 384,304c0,8.8-7.2,16-16,16L 144,320 c-8.8,0-16-7.2-16-16L 128,176 c0-8.8, 7.2-16, 16-16l 15.5,0 \n\t\tc0-53.295, 43.205-96.5, 96.5-96.5c 53.296,0, 96.5,43.205, 96.5,96.5L 368,160 c 8.8,0, 16,7.2, 16,16L 384,304 zM 224,256A32,32 2520 1 1 288,256A32,32 2520 1 1 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-link, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,288l-96,0 c-35.2,0-64-28.8-64-64l0-32 c0-35.2, 28.8-64, 64-64l 96,0 l0,32 l-96,0 \n\tc-8.477,0-16.493,3.348-22.573,9.427C 99.348,175.507, 96,183.523, 96,192l0,32 c0,8.477, 3.348,16.493, 9.427,22.573\n\tC 111.507,252.652, 119.523,256, 128,256l 96,0 L 224,288 z M 192,224l0-32 l 128,0 l0,32 L 192,224 z M 448,224c0,35.2-28.8,64-64,64l-96,0 l0-32 l 96,0 \n\tc 8.477,0, 16.493-3.348, 22.572-9.427c 6.080-6.080, 9.428-14.096, 9.428-22.573l0-32 c0-8.477-3.348-16.493-9.428-22.573\n\tC 400.493,163.348, 392.477,160, 384,160l-96,0 l0-32 l 96,0 c 35.2,0, 64,28.8, 64,64L 448,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-video-chat, comment, chat, talk, video chat\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 416,256c0,17.6-11.52,23.36-25.6,12.8L 320,192l0,64 c0,17.6-14.4,32-32,32L 128,288 c-17.6,0-32-14.4-32-32L 96,128 \n\tc0-17.6, 14.4-32, 32-32l 160,0 c 17.6,0, 32,14.4, 32,32l0,64 l 70.4-76.8c 14.080-10.56, 25.6-4.8, 25.6,12.8L 416,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-check, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,301.255L 121.373,182.628l 29.254-29.255L 224,210.745L 361.372,89.373l 29.256,29.254L 224,301.255z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-user, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 256,64.165c 35.255,0, 63.835,28.58, 63.835,63.835s-28.58,63.835-63.835,63.835\n\ts-63.835-28.58-63.835-63.835S 220.745,64.165, 256,64.165z M 352,320L 160,320 l0-32 c0-35.348, 28.654-64, 64-64l0,0l 64,0 \n\tc 35.348,0, 64,28.652, 64,64L 352,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-quote, comment, chat, talk, quote\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,135.385c-29.821,6.85-55.189,28.007-70.488,56.941C 155.646,192.111, 157.81,192, 160,192\n\tc 35.346,0, 64,28.654, 64,64c0,35.346-28.654,64-64,64s-64-28.654-64-64c0-43.612, 15.198-84.729, 42.795-115.775\n\tC 162.042,114.073, 191.74,97.612, 224,92.621L 224,135.385 z M 416,135.385c-29.82,6.85-55.189,28.007-70.488,56.941\n\tC 347.646,192.111, 349.81,192, 352,192c 35.346,0, 64,28.654, 64,64c0,35.346-28.654,64-64,64s-64-28.654-64-64\n\tc0-43.612, 15.198-84.729, 42.795-115.775C 354.041,114.073, 383.74,97.612, 416,92.621L 416,135.385 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-blocked, blocked, denied, forbidden\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,102 C 273.952,102 290.692,107.287 304.75,116.38 L 180.38,240.75 C 171.287,226.692 166,209.953 166,192 C 166,142.374 206.374,102 256,102 ZM 207.25,267.619 L 331.619,143.25 C 340.714,157.308 346,174.047 346,192 C 346,241.626 305.626,282 256,282 C 238.047,282 221.308,276.714 207.25,267.619 ZM 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\t\tC 512,21.6, 490.4,0, 464,0z M 256,320c-70.692,0-128-57.308-128-128S 185.308,64, 256,64s 128,57.308, 128,128S 326.692,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 400,0 C 426.4,0 448,21.6 448,48 L 448,208 C 448,234.4 426.4,256 400,256 L 217.6,256 L 64,384 L 64,256 L 48,256 C 21.6,256 0,234.4 0,208 L 0,48 C 0,21.6 21.6,0 48,0 L 400,0 ZM 528,96 C 554.4,96 576,117.6 576,144 L 576,336 C 576,362.4 554.4,384 528,384 L 448,384 L 448,512 L 294.4,384 L 192,384 L 192,320 L 317.57,320 L 416,407.357 L 416,320 L 512,320 L 512,160 L 480,160 L 480,96 L 528,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 400,0L 48,0 C 21.6,0,0,21.6,0,48l0,160 c0,26.4, 21.6,48, 48,48l 16,0 l0,128 l 153.6-128L 400,256 c 26.4,0, 48-21.6, 48-48L 448,48 \n\tC 448,21.6, 426.4,0, 400,0z M 384,192L 194.428,192 L 96,279.357L 96,192 L 64,192 L 64,64 l 320,0 L 384,192 zM 528,96 C 554.4,96 576,117.6 576,144 L 576,336 C 576,362.4 554.4,384 528,384 L 448,384 L 448,512 L 294.4,384 L 192,384 L 192,320 L 317.57,320 L 416,407.357 L 416,320 L 512,320 L 512,160 L 480,160 L 480,96 L 528,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,128L 416,128L 416,160L 96,160zM 96,192L 352,192L 352,224L 96,224zM 96,256L 224,256L 224,288L 96,288zM 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 448,320L 258.429,320 L 160,407.357L 160,320 L 64,320 L 64,96 l 384,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,192L 192,192L 192,256L 128,256zM 224,192L 288,192L 288,256L 224,256zM 320,192L 384,192L 384,256L 320,256zM 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\t\tC 512,53.6, 490.4,32, 464,32z M 448,320L 258.429,320 L 160,407.357L 160,320 L 64,320 L 64,96 l 384,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 448,320L 258.429,320 L 160,407.357L 160,320 L 64,320 L 64,96 l 384,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 224,288L 96,288 l0-32 l 128,0 L 224,288 z M 352,224L 96,224 l0-32 l 256,0 L 352,224 z M 416,160L 96,160 l0-32 l 320,0 L 416,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 192,256l-64,0 l0-64 l 64,0 L 192,256 z M 288,256l-64,0 l0-64 l 64,0 L 288,256 z M 384,256l-64,0 l0-64 l 64,0 L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32 C 490.4,32 512,53.6 512,80 L 512,336 C 512,362.4 490.4,384 464,384 L 281.6,384 L 128,512 L 128,384 L 48,384 C 21.6,384 0,362.4 0,336 L 0,80 C 0,53.6 21.6,32 48,32 L 464,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,96L 144,96 c-26.4,0-48,21.6-48,48l0,224 c0,26.4, 21.6,48, 48,48l 77.714,0 L 304,512l 82.286-96L 464,416 c 26.4,0, 48-21.6, 48-48L 512,144 \n\tC 512,117.6, 490.401,96, 464,96z M 448,352l-75.149,0 L 304,429.658L 235.15,352L 160,352 L 160,160 l 288,0 L 448,352 zM 64,64 L 64,320 L 48,320 C 21.6,320 0,298.4 0,272 L 0,48 C 0,21.6 21.6,0 48,0 L 368,0 C 394.401,0 416,21.6 416,48 L 416,64 L 64,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,320 c0,26.4, 21.6,48, 48,48l 109.714,0 L 240,512l 82.286-96L 464,416 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.401,0, 464,0z M 448,352L 308.851,352 L 240,429.658L 171.15,352L 64,352 L 64,64 l 384,0 L 448,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,96 C 490.401,96 512,117.6 512,144 L 512,368 C 512,394.4 490.4,416 464,416 L 386.286,416 L 304,512 L 221.714,416 L 144,416 C 117.6,416 96,394.4 96,368 L 96,144 C 96,117.6 117.6,96 144,96 L 464,96 ZM 64,64 L 64,320 L 48,320 C 21.6,320 0,298.4 0,272 L 0,48 C 0,21.6 21.6,0 48,0 L 368,0 C 394.401,0 416,21.6 416,48 L 416,64 L 64,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0 C 490.401,0 512,21.6 512,48 L 512,368 C 512,394.4 490.4,416 464,416 L 322.286,416 L 240,512 L 157.714,416 L 48,416 C 21.6,416 0,394.4 0,368 L 0,48 C 0,21.6 21.6,0 48,0 L 464,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,126l0,6 L 64,132 \n\tl0-6 c0-0.672, 0.032-1.337, 0.078-2l 383.844,0 C 447.968,124.663, 448,125.328, 448,126z M 447.922,292L 64,292 l0-8 l 384,0 l0,6 \n\tC 448,290.672, 447.968,291.338, 447.922,292z M 64,320l0-4 l 368.708,0 c-4.376,2.532-9.406,4-14.708,4L 64,320 z M 64,308l0-8 l 382.212,0 \n\tc-1.059,2.887-2.556,5.581-4.406,8L 64,308 z M 64,276l0-8 l 384,0 l0,8 L 64,276 z M 64,260l0-8 l 384,0 l0,8 L 64,260 z M 64,244l0-8 l 384,0 l0,8 L 64,244 z M 64,228l0-8 l 384,0 l0,8 L 64,228 z\n\t M 64,212l0-8 l 384,0 l0,8 L 64,212 z M 64,196l0-8 l 384,0 l0,8 L 64,196 z M 64,180l0-8 l 384,0 l0,8 L 64,180 z M 64,164l0-8 l 384,0 l0,8 L 64,164 z M 64,148l0-8 l 384,0 l0,8 L 64,148 z M 418,96\n\tc 5.302,0, 10.332,1.468, 14.709,4L 79.291,100 c 4.377-2.532, 9.407-4, 14.709-4L 418,96 z M 441.806,108c 1.852,2.419, 3.348,5.113, 4.406,8L 65.788,116 \n\tc 1.058-2.887, 2.555-5.581, 4.406-8L 441.806,108 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,290\n\tc0,16.262-13.738,30-30,30L 64,320 L 64,126 c0-16.262, 13.738-30, 30-30l 324,0 c 16.262,0, 30,13.738, 30,30L 448,290 zM 128,160L 384,160L 384,192L 128,192zM 128,224L 320,224L 320,256L 128,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,290\n\tc0,16.262-13.738,30-30,30L 64,320 L 64,126 c0-16.262, 13.738-30, 30-30l 324,0 c 16.262,0, 30,13.738, 30,30L 448,290 zM 128,224A32,32 2520 1 1 192,224A32,32 2520 1 1 128,224zM 224,224A32,32 2520 1 1 288,224A32,32 2520 1 1 224,224zM 320,224A32,32 2520 1 1 384,224A32,32 2520 1 1 320,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,290\n\tc0,16.262-13.738,30-30,30L 64,320 L 64,126 c0-16.262, 13.738-30, 30-30l 324,0 c 16.262,0, 30,13.738, 30,30L 448,290 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 320,256L 128,256 \n\tl0-32 l 192,0 L 320,256 z M 384,192L 128,192 l0-32 l 256,0 L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 160,256\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 177.673,256, 160,256z M 256,256c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 273.673,256, 256,256z M 352,256c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32\n\tS 369.673,256, 352,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32 C 469.7,32 512,74.3 512,126 L 512,290 C 512,341.7 469.7,384 418,384 L 96,384 L 0,480 L 0,126 C 0,74.3 42.3,32 94,32 L 418,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 512,96 C 547.2,96 576,124.8 576,160 L 576,512 L 480,416 L 192,416 C 156.8,416 128,387.2 128,352 L 128,320 L 192,320 L 192,351.886 C 192.033,351.925 192.074,351.967 192.114,352 L 512,352 L 512,160.115 C 511.967,160.075 511.925,160.033 511.886,160 L 480,160 L 480,96 L 512,96 ZM 384,0L 64,0 C 28.8,0,0,28.8,0,64l0,320 l 96-96l 288,0 c 35.2,0, 64-28.8, 64-64L 448,64 C 448,28.8, 419.2,0, 384,0z M 384,223.886\n\tc-0.033,0.040-0.075,0.081-0.114,0.114L 64,224 L 64,64.114 c 0.033-0.040, 0.075-0.081, 0.115-0.114l 319.771,0 c 0.039,0.033, 0.081,0.075, 0.114,0.115\n\tL 384,223.886 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 384,0 C 419.2,0 448,28.8 448,64 L 448,224 C 448,259.2 419.2,288 384,288 L 96,288 L 0,384 L 0,64 C 0,28.8 28.8,0 64,0 L 384,0 ZM 512,96 C 547.2,96 576,124.8 576,160 L 576,512 L 480,416 L 192,416 C 156.8,416 128,387.2 128,352 L 128,320 L 192,320 L 192,351.886 C 192.033,351.925 192.074,351.967 192.114,352 L 512,352 L 512,160.115 C 511.967,160.075 511.925,160.033 511.886,160 L 480,160 L 480,96 L 512,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-notification, comment, chat, talk, notification, warning\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,93.125,0,208c0,65.275, 37.020,123.52, 94.918,161.652C 95.621,374.335, 96,379.123, 96,384\n\tc0,34.948-29.732,65.529-64,82.318l0,13.458 c 63.463-1.448, 129.099-11.31, 184.088-66.299C 229.095,415.133, 242.422,416, 256,416\n\tc 141.385,0, 256-93.124, 256-208C 512,93.125, 397.385,0, 256,0z M 288,320l-64,0 l0-64 l 64,0 L 288,320 z M 288,192l-64,0 L 224,64 l 64,0 L 288,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 240,64 C 214.667,64 190.209,67.975 167.307,75.814 C 145.845,83.161 126.75,93.532 110.556,106.637 C 80.534,130.932 64,162.038 64,194.224 C 64,212.219 69.033,229.698 78.96,246.173 C 89.303,263.343 104.909,279.070 124.090,291.652 C 139.31,301.636 149.558,317.628 152.271,335.627 C 152.722,338.622 153.086,341.63 153.361,344.643 C 154.722,343.383 156.073,342.086 157.418,340.746 C 169.487,328.726 185.762,322.090 202.579,322.090 C 205.253,322.090 207.938,322.258 210.626,322.599 C 220.306,323.825 230.188,324.447 240,324.447 C 265.333,324.447 289.79,320.473 312.692,312.633 C 334.155,305.287 353.25,294.916 369.444,281.811 C 399.467,257.516 416,226.41 416,194.224 C 416,162.038 399.467,130.933 369.444,106.637 C 353.25,93.531 334.155,83.161 312.692,75.814 C 289.79,67.975 265.333,64 240,64 Z M 240,0 L 240,0 C 372.548,0 480,86.957 480,194.224 C 480,301.491 372.548,388.448 240,388.448 C 227.271,388.448 214.777,387.638 202.583,386.093 C 151.030,437.44 91.497,446.647 32,448 L 32,435.433 C 64.126,419.756 90,391.2 90,358.566 C 90,354.013 89.644,349.542 88.985,345.169 C 34.706,309.562 0,255.175 0,194.224 C 0,86.957 107.452,0 240,0 ZM 498,435.343 C 498,463.314 516.157,487.792 544,501.229 L 544,512 C 492.437,510.841 445.107,502.949 400.429,458.937 C 389.859,460.262 379.032,460.957 368,460.957 C 320.265,460.957 276.296,448.078 241.193,426.437 C 313.53,426.184 381.823,403.010 433.61,361.101 C 459.714,339.975 480.307,315.188 494.817,287.427 C 510.2,257.994 518,226.636 518,194.224 C 518,189 517.775,183.806 517.371,178.64 C 553.656,208.607 576,249.451 576,294.478 C 576,346.722 545.921,393.339 498.88,423.86 C 498.309,427.608 498,431.44 498,435.343 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 544,450.583 C 544,473.333 557.014,493.037 576,502.675 L 576,510.644 C 570.687,511.371 565.264,511.756 559.75,511.756 C 525.746,511.756 495.076,497.492 473.389,474.624 C 460.278,478.115 446.388,480 432,480 C 352.471,480 288,422.692 288,352 C 288,281.308 352.471,224 432,224 C 511.529,224 576,281.308 576,352 C 576,379.674 566.118,405.296 549.322,426.233 C 545.91,433.645 544,441.889 544,450.583 ZM 115.339,110.593 C 82.232,137.492 64,172.085 64,208 C 64,228.149 69.594,247.689 80.626,266.075 C 92.002,285.035 109.117,302.368 130.12,316.201 C 145.298,326.197 155.51,342.175 158.208,360.148 C 159.108,366.14 159.672,372.192 159.893,378.21 C 163.628,375.113 167.268,371.787 170.833,368.222 C 182.91,356.146 199.223,349.477 216.084,349.477 C 218.768,349.477 221.465,349.645 224.162,349.989 C 234.636,351.32 245.334,351.997 255.959,351.999 L 255.959,415.999 C 242.395,415.998 229.082,415.13 216.088,413.478 C 161.099,468.467 95.463,478.328 32,479.776 L 32,466.318 C 66.268,449.529 96,418.948 96,384 C 96,379.123 95.621,374.335 94.918,369.652 C 37.020,331.52 0,273.275 0,208 C 0,93.125 114.615,0 256,0 C 395.229,0 508.496,90.307 511.918,202.76 C 491.37,193.602 468.998,188.049 445.787,186.471 C 440.022,158.437 423.086,132.063 396.661,110.593 C 379,96.244 358.203,84.898 334.847,76.871 C 309.994,68.331 283.467,64 256,64 C 228.534,64 202.006,68.331 177.153,76.871 C 153.797,84.898 133,96.243 115.339,110.593 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,96 C 228.534,96 202.006,100.331 177.153,108.871 C 153.797,116.898 133,128.243 115.339,142.593 C 82.232,169.492 64,204.085 64,240 C 64,260.149 69.594,279.689 80.626,298.076 C 92.002,317.036 109.117,334.369 130.12,348.202 C 145.298,358.198 155.51,374.176 158.208,392.149 C 159.108,398.141 159.672,404.193 159.893,410.211 C 163.628,407.114 167.268,403.788 170.833,400.223 C 182.91,388.147 199.223,381.478 216.084,381.478 C 218.768,381.478 221.465,381.646 224.162,381.99 C 234.649,383.323 245.361,384 256,384 C 283.467,384 309.994,379.67 334.847,371.129 C 358.203,363.102 379,351.757 396.661,337.407 C 429.768,310.509 448,275.915 448,240 C 448,204.085 429.768,169.492 396.661,142.593 C 379,128.244 358.203,116.898 334.847,108.871 C 309.994,100.331 283.467,96 256,96 Z M 256,32 L 256,32 C 397.385,32 512,125.125 512,240 C 512,354.876 397.385,448 256,448 C 242.422,448 229.095,447.133 216.088,445.478 C 161.099,500.467 95.463,510.328 32,511.776 L 32,498.318 C 66.268,481.529 96,450.948 96,416 C 96,411.123 95.621,406.335 94.918,401.652 C 37.020,363.52 0,305.275 0,240 C 0,125.125 114.615,32 256,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 240,0 L 240,0 C 372.548,0 480,86.957 480,194.224 C 480,301.491 372.548,388.448 240,388.448 C 227.271,388.448 214.777,387.638 202.583,386.093 C 151.030,437.44 91.497,446.647 32,448 L 32,435.433 C 64.126,419.756 90,391.2 90,358.566 C 90,354.013 89.644,349.542 88.985,345.169 C 34.706,309.562 0,255.175 0,194.224 C 0,86.957 107.452,0 240,0 ZM 498,435.343 C 498,463.314 516.157,487.792 544,501.229 L 544,512 C 492.437,510.841 445.107,502.949 400.429,458.937 C 389.859,460.262 379.032,460.957 368,460.957 C 320.265,460.957 276.296,448.078 241.193,426.437 C 313.53,426.184 381.823,403.010 433.61,361.101 C 459.714,339.975 480.307,315.188 494.817,287.427 C 510.2,257.994 518,226.636 518,194.224 C 518,189 517.775,183.806 517.371,178.64 C 553.656,208.607 576,249.451 576,294.478 C 576,346.722 545.921,393.339 498.88,423.86 C 498.309,427.608 498,431.44 498,435.343 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 544,450.583 C 544,473.333 557.014,493.037 576,502.675 L 576,510.644 C 570.687,511.371 565.264,511.756 559.75,511.756 C 525.746,511.756 495.076,497.492 473.389,474.624 C 460.278,478.115 446.388,480 432,480 C 352.471,480 288,422.692 288,352 C 288,281.308 352.471,224 432,224 C 511.529,224 576,281.308 576,352 C 576,379.674 566.118,405.296 549.322,426.233 C 545.91,433.645 544,441.889 544,450.583 ZM 256,0 C 395.229,0 508.496,90.307 511.918,202.76 C 487.327,191.8 460.125,186 432,186 C 384.22,186 339.092,202.723 304.931,233.089 C 269.508,264.575 250,306.806 250,352 C 250,374.336 254.772,395.944 263.868,415.894 C 261.254,415.957 258.634,416 256,416 C 242.422,416 229.095,415.133 216.088,413.478 C 161.099,468.467 95.463,478.328 32,479.776 L 32,466.318 C 66.268,449.529 96,418.948 96,384 C 96,379.123 95.621,374.335 94.918,369.652 C 37.020,331.52 0,273.275 0,208 C 0,93.125 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32 C 397.385,32 512,125.125 512,240 C 512,354.876 397.385,448 256,448 C 242.422,448 229.095,447.133 216.088,445.478 C 161.099,500.467 95.463,510.328 32,511.776 L 32,498.318 C 66.268,481.529 96,450.948 96,416 C 96,411.123 95.621,406.335 94.918,401.652 C 37.020,363.52 0,305.275 0,240 C 0,125.125 114.615,32 256,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reply, replyall\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.406,0C 486.27,103.016, 511.375,260.152, 288,254.912L 288,128 L 96,320l 192,192L 288,387.814 C 512,387.814, 569.762,151.707, 429.406,0\n\t\tzM 192,173.255L 192,128L0,320L 192,512L 192,466.745L 45.255,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reply, arrow, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,387.814L 224,512 L 32,320l 192-192l0,126.912 C 447.375,260.152, 437.794,103.016, 380.931,0\n\tC 521.286,151.707, 491.481,394.785, 224,387.814z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forward, arrow, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 131.070,0C 74.206,103.016, 64.625,260.152, 288,254.912L 288,128 l 192,192L 288,512L 288,387.814 C 20.52,394.785-9.286,151.707, 131.070,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"redo, arrow, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,124.186L 288,0 l 192,192L 288,384L 288,257.088 C 64.625,251.847, 74.206,408.984, 131.070,512\n\tC-9.286,360.293, 20.52,117.215, 288,124.186z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"undo, arrow, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 380.931,512C 437.794,408.984, 447.375,251.847, 224,257.088L 224,384 L 32,192L 224,0l0,124.186 \n\tC 491.481,117.215, 521.285,360.293, 380.931,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,64 L 192,352 L 128,352 L 128,64 L 192,64 Z M 224,32 L 224,32 L 96,32 L 96,384 L 224,384 L 224,32 ZM 512,480L 512,416L 0,416L 0,480zM 416,384L 416,160L 288,160L 288,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-center-vertical\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,448L 224,288 l 64,0 l 0,96 L 416,384 l0-96 L 512,288 l0-64 l-96,0 l0-96 l-128,0 l 0,96 l-64,0 L 224,64 l-128,0 l 0,160 l-96,0 l 0,64 l 96,0 l 0,160 L 224,448 z M 128,416L 128,96 l 64,0 l 0,320 L 128,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,448 L 192,160 L 128,160 L 128,448 L 192,448 Z M 224,480 L 224,480 L 96,480 L 96,128 L 224,128 L 224,480 ZM 512,32L 512,96L 0,96L 0,32zM 416,128L 416,352L 288,352L 288,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,320 L 352,320 L 352,384 L 64,384 L 64,320 Z M 32,288 L 32,288 L 32,416 L 384,416 L 384,288 L 32,288 ZM 480,0L 416,0L 416,512L 480,512zM 384,96L 160,96L 160,224L 384,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-center-horizontal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288L 288,288 l0-64 l 96,0 L 384,96 l-96,0 L 288,0 l-64,0 l0,96 l-96,0 l0,128 l 96,0 l0,64 L 64,288 l0,128 l 160,0 l0,96 l 64,0 l0-96 l 160,0 L 448,288 z M 416,384L 96,384 l0-64 l 320,0 L 416,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,320 L 160,320 L 160,384 L 448,384 L 448,320 Z M 480,288 L 480,288 L 480,416 L 128,416 L 128,288 L 480,288 ZM 32,0L 96,0L 96,512L 32,512zM 128,96L 352,96L 352,224L 128,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exclude, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,128L 352,0 L0,0 l0,352 l 128,0 l0,160 l 384,0 L 512,128 L 352,128 z M 448,196l-96,0 l0-4 l 96,0 L 448,196 z M 192,448l0-4 l 256,0 l0,4 L 192,448 z M 192,436l0-8 l 256,0 l0,8 L 192,436 z M 192,420l0-8 \n\tl 256,0 l0,8 L 192,420 z M 192,404l0-8 l 256,0 l0,8 L 192,404 z M 192,388l0-8 l 256,0 l0,8 L 192,388 z M 192,372l0-8 l 256,0 l0,8 L 192,372 z M 192,356l0-4 l 160,0 l0-4 l 96,0 l0,8 L 192,356 z M 352,340l0-8 l 96,0 l0,8 \n\tL 352,340 z M 352,324l0-8 l 96,0 l0,8 L 352,324 z M 352,308l0-8 l 96,0 l0,8 L 352,308 z M 352,292l0-8 l 96,0 l0,8 L 352,292 z M 352,276l0-8 l 96,0 l0,8 L 352,276 z M 352,260l0-8 l 96,0 l0,8 L 352,260 z M 352,244l0-8 \n\tl 96,0 l0,8 L 352,244 z M 352,228l0-8 l 96,0 l0,8 L 352,228 z M 352,212l0-8 l 96,0 l0,8 L 352,212 z M 288,128L 128,128 l0,4 L 64,132 l0-8 l 224,0 L 288,128 z M 64,288l0-4 l 64,0 l0,4 L 64,288 z M 64,276l0-8 l 64,0 l0,8 L 64,276 z\n\t M 64,260l0-8 l 64,0 l0,8 L 64,260 z M 64,244l0-8 l 64,0 l0,8 L 64,244 z M 64,228l0-8 l 64,0 l0,8 L 64,228 z M 64,212l0-8 l 64,0 l0,8 L 64,212 z M 64,196l0-8 l 64,0 l0,8 L 64,196 z M 64,180l0-8 l 64,0 l0,8 L 64,180 z\n\t M 64,164l0-8 l 64,0 l0,8 L 64,164 z M 64,148l0-8 l 64,0 l0,8 L 64,148 z M 288,116L 64,116 l0-8 l 224,0 L 288,116 z M 288,100L 64,100 l0-8 l 224,0 L 288,100 z M 288,84L 64,84 l0-8 l 224,0 L 288,84 z M 288,68L 64,68 l0-4 \n\tl 224,0 L 288,68 z M 160,160l 160,0 l0,160 L 160,320 L 160,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"interset, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,128L 352,0 L0,0 l0,352 l 128,0 l0,160 l 384,0 L 512,128 L 352,128 z M 320,196L 192,196 l0-4 l 128,0 L 320,196 z M 320,320L 192,320 l0-4 l 128,0 L 320,320 z M 320,308L 192,308 l0-8 l 128,0 L 320,308 z\n\t M 320,292L 192,292 l0-8 l 128,0 L 320,292 z M 320,276L 192,276 l0-8 l 128,0 L 320,276 z M 320,260L 192,260 l0-8 l 128,0 L 320,260 z M 320,244L 192,244 l0-8 l 128,0 L 320,244 z M 320,228L 192,228 l0-8 l 128,0 L 320,228 z\n\t M 320,212L 192,212 l0-8 l 128,0 L 320,212 z M 128,320L 32,320 L 32,32 l 288,0 l0,96 L 128,128 L 128,320 z M 480,480L 160,480 l0-96 l 224,0 L 384,160 l 96,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"subtract, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,160L 352,0 L0,0 l0,352 l 160,0 l0,160 l 352,0 L 512,160 L 352,160 z M 288,128L 128,128 l0,4 L 64,132 l0-8 l 224,0 L 288,128 z M 64,288l0-4 l 64,0 l0,4 L 64,288 z M 64,276l0-8 l 64,0 l0,8 L 64,276 z M 64,260l0-8 \n\tl 64,0 l0,8 L 64,260 z M 64,244l0-8 l 64,0 l0,8 L 64,244 z M 64,228l0-8 l 64,0 l0,8 L 64,228 z M 64,212l0-8 l 64,0 l0,8 L 64,212 z M 64,196l0-8 l 64,0 l0,8 L 64,196 z M 64,180l0-8 l 64,0 l0,8 L 64,180 z M 64,164l0-8 l 64,0 l0,8 \n\tL 64,164 z M 64,148l0-8 l 64,0 l0,8 L 64,148 z M 288,116L 64,116 l0-8 l 224,0 L 288,116 z M 288,100L 64,100 l0-8 l 224,0 L 288,100 z M 288,84L 64,84 l0-8 l 224,0 L 288,84 z M 288,68L 64,68 l0-4 l 224,0 L 288,68 z M 480,480\n\tL 192,480 L 192,192 l 288,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"unite, add, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,128L 352,0 L0,0 l0,352 l 128,0 l0,160 l 384,0 L 512,128 L 352,128 z M 320,164L 160,164 l0-4 l 160,0 L 320,164 z M 448,196l-96,0 l0-4 l 96,0 L 448,196 z M 160,316l 160,0 l0,4 L 160,320 L 160,316 z M 64,284\n\tl 64,0 l0,4 L 64,288 L 64,284 z M 128,188l0,8 L 64,196 l0-8 L 128,188 z M 64,180l0-8 l 64,0 l0,8 L 64,180 z M 128,204l0,8 L 64,212 l0-8 L 128,204 z M 160,260l0-8 l 160,0 l0,8 L 160,260 z M 320,268l0,8 L 160,276 l0-8 L 320,268 z\n\t M 160,244l0-8 l 160,0 l0,8 L 160,244 z M 160,228l0-8 l 160,0 l0,8 L 160,228 z M 160,212l0-8 l 160,0 l0,8 L 160,212 z M 128,220l0,8 L 64,228 l0-8 L 128,220 z M 128,236l0,8 L 64,244 l0-8 L 128,236 z M 128,252l0,8 L 64,260 \n\tl0-8 L 128,252 z M 128,268l0,8 L 64,276 l0-8 L 128,268 z M 160,284l 160,0 l0,8 L 160,292 L 160,284 z M 320,300l0,8 L 160,308 l0-8 L 320,300 z M 192,448l0-4 l 256,0 l0,4 L 192,448 z M 192,436l0-8 l 256,0 l0,8 L 192,436 z\n\t M 192,420l0-8 l 256,0 l0,8 L 192,420 z M 192,404l0-8 l 256,0 l0,8 L 192,404 z M 192,388l0-8 l 256,0 l0,8 L 192,388 z M 192,372l0-8 l 256,0 l0,8 L 192,372 z M 192,356l0-4 l 160,0 l0-4 l 96,0 l0,8 L 192,356 z\n\t M 352,340l0-8 l 96,0 l0,8 L 352,340 z M 352,324l0-8 l 96,0 l0,8 L 352,324 z M 352,308l0-8 l 96,0 l0,8 L 352,308 z M 352,292l0-8 l 96,0 l0,8 L 352,292 z M 352,276l0-8 l 96,0 l0,8 L 352,276 z M 352,260l0-8 l 96,0 l0,8 \n\tL 352,260 z M 352,244l0-8 l 96,0 l0,8 L 352,244 z M 352,228l0-8 l 96,0 l0,8 L 352,228 z M 352,212l0-8 l 96,0 l0,8 L 352,212 z M 320,196L 160,196 l0-8 l 160,0 L 320,196 z M 160,180l0-8 l 160,0 l0,8 L 160,180 z\n\t M 128,164L 64,164 l0-8 l 64,0 L 128,164 z M 288,64l0,4 L 64,68 l0-4 L 288,64 z M 288,76l0,8 L 64,84 l0-8 L 288,76 z M 288,92l0,8 L 64,100 l0-8 L 288,92 z M 288,108l0,8 L 64,116 l0-8 L 288,108 z M 288,124l0,4 L 128,128 l0,4 \n\tL 64,132 l0-8 L 288,124 z M 128,140l0,8 L 64,148 l0-8 L 128,140 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flip, mirror, horizontal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,0L 288,512L 480,512 \t\tzM0,512L 192,512L 192,0 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flip, mirror, vertical\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192L 512,192L 512,0 \t\tzM 512,480L 512,288L0,288 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rotate, arrow, cw, redo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288c0-123.711-100.288-224-224-224S0,164.289,0,288c0,86.687, 49.246,161.865, 121.283,199.104\n\tC 67.973,454.109, 32,391.641, 32,320c0-106.039, 78.798-192, 176-192c 87.206,0, 159.577,69.196, 173.543,160L 320,288 l 96,112l 96-112L 448,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rotate, arrow, ccw, undo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,288C 64,164.289, 164.288,64, 288,64s 224,100.289, 224,224c0,86.687-49.246,161.865-121.283,199.104\n\tC 444.027,454.109, 480,391.641, 480,320c0-106.039-78.798-192-176-192c-87.206,0-159.577,69.196-173.543,160L 192,288 L 96,400L0,288L 64,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"redo, arrow, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,288c0,76.462, 33.524,145.092, 86.675,192l 42.333-48C 89.145,396.818, 64,345.348, 64,288c0-106.038, 85.965-192, 192-192\n\tc 53.021,0, 101.019,21.493, 135.765,56.239L 320,224l 192,0 L 512,32 l-74.985,74.989C 390.688,60.66, 326.693,32, 256,32\n\tC 114.615,32,0,146.615,0,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"undo, arrow, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32c-70.692,0-134.688,28.66-181.016,74.989L0,32l0,192 l 192,0 l-71.766-71.761C 154.982,117.493, 202.98,96, 256,96\n\tc 106.034,0, 192,85.962, 192,192c0,57.348-25.146,108.818-65.009,144l 42.333,48C 478.475,433.092, 512,364.462, 512,288\n\tC 512,146.615, 397.385,32, 256,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"database, server, host, storage, save, datecenter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,42.98,0,96l0,320 c0,53.020, 114.615,96, 256,96s 256-42.98, 256-96L 512,96 C 512,42.98, 397.385,0, 256,0z M 480,416\n\tc0,4.563-9.96,21.323-54.217,37.92c-21.501,8.062-46.785,14.432-75.149,18.931C 320.726,477.595, 288.887,480, 256,480\n\tc-32.886,0-64.726-2.405-94.634-7.149c-28.365-4.499-53.648-10.868-75.149-18.931C 41.96,437.323, 32,420.563, 32,416L 32,302.499 \n\tC 75.667,332.018, 159.604,352, 256,352s 180.333-19.982, 224-49.501L 480,416 z M 480,256c0,4.563-9.96,21.323-54.217,37.92\n\tc-21.501,8.062-46.785,14.432-75.149,18.931C 320.726,317.595, 288.887,320, 256,320c-32.886,0-64.726-2.405-94.634-7.149\n\tc-28.365-4.499-53.648-10.868-75.149-18.931C 41.96,277.323, 32,260.563, 32,256L 32,142.499 C 75.667,172.017, 159.604,192, 256,192\n\ts 180.333-19.983, 224-49.501L 480,256 z M 440.174,128c-4.342,1.962-9.115,3.942-14.391,5.92c-21.501,8.063-46.785,14.432-75.149,18.931\n\tC 320.726,157.595, 288.887,160, 256,160c-32.886,0-64.726-2.405-94.634-7.149c-28.365-4.499-53.648-10.868-75.149-18.931\n\tc-5.275-1.978-10.049-3.958-14.391-5.92C 39.742,113.502, 32,100.019, 32,96c0-4.563, 9.96-21.324, 54.217-37.92\n\tc 21.501-8.063, 46.785-14.432, 75.149-18.931C 191.274,34.405, 223.114,32, 256,32c 32.887,0, 64.726,2.405, 94.634,7.149\n\tc 28.364,4.499, 53.648,10.868, 75.149,18.931C 470.040,74.676, 480,91.437, 480,96C 480,100.019, 472.259,113.502, 440.174,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"database, server, host, storage, save, datecenter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,112c0-14.205-5.024-35.38-28.958-55.589c-14.22-12.006-33.695-22.475-57.888-31.115C 379.48,8.983, 319.407,0, 256,0\n\tS 132.52,8.983, 86.845,25.295c-24.192,8.64-43.668,19.109-57.887,31.115C 5.024,76.62,0,97.795,0,112l-0.086,0 l0,144 L0,256 l0,0 l-0.086,0 l0,144 L0,400 \n\tc0,14.205, 5.024,35.381, 28.958,55.59c 14.219,12.006, 33.695,22.475, 57.887,31.115C 132.519,503.018, 192.593,512, 256,512\n\ts 123.48-8.982, 169.154-25.295c 24.192-8.641, 43.669-19.109, 57.888-31.115C 506.976,435.381, 512,414.205, 512,400L 512,256 l0,0l0,0 L 512,112 z\n\t M 115.588,83.115C 153.728,70.789, 203.593,64, 256,64c 52.406,0, 102.272,6.789, 140.411,19.115\n\tc 37.277,12.048, 49.46,24.998, 51.416,28.885c-1.956,3.887-14.139,16.837-51.416,28.885C 358.272,153.211, 308.406,160, 256,160\n\tc-52.407,0-102.272-6.789-140.412-19.115C 78.312,128.837, 66.129,115.887, 64.173,112C 66.129,108.113, 78.312,95.163, 115.588,83.115z\n\t M 396.412,428.885C 358.272,441.213, 308.407,448, 256,448c-52.407,0-102.273-6.787-140.412-19.115\n\tC 78.311,416.838, 66.129,403.887, 64.173,400l-0.087,0 l0-66.62 c 7.044,3.307, 14.628,6.421, 22.759,9.325\n\tC 132.519,359.017, 192.593,368, 256,368s 123.48-8.983, 169.154-25.295c 8.097-2.892, 15.652-5.993, 22.673-9.284L 447.827,400 \n\tC 445.871,403.887, 433.689,416.838, 396.412,428.885z M 396.412,284.885C 358.272,297.212, 308.407,304, 256,304\n\tc-52.407,0-102.273-6.788-140.412-19.115C 78.311,272.837, 66.129,259.887, 64.173,256l-0.087,0 l0-66.62 \n\tc 7.044,3.306, 14.628,6.421, 22.759,9.325C 132.52,215.017, 192.593,224, 256,224s 123.48-8.983, 169.154-25.295\n\tc 8.097-2.892, 15.652-5.993, 22.673-9.284L 447.827,256 C 445.871,259.887, 433.689,272.837, 396.412,284.885z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"database, server, host, storage, save, datecenter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.614,0,0,35.816,0,80l0,64 c0,44.183, 114.611,80, 256,80c 141.385,0, 256-35.817, 256-80L 512,80 C 512,35.816, 397.385,0, 256,0\n\t\tzM 255.193,256C 140.566,256, 43.94,232.457, 11.32,200C 3.705,207.577,0,215.639,0,224l0,64 c0,44.184, 114.611,80, 256,80\n\t\tc 141.385,0, 256-35.816, 256-80l0-64 c0-8.361-4.516-16.423-12.131-24C 467.25,232.457, 369.82,256, 255.193,256zM 255.193,400C 140.566,400, 43.94,376.456, 11.32,344C 3.705,351.576,0,359.639,0,368l0,64 c0,44.183, 114.611,80, 256,80\n\t\tc 141.385,0, 256-35.817, 256-80l0-64 c0-8.361-4.516-16.424-12.131-24C 467.25,376.456, 369.82,400, 255.193,400z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"storage, save, hdd, hard disk, drive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128L 96,128L0,256L 512,256 \tzM0,384l 512,0 l0-96 L0,288 L0,384 z M 448,320l 32,0 l0,32 l-32,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"storage, save, hdd, hard disk, drive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,448l 320,0 c 53.019,0, 96-42.98, 96-96L0,352 C0,405.020, 42.981,448, 96,448z M 416,384l 32,0 l0,32 l-32,0 L 416,384 zM 480,64L 32,64L0,320L 512,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cd, disk, record, dj, save, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,208.248c-26.331,0-47.752,21.421-47.752,47.752c0,26.331, 21.421,47.752, 47.752,47.752\n\t\tc 26.331,0, 47.752-21.421, 47.752-47.752C 303.752,229.669, 282.331,208.248, 256,208.248zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 439.442,123.984\n\t\tc-1.923-2.667-3.9-5.3-5.942-7.887C 435.543,118.684, 437.52,121.316, 439.442,123.984z M 426.758,107.976\n\t\tc-1.14-1.313-2.296-2.616-3.468-3.906C 424.464,105.359, 425.617,106.663, 426.758,107.976z M 422.93,103.677\n\t\tc-1.124-1.233-2.26-2.458-3.416-3.669C 420.67,101.218, 421.804,102.444, 422.93,103.677z M 100.511,420.004\n\t\tc 1.393,1.321, 2.802,2.618, 4.225,3.898C 103.315,422.621, 101.903,421.325, 100.511,420.004z M 104.926,424.078\n\t\tc 1.468,1.318, 2.952,2.616, 4.449,3.895C 107.878,426.694, 106.393,425.398, 104.926,424.078z M 136.2,447.68\n\t\tc-1.912-1.196-3.803-2.426-5.678-3.68l 7.978,0 L 136.2,447.68z M 143.5,436l-24.17,0 c 1.799,1.368, 3.616,2.71, 5.452,4.023\n\t\tc-5.285-3.774-10.411-7.785-15.375-12.023L 148.5,428 L 143.5,436z M 130.504,443.987c-1.892-1.265-3.762-2.563-5.615-3.886\n\t\tC 126.741,441.427, 128.612,442.723, 130.504,443.987z M 153.5,420l-52.993,0 c-1.453-1.379-2.893-2.773-4.313-4.194\n\t\tc-2.442-2.442-4.805-4.945-7.122-7.481c 1.126,1.236, 2.264,2.464, 3.422,3.676L 158.5,412.001 L 153.5,420z M 85.223,404.002\n\t\tc 1.146,1.32, 2.309,2.629, 3.486,3.927C 87.529,406.633, 86.369,405.322, 85.223,404.002z M 163.5,404L 85.221,404 \n\t\tc-4.472-5.151-8.695-10.48-12.663-15.982c 1.947,2.701, 3.948,5.365, 6.017,7.982L 168.5,396 L 163.5,404z M 173.5,388L 72.546,388 \n\t\tc-2.87-3.982-5.624-8.043-8.226-12.2c 0.884,1.413, 1.797,2.808, 2.713,4.2L 178.5,380 L 173.5,388z M 183.5,372L 70.399,372 l 21.051-13.156\n\t\tL 83.2,364l 105.3,0 L 183.5,372z M 193.5,356L 96,356 l 22.855-14.285L 108.8,348l 89.7,0 L 193.5,356z M 423.956,151.027L 428.8,148L 323.5,148 l-5,8L 416,156 \n\t\tl-12.8,8l-89.7,0 l-5,8l 81.899,0 l 5.237-3.273l-19.608,12.255L 377.6,180l-71.546,0 c 3.665,2.418, 7.146,5.092, 10.414,8L 364.8,188 l-12.8,8l-27.593,0 \n\t\tc 2.234,2.545, 4.329,5.215, 6.271,8l 8.521,0 l 4.044-2.527l-10.066,6.292c 8.76,13.985, 13.829,30.517, 13.829,48.236\n\t\tc0,50.26-40.744,91.003-91.006,91.003c-17.718,0-34.25-5.068-48.235-13.827L 203.5,340l-81.9,0 l 24.66-15.413L 134.4,332l 71.546,0 \n\t\tc-3.665-2.418-7.145-5.092-10.414-8L 147.2,324 l 31.624-19.765c-8.759-13.984-13.829-30.517-13.829-48.235\n\t\tc0-50.26, 40.744-91.003, 91.005-91.003c 17.719,0, 34.25,5.068, 48.234,13.827L 375.8,64.32c 3.849,2.409, 7.617,4.942, 11.315,7.581\n\t\tc-1.859-1.33-3.738-2.631-5.638-3.901L 373.5,68 l-5,8l 24.17,0 c-1.804-1.372-3.626-2.717-5.466-4.034\n\t\tc 5.29,3.778, 10.421,7.792, 15.39,12.034L 363.5,84 l-5,8l 52.992,0 c-1.388-1.317-2.793-2.611-4.211-3.887\n\t\tc 2.898,2.616, 5.746,5.303, 8.524,8.081c 1.254,1.253, 2.48,2.528, 3.701,3.806L 353.5,100 l-5,8l 78.279,0 c 2.276,2.623, 4.499,5.285, 6.646,8\n\t\tL 343.5,116 l-5,8l 100.954,0 c 2.87,3.982, 5.623,8.043, 8.226,12.2L 423.956,151.027z M 402.634,84.035c 1.493,1.276, 2.975,2.569, 4.438,3.886\n\t\tC 405.607,86.605, 404.127,85.311, 402.634,84.035zM 333.5,132l-5,8l 113.1,0 l 6.080-3.8c-0.885-1.413-1.797-2.808-2.713-4.2L 333.5,132 zM 172.8,308l-12.8,8l 27.593,0 c-2.234-2.545-4.329-5.215-6.272-8L 172.8,308 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"disk, save, floppy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L0,0 l0,512 l 512,0 L 512,64 L 448,0z M 256,64l 64,0 l0,128 l-64,0 L 256,64 z M 448,448L 64,448 L 64,64 l 32,0 l0,160 l 288,0 L 384,64 l 37.489,0 L 448,90.509L 448,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 288,288L 288,160L 384,160L 256,32L 128,160L 224,160 \tzM 320,216L 320,265.356L 466.533,320L 256,398.509L 45.467,320L 192,265.356L 192,216L0,288L0,416L 256,512L 512,416L 512,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,288L 384,160L 288,160L 288,32L 224,32L 224,160L 128,160 \tzM 372.363,235.636L 336.493,271.507L 466.533,320L 256,398.509L 45.467,320L 175.507,271.507L 139.636,235.636L0,288L0,416L 256,512L 512,416L 512,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"box-remove, storage, inbox, archive, upload\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 96,32 L0,128l0,336 c0,8.837, 7.163,16, 16,16l 480,0 c 8.836,0, 16-7.163, 16-16L 512,128 L 416,32z M 320,320l0,96 L 192,416 l0-96 L 96,320 l 160-128\n\tl 160,128L 320,320 z M 77.255,96l 32-32l 293.488,0 l 32,32L 77.255,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"box-add, storage, inbox, archive, download\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 96,32 L0,128l0,336 c0,8.837, 7.163,16, 16,16l 480,0 c 8.836,0, 16-7.163, 16-16L 512,128 L 416,32z M 256,416L 96,288l 96,0 l0-96 l 128,0 l0,96 l 96,0 \n\tL 256,416z M 77.255,96l 32-32l 293.489,0 l 32,32L 77.255,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"box, storage, inbox, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,64L 480,64L 480,128L 32,128zM 64,448l 384,0 L 448,160 L 64,160 L 64,448 z M 192,192l 128,0 l0,32 L 192,224 L 192,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"drawer, inbox, box, archive, storage, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 449.248,0 L 482.87,285.78 L 445.13,290.22 L 415.104,35 L 96.896,35 L 66.87,290.22 L 29.13,285.78 L 62.751,0 ZM 128,64L 384,64L 384,96L 128,96zM 128,128L 384,128L 384,160L 128,160zM 128,192L 384,192L 384,224L 128,224zM 128,256L 384,256L 384,288L 128,288zM 496,320L 16,320 c-8.8,0-13.723,6.83-10.94,15.179L 58.94,496.821C 61.723,505.17, 71.2,512, 80,512l 352,0 \n\tc 8.8,0, 18.276-6.83, 21.060-15.179l 53.881-161.643C 509.724,326.83, 504.8,320, 496,320z M 320,384L 192,384 l0-32 l 128,0 L 320,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"drawer, inbox, box, archive, storage, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 160,96 L0,288l0,128 c0,17.673, 14.327,32, 32,32l 448,0 c 17.674,0, 32-14.327, 32-32L 512,288 L 352,96z M 320,352L 192,352 l-32-32l 192,0 \n\t\tL 320,352z M 41.655,288l 133.333-160l 162.024,0 l 133.333,160L 41.655,288 zM 142.482,192L 369.518,192L 342.851,160L 169.148,160 \tzM 89.149,256L 422.852,256L 396.185,224L 115.815,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"drawer, inbox, box, archive, storage, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 160,96 L0,288l0,80 l0,48 c0,17.673, 14.327,32, 32,32l 448,0 c 17.674,0, 32-14.327, 32-32l0-48 l0-80 L 352,96z M 384,288l-64,64L 192,352 \n\tl-64-64L 41.655,288 l 133.333-160l 162.024,0 l 133.333,160L 384,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"archive, office, documents, library, books\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 32,32 C 14.4,32,0,46.4,0,64l0,384 c0,17.6, 14.4,32, 32,32l 96,0 c 17.6,0, 32-14.4, 32-32L 160,64 C 160,46.4, 145.6,32, 128,32z M 96,404\n\tc0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 c0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 96,404 z M 128,320L 32,320 L 32,160 l 96,0 L 128,320 z M 128,128L 32,128 \n\tL 32,96 l 96,0 L 128,128 zM 320,32l-96,0 c-17.6,0-32,14.4-32,32l0,384 c0,17.6, 14.4,32, 32,32l 96,0 c 17.6,0, 32-14.4, 32-32L 352,64 C 352,46.4, 337.6,32, 320,32z\n\t M 288,404c0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 c0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 288,404 z M 320,320l-96,0 L 224,160 l 96,0 L 320,320 z\n\t M 320,128l-96,0 L 224,96 l 96,0 L 320,128 zM 512,32l-96,0 c-17.6,0-32,14.4-32,32l0,384 c0,17.6, 14.4,32, 32,32l 96,0 c 17.6,0, 32-14.4, 32-32L 544,64 C 544,46.4, 529.6,32, 512,32z\n\t M 480,404c0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 c0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 480,404 z M 512,320l-96,0 L 416,160 l 96,0 L 512,320 z\n\t M 512,128l-96,0 L 416,96 l 96,0 L 512,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cabinet, storage, drawer, archive, office\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 160,0 L 64,64l0,128 l 384,0 L 448,64 L 352,0z M 320,160l-32,0 l0-21.333 C 288,132.8, 283.2,128, 277.333,128l-42.666,0 \n\t\tc-5.866,0-10.667,4.8-10.667,10.667L 224,160 l-32,0 l0-53.333 C 192,100.8, 196.801,96, 202.667,96l 106.665,0 c 5.867,0, 10.668,4.8, 10.668,10.667\n\t\tL 320,160 zM 64,352.001l 384,0 L 448,224 L 64,224 L 64,352.001 z M 192,266.666c0-5.867, 4.801-10.666, 10.667-10.666l 106.665,0 \n\t\tc 5.867,0, 10.668,4.799, 10.668,10.666L 320,320 l-32,0 l0-21.334 c0-5.867-4.8-10.666-10.667-10.666l-42.666,0 \n\t\tc-5.866,0-10.667,4.799-10.667,10.666L 224,320 l-32,0 L 192,266.666 zM 64,512l 384,0 L 448,384.001 L 64,384.001 L 64,512 z M 192,426.666c0-5.867, 4.801-10.666, 10.667-10.666l 106.665,0 c 5.867,0, 10.668,4.799, 10.668,10.666\n\t\tL 320,480 l-32,0 l0-21.334 c0-5.867-4.8-10.666-10.667-10.666l-42.666,0 c-5.866,0-10.667,4.799-10.667,10.666L 224,480 l-32,0 L 192,426.666 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tv, television, show\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.594,144.054c-44.404-6.384-91.691-11.008-141.038-13.61L 432,48l-32-32L 287.721,128.278\n\tC 277.218,128.094, 266.643,128, 256,128l0,0L 128,0L 96,32l 97.098,97.098c-60.461,2.121-118.169,7.262-171.693,14.956\n\tC 7.639,197.917,0,257.43,0,320s 7.639,122.083, 21.402,175.945C 93.223,506.271, 172.572,512, 256,512\n\tc 83.428,0, 162.775-5.729, 234.594-16.055C 504.361,442.083, 512,382.57, 512,320S 504.361,197.917, 490.594,144.054z M 431.946,437.297\n\tC 378.081,444.18, 318.571,448, 256,448c-62.571,0-122.083-3.82-175.946-10.703C 69.73,401.389, 64,361.714, 64,320\n\tc0-41.715, 5.729-81.39, 16.054-117.298C 133.917,195.819, 193.429,192, 256,192c 62.568,0, 122.081,3.819, 175.943,10.702\n\tC 442.271,238.61, 448,278.285, 448,320C 448,361.714, 442.271,401.389, 431.946,437.297z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mobile, phone, contact\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,0c-8.837,0-16,7.163-16,16l0,48 L 144,64 c-8.836,0-16,7.163-16,16l0,416 c0,8.836, 7.164,16, 16,16l 192,0 c 8.837,0, 16-7.164, 16-16L 352,16 \n\tC 352,7.163, 344.837,0, 336,0z M 192,480l-32,0 l0-32 l 32,0 L 192,480 z M 192,416l-32,0 l0-32 l 32,0 L 192,416 z M 192,352l-32,0 l0-32 l 32,0 L 192,352 z M 256,480l-32,0 l0-32 l 32,0 L 256,480 z\n\t M 256,416l-32,0 l0-32 l 32,0 L 256,416 z M 256,352l-32,0 l0-32 l 32,0 L 256,352 z M 320,480l-32,0 l0-32 l 32,0 L 320,480 z M 320,416l-32,0 l0-32 l 32,0 L 320,416 z M 320,352l-32,0 l0-32 l 32,0 L 320,352 z\n\t M 320,272c0,8.836-7.163,16-16,16L 176,288 c-8.836,0-16-7.164-16-16L 160,112 c0-8.837, 7.164-16, 16-16l 128,0 c 8.837,0, 16,7.163, 16,16L 320,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tablet, mobile\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 320,0 c 26.4,0, 48-21.6, 48-48L 448,48 C 448,21.6, 426.4,0, 400,0z M 240,496\n\tc-8.836,0-16-7.163-16-16s 7.164-16, 16-16s 16,7.163, 16,16S 248.836,496, 240,496z M 384,448L 96,448 L 96,64 l 288,0 L 384,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mobile, phone, handheld\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 96,0 C 78.4,0, 64,14.399, 64,32l0,448 c0,17.6, 14.399,32, 32,32l 288,0 c 17.6,0, 32-14.4, 32-32L 416,32 C 416,14.399, 401.6,0, 384,0z\n\t M 240,488.891c-13.746,0-24.891-11.145-24.891-24.891s 11.145-24.891, 24.891-24.891s 24.891,11.145, 24.891,24.891\n\tS 253.746,488.891, 240,488.891z M 384,416L 96,416 L 96,64 l 288,0 L 384,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mobile, phone, handheld\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368,0L 144,0 c-26.4,0-48,21.6-48,48l0,416 c0,26.4, 21.6,48, 48,48l 224,0 c 26.4,0, 48-21.6, 48-48L 416,48 C 416,21.6, 394.4,0, 368,0z M 192,24\n\tl 128,0 l0,16 L 192,40 L 192,24 z M 256,480c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 273.673,480, 256,480z M 384,384L 128,384 L 128,64 l 256,0 L 384,384 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"laptop, pc, computer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,352L 448,96 c0-17.6-14.4-32-32-32L 96,64 c-17.6,0-32,14.4-32,32l0,256 L0,352 l0,96 l 512,0 l0-96 L 448,352 z M 320,416L 192,416 l0-32 l 128,0 L 320,416 z M 416,352L 96,352 \n\tL 96,96.057 c 0.017-0.020, 0.038-0.041, 0.057-0.057l 319.885,0 c 0.020,0.017, 0.041,0.038, 0.058,0.058L 416,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L0,32 l0,384 l 224,0 l0,32 l-96,0 l0,32 l 256,0 l0-32 l-96,0 l0-32 L 512,416 z M 64,96l 384,0 l0,256 L 64,352 L 64,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 48,236L 333,236L 319,228L 48,228 \t\tzM 48,220L 305,220L 291,212L 48,212 \t\tzM 48,204L 277,204L 263,196L 48,196 \t\tzM 48,188L 249,188L 235,180L 48,180 \t\tzM 48,252L 361,252L 347,244L 48,244 \t\tzM 48,268L 389,268L 375,260L 48,260 \t\tzM 48,284L 417,284L 403,276L 48,276 \t\tzM 48,92L 81,92L 67,84L 48,84 \t\tzM 48,292L 48,300L 445,300L 431,292 \t\tzM 48,108L 109,108L 95,100L 48,100 \t\tzM 48,124L 137,124L 123,116L 48,116 \t\tzM 48,156L 193,156L 179,148L 48,148 \t\tzM 48,140L 165,140L 151,132L 48,132 \t\tzM 48,172L 221,172L 207,164L 48,164 \t\tzM0,32l0,320 l 512,0 L 512,32 L0,32 z M 480,320L 32,320 L 32,64 l 448,0 L 480,320 zM 336,384L 176,384L 160,448L 128,480L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,320 l 512,0 L 512,32 L0,32 z M 480,320L 32,320 L 32,64 l 448,0 L 480,320 zM 336,384L 176,384L 160,448L 128,480L 384,480L 352,448 \tzM 48,228L 464,228L 464,236L 48,236zM 48,212L 464,212L 464,220L 48,220zM 48,244L 464,244L 464,252L 48,252zM 48,196L 464,196L 464,204L 48,204zM 48,260L 464,260L 464,268L 48,268zM 48,292L 464,292L 464,300L 48,300zM 48,276L 464,276L 464,284L 48,284zM 48,100L 464,100L 464,108L 48,108zM 48,180L 464,180L 464,188L 48,188zM 48,116L 464,116L 464,124L 48,124zM 48,84L 464,84L 464,92L 48,92zM 48,164L 464,164L 464,172L 48,172zM 48,148L 464,148L 464,156L 48,156zM 48,132L 464,132L 464,140L 48,140z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,320 l 512,0 L 512,32 L0,32 z M 480,320L 32,320 L 32,64 l 448,0 L 480,320 zM 336,384L 176,384L 160,448L 128,480L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"keyboard, type, typing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,128L 32,128 c-17.6,0-32,14.4-32,32l0,224 c0,17.6, 14.4,32, 32,32l 416,0 c 17.6,0, 32-14.4, 32-32L 480,160 C 480,142.4, 465.6,128, 448,128z\n\t\t M 448,383.942c-0.017,0.020-0.038,0.041-0.058,0.058L 32.057,384 c-0.020-0.017-0.041-0.038-0.057-0.058L 32,160.057 \n\t\tc 0.017-0.020, 0.038-0.041, 0.057-0.057l 415.885,0 c 0.020,0.017, 0.041,0.038, 0.058,0.058L 448,383.942 zM 128,320L 352,320L 352,352L 128,352zM 352,256L 384,256L 384,288L 352,288zM 288,256L 320,256L 320,288L 288,288zM 224,256L 256,256L 256,288L 224,288zM 160,256L 192,256L 192,288L 160,288zM 96,256L 128,256L 128,288L 96,288zM 320,192L 352,192L 352,224L 320,224zM 384,192L 416,192L 416,224L 384,224zM 256,192L 288,192L 288,224L 256,224zM 192,192L 224,192L 224,224L 192,224zM 128,192L 160,192L 160,224L 128,224zM 64,192L 96,192L 96,224L 64,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"keyboard, type, typing\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 544,64L 32,64 C 14.4,64,0,78.4,0,96l0,320 c0,17.6, 14.4,32, 32,32l 512,0 c 17.6,0, 32-14.4, 32-32L 576,96 C 576,78.4, 561.6,64, 544,64z M 320,128\n\tl 64,0 l0,64 l-64,0 L 320,128 z M 416,224l0,64 l-64,0 l0-64 L 416,224 z M 224,128l 64,0 l0,64 l-64,0 L 224,128 z M 320,224l0,64 l-64,0 l0-64 L 320,224 z M 128,128l 64,0 l0,64 l-64,0 L 128,128 z M 224,224l0,64 \n\tl-64,0 l0-64 L 224,224 z M 64,128l 32,0 l0,64 L 64,192 L 64,128 z M 64,224l 64,0 l0,64 L 64,288 L 64,224 z M 96,384L 64,384 l0-64 l 32,0 L 96,384 z M 384,384L 128,384 l0-64 l 256,0 L 384,384 z M 512,384l-96,0 l0-64 l 96,0 \n\tL 512,384 z M 512,288l-64,0 l0-64 l 64,0 L 512,288 z M 512,192l-96,0 l0-64 l 96,0 L 512,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, click, right, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 239.999,32C 192,32, 96,50.68, 96,128l0,212 c0,77.318, 64.471,140, 143.999,140S 384,417.318, 384,340L 384,128 \n\tC 384,50.68, 288,32, 239.999,32z M 128,128c0-10.974, 2.969-20.152, 9.076-28.060c 5.924-7.672, 14.915-14.422, 26.72-20.063\n\tC 182.578,70.902, 205.132,65.632, 224,64l0,128 l-96,0 L 128,128 z M 352,340c0,28.677-11.537,55.686-32.484,76.051\n\tc-10.287,10.002-22.277,17.857-35.635,23.353c-13.873,5.704-28.637,8.597-43.882,8.597c-15.244,0-30.008-2.893-43.881-8.598\n\tc-13.357-5.494-25.349-13.351-35.636-23.353C 139.536,395.686, 128,368.676, 128,339.999L 128,224 l 224,0 L 352,340 L 352,340z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, click, left, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32c-48,0-144,18.68-144,96l0,212 c0,77.318, 64.471,140, 144,140c 79.528,0, 144-62.682, 144-140L 384,128 C 384,50.68, 288,32, 240,32z\n\t M 352,340c0,28.677-11.537,55.686-32.484,76.051c-10.287,10.002-22.277,17.857-35.635,23.353C 270.008,445.107, 255.245,448, 240,448\n\ts-30.009-2.893-43.881-8.598c-13.358-5.494-25.35-13.351-35.637-23.353C 139.536,395.686, 128,368.677, 128,340L 128,224 l 224,0 L 352,340 z M 352,192\n\tl-96,0 L 256,64 c 18.868,1.633, 41.422,6.904, 60.204,15.878c 11.805,5.641, 20.795,12.391, 26.721,20.063C 349.030,107.848, 352,117.027, 352,128L 352,192 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 397.759,318.145l-76.8-128c-35.532-59.222-111.393-79.334-171.395-46.317C 136.634,120.593, 128,98.603, 128,80\n\tc0-17.485, 3.79-40.151, 21.843-48.83c 1.368-0.658, 3.435-1.651, 5.47-3.687c 6.249-6.249, 6.249-16.379,0-22.628\n\tc-5.266-5.266-13.29-6.094-19.421-2.484C 110.166,14.785, 96,42.349, 96,80c0,25.991, 11.055,54.009, 27.449,82.79\n\tc-42.94,40.348-53.559,106.479-22.008,159.065l 76.8,128c 24.001,40.003, 66.395,62.164, 109.88,62.164\n\tc 22.411,0, 45.118-5.891, 65.734-18.26C 414.474,457.389, 434.13,378.763, 397.759,318.145z M 236.069,297.825\n\tc-4.576,2.912-9.688,4.303-14.737,4.303c-9.090,0-17.985-4.503-23.228-12.74l-36.771-57.782c-8.153-12.813-4.376-29.811, 8.438-37.965\n\tc 12.812-8.154, 29.81-4.377, 37.965,8.437l 36.771,57.782C 252.66,272.674, 248.883,289.671, 236.069,297.825z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,39.429L 320,192 L 192,192 L 192,39.429 C 144.201,50.546, 96,76.024, 96,128l0,212 c0,77.318, 71.634,140, 160,140c 88.363,0, 160-62.682, 160-140\n\t\tL 416,128 C 416,76.024, 367.799,50.546, 320,39.429zM 288,33.933C 276.277,32.579, 265.321,32, 256,32c-9.32,0-20.276,0.579-32,1.933L 224,160 l 64,0 L 288,33.933 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"print, printer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288L 448,416L 64,416L 64,288L0,288L0,480L 512,480L 512,288 \t\tzM 416,32L 96,32 l0,352 l 320,0 L 416,32 z M 352,320L 160,320 l0-32 l 192,0 L 352,320 z M 352,224L 160,224 l0-32 l 192,0 L 352,224 z M 352,128L 160,128 L 160,96 l 192,0 L 352,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"print, printer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 384,32L 384,96L 128,96zM 480,128L 32,128 C 14.4,128,0,142.4,0,160l0,160 c0,17.6, 14.398,32, 32,32l 96,0 l0,128 l 256,0 L 384,352 l 96,0 c 17.6,0, 32-14.4, 32-32L 512,160 \n\t\tC 512,142.4, 497.6,128, 480,128z M 352,448L 160,448 L 160,288 l 192,0 L 352,448 z M 487.2,176c0,12.813-10.387,23.2-23.199,23.2\n\t\tc-12.813,0-23.201-10.387-23.201-23.2s 10.388-23.2, 23.201-23.2C 476.814,152.8, 487.2,163.187, 487.2,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"print, printer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 510.225,384.049l-12.449-224.098C 496.799,142.378, 481.6,128, 464,128l-80,0 L 384,0 L 128,0 l0,128 L 48,128 \n\tc-17.601,0-32.799,14.378-33.775,31.951L 1.775,384.049C 0.799,401.622, 14.4,416, 32,416l 70.4,0 L 64,512l 384,0 l-38.4-96L 480,416 \n\tC 497.6,416, 511.2,401.622, 510.225,384.049z M 160,32l 192,0 l0,96 L 160,128 L 160,32 z M 111.265,480l 38.4-96l 212.67,0 l 38.4,96L 111.265,480 z M 448,224l-32,0 l0-64 \n\tl 32,0 L 448,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64l-48,0 l0,16 c0,17.645-14.355,32-32,32s-32-14.355-32-32L 336,64 L 176,64 l0,16 c0,17.645-14.355,32-32,32s-32-14.355-32-32L 112,64 L 64,64 \n\t\tc-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 384,0 c 17.6,0, 32-14.4, 32-32L 480,96 C 480,78.4, 465.6,64, 448,64z M 448,447.942\n\t\tc-0.017,0.020-0.038,0.041-0.058,0.058L 64.057,448 c-0.020-0.017-0.041-0.038-0.057-0.058L 64,160 l 384,0 L 448,447.942 zM 144,96c 8.836,0, 16-7.164, 16-16L 160,16 c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 C 128,88.836, 135.164,96, 144,96zM 368,96c 8.836,0, 16-7.164, 16-16L 384,16 c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 C 352,88.836, 359.164,96, 368,96zM 288,192L 128,192L 128,224L 256,224L 256,288L 128,288L 128,320L 256,320L 256,384L 128,384L 128,416L 288,416 \tzM 352,416L 384,416L 384,192L 320,192L 320,224L 352,224 \tzM 436,492L 76,492 c-17.6,0-32-10.4-32-28l0,16 c0,17.6, 14.4,32, 32,32l 360,0 c 17.6,0, 32-14.4, 32-32l0-16 C 468,481.6, 453.6,492, 436,492z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96l-32,0 l0,64 l-96,0 L 288,96 l-96,0 l0,64 L 96,160 L 96,96 L 64,96 c-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32L 448,128 \n\t\tC 448,110.4, 433.6,96, 416,96z M 128,480L 64.057,480 c-0.020-0.017-0.041-0.038-0.057-0.058L 64,416 l 64,0 L 128,480 z M 128,384L 64,384 l0-64 l 64,0 L 128,384 z M 128,288\n\t\tL 64,288 l0-64 l 64,0 L 128,288 z M 224,480l-64,0 l0-64 l 64,0 L 224,480 z M 224,384l-64,0 l0-64 l 64,0 L 224,384 z M 224,288l-64,0 l0-64 l 64,0 L 224,288 z M 320,480l-64,0 l0-64 l 64,0 L 320,480 z M 320,384\n\t\tl-64,0 l0-64 l 64,0 L 320,384 z M 320,288l-64,0 l0-64 l 64,0 L 320,288 z M 416,479.942c-0.017,0.020-0.038,0.041-0.058,0.058L 352,480 l0-64 l 64,0 L 416,479.942 z M 416,384l-64,0 \n\t\tl0-64 l 64,0 L 416,384 z M 416,288l-64,0 l0-64 l 64,0 L 416,288 zM 160,64c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 l 32,0 L 160,64 zM 352,64c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 l 32,0 L 352,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,160L 96,160L 96,192L 64,192zM 128,160L 160,160L 160,192L 128,192zM 192,160L 224,160L 224,192L 192,192zM 256,160L 288,160L 288,192L 256,192zM 320,160L 352,160L 352,192L 320,192zM 384,160L 416,160L 416,192L 384,192zM 64,224L 96,224L 96,256L 64,256zM 128,224L 160,224L 160,256L 128,256zM 192,224L 224,224L 224,256L 192,256zM 256,224L 288,224L 288,256L 256,256zM 320,224L 352,224L 352,256L 320,256zM 384,224L 416,224L 416,256L 384,256zM 64,288L 96,288L 96,320L 64,320zM 128,288L 160,288L 160,320L 128,320zM 192,288L 224,288L 224,320L 192,320zM 256,288L 288,288L 288,320L 256,320zM 320,288L 352,288L 352,320L 320,320zM 384,288L 416,288L 416,320L 384,320zM 64,352L 96,352L 96,384L 64,384zM 128,352L 160,352L 160,384L 128,384zM 192,352L 224,352L 224,384L 192,384zM 256,352L 288,352L 288,384L 256,384zM 320,352L 352,352L 352,384L 320,384zM 384,352L 416,352L 416,384L 384,384zM 64,416L 96,416L 96,448L 64,448zM 128,416L 160,416L 160,448L 128,448zM 192,416L 224,416L 224,448L 192,448zM 256,416L 288,416L 288,448L 256,448zM 320,416L 352,416L 352,448L 320,448zM 384,416L 416,416L 416,448L 384,448zM 416,32L 416,0 l-64,0 l0,64 l-32,0 L 320,32 L 160,32 l0,32 l-32,0 L 128,0 L 64,0 l0,32 L0,32 l0,480 l 480,0 L 480,32 L 416,32 z M 448,480L 32,480 L 32,128 l 416,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,192L 224,192L 224,256L 160,256zM 256,192L 320,192L 320,256L 256,256zM 352,192L 416,192L 416,256L 352,256zM 64,384L 128,384L 128,448L 64,448zM 160,384L 224,384L 224,448L 160,448zM 256,384L 320,384L 320,448L 256,448zM 160,288L 224,288L 224,352L 160,352zM 256,288L 320,288L 320,352L 256,352zM 352,288L 416,288L 416,352L 352,352zM 64,288L 128,288L 128,352L 64,352zM 416,0l0,32 l-64,0 L 352,0 L 128,0 l0,32 L 64,32 L 64,0 L0,0 l0,512 l 480,0 L 480,0 L 416,0 z M 448,480L 32,480 L 32,128 l 416,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,480c0,17.674, 14.327,32, 32,32l 448,0 c 17.674,0, 32-14.326, 32-32L 512,192 L0,192 L0,480 z M 352,224l 128,0 l0,64 L 352,288 L 352,224 z M 352,320l 128,0 l0,64 L 352,384 \n\t\tL 352,320 z M 352,416l 128,0 l0,64 L 352,480 L 352,416 z M 192,224l 128,0 l0,64 L 192,288 L 192,224 z M 192,320l 128,0 l0,64 L 192,384 L 192,320 z M 192,416l 128,0 l0,64 L 192,480 L 192,416 z M 32,224l 128,0 l0,64 L 32,288 \n\t\tL 32,224 z M 32,320l 128,0 l0,64 L 32,384 L 32,320 z M 32,416l 128,0 l0,64 L 32,480 L 32,416 zM 480,64l-64,0 L 416,18.286 C 416,8.187, 408.837,0, 400,0c-8.836,0-16,8.187-16,18.286L 384,64 L 128,64 L 128,18.286 C 128,8.187, 120.837,0, 112,0\n\t\tS 96,8.187, 96,18.286L 96,64 L 32,64 C 14.327,64,0,78.327,0,96l0,64 l 512,0 L 512,96 C 512,78.327, 497.673,64, 480,64z M 112,144c-17.673,0-32-14.327-32-32\n\t\tc0-11.842, 6.438-22.174, 16-27.708L 96,112 c0,8.836, 7.164,16, 16,16s 16-7.164, 16-16L 128,84.292 c 9.562,5.534, 16,15.866, 16,27.708\n\t\tC 144,129.673, 129.673,144, 112,144z M 400,144c-17.672,0-32-14.327-32-32c0-11.842, 6.438-22.174, 16-27.708L 384,112 \n\t\tc0,8.836, 7.164,16, 16,16c 8.837,0, 16-7.164, 16-16L 416,84.292 c 9.563,5.534, 16,15.866, 16,27.708C 432,129.673, 417.674,144, 400,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stopwatch, time, speed, meter, chronometer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,96.606L 256.001,64 l 64,0 L 320.001,32 c0-17.673-14.327-32-32.001-32l-95.999,0 c-17.673,0-32,14.327-32,32l0,32 l 64,0 l0,32.606 \n\tc-107.399,8.169-192,97.901-192,207.394c0,114.875, 93.125,208, 208,208c 114.875,0, 208-93.125, 208-208\n\tC 448.001,194.508, 363.4,104.776, 256.001,96.606z M 353.138,417.137C 322.917,447.357, 282.739,464, 240.001,464\n\ts-82.917-16.643-113.137-46.863C 96.644,386.917, 80.001,346.737, 80.001,304s 16.643-82.917, 46.863-113.137\n\tc 29.020-29.019, 67.224-45.509, 108.057-46.774l-10.839,157.010C 223.152,314.244, 230.314,320, 240,320\n\tc 9.686,0, 16.849-5.756, 15.918-18.901L 245.080,144.088c 40.833,1.266, 79.038,17.756, 108.058,46.775\n\tc 30.22,30.22, 46.863,70.4, 46.863,113.137S 383.358,386.917, 353.138,417.137z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-cancel, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z M 352,352\n\tl-38.891,0 L 256,294.891L 198.891,352L 160,352 l0-38.891 L 217.109,256L 160,198.891L 160,160 l 38.891,0 L 256,217.109L 313.109,160L 352,160 l0,38.891 L 294.891,256\n\tL 352,313.109L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-check, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z\n\t M 224,369.891l-77.445-102.445l 23.891-23.891L 224,282.109l 122.555-108.555l 24.891,24.891L 224,369.891z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-minus, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z M 352,288\n\tL 160,288 l0-64 l 192,0 L 352,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-plus, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z M 352,288\n\tl-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 l0-64 l 64,0 l0,64 l 64,0 L 352,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bell, alarm, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.451-13.033-4.056-18.745L 512,448 L 512,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bell, alarm, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512.75,400c0-144-128-112-128-224c0-9.28-0.894-17.21-2.524-23.964c-8.415-56.509-46.078-101.86-94.886-115.68\n\tc 0.433-1.974, 0.66-4.016, 0.66-6.105C 288,13.612, 273.6,0, 256,0c-17.6,0-32,13.612-32,30.25c0,2.090, 0.228,4.132, 0.66,6.105\n\tc-54.735,15.499-95.457,70.649-96.627,136.721c-0.020,0.96-0.033,1.932-0.033,2.923C 128,288,0,256,0,400\n\tc0,38.113, 85.295,69.998, 199.485,78.040C 210.247,498.242, 231.513,512, 256,512s 45.754-13.758, 56.515-33.96\n\tC 426.705,469.998, 512,438.113, 512,400c0-0.114-0.013-0.228-0.014-0.341L 512.75,400z M 413.123,427.048\n\tc-27.115,7.235-59.079,12.438-93.384,15.324C 316.887,409.663, 289.448,384, 256,384s-60.887,25.663-63.739,58.372\n\tc-34.304-2.886-66.269-8.089-93.384-15.324C 61.562,417.091, 43.722,405.953, 37.193,400c 6.529-5.953, 24.369-17.091, 61.684-27.048\n\tC 142.263,361.376, 198.063,355, 256,355s 113.737,6.376, 157.123,17.952c 37.315,9.957, 55.155,21.095, 61.684,27.048\n\tC 468.278,405.953, 450.438,417.091, 413.123,427.048z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm, clock, time\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64C 132.288,64, 32,164.288, 32,288s 100.288,224, 224,224s 224-100.288, 224-224S 379.712,64, 256,64z M 256,468\n\tc-99.412,0-180-80.589-180-180c0-99.412, 80.588-180, 180-180c 99.411,0, 180,80.588, 180,180C 436,387.411, 355.411,468, 256,468z\n\t M 467.392,143.587C 475.413,129.561, 480,113.316, 480,96c0-53.020-42.98-96-96-96c-30.909,0-58.401,14.611-75.96,37.298\n\tC 373.982,50.916, 430.643,89.897, 467.392,143.587z M 203.96,37.298C 186.402,14.611, 158.909,0, 128,0C 74.98,0, 32,42.98, 32,96\n\tc0,17.316, 4.587,33.561, 12.608,47.587C 81.358,89.897, 138.019,50.916, 203.96,37.298z M 224,160l 32,0 l0,160 l-32,0 L 224,160 z M 256,288l 96,0 l0,32 l-96,0 \n\tL 256,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm, clock, time\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,274.745 L 342.627,329.373 L 297.373,374.627 L 224,301.255 L 224,192 L 288,192 ZM 416,32 C 469.020,32 512,74.98 512,128 C 512,160.492 495.855,189.209 471.154,206.579 C 447.859,145.057 398.943,96.141 337.421,72.846 C 354.791,48.145 383.509,32 416,32 ZM 174.579,72.846 C 113.057,96.141 64.141,145.057 40.846,206.579 C 16.145,189.209 0,160.492 0,128 C 0,74.98 42.98,32 96,32 C 128.492,32 157.209,48.145 174.579,72.846 ZM 256,96C 149.961,96, 64,181.961, 64,288c0,46.337, 16.416,88.839, 43.747,122.010L 96,512l 32,0 l 32-57.69l-0.004-0.004\n\t\tC 188.238,470.645, 221.025,480, 256,480c 34.974,0, 67.76-9.355, 96.002-25.693L 352,454.309L 384,512l 32,0 l-11.751-101.984\n\t\tC 431.583,376.843, 448,334.34, 448,288C 448,181.961, 362.039,96, 256,96z M 256,416c-70.692,0-128-57.308-128-128s 57.308-128, 128-128\n\t\ts 128,57.308, 128,128S 326.692,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\tC 480,139.452, 372.549,32, 240,32z M 384,288l-98.742,0 c-6.591,18.641-24.359,32-45.258,32c-26.51,0-48-21.49-48-48\n\tc0-20.898, 13.359-38.667, 32-45.258L 224,96 l 32,0 l0,130.742 c 13.636,4.821, 24.438,15.623, 29.258,29.258L 384,256 L 384,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\t\tC 480,139.452, 372.549,32, 240,32z M 240,480c-114.875,0-208-93.125-208-208S 125.125,64, 240,64s 208,93.125, 208,208\n\t\tS 354.875,480, 240,480zM 256,226.742L 256,96 l-32,0 l0,130.742 c-18.641,6.59-32,24.36-32,45.258c0,26.51, 21.49,48, 48,48c 20.898,0, 38.667-13.359, 45.258-32\n\t\tL 384,288 l0-32 l-98.742,0 C 280.438,242.365, 269.636,231.563, 256,226.742z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64 C 204.715,64 156.5,83.972 120.235,120.235 C 83.972,156.5 64,204.715 64,256 C 64,307.285 83.972,355.5 120.235,391.765 C 156.5,428.028 204.715,448 256,448 C 307.285,448 355.5,428.028 391.765,391.765 C 428.028,355.5 448,307.285 448,256 C 448,204.715 428.028,156.5 391.765,120.235 C 355.5,83.972 307.285,64 256,64 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 ZM 311.417,224c-5.618-9.708-13.709-17.798-23.417-23.417L 288,96 l-64,0 l0,104.583 c-19.124,11.067-32,31.731-32,55.417\n\tc0,35.347, 28.654,64, 64,64c 23.686,0, 44.35-12.876, 55.417-32L 384,288 l0-64 L 311.417,224 z M 256,288c-17.673,0-32-14.327-32-32s 14.327-32, 32-32\n\tc 17.673,0, 32,14.327, 32,32S 273.673,288, 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"watch, wrist watch, clock, time\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,224 L 352,224 L 352,288 L 224,288 L 224,160 L 288,160 ZM 448,256c0-71.066-38.613-133.109-96-166.308L 352,0 L 160,0 l0,89.692 C 102.613,122.89, 64,184.934, 64,256\n\t\tc0,71.065, 38.613,133.109, 96,166.308L 160,512 l 192,0 l0-89.692 C 409.387,389.109, 448,327.065, 448,256z M 256,384c-70.692,0-128-57.308-128-128\n\t\ts 57.308-128, 128-128s 128,57.308, 128,128S 326.692,384, 256,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 384,288L 224,288 L 224,96 l 64,0 l0,128 l 96,0 L 384,288 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,224 L 384,288 L 224,288 L 224,96 L 288,96 L 288,224 ZM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 329.372,374.628L 224,269.255\n\t\tL 224,128 l 64,0 l0,114.745 l 86.628,86.627L 329.372,374.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 329.372,374.628L 224,269.255L 224,128L 288,128L 288,242.745L 374.628,329.372 \tzM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"history, time, past, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128L 256,288L 384,288L 384,256L 288,256L 288,128 \tzM 288,32C 164.288,32, 64,132.288, 64,256L0,256 l 80,96l 80-96L 96,256 c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192\n\t\tc0,106.039-85.961,192-192,192c-10.904,0-21.592-0.923-32-2.67l0,32.385 c 10.453,1.495, 21.134,2.285, 32,2.285\n\t\tc 123.712,0, 224-100.288, 224-224S 411.712,32, 288,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"history, time, past, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,32 C 411.712,32 512,132.288 512,256 C 512,379.712 411.712,480 288,480 L 288,432 C 335.012,432 379.209,413.693 412.451,380.451 C 445.693,347.209 464,303.012 464,256 C 464,208.989 445.693,164.791 412.451,131.549 C 379.209,98.307 335.012,80 288,80 C 240.989,80 196.791,98.307 163.549,131.549 C 137.979,157.118 121.258,189.172 114.896,224 L 208,224 L 96,352 L -16,224 L 66.285,224 C 81.815,115.449 175.154,32 288,32 ZM 384,224 L 384,288 L 256,288 L 256,128 L 320,128 L 320,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"direction, address, directions, location, map\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,192l 96-64l-96-64L 288,64 L 288,24 c0-13.2-10.8-24-24-24l-16,0 c-13.2,0-24,10.8-24,24l0,40 L 64,64 l0,128 l 160,0 l0,32 L 80,224 l-64,48l 64,48l 144,0 l0,192 l 64,0 \n\tL 288,320 l 128,0 l0-96 L 288,224 l0-32 L 400,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,96L 176,32L0,96l0,384 l 176-64l 160,64l 176-64L 512,32 L 336,96z M 192,72.865l 128,51.2l0,315.069 l-128-51.199L 192,72.865 z M 32,118.414\n\tl 128-46.545l0,315.9 L 32,434.313L 32,118.414 z M 480,393.586l-128,46.546l0-315.9 l 128-46.545L 480,393.586 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 160,32L 160,416L0,480 zM 352,96 L 352,480 L 192,426.667 L 192,42.667 ZM 512,32 L 512,416 L 384,467.2 L 384,83.2 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,80L 128,16L0,96l0,416 l 128-80l 256,64l 128-80L 512,0 L 384,80z M 160,407.016L 160,56.985 l 4,1l0,350.031 L 160,407.016z M 172,410.016L 172,59.985 \n\tl 8,2l0,350.031 L 172,410.016z M 188,414.016L 188,63.985 l 8,2l0,350.031 L 188,414.016z M 204,418.016L 204,67.985 l 8,2l0,350.031 L 204,418.016z\n\t M 220,422.016L 220,71.985 l 8,2l0,350.031 L 220,422.016z M 236,426.016L 236,75.985 l 8,2l0,350.031 L 236,426.016z M 252,430.016L 252,79.985 l 8,2l0,350.031 \n\tL 252,430.016z M 268,434.016L 268,83.985 l 8,2l0,350.031 L 268,434.016z M 284,438.016L 284,87.985 l 8,2l0,350.031 L 284,438.016z M 300,442.016L 300,91.985 l 8,2\n\tl0,350.031 L 300,442.016z M 316,446.016L 316,95.985 l 8,2l0,350.031 L 316,446.016z M 332,450.016L 332,99.985 l 8,2l0,350.031 L 332,450.016z M 352,455.016\n\tl-4-1L 348,103.985 l 4,1L 352,455.016 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,80L 128,16L0,96l0,416 l 128-80l 256,64l 128-80L 512,0 L 384,80z M 352,455.016l-192-48L 160,56.985 l 192,48L 352,455.016 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"compass, direction, map, locate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 304,208l-144-80l-32,0 l0,32 l 80,144l 144,80l 32,0 l0-32 L 304,208z M 256,288c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32\n\tc 17.673,0, 32,14.327, 32,32C 288,273.673, 273.673,288, 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"compass, direction, map, locate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\t\tC 480,139.452, 372.549,32, 240,32z M 240,464c-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192\n\t\tc 106.039,0, 192,85.961, 192,192C 432,378.039, 346.039,464, 240,464zM 416,264.615l-106.469-24.569L 352,182.588L 352,160 l-22.588,0 l-57.458,42.469L 247.385,96l-14.77,0 l-24.569,106.469L 150.588,160L 128,160 \n\tl0,22.588 l 42.469,57.458L 64,264.615l0,14.77 l 106.469,24.569L 128,361.412L 128,384 l 22.588,0 l 57.458-42.469L 232.615,448l 14.77,0 l 24.569-106.469\n\tL 329.412,384L 352,384 l0-22.588 l-42.469-57.458L 416,279.385L 416,264.615 z M 256,276c0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 \n\tc0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 256,276 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.635,0, 96,67.157, 96,150c0,120, 128,160.73, 128,330l0,16 c0,8.449, 6.551,15.363, 14.85,15.955L 238.85,512 L 272,512 \n\tc 8.836,0, 16-7.163, 16-16l0-16 c0-169.27, 128-210, 128-330C 416,67.157, 344.365,0, 256,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 149.961,0, 64,85.961, 64,192c0,192, 192,320, 192,320s 192-128, 192-320C 448,85.961, 362.039,0, 256,0z M 322.991,396.373\n\tc-24.718,29.093-49.755,51.45-66.991,65.485c-17.237-14.035-42.274-36.394-66.991-65.485c-25.119-29.564-45.030-60.251-59.181-91.204\n\tC 112.689,267.684, 104,229.607, 104,192c0-40.601, 15.811-78.771, 44.52-107.48S 215.399,40, 256,40c 40.602,0, 78.771,15.811, 107.48,44.52\n\tS 408,151.399, 408,192c0,37.607-8.689,75.684-25.827,113.169C 368.021,336.122, 348.11,366.809, 322.991,396.373zM 256,96c-35.346,0-64,28.654-64,64s 28.654,64, 64,64c 35.347,0, 64-28.654, 64-64S 291.347,96, 256,96z M 256,192\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32S 273.673,192, 256,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 149.961,0, 64,85.961, 64,192c0,192, 192,320, 192,320s 192-128, 192-320C 448,85.961, 362.039,0, 256,0z M 256,224\n\tc-35.346,0-64-28.654-64-64s 28.654-64, 64-64c 35.347,0, 64,28.654, 64,64S 291.347,224, 256,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,288, 160,288s 160-128, 160-288C 416,71.634, 344.365,0, 256,0z M 256,258\n\tc-54.124,0-98-43.876-98-98s 43.876-98, 98-98s 98,43.876, 98,98S 310.124,258, 256,258z M 194,160c0,34.242, 27.758,62, 62,62\n\tc 34.242,0, 62-27.758, 62-62s-27.758-62-62-62C 221.758,98, 194,125.758, 194,160zM 393.128,348.815c-7.091,11.137-14.438,21.69-21.828,31.613c 1.173,0.551, 2.333,1.108, 3.471,1.677\n\tC 399.106,394.274, 410,407.896, 410,416s-10.894,21.726-35.229,33.895C 344.131,465.214, 300.841,474, 256,474\n\ts-88.131-8.786-118.771-24.105C 112.893,437.726, 102,424.104, 102,416s 10.893-21.726, 35.229-33.895\n\tc 1.138-0.568, 2.298-1.126, 3.47-1.677c-7.39-9.923-14.737-20.477-21.827-31.613C 84.935,366.131, 64,389.841, 64,416\n\tc0,53.020, 85.961,96, 192,96c 106.039,0, 192-42.98, 192-96C 448,389.841, 427.065,366.131, 393.128,348.815z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,352, 160,352s 160-192, 160-352C 416,71.634, 344.365,0, 256,0z M 256,258\n\tc-54.124,0-98-43.876-98-98s 43.876-98, 98-98s 98,43.876, 98,98S 310.124,258, 256,258zM 194,160A62,62 1080 1 1 318,160A62,62 1080 1 1 194,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,288, 160,288s 160-128, 160-288C 416,71.634, 344.365,0, 256,0z M 256,256\n\tc-53.020,0-96-42.98-96-96s 42.98-96, 96-96c 53.020,0, 96,42.98, 96,96S 309.020,256, 256,256zM 393.128,348.815c-7.091,11.137-14.438,21.69-21.828,31.613c 1.173,0.551, 2.333,1.108, 3.471,1.677\n\tC 399.106,394.274, 410,407.896, 410,416s-10.894,21.726-35.229,33.895C 344.131,465.214, 300.841,474, 256,474\n\ts-88.131-8.786-118.771-24.105C 112.893,437.726, 102,424.104, 102,416s 10.893-21.726, 35.229-33.895\n\tc 1.138-0.568, 2.298-1.126, 3.47-1.677c-7.39-9.923-14.737-20.477-21.827-31.613C 84.935,366.131, 64,389.841, 64,416\n\tc0,53.020, 85.961,96, 192,96c 106.039,0, 192-42.98, 192-96C 448,389.841, 427.065,366.131, 393.128,348.815z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,352, 160,352s 160-192, 160-352C 416,71.634, 344.365,0, 256,0z M 256,256\n\tc-53.020,0-96-42.98-96-96s 42.98-96, 96-96s 96,42.98, 96,96S 309.020,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pushpin, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 272,0l-48,48l 48,48L 160,224L 48,224 l 88,88L0,492.308L0,512 l 19.692,0 L 200,376l 88,88L 288,352 l 128-112l 48,48l 48-48L 272,0z M 224,272l-32-32\n\tl 112-112l 32,32L 224,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 48,64 C 21.6,64,0,85.6,0,112l0,320 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.4,64, 464,64z\n\t M 199.37,275.186L 64,380.632L 64,129.811 L 199.37,275.186z M 88.19,128L 423.81,128 L 256,254L 88.19,128z M 204.644,280.849L 256,336l 51.355-55.151\n\tL 412.632,416L 99.368,416 L 204.644,280.849z M 312.63,275.186L 448,129.811l0,250.821 L 312.63,275.186z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop-opened, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 325.607,361.050L 512,489.605L 512,193.657 \tzM0,193.657L0,489.605L 186.388,361.032 \tzM 256,423.56L 211.499,383.605L0,511.868L 512,511.868L 300.494,383.605 \tzM 15.359,192L 496.64,192L 255.999,11.074 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"mail-send, send, envelope\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 607.984,128L 192.015,128L 400,294.389 \tzM 400,345.611L 373.791,324.646L 202.5,416L 597.499,416L 426.209,324.646 \tzM 460.21,297.443L 640,393.333L 640,153.612 \tzM 160,153.612L 160,393.333L 339.791,297.443 \tzM 128,192L0,184L0,168L 128,160 \tzM 128,288L0,280L0,264L 128,256 \tzM 128,384L0,376L0,360L 128,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 325.608,265.182L 512,393.736L 512,97.789 \tzM0,97.789L0,393.736L 186.388,265.164 \tzM 256,327.691L 211.499,287.736L0,416L 512,416L 300.495,287.736 \tzM 496.64,96L 15.36,96L 256,276.926 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,64L 32,64 C 14.4,64,0,78.4,0,96l0,320 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,96 C 512,78.4, 497.6,64, 480,64z M 448,128\n\tl0,23 L 256,264.143L 64,151l0-23 L 448,128 z M 64,384L 64,206.714 l 192,113.143l 192-113.143L 448,384 L 64,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"notebook, notes, book, journal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 449.18,32L 64,32 l0,64 L 17.18,96 C 8.38,96,0,102.264,0,111.064l0,32 C0,151.864, 8.38,160, 17.18,160L 64,160 l0,32 L 17.18,192 \n\tC 8.38,192,0,198.264,0,207.064l0,32 C0,247.864, 8.38,256, 17.18,256L 64,256 l0,32 L 17.18,288 C 8.38,288,0,294.264,0,303.064l0,32 \n\tC0,343.863, 8.38,352, 17.18,352L 64,352 l0,32 L 17.18,384 C 8.38,384,0,390.264,0,399.064l0,32 C0,439.864, 8.38,448, 17.18,448L 64,448 l0,64 l 385.18,0 \n\tc 17.674,0, 30.82-15.263, 30.82-32.936l0-416 C 480,45.391, 466.854,32, 449.18,32z M 160,480L 96,480 l0-32 l 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936\n\tl0-32 c0-8.801-6.021-15.064-14.82-15.064L 96,384 l0-32 l 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936l0-32 c0-8.801-6.021-15.064-14.82-15.064L 96,288 l0-32 \n\tl 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936l0-32 c0-8.801-6.021-15.064-14.82-15.064L 96,192 l0-32 l 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936l0-32 \n\tC 128,102.263, 121.98,96, 113.18,96L 96,96 L 96,64 l 64,0 L 160,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"address-book, book, contacts\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128c 17.673,0, 32-14.327, 32-32L 512,32 l-64,0 L 448,0 L 32,0 C 14.4,0,0,14.399,0,32l0,448 c0,17.6, 14.398,32, 32,32l 416,0 L 448,384 l 32,0 \n\tc 17.673,0, 32-14.327, 32-32l0-64 l-64,0 l0-32 l 32,0 c 17.673,0, 32-14.327, 32-32l0-64 l-64,0 l0-32 L 480,128 z M 288,128.165\n\tc 35.255,0, 63.835,28.58, 63.835,63.835s-28.58,63.835-63.835,63.835c-35.255,0-63.835-28.58-63.835-63.835\n\tS 252.745,128.165, 288,128.165z M 128,480L 96,480 L 96,32 l 32,0 L 128,480 z M 384,384L 192,384 l0-32 c0-35.347, 28.654-64, 64-64l0,0 l 64,0 c 35.348,0, 64,28.653, 64,64\n\tL 384,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"address-book, book, contacts\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,224L 80,224L 80,304L 32,304zM 32,128L 80,128L 80,208L 32,208zM 32,320L 80,320L 80,400L 32,400zM 32,416L 80,416L 80,496L 32,496zM 96,0l0,512 l 384,0 L 480,0 L 96,0 z M 288,128.165c 35.255,0, 63.835,28.58, 63.835,63.835s-28.58,63.835-63.835,63.835\n\t\tc-35.255,0-63.835-28.58-63.835-63.835S 252.745,128.165, 288,128.165z M 384,384L 192,384 l0-32 c0-35.347, 28.654-64, 64-64l0,0 l 64,0 \n\t\tc 35.348,0, 64,28.653, 64,64L 384,384 zM 32,32L 80,32L 80,112L 32,112z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone-hang-up, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424.382,388.799 C 441.311,388.799 482.44,386.766 498.852,367.945 C 507.097,358.495 511.376,344.13 511.936,324.030 C 512.285,311.501 511.208,296.612 508.733,279.777 L 508.669,279.366 C 504.458,254.51 492.619,233.415 470.282,210.968 L 469.649,210.361 C 439.541,182.778 390.517,151.251 276.851,147.563 L 276.851,147.201 L 257.851,147.201 L 256.030,147.208 L 254.148,147.201 L 235.148,147.215 L 235.148,147.564 C 121.482,151.252 72.458,182.779 42.35,210.362 L 41.716,210.971 C 19.381,233.415 7.542,254.509 3.331,279.367 L 3.266,279.778 C 0.792,296.612 -0.285,311.501 0.063,324.031 C 0.623,344.13 4.902,358.495 13.145,367.945 C 29.561,386.767 70.697,388.799 87.621,388.799 C 110.601,388.799 132.23,385.328 148.522,379.025 C 181.239,366.368 186.124,345.147 186.124,333.625 C 186.124,322.556 182.829,313.434 180.182,306.105 C 176.106,294.823 175.82,293.398 180.649,287.862 C 194.004,272.552 224.119,272.546 255.996,272.54 C 287.879,272.546 317.995,272.551 331.349,287.863 C 336.179,293.399 335.893,294.824 331.818,306.105 C 329.17,313.435 325.875,322.557 325.875,333.625 C 325.875,345.146 330.761,366.366 363.479,379.023 C 379.772,385.326 401.399,388.798 424.378,388.799 C 424.38,388.799 424.38,388.799 424.382,388.799 Z M 255.997,234.539 C 217.023,234.546 176.723,234.553 152.013,262.882 C 132.321,285.459 139.909,306.464 144.443,319.014 C 146.418,324.484 148.125,329.208 148.125,333.623 C 148.125,339.452 126.77,350.798 87.622,350.798 C 62.053,350.798 45.257,345.651 41.646,342.793 C 39.379,339.74 35.172,324.195 40.833,285.514 C 42.858,273.715 47.768,258.857 68.355,238.075 C 95.091,213.693 140.475,185.782 254.244,185.215 L 255.654,185.207 L 256.031,185.208 L 256.249,185.207 L 257.757,185.215 C 371.541,185.782 416.921,213.7 443.654,238.085 C 464.237,258.866 469.144,273.719 471.169,285.517 C 476.831,324.2 472.622,339.742 470.353,342.795 C 466.744,345.653 449.95,350.799 424.379,350.799 C 385.23,350.798 363.875,339.453 363.875,333.624 C 363.875,329.209 365.582,324.486 367.558,319.016 C 372.092,306.465 379.681,285.459 359.987,262.883 C 335.277,234.553 294.977,234.546 255.997,234.539 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone-hang-up, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 508.689,287.997 C 512.691,315.738 515.297,353.693 502.857,368.22 C 482.286,392.242 352.001,392.242 352.001,344.199 C 352.001,320 373.429,304.132 352.857,280.11 C 332.621,256.479 296.344,256.095 256,256.089 C 215.657,256.095 179.379,256.479 159.143,280.11 C 138.572,304.133 160,320 160,344.199 C 160,392.242 29.715,392.242 9.143,368.221 C -3.296,353.694 -0.691,315.739 3.312,287.998 C 6.392,269.479 14.174,249.5 39.086,224.001 C 39.086,224 39.087,224 39.087,223.999 C 76.456,189.128 133.010,160.63 254,160.015 L 254,160 C 254.672,160 255.332,160.005 256,160.007 C 256.669,160.005 257.328,160 258,160 L 258,160.014 C 378.99,160.629 435.544,189.127 472.913,223.998 C 472.914,223.999 472.914,224 472.914,224 C 497.826,249.498 505.609,269.477 508.689,287.997 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 403.655,512L 397.6,512 c-32.828,0-82.212-15.348-135.488-42.106c-52.054-26.146-99.579-58.811-130.387-89.619\n\t\tc-30.809-30.808-63.473-78.332-89.618-130.386C 15.347,196.612,0,147.228,0,114.399l0-6.056 l 3.359-5.038\n\t\tc 0.667-1, 16.557-24.767, 36.677-48.91C 61.141,29.070, 88.666,0, 114.4,0c 22.215,0, 49.753,22.282, 64.191,35.564\n\t\tc 11.086,10.199, 38.206,37.139, 50.555,66.953c 13.070,31.554, 1.723,49.564-6.205,57.491c-13.666,13.666-27.12,21.981-37.931,28.663\n\t\tc-16.997,10.505-19.144,12.762-19.144,20.128c0,23.18, 29.012,52.193, 57.068,80.252c 28.069,28.067, 57.083,57.081, 80.265,57.081\n\t\tc 7.366,0, 9.624-2.147, 20.128-19.144c 6.682-10.812, 14.998-24.266, 28.664-37.932c 7.975-7.975, 18.547-12.191, 30.574-12.191\n\t\tc 13.033,0, 27.884,4.986, 44.139,14.821c 12.849,7.772, 26.457,18.512, 39.355,31.056C 476.837,333.225, 512,369.599, 512,397.6\n\t\tc0,25.734-29.070,53.26-54.396,74.364c-24.144,20.12-47.91,36.011-48.91,36.677L 403.655,512z M 40.212,120.282\n\t\tc 1.845,26.779, 15.62,67.814, 37.639,111.653c 23.947,47.677, 54.66,92.558, 82.158,120.055c 27.498,27.498, 72.378,58.212, 120.056,82.158\n\t\tc 43.839,22.020, 84.871,35.795, 111.649,37.64c 7.785-5.418, 23.196-16.44, 38.681-29.225c 36.434-30.080, 41.072-43.227, 41.569-45.081\n\t\tc-0.911-5.818-11.776-24.986-35.052-47.28c-23.913-22.904-44.934-33.336-54.346-33.336c-1.204,0-1.975,0.16-2.29,0.476\n\t\tc-10.373,10.373-16.753,20.695-22.922,30.677c-11.041,17.865-23.557,38.114-54.154,38.114c-39.75,0-74.721-34.97-108.54-68.787\n\t\tc-33.827-33.828-68.794-68.797-68.794-108.546c0-30.598, 20.249-43.113, 38.115-54.154c 9.982-6.169, 20.304-12.549, 30.676-22.921\n\t\tc 0.598-0.598, 1.055-4.287-1.481-11.354c-5.294-14.753-20.189-34.967-38.872-52.752c-20.225-19.252-35.43-26.847-39.793-27.58\n\t\tc-1.88,0.507-15.083,5.192-45.267,41.8C 56.506,97.286, 45.591,112.55, 40.212,120.282zM 320,128c-22.419,0-42.133,11.536-53.563,28.987C 274.33,153.781, 282.955,152, 292,152c 37.556,0, 68,30.445, 68,68\n\tc0,9.045-1.781,17.669-4.987,25.563C 372.464,234.133, 384,214.419, 384,192C 384,156.654, 355.347,128, 320,128zM 336,64c-33.896,0-64.273,15.059-84.812,38.85C 267.98,93.398, 287.358,88, 308,88c 64.064,0, 116,51.935, 116,116\n\tc0,20.642-5.398,40.020-14.85,56.812C 432.941,240.273, 448,209.896, 448,176C 448,114.144, 397.855,64, 336,64zM 368,0c-41.519,0-78.926,17.578-105.206,45.689C 285.271,31.917, 311.707,23.972, 340,23.972c 81.738,0, 148,66.269, 148,148.014\n\tc0,28.326-7.962,54.79-21.761,77.286C 494.393,222.989, 512,185.554, 512,144C 512,64.471, 447.529,0, 368,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 403.655,512L 397.6,512 c-32.828,0-82.212-15.348-135.488-42.106c-52.054-26.146-99.579-58.811-130.387-89.619\n\t\tc-30.809-30.808-63.473-78.332-89.618-130.386C 15.347,196.612,0,147.228,0,114.399l0-6.056 l 3.359-5.038\n\t\tc 0.667-1, 16.557-24.767, 36.677-48.91C 61.141,29.070, 88.666,0, 114.4,0c 22.215,0, 49.753,22.282, 64.191,35.564\n\t\tc 11.086,10.199, 38.206,37.139, 50.555,66.953c 13.070,31.554, 1.723,49.564-6.205,57.491c-13.666,13.666-27.12,21.981-37.931,28.663\n\t\tc-16.997,10.505-19.144,12.762-19.144,20.128c0,23.18, 29.012,52.193, 57.068,80.252c 28.069,28.067, 57.083,57.081, 80.265,57.081\n\t\tc 7.366,0, 9.624-2.147, 20.128-19.144c 6.682-10.812, 14.998-24.266, 28.664-37.932c 7.975-7.975, 18.547-12.191, 30.574-12.191\n\t\tc 13.033,0, 27.884,4.986, 44.139,14.821c 12.849,7.772, 26.457,18.512, 39.355,31.056C 476.837,333.225, 512,369.599, 512,397.6\n\t\tc0,25.734-29.070,53.26-54.396,74.364c-24.144,20.12-47.91,36.011-48.91,36.677L 403.655,512z M 40.212,120.282\n\t\tc 1.845,26.779, 15.62,67.814, 37.639,111.653c 23.947,47.677, 54.66,92.558, 82.158,120.055c 27.498,27.498, 72.378,58.212, 120.056,82.158\n\t\tc 43.839,22.020, 84.871,35.795, 111.649,37.64c 7.785-5.418, 23.196-16.44, 38.681-29.225c 36.434-30.080, 41.072-43.227, 41.569-45.081\n\t\tc-0.911-5.818-11.776-24.986-35.052-47.28c-23.913-22.904-44.934-33.336-54.346-33.336c-1.204,0-1.975,0.16-2.29,0.476\n\t\tc-10.373,10.373-16.753,20.695-22.922,30.677c-11.041,17.865-23.557,38.114-54.154,38.114c-39.75,0-74.721-34.97-108.54-68.787\n\t\tc-33.827-33.828-68.794-68.797-68.794-108.546c0-30.598, 20.249-43.113, 38.115-54.154c 9.982-6.169, 20.304-12.549, 30.676-22.921\n\t\tc 0.598-0.598, 1.055-4.287-1.481-11.354c-5.294-14.753-20.189-34.967-38.872-52.752c-20.225-19.252-35.43-26.847-39.793-27.58\n\t\tc-1.88,0.507-15.083,5.192-45.267,41.8C 56.506,97.286, 45.591,112.55, 40.212,120.282z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"call-outgoing, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320 C 384,288 480,384 480,416 C 480,448 384,512 384,512 C 320,512 190.25,446.25 128,384 C 65.75,321.75 0,192 0,128 C 0,128 64,32 96,32 C 128,32 224,128 192,160 C 160,192 128,192 128,224 C 128,256 160,288 192,320 C 224,352 256,384 288,384 C 320,384 320,352 352,320 ZM 448,64 L 448,240 L 382.628,174.628 L 301.256,256 L 256,256 L 256,210.745 L 337.372,129.372 L 272,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"call-incoming, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320 C 384,288 480,384 480,416 C 480,448 384,512 384,512 C 320,512 190.25,446.25 128,384 C 65.75,321.75 0,192 0,128 C 0,128 64,32 96,32 C 128,32 224,128 192,160 C 160,192 128,192 128,224 C 128,256 160,288 192,320 C 224,352 256,384 288,384 C 320,384 320,352 352,320 ZM 256,256 L 256,80 L 321.372,145.372 L 402.744,64 L 448,64 L 448,109.255 L 366.628,190.628 L 432,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-remove, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 288,96L 480,96L 480,160L 288,160zM 288,96L 480,96L 480,160L 288,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-add, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 480,160 L 416,160 L 416,224 L 352,224 L 352,160 L 288,160 L 288,96 L 352,96 L 352,32 L 416,32 L 416,96 L 480,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-remove, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 368,0c-79.528,0-144,64.471-144,144s 64.472,144, 144,144s 144-64.471, 144-144S 447.528,0, 368,0z M 447.876,160L 288.124,160 l0-32 \n\tl 159.752,0 L 447.876,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-add, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 368,0c-79.528,0-144,64.471-144,144s 64.472,144, 144,144s 144-64.471, 144-144S 447.528,0, 368,0z M 384,160l0,63.876 l-32,0 L 352,160 \n\tl-63.876,0 l0-32 L 352,128 L 352,64.124 l 32,0 L 384,128 l 63.876,0 l0,32 L 384,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320 C 384,288 480,384 480,416 C 480,448 384,512 384,512 C 320,512 190.25,446.25 128,384 C 65.75,321.75 0,192 0,128 C 0,128 64,32 96,32 C 128,32 224,128 192,160 C 160,192 128,192 128,224 C 128,256 160,288 192,320 C 224,352 256,384 288,384 C 320,384 320,352 352,320 ZM 320,128c-22.419,0-42.133,11.536-53.563,28.987C 274.33,153.781, 282.955,152, 292,152c 37.556,0, 68,30.445, 68,68\n\tc0,9.045-1.781,17.669-4.987,25.563C 372.464,234.133, 384,214.419, 384,192C 384,156.654, 355.347,128, 320,128zM 336,64c-33.896,0-64.273,15.059-84.812,38.85C 267.98,93.398, 287.358,88, 308,88c 64.064,0, 116,51.935, 116,116\n\tc0,20.642-5.398,40.020-14.85,56.812C 432.941,240.273, 448,209.896, 448,176C 448,114.144, 397.855,64, 336,64zM 368,0c-41.519,0-78.926,17.578-105.206,45.689C 285.271,31.917, 311.707,23.972, 340,23.972c 81.738,0, 148,66.269, 148,148.014\n\tc0,28.326-7.962,54.79-21.761,77.286C 494.393,222.989, 512,185.554, 512,144C 512,64.471, 447.529,0, 368,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c-32,32-32,64-64,64s-64-32-96-64s-64-64-64-96s 32-32, 64-64S 128,32, 96,32S0,128,0,128c0,64, 65.75,193.75, 128,256\n\ts 192,128, 256,128c0,0, 96-64, 96-96S 384,288, 352,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 321.788,371.146c-11.188,6.236-20.175,2.064-32.764-4.572c-11.46-8.748-45.402-35.438-81.226-71.188\n\t\tc-26.156-33.084-46.162-64.288-55.375-79.293c-0.625-1.66-0.944-2.632-0.944-2.632c-5.397-13.476-8.771-22.92-1.324-33.521\n\t\tc 6.854-9.727, 9.5-12.383, 18.24-20.108L 80.605,29.708c-10.604,7.728-27.018,25.106-40.509,44.378\n\t\tc-12.538,18.317-23.154,38.587-26.049,53.055c 15.295,55.117, 52.258,157.896, 120.583,231.325l-0.021,0.308\n\t\tC 200.339,439.802, 304.774,490.204, 360.18,512c 14.679-1.385, 35.938-9.844, 55.456-20.404c 20.598-11.415, 39.567-25.945, 48.329-35.685\n\t\tL 343.677,355.082C 335.080,362.992, 332.179,365.336, 321.788,371.146zM 205.61,128.658c 7.241-5.302, 5.313-14.944, 1.926-20.245L 140.957,6.5c-4.344-5.291-13.396-8.064-21.252-5.579L 92.272,19.302\n\t\tl 88.034,129.879L 205.61,128.658zM 492.949,397.846l-94.473-76.788c-4.93-3.918-14.313-6.838-20.325-0.188l-23.046,23.050l 120.047,101.015l 21.136-25.357\n\t\tC 499.573,412.014, 497.755,402.721, 492.949,397.846z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 457.153,103.648 C 510.42,133.932 512,166.357 512.002,188.997 L 512.002,192.394 C 512.002,197.576 507.533,201.812 502.074,201.812 L 381.928,201.812 C 376.469,201.812 372,197.576 372,192.394 L 372,180.941 C 372,152.336 344.645,147.766 329.551,145.336 C 314.455,142.91 276.934,140.559 256.071,140.559 C 256.045,140.559 256.025,140.559 256.005,140.559 C 255.976,140.559 255.956,140.559 255.928,140.559 C 235.066,140.559 197.541,142.909 182.448,145.336 C 167.355,147.763 139.999,152.334 139.999,180.941 L 139.999,192.394 C 139.999,197.576 135.53,201.812 130.073,201.812 L 9.927,201.812 C 4.47,201.812 0.001,197.576 0.001,192.394 L 0.001,188.997 C 0.001,166.357 1.581,133.932 54.848,103.648 C 118.198,67.638 208.777,64 255.928,64 C 255.956,64.025 255.976,64.055 256.005,64.078 C 256.023,64.056 256.044,64.024 256.071,64 C 303.223,64 393.803,67.634 457.153,103.648 ZM 256.001,192c-28.374,0-87.443,2.126-117.456,38.519C 108.523,266.902, 33.455,448, 100.398,448c 66.956,0, 125.458,0, 155.606,0\n\t\tc 30.137,0, 88.648,0, 155.595,0c 66.945,0-8.125-181.098-38.137-217.481C 343.444,194.126, 284.362,192, 256.001,192z M 256,384\n\t\tc-35.346,0-64-28.653-64-64s 28.654-64, 64-64c 35.347,0, 64,28.653, 64,64S 291.347,384, 256,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"support, help, life, lifebuoy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,256\n\tc0-53.020, 42.98-96, 96-96s 96,42.98, 96,96s-42.98,96-96,96S 160,309.020, 160,256z M 462.99,341.738L 462.99,341.738l-88.71-36.745\n\tC 380.539,289.901, 384,273.355, 384,256s-3.461-33.901-9.72-48.993l 61.063-25.293l 27.647-11.452C 473.944,196.673, 480,225.627, 480,256\n\tC 480,286.373, 473.943,315.327, 462.99,341.738L 462.99,341.738z M 341.739,49.010L 341.739,49.010L 341.739,49.010l-36.745,88.71\n\tC 289.902,131.461, 273.356,128, 256,128s-33.901,3.461-48.993,9.72l-17.23-41.599l-19.515-47.112C 196.673,38.057, 225.628,32, 256,32\n\tC 286.373,32, 315.327,38.057, 341.739,49.010z M 49.010,170.262l 47.112,19.515l 41.599,17.23C 131.462,222.099, 128,238.645, 128,256\n\ts 3.461,33.901, 9.72,48.993l-88.71,36.745C 38.057,315.327, 32,286.373, 32,256C 32,225.627, 38.057,196.673, 49.010,170.262z\n\t M 170.262,462.99l 11.452-27.647l 25.293-61.063C 222.099,380.539, 238.645,384, 256,384s 33.901-3.461, 48.993-9.72l 36.745,88.71l0,0l0,0\n\tC 315.327,473.942, 286.373,480, 256,480C 225.628,480, 196.673,473.943, 170.262,462.99z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calculate, sum, calculator, compute, math, arithmetic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32L 32,32 C 14.4,32,0,46.4,0,64l0,160 c0,17.6, 14.398,32, 32,32l 160,0 c 17.6,0, 32-14.4, 32-32L 224,64 C 224,46.4, 209.6,32, 192,32z\n\t M 192,160L 32,160 l0-32 l 160,0 L 192,160 z M 448,32L 288,32 c-17.602,0-32,14.4-32,32l0,416 c0,17.6, 14.398,32, 32,32l 160,0 c 17.6,0, 32-14.4, 32-32L 480,64 \n\tC 480,46.4, 465.6,32, 448,32z M 448,320L 288,320 l0-32 l 160,0 L 448,320 z M 448,224L 288,224 l0-32 l 160,0 L 448,224 z M 192,288L 32,288 c-17.6,0-32,14.4-32,32l0,160 \n\tc0,17.6, 14.398,32, 32,32l 160,0 c 17.6,0, 32-14.4, 32-32L 224,320 C 224,302.4, 209.6,288, 192,288z M 192,416l-64,0 l0,64 L 96,480 l0-64 L 32,416 l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 \n\tL 192,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calculate, sum, calculator, compute, math, arithmetic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 128,0 c-17.6,0-32,14.4-32,32l0,448 c0,17.6, 14.4,32, 32,32l 256,0 c 17.6,0, 32-14.4, 32-32L 416,32 C 416,14.4, 401.6,0, 384,0z M 192,480\n\tl-64,0 l0-64 l 64,0 L 192,480 z M 192,384l-64,0 l0-64 l 64,0 L 192,384 z M 192,288l-64,0 l0-64 l 64,0 L 192,288 z M 288,480l-64,0 l0-64 l 64,0 L 288,480 z M 288,384l-64,0 l0-64 l 64,0 L 288,384 z M 288,288\n\tl-64,0 l0-64 l 64,0 L 288,288 z M 384,480l-64,0 l0-64 l 64,0 L 384,480 z M 384,384l-64,0 l0-64 l 64,0 L 384,384 z M 384,288l-64,0 l0-64 l 64,0 L 384,288 z M 384,192L 128,192 L 128,32 l 256,0 L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"credit, card, purchase, payment, ecommerce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 48,64 C 21.6,64,0,85.6,0,112l0,288 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.4,64, 464,64z M 96,384\n\tL 64,384 l0-64 l 32,0 L 96,384 z M 160,384l-32,0 l0-64 l 32,0 L 160,384 z M 224,384l-32,0 l0-64 l 32,0 L 224,384 z M 496,256L 16,256 l0-96 l 480,0 L 496,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"credit, card, purchase, payment, ecommerce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 48,64 C 21.6,64,0,85.6,0,112l0,288 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.4,64, 464,64z M 48,96\n\t\tl 416,0 c 8.673,0, 16,7.327, 16,16l0,48 L 32,160 l0-48 C 32,103.327, 39.327,96, 48,96z M 464,416L 48,416 c-8.673,0-16-7.327-16-16L 32,256 l 448,0 l0,144 \n\t\tC 480,408.673, 472.673,416, 464,416zM 64,320L 96,320L 96,384L 64,384zM 128,320L 160,320L 160,384L 128,384zM 192,320L 224,320L 224,384L 192,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"coins, money, cash\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 335.333,158.667c-11.648,0-23.030,1.14-34.049,3.292c-0.873-0.659-1.763-1.314-2.694-1.958\n\t\tc 13.614-9.414, 21.41-20.342, 21.41-32L 320,96 c0-35.346-71.634-64-160-64S0,60.654,0,96l0,32 c0,11.658, 7.796,22.586, 21.41,32\n\t\tC 7.796,169.414,0,180.342,0,192l0,32 c0,11.658, 7.796,22.586, 21.411,32C 7.796,265.414,0,276.343,0,288l0,32 \n\t\tc0,11.658, 7.796,22.586, 21.41,32C 7.796,361.414,0,372.343,0,384l0,32 c0,35.347, 71.634,64, 160,64c 23.616,0, 46.021-2.057, 66.2-5.73\n\t\tC 256.244,497.902, 294.143,512, 335.333,512C 432.904,512, 512,432.903, 512,335.333C 512,237.763, 432.904,158.667, 335.333,158.667z\n\t\t M 16,96c0-9.523, 14.447-21.456, 36.805-30.399C 81.18,54.251, 119.25,48, 160,48s 78.82,6.251, 107.195,17.601\n\t\tC 289.553,74.544, 304,86.477, 304,96s-14.447,21.456-36.805,30.399c-9.23,3.692-19.492,6.841-30.533,9.414\n\t\tC 213.763,141.15, 187.495,144, 160,144s-53.763-2.85-76.663-8.187c-11.041-2.573-21.302-5.722-30.532-9.414\n\t\tC 30.447,117.456, 16,105.523, 16,96z M 16,288c0-7.067, 7.961-15.46, 21.203-22.975C 66.553,279.066, 110.666,288, 160,288\n\t\tc 1.71,0, 3.406-0.023, 5.102-0.047c-4.188,15.080-6.436,30.967-6.436,47.38c0,0.22, 0.007,0.438, 0.008,0.658\n\t\tc-27.013-0.090-52.808-2.927-75.339-8.178c-11.040-2.573-21.301-5.722-30.531-9.413C 30.447,309.457, 16,297.523, 16,288z M 160,432\n\t\tc-40.75,0-78.82-6.25-107.195-17.6C 30.447,405.457, 16,393.523, 16,384c0-7.067, 7.961-15.46, 21.203-22.975\n\t\tC 66.553,375.066, 110.666,384, 160,384c 1.824,0, 3.635-0.023, 5.443-0.050c 4.82,16.873, 12.088,32.713, 21.391,47.114\n\t\tC 178.073,431.677, 169.108,432, 160,432z M 160,240c-27.494,0-53.763-2.85-76.662-8.187c-11.041-2.573-21.303-5.722-30.533-9.414\n\t\tC 30.447,213.456, 16,201.523, 16,192c0-7.067, 7.961-15.46, 21.202-22.975C 66.552,183.066, 110.665,192, 160,192\n\t\tc 32.961,0, 63.569-4.001, 89.022-10.836c-24.988,14.020-46.22,33.935-61.811,57.865C 178.33,239.66, 169.241,240, 160,240z\n\t\t M 335.333,479.879c-79.83,0-144.545-64.715-144.545-144.546c0-79.83, 64.715-144.545, 144.545-144.545\n\t\tc 79.831,0, 144.546,64.715, 144.546,144.545C 479.879,415.164, 415.164,479.879, 335.333,479.879zM 352,224l-32,0 l0,32 l-64,0 l0,96 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 l 32,0 l0-32 l 64,0 l0-96 l-64,0 l0-32 l 64,0 l0-32 l-64,0 L 352,224 z M 320,320l-32,0 l0-32 l 32,0 L 320,320 z M 384,352l0,32 \n\t\tl-32,0 l0-32 L 384,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"coin, money, cash\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\t\tC 480,139.452, 372.549,32, 240,32z M 240,464c-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192\n\t\tc 106.039,0, 192,85.961, 192,192C 432,378.039, 346.039,464, 240,464zM 256,256l0-64 l 64,0 l0-32 l-64,0 l0-32 l-32,0 l0,32 l-64,0 l0,128 l 64,0 l0,64 l-64,0 l0,32 l 64,0 l0,32 l 32,0 l0-32 l 64,0 l 0.001,0 L 320,256L 256,256 z M 224,256l-32,0 l0-64 l 32,0 L 224,256 z\n\t M 288.001,352L 256,352 l0-64 l 32.001,0 L 288.001,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bag, cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,160l-80,0 c0-88.365-42.98-160-96-160s-96,71.635-96,160L 80,160 c-8.8,0-16,7.2-16,16l0,320 c0,8.8, 7.2,16, 16,16l 352,0 \n\tc 8.8,0, 16-7.2, 16-16L 448,176 C 448,167.2, 440.8,160, 432,160z M 256,32c 35.347,0, 64,57.308, 64,128L 192,160 C 192,89.308, 220.654,32, 256,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bag, store, ecommerce, purchase, buy, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 352,80 c0-44.183-35.817-80-80-80c-18.011,0-34.629,5.955-48,15.999C 210.629,5.955, 194.011,0, 176,0\n\tc-44.183,0-80,35.817-80,80l0,54.4 L 32,144l0,336 l 64,0 l 32,32l 320-48L 448,128 L 352,96z M 64,420l0-8 l 32,0 l0,8 L 64,420 z M 96,428l0,8 L 64,436 l0-8 L 96,428 z M 64,404l0-8 l 32,0 l0,8 \n\tL 64,404 z M 64,388l0-8 l 32,0 l0,8 L 64,388 z M 64,372l0-8 l 32,0 l0,8 L 64,372 z M 64,356l0-8 l 32,0 l0,8 L 64,356 z M 64,340l0-8 l 32,0 l0,8 L 64,340 z M 64,324l0-8 l 32,0 l0,8 L 64,324 z M 64,308l0-8 l 32,0 l0,8 L 64,308 z\n\t M 64,292l0-8 l 32,0 l0,8 L 64,292 z M 64,276l0-8 l 32,0 l0,8 L 64,276 z M 64,260l0-8 l 32,0 l0,8 L 64,260 z M 64,244l0-8 l 32,0 l0,8 L 64,244 z M 64,228l0-8 l 32,0 l0,8 L 64,228 z M 64,212l0-8 l 32,0 l0,8 L 64,212 z\n\t M 64,196l0-8 l 32,0 l0,8 L 64,196 z M 64,180l0-8 l 32,0 l0,8 L 64,180 z M 64,448l0-4 l 32,0 l0,4 L 64,448 z M 380,170.558l 8-1.2l0,271.284 l-8,1.199L 380,170.558 z M 372,443.042l-8,1.2\n\tL 364,172.958 l 8-1.2L 372,443.042 z M 396,168.158l 8-1.2l0,271.284 l-8,1.2L 396,168.158 z M 356,174.158l0,271.284 l-8,1.2L 348,175.358 L 356,174.158z\n\t M 252,189.758l 8-1.2l0,271.284 l-8,1.2L 252,189.758 z M 244,462.242l-8,1.2L 236,192.158 l 8-1.2L 244,462.242 z M 268,187.358l 8-1.2l0,271.284 l-8,1.199\n\tL 268,187.358 z M 284,184.958l 8-1.2l0,271.284 l-8,1.2L 284,184.958 z M 300,182.558l 8-1.2l0,271.284 l-8,1.199L 300,182.558 z M 316,180.158l 8-1.2l0,271.284 \n\tl-8,1.2L 316,180.158 z M 332,177.758l 8-1.2l0,271.284 l-8,1.2L 332,177.758 z M 272,32c 26.468,0, 48,21.533, 48,48l0,20.8 l-64,9.6L 256,80 \n\tc0-14.531-3.894-28.145-10.666-39.89C 252.967,34.992, 262.14,32, 272,32z M 228,193.358l0,271.283 l-8,1.2L 220,194.558 L 228,193.358z\n\t M 180,200.558l0,271.284 l-8,1.2L 172,201.758 L 180,200.558z M 188,199.358l 8-1.2l0,271.283 l-8,1.2L 188,199.358 z M 204,196.958l 8-1.2l0,271.284 l-8,1.2\n\tL 204,196.958 z M 128,80c0-26.467, 21.533-48, 48-48c 9.86,0, 19.033,2.992, 26.666,8.111C 195.894,51.855, 192,65.469, 192,80l0,40 l-64,9.6L 128,80 z\n\t M 160,203.558l 4-0.6l0,271.284 l-4,0.6L 160,203.558 z M 416,436.442l-4,0.6L 412,165.758 l 4-0.6L 416,436.442 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bag, store, ecommerce, purchase, buy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 352,80 c0-44.183-35.817-80-80-80c-18.011,0-34.629,5.955-48,15.999C 210.629,5.955, 194.011,0, 176,0\n\tc-44.183,0-80,35.817-80,80l0,54.4 L 32,144l0,336 l 64,0 l 32,32l 320-48L 448,128 L 352,96z M 96,448L 64,448 L 64,171.558 l 32-4.8L 96,448 z M 272,32\n\tc 26.468,0, 48,21.533, 48,48l0,20.8 l-64,9.6L 256,80 c0-14.531-3.894-28.145-10.666-39.89C 252.967,34.992, 262.14,32, 272,32z M 128,80\n\tc0-26.467, 21.533-48, 48-48c 9.86,0, 19.033,2.992, 26.666,8.111C 195.894,51.855, 192,65.469, 192,80l0,40 l-64,9.6L 128,80 z M 416,436.442\n\tl-256,38.399L 160,203.558 l 256-38.4L 416,436.442 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"basket, cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,512l 383.459,0 c0,0, 32.541-64, 64-256L0,256 C 32,448, 64,512, 64,512z M 368,288l 48,0 l0,192 l-48,0 L 368,288 z M 277.333,288l 48,0 l0,192 l-48,0 L 277.333,288 z\n\t\t M 186.667,288l 48,0 l0,192 l-48,0 L 186.667,288 z M 96,288l 48,0 l0,192 L 96,480 L 96,288 zM 437.768,160L 347.9,47.666c 2.606-4.631, 4.1-9.973, 4.1-15.666c0-17.673-14.327-32-32-32c-17.674,0-32,14.327-32,32\n\t\ts 14.326,32, 32,32c 3.185,0, 6.259-0.472, 9.162-1.338L 407.032,160L 104.968,160 l 77.871-97.338C 185.742,63.528, 188.815,64, 192,64\n\t\tc 17.673,0, 32-14.327, 32-32S 209.673,0, 192,0s-32,14.327-32,32c0,5.693, 1.493,11.034, 4.1,15.666L 74.232,160L0,160 l0,64 l 512,0 l0-64 L 437.768,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"basket, cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 406.494,192L 317.573,76.235C 319.134,72.465, 320,68.334, 320,64c0-17.673-14.326-32-32-32c-17.673,0-32,14.327-32,32\n\ts 14.327,32, 32,32c 1.421,0, 2.816-0.102, 4.188-0.282L 366.144,192L 145.857,192 l 73.956-96.282C 221.184,95.898, 222.58,96, 224,96\n\tc 17.673,0, 32-14.327, 32-32s-14.327-32-32-32s-32,14.327-32,32c0,4.334, 0.866,8.465, 2.427,12.234L 105.506,192L0,192 l0,64 l 32,0 l 32,256l 384,0 \n\tl 32-256l 32,0 l0-64 L 406.494,192 z M 160,448L 96,448 l0-64 l 64,0 L 160,448 z M 160,320L 96,320 l0-64 l 64,0 L 160,320 z M 288,448l-64,0 l0-64 l 64,0 L 288,448 z M 288,320l-64,0 l0-64 l 64,0 L 288,320 z\n\t M 416,448l-64,0 l0-64 l 64,0 L 416,448 z M 416,320l-64,0 l0-64 l 64,0 L 416,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-remove, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 402.628,229.372l-45.256,45.256L 288,205.255l-69.373,69.372l-45.255-45.255L 242.745,160l-69.372-69.373l 45.254-45.254\n\tL 288,114.745l 69.372-69.373l 45.256,45.255L 333.255,160L 402.628,229.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-checkout, checkout, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384L 144,384 c-16.138,0-29.751-12.018-31.753-28.031L 83.751,128L 32,128 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 80,0 \n\t\tc 16.138,0, 29.751,12.017, 31.753,28.031L 172.249,320l 219.613,0 l 57.369-200.791c 4.854-16.993, 22.567-26.832, 39.56-21.978\n\t\tc 16.993,4.855, 26.833,22.567, 21.978,39.56l-64,224C 442.844,374.528, 430.287,384, 416,384zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 429.312,77.082L 295.159,255.4L 215,151.91L 241.612,127.485L 293.159,173.125L 406.981,57.75 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-remove, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 394,192 L 320,192 L 320,288 L 256,288 L 256,192 L 182,192 L 288,78 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-add, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 182,160 L 256,160 L 256,64 L 320,64 L 320,160 L 394,160 L 288,274 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-minus, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384L 144,384 c-16.138,0-29.751-12.018-31.753-28.031L 83.751,128L 32,128 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 80,0 \n\t\tc 16.138,0, 29.751,12.017, 31.753,28.031L 172.249,320l 219.613,0 l 57.369-200.791c 4.854-16.993, 22.567-26.832, 39.56-21.978\n\t\tc 16.993,4.855, 26.833,22.567, 21.978,39.56l-64,224C 442.844,374.528, 430.287,384, 416,384zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 192,160L 384,160L 384,224L 192,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-plus, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384L 144,384 c-16.138,0-29.751-12.018-31.753-28.031L 83.751,128L 32,128 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 80,0 \n\t\tc 16.138,0, 29.751,12.017, 31.753,28.031L 172.249,320l 219.613,0 l 57.369-200.791c 4.854-16.993, 22.567-26.832, 39.56-21.978\n\t\tc 16.993,4.855, 26.833,22.567, 21.978,39.56l-64,224C 442.844,374.528, 430.287,384, 416,384zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 384,224 L 320,224 L 320,288 L 256,288 L 256,224 L 192,224 L 192,160 L 256,160 L 256,96 L 320,96 L 320,160 L 384,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231c-16.992-4.854-34.705,4.985-39.56,21.978L 446.72,128L 148.249,128 l-4.496-35.969\n\t\tC 141.751,76.017, 128.138,64, 112,64L 32,64 C 14.327,64,0,78.327,0,96s 14.327,32, 32,32l 51.751,0 l 28.496,227.969\n\t\tC 114.249,371.982, 127.862,384, 144,384l 272,0 c 14.287,0, 26.844-9.472, 30.769-23.209l 64-224\n\t\tC 515.624,119.798, 505.784,102.086, 488.791,97.231z M 437.577,160l-9.144,32L 156.249,192 l-4-32L 437.577,160 z M 419.291,224l-9.143,32L 164.249,256 \n\t\tl-4-32L 419.291,224 z M 172.249,320l-4-32l 232.756,0 l-9.143,32L 172.249,320 zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231c-16.992-4.854-34.705,4.985-39.56,21.978L 446.72,128L 148.249,128 l-4.496-35.969\n\t\tC 141.751,76.017, 128.138,64, 112,64L 32,64 C 14.327,64,0,78.327,0,96s 14.327,32, 32,32l 51.751,0 l 28.496,227.969\n\t\tC 114.249,371.982, 127.862,384, 144,384l 272,0 c 14.287,0, 26.844-9.472, 30.769-23.209l 64-224\n\t\tC 515.624,119.798, 505.784,102.086, 488.791,97.231z M 256,256l0-32 l 63.998,0 l0,32 L 256,256 z M 319.998,288l0,32 L 256,320 l0-32 L 319.998,288 z M 256,192l0-32 \n\t\tl 63.998,0 l0,32 L 256,192 z M 152.249,160L 224,160 l0,32 l-67.751,0 L 152.249,160z M 160.249,224L 224,224 l0,32 l-59.751,0 L 160.249,224z M 168.249,288L 224,288 l0,32 l-51.751,0 \n\t\tL 168.249,288z M 391.862,320l-39.864,0 l0-32 l 49.007,0 L 391.862,320z M 410.148,256l-58.15,0 l0-32 l 67.293,0 L 410.148,256z M 428.434,192l-76.436,0 \n\t\tl0-32 l 85.579,0 L 428.434,192zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231c-16.992-4.854-34.705,4.985-39.56,21.978L 446.72,128L 148.249,128 l-4.496-35.969\n\t\tC 141.751,76.017, 128.138,64, 112,64L 32,64 C 14.327,64,0,78.327,0,96s 14.327,32, 32,32l 51.751,0 l 28.496,227.969\n\t\tC 114.249,371.982, 127.862,384, 144,384l 272,0 c 14.287,0, 26.844-9.472, 30.769-23.209l 64-224\n\t\tC 515.624,119.798, 505.784,102.086, 488.791,97.231z M 391.862,320L 172.249,320 l-0.5-4l 221.256,0 L 391.862,320z M 395.291,308L 170.749,308 l-1-8\n\t\tl 227.827,0 L 395.291,308z M 399.862,292L 168.749,292 l-1-8l 234.399,0 L 399.862,292z M 404.434,276L 166.749,276 l-1-8L 406.72,268 L 404.434,276z\n\t\t M 409.005,260L 164.749,260 l-1-8l 247.542,0 L 409.005,260z M 413.577,244L 162.749,244 l-1-8l 254.113,0 L 413.577,244z M 418.148,228L 160.749,228 l-1-8\n\t\tl 260.685,0 L 418.148,228z M 422.72,212L 158.749,212 l-1-8l 267.256,0 L 422.72,212z M 427.291,196L 156.749,196 l-1-8l 273.828,0 L 427.291,196z M 431.862,180\n\t\tL 154.749,180 l-1-8l 280.399,0 L 431.862,180z M 152.749,164l-0.5-4l 285.327,0 l-1.143,4L 152.749,164 zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 423.609,288c 17.6,0, 35.956-13.846, 40.791-30.769l 46.418-162.463C 515.653,77.846, 505.209,64, 487.609,64L 160,64 \n\t\tc0-35.346-28.654-64-64-64L0,0 l0,64 l 96,0 l0,272 c0,26.51, 21.49,48, 48,48l 304,0 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 160,320 l0-32 L 423.609,288 z\n\t\t M 160,224l0-4 l 263.117,0 l-1.143,4L 160,224 z M 441.403,156l-2.286,8L 160,164 l0-8 L 441.403,156 z M 160,148l0-8 l 285.975,0 l-2.285,8L 160,148 z M 436.832,172\n\t\tl-2.286,8L 160,180 l0-8 L 436.832,172 z M 432.261,188l-2.286,8L 160,196 l0-8 L 432.261,188 z M 427.688,204l-2.285,8L 160,212 l0-8 L 427.688,204 z M 449.403,128l-1.143,4\n\t\tL 160,132 l0-4 L 449.403,128 zM 152,416 C 174,416 192,434 192,456 L 192,472 C 192,494 174,512 152,512 L 136,512 C 114,512 96,494 96,472 L 96,456 C 96,434 114,416 136,416 L 152,416 ZM 440,416 C 462,416 480,434 480,456 L 480,472 C 480,494 462,512 440,512 L 424,512 C 402,512 384,494 384,472 L 384,456 C 384,434 402,416 424,416 L 440,416 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 423.609,288c 17.6,0, 35.956-13.846, 40.791-30.769l 46.418-162.463C 515.653,77.846, 505.209,64, 487.609,64L 160,64 \n\tc0-35.346-28.654-64-64-64L0,0 l0,64 l 96,0 l0,272 c0,26.51, 21.49,48, 48,48l 304,0 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 160,320 l0-32 L 423.609,288 z\n\t M 160,128l 289.403,0 l-27.429,96L 160,224 L 160,128 zM 192,472c0,22-18,40-40,40l-16,0 c-22,0-40-18-40-40l0-16 c0-22, 18-40, 40-40l 16,0 c 22,0, 40,18, 40,40L 192,472 zM 480,472c0,22-18,40-40,40l-16,0 c-22,0-40-18-40-40l0-16 c0-22, 18-40, 40-40l 16,0 c 22,0, 40,18, 40,40L 480,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,464A48,48 10800 1 1 160,464A48,48 10800 1 1 64,464zM 384,464A48,48 10800 1 1 480,464A48,48 10800 1 1 384,464zM 480,256L 480,64 L 64,64 C 64,28.654, 35.347,0,0,0l0,32 c 17.645,0, 32,14.355, 32,32l 24.037,206.027C 41.39,281.756, 32,299.777, 32,320\n\t\tc0,35.347, 28.654,64, 64,64l 384,0 l0-32 L 96,352 c-17.673,0-32-14.327-32-32c0-0.11, 0.007-0.218, 0.008-0.328L 480,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"ticket, theater, cinema\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 287.998,160L 351.997,223.999L 224,351.996L 160.001,287.997zM 500.763,148.752l-36.758-36.758l-16.004,16.004c-8.189,8.19-19.505,13.255-32,13.255\n\t\tc-24.994,0-45.257-20.261-45.257-45.255c0-12.501, 5.070-23.819, 13.267-32.009l 15.994-15.993l-36.759-36.758\n\t\tc-14.984-14.984-39.504-14.984-54.488,0L 11.238,308.757c-14.983,14.984-14.983,39.505,0,54.488l 36.76,36.759l 15.981-15.982\n\t\tc 8.191-8.203, 19.515-13.276, 32.022-13.276c 24.994,0, 45.255,20.262, 45.255,45.255c0,12.503-5.070,23.82-13.267,32.011l-15.992,15.993\n\t\tl 36.758,36.759c 14.983,14.983, 39.504,14.983, 54.488,0l 297.52-297.52C 515.745,188.256, 515.745,163.736, 500.763,148.752z\n\t\t M 224.001,415.998l-128-128l 192-192l 128,128L 224.001,415.998z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"qrcode, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32 L 32,32 L 32,160 L 160,160 L 160,32 Z M 192,0 L 192,0 L 192,192 L 0,192 L 0,0 L 192,0 ZM 64,64L 128,64L 128,128L 64,128zM 480,32 L 352,32 L 352,160 L 480,160 L 480,32 Z M 512,0 L 512,0 L 512,192 L 320,192 L 320,0 L 512,0 ZM 384,64L 448,64L 448,128L 384,128zM 160,352 L 32,352 L 32,480 L 160,480 L 160,352 Z M 192,320 L 192,320 L 192,512 L 0,512 L 0,320 L 192,320 ZM 64,384L 128,384L 128,448L 64,448zM 224,0L 256,0L 256,32L 224,32zM 256,32L 288,32L 288,64L 256,64zM 224,64L 256,64L 256,96L 224,96zM 256,96L 288,96L 288,128L 256,128zM 224,128L 256,128L 256,160L 224,160zM 256,160L 288,160L 288,192L 256,192zM 224,192L 256,192L 256,224L 224,224zM 224,256L 256,256L 256,288L 224,288zM 256,288L 288,288L 288,320L 256,320zM 224,320L 256,320L 256,352L 224,352zM 256,352L 288,352L 288,384L 256,384zM 224,384L 256,384L 256,416L 224,416zM 256,416L 288,416L 288,448L 256,448zM 224,448L 256,448L 256,480L 224,480zM 256,480L 288,480L 288,512L 256,512zM 480,256L 512,256L 512,288L 480,288zM 32,256L 64,256L 64,288L 32,288zM 64,224L 96,224L 96,256L 64,256zM0,224L 32,224L 32,256L0,256zM 128,224L 160,224L 160,256L 128,256zM 160,256L 192,256L 192,288L 160,288zM 192,224L 224,224L 224,256L 192,256zM 288,256L 320,256L 320,288L 288,288zM 320,224L 352,224L 352,256L 320,256zM 352,256L 384,256L 384,288L 352,288zM 384,224L 416,224L 416,256L 384,256zM 416,256L 448,256L 448,288L 416,288zM 448,224L 480,224L 480,256L 448,256zM 480,320L 512,320L 512,352L 480,352zM 288,320L 320,320L 320,352L 288,352zM 320,288L 352,288L 352,320L 320,320zM 352,320L 384,320L 384,352L 352,352zM 416,320L 448,320L 448,352L 416,352zM 448,288L 480,288L 480,320L 448,320zM 480,384L 512,384L 512,416L 480,416zM 288,384L 320,384L 320,416L 288,416zM 320,352L 352,352L 352,384L 320,384zM 384,352L 416,352L 416,384L 384,384zM 416,384L 448,384L 448,416L 416,416zM 448,352L 480,352L 480,384L 448,384zM 480,448L 512,448L 512,480L 480,480zM 320,416L 352,416L 352,448L 320,448zM 352,448L 384,448L 384,480L 352,480zM 384,416L 416,416L 416,448L 384,448zM 416,448L 448,448L 448,480L 416,480zM 320,480L 352,480L 352,512L 320,512zM 384,480L 416,480L 416,512L 384,512zM 448,480L 480,480L 480,512L 448,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"barcode, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64L 64,64L 64,384L0,384zM 96,64L 128,64L 128,384L 96,384zM 160,64L 192,64L 192,384L 160,384zM 256,64L 288,64L 288,384L 256,384zM 384,64L 416,64L 416,384L 384,384zM 480,64L 512,64L 512,384L 480,384zM 320,64L 336,64L 336,384L 320,384zM 224,64L 240,64L 240,384L 224,384zM 432,64L 448,64L 448,384L 432,384zM0,416L 32,416L 32,448L0,448zM 96,416L 128,416L 128,448L 96,448zM 160,416L 192,416L 192,448L 160,448zM 320,416L 352,416L 352,448L 320,448zM 480,416L 512,416L 512,448L 480,448zM 384,416L 448,416L 448,448L 384,448zM 224,416L 288,416L 288,448L 224,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"barcode, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 64,96L 64,416L0,416zM 96,96L 128,96L 128,416L 96,416zM 160,96L 192,96L 192,416L 160,416zM 256,96L 288,96L 288,416L 256,416zM 384,96L 416,96L 416,416L 384,416zM 480,96L 512,96L 512,416L 480,416zM 320,96L 336,96L 336,416L 320,416zM 224,96L 240,96L 240,416L 224,416zM 432,96L 448,96L 448,416L 432,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256L 224,256L 224,320L 192,320zM 256,352L 288,352L 288,416L 256,416zM 400.443,143.029L 284.891,16.971C 276.334,7.637, 259.434,0, 247.333,0l-14.667,0 c-12.1,0-29,7.637-37.556,16.971\n\t\tL 79.557,143.029C 71,152.363, 64,170.8, 64,184l0,304 c0,13.2, 9.9,24, 22,24l 308,0 c 12.101,0, 22-10.8, 22-24L 416,184 \n\t\tC 416,170.8, 409,152.363, 400.443,143.029z M 320,256l-64,0 l0,64 l 64,0 l0,8 l0,24 l0,64 l0,24 l0,8 l-64,0 l0,32 l-32,0 l0-32 l-64,0 l0-32 l 64,0 l0-64 l-64,0 l0-16 l0-16 l0-64 l0-32 l 32,0 \n\t\tl 32,0 l0-32 l 32,0 l0,32 l 64,0 L 320,256 z M 265,80c0,13.807-11.193,25-25,25s-25-11.193-25-25s 11.193-25, 25-25S 265,66.193, 265,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"tags, prices\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,96 L 384,96 C 381.158,96 373.652,97.357 364.621,101.098 C 355.59,104.839 349.322,109.187 347.312,111.196 L 170.509,288 L 288,405.49 L 464.803,228.686 C 466.813,226.677 471.161,220.409 474.901,211.378 C 478.643,202.348 480,194.842 480,192 L 480,96 Z M 496,32 L 496,32 C 522.4,32 544,53.6 544,80 L 544,192 C 544,218.4 528.727,255.273 510.058,273.941 L 321.941,462.058 C 312.607,471.392 300.304,476.059 288,476.059 C 275.696,476.059 263.392,471.392 254.059,462.058 L 113.941,321.941 C 95.274,303.273 95.274,272.726 113.941,254.059 L 302.059,65.941 C 320.727,47.273 357.6,32 384,32 L 496,32 ZM 43.313,299.313 L 214.502,470.502 C 196.37,480.082 173.271,477.271 158.059,462.058 L 17.941,321.941 C -0.726,303.273 -0.726,272.726 17.941,254.059 L 206.059,65.941 C 224.727,47.273 261.6,32 288,32 L 43.313,276.686 C 37.091,282.909 37.091,293.090 43.313,299.313 ZM 384,160A32,32 2520 1 1 448,160A32,32 2520 1 1 384,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"tags, prices\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,32L 384,32 c-26.4,0-63.273,15.273-81.941,33.941L 113.941,254.059c-18.667,18.667-18.667,49.214,0,67.882l 140.118,140.117\n\tc 18.667,18.668, 49.214,18.668, 67.882,0l 188.117-188.117C 528.727,255.273, 544,218.4, 544,192L 544,80 C 544,53.6, 522.4,32, 496,32z M 432,192\n\tc-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 458.51,192, 432,192zM 43.313,299.313 L 214.502,470.502 C 196.37,480.082 173.271,477.271 158.059,462.058 L 17.941,321.941 C -0.726,303.273 -0.726,272.726 17.941,254.059 L 206.059,65.941 C 224.727,47.273 261.6,32 288,32 L 43.313,276.686 C 37.091,282.909 37.091,293.090 43.313,299.313 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 447.875,64.126 L 319.625,64.126 C 316.777,64.126 309.256,65.487 300.207,69.235 C 291.16,72.983 284.881,77.338 282.867,79.351 L 70.707,291.511 L 220.49,441.293 L 432.649,229.134 C 434.662,227.12 439.018,220.841 442.766,211.792 C 446.516,202.743 447.875,195.223 447.875,192.376 L 447.875,64.125 Z M 463.906,0 L 463.906,0 C 490.357,0 512,21.643 512,48.094 L 512,192.376 C 512,218.827 496.697,255.772 477.993,274.478 L 254.498,497.972 C 245.146,507.324 232.817,512 220.49,512 C 208.163,512 195.835,507.325 186.483,497.972 L 14.028,325.519 C -4.676,306.815 -4.676,276.207 14.028,257.503 L 237.523,34.008 C 256.227,15.304 293.172,0 319.625,0 L 463.906,0 ZM 320,144A48,48 2520 1 1 416,144A48,48 2520 1 1 320,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64 L 298.51,64 L 90.51,272 L 240,421.49 L 448,213.49 L 448,64 Z M 512,0 L 512,0 L 512,240 L 240,512 L 0,272 L 272,0 L 512,0 ZM 320,144A48,48 2520 1 1 416,144A48,48 2520 1 1 320,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 463.906,0L 319.625,0 c-26.453,0-63.398,15.303-82.102,34.007L 14.028,257.502c-18.704,18.704-18.704,49.312,0,68.016\n\tl 172.455,172.453c 18.704,18.705, 49.311,18.705, 68.015,0l 223.495-223.494C 496.697,255.772, 512,218.826, 512,192.375L 512,48.094 \n\tC 512,21.642, 490.357,0, 463.906,0z M 400,160c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,160, 400,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 272,0L0,272l 240,240l 272-272L 512,0 L 272,0 z M 400,160c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,160, 400,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 312.377,128 L 40.048,128 C 35.686,128 32,131.664 32,136 L 32,408 C 32,412.336 35.685,416 40.048,416 L 312.377,416 C 325.904,416 348.567,406.626 358.131,397.074 L 477.707,277.643 C 479.703,275.648 480.002,273.251 480.002,272 C 480.002,270.749 479.703,268.351 477.706,266.356 L 358.131,146.925 C 348.567,137.375 325.904,128 312.377,128 Z M 312.377,96 L 312.377,96 C 334.403,96 365.168,108.728 380.744,124.284 L 500.32,243.716 C 515.895,259.272 515.895,284.727 500.32,300.284 L 380.744,419.716 C 365.168,435.272 334.403,448 312.377,448 L 40.048,448 C 18.022,448 0,430 0,408 L 0,136 C 0,114 18.022,96 40.048,96 L 312.377,96 ZM 288,272A48,48 2520 1 1 384,272A48,48 2520 1 1 288,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 312.279,160 L 64,160 L 64,384 L 312.28,384 C 318.076,383.738 331.297,378.271 335.588,374.362 L 438.074,272 L 335.589,169.639 C 331.297,165.729 318.076,160.262 312.279,160 Z M 312.377,96 L 312.377,96 C 334.403,96 365.168,108.728 380.744,124.284 L 500.32,243.716 C 515.895,259.272 515.895,284.727 500.32,300.284 L 380.744,419.716 C 365.168,435.272 334.403,448 312.377,448 L 40.048,448 C 18.022,448 0,430 0,408 L 0,136 C 0,114 18.022,96 40.048,96 L 312.377,96 ZM 256,272A48,48 2520 1 1 352,272A48,48 2520 1 1 256,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 500.32,243.716L 380.744,124.284C 365.168,108.728, 334.403,96, 312.377,96L 40.048,96 C 18.022,96,0,114,0,136l0,272 \n\tc0,22, 18.022,40, 40.048,40l 272.329,0 c 22.026,0, 52.791-12.728, 68.367-28.284L 500.32,300.284\n\tC 515.896,284.728, 515.896,259.272, 500.32,243.716z M 368,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48\n\tS 394.51,320, 368,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cc, creative commons, license\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.645,0C 185.511,0, 123.788,25.955, 76.090,74.347\n\t\tc-49.086,49.8-75.735,114.324-75.735,181.661c0,68.027, 25.939,131.147, 75.041,180.249C 124.49,485.351, 188.312,512, 255.645,512\n\t\tc 67.333,0, 132.56-26.649, 183.058-76.445c 47.697-46.995, 72.941-109.413, 72.941-179.547c0-69.439-25.244-132.563-73.643-180.959\n\t\tC 388.908,25.955, 325.779,0, 255.645,0z M 256.347,46.293c 57.512,0, 108.711,21.742, 148.694,61.72\n\t\tc 39.271,39.28, 60.311,91.178, 60.311,147.995c0,57.511-20.338,108.001-59.609,146.587c-41.385,40.676-94.684,62.418-149.395,62.418\n\t\tc-55.404,0-107.314-21.742-147.289-61.716c-39.974-39.981-62.426-92.586-62.426-147.289c0-55.413, 22.452-108.013, 62.426-148.697\n\t\tC 148.338,67.337, 198.836,46.293, 256.347,46.293zM 253.042,213.47c-14.453-26.373-39.131-36.865-67.768-36.865\n\t\tc-41.686,0-74.867,29.489-74.867,79.403c0,50.759, 31.193,79.396, 76.287,79.396c 28.922,0, 53.599-15.881, 67.207-39.981\n\t\tl-31.762-16.165c-7.092,17.017-17.868,22.113-31.477,22.113c-23.533,0-34.311-19.564-34.311-45.362\n\t\tc0-25.813, 9.073-45.378, 34.311-45.378c 6.808,0, 20.416,3.692, 28.361,20.701L 253.042,213.47zM 400.725,213.47c-14.461-26.373-39.129-36.865-67.766-36.865\n\t\tc-41.688,0-74.867,29.489-74.867,79.403c0,50.759, 31.193,79.396, 76.287,79.396c 28.92,0, 53.59-15.881, 67.199-39.981l-31.762-16.165\n\t\tc-7.084,17.017-17.861,22.113-31.479,22.113c-23.525,0-34.309-19.564-34.309-45.362c0-25.813, 9.080-45.378, 34.309-45.378\n\t\tc 6.809,0, 20.418,3.692, 28.369,20.701L 400.725,213.47z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"certificate, license, degree\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0l0,512 l 448,0 L 480,0 L 32,0 z M 448,480L 64,480 L 64,32 l 384,0 L 448,480 zM 96,96L 256,96L 256,128L 96,128zM 96,160L 256,160L 256,192L 96,192zM 96,224L 256,224L 256,256L 96,256zM 96,287.68L 256,287.68L 256,319.68L 96,319.68zM 96,352L 256,352L 256,384L 96,384zM 96,416L 416,416L 416,448L 96,448zM 384,224 L 384,384 L 352,336 L 320,384 L 320,224 ZM 416,109.254 L 397.255,128 L 416,146.746 L 416,160 L 384,160 L 384,192 L 370.745,192 L 352,173.255 L 333.255,192 L 320,192 L 320,160 L 288,160 L 288,146.746 L 306.745,128 L 288,109.254 L 288,96 L 320,96 L 320,64 L 333.255,64 L 352,82.745 L 370.745,64 L 384,64 L 384,96 L 416,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,192L 448,192 L 448,88 c0-13.255-10.745-24-24-24L 208,64 l-16-32L 88,32 c-13.255,0-24,10.745-24,24l0,136 L 19.75,192 \n\tc-13.2,0-21.882,10.59-19.293,23.534l 58.836,208.932C 61.882,437.41, 74.8,448, 88,448l 336,0 c 13.2,0, 26.118-10.59, 28.707-23.534\n\tl 58.836-208.932C 514.132,202.59, 505.45,192, 492.25,192z M 96,64l 76.223,0 l 16,32L 416,96 l0,96 L 96,192 L 96,64 z M 421.797,416L 90.203,416 L 35.017,224l 441.966,0 \n\tL 421.797,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,128L 448,128 L 448,88 c0-13.255-10.745-24-24-24L 208,64 l-16-32L 88,32 c-13.255,0-24,10.745-24,24l0,72 L 19.75,128 \n\tc-13.2,0-21.882,10.59-19.293,23.534l 58.836,272.932C 61.882,437.41, 74.8,448, 88,448l 336,0 c 13.2,0, 26.118-10.59, 28.707-23.534\n\tl 58.836-272.932C 514.132,138.59, 505.45,128, 492.25,128z M 96,64l 76.223,0 l 16,32L 416,96 l0,32 L 96,128 L 96,64 z M 421.797,416L 90.203,416 L 35.017,160l 441.966,0 \n\tL 421.797,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,192 C 505.45,192 514.132,202.59 511.543,215.534 L 452.707,424.466 C 450.118,437.41 437.2,448 424,448 L 88,448 C 74.8,448 61.882,437.41 59.293,424.466 L 0.457,215.534 C -2.132,202.59 6.55,192 19.75,192 L 492.25,192 Z M 448,88 L 448,160 L 64,160 L 64,56 C 64,42.745 74.745,32 88,32 L 192,32 L 208,64 L 424,64 C 437.255,64 448,74.745 448,88 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,128L 19.75,128 c-13.2,0-21.882,10.59-19.293,23.534l 58.836,272.932C 61.882,437.41, 74.8,448, 88,448l 336,0 \n\t\tc 13.2,0, 26.118-10.59, 28.707-23.534l 58.836-272.932C 514.132,138.59, 505.45,128, 492.25,128zM 448,88c0-13.255-10.745-24-24-24L 208,64 l-16-32L 88,32 c-13.255,0-24,10.745-24,24l0,56 l 384,0 L 448,88 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-upload, upload, load, open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 288,448 l0-96 l 96,0 L 256,224L 128,352l 96,0 l0,96 L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373\n\tL 288,160 l 192,0 L 480,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-download, download, save, store, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 256,448 L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 L 480,448 zM 288,320L 288,224L 224,224L 224,320L 128,320L 256,448L 384,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-upload, upload, load, open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128L 224,64L0,64L0,480L 224,480L 224,352L 128,352L 256,224L 384,352L 288,352L 288,480L 512,480L 512,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-download, download, save, store, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 256,448L 128,320l 96,0 L 224,192 l 64,0 l0,128 l 96,0 L 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-remove, remove, directory, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 L 480,448 zM 160,288L 352,288L 352,352L 160,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 L 480,448 zM 288,224L 224,224L 224,288L 160,288L 160,352L 224,352L 224,416L 288,416L 288,352L 352,352L 352,288L 288,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-minus, minus, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 352,352L 160,352 l0-64 l 192,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 352,352l-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 l0-64 l 64,0 l0,64 l 64,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 210.745,96l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 l0,288 L 32,448 L 32,96 L 210.745,96 M 224,64L0,64 l0,416 l 512,0 L 512,128 L 288,128 L 224,64L 224,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 274.745,160L 288,160 l 192,0 l0,4 L 32,164 l0-8 l 238.745,0 L 274.745,160z M 32,448l0-4 l 448,0 l0,4 L 32,448 z M 32,436l0-8 \n\tl 448,0 l0,8 L 32,436 z M 32,420l0-8 l 448,0 l0,8 L 32,420 z M 32,404l0-8 l 448,0 l0,8 L 32,404 z M 32,388l0-8 l 448,0 l0,8 L 32,388 z M 32,372l0-8 l 448,0 l0,8 L 32,372 z M 32,356l0-8 l 448,0 l0,8 L 32,356 z M 32,340l0-8 \n\tl 448,0 l0,8 L 32,340 z M 32,324l0-8 l 448,0 l0,8 L 32,324 z M 32,308l0-8 l 448,0 l0,8 L 32,308 z M 32,292l0-8 l 448,0 l0,8 L 32,292 z M 32,276l0-8 l 448,0 l0,8 L 32,276 z M 32,260l0-8 l 448,0 l0,8 L 32,260 z M 32,244l0-8 \n\tl 448,0 l0,8 L 32,244 z M 32,228l0-8 l 448,0 l0,8 L 32,228 z M 32,212l0-8 l 448,0 l0,8 L 32,212 z M 32,196l0-8 l 448,0 l0,8 L 32,196 z M 32,180l0-8 l 448,0 l0,8 L 32,180 z M 210.745,96l 4,4L 32,100 l0-4 L 210.745,96 z\n\t M 222.745,108l 8,8L 32,116 l0-8 L 222.745,108 z M 238.745,124l 8,8L 32,132 l0-8 L 238.745,124 z M 254.746,140l 8,8L 32,148 l0-8 L 254.746,140 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,480L 512,224L 96,224L0,480 zM 64,192 L 0,480 L 0,64 L 144,64 L 208,128 L 416,128 L 416,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,64L 288,128L 512,128L 512,480L0,480L0,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-remove, cancel, close, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 352,257.941L 289.941,320L 352,382.059L 352,416 l-33.941,0 L 256,353.941L 193.941,416L 160,416 l0-33.941 \n\t\tL 222.059,320L 160,257.941L 160,224 l 33.941,0 L 256,286.059L 318.059,224L 352,224 L 352,257.941 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder8\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 215,427.255L 112.373,308.628l 29.254-29.255L 215,336.745l 137.372-121.372l 29.256,29.254\n\t\tL 215,427.255z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-minus, minus, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 352,352L 160,352 l0-64 l 192,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-minus, minus, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM 250,400 C 250,429.392 258.504,456.831 273.171,480 L 32,480 L 0,160 L 512,160 L 499.237,287.624 C 472.772,264.226 438.019,250 400,250 C 317.29,250 250,317.29 250,400 ZM 400,288c-61.855,0-112,50.145-112,112s 50.145,112, 112,112s 112-50.145, 112-112S 461.855,288, 400,288z M 320,416l0-32 l 160,0 l0,32 \n\tL 320,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 352,352l-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 l0-64 l 64,0 l0,64 l 64,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM 250,400 C 250,429.392 258.504,456.831 273.171,480 L 32,480 L 0,160 L 512,160 L 499.237,287.624 C 472.772,264.226 438.019,250 400,250 C 317.29,250 250,317.29 250,400 ZM 400,288c-61.855,0-112,50.145-112,112s 50.145,112, 112,112s 112-50.145, 112-112S 461.855,288, 400,288z M 416,416l0,64 l-32,0 l0-64 \n\tl-64,0 l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 l0,32 L 416,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-upload, upload, load, open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 288,352l0,95.508 l-64,0 L 224,352 L 112,352 l 144-144l 144,144L 288,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-download, download, save, store, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 256,464L 112,320l 112,0 l0-95.508 l 64,0 L 288,320 l 112,0 L 256,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,160 L 512,160 L 480,480 L 32,480 L 0,160 Z M 464,96 L 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, layers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,288 L 0,160 L 256,32 L 512,160 ZM 460.722,230.361 L 512,256 L 256,384 L 0,256 L 51.278,230.361 L 256,332.722 ZM 460.722,326.361 L 512,352 L 256,480 L 0,352 L 51.278,326.361 L 256,428.722 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, layers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,160L 256,32L0,160l 256,128L 512,160z M 256,74.485L 427.029,160L 256,245.515L 84.971,160L 256,74.485zM 460.722,230.361 L 512,256 L 256,384 L 0,256 L 51.278,230.361 L 256,332.722 ZM 460.722,326.361 L 512,352 L 256,480 L 0,352 L 51.278,326.361 L 256,428.722 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, files, archive, category, papers, documents, layers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440,128l-24,0 l0-24 c0-22.056-17.944-40-40-40l-24,0 L 352,40 c0-22.056-17.943-40-40-40l-240,0 c-22.056,0-40,17.944-40,40l0,304 \n\tc0,22.057, 17.944,40, 40,40l 24,0 l0,24 c0,22.057, 17.944,40, 40,40l 24,0 l0,24 c0,22.056, 17.944,40, 40,40l 240,0 c 22.056,0, 40-17.944, 40-40L 480,168 \n\tC 480,145.944, 462.056,128, 440,128z M 72.001,352c-4.4,0-8-3.6-8-8L 64.001,40 c0-4.4, 3.6-8, 8-8l 240,0 c 4.4,0, 8,3.6, 8,8l0,24 L 136,64 \n\tc-22.056,0-40,17.944-40,40l0,248 L 72.001,352 z M 136,416c-4.4,0-8-3.6-8-8L 128,104 c0-4.4, 3.6-8, 8-8l 240,0 c 4.4,0, 8,3.6, 8,8l0,24 L 200,128 \n\tc-22.056,0-40,17.944-40,40l0,248 L 136,416 z M 448,472c0,4.4-3.6,8-8,8L 200,480 c-4.4,0-8-3.6-8-8L 192,168 c0-4.4, 3.6-8, 8-8l 240,0 c 4.4,0, 8,3.6, 8,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paste, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64l-64,0 L 288,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 L 96,64 l0,64 l 256,0 L 352,64 z M 256,64l-64,0 L 192,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 256,64 zM 416,160L 416,80 c0-8.8-7.2-16-16-16l-32,0 l0,32 l 16,0 l0,64 l-96,0 l-96,96l0,128 L 64,384 L 64,96 l 16,0 L 80,64 L 48,64 c-8.801,0-16,7.2-16,16l0,320 \n\t\tc0,8.8, 7.199,16, 16,16l 144,0 l0,96 l 320,0 L 512,160 L 416,160 z M 288,205.255L 288,256 l-50.745,0 L 288,205.255z M 480,480L 224,480 L 224,288 l 96,0 l0-96 l 160,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paste, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160L 416,80 c0-8.8-7.2-16-16-16L 288,64 L 288,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 L 48,64 c-8.801,0-16,7.2-16,16l0,320 \n\tc0,8.8, 7.199,16, 16,16l 144,0 l0,96 l 224,0 l 96-96L 512,160 L 416,160 z M 192,32.057c 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 \n\tc 0.021,0.018, 0.041,0.038, 0.059,0.057L 256,64 l-64,0 L 192,32.057 z M 96,128L 96,96 l 256,0 l0,32 L 96,128 z M 416,466.745L 416,416 l 50.745,0 L 416,466.745z M 480,384l-96,0 l0,96 \n\tL 224,480 L 224,192 l 256,0 L 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paste, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64l-64,0 L 288,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 L 96,64 l0,64 l 256,0 L 352,64 z M 256,64l-64,0 L 192,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 256,64 zM 416,160L 416,80 c0-8.8-7.2-16-16-16l-32,0 l0,32 l 16,0 l0,64 L 192,160 l0,224 L 64,384 L 64,96 l 16,0 L 80,64 L 48,64 c-8.801,0-16,7.2-16,16l0,320 c0,8.8, 7.199,16, 16,16l 144,0 \n\t\tl0,96 l 224,0 l 96-96L 512,160 L 416,160 z M 416,466.745L 416,416 l 50.745,0 L 416,466.745z M 480,384l-96,0 l0,96 L 224,480 L 224,192 l 256,0 L 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate, files, pages, papers, documents\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,128L 320,0 L 96,0 L0,96l0,288 l 192,0 l0,128 l 320,0 L 512,128 L 320,128 z M 96,45.255L 96,96 L 45.255,96 L 96,45.255z M 32,352L 32,128 l 96,0 L 128,32 l 160,0 l0,96 l-96,96l0,128 L 32,352 z\n\t M 288,173.255L 288,224 l-50.745,0 L 288,173.255z M 480,480L 224,480 L 224,256 l 96,0 l0-96 l 160,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,64 C 440.8,64 448,71.2 448,80 L 448,384 L 320,512 L 80,512 C 71.199,512 64,504.8 64,496 L 64,80 C 64,71.2 71.199,64 80,64 L 112,64 L 112,96 L 96,96 L 96,480 L 288,480 L 288,352 L 416,352 L 416,96 L 400,96 L 400,64 L 432,64 ZM 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,64l-32,0 l0,32 l 16,0 l0,256 L 288,352 l0,128 L 96,480 L 96,96 l 16,0 L 112,64 L 80,64 c-8.801,0-16,7.2-16,16l0,416 c0,8.8, 7.199,16, 16,16l 252,0 l 116-116L 448,80 \n\tC 448,71.2, 440.8,64, 432,64z M 320,480l0-96 l 96,0 L 320,480zM 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate, files, pages, papers, documents\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128l-96,0 L 320,96 L 224,0L0,0 l0,384 l 192,0 l0,128 l 320,0 L 512,224 L 416,128z M 416,173.255L 466.745,224L 416,224 L 416,173.255 z M 224,45.255L 274.745,96L 224,96 \n\tL 224,45.255 z M 32,32l 160,0 l0,96 l 96,0 l0,224 L 32,352 L 32,32 z M 480,480L 224,480 l0-96 l 96,0 L 320,160 l 64,0 l0,96 l 96,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40\n\tL 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 c0-4.336, 3.664-8, 8-8\n\tl 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-remove, delete, remove, cancel, close, document, page, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,32l 288,0 l0,96 l 96,0 l0,160 l 32,0 L 448,128 L 320,0L0,0 l0,512 l 288,0 l0-32 L 32,480 L 32,32 zM 461.256,416L 512,365.256L 512,320L 466.744,320L 416,370.744L 365.256,320L 320,320L 320,365.256L 370.744,416L 320,466.744L 320,512L 365.256,512L 416,461.256L 466.744,512L 512,512L 512,466.744 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-check, checkmark, correct, tick, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,512L 256,400L 296.75,359.25L 352,414.875L 480,288L 512,320 \tzM 32,32l 288,0 l0,96 l 96,0 l0,160 l 32,0 L 448,128 L 320,0L0,0 l0,512 l 288,0 l0-32 L 32,480 L 32,32 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-upload, page, document, upload, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,512l 96,0 L 288,352 l 80,0 L 240,224L 112,352l 80,0 L 192,512 z M 320,0L 32,0 l0,192 l 16,320l 16-320L 64,32 l 256,0 l0,96 l 96,0 l0,64 l 16,320l 16-320l0-64 L 320,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-download, page, document, download, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,224L 192,224L 192,384L 112,384L 240,512L 368,384L 288,384 \tzM 320,0L 32,0L 32,192L 48,512L 64,192L 64,32L 320,32L 320,128L 416,128L 416,192L 432,512L 448,192L 448,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-minus, minus, remove, delete, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,384L 512,384L 512,448L 320,448zM 32,32L 320,32L 320,128L 416,128L 416,288L 448,288L 448,128L 320,0L0,0L0,512L 288,512L 288,480L 32,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-plus, plus, new, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384L 448,320L 384,320L 384,384L 320,384L 320,448L 384,448L 384,512L 448,512L 448,448L 512,448L 512,384 \tzM 32,32L 320,32L 320,128L 416,128L 416,288L 448,288L 448,128L 320,0L0,0L0,512L 288,512L 288,480L 32,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 32,0 l0,512 l 448,0 L 480,128 L 352,0z M 448,480L 64,480 L 64,32 l 288,0 l0,96 l 96,0 L 448,480 zM 128,384L 384,384L 384,416L 128,416zM 128,320L 384,320L 384,352L 128,352zM 128,256L 384,256L 384,288L 128,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 32,0 l0,512 l 448,0 L 480,128 L 352,0z M 448,480L 64,480 L 64,32 l 288,0 l0,96 l 96,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-remove, delete, remove, cancel, close, document, page, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 352,289.941L 289.941,352L 352,414.059\n\tL 352,448 l-33.941,0 L 256,385.941L 193.941,448L 160,448 l0-33.941 L 222.059,352L 160,289.941L 160,256 l 33.941,0 L 256,318.059L 318.059,256L 352,256 L 352,289.941 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-check, checkmark, correct, tick, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 215,459.255L 112.373,340.628\n\tl 29.254-29.255L 215,368.745l 137.372-121.372l 29.256,29.254L 215,459.255z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-upload, page, document, upload, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 419.716,99.715 C 433.462,113.461 444.993,139.051 447.492,160 L 288,160 L 288,0.508 C 308.949,3.007 334.538,14.538 348.284,28.284 L 419.716,99.715 ZM 256,192L 256,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 336,0 c 22,0, 40-18, 40-40L 448,192 L 256,192 z M 288,384l0,96 l-96,0 l0-96 l-80,0 l 128-128\n\tl 128,128L 288,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-download, page, document, download, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 419.716,99.715 C 433.462,113.461 444.993,139.051 447.492,160 L 288,160 L 288,0.508 C 308.949,3.007 334.538,14.538 348.284,28.284 L 419.716,99.715 ZM 256,192L 256,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 336,0 c 22,0, 40-18, 40-40L 448,192 L 256,192 z M 240,480L 112,352l 80,0 l0-96 l 96,0 l0,96 l 80,0 \n\tL 240,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-minus, minus, remove, delete, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 352,384L 160,384 l0-64 l 192,0 L 352,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-plus, plus, new, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 352,384l-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 \n\tl0-64 l 64,0 l0,64 l 64,0 L 352,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"files, pages, copy, duplicate, documents, papers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 483.717,195.715 C 497.463,209.461 508.994,235.051 511.492,256 L 352,256 L 352,96.508 C 372.949,99.007 398.539,110.538 412.285,124.284 L 483.717,195.715 ZM 320,288 L 512,288 L 512,472 C 512,494 494,512 472,512 L 168,512 C 146,512 128,494 128,472 L 128,136 C 128,114 146,96 168,96 L 320,96 L 320,288 ZM 96,64 L 96,416 L 38,416 C 17.1,416 0,398.9 0,378 L 0,38 C 0,17.1 17.1,0 38,0 L 346,0 C 366.9,0 384,17.1 384,38 L 384,64 L 96,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715c 13.746,13.746, 25.277,39.336, 27.776,60.285L 320,160 L 320,0.508 c 20.949,2.499, 46.538,14.030, 60.284,27.776\n\tL 451.716,99.715z M 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 416,448L 96,448 l0-32 l 320,0 L 416,448 z\n\t M 416,384L 96,384 l0-32 l 320,0 L 416,384 z M 416,320L 96,320 l0-32 l 320,0 L 416,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192 L 480,192 L 480,472 C 480,494 462,512 440,512 L 72,512 C 50,512 32,494 32,472 L 32,40 C 32,18 50,0 72,0 L 288,0 L 288,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.059,94.059l-60.117-60.118C 367.273,15.273, 330.4,0, 304,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 352,0 \n\tc 26.4,0, 48-21.6, 48-48L 480,176 C 480,149.6, 464.727,112.727, 446.059,94.059z M 320,67.781c 1.098,0.402, 2.226,0.84, 3.379,1.318\n\tc 9.030,3.741, 15.299,8.088, 17.308,10.097l 60.118,60.119c 2.009,2.009, 6.356,8.277, 10.097,17.307c 0.478,1.153, 0.916,2.281, 1.318,3.378\n\tL 320,160 L 320,67.781 z M 416,448L 96,448 L 96,64 l 192,0 l0,128 l 128,0 L 416,448 zM 128,256L 384,256L 384,288L 128,288zM 128,320L 384,320L 384,352L 128,352zM 128,384L 384,384L 384,416L 128,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.059,94.059l-60.117-60.118C 367.273,15.273, 330.4,0, 304,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 352,0 \n\tc 26.4,0, 48-21.6, 48-48L 480,176 C 480,149.6, 464.727,112.727, 446.059,94.059z M 320,67.781c 1.098,0.402, 2.226,0.84, 3.379,1.318\n\tc 9.030,3.741, 15.299,8.088, 17.308,10.097l 60.118,60.119c 2.009,2.009, 6.356,8.277, 10.097,17.307c 0.478,1.153, 0.916,2.281, 1.318,3.378\n\tL 320,160 L 320,67.781 z M 416,448L 96,448 L 96,64 l 192,0 l0,128 l 128,0 L 416,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, empty, blank, new, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.059,94.059l-60.117-60.118C 367.273,15.273, 330.4,0, 304,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 352,0 \n\tc 26.4,0, 48-21.6, 48-48L 480,176 C 480,149.6, 464.727,112.727, 446.059,94.059z M 416,448L 96,448 L 96,64 l 208,0 c 2.479,0, 8.507,1.034, 16,3.781L 320,160 l 92.22,0 \n\tc 2.746,7.493, 3.78,13.521, 3.78,16L 416,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"profile, page, user, paper, file, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 384,0 c 26.4,0, 48-21.6, 48-48L 480,48 C 480,21.6, 458.4,0, 432,0z M 416,448L 64,448 \n\t\tL 64,64 l 352,0 L 416,448 zM 128,288L 352,288L 352,320L 128,320zM 128,352L 352,352L 352,384L 128,384zM 160,144A48,48 4680 1 1 256,144A48,48 4680 1 1 160,144zM 240,192l-64,0 c-26.4,0-48,14.4-48,32l0,32 l 160,0 l0-32 C 288,206.4, 266.4,192, 240,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 384,0 c 26.4,0, 48-21.6, 48-48L 480,48 C 480,21.6, 458.4,0, 432,0z M 416,448L 64,448 \n\t\tL 64,64 l 352,0 L 416,448 zM 128,224L 352,224L 352,256L 128,256zM 128,288L 352,288L 352,320L 128,320zM 128,352L 352,352L 352,384L 128,384zM 128,160L 352,160L 352,192L 128,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"graduation, hat, education\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,293.666L 96,368 c0,32, 71.634,80, 160,80c 88.365,0, 160-48, 160-80l0-74.334 l-160,80L 96,293.666zM 256,64L0,192l 256,128l 207.714-103.857L 448,352l 32,0 L 480,208 l 32-16L 256,64z M 272,199.2c-12.813,0-23.2-10.387-23.2-23.2\n\t\tc0-12.813, 10.387-23.2, 23.2-23.2s 23.2,10.387, 23.2,23.2C 295.2,188.813, 284.814,199.2, 272,199.2z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"library, reading, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,160l 512,0 L 256,0z M 400,192l 16,32l0,192 l 64,0 L 480,224 l 16-32L 400,192 z M 272,192l 16,32l0,192 l 64,0 L 352,224 l 16-32L 272,192 z M 144,192l 16,32l0,192 l 64,0 \n\tL 224,224 l 16-32L 144,192 z M 16,192l 16,32l0,192 l 64,0 L 96,224 l 16-32L 16,192 z M 16,448L0,512l 512,0 l-16-64L 16,448 z M 288,96c0,17.673-14.327,32-32,32\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32C 273.673,64, 288,78.327, 288,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"library, reading, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 272,0L0,128L 544,128 \tzM 128.5,192L 128.5,160L 32.5,160L 32.5,192L 64.5,192L 64.5,384L 32.5,384L 32.5,416L 128.5,416L 128.5,384L 96.5,384L 96.5,192 \tzM 256.5,192L 256.5,160L 160.5,160L 160.5,192L 192.5,192L 192.5,384L 160.5,384L 160.5,416L 256.5,416L 256.5,384L 224.5,384L 224.5,192 \tzM 384.5,192L 384.5,160L 288.5,160L 288.5,192L 320.5,192L 320.5,384L 288.5,384L 288.5,416L 384.5,416L 384.5,384L 352.5,384L 352.5,192 \tzM 512.5,192L 512.5,160L 416.5,160L 416.5,192L 448.5,192L 448.5,384L 416.5,384L 416.5,416L 512.5,416L 512.5,384L 480.5,384L 480.5,192 \tzM 32.5,448L 0.5,512L 544,512L 512,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reading, book, student, library\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 176,80A80,80 10800 1 1 336,80A80,80 10800 1 1 176,80zM 504.988,364.010l-128-160c-6.315-7.894-15.606-11.997-24.984-12.004L 352,192L 160,192 l-0.004,0.007\n\t\tc-9.378,0.007-18.669,4.11-24.984,12.002l-128,160c-8.402,10.502-9.34,25.138-2.348,36.627\n\t\tc 5.881,9.663, 16.314,15.365, 27.329,15.365c 2.082,0, 4.186-0.204, 6.282-0.623L 128,397.434L 128,512 l 256,0 L 384,397.434 l 89.725,17.945\n\t\tc 2.097,0.419, 4.199,0.623, 6.281,0.623c 11.015,0, 21.449-5.703, 27.329-15.365C 514.328,389.148, 513.39,374.512, 504.988,364.010z\n\t\t M 352,325.767l-25.725-5.146c-17.325-3.468-34.188,7.772-37.654,25.104c-3.466,17.33, 7.773,34.188, 25.104,37.654L 352,391.034L 352,416 \n\t\tl-96,32l-96-32l0-24.966 l 38.276-7.655c 17.33-3.466, 28.569-20.324, 25.103-37.654c-3.466-17.331-20.326-28.564-37.654-25.104\n\t\tL 160,325.767L 160,256 l 96,32l 96-32L 352,325.767 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"books, library, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288.117,144.635L 409.473,103.919L 511.265,407.311L 389.909,448.027zM0,448l 128,0 L 128,96 L0,96 L0,448 z M 32,160l 64,0 l0,32 L 32,192 L 32,160 zM 160,448l 128,0 L 288,96 L 160,96 L 160,448 z M 192,160l 64,0 l0,32 l-64,0 L 192,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"book, reading\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64l0,416 L 112,480 c-26.511,0-48-21.49-48-48c0-26.509, 21.489-48, 48-48l 304,0 L 416,0 L 96,0 C 60.801,0, 32,28.8, 32,64l0,384 \n\t\tc0,35.2, 28.801,64, 64,64l 384,0 L 480,64 L 448,64 zM 128,416L 416,416L 416,448L 128,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"book, reading\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64c-49.179,0-94.030,18.498-128,48.905C 222.031,82.498, 177.179,64, 128,64S 33.969,82.498,0,112.904l0,8.596 l0,38.49 l0,192.004 \n\tL0,392.5 l0,6.576 c 0.342,0.306, 0.676,0.62, 1.020,0.924c 8.209,7.244, 17.040,13.798, 26.406,19.569c 9.43-7.631, 19.739-14.216, 30.761-19.569\n\tc 21.098-10.248, 44.783-16, 69.813-16s 48.716,5.752, 69.813,16c 11.021,5.354, 21.331,11.938, 30.761,19.569\n\tc 1.842,1.491, 3.65,3.022, 5.424,4.592c 8.108,7.178, 15.488,15.159, 22.002,23.83c 6.515-8.671, 13.894-16.652, 22.002-23.83\n\tc 1.773-1.569, 3.581-3.101, 5.424-4.592c 9.43-7.631, 19.739-14.216, 30.761-19.569c 21.098-10.248, 44.783-16, 69.813-16\n\ts 48.716,5.752, 69.813,16c 11.021,5.354, 21.331,11.938, 30.761,19.569c 9.366-5.771, 18.196-12.325, 26.405-19.569\n\tc 0.344-0.304, 0.679-0.618, 1.021-0.924L 512,392.5 l0-40.506 L 512,159.99 L 512,121.5 l0-8.596 C 478.031,82.498, 433.179,64, 384,64z M 128,352\n\tc-34.976,0-67.758,9.365-96,25.705L 32,127.993 C 58.741,107.905, 91.98,96, 128,96c 36.025,0, 69.258,11.919, 96,32.013l0,249.692 \n\tC 195.758,361.365, 162.976,352, 128,352z M 384,352c-34.976,0-67.758,9.365-96,25.705L 288,128.013 C 314.742,107.919, 347.976,96, 384,96\n\tc 36.021,0, 69.259,11.906, 96,31.994l0,249.712 C 451.758,361.365, 418.976,352, 384,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio, interview\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 229.053,168.046L0,448c0,32, 32,64, 64,64l 279.954-229.054C 287.768,268.467, 243.533,224.232, 229.053,168.046zM 291.482,39.548C 269.502,62.531, 256,93.688, 256,128c0,70.692, 57.308,128, 128,128c 34.312,0, 65.469-13.502, 88.452-35.481\n\t\tC 380.441,204.127, 307.872,131.56, 291.482,39.548zM 416,64L 448,64L 448,96L 416,96zM 384,0c-23.014,0-44.606,6.078-63.268,16.71c 7.994,92.704, 81.854,166.564, 174.558,174.558\n\t\tC 505.922,172.607, 512,151.014, 512,128C 512,57.308, 454.693,0, 384,0z M 480,96l-32,0 l0,32 l 32,0 l0,32 l-32,0 l0-32 l-32,0 L 416,96 l-32,0 L 384,64 l-32,0 L 352,32 l 32,0 l0,32 l 32,0 L 416,32 \n\t\tl 32,0 l0,32 l 32,0 L 480,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, mute, off, voice, record\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,80c0-44.183-35.816-80-80-80c-44.183,0-80,35.817-80,80l0,172.118 l 160-160L 320,80 zM 128.587,283.531C 128.2,279.74, 128,275.894, 128,272l0-48 L 96,224 l0,48 c0,13.45, 1.853,26.467, 5.302,38.816L 128.587,283.531zM 352,272c0,61.855-50.145,112-112,112c-33.313,0-63.215-14.557-83.729-37.644l 22.69-22.69\n\t\tC 193.629,340.99, 215.52,352, 240,352c 44.184,0, 80-35.816, 80-80l0-89.373 L 448.313,54.313l-22.627-22.627L 320,137.373l0-0.001 L 1,457.687\n\t\tl 22.627,22.627l 109.986-111.3c 22.954,25.155, 54.699,42.151, 90.387,46.097L 224,480 l-64,0 l0,32 l 64,0 l 32,0 l 64,0 l0-32 l-64,0 l0-64.89 \n\t\tc 71.997-7.96, 128-68.991, 128-143.11l0-48 l-32,0 L 352,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,352c 44.183,0, 80-35.817, 80-80L 320,80 c0-44.183-35.817-80-80-80s-80,35.817-80,80l0,192 C 160,316.183, 195.818,352, 240,352zM 352,224l0,48 c0,61.855-50.145,112-112,112c-61.856,0-112-50.145-112-112l0-48 L 96,224 l0,48 c0,74.119, 56.002,135.15, 128,143.11L 224,480 \n\t\tl-64,0 l0,32 l 64,0 l 32,0 l 64,0 l0-32 l-64,0 l0-64.89 c 71.997-7.96, 128-68.991, 128-143.11l0-48 L 352,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 420,224l0,64 c0,43.807-17.059,84.99-48.035,115.966C 340.99,434.941, 299.807,452, 256,452\n\t\tc-43.806,0-84.99-17.059-115.965-48.034C 109.060,372.99, 92,331.807, 92,288l0-64 L 64,224 l0,64 c0,95.135, 69.195,174.094, 160,189.33L 224,480 l-96,0 l0,32 \n\t\tl 256,0 l0-32 l-96,0 l0-2.67 c 90.804-15.236, 160-94.195, 160-189.33l0-64 L 420,224 zM 256,0c-70.692,0-128,57.308-128,128l0,160 c0,70.693, 57.308,128, 128,128c 70.692,0, 128-57.307, 128-128L 384,128 \n\t\tC 384,57.308, 326.692,0, 256,0z M 348,79.548c 3.314,6.269, 6.012,12.912, 8,19.852L 356,192 l-8,0 L 348,79.548 z M 332,57.088\n\t\tc 2.854,3.057, 5.526,6.286, 8,9.669L 340,192 l-8,0 L 332,57.088 z M 316,43.099c 2.77,1.962, 5.439,4.056, 8,6.273L 324,192 l-8,0 L 316,43.099 z M 300,33.781\n\t\tc 2.732,1.281, 5.402,2.674, 8,4.18L 308,192 l-8,0 L 300,33.781 z M 284,27.833c 2.713,0.759, 5.381,1.625, 8,2.594L 292,192 l-8,0 L 284,27.833 z M 268,24.696\n\t\tc 2.699,0.312, 5.367,0.726, 8,1.241L 276,192 l-8,0 L 268,24.696 z M 252,24.084c 1.328-0.051, 2.66-0.084, 4-0.084s 2.672,0.034, 4,0.084L 260,192 l-8,0 L 252,24.084 z\n\t\t M 236,25.938c 2.633-0.515, 5.301-0.93, 8-1.241L 244,192 l-8,0 L 236,25.938 z M 220,30.427c 2.619-0.969, 5.287-1.834, 8-2.594L 228,192 l-8,0 L 220,30.427 z\n\t\t M 204,37.961c 2.597-1.506, 5.268-2.898, 8-4.18L 212,192 l-8,0 L 204,37.961 z M 188,49.372c 2.561-2.217, 5.231-4.311, 8-6.273L 196,192 l-8,0 L 188,49.372 z\n\t\t M 172,66.757c 2.474-3.383, 5.146-6.612, 8-9.669L 180,192 l-8,0 L 172,66.757 z M 156,99.4c 1.988-6.94, 4.686-13.583, 8-19.852L 164,192 l-8,0 L 156,99.4 z M 360,288\n\t\tc0,57.346-46.654,104-104,104s-104-46.654-104-104l0-64 l 208,0 L 360,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,384c 70.692,0, 128-57.308, 128-128l0-64 L 128,192 l0,64 C 128,326.692, 185.308,384, 256,384zM 448,160l-32,0 l0,96 c0,88.365-71.635,160-160,160S 96,344.365, 96,256l0-96 L 64,160 l-32,32l 32,0 l0,64 c0,95.134, 69.196,174.094, 160,189.33\n\t\tL 224,480 l-64,32l 192,0 l-64-32l0-34.67 c 90.804-15.236, 160-94.196, 160-189.33l0-64 l 32,0 L 448,160zM 384,128C 384,57.308, 326.693,0, 256,0S 128,57.308, 128,128l0,32 l 256,0 L 384,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podcast, broadcast, live, wave, radio, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,512l 192,0 l-64-64L 288,215.417 c 19.124-11.067, 32-31.732, 32-55.417c0-35.346-28.653-64-64-64c-35.346,0-64,28.654-64,64\n\t\tc0,23.685, 12.876,44.349, 32,55.417L 224,448 L 160,512zM 355.918,80.004C 373.486,101.918, 384,129.729, 384,160s-10.515,58.082-28.082,79.996l 24.979,19.999\n\t\tC 402.857,232.603, 416,197.839, 416,160s-13.144-72.603-35.103-99.995L 355.918,80.004zM 131.102,60.006C 109.143,87.398, 96,122.162, 96,160s 13.143,72.602, 35.102,99.994l 24.979-19.999\n\t\tC 138.515,218.082, 128,190.271, 128,160s 10.515-58.082, 28.082-79.995L 131.102,60.006zM 56.164,0C 21.030,43.828,0,99.449,0,159.991S 21.030,276.154, 56.164,319.98l 24.979-19.998\n\t\tC 50.401,261.633, 32,212.965, 32,159.991s 18.4-101.643, 49.143-139.992L 56.164,0zM 455.836,0l-24.979,19.999C 461.6,58.348, 480,107.017, 480,159.991s-18.4,101.644-49.144,139.992l 24.979,19.999\n\t\tC 490.971,276.154, 512,220.533, 512,159.991S 490.971,43.828, 455.836,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podcast, broadcast, live, wave, radio, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256c0,70.691, 28.653,134.691, 74.98,181.019l 22.627-22.626C 57.072,373.855, 32,317.855, 32,256\n\t\t\tC 32,132.288, 132.288,32, 256,32s 224,100.288, 224,224c0,61.855-25.072,117.855-65.608,158.393l 22.628,22.626\n\t\t\tC 483.346,390.691, 512,326.691, 512,256C 512,114.615, 397.385,0, 256,0zM 256,0C 114.615,0,0,114.615,0,256c0,70.691, 28.653,134.691, 74.98,181.019l 22.627-22.626C 57.072,373.855, 32,317.855, 32,256\n\t\t\tC 32,132.288, 132.288,32, 256,32s 224,100.288, 224,224c0,61.855-25.072,117.855-65.608,158.393l 22.628,22.626\n\t\t\tC 483.346,390.691, 512,326.691, 512,256C 512,114.615, 397.385,0, 256,0L 256,0zM 256,96c-88.366,0-160,71.634-160,160c0,44.184, 17.909,84.184, 46.862,113.137l 22.639-22.638\n\t\t\tc-23.161-23.161-37.486-55.157-37.486-90.499c0-70.684, 57.301-127.985, 127.985-127.985c 70.684,0, 127.984,57.301, 127.984,127.985\n\t\t\tc0,35.342-14.325,67.338-37.486,90.499l 22.639,22.638C 398.092,340.184, 416,300.184, 416,256C 416,167.634, 344.365,96, 256,96zM 301.255,301.255C 312.837,289.673, 320,273.673, 320,256c0-35.346-28.654-64-64-64c-35.347,0-64,28.654-64,64\n\t\tc0,17.673, 7.164,33.673, 18.745,45.255l 22.627-22.627C 227.582,272.837, 224,264.837, 224,256c0-17.673, 14.327-32, 32-32\n\t\ts 32,14.327, 32,32c0,8.837-3.582,16.837-9.372,22.628L 301.255,301.255zM 244,288L 160,512L 352,512L 268,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio, podcast, broadcast, live, wave\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,192L 96,512l 48.596,0 L 256,414.521L 367.406,512L 416,512 L 288,192L 224,192 z M 149.024,465.605l 42.871-107.179l 39.81,34.833\n\t\t\tL 149.024,465.605z M 362.978,465.604l-82.68-72.344l 39.809-34.833L 362.978,465.604z M 256,372l-51.507-45.068L 245.665,224l 20.67,0 \n\t\t\tl 41.173,102.932L 256,372zM 366.871,64.001C 377.764,82.828, 384,104.686, 384,128s-6.236,45.172-17.129,63.999l 27.72,16\n\t\t\tC 408.204,184.465, 416,157.144, 416,128s-7.796-56.465-21.409-79.999L 366.871,64.001zM 145.128,191.999C 134.238,173.172, 128,151.314, 128,128s 6.236-45.172, 17.128-63.999L 117.41,48.002\n\t\t\tC 103.796,71.536, 96,98.856, 96,128s 7.796,56.464, 21.41,79.999L 145.128,191.999zM 34.252,0C 12.47,37.655,0,81.371,0,128s 12.47,90.345, 34.252,127.999l 27.719-16C 42.911,207.052, 32,168.801, 32,128\n\t\t\tS 42.911,48.948, 61.971,16L 34.252,0zM 512,128c0-46.63-12.47-90.346-34.253-128l0,0L 450.030,16C 469.090,48.948, 480,87.199, 480,128s-10.91,79.053-29.971,112\n\t\t\tl 27.718,16l0,0C 499.531,218.346, 512,174.63, 512,128zM 224,128A32,32 12600 1 1 288,128A32,32 12600 1 1 224,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"connection, broadcast, wifi, wave, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,384A32,32 12600 1 1 288,384A32,32 12600 1 1 224,384zM 256,64c-96.026,0-182.161,42.307-240.815,109.286l 24.081,21.071C 92.055,134.077, 169.577,96, 256,96\n\t\tc 86.423,0, 163.945,38.077, 216.734,98.357l 24.081-21.071C 438.161,106.307, 352.027,64, 256,64zM 256,160c-67.218,0-127.513,29.615-168.571,76.5l 24.082,21.071C 146.703,217.384, 198.385,192, 256,192\n\t\tc 57.616,0, 109.297,25.384, 144.489,65.571l 24.082-21.071C 383.513,189.615, 323.219,160, 256,160zM 256,256c-38.41,0-72.865,16.923-96.326,43.715l 24.082,21.071C 201.352,300.692, 227.192,288, 256,288\n\t\tc 28.808,0, 54.648,12.692, 72.245,32.786l 24.081-21.071C 328.865,272.923, 294.41,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, wave, radio, live, broadcast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256A64,64 2520 1 1 320,256A64,64 2520 1 1 192,256zM 332.174,115.263 C 382.1,142.342 416,195.212 416,256 C 416,316.788 382.1,369.658 332.174,396.737 C 354.207,361.674 368,311.602 368,256 C 368,200.398 354.207,150.326 332.174,115.263 ZM 144,256 C 144,311.602 157.792,361.674 179.826,396.737 C 129.9,369.657 96,316.788 96,256 C 96,195.212 129.9,142.343 179.826,115.263 C 157.792,150.326 144,200.398 144,256 ZM 48,256 C 48,341.95 75.202,419.092 118.326,471.861 C 47.175,426.387 0,346.704 0,256 C 0,165.296 47.175,85.613 118.326,40.139 C 75.202,92.908 48,170.050 48,256 ZM 393.676,40.14 C 464.825,85.613 512,165.296 512,256 C 512,346.704 464.825,426.387 393.676,471.86 C 436.798,419.092 464,341.95 464,256 C 464,170.050 436.798,92.908 393.676,40.14 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio, podcast, broadcast, live, wave\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,160c0-35.346-28.653-64-64-64c-35.346,0-64,28.654-64,64c0,22.677, 11.804,42.583, 29.592,53.952L 140.306,512l 39.388,0 \n\t\tl 8.727-32l 135.158,0 l 8.728,32l 39.388,0 l-81.286-298.048C 308.196,202.583, 320,182.677, 320,160z M 297.397,384l-82.794,0 l 8.727-32l 65.34,0 \n\t\tL 297.397,384z M 232.058,320L 256,232.211L 279.942,320L 232.058,320 z M 197.148,448l 8.728-32l 100.249,0 l 8.727,32L 197.148,448 zM 332.174,19.263 C 382.1,46.342 416,99.212 416,160 C 416,220.788 382.1,273.658 332.174,300.737 C 354.207,265.674 368,215.602 368,160 C 368,104.398 354.207,54.326 332.174,19.263 ZM 428.174,19.263 C 478.1,46.342 512,99.212 512,160 C 512,220.788 478.1,273.658 428.174,300.737 C 450.207,265.674 464,215.602 464,160 C 464,104.398 450.207,54.326 428.174,19.263 ZM 179.826,300.737 C 129.9,273.657 96,220.788 96,160 C 96,99.212 129.9,46.343 179.826,19.263 C 157.792,54.326 144,104.398 144,160 C 144,215.602 157.792,265.674 179.826,300.737 ZM 0,160 C 0,99.212 33.9,46.343 83.826,19.263 C 61.792,54.326 48,104.398 48,160 C 48,215.602 61.792,265.674 83.826,300.737 C 33.9,273.657 0,220.788 0,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podcast, broadcast, live, wave, radio, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,114.615, 397.385,0, 256,0S0,114.615,0,256c0,110.027, 69.418,203.832, 166.843,240.034L 160,512l 192,0 l-6.843-15.966\n\tC 442.582,459.832, 512,366.027, 512,256z M 243.395,317.413C 231.991,312.519, 224,301.195, 224,288c0-17.673, 14.327-32, 32-32\n\tc 17.673,0, 32,14.327, 32,32c0,13.195-7.989,24.522-19.393,29.417L 256,288L 243.395,317.413z M 269.134,318.646\n\tC 298.18,312.587, 320,286.845, 320,256c0-35.347-28.653-64-64-64c-35.346,0-64,28.653-64,64c0,30.846, 21.831,56.561, 50.88,62.614\n\tl-37.312,87.061C 159.953,386.1, 128,340.783, 128,288c0-70.692, 57.308-134, 128-134s 128,63.308, 128,134\n\tc0,52.783-31.953,98.1-77.568,117.675L 269.134,318.646z M 344.224,493.854l-36.962-86.243C 370.485,386.242, 416,326.438, 416,256\n\tc0-88.365-71.634-160-160-160c-88.365,0-160,71.635-160,160c0,70.438, 45.515,130.242, 108.738,151.611l-36.962,86.243\n\tC 87.979,459.61, 32.083,380.337, 32.083,288C 32.083,164.334, 132.334,58.083, 256,58.083c 123.666,0, 223.917,106.251, 223.917,229.917\n\tC 479.917,380.337, 424.021,459.61, 344.224,493.854z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"connection, broadcast, wifi, wave, feed\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 288,448A32,32 2520 1 1 352,448A32,32 2520 1 1 288,448zM 320,96c 112.8,0, 216.385,34.658, 297.72,92.509C 546.826,92.902, 439.777,32, 320,32C 200.223,32, 93.175,92.902, 22.281,188.508\n\tC 103.616,130.658, 207.2,96, 320,96zM 320,224c 76.853,0, 147.895,20.56, 205.514,55.385C 479.462,207.064, 404.574,160, 320,160s-159.462,47.064-205.514,119.385\n\tC 172.105,244.56, 243.146,224, 320,224zM 320,352c 40.751,0, 79.405,5.262, 114.121,14.676C 411.059,319.587, 368.588,288, 320,288s-91.059,31.587-114.121,78.676\n\tC 240.595,357.262, 279.248,352, 320,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"connection, broadcast, wifi, wave, feed\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 320,288 C 372.935,288 420.935,309.533 455.701,344.299 L 410.467,389.533 C 387.29,366.355 355.289,352 320,352 C 284.711,352 252.711,366.355 229.533,389.533 L 184.299,344.299 C 219.065,309.533 267.065,288 320,288 ZM 93.726,253.726 C 154.166,193.286 234.525,160 320,160 C 405.475,160 485.834,193.286 546.275,253.726 L 501.020,298.98 L 501.020,298.98 C 452.667,250.628 388.38,224 320,224 C 251.619,224 187.333,250.628 138.981,298.981 L 93.726,253.726 ZM 494.392,67.219 C 547.743,89.785 595.65,122.083 636.783,163.217 L 636.783,163.217 L 591.529,208.471 C 519.001,135.943 422.569,96 320,96 C 217.43,96 121,135.943 48.471,208.471 L 3.216,163.216 C 44.35,122.083 92.257,89.785 145.608,67.219 C 200.86,43.85 259.534,32 320,32 C 380.466,32 439.139,43.85 494.392,67.219 ZM 288,448A32,32 2520 1 1 352,448A32,32 2520 1 1 288,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"new, advertisement\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,96L 64,96 c-35.2,0-64,28.8-64,64l0,192 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,160 C 512,124.8, 483.2,96, 448,96z\n\t M 160,352l-32,0 L 64,245.333L 64,352 L 32,352 L 32,192 l 32,0 l 64,106.667L 128,192 l 32,0 L 160,352 z M 288,224l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,31.999 L 192,352L 192,192 l 96,0 L 288,224 z\n\t M 480,352l-47.999,0 L 400,288l-32,64l-48,0 L 320,192 l 32,0 l0,128 l 32-64l 32.001,0 L 448,319.998L 448,192 l 32,0 L 480,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"megaphone, bullhorn, announcement, advertisement, news\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,192L0,192 l0,160 l 64,0 l0-32 l 64.009,18.289c-0.002,0.242-0.009,0.484-0.009,0.729L 128,384 c0,17.602, 14.399,32, 32,32l 64,0 \n\t\tc 17.6,0, 32-14.398, 32-32l0-9.143 l 160,45.715L 416,123.43 L 64,224L 64,192 z M 160,347.43l 63.928,18.265L 223.928,384 L 160,384 L 160,347.43 zM 448,114.286L 448,429.715L 512,448L 512,96 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bullhorn, megaphone, announcement, advertisement, news\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,214.628c0-100.463-29.396-181.969-65.741-182.613c 0.146-0.003, 0.289-0.015, 0.436-0.015l-41.471,0 \n\tc0,0-97.4,73.168-237.615,101.877c-4.28,22.646-7.015,49.637-7.015,80.751c0,31.114, 2.733,58.104, 7.015,80.75\n\tc 140.214,28.709, 237.615,101.878, 237.615,101.878l 41.471,0 c-0.146,0-0.289-0.012-0.436-0.016C 482.607,396.596, 512,315.091, 512,214.628\n\tz M 432.412,369.626c-4.691,0-9.766-4.871-12.373-7.774c-6.315-7.032-12.396-17.98-17.594-31.664\n\tc-11.628-30.616-18.033-71.655-18.033-115.562c0-43.905, 6.405-84.945, 18.033-115.561c 5.197-13.684, 11.281-24.633, 17.594-31.664\n\tc 2.607-2.906, 7.682-7.776, 12.373-7.776c 4.69,0, 9.768,4.872, 12.372,7.776c 6.317,7.032, 12.398,17.979, 17.594,31.664\n\tc 11.629,30.615, 18.034,71.656, 18.034,115.561c0,43.902-6.405,84.944-18.034,115.562c-5.195,13.684-11.281,24.632-17.594,31.664\n\tC 442.18,364.755, 437.104,369.626, 432.412,369.626z M 125.906,214.628c0-25.975, 1.905-51.215, 5.526-74.547\n\tc-23.686,3.277-44.471,5.162-70.17,5.162c-33.529,0-33.529,0-33.529,0L0,192.586l0,44.085 l 27.73,47.343c0,0,0,0, 33.53,0\n\tc 25.699,0, 46.484,1.887, 70.17,5.162C 127.812,265.844, 125.906,240.603, 125.906,214.628z M 184.075,321.086l-63.999-12.255\n\tl 40.921,160.772c 2.118,8.317, 10.372,12.519, 18.343,9.327l 59.278-23.726c 7.972-3.188, 11.164-11.982, 7.098-19.542L 184.075,321.086zM 432.412,274.365c-1.809,0-3.764-1.877-4.769-2.996c-2.435-2.71-4.778-6.93-6.781-12.204\n\tc-4.481-11.8-6.95-27.617-6.95-44.539c0-16.922, 2.469-32.739, 6.95-44.539c 2.003-5.274, 4.348-9.494, 6.781-12.204\n\tc 1.005-1.12, 2.96-2.997, 4.769-2.997c 1.808,0, 3.765,1.878, 4.769,2.997c 2.435,2.71, 4.778,6.929, 6.78,12.204\n\tc 4.482,11.799, 6.951,27.617, 6.951,44.539c0,16.921-2.469,32.739-6.951,44.539c-2.002,5.274-4.348,9.494-6.78,12.204\n\tC 436.177,272.488, 434.221,274.365, 432.412,274.365z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"chess, grid, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 512,0L 512,64L 448,64zM 448,128L 512,128L 512,192L 448,192zM 448,256L 512,256L 512,320L 448,320zM 448,384L 512,384L 512,448L 448,448zM 384,64L 448,64L 448,128L 384,128zM 384,192L 448,192L 448,256L 384,256zM 384,320L 448,320L 448,384L 384,384zM 384,448L 448,448L 448,512L 384,512zM 320,0L 384,0L 384,64L 320,64zM 320,128L 384,128L 384,192L 320,192zM 320,256L 384,256L 384,320L 320,320zM 320,384L 384,384L 384,448L 320,448zM 256,64L 320,64L 320,128L 256,128zM 256,192L 320,192L 320,256L 256,256zM 256,320L 320,320L 320,384L 256,384zM 256,448L 320,448L 320,512L 256,512zM 192,0L 256,0L 256,64L 192,64zM 192,128L 256,128L 256,192L 192,192zM 192,256L 256,256L 256,320L 192,320zM 192,384L 256,384L 256,448L 192,448zM 128,64L 192,64L 192,128L 128,128zM 128,192L 192,192L 192,256L 128,256zM 128,320L 192,320L 192,384L 128,384zM 128,448L 192,448L 192,512L 128,512zM 64,0L 128,0L 128,64L 64,64zM 64,128L 128,128L 128,192L 64,192zM 64,256L 128,256L 128,320L 64,320zM 64,384L 128,384L 128,448L 64,448zM0,64L 64,64L 64,128L0,128zM0,192L 64,192L 64,256L0,256zM0,320L 64,320L 64,384L0,384zM0,448L 64,448L 64,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pawn, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368.010,317.98C 378.193,299.615, 384,278.487, 384,256c0-51.657-30.604-96.162-74.667-116.386\n\tC 325.695,124.965, 336,103.689, 336,80c0-44.183-35.817-80-80-80c-44.183,0-80,35.817-80,80c0,23.69, 10.305,44.965, 26.667,59.614\n\tC 158.604,159.838, 128,204.343, 128,256c0,22.487, 5.806,43.615, 15.99,61.98C 77.044,356.713, 32,429.094, 32,512l 448,0 \n\tC 480,429.094, 434.956,356.713, 368.010,317.98z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"knight, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,480L 128,480L 112,512L 512,512 \tzM 283.746,256c 6.724,103.949-84.766,144.757-116.334,208L 480,464 c0-35.797,0-92.966,0-176\n\t\tc0-111.17-43.536-191.427-94.956-230.070c-2.373-10.093-5.959-21.243-9.954-30.304l-6.18-14.013\n\t\tc-7.102-16.104-22.144-18.229-33.426-4.722l-19.313,23.118C 316.030,32.008, 315.888,32, 315.746,32\n\t\tc-8.234,0-15.821,0.257-22.854,0.745L 250.626,4.567C 235.981-5.196, 224,1.216, 224,18.816l0,32.592 \n\t\tc-12.982,7.351-23.863,16.243-36.254,25.691c-32,24.399-108.926,121.066-160,178.901c-47.246,53.5-21.725,96, 23,86\n\t\tc-2.246,42, 32.754,28.5, 57,10C 163.653,309.343, 288.5,329.5, 283.746,256z M 387.463,86.538c 17.253,17.466, 32.154,39.811, 43.73,65.751\n\t\tC 448.981,192.146, 458,237.806, 458,288l0,144 l-48-48l0-96 c0-43.411-7.617-82.489-22.64-116.149\n\t\tc-9.204-20.625-20.739-38.084-33.835-51.375L 387.463,86.538z M 80,294.628c-12.497,0-22.628-10.13-22.628-22.628\n\t\tc0-12.497, 10.131-22.627, 22.628-22.627c 12.496,0, 22.627,10.13, 22.627,22.627C 102.627,284.498, 92.496,294.628, 80,294.628z\n\t\t M 240.971,143.971c-18.746,18.745-41.539,26.343-50.912,16.971c-9.373-9.373-1.775-32.167, 16.97-50.912\n\t\tc 18.745-18.745, 41.539-26.343, 50.913-16.97C 267.312,102.432, 259.716,125.226, 240.971,143.971z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bishop, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 396.797,384L 83.204,384 c 14.825,36.516, 79.39,64, 156.796,64S 381.972,420.516, 396.797,384zM0,512l 45,0 c0-1.29, 1.402-5.613, 5.57-10.059S 58.791,496, 60,496l 135,0 c 26.719-0.5, 45-31.5, 45-48c0,0-150,0-180,0S0,480,0,512zM 420,448c-30,0-180,0-180,0c0,16.5, 18.281,47.5, 45,48l 135,0 c 1.209,0, 5.263,1.496, 9.43,5.941\n\t\tc 4.168,4.445, 5.57,8.769, 5.57,10.059l 45,0 C 480,480, 450,448, 420,448zM 240,352l 156.797,0 c-6.501-16.013-22.567-30.287-45.086-41.271C 362.080,296.723, 368,278.706, 368,256\n\t\tc0-80.469-58.467-132.785-99.354-151.882C 285.024,94.347, 296,76.458, 296,56c0-30.928-25.072-56-56-56c-30.928,0-56,25.072-56,56\n\t\tc0,20.458, 10.976,38.347, 27.354,48.118C 170.467,123.215, 112,175.531, 112,256c0,22.706, 5.92,40.723, 16.289,54.729\n\t\tC 105.771,321.713, 89.704,335.988, 83.204,352L 240,352 C 240,352, 240,352, 240,352z M 160,224l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 l0,32 l-64,0 l0,64 l-32,0 l0-64 L 160,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rock, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,144L 384,144L 384,400L 96,400zM 384,128l 64-64L 448,0 l-64,0 l0,32 l-96,0 L 288,0 l-96,0 l0,32 L 96,32 L 96,0 L 32,0 l0,64 l 64,64L 384,128 z M 384,80l-16,16L 112,96 L 96,80L 384,80 zM 64,416L 416,416L 416,448L 64,448zM 448,464L 32,464 c0,0-24.5,16-32,48l 480,0 C 472.5,480, 448,464, 448,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"queen, chess, game, crown\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,480c-57.294,0-112.881-4.967-156.521-13.984c-1.169-0.241-2.328-0.487-3.479-0.734l0,32.676 \n\t\tC 139.829,506.742, 195.454,512, 256,512s 116.171-5.258, 160-14.043l0-32.676 c-1.151,0.247-2.31,0.493-3.479,0.734\n\t\tC 368.882,475.033, 313.295,480, 256,480zM 384,430.997L 384,416 l-16-32L 144,384 l-16,32l0,14.997 c 37.655,5.446, 81.37,8.564, 128,8.564\n\t\tC 302.631,439.562, 346.345,436.443, 384,430.997zM 500.754,140.828c-14.997-14.997-39.311-14.997-54.307,0c-12.725,12.724-14.646,32.154-5.776,46.911l-97.661,58.597\n\t\tl 19.253-90.858c 16.84,3.581, 34.585-4.562, 42.474-20.735c 9.297-19.062, 1.381-42.050-17.68-51.347\n\t\tc-19.062-9.297-42.051-1.381-51.348,17.681c-7.889,16.174-3.38,35.171, 9.811,46.236l-59.104,70.348l-21.101-84.403\n\t\tc 16.705-4.163, 29.085-19.261, 29.085-37.256c0-21.208-17.192-38.4-38.399-38.4c-21.208,0-38.4,17.192-38.4,38.4\n\t\tc0,17.995, 12.38,33.093, 29.086,37.256l-21.101,84.403l-59.104-70.348c 13.19-11.065, 17.699-30.062, 9.811-46.236\n\t\tc-9.297-19.062-32.286-26.978-51.348-17.681c-19.061,9.297-26.977,32.286-17.68,51.347c 7.888,16.174, 25.634,24.316, 42.474,20.735\n\t\tl 19.252,90.858l-97.66-58.597c 8.87-14.757, 6.947-34.187-5.777-46.911c-14.996-14.997-39.31-14.997-54.307,0\n\t\tc-14.995,14.996-14.995,39.309, 0.001,54.306c 12.724,12.724, 32.154,14.646, 46.91,5.777L 148.811,352l 214.378,0 l 90.653-151.089\n\t\tc 14.756,8.869, 34.186,6.947, 46.91-5.777C 515.749,180.137, 515.749,155.823, 500.754,140.828z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"king, chess, game, crwon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 487.024,132.75c-16.872-16.872-40.057-24.976-65.75-24.976c-34.444,0-73.404,14.558-107.766,42.062\n\t\tc-8.132-24.908-23.24-43.758-41.509-50.811L 271.999,64 l 48,0 L 319.999,32 l-48,0 L 271.999,0 l-32,0 l0,32 l-48,0 l0,32 l 48,0 l0,35.024 c-18.268,7.053-33.376,25.902-41.508,50.809\n\t\tc-34.361-27.503-73.321-42.062-107.765-42.060c-25.693,0.002-48.879,8.104-65.75,24.976\n\t\tc-43.739,43.739-28.542,129.85, 33.941,192.333C 70.596,336.761, 83.103,346.776, 96,355.075l0,46.882 \n\t\tC 139.829,410.742, 195.454,416, 256,416s 116.171-5.258, 160-14.043l0-46.88 c 12.897-8.298, 25.404-18.314, 37.083-29.993\n\t\tC 515.566,262.6, 530.763,176.488, 487.024,132.75z M 81.546,189.322c 0.539-0.36, 3.423-1.548, 9.181-1.549l 0.006,0 l 0.002,0 \n\t\tc 15.925,0, 43.814,9.293, 70.005,35.484c 17.287,17.287, 29.66,38.181, 33.948,57.326c 3.059,13.66, 0.767,20.748-0.007,21.868\n\t\tc-0.536,0.359-3.416,1.549-9.18,1.549c-15.928,0-43.822-9.294-70.015-35.486c-17.288-17.289-29.662-38.185-33.948-57.33\n\t\tC 78.48,197.528, 80.772,190.443, 81.546,189.322z M 430.461,211.19c-4.287,19.145-16.66,40.039-33.946,57.324\n\t\tC 370.322,294.707, 342.429,304, 326.5,304c-5.762,0-8.644-1.188-9.18-1.548c-0.773-1.119-3.066-8.204-0.009-21.862\n\t\tc 4.286-19.146, 16.66-40.041, 33.948-57.33c 26.192-26.192, 54.087-35.486, 70.015-35.486c 5.764,0, 8.645,1.188, 9.18,1.548\n\t\tC 431.228,190.442, 433.521,197.53, 430.461,211.19zM 96,450.832l0,47.125 C 139.829,506.742, 195.454,512, 256,512s 116.171-5.258, 160-14.043l0-47.125 \n\t\tC 369.086,459.457, 314.020,464, 256,464S 142.914,459.457, 96,450.832z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"diamonds, bet, game, gamble, cards\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L 96,256L 256,512L 416,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clubs, bet, game, gamble, cards\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 393.416,196.386c-29.516,0-56.043,12.298-74.926,32.347c-7.998,8.492-21.881,18.556-36.9,27.405\n\tc 7.055-26.934, 29.338-60.85, 44.814-75.728c 19.82-19.085, 31.992-45.915, 31.992-75.75C 358.399,47.213, 312.658,0.612, 256.002,0\n\tc-56.66,0.611-102.398,47.213-102.398,104.659c0,29.836, 12.172,56.665, 31.993,75.75c 15.477,14.878, 37.76,48.794, 44.814,75.728\n\tc-15.021-8.85-28.903-18.913-36.9-27.405c-18.884-20.049-45.41-32.347-74.925-32.347c-57.193,0-103.54,46.832-103.54,104.664\n\tc0,57.819, 46.346,104.669, 103.54,104.669c 29.521,0, 56.041-12.678, 74.925-32.726c 8.402-8.936, 23.222-20.069, 39.146-29.316\n\tc-1.501,73.846-36.766,128.084-72.659,149.453L 159.998,512 l 96.005,0 l 96.002,0 l0-18.87 c-35.896-21.368-71.16-75.608-72.66-149.453\n\tc 15.926,9.247, 30.744,20.384, 39.146,29.316c 18.883,20.047, 45.404,32.726, 74.926,32.726c 57.193,0, 103.539-46.85, 103.539-104.669\n\tC 496.955,243.218, 450.61,196.386, 393.416,196.386z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spades, bet, game, gamble, cards\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 408.785,174.075C 312.002,102.146, 278.652,44.566, 256.002,0.001l0,0C 256,0.001, 256,0, 256,0l0,0.001 \n\tc-22.648,44.565-56,102.146-152.783,174.074c-165.018,122.643-9.688,293.834, 126.879,199.612\n\tc-8.898,58.465-39.265,101.086-70.104,119.441L 159.992,512 l 96.008,0 l 96.008,0 l0-18.87 c-30.841-18.354-61.205-60.977-70.106-119.442\n\tC 418.47,467.911, 573.802,296.718, 408.785,174.075z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pacman, game, arcade\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 482.365,89.402C 435.414,34.677, 365.76,0, 288,0C 146.615,0, 32,114.615, 32,256s 114.615,256, 256,256\n\tc 77.76,0, 147.414-34.678, 194.364-89.402L 320,256L 482.365,89.402z M 352,60.301c 19.716,0, 35.699,15.982, 35.699,35.699\n\tc0,19.716-15.983,35.699-35.699,35.699S 316.301,115.716, 316.301,96C 316.301,76.284, 332.284,60.301, 352,60.301z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gamepad, video game, controller, joystick\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,160L 112,160 C 50.144,160,0,210.144,0,272c0,61.855, 50.144,112, 112,112c 44.677,0, 83.237-26.162, 101.215-64l 85.567,0 \n\tc 17.978,37.838, 56.538,64, 101.218,64c 61.854,0, 112-50.145, 112-112C 512,210.144, 461.857,160, 400,160z M 168.89,288L 128,288 l0,40.891 L 96,328.891 L 96,288 \n\tL 55.11,288 l0-32 L 96,256 l0-40.89 l 32,0 L 128,256 l 40.89,0 L 168.89,288 z M 368,328.891c-13.747,0-24.892-11.145-24.892-24.891s 11.145-24.891, 24.892-24.891\n\tc 13.743,0, 24.89,11.145, 24.89,24.891S 381.743,328.891, 368,328.891z M 432,264.891c-13.747,0-24.892-11.144-24.892-24.891\n\ts 11.145-24.89, 24.892-24.89c 13.743,0, 24.891,11.144, 24.891,24.89S 445.743,264.891, 432,264.891z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gamepad, video game, controller, joystick\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 475.931,157.934c-12.993-21.217-28.493-38.025-46.064-49.957C 409.825,94.37, 387.61,87.47, 363.839,87.47\n\t\tc-32.558,0-50.831,10.297-66.954,19.382c-13.141,7.404-23.52,13.253-40.882,13.255c-17.366-0.001-27.746-5.851-40.887-13.255\n\t\tc-16.122-9.084-34.395-19.381-66.952-19.381c-23.772,0-45.987,6.899-66.027,20.506c-17.574,11.932-33.072,28.74-46.066,49.957\n\t\tC 13.484,194.814,0,243.195,0,287.354c0,42.424, 2.291,72.609, 7.21,94.996c 6.673,30.364, 18.785,47.547, 37.017,52.523\n\t\tc 4.014,1.1, 8.24,1.656, 12.562,1.656c 31.438,0, 65.118-29.235, 96.922-59.182c 28.18-26.541, 33.171-26.541, 49.708-26.541\n\t\tc 1.258,0, 2.563,0.006, 3.925,0.014c 1.483,0.008, 3.031,0.015, 4.653,0.015L 256,351.809l 44.002-0.974c 1.622,0, 3.169-0.007, 4.652-0.015\n\t\tc 1.361-0.008, 2.669-0.014, 3.926-0.014c 16.537,0, 21.529,0, 49.71,26.541c 31.803,29.946, 65.482,59.182, 96.92,59.183\n\t\tc 0.001,0, 0.001,0, 0.002,0c 4.32,0, 8.547-0.558, 12.551-1.653c 18.243-4.979, 30.354-22.162, 37.026-52.525\n\t\tc 4.919-22.389, 7.211-52.574, 7.211-94.998C 512,243.195, 498.516,194.814, 475.931,157.934z M 473.534,375.483\n\t\tc-3.554,16.173-8.993,27.103-14.218,28.528c-1.257,0.344-2.638,0.519-4.105,0.519c-21.375-0.001-57.583-34.095-74.981-50.478\n\t\tc-17.039-16.048-27.119-23.831-37.192-28.719c-13.453-6.527-24.612-6.527-34.457-6.527c-1.314,0-2.683,0.006-4.096,0.014\n\t\tc-1.429,0.008-2.92,0.015-4.482,0.015l-0.354,0 l-0.354,0.008L 256,319.801l-43.295-0.958l-0.354-0.008l-0.354,0 \n\t\tc-1.563,0-3.054-0.007-4.472-0.014c-1.425-0.009-2.791-0.015-4.106-0.015c-9.845,0-21.004,0-34.457,6.528\n\t\tc-10.072,4.887-20.152,12.67-37.188,28.715c-17.401,16.385-53.61,50.479-74.985,50.479c-1.468,0-2.85-0.175-4.136-0.526\n\t\tc-5.198-1.419-10.635-12.348-14.189-28.521C 34.054,355.411, 32,327.407, 32,287.354c0-18.804, 2.901-39.153, 8.391-58.848\n\t\tc 5.472-19.634, 13.415-38.258, 22.969-53.859c 10.603-17.312, 22.968-30.836, 36.753-40.195c 14.639-9.94, 30.805-14.98, 48.051-14.98\n\t\tc 24.161,0, 36.71,7.071, 51.251,15.264c 14.451,8.142, 30.83,17.37, 56.592,17.372c 25.752-0.003, 42.13-9.23, 56.588-17.376\n\t\tc 14.531-8.188, 27.082-15.26, 51.244-15.26c 17.244,0, 33.411,5.041, 48.050,14.98c 13.787,9.362, 26.152,22.886, 36.753,40.196\n\t\tc 9.554,15.601, 17.496,34.225, 22.968,53.859c 5.489,19.695, 8.391,40.044, 8.391,58.848C 480,327.403, 477.945,355.408, 473.534,375.483zM 320,192A32,32 6120 1 1 384,192A32,32 6120 1 1 320,192zM 384,256A32,32 6120 1 1 448,256A32,32 6120 1 1 384,256zM 128,192c 17.645,0, 32,14.355, 32,32s-14.355,32-32,32s-32-14.355-32-32S 110.355,192, 128,192 M 128,160\n\t\tc-35.29,0-64,28.71-64,64c0,35.29, 28.71,64, 64,64s 64-28.71, 64-64C 192,188.71, 163.29,160, 128,160L 128,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gamepad, video game, controller, joystick\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,160L 128,160L 128,192L 96,192L 96,224L 128,224L 128,256L 160,256L 160,224L 192,224L 192,192L 160,192 \tzM 320,184A24,24 12600 1 1 368,184A24,24 12600 1 1 320,184zM 368,232A24,24 12600 1 1 416,232A24,24 12600 1 1 368,232zM 369.736,85.926c-58.11,0-67.181,34.417-113.735,34.421c-46.555-0.004-55.625-34.421-113.735-34.421\n\t\tC 48.53,85.926,0,200.663,0,282.739c0,77.651, 7.296,134.155, 36.344,142.085c 29.063,7.958, 66.085-23.379, 102.175-57.36\n\t\tc 36.081-33.981, 42.174-31.771, 71.229-31.771L 256,336.715l 46.252-1.021c 29.056,0, 35.148-2.211, 71.229,31.771\n\t\tc 36.090,33.981, 73.111,65.318, 102.175,57.36C 504.704,416.895, 512,360.391, 512,282.739C 512,200.663, 463.471,85.926, 369.736,85.926z\n\t\t M 144,288c-44.183,0-80-35.817-80-80s 35.817-80, 80-80s 80,35.817, 80,80S 188.183,288, 144,288z M 368,288c-44.183,0-80-35.817-80-80\n\t\ts 35.817-80, 80-80s 80,35.817, 80,80S 412.183,288, 368,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dice, die, game, chance, luck, random, gample\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,96L 176,96 c-44,0-80,36-80,80l0,256 c0,44, 36,80, 80,80l 256,0 c 44,0, 80-36, 80-80L 512,176 C 512,132, 476,96, 432,96z M 208,448\n\tc-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 234.51,448, 208,448z M 208,256c-26.51,0-48-21.49-48-48s 21.49-48, 48-48\n\ts 48,21.49, 48,48S 234.51,256, 208,256z M 304,352c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 330.51,352, 304,352z M 400,448\n\tc-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,448, 400,448z M 400,256c-26.51,0-48-21.49-48-48s 21.49-48, 48-48\n\ts 48,21.49, 48,48S 426.51,256, 400,256z M 414.38,64C 406.915,27.598, 374.525,0, 336,0L 80,0 C 36,0,0,36,0,80l0,256 \n\tc0,38.523, 27.598,70.915, 64,78.38L 64,96 c0-17.6, 14.4-32, 32-32L 414.38,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 291.571,416l-199,0 C 59.172,416, 32,389.683, 32,357.334L 32,186.667 C 32,154.318, 59.172,128, 92.571,128l 199,0 \n\t\tc 33.399,0, 60.571,26.318, 60.571,58.667l0,21.7 l 69.58-60.266c 9.591-9.084, 19.306-13.69, 28.881-13.69\n\t\tc 13.561,0, 29.396,9.961, 29.396,38.033l0,199.111 c0,10.083-2.061,18.469-6.124,24.924c-5.244,8.331-13.727,13.109-23.271,13.109\n\t\tc-0.001,0-0.001,0-0.003,0c-9.574-0.001-19.287-4.605-28.877-13.688l-69.582-60.267l0,21.699 \n\t\tC 352.143,389.683, 324.971,416, 291.571,416z M 92.571,160C 76.817,160, 64,171.963, 64,186.667l0,170.667 \n\t\tC 64,372.038, 76.817,384, 92.571,384l 199,0 c 15.754,0, 28.571-11.962, 28.571-26.666l0-57.005 c0-6.58, 4.028-12.489, 10.153-14.894\n\t\tc 6.124-2.402, 13.098-0.814, 17.573,4.008c 0.328,0.354, 0.625,0.663, 0.902,0.938l 94.188,81.577c 0.2,0.175, 0.396,0.354, 0.589,0.537\n\t\tc 1.623,1.554, 3.029,2.668, 4.174,3.453c 0.163-1.159, 0.278-2.615, 0.278-4.393L 447.999,172.444 c0-1.777-0.115-3.233-0.278-4.392\n\t\tc-1.145,0.784-2.551,1.899-4.174,3.453c-0.192,0.184-0.389,0.362-0.589,0.536l-94.19,81.581c-0.273,0.271-0.573,0.582-0.908,0.942\n\t\tc-4.479,4.817-11.445,6.404-17.571,3.996c-6.121-2.406-10.146-8.313-10.146-14.891l0-57.004 c0-14.704-12.817-26.667-28.571-26.667\n\t\tL 92.571,159.998 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,368c0,26.4-21.6,48-48,48L 80,416 c-26.4,0-48-21.6-48-48L 32,176 c0-26.4, 21.6-48, 48-48l 224,0 c 26.4,0, 48,21.6, 48,48L 352,368 zM 480,160 L 480,384 C 480,410.4 464.727,416.727 446.059,398.058 L 353.942,305.941 C 335.274,287.273 335.274,256.726 353.942,238.059 L 446.059,145.941 C 464.727,127.273 480,133.6 480,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 489.42,128.126c-5.294,0-10.729,1.861-15.718,5.383L 384,196.816L 384,144 c0-26.4-21.6-48-48-48L 48,96 c-26.4,0-48,21.6-48,48l0,224 \n\tc0,26.4, 21.6,48, 48,48l 288,0 c 26.4,0, 48-21.6, 48-48l0-52.815 l 89.701,63.307c 4.989,3.521, 10.424,5.382, 15.717,5.383\n\tc 0.001,0, 0.001,0, 0.003,0c 7.044,0, 13.477-3.248, 17.646-8.911c 3.228-4.385, 4.934-10.027, 4.934-16.318L 512.001,153.355 \n\tC 512,136.792, 500.641,128.126, 489.42,128.126z M 480,343.77L 400.979,288L 352,288 l0,80 c0,8.673-7.327,16-16,16L 48,384 c-8.673,0-16-7.327-16-16\n\tL 32,144 c0-8.673, 7.327-16, 16-16l 288,0 c 8.673,0, 16,7.327, 16,16l0,80 l 48.979,0 L 480,168.23L 480,343.77 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 489.42,128.126c-5.294,0-10.729,1.861-15.718,5.383L 384,196.816L 384,144 c0-26.4-21.6-48-48-48L 48,96 c-26.4,0-48,21.6-48,48l0,224 \n\tc0,26.4, 21.6,48, 48,48l 288,0 c 26.4,0, 48-21.6, 48-48l0-52.815 l 89.701,63.307c 4.989,3.521, 10.424,5.382, 15.717,5.383\n\tc 0.001,0, 0.001,0, 0.003,0c 7.044,0, 13.477-3.248, 17.646-8.911c 3.228-4.385, 4.934-10.027, 4.934-16.318L 512.001,153.355 \n\tC 512,136.792, 500.641,128.126, 489.42,128.126z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,144A80,80 10800 1 1 352,144A80,80 10800 1 1 192,144zM0,144A80,80 10800 1 1 160,144A80,80 10800 1 1 0,144zM 384,304l0-48 c0-17.6-14.4-32-32-32l-80,0 L 80,224 L 32,224 c-17.6,0-32,14.4-32,32l0,160 c0,17.6, 14.4,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32\n\t\tl0-48 l 128,80L 512,224 L 384,304z M 320,384L 64,384 l0-96 l 256,0 L 320,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape, play\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 96,416L 32,416 l0-64 l 64,0 L 96,416 z M 96,288L 32,288 l0-64 l 64,0 L 96,288 z M 96,160L 32,160 L 32,96 l 64,0 L 96,160 z M 384,416L 128,416 L 128,96 l 256,0 L 384,416 z\n\t\t M 480,416l-64,0 l0-64 l 64,0 L 480,416 z M 480,288l-64,0 l0-64 l 64,0 L 480,288 z M 480,160l-64,0 L 416,96 l 64,0 L 480,160 zM 192,160L 192,352L 320,256 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 96,416L 32,416 l0-64 l 64,0 L 96,416 z M 96,288L 32,288 l0-64 l 64,0 L 96,288 z M 96,160L 32,160 L 32,96 l 64,0 L 96,160 z M 384,416L 128,416 L 128,96 l 256,0 L 384,416 z\n\t M 480,416l-64,0 l0-64 l 64,0 L 480,416 z M 480,288l-64,0 l0-64 l 64,0 L 480,288 z M 480,160l-64,0 L 416,96 l 64,0 L 480,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 96,448L 32,448 l0-64 l 64,0 L 96,448 z M 96,352L 32,352 l0-64 l 64,0 L 96,352 z M 96,224L 32,224 l0-64 l 64,0 L 96,224 z M 96,128L 32,128 L 32,64 l 64,0 L 96,128 z M 384,448\n\tL 128,448 l0-64 l0-32 l0-64 l 256,0 L 384,448 z M 384,224L 128,224 L 128,64 l 256,0 L 384,224 z M 480,448l-64,0 l0-64 l 64,0 L 480,448 z M 480,352l-64,0 l0-64 l 64,0 L 480,352 z M 480,224l-64,0 l0-64 l 64,0 L 480,224 z\n\t M 480,128l-64,0 L 416,64 l 64,0 L 480,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 320,32l 64,0 l0,64 l-64,0 L 320,32 z M 224,32l 64,0 l0,64 l-64,0 L 224,32 z M 128,32l 64,0 l0,64 l-64,0 L 128,32 z M 32,32l 64,0 l0,64 L 32,96 L 32,32 z M 32,128l 192,0 l0,256 \n\tL 32,384 L 32,128 z M 96,480L 32,480 l0-64 l 64,0 L 96,480 z M 192,480l-64,0 l0-64 l 64,0 L 192,480 z M 288,480l-64,0 l0-64 l 64,0 L 288,480 z M 384,480l-64,0 l0-64 l 64,0 L 384,480 z M 480,480l-64,0 l0-64 l 64,0 \n\tL 480,480 z M 480,384L 256,384 L 256,128 l 224,0 L 480,384 z M 480,96l-64,0 L 416,32 l 64,0 L 480,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"movie, wheel, video, film\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,56.809\n\tc 30.187,0, 54.658,24.471, 54.658,54.659c0,30.187-24.472,54.658-54.658,54.658c-30.188,0-54.658-24.471-54.658-54.658\n\tC 201.342,81.28, 225.812,56.809, 256,56.809z M 57.778,207.364c0-30.187, 24.471-54.658, 54.659-54.658\n\tc 30.187,0, 54.658,24.471, 54.658,54.658c0,30.188-24.471,54.659-54.658,54.659C 82.25,262.022, 57.778,237.551, 57.778,207.364z\n\t M 169.201,422.644c-30.187,0-54.658-24.471-54.658-54.658s 24.472-54.659, 54.658-54.659c 30.187,0, 54.659,24.472, 54.659,54.659\n\tS 199.388,422.644, 169.201,422.644z M 256,288c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32\n\tC 288,273.673, 273.673,288, 256,288z M 342.799,422.969c-30.188,0-54.658-24.471-54.658-54.658s 24.471-54.659, 54.658-54.659\n\tc 30.187,0, 54.658,24.472, 54.658,54.659S 372.985,422.969, 342.799,422.969z M 399.562,262.348c-30.187,0-54.658-24.471-54.658-54.659\n\tc0-30.187, 24.472-54.658, 54.658-54.658c 30.188,0, 54.659,24.471, 54.659,54.658C 454.222,237.876, 429.751,262.348, 399.562,262.348z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"movie, play, media, video\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,224l0,288 l 480,0 L 512,224 L 32,224 z M 480,320L 64,320 l0-32 l 416,0 L 480,320 zM 14.628,65.143L 32,191.959l 475.559-65.144L 490.188,0L 14.628,65.143z M 184.497,138.771l-89.771,12.297l 54.722-72.094\n\tl 89.771-12.297L 184.497,138.771z M 369.767,113.392l-89.771,12.297l 54.722-72.094l 89.771-12.297L 369.767,113.392z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"movie, play, media, video\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 39.151,131.27L 471.873,15.328L 496.718,108.054L 63.996,223.996zM 64,224l0,288 l 448,0 L 512,224 L 64,224 z M 224,448L 224,288 l 128,80L 224,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, video, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,148.925L 192,299.075L 322.033,224.004 \tzM0,96l0,320 l 512,0 L 512,96 L0,96 z M 480,384L 32,384 l0-32 l 448,0 L 480,384 z M 480,320L 32,320 L 32,128 l 448,0 L 480,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, video, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.594,80.054C 418.778,69.729, 339.428,64, 256.001,64c-83.43,0-162.778,5.729-234.597,16.054\n\tC 7.639,133.917,0,193.429,0,256c0,62.57, 7.639,122.083, 21.404,175.945C 93.223,442.271, 172.572,448, 256.001,448\n\tc 83.427,0, 162.776-5.729, 234.593-16.055C 504.36,378.083, 512,318.57, 512,256C 512,193.429, 504.36,133.917, 490.594,80.054z\n\t M 192.001,352L 192.001,160 l 160,96L 192.001,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"headphones, headset, music, song, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,64C 132.288,64, 32,164.288, 32,288l0,96 l 32,0 l0-96 c0-106.039, 85.961-160, 192-160s 192,53.961, 192,160l0,96 l 32,0 l0-96 \n\t\tC 480.001,164.288, 379.712,64, 256.001,64zM 138.667,288l-21.333,0 C 105.6,288, 96,297.6, 96,309.333l0,117.334 C 96,438.399, 105.6,448, 117.333,448l 21.333,0 \n\t\tC 150.4,448, 160,438.399, 160,426.667L 160,309.333 C 160,297.6, 150.4,288, 138.667,288zM 394.666,288l-21.334,0 c-11.731,0-21.331,9.6-21.331,21.333l0,117.334 c0,11.732, 9.6,21.333, 21.331,21.333l 21.334,0 \n\t\tC 406.4,448, 416,438.399, 416,426.667L 416,309.333 C 416.001,297.6, 406.401,288, 394.666,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"headphones, headset, music, song, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,289.143l0,221.715 c 5.227,0.748, 10.567,1.143, 16,1.143l 16,0 L 128,288 l-16,0 C 106.567,288, 101.227,288.395, 96,289.143zM 384,288l0,224 l 16,0 c 5.434,0, 10.773-0.395, 16-1.143L 416,289.143 c-5.227-0.748-10.566-1.143-16-1.143L 384,288 zM 512,256C 512,114.615, 397.385,0, 256,0S0,114.615,0,256c0,30.709, 5.414,60.153, 15.328,87.437C 5.592,360.038,0,379.363,0,400\n\t\tc0,44.677, 26.163,83.239, 64,101.216L 64,298.784 c-10.063,4.781-19.29,11.030-27.429,18.452C 33.575,302.626, 32,287.497, 32,272\n\t\tC 32,148.288, 132.288,48, 256,48s 224,100.288, 224,224c0,15.497-1.574,30.626-4.571,45.236c-8.14-7.422-17.365-13.671-27.429-18.452\n\t\tl0,202.432 c 37.838-17.977, 64-56.539, 64-101.216c0-20.637-5.592-39.962-15.328-56.563C 506.586,316.153, 512,286.709, 512,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"guitar, music, rock, song, classic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440,128l 72-64c-6.038-32.334-31.666-57.962-64-64l-64,72l0,17.109 l-90.735,90.735\n\tc-47.034-38.417-79.561-33.168-100.675-15.795c-20.49,16.855-28.145,50.262-39.481,60.243\n\tc-22.896,20.152-79.232-0.076-127.196,52.117C-29.588,336.807, 14.208,401.2, 62.504,449.496\n\tc 48.295,48.294, 112.689,92.092, 173.087,36.592c 52.194-47.964, 31.954-104.312, 52.105-127.207c 9.98-11.337, 43.398-18.979, 60.255-39.47\n\tc 17.371-21.114, 22.62-53.642-15.796-100.676L 422.891,128L 440,128 z M 146.565,429.435l-64-64l 26.87-26.869l 64,64L 146.565,429.435z\n\t M 240,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 266.51,320, 240,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"piano, music, song, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 480,0 L 480,0 L0,0 z M 96,480L 32,480 L 32,32 l 32,0 l0,320 l 32,0 L 96,480 z M 224.001,480l-96,0 L 128.001,352 l 32,0 L 160.001,32 l 32,0 l0,320 l 32,0 L 224.001,480 z M 352,480l-96,0 L 256,352 l 32,0 L 288,32 l 32,0 l0,320 \n\tl 32,0 L 352,480 z M 448,480l-64,0 L 384,352 l 32,0 L 416,32 l 32,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 192,64l0,312.020 C 171.671,361.2, 143.342,352, 112,352C 50.144,352,0,387.816,0,432c0,44.183, 50.144,80, 112,80\n\ts 112-35.817, 112-80L 224,225.292 l 256-56.889L 480,312.020 C 459.671,297.2, 431.342,288, 400,288c-61.855,0-112,35.816-112,80\n\tc0,44.183, 50.145,80, 112,80s 112-35.817, 112-80L 512,0 L 480,0 z M 112,474c-42.353,0-74-22.174-74-42s 31.647-42, 74-42s 74,22.174, 74,42\n\tS 154.353,474, 112,474z M 400,410c-42.354,0-74-22.174-74-42s 31.646-42, 74-42s 74,22.174, 74,42S 442.354,410, 400,410z M 480,127.426\n\tl-256,56.889l0-63.426 L 480,64L 480,127.426 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0 L 512,0 L 512,368 C 512,412.183 461.855,448 400,448 C 338.145,448 288,412.183 288,368 C 288,323.816 338.145,288 400,288 C 431.342,288 459.671,297.2 480,312.020 L 480,128 L 224,184.889 L 224,432 C 224,476.183 173.856,512 112,512 C 50.144,512 0,476.183 0,432 C 0,387.816 50.144,352 112,352 C 143.342,352 171.671,361.2 192,376.020 L 192,64 L 480,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 192,64l0,312.020 C 171.671,361.2, 143.342,352, 112,352C 50.144,352,0,387.816,0,432c0,44.183, 50.144,80, 112,80\n\ts 112-35.817, 112-80L 224,225.292 l 256-56.889L 480,312.020 C 459.671,297.2, 431.342,288, 400,288c-61.855,0-112,35.816-112,80\n\tc0,44.183, 50.145,80, 112,80s 112-35.817, 112-80L 512,0 L 480,0 z M 480,127.426l-256,56.889l0-63.426 L 480,64L 480,127.426 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,96 L 512,0 L 512,32 L 512,96 L 512,368 C 512,412.183 461.855,448 400,448 C 338.145,448 288,412.183 288,368 C 288,323.817 338.145,288 400,288 C 417.179,288 433.451,290.766 448,295.703 L 448,130.909 L 224,192 L 224,432 C 224,476.183 173.856,512 112,512 C 50.144,512 0,476.183 0,432 C 0,387.817 50.144,352 112,352 C 129.179,352 145.451,354.766 160,359.703 L 160,192 L 160,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,96l0,263.703 c-14.549-4.937-30.821-7.703-48-7.703C 50.144,352,0,387.817,0,432s 50.144,80, 112,80s 112-35.817, 112-80\n\tL 224,280.422 l 224-61.091l0,76.372 c-14.549-4.937-30.821-7.703-48-7.703c-61.855,0-112,35.817-112,80s 50.145,80, 112,80s 112-35.817, 112-80L 512,0 \n\tL 160,96z M 224,230.669L 224,182 l 224-61.091l0,48.669 L 224,230.669z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 406.079,147.206c-43.525-61.105-39.44-17.957-81.604-139.842L 279.886,0l-49.609,366.475\n\tc-111.816-63.979-182.336,1.734-164.492,84.443c 9.46,43.856, 80.716,85.137, 150.9,44.39c 33.171-19.945, 43.836-52.11, 48.070-74.919\n\tl 35.438-271.926c 126.445,111.487, 86.071,178.946, 59.925,256.622C 413.867,382.918, 498.058,285.141, 406.079,147.206z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 96,32 c-35.2,0-64,28.8-64,64l0,320 c0,35.2, 28.8,64, 64,64l 320,0 c 35.2,0, 64-28.8, 64-64L 480,96 C 480,60.8, 451.2,32, 416,32z\n\t M 336,288c0,44.112-35.888,80-80,80s-80-35.888-80-80c0-26.142, 12.605-49.393, 32.056-64l 95.889,0 C 323.395,238.607, 336,261.858, 336,288\n\tz M 160,96l 32,0 l0,64 l-32,0 L 160,96 z M 96,96l 32,0 l0,64 L 96,160 L 96,96 z M 416,415.886c-0.033,0.039-0.075,0.081-0.114,0.114L 256,416 L 96.114,416 \n\tc-0.040-0.033-0.081-0.075-0.114-0.114L 96,224 l 49.128,0 C 134.237,242.828, 128,264.685, 128,288c0,70.692, 57.308,128, 128,128\n\ts 128-57.308, 128-128c0-23.315-6.236-45.172-17.128-64L 416,224 L 416,415.886 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 152,304c0,57.438, 46.562,104, 104,104s 104-46.562, 104-104s-46.562-104-104-104S 152,246.562, 152,304z M 480,128L 368,128 \n\tc-8-32-16-64-48-64L 192,64 c-32,0-40,32-48,64L 32,128 c-17.6,0-32,14.4-32,32l0,288 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,160 \n\tC 512,142.4, 497.6,128, 480,128z M 256,446c-78.425,0-142-63.574-142-142c0-78.425, 63.575-142, 142-142c 78.426,0, 142,63.575, 142,142\n\tC 398,382.426, 334.427,446, 256,446z M 480,224l-64,0 l0-32 l 64,0 L 480,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,96l-96,0 l-16.179-40.717C 364.619,42.478, 351.2,32, 338,32L 174,32 c-13.2,0-26.619,10.478-29.821,23.283L 128,96L 32,96 \n\tc-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,128 C 512,110.4, 497.6,96, 480,96z M 448,448L 64,448 L 64,160 l 107.437,0 \n\tl 25.431-64l 118.265,0 l 25.431,64L 448,160 L 448,448 zM 256,184c-66.168,0-120,53.832-120,120s 53.832,120, 120,120s 120-53.832, 120-120S 322.168,184, 256,184z M 256,376\n\tc-39.701,0-72-32.299-72-72s 32.299-72, 72-72s 72,32.299, 72,72S 295.701,376, 256,376z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,216 C 302.869,216 341,255.477 341,304 C 341,352.523 302.869,392 256,392 C 209.131,392 171,352.523 171,304 C 171,255.477 209.131,216 256,216 ZM 480,96l-96,0 l-16.179-40.717C 364.619,42.478, 351.2,32, 338,32L 174,32 c-13.2,0-26.619,10.478-29.821,23.283L 128,96L 32,96 \n\t\tc-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,128 C 512,110.4, 497.6,96, 480,96z M 256,440\n\t\tc-73.336,0-133-61.010-133-136c0-74.991, 59.664-136, 133-136c 73.337,0, 133,61.009, 133,136C 389,378.99, 329.337,440, 256,440z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 480,64l0,325.154 L 354.059,242.222c-8.806-10.272-21.219-16.164-34.059-16.164\n\t\ts-25.253,5.892-34.059,16.164L 136.99,416L 43.529,416 l 72.914-91.143c 3.271-4.090, 7.376-6.342, 11.557-6.342s 8.286,2.252, 11.557,6.342\n\t\tl 15.867,19.834l 18.295-21.954l-12.297-15.372c-8.567-10.708-20.749-16.85-33.421-16.85s-24.854,6.142-33.421,16.85L 32,385.589L 32,64 \n\t\tL 480,64 z M 466.132,416L 173.868,416 l 133.333-155.556c 3.529-4.118, 8.075-6.386, 12.799-6.386s 9.27,2.268, 12.799,6.386L 466.132,416zM 144,124c 28.673,0, 52,23.327, 52,52s-23.327,52-52,52s-52-23.327-52-52S 115.327,124, 144,124 M 144,96\n\t\tc-44.183,0-80,35.817-80,80s 35.817,80, 80,80s 80-35.817, 80-80S 188.183,96, 144,96L 144,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"images, pictures, photos, graphics, polaroids\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,32L0,32 l0,384 l 384,0 L 384,32 z M 352,320L 32,320 L 32,64 l 320,0 L 352,320 zM 256,160L 233.143,205.714L 160,96L 64,288L 320,288 \tzM 416,123.377L 416,448L 60.472,448L 57.964,471.861L 439.861,512L 480,130.104 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic, polaroid\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,480 l 512,0 L 512,32 L0,32 z M 448,384L 64,384 L 64,96 l 384,0 L 448,384 zM 416,288L 384,224L 320,288L 224,128L 96,320L 96,352L 416,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,320 l 512,0 L 512,96 L0,96 z M 480,320l-96-96l-45.898,68.847L 429.255,384L 384,384 L 224,224L 32,384L 32,128 l 448,0 L 480,320 zM 64,208A48,48 10800 1 1 160,208A48,48 10800 1 1 64,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,287.887c-32,0-64,32.113-96,32.113s-32-128-96-128S 96,256, 64,384c0,0, 352,0, 384,0\n\t\tC 448,384.001, 448,287.887, 416,287.887zM0,96l0,352 l 512,0 L 512,96 L0,96 z M 480,416L 32,416 L 32,128 l 448,0 L 480,416 zM 352,208A48,48 12600 1 1 448,208A48,48 12600 1 1 352,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"images, pictures, photos, graphics\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,128l0,320 l 448,0 L 512,128 L 64,128 z M 480,394.667L 416,288l-72.533,60.444L 288,256L 96,416L 96,160 l 384,0 L 480,394.667 zM 128,240A48,48 7560 1 1 224,240A48,48 7560 1 1 128,240zM 448,64L0,64L0,384L 32,384L 32,96L 448,96 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 480,416l-32,0 l-96-144l-64,48L 160,160L 64,416L 32,416 L 32,96 l 448,0 L 480,416 zM 352,176A48,48 12600 1 1 448,176A48,48 12600 1 1 352,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,416 l 512,0 L 512,64 L0,64 z M 480,448L 32,448 L 32,96 l 448,0 L 480,448 zM 352,176A48,48 2520 1 1 448,176A48,48 2520 1 1 352,176zM 448,416 L 64,416 L 160,160 L 288,320 L 352,272 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,96 L 64,96 L 64,416 L 448,416 L 448,96 Z M 512,32 L 512,32 L 512,480 L 0,480 L 0,32 L 512,32 ZM 416,384 L 96,384 L 96,320 L 192,160 L 323.5,320 L 416,256 L 416,288 ZM 320,176A48,48 2520 1 1 416,176A48,48 2520 1 1 320,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paint-format, format\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,288L 512,96 l-96,0 L 416,64 c0-17.6-14.4-32-32-32L 32,32 C 14.4,32,0,46.4,0,64l0,96 c0,17.6, 14.4,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32l0-32 l 64,0 \n\tl0,128 L 192,256 l0,64 l-16,0 c-8.837,0-16,7.163-16,16l0,160 c0,8.837, 7.163,16, 16,16l 64,0 c 8.837,0, 16-7.163, 16-16L 256,336 c0-8.837-7.163-16-16-16l-16,0 l0-32 \n\tL 512,288 z M 384,96L 32,96 L 32,64 l 352,0 L 384,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paint-format, format, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 416,64 c0-17.6-14.4-32-32-32L 32,32 C 14.4,32,0,46.4,0,64l0,96 c0,17.6, 14.4,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32l0-32 l 64,0 l0,128 L 192,256 \n\tl0,64 l-16,0 c-8.837,0-16,7.163-16,16l0,160 c0,8.837, 7.163,16, 16,16l 64,0 c 8.837,0, 16-7.163, 16-16L 256,336 c0-8.837-7.163-16-16-16l-16,0 l0-32 l 288,0 L 512,96 \n\tL 416,96 z M 35,96l-3,0 L 32,64 l 3,0 L 35,96 z M 51,96l-8,0 L 43,64 l 8,0 L 51,96 z M 67,96l-8,0 L 59,64 l 8,0 L 67,96 z M 83,96l-8,0 L 75,64 l 8,0 L 83,96 z M 99,96l-8,0 L 91,64 l 8,0 L 99,96 z M 115,96l-8,0 L 107,64 l 8,0 L 115,96 z\n\t M 131,96l-8,0 L 123,64 l 8,0 L 131,96 z M 147,96l-8,0 L 139,64 l 8,0 L 147,96 z M 163,96l-8,0 L 155,64 l 8,0 L 163,96 z M 179,96l-8,0 L 171,64 l 8,0 L 179,96 z M 195,96l-8,0 L 187,64 l 8,0 L 195,96 z M 211,96l-8,0 L 203,64 l 8,0 L 211,96 z\n\t M 227,96l-8,0 L 219,64 l 8,0 L 227,96 z M 243,96l-8,0 L 235,64 l 8,0 L 243,96 z M 259,96l-8,0 L 251,64 l 8,0 L 259,96 z M 275,96l-8,0 L 267,64 l 8,0 L 275,96 z M 291,96l-8,0 L 283,64 l 8,0 L 291,96 z M 307,96l-8,0 L 299,64 l 8,0 L 307,96 z\n\t M 323,96l-8,0 L 315,64 l 8,0 L 323,96 z M 339,96l-8,0 L 331,64 l 8,0 L 339,96 z M 355,96l-8,0 L 347,64 l 8,0 L 355,96 z M 371,96l-8,0 L 363,64 l 8,0 L 371,96 z M 384,96l-5,0 L 379,64 l 5,0 L 384,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,88.019 C 242.179,102.214 226.216,119.718 210.327,139.546 C 158.108,204.707 129.666,265.583 128.078,315.593 C 128.061,316.123 128.046,316.614 128.035,317.108 L 128.028,317.426 L 128.019,317.868 C 128.008,318.578 128.001,319.289 128.001,320.003 C 128.001,320.658 128.008,321.31 128.019,321.962 L 128.031,322.583 C 128.689,356.217 142.293,387.742 166.338,411.348 C 190.413,434.983 222.255,448 256,448 C 289.744,448 321.587,434.983 345.661,411.348 C 369.697,387.75 383.301,356.244 383.971,322.624 L 383.971,322.6 L 383.975,322.382 C 383.988,321.589 384,320.795 384,320 C 384,319.284 383.991,318.57 383.98,317.856 L 383.979,317.816 L 383.978,317.776 L 383.973,317.545 L 383.965,317.098 C 383.954,316.646 383.943,316.195 383.927,315.743 L 383.925,315.667 L 383.922,315.591 C 382.333,265.582 353.892,204.706 301.673,139.546 C 285.783,119.718 269.82,102.215 256,88.019 Z M 256,0 L 256,0 C 256,0 442.875,155.734 447.889,313.558 C 447.914,314.271 447.932,314.984 447.949,315.698 C 447.955,316.050 447.964,316.398 447.97,316.751 C 447.988,317.832 448,318.914 448,320 C 448,321.182 447.985,322.361 447.964,323.539 C 447.963,323.636 447.961,323.734 447.959,323.832 C 445.916,428.101 360.758,512 256,512 C 151.241,512 66.082,428.101 64.043,323.836 C 64.039,323.737 64.038,323.642 64.036,323.543 C 64.015,322.364 64.001,321.189 64.001,320.004 C 64.001,318.918 64.011,317.836 64.029,316.756 C 64.035,316.403 64.043,316.056 64.050,315.703 C 64.066,314.987 64.088,314.276 64.11,313.561 C 69.123,155.734 256,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,65.328 C 239.761,81.321 218.94,103.259 198.21,129.082 C 143.571,197.139 113.79,261.458 112.087,315.085 C 112.069,315.643 112.052,316.2 112.039,316.762 L 112.031,317.147 L 112.022,317.59 C 112.009,318.393 112.001,319.197 112.001,320.004 C 112.001,320.796 112.010,321.582 112.023,322.369 L 112.024,322.393 L 112.034,322.897 C 112.774,360.741 128.079,396.208 155.129,422.766 C 182.213,449.355 218.037,464 256,464 C 293.963,464 329.785,449.355 356.87,422.764 C 383.917,396.21 399.223,360.745 399.968,322.904 L 399.969,322.831 L 399.972,322.665 C 399.988,321.778 400,320.89 400,320 C 400,319.189 399.99,318.381 399.977,317.573 L 399.97,317.23 L 399.961,316.763 C 399.949,316.244 399.936,315.727 399.918,315.208 L 399.916,315.145 L 399.914,315.082 C 398.21,261.455 368.429,197.136 313.79,129.080 C 293.059,103.259 272.238,81.321 256,65.328 Z M 256,0 L 256,0 C 256,0 442.875,155.734 447.889,313.558 C 447.914,314.271 447.932,314.984 447.949,315.698 C 447.955,316.050 447.964,316.398 447.97,316.751 C 447.988,317.832 448,318.914 448,320 C 448,321.182 447.985,322.361 447.964,323.539 C 447.963,323.636 447.961,323.734 447.959,323.832 C 445.916,428.101 360.758,512 256,512 C 151.241,512 66.082,428.101 64.043,323.836 C 64.039,323.737 64.038,323.642 64.036,323.543 C 64.015,322.364 64.001,321.189 64.001,320.004 C 64.001,318.918 64.011,317.836 64.029,316.756 C 64.035,316.403 64.043,316.056 64.050,315.703 C 64.066,314.987 64.088,314.276 64.11,313.561 C 69.123,155.734 256,0 256,0 ZM 361.981,312.116 C 361.992,312.743 362,313.37 362,314 C 362,314.688 361.99,315.377 361.977,316.103 L 361.974,316.269 L 361.973,316.345 C 361.376,345.741 349.473,373.292 328.452,393.93 C 307.387,414.61 279.525,426 250,426 C 226.519,426 204.094,418.79 185.299,405.439 C 189.5,405.805 193.736,406 198,406 C 235.963,406 271.785,391.355 298.87,364.764 C 325.917,338.21 341.223,302.745 341.968,264.904 L 341.969,264.831 L 341.972,264.665 C 341.988,263.778 342,262.89 342,262 C 342,261.189 341.99,260.381 341.977,259.572 L 341.97,259.229 L 341.961,258.762 C 341.949,258.243 341.936,257.726 341.918,257.207 L 341.916,257.144 L 341.914,257.081 C 341.616,247.7 340.439,237.986 338.44,227.988 C 353.169,257.842 361.149,285.535 361.931,310.153 L 361.935,310.255 L 361.936,310.294 C 361.948,310.675 361.958,311.056 361.967,311.438 L 361.975,311.869 L 361.981,312.116 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 120.037,315.356 C 120.033,315.27 120.032,315.186 120.031,315.099 C 120.013,314.068 120,313.039 120,312.003 C 120,311.052 120.009,310.106 120.024,309.161 C 120.030,308.851 120.037,308.548 120.043,308.239 C 120.058,307.613 120.076,306.99 120.096,306.365 C 124.481,168.267 287.999,32 287.999,32 C 287.999,32 325.697,63.418 365.377,111.368 L 124.79,351.954 C 121.921,340.19 120.283,327.944 120.037,315.356 ZM 455.954,308.235c-0.015-0.624-0.029-1.247-0.051-1.872c-1.545-48.613-22.809-96.999-49.718-139.293L 510.628,62.627L 486,38\n\t\tL 38,486l 24.627,24.628l 93.961-93.962C 187.37,455.263, 234.793,480, 287.999,480c 91.664,0, 166.176-73.411, 167.965-164.646\n\t\tc 0.002-0.086, 0.003-0.173, 0.003-0.257c 0.021-1.030, 0.033-2.063, 0.033-3.097c0-0.95-0.011-1.896-0.027-2.843\n\t\tC 455.967,308.849, 455.96,308.544, 455.954,308.235z M 399.979,314.073l-0.004,0.178c-0.576,29.438-12.483,57.022-33.523,77.678\n\t\tC 345.388,412.61, 317.524,424, 287.999,424c-5.451,0-10.847-0.391-16.154-1.155c 60.839-36.244, 101.596-102.682, 101.596-178.64\n\t\tc0-8.511-0.518-16.902-1.512-25.147c 17.619,32.349, 27.154,62.475, 28.002,89.086l 0.002,0.062c 0.015,0.415, 0.021,0.829, 0.033,1.244\n\t\tl 0.013,0.634c 0.013,0.638, 0.021,1.277, 0.021,1.916C 400,312.692, 399.991,313.384, 399.979,314.073z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 447.97,316.751c-0.006-0.353-0.015-0.701-0.021-1.053c-0.016-0.714-0.035-1.427-0.059-2.14C 442.875,155.734, 256,0, 256,0\n\t\tS 69.123,155.734, 64.11,313.561c-0.022,0.715-0.044,1.426-0.060,2.141c-0.007,0.352-0.015,0.701-0.021,1.053\n\t\tc-0.018,1.080-0.028,2.162-0.028,3.248c0,1.184, 0.014,2.361, 0.035,3.539c 0.002,0.098, 0.003,0.195, 0.007,0.293\n\t\tC 66.082,428.101, 151.241,512, 256,512c 104.758,0, 189.916-83.899, 191.959-188.168c 0.002-0.098, 0.004-0.196, 0.005-0.293\n\t\tc 0.021-1.178, 0.036-2.357, 0.036-3.539C 448,318.914, 447.988,317.832, 447.97,316.751z M 383.975,322.37l-0.004,0.203\n\t\tc-0.659,33.643-14.266,65.167-38.313,88.774C 321.587,434.983, 289.743,448, 256,448c-6.231,0-12.397-0.447-18.462-1.319\n\t\tc 69.528-41.423, 116.108-117.352, 116.108-204.161c0-9.728-0.59-19.317-1.726-28.74c 20.136,36.97, 31.032,71.4, 32.001,101.813\n\t\tl 0.002,0.072c 0.016,0.474, 0.026,0.946, 0.039,1.422l 0.014,0.724C 383.99,318.539, 384,319.27, 384,320\n\t\tC 384,320.792, 383.99,321.581, 383.975,322.37z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eyedropper, color, pick, sample\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,160l-56,0 c-32,0-8-32-8-96c0-7.555-0.9-13.307-2.474-17.61C 309.875,19.611, 285.236,0, 256,0\n\tc-29.235,0-53.875,19.611-61.526,46.39C 192.901,50.693, 192,56.445, 192,64c0,64, 24,96-8,96l-56,0 l0,64 l 64,0 l0,248 c0,4.4, 3.6,8, 8,8l 16,0 \n\tc 4.4,0, 8,3.6, 8,8l0,16 c0,4.4, 3.6,8, 8,8l 48,0 c 4.4,0, 8-3.6, 8-8l0-16 c0-4.4, 3.6-8, 8-8l 16,0 c 4.4,0, 8-3.6, 8-8L 320,224 l 64,0 L 384,160 z M 288,448.804\n\tc-15.649,3.189-28.007,15.547-31.196,31.196l-1.607,0 c-3.19-15.649-15.547-28.007-31.196-31.196L 224.001,224 l 64,0 L 288.001,448.804 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eyedropper, color, pick, sample\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.927,21.072 C 561.337,91.482 435.214,134.438 405.506,164.141 C 400.001,169.649 394.697,174.949 389.718,179.932 L 420.037,210.249 C 426.232,216.445 426.232,226.583 420.037,232.778 L 389.762,263.055 C 383.567,269.248 373.428,269.248 367.234,263.055 L 337.070,232.89 L 148.485,421.473 C 116.196,453.766 54.276,481.961 24.237,512 C 15.225,502.988 12.12,499.882 12.12,499.882 C 12.12,499.882 9.012,496.776 0,487.763 C 30.039,457.722 58.235,395.805 90.527,363.511 L 279.115,174.927 L 248.953,144.763 C 242.756,138.568 242.756,128.431 248.953,122.236 L 279.226,91.959 C 285.424,85.762 295.562,85.762 301.756,91.959 L 332.074,122.277 C 337.054,117.295 342.355,111.997 347.862,106.488 C 377.566,76.786 420.519-49.336 490.927,21.072 Z M 133.82,406.807 L 325.621,214.999 L 296.997,186.374 L 105.194,378.181 C 90.361,393.013 75.489,416.335 61.103,438.896 L 61.037,438.999 C 53.163,451.344 45.563,463.261 37.845,474.154 C 48.772,466.41 60.723,458.789 73.102,450.896 C 95.66,436.512 118.986,421.639 133.82,406.807 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"palette, color, paint, art\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64C 114.615,64,0,164.288,0,288c0,82.947, 51.529,155.359, 128.101,194.078c 43.186,21.34, 80.116,5.816, 54.146-30.87\n\tC 168.359,437.333, 160,419.48, 160,400c0-44.183, 42.98-80, 96-80s 96,35.817, 96,80c0,19.48-8.359,37.332-22.246,51.207\n\tc-25.97,36.685, 10.955,52.209, 54.139,30.874C 460.469,443.363, 512,370.949, 512,288C 512,164.288, 397.385,64, 256,64z M 64,320\n\tc-17.673,0-32-14.326-32-32s 14.327-32, 32-32s 32,14.326, 32,32S 81.673,320, 64,320z M 128,219.713\n\tc-22.958,13.255-48.732,11.593-57.569-3.713c-8.836-15.306, 2.611-38.458, 25.569-51.713s 48.732-11.593, 57.569,3.713\n\tC 162.406,183.306, 150.958,206.458, 128,219.713z M 256,192c-35.346,0-64-21.49-64-48s 28.654-48, 64-48c 35.347,0, 64,21.49, 64,48\n\tS 291.347,192, 256,192z M 384,219.713c-22.958-13.255-34.406-36.407-25.569-51.713s 34.611-16.968, 57.569-3.713\n\ts 34.406,36.407, 25.569,51.713S 406.958,232.968, 384,219.713z M 448,320c-17.673,0-32-14.326-32-32s 14.327-32, 32-32s 32,14.326, 32,32\n\tS 465.673,320, 448,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"palette, color, paint, art\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 257.54,64C 92.994,64,0,173.352,0,253.347c0,121.887, 109.354,190.477, 200.308,212.956\n\tC 291.27,488.791, 325.48,447.538, 324.022,400c-1.771-57.75, 27.073-58.496, 47.52-56.459C 391.973,345.592, 512,373.305, 512,281.326\n\tC 512,167.5, 422.072,64, 257.54,64z M 224,96c 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 206.327,96, 224,96z\n\t M 80,288.246c-8.973,0-16.246-7.273-16.246-16.246S 71.027,255.754, 80,255.754S 96.246,263.027, 96.246,272S 88.973,288.246, 80,288.246z\n\t M 128,224c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 145.673,224, 128,224z M 256,352c-35.346,0-64-21.49-64-48\n\ts 28.654-48, 64-48c 35.347,0, 64,21.49, 64,48S 291.347,352, 256,352z M 368,224c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48\n\tS 394.51,224, 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brush, art, paint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160.061,320C 96.036,320, 117.88,433.14,0,458.637c 32.011,21.324, 125.898,39.027, 192.072-10.668\n\t\t\tC 249.298,404.994, 224.085,320, 160.061,320zM 505.965,38.035c-32.009-32.007-110.472,72.027-171.617,107.603c-60.98,37.464-144.033,112.027-96.021,160.037\n\t\t\tc 48.010,48.013, 122.571-35.040, 160.036-96.022C 433.938,148.505, 537.973,70.042, 505.965,38.035z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blog, pencil, feed, publish, broadcast, write\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96l0,48 c 47.011,0, 91.209,18.307, 124.451,51.549S 368,272.988, 368,320l 48,0 C 416,196.289, 315.712,96, 192,96zM 192,0l0,48 c 36.741,0, 72.357,7.185, 105.859,21.355c 32.384,13.697, 61.478,33.316, 86.474,58.312\n\t\t\tc 24.995,24.996, 44.614,54.090, 58.312,86.474C 456.815,247.643, 464,283.26, 464,320l 48,0 C 512,143.27, 368.73,0, 192,0zM 178.745,242.745L 44.18,377.311l 90.51,90.51l 134.565-134.565c 24.993-24.993, 24.994-65.516,0-90.51\n\t\t\tC 244.261,217.751, 203.738,217.752, 178.745,242.745zM0,512L 106.806,493.675L 18.325,405.194 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blog, pen, feed, publish, broadcast, write\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96 C 315.712,96 416,196.289 416,320 L 368,320 C 368,272.988 349.693,228.791 316.451,195.549 C 283.209,162.307 239.011,144 192,144 L 192,96 ZM 192,0 C 368.73,0 512,143.27 512,320 L 464,320 C 464,283.26 456.815,247.643 442.645,214.141 C 428.947,181.757 409.328,152.663 384.333,127.667 C 359.337,102.671 330.243,83.052 297.859,69.355 C 264.357,55.185 228.741,48 192,48 L 192,0 ZM 287.195,224.804 C 309.074,246.682 319.993,275.357 319.98,304.029 C 288,352.027 288,416 288,416 C 160,416 64,512 64,512 L 57,505 L 45.435,493.435 L 187.226,351.644 C 188.784,351.877 190.377,352 192,352 C 209.673,352 224,337.673 224,320 C 224,302.327 209.673,288 192,288 C 174.327,288 160,302.327 160,320 C 160,321.623 160.123,323.217 160.356,324.774 L 18.565,466.565 L 0,448 C 0,448 96,352 96,224 C 96,224 159.999,224 207.999,192 C 236.663,192 265.326,202.935 287.195,224.804 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"marker, highlight, pencil, write, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 228,492L 512,492L 512,484L 236,484 \tzM 244,476L 512,476L 512,468L 252,468 \tzM 212,508L 512,508L 512,500L 220,500 \tzM 292,428L 512,428L 512,420L 300,420 \tzM 276,444L 512,444L 512,436L 284,436 \tzM 260,460L 512,460L 512,452L 268,452 \tzM 469.486,42.514C 443.517,16.544, 413.958,0, 385.073,0c-19.764,0-39.211,7.745-56.979,25.514L 80.223,271.775L0,480l 32,32\n\tl 208.223-80.225l 18.041-18.157l 228.224-229.713C 530.225,140.167, 513.225,86.252, 469.486,42.514z M 240.149,386.447L 125.551,271.85\n\tL 327.355,71.356l 113.287,113.288L 240.149,386.447z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,16L0,272l 48,48l 48-48l0,240 l 128,0 l0-32 l0-64 l 64,0 l0,96 l 128,0 L 416,272 l 48,48l 48-48L 256,16z M 132,480l-4,0 L 128,240 l 4-4L 132,480 z M 148,480l-8,0 L 140,228 \n\tl 8-8L 148,480 z M 164,480l-8,0 L 156,212 l 8-8L 164,480 z M 180,480l-8,0 L 172,196 l 8-8L 180,480 z M 196,384l-4,0 l0,32 l0,64 l-4,0 L 188,180 l 8-8L 196,384 z M 212,384l-8,0 L 204,164 l 8-8L 212,384 z M 228,384\n\tl-8,0 L 220,148 l 8-8L 228,384 z M 244,384l-8,0 L 236,132 l 8-8L 244,384 z M 260,384l-8,0 L 252,116 l 4-4l 4,4L 260,384 z M 276,384l-8,0 L 268,124 l 8,8L 276,384 z M 292,384l-8,0 L 284,140 l 8,8L 292,384 z\n\t M 308,384l-8,0 L 300,156 l 8,8L 308,384 z M 324,480l-4,0 l0-64 l0-32 l-4,0 L 316,172 l 8,8L 324,480 z M 340,480l-8,0 L 332,188 l 8,8L 340,480 z M 356,480l-8,0 L 348,204 l 8,8L 356,480 z M 372,480l-8,0 L 364,220 \n\tl 8,8L 372,480 z M 384,480l-4,0 L 380,236 l 4,4L 384,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"marker, highlight, pencil, write\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 469.486,42.514C 443.517,16.544, 413.958,0, 385.073,0c-19.763,0-39.211,7.745-56.979,25.514L 80.223,271.776L0,480l 32,32\n\tl 208.223-80.225l 18.040-18.157l 228.224-229.713C 530.225,140.167, 513.225,86.252, 469.486,42.514z M 240.149,386.447L 125.551,271.85\n\tL 327.355,71.356l 113.288,113.288L 240.149,386.447z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 258.027,130.026c-21.205,20.571-56.098,55.135-63.634,62.679C 135.58,251.512-2.507,415.325, 0.036,511.965\n\t\t\tc 96.64,2.551, 260.449-135.547, 319.263-194.354c 7.544-7.545, 42.108-42.441, 62.673-63.64L 258.027,130.026zM 472.339,102.090l-9.023-9.007L 512,52.861L 459.14,0l-40.222,48.686l-9.018-9.039\n\t\t\tc-27.895-1.631-72.881,25.375-117.215,61.040l 118.63,118.63c 13.414-16.688, 25.524-33.433, 35.421-49.356\n\t\t\tc 9.648,36.481-5.979,102.913-117.835,190.941l 14.233,14.232C 448,299.708, 498.531,211.017, 466.263,131.77\n\t\t\tC 470.452,120.691, 472.834,110.538, 472.339,102.090z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 325.926,78.222L 352,0L 128,0 l 26.074,78.222L 80,256l 128,256l 64,0 l 128-256L 325.926,78.222z M 307.603,32l-10.667,32L 183.064,64 \n\tl-10.667-32L 307.603,32 z M 256,472.445L 256,285.258 c 18.641-6.591, 32-24.359, 32-45.258c0-26.51-21.49-48-48-48s-48,21.49-48,48\n\tc0,20.898, 13.359,38.667, 32,45.258l0,187.188 L 115.171,254.789L 181.333,96l 117.333,0 l 66.161,158.789L 256,472.445z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,64L 336,0L 144,0L 160,64 \t\tzM 320,96L 160,96 L 80,256l 128,256l 16,0 L 224,288 c-17.6,0-32-14.4-32-32l0-32 c0-17.6, 14.4-32, 32-32l 32,0 c 17.6,0, 32,14.4, 32,32l0,32 \n\t\t\tc0,17.6-14.4,32-32,32l0,224 l 16,0 l 128-256L 320,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480.002,144.003L 368.003,32.004L 400.003,0.004L 512.002,112.003zM 448,176 L 432,352 C 288,352 80,512 80,512 L 53.435,485.435 L 190.267,348.603 C 195.754,350.787 201.734,352 208,352 C 234.51,352 256,330.51 256,304 C 256,277.49 234.51,256 208,256 C 181.49,256 160,277.49 160,304 C 160,310.266 161.213,316.245 163.397,321.733 L 26.565,458.565 L 0,432 C 0,432 160,224 160,80 L 336,64 L 448,176 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464.001,192.003L 320.003,48.004L 368.002,0.004L 512.001,144.003zM 304,96 L 416,208 L 352,384 L 64,512 L 43.313,491.313 L 215.716,318.911 C 218.359,319.618 221.134,320 224,320 C 241.673,320 256,305.673 256,288 C 256,270.327 241.673,256 224,256 C 206.327,256 192,270.327 192,288 C 192,290.865 192.382,293.641 193.089,296.285 L 20.687,468.687 L 0,448 L 128,160 L 304,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quill, feather, write, blog, edit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,293.333c0,0, 101.972-61.18, 159.383-37.013c 11.901-18.134, 23.624-37.668, 35.101-57.611\n\tC 330.321,184.949, 256,197.333, 256,197.333s 95.106-57.061, 153.333-39.2c 11.675-21.054, 23.027-41.821, 33.978-61.152\n\tC 396.923,93.847, 352,101.333, 352,101.333s 59.574-35.744, 113.289-41.799C 482.188,32.104, 497.874,10.594, 512,0C 231.5,0, 64,320,0,512\n\tl 32,0 l 96-160c0,0, 32,32, 128,0c 22.737-7.579, 45.474-28.626, 67.786-56.967C 267.478,280.756, 192,293.333, 192,293.333z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quill, feather, write, blog, edit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512l 32,0 l 96-160c0,0,0,0, 96,0S 380.5,105.5, 512,0C 231.5,0, 64,320,0,512z M 196,288l-36,0 c0,0, 88.5-160, 224-224\n\tC 384,64, 262.5,171.5, 196,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quill, feather, write, blog, edit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512C 64,320, 231.5,0, 512,0C 380.5,105.5, 320,352, 224,352s-96,0-96,0L 32,512L0,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,64L 64,320L0,512L 192,448L 448,192 \tzM 512,90.51C 512,40.522, 471.478,0, 421.49,0c-27.789,0-52.648,12.528-69.251,32.239L 352,32l 127.761,127.761\n\t\tC 499.473,143.158, 512,118.299, 512,90.51zM 224,480L 512,480L 512,512L 224,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424,168 L 208,384 L 128,384 L 128,304 L 344,88 ZM 451,141 L 371,61 L 399.029,32.971 C 408.363,23.637 423.636,23.637 432.97,32.971 L 479.029,79.030 C 488.363,88.364 488.363,103.637 479.029,112.971 L 451,141 ZM 384,281.791L 384,448 L 64,448 L 64,128 l 176,0 l 64-64L 48,64 C 21.6,64,0,85.6,0,112l0,352 c0,26.4, 21.6,48, 48,48l 352,0 c 26.4,0, 48-21.6, 48-48L 448,224.319 \n\tL 384,281.791z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,352 L 224,416 L 190.4,430.399 L 81.6,321.6 L 96,288 L 160,288 L 160,352 ZM 67.2,355.2 L 156.8,444.8 L 0,512 ZM 512,144 L 272,384 L 256,384 L 256,352 L 464,144 L 440,120 L 240,320 L 192,320 L 192,272 L 392,72 L 368,48 L 160,256 L 128,256 L 128,240 L 368,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,320l 64-32L 480,64l-32-32L 224,256L 192,320z M 144.65,433.549c-15.816-33.364-32.833-50.381-66.198-66.197L 128,230.956\n\tL 192,192L 384,0l-96,0 L 96,192L0,512l 320-96l 192-192l0-96 L 320,320l-38.956,64\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 397.042,114.956C 356.341,74.43, 338.388,26.228, 356.943,7.293c 18.556-18.935, 66.592-1.432, 107.293,39.095\n\tc 0.23,0.229, 0.459,0.458, 0.688,0.688c 40.701,40.526, 58.654,88.729, 40.099,107.663c-18.555,18.935-66.592,1.431-107.293-39.095\n\tC 397.5,115.415, 397.271,115.186, 397.042,114.956z M 195.896,406.974l 225.637-225.637c 13.607,7.621, 27.189,13.070, 40.16,16.048\n\tL 224,435.078L0,512l 76.922-224l 237.69-237.691c 1.169,5.179, 2.738,10.47, 4.718,15.841c 2.948,8.001, 6.768,16.154, 11.348,24.302\n\tl-225.65,225.653l 26.869,26.869l 220.66-220.661c 5.448,6.685, 11.333,13.223, 17.62,19.511c 6.339,6.339, 12.858,12.233, 19.485,17.645\n\tL 169.027,380.105L 195.896,406.974z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0 C 476.182,0 512,35.817 512,80 C 512,98.010 506.045,114.629 496,128 L 464,160 L 352,48 L 384,16 C 397.371,5.955 413.989,0 432,0 ZM 32,368L0,512l 144-32l 296-296L 328,72L 32,368z M 357.789,181.789l-224,224l-27.578-27.578l 224-224L 357.789,181.789z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"newspaper, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,128L 448,64 L0,64 l0,352 c0,17.673, 14.327,32, 32,32l 432,0 c 26.511,0, 48-21.489, 48-48L 512,128 L 448,128 z M 416,416L 32,416 L 32,96 l 384,0 L 416,416 zM 64,160L 384,160L 384,192L 64,192zM 256,224L 384,224L 384,256L 256,256zM 256,288L 384,288L 384,320L 256,320zM 256,352L 352,352L 352,384L 256,384zM 64,224L 224,224L 224,384L 64,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"office, home, house, work, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512l 256,0 L 256,0 L0,0 L0,512 z M 160,64l 64,0 l0,64 l-64,0 L 160,64 z M 160,192l 64,0 l0,64 l-64,0 L 160,192 z M 160,320l 64,0 l0,64 l-64,0 L 160,320 z M 32,64l 64,0 l0,64 L 32,128 L 32,64 z M 32,192\n\t\t\tl 64,0 l0,64 L 32,256 L 32,192 z M 32,320l 64,0 l0,64 L 32,384 L 32,320 zM 288,160L 512,160L 512,192L 288,192zM 288,512L 352,512L 352,384L 448,384L 448,512L 512,512L 512,224L 288,224 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,64L0,224L 135,224L 263,64 \tzM0,256L 128,256L 128,480L0,480zM 320,64L 160,256l0,224 l 128,0 l0-96 c0-17.674, 14.327-32, 32-32s 32,14.326, 32,32l0,96 l 128,0 L 480,256 L 320,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,192l0,96 l 64-48l0,240 c0,17.6, 14.399,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32L 448,240 l 64,48l0-96 L 256,0z M 416,479.942\n\t\tc-0.018,0.020-0.038,0.041-0.059,0.058L 256,480 L 256,320 l-96,0 l0,160 L 96.058,480 c-0.020-0.017-0.041-0.038-0.058-0.058L 96,216 L 256,96l 160,120L 416,479.942 zM 288,224L 352,224L 352,288L 288,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,192l0,96 l 64-48l0,240 c0,17.6, 14.4,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32L 448,240 l 64,48l0-96 L 256,0z M 416,479.942\n\tc-0.017,0.020-0.038,0.041-0.058,0.058L 320,480 L 320,320 L 192,320 l0,160 L 96.058,480 c-0.020-0.017-0.041-0.038-0.058-0.058L 96,216 L 256,96l 160,120L 416,479.942 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L0,288l 48,48l 48-48l 32,192l 96,0 l0-96 l 64,0 l0,96 l 96,0 l 32-192l 48,48l 48-48L 256,32z M 256,237.254\n\t\tc-24.994,0-45.256-20.26-45.256-45.254s 20.262-45.255, 45.256-45.255c 24.992,0, 45.255,20.262, 45.255,45.255\n\t\tC 301.255,216.994, 280.992,237.254, 256,237.254z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L0,288l 48,48l 48-48l 32,192l 128,0 l 128,0 l 32-192l 48,48l 48-48L 256,32z M 256,237.254c-24.994,0-45.256-20.26-45.256-45.254\n\t\ts 20.262-45.255, 45.256-45.255c 24.992,0, 45.255,20.262, 45.255,45.255C 301.255,216.994, 280.992,237.254, 256,237.254z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288 L 448,480 L 64,480 L 64,288 L 128,288 L 128,416 L 384,416 L 384,288 ZM 512,295.223 L 256,96.509 L 0,295.223 L 0,214.204 L 256,15.491 L 512,214.205 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64L0,288l 64,0 l0,160 l 128,0 l0-96 l 128,0 l0,96 l 128,0 L 448,288 l 64,0 L 256,64z M 240,288l-48,0 l0-48 l 48,0 L 240,288 z M 240,208l-48,0 l0-48 l 48,0 L 240,208 z M 320,288l-48,0 \n\t\tl0-48 l 48,0 L 320,288 z M 320,208l-48,0 l0-48 l 48,0 L 320,208 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L0,288L 64,288L 256,96L 448,288L 512,288 \t\tzM 96,320L 96,480L 224,480L 224,352L 288,352L 288,480L 416,480L 416,320L 256,160 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,304L 416,208L 416,64L 352,64L 352,144L 256,48L0,304L0,320L 64,320L 64,480L 224,480L 224,384L 288,384L 288,480L 448,480L 448,320L 512,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,295.222 L 256,96.509 L 0,295.223 L 0,214.204 L 256,15.491 L 512,214.205 ZM 448,288 L 448,480 L 320,480 L 320,352 L 192,352 L 192,480 L 64,480 L 64,288 L 256,144 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,295.223 L 256,96.509 L 0,295.223 L 0,214.204 L 256,15.491 L 512,214.205 ZM 448,288 L 448,480 L 64,480 L 64,288 L 256,144 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>"]},{"metadata":{"id":"whhglyphs","name":"WebHostingHub Glyphs","link":"http://www.webhostinghub.com/glyphs/","grid":"16","author":"WebHostingHub","authorLink":"http://www.webhostinghub.com","license":"CC BY 3.0","licenseLink":"http://creativecommons.org/licenses/by/3.0/","defaultunicode":true},"svgs":["<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"©\" data-tags=\"copyright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 367,216q-3,10.5 -11.5,17.25t-19.5,6.75q-4,0 -8-1.5t-6.5-3t-5.75-5t-4.5-5t-3.5-5.25t-2.75-4.25q-19.5-24 -49-24q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75q 29.5,0 49-24q 1-1 4.75-6.75t 6.25-8.5t 8-5.75t 12-3q 11,0 19.5,6.75\nt 11.5,17.25q 0.5,2 1,5.5t-1.75,11.75t-9.25,14.75q-18.5,25 -45,40.5t-56,15.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 30.5,0 57.25,15.75t 45.25,41.75q 6,5.5 8,13.25t 1,12.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"¥\" data-tags=\"yen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439.5,52.5l-151.5,151.5l0,52 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 l0,32 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 l0,64 q0,13.5 -9.25,22.75t-22.5,9.25t-22.5-9.25t-9.25-22.75l0-64 l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 \nl0-32 l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 l0-52 l-151.5-151.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 139.5,139.5l 140-139.5q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"z\" data-tags=\"z\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,64l-274,384l 258,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-12 16-32l 274-384l-258,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75q0,13 -16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"y\" data-tags=\"y\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33.5l0,350.5 q0,53 -37.5,90.5t-90.5,37.5l-160,0 l0,0 q-13.5,0 -22.75-9.5t-9.25-22.5t 9.25-22.5t 22.75-9.5l0,0 l 160,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-81.5 q-30,17.5 -64,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,160 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,1 l0,0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"x\" data-tags=\"x\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 295,256l 143,200.5q 10.5,14 10.5,23.5q0,13.5 -9.5,22.75t-22.5,9.25q-3.5,0 -6.75-0.5t-5.75-1.75t-4.25-2.25t-4-3t-2.75-2.75t-2.5-3.25l-2-2.5l-132.5-185l-132,185l-2,2.5t-2.5,3.25t-2.75,2.75t-4,3t-4.5,2.25t-5.75,1.75t-6.5,0.5q-13,0 -22.5-9.25t-9.5-22.75q0-9.5 10.5-23.5l 143-200.5l-145.5-203.5\nq-0.5-0.5 -2-2.75t-2.25-3.25t-1.75-3.25t-1.25-5t-0.25-6.25q0-13 9.25-22.5t 22.75-9.5q 19,0 28,17l 131.5,184.5l 132-184.5q 9-17 28-17q 13.5,0 22.75,9.5t 9.25,22.5q0,3.5 -0.25,6.25t-1.25,5t-1.75,3.25t-2.25,3.25t-2,2.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"w\" data-tags=\"w\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,36l0,348 q0,53 -37.5,90.5t-90.5,37.5l-32,0 l-64,0 l-32,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,0.5 -0.25,1.5t-0.25,1.5l0,349 q0,26.5 18.75,45.25t 45.25,18.75l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-400 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,400 \nq0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,1 -0.5,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"v\" data-tags=\"v\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,312.5q0,19.5 -8.5,27.5l-163,163q-9,9 -20.5,9t-20.5-9l-163-163q-8.5-8.5 -8.5-25l0-283 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0 l0,276.5 l 128,128l 128-128l0-276.5 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,280.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"u\" data-tags=\"u\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33l0,351 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0.5l0,351.5 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q-0.5,0.5 -0.5,1z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"t\" data-tags=\"t\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-128,0 l0,416 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-416 l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"s\" data-tags=\"s\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.75-9.25t-9.5-22.75q0-26.5 -18.75-45.25t-45.25-18.75l-127.5,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5\nq0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-53,0 -90.25-37.5t-37.25-90.5l0-32 q0-53 37.5-90.5t 90.5-37.5l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"r\" data-tags=\"r\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 404.5,288q 20.5,18 32,43t 11.5,53l0,96 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-96 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,28 -11.5,53\nt-32,43zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"q\" data-tags=\"q\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439,459.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-9.5-9.5q-30.5,18.5 -66,18.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,35.5 -18.5,66zM 384,384l0-256 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25\nl0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 8,0 17.5-3l-73-73q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 73,73q 3-9.5 3-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"p\" data-tags=\"p\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,320l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"o\" data-tags=\"o\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"n\" data-tags=\"n\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-15.5,0 -28-16l-260-364.5l0,348.5 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-447.5 q0-13.5 9.25-23t 22.75-9.5q 17.5,0 27.5,16l 260.5,365l0-349 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"m\" data-tags=\"m\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-348.5 l-100,140.5q-11.5,16 -28,16q-16,0 -28-16l-100-140.5l0,348.5 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5q 8.5,0 14.5,3t 7.75,5.25t 5.25,7.75l 132.5,186l 132.5-186q 4-5.5 5.75-7.5t 7.75-5.25t 14-3.25\nq 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"l\" data-tags=\"l\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,400 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"k\" data-tags=\"k\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,160q0,28 -11.5,53t-32,43q 20.5,18 32,43t 11.5,53l0,126.5 l0,0.75 l0,0.75 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75\nl0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-128 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,1 l0,0.5 l0,126.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"j\" data-tags=\"j\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"320\" height=\"512\" viewBox=\"0 0 320 512\" data-du=\"i\" data-tags=\"i\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 224,64l-31.5,0 l0,384 l 31.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32.5,0 l0-384 l-32.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"h\" data-tags=\"h\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-176 q0-6.5 -4.75-11.25t-11.25-4.75l-224.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 224.5,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-176 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.25t 9.5,22.75l0,448 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"g\" data-tags=\"g\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,320q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25\nt-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 l-96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"f\" data-tags=\"f\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.5,64l-272.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13.5,0 23,9.5t 9.5,22.75t-9.5,22.5t-23,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320.5,0 q 13,0 22.5,9.5\nt 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"e\" data-tags=\"e\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-272,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"d\" data-tags=\"d\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25\nl0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"c\" data-tags=\"c\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 27,0 45.75-18.75t 18.75-45.25q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5q0,53 -37.5,90.5t-91,37.5l-128,0 q-53,0 -90.5-37.5\nt-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"b\" data-tags=\"b\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,352q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"a\" data-tags=\"a\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-352 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,352 q0,13.5 -9.5,22.75t-22.75,9.25zM 384,128\nq0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,112 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"Z\" data-tags=\"Z\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,64l-274,384l 258,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-12 16-32l 274-384l-258,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75q0,13 -16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"Y\" data-tags=\"Y\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33.5l0,350.5 q0,53 -37.5,90.5t-90.5,37.5l-160,0 l0,0 q-13.5,0 -22.75-9.5t-9.25-22.5t 9.25-22.5t 22.75-9.5l0,0 l 160,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-81.5 q-30,17.5 -64,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,160 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,1 l0,0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"X\" data-tags=\"X\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 295,256l 143,200.5q 10.5,14 10.5,23.5q0,13.5 -9.5,22.75t-22.5,9.25q-3.5,0 -6.75-0.5t-5.75-1.75t-4.25-2.25t-4-3t-2.75-2.75t-2.5-3.25l-2-2.5l-132.5-185l-132,185l-2,2.5t-2.5,3.25t-2.75,2.75t-4,3t-4.5,2.25t-5.75,1.75t-6.5,0.5q-13,0 -22.5-9.25t-9.5-22.75q0-9.5 10.5-23.5l 143-200.5l-145.5-203.5\nq-0.5-0.5 -2-2.75t-2.25-3.25t-1.75-3.25t-1.25-5t-0.25-6.25q0-13 9.25-22.5t 22.75-9.5q 19,0 28,17l 131.5,184.5l 132-184.5q 9-17 28-17q 13.5,0 22.75,9.5t 9.25,22.5q0,3.5 -0.25,6.25t-1.25,5t-1.75,3.25t-2.25,3.25t-2,2.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"W\" data-tags=\"W\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,36l0,348 q0,53 -37.5,90.5t-90.5,37.5l-32,0 l-64,0 l-32,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,0.5 -0.25,1.5t-0.25,1.5l0,349 q0,26.5 18.75,45.25t 45.25,18.75l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-400 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,400 \nq0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,1 -0.5,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"V\" data-tags=\"V\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,312.5q0,19.5 -8.5,27.5l-163,163q-9,9 -20.5,9t-20.5-9l-163-163q-8.5-8.5 -8.5-25l0-283 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0 l0,276.5 l 128,128l 128-128l0-276.5 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,280.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"U\" data-tags=\"U\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33l0,351 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0.5l0,351.5 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q-0.5,0.5 -0.5,1z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"T\" data-tags=\"T\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-128,0 l0,416 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-416 l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"S\" data-tags=\"S\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.75-9.25t-9.5-22.75q0-26.5 -18.75-45.25t-45.25-18.75l-127.5,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5\nq0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-53,0 -90.25-37.5t-37.25-90.5l0-32 q0-53 37.5-90.5t 90.5-37.5l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"R\" data-tags=\"R\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 404.5,288q 20.5,18 32,43t 11.5,53l0,96 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-96 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,28 -11.5,53\nt-32,43zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"Q\" data-tags=\"Q\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439,459.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-9.5-9.5q-30.5,18.5 -66,18.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,35.5 -18.5,66zM 384,384l0-256 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25\nl0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 8,0 17.5-3l-73-73q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 73,73q 3-9.5 3-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"P\" data-tags=\"P\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,320l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"O\" data-tags=\"O\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"N\" data-tags=\"N\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-15.5,0 -28-16l-260-364.5l0,348.5 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-447.5 q0-13.5 9.25-23t 22.75-9.5q 17.5,0 27.5,16l 260.5,365l0-349 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"M\" data-tags=\"M\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-348.5 l-100,140.5q-11.5,16 -28,16q-16,0 -28-16l-100-140.5l0,348.5 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5q 8.5,0 14.5,3t 7.75,5.25t 5.25,7.75l 132.5,186l 132.5-186q 4-5.5 5.75-7.5t 7.75-5.25t 14-3.25\nq 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"L\" data-tags=\"L\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,400 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"K\" data-tags=\"K\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,160q0,28 -11.5,53t-32,43q 20.5,18 32,43t 11.5,53l0,126.5 l0,0.75 l0,0.75 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75\nl0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-128 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,1 l0,0.5 l0,126.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"J\" data-tags=\"J\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"320\" height=\"512\" viewBox=\"0 0 320 512\" data-du=\"I\" data-tags=\"I\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 224,64l-31.5,0 l0,384 l 31.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32.5,0 l0-384 l-32.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"H\" data-tags=\"H\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-176 q0-6.5 -4.75-11.25t-11.25-4.75l-224.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 224.5,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-176 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.25t 9.5,22.75l0,448 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"G\" data-tags=\"G\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,320q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25\nt-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 l-96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"F\" data-tags=\"F\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.5,64l-272.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13.5,0 23,9.5t 9.5,22.75t-9.5,22.5t-23,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320.5,0 q 13,0 22.5,9.5\nt 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"E\" data-tags=\"E\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-272,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"D\" data-tags=\"D\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25\nl0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"C\" data-tags=\"C\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 27,0 45.75-18.75t 18.75-45.25q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5q0,53 -37.5,90.5t-91,37.5l-128,0 q-53,0 -90.5-37.5\nt-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"B\" data-tags=\"B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,352q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"A\" data-tags=\"A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-352 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,352 q0,13.5 -9.5,22.75t-22.75,9.25zM 384,128\nq0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,112 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"@\" data-tags=\"at\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352q-14.5,32 -48,32l-80,0 q-12.5,0 -21.5-8.25t-10-20.25q-35.5,28.5 -80.5,28.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 49.5,0 86.5,33.5q 5-1.5 9.5-1.5q 13.5,0 22.75,9.5t 9.25,22.5l0,128 l 52.5,0 q 11.5-32 11.5-64q0-52 -25.75-96.25t-70-70t-96.25-25.75t-96.25,25.75t-70,70t-25.75,96.25\nt 25.75,96.25t 70,70t 96.25,25.75l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l-96,0 q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5q0,31 -3.25,52.5t-12.75,43.5z\nM 256,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"9\" data-tags=\"_9\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.5-18.75t 19-45.25l0-81.5 q-30,17.5 -64.5,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-64 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-91,37.5\nzM 384.5,128q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,64 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.5-18.75t 19-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"8\" data-tags=\"_8\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-32 q0-28 11.5-53t 32-43q-20.5-18 -32-43t-11.5-53l0-32 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75\nl-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,352q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"7\" data-tags=\"_7\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,208l-144,272q-0.5,0.5 -2,3.5t-2.5,4.75l-3,5.25t-3.5,5.5t-4.25,4.75t-5,4.25t-5.5,2.75t-6.25,1.25q-13.5,0 -22.75-7.5t-9.25-24.5q0-10 16-32q 69.5-131 130.5-255.5q 6-12 9.25-28.25t 3.75-26.25l 0.5-10q0-26.5 -18.75-45.25t-45.25-18.75l-64,0 l-32,0 l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 128,0 l 32,0 l 64,0 q 53,0 90.5,37.5t 37.5,90.5q0,20 -5.5,45t-10.5,35z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"6\" data-tags=\"_6\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,192l 128,0 q 53.5,0 91,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-91,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25l0,81.5 q 30-17.5 64-17.5zM 128,384q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 27,0 45.75-18.75t 18.75-45.25l0-64 q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"5\" data-tags=\"_5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,176q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 q0-26.5 -18.75-45.25t-45.25-18.75\nl-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.5t-22.5,9.25l-272,0 q-6.5,0 -11.25,4.75t-4.75,11.75l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"4\" data-tags=\"_4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-177.5 q-30,17.5 -64,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,160 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"3\" data-tags=\"_3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"2\" data-tags=\"_2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,320l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 272.5,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320.5,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 26.5,0 45.5-18.75t 19-45.25l0-64 q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-91,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"384\" height=\"512\" viewBox=\"0 0 384 512\" data-du=\"1\" data-tags=\"_1\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 287.5,512l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-320 q0-26.5 -18.5-45t-44.5-19l-0.75,0 l-0.25,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l0,0.5 l0-0.5 q 53,0 90.5,37.5t 37.5,90.5l0,320 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"0\" data-tags=\"_0\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 192,448l 128,0 q 15.5,0 30.5-8l-222.5-306.5l0,250.5 q0,26.5 18.75,45.25t 45.25,18.75zM 320,64l-128,0 q-16,0 -30.5,8l 222.5,306.5l0-250.5 q0-26.5 -18.75-45.25t-45.25-18.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"+\" data-tags=\"plus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-160,0 l0,160 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"*\" data-tags=\"asterisk\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 494,274.5l-124.5,18l 92.5,95q 7.5,10.5 5.5,23.5t-12,20.5l-98,74.5q-10,7.5 -22.25,5.5t-19.75-12.5l-55.5-116.5l-55.5,116.5q-7.5,10.5 -19.75,12.5t-22.25-5.5l-98-74.5q-10-7.5 -12-20.5t 5.5-23.5l 92.5-95l-124.5-18q-12.5-4 -18.5-15.5t-2-23.5l 39.5-118q 4-12.5 15.75-18.25t 24.25-1.75l 98.5,49.5l-19.5-115\nq0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l-19.5,115l 98.5-49.5q 12.5-4 24.25,1.75t 15.75,18.25l 39.5,118q 4,12 -2,23.5t-18.5,15.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"%\" data-tags=\"percent\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-40,0 -68-28.25t-28-68t 28-67.75t 68-28t 68,28t 28,67.75t-28,68t-68,28.25zM 416.25,384q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 198,480q-7,13.5 -21.75,22.75t-28.25,9.25l-64.5,0 q-13.5,0 -17.75-9.5t 2.75-22.5l 245.5-448\nq 7-13.5 21.75-22.75t 28.25-9.25l 64.5,0 q 13.5,0 17.75,9.25t-2.75,22.75zM 96,192q-40,0 -68-28.25t-28-68t 28-67.75t 68-28t 68,28t 28,67.75t-28,68t-68,28.25zM 95.75,64q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"$\" data-tags=\"dollar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,192q-13.25,0 -22.5-9.25t-9.25-22.75q0-17 -18.75-32t-48.25-23.5t-61-8.5t-61,8.5t-48.25,23.5t-18.75,32t 18.75,32t 48.25,23.5t 61,8.5q 52,0 96.25,17.25t 70,46.5t 25.75,64.25q0,47 -45.75,82.75t-114.25,43.25l0,2 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-2 \nq-68.5-7.5 -114.25-43.25t-45.75-82.75q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5q0,17 18.75,32t 48.25,23.5t 61,8.5t 61-8.5t 48.25-23.5t 18.75-32t-18.75-32t-48.25-23.5t-61-8.5q-52,0 -96.25-17t-70-46.5t-25.75-64.5q0-47 45.75-82.75t 114.25-43.25l0-2 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,2 \nq 68.5,7.5 114.25,43.25t 45.75,82.75q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"synckeeplocal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-128,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,224q-13.5,0 -22.75-9.25t-9.25-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 447.75,96\nq-13.25,0 -22.5-9.25t-9.25-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.75,9.25zM 320.25,96q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 128,256q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 128,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 64,288q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25t-22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 64,416q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5\nt-22.75,9.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5zM 192,416q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"synckeeponserver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-128,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,336q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-96 zM 448,224q-13.5,0 -22.75-9.25t-9.25-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 448,96q-13.5,0 -22.75-9.25t-9.25-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 320,96q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75\nt 22.75-9.25t 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 128,256q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 64.25,288q 13.25,0 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25zM 64.25,416\nq 13.25,0 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5zM 192.25,416q 13.25,0 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"root\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 483.5,64l-169.5,0 l-151.5,424.5q-3.5,12.5 -15,19.25t-24.5,3.25q-9-2.5 -15-9t-7.5-15l-96-255.5q-3.5-12.5 3.25-23.75t 19.5-14.5t 24.25,3.25t 14.5,19l 61,183l 133-372.5q 2.5-11 11.25-18.5t 20.25-7.5l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sum\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-258.5,0 l 126,176.5q 9,15.5 0.5,31q-1,1.5 -32.5,45.75t-62.5,87.5l-31,43.25l 258,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-9 10-23l 143-200.5q-144.5-202.5 -149-209l0,0 q-4-7.5 -4-15.5q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13.5,0 22.75,9.25\nt 9.25,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cmd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,224l-48,0 l0,64 l 48,0 q 46.5,0 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25l0-48 l-64,0 l0,48 q0,46.5 -32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75l 48,0 l0-64 l-48,0 q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25\nt 79.25-32.75t 79.25,32.75t 32.75,79.25l0,48 l 64,0 l0-48 q0-46.5 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 352,400q0,20 14,34t 34,14t 34-14t 14-34t-14-34t-34-14l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,112q0-20 -14-34t-34-14t-34,14\nt-14,34t 14,34t 34,14l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 160,368q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34l0-32 zM 288,224l-64,0 l0,64 l 64,0 l0-64 zM 400,64q-20,0 -34,14t-14,34l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 20,0 34-14t 14-34\nt-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"loading2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-43,0 q 11-31.5 11-64l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 464,171.5l-20.5,12q-6.5-31.5 -24-59.5l 13-7.5q 11.5-7 24-3.5t 19.25,15t 3.25,24.25t-15,19.25zM 391,87.5q-22.5-22.5 -52.5-36.5l 2-3q 6.5-11.5 19.25-15t 24.25,3.25t 15,19.25t-3.5,24zM 395.5,432.5q 7,11.5 3.5,24t-15,19.25\nt-24.25,3.25t-19.25-15l-32.5-55.5q 31.5-8.5 58-27zM 255.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-68 q 16,4 32,4q 15,0 32-3l0,67 q0,13.5 -9.5,22.75t-22.75,9.25zM 256,192q-16.5,0 -26-13.5q-45.5,7 -73.75,35.75t-28.25,73.75l-96,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 105.5,0 l-89.5-52.5\nq-11.5-6.5 -15-19.25t 3.25-24.25t 19.25-15t 24,3.5l 88,51l-51-88q-7-11.5 -3.5-24t 15-19.25t 24.25-3.25t 19.25,15l 52.5,89.5l0-105.5 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 48,340.5l 80.5-47q 1,34 19,62.5l-68,39.5q-11.5,7 -24,3.5t-19.25-15t-3.25-24.25\nt 15-19.25zM 155,366q 20.5,27 50.5,39.5l-34,58.5q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.25t 3.5-24zM 424,317l 40,23.5q 11.5,6.5 15,19.25t-3.25,24.25t-19.25,15t-24-3.5l-49-28.5q 25-22 40.5-50z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lightbulb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,255.5q-31.5,33.5 -47.75,60.75t-16.25,51.75l0,0 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0,0 q0-24.5 -16.25-51.75t-47.75-60.75q-32-42.5 -32-95.5q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25q0,53 -32,95.5zM 208,416l 96,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 256,512q-26.5,0 -45.25-9.5t-18.75-22.5l 128,0 q0,13 -18.75,22.5t-45.25,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wizard3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 96,0 l 71-307.5l-71,19.5l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 144-128q 13,0 22.5,9.5t 9.5,22.5l 96,416l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"infographic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 457.5,413l-92.5-92.5q 18.5-30.5 18.5-65.5q0-44.5 -27.25-79t-69.25-45.5l0-130.5 q 63,8 114.25,43.5t 81,91.25t 29.75,120.25q0,88 -54.5,158zM 131,222.5l-131,0 q 11-87 73.25-149.25t 149.25-73.25l0,130.5 q-33.5,9 -58.25,33.75t-33.25,58.25zM 130.5,287q 11,42 45.5,69.25t 79,27.25q 35,0 65.5-18.5\nl 92.5,92.5q-70,54.5 -158,54.5q-64.5,0 -120.25-29.75t-91.25-81t-43.5-114.25l 130.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"split\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,119.5q-9,9 -21.75,9t-21.75-9l-12-12l0,85 q0,27.5 -5,50t-16,40.25t-30,27.75t-44.5,10q-26.5,0 -45.25,18.5t-18.75,45l0,96 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-96 q0-26.5 -18.75-45t-45.25-18.5q-25.5,0 -44.5-10t-30-27.75t-16-40.25t-5-50l0-85 l-12,12\nq-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 60-60q 3-5.5 4.5-6.5q 9-9.5 23-9q 13.5-0.5 22.5,9q 3,2.5 5.5,7l 59,59.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-12-12l0,85 q0,29 11.5,46.5t 36.5,17.5l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 25,0 36.5-17.5\nt 11.5-46.5l0-85 l-12,12q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 60-60q 3-5.5 4.5-6.5q 9-9.5 23-9q 13.5-0.5 22.5,9q 3,2.5 5.5,7l 59,59.5q 9,9 9,21.75t-9,21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"merge\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-96 q0-26.5 -18.75-45.25t-45.25-18.75l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75l-64,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,96 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-96 q0-53 37.5-90.5t 90.5-37.5l 32,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-85 l-12,12q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 60.5-60.5q 3-5 4-6.5q 9.5-9 23-8.5q 13.5-0.5 23,8.5q 1,1.5 4,6.5l 60.5,60.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-12-12l0,85 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 q 53,0 90.5,37.5t 37.5,90.5\nl0,96 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"link2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 473.75,473.75q-38.25,38.25 -92.5,38.25t-92.25-38.5l-25.5-25.5l 56.5-32l 12,12q 20,20 48,20t 48-20t 20-48t-20-48l-120-120.5q-20-19.5 -48.25-19.5t-48.25,19.5q-0.5,1 -1.5,2q-15.5,15.5 -18,26.5l-48-48q 2-3.5 5-7.5t 4.75-5.75l 6.5-6.5t 6.25-5.75q 38-38.5 92.25-38.5t 92.25,38.5l 122.5,122.5\nq 38.5,38 38.5,92.25t-38.25,92.5zM 180,84q-20-20 -48-20t-48,20t-20,48t 20,48l 120,120.5q 20,20 48.25,20t 48.25-20q 0.5-1 1.5-2q 15.5-15.5 18-26.5l 48,48q-2,3.5 -5,7.5t-4.75,5.75l-6.5,6.5t-6.25,5.75q-38,38.5 -92.25,38.5t-92.25-38.5l-122.5-122.5q-38.5-38 -38.5-92.25t 38.25-92.5t 92.5-38.25\nt 92.25,38.5l 25.5,25.5l-56.5,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"opennewwindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 116,0 l-139.5,139.5\nq-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 140-140l0,117 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l0-192 zM 416,480.25q0,13.25 -9.25,22.5t-22.75,9.25l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,288 q0,13.5 9.25,22.75\nt 22.75,9.25l 288,0 q 13,0 22.5,9.5t 9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pagesetup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,95.5 l-128,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,255.5 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 48,0 l0,48 \nq0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-48 l 192,0 l0,48 q0,7 4.5,11.5t 11.25,4.5t 11.5-4.5t 4.75-11.5l0-48 l 47.5,0 q 7,0 11.5-4.5t 4.5-11.25t-4.5-11.5t-11.5-4.75l-47.5,0 l0-191 l 95.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 zM 352,383.5l-192,0 l0-255.5 l 128,0 l0,48.5 \nq0,6.5 4.5,11.25t 11.5,4.75l 48,0 l0,191 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"preview\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-40.5 q-42.5-15.5 -69.25-52.5t-26.75-83.5t 26.75-83.5t 69.25-52l0-136 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 l 0.5,0.5l0,287.5 q0,13 -9.5,22.5t-22.5,9.5zM 316,434.5l-75.5-75q 15.5-26.5 15.5-56q0-46 -32.75-79t-79.25-33\nt-79.25,32.75t-32.75,79.25t 32.75,79.25t 79.25,32.75q 29,0 56-15.5l 75,75.5q 4,4 10,4t 10.5-4l 20.5-20.5q 4-4 4-10t-4-10.5zM 144,383.5q-33,0 -56.5-23.25t-23.5-56.5t 23.5-56.75t 56.5-23.5t 56.5,23.5t 23.5,56.75t-23.5,56.5t-56.5,23.25zM 352-0.5q 13,0.5 22,9.5l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160.5 z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exportfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13,0 -22.5-9.25t-9.5-22.75l0-5.5 q-82.5-80 -83-81q-13-12 -13-38.75t 13-39.25l 83-80l0-203.5 q0-13 9.5-22.5t 22.5-9.5l 192,0 l0,176 q0,7 4.75,11.5t 11.25,4.5l 175.5,0 q 0.5,0.5 0.5,1l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,319.5q0-13 -9.25-22.5t-22.75-9.5l-96,0 l0-29 q 2-15 -8.5-25.5\nq-9-9.5 -21.75-9.5t-21.75,9.5l-99,98.5q-9,9 -9,21.75t 9,21.75q 6,6 48.25,46.75t 50.75,49.25q 9,9 21.75,9t 21.75-9q 10.5-10.5 8.5-26l0-29.5 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 zM 352,0q 13,0 22,9l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"importfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32.5 l-50.5,0 q-19,0 -32.25-14t-13.25-34l0-96 q0-19.5 13.25-33.75t 32.25-14.25l 50.5,0 l0-223.5 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 l 0.5,0.5l0,287.5 q0,13.5 -9.25,22.75t-22.75,9.25zM 311,331.5l-99-99q-9-9 -21.75-9\nt-21.75,9q-9.5,9.5 -8.5,24l0,31 l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 96,0 l0,31.5 q-1,14.5 8.5,24q 9,9 21.75,9t 21.75-9l 91-91q 5.5-2.5 8-5q 9-9 9-21.75t-9-21.75zM 352-0.5q 13,0 22,9.5l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchoff\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-13.5 -9.5-22.75t-22.5-9.25l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,192 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5\nt 9.5-22.5l0-192 zM 384,352l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-13.5 -9.5-22.75t-22.5-9.25l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,192 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5\nt 9.5-22.5l0-192 zM 224,352l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"redo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,170.5q-0.5,7.5 -4.75,14.5t-10.75,7l-165,0 q-12,0.5 -11.5-17l 63-63q-54.5-48 -126.5-48q-52,0 -96.25,25.75t-70,70t-25.75,96.5t 25.75,96.25t 70,69.75t 96.25,25.75q 44,0 82.75-18.75t 65.75-51.75l 50.5,39.5q-36,44.5 -88,69.75t-111,25.25q-52,0 -99.5-20.25t-81.75-54.5\nt-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25q 48.5,0 92.75,17.5t 79.25,49l 67-67q 17.5-0.5 17,11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"undo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256.5,512q-59,0 -111-25.25t-88-69.75l 50.5-39.5q 27,33 65.75,51.75t 82.75,18.75q 52,0 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75q-72,0 -126.5,48l 63,63q 0.5,17.5 -11.5,17l-165,0 q-6.5,0 -10.75-7t-4.75-14.5l-0.5-159q-0.5-12 17-11.5l 67,67\nq 35-31.5 79.25-49.25t 92.75-17.75q 52,0 99.5,20.5t 81.75,54.75t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quotedown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-64 q0-13 -9.25-22.5t-22.5-9.5t-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 q 15.5,0 30.5,16t 24.25,38.5t 9.25,41.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,448l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 \nq0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-64 q0-13 -9.5-22.5t-22.75-9.5t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 q 15,0 30.25,16t 24.5,38.5t 9.25,41.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quoteup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,288l-64,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-64,0 q-15.5,0 -30.5-16t-24.25-38.5t-9.25-41.5l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,288l-64,0 l0,64 q0,13.5 9.25,22.75\nt 22.75,9.25t 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 q-15,0 -30.25-16t-24.5-38.5t-9.25-41.5l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mergecells\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 379,166.5q 6-6 15-6.5t 15.5,3.5t 6.5,10l0,165 q0,6 -6.5,10t-15.5,3.25t-15-6.75l-82-66.5q-9.5-9.5 -9.5-22.75t 9.5-22.75zM 448,512l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 \nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 133,345q-6,6 -15,6.75t-15.5-3.25t-6.5-10l0-165 \nq0-6 6.5-10t 15.5-3.5t 15,6.5l 82,66.5q 9.5,9.5 9.5,22.75t-9.5,22.75zM 192.25,160q-13.25,0 -22.75-9.25t-9.5-22.75l0-48 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5\nl0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scaledown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,410.5q 9.5,9.5 9.5,23t-9.5,23l-45.5,46q-9.5,9.5 -22.75,9.5t-22.75-9.5l-57-57l-66.5,66.5q-13.5,0 -22.75-9.5t-9.25-22.5l0-192.5 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l-66.5,66.5zM 224,255.5l-191.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l 66-66l-57-56.5q-9.5-9.5 -9.5-23t 9.5-23\nl 45.5-46q 9.5-9.5 23-9.5t 23,9.5l 57,57l 66-66q 13.5,0 22.75,9.25t 9.25,22.75l0,191.5 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scaleup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-191.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l 67.5-67.5l-74.5-72.5q-9-9.5 -9-22.75t 9-22.75l 46-45.5q 9-9 22.5-9t 23,9l 73.5,72.5l 65.5-65q 13.5,0 22.75,9.25t 9.25,22.75l0,191.5 q0,13.5 -9.25,22.75t-22.75,9.25zM 217,263q-9.5,9.5 -22.75,9.5t-22.75-9.5l-74-72.5l-65.5,65.5\nq-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 192,0 q 13.5,0 22.75,9.25t 9.25,22.75l-67.5,67.5l 74.5,73q 9.5,9 9.5,22.5t-9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,277.5l-81.5,100q-5.5,6 -14.75,6.25t-16-3.75t-6.75-9.5l0-50.5 l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 l0-50 q0-6 6.75-10t 16-3.75t 14.75,6.25l 81.5,99.5q 9,9 9,21.75t-9,21.75zM 320.25,128q-13.25,0 -22.75-9.5t-9.5-22.75t-9.25-22.5t-22.75-9.25l-160,0 \nq-13,0 -22.5,9.25t-9.5,22.75l0,320 q0,13 9.5,22.5t 22.5,9.5l 160,0 q 13.5,0 22.75-9.5t 9.25-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-224,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 224,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 \nq0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"enter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-224,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.5t 9.5,22.75t 22.5,9.5l 160,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-320 q0-13.5 -9.25-22.75t-22.75-9.25l-160,0 q-13,0 -22.5,9.25t-9.5,22.5t-9.25,22.75t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 q0-26.5 18.75-45.25t 45.25-18.75\nl 224,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 215,277.5l-81.5,100q-6,6 -15,6.25t-16-3.75t-7-9.5l0-50.5 l-63.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 63.5,0 l0-50 q0-6 7-10t 16-3.75t 15,6.25l 81.5,99.5q 8.5,9 8.5,21.75t-8.5,21.75\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"move\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 506.5,267l-99,82q-5.5,4 -14.5,2.5t-9-6.5l0-57 l-96.5,0 l0,96 l 57,0 q 5,0 6.75,9t-2.75,14.5l-82,99q-4.5,5.5 -10.75,5.5t-10.75-5.5l-82-99q-4.5-5.5 -2.75-14.5t 6.25-9l 57,0 l0-96 l-95.5,0 l0,57 q0,4.5 -9,6.25t-14.5-2.25l-99-82.5q-5.5-4.5 -5.5-10.75t 5.5-10.75l 99-82q 5.5-4.5 14.5-2.75t 9,6.25\nl0,57.5 l 95.5,0 l0-96.5 l-56.5,0 q-5,0 -6.75-9t 2.75-14.5l 82-98.5q 4.5-6 10.75-6t 10.75,6l 82,98.5q 4.5,5.5 2.75,14.5t-6.25,9l-57.5,0 l0,96.5 l 96.5,0 l0-57 q0-5 9-6.75t 14.5,2.75l 99,82q 5.5,4.5 5.5,11t-5.5,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zoomout\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-99-99q-60,44.5 -134,44.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,74 -44.5,134l 99,99q 9.5,9.5 9.5,22.75t-9.5,22.75zM 224,64\nq-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.5t 58.25,58.25t 80.25,21.25t 80.25-21.25t 58.25-58.25t 21.5-80.5t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 288,256l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zoomin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-99-99q-60,44.5 -134,44.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,74 -44.5,134l 99,99q 9.5,9.5 9.5,22.75t-9.5,22.75zM 224,64\nq-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.5t 58.25,58.25t 80.25,21.25t 80.25-21.25t 58.25-58.25t 21.5-80.5t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 288,256l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5\nl 32,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,213.5l-209.5,164q-5.5,6 -14.75,6.25t-16-3.75t-6.75-9.5l0-114.5 l-96,0 q-13,0 -22.5,9.25t-9.5,22.75l0,128 l0,32 l0,32 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l0-32 l0-160 q0-53 37.5-90.5t 90.5-37.5l 128,0 l0-114 q0-6 6.75-10t 16-3.75t 14.75,6.25l 209.5,163.5q 9,9 9,21.75\nt-9,21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"back\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 l0-32 l0-128 q0-13.5 -9.5-22.75t-22.5-9.25l-96,0 l0,114.5 q0,5.5 -6.75,9.5t-16,3.75t-14.75-6.25l-209.5-164q-9-9 -9-21.75t 9-21.75l 209.5-163.5q 5.5-6 14.75-6.25t 16,3.75t 6.75,10l0,114 l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,160 l0,32 l0,32 q0,13 -9.5,22.5\nt-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 278.5,295q-9,9 -22.5,9t-22.5-9l-224-226q-9.5-9.5 -9.5-23t 9.5-22.5l 13-14q 9.5-9.5 22.75-9.5t 22.75,9.5l 188,189.5l 188-189.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 13,14q 9.5,9 9.5,22.5t-9.5,23zM 22.5,217.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 188,189.5l 188-189.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 13,13.5\nq 9.5,9.5 9.5,22.75t-9.5,22.75l-224,226q-9,9.5 -22.5,9.5t-22.5-9.5l-224-226q-9.5-9.5 -9.5-22.75t 9.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 233.5,217.5q 9-9.5 22.5-9.5t 22.5,9.5l 224,225.5q 9.5,9.5 9.5,23t-9.5,23l-13,13.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-188-189.5l-188,189.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-13-13.5q-9.5-9.5 -9.5-23t 9.5-23zM 489.5,295q-9.5,9.5 -22.75,9.5t-22.75-9.5l-188-190l-188,190q-9.5,9.5 -22.75,9.5t-22.75-9.5\nl-13-14q-9.5-9.5 -9.5-22.75t 9.5-22.75l 224-226q 9-9.5 22.5-9.5t 22.5,9.5l 224,226q 9.5,9.5 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 294.5,233.5q 9.5,9 9.5,22.25t-9.5,22.75l-225.5,224q-9.5,9.5 -23,9.5t-23-9.5l-13.5-13.5q-9.5-9 -9.5-22.25t 9.5-22.75l 189.5-188l-189.5-188q-9.5-9.5 -9.5-22.75t 9.5-22.75l 13.5-13q 9.5-9.5 23-9.5t 23,9.5zM 217.5,489q-9.5-9 -9.5-22.25t 9.5-22.75l 189.5-188l-189.5-188q-9.5-9.5 -9.5-22.75t 9.5-22.75l 13.5-13\nq 9.5-9.5 22.75-9.5t 22.75,9.5l 226,224q 9.5,9 9.5,22.25t-9.5,22.75l-226,224q-9.5,9.5 -22.75,9.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 217.5,233.5q-9.5,9 -9.5,22.25t 9.5,22.75l 225.5,224q 9.5,9.5 23,9.5t 23-9.5l 13.5-13.5q 9.5-9 9.5-22.25t-9.5-22.75l-189.5-188l 189.5-188q 9.5-9.5 9.5-22.75t-9.5-22.75l-13.5-13q-9.5-9.5 -23-9.5t-23,9.5zM 294.5,489q 9.5-9 9.5-22.25t-9.5-22.75l-189.5-188l 189.5-188q 9.5-9.5 9.5-22.75t-9.5-22.75l-13.5-13\nq-9.5-9.5 -22.75-9.5t-22.75,9.5l-226,224q-9.5,9 -9.5,22.25t 9.5,22.75l 226,224q 9.5,9.5 22.75,9.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resizev\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 245,507.5l-144.5-139.5q-4.5-4.5 -4.5-10.75t 4.5-10.75l 23-22q 4.5-4.5 11.25-4.5t 11.25,4.5l 78,75.5l0-288 l-78,75.5q-4.5,4.5 -11.25,4.5t-11.25-4.5l-23-22q-4.5-4.5 -4.5-10.75t 4.5-10.75l 144.5-139.5q 4.5-4.5 11.25-4.5t 11.25,4.5l 144.5,139.5q 4.5,4.5 4.5,10.75t-4.5,10.75l-23,22q-4.5,4.5 -11.25,4.5t-11.25-4.5l-78.5-76l0,289 l 78.5-76\nq 4.5-4.5 11.25-4.5t 11.25,4.5l 23,22q 4.5,4.5 4.5,10.75t-4.5,10.75l-144.5,139.5q-4.5,4.5 -11.25,4.5t-11.25-4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resizeh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,267l-139.5,144.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-22-23q-4.5-4.5 -4.5-11.25t 4.5-11.25l 75.5-78l-288,0 l 75.5,78q 4.5,4.5 4.5,11.25t-4.5,11.25l-22,23q-4.5,4.5 -10.75,4.5t-10.75-4.5l-139.5-144.5q-4.5-4.5 -4.5-11.25t 4.5-11.25l 139.5-144.5q 4.5-4.5 10.75-4.5t 10.75,4.5l 22,23q 4.5,4.5 4.5,11.25t-4.5,11.25l-76,78.5l 289,0 \nl-76-78.5q-4.5-4.5 -4.5-11.25t 4.5-11.25l 22-23q 4.5-4.5 10.75-4.5t 10.75,4.5l 139.5,144.5q 4.5,4.5 4.5,11.25t-4.5,11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"asterisk2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 455,215.5q-13,7.5 -45.5,20t-64,20.5q 31.5,8 64,20.5t 45.5,20q 22.5,13.5 29,39t-6.25,48.5t-37.75,29.75t-47-6.25q-13-7.5 -39-29.75t-48.5-45.75q 9,32 15,66.25t 6,49.75q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-15.5 5.75-49.75t 14.75-66.25q-22.5,23.5 -48.5,45.75\nt-38.5,29.75q-22.5,13 -47.5,6.25t-37.75-29.75t-6-48.5t 28.75-39q 13-7.5 45.5-20t 64-20.5q-31.5-8 -64-20.5t-45.5-20q-22-13.5 -28.75-39t 6-48.5t 37.75-29.75t 47.5,6.25q 12.5,7.5 38.5,29.75t 48.5,45.75q-9-32 -14.75-66.25t-5.75-49.75q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,15 -6,49.5\nt-15,66.5q 22.5-23.5 48.5-45.75t 39-29.75q 22-13 47-6.25t 37.75,29.75t 6.25,48.5t-29,39z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alert\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448q0,13 -9.25,22.5t-22.75,9.5l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-8.5 4.5-16l 219.5-368q 4-9 5.75-12t 6-9.25t 9-8.5t 11.25-2.25q 8.5,0 14.75,5t 9.5,10.75t 7.75,16.25l 219.5,368q 4.5,7.5 4.5,16zM 288,192q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l0,96 q0,13 9.5,22.5\nt 22.5,9.5t 22.5-9.5t 9.5-22.5l0-96 zM 255.75,352q-13.25,0 -22.5,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"info\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 272,64q-20,0 -34,14t-14,33.75t 14,34t 34,14.25t 34-14.25t 14-34\nt-14-33.75t-34-14zM 336.5,329q-30,31.5 -44,40.75t-27.5,9.25q-7.5,0 -12.75-6.75t-5.25-17.25q0-21.5 41-163l-77.5-14.5q-50.5,124.5 -50.5,195q0,32.5 15.5,54t 38,21.5q 40.5,0 123-81l0-38 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forbidden2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 367,412.5l-111-111l-111,111q 50,35.5 111,35.5t 111-35.5zM 64,256\nq0,61 35,110.5l 111-111l-110.5-110.5q-35.5,50 -35.5,111zM 145.5,99.5l 110.5,110l 110.5-110q-50-35.5 -110.5-35.5t-110.5,35.5zM 412.5,145l-110.5,110.5l 111,111q 35-49.5 35-110.5t-35.5-111z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forbidden\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.75t 99.5-20.5t 99.5,20.5t 81.75,54.75t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 64,256q0,52 25.75,96.25t 70,70t 96.25,25.75q 61,0 111-35.5\nl-267.5-267.5q-35.5,50 -35.5,111zM 256,64q-60.5,0 -110.5,35l 267.5,267.5q 35-50 35-110.5q0-52.5 -25.75-96.75t-70-69.75t-96.25-25.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"radiobutton\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.25-22.5t-22.75-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75\nl0-320 zM 255.75,352q-39.75,0 -67.75-28t-28-67.75t 28-68t 67.75-28.25t 68,28.25t 28.25,68t-28.25,67.75t-68,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkbox2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.25-22.5t-22.75-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75\nl0-320 zM 303,256l 71,71q 10,10 10,23.75t-9.75,23.25t-23.5,9.5t-23.75-9.5l-71-71l-71,71.5q-10,9.5 -23.5,9.5t-23.25-9.75t-9.75-23.5t 9.5-23.25l 71.5-71.5l-72-71.5q-9.5-10 -9.5-23.75t 9.5-23.25t 23.25-9.5t 23.75,9.5l 71.5,72l 72-72q 9.5-9.5 23.25-9.5t 23.5,9.75t 9.75,23.5t-10,23.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 13.5,0 26.5,5.5l-58.5,58l-320,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 l 64-64l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 279,342.5q-9.5,9.5 -23.5,9\nq-14.5,0.5 -24-9.5l-94-93.5q-9.5-10 -9.5-23.75t 9.75-23.25t 23.25-9.5t 23.5,9.5l 72,72l 244-245.5q 11.5,16.5 11.5,36l0,34 q-4,15.5 -10,21z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"maximize\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-35-35l-58.5,58q-8.5,9 -21,9t-21.25-8.75t-8.75-21.25t 9-21l 58-58.5l-34.5-34.5q0-13 1.25-14.5t 14.75-1.5l 80,0 q 13,0 22.5,9.5t 9.5,22.5l0,80 q0,13.5 -1.5,14.75t-14.5,1.25zM 384,256l0,192 q0,26.5 -18.75,45.25t-45.25,18.75l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25\nt 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25zM 320,288q0-13 -9.5-22.5t-22.5-9.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,128 q0,13.5 9.25,22.75t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.75l0-128 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"minimize\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 q-13,0 -22.5,9.25t-9.5,22.75l0,128 q0,13 9.5,22.5t 22.5,9.5l 192,0 q 13.5,0 22.75-9.5\nt 9.25-22.5l0-128 zM 352,480q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 192,0 q 13.5,0 22.75,9.25t 9.25,22.75zM 32.25,512q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restore\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-32,0 l0-64 q 13.5,0 22.75-9.5t 9.25-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,64 l-64,0 l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75zM 384,256l0,192 q0,26.5 -18.75,45.25\nt-45.25,18.75l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25zM 288,256l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 192,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"equals\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,192l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"smaller\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,428l0,64.5 q0,13.5 -9.25,18t-22.75-3l-448-165q-13.5-7.5 -22.75-22t-9.25-28l0-72.5 q0-13 9.25-27.75t 22.75-21.75l 448-165q 13.5-7.5 22.75-3.25t 9.25,17.75l0,64.5 q0,13.5 -9.25,28.25t-22.75,21.75l-330.5,122l 330.5,122q 13.5,7 22.75,21.5t 9.25,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bigger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,342.5l-448,165q-13.5,7.5 -22.75,3t-9.25-18l0-64.5 q0-13.5 9.25-28t 22.75-22l 330.5-122l-330.5-122q-13.5-7 -22.75-21.75t-9.25-27.75l0-65 q0-13.5 9.25-17.75t 22.75,3.25l 448,165q 13,7.5 22.5,22t 9.5,28l0,72.5 q0,13.5 -9.5,28t-22.5,22z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-160,0 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 160,0 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l 160,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 288,224l-64,0 l0,64 l 64,0 l0-64 \nzM 480,96l-32,0 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-288,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 288,0 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 416,32l-64,0 l0,64 l 64,0 l0-64 z\nM 32,416l 32,0 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l 288,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5l-288,0 q0,13.5 -9.5,22.75t-22.5,9.25l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 96,480l 64,0 l0-64 l-64,0 l0,64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320q 1,9 1,16t-1,16l-32,0 q-1.5,12 -4.5,24l 29.5,12.5q-4.5,14.5 -12,29.5l-30-12.5q-5.5,10.5 -13.5,20.5l 22.5,22.5q-10,12.5 -22.5,22.5l-22.5-22.5q-10,8 -20.5,13.5l 12.5,29.5q-15,8 -29.5,12.5l-12.5-29.5q-12,3 -24,4.5l0,32 q-9,1 -16,1t-16-1l0-32 q-12-1.5 -24-4.5l-12,29.5q-15-4.5 -30-12.5l 12.5-29.5\nq-10.5-5.5 -20-13.5l-23,22.5q-12.5-10 -22.5-22.5l 22.5-22.5q-7.5-10 -13.5-20.5l-29.5,12.5q-8-15 -12.5-29.5l 30-12.5q-3.5-12 -5-24l-32,0 q-1-9 -1-16t 1-16l 32,0 q 1.5-12 5-24l-30-12.5q 4.5-14.5 12.5-29.5l 29.5,12.5q 6-10.5 13.5-20.5l-22.5-22.5q 10-12.5 22.5-22.5l 23,22.5q 9.5-8 20-13.5l-12.5-30q 15-7.5 30-12l 12,29.5q 12-3.5 24-4.5l0-32 \nq 9-1 16-1t 16,1l0,32 q 12,1 24,4.5l 12.5-29.5q 14.5,4.5 29.5,12l-12.5,30q 10.5,6 20.5,13.5l 22.5-22.5q 12.5,10 22.5,22.5l-22.5,22.5q 8,10 13.5,20.5l 30-12.5q 7.5,15 12,29.5l-29.5,12.5q 3,12 4.5,24l 32,0 zM 337,256q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 224.5,149l-6,15.5\nq-1.5,3 -4.75,4.5t-6.25,0l-28.5-11.5q-8.5,12 -20.5,20l 12,28.5q 1.5,3.5 0,6.5t-4.5,4.5l-15.5,6.5q-3,1.5 -6.25,0t-4.75-4.5l-12-28.5q-8,1.5 -14.5,1.5q-6,0 -14-1.5l-12,28.5q-1,3 -4.25,4.5t-6.75,0l-15-6.5q-3.5-1 -4.75-4.25t-0.25-6.75l 12-28q-12-8.5 -20.5-20.5l-28.5,12q-3,1 -6.25-0.25t-4.75-4.25l-6-15.5\nq-1.5-3.5 -0.25-6.75t 4.75-4.25l 28-12q-1.5-8 -1.5-14.5q0-6 1.5-14.5l-28.5-11.5q-3-1.5 -4.25-4.5t-0.25-6.5l 6.5-15.5q 1.5-3 4.5-4.5t 6.5,0l 28.5,11.5q 8-12 20-20l-11.5-28.5q-1.5-3.5 -0.25-6.5t 4.75-4.5l 15.5-6.5q 3-1.5 6.25,0t 4.75,4.5l 11.5,28.5q 8-1.5 14.5-1.5t 14.5,1.5l 11.5-28.5q 1.5-3.5 4.75-4.75t 6.25,0.25l 15.5,6.5q 3.5,1 4.75,4.25t-0.25,6.25\nl-11.5,28.5q 12,8.5 20.5,20.5l 28-12q 3.5-1 6.75,0.25t 4.25,4.25l 6.5,15.5q 1.5,3.5 0.25,6.75t-4.75,4.25l-28.5,12q 1.5,8 1.5,14.5t-1.5,14.5l 28.5,11.5q 3.5,1.5 4.75,4.5t-0.25,6.5zM 113.25,64q-19.75,0 -34,14t-14.25,34t 14.25,34t 34,14t 33.75-14t 14-34t-14-34t-33.75-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,383.5l-54,0 q-6,17.5 -19,32l 23.5,41.5q 3,6 1.25,12t-6.75,9.5l-26.5,15.5q-5.5,3 -11.5,1.5t-9-7.5l-24-42q-10,2 -18,2t-18-2l-24,42q-3,6 -9,7.5t-11.5-1.5l-26.5-15.5q-5-3.5 -6.75-9.5t 1.25-12l 23.5-41.5q-13-14.5 -19-32l-54,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 54,0 \nq 6-17 19-31.5l-23.5-41.5q-3-6 -1.25-12t 6.75-9.5l 26.5-15.5q 5.5-3 11.5-1.5t 9,7l 24,42.5q 10-2 18-2t 18,2l 24-42.5q 3-5.5 9-7t 11.5,1.5l 26.5,15.5q 5,3.5 6.75,9.5t-1.25,12l-23.5,41.5q 13,14.5 19,31.5l 54,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,7 -4.75,11.5t-11.25,4.5zM 352,319.5q-13.5,0 -22.75,9.5\nt-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 304,191.5l-54,0 q-6,17.5 -19,32l 23.5,41.5q 3,5.5 1.25,11.75t-6.75,9.75l-26.5,15.5q-5.5,3 -11.5,1.25t-9-7.25l-24-42q-9.5,1.5 -18,1.5t-18-1.5l-24,42q-3,5.5 -9,7.25t-11.5-1.25l-26.5-15.5q-5-3.5 -6.75-9.75\nt 1.25-11.75l 23.5-41.5q-13-14.5 -19-32l-54,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 54,0 q 6-17 19-32l-23.5-41.5q-3-5.5 -1.25-11.75t 6.75-9.25l 26.5-15.5q 5.5-3.5 11.5-1.75t 9,7.25l 24,42.5q 10-2 18-2t 18,2l 24-42.5q 3-5.5 9-7.25t 11.5,1.75l 26.5,15.5q 5,3 6.75,9.25t-1.25,11.75l-23.5,41.5\nq 13,15 19,32l 54,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,7 -4.75,11.5t-11.25,4.5zM 160,127.5q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-51,0 q-7,43.5 -33,79.5l 31.5,32q 4.5,4.5 4.5,11t-4.5,11l-22,22q-4.5,4.5 -11,4.5t-11-4.5l-32-31.5q-36,26 -79.5,33l0,51 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-51 q-43.5-7 -79.5-33l-32,31.5q-4.5,4.5 -11,4.5t-11-4.5l-22-22q-4.5-4.5 -4.5-11t 4.5-11l 31.5-32\nq-26-36 -33-79.5l-51,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 51,0 q 7-43 33-79.5l-31.5-31.5q-4.5-4.5 -4.5-11t 4.5-11l 22-22.5q 4.5-4.5 11-4.5t 11,4.5l 32,32q 36-26 79.5-33.5l0-51 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,51 q 43.5,7.5 79.5,33.5l 32-32q 4.5-4.5 11-4.5t 11,4.5\nl 22,22.5q 4.5,4.5 4.5,11t-4.5,11l-31.5,31.5q 26,36.5 33,79.5l 51,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,128q-53,0 -90.75,37.5t-37.75,90.5t 37.75,90.5t 90.75,37.5t 90.75-37.5t 37.75-90.5t-37.75-90.5t-90.75-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 9.5,233l 226-224.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 46,45.5q 9.5,9.5 9.5,22.75t-9.5,22.75l-93,92l 246,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5l-246.5,0 l 93.5,92.5q 9.5,9 9.5,22.5t-9.5,22.5l-46,45.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-226-224q-9.5-9.5 -9.5-22.75t 9.5-22.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,278.5l-226,224q-9.5,9.5 -22.75,9.5t-22.75-9.5l-46-45.5q-9.5-9 -9.5-22.5t 9.5-22.5l 93-92l-246,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 246.5,0 l-93.5-92.5q-9.5-9.5 -9.5-22.75t 9.5-22.75l 46-45.5q 9.5-9 22.75-9t 22.75,9l 226,224.5q 9.5,9.5 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"upright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,415.5l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-162 l-283.5,281q-9,9.5 -22.5,9.5t-23-9.5l-45.5-45q-9.5-9.5 -9.5-22.75t 9.5-22.75l 286-283.5l-167.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 352,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,351 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"upleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,457.5l-45.5,45q-9.5,9.5 -23,9.5t-23-9.5l-283-281.5l0,162.5 q0,13.5 -9.5,22.75t-22.5,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-351.5 q0-13.5 9.25-22.75t 22.75-9.25l 352,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5l-167,0 l 285.5,284q 9.5,9.5 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"up\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 278.5,10l 224,226q 9.5,9.5 9.5,22.75t-9.5,22.75l-45,45.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-92-92.5l0,245.5 q0,13.5 -9.25,22.75t-22.75,9.25l-63.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-246 l-92.5,93q-9.5,9.5 -22.75,9.5t-22.75-9.5l-45-45.5q-9.5-9.5 -9.5-22.75t 9.5-22.75l 224-226q 9-9.5 22.5-9.5\nt 22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"downright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,97l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,162 l-283.5-281q-9-9.5 -22.5-9.5t-23,9.5l-45.5,45q-9.5,9.5 -9.5,22.75t 9.5,22.75l 286,284l-167.5,0 q-13,0 -22.5,9.25t-9.5,22.25l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 352,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-351.5 q0-13 -9.25-22.25t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"downleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 32,97l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,162.5 l 283-281.5q 9.5-9.5 23-9.5t 23,9.5l 45.5,45q 9.5,9.5 9.5,22.75t-9.5,22.75l-286,284l 167.5,0 q 13,0 22.5,9.25t 9.5,22.25l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-351 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"down\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 233.5,502.5l-224-225.5q-9.5-9.5 -9.5-23t 9.5-22.5l 45-46q 9.5-9.5 22.75-9.5t 22.75,9.5l 92,92.5l0-245.5 q0-13 9.25-22.5t 22.75-9.5l 63.5,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,246 l 92.5-93q 9.5-9.5 22.75-9.5t 22.75,9.5l 45,46q 9.5,9 9.5,22.5t-9.5,23l-224,225.5q-9,9.5 -22.5,9.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"queen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-64,224q-2.5,8.5 -25,18.25t-55,13.75q 13,30.5 34,47.25t 46,16.75q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5q 25,0 46-16.75t 34-47.25q-33.5-4 -55.5-13.25t-24.5-18.75l-64-224l 96,82.5l0-146.5 \nl 77,128l 51-160l 51,160l 77-128l0,146.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"king\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,416q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5q 29,0 53-26.5t 35-70q-50.5-3 -85.25-39.75t-34.75-87.75q0-53 37.5-90.5t 90.5-37.5q 16,0 32,4l0-36 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,36 q 16-4 32-4\nq 53,0 90.5,37.5t 37.5,90.5q0,51 -34.75,87.75t-85.25,39.75q 11,43.5 35,70t 53,26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"knight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 417,416q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5q 26,0 48-21.5t 35-58.25t 13-80.25q0-1.5 -0.25-4t-0.25-3.5l-47.5,40.5q-26,47 -66,22.5q-13.5-8 -14.25-31.25t 6-46.25t 16.25-40l 90-163q 7.5-13.5 20.25-21.75\nt 27.75-9.25l 16,0 q 64.5,0 112,41.25t 71.75,113.25t 24.25,165.5q-65.5,0 -96,48q 28,48 64,48zM 225,104q0-3.5 -2.5-5.75t-5.5-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3,0 5.5-2.25t 2.5-5.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rook\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5l 3,0 q 38-2 64.5-37.5t 28.5-90.5q-13.5-4 -22.75-14t-9.25-18q0-7 10-17.5t 22-14.5q-7.5-37 -26.75-66.5t-37.25-29.5q-13,0 -22.5-9.25t-9.5-22.75l0-32 l0-32 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-16 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,32 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25q-18,0 -37.25,29.5t-26.75,66.5q 12,4 22,14.5t 10,17.5q0,8 -9.25,18t-22.75,14\nq 2,55 28.5,90.5t 64.5,37.5l 3,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bishop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5q 30,0 54-28t 35-73.5q-26.5-4.5 -41.75-11.5t-15.25-15q0-12 32-21q-32-42.5 -32-91q0-25 15.5-57t 36.5-57.75t 42.5-43.5t 33.5-17.75t 33.5,17.75t 42.5,43.5t 36.5,57.75t 15.5,57q0,48.5 -32,91q 32,9 32,21q0,8 -15.25,15t-41.75,11.5\nq 11,45.5 35,73.5t 54,28q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,64q-8,0 -23.25,19.5t-28,47.75t-12.75,47.75q0,32 18.75,54.5t 45.25,22.5t 45.25-22.5t 18.75-54.5q0-19.5 -12.75-47.75t-28-47.75t-23.25-19.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pawn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5q 39.5,0 67.75-44.75t 28.25-115.25q-22.5,0 -43.25-11.25t-20.75-20.75q0-10.5 26-19q-26-34.5 -26-77q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,42.5 -26,77q 26,8.5 26,19q0,9.5 -20.75,20.75t-43.25,11.25\nq0,70.5 28.25,115.25t 67.75,44.75q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diamonds\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 32,256q 7-3.5 19.5-10.5t 46.25-32t 62.25-53.5q 18-18 34.25-41t 27-43.25t 19-37.75t 11.75-27.5l 4-10.5q 1,4 3.5,10.75t 11.5,26.75t 19.25,38.75t 27,42.25t 34.75,41.5q 28,28.5 60,52.5t 50,33.5l 17.5,10q-7,3.5 -19.5,10.75t-46.25,32t-61.75,53.25q-18,18 -34.5,41t-27.25,43.25t-19,37.75t-11.75,27.5\nl-3.5,10.5q-1.5-4 -4-10.75t-11.5-26.75t-19.25-38.75t-26.75-42.25t-34.5-41.5q-28.5-28.5 -60.75-52.5t-49.25-33.75t-18-9.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clubs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448q-56,0 -94-41.5q 3.5,47 11.75,76.25t 18.25,29.25l-128,0 q 10,0 18.25-29.25t 11.75-76.25q-38,41.5 -94,41.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 7,0 18.5,1.5q-18.5-30.5 -18.5-65.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,35 -18.5,65.5q 11.5-1.5 18.5-1.5q 53,0 90.5,37.5t 37.5,90.5\nt-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spades\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448q-56,0 -94-41.5q 3.5,47 11.75,76.25t 18.25,29.25l-128,0 q 10,0 18.25-29.25t 11.75-76.25q-38,41.5 -94,41.5q-53,0 -90.5-37.5t-37.5-90.5q0-39 14-74.5t 36.75-62t 50-49.75t 54.5-41.75t 50-34t 36.75-30.5t 14-27.5q0,12.5 14,27.5t 36.75,30.5t 50,34t 54.5,41.75t 50,49.75t 36.75,62t 14,74.5\nq0,53 -37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hearts\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q0-10 -8.75-21.5t-23.5-23.5t-34-26t-40.5-31.25t-42.5-37.25t-40.5-45.75t-34-54.5t-23.5-66t-8.75-78.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,41 -8.75,78.25t-23.5,66t-34,54.5t-40.5,45.75t-42.5,37.25t-40.5,31.25t-34,26t-23.5,23.5\nt-8.75,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bowling\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 95.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 192,64\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 256,192q-13.5,0 -22.75,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"racquet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 510.75,503.25q-8.75,8.75 -21,8.75t-21.25-8.5l-84.5-84.5q-9.5-10 -8-25l-18.5-18.5q-6.5-7 -11.5-11t-14.5-8.25t-20-4.25l-89,0 q-39.5,2 -79.5-14.25t-72-48.75q-37-36.5 -53-83t-8.25-90.5t 38.5-74.75t 74.75-38.5t 90.5,8.25t 83,53q 32.5,32 48.75,72t 14.25,79.5l0,89 q0,23 23.5,46l 18.5,18.5\nq 15-1.5 25,8l 84,84.5q 9,9 9,21.25t-8.75,21zM 276,84q-46-46 -105.5-51.25t-97.5,32.75t-32.75,97.5t 51.25,105.5t 105.5,51.25t 97.5-32.75t 32.75-97.5t-51.25-105.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"golf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-15t-93.25-40.75t-34.25-56.25t 34.75-56.25t 93.25-40.75l0,97 q0,20 14,34t 34,14t 34-14t 14-34l0-111 q 18.5-1 32-1q 69.5,0 128.5,15t 93.25,40.75t 34.25,56.25t-34.25,56.25t-93.25,40.75t-128.5,15zM 320,384q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25\nt 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 369.5,112l-131,80q-6,0 -10.25-4.75t-4.25-11.25l0-160 q0-6.5 4.25-11.25t 10.25-4.75l 131,80q 0.5,0.5 2.5,1.5t 2.75,1.5t 2.5,1.5t 2.25,1.75t 1.75,2t 1.75,2.25t 0.75,2.5t 0.25,3q0,6 -3.5,9t-11,7zM 176,416q-6.5,0 -11.25-4.75t-4.75-11.25l0-384 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,384 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pingpong\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 438,510l-131.5-153.5q-34,22 -72.75,26.75t-78.75-10t-73.5-48.25q-40-40 -60.25-93.5t-14.5-105.5t 39-85.5t 85.5-39.25t 105.75,14.5t 93,60.25q 34,33.5 48.75,73.5t 10,78.75t-26.25,72.75l 154,131q 5,5 -11.75,27.5t-38.25,40t-28.5,10.5zM 308,95q-33-33 -77.5-50t-88-12t-71.25,32.75\nt-32.75,71.25t 12,88t 50,77.5q 32,32 71,43.5l 180-180q-11.5-39 -43.5-71z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"axe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,481.5l-25.5,25.5q-5,5 -12.25,5t-12.75-5l-288.5-289q-8,18.5 -8,38q0,29.5 17,54q-24,10 -49,10q-53,0 -90.5-37.5t-37.5-90.5q0-24.5 10-48.5q 24.5,16.5 54,16.5q 20,0 38-8l-65-64.5q-5-5.5 -5-12.75t 5-12.25l 25.5-25.5q 5-5 12.25-5t 12.75,5l 64.5,65q 8-18.5 8-38\nq0-29.5 -16.5-54q 23.5-10 48.5-10q 53,0 90.5,37.5t 37.5,90.5q0,25 -10,49q-24.5-17 -54-17q-19.5,0 -38,8l 289,288.5q 5,5.5 5,12.75t-5,12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q 7,0 14,7l 50,50l0,7 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-7,0 l-50-50q-7-7 -7-14l0-42 l-128-128l-227,226.5q-4.5,7.5 -13,7.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-93.5 34.25-177.75t 95.75-150.25l-93-93l-21,21q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 q0-6.5 4.75-11.25\nt 11.25-4.75l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l-21.5,21.5l 93.5,93q 65.5-62 150-96.25t 178-34.25l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,8.5 -7.5,13l-227,227l 128,128l 42.5,0 l0,0 zM 33.5,457l 200.5-201l-60.5-60.5q-58.5,61 -96.25,129.75t-43.75,131.75zM 457,33.5q-63,6 -131.75,43.75t-130.25,96.25\nl 61,61z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sword\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,481.5l-25.5,25.5q-5,5 -12.25,5t-12.75-5l-89.5-90l-58.5,58.5q-4.5,5 -11.5,5t-12-5l-24-24q-5-5 -5-12t 5-11.5l 42.5-42.5l-295.5-295.5q-2-2.5 -3.75-5.25t-2.5-4.75t-1.25-4.75t-0.5-4.25l0-4 l0-3 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l 3.5,0 l 3.75,0 t 4,0.5t 4.75,1.25t 4.75,2.5t 5.25,3.75l 295.5,295.5l 42.5-42.5\nq 4.5-5 11.5-5t 12,5l 24,24q 5,5 5,12t-5,12l-58.5,58l 90,89.5q 5,5.5 5,12.75t-5,12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"americanfootball\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 176,512q-66,0 -144-32q-32-78 -32-144q0-72 25.25-134.5t 69.5-106.75t 106.75-69.5t 134.5-25.25q 66,0 144,32q 32,78 32,144q0,72 -25.25,134.5t-69.5,106.75t-106.75,69.5t-134.5,25.25zM 39,258.5q-7,34 -7,67.5q0,25.5 7.5,59q 35.5,52 87.5,87.5q 33.5,7.5 59,7.5q 33.5,0 67.5-7\nq-82-18.5 -139-75.5t-75.5-139zM 229.25,165.25q-5.25,5.25 -5.25,12.5t 5.5,12.75l 33.5,33.5l-38.5,38.5l-34-33.5q-5-5.5 -12.5-5.5t-12.75,5.5t-5.25,12.75t 5.5,12.75l 33.5,33.5l-38.5,38.5l-34-33.5q-5-5.5 -12.5-5.5t-12.75,5.5t-5.25,12.75t 5.5,12.75l 33.5,33.5l-1.5,1.5q-5,5 -5,12.5t 5.25,12.75t 12.5,5.25\nt 12.75-5.5l 1.5-1l 33.5,33q 5,5.5 12.5,5.5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 39-38.5l 33.5,33.5q 5,5 12.5,5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 39-38.5l 33.5,33.5q 5,5 12.5,5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 38.5-39l 34,34q 5,5 12.5,5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 1.5-2\nq 5.5-5 5.5-12.5t-5.25-12.75t-12.75-5.25t-12.5,5.5l-2,1.5l-33.5-33.5q-5-5 -12.5-5t-12.75,5.25t-5.25,12.5t 5.5,12.75l 33.5,33.5l-39,38.5l-33.5-33.5q-5-5 -12.5-5t-12.75,5.25zM 472.5,127q-35.5-52 -87.5-87.5q-33.5-7.5 -59-7.5q-33.5,0 -67.5,7q 82,18.5 139,75.5t 75.5,139q 7-34 7-67.5\nq0-25.5 -7.5-59z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"football\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 433,119.5q-34.5-45 -87.5-68.5l-89.5,45l-89.5-45q-53,23.5 -88,68.5l 17.5,8.5\nl0,96 l-63,47.5q 4,61.5 39.5,112.5l 87.5,0 l 32,80l0,6.5 q 31.5,9.5 64,9.5t 64-9.5l0-6.5 l 32-80l 87.5,0 q 35.5-51 39.5-112.5l-63-47.5l0-96 zM 206.5,319.5l-30.5-88.5l 80-55l 80,55l-30.5,88.5l-99,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tennis\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q 69.5,0 128.5-34.25t 93.25-93.25t 34.25-128.5q 69.5,0 128.5,34.25t 93.25,93.25t 34.25,128.5q-69.5,0 -128.5,34.25t-93.25,93.25t-34.25,128.5zM 2,224q 11-87 73-149t 149-73q-0.5,60 -30.25,111t-80.75,80.75t-111,30.25zM 510,288\nq-11,87 -73,149t-149,73q 0.5-60 30.25-111t 80.75-80.75t 111-30.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"basketball\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 342.5,320.5l-64-64.5l 169-169.5q 31,35 47.75,78.25t 16.75,91.25q-48,0 -91.25,17t-78.25,47.5zM 191.5,169.5q 31-35 47.75-78.25t 16.75-91.25q 48,0 91.25,17t 78.25,47.5l-169.5,169zM 87,64.5q 59-52.5 137-62q-1,82 -55,144zM 146.5,169q-62,54 -144.5,55q 10-78 62.5-137z\nM 233.5,256l-169,169.5q-30.5-35 -47.5-78.25t-17-91.25q 48,0 91.25-16.75t 78.25-47.75zM 320.5,342.5q-31,35 -47.75,78.25t-16.75,91.25q-48,0 -91.25-16.75t-78.25-47.75l 169.5-169zM 425,447.5q-59,52.5 -137,62.5q 1-82 55-144.5zM 510,288q-10,78 -62.5,137l-82-82q 62-54 144.5-55z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medalbronze\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-39.5-43.5 -96.5-57l 76.5-134q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 324.5,304q0-25 -17.5-36.75\nt-46.5-11.75l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.5t 11.25,4.75l 48,0 q 1.5,0 4.5-0.5q 7.5,0 11,0.25t 8.25,1.75t 6.5,5t 1.75,9.25t-1.75,9.25t-6.5,5t-8.25,1.75t-11,0.25l-4.5,0 l-16,0 q-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 16,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-48,0 l0,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l0,0 l 48,0 q 26.5,0 45.25-18.75t 18.75-45.25q0-29 -22-48q 3-2.5 8.75-7t 7.75-6.5t 3.75-7t 1.75-11.5zM 9,31.5q-7.5-13 -3-22.5t 18-9.5l 64.5,0 q 13.5,0 28,9.5t 22,22.5l 76.5,134q-57,13.5 -96.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medalsilver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-39.5-43.5 -96.5-57l 76.5-134q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 260.5,384q 26.5,0 45.25-18.75\nt 18.75-45.25t-18.75-45.5t-45.25-19t-45.25,19t-18.75,45.5q0,6.5 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5q-26.5,0 -45.25,18.75t-18.75,45.25l0,16 q0,6.5 4.5,11.25t 11.5,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nl-80,0 q0-13.5 9.25-22.75t 22.75-9.25zM 9,31.5q-7.5-13 -3-22.5t 18-9.5l 64.5,0 q 13.5,0 28,9.5t 22,22.5l 76.5,134q-57,13.5 -96.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medalgold\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-39.5-43.5 -96.5-57.5l 76.5-133.5q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 308.5,416l-16,0 l0-96.5 \nq0-26.5 -18.75-45.25t-45.25-18.75l0,0.5 l0-0.5 q-7,0 -11.5,4.75t-4.5,11.5t 4.5,11.5t 11.5,4.75l0-0.5 q 13.5,0.5 22.75,9.75t 9.25,22.25l0,96.5 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 9,31.5q-7.5-13 -3-22.5t 18-9.5l 64.5,0 q 13.5,0 28,9.5t 22,22.5\nl 76.5,133.5q-57,14 -96.5,57.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-40-43.5 -96.5-57l 76.5-134q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 9,31.5q-7.5-13 -3-22.5t 18-9.5\nl 64.5,0 q 13.5,0 28,9.5t 22,22.5l 76.5,134q-57,13.5 -96.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"warmedal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.5,212.5l-47,47q-15.5-28 -40.5-50l0-209.5 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,160 q0,12 -8.5,20.5zM 256,512q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 296.5,303l-40.5-84\nl-40.5,84l-94,11.5l 69,63.5l-17.5,91l 83-45l 83,45l-17.5-91l 69-63.5zM 320,0l 32,0 l0,186 q-15.5-8.5 -32-14.5l0-171.5 zM 160,0l 32,0 l0,171.5 q-17,6 -32,14.5l0-186 zM 87.5,259.5l-47-47q-8.5-8.5 -8.5-20.5l0-160 q0-13 9.5-22.5t 22.5-9.5l 64,0 l0,209.5 q-25,22 -40.5,50z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifefull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,144q0,29 -17.5,77.25t-47,93.25q-17.5,27.5 -27.75,43.25t-26.75,39.5t-28,37.75t-26.75,30.5t-27.75,25.5t-26.75,15t-27.75,6t-27.75-6.25t-26.75-15.25t-28-25.75t-27-30.75t-28-37.75t-26.75-39.25t-27.25-42.5q-31-47.5 -47.75-94.25t-16.75-76.25l0,0 q0-59.5 42.25-101.75t 101.75-42.25\nq 33.5,0 62.5,14.25t 49.5,39.25q 20-25 49.25-39.25t 62.75-14.25q 59.5,0 101.75,42.25t 42.25,101.75l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifehalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,144q0,29 -17.5,77.25t-47,93.25q-17.5,27.5 -27.75,43.25t-26.75,39.5t-28,37.75t-26.75,30.5t-27.75,25.5t-26.75,15t-27.75,6t-27.75-6.25t-26.75-15.25t-28-25.75t-27-30.75t-28-37.75t-26.75-39.25t-27.25-42.5q-31-47.5 -47.75-94.25t-16.75-76.25l0,0 q0-59.5 42.25-101.75t 101.75-42.25\nq 33.5,0 62.5,14.25t 49.5,39.25q 20-25 49.25-39.25t 62.75-14.25q 59.5,0 101.75,42.25t 42.25,101.75l0,0 zM 368,64q-20.5,0 -42.5,14.25t-37.5,33.75q-1.5,2 -5.75,9t-7,11.25t-8.25,8t-11,3.75l0,304 q 11.5,0 23-5.75t 20.5-14.25t 20.5-24t 19.75-28.25t 21.75-33.75l 22.5-35q 29.5-43.5 48-88t 16-75q0-33 -23.5-56.5\nt-56.5-23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifeempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,144q0,29 -17.5,77.25t-47,93.25q-17.5,27.5 -27.75,43.25t-26.75,39.5t-28,37.75t-26.75,30.5t-27.75,25.5t-26.75,15t-27.75,6t-27.75-6.25t-26.75-15.25t-28-25.75t-27-30.75t-28-37.75t-26.75-39.25t-27.25-42.5q-31-47.5 -47.75-94.25t-16.75-76.25l0,0 q0-59.5 42.25-101.75t 101.75-42.25\nq 33.5,0 62.5,14.25t 49.5,39.25q 20-25 49.25-39.25t 62.75-14.25q 59.5,0 101.75,42.25t 42.25,101.75l0,0 zM 368,64q-20.5,0 -42.5,14.25t-37.5,33.75q-1.5,2 -5.75,9t-7,11.25t-8.25,8t-11,3.75t-11-3.75t-8.25-7.75t-7.25-11.25t-5.5-9.25q-15.5-19.5 -37.5-33.75t-42.5-14.25q-33,0 -56.5,23.5t-23.5,56.5\nq-2.5,30.5 16,75t 48,88q 9,13.5 22.25,34.5t 21.5,33.75t 19.75,28.25t 20.75,24t 20.75,14.5t 23,6t 23-5.75t 20.5-14.25t 20.5-24t 19.75-28.25t 21.75-33.75l 22.5-35q 29.5-43.5 48-88t 16-75q0-33 -23.5-56.5t-56.5-23.5zM0,144zM0,144z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"starfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 453,314q-23,23 -44,39q 3.5,18 6,35.5q 4,34 4.5,56.75t-3.75,38.5t-12.75,22.25t-24,5.75t-35.75-8.25t-49.75-22q-17.5-9 -34.5-19.5q-16,10 -34.5,19.5q-29.5,14.5 -49.75,22t-35.75,8.25t-24-5.75t-12.75-22.25t-3.75-38.5t 4.5-56.75q 2.5-17 6-35.5q-21-16 -44-39q-24-24 -38.25-41.75t-20-32.75\nt-2.25-25.5t 17.5-19.5t 36.25-15.25t 57.25-12.75q 24.5-4 45.5-6q 8.5-20.5 21-43.5q 16-29.5 28.5-47.75t 25-28t 23.5-9.75t 23.5,9.75t 25,28t 28.5,47.75q 12.5,23 21,43.5q 21,2 45.5,6q 35,6.5 57.25,12.75t 36.25,15.25t 17.5,19.5t-2.25,25.5t-20,32.75t-38.25,41.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"starhalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 453,314q-23,23 -44,39q 3.5,18 6,35.5q 4,34 4.5,56.75t-3.75,38.5t-12.75,22.25t-24,5.75t-35.75-8.25t-49.75-22q-17.5-9 -34.5-19.5q-16,10 -34.5,19.5q-29.5,14.5 -49.75,22t-35.75,8.25t-24-5.75t-12.75-22.25t-3.75-38.5t 4.5-56.75q 2.5-17.5 6-35.5q-21.5-16 -44-39q-24-24 -38.25-41.75t-20-32.75\nt-2.25-25.5t 17.5-19.5t 36.25-15.25t 57.25-12.75q 24.5-4 45.5-6q 8.5-21 21-43.5q 16-29.5 28.5-47.75t 25-28t 23.5-9.75t 23.5,9.75t 25,28t 28.5,47.75q 12.5,23 21,43.5q 21,2 45.5,6q 35,6.5 57.25,12.75t 36.25,15.25t 17.5,19.5t-2.25,25.5t-20,32.75t-38.25,41.75zM 378,226.5q-34-3 -58.5-2.5q-5-21.5 -16.5-48.5\nq-13.5-33 -24-48.5t-20-15.5l0,289 q 13.5,9.5 36.5,22.5l 7.5,4.5q 10.5,6 15.25,8.75t 12,6t 9.75,4.75t 6.75,1t 5-1.25t 2.25-5.25t 1.25-7.75t-0.5-12.5t-1-15.5t-2.25-20.25q-1-6.5 -1-9.5q-4.5-39.5 -13.5-61q 17.5-5.5 53-24q 15-8.5 24.75-14t 19-11.5t 12.5-9.75t 4.5-8t-3.25-7t-13.25-5.5t-22.75-4.75t-33.5-4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"starempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 453,314q-23,23 -44,39q 3.5,18 6,35.5q 4,34 4.5,56.75t-3.75,38.5t-12.75,22.25t-24,5.75t-35.75-8.25t-49.75-22q-17.5-9 -34.5-19.5q-16,10 -34.5,19.5q-29.5,14.5 -49.75,22t-35.75,8.25t-24-5.75t-12.75-22.25t-3.75-38.5t 4.5-56.75q 2.5-17.5 6-35.5q-21.5-16 -44-39q-24-24 -38.25-41.75t-20-32.75\nt-2.25-25.5t 17.5-19.5t 36.25-15.25t 57.25-12.75q 24.5-4 45.5-6q 9-21 21-43.5q 16-29.5 28.5-47.75t 25-28t 23.5-9.75t 23.5,9.75t 25,28t 28.5,47.75q 12.5,23 21,43.5q 21,2 45.5,6q 35,6.5 57.25,12.75t 36.25,15.25t 17.5,19.5t-2.25,25.5t-20,32.75t-38.25,41.75zM 378,226.5q-34-3 -58.5-2.5q-5-21.5 -16.5-48.5\nq-13.5-33 -23.5-48.25t-20.5-15.25t-20.5,15.25t-23.5,48.25q-11,27 -16,48.5q-25-0.5 -59,2.5q-19.5,2 -33.5,4t-22.75,4.75t-13.25,5.5t-3.25,7t 4.5,8t 12.5,9.75t 19,11.5t 24.75,14q 36,19 53,24.5q-9,21.5 -13,60.5q-0.5,3 -1.5,9.5q-1.5,14 -2.25,20.25t-1,15.5t-0.5,12.5t 1.25,7.75t 2.25,5.25\nt 5,1.25t 6.75-1t 9.75-4.75t 12-6t 15.25-8.75l 7.5-4.5q 23-13 36.5-22.5q 13.5,9.5 36.5,22.5q 2.5,1.5 7,4.5q 11,6 15.75,8.75t 12,6t 9.75,4.75t 6.75,1t 5-1.25t 2.25-5.25t 1.25-7.75t-0.5-12.5t-1-15.5t-2.25-20.75q-1-6 -1-9q-4.5-39.5 -13.5-61q 17.5-5.5 53-24q 15-8.5 24.75-14t 19-11.5t 12.5-9.75t 4.5-8t-3.25-7\nt-13.25-5.5t-22.75-4.75t-33.5-4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"steam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,288l-5.5,0 l-123.5,85q 1,9.5 1,11q0,40 -28,68t-67.75,28t-67.75-28t-28-68q0-20.5 9-40l-64-63.5q-9.5-10 -9.5-23.5t 9.75-23.25t 23.5-9.75t 23.25,9.5l 63.5,63.5q 19.5-9 40-9q 2,0 11.5,1l 85-123.5q0-0.5 -0.25-2.5t-0.25-3q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 160,320q-6.5,0 -15,2l 37,37.5q 5.5,5 8,13q 2,6 2,11.5q0,13.5 -9.25,22.75t-22.75,9.25q-3,0 -6.5-0.5q-10.5-2 -18-9.5l-37.5-37q-2,8 -2,15q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 384.25,64q-39.75,0 -68,28.25t-28.25,68t 28.25,67.75\nt 68,28t 67.75-28t 28-67.75t-28-68t-67.75-28.25zM 384,224q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bomb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471,116q 9,9 9,21.75t-9,22.25l-19.5,19q 28.5,51 28.5,109q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75t-87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75q 58,0 108.5,28l 19-19.5q 9.5-9 22.25-9t 21.75,9l 12.5,12.5q 8-9 8-21\nq0-13 -9.5-22.5t-22.5-9.5q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75q 26.5,0 45.25,18.75t 18.75,45.25q0,25 -17.5,44zM 281.25,134.25q-27.75-27.75 -73.5-21.25t-82.75,43.75t-43.5,83.25t 21.25,73.75t 73.5,21.25t 82.75-43.75t 43.5-83.25t-21.25-73.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pacman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,256l 192.5,168.5q-36,41 -86,64.25t-106.5,23.25q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 56.5,0 106.5,23.25t 86,64.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ghost\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 459,505.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-47.5-57.5l-11.5,0 l-47.5,57.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-47.5-57.5l-11.5,0 l-47.5,57.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-47.5-57.5l-11.5,0 l-47.5,57.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-21.5-26l0-255.5 q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75\nt 47.75,71.5t 17.75,87l0,256 zM 256,160q0-13.5 -9.25-22.75t-22.75-9.25l-96,0 q-13,0 -22.5,9.25t-9.5,22.75l0,96 q0,13 9.5,22.5t 22.5,9.5l 96,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-96 zM 448,160q0-13.5 -9.25-22.75t-22.75-9.25l-96,0 q-13,0 -22.5,9.25t-9.5,22.75l0,96 q0,13 9.5,22.5t 22.5,9.5l 96,0 \nq 13.5,0 22.75-9.5t 9.25-22.5l0-96 zM 400,256l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,256l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boardgame\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,480q0,13.5 -9.5,22.75t-22.5,9.25l-256,0 q-13,0 -22.5-9.25t-9.5-22.75q0-26.5 10-50.5t 24-42.75l 28-37.5t 24-42.75t 10-50.5q0-9 -2-18.5q-28.5-17 -45.25-46.25t-16.75-63.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,34 -16.75,63.25t-45.25,46.25q-2,9 -2,18.5q0,26.5 10,50.5t 24,42.75\nl 28,37.5t 24,42.75t 10,50.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"die\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45t 45.25-18.5l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 144,352q-20,0 -34,14t-14,34t 14,34t 34,14\nt 34-14t 14-34t-14-34t-34-14zM 272,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34\nt-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trophy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,160q0,43.5 -21.5,80.5t-58.25,58.25t-80.25,21.25l-16,0 q-48,21.5 -48,64q0,51 40,69.5q 26,4.5 41,11.5t 15,15q0,13.5 -37.5,22.75t-90.5,9.25t-90.5-9.25t-37.5-22.75q0-8 15-15t 41-11.5q 40-18.5 40-69.5q0-42.5 -48-64l-16,0 q-43.5,0 -80.25-21.25t-58.25-58.25t-21.5-80.5\nq0-48 26.25-83t 70.25-50q-0.5-15.5 -0.5-27l 320,0 q0,12 -0.5,27q 44,15 70.25,50t 26.25,83zM 102.5,94q-38.5,21.5 -38.5,66q0,38.5 26.75,66.25t 64.75,29.25q-39-60.5 -53-161.5zM 285,96.5l-29-64.5l-29,64.5l-67,9l 49.5,48.5l-13,70l 59.5-34l 59.5,34l-13-70l 49.5-48.5zM 409.5,94\nq-14,101 -53,161.5q 38-1.5 64.75-29.25t 26.75-66.25q0-44.5 -38.5-66z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"podium\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-160 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,352q 6.5,0 11.25-4.75t 4.75-11.25l0-64 \nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 l0-32 l 48,0 zM 288,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,112 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-128 zM 448,368l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75\nl 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"joystickatari\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 128,0 q0-13 9.25-22.5t 22.75-9.5l0-256 q0-10 10.25-21t 21.75-11l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5l-32,64l0,192 q 13.5,0 22.75,9.5t 9.25,22.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 255.75,0\nq 13.25,0 22.75,9.5t 9.5,22.5l-64,0 q0-13 9.25-22.5t 22.5-9.5zM 64,320l 32,0 q 13,0 22.5,9.5t 9.5,22.5l-96,0 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"joystickarcade\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 128,0 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-166 q-28.5-10 -46.25-34.5t-17.75-55.5q0-39.5 28-67.75t 68-28.25t 68,28t 28,68q0,31 -17.75,55.5t-46.25,34.5l0,166 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75\nt-22.5,9.25zM 64,320l 32,0 q 13,0 22.5,9.5t 9.5,22.5l-96,0 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"controllersnes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,384q-48,0 -84.5-32l-87,0 q-36.5,32 -84.5,32q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5l 256,0 q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 192,224l-32,0 l0-32 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,32 l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.5t 22.75,9.5l 32,0 l0,32 \nq0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-32 l 32,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25zM 351.75,256q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 415.75,192q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5\nt-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"controllernes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,192 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,224l-32,0 l0-32 q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.5t-9.5,22.5l0,32 l-32,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 32,0 l0,32 q0,13.5 9.5,22.75t 22.75,9.25\nt 22.5-9.25t 9.25-22.75l0-32 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 352.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 448.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"controllerps\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320q0,25 -2.5,47t-8,40.75t-15.25,29.5t-22.25,10.75q-25.5,0 -48.5-19t-31.5-45q-21.5-64 -128-64t-128,64q-8.5,26 -31.5,45t-48.5,19q-12.5,0 -22.25-10.75t-15.25-29.5t-8-40.75t-2.5-47q0-23 4.75-50.75t 15-59.25t 30-58.25t 46.25-39.75l0-16 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 \nq 13,0 22.5,9.25t 9.5,22.75l 128,0 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,16 q 26.5,13 46.25,39.75t 30,58.25t 15,59.25t 4.75,50.75zM 144,192l-16,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,16 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 352,224q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25zM 384,191.75q0,13.25 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25\nt-22.5,9.25t-9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gamecursor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,352l-128,0 l0,128 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 128,0 l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5z\nM 96,192l-64,64l 64,64l0-128 zM 256,32l-64,64l 128,0 zM 224,255.75q0,13.25 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25t-22.5,9.25t-9.5,22.5zM 192,416l 64,64l 64-64l-128,0 zM 416,192l0,128 l 64-64z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psr2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-48,0 l0,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 \nq 13,0 22.5,9.25t 9.5,22.75l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 q0-29 -22-48q 22-19 22-48l0-32 zM 352,288q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,6.5 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.5-9.25\nt 22.75,9.5t 9.5,22.5l0,32 q0,13 -9.25,22.5t-22.75,9.5q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,6.5 4.5,11.25t 11.5,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-72,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-24 q0-13.5 9.25-22.75t 22.75-9.25zM 160,256l-32,0 l0-96 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psr1\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-48,0 l0,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 \nq 13,0 22.5,9.25t 9.5,22.75l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 q0-29 -22-48q 22-19 22-48l0-32 zM 400,352l-16,0 l0-160 q0-26.5 -18.75-45.25t-45.25-18.75l0,0 q-7,0 -11.5,4.75t-4.5,11.25t 4.5,11.25t 11.5,4.75l0,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 160,256l-32,0 l0-96 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psl2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 208,352l-80,0 l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,223.5 l0,0.5 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 352,288q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.5t 9.25,22.5l0,32 q0,13 -9.25,22.5t-22.75,9.5q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 \nq0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-72,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-24 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psl1\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 208,352l-80,0 l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,223.5 l0,0.5 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 400,352l-16,0 l0-160 q0-26.5 -18.75-45.25t-45.25-18.75l0,0 q-7,0 -11.5,4.75t-4.5,11.25t 4.5,11.25t 11.5,4.75l0,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 361.5,421.5l 15-25q 5-6 5.25-16.5t-5.25-19t-16-8.5l-209-0.5q-10,0 -15.75,8.5t-5.5,19t 5.25,17l 15.5,25q-54-28.5 -86.5-81.5t-32.5-116q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,63 -32.25,115.75t-86.25,81.75zM 331.5,384\nq 4.5,6.5 4.5,15.5t-4.5,15l-64.5,91q-4.5,6.5 -10.75,6.5t-10.75-6.5l-65-91q-4-6.5 -4-15.25t 4-15.25l 151,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-63 32.5-116t 86.5-81.5l-15.5,25q-5,6.5 -5.25,17t 5.5,19t 15.75,8.5l 209-0.5q 10.5,0 16-8.5t 5.25-19t-5.25-16.5l-15-25q 54,29 86.25,81.75t 32.25,115.75q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75zM 180.5,128\nq-4.5-6.5 -4.5-15.25t 4.5-15.25l 65-91q 4.5-6.5 10.75-6.5t 10.75,6.5l 64.5,91q 4.5,6 4.5,15t-4.5,15.5l-151,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,266.5l-91,65q-6.5,4.5 -15.25,4.5t-15.25-4.5l0-151 q 6.5-4.5 15.5-4.5t 15,4.5l 91,64.5q 6.5,4.5 6.5,10.75t-6.5,10.75zM 352,151.5l0,209 q0,10 8.5,15.75t 19,5.5t 17-5.25l 25-15.5q-28.5,54 -81.5,86.5t-116,32.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75\nt 87-17.75q 63,0 115.75,32.25t 81.75,86.25l-25-15q-6-5 -16.5-5.25t-19.25,5.25t-8.75,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,480q-63,0 -116-32.5t-81.5-86.5l 25,15.5q 6.5,5 17,5.25t 19-5.5t 8.5-15.75l-0.5-209q0-10.5 -8.5-16t-19-5.25t-16.5,5.25l-25,15q 29-54 81.75-86.25t 115.75-32.25q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75zM 128,180.5l0,151 \nq-6.5,4.5 -15.25,4.5t-15.25-4.5l-91-65q-6.5-4.5 -6.5-10.75t 6.5-10.75l 91-64.5q 6-4.5 15-4.5t 15.5,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 486,209l-147.5-140q-11-11.5 -35.5-24.25t-39.5-12.75l-188,0 q-31.5,0 -53.5,21.75t-22,52.75l0,299 q0,31 22,52.75t 53.5,21.75l 188,0 q 15,0 41-12.5t 34-25l 147.5-139.5q 26-20 26-47t-26-47z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 303,26l 139.5,147.5q 11.5,11 24.25,35.5t 12.75,39.5l0,188 q0,31.5 -21.75,53.5t-52.75,22l-298.5,0 q-31,0 -52.75-22t-21.75-53.5l0-188 q0-15 12.5-41t 25-34l 139.5-147.5q 20-26 47-26t 47,26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 26,209l 147.5-140q 11-11.5 35.5-24.25t 39.5-12.75l 188.5,0 q 31,0 53,21.75t 22,52.75l0,299 q0,30.5 -22,52.5t-53,22l-188.5,0 q-15,0 -41-12.5t-34-25l-147.5-139.5q-26-20 -26-47t 26-47z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 201,486.5l-131.5-148q-12-11.5 -24.75-36t-12.75-39.5l0-188 q0-31 22-53t 52.5-22l 299,0 q 31,0 52.75,22t 21.75,53l0,188 q0,15.5 -12.5,41.25t-24.5,34.25l-132,148q-23.5,25.5 -55,25.5t-55-25.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pscursor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,352l-80,0 q-6.5,0 -16.75-5.5t-15.25-10.5l-64-64q-9.5-9.5 -9.5-16t 9.5-16l 64-64q 3.5-5.5 14.5-10.75t 17.5-5.25l 80,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5zM 336,144l-64,64q-9.5,9.5 -16,9.5t-16-9.5l-64-64q-5-5 -10.5-15.25t-5.5-16.75l0-80 q0-13.5 9.5-22.75t 22.5-9.25\nl 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,80 q0,6.5 -5.25,17.5t-10.75,14.5zM 208,272l-64,64q-5,5 -15.25,10.5t-16.75,5.5l-80,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 80,0 q 6.5,0 17.5,5.25t 14.5,10.75l 64,64q 9.5,9.5 9.5,16t-9.5,16zM 240,304q 9.5-9.5 16-9.5t 16,9.5l 64,64\nq 5.5,3.5 10.75,14.5t 5.25,17.5l0,80 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-80 q0-6.5 5.5-16.75t 10.5-15.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttony\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 368,100q-11.5-6 -24.25-3t-19.25,13.5l-68.5,95.5l-68.5-95.5q-6.5-10.5 -19.25-13.5t-24.25,3t-15,17.5t 3.5,21.5l 91.5,128.5l0,116.5 \nq0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-116.5 l 91.5-128.5q 7-10 3.5-21.5t-15-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttonx\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 379.5,139q 7-10 3.5-21.5t-15-17.5t-24.25-3t-19.25,13.5l-68.5,93.5l-68.5-93.5q-6.5-10.5 -19.25-13.5t-24.25,3t-15,17.5t 3.5,21.5\nl 85.5,117l-85.5,117q-7,10 -3.5,21.5t 15,17.5t 24.25,3t 19.25-13.5l 68.5-93.5l 68.5,93.5q 6.5,10.5 19.25,13.5t 24.25-3t 15-17.5t-3.5-21.5l-85.5-117z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttonb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 339,239q 13-22.5 13-47q0-40 -28-68t-68-28l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,256 q0,13 9.5,22.5t 22.5,9.5l 128,0 \nq 40,0 68-28t 28-68q0-25 -12-46.5t-33-34.5zM 288,352l-96,0 l0-64 l 96,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 256,224l-64,0 l0-64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttona\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 411.5,371l-126-256.5q-10.5-18.5 -29.5-18.5q-18.5,0 -27.5,15l-128,260q-7,11 -3.5,23t 15,18t 24.25,3t 19.25-14l 24.5-49l 152,0 \nl 24.5,49q 6.5,11 19.25,14t 24.25-3t 15-18t-3.5-23zM 211.5,288l 44.5-90.5l 44.5,90.5l-89,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttonx\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 379.25,132.75q-5.25-5.25 -12.75-5.25t-12.5,5l-98,98l-97.5-97.5\nq-5-5 -12.5-5t-12.75,5.25t-5.25,12.5t 5.5,12.75l 97,97.5l-97,97q-5.5,5.5 -5.5,13t 5.25,12.75t 12.75,5.25t 13-5.5l 97-97l 97.5,97q 5,5.5 12.5,5.5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-97-97.5l 97.5-98q 5.5-5 5.5-12.5t-5.25-12.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttontriangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 272,104.5q-9.5-9 -16-9t-16,9l-144,248.5q0,11 2.25,17.75t 7.5,9.25\nt 9.5,3.25t 12.75,0.75l 256,0 q 8,0 12.75-0.75t 9.75-3.5t 7.25-9.5t 2.25-17.25zM 256,144l 128,208l-256,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttonsquare\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 384,160q0-13.5 -9.5-22.75t-22.5-9.25l-192,0 q-13,0 -22.5,9.25t-9.5,22.75l0,192 \nq0,13 9.5,22.5t 22.5,9.5l 192,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-192 zM 160,160l 192,0 l0,192 l-192,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttoncircle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,96q-43.5,0 -80.25,21.25t-58.25,58.25t-21.5,80.5t 21.5,80.25\nt 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.5t-58.25-58.25t-80.25-21.25zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firstaid\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-32 q0-40 28-68t 68-28l 64,0 q 40,0 68,28t 28,68l0,32 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,96q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25\nt-9.25,22.75l0,32 l 128,0 l0-32 zM 352,288l-64,0 l0-64 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,64 l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 64,0 l0,64 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-64 l 64,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bed\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 160,160l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-16 q0-25 17.5-36.5t 46.5-11.5q 19,0 48.5,8.25t 54.5,23.75t 25,32q0,13.5 -9.25,22.75t-22.75,9.25z\nM 128,352l0,64 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 l 64,0 zM 448,352l0,64 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 l 64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plaque\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q0-40 -28.25-68t-67.75-28l0-320 q 40,0 68-28t 28-68l 320,0 q0,40 28,68t 68,28l0,320 q-40,0 -68,28t-28,68zM 448,128q-26.5,0 -45.25-18.75t-18.75-45.25l-256,0 q0,26.5 -18.75,45.25t-45.25,18.75l0,256 q 26.5,0 45.25,18.75t 18.75,45.25l 256,0 q0-26.5 18.75-45.25t 45.25-18.75l0-256 \nzM 352,416l-192,0 q-5-23.5 -22.75-41.25t-41.25-22.75l0-192 q 23.5-5 41.25-22.75t 22.75-41.25l 192,0 q 5,23.5 22.75,41.25t 41.25,22.75l0,192 q-23.5,5 -41.25,22.75t-22.75,41.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"extinguisher\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439,30l-121,49.5q-2.5,9 -7,16.5l 121,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-144,0 l0,36 q 42,11 69,45.5t 27,78.5l0,64 l0,128 q0,13.5 -9.5,22.75t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 l0-64 q0-44 27-78.5t 69-45.5l0-36 l-64,0 l0,0 q-26.5,0 -45.25,18.75t-18.75,45.25\nl0,256 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-256 q0-53 37.5-90.5t 90.5-37.5l0,0 l 32,0 q0-26.5 18.75-45.25t 45.25-18.75q 21,0 37.75,12.5t 23.25,32.5l 104-43q 6.5-3 13.75-1.25t 10.75,7.25t 1.75,12t-8.25,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-31.5 9.25-61.25t 24.25-48.25t 30.5-18.5q 13.5,0 22.75-9.25t 9.25-22.5t-7.5-33.25q-10.5-2.5 -17.5-11.25t-7-19.75q0-13 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5q0,11 -7,19.75t-17.5,11.25q-7.5,20 -7.5,33q0,13.5 9.25,22.75t 22.75,9.25\nq 15.5,0 30.5,18.5t 24.25,48.25t 9.25,61.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,277.5q0-36 -8-60.75t-24-24.75q-19.5,0 -41.75-17.25t-22.25-30.75l0-80 l-128,0 l0,80 q0,13.5 -22.25,30.75t-41.75,17.25q-16,0 -24,25t-8,60.5l0,128 q0,17.5 13.5,30t 32,12.5l 229,0 q 18.5,0 32-12.5t 13.5-30l0-128 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eye2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-61,0 -115.5-29.25t-91.75-80.5t-48.75-114.25q 11.5-63 48.75-114.25t 91.75-80.5t 115.5-29.25t 115.5,29.25t 91.75,80.5t 48.75,114.25q-11.5,63 -48.75,114.25t-91.75,80.5t-115.5,29.25zM 256,96q-81,0 -144.75,45.75t-79.25,114.25q 15.5,69 79.25,114.5t 144.75,45.5t 144.75-45.5\nt 79.25-114.5q-15.5-68.5 -79.25-114.25t-144.75-45.75zM 256,384q-53,0 -90.5-37.5t-37.5-90.5q0-30 13.5-57l 29,14.5q-10.5,21 -10.5,42.5q0,40 28,68t 67.75,28t 68-28t 28.25-67.75t-28.25-68t-67.75-28.25q-22,0 -43,10.5l-14-28.5q 27-14 57-14q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 227.5,199q 14-7 28.5-7q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-14.5 7-28.5l 57,28.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alert2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.5-22.75t 22.5-9.25l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 418.5,135q-9,9 -21.25,9t-20.75-8.75t-8.5-21t 8.5-21.25l 21-20.5q 8.5-9 20.75-9t 21,8.75t 8.75,21t-8.5,20.75zM 384,400q0,6.5 -4.75,11.25t-11.25,4.75l-224,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-144 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,144 zM 256.25,96q-13.25,0 -22.75-9.5t-9.5-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.5,9.5zM 93.5,135l-20.5-21q-9-8.5 -9-20.75t 8.75-21t 21-8.75t 20.75,9l 21,20.5\nq 8.5,9 8.5,21.25t-8.5,20.75t-20.75,8.5t-21.25-8.5zM 96,255.75q0,13.25 -9.25,22.75t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5zM 32,448l 448,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hamburger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-448,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 448,192l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-41 60.5-68.5t 163.5-27.5t 163.5,27.5t 60.5,68.5q0,13.5 -9.5,22.75t-22.5,9.25zM 32,320l 448,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75\nt-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25zM 64,416l 384,0 q 13,0 22.5,9.25t 9.5,22.75q0,23 -36,27.5t-188,4.5t-188-4.5t-36-27.5q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wrench2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128.5,256q 28.5,0 61-18.5l 84.5,84l 0.5,0.5q-18.5,33 -18.5,61.5q0,52 38,89.5t 90,39l0-20 l-41-38.5q-23-22.5 -23-55t 23-55.5t 55.5-23t 55,23l 38.5,41l 20,0 q-1.5-52 -39-90t-89.5-38q-28.5,0 -61.5,18.5l-84-84l-0.5-0.5q 18.5-33 18.5-61.5q0-52 -38-89.5t-90-39l0,20 l 41,38.5q 23,22.5 23,55\nt-23,55.5t-55.5,23t-55-23l-38.5-41l-20,0 q 1.5,52 39,90t 89.5,38z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464.5,192l-142,0 q0,21.5 10,48.5t 22,48.75t 22,48.25t 10,46.5q0,28.5 -11.75,53.75t-32.25,43.25q 5,1 8.5,5.25t 3.5,9.75q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25q0-5.5 3.5-9.75t 9-5.25q-21-18 -32.75-43.25t-11.75-53.75q0-20.5 10-47t 22-48.25t 22-48.5t 10-48.25\nl-96,0 l0,144 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-144 l-14,0 q-10,0 -14.75-7t-1.25-16.5l 121.5-157.5q 1.5-4.5 7.5-7.75t 13-3.25l 165,0 q 6.5,0 12.5,3.25t 7.5,7.75l 118,157.5q 3,9.5 -2,16.5t-15,7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"science\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 478.5,377q-13,22.5 -43.25,32.25t-71.75,5.75q-18,45.5 -44.25,71.25t-56,25.75t-56-26t-44.25-71q-41.5,4 -71.75-5.75t-43.25-32.25q-13.5-24.5 -6.25-55.5t 33.75-65.5q-26.5-34.5 -33.75-65.5t 6.25-55.5q 13-22.5 43.5-32.25t 71.5-5.75q 18-45.5 44.25-71.25t 56-25.75t 56,25.75t 44.25,71.25\nq 41.5-4 71.75,5.75t 43.25,32.25q 14,24 6.5,55.25t-34,65.75q 26.5,34.5 34,65.5t-6.5,55.5zM 449.5,359q 18-30 -18.5-79.5q-20,21.5 -44,40.5q-4,33 -13,63.5q 58.5,3.5 75.5-24.5zM 175.5,166.5q 13-8.5 25.5-15.5q 2.5-1 19-9.5q-19.5-6 -36.5-9q-5,17 -8,34zM 217.5,179.5q-25,14 -48,30.5q-2,22.5 -2,46\nq0,20.5 2,46.5q 23.5,16.5 48,30q 21.5,12 45.5,22q 26-11 46.5-22q 25-14 48-30.5q 2-23 2-46q0-20 -2.5-46.5q-23.5-16.5 -47.5-30q-22-12 -46-22q-26,11 -46,22zM 136,236.5q-10,8.5 -20.5,19.5q 10,10.5 20.5,19.5q-0.5-14.5 -0.5-19.5q0-8 0.5-19.5zM 351.5,345.5q-14,8.5 -26,15.5l-19,9.5q 19,6 36.5,9q 5-17 8.5-34z\nM 391,275.5q 10-9 20-19.5q-9.5-10 -20.5-19.5q 1,16.5 1,19.5q0,5 -0.5,19.5zM 263.5,480q 20,0 38-18.25t 31-50.75q-33-6.5 -69.5-20.5q-36,14 -69,20.5q 13.5,32.5 31.5,50.75t 38,18.25zM 219.5,370.5q-11.5-5.5 -18.5-9.5q-11.5-6.5 -25.5-15.5q 3.5,20 8,34q 15.5-2.5 36-9zM 77,359q 17.5,28 75.5,24.5q-8.5-29.5 -13-63.5\nq-24-19 -44-40q-36,49.5 -18.5,79zM 77,153q-17.5,30 18.5,79q 20-21 44-40q 4-33 13-63.5q-58-3.5 -75.5,24.5zM 263.5,32q-20,0 -38,18.25t-31.5,50.75q 33.5,6.5 69.5,20.5q 36.5-14 69-20.5q-13.5-32.5 -31.25-50.75t-37.75-18.25zM 307.5,141.5q 10.5,5.5 18,9.5q 11,6.5 25.5,15.5q-3.5-19.5 -7.5-34\nq-15,2.5 -36,9zM 449.5,153q-17-28 -75.5-24.5q 8.5,29.5 13,63.5q 24,19 44,40q 36-49 18.5-79z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fence\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-192 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-20 2.5-25l 39-51.5q 2.5-3.5 6.25-3.5t 6.75,3.5l 38.5,51.5q 3,4 3,25l0,48 l 64,0 l0-48 q0-18.5 2.5-25l 39-51.5q 2.5-3.5 6.25-3.5\nt 6.75,3.5l 39,51.5q 2.5,4 2.5,25l0,48 l 64,0 l0-48 q0-21.5 2.5-25l 39-51.5q 2.5-3.5 6.25-3.5t 6.75,3.5l 38.5,51.5q 3,5.5 3,25l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,192 l 16,0 zM 224,192l-64,0 l0,192 l 64,0 l0-192 zM 384,192l-64,0 l0,192 l 64,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"director\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,224l0,32 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-1,0 q-2,8.5 -7,13.5l-103,66l 103.5,66.5q 8,8 8,19t-8,19t-19.25,8t-18.75-8l-114.5-73l-114.5,73q-8,8 -19,8t-19-8t-8-19t 8-19l 103.5-66.5l-103-66q-5-5 -7-13.5l-1,0 q-13.5,0 -22.75-9.25t-9.25-22.5\nt 9.25-22.75t 22.75-9.5l0-32 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l 192,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 256,368.5l 75.5-48.5l-151.5,0 zM 160,224l0,32 l 192,0 l0-32 l-192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"toast\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,183l0,265 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-265 q-14.5-8.5 -23.25-23t-8.75-32q0-35 34.25-64.25t 93.25-46.5t 128.5-17.25t 128.5,17.25t 93.25,46.5t 34.25,64.25q0,17.5 -8.75,32t-23.25,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addtolist\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 \nq-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,320l-384,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 zM 448,416l-384,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 z\nM 320,128l-32,0 l0,32 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-32 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.5-22.5t 22.5-9.25l 32,0 l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hanger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,352l0,4 q 83.5,11 137.75,45.5t 54.25,78.5q0,13 -14,22.5t-34,9.5t-34-9.5t-14-22.5q0-17.5 -21.5-32.25t-58.25-23.25t-80.25-8.5t-80.25,8.5t-58.25,23.25t-21.5,32.25q0,13 -14,22.5t-34,9.5t-34-9.5t-14-22.5q0-44.5 54.25-78.75t 137.75-45.25l0-4 q0-13 9.5-22.5t 22.5-9.5l0-64 q0-13 9.5-22.5t 22.5-9.5\nq 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,44 -27,78.5t-69,45.5l0,36 q 13.5,0 22.75,9.5t 9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"police\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128q0,31 16,93.5t 16,98.5q0,55 -30.25,91.5t-81.75,36.5q-20,0 -38.75,6.75t-31.5,16t-22.5,18.75t-14.5,15.75t-4.75,6.75q-1.5-2.5 -4.75-6.75t-14.25-15.5t-23-19.5t-31-15.25t-39-7q-51.5,0 -81.75-36.5t-30.25-91.5q0-36 16-98.5t 16-93.5q0-33.5 -7.25-56t-24.75-40q0-1.5 0.25-3.5t 2-7.5\nt 4.75-9.75t 9.5-7.75t 15.5-3.5q0,8 5.5,18.5t 15.25,21t 25.5,17.5t 33.75,7q 50,0 73-17.5t 23-46.5l 32,0 q0,29 23,46.5t 73,17.5q 18,0 33.75-7t 25.5-17.5t 15.25-21t 5.5-18.5q 9,0 15.5,3.25t 9.5,8t 4.75,9.5t 2.25,7.75l0,3.5 q-17.5,17.5 -24.75,40t-7.25,56zM 294.5,214l-38.5-86l-38.5,86l-89.5,12l 66,65\nl-17,93l 79-46l 79,46l-17-93l 66-65z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sheriff\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.75,192q-13.25,0 -22.25-9.5l-73.5,73.5l 73.5,73.5q 9-9.5 22.25-9.5t 22.75,9.5t 9.5,22.5t-9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l-83,0 l-60.5,100.5q 15.5,9.5 15.5,27.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-18 15.5-27.5l-60.5-100.5l-83,0 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5\nt-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.25,9.5l 73.5-73.5l-73.5-73.5q-9,9.5 -22.25,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.75l 83,0 l 60.5-100.5q-15.5-9.5 -15.5-27.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5q0,18 -15.5,27.5l 60.5,100.5l 83,0 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75\nt-9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lightning2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,512l-202-202l-118,74l-192-256l 160-128l 116,220l 108-60z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"peace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 288,445.5q 49-8.5 88-40l-88-88l0,128 zM 224,445.5l0-128 l-88,88q 39,31.5 88,40zM 64,256q0,60.5 35,110.5l 125-125\nl0-174.5 q-68.5,11.5 -114.25,64.75t-45.75,124.25zM 288,67l0,174.5 l 125,125q 35-50 35-110.5q0-71 -45.75-124.25t-114.25-64.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"target\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 255.75,160\nq-39.75,0 -67.75,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28.25-68t-68-28zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flower\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467,297q-13.5,5.5 -34.75,4.75t-48.25-10.25q 5-17.5 5-35.5q0-55 -40-93q 16.5-19 32.5-30.5t 35.5-17.5l 0.75,0 l 0.25,0 l 0.5,0 l0,0 q 22.5-7 41.5,2t 23.5,28.5q 5.5,24 -10.5,50q 16,5 27.75,16t 15.25,23.5q 5,19 -9.25,37t-39.25,25l-0.5,0 zM 261,128q-39,0 -71,21.5q-16-24.5 -20.5-43.5t-4.5-42.5q0-26.5 14-45.25t 34-18.75\nq 12.5,0 25.75,7.75t 22.25,20.75q 9-13 22.25-20.75t 25.75-7.75q 20,0 34,18.75t 14,45.25q0,23.5 -4.5,42.5t-20.5,43.5q-32-21.5 -71-21.5zM 133,255.5q0,18.5 5,36q-27.5,9.5 -48.5,10.25t-35-4.75q-25-7 -39.25-25t-9.25-37q 3.5-12.5 15.25-23.5t 27.75-16q-16-26 -10.5-50q 4.5-19.5 23.5-28.5t 41.5-2l0,0 l 0.5,0 l 0.25,0 l 0.75,0 \nq 19.5,6 35.5,17.5t 32.5,30.5q-40,38 -40,92.5zM 79.5,376.5l0-0.5 q 0.5-0.5 1-1.75t 1-2t 1.25-1.75t 0.75-1.5q 11.5-19 25.75-31.5t 37.25-24.5q 15,30 43.25,49t 62.75,21.5q-2.5,29 -5,48.5q 0.5,17 -6,34q 0.5,4 -4,9q 1.5-2 3.5-8q-2.5,5.5 -3.5,8q-12.5,23 -33,32.5t-37-0.5q-11-7 -18.25-22t-7.75-32\nq-14,9 -30.75,10.25t-27.75-5.25q-14-7.5 -14.25-34t 10.25-47zM 165,255.75q0-39.75 28-67.75t 67.75-28t 68,28t 28.25,67.75t-28.25,68t-68,28.25t-67.75-28.25t-28-68zM 375.5,313q 23,12 37.25,24.5t 25.25,31.5q 0.5,0.5 1.25,1.5t 1.25,1.75t 1,2.25t 1,1.5l0,0.5 l 0.5,0.5q 10.5,20 10.25,46.75\nt-14.25,34.25q-11,6.5 -27.75,5.25t-30.75-10.25q-0.5,17 -7.75,32t-18.25,22q-16.5,10 -37,0.5t-33-33q-0.5-1.5 -3.5-7.5q 2,6 3.5,7.5q-4.5-4.5 -4-8.5q-6.5-17 -6-34q-2.5-19.5 -5-48.5q 34.5-2.5 62.75-21.5t 43.25-49z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"icecream\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,160l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25q0-17 7.5-26.75t 24.5-21.25q 1.5-39 29.75-67.5t 66.25-28.5q 36.5,0 63.5,24.5t 31.5,60.5q 11.5-5 25-5q 30.5,0 51.25,17.5t 20.75,46.5q0,6.5 -4.75,11.25t-11.25,4.75zM 128,192l 256,0 q 13,0 22.5,9.5t 9.5,22.5l-128,256q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5\nl-128-256q0-13 9.5-22.5t 22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"patch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,481q-31,31 -75,31t-75-31l-42-42.5q-5-20 9.5-35l 105-104.5q 15-15.5 36-9.5l 41.5,41.5q 31,31 31,75t-31,75zM 273,373.5q-10.5,10.5 -25,10.5t-25-10.5l-84.5-84.5q-10.5-10.5 -10.5-25.25t 10.5-24.75l 100.5-100.5q 10.5-10.5 25-10.5t 25,10.5l 84.5,84.5q 10.5,10 10.5,24.75t-10.5,25.25zM 108,213.5\nq-14.5,14.5 -35,9.5l-42-42q-31-31 -31-75t 31-75t 75-31t 75,31l 41.5,41q 6,21 -9.5,36.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"man\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 477.75,239q-14.25,0 -24.25-10t-10-24l0-93 l-132.5,132.5q 30.5,44 30.5,97q0,46.5 -23,85.75t-62.25,62t-85.5,22.75t-85.75-22.75t-62.25-62t-22.75-85.75t 22.75-85.75t 62.25-62t 85.5-22.75q 53.5,0 97,30l 133-132.5l-93.5,0 q-14,0 -24-10t-10-24t 10-24t 24-10l 171,0 q 14,0 24,10t 10,24\nl0,170.5 q0,14 -10,24t-24.25,10zM 170.75,239q-42.25,0 -72.25,30t-30,72.5t 30,72.5t 72.25,30t 72.25-30t 30-72.5t-30-72.5t-72.25-30z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"woman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,317l0,67 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-67 q-55.5-11.5 -91.75-55.5t-36.25-101.5q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5\nt 58.25,58.25t 21.5,80.25q0,57.5 -36.5,101.5t-91.5,55.5zM 255.75,64q-39.75,0 -67.75,28.25t-28,68t 28,67.75t 67.75,28t 68-28t 28.25-67.75t-28.25-68t-68-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"binoculars\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 l-32,0 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l-32,0 l0,192 q0,26.5 -18.75,45.25t-45.25,18.75l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-20.5 8.25-64.75t 24-85.75t 31.75-41.5l0-64 \nq-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 96,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l0,73 q 14.5,8.5 23.25,23t 8.75,32l 32,0 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.5t 9.25,22.5l 32,0 q0-17.5 8.75-32t 23.25-23l0-73 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 96,0 q 13.5,0 22.75,9.5\nt 9.25,22.75t-9.25,22.5t-22.75,9.25l0,64 q 16,0 31.75,41.5t 24,85.75t 8.25,64.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"croisant\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 525,144q0,4 -0.5,7t-2.5,4.75t-3.25,2.75t-5,1.25t-5.75,0.25l-7,0 l-8,0 q-6,0 -13.5-5t-13.5-10.75t-15.5-10.75t-20-5.5l 21.5-77q 22.5,15.5 38,31l 24.5,24.5q 4,4 6.5,7.5t 3.25,8t 1,6.5t0,7.75t-0.25,7.75zM 365.5,128l-33.5,0 q-15.5-27 -41.5-61.75t-49.5-61.25q 94.5-17.5 180.5,27l-27.5,96l-28.5,0 z\nM 289.5,185.5l-90.5,90.5q-9.5,9 -13,10.5t-16,1.5q-15.5,0 -65.5-36t-77.5-63.5q-8.5-8.5 -12-23.5t 1-28q 17.5-46 53-81.75t 81.5-52.75q 13-4.5 28-1t 23.5,11.5q 27.5,28 63.5,78t 36,65.5q0,12.5 -1.5,16t-10.5,13zM 141.5,417q 0.5,10.5 5.5,20t 10.75,15.5t 10.75,13.5t 5,13.5q0,16.5 -3.25,24.25t-12.75,7.75\nq-2,0 -7.75,0.25t-7.75,0t-6.5-1t-8-3.25t-7.5-6.5l-24.5-24.5q-15.5-15.5 -31-37.5zM 45.5,408q-44.5-86 -27-180.5q 26.5,23.5 61.25,49.5t 61.75,42l0,33 l0,28.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"orange\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,32q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87t 17.75,87t 47.75,71.5t 71.5,47.75t 87,17.75\nt 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87t-17.75-87t-47.75-71.5t-71.5-47.75t-87-17.75zM 441,306.5l-52-13l-91-37.5l 93.5-38.5l 49.5-12.5q 7,25.5 7,51q0,25 -7,50.5zM 285.5,226.5l 39-93.5l 26.5-44q 45.5,26 71.5,72l-45.5,27.5zM 256,214l-38.5-93l-12-50q 25.5-7 50.5-7t 50.5,7l-12.5,52zM 135.5,188.5\nl-46-27.5q 26-46 71.5-72l 27,44l 38.5,93.5zM 214.5,256l-91.5,37.5l-52,13q-7-25.5 -7-50.5t 7-51l 50,12.5zM 226.5,285.5l-37.5,91l-28,46q-45.5-26 -71.5-71.5l 43.5-27zM 256,298l 38,91l 12.5,52q-25.5,7 -50.5,7t-50.5-7l 12-50zM 379,324l 44,27q-26,45.5 -71.5,71.5l-28-46l-38-91z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paw\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,246.75q-13,24.75 -33,35.5t-35,1.25t-16.25-33.75t 11.75-49t 32.75-35.5t 34.75-1.25t 16.5,33.75t-11.5,49zM 257.5,480q-29,0 -43.25-0.25t-36.75-2t-33.75-5.75t-23.75-11t-17.5-18.25t-5-26.75q0-21 8-47t 23-51.25t 34.25-46.5t 44.25-34.25t 50.5-13t 50.5,13t 44.25,34.25t 34.25,46.5t 23,51.25t 8,47\nq0,15.5 -5,26.75t-17.5,18.25t-23.75,11t-33.75,5.75t-36.75,2t-43.25,0.25zM 319.5,190.75q-18.5-5.25 -26.25-29.75t-0.25-54t 25.75-46.5t 36.75-11.75t 26.25,29.75t 0.5,54t-25.75,46.5t-37,11.75zM 195.5,190.75q-18.5,5.25 -36.75-11.75t-25.75-46.5t 0.25-54t 26.25-29.75t 36.75,11.75t 25.75,46.5t-0.25,54\nt-26.25,29.75zM 13,246.75q-13-24.75 -11.5-49t 16.5-33.75t 34.75,1.25t 32.75,35.5t 11.75,49t-16.25,33.75t-35-1.25t-33-35.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rocket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 430.5,508.5l-46.5-124.5l-11.5,0 q-4,11.5 -12,33t-11.5,31l-61,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.5t-9.25-22.5l0-32 l-61.5,0 q-3-9.5 -11-31t-12-33l-11.5,0 l-46.5,124.5q-17.5-9 -17.5-28.5l0-96 q0-13.5 25.5-38.75t 38.5-25.25q0-68 16.25-133.5t 45.75-115.5t 66-71q 36.5,21 66,71t 45.75,115.5t 16.25,133.5\nq 13,0 38.5,25.25t 25.5,38.75l0,96 q0,19.5 -17.5,28.5zM 256,128q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forklift\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q-38,1.5 -67,30t-29,66l0,32 l-32,0 l0-32 q0-37.5 -30.25-66.75t-65.75-29.25l-96,0 l0,112 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 80,0 l0-368 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,240 l 64,0 l 64-224\nq0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 l0,32 l-64,0 zM 448,114q0-7.5 -5.75-12.75t-13.25-5.25l-115.5,0 q-8,0 -13.5,5.25t-5.5,12.75l-38.5,124q0,7.5 5.75,12.75t 13.25,5.25l 45,0 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l 32,0 l0-110 l0,0 z\nM 224,352q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 448,352q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"candle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 80,0 l 48,0 l 192,0 l 48,0 l 80,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 160,416l0-176 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,176 l-192,0 zM 266.5,192q 11-12 16.25-22.5t 5.25-25.5q0-8 -7.25-23t-14.75-26\nl-7.5-11q-0.5,5 -2.25,12.75t-9.25,24t-17.5,23.25q-5.5,3.5 -5.75,12.25t 2.75,18t 8,17.75q-9,0 -29.5-21.5q-13-14.5 -13-32.5q0-26.5 21.5-48q 11-10.5 13.5-33t-0.5-40l-2.5-17q 2,1 5.75,2.75t 14,8.25t 19.25,13.5t 19.75,18t 17.75,22q 10,16 15,34.5t 4.5,33q0,2.5 -0.25,9.75t-0.5,10.75t-0.75,8.5\nt-1.5,8.25t-2.5,4.75q-6.5,7.5 -22.25,12.75t-25.75,5.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flashlight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,442.5l-60,60q-9.5,9.5 -23,9.5t-23-9.5l-214-214.5l-86.5,0 q-13,0 -22.5-9.25t-9.5-22.75l 192-191.5q 13.5,0 22.75,9.25t 9.25,22.25l0,86.5 l 214.5,214q 9.5,9.5 9.5,23t-9.5,23zM 375,331.5l-66.5-66.5q-9-9 -21.75-9t-21.75,9t-9,21.75t 9,21.75l 66.5,66.5q 9,9 21.75,9t 21.75-9\nt 9-21.75t-9-21.75zM 44,216.5q-7.5,7.5 -18.25,7.5t-18.25-7.5t-7.5-18t 7.5-18l 173-173q 7.5-7.5 18-7.5t 18,7.5t 7.5,18.25t-7.5,18.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"remote\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,164.5q-4-4.5 -10-4.5t-10.5,4.5l-71.5,80.5q-4,4.5 -4,11t 4,11l 71.5,80.5q 4.5,4.5 10.5,4.5t 10-4.5l0-183 zM 347.5,107.5l-80.5-71.5q-4.5-4 -11-4\nt-11,4l-80.5,71.5q-4.5,4 -4.5,10.25t 4.5,10.25l 183,0 q 4.5-4 4.5-10.25t-4.5-10.25zM 160,256q0,40 28,68t 68,28t 68-28.25t 28-68t-28-67.75t-68-28t-68,28t-28,68zM 347.5,383.5l-183,0 q-4.5,4 -4.5,10.25t 4.5,10.25l 80.5,71.5q 4.5,4 11,4t 11-4l 80.5-71.5q 4.5-4 4.5-10.25t-4.5-10.25zM 476,245l-71.5-80.5\nq-4.5-4.5 -10.5-4.5t-10,4.5l0,183 q 4,4.5 10,4.5t 10.5-4.5l 71.5-80.5q 4-4.5 4-11t-4-11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"recycle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 387.5,480l-32.5,0 l0,20.5 q-7.5,10.5 -19,11.5l-5,0 q-11.5-1 -19.5-11.5l-43-56.5q-9-11.5 -9-28t 9-28l 43-56.5q 9-12 21.75-12t 21.75,12l0,20.5 l 47.5,0 l-37-70l 124-71.5l 26,45.5zM 450.5,196.5q-6,13.5 -22,21.5t-32,6l-73,0 q-17.5-2 -26.25-9.5t-2.75-20l 19-11.5l-54-103l-46,88l-123-64.5l 41-71.5l 256,0 l 45,78.5\nl 24-14.5q 16,2 23.25,12.75t 0.75,23.75zM 162.5,187.5l 30,64q 6.5,13 -0.75,23.75t-23.25,12.75l-14.5-7.5l-37.5,71.5l 111,0 l0,128 l-96,0 l-128-224l 23-40l-20-10.5q-6.5-13 3.25-28.25t 25.75-17.25l 73,0 q 16-2 32,6t 22,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperairplane\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,256l0,176 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 l-72-72l-136,136l-192-512l 512,192zM 416,256l-352-192l 352,352l0-160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"glasses\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 516,336q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.5t-9.5,22.5q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75\nq0-28.5 4-44.5q-8-14 -0.5-27.5l 108.5-171q 5.5-9.5 15.75-12.25t 19.5,2.75t 12,16.25t-2.75,20.25l-78,122.5q 21-2.5 49.5-2.5q 37.5,0 57.25,5.5t 28.25,18.5q 25.5,8 42.5,8t 42.5-8q 8.5-13 28.25-18.5t 57.25-5.5q 28.5,0 49.5,2.5l-78-122.5q-5.5-9.5 -2.75-20.25t 12-16.25t 19.5-2.75t 15.75,12.25l 108.5,171q 7.5,13.5 -0.5,27.5\nq 4,16 4,44.5zM 127.5,272q-30,0 -48,3.25t-27.75,12t-12.75,20t-3,31.25q0,24.5 5.25,40t 16.25,23.75t 24.5,11t 34,2.75t 34-2.75t 24.75-11t 16.25-23.75t 5-40l0-14 t-0.5-11.75t-1.25-10.5t-2.5-8.25t-4.25-7.25t-6.25-5.5t-8.75-4.25t-11.5-2.5t-14.75-2t-18.75-0.5zM 392.5,272q-10.5,0 -18.5,0.5t-14.75,2\nt-11.75,2.5t-8.75,4.25t-6.25,5.5t-4.25,7.5t-2.5,8.25t-1.25,10.25t-0.5,11.75l0,14 q0,24.5 5.25,40t 16.25,23.75t 24.5,11t 34,2.75t 34-2.75t 24.75-11t 16.25-23.75t 5-40q0-20 -3-31.25t-12.75-20t-27.75-12t-48-3.25zM 388,336q-15,0 -23.5-4.5t-8.5-11.5t 8.5-11.5t 23.5-4.5q 48,0 48,16t-48,16zM 100,336\nq-15,0 -23.5-4.5t-8.5-11.5t 8.5-11.5t 23.5-4.5q 48,0 48,16t-48,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sunglasses\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 516,336q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75\nq0-28.5 4-44.5q-8-14 -0.5-27.5l 108.5-171q 5.5-9.5 15.75-12.25t 19.5,2.75t 12,16.25t-2.75,20.25l-78,122.5q 21-2.5 49.5-2.5q 37.5,0 57.25,5.5t 28.25,18.5q 25.5,8 42.5,8t 42.5-8q 8.5-13 28.25-18.5t 57.25-5.5q 28,0 49.5,2.5l-78-122.5q-5.5-9.5 -2.75-20.25t 12-16.25t 19.5-2.75t 15.75,12.25l 108.5,171q 7.5,13.5 -0.5,27.5\nq 4,16 4,44.5zM 68,272q-15,0 -23.5,9t-8.5,23t 8.5,23t 23.5,9q 26.5,0 45.25-9.25t 18.75-22.75t-18.75-22.75t-45.25-9.25zM 356,272q-15,0 -23.5,9t-8.5,23t 8.5,23t 23.5,9q 26.5,0 45.25-9.25t 18.75-22.75t-18.75-22.75t-45.25-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screwdriver2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 474.25,474.25q-37.75,37.75 -91.5,37.75t-91.25-38l-51.5-51.5q-0.5-35 -25.25-60t-60.25-26.5q-8-10 -10.5-21l0-17.5 q 3.5-13 16-25.5l 112-112q 12.5-12.5 25.5-16l 17.5,0 q 10.5,2.5 21,10.5q 1,35.5 26.25,60.25t 60.25,25.25l 51.5,51.5q 38,37.5 38,91.25t-37.75,91.5zM 260.75,356.75q-4.75,4.75 -4.75,11.5t 5,11.75\nl 111,111q 4.5,5 11.5,5t 11.75-4.75t 4.75-11.75t-5-11.5l-111-111q-5-5 -11.75-5t-11.5,4.75zM 332,309q-5-5 -11.75-5t-11.5,4.75t-4.75,11.5t 5,11.75l 127,127q 4.5,5 11.5,5t 11.75-4.75t 4.75-11.75t-5-11.5zM 380,261q-5-5 -11.75-5t-11.5,4.75t-4.75,11.5t 5,11.75l 111,111q 4.5,5 11.5,5\nt 11.75-4.75t 4.75-11.75t-5-11.5zM 176,224l-80-80l-48,0 l-48-96l 48-48l 96,48l0,48 l 80,80z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screwdriver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 489,489.25q-23,22.75 -55.25,22.75t-55.25-23l-42.5-41l-48-48q0-19.5 -14-33.75t-34-14.25l-3.5-3.5q-23.5-23.5 -2-45.5l 23.5-23.5l-151.5-151.5l-58.5,0 l-48-96l 32-32l 96,48l0,58.5 l 151.5,151.5l 23.5-23q 21.5-22 45.5,2l 3.5,3.5q 0.5,20 14.5,33.75t 33.5,13.75l 48,48l 41,42.5q 23,23 23,55.5t-23,55.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hammer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.25,496.25q-15.75,15.75 -38,15.75t-38.25-16l-116.5-116.5q-18.5-18.5 -15-45l-139.5-139.5l-50,51.5q-9,9.5 -22.25,9.5t-22.75-9.5l-44.5-46q-9.5-10 -9.5-23.25t 9.5-23.25l 118.5-122l 134.5,0 q 9.5,9.5 9.5,23t-9.5,23l-68.5,70.5l 140.5,140q 26.5-3.5 45,15l 116.5,116.5q 16,16 16,38.25t-15.75,38z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shovel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 497,497q-21.5,18.5 -56.75,14.5t-71.25-21t-56.5-37l-47-47q-9.5-10 -9.5-23.75t 9.5-23.25l 24-24l-193.5-194l-41,41q-9.5,9.5 -22.75,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.75l 127.5-127.5q 9.5-9.5 22.75-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.75l-41,41l 194,193.5l 24-24q 9.5-9.5 23.25-9.5t 23.75,9.5l 47,47\nq 20,20.5 37,56.5t 21,71.25t-14.5,56.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"crown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128l-0.5,0 l-0.5,0 l 1,222l0,0.75 l0,1.25 q0,13 -9.5,22.5t-22.5,9.5l-384,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-1.25 l0-0.75 l 1-222l-0.5,0 l-0.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75q0,16.5 -13.5,26l 109.5,155l 83-184q-8.5-3.5 -13.75-11.5t-5.25-17.5q0-13.5 9.25-22.75t 22.5-9.25\nt 22.75,9.25t 9.5,22.75q0,9.5 -5.25,17.5t-13.75,11.5l 83,184l 109.5-155q-13.5-9.5 -13.5-26q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 32,416l 223.5,0 l 0.5,0 l 0.5,0 l 223.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchoff2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,32q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 64.25,416\nq-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 384,160l-256,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 256,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 q0-13.5 -9.5-22.75t-22.5-9.25zM 447.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75\nt 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25zM 447.75,416q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25zM 352,320l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchon2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 63.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 64,416\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 384,160l-256,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 256,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25zM 448,32q-13.5,0 -22.75,9.25t-9.25,22.5\nt 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 448,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 224,320l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerplugus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,480q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 64.25,32\nq-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 362,96l-212,0 q-39.5,26.5 -62.75,68.75t-23.25,91.5t 23.25,91.25t 62.75,68.5l 212,0 q 39.5-26.5 62.75-68.5t 23.25-91.5t-23.25-91.5t-62.75-68.5zM 448.25,32q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75\nt 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 448.25,416q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 351.5,384l-191,0 q-30-22.5 -47.25-56t-17.25-72t 17.25-72t 47.25-56l 191,0 q 30,22.5 47.25,56t 17.25,72t-17.25,72t-47.25,56z\nM 192,208q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 288,320q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l0,32 l 64,0 l0-32 zM 352,208q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerplugeu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,480q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 64.25,32\nq-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 256,96q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 447.75,32\nq-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 447.75,416q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 192.25,224q-13.25,0 -22.75,9.25t-9.5,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.5-9.25zM 320,224q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 63.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 63.75,416\nq-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 352,128q0-13.5 -9.5-22.75t-22.5-9.25l-128,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,256 q0,13 9.25,22.5t 22.75,9.5l 128,0 q 13,0 22.5-9.5t 9.5-22.5l0-256 zM 448,32q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75\nt 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 448,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 288,384l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5\nt-22.5,9.5zM 288,256l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"icecream2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,352l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,192 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,480q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-96 l 64,0 l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"student\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,432q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-210.5 l-176.5,88.5q-20,10 -47.5,10t-47.5-10l-189-94.5q-19.5-10 -19.5-23.75t 19.5-23.25l 189-94.5q 20-10 47.5-10t 47.5,10l 189,94.5q 17,8.5 19,21q 0.5,0.5 0.5,2l0,0.5 l0,240 l0,0 zM 319.5,342l 96.5-48.5l0,70.5 q0,21.5 -46.75,36.75t-113.25,15.25\nt-113.25-15.25t-46.75-36.75l0-70.5 l 96.5,48.5q 20,10 63.5,10t 63.5-10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"megaphone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 474.5,505.5l-146-121.5l-200.5,0 l0,96 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 296.5,0 l 146-121.5q 5.5-6 14.75-6.25t 16,3.75t 6.75,10l0,484.5 q0,6 -6.75,10t-16,3.5t-14.75-6.5zM 240,128l-64,0 \nq 6.5,0 11.25,4.75t 4.75,11.25l0,224 q0,6.5 -4.75,11.25t-11.25,4.75l 64,0 q-7,0 -11.5-4.75t-4.5-11.25l0-224 q0-6.5 4.5-11.25t 11.5-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperclip3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 271.75,512q-47.75,0 -88.25-23.25t-64-63.25t-23.5-87.5l0-210 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,176 q0,33 -23.5,56.5t-56.5,23.5t-56.5-23.5t-23.5-56.5l0-80 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,80 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-176 q0-64 -64-64\nt-64,64l0,205 q0,47.5 32.75,81.25t 79.25,33.75t 79.25-33.75t 32.75-81.25l0-141 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5l0,146 q0,47.5 -23.75,87.5t-64.25,63.25t-88.25,23.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperclip2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.5,183.5q-1.5,1.5 -3.25,4.75t-4.25,3.75l-176,176q-16,16 -32,16l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-5 2.5-10t 5-7.5t 7.5-7t 6-6l 89.5-89.5q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5l-87.5,87.5l0,23.5 l 23,0 l 160-160l-87.5-87.5l-223.5,224l0,151.5 l 151,0 l 183.5-183.5q 8.5-8.5 20.5-8.5t 20.25,8.5\nt 8.25,20.25t-8,20.25l-185.5,185.5q-2.5,2.5 -7,7.75t-7,7.25t-6.75,4.25t-9.25,2.25l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-5 3-10.25t 5.75-8.5t 7.5-7.25t 5.25-4.5l 234.5-241.5l 8-8q 9.5-9.5 23.5-8q 14.5-1.5 24,8l 8.5,8l 112,112q 3.5,4.5 7.5,8q 9,9.5 7.5,24q 1.5,14 -7.5,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperclip\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 268,416q 4-3.5 80-78.5t 89-88.5q 9.5-9 22.75-9t 22.75,9.25t 9.5,22.75t-9.5,22.5q-11,11 -86.5,87t-79.5,79.5q-34,33.5 -79.75,45.5t-91.5-0.5t-80.25-46.5t-47-79.5t-0.5-90.75t 46-79.25l 174-172q 38-38 92-38t 92.25,37.75t 38.25,91.25t-38,91l-143,141.5q-23.5,22.5 -57.5,22.5\nt-57.75-22.75t-23.75-54t 23.5-54.25q 8.5-8.5 57.5-58.75t 56-57.25q 9.5-9.5 22.75-9.5t 22.5,9.5t 9.25,22.75t-9,22.75q-5.5,5 -56.25,56.5t-55.75,56.5q-4.5,4.5 -4.5,11t 4.75,11t 11.25,4.5t 11.5-4.5l 142.5-143q 46-45.5 -0.25-91.25t-92.25,0.25l-175.5,172.5q-34.5,34.5 -34.25,80.75t 34,79.5t 79.75,33.5\nt 80.5-33.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microscope\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,224q0,67 -36.25,121.75t-94.75,81.75q 30.5,12.5 48.75,35t 18.25,49.5l-256.5,0 q0-20.5 11.25-39t 30.75-32q-25.5-6.5 -58-25q-7.5-3.5 -11.75-12.5t-4.25-19.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5q 43.5,0 80.5-21.5t 58.5-58.25t 21.5-80.25\nq0-36 -15.25-67.75t-41.75-54.25l-27.5,43q0,0.5 -0.5,0.75l-0.5,0.25l 4.5,2.5q 12,6.5 15.5,19.5t-3.5,24.5l-51,79.5q-7,11.5 -20.25,15t-25.25-3.5l-58-32q-12-6.5 -15.5-19.5t 3.5-24.5l 50.5-79.5q 7-11 20-14.5t 25,2.5l 64-101.5q 6.5-10.5 19.5-13.5t 24.5,3t 14.75,17.75t-3.25,22.25l-2.5,3.5q 40.5,31.5 63.75,77.5\nt 23.25,99z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"radioactive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,448l0-128 q-17,0 -31.5-8.5t-23-22.5l-110,66q 25.5,42.5 69.25,67.75\nt 95.25,25.25zM 256,64q-51.5,0 -95.25,25.5t-69.25,68l 110,66q 8.5-14.5 23-23t 31.5-8.5l0-128 zM 255.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 420.5,157.5l-110,66q 9.5,15.5 9.5,32.5t-9,32l 111,64q 26-44.5 26-96q0-53 -27.5-98.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"magnet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 365.5,384l 18.5-128q0-66.5 -30.75-97.25t-97.25-30.75t-97.25,30.75t-30.75,97.25l 18.5,128l-128,0 l-18.5-128q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l-18.5,128l-128,0 zM 151,416l 9,64q0,13 -18.75,22.5t-45.25,9.5t-45.25-9.5\nt-18.75-22.5l-9-64l 128,0 zM 489,416l-9,64q0,13 -18.75,22.5t-45.25,9.5t-45.25-9.5t-18.75-22.5l 9-64l 128,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eye\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-61,0 -115.5-25t-91.75-69t-48.75-98q 11.5-54 48.75-98t 91.75-69t 115.5-25t 115.5,25t 91.75,69t 48.75,98q-11.5,54 -48.75,98t-91.75,69t-115.5,25zM 133,154q-39,17.5 -65.5,44t-35.5,58q 9,32 35.75,58.5t 65.25,44q-37-44.5 -37-102.5t 37-102zM 256,192\nq-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 379,154q 37,44 37,102t-37,102.5q 39-17.5 65.5-44t 35.5-58.5q-9-31.5 -35.5-58.25t-65.5-43.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fire\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384.5,464q-48.5,48 -96.5,48q 28-27 38-54.75t 10-73.25q0-21 -17.75-60.75t-35.75-70.25t-18-29q-1,5 -2.75,13t-9,30.5t-16.25,42t-25.25,41t-35.25,33.5q-15.5,10 -16.5,33.25t 8.5,48t 24,46.75q-27,0 -88-58q-20.5-19 -30.25-43t-9.75-43q0-32 17.75-66.75t 47.75-61.25\nq 25.5-23 41.25-48.5t 20.25-48.25t 3.75-44.75t-6.75-39.5t-12-31t-11-20.5l-5-7.5q 6.5,2.5 17.25,7.5t 41.5,22t 58.25,35.5t 60,47.75t 53.5,59.75q 29,42 44.25,91.25t 13.75,88.25q-1,20 -14.5,45t-26,40.25t-23.5,26.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flaskfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,378q 21.5,31.5 28.25,62.25t-4.25,51.25t-39,20.5l-421,0 q-28,0 -39-20.5t-4.25-51.25t 28.25-62.25l 129.5-164l0-150 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,150 zM 294.5,224l0-160 l-64,0 l0,160 l-74.5,96l 213,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flask\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,378q 21.5,31.5 28.25,62.25t-4.25,51.25t-39,20.5l-421,0 q-28,0 -39-20.5t-4.25-51.25t 28.25-62.25l 129.5-164l0-150 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,150 zM 294.5,224l0-160 l-64,0 l0,160 l-121.5,156q-16,16.5 -22.25,31.75\nt 1.75,25.75t 32,10.5l 284,0 q 23.5,0 31.75-10.5t 2-25.75t-22.75-31.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shredder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,383l0-64 q0-13.5 -9.5-22.75t-22.5-9.25l-288,0 q-13,0 -22.5,9.25t-9.5,22.75l0,64 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 288,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 400,191l-256,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,319q 6.5,0 11.25,4.5t 4.75,11l0,160.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-160.5 q0-6.5 4.75-11t 11.25-4.5zM 208,319q 7,0 11.5,4.5\nt 4.5,11l0,128.5 q0,6.5 -4.5,11.25t-11.5,4.75t-11.5-4.75t-4.5-11.25l0-128.5 q0-6.5 4.5-11t 11.5-4.5zM 272,319q 6.5,0 11.25,4.5t 4.75,11l0,96.5 q0,6.5 -4.75,11t-11.25,4.5t-11.25-4.5t-4.75-11l0-96.5 q0-6.5 4.75-11t 11.25-4.5zM 336,319q 7,0 11.5,4.5t 4.5,11l0,160.5 q0,6.5 -4.5,11.25t-11.5,4.75t-11.5-4.75t-4.5-11.25l0-160.5 q0-6.5 4.5-11\nt 11.5-4.5zM 400,319q 6.5,0 11.25,4.5t 4.75,11l0,128.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-128.5 q0-6.5 4.75-11t 11.25-4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cash\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-4.75t-9.5-11.25l0-64 l0-64 l0-32 l0-32 l0-32 l0-32 q0-0.5 1.5-5l 57-126.5q 1.5-5 10-8.75t 18.5-3.75l 341,0 q 10.5,0 18.75,3.75t 10.25,8.75l 54,126.5q 1,3 1,5l0,32 l0,32 l0,32 l0,32 l0,64 l0,64 q0,6.5 -9.5,11.25t-22.5,4.75zM 160,96l-7.5,0 q-6.5,12 -22.75,22t-33.75,10l-28.5,0 l-13,32l 41.5,0 \nq 25.5,0 32.25,4.25t 4.25,19.25l-1.5,8.5l 29,0 l0-96 zM 160,224l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 160,288l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 160,352l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 160,416l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 320,336\nq0-6.5 -4.75-11.25t-11.25-4.75l-80,0 l0-32 l 80,0 q 10,0 14.5-9q-3-10 -11.5-16.5t-19-6.5l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 l0,32 l-80,0 q-10,0 -14.5,9.5q 3.5,10 11.75,16.25t 18.75,6.25l0,16 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-48 zM 445,128l-29,0 q-17.5,0 -32.75-9.75t-21.25-22.25l-10,0 l0,96 l 29.5,0 l-1-8.5q-2.5-14.5 10.5-19t 41-4.5l 25.5,0 zM 480,224l-128,0 l0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 zM 480,288l-128,0 l0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 zM 480,352l-128,0 \nl0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 zM 480,416l-128,0 l0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"factory\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,211 l 96-77.5q 13-8 22.5-5t 9.5,15l0,67.5 l 96-77.5q 13-8 22.5-5t 9.5,15l0,67.5 l 96-77.5q 13.5-8 22.75-5t 9.25,15l0,304.5 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"creditcard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-224 l 512,0 l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 80,384l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 144,256l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,256l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 256,368q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25zM 336,256l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,256l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM0,96\nq0-13 9.25-22.5t 22.75-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 l-512,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bill\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,192l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 l-256,0 l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0,128 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 l 256,0 \nl0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 l0-128 zM 256,384q-40,0 -68-37.5t-28-90.5t 28-90.5t 68-37.5t 68,37.5t 28,90.5t-28,90.5t-68,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sale\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,195.5l-45.5,61l 45.5,60.5q-2,9 -3.5,14.5l-70,30l 8.5,75.5q-4.5,5 -10,10.5l-75.5-9l-30.5,70l-14,3.5l-61-45.5l-61,45.5q-9-2 -14-3.5l-30.5-70l-75.5,9q-3.5-4 -10-10.5l 8.5-75.5l-70-30q-1.5-5 -3.5-14.5l 45.5-60.5l-45.5-61q 2-8.5 3.5-14l 70-30l-8.5-75.5q 4.5-5 10-10.5l 75.5,9l 30.5-70\nq 4.5-1.5 14-3.5l 61,45l 61-45q 9,2 14,3.5l 30.5,70l 75.5-9q 5,5 10,10.5l-8.5,75.5l 70,30z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"barcode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25zM 400,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-479.5 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,479.5 q0,6.5 -4.75,11.25t-11.25,4.75zM 320.25,512q-13.25,0 -22.75-9.25\nt-9.5-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25zM 208,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-479.5 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,479.5 q0,6.5 -4.75,11.25t-11.25,4.75zM 128.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75\nt 22.5-9.25t 22.5,9.25t 9.5,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25zM 32.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"qrcode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,320q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,192l-16,0 l0,16 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 l0-32 l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-64 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 64,0 l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 432,128l-32,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,160l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-48,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-16,0 l-32,0 l-48,0 l0,32 l 32,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-48,0 q-6.5,0 -11.25-4.25t-4.75-10.25l0-49.5 l-32,0 l0,17.5 q0,6 -4.75,10.25t-11.25,4.25t-11.25-4.25t-4.75-10.25l0-30 q0-1 0.5-2q0-0.5 -0.25-0.75t-0.25-0.75l0-160 \nq0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,32 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,32 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 zM 160,48q0-6.5 -4.75-11.25\nt-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 112,128l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,256q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 240,288q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 272,224q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75zM 384,240q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25zM 16,320l 48,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 l 64,0 l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 112,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,16 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-48 l-96,0 l0,80 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75zM 336,416\nl 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75zM 32,464q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 z\nM 80,384l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 368,352q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 240,384q 6.5,0 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 272,480q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 432,480l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25\nt-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rubberstamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 173,0 q 19-24.5 19-64q0-36.5 -14-66.75t-37.5-46.75q-12.5-22 -12.5-46.5q0-40 28-68.25t 68-28.25t 68,28.25t 28,68.25q0,24.5 -12.5,46.5q-23.5,16.5 -37.5,46.75t-14,66.75q0,39.5 19,64l 173,0 q 13.5,0 22.75,9.25t 9.25,22.75\nl0,32 q0,13 -9.25,22.5t-22.75,9.5zM 480,480q0,13 -9.25,22.5t-22.75,9.5l-384,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 l 448,0 l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shoppingbag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 64,0 l0-64 l 64-63.5l0,127.5 l 192,0 l0-127.5 l 64,63.5l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,0.5l 128,0 l0,63.5 l-128,0 l0-63.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"store\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,256q-26.5,0 -45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-17 16-48l 46-119.5q 3.5-10.5 13-17.5t 19-7l 326,0 q 10,0 19.25,7\nt 12.75,17.5l 44,119.5q 1,2.5 4.75,10.75t 5.75,13t 3.75,11.75t 1.75,12.5q0,26.5 -18.75,45.25t-45.25,18.75zM 32,448l0-128 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,128 l 96,0 l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 l 96,0 l0-128 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25\nt 9.5,22.75l0,128 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"moneybag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,511.5q-22.5,0.5 -112,0.5t-112-0.5q-63.5-1.5 -95.75-8.5t-32.25-23.5q0-10 10-40.25t 22-63.5t 22-76.5t 10-75.75q0-96 176-96t 176,96q0,32.5 10,75.75t 22,76.5t 22,63.5t 10,40.25q0,16.5 -32.25,23.5t-95.75,8.5zM 272,239.5q 34,0 56.75,8t 23.25,23.5l0,0.5 q0,6.5 4.75,11.25t 11.25,4.75\nt 11.25-4.75t 4.75-11.25q0-58.5 -96-63.5l0-16.5 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16.5 q-96,5 -96,63.5q0,11 3.25,19t 10.5,13.25t 15.75,8.5t 22.5,4.75t 27,2t 33,0.5q 34.5,0 57.25,8.25t 22.75,23.75t-22.75,23.75t-57.25,8.25q-34,0 -56.75-8t-23.25-23.5l0-0.5 q0-6.5 -4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25q0,58.5 96,63.5l0,16.5 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16.5 q 96-5 96-63.5q0-64 -112-64q-7,0 -17.5,0.25t-17,0.5t-14.5,0t-13-1.25t-9.5-2.75t-6.5-5t-2-7.75q0-15.5 23-23.75t 57-8.25zM 272,95.5q-30,0 -55,3q-10.5-21 -17.75-40.75\nt-7.25-26.25q0-8 13-16q 12,7 30.5,11.5t 36.5,4.5t 36.5-4.5t 30.5-11.5q 13,8 13,16q0,6.5 -7.25,26.25t-17.75,40.75q-25-3 -55-3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"googlewallet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-26.5,0 -45.25-18.75t-18.75-45.25q-4.5-40.5 -20.25-84.5t-43.75-75.5q-2.5,38 -10.75,77.75t-21.25,66.25q-12,24 -29,36t-35,12q-26.5,0 -45.25-18.75t-18.75-45.25q0-30 -15-66.25t-35.5-63t-37-35.25q-18-7.5 -29.25-23.5t-11.25-36q0-25.5 15.75-44.75t 32.25-19.25q 17.5,0 37,7.75t 32.5,21.75\nq 7,7.5 15,18.75t 22,32.25t 21.5,32q0-43.5 -4-74t-8-46.5t-4-24q0-26.5 18.75-45.25t 45.25-18.75q 19,0 34.25,10t 23.25,26.5q 33.5,34.5 101,141q-3.5-61 -15.5-105q-15-18 -15-40.5q0-26.5 18.75-45.25t 45.25-18.75q 16.5,0 27.75,8.25t 20.25,23.75q 2,3.5 5.25,10t 11.5,28.5t 14.5,46.25t 11.5,62.25t 5.25,77\nq0,72 -9.25,124.75t-22.75,83.25q-21.5,48 -64,48z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"squareapp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-40,0 -68-28.25t-28-67.75l0-320 q0-40 28-68t 68-28l 320,0 q 39.5,0 67.75,28t 28.25,68l0,320 q0,39.5 -28.25,67.75t-67.75,28.25zM 416,112q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,288 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl0-288 zM 304,320l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cashregister\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-416,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 416,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 256,416l-32,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 32,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25zM 448,352l-416,0 q-13.5,0 -22.75-9.5\nt-9.25-22.5l0-160 q0-13.5 25.25-38.75t 38.75-25.25l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 288,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q 13,0 38.5,25.25t 25.5,38.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 256,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 256,208q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,208q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 64,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 112,160l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75zM 352,80q0-6.5 -4.75-11.25t-11.25-4.75l-192,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75\nl 192,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 416,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 416,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"officechair\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,320l-48,0 q0,13 -9.5,22.5t-22.5,9.5l-64,0 l0,64 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l-96,0 l-96,0 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 80,0 l0-64 l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-128 q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,112 l 64,0 l 64,0 l0-32.5 q-18.5,0 -31.5-1.5t-26-5.75t-20.75-11t-12.75-18t-5-27.25q0-92 36-142t 92-50t 92,50t 36,142q0,16 -5,27.25t-12.75,18t-20.75,11t-26,5.75t-31.5,1.5l0,32.5 l 64,0 l 64,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,128 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 384,479.75q0,13.25 -9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75t 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5zM 288,479.75q0,13.25 -9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75t 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5zM 192,479.75q0,13.25 -9.5,22.75t-22.75,9.5t-22.5-9.5\nt-9.25-22.75t 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"appointment\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,512q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 464,384l-48,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6 3.75,10.25t 9.25,5.25q 1,0.5 3,0.5l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 240,416l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 144,320l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 304,288l-160,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,224l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,96l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,160l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 416,48q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 \nq 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l0,32 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l0,32 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l0,32 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 l0,32 l-224,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-32 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0-32 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0-32 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l0-32 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 352,0 q 13,0 22.5,9.25t 9.5,22.75l0,224 l-32,0 l0-208 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exchange\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,336q-6.5,0 -11.25-4.75t-4.75-11.25l0-0.5 q-0.5-15 -19.25-23.25t-44.75-8.25q-32,0 -49.5,32l 33.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-44.5,0 q-3.5,15.5 -3.5,32l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-44.5,0 q 5.5,27.5 20.5,45.75t 40,18.25q 26,0 44.75-8.25t 19.25-23.25\nl0-0.5 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25q0,32 -26,48t-70,16q-41.5,0 -64.5-26.75t-29-69.25l-18.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 q0-16 2.5-32l-18.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 26,0 q 23-64 86-64q 44,0 70,16t 26,48\nq0,6.5 -4.75,11.25t-11.25,4.75zM 464,192l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,28.5 q-5,3.5 -11.5,3.5t-11.5-3.5l-68-52q-5-3.5 -5-8.5t 5-8.5l 68-52q 5-3.5 11.5-3.5t 11.5,3.5l0,28.5 l 48,0 q 36,0 58,22t 22,58l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 183,476.5\nq-5,3.5 -11.5,3.5t-11.5-3.5l0-28.5 l-48,0 q-36,0 -58-22t-22-58l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 48,0 l0-28.5 q 5-3.5 11.5-3.5t 11.5,3.5l 68,52q 5,3.5 5,8.5t-5,8.5zM 112,128q 112,0 112,64q0,59 -96,63.5l0,16.5 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16.5 q-96-4.5 -96-63.5q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,0.5 q 0.5,15.5 23.25,23.5t 56.75,8q 34.5,0 57.25-8.25t 22.75-23.75t-22.75-23.75t-57.25-8.25q-112,0 -112-64q0-59 96-63.5l0-16.5 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16.5 \nq 96,4.5 96,63.5q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-0.5 q-0.5-15.5 -23.25-23.5t-56.75-8q-34.5,0 -57.25,8.25t-22.75,23.75t 22.75,23.75t 57.25,8.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"westernunion\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512q-67,0 -97.5-28.25t-30.5-83.75l0-112 l-16,0 l-48-96l-48,96l-80,0 l-64-288l 80,0 l 48,144l 32-144l 64,0 l 32,144l 48-144l 80,0 l-50,224l 18,0 l0,176 q0,15.5 12.25,31.75t 19.75,16.25q 11.5,0 21.75-14.75t 10.25-33.25l0-176 l 96,0 l0,176 q0,56 -29.5,84t-98.5,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alertpay\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509.5,367.5l-87,11.5q-17,1 -28.5-16q-12-17 -28.5-41.5l-135.5,22.5l 0.5,41.5q-2.5,24.5 -18.5,28l-111.5,15q-7,1.5 -10.75-5.25t-0.75-18.25l 97-384q 3-11.5 7.5-17t 10-4.5t 11.5,5.75t 13.5,13.75l 279.5,320q 5,6 6.75,12.75t0,11.25t-5.25,4.5zM 257,163.5q-6.5-8 -17.75-2.25t-11.25,14.25q0,12.5 1,113\nl 104-14.5q-69.5-102.5 -76-110.5zM 54,478.5l 136-18q 7.5-1.5 12.5-5.5l0,7.5 q-3,27 -20.5,30.5l-142.5,18.5q-17,3.5 -28-11.75t-7-29.75l 109-398.5q 5-18 13.75-27.5t 19.75-8l-109.5,408.5q-3.5,12.5 2.75,24.25t 13.75,9.75zM 353.5,414.5q 13.5,20 33,18.5l 96-16q-1,11.5 -7.75,23.25t-11.75,11.75l-97.5,12.5\nq-24,1.5 -36-16q-9-17 -23-42l-45.5,15.5q-0.5-16.5 -0.5-28.5l 63.5-9.5q 7,10.5 14.5,18t 11,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skrill\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-118,0 q 50.5-22 84.25-64.75t 33.75-89.75q0-33 -12-62t-35-52t-60.5-36.5t-84.5-14l0-0.5 q-10,0 -16.25-0.25t-16.25-2t-16-4.75t-10.75-9.5t-4.75-15.5q0-11.5 10.75-19.25t 24.25-10.25t 29-2.5q 96.5,0 160,32l0-128.5 q-18.5-18.5 -65.5-32l 97.5,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 64,155q0,33 12,62.25t 35,52.25t 60.5,36.5t 84.5,14q 10,0 16.25,0.25t 16.25,2t 16,4.75t 10.75,9.5t 4.75,15.5q0,11.5 -10.75,19.25t-24.25,10.25t-29,2.5q-96.5,0 -160-32l0,128 q 18.5,18.5 65.5,32l-97.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 118,0 \nq-50.5,22 -84.25,65t-33.75,90z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paypal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 510,217q-12.5,60.5 -61,97.75t-112,37.25l-96,0 q-19,0 -32,16l-30.5,127q-1.5,7 -7.75,12t-13.25,5l-79,0 q-7,0 -10.75-5t-2.25-12l 3.5-15l 56.5,0 q 7,0 13.25-5t 7.75-12l 30.5-127q 13-16 32-16l 96,0 q 63.5,0 112-37.25t 61-97.75q 2.5-11.5 3-24.5l0-0.5 l0-53.5 l 1.25,1t 1.75,1.5q 18,21 25.25,49\nt 0.75,59zM 273,288l-96,0 q-19,0 -32,16l-30.5,127q-1.5,7 -7.75,12t-13.25,5l-79,0 q-7,0 -10.75-5t-2.25-12l 95-410q 1.5-6.5 11.25-13.75t 17.25-7.25q 151,1.5 169.5,1.5q 32,0 71,12.75t 54.5,30.75q 18,21 25.25,49t 0.75,59q-12.5,60.5 -61,97.75t-112,37.25zM 273,96l-48,0 \nq-16,0 -21.25,3.25t-10.75,12.75l-16,61q-2,6.5 6.25,12.75t 15.25,6.25q 5,0 21.5-0.5t 20.5-0.5q 36,0 57.5-15.25t 21.5-39.25q0-20.5 -10.75-30.5t-35.75-10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mastercard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 320,160q-36.5,0 -64,25q-27.5-25 -64-25q-40,0 -68,28.25t-28,68t 28,67.75t 68,28q 36.5,0 64-25q 27.5,25 64,25q 39.5,0 67.75-28\nt 28.25-67.75t-28.25-68t-67.75-28.25zM 320,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calculator2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 208,128l-48,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 220.25,291.75q-3.75-3.75 -9.25-3.75t-9.5,3.5l-57.5,57.5l-57.5-57.5q-4-3.5 -9.5-3.5t-9.25,3.75t-3.75,9.25t 3.5,9.5l 57.5,57.5l-57,57q-4,4 -4,9.5t 4,9.5t 9.5,4\nt 9.5-4l 57-57l 57,57q 4,4 9.5,4t 9.5-4t 4-9.5t-4-9.5l-57-57l 57.5-57.5q 3.5-4 3.5-9.5t-3.75-9.25zM 432,128l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,320l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,384l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"price2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,340.5l-162.5,162.5q-9,9 -22.25,9t-22.25-9l-287-287q-9-9 -9-39.5l0-144 q0-13.5 9.5-22.75t 22.5-9.25l 144,0 q 31,0 40,9l 287,286.5q 9,9.5 9,22.5t-9,22zM 128,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\nM 202,276.5q-4.5-4.5 -10.75-4.5t-10.75,4.5t-4.5,11t 4.5,11l 129,129q 4.5,4.5 11,4.5t 11-4.5t 4.5-10.75t-4.5-10.75zM 228.5,228.5q-4.5,4.5 -4.5,11t 4.5,11l 129,129q 4.5,4.5 11,4.5t 11-4.5t 4.5-10.75t-4.5-10.75l-129.5-129.5q-4.5-4.5 -10.75-4.5t-10.75,4.5zM 427.5,310l-129.5-129.5q-4.5-4.5 -10.75-4.5t-10.75,4.5t-4.5,11t 4.5,11l 129,129\nq 4.5,4.5 11,4.5t 11-4.5t 4.5-10.75t-4.5-10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"law\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,503q-9,9 -21.5,9t-21.5-9l-224.5-224.5l-52.5,52.5l0,0.5 q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-130.5-130.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 0.5,0.5l 148.5-148.5l-0.5-0.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 130.5,130.5q 9,9 9,21.75t-9,21.75\nt-21.75,9t-21.75-9l-0.5-0.5l-52.5,52.5l 224.5,225q 9,9 9,21.5t-9,21.5zM 168.5,125l-43,43.5l 90.5,90.5l 43-43z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bank\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 224-64.5l 224,64.5q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 64,416q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13 -9.5,22.5t-22.5,9.5l-64,0 z\nM 224,416q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13 -9.25,22.5t-22.75,9.5l-64,0 zM 384,416q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13 -9.25,22.5t-22.75,9.5l-64,0 zM 32,448\nl 448,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"abacus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-17.5,0 q-5,32 -30.5,32t-30.5-32l-67,0 q-5,32 -30.5,32t-30.5-32l-99,0 q-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-17.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 17.5,0 q 5-32 30.5-32t 30.5,32l 35,0 q 5-32 30.5-32t 30.5,32l 99,0 q 5-32 30.5-32t 30.5,32l 67,0 q 5-32 30.5-32\nt 30.5,32l 17.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,96l-17.5,0 q-5,32 -30.5,32t-30.5-32l-131,0 q-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-17.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 17.5,0 q 5-32 30.5-32t 30.5,32l 35,0 \nq 5-32 30.5-32t 30.5,32l 35,0 q 5-32 30.5-32t 30.5,32l 131,0 q 5-32 30.5-32t 30.5,32l 17.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 16,448l 177.5,0 q 5-32 30.5-32t 30.5,32l 67,0 q 5-32 30.5-32t 30.5,32l 35,0 q 5-32 30.5-32t 30.5,32l 17.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-17.5,0 \nq-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-67,0 q-5,32 -30.5,32t-30.5-32l-177.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gift\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-208,0 l0-64 l 208,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 320,128l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 27,0 40.25,6.75t 16.75,20t 4.75,28t 9.25,35.25t 25,38l0-21.75 t 0.5-20.25t 1.75-20t 3.25-17.75t 5.25-16.5t 8-12.75t 11.25-10.5t 15-6t 19-2.5\nq 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 159.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 319.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 224,224l-208,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-7 4.75-11.5t 11.25-4.5l 208,0 l0,64 zM 224,512l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-224 l 192,0 l0,256 zM 480,256l0,224 q0,13 -9.25,22.5t-22.75,9.5l-160,0 l0-256 l 192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"briefcase3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,32 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 l 128,0 l0,32 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 400,224q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 zM 144,224q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 zM 480,224l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l-128,0 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-3.5 0.5-6.5q 2.5-24.5 20.75-41t 42.75-16.5l 64,0 l0-32 q0-40 28-68t 68-28l 64,0 q 40,0 68,28\nt 28,68l0,32 l 64,0 q 24.5,0 42.75,16.5t 20.75,41q 0.5,3 0.5,6.5q0,13 -9.25,22.5t-22.75,9.5zM 320,96q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 l 128,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"briefcase2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 l 192,0 l0,32 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 l 192,0 l0,192 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,287.75q0,13.25 -9.25,22.75t-22.5,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5zM 288,224l-64,0 q-13,0 -22.5,9.25\nt-9.5,22.75l-192,0 l0-96 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 l0-32 q0-40 28-68t 68-28l 64,0 q 40,0 68,28t 28,68l0,32 l 96,0 q 13,0 22.5,9.25t 9.5,22.75l0,96 l-192,0 q0-13.5 -9.25-22.75t-22.75-9.25zM 320,96q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,32 l 128,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"yen2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 407,105q-9-9 -21.75-9t-21.75,9l-107.5,81l-108-81q-9-9 -21.75-9\nt-21.75,9t-9,21.75t 9,21.75l 119.5,90l0,17.5 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-64 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nl-48,0 l0-32 l 48,0 q 6.5,0 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75l-48,0 l0-17.5 l 119-90q 9-9 9-21.75t-9-21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pound2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 224,288l 32,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-56,0 l-1-3\nq-7-14 -7-29q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5q0,14.5 4.5,32l-4.5,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 32,0 q0,17.5 -5,33t-11,24.5t-11,19.5t-5,19\nq0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-146,0 q 8-7.5 12.25-23.5t 5.25-28.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pound\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.75,224q-13.25,0 -22.5-9.25t-9.25-22.75q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5q0,26 8.5,64l 87.5,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-72.5,0 q 8.5,38 8.5,64q0,32 -17,64l 273,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320,0 q-13,0 -22.5-9.75t-9.5-22.75\nq0-7 5-16.75t 11-19.25t 11-25.5t 5-34q0-26.5 -9-64l-55,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 39.5,0 q-7.5-35.5 -7.5-64q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"euro2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,380l0,4 l-2-1q-33.5,59 -92.75,94t-129.25,35q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25q 70,0 129.25,35t 92.75,94l 2-1.5l0,4.5 q 32,57.5 32,123.5t-32,124zM 224,352q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5l-60.5,0 \nq-3.5-16 -3.5-32q0-15.5 3.5-32l 60.5,0 q 13,0 22.5-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5l-26,0 q 32-32 74-32q 30.5,0 56.25,17.5t 40.25,46.5l-0.5,0 q 3.5,7.5 12.75,11.75t 19.25,4.25q 13.5,0 22.75-9.25t 9.25-22.75q0-17 -14-26.5q-24.5-39 -62.75-62.25t-83.25-23.25q-48,0 -88.5,26.25t-64,69.75l-23.5,0 q-13,0 -22.5,9.5\nt-9.5,22.75t 9.5,22.5t 22.5,9.25l 2.5,0 q-2.5,17 -2.5,32t 2.5,32l-2.5,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 23.5,0 q 23.5,44 64,70t 88.5,26q 45,0 83.25-23t 62.75-62.5q 14-9.5 14-26.5q0-13 -9.25-22.5t-22.75-9.5q-10,0 -19.25,4.25t-12.75,11.75l 0.5,0.5q-14.5,29 -40.25,46.25t-56.25,17.25\nq-42,0 -74-32l 26,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dollar2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 160,192q0-32.5 26.5-48.25t 69.5-15.75t 69.5,11.5t 26.5,36.5q0,13.5 9.25,22.75\nt 22.5,9.25t 22.75-9.25t 9.5-22.75l0,0 l0,0 q0-26 -19.25-49.5t-48-38.5t-61.25-20.5q 0.5-2 0.5-3.5q0-13 -9.5-22.25t-22.75-9.25t-22.5,9.25t-9.25,22.25l0,1.5 l0,1 q-24.5,4 -46.5,13t-40.75,23.75t-29.75,37.75t-11,51q0,47 43,71.5t 117,24.5l 12.5,0 q 15.5,0 23,0.25t 19.25,1t 17.5,2.75t 12.25,5.5t 9,9t 2.5,13.5\nq0,33 -26.5,48.5t-69.5,15.5q-43.5,0 -69.75-11.5t-26.25-36.5q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,0 l0,0 q0,26.5 19.25,49.75t 48,38.25t 60.75,21l0,3 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q0-0.5 -0.25-1.25t-0.25-1.25q 25-3.5 47-12.5t 40.75-23.75t 29.75-37.75t 11-51.5q0-46.5 -43-71.25\nt-117-24.75l-13,0 q-15,0.5 -22.5,0.25t-19.25-1t-17.5-2.75t-12.25-5.5t-9-9.25t-2.5-13.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calculator\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nzM 256,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 z\nM 160,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 64,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 64,304\nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 448,96q0-13 -9.25-22.5t-22.75-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 zM 448,272\nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 64,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 zM 448,368q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"piggybank\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,43.5 -17,82.75t-47.5,69.75l 29.5,71.5q 5.5,13 -0.25,22.5t-19.75,9.5l-66.5,0 q-14,0 -27.5-9.5t-19-22.5l-4-9.5q-34,9.5 -68,9.5q-19.5,0 -38.5-3l-1.5,3q-5.5,13 -19,22.5t-27.5,9.5l-66.5,0 q-14,0 -19.75-9.5t-0.25-22.5l 22.5-55q-47.5-42 -65-105l-24.5,0 q-13,0 -22.5-18.75t-9.5-45.25t 9.5-45.25\nt 22.5-18.75l 25,0 q 10.5-37.5 32-68q-2.5-9.5 -7-23.5t-7.75-24.5t-6.25-23t-3.5-21.25t 1.25-16.25t 7.75-11.5t 16.5-4q 25.5,0 50,13.5t 42,36q 42-17.5 90-17.5q 77.5,0 140.5,42.5q 16-10.5 35.5-10.5q 26.5,0 45.25,18.75t 18.75,45.25q0,25.5 -17.5,44q 17.5,40.5 17.5,84zM 159.75,160q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75\nt 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"news\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 208,448l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 80,448\nl 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 80,352l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 256,80q0-7 -4.75-11.5t-11.25-4.5l-160,0 \nq-6.5,0 -11.25,4.5t-4.75,11.5l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 zM 272,320l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,128l-16,0 l0-16 q0-7 -4.75-11.5t-11.25-4.5t-11.25,4.5t-4.75,11.5l0,16 \nl-64,0 l0-16 q0-7 -4.75-11.5t-11.25-4.5t-11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.5t-4.75-11.25t-11.25-4.5zM 432,224l-128,0 q-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.5t-4.75-11.25t-11.25-4.5zM 432,320l-96,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,416l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"playstore\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 64,0 l0-63.5 l 64-64l0,127.5 l 192,0 l0-127.5 l 64,64l0,63.5 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 160,192l0,256 l 224-128zM 192,0.5l 128,0 l0,64 l-128,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coupon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l 5.5,4q-5.5,5 -5.5,12q0,6.5 4.75,11.25t 11.25,4.75l 26.5,0 l 8.5,6.5q-19.5,25.5 -51,25.5l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 31.5,0 51,25.5l-8.5,6.5l-26.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,7 5.5,12l-5.5,4l 64,48l-64,48l 64,48\nl-64,48l 64,48l-64,48l 64,48zM 272,480l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 352,384q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 176,480l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 80,480l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 32,416q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25\nl0-32 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 zM 32,320q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 zM 32,224q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,32 zM 48,80q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75zM 112,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 208,32l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 192,128q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 304,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 344.75,130.25q-5.25-3.25 -11.25-1.75t-9.5,7.5l-130,224.5q-3,5.5 -1.5,12t 7,9.75t 11.5,1.5t 9-7.25l 130.5-225q 3-5.5 1.25-11.75t-7-9.5zM 400,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,448l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 192.25,224q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 352.25,288q 13.25,0 22.5,9.25\nt 9.25,22.5t-9.25,22.75t-22.5,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"timeline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,456.5l-68.5,52q-4.5,3.5 -11.25,3.5t-11.25-3.5l0-28.5 l-233.5,0 q-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l 233.5,0 l0-29 q 4.5-3.5 11.25-3.5t 11.25,3.5l 68.5,52q 4.5,3.5 4.5,8.75t-4.5,8.75zM 375,124q-4.5,4 -11.25,4t-11.25-4l0-28 l-233.5,0 \nq-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l 233.5,0 l0-29 q 4.5-3.5 11.25-3.5t 11.25,3.5l 68.5,52q 4.5,3.5 4.5,8.5t-4.5,9zM 96,192q 17.5,0 32,8.75t 23,23.25l 114,0 q 8.5-14.5 23-23.25t 32-8.75q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75q-17.5,0 -32-8.75t-23-23.25l-114,0 q-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 320.25,288q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stockdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 392.5,352l-93,0 q-8,0 -9.75-4.75t-1.75-15.25l0-3 l 30.5-30.5l-79-79l-27,27.5q-9,9 -21.75,9t-21.75-9q0-0.5 -3.5-5.5l-61-61q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 44,44l 27.5-28q 9-9 21.75-9t 21.75,9q 2.5,2.5 5,8l 94.5,94l 30-30l 3.5,0 \nq 7,0 10.5,0.5t 6.5,3t 3,8l0,92.5 q0,9.5 -6.75,16.25t-16.75,6.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stockup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 392.5,287l-30-30l-94,94q-3,5.5 -5.5,8q-9,9 -21.75,9t-21.75-9l-27.5-27.5l-44,43.5q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 61-61q 3.5-5 3.5-5.5q 9-9 21.75-9t 21.75,9l 27,27.5l 79-79l-30.5-30.5l0-3 q0-7 0.25-10.5t 3-6.5t 8.25-3l 93,0 \nq 10,0 16.75,6.75t 6.75,16.25l0,92.5 q0,5.5 -3,8.25t-6.5,3t-10.5,0.25l-3.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stocks\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495,192l-35-34.5l-142,142.5q-2.5,7 -7,11.5q-10,10 -24.5,8q-13,0.5 -22-8.5q-4.5-4 -6.5-10.5l-18.5-18.5q-1,1.5 -27.25,30.25t-28.75,31.25q-10,10 -25,8q-13,0.5 -22-8.5q-4.5-4 -6.5-10.5l-2.5-2.5l-61,61q-0.5,0.5 -1.25,1t-1.25,1l0,55 l 416,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-448,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,277.5 l 34-34q 2-6 6.5-10.5q 9-9 22-8.5q 14.5-1.5 24.5,8q 4.5,4.5 7,12l 1.5,1.5l 50.5-50.5q 2-6 6.5-10.5q 9-9 22-8.5q 15-1.5 24.5,8q 4.5,4.5 7,12l 17.5,17.5l 130.5-130.5l-34-34q-0.5-18 11-17.5l 101,0 q 7,0.5 11.25,4.75t 4.75,11.25l0,101 \nq 0.5,12 -17,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"metro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481.5,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-317.5 q-1.5-18 15.5-31l 75-56q 17-13 41.5-11.5l 247.5,0 q 24.5-1.5 42,11.5l 75,56q 12.5,9.5 14.5,23q 1,2 1,5.5l0,320 q0,13 -9.5,22.5t-22.5,9.5zM 385.5,384l 32,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5z\nM 97.5,384l 32,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5zM 449.5,128q-2-6 -12-13.5l-56-42q-12-9 -29.5-8.5l-189,0 q-17.5-0.5 -29.5,8.5l-56.5,42q-7,5.5 -10,13.5l-1.5,0 l0,96 q0,13 9.5,22.5t 22.5,9.5l 320,0 q 13.5,0 22.75-9.5t 9.25-22.5l 0.5-96l-0.5,0 z\nM 97.5,448l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25zM 385.5,448l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384q-15.5,0 -32-6l0,6 q0,40 -28,68t-68,28l-192,0 q-40,0 -68-28t-28-68l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,37.5 q 15.5-5.5 32-5.5q 40,0 68,28t 28,68l0,96 q0,40 -28,68t-68,28zM 448,202.5q0-17.5 -14-30t-34-12.5q-8,0 -16,2.5l0,93.5 \nl0,61.5 q 8,2.5 16,2.5q 20,0 34-12.5t 14-30l0-75 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"women\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 435.5,331.75q-11.5,6.75 -24.25,3.25t-19.25-15l-36.5-63.5l0,63.5 l 59.5,79.5q 7,11.5 3.5,24.5t-15,19.5q-7.5,4.5 -16,4.5l-32,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-64,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-32,0 q-8.5,0 -16-4.5q-11.5-6.5 -15-19.5t 3.5-24.5l 59.5-79.5l0-63.5 \nl-36.5,63.5q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.75t 3.5-24.5l 64-111.5q 8.5-15.5 27.5-15.5l0-0.5 l 64,0 l0-24.5 q-8-5 -14-13.5q-17,11.5 -34,1.5q-11.5-6.5 -15-19.5t 3.5-24.5l 31-46q 6-16.5 22.25-25t 38.25-8.5t 38.25,8.5t 22.25,25l 31,46q 7,11.5 3.5,24.5t-15,19.5q-16.5,9.5 -33-1q-6,8.5 -15,14l0,23.5 l 64,0 l0,0.5 \nq 19,0 27.5,15.5l 64,111.5q 7,11.5 3.5,24.5t-15,19.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"men\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 435.5,331.75q-11.5,6.75 -24.25,3.25t-19.25-15l-36.5-63.5l0,223.5 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-64 q0-12 -9.75-22t-22.25-10q-14,0 -23,8.75t-9,23.25l0,64 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-223.5 l-36.5,63.5q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.75t 3.5-24.5\nl 64-111.5q 8.5-15.5 27.5-15.5l0-0.5 l 64,0 l0-24.5 q-32-20.5 -32-83q0-26 18-39.25t 46-13.25t 46,13.25t 18,39.25q0,65.5 -32,84l0,23.5 l 64,0 l0,0.5 q 19,0 27.5,15.5l 64,111.5q 7,11.5 3.5,24.5t-15,19.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128l-64,352q-2,12 -10.75,22t-21.25,10l-96,0 l-96,0 q-12.5,0 -21.25-10t-10.75-22l-64-352q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"freeway\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-16,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-384,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 288,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l 22.5,112l-86.5,0 l0-112 zM 160,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 l-86.5,0 zM 224,256l0,240 q0,6.5 -4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25l 48-240l 112,0 zM 448,496\nq0,6.5 -4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-240 l 112,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"road\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l 96-480q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 64,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l 96,480\nq0,6.5 -4.75,11.25t-11.25,4.75zM 288,96l-64,0 l0,128 l 64,0 l0-128 zM 224,288l0,128 l 64,0 l0-128 l-64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"railroad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l-256,0 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.25t-9.25-22.75l 96-464q0-3 0.25-5.25t 1-4t 1-2.75t 1.5-1.75t 1.75-1.25t 2.5-0.75t 2.5-0.25l 2.75,0 l 2.75,0 l 2.75,0 l 2.75,0 t 2.5,0.25t 2.5,0.75t 1.75,1.25t 1.5,1.75t 1,2.75t 1,4t 0.25,5.25l-2,16l 132,0 l-2-16q0-3 0.25-5.25t 0.75-4\nt 1-2.75t 1.75-1.75t 1.75-1.25t 2.5-0.75t 2.5-0.25l 2.75,0 l 2.75,0 l 2.75,0 l 2.75,0 t 2.5,0.25t 2.5,0.75t 1.75,1.25t 1.5,1.75t 1,2.75t 1,4t 0.25,5.25l 96,464q0,13.5 -9.5,22.75t-22.75,9.25zM 181,96l-9,64l 168,0 l-9-64l-150,0 zM 348.5,224l-185,0 l-9,64l 203,0 zM 366.5,352l-221,0 l-8.5,64l 238,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hospital\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,96 l-128,0 l0-96 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 \nq-13,0 -22.5,9.25t-9.5,22.75l0,320 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-96 l 128,0 l0,96 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-320 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emergency\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,224q0-13.5 -9.25-22.75t-22.75-9.25l-96,0 l0-96 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,96 l-96,0 \nq-13,0 -22.5,9.25t-9.5,22.75l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 96,0 l0,96 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-96 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"building\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-416 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,416 q0,13.5 9.5,22.75t 22.5,9.25l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 192,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 304,384l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,64 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"beer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448q-15.5,0 -32-6l0,6 q0,26.5 -18.75,45.25t-45.25,18.75l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-3.5 1-8q-1-5.5 -1-8q0-18 11.5-31.25t 29-15.75q 8.5-15 23.25-24t 32.25-9q 13.5,0 26,5.5q 10.5-5.5 22-5.5q 22,0 36.5,17q 18.5-17 43.5-17q 17.5,0 32.25,9t 23.25,24q 17.5,2.5 29,15.75t 11.5,31.25\nq0,2.5 -1,8q 1,4.5 1,8l0,38 q 16.5-6 32-6q 40,0 68,28t 28,68l0,128 q0,40 -28,68t-68,28zM 64,416q0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-224 l-256,0 l0,224 zM 416,234.5q0-17.5 -14-30t-34-12.5q-8,0 -16,2.5l0,187 q 8.5,2.5 16,2.5q 20,0 34-12.5t 14-30l0-107 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stamp2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,448l0,32 q-13,0 -22.5,9.25t-9.5,22.75l-32,0 q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.25t-9.5,22.75l-32,0 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.5t-9.5,22.5l-32,0 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.25t-9.5,22.75l-32,0 q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.25t-9.5,22.75l-32,0 q0-13.5 -9.25-22.75\nt-22.75-9.25l0-32 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5l0-32 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5l0-32 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13.5,0 22.75-9.25t 9.25-22.75l 32,0 q0,13.5 9.5,22.75t 22.75,9.25\nt 22.5-9.5t 9.25-22.5l 32,0 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l 32,0 q0,13 9.5,22.5t 22.75,9.5t 22.5-9.25t 9.25-22.75l 32,0 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.5t 9.25-22.5l 32,0 q0,13.5 9.5,22.75t 22.5,9.25l0,32 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l0,32 q-13,0 -22.5,9.25t-9.5,22.5\nt 9.5,22.75t 22.5,9.5l0,32 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l0,32 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25zM 447.5,112q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,320 q0,6.5 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-320 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448l0,32 q-13.5,0 -22.75,9.25t-9.25,22.75l-32,0 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.25t-9.5,22.75l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l-32,0 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25\nt-9.25,22.75l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25l0-32 q 13,0 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13,0 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25l0-32 q 13.5,0 22.75-9.5t 9.25-22.5l 32,0 q0,13 9.25,22.5\nt 22.5,9.5t 22.75-9.5t 9.5-22.5l 32,0 q0,13 9.25,22.5t 22.75,9.5t 22.75-9.5t 9.25-22.5l 32,0 q0,13 9.25,22.5t 22.75,9.5t 22.75-9.5t 9.25-22.5l 32,0 q0,13 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5l 32,0 q0,13 9.25,22.5t 22.75,9.5l0,32 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l0,32 q-13.5,0 -22.75,9.25t-9.25,22.5\nt 9.5,22.75t 22.5,9.5l0,32 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l0,32 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5zM 448,112q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,320 q0,6.5 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-320 zM 403,416\nl-262,0 q-5.5,0 -9.25-3.75t-3.75-9.25l0-262 q0-5.5 3.75-9.25t 9.25-3.75l 262,0 q 5.5,0 9.25,3.75t 3.75,9.25l0,262 q0,5.5 -3.75,9.25t-9.25,3.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-320,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 q-13,0 -22.5-9.5t-9.5-22.5l0-384 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,384 q0,13 -9.25,22.5t-22.75,9.5zM 96,384l 32,0 q 13.5,0 22.75-9.5t 9.25-22.75\nt-9.25-22.5t-22.75-9.25l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5zM 448,96q0-13.5 -9.5-22.75t-22.5-9.25l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 zM 416,320l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l 32,0 q 13.5,0 22.75-9.5\nt 9.25-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"roadsignleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-192,0 l0,224 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-224 l-79.5,0 l-0.5,0 l-16,0 q-7.5,0 -11.5-4q-4.5-1.5 -6-3.5l-103-71q-7.5-7.5 -7.5-17.75t 7.5-17.75l 103-71q 2-2 7-3.5q 3.5-3.5 10.5-3.5l 7,0 q 9-0.5 18.5,0l 70.5,0 l0-32 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,32 l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 \nq0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shipping\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,384l-41,0 q 9,15.5 9,32q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-16.5 9-32l-146,0 q 9,15.5 9,32q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-16.5 9-32l-41,0 q-13,0 -22.5-9.25t-9.5-22.75l0-127 q-0.5-14.5 9.5-25l 62.5-62.5q 11-10.5 26.5-9.5l 93.5,0 l0-32 \nq0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13 -9.25,22.5t-22.75,9.5zM 192.5,176q0-6.5 -4.75-11.25t-11.25-4.75l-78.5,0 l-65.5,65.5l0,46.5 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"airplane\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 515.5,384q 2.5,0 4,2.25t 1.5,5.75l0,16 q0,3.5 -1.5,5.75t-4,2.25l-64.5,26l-26,64.5q0,2.5 -2.25,4t-5.75,1.5l-16,0 q-3.5,0 -5.75-1.5t-2.25-4l0-57 l-142-141.5l-50,188q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-7,0 -11.5-4.75t-4.5-11.25l0-302 l-90-89.5q-12.5-13 -28.25-52.25t-6.5-48.75t 48.75,6.25\nt 52,28.75l 90,89.5l 302,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-188,50l 142.5,142l 56,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alarm2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-32,0 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-256,0 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-352 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0-32 q0-13.5 9.25-23t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,23l0,32 l 128,0 l0-32 q0-13.5 9.5-23t 22.5-9.5l 64,0 \nq 13.5,0 22.75,9.5t 9.25,23l0,32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,352 q0,13 -9.25,22.5t-22.75,9.5zM 480,160q0-13.5 -9.25-22.75t-22.75-9.25l-384,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,224 q0,13 9.25,22.5t 22.75,9.5l 384,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-224 zM 432,352l-64,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-0.5 l0-127.5 q0-7 4.75-11.5t 11.25-4.5l 64,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,128 q0,6.5 -4.75,11.25t-11.25,4.75zM 416,224l-32,0 l0,96 l 32,0 l0-96 zM 320,272q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,32 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-0.5 l0-63.5 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-32 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.5t 4.75-11.25t 11.25-4.5l 32,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,0 l0,64 zM 208,320q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 208,256q-6.5,0 -11.25-4.75t-4.75-11.5t 4.75-11.25t 11.25-4.5\nt 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75zM 144,352q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,48 l 32,0 l0-48 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,128 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wave\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,263.5q-26.5-9 -59-7.5t-62.75,10.25t-65,19.5t-66,20.25t-66.25,12.75t-65-2.75q-27-5.5 -45.5-17.75t-18.5-26.25t 19-21t 45-2q 21.5,9.5 51.5,8t 60.5-10.25t 66.5-19.5t 69.5-20.5t 69.5-13t 66.5,2.75q 27,5.5 45.5,17.75t 18.5,25.75q0,15 -19.75,23t-44.25,0.5zM 448,71.5q-26.5-9 -59-7.5\nt-62.75,10.25t-65,19.5t-66,20.25t-66.25,12.75t-65-2.75q-27-5.5 -45.5-17.75t-18.5-26.25t 19-21t 45-2q 21.5,9.5 51.5,8t 60.5-10.25t 66.5-19.5t 69.5-20.5t 69.5-13t 66.5,2.75q 27,5.5 45.5,17.75t 18.5,25.75q0,15 -19.75,23t-44.25,0.5zM 64,441q 21.5,9.5 51.5,8t 60.5-10.25t 66.5-19.5t 69.5-20.5t 69.5-13\nt 66.5,2.75q 27,5.5 45.5,17.75t 18.5,25.75q0,15 -19.75,23t-44.25,0.5q-26.5-9 -59-7.5t-62.75,10.25t-65,19.5t-66,20.25t-66.25,12.75t-65-2.75q-27-5.5 -45.5-17.75t-18.5-26.25t 19-21t 45-2z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wave2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-26,0 -46.5-13t-33.5-35q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25t-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75q 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25t 37,34.75q 1,1 4.25,4\nt 4.25,3.75t 3.5,2.75t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 q-31,18 -64,18zM 368,336q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25t-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75\nq 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25t 37,34.75q 1.5,1 4.5,3.75t 4,3.75t 3.5,3t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 q-31,18 -64,18q-26,0 -46.5-12.75t-33.5-35.25zM 368,208q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25\nt-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75q 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25t 37,34.75q 1,1 4.25,4t 4.25,3.75t 3.5,2.75t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 \nq-31,18 -64,18q-26,0 -46.5-12.75t-33.5-35.25zM 368,80q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25t-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75q 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25\nt 37,34.75q 1.5,1 4.5,3.75t 4,3.75t 3.5,3t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 q-31,18 -64,18q-26,0 -46.5-12.75t-33.5-35.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"navigation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-20,0 -48-32l-80-64q-5-3 -17.5-11t-18-11.25t-14-6.5t-14.5-3.25q-8,0 -17.5,4.25t-25.75,14.75t-20.75,13l-80,64q-1.5,1.5 -7,6.75t-7.75,7.5t-7.5,6.5t-8.75,6t-8.25,3.5t-8.75,1.75q-13.5,0 -22.75-9.5t-9.25-22.5l 192-448q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5\nl 192,448q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"automobile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,407l0,41 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-32 l-320,0 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-41 q-14.5-8.5 -23.25-23t-8.75-32l0-96 q0-14 11.5-32.25t 29-34.75l 23.5-93q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l 23.5,93\nq 17.5,16.5 29,34.75t 11.5,32.25l0,96 q0,17.5 -8.75,32t-23.25,23zM 64,320.25q0,13.25 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75zM 400,128q0-13 -9.25-22.5t-22.75-9.5l-224,0 q-13,0 -22.5,9.5t-9.5,22.5l-16,64q0,13.5 9.25,22.75t 22.75,9.25l 256,0 \nq 13.5,0 22.75-9.25t 9.25-22.75zM 416.25,288q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,316l0,132 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-132 q-55.5-13.5 -91.75-66.25t-36.25-121.75q0-73 41-128l 238,0 q 41,55 41,128q0,69 -36.5,121.75t-91.5,66.25zM 358,32l-204,0 q-26,43 -26,96\nq0,33.5 10.5,64l 234.5,0 q 11-30.5 11-64q0-53 -26-96z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scope2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 288,461.5q 67-10.5 115-58.5t 58.5-115l-65.5,0 q-9,40.5 -38.5,69.75t-69.5,38.75\nl0,65 zM 288,224l 58.5,0 q-7.5-20.5 -22.75-35.75t-35.75-22.75l0,58.5 zM 346.5,288l-58.5,0 l0,58 q 20.5-7 35.75-22.5t 22.75-35.5zM 224,288l-58.5,0 q 7.5,20 22.75,35.5t 35.75,22.5l0-58 zM 224,461.5l0-65 q-40.5-9.5 -69.75-38.75t-38.25-69.75l-65.5,0 q 10.5,67 58.5,115t 115,58.5zM 224,50.5q-67,10.5 -115,58.5t-58.5,115l 65.5,0 \nq 9-40.5 38.25-70t 69.75-38.5l0-65 zM 165.5,224l 58.5,0 l0-58.5 q-20.5,7.5 -35.75,22.75t-22.75,35.75zM 288,50.5l0,65 q 40,9 69.5,38.5t 38.5,70l 65.5,0 q-10.5-67 -58.5-115t-115-58.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"martini\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,288l0,160 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-160 l-219.5-239.5q-4.5-8 -4.5-16q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75q0,8 -4.5,16zM 32,32.5l 119.5,127.5l 43.5,0 l 3.5-6.5l-36.5-65.5q-3-6 -1.25-12.25t 7.5-9.5\nt 12-1.5t 9.75,7.25l 33,59.5q 9-3.5 17-3.5q 15.5,0 27.75,9t 17.25,23l 75.5,0 l 119.5-127.5l-448,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coffee\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 339,416l-166,0 q-23.5-16.5 -44.5-38q-17,6 -32.5,6q-40,0 -68-28.25t-28-67.75q0-31.5 18.5-56.25t 47.5-34.75q 0.5-3 0.5-5l 379,0 q 2.5,17.5 2.5,64q0,22.5 -10.5,47t-27.5,45.5t-34.75,37.75t-36.25,29.75zM 64,256q0-7.5 0.5-23.5q-15,8.5 -23.75,23.25t-8.75,32.25q0,26.5 18.75,45.25t 45.25,18.75q 2,0 8-1\nq-40-50.5 -40-95zM 288,96q0,11.5 4.5,27.5q 19.5,14 25.5,36.5l-32,0 q-1-7 -2.5-12q-27.5-19 -27.5-52q0-26.5 18.75-45.25t 45.25-18.75q 7.5,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 192,64q0,11.5 4.5,27.5q 27.5,19.5 27.5,52.5q0,7 -2.5,16l-31.5,0 q 2-9 2-16q0-12 -4.5-28q-27.5-19 -27.5-52q0-26.5 18.75-45.25\nt 45.25-18.75q 7.5,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 384,512l-256,0 q-27.5,0 -58-10.75t-50.25-26t-19.75-27.25l 512,0 q0,12 -19.75,27.25t-50.25,26t-58,10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 l0-384 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 416,512l-320,0 l0-384 l 32,0 l0-32 q0-40 28-68.25t 68-28.25l 64,0 q 40,0 68,28.25t 28,68.25l0,32 l 32,0 l0,384 zM 320,96q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 l 128,0 l0-32 zM0,480l0-320 \nq0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,384 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alarm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,160l-9,0 q-19.5-48 -56.25-84.75t-84.75-55.75l0-9.5 q 7.5-10 32-10q 53,0 90.5,37.5t 37.5,90.5q0,24.5 -10,32zM 480,288q0,77 -47.5,138l 47.5,65.5l-20.5,20.5l-65.5-47.5q-61,47.5 -138,47.5t-138-47.5l-65.5,47.5l-20.5-20.5l 47.5-65.5q-47.5-61 -47.5-138q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75\nt 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 336,224l-49,71.5q-2.5,10.5 -11.25,17.5t-19.75,7t-19.5-6.5\nt-11-17l-65.5-88.5l0-16 l 16,0 l 80.5,59.5l 63.5-43.5l0,0 l 16,0 l0,16 l0,0 zM 19,160l-9,0 q-10-7.5 -10-32q0-53 37.5-90.5t 90.5-37.5q 24.5,0 32,10l0,9.5 q-48,19.5 -84.75,56t-56.25,84.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flag2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,32.5l-128,127.5l 128,128l0,0 q0,13.5 -9.5,22.75t-22.5,9.25l0,0 l-288,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-256 q0-13 9.25-22.25t 22.75-9.25l 288,0 l0,0 q 13,0 22.5,9.25t 9.5,22.25l0,0.5 zM 192,480.25q0,13.25 -9.25,22.5t-22.75,9.25l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-416 \nq0-13 9.5-22.25t 22.75-9.25t 22.5,9.25t 9.25,22.25l0,416 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"storm2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,288l 224,224l-416-192l 128-96l-224-224l 416,192z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"storm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 408.5,381.5l-56.5-141.5q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l-64,0 l-32-80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-11,0 -15,11q-33-40 -33-91q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25\nt 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5q0,46.5 -29.5,81.75t-74,43.75zM 128,320l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,37 q-29-14 -46.5-41t-17.5-60q0-28.5 13.5-53t 36.5-40q 25.5,51.5 78,76.5l0,64.5 zM 160,256l 64,160l-64,0 l0,96 l-64-160l 64,0 l0-96 zM 320,256l 64,160l-64,0 l0,96 l-64-160l 64,0 \nl0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384l-320,0 q-42-4.5 -69-36.5t-27-75.5q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5q0,44 -27.5,80.25\nt-68.5,47.75zM 86.5,416l 61,0 l-31,80q-6,11.5 -17.25,15t-21.25-3.25t-13-19.5t 3-24.75zM 214.5,416l 61,0 l-31,80q-6,11.5 -17.25,15t-21.25-3.25t-13-19.5t 3-24.75zM 342.5,416l 61,0 l-31.5,80q-5.5,11.5 -16.75,15t-21.25-3.25t-13-19.5t 2.5-24.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"snow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,231.5q-3,6 -8.5,8t-10.5-1.5l-50.5-34l-25,14.5l0,75 l 25,14.5l 50.5-34q 5-3.5 10.5-1.5t 8.5,8t 1.5,12.5t-6.5,10l-34,23l 25,14.5q 11.5,6.5 14.75,19.25t-3.25,24.25t-19.25,15t-24.25-3.5l-16-9.5l0,30 q0,6.5 -4.75,11.25t-11.5,4.75t-11.25-4.75t-4.5-11.25l0-48.5 l-35-20l-61.5,34.5l0,44.5 l 40.5,23.5\nq 5.5,3.5 7.25,10t-1.5,12t-9.5,7.25t-11.75-1.25l-25-15l0,17 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-17 l-24.5,15q-5.5,3 -11.75,1.25t-9.5-7.25t-1.5-12t 7.25-10l 40-23.5l0-44.5 l-61-34.5l-35,20l0,48.5 q0,6.5 -4.5,11.25t-11.25,4.75t-11.5-4.75t-4.75-11.25l0-30 l-16,9.5q-11.5,7 -24.25,3.5\nt-19.25-15t-3.25-24.25t 14.75-19.25l 25-14.5l-34-23q-5-3.5 -6.5-10t 1.5-12.5t 8.5-8t 10.5,1.5l 50.5,34l 25-14.5l0-75 l-25-14.5l-50.5,34q-5,3.5 -10.5,1.5t-8.5-8t-1.5-12.5t 6.5-10l 34-23l-25-14.5q-11.5-6.5 -14.75-19.25t 3.25-24.25t 19.25-15t 24.25,3.5l 16,9.5l0-30 q0-6.5 4.75-11.25t 11.5-4.75t 11.25,4.75t 4.5,11.25l0,48.5 \nl 35,20l 61-34.5l0-44.5 l-40-23.5q-5.5-3.5 -7.25-10t 1.5-12t 9.5-7.25t 11.75,1.25l 24.5,15l0-17 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,17 l 25-15q 5.5-3 11.75-1.25t 9.5,7.5t 1.5,12t-7.25,9.75l-40.5,23.5l0,44.5 l 61.5,34.5l 35-20l0-48.5 q0-6.5 4.5-11.25t 11.25-4.75t 11.5,4.75t 4.75,11.25l0,30 l 16-9.5q 11.5-7 24.25-3.5\nt 19.25,15t 3.25,24.25t-14.75,19.25l-25,14.5l 34,23q 5,3.5 6.5,10t-1.5,12.5zM 322,224l-64-32l-63.5,32l0,64 l 63.5,32l 64-32l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"watertap\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-48,0 l-80,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q0-32 -64-32l-32,0 q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l-96,0 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l 96,0 q0-13.5 9.5-22.75\nt 22.5-9.25l0-35 q-13-4.5 -21.75-15.75t-9.75-25.25q-17,5 -36.5,8.5t-28,3.5q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25q 10.5,0 35,4.75t 41,11.75q 14.5-16.5 36-16.5t 36,16.5q 16.5-7 41-11.75t 35-4.75q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25q-8.5,0 -28-3.5t-36.5-8.5q-1,14 -9.75,25.25\nt-21.75,15.75l0,35 q 13.5,0 22.75,9.25t 9.25,22.75l 32,0 q 53.5,0 96.75,19t 69.25,55.75t 26,85.25q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 480,464q0,20 -14,34t-34,14t-34-14t-14-34q0-12 11.25-31.75t 23-34t 13.75-14.25q 3,0 14.75,14.25t 22.5,34t 10.75,31.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cactus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320l-64,0 l0,176 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-112 l-64,0 q-39.5,0 -67.75-28t-28.25-68l0-80 q0-20 14-34t 34-14t 34,14t 14,34l0,80 l 64,0 l0-238 q0-21 14-35.5t 34-14.5t 34,14.5t 14,35.5l0,174 l 64,0 l0-112 q0-20 14-34t 34-14t 34,14t 14,34l0,112 \nq0,39.5 -28,67.75t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clock2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,224l-96,0 l0-128 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,160 q0,13.5 9.25,22.75t 22.75,9.25l 128,0 \nq 13,0 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trafficlight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,192q 13,0 22.5,9.25t 9.5,22.75l-96,64l0,64 l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l-96,64l0,32 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-96-64q0-13.5 9.5-22.75t 22.5-9.25l 64,0 l0-64 l-96-64q0-13.5 9.5-22.75t 22.5-9.25l 64,0 l0-64 l-96-64q0-13.5 9.5-22.75t 22.5-9.25\nl 64,0 q0-13.5 9.5-22.75t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l-96,64l0,64 l 64,0 zM 256,480q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 256,32q-26.5,0 -45.25,18.75t-18.75,45.25\nt 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 256,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cigarette\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,256q0,18 4.5,41.5q 0.5,2.5 8.25,17.75t 13.5,36.75t 5.75,48l-32-32q-4-32.5 -16-48q-11.5-12 -13.75-23.75t-2.25-40.25q0-40 18.75-68t 45.25-28q 7.5,0 16,3.5q-21,8 -34.5,33.75t-13.5,58.75zM 368,102.5q0,19 4.5,44.5q 27.5,30.5 27.5,83.5l0,73.5 l-32-32q 0.5-3.5 0.5-11.5t-0.25-17.75t-0.25-12.25\nq0-38.5 -4.5-44.5q-27.5-31 -27.5-83.5q0-42.5 18.75-72.5t 45.25-30q 7,0 16,3.5q-21,9 -34.5,36.25t-13.5,62.75zM 507,484.5l-22.5,22.5q-5,5 -11.75,5t-11.25-5l-329-328.5q-4.5-4.5 -4.5-11.25t 4.5-11.75l 23-23q 5-4.5 11.75-4.5t 11.25,4.5l 329,329q 4.5,4.5 4.5,11.25t-5,11.75zM 128,112l-16,16q-1.5,1.5 -3.75,4.25\nt-3.75,4.5t-3.5,3.25t-4,1.25t-3.5-1.75l-88.5-89q-5-4.5 -5-11.25t 5-11.75l 22.5-23q 5-4.5 11.75-4.5t 11.25,4.5l 89,89q 1.5,1.5 1.75,3.5t-1.25,4t-3.25,3.5t-4.5,3.75t-4.25,3.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wheel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 66.5,225q-2.5,17 -2.5,31q0,71 45.75,124.25t 114.25,64.75l0-96 q-42-8.5 -69-34.25t-27-58.75q0-5 1-10.5\nq-39-7.5 -62.5-20.5zM 256,64q-54,0 -99.25,27.75t-70.25,73.75q 59.5,26.5 169.5,26.5t 169.5-26.5q-25-46 -70.25-73.75t-99.25-27.75zM 383,245.5q 1,5.5 1,10.5q0,33 -27,59t-69,34l0,96 q 68.5-11.5 114.25-64.75t 45.75-124.25q0-14 -2.5-31q-23,13 -62.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkin2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10 -14,17.5l-144.5,112l-143.5-112q-7-7.5 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 255.75,320q-39.75,0 -67.75-28.25t-28-68t 28-67.75t 67.75-28t 68,28t 28.25,67.75t-28.25,68t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place2delete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10 -14,17.5l-144.5,112l-143.5-112q-7-7.5 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 352,256l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place2add\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10.5 -14,17.5l-144.5,112l-143.5-112q-7-7 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58,58.25t-21.25,80.25t 21.25,80.25t 58,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 352,256l-64,0 l0,64 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-64 l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-64 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,64 l 64,0 \nq 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10 -14,17.5l-144.5,112l-143.5-112q-7-7.5 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 49.75-89.75q 28-28.5 63.75-43.25t 72.25-14.75t 72.25,14.75t 63.75,43.25q 36.5,38.5 49.75,89.75t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5\nt-90.75-37.5zM 269.5,256q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"placedelete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 49.75-89.75q 28-28.5 63.75-43.25t 72.25-14.75t 72.25,14.75t 63.75,43.25q 36.5,38.5 49.75,89.75t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5\nt-90.75-37.5zM 333.5,224l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"placeadd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 50-89.5t 86.25-51.75t 99,0t 86.25,51.75t 50,89.5t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5t-90.75-37.5zM 333.5,224l-32,0 l0,32 q0,13 -9.5,22.5\nt-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 32,0 l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 50-89.5t 86.25-51.75t 99,0t 86.25,51.75t 50,89.5t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5t-90.75-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gpson\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-35,0 q-10,60 -53.25,103.5t-103.75,53.5l0,35 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-35 q-60.5-10 -103.75-53.5t-53.25-103.5l-35,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25l 35,0 q 10-60 53.25-103.5t 103.75-53.5l0-35 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,35 \nq 60.5,10 103.75,53.5t 53.25,103.5l 35,0 q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25zM 256,128q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256.25,352q-39.75,0 -68-28t-28.25-67.75t 28.25-68t 68-28.25t 67.75,28.25t 28,68t-28,67.75\nt-67.75,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gpsoff\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-35,0 q-10,60 -53.25,103.5t-103.75,53.5l0,35 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-35 q-60.5-10 -103.75-53.5t-53.25-103.5l-35,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 35,0 q 10-60 53.25-103.5t 103.75-53.5l0-35 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,35 \nq 60.5,10 103.75,53.5t 53.25,103.5l 35,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 256,128q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"port\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-37-37q-35.5,47 -88.75,74t-114.25,27t-114.25-27t-88.75-74l-37,37q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l-29.5,29.5q 22,31.5 54.5,52.25t 71,27.25l0-157 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-38 \nq-28.5-10 -46.25-34.5t-17.75-55.5q0-40 28-68t 68-28t 68,28.25t 28,67.75q0,31 -17.75,55.5t-46.25,34.5l0,38 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-32,0 l0,157 q 38.5-6.5 71-27.25t 54.5-52.25l-29.5-29.5q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 255.75,64q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.5t-9.5-22.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forest2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,224q0,31 -18,55.5t-46.5,34.5l 0.25,2.25t 0.25,3.75q0,26.5 -18.75,45.25t-45.25,18.75l0,96 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 q-26.5,0 -45.25-18.75t-18.75-45.25q-26.5,0 -45.25-18.75t-18.75-45.25q0-18 9.25-32.75t 24.25-23.25q-33.5-28.5 -33.5-72q0-40 28-68\nt 68-28q 1.5,0 3.75,0.25t 3.25,0.25q 40.5-32.5 89-32.5q 50.5,0 92,35q 11-3 20-3q 33,0 56.5,23.5t 23.5,56.5q0,30 -20.5,53q 20.5,26 20.5,59z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"roadsign\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504.5,177.5l-103,71q-2,2 -6.5,3.5q-3.5,4 -11,4l-16,0 l-0.5,0 l-79.5,0 l0,224 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-224 l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 70.5,0 q 9.5-0.5 18.5,0l 7,0 q 7,0 10.5,3.5q 5,1.5 7,3.5\nl 103,71q 7.5,7.5 7.5,17.75t-7.5,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 q0-13.5 9.25-22.75t 22.75-9.25l 128,288q0,13 -9.25,22.5t-22.75,9.5zM 384,512l-256,0 q-27.5,0 -58-21.75t-50.25-52t-19.75-54.25l 256,0 l0-368 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,368 l 224,0 q0,24 -19.75,54.25t-50.25,52t-58,21.75z\nM 192,352l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l 160-288q 13.5,0 22.75,9.25t 9.25,22.75l0,256 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stopwatch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,99.5l-23.5,23.5q-5,5 -12,5t-11.5-5l-18-17.5l-26,26q 30,31 46.75,71.5t 16.75,85q0,45.5 -17.5,87t-47.5,71.5t-71.5,47.75t-87,17.75t-87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-44.5 17-85t 47-71.5l-26-26l-18,17.5q-4.5,5 -11.5,5t-12-5l-23.5-23.5q-5-5 -5-12t 5-11.5\nl 71-71q 4.5-5 11.5-5t 12,5l 23.5,23.5q 5,5 5,12t-5,11.5l-17.5,18l 29.5,30q 41-26.5 89.5-33.5l0-2 l-16.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-7 4.75-11.5t 11.25-4.5l 96,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,2 q 48,7 89,33.5l 29.5-30l-17.5-18q-5-4.5 -5-11.5t 5-12l 23.5-23.5\nq 5-5 12-5t 11.5,5l 71,71q 5,4.5 5,11.5t-5,12zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 288,288q0,13.5 -9.25,22.75t-22.75,9.25q-13,0 -22.5-9.25\nt-9.5-22.5t 9.5-22.75t 22.5-9.5q 1.5,0 5,0.5l 75-64l0-0.5 l 16,0 l0,16 l-64.5,75.5q 0.5,3.5 0.5,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"umbrella\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 501,224q-10.5-14.5 -28.75-23.25t-40-8.75t-40.25,8.75t-29,23.25l-38,0 q-13-18 -37-26.5l0,218.5 q0,39.5 -28,67.75t-67.75,28.25t-68-28.25t-28.25-67.75q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.5l0-218.5 q-23.5,8.5 -37,26.5l-38,0 q-10.5-14.5 -29-23.25\nt-40.25-8.75t-40,8.75t-28.75,23.25l-11,0 q0-48 29.5-89.75t 80.75-68.25t 113.75-32.5l0-1.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,1.5 q 62.5,6 113.75,32.5t 80.75,68t 29.5,90l-11,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forest\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467.5,411.5q-6.5,3.5 -15.5,4l-0.5,0.5l-128,0 l0,64 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 l-128,0 q0-0.5 -0.5-0.5q-9-0.5 -15.5-4q-11.5-6.5 -15-19t 3.5-24l 74.5-112.5l-15,0 l0-1 q-9.5,0.5 -16-3.5q-11.5-6.5 -15-19t 3.5-24l 160-192.5q0-0.5 2-2.5l 2.75-2.75t 2.75-2.5t 3.25-2.5t 3.5-2.25t 4-2t 4.25-1t 5-0.5t 5,0.5\nt 4.25,1t 4,2t 3.5,2.25t 3.25,2.5t 2.75,2.5l 2.75,2.75l 2.5,2.5l 160,192.5q 6.5,11.5 3,24t-15,19q-6.5,4 -16,3.5l0,1 l-15,0 l 75,112.5q 6.5,11.5 3,24t-15,19z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gasstation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0,64 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-32,0 l-224,0 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l0-415.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 q 13,0 22.5,9.25t 9.5,22.75l0,287.5 \nq 13.5,0 22.75-9.25t 9.25-22.75l0-224 q0-26.5 18.75-45t 45.25-18.5l 32,0 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.5t-22.75,9.25zM 288,96q0-13 -9.25-22.5t-22.75-9.5l-160,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 160,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tent\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5l-128.5,0 q-11.5,0 -21.5-9.75t-10-21.75q0-9 4.5-16.5l 212.5-298l-84.5-118q-7-11.5 -3.5-24.25t 15-19.25t 24.25-3.25t 19.25,14.75l 68.5,95.5l 68-96\nq 6.5-11 19.5-14.5t 24.25,3t 14.75,19.25t-3,24.25l-84.5,118.5l 212.5,298.5q 4.5,8 4.5,15.5q0,12 -9.75,22t-22.25,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"knife\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495.75,495.25q-12.75,12.75 -29.25,16t-35.25-4.75t-36.25-27l-112-131.5l-15,14q-6.5,6 -15.5,6t-15-6q-31.5-28.5 -60.25-58.75t-52.25-58.5t-43.75-55.75t-35.25-51.75t-25.5-46t-15.5-38.5t-4.5-28.75t 6.75-17.75t 15.5-5.75t 15.25,5.5l 186,171.5l 255.5,217q 19,17 27.25,35.75t 5,35.5t-16,29.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spoon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 497.25,495.25q-12.75,12.75 -29.25,16t-35.25-4.75t-36.25-27l-179-209.5q-23,14.5 -47.75,17.75t-51.5-6.75t-51.75-35q-31-31 -48.75-72.75t-15.75-82t 26.25-64.25t 64.5-26t 82,15.75t 72.75,48.75q 24.5,24.5 34.75,51.5t 6.75,51.5t-18,48l 210,178q 19,17 27.25,36t 5,35.5t-16,29.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scope\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 288,66.5l0,62.5 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-62.5 \nq-60,10 -103.5,53.5t-53.5,104l 61,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-61,0 q 10,60 53.5,103.5t 103.5,53.5l0-61 q0-13 9.25-22.25t 22.75-9.25t 22.75,9.25t 9.25,22.25l0,61 q 60-10 103.5-53.5t 53.5-103.5l-61.5,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 61.5,0 \nq-10-60.5 -53.5-104t-103.5-53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"truck\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,446.5l0,33.5 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-320,0 l0,32 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-33.5 q-17-2.5 -24.5-13.5t-7.5-33l0-320 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,167 q 16-23.5 32-38l0-177 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.75l0,177 \nq 16,14.5 32,38l0-167 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,320 q0,22 -7.5,33t-24.5,13.5zM 160,352q0,13 9.25,22.5t 22.75,9.5l 128,0 q 13,0 22.5-9.5t 9.5-22.5l0-64 q0-13.5 -9.5-22.75t-22.5-9.25l-128,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,64 zM 95.75,320q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75\nt 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 384,96q0-13.5 -9.5-22.75t-22.5-9.25l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,64 q0,13 9.25,22.5t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.5l0-64 zM 415.75,320q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.75t 99.5-20.5t 99.5,20.5t 81.75,54.75t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.5t-70,69.75t-25.75,96.5t 25.75,96.5t 70,70\nt 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.5t-25.75-96.5t-70-69.75t-96.25-25.5zM 352,176l-65.5,88.5q-2.5,10 -11,16.75t-19.5,6.75q-10.5,0 -19-6.5t-11.5-16l-97.5-121.5l0-0.5 l0-15.5 l 16,0 l 112.5,90.5l 79.5-58.5l0,0 l 16,0 l0,16 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calendar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-384 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,64 q0,32 17.75,48t 46.25,16q 28,0 46-16.5t 18-47.5l0-64 l 128,0 l0,64 q0,32 17.75,48t 46.25,16t 46.25-16t 17.75-48l0-64 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,384 q0,13 -9.25,22.5t-22.75,9.5zM 96,384l 64,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-64,0 q-26.5,0 -45.25,18.75t-18.75,45.25q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-136,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-24 q0-13.5 9.25-22.75t 22.75-9.25zM 480.5,288q0-26.5 -19-45.25t-45.5-18.75l-64,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 64,0 \nq 17.5,0 32-8.5l0,40.5 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,26.5 18.75,45.25t 45.25,18.75l 64,0 q 26.5,0 45.5-18.75t 19-45.25l0-128 zM 416,352l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.75,9.5zM 384.25,160q-13.25,0 -22.75-9.5t-9.5-22.5l0-96 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,96 q0,13 -9.25,22.5t-22.5,9.5zM 128,160q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,96 q0,13 -9.25,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"temperature2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,512l-384.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 384.5,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 176,64l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,128l-64,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,192l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,256l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,281l0-153 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,153 q-32,28.5 -32,71q0,39.5 28.25,67.75t 68,28.25t 68-28.25t 28.25-67.75q0-42 -32.5-71zM 320,416q-26.5,0 -45.25-18.75t-18.75-45.25q0-17.5 8.75-32t 23.25-23l0-105 \nl 64,0 l0,105 q 15,8.5 23.5,23t 8.5,32q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"temperature\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25q0-38.5 17.25-72t 46.75-56l0-125.5 q0-40.5 28-69.5t 67.75-29t 68,29t 28.25,69.5l0,125.5 q 29.5,22.5 46.75,56t 17.25,72q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5zM 288,261.5l0-165.5 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,165.5 \nq-28.5,10 -46.25,34.75t-17.75,55.75q0,40 28,68t 67.75,28t 68-28t 28.25-68q0-31 -17.75-55.75t-46.25-34.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"placeios\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-12.75t-93.25-35t-34.25-48.25q0-24 29.5-45t 80.75-34.25t 113.75-15.75l0-33 l 64,0 l0,33 q 62.5,2.5 113.75,15.75t 80.75,34.25t 29.5,45q0,26 -34.25,48.25t-93.25,35t-128.5,12.75zM 288,352.5l0,31.5 q0,16.5 -10,40.25t-22,23.75t-22-23.75t-10-40.25l0-31.5 q-82,3.5 -137,21.5\nt-55,42q0,17.5 30,32.25t 81.5,23.25t 112.5,8.5t 112.5-8.5t 81.5-23.25t 30-32.25q0-24 -55-42t-137-21.5zM 256,256q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 268,39q-7-6.5 -21.5-7.25t-32.25,5.5t-30.25,18.75t-18.75,30.25t-5.5,32.5t 7.75,21.25\nq 16.5,17 66.75-33.5t 33.75-67.5zM 348.5,147q-6-6 -18.5-1.75t-24.25,16.25t-16,24.5t 1.5,18.5t 18.5,1.75t 24.5-16t 16-24.5t-1.75-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,224l-288,160l0,0 l0,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-319.5 q0-13.5 9.25-22.75t 22.75-9.25l 288,159.5q 1,0.5 2.5,1.5q 7,3 10.75,5.25t 8.75,6t 7.5,8.75t 2.5,10.5q0,6.5 -2.5,11.5t-8,9t-9.75,6.25t-11.75,5.25zM 192,480.25q0,13.25 -9.25,22.5t-22.75,9.25l-128,0 q-13.5,0 -22.75-9.25\nt-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-415.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,415.5 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,400.5l 64,111.5l-112-64l-0.5-3l-84-83.5l-76,75.5q-21,21 -47.5-5l0-89.5 l-129-134l-6.5,6q-9.5,10 -23.25,10t-23.5-9.75t-9.75-23.5t 9.5-23.75l 158-157.5q 10-9.5 23.75-9.5t 23.5,9.5t 9.75,23.25t-10,23.75l-6.5,6.5l 134.5,129l 89.5,0.5q 26,26 4.5,47l-75.5,75.5l 84,84z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"maps\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l0-192 l 160-64l0,192 zM 352,64l 160-64l0,224 l-160,64l0-224 zM 192,256l 128,64l0,192 l-128-64l0-192 zM 192,0l 128,64l0,224 l-128-64l0-224 zM0,320l 160-64l0,192 l-160,64l0-192 zM0,64l 160-64l0,224 l-160,64l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"water\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 404.75,453.75q-36.75,38.25 -86.25,51.75t-99,0t-86.25-51.75t-50-89.5t0-102.25t 49.75-89.5l 136-172.5l 136,172.5q 36.5,38.5 49.75,89.5t0,102.25t-50,89.5zM 178.5,417q 4,4.5 5.75,6.75t 7.75,5.25t 13,3q 15.5,0 23.25-8.75t 7.75-20.25q0-14 -11.5-40.25t-23.25-56.25t-11.75-53\nq0-14 12-37.25t 23.5-39.75l 12-16.5l-16,0 l-42.5,48.5q-37.5,46.5 -37.5,104.25t 37.5,104.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"moon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 257.5,512q-63.5,0 -119.75-29.75t-92.75-81.25t-45-113q 28.5,43 76.5,69.5t 101,26.5q 56.5,0 104.25-27.75t 75.25-75.75t 27.5-104.5q0-53 -26.75-100.25t-69.75-75.75q 61.5,8.5 112.75,44.5t 81.25,92t 30,119.5q0,52 -20.25,99.5t-54.25,81.75t-81.25,54.5t-98.75,20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sun\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,187.5q-48.5,31 -48,68.5q 1,39 48,68.5q-127.5,6 -68.5,119q-113.5-59 -119,68.5q-31-48.5 -68.5-48q-38.5,1 -68.5,48q-5.5-127.5 -119-68.5q 59-113 -68.5-119q 48.5-31 48-68.5q-1-38.5 -48-68.5q 127.5-5.5 68.5-118.5q 113.5,58.5 119-68.5q 30,46.5 68.5,47.5q 37.5,1 68.5-47.5q 5.5,127 119,68.5\nq-59,113 68.5,118.5zM 256,96q-43.5,0 -80.5,21.5t-58.25,58.25t-21.25,80.25t 21.25,80.5t 58.25,58.25t 80.5,21.25t 80.5-21.25t 58.25-58.25t 21.25-80.5t-21.25-80.25t-58.25-58.25t-80.5-21.5zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"canvasrulers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-320,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 304,0 l0-304 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,320 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-16,0 l-16,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 \nl-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,16 l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-48,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 l-32,0 l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"marker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,512l-72.5,0 l-19.5-19.5l 41.5-41l 47,46.5q 5.5,5.5 3.5,14zM 272.5,448l 144-144l 34,110l-68,68zM 16,208q-16-16.5 -16-40.25t 16.5-40.25l 79.5-79.5q 16.5-16 40.25-16.25t 39.75,16.25l 224.5,224l-160,160zM 279,310.75q 9-9.25 9-22t-9-21.75l-130.5-130.5q-9-9 -21.75-9t-21.75,9t-9,21.75\nt 9,21.75l 130.5,131q 9,9 21.75,9t 21.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rotatecounterclockwise\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,352l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-288 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,512l-288,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 288,416l-224,0 \nq-13,0 -22.5,9.25t-9.5,22.75t 9.5,22.75t 22.5,9.25l 224,0 q 13.5,0 22.75-9.25t 9.25-22.75t-9.25-22.75t-22.75-9.25zM 288,128l-32,0 q-44.5,0 -78.75,27.25t-45.25,68.75l 54.5,0 q 5.5,5 5.5,11.5t-5.5,11.5l-77.5,100q-5.5,5 -13,5t-13-5l-77.5-100q-5.5-5 -5.5-11.5t 5.5-11.5l 61.5,0 q 11.5-68.5 64.75-114.25\nt 124.25-45.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rotateclockwise\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-288,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 448,416l-224,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l 224,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 429,347\nq-5.5,5 -13,5t-13-5l-77.5-100q-5.5-5 -5.5-11.5t 5.5-11.5l 54.5,0 q-11-42 -45.25-69t-78.75-27l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 71,0 124.25,45.75t 64.75,114.25l 61.5,0 q 5.5,5 5.5,11.5t-5.5,11.5zM 96,352l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-288 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 \nq 13,0 22.5,9.25t 9.5,22.75l0,288 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mergeshapes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,336q0-6.5 -4.75-11.25t-11.25-4.75l-36,36\nl-240-240l 36-36q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 36-36l 240,240l-36,36q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"excludeshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,192l-112,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,112 l 112,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"intersectshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,80q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 48,0 l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 l0-48 zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-128,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"subtractshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"creativecommons\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 320,224q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.75,9.25l 55,0 q-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l-55,0 zM 160,256q0,13 9.5,22.5t 22.5,9.5l 55,0 \nq-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l-55,0 q-13,0 -22.5,9.5t-9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wizard2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503.5,502q-9.5,9.5 -22.5,10t-22-8.5l-224.5-225q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 224.5,225q 9,9 8.5,22t-10,22.5zM 322,192l-64,16l-74-71.5q-8.5-9 -21.5-8.5t-22.5,10t-10,22.5t 8.5,22l 71.5,73.5l-16,64q-1,1.5 -2.75,4t-2.75,4t-2.5,3.25t-2.75,2.5t-3,0.75t-3.25-1.5l-63-77\nl-96,0 q-8-2.5 -13-6.5t-3-9.5l 64-96l-32.5-96.5q0-6.5 4.75-11.25t 11.25-4.75l 96.5,32.5l 96-64q 5.5-2 9.5,3t 6.5,13l0,96 l 76.5,63q 1.5,1.5 1.5,3.25t-0.75,3t-2.5,3t-3.25,2.75t-4,2.5t-3.5,2.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paintroll\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-240,0 l0,96 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13 9.25-22.5t 22.75-9.5l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 240,0 l0-96 l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q0-13 9.25-22.5t 22.75-9.5l 384,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,128 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fontwidth\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508,475l-41,32.5q-4,4.5 -9.5,4.5t-9.5-4.5l0-27 l-384,0 l0,27 q-4,4.5 -9.5,4.5t-9.5-4.5l-41-32.5q-4-4.5 -4-10.75t 4-10.75l 41-33q 4-4 9.5-4t 9.5,4l0,28 l 384,0 l0-28 q 4-4 9.5-4t 9.5,4l 41,33q 4,4.5 4,10.75t-4,10.75zM 447.5,128q-13,0 -22.5-9.25t-9.5-22.75t-24.75-22.75t-70.75-9.25q-13.5,0 -22.75,9.5t-9.25,22.5\nl0,224 q0,13.5 9.25,22.75t 22.5,9.25t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75-9.25t 9.5-22.75l0-160 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0 l0,0.5 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 \nl0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-5 q0-13 -9.5-22.5t-22.5-9.5q-46,0 -71,9.25t-25,22.75t-9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 384,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-0.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fontheight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128q-13,0 -22.5-9.5t-9.5-22.5q0-12.5 -21.25-22.25t-42.25-9.75l-0.5,0 q-13,0 -22.5,9.25t-9.5,22.75l0,319.5 q0,13.5 9.5,22.75t 22.75,9.25t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5-9.25t 9.25-22.75l0-319.5 q0-13.5 -9.25-22.75t-22.75-9.25\nq-21.5,0 -42.75,9.75t-21.25,22.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 92,448q 4,4 4,9.5t-4,9.5l-33,41q-4.5,4 -10.75,4t-10.75-4l-33-41q-4.5-4 -4.5-9.5t 4.5-9.5l 28,0 l0-384 l-28,0 \nq-4.5-4 -4.5-9.75t 4.5-9.75l 33-41q 4.5-4 10.75-4t 10.75,4l 33,41q 4,4 4,9.75t-4,9.75l-27.5,0 l0,384 l 27.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"strikethrough\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-49.5,0 q 17,30 17,64l0,32 q0,53 -37.25,90.5t-90.25,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-288,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25l 49.5,0 q-17-30 -17-64l0-32 q0-53 37.25-90.5t 90.25-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.5t-9.5-22.5q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 288,0 q 13,0 22.5,9.5t 9.5,22.5\nt-9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"underline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 320,416l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,0.5 l0,255.5 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 l0,0 \nq0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,256 q0,53 -37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"italic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,64l-39,0 l-111.5,384l 22.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 40,0 l 111.5-384l-23.5,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bold\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-224,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,16 q0,28 -11.75,53t-31.75,43q 19,17 31.25,49.5t 12.25,62.5zM 304,96l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 \nq 19.5,0 33.75-14t 14.25-34t-14.25-34t-33.75-14zM 288,288l-112,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 112,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"indentright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-48,0 l0,28.5 q-3.5,3.5 -7.75,3.5t-7.75-3.5l-77.5-52q-3-3.5 -3-8.5t 3-9l 77.5-51.5q 3.5-4 7.75-4t 7.75,4l0,28.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,480 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 256,192l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 160,96l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 32,224l 160,0 \nq 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 32,320l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 32,416l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"indentleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-224,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 384,96l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 176,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25t-11.25,4.75zM 79.5,316.5q-3.5,3.5 -7.75,3.5t-7.75-3.5l0-28.5 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-28.5 q 3.5-4 7.75-4t 7.75,4l 77.5,51.5q 3,3.5 3,8.75t-3,8.75zM 256,224l 160,0 q 13,0 22.5,9.25\nt 9.5,22.75t-9.5,22.75t-22.5,9.25l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 256,320l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25zM 256,416l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.75\nt 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eraser\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-447.5,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 447.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 413.5,396.5q-1,1 -4.25,4.5t-5.25,5.5t-5.5,4.5t-7,3.75t-7.5,1.25l-128,0 q-3.5,0 -7.25-1.5t-7.5-4.25t-6-4.75t-5.25-5.25t-3.5-3.75l-218-218q-8.5-9 -8.5-21.25t 8.5-20.75\nl 65.25-65.25l 62.75-62.75q 8.5-8.5 20.75-8.5t 21.25,8.5l 292.5,293q 9,8.5 9,20.75t-9,21.25q-2.5,3 -26,24t-31.5,29zM 272,186l-86,86l 80,80l 108.5,0 l 32-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"moleskine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-32,0 l0-160 l 64,0 l0-192 l-64,0 l0-160 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,160l0,192 l 288,0 l0,160 l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 l0,160 l-288,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ruler\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,427.5l-80,80q-5,4.5 -11.5,4.5t-11-4.5l-31.5-31.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5\nl 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-31.5-31.5q-4.5-4.5 -4.5-11t 4.5-11.5l 80-80q 5-4.5 11.5-4.5t 11,4.5l 400.5,400.5q 4.5,4.5 4.5,11t-4.5,11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,507.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-33.5-33q-4.5-4.5 -4.5-11t 4.5-11t 11-4.5t 11,4.5l 33,33.5q 4.5,4.5 4.5,10.75t-4.5,10.75zM 344,421q-1.5-1.5 -4-6q 4-1 6.5-3.5l 65-65q 2.5-2.5 3.5-6.5q 5,2.5 6,4l 32,77.5l-31.5,31.5zM 337.5,376q-8,7.5 -19.5,7.5t-19.5-7.5l-258.5-259q-7-7 -7.75-16.75t 4.75-17.75l-32.5-32.5\nq-4.5-4.5 -4.5-11.25t 4.5-11.25l 23-23q 4.5-4.5 11.25-4.5t 11.25,4.5l 32.5,32.5q 8-5.5 17.75-4.75t 16.75,7.75l 25,24.5l 78.5,0 q 8.5-1.5 14,4l 129,129.5q 4.5,4.5 4.5,10.75t-4.5,10.75t-10.75,4.5t-10.75-4.5l-124.5-124l-45,0 l 203.5,203q 8,8 8,19.25t-8,19.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resize\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 36.5,0 q 11.5,0 19.5-8t 8-19.5l0-36.5 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,64 q0,26.5 -18.75,45.25t-45.25,18.75zM 479.75,160q-13.25,0 -22.5-9.25t-9.25-22.75l0-36.5 q0-11.5 -8-19.5t-19.5-8l-36.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 \nq 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,13.5 -9.5,22.75t-22.75,9.25zM 128,64l-36.5,0 q-11.5,0 -19.5,8t-8,19.5l0,36.5 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 96,384l0-256 q0-13 9.25-22.5\nt 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13.5 -9.5,22.75t-22.5,9.25l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75zM 160,336q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 zM 31.75,352q 13.25,0 22.75,9.5\nt 9.5,22.5l0,36.5 q0,11.5 8,19.5t 19.5,8l 36.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-13.5 9.25-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"magazine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 384,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 96,32q-13.5,0 -22.75,9.25t-9.25,22.75l0,384 q0,13.5 9.25,22.75t 22.75,9.25l 224,0 q0-30 -1.5-49t-5.25-33.5t-11.5-22.75t-18.25-13.5t-27.5-9.25\nq-8.5-2 -18.5-2t-18,1.25t-18.75,4t-16.25,4.5t-14.75,4.75t-9.75,3.5l 271.5-332q-7.5-4 -15.5-4l-320,0 zM 448,64q0-10.5 -6.5-19.5l-102,435.5l 76.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-384 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"superscript\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,96.5l-80,0 l0,32 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6,0 -10.25-3.75t-5.25-9.25l0-70 q 1-5.5 5.25-9.25t 10.25-3.75l 80,0 l0-32 l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6,0 10.25,3.75t 5.25,9.25l0,70 q-1,5.5 -5.25,9.25t-10.25,3.75z\nM 311.25,503.75q-8.25,8.25 -19.75,8.25t-20-8.5l-111.5-138.5l-112,138.5q-8,8.5 -19.75,8.5t-20-8.25t-8.25-20t 8.5-19.75l 115.5-144l-115.5-143.5q-8.5-8.5 -8.5-20t 8.25-19.75t 20-8.25t 19.75,8l 112,139l 111.5-139q 8.5-8 20-8t 19.75,8.25t 8.25,19.75t-8,20l-115.5,143.5l 115.5,144\nq 8,8 8,19.75t-8.25,20z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"subscript\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-80,0 l0,32 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6,0 -10.25-3.75t-5.25-9.25l0-70 q 1-5.5 5.25-9.25t 10.25-3.75l 80,0 l0-32 l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6,0 10.25,3.75t 5.25,9.25l0,70 q-1,5.5 -5.25,9.25t-10.25,3.75z\nM 311.25,375.25q-8.25,8.25 -19.75,8.25t-20-8l-111.5-139l-112,139q-8,8 -19.75,8t-20-8.25t-8.25-19.75t 8.5-20l 115.5-143.5l-115.5-144q-8.5-8 -8.5-19.75t 8.25-20t 20-8.25t 19.75,8.5l 112,138.5l 111.5-138.5q 8.5-8.5 20-8.5t 19.75,8.25t 8.25,20t-8,19.75l-115.5,144l 115.5,143.5\nq 8,8.5 8,20t-8.25,19.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"kerning\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,352l-20,0 q-7.5,0 -15.75-5.25t-12.25-12.75l-15-46l-139.5,0 l-15,46q-4,7.5 -12.25,12.75t-15.75,5.25l-20,0 q-7.5,0 -10-5.25t 1.5-12.75l 93-283.5q 4-7.5 12.25-12.75t 15.75-5.25l 40.5,0 q 7.5,0 15.75,5.25t 12.25,12.75l 93,283.5q 4,7.5 1.5,12.75t-10,5.25zM 369,76l-48.5,148l 97.5,0 zM 193.5,334\nq-4,7.5 -12.25,12.75t-15.75,5.25l-40.5,0 q-7.5,0 -15.75-5.25t-12.25-12.75l-93-283.5q-4-7.5 -1.5-12.75t 10-5.25l 20,0 q 7.5,0 15.75,5.25t 12.25,12.75l 85,258l 84.5-258q 4-7.5 12.25-12.75t 15.75-5.25l 20.5,0 q 7.5,0 9.75,5.25t-1.75,12.75zM 46.5,388.5q 4-4 9.5-4t 9.5,4l0,28 l 384,0 l0-28 q 4-4 9.5-4t 9.5,4l 41,33\nq 4,4.5 4,10.75t-4,10.75l-41,32.5q-4,4.5 -9.5,4.5t-9.5-4.5l0-27 l-384,0 l0,27 q-4,4.5 -9.5,4.5t-9.5-4.5l-41-32.5q-4-4.5 -4-10.75t 4-10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paintbrush\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,485.5l-22,22q-5,4.5 -43.25,4.5t-43.25-4.5l-147.5-198l-34,31.5q-12.5,11.5 -41,10.75t-41.5-12.75q-8-7.5 -7-18.25t 5.5-19.5t 10-13.75l 144-144q 5-4.5 13.5-8.75t 19.75-6t 19.25,5.75q 12.5,12 11.5,47.5t-13.5,47.5l-26.5,24l 196,146q 4.5,4.5 4.5,42.75t-4.5,43.25zM 135,339l 0.25,0.25l 0.25,0.25zM 340.5,134.5\nl-0.5,0 l0-0.5 zM 196.5,27q-4.5-4.5 -4.5-11t 4.5-11.25t 11-4.75t 11,5l 92,92l-22,22zM 240.5,167l-92-92q-4.5-5 -4.5-11.25t 4.5-11t 11-4.75t 11,5l 92,92zM 192.5,215l-92-92q-4.5-5 -4.5-11.25t 4.5-11t 11-4.75t 11,4.5l 92,92.5zM 144.5,262.5l-92-92q-4.5-4.5 -4.5-10.75t 4.5-11t 11-4.75t 11,4.5l 92,92zM 96.5,310.5\nl-92-92q-4.5-4.5 -4.5-11t 4.5-11t 11-4.5t 11,4.5l 92,92z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clearformatting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,377l-55,55l 54.5,54.5q 4.5,4.5 4.5,10.75t-4.25,10.5t-10.5,4.25t-10.75-4.5l-54.5-54.5l-54.5,54.5q-4.5,4.5 -10.75,4.5t-10.5-4.25t-4.25-10.5t 4.5-10.75l 54.5-54.5l-55-55q-4.5-4.5 -4.5-10.75t 4.5-10.5t 10.5-4.25t 10.5,4.5l 55,55l 55-55q 4.5-4.5 10.75-4.5t 10.5,4.25t 4.25,10.5t-4.5,10.75zM 447,32l-10.5,64\nq-2,13 -12.75,22.5t-23.75,9.5t-20.5-9.5t-5.5-22.5q 2-6.5 1.25-12.5t-4.75-10.25t-17-6.75t-35.5-2.5q-13,0 -23.75,9.25t-12.75,22.75l-37,192q-2,14 2.75,23t 16.25,9q 12,0 19,9.25t 5,22.5t-12,22.75t-22,9.5l-130,0 q-14,0 -22-9.5t-5.75-22.75t 13.75-22.5t 25-9.25q 14.5,0 30-9.75t 18-22.25l 36.5-192\nq 2.5-13.5 -5.25-22.75t-20.25-9.25q-18.5,0 -31,1.75t-19,4t-10.25,7.5t-4.75,8.5t-2,10.25q-2,13 -12.75,22.5t-23.75,9.5t-20.5-9.5t-5.5-22.5l 11-64q 2-13.5 12.75-22.75t 23.25-9.25l 310,0 q 13,0 20.5,9.25t 5.5,22.75zM 351.5,432.25q0,6.75 -4.75,11.25t-11.25,4.5l-319.5,0 q-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.25\nt 11.25-4.5l 319.5,0 q 6.5,0 11.25,4.5t 4.75,11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"color\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5q-53,0 -96-32q-43,32 -96,32q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25q0-48.5 26.75-88.25t 69.75-58.75l0,0 q-0.5-8 -0.5-13q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25q0,1 -1,13l 0.5,0 \nq 43,19 69.75,58.75t 26.75,88.25zM 32,352q0,53 37.5,90.5t 90.5,37.5q 39.5,0 72-22.5q-40-45.5 -40-105.5q0-3.5 1-13l-0.5,0 q 30.5,13 63.5,13t 63-13q-2.5-35 -19.25-64.75t-43.75-49.75q-27,20 -43.75,50t-19.75,64.5l0-0.5 q-32-14 -55.75-40.25t-33.75-60.25q-32,16 -51.5,46.5t-19.5,67.5zM 256,64\nq-53,0 -90.5,37.5t-37.5,90.5l0,1.5 t 0.5,1.5q 16-3 31.5-3q 53.5,0 96,32q 42.5-32 96-32q 16,0 32,3l0-1.5 l0-1.5 q0-53 -37.5-90.5t-90.5-37.5zM 409,238q-10,34 -33.75,60.5t-55.75,40.5l-0.5,0 q 1,9.5 1,13q0,60 -40,105.5q 32.5,22.5 72,22.5q 53,0 90.5-37.5t 37.5-90.5q0-37 -19.5-67.5t-51.5-46.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertbarchart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25\nt 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 zM 32,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 zM 64,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,80l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25\nt 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 368,384l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,384l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 176,384l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-224 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,224 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpiechart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25\nt 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 zM 32,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 zM 64,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,80l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25\nt 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 288,96q 53,0 90.5,37.5t 37.5,90.5l-128,0 l0-128 zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5l0,128 l 128,0 q0,53 -37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpicturecenter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,64l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 160,384q-13,0 -22.5-9.25t-9.5-22.75\nl0-160 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,160 q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 zM 16,416l 448,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-448,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,480l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75\nl-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpictureright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 208,192l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 16,96l 128,0 q 6.5,0 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 208,64l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 16,224l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,288l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,352l 416,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-416,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75zM 16,416l 448,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-448,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,480l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpictureleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,192l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 304,96l 128,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 496,64l-192,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 224,256l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 304,256q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 160,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 zM 16,288l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,352l 416,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-416,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nt 4.75-11.25t 11.25-4.75zM 16,416l 448,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-448,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,480l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpicture\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25\nt 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 zM 32,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 zM 64,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,80l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25\nt 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 238.5,307.5l 74.5-75q 9-9 23.25-9t 23.25,9l 24.5,24.5l0,127 l-70,0 zM 176,224q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 183.5,297l 86.5,87l-142,0 l0-78 l 9-9q 9-9.5 23.25-9.5t 23.25,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"invert\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-26.5 -19-45.5l-60,60.5q-22-22.5 -51.25-34.75t-61.75-12.25q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25\nq0,32.5 12.25,61.75t 34.75,51.25l-60.5,60.5q 19,18.5 45.5,18.5l 256,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 256,416q-66.5,0 -113-47l 226-226q 22.5,22 34.75,51.25t 12.25,61.75q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exposure\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,128l-32,0 l0-32 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,32 l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5\nt 22.75,9.25l 32,0 l0,32 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-32 l 32,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 448,128q0-26.5 -18.5-45.5l-347,347q 19,18.5 45.5,18.5l 256,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 384,384l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 q 13,0 22.5,9.25\nt 9.5,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shapes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 368,448q-59.5,0 -101.75-42.25t-42.25-101.75q0-7.5 1-16l 151,0 q 5-5.5 7.25-32t-2.25-32l-34-62.5q 11.5-1.5 21-1.5q 59.5,0 101.75,42.25t 42.25,101.75t-42.25,101.75t-101.75,42.25zM 347,256l-262.5,0 q-5-5 -5-12.5t 5-13l 120-225.5q 4.5-5.5 11.25-5.5t 11.25,5.5l 120,225.5q 5,5.5 4.75,13t-4.75,12.5z\nM 192,304q0,40.5 17,75.75t 47,60.25l0,56 q0,6.5 -4.75,11.25t-11.25,4.75l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-224 q0-6.5 4.75-11.25t 11.25-4.75l 32.5,0 q 2,26.5 7,32l 137.5,0 q-1,12 -1,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"distributehorizontalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-32,0 l0,96 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-96 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0-96 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,96 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,208\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 192,448l-32,0 l0,32 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 l0-32 q0-13 9.5-22.5t 22.75-9.5\nt 22.5,9.5t 9.25,22.5l0,32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"distributeverticalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,160l-96,0 l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 l-96,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 96,0 l0-32 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l 96,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 320,112q0-6.5 -4.75-11.25\nt-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 32,352l 32,0 l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5l-320,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-32 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignjustify\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,96l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 32,320l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 32,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75\nt 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aligncenter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 416,96l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 64,288q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-384,0 zM 32,320l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 160,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-416,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 416,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,288l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,96l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 352,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 288,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75\nt 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 384,96l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 352,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 32,224l 384,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5\nt-22.5,9.25l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5zM 32,320l 416,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-416,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 32,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75t 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignleftedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 352,224l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 320,112\nq0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 32,512q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignrightedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,512q-13.25,0 -22.5-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,448 q0,13.5 -9.5,22.75t-22.75,9.25zM 352,480l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 352,224l-192,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 320,112q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aligntopedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 64,128l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25zM 320,128l 128,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,192 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25zM 352,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignbottomedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 448,384l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.25t 9.5,22.75l0,192 q0,13.5 -9.5,22.75t-22.5,9.25zM 416,208q0-6.5 -4.75-11.25t-11.25-4.75\nl-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 192,384l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-320 q0-13 9.25-22.5t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignhorizontalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,480l-128,0 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0-64 l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 64,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75\nt-22.75,9.25l-64,0 l0,64 l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 304,160q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignverticalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 l-64,0 l0,128 q0,13.5 -9.25,22.75t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 l 64,0 l0-64 \nq0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 416,208q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dreamweaver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-128 zM 432,128q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,7 -6,15t-12,12.5l-6,4.5q-3.5,0 -5.75-2.25t-2.25-5.75l0-200 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,200 q0,3.5 -2.25,5.75t-5.75,2.25q-2.5-2 -6.5-5t-10.75-11.5t-6.75-15.5l0-174.5 l0-1 l0-0.5 \nq0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,176 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-174 l0-2 q0-6.5 -4.75-11.25t-11.25-4.75zM 160,352l-56,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-176 q0-3.5 2.25-5.75t 5.75-2.25l 56,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flash\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 208,128l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-72 q0-3.5 2.25-5.75t 5.75-2.25\nl 40,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-40,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-80 q0-3.5 2.25-5.75t 5.75-2.25l 72,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,352l-80,0 l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l0,0 l0,0 l 0.5,0 l0,0 l0,0 \nl 0.5,0 l0,0 l 0.5,0 l0,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 \nl 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 4.5,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"illustrator\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,192q0-26.5 -18.75-45.25t-45.25-18.75l-32,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,176 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-72 q0-3.5 2.25-5.75t 5.75-2.25l 80,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,72 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-176 zM 400,160q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,192 l-16,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-192 l 16,0 zM 216,256l-80,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-56 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,56 q0,3.5 -2.25,5.75t-5.75,2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"photoshop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-80,0 l0,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-80 l 64,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,128l-32,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,16 q0,25 17.5,36.5t 46.5,11.5l 32,0 q 12.5,0 22.25,16.5t 9.75,31.5l0,16 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nq0,26.5 18.75,45.25t 45.25,18.75l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-16 q0-28 -19.25-54t-44.75-26l-32,0 l-4,0 q-7.5,0 -11.25-0.25t-8.25-1.5t-6.5-4.75t-2-9.5l0-16 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q0-26.5 -18.75-45.25t-45.25-18.75z\nM 160,256l-64,0 l0-96 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pagebreak\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 440,200l-56,56l-16,0 l-56-56l-56,56l-16,0 l-56-56l-56,56l-16,0 l-56-56l-24,24l0-192 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,208 zM 48,256l 16,0 l 56,56l 56-56l 16,0 l 56,56l 56-56l 16,0 l 56,56l 56-56l 16,0 l 32,32l0,192 q0,13 -9.25,22.5t-22.75,9.5\nl-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-208 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"layers2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 492.5,189.5l-189,118.5q-20,12 -47.5,12t-47.5-12l-189-118.5q-19.5-12 -19.5-29.25t 19.5-29.75l 189-118q 20-12 47.5-12t 47.5,12l 189,118q 19.5,12.5 19.5,29.75t-19.5,29.25zM 19.5,322.5l 55.5-34.5l 133.5,84q 20,12 47.5,12t 47.5-12l 133.5-84l 55.5,34.5q 19.5,12.5 19.5,29.75t-19.5,29.25l-189,118.5q-20,12 -47.5,12\nt-47.5-12l-189-118.5q-19.5-12 -19.5-29.25t 19.5-29.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"layers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 492.5,280l-189,94q-20,10 -47.5,10t-47.5-10l-189-94q-19.5-10 -19.5-23.75t 19.5-23.75l 17-8.5l 172,86.5q 20,9.5 47.5,9.5t 47.5-9.5l 172-86.5l 17,8.5q 19.5,10 19.5,23.75t-19.5,23.75zM 492.5,152l-189,94.5q-20,9.5 -47.5,9.5t-47.5-9.5l-189-94.5q-19.5-10 -19.5-23.75t 19.5-23.75l 189-94.5q 20-9.5 47.5-9.5\nt 47.5,9.5l 189,94.5q 19.5,10 19.5,23.75t-19.5,23.75zM 19.5,360.5l 17-8.5l 172,86q 20,10 47.5,10t 47.5-10l 172-86l 17,8.5q 19.5,10 19.5,23.75t-19.5,23.75l-189,94q-20,10 -47.5,10t-47.5-10l-189-94q-19.5-10 -19.5-23.75t 19.5-23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"adobe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,192l-80,192l 80,0 l 41,96l-297,0 l 192-448l 128,0 l 192,448l-132.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"canvas\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-83,0 l 46.5,80.5q 7,11.5 3.5,24t-15,19.25t-24.25,3.25t-19.25-15l-65.5-112l-35,0 l0,96 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-96 l-35,0 l-65.5,112q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.25t 3.5-24l 46.5-80.5l-83,0 q-13,0 -22.5-9.25t-9.5-22.75l0-288 q0-13 9.5-22.5t 22.5-9.5l 192,0 \nq0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spray\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 464.5,32q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 432.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400.5,48q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 336.5,64\nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 304.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 240.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75zM 311.5,202q 9,9 9,22l0,224 q0,26.5 -18.75,45.25t-45.25,18.75l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-223 q-0.5-13.5 8.5-23l 87.5-87l0-83 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,48 l0,35.5 zM 336.5,96q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75\nt-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 400.5,112q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 464.5,128q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"macro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,368.5q 20.5-36.5 58-60q 19-11.5 42-16.75t 46.75-2.75t 44.75,18.5t 32.5,44.5q-23.5,0 -44.25,7t-35.75,18.25t-29.5,25.5t-26,29.25t-25,29.5t-26.5,25.75t-30.75,18t-37.75,6.75l-0.5,0 l-0.25,0 l-0.25,0 q-20,0 -37.75-6.75t-30.75-18t-26.5-25.75t-25-29.5t-26-29.25t-29.5-25.5t-35.75-18.25t-44.25-7q 11.5-28.5 32.5-44.5\nt 44.75-18.5t 46.75,2.75t 42,16.75q 37.5,23.5 58,60l0-112.5 l0-0.5 q-43.5,2.5 -86-24q-35.5-22 -55.5-55t-18.5-65q 23.5-17 58.75-15.5t 69.75,21q 2.5-40 19.75-71.75t 43.75-45.25q 26.5,13.5 43.75,45.25t 19.75,71.75q 34.5-19.5 69.75-20.75t 58.75,15.25q 1.5,32 -18.5,65t-55.5,55q-42.5,26.5 -86,24l0,0.5 l0,112.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"write\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 268.5,205q-33-33 -82.75-74.75t-82.75-66.75l-33.5-25.5q-6-6 -14.5-6t-14.5,6q-1.5,1.5 -2,3.5t 0.25,4.5t 2,4.25t 3.75,4.5t 4,4.5t 4.25,4.25t 3.75,3.5q 12.5,9 32.75,24.5t 69.75,57t 83.5,75.5q 21,21 55.75,55.5t 59.75,59.5t 44.5,45q 29,30.5 55.5,59t 38.5,41.75l 12,13.25q 6,6 6,6.5\nt-6,6.5q-5,5.5 -35.75-16.25t-41.25-32.25q-30-30.5 -81-82q-35.5-9 -87.75-38t-97.75-61.25t-79-58.25t-42.5-35q-13-13 -25.5-45.75t-15.25-65.5t 12.75-51.25q 23.5-24 66-25.25t 77,18.75q 38,21.5 86,65.75t 88,93.5t 65,98.25t 20,78q-73.5-74 -149-149.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbysizedescending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 192,0 q 13.5,0 22.75,9.5t 9.25,22.5t-9.25,22.5t-22.75,9.5zM 109,508q-5.5,4 -13,4t-13-4l-77.5-103.5q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,352 l 58.5,0 q 5,4 5,10t-5,10zM 288,160.5l 128,0 \nq 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25zM 288,288.5l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.5t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.5t 22.5-9.25zM 288.25,416q 13.25,0 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25\nt-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbysizeascending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 416,352l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.5t-22.75,9.25zM 352,224.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25\nl 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 288.25,96.5q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.5t 9.25,22.5t-9.25,22.5t-22.5,9.5zM 109,508q-5.5,4 -13,4t-13-4l-77.5-103.5q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,352 l 58.5,0 \nq 5,4 5,10t-5,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbynamedescending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 370.5,480l 125.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.5t-4.75-11.5q0-3 2-6.25t 3.25-4t 5.25-4.75l 131.5-161l-126,0 q-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.5t 11.25-4.75l 160,0 q 5.5,0 10.75,4.75t 5.25,11.25q0,5 -10,15zM 496,224.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-40 \nq0-3.5 -2.25-5.75t-5.75-2.25l-112,0 q-3,0 -5.5,2.25t-2.5,5.75l0,40 q0,6.5 -4.5,11.25t-11.25,4.75t-11.5-4.75t-4.75-11.25l0-144 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,144 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,64.5q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13,0 -22.5,9.25\nt-9.5,22.75l0,56 q0,3 2.5,5.5t 5.5,2.5l 112,0 q 3.5,0 5.75-2.5t 2.25-5.5l0-56 zM 109,508q-5.5,4 -13,4t-13-4l-77.5-103.5q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,352 l 58,0 q 5.5,4 5.5,10t-5.5,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbynameascending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 501.5,31l-131,161.5l 125.5,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.25t-11.25,4.5l-160,0 q-6.5,0 -11.25-4.25t-4.75-11.75q0-3 2-6t 3.25-4t 5.25-4.5l 131.5-161l-126,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 160,0 q 5.5,0 10.75,4.5t 5.25,11q0,5 -10.5,15zM 109,507.5q-5.5,4.5 -13,4.5t-13-4.5\nl-77.5-103q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,352 l 58.5,0 q 5,4 5,10t-5,10zM 384,288l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,144 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-40 q0-3.5 -2.25-5.75t-5.75-2.25l-112,0 q-3,0 -5.5,2.25\nt-2.5,5.75l0,40 q0,6.5 -4.5,11.25t-11.25,4.75t-11.5-4.75t-4.75-11.25l0-144 q0-26.5 18.75-45.25t 45.25-18.75zM 352,408q0,3.5 2.5,5.75t 5.5,2.25l 112,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-56 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,56 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lineheight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-320,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 384,96l-224,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 224,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 91.5,448q 4.5,4 4.5,9.5t-4.5,9.5\nl-32.5,41q-4.5,4 -10.75,4t-10.75-4l-33-41q-4.5-4 -4.5-9.5t 4.5-9.5l 28,0 l0-384 l-28,0 q-4.5-4 -4.5-9.75t 4.5-9.25l 33-41.5q 4.5-4 10.75-4t 10.75,4l 32.5,41.5q 4.5,3.5 4.5,9.25t-4.5,9.75l-27,0 l0,384 l 27,0 zM 160,224l 256,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-256,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5\nt 22.25-9.25zM 160,320l 288,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-288,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25zM 160,415.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-160,0 q-13,0 -22.25-9.25t-9.25-22.5t 9.25-22.75t 22.25-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"line\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-32,0 q-3.5,0 -7.5-1l-345.5,345.5q 1,4 1,7.5l0,32 q0,13 -9.25,22.5t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 3.5,0 7.5,1l 345.5-345.5q-1-4 -1-7.5l0-32 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"polygon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,480l-256,0 l-128-224l 128-224.5l 256,0 l 128,224.5zM 368,63.5l-224,0 l-112,192.5l 112,192l 224,0 l 112-192z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"roundedrectangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-256,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 256,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 480,128q0-40 -28-68t-68-28l-256,0 q-40,0 -68,28t-28,68l0,256 q0,40 28,68t 68,28l 256,0 q 40,0 68-28t 28-68l0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"elipse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,32q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87t 17.75,87\nt 47.75,71.5t 71.5,47.75t 87,17.75t 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87t-17.75-87t-47.75-71.5t-71.5-47.75t-87-17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wacom\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,59.5l-69,69l 14.5,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,255.5 q0,26.5 -18.75,45.25t-45.25,18.75l-383.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-255.5 q0-26.5 18.75-45.25t 45.25-18.75l 270.5,0 l 118-118.5q 10.5-10 24.75-10t 24.5,10.25t 10.25,24.5t-10,24.75zM 96,176.5q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5\nt-4.75,11.5l0,96 q0,6.5 4.75,11t 11.25,4.5l 32,0 q 6.5,0 11.25-4.5t 4.75-11l0-96 zM 96,368q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 160,160.5q-13.5,0 -22.75,9.25t-9.25,22.75l0,255.5 q0,13.5 9.25,22.75\nt 22.75,9.25l 287.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-255.5 q0-13.5 -9.25-22.75t-22.75-9.25l-46.5,0 l-143,142.5q-6,6 -22.5,10.5t-30,5.5l-14,1.5q 0.5-6 1.5-15.25t 5.5-27.25t 10.5-24l 93.5-93.5l-142.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"book\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,96q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,24.5 -33.25,44.25t-62.75,19.75l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-96,0 l-240,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 112,0 l0,144 \nq0,6 5.5,11t 10.5,5l 48-48l 48,48q 5,0 10.5-5t 5.5-11l0-144 l 96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"palette\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25q 56,0 76,13.75t 20,50.25q0,16 -7.5,30.5t-16.5,23.5t-16.5,20.25t-7.5,21.75q0,48 48,48q 10.5,0 21.75-7.5t 20.25-16.5t 23.5-16.5t 30.5-7.5q 36,0 50,20.5t 14,75.5q0,52 -20.25,99.5t-54.5,81.75\nt-81.75,54.5t-99.5,20.25zM 144,416q 20,0 34-14t 14-34t-14-34t-34-14t-34,14t-14,34t 14,34t 34,14zM 112,160q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 208,64q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 304,352\nq-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 400,256q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brush\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 441.5,509.5q-29.5,8 -71.25-6.75t-72.75-43.75t-31-57.5q0-17 2.5-33q 21-0.5 42.25-9.5t 35.25-23q 23.5-24 30.5-53q 31,1 49.5,22.5q 10,11.5 15.75,28.25t 7.25,32t 5.25,31t 9.5,27t 20.5,18.5t 37.75,7.25q 3,11.5 -24,31.75t-57,28.25zM 208.5,313.5q-13.5-14 -48.25-58t-72.5-96.75t-61.25-98.75t-12.5-57\nt 56.75,12.75t 98,61.75t 96.25,72.75t 57.5,48.75q 23.5,23.5 23.5,57t-23.5,57.25t-57,23.75t-57-23.5zM 282,186.5q-1,40.5 -23.25,63t-62.25,23q 2,3 22.25,24.5t 22.25,24q 42,0.5 65.75-23.5t 23.25-66q-2.5-2 -23.75-22.25t-24.25-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"edit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 390,474.5l-86-26.5l 144-144l 26.5,86q-30.5,9 -53,31.5t-31.5,53zM 16,176q-16-16.5 -16-40.25t 16.5-39.75l 79.5-79.5q 16-16.5 39.75-16.5t 40.25,16l 256,256l-160,160zM 484.5,422.5l 27.5,89.5l-89.5-27.5q 8-21.5 24.25-37.75t 37.75-24.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vector\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25q0-55.5 -36.75-96.25t-91.25-46.75l0,15 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-17 q-67.5-6 -113.75-56.25t-46.25-118.75q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,32 q0,13 -9.5,22.5t-22.5,9.5q0,55.5 36.75,96.25t 91.25,46.75l0-15 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,17 q 67.5,6 113.75,56.25t 46.25,118.75q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13.5 -9.5,22.75t-22.5,9.25zM 255.75,224q-13.25,0 -22.5,9.5\nt-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bucket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 498,495.5q-14,16.5 -34,16.5t-34-16.5t-14-39.5t 14-39.5l 18-25.5l0-98.5 q0,13 -8.5,21.5l-181,181.5q-17,16.5 -40.5,16.5t-40.5-16.5l-161-161q-16.5-17 -16.5-40.5t 16.5-40.5l 143.5-143l0,50 q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25l0-38 l 134,134l 26,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,29 l0,73.5 l 18,25.5\nq 14,16.5 14,39.5t-14,39.5zM 224.25,192.5q-13.25,0 -22.75-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,128 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"selectionintersect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 212,168.5l 44,44l 43.5-43.5q 9-9 21.75-9t 21.75,9\nt 9,21.75t-9,21.75l-43.5,43.5l 43.5,43.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-43.5-43.5l-43.5,43.5q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 43.5-43.5l-44-44q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nl0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 176,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"selectionrmove\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 352,288l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nl0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 176,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 304,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"selectionadd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 352,288l-64,0 l0,64 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-64 l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25\nt 9.25,22.75l0,64 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75\nl 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75\nt-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 176,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75zM 304,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleselection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447,223.5q-7.5-43 -33.5-79.5l 46-46q 44,56 52.5,125.5l-65,0 zM 288.5,65l0-65 q 69.5,8.5 125.5,52.5l-46,46q-36.5-26 -79.5-33.5zM 98,52.5q 56-44 125.5-52.5l0,65 q-43,7.5 -79.5,33.5zM 98.5,144q-26,36.5 -33.5,79.5l-65,0 q 8.5-69.5 52.5-125.5zM 98.5,368l-46,46q-44-56 -52.5-125.5l 65,0 q 7.5,43 33.5,79.5z\nM 223.5,447l0,65 q-69.5-8.5 -125.5-52.5l 46-46q 36.5,26 79.5,33.5zM 414,459.5q-56,44 -125.5,52.5l0-65 q 43-7.5 79.5-33.5zM 447,288.5l 65,0 q-8.5,69.5 -52.5,125.5l-46-46q 26-36.5 33.5-79.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rectangleselection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"crop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 445,110q 3,10 3,18l0,256 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25l 32,0 l0-32 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5\nt 9.25,22.5l0,32 l 256,0 q 8,0 17.5,2.5l 58-58q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75zM 384,171l-213,213l 213,0 l0-213 zM 128,128l0,212 l 212-212l-212,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"font\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,160q-13.25,0 -22.75-9.5t-9.5-22.5q0-26.5 -18.75-45.25t-45.25-18.75l-32,0 q-13,0 -22.5,9.25t-9.5,22.75l0,320 q0,13 9.5,22.5t 22.75,9.5t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-192,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5-9.5t 9.25-22.5l0-320 q0-13.5 -9.25-22.75t-22.75-9.25\nl-32,0 q-26.5,0 -45.25,18.75t-18.75,45.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-96 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eyedropper\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 500.75,500.75q-11.25,11.25 -27.25,11.25t-27-11.5l-28-27.5l-82.5-25q-25.5-1 -43.5-19l-126-125.5l-21.5,21.5q-11,11 -27,11t-27.25-11.25t-11.25-27t 11.5-27.25l 2.5-2.5l-57.5-57.5q-36-36 -36-87t 36-87t 87-36t 87,36l 57.5,57.5l 2.5-2.5q 11-11.5 27-11.5t 27.25,11.25t 11.25,27.25t-11,27.5l-21,21\nl 125.5,125.5q 18.5,18 18.5,44l 24.5,81l 29,29q 11,11 11,27t-11.25,27.25zM 372.5,318.5l-110-110l-55,54.5l 110,110.5q 11.5,11.5 27.5,11.5t 27.25-11.5t 11.25-27.5t-11-27.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"inkpen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,192l 42.5,0 l 53.5,288l-128-128l0-32 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75l 32,0 l 128,128l-288-53.5l0-42.5 q0-88 -39.5-162q-27.5,4 -54-4.5t-46.5-29l-17-16.5q-35-35 -35-84.5t 35-84.5t 84.75-35t 84.75,35l 16.5,16.5q 20.5,20.5 29,47.25t 4.5,54.25\nq 74,39 161.5,39z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"threecolumn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 320,512l-128,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 320,80q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 zM 64,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnleft2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 480,320l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5z\nM 480,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 256,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 256,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.25,22.5t-22.75,9.5zM 256,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,80\nq0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnright2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-352 zM 96,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 96,320l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5\nt-22.5,9.5zM 96,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-352 zM 128,512l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"transform\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 96,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 96,0 l0-16 \nq0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 zM 256,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25\nl-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 64,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 64,280q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 \nq-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 96,72q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 288,72q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,112l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,16 l 96,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 96,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,72q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 480,264q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75\nt 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 280,288l-16,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-16 q0-3.5 2.25-5.75t 5.75-2.25l 16,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,16 q0,3.5 -2.25,5.75t-5.75,2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"violin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 468.5,465q-48-57.5 -52-103.5l-9-9l 8-8l-23.5-24l-72,72l 24,24l 8-8l 4.5,4.5q 46.5,7 105.5,58q-27.5,25 -65.5,35.25t-74.25,3.25t-59.25-30q-9.5-9.5 -19.5-25.5q 12.5-17 12.5-37.5q0-26.5 -18.75-45.25t-45.25-18.75q-9.5,0 -20,3.5q-4.5-3.5 -5.5-5q-30-29.5 -36.75-78.25t 15.75-89.25l-77-94\nq-7.5,7 -18,7t-18-7.5l-25-25q-7.5-8 -7.5-18.75t 7.5-18.25l 18.5-18.5q 8-8 18.75-8t 18.25,8l 25.5,25q 7,7 7.25,17.5t-6.75,18l 94,77q 40-22.5 88.75-15.75t 78.75,36.75q 1,1.5 5,5.5q-3.5,10.5 -3.5,20q0,26.5 18.5,45.25t 45,18.75q 21,0 38-12.5q 16.5,10 26,19.5q 23,23.5 30,60.5t-4,75.5\nt-37,65.5zM 216,176.5l-40,40l 40,40l 40-40zM 240,328.5l 40,40l 24-24l-40-40zM 328,240.5l-24,24l 40,40l 24-24z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tv\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 174,0 l-98-98.5q-6,2.5 -12,2.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.75q0,6 -2.5,12l 98.5,98l 98.5-98q-2.5-6 -2.5-12q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75\nt-22.75,9.5q-6,0 -12-2.5l-98,98.5l 174,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 352,310.5q0-82.5 -32-86.5l-256,0 q-9.5,1.5 -16,8.5t-9.5,14.75t-4.75,20.5t-1.75,19.5l0,18.25 l0,5 l0,51 q0,12 1,23.75t 4,26.5t 9.75,24.75t 17.25,11.5l 256,0 q 7.5-1 13.5-5.75t 9.25-13.5\nt 5.25-16.25t 2.75-19t 1-17t 0.25-15l0-51 zM 464,224l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 464,352l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,416l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"headphones2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,416l-32,0 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q0-74 -41.25-117t-118.75-43t-118.75,43t-41.25,117l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 \nq 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-16,0 l-16,0 l-64,0 q-40,0 -68-28t-28-68q-26.5,0 -45.25-28t-18.75-68q0-26 8.75-48t 23.25-34.5l0-13.5 q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87l0,13.5 q 14.5,12.5 23.25,34.5t 8.75,48\nq0,40 -18.75,68t-45.25,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"podcast\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,336q-13.5,0 -22.75-9.5t-9.25-22.5l0-48 q0-52 -25.75-96.25t-70-70t-96.25-25.75t-96.25,25.75t-70,70t-25.75,96.25l0,48 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-48 q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l0,48 \nq0,13 -9.25,22.5t-22.75,9.5zM 256,96q 43.5,0 80.25,21.5t 58.25,58.25t 21.5,80.25l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,4 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 q0-40 -28-68t-68-28t-68,28\nt-28,68l0,32 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-5 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 224,352l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l-32,96q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-32-96q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"radio\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,256l-16,0 l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-224,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 \nq 26.5,0 45.25,18.75t 18.75,45.25l0,32 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 160,416q 40,0 68-28t 28-68t-28-68t-68-28t-68,28t-28,67.75t 28,68t 68,28.25zM 416,112q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 \nq0,6.5 4.75,11.25t 11.25,4.75l 48,0 l 48-64l 48,64l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 160,288q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hdtv\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,415.5l0,32.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-32.5 q-192-3.5 -192-47.5l0-272 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,272 q0,44 -192,47.5zM 480,96l-448,0 l0,256 l 448,0 l0-256 zM 64,320l0-192 \nl 288,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"album\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,64q0-13 -9.5-22.5t-22.5-9.5l-352,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,384 q0,13.5 9.25,22.75t 22.75,9.25l 352,0 q 13,0 22.5-9.25t 9.5-22.75l0-384 zM 272,448\nq-48,0 -88.5-23.5t-64-64t-23.5-88.5t 23.5-88.5t 64-64t 88.5-23.5t 88.5,23.5t 64,64t 23.5,88.5t-23.5,88.5t-64,64t-88.5,23.5zM 272,192q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 272,320q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34\nt-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"piano\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-224 q 13,0 22.5-9.5t 9.5-22.5l0-224 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 384,256l0,224 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0,224 q0,13.5 9.25,22.75t 22.75,9.25zM 224,512l-32,0 \nq-13.5,0 -22.75-9.5t-9.25-22.5l0-224 q 13,0 22.5-9.5t 9.5-22.5l0-224 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 96,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0,224 q0,13 9.25,22.5t 22.75,9.5l0,224 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"video3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l-320,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q-13.5,0 -22.75-9.5t-9.25-22.5l0-416 q0-13.5 9.25-22.75t 22.75-9.25l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 \nl 320,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 q 13,0 22.5,9.25t 9.5,22.75l0,416 q0,13 -9.5,22.5t-22.5,9.5zM 96,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 96,208\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 96,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 96,400\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,400\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"videocamera\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416l0,4 q0,8 -0.25,11.5t-1.5,8.25t-4.75,6.5t-9.5,1.75l-112-74.5l0,74.5 q0,13 -9.5,22.5t-22.5,9.5l-288,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13 9.25-22.5t 22.75-9.5l 32,0 l 224,0 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,74.5 l 112-74.5q 6,0 9.5,1.75t 4.75,6.5t 1.5,8.25t 0.25,11.5l0,4 l0,128 zM0,128.25\nq0-39.75 28-68t 67.75-28.25t 68,28t 28.25,68t-28.25,68t-68,28t-67.75-28t-28-67.75zM 224,128.25q0-39.75 28-68t 67.75-28.25t 68,28t 28.25,68t-28.25,68t-68,28t-67.75-28t-28-67.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"camera\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 46.5,0 l 21-47q 5.5-21 27.5-35t 49-14l 96,0 q 27,0 49,14t 27,35l 21.5,47l 46.5,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,160q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25\nt 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 256,448q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 256,224q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28-68t-68-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"guitar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 466,466q-42.5,42.5 -99.5,45.75t-94.5-34.25q-13-13.5 -20.5-23.25t-11.5-22.25q0-12.5 -6.5-28.75t-18.5-28.75q-15-15 -31.25-22.25t-27.75-5.25q-24.5-28.5 -26.75-72.25t 19.25-78.25l-70.5-70.5q-20,6 -34.5-8l-33.5-33.5q-10-10.5 -10-25t 10-24.5l 25-24.5q 10-10.5 24.5-10.5t 25,10.5l 33.5,33q 14,14.5 8,34.5l 70.5,70.5\nq 34.5-21.5 78.25-19.25t 72.25,26.75q-2,11.5 5.25,27.75t 22.25,31.25q 12.5,12 28.75,18.5t 28.75,6.5q 12.5,4 22.25,11.5t 23.25,20.5q 37.5,37.5 34.25,94.5t-45.75,99.5zM 272,224q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 429,352l-77,77l 19,19l 77-77z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eject\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 20,256q-20-18.5 -6.5-31l 231.5-217.5q 7.5-7 18.75-7t 19.25,7l 231.5,217.5q 13.5,13 -6.5,31l-488,0 zM 72,384l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"previous2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384.5 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 225,506.5l-217.5-231.5q-7.5-8 -7.5-19t 7.5-19l 217.5-231.5q 12.5-13.5 31,6l0,488.5 q-18.5,20 -31,6.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"next2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504.5,275l-217.5,231.5q-12.5,13.5 -31-6.5l0-488.5 q 18.5-19.5 31-6l 217.5,231.5q 7.5,8 7.5,19t-7.5,19zM 64,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384.5 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384.5 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"repeatone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-84 q 18.5-20 31-6.5l 121.5,103.5q 7.5,8 7.5,19.25t-7.5,18.75l-121.5,104q-12.5,13 -31-7l0-84 l-32,0 q-13,0 -22.5,9.25t-9.5,22.75l0,128 q0,13 9.5,22.5t 22.5,9.5l 320,0 \nq 13.5,0 22.75-9.5t 9.25-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25l-32,0 l0,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0,0 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boombox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-256 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-96 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13 -9.5,22.5t-22.5,9.5zM 384,112q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l 256,0 l0-48 zM 384,224\nq-40,0 -68,28t-28,68q0,36.5 25,64l-114,0 q 25-27.5 25-64q0-40 -28-68t-68-28t-68,28t-28,68t 28,68t 68,28l 256,0 q 40,0 68-28t 28-68t-28-68t-68-28zM 384,384q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 64,320q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"soundwave\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,128 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75\nt-11.25-4.75t-4.75-11.25l0-160 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-96 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-96 q0-6.5 4.75-11.25\nt 11.25-4.75t 11.25,4.75t 4.75,11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,96 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,128 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"movie5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 485.5,124l-0.5,0 l-35.5-59.5l-63.5,8.5l 40,60l-106,16.5l-40.5-60l-58,9l 40.5,60l-110,17.5l-38.5-63.5l-61,12l 40.5,60.5l-47.5,7.5l 52,0 l-32,63.5l 64,0 l 32-63.5l 96,0 l-32,63.5l 64,0 l 32-63.5l 96,0 l-32,63.5l 64,0 l 32-63.5q 13,0 22.5,9.25t 9.5,22.25l0,256 q0,13.5 -9.5,22.75t-22.5,9.25l-447.5,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-256 q0-13 9.25-22.25t 22.75-9.25q-2.5-1 -6-2.75t-10.25-8.75t-8.25-15.5l-8-62q-1.5-12.5 6.75-22.75t 21.25-11.75l 441-68.5q 13-1.5 23.25,6.5t 11.75,20.5l 8,62q 1.5,12.5 -6.75,22.75t-21.25,11.75zM 81.5,448l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-352,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 81.5,352l 352,0 q 6.5,0 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vlc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 32,0 l 24.5-64l 335,0 l 24.5,64l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 211.5,64l 12.5-32q 11-32 32-32q 22.5,0 32,32l 12.5,32l-89,0 zM 349.5,192l-187,0 l 24.5-64l 138,0 zM 138,256l 236,0 l 25,64l-286,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microphone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 500,465l-35,35.5q-8,8 -16.75,10.5t-16.75-3.5l-256-188q 57.5-5.5 98-46.25t 46-98.25l 188,256.5q 6,8 3.5,16.75t-11,16.75zM 144,288q-59.5,0 -101.75-42.25t-42.25-101.75t 42.25-101.75t 101.75-42.25t 101.75,42.25t 42.25,101.75t-42.25,101.75t-101.75,42.25zM 48,96q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 48,160q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 112,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 112,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 112,160q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 112,224q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,160\nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,224q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 256,176q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ipod\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 384,64q0-13 -9.25-22.5t-22.75-9.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,96 q0,13.5 9.25,22.75t 22.75,9.25l 192,0 q 13,0 22.5-9.25\nt 9.5-22.75l0-96 zM 256,224q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,448q-40,0 -68-28t-28-68t 28-68t 68-28t 68,28t 28,68t-28,68t-68,28zM 256,320q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.75\nt-9.25-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"equalizer2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 480,288l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 480,192l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 288,480l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 288,384l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5\nt-9.5,22.75t-22.5,9.5zM 288,288l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 96,480l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 96,384l-64,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 96,288l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 96,192l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 96,96l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 416,416l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"equalizer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 416,32q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,224 l-64,0 l0-224 zM 304,192l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 224,32q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,64 l-64,0 l0-64 zM 112,416l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 32,32q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,288 l-64,0 l0-288 zM 96,480q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-32 l 64,0 l0,32 zM 288,480q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5l0-256 l 64,0 l0,256 zM 480,480q0,13 -9.5,22.5t-22.75,9.5\nt-22.5-9.5t-9.25-22.5l0-96 l 64,0 l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"music2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,208q0,30 -17.25,64.75t-40,57t-38.75,22.25q-12.5,0 -22.25-10t-9.75-22q0-13 9.25-22.5t 22.75-9.5q-0.5-4 -2-10.5t-7-23t-12-29t-18-23t-25-10.5q-17.5,0 -24.75,6.75t-7.25,25.25l0,224 q0,26.5 -28,45.25t-68,18.75t-68-18.75t-28-45.25t 28-45.25t 68-18.75q 15.5,0 32,4l0-356 \nq0-13 9.5-22.5t 22.5-9.5q 20,0 112,64q 16,10.5 26.5,17.75t 28.5,22.75t 28.75,29.5t 19.5,34t 8.75,40z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"voice\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,413l0,35 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-35 q-68.5-11.5 -114.25-64.75t-45.75-124.25q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5\nt 9.25,22.5q0,71 -45.75,124.25t-114.25,64.75zM 256,320q-40,0 -68-28t-28-68l0-128 q0-40 28-68t 68-28t 68,28t 28,68l0,128 q0,40 -28,68t-68,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"previous\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,506.5l-281.5-231.5q-7.5-7.5 -7.5-18.75t 7.5-19.25l 281.5-231.5q 12.5-13.5 31,6.5l0,488 q-18.5,20 -31,6.5zM 64,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"next\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 31,506.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 281.5,231.5q 7.5,8 7.5,19.25t-7.5,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"record\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,0q 69.5,0 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25t-128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shuffle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 383,250.5q-12.5,13.5 -31-6.5l0-83 q-61.5,5 -98.5,26q-7.5-30.5 -35-55q 56-36 133.5-36.5l0-84 q 18.5-19.5 31-6l 121.5,103.5q 7.5,8 7.5,19t-7.5,19zM 224,288q0,23 36.25,40.5t 91.75,22l0-83 q 18.5-19.5 31-6l 121.5,103.5q 7.5,8 7.5,19t-7.5,19l-121.5,103.5q-12.5,13.5 -31-6.5l0-84 q-52,0 -96.25-17.25\nt-70-46.75t-25.75-64l0-64 q0-23.5 -36.25-41t-91.75-22l0-1 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.75t 22.5-9.5q 52,0 96.25,17.25t 70,46.75t 25.75,64.5l0,64 zM 32,352l0-1.5 q 61.5-5 98.5-26q 7.5,30 35,55q-56,36.5 -133.5,36.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"repeat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,416l-288,0 l0,84.5 q-18.5,19.5 -31,6l-121.5-103.5q-7.5-8 -7.5-19t 7.5-19l 121.5-103.5q 12.5-13.5 31,6.5l0,84 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 q0,26.5 -18.75,45.25t-45.25,18.75zM 383,251q-12.5,13.5 -31-6.5l0-84.5 l-256,0 q-13.5,0 -22.75,9.5t-9.25,22.5\nl0,64 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 288,0 l0-84 q 18.5-19.5 31-6l 121.5,103.5q 7.5,8 7.5,19t-7.5,19z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pause\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,512l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 \nq0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,0l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"play\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 63,3.5l 409.5,233.5q 8,4.5 8,19.75t-8,18.75l-409.5,233.5q-6,4 -15,2.75t-16-8.75l0-492.5 q 15.5-17 31-7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rewind\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,506.5l-217.5-231.5q-7.5-8 -7.5-19.25t 7.5-18.75l 217.5-232q 12.5-13 31,7l0,488.5 q-18.5,19.5 -31,6zM 225,506.5l-217.5-231.5q-7.5-8 -7.5-19.25t 7.5-18.75l 217.5-232q 12.5-13 31,7l0,488.5 q-18.5,19.5 -31,6z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastforward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504.5,275l-217.5,231.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 217.5,231.5q 7.5,8 7.5,19.25t-7.5,18.75zM 31,506.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 217.5,231.5q 7.5,8 7.5,19.25t-7.5,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"music\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,448q-39.75,0 -67.75-18.75t-28-45.25t 28-45.25t 68-18.75q 15.5,0 32,4l0-189.5 l-256,51l0,262.5 q0,26.5 -28,45.25t-68,18.75t-68-18.75t-28-45.25t 28-45.25t 68-18.75q 15.5,0 32,4l0-228 l0-64 q0-13 9.5-22.5t 22.5-9.5l 320-64q 13,0 22.5,9.25t 9.5,22.75l0,352 q0,26.5 -28.25,45.25t-68,18.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"headphones\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5l0-256 q 15.5,0 32,4l0-36 q0-74 -41.25-117t-118.75-43t-118.75,43t-41.25,117l0,36 q 16.5-4 32-4l0,256 q-53,0 -90.5-37.5t-37.5-90.5q0-48 32-84.5l0-75.5 q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87l0,75.5 \nq 32,36.5 32,84.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"movie4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5q0,69.5 -34.25,128.5t-93.25,93.25t-128.5,34.25zM 352,448q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75\nt-18.75,45.25t 18.75,45.25t 45.25,18.75zM 255.75,288q 13.25,0 22.75-9.5t 9.5-22.5t-9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.25,22.5t 22.5,9.25zM 160,448q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 112,144q-26.5,0 -45.25,18.75\nt-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 256,32q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 400,144q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75\nt 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"play2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-79.5,0 -135.75,56.25t-56.25,135.75t 56.25,135.75t 135.75,56.25t 135.75-56.25t 56.25-135.75\nt-56.25-135.75t-135.75-56.25zM 192,144l 192,112l-192,112l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"video\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l0-32 l-320,0 l0,32 l-96,0 l0-480 l 96,0 l0,32 l 320,0 l0-32 l 96,0 l0,480 l-96,0 zM 64,64l-32,0 l0,32 l 32,0 l0-32 zM 64,128l-32,0 l0,32 l 32,0 l0-32 zM 64,192l-32,0 l0,32 l 32,0 l0-32 zM 64,256l-32,0 l0,32 l 32,0 l0-32 zM 64,320l-32,0 l0,32 l 32,0 l0-32 zM 64,384l-32,0 l0,32 l 32,0 l0-32 zM 64,448l-32,0 l0,32 l 32,0 l0-32 zM 416,96l-320,0 l0,352 l 320,0 l0-352 z\nM 480,64l-32,0 l0,32 l 32,0 l0-32 zM 480,128l-32,0 l0,32 l 32,0 l0-32 zM 480,192l-32,0 l0,32 l 32,0 l0-32 zM 480,256l-32,0 l0,32 l 32,0 l0-32 zM 480,320l-32,0 l0,32 l 32,0 l0-32 zM 480,384l-32,0 l0,32 l 32,0 l0-32 zM 480,448l-32,0 l0,32 l 32,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"evernote\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,320q0,88.5 -12,129.5t-40,48q-1.5,0.5 -11,3.25t-15.5,4t-16.75,3.25t-22.75,3t-26,1q-52,0 -64-16q-5-7 -10.5-22.5t-5.5-25.5q0-33.5 14.25-48.75t 49.75-15.25q 32,0 32,16q0,0.5 -3.5,4.25t-11.5,7.75t-17,4q-7,0 -19.5,10.25t-12.5,21.75q0,10.5 13,21.25t 35,10.75q 9.5,0 15.5-0.5t 13-2.25\nt 10.75-5t 6.25-9.25t 2.5-15l0-64 q0-7 -1-12.25t-2.5-8.75t-4.75-5.75t-5.75-3.5t-7.5-1.75t-8-0.5t-9,0.25t-9.5,0.25q-51,0 -64-16l-2.25-2.75t-3.75-4.75t-3.5-5.5t-3.75-8.5t-2.75-10.5q0,15 -15.75,34.5t-34.75,32.5t-29.5,13l-48,0 q-15,0 -38.25-18.25t-40.5-41.5t-17.25-36.25l0-128 q0-13.5 8.5-22.75t 23.5-9.25\nl 64,0 q 10,0 21-11.5t 11-20.5l0-64 q0-14.5 12.75-23.25t 38.75-8.75q 29,0 54,9.5t 38.5,22.5q 35.5,0.5 55,1.5t 42,4.5t 31,10q 13.5,10.5 20.5,16.75t 14.5,15.75t 10.25,21t 2.75,26.5l0,192 zM 385.25,192q-13.25,0 -22.75,9.5t-9.5,22.5l 51.5,25.5q 12.5-9.5 12.5-25.5q0-13 -9.25-22.5t-22.5-9.5zM 113,96l-79.5,0 l-0.5-0.5q-1-2 13.5-21.5\nt 27-33.5q 12-13 31-27.5t 23.5-13l 1,2l0,78 q0,6.5 -4.5,11.25t-11.5,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rss\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34q0-75 -29.25-143t-78.5-117.25t-117.25-78.5t-143-29.25q-20,0 -34-14t-14-34t 14-34t 34-14q 63,0 123.25,16.75t 111,46.5t 93.75,72.75t 72.75,93.75t 46.5,111t 16.75,123.25q0,20 -14,34t-34,14zM 48,192q 55.5,0 105.75,21.5t 86.75,58t 58,86.75\nt 21.5,105.75q0,20 -14,34t-34,14t-34-14t-14-34q0-75.5 -50.25-125.75t-125.75-50.25q-20,0 -34-14t-14-34t 14-34t 34-14zM 64,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"draft2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448l0,32 q0,13 -9.5,22.5t-22.5,9.5l-32,0 l-384,0 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 l0,0 zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 \nq 10,0 19,4.25t 13,11.75q 2.5,8.5 8.25,33t 7.75,31q 4,10 11.75,13t 22.75,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 9-45 16-64q 6.5-16 32-16l 16,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 zM 352,288l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 192,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5z\nM 352,192l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"outbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448l0,32 q0,13 -9.5,22.5t-22.5,9.5l-32,0 l-384,0 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 l0,0 zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 \nq 10,0 19,4.25t 13,11.75q 2.5,8.5 8.25,33t 7.75,31q 4,10 11.75,13t 22.75,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 9-45 16-64q 6.5-16 32-16l 16,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 zM 373.5,256l-53.5,0 l0,64 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 l-54,0 q-7.5,0 -9.5-3t 4-9.5\nl 107-108.5q 7-7 16.5-7t 16,7l 107,108.5q 6,6.5 4,9.5t-9.5,3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"inbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 l-384,0 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 l0,64 l0,32 q0,13 -9.25,22.5t-22.75,9.5zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 \nq 10,0 19.25,4.25t 12.75,11.75q 2.5,8.5 8.25,33t 7.75,31q 4,10 11.75,13t 22.75,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 9-45 16-64q 6.5-16 32-16l 16,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 zM 272,345q-6.5,7 -16,7t-16.5-7l-107-108.5q-6-6.5 -4-9.5t 9.5-3l 54,0 l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 \nq 13.5,0 22.75,9.25t 9.25,22.75l0,64 l 53.5,0 q 7.5,0 9.5,3t-4,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailimport\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55.5 55.5-91.75t 101.5-36.25t 101.5,36.25t 55.5,91.75l 67,0 l 0.5,0 l-224.5,224.5zM 348,183q 4-5 4-11.5t-4-11.5l-60,0 l0-80 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l-60.5,0 q-4,5 -4,11.5\nt 4,11.5l 92.5,73zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,378q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailexport\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55.5 55.5-91.75t 101.5-36.25t 101.5,36.25t 55.5,91.75l 67,0 l 0.5,0 l-224.5,224.5zM 288,240l0-80 l 60,0 q 4-5 4-11.5t-4-11.5l-92-73l-92.5,73q-4,5 -4,11.5t 4,11.5l 60.5,0 l0,80 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,378q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailforward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55 55.5-91.5t 101.5-36.5t 101.5,36.5t 55.5,91.5l 67,0 l 0.5,0 l-224.5,224.5zM 279,252l 73-92l-73-92.5q-5-4 -11.5-4t-11.5,4l0,60.5 l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 l0,60 \nq 5,4 11.5,4t 11.5-4zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,378q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailrefresh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 333.5,320l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55.5 55.5-91.75t 101.5-36.25t 101.5,36.25t 55.5,91.75l 67,0 l 0.5,0 l-224.5,224.5zM 256,64q-22.5,0 -42,10t-33,27l-5-5q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl-20.5-20.5q 9-12.5 22.75-20t 29.75-7.5q 18.5,0 33.75,9.75t 23.25,25.75l 28.5-14.5q-12-24 -35-38.5t-50.5-14.5zM 331,219l 5,5q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l 20.5,20.5q-19.5,27.5 -52.5,27.5q-18.5,0 -33.75-9.75t-23.25-25.75l-28.5,14.5\nq 12,24 35,38.5t 50.5,14.5q 22.5,0 42-10t 33-27zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 201,342.5l 35.5,35.5q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"reademail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 174.5-174.5q 4,7 4,14.5l0,320 q0,7.5 -3.5,14.5zM 448.5,160l-0.5,0 l0,0.5 l-128,128l0-0.5 l-128,0 l0,0.5 l-128-128l0-0.5 l-0.5,0 l-31.5-31.5l0-0.5 l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 384,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 l0,0.5 zM 178.5,320l-175,174.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 4-14.5zM 288.5,320l 192,192l-0.5,0 l-448,0 l-0.5,0 \nl 192-192l 65,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"draft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 10,0 19.25,4.25t 12.75,11.75l 16.75,50.25l 15.25,45.75q 4,10 12,13t 22.5,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 25.5-77 32-96q 6.5-16 32-16l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.25,22.5t-22.75,9.5z\nM 328,390.5q-4.5,10.5 -16.25,18t-24.75,7.5l-60.5,0 q-13,0 -25-7.5t-16.5-18l-35.5-102.5l-117.5,0 l0-256 q0-13.5 9.25-22.75t 22.75-9.25l 384,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,256 l-117.5,0 zM 112,224l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75z\nM 240,96l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 416,208q0-6.5 -4.75-11.25t-11.25-4.75\nl-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"archive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 133,332.5l 106.5,108.5q 7,7 16.5,7t 16.5-7l 106.5-108.5q 6-6.5 4-9.5t-9.5-3l-53.5,0 l0-64 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 \nq-13.5,0 -22.75,9.25t-9.25,22.75l0,64 l-54,0 q-7.5,0 -9.25,3t 4.25,9.5zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"closetab\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 l 24-78q 7-21.5 29.25-35.75t 47.75-14.25l 182,0 q 25.5,0 47.75,14.25t 29.25,35.75l 24,78l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,224 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 zM 320,352l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"newtab\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 l 24-78q 7-21.5 29.25-35.75t 47.75-14.25l 182,0 q 25.5,0 47.75,14.25t 29.25,35.75l 24,78l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,224 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 zM 320,352l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 32,0 l0-32 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.25t 9.5,22.75l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75\nt-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"closewindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 224,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 448,176q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 320,352l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"newwindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 224,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 448,176q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 320,352l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 32,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"share\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,192q-22,0 -41.5-9.75t-33-26.25l-153,75q 3.5,13.5 3.5,25t-3.5,25l 153,75q 14-17 33.25-26.5t 41.25-9.5q 40,0 68,28t 28,67.75t-28,68t-68,28.25q-39.5,0 -67.5-28t-28.5-67.5l-168.5-82.5q-25,18 -55.5,18q-40,0 -68-28.25t-28-68t 28-67.75t 68-28q 30.5,0 55.5,17.5l 168.5-82\nq 0.5-39.5 28.5-67.5t 67.5-28q 40,0 68,28t 28,67.75t-28,68t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pocket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-44,0 -81-8t-70-27t-55.75-48t-36-73t-13.25-100l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,56 -13.25,100t-36,73t-55.75,48t-70,27t-81,8zM 403.75,171.25q-12.25-11.75 -29.75-11.75t-29.5,11.5l-88.5,84.5l-89-84.5\nq-12-11.5 -29.25-11.5t-29.5,11.75t-12.25,28.25t 12,28l 118.5,112.5q 12,12 29.25,12t 29.75-12l 118-112.5q 12.5-11.5 12.5-28t-12.25-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twitter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,128q-45.5,0 -60.5,2q 29-17.5 44.5-66q-4.5,3 -14.75,9.5t-16.5,10.25t-15.75,7.75t-18,5.5q-31-33 -76.5-33q-46,0 -72.25,19.25t-26.25,60.75q0,2 -0.5,13.5t-0.5,21.25t 1,13.25q-67-3.5 -118.5-26.5t-89.5-69.5q-16,27.5 -16,48q0,28.5 8,47.25t 28,32.25q-20,0.5 -36,0.5\nq0,76 73,90.5q-13.5,4 -28,4q-10,0 -19.5-2q 9.5,30.5 38.25,48.75t 64.25,18.75q-11.5,11.5 -27,18.5t-35.5,9.75t-32.5,3.25t-33,0.5q-2,0 -14.5,0.75t-17.5,0.25q 13.5,26 55.25,44.5t 105.75,18.5q 56,0 103.75-18.25t 81-48.75t 56.75-70t 34.5-82t 11-85q0-1.5 4.75-2.75t 12.25-3.75t 15.75-6.75t 17-13.25\nt 14.25-21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"path\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,384q-37,0 -64-17.5l0,81.5 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25q0-1.5 0.25-3.5t 2-7.5t 4.75-9.75t 9.5-7.75t 15.5-3.5l 4.75,0 l 4.75,0 t 4.25-0.25t 4.5-0.5l 3.75-0.75t 3.5-1.25t 2.5-2t 2.25-2.75t 1.25-3.75t 0.5-4.75l0-208 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 \nq0,14 19.25,23t 44.75,9q 38.5,0 67.25-26t 28.75-70q0-31 -21.75-53t-57.5-32.5t-80.75-10.5q-34.5,0 -62.5,7t-50.5,21.75t-34.75,40t-12.25,59.25q0,18 19.5,44.5l-75.5,75.5q-40-55 -40-120q0-46.5 14.5-84.5t 38.75-63.5t 57.5-43t 69.5-25.25t 75.75-7.75q 39,0 75.75,7.5t 69.5,23.25t 57.5,38.25\nt 39,54t 14.25,69q0,40.5 -12.25,75t-35.5,60.75t-60.5,41.25t-83.75,15z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vimeo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 240,512q-23,0 -42-12.75t-32-35.75t-22.75-49.75t-16.75-59.5t-11.75-60.25t-9.75-57t-9-45q-1-3.5 -2.75-13.5t-3.5-17.5t-5-15.75t-8.5-12.75t-12.25-4.5q-7.5,0 -22.5,9.5t-25.5,22.5l-16-32q 72-128 144-128q 25,0 41,21.25t 23,58.75q 4,21 11.25,63.25t 12.5,70.75t 12.25,59.25t 14,46.75t 14,16\nq 15,0 38.25-29t 40.5-67.5t 17.25-63.5q0-27.5 -11.25-37.75t-32.25-10.25q-20.5,0 -36.5,14q 0.5-35 15-67.5t 40.5-53.5t 56.5-21q 112,0 112,128q0,37 -20.25,88.75t-52.5,102t-68.5,94.5t-72,71.5t-58.75,27.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"blogger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l-192,0 q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25l0-192 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5l 96,0 q 43.5,0 80.25,21.5t 58.25,58.25t 21.5,80.25q0,13 9.25,22.5t 22.75,9.5l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,128l-96,0 \nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 96,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25zM 352,320l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"linkedin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 128,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 448,256q0-40 -28-68t-68-28q-22,0 -48.25,7t-47.75,19.5l0-10.5 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-144 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-176 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"googleplus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-208,0 q 32-34 32-80q0-55.5 -38-90.5q-6.5-6 -14.75-12.5t-17.75-13.5t-13.5-10l0-0.5 q-12-6.5 -12-33q0-7 10.75-16.5t 21.25-15.5q 12-6.5 22-28.75t 10-51.25q0-28 -9.25-54.25t-27.25-41.75l 36.5,0 l 32-32l-157,0 q-78,0 -115,39l0-7 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25\nl0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 464,128l-48,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nzM 96,64q 39,0 67.5,28.25t 28.5,67.75q0,38 -22.75,59t-57.25,21q-32.5,0 -56.25-28.25t-23.75-67.75q0-33.5 20.25-56.75t 43.75-23.25zM 96,272l0,16 q0,11 4,23t 8,18.5l 4,6.5q-67,0 -112,26l0-121.5 q 33.5,30.5 96,31.5zM0,420.5q 11-27.5 46.75-40t 81.25-12.5q 21,0 42.75,9.75t 37.5,28.75\nt 15.75,41.5q0,19 -11.25,35.75t-30.25,28.25l-118.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-27.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tumblr\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,512q-33,0 -56.5-23.5t-23.5-56.5t 23.5-56.5t 56.5-23.5t 56.5,23.5t 23.5,56.5t-23.5,56.5t-56.5,23.5zM 192,512q-50.5,0 -89.25-26t-38.75-54l0-208 l-64,0 l0-96 q 49.5,0 72.75-29t 23.25-99l 64,0 l0,128 l 96,0 l0,96 l-96,0 l0,162.5 q0,13 19.25,21.25t 44.75,8.25t 40-3.25t 24-12.75l0,74.5 q0,11.5 -16.25,20.5t-37.75,13\nt-42,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"googledrive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 188,38.5l 4-6.5l 128,0 l 173,288l-142.5,0 zM 71.5,454.5l-71.5-102.5l 167.5-279.5l 61.5,106.5zM 171,352l 341,0 l-89,128l-326,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,416l0,96 q-3.5-2 -10-6t-27-22t-41-42q-24.5,6 -50,6q-36.5,0 -67.25-7.5t-50.25-18.5t-33.25-24.5t-19.5-25t-5.75-20.5l 48,0 q 64.5,0 114.75-22.5t 79.75-66.5t 29.5-103q 96,48.5 96,136q0,71.5 -64,120zM 416,160zM 192,320q-25.5,0 -50-6q-20.5,24 -40,41.5t-29,23l-9,5.5l0-96 \nq-64-48.5 -64-120q0-45.5 25.75-84.25t 70-61.25t 96.5-22.5t 96.5,22.5t 69.75,61.25t 25.5,84.25t-26,80.5t-69.5,53.25t-96.5,18.25zM 192,32q-43.5,0 -80.25,17t-58.25,46.5t-21.5,64.25t 21.5,64.25t 58.25,46.75t 80.25,17.25t 80.25-17.25t 58.25-46.75t 21.5-64.25t-21.5-64.25t-58.25-46.5\nt-80.25-17z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"avatar2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l0-32 q0-31 -12-54.5t-34.25-38.25t-50.5-23.25t-63.25-11l0-8 q 40.5-17 68.25-68.75t 27.75-107.75q0-51.5 -35.75-78t-92.25-26.5t-92.25,26.5t-35.75,78q0,54.5 28.5,106t 67.5,69.5l0,9 q-35,2.5 -63.25,11t-50.5,23.25t-34.25,38.25t-12,54.5l0,32 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 \nq0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"basecamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-55.5,0 -100-6.75t-80.5-21t-55.75-39.75t-19.75-60.5q0-38 12.75-82.25t 36.75-86t 55-76t 70.75-55t 80.75-20.75t 80.75,20.75t 70.75,55t 55,76t 36.75,86t 12.75,82.25q0,35 -19.75,60.5t-55.75,39.75t-80.5,21t-100,6.75zM 320,128q-10,0 -26,22.5t-30.25,49.5\nt-30.25,49.5t-25.5,22.5q-10.5,0 -21-7.5t-18-16.5t-18.5-16.5t-22.5-7.5q-23.5,0 -43.75,30t-20.25,66q0,26 14.75,45.25t 41.75,30t 60.5,15.75t 75,5t 75-5t 60.5-15.75t 41.75-30t 14.75-45.25q0-34 -21.5-79.75t-52-79t-54.5-33.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tag2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 385,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-251.5 q-1-14.5 9-25l 160.5-162q 9.5-9.5 22.5-9.5q 13.5,0 23,9.5l 40,40.5l 80,81l 40,40.5q 4.5,5 7,10.25t 2,8.25l0,3 l0,255 q0,26.5 -18.75,45.25t-45.25,18.75zM 257,96q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75\nt 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"outgoingcall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 482.75,192q-13.25,0 -22.75-9.5t-9.5-22.5l0-52 l-107,107.5q-9.5,9 -22.25,9t-21.75-9.25t-9-22t 9-21.75l 108-107.5l-53,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 q0,13 -9.25,22.5t-22.5,9.5zM 326.5,402l 43.5-43.5q 7.5-7 26.25-6t 38,6t 31.75,11\nq 28,13 41,32.75t 1.5,31.25l-53,53q-22,22 -58.75,24.75t-79.75-11.5t-91-45.25t-91.5-74.5t-74.5-91.5t-45.25-90.75t-11.5-79.5t 24.75-58.75l 53-53q 10.5-10.5 27.75,2t 36.75,40.5q 9,13.5 14.5,48.25t-4,47.75l-43.5,43.5q 9,32.5 47.5,80t 86,86.25t 80.5,47.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"incomingcall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,52l-108,108l 53,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,52 l 107.5-107.5q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75zM 326.5,402l 43.5-43.5q 7.5-7 26.25-6t 38.25,6t 31.5,11\nq 28,13 41,32.75t 2,31.25l-53.5,53q-22,22 -58.75,24.75t-79.5-11.5t-91-45.25t-91.75-74.5t-74.5-91.5t-45.25-91t-11.5-79.5t 24.75-58.5l 53-53q 10.5-10.5 27.75,2t 36.75,40.5q 9,13.5 14.5,48.25t-4,47.75l-43.5,43.5q 9,32.5 47.5,80t 86,86.25t 80.5,47.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"missedcall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 446,111.5l 59.5,59.5q 9,9 9,21.75t-9,22t-21.75,9.25t-21.75-9l-59.5-60l-59.5,60q-9,9 -21.75,9t-22-9.25t-9.25-22t 9.5-21.75l 59.5-59.5l-59.5-59.5q-9.5-9 -9.5-21.75t 9.25-21.75t 22-9t 21.75,9l 59.5,59.5l 59.5-59.5q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75zM 326.5,402\nl 43.5-43.5q 7.5-7 26.25-6t 38.25,6t 31.5,11q 28,13 41,32.75t 2,31.25l-53.5,53q-22,22 -58.75,24.75t-79.5-11.5t-91-45.25t-91.75-74.5t-74.5-91.5t-45.25-91t-11.5-79.5t 24.75-58.5l 53-53q 10.5-10.5 27.75,2t 36.75,40.5q 9,13.5 14.5,48.25t-4,47.75l-43.5,43.5q 9,32.5 47.5,80t 86,86.25\nt 80.5,47.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 156.5,144.5l-44,43.5q 9,32.5 47.5,80.25t 86.25,86.25t 80.75,47.5l 43.5-43.5q 7.5-7.5 26.5-6.25t 38.25,6t 31.75,10.75q 28,13.5 41,33.25t 1.5,30.75l-53.5,53.5q-21.5,22 -58.5,24.75t-80-11.5t-91-45.25t-91.5-74.5t-74.75-91.75t-45.5-91.25t-11.5-79.75t 24.75-58.25l 53.5-53.5q 10.5-10.5 27.5,2.25t 36.5,40.25\nq 9.5,13.5 15,48.5t-4,48z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"avatar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,512l0-512 l 512,0 l0,512 l-512,0 zM 480,32l-448,0 l0,384 l 448,0 l0-384 zM 224,273.5l0-6.5 q-33.5-11 -48.75-45t-15.25-82.5q0-37 26.75-56.25t 69.25-19.25t 69.25,19.25t 26.75,56.25q0,108.5 -64,128l0,6 q 56.5,5 91.75,26.5t 36.25,57q0,5 -4.25,9t-13,6.75t-18,4.75t-23.5,3.25t-25,2t-27.25,1\nt-25.25,0.25l-23.75,0 l-23.75,0 t-25.25-0.25t-27.25-1t-25-2t-23.5-3.25t-18-4.75t-13-6.75t-4.25-9q 1-35.5 36.25-57t 91.75-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"browser\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 224,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 448,176q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment6\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-69.5 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25\nt 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 352.25,288q-13.25,0 -22.75-9.5t-9.5-22.5t 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5t-9.25,22.5t-22.5,9.5zM 256.25,288q-13.25,0 -22.75-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.25,22.5\nt-22.5,9.25zM 160.25,288q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-69.5 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 160.25,224q-13.25,0 -22.75,9.25t-9.5,22.75t 9.5,22.75\nt 22.75,9.25t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5zM 256.25,224q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 352.25,224q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75\nt-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-69.5 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"reddit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 470,252q 10,25.5 10,52q0,48 -30,88.5t-81.5,64t-112.5,23.5t-112.5-23.5t-81.5-64t-30-88.5q0-26.5 10-52q-18.5-7 -30.25-23.25t-11.75-36.75q0-26.5 18.75-45.25t 45.25-18.75q 18.5,0 33.75,9.75t 23.25,25.75q 51-30 114.5-34.5q 1-5.5 3.25-14.25t 7-27.25t 8-30.75l 3.25-12.25q 6-12.5 15-12.5l 83,0 \nq 5-14 17.25-23t 27.75-9q 20,0 34,14t 14,34t-14,34t-34,14q-15.5,0 -27.75-9t-17.25-23l-70.5,0 l-16.5,64.5q 68.5,3 123,35q 8-16 23.25-25.75t 33.75-9.75q 26.5,0 45.25,18.75t 18.75,45.25q0,20.5 -11.75,36.75t-30.25,23.25zM 63.75,160q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25\nt 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 159.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 256,384q-27,0 -40.75-3.25t-23.25-12.75q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,3.5 1.5,6.5q 5,16.5 31.5,29t 63,12.5\nq 37,0 63.5-12.25t 31-29.25q 1.5-3.5 1.5-6.5q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q-16,16 -64,16zM 351.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 447.75,160q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.75,9.25\nt 22.75-9.25t 9.25-22.75t-9.5-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"myspace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,32 l 384,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 443.5,272q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.75t 3.5-24.5l 15-53.5l-55.5-137.5q-3.5-6 -5.75-14.25t-2.75-15.75t 2.5-13\nt 10-5.5q 15,0 22.25,2.75t 13.25,13.25l 39.5,88l 25.5-88q 6.5-11.5 19.25-14.75t 24.25,3.25t 15,19.5t-3.5,24.5zM 288,224q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 -9.25-22.5t-22.75-9.5t-22.75,9.5t-9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-128 q0-13 -9.25-22.5\nt-22.75-9.5t-22.75,9.5t-9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-96 l0-64 q0-13 9.5-22.5t 22.5-9.5q 13.5,0 23,9.5q 20-9.5 41-9.5q 36.5,0 64,25q 27.5-25 64-25q 39.5,0 67.75,28.25t 28.25,67.75l0,96 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"delicious\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,64q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 l0,224 l-224,0 l0,192 q0,13.5 9.5,22.75t 22.5,9.25l 192,0 l0-224 l 224,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"yahoo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-59.5,0 l-148.5,164l0,156 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-152.5 l-131-230.5l0-0.5 l0-0.5 l-45,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-63,0 l 106,183.5l 109-119.5l-56,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gmail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-10,0 -15.75,0.75t-15,5.5t-18.75,14.25l-126.5,126.5l-126.5-126.5q-9.5-9.5 -18.75-14.25t-14.75-5.5\nt-16-0.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,288 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16.5 l 105.5-105l 37,37q 7.5,7.5 17.5,3.5q 10,4 17.5-3.5l 37-37l 105.5,105l0,16.5 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-288 zM 416,338.5l-83-83l 83-82.5l0,165.5 zM 96,173\nl 83,82.5l-83,83l0-165.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phonebook2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l-32,0 l0-32 l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l-32,0 l0-32 l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l-32,0 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 \nq0,13 -9.5,22.5t-22.5,9.5zM 336,307l0-9 q 48-19.5 48-106q0-31.5 -22.25-47.75t-57.5-16.25t-57.75,16.25t-22.5,47.75q0,84 48,105.5l0,9.5 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75t 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -23-37.5t-57-22.5zM 128,96.25\nq0,13.25 -9.25,22.5t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75zM 32,224l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25zM 32,384l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5t-9.25,22.5\nt-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chrome\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512l 112-192q 16-27.5 16-64q0-28 -11.5-53t-32-43l 152.5,0 q 19,46.5 19,96q0,69.5 -34.25,128.5t-93.25,93.25t-128.5,34.25zM 130.5,230.5l-76-132q 35.5-45.5 88.25-72t 113.25-26.5q 70,0 128.75,34.75t 92.75,93.25l-221.5,0 q-46,0 -81.25,29.25t-44.25,73.25zM 256,160q 40,0 68,28t 28,68\nt-28,68t-68,28t-68-28t-28-68t 28-68t 68-28zM 144,320q 17,29 47,46.5t 65,17.5q 21,0 41-7l-76.5,132.5q-61.5-9 -112-44.25t-79.5-90.5t-29-118.75q0-68.5 34.5-128z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forrst\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 432,384l-144-288q-11.5-32 -32-32q-3,0 -6.25,1t-5.5,2.25t-4.75,4t-4,4.25t-3.5,5.25t-2.75,5.25l-2.75,5.5t-2.5,4.5l-144,288\nq-0.5,1 -8.25,13.5t-7.75,18.5q0,13 9.5,22.5t 22.5,9.5l 128,0 l0-74.5 l-59.5-59q-4.5-4.5 -4.5-11t 4.5-11t 11-4.5t 11,4.5l 37.5,38l0-26.5 q0-6.5 4.75-11.25t 11.25-4.75l 26.5,0 l 27-27.5q 4.5-4.5 11-4.5t 11,4.5t 4.5,11t-4.5,11l-27.5,27l0,53 l 37.5-38q 4.5-4.5 11-4.5t 11,4.5t 4.5,11t-4.5,11l-59.5,59l0,42.5 l 128,0 q 13,0 22.5-9.5t 9.5-22.5q0-4.5 -3-10.75\nt-7.5-13z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dribbble\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 432.5,331q-33.5-10.5 -65-10.5q-5,0 -18.5,2q 9.5,46.5 10,95q 50-32 73.5-86.5zM 302,442q 1-51 -9-103q-15,7.5 -27.5,16.5\nq-54,38 -71,82q 30,10.5 61.5,10.5q 22.5,0 46-6zM 65,239q-1,9.5 -1,17q0,46.5 20.75,86.75t 56.75,66.75q 25.5-65.5 81.5-105q 26.5-18.5 53-30q-8-22.5 -16-41q-48,23 -100,22.5q-47.5-0.5 -95-17zM 153,94.5q-48,30.5 -71.5,82q 40,15.5 78.5,15.5q 35.5,0 69-16q-33.5-52.5 -76-81.5zM 256,64\nq-22.5,0 -47,6.5q 37,29 68,75q 39-30.5 54-66q-36-15.5 -75-15.5zM 382,111.5q-24,55.5 -72,92q 12,26 22,55q 18.5-2.5 35.5-2.5q 38.5,0.5 79.5,12q 1-11.5 1-12q0-42.5 -17.5-80t-48.5-64.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"facebook2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,415.75q0,13.25 9.5,22.75t 22.5,9.5l 128,0 l0-64 l-128,0 q-13,0 -22.5,9.25t-9.5,22.5zM 416,245.5q0-9 -9.25-15.25t-22.75-6.25l-64,0 l0-64 \nq0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75-6.25t 9.25-15.25l0-21 q0-9 -9.25-15.25t-22.75-6.25l-32,0 q-53,0 -74.5,21.5t-21.5,74.5l0,64 l-32,0 q-13,0 -22.5,6.25t-9.5,15.25l0,21 q0,9 9.5,15.25t 22.5,6.25l 32,0 l0,128 q0,13 6.25,22.5t 15.25,9.5l 21,0 q 9,0 15.25-9.5t 6.25-22.5l0-0.5 l0-127.5 l 64,0 q 13.5,0 22.75-6.25\nt 9.25-15.25l0-21 zM 416,384l-64,0 l0,64 l 64,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"instagram\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 448,80\nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 448,240q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l0-16 q0-6.5 -4.75-11.25\nt-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phone3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 112,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-304 q0-6.5 4.75-11.25t 11.25-4.75l 240,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 \nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 320,336q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 320,240q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 \nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 224,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 224,336q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 \nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 224,240q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 128,384l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 96,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phone2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-256,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-35 18.25-72.25t 48.5-62.5t 61.25-25.25q 13,0 22.5-9.25t 9.5-22.75l0-32 q0-13 9.25-22.5\nt 22.75-9.5t 22.75,9.5t 9.25,22.5l 64,0 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,32 q0,13.5 9.25,22.75t 22.75,9.25q 31,0 61.25,25.25t 48.5,62.5t 18.25,72.25l0,32 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,256q-40,0 -68,28.25t-28,68t 28,67.75t 68,28t 68-28t 28-68t-28-68\nt-68-28zM 256,416q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,192l-16.25,0 t-14.25-0.5t-13.75-1.5t-10-2.75t-7.5-4.5t-2.25-6.75l0-51.5 q-12.5-11 -50-19.75t-78-8.75t-78,8.75t-50,19.75l0,51.5 q0,4 -2.25,6.75t-7.5,4.5\nt-10,2.75t-13.75,1.5t-14.25,0.5l-16.25,0 l-17.5,0 t-14.5-0.5t-13.5-1.5t-9.5-2.75t-7-4.5t-2-6.75l0-43.5 q0-31 34.75-54.25t 92.25-34.75t 129-11.5t 129,11.5t 92.25,34.75t 34.75,54.25l0,43.5 q0,4 -2,6.75t-7,4.5t-9.5,2.75t-13.5,1.5t-14.5,0.5l-17.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"share2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-96 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,128 \nq0,26.5 -18.75,45.25t-45.25,18.75zM 479.75,256q-13.25,0 -22.5-9.25t-9.25-22.75l0-119 l-206.5,206.5q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 206.5-206.5l-119,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,192 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flickr\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,384q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 112,384q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"notificationup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,512l-343,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 75.5,0 l 96-128l 96,128l 75.5,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 416,224l-320,0 q-13,0 -22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.5t-9.5-22.5t-22.5-9.5zM 416,352l-320,0 q-13,0 -22.5,9.25\nt-9.5,22.5t 9.5,22.75t 22.5,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"notificationdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-75.5,0 l-96,128l-96-128l-75.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 416,96l-320,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 416,224l-320,0 \nq-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bookmark\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-160-112l-160,112q-13.5,0 -22.75-9.5t-9.25-22.5l0-416 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,416 q0,13 -9.25,22.5t-22.75,9.5zM 294.5,166l-38.5-86l-38.5,86l-89.5,12l 66,64.5l-17,93.5l 79-46l 79,46l-17-93.5l 66-64.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"youtube\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,432q-111,16 -208,16q-43,0 -95-4t-82.5-8l-30.5-4q-13.5-2.5 -23.75-18.75t-15-39.25t-7-43t-2.25-36.5l0-77 q0-127.5 48-137.5q 111-16 208-16q 43,0 95,4t 82.5,8l 30.5,4q 14.5,2 24.75,18.25t 14.75,39.75t 6.5,43t 2,36.5l0,77 q0,18 -1.5,36.5t-6,42.5t-15,40t-25.5,18.5zM 346.5,243.5\nl-131-80q-5.5-5 -14.5-2.75t-9,7.25l0,176 q0,5.5 9,7.5t 14.5-3l 131-80q 5.5-5 5.5-12.5t-5.5-12.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skype\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-18.5 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 256,160q 26.5,0 45.25,9.25t 18.75,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.5q0-40 -37.5-68t-90.5-28t-90.5,28t-37.5,68t 37.5,68t 90.5,28q 26.5,0 45.25,9.25t 18.75,22.75t-18.75,22.75t-45.25,9.25t-45.25-9.5t-18.75-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.75q0,40 37.5,68t 90.5,28\nt 90.5-28t 37.5-68t-37.5-68t-90.5-28q-26.5,0 -45.25-9.5t-18.75-22.75t 18.75-22.5t 45.25-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"facebook\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,224q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 l0,159.5 l0,0.5 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0-96 q0-53 37.5-90.5t 90.5-37.5l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,32 \nq0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,96 l 96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"laugh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 400,320l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25q 20,56.5 58.75,84.25t 100.75,27.75t 101.25-27.75t 59.25-84.25q0-6.5 -4.75-11.25t-11.25-4.75zM 191.5,400q 12.5-48 64.5-48\nq 51.5,0 63.5,48q-7.5,7.5 -19.25,11.25t-20.25,4.25t-24.5,0.5t-24.5-0.5t-20.25-4.25t-19.25-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"blankstare\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 144,352\nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-224,0 zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 414.5,381.5q-11-29 -53.75-45.25t-104.75-16.25t-104.75,16.25t-53.75,45.25l-1.5,2.5q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q 26.5-20.5 51.25-26.25t 76.75-5.75\nt 76.75,5.75t 51.25,26.25q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q-0.5-1 -1.5-2.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"happy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 400,336q-6.5,0 -11.25,4.75t-4.75,11.25l-0.5,0 q-26.5,20.5 -51.25,26.25t-76.5,5.75t-76.5-5.75t-51.25-26.25q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nq 0.5,1 1.5,2.5q 11.5,29 54,45.25t 104,16.25l 0.5,0 l0,0 q 59,0 100.75-15t 55.25-42l 4-7q0-6.5 -4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favorite2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512.5,231.5l-101,112l 14.5,148.5q-1.5,10 -9.5,15.75t-18,3.75l-139.5-59.5l-139.5,59.5q-10,2 -18-3.75t-9.5-15.75l 14.5-148.5l-101-112q-4.5-8.5 -1.25-18t 11.75-14l 149-32l 77-129q 7-7 17-7t 17,7l 77,129l 149,32q 8.5,4.5 11.75,14t-1.25,18zM 425.5,229l-102-22.5l-53-90q-5-5 -11.75-5\nt-11.75,5l-53,90l-102.5,22.5q-6,3.5 -8,10t 1,12.5l 70.5,80l-8,100q 1,7.5 5.25,12.5t 10.25,4l 96-42l 96,42q 6.5,1 10.75-4t 5.25-12.5l-8-100.5l 70.5-79.5q 3-6 0.75-12.5t-8.25-10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favorite\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512.5,231.5l-101,112l 14.5,148.5q-1.5,10 -9.5,15.75t-18,3.75l-139.5-59.5l-139.5,59.5q-10,2 -18-4t-9.5-15.5l 14.5-148.5l-101-112q-4.5-8.5 -1.25-18t 11.75-14l 149-32l 77-129q 7-7 17-7t 17,7l 77,129l 149,32q 8.5,4.5 11.75,14t-1.25,18z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thumbdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q-27,0 -56.5,12.75t-50.5,35.5t-21,47.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25q-8.5,0 -16-4.5q-18.5-8.5 -33.25-24.75t-14.75-34.75q0-12.5 0.25-19.75t 1-20.5t 2.75-21.5t 5.5-17t 9.25-13t 13.25-4.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 144,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75l-176,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-176,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-144,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 384,0 q 26.5,0 45.25,18.75\nt 18.75,45.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thumbup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,192q-27,0 -56.5-12.5t-50.5-35.5t-21-48l0-64 q0-13 -9.25-22.5t-22.75-9.5q-8.5,0 -16,4.5q-18.5,8.5 -33.25,24.75t-14.75,34.75q0,12.5 0.25,19.75t 1,20.5t 2.75,21.5t 5.5,17t 9.25,13t 13.25,4.25l-192,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 144,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25\nt-11.25,4.75l-176,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25l 176,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-176,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25l 176,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-144,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5\nt 22.5,9.25l 384,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-192 q0-26.5 -18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"businesscard2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,32 q0,32.5 17.75,48.25t 46.25,15.75q 28,0 46-16.5t 18-47.5l0-32 l 128,0 l0,32 q0,32.5 17.75,48.25t 46.25,15.75t 46.25-15.75t 17.75-48.25l0-32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,387\nl0-26.5 q 32-18.5 32-84q0-26 -18-39.25t-46-13.25t-46,13.25t-18,39.25q0,62.5 32,83l0,27.5 q-28,5.5 -45.75,18.5t-18.25,29q0,13.5 96,13.5t 96-13.5q-0.5-16 -18.25-29t-45.75-18.5zM 464,256l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 320,336q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 464,384l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,160\nq-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,160q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"email2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,256l-256-129.5l0-30.5 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,30.5 zM 240,288l 32,0 l 240-124.5l0,252.5 q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-252.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phonebook\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-32,0 l0-128 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,320l-32,0 l0-128 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,160l-32,0 l0-128 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\nM 416,480q0,13 -9.25,22.5t-22.75,9.5l-352,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 352,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 zM 240,307l0-9 q 48-19.5 48-106q0-31.5 -22.25-47.75t-57.5-16.25t-57.75,16.25t-22.5,47.75q0,84 48,105.5l0,9.5 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75\nt 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -23-37.5t-57-22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"friends\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,293q0,5 -4.25,9t-13,6.75t-18,4.75t-23.5,3.25t-25,1.75t-27.25,1t-25.25,0.5l-23.75,0 l-64,0 l0-64 l-0.5,0 q-0.5-23 -9-40q 13.5-3.5 25.5-5l0-15.5 q-48-29 -48-120q0-37.5 26.75-56.5t 69.25-19t 69.25,19t 26.75,56.5q0,94.5 -48,121.5l0,14 q 50.5,7 81,28t 31,54zM 208,389l0,14 \nq 50.5,7 81,28.25t 31,53.75q0,5 -4.25,9t-13,6.75t-18,4.75t-23.5,3.25t-25,2t-27.25,1t-25.25,0.25l-23.75,0 l-23.75,0 t-25.25-0.25t-27.25-1t-25-2t-23.5-3.25t-18-4.75t-13-6.75t-4.25-9q 0.5-32.5 31-53.75t 81-28.25l0-15.5 q-48-29 -48-120q0-37.5 26.75-56.5t 69.25-19t 69.25,19t 26.75,56.5\nq0,94.5 -48,121.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"user\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,478.5q0,6 -6.75,11t-20.75,8.25t-28.75,6t-37.75,4.25t-40,2.25t-43.75,1.25t-40.5,0.5l-37.75,0 l-37.75,0 t-40.5-0.5t-43.75-1.25t-40-2.25t-37.75-4.25t-28.75-6t-20.75-8.25t-6.75-11q 1-44 55-77.75t 137-44.75l0-16.5 q-26-11.5 -45-32.5t-30-49.25t-16-60.5t-5-69.75q0-32 12.5-57t 34.5-40.25\nt 50.5-23t 62.5-7.75t 62.5,7.75t 50.5,23t 34.5,40.25t 12.5,57q0,175 -96,213l0,15.5 q 83,11 137,44.75t 55,77.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"love\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,362l-146.5,150l-147-150q-59.5-61 -84.25-115.5t-24.75-118.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,63.5 -24.75,118.25t-84.75,115.75zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,0.5 q0,8.5 -20,20t-44,11.5\nq-25,0 -44.5-11t-19.5-21l0,0 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,0.5 q0,53 18,95.25t 63.5,95.25l 110.5,113l 110-113q 46-53.5 64-95.5t 18-95.5l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"loved\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,362l-146.5,150l-147-150q-59.5-61 -84.25-115.5t-24.75-118.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,63.5 -24.75,118.25t-84.75,115.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"post2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-43.5,0 l-128,128l0-128 l-171.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 384,96l-256,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 384,224l-256,0 \nq-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quote\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-43.5,0 l-128,128l0-128 l-171.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 224,192q0-13.5 -9.25-22.75t-22.75-9.25l-32,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 q-13,0 -22.5,9.5t-9.5,22.5l0,128 \nq0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-64 zM 416,192q0-13.5 -9.5-22.75t-22.5-9.25l-32,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,128 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"post\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-107.5,0 l-128,128l0-128 l-107.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 448,113.5q0-20.5 -14.5-35t-34.5-14.5l-286,0 q-20.5,0 -34.75,14.5t-14.25,35l0,157 q0,20.5 14.25,35t 34.75,14.5l 286,0 q 20,0 34.5-14.5t 14.5-35l0-157 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-33,0 -67-8q-17,20 -34.75,34.75t-30,21.75t-23.75,10.75t-15,4.25t-5.5,0.5q 13-28.5 15-62.25t-6.5-56.75q-41.5-31.5 -65-75.5t-23.5-93.5q0-45.5 20.25-87t 54.5-71.5t 81.75-47.75t 99.5-17.75t 99.5,17.75t 81.75,47.75t 54.5,71.5t 20.25,87t-20.25,87t-54.5,71.5t-81.75,47.75\nt-99.5,17.75zM 127.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 255.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 383.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5\nt 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-33,0 -67-8q-17,20 -34.75,34.75t-30,21.75t-23.75,10.75t-15.25,4.25t-5.25,0.5q 13-28.5 15-62.25t-7-56.75q-41-31.5 -64.5-75.5t-23.5-93.5q0-45.5 20.25-87t 54.5-71.5t 81.75-47.75t 99.5-17.75t 99.5,17.75t 81.75,47.75t 54.5,71.5t 20.25,87t-20.25,87t-54.5,71.5t-81.75,47.75\nt-99.5,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bluetooth\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 438.5,167q-5.5,5.5 -15,7.5l-124.5,81.5l 139.5,91.5q 9,9 9,21.75t-9,21.75q-6.5,6.5 -17.5,8l-173.5,102.5q-1.5,0.5 -5,2.75t-5.75,3.75t-5.5,2.75t-6.75,1.25q-14,1 -24.25-9t-8.25-25.5l0-151.5 l-76,49.5q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 116-76l-116-76\nq-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 76,49.5l0-151.5 q-2-15.5 8.25-25.5t 24.25-9q 2.5,0 5,0.5t 5,2t 4,2.25t 4.75,3t 4.25,3.25l 191,112.5q 9,9 9,21.75t-9,21.75zM 256,427l 102.5-60l-102.5-67l0,127 zM 256,85l0,127 l 102.5-67z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"android\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128q-4,0 -9-1.5l-63,63.5q 61.5,32.5 98.75,93t 37.25,133q0,13.5 -9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.75q0-72.5 37.25-133t 98.75-93l-63-63.5q-5,1.5 -9,1.5q-13.5,0 -22.75-9.25t-9.25-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.5q0,4 -1.5,9l 72,71.5q 44-16.5 89.5-16.5\nt 89.5,16.5l 72-71.5q-1.5-5 -1.5-9q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 128,288q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25t 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 383.75,352q 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webcam2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,415l0-64.5 q 54-6 91-46.75t 37-96.25t-37-96.5t-91-47l0-64 q 53,4 97,32.5t 69.5,74.75t 25.5,100.25t-25.5,100.25t-69.5,74.75t-97,32.5zM 352.5,143.5q0,20 -23.5,34t-56.75,14t-56.75-14t-23.5-34t 23.5-34t 56.75-14t 56.75,14t 23.5,34zM 128,207.5q0,55.5 37,96.25t 91.5,46.75l0,64.5 \nq-53.5-4 -97.5-32.5t-69.5-74.75t-25.5-100.25t 25.5-100.25t 69.5-74.75t 97.5-32.5l0,64 q-54.5,6 -91.5,47t-37,96.5zM 128,416q 11.5,11 28.25,18.25t 39.25,9.75t 37.25,3.25t 39.75,0.75t 39.5-0.75t 37.25-3.25t 39.25-9.75t 28-18.25q 11,10.5 16.25,17t 10.5,19.25t 5.25,27.75q0,6 -4.5,10.5t-14,7.75\nt-19.25,5.75t-25.5,4t-27.5,2.25t-30.25,1.25t-28.25,0.5l-27,0 l-27,0 t-28.25-0.5t-30-1.25t-27.5-2.25t-25.75-4t-19.25-5.75t-14-7.75t-4.5-10.5q0-15 5.25-27.75t 10.75-19.25t 16-17z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"install\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 500.5,331.5q 11.5,25 11.5,52q0,53 -37.5,90.5t-90.5,37.5q-27,0 -52-11q-37,11.5 -76,11.5q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5q0,38.5 -11.5,75.5zM 256,448q 7.5,0 17-1\nq-17-29.5 -17-63.5q0-36 19-66.5q-10.5,3 -19,3q-22.5,0 -40.5-14.5l-81,99q 53,43.5 121.5,43.5zM 288,256.25q0-13.25 -9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5q 13.5,0 22.75-9.25t 9.25-22.5zM 64,256q0,68.5 43.5,121.5l 99-81q-14.5-18 -14.5-40.5q0-13 5-25l-117.5-50.5q-15.5,36 -15.5,75.5z\nM 256,64q-39.5,0 -75.5,15.5l 50.5,117.5q 11.5-5 25-5q 22.5,0 40.5,14.5l 81-99q-53-43.5 -121.5-43.5zM 404.5,134.5l-99,81q 14.5,18 14.5,40.5q0,8.5 -3,18.5q 31-19 67-19q 33.5,0 63,17q 1-10 1-16.5q0-68.5 -43.5-121.5zM 475.5,351.5l-59.5,0 l0-32 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l-59.5,0 \nq-4.5,0 -4.75,7t 3.75,11l 74,70.5q 7.5,7.5 18.5,7.5t 18.5-7.5l 74-70.5q 4-4 3.5-11t-4.5-7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"menu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,128l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 64,384l 384,0 \nq 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mouse2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25l0-192 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,192 q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5zM 256.25,96q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"print\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,288q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5\nt-9.25,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 zM 128,352q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 64,32q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 l-384,0 l0-128 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sidebar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,432q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0-224 l-192,0 l0,208 zM 256,64l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l 192,0 l0-96 zM 448,80\nq0-6.5 -4.75-11.25t-11.25-4.75l-112,0 l0,384 l 112,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hourglass2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 l0,32 q0,49.5 -23.25,91.5t-62.75,68.5q 39.5,26.5 62.75,68.75t 23.25,91.25l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-32 q0-49 23.25-91.25t 62.75-68.75q-39.5-26.5 -62.75-68.5t-23.25-91.5l0-32 l-32,0 \nq-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 128,416l0,32 l 256,0 q 1-4.5 1-9.75t-0.5-12t-0.5-10.25q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5zM 384,64l-256,0 l0,32 q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"loading\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 l0,32 q0,49.5 -23.25,91.5t-62.75,68.5q 39.5,26.5 62.75,68.75t 23.25,91.25l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-32 q0-49 23.25-91.25t 62.75-68.75q-39.5-26.5 -62.75-68.5t-23.25-91.5l0-32 l-32,0 \nq-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 288,292l0,96 l 96,60l0-32 q0-44 -27-78.5t-69-45.5zM 128,416l0,32 l 96-60l0-96 q-42,11 -69,45.5t-27,78.5zM 384,64l-256,0 l0,32 q0,34 17.5,64l 221,0 q 17.5-30 17.5-64l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sim2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 221,0 q 16-1 26.5,9.5l 94.5,94.5q 10,10 10,24l0,352 q0,13.5 -9.5,22.75t-22.5,9.25zM 160,208q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 160,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 160,432q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 256,208q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 256,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-64 zM 256,432q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 352,224q0-13.5 -9.5-22.75t-22.5-9.25l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-16 zM 352,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 352,432q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 13,0 22.5-9.25\nt 9.5-22.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ubuntu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,222.5q-11-42 -45.5-69.25t-79-27.25q-17,0 -34.5,5l-49-85q 41.5-16.5 83.5-16.5q 15.5,0 33.5,3q-1.5,8 -1.5,13q0,33.5 23.5,57t 57,23.5q 31,0 54.5-21.5q 46,51 55.5,118l-98,0 zM 402,94q-20,0 -34-14.25t-14-34.25t 14-34t 34-14t 34,14t 14,34t-14,34.25t-34,14.25zM 199.5,346.5l-49,85\nq-58.5-46 -78-116.5q 25-8 40.5-29t 15.5-47.5q0-23.5 -12.5-43t-33.5-29.5q 22-51.5 68-87.5l 49,84.5q-38.5,38 -38.5,91.75t 38.5,91.75zM 48.25,287q-19.75,0 -34-14.25t-14.25-34.25t 14.25-34t 34-14t 34,14t 14.25,34t-14.25,34.25t-34,14.25zM 255,378.5q 17.5,5 34.5,5q 44.5,0 79-27.25t 45.5-69.25l 98,0 \nq-9.5,67 -55.5,118q-23.5-21.5 -54.5-21.5q-33.5,0 -57,23.5t-23.5,57q0,5 1.5,13q-18,3 -33.5,3q-43,0 -83.5-16.5zM 402,415.5q 20,0 34,14.25t 14,34.25t-14,34t-34,14t-34-14t-14-34t 14-34.25t 34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-64,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 393,164.5q-9.5,9.5 -23,9.5t-23-9.5t-9.5-23t 9.5-23l 46-45.5q 9-9.5 22.5-9.5t 23,9.5t 9.5,23t-9.5,22.5zM 256,512q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.5-22.5t 22.75-9.5\nt 22.5,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 256.25,128q-13.25,0 -22.75-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.5,9.25zM 118.5,438.5q-9,9.5 -22.5,9.5t-23-9.5t-9.5-23t 9.5-22.5l 45.5-46q 9.5-9.5 23-9.5t 23,9.5t 9.5,23t-9.5,23z\nM 118.5,164.5l-45.5-46q-9.5-9 -9.5-22.5t 9.5-23t 23-9.5t 22.5,9.5l 46,45.5q 9.5,9.5 9.5,23t-9.5,23t-23,9.5t-23-9.5zM 128,256.25q0,13.25 -9.5,22.5t-22.5,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.5t 9.5,22.75zM 393,347l 45.5,46q 9.5,9 9.5,22.5t-9.5,23t-23,9.5\nt-22.5-9.5l-46-45.5q-9.5-9.5 -9.5-23t 9.5-23t 23-9.5t 23,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shutdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 256,384q-13,0 -22.5-9.25t-9.5-22.75l0-192 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,192 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"power\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-48.5 17.25-92.5t 48.75-78.5q 1.5-1.5 5.75-6t 7-7.25t 7.5-5.25t 9.75-2.5q 13,0 22.5,9.5t 9.5,22.5q0,8 -1.75,14t-3.75,8l-1.5,2.5q-27,26.5 -42,61.5t-15,74q0,52 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25\nq0-39 -15-74.25t-41.5-61.75q-7.5-7.5 -7.5-24q0-13 9.5-22.5t 22.5-9.5q 3.5,0 6.75,1t 5.25,2t 5.25,4t 4.25,4.25t 4.5,5.25t 4,4.5q 31.5,34.5 48.75,78.5t 17.25,92.5q0,52 -20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,256q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13.5 9.5-22.75t 22.75-9.25\nt 22.5,9.25t 9.25,22.75l0,192 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sync2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,160l-57.5,0 l0,192 q0,13 -9.25,22.25t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.25l0-192 l-57,0 q-4.5,0 -6.25-9t 2.25-14.5l 114-131q 4.5-5.5 11-5.5t 11,5.5l 114,131q 4,5.5 2.5,14.5t-6,9zM 140.5,506.5q-4.5,5.5 -11,5.5t-11-5.5l-114-131q-4.5-5.5 -2.75-14.5t 6.25-9l 57.5,0 l0-192 q0-13.5 9.25-22.75\nt 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 l 57,0 q 4.5,0 6.25,9t-2.25,14.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"upload\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-48 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,16 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-16 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,48 q0,26.5 -18.75,45.25t-45.25,18.75zM 437.5,192l-117.5,0 l0,160 q0,13.5 -9.25,22.75t-22.75,9.25\nl-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 l-118,0 q-7.5,0 -9.25-3t 4.25-9.5l 170.5-172.5q 7-7 16.5-7t 16.5,7l 170.5,172.5q 6,6.5 4,9.5t-9.5,3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"download\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-48 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,16 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-16 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,48 q0,26.5 -18.75,45.25t-45.25,18.75zM 272.5,377q-7,7 -16.5,7t-16.5-7l-170.5-172.5\nq-6-6.5 -4.25-9.5t 9.25-3l 118,0 l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l 117.5,0 q 7.5,0 9.5,3t-4,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"keyboard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504,288l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 472,192l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 440,96\nl-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 384,184q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 344,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 288,184q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 248,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 192,184q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 152,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 96,184q0,3.5 -2.25,5.75t-5.75,2.25l-80,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 80,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 56,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 8,224l 112,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-112,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 8,416l 48,0 \nq 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM0,376l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 80,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-80,0 q-3.5,0 -5.75-2.25t-2.25-5.75zM 104,416l 48,0 \nq 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 128,376l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75zM 168,288q-3.5,0 -5.75-2.25\nt-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 zM 288,328l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75zM 264,224l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75\nl0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 384,328l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75zM 360,224l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 \nq0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 200,416l 208,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-208,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 416,328q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25\nt 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 zM 456,416l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tablet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128l-384,0 l0,256 l 384,0 l0-256 zM 96,352l0-192 l 256,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-128,0 l0-73 q 14.5-8.5 23.25-23t 8.75-32l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,320l-96,0 l0-128 l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,160l-96,0 q0-17.5 -8.75-32t-23.25-23l0-73 l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75\nt-22.5,9.25zM 352,352q0,13.5 -9.5,22.75t-22.5,9.25l0,96 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13 9.5-22.5t 22.5-9.5l0-96 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,192 zM 320,192q0-13 -9.25-22.5t-22.75-9.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-64 q-13.5,0 -22.75,9.5t-9.25,22.5l0,128 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-128 zM 128,160l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 \nq0-13.5 9.5-22.75t 22.5-9.25l 128,0 l0,73 q-14.5,8.5 -23.25,23t-8.75,32zM 32,192l 96,0 l0,128 l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5zM 32,352l 96,0 q0,17.5 8.75,32t 23.25,23l0,73 l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zip\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 160,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 \nl0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 q-13.5,0 -22.75,9.5t-9.25,22.5l0,96 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-96 q0-13 -9.25-22.5t-22.75-9.5l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l 144,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75\nzM 256,416q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5t 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"touchpad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-160,0 l0-128 l 128,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 q0-13 -9.25-22.5t-22.75-9.5l-288,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,192 q0,13.5 9.5,22.75t 22.5,9.25l 128,0 l0,128 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 \nq0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"terminal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,32q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 320,32\nq-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 416,32q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 448,160q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,256 \nq0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.5l0-256 zM 368,352l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 218.5,284l-62.5,62.5q-5,5 -12,5t-11.75-5t-4.75-11.75t 5-11.25l 51.5-51.5l-51.5-51.5q-5-4.5 -5-11.25\nt 4.75-11.75t 11.75-5t 12,5l 62.5,62.5q 2,2 1.5,2.5q 3.5,5 3.25,11t-4.75,10.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"list\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-256,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,96l-256,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 96,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.25-22.5t 22.75-9.5l 64,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 96,320l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 96,128l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5\nt 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 224,416l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thumbnails\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13.5 -9.5,22.75t-22.5,9.25zM 448,368q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl0-64 zM 480,224l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 \nzM 192,512l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 q0,13.5 -9.5,22.75t-22.5,9.25zM 160,368q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\nM 192,224l-160,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 160,80q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"details\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,320l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25z\nM 480,128l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 96,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,320l-64,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,128l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"grid\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,320l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,128l-64,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 288,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,320l-64,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 96,512l-64,0 q-13,0 -22.5-9.5\nt-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,320l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,128l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 \nq0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"usb3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,448l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-32,0 q-8.5,0 -32-20.25t-43.75-43.75t-20.25-32l0-160 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,8.5 -20.25,32t-43.75,43.75t-32,20.25zM 96,0l 320,0 l0,128 l-320,0 l0-128 zM 320,80q0,6.5 4.75,11.25\nt 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 128,80q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"usb2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,144q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 \nq0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0-160 l 26.5,0 q 5.5-5.5 5.5-13t-5.5-12.5l-29.5-65.5q-5.5-5.5 -13-5.5t-13,5.5l-29.5,65.5q-5.5,5 -5.5,12.5t 5.5,13l 26.5,0 l0,192 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-3 q 14-5 23-17.25t 9-27.75q0-20 -14-34t-34-14t-34,14t-14,34q0,15.5 9,27.75t 23.5,17.25\nq0,0.5 -0.25,1.5t-0.25,1.5q0,36.5 29.75,66.25t 66.25,29.75l 32,0 l0,35 q-14,5 -23,17.25t-9,27.75q0,20 14,34t 34,14t 34-14t 14-34q0-15.5 -9-27.75t-23-17.25l0-67 l 32,0 q 36.5,0 66.25-29.75t 29.75-66.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"usb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,224l-16,0 q0,36.5 -29.75,66.25t-66.25,29.75l-32,0 l0,99 q 14,5 23,17.25t 9,27.75q0,20 -14,34t-34,14t-34-14t-14-34q0-15.5 8.75-27.75t 23.25-17.25l0-35 l-32,0 q-36.5,0 -66.25-29.75t-29.75-66.25l0-1.5 l0-1 q-14-5 -23-17.5t-9-28q0-19.5 14-33.5t 34-14t 34,14t 14,33.5q0,15.5 -9,27.75\nt-23,17.75l0,2.5 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 l0-256 l-26.5,0 q-5.5-5 -5.5-12.5t 5.5-13l 29.5-65q 5.5-5.5 13-5.5t 13,5.5l 29.5,65q 5.5,5.5 5.5,13t-5.5,12.5l-26.5,0 l0,192 l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25l-16,0 q-7,0 -11.5-4.5t-4.5-11.5l0-63.5 q0-7 4.5-11.5t 11.5-4.5l 64,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,63.5 q0,7 -4.75,11.5\nt-11.25,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brightnesshalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,288q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25\nt 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,160l0,192 q 40,0 68-28t 28-67.75t-28-68t-68-28.25zM 256,64q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 95.75,128q-13.25,0 -22.5-9.25t-9.25-22.5\nt 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 32.25,288q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 95.75,384q 13.25,0 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 255.75,448\nq 13.25,0 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 416,384q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25t-22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brightnessfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25\nt 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,64q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 95.75,128q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25z\nM 32,288q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 95.75,384q 13.25,0 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 256,448q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5t 9.5-22.75t 22.5-9.5z\nM 416.25,384q 13.25,0 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25t-22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brightness\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,288q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25\nt 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,160q-40,0 -68,28.25t-28,68t 28,67.75t 68,28t 68-28t 28-67.75t-28-68t-68-28.25zM 256,64q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\nM 95.75,128q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 32.25,288q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 95.75,384q 13.25,0 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5\nt 9.25-22.75t 22.5-9.5zM 255.75,448q 13.25,0 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 416,384q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25t-22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screenshot\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-64,0 l0,64 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-64 l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 400,192l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 400,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 272,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 176,416l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 176,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,416l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,128l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,224l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"graphicscard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 \nl0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0-352 l 400,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,320 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,160q0-13 -9.25-22.5t-22.75-9.5l-224,0 q-13,0 -22.5,9.5t-9.5,22.5l0,192 \nq0,13.5 9.5,22.75t 22.5,9.25l 224,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 zM 432,352l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 352,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75\nt 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 352.25,288q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 64,448l0,32 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-464 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75\nl 32,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,64 l0,16 l0,352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microsd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 q 13.5,0 22.75-9.25t 9.25-22.75l0-32 q0-13 -9.25-22.5t-22.75-9.5l0-32 q0-14 10-24l 86-86l0-82 q0-13 9.5-22.5t 22.5-9.5l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,416 q0,26.5 -18.75,45.25t-45.25,18.75zM 192,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 256,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 320,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 384,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 448,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l0-128 q0-14 10-24l 94.5-94.5q 10.5-10.5 26.5-9.5l 285,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25zM 128,112q0-6.5 -4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 192,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 256,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 \nq0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 320,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 448,80\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"keyboard2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,128l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25\nt-11.25,4.75zM 320,208l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 176,128l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 128,208l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 112,384l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75zM 304,384l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryaltcharging\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 256,416l-64-160l 64,0 l0-96 l 64,160l-64,0 l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryalt30\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 368,416l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryalt60\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 368,416l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,320l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75\nl 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryaltfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 368,416l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,320l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75\nl 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,224l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"networksignal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.5,9.25zM 320.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-320 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.5,9.25zM 192.25,512\nq-13.25,0 -22.75-9.25t-9.5-22.75l0-192 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,192 q0,13.5 -9.25,22.75t-22.5,9.25zM 64,512q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wifi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,127.5q-10,0 -33-10t-48.5-22t-65-22t-77.5-10t-77.5,10t-65,22t-48.5,22t-33,10q-13.5,0 -22.75-9t-9.25-22.5q0-6 6.75-15t 17.25-16q 107-65 232-65t 232,65q 24,12 24,31q0,13.5 -9.25,22.5t-22.75,9zM 84.5,178q 79-50 171.5-50t 171.5,50q 20.5,13 20.5,30\nq0,13 -9.75,22.25t-22.25,9.75l0-0.5 q-4.5,0 -20.75-7.5t-35.25-16.5t-47.75-16.5t-56.25-7.5t-56.25,7.5t-47.75,16.5t-35.25,16.5t-20.75,7.5q-13.5,0 -22.75-9t-9.25-22.5q0-17 20.5-30zM 256,255.5q 20.5,0 46.5,9t 45.75,24.25t 19.75,31.25q0,13.5 -9.5,22.75t-22.5,9.25t-24-5t-17.5-11t-16.75-11.25\nt-21.75-5.25q-12,0 -22.25,5.25t-16.5,11.25t-17.25,11t-24,5t-22.5-9.25t-9.5-22.75q0-16 19.75-31.25t 45.75-24.25t 46.5-9zM 256,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webcam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,384q-52,0 -96.25-25.75t-70-70t-25.75-96.25t 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25t-25.75,96.25t-70,70t-96.25,25.75zM 256,64q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,192q-26.5,0 -45.25-14\nt-18.75-34t 18.75-34t 45.25-14t 45.25,14t 18.75,34t-18.75,34t-45.25,14zM 184,410.5q 34,5.5 72,5.5t 72-5.5q 25,19 40.5,46t 15.5,55.5l-256,0 q0-28.5 15.5-55.75t 40.5-45.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerjack\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,192q0-6.5 -4.5-11l-81-81q-5-5 -12.5-4l-156.5,0 q-7.5-1 -12.5,4l-81,81q-5,5 -4,12.5l0,174.5 q0,6.5 4.75,11.25\nt 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-176 zM 368,320q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 176,320q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firewire\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,98.5l-89,88.5q-4.5,5 -11.5,5t-12-5l-70-70q-5-4.5 -5-11.5t 5-11.5l 89-89q 5-5 11.75-5t 11.75,5l 70,70q 5,5 5,11.75t-5,11.75zM 352,224.25q0,39.75 -28.25,67.75t-67.75,28t-67.75-28t-28.25-67.75t 28.25-68t 67.75-28.25t 67.75,28.25t 28.25,68z\nM 256.25,192q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 118.5,187q-4.5,5 -11.25,5t-11.25-5l-23-22.5q-4.5-5 -4.5-11.5t 4.5-11.5l 68.5-68q 4.5-5 11.25-5t 11.75,5l 22.5,22.5q 5,5 5,11.5t-5,11.5zM 50.5,119q-5,4.5 -11.75,4.5t-11.25-4.5l-23-23\nq-4.5-4.5 -4.5-11.25t 4.5-11.25l 68.5-68.5q 5-5 11.5-5t 11.5,5l 22.5,22.5q 5,5 5,11.5t-5,11.5zM 208,352l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 208,448l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"imac\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416.5l-192,0 l0,63.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-63.5 l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-352 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,352 q0,13 -9.25,22.5t-22.75,9.5z\nM 480,32.5l-448,0 l0,288 l 448,0 l0-288 zM 64,288l0-224 l 320,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery80\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-5,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 5,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery60\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-69,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 69,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery40\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-133,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 133,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery20\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-197,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 197,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-261,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 261,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batterycharged\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,256l0-64 l-160,64l 96,0 l0,64 l 160-64l-96,0 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batterycharging\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-261,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 261,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 zM 192,256l-96,0 l 160-64l0,64 l 96,0 l-160,64l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"edit2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-180 l 139.5,139q 9,9.5 23,8.5l 61.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-63.5 q0-11.5 -9.5-20.5l-246.5-246.5l0-52.5 q0-13.5 9.5-22.75t 22.5-9.25l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.25,9.25zM 352,0q 13,0 22,9l 128,128.5\nq 9.5,9.5 9.5,23l-159.5,0 l0-160.5 zM 39.5,222l-34-33.5q-5.5-6 -5.5-14t 5.5-13.5l 27.5-27.5q 5.5-5.5 13.75-5.5t 13.75,5.5l 33.5,33.5zM 288,367.5l0,32 q0,7 -4.75,11.5t-11.25,4.5l-32,0 q-7,0 -13-5.5l-162-162l 55-55l 162,162q 6,6 6,12.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tethering\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437,437q-9.5,9.5 -23.25,10.25t-21.75-7.75q-9-8.5 -9.25-23.25t 9.25-24.25l-0.5,0 q 27-27 41.75-62t 14.75-74q0-52 -25.75-96.25t-70-70t-96.25-25.75t-96.25,25.75t-70,70t-25.75,96.25q0,39 14.75,74t 41.25,62q 9.5,9.5 9,24.25t-9,23.25t-22,7.75t-23-10.25\nq-35.5-35.5 -55.25-82.25t-19.75-98.75t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-19.75,98.75t-55.25,82.25zM 115.5,337.5q-10.5-18.5 -16-38.5q-11-42 0-83.25t 41.25-71.5t 72.25-41.5t 83,0t 71.25,41.25t 41.75,72q 17,64 -16,121l0,0.5 \nq-14,23.5 -40,10.5q-12-6 -15.75-18t 3.25-22.5q 9.5-14 10.75-35.25t-4.25-39.75q-10.5-38.5 -44.75-58.25t-72.75-9.5t-58.5,44.75t-9.5,72.5q 3,11 10,23q 0.5,1.5 1.5,3.25t 2,7.25t 0.5,10.5t-4.75,11.25t-12.25,10.25q-12,7 -24.25,4t-18.75-14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25q0,17.5 -8.75,32\nt-23.25,23l0,169 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-169 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"foldertree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,368q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-208,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-272 l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25\nt 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,128 q0,6.5 -4.75,11.25t-11.25,4.75l-80,0 l0,64 l 192,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-192,0 l0,160 l 192,0 l0-80 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sharedfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 192,0 l0-64 l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 143.5,0 l 0.5,0.5l0,191.5 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 l0,64 l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75\nt-9.25,22.5t-22.75,9.25zM 288-0.5q 13,0 22,9l 96.5,97q 9.5,9 9,22.5l-127.5,0 l0-128.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lan\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 416,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75\nt-22.75,9.25zM 480,80q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerplug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,413.5l0,66.5 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-66.5 q-53.5-8 -97.5-39t-69.25-79t-25.25-103.5q0-13 9.25-22.5t 22.75-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.5q0,55.5 -25.25,103.5t-69.25,79.25t-97.5,38.75zM 352,128l0-96 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 l-64,0 z\nM 96,128l0-96 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 l-64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"treediagram\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5l0-128 l-160,0 l0,128 q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5l0-128 l-160,0 l0,128 q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5l0-144 q0-6.5 4.75-11.25t 11.25-4.75l 176,0 l0-96 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q0-13 9.25-22.5t 22.75-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 l0,96 l 160,0 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,144 \nq 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lock2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 309.5,244l 74.5,236q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l 74.5-236q-33.5-15.5 -54-46.75t-20.5-69.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,38 -20.5,69.25t-54,46.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502q-9.5,9.5 -22.5,10t-22-8.5l-47.5-47.5q-43,28.5 -95.75,23t-90.25-43l-8-8l 212-211.5l 7.5,7.5q 37.5,37.5 43,90.25t-22.5,96.25l 47.5,47q 9,9 8.5,22t-10,22.5zM 266,215.5l-51-50.5l-50,50l 51,50.5q 9,9 8.5,22t-10,22.5t-22.5,10t-22-8.5l-51-50.5l-35,35l-7.5-8\nq-37.5-37.5 -43-90.25t 22.5-95.75l-47-47q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 47,47q 43-28.5 95.75-23t 90.75,43l 7.5,8l-35,35l 51,50.5q 9,9 8.5,22t-10,22.5t-22.5,10t-22-8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"router\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-105 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,17.5 -8.75,32t-23.25,23l0,105 l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 96.25,384q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 224.25,384q-13.25,0 -22.75,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 416,384l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 64,0 \nq 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 288,160q-13.5,0 -22.75-9.25t-9.25-22.75q-9.5-28 -36.75-46t-59.25-18t-59.25,18t-36.75,46q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75q0-30.5 25.25-60.75t 62.5-48.75t 72.25-18.5t 72.25,18.5t 62.5,48.75t 25.25,60.75q0,13.5 -9.25,22.75\nt-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mobile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-224,0 q-13,0 -22.5-9.25t-9.5-22.75l0-352 q0-13 9.5-22.5t 22.5-9.5l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,64 l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,352 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,440q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25\nl-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 256,376q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 256,312q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 \nq-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 192,440q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 192,376q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 \nq-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 192,312q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 352,176q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 352,296q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 352,360q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 352,424q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nexus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 296,512l-80,0 q-72,0 -112-15.75t-40-48.25l0-384 q0-32.5 40-48.25t 112-15.75l 80,0 q 72.5,0 112.25,15.75t 39.75,48.25l0,384 q0,32.5 -40,48.25t-112,15.75zM 416,64l-320,0 l0,384 l 320,0 l0-384 zM 128,416l0-320.5 l 192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"iphone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 416,64l-320,0 l0,320 l 320,0 l0-320 z\nM 128,352l0-256.5 l 192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumemute2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,28.5l-478.5,478.5q-5,5 -12,5t-11.75-4.75t-4.75-11.75t 5-12l 478.5-478.5q 5-5 12-5t 11.75,4.75t 4.75,11.75t-5,12zM 224,128l 122.5-121.5q 15-15 37.5,8l0,27 l-160,159.5l0-73 zM 64,352l0-192 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,105 l-126.5,127q-1.5-4 -1.5-8zM 384,498.5q-22.5,22.5 -37.5,7l-122.5-121.5\nl0-9 l 160-160l0,283.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumemute\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.5,224l-32,32l 32,32q 0.5,0.5 2.25,2t 2.5,2.5t 2.25,2.5t 2.25,2.5t 1.75,2.5t 1.5,2.75t 0.75,2.5t-0.25,2.5t-1.5,2.25l-21.5,21.5q-1,1 -2.25,1.5t-2.5,0.25t-2.5-0.75t-2.75-1.5t-2.5-1.75t-2.5-2.25l-2.5-2.5l-2.5-2.5l-2-2l-32-32l-32,32l-1.5,1.5q-15.5,15.5 -21,10l-21.5-21.5q-1-1.5 -1.5-3t 0.25-3.25t 1.5-3.25t 2.5-3.5t 3-3t 3.5-3.25\nl 2.75-2.75l 32-32l-32-32l-2.25-2.25l-2.5-2.5t-2.25-2.5t-2.5-2.75t-2-2.5t-1.5-2.75t-0.75-2.5t 0.25-2.5t 1.5-2.25l 21.5-21.5q 1-1 2.25-1.5t 2.5-0.25t 2.5,0.75t 2.75,1.5t 2.75,2t 2.75,2.5t 2.5,2.25t 2.5,2.5t 2,2.25l 32,32l 32-32q 0.5-1 2.75-3t 3.25-3.25t 3-3t 3.5-2.5t 3.25-1.5t 3.25-0.5t 3,1.75l 21.5,21.5q 5.5,5.5 -10,21zM 282.5,506l-122.5-122l0-256.5 \nl 122.5-121.5q 15-15 38,7.5l0,485 q-22.5,22.5 -38,7.5zM0,352l0-192.5 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,256.5 l-96,0 q-13,0 -22.5-9.25t-9.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumehalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 396,381.5l-22.5-22.5q 42-42.5 42-102.25t-42-101.75l 22.5-22.5q 24.5,24 38,56.25t 13.5,68.25t-13.5,68t-38,56.5zM 281.5,507l-122.5-122l0-256.5 l 122.5-121.5q 15-15 38,7.5l0,485 q-22.5,22.5 -38,7.5zM 127,385l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-192.5 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,256.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumefull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437,437l-22.5-22.5q 31-31 48.25-71.75t 17.25-86.5t-17.25-86.5t-48.25-71.75l 22.5-23q 35.5,35.5 55.25,82.25t 19.75,99t-19.75,99t-55.25,81.75zM 380.5,380.5l-22.5-22.5q 42-42 42-101.75t-42-101.75l 22.5-22.5q 24.5,24 38,56.25t 13.5,68t-13.5,68t-38,56.25zM 282.5,506l-122.5-121.5l0-256 l 122.5-122\nq 15-15 37.5,8l0,484 q-22.5,22.5 -37.5,7.5zM 128,384.5l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192.5 q0-13 9.25-22.5t 22.75-9.5l 96,0 l0,256.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sim\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,352l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,128l-64,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,512l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,352l-64,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,128l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,512l-32,0 \nq-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,352l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25z\nM 128,128l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diskspace2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,224l-240,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 240,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 448,128l-384,0 \nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,32l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 48,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 64,384l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 288,464q0,6.5 4.75,11.25t 11.25,4.75l 144,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-144,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handtwofingers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320q0,9.5 -8,41.5t-16,59.5t-8,27q-5.5,14.5 -10.5,24t-12.75,19.75t-18,15.25t-22.75,5l-224,0 q-12.5,0 -22.5-4.5t-17.5-14.75t-12.25-19.5t-11.75-25.25l-48-112q-3.5-7.5 -9.75-28.25t-6.25-25.25l0-58.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75\nt 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,80 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,128 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handdrag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448q-18.5,64 -64,64l-224,0 q-24,0 -37.75-16t-26.25-48q-18.5-40 -48-112q-3.5-8.5 -7.5-21t-6.5-20.5l-2-7.5l0-95 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-176 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,176 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,208 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-144 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5\nt 9.25,22.5l0,224 q0,12 -8,43.75t-16,58.5t-8,25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448q0,26.5 -18.75,45.25t-45.25,18.75l-224,0 q-5,0 -10-1.25t-8.75-2.5t-8-4.75t-6.75-5.25t-6.25-7t-5.25-7.25t-5.25-9t-4.5-8.5l-4.75-9.5l-4.5-9q-7-14.5 -17.75-37t-28.5-66.25t-17.75-56.75l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,80 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-80 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,80 q0,6.5 4.75,11.25t 11.5,4.75\nt 11.25-4.75t 4.5-11.25l0-48 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,128 q0,9 -8,41t-16,59.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cursor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 407,318.5l-127,0 l 71,148q 6,12 1.5,24.25t-16.75,18t-24.75,1.25t-18.5-16l-68-142.5l-96,96q-13.5,0 -23-9.5t-9.5-22.5l0-403.5 q0-7.5 8.75-10.5t 20.25,0t 19.5,10.5l 258,258q 6.5,6.5 10.75,18t 3,21t-9.25,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"deletefolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 494,428.5q 4.5,17.5 -7.5,30l-45,44.5q-12.5,12.5 -30.5,8q-18,4.5 -30.5-8l-44.5-44.5l-45,44.5q-12.5,12.5 -30.5,8q-18,4.5 -30.5-8l-45-44.5q-3.5-4 -6-9.5l-115,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13.5 9.5-22.75t 22.5-9.25l 240,0 l 23-42.5q 4.5-8 15-14.75t 21-6.75l 120,0 q 12,0 22.5,6.25t 14,15.25\nq 24.5,34 24.5,42.5l0,288 q0,24.5 -18,43.5zM 439,309q 9-9 9-21.75t-9-21.75t-21.75-9t-21.75,9l-59.5,59.5l-60-59.5q-9-9 -21.75-9t-21.75,9t-9,21.75t 9,21.75l 59.5,59.5l-59.5,59.5q-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 60-59.5l 59.5,59.5q 9,9 21.75,9t 21.75-9\nt 9-21.75t-9-21.75l-59.5-59.5zM 23,22.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.25l 24,42.5l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addfolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 l-224,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.5-22.5t 22.5-9.5l 240,0 l 23-42q 4.5-8 15-15t 21-7l 120,0 q 12,0 22.5,6.25t 14,15.75q 24.5,33.5 24.5,42l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,320l-64,0 \nl0-64 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,64 l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 64,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-64 l 64,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75\nl 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"explorerwindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,96l-128,0 q-13,0 -22.5,9.5t-9.5,22.5l0,288 q0,13.5 9.25,22.75t 22.75,9.25l 128,0 l0-352 zM 448,128q0-13 -9.5-22.5t-22.5-9.5l-160,0 l0,352 \nl 160,0 q 13,0 22.5-9.25t 9.5-22.75l0-288 zM 112,384l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 176,352l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\nM 176,288l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 176,224l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 176,160l-64,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"laptop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 448,384l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-256 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,112q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-192 zM 96,127.5l 192,0 l-192,160.5l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"notes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45.25t 45.25-18.75l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 l 160,0 l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q 26.5,0 45.25,18.75t 18.75,45.25l0,352 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 432,192l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,288l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,384l-320,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,96q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"file\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,0q 12.5,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"monitor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-192,0 l0,64 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l-256,0 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 l0-64 l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,64l-384,0 l0,256 l 384,0 l0-256 zM 96,288l0-192.5 l 256,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,222.5l0-31.5 q 14-4.5 23-18.25t 9-29.25l0-64 q0-16 -9-29.75t-23-18.75l0-31 q 62,6 106.5,53.5t 52,114.5q-71,50 -158.5,54.5zM 272.25,159.5q-6.75,0 -11.25-4.75t-4.5-11.25l0-64 q0-7 4.5-11.5t 11.25-4.5t 11.5,4.5t 4.75,11.5l0,64 q0,6.5 -4.75,11.25t-11.5,4.75zM 256.5,191l0,31.5 q-88-4.5 -159-54.5\nq 7.5-67 52.25-114.5t 106.75-53.5l0,31 q-14,5 -23.25,18.75t-9.25,29.75l0,64 q0,15.5 9.25,29t 23.25,18.5zM 448.5,202l0,117.5 q0,52.5 -23.5,96.75t-64.25,70t-88.5,25.75t-88.5-25.75t-64.25-70t-23.5-96.75l0-117.5 q 80.5,53.5 176.25,53.5t 176.25-53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleselect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 406.25,169.25q-9.75-9.75 -23.75-9.75t-23.5,10l-135.5,135l-71-71\nq-9.5-10 -23.5-10t-23.75,9.75t-9.75,23.75t 10,23.5l 93.5,93.5q 10,10.5 25,10q 14.5,0.5 24.5-10l 157.5-157.5q 10-9.5 10-23.5t-9.75-23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circledelete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 374,184.5q 10-9.5 10-23.5t-9.75-23.75t-23.75-9.75t-23.5,10l-71.5,71l-71-71\nq-9.5-10 -23.5-10t-23.75,9.75t-9.75,23.75t 10,23.5l 71,71.5l-71,71q-10,9.5 -10,23.5t 9.75,23.75t 23.75,9.75t 23.5-10l 71-71l 71.5,71q 9.5,10 23.5,10t 23.75-9.75t 9.75-23.75t-10-23.5l-71-71z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleadd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 384,224l-96,0 l0-96 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,96 l-96,0 \nq-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 96,0 l0,96 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-96 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trashfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 160,0 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l 160,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 64,128l 384,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 \nq0-13 9.5-22.5t 22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trashempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 160,0 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l 160,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 64,128q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 9.5,22.75t 22.5,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-256 q0-13 9.25-22.5\nt 22.5-9.5t 22.75,9.5t 9.5,22.5l0,288 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trash\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-9,0 l-430,0 l-9,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 160,0 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l 160,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,448q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 l 448,0 l0,320 zM 160,224\nq0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,192 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-192 zM 288,224q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,192 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-192 zM 416,224q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,192 \nq0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,448q 39.5,0 75.5-15.5l-50.5-117.5q-12,5 -25,5q-22.5,0 -40.5-14.5l-81,99\nq 53,43.5 121.5,43.5zM 288,256.25q0-13.25 -9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25t 22.5-9.25t 9.5-22.5zM 64,256q0,68.5 43.5,121.5l 99-81q-14.5-18 -14.5-40.5q0-13 5-25l-117.5-50.5q-15.5,36 -15.5,75.5zM 256,64q-39.5,0 -75.5,15.5l 50.5,118q 12-5.5 25-5.5q 22.5,0 40.5,15l 81-99.5\nq-53-43.5 -121.5-43.5zM 404.5,134.5l-99,81q 14.5,18 14.5,40.5q0,13 -5,25.5l 117.5,50q 15.5-36 15.5-75.5q0-68.5 -43.5-121.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vinyl\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,160q-40,0 -68,28.25t-28,68t 28,67.75t 67.75,28t 68-28\nt 28.25-67.75t-28-68t-68-28.25zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 255.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paste\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-416 q0-13.5 9.25-23t 22.75-9.5l 64,0 l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 l 64,0 q 13.5,0 22.75,9.5t 9.25,23l0,416 q0,13 -9.25,22.5t-22.75,9.5zM 320,96l-128,0 q-13,0 -22.5-9.5t-9.5-22.5q0-13.5 9.5-22.75t 22.5-9.25q0-13.5 9.5-22.75\nt 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75q 13.5,0 22.75,9.25t 9.25,22.75q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 460,416q-18.5,0 -34-9.75t-23.5-26.25l-19-8.5l 8.5,19q 16,8 26,23.5t 10,34q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-17 8.5-31.5t 22.5-23l-25-56.5l-38-17q-144-80.5 -205-125.75t-49-65.75l 254,127.5l-127.5-254.5q 20.5-12 65.25,48.75t 126.25,205.75l 17,38l 56.5,25\nq 8.5-14 23-22.5t 31.5-8.5q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 332,448.25q0,13.25 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75zM 460.25,320q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"copy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 l 112,0 q 15.5,0 27.75-9t 17.25-23l 83,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 l0-64 l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 l0-64 l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,13 -9.25,22.5t-22.75,9.5zM 432,416l-160,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 288,352l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-288 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 q0,13.5 -9.5,22.75t-22.5,9.25zM 240,64l-160,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,160l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,256l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"save\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 l0-224 q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,224 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 32,0 l 320,0 l 64,0 l 64,64l0,416 q0,13 -9.5,22.5t-22.5,9.5zM 384,32l-320,0 l0,128 q0,13.5 9.25,22.75t 22.75,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-128 zM 256,64l 64,0 \nl0,96 l-64,0 l0-96 zM 112,288l 288,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 112,384l 288,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 112,480l 288,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"deletefile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 326.5,292.5q 9-9 9-21.75t-9-21.75t-21.75-9t-21.75,9l-59.5,59.5l-59.5-59.5q-9-9 -21.75-9t-21.75,9t-9,21.75\nt 9,21.75l 59.5,59.5l-59.5,59.5q-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 59.5-59.5l 59.5,59.5q 9,9 21.75,9t 21.75-9t 9-21.75t-9-21.75l-59.5-59.5zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"createfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13 9.5-22.5t 22.5-9.5l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25l0,0.5 zM 320,320l-64,0 l0-64 q0-13 -9.5-22.25t-22.75-9.25t-22.5,9.25t-9.25,22.25l0,64 l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.25\nt 22.75,9.25l 64,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-64 l 64,0 q 13,0 22.5-9.25t 9.5-22.25t-9.5-22.5t-22.5-9.5zM 320,0q 10.5,0 22,9.5l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 l0-0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"search\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-99-99q-60,44.5 -134,44.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.25t-17.75-87t 17.75-87.25t 47.75-71.25t 71.5-47.5t 87-17.75t 87,17.75t 71.5,47.5t 47.75,71.25t 17.75,87q0,74.5 -44.5,134l 99,99q 9.5,9.5 9.5,22.75t-9.5,22.75zM 224,64.5\nq-43.5,0 -80.25,21.25t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.25t 80.25-21.25t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"presentation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,319.5l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-191.5 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,192 q0,13 -9.5,22.25t-22.5,9.25zM 496,32l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.5t 4.75-11.25t 11.25-4.5l 480,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75zM 16,351.5l 480,0 q 6.5,0 11.25,4.75\nt 4.75,11.5t-4.75,11.25t-11.25,4.5l-163,0 l 47.5,88.5q 5.5,9.5 2.75,20.25t-12.25,16.25t-20,2.5t-16-12.5l-62.5-115l-33,0 l-62.5,115q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 47.5-88.5l-163,0 q-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.5t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spreadsheet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,480l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l-64,0 l0,32 zM 416,416l 64,0 l0-32 l-64,0 l0,32 zM 416,352l 64,0 l0-32 l-64,0 l0,32 zM 416,288l 64,0 l0-32 l-64,0 \nl0,32 zM 480,224l0-32 l-64,0 l0,32 l 64,0 zM 320,480l 64,0 l0-32 l-64,0 l0,32 zM 320,416l 64,0 l0-32 l-64,0 l0,32 zM 320,352l 64,0 l0-32 l-64,0 l0,32 zM 320,288l 64,0 l0-32 l-64,0 l0,32 zM 384,224l0-32 l-64,0 l0,32 l 64,0 zM 224,480l 64,0 l0-32 l-64,0 l0,32 zM 224,416l 64,0 l0-32 l-64,0 l0,32 zM 224,352l 64,0 l0-32 l-64,0 l0,32 zM 224,288l 64,0 l0-32 l-64,0 l0,32 z\nM 288,224l0-32 l-64,0 l0,32 l 64,0 zM 128,464q0,6.5 4.75,11.25t 11.25,4.75l 48,0 l0-32 l-64,0 l0,16 zM 128,416l 64,0 l0-32 l-64,0 l0,32 zM 128,352l 64,0 l0-32 l-64,0 l0,32 zM 128,288l 64,0 l0-32 l-64,0 l0,32 zM 192,224l0-32 l-64,0 l0,32 l 64,0 zM 192,64l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l 64,0 l0-32 zM 128,128l0,32 l 64,0 l0-32 l-64,0 z\nM 288,64l-64,0 l0,32 l 64,0 l0-32 zM 224,128l0,32 l 64,0 l0-32 l-64,0 zM 384,64l-64,0 l0,32 l 64,0 l0-32 zM 320,128l0,32 l 64,0 l0-32 l-64,0 zM 480,80q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,32 l 64,0 l0-16 zM 480,128l-64,0 l0,32 l 64,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"document\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 240,416l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 112,416l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 112,320l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 112,224l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 240,96l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,192l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 400,384l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rawaccesslogs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.5,319.5l-399.5,0.5q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 208,0 l0,32 l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 208,0 l0,95.5 l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 383.5,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,287 l0,0.5 zM 431.5,64.5l-351.5,0 \nq-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 351.5,0 q 7,0 11.5-4.75t 4.5-11.5t-4.5-11.25t-11.5-4.5zM 431.5,128.5l-351.5,0 q-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 351.5,0 q 7,0 11.5-4.75t 4.5-11.5t-4.5-11.25t-11.5-4.5zM 431.5,192l-351.5,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 351.5,0 q 7,0 11.5-4.5t 4.5-11.25\nt-4.5-11.5t-11.5-4.75zM 431.5,256l-351.5,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 351.5,0 q 7,0 11.5-4.5t 4.5-11.25t-4.5-11.5t-11.5-4.75zM 470,374.5l-128,128.5q-9,9 -22,9l0-160.5 l 159.5,0 q0,13.5 -9.5,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"remotemysql\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,66l0,302.5 l 32,32q-72.5,47.5 -159,47.5q-68.5,0 -130.5-31.5l-3,6q 36.5,37 36.5,89.5l-256,0 q0-53 37.5-90.5t 90.5-37.5q 15,0 31,4l 5.5-10.5q-47-40.5 -73.75-97.25t-26.75-121.25q0-86.5 47.5-159l 32.5,32l 301,0 l 24.5-25q 7.5-7 17.5-7t 17.25,7.25t 7.25,17.25t-7,17.5zM 175.5,64l 119,118.5l 118.5-118.5\nl-237.5,0 zM 448,98l-119,119.5l 119,119l0-238.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"unlock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13.5 9.5-22.75t 22.5-9.25l0,0 l 128,0 l 160,0 l0-64 q0-40 -28-68t-67.75-28t-68,28t-28.25,68l-64,0 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,64 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13 -9.25,22.5\nt-22.75,9.5zM 320,320q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,20 11.25,36t 29.25,23.5l-40.5,100.5l 128,0 l-40.5-100.5q 18-7.5 29.25-23.5t 11.25-36z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-224 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 l0-64 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,64 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,480l 128,0 l-40.5-100.5q 18-7.5 29.25-23.5t 11.25-36\nq0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,20 11.25,36t 29.25,23.5zM 352,160q0-40 -28-68t-67.75-28t-68,28t-28.25,68l0,64 l 192,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sync\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 96,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,160 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,368q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25\nt 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 416.25,224q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 320.25,128\nq-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 224,224l-96,0 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 192,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 \nq0,13.5 -9.25,22.75t-22.75,9.25zM 192,80q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 95.75,288q 13.25,0 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5t-22.5-9.5t-9.5-22.75t 9.25-22.5t 22.5-9.25z\nM 95.75,384q 13.25,0 22.75,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75t 9.25-22.75t 22.5-9.25zM 192,384q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cloudsync\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437.5,372l 10.5,40q0,10 -5.5,23t-12,13l-32,0 q-16.5,29 -46,46.5t-64.5,17.5q-40,0 -72.25-22.25t-46.75-58.25q-6-1 -9.5-5l-26-26q-7-6.5 -5-16.5l-16.5,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5\nq0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5q0,38 -20.5,69.25t-54,46.75zM 288,288q-31,0 -55.5,18t-34.5,46.5l-32.5,0 q-5.5,6 -5.5,14.5t 5.5,14.5l 26.5,34.5q 3,3 7,4.5l 0.5,0 q 6,2.5 13,1.25t 11.5-5.75\nl 26.5-34.5q 5.5-6 5.5-14.5t-5.5-14.5l-18,0 q 8.5-15 23.25-23.75t 32.25-8.75q 5,0 11,1l 20.5-27q-16.5-6 -31.5-6zM 410.5,387l-26.5-35q-3-3 -7.5-4.5l0,0 q-6-2.5 -13.25-1.25t-11.25,5.75l-26.5,35q-5.5,6 -5.5,14.5t 5.5,14.5l 17.5,0 q-8.5,14.5 -23,23.25t-32,8.75q-5,0 -11-1l-20.5,27.5q 16,5.5 31.5,5.5q 31,0 55.5-17.75\nt 34.5-46.25l 32.5,0 q 5.5-6 5.5-14.5t-5.5-14.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clouddownload\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 422,378.5l-124.5,129q-4,4.5 -25.5,4.5t-25.5-4.5l-119-123.5l-15.5,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,35 48.25,58.75t 69.75,31.25q-33-19.5 -52.5-52.5t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41\nt 60.5-15q 53,0 90.5,37.5t 37.5,90.5q0,42.5 -25.25,76t-64.75,46zM 378,352.5l-58,0 l0-64.5 q0-13 -9.25-22.5t-22.75-9.5l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64.5 l-58,0 q-4,0 -5.5,7t 2.5,11.5l 99.5,104.5q 4,4.5 9.5,4.5t 9.5-4.5l 99.5-104.5q 4-4.5 2.5-11.5t-5.5-7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cloudupload\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,416l-32,0 l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 l-80,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63\nq-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 381,365l-99.5-104.5q-4-4.5 -9.5-4.5t-9.5,4.5l-99.5,104.5q-4,4.5 -2.5,11.75t 5.5,7.25l 58,0 l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 l 58,0 q 4,0 5.5-7.25t-2.5-11.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cloud\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448l-272,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,36.75t-35,60.75q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5\nt-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"algorhythm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,282.5l-59.5,59.5l0,122 q0,6.5 -4.75,11.25t-11.25,4.75l-191.5,0 q-15,14.5 -40.5,23.25t-56,8.75q-46.5,0 -79.25-18.75t-32.75-45.25q0-24 27.5-41.75t 68.5-21.25l0-65 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 96,0 l0-65 q-41-3.5 -68.5-21.25t-27.5-41.75q0-26.5 32.75-45.25t 79.25-18.75\nt 79.25,18.75t 32.75,45.25q0,24 -27.5,41.75t-68.5,21.25l0,65 l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,32 l 73,0 l 60-60q 4.5-4.5 10.75-4.5t 10.75,4.5l 65,65q 4.5,4.5 4.5,10.75t-4.5,10.75zM 256,320l-96,0 l0,65 q 41,3.5 68.5,21.25t 27.5,41.75l 160,0 l0-105.5 l-54.5-54.5l-73.5,0 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"perl2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 319,143q-24-24 -27.5-29.25t-3.5-17.75q0-13.5 -9.25-22.75t-22.75-9.25l0-32 q-13,0 -22.5,9.25t-9.5,22.75q0,9.5 -0.5,16\nt-3.25,17.75t-9.75,22.75t-18,23q-24,9.5 -46,24.25t-41,33.25t-30.25,41.25t-11.25,45.75q0,59 45.75,103.5t 114.75,54q-0.5,0.5 -0.5,1.25l0,1.25 q0,13 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5l0-1.25 l0-1.25 q 68.5-9.5 114.25-54t 45.75-103.5q0-23 -11.25-45.75t-30.25-41.25t-41.25-33.25t-46.25-24.75z\nM 310.5,419.5q 19-22 30.25-56.75t 11.25-74.75q0-37.5 -13.75-71.25t-34.75-57.75q 33.5,19 57,52.75t 23.5,76.25q0,46.5 -20,81t-53.5,50.5zM 224,288q0,91.5 25.5,128.5q-5,1.5 -10,4q-21.5-15.5 -34.5-50.25t-13-82.25q0-31 8.5-56.75t 21.5-40.5t 26-22.75t 24-8q-6.5,0 -14.25,8t-15.5,22.75t-13,40.5\nt-5.25,56.75zM 201.5,419.5q-33.5-16 -53.5-50.5t-20-81q0-42.5 23.5-76.25t 57-52.75q-21,24 -34.75,57.75t-13.75,71.25q0,40 11.25,74.75t 30.25,56.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"perl\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,288q0,20 -2.5,28.25t-13.5,19.75q-6,6 -12-11.5q-4-11.5 -4-20.5l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1.5 l0-1 l0-4.5 q0-9.5 -7-1.5q-5.5,6.5 -9,17.5\nq-3,10 -7,32.75t-2,31.25q 0.5,1.5 2,8.25t 2.25,10.25t 1.5,9t 0.25,9t-2.5,5.5q-2.5,3 -2.75,4.75t 0.5,2.75t 3.25,3.5t 4,5q 1.5,1.5 2,3.5t0,4t-1,3.5t-1.75,3.75t-2,3.75t-2.75,4t-2.5,3.5q-2.5,3.5 -4.25,12.75t-3.25,20.25t-2,13.5q-1.5,6.5 2,18.25t 8,17.25q 1.5,2.5 0,5.5t-5,6.75t-7,6.75\nt-6.25,5l-2.75,2l-25.5,0 q-1-18.5 3-26q 0.5-1 14-25.5q 7.5-13 9.5-46q 1-5 0.25-10t-5.25-11q-3-6 -2.25-12t 2.75-14t 2-10.5q-1.5-14 -11.5-21q-5-4 -7.5-20t-3-17.5q-3.5-9 -4-32q-25,39 -35.5,58.5q-3.5,6.5 -3.75,20.5t 1.75,16.5q0,0.5 1,2.25t 1.25,2.5t 0.75,2.5t 0.25,2.75t-1.25,2.75t-3,3.25\nq-6,4.5 -50.5,56q 19.5,13.5 21,16.5q 3.5,5.5 3,12.75t-4.5,12.75q-4,5 -11.25,2.75t-7.25-7.75q 0.5-8.5 -13.5-22.5q-5,7 -6.75,13.5t 1.75,9q 2.5,1.5 1,4t-4.5,4l-3.5,2l-31,0 q-9,2 -12-5q-1.5-3 2.5-5.5t 12-5.25t 11-4.25q 7.5-4.5 21-20q-7.5-6.5 -32.5-27.5t-29.5-25q-6-6.5 -5.25-18.75t 6.75-18.25q 2-1.5 3.5-4\nt 2.25-4.25t 1.25-4.75t 0.5-4.5l0-4.75 l0-3.75 q 0.5-3 3-8l 4.25-8.5t 0.25-5q-3-2 -14.5,0t-17.5,5.5q-3.5,2 -3.75,7t 1.25,11.5t 1.5,8q-0.5,7.5 -13.5,21q-4.5,4 -7.25,15.5t-0.25,16q 2,3.5 3,7.75t 0.25,8t-4.25,4.75q-5,1.5 -12.75,21.75t-7.75,30.25q-1,28 -7.5,30.5q-4.5,1.5 -5.25,5t 5.25,5q 5.5,1.5 5.5,10\nl-62,0 q-0.5,0.5 -1.75,0.5t-2.75-1t-1.5-4.5q0-4.5 12-9.25t 19.5-5.75q 4.5-1 13.75-19t 12.75-32q 1.5-13.5 1-22.75t-2.75-25t-2.25-19.75q-3-55.5 2-63.5q 4-4.5 3-11.75t-8.5-9.75q-6.5-1.5 -14.75,7.25t-11.25,8.75q-3.5,0 -6.75-1.25t-4.75-2.75l-1.5-1q-3.5,1 -12.5,0q-4-0.5 -7.25-3.25t-4.25-5.25l-1-2.5q-12.5-6.5 -19-10.5\nq-3-2 -4.5-4.75t-1.5-4.25l0-2 q-11.5-5 -19-10.5q-4-3 -6.5-10.25t-6-11.25t-4.25-15t-0.25-25t0-18.5q-1-15 2.75-31.5t 13.25-16.5l0,0 l0,0 l-0.5,0 l0,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 \nl-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-1,0 l-0.5,0 l-1,0 l-1,0 l-1,0 l-0.5,0 l-1,0 l-1,0 l-1,0 l-0.5,0 l-1,0 l-4.5,0 l0-3.25 t 1-7.75t 2.5-9.75t 4.75-7.75t 7.75-3.5l 48,0 q 2.5-3.5 6-8.5t 12-14t 14-9.5q 8-1 24.5-0.25t 23.5,4.75q 4.5,2.5 6,8t 1,10l-1,4.5q 7.5,4.5 12.5,16.5q 1.5,8.5 0.75,12.5t-4,13t-4.25,13.5q-1.5,6.5 -8,25.75t-6.5,23.75q-0.5,4 4.5,6.75t 9.5,3.75l 5,0.5\nq-2-22 1-33q 1-4.5 7.25-11.5t 14.75-15.25t 11.5-11.75q 10.5-12 47-33.5q 3.5-2 6-3.75t 3.75-3.25t 3-4.25t 2.5-4t 2.75-5.75t 3-7q 9-20 80.5-39.5q 38-10.5 71,22.5q 7,7 12,28.5t 11,28q 8.5,9 18.75,27.75t 16.25,32.75q 3.5,9.5 18,24t 17.5,20q 5,8.5 5,70zM 315.5,304q-2.5,3.5 -3.75,13.75t-3.75,12.75\nq-1.5,1.5 -2.5,3.25t-1.75,4.25t-1.25,4t-1,4.75t-1,4.75q-1,6 -12.25,14.25t-20.75,12.25q-2,0.5 -3.25,1.5t-1.75,2.25t-0.75,2t 0.5,2.25t 1.25,2.25t 1.75,2.75t 1.75,2.5q 6.5,10 41.5,34q 5.5-8.5 12.75-22.25t 11.75-23.25l 4.5-9.5q-3.5-28 -4.5-36.5q0-3 -0.5-18.75t-1-24.75q-12,6.5 -16,11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chevrons\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 368,512l-80,0 l 144-256l-144-256l 80,0 l 144,256zM 144,512l-144-256l 144-256l 80,0 l-144,256l 144,256l-80,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braces\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,288q-13.25,0 -22.5,18.75t-9.25,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.5-22.5t 22.5-9.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 q0-26.5 18.75-45.25t 45.25-18.75q-26.5,0 -45.25-18.75t-18.75-45.25l0-112 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 q-13.5,0 -22.75-9.5\nt-9.25-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 9.5,45.25t 22.5,18.75t 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.75,9.5zM 128,320l0,112 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 \nq0-26.5 -9.25-45.25t-22.5-18.75t-22.75-9.5t-9.5-22.5t 9.5-22.5t 22.75-9.5t 22.5-18.75t 9.25-45.25l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,112 q0,26.5 -18.75,45.25t-45.25,18.75q 26.5,0 45.25,18.75t 18.75,45.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"squarebrackets\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 80,448l 48,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75\nt-22.5,9.5l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"csharp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-16,0 l0,64 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-64 l-16,0 \nq-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.5t 11.25-4.75l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 64,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.5t-4.75,11.25t-11.25,4.5zM 384,224l0,64 l 64,0 l0-64 l-64,0 zM 224.25,384q 13.25,0 22.5,9.5t 9.25,22.5\nl0,1.5 l0,1.5 q-0.5,25 -10.75,43.25t-28,29t-39.75,15.75t-49.5,5q-53,0 -90.5-37.5t-37.5-90.5l0-128 l0-128 q0-53 37.5-90.5t 90.5-37.5q 57.5,0 92.75,29.25t 35.25,66.75q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75q0-9.5 -3-15.75t-7-9.5t-12.75-4.75t-14.5-1.75t-18.25-0.25l-8.5,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25l0,128 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 8.5,0 l 18.25,0 t 14.5-1.75t 12.75-5t 7-9.5t 3-15.75l0,0 q0-13 9.5-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cplusplus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 304,288l-48,0 l0,48 \nq0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 224.25,128q-13.25,0 -22.75-9.25t-9.5-22.75q0-9.5 -3-15.75\nt-7-9.5t-12.75-4.75t-14.5-1.75t-18.25-0.25l-8.5,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,128 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 8.5,0 l 18.25,0 t 14.5-1.75t 12.75-5t 7-9.5t 3-15.75l0,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,2 l0,1 q-0.5,25 -10.75,43.25t-28,29t-39.75,15.75t-49.5,5q-53,0 -90.5-37.5\nt-37.5-90.5l0-128 l0-128 q0-53 37.5-90.5t 90.5-37.5q 27.5,0 49.5,5.25t 39.75,15.75t 28,29t 10.75,43.5l0,1 l0,1.5 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cmsmadesimple\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 320,112q 22.5,0 37.5,3t 26.5,13q-3-29.5 -25.5-46.75t-54.5-17.25q-28,0 -49.75,17.5t-27.75,44q-22.5-29.5 -55-29.5\nq-31,0 -53.25,28.25t-22.25,67.75q0,15.5 4.5,32q 7-24.5 22.5-41.25t 36-21.25q-31,28 -31,62.5l0,32 q 13-1 25.75-8.75t 21-16.75t 19.5-21.75t 18.25-19.25q 11.5,41.5 11.5,82.5l0,32 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 \nl0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-4.5 q0-47 -9.5-80q 56.5,7.5 69.5,52q 16.5-9 26.25-23t 9.75-30.5q0-26.5 -23.5-45.25t-56.5-18.75q-11.5,0 -24,3q 12-19 40-19zM 320,288l0,16 q0,26.5 -18.75,45.25t-45.25,18.75q-26,0 -44.75-18.5t-19.25-44.5\nq-42,12.5 -69,29.75t-27,33.25q0,26 34.75,37t 109.25,11q 48.5,0 96.5-8.5t 79.75-23.5t 31.75-32q0-11.5 -2.25-19.5t-10-16.75t-21.25-14t-37.25-9t-57.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"concrete5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 242.5,512q-47.5,0 -88-17t-64.25-46.5t-23.75-64.5t 23.75-64.25t 64.25-46.5t 88-17.25q 16.5,0 36.5,2.5t 41.5,7.5t 35.75,15t 14.25,23q0,20 -12.25,34t-35.75,14q-9.5,0 -22-8t-27.5-16t-30.5-8q-35.5,0 -57.75,15t-22.25,49q0,8.5 4.75,18.75t 13.5,20.75t 25,17.5t 36.75,7q 29.5,0 79.5-27t 80.5-69\nq 1.5-2 6.25-8.5t 6-8.25t 5.75-6t 8-5.5t 9.25-2.5t 12.75-1.25q 32,0 32,48q0,11 -11.5,28.75t-33.75,37.5t-50.5,37.25t-66.75,29t-77.5,11.5zM 386.5,224q-3.5,10 -11.25,12t-14.25-2.25t-6.5-9.75l0-160 q0-13 13.75-23.75t 26.5-7.25t 19.5,14.5t 3.25,23q-1,3 -5.25,32t-11,64.5t-14.75,57zM 274.5,224\nq-10.5,0 -18-25.75t-10-65.5t-3.25-61.25t-0.75-39.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,0.5 0.25,11t 0.25,20.5t-0.25,26t-1,30t-2.25,30t-4,28.75t-5.75,23.5t-8,16.5t-11.25,5.75zM 162.5,224q-7.5-20.5 -14.5-56t-11.25-65t-4.75-32.5q-3.5-12 3.25-23t 19.5-14.5t 26.25,7.25t 13.5,23.75l0,160 \nq0,6.5 -6,11t-13.75,2.25t-12.25-13.25zM 114.5,256q-8.5,0 -18.5-9.5t-19-25t-16.25-29.25t-13.75-28.75t-8-17q-6-12 -2.75-25.5t 14-20.25t 22.75-3.25t 18.5,15.5q 8.5,16 21.25,79.5t 1.75,63.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fantastico\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 188,201.75q-6-19.75 -18.75-31.75t-24.25-9.5t-15.5,18.5t 2.25,35.5t 19,31.5t 24.25,9.5t 15.25-18.25t-2.25-35.5zM 348,169.75\nq-6-19.75 -18.75-31.75t-24.25-9.5t-15.5,18.25t 2.25,35.5t 19,31.75t 24.25,9.5t 15.25-18.25t-2.25-35.5zM 283,374q-21.5,3.5 -44,6t-45.25,3.25t-36.75,1t-35.75,0t-25.25-0.25q 9,15 41.5,24.25t 79.25,9t 90.75-11.75q 33-8.5 60.5-23.5t 44.5-31.5t 26.25-32.75t 9.25-29.75q-17,14 -28.5,22.5t-34.5,23.25\nt-48.75,25t-53.25,15.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"piwigo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,432l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-256 q0-13.5 9.5-22.75t 22.5-9.25l 192,0 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 q 13,0 22.5,9.25t 9.5,22.75l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 160,176q-40,0 -68,28t-28,67.75t 28,68t 68,28.25t 68-28.25t 28-68\nt-28-67.75t-68-28zM 384,112l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 160,336q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zikula\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,309.5l-83.5,58.5q-11,8 -40,15.5l-127.5,34l 59,41q 10,7.5 12,19.5t-5.5,21.75t-20,11.75t-22.5-5l-99-69.5q-5.5-4 -18-16.25t-16-16.75l-64-92.5l-16.5,52q-4,12 -15,17.75t-22.5,1.75t-17.25-15.25t-1.75-23.25l 36.5-115q 4-12 10-21l 81-112l-33,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5\nt 22.5-9.25l 128,0 q 11,0 48,16l 93,32.5l-11.5-41q-4-11.5 1.75-22.75t 17.25-15.25t 22.5,1.75t 15,17.75l 36.5,131.5q 1.5,4.5 1.5,23.5l0,96 l 15.5-11q 10-7 22.5-5t 20,11.75t 5.5,22t-12,19.25zM 387.5,179l-54,42q-5.5,4 -12.25,3t-10.75-6.75t-2.75-13t 6.75-11.25l 58-45l-129-51.5q-2.5-1 -5.5-2q-0.5,0.5 -2,0.5\nt-2,0.5l 24.5,75q 2.5,6.5 -0.75,12.75t-9.75,8.25t-12.75-1t-8.25-9.5l-25.5-77.5l-80.5,121l 58.5,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75l-68.5,0 l 78,110.5l 22-67q 2-6.5 8.25-9.75t 12.75-1t 9.75,8.25t 0.75,12.5l-17,53.5l 123-33.5l-34.5-26.5q-5.5-4 -6.5-11t 3-13t 10.5-7t 12,3l 54.5,42l0-138 l0-0.5 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restricted\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 362,512l-212,0 l-150-150l0-212 l 150-150l 212,0 l 150,150l0,212 zM 448,176.5l-112.5-112.5l-159,0 l-112.5,112.5l0,159 l 112.5,112.5l 159,0 l 112.5-112.5l0-159 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pill\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467,467q-45,45 -108.5,45t-108-45l-205.5-205.5q-45-44.5 -45-108t 45-108.5t 108.5-45t 108,45l 205.5,205.5q 45,44.5 45,108t-45,108.5zM 420,284.5l-108-108l-135.5,135.5l 108,108q 28,28 67.75,28t 67.75-28t 28-67.75t-28-67.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"syringe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,512l-21.5,0 l-94-94l-23,23q-7,7 -16.75,7t-16.75-7l-205-205q-7-7 -7-17t 7-17l 23-22.5l-81.5-81.5l-23,23q-7,7 -16.75,7t-16.75-7l-13-13q-7-7 -7-17t 7-17l 67-67q 7-7 17-7t 17,7l 13,13q 7,7 7,16.75t-7,16.75l-23,23l 81.5,81l 22.5-22.5\nq 7-7 17-7t 17,7l 205,205q 7,7 7,16.75t-7,16.75l-23,23l 94,94l0,21.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"virus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-35,0 q-7,43.5 -32.5,79l 26,26q 9.5,9 9.5,22.5t-9.5,23t-23,9.5t-23-9.5l-25.5-26q-36,25.5 -79,32.5l0,35 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-35 q-43.5-7 -79-32.5l-26.5,26q-9,9.5 -22.5,9.5t-23-9.5t-9.5-23t 9.5-22.5l 26-26.5q-25-35.5 -32-78.5l-35,0 \nq-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 35,0 q 7-43 32.5-79l-26.5-26q-9.5-9.5 -9.5-23t 9.5-23t 23-9.5t 22.5,9.5l 26.5,26.5q 36-25.5 79-32.5l0-35 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,35 q 43,7 78.5,32l 26-26q 9.5-9.5 23-9.5t 23,9.5t 9.5,23t-9.5,22.5l-26,26.5q 25.5,35.5 32.5,79l 35,0 \nq 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 128,192q0,12 1.5,26.5t 4.5,31t 9.75,27.5t 16.25,11q 11.5,0 21.5-1.25t 20.25-4.5t 16.25-10t 6-16.25zM 208,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-96,0 zM 288,256q0,9.5 6,16.25\nt 16.25,10t 20.25,4.5t 21.5,1.25q 9.5,0 16.25-11t 9.75-27.5t 4.5-31t 1.5-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481.5,224q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25l-33.5,0 q-2.5,26.5 -9.5,53l 50.5,13q 18.5,5 23,22.5q 3,7 0,16q-1,5 -4.5,9.5q-25,78 -26,78q-12,0 -22-9.5t-10-22.5l0-38.5 l-34-9q-26.5,51.5 -68,81.5t-90,30t-90-30t-68-81.5l-34,9l0,38.5 q0,13 -10,22.5t-22,9.5\nq-1,0 -26-78q-3.5-4.5 -4.5-9.5q-3-9 0-16q 5-17.5 23-22.5l 50.5-13q-7-26.5 -9.5-53l-33.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 33.5,0 q 2.5-26.5 9.5-53l-50.5-13q-18.5-4.5 -23-22.5q-3-7 0-16q 1-5 4.5-9.5q 25-78 26-78q 12,0 22,9.5t 10,22.5l0,39 l 34,8.5q 26.5-51.5 68-81.5t 90-30t 90,30t 68,81.5\nl 34-8.5l0-39 q0-13 10-22.5t 22-9.5q 0.5,0 26,78q 3.5,4.5 4.5,9.5q 3,9 0,16q-5,18 -23,22.5l-50.5,13q 7,27 9.5,53l 33.5,0 zM 321.75,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 193.75,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5\nt-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 161.75,320q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 257.5,64q-31,0 -61,22.5t-48.5,56.25t-18.5,65.25q 5,2.5 10.5,4.75t 10.25,3.75t 12.25,2.75t 11.75,2t 13.5,1.25t 13,1t 14.25,0.5l 13.5,0 l 15,0 l 14,0 \nq 32.5,0 48.75-0.5t 39.5-4.25t 39.75-11.25q0-31.5 -18.25-65.25t-48.5-56.25t-61.25-22.5zM 353.75,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"network\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,256l-80,0 l0,128 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-128 l-224,0 l0,128 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5\nt 22.75-9.5l 32,0 l0-128 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 240,0 l0-96 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 l0,96 l 208,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dropmenu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 442,48l-148,0 q-4,0 -5.5,7.25t 2.5,11.75l 67.5,88.5q 4,4.5 9.5,4.5t 9.5-4.5l 67.5-88.5\nq 4-4.5 2.5-11.75t-5.5-7.25zM 448,192l-320,0 l0,64 l 320,0 l0-64 zM 448,288l-320,0 l0,64 l 320,0 l0-64 zM 448,384l-320,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coppermine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448l-256,0 q-53,0 -90.5-37.5t-37.5-90.5l0-128 q0-53 37.5-90.5t 90.5-37.5l 256,0 q 53,0 90.5,37.5t 37.5,90.5l0,128 q0,53 -37.5,90.5t-90.5,37.5zM 448,272q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25\nt 18.75-45.25t 45.25-18.75l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 q-43,0 -72,33.5q-8.5-15.5 -23.25-24.5t-32.75-9l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25q0-29 11.5-46.5t 36.5-17.5q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nq-38,0 -59,27.25t-21,68.75q0,40 28,68t 68,28l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 32,0 q 19,0 34.5-10.5q 7.5,32.5 33.5,53.5t 60,21l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 256,256l-32,0 l0-64 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"supportrequest\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5\nt-9.5,22.75t 9.5,22.5t 22.75,9.25zM 256,64q-53,0 -90.5,37.5t-37.5,90.5q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75q-13,0 -22.5,19.75t-9.5,44.25q0,13.5 9.25,22.75t 22.75,9.25t 22.75-9.25t 9.25-22.75l0-4 \nq 42-11 69-45.5t 27-78.5q0-53 -37.5-90.5t-90.5-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"briefcase\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-256 l 64,0 l 32,0 l0,32 l-32,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l-32,0 l0-32 l 32,0 l 128,0 l 32,0 l0,32 l-32,0 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l-32,0 l0-32 l 32,0 l 64,0 l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,160\nl-64,0 q-13,0 -22.5,9.5t-9.5,22.5l-128,0 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-64,0 l0-64 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 l-64,0 q0-13 -9.25-22.5t-22.75-9.5zM 288,64l-64,0 \nq-13,0 -22.5,9.25t-9.5,22.75l 128,0 q0-13 -9.25-22.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calendar2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,208q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\nM 96,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\nM 192,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,208q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,304\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,208q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,304\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208\nq0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448.25,96\nq-13.25,0 -22.75-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.5,9.5zM 352.25,96q-13.25,0 -22.75-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.5,9.5zM 255.75,96q-13.25,0 -22.5-9.5t-9.25-22.5l0-32 \nq0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.75,9.5zM 159.75,96q-13.25,0 -22.5-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.75,9.5zM 63.75,96q-13.25,0 -22.5-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25\nt 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plugin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q-17.5,0 -32-8.75t-23-23.25l-9,0 l0,128 q0,13.5 -9.5,22.75t-22.5,9.25l-128,0 l0-9 q 14.5-8.5 23.25-23t 8.75-32q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,17.5 8.75,32t 23.25,23l0,9 l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 l 9,0 q 8.5,14.5 23,23.25t 32,8.75\nq 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75q-17.5,0 -32,8.75t-23,23.25l-9,0 l0-128 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0-9 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,17.5 -8.75,32t-23.25,23l0,9 l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 l 9,0 q 8.5-14.5 23-23.25\nt 32-8.75q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"images\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,512l0-448 l 448,0 l0,448 l-448,0 zM 480,96l-384,0 l0,320 l 384,0 l0-320 zM 192,128q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45-18.75t-19-45.25l0-0.5 q 0.5-26.5 19-45t 45-18.5zM 215.5,296.5l 87,87.5l-174.5,0 l0-46.5 l 41-41q 9-9 23.25-9t 23.25,9zM 345,232.5q 9-9 23.25-9t 23.25,9l 56.5,56.5l0,95 \nl-100.5,0 l-76.5-76.5zM 32,448l-32,0 l0-448 l 448,0 l0,32 l-416,0 l0,416 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"indexmanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 32,416zM 480,64q0-13.5 -9.25-22.75t-22.75-9.25l-384,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 l 18.5-42.5q 2.5-9 11-15.25t 18-6.25l 64,0 \nq 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 254.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-336,0 l-64,0 l0,224 l 18.5-42.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 302.5,0 l0-320 l0,0 zM 194.5,309.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 110.5,0 q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75l-192,0 l-64,0 zM 338.5,245.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 19.5,42.5l-160,0 zM 288,256l-208,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 208,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 80,288l 64,0 q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 432,128l-192,0 l-64,0 l 18.5-42.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 110.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 144,96l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nt 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fourohfour\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 160,208q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-48 \nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6 3.75,10.25t 9.25,5.25q 1,0.5 3,0.5l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-128 zM 320,224q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,96 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75\nl0-96 zM 432,192q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6 3.75,10.25t 9.25,5.25q 1,0.5 3,0.5l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-128 q0-6.5 -4.75-11.25t-11.25-4.75zM 224,224l 64,0 l0,96 l-64,0 l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"php\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-69.5,0 -128.5-25.75t-93.25-70t-34.25-96.25t 34.25-96.25t 93.25-70t 128.5-25.75t 128.5,25.75t 93.25,70t 34.25,96.25t-34.25,96.25t-93.25,70t-128.5,25.75zM 144,192l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l-32,112q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75\nl 7-24l 25,0 q 12,0 21.5-1.5t 20-6t 16.5-14.75t 6-25.75q0-20 -14-34t-34-14zM 272,192l-7,0 l 7-24q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l-32,112q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l 16-56q 23,1 29,16.5l-13,39.5q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l 16-48q0-3 -2.5-5.5q-4-15 -16.75-24.75t-28.75-9.75zM 400,192l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l-32,112q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l 7-24l 25,0 q 12,0 21.5-1.5t 20-6t 16.5-14.75t 6-25.75q0-20 -14-34t-34-14zM 400,256l-32,0 l 9-32l 23,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 144,256l-32,0 l 9-32l 23,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phppear\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511,78.5l-59.5,100l0,301.5 q0,13.5 -9.25,22.75t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-301.5 l-59.5-100q-7-11 -3.5-23.5t 15-19t 24.25-3t 19.25,14.5l 47.5,80l 298,0 l 47.5-80q 6.5-11 19.25-14.5t 24.25,3t 15,19t-3.5,23.5zM 370.5,191.5q-34,8.5 -51,39q-13.5-7 -28-7q-17.5,0 -32.25,9\nt-23.25,24l-3.25-0.5t-5.25-0.5q-40,0 -68,28.25t-28,68t 28,68t 68,28.25t 68-28.25t 28-67.75q0-2 -0.25-5t-0.25-3.5q 14.5-8.5 23.5-23.25t 9-32.25q0-19.5 -11-36q 5.5-13 17-21.5t 26-9q-4.5-17.5 -17-30zM 99.5,31.5q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 l-320,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"software\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511,78.5l-59.5,100l0,301.5 q0,13.5 -9.25,22.75t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-301.5 l-59.5-100q-7-11 -3.5-23.5t 15-19t 24.25-3t 19.25,14.5l 47.5,80l 298,0 l 47.5-80q 6.5-11 19.25-14.5t 24.25,3t 15,19t-3.5,23.5zM 355.5,288.5l-6,0 q-5.5-15 -17-29l 3-5q 6.5-11 3-23.5t-15-18.75t-24.25-3\nt-19.25,14.25l-3,5q-9.5-2 -17.5-2t-17.5,2l-3-5q-6.5-11 -19.25-14.25t-24.25,3t-15,18.75t 3,23.5l 3.5,5q-12,14 -17.5,29l-6,0 q-13.5,0 -22.75,9.25t-9.25,22t 9.25,22t 22.75,9.25l 6,0 q 5.5,15.5 17.5,29l-3.5,5q-6.5,11 -3,23.5t 15,19t 24.25,3t 19.25-14.5l 3-4.5q 9.5,1.5 17.5,1.5t 17.5-1.5l 3,4.5\nq 6.5,11 19.25,14.5t 24.25-3t 15-19t-3-23.5l-3-5q 11.5-13.5 17-29l 6,0 q 13.5,0 22.75-9.25t 9.25-22t-9.25-22t-22.75-9.25zM 259.5,352q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5zM 99.5,31.5q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 l-320,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"faq\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 112,96l 48,0 l 256,0 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,320 q0,24.5 -33.25,44.25t-62.75,19.75l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l0-224 l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 l 0.5,0 l 95.5,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-96,0 l-195.5,0 l-0.5,0 l-44,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75zM 224,464q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 128,256q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25q0-13.5 18.75-22.75t 45.25-9.25t 45.25,9.5t 18.75,22.5\nq0,13.5 -18.75,22.75t-45.25,9.25q-13,0 -22.5,9.5t-9.5,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-19 q 42-8 69-34t 27-59q0-40 -37.5-68t-90.5-28q-25.5,0 -49.75,6.75t-41,16.75t-27,21t-10.25,19.5l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plugin2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-0.5 l 176,0 q 20,0 34-14t 14-34l0-160 q0-19.5 -14-33.75t-34-14.25l-176,0 l0-191.5 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 l 0.5,0.5l0,287.5 q0,13.5 -9.25,22.75t-22.75,9.25zM 352-0.5q 13,0 22,9.5l 128.5,128.5q 9.5,9 9,22.5l-159.5,0 \nl0-160.5 zM 224,287.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5zM 189.5,346l-82.5-56.5q-3-2.5 -7-1.5t-4,3.5l0,28 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 48,0 l0,28.5 q0,2.5 4,3.25t 7-1.25\nl 82.5-56.5q 2.5-2.5 2.5-5.75t-2.5-5.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"visitor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 160,0 l0,32 q0,32.5 17.75,48.25t 46.25,15.75q 28,0 46-16.5t 18-47.5l0-32 l 160,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 176,403l0-9 q 48-19.5 48-106q0-31.5 -22.25-47.75t-57.5-16.25t-57.75,16.25\nt-22.5,47.75q0,84 48,105l0,10 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75t 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -22.75-37.5t-57.25-22.5zM 432,288l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25\nt-4.75-11.25t-11.25-4.75zM 288,368q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 432,416l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 288,64\nl0,96 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-96 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diskspace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,368q0-16 -9.5-28.5t-24.5-17q 34-43.5 34-98.5q0-43.5 -21.5-80.25t-58.25-58.25t-80.25-21.5t-80.25,21.5t-58.25,58.25t-21.5,80.25\nq0,55 34,98.5q-15,4.5 -24.5,17t-9.5,28.5l0,32 q0,20 14,34t 34,14l 224,0 q 20,0 34-14t 14-34l0-32 zM 346.5,314.5l-68-68q-9.5,9.5 -22.75,9.5t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l0-96 q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"legacyfilemanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.25-22.5t 22.75-9.5l 240,0 l 23-42.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25l 24.5,42.5l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.75t-14,22.5t-34,9.25l-192,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-240 zM 23,54q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"filemanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.25-22.5t 22.75-9.5l 240,0 q0-6 5.75-16.5t 11.25-18l 6-8q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25q 24.5,29 24.5,42.5l0,288 zM 23,53.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.25\nl 24,42.5l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"key\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 478,426l-51.5,51.5q-34.5,34.5 -83.5,34.5t-83.75-34.5t-34.75-83.5t 34.5-83.5l 19-19l-85.5-86l-41.5,41.5q-9,9 -22,8.5t-22.5-10t-10-22.5t 8.5-22l 41.5-41l-50.5-50.5l-41,41.5q-9,9 -22,8.5t-22.5-10t-10-22.5t 8.5-22l 41-41l-9.5-9.5q-8.5-9 -8.25-22t 9.75-22.5t 22.75-10t 21.75,8.5l 239,238.5\nq 34.5-25.5 78-22.25t 74.5,34.25q 34.5,34.5 34.5,83.5t-34.5,83.5zM 432.5,304.5q-16.5-16.5 -39.75-16.5t-39.75,16.5l-48,48q-16.5,16.5 -16.5,39.75t 16.5,39.75t 40,16.5t 40-16.5l 47.5-47.5q 16.5-16.5 16.5-40t-16.5-40z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"importcontacts\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 96,0 q0-13 9.5-22.5t 22.5-9.5l 32,0 l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 144,192q-35.5,0 -57.75,16.25\nt-22.25,47.75q0,84 48,105.5l0,9.5 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75t 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -22.75-37.5t-57.25-22.5l0-9 q 48-19.5 48-106l0-1 l0-0.5 l-77.5-62.5l-1.25,0 l-1.25,0 zM 348,128l-60,0 l0-80 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l-60.5,0 q-4,5 -4,11.5t 4,11.5l 92.5,73l 92-73q 4-5 4-11.5t-4-11.5zM 464,224l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 320,336q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 464,416l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailtrace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,367l-29.5-29.5q 1-9.5 1-17.5q0-55 -33.75-98t-85.75-56.5l 148-148q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,15zM 320,160q-53,0 -96,32.5l-192.5-192.5l 0.5,0 l 448,0 l 0.5,0 l-160,160l-0.5,0 zM 3.5,367q-3.5-7.5 -3.5-15l0-320 q0-7.5 3.5-14.5l 175,174.5zM 160,320q0,33.5 13.5,64l-141.5,0 l-0.5,0 l 162.5-162q-34,43.5 -34,98z\nM 320,192q 53,0 90.5,37.5t 37.5,90.5q0,37.5 -20.5,69l 80.5,80q 4,4 4,9.75t-4,9.75l-19.5,19.5q-4,4 -9.75,4t-9.75-4l-80-80q-32,20 -69,20q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5zM 320,384q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25\nt 18.75,45.25t 45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mailinglists\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,127.5 l-176,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 367.5,0.5l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 431.5,272q0-7 -4.5-11.5t-11-4.5l-304,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 304,0 q 6.5,0 11-4.75t 4.5-11.25l0-32 zM 431.5,399.5q0-6.5 -4.5-11.25t-11-4.75l-304,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 304,0 q 6.5,0 11-4.5t 4.5-11.5l0-32 zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"address\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,320 q0,13 -9.5,22.5t-22.5,9.5zM 80,384l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 240,224l-160,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,288l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 448,144q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"autorespond\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-43.5,0 l-128,128l0-128 l-171.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 256,64q-46,0 -82,30l-30-30q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl-27-27q 26-21 59-21q 40,0 68,28.25t 28,68t-28.25,67.75t-67.75,28q-27.5,0 -50.5-14.5t-35-38.5l-29,14q 16,32 46.75,51.5t 67.75,19.5q 53,0 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-19.5-12.5 -25.75-34.25t-6.25-56.25l0-34.5 q0-14.5 9.5-24.75t 22.5-10.25l 32,0 q 13.5,0 22.75,10.25t 9.25,24.75l0,34.5 q0,26.5 -19,50.25t-45,40.25zM 400,512l-304,0 q-33.5,0 -63.75-28.75t-31.75-67.25q0-24.5 11.25-55.5t 25-55t 34.75-59.25t 31-54.25l 185.5,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-19.5 17.25-42.75\nt 40-38.25t 38.75-15q 23,0 42.75,31.5t 21.25,64.5q0,27 -13.25,60.5t-32,65.25t-37.5,62.75t-32,61.75t-13.25,53.75q 2.5,53 16,112zM 320,96l0,32 q0,13 -9.25,22.5t-22.75,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-25.5 17-48t 42.75-35.25t 52.25-12.75l 272,0 q-6.5,0 -17.25,7.75t-21.25,20.25\nt-18,31t-7.5,37z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"form\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13.5,0 22.75-9.5t 9.25-22.5\nl0-64 zM 416,256l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 128,448l 96,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 320,448l 128,0 q 13,0 22.5,9.25t 9.5,22.5\nt-9.5,22.75t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ipcontrol\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,128q-13.5,0 -22.75-9.5t-9.25-22.5l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75\nt 22.5-9.25l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,224q0,40 -28,68t-68,28l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 40,0 68,28t 28,68zM 320,192l-32,0 l0,64 l 32,0 q 13,0 22.5-9.5t 9.5-22.75\nt-9.25-22.5t-22.75-9.25zM 128.25,384q-13.25,0 -22.75-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,192 q0,13.5 -9.25,22.75t-22.5,9.25zM 96,64l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.5t-9.5-22.5l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 \nq 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 32.25,384q 13.25,0 22.5,9.25t 9.25,22.75l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-13.5 9.5-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"query\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 l0-0.5 q-13,0 -22.5-9.25t-9.5-22.75l0-61 q 42.5-18.5 69.25-55t 26.75-76q0-34.5 -21.5-64t-58.25-46.75t-80.25-17.25q-13,0 -22.5-9.25t-9.5-22.75l0-95.5 q0-13 9.5-22.5t 22.5-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 q 0.5,0.5 0.5,1l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 352-0.5\nq 13,0.5 22,9.5l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160.5 zM 256,287.5q0,33.5 -27,59.25t-69,33.75l0,19 q0,7 -4.75,11.5t-11.25,4.5l-32,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-48 q0-13 9.5-22.5t 22.5-9.5q 26.5,0 45.25-9.25t 18.75-22.5t-18.75-22.75t-45.25-9.5t-45.25,9.5t-18.75,22.5q0,7 -4.75,11.5t-11.25,4.5l-32,0 \nq-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-7.5 8.75-18t 24.25-21t 40.75-17.75t 54.25-7.25q 53,0 90.5,28.25t 37.5,67.75zM 112,447.5l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,7 -4.75,11.5t-11.25,4.5l-32,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-351.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 192,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 362,320l-42,0 l0-80 q0-7 -4.75-11.5t-11.25-4.5l-64,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,80 l-43.5,0 q-11.5,0 -17.5,13.25t-1,18.75l 44.5,44.5\nt 42.5,42q 8.5,9 21,9t 21-9l 89.5-86.5q 7-7 0.5-19.5t-19-12.5zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"push\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 192,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.25,9.25zM 380.5,320l-89.5-87q-8.5-9 -21-9t-21.5,9l-42.5,42.5t-44,44.5q-5.5,5 0.75,18.5t 17.25,13.5l 44,0 l0,79.5 q0,7 4.5,11.5t 11.5,4.5\nl 64,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-79.5 l 42,0 q 12.5,0 19-12.75t-0.5-19.25zM 320,0q 12.5,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"binary\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,128l-128,0 l0,256 l 128,0 l0-256 zM 192,448l-160,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 32,0 l0-256 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 \nq 13.5,0 22.75,9.5t 9.25,22.5l0,288 l 32,0 l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cgi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 498,112l-159.5,0 l 164,33.5q 6,1.5 9.25,7.25t 1.75,12t-7.25,9.5t-11.75,1.25l-110.5-22l 121.5,56.5q 6,3.5 7.75,10t-1.75,12.25t-10,7.5t-12.5-1.75l-136-64l 161,258q0,13.5 -9.5,22.75t-22.5,9.25l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l 135.5-218.5l-88.5,54.5q-11.5,6.5 -23.75,3t-18.75-15\nt-3.25-24.25t 14.75-19.25l 193.5-118.5l 23-37q 9.5-9.5 22.75-9.5t 22.25,9.5l 14.5,23l 204,0 q 6.5,0 11.25,4.75t 4.75,11.5t-4.75,11.25t-11.25,4.5zM 258,96l-208,336l 416,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"grails\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 101,192l-69,0 q0,30 18.5,58t 45.5,35.5l0,67.5 q-14,1.5 -23,5.75t-9,9.25\nq0,6.5 14,11.25t 34,4.75t 34-4.75t 14-11.25q0-5 -9-9.25t-23-5.75l0-67.5 q 18.5-5 34.5-22q-47-27 -61.5-71.5zM 128,160q0,33 27,58.75t 69,33.75l0,136 q-14.5,4 -23.25,11.5t-8.75,16q0,13 18.75,22.5t 45.25,9.5t 45.25-9.5t 18.75-22.5q0-8.5 -8.75-16t-23.25-11.5l0-136 q 42-8 69-33.75t 27-58.75\nl-256,0 zM 411,192q-14.5,44.5 -61.5,71.5q 16,17 34.5,22l0,67.5 q-14,1.5 -23,5.75t-9,9.25q0,6.5 14,11.25t 34,4.75t 34-4.75t 14-11.25q0-5 -9-9.25t-23-5.75l0-67.5 q 27-7.5 45.5-35.5t 18.5-58l-69,0 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nodejs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 193.5,224l 64-32l 64,32l0,64 l-64,32l-64-32l0-64 zM 469.5,225.5l-95,62.5q-10,0 -15.5-6.5t-5.5-16l0-65.5 l-96-56l-95.5,56l0,112 l 221.5,129.5l-96,63.5q-12.5,7 -30.25,7t-30.25-7l-181-119.5q-14-8 -12.5-19.5l0-220 q-1.5-11.5 12.5-19l 181-120q 12.5-7 30.25-7t 30.25,7l 181.5,120\nq 12.5,7 12,17l 0.5,0 l0,62 q 2,11.5 -12,19.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"java\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471,384q-12,0 -24.75-9t-21.25-23.5q 4.5,0.5 7,0.5q 20,0 34-9.5t 14-22.5q0-12.5 -12.5-21.5t-31-10.5q-20.5,14 -69.75,23t-110.75,9q-79.5,0 -135.75-14.25t-56.25-33.75q0-15 33-27q 7,18 57,30.5t 118,12.5q 56.5,0 101.5-9t 64-23q 6,4.5 8.5,9q 13-9 25-9q 17,0 29,18.75t 12,45.25\nt-12,45.25t-29,18.75zM 288,159.5q0,16.5 5,29.5t 11,20.5t 11,19.75t 5,26.75q-2.5-1.5 -6.75-4t-15.5-11.75t-19.5-19.5t-15.25-26.75t-7-34.5q0-16.5 15.75-34.75t 37.25-31t 42.5-21.25t 32.5-8q-9,0 -31.75,15.5t-43.5,39t-20.75,40.5zM 192,176q0,17.5 8,37.5t 16,31.5l 8,11.5q-24,0 -44-25.5t-20-55\nq0-13 10-26.25t 24-24t 28-20.25t 24-18.75t 10-16.25q0-14 -1.5-24.5t-8.25-24t-19.25-21.5q 31,3.5 46,22.25t 15,47.75q0,16 -10,28.5t-24,20.5t-28,15.5t-24,17.75t-10,23.25zM 256,416q 73.5,0 110.5-16q 17.5,7.5 17.5,16q0,13 -37.5,22.5t-90.5,9.5t-90.5-9.5t-37.5-22.5q0-8.5 17.5-16q 37,16 110.5,16z\nM 96,352q0-8.5 21.5-16q 46.5,16 138.5,16t 138.5-16q 21.5,7.5 21.5,16q0,13 -47,22.5t-113.25,9.5t-113-9.5t-46.75-22.5zM 64,416q0,17.5 25.75,32.25t 70,23.25t 96.25,8.5t 96.25-8.5t 70-23.25t 25.75-32.25q0-5.5 -3-11q 67,18 67,43q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5t-128.5-8.5\nt-93.25-23.25t-34.25-32.25q0-25 67-43q-3,5.5 -3,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ads\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-32,0 l0,128 l 16,0 q 25,0 36.5,17.5t 11.5,46.5l-192,0 q0-29 11.5-46.5t 36.5-17.5l 16,0 l0-128 l-256,0 l0,128 l 16,0 q 25,0 36.5,17.5t 11.5,46.5l-192,0 q0-29 11.5-46.5t 36.5-17.5l 16,0 l0-128 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-256 q0-13 9.25-22.5t 22.75-9.5l 96,0 l0,64 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25\nt 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-64 l 192,0 l0,64 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-64 l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13.5 -9.5,22.75\nt-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"github\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,55.5 -13,93.5t-43,64.25t-79,38.25t-121,12t-121-12t-79-38.25t-43-64.25t-13-93.5q0-74.5 39-115.5q-7-51 -7-76.5q0-6.5 4.75-11.25t 11.25-4.75q 6,0 42,16.5t 49,26q 49-10.5 117-10.5q 59,0 104.5,8q 15.5-10 48.75-25t 38.75-15q 6.5,0 11.25,4.75t 4.75,11.25\nq0,17.5 -5,63.5q 53,41.5 53,128.5zM 256,176q-10,0 -29-0.5q-23-1 -44,0.25t-39.25,3.75t-33,11t-25,22t-16,36.5t-5.75,55q0,61 48.75,94.5t 143.25,33.5t 143.25-33.5t 48.75-94.5q0-32 -5.75-55t-16-36.5t-25-22t-33-11t-39.25-3.75t-44-0.25q-19,0.5 -29,0.5zM 352,336q-13.5,0 -22.75-14\nt-9.25-34t 9.5-34t 22.5-14t 22.5,14t 9.5,34t-9.25,34t-22.75,14zM 272,400l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 160.25,336q-13.25,0 -22.75-14t-9.5-34t 9.5-34t 22.75-14t 22.5,14t 9.25,34t-9.25,34t-22.5,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"commentout\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-107.5,0 l-128,128l0-128 l-107.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 190.5,78.5q 3-6 0.25-10.25t-9.75-4.25l-34,0 q-7,0 -14,4.25t-10,10.25l-57.5,115q-1.5,3 -1.5,6.5t 1.5,6.5l 57.5,99q 3,6 10,10.25\nt 14,4.25l 34,0 q 7,0 9.75-4.25t-0.25-10.25l-58.5-106zM 288,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 288,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,272q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dnszone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25q0,42 17,79\nt 47,64l0-239 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,277 q 31.5,11 64,11q 52,0 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 352,288l0,0 l-96,64l0,0 l0,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 96,64l0,0 q 0.5,0 6.25,3t 7.5,4.25\nt 6.25,4.25t 6.5,5.75t 3.75,6.75t 1.75,8q0,3 -0.75,6t-2,5.25t-3.75,4.75l-4,4t-5.25,3.5t-5,2.75t-5.75,3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"leechprotect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,128q0-13.5 -9.25-22.75t-22.75-9.25l-352,0 q-13,0 -22.5,9.25t-9.5,22.75\nl0,32 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-32 \nzM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 480,352l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,32 q0,13.5 9.5,22.75t 22.5,9.25l 352,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-32 zM 416.25,288\nq-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 320.25,288q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 224.25,288q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75\nt-22.5,9.5zM 128.25,288q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analytics3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 352,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-320 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13 -9.5,22.5t-22.5,9.5zM 224,512l-32,0 q-13.5,0 -22.75-9.5\nt-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,192 q0,13 -9.5,22.5t-22.5,9.5zM 96,384q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5\nt-22.5,9.25l-32,0 l0,64 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,64 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-32,0 l0,64 l 32,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ftpsession\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-160,0 l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 64,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13 9.5-22.5t 22.5-9.5l 240,0 l 23-42.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25q 24.5,29 24.5,42.5l0,224 \nq0,26.5 -18.75,45.25t-45.25,18.75zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25q0,16.5 3,32l 33,0 q-4-16 -4-32q0-48 32-84.5l0,4.5 l 65.5,88.5q 2.5,10.5 11,17t 19.5,6.5q 12,0 20.75-7.5t 10.75-19l 32.5-53.5l0,0 l0-16 l-16,0 l0,0 l-46.5,28.5l-81.5-60.5l-4.5,0 q 36.5-32 84.5-32q 53,0 90.5,37.5t 37.5,90.5\nq0,15.5 -4,32l 33,0 q 3-16 3-32q0-43.5 -21.5-80.25t-58.25-58.25t-80.25-21.5zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ftpaccounts\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-160,0 l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13 9.5-22.5t 22.5-9.5l 240,0 q0-4 5.75-14.5t 11.25-19l 6-8.5q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.75\nl 24.5,42l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 288,291l0-26.5 q 32-18.5 32-84q0-26 -18-39.25t-46-13.25t-46,13.25t-18,39.25q0,62.5 32,83l0,27.5 q-28,5.5 -45.75,18.5t-18.25,29q0,13.5 96,13.5t 96-13.5q-0.5-16 -18.25-29t-45.75-18.5zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25\nt 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mxentry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-64,0 l-320,0 l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5zM 96.25,64q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 416,64l-192,0 q-13,0 -22.5,9.25t-9.5,22.5\nt 9.5,22.75t 22.5,9.5l 192,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 224.5,224l 9,9l-36,35.5q-2.5,3 -4,7.75t-1.5,8.25l0,3.5 q-0.5,13 5.5,19.5l 36,35.5l-137.5,137.5l0-0.5 l0-256 l 128.5,0 zM 398.5,508.5q-7,3.5 -14.5,3.5l-256,0 q-7.5,0 -14.5-3.5l 142.5-143zM 287.5,224l 128.5,0 l0,256 l0,0.5 l-192.5-192.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cgicenter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l0-160 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 48,256q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75\nl 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 zM 480,80q0-6.5 -4.75-11.25t-11.25-4.75l-384,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 q0,13 -9.25,22.5t-22.75,9.5l-288,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 384,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-352 zM 416,160q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25zM 320,160q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 224,160l-96,0 q-13,0 -22.5-9.25t-9.5-22.75\nt 9.5-22.75t 22.5-9.25l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 288.25,352q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 192.25,352q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25z\nM 96.25,352q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"refresh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495.5,512l-67-67q-34.5,31.5 -78.75,49.25t-93.25,17.75q-79.5,0 -144.25-44.75t-93.25-116.25l 59.5-24q 21.5,54 69.75,87.5t 108.25,33.5q 72.5,0 127-48.5l-63-63.5q-0.5-7 4.25-11.75t 11.75-4.25l 154.5,0 q 7,0 13.75,6.75t 7.25,13.75l 0.5,160q 0.5,12 -17,11.5zM 256.5,64q-72.5,0 -127,48l 63,63.5\nq 0.5,7 -4.25,11.75t-11.75,4.75l-154.5,0 q-7-0.5 -13.75-7.25t-7.25-13.75l-0.5-160q-0.5-12 17-11.5l 67,67q 34.5-31.5 78.75-49t 93.25-17.5q 79.5,0 144.25,44.5t 93.25,116.5l-59.5,23.5q-21.5-54 -69.75-87.25t-108.25-33.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"codeigniter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512q 11-7.5 18-18.25t 9.75-24.25t 3.5-23t 0.75-24.5q0-19 -10.25-38.75t-26-35t-31-26.25t-28.75-18q-27-13.5 -45.5-34.25t-18.5-45.75q-8.5,0 -20.25,14.75t-11.75,33.25q0,9 9.75,19.5t 21.25,19t 21,20.5t 9.5,24q0,24.5 -11.5,42.75t-34,18.25t-35.25-19t-12.75-45q-9,4.5 -15.5,11.75t-9.75,14\nt-4.75,17.75t-1.75,17.5t-0.25,19q0,57 32,80q-32.5-6 -56.25-18t-37.5-26.25t-21.5-34.5t-10.25-38.75t-2.5-42.5q0-45 46.75-115.75t 97.25-108.25q 2.5-2.5 14-11.25t 21.25-18t 20.75-23.25t 17.5-33.5t 6.5-42q 6.5,0 16.75,6t 21,15.75t 18.5,25.5t 7.75,32.75q0,16 -5,30.5t-11,23.5t-11,20.25t-5,21.75\nq0,20 14,34t 34,14q 17.5,0 30.75-8.5t 17.25-23.5q 44,32 70,75.5t 26,84.5q0,23 -4,45t-13.5,43.25t-23.75,36.75t-36.5,25.25t-50.25,9.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mysql\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,444q 8.5,16.5 12,31.75t 0.25,25.75t-14.75,10.5q-30.5-41 -59.5-90q-14-10 -42.5-25.25t-51-27.75t-51.5-37t-51.5-55q0,6 -4,11.25t-8,12.5t-4,19.25l0,4 q0,8 -0.25,11.5t-1.5,8.25t-4.75,6.5t-9.5,1.75q-12.5,0 -30.25-25t-17.75-39q0-27 9.5-60.75t 21.5-35.25q-16-29 -21-39\nq-12-19.5 -32.5-50t-31-47.5t-10.5-23.5q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5q0,3.5 2.5,16q 23-16 61.5-16q 24,0 66.25,34.5t 61.75,61.5q0,0.5 0.5,1l 0.5,0.5q 27.5,4.5 56.5,18.25t 49.75,34.75t 20.75,41.5l0,0.5 q-7.5,0.5 -29.75-0.25t-33.75-0.75q 10,18 15.5,32.5q 6.5,18 11,43q 4,2 5,5\nq 9,22 28.75,44t 41.5,39t 42.5,33t 34,31.5t 13.25,28.5l-17-5t-44.25-14t-48.25-17z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"drupal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-61-0.5 -112.5-29.75t-81.5-79.5t-30-109.25q0-63.5 34.5-115.75t 91.5-80.75q 19.5-10 34.75-22.5t 23.5-23.75t 12.75-22t 4.25-18.25t-3.75-10.5q 24,21.5 31,29.5q 16,20 38.75,36t 64.75,37q 52.5,26.5 84.25,79.5t 31.75,114.5q0,59 -30,108.75t-81.5,78.5t-112.5,28.25zM 272,480q 26,0 53-10.5t 27-21.5\nq0-12 -2-14t-14-2q-9,0 -29.5,8t-34.5,8q-10.5,0 -25.25-8t-22.75-8q-4.5,0 -6.75,0.25t-4.75,1.75t-3.5,4.75t-1,9.25q0,9 19.75,20.5t 44.25,11.5zM 352,384q0-10.5 -12-21.25t-36-10.75q-23,0 -35.25,9.5t-12.25,22.5q0,12 2,14t 14,2q 6.5,0 9.5-2.5t 3.75-5.5t 5.25-5.5t 13-2.5q 10.5,0 17.5,8\nt 14.5,8q 5,0 7-0.25t 4.5-1.75t 3.5-4.75t 1-9.25zM 419.5,256q-22,0 -40.5,4.5t-28.75,10.25t-22.5,11t-23.25,6.75l-0.25-0.25l-0.25-0.25q-8.5,0 -22.25-5t-27.5-11t-36.25-11t-46-5q-28,0 -51.75,22.75t-23.75,49.25t 16.5,41.25t 44.5,14.75q 20.5,0 43.25-10t 39.25-22t 34.25-22t 29.75-10q 11-1.5 21.5,4.75\nt 19.25,15.75t 17.25,19.5t 18.25,17t 19.25,7q 17.5,0 33-26.75t 15.5-54.25q0-17.5 -7.25-32.25t-21.25-14.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wordpress\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,96q0,7 0.5,12.25t 2.25,10.5t 3,8.5t 5,8.5t 5.25,7.5t 7.25,9.25t 8.25,9.5q 11,14 14.25,22.75t 0.75,20.25q-3.5,17 -8,30l-38.5,101l-41.5-94q-4.5-11 -18.5-58.75t-14-51.25q0-7 5-10.5q 11-9 21-9.5l0-16 l-144,0 l0,16 q 4.5,0.5 7,3t 4.75,5.75t 3.75,4.75q 7,6 16.5,29l 16,53.5\nl-32,128l-66-174.5q-10-25.5 -10-31t 5.5-9.5q 12-9 22.5-9l0-16 l-103.5,0 q 35.5-45 87.75-70.5t 111.75-25.5q 47.5,0 91,16.75t 78,47.25q-19.5,0 -30.25,8t-10.75,24zM 33,130.5q 12.5,14.5 30,61.5l 97,256l 32,0 l 64-192l 80,192l 32,0 l 75.5-195q 3-8.5 12-26.75t 15.25-35t 7.75-30.25q 1.5-20 1.5-29q 32,58 32,124\nq0,69.5 -34.25,128.5t-93.25,93.25t-128.5,34.25q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5q0-67 33-125.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"joomla\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 421.5,229.5l-37.5-37.5q 10-10.5 8.5-30.25t-12-30.25t-30.25-12t-30.25,8.5l-96.5,96l-37.5-37.5l 93.5-93.5q 29-29 69.75-29t 69.75,29q 28,28 28.75,67.75t-26.25,68.75zM 131.5,131.5q-10.5,10.5 -12,30.25t 8.5,30.25\nl 96,96l-38,37.5l-93-93q-29-29 -29-69.75t 29-69.75q 28-28 67.75-28.75t 68.75,26.25l-37.5,37.5q-10.5-10 -30.25-8.5t-30.25,12zM 48,96q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 48,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14\nzM 90,283l 37.5,37.5q-10,10.5 -8.5,30.25t 12,30.25t 30.25,12t 30.25-8.5l 96-96l 37.5,38l-93,93q-29,29 -69.75,29t-69.75-29q-28-28 -28.75-67.75t 26.25-68.75zM 381,381q 10.5-10.5 12-30.25t-8.5-30.25l-96-96.5l 37.5-37.5l 93.5,93.5q 29,29 29,69.75t-29,69.75q-28,28 -67.75,28.75\nt-68.75-26.25l 37.5-37.5q 10.5,10 30.25,8.5t 30.25-12zM 464,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cpanel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,13.5 -9.5,22.75t-22.5,9.25l-192,0 l0,192 q0,13.5 -9.25,22.75t-22.75,9.25l0,0 q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25l0,0 q 69.5,0 128.5,34.25t 93.25,93.25t 34.25,128.5zM 64,256q0,71 45.75,124.25t 114.25,64.75l0-378 \nq-68.5,11.5 -114.25,64.75t-45.75,124.25zM 288,67l0,157 l 157,0 q-10-60.5 -53.5-103.75t-103.5-53.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"python\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384l-144,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-112 q0-26.5 10.75-37.25t 37.25-10.75l 128,0 q 26.5,0 53.25-26.75t 26.75-53.25l0-80 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25\nl0,96 q0,36.5 -29.75,66.25t-66.25,29.75zM 288,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 320,256l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 \nq0-36.5 29.75-66.25t 66.25-29.75l 144,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flashplayer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-16,0 q-23,0 -44,11.75t-37.75,31.75t-28.75,40.5t-22.5,44l 85,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-119,0 q-4.5,9.5 -10.75,25t-10.5,26.5t-11.25,25.75t-13.5,25.5t-16,23.5t-19.75,21.75t-24.5,17.75t-30.25,14.25t-36.5,8.75t-44,3.25l-16,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 25,0 49.5-15.75t 43-40.25t 31.75-51.75t 19.75-52.25q 4-16.5 9.75-34.5t 16.75-44t 24.25-49.25t 32.75-47.5t 41.75-41.5t 52-28.25t 62.75-11l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ajax\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 443,230l-21,21.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-16.5-16.5l0,181 q0,40 -28.25,68t-67.75,28l-64,0 q-40,0 -68-28t-28-68l 64,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75l0-181 l-16.5,16.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-21.5-21.5q-4.5-4.5 -4.5-10.75t 4.5-10.75l 76-76q 4.5-4.5 15.5-4.5\nq 10.5,0 15.5,5l 76,75.5q 4,4.5 4,10.75t-4.5,10.75zM 288,64l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,181 l 16-16.5q 4.5-4.5 10.75-4.5t 10.75,4.5l 21.5,21.5q 4.5,4.5 4.5,10.75t-4.5,10.75l-75.5,76q-4.5,4.5 -15.5,4.5t-16-5l-75.5-75.5q-4.5-4.5 -4.5-10.75t 4.5-10.75l 21.5-21.5q 4.5-4.5 10.75-4.5t 10.75,4.5l 16.5,16.5l0-181 q0-40 28-68\nt 68-28l 64,0 q 39.5,0 67.75,28t 28.25,68l-64,0 q0-13 -9.5-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"magento\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,420.5l0-260.5 l-160-80l-160,80l0,260.5 l-64-36.5l0-256 l 224-128l 224.5,128l0,256 zM 224,429.5l 32,18.5l 32-18.5l0-267 l 64.5,37.5l0,256 l-96.5,56l-96-56l0-256 l 64-37.5l0,267 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"oxwall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75q 58,0 106-32l 54,0 l0-54 \nq 32-48 32-106q0-52 -25.75-96.25t-70-70t-96.25-25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jqueryui\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-55.5,0 -100-13.25t-80.5-42.25t-55.75-79.75t-19.75-120.75l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,70 -19.75,120.75t-55.75,79.75t-80.5,42.25t-100,13.25zM 256,320q-21.5,0 -37.75-5.5t-30-19t-21-39.5t-7.25-64l0-64 l-96,0 l0,96 \nq 0.5,42 10.75,75t 27.25,54.75t 41.5,36t 52.25,20.25t 60.25,6q 38,0 69.25-8.5t 57.75-26.75t 43.25-50t 21.75-74.75l-96,0 q-18.5,64 -96,64zM 384,96l-32,96l 96,32l 32-96z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jquery\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 403.5,240q-54.5,0 -93-38.5t-38.5-93q0-32 18-60.75t 46-47.75q-2,5 -6.25,15.5t-6.5,16t-6,14.75t-5.5,15t-3.75,12.75t-3,12.25t-1,9.75q0,47.5 32.25,79.75t 79.75,32.25q 4.5,0 9.75-1t 12.25-3t 12.75-3.75t 15-5.5t 14.75-6t 16-6.5t 15.5-6.25q-19,28 -47.75,46t-60.75,18zM 368,320\nq 30.5,0 57.25-3.5t 70.75-12.5q-27.5,31 -66.5,47.5t-83.5,16.5q-55,0 -101.5-27t-73.5-73.5t-27-101q0-45 16.5-84t 47.5-66.5q-9,44 -12.5,70.75t-3.5,57.25q0,47 24,87.5t 64.5,64.5t 87.5,24zM 288,448q 91.5,0 160-16q-35,39 -85,59.5t-107,20.5q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5\nq0-57 20.5-107t 59.5-85q-16,68.5 -16,160q0,45.5 17.75,87t 47.75,71.5t 71.5,47.75t 87,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"css3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-192,64l-192-64l-32-448l 448,0 zM 96,64l 6,64l 218,0 l0,64 l-212.5,0 l 6,64l 206.5,0 l0,96 l-64,16l-64-16l0-64 l-75.5,0 l 11.5,128l 128,32l 128-32l 32-352l-320,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"html5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-192,64l-192-64l-32-448l 448,0 zM 96,64l 17.5,192l 206.5,0 l0,96 l-64,16l-64-16l0-64 l-75.5,0 l 11.5,128l 128,32l 128-32l 20.5-224l-212.5,0 l0-64 l 218,0 l 6-64l-320,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"html\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,277l-99,130q-9,8.5 -21.75,8.5t-21.75-8.75t-9-21.5t 9-21.75l 82.5-108l-82.5-108q-9-9 -9-21.5t 9-21.5t 21.75-9t 21.75,9l 99,129.5q 9,9 9,21.5t-9,21.5zM 256,480q-0.5,1.5 -1.5,5.75t-1.5,5.75l-1.75,5.25t-2.5,5.25t-3.75,4t-5.25,3.5t-6.75,1.75t-9,0.75q-12,0 -23-12.5\nt-8-24l 63-444q 8.5-32 48-32q 11,0 14.75,11.75t 0.25,24.75zM 151.5,406.75q-9,8.75 -21.75,8.75t-21.75-8.5l-99-130q-9-9 -9-21.5t 9-21.5l 99-129.5q 9-9 21.75-9t 21.75,9t 9,21.5t-9,21.5l-82.5,108l 82.5,108q 9,9 9,21.75t-9,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ruby\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 96,512l 0.5-0.5q-44-2 -69-27q-25-24.5 -27-68.5l-0.5,0 l0-160 l 0.5,0 q0-36 23.25-81t 64.75-86.5t 86.5-64.75t 81-23.25l0-0.5 l 160,0 l0,0.5 q 44,2 68.5,27q 25,25 27,69l 0.5-0.5l0,416 l-416,0 zM 480,480l-112-112l-144,112l 256,0 zM 337.5,356.5l-177.5-68.5l-27,188q 47.5-9.5 101.25-40.5t 103.25-79zM 32,432q 1,2.5 4.25,9.75\nt 6.25,13.5t 5.5,8.75q 14.5,14.5 26.5,16.75t 38.5-1.75q-79-161.5 -81-166l0,119 zM 274.25,45.75q-23.75-23.75 -74-7t-97.5,64t-64,97.5t 7,74t 74,7t 97.5-64t 64-97.5t-7-74zM 356.5,337.5q 47.5-49.5 78.5-103.25t 40.5-101.25l-187.5,27zM 463,48q-2.5-2.5 -8.5-5.5t-13.5-6.25t-9.5-4.25l-118.5,0 l 165,80\nq 4-26 1.75-38t-16.75-26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"whmcs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437,192l-70.5,0 q-17-29 -46.25-46.5t-64.25-17.5q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5q 35,0 64.25-17.5t 46.25-46.5l 70.5,0 l-0.5,0.5l 50.5,45q-8,16.5 -17,30.5l-66-17.5q-11,13 -24.5,24.5l 19.5,65.5q-12.5,8.5 -31,17.5l-46.5-49.5q-16.5,5.5 -33.5,8.5l-17.5,66.5q-12.5,0.5 -14.5,0.5q-8,0 -21-1l-13.5-66\nq-15-3 -30-8.5l-45,50.5q-17-8 -30.5-17l 17.5-66q-13-11 -24.5-24.5l-65.5,19.5q-8.5-13 -17.5-31l 49.5-46.5q-5.5-16.5 -8.5-33.5l-66.5-17.5q-0.5-12.5 -0.5-14.5q0-8 1-21l 66-13.5q 3-15 8.5-30l-50.5-45q 8-17 17-30.5l 66,17.5q 11-13 24.5-24.5l-19.5-65.5q 13-8.5 31-17.5l 46.5,49.5q 16.5-5.5 33.5-8.5l 17.5-66.5q 13-0.5 14.5-0.5\nq 8,0 21,1l 13.5,66q 15,3 30,8.5l 45-50.5q 17,8 30.5,17l-17.5,66q 13,11 24.5,24.5l 65.5-19.5q 8.5,12.5 17.5,31l-49.5,46.5l0,1 t 0.5,0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mybb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,208q0,15 2.5,28.5t 6.5,22.75t 8.5,16t 8.25,9.75t 6.25,3q-37,0 -69.25-9.5t-54.75-26q-18.5,3.5 -36.25,3.5t-35.75-3.5l-1,2t-0.5,1.5l 2.75,0 l 2.75,0 q 43.5,0 80.25,15t 58.25,40.75t 21.5,56.25t-21.5,56.25t-58.25,40.75t-80.25,15q-18,0 -36.5-3q-22.5,16.5 -54.75,25.75t-68.75,9.25\nq 4.5,0 11.5-8t 13.5-27t 7-42q-32-30 -32-67q0-7 2-16l-1,0 l-1,0 q-17.5,0 -36-3.5q-22.5,16.5 -54.75,26t-69.25,9.5q 2.5,0 6.25-3t 8.25-9.75t 8.5-16t 6.5-22.75t 2.5-28.5q0-0.5 0.25-1.5t 0.25-1.5q-32.5-34.5 -32.5-77q0-34.5 21.5-64t 58.25-46.75t 80.25-17.25q 18,0 36,3.5q 12.5-43 56-71.25t 100-28.25q 43.5,0 80.25,17.25\nt 58.25,46.75t 21.5,64q0,42.5 -32.5,77q0,0.5 0.25,1.5t 0.25,1.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dolphinsoftware\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 444.5,79.5q 33.5,35 52.25,80.5t 18.75,96q0,73 -39,135q 15,20 39,22q-16.5,19 -41,19q-22,0 -38.5-20t-16.5-44q0-10 2.5-32.25t 3-32.75q-16.5-36.5 -52.75-64.25t-79.25-39.75q-17.5,7.5 -39,24.5t-38.5,33t-38.75,31.5t-40.25,21q-49.5,14.5 -88.25,9.5t-44.25-27q-3.5-15.5 11.75-33.5t 44.25-34\nq-1-1 -2.25-3.25t-1.75-2.75q 26.5,6 59.5,6q 26.5,0 48.5-8.75t 34.5-23.75q 12.5-1 20.75-10t 8.25-21.5q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.5t-9.5,22.5q0,11 7.5,20q-25.5,12 -55.5,12q-19,0 -29.5-0.5t-23.25-2.75t-21.75-6.75q-5-20.5 -5.5-38q-0.5-24.5 7-43.5t 25-36.5q 32-31.5 84.5-47.75t 107.5-16.25q 64.5,0 121,30.5\nq 27-30.5 66.5-30.5q 41,0 68.5,33q-22.5,2 -41,14.5t-30,32zM 93,351q 25,44 69.5,70.5t 97,26.5q 73.5,0 128.5-49.5q 3.5,34 29,59q-69.5,54.5 -157.5,54.5q-79.5,0 -144-44.5t-93.5-116q 13.5,0.5 29.5,0.5q 24,0 41.5-1z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phpbb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75q-34,0 -58,23.25t-33,63.75\nq-35-55 -101-55q 39.5,0 67.75-28t 28.25-67.75t-28.25-68t-68-28.25t-67.75,28.25t-28,68t 28,67.75t 68,28q-58,0 -93,44t-35,116q 32,18 58,25t 70,7t 70-7t 58-25q0-22 -4-43.5q 26.5,11.5 68,11.5q 33,0 52.5-5.75t 43.5-20.75q0-60.5 -26.25-97t-69.75-36.5q 26.5,0 45.25-18.75\nt 18.75-45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"smf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 498,32l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,48 q0,3 2.25,5.5t 5.75,2.5l 40,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,104 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-224 q0-7 4.5-11.5t 11.5-4.5l 64,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5\nt-11.25,4.75zM 370,256q-6.5,0 -11.25-4.75t-4.75-11.25l0-174.5 l-50,70.5q-4.5,8 -14,8t-14-8l-50-70.5l0,174.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-224 q0-6.5 4.75-11.25t 11.25-4.75q 9,0 14,8l 66,93l 66-93q 5-8 14-8q 6.5,0 11.25,4.75t 4.75,11.25l0,224 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 239,292.5l 29.5,41l 204-44.5q 13-3.5 24.75,3t 15.25,19t-3.25,23.75t-19.75,14.75l-181,39.5l 74,102q 8.5,8.5 -4,21l-308-0.5q-5-5 -5-12t 5-12l 39.5-55.5l-66.5,14.5q-13,3.5 -24.75-3t-15.25-19t 3.25-23.75t 19.75-14.75l 138-30l 45.5-63.5q 5-5 14.5-5t 14.5,5z\nM 194,383.75q0,13.25 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5zM 146,64q-6.5,0 -11.25-4.75t-4.75-11.25q0-6 -1.75-9.5t-6.5-4.75t-8.25-1.75t-11,0l-4.5,0 l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 \nq0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-29,0 -46.5-11.5t-17.5-36.5q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5q0,5.5 1.75,9t 6.5,5t 8.25,1.75t 11.5,0.25l 4,0 l 32,0 q 13,0 22.5-9.5t 9.5-22.5l0-32 q0-13.5 -9.5-22.75t-22.5-9.25l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 32,0 q 29,0 46.5,11.5t 17.5,36.5\nq0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"prestashop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-32,0 l0-80 q0-16 -9.5-28.5t-24.5-17q0-15 -15.75-24.75t-30.25-9.75l-16,0 l0-16 q0-20 -14-34t-34-14t-34,14t-14,34l0,51 q-14,5 -23,17.25t-9,27.75l0,80 l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-288 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-64 l 64-64l0,128 l 192,0 l0-128 l 64,64l0,64 l 32,0 \nq 13.5,0 22.75,9.5t 9.25,22.5l0,288 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,0l 128,0 l0,64 l-128,0 l0-64 zM 240,384q 6.5,0 11.25,4.75t 4.75,11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75\nt 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 q0,26.5 -15.5,45.25t-38,18.75l-53,0 q-22,0 -37.75-18.75t-15.75-45.25l0-48 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"opencart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,384q 11.5-23 25.25-48t 20-36.5t 10.75-22.75t 4.5-19.25q0-26 -9.75-44.5t-23.75-18.5q-98.5,0 -180-12q-128-18.5 -191-83q-10.5-12 -14-17t-10-16.75t-9.75-27t-6.25-38.75q 6,16.5 12.25,29.25t 11,20t 11.75,13.75t 10.25,9t 10.75,6.5t 9.5,5.5q 70.5,44 382.5,44q 24.5,0 44.25,20.25t 19.75,46.25\nq0,15 -4.5,30.5t-15,32.5t-20,30.25t-27.5,32.75t-28.75,30.75t-32.25,32.75zM 144,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14zM 336,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"backupwizard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,502q-9.5,9.5 -22.5,10t-22-8.5l-96.5-97q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 96.5,97q 9,9 8.5,22t-10,22.5zM 288,128l0,114 l-96.5-97l 16.5-16.5l-44.5-6l-12.5-26.5l 105,0 q 13.5,0 22.75,9.25t 9.25,22.75zM 128,96l 9,0 l-12,26.5l-29,4q 0.5-13 9.75-21.75t 22.25-8.75zM 128,288\nq-13,0 -22.5-9.5t-9.5-22.5l0-111.5 l 17,16.5l-8.5,47l 36.5-21.5l 101,101.5l-114,0 zM 320,96q0-13.5 -9.25-23t-22.75-9.5l-192,0 q-13,0 -22.5,9.5t-9.5,23l0,192 q0,13 9.5,22.5t 22.5,9.5l 178,0 l 64,64l-306,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320.5 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,306.5 l-64-64l0-178 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"accountfiltering\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-190,234l-18,118q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l-18-118l-190-234l-11.5-16q-4.5-7.5 -4.5-16q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-128 l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,8.5 -4.5,16zM 255.5,112\nl 93.5-93.5q 3,6.5 3,13.5l0,160 q0,7 -3,13.5zM 190,0l 0.75,0 l 1.25,0 l 128,0 l 1.25,0 l 0.75,0 l-66,66.5zM 320,224l-128,0 l-1.25,0 l-0.75,0 l 66-66.5l 66,66.5l-0.75,0 l-1.25,0 zM 230,92.5q-3,3 -4.5,7.75t-1.5,8.25l0,3.5 q-0.5,13 6,19.5l 3.5,3.5l-70.5,70.5q-3-6.5 -3-13.5l0-160 q0-7 3-13.5l 70.5,70.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"userfiltering\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-190,234l-18,118q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l-18-118l-190-234l-11.5-16q-4.5-7.5 -4.5-16q0-13 9.5-22.5t 22.5-9.5l 128,0 q0,59.5 8,81.5q-40,23.5 -40,83.5q0,6.5 5.75,11.5t 17.75,7.75t 23,4.5t 28.5,2.25t 27,0.75t 26,0.25t 26-0.25t 27-0.75t 28.5-2.25t 23-4.5\nt 17.75-7.75t 5.75-11.5q0-60 -40-83.5q 8-22 8-81.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,8.5 -4.5,16zM 288,136.5l0,26.5 q 28,5.5 45.75,18.5t 18.25,29q0,13.5 -96,13.5t-96-13.5q 0.5-16 18.25-29t 45.75-18.5l0-27.5 q-32-20.5 -32-83q0-26 18-39.25t 46-13.25t 46,13.25t 18,39.25q0,65.5 -32,84z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"filter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,64l-177.5,219.5l-30.5,196.5q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l-30.5-196.5l-177.5-219.5l-11.5-16q-4.5-7.5 -4.5-16q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,8.5 -4.5,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wrench\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,399q 4.5,5 4.5,43.25t-4.5,43.25l-22,22q-5,4.5 -43.25,4.5t-43.25-4.5l-207.5-267.5l0-0.5 t-0.5-0.5q-29.5,17 -63,17q-52.5,0 -89.5-36.5t-38.5-88.5l0-3 l 19,0 l 41.5,41.5q 22.5,22.5 54.25,22.5t 54.25-22.5t 22.5-54.5t-22.5-54.5l-41-41l0-19.5 l 3,0 q 52,1.5 88.25,38.75t 36.25,89.25q0,34 -16.5,63.5l 0.5,0.5zM 447.75,480\nq 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"error2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 256.25,320q-13.25,0 -22.75-9.5t-9.5-22.5l-32-128q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l-32,128q0,13 -9.25,22.5t-22.5,9.5zM 256,352q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75t 9.25-22.5\nt 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"certificate2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 338.5,297l 45.5,183l-64,32l-43-193.5q-11.5,1.5 -21,1.5t-21-1.5l-43,193.5l-64-32l 45.5-183q-35.5-21.5 -56.5-57.75t-21-79.25q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25q0,43 -21,79.25t-56.5,57.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"certificate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400.5,192l 48,51.5l-67.5,21l 16,68.5l-63.5-14.5l 51,162.5q0,16.5 -14,26l-26-26l-31,31q-11-2.5 -18-11.25t-7-19.75l-32.5-103l-32,103q0,11 -7,19.75t-18,11.25l-31-31l-26,26q-14-9.5 -14-26l 51-162.5l-63.5,14.5l 16-68.5l-67.5-21l 48-51.5l-48-51.5l 67.5-20.5l-16-68.5l 68.5,16\nl 20.5-67.5l 51.5,48l 51.5-48l 21,67.5l 68.5-16l-16,68.5l 67.5,20.5zM 256.25,96q-39.75,0 -68,28.25t-28.25,68t 28.25,68t 68,28.25t 68-28.25t 28.25-68t-28.25-68t-68-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mimetype\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-155.5,0 l 4-2q 5.5-3.5 7.25-9.75t-1.75-12.25l-22.5-40q 5.5-8 9.5-16.5l 47,0 q 7,0 11.5-4.5t 4.5-11.5l0-95.5 q0-7 -4.5-11.5t-11.5-4.5l-47,0 q-4-8.5 -9.5-17l 22.5-39.5q 3.5-6 1.75-12.25t-7.25-9.75l-82.5-48q-5.5-3 -12-1.25t-9.5,7.25l-23.5,41q-1,0 -4-0.25t-4.75-0.25t-5,0.25t-3.75,0.25l-23.5-41q-3-5.5 -9.5-7.25\nt-12,1.25l-74,43.5l0-188.5 q0-13.5 9.25-22.75t 22.75-9.25l 223.5,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 319.5,0q 13,0 22.5,9l 128,128.5q 9.5,9.5 9.5,23l-160,0 l0-160.5 zM 89,304l-23.5-41.5q-3-5.5 -1.5-11.75t 7-9.75l 26.5-15.5q 5-3 11.25-1.25t 9.25,7.25l 24,42\nq 9.5-1.5 17.75-1.5t 18.25,1.5l 23.5-42q 3.5-5.5 9.5-7.25t 11.5,1.25l 26,15.5q 5.5,3.5 7,9.75t-1.5,11.75l-23.5,41.5q 13,14.5 19.5,31.5l 53.5,0 q 7,0 11.5,4.75t 4.5,11.25l0,32 q0,7 -4.5,11.5t-11.5,4.5l-53.5,0 q-6.5,17.5 -19.5,32l 23.5,41.5q 3,5.5 1.5,11.75t-7,9.25l-26,16q-5.5,3 -11.5,1.25t-9.5-7.25l-23.5-42\nq-10,1.5 -18.25,1.5t-17.75-1.5l-24,42q-3,5.5 -9,7.25t-11.5-1.25l-26.5-16q-5.5-3 -7-9.25t 1.5-11.75l 23.5-41.5q-13-14.5 -19-32l-54,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 54,0 q 6-17 19-31.5zM 159.75,399.5q 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"apache\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512q-12.5,0 -26-0.5q-207-5.5 -318.75-88t-118.25-230q-33-85.5 -33-177.5q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,1.5 l0,1.5 q-4.5,7.5 -2,16q 1,7.5 4,20q 2,21 5.5,42q 1,0 2.5,0.5t 2,0.5q 39,161 84,206q 30,30.5 55,53t 56.25,45.75t 63.75,39t 65,22.25l 32,0 q-5.5-3 -14.75-8.25\nt-37.5-23.5t-55.75-39t-64.25-53.5t-67.75-67.75q-39.5-44.5 -75.5-153.5q 22.5,17 43.5,41.5q 46,54 123,128.75t 149.75,133t 95.25,58.25q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"parkeddomain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,416q0,13.5 9.5,22.75t 22.5,9.25l 32,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 q0-13 -9.5-22.5t-22.5-9.5l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,32 z\nM 112,384q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,32 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 zM 288,64l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,192 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75\nl0-32 l 64,0 q 46,0 71-27t 25-69t-25-69t-71-27zM 448,384q0-13 -9.5-22.5t-22.5-9.5l-32,0 q-8.5,0 -16,4.5q-7.5-4.5 -16-4.5l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 32,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 32,0 l0,48 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 zM 288,192l-64,0 l0-64 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 224,416l-32,0 l0-32 l 32,0 l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"redirect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-27.5,0 -52.5-11.5q-37,11.5 -75.5,11.5q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5q0,38.5 -11.5,75.5q 11.5,25 11.5,52.5zM 445,224q-9.5-8 -27.25-23.5t-26.25-22.5l-18.5,0 q-0.5,2 -1,5.75\nt-1,5.75q 7,4.5 19.75,13.5t 15.75,11q-16.5,16.5 -24,24.5q-6-9 -17-27.25t-16.5-27.25q-9.5,2.5 -20.5,5.5q-2,1 -5.25,3t-4.25,2.5q 1.5,6.5 3.5,18.5t 2.5,13.5q-7.5,9 -11.5,13.5q-6-3 -24.75-11.5t-28.75-13q0-0.5 -2-6l0-17 q 13-3.5 41-11q-0.5-1 -20.5-43.5q 3.5-5 7.5-11.5q 10.5-0.5 32.25-2.5t 32.75-3l0-24.5 q 1,0 3.5-0.75\nt 3.5-1.25q 1.5,11.5 2,17q 0.5,0 22-1q-16.5-14 -34-23.5q-8.5,1 -19.5,2l-2-2q 1.5-5 2.5-9q-24-10 -50.5-13q 1.5,6 4.5,18.5t 4.5,19q-2,0.5 -6,1.75t-5,1.75l 4,2l-17,2q 1.5-9 4.75-26.25t 3.75-19.25q-10-1 -16-1q-1,0 -10.5,0.5q 0.5,0 1,0.5l 0.5,0 l0,19 l-13,0 q-2.5-0.5 -11-2q 0.5-2.5 2.25-7.75t 2.75-7.75\nq-66.5,9.5 -112.5,59l 7,0 l 12,10.5l 12,10.5l0,11 q-11,4.5 -32.5,13.5t-31.5,13q-1.5,11.5 -5,34.75t-5.5,34.75q 15,16 29.5,32q-7,4.5 -8,5l-26,0 q 12,68 65.25,112.75t 123.25,44.75q 8.5,0 17-0.5q-4.5-7.5 -7-14q-2.5,0 -7.75-0.25t-7.75-0.75q-7-10 -21.25-31.5t-21.25-32.5q 9.5-18.5 33.5-64q 1-1.5 3.5-4\nq 7-6 21.25-18.75t 21.25-18.75q 11,2 44.5-3.75t 44.5-3.75q 0.5,0 0.5,0.5l 0.5,0.5q 4.5-0.5 6.5-0.5q 33.5,0 63,17q 1-9 1-17q0-15 -3-32zM 384,288q-31,0 -55.5,18t-34.5,46l-32.5,0 q-5.5,6 -5.5,14.5t 5.5,14.5l 26.5,35q 3,3 7.5,4.5l0,0 q 6,2.5 13,1.25t 11.5-5.75l 26.5-35q 5.5-6 5.5-14.5t-5.5-14.5l-17.5,0 q 8-14.5 22.75-23.25\nt 32.25-8.75q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75q-4.5,0 -10.5-1l-26,25.5q 17.5,7.5 36.5,7.5q 40,0 68-28.25t 28-68t-28-67.75t-68-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domainaddon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-14,0 -23.5-10.5q-36,10.5 -72.5,10.5q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5q0,37 -10.5,72.5q 10.5,9.5 10.5,23.5l0,64 z\nM 445,224q-9.5-8 -27.25-23.5t-26.25-22.5l-18.5,0 q-1.5,8.5 -2,11.5q 15,10.5 35.5,24.5q-12,12 -24,24.5q-11.5-18.5 -33.5-54.5q-9.5,2.5 -20.5,5.5q-2,1 -5.25,3t-4.25,2.5q 1.5,6.5 3.5,18.5t 2.5,13.5q-7.5,9 -11.5,13.5q-6-3 -24.75-11.5t-28.75-13q0-0.5 -2-6l0-17 q 13-3.5 41-11l-20.5-43.5q 1.5-2 4-6t 3.5-5.5q 10.5-0.5 32.25-2.5\nt 32.75-3l0-24.5 q 1-0.5 3.5-1t 3.5-1q 1,6.5 2,17q 0.5,0 22-1q-16.5-14 -34-23.5q-7,0.5 -19.5,2l-2-2q 1.5-5 2.5-9q-24-10 -50.5-13q 1.5,6 4.5,18.5t 4.5,19q-2,0.5 -6,1.75t-5,1.75l 4,2q-16.5,2 -17,2q 1.5-9 4.75-26.25t 3.75-19.25q-10-1 -16-1q-1,0 -10.5,0.5q 1,0.5 1.5,0.5l0,19 l-13,0 q-2-0.5 -11-2q 1-3.5 5-15.5\nq-66.5,9.5 -112.5,59l 7,0 l 12,10.5l 12,10.5l0,11 q-12.5,5 -36,14.75t-28,11.75q0,2.5 -4.25,29t-6.25,40.5q 9.5,10 29.5,32q-1,0.5 -3.75,2.25t-4.25,2.75l-26,0 q 12,68 65.25,112.75t 123.25,44.75q 10,0 22.5-1.5q-11-3.5 -17.5-13q-1.5-0.5 -5-0.5t-5.5-0.5q-7-10.5 -21.25-32t-21.25-32q 11.5-22.5 33.5-64\nq 1-1.5 3.5-4q 7-6 21.25-18.5t 21.25-19q 6.5,0.5 9.25,0.75t 10.75-0.75t 11.75-1.5t 12.25-2t 12.5-2.5q 4.5-1 8-1q 16.5-2 24.5-0.5q 0.5,0 0.5,0.25l0,0.25 l 39,0 q 10.5,0 19,6.25t 11.5,16.25q 1.5-12.5 1.5-22.5q0-15 -3-32zM 448,352l-32,0 l0-32 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.25t-9.25,22.75l0,32 l-32,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5\nt 22.5,9.25l 32,0 l0,32 q0,13.5 9.5,22.75t 22.5,9.25t 22.5-9.25t 9.5-22.75l0-32 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"subdomain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5q-38.5,0 -72-17.25t-56-46.75q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q 29.5,22.5 46.75,56t 17.25,72zM 256,224\nq-7.5-3.5 -11.75-15.75t-11.75-15.75q-1-3 -2-4.5q0-2.5 -3.25-14t-3.25-14q 5.5-1.5 16,0t 16,0q-3-6 -4-16.75t-4-17.25q 1-1.5 3-4.75t 3-4.75q 9.5-1 17.25-2.25t 16.75-2.25l0-16 l 32,0 q-32-24 -71.5-30q 1.5,5 3.75,14.75t 3.25,14.25q-4,1.5 -9,3.5q 0.5,0 1.5,0.75t 1.5,0.75q-2.5,0.5 -12.75-2t-12.75-2q 1-4 0.5-16.25t 2-15.75\nl-1.25,0 l-1.25,0 q-55.5,0 -99,34.5q 16,26.5 19,29.5q-4-2 -8,5.5t-6,15.75t-2,10.75q-9,4 -22.5,2.75t-22.5,2.25q-1.5,10 -9.5,29.5t-9.5,29.5q 3,2.5 8.5,2.5t 11-1.5t 9.25,2t 3.25,13q-1,1 -2,8.75t-2,8.25l-24.5,0 q 10,47.5 44.75,81.5t 82.75,43q-3-15.5 -3-29.5q0-59.5 38.5-104.25t 96.5-53.75\nq-21-30.5 -23-34q-3,1 -8,0t-8,0q-1.5,1 -3,7.5t-2.5,7.5q 3,19.5 4.5,27.5q-1.5,2 -15.5,10.75t-15.5,10.75zM 372.5,165q-2-3 -4.5-5l-32,0 q0,1.5 0.25,8t-0.25,8q 5,3.5 16,8t 16,8l-0.5,0.25l-0.5,0.25q 6.5,1 14,2.5q-2.5-16 -8.5-30zM 352.25,256q-39.75,0 -68,28t-28.25,68t 28.25,68t 68,28\nt 67.75-28t 28-68t-28-68t-67.75-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"authentication\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320.25,512q-52.25,0 -96.5-25.75t-69.75-69.75t-25.5-96.5q0-41 17.5-79.5l-33.5,0 l0-80 l-31,0 l-17-17.5l0-30.5 l-30.5,0 l-1.5-1.5l0-30.5 l-28.5,0 q-4-8 -3-16.5l-1,0 l0-64 l 64,0 l0,1 q 14-1.5 23.5,7.5l 142,142.5q 42.5-22.5 90.5-22.5q 52.5,0 96.5,25.5t 69.75,69.75t 25.75,96.5t-25.75,96.25t-69.75,69.75t-96.25,25.75zM 49,16.5l-16.5,16.5\nl 159.5,159.5l 16.5-16.5zM 352,288q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hotlinkprotection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,374q-9.5,9.5 -22.5,10t-22-8.5l-60.5-60.5l-19,19q-17.5,17.5 -42.25,17.5t-42.25-17.5l-34.5-34.5l-54,53.5l 6.5,6.5q 12.5,12 12.5,29.25t-12.5,29.75l-81,81.5q-12.5,12 -29.75,12t-29.25-12l-59.5-59q-12-12.5 -12-29.75t 12-29.75l 81.5-81q 12.5-12.5 29.75-12.5t 29.25,12.5l 7,6.5l 53.5-53.5l-36-36\nq-17.5-17.5 -17.5-42t 17.5-42l 19.5-19.5l-60-59.5q-8.5-9 -8.25-22t 9.75-22.5t 22.5-10t 22,8.5l 60,59.5l 19-19q 17.5-17.5 42.25-17.5t 42.25,17.5l 116.5,116.5q 17.5,17.5 17.5,42.25t-17.5,41.75l-19.5,19.5l 60.5,60.5q 9,9 8.5,22t-10,22.5zM 150,362q-9.5-9.5 -22.5-9.75t-22,8.25l-32.5,33q-9,9 -8.5,22t 10,22.5\nt 22.5,9.75t 21.5-8.25l 33-33q 9-9 8.5-22t-10-22.5zM 406,184l-79-79q-9.5-9.5 -23.25-9.5t-23.75,9.5l-0.5,1q 8.5,8.5 8.25,21.5t-9.75,22.5t-22.5,10t-21.5-8.5l-0.5,0.5q-10,9.5 -10,23.25t 10,23.75l 17,17l 15-15.5q 9-9 22-8.5t 22.5,10t 10,22.5t-8.5,22l-15,15.5l 16,16q 9.5,9.5 23.25,9.5t 23.25-9.5\nl 1-1q-8-9 -7.5-21.5t 9.75-21.5t 21.75-9.75t 21.5,7.25l 0.5-0.5q 9.5-10 9.5-23.5t-9.5-23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sslmanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -96.25-25.75t-70-70t-25.75-96.25q0-58 32-106l0-54 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,54 q 32,48 32,106q0,52 -25.75,96.25t-70,70t-96.25,25.75zM 256,64q-38,0 -65.5,26t-30,63.5q 44.5-25.5 95.5-25.5t 95.5,25.5\nq-2.5-37.5 -30-63.5t-65.5-26zM 256,192q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,384q-26.5,0 -45.25-18.75t-18.75-45.25q0-32 26-51l 38-76.5l 38,76.5q 26,19 26,51q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ssh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,432l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,368l-16,0 l0,16 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-16,0 q-2,0 -3-0.5\nq-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 l0,16 l 64,0 l0-96 l-80,0 q-2,0 -3-0.5q-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6 3.75-10.25\nt 9.25-5.25q 1-0.5 3-0.5l 16,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 16,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 l0-16 l-64,0 l0,96 l 80,0 q 2,0 3,0.5\nq 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,304l-16,0 l0,16 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-16,0 l0,16 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-16,0 l0,16 q0,5.5 -3.75,10t-9.25,5.5q-1,0.5 -3,0.5l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6 3.75-10.25t 9.25-5.25q 1-0.5 3-0.5l 16,0 l0-16 q0-6 3.75-10.25t 9.25-5.25q 1-0.5 3-0.5l 16,0 l0-32 l-16,0 q-2,0 -3-0.5q-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-2,0 -3-0.5q-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75l 32,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"protecteddirectory\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.25-22.5t 22.75-9.5l 240,0 q0-3.5 5.75-14t 11.25-19.5l 6-8.5q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.75q 24.5,32 24.5,42l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,256q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75\nt-18.75,45.25q0,19.5 11.25,35.75t 29.25,23.25l-40.5,101l 128,0 l-40.5-101q 18-7 29.25-23.25t 11.25-35.75zM 23,54q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"awstats\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 1,0 l 447,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 464,416l-432,0 l 88-165q 2.5-4.5 8-6.25t 10.5,0.25l0-0.5 q-2-1.5 -1.5-1.5q 1,0 4.5,3q 4,3 5.5,7.5l 17.5,17.5l 92.5-131.5q 1-4.5 3.5-7q 4.5-4.5 11.5-4.5q 6.5,0 11.5,4.5q0,0.5 0.5,1.25l 0.5,0.75l 44.5,36l 120-159.5\nq 4-11 15-11l 0.5,0 q 6.5,0 11,4.5t 4.5,11l0,0.5 l0,384 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taskmanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,416q0,13.5 9.5,22.75t 22.5,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-96 l-80,0 q-8.5,0 -13-7.5l-67-67l0,122.5 l0,0.5 q0,6.5 -4.5,11t-11,4.5\nl-0.5,0 q-11,0 -15-11l-82.5-109.5l-49.5,49q-4.5,7.5 -13,7.5l-48,0 l0,96 zM 416,64l-320,0 q-13,0 -22.5,9.5t-9.5,22.5l0,192 l 42.5,0 l 56-56q 1-2.5 2-3.5q 4.5-4.5 11.5-4.5t 11.5,4.5q 2.5,2.5 3.5,6.5l 65,86.5l0-113.5 l0-0.5 q0-6.5 4.5-11t 11-4.5l 0.5,0 q 8.5,0 13,7.5l 88.5,88.5l 74.5,0 l0-192 q0-13 -9.5-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"error\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,416q 13.5,0 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25zM 256,96\nq-26.5,0 -45.25,18.75t-18.75,45.25l 32,128q0,13.5 9.5,22.75t 22.5,9.25t 22.5-9.25t 9.5-22.75l 32-128q0-26.5 -18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailforward2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,367l-175-174.5l 175-175q 3.5,7.5 3.5,15l0,320 q0,7.5 -3.5,14.5zM 31.5,0.5l 0.5,0 l 448,0 l 0.5,0 l-224.5,224.5zM 3.5,367q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-15l 175,175zM 236.5,250.5q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l0,1 t 0.25,2t-0.25,3t-1.25,3.75t-2.25,4.25t-4,5l-121.5,104\nq-4,3.5 -14.25,4.25t-21-1.75t-19.25-9.25t-8.5-16.25l0-36 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-128,0 l-0.5,0 l 169.5-169.5zM 224,416.5l 96,0 l0,40.5 q 13,12.5 21.5,4l 74.5-64.5q 5-5 5-12t-5-12l-74.5-64.5q-8.5-8.5 -21.5,4l0,40.5 l-96,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spam2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 362,512l-212,0 l-150-150l0-212 l 150-150l 212,0 l 150,150l0,212 zM 288,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 zM 288,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-331.5 q 36.5,19.5 105,31.5t 151,12t 151-12t 105-31.5l0,331.5 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 448,193q-30,14 -81,22.5t-111,8.5t-111-8.5t-81-22.5l0,207 q0,20 56.25,34t 135.75,14t 135.75-14t 56.25-34l0-207 zM 288,416l-64,0 \nq-10.5,0 -19-6.25t-11.5-16.25q 4.5-9.5 14.5-9.5l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 10.5,0 19,6.25t 11.5,16.25q-4.5,9.5 -14.5,9.5l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,48 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,128q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25t 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25t 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boxtrapper\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 288,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,224q0-13 -9.5-22.5t-22.5-9.5l-64,0 l0-112 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,112 l-64,0 \nq-13.5,0 -22.75,9.5t-9.25,22.5l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 96,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 zM 368,416l-80,0 l0-160 l 96,0 l0,144 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,416l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-144 l 96,0 \nl0,160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webmail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 333.5,256l 138-138q 40.5,63.5 40.5,138t-40.5,138zM 59.5,92q 36-43 87.25-67.5t 109.25-24.5t 109.25,24.5t 87.25,67.5l-196.5,196.5zM 40.5,394q-40.5-63.5 -40.5-138t 40.5-138l 138,138zM 201,278.5l 35.5,36q 3,2.5 7.75,4t 8.25,1.5l 3.5,0 q 13,0.5 19.5-5.5l 35.5-36l 141.5,141.5q-36,43 -87.25,67.5t-109.25,24.5\nt-109.25-24.5t-87.25-67.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mailbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128l0,352 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 l-32,0 l0,32 q0,13 -9.25,22.5t-22.75,9.5l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-288 q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25l0,192 l 32,0 l0-352 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 320,192q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5l0,240 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-240 zM 256,384l-128,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shortcut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.5-22.5t-22.5-9.5l-224,0 q-8,0 -16,4t-12,8l-4,4l 71.5,72q-32,17.5 -61.25,42t-53.5,54.25t-38.5,65.25\nt-14.25,70.5q0,3.5 -0.25,10.25t-0.25,12t 0.5,9.75q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q 9.5-42.5 42.5-74t 79.5-48.25t 103-20.75l 79,79q 0.5,0 4.25-4t 7.75-12t 4-16l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lang\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,256q0-52 -25.75-96.25t-70-70t-96.25-25.75q-48.5,0 -90,22.5t-68,61l 30,30q 0.5,15 -9,14.5l-101-1q-6,0 -11.75-5.75t-5.75-11.25l-0.5-101q-0.5-9.5 14-9l 38,37.5q 35.5-47 89-74.25t 115-27.25q 52,0 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l-64,0 zM 192.5,368\nq0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-176 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,176 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-72 q0-3.5 -2.5-5.75t-5.5-2.25l-112,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,72 zM 200.5,256l 112,0 q 3,0 5.5-2.25t 2.5-5.75\nl0-56 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,56 q0,3.5 2.25,5.75t 5.75,2.25zM 256.5,448q 48.5,0 90-22.5t 68-61l-30-30q-0.5-15 9-14.5l 101,1q 6,0 11.75,5.75t 5.75,11.25l 0.5,100.5q 0.5,10 -14,9.5l-38-37.5q-35.5,47 -89,74.25t-115,27.25q-52,0 -99.5-20.25\nt-81.75-54.5t-54.5-81.75t-20.25-99.5l 64,0 q0,52 25.75,96.25t 70,70t 96.25,25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"theme\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-332 l0-52 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,135.5 l0,248.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,88q0-23 -16.5-39.5t-39.5-16.5l-336,0 q-23,0 -39.5,16.5t-16.5,39.5l0,79 l 0.25,0.25l 0.75,0.75q-1,4.5 -1,8q0,20 14,34\nt 34,14q 48,0 48-49q-0.5-20 -14.5-33.5q-1.5-8 -1.5-13.5q0-10.5 15.25-21.25t 32.75-10.75q 18,0 33,10.25t 15,21.75q0,6.5 -1,13.5q-15,14 -15,34.5q0,20 14,34t 34,14q 15,0 27-8.25t 17.5-21.75q 19,5 34.5,24.5t 24.5,44.5q-10.5,6.5 -17,17.25t-6.5,23.75q0,20 14,34t 34,14t 34-14t 14-34\nq0-13 -6.25-23.75t-17.25-17.25q 12.5-30 37-50.5t 50.5-20.5l0-104 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"contact\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.5,22.75t-22.5,9.25zM 176,307l0-8.5 q 48-19 48-106.5q0-31.5 -22.25-47.75t-57.75-16.25t-57.75,16.25t-22.25,47.75q0,85 48,106l0,9 q-35,6 -57.25,22.5t-22.75,37.5q0,6 10.75,9.75\nt 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -23-37.5t-57-22.5zM 464,128l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 320,240q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25\nt-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 464,320l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"password2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,513l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,385l0-32 l0-96 l0-32 l0-64 q0-13 -9.25-22.5t-22.75-9.5l-352,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 l0,32 l0,96 l0,32 l0,32 q0,13 9.25,22.5\nt 22.75,9.5l 352,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 zM 432,417l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l 64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,257l 64,0 l0,96 l-64,0 l0-96 zM 384,177q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM 288,353l0-96 l 64,0 l0,96 l-64,0 zM 288,177\nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 7,0 11.5,4.75t 4.5,11.25l0,48 l-64,0 l0-48 zM 192,353l0-96 l 64,0 l0,96 l-64,0 zM 192,177q0-6.5 4.5-11.25t 11.5-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM 96,353l0-96 l 64,0 l0,96 l-64,0 zM 96,177q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 z\nM 160,401q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l 64,0 l0,16 zM 256,385l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-7,0 -11.5-4.75t-4.5-11.25l0-16 l 64,0 zM 352,385l0,16 q0,6.5 -4.5,11.25t-11.5,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l 64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"password\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 480,336q0-6.5 -4.75-11.25t-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 384,448\nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25t 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 288.25,448q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 192,448q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25t 22.75,9.25t 9.25,22.5\nt-9.25,22.75t-22.75,9.5zM 96,448q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25t 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 480,224l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 480,48q0-6.5 -4.75-11.25\nt-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 80,160q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"video2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l0-32 l-320,0 l0,32 l-96,0 l0-480 l 96,0 l0,32 l 320,0 l0-32 l 96,0 l0,480 l-96,0 zM 64,64l-32,0 l0,32 l 32,0 l0-32 zM 64,128l-32,0 l0,32 l 32,0 l0-32 zM 64,192l-32,0 l0,32 l 32,0 l0-32 zM 64,256l-32,0 l0,32 l 32,0 l0-32 zM 64,320l-32,0 l0,32 l 32,0 l0-32 zM 64,384l-32,0 l0,32 l 32,0 l0-32 zM 64,448l-32,0 l0,32 l 32,0 l0-32 zM 416,96l-320,0 l0,352 l 320,0 l0-352 z\nM 480,64l-32,0 l0,32 l 32,0 l0-32 zM 480,128l-32,0 l0,32 l 32,0 l0-32 zM 480,192l-32,0 l0,32 l 32,0 l0-32 zM 480,256l-32,0 l0,32 l 32,0 l0-32 zM 480,320l-32,0 l0,32 l 32,0 l0-32 zM 480,384l-32,0 l0,32 l 32,0 l0-32 zM 480,448l-32,0 l0,32 l 32,0 l0-32 zM 192,352l0-160 l 128,80z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wizard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502q-9.5,9.5 -22.5,10t-22-8.5l-321-321.5q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 321,321.5q 9,9 8.5,22t-10,22.5zM 472.5,127.5l-40-23l-39.5,23l 8.5-46.5l-33-32.5l 45-6l 19-43l 19.5,43l 45,6l-33,32.5zM 73.5,119l-64.5-65q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 64.5,65q 9,9 8.5,22\nt-10,22.5t-22.5,10t-22-8.5zM 61,234.5l 19.5-43l 19,43l 45,6l-33,32.5l 8.5,47l-39.5-23l-40,23l 8.5-47l-32.5-32.5zM 189,427l 19.5-43l 19,43l 45,5.5l-33,33l 8.5,46.5l-39.5-23l-39.5,23l 8.5-46.5l-33-33z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"socialnetworking\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512q-43.5,0 -80.5-17.25t-58.25-46.75t-21.25-64.25t 21.25-64.25t 58.25-46.5t 80.5-17q 18,0 36.5,3.5q 10.5-17 25.25-34t 24.75-25l 9.5-8.5l0,89.5 q 29.5,18 46.75,44.75t 17.25,57.75q0,34.5 -21.5,64t-58.25,46.75t-80.25,17.25zM 336,224q-66.5,0 -107,26t-57.5,69.5q-22-2 -44-9\nq-10.5,18.5 -26.5,37t-26.5,27.5l-10.5,9l0-104.5 q-30-22.5 -47-53.5t-17-66q0-43.5 25.75-80.25t 70-58.25t 96.5-21.5t 96.5,21.5t 69.75,58.25t 25.5,80.25q0,34 -16,64.5q-15-0.5 -32-0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resellerhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 160,0 l0-19 q-42-8 -69-34t-27-59l0,0 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5t 8.75,24t 23.25,17.5l0-92.5 q-42-8 -69-34t-27-59t 27-59t 69-34l0-3 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,3 q 42,8 69,34t 27,59l0,0 \nl0,0 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.5t-9.25-22.5t-8.75-24t-23.25-17.5l0,92.5 q 42,8 69,34t 27,59t-27,59t-69,34l0,19 l 160,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 224,86.5q-14.5,6.5 -23.25,17.5t-8.75,24t 8.75,24t 23.25,17.5l0-83 zM 95.75,416\nq-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 320,272q0-13 -8.75-24t-23.25-17.5l0,83 q 14.5-6.5 23.25-17.5t 8.75-24zM 416,416l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"greenhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 162,225q 27.5,15.5 78,38.25t 93.25,44t 70.25,41.25q 79.5,58.5 108.5,99.5l-64,64q-32-64 -69-108q-93,76.5 -197,19q-38.5-21 -67.5-45.75t-48.25-47t-32.25-56t-19.75-57.25t-10-67.25t-3.75-69.75t-0.5-80q 23,25.5 54.5,40.5t 64,20.25t 67.75,8t 69.5,8t 65.75,16t 60,36.25\nt 49,64.5q 17.5,34.5 17.5,78.5q0,28.5 -9.5,54q-40-24 -105.25-56t-120.5-60t-84.75-50q-27-20 -54-55.5q-7.5-9.5 -9-6q-1,3.5 -1,29.5q0,15.5 25.5,39.5t 72.5,57.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"managedhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 95.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 416,416l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.75\nt 9.25,22.5t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 400,224l-20,0 q-4.5,17.5 -14.5,34l 9.5,9.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-9.5-10q-16.5,10 -34,14.5l0,20.5 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-20.5 q-17.5-4.5 -34-14.5l-10,10\nq-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 10-10q-10-16 -14.5-33.5l-20,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 20,0 q 4.5-17.5 14.5-34l-10-10q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 10,10.5q 16.5-10 34-14.5l0-20.5 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,20.5 q 17.5,4.5 33.5,14l 10-10\nq 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75l-10,9.5q 10.5,17 15,34.5l 20,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 256,128q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sharedhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 160,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 160,0 l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25\nt 9.5,22.75l0,32 l 160,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-160,0 l0,64 l 160,0 zM 95.75,384q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 95.75,128q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25\nt 9.5-22.5t-9.5-22.75t-22.75-9.5zM 416,192q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 192,0 zM 224,384q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cms\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l0-64 q0-7 -4.75-11.5t-11.25-4.5l-47,0 q-4.5-8.5 -10-16.5l 23-40q 3-5.5 1.5-12t-7.5-10l-82-48q-6-3 -12.25-1.25t-9.75,7.25l-23,41q-1,0 -4-0.25t-4.75-0.25t-5,0.25t-4.25,0.25l-23-41q-3.5-5.5 -9.75-7.25t-12.25,1.25l-82,48q-6,3.5 -7.5,10t 1.5,12l 23,40q-5.5,8 -9.5,16.5l-47.5,0 \nq-6.5,0 -11.25,4.5t-4.75,11.5l0,64 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 240,0 l 23-42.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25l 24.5,42.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 23,21.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.25l 24,42.5l-240,0 \nzM 112,336l 54,0 q 6-17.5 19-32l-23-41.5q-3.5-5.5 -1.75-11.75t 7.25-9.75l 26-15.5q 5.5-3 11.5-1.25t 9,7.25l 24,42q 10-1.5 18-1.5q 8.5,0 18,1.5l 24-42q 3-5.5 9-7.25t 11.5,1.25l 26.5,15.5q 5,3.5 6.75,9.75t-1.25,11.75l-23.5,41.5q 13,14.5 19,32l 54,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,32 q0,6.5 -4.75,11.25t-11.25,4.75\nl-54,0 q-6,17 -19,31.5l 23.5,41.5q 3,6 1.25,12t-6.75,9.5l-26.5,15.5q-5.5,3 -11.5,1.5t-9-7.5l-24-42q-9.5,2 -17.75,2t-18.25-2l-24,42q-3,6 -9,7.5t-11.5-1.5l-26-15.5q-5.5-3.5 -7.25-9.5t 1.75-12l 23-41.5q-13-14.5 -19-31.5l-54,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-7 4.75-11.5t 11.25-4.5zM 256.25,400\nq 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shoppingcart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 484.5,64l-38,0 l-61,297.5q-2.5,9.5 -10.75,16t-17.25,6.5l-273.5,0 q-9.5,0 -17.75-6.5t-10.75-16l-49-188.5q-5-18 1.5-31.5t 20-13.5l 354.5-61.5l 9-44.5q 2.5-9 10.75-15.5t 17.25-6.5l 65,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 148.5,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34\nt 34-14zM 308.5,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"websitebuilder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,128q-1.5,52 -38.75,90t-89.25,38q-14.5,0 -30-4q 4,15.5 16.75,25.75t 29.25,10.25l 48,48l 41,42.5q 23,23 23,55.25t-23,55t-55.25,22.75t-55.25-22.5l-42.5-41l-48-48q0-20 -14-34t-34-14l-3.5-3.5l0-0.5 l-123.5,159.5q-5,4.5 -43.25,4.5t-42.75-4.5l-22.5-22q-4.5-5 -4.5-43.25t 4.5-43.25\nl 210-162.5l-108-108.5l-58.5,0 l-48-96l 32-32l 96,48l0,58 l 111,111.5l 33-25.5q0-0.5 0.5-0.5l 0.5,0 q-17-30 -17-63.5q0-52 37.75-89.5t 90.25-38.5l0,0 l0,19 l-41,39q-23,23 -23,55.25t 23,55.25t 55.5,23t 55.5-23l 38.5-40.5l 19.5,0 l0,0 zM 64,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5\nt 9.25-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webpage\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,272q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-160 zM 480,160l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,96 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,512l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"price\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,340.5l-162.5,162.5q-9,9 -22.25,9t-22.25-9l-287-287q-9-9 -9-39.5l0-144 q0-13.5 9.5-22.75t 22.5-9.25l 144,0 q 31,0 40,9l 287,286.5q 9,9.5 9,22.5t-9,22zM 128,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webhostinghub\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,416q-21,0 -41-9.5q-52.5,41.5 -119,41.5q-19.5,0 -39-4q-37.5,36 -89,36q-53,0 -90.5-37.5t-37.5-90.5q0-35 17.5-64.75t 47.5-46.25q 3.5-49 29.75-89.5t 69-64t 92.25-23.5q 72,0 126,47.5t 64,117.5q 29,10 47.5,34.75t 18.5,56.25q0,40 -28,68t-68,28zM 256,96q-58.5,0 -102.75,37.5\nt-54.75,94q 15-3.5 29.5-3.5q 53,0 90.5,37.5t 37.5,90.5q0,33.5 -16.5,63q 8.5,1 16.5,1q 50.5,0 91.5-29q-27.5-28 -27.5-67t 27-66.75t 66-28.75q-11.5-55.5 -55.5-92t-101.5-36.5zM 272,224q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uni0430\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,483l-23.5,24q-5,4.5 -12,4.5t-12-4.5l-75.5-76q-30,17 -64,17q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,34 -17,63.5l 76,76q 5,5 5,11.75t-5,11.75zM 320.25,224q-39.75,0 -68,28t-28.25,67.75t 28.25,68t 68,28.25t 67.75-28.25t 28-68\nt-28-67.75t-67.75-28zM 352,163l0-3 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 23,9.25t 9.5,22.75l0,160 l-0.5,0 q0-57.5 -36.25-101.75t-91.75-55.25zM 192,224l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q-38.5,0 -72,17.25t-56,46.75zM 192,415.5q 22.5,30 56,47.25t 72,17.25\nl 32,0 q0,13 -9.25,22.5t-22.75,9.5l-288,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25l0-416.5 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 l0,0.5 l0,128 l 32,0 l0-32.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"barchart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,479.75q0,13.25 -9.5,22.75t-22.5,9.5l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 l 32,0 l0-416 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,416 l 32,0 l0-288 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 \nq 13.5,0 22.75,9.25t 9.25,22.75l0,288 q 13.5,0 22.75,9.25t 9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"security2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-42-21 -76-44.5t-59.5-45t-44.75-51t-32-51.25t-21.25-57.25t-13-58.25t-6.75-65.25t-2.5-66.5t-0.25-73q0,13 37.5,22.5t 90.5,9.5t 90.5-9.5t 37.5-22.5q0,13 37.5,22.5t 90.5,9.5t 90.5-9.5t 37.5-22.5q0,49 -0.25,73t-2.5,66.5t-6.75,65.25t-13,58.25t-21.25,57.25t-32,51.25t-44.75,51\nt-59.5,45t-76,44.5zM 256,64l0,0 q0,13 -28.25,22.5t-67.75,9.5q-27,0 -53.5-4.5t-42.5-12q0,39.5 1,63.5t 4.75,57.25t 11.25,54.75t 21.5,48.5t 34.25,47t 50.25,41.5t 69,40l0-368 l0,0 zM 256,0l0,0 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"security\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-38-19 -69.25-38t-55.75-40.25t-43.25-39t-32.5-43t-23.25-43t-15.5-48.5t-9.5-49.5t-5-55.75t-1.75-58t-0.25-65q 122-32 256-32q 133.5,0 256,32q0,44 -0.25,65.25t-1.75,58t-5,55.75t-9.5,49.5t-15.5,48.25t-23.25,43t-32.5,43t-43.25,39t-55.75,40.25t-69.25,38zM 64,87\nq0,44.5 0.5,65.75t 4,56.25t 10.75,53.5t 20.75,45t 34,44.75t 51,39.25t 71,40.5q 40.5-19.5 71-40.5t 51-39.25t 34-44.75t 20.75-45t 10.75-53.5t 4-56.25t 0.5-65.75q-91.5-23 -192-23t-192,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ram\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,208q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-48 zM 288,208q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 l0,80 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 l0,80 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 224,224l 32,0 l0,32 l-32,0 l0-32 zM 96,224l 32,0 l0,32 l-32,0 l0-32 zM 416,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 352,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 288,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75\nt 4.75,11.25l0,80 l-32,0 l0-80 zM 224,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 160,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 96,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 128,496q0,6.5 -4.75,11.25t-11.25,4.75\nt-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 192,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 256,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 320,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 384,496\nq0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 448,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"home2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,277.75q-9.75,9.75 -23.5,9.75t-23.25-9.5l-7.5-7.5l0,209.5 q0,13 -9.25,22.5t-22.75,9.5l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-209.5 l-7.5,7.5q-9.5,9.5 -23.25,9.5t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-222q 8-8 19.25-9.25t 20.75,4.75q 4,0 9,4.5l 222,222q 9.5,9.5 9.5,23.25t-9.75,23.5z\nM 384,206.5l-128-128l-128,128l0,241.5 l 256,0 l0-241.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hdd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,368q0-16 -9.5-28.5t-24.5-17q 34-43.5 34-98.5q0-43.5 -21.5-80.25t-58.25-58.25t-80.25-21.5t-80.25,21.5t-58.25,58.25t-21.5,80.25\nq0,55 34,98.5q-15,4.5 -24.5,17t-9.5,28.5l0,32 q0,20 14,34t 34,14l 224,0 q 20,0 34-14t 14-34l0-32 zM 256,288q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ftp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-160,0 l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13 9.5-22.5t 22.5-9.5l 240,0 l 23-42q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.75l 24.5,42l0,224 \nq0,26.5 -18.75,45.25t-45.25,18.75zM 221,237l-67.5-72.5q-4-4.5 -9.5-4.5t-9.5,4.5l-67.5,72.5q-4,4.5 -2.5,11.75t 5.5,7.25l 26,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 26,0 q 4,0 5.5-7.25t-2.5-11.75zM 442,224l-26,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25l0,48 l-26,0 q-4,0 -5.5,7.25t 2.5,11.75l 67.5,72.5q 4,4.5 9.5,4.5t 9.5-4.5l 67.5-72.5q 4-4.5 2.5-11.75t-5.5-7.25zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"email\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,288.5l-224.5-224.5l 0.5,0 l 448,0 l 0.5,0 zM 3.5,430.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,314.5q 3,2.5 7.75,4t 8.25,1.5l 3.5,0 q 13,0.5 19.5-5.5l 35.5-36l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5zM 508.5,81.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5l-175-174.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"servers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,416.25q0,13.25 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75zM 480,48q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,144q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,240q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,512l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 32,416.25q0,13.25 9.25,22.5t 22.75,9.25\nt 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75zM 192,48q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,144q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,240q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"server\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-256,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 256.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 384,48q0-6.5 -4.75-11.25t-11.25-4.75\nl-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,144q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,240q0-6.5 -4.75-11.25t-11.25-4.75\nl-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vps\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,192l-160,0 l0,64 l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 192,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 96,64q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 416,64l-192,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 256,384q 52,0 96.25,8.5t 70,23.25t 25.75,32.25t-25.75,32.25\nt-70,23.25t-96.25,8.5t-96.25-8.5t-70-23.25t-25.75-32.25t 25.75-32.25t 70-23.25t 96.25-8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"colocation3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 q0,13.5 9.25,22.75t 22.75,9.25l0-32 q0-13 9.25-22.5t 22.5-9.5\nt 22.75,9.5t 9.5,22.5l0,32 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 zM 448,256q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 q0,13.5 9.25,22.75t 22.75,9.25l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 zM 448,384q0-13 -9.5-22.5t-22.5-9.5l-320,0 \nq-13.5,0 -22.75,9.25t-9.25,22.75l0,32 q0,13.5 9.25,22.75t 22.75,9.25l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 zM 400,416l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,288\nl-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,160l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"colocation2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75\nl0-320 zM 384,416l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 159.75,320q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 368,352l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,224l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 159.75,128q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25\nt 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 368,160l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"link\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 494.5,410l-84.5,84.5q-17,17.5 -41.75,17.5t-42.25-17.5l-84.5-84.5q-16-16 -17-38.75t 13-40.25l 107,107.5q 10,9.5 23.75,9.5t 23.25-9.5l 47-47q 9.5-9.5 9.5-23.25t-9.5-23.75l-107.5-107q 17.5-14 40.25-13t 38.75,17l 84.5,84.5q 17.5,17.5 17.5,42.25t-17.5,41.75zM 170.5,170.5q 9.5-9.5 22.5-10t 22,8.5l 128.5,129\nq 9,8.5 8.5,21.75t-10,22.75t-22.5,9.75t-22-8.25l-128.5-129q-9-9 -8.5-22t 10-22.5zM 167.5,74q-9.5-10 -23.25-10t-23.75,10l-46.5,46.5q-10,10 -10,23.75t 10,23.25l 107,107q-17.5,14 -40.25,13t-38.75-17l-84.5-84.5q-17.5-17.5 -17.5-42.25t 17.5-42.25l 84.5-84q 17-17.5 41.75-17.5t 42.25,17.5l 84.5,84\nq 16,16.5 17,39.25t-13,40.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firewall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 478.5,461.5q-19,19 -42,34.75t-36.5,15.75q 18-28.5 19-70.75t-19-57.25q-16-10.5 -26.75-28t-14.75-35.25t-5.75-33.75t-1.25-26l 0.5-10.5q-3,4 -8.5,10.25t-19.25,25t-24.25,36t-19.25,39.25t-8.75,39q0,37 11.25,61.5t 36.75,50.5q-23.5,0 -49.25-9.5t-43.25-28q-10.5-11 -22.5-45t-13-61.5\nq-1.5-33.5 11.25-74.75t 36.75-78.25q 18-26.5 42.5-52t 47-42.5t 42.5-30.5t 32-19.5l 12-6.5q-1.5,2 -3.5,6.25t-6.5,17.25t-6.75,26.5t-1.75,33.5t 6,39.25t 19.25,42.5t 34.75,44.75q 25,25 39.75,54.75t 14.75,57.25q0,17 -8.25,37.75t-25.25,37.75zM 256,96l0-64 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 10.5,0 19.5,7\nq-81.5,46 -158.5,119q-9.5-3.5 -15.25-11.75t-5.75-18.25zM 165,305.5q-5-8 -5-17.5l0-96 q0-13 9.5-22.5t 22.5-9.5l 51,0 q-19.5,20.5 -35,39q-30.5,37 -43,106.5zM 192,128l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\nM 32,160l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,96 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-13 9.5-22.5t 22.5-9.5zM 32,352l 128,0 q-0.5,11.5 0,20q 1,28 13.25,68t 22.25,50.5q 6.5,7 15.5,15q-8.5,6.5 -19,6.5l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-13 9.5-22.5t 22.5-9.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"amd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,507.5l-123.5-123.5l0-240 q0-6.5 -4.75-11.25t-11.25-4.75l-240,0 l-123.5-123.5q 5-4.5 11.5-4.5l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.5,11.5zM 128,368q0,6.5 4.75,11.25t 11.25,4.75l 208,0 l-128,128l-208,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-208 l 128-128l0,208 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"intel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,418l0-83 q 30-24.5 47-57.5t 17-69.5q0-62.5 -45.5-112.25t-114.5-63.75l0-32 q 62.5,7 113.75,38.25t 80.75,80.5t 29.5,105.25q0,61 -34.75,112.5t-93.25,81.5zM 240,384q-20,0 -34-14t-14-34l0-192 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,224 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 240,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 32,240q0,56.5 27.75,104.5t 75.75,75.75t 104.5,27.75q 60.5,0 112-33l0,78 q-46.5,19 -96,19q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5\nq0-71 36.25-130.75t 96.25-93.25l 27.5,0 l0,32 q-59.5,24.5 -93.75,69t-34.25,107z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"affiliate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,239q0,6 -10.75,9.75t-31.5,5.25t-34.25,1.75t-35.5,0.25t-35.5-0.25t-34.25-1.75t-31.5-5.25t-10.75-9.75q 0.5-21 23-37.5t 57-22.5l0-10 q-48-21 -48-105q0-31.5 22.5-47.75t 57.75-16.25t 57.5,16.25t 22.25,47.75q0,86.5 -48,105.5l0,9.5 q 35,6 57.25,22.5t 22.75,37.5zM 112,256q-22,0 -35.5-0.25\nt-34.25-1.75t-31.5-5.25t-10.75-9.75q 0.5-21 22.75-37.5t 57.25-22.5l0-10 q-48-21 -48-105q0-31.5 22.25-47.75t 57.5-16.25t 57.75,16.25t 22.5,47.75q0,86.5 -48,105.5l0,9.5 q 34.5,6 57,22.5t 23,37.5q0,6 -10.75,9.75t-31.5,5.25t-34.25,1.75t-35.5,0.25zM 95.75,288q 13.25,0 22.75,9.25t 9.5,22.75l0,112 \nq0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-13.5 9.25-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domain3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 429,385.5q 15.5-47 19.5-97l 63.5,0 q-6.5,51 -33,97l-50,0 zM 429,127l 50,0 q 26.5,46 33,97l-63.5,0 q-4-50 -19.5-97zM 375,27.5q 27.5,14.5 51,35l-26,0 q-12-20 -25-35zM 288.5,224l0-97 l 79,0 q 13.5,45.5 16.5,97l-95.5,0 zM 288.5,6.5q 29.5,15 52.5,56l-52.5,0 l0-56 zM 144.5,385.5q-13.5-45.5 -16.5-97l 95.5,0 l0,97 l-79,0 z\nM 144.5,127l 79,0 l0,97 l-95.5,0 q 3-51.5 16.5-97zM 223.5,6.5l0,56 l-52.5,0 q 23-41 52.5-56zM 86,62.5q 23.5-20.5 51-35q-13,15 -25,35l-26,0 zM0,224q 6.5-51 33-97l 50,0 q-15.5,47 -19.5,97l-63.5,0 zM 83,385.5l-50,0 q-26.5-46 -33-97l 63.5,0 q 4,50 19.5,97zM 112,450q 12,20 25,35q-27.5-14.5 -51-35l 26,0 z\nM 223.5,450l0,56 q-29.5-15.5 -52.5-56l 52.5,0 zM 288.5,288.5l 95.5,0 q-3,51.5 -16.5,97l-79,0 l0-97 zM 341,450q-23,40.5 -52.5,56l0-56 l 52.5,0 zM 426,450q-23,20.5 -51,35q 13-15 25-35l 26,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domain2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 440.5,161q-5-1 -7.5-1q-18.5,0 -32,12.5q-30.5-13.5 -57-22q-43.5-14 -91-23q-4.5-12 -13.5-20q 12.5-59 33.5-107q 63,4.5 115.75,36.5t 85.25,84q-18.5,20 -33.5,40zM 208.5,96q-13,0 -24.5,7q-40.5-30 -81.5-51q 62-47 139-51.5q-19.5,43.5 -31.5,95.5l-1,0 l-0.5,0 zM 35,127q 17-28.5 43-54q 34,17.5 70.5,43\nq-64.5-1.5 -113.5,11zM 160.5,147q 1,15.5 10.75,27.25t 24.25,15.75q-3,35 -3,66.5q0,22 1.5,50.5q-11,3.5 -19.5,12q-27-10.5 -52-24q 5.5-11 5.5-22.5q0-20 -14-34t-34-14q-22,0 -36.5,17q-21-19 -37.5-39.5q 4.5-21.5 13.5-42.5q 61-17 141-12.5zM 32.5,276.5q 1.5,18.5 15.25,31.25t 32.25,12.75q 5.5,0 12-2\nq 32,18.5 68.5,32l0,1 l0,1 q0,19.5 13.25,33.25t 32.75,14.75q 12.5,61 35,111.5q-50-3 -94.5-24.25t-76.75-55.25t-51.25-80t-19-96q0-0.5 0.5-13.5q 14,17.5 32,33.5zM 250.5,375q 36,6.5 72.5,8.5q 3.5,10 11,18.5q-11.5,52.5 -14,102q-25.5,6.5 -47,8q-23.5-53.5 -36.5-121q 9-6 14-16zM 405.5,399\nq 6.5-8 9-17q 36.5-3 70.5-9.5q-24,47 -66,81.5q-4.5-26 -13.5-55zM 324,351.5q-35-2 -69-9q-5.5-25 -28.5-34.5q-2-29.5 -2-51.5q0-33 3-68.5q 1,0 2.5-1t 2-1q 19.5,19 34,35q 43.5,48 74,109q-11,8.5 -16,21.5zM 368.5,416.5q 1,0 5.5-0.5q 8.5,30.5 12.5,60.5q-14.5,8.5 -35,17q 3.5-39 12-77.5q 4,0.5 5,0.5z\nM 366,297q-0.5,1 -1.25,3t-1.25,3q-31.5-57 -74-103.5q-15.5-17.5 -37-38q 0.5,0 0.75-0.75l 0.25-0.75q 42,8.5 80.5,21q 23.5,7.5 51.5,20q-1,5 -1,7.5q0,15 9,27.5q-16.5,31.5 -27.5,61zM 389.5,326q 6-17.5 6-18q 10-25 25-53.5q 6.5,2 12.5,2q 17,0 30.5-11.5q 24.5,17 48,38q-3,28.5 -12,55\nq-41,8.5 -86.5,12q-6.5-16 -23.5-24zM 481,208q0-16.5 -11-30q 10.5-13.5 21-24.5q 18,41 21,84.5q-16.5-12.5 -32-22.5q 1-4.5 1-7.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 438,201q 0.5,1 1.75,3.25t 1.75,3.75q0-0.5 -0.75-3.75t-1.25-5.25zM 245.5,64.5\nq 0.5,0 0.75,0.25t 0.75,0.25l0,19 l-13,0 q-8-1.5 -11.5-2q 1-2.5 2.75-7.75t 2.75-7.75q-66.5,9.5 -112.5,59l 7,0 l 12,10.5l 12,10.5l0,11 q-11,4.5 -32.5,13.5t-31.5,13q-1.5,11.5 -5,34.75t-5.5,34.75q 29,31.5 29.5,32q-1.5,1 -4.5,2.75t-3.5,2.25l-26,0 q 12,68 65.25,112.75t 123.25,44.75q 32.5,0 64.5-11.5q-25.5-1.5 -70-4\nq-7-10.5 -21.25-32t-21.25-32q 5.5-10.5 16.5-31.75t 16.5-32.25q 0.5,0 1.75-1.5t 2.25-2.5q 27-24 42.5-37.5q 11,2 44.5-3.75t 44.5-3.75q 2,0.5 2,9.25t 1.75,17t 7.75,7.75q 35.5-3.5 56.5,2.5q 3.5-18.5 3.5-36q0-15 -3-32q-35.5-30.5 -53.5-46l-18.5,0 q-0.5,4 -2,11.5q 20,14 35.5,24.5l-12.25,12.25l-12.25,12.25q-4-7 -15.5-25.75t-17.5-28.75\nq-3.5,1 -10.5,2.75t-10,2.75q-1.5,1 -4.75,3t-4.75,2.5q 1,6 3,17.25t 2.5,14.75q-2,3 -6.25,8t-4.75,5.5q-16.5-7.5 -53.5-24.5l-2-6l0-16.5 q 7-2 20.5-5.75t 20.5-5.75q-1-1.5 -20.5-43.5q 4-6 7.5-11q 2-0.5 27-2.5t 37.5-3.5l0-24.5 q 6-1.5 7.5-2q 0.5,3 1,8.75t 1,8.25q 14.5-0.5 21.5-1q-16-14 -33.5-23.5q-16,1.5 -19.5,2l-2-2\nq 1.5-5 2.5-9q-24-10 -50.5-13q 1.5,7 4.75,19.75t 4.25,17.75q-8.5,3 -11,3.5q 2.5,1.5 3.5,2q-0.5,0 -6.75,0.75t-9.75,1.25q 1.5-9 4.75-26.25t 3.75-19.25q-10-1 -16-1q-1.5,0 -10.5,0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"linux\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-176,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 112,0 q 13,0 22.5-9.5t 9.5-22.5l0-256 q0-13.5 -9.5-22.75t-22.5-9.25l-256,0 q-13,0 -22.5,9.25t-9.5,22.75l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-80 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 \nq 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 16,192l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,176 q0,13 9.5,22.5t 22.5,9.5l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-144,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-240 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"windows\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,512l0-224 l 224,0 l0,224 l-224,0 zM 288,0l 224,0 l0,224 l-224,0 l0-224 zM0,288l 224,0 l0,224 l-224,0 l0-224 zM0,0l 224,0 l0,224 l-224,0 l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"value\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,320q-77,0 -137-13.5t-79-34q 68,15.5 152,15.5q 61.5,0 116.75-8.5t 89.25-23.5t 34-32l0-32 l 16,0 q 14.5,3 23.25,12.25t 8.75,19.75l0,32 q0,17.5 -30,32.25t-81.5,23.25t-112.5,8.5zM 256,192q-48.5,0 -89-5.25t-64.5-12.5t-40.75-15.5t-23.25-14.25t-6.5-8.5l0-19.5 q 25.5,19 88,31.25t 136,12.25t 136-12.25\nt 88-31.25l0,11.5 q0,17 -30,31.75t-81.5,23.5t-112.5,8.75zM 256,128q-61,0 -112.5-8.75t-81.5-23.5t-30-32t 30-32t 81.5-23.25t 112.5-8.5t 112.5,8.5t 81.5,23.25t 30,32t-30,32t-81.5,23.5t-112.5,8.75zM 16,160q0,17 34,32t 89.25,23.5t 116.75,8.5q 56,0 107-7.25t 85-19.75q-0.5,1 -1.75,3.25\nt-7.75,8.25t-15.75,11.5t-27,12.5t-40,11.75t-56.75,8.25t-75,3.5q-61,0 -112.5-8.75t-81.5-23.5t-30-31.75l0-32 q0-12 16-23.5l0,23.5 zM 16,328.5l0,23.5 q0,17 34,32t 89.25,23.5t 116.75,8.5q 55,0 105.75-7t 85.25-19.5q-7.5,25 -71.5,41.75t-151.5,16.75q-61,0 -112.5-8.5t-81.5-23.25t-30-32.25l0-32 \nq0-12 16-23.5zM 288,352q 55.5,0 106.25-7.25t 84.75-19.75q-7,25 -71,42t-152,17q-61,0 -112.5-8.5t-81.5-23.25t-30-32.25l0-32 q0-11 14.5-22.5q 7.5,2.5 13,4q-9.5,9.5 -9.5,18.5q0,17 33.5,32t 88.5,23.5t 116,8.5zM 464,416l0-23.5 q 16,11.5 16,23.5l0,32 q0,17.5 -30,32.25t-81.5,23.25t-112.5,8.5\nq-88,0 -152-17t-71-42q 34,12.5 84.75,19.75t 106.25,7.25q 61.5,0 116.75-8.5t 89.25-23.5t 34-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uptime\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 391,222.5q-6,3 -12.5,0t-9.25-9.75t0-13.75t 9.25-9.5l 47.5-21.5\nq-28.5-54.5 -82-82.5l-21.5,48q-2.5,6.5 -9.5,9.25t-13.75,0t-9.75-9.25t0-13l 21.5-48.5q-27-8 -55-8t-55,8l 21.5,48.5q 3,6.5 0,13t-9.75,9.25t-13.75,0t-9.5-9.25l-21.5-48q-53.5,27.5 -82,82.5l 47.5,21q 6,3 8.75,9.75t0,13.75t-9,9.75t-12.75-0.25l-48.5-21q-8,27 -8,55t 8,55\nl 48.5-21q 6.5-3 12.75-0.25t 9,9.75t0,13.75t-8.75,9.75l-47.5,21q 28.5,54.5 82,82.5l 21-48q 3-6 9.75-8.75t 13.75,0t 9.75,9t-0.25,12.75l-21,48.5q 27,8 55,8t 55-8l-21-48.5q-3-6.5 -0.25-12.75t 9.75-9t 13.75,0t 9.75,8.75l 21,48q 54-28 82-82.5l-47.5-21.5q-6.5-2.5 -9.25-9.5t0-13.75\nt 9.25-9.75t 12.5,0l 49,21.5q 8-27 8-55t-8-55zM 256,288q-13.5,0 -22.75-9.25t-9.25-22.75q0-10.5 6.25-19t 16.25-11.5l 121.5-97.5l 8,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,8 l-97.5,121.5q-3,10 -11.5,16.25t-19,6.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"reliability\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 192,512l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 17.5,0 27,15l-115,115.5l-27-27q-7.5-8 -18.5-8t-18.75,7.75t-7.75,18.75t 7.5,19l 43,43\nq 8.5,8.5 21.5,7q 13,1.5 21.5-7l 98.5-98.5l0,106.5 q0,13.5 -9.5,22.75t-22.5,9.25zM 192,224l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 17.5,0 27,15l-115,115.5l-27-27q-7.5-8 -18.5-8t-18.75,7.75t-7.75,18.75t 7.5,19l 43,43q 8.5,8.5 21.5,7q 13,1.5 21.5-7l 98.5-98.5\nl0,106.5 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,384l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"support3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,52.5 -21,101q 21,26.5 21,59q0,40 -28,68t-68,28q-32.5,0 -59-21q-48.5,21 -101,21t-101-21q-26.5,21 -59,21q-40,0 -68-28t-28-68q0-32.5 21-59q-21-48.5 -21-101t 21-101q-21-26.5 -21-59q0-39.5 28.25-67.75t 67.75-28.25q 32.5,0 59,21q 48.5-21 101-21\nt 101,21q 26.5-21 59-21q 40,0 68,28.25t 28,67.75q0,32.5 -21,59q 21,48.5 21,101zM 96,480q 13.5,0 26.5-6q-52.5-32 -84.5-84.5q-6,13 -6,26.5q0,26.5 18.75,45.25t 45.25,18.75zM 96,32q-26.5,0 -45.25,18.75t-18.75,45.25q0,13.5 6,26.5q 32-52.5 84.5-84.5q-13-6 -26.5-6zM 145.5,192l-49.5,0 l0,0 \nl-54.5,0 q-9.5,31.5 -9.5,64t 9.5,64l 104,0 q-17.5-30 -17.5-64t 17.5-64zM 416,480q 26.5,0 45.25-18.75t 18.75-45.25q0-13.5 -6-26.5q-32,52.5 -84.5,84.5q 13,6 26.5,6zM 366.5,320l 104,0 q 9.5-31.5 9.5-64t-9.5-64l-54.5,0 l0,0 l-49.5,0 q 17.5,30 17.5,64t-17.5,64zM 192,416l0,0 l0,54.5 q 31.5,9.5 64,9.5t 64-9.5l0-104 \nq-30,17.5 -64,17.5t-64-17.5l0,49.5 zM 160,256q0,40 28.25,68t 68,28t 67.75-28t 28-68t-28-68t-67.75-28t-68,28t-28.25,68zM 320,41.5q-31.5-9.5 -64-9.5t-64,9.5l0,54.5 l0,0 l0,49.5 q 30-17.5 64-17.5t 64,17.5l0-104 zM 480,96q0-26.5 -18.75-45.25t-45.25-18.75q-13.5,0 -26.5,6q 52.5,32 84.5,84.5\nq 6-13 6-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF014\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 192,470.5q 31.5,9.5 64,9.5t 64-9.5l0-104 q-29.5,17.5 -63.75,17.5t-64.25-17.5l0,104 zM 145.5,192l-104,0 q-9.5,31.5 -9.5,64\nt 9.5,64l 104,0 q-17.5-30 -17.5-64t 17.5-64zM 320,41.5q-31.5-9.5 -64-9.5t-64,9.5l0,104 q 30-17.5 64-17.5t 64,17.5l0-104 zM 256,160q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28-68t-68-28zM 366.5,192q 17.5,30 17.5,64t-17.5,64l 104,0 q 9.5-31.5 9.5-64t-9.5-64l-104,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF013\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-33,0 -67-8q-17,20 -34.75,34.75t-30,21.75t-23.75,10.75t-15,4.25t-5.5,0.5l0,0 q 13-28.5 15-62.25t-7-56.75q-41-31.5 -64.5-75.5t-23.5-93.5q0-45.5 20.25-87t 54.5-71.5t 81.75-47.75t 99.5-17.75t 99.5,17.75t 81.75,47.75t 54.5,71.5t 20.25,87t-20.25,87t-54.5,71.5t-81.75,47.75\nt-99.5,17.75zM 224,368q0,6.5 4.5,11.25t 11.5,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 zM 256,64q-42.5,0 -76,18.75t-46,48.25l 58,29q0-13.5 18.75-22.75t 45.25-9.25t 45.25,9.25t 18.75,22.5t-18.75,22.75t-45.25,9.5q-13.5,0 -22.75,9.25\nt-9.25,22.75l0,48 q0,6.5 4.5,11.25t 11.5,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-19.5 q 41.5-8 68.75-33.75t 27.25-58.75q0-40 -37.5-68t-90.5-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF012\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,80q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 z\nM 416,304q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 255.75,416q-13.25,0 -22.5-9.5t-9.25-22.5t 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5t-9.5,22.5t-22.75,9.5zM 255.75,192q-13.25,0 -22.5-9.25t-9.25-22.75\nt 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF011\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 195.5,384l 28.5,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 28.5,0 q 3.5-4 3.5-9.5t-3.5-9.5l-52-41.5q-3.5-4 -8.75-4t-8.75,4l-51.5,41.5\nq-4,3.5 -4,9.25t 4,9.75zM 320,32l-128,0 l0,128 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-128 zM 448,336q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,15.5 9,27.75t 23,17.25l0,35 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-35 q 14-5 23-17.25t 9-27.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF010\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 28,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 152,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 28,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 403,189q-9.5,5.5 -20,2.5t-16-12.5l-75.5-139\nq-5.5-9.5 -2.75-20.25t 12.25-16.25t 20-2.5t 16,12.5l 75.5,139q 5.5,9.5 2.75,20.25t-12.25,16.25zM 145,179q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 75.5-139q 5.5-9.5 16-12.5t 20,2.5t 12.25,16.25t-2.75,20.25zM 448,480q-4,20 -14.75,26t-32.75,6l-287,0 q-22.5,0 -34-6t-15.5-26l-32-192l 448,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00F\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 446,225.5q 2.5,15.5 2.5,30.5t-2.5,30.5l 64.5,62q 2.5,2.5 1.75,7.75t-4.25,10.75l-34.5,53.5q-3.5,5.5 -8.5,8.75t-8,2.75l-82.5-24.5q-23,17.5 -49,27.5l-19.5,69q-1,3 -6.5,5.5t-12.5,2.5l-68.5,0 q-7,0 -12.25-2.5t-6.25-5.5l-18-71q-22-9.5 -43.5-26l-82,25q-3.5,0.5 -8.5-2.75t-8.5-8.75l-34.5-53.5\nq-3.5-5.5 -4.25-10.75t 1.75-7.75l 64.5-62q-2.5-15.5 -2.5-30.5t 2.5-30.5l-64.5-62q-2.5-2.5 -1.75-7.75t 4.25-10.75l 34.5-53.5q 3.5-5.5 8.5-8.75t 8.5-2.75l 82,25q 22.5-18 49-28l 19.5-69q 1-3 6.5-5.5t 12.5-2.5l 68.5,0 q 7,0 12.5,2.5t 6,5.5l 18,71q 22.5,9.5 43.5,26l 82.5-25q 3.5-0.5 8.25,2.75t 8.25,8.75l 34.5,53.5q 3.5,5.5 4.25,10.75\nt-1.75,7.75zM 256.5,160q-40,0 -68,28.25t-28,68t 28,67.75t 68,28t 68-28t 28-67.75t-28-68t-68-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00E\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0-32 l-320,0 l0,32 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 l 32,0 l0-320 l-32,0 l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 l0,32 l 320,0 l0-32 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 l-32,0 l0,320 l 32,0 zM 96,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nl0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 160,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 112,320q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 224,144\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 320,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 384,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 448,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 432,320l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,384l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00D\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 396.5,406q 79-11.5 112.5-31.5q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5t-128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 33.5,20 112,31.5q 2.5-5.5 6-9.5l 19.5-19.5q-63.5-8 -102-23.25t-38.5-33.75l0-64 q0-4 3-9q 33,19 110,30.5q 2.5-9.5 8-15.5l 14-13.5q-61.5-8.5 -98.25-23.5\nt-36.75-33l0-64 q0-4 3-9q 31,18 101.25,29.5t 151.75,11.5t 151.75-11.5t 101.25-29.5q 3,5 3,9l0,64 q0,18 -37,33.25t-98,23.25l 13.5,13.5q 5.5,6 8,16q 77.5-11.5 110.5-31q 3,5 3,9l0,64 q0,18.5 -38.75,33.75t-102.25,23.25l 19.5,19.5q 3.5,4 6,9.5zM 343,308q 9-9 9-21.75t-9-21.75t-21.75-9\nt-21.75,9l-44,43.5l-43.5-43.5q-9-9 -21.75-9t-21.75,9t-9,21.75t 9,21.75l 43.5,44l-43.5,43.5q-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 43.5-43.5l 44,43.5q 9,9 21.75,9t 21.75-9t 9-21.75t-9-21.75l-43.5-43.5zM 256,128q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25\nt 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25t 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00C\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384l0,64 q0,24 -62,41.75t-155,21.25q-3.5,1 -7,1l-64,0 q-3.5,0 -7-1q-93-3.5 -155-21.25t-62-41.75l0-64 q0-4 3-9.5q 31,18.5 100.5,30q-7.5-9 -7.5-20.5l0-14 q-44.5-9 -70.25-22t-25.75-28l0-64 q0-4 3-9q 24.5,14 75.25,24.5t 113.75,14.5l0-32 q-83.5-5.5 -137.75-22.75t-54.25-39.25l0-64 \nq0-4 3-9q 31,18 101.25,29.5t 151.75,11.5t 151.75-11.5t 101.25-29.5q 3,5 3,9l0,64 q0,22 -54.25,39.25t-137.75,22.75l0,32 q 63-4 113.75-14.5t 75.25-24.5q 3,5 3,9l0,64 q0,15 -25.5,28t-70.5,22l0,14 q0,11.5 -7.5,20.5q 69.5-11.5 100.5-30q 3,5.5 3,9.5zM 352,320l-64,0 l0-64 q0-13 -9.5-22.5t-22.5-9.5\nt-22.5,9.5t-9.5,22.5l0,64 l-64,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 64,0 l0,64 q0,13.5 9.5,22.75t 22.5,9.25t 22.5-9.25t 9.5-22.75l0-64 l 64,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 256,128q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25t 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25\nt 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 31,18.5 101.25,30t 151.75,11.5t 151.75-11.5t 101.25-30q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 256,384q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 31,18.5 101.25,30t 151.75,11.5\nt 151.75-11.5t 101.25-30q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 256,256q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 31,18.5 101.25,30t 151.75,11.5t 151.75-11.5t 101.25-30q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 256,128\nq-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25t 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25t 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,480q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25t-22.75,9.25t-9.25,22.5t 9.5,22.75t 22.75,9.5zM 64,32\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 448,32\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 448,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 320,256q0,15 -7.5,29.5q 29,6 52.75,16.75t 34.75,21.75q-27,56 -80,76\nq0-35.5 -5.75-57.5t-18.75-36.5q-17.5,14 -39.5,14q-15,0 -29.5-7.5q-6,29 -16.75,52.75t-21.75,34.75q-56-27 -76-80q 35.5,0 57.5-5.75t 36.5-18.75q-14-17.5 -14-39.5q0-15 7.5-29.5q-29-6 -52.75-16.75t-34.75-21.75q 27-56 80-76q0,35.5 5.75,57.5t 18.75,36.5q 17.5-14 39.5-14q 15,0 29.5,7.5\nq 6-29 16.75-52.75t 21.75-34.75q 56,27 76,80q-35.5,0 -57.5,5.75t-36.5,18.75q 14,17.5 14,39.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF009\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25l0,32 zM 64,432q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 432,96l-176,0 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 48,0 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,256l-48,0 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 176,0 \nq0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 448,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 336,288l-32,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 208,128l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF008\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,160q0-13.5 -9.5-22.75t-22.5-9.25l0-32 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,32 q-13.5,0 -22.75,9.25t-9.25,22.75\nl0,64 q0,13.5 9.25,22.75t 22.75,9.25l0,160 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-160 q 13,0 22.5-9.25t 9.5-22.75l0-64 zM 320,352q0-13 -9.5-22.5t-22.5-9.5l0-224 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,224 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25\nl 64,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 zM 480,224q0-13 -9.25-22.5t-22.75-9.5l0-96 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.25t-9.5,22.75l0,96 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13 9.25,22.5t 22.75,9.5l0,96 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l0-96 q 13.5,0 22.75-9.5t 9.25-22.5l0-64 z\nM 432,288l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,416l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 112,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF007\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 95.75,416q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 416,416l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.5\nt 9.25,22.75t 22.75,9.5l 192,0 q 13,0 22.5-9.25t 9.5-22.75t-9.5-22.75t-22.5-9.25zM 368,352l-240,0 q-40,0 -68-28t-28-68q0-28.5 15.25-51.75t 40.25-35.25q 17,27 43.75,45t 58.75,23.5q-28.5-17 -45.25-46t-16.75-63.5q0-53 37.5-90.5t 90.5-37.5q 40.5,0 73,22.75t 46.5,59.25q-51.5,9 -85.5,49t-34,93\nq0,5.5 0.5,11q 2-44.5 34.25-75.75t 77.25-31.25q 46.5,0 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF006\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,448q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.5,22.5\nt 22.5,9.25zM 391,222.5q-6,3 -12.5,0t-9.25-9.75t0-13.75t 9.25-9.5l 47.5-21.5q-28-54.5 -82-82.5l-21.5,48q-2.5,6.5 -9.5,9.25t-13.75,0t-9.75-9.25t0-13l 21.5-48.5q-27-8 -55-8t-55,8l 21.5,48.5q 3,6.5 0,13t-9.75,9.25t-13.75,0t-9.5-9.25l-21.5-48q-53.5,27.5 -82,82.5l 47.5,21\nq 6,3 8.75,9.75t0,13.75t-9,9.75t-12.75-0.25l-48.5-21q-8,27 -8,55t 8,55l 48.5-21q 6.5-3 12.75-0.25t 9,9.75t0,13.75t-8.75,9.75l-48,21q 11,21.5 28,40q 48-27 120-31l 97-158.5q 4.5-1 8.5-2.5q 3.5-0.5 6.75,1.25t 3.75,5.25l 2.5,8l-55.5,148q 60.5,6.5 102,29.5q 17-18.5 28-40l-48-21.5\nq-6.5-2.5 -9.25-9.5t0-13.75t 9.25-9.75t 13,0l 48.5,21.5q 8-27 8-55t-8-55z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF005\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-320,0 q-13,0 -22.5,9.25t-9.5,22.75l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 \nl0,64 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,32 q0,13.5 9.5,22.75t 22.5,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-320 zM 384,416l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0-64 l 48,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 q0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 288.25,288\nq-13.25,0 -22.75-9.5t-9.5-22.5t 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 128,176q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 80,320l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75\nl-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF004\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-416,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-128 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 416,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 448,96\nq0-13.5 -9.25-22.75t-22.75-9.25l-288,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13 9.25,22.5t 22.75,9.5l 288,0 q 13,0 22.5-9.5t 9.5-22.5l0-320 zM 384,416l-224,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,192\nq-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 287.75,288q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.25t 9.5,22.75t-9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF003\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384l-48,0 l0-64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,288l-48,0 l0-64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,192l-48,0 l0-64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,416l-256,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-256 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM 224,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 z\nM 128,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM0,368l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,64 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,272l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,64 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,176l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,64 \nl-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 192,496q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l 64,0 l0,48 zM 288,496q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l 64,0 l0,48 zM 384,496q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 \nl 64,0 l0,48 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF002\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,288l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,224l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,160l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75zM 400,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,416l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5l 224,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 384,48q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 320,48q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 256,48q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 192,48q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 128,48q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 32,400q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,336q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,272q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,208\nq0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,144q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 160,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 zM 224,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 \nl 32,0 l0,48 zM 288,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 zM 352,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 zM 512,400q0,6.5 -4.75,11.25t-11.25,4.75l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF001\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 64,256l 192,0 l0-192 q-79.5,0 -135.75,56.25t-56.25,135.75zM 288,288l-221,0 q 11.5,68.5 64.75,114.25t 124.25,45.75\nq 39,0 74-14.75t 62-41.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF000\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,224l0-224 q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87l-224,0 zM 224,512q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75l0,224 l 224,0 q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wheelchair\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,438l-31.5,32q-0.5,0 -0.5,0.25t-0.5,0.75l-0.75,0.5t-1.25,0.5q-2,2 -3.5,2.5q-9,6 -20.25,5.25t-19.25-8.75l-86.5-87l-147,0 q-13,0 -22.5-9.25t-9.5-22.25l0-160 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,128 l 124.5,0 q 3.5-0.5 8,0.5q 2,0 3.5,0.5q 3.5,1 4.5,1.5q 6,2.5 11,7.5l 72.5,72.5l 10-10\nq 9.5-9.5 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.25zM 191.5,128.5q-26.5,0 -45-18.75t-18.5-45.25t 18.5-45.25t 45-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 264.5,425l 1.5,1.5q 9.5-9 22.75-9t 22.5,9.25t 9.25,22.5t-9,22.75q-5,5 -13,7.5q-37,25 -80.75,31t-86.5-8t-75.25-46.5\nt-46.5-75.25t-8-86.5t 31-80.75q 2.5-8 7.5-13q 9.5-9.5 22.75-9.5t 22.5,9.5t 9.25,22.75t-9,22.75l 1.5,1.5q-26.5,37 -22.75,83.5t 37,79.75t 79.75,37t 83.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scales\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q0,9 -7.5,13.5q-10,8.5 -29.5,13.5t-43,5t-43-5t-29.5-13.5q-7.5-5 -7.5-13.5l0,0 q0-3 0.5-4l 58-284l-122.5,0 l0,384.5 q 55.5,2.5 91.75,11.25t 36.25,20.25q0,13 -9.25,22.5t-22.75,9.5l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-11.5 36.25-20.25t 91.75-11.25l0-384.5 l-122.5,0 l 58,284q 0.5,1 0.5,4l0,0 \nq0,9 -7.5,13.5q-10,8.5 -29.5,13.5t-43,5t-43-5t-29.5-13.5q-7.5-5 -7.5-13.5l0,0 q0-3.5 0.5-4l 62-304q 3.5-11 16-11.5l 0.5-0.25t 1-0.25l 144,0 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l 144,0 q 0.5,0 1.5,0.5q 12.5,0.5 16,11.5l 62,304q 0.5,1 0.5,4l0,0 zM 39.5,324.5q 19-4.5 40.5-4.5t 40.5,4.5l-40.5-198zM 432,126.5\nl-40.5,198q 19-4.5 40.5-4.5t 40.5,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diesix\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45t 45.25-18.5l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,448q 20,0 34-14t 14-34t-14-34t-34-14t-34,14t-14,34t 14,34t 34,14zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14\nt 14-33.75t-14-34t-34-14.25zM 144,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 352,272.25q0,19.75 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25\nt-34,14.25t-14,34zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diefive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26 18.75-44.75t 45.25-18.75l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 144,352q-20,0 -34,14t-14,34t 14,34\nt 34,14t 34-14t 14-34t-14-34t-34-14zM 272,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34\nt-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diefour\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26 18.75-44.75t 45.25-18.75l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 144,352q-20,0 -34,14t-14,34t 14,34\nt 34,14t 34-14t 14-34t-14-34t-34-14zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diethree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-351.5 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,351.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96.5q-20,0 -34,14t-14,33.75t 14,33.75t 34,14t 34-14t 14-33.75t-14-33.75t-34-14zM 272,224q-20,0 -34,14.25t-14,34\nt 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dietwo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-351.5 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,351.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96.5q-20,0 -34,14t-14,33.75t 14,33.75t 34,14t 34-14t 14-33.75t-14-33.75t-34-14zM 400,352q-20,0 -34,14t-14,34t 14,34\nt 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dieone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45t 45.25-18.5l 352,0 q 26.5,0 45.25,18.75t 18.75,44.75l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 272,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ink\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 461,512l-441.5,0 q-14,0 -18.25-14.5t 3.75-34l 74-257.5q 2-5.5 8.75-9.75t 14.25-4.25l 58,0 l0-32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-128 q0-6.5 4.75-11.25t 11.25-4.75l 256,0 q 7,0 11.5,4.75t 4.5,11.25l0,128 q0,6.5 -4.5,11.25t-11.5,4.75l-48,0 l0,32 l 56.5,0 q 7,0 13.75,4t 9.25,10l 75.5,257.5q 8,19.5 4,34t-18,14.5z\nM 160,48q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-64 zM 224,48q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-64 zM 288,48q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25\nl0,64 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-64 zM 336.25,128q 6.75,0 11.25-4.75t 4.5-11.25l0-64 q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.5,4.75zM 352,224l-224,0 l-27.5,111q 29,17 59.5,17q 17.5,0 34.25-6.5t 30-16t 26-19t 26.75-16t 27-6.5q 42.5,0 70,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sticker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,224q0,10.5 -0.5,16.5t-4.25,15t-11.25,16.5l-224,224q-7.5,7.5 -16.5,11.25t-15,4.25t-16.5,0.5l0-2.5 q-62.5-7.5 -113.75-43t-80.75-91t-29.5-119.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 64,0 119.5,29.5t 91,80.75t 43,113.75l 2.5,0 zM 256,32q-45.5,0 -87,17.75t-71.5,47.75\nt-47.75,71.5t-17.75,87q0,55.5 25.25,103.75t 69.25,79.25t 97.5,38.5q 0.5-51.5 20.75-98t 54.25-80.5t 80.5-54.25t 98-20.75q-7.5-53.5 -38.5-97.5t-79.25-69.25t-103.75-25.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"banana\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 429.5,419.5q-20.5,26 -40.5,45.25t-35,29t-27.5,14.25t-20.25,4t-11.75-4q-6-5.5 -6.25-22.75t 5.25-37.25t 15-33q 38.5-50 64-113.5q-32.5,40 -70,68.75t-73.5,38.75q-31.5,8 -60.5,7.25t-49.75-6.75t-22.75-14q-2-7 19-25t 48-34.25t 41.5-20.25q 11-3 33-25.5q-61,29.5 -109.5,29.5\nq-23,0 -47-5.25t-41.25-12.75t-28.5-15.75t-11.25-14.25q0-11.5 51.25-29.75t 76.75-18.25q 15.5,0 56.25-26.25t 84.75-64.75t 67-69q 12-16 39.5-15q 10-29 10-49l 30.5,0 q0,17 -0.5,32l0,0.5 l 0.25-0.25l 0.25-0.25q 22.5,11 37,32.5l 0.5,0 t 0.5,0.5q 35.5,16 49.25,59.5t 7,95.5t-28.25,106t-52.5,93.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"strawberry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479,487q-19.5,20 -53,23.5t-68.5-4.75t-79-25.75t-77-34.25t-70.5-36.25t-51.5-25.5q-104.5-47.5 23-190q-53.5,9.5 -68,63.5q-6.5-27.5 6.5-53.5q-28.5,16 -38.5,53.5q-7-31.5 9.5-59t 47.5-36l 1.25,0 t 1.25-0.5q-36.5-11 -62,4q 17-28 47.25-36t 57.75,8.5q-28.5-47.5 -72.5-76l 31.5-30.5q 40.5,40.5 63,67\nq-1.5-20.5 6.75-38.25t 26.25-28.75q0,40.5 3,57.5q 8.5-30.5 35.5-46.5t 57.5-9q-56.5,15.5 -63.5,75q 31-23 59.25-34.25t 60.25-10t 64.5,18.25q 24.5,12 48,41.5t 41.5,67.25t 30,81.25t 15.25,83.75t-4.75,75.25t-27.5,55zM 304.25,448q 6.75,0 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25\nt 4.75,11.25t 11.5,4.75zM 112.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 144.25,320q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 176.25,192q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25\nt 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 176.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 208.25,384q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 240.25,160q-6.75,0 -11.5,4.75\nt-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 240.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 240.25,320q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75z\nM 304.25,128q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304.25,192q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304.25,288q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25\nt-4.5-11.25t-11.25-4.75zM 336.25,352q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 368.25,160q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 368.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25\nt 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 368.25,416q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 432.25,224q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 432.25,320q-6.75,0 -11.5,4.75\nt-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 432.25,384q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"carrot\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.75,508.75q-10.75,10.75 -56.5-13t-103-64.75t-115.75-86.5t-98.25-78.5t-47.25-40q-11-12 -7-33.25t 21-45.25q-42.5-19.5 -102-19.5l0-32 q 47,0 85,12.5l-85-85l 23.5-23.5l 85,85.5q-12.5-38.5 -12.5-85.5l 32,0 q0,59.5 19.5,102q 24-17 45.25-21t 33.25,7q 7,7.5 40,47.25t 78.5,98.25t 86.5,115.75\nt 64.75,103t 13,56.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fedora\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,336q0,13.5 -20.5,32.5t-53.75,36.75t-82.5,30.25t-99.25,12.5t-99-12.5t-82.5-30.25t-54-36.75t-20.5-32.5q0-26.5 85-38.5q 4.5-31 11-61.25t 16-64.25t 22.25-55t 25.75-21q 14,0 47.25,16t 48.75,16q 13.5,0 26-5t 21-11t 21.5-11t 27.5-5q 14,0 36.5,67.5t 37,133.5q 86.5,12 86.5,39z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tophat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 80,0 l-32-437.5q-0.5-12 3-20t 9.25-12.5t 16.75-6.75t 20.25-2.75t 24.75-0.5l 236,0 q 15.5,0 24.75,0.5t 20.25,2.75t 16.75,6.75t 9.5,12.5t 2.75,20l-32,437.5l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 121.5,416l 6.5,64l 256,0 \nl 7-64l-269.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"telescope\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 493.5,493.5q-13.5,13.5 -25.5,16.75t-20.5-0.75t-18-13.5l-52.5-52q-35.5,13 -63-15l-58-58.5l0-115 q0-26.5 -19-45.25t-45.5-18.75t-45.25,18.75t-18.75,45.25l0,38.5 l-111-111q-14-14 -16.25-34.25t 10-46.25t 39.25-53t 53-39.25t 46.25-10t 34.25,16.25l 152,152q 24.5,24.5 12.5,64.5l 81.5,81q 27,27.5 14.5,63\nl 52.5,52.5q 9.5,9.5 13.5,17.75t 0.75,20.5t-16.75,25.75zM 111.5,480l 48,0 l0-224.5 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,224.5 l 48.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lollypop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503.5,503.5q-8.5,8.5 -20.5,8.5t-20.5-8.5l-211.5-211.5q-41,28 -90.5,28q-12,0 -26.5-2l 184-184q 2,14.5 2,26.5q0,49.5 -28,90.5l 211.5,211.5q 8.5,8.5 8.5,20.5t-8.5,20.5zM0,232.5l 232.5-232.5q 29.5,13 52.25,35.75t 35.75,52.25l-232.5,232.5q-29.5-13 -52.25-35.75t-35.75-52.25zM 0.5,160.5q0-43.5 21.25-80.5\nt 58.25-58.25t 80.5-21.25q 12,0 26,2l-184,184q-2-14 -2-26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"filmstrip\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 32,416l0-288 l 480,0 l0,288 l-480,0 zM 400,384q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 400,160q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,160q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 480,240q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 464,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 144,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 144,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,448l 384,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"antenna\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464.5,59.5l-176.5,233.5l0,187 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-187 l-176.5-233.5q-15.5-9.5 -15.5-27.5q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,18 -15.5,27.5zM 388,64l-100,0 l0,132.5 zM 224,64l-100,0 l 100,132.5l0-132.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resistor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-71,0 l-23.5,84q-1.5,6 -6.5,9.25t-11,2.75q-6,0.5 -11-2.75t-6.5-9.25l-46.5-167.5l-46.5,167.5q-1.5,6 -6.5,9.25t-11,2.75q-6,0.5 -11-2.75t-6.5-9.25l-46.5-167.5l-16,83.5l-42.5,0 l-85.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 103,0 l 23.5-84q 1.5-5.5 6.5-8.75t 11-2.75q 6-0.5 11,2.75\nt 6.5,8.75l 46.5,168l 46.5-168q 1.5-5.5 6.5-8.75t 11-2.75q 6-0.5 11,2.75t 6.5,8.75l 46.5,168l 16-84l 42.5,0 l 53.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"acsource\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 320,352q-29,0 -48.75-21t-31.25-75q-10.5-24.5 -23.75-44.25t-24.25-19.75q-7.5,0 -12.5,9.25t-10.5,28t-9,26.75l-32,0 q0-13.5 3.5-28.75t 10.5-31t 20-26t 30-10.25q 29,0 48.75,21t 31.25,75\nq 10.5,24.5 23.75,44.25t 24.25,19.75q 7.5,0 12.5-9.25t 10.5-28t 9-26.75l 32,0 q0,13.5 -3.5,28.75t-10.5,31t-20,26t-30,10.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dcsource\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 512,256q0,13.5 -9.25,22.75\nt-22.75,9.25l-160,0 l0,128 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-320 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,128 l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75zM 159.75,352q-13.25,0 -22.5-9.25t-9.25-22.75l0-32 l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 96,0 l0-32 \nq0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"capacitator\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-128,0 l0,96 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-256 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 l 128,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 191.75,416q-13.25,0 -22.5-9.5t-9.25-22.5l0-96 l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 l0-96 \nq0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,256 q0,13 -9.5,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-64,0 l0,96 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5l0-96 l-5,0 l-199,124.5q-8.5,8.5 -20-4l0-120.5 l-96,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 96,0 l0-121 q 12-12.5 20-4l 199.5,125l 4.5,0 l0-96 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,96 l 64,0 q 13,0 22.5,9.25t 9.5,22.5\nt-9.5,22.75t-22.5,9.5zM 160,160l0,192 l 160-96z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lighthouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,96l 128-64l0,160 l-128-64l0-32 zM 352,160q0,11.5 -7.5,20.5t-19,11l 6,32.5l-151,0 l 6-32.5q-11.5-2 -19-11t-7.5-20.5l0-96 l-32,0 l 128-64l 128,64l-32,0 l0,96 zM 256,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-64 zM 320,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 128,128l-128,64l0-160 l 128,64l0,32 zM 337.5,256l 5.5,32l-174.5,0 l 6-32l 163,0 zM 355,352l-198,0 l 6-32l 186,0 zM 143.5,426l 8-42l 209,0 l 8,42\nq 64.5,12 104,35t 39.5,51l-128,0 l-256,0 l-128,0 q0-28 39.5-51t 104-35z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"invoice\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l0-480 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.5l0,480 zM 112,416l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75zM 416,80q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 320,288l 64,0 l0,32 l-64,0 l0-32 zM 320,224l 64,0 l0,32 l-64,0 l0-32 zM 320,160l 64,0 l0,32 \nl-64,0 l0-32 zM 320,96l 64,0 l0,32 l-64,0 l0-32 zM 128,224l 160,0 l0,32 l-160,0 l0-32 zM 128,160l 160,0 l0,32 l-160,0 l0-32 zM 128,96l 160,0 l0,32 l-160,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"helicopter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256l0,16 q0,6 -1,9.25t-3.75,4.75t-4.75,1.75t-6.5,0.25q-16,0 -19.5-5l-28.5-27l-117.5,62q-16,15.5 -38.75,24.75t-41.75,9.25l-26,0 l0,32 l 112,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-176,0 l-80,0 l-32,0 q-13.5,0 -30.75-17.25t-17.25-30.75q0-6 1.75-9.5t 6.5-4.75t 8.25-1.5\nt 11.5-0.25l 4,0 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 l 16,0 l0-32 l-9.5,0 q-21,0 -35.5-10.75t-18.25-32t 13.25-53.25l 34-64q 9-14.5 29.25-23.25t 39.75-8.75l 43,0 l0-32 l-144,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 144,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 144,0 q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75l-144,0 l0,32 l 56.5,0 q 18.5,0 34.25,9.75t 20.75,24.25l 10,47.5l 102.5-49.5l 28.5-56.5q 3.5-7.5 19.5-7.5q 4.5,0 6.5,0.25t 4.75,1.75t 3.75,4.75t 1,9.25l0,16 q-13.5,0 -22.75,14t-9.25,34t 9.25,34t 22.75,14zM 128,384l 64,0 l0-32 l-64,0 l0,32 zM 224,224q0-13.5 -9.5-22.75t-23-9.25l-31.5,0 \nq-23,0 -33,16l-28,48q-6.5,18.5 0.5,25.25t 27.5,6.75l 64.5,0 q 13.5,0 23-9.5t 9.5-22.5l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,288q-6,0 -23.5-8t-38-16t-34.5-8q-13,0 -29,8.25t-32,20t-33.25,23.5t-38.75,20t-43,8.25q-26,0 -45-12.75t-19-35.25q0-16.5 10.75-28.75t 26-18.75t 36.25-10.25t 37.5-4.75t 33.5-1l0-0.5 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75q-91,0 -136.5,31.5q-1.5,1 -11,7.75t-12,8.25\nt-11.25,6t-15,6t-16.5,3t-21.75,1.5q-22.5,0 -35.25-19t-12.75-45q0-35 22-65.5t 58-50.75t 82-32t 94-11.75q 69.5,0 128.5,25.75t 93.25,70t 34.25,96.25q0,22.5 -13,43.25t-35,20.75zM 231,352l 57-16q0-12.5 32.5-30.25t 47.5-17.75q 33,0 56.5,16.5t 23.5,31.5q0,12.5 -32.5,30.25t-47.5,17.75\nq-11,0 -13.5,24t-2.5,104l-32,0 q0-25 -29.5-70.5t-54.5-57.5q-6-3 -9.75-10.75t-2.5-14.5t 7.25-6.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"liver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,256q-12.5,0 -28.5-11.75t-31.25-31.75t-25.75-51.25t-10.5-65.25q0-8 0.5-12.25t 3.25-9.75t 9.75-7.75t 18.5-2.25q 21.5,0 47.25-10t 44.75-22t 38.25-22t 29.75-10q 14.5,0 23.25,8.5t 8.75,23.5q0,36.5 -10.25,72.25t-25.75,62.25t-33.25,47.25t-33.25,31.5t-25.5,10.75zM 352,288q0,11 -13.75,26\nt-32,28.75t-42.5,34.5t-39.75,38.75q-15.5,18.5 -26.25,42.75t-15,38.75t-6.75,14.5q-14.5,0 -36.75-14t-46-39.5t-45-56.75t-34.75-70.25t-13.5-75.5q0-43.5 23.5-80.25t 64-58.25t 88.5-21.5q 11,0 17,0.25t 17.25,1t 17.75,2.75t 13.75,5.5t 10.75,9.25t 3.5,13.25q0,27.5 13,57t 35,55q 6.5,7.5 19.25,17.75\nt 20.75,17.75t 8,12.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stomach\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 224,480q-32.5,0 -62.75-15t-47.75-37.25t-17.5-43.75q0-15 -8-21.25t-16,0t-8,21.25l0,96 q0,10.5 -10.75,21.25t-21.25,10.75t-21.25-10.75t-10.75-21.25l0-96 q0-19 1.25-32t 5-26t 10.75-20.75t 18.75-12.5t 28.25-4.75q 17,0 31,5t 21.75,11t 19.25,11t 24,5q 13.5,0 21-0.25t 21.25-1.5t 22.5-4.25t 19.25-8\nt 17.25-13.75t 10.75-20.25q 7.5-22.5 11.25-49.75t 4.25-44.75t 0.5-49.5q-24,0 -44-20t-20-44l0-32 q0-10.5 10.75-21.25t 21.25-10.75t 21.25,10.75t 10.75,21.25l0,16 q0,16 64,16q 8.5,0 16.75-5t 14.75-11t 19.5-11t 29-5q 37.5,0 58.75,47.25t 21.25,125.75q0,65.5 -22.5,118.25t-61.75,86.75t-91.25,52t-112.5,18z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"kidney\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-24.5,0 -46.25-6.75t-40.5-21t-30-40t-11.25-60.25q0-16 8-30.25t 20-25.5t 24.5-21.75t 24-23t 16-25q-56.5,8 -90.5,42.5t-34,96q0,44.5 15,83l-69.5,0 q-9.5-39.5 -9.5-81q0-61 22.75-106t 62.25-70.5q-9.5-8.5 -18.5-17q-29-28.5 -50.5-62l 49-47.5q 16.5,36.5 48,67q 15.5,15 30.25,21.25\nt 34.25,7.25q-5-8 -20-26.25t-22.25-33.75t-7.25-35.5q0-23 11.75-41.75t 30.75-30.25t 41.25-17.75t 44.25-6.25q 39.5,0 74.75,17.75t 61,49t 41,76.25t 15.25,97q0,51.5 -20.25,102t-52,87.25t-72.25,59.75t-79.5,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lungs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512q-6.5,0 -19-8.25t-30.25-20.75t-30.75-19q-11-5.5 -25-11.5t-22.5-9.75t-16.75-8.25t-12-9t-3.75-9.5l0-145 l-64-64l-64,64l0,145 q0,5 -3.75,9.5t-12,9t-16.75,8.25t-22.5,9.75t-25,11.5q-13,6.5 -30.75,19t-30.25,20.75t-19,8.25q-21.5,0 -26.75-30t-5.25-98q0-90 16.5-149.5\nt 47.5-106.5q 21.5-32 50-48t 46-16q 13.5,0 22.75,9.5t 9.25,22.5l0,81 l 32-32l0-113 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,113 l 32,32l0-81 q0-13 9.5-22.5t 22.5-9.5q 17.5,0 46,16t 50,48q 31,47 47.5,106.5t 16.5,149.5q0,23.5 -0.25,35t-1,29.75t-2.75,27t-5.5,18.5t-9,13.75t-13.5,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tooth\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,352l0,25.5 t-0.5,26t-2,27.5t-3.5,24.75t-5.75,22.75t-8.5,17t-12,12.5t-15.75,4q-4,0 -6.75-1.75t-4.5-6t-2.75-8t-1.5-11.75t-0.5-13l0-15 l0-8.5 q0-31 -0.25-45.75t-2-37.5t-5.75-33.25t-11-22.5t-18.25-16.5t-26.75-4.5t-26.75,4.5t-18.25,16.5t-11,22.5t-5.75,33.25t-2,37.5t-0.25,45.75l0,8.5 l0,15 t-0.5,13\nt-1.5,11.75t-2.75,8t-4.5,6t-6.75,1.75q-8.5,0 -15.75-4t-12-12.5t-8.5-17t-5.75-22.75t-3.5-24.75t-2-27.5t-0.5-26l0-25.5 q0-21 -10-53.5t-22-62.25t-22-68.75t-10-71.5q0-40 28-68t 68-28q 16,0 48,16t 48,16t 48-16t 48-16q 39.5,0 67.75,28t 28.25,68q0,32.5 -10,71.5t-22,68.75t-22,62.25\nt-10,53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"marvin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,223.5q-57,0 -133.25,7.25t-122.75,15.75q 1.5-50.5 22.5-96.25t 55-79t 80.75-52.75t 97.75-19.5t 97.75,19.5t 80.75,52.75t 55,79t 22.5,96.25q-46.5-8.5 -122.75-15.75t-133.25-7.25zM 111.5,319.5l 75-62q 38.5-2 69.5-2t 69.5,2l 75,62l 32-54q 49,5.5 79,11.5q-5.5,65 -40.75,118.75\nt-92,85t-122.75,31.25t-123-31.25t-92-85t-40.5-118.75q 30-6 79-11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ticket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320l0,96 q0,13 -9.5,22.5t-22.5,9.5l-288,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l0-96 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 288,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,96 q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 192,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 192,240q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 192,336q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"removefriend\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 355,320q-16,13 -35,21l0,14 q-14,5 -23,17.25t-9,27.75l0,32 q0,20 14,34t 34,14l 16,0 l0,31 q-35,1 -96,1l-38,0 t-40.5-0.5t-43.5-1.25t-40-2.25t-37.75-4.25\nt-28.75-6t-20.75-8.25t-6.75-11q 1-44 55-77.75t 137-44.75l0-16.5 q-26-11.5 -45-32.5t-30-49.25t-16-60.5t-5-69.25q0-32.5 12.5-57.25t 34.5-40t 50.5-23t 62.5-7.75t 62.5,7.75t 50.5,23t 34.5,40t 12.5,57.25q0,110 -37.5,165q-17,9 -23.5,27z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addfriend\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 32,0 l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 355,320q-16,13 -35,21l0,14 \nq-14,5 -23,17.25t-9,27.75l0,32 q0,20 14,34t 34,14l 16,0 l0,31 q-35,1 -96,1l-38,0 t-40.5-0.5t-43.5-1.25t-40-2.25t-37.75-4.25t-28.75-6t-20.75-8.25t-6.75-11q 1-44 55-77.75t 137-44.75l0-16.5 q-26-11.5 -45-32.5t-30-49.25t-16-60.5t-5-69.25q0-32.5 12.5-57.25t 34.5-40t 50.5-23t 62.5-7.75t 62.5,7.75\nt 50.5,23t 34.5,40t 12.5,57.25q0,110 -37.5,165q-17,9 -23.5,27z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hockey\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384l-155.5-15.5q-3.5,0.5 -4.5-0.5l-321-321q-11-11 -14-25.25t 2.5-18.25q 4-5.5 18.25-2.5t 25.75,14l 302,302.5l 146.5-29.5q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 240,448q 20,0 34,9.5t 14,22.75t-14,22.5t-34,9.25t-34-9.25t-14-22.5t 14-22.75t 34-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"whistle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-172.5,34.5q 12.5,29.5 12.5,61.5q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5t-80.25-21.5t-58.25-58.25t-21.5-80.25q0-58 37-102q-16.5-8 -26.75-23.5t-10.25-34.5q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,0.5 -0.25,1.75t-0.25,1.75q 16-3.5 32.5-3.5l 320,0 q 8.5,0 12.75,0.25\nt 9.5,1.75t 7.5,5t 2.25,9l0,16 q0,11.5 -9.5,20t-22.5,12zM 64,96q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"curling\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,464q0,14 -17.25,26.5t-48.25,21.5l-253,0 q-31-9 -48.25-21.5t-17.25-26.5l-64-32l0-208 l 64-32q0-14 17.25-26.5t 48.25-21.5l 160,0 l-48-48l-145.5,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 160,0 q 0.5,0 1.5,0.25l 1,0.25q 3.5,0 7,1t 7.5,3.5q 1,0.5 1.5,1q 5,3.5 5.5,3.5l 102.5,102.5q 31,9 48.25,21.5\nt 17.25,26.5l 64,32l0,208 zM 96,448q0,18.5 54.5,32l 211,0 q 54.5-13.5 54.5-32l 64-34l0-127 q-33.5,15 -93.25,24t-130.75,9t-130.75-9t-93.25-24l0,127 zM 424,224l-2,0 q-25.5,14.5 -69.5,23.25t-96.5,8.75t-96.5-8.75t-69.5-23.25l-2,0 l-56,25l0,6 q 33,15 92.75,24t 131.25,9t 131.25-9t 92.75-24\nl0-6 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stadium\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-288,0 q-13,0 -22.5-9.25t-9.5-22.75l0-416 q0-13 9.5-22.5t 22.5-9.5l 288,0 q 13,0 22.5,9.5t 9.5,22.5l0,416 q0,13.5 -9.25,22.75t-22.75,9.25zM 224,480l 96,0 l0-64 l-96,0 l0,64 zM 320,64l-96,0 l0,64 l 96,0 l0-64 zM 416,64l-64,0 l0,96 l-160,0 l0-96 l-64,0 l0,192 l 65.5,0 q 5.5-27.5 27.5-45.75t 51-18.25t 51,18.25t 27.5,45.75\nl 65.5,0 l0-192 zM 224,272q0,20 14,34t 34,14t 34-14t 14-34t-14-34t-34-14t-34,14t-14,34zM 416,288l-65.5,0 q-5.5,27.5 -27.5,45.75t-51,18.25t-51-18.25t-27.5-45.75l-65.5,0 l0,192 l 64,0 l0-96 l 160,0 l0,96 l 64,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domino\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503.5,370.5l-133,133q-8.5,8.5 -20.5,8.5t-21-8.5l-320.5-320.5q-8.5-9 -8.5-21t 8.5-20.5l 133-133q 8.5-8.5 20.5-8.5t 21,8.5l 320.5,320.5q 8.5,9 8.5,21t-8.5,20.5zM 80.25,160.5q-6.75,0 -11.25,4.5t-4.5,11.25t 4.5,11.5t 11.25,4.75t 11.5-4.75t 4.75-11.5t-4.75-11.25t-11.5-4.5zM 176.25,64.5q-6.75,0 -11.25,4.5t-4.5,11.25\nt 4.5,11.5t 11.25,4.75t 11.5-4.75t 4.75-11.5t-4.75-11.25t-11.5-4.5zM 176.25,160.5q-6.75,0 -11.25,4.5t-4.5,11.25t 4.5,11.5t 11.25,4.75t 11.5-4.75t 4.75-11.5t-4.75-11.25t-11.5-4.5zM 176.25,256q-6.75,0 -11.25,4.75t-4.5,11.5t 4.5,11.25t 11.25,4.5t 11.5-4.5t 4.75-11.25t-4.75-11.5t-11.5-4.75zM 272.25,160.5q-6.75,0 -11.5,4.5t-4.75,11.25\nt 4.75,11.5t 11.5,4.75t 11.25-4.75t 4.5-11.5t-4.5-11.25t-11.25-4.5zM 336.25,224q-6.75,0 -11.5,4.75t-4.75,11.5t 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75zM 336.25,320q-6.75,0 -11.5,4.75t-4.75,11.5t 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75zM 336.25,416q-6.75,0 -11.5,4.75t-4.75,11.5\nt 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 424.5,378.5l-37.5-37.5l 16.5-17q 10.5,3 27.5,7.5t 26.75,7.25t 20,7.25t 15.75,9.5q 21,21.5 18,52zM 352.5,375.5l 23-23q 18.5,20.5 42,49.75t 38,48.25l 14,19q-70-50.5 -117-94zM 117.5,220.5q-21.5-21.5 -21.5-51.75t 21.25-51.5t 51.5-21.25t 51.75,21.25t 147.5,186.75l-64,64q-165-126 -186.5-147.5zM0,0\nq 7,4.5 18.5,12t 39.5,29t 47.5,41l-23.5,23.5q-20.5-20.5 -40.75-46.75t-31-42.5t-10.25-16.25zM 378.5,424.5l 29,87q-30.5,3 -52-18q-5-5.5 -9.5-15.75t-7.25-20t-7.25-26.75t-7.5-27.5l 17-16.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,440l-62.5,62.5q-9.5,9.5 -23,9.5t-23.25-9.5t-9.75-23.25t 9.5-23.25l 9-9l-74.5-74.5q-19-19 -53.5-38.25t-65.25-35t-41.75-26.75l-160-160q-11.5-11 -6-40t 23.75-47.25t 47.25-23.75t 40,6l 160,160q 11,11 26.75,41.75t 35,65.25t 38.25,53.5l 74.5,74.5l 9-9q 9.5-9.5 23.25-9.5\nt 23.25,9.75t 9.5,23.25t-9.5,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bowlingpins\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 396.5,128q-12.5-20 -12.5-48q0-23 12.75-35.5t 35.25-12.5t 35.25,12.5t 12.75,35.5q0,28 -12.5,48l-71,0 zM 413.5,192q 2.5-9 2.5-16q0-8.5 -2-16l 36,0 q-2,7.5 -2,16q0,6.5 2.5,16l-37,0 zM 400.5,224l 63,0 q 4,8 19.5,36.5t 22.25,45.5t 6.75,30q0,22.5 -0.5,37t-2.75,38.5t-8.25,41.25t-15,27.25l-106.5,0 q 5-51.5 5-134\nq0-38.5 -9-73.5q 1-2 11-20.5t 14.5-28zM 192,512q-11-11 -18.25-32.75t-9.75-51.5t-3.25-47.5t-0.75-44.25q0-15 7-32.5t 22.5-44t 20-35.5l 93,0 q 4.5,8.5 20,35.25t 22.5,44.25t 7,32.5q0,26.5 -0.75,44.25t-3.25,47.5t-9.75,51.5t-18.25,32.75l-128,0 zM 209,128q-5.5-9.5 -8.5-16t-5.75-19.5t-2.75-28.5q0-26.5 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25q0,15.5 -2.75,28.5t-5.75,19.5t-8.5,16l-94,0 zM 133,480l-106.5,0 q-9-10 -15-27.25t-8.25-41.25t-2.75-38.5t-0.5-37q0-13 6.75-30t 22.25-45.5t 19.5-36.5l 63,0 q 3.5,7 7.75,15t 9.5,18t 8.25,15.5q-9,35 -9,73.5q0,83 5,134zM 61.5,192q 2.5-9 2.5-16q0-8.5 -2-16l 36,0 \nq-2,7.5 -2,16q0,7 2.5,16l-37,0 zM 44.5,128q-12.5-20 -12.5-48q0-23 12.75-35.5t 35.25-12.5t 35.25,12.5t 12.75,35.5q0,28 -12.5,48l-71,0 zM 222,192q 2-9 2-16q0-8.5 -1.5-16l 67,0 q-1.5,7.5 -1.5,16q0,7 2,16l-68,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"soup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 304,224q0,17.5 4.5,41.5q 0.5,2.5 8.25,17.75t 13.5,36.75t 5.75,48l-32,0 q0-0.5 -0.75-9t-2-17.75t-3-20t-4.25-20t-6-13.25q-11.5-12 -13.75-23.75t-2.25-40.25q0-40 18.75-68t 45.25-28q 7.5,0 16,3q-21,8.5 -34.5,34t-13.5,59zM 208,102q0,19 4.5,44.5q 27.5,31 27.5,84q0,87.5 -16,121.5\nq-16-72.5 -16-121.5q0-38.5 -4.5-44.5q-27.5-31 -27.5-84q0-42 18.75-72t 45.25-30q 7.5,0 16,3.5q-21,8.5 -34.5,36t-13.5,62.5zM 422.5,450.5q-10.5,25 -27.25,43.25t-35.25,18.25l-208,0 q-18.5,0 -35.5-18.5t-27.5-44q-8.5-5 -25.5-14.5t-25.5-14.5t-19-12.25t-15-13t-4-11.25l 512,0 q0,7.5 -4.5,14.5t-14.75,14t-19.25,11.75\nt-25.25,13t-25.75,13.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"foodtray\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25q0-94 58.25-160.25t 149.75-79.75q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75\nq 91.5,13.5 149.75,79.75t 58.25,160.25q0,6.5 -4.75,11.25t-11.25,4.75zM 16,416l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pretzel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-51.5,0 -99.25-17.5t-82-46.25t-54.5-67t-20.25-78.75q0-31 8.75-61.75t 24-56t 38.75-41t 50.5-15.75q 56.5,0 134,58q 77.5-58 134-58q 27,0 50.5,15.75t 38.75,41t 24,56t 8.75,61.75q0,40.5 -20.25,78.75t-54.5,67t-82,46.25t-99.25,17.5zM 357,362q-13-45.5 -39.75-89.25\nt-61.75-77.75q-34.5,33.5 -61,77.5t-39.5,89.5q 47,22 101,22t 101-22zM 64,244.5q0,41 33.5,76.5q 16-45.5 43.75-87.75t 63.75-73.75q-53-31.5 -77-31.5q-17,0 -29.75,10.25t-20,27.75t-10.75,37.25t-3.5,41.25zM 384,128q-24,0 -77,31.5q 36,31.5 63.75,73.75t 43.75,87.75q 33.5-35.5 33.5-76.5\nq0-29 -6.5-54.5t-21.5-43.75t-36-18.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chef\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479,223q-7.5,8 -15.5,17t-20.25,24t-19.75,30t-7.5,26q0,13.5 -46.75,22.75t-113.25,9.25t-113.25-9.25t-46.75-22.75q0-14.5 -13.5-36.25t-25.25-35t-23.25-24.75q-34-33 -34-80q0-46.5 32.75-79.25t 79.25-32.75q 11.5,0 24,2.5q-8,20.5 -8,45.5q0,53.5 33,89q-1-27 -1-57q0-46.5 28-79.25\nt 68-32.75t 68,32.75t 28,79.25q0,30.5 -1,57q 33-35.5 33-89q0-25 -8-45.5q 12.5-2.5 24-2.5q 46.5,0 79.25,32.75t 32.75,79.25t-33,79zM 255.75,384q 66.25,0 113.25-9.5t 47-22.5l0,32 l0,96 q0,13 -47,22.5t-113.25,9.5t-113-9.5t-46.75-22.5l0-96 l0-32 q0,13.5 46.75,22.75t 113,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taco\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,165.5l-340.5,342q-5,4.5 -11.5,4.5t-11.5-4.5q-41.5-42 -61.75-93.5t-18.5-101t 21.25-95.5t 54-80q 34.5-33.5 80.5-52.5t 95.25-21t 100.5,18t 92.25,61q 4.5,4.5 4.5,11.25t-4.5,11.25zM 30.5,376.5q-40.5-80.5 -27-163.25t 71.5-139.75t 141-70t 163,27q-39,0.5 -71.5,3.5t-69.25,11t-69,24.5t-56.75,40.5\nq-26,26 -43.25,57.25t-25.25,67.5t-10.75,68.25t-2.75,73.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hotdog\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504,371.5l-363.5-363.5q 6-6 20.25-7.25t 30.75,2.25t 34.25,12.5t 30.25,21.5l 219,219q 12.5,12.5 21.5,31t 12.75,35.25t 2.5,30.75t-7.75,18.5zM 494,494q-18,18 -43.5,18t-43.5-18l-389-389q-18-18 -18-43.5t 18-43.5t 43.5-18t 43.5,18l 389,389q 18,18 18,43.5t-18,43.5zM 371.5,503.5q-4.5,7 -18.5,8.25t-30.75-2.5\nt-35.25-12.75t-31-21.5l-218.5-219q-12.5-12.5 -21.75-31t-12.75-35.5t-2.25-30.75t 7.75-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tea\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 339,416l-166,0 q-23.5-16.5 -44.5-38q-17,6 -32.5,6q-40,0 -68-28.25t-28-67.75q0-31.5 18.5-56.5t 47.5-34.5q 0.5-3.5 0.5-5l 189.5,0 l0,73.5 l-64,37l 47,81.5l 81-47l-32-55.5l0-89.5 l 157.5,0 q 2.5,17.5 2.5,64q0,22.5 -10.5,47t-27.5,45.5t-34.75,37.75t-36.25,29.75zM 64,256q0-7 0.5-23.5q-15,8.5 -23.75,23.25\nt-8.75,32.25q0,26.5 18.75,45.25t 45.25,18.75q 2,0 8-1q-40-50.5 -40-95zM 288,96q0,11.5 4.5,27.5q 19.5,13.5 25.5,36.5l-32,0 q-1-7 -2.5-12q-27.5-19 -27.5-52q0-26.5 18.75-45.25t 45.25-18.75q 7,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 192,64q0,11.5 4.5,27.5q 27.5,19.5 27.5,52.5q0,7 -2.5,16l-32,0 q 2.5-9 2.5-16\nq0-12 -4.5-28q-27.5-19 -27.5-52q0-26.5 18.75-45.25t 45.25-18.75q 7.5,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 384,512l-256,0 q-27.5,0 -58-10.75t-50.25-26t-19.75-27.25l 512,0 q0,12 -19.75,27.25t-50.25,26t-58,10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"donut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,160q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68\nt-28-68t-68-28zM 432,287.5q-18,0 -31.25,8.5t-16.75,24q0,32 15,50.5q 1,7 1,13.5q0,10 -15.25,21t-32.75,11q-18,0 -33-10.25t-15-21.75q0-3 1-9.5q-23.5,9.5 -49,9.5q-1,0 -8-0.5q 8,17 8,32.5q0,10 -15.25,21t-32.75,11q-18,0 -33-10.25t-15-21.75q0-14.5 7.5-38.5q 10-5.5 16.5-15.5\nq-39-27 -51.5-72.5q-16,3.5 -26.25,16.5t-10.25,29.5q0,5.5 1.5,11q-0.5,0 -0.75,0.25l-0.25,0.25l 3,4.5q 9.5,13.5 14.25,21t 9.5,20t 4.75,23.5q0,4.5 -4.25,6.75t-12.75,4.25q 63,53 145,53q 77.5,0 138-47.75t 79-121.25q-6.5-10.5 -17.25-17t-23.75-6.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 343.5,279.5q-5,5 -14,7.5l-88.5,88.5q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 79-78.5l-79-79q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 89,89q 8.5,2 13.5,7q 9.5,9.5 8,24\nq 1.5,14 -8,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 335,312l-79-78.5l-78.5,78.5q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 88.5-88.5q 2.5-9 7.5-14q 9.5-9.5 23.5-8q 14.5-1.5 24,8q 5,5 7,13.5l 89,89q 8.5,8.5 8.5,20.5t-8.5,20.5t-20.5,8.5t-20.5-8.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circledown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 287,330q-2,8.5 -7,13.5q-9.5,9.5 -24,8q-14,1.5 -23.5-8q-5-5 -7.5-14l-88.5-88.5q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 78.5,79l 79-79q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 312,375.5q-8.5,8.5 -20.5,8.5t-20.5-8.5l-88.5-88.5q-9-2.5 -14-7.5q-9.5-9.5 -8-23.5q-1.5-14.5 8-24q 5-5 13.5-7l 89-89q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5l-78.5,79l 78.5,78.5q 8.5,8.5 8.5,20.5\nt-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vendetta\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 466.5,352q-12.5,30 -38.5,60.25t-54,51.5t-55.5,34.75t-45,13.5q-24.5,0 -62.25-22.5t-74.5-60.25t-56.75-77.25q-16-32 -16-224q0-32 16.5-57t 45.75-40.25t 66.5-23t 81-7.75t 80.5,7.75t 65.25,23t 44.5,40.25t 16,57q0,192 -13.5,224zM 272,480q 5.5,0 9.25-10.5t 5-27t 1.5-25.25t 0.25-17.25\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,8.5 0.25,17.25t 1.5,25.25t 5,27t 9.25,10.5zM 160,96q-26.5,0 -45.25,12.25t-18.75,29.25q0,1.5 1,5.5q 3-11.5 21.25-21.25t 41.75-9.75q 18,0 39.25,5.75t 38.25,17.25t 18,25l 0.25-0.75l 0.25-0.75q0-19.5 -17-34.5t-38.25-21.5t-40.75-6.5zM 128,176\nq0,6.5 14,11.25t 34,4.75t 34-4.75t 14-11.25t-14-11.25t-34-4.75t-34,4.75t-14,11.25zM 272,288q-16.5,0 -29.25-6.75t-17.25-17.25q-1.5,4.5 -1.5,8q0,10 8.75,18.25t 22.75,11.75q-21.5,18 -55.5,18q-26,0 -46-11.25t-24.5-28.25q-1.5,4.5 -1.5,7.5q0,23 22.5,35.5t 57.5,12.5q 39,0 64-13.5q 25,13.5 64,13.5\nq 35,0 57.5-12.5t 22.5-35.5q0-3 -1.5-7.5q-4.5,17 -24.5,28.25t-46,11.25q-34,0 -55.5-18q 14-3.5 22.75-11.75t 8.75-18.25q0-3.5 -1.5-8q-4.5,10.5 -17.25,17.25t-29.25,6.75zM 416,176q0-6.5 -14-11.25t-34-4.75t-34,4.75t-14,11.25t 14,11.25t 34,4.75t 34-4.75t 14-11.25zM 384,96q-19.5,0 -40.75,6.5t-38.25,21.5\nt-17,34.5l 0.25,0.75l 0.25,0.75q 1-13.5 18-25t 38.25-17.25t 39.25-5.75q 23.5,0 41.75,9.75t 21.25,21.25q 1-4 1-5.5q0-17 -18.75-29.25t-45.25-12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"parentheses\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-32,0 q 64-80 64-256t-64-256l 32,0 q 45.5,42.5 70.75,108.25t 25.25,147.75t-25.25,147.75t-70.75,108.25zM 96,0l 32,0 q-64,80 -64,256t 64,256l-32,0 q-45.5-42.5 -70.75-108.25t-25.25-147.75t 25.25-147.75t 70.75-108.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webplatform\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 493.5,493.5q-19,18.5 -45.5,18.5q-2,0 -8-1l-2,0 l-2,0 q-20.5-4 -35-20l-145-144.5l-145,144.5q-14.5,16 -35,20l-2,0 l-2,0 q-6,1 -8,1q-26.5,0 -45.5-18.5q-20.5-21 -18.5-51l0-378 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,228.5 l 82-82q 19-19 46-18.5q 27-0.5 46,18.5l 82,82l0-228.5 \nq0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,378 q 2,30 -18.5,51zM 64.25,32.5q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 64.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 255.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 447.75,32.5q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 447.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5\nt-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"visa\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 l 512,0 l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM0,96q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 l-512,0 l0-32 zM 164.5,320l 26-160l 41.5,0 l-26,160l-41.5,0 zM 429,160l 33.5,0 l 33.5,160l-38.5,0 l-9.5-16l-48,0 l-9,16l-43.5,0 l 62-148l 0.5-1.25t 2-3t 3.5-3.5\nt 5.5-3t 8-1.25zM 448,272l-14.5-68.5l-17.5,68.5l 32,0 zM 279,320q-12.5,0 -24.5-2.25t-17-4.25l-5.5-2l 6-35q 8.5,7 25,9.75t 30.25-0.5t 13.75-13.25q0-6.5 -9-12.75t-20-10.75t-20-14.5t-9-23.5q0-14.5 7.75-25.5t 19.75-16t 22.5-7.25t 20-2.25q 8.5,0 18,1.75t 14.5,3.25l 5,1.5l-6,33.5q-13-8 -35.75-7.25\nt-22.75,12.75q0,6 9.25,11.75t 20.25,10.5t 20,15.25t 9,24q0,18 -12.25,30.75t-27.75,17.5t-31.5,4.75zM 51,160q 8,0 12.75,3.75t 5.75,7.25l 1,3.5l 14,72l 5,23.5l 39.5-110l 45,0 l-66.5,160l-43.5,0 l-36-139q-11-6.5 -28-12l0-9 l 51,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"angrybirds\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320q0,54.5 -34,101.5q 4.5,26.5 -4.5,24.5q-2.5-0.5 -6.5-4.5q-0.5-0.5 -1.75-1.5t-1.25-1.5q-31.5,34.5 -77.5,54t-98.5,19.5q-78.5,0 -139-41.5t-78.5-105.5q-40.5-7 -62-16q-5-2.5 -7.25-5t-1-6t 2.75-6.25t 5.5-7.75l 2.5-2.5q 0.5-0.5 2.75-3.75t 2.75-3.75t 2.75-3t 3-3l 3-2t 3.5-1.5t 3.5-0.25t 4.5,0.25t 4.75,2q 7.5,3 22.5,12.5\nq0-8 1-16q-13-11.5 -26.75-27t-18.75-23q-1.5-2 -2.25-3.75t-1.25-3.25t0-3t 0.75-2.5t 1.75-2.25t 2-1.75t 2.75-1.75t 3-1.5t 3.75-1.5t 3.5-1.75q 1-0.5 4.25-2t 4-1.75t 3.5-1.25t 3.75-1t 3.25-0.25t 3.5,0.5t 3,1.5t 3.25,2.5t 3,4.25q 4,6 11.5,21q 18-50 58.25-90.25t 91.75-57.25q-11-3 -26.75-3t-26.25-1t-13.5-6q-1.5-2.5 -2.25-4.25\nt-0.75-3.5l0-3 t 1.25-2.75t 1.75-2.25t 3-2.25t 3.5-2.25t 4.5-2.5l 4.5-2.25q 12.5-6.5 27-7t 29,4.5t 27.5,11.75t 25.5,15.75l 1.75,0 l 1.75,0 q 3,0 17,1l-1-1q-6.5-13 -19-25.75t-20.75-21.75t-8.25-16.5q0-13 9.5-22.5t 22.5-9.5q 16.5,0 31.5,9.75t 25.5,24t 19,31.5t 12.75,31t 6.25,24.25q 52,27.5 87,76.5l 10-5l 32,48l-15.5,6\nq 15.5,38 15.5,74zM 448,400q0-7 -22.5-27.5t-29.5-20.5q-10.5,0 -27.25,4.75t-16.75,11.25q0,5.5 2.5,9t 8.25,5t 9.75,1.75t 11.5,0.25q 16.5,0 50,14.5q 14,6.5 14,1.5zM 388,448q 12,0 39.5-27.5q-12.5-4 -27.75-7.75t-34.5-7.5t-25.75-5.25q 7,15 24,31.5t 24.5,16.5zM 454,261.5l-66.5,25.5q-3.5,8.5 -3.5,17\nq0-8.5 -3.5-17l-66.5-25.5q-12,6.5 -19,17.75t-7,24.75q0,20 14,34t 34,14t 34-14t 14-34q0,20 14,34t 34,14t 34-14t 14-34q0-13.5 -7-24.75t-19-17.75zM 432,320q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 336,320q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"drwho\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467.5,86.5l0,336.5 q0,6.5 13.5,16q 8.5,5.5 4.5,8l-2,1l-166,60q-17,7 -29.5,2.25t-12.5-18.75l0-470.5 q0-14 12.5-19t 29.5,1.5l 22,8l0,388.5 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-376.5 l 32,11.5l0,333 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-321.5 l 48,17.5q 6.5,2.5 -1,7\nq-13,7.5 -14.5,12.5q-0.5,1.5 -0.5,3zM 201.5,508l-166-60q-6.5-3 1.5-8.5q 12.5-9 14-13.5q 0.5-1.5 0.5-3l0-336.5 q0-7 -13.5-14.5q-8-5 -4.5-7l 2-1l 166-60.5q 17-6.5 29.5-1.5t 12.5,19l0,470.5 q0,13.5 -12.5,18.5t-29.5-2zM 147.5,112q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,288 q0,6.5 4.75,11.25t 11.25,4.75\nt 11.25-4.75t 4.75-11.25l0-288 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"warcraft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,380l0,84 q0,6.5 -4.75,11.25t-11.25,4.75l-84,0 q-58,32 -124,32t-124-32l-84,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-84 q-32-58 -32-124t 32-124l0-84 q0-6.5 4.75-11.25t 11.25-4.75l 84,0 q 58-32 124-32t 124,32l 84,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,84 q 32,58 32,124t-32,124zM 256,64\nq-42,0 -79,17t-64,47l 47,0 l 32,0 l-25.5,25.5l 37.5,151.5l 52-145l 51.5,145l 38-151.5l-25.5-25.5l 32,0 l 47,0 q-27-30 -64-47t-79-17zM 413.5,146.5l-3,3l-53,213l 10.5,21.5l-16,0 l-16,0 l-48,0 l-16,0 l 9.5-19l-25.5-77l-25.5,77l 9.5,19l-16,0 l-48,0 l-16,0 l-16,0 l 10.5-21.5l-53-213l-3-3q-34.5,50 -34.5,109.5\nq0,52 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25q0-59.5 -34.5-109.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alienware\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-19.5,0 -44.5-14.25t-50.75-41.25t-47.5-61.5t-35.5-79.75t-13.75-91.25q0-48.5 12.25-89t 35.75-70.75t 60.25-47.25t 83.75-17t 83.75,17t 60.25,47.25t 35.75,70.75t 12.25,89q0,46 -13.75,91.25t-35.5,79.75t-47.5,61.5t-50.75,41.25t-44.5,14.25zM 192,320q-18.5-23.5 -44.5-35.75t-51.5-12.25\nq0,23.5 14,55.25t 34,56.75q 9.5,11.5 18.25,18.5t 20,9.75t 18.75,3.25t 23,0.5q0-56 -32-96zM 320,320q-32,40 -32,96q 15.5,0 23-0.5t 18.75-3.25t 20-9.75t 18.25-18.5q 20-25 34-56.75t 14-55.25q-25.5,0 -51.5,12.25t-44.5,35.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"monstersinc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,448l-21.5-96l-26.5,96l-96,0 l-26.5-96l-21.5,96l-160,0 l 64-384l 160,0 l 32,96q-46.5,0 -85.25,26.25t-58.75,69.75q 20,43.5 58.75,69.75t 85.25,26.25t 85.25-26.25t 58.75-69.75q-20-43.5 -58.75-69.75t-85.25-26.25l 32-96l 160,0 l 64,384l-160,0 zM 256,320q-26.5,0 -45.25-18.75\nt-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"walle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 416,320l-240,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 208,0 l0-64 l-208,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 240,0 l0-64 l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"halo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 285,224l 19,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-19,0 q-5,14 -17.25,23t-27.75,9q-20,0 -34-14t-14-34t 14-34t 34-14q 15.5,0 27.75,9t 17.25,23zM 496,256l-17,0 q-4.5,50.5 -35.75,93.25t-80.75,68.75t-106.5,29.5l0,16.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75\nt-4.75-11.25l0-49 q-53-4 -96-29.5l0-38 q 48.5,36.5 112,36.5q 37,0 68.5-7.75t 55.75-23t 38-40.25t 13.75-57q0-43.5 -23.5-80.25t-64-58.25t-88.5-21.5t-88.5,21.5t-64,58.25t-23.5,80.25l-32,0 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 19,0 q 9-49 42.5-87.75t 82.5-57.25l0-26.5 q 46-20.5 96-20.5\nq 58,0 107.75,25.5t 80.5,69.5t 34.75,97l 17,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"halflife\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 304,384l-46.5-149l-81.5,149l-48,0 l 114-199l-8-25l-42,0 l0-32 l 32,0 l 32,0 l 16,0 l 71.5,200l 40.5-8l 16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"atari\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,480q-51.5,0 -92.25-26t-62.25-69.5t-21.5-96.5l0-240 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,176 q0,36.5 10.25,68.75t 26.5,54.25t 35.75,38t 38,23.5t 33.5,7.5q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,480l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-416 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,416 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,480q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75q 15,0 33.5-7.5t 38-23.5t 35.75-38t 26.5-54.25t 10.25-68.75l0-176 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,240 \nq0,53 -21.5,96.5t-62.25,69.5t-92.25,26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zelda\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 506,480l-244,0 q-10-9 -3.5-15.5l 116-205q 4-3.5 9.5-3.5t 9.5,3.5l 116,205q 6.5,6 -3.5,15.5zM 134,256q-10-9 -3.5-15.5l 116-205q 4-3.5 9.5-3.5t 9.5,3.5l 116,205q 6.5,6 -3.5,15.5l-244,0 zM 253.5,464.5q 6.5,6 -3.5,15.5l-244,0 q-10-9 -3.5-15.5l 116-205q 4-3.5 9.5-3.5t 9.5,3.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"oneup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l0,32 q0,42 -25,69t-71,27l-192,0 q-46,0 -71-27t-25-69l0-32 q-24,0 -44-20t-20-44l0-64 q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l0,64 q0,24 -20,44t-44,20zM 96,416q0,26.5 18.75,45.25t 45.25,18.75l 192,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-35 l-0.5,0 l-0.5,0 q-3.5-11 -25.75-20t-37.25-9l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 q-15,0 -37.5,9t-25.5,20l-0.5,0 l-0.5,0 l0,35 zM 73.5,129q-41.5,59 -41.5,127l0,21 \nq 15,11 32,11q 26.5,0 45.25-23.5t 18.75-56.5q0-30 -15.75-52.25t-38.75-26.75zM 223,35q-66,10 -116.5,56.5q 8.5,17 22.75,26.75t 30.75,9.75q 26.5,0 45.25-23.5t 18.75-56.5q0-5.5 -1-13zM 160,240q0,33 28,56.5t 68,23.5t 68-23.5t 28-56.5t-28-56.5t-68-23.5t-68,23.5t-28,56.5zM 289,35\nq-1,7.5 -1,13q0,33 18.75,56.5t 45.25,23.5q 16.5,0 30.75-9.75t 22.75-26.75q-50.5-46.5 -116.5-56.5zM 480,256q0-68 -41.5-127q-23,4.5 -38.75,26.75t-15.75,52.25q0,33 18.75,56.5t 45.25,23.5q 16.5,0 32-11l0-21 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"oneupalt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-80 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nl0-160 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 16,0 \nq 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 96,432q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-16 \nq0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 176,192q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l-16,0 zM 112,160l-16,0 l0-16 q0-6.5 -4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75zM 224,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-48,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 \nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pisces\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64q-96,23.5 -96,192t 96,192q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5q-48-8 -83.25-40t-53.25-78.5t-22.5-105.5l-130,0 q-4.5,59 -22.5,105.5t-53.25,78.5t-83.25,40q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 96-23.5 96-192t-96-192q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5\nt 22.5-9.25q 48,8 83.25,40t 53.25,78.5t 22.5,105.5l 130,0 q 4.5-59 22.5-105.5t 53.25-78.5t 83.25-40q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aquarius\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 452.5,208l-72-95.5l-98.5,99l-0.25,0.25l-0.25,0.25l-3.5,3l-0.5,0.5l-0.75,0.75l-1.75,1.75t-2.5,2q-2,1 -5,2q-5,2 -10.5,2l-2.5,0 q-4,0 -8-1.5q-3.5-1 -7.5-3.5q-2-1.5 -2.5-1.75t-1.75-1t-1.75-1.25q-5-5 -7.5-13l-44.5-88.5l-126.5,101.5q-9.5,9.5 -22.75,9.5t-22.5-9.5t-9.25-22.75t 9.5-22.25l 160.5-129\nq 9.5-9 22.5-9t 22.5,9q 1.5,1.5 4.5,7l 0.5,0.5l 0.5,0.5q 1.5,4 2,4l 42.5,85l 96.5-97q 9.5-9 22.75-9t 22.75,9q 1.5,1.5 4.5,7l0,0.25 t 0.5,0.25l 95.5,127.5q 7,11.5 3.5,24.25t-15,19.5t-24.25,3.25t-19.25-15zM 170,297q 9.5-9.5 22.5-9.5t 22.5,9.5q 1.5,1.5 4.5,7l 0.25,0 t 0.25,0.5l 0.5,0.5q 1.5,3.5 2,4l 42.5,85l 97-97\nq 9-9.5 22.25-9.5t 22.75,9.5q 1.5,1.5 4.5,7l 0.5,0.5l 95.5,127q 7,11.5 3.5,24.5t-15,19.5t-24.25,3.25t-19.25-14.75l-72-95.5l-98.5,98.5l-0.5,0.5l-3.5,3q0,0.5 -0.5,0.75t-0.75,0.5l-1.75,1.75t-2.5,2q-2,1 -5,2q-5,2 -10.5,2q-1.5,0.5 -2.5,0.5q-3.5-0.5 -8-1.5q-3.5-1.5 -7.5-4q-2-1 -2.5-1.5t-1.75-1.25t-1.75-1.25\nq-5-4.5 -7.5-12.5l-44.5-89l-126.5,101.5q-9.5,9.5 -22.75,9.5t-22.5-9.25t-9.25-22.5t 9.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"capricorn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,480q-46,0 -80-32.5q-47,64.5 -128,64.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 10.5,0 16.25-0.25t 15.5-2t 16.5-5.75t 15.5-10.75t 16.5-18.25t 15.75-27l-27.5-305.5q-29,31 -48.75,112t-19.75,161.5q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5q0-64.5 -12.75-130.75t-35.25-111.75t-48-45.5\nq-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 25,0 49.75,24t 43.75,61t 34.5,84.5q 21-65 49.75-110.5t 60.75-56q 6-3 12.5-3q 0.5,0 1.25,0.25t 1,0t 1.25-0.25l 1.5,0 l0,0.5 q 25,2.5 32,31.5l 22.5,246q 28-22 57.5-22q 46.5,0 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 400,320q-18.5,0 -33.25,20.5\nt-14.75,37q0,15 14.25,26.75t 33.75,11.75q 20,0 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sagitarius\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,288.5q-13.25,0 -22.75-9.5t-9.5-22.5l0-147 l-210.5,211l 73,73q 9.5,9.5 9.5,22.75t-9.5,22.75t-22.75,9.5t-22.75-9.5l-73.5-73l-136.5,136.5q-9.5,9.5 -22.75,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.75l 136.5-136.5l-72.5-73q-9.5-9.5 -9.5-22.75t 9.5-22.75t 22.75-9.5t 22.75,9.5l 73,72.5l 210-210l-146,0 \nq-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 224,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scorpio\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509,456.5l-46,52q-3,3.5 -7.5,3.5t-7.5-3.5l0-29 q-32-2.5 -60.25-13.5t-48-33t-19.75-51l0-196 l0-74 q0-20 -14-34t-34-14t-34,14t-14,34l0,55 l0,249 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-230 l0-74 q0-20 -14-34t-34-14t-34,14t-14,34l0,55 l0,249 q0,13.5 -9.25,22.75\nt-22.5,9.25t-22.75-9.25t-9.5-22.75l0-384 q0-13 9.5-22.5t 22.5-9.5q 11.5,0 20.25,7.25t 11.25,18.25q 27.5-25.5 64.5-25.5q 24.5,0 45.5,11.75t 34,31.75q 13.5-20 34.5-31.75t 46-11.75q 38,0 65.5,26t 30,63.5q 0.5,3.5 0.5,6.5l0,252 q0,17 6.5,30t 17.25,20.25t 20.25,10.75t 20,5.5l0-27 q 3-3.5 7.5-3.5t 7.5,3.5l 46,52q 3,3.5 3,8.5\nt-3,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"libra\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25q 7.5,0 23.25-25t 28.25-56.25t 12.5-46.75q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5q0,15.5 12.5,46.75t 28.25,56.25t 23.25,25q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5\nt 22.75-9.25l 75.5,0 q-19.5-30.5 -31.5-65.5t-12-62.5q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25q0,27.5 -12,62.5t-31.5,65.5l 75.5,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 32,448l 448,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-448,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"virgo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 460,389.5q-14,29.5 -37.5,53.5l 9,10.5q 11.5,6.5 15,19t-3.25,23.75t-19.75,14.75t-25-3q-12-9.5 -27-25q-23.5,14.5 -46.75,21.75t-36.75,7.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5q 20,0 46.5-14q-14.5-27.5 -14.5-52l0-195.5 l0-74.5 q0-19.5 -14.25-33.5t-34-14t-33.75,14t-14,33.5l0,304 \nq0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-229.5 l0-74.5 q0-19.5 -14-33.5t-34-14t-34,14t-14,33.5l0,55.5 l0,248.5 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-383.5 q0-13.5 9.25-22.75t 22.75-9.25q 11.5,0 20.25,7.25t 11.25,18.25q 27.5-25.5 64.5-25.5q 24.5,0 45.5,11.75t 34,31.75\nq 13-20 34.25-31.75t 46.25-11.75q 32,0 57.25,19.25t 33.75,49.25q 23-20.5 52.5-20.5q 32.5,0 55.5,23t 24.5,56l0,0.5 q0,1.5 0.25,16.25t 0.25,24.5t-1,29.5t-2.75,35.25t-5.75,37.5t-9.25,40.25t-13.75,39.25t-19.5,39zM 415.5,96.5q-32,0 -32,47.5l0,204 q0,17.5 7,37.5q 16-20.5 26.5-43q 21.5-47.5 30.5-112.5l0-86 \nq0-47.5 -32-47.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"leo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,512q-46.5,0 -79.25-42.25t-32.75-101.75l0,0 l0,0 q0-5.5 0.5-14.25t 4.5-30.25t 11-35.5q 16-32 16-80l0-32 q0-46.5 -32.75-79.25t-79.25-32.75t-79.25,32.75t-32.75,79.25q0,26 11.25,48.75t 31.25,38.75q 38,13.5 61.75,46.25t 23.75,74.25q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5\nq0-41.5 24.25-74.75t 62.75-46.25q-23-40.5 -23-87q0-48 23.5-88.5t 64-64t 88.5-23.5t 88.5,23.5t 64,64t 23.5,88.5l0,48 q0,16.5 -16,57.25t-16,54.75l0,32 q0,33 14,56.5t 34,23.5q 21.5,0 48-22l0,75 q-25.5,11 -48,11zM 64,384q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25\nt-45.25-18.75t-45.25,18.75t-18.75,45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cancer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 272,480q 16-32 16-80q 46-26.5 80.75-64.75t 54.75-85.75q-19.5,6.5 -39.5,6.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,50 -14.25,99.25t-38.25,89.75t-54.75,74.5t-65,56.5t-67.75,32zM 384,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75\nt 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 88.5,262.5q 19-6.5 39.5-6.5q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5q0-50 14.25-99.25t 38.25-89.75t 54.75-74.5t 65-56.5t 67.75-32q-16,32 -16,80q-46,26.5 -80.75,64.75t-54.75,85.75zM 64,384q0,26.5 18.75,45.25\nt 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gemini\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-64,0 q-3.5,11 -8.75,29.5t-14.25,69.25t-9,93.25q0,27 3.25,56.5t 8,52.75t 9.5,42.25t 8,30t 3.25,10.5l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 3.5-11 8.75-29.5t 14.25-69.25t 9-93.25q0-27 -3.25-56.5\nt-8-52.75t-9.5-42.25t-8-30t-3.25-10.5l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 164,64q 3,11 7.75,29.5t 12.5,69.25t 7.75,93.25q0,90.5 -27,189l-1,3l 184,0 q-3-11 -7.75-29.5t-12.5-69.25t-7.75-93.25q0-90.5 27-189l 1-3\nl-184,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taurus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,96q-6,0 -11-5t-5-11q0-6.5 -10.5-11.25t-21.5-4.75q-8,0 -15.5,3.25t-14.75,10.75t-13.25,15t-13.25,20.75t-12.25,22.75t-12,26.75t-11,27t-11.5,28.25q 33,22 52.25,57.25t 19.25,76.25q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5t-80.25-21.5t-58.25-58.25t-21.5-80.25\nq0-41 19.25-76.25t 52.25-57.25q-7.5-18.5 -11.5-28.25t-11-27t-12-26.75t-12.25-22.75t-13.25-20.75t-13.25-15t-14.75-10.75t-15.5-3.25q-11,0 -21.5,4.75t-10.5,11.25q0,6 -5,11t-11,5t-11-5t-5-11q0-35 16.25-57.5t 47.75-22.5q 18.5,0 35.75,8.25t 30.75,20.25t 26.5,30.75t 21.75,35t 17.75,38t 13.5,34.5\nt 10,29.25q 18.5-4 36-4t 36,4q 5.5-16.5 10-29.25t 13.5-34.5t 17.75-38t 21.75-35t 26.5-30.75t 30.75-20.25t 35.75-8.25q 31.5,0 47.75,22.5t 16.25,57.5q0,6 -5,11t-11,5zM 160,352q0,40 28.25,68t 68,28t 67.75-28t 28-68t-28-68t-67.75-28t-68,28t-28.25,68z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aries\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,160q-12,0 -22-10t-10-22q0-28 -16.25-46t-47.75-18q-15.5,0 -38.5,25.75t-40.25,60.5t-17.25,57.75l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0.5 l0,0 l0,0 l0,0 l0,0.5 l0,0 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0.5 l0,0 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 \nl0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 \nl0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 \nl0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 \nl0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 \nl0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,4.5 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 \nl0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 \nl0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 \nl0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1.5 l0-1 l0-1 l0-1 l0-4.5 q0-23 -17.25-57.75t-40.25-60.5t-38.5-25.75q-31.5,0 -47.75,18t-16.25,46q0,12 -10,22t-22,10t-22-10t-10-22q0-54.5 35-91.25t 93-36.75q 16,0 34.25,10.5t 35.25,28.25\nt 31,36.5t 27.5,39.75q 13.5-21 27.5-39.75t 31-36.5t 35.25-28.25t 34.25-10.5q 58,0 93,36.75t 35,91.25q0,12 -10,22t-22,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"signal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,416l-48-42q 47.5-54.5 47.5-126.5t-47.5-126l 48-42.5q 30,34.5 46.75,77.75t 16.75,90.75t-16.75,90.75t-46.75,77.75zM 376.5,353l-48.5-42.5q 24-27.5 24-63t-24-63l 48.5-42q 39.5,45 39.5,105t-39.5,105.5zM 256,311.5q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75zM 135.5,353q-39.5-45.5 -39.5-105.5t 39.5-105l 48.5,42q-24,27.5 -24,63t 24,63zM 111.5,374l-48,42q-30-34.5 -46.75-77.75t-16.75-90.75t 16.75-90.75t 46.75-77.75l 48,42.5q-47.5,54 -47.5,126t 47.5,126.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flowernew\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-41,0 l 22.5,23q 18.5,18 18.5,43.25t-18.25,43.5t-43.5,18.25t-43.75-18l-22.5-23l0,41 q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25l0-41.5 l-23,23.5q-18.5,18 -43.75,18t-43.5-18.25t-18.25-43.5t 18.5-43.25l 22.5-23l-40.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 41,0 l-23-23\nq-18-18 -18-43.5t 18-43.5t 43.5-18t 43.5,18l 23,23l0-41 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,40.5 l 23-23q 18-18 43.25-18t 43.5,18.25t 18.25,43.5t-18,43.75l-23.5,23l 41.5,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 256,160q-40,0 -68,28t-28,68t 28.25,68\nt 68,28t 67.75-28.25t 28-68t-28-67.75t-68-28zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gearfour\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-51,0 q-3,18 -9,35l 44,25.5q 5.5,3 7.25,9.5t-1.75,12l-16,28q-3,5.5 -9.5,7.25t-12-1.75l-44-25q-11.5,14 -25.5,25.5l 25,44q 3.5,5.5 1.75,12t-7.25,9.5l-28,16q-5.5,3.5 -12,1.75t-9.5-7.25l-25.5-44q-17,6 -35,9l0,51 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-51 q-18-3 -35-9l-25.5,44q-3,5.5 -9.5,7.25t-12-1.75l-28-16q-5.5-3 -7.25-9.5t 1.75-12l 25-44q-14-11.5 -25.5-25.5l-44,25q-5.5,3.5 -12,1.75t-9.5-7.25l-16-28q-3.5-5.5 -1.75-12t 7.25-9.5l 44-25.5q-6-17 -9-35l-51,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 51,0 q 3-18 9-35l-44-25.5q-5.5-3 -7.25-9.5t 1.75-12l 16-28q 3-5.5 9.5-7.25t 12,1.75l 44,25q 11.5-14 25.5-25.5l-25-44q-3.5-5.5 -1.75-12t 7.25-9.5l 28-16q 5.5-3.5 12-1.75t 9.5,7.25l 25.5,44q 17-6 35-9l0-51 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,51 \nq 18,3 35,9l 25.5-44q 3-5.5 9.5-7.25t 12,1.75l 28,16q 5.5,3 7.25,9.5t-1.75,12l-25,44q 14,11.5 25.5,25.5l 44-25q 5.5-3.5 12-1.75t 9.5,7.25l 16,28q 3.5,5.5 1.75,12t-7.25,9.5l-44,25.5q 6,17 9,35l 51,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,416\nq 48,0 88-26.5l-47-47q-20,9.5 -41,9.5t-41-9.5l-47,47q 40,26.5 88,26.5zM 320,256q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 122.5,168q-26.5,40 -26.5,88t 26.5,88l 47-47q-9.5-20 -9.5-41t 9.5-41zM 256,96q-48,0 -88,26.5\nl 47,47q 20-9.5 41-9.5t 41,9.5l 47-47q-40-26.5 -88-26.5zM 389.5,168l-47,47q 9.5,20 9.5,41t-9.5,41l 47,47q 26.5-40 26.5-88t-26.5-88z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"keyboarddelete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-320,0 l0-0.5 q-12.5,0.5 -21.5-8.5l-129.5-129.5q-9-9 -9-21.75t 9-21.25l 129.5-129.5q 10-10 24-9l 317.5,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 441.5,196q 6-6.5 6-15t-6-14.75t-14.75-6.25t-14.75,6.5l-60,60l-60-60q-6.5-6.5 -15-6.5t-14.75,6.25\nt-6.25,14.75t 6.5,15l 60,60l-60,60q-6.5,6.5 -6.5,15t 6.25,14.5t 14.75,6t 15-6l 60-60l 60,60q 6,6 14.75,6t 14.75-6t 6-14.5t-6-15l-60-60z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"macpro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-8,0 -16.75-2.75t-11.25-6.75l-33.5-54.5l-261,0 l-33.5,54.5q-2.5,4 -11.5,6.75t-16.5,2.75l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 q 7.5,0 16.5,2.75t 11.5,6.75l 33.5,54.5l 261,0 l 33.5-54.5q 2.5-4 11.25-6.75t 16.75-2.75l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 \nq0,13.5 -9.5,22.75t-22.5,9.25zM 256,224q-13,0 -22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.25t 9.5-22.75t-9.5-22.75t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taxi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,439l0,41 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-320,0 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-41 q-14.5-8.5 -23.25-23t-8.75-32l0-96 q0-15.5 13.75-35.75t 33.75-36.75l 16.5-55.5q0-26.5 18.75-45.25t 45.25-18.75l 36.5,0 l 183,0 l 36.5,0 q 26.5,0 45.25,18.75t 18.75,45.25\nl 16.5,55.5q 20,16.5 33.75,36.75t 13.75,35.75l0,96 q0,17.5 -8.75,32t-23.25,23zM 64,352.25q0,13.25 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75zM 400,192q0-13 -9.25-22.5t-22.75-9.5l-224,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-16,32q0,13.5 9.5,22.75t 22.5,9.25\nl 256,0 q 13,0 22.5-9.25t 9.5-22.75zM 415.75,320q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 173.5,64l 14.5-53q 2-4.5 7-7.5t 10.5-3l 102.5,0 q 5,0 10,3t 7,7.5l 14,53l-165.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lastfm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,128q-20,0 -34,14t-14,34q0,19 21.25,33.5t 42.75,14.5q 40,0 68,28t 28,68t-28,68t-68,28q-24.5,0 -45.5-13.25t-34.5-34.75q-24.5-64.5 -48-112q-11-21.5 -23-41.5t-18.5-29.5l-6.5-9q-4.5-14.5 -30-31.25t-50-16.75q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5l 22.5,22.5\nq-22,22.5 -51.25,34.75t-61.75,12.25q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5q 32.5,0 66,19.75t 46,44.25q 23,30 48,80q 10,20.5 22,48.5t 19,45.5l 7,18q 20,32 48,32q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75q-34.5,0 -65.25-24\nt-30.75-56q0-33 23.5-56.5t 56.5-23.5q 34.5,0 57.25,19.5t 22.75,44.5l-32,0 q-5.5-13 -19.5-22.5t-28.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"grooveshark\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-35,0 -70.25,16.75t-61.75,43.25t-43.25,61.75t-16.75,70.25q0,18 3.75,31t 8.25,19.25t 12.5,9.5\nt 12.25,3.75t 11.25,0.5q 17.5,0 33.75-18t 30.25-46q 7-14 11-46t 4.5-57l 0.5-25q 7,3.5 19.5,10.75t 46.25,32t 62.25,53.25q 11,11 30.25,37.5t 35,42.5t 29.25,16q 7,0 10.5-0.5t 8.75-3.75t 7.75-9.5t 4.5-19t 2-31.25q0-35 -16.75-70.25t-43.25-61.75t-61.75-43.25t-70.25-16.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypeoffline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-18.5 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 448,256q0-52 -25.75-96.25t-70-70t-96.25-25.75q-25.5,0 -51,7q-13.5-18 -33.75-28.5t-43.25-10.5q-40,0 -68,28.25t-28,67.75q0,23 10.5,43.25t 28.5,33.75q-7,25.5 -7,51q0,52 25.75,96.25t 70,70t 96.25,25.75q 25.5,0 51-7q 13.5,18 33.5,28.5t 43.5,10.5q 39.5,0 67.75-28t 28.25-68\nq0-23 -10.5-43.25t-28.5-33.75q 7-25.5 7-51z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypebusy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-19 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 352,224l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.5t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.5t-9.5-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypeaway\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-19 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 367,289l-79-51.5l0-77.5 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,96 l0,0.5 l0,0.5 q-0.5,20.5 17,30l 92.5,60.5q 12,7 25.5,3.5t 20.5-15.75t 3.25-25.75t-15.75-20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypeonline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-19 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 374.25,169.75q-9.75-9.75 -23.25-9.75t-23.5,9.5l-103.5,104l-39.5-40q-10-9.5 -23.5-9.5t-23.25,9.75t-9.75,23.25t 9.5,23.5l 61.5,61.5q 10,10 25,9.5q 15,0.5 25-9.5l 125.5-125.5q 9.5-10 9.5-23.5t-9.75-23.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"glassesalt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,327.5q0,38 -7.25,62.25t-22.75,36.75t-34.25,17t-47.75,4.5t-47.75-4.5t-34.25-17t-22.75-36.75t-7.25-62.25l0-4 l0-3.5 q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5l0,7.5 q0,38 -7.25,62.25t-22.75,36.75t-34.25,17t-47.75,4.5t-47.75-4.5t-34.25-17t-22.75-36.75t-7.25-62.25q0-32.5 5-50.5\nq-10-14 -1.5-29l 108.5-171q 5.5-9.5 15.75-12.25t 19.5,2.75t 12,16.25t-2.75,20.25l-78,122.5q 21-2.5 49.5-2.5q 36,0 55.5,5.5t 28.5,17.5q 26.5,9 44,9t 44-9q 9-12 28.5-17.5t 55.5-5.5q 28.5,0 49.5,2.5l-78-122.5q-5.5-9.5 -2.75-20.25t 12-16.25t 19.5-2.75t 15.75,12.25l 108.5,171q 8.5,15 -1.5,29q 5,18 5,50.5zM 112,416\nq 28,0 45-6.75t 26-25.25l-142,0 q 9,18.5 26,25.25t 45,6.75zM 123.5,256q-40.5,0 -60,7.25t-26,24.75l 152,0 q-3.5-17.5 -17.75-24.75t-48.25-7.25zM 192,320l-160,0 l0,10 q0,11.5 1,22l 158,0 q 1-10.5 1-22l0-10 zM 400,416q 28,0 45-6.75t 26-25.25l-142,0 q 9,18.5 26,25.25t 45,6.75zM 388.5,256q-34,0 -48.25,7.25\nt-18.25,24.75l 152.5,0 q-6.5-17.5 -26-24.75t-60-7.25zM 480,320l-160,0 l0,10 q0,11.5 1,22l 158,0 q 1-10.5 1-22l0-10 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"theather\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 128,0 q0,46 -5.75,84.75t-18.25,71.75t-34.25,56.25t-51.75,34.25q 43,41 64.5,137l 283,0 q 21.5-96 64.5-137q-30-11 -51.75-34.25t-34.25-56.25t-18.25-71.75t-5.75-84.75l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 \nq0,13.5 -9.25,22.75t-22.75,9.25zM 120.5,416q 5,33.5 6.5,64l 258,0 q 1.5-30.5 6.5-64l-271,0 zM 192,0l 128,0 q0,74 15,128l-158,0 q 15-54 15-128z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"washer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,192q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,416q-40,0 -68-28t-28-68t 28-68t 68-28t 68,28\nt 28,68t-28,68t-68,28zM 448,96l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 144,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 208,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 272,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tictactoe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,27.5l-69,69l 68.5,68q 4.5,4.5 4.5,11.25t-4.75,11.5t-11.5,4.75t-11.25-5l-68-68l-68,68q-5,5 -11.75,5t-11.5-4.75t-4.75-11.5t 5-11.25l 68-68l-68.5-69q-5-4.5 -5-11.25t 4.75-11.5t 11.5-4.75t 11.75,5l 68.5,68.5l 68.5-68.5q 4.5-5 11.25-5t 11.5,4.75t 4.75,11.5t-4.5,11.25zM 480,224\nq 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 l0,192 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-192 l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 192,0 l0-191.5 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,191.5 l 192,0 zM 96.25,192q-39.75,0 -68-28t-28.25-67.75t 28.25-67.75t 68-28\nt 67.75,28t 28,67.75t-28,67.75t-67.75,28zM 96,32.5q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 4.75,324.75q 4.75-4.75 11.5-4.75t 11.25,4.5l 68.5,69l 68.5-69q 5-4.5 11.75-4.5t 11.25,4.75t 4.5,11.25t-4.5,11.5l-68.5,68.5l 68,68\nq 4.5,5 4.5,11.75t-4.5,11.25t-11.25,4.5t-11.75-4.5l-68-68l-68,68q-4.5,4.5 -11.25,4.5t-11.5-4.5t-4.75-11.25t 4.5-11.75l 68.5-68l-69-68.5q-4.5-5 -4.5-11.5t 4.75-11.25zM 415.75,320q 39.75,0 68,28.25t 28.25,68t-28.25,67.75t-68,28t-67.75-28t-28-67.75t 28-68t 67.75-28.25zM 416,480\nq 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dialpad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 443.5,375.5l-68,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68,0 q 14.5,0 24.5,10t 10,24l0,34.5 q0,14 -10,24t-24.5,10zM 443.5,239l-68,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68,0 q 14.5,0 24.5,10t 10,24l0,34.5 q0,14 -10,24t-24.5,10zM 443.5,102.5l-68,0 q-14,0 -24-10t-10-24l0-34.5 \nq0-14 10-24t 24-10l 68,0 q 14.5,0 24.5,10t 10,24l0,34.5 q0,14 -10,24t-24.5,10zM 273,512l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 273,375.5l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 \nq0,14 -10,24t-24,10zM 273,239l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 273,102.5l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 102.5,375.5l-68.5,0 \nq-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68.5,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 102.5,239l-68.5,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68.5,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 102.5,102.5l-68.5,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68.5,0 \nq 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"finder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-195.5,0 q 7.5,31 19.5,64l-32,0 q-13.5-19 -22.5-64l-249.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-352 q0-6.5 4.75-11.25t 11.25-4.75l 244,0 q 18-29.5 44-64l 32,0 q-5.5,9 -19.25,30.5t-21.25,33.5l 200.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,352 q0,6.5 -4.75,11.25t-11.25,4.75zM 32,96l0,320 l 228.5,0 q-2-16 -3.5-32l-0.5,0 l-0.5,0 \nq-75,0 -160-32l0-32 q 78,32 160,32q0-31 20-64l-68,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0,0 q0-84.5 49.5-176l-209.5,0 zM 480,96l-203.5,0 q-47.5,85 -52,160l 79.5,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,11.5 -11.5,15q-19.5,31.5 -20.5,63.5q 67-5.5 128-30.5l0,32 q-66,25 -126.5,30.5q 1.5,17.5 4,33.5l 186.5,0 l0-320 z\nM 368,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"polygonlasso\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,252l-188.5,125q-3,14.5 -13.25,24.75t-24.25,12.75l-59.5,89q-3.5,6 -9.75,7.75t-12-1.5t-7.5-10t 1.25-12.75l 53-78.5q-23-14 -23-41q0-10 4.5-20l-223.5-224q-5-5 -5-11.5q0-7.5 5-12.5l 63-95q 8-8 18.5-3.5l 0.5,0.5l 248.5,91.5l 148-88.5q 8-8 18.5-3.5q 6.5,2.5 9,9q 1,3 1,7l0,222.5 \nq 0.5,7.5 -4.5,12.5zM 348,123q-8,8 -18.5,3.5l0-0.5 l-0.5,0 l-243.5-89.5l-48,73l 214.5,215q 9.5-5 20-5q 26.5,0 40.5,23l 167.5-111.5l0-186.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lasso\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 319,376q-2.5,14.5 -12.75,25.25t-24.75,13.25l-59.5,89q-3.5,6 -10,7.75t-12-1.5t-7.25-10t 1.25-12.75l 53-78.5q-15.5-9.5 -20.5-26.5q-46.5-5 -89-25.5t-72.25-49t-47.5-63.5t-17.75-68.5q0-47.5 34.25-88t 93.25-64.25t 128.5-23.75t 128.5,23.75t 93.25,64.25t 34.25,88q0,41 -24.75,82.25\nt-69.5,73.25t-98.75,45zM 256,31.5q-61,0 -112.5,19.25t-81.5,52.5t-30,72.25q0,27.5 15.25,56.5t 41,53.25t 62.5,42t 76.75,22.75q 5.5-13.5 17.5-22t 27-8.5q 13,0 24.25,6.75t 17.25,18.25q 70.5-17.5 118.5-67.5t 48-101.5q0-39 -30-72.25t-81.5-52.5t-112.5-19.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emptycart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 28,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 152,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 28,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 403,189q-9.5,5.5 -20,2.5t-16-12.5l-75.5-139q-5.5-9.5 -2.75-20.25\nt 12.25-16.25t 20-2.5t 16,12.5l 75.5,139q 5.5,9.5 2.75,20.25t-12.25,16.25zM 145,179q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 75.5-139q 5.5-9.5 16-12.5t 20,2.5t 12.25,16.25t-2.75,20.25zM 448,480q-4,20 -14.75,26t-32.75,6l-287,0 q-22.5,0 -34-6t-15.5-26l-32-192l 448,0 zM 368,384l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addtocart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 28,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 152,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 28,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 403,189q-9.5,5.5 -20,2.5t-16-12.5l-75.5-139q-5.5-9.5 -2.75-20.25\nt 12.25-16.25t 20-2.5t 16,12.5l 75.5,139q 5.5,9.5 2.75,20.25t-12.25,16.25zM 145,179q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 75.5-139q 5.5-9.5 16-12.5t 20,2.5t 12.25,16.25t-2.75,20.25zM 448,480q-4,20 -14.75,26t-32.75,6l-287,0 q-22.5,0 -34-6t-15.5-26l-32-192l 448,0 zM 368,384l-48,0 l0-48 \nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handcuffs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512q-34.5,0 -63.75-17t-46.25-46q 14-31 14-65t-14-65q 17-29 46-46l0-65 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 q0-43.5 -17.25-80.25t-46.75-58.25t-64.25-21.5t-64.25,21.5t-46.5,58.25t-17,80.25l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,65.5 q 29,16.5 46.5,46t 17.5,64.5q0,53 -37.5,90.5t-90.5,37.5\nt-90.5-37.5t-37.5-90.5q0-35 17.5-64.5t 46.5-46l0-65.5 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q0-52 21.5-96.25t 58.25-70t 80.25-25.75t 80.25,25.75t 58.25,70t 21.5,96.25l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,65.5 q 29,16.5 46.5,46t 17.5,64.5q0,53 -37.5,90.5t-90.5,37.5zM 64,384q0,26.5 18.75,45.25t 45.25,18.75\nt 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25zM 384,320q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"island\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448q0,15.5 -13.5,27t-35.75,18.5t-56,11.25t-69.5,5.75t-81.25,1.5q-55,0 -100-4t-80.75-12.25t-55.5-22.5t-19.75-33.25q0-21 25.5-43.75t 69.75-41.5t 96.75-27.75l0-39 q0-53.5 -20-103q-9,9.5 -23,29t-24.5,33.75t-26.5,26.5t-32.5,13.75q-1.5-7 -1.5-14.75t 0.75-18t 0.75-15.75q0-32.5 15.25-61.5\nt 40.75-50l-9.5,0 q-34.5,0 -59.25,26.5t-36.75,69.5q-4.5-4.5 -10.25-15.75t-5.75-22.25q0-56 32.25-89t 79.75-33q 52.5,0 77,27q 9-39.5 40.75-65.25t 72.75-25.75q 48,0 80.75,25t 32.75,71q-36.5-32 -96-32q-24.5,0 -37.75,9.75t-20.75,28.75q 20.5-6.5 41.5-6.5q 47,0 80,25.5t 33,61.5\nq0,22.5 -13.75,41.75t-37.25,31.25q-8.5-42.5 -37.5-66.75t-71-28.25q 5,10 10.5,25.25t 13.25,54.25t 7.75,79.5l0,0.5 q 52.5,3 105.5,24.25t 85.75,49.75t 32.75,53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phonemic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.75,471.75q-19.25,19.25 -82.5,30t-133.25,10.75t-133.25-10.75t-82.5-30t-30-82.5t-10.75-133.25t 10.75-133.25t 30-82.5t 82.5-30t 133.25-10.75t 133.25,10.75t 82.5,30t 30,82.5t 10.75,133.25t-10.75,133.25t-30,82.5zM 320.25,384.5q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25\nt-9.25,22.5t 9.25,22.75t 22.5,9.5zM 192.25,384.5q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 128.25,224.5q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 192.25,128q-13.25,0 -22.75,9.5t-9.5,22.75\nt 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 256.25,224.5q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 320.25,128q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384.25,224.5\nq-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"birdhouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,278.25q-9.75,9.75 -23.5,9.75t-23.25-10l-13.5-13.5l-42,215.5q-1.5,10.5 -11.75,21.25t-20.25,10.75l-223.5,0 q-10,0 -20.25-10.75t-11.75-21.25l-42-216l-14,14q-9.5,10 -23.25,10t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-221.5q 10-10 24.5-9.5q 14.5-0.5 24.5,9.5l 222,221.5q 9.5,9.5 9.5,23.25t-9.75,23.5\nzM 256.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25zM 256.5,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45-18.75t 18.5-45.25t-18.5-45.25t-45-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"doghouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,278.25q-9.75,9.75 -23.5,9.75t-23.25-9.5l-7.5-7.5l0,209 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 l0-128 q0-39.5 -28-67.5t-67.75-28t-67.75,28t-28,67.5l0,128 l-64.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-209 l-7.5,7.5q-9.5,9.5 -23.25,9.5t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-221.5\nq 10-10 24.5-9.5q 14.5-0.5 24.5,9.5l 222,221.5q 9.5,9.5 9.5,23.25t-9.75,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"raceflag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q-4-4 -11.5-8.5q-0.5-0.5 -3.5-2q-5.5-3 -11-5.5q-3-1.5 -4-1.5q-15.5-6.5 -34-10.5l0-66.5 q 36.5,5 64,30.5l0,64 zM 410,256q-11.5,0 -26,1.5l0-64 q 14.5-1.5 26-1.5q 25,0 38,1.5l0,64 q-12.5-1.5 -38-1.5zM 384,129.5l0-64 q 14.5-1.5 26-1.5q 25.5,0 38,1.5l0,64 q-12.5-1.5 -38-1.5q-11.5,0 -26,1.5zM 256,169l0-64 q 47.5-19.5 64-25l0,64 \nq-15.5,5 -64,25zM 167.5,192q-19,0 -39.5-4l0-64 q 20.5,4 39.5,4q 11,0 24.5-2.5l0,64 q-13.5,2.5 -24.5,2.5zM 64,160q 21.5,19.5 64,28l0,64 q-43-8.5 -64-28l0,64 q 21.5,19.5 64,28l0,66.5 q-7-1 -14.5-3q-1,0 -2.5-0.5t-1.5-1q-5.5-1.5 -10.5-3.5q-3-1 -5-2q-5-2.5 -10.5-6q-4-2.5 -4.5-2.5q-8.5-6 -15-12l0,128 \nq0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75q 4.5,4.5 12,9q 0.5,0 1.25,0.5l 1.5,1t 1.25,0.5q 5,3 10.5,5.5q 2.5,1 4,2q 7.5,2.5 14,4.5l 1.5,0.5q 8.5,2.5 18,4.5l0,64 q-42.5-8.5 -64-28l0,64 zM 167.5,256q 11,0 24.5-2.5l0,64 q-13.5,2.5 -24.5,2.5q-19,0 -39.5-4l0-64 \nq 20.5,4 39.5,4zM 320,208l0,64 q-16,5.5 -64,25l0-64 q 47.5-19.5 64-25zM 320,144q 33.5-11 64-14.5l0,64 q-30.5,3.5 -64,14.5l0-64 zM 192,253.5l0-64 q 24-4 64-20.5l0,64 q-40,16.5 -64,20.5zM 384,321.5q-31,3 -64,14l0-63.5 q 33.5-11 64-14.5l0,64 zM 256,360.5q-7.5,3 -14,5.5q-1.5,0.5 -3.5,1.5q-5.5,2 -12.5,4.5\nl-3,1q-8.5,3 -15,4.5q-8.5,2.5 -16,4l0-64 q 24-4 64-20.5l0,63.5 zM 192,61.5q 20-3.5 47.5-14l 0.5-0.25t 1-0.25q 8-3 15-6l0,64 q-40,16.5 -64,20.5l0-64 zM 320,16q 33.5-11 64-14.5l0,64 q-30.5,3.5 -64,14.5l0-64 zM 462.5,4.5q 1,0 2.25,0.5t 1.75,0.5q 5.5,1.5 11,4q 2,1 4.5,2q 5,2.5 10.5,6q 4,2.5 4.5,2.5\nq 8.5,6 15,12l0,64 q-27.5-25.5 -64-30.5l0-64 q 7,1 14.5,3zM 512,160l0,64 q-27.5-25.5 -64-30.5l0-64 q 36.5,5 64,30.5zM 410,0l 1,0 l-1,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,403l0,61 q0,20 -14,34t-34,14t-34-14t-14-34q0,20 -14,34t-34,14t-34-14t-14-34q0,20 -14,34t-34,14t-34-14t-14-34l0-61 q-44.5-31.5 -70.25-78.25t-25.75-100.75q0-45.5 19-87t 51.25-71.5t 76.5-47.75t 93.25-17.75t 93.25,17.75t 76.5,47.75t 51.25,71.5t 19,87\nq0,54 -25.75,101t-70.25,78zM 144,160q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 192,352l 96,0 l-48-64zM 336,160q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jason\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 450.5,384q-18,40 -48.75,69.75t-63.75,44t-64.5,14.25t-64.5-14t-64-43.75t-49-70.25q-32-71.5 -32-224q0-43.5 28.5-80.25t 76.75-58.25t 104.25-21.5t 103.75,21.5t 75.25,58.25t 27.5,80.25l0,15.75 l0,21 t-0.25,23t-1,26.75t-2.25,27.25t-3.75,29.25t-5.25,27.75t-7.25,28t-9.75,25.25z\nM 176,160q-15,0 -27.75,8.75t-20.25,23.25q 7.5,14.5 20.25,23.25t 27.75,8.75t 27.75-8.75t 20.25-23.25q-7.5-14.5 -20.25-23.25t-27.75-8.75zM 240,64q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,288q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,416q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 304,448q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 304,384q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 304,320q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75zM 304,64q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 368,160q-15,0 -27.75,8.75t-20.25,23.25q 7.5,14.5 20.25,23.25t 27.75,8.75t 27.75-8.75t 20.25-23.25q-7.5-14.5 -20.25-23.25t-27.75-8.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"harrypotter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 499.5,480l-486.5,0 q-21.5-20 -7.5-33l 230-402.5q 8.5-7.5 20.5-7.5t 20,7.5l 230,402.5q 14.5,13.5 -6.5,33zM 40.5,446l 119.5,0 q-25-20 -39.75-48.5t-17.25-61.5zM 137,326.25q0,44.75 29.25,78t 72.75,39.75l0-235 q-43.5,6 -72.75,39.25t-29.25,78zM 187,189.5q 24.5-12.5 52-15.5l0-75.5 zM 273.5,99.5l0,74.5 q 27,3 51,15.5z\nM 273.5,209l0,235 q 43.5-6.5 72.75-39.75t 29.25-78t-29.25-78t-72.75-39.25zM 409,337q-2,32.5 -17,60.75t-39.5,48.25l 119,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"satellite\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 456.5,188.5q-3.5,3.5 -8.5,3.5q0,5 -3.5,8.5l-52,52q-3.5,3.5 -8.5,3.5t-9-3.5l-45-45.5l-16.5,16.5l 128.5,128.5q 12,12 -1.5,35l 69,32.5q 6.5,6 -2.5,23.75t-27.5,36.25t-36.25,27.5t-23.75,2.5l-32.5-69q-23,13.5 -35,1.5l-128.5-128.5l-16.5,16.5l 45.5,45q 3.5,4 3.5,9t-3.5,8.5l-52,52q-3.5,3.5 -8.5,3.5\nq0,5 -3.5,8.5l-52,52q-3.5,3.5 -8.5,3.5t-8.5-3.5l-45.5-45.5l-11.5,11.5q-5,5 -12.25,5t-12.5-5t-5.25-12.5t 5.5-12.5l 11-11.5l-45.5-45.5q-3.5-3.5 -3.5-8.5t 3.5-9l 52-51.5q 3.5-3.5 8.5-3.5q0-5 3.5-8.5l 52-52q 3.5-3.5 8.5-3.5t 8.5,3.5l 46,45.5l 16-16l-96.5-97q-16.5-16 13.5-51.5l-48-48q-9.5,4 -19,4q-20,0 -34-14.25\nt-14-34t 14-33.75t 33.75-14t 33.75,14t 14,34q0,9.5 -3.5,19l 48,48q 35.5-30 51.5-13.5l 96.5,96.5l 16.5-16l-45.5-46q-3.5-3.5 -3.5-8.5t 3.5-8.5l 51.5-52q 4-3.5 9-3.5q0-5 3.5-8.5l 51.5-52q 4-3.5 9-3.5t 8.5,3.5l 45.5,45.5l 12-11.5q 5-5.5 12.25-5.5t 12.5,5.25t 5.25,12.5t-5,12.25l-12,12l 45.5,45.5q 3.5,3.5 3.5,8.5t-3.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-118,29.5q-4,2.5 -10,2.5l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 q-13.5,0 -22.75-9.5\nt-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 58.5,0 q 2.5-0.5 4,0l 1.5,0 q 12,0 21,8\nl 126.5,53l 12.5,3q 26.5,0 45.25,18.75t 18.75,45.25l0,224 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-192,0 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 16,0 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-6,0 -10-2.5l-118-29.5q-26.5,0 -45.25-18.75t-18.75-45.25l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 12.5-3l 126.5-53q 9-8 21-8l 1,0 q 2-0.5 4.5,0l 58.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-16,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l 192,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,320q-13.25,0 -22.75-9.25t-9.5-22.75l0-16 q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,16 l0,192 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l0,64 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75\nl0-80 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l0,64 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-80 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-6 2.5-10l 29.5-118q0-26.5 18.75-45.25\nt 45.25-18.75l 224,0 q 26.5,0 45.25,18.75t 18.75,45.25l 3,12.5l 53,126.5q 8,9 8,21l0,1.5 q 0.5,1.5 0,4l0,58.5 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bluetoothconnected\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,306.5q0,6 -3.5,10.5q-6.5,7 -16.5,0l-68-46.5q-8-4.5 -8-13.25t 8.25-15t 25.25-17.75t 29.5-20l 13-8.5q 10.5-7 16.5,0q 3.5,4.5 3.5,10.5l0,100 zM 424,175l-124.5,81.5l 139.5,91q 9,9 9,21.75t-9,21.75q-6.5,7 -17.5,8.5l-173.5,101.5q-9.5,10.5 -23,11q-14.5,1 -24-8.5t-8.5-24l0-153.5 l-76,49.5\nq-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 116-75.5l-116-75.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 76,49l0-153.5 q-1-14 8.5-23.5t 24-8.5q 13.5,0.5 23,10.5l 191,112.5q 9,9 9,21.75t-9,21.75q-5.5,5.5 -15,7.5zM 256,427.5l 102.5-60.5l-102.5-66.5l0,127 zM 256,85.5l0,127 l 102.5-66.5z\nM 88,270.5l-68,46.5q-10,7 -16.5,0q-3.5-4.5 -3.5-10.5l0-100 q0-6.5 3.5-10.5q 6-7 16.5,0q 49.5,32.5 67.5,46.5q 8.5,6 8.5,14.75t-8,13.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"toothbrush\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 499.5,499.75q-12.5,12.25 -30,12.25t-29.5-12.5l-434-431.5q-6-6 -6-14.75t 6.25-15t 15-6.25t 14.75,6l 14.5,14.5q 2-3.5 3.5-5l 41.5-41.5q 5.5-5.5 13.5-5.5t 13.75,5.75t 5.75,13.75t-6,13.5l-41,41.5q-1.5,1.5 -5,3.5l 6,6q 2-3.5 3.5-5l 41.5-41.5q 5.5-5.5 13.5-5.5t 13.75,5.75t 5.75,13.75t-6,13.5l-41,41.5\nq-1.5,1.5 -5,3l 6,6.5q 2-3.5 3.5-5l 41.5-41.5q 5.5-5.5 13.5-5.5t 13.75,5.75t 5.75,13.75t-6,13.5l-41,41.5q-1.5,1.5 -5,3l 30,30q 28,28 53.25,48.75t 43.25,32t 38.25,23.75t 38.25,23.75t 43.25,32t 53.25,48.25l 59.5,59.5q 12.5,12.5 12.5,30t-12.5,29.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"toiletpaper\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480q-36.5,0 -50.25-17t-13.75-47l0-336 q 3,4 9.75,14.75t 9.75,14t 9.5,9t 14.75,7.25t 20.25,1.5q 35,0 64-17.5l0,354.5 q-27.5,16.5 -64,16.5zM 176,512q-48,0 -88.5-8.5t-64-23.5t-23.5-32l0-336 q 27.5,21 74.25,33.75t 101.75,12.75t 101.75-12.75t 74.25-33.75l0,336 q0,17 -23.5,32t-64,23.5t-88.5,8.5\nzM 176,128q-48,0 -88.5-8.5t-64-23.25t-23.5-32.25t 23.5-32.25t 64-23.25t 88.5-8.5t 88.5,8.5t 64,23.25t 23.5,32.25t-23.5,32.25t-64,23.25t-88.5,8.5zM 176,32q-33,0 -56.5,9.5t-23.5,22.75t 23.5,22.5t 56.5,9.25t 56.5-9.25t 23.5-22.5t-23.5-22.75t-56.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"crayon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 482.5,510l-62-35.5q-9,6 -19.75,5t-18.75-9l-373-373q-9-9 -9-22t 9-22l 44.5-44q 9-9.5 22-9.5t 22,9.5l 373,373q 7.5,7.5 8.5,18.25t-4.5,19.75l 35.5,62q 5.5,16.5 -2.75,24.75t-24.75,2.75zM 138,97l-41.5,41l 22,21.5l 41-41zM 186,145l-41.5,41l 117.5,117.5l 41-41.5zM 329.5,288.5l-41,41\nl 21.5,22l 41-41.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favoritefolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l0,64 l-48,0 l-64-32l-64,32l-48,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 l0-32 l0-32 q0-13 9.5-22.5t 22.5-9.5l 32,0 l 352,0 l 32,0 l 64,0 l0,64 l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 374.5,310l-38.5-86l-38.5,86l-89.5,12l 66,65l-17,93l 79-46l 79,46l-17-93l 66-65zM 295,54\nq 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favoritefile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75t 22.5-9.25l 224,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 230.5,310l-38.5-86l-38.5,86l-89.5,12l 66,65l-17,93l 79-45.5l 79,45.5l-17-93l 66-65zM 320,0q 13,0 22,9\nl 128.5,128.5q 9.5,9.5 9.5,23l-160,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifehacker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-256 q0-22.5 -18.25-35.25t-45.75-12.75q-20.5,0 -32,7l0,297 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,118.5 q 12-6.5 32-6.5q 53.5,0 90.75,32.25t 37.25,79.75l0,256 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 176,512l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bowtie\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,346.5q0,13 -6.5,23t-20.5,14t-36-7.5q-3.5-4 -10.25-10.5t-25.25-22t-35.5-25.5q-16-9 -36.5-19q 10.5-20.5 10.5-43q0-41 -29.5-69q 16-12.5 31-21.5q 18.5-10.5 42.5-18t 38.5-9.5l 14.5-2.5q 22-11 36-6.75t 20.5,14.25t 6.5,23q-3.5,5 -8.75,14t-14.25,33.25t-9,44.75q0,20 8,42t 16,34.5zM 256,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 170.5,299q-20.5,10 -36.5,19q-17,10 -34.75,24.5t-26.75,24l-9.5,9.5q-22,11.5 -36,7.5t-20.5-14t-6.5-23q 3.5-5 8.75-13.5t 14.25-32t 9-43q0-20.5 -8-43.5t-16-35.5l-8-13q0-13 6.5-23\nt 20.5-14.25t 36,6.75q 6,1 16,2.5t 35.5,9.25t 44,18.25q 15,8.5 31,21q-29.5,28.5 -29.5,69.5q0,22.5 10.5,43z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"treeornament\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,176l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-0.5,0 -1,0.25t-1,0.25q-59-35.5 -88-96.5l 26,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-26 q 61,29 96.5,88q0,0.5 -0.25,1t-0.25,1zM 288,112l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,48 l-22.5,0 q-9.5-31.5 -9.5-64q0-35.5 11-69.5l-38.5-38.5q-9-9 20.5-52.5q-24-2.5 -40.5-20.75t-16.5-42.75q0-26.5 18.75-45.25t 45.25-18.75q 24.5,0 42.5,16.5t 21,41q 43.5-30 52.5-21l 38.5,38.5q 34-11 69.5-11q 32.5,0 64,9.5l0,22.5 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 64.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 254,503.5l 0.5-0.5q 1.5-3.5 1.5-7l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 3.5,0 7-1.5l0-0.25 t 0.5-0.25q 2.5-1.5 5-4q 3.5,20.5 3.5,38q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75\nq-17.5,0 -38-3.5q 2.5-2.5 4-5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"candycane\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 420.25,502q-10.25,10 -24.5,10t-24.25-10l-254-252.5l 34,33.5l 73.5-24l-27.5-27.5l 223,222q 10,10 10,24.25t-10.25,24.25zM 273.5,307.5l-73,24.5l 36.5,36.5l 73.5-24.5zM 359,392.5l-73,24.5l 36.5,36.5l 73.5-24.5zM 340.75,134q-8.75,8.5 -20.5,9t-21.25-6.5l-1,1l-12-12.5l 24.5-72.5l-12.5-12.5l 49,48.5l-3.5,4\nq 7,9 6.5,21t-9.25,20.5zM 249,89q-16-16.5 -40-19.5l-34-67q 52-9.5 97.5,17.5zM 131.5,132.5l-67.5-17q 7-44 38.5-75.5q 10.5-10.5 26.5-20l 31,61.5q-5.5,4.5 -8.5,7q-18,18 -20,44zM 188,222.5l-73,24l-12.5-12q-29.5-29.5 -37.5-70l 86.5,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"snowman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 472.5,158l-92,54.5q 3.5,14.5 3.5,27.5q0,34.5 -19.5,63.5q 23.5,26.5 37.5,61.75t 14,69.25q0,19 -4.25,32.75t-14.75,22t-19.75,13.25t-28.5,6.75t-31.25,2.25t-37,0.5l-8.25,0 l-8.75,0 q-24.5,0 -36.75-0.5t-31.25-2.25t-28.5-6.75t-20-13.25t-14.75-22t-4.25-32.75q0-34 14-69.25t 38-61.75q-20-29 -20-63.5\nq0-13 3.5-27.5l-91.5-54.5q-6-3.5 -7.5-10t 1.75-12t 9.25-7.25t 12,1.25l 88.5,53q 16.5-27.5 44.5-42.5q-28.5-24 -28.5-60.5q0-33 23.5-56.5t 56.75-23.5t 56.5,23.5t 23.25,56.5q0,36.5 -28,60.5q 28,15 44.5,42.5l 88.5-53q 5.5-3 11.75-1.25t 9.5,7.25t 1.5,12t-7.25,10zM 272.25,320q 6.75,0 11.25-4.75t 4.5-11.25t-4.5-11.25\nt-11.25-4.75t-11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75zM 272.25,256q 6.75,0 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75zM 240.25,64q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 272.25,160\nq-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304,64q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"christmastree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,384.5q0,2.5 -0.5,5l0,0.5 t-0.5,0.5q-0.5,2.5 -1.5,5.5l0,0.5 q-1,2 -2.5,4.5l-0.5,1q-1.5,1.5 -3,3.5l-1.5,1.5l-2,2q-2,1 -3.5,2l-0.25,0.25l-0.25,0.25l-0.5,0 q-5.5,3 -11.5,4q-3.5,0.5 -4,0.5l-128,0 l0,64 q0,13 -9.5,22.5t-22.5,9.5l-64.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 l-128,0 q-0.5,0 -4-0.5q-6-1 -11.5-4l-0.5,0 l-0.25-0.25\nl-0.25-0.25q-1.5-0.5 -3.5-2q-1-1.5 -2-2l-1.5-1.5q-1.5-2 -3-3.5l-0.25-0.5l-0.25-0.5q-1.5-2.5 -2.5-4.5l0-0.5 q-1-3 -1.5-5.5q-0.5,0 -0.5-0.5l0-0.5 q-0.5-2.5 -0.5-5l0-0.5 l0-1 l0-0.5 q 0.5-2 0.5-3.5q 0.5-2 1-4.5l0-0.5 q 2-6 6.5-11l 52-78.5q 46,45 128.25,72t 180.25,27q 39,0 79.5-5l0,0.5 q0,1.5 0.5,3.5l0,0.5 l0,0.75 l0,0.75 zM 112,351.5q-6.5,0 -11.25,4.75t-4.75,11.5\nt 4.75,11.25t 11.25,4.5t 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75zM 176.25,351.5q-6.75,0 -11.5,4.75t-4.75,11.5t 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75zM 111.5,255.5l-15.5,0 l-4,0 q-6-1 -11.5-4q-0.5,0 -0.5-0.25t-0.25-0.25l-0.25,0 q-1.5-1 -3-2.5q-2-1 -2.5-1.5t-1.5-2q-1.5-1.5 -2.5-3l-0.75-0.75l-0.25-0.25q-1.5-2.5 -2.5-4.5l0-1 \nq-1-2.5 -1.5-5l-0.25-0.5l-0.25-0.5q-0.5-2.5 -0.5-5l0-0.25 l0-0.75 l0-0.5 l0-1 q 0.5-2 0.5-3q 0.5-2 1-4.5l0-0.5 q 3-9.5 11-15.5l 36.5-44q 32.5,55 116.75,91.5t 192.25,41l 42,63q-25,1.5 -47.5,1.5q-96,0 -177-26t-128-70zM 144.25,223.5q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75z\nM 208.25,255.5q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304.25,287.5q-6.75,0 -11.25,4.75t-4.5,11.25t 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25t-4.75-11.25t-11.5-4.75zM 448,229.5l-0.5,1q-0.5,2.5 -1.5,5l0,1 q-1,2 -2.5,4.5l-0.25,0.25t-0.25,0.75l-3,3\nq-1,1.5 -1.5,2t-2.5,1.5q-1.5,1.5 -3,2.5l-0.25,0 t-0.25,0.5l-0.5,0 q-2,1 -8,2.5q-100-6 -178-40t-112-84.5l 56.5-68.5q 31,38 88.5,66t 131,40l 26,31.5q 8,6 11,15.5l0,0.5 q 0.5,2.5 1,4.5q0,1 0.5,3l0,1 l0,0.75 l0,0.5 l0,0.25 q0,2.5 -0.5,5zM 240.25,127.5q-6.75,0 -11.5,4.5t-4.75,11.25t 4.75,11.5t 11.5,4.75t 11.5-4.75\nt 4.75-11.5t-4.75-11.25t-11.5-4.5zM 304.25,159.5q-6.75,0 -11.25,4.75t-4.5,11.25t 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25t-4.75-11.25t-11.5-4.75zM 368.5,191.5q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 228.5,15.5q0-0.5 0.25-0.75t 0.75-0.25q 2.5-4.5 7-8\nq 0.5-0.5 1.5-1q0-0.5 1-1t 1.5-1q 0.5,0 1.75-0.25t 1.75-0.75q 3.5-1.5 6.5-2q 2-0.5 5.75-0.5t 6.25,0.5t 6,2q 0.5,0.5 1.75,0.75t 2,0.5t 1.75,1.25q 0.5,0 0.5,0.5l 1.5,1q 4.5,3.5 7.5,8l 0.25,0.25t 0.25,0.75l 90,108q-108.5-29 -162-88.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mickeymouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 434.5,250q 13.5,34 13.5,70q0,52 -25.75,96.25t-70,70t-96.25,25.75t-96.25-25.75t-70-70t-25.75-96.25q0-36 13.5-70q-34.5-11 -56-40.25t-21.5-65.75q0-46.5 32.75-79.25t 79.25-32.75q 43,0 74.5,28.5t 36,70.5q 18-3 33.5-3t 33.5,3q 4.5-42 36-70.5t 74.5-28.5q 46.5,0 79.25,32.75t 32.75,79.25\nq0,36.5 -21.5,65.75t-56,40.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"viking\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 444,281.5q 4,19 4,38.5q0,0.5 -0.25,1.25l-0.25,0.75q 9-2 15.5-2q 17,0 17,48.5q0,19.5 -29.75,38t-82,30t-112.25,11.5t-112.25-11.5t-82-30t-29.75-38q0-48.5 18.5-48.5q 5.5,0 14,2q-0.5-0.5 -0.5-1l0-1 q0-19.5 4-38.5q-68-43 -68-137.5q0-13 0.5-20.25t 3.25-19t 9.75-21.75t 18.5-19q0,94 71,140.5\nq 26.5-35.5 66.75-56t 86.25-20.5t 86.25,20.5t 66.75,56q 71-46.5 71-140.5q 11.5,9 18.5,19t 9.75,21.75t 3.25,19t 0.5,20.25q0,94.5 -68,137.5zM 256,192q-8,0 -20,5t-12,11l0,173.5 q 16.5,2.5 32,2.5t 32-2.5l0-173.5 q0-6 -12-11t-20-5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"watch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509.5,427l-82.5,82.5q-6,6 -11.5,0l-109.5-109l-12.5,12.5q-3,3 -7.25,3t-7.25-3l-29-29q-49.5-2.5 -84.25-37.5t-37.25-84l-29.5-29.5q-3-3 -3-7.25t 3-7.25l 12.5-12.5l-109-109.5q-6-5.5 0-11.5l 82.5-82.5q 6-6 11.5,0l 109.5,109l 12.5-12.5q 3-3 7.25-3t 7.25,3l 29.5,29.5q 49,2.5 84,37.25t 37.5,84.25\nl 29,29q 3,3 3,7.25t-3,7.25l-12.5,12.5l 109,109.5q 6,5.5 0,11.5zM 256.25,160q-39.75,0 -68,28.25t-28.25,68t 28.25,67.75t 68,28t 67.75-28t 28-67.75t-28-68t-67.75-28.25zM 267.5,299q-4.5,5 -11.5,5t-12-5l-47-46.5q-5-5 -5-11.75t 4.75-11.75t 11.75-5t 12,5l 35.5,35l 35.5-35\nq 4.5-5 11.5-5t 12,5t 5,11.75t-5,11.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cassette\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 304,416q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 48,416q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 48,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 128.25,160q-39.75,0 -68,28t-28.25,68t 28.25,68t 68,28t 67.75-28t 28-68t-28-68t-67.75-28zM 208,384\nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,160q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28-68\nt-68-28zM 464,384q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384.25,288q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 128.25,288q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75\nt 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"knob\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,448l-64-96l 384-352l 96,32l 32,96l-352,384zM 315.5,224l 132.5-132.5l-27.5-27.5l-132.5,132.5zM0,256q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 40,0 78.5,12.5l-329.5,294q-5-25.5 -5-50.5zM 512,256q0,52 -20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25q-25.5,0 -50.5-5\nl 294-329.5q 12.5,38.5 12.5,78.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trumpet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-36.5-44.5 -74-88q-8,16.5 -18.5,27q-29,29 -69.5,29t-69.5-29l-59.5-59q-28.5-29 -28.5-69.5t 28.5-69.5q 8.5-8.5 21.5-16q-71.5-45 -146-45l-28-6q-4.5-5 -4.5-11.5t 4.5-11.5l 158.5-158.5q 5-4.5 11.5-4.5t 11.5,4.5l 6.5,28q0,51.5 23.25,106.25t 73.25,104.75l 76,76q 20,20 56.75,52.25t 63.5,54.25\nl 26.75,22zM 196.5,292.5q-12,12.5 -12,30t 12,29.5l 59.5,59.5q 12.5,12.5 30,12.5t 29.5-12.5q 16.5-16.5 11-39.5q-4.5-5 -7-7l-76-76q-1.5-1.5 -4.25-4t-3.75-3.5q-22.5-5 -39,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"metronome\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 96,512l 39.5-275l-69-116q-4-6 -2-12.75t 8.25-10.25t 13-1.75t 10.25,7.75l 47,79l 17-119l 112-64l 112,64l 64,448l-352,0 zM 144,416l 97.5,0 l-78-131.5zM 352,96l-80-64l-80,64l-20.5,135.5l 84.5,141.5l0-293 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,336 l 112,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"submarine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,339.5q0,5.5 -4.5,9t-11.5,3.5t-13.25-3.5t-9.25-9l-20.5-14.5q-21.5,8 -62.25,37.5t-48.75,34.5l-15,40q-2,4.5 -8,7.75t-13,3.25l-132,0 q-7,0 -13-3.25t-8-7.75l-8-21l-17,0 q-53,0 -90.5-37.5t-37.5-90.5q0-45.5 28.25-80.25t 71.75-44.75l 21-56q 2-4.5 8-7.75t 13-3.25l 18,0 l0-16 q0-6.5 -4.75-11.25\nt-11.25-4.75l-16,0 l0-32 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l 18,0 q 7,0 13,3.25t 8,7.75l 20,53l 37,0 q 18,0 40,11.25t 40,25.5t 41.25,30.25t 40.75,22.5l 23.5-45q 3-5.5 9.25-9t 13.25-3.5t 11.5,3.5t 4.5,9l0,50.5 l0,0.5 l0,0.25 l0,0.25 l0,83.5 zM 96.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5\nt-9.25-22.75t-22.5-9.5zM 192.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 288.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"speaker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 256,32q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 256,224q-53,0 -90.5,37.5\nt-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,416q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 256,128q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stove\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 144,64q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 144,288q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5\nt 23.5-56.5t-23.5-56.5t-56.5-23.5zM 368,64q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 368,288q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 368,416q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14z\nM 368,192q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 144,416q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 144,192q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lego\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,448l0-224 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l 128,0 l 128,0 l 128,0 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,224 l-512,0 zM 320,160l0-32 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l-128,0 zM 64,160l0-32 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 l-128,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rim\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 303,409q 34.5-10.5 62-36q-25.5-31.5 -42-41.5q-14.5-8 -31-13q-4,16.5 -4,33.5\nq0,19 15,57zM 209,409q 15-38 15-57q0-16.5 -4-33.5q-17,5 -31,13q-16.5,9.5 -42,41.5q 27.5,25.5 62,36zM 96,256q0,16 4.5,36q 40-6 56.5-15.5q 15-9 27-20q-12.5-12.5 -27-21q-16.5-9.5 -56.5-15.5q-4.5,20 -4.5,36zM 209,103q-34.5,10.5 -62,36q 25.5,31.5 42,41.5q 15,8.5 31,13.5q 4-16.5 4-34\nq0-19 -15-57zM 256,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 303,103q-15,38 -15,57q0,16.5 4.5,33.5q 15.5-4.5 30.5-13q 16.5-10 42-41.5q-27.5-25.5 -62-36zM 411.5,220q-40,6 -56.5,15.5q-14,8.5 -27,21q 12.5,11 27,20\nq 16.5,9.5 56.5,15.5q 4.5-20 4.5-36t-4.5-36z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eightball\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 208,64q-59.5,0 -101.75,42.25t-42.25,101.75t 42.25,101.75t 101.75,42.25\nt 101.75-42.25t 42.25-101.75t-42.25-101.75t-101.75-42.25zM 255,215.5q 3.5,24 -9.75,44t-36.75,26.5q-25.5,6.5 -48.5-6.75t-30-38.75q-5.5-21.5 3.25-41.5t 27.75-30.5q-3.5-24 9.75-44t 36.75-26.5q 25.5-6.5 48.5,6.75t 30,38.75q 5.5,21.5 -3.25,41.5t-27.75,30.5zM 183.5,193q-12.5,3.5 -19.25,15t-3.25,24.25t 15,19.5\nt 24.25,3.25t 19.5-15t 3.25-24.5q-1-3.5 -3.25-4.5t-5.75-1.25t-6-1.75t-7.25-6.25t-9-7.25t-8.25-1.5zM 255,151.5q-3.5-12.5 -15-19.25t-24.5-3.25q-11,3 -17.5,12.25t-6,20.75q 11.5,2 32,14q 11.5,6.5 17,11q 8.5-5.5 12.5-15.25t 1.5-20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"glue\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,464q-1.5,18 -16.25,33t-31.75,15l-224,0 q-17,0 -31.75-15t-16.25-33l-32-208q0-24.5 14-44.25t 34-19.75l 28.5,0 q-12.5-23.5 -12.5-32q0-7 18.5-16.5t 45.5-18q 1-20 9.25-48.75t 23.5-52.75t 31.25-24t 31.25,24t 23.5,52.75t 9.25,48.75q 27,8.5 45.5,18t 18.5,16.5q0,8.5 -12.5,32l 28.5,0 q 20,0 34,19.75t 14,44.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"globe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,373q-61.5,61 -148,72.5l0,34.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-34.5 q-87.5-10.5 -149.5-72.5l-11.5-11.5l 46-46q-44.5-53.5 -44.5-123q0-52 25.5-96.25t 69.75-70t 96.25-25.75q 69.5,0 123,45l 45.5-45.5l 11.5,11.5\nq 49,49 66.5,114.75t0,131.5t-66.5,115.25zM 393,45.5q-6.5,7 -22.5,22.5q 46,54 46,124.5q0,52 -25.5,96.25t-69.75,69.75t-96.25,25.5q-70.5,0 -124.5-46q-4,4 -22.5,23q 43,37.5 98.25,49.75t 110-3.5t 96-57t 57-96t 3.5-110t-49.75-98.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"birthday\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,96q 6.5,0 11.25,4.75t 4.75,11.25l0,80 l-64,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 z\nM 389.5,80q 10.5-9.5 10.5-20q0-3.5 -3.75-9.75t-7.25-10.75l-3.5-4.5q-3.5,18.5 -15,25q-3.5,3 -2.25,8.75t 5.25,11.25q-4.5,0 -15-9q-6.5-6 -6.5-13.5q0-11 11-20q 5-4.5 6.5-13.75t0-16.75l-1.5-7q 26,10 38.5,27q 10,14 9.5,28q-0.5,15.5 -2.5,17.5q-3.5,3 -11.25,5.25t-12.75,2.25zM 272,96q 6.5,0 11.25,4.75\nt 4.75,11.25l0,80 l-64,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 zM 261.5,80q 10.5-9.5 10.5-20q0-3.5 -3.75-9.75t-7.25-10.75l-3.5-4.5q-3.5,18.5 -15,25q-3.5,3 -2.25,8.75t 5.25,11.25q-4.5,0 -15-9q-6.5-6 -6.5-13.5q0-11 11-20q 5-4.5 6.5-13.75t0-16.75l-1.5-7q 26,10 38.5,27q 10,14 9.5,28q-0.5,15.5 -2.5,17.5\nq-3.5,3 -11.25,5.25t-12.75,2.25zM 144,96q 6.5,0 11.25,4.75t 4.75,11.25l0,80 l-64,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 zM 133.5,80q 10.5-9.5 10.5-20q0-3.5 -3.75-9.75t-7.25-10.75l-3.5-4.5q-3.5,18.5 -15,25q-3.5,3 -2.25,8.75t 5.25,11.25q-4.5,0 -15-9q-6.5-6 -6.5-13.5q0-11 11-20q 5-4.5 6.25-13.75\nt 0.25-16.75l-1.5-7q 26,10 38.5,27q 10,14 9.5,28q-0.5,15.5 -2.5,17.5q-3.5,3 -11.25,5.25t-12.75,2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fries\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,231l-52,256q-1.5,10.5 -12.5,17.75t-24.5,7.25l-329,0 q-13.5,0 -24.5-7.25t-13-17.75l-55.5-256q-2.5-13 3.25-23.5t 17.25-15.5q 31,13.5 95.25,22.75t 140.25,9.25q 75.5,0 139.25-9t 94.75-23q 11.5,5 17.25,15.5t 3.75,23.5zM 416,48l 64-16l0,132 q-24.5,9 -64,15.5l0-131.5 zM 320.5,0.5l 63.5,32l0,152 \nq-30.5,3.5 -63.5,5.5l0-189.5 zM 224.5,191.5l0-175 l 64-16l0,191 q-19,0.5 -32.25,0.5t-31.75-0.5zM 128.5,16.5l 64-16l0,189.5 q-33.5-1.5 -64-5.5l0-168 zM 32.5,64l 64-32l0,147.5 q-39.5-6.5 -64-15l0-100.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"raspberrypi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,304q0,22 -8.75,40.25t-23.25,28.75q 1.5,41.5 -32,74.5q-30,30 -68.5,32q-8,14 -28.75,23.25t-46.75,9.25t-46.75-9.25t-28.75-23.25q-38.5-2 -68.5-32q-33.5-33 -32-74.5q-14.5-10.5 -23.25-28.75t-8.75-40.25q0-22.5 9.5-41.5t 25-29q-5.5-18.5 1-40t 23.5-38.5q 15-14.5 34.5-22q-24-12.5 -40.75-36.75\nt-20.75-50.75q 14-21 37.25-33.25t 50.75-12.25t 50.75,12.25t 37.25,33.25q 14-21 37.25-33.25t 50.75-12.25t 50.75,12.25t 37.25,33.25q-4,26.5 -20.75,50.75t-41.25,36.75q 20,7.5 35,22q 17,17 23.5,38.5t 1,40q 15.5,10 25,29t 9.5,41.5zM 317,446q 24.5-5 43-22.5q 15.5-14.5 20.75-27t 2.25-22t-13-19\nq-7.5-6.5 -16.5-11.5l-0.5,0.5t-1,0.5q-6.5,3.5 -16,5.5l0,0.5 l0,1 q0,40 -28.5,68q 6.5,15.5 9.5,26zM 342,257q-11.5-19 -33.25-28.25t-37-1.25t-15.75,32.25t 13.5,36.25q 20.5,18 39.75,22.75t 28.75-4.75q 13-12 14-25t-10-32zM 240,480q 20,0 34-9.25t 14-22.75q0-5.5 -3.5-11.5q-21.5,11.5 -44.5,11.5t-44.5-11.5\nq-3.5,6 -3.5,11.5q0,13.5 14,22.75t 34,9.25zM 240,416q 25.5,0 44.75-15.5t 19.25-32.5q0-8 -3-19q-38.5-10 -61-44.5q-22.5,34.5 -61,44.5q-3,10.5 -3,19q0,17 19.25,32.5t 44.75,15.5zM 208.25,227.5q-15.25-8 -37,1.25t-33.25,28.25q-11,19 -10,32t 14,25q 9.5,9.5 28.75,4.75t 39.75-22.75q 14-12 13.5-36.25\nt-15.75-32.25zM 120,423.5q 18.5,17.5 43,22.5q 3-10.5 9.5-26q-28.5-28 -28.5-68l0-1 l0-0.5 q-9-2 -16-5.5q-0.5,0 -1-0.5l-0.5-0.5q-9,5 -16.5,11.5q-10,9.5 -13,19t 2.25,22t 20.75,27zM 64,304q0,20.5 9,37q 3.5-5 6.5-8q 9-9 24.5-11.5q-16-29.5 -1-65q-5-0.5 -7-0.5q-14.5,0 -23.25,11.5t-8.75,36.5zM 117,181\nq-19,19 -21,43q 12,0 23.5,6q 22-27 53.5-35q-12.5-15.5 -13-34.5q-24,2 -43,20.5zM 155,32q-16,0 -34.5,5t-24.5,11q 4,22.5 24,43.25t 44.5,20.75q 9.5,0 18.5-2q-4-7.5 -9.75-15.25t-13-15.25t-11.75-12.25t-12-11.5t-8.5-7.75q 25.5,3.5 48.5,16t 38.5,31q 6-5 9-9l0-0.5 q0-22.5 -20.25-38t-48.75-15.5zM 240,128\nq-20,0 -34,14t-14,34q0,8 3,16q 16,0 29,7q 8.5,4 16,12.5q 7.5-8.5 16-12.5q 13-7 29-7q 3-8.5 3-16q0-20 -14-34t-34-14zM 384,48q-6-6 -24.5-11t-34-5q-29,0 -49.25,15.5t-20.25,38l0,0.5 q 3,4 9,9q 15.5-18.5 38.5-31t 48.5-16q-1,1 -8.5,7.75t-12,11.5t-11.75,12.25t-13,15.25\nt-9.75,15.25q 9,2 18.5,2q 24.5,0 44.5-20.75t 24-43.25zM 363,181q-19-18.5 -43-20.5q0,19 -13,34.5q 31.5,8 53.5,35q 11.5-6 23.5-6q-2-24 -21-43zM 384,256q-2,0 -7,0.5q 15,35.5 -1,65q 15.5,2.5 24.5,11.5q 3,2.5 6.5,8q 9-16.5 9-37q0-48 -32-48z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"raspberry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,224q0,24 -15.75,42t-39.25,21q 23,19.5 23,49q0,26.5 -18.75,45.25t-45.25,18.75l-1.25,0 l-1.25,0 q 2.5,8.5 2.5,16q0,26.5 -18.75,45.25t-45.25,18.75q-19.5,0 -36-11q-6.5,19 -23,31t-37,12t-37-12t-23-31q-16.5,11 -36,11q-26.5,0 -45.25-18.75t-18.75-45.25q0-7.5 2.5-16l-1.25,0 l-1.25,0 \nq-26.5,0 -45.25-18.75t-18.75-45.25q0-29.5 23-49q-23.5-3 -39.25-21t-15.75-42q0-26.5 18.75-45.25t 45.25-18.75q 3,0 9.5,1q-9.5-15.5 -9.5-33q0-26.5 18.75-45.25t 45.25-18.75q 8,0 16,2.5q 4-1.5 8.5-2q-24.5-21.5 -24.5-55q 14.5-9.5 31.5-9.75t 32.5,9.25q 14,9 22.5,25q0-0.5 0.75-1.75t 0.75-1.75q 9-15.5 25.25-23.25\nt 35.25-7.25q 13,19.5 11,41q 4.5,2.5 5.5,3.5q 8.5-23.5 27-35q 15.5-10 32.5-9.75t 31.5,9.75q0,34 -25,55.5q 14.5,2 25,8q 15.5-9 32-9q 26.5,0 45.25,18.75t 18.75,45.25q0,19.5 -11,36q 19,6.5 31,23t 12,37zM 416.25,352q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25zM 352.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 320,320.25q0-13.25 -9.25-22.75t-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5zM 256.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5\nt-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 224,320.25q0-13.25 -9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5zM 160.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 96.25,352q 13.25,0 22.5-9.25t 9.25-22.5\nt-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 64.25,192q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128.25,96q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 160.25,192\nq-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 224.25,96q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 256.25,192q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5\nt-9.25-22.75t-22.5-9.5zM 320.25,128q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 352.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 416.25,96q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 448,192q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chocolate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-187,0 q 18,9 24,19.25t 1.5,19.5t-11.25,17.25t-11.75,15.5t-3,11.5q-7.5,13 -15.5,13q-3.5,0 -17.75-12.75t-33.5-29t-31.25-22.25l-162.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l0-224 l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 q 22,0 43.25-10t 34-22t 23-22t 12.25-10q 4,0 6.75,0.5t 5.75,4.25t 3,11.25\nq-15.5,27 -15.5,64q0,6.5 1,16l 206.5,0 q 13,0 22.5,9.25t 9.5,22.75l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 217.5,128l-185.5,0 l0,288 l 185.5,0 q-3-2.5 -7.25-6.75t-11.25-16.75t-7-24.5q0-12.5 4.75-22t 20.75-26q 7-7.5 7-18.5t-5-23.25t-11.25-24.25t-11.25-24.75t-5-21.25q0-18.5 6.25-38.5t 12.75-30.5zM 336,160\nl-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 336,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25\nt-4.75-11.25t-11.25-4.75zM 464,160l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 \nl 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coffeebean\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 463.5,454q-4.5-22.5 -55.5-85.5t-126.25-138.25t-138.25-126.25t-85.5-55.5q 42-39 104.75-47t 130.25,17.25t 121.25,79t 79,121.25t 17.25,130.25t-47,104.75zM 230.25,281.75q 75.25,75.25 138.25,126.25t 85.5,55.5q-42,39 -104.75,47t-130.25-17.25t-121.25-79t-79-121.25t-17.25-130.25\nt 47-104.75q 4.5,22.5 55.5,85.5t 126.25,138.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sunnysideup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,341.5q0,80 -15.75,125.25t-48.25,45.25q-22.5,0 -45.75-5t-42-12.75t-40.25-16.5t-40.25-16.25t-42-12.75t-45.75-5.25q-31.5,0 -57-18.5t-40.5-48.75t-22.75-65.5t-7.75-71.75q0-15 9.75-33t 20.75-31t 27.5-30.75t 22-24.75q 8.5-11 20.25-33.5t 20.75-40.25t 23.75-31.75t 31.25-14q 26.5,0 68.5,10.25t 88,29\nt 86.5,41.5t 66.75,51.5t 26.25,55.25q0,24 -6.5,45.5t-16,36.25t-19,27.5t-16,24t-6.5,20.75zM 192,32q-14.5,0 -28.5,12.25t-22.75,27.5t-20,35.5t-18.75,29.25q-5,6 -19.5,21.75t-24,27t-18,27t-8.5,28.75q0,32 6.75,62.25t 20,56t 35.25,41.25t 50,15.5q 23,0 47,6.5t 44.5,16l 41,19\nt 44.5,16t 47,6.5q 14,0 23.75-12t 15-35t 7.25-49.75t 2-63.25q0-8 6.5-16.75t 16-18.25t 19-21t 16-29.25t 6.5-38.25q0-23.5 -23.75-48.75t-59.5-45.25t-75.5-36.25t-74.75-25.25t-54.5-9zM 224,352q-40,0 -68-28t-28-68t 28-68t 68-28t 68,28t 28,68t-28,68t-68,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pepperoni\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.75,471.75q-24.75,24.75 -23.75,40.25q-3,0 -5.75-3t-5.75-7.25t-4.5-5.75q-2-2 -4.5-8.25t-6-16t-6.5-16.75q-42.5,29 -95,24.25t-90-42.25l-155-155q-37.5-37.5 -42.25-90t 24.25-95q-7-3 -16.75-6.5t-16-6t-8.25-4.5q-1.5-1.5 -5.75-4.5t-7.25-5.75t-3-5.75q 16,1 40.5-23.5q 24.5-25 23.5-40.5\nq 3,0 5.75,3t 5.75,7.25t 4.5,5.75q 2,2 4.5,8.25t 6,16t 6.5,16.75q 42.5-29 95-24.25t 90,42.25l 155,155q 37.5,37.5 42.25,90t-24.25,95q 7,3 16.75,6.5t 16,6t 8.25,4.5q 1.5,1.5 5.75,4.25t 7.25,5.75t 3,6q-15.5-1 -40.25,23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"muffin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,192q0,21 -4.5,38t-11,29.75t-20,22.25t-24.25,16t-31.75,10.75t-34.75,6.5t-40.75,3.25t-42.5,1.25t-46.5,0.25t-46.5-0.25t-42.5-1.25t-40.75-3.25t-34.75-6.5t-31.75-10.75t-24.25-16t-20-22.25t-11-29.75t-4.5-38q0-35 19.5-69.25t 54-61.75l-9.5-29l 92-15.5q 48-16.5 100-16.5q 90,0 162.5,47\nl 29.5-15l 48,96l-0.5,0.5q 16.5,32 16.5,63.5zM 470.5,145l-22.5,15l-96-80l 34-17q-59.5-31 -130-31q-39.5,0 -78,10.5l 14,21.5l-96,64l-12.5-37q-24.5,20.5 -38,45t-13.5,49.5q0,41.5 23,65l 9-26.5l 96,32l-18.5,28q 34.5,4 114.5,4q 46,0 68-0.5l 12-47.5l 80-16l 23,40.5q 41-23.5 41-79q0-20 -9.5-40.5z\nM 192,176l 32-80l 96,32l-16,64zM 110,489.5q-46-18 -46-41.5l-32-128q 26.5,13.5 66,21zM 192,508.5q-26-3.5 -49-9l-13-153q 28,3.5 62,4.5l0,157.5 zM 288,352l0,159 q-17,1 -32,1t-32-1l0-159 l 32,0 l 32,0 zM 369,499.5q-23,5.5 -49,9l0-157.5 q 34-1 62-4.5zM 480,320l-32,128q0,23.5 -46,41.5l 12-148.5\nq 39.5-7.5 66-21z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restaurantmenu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-32,0 l0,9.5 q0,26.5 -14.75,42.25t-35.75,11.25l-251-49.5q-21-4 -35.75-25.5t-14.75-48l0-4 l0-314 l0-6 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 96,208.5q0,23 15,42q 2,3 10.75,9.5t 15.5,13.75t 6.75,14.25l0,16 l0,48 \nq0,7.5 15.75,13.75t 48.25,14.25q 19.5,5 33.75,3.75t 22.25-5.75t 8-10l0-32 l0-32 q0-7 6.75-13.25t 16-11.25t 10.75-6.5q 2.5-2 7.25-4.5t 6-5.25t 1.25-9.75q0-22.5 -14.5-41.5t-34.5-23q-12.5-2.5 -23.5,2.5q-15-25.5 -39.75-30.5t-39.25,14.5q-11.5-9 -23.5-11.5q-20.5-4 -34.75,9t-14.25,35.5zM 448,87q0-23 -16.25-39\nt-38.75-16l-232.5,0 l 173,34q 21,4.5 35.75,26t 14.75,47.5l0,276.5 l 9,0 q 22.5,0 38.75-16.25t 16.25-38.75l0-274 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bottle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,480q-2.5,13 -10.75,22.5t-21.25,9.5l-192,0 q-13,0 -21-9.25t-11-22.75l-32-192l0-64 q0-14.5 9.75-24t 28.75-18.75t 23.5-12.25q 20-14 36-33t 23.5-40l-9.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-9.5,0 \nq 15,40.5 55.5,70q 5.5,4.5 25,14t 30.25,19.5t 10.75,24.5l0,64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"steak\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,488q-19.5,20 -53.25,23.75t-75.25-11t-80.5-46.25q-19.5-16 -44.5-24.5t-47.75-10.75t-44.75-4t-41.25-7.5t-30.75-17.75q-40-40.5 -55.25-102.75t-1.75-124.5t 53.5-102.75t 101.25-54.25t 122.5,1.75t 101.25,56.5q 24.5,24.5 49.25,67.5t 43.5,94t 28.75,101t 4.25,93.75t-29.25,67.75zM 368,95.5\nq-28-28.5 -65.75-45.5t-78.25-18.5q-39-1 -76.5,13t-63.5,40q-55.5,56.5 -52,139q 1,34 12.5,70.25t 26.5,63.25q 7.5,13 26.5,19t 43.75,7.5t 50.75,3t 52.5,8.5t 43.5,21q 35.5,29 66.25,44t 56.25,15.75t 42.5-16.75q 20.5-21 25.5-58.5t-4-80.25t-25.25-86.25t-38-80t-43.25-58.5zM 288,384\nq-18-15 -49.5-22.5t-59.25-8.75t-52.25-5t-31-12.25q-29.5-37 -32-106q-3-71 44.5-120q 22-22.5 54.25-34.75t 65.75-11.25q 34.5,1 67,16t 56.5,39.5q 35.5,36 65.75,113t 30.25,136q0,24.5 -2.75,38.75t-13.25,25.25q-38,38.5 -144-48zM 176,127.5q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14\nt 14-33.75t-14-34t-34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,416q-36,0 -42,6t-6,42q0,20 -14,34t-34,14t-34-14t-14-34q 0.5-3 0.5-8.25t-0.75-20t-3.5-28t-10-29t-18.25-26.75l-64-64l-64-64q-15.5-15.5 -37.25-23.5t-36.25-9.25t-28.5-0.25q-5,1 -10,1q-20,0 -34-14t-14-34t 14-34t 34-14q 36,0 42-6t 6-42q0-20 14-34t 34-14t 34,14\nt 14,34q0,5 -1,9.5q-1,14 0.25,28.5t 9.25,36.5t 23.5,37.5q 13.5,13 40,39.75t 48.25,48.5l 39.75,39.75q 10.5,10.5 25.25,17.75t 27.5,10.25t 26.75,4t 20.5,0.75t 11-0.75l 0.75,0 l 0.25,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mushroom\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,256q-26.25,0 -55-8t-60.75-16t-66.25-8t-101,16.5t-95.25,15.5q-98.5-3 -58.5-64q 15-23 32.25-44.75t 45.25-49.75t 57.25-48.25t 68.25-34.5t 78.5-14.25q 50.5,0 92.25,15t 69.25,41t 42.5,61t 15,74.5q0,31 -18.75,47.5t-45,16.5zM 266.5,256q 24.5,0 50,4.5q-17.5,88.5 3.5,203.5\nq 4,20 -0.75,34t-18.25,14l-103.5,0 q-14.5,0 -25.75-13.25t-11.75-31.25q-3-106.5 29-200.5q 46.5-11 77.5-11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cherry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,384q-39.75,0 -67.75-28.25t-28-67.75q0-6.5 1.5-16q-157-56.5 -247.5-157.5q 21,117.5 87,211q 16.5-5.5 31-5.5q 40,0 68,28t 28,67.75t-28,68t-68,28.25t-68-28t-28-68q0-44 34.5-73.5q-76-106 -94-247q-3,0.5 -4.5,0.5q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.75-9.25\nt 22.5,9.25t 9.25,22.75q0,3.5 1.5,18.5q 91,123.5 268,189q 12.5-21.5 34.5-34.5t 48-13q 40,0 68,28t 28,67.75t-28.25,68t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pizza\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,32l-0.25-0.25l-0.25-0.25q-1,0.5 -2.5,1t-2.5,0.5l 197.5,479l-480-192.5l0,0.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,0 l0-5.5 q 31-114.5 115.5-199t 199.5-115.5l 5,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75zM 383.75,416q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25\nt-9.25,22.5t 9.25,22.75t 22.5,9.5zM 127.75,224q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 223.75,128q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 223.75,288q-13.25,0 -22.5,9.25t-9.25,22.5\nt 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 288,255.75q0,13.25 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cupcake\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,320q-69.5,0 -128.5-17.25t-93.25-46.75t-34.25-64q0-40 44.5-72.25t 116.5-46.75q 3.5,37 30.75,62t 64.25,25t 64.25-25t 30.75-62q 72,14.5 116.5,46.75t 44.5,72.25q0,34.5 -34.25,64t-93.25,46.75t-128.5,17.25zM 256,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 110,489.5q-46-18 -46-41.5l-32-160q 26.5,26.5 65,42zM 129.5,340.5q 28,7 62.5,10l0,158 q-26-3.5 -49-9zM 288,351.5l0,159.5 q-17,1 -32,1t-32-1l0-159.5 q 12.5,0.5 32,0.5q 20,0 32-0.5zM 369,499.5q-23,5.5 -49,9l0-158 q 34.5-3 62.5-10zM 480,288l-32,160q0,23.5 -46,41.5\nl 13-159.5q 38.5-15.5 65-42z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fish\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 406,382q-22-57 -22-126t 22-126q 45.5,8 75.75,43.5t 30.25,82.5t-30.25,82.5t-75.75,43.5zM 432,224q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 143,291q-13,4 -24,15.25t-19.25,24t-17.25,25.25t-21.75,20.5t-28.75,8\nq-15.5,0 -23.75-9.5t-8.25-22.5q0-34 21.5-57.25t 57.5-32.75q 1-3.5 1-6t-1-6q-36-9.5 -57.5-32.75t-21.5-57.25q0-12.5 9-22.25t 23-9.75q 16,0 28.75,8t 21.75,20.5t 17.25,25.25t 19.25,24t 24,15.25q 20-23.5 64-45t 88.75-33.5t 77.75-14q-21.5,59.5 -21.5,127.5t 21.5,127.5q-33-2 -77.75-14t-88.75-33.5t-64-45z\nM 320,112zM 272,64q 20,0 34,14t 14,34q-32,0 -82.25,19.5t-93.75,44.5q 13-24 40.5-51t 52.5-44t 35-17zM 201,368q 40,19.5 87,32.5q-9,21.5 -28.5,34.5t-43,13q-12.5,0 -18.25-3.75t-6-11.75t 1.5-16.75l 4.5-22.5t 2.75-24.75l0-0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chicken\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448q-6,0 -25-17q-16.5-5.5 -23,1t-1,23q 17,19 17,25q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5q0-6 -2-13.75t-9.5-23.75t-12.5-26.25t-19.5-39.75l-36-34q 0.5-1 3.5-6t 5.75-9t 6.25-7.5t 7.25-6.25t 8.5-5.5t 6.25-3.75l 34.5,36q 29.5,14.5 39.75,19.5t 26.25,12.5t 23.75,9.5t 13.75,2\nq 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 304,304q-6,6 -10.75,15t-9,13t-12.25,4q-22,0 -41.75-5t-32.5-11.75t-32.5-16t-37.25-15.25q-73-24.5 -100.5-54.75t-27.5-89.25q0-59.5 42.25-101.75t 101.75-42.25q 59,0 89.25,27.5t 54.75,100.5q 7,20.5 20.25,46.25t 20.5,47.5t 7.25,50.25\nq0,7.5 -4.25,11.75t-13.25,9.5t-14.5,10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rorschach\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,68l-54.5,0 q-13,0.5 -21.75,5.5t-18.25,14.5q-1.5,4.5 -5.5,14t-5.5,14.5q-5.5,21.5 -10.5,28.5q-4.5,6 -17.25,10t-15.75,6.5q-6.5,5 -14.5,18t-10,16q-3,3.5 -4.75,5.25t-5.75,3t-9.5,0.75q-13.5-1.5 -26-36t-10-67.5q 0.5-4.5 5-8t 10.25-5.5t 11.25-6.5t 7.5-10.5q 2.5-9.5 1.5-12.5t-4.25-6.75t-3.75-6.25\nq-0.5-1.5 2.25-5t 2.75-13q0-6.5 4-14.75t 11.25-11.75t 17.75,7.5q 4,4.5 10.25,7.75t 16.25,6.75t 14,5.5q 5.5,2.5 9.5,10.5q 33.5,12.5 59.5,12.5q 8,0 19.5-14t 16-15.5q 15.5-5.5 24.5,15q 7.5,17.5 1,28q-2,3.5 -6.5,3.5zM 331,238q 1-3.5 0.5-6.75t 0.25-6t 3.25-3.25q 5.5-1 17.25,4.75t 15.25,13.75q 3,7.5 -9,23\nq-5,6.5 -1,9.25t 10-0.25q 7.5-3.5 17-13.25t 17-16t 14-4.75q 11,2.5 23,12.5t 18,25.5q 4.5,11 4.75,26.75t-5.75,24.25q-8,8.5 -29.25,10.25t-25.25,3.25q-11,5 -18,12.5t-11,13t-9,7q-8.5,2 -16.5,2.25t-12.75-0.25t-14.25-2.25t-14-2.25q-16-2 -22.75-16t-0.75-28q 2-5.5 7-10.5t 7.5-8t 1-5.5\nt-10.5-2t-11-1.5q-7-9.5 1-29q 4.5-10 16.75-15t 23.5-8.25t 13.75-9.25zM 214.5,303q-1.5,2.5 1,5.5t 7.5,8t 7,10.5q 6,14 -0.75,28t-22.75,16q-4.5,0.5 -14,2.25t-14.25,2.25t-12.75,0t-16.5-2q-5-1.5 -9-7t-11-13t-18-12.5q-4-1.5 -25.25-3.25t-28.75-10.25q-6.5-8.5 -6.25-24.25t 4.75-26.75q 6-15.5 18-25.5t 23-12.5\nq 6.5-1.5 14,4.75t 17,16t 17,13.25q 6,3 10,0.5t-1-9.5q-12-15.5 -9-23q 3.5-8 15.25-13.75t 17.25-4.75q 3,0.5 3.5,3.25t0,6t 0.5,6.75q 2.5,6 14,9t 23.5,8.25t 16.5,15.25q 8,19.5 1,29q-1.5,2 -10.75,1.5t-10.75,2zM 202.5,204.5q-7.5,1 -11.5-1.25t-8.5-7.75q-2-3 -10-16t-14.5-18q-3-2.5 -15.75-6.5t-17.25-10\nq-5-7 -10.5-28.5q-1.5-5 -5.5-14.5t-5.5-14q-9.5-9.5 -18.25-14.5t-21.75-5.5l-54.5,0 q-10.5,0 -9-17.5q 1.5-20 14-27.5q 6.5-4 14-1.5q 4.5,1.5 16,15.5t 19.5,14q 26,0 59.5-12.5q 4-8 9.5-10.5q 4-2 14-5.5t 16.25-6.75t 10.25-7.75q 10.5-11 17.75-7.5t 11.25,11.75t 4,14.75q0,9.5 2.75,13t 2.25,5q-0.5,3 -3.75,6.5t-4.25,6.5\nt 1.5,12.5q 2,6 7.5,10.5t 11.25,6.75t 10.25,5.5t 5,7.75q 2.5,33 -10,67.5t-26,36zM 68.25,170.5q 14.25,0 24.25,5t 10,12.25t-10,12.25t-24.25,5t-24.25-5t-10-12.25t 10-12.25t 24.25-5zM 136,410.5q 5.5-2 14,5t 15,6q 4-0.5 8.75-2.75t 9.25-1.75q 3.5,0 7.5,6.5t 8.75,12.25t 11.25,4.25q 17-3 26.5,4\nq 4,2.5 -0.75,15.25t-14.25,24.5t-17.25,11.5t-12.5-3.5t-6-5t-7.25,0.25q-5.5,2.5 -5.5,4.75t 2.75,4t 5.25,4t 1,4.25q-2,4.5 -10.75,6.5t-14.25,1.5q-9.5-0.5 -23.75-12t-18.25-14q-14.5-7.5 -13-52.5q0-6.5 5.5-11.25t 10.5-6.75t 14.5-4.5q 2-0.5 3-0.5zM 301.5,440q 5,1 9.25-2.25t 6.75-7.75t 5.5-8.75t 6-4.25\nq 4.5-0.5 9.25,1.75t 8.75,2.75q 6.5,1 15-6t 14-5q 1,0 3,0.5q 9.5,2.5 14.5,4.5t 10.5,6.75t 5.5,11.25q 1.5,45 -13,52.5q-4,2.5 -18.25,14t-23.75,12q-5.5,0.5 -14.25-1.75t-10.75-6.25q-1-2 0.5-3.75t 3.75-3t 4-2.75t 0.75-3.5t-5.5-4q-6-2 -7.25-0.25t-6,5t-12.5,3.5t-17.25-11.5t-14.25-24.5t-0.75-15.25\nq 9.5-7 26.5-4zM 409.5,187.75q0-7.25 10-12.25t 24.25-5t 24.25,5t 10,12.25t-10,12.25t-24.25,5t-24.25-5t-10-12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"robocop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-5,0 q-7.5,58 -24.5,96q-18,40 -48.75,69.75t-63.75,44t-64.5,14.25t-64.5-14t-64-43.75t-49-70.25q-17-37.5 -25-96l-7,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 4.5,0 q 14.5-55 72.5-91.5t 132.5-36.5t 131.25,36.25t 71.25,91.75l 4,0 q 13,0 22.5,9.25t 9.5,22.75l0,96 \nq0,13.5 -9.5,22.75t-22.5,9.25zM 123.5,368q 7,16 13,27.75t 14.75,25t 19.25,20.25t 21.5,7q 13.5,0 27.75-8t 27.5-16t 24.75-8q 11,0 24.5,8t 27.75,16t 27.75,8q 19.5,0 38.25-24t 32.75-56q 14-31.5 20-80l-340,0 q 7,48.5 20.5,80zM 432,192l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75\nl 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aperture\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 362.5,327q 3-5 4.5-7l 110.5-192q 34.5,59.5 34.5,128q0,14 -2,31.5zM 381.5,231l-2-8l-57-214q 82.5,22 135,89.5zM 327,149.5q-5.5-3.5 -7-4.5l-192-110.5q 59.5-34.5 128-34.5q 14,0 31.5,2zM 231,130.5l-8,2l-214,57q 22-82.5 89.5-135zM 149.5,185q-3.5,5.5 -4.5,7l-110.5,192q-34.5-59.5 -34.5-128q0-14 2-31.5\nzM 130.5,281q 1.5,6.5 2,8l 57,214q-82.5-22 -135-89.5zM 185,362.5q 5.5,3.5 7,4.5l 192,110.5q-59.5,34.5 -128,34.5q-14,0 -31.5-2zM 281,381.5q 7-1.5 8-2l 214-57q-22,82.5 -89.5,135z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quake\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,350l0,98 l-32,64l-32-64l0-98 q-53.5-7 -97.5-33.5t-69.25-67.75t-25.25-88.75q0-28 10.25-58t 32.75-58.5t 53-43.5q-64,78.5 -64,120q0,62 45.75,108.75t 114.25,56.75l0-61.5 l 32-64l 32,64l0,61.5 q 68.5-10 114.25-56.75t 45.75-108.75q0-41.5 -64-120q 30.5,15 53,43.5t 32.75,58.5\nt 10.25,58q0,47.5 -25.25,88.75t-69.25,67.75t-97.5,33.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pokemon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,480q 55.5,0 103.5-25.25t 79.25-69.25t 38.75-97.5l-131.5,0 q-10,28.5 -34.5,46.25\nt-55.5,17.75t-55.5-17.75t-34.5-46.25l-131.5,0 q 8,53.5 39,97.5t 79,69.25t 103.5,25.25zM 320,256q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 458,160l-10,0 l0-18.5 q-4.5-7.5 -8.5-13.5l-23.5,0 l0-28.5 l-1.75-1.75l-1.75-1.75l-28.5,0 l0-23.5 q-8-5.5 -12.5-8.5l-19.5,0 \nl0-10.5 q-15.5-7 -32-12l0,22.5 l-32,0 l0-29.5 q-17.5-2.5 -32-2.5l0,32 l-32,0 l0-29.5 q-17,2.5 -32,7l0,22.5 l-32,0 l0-10.5 q-10.5,5 -19.5,10.5l 19.5,0 l0,32 l-32,0 l0-23.5 q-15,10.5 -28.5,23.5l 28.5,0 l0,32 l-32,0 l0-28.5 q-12.5,13 -23.5,28.5l 23.5,0 l0,32 l-32,0 l0-18.5 q-5.5,9 -10,18.5l 10,0 l0,32 l-22,0 q-5.5,17.5 -7.5,32l 29.5,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 6,0 q 6-17.5 19-32\nl-25,0 l0-32 l 32,0 l0,25 q 14.5-13 32-19.5l0-5.5 l 32,0 q 16,0 32,5.5l0-5.5 l 32,0 l0,25 q 3.5,3 7,7l 25,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 22,0 q-4.5-16.5 -12-32zM 416,192l0-32 l 32,0 l0,32 l-32,0 zM 384,160l0-32 l 32,0 l0,32 l-32,0 zM 352,128l0-32 l 32,0 l0,32 l-32,0 zM 320,96l0-32 l 32,0 l0,32 l-32,0 zM 256,96l0-32 l 32,0 l0,32 l-32,0 zM 192,96l0-32 l 32,0 l0,32 l-32,0 z\nM 192,128l-32,0 l0-32 l 32,0 l0,32 zM 160,160l-32,0 l0-32 l 32,0 l0,32 zM 128,192l-32,0 l0-32 l 32,0 l0,32 zM 224,128l0,32 l-32,0 l0-32 l 32,0 zM 288,128l0,32 l-32,0 l0-32 l 32,0 zM 352,128l0,32 l-32,0 l0-32 l 32,0 zM 384,160l0,32 l-32,0 l0-32 l 32,0 zM 288,128l0-32 l 32,0 l0,32 l-32,0 zM 224,128l0-32 l 32,0 l0,32 l-32,0 zM 224,256.25q0-13.25 9.5-22.75t 22.75-9.5t 22.5,9.25\nt 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"xbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,480q-5.5-2.5 -15.25-7.25t-39.5-21t-59-33.75t-68.75-45t-73.5-55.5q-34,28 -73,55.25t-70,45.75t-57.5,33t-40.75,21.5t-14.75,7q 5-4.5 14-12.75t 34.25-33.75t 48-50.5t 49.75-59.75t 45.5-64.75q-85-85.5 -156.5-190l-3-4.5q 4,4 11.75,11.25t 32,27t 49.25,36.5t 61,35.5t 70,29.25\nq 34-10.5 69.5-28.5t 62-36.75t 48.25-35.75t 32.75-27.5l 11.5-11q-7.5,11.5 -21.5,31t-55.75,71t-82.25,92.5q 18.5,30 45,64t 51.25,61t 46.75,49.25t 35.25,34.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spaceinvaders\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l0-96 l-64,0 l0,96 l-32,0 l0-32 l-256,0 l0,32 l-32,0 l0-96 l-64,0 l0,96 l-32,0 l0-128 l 32,0 l0-64 l 64,0 l0-64 l 64,0 l0-32 l 32,0 l0,32 l 128,0 l0-32 l 32,0 l0,32 l 64,0 l0,64 l 64,0 l0,64 l 32,0 l0,32 l0,96 l-32,0 zM 192,224l-64,0 l0,64 l 64,0 l0-64 zM 384,224l-64,0 l0,64 l 64,0 l0-64 zM 288,448l0-32 l 96,0 l0,32 l-96,0 zM 224,448l-96,0 l0-32 l 96,0 l0,32 z\nM 128,96l 32,0 l0,32 l-32,0 l0-32 zM 64,64l 64,0 l0,32 l-64,0 l0-32 zM 384,96l0,32 l-32,0 l0-32 l 32,0 zM 448,64l0,32 l-64,0 l0-32 l 64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"designcontest\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 456,162.5l-127.5,127l-128.5-127.5q-7.5-7.5 -18.25-7.5t-18.25,7.5t-7.5,18.25t 7.5,18.25l 183.5,181.5q 23,23 23,55t-23,54.5t-55.25,22.5t-54.75-22.5l-184-182q-34.5-34.5 -47-81t0-92.75t 47.25-81t 81.75-47t 93.75,0t 81.75,47.25l 18,18l 23.5-23q 10.5-10.5 28.5-14.75t 39.25,1t 36.25,20.25\nq 23.5,23.5 23.75,54.5t-23.75,53.5zM 336,160l-64-64q-31-31 -65-42t-64.5-2.25t-56.5,34.75q-25,25 -34,56.25t-1.5,61t 29.5,52.25l 192,192q 16,16 32,0t0-32l-185.5-186q-23-23 -23-55.5t 23-56q 15-14.5 35.75-20t 39.5-1.75t 30.25,15.25l 80,80q 7.5,7.5 16,7.5t 16-7.5q 16-16 0-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"residentevil\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l-192,0 l-160-160l0-192 l 160-160l 192,0 l 160,160l0,192 zM 224,256l-192-88.5l0,177 zM 167.5,480l 177,0 l-88.5-192zM 256,224l 88.5-192l-177,0 zM 288,256l 192,88.5l0-177 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tron\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,160l-96,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,0 l0,256 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 l0,0 q0-52 25.75-96.25t 70-70t 96.25-25.75l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,64l-96,0 q-42.5,0 -79.5,22t-58.75,58.75\nt-21.75,79.25l0,0 l0,256 l 64,0 l0-256 q0-36.5 30-66.25t 66-29.75l 96,0 l0-64 zM 160,160l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 160,64l-128,0 l0,64 l 128,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"apple\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,272q0,36 15,64.75t 38.5,40.75q-22,57 -54,95.75t-63.5,38.75q-13.5,0 -26.75-8l-26.5-16t-26.75-8t-26.75,8l-26.5,16t-26.75,8q-25,0 -49.5-26.5t-41.25-65.5t-27-83.25t-10.25-80.75q0-53 37.5-90.5t 90.5-37.5q 13.5,0 28.5,8t 28.25,16t 23.25,8q 11,0 24.25-8t 27.75-16t 28-8\nq 29,0 57.25,12.25t 49.75,33.25q-19.5,14.5 -31.25,40.75t-11.75,57.75zM 272,112q-1-18.5 7.75-39.25t 26.5-38.25t 38.5-26.5t 39.25-8q 1,18.5 -7.75,39.25t-26.5,38.5t-38.5,26.75t-39.25,7.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tetristhree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-288,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 224,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75\nl 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 224,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 224,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25\nt 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 384,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tetristwo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,352l-128,0 l0,128 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-288 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0-128 q0-13 9.25-22.5t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,13.5 -9.5,22.75t-22.5,9.25zM 224,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 \nq0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 224,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 384,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 384,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tetrisone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,352l-128,0 l0,128 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 224,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 224,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 224,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75\nt-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 384,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"darthvader\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 436,230q-14.5-24 -41-33q-34-20.5 -75-30l0-145 q 58.5,12.5 93.25,47.5t 34.75,90q0,46.5 -3,84q-2.5-6 -9-13.5zM 224,161.5l0-114 l0-30 l0-2 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,1.5 l0,30.5 l0,114 q-17-2 -31.75-2t-32.25,2zM 76,229.5q-6.5,8 -9,14q-3-37.5 -3-84q0-54 35-89\nt 93-48l0,144.5 q-41,9.5 -75,30q-26.5,9 -41,32.5zM 144,320q-20,0 -34-14.25t-14-34t 14-33.75t 34-14t 34,14t 14,33.75t-14,34t-34,14.25zM 320,271.75q0-19.75 14-33.75t 34-14t 34,14t 14,33.75t-14,34t-34,14.25t-34-14.25t-14-34zM 144,352q 33,0 56.5-23.5t 23.5-56.5q0-24 -12.75-43.25\nt-33.25-29.25q 39-8 78-8q 38.5,0 78,8q-21,10 -33.5,29.5t-12.5,43q0,33 23.5,56.5t 56.5,23.5q 32.5,0 55.75-22.75t 24.25-54.75l 64,205.5q-8.5,0 -27.25-4.5t-51-13.25t-55.25-14.25q-28,31.5 -64,47.75t-58.5,16.25t-58.5-16.25t-64-47.75q-23,5.5 -55,14.25t-51,13.25t-27.5,4.5l 64-205.5\nq 1,32 24.25,54.75t 55.75,22.75zM 176,448l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25q-1.5-3.5 -4-7l-60-105l-64,0 l-60,105l-4,7q0,6.5 4.75,11.25t 11.25,4.75zM 272,352l 32,64l-96,0 l 32-64l 32,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ironman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 418.5,416q-12,26 -36.5,51t-54.5,45l-175,0 q-28-18.5 -51.75-44t-36.75-52q-32-64 -32-256q0-17.5 5.5-48.25t 10.5-47.75l 80-48q 49.5-16 113.5-16q 60.5,0 110.5,16l 80,48q 5,17 10.5,47.75t 5.5,48.25q0,192 -29.5,256zM 167.5,480l 147,0 q 44-30.5 69.5-80l-32,16l-32,0 l-24-32l-112,0 l-24,32l-32,0 \nl-32-16q 21.5,45 71.5,80zM 416,96l-81-50q-16.5-5.5 -32.5-8.5l-14.5,58.5q-3.5,13.5 -11.5,22.75t-20.5,9.25l-32,0 q-12,0 -20.25-9.75t-11.75-22.25l-14.5-58q-15,3 -30,8l-83.5,50l0,112 q0,27.5 8,68.75t 8,59.25q0,12 3,25.5l 62.5,31l 30.5-40.5l 128,0 l 30.5,40.5l 62.5-31q 3-14 3-25.5\nq0-17 8-59.25t 8-68.75l0-112 zM 288,208l 96-16l0,32 l-96,32l0-48 zM 96,192l 96,16l0,48 l-96-32l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448q-24.5,24.5 -77,44.25t-97,19.75q-45.5,0 -99.5-19.75t-78.5-44.25q-32-32 -32-256l0-176 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l 18.5,74.5q 30-27 71.75-42.75t 87.75-15.75q 45.5,0 86,15.5t 69.5,42l 18.5-73.5q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,176 \nq0,224 -32,256zM 160,224q-13,0 -32.75-10t-26.75-23q-4.5,8.5 -4.5,17q0,21.5 11.5,34.75t 36.5,13.25q 24,0 34.25-7t 13.75-25l-32,0 zM 379.5,191q-7,13.5 -26.25,23.25t-33.25,9.75l-32,0 q 3.5,18 13.75,25t 34.25,7q 25,0 36.5-13.25t 11.5-34.75q0-8.5 -4.5-17zM 240,352l-176-64l0,0 l0,0 l0,0 q0,109 27,136.5\nq 20.5,21 66.5,38.25t 84,17.25q 37.5,0 82-17t 65.5-38.5q 27-27.5 27-136.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spiderman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 431,355q-40.5,33.5 -106,50.5l-66-118.5l 99-178.5q 53,11.5 89.5,29q 2,12.5 2,22.5l0,17.75 l0,25 t-0.5,26t-1.75,31.75t-3.25,30.5t-5.25,33.5t-7.75,30.5zM 360.5,230.5q-23.5,10.5 -47.5,27.25t-24,24.25q0,9.5 2.75,16.25t 9,10.75t 11.75,6.5t 15.5,3.5t 15.75,1.25t 16.75,0.25q 57,0 57-128.5\nq0,0.5 -6.25,6.25t-20.5,15.5t-30.25,16.75zM 391.5,48.5q 35,28.5 49.5,65.5q-28-20 -68-32.5zM 257,64l0-64 q 59.5,3 107.5,30.5l-23.5,42.5q-39-8 -84-9zM 174,440.5q 26,6.5 50.5,8l0,63.5 q-37.5-5 -74.5-28.5zM 224.5,349l0,67 q-18.5-1 -35-3.5zM 224.5,96l0,129 l-67.5-122.5q 34.5-5.5 67.5-6.5zM 117.5,31.5\nq 48-27.5 107-31.5l0,64 q-45,1.5 -84,9.5zM 90.5,49.5l 18,32q-40,12.5 -67.5,32q 14.5-36 49.5-64zM 222.5,287l-66,119q-62.5-16 -102.5-48.5q-22-69.5 -22-197.5q0-10 2.5-22.5q 36.5-17.5 89-28.5zM 64,192q0,128.5 57,128.5q 11,0 16.75-0.25t 15.75-1.25t 15.5-3.25t 11.75-6.5t 9-11t 2.75-16.25q0-7.5 -24-24.25\nt-47.5-27.25q-16-7 -30.25-16.75t-20.25-15.75zM 124,464.5q-37-31.5 -57.5-75.5q 32,26 76,42zM 257,225l0-129 q 33.5,1 68,6.5zM 257,416.5l0-67.5 l 35,63.5q-18,3 -35,4zM 332,484.5q-38,23.5 -75,27.5l0-63.5 q 24.5-1.5 50.5-8zM 358.5,465.5l-19.5-35q 47.5-17 81-45.5q-21.5,47 -61.5,80.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spider\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320q0,21.5 -0.25,32.75t-2,30.75t-5.75,33t-10.75,30.75t-18.25,33.25t-27,31.5q 14.5-44 22.25-79.5t 8.75-49.25t 1-31.25q0-11.5 -7.25-21.5t-18.5-16.75t-21.5-11.25t-20.25-7.5q 3.5,11 3.5,25q0,15 -0.25,24.5t-2,28t-6,31.75t-10.75,28.75t-18,27.5t-27,19.5q 15-29.5 22.5-57.5t 8.5-42t 1-35.5\nq0-23.5 -9-35.75t-26.5-17.25q-5.5,34.5 -17.75,70t-28.5,60.75t-30.25,25.25t-30.25-25.25t-28.5-60.75t-17.75-70q-17.5,5 -26.5,17.25t-9,35.75q0,21.5 1,35.5t 8.5,42t 22.5,57.5q-15.5-7.5 -27-19.5t-18-27.5t-10.75-28.75t-6-31.75t-2-28t-0.25-24.5q0-14 3.5-25q-10,3 -20.25,7.5t-21.5,11.25t-18.5,16.75\nt-7.25,21.5q0,17.5 1,31.25t 8.75,49.25t 22.25,79.5q-18-18 -31-41.25t-19.25-42.25t-9.5-43.5t-3.75-36t-0.5-29q0-13.5 5.75-23.75t 17.25-17t 25.25-11.25t 33-7t 37.25-3.5t 41.5-1.5l0,0 q-25.5-0.5 -43.5-2t-35-5.5t-27.25-10.75t-16.25-18.25t-6-27.5q0-17.5 0.5-29t 3.75-36t 9.5-43.25t 19.25-42.25t 31-41.5q-32,96 -32,179.5\nq0,27.5 35.5,37.5q-3.5-11 -3.5-25q0-15 0.25-24.5t 2-28t 6-31.75t 10.75-28.75t 18-27.5t 27-19.5q-15,29.5 -22.5,57.5t-8.5,42t-1,35.5q0,27 11.75,39.25t 34.75,15.75q 12-13.5 30.25-21.75t 35.25-8.25t 35.25,8.25t 30.25,21.75q 23-3.5 34.75-15.75t 11.75-39.25q0-21.5 -1-35.5t-8.5-42t-22.5-57.5q 15.5,7.5 27,19.5t 18,27.5\nt 10.75,28.75t 6,31.75t 2,28t 0.25,24.5q0,14 -3.5,25q 35.5-10 35.5-37.5q0-83.5 -32-179.5q 15.5,15.5 27,31.5t 18.25,33.25t 10.75,30.75t 5.75,33t 2,30.75t 0.25,32.75q0,16 -6,27.5t-16.25,18.25t-27.25,10.75t-35,5.5t-43.5,2l0,0 q 23.5,0.5 41.5,1.5t 37.25,3.5t 33,7t 25.25,11.25t 17.25,17t 5.75,23.75z\nM 192,144q0-20 14-34t 34-14t 34,14t 14,34t-14,34t-34,14t-34-14t-14-34z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"xmen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,416q 39,0 74-18l-74-74l-74,74q 35,18 74,18zM 114,330l 74-74l-74-74q-18,35 -18,74t 18,74\nzM 256,96q-39,0 -74,18l 74,74l 74-74q-35-18 -74-18zM 398,182l-74,74l 74,74q 18-35 18-74t-18-74z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spawn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 235,334q-19-3 -31-11.25t-12-18.75q0-10 11.75-18.25t 30.75-11.75\nq-10-31.5 -35.5-67.75t-55-64.75q 34-15.5 55.25-44t 23.25-62.5q-53.5,8 -97,39t-68.5,79t-25,103q0,57.5 27,107t 73.75,80.25t 103.25,35.75q-9.5-1 -19-2.5q-12-35.5 -43.5-59.5q 20-15 37-36.5t 24.5-46.5zM 289.5,35q 2,34 23.25,62.5t 55.25,44q-29.5,28.5 -55,64.75t-35.5,67.75\nq 19,3.5 30.75,11.75t 11.75,18.25q0,10.5 -12,18.75t-31,11.25q 7.5,25 24.5,46.5t 37,36.5q-31.5,24 -43.5,59.5q-9.5,1.5 -19,2.5q 56.5-5 103.25-35.75t 73.75-80.25t 27-107q0-55 -25-103t-68.5-79t-97-39zM 352,352q 8-3 15-6.75t 11.25-6.5t 10.25-8t 8.5-7.5t 9.5-9.5t 9.5-9.75q 7.5-7.5 11.75-23.5t 4.25-24.5\nq 5.5,0 10.75,9.75t 5.25,22.25q0,46 -30.5,57.5q-16.5,6.5 -65.5,6.5zM 64,288q0-12.5 5.25-22.25t 10.75-9.75q0,8.5 4.25,24.5t 11.75,23.5q 2.5,2.5 9.5,9.75t 9.25,9.5t 8.5,7.5t 10.5,8t 11.25,6.5t 15,6.75l-0.5,0 l-16.5,0 t-15-0.5t-14.25-1.25t-12.25-2.25t-11.25-4l-9-6t-7.75-8.25t-5-10.75t-3.5-13.75\nt-1-17.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"punisher\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,288.5q 13.5,12.5 13.5,31.5q0,47.5 -64,67l0,109 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 l0-32 l0-6 l-0.5,0.25l-0.5,0.25q-4-10.5 -15-10.5q-6,0 -10.5,4t-5,10l-0.5,0 l0,2 l0,32 l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 l0-32 l0,0 q0-7 -4.75-11.5t-11.25-4.5\nt-11.25,4.5t-4.75,11.5l0,0 l0,32 l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 l0-32 l0-2 l-0.5,0 q-0.5-6 -5-10t-10.5-4q-11,0 -15,10.5l-0.5,0 t-0.5-0.5l0,6 l0,32 l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-109 q-64-19.5 -64-67q0-19 13.5-31.5q-45.5-47.5 -45.5-112.5q0-36 15.25-68.5\nt 42.25-56t 66-37.5t 84.5-14t 84.5,14t 66,37.5t 42.25,56t 15.25,68.5q0,65 -45.5,112.5zM 128,176q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,35.5 18.5,57.75t 45.5,22.25q 32,0 32-16q-64-32 -64-64zM 208,288q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75q 12,0 14-2\nt 2-14t-2-14t-14-2zM 272,288q-12,0 -14,2t-2,14t 2,14t 14,2q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 368,160q-6.5,0 -11.25,4.75t-4.75,11.25q0,32 -64,64q0,16 32,16q 27,0 45.5-22.25t 18.5-57.75q0-6.5 -4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"avengers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 288,445l0-61 l-128,0 l-14.5,29q 50,35 110.5,35q 15,0 32-3zM 192,320l 96,0 l0-192 zM 64,256q0,54.5 29,101.5l 146.5-292.5\nq-74,6 -124.75,61t-50.75,130zM 352,90l0,332 q 44-25.5 70-69.5t 26-96.5t-26-96.5t-70-69.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"captainamerica\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,32q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87t 17.75,87t 47.75,71.5t 71.5,47.75t 87,17.75\nt 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87t-17.75-87t-47.75-71.5t-71.5-47.75t-87-17.75zM 350,385.5l-32.5-109.5l 90.5-69.5q 8,24.5 8,49.5q0,39 -17.75,73t-48.25,56.5zM 294,203.5l-38-107.5q 52.5,0 94.5,31t 57.5,79.5zM 104,206.5q 15.5-48.5 57.5-79.5t 94.5-31l-38,107.5zM 194.5,276l-32.5,109.5\nq-30.5-22.5 -48.25-56.5t-17.75-73q0-25 8-49.5zM 256,320.5l 94,65q-42,30.5 -94,30.5t-94-30.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"greenlantern\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 327,64q 53.5,24.5 87.25,78t 33.75,114t-33.75,114t-87.25,78l 121,0 l 32,64l-448,0 l 32-64l 121,0 q-53.5-24.5 -87.25-78t-33.75-114t 33.75-114t 87.25-78l-121,0 l-32-64l 448,0 l-32,64l-121,0 zM 128,256q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"superman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,182.5l-224,256q-9,9.5 -22.25,9.5t-22.75-9.5l-224-256q-9.5-9 -9.5-22.25t 9.5-22.75l 64-64q 9.5-9.5 22.5-9.5l 320,0 q 13,0 22.5,9.5l 64,64q 9.5,9 9.5,22.5t-9.5,22.5zM 256,416l 57.5-65.5q-10,1.5 -19.5,1.5l-46,0 q-29.5,0 -52.5-5zM 144,288l 48,0 q0,16 14.25,24t 33.75,8l 32,0 q 28.5,0 38.25-6.5\nt 9.75-25.5q0-14.5 -15.5-23.25t-48.5-8.75q-38.5,0 -60-0.5t-48.25-3.75t-43.75-9.25zM 96,96l-64,64l 32.5,37l-0.25-2t-0.25-3q0-23.5 22.5-46.25t 54.5-36.25t 61-13.5l-106,0 zM 272,96q 69,0 91,35l 21-35l-112,0 zM 434.5,114.5l-34.5,45.5l-64,0 q0-11 -11.5-18.5t-25.5-10.5t-27-3l-48,0 q-31,0 -47.5,7.25t-16.5,24.75\nq0,13 30,22.5t 66,9.5q 36.5,0 62.5,5.25t 39.75,14.75t 19.75,20.25t 6,23.75q0,5 -1,15l 97-111z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"weight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471,512l-430,0 q-15.5,0 -25-6.5t-12.75-16.25t-3-22.5t 2.75-23.5t 6-21.25l 45-245q 7-23.5 27.5-36.25t 44.5-12.75l 40,0 q-6-16.5 -6-32q0-40 28-68t 68-28t 68,28t 28,68q0,15.5 -6,32l 40,0 q 24,0 44.5,12.75t 27.5,36.25l 45,245q 3.5,10.5 6,21.25t 2.75,23.5t-3,22.5t-12.75,16.25t-25,6.5zM 256,64\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 304,384l-16,0 q-12,0 -22-10.5t-10-21.5l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-16,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 q0,24 20,44t 44,20l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bread\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384.5,314.5q 9,8.5 33.5,4t 45-19.5q 25,39.5 37.25,74.25t 11.75,59.75t-6.75,42.25t-17.75,28.25q-23,23.5 -72.75-15.25t-164.75-154.25l-36-36q-120.5-120.5 -144.5-146q-68.5-74.5 -69.5-106q-0.5-12.5 8.5-21.5q 10.5-10.5 26.5-16.75t 38.75-7.5t 54.5,8.5t 67.75,30.25q-4,5.5 -5.5,7q-13,15 -30.25,27\nt-31.75,17.5q 5.5,4.5 16.75,5.25t 24.25-2.5t 26.75-11t 23.75-18.75q0-0.5 4.5-6.5q 46.5,31 98.5,79.5q-0.5,0 -2,2.25t-2.5,3.25q-13.5,15 -30.5,27t-31.5,17.5q 5.5,4.5 16.75,5.25t 24-2.5t 26.5-11t 23.75-18.25l 1.25,1.25l 1.25,1.25q 56.5,56.5 94.5,109.5q-29.5,31.5 -60,42.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microwave\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 432,320\nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 400,352q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 400,288q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75zM 352,160q0-13.5 -9.25-22.75t-22.75-9.25l-256,0 q-13,0 -22.5,9.25t-9.5,22.75l0,192 q0,13 9.5,22.5t 22.5,9.5l 256,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-192 zM 480,144q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 464,256q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,320q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"candy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q-48,24 -76,52t-52,76q0-8 -0.75-16.25t-2.75-18t-3.5-16.75t-5-18.25t-4.75-16t-5.25-17t-5-14.75q-85,59.5 -192.25-47.75t-47.75-192.25q-2-0.5 -14.5-4.75t-17.25-5.5t-16-4.75t-18.25-5t-16.75-3.5t-18-2.75t-16.25-0.75q 48-24 76-52t 52-76q0,8 0.75,16.25t 2.75,18\nt 3.5,16.75t 5,18.25t 4.75,16t 5.5,17.25t 4.75,14.5q 85-59.5 192.25,47.75t 47.75,192.25q 2.5,0.5 14.75,4.75t 17,5.5t 16,4.75t 18.25,5t 16.75,3.5t 18,2.75t 16.25,0.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"teapot\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192q0,64 -32,64q-1.5,0 -2.5,2.5q 2.5,16 2.5,29.5q0,54 -27.25,107.25t-71.25,84.75l-187,0 q-49.5-35.5 -77.5-98.5q-9,2.5 -21,2.5q-17,0 -32-23.25t-23.5-56.25t-8.5-64.5q0-80 64-80q 25.5,0 40,11q 27-35 66.75-55t 85.25-20q 48.5,0 90.5,22.75t 68.5,61.75q 1-3 1-4.5q0-33 23.5-56.5\nt 56.5-23.5q 8,0 16,1.5l0,62.5 q-13.5,0 -22.75,9.25t-9.25,22.75zM 64,192q-32,0 -32,57q0,28.5 13.75,60.25t 27.75,40.25q-9.5-32.5 -9.5-61.5q0-42.5 18.5-81.5q-8.5-14.5 -18.5-14.5zM 224,63.75q0-13.25 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fishbone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384q-17-17 -23.75-40.75t-7.75-55.25l-32.5,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-32,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,16 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-39,0 q-10,26.5 -29.25,49.25t-43.75,30.75q-0.5-2.5 -8.25-7.75t-7.75-8.25q0-39.5 15.25-62.5t 48.75-30l0-7 q-33.5-7 -48.75-30t-15.25-62.5q0-3 7.75-8.25t 8.25-7.75q 24.5,8 43.75,30.75t 29.25,49.25l 39,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 \nl 32,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 32,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l 32,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l 32.5,0 q 1-31.5 7.75-55.25t 23.75-40.75q 44,7.5 70,43.5t 26,84.5t-26,84.5t-70,43.5zM 432,224\nq-6.5,0 -11.25,4.75t-4.75,11.25l0,0 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"foursquare\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 499,163l-87,79l 29,29q 7,7 7,17t-7,17l-168.5,168q-7,7 -16.75,7t-16.75-7l-157.5-157.5q-36-10.5 -58.75-40t-22.75-67.5q0-46 32.75-79t 79.25-33q 27,0 50.25,12t 38.75,33l 38-38q 7-7 16.75-7t 16.75,7l 68.5,68l 158-169q 6.5-7 11,7.5q 2,5.5 2,10.5l0,113 \nq0,6.5 -3.75,15.25t-9.25,14.75zM 270,134q-6-6 -14.25-6t-13.75,6l-28.5,28q 10.5,22.5 10.5,46q0,18.5 -7,38l 27,28.5l 80.5-86zM 394.5,258l-137.5,124.5q-3.5,3 -10,0.75t-12.5-6.75l-6-4l-65.5-65q-20.5,10.5 -44,12l 123,122.5q 5.5,6 13.75,6t 14.25-6l 140-140q 6-6 6-14t-6-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stiletto\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 473,234q-25,90 -25,150l0,96 l-32,0 l0-128 q0-63.5 -21-87.5q-11.5,9 -24.5,29.75t-23.75,44t-24.75,49t-27.5,46t-32,33.5t-38.5,13.25q-51,0 -100.75-5t-86.5-16.5t-36.75-26.5q0-13 32.5-39.5t 71-48.5t 56.5-24q 9,9 15.25,14.25t 20.25,11.5t 28.5,6.25q 11.5,0 43.5-41.25t 64.75-94.5t 58.25-107.5\nt 25.5-76.75q 40,0 68,32.75t 28,79.25q0,27 -10.5,50.5t-28.5,39.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 510.5,510.5q-8,8 -56.75-26.5t-65.75-51.5l-263.5-263.5q-114.5,27.5 -119.5,22q-5-4.5 -5-11.25t 5-11.75l 163-163q 5-5 11.75-5t 11.25,5q 5.5,5 -22,119.5l 263.5,263.5q 17,17 51.5,65.75t 26.5,56.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512l-224-128l0-256 l 224-128l 224,128l0,256 zM 256.25,160q-39.75,0 -68,28t-28.25,68t 28,68t 68,28t 68-28t 28-68t-28-68t-67.75-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screw\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,128l-32,0 l-32,32l-96-32l-96,0 l 192,64l 32,32l-32,32l-192-64l-32-32l 32-32l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 352,288l 32,32l-32,32l-192-64l-32-32l 32-32zM 352,384\nl 32,32l-32,32l-192-64l-32-32l 32-32zM 352,480l-32,32l-64,0 l-96-32l-32-32l 32-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"windright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512q-13.5,0 -22.75-9.5t-9.25-22.5l0-307.5 l-128,76.5l0,7 l-9.5-1.5q-7.5,3 -15-2l-274-39.5q-9-1 -15.25-7.75t-6.25-15.75l0-123 q0-9 6.25-16t 15.25-7.5l 274-39.5q 7.5-5 15-2l 9.5-1.5l0,7 l 128,76.5l0-51.5 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,448 q0,13 -9.25,22.5t-22.75,9.5zM 64,78\nl-15.5,2q-7,1 -11.75,6t-4.75,12l0,60 q0,7 4.75,12t 11.75,6l 15.5,2l0-100 zM 192,61l-64,8.5l0,117 l 64,8.5l0-134 zM 288,48l-32,4.5l0,151 l 32,4.5l0-160 zM 320,45l0,166 l 128-76l0-14 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"windleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 490.5,213l-274,39.5q-7.5,5 -15,2l-9.5,1.5l0-7 l-128-76.5l0,307.5 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-448 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,51.5 l 128-76.5l0-7 l 9.5,1.5q 7.5-3 15,2l 274,39.5q 9,1 15.25,7.75t 6.25,15.75l0,123 q0,9 -6.25,15.75t-15.25,7.75z\nM 64,121l0,14 l 128,76l0-166 zM 256,52.5l-32-4.5l0,160 l 32-4.5l0-151 zM 384,69.5l-64-8.5l0,134 l 64-8.5l0-117 zM 480,98q0-7 -4.75-12t-11.75-6l-15.5-2l0,100 l 15.5-2q 7-1 11.75-6t 4.75-12l0-60 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tank\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 484,219.5l 25,64q 6,14.5 0.5,25.5t-19.5,11l-35,0 q 13,14.5 19,32l 22,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 q0,12.5 -4.5,27l 12.5,7q 6,3.5 7.5,10t-1.75,12t-9.5,7.25t-12.25-1.25l-10-6q-4.5,6 -11.5,13l 11.5,19q 3.5,6 1.75,12.25t-7.5,9.5t-12.25,1.75t-10-7.5l-10-17\nq-19.5,9 -40,9l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 \nl0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-22 q-10.5-4 -18.5-9l-21.5,13q-6,3 -12.25,1.25t-9.5-7.25t-1.5-12t 7.25-10l 12.5-7q-9.5-12.5 -14.5-27l-22,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 q0-12.5 4.5-27l-12.5-7q-5.5-3.5 -7.25-9.75t 1.5-12t 9.5-7.5t 12.25,1.25l 10.5,6\nq 2.5-4 6.5-8l-31.5,0 q-13.5,0 -20.75-11t-3.75-25.5l 15.5-64q 2.5-11.5 12.5-19.5t 21.5-8l 71,0 q-13.5,0 -20.75-10.75t-3.75-25.75l 15.5-63.5q 2.5-12 12.5-20t 21.5-8l 139.5,0 q 9.5,0 19,6t 15.5,15l 142.5-80.5q 11.5-6.5 24.5-3.25t 19.75,14.75t 3.25,24.25t-15,19.75l-150.5,85l 4,10.5q 6,14.5 0.5,25.5t-19.5,11l 116,0 q 11.5,0 22.5,8t 15.5,19.5z\nM 128.25,352q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5zM 256.25,352q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5zM 384.25,352q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"travel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-48 q0-34 25.5-57t 54.5-23l 96,0 q 29,0 54.5,23t 25.5,57l0,48 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,224q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34\nt-14-34t-34-14zM 320,96q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,32 l 128,0 l0-32 zM 416,320l-128,32l 32,96l 128-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"blackberry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509.75,240.25q-6.25,19.75 -24.5,34t-38.25,14.25l-79.5,0 l 32-96l 77,0 q 20,0 29.75,14t 3.5,33.75zM 303.5,192.5l-80,0 l 32-96l 77.5,0 q 19.5,0 29.25,14t 3.75,34t-24.25,34t-38.25,14zM 301,224.5q 19.5,0 29.25,14t 3.75,33.75t-24.25,33.75t-38.25,14l-80,0 l 32-95.5l 77.5,0 zM 112,192.5l-80,0 l 32-96l 77,0 \nq 20,0 29.75,14t 3.75,34t-24.5,34t-38,14zM 109,224.5q 20,0 29.75,14t 3.75,33.75t-24.5,33.75t-38,14l-80,0 l 32-95.5l 77,0 zM 269,352q 19.5,0 29.25,14t 3.75,34t-24.25,34t-38.25,14l-80,0 l 32-96l 77.5,0 zM 444.5,320q 20,0 29.75,14.25t 3.75,34t-24.5,33.75t-38,14l-80,0 l 32-96l 77,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firefox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 116.5,81q 2,3 7.5,7q 5,4 14.75,3.75t 15.25,0.25q 12.5-15.5 26.5-23.5q 8-5 19.75-8\nt 19.25-3.5l 7.5-1q-3,3.5 -7.75,9.25t-13.25,21.75t-10,30q 2,2 14.25,5.25t 13.75,5.75l 32,0 q 6.5,0 9,11.5t-1.5,18.5q-2.5,0.5 -12.75,6.5t-25.25,15t-21.5,12.5q-1,2 -1.5,2.5q-1,2 1.75,16.75t-1.25,24.75q-0.5,1 -2.25,0.25t-5.25-2.75t-6-3q-4-2 -8.75-2.5t-4.75,0q-5.5,7.5 -8.5,14q 1.5,8.5 2.5,10.5\nq 6.5,13.5 19,25.25t 28.5,13.75q 9,1 18.25-3.75t 16-11.25t 15.75-12t 16.5-5q 18.5,0 30.5,6.25t 12,17.25q0,3 -3,5.5l 0.25,0.25t 0.75,0.25q-1.5,1.5 -4.5,2.5t-5.25,1.5t-6.5,0.75t-5.25,0.25q-6,1 -15,12.25t-16,13.75q-8.5,3 -20.5,12.25t-22.75,15.25t-20.75,4.5q 2.5,3 1,3.5q-0.5,0 2,2.5\nq 21.5,16 58.5,15.5q-8.5,5 -24,6.5q 9.5,4 19.5,6.5q 38,2.5 61.5-5.5t 42-28.5q-2,13 -10,24.5q 3.5-1.5 7.5-4q 24.5-25 34.5-46.5t 9-45.5l0-1.25 l0-1.25 q0-4 -0.5-6.5q 7.5,9 10.5,21q 1.5-58.5 -12-82q 19.5,11.5 30.5,32q 0.5-59 -18.5-97q 14.5,10 25.5,23q-9.5-42.5 -40-79.5q-63.5-57.5 -149-57.5q-78,0 -139.5,49z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alienship\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,384q-69.5,0 -128.5-10.75t-93.25-29.25t-34.25-40.25t 34.75-40t 93.25-28.75l0-43 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,43 q 58.5,10.5 93.25,28.75t 34.75,40t-34.25,40.25t-93.25,29.25t-128.5,10.75zM 352,200.5q0-43 -28-73.75t-68-30.75t-68,30.75t-28,73.75l0,34 q 45,21.5 96,21.5\nt 96-21.5l0-34 zM 479,375q-7.5,31 -71.5,52t-151.5,21t-151.5-21t-71.5-52q 33.5,19 93,30t 130,11t 130-11t 93-30z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pictureframe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-352 q0-6.5 4.75-11.25t 11.25-4.75l 105.5,0 l 122.5-122.5l 0.25-0.5l 0.25-0.5q 5-4.5 11.5-4.5t 11.5,4.5l 0.25,0.5l 0.25,0.5l 122.5,122.5l 105.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,352 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,38.5l-89.5,89.5l 179,0 zM 448,192l-384,0 l0,256 l 384,0 l0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thissideup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,128l0,192 q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-192 l-60,0 q-4-4 -4-10t 4-10.5l 98-103q 4-4.5 9.75-4.5t 9.75,4.5l 98.5,103\nq 4,4.5 4,10.5t-4,10l-60,0 zM 160,128l0,192 q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-192 l-60,0 q-4-4 -4-10t 4-10.5l 98-103q 4.5-4.5 10-4.5t 10,4.5l 98,103q 4,4.5 4,10.5t-4,10l-60,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"breakable\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,349l0,99 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-99 q-68.5-13 -114.25-71.75t-45.75-136.25q0-80.5 49-141l 111,0 l 32,96l-96,32l 96,160l-32-128l 96-32l-32-128l 110.5,0 q 49.5,60.5 49.5,141\nq0,77.5 -45.75,136.25t-114.25,71.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wind\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,256l-352,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 6,0 l 90,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 3,0 6.5,0.5q 37.5,2.5 63.5,30t 26,65.5q0,15.5 -6,32l 6,0 l 49.5,0 l 110.5,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75\nt-18.75,45.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 32,288l 160,0 q 2,0 5.5,0.5q 5.5-0.5 10.5-0.5q 46.5,0 79.25,32.75t 32.75,79.25q0,24 -6.75,43.75t-21.25,35.25t-39.75,24.25t-60.25,8.75q-13.5,0 -22.75-9.5t-9.25-22.75t 9.5-22.5\nt 22.5-9.25q 15.5,0 26.75-1.5t 18.25-5.25t 11-7t 5.75-10.25t 2-11.25t 0.25-12.75q0-20 -14-34t-34-14l-101,0 l-75,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"searchfolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 l0-32 l0-32 q0-13 9.5-22.5t 22.5-9.5l 32,0 l 352,0 l 32,0 l 64,0 l0,63.5 l0,0.5 l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 349,387.5l-45.5-46q 16.5-24 16.5-53.5q0-39.5 -28-67.75t-68-28.25t-68,28.25t-28,68t 28,67.75t 68,28q 29.5,0 53.5-16.5l 46,46q 2.5,2.5 6.25,2.5\nt 6.75-2.5l 12.5-13q 3-3 3-6.75t-3-6.25zM 224,352q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 295,86q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 zM 23,54q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25\nt 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"searchdocument\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75t 22.5-9.25l 224,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 317.5,419.5l-46-46q 16.5-24 16.5-53.5q0-40 -28-68t-67.75-28t-68,28t-28.25,68t 28.25,68t 67.75,28q 29.5,0 53.5-16.5l 46,46\nq 2.5,2.5 6.25,2.5t 6.75-2.5l 13-13q 2.5-3 2.5-6.75t-2.5-6.25zM 192,384q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 320,0q 13,0 22,9l 128.5,128.5q 9.5,9.5 9.5,23l-160,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cricket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 502,454.5l-47.5,47.5q-9.5,10 -23.5,10t-24-10l-237-237q-10-10 -10-24t 10-23.5l 4.5-4.5l-75-75l-88.5-48q-11-10.5 -11-26t 11-26.5l 26.5-26.5q 11-11 26.5-11t 26,11l 48,88.5\nl 75,75l 4.5-4.5q 9.5-10 23.5-10t 24,10l 237,237q 10,10 10,24t-10,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"safetypin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 475.5,475.5q-36.5,36.5 -87.75,36.5t-87.75-36.5l-263.5-263.5q-36.5-36.5 -36.5-87.75t 36.5-87.75t 87.75-36.5t 87.75,36.5l 263.5,263.5q 36.5,36.5 36.5,87.75t-36.5,87.75zM 256,128q-13,0 -35-0.5t-30-0.5t-19,2.25t-18.5,7.75q-10.5-14.5 -10.5-35.25t-6-25.75q-12.5-12.5 -30.25-12.5t-30.5,12.75t-12.75,30.5t 12.5,30.25\nq 6,5.5 15.5,5.5t 21.75,1.25t 23.25,9.75q-5,7.5 -7.5,18t-2.5,18.75t 0.75,29.75t 0.75,36l 128,132l0-1.75 l0-2.25 q0-53 37.5-90.5t 90.5-37.5l 2.25,0 l 1.75,0 zM 384.25,288q-39.75,0 -68,28.25t-28.25,68t 28.25,67.75t 68,28t 67.75-28t 28-67.75t-28-68t-67.75-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"razor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,325.5q-5.5-5.5 -13.5-5.5t-13.5,5.5t-5.5,13.25t 5.5,13.25l 29.5,29l-101.5,101.5l-29-29q-5.5-5.5 -13.25-5.5t-13.5,5.5t-5.75,13t 5.5,13l 9.5,9.5l-23,23l-311.5-311.5l 23-23l 9,9q 5.5,5.5 13.5,5.5t 13.5-5.5t 5.5-13.25t-5.5-13.25l-29.5-29l 101.5-101.5l 29,29q 5.5,5.5 13.25,5.5t 13.25-5.5t 5.5-13.25t-5.5-13.25\nl-9-9l 23-23l 311.5,311.5l-23,23zM 412,355.75q-4-3.75 -9.5-3.75t-9,4l-10,9.5l-45-45l 9.5-10q 4-4 4-9.5t-4-9.25t-9.5-3.75t-9,4l-10,9.5l-34-34q 2.5-5.5 2.5-11.5q0-13 -9.25-22.5t-22.75-9.5q-6,0 -11.5,2.5l-34-34l 9.5-10q 4-3.5 4-9t-3.75-9.5t-9.25-4t-9.5,4l-9.5,9.5l-45.5-45l 10-9.5q 3.5-4 3.5-9.5\nt-3.75-9.5t-9.25-4t-9.5,4l-37.5,37.5q-4,4 -4,9.5t 4,9.25t 9.5,3.75t 9.5-3.5l 9.5-10l 45,45l-9.5,10q-4,4 -4,9.5t 4,9.25t 9.5,3.75t 9-4l 10-9.5l 34,34q-2.5,5.5 -2.5,11.5q0,13.5 9.5,22.75t 22.5,9.25q 6,0 11.5-2l 34,33.5l-9.5,10q-4,3.5 -4,9t 3.75,9.5t 9.25,4t 9.5-4l 10-9.5l 45,45l-9.5,10\nq-4,3.5 -4,9t 3.75,9.5t 9.25,4t 9.5-4l 37.5-37.5q 4-4 4-9.5t-4-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"danger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 441,283.5l 71,80l-87,23.5l 23,61l-82.5-23l-29.5,87l-79-52.5l-37,52.5l-33.5-64l-90.5,0 l 8-58l-78,0 l 36.5-86.5l-62.5-35l 47.5-38l-47-68l 95.5-23.5l0-74.5 l 43.5,28.5l 22.5-92.5l 80.5,67.5l 74-67.5l 16,57.5l 57.5-32l 14,85l 76-14.5l-34,77l 65.5,46.5zM 288,144.5q0-7 -4.75-11.5t-11.25-4.5l-32,0 \nq-6.5,0 -11.25,4.5t-4.75,11.5l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 288,336.5q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,31.5 q0,7 4.75,11.5t 11.25,4.5l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-31.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sharethree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-43,0 q-20,56.5 -69.5,92.25t-111.5,35.75t-111.5-35.75t-69.5-92.25l 70.5,0 q 16.5,29 46,46.5t 64.5,17.5q 53,0 90.5-37.5t 37.5-90.5l 32,0 l 32,0 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 320,256q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25zM 256,128q-53,0 -90.5,37.5t-37.5,90.5l-32,0 l-32,0 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 43,0 q 20-56.5 69.5-92.25t 111.5-35.75t 111.5,35.75t 69.5,92.25l-70,0 q-17-29 -46.5-46.5t-64.5-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aaabattery\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.5,403.5l-93,93q-15.5,15.5 -37.25,15.5t-37.25-15.5l-313.5-313.5q-15.5-15.5 -15.5-37.25t 15.5-37.25l 14-14l-23.5-23.5q-6-6 -6-14.5t 6-14.5l 36-36q 6-6 14.5-6t 14.5,6l 23.5,23.5l 14-14q 15.5-15.5 37.25-15.5t 37.25,15.5l 313.5,313.5q 15.5,15.5 15.5,37.25t-15.5,37.25zM 192,120l-24-24l-24,24l-24-24l-24,24\nl 24,24l-24,24l 24,24l 24-24l 24,24l 24-24l-24-24zM 468.5,343.5l-186.5-186.5l-125.5,125l 187,186.5q 12,11 28.5,9.5t 28.5-13.5l 64-64q 11.5-12 13.25-28.5t-9.25-28.5zM 320,392.5l 72.5-72.5l 24,24.5l-72.5,72z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"desklamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,288q-64-46.5 -64-111.5q0-25 8.5-48.5l-9-9l-133.5,133.5l 103,195.5l 127,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-256,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 93,0 l-91-171.5l-6.5,6.5q-4.5,5 -11.25,5t-11.5-4.75t-4.75-11.5t 4.5-11.25l 14-14l-16-30.5q-3.5-5.5 -1.75-12t 7.5-10t 12-1.75\nt 9.75,7.75l 12,23l 128-127.5q-12-18 -10-40t 17.5-37.5q 18-18 43.5-18t 43.5,18l 23,23q 24-8.5 48.5-8.5q 65.5,0 112,64z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"torigate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,192l0,64 l-50.5,0 q 18.5,118 18.5,256l-64,0 q0-134.5 -22-256l-276,0 q-22,122 -22,256l-64,0 q0-138 18.5-256l-50.5,0 l0-64 l 62,0 q 8.5-37.5 16-64l-46,0 l-32-128l 512,0 l-32,128l-46,0 q 7.5,26 16,64l 62,0 zM 132,192l 92,0 l0-64 l-73.5,0 q-9,25.5 -18.5,64zM 361.5,128l-73.5,0 l0,64 l 92,0 q-9.5-38 -18.5-64z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"islam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75q 47.5,0 91.5-21.5t 74-57.5q-32,64.5 -93.5,103.75t-136,39.25q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 74.5,0 136,39.25t 93.5,103.75\nq-30-36 -74-57.5t-91.5-21.5zM 393,225.5l 23-65.5l 23,65.5l 73-0.5l-59,44.5l 19.5,66.5l-56.5-39l-56.5,39l 19.5-66.5l-59-44.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"christiancross\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,256l-96,0 l0,224 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"davidstar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,384l-144.5,0 l-80,128l-80-128l-144,0 l 64-128l-64-128l 144,0 l 80-128l 80,128l 144.5,0 l-64.5,128zM 432,352l-33.5-67.5l-42.5,67.5l 76,0 zM 256,448l 43-64l-85.5,0 zM 80,352l 76,0 l-42-67.5zM 80,160l 34,67.5l 42-67.5l-76,0 zM 256,64l-42.5,64l 85.5,0 zM 320,160l-128,0 l-64,96l 64,96l 128,0 \nl 64-96zM 432,160l-76,0 l 42.5,67.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fridge\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,480l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-128,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13 -9.25,22.5t-22.75,9.5zM 160,240\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 384,160l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 q0,13 -9.25,22.5t-22.75,9.5zM 160,80q0-6.5 -4.75-11.25t-11.25-4.75\nt-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stumbleupon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 341.5,187.5q0-35 -25-60t-60.5-25t-60.5,25t-25,60l0,102.5 q0,7 -5,12\nt-12,5t-12-5t-5-12l0-51 l-68.5,0 l0,51 q0,35.5 25,60.5t 60.5,25t 60.5-25t 25-60.5l0-102.5 q0-7 5-12t 12-5t 12,5t 5,12l0,17.5 l 34,34l 34.5-34l0-17.5 zM 375.5,239l0,51 q0,7 -5,12t-12,5t-12-5t-5-12l0-51 l-34.5,34l-34-34l0,51 q0,35.5 25,60.5t 60.25,25t 60.25-25t 25-60.5l0-51 l-68,0 z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"speed\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 210.75,366.75q-18.75-18.75 -18.75-45.25t 19-45.5l 272-181l-181.5,272q-18.5,18.5 -45.25,18.5t-45.5-18.75zM 256,96.5q-45.5,0 -87.25,18t-71.75,48t-47.75,71.5t-17.75,87q0,53 24,101l-28,14q-27.5-54.5 -27.5-114.5q0-52.5 20.25-99.75t 54.5-81.5t 81.75-54.5t 99.5-20.25q 80.5,0 146.5,46l-28.5,19\nq-54.5-34 -118-34zM 466.5,175.5q 45.5,66 45.5,146q0,60 -27.5,114.5l-28-14.5q 24-47.5 24-100.5q0-62.5 -33-117z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"broom\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,55l-154,154q 9.5,25.5 -4.5,39.5t-39.5,4.5l-0.5,0.5q 14.5,23.5 15.25,47.5t-8.75,43.5t-27,36.5q-44.5,44.5 -64,131q-23-11.5 -50.5-30q-5.5-25 2-49.5t 26-41.5q-23,7.5 -39.5,25t-22.5,40.5q-24.5-19.5 -42.5-37q-1-1 -2.75-3t-2.25-3q 17-17 24-38.5q-17.5,15.5 -39,22.5q-15.5-17.5 -27.5-33.5q 22-7 39-23.25\nt 24-38.75q-16,18 -39,25.75t-47,3.75q-13.5-21.5 -22-39q 86.5-20 131-64q 17-17.5 36.5-27t 43.5-8.75t 47.5,15.25l 0.5-0.5q-9.5-25.5 4.5-39.5t 39.5-4.5l 154-154q 9.5-9.5 22.75-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dna\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 364,239.5q-37.5-18.5 -75.5-31.5q 16.5-8.5 30.5-16l-126,0 q 10.5,5.5 63,32q 32,10.5 63.75,25t 67.5,38.25t 62.5,50.75t 44.5,64.25t 17.75,77.75q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-384,0 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5q0-34 12-65.75t 33.75-57.25t 46.75-46t 55.5-38.5\nq 37.5,18.5 75.5,31.5q-16.5,8.5 -30.5,16l 126,0 q-10.5-5.5 -63-32q-32-10.5 -63.75-25.25t-67.5-38.25t-62.5-50.5t-44.5-64.25t-17.75-77.75q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l 384,0 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75q0,34 -12,65.5t-33.75,57.25t-46.75,46.25t-55.5,38.5z\nM 68,448l 375.5,0 q-4-16 -13-32l-349,0 q-9.5,16 -13.5,32zM 142.5,352q-23.5,17 -37.5,32l 301.5,0 q-15.5-16.5 -36.5-32l-227.5,0 zM 142,160l 227.5,0 q 23.5-17 37-32l-301,0 q 15.5,16.5 36.5,32zM 68.5,64q 4,16 13,32l 349,0 q 9.5-16 13.5-32l-375.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pasta\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,160l-128.5-26q-2.5,24.5 -20.5,41.25t-43,16.75l-32,0 l0-160 l 32,0 q 25,0 43,16.75t 20.5,40.75l 128.5-25.5q 64,0 64,47.5q0,26.5 -18,37.5t-46,11zM 176,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-192 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,192 q0,6.5 -4.75,11.25t-11.25,4.75zM 112,512\nq-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25t-11.25,4.75zM0,176q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,112q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,48\nq0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"egg\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,0q 30.5,0 58.5,16.25t 48.25,43.25t 37,60.75t 27,69.75t 15.75,69.25t 5.5,60.75q0,52 -25.75,96.25t-70,70t-96.25,25.75t-96.25-25.75t-70-70t-25.75-96.25q0-27.5 5.5-60.75t 15.75-69.25t 27-69.75t 37-60.75t 48.25-43.25t 58.5-16.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"greenlightbulb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 423,195l-286,124q-13,4 -24.75-3.25t-15.25-20.75t 3.25-25.75t 19.75-16.25l 286-124q 13.5-3.5 25,3.5t 15.25,20.75t-3.25,26t-20,15.75zM 391,99l-286,124q-13,4 -24.75-3.25t-15.25-20.75t 3.25-25.75t 19.75-15.75l 286-124.5q 13.5-3.5 25,3.5t 15.25,20.75t-3.25,26t-20,15.75zM 215,67l-78,28\nq-13,4 -24.75-3t-15.25-20.75t 3.25-26t 19.75-15.75l 78.5-28.5q 13-3.5 24.75,3.5t 15.25,20.75t-3.25,26t-20.25,15.75zM 204.5,323.5q 5-4.5 11.5-6.5l 158-60q 13.5-3.5 25,3.5t 15.25,20.75t-3.25,26t-20,15.75l-135,51.5q-0.5,6.5 -0.5,9.5l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 q-3,0 -6-0.5\nq-24.5-2.5 -41.25-20.75t-16.75-42.75q0-21 12.5-37.75t 32.5-22.75zM 255.5,512q-26.5,0 -45.25-9.25t-18.75-22.75l 128,0 q0,13.5 -18.75,22.75t-45.25,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"baloon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 270,445.5q 38,38.5 47.5,66.5l-123,0 q 9.5-28 47-66.5q-24.5-6.5 -55.75-33.5t-58-62.75t-45.25-78.75t-18.5-78.5q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25q0,35.5 -18.5,78.5t-45.25,78.75t-58,62.75t-56.25,33.5zM 191.5,97.5q-19-5.5 -37,8t-24,38\nq-7,24 -2.5,84.25t 16,60.25q 7,0 11.5-16.25t 9.25-36.75t 11.25-27q 2.5-2.5 10-9.75t 11.75-11.75t 10-10.75t 9.25-12t 4.5-11.25q 11.5-43.5 -30-55z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nintendods\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,288l0,160 q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13 9.5-22.5t 22.5-9.5q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,13.5 -9.5,22.75t-22.5,9.25q 13.5,0 22.75,9.25t 9.25,22.75zM 432,416q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 128,360q0-3.5 -2.25-5.75t-5.75-2.25l-24,0 l0-24 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,24 l-24,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 24,0 l0,24 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l0-24 l 24,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 352,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 352,304q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 \nq0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 400,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,320q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 464,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gameboy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 336,512l-240,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,368 q0,46.5 -32.75,79.25t-79.25,32.75zM 320.25,448q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 96,360l0,16 q0,3.5 2.25,5.75\nt 5.75,2.25l 24,0 l0,24 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-24 l 24,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-24,0 l0-24 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,24 l-24,0 q-3.5,0 -5.75,2.25t-2.25,5.75zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75\nl-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 zM 384.25,320q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"route\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,0zM 256,0l0,0 l0,0 zM 384,32q 53,0 90.5-9.25t 37.5-22.75l0,128 l-512,0 l0-128 l0,0 q0,13.5 37.5,22.75t 90.5,9.25t 90.5-9.25t 37.5-22.75q0,13.5 37.5,22.75t 90.5,9.25zM 256,512q-47-13.5 -84.25-32.75t-62.5-39.25t-44.25-48.5t-29.75-52t-18.25-58.25t-10.75-59t-6.25-62.25l 512,0 \nq-3,38 -6.25,62.25t-10.75,59t-18.25,58.25t-29.75,52t-44.25,48.5t-62.5,39.25t-84.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cannon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,224l-121,20q 25,34 25,76q0,53 -37.5,90.5t-90.5,37.5q-42.5,0 -76-24.75t-46-64.25l-41,72.5q-7.5,13 -22.5,16q-3,0.5 -5.5,0.5l-0.5,0 l-0.5,0 l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 13,0 l 55.5-97l-4.5,1q-36.5,2 -66.25-27.5t-29.75-68.5q0-39.5 27-68.75t 63-27.25l 6,0 l0-16 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 352,0 q 13.5,0 22.75,18.75t 9.25,45.25q0,25.5 -9,42.5t-23,21.5zM 256,256q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 255.75,352q-13.25,0 -22.5-9.5t-9.25-22.75t 9.25-22.5\nt 22.5-9.25t 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fort\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-176,0 l0-64 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,64 l-176,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-240 l0-16 l0-48 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 \nq0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,48 l0,16 l0,240 q0,6.5 -4.75,11.25t-11.25,4.75zM 128,320q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l 64,0 l0-32 z\nM 288,128q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l 64,0 l0-32 zM 448,320q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l 64,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hydrant\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,384q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,96 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0-96 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75q-20,0 -34-18.75t-14-45.25t 14-45.25t 34-18.75q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-64 \nq-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q0-44.5 27-78.75t 69-45.25l0-4 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,4 q 42,11 69,45.5t 27,78.5q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l0,64 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75q 20,0 34,18.75t 14,45.25t-14,45.25t-34,18.75\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillespace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384\nq 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25t-22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille9\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 384.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille8\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille7\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille6\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416\nq-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25\nt 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.25t-9.25,22.5\nt 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5\nt 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 384.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille1\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,416\nq-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480\nq 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille0\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5\nt 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillez\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailley\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillex\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillew\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillev\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 384,480q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75\nt-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailles\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailler\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.25t-9.25,22.75\nt 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75\nt-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleq\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillep\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75\nt-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,32q-13.5,0 -22.75,9.25t-9.25,22.75\nt 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25\nzM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5\nt-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillem\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillek\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillej\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.5,9.25t 22.5-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillei\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,416q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5\nt 22.5,9.25t 22.5-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleg\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5\nt-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillef\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillee\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailled\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillec\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25t-22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillea\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480\nq 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenz\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,504.25q-17,11.25 -36.25,5.5t-29.25-25.25l-166.5-322.5l-166.5,322.5q-10,19.5 -29.25,25.25t-36.25-5.5t-22.25-32.75t 4.75-40.5l 208-403.5q0-0.5 0.5-1.25l 0.5-0.75q 6.5-11.5 16.5-18q 17-11 36.25-5.25t 29.25,25.25l 208,403.5q 10,19 4.75,40.5t-22.25,32.75zM 256,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeny\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q-26.5,0 -45.25-18.75t-18.75-45.5t 18.75-45.5t 45.25-18.75t 45.25,18.75t 18.75,45.5t-18.75,45.5t-45.25,18.75zM 484.5,89l-323,167l 323,166.5q 19.5,10 25.25,29t-5.5,36.25t-32.75,22.5t-40.5-4.75l-404-208q-19.5-10 -25.25-29.25t 5.25-36.25q 6.5-10 18-16.5q 0.5,0 1-0.5l 1-1l 404-208q 19-10 40.5-4.75\nt 32.75,22.5t 5.5,36.5t-25.25,28.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenx\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,191.5q 26.5,0 45.25,18.75t 18.75,45.5t-18.75,45.5t-45.25,18.75t-45.25-18.75t-18.75-45.5t 18.75-45.5t 45.25-18.75zM 485,297.5l-404,208q-19,10 -40.5,4.75t-32.75-22.5t-5.5-36.25t 25.25-29l 323-166.5l-323-167q-19.5-9.5 -25.25-28.75t 5.5-36.5t 32.75-22.5t 40.5,4.75l 404,208l 1,1t 1,0.5q 11.5,6.5 18,16.5\nq 11,17 5.25,36.25t-25.25,29.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenw\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,81.5l-208,403.5q-10,19.5 -29.25,25.25t-36.25-5.25q-10-6.5 -16.5-18q0-0.5 -0.5-1t-0.5-1l-208-403.5q-10-19.5 -4.75-41t 22.25-32.5t 36.25-5.25t 29.25,24.75l 166.5,323l 166.5-323q 10-19 29.25-24.75t 36.25,5.25t 22.25,32.5t-4.75,41zM 256,128.5q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenv\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,504.75q-17,11.25 -36.25,5.5t-29.25-25.25l-166.5-323l-166.5,323q-10,19.5 -29.25,25.25t-36.25-5.5t-22.25-32.75t 4.75-40.5l 208-404l 0.5-0.75l 0.5-0.75q 6.5-11.5 16.5-18q 17-11 36.25-5.25t 29.25,24.75l 208,404q 10,19 4.75,40.5t-22.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 485,89l-323.5,166.5l 323.5,167q 19.5,9.5 25.25,28.75t-5.5,36.5t-32.75,22.5t-41-4.75l-404-208.5q-19.5-9.5 -25.25-28.75t 5.25-36.75q 6.5-10 18-16.5q 0.5,0 1-0.5t 1-0.5l 404-208.5q 19.5-10 41-4.75t 32.75,22.5t 5.5,36.5t-25.25,29.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpent\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 485,297l-404,208.5q-19.5,10 -41,4.75t-32.75-22.5t-5.5-36.5t 25.25-28.75l 323.5-167l-323.5-166.5q-19.5-10 -25.25-29.25t 5.5-36.5t 32.75-22.5t 41,4.75l 404,208.5q 0.5,0 1,0.5t 1,0.5q 11.5,6.5 18,16.5q 11,17.5 5.25,36.75t-25.25,28.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpens\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,81.5l-208,403.5q-10,19.5 -29.25,25.25t-36.25-5.25q-9.5-6.5 -16.5-18q0-0.5 -0.5-1t-0.5-1l-208-403.5q-10-19.5 -4.75-41t 22.25-32.5t 36.25-5.25t 29.25,25.25l 166.5,322.5l 166.5-322.5q 10-19.5 29.25-25.25t 36.25,5.25t 22.25,32.5t-4.75,41z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenr\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-368,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenq\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-320,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeno\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,256q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25zM 464,96l-368,0 l0,320 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 416,96l-320,0 l0,320 l 320,0 l0-320 zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,256q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-320 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenl\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenk\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 320,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenj\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeni\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-368,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-320,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeng\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-368,0 l0,320 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpene\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 416,96l-320,0 l0,320 l 320,0 l0-320 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpend\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-320 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 320,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpena\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF48B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,400l 213-217q 10.5-10.5 10.5-25.5t-10.5-25.5l-25.5-25.5q-10.5-10.5 -25.5-10.5t-25.5,10.5l-169,169l-169-169q-10.5-10.5 -25.5-10.5t-25.5,10.5l-25.5,25.5q-10.5,10.5 -10.5,25.5t 10.5,25.5l 214,217q 16,16 32,16t 32-16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF48A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,112l 213,217q 10.5,10.5 10.5,25.5t-10.5,25.5l-25.5,25.5q-10.5,10.5 -25.5,10.5t-25.5-10.5l-169-169l-169,169q-10.5,10.5 -25.5,10.5t-25.5-10.5l-25.5-25.5q-10.5-10.5 -10.5-25.5t 10.5-25.5l 214-217q 16-16 32-16t 32,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF489\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 112,288.5l 217,213q 10.5,10.5 25.5,10.5t 25.5-10.5l 25.5-25.5q 10.5-10.5 10.5-25.5t-10.5-25.5l-169-169l 169-169q 10.5-10.5 10.5-25.5t-10.5-25.5l-25.5-25.5q-10.5-10.5 -25.5-10.5t-25.5,10.5l-217,214q-16,16 -16,32t 16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF488\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,288.5l-217,213q-10.5,10.5 -25.5,10.5t-25.5-10.5l-25.5-25.5q-10.5-10.5 -10.5-25.5t 10.5-25.5l 169-169l-169-169q-10.5-10.5 -10.5-25.5t 10.5-25.5l 25.5-25.5q 10.5-10.5 25.5-10.5t 25.5,10.5l 217,214q 16,16 16,31.75t-16,32.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF487\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,224q-22,0 -42.5,6.5t-37,16l-33,19t-37,16t-42.5,6.5q-48.5,0 -80-40.5l0-215.5 q 9,11.5 18.25,18.5t 20.25,9.75t 18,3.25t 19.5,0.5l 4,0 q 22,0 42.5-6.5t 37-16l 33-19t 37-16t 42.5-6.5q 20,0 40.75,12t 39.25,36l0,208 q-11.5-11.5 -21.75-18.5t-20.75-9.75t-17.5-3.25t-20-0.5zM 192,480.25q0,13.25 -9.25,22.5\nt-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-416 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.25t 9.25,22.75l0,416 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF486\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,288l-96,128l-96-128l 64,0 l0-128 l-192,0 l-48-64l 304,0 l0,192 l 64,0 zM 128,224l0,128 l 192,0 l 48,64l-304,0 l0-192 l-64,0 l 96-128l 96,128l-64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF485\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,32l-448,0 l0,448 l 448,0 l0-448 zM 80,64l 32,0 l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-34,0 l 82.5,82.5l 82-82.5l-34.5,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 128,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-34.5 l-82,82.5l 82,81.5l0-33.5 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,128 q0,6.5 -4.75,11.25\nt-11.25,4.75l-32,0 l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 35.5,0 l-82.5-82.5l-82.5,82.5l 33.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,35.5 \nl 83-83.5l-83-82.5l0,34.5 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-128 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF484\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75l0-384 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF483\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 315,160q-11.5,0 -22,6.25t-14,15.25l-23,42.5l-224,0 l-4,0 q-8,0 -11.5,0.25t-8.25,1.5t-6.5,4.75t-1.75,9.5l0,16 l0-128 l 24.5-42.5q 3.5-9 14-15.25t 22.5-6.25l 120,0 q 11.5,0 22,6.25t 14,15.25l 23,42.5l 240,0 q 13,0 22.5,9.25t 9.5,22.75l-197,0 zM 32,256l 256,0 l 16-48q 3.5-9 9.5-12.5t 17.5-3.5l 133,0 q 25.5,0 32,16l 16,48\nl0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF482\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,344l-130.5,132q-1,1 -6.5,4q-5-3 -6-4l-8-7l 112-113q 16-16.5 16-32.5q0-15 -3-25.75t-5.75-14.5t-7.25-8.25l-224-226.5q-5-5 -15-10.5t-14.5-5.5l 31,0 q 14,0.5 22.5,9l 239,241.5q 9,9.5 9,30.75t-9,30.25zM 432,339.5l-128,129.5q-9.5,9.5 -24.25,9.5t-23.75-9.5l-247-250.5\nq-12.5-13 -7.5-31q-1.5-5 -1.5-9.5l0-113 q0-13.5 9.5-23t 22.5-9.5l 112,0 q 4.5,0 9,1.5q 18.5-5 31,7.5l 248,249.5q 9,9.5 9,24.5t-9,24zM 112,97q-20,0 -34,14.25t-14,34.5t 14,34.25t 34,14t 34-14t 14-34.25t-14-34.5t-34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF481\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 55,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.75l 61-61q-55.5-60 -70-139.5q 11.5-63 48.5-114.25t 91.5-80.5t 115.5-29.25q 72.5,0 136,42l 64.5-64.5q 9.5-9.5 23-9.5t 22.75,9.25t 9.25,22.75t-9.5,23zM 256,96.5q-65.5,0 -122.5,32l-5.5,0 l0,3 q-36.5,22 -61.75,54.25t-33.75,70.75\nq 14,62.5 70.5,107l 42.5-43q-17.5-29.5 -17.5-64q0-30 14-57l 28.5,14q-10.5,21 -10.5,43q0,21.5 9.5,40.5l 25-25q-2.5-8.5 -2.5-15.5q0-14.5 7-28.5l 26.5,13l 15-15.5l-13-26q 14-7 28.5-7q 7,0 16,2l 25-25q-19.5-9 -41-9t-42.5,10.5l-14.5-29q 27-13.5 57-13.5q 34.5,0 64.5,17.5l 30.5-30.5q-46-19 -95-19zM 383.5,270\nq-5,45 -37,76.75t-76.5,36.75zM 256,416q 81,0 144.75-45.5t 79.25-114q-7-30 -25-58l 26.5-26.5q 22.5,40 30.5,84.5q-11.5,63 -48.75,114.25t-91.75,80.25t-115.5,29q-36,0 -71.5-11l 53.5-53.5q 10,0.5 18,0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF480\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,128q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13.5 9.5,22.75t 22.5,9.25l 384,0 q 13,0 22.5-9.25t 9.5-22.75l0-320 z\nM 432,448l-256,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 432,320l-256,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 432,192l-256,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 112,448l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 112,320l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 112,192l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47F\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,512q-13.25,0 -22.75-9.5t-9.5-22.5l0-194.5 l-193,221q-12,13.5 -31-6.5l0-215 l-193,221.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 193,222l0-215.5 q 18.5-20 31-6.5l 193,221.5l0-195 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,448 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47E\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,506.5l-193-221.5l0,215 q-19,20 -31,6.5l-193-221l0,194.5 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,195 l 193-221.5q 12.5-13.5 31,6.5l0,215.5 l 193-222q 12.5-13.5 31,6.5l0,488 q-18.5,20 -31,6.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47D\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 224,0 l0,64 l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-151 l 64-53.5l0,236.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 348,283.5q-6.5,6.5 -17.25,4\nt-10.75-9.5l0-86 q-112,0 -192,160l0-32 q0-58 15-102t 41.5-70t 60.5-39t 75-13l0-85 q0-7 10.75-9.75t 17.25,3.75l 157,123q 6.5,6.5 6.5,16t-6.5,16.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47C\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 288,0 l-64,63.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.5,22.75t 22.5,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 l 64-64l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,280l 72,72l-104,32zM 264,328\nl-80-79.5l 239.5-240q 8.5-8 20.25-8t 20.25,8l 39.5,40q 8,8 8.25,19.75t-8.25,20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 438,256l-117.5,0 l0-160 q0-13.5 -9.5-22.75t-22.5-9.25l-64.5,0 q-13,0 -22.5,9.25t-9.5,22.75l0,160 l-118,0 q-7.5,0 -9.25,3t 4.25,9.5\nl 171,172.5q 6.5,7 16.25,7t 16.25-7l 171-172.5q 6-6.5 4-9.5t-9.5-3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 272.5,71q-6.5-7 -16.25-7t-16.25,7l-171,172.5q-6,7 -4.25,9.75t 9.25,2.75l 118,0 l0,160 q0,13.5 9.5,22.75\nt 22.5,9.25l 64.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-160 l 117.5,0 q 7.5,0 9.5-2.75t-4-9.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF479\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 411.5,170.5l-22-22q-5-4.5 -11.25-4.5t-11.25,4.5l-151,151l-71.5-71q-4.5-4.5 -11-4.5t-11,4.5l-22,22q-4.5,4.5 -4.5,11t 4.5,11.5\nl 76,75.5q 0.5,5.5 4,9l 22,22q 5.5,5.5 13.5,4q 8,1.5 13.5-4l 22-22q 3-3.5 4-9l 156-156q 4.5-4.5 4.5-11t-4.5-11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF478\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 379.5,177q 4.5-5 4.5-11.5t-4.5-11l-22-22q-5-4.5 -11.25-4.5t-11.25,4.5l-79,79.5\nl-79.5-79.5q-4.5-4.5 -11-4.5t-11,4.5l-22,22q-4.5,4.5 -4.5,11t 4.5,11.5l 79,79l-79,79q-4.5,5 -4.5,11.5t 4.5,11l 22,22q 4.5,4.5 11,4.5t 11-4.5l 79.5-79.5l 79,79.5q 5,4.5 11.25,4.5t 11.25-4.5l 22-22q 4.5-4.5 4.5-11t-4.5-11.5l-79.5-79z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF477\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,240q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF476\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,240q0-6.5 -4.75-11.25t-11.25-4.75l-80,0 l0-80 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 \nl-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 l0,80 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-80 l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF475\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 374.5,265.5q-9.5-9.5 -23-9.5t-23,9.5l-41,40.5l0-178 q0-13.5 -9.25-22.75t-22.5-9.25t-22.5,9.25t-9.25,22.75l0,178 l-41-40.5\nq-9.5-9.5 -23-9.5t-23,9.5t-9.5,23t 9.5,23l 95,95q 4,4 11.5,6.5q 0.5,0 1.5,0.5q 1,0 1.25,0.25t 1,0.5l 0.75,0.25q 1.5,0.5 3,0.5l 0.75,0 l 0.75,0 q 16,2 27-8.5l 95-95q 9.5-9.5 9.5-23t-9.5-23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF474\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 374.5,200.5l-95-95q-11-10.5 -27-8.5l-0.75,0 l-0.75,0 q-1.5,0 -3,0.5l-0.75,0.25t-1.25,0.25l-1,0.5t-1.5,0.5q-7.5,2.5 -11.5,6.5\nl-95,95q-9.5,9.5 -9.5,23t 9.5,23t 23,9.5t 23-9.5l 41-40.5l0,178 q0,13.5 9.25,22.75t 22.5,9.25t 22.5-9.25t 9.25-22.75l0-178 l 41,40.5q 9.5,9.5 23,9.5t 23-9.5t 9.5-23t-9.5-23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF473\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 415.5,253l0-1 l0-1 q0-1.5 -0.5-2.5q0-0.5 -0.25-1.25t-0.5-1t-0.5-1.25t-0.25-1.5q-2.5-7 -6.5-11l-95.5-95.5q-9.5-9.5 -23-9.5t-23,9.5t-9.5,23\nt 9.5,23l 41,41l-178.5,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.5t 22.75,9.5l 178.5,0 l-41,41q-9.5,9.5 -9.5,23t 9.5,23t 23,9.5t 23-9.5l 95.5-95.5q 10.5-10.5 8.5-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF472\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,224l-178.5,0 l 41-41q 9.5-9.5 9.5-23t-9.5-23t-23-9.5t-23,9.5l-95.5,95.5q-4,4 -6.5,11q0,0.5 -1,3l-0.25,0.75\nt-0.25,1.25q0,1 -0.5,2.5l0,1 l0,1 q-2,16 8.5,26.5l 95.5,95.5q 9.5,9.5 23,9.5t 23-9.5t 9.5-23t-9.5-23l-41-41l 178.5,0 q 13,0 22.5-9.5t 9.5-22.5t-9.25-22.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF471\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 255,329.5q-2.5,9 -7.5,14q-10,10 -24.5,8q-14,1 -23-8q-5-5 -7-13.5l-57-57q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 46.5,46.5l 111-110.5q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF470\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 343.5,343.5q-8.5,8.5 -20.5,8.5t-20.5-8.5l-47-47l-46.5,47q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 46.5-47l-46.5-46.5q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 46.5,47l 47-47q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5\nt-8.5,20.5l-47,46.5l 47,47q 8.5,8.5 8.5,20.5t-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wallet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 208,352q 48,0 48-48t-48-48t-48,48t 48,48zM 432,96l-323.5,0 q-18.5,0 -31.5,12.5t-13,30.5l0,170.5 \nq0,14.5 9,25.75t 23,14.75l0-158 q0-26.5 18.75-45.25t 45.25-18.75l 272,0 q 6.5,0 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"✓\" data-tags=\"checkmark\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,162.5l-309.5,309q-9,9 -26.5,8.5q-16-0.5 -24.5-8.5l-133.5-133.5q-9-9 -9-22t 9-22l 44.5-44.5q 9-9 22-9t 22,9l 70.5,70.5l 246.5-246q 9-9 22-9t 22,9l 44.5,44q 9,9.5 9,22.25t-9,22.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"♦\" data-tags=\"diamond\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,32l 64,128l-128,0 zM 288,32l 128,0 l-64,128zM 192,160l 64-128l 64,128l-128,0 zM 96,32l 128,0 l-64,128zM0,160l 64-128l 64,128l-128,0 zM 224,480l-224-288l 128,0 zM 352,192l-96,288l-96-288l 192,0 zM 512,192l-224,288l 96-288l 128,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"☼\" data-tags=\"compass\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.5t-70,69.75t-25.75,96.5t 25.75,96.5t 70,70\nt 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.5t-25.75-96.5t-70-69.75t-96.25-25.5zM 256,288q-17.5,0 -27-15l-117-65l 144,16q 17.5,0 27,15l 117,65z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"☺\" data-tags=\"smile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 400,320l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25q 20,56.5 58.75,84.25t 100.75,27.75t 101.25-27.75t 59.25-84.25q0-6.5 -4.75-11.25t-11.25-4.75zM 255.5,416q-83,0 -111.5-57\nq0-3 2.75-5t 6.75-2l 205,0 q 4,0 6.75,2t 2.75,5q-28.5,57 -112.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"☯\" data-tags=\"yinyang\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.75t 20.25-99.5t 54.5-81.5t 81.75-54.75t 99.5-20.5t 99.5,20.5t 81.75,54.75t 54.5,81.5t 20.25,99.5t-20.25,99.75t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,128q-13,0 -22.5,9.25t-9.5,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5\nt 9.25-22.75t-9.5-22.5t-22.5-9.25zM 256,256q-40,0 -68-28.25t-28-68t 28-67.75t 68-28q-52,0 -96.25,25.5t-70,69.75t-25.75,96.5t 25.75,96.5t 70,70t 96.25,25.75q 40,0 68-28.25t 28-68t-28-67.75t-68-28zM 256.25,384q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25\nt 9.25,22.5t-9.25,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"△\" data-tags=\"triangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-16,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 \nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l 496-496q 6.5,0 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25\nt-11.25,4.75zM 416,240q0-6.5 -4.75-11.25t-11.25-4.75l-176,176q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"▭\" data-tags=\"rectangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,512l0-512 l 512,0 l0,512 l-512,0 zM 480,32l-448,0 l0,448 l 448,0 l0-448 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⑁\" data-tags=\"chair\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,480q-20,0 -34-14t-14-34l0-160 q0-21 22.5-50.5t 41.5-29.5q 9.5,0 16.25,8.5t 9.75,22t 4.5,25.75t 1.5,23.75l0,160 q0,20 -14,34t-34,14zM 352,256l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-32-128q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13,0 22.5,9.5t 9.5,22.5l-32,128q0,13 -9.5,22.5t-22.5,9.5zM 96,432\nq0,20 -14,34t-34,14t-34-14t-14-34l0-160 q0-11.5 1.25-23.75t 4.5-25.75t 10-22t 16.25-8.5q 19,0 41.5,29.5t 22.5,50.5l0,160 zM 160,288l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 160,384l 192,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 \nq0,13 -9.5,22.5t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"␇\" data-tags=\"bell\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-169,0 q-8.5,14.5 -23,23.25t-32,8.75t-32-8.75t-23-23.25l-169,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q 26.5,0 45.25-37.5t 18.75-90.5l0-64 q0-71 45.75-124.25t 114.25-64.75l0-3 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,3 q 68.5,11.5 114.25,64.75t 45.75,124.25l0,64 q0,53 18.75,90.5\nt 45.25,37.5l0,32 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⋔\" data-tags=\"fork\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495.25,495.25q-12.75,12.75 -29.25,16t-35.25-4.75t-36.25-27l-145-170q-32,15 -68.25,8.75t-62.75-32.75l-110.5-111q-8-7.5 -8-18.75t 8-19.25t 19.25-8t 18.75,8l 117,117q 19-4.5 36.5-15l-127.5-127.5q-8-8 -8-19.25t 8-19.25t 19-8t 19,8l 128,127.5q 10.5-17 15-36l-117-117\nq-8-8 -8-19.25t 7.75-19t 19-7.75t 19.25,8l 111.5,110q 26,26.5 32.25,63t-8.75,68.5l 170,144q 19,17 27.25,36t 5,35.5t-16,29.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⊷\" data-tags=\"image\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,512l0-512.5 l 512,0 l0,512.5 l-512,0 zM 480,31.5l-448,0 l0,384.5 l 448,0 l0-384.5 zM 128,63.5q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.5t-18.75-45l0-0.5 q0-26.5 18.75-45.25t 45.25-18.75zM 183.5,264.5l 119,119.5l-238.5,0 l0-46.5 l 73-73q 9-9 23.25-9t 23.25,9zM 345,168.5q 9-9.5 23.25-9.5t 23.25,9.5\nl 56.5,56.5l0,159 l-102,0 q0-0.5 -0.75-1.75t-1.25-2.25l-105.5-105z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"∩\" data-tags=\"intersection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-192,0 l0,32 l 128,0 l 0.25,0 l 0.75,0 q 17,0.5 21.5,5l 68.5,47q 5,5 5,12t-5,12l-68.5,47q-5,5 -22.5,5l-128,0 l0,128 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-128 l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 l0-32 l-128,0 q-17.5,0 -22.5-5l-68.5-47q-5-5 -5-12\nt 5-12l 68.5-47q 4.5-5 21.5-5l 0.75,0 l 0.25,0 l 128,0 l0-32 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,32 l 192,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"∞\" data-tags=\"infinity\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,384q-48.5,0 -128-76.5q-79.5,76.5 -128,76.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 49,0 128,76.5q 79.5-76.5 128-76.5q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 128,192q-28.5,0 -46.25,18.5t-17.75,45.5t 17.75,45.5t 46.25,18.5q 11,0 23.25-6.5t 22-16t 17.75-19t 12.5-16l 4.5-6.5\nq-1.5-2.5 -4.5-6.75t-12.25-15.5t-18.25-19.5t-21.5-15.25t-23.5-7zM 384,192q-11,0 -23.25,6.5t-22,16t-17.75,19t-12.5,16l-4.5,6.5q 1.5,2.5 4.5,7t 12.25,15.5t 18.25,19.25t 21.5,15.25t 23.5,7q 28.5,0 46.25-18.5t 17.75-45.5t-17.75-45.5t-46.25-18.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"−\" data-tags=\"minus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,224l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"∇\" data-tags=\"gradient\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 352,384l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0,32 l-32,0 l0-32 l-32,0 l0,32 l-32,0 l0-32 l-144,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 112,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0-32 zM 288,416l0-32 l 32,0 l0,32 l-32,0 zM 288,320l 32,0 l0,32 l-32,0 l0-32 zM 288,256l 32,0 l0,32 l-32,0 l0-32 zM 288,192l 32,0 l0,32 l-32,0 l0-32 zM 288,128l 32,0 l0,32 l-32,0 l0-32 zM 256,128l0-32 l 32,0 l0,32 l-32,0 zM 192,128l0-32 l 32,0 \nl0,32 l-32,0 zM 256,384l0,32 l-32,0 l0-32 l 32,0 zM 256,352l 32,0 l0,32 l-32,0 l0-32 zM 256,288l 32,0 l0,32 l-32,0 l0-32 zM 256,224l 32,0 l0,32 l-32,0 l0-32 zM 256,160l 32,0 l0,32 l-32,0 l0-32 zM 224,160l0-32 l 32,0 l0,32 l-32,0 zM 256,224l-32,0 l0-32 l 32,0 l0,32 zM 256,288l-32,0 l0-32 l 32,0 l0,32 zM 256,352l-32,0 l0-32 l 32,0 l0,32 zM 192,384l0-32 l 32,0 l0,32 l-32,0 zM 192,320l0-32 l 32,0 \nl0,32 l-32,0 zM 192,256l0-32 l 32,0 l0,32 l-32,0 zM 192,192l0-32 l 32,0 l0,32 l-32,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⇪\" data-tags=\"capslock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 466.5,256.5l-83,0 l0,95.5 q0,13.5 -9.25,22.75t-22.25,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l0-95.5 l-82,0 q-6,0 -10-6.5t-3.5-15.5t 6.5-15l 194.5-210q 9-9.5 22.5-9.5t 23,9.5l 194,210q 6,6 6.75,15t-3.25,15.5t-10,6.5zM 160,415.5l 192,0 q 13,0 22.25,9.5t 9.25,22.5l0,32.5 q0,13 -9.25,22.5t-22.25,9.5l-192,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-32.5 q0-13 9.5-22.5t 22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"↸\" data-tags=\"home\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,277.75q-9.75,9.75 -23.5,9.75t-23.25-9.5l-7.5-7.5l0,209.5 q0,13 -9.25,22.5t-22.75,9.5l-96,0 l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-209.5 l-7.5,7.5q-9.5,9.5 -23.25,9.5t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-222\nq 10-10 24.5-9.5q 14.5-0.5 24.5,9.5l 222,222q 9.5,9.5 9.5,23.25t-9.75,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"€\" data-tags=\"euro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,192q-13.25,0 -22.75-9.25t-9.5-22.75q-10.5-41.5 -47-68.75t-81-27.25q-44,0 -78.5,27t-45.5,69l 92,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-96,0 l0,64 l 96,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-92,0 q 11,42 45.5,69t 78.5,27q 44.5,0 81-27.25\nt 47-68.75q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,11.5 -7.5,20.5q-17.5,61 -68.5,100.25t-116,39.25q-71,0 -124.25-45.75t-64.75-114.25l-35,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-64 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 35,0 q 11.5-68.5 64.75-114.25\nt 124.25-45.75q 65,0 116,39.25t 68.5,100.25q 7.5,9 7.5,20.5q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⁀\" data-tags=\"tie\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 351,30.5l-62,71.5l 60.5,285q 3,8 4,11.25t 0.25,7.25t-4.25,7.5l-78,93.5q-5,5.5 -12.75,5.5t-13.25-5.5l-77.5-93.5q-5-6.5 -4.75-10.75t 4.75-15.25l 60.5-285.5l-61.5-71q-6.5-6 -3.25-18.25t 14.25-12.25l 162.5,0 q 11,0 13.75,12.25t-3.25,18.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"†\" data-tags=\"dagger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,481.5l-25.5,25.5q-5,5 -12.25,5t-12.75-5l-164-164.5l-38.5,39q-3,2.5 -7,2.5t-6.5-2.5l-14-13.5q-2.5-3 -2.5-7t 2.5-7l 14.5-14.5l-113-99.5q-37.5-37.5 -80.5-114.75t-47.5-125.25q 5.5,6.5 13.5,14.5t 18.75,18.25t 15.75,15.25q 36.5,36.5 77,61.75t 49.5,16.25l 0.25-0.25t 0.25-0.75l 140.5,140.5l 6.5-7q 3-2.5 7-2.5\nt 7,2.5l 13.5,14q 3,2.5 3,6.5t-3,7l-6.5,6.5l 164,164q 5,5.5 5,12.75t-5,12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"˚\" data-tags=\"ring\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75t-87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-81.5 51.75-143.25t 130.25-76.75l-54-36l 64-32l 64,0 l 64,32l-54,36q 78.5,15 130.25,76.75t 51.75,143.25zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25\nt 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"ǀ\" data-tags=\"pipe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512q-25.5,0 -50-10.5t-47.25-30.25t-40.5-39.75t-38.25-47.5q-8.5-11.5 -21-24.75t-32.5-30.75t-44-29t-46.5-11.5l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 q 18.5,0 27.75,0.25t 26.25,1.25t 27.25,3.5t 25,7t 25.5,11.25t 22.5,17t 21.75,23.75q 12.5,17 39.75,40.5t 40.25,23.5q 32,0 32-32l0-64 \nq0-13 9.25-22.5t 22.75-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,53 -37.5,90.5t-90.5,37.5zM 448,128q0,18 4.5,41.5q 0.5,2.5 9,20.25t 12.5,34.25l-29,0 q-4.5-21 -13-32q-11.5-12 -13.75-23.75t-2.25-40.25q0-40 18.75-68t 45.25-28q-19,7.5 -25.5,32t-6.5,64zM 352,102.5q0,19 4.5,44.5q 25,28 27,77l-31.5,0 \nq0-32 -4.5-38q-27.5-31 -27.5-83.5q0-42.5 18.75-72.5t 45.25-30q 7.5,0 16,3.5q-21,9 -34.5,36.25t-13.5,62.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"÷\" data-tags=\"divide\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 288,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5z\nM 224,384l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"×\" data-tags=\"multiply\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 350.5,256l 151.5,152q 10,10 10,23.75t-10,23.25l-47,47q-9.5,10 -23.5,10t-23.5-10l-152-151.5l-152,151.5q-9.5,10 -23.5,10t-23.5-10l-47-47q-10-9.5 -10-23.25t 10-23.75l 151.5-152l-151.5-151.5q-10-10 -10-23.75t 10-23.75l 47-47q 9.5-9.5 23.5-9.5t 23.5,9.5l 152,152l 152-152q 9.5-9.5 23.5-9.5t 23.5,9.5\nl 47,47q 10,10 10,23.75t-10,23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"¶\" data-tags=\"pilcrow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 l0,416 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-416 l-128,0 l0,416 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-160 l-32,0 q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5l 320,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>"]}],"IDs":[219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1161,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,1426,1427,1428,1429,1430,1431,1432,1433,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477,1478,1479,1480,1481,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1530,1531,1532,1533,1534,1535,1536,1537,1538,1539,1540,1541,1542,1543,1544,1545,1546,1547,1548,1549,1550,1551,1552,1553,1554,1555,1556,1557,1558,1559,1560,1561,1562,1563,1564,1565,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1631,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1642,1643,1644,1645,1646,1647,1648,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1750,1751,1752,1753,1754,1755,1756,1757,1758,1759,1760,1761,1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772,1773,1774,1775,1776,1777,1778,1779,1780,1781,1782,1783,1784,1785,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1806,1807,1808,1809,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1840,1841,1842,1843,1844,1845,1846,1847,1848,1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862,1863,1864,1865,1866,1867,1868,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,1959,1960,1961,1962,1963,1964,1965,1966,1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2070,2071,2072,2073,2074,2075,2076,2077,2078,2079,2080,2081,2082,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2146,2147,2148,2149,2150,2151,2152,2153,2154,2155,2156,2157,2158,2159,2160,2161,2162,2163,2164,2165,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2178,2179,2180,2181,2182,2183,2184,2185,2186,2187,2188,2189,2190,2191,2192,2193,2194,2195,2196,2197,2198,2199,2200,2201,2202,2203,2204,2205,2206,2207,2208,2209,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,2228,2229,2230,2231,2232,2233,2234,2235,2236,2237,2238,2239,2240,2241,2242,2243,2244,2245,2246,2247,2248,2249,2250,2251,2252,2253,2254,2255,2256,2257,2258,2259,2260,2261,2262,2263,2264,2265,2266,2267,2268,2269,2270,2271,2272,2273,2274,2275,2276,2277,2278,2279,2280,2281,2282,2283,2284,2285,2286,2287,2288,2289,2290,2291,2292,2293,2294,2295,2296,2297,2298,2299,2300,2301,2302,2303,2304,2305,2306,2307,2308,2309,2310,2311,2312,2313,2314,2315,2316,2317,2318,2319,2320,2321,2322,2323,2324,2325,2326,2327,2328,2329,2330,2331,2332,2333,2334,2335,2336,2337,2338,2339,2340,2341,2342,2343,2344,2345,2346,2347,2348,2349,2350,2351,2352,2353,2354,2355,2356,2357,2358,2359,2360,2361,2362,2363,2364,2365,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2384,2385,2386,2387,2388,2389,2390,2391,2392,2393,2394,2395,2396,2397,2398,2399,2400,2401,2402,2403,2404,2405,2406,2407,2408,2409,2410,2411,2412,2413,2414,2415,2416,2417,2418,2419,2420,2421,2422,2423,2424,2425,2426,2427,2428,2429,2430,2431,2432,2433,2434,2435,2436,2437,2438,2439,2440,2441,2442,2443,2444,2445,2446,2447,2448,2449,2450,2451,2452,2453,2454,2455,2456,2457,2458,2459,2460,2461,2462,2463,2464,2465,2466,2467,2468,2469,2470,2471,2472,2473,2474,2475,2476,2477,2478,2479,2480,2481,2482,2483,2484,2485,2486,2487,2488,2489,2490,2491,2492,2493,2494,2495,2496,2497,2498,2499,2500,2501,2502,2503,2504,2505,2506,2507,2508,2509,2510,2511,2512,2513,2514,2515,2516,2517,2518,2519,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,2530,2531,2532,2533,2534,2535,2536,2537,2538,2539,2540,2541,2542,2543,2544,2545,2546,2547,2548,2549,2550,2551,2552,2553,2554,2555,2556,2557,2558,2559,2560,2561,2562,2563,2564,2565,2566,2567,2568,2569,2570,2571,2572,2573,2574,2575,2576,2577,2578,2579,2580,2581,2582,2583,2584,2585,2586,2587,2588,2589,2590,2591,2592,2593,2594,2595,2596,2597,2598,2599,2600,2601,2602,2603,2604,2605,2606,2607,2608,2609,2610,2611,2612,2613,2614,2615,2616,2617,2618,2619,2620,2621,2622,2623,2624,2625,2626,2627,2628,2629,2630,2631,2632,2633,2634,2635,2636,2637,2638,2639,2640,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2655,2656,2657,2658,2659,2660,2661,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2672,2673,2674,2675,2676,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2688,2689,2690,2691,2692,2693,2694,2695,2696,2697,2698,2699,2700,2701,2702,2703,2704,2705,2706,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,2726,2727,2728,2729,2730,2731,2732,2733,2734,2735,2736,2737,2738,2739,2740,2741,2742,2743,2744,2745,2746,2747,2748,2749,2750,2751,2752,2753,2754,2755,2756,2757,2758,2759,2760,2761,2762,2763,2764,2765,2766,2767,2768,2769,2770,2771,2772,2773,2774,2775,2776,2777,2778,2779,2780,2781,2782,2783,2784,2785,2786,2787,2788,2789,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2800,2801,2802,2803,2804,2805,2806,2807,2808,2809,2810,2811,2812,2813,2814,2815,2816,2817,2818,2819,2820,2821,2822,2823,2824,2825,2826,2827,2828,2829,2830,2831,2832,2833,2834,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,2857,2858,2859,2860,2861,2862,2863,2864,2865,2866,2867,2868,2869,2870,2871,2872,2873,2874,2875,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885],"user":{"email":"bradvin@gmail.com","newsletter":true,"secret":"3d0d429f221caf894108d146c0010f1a4b4904abf43f75d76f59d6fc480fc322c1515c3628389d9dae32700ecfa09e1f499597ad3f957314a2fd306e9f39fc1c","uid":10966}},"inputCache":"{\"baseline\":\"6.25\",\"emSize\":\"512\",\"prev_size\":\"16\",\"hdr-imported\":\"checked\",\"iconAlignment\":\"0\",\"showGrid\":\"checked\",\"fi_name\":\"footable\",\"fi_id\":\"\",\"fi_link\":\"\",\"fi_author\":\"\",\"fi_authorLink\":\"\",\"fi_license\":\"\",\"fi_licenseLink\":\"\",\"include_metadata\":false,\"base64\":true,\"img-height\":\"32\",\"img-color\":\"000000\",\"include_png\":\"checked\",\"fi_class\":\"icon-\",\"showCloudLinks\":false,\"sprites-cols\":\"16\",\"ligatures\":false,\"include_sprites\":false,\"designGrid\":\"\",\"whitespace\":\"50\",\"glyph_widths\":\"100\",\"manualMetrics\":false,\"hdr-fontawesome\":true,\"hdr-icomoon-ultimate\":true,\"hdr-whhglyphs\":true}"} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/icomoon/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/icomoon/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/icomoon/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.bookmarkable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.bookmarkable.js deleted file mode 100644 index 0765cbf8c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.bookmarkable.js +++ /dev/null @@ -1,170 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.foobox === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - bookmarkable: { - enabled: false - } - }; - - // see http://www.onlineaspect.com/2009/06/10/reading-get-variables-with-javascript/ - function $_HASH(q,s) { - s = s ? s : location.hash; - var re = new RegExp('&'+q+'(?:=([^&]*))?(?=&|$)','i'); - return (s=s.replace(/^\#/,'&').match(re)) ? (typeof s[1] == 'undefined' ? '' : decodeURIComponent(s[1])) : undefined; - } - - function addFootableStatusData(ft, event) { - var tbl_total = $(ft.table).find("tbody").find("tr:not(.footable-row-detail, .footable-filtered)").length; - $(ft.table).data("status_num_total", tbl_total); - - var tbl_num = $(ft.table).find("tbody").find("tr:not(.footable-row-detail)").filter(":visible").length; - $(ft.table).data("status_num_shown", tbl_num); - - var sort_colnum = $(ft.table).data("sorted"); - var sort_col = $(ft.table).find("th")[sort_colnum]; - var descending = $(sort_col).hasClass("footable-sorted-desc"); - $(ft.table).data("status_descending", descending); - - if (ft.pageInfo) { - var pagenum = ft.pageInfo.currentPage; - $(ft.table).data("status_pagenum", pagenum); - } - - var filter_val = ''; - var filter_field_id = $(ft.table).data('filter'); - if ( $(filter_field_id).length ) { - filter_val = $(filter_field_id).val(); - } - - $(ft.table).data("status_filter_val", filter_val); - - // manage expanded or collapsed rows: - var row, rowlist, expanded_rows; - if (event.type == 'footable_row_expanded') { - row = event.row; - if (row) { - rowlist = $(ft.table).data('expanded_rows'); - expanded_rows = []; - if (rowlist) { - expanded_rows = rowlist.split(','); - } - expanded_rows.push(row.rowIndex); - $(ft.table).data('expanded_rows', expanded_rows.join(',')); - } - } - if (event.type == 'footable_row_collapsed') { - row = event.row; - if (row) { - rowlist = $(ft.table).data('expanded_rows'); - expanded_rows = []; - if (rowlist) { - expanded_rows = rowlist.split(','); - } - var new_expanded_rows = []; - for (var i in expanded_rows) { - if (expanded_rows[i] == row.rowIndex) { - new_expanded_rows = expanded_rows.splice(i, 1); - break; - } - } - $(ft.table).data('expanded_rows', new_expanded_rows.join(',')); - } - } - } - - function Bookmarkable() { - var p = this; - p.name = 'Footable LucidBookmarkable'; - p.init = function(ft) { - if (ft.options.bookmarkable.enabled) { - - $(ft.table).bind({ - 'footable_initialized': function(){ - var tbl_id = ft.table.id; - var q_filter = $_HASH(tbl_id + '_f'); - var q_page_num = $_HASH(tbl_id + '_p'); - var q_sorted = $_HASH(tbl_id + '_s'); - var q_desc = $_HASH(tbl_id + '_d'); - var q_expanded = $_HASH(tbl_id + '_e'); - - if (q_filter) { - var filter_field_id = $(ft.table).data('filter'); - $(filter_field_id).val(q_filter); - $(ft.table).trigger('footable_filter', {filter: q_filter}); - } - if (q_page_num) { - $(ft.table).data('currentPage', q_page_num); - // we'll check for sort before triggering pagination, since - // sorting triggers pagination. - } - if (typeof q_sorted !== 'undefined') { - var footableSort = $(ft.table).data('footable-sort'); - var ascending = true; - if (q_desc == 'true') { - ascending = false; - } - footableSort.doSort(q_sorted, ascending); - } - else { - $(ft.table).trigger('footable_setup_paging'); - } - if (q_expanded) { - var expanded_rows = q_expanded.split(','); - for (var i in expanded_rows) { - var row = $(ft.table.rows[expanded_rows[i]]); - row.find('> td:first').trigger('footable_toggle_row'); - } - } - ft.lucid_bookmark_read = true; - }, - 'footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed': function(e) { - addFootableStatusData(ft, e); - - // update the URL hash - // lucid_bookmark_read guards against running this logic before - // the "first read" of the location bookmark hash. - if (ft.lucid_bookmark_read) { - var tbl_id = ft.table.id; - var filter = tbl_id + '_f'; - var page_num = tbl_id + '_p'; - var sorted = tbl_id + '_s'; - var descending = tbl_id + '_d'; - var expanded = tbl_id + '_e'; - - var hash = location.hash.replace(/^\#/, '&'); - var hashkeys = [filter, page_num, sorted, descending, expanded]; - // trim existing elements out of the hash. - for (var i in hashkeys) { - var re = new RegExp('&' + hashkeys[i]+'=([^&]*)', 'g'); - hash = hash.replace(re, ''); - } - - var foostate = {}; - foostate[filter] = $(ft.table).data('status_filter_val'); - foostate[page_num] = $(ft.table).data('status_pagenum'); - foostate[sorted] = $(ft.table).data('sorted'); - foostate[descending] = $(ft.table).data('status_descending'); - foostate[expanded] = $(ft.table).data('expanded_rows'); - - var pairs = []; - for (var elt in foostate) { - if (foostate[elt] !== undefined) { - pairs.push(elt + '=' + encodeURIComponent(foostate[elt])); - } - } - if (hash.length) { - pairs.push(hash); - } - location.hash = pairs.join('&'); - } - } - }); - } - }; - } - - w.footable.plugins.register(Bookmarkable, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.filter.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.filter.js deleted file mode 100644 index 718dd7f85..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.filter.js +++ /dev/null @@ -1,143 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.footable === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - filter: { - enabled: true, - input: '.footable-filter', - timeout: 300, - minimum: 2, - disableEnter: false, - filterFunction: function(index) { - var $t = $(this), - $table = $t.parents('table:first'), - filter = $table.data('current-filter').toUpperCase(), - text = $t.find('td').text(); - if (!$table.data('filter-text-only')) { - $t.find('td[data-value]').each(function () { - text += $(this).data('value'); - }); - } - return text.toUpperCase().indexOf(filter) >= 0; - } - } - }; - - function Filter() { - var p = this; - p.name = 'Footable Filter'; - p.init = function (ft) { - p.footable = ft; - if (ft.options.filter.enabled === true) { - if ($(ft.table).data('filter') === false) return; - ft.timers.register('filter'); - $(ft.table) - .unbind('.filtering') - .bind({ - 'footable_initialized.filtering': function (e) { - var $table = $(ft.table); - var data = { - 'input': $table.data('filter') || ft.options.filter.input, - 'timeout': $table.data('filter-timeout') || ft.options.filter.timeout, - 'minimum': $table.data('filter-minimum') || ft.options.filter.minimum, - 'disableEnter': $table.data('filter-disable-enter') || ft.options.filter.disableEnter - }; - if (data.disableEnter) { - $(data.input).keypress(function (event) { - if (window.event) - return (window.event.keyCode !== 13); - else - return (event.which !== 13); - }); - } - $table.bind('footable_clear_filter', function () { - $(data.input).val(''); - p.clearFilter(); - }); - $table.bind('footable_filter', function (event, args) { - p.filter(args.filter); - }); - $(data.input).keyup(function (eve) { - ft.timers.filter.stop(); - if (eve.which === 27) { - $(data.input).val(''); - } - ft.timers.filter.start(function () { - var val = $(data.input).val() || ''; - p.filter(val); - }, data.timeout); - }); - }, - 'footable_redrawn.filtering': function (e) { - var $table = $(ft.table), - filter = $table.data('filter-string'); - if (filter) { - p.filter(filter); - } - } - }) - //save the filter object onto the table so we can access it later - .data('footable-filter', p); - } - }; - - p.filter = function (filterString) { - var ft = p.footable, - $table = $(ft.table), - minimum = $table.data('filter-minimum') || ft.options.filter.minimum, - clear = !filterString; - - //raise a pre-filter event so that we can cancel the filtering if needed - var event = ft.raise('footable_filtering', { filter: filterString, clear: clear }); - if (event && event.result === false) return; - if (event.filter && event.filter.length < minimum) { - return; //if we do not have the minimum chars then do nothing - } - - if (event.clear) { - p.clearFilter(); - } else { - var filters = event.filter.split(' '); - - $table.find('> tbody > tr').hide().addClass('footable-filtered'); - var rows = $table.find('> tbody > tr:not(.footable-row-detail)'); - $.each(filters, function (i, f) { - if (f && f.length > 0) { - $table.data('current-filter', f); - rows = rows.filter(ft.options.filter.filterFunction); - } - }); - rows.each(function () { - p.showRow(this, ft); - $(this).removeClass('footable-filtered'); - }); - $table.data('filter-string', event.filter); - ft.raise('footable_filtered', { filter: event.filter, clear: false }); - } - }; - - p.clearFilter = function () { - var ft = p.footable, - $table = $(ft.table); - - $table.find('> tbody > tr:not(.footable-row-detail)').removeClass('footable-filtered').each(function () { - p.showRow(this, ft); - }); - $table.removeData('filter-string'); - ft.raise('footable_filtered', { clear: true }); - }; - - p.showRow = function (row, ft) { - var $row = $(row), $next = $row.next(), $table = $(ft.table); - if ($table.hasClass('breakpoint') && $row.hasClass('footable-detail-show') && $next.hasClass('footable-row-detail')) { - $row.add($next).show(); - ft.createOrUpdateDetailRow(row); - } - else $row.show(); - }; - } - - w.footable.plugins.register(Filter, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.grid.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.grid.js deleted file mode 100644 index 6f6d96022..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.grid.js +++ /dev/null @@ -1,373 +0,0 @@ -(function($, w, undefined) { - if (w.footable === undefined || w.foobox === null) throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - var defaults = { - grid: { - enabled: true, - data: null, - template: null, //row html template, use for make a row. - cols: null, //column define - items: null, //data items - url: null, //get data from url - ajax: null, //paramater for $.ajax - activeClass: 'active', //add to row selected - multiSelect: false, //allow select multiple row - showIndex: false, //show row index - showCheckbox: false, //show checkbox for select - showEmptyInfo: false, //when that is not data in table, show a info to notify user - emptyInfo: '<p class="text-center text-warning">No Data</p>', - pagination: { - "page-size": 20, - "pagination-class": "pagination pagination-centered" - }, - indexFormatter: function(val, $td, index) { - return index + 1; - }, - checkboxFormatter: function(isTop) { - return '<input type="checkbox" class="' + (isTop ? 'checkAll' : 'check') + '">'; - }, - events: { - loaded: 'footable_grid_loaded', - created: 'footable_grid_created', - removed: 'footable_grid_removed', - updated: 'footable_grid_updated' - } - } - }; - - function makeTh(col) { - var $th = $('<th>' + col.title + '</th>'); - if ($.isPlainObject(col.data)) { - $th.data(col.data); - } - if ($.isPlainObject(col.style)) { - $th.css(col.style); - } - if (col.className) { - $th.addClass(col.className); - } - return $th; - } - - function initThead($table, options) { - var $thead = $table.find('thead'); - if ($thead.size() === 0) { - $thead = $('<thead>').appendTo($table); - } - var $row = $('<tr>').appendTo($thead); - for (var i = 0, len = options.cols.length; i < len; i++) { - $row.append(makeTh(options.cols[i])); - } - } - - function initTBody($table) { - var $tbody = $table.find('tbody'); - if ($tbody.size() === 0) { - $tbody = $('<tbody>').appendTo($table); - } - } - - function initPagination($table, cols, options) { - if (options) { - $table.attr("data-page-size", options['page-size']); - var $tfoot = $table.find('tfoot'); - if ($tfoot.size() === 0) { - $tfoot = $('<tfoot class="hide-if-no-paging"></tfoot>').appendTo($table); - } - $tfoot.append('<tr><td colspan=' + cols.length + '></td></tr>'); - var $pagination = $("<div>").appendTo($tfoot.find("tr:last-child td")); - $pagination.addClass(options['pagination-class']); - } - } - - function setToggleColumn(cols) { - var toggleColumn = cols[0]; - for (var i = 0, len = cols.length; i < len; i++) { - var col = cols[i]; - if (col.data && (col.data.toggle === true || col.data.toggle === "true")) { - return; - } - } - toggleColumn.data = $.extend(toggleColumn.data, { - toggle: true - }); - } - - function makeEmptyInfo($table, cols, emptyInfo) { - if ($table.find("tr.emptyInfo").size() === 0) { - $table.find('tbody').append('<tr class="emptyInfo"><td colspan="' + cols.length + '">' + emptyInfo + '</td></tr>'); - } - } - - function updateRowIndex($tbody, $newRow, detailClass, offset) { - //update rows index - $tbody.find('tr:not(.' + detailClass + ')').each(function() { - var $row = $(this), - index = $newRow.data('index'), - oldIndex = parseInt($row.data('index'), 0), - newIndex = oldIndex + offset; - if (oldIndex >= index && this !== $newRow.get(0)) { - $row.attr('data-index', newIndex).data('index', newIndex); - } - }); - } - - function Grid() { - var grid = this; - grid.name = 'Footable Grid'; - grid.init = function(ft) { - var toggleClass = ft.options.classes.toggle; - var detailClass = ft.options.classes.detail; - var options = ft.options.grid; - if (!options.cols) return; - grid.footable = ft; - var $table = $(ft.table); - $table.data('grid', grid); - if ($.isPlainObject(options.data)) { - $table.data(options.data); - } - grid._items = []; - setToggleColumn(options.cols); - if (options.showCheckbox) { - options.multiSelect = true; - options.cols.unshift({ - title: options.checkboxFormatter(true), - name: '', - data: { - "sort-ignore": true - }, - formatter: options.checkboxFormatter - }); - } - if (options.showIndex) { - options.cols.unshift({ - title: '#', - name: 'index', - data: { - "sort-ignore": true - }, - formatter: options.indexFormatter - }); - } - initThead($table, options); - initTBody($table); - initPagination($table, options.cols, options.pagination); - $table.off('.grid').on({ - 'footable_initialized.grid': function(e) { - if (options.url || options.ajax) { - $.ajax(options.ajax || { - url: options.url - }).then(function(resp) { - grid.newItem(resp); - ft.raise(options.events.loaded); - }, function(jqXHR) { - throw 'load data from ' + (options.url || options.ajax.url) + ' fail'; - }); - } else { - grid.newItem(options.items || []); - ft.raise(options.events.loaded); - } - }, - 'footable_sorted.grid footable_grid_created.grid footable_grid_removed.grid': function(event) { - if (options.showIndex && grid.getItem().length > 0) { - $table.find('tbody tr:not(.' + detailClass + ')').each(function(index) { - var $td = $(this).find('td:first'); - $td.html(options.indexFormatter(null, $td, index)); - }); - } - }, - 'footable_redrawn.grid footable_row_removed.grid': function(event) { - if (grid.getItem().length === 0 && options.showEmptyInfo) { - makeEmptyInfo($table, options.cols, options.emptyInfo); - } - } - }).on({ - 'click.grid': function(event) { - if ($(event.target).closest('td').find('>.' + toggleClass).size() > 0) { - return true; - } - var $tr = $(event.currentTarget); - if ($tr.hasClass(detailClass)) { - return true; - } - if (!options.multiSelect && !$tr.hasClass(options.activeClass)) { - $table.find('tbody tr.' + options.activeClass).removeClass(options.activeClass); - } - $tr.toggleClass(options.activeClass); - if (options.showCheckbox) { - $tr.find('input:checkbox.check').prop('checked', function(index, val) { - if (event.target === this) { - return val; - } - return !val; - }); - } - ft.toggleDetail($tr); - } - }, 'tbody tr').on('click.grid', 'thead input:checkbox.checkAll', function(event) { - var checked = !! event.currentTarget.checked; - if (checked) { - $table.find('tbody tr').addClass(options.activeClass); - } else { - $table.find('tbody tr').removeClass(options.activeClass); - } - $table.find('tbody input:checkbox.check').prop('checked', checked); - }); - }; - /** - * get selected rows index; - */ - grid.getSelected = function() { - var options = grid.footable.options.grid, - $selected = $(grid.footable.table).find('tbody>tr.' + options.activeClass); - return $selected.map(function() { - return $(this).data('index'); - }); - }; - /** - * get row's data by index - */ - grid.getItem = function(index) { - if (index !== undefined) { - if ($.isArray(index)) { - return $.map(index, function(item) { - return grid._items[item]; - }); - } - return grid._items[index]; - } - return grid._items; - }; - - function makeCell(col, value, index) { - var $td = $('<td>'); - if (col.formatter) { - $td.html(col.formatter(value, $td, index)); - } else { - $td.html(value || ''); - } - return $td; - } - grid._makeRow = function(item, index) { - var options = grid.footable.options.grid; - var $row; - if ($.isFunction(options.template)) { - $row = $(options.template($.extend({}, { - __index: index - }, item))); - } else { - $row = $('<tr>'); - for (var i = 0, len = options.cols.length; i < len; i++) { - var col = options.cols[i]; - $row.append(makeCell(col, item[col.name] || '', index)); - } - } - $row.attr('data-index', index); - return $row; - }; - /** - * create rows by js object - */ - grid.newItem = function(item, index, wait) { - var $tbody = $(grid.footable.table).find('tbody'); - var detailClass = grid.footable.options.classes.detail; - $tbody.find('tr.emptyInfo').remove(); - if ($.isArray(item)) { - for (var atom; - (atom = item.pop());) { - grid.newItem(atom, index, true); - } - grid.footable.redraw(); - grid.footable.raise(grid.footable.options.grid.events.created, { - item: item, - index: index - }); - return; - } - if (!$.isPlainObject(item)) { - return; - } - var $tr, len = grid._items.length; - if (index === undefined || index < 0 || index > len) { - $tr = grid._makeRow(item, len++); - grid._items.push(item); - $tbody.append($tr); - } else { - $tr = grid._makeRow(item, index); - if (index === 0) { - grid._items.unshift(item); - $tbody.prepend($tr); - } else { - var $before = $tbody.find('tr[data-index=' + (index - 1) + ']'); - grid._items.splice(index, 0, item); - if ($before.data('detail_created') === true) { - $before = $before.next(); - } - $before.after($tr); - } - updateRowIndex($tbody, $tr, detailClass, 1); - } - if (!wait) { - grid.footable.redraw(); - grid.footable.raise(grid.footable.options.grid.events.created, { - item: item, - index: index - }); - } - }; - /** - * update row by js object - */ - grid.setItem = function(item, index) { - if (!$.isPlainObject(item)) { - return; - } - var $tbody = $(grid.footable.table).find('tbody'), - $newTr = grid._makeRow(item, index); - $.extend(grid._items[index], item); - var $tr = $tbody.find('tr').eq(index); - $tr.html($newTr.html()); - grid.footable.redraw(); - grid.footable.raise(grid.footable.options.grid.events.updated, { - item: item, - index: index - }); - }; - /** - * remove rows by index - */ - grid.removeItem = function(index) { - var $tbody = $(grid.footable.table).find('tbody'); - var detailClass = grid.footable.options.classes.detail; - var result = []; - if ($.isArray(index)) { - for (var i; - (i = index.pop());) { - result.push(grid.removeItem(i)); - } - grid.footable.raise(grid.footable.options.grid.events.removed, { - item: result, - index: index - }); - return result; - } - if (index === undefined) { - $tbody.find('tr').each(function() { - result.push(grid._items.shift()); - grid.footable.removeRow(this); - }); - } else { - var $tr = $tbody.find('tr[data-index=' + index + ']'); - result = grid._items.splice(index, 1)[0]; - grid.footable.removeRow($tr); - //update rows index - updateRowIndex($tbody, $tr, detailClass, -1); - } - grid.footable.raise(grid.footable.options.grid.events.removed, { - item: result, - index: index - }); - return result; - }; - } - w.footable.plugins.register(Grid, defaults); -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.js deleted file mode 100644 index 234e4f4ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.js +++ /dev/null @@ -1,824 +0,0 @@ -/*! - * FooTable - Awesome Responsive Tables - * Version : 2.0.3 - * http://fooplugins.com/plugins/footable-jquery/ - * - * Requires jQuery - http://jquery.com/ - * - * Copyright 2014 Steven Usher & Brad Vincent - * Released under the MIT license - * You are free to use FooTable in commercial projects as long as this copyright header is left intact. - * - * Date: 11 Nov 2014 - */ -(function ($, w, undefined) { - w.footable = { - options: { - delay: 100, // The number of millseconds to wait before triggering the react event - breakpoints: { // The different screen resolution breakpoints - phone: 480, - tablet: 1024 - }, - parsers: { // The default parser to parse the value out of a cell (values are used in building up row detail) - alpha: function (cell) { - return $(cell).data('value') || $.trim($(cell).text()); - }, - numeric: function (cell) { - var val = $(cell).data('value') || $(cell).text().replace(/[^0-9.\-]/g, ''); - val = parseFloat(val); - if (isNaN(val)) val = 0; - return val; - } - }, - addRowToggle: true, - calculateWidthOverride: null, - toggleSelector: ' > tbody > tr:not(.footable-row-detail)', //the selector to show/hide the detail row - columnDataSelector: '> thead > tr:last-child > th, > thead > tr:last-child > td', //the selector used to find the column data in the thead - detailSeparator: ':', //the separator character used when building up the detail row - toggleHTMLElement: '<span />', // override this if you want to insert a click target rather than use a background image. - createGroupedDetail: function (data) { - var groups = { '_none': { 'name': null, 'data': [] } }; - for (var i = 0; i < data.length; i++) { - var groupid = data[i].group; - if (groupid !== null) { - if (!(groupid in groups)) - groups[groupid] = { 'name': data[i].groupName || data[i].group, 'data': [] }; - - groups[groupid].data.push(data[i]); - } else { - groups._none.data.push(data[i]); - } - } - return groups; - }, - createDetail: function (element, data, createGroupedDetail, separatorChar, classes) { - /// <summary>This function is used by FooTable to generate the detail view seen when expanding a collapsed row.</summary> - /// <param name="element">This is the div that contains all the detail row information, anything could be added to it.</param> - /// <param name="data"> - /// This is an array of objects containing the cell information for the current row. - /// These objects look like the below: - /// obj = { - /// 'name': String, // The name of the column - /// 'value': Object, // The value parsed from the cell using the parsers. This could be a string, a number or whatever the parser outputs. - /// 'display': String, // This is the actual HTML from the cell, so if you have images etc you want moved this is the one to use and is the default value used. - /// 'group': String, // This is the identifier used in the data-group attribute of the column. - /// 'groupName': String // This is the actual name of the group the column belongs to. - /// } - /// </param> - /// <param name="createGroupedDetail">The grouping function to group the data</param> - /// <param name="separatorChar">The separator charactor used</param> - /// <param name="classes">The array of class names used to build up the detail row</param> - - var groups = createGroupedDetail(data); - for (var group in groups) { - if (groups[group].data.length === 0) continue; - if (group !== '_none') element.append('<div class="' + classes.detailInnerGroup + '">' + groups[group].name + '</div>'); - - for (var j = 0; j < groups[group].data.length; j++) { - var separator = (groups[group].data[j].name) ? separatorChar : ''; - element.append($('<div></div>').addClass(classes.detailInnerRow).append($('<div></div>').addClass(classes.detailInnerName) - .append(groups[group].data[j].name + separator)).append($('<div></div>').addClass(classes.detailInnerValue) - .attr('data-bind-value', groups[group].data[j].bindName).append(groups[group].data[j].display))); - } - } - }, - classes: { - main: 'footable', - loading: 'footable-loading', - loaded: 'footable-loaded', - toggle: 'footable-toggle', - disabled: 'footable-disabled', - detail: 'footable-row-detail', - detailCell: 'footable-row-detail-cell', - detailInner: 'footable-row-detail-inner', - detailInnerRow: 'footable-row-detail-row', - detailInnerGroup: 'footable-row-detail-group', - detailInnerName: 'footable-row-detail-name', - detailInnerValue: 'footable-row-detail-value', - detailShow: 'footable-detail-show' - }, - triggers: { - initialize: 'footable_initialize', //trigger this event to force FooTable to reinitialize - resize: 'footable_resize', //trigger this event to force FooTable to resize - redraw: 'footable_redraw', //trigger this event to force FooTable to redraw - toggleRow: 'footable_toggle_row', //trigger this event to force FooTable to toggle a row - expandFirstRow: 'footable_expand_first_row', //trigger this event to force FooTable to expand the first row - expandAll: 'footable_expand_all', //trigger this event to force FooTable to expand all rows - collapseAll: 'footable_collapse_all' //trigger this event to force FooTable to collapse all rows - }, - events: { - alreadyInitialized: 'footable_already_initialized', //fires when the FooTable has already been initialized - initializing: 'footable_initializing', //fires before FooTable starts initializing - initialized: 'footable_initialized', //fires after FooTable has finished initializing - resizing: 'footable_resizing', //fires before FooTable resizes - resized: 'footable_resized', //fires after FooTable has resized - redrawn: 'footable_redrawn', //fires after FooTable has redrawn - breakpoint: 'footable_breakpoint', //fires inside the resize function, when a breakpoint is hit - columnData: 'footable_column_data', //fires when setting up column data. Plugins should use this event to capture their own info about a column - rowDetailUpdating: 'footable_row_detail_updating', //fires before a detail row is updated - rowDetailUpdated: 'footable_row_detail_updated', //fires when a detail row is being updated - rowCollapsed: 'footable_row_collapsed', //fires when a row is collapsed - rowExpanded: 'footable_row_expanded', //fires when a row is expanded - rowRemoved: 'footable_row_removed', //fires when a row is removed - reset: 'footable_reset' //fires when FooTable is reset - }, - debug: false, // Whether or not to log information to the console. - log: null - }, - - version: { - major: 0, minor: 5, - toString: function () { - return w.footable.version.major + '.' + w.footable.version.minor; - }, - parse: function (str) { - var version = /(\d+)\.?(\d+)?\.?(\d+)?/.exec(str); - return { - major: parseInt(version[1], 10) || 0, - minor: parseInt(version[2], 10) || 0, - patch: parseInt(version[3], 10) || 0 - }; - } - }, - - plugins: { - _validate: function (plugin) { - ///<summary>Simple validation of the <paramref name="plugin"/> to make sure any members called by FooTable actually exist.</summary> - ///<param name="plugin">The object defining the plugin, this should implement a string property called "name" and a function called "init".</param> - - if (!$.isFunction(plugin)) { - if (w.footable.options.debug === true) console.error('Validation failed, expected type "function", received type "{0}".', typeof plugin); - return false; - } - var p = new plugin(); - if (typeof p['name'] !== 'string') { - if (w.footable.options.debug === true) console.error('Validation failed, plugin does not implement a string property called "name".', p); - return false; - } - if (!$.isFunction(p['init'])) { - if (w.footable.options.debug === true) console.error('Validation failed, plugin "' + p['name'] + '" does not implement a function called "init".', p); - return false; - } - if (w.footable.options.debug === true) console.log('Validation succeeded for plugin "' + p['name'] + '".', p); - return true; - }, - registered: [], // An array containing all registered plugins. - register: function (plugin, options) { - ///<summary>Registers a <paramref name="plugin"/> and its default <paramref name="options"/> with FooTable.</summary> - ///<param name="plugin">The plugin that should implement a string property called "name" and a function called "init".</param> - ///<param name="options">The default options to merge with the FooTable's base options.</param> - - if (w.footable.plugins._validate(plugin)) { - w.footable.plugins.registered.push(plugin); - if (typeof options === 'object') $.extend(true, w.footable.options, options); - } - }, - load: function(instance){ - var loaded = [], registered, i; - for(i = 0; i < w.footable.plugins.registered.length; i++){ - try { - registered = w.footable.plugins.registered[i]; - loaded.push(new registered(instance)); - } catch (err) { - if (w.footable.options.debug === true) console.error(err); - } - } - return loaded; - }, - init: function (instance) { - ///<summary>Loops through all registered plugins and calls the "init" method supplying the current <paramref name="instance"/> of the FooTable as the first parameter.</summary> - ///<param name="instance">The current instance of the FooTable that the plugin is being initialized for.</param> - - for (var i = 0; i < instance.plugins.length; i++) { - try { - instance.plugins[i]['init'](instance); - } catch (err) { - if (w.footable.options.debug === true) console.error(err); - } - } - } - } - }; - - var instanceCount = 0; - - $.fn.footable = function (options) { - ///<summary>The main constructor call to initialize the plugin using the supplied <paramref name="options"/>.</summary> - ///<param name="options"> - ///<para>A JSON object containing user defined options for the plugin to use. Any options not supplied will have a default value assigned.</para> - ///<para>Check the documentation or the default options object above for more information on available options.</para> - ///</param> - - options = options || {}; - var o = $.extend(true, {}, w.footable.options, options); //merge user and default options - return this.each(function () { - instanceCount++; - var footable = new Footable(this, o, instanceCount); - $(this).data('footable', footable); - }); - }; - - //helper for using timeouts - function Timer() { - ///<summary>Simple timer object created around a timeout.</summary> - var t = this; - t.id = null; - t.busy = false; - t.start = function (code, milliseconds) { - ///<summary>Starts the timer and waits the specified amount of <paramref name="milliseconds"/> before executing the supplied <paramref name="code"/>.</summary> - ///<param name="code">The code to execute once the timer runs out.</param> - ///<param name="milliseconds">The time in milliseconds to wait before executing the supplied <paramref name="code"/>.</param> - - if (t.busy) { - return; - } - t.stop(); - t.id = setTimeout(function () { - code(); - t.id = null; - t.busy = false; - }, milliseconds); - t.busy = true; - }; - t.stop = function () { - ///<summary>Stops the timer if its runnning and resets it back to its starting state.</summary> - - if (t.id !== null) { - clearTimeout(t.id); - t.id = null; - t.busy = false; - } - }; - } - - function Footable(t, o, id) { - ///<summary>Inits a new instance of the plugin.</summary> - ///<param name="t">The main table element to apply this plugin to.</param> - ///<param name="o">The options supplied to the plugin. Check the defaults object to see all available options.</param> - ///<param name="id">The id to assign to this instance of the plugin.</param> - - var ft = this; - ft.id = id; - ft.table = t; - ft.options = o; - ft.breakpoints = []; - ft.breakpointNames = ''; - ft.columns = {}; - ft.plugins = w.footable.plugins.load(ft); - - var opt = ft.options, - cls = opt.classes, - evt = opt.events, - trg = opt.triggers, - indexOffset = 0; - - // This object simply houses all the timers used in the FooTable. - ft.timers = { - resize: new Timer(), - register: function (name) { - ft.timers[name] = new Timer(); - return ft.timers[name]; - } - }; - - ft.init = function () { - var $window = $(w), $table = $(ft.table); - - w.footable.plugins.init(ft); - - if ($table.hasClass(cls.loaded)) { - //already loaded FooTable for the table, so don't init again - ft.raise(evt.alreadyInitialized); - return; - } - - //raise the initializing event - ft.raise(evt.initializing); - - $table.addClass(cls.loading); - - // Get the column data once for the life time of the plugin - $table.find(opt.columnDataSelector).each(function () { - var data = ft.getColumnData(this); - ft.columns[data.index] = data; - }); - - // Create a nice friendly array to work with out of the breakpoints object. - for (var name in opt.breakpoints) { - ft.breakpoints.push({ 'name': name, 'width': opt.breakpoints[name] }); - ft.breakpointNames += (name + ' '); - } - - // Sort the breakpoints so the smallest is checked first - ft.breakpoints.sort(function (a, b) { - return a['width'] - b['width']; - }); - - $table - .unbind(trg.initialize) - //bind to FooTable initialize trigger - .bind(trg.initialize, function () { - //remove previous "state" (to "force" a resize) - $table.removeData('footable_info'); - $table.data('breakpoint', ''); - - //trigger the FooTable resize - $table.trigger(trg.resize); - - //remove the loading class - $table.removeClass(cls.loading); - - //add the FooTable and loaded class - $table.addClass(cls.loaded).addClass(cls.main); - - //raise the initialized event - ft.raise(evt.initialized); - }) - .unbind(trg.redraw) - //bind to FooTable redraw trigger - .bind(trg.redraw, function () { - ft.redraw(); - }) - .unbind(trg.resize) - //bind to FooTable resize trigger - .bind(trg.resize, function () { - ft.resize(); - }) - .unbind(trg.expandFirstRow) - //bind to FooTable expandFirstRow trigger - .bind(trg.expandFirstRow, function () { - $table.find(opt.toggleSelector).first().not('.' + cls.detailShow).trigger(trg.toggleRow); - }) - .unbind(trg.expandAll) - //bind to FooTable expandFirstRow trigger - .bind(trg.expandAll, function () { - $table.find(opt.toggleSelector).not('.' + cls.detailShow).trigger(trg.toggleRow); - }) - .unbind(trg.collapseAll) - //bind to FooTable expandFirstRow trigger - .bind(trg.collapseAll, function () { - $table.find('.' + cls.detailShow).trigger(trg.toggleRow); - }); - - //trigger a FooTable initialize - $table.trigger(trg.initialize); - - //bind to window resize - $window - .bind('resize.footable', function () { - ft.timers.resize.stop(); - ft.timers.resize.start(function () { - ft.raise(trg.resize); - }, opt.delay); - }); - }; - - ft.addRowToggle = function () { - if (!opt.addRowToggle) return; - - var $table = $(ft.table), - hasToggleColumn = false; - - //first remove all toggle spans - $table.find('span.' + cls.toggle).remove(); - - for (var c in ft.columns) { - var col = ft.columns[c]; - if (col.toggle) { - hasToggleColumn = true; - var selector = '> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > td:nth-child(' + (parseInt(col.index, 10) + 1) + '),' + - '> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > th:nth-child(' + (parseInt(col.index, 10) + 1) + ')'; - $table.find(selector).not('.' + cls.detailCell).prepend($(opt.toggleHTMLElement).addClass(cls.toggle)); - return; - } - } - //check if we have an toggle column. If not then add it to the first column just to be safe - if (!hasToggleColumn) { - $table - .find('> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > td:first-child') - .add('> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > th:first-child') - .not('.' + cls.detailCell) - .prepend($(opt.toggleHTMLElement).addClass(cls.toggle)); - } - }; - - ft.setColumnClasses = function () { - var $table = $(ft.table); - for (var c in ft.columns) { - var col = ft.columns[c]; - if (col.className !== null) { - var selector = '', first = true; - $.each(col.matches, function (m, match) { //support for colspans - if (!first) selector += ', '; - selector += '> tbody > tr:not(.' + cls.detail + ') > td:nth-child(' + (parseInt(match, 10) + 1) + ')'; - first = false; - }); - //add the className to the cells specified by data-class="blah" - $table.find(selector).not('.' + cls.detailCell).addClass(col.className); - } - } - }; - - //moved this out into it's own function so that it can be called from other add-ons - ft.bindToggleSelectors = function () { - var $table = $(ft.table); - - if (!ft.hasAnyBreakpointColumn()) return; - - $table.find(opt.toggleSelector).unbind(trg.toggleRow).bind(trg.toggleRow, function (e) { - var $row = $(this).is('tr') ? $(this) : $(this).parents('tr:first'); - ft.toggleDetail($row); - }); - - $table.find(opt.toggleSelector).unbind('click.footable').bind('click.footable', function (e) { - if ($table.is('.breakpoint') && $(e.target).is('td,th,.'+ cls.toggle)) { - $(this).trigger(trg.toggleRow); - } - }); - }; - - ft.parse = function (cell, column) { - var parser = opt.parsers[column.type] || opt.parsers.alpha; - return parser(cell); - }; - - ft.getColumnData = function (th) { - var $th = $(th), hide = $th.data('hide'), index = $th.index(); - hide = hide || ''; - hide = jQuery.map(hide.split(','), function (a) { - return jQuery.trim(a); - }); - var data = { - 'index': index, - 'hide': { }, - 'type': $th.data('type') || 'alpha', - 'name': $th.data('name') || $.trim($th.text()), - 'ignore': $th.data('ignore') || false, - 'toggle': $th.data('toggle') || false, - 'className': $th.data('class') || null, - 'matches': [], - 'names': { }, - 'group': $th.data('group') || null, - 'groupName': null, - 'isEditable': $th.data('editable') - }; - - if (data.group !== null) { - var $group = $(ft.table).find('> thead > tr.footable-group-row > th[data-group="' + data.group + '"], > thead > tr.footable-group-row > td[data-group="' + data.group + '"]').first(); - data.groupName = ft.parse($group, { 'type': 'alpha' }); - } - - var pcolspan = parseInt($th.prev().attr('colspan') || 0, 10); - indexOffset += pcolspan > 1 ? pcolspan - 1 : 0; - var colspan = parseInt($th.attr('colspan') || 0, 10), curindex = data.index + indexOffset; - if (colspan > 1) { - var names = $th.data('names'); - names = names || ''; - names = names.split(','); - for (var i = 0; i < colspan; i++) { - data.matches.push(i + curindex); - if (i < names.length) data.names[i + curindex] = names[i]; - } - } else { - data.matches.push(curindex); - } - - data.hide['default'] = ($th.data('hide') === "all") || ($.inArray('default', hide) >= 0); - - var hasBreakpoint = false; - for (var name in opt.breakpoints) { - data.hide[name] = ($th.data('hide') === "all") || ($.inArray(name, hide) >= 0); - hasBreakpoint = hasBreakpoint || data.hide[name]; - } - data.hasBreakpoint = hasBreakpoint; - var e = ft.raise(evt.columnData, { 'column': { 'data': data, 'th': th } }); - return e.column.data; - }; - - ft.getViewportWidth = function () { - return window.innerWidth || (document.body ? document.body.offsetWidth : 0); - }; - - ft.calculateWidth = function ($table, info) { - if (jQuery.isFunction(opt.calculateWidthOverride)) { - return opt.calculateWidthOverride($table, info); - } - if (info.viewportWidth < info.width) info.width = info.viewportWidth; - if (info.parentWidth < info.width) info.width = info.parentWidth; - return info; - }; - - ft.hasBreakpointColumn = function (breakpoint) { - for (var c in ft.columns) { - if (ft.columns[c].hide[breakpoint]) { - if (ft.columns[c].ignore) { - continue; - } - return true; - } - } - return false; - }; - - ft.hasAnyBreakpointColumn = function () { - for (var c in ft.columns) { - if (ft.columns[c].hasBreakpoint) { - return true; - } - } - return false; - }; - - ft.resize = function () { - var $table = $(ft.table); - - if (!$table.is(':visible')) { - return; - } //we only care about FooTables that are visible - - if (!ft.hasAnyBreakpointColumn()) { - $table.trigger(trg.redraw); - return; - } //we only care about FooTables that have breakpoints - - var info = { - 'width': $table.width(), //the table width - 'viewportWidth': ft.getViewportWidth(), //the width of the viewport - 'parentWidth': $table.parent().width() //the width of the parent - }; - - info = ft.calculateWidth($table, info); - - var pinfo = $table.data('footable_info'); - $table.data('footable_info', info); - ft.raise(evt.resizing, { 'old': pinfo, 'info': info }); - - // This (if) statement is here purely to make sure events aren't raised twice as mobile safari seems to do - if (!pinfo || (pinfo && pinfo.width && pinfo.width !== info.width)) { - - var current = null, breakpoint; - for (var i = 0; i < ft.breakpoints.length; i++) { - breakpoint = ft.breakpoints[i]; - if (breakpoint && breakpoint.width && info.width <= breakpoint.width) { - current = breakpoint; - break; - } - } - - var breakpointName = (current === null ? 'default' : current['name']), - hasBreakpointFired = ft.hasBreakpointColumn(breakpointName), - previousBreakpoint = $table.data('breakpoint'); - - $table - .data('breakpoint', breakpointName) - .removeClass('default breakpoint').removeClass(ft.breakpointNames) - .addClass(breakpointName + (hasBreakpointFired ? ' breakpoint' : '')); - - //only do something if the breakpoint has changed - if (breakpointName !== previousBreakpoint) { - //trigger a redraw - $table.trigger(trg.redraw); - //raise a breakpoint event - ft.raise(evt.breakpoint, { 'breakpoint': breakpointName, 'info': info }); - } - } - - ft.raise(evt.resized, { 'old': pinfo, 'info': info }); - }; - - ft.redraw = function () { - //add the toggler to each row - ft.addRowToggle(); - - //bind the toggle selector click events - ft.bindToggleSelectors(); - - //set any cell classes defined for the columns - ft.setColumnClasses(); - - var $table = $(ft.table), - breakpointName = $table.data('breakpoint'), - hasBreakpointFired = ft.hasBreakpointColumn(breakpointName); - - $table - .find('> tbody > tr:not(.' + cls.detail + ')').data('detail_created', false).end() - .find('> thead > tr:last-child > th') - .each(function () { - var data = ft.columns[$(this).index()], selector = '', first = true; - $.each(data.matches, function (m, match) { - if (!first) { - selector += ', '; - } - var count = match + 1; - selector += '> tbody > tr:not(.' + cls.detail + ') > td:nth-child(' + count + ')'; - selector += ', > tfoot > tr:not(.' + cls.detail + ') > td:nth-child(' + count + ')'; - selector += ', > colgroup > col:nth-child(' + count + ')'; - first = false; - }); - - selector += ', > thead > tr[data-group-row="true"] > th[data-group="' + data.group + '"]'; - var $column = $table.find(selector).add(this); - if (breakpointName !== '') { - if (data.hide[breakpointName] === false) $column.addClass('footable-visible').show(); - else $column.removeClass('footable-visible').hide(); - } - - if ($table.find('> thead > tr.footable-group-row').length === 1) { - var $groupcols = $table.find('> thead > tr:last-child > th[data-group="' + data.group + '"]:visible, > thead > tr:last-child > th[data-group="' + data.group + '"]:visible'), - $group = $table.find('> thead > tr.footable-group-row > th[data-group="' + data.group + '"], > thead > tr.footable-group-row > td[data-group="' + data.group + '"]'), - groupspan = 0; - - $.each($groupcols, function () { - groupspan += parseInt($(this).attr('colspan') || 1, 10); - }); - - if (groupspan > 0) $group.attr('colspan', groupspan).show(); - else $group.hide(); - } - }) - .end() - .find('> tbody > tr.' + cls.detailShow).each(function () { - ft.createOrUpdateDetailRow(this); - }); - - $table.find("[data-bind-name]").each(function () { - ft.toggleInput(this); - }); - - $table.find('> tbody > tr.' + cls.detailShow + ':visible').each(function () { - var $next = $(this).next(); - if ($next.hasClass(cls.detail)) { - if (!hasBreakpointFired) $next.hide(); - else $next.show(); - } - }); - - // adding .footable-first-column and .footable-last-column to the first and last th and td of each row in order to allow - // for styling if the first or last column is hidden (which won't work using :first-child or :last-child) - $table.find('> thead > tr > th.footable-last-column, > tbody > tr > td.footable-last-column').removeClass('footable-last-column'); - $table.find('> thead > tr > th.footable-first-column, > tbody > tr > td.footable-first-column').removeClass('footable-first-column'); - $table.find('> thead > tr, > tbody > tr') - .find('> th.footable-visible:last, > td.footable-visible:last') - .addClass('footable-last-column') - .end() - .find('> th.footable-visible:first, > td.footable-visible:first') - .addClass('footable-first-column'); - - ft.raise(evt.redrawn); - }; - - ft.toggleDetail = function (row) { - var $row = (row.jquery) ? row : $(row), - $next = $row.next(); - - //check if the row is already expanded - if ($row.hasClass(cls.detailShow)) { - $row.removeClass(cls.detailShow); - - //only hide the next row if it's a detail row - if ($next.hasClass(cls.detail)) $next.hide(); - - ft.raise(evt.rowCollapsed, { 'row': $row[0] }); - - } else { - ft.createOrUpdateDetailRow($row[0]); - $row.addClass(cls.detailShow) - .next().show(); - - ft.raise(evt.rowExpanded, { 'row': $row[0] }); - } - }; - - ft.removeRow = function (row) { - var $row = (row.jquery) ? row : $(row); - if ($row.hasClass(cls.detail)) { - $row = $row.prev(); - } - var $next = $row.next(); - if ($row.data('detail_created') === true) { - //remove the detail row - $next.remove(); - } - $row.remove(); - - //raise event - ft.raise(evt.rowRemoved); - }; - - ft.appendRow = function (row) { - var $row = (row.jquery) ? row : $(row); - $(ft.table).find('tbody').append($row); - - //redraw the table - ft.redraw(); - }; - - ft.getColumnFromTdIndex = function (index) { - /// <summary>Returns the correct column data for the supplied index taking into account colspans.</summary> - /// <param name="index">The index to retrieve the column data for.</param> - /// <returns type="json">A JSON object containing the column data for the supplied index.</returns> - var result = null; - for (var column in ft.columns) { - if ($.inArray(index, ft.columns[column].matches) >= 0) { - result = ft.columns[column]; - break; - } - } - return result; - }; - - ft.createOrUpdateDetailRow = function (actualRow) { - var $row = $(actualRow), $next = $row.next(), $detail, values = []; - if ($row.data('detail_created') === true) return true; - - if ($row.is(':hidden')) return false; //if the row is hidden for some reason (perhaps filtered) then get out of here - ft.raise(evt.rowDetailUpdating, { 'row': $row, 'detail': $next }); - $row.find('> td:hidden').each(function () { - var index = $(this).index(), column = ft.getColumnFromTdIndex(index), name = column.name; - if (column.ignore === true) return true; - - if (index in column.names) name = column.names[index]; - - var bindName = $(this).attr("data-bind-name"); - if (bindName != null && $(this).is(':empty')) { - var bindValue = $('.' + cls.detailInnerValue + '[' + 'data-bind-value="' + bindName + '"]'); - $(this).html($(bindValue).contents().detach()); - } - var display; - if (column.isEditable !== false && (column.isEditable || $(this).find(":input").length > 0)) { - if(bindName == null) { - bindName = "bind-" + $.now() + "-" + index; - $(this).attr("data-bind-name", bindName); - } - display = $(this).contents().detach(); - } - if (!display) display = $(this).contents().clone(true, true); - values.push({ 'name': name, 'value': ft.parse(this, column), 'display': display, 'group': column.group, 'groupName': column.groupName, 'bindName': bindName }); - return true; - }); - if (values.length === 0) return false; //return if we don't have any data to show - var colspan = $row.find('> td:visible').length; - var exists = $next.hasClass(cls.detail); - if (!exists) { // Create - $next = $('<tr class="' + cls.detail + '"><td class="' + cls.detailCell + '"><div class="' + cls.detailInner + '"></div></td></tr>'); - $row.after($next); - } - $next.find('> td:first').attr('colspan', colspan); - $detail = $next.find('.' + cls.detailInner).empty(); - opt.createDetail($detail, values, opt.createGroupedDetail, opt.detailSeparator, cls); - $row.data('detail_created', true); - ft.raise(evt.rowDetailUpdated, { 'row': $row, 'detail': $next }); - return !exists; - }; - - ft.raise = function (eventName, args) { - - if (ft.options.debug === true && $.isFunction(ft.options.log)) ft.options.log(eventName, 'event'); - - args = args || { }; - var def = { 'ft': ft }; - $.extend(true, def, args); - var e = $.Event(eventName, def); - if (!e.ft) { - $.extend(true, e, def); - } //pre jQuery 1.6 which did not allow data to be passed to event object constructor - $(ft.table).trigger(e); - return e; - }; - - //reset the state of FooTable - ft.reset = function() { - var $table = $(ft.table); - $table.removeData('footable_info') - .data('breakpoint', '') - .removeClass(cls.loading) - .removeClass(cls.loaded); - - $table.find(opt.toggleSelector).unbind(trg.toggleRow).unbind('click.footable'); - - $table.find('> tbody > tr').removeClass(cls.detailShow); - - $table.find('> tbody > tr.' + cls.detail).remove(); - - ft.raise(evt.reset); - }; - - //Switch between row-detail and detail-show. - ft.toggleInput = function (column) { - var bindName = $(column).attr("data-bind-name"); - if(bindName != null) { - var bindValue = $('.' + cls.detailInnerValue + '[' + 'data-bind-value="' + bindName + '"]'); - if(bindValue != null) { - if($(column).is(":visible")) { - if(!$(bindValue).is(':empty')) $(column).html($(bindValue).contents().detach()); - } else if(!$(column).is(':empty')) { - $(bindValue).html($(column).contents().detach()); - } - } - } - }; - - ft.init(); - return ft; - } -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.memory.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.memory.js deleted file mode 100644 index 487ed709f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.memory.js +++ /dev/null @@ -1,429 +0,0 @@ -/** - * Footable Memory - * - * Version 1.1.0 - * - * Requires browser support for localStorage. Fallback to cookies using - * jQuery Cookie (https://github.com/carhartl/jquery-cookie) - * - * Stores table state in a cookie and reloads state when page is refreshed. - * - * Supports common FooTable features: - * - Pagination - * - Sorting - * - Filtering - * - Expansion - * - * Written to be compatible with multiple FooTables per page and with - * JavaScript libraries like AngularJS and Ember that use hash based URLs. - * - * Disabled by default, to enable add the following section to the footable - * options: - * - * $('#table').footable({ - * memory: { - * enabled: true - * } - * }); - * - * Based on FooTable Plugin Bookmarkable by Amy Farrell (https://github.com/akf) - * - * Created by Chris Laskey (https://github.com/chrislaskey) - */ - -(function ($, w, undefined) { - - if (w.footable === undefined || w.foobox === null) { - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - } - - var defaults = { - memory: { - enabled: false - } - }; - - var storage; - - var storage_engines = {}; - - storage_engines.local_storage = (function($){ - - 'use strict'; - - var path_page = function(){ - return location.pathname; - }; - - var path_subpage = function(){ - return location.hash || 'root'; - }; - - var storage_key = function(index){ - return path_page() + '/' + path_subpage() + '/index-' + index; - }; - - var get = function(index){ - var key = storage_key(index), - as_string = localStorage.getItem(key); - - return as_string ? JSON.parse(as_string) : {}; - }; - - var set = function(index, item){ - var key = storage_key(index), - as_string = JSON.stringify(item); - - localStorage.setItem(key, as_string); - }; - - return { - get: function(index){ - return get(index); - }, - set: function(index, item){ - set(index, item); - } - }; - - })($); - - storage_engines.cookie = (function($){ - - 'use strict'; - - /** - * Stores footable bookmarkable data in a cookie - * - * By default will store each page in its own cookie. - * Supports multiple FooTables per page. - * Supports JS frameworks that use hashmap URLs (AngularJS, Ember, etc). - * - * For example take an example application: - * - * http://example.com/application-data (2 FooTables on this page) - * http://example.com/application-data/#/details (1 FooTable on this page) - * http://example.com/other-data (1 FooTable on this page) - * - * Would be stored like this: - * - * cookie['/application-data'] = { - * '/': { - * 1: { - * key1: value1, - * key2: value2 - * }, - * 2: { - * key1: value1, - * key2: value2 - * } - * }, - * '#/details': { - * 1: { - * key1: value1, - * key2: value2 - * } - * } - * }; - * - * cookie['/other-data'] = { - * '/': { - * 1: { - * key1: value1, - * key2: value2 - * }, - * } - * } - * - */ - - if( $.cookie ){ - $.cookie.json = true; - } - - var days_to_keep_data = 7; - - var path_page = function(){ - return location.pathname; - }; - - var path_subpage = function(){ - return location.hash || '/'; - }; - - var get_data = function(){ - var page = path_page(), - data = $.cookie(page); - - return data || {}; - }; - - var get_table = function(index){ - var subpage = path_subpage(), - data = get_data(); - - if( data[subpage] && data[subpage][index] ){ - return data[subpage][index]; - } else { - return {}; - } - }; - - var set = function(index, item){ - var page = path_page(), - subpage = path_subpage(), - data = get_data(), - options; - - if( !data[subpage] ){ - data[subpage] = {}; - } - - data[subpage][index] = item; - - options = { - path: page, - expires: days_to_keep_data - }; - - $.cookie(page, data, options); - }; - - return { - get: function(index){ - return get_table(index); - }, - set: function(index, item){ - set(index, item); - } - }; - - })($); - - var set_storage_engine = (function(){ - var test = 'footable-memory-plugin-storage-test'; - - try { - localStorage.setItem(test, test); - localStorage.removeItem(test); - storage = storage_engines.local_storage; - } catch(e) { - try { - $.cookie(test, test); - storage = storage_engines.cookie; - } catch(e) { - throw new Error('FooTable Memory requires either localStorage or cookie support via jQuery $.cookie plugin (https://github.com/carhartl/jquery-cookie)'); - } - } - })($); - - var state = (function($){ - - 'use strict'; - - /** - * Gets and sets current table state - */ - - var vars = {}; - - var get = {}; - - var set = {}; - - set.vars = function(ft){ - vars.ft = ft; - vars.table = $(ft.table); - }; - - get.descending = function(){ - var descending = false; - $.each(vars.table.find('th'), function(index){ - if( $(this).hasClass('footable-sorted-desc') ){ - descending = true; - } - }); - return descending; - }; - - get.expanded = function(){ - var indexes = []; - $.each(vars.ft.table.rows, function(index, value){ - if( $(this).hasClass('footable-detail-show') ){ - indexes.push(index); - } - }); - return indexes; - }; - - set.expanded = function(data){ - if( data.expanded ){ - $.each(data.expanded, function(index, value){ - // var row = $(vars.ft.table.rows[value]); - // row.find('> td:first').trigger('footable_toggle_row'); - - // Trying to execute the lines above, but the expanded row - // shows raw AngularJS template (with {{ values }}) instead - // of the fully rendered result. - // - // Best guess is some things happen after - // 'footable_initialized' event and row expanding can not - // occur until after those fire. - // - // A hack to get around this is to wait an interval before - // executing the intended commands. Wrapped in an - // immediately executing function to ensure ft is the - // current value. - - (function(ft){ - setTimeout(function(){ - var row = $(ft.table.rows[value]); - row.find('> td:first').trigger('footable_toggle_row'); - }, 150); - })(vars.ft); - }); - } - }; - - get.filter = function(){ - return vars.table.data('filter') ? $(vars.table.data('filter')).val() : ''; - }; - - set.filter = function(data){ - if( data.filter ){ - $(vars.table.data('filter')) - .val(data.filter) - .trigger('keyup'); - } - }; - - get.page = function(){ - return vars.ft.pageInfo && vars.ft.pageInfo.currentPage !== undefined ? vars.ft.pageInfo.currentPage : 0; - }; - - set.page = function(data){ - if( data.page ){ - vars.table.data('currentPage', data.page); - // Delay triggering table until sort is updated, since both effect - // pagination. - } - }; - - get.shown = function(){ - return vars.table - .find('tbody') - .find('tr:not(.footable-row-detail)') - .filter(':visible').length; - }; - - get.sorted = function(){ - if( vars.table.data('sorted') !== undefined ){ - return vars.table.data('sorted'); - } else { - return -1; - } - }; - - set.sorted = function(data){ - if( data.sorted >= 0 ) { - // vars.table.data('footable-sort').doSort(data.sorted, !data.descending); - - // Trying to execute the line above, but only sort icon on the - // <th> element gets set. The rows themselves do not get sorted. - // - // Best guess is some things happen after 'footable_initialized' event - // and sorting can not occur until after those fire. - // - // A hack to get around this is to wait an interval before executing - // the intended commands. Wrapped in an immediately executing - // function to ensure ft is the current value. - - (function(ft){ - setTimeout(function(){ - $(ft.table).data('footable-sort').doSort(data.sorted, !data.descending); - }, 150); - })(vars.ft); - } else { - vars.table.trigger('footable_setup_paging'); - } - }; - - get.total = function(){ - return vars.table - .find('tbody') - .find('tr:not(.footable-row-detail, .footable-filtered)').length; - }; - - var get_state = function(){ - return { - descending: get.descending(), - expanded: get.expanded(), - filter: get.filter(), - page: get.page(), - shown: get.shown(), - sorted: get.sorted(), - total: get.total() - }; - }; - - var set_state = function(data){ - set.filter(data); - set.page(data); - set.sorted(data); - set.expanded(data); - }; - - return { - get: function(ft){ - set.vars(ft); - return get_state(); - }, - set: function(ft, data){ - set.vars(ft); - return set_state(data); - } - }; - - })($); - - var is_enabled = function(ft){ - return ft.options.memory.enabled; - }; - - var update = function(ft, event) { - var index = ft.id, - data = state.get(ft); - - storage.set(index, data); - }; - - var load = function(ft){ - var index = ft.id, - data = storage.get(index); - - state.set(ft, data); - ft.memory_plugin_loaded = true; - }; - - function Memory() { - var p = this; - p.name = 'Footable Memory'; - p.init = function(ft) { - if (is_enabled(ft)) { - $(ft.table).bind({ - 'footable_initialized': function(){ - load(ft); - }, - 'footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed': function(e) { - if (ft.memory_plugin_loaded) { - update(ft, e); - } - } - }); - } - }; - } - - w.footable.plugins.register(Memory, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.paginate.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.paginate.js deleted file mode 100644 index 8f21c4534..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.paginate.js +++ /dev/null @@ -1,242 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.footable === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - paginate: true, - pageSize: 10, - pageNavigation: '.pagination', - firstText: '&laquo;', - previousText: '&lsaquo;', - nextText: '&rsaquo;', - lastText: '&raquo;', - limitNavigation: 0, - limitPreviousText: '...', - limitNextText: '...' - }; - - function pageInfo(ft) { - var $table = $(ft.table), data = $table.data(); - this.pageNavigation = data.pageNavigation || ft.options.pageNavigation; - this.pageSize = data.pageSize || ft.options.pageSize; - this.firstText = data.firstText || ft.options.firstText; - this.previousText = data.previousText || ft.options.previousText; - this.nextText = data.nextText || ft.options.nextText; - this.lastText = data.lastText || ft.options.lastText; - this.limitNavigation = parseInt(data.limitNavigation || ft.options.limitNavigation || defaults.limitNavigation, 10); - this.limitPreviousText = data.limitPreviousText || ft.options.limitPreviousText; - this.limitNextText = data.limitNextText || ft.options.limitNextText; - this.limit = this.limitNavigation > 0; - this.currentPage = data.currentPage || 0; - this.pages = []; - this.control = false; - } - - function Paginate() { - var p = this; - p.name = 'Footable Paginate'; - - p.init = function (ft) { - if (ft.options.paginate === true) { - if ($(ft.table).data('page') === false) return; - p.footable = ft; - $(ft.table) - .unbind('.paging') - .bind({ - 'footable_initialized.paging footable_row_removed.paging footable_redrawn.paging footable_sorted.paging footable_filtered.paging': function () { - p.setupPaging(); - } - }) - //save the filter object onto the table so we can access it later - .data('footable-paging', p); - } - }; - - p.setupPaging = function () { - var ft = p.footable, - $tbody = $(ft.table).find('> tbody'); - - ft.pageInfo = new pageInfo(ft); - - p.createPages(ft, $tbody); - p.createNavigation(ft, $tbody); - p.fillPage(ft, $tbody, ft.pageInfo.currentPage); - }; - - p.createPages = function (ft, tbody) { - var pages = 1; - var info = ft.pageInfo; - var pageCount = pages * info.pageSize; - var page = []; - var lastPage = []; - info.pages = []; - var rows = tbody.find('> tr:not(.footable-filtered,.footable-row-detail)'); - rows.each(function (i, row) { - page.push(row); - if (i === pageCount - 1) { - info.pages.push(page); - pages++; - pageCount = pages * info.pageSize; - page = []; - } else if (i >= rows.length - (rows.length % info.pageSize)) { - lastPage.push(row); - } - }); - if (lastPage.length > 0) info.pages.push(lastPage); - if (info.currentPage >= info.pages.length) info.currentPage = info.pages.length - 1; - if (info.currentPage < 0) info.currentPage = 0; - if (info.pages.length === 1) { - //we only have a single page - $(ft.table).addClass('no-paging'); - } else { - $(ft.table).removeClass('no-paging'); - } - }; - - p.createNavigation = function (ft, tbody) { - var $nav = $(ft.table).find(ft.pageInfo.pageNavigation); - //if we cannot find the navigation control within the table, then try find it outside - if ($nav.length === 0) { - $nav = $(ft.pageInfo.pageNavigation); - //if the navigation control is inside another table, then get out - if ($nav.parents('table:first').length > 0 && $nav.parents('table:first') !== $(ft.table)) return; - //if we found more than one navigation control, write error to console - if ($nav.length > 1 && ft.options.debug === true) console.error('More than one pagination control was found!'); - } - //if we still cannot find the control, then don't do anything - if ($nav.length === 0) return; - //if the nav is not a UL, then find or create a UL - if (!$nav.is('ul')) { - if ($nav.find('ul:first').length === 0) { - $nav.append('<ul />'); - } - $nav = $nav.find('ul'); - } - $nav.find('li').remove(); - var info = ft.pageInfo; - info.control = $nav; - if (info.pages.length > 0) { - $nav.append('<li class="footable-page-arrow"><a data-page="first" href="#first">' + ft.pageInfo.firstText + '</a>'); - $nav.append('<li class="footable-page-arrow"><a data-page="prev" href="#prev">' + ft.pageInfo.previousText + '</a></li>'); - if (info.limit){ - $nav.append('<li class="footable-page-arrow"><a data-page="limit-prev" href="#limit-prev">' + ft.pageInfo.limitPreviousText + '</a></li>'); - } - if (!info.limit){ - $.each(info.pages, function (i, page) { - if (page.length > 0) { - $nav.append('<li class="footable-page"><a data-page="' + i + '" href="#">' + (i + 1) + '</a></li>'); - } - }); - } - if (info.limit){ - $nav.append('<li class="footable-page-arrow"><a data-page="limit-next" href="#limit-next">' + ft.pageInfo.limitNextText + '</a></li>'); - p.createLimited($nav, info, 0); - } - $nav.append('<li class="footable-page-arrow"><a data-page="next" href="#next">' + ft.pageInfo.nextText + '</a></li>'); - $nav.append('<li class="footable-page-arrow"><a data-page="last" href="#last">' + ft.pageInfo.lastText + '</a></li>'); - } - $nav.off('click', 'a[data-page]').on('click', 'a[data-page]', function (e) { - e.preventDefault(); - var page = $(this).data('page'); - var newPage = info.currentPage; - if (page === 'first') { - newPage = 0; - } else if (page === 'prev') { - if (newPage > 0) newPage--; - } else if (page === 'next') { - if (newPage < info.pages.length - 1) newPage++; - } else if (page === 'last') { - newPage = info.pages.length - 1; - } else if (page === 'limit-prev') { - newPage = -1; - var first = $nav.find('.footable-page:first a').data('page'); - p.createLimited($nav, info, first - info.limitNavigation); - p.setPagingClasses($nav, info.currentPage, info.pages.length); - } else if (page === 'limit-next') { - newPage = -1; - var last = $nav.find('.footable-page:last a').data('page'); - p.createLimited($nav, info, last + 1); - p.setPagingClasses($nav, info.currentPage, info.pages.length); - } else { - newPage = page; - } - if (newPage >= 0){ - if (info.limit && info.currentPage != newPage){ - var start = newPage; - while (start % info.limitNavigation !== 0){ start -= 1; } - p.createLimited($nav, info, start); - } - p.paginate(ft, newPage); - } - }); - p.setPagingClasses($nav, info.currentPage, info.pages.length); - }; - - p.createLimited = function(nav, info, start){ - start = start || 0; - nav.find('li.footable-page').remove(); - var i, page, - $prev = nav.find('li.footable-page-arrow > a[data-page="limit-prev"]').parent(), - $next = nav.find('li.footable-page-arrow > a[data-page="limit-next"]').parent(); - for (i = info.pages.length - 1; i >=0 ; i--){ - page = info.pages[i]; - if (i >= start && i < start + info.limitNavigation && page.length > 0) { - $prev.after('<li class="footable-page"><a data-page="' + i + '" href="#">' + (i + 1) + '</a></li>'); - } - } - if (start === 0){ $prev.hide(); } - else { $prev.show(); } - if (start + info.limitNavigation >= info.pages.length){ $next.hide(); } - else { $next.show(); } - }; - - p.paginate = function (ft, newPage) { - var info = ft.pageInfo; - if (info.currentPage !== newPage) { - var $tbody = $(ft.table).find('> tbody'); - - //raise a pre-pagin event so that we can cancel the paging if needed - var event = ft.raise('footable_paging', { page: newPage, size: info.pageSize }); - if (event && event.result === false) return; - - p.fillPage(ft, $tbody, newPage); - info.control.find('li').removeClass('active disabled'); - p.setPagingClasses(info.control, info.currentPage, info.pages.length); - } - }; - - p.setPagingClasses = function (nav, currentPage, pageCount) { - nav.find('li.footable-page > a[data-page=' + currentPage + ']').parent().addClass('active'); - if (currentPage >= pageCount - 1) { - nav.find('li.footable-page-arrow > a[data-page="next"]').parent().addClass('disabled'); - nav.find('li.footable-page-arrow > a[data-page="last"]').parent().addClass('disabled'); - } - if (currentPage < 1) { - nav.find('li.footable-page-arrow > a[data-page="first"]').parent().addClass('disabled'); - nav.find('li.footable-page-arrow > a[data-page="prev"]').parent().addClass('disabled'); - } - }; - - p.fillPage = function (ft, tbody, pageNumber) { - ft.pageInfo.currentPage = pageNumber; - $(ft.table).data('currentPage', pageNumber); - tbody.find('> tr').hide(); - $(ft.pageInfo.pages[pageNumber]).each(function () { - p.showRow(this, ft); - }); - ft.raise('footable_page_filled'); - }; - - p.showRow = function (row, ft) { - var $row = $(row), $next = $row.next(), $table = $(ft.table); - if ($table.hasClass('breakpoint') && $row.hasClass('footable-detail-show') && $next.hasClass('footable-row-detail')) { - $row.add($next).show(); - ft.createOrUpdateDetailRow(row); - } - else $row.show(); - }; - } - - w.footable.plugins.register(Paginate, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.plugin.template.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.plugin.template.js deleted file mode 100644 index 381cc5494..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.plugin.template.js +++ /dev/null @@ -1,44 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.foobox === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - /* - Plugin options here, example: - - var defaults = { - myPlugin: { - enabled: true - } - }; - - This would allow you to access this option using ft.options.myPlugin.enabled - */ - }; - - function MyPlugin() { - var p = this; - p.name = 'Footable MyPlugin'; - p.init = function(ft) { - $(ft.table).bind({ - /* - Bind to relevant events here to modify/add functionality to Footable, example: - - $(ft.table).bind({ - 'footable_initialized': function(e){ - if (e.ft.options.myPlugin.enabled === true){ - alert('Hello World'); - } - } - }); - - This would listen for the 'footable_initialized' event and when called check if the plugin is enabled - and if it is alert 'Hello World' to the user. - */ - }); - }; - } - - w.footable.plugins.register(MyPlugin, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.sort.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.sort.js deleted file mode 100644 index ec3c04027..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.sort.js +++ /dev/null @@ -1,190 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.footable === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - sort: true, - sorters: { - alpha: function (a, b) { - if (typeof(a) === 'string') { a = a.toLowerCase(); } - if (typeof(b) === 'string') { b = b.toLowerCase(); } - if (a === b) return 0; - if (a < b) return -1; - return 1; - }, - numeric: function (a, b) { - return a - b; - } - }, - classes: { - sort: { - sortable: 'footable-sortable', - sorted: 'footable-sorted', - descending: 'footable-sorted-desc', - indicator: 'footable-sort-indicator' - } - }, - events: { - sort: { - sorting: 'footable_sorting', - sorted: 'footable_sorted' - } - } - }; - - function Sort() { - var p = this; - p.name = 'Footable Sortable'; - p.init = function (ft) { - p.footable = ft; - if (ft.options.sort === true) { - $(ft.table) - .unbind('.sorting') - .bind({ - 'footable_initialized.sorting': function (e) { - var $table = $(ft.table), - $tbody = $table.find('> tbody'), - cls = ft.options.classes.sort, - column, $th; - - if ($table.data('sort') === false) return; - - $table.find('> thead > tr:last-child > th, > thead > tr:last-child > td').each(function (ec) { - var $th = $(this), column = ft.columns[$th.index()]; - if (column.sort.ignore !== true && !$th.hasClass(cls.sortable)) { - $th.addClass(cls.sortable); - $('<span />').addClass(cls.indicator).appendTo($th); - } - }); - - $table.find('> thead > tr:last-child > th.' + cls.sortable + ', > thead > tr:last-child > td.' + cls.sortable).unbind('click.footable').bind('click.footable', function (ec) { - ec.preventDefault(); - $th = $(this); - var ascending = !$th.hasClass(cls.sorted); - p.doSort($th.index(), ascending); - return false; - }); - - var didSomeSorting = false; - for (var c in ft.columns) { - column = ft.columns[c]; - if (column.sort.initial) { - var ascending = (column.sort.initial !== 'descending'); - p.doSort(column.index, ascending); - break; - } - } - if (didSomeSorting) { - ft.bindToggleSelectors(); - } - }, - 'footable_redrawn.sorting': function(e) { - var $table = $(ft.table), - cls = ft.options.classes.sort; - if ($table.data('sorted') >= 0) { - $table.find('> thead > tr:last-child > th').each(function(i){ - var $th = $(this); - if ($th.hasClass(cls.sorted) || $th.hasClass(cls.descending)) { - p.doSort(i); - return; - } - }); - } - }, - 'footable_column_data.sorting': function (e) { - var $th = $(e.column.th); - e.column.data.sort = e.column.data.sort || {}; - e.column.data.sort.initial = $th.data('sort-initial') || false; - e.column.data.sort.ignore = $th.data('sort-ignore') || false; - e.column.data.sort.selector = $th.data('sort-selector') || null; - - var match = $th.data('sort-match') || 0; - if (match >= e.column.data.matches.length) match = 0; - e.column.data.sort.match = e.column.data.matches[match]; - } - }) - //save the sort object onto the table so we can access it later - .data('footable-sort', p); - } - }; - - p.doSort = function(columnIndex, ascending) { - var ft = p.footable; - if ($(ft.table).data('sort') === false) return; - - var $table = $(ft.table), - $tbody = $table.find('> tbody'), - column = ft.columns[columnIndex], - $th = $table.find('> thead > tr:last-child > th:eq(' + columnIndex + ')'), - cls = ft.options.classes.sort, - evt = ft.options.events.sort; - - ascending = (ascending === undefined) ? $th.hasClass(cls.sorted) : - (ascending === 'toggle') ? !$th.hasClass(cls.sorted) : ascending; - - if (column.sort.ignore === true) return true; - - //raise a pre-sorting event so that we can cancel the sorting if needed - var event = ft.raise(evt.sorting, { column: column, direction: ascending ? 'ASC' : 'DESC' }); - if (event && event.result === false) return; - - $table.data('sorted', column.index); - - $table.find('> thead > tr:last-child > th, > thead > tr:last-child > td').not($th).removeClass(cls.sorted + ' ' + cls.descending); - - if (ascending === undefined) { - ascending = $th.hasClass(cls.sorted); - } - - if (ascending) { - $th.removeClass(cls.descending).addClass(cls.sorted); - } else { - $th.removeClass(cls.sorted).addClass(cls.descending); - } - - p.sort(ft, $tbody, column, ascending); - - ft.bindToggleSelectors(); - ft.raise(evt.sorted, { column: column, direction: ascending ? 'ASC' : 'DESC' }); - }; - - p.rows = function (ft, tbody, column) { - var rows = []; - tbody.find('> tr').each(function () { - var $row = $(this), $next = null; - if ($row.hasClass(ft.options.classes.detail)) return true; - if ($row.next().hasClass(ft.options.classes.detail)) { - $next = $row.next().get(0); - } - var row = { 'row': $row, 'detail': $next }; - if (column !== undefined) { - row.value = ft.parse(this.cells[column.sort.match], column); - } - rows.push(row); - return true; - }).detach(); - return rows; - }; - - p.sort = function (ft, tbody, column, ascending) { - var rows = p.rows(ft, tbody, column); - var sorter = ft.options.sorters[column.type] || ft.options.sorters.alpha; - rows.sort(function (a, b) { - if (ascending) { - return sorter(a.value, b.value); - } else { - return sorter(b.value, a.value); - } - }); - for (var j = 0; j < rows.length; j++) { - tbody.append(rows[j].row); - if (rows[j].detail !== null) { - tbody.append(rows[j].detail); - } - } - }; - } - - w.footable.plugins.register(Sort, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.striping.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.striping.js deleted file mode 100644 index 17c505b00..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/footable.striping.js +++ /dev/null @@ -1,57 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.foobox === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - striping: { - enabled: true - }, - classes: { - striping: { - odd: 'footable-odd', - even: 'footable-even' - } - } - }; - - function Striping() { - var p = this; - p.name = 'Footable Striping'; - p.init = function (ft) { - p.footable = ft; - $(ft.table) - .unbind('striping') - .bind({ - 'footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping': function () { - - if ($(this).data('striping') === false) return; - - p.setupStriping(ft); - } - }); - }; - - p.setupStriping = function (ft) { - - var rowIndex = 0; - $(ft.table).find('> tbody > tr:not(.footable-row-detail)').each(function () { - - var $row = $(this); - - //Clean off old classes - $row.removeClass(ft.options.classes.striping.even).removeClass(ft.options.classes.striping.odd); - - if (rowIndex % 2 === 0) { - $row.addClass(ft.options.classes.striping.even); - } else { - $row.addClass(ft.options.classes.striping.odd); - } - - rowIndex++; - }); - }; - } - - w.footable.plugins.register(Striping, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/footable/js/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form-password.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form-password.js deleted file mode 100644 index 80e9d3d53..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form-password.js +++ /dev/null @@ -1,50 +0,0 @@ -/*! UIkit 2.0.0 | https://www.getuikit.com | (c) 2013 YOOtheme | MIT License */ - -(function($, UI){ - - var FormPassword = function(element, options) { - - var $this = this, $element = $(element); - - if($element.data("formPassword")) return; - - this.options = $.extend({}, FormPassword.defaults, options); - - this.element = $element.on("click", function(e) { - - e.preventDefault(); - - if($this.input.length) { - var type = $this.input.attr("type"); - $this.input.attr("type", type=="text" ? "password":"text"); - $this.element.text($this.options[type=="text" ? "lblShow":"lblHide"]); - } - }); - - $this.input = this.element.next("input").length ? this.element.next("input") : this.element.prev("input"); - $this.element.text(this.options[$this.input.is("[type='password']") ? "lblShow":"lblHide"]); - - this.element.data("formPassword", this); - }; - - FormPassword.defaults = { - "lblShow": "Show", - "lblHide": "Hide" - }; - - UI["formPassword"] = FormPassword; - - // init code - $(document).on("click.formpassword.uikit", "[data-uk-form-password]", function(e) { - - var ele = $(this); - if (!ele.data("formPassword")) { - - e.preventDefault(); - - var obj = new FormPassword(ele, UI.Utils.options(ele.attr("data-uk-form-password"))); - ele.trigger("click"); - } - }); - -})(jQuery, jQuery.UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form-password.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form-password.min.js deleted file mode 100644 index 0d25f7e62..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form-password.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! UIkit 2.0.0 | https://www.getuikit.com | (c) 2013 YOOtheme | MIT License */ - -(function(t,e){var n=function(e,i){var s=this,o=t(e);o.data("formPassword")||(this.options=t.extend({},n.defaults,i),this.element=o.on("click",function(t){if(t.preventDefault(),s.input.length){var e=s.input.attr("type");s.input.attr("type","text"==e?"password":"text"),s.element.text(s.options["text"==e?"lblShow":"lblHide"])}}),s.input=this.element.next("input").length?this.element.next("input"):this.element.prev("input"),s.element.text(this.options[s.input.is("[type='password']")?"lblShow":"lblHide"]),this.element.data("formPassword",this))};n.defaults={lblShow:"Show",lblHide:"Hide"},e.formPassword=n,t(document).on("click.formpassword.uikit","[data-uk-form-password]",function(i){var s=t(this);s.data("formPassword")||(i.preventDefault(),new n(s,e.Utils.options(s.attr("data-uk-form-password"))),s.trigger("click"))})})(jQuery,jQuery.UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form.js deleted file mode 100644 index fd040857e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/form.js +++ /dev/null @@ -1,11 +0,0 @@ -jQuery(document).ready(function() { - jQuery('#tour_favorite').click(function() { - if (jQuery(this).attr('rel') == 'no') { - jQuery('#tour_favorite').removeClass('favorite_inactive') - .addClass('favorite_active').attr('rel', 'yes'); - } else { - jQuery('#tour_favorite').removeClass('favorite_active') - .addClass('favorite_inactive').attr('rel', 'no'); - }; - }); -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/google.jsapi.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/google.jsapi.js deleted file mode 100644 index f1b880dfb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/google.jsapi.js +++ /dev/null @@ -1,39 +0,0 @@ -if(!window['googleLT_']){window['googleLT_']=(new Date()).getTime();}if (!window['google']) { -window['google'] = {}; -} -if (!window['google']['loader']) { -window['google']['loader'] = {}; -google.loader.ServiceBase = 'https://www.google.com/uds'; -google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax'; -google.loader.ApiKey = 'notsupplied'; -google.loader.KeyVerified = true; -google.loader.LoadFailure = false; -google.loader.Secure = true; -google.loader.GoogleLocale = 'www.google.com'; -google.loader.ClientLocation = null; -google.loader.AdditionalParams = ''; -(function() {var d=encodeURIComponent,g=window,h=document;function l(a,b){return a.load=b}var m="push",n="replace",q="charAt",r="indexOf",t="ServiceBase",u="name",v="getTime",w="length",x="prototype",y="setTimeout",z="loader",A="substring",B="join",C="toLowerCase";function D(a){return a in E?E[a]:E[a]=-1!=navigator.userAgent[C]()[r](a)}var E={};function F(a,b){var c=function(){};c.prototype=b[x];a.U=b[x];a.prototype=new c} -function G(a,b,c){var e=Array[x].slice.call(arguments,2)||[];return function(){var c=e.concat(Array[x].slice.call(arguments));return a.apply(b,c)}}function H(a){a=Error(a);a.toString=function(){return this.message};return a}function I(a,b){for(var c=a.split(/\./),e=g,f=0;f<c[w]-1;f++)e[c[f]]||(e[c[f]]={}),e=e[c[f]];e[c[c[w]-1]]=b}function J(a,b,c){a[b]=c}if(!K)var K=I;if(!L)var L=J;google[z].v={};K("google.loader.callbacks",google[z].v);var M={},N={};google[z].eval={};K("google.loader.eval",google[z].eval); -l(google,function(a,b,c){function e(a){var b=a.split(".");if(2<b[w])throw H("Module: '"+a+"' not found!");"undefined"!=typeof b[1]&&(f=b[0],c.packages=c.packages||[],c.packages[m](b[1]))}var f=a;c=c||{};if(a instanceof Array||a&&"object"==typeof a&&"function"==typeof a[B]&&"function"==typeof a.reverse)for(var k=0;k<a[w];k++)e(a[k]);else e(a);if(a=M[":"+f]){c&&!c.language&&c.locale&&(c.language=c.locale);c&&"string"==typeof c.callback&&(k=c.callback,k.match(/^[[\]A-Za-z0-9._]+$/)&&(k=g.eval(k),c.callback= -k));if((k=c&&null!=c.callback)&&!a.s(b))throw H("Module: '"+f+"' must be loaded before DOM onLoad!");k?a.m(b,c)?g[y](c.callback,0):a.load(b,c):a.m(b,c)||a.load(b,c)}else throw H("Module: '"+f+"' not found!");});K("google.load",google.load); -google.T=function(a,b){b?(0==O[w]&&(P(g,"load",Q),!D("msie")&&!D("safari")&&!D("konqueror")&&D("mozilla")||g.opera?g.addEventListener("DOMContentLoaded",Q,!1):D("msie")?h.write("<script defer onreadystatechange='google.loader.domReady()' src=//:>\x3c/script>"):(D("safari")||D("konqueror"))&&g[y](S,10)),O[m](a)):P(g,"load",a)};K("google.setOnLoadCallback",google.T); -function P(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var e=a["on"+b];a["on"+b]=null!=e?aa([c,e]):c}}function aa(a){return function(){for(var b=0;b<a[w];b++)a[b]()}}var O=[];google[z].P=function(){var a=g.event.srcElement;"complete"==a.readyState&&(a.onreadystatechange=null,a.parentNode.removeChild(a),Q())};K("google.loader.domReady",google[z].P);var ba={loaded:!0,complete:!0};function S(){ba[h.readyState]?Q():0<O[w]&&g[y](S,10)} -function Q(){for(var a=0;a<O[w];a++)O[a]();O.length=0}google[z].d=function(a,b,c){if(c){var e;"script"==a?(e=h.createElement("script"),e.type="text/javascript",e.src=b):"css"==a&&(e=h.createElement("link"),e.type="text/css",e.href=b,e.rel="stylesheet");(a=h.getElementsByTagName("head")[0])||(a=h.body.parentNode.appendChild(h.createElement("head")));a.appendChild(e)}else"script"==a?h.write('<script src="'+b+'" type="text/javascript">\x3c/script>'):"css"==a&&h.write('<link href="'+b+'" type="text/css" rel="stylesheet"></link>')}; -K("google.loader.writeLoadTag",google[z].d);google[z].Q=function(a){N=a};K("google.loader.rfm",google[z].Q);google[z].S=function(a){for(var b in a)"string"==typeof b&&b&&":"==b[q](0)&&!M[b]&&(M[b]=new T(b[A](1),a[b]))};K("google.loader.rpl",google[z].S);google[z].R=function(a){if((a=a.specs)&&a[w])for(var b=0;b<a[w];++b){var c=a[b];"string"==typeof c?M[":"+c]=new U(c):(c=new V(c[u],c.baseSpec,c.customSpecs),M[":"+c[u]]=c)}};K("google.loader.rm",google[z].R);google[z].loaded=function(a){M[":"+a.module].l(a)}; -K("google.loader.loaded",google[z].loaded);google[z].O=function(){return"qid="+((new Date)[v]().toString(16)+Math.floor(1E7*Math.random()).toString(16))};K("google.loader.createGuidArg_",google[z].O);I("google_exportSymbol",I);I("google_exportProperty",J);google[z].a={};K("google.loader.themes",google[z].a);google[z].a.I="//www.google.com/cse/style/look/bubblegum.css";L(google[z].a,"BUBBLEGUM",google[z].a.I);google[z].a.K="//www.google.com/cse/style/look/greensky.css";L(google[z].a,"GREENSKY",google[z].a.K); -google[z].a.J="//www.google.com/cse/style/look/espresso.css";L(google[z].a,"ESPRESSO",google[z].a.J);google[z].a.M="//www.google.com/cse/style/look/shiny.css";L(google[z].a,"SHINY",google[z].a.M);google[z].a.L="//www.google.com/cse/style/look/minimalist.css";L(google[z].a,"MINIMALIST",google[z].a.L);google[z].a.N="//www.google.com/cse/style/look/v2/default.css";L(google[z].a,"V2_DEFAULT",google[z].a.N);function U(a){this.b=a;this.o=[];this.n={};this.e={};this.f={};this.j=!0;this.c=-1} -U[x].g=function(a,b){var c="";void 0!=b&&(void 0!=b.language&&(c+="&hl="+d(b.language)),void 0!=b.nocss&&(c+="&output="+d("nocss="+b.nocss)),void 0!=b.nooldnames&&(c+="&nooldnames="+d(b.nooldnames)),void 0!=b.packages&&(c+="&packages="+d(b.packages)),null!=b.callback&&(c+="&async=2"),void 0!=b.style&&(c+="&style="+d(b.style)),void 0!=b.noexp&&(c+="&noexp=true"),void 0!=b.other_params&&(c+="&"+b.other_params));if(!this.j){google[this.b]&&google[this.b].JSHash&&(c+="&sig="+d(google[this.b].JSHash)); -var e=[],f;for(f in this.n)":"==f[q](0)&&e[m](f[A](1));for(f in this.e)":"==f[q](0)&&this.e[f]&&e[m](f[A](1));c+="&have="+d(e[B](","))}return google[z][t]+"/?file="+this.b+"&v="+a+google[z].AdditionalParams+c};U[x].t=function(a){var b=null;a&&(b=a.packages);var c=null;if(b)if("string"==typeof b)c=[a.packages];else if(b[w])for(c=[],a=0;a<b[w];a++)"string"==typeof b[a]&&c[m](b[a][n](/^\s*|\s*$/,"")[C]());c||(c=["default"]);b=[];for(a=0;a<c[w];a++)this.n[":"+c[a]]||b[m](c[a]);return b}; -l(U[x],function(a,b){var c=this.t(b),e=b&&null!=b.callback;if(e)var f=new W(b.callback);for(var k=[],p=c[w]-1;0<=p;p--){var s=c[p];e&&f.B(s);if(this.e[":"+s])c.splice(p,1),e&&this.f[":"+s][m](f);else k[m](s)}if(c[w]){b&&b.packages&&(b.packages=c.sort()[B](","));for(p=0;p<k[w];p++)s=k[p],this.f[":"+s]=[],e&&this.f[":"+s][m](f);if(b||null==N[":"+this.b]||null==N[":"+this.b].versions[":"+a]||google[z].AdditionalParams||!this.j)b&&b.autoloaded||google[z].d("script",this.g(a,b),e);else{c=N[":"+this.b]; -google[this.b]=google[this.b]||{};for(var R in c.properties)R&&":"==R[q](0)&&(google[this.b][R[A](1)]=c.properties[R]);google[z].d("script",google[z][t]+c.path+c.js,e);c.css&&google[z].d("css",google[z][t]+c.path+c.css,e)}this.j&&(this.j=!1,this.c=(new Date)[v](),1!=this.c%100&&(this.c=-1));for(p=0;p<k[w];p++)s=k[p],this.e[":"+s]=!0}}); -U[x].l=function(a){-1!=this.c&&(X("al_"+this.b,"jl."+((new Date)[v]()-this.c),!0),this.c=-1);this.o=this.o.concat(a.components);google[z][this.b]||(google[z][this.b]={});google[z][this.b].packages=this.o.slice(0);for(var b=0;b<a.components[w];b++){this.n[":"+a.components[b]]=!0;this.e[":"+a.components[b]]=!1;var c=this.f[":"+a.components[b]];if(c){for(var e=0;e<c[w];e++)c[e].C(a.components[b]);delete this.f[":"+a.components[b]]}}};U[x].m=function(a,b){return 0==this.t(b)[w]};U[x].s=function(){return!0}; -function W(a){this.F=a;this.q={};this.r=0}W[x].B=function(a){this.r++;this.q[":"+a]=!0};W[x].C=function(a){this.q[":"+a]&&(this.q[":"+a]=!1,this.r--,0==this.r&&g[y](this.F,0))};function V(a,b,c){this.name=a;this.D=b;this.p=c;this.u=this.h=!1;this.k=[];google[z].v[this[u]]=G(this.l,this)}F(V,U);l(V[x],function(a,b){var c=b&&null!=b.callback;c?(this.k[m](b.callback),b.callback="google.loader.callbacks."+this[u]):this.h=!0;b&&b.autoloaded||google[z].d("script",this.g(a,b),c)});V[x].m=function(a,b){return b&&null!=b.callback?this.u:this.h};V[x].l=function(){this.u=!0;for(var a=0;a<this.k[w];a++)g[y](this.k[a],0);this.k=[]}; -var Y=function(a,b){return a.string?d(a.string)+"="+d(b):a.regex?b[n](/(^.*$)/,a.regex):""};V[x].g=function(a,b){return this.G(this.w(a),a,b)}; -V[x].G=function(a,b,c){var e="";a.key&&(e+="&"+Y(a.key,google[z].ApiKey));a.version&&(e+="&"+Y(a.version,b));b=google[z].Secure&&a.ssl?a.ssl:a.uri;if(null!=c)for(var f in c)a.params[f]?e+="&"+Y(a.params[f],c[f]):"other_params"==f?e+="&"+c[f]:"base_domain"==f&&(b="https://"+c[f]+a.uri[A](a.uri[r]("/",7)));google[this[u]]={};-1==b[r]("?")&&e&&(e="?"+e[A](1));return b+e};V[x].s=function(a){return this.w(a).deferred};V[x].w=function(a){if(this.p)for(var b=0;b<this.p[w];++b){var c=this.p[b];if(RegExp(c.pattern).test(a))return c}return this.D};function T(a,b){this.b=a;this.i=b;this.h=!1}F(T,U);l(T[x],function(a,b){this.h=!0;google[z].d("script",this.g(a,b),!1)});T[x].m=function(){return this.h};T[x].l=function(){};T[x].g=function(a,b){if(!this.i.versions[":"+a]){if(this.i.aliases){var c=this.i.aliases[":"+a];c&&(a=c)}if(!this.i.versions[":"+a])throw H("Module: '"+this.b+"' with version '"+a+"' not found!");}return google[z].GoogleApisBase+"/libs/"+this.b+"/"+a+"/"+this.i.versions[":"+a][b&&b.uncompressed?"uncompressed":"compressed"]}; -T[x].s=function(){return!1};var ca=!1,Z=[],da=(new Date)[v](),fa=function(){ca||(P(g,"unload",ea),ca=!0)},ga=function(a,b){fa();if(!(google[z].Secure||google[z].Options&&!1!==google[z].Options.csi)){for(var c=0;c<a[w];c++)a[c]=d(a[c][C]()[n](/[^a-z0-9_.]+/g,"_"));for(c=0;c<b[w];c++)b[c]=d(b[c][C]()[n](/[^a-z0-9_.]+/g,"_"));g[y](G($,null,"//gg.google.com/csi?s=uds&v=2&action="+a[B](",")+"&it="+b[B](",")),1E4)}},X=function(a,b,c){c?ga([a],[b]):(fa(),Z[m]("r"+Z[w]+"="+d(a+(b?"|"+b:""))),g[y](ea,5<Z[w]?0:15E3))},ea=function(){if(Z[w]){var a= -google[z][t];0==a[r]("http:")&&(a=a[n](/^http:/,"https:"));$(a+"/stats?"+Z[B]("&")+"&nc="+(new Date)[v]()+"_"+((new Date)[v]()-da));Z.length=0}},$=function(a){var b=new Image,c=$.H++;$.A[c]=b;b.onload=b.onerror=function(){delete $.A[c]};b.src=a;b=null};$.A={};$.H=0;I("google.loader.recordCsiStat",ga);I("google.loader.recordStat",X);I("google.loader.createImageForLogging",$); - -}) ();google.loader.rm({"specs":["feeds","spreadsheets","gdata","visualization",{"name":"sharing","baseSpec":{"uri":"https://www.google.com/s2/sharing/js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":false,"params":{"language":{"string":"hl"}}}},"search","orkut","ads","elements",{"name":"books","baseSpec":{"uri":"https://books.google.com/books/api.js","ssl":"https://encrypted.google.com/books/api.js","key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"}}}},{"name":"friendconnect","baseSpec":{"uri":"https://www.google.com/friendconnect/script/friendconnect.js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":false,"params":{}}},"identitytoolkit","ima",{"name":"maps","baseSpec":{"uri":"https://maps.google.com/maps?file\u003dgoogleapi","ssl":"https://maps-api-ssl.google.com/maps?file\u003dgoogleapi","key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"regex":"callback\u003d$1\u0026async\u003d2"},"language":{"string":"hl"}}},"customSpecs":[{"uri":"https://maps.googleapis.com/maps/api/js","ssl":"https://maps.googleapis.com/maps/api/js","version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"}},"pattern":"^(3|3..*)$"}]},"payments","wave","annotations_v2","earth","language",{"name":"annotations","baseSpec":{"uri":"https://www.google.com/reviews/scripts/annotations_bootstrap.js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"},"country":{"string":"gl"}}}},"picker"]}); -google.loader.rfm({":search":{"versions":{":1":"1",":1.0":"1"},"path":"/api/search/1.0/a075bd7791aa5f99550ea5c9db01a0d5/","js":"default+en.I.js","css":"default+en.css","properties":{":JSHash":"a075bd7791aa5f99550ea5c9db01a0d5",":NoOldNames":false,":Version":"1.0"}},":language":{"versions":{":1":"1",":1.0":"1"},"path":"/api/language/1.0/f66252f80431973fa38526a329b0a47b/","js":"default+en.I.js","properties":{":JSHash":"f66252f80431973fa38526a329b0a47b",":Version":"1.0"}},":feeds":{"versions":{":1":"1",":1.0":"1"},"path":"/api/feeds/1.0/e658fb253c8b588196cf534cc43ab319/","js":"default+en.I.js","css":"default+en.css","properties":{":JSHash":"e658fb253c8b588196cf534cc43ab319",":Version":"1.0"}},":spreadsheets":{"versions":{":0":"1",":0.4":"1"},"path":"/api/spreadsheets/0.4/87ff7219e9f8a8164006cbf28d5e911a/","js":"default.I.js","properties":{":JSHash":"87ff7219e9f8a8164006cbf28d5e911a",":Version":"0.4"}},":ima":{"versions":{":3":"1",":3.0":"1"},"path":"/api/ima/3.0/28a914332232c9a8ac0ae8da68b1006e/","js":"default.I.js","properties":{":JSHash":"28a914332232c9a8ac0ae8da68b1006e",":Version":"3.0"}},":wave":{"versions":{":1":"1",":1.0":"1"},"path":"/api/wave/1.0/3b6f7573ff78da6602dda5e09c9025bf/","js":"default.I.js","properties":{":JSHash":"3b6f7573ff78da6602dda5e09c9025bf",":Version":"1.0"}},":annotations":{"versions":{":1":"1",":1.0":"1"},"path":"/api/annotations/1.0/bacce7b6155a1bbadda3c05d65391b22/","js":"default+en.I.js","properties":{":JSHash":"bacce7b6155a1bbadda3c05d65391b22",":Version":"1.0"}},":earth":{"versions":{":1":"1",":1.0":"1"},"path":"/api/earth/1.0/109c7b2bae7fe6cc34ea875176165d81/","js":"default.I.js","properties":{":JSHash":"109c7b2bae7fe6cc34ea875176165d81",":Version":"1.0"}},":picker":{"versions":{":1":"1",":1.0":"1"},"path":"/api/picker/1.0/1c635e91b9d0c082c660a42091913907/","js":"default.I.js","css":"default.css","properties":{":JSHash":"1c635e91b9d0c082c660a42091913907",":Version":"1.0"}}}); -google.loader.rpl({":scriptaculous":{"versions":{":1.8.3":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"},":1.9.0":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"},":1.8.2":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"},":1.8.1":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"}},"aliases":{":1.8":"1.8.3",":1":"1.9.0",":1.9":"1.9.0"}},":yui":{"versions":{":2.6.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.9.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.7.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.8.0r4":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.8.2r1":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.8.1":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":3.3.0":{"uncompressed":"build/yui/yui.js","compressed":"build/yui/yui-min.js"}},"aliases":{":3":"3.3.0",":2":"2.9.0",":2.7":"2.7.0",":2.8.2":"2.8.2r1",":2.6":"2.6.0",":2.9":"2.9.0",":2.8":"2.8.2r1",":2.8.0":"2.8.0r4",":3.3":"3.3.0"}},":swfobject":{"versions":{":2.1":{"uncompressed":"swfobject_src.js","compressed":"swfobject.js"},":2.2":{"uncompressed":"swfobject_src.js","compressed":"swfobject.js"}},"aliases":{":2":"2.2"}},":ext-core":{"versions":{":3.1.0":{"uncompressed":"ext-core-debug.js","compressed":"ext-core.js"},":3.0.0":{"uncompressed":"ext-core-debug.js","compressed":"ext-core.js"}},"aliases":{":3":"3.1.0",":3.0":"3.0.0",":3.1":"3.1.0"}},":webfont":{"versions":{":1.0.28":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.27":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.29":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.12":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.13":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.14":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.15":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.10":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.11":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.2":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.1":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.0":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.6":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.19":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.5":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.18":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.4":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.17":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.3":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.16":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.9":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.21":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.22":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.25":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.26":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.23":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"},":1.0.24":{"uncompressed":"webfont_debug.js","compressed":"webfont.js"}},"aliases":{":1":"1.0.29",":1.0":"1.0.29"}},":mootools":{"versions":{":1.3.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.1.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.3.0":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.3.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.1.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.3":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.4":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.5":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.4.0":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.4.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.4.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"}},"aliases":{":1":"1.1.2",":1.11":"1.1.1",":1.4":"1.4.2",":1.3":"1.3.2",":1.2":"1.2.5",":1.1":"1.1.2"}},":jqueryui":{"versions":{":1.8.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.1":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.15":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.14":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.13":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.12":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.11":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.10":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.17":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.16":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.6.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.9":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.7":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.8":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.5":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.3":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.6":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.1":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.8.4":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.5.3":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.5.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"}},"aliases":{":1.8":"1.8.17",":1.7":"1.7.3",":1.6":"1.6.0",":1":"1.8.17",":1.5":"1.5.3",":1.8.3":"1.8.4"}},":chrome-frame":{"versions":{":1.0.2":{"uncompressed":"CFInstall.js","compressed":"CFInstall.min.js"},":1.0.1":{"uncompressed":"CFInstall.js","compressed":"CFInstall.min.js"},":1.0.0":{"uncompressed":"CFInstall.js","compressed":"CFInstall.min.js"}},"aliases":{":1":"1.0.2",":1.0":"1.0.2"}},":prototype":{"versions":{":1.7.0.0":{"uncompressed":"prototype.js","compressed":"prototype.js"},":1.6.0.2":{"uncompressed":"prototype.js","compressed":"prototype.js"},":1.6.1.0":{"uncompressed":"prototype.js","compressed":"prototype.js"},":1.6.0.3":{"uncompressed":"prototype.js","compressed":"prototype.js"}},"aliases":{":1.7":"1.7.0.0",":1.6.1":"1.6.1.0",":1":"1.7.0.0",":1.6":"1.6.1.0",":1.7.0":"1.7.0.0",":1.6.0":"1.6.0.3"}},":jquery":{"versions":{":1.6.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.4":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.6.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.2.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.7.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.7.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.2.6":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.4":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.5.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.5.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.5.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.4.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"}},"aliases":{":1.7":"1.7.1",":1.6":"1.6.4",":1":"1.7.1",":1.5":"1.5.2",":1.4":"1.4.4",":1.3":"1.3.2",":1.2":"1.2.6"}},":dojo":{"versions":{":1.3.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.3.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.6.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.1.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.3.2":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.6.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.2.3":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.7.2":{"uncompressed":"dojo/dojo.js.uncompressed.js","compressed":"dojo/dojo.js"},":1.7.0":{"uncompressed":"dojo/dojo.js.uncompressed.js","compressed":"dojo/dojo.js"},":1.7.1":{"uncompressed":"dojo/dojo.js.uncompressed.js","compressed":"dojo/dojo.js"},":1.4.3":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.5.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.5.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.2.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.4.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.4.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"}},"aliases":{":1.7":"1.7.2",":1":"1.6.1",":1.6":"1.6.1",":1.5":"1.5.1",":1.4":"1.4.3",":1.3":"1.3.2",":1.2":"1.2.3",":1.1":"1.1.1"}}}); -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/grid.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/grid.png deleted file mode 100644 index 57a179d4c..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/grid.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/iframeheight.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/iframeheight.min.js deleted file mode 100644 index 63fbe84d8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/iframeheight.min.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - Jquery Iframe Auto Height Plugin - Version 1.2.5 (09.10.2013) - - Author : Ilker Guller (https://ilkerguller.com) - - Description: This plugin can get contents of iframe and set height of iframe automatically. Also it has cross-domain fix (*). - Details: https://github.com/Sly777/Iframe-Height-Jquery-Plugin - */ - -(function($){var uuid=0;var iframeOptions={resizeMaxTry:4,resizeWaitTime:50,minimumHeight:200,defaultHeight:3000,heightOffset:0,exceptPages:"",debugMode:false,visibilitybeforeload:false,blockCrossDomain:false,externalHeightName:"bodyHeight",onMessageFunctionName:"getHeight",domainName:"*",watcher:false,watcherTime:400};$.iframeHeight=function(el,options){var base=this;$.iframeHeight.resizeTimeout=null;$.iframeHeight.resizeCount=0;base.$el=$(el);base.el=el;base.$el.before("<div id='iframeHeight-Container-"+uuid+"' style='padding: 0; margin: 0; border: none; background-color: transparent;'></div>");base.$el.appendTo("#iframeHeight-Container-"+uuid);base.$container=$("#iframeHeight-Container-"+uuid);base.$el.data("iframeHeight",base);base.watcher=null;base.debug={FirstTime:true,Init:function(){if(!('console'in window))console={};'log info warn error dir clear'.replace(/\w+/g,function(f){if(!(f in console))console[f]=console.log||new Function})},Log:function(message){if(this.FirstTime&&this.FirstTime===true){this.Init();this.FirstTime=false}if(base.options.debugMode&&base.options.debugMode===true&&console&&(message!==null||message!=="")){console["log"]("Iframe Plugin : "+message)}},GetBrowserInfo:(function(pub){var matched,browserObj;var uaMatch=function(ua){ua=ua.toLowerCase();if(/*@cc_on/*@if(@_jscript_version<=5.6)1@else@*/0/*@end@*/){ua="msie 6.0"}var match=/(chrome)[ \/]([\w.]+)/.exec(ua)||/(webkit)[ \/]([\w.]+)/.exec(ua)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua)||/(msie) ([\w.]+)/.exec(ua)||ua.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)||[];return{browserObj:match[1]||"",version:match[2]||"0"}};matched=uaMatch(navigator.userAgent);browserObj={chrome:false,safari:false,mozilla:false,msie:false,webkit:false};if(matched.browserObj){browserObj[matched.browserObj]=true;browserObj.version=matched.version}if(browserObj.chrome){browserObj.webkit=true}else if(browserObj.webkit){browserObj.safari=true}pub=browserObj;return pub}(this.GetBrowserInfo||{}))};var isThisCDI=function(){try{var contentHtml;if(base.debug.GetBrowserInfo.msie&&base.debug.GetBrowserInfo.version=="7.0"){contentHtml=base.$el.get(0).contentWindow.location.href}else{contentHtml=base.$el.get(0).contentDocument.location.href}base.debug.Log("This page is non-Cross Domain - "+contentHtml);return false}catch(err){base.debug.Log("This page is Cross Domain");return true}};base.resetIframe=function(){if(base.options.visibilitybeforeload&&!(base.debug.GetBrowserInfo.msie&&base.debug.GetBrowserInfo.version=="7.0"))base.$el.css("visibility","hidden");base.debug.Log("Old Height is "+base.$el.height()+"px");base.$el.css("height","").removeAttr("height");base.debug.Log("Reset iframe");base.debug.Log("Height is "+base.$el.height()+"px after reset")};base.resizeFromOutside=function(event){if(base.options.blockCrossDomain){base.debug.Log("Blocked cross domain fix");return false}if(typeof event==="undefined")return false;if(typeof event.data=="string"){if(event.data=="reset"){base.$el.css("height","").removeAttr("height")}else{if(!/^ifh*/.test(event.data))return false;if(typeof parseInt(event.data.substring(3))!="number")return false;var frameHeightPx=parseInt(event.data.substring(3))+parseInt(base.options.heightOffset);base.resetIframe();base.setIframeHeight(frameHeightPx)}}else{return false}return true};base.checkMessageEvent=function(){if(base.options.blockCrossDomain||(base.debug.GetBrowserInfo.msie&&base.debug.GetBrowserInfo.version=="7.0")){base.debug.Log("Blocked cross domain fix");return false}base.resetIframe();if(base.options.visibilitybeforeload&&!(base.debug.GetBrowserInfo.msie&&base.debug.GetBrowserInfo.version=="7.0"))base.$el.css("visibility","visible");if(window.addEventListener){window.addEventListener('message',base.resizeFromOutside,false)}else if(window.attachEvent){window.attachEvent('onmessage',base.resizeFromOutside)}if(!base.$el.id){base.$el.id="iframe-id-"+(++uuid)}var frame=document.getElementById(base.$el.attr("id"));var message=base.options.onMessageFunctionName;if(frame.contentWindow.postMessage){frame.contentWindow.postMessage(message,"*")}else{base.debug.Log("Your browser does not support the postMessage method!");return false}base.debug.Log("Cross Domain Iframe started");return true};var tryFixIframe=function(){if($.iframeHeight.resizeCount<=base.options.resizeMaxTry){$.iframeHeight.resizeCount++;$.iframeHeight.resizeTimeout=setTimeout($.iframeHeight.resizeIframe,base.options.resizeWaitTime);base.debug.Log($.iframeHeight.resizeCount+" time(s) tried")}else{clearTimeout($.iframeHeight.resizeTimeout);$.iframeHeight.resizeCount=0;base.debug.Log("set default height for iframe");base.setIframeHeight(base.options.defaultHeight+base.options.heightOffset)}};base.sendInfotoTop=function(){if(top.length>0&&typeof JSON!="undefined"){var data={};data[base.options.externalHeightName].value=$(document).height();var domain='*';data=JSON.stringify(data);top.postMessage(data,domain);base.debug.Log("sent info to top page");return false}return true};base.setIframeHeight=function(_height){base.$el.height(_height).css("height",_height);if(base.$el.data("iframeheight")!=_height)base.$container.height(_height).css("height",_height);if(base.options.visibilitybeforeload&&!(base.debug.GetBrowserInfo.msie&&base.debug.GetBrowserInfo.version=="7.0"))base.$el.css("visibility","visible");base.debug.Log("Now iframe height is "+_height+"px");base.$el.data("iframeheight",_height)};$.iframeHeight.resizeIframe=function(){base.resetIframe();if(isThisCDI()){base.$el.height(base.options.defaultHeight+base.options.heightOffset).css("height",base.options.defaultHeight+base.options.heightOffset);if(base.options.visibilitybeforeload&&!(base.debug.GetBrowserInfo.msie&&base.debug.GetBrowserInfo.version=="7.0"))base.$el.css("visibility","visible");base.checkMessageEvent()}else{if(base.$el.css("height")===base.options.minimumHeight+"px"){base.resetIframe()}if(base.$el.get(0).contentWindow.document.body!==null){base.debug.Log("This page has body info");var _pageHeight=$(base.$el.get(0).contentWindow.document).height();var _pageName=base.$el.get(0).contentWindow.document.location.pathname.substring(base.$el.get(0).contentWindow.document.location.pathname.lastIndexOf('/')+1).toLowerCase();base.debug.Log("page height : "+_pageHeight+"px || page name : "+_pageName);if((_pageHeight<=base.options.minimumHeight&&base.options.exceptPages.indexOf(_pageName)==-1)){tryFixIframe()}else if(_pageHeight>base.options.minimumHeight&&base.options.exceptPages.indexOf(_pageName)==-1){base.setIframeHeight(_pageHeight+base.options.heightOffset)}}else{base.debug.Log("This page has not body info");tryFixIframe()}}};this.$el.bind("updateIframe",function(){$.iframeHeight.resizeIframe();base.debug.Log("Updated Iframe Manually")});this.$el.bind("killWatcher",function(){window.clearInterval(base.watcher);base.debug.Log("Killed Watcher")});base.init=function(){base.options=$.extend({},$.iframeHeight.defaultOptions,options);if(base.options.watcher==true)base.options.blockCrossDomain=true;base.debug.Log(base.options);if(base.$el.get(0).tagName===undefined||base.$el.get(0).tagName.toLowerCase()!=="iframe"){base.debug.Log("This element is not iframe!");return false}$.iframeHeight.resizeIframe();base.$el.load(function(){$.iframeHeight.resizeIframe()});if(base.options.watcher){base.watcher=setInterval(function(){$.iframeHeight.resizeIframe();base.debug.Log("Checked Iframe")},base.options.watcherTime)}return true};base.init()};$.iframeHeight.defaultOptions=iframeOptions;$.fn.iframeHeight=function(options){return this.each(function(){(new $.iframeHeight(this,options))})};$.iframeHeightExternal=function(){if(arguments.length===1){if($.isPlainObject(arguments[0])){iframeOptions=arguments[0]}}if(window.addEventListener){window.addEventListener("message",OnMessage,false)}else if(window.attachEvent){window.attachEvent("onmessage",OnMessage)}function OnMessage(event){var _domain;if('domain'in event){_domain=event.domain}if('origin'in event){_domain=event.origin}if(iframeOptions.domainName!=="*"){if(_domain!==iframeOptions.domainName){$.iframeHeight.debug.Log("It's not same domain. Blocked!");return}}if(event.data==iframeOptions.onMessageFunctionName){var message="ifh"+$(document).height();event.source.postMessage(message,event.origin)}}return{update:function(){this.reset();window.__domainname=iframeOptions.domainName;setTimeout(function(){var message="ifh"+$(document).height();parent.postMessage(message,window.__domainname)},90)},reset:function(){parent.postMessage("reset",iframeOptions.domainName)}}}})(jQuery); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/importViews/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/importViews/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/importViews/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/importViews/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/importViews/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/importViews/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/indenter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/indenter.php deleted file mode 100644 index 5d5c31777..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/indenter.php +++ /dev/null @@ -1,195 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * @link https://github.com/gajus/dindent for the canonical source repository - * @license https://github.com/gajus/dindent/blob/master/LICENSE BSD 3-Clause - */ -class Indenter { - private - $log = array(), - $options = array( - 'indentation_character' => ' ' - ), - $inline_elements = array('b', 'big', 'i', 'small', 'tt', 'abbr', 'acronym', 'cite', 'code', 'dfn', 'em', 'kbd', 'strong', 'samp', 'var', 'a', 'bdo', 'br', 'img', 'span', 'sub', 'sup'), - $temporary_replacements_script = array(), - $temporary_replacements_inline = array(); - - const ELEMENT_TYPE_BLOCK = 0; - const ELEMENT_TYPE_INLINE = 1; - - const MATCH_INDENT_NO = 0; - const MATCH_INDENT_DECREASE = 1; - const MATCH_INDENT_INCREASE = 2; - const MATCH_DISCARD = 3; - - /** - * @param array $options - */ - public function __construct (array $options = array()) { - foreach ($options as $name => $value) { - if (!array_key_exists($name, $this->options)) { - throw new Exception\InvalidArgumentException('Unrecognized option.'); - } - - $this->options[$name] = $value; - } - } - - /** - * @param string $element_name Element name, e.g. "b". - * @param ELEMENT_TYPE_BLOCK|ELEMENT_TYPE_INLINE $type - * @return null - */ - public function setElementType ($element_name, $type) { - if ($type === static::ELEMENT_TYPE_BLOCK) { - $this->inline_elements = array_diff($this->inline_elements, array($element_name)); - } else if ($type === static::ELEMENT_TYPE_INLINE) { - $this->inline_elements[] = $element_name; - } else { - throw new Exception\InvalidArgumentException('Unrecognized element type.'); - } - - $this->inline_elements = array_unique($this->inline_elements); - } - - /** - * @param string $input HTML input. - * @return string Indented HTML. - */ - public function indent ($input) { - $this->log = array(); - - // Dindent does not indent <script> body. Instead, it temporary removes it from the code, indents the input, and restores the script body. - if (preg_match_all('/<script\b[^>]*>([\s\S]*?)<\/script>/mi', $input, $matches)) { - $this->temporary_replacements_script = $matches[0]; - foreach ($matches[0] as $i => $match) { - $input = str_replace($match, '<script>' . ($i + 1) . '</script>', $input); - } - } - - // Removing double whitespaces to make the source code easier to read. - // With exception of <pre>/ CSS white-space changing the default behaviour, double whitespace is meaningless in HTML output. - // This reason alone is sufficient not to use Dindent in production. - $input = str_replace("\t", '', $input); - $input = preg_replace('/\s{2,}/', ' ', $input); - - // Remove inline elements and replace them with text entities. - if (preg_match_all('/<(' . implode('|', $this->inline_elements) . ')[^>]*>(?:[^<]*)<\/\1>/', $input, $matches)) { - $this->temporary_replacements_inline = $matches[0]; - foreach ($matches[0] as $i => $match) { - $input = str_replace($match, 'ᐃ' . ($i + 1) . 'ᐃ', $input); - } - } - - $subject = $input; - - $output = ''; - - $next_line_indentation_level = 0; - - do { - $indentation_level = $next_line_indentation_level; - - $patterns = array( - // block tag - '/^(<([a-z]+)(?:[^>]*)>(?:[^<]*)<\/(?:\2)>)/' => static::MATCH_INDENT_NO, - // DOCTYPE - '/^<!([^>]*)>/' => static::MATCH_INDENT_NO, - // tag with implied closing - '/^<(input|link|meta|base|br|img|hr)([^>]*)>/' => static::MATCH_INDENT_NO, - // opening tag - '/^<[^\/]([^>]*)>/' => static::MATCH_INDENT_INCREASE, - // closing tag - '/^<\/([^>]*)>/' => static::MATCH_INDENT_DECREASE, - // self-closing tag - '/^<(.+)\/>/' => static::MATCH_INDENT_DECREASE, - // whitespace - '/^(\s+)/' => static::MATCH_DISCARD, - // text node - '/([^<]+)/' => static::MATCH_INDENT_NO - ); - $rules = array('NO', 'DECREASE', 'INCREASE', 'DISCARD'); - - foreach ($patterns as $pattern => $rule) { - if ($match = preg_match($pattern, $subject, $matches)) { - $this->log[] = array( - 'rule' => $rules[$rule], - 'pattern' => $pattern, - 'subject' => $subject, - 'match' => $matches[0] - ); - - $subject = mb_substr($subject, mb_strlen($matches[0])); - - if ($rule === static::MATCH_DISCARD) { - break; - } - - if ($rule === static::MATCH_INDENT_NO) { - - } else if ($rule === static::MATCH_INDENT_DECREASE) { - $next_line_indentation_level--; - $indentation_level--; - } else { - $next_line_indentation_level++; - } - - if ($indentation_level < 0) { - $indentation_level = 0; - } - - $output .= str_repeat($this->options['indentation_character'], $indentation_level) . $matches[0] . "\n"; - - break; - } - } - } while ($match); - - $interpreted_input = ''; - foreach ($this->log as $e) { - $interpreted_input .= $e['match']; - } - - if ($interpreted_input !== $input) { - throw new Exception\RuntimeException('Did not reproduce the exact input.'); - } - - $output = preg_replace('/(<(\w+)[^>]*>)\s*(<\/\2>)/', '\\1\\3', $output); - - foreach ($this->temporary_replacements_script as $i => $original) { - $output = str_replace('<script>' . ($i + 1) . '</script>', $original, $output); - } - - foreach ($this->temporary_replacements_inline as $i => $original) { - $output = str_replace('ᐃ' . ($i + 1) . 'ᐃ', $original, $output); - } - - return trim($output); - } - - /** - * Debugging utility. Get log for the last indent operation. - * - * @return array - */ - public function getLog () { - return $this->log; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/jquery.mockjax.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/jquery.mockjax.js deleted file mode 100644 index 7fa831d12..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/jquery.mockjax.js +++ /dev/null @@ -1,573 +0,0 @@ -/*! - * MockJax - jQuery Plugin to Mock Ajax requests - * - * Version: 1.5.1 - * Released: - * Home: https://github.com/appendto/jquery-mockjax - * Author: Jonathan Sharp (https://jdsharp.com) - * License: MIT,GPL - * - * Copyright (c) 2011 appendTo LLC. - * Dual licensed under the MIT or GPL licenses. - * https://appendto.com/open-source-licenses - */ -(function($) { - var _ajax = $.ajax, - mockHandlers = [], - CALLBACK_REGEX = /=\?(&|$)/, - jsc = (new Date()).getTime(); - - - // Parse the given XML string. - function parseXML(xml) { - if ( window.DOMParser == undefined && window.ActiveXObject ) { - DOMParser = function() { }; - DOMParser.prototype.parseFromString = function( xmlString ) { - var doc = new ActiveXObject('Microsoft.XMLDOM'); - doc.async = 'false'; - doc.loadXML( xmlString ); - return doc; - }; - } - - try { - var xmlDoc = ( new DOMParser() ).parseFromString( xml, 'text/xml' ); - if ( $.isXMLDoc( xmlDoc ) ) { - var err = $('parsererror', xmlDoc); - if ( err.length == 1 ) { - throw('Error: ' + $(xmlDoc).text() ); - } - } else { - throw('Unable to parse XML'); - } - return xmlDoc; - } catch( e ) { - var msg = ( e.name == undefined ? e : e.name + ': ' + e.message ); - $(document).trigger('xmlParseError', [ msg ]); - return undefined; - } - } - - // Trigger a jQuery event - function trigger(s, type, args) { - (s.context ? $(s.context) : $.event).trigger(type, args); - } - - // Check if the data field on the mock handler and the request match. This - // can be used to restrict a mock handler to being used only when a certain - // set of data is passed to it. - function isMockDataEqual( mock, live ) { - var identical = true; - // Test for situations where the data is a querystring (not an object) - if (typeof live === 'string') { - // Querystring may be a regex - return $.isFunction( mock.test ) ? mock.test(live) : mock == live; - } - $.each(mock, function(k) { - if ( live[k] === undefined ) { - identical = false; - return identical; - } else { - if ( typeof live[k] == 'object' ) { - identical = identical && isMockDataEqual(mock[k], live[k]); - } else { - if ( $.isFunction( mock[k].test ) ) { - identical = identical && mock[k].test(live[k]); - } else { - identical = identical && ( mock[k] == live[k] ); - } - } - } - }); - - return identical; - } - - // Check the given handler should mock the given request - function getMockForRequest( handler, requestSettings ) { - // If the mock was registered with a function, let the function decide if we - // want to mock this request - if ( $.isFunction(handler) ) { - return handler( requestSettings ); - } - - // Inspect the URL of the request and check if the mock handler's url - // matches the url for this ajax request - if ( $.isFunction(handler.url.test) ) { - // The user provided a regex for the url, test it - if ( !handler.url.test( requestSettings.url ) ) { - return null; - } - } else { - // Look for a simple wildcard '*' or a direct URL match - var star = handler.url.indexOf('*'); - if (handler.url !== requestSettings.url && star === -1 || - !new RegExp(handler.url.replace(/[-[\]{}()+?.,\\^$|#\s]/g, "\\$&").replace(/\*/g, '.+')).test(requestSettings.url)) { - return null; - } - } - - // Inspect the data submitted in the request (either POST body or GET query string) - if ( handler.data && requestSettings.data ) { - if ( !isMockDataEqual(handler.data, requestSettings.data) ) { - // They're not identical, do not mock this request - return null; - } - } - // Inspect the request type - if ( handler && handler.type && - handler.type.toLowerCase() != requestSettings.type.toLowerCase() ) { - // The request type doesn't match (GET vs. POST) - return null; - } - - return handler; - } - - // Process the xhr objects send operation - function _xhrSend(mockHandler, requestSettings, origSettings) { - - // This is a substitute for < 1.4 which lacks $.proxy - var process = (function(that) { - return function() { - return (function() { - var onReady; - - // The request has returned - this.status = mockHandler.status; - this.statusText = mockHandler.statusText; - this.readyState = 4; - - // We have an executable function, call it to give - // the mock handler a chance to update it's data - if ( $.isFunction(mockHandler.response) ) { - mockHandler.response(origSettings); - } - // Copy over our mock to our xhr object before passing control back to - // jQuery's onreadystatechange callback - if ( requestSettings.dataType == 'json' && ( typeof mockHandler.responseText == 'object' ) ) { - this.responseText = JSON.stringify(mockHandler.responseText); - } else if ( requestSettings.dataType == 'xml' ) { - if ( typeof mockHandler.responseXML == 'string' ) { - this.responseXML = parseXML(mockHandler.responseXML); - //in jQuery 1.9.1+, responseXML is processed differently and relies on responseText - this.responseText = mockHandler.responseXML; - } else { - this.responseXML = mockHandler.responseXML; - } - } else { - this.responseText = mockHandler.responseText; - } - if( typeof mockHandler.status == 'number' || typeof mockHandler.status == 'string' ) { - this.status = mockHandler.status; - } - if( typeof mockHandler.statusText === "string") { - this.statusText = mockHandler.statusText; - } - // jQuery 2.0 renamed onreadystatechange to onload - onReady = this.onreadystatechange || this.onload; - - // jQuery < 1.4 doesn't have onreadystate change for xhr - if ( $.isFunction( onReady ) ) { - if( mockHandler.isTimeout) { - this.status = -1; - } - onReady.call( this, mockHandler.isTimeout ? 'timeout' : undefined ); - } else if ( mockHandler.isTimeout ) { - // Fix for 1.3.2 timeout to keep success from firing. - this.status = -1; - } - }).apply(that); - }; - })(this); - - if ( mockHandler.proxy ) { - // We're proxying this request and loading in an external file instead - _ajax({ - global: false, - url: mockHandler.proxy, - type: mockHandler.proxyType, - data: mockHandler.data, - dataType: requestSettings.dataType === "script" ? "text/plain" : requestSettings.dataType, - complete: function(xhr) { - mockHandler.responseXML = xhr.responseXML; - mockHandler.responseText = xhr.responseText; - mockHandler.status = xhr.status; - mockHandler.statusText = xhr.statusText; - this.responseTimer = setTimeout(process, mockHandler.responseTime || 0); - } - }); - } else { - // type == 'POST' || 'GET' || 'DELETE' - if ( requestSettings.async === false ) { - // TODO: Blocking delay - process(); - } else { - this.responseTimer = setTimeout(process, mockHandler.responseTime || 50); - } - } - } - - // Construct a mocked XHR Object - function xhr(mockHandler, requestSettings, origSettings, origHandler) { - // Extend with our default mockjax settings - mockHandler = $.extend(true, {}, $.mockjaxSettings, mockHandler); - - if (typeof mockHandler.headers === 'undefined') { - mockHandler.headers = {}; - } - if ( mockHandler.contentType ) { - mockHandler.headers['content-type'] = mockHandler.contentType; - } - - return { - status: mockHandler.status, - statusText: mockHandler.statusText, - readyState: 1, - open: function() { }, - send: function() { - origHandler.fired = true; - _xhrSend.call(this, mockHandler, requestSettings, origSettings); - }, - abort: function() { - clearTimeout(this.responseTimer); - }, - setRequestHeader: function(header, value) { - mockHandler.headers[header] = value; - }, - getResponseHeader: function(header) { - // 'Last-modified', 'Etag', 'content-type' are all checked by jQuery - if ( mockHandler.headers && mockHandler.headers[header] ) { - // Return arbitrary headers - return mockHandler.headers[header]; - } else if ( header.toLowerCase() == 'last-modified' ) { - return mockHandler.lastModified || (new Date()).toString(); - } else if ( header.toLowerCase() == 'etag' ) { - return mockHandler.etag || ''; - } else if ( header.toLowerCase() == 'content-type' ) { - return mockHandler.contentType || 'text/plain'; - } - }, - getAllResponseHeaders: function() { - var headers = ''; - $.each(mockHandler.headers, function(k, v) { - headers += k + ': ' + v + "\n"; - }); - return headers; - } - }; - } - - // Process a JSONP mock request. - function processJsonpMock( requestSettings, mockHandler, origSettings ) { - // Handle JSONP Parameter Callbacks, we need to replicate some of the jQuery core here - // because there isn't an easy hook for the cross domain script tag of jsonp - - processJsonpUrl( requestSettings ); - - requestSettings.dataType = "json"; - if(requestSettings.data && CALLBACK_REGEX.test(requestSettings.data) || CALLBACK_REGEX.test(requestSettings.url)) { - createJsonpCallback(requestSettings, mockHandler, origSettings); - - // We need to make sure - // that a JSONP style response is executed properly - - var rurl = /^(\w+:)?\/\/([^\/?#]+)/, - parts = rurl.exec( requestSettings.url ), - remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host); - - requestSettings.dataType = "script"; - if(requestSettings.type.toUpperCase() === "GET" && remote ) { - var newMockReturn = processJsonpRequest( requestSettings, mockHandler, origSettings ); - - // Check if we are supposed to return a Deferred back to the mock call, or just - // signal success - if(newMockReturn) { - return newMockReturn; - } else { - return true; - } - } - } - return null; - } - - // Append the required callback parameter to the end of the request URL, for a JSONP request - function processJsonpUrl( requestSettings ) { - if ( requestSettings.type.toUpperCase() === "GET" ) { - if ( !CALLBACK_REGEX.test( requestSettings.url ) ) { - requestSettings.url += (/\?/.test( requestSettings.url ) ? "&" : "?") + - (requestSettings.jsonp || "callback") + "=?"; - } - } else if ( !requestSettings.data || !CALLBACK_REGEX.test(requestSettings.data) ) { - requestSettings.data = (requestSettings.data ? requestSettings.data + "&" : "") + (requestSettings.jsonp || "callback") + "=?"; - } - } - - // Process a JSONP request by evaluating the mocked response text - function processJsonpRequest( requestSettings, mockHandler, origSettings ) { - // Synthesize the mock request for adding a script tag - var callbackContext = origSettings && origSettings.context || requestSettings, - newMock = null; - - - // If the response handler on the moock is a function, call it - if ( mockHandler.response && $.isFunction(mockHandler.response) ) { - mockHandler.response(origSettings); - } else { - - // Evaluate the responseText javascript in a global context - if( typeof mockHandler.responseText === 'object' ) { - $.globalEval( '(' + JSON.stringify( mockHandler.responseText ) + ')'); - } else { - $.globalEval( '(' + mockHandler.responseText + ')'); - } - } - - // Successful response - jsonpSuccess( requestSettings, callbackContext, mockHandler ); - jsonpComplete( requestSettings, callbackContext, mockHandler ); - - // If we are running under jQuery 1.5+, return a deferred object - if($.Deferred){ - newMock = new $.Deferred(); - if(typeof mockHandler.responseText == "object"){ - newMock.resolveWith( callbackContext, [mockHandler.responseText] ); - } - else{ - newMock.resolveWith( callbackContext, [$.parseJSON( mockHandler.responseText )] ); - } - } - return newMock; - } - - - // Create the required JSONP callback function for the request - function createJsonpCallback( requestSettings, mockHandler, origSettings ) { - var callbackContext = origSettings && origSettings.context || requestSettings; - var jsonp = requestSettings.jsonpCallback || ("jsonp" + jsc++); - - // Replace the =? sequence both in the query string and the data - if ( requestSettings.data ) { - requestSettings.data = (requestSettings.data + "").replace(CALLBACK_REGEX, "=" + jsonp + "$1"); - } - - requestSettings.url = requestSettings.url.replace(CALLBACK_REGEX, "=" + jsonp + "$1"); - - - // Handle JSONP-style loading - window[ jsonp ] = window[ jsonp ] || function( tmp ) { - data = tmp; - jsonpSuccess( requestSettings, callbackContext, mockHandler ); - jsonpComplete( requestSettings, callbackContext, mockHandler ); - // Garbage collect - window[ jsonp ] = undefined; - - try { - delete window[ jsonp ]; - } catch(e) {} - - if ( head ) { - head.removeChild( script ); - } - }; - } - - // The JSONP request was successful - function jsonpSuccess(requestSettings, callbackContext, mockHandler) { - // If a local callback was specified, fire it and pass it the data - if ( requestSettings.success ) { - requestSettings.success.call( callbackContext, mockHandler.responseText || "", status, {} ); - } - - // Fire the global callback - if ( requestSettings.global ) { - trigger(requestSettings, "ajaxSuccess", [{}, requestSettings] ); - } - } - - // The JSONP request was completed - function jsonpComplete(requestSettings, callbackContext) { - // Process result - if ( requestSettings.complete ) { - requestSettings.complete.call( callbackContext, {} , status ); - } - - // The request was completed - if ( requestSettings.global ) { - trigger( "ajaxComplete", [{}, requestSettings] ); - } - - // Handle the global AJAX counter - if ( requestSettings.global && ! --$.active ) { - $.event.trigger( "ajaxStop" ); - } - } - - - // The core $.ajax replacement. - function handleAjax( url, origSettings ) { - var mockRequest, requestSettings, mockHandler; - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - origSettings = url; - url = undefined; - } else { - // work around to support 1.5 signature - origSettings.url = url; - } - - // Extend the original settings for the request - requestSettings = $.extend(true, {}, $.ajaxSettings, origSettings); - - // Iterate over our mock handlers (in registration order) until we find - // one that is willing to intercept the request - for(var k = 0; k < mockHandlers.length; k++) { - if ( !mockHandlers[k] ) { - continue; - } - - mockHandler = getMockForRequest( mockHandlers[k], requestSettings ); - if(!mockHandler) { - // No valid mock found for this request - continue; - } - - // If logging is enabled, log the mock to the console - $.mockjaxSettings.log( mockHandler, requestSettings ); - - - if ( requestSettings.dataType === "jsonp" ) { - if ((mockRequest = processJsonpMock( requestSettings, mockHandler, origSettings ))) { - // This mock will handle the JSONP request - return mockRequest; - } - } - - - // Removed to fix #54 - keep the mocking data object intact - //mockHandler.data = requestSettings.data; - - mockHandler.cache = requestSettings.cache; - mockHandler.timeout = requestSettings.timeout; - mockHandler.global = requestSettings.global; - - copyUrlParameters(mockHandler, origSettings); - - (function(mockHandler, requestSettings, origSettings, origHandler) { - mockRequest = _ajax.call($, $.extend(true, {}, origSettings, { - // Mock the XHR object - xhr: function() { return xhr( mockHandler, requestSettings, origSettings, origHandler ); } - })); - })(mockHandler, requestSettings, origSettings, mockHandlers[k]); - - return mockRequest; - } - - // We don't have a mock request, trigger a normal request - return _ajax.apply($, [origSettings]); - } - - /** - * Copies URL parameter values if they were captured by a regular expression - * @param {Object} mockHandler - * @param {Object} origSettings - */ - function copyUrlParameters(mockHandler, origSettings) { - //parameters aren't captured if the URL isn't a RegExp - if (!mockHandler.url instanceof RegExp) { - return; - } - //if no URL params were defined on the handler, don't attempt a capture - if (!mockHandler.hasOwnProperty('urlParams')) { - return; - } - var captures = mockHandler.url.exec(origSettings.url); - //the whole RegExp match is always the first value in the capture results - if (captures.length === 1) { - return; - } - captures.shift(); - //use handler params as keys and capture resuts as values - var i = 0, - capturesLength = captures.length, - paramsLength = mockHandler.urlParams.length, - //in case the number of params specified is less than actual captures - maxIterations = Math.min(capturesLength, paramsLength), - paramValues = {}; - for (i; i < maxIterations; i++) { - var key = mockHandler.urlParams[i]; - paramValues[key] = captures[i]; - } - origSettings.urlParams = paramValues; - } - - - // Public - - $.extend({ - ajax: handleAjax - }); - - $.mockjaxSettings = { - //url: null, - //type: 'GET', - log: function( mockHandler, requestSettings ) { - if ( mockHandler.logging === false || - ( typeof mockHandler.logging === 'undefined' && $.mockjaxSettings.logging === false ) ) { - return; - } - if ( window.console && console.log ) { - var message = 'MOCK ' + requestSettings.type.toUpperCase() + ': ' + requestSettings.url; - var request = $.extend({}, requestSettings); - - if (typeof console.log === 'function') { - console.log(message, request); - } else { - try { - console.log( message + ' ' + JSON.stringify(request) ); - } catch (e) { - console.log(message); - } - } - } - }, - logging: true, - status: 200, - statusText: "OK", - responseTime: 500, - isTimeout: false, - contentType: 'text/plain', - response: '', - responseText: '', - responseXML: '', - proxy: '', - proxyType: 'GET', - - lastModified: null, - etag: '', - headers: { - etag: 'IJF@H#@923uf8023hFO@I#H#', - 'content-type' : 'text/plain' - } - }; - - $.mockjax = function(settings) { - var i = mockHandlers.length; - mockHandlers[i] = settings; - return i; - }; - $.mockjaxClear = function(i) { - if ( arguments.length == 1 ) { - mockHandlers[i] = null; - } else { - mockHandlers = []; - } - }; - $.mockjax.handler = function(i) { - if ( arguments.length == 1 ) { - return mockHandlers[i]; - } - }; -})(jQuery); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/js.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/js.php deleted file mode 100644 index 77e6e38fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/js.php +++ /dev/null @@ -1,442 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -require_once JPATH_ADMINISTRATOR.'/components/com_###component###/helpers/minify.php'; - -/** - * JavaScript minifier. - * - * Please report bugs on https://github.com/matthiasmullie/minify/issues - * - * @author Matthias Mullie <minify@mullie.eu> - * @author Tijs Verkoyen <minify@verkoyen.eu> - * - * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved. - * @license MIT License - */ -class JS extends Minify -{ - /** - * Var-matching regex based on http://stackoverflow.com/a/9337047/802993 - * - * Note that regular expressions using that bit must have the PCRE_UTF8 - * pattern modifier (/u) set. - * - * @var string - */ - const REGEX_VARIABLE = '\b[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\x{02c1}\x{02c6}-\x{02d1}\x{02e0}-\x{02e4}\x{02ec}\x{02ee}\x{0370}-\x{0374}\x{0376}\x{0377}\x{037a}-\x{037d}\x{0386}\x{0388}-\x{038a}\x{038c}\x{038e}-\x{03a1}\x{03a3}-\x{03f5}\x{03f7}-\x{0481}\x{048a}-\x{0527}\x{0531}-\x{0556}\x{0559}\x{0561}-\x{0587}\x{05d0}-\x{05ea}\x{05f0}-\x{05f2}\x{0620}-\x{064a}\x{066e}\x{066f}\x{0671}-\x{06d3}\x{06d5}\x{06e5}\x{06e6}\x{06ee}\x{06ef}\x{06fa}-\x{06fc}\x{06ff}\x{0710}\x{0712}-\x{072f}\x{074d}-\x{07a5}\x{07b1}\x{07ca}-\x{07ea}\x{07f4}\x{07f5}\x{07fa}\x{0800}-\x{0815}\x{081a}\x{0824}\x{0828}\x{0840}-\x{0858}\x{08a0}\x{08a2}-\x{08ac}\x{0904}-\x{0939}\x{093d}\x{0950}\x{0958}-\x{0961}\x{0971}-\x{0977}\x{0979}-\x{097f}\x{0985}-\x{098c}\x{098f}\x{0990}\x{0993}-\x{09a8}\x{09aa}-\x{09b0}\x{09b2}\x{09b6}-\x{09b9}\x{09bd}\x{09ce}\x{09dc}\x{09dd}\x{09df}-\x{09e1}\x{09f0}\x{09f1}\x{0a05}-\x{0a0a}\x{0a0f}\x{0a10}\x{0a13}-\x{0a28}\x{0a2a}-\x{0a30}\x{0a32}\x{0a33}\x{0a35}\x{0a36}\x{0a38}\x{0a39}\x{0a59}-\x{0a5c}\x{0a5e}\x{0a72}-\x{0a74}\x{0a85}-\x{0a8d}\x{0a8f}-\x{0a91}\x{0a93}-\x{0aa8}\x{0aaa}-\x{0ab0}\x{0ab2}\x{0ab3}\x{0ab5}-\x{0ab9}\x{0abd}\x{0ad0}\x{0ae0}\x{0ae1}\x{0b05}-\x{0b0c}\x{0b0f}\x{0b10}\x{0b13}-\x{0b28}\x{0b2a}-\x{0b30}\x{0b32}\x{0b33}\x{0b35}-\x{0b39}\x{0b3d}\x{0b5c}\x{0b5d}\x{0b5f}-\x{0b61}\x{0b71}\x{0b83}\x{0b85}-\x{0b8a}\x{0b8e}-\x{0b90}\x{0b92}-\x{0b95}\x{0b99}\x{0b9a}\x{0b9c}\x{0b9e}\x{0b9f}\x{0ba3}\x{0ba4}\x{0ba8}-\x{0baa}\x{0bae}-\x{0bb9}\x{0bd0}\x{0c05}-\x{0c0c}\x{0c0e}-\x{0c10}\x{0c12}-\x{0c28}\x{0c2a}-\x{0c33}\x{0c35}-\x{0c39}\x{0c3d}\x{0c58}\x{0c59}\x{0c60}\x{0c61}\x{0c85}-\x{0c8c}\x{0c8e}-\x{0c90}\x{0c92}-\x{0ca8}\x{0caa}-\x{0cb3}\x{0cb5}-\x{0cb9}\x{0cbd}\x{0cde}\x{0ce0}\x{0ce1}\x{0cf1}\x{0cf2}\x{0d05}-\x{0d0c}\x{0d0e}-\x{0d10}\x{0d12}-\x{0d3a}\x{0d3d}\x{0d4e}\x{0d60}\x{0d61}\x{0d7a}-\x{0d7f}\x{0d85}-\x{0d96}\x{0d9a}-\x{0db1}\x{0db3}-\x{0dbb}\x{0dbd}\x{0dc0}-\x{0dc6}\x{0e01}-\x{0e30}\x{0e32}\x{0e33}\x{0e40}-\x{0e46}\x{0e81}\x{0e82}\x{0e84}\x{0e87}\x{0e88}\x{0e8a}\x{0e8d}\x{0e94}-\x{0e97}\x{0e99}-\x{0e9f}\x{0ea1}-\x{0ea3}\x{0ea5}\x{0ea7}\x{0eaa}\x{0eab}\x{0ead}-\x{0eb0}\x{0eb2}\x{0eb3}\x{0ebd}\x{0ec0}-\x{0ec4}\x{0ec6}\x{0edc}-\x{0edf}\x{0f00}\x{0f40}-\x{0f47}\x{0f49}-\x{0f6c}\x{0f88}-\x{0f8c}\x{1000}-\x{102a}\x{103f}\x{1050}-\x{1055}\x{105a}-\x{105d}\x{1061}\x{1065}\x{1066}\x{106e}-\x{1070}\x{1075}-\x{1081}\x{108e}\x{10a0}-\x{10c5}\x{10c7}\x{10cd}\x{10d0}-\x{10fa}\x{10fc}-\x{1248}\x{124a}-\x{124d}\x{1250}-\x{1256}\x{1258}\x{125a}-\x{125d}\x{1260}-\x{1288}\x{128a}-\x{128d}\x{1290}-\x{12b0}\x{12b2}-\x{12b5}\x{12b8}-\x{12be}\x{12c0}\x{12c2}-\x{12c5}\x{12c8}-\x{12d6}\x{12d8}-\x{1310}\x{1312}-\x{1315}\x{1318}-\x{135a}\x{1380}-\x{138f}\x{13a0}-\x{13f4}\x{1401}-\x{166c}\x{166f}-\x{167f}\x{1681}-\x{169a}\x{16a0}-\x{16ea}\x{16ee}-\x{16f0}\x{1700}-\x{170c}\x{170e}-\x{1711}\x{1720}-\x{1731}\x{1740}-\x{1751}\x{1760}-\x{176c}\x{176e}-\x{1770}\x{1780}-\x{17b3}\x{17d7}\x{17dc}\x{1820}-\x{1877}\x{1880}-\x{18a8}\x{18aa}\x{18b0}-\x{18f5}\x{1900}-\x{191c}\x{1950}-\x{196d}\x{1970}-\x{1974}\x{1980}-\x{19ab}\x{19c1}-\x{19c7}\x{1a00}-\x{1a16}\x{1a20}-\x{1a54}\x{1aa7}\x{1b05}-\x{1b33}\x{1b45}-\x{1b4b}\x{1b83}-\x{1ba0}\x{1bae}\x{1baf}\x{1bba}-\x{1be5}\x{1c00}-\x{1c23}\x{1c4d}-\x{1c4f}\x{1c5a}-\x{1c7d}\x{1ce9}-\x{1cec}\x{1cee}-\x{1cf1}\x{1cf5}\x{1cf6}\x{1d00}-\x{1dbf}\x{1e00}-\x{1f15}\x{1f18}-\x{1f1d}\x{1f20}-\x{1f45}\x{1f48}-\x{1f4d}\x{1f50}-\x{1f57}\x{1f59}\x{1f5b}\x{1f5d}\x{1f5f}-\x{1f7d}\x{1f80}-\x{1fb4}\x{1fb6}-\x{1fbc}\x{1fbe}\x{1fc2}-\x{1fc4}\x{1fc6}-\x{1fcc}\x{1fd0}-\x{1fd3}\x{1fd6}-\x{1fdb}\x{1fe0}-\x{1fec}\x{1ff2}-\x{1ff4}\x{1ff6}-\x{1ffc}\x{2071}\x{207f}\x{2090}-\x{209c}\x{2102}\x{2107}\x{210a}-\x{2113}\x{2115}\x{2119}-\x{211d}\x{2124}\x{2126}\x{2128}\x{212a}-\x{212d}\x{212f}-\x{2139}\x{213c}-\x{213f}\x{2145}-\x{2149}\x{214e}\x{2160}-\x{2188}\x{2c00}-\x{2c2e}\x{2c30}-\x{2c5e}\x{2c60}-\x{2ce4}\x{2ceb}-\x{2cee}\x{2cf2}\x{2cf3}\x{2d00}-\x{2d25}\x{2d27}\x{2d2d}\x{2d30}-\x{2d67}\x{2d6f}\x{2d80}-\x{2d96}\x{2da0}-\x{2da6}\x{2da8}-\x{2dae}\x{2db0}-\x{2db6}\x{2db8}-\x{2dbe}\x{2dc0}-\x{2dc6}\x{2dc8}-\x{2dce}\x{2dd0}-\x{2dd6}\x{2dd8}-\x{2dde}\x{2e2f}\x{3005}-\x{3007}\x{3021}-\x{3029}\x{3031}-\x{3035}\x{3038}-\x{303c}\x{3041}-\x{3096}\x{309d}-\x{309f}\x{30a1}-\x{30fa}\x{30fc}-\x{30ff}\x{3105}-\x{312d}\x{3131}-\x{318e}\x{31a0}-\x{31ba}\x{31f0}-\x{31ff}\x{3400}-\x{4db5}\x{4e00}-\x{9fcc}\x{a000}-\x{a48c}\x{a4d0}-\x{a4fd}\x{a500}-\x{a60c}\x{a610}-\x{a61f}\x{a62a}\x{a62b}\x{a640}-\x{a66e}\x{a67f}-\x{a697}\x{a6a0}-\x{a6ef}\x{a717}-\x{a71f}\x{a722}-\x{a788}\x{a78b}-\x{a78e}\x{a790}-\x{a793}\x{a7a0}-\x{a7aa}\x{a7f8}-\x{a801}\x{a803}-\x{a805}\x{a807}-\x{a80a}\x{a80c}-\x{a822}\x{a840}-\x{a873}\x{a882}-\x{a8b3}\x{a8f2}-\x{a8f7}\x{a8fb}\x{a90a}-\x{a925}\x{a930}-\x{a946}\x{a960}-\x{a97c}\x{a984}-\x{a9b2}\x{a9cf}\x{aa00}-\x{aa28}\x{aa40}-\x{aa42}\x{aa44}-\x{aa4b}\x{aa60}-\x{aa76}\x{aa7a}\x{aa80}-\x{aaaf}\x{aab1}\x{aab5}\x{aab6}\x{aab9}-\x{aabd}\x{aac0}\x{aac2}\x{aadb}-\x{aadd}\x{aae0}-\x{aaea}\x{aaf2}-\x{aaf4}\x{ab01}-\x{ab06}\x{ab09}-\x{ab0e}\x{ab11}-\x{ab16}\x{ab20}-\x{ab26}\x{ab28}-\x{ab2e}\x{abc0}-\x{abe2}\x{ac00}-\x{d7a3}\x{d7b0}-\x{d7c6}\x{d7cb}-\x{d7fb}\x{f900}-\x{fa6d}\x{fa70}-\x{fad9}\x{fb00}-\x{fb06}\x{fb13}-\x{fb17}\x{fb1d}\x{fb1f}-\x{fb28}\x{fb2a}-\x{fb36}\x{fb38}-\x{fb3c}\x{fb3e}\x{fb40}\x{fb41}\x{fb43}\x{fb44}\x{fb46}-\x{fbb1}\x{fbd3}-\x{fd3d}\x{fd50}-\x{fd8f}\x{fd92}-\x{fdc7}\x{fdf0}-\x{fdfb}\x{fe70}-\x{fe74}\x{fe76}-\x{fefc}\x{ff21}-\x{ff3a}\x{ff41}-\x{ff5a}\x{ff66}-\x{ffbe}\x{ffc2}-\x{ffc7}\x{ffca}-\x{ffcf}\x{ffd2}-\x{ffd7}\x{ffda}-\x{ffdc}][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\x{02c1}\x{02c6}-\x{02d1}\x{02e0}-\x{02e4}\x{02ec}\x{02ee}\x{0370}-\x{0374}\x{0376}\x{0377}\x{037a}-\x{037d}\x{0386}\x{0388}-\x{038a}\x{038c}\x{038e}-\x{03a1}\x{03a3}-\x{03f5}\x{03f7}-\x{0481}\x{048a}-\x{0527}\x{0531}-\x{0556}\x{0559}\x{0561}-\x{0587}\x{05d0}-\x{05ea}\x{05f0}-\x{05f2}\x{0620}-\x{064a}\x{066e}\x{066f}\x{0671}-\x{06d3}\x{06d5}\x{06e5}\x{06e6}\x{06ee}\x{06ef}\x{06fa}-\x{06fc}\x{06ff}\x{0710}\x{0712}-\x{072f}\x{074d}-\x{07a5}\x{07b1}\x{07ca}-\x{07ea}\x{07f4}\x{07f5}\x{07fa}\x{0800}-\x{0815}\x{081a}\x{0824}\x{0828}\x{0840}-\x{0858}\x{08a0}\x{08a2}-\x{08ac}\x{0904}-\x{0939}\x{093d}\x{0950}\x{0958}-\x{0961}\x{0971}-\x{0977}\x{0979}-\x{097f}\x{0985}-\x{098c}\x{098f}\x{0990}\x{0993}-\x{09a8}\x{09aa}-\x{09b0}\x{09b2}\x{09b6}-\x{09b9}\x{09bd}\x{09ce}\x{09dc}\x{09dd}\x{09df}-\x{09e1}\x{09f0}\x{09f1}\x{0a05}-\x{0a0a}\x{0a0f}\x{0a10}\x{0a13}-\x{0a28}\x{0a2a}-\x{0a30}\x{0a32}\x{0a33}\x{0a35}\x{0a36}\x{0a38}\x{0a39}\x{0a59}-\x{0a5c}\x{0a5e}\x{0a72}-\x{0a74}\x{0a85}-\x{0a8d}\x{0a8f}-\x{0a91}\x{0a93}-\x{0aa8}\x{0aaa}-\x{0ab0}\x{0ab2}\x{0ab3}\x{0ab5}-\x{0ab9}\x{0abd}\x{0ad0}\x{0ae0}\x{0ae1}\x{0b05}-\x{0b0c}\x{0b0f}\x{0b10}\x{0b13}-\x{0b28}\x{0b2a}-\x{0b30}\x{0b32}\x{0b33}\x{0b35}-\x{0b39}\x{0b3d}\x{0b5c}\x{0b5d}\x{0b5f}-\x{0b61}\x{0b71}\x{0b83}\x{0b85}-\x{0b8a}\x{0b8e}-\x{0b90}\x{0b92}-\x{0b95}\x{0b99}\x{0b9a}\x{0b9c}\x{0b9e}\x{0b9f}\x{0ba3}\x{0ba4}\x{0ba8}-\x{0baa}\x{0bae}-\x{0bb9}\x{0bd0}\x{0c05}-\x{0c0c}\x{0c0e}-\x{0c10}\x{0c12}-\x{0c28}\x{0c2a}-\x{0c33}\x{0c35}-\x{0c39}\x{0c3d}\x{0c58}\x{0c59}\x{0c60}\x{0c61}\x{0c85}-\x{0c8c}\x{0c8e}-\x{0c90}\x{0c92}-\x{0ca8}\x{0caa}-\x{0cb3}\x{0cb5}-\x{0cb9}\x{0cbd}\x{0cde}\x{0ce0}\x{0ce1}\x{0cf1}\x{0cf2}\x{0d05}-\x{0d0c}\x{0d0e}-\x{0d10}\x{0d12}-\x{0d3a}\x{0d3d}\x{0d4e}\x{0d60}\x{0d61}\x{0d7a}-\x{0d7f}\x{0d85}-\x{0d96}\x{0d9a}-\x{0db1}\x{0db3}-\x{0dbb}\x{0dbd}\x{0dc0}-\x{0dc6}\x{0e01}-\x{0e30}\x{0e32}\x{0e33}\x{0e40}-\x{0e46}\x{0e81}\x{0e82}\x{0e84}\x{0e87}\x{0e88}\x{0e8a}\x{0e8d}\x{0e94}-\x{0e97}\x{0e99}-\x{0e9f}\x{0ea1}-\x{0ea3}\x{0ea5}\x{0ea7}\x{0eaa}\x{0eab}\x{0ead}-\x{0eb0}\x{0eb2}\x{0eb3}\x{0ebd}\x{0ec0}-\x{0ec4}\x{0ec6}\x{0edc}-\x{0edf}\x{0f00}\x{0f40}-\x{0f47}\x{0f49}-\x{0f6c}\x{0f88}-\x{0f8c}\x{1000}-\x{102a}\x{103f}\x{1050}-\x{1055}\x{105a}-\x{105d}\x{1061}\x{1065}\x{1066}\x{106e}-\x{1070}\x{1075}-\x{1081}\x{108e}\x{10a0}-\x{10c5}\x{10c7}\x{10cd}\x{10d0}-\x{10fa}\x{10fc}-\x{1248}\x{124a}-\x{124d}\x{1250}-\x{1256}\x{1258}\x{125a}-\x{125d}\x{1260}-\x{1288}\x{128a}-\x{128d}\x{1290}-\x{12b0}\x{12b2}-\x{12b5}\x{12b8}-\x{12be}\x{12c0}\x{12c2}-\x{12c5}\x{12c8}-\x{12d6}\x{12d8}-\x{1310}\x{1312}-\x{1315}\x{1318}-\x{135a}\x{1380}-\x{138f}\x{13a0}-\x{13f4}\x{1401}-\x{166c}\x{166f}-\x{167f}\x{1681}-\x{169a}\x{16a0}-\x{16ea}\x{16ee}-\x{16f0}\x{1700}-\x{170c}\x{170e}-\x{1711}\x{1720}-\x{1731}\x{1740}-\x{1751}\x{1760}-\x{176c}\x{176e}-\x{1770}\x{1780}-\x{17b3}\x{17d7}\x{17dc}\x{1820}-\x{1877}\x{1880}-\x{18a8}\x{18aa}\x{18b0}-\x{18f5}\x{1900}-\x{191c}\x{1950}-\x{196d}\x{1970}-\x{1974}\x{1980}-\x{19ab}\x{19c1}-\x{19c7}\x{1a00}-\x{1a16}\x{1a20}-\x{1a54}\x{1aa7}\x{1b05}-\x{1b33}\x{1b45}-\x{1b4b}\x{1b83}-\x{1ba0}\x{1bae}\x{1baf}\x{1bba}-\x{1be5}\x{1c00}-\x{1c23}\x{1c4d}-\x{1c4f}\x{1c5a}-\x{1c7d}\x{1ce9}-\x{1cec}\x{1cee}-\x{1cf1}\x{1cf5}\x{1cf6}\x{1d00}-\x{1dbf}\x{1e00}-\x{1f15}\x{1f18}-\x{1f1d}\x{1f20}-\x{1f45}\x{1f48}-\x{1f4d}\x{1f50}-\x{1f57}\x{1f59}\x{1f5b}\x{1f5d}\x{1f5f}-\x{1f7d}\x{1f80}-\x{1fb4}\x{1fb6}-\x{1fbc}\x{1fbe}\x{1fc2}-\x{1fc4}\x{1fc6}-\x{1fcc}\x{1fd0}-\x{1fd3}\x{1fd6}-\x{1fdb}\x{1fe0}-\x{1fec}\x{1ff2}-\x{1ff4}\x{1ff6}-\x{1ffc}\x{2071}\x{207f}\x{2090}-\x{209c}\x{2102}\x{2107}\x{210a}-\x{2113}\x{2115}\x{2119}-\x{211d}\x{2124}\x{2126}\x{2128}\x{212a}-\x{212d}\x{212f}-\x{2139}\x{213c}-\x{213f}\x{2145}-\x{2149}\x{214e}\x{2160}-\x{2188}\x{2c00}-\x{2c2e}\x{2c30}-\x{2c5e}\x{2c60}-\x{2ce4}\x{2ceb}-\x{2cee}\x{2cf2}\x{2cf3}\x{2d00}-\x{2d25}\x{2d27}\x{2d2d}\x{2d30}-\x{2d67}\x{2d6f}\x{2d80}-\x{2d96}\x{2da0}-\x{2da6}\x{2da8}-\x{2dae}\x{2db0}-\x{2db6}\x{2db8}-\x{2dbe}\x{2dc0}-\x{2dc6}\x{2dc8}-\x{2dce}\x{2dd0}-\x{2dd6}\x{2dd8}-\x{2dde}\x{2e2f}\x{3005}-\x{3007}\x{3021}-\x{3029}\x{3031}-\x{3035}\x{3038}-\x{303c}\x{3041}-\x{3096}\x{309d}-\x{309f}\x{30a1}-\x{30fa}\x{30fc}-\x{30ff}\x{3105}-\x{312d}\x{3131}-\x{318e}\x{31a0}-\x{31ba}\x{31f0}-\x{31ff}\x{3400}-\x{4db5}\x{4e00}-\x{9fcc}\x{a000}-\x{a48c}\x{a4d0}-\x{a4fd}\x{a500}-\x{a60c}\x{a610}-\x{a61f}\x{a62a}\x{a62b}\x{a640}-\x{a66e}\x{a67f}-\x{a697}\x{a6a0}-\x{a6ef}\x{a717}-\x{a71f}\x{a722}-\x{a788}\x{a78b}-\x{a78e}\x{a790}-\x{a793}\x{a7a0}-\x{a7aa}\x{a7f8}-\x{a801}\x{a803}-\x{a805}\x{a807}-\x{a80a}\x{a80c}-\x{a822}\x{a840}-\x{a873}\x{a882}-\x{a8b3}\x{a8f2}-\x{a8f7}\x{a8fb}\x{a90a}-\x{a925}\x{a930}-\x{a946}\x{a960}-\x{a97c}\x{a984}-\x{a9b2}\x{a9cf}\x{aa00}-\x{aa28}\x{aa40}-\x{aa42}\x{aa44}-\x{aa4b}\x{aa60}-\x{aa76}\x{aa7a}\x{aa80}-\x{aaaf}\x{aab1}\x{aab5}\x{aab6}\x{aab9}-\x{aabd}\x{aac0}\x{aac2}\x{aadb}-\x{aadd}\x{aae0}-\x{aaea}\x{aaf2}-\x{aaf4}\x{ab01}-\x{ab06}\x{ab09}-\x{ab0e}\x{ab11}-\x{ab16}\x{ab20}-\x{ab26}\x{ab28}-\x{ab2e}\x{abc0}-\x{abe2}\x{ac00}-\x{d7a3}\x{d7b0}-\x{d7c6}\x{d7cb}-\x{d7fb}\x{f900}-\x{fa6d}\x{fa70}-\x{fad9}\x{fb00}-\x{fb06}\x{fb13}-\x{fb17}\x{fb1d}\x{fb1f}-\x{fb28}\x{fb2a}-\x{fb36}\x{fb38}-\x{fb3c}\x{fb3e}\x{fb40}\x{fb41}\x{fb43}\x{fb44}\x{fb46}-\x{fbb1}\x{fbd3}-\x{fd3d}\x{fd50}-\x{fd8f}\x{fd92}-\x{fdc7}\x{fdf0}-\x{fdfb}\x{fe70}-\x{fe74}\x{fe76}-\x{fefc}\x{ff21}-\x{ff3a}\x{ff41}-\x{ff5a}\x{ff66}-\x{ffbe}\x{ffc2}-\x{ffc7}\x{ffca}-\x{ffcf}\x{ffd2}-\x{ffd7}\x{ffda}-\x{ffdc}0-9\x{0300}-\x{036f}\x{0483}-\x{0487}\x{0591}-\x{05bd}\x{05bf}\x{05c1}\x{05c2}\x{05c4}\x{05c5}\x{05c7}\x{0610}-\x{061a}\x{064b}-\x{0669}\x{0670}\x{06d6}-\x{06dc}\x{06df}-\x{06e4}\x{06e7}\x{06e8}\x{06ea}-\x{06ed}\x{06f0}-\x{06f9}\x{0711}\x{0730}-\x{074a}\x{07a6}-\x{07b0}\x{07c0}-\x{07c9}\x{07eb}-\x{07f3}\x{0816}-\x{0819}\x{081b}-\x{0823}\x{0825}-\x{0827}\x{0829}-\x{082d}\x{0859}-\x{085b}\x{08e4}-\x{08fe}\x{0900}-\x{0903}\x{093a}-\x{093c}\x{093e}-\x{094f}\x{0951}-\x{0957}\x{0962}\x{0963}\x{0966}-\x{096f}\x{0981}-\x{0983}\x{09bc}\x{09be}-\x{09c4}\x{09c7}\x{09c8}\x{09cb}-\x{09cd}\x{09d7}\x{09e2}\x{09e3}\x{09e6}-\x{09ef}\x{0a01}-\x{0a03}\x{0a3c}\x{0a3e}-\x{0a42}\x{0a47}\x{0a48}\x{0a4b}-\x{0a4d}\x{0a51}\x{0a66}-\x{0a71}\x{0a75}\x{0a81}-\x{0a83}\x{0abc}\x{0abe}-\x{0ac5}\x{0ac7}-\x{0ac9}\x{0acb}-\x{0acd}\x{0ae2}\x{0ae3}\x{0ae6}-\x{0aef}\x{0b01}-\x{0b03}\x{0b3c}\x{0b3e}-\x{0b44}\x{0b47}\x{0b48}\x{0b4b}-\x{0b4d}\x{0b56}\x{0b57}\x{0b62}\x{0b63}\x{0b66}-\x{0b6f}\x{0b82}\x{0bbe}-\x{0bc2}\x{0bc6}-\x{0bc8}\x{0bca}-\x{0bcd}\x{0bd7}\x{0be6}-\x{0bef}\x{0c01}-\x{0c03}\x{0c3e}-\x{0c44}\x{0c46}-\x{0c48}\x{0c4a}-\x{0c4d}\x{0c55}\x{0c56}\x{0c62}\x{0c63}\x{0c66}-\x{0c6f}\x{0c82}\x{0c83}\x{0cbc}\x{0cbe}-\x{0cc4}\x{0cc6}-\x{0cc8}\x{0cca}-\x{0ccd}\x{0cd5}\x{0cd6}\x{0ce2}\x{0ce3}\x{0ce6}-\x{0cef}\x{0d02}\x{0d03}\x{0d3e}-\x{0d44}\x{0d46}-\x{0d48}\x{0d4a}-\x{0d4d}\x{0d57}\x{0d62}\x{0d63}\x{0d66}-\x{0d6f}\x{0d82}\x{0d83}\x{0dca}\x{0dcf}-\x{0dd4}\x{0dd6}\x{0dd8}-\x{0ddf}\x{0df2}\x{0df3}\x{0e31}\x{0e34}-\x{0e3a}\x{0e47}-\x{0e4e}\x{0e50}-\x{0e59}\x{0eb1}\x{0eb4}-\x{0eb9}\x{0ebb}\x{0ebc}\x{0ec8}-\x{0ecd}\x{0ed0}-\x{0ed9}\x{0f18}\x{0f19}\x{0f20}-\x{0f29}\x{0f35}\x{0f37}\x{0f39}\x{0f3e}\x{0f3f}\x{0f71}-\x{0f84}\x{0f86}\x{0f87}\x{0f8d}-\x{0f97}\x{0f99}-\x{0fbc}\x{0fc6}\x{102b}-\x{103e}\x{1040}-\x{1049}\x{1056}-\x{1059}\x{105e}-\x{1060}\x{1062}-\x{1064}\x{1067}-\x{106d}\x{1071}-\x{1074}\x{1082}-\x{108d}\x{108f}-\x{109d}\x{135d}-\x{135f}\x{1712}-\x{1714}\x{1732}-\x{1734}\x{1752}\x{1753}\x{1772}\x{1773}\x{17b4}-\x{17d3}\x{17dd}\x{17e0}-\x{17e9}\x{180b}-\x{180d}\x{1810}-\x{1819}\x{18a9}\x{1920}-\x{192b}\x{1930}-\x{193b}\x{1946}-\x{194f}\x{19b0}-\x{19c0}\x{19c8}\x{19c9}\x{19d0}-\x{19d9}\x{1a17}-\x{1a1b}\x{1a55}-\x{1a5e}\x{1a60}-\x{1a7c}\x{1a7f}-\x{1a89}\x{1a90}-\x{1a99}\x{1b00}-\x{1b04}\x{1b34}-\x{1b44}\x{1b50}-\x{1b59}\x{1b6b}-\x{1b73}\x{1b80}-\x{1b82}\x{1ba1}-\x{1bad}\x{1bb0}-\x{1bb9}\x{1be6}-\x{1bf3}\x{1c24}-\x{1c37}\x{1c40}-\x{1c49}\x{1c50}-\x{1c59}\x{1cd0}-\x{1cd2}\x{1cd4}-\x{1ce8}\x{1ced}\x{1cf2}-\x{1cf4}\x{1dc0}-\x{1de6}\x{1dfc}-\x{1dff}\x{200c}\x{200d}\x{203f}\x{2040}\x{2054}\x{20d0}-\x{20dc}\x{20e1}\x{20e5}-\x{20f0}\x{2cef}-\x{2cf1}\x{2d7f}\x{2de0}-\x{2dff}\x{302a}-\x{302f}\x{3099}\x{309a}\x{a620}-\x{a629}\x{a66f}\x{a674}-\x{a67d}\x{a69f}\x{a6f0}\x{a6f1}\x{a802}\x{a806}\x{a80b}\x{a823}-\x{a827}\x{a880}\x{a881}\x{a8b4}-\x{a8c4}\x{a8d0}-\x{a8d9}\x{a8e0}-\x{a8f1}\x{a900}-\x{a909}\x{a926}-\x{a92d}\x{a947}-\x{a953}\x{a980}-\x{a983}\x{a9b3}-\x{a9c0}\x{a9d0}-\x{a9d9}\x{aa29}-\x{aa36}\x{aa43}\x{aa4c}\x{aa4d}\x{aa50}-\x{aa59}\x{aa7b}\x{aab0}\x{aab2}-\x{aab4}\x{aab7}\x{aab8}\x{aabe}\x{aabf}\x{aac1}\x{aaeb}-\x{aaef}\x{aaf5}\x{aaf6}\x{abe3}-\x{abea}\x{abec}\x{abed}\x{abf0}-\x{abf9}\x{fb1e}\x{fe00}-\x{fe0f}\x{fe20}-\x{fe26}\x{fe33}\x{fe34}\x{fe4d}-\x{fe4f}\x{ff10}-\x{ff19}\x{ff3f}]*\b'; - - /** - * Full list of JavaScript reserved words. - * Will be loaded from /data/js/keywords_reserved.txt - * - * @see https://mathiasbynens.be/notes/reserved-keywords - * @var string[] - */ - protected $keywordsReserved = array(); - - /** - * List of JavaScript reserved words that accept a <variable, value, ...> - * after them. Some end of lines are not the end of a statement, like with - * these keywords. - * - * E.g.: we shouldn't insert a ; after this else - * else - * console.log('this is quite fine') - * - * Will be loaded from /data/js/keywords_before.txt - * - * @var string[] - */ - protected $keywordsBefore = array(); - - /** - * List of JavaScript reserved words that accept a <variable, value, ...> - * before them. Some end of lines are not the end of a statement, like when - * continued by one of these keywords on the newline. - * - * E.g.: we shouldn't insert a ; before this instanceof - * variable - * instanceof String - * - * Will be loaded from /data/js/keywords_after.txt - * - * @var string[] - */ - protected $keywordsAfter = array(); - - /** - * List of JavaScript operators that accept a <variable, value, ...> after - * them. Some end of lines are not the end of a statement, like with these - * operators. - - * - * Note: Most operators are fine, we've only removed !, ++ and --. - * There can't be a newline separating ! and whatever it is negating. - * ++ & -- have to be joined with the value they're in-/decrementing. - * - * Will be loaded from /data/js/operators_before.txt - * - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators - * @var string[] - */ - protected $operatorsBefore = array(); - - /** - * List of JavaScript operators that accept a <variable, value, ...> before - * them. Some end of lines are not the end of a statement, like when - * continued by one of these operators on the newline. - * - * Note: Most operators are fine, we've only removed ), ], ++ and --. - * ++ & -- have to be joined with the value they're in-/decrementing. - * ) & ] are "special" in that they have lots or usecases. () for example - * is used for function calls, for grouping, in if () and for (), ... - * - * Will be loaded from /data/js/operators_after.txt - * - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators - * @var string[] - */ - protected $operatorsAfter = array(); - - /** - * {@inheritDoc} - */ - public function __construct() - { - call_user_func_array(array('parent', '__construct'), func_get_args()); - - $dataDir = JPATH_ADMINISTRATOR.'/components/com_###component###/helpers/'; - $options = FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES; - $this->keywordsReserved = file($dataDir.'keywords_reserved.txt', $options); - $this->keywordsBefore = file($dataDir.'keywords_before.txt', $options); - $this->keywordsAfter = file($dataDir.'keywords_after.txt', $options); - $this->operatorsBefore = file($dataDir.'operators_before.txt', $options); - $this->operatorsAfter = file($dataDir.'operators_after.txt', $options); - } - - /** - * Minify the data. - * Perform JS optimizations. - * - * @param string[optional] $path Path to write the data to. - * @return string The minified data. - */ - public function execute($path = null) - { - $content = ''; - - // loop files - foreach ($this->data as $source => $js) { - /* - * Combine js: separating the scripts by a ; - * I'm also adding a newline: it will be eaten when whitespace is - * stripped, but we need to make sure we're not just appending - * a new script right after a previous script that ended with a - * singe-line comment on the last line (in which case it would also - * be seen as part of that comment) - */ - $content .= $js."\n;"; - } - - /* - * Let's first take out strings, comments and regular expressions. - * All of these can contain JS code-like characters, and we should make - * sure any further magic ignores anything inside of these. - * - * Consider this example, where we should not strip any whitespace: - * var str = "a test"; - * - * Comments will be removed altogether, strings and regular expressions - * will be replaced by placeholder text, which we'll restore later. - */ - $this->extractStrings('\'"`'); - $this->stripComments(); - $this->extractRegex(); - $content = $this->replace($content); - - $content = $this->stripWhitespace($content); - $content = $this->propertyNotation($content); - $content = $this->shortenBools($content); - - /* - * Earlier, we extracted strings & regular expressions and replaced them - * with placeholder text. This will restore them. - */ - $content = $this->restoreExtractedData($content); - - return $content; - } - - /** - * Strip comments from source code. - */ - protected function stripComments() - { - // single-line comments - $this->registerPattern('/\/\/.*$/m', ''); - - // multi-line comments - $this->registerPattern('/\/\*.*?\*\//s', ''); - } - - /** - * JS can have /-delimited regular expressions, like: /ab+c/.match(string) - * - * The content inside the regex can contain characters that may be confused - * for JS code: e.g. it could contain whitespace it needs to match & we - * don't want to strip whitespace in there. - * - * The regex can be pretty simple: we don't have to care about comments, - * (which also use slashes) because stripComments() will have stripped those - * already. - * - * This method will replace all string content with simple REGEX# - * placeholder text, so we've rid all regular expressions from characters - * that may be misinterpreted. Original regex content will be saved in - * $this->extracted and after doing all other minifying, we can restore the - * original content via restoreRegex() - */ - protected function extractRegex() - { - // PHP only supports $this inside anonymous functions since 5.4 - $minifier = $this; - $callback = function ($match) use ($minifier) { - $count = count($minifier->extracted); - $placeholder = '/'.$count.'/'; - $minifier->extracted[$placeholder] = '/'.$match[1].'/'; - - return $placeholder; - }; - - // it's a regex if we can find an opening (not preceded by variable, - // value or similar) & (non-escaped) closing /, - $before = $this->getOperatorsForRegex($this->operatorsBefore, '/'); - $this->registerPattern('/^\s*+\K\/(.*?(?<!\\\\)(\\\\\\\\)*+)\//', $callback); - $this->registerPattern('/(?:'.implode('|', $before).')\s*+\K\/(.*?(?<!\\\\)(\\\\\\\\)*+)\//', $callback); - } - - /** - * Strip whitespace. - * - * We won't strip *all* whitespace, but as much as possible. The thing that - * we'll preserve are newlines we're unsure about. - * JavaScript doesn't require statements to be terminated with a semicolon. - * It will automatically fix missing semicolons with ASI (automatic semi- - * colon insertion) at the end of line causing errors (without semicolon.) - * - * Because it's sometimes hard to tell if a newline is part of a statement - * that should be terminated or not, we'll just leave some of them alone. - * - * @param string $content The content to strip the whitespace for. - * @return string - */ - protected function stripWhitespace($content) - { - // uniform line endings, make them all line feed - $content = str_replace(array("\r\n", "\r"), "\n", $content); - - // collapse all non-line feed whitespace into a single space - $content = preg_replace('/[^\S\n]+/', ' ', $content); - - // strip leading & trailing whitespace - $content = str_replace(array(" \n", "\n "), "\n", $content); - - // collapse consecutive line feeds into just 1 - $content = preg_replace('/\n+/', "\n", $content); - - // strip whitespace that ends in (or next line begin with) an operator - // that allows statements to be broken up over multiple lines - $before = $this->getOperatorsForRegex($this->operatorsBefore, '/'); - $after = $this->getOperatorsForRegex($this->operatorsAfter, '/'); - $content = preg_replace('/('.implode('|', $before).')\s+/', '\\1', $content); - $content = preg_replace('/\s+('.implode('|', $after).')/', '\\1', $content); - - // make sure + and - can't be mistaken for, or joined into ++ and -- - $content = preg_replace('/(?<![\+\-])\s*([\+\-])(?![\+\-])/', '\\1', $content); - $content = preg_replace('/(?<![\+\-])([\+\-])\s*(?![\+\-])/', '\\1', $content); - - /* - * We didn't strip whitespace after a couple of operators because they - * could be used in different contexts and we can't be sure it's ok to - * strip the newlines. However, we can safely strip any non-line feed - * whitespace that follows them. - */ - $operators = $this->getOperatorsForRegex($this->operatorsBefore + $this->operatorsAfter, '/'); - $content = preg_replace('/([\}\)\]])[^\S\n]+(?!'.implode('|', $operators).')/', '\\1', $content); - - // collapse whitespace around reserved words into single space - $before = $this->getKeywordsForRegex($this->keywordsBefore, '/'); - $after = $this->getKeywordsForRegex($this->keywordsAfter, '/'); - $content = preg_replace('/(^|[;\}\s])\K('.implode('|', $before).')\s+/', '\\2 ', $content); - $content = preg_replace('/\s+('.implode('|', $after).')(?=([;\{\s]|$))/', ' \\1', $content); - - // get rid of double semicolons, except when followed by closing-), - // where semicolons can be used like: "for(v=1,_=b;;)" - $content = preg_replace('/;+(?!\))/', ';', $content); - - /* - * Next, we'll be removing all semicolons where ASI kicks in. - * for-loops however, can have an empty body (ending in only a - * semicolon), like: `for(i=1;i<3;i++);` - * Here, nothing happens during the loop; it's just used to keep - * increasing `i`. With that ; omitted, the next line would be expected - * to be the for-loop's body... - * I'm going to double that semicolon (if any) so after the next line, - * which strips semicolons here & there, we're still left with this one. - */ - $content = preg_replace('/(for\([^;]*;[^;]*;[^;\{]*\));(\}|$)/s', '\\1;;\\2', $content); - - /* - * We also don't really want to terminate statements followed by closing - * curly braces (which we've ignored completely up until now) or end-of- - * script: ASI will kick in here & we're all about minifying. - * Semicolons at beginning of the file don't make any sense either. - */ - $content = preg_replace('/;(\}|$)/s', '\\1', $content); - $content = ltrim($content, ';'); - - // get rid of remaining whitespace af beginning/end - return trim($content); - } - - /** - * We'll strip whitespace around certain operators with regular expressions. - * This will prepare the given array by escaping all characters. - * - * @param string[] $operators - * @param string $delimiter - * @return string[] - */ - protected function getOperatorsForRegex(array $operators, $delimiter = '/') - { - // escape operators for use in regex - $delimiter = array_fill(0, count($operators), $delimiter); - $escaped = array_map('preg_quote', $operators, $delimiter); - - $operators = array_combine($operators, $escaped); - - // ignore + & - for now, they'll get special treatment - unset($operators['+'], $operators['-']); - - // dot can not just immediately follow a number; it can be confused for - // decimal point, or calling a method on it, e.g. 42 .toString() - $operators['.'] = '(?<![0-9]\s)\.'; - - return $operators; - } - - /** - * We'll strip whitespace around certain keywords with regular expressions. - * This will prepare the given array by escaping all characters. - * - * @param string[] $keywords - * @param string $delimiter - * @return string[] - */ - protected function getKeywordsForRegex(array $keywords, $delimiter = '/') - { - // escape keywords for use in regex - $delimiter = array_fill(0, count($keywords), $delimiter); - $escaped = array_map('preg_quote', $keywords, $delimiter); - - // add word boundaries - array_walk($keywords, function ($value) { - return '\b'.$value.'\b'; - }); - - $keywords = array_combine($keywords, $escaped); - - return $keywords; - } - - /** - * Replaces all occurrences of array['key'] by array.key - * - * @param string $content - * @return string - */ - protected function propertyNotation($content) - { - // PHP only supports $this inside anonymous functions since 5.4 - $minifier = $this; - $keywords = $this->keywordsReserved; - $callback = function ($match) use ($minifier, $keywords) { - $property = trim($minifier->extracted[$match[1]], '\'"'); - - /* - * Check if the property is a reserved keyword. In this context (as - * property of an object literal/array) it shouldn't matter, but IE8 - * freaks out with "Expected identifier". - */ - if (in_array($property, $keywords)) { - return $match[0]; - } - - /* - * See if the property is in a variable-like format (e.g. - * array['key-here'] can't be replaced by array.key-here since '-' - * is not a valid character there. - */ - if (!preg_match('/^'.$minifier::REGEX_VARIABLE.'$/u', $property)) { - return $match[0]; - } - - return '.'.$property; - }; - - /* - * Figure out if previous character is a variable name (of the array - * we want to use property notation on) - this is to make sure - * standalone ['value'] arrays aren't confused for keys-of-an-array. - * We can (and only have to) check the last character, because PHP's - * regex implementation doesn't allow un-fixed-length lookbehind - * assertions. - */ - preg_match('/(\[[^\]]+\])[^\]]*$/', static::REGEX_VARIABLE, $previousChar); - $previousChar = $previousChar[1]; - - /* - * Make sure word preceding the ['value'] is not a keyword, e.g. - * return['x']. Because -again- PHP's regex implementation doesn't allow - * un-fixed-length lookbehind assertions, I'm just going to do a lot of - * separate lookbehind assertions, one for each keyword. - */ - $keywords = $this->getKeywordsForRegex($keywords); - $keywords = '(?<!'.implode(')(?<!', $keywords).')'; - return preg_replace_callback('/(?<='.$previousChar.'|\])'.$keywords.'\[(([\'"])[0-9]+\\2)\]/u', $callback, $content); - } - - /** - * Replaces true & false by !0 and !1. - * - * @param string $content - * @return string - */ - protected function shortenBools($content) - { - $content = preg_replace('/\btrue\b/', '!0', $content); - $content = preg_replace('/\bfalse\b/', '!1', $content); - - // for(;;) is exactly the same as while(true) - $content = preg_replace('/\bwhile\(!0\)/', 'for(;;)', $content); - - return $content; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_after.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_after.txt deleted file mode 100644 index 7ad651f54..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_after.txt +++ /dev/null @@ -1,7 +0,0 @@ -in -public -extends -private -protected -implements -instanceof \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_before.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_before.txt deleted file mode 100644 index c63026039..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_before.txt +++ /dev/null @@ -1,28 +0,0 @@ -do -in -let -new -var -case -else -enum -void -with -class -const -yield -delete -export -import -public -return -static -typeof -extends -package -private -continue -function -protected -implements -instanceof \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_reserved.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_reserved.txt deleted file mode 100644 index 626306fe5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/keywords_reserved.txt +++ /dev/null @@ -1,47 +0,0 @@ -do -if -in -for -let -new -try -var -case -else -enum -eval -null -this -true -void -with -break -catch -class -const -false -super -throw -while -yield -delete -export -import -public -return -static -switch -typeof -default -extends -finally -package -private -continue -debugger -function -arguments -interface -protected -implements -instanceof \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/minify.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/minify.php deleted file mode 100644 index 15a2bcc77..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/minify.php +++ /dev/null @@ -1,372 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Abstract minifier class. - * - * Please report bugs on https://github.com/matthiasmullie/minify/issues - * - * @author Matthias Mullie <minify@mullie.eu> - * - * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved. - * @license MIT License - */ -abstract class Minify -{ - /** - * The data to be minified - * - * @var string[] - */ - protected $data = array(); - - /** - * Array of patterns to match. - * - * @var string[] - */ - protected $patterns = array(); - - /** - * This array will hold content of strings and regular expressions that have - * been extracted from the JS source code, so we can reliably match "code", - * without having to worry about potential "code-like" characters inside. - * - * @var string[] - */ - public $extracted = array(); - - /** - * Init the minify class - optionally, code may be passed along already. - */ - public function __construct(/* $data = null, ... */) - { - // it's possible to add the source through the constructor as well ;) - if (func_num_args()) { - call_user_func_array(array($this, 'add'), func_get_args()); - } - } - - /** - * Add a file or straight-up code to be minified. - * - * @param string $data - */ - public function add($data /* $data = null, ... */) - { - // bogus "usage" of parameter $data: scrutinizer warns this variable is - // not used (we're using func_get_args instead to support overloading), - // but it still needs to be defined because it makes no sense to have - // this function without argument :) - $args = array($data) + func_get_args(); - - // this method can be overloaded - foreach ($args as $data) { - // redefine var - $data = (string) $data; - - // load data - $value = $this->load($data); - $key = ($data != $value) ? $data : count($this->data); - - // store data - $this->data[$key] = $value; - } - } - - /** - * Load data. - * - * @param string $data Either a path to a file or the content itself. - * @return string - */ - protected function load($data) - { - // check if the data is a file - if (@file_exists($data) && is_file($data)) { - $data = @file_get_contents($data); - - // strip BOM, if any - if (substr($data, 0, 3) == "\xef\xbb\xbf") { - $data = substr($data, 3); - } - } - - return $data; - } - - /** - * Save to file - * - * @param string $content The minified data. - * @param string $path The path to save the minified data to. - * @throws Exception - */ - protected function save($content, $path) - { - // create file & open for writing - if (($handler = @fopen($path, 'w')) === false) { - throw new Exception('The file "'.$path.'" could not be opened. Check if PHP has enough permissions.'); - } - - // write to file - if (@fwrite($handler, $content) === false) { - throw new Exception('The file "'.$path.'" could not be written to. Check if PHP has enough permissions.'); - } - - // close the file - @fclose($handler); - } - - /** - * Minify the data & (optionally) saves it to a file. - * - * @param string[optional] $path Path to write the data to. - * @return string The minified data. - */ - public function minify($path = null) - { - $content = $this->execute($path); - - // save to path - if ($path !== null) { - $this->save($content, $path); - } - - return $content; - } - - /** - * Minify & gzip the data & (optionally) saves it to a file. - * - * @param string[optional] $path Path to write the data to. - * @param int[optional] $level Compression level, from 0 to 9. - * @return string The minified & gzipped data. - */ - public function gzip($path = null, $level = 9) - { - $content = $this->execute($path); - $content = gzencode($content, $level, FORCE_GZIP); - - // save to path - if ($path !== null) { - $this->save($content, $path); - } - - return $content; - } - - /** - * Minify the data. - * - * @param string[optional] $path Path to write the data to. - * @return string The minified data. - */ - abstract protected function execute($path = null); - - /** - * Register a pattern to execute against the source content. - * - * @param string $pattern PCRE pattern. - * @param string|callable $replacement Replacement value for matched pattern. - * @throws Exception - */ - protected function registerPattern($pattern, $replacement = '') - { - // study the pattern, we'll execute it more than once - $pattern .= 'S'; - - $this->patterns[] = array($pattern, $replacement); - } - - /** - * We can't "just" run some regular expressions against JavaScript: it's a - * complex language. E.g. having an occurrence of // xyz would be a comment, - * unless it's used within a string. Of you could have something that looks - * like a 'string', but inside a comment. - * The only way to accurately replace these pieces is to traverse the JS one - * character at a time and try to find whatever starts first. - * - * @param string $content The content to replace patterns in. - * @return string The (manipulated) content. - */ - protected function replace($content) - { - $processed = ''; - $positions = array_fill(0, count($this->patterns), -1); - $matches = array(); - - while ($content) { - // find first match for all patterns - foreach ($this->patterns as $i => $pattern) { - list($pattern, $replacement) = $pattern; - - // no need to re-run matches that are still in the part of the - // content that hasn't been processed - if ($positions[$i] >= 0) { - continue; - } - - $match = null; - if (preg_match($pattern, $content, $match)) { - $matches[$i] = $match; - - // we'll store the match position as well; that way, we - // don't have to redo all preg_matches after changing only - // the first (we'll still know where those others are) - $positions[$i] = strpos($content, $match[0]); - } else { - // if the pattern couldn't be matched, there's no point in - // executing it again in later runs on this same content; - // ignore this one until we reach end of content - unset($matches[$i]); - $positions[$i] = strlen($content); - } - } - - // no more matches to find: everything's been processed, break out - if (!$matches) { - $processed .= $content; - break; - } - - // see which of the patterns actually found the first thing (we'll - // only want to execute that one, since we're unsure if what the - // other found was not inside what the first found) - $discardLength = min($positions); - $firstPattern = array_search($discardLength, $positions); - $match = $matches[$firstPattern][0]; - - // execute the pattern that matches earliest in the content string - list($pattern, $replacement) = $this->patterns[$firstPattern]; - $replacement = $this->replacePattern($pattern, $replacement, $content); - - // figure out which part of the string was unmatched; that's the - // part we'll execute the patterns on again next - $content = substr($content, $discardLength); - $unmatched = (string) substr($content, strpos($content, $match) + strlen($match)); - - // move the replaced part to $processed and prepare $content to - // again match batch of patterns against - $processed .= substr($replacement, 0, strlen($replacement) - strlen($unmatched)); - $content = $unmatched; - - // first match has been replaced & that content is to be left alone, - // the next matches will start after this replacement, so we should - // fix their offsets - foreach ($positions as $i => $position) { - $positions[$i] -= $discardLength + strlen($match); - } - } - - return $processed; - } - - /** - * This is where a pattern is matched against $content and the matches - * are replaced by their respective value. - * This function will be called plenty of times, where $content will always - * move up 1 character. - * - * @param string $pattern Pattern to match. - * @param string|callable $replacement Replacement value. - * @param string $content Content to match pattern against. - * @return string - */ - protected function replacePattern($pattern, $replacement, $content) - { - if (is_callable($replacement)) { - return preg_replace_callback($pattern, $replacement, $content, 1, $count); - } else { - return preg_replace($pattern, $replacement, $content, 1, $count); - } - } - - /** - * Strings are a pattern we need to match, in order to ignore potential - * code-like content inside them, but we just want all of the string - * content to remain untouched. - * - * This method will replace all string content with simple STRING# - * placeholder text, so we've rid all strings from characters that may be - * misinterpreted. Original string content will be saved in $this->extracted - * and after doing all other minifying, we can restore the original content - * via restoreStrings() - * - * @param string[optional] $chars - */ - protected function extractStrings($chars = '\'"') - { - // PHP only supports $this inside anonymous functions since 5.4 - $minifier = $this; - $callback = function ($match) use ($minifier) { - if (!$match[1]) { - /* - * Empty strings need no placeholder; they can't be confused for - * anything else anyway. - * But we still needed to match them, for the extraction routine - * to skip over this particular string. - */ - return $match[0]; - } - - $count = count($minifier->extracted); - $placeholder = $match[1].$count.$match[1]; - $minifier->extracted[$placeholder] = $match[1].$match[2].$match[1]; - - return $placeholder; - }; - - /* - * The \\ messiness explained: - * * Don't count ' or " as end-of-string if it's escaped (has backslash - * in front of it) - * * Unless... that backslash itself is escaped (another leading slash), - * in which case it's no longer escaping the ' or " - * * So there can be either no backslash, or an even number - * * multiply all of that times 4, to account for the escaping that has - * to be done to pass the backslash into the PHP string without it being - * considered as escape-char (times 2) and to get it in the regex, - * escaped (times 2) - */ - $this->registerPattern('/(['.$chars.'])(.*?((?<!\\\\)|\\\\\\\\+))\\1/s', $callback); - } - - /** - * This method will restore all extracted data (strings, regexes) that were - * replaced with placeholder text in extract*(). The original content was - * saved in $this->extracted. - * - * @param string $content - * @return string - */ - protected function restoreExtractedData($content) - { - if (!$this->extracted) { - // nothing was extracted, nothing to restore - return $content; - } - - $content = strtr($content, $this->extracted); - - $this->extracted = array(); - - return $content; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/mustache.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/mustache.js deleted file mode 100644 index e6f32423e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/mustache.js +++ /dev/null @@ -1,536 +0,0 @@ -/*! - * mustache.js - Logic-less {{mustache}} templates with JavaScript - * https://github.com/janl/mustache.js - */ - -/*global define: false*/ - -(function (root, factory) { - if (typeof exports === "object" && exports) { - factory(exports); // CommonJS - } else { - var mustache = {}; - factory(mustache); - if (typeof define === "function" && define.amd) { - define(mustache); // AMD - } else { - root.Mustache = mustache; // <script> - } - } -}(this, function (mustache) { - - var whiteRe = /\s*/; - var spaceRe = /\s+/; - var nonSpaceRe = /\S/; - var eqRe = /\s*=/; - var curlyRe = /\s*\}/; - var tagRe = /#|\^|\/|>|\{|&|=|!/; - - // Workaround for https://issues.apache.org/jira/browse/COUCHDB-577 - // See https://github.com/janl/mustache.js/issues/189 - var RegExp_test = RegExp.prototype.test; - function testRegExp(re, string) { - return RegExp_test.call(re, string); - } - - function isWhitespace(string) { - return !testRegExp(nonSpaceRe, string); - } - - var Object_toString = Object.prototype.toString; - var isArray = Array.isArray || function (obj) { - return Object_toString.call(obj) === '[object Array]'; - }; - - function escapeRegExp(string) { - return string.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&"); - } - - var entityMap = { - "&": "&amp;", - "<": "&lt;", - ">": "&gt;", - '"': '&quot;', - "'": '&#39;', - "/": '&#x2F;' - }; - - function escapeHtml(string) { - return String(string).replace(/[&<>"'\/]/g, function (s) { - return entityMap[s]; - }); - } - - function Scanner(string) { - this.string = string; - this.tail = string; - this.pos = 0; - } - - /** - * Returns `true` if the tail is empty (end of string). - */ - Scanner.prototype.eos = function () { - return this.tail === ""; - }; - - /** - * Tries to match the given regular expression at the current position. - * Returns the matched text if it can match, the empty string otherwise. - */ - Scanner.prototype.scan = function (re) { - var match = this.tail.match(re); - - if (match && match.index === 0) { - this.tail = this.tail.substring(match[0].length); - this.pos += match[0].length; - return match[0]; - } - - return ""; - }; - - /** - * Skips all text until the given regular expression can be matched. Returns - * the skipped string, which is the entire tail if no match can be made. - */ - Scanner.prototype.scanUntil = function (re) { - var match, pos = this.tail.search(re); - - switch (pos) { - case -1: - match = this.tail; - this.pos += this.tail.length; - this.tail = ""; - break; - case 0: - match = ""; - break; - default: - match = this.tail.substring(0, pos); - this.tail = this.tail.substring(pos); - this.pos += pos; - } - - return match; - }; - - function Context(view, parent) { - this.view = view || {}; - this.parent = parent; - this._cache = {}; - } - - Context.make = function (view) { - return (view instanceof Context) ? view : new Context(view); - }; - - Context.prototype.push = function (view) { - return new Context(view, this); - }; - - Context.prototype.lookup = function (name) { - var value = this._cache[name]; - - if (!value) { - if (name == '.') { - value = this.view; - } else { - var context = this; - - while (context) { - if (name.indexOf('.') > 0) { - value = context.view; - var names = name.split('.'), i = 0; - while (value && i < names.length) { - value = value[names[i++]]; - } - } else { - value = context.view[name]; - } - - if (value != null) break; - - context = context.parent; - } - } - - this._cache[name] = value; - } - - if (typeof value === 'function') value = value.call(this.view); - - return value; - }; - - function Writer() { - this.clearCache(); - } - - Writer.prototype.clearCache = function () { - this._cache = {}; - this._partialCache = {}; - }; - - Writer.prototype.compile = function (template, tags) { - var fn = this._cache[template]; - - if (!fn) { - var tokens = mustache.parse(template, tags); - fn = this._cache[template] = this.compileTokens(tokens, template); - } - - return fn; - }; - - Writer.prototype.compilePartial = function (name, template, tags) { - var fn = this.compile(template, tags); - this._partialCache[name] = fn; - return fn; - }; - - Writer.prototype.getPartial = function (name) { - if (!(name in this._partialCache) && this._loadPartial) { - this.compilePartial(name, this._loadPartial(name)); - } - - return this._partialCache[name]; - }; - - Writer.prototype.compileTokens = function (tokens, template) { - var self = this; - return function (view, partials) { - if (partials) { - if (typeof partials === 'function') { - self._loadPartial = partials; - } else { - for (var name in partials) { - self.compilePartial(name, partials[name]); - } - } - } - - return renderTokens(tokens, self, Context.make(view), template); - }; - }; - - Writer.prototype.render = function (template, view, partials) { - return this.compile(template)(view, partials); - }; - - /** - * Low-level function that renders the given `tokens` using the given `writer` - * and `context`. The `template` string is only needed for templates that use - * higher-order sections to extract the portion of the original template that - * was contained in that section. - */ - function renderTokens(tokens, writer, context, template) { - var buffer = ''; - - var token, tokenValue, value; - for (var i = 0, len = tokens.length; i < len; ++i) { - token = tokens[i]; - tokenValue = token[1]; - - switch (token[0]) { - case '#': - value = context.lookup(tokenValue); - - if (typeof value === 'object') { - if (isArray(value)) { - for (var j = 0, jlen = value.length; j < jlen; ++j) { - buffer += renderTokens(token[4], writer, context.push(value[j]), template); - } - } else if (value) { - buffer += renderTokens(token[4], writer, context.push(value), template); - } - } else if (typeof value === 'function') { - var text = template == null ? null : template.slice(token[3], token[5]); - value = value.call(context.view, text, function (template) { - return writer.render(template, context); - }); - if (value != null) buffer += value; - } else if (value) { - buffer += renderTokens(token[4], writer, context, template); - } - - break; - case '^': - value = context.lookup(tokenValue); - - // Use JavaScript's definition of falsy. Include empty arrays. - // See https://github.com/janl/mustache.js/issues/186 - if (!value || (isArray(value) && value.length === 0)) { - buffer += renderTokens(token[4], writer, context, template); - } - - break; - case '>': - value = writer.getPartial(tokenValue); - if (typeof value === 'function') buffer += value(context); - break; - case '&': - value = context.lookup(tokenValue); - if (value != null) buffer += value; - break; - case 'name': - value = context.lookup(tokenValue); - if (value != null) buffer += mustache.escape(value); - break; - case 'text': - buffer += tokenValue; - break; - } - } - - return buffer; - } - - /** - * Forms the given array of `tokens` into a nested tree structure where - * tokens that represent a section have two additional items: 1) an array of - * all tokens that appear in that section and 2) the index in the original - * template that represents the end of that section. - */ - function nestTokens(tokens) { - var tree = []; - var collector = tree; - var sections = []; - - var token; - for (var i = 0, len = tokens.length; i < len; ++i) { - token = tokens[i]; - switch (token[0]) { - case '#': - case '^': - sections.push(token); - collector.push(token); - collector = token[4] = []; - break; - case '/': - var section = sections.pop(); - section[5] = token[2]; - collector = sections.length > 0 ? sections[sections.length - 1][4] : tree; - break; - default: - collector.push(token); - } - } - - return tree; - } - - /** - * Combines the values of consecutive text tokens in the given `tokens` array - * to a single token. - */ - function squashTokens(tokens) { - var squashedTokens = []; - - var token, lastToken; - for (var i = 0, len = tokens.length; i < len; ++i) { - token = tokens[i]; - if (token) { - if (token[0] === 'text' && lastToken && lastToken[0] === 'text') { - lastToken[1] += token[1]; - lastToken[3] = token[3]; - } else { - lastToken = token; - squashedTokens.push(token); - } - } - } - - return squashedTokens; - } - - function escapeTags(tags) { - return [ - new RegExp(escapeRegExp(tags[0]) + "\\s*"), - new RegExp("\\s*" + escapeRegExp(tags[1])) - ]; - } - - /** - * Breaks up the given `template` string into a tree of token objects. If - * `tags` is given here it must be an array with two string values: the - * opening and closing tags used in the template (e.g. ["<%", "%>"]). Of - * course, the default is to use mustaches (i.e. Mustache.tags). - */ - function parseTemplate(template, tags) { - template = template || ''; - tags = tags || mustache.tags; - - if (typeof tags === 'string') tags = tags.split(spaceRe); - if (tags.length !== 2) throw new Error('Invalid tags: ' + tags.join(', ')); - - var tagRes = escapeTags(tags); - var scanner = new Scanner(template); - - var sections = []; // Stack to hold section tokens - var tokens = []; // Buffer to hold the tokens - var spaces = []; // Indices of whitespace tokens on the current line - var hasTag = false; // Is there a {{tag}} on the current line? - var nonSpace = false; // Is there a non-space char on the current line? - - // Strips all whitespace tokens array for the current line - // if there was a {{#tag}} on it and otherwise only space. - function stripSpace() { - if (hasTag && !nonSpace) { - while (spaces.length) { - delete tokens[spaces.pop()]; - } - } else { - spaces = []; - } - - hasTag = false; - nonSpace = false; - } - - var start, type, value, chr, token; - while (!scanner.eos()) { - start = scanner.pos; - - // Match any text between tags. - value = scanner.scanUntil(tagRes[0]); - if (value) { - for (var i = 0, len = value.length; i < len; ++i) { - chr = value.charAt(i); - - if (isWhitespace(chr)) { - spaces.push(tokens.length); - } else { - nonSpace = true; - } - - tokens.push(['text', chr, start, start + 1]); - start += 1; - - // Check for whitespace on the current line. - if (chr == '\n') stripSpace(); - } - } - - // Match the opening tag. - if (!scanner.scan(tagRes[0])) break; - hasTag = true; - - // Get the tag type. - type = scanner.scan(tagRe) || 'name'; - scanner.scan(whiteRe); - - // Get the tag value. - if (type === '=') { - value = scanner.scanUntil(eqRe); - scanner.scan(eqRe); - scanner.scanUntil(tagRes[1]); - } else if (type === '{') { - value = scanner.scanUntil(new RegExp('\\s*' + escapeRegExp('}' + tags[1]))); - scanner.scan(curlyRe); - scanner.scanUntil(tagRes[1]); - type = '&'; - } else { - value = scanner.scanUntil(tagRes[1]); - } - - // Match the closing tag. - if (!scanner.scan(tagRes[1])) throw new Error('Unclosed tag at ' + scanner.pos); - - token = [type, value, start, scanner.pos]; - tokens.push(token); - - if (type === '#' || type === '^') { - sections.push(token); - } else if (type === '/') { - // Check section nesting. - if (sections.length === 0) throw new Error('Unopened section "' + value + '" at ' + start); - var openSection = sections.pop(); - if (openSection[1] !== value) throw new Error('Unclosed section "' + openSection[1] + '" at ' + start); - } else if (type === 'name' || type === '{' || type === '&') { - nonSpace = true; - } else if (type === '=') { - // Set the tags for the next time around. - tags = value.split(spaceRe); - if (tags.length !== 2) throw new Error('Invalid tags at ' + start + ': ' + tags.join(', ')); - tagRes = escapeTags(tags); - } - } - - // Make sure there are no open sections when we're done. - var openSection = sections.pop(); - if (openSection) throw new Error('Unclosed section "' + openSection[1] + '" at ' + scanner.pos); - - tokens = squashTokens(tokens); - - return nestTokens(tokens); - } - - mustache.name = "mustache.js"; - mustache.version = "0.7.2"; - mustache.tags = ["{{", "}}"]; - - mustache.Scanner = Scanner; - mustache.Context = Context; - mustache.Writer = Writer; - - mustache.parse = parseTemplate; - - // Export the escaping function so that the user may override it. - // See https://github.com/janl/mustache.js/issues/244 - mustache.escape = escapeHtml; - - // All Mustache.* functions use this writer. - var defaultWriter = new Writer(); - - /** - * Clears all cached templates and partials in the default writer. - */ - mustache.clearCache = function () { - return defaultWriter.clearCache(); - }; - - /** - * Compiles the given `template` to a reusable function using the default - * writer. - */ - mustache.compile = function (template, tags) { - return defaultWriter.compile(template, tags); - }; - - /** - * Compiles the partial with the given `name` and `template` to a reusable - * function using the default writer. - */ - mustache.compilePartial = function (name, template, tags) { - return defaultWriter.compilePartial(name, template, tags); - }; - - /** - * Compiles the given array of tokens (the output of a parse) to a reusable - * function using the default writer. - */ - mustache.compileTokens = function (tokens, template) { - return defaultWriter.compileTokens(tokens, template); - }; - - /** - * Renders the `template` with the given `view` and `partials` using the - * default writer. - */ - mustache.render = function (template, view, partials) { - return defaultWriter.render(template, view, partials); - }; - - // This is here for backwards compatibility with 0.4.x. - mustache.to_html = function (template, view, partials, send) { - var result = mustache.render(template, view, partials); - - if (typeof send === "function") { - send(result); - } else { - return result; - } - }; - -})); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/offline.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/offline.min.js deleted file mode 100644 index 00cb46dc7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/offline.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! offline 0.4.7 */ -(function(){var a,b,c,d,e,f,g;d=function(a,b){var c,d,e,f;f=[];for(d in b.prototype)try{e=b.prototype[d],null==a[d]&&"function"!=typeof e?f.push(a[d]=e):f.push(void 0)}catch(g){c=g}return f},a={},null==a.options&&(a.options={}),c={checks:{xhr:{url:function(){return"/offline-test-request/"+Math.floor(1e9*Math.random())}},image:{url:function(){return"https://dqakt69vkj09v.cloudfront.net/are-we-online.gif?_="+Math.floor(1e9*Math.random())}},active:"image"},checkOnLoad:!1,interceptRequests:!0,reconnect:!0},e=function(a,b){var c,d,e,f,g,h;for(c=a,f=b.split("."),d=g=0,h=f.length;h>g&&(e=f[d],c=c[e],"object"==typeof c);d=++g);return d===f.length-1?c:void 0},a.getOption=function(b){var d,f;return d=null!=(f=e(a.options,b))?f:e(c,b),"function"==typeof d?d():d},"function"==typeof window.addEventListener&&window.addEventListener("online",function(){return setTimeout(a.confirmUp,100)},!1),"function"==typeof window.addEventListener&&window.addEventListener("offline",function(){return a.confirmDown()},!1),a.state="up",a.markUp=function(){return a.trigger("confirmed-up"),"up"!==a.state?(a.state="up",a.trigger("up")):void 0},a.markDown=function(){return a.trigger("confirmed-down"),"down"!==a.state?(a.state="down",a.trigger("down")):void 0},f={},a.on=function(b,c,d){var e,g,h,i,j;if(g=b.split(" "),g.length>1){for(j=[],h=0,i=g.length;i>h;h++)e=g[h],j.push(a.on(e,c,d));return j}return null==f[b]&&(f[b]=[]),f[b].push([d,c])},a.off=function(a,b){var c,d,e,g,h;if(null!=f[a]){if(b){for(d=0,h=[];d<f[a].length;)g=f[a][d],c=g[0],e=g[1],e===b?h.push(f[a].splice(d,1)):h.push(d++);return h}return f[a]=[]}},a.trigger=function(a){var b,c,d,e,g,h,i;if(null!=f[a]){for(g=f[a],i=[],d=0,e=g.length;e>d;d++)h=g[d],b=h[0],c=h[1],i.push(c.call(b));return i}},b=function(a,b,c){var d,e;return d=function(){return a.status&&a.status<12e3?b():c()},null===a.onprogress?(a.addEventListener("error",c,!1),a.addEventListener("timeout",c,!1),a.addEventListener("load",d,!1)):(e=a.onreadystatechange,a.onreadystatechange=function(){return 4===a.readyState?d():0===a.readyState&&c(),"function"==typeof e?e.apply(null,arguments):void 0})},a.checks={},a.checks.xhr=function(){var c,d;d=new XMLHttpRequest,d.offline=!1,d.open("HEAD",a.getOption("checks.xhr.url"),!0),b(d,a.markUp,a.markDown);try{d.send()}catch(e){c=e,a.markDown()}return d},a.checks.image=function(){var b;return b=document.createElement("img"),b.onerror=a.markDown,b.onload=a.markUp,b.src=a.getOption("checks.image.url"),void 0},a.check=function(){return a.trigger("checking"),a.checks[a.getOption("checks.active")]()},a.confirmUp=a.confirmDown=a.check,a.onXHR=function(a){var b,c,e;return b=function(b,c){var d;return d=b.open,b.open=function(e,f,g,h,i){return a({type:e,url:f,async:g,flags:c,user:h,password:i,xhr:b}),d.apply(b,arguments)}},e=window.XMLHttpRequest,window.XMLHttpRequest=function(a){var c,d,f;return c=new e(a),b(c,a),f=c.setRequestHeader,c.headers={},c.setRequestHeader=function(a,b){return c.headers[a]=b,f.call(c,a,b)},d=c.overrideMimeType,c.overrideMimeType=function(a){return c.mimeType=a,d.call(c,a)},c},d(window.XMLHttpRequest,e),null!=window.XDomainRequest?(c=window.XDomainRequest,window.XDomainRequest=function(){var a;return a=new c,b(a),a},d(window.XDomainRequest,c)):void 0},g=function(){return a.getOption("interceptRequests")&&a.onXHR(function(c){var d;return d=c.xhr,d.offline!==!1?b(d,a.confirmUp,a.confirmDown):void 0}),a.getOption("checkOnLoad")?a.check():void 0},setTimeout(g,0),window.Offline=a}).call(this),function(){var a,b,c,d,e,f,g,h,i;if(!window.Offline)throw new Error("Offline Reconnect brought in without offline.js");d=Offline.reconnect={},f=null,e=function(){var a;return null!=d.state&&"inactive"!==d.state&&Offline.trigger("reconnect:stopped"),d.state="inactive",d.remaining=d.delay=null!=(a=Offline.getOption("reconnect.initialDelay"))?a:3},b=function(){var a,b;return a=null!=(b=Offline.getOption("reconnect.delay"))?b:Math.min(Math.ceil(1.5*d.delay),3600),d.remaining=d.delay=a},g=function(){return"connecting"!==d.state?(d.remaining-=1,Offline.trigger("reconnect:tick"),0===d.remaining?h():void 0):void 0},h=function(){return"waiting"===d.state?(Offline.trigger("reconnect:connecting"),d.state="connecting",Offline.check()):void 0},a=function(){return Offline.getOption("reconnect")?(e(),d.state="waiting",Offline.trigger("reconnect:started"),f=setInterval(g,1e3)):void 0},i=function(){return null!=f&&clearInterval(f),e()},c=function(){return Offline.getOption("reconnect")?"connecting"===d.state?(Offline.trigger("reconnect:failure"),d.state="waiting",b()):void 0:void 0},d.tryNow=h,e(),Offline.on("down",a),Offline.on("confirmed-down",c),Offline.on("up",i)}.call(this),function(){var a,b,c,d,e,f;if(!window.Offline)throw new Error("Requests module brought in without offline.js");c=[],f=!1,d=function(a){return Offline.trigger("requests:capture"),"down"!==Offline.state&&(f=!0),c.push(a)},e=function(a){var b,c,d,e,f,g,h,i,j;i=a.xhr,f=a.url,e=a.type,g=a.user,d=a.password,b=a.body,i.abort(),i.open(e,f,!0,g,d),j=i.headers;for(c in j)h=j[c],i.setRequestHeader(c,h);return i.mimeType&&i.overrideMimeType(i.mimeType),i.send(b)},a=function(){return c=[]},b=function(){var b,d,f,g,h,i;for(Offline.trigger("requests:flush"),f={},h=0,i=c.length;i>h;h++)d=c[h],g=d.url.replace(/(\?|&)_=[0-9]+/,function(a,b){return"?"===b?b:""}),f[""+d.type.toUpperCase()+" - "+g]=d;for(b in f)d=f[b],e(d);return a()},setTimeout(function(){return Offline.getOption("requests")!==!1?(Offline.on("confirmed-up",function(){return f?(f=!1,a()):void 0}),Offline.on("up",b),Offline.on("down",function(){return f=!1}),Offline.onXHR(function(a){var b,c,e,f,g;return e=a.xhr,b=a.async,e.offline!==!1&&(c=function(){return d(a)},g=e.send,e.send=function(b){return a.body=b,g.apply(e,arguments)},b)?null===e.onprogress?(e.addEventListener("error",c,!1),e.addEventListener("timeout",c,!1)):(f=e.onreadystatechange,e.onreadystatechange=function(){return 0===e.readyState?c():4===e.readyState&&(0===e.status||e.status>=12e3)&&c(),"function"==typeof f?f.apply(null,arguments):void 0}):void 0}),Offline.requests={flush:b,clear:a}):void 0},0)}.call(this),function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;if(!window.Offline)throw new Error("Offline UI brought in without offline.js");b='<div class="offline-ui"><div class="offline-ui-content"></div></div>',a='<a href class="offline-ui-retry"></a>',e=function(a){var b;return b=document.createElement("div"),b.innerHTML=a,b.children[0]},f=d=null,c=function(a){return k(a),f.className+=" "+a},k=function(a){return f.className=f.className.replace(new RegExp("(^| )"+a.split(" ").join("|")+"( |$)","gi")," ")},h={},g=function(a,b){return c(a),null!=h[a]&&clearTimeout(h[a]),h[a]=setTimeout(function(){return k(a),delete h[a]},1e3*b)},i=function(a,b){var c,d,e,f,g,h;if(null==b&&(b=!1),0===a)return"now";c={d:86400,h:3600,m:60,s:1},d={s:"second",m:"minute",h:"hour",d:"day"},f="";for(g in c)if(e=c[g],a>=e)return h=Math.floor(a/e),b&&(g=" "+d[g],1!==h&&(g+="s")),""+h+g},l=function(){var g,h;return f=e(b),document.body.appendChild(f),null!=Offline.reconnect&&Offline.getOption("reconnect")&&(f.appendChild(e(a)),g=f.querySelector(".offline-ui-retry"),h=function(a){return a.preventDefault(),Offline.reconnect.tryNow()},null!=g.addEventListener?g.addEventListener("click",h,!1):g.attachEvent("click",h)),c("offline-ui-"+Offline.state),d=f.querySelector(".offline-ui-content")},j=function(){return l(),Offline.on("up",function(){return k("offline-ui-down"),c("offline-ui-up"),g("offline-ui-up-2s",2),g("offline-ui-up-5s",5)}),Offline.on("down",function(){return k("offline-ui-up"),c("offline-ui-down"),g("offline-ui-down-2s",2),g("offline-ui-down-5s",5)}),Offline.on("reconnect:connecting",function(){return c("offline-ui-connecting"),k("offline-ui-waiting")}),Offline.on("reconnect:tick",function(){return c("offline-ui-waiting"),k("offline-ui-connecting"),d.setAttribute("data-retry-in-seconds",Offline.reconnect.remaining),d.setAttribute("data-retry-in-abbr",i(Offline.reconnect.remaining)),d.setAttribute("data-retry-in",i(Offline.reconnect.remaining,!0))}),Offline.on("reconnect:stopped",function(){return k("offline-ui-connecting offline-ui-waiting"),d.setAttribute("data-retry-in-seconds",null),d.setAttribute("data-retry-in-abbr",null),d.setAttribute("data-retry-in",null)}),Offline.on("reconnect:failure",function(){return g("offline-ui-reconnect-failed-2s",2),g("offline-ui-reconnect-failed-5s",5)}),Offline.on("reconnect:success",function(){return g("offline-ui-reconnect-succeeded-2s",2),g("offline-ui-reconnect-succeeded-5s",5)})},"complete"===document.readyState?j():null!=document.addEventListener?document.addEventListener("DOMContentLoaded",j,!1):(m=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&j(),"function"==typeof m?m.apply(null,arguments):void 0})}.call(this); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/operators_after.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/operators_after.txt deleted file mode 100644 index 68b7943d3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/operators_after.txt +++ /dev/null @@ -1,45 +0,0 @@ -+ -- -* -/ -% -= -+= --= -*= -/= -%= -<<= ->>= ->>>= -&= -^= -|= -& -| -^ -~ -<< ->> ->>> -== -=== -!= -!== -> -< ->= -<= -&& -|| -. -[ -] -? -: -, -; -( -) -{ -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/operators_before.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/operators_before.txt deleted file mode 100644 index 3bc220ac7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/operators_before.txt +++ /dev/null @@ -1,43 +0,0 @@ -+ -- -* -/ -% -= -+= --= -*= -/= -%= -<<= ->>= ->>>= -&= -^= -|= -& -| -^ -~ -<< ->> ->>> -== -=== -!= -!== -> -< ->= -<= -&& -|| -! -. -[ -? -: -, -; -( -{ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/README.rdoc b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/README.rdoc deleted file mode 100644 index 451d7a2b0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/README.rdoc +++ /dev/null @@ -1,72 +0,0 @@ -== SoundManager 2: JavaScript Sound for the Web - -By wrapping and extending HTML5 and Flash Audio APIs, SoundManager 2 brings reliable cross-platform audio to JavaScript. - -== HTML5 Audio() Support - - * 100% Flash-free MP3 + MP4/AAC where supported - * Compatible with Apple iPad 3.2, iPhone/iOS 4 and newer - * Fallback to Flash for MP3/MP4 support, as needed - * SM2 API is transparent; HTML5/flash switching handled internally - * HTML5 API support approximates Flash 8 API features - * Some other formats (WAV/OGG) supported via HTML5, depending on browser - * See "useHTML5Audio" property for implementation details - -== Basic API Features (Flash 8) - - * Load, stop, play, pause, mute, seek, pan and volume control of sounds from Javascript - * Events: onload, whileloading, whileplaying, onfinish and more - * ID3V1 and ID3V2 tag support for MP3s (title, artist, genre etc.) - -== Shiny Flash 9 Features - - * RTMP / Flash Media Server streaming support - * MPEG-4 (AAC, HE-AAC, H.264) audio support - * "MultiShot" play (layered/chorusing effects) - * Waveform/frequency spectrum data - * Peak (L/R channel volume) data - * Audio buffering state/event handling - -== General Tech Stuff - - * Full API Documentation with examples and notes - * console.log()-style debug output and troubleshooting tools - * Community-based discussion/support - -== As Heard On The Internets - -A few nifty sites that have implemented SM2 for driving audio: - - * Tidal - * Beats - * Songza - * Earbits - * freesound.org - * last.fm - * 8tracks - * Discogs - * The Hype Machine - * nyan.cat - -== Project home, documentation, live demos etc.: - -http://www.schillmania.com/projects/soundmanager2/ - -== Compiling JS builds (-nodebug, -jsmin) and Flash components, AS2/AS3 to SWF - -An Ant build file defines the tasks for compiling JS and SWF components, useful if you make changes to the SM2 source and want to recompile. -Google's Closure Compiler is used for the JS. AS2 compilation is done by MTASC, and AS3 is handled by Adobe's Open Source Flex SDK (mxmlc) compiler. -Refer to the build.xml file for compiler downloads and path definitions. - -== Versioning / Development Notes - -Releases are versioned by date, e.g., V2.97a.20110424 and are tagged as such.* -The latest official release is always on trunk/master. -Post-release development builds may be available on the appropriate +DEV branch, eg., V2.97a.20110801+DEV - -== Forks and Pull Requests - -Firstly, thank you for wanting to contribute! Bug fixes and tweaks are welcomed, particularly if they follow the general coding style of the project. -If making a pull request, use the project's current +DEV development branch as the merge target instead of "master", if possible (please and thank-you.) - -* SoundManager 2 has been at "version" 2.97 for a long time, because 2.97 was arguably the best llama-ass-whipping version of WinAmp. (WinAmp 3 was not as good, and WinAmp 5 was "the best of 2 and 3 combined.") This MP3 player was my favourite Windows app during the 90's, and is missed as there's nothing quite like it on OS X where I spend most of my time these days. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button (retina - not playing).psd b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button (retina - not playing).psd deleted file mode 100644 index 38479c8d2..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button (retina - not playing).psd and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button (retina - playing).psd b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button (retina - playing).psd deleted file mode 100644 index b44caee0a..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button (retina - playing).psd and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button - large.psd b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button - large.psd deleted file mode 100644 index 930b41e01..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button - large.psd and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button.psd b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button.psd deleted file mode 100644 index afd049802..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360 button.psd and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-2x.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-2x.png deleted file mode 100644 index f348d7ad2..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-2x.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light-2x.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light-2x.png deleted file mode 100644 index 4b1e436e8..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light-2x.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light.gif deleted file mode 100644 index a7efb1dae..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light.png deleted file mode 100644 index 4412d4385..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause-light.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause.gif deleted file mode 100644 index 5317ded4d..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause.png deleted file mode 100644 index 5a74e94ba..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-pause.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-2x.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-2x.png deleted file mode 100644 index 4321e3ed1..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-2x.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light-2x.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light-2x.png deleted file mode 100644 index 25fc05722..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light-2x.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light.gif deleted file mode 100644 index 22be94f86..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light.png deleted file mode 100644 index fc30c5f42..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play-light.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play.gif deleted file mode 100644 index d150c0d61..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play.png deleted file mode 100644 index d69ce57ee..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-play.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.gif deleted file mode 100644 index 68bf149fb..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.png deleted file mode 100644 index 96a89ff76..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.gif deleted file mode 100644 index 4bd23332c..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.png deleted file mode 100644 index d62fd3c8b..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.gif deleted file mode 100644 index 7ce693215..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.png deleted file mode 100644 index 599b0c67b..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play.gif deleted file mode 100644 index 4837776a9..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play.png b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play.png deleted file mode 100644 index a36478d84..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360-button-vis-play.png and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360player-visualization.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360player-visualization.css deleted file mode 100644 index c931ae5a0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360player-visualization.css +++ /dev/null @@ -1,150 +0,0 @@ -/* larger canvas, spectrum + EQ visualization and other items */ - -.ui360-vis, -.ui360-vis .sm2-360ui, -.sm2-inline-list .ui360-vis { - /* size of the container for the circle, etc. */ - width:256px; - height:256px; -} - -.ui360-vis { - position:relative; - /* a little extra spacing */ - padding-top:1px; - padding-bottom:1px; - padding-left:248px; - margin-left:0px; - background-position:22.6% 50%; /* (~109px) initial play button position */ -} - -.sm2-inline-list .ui360-vis { - cursor:pointer -} - -.ui360-vis a { - font:14px "helvetica neue",helvetica,monaco,lucida,terminal,monospace; - white-space:nowrap; - text-indent:0px; /* undo inline style */ - top:46%; /* ehh. */ -} - -.sm2-inline-list .ui360-vis a { - line-height:256px; - top:auto; -} - -.ui360-vis .sm2-360ui { - margin-left:-256px; -} - -.ui360-vis .sm2-timing { - font:bold 24px "helvetica neue",helvetica,monaco,lucida,terminal,monospace; - color:#333; - text-align:center; - line-height:256px; - text-indent:0px; -} - -.sm2-inline-list .ui360-vis, -.sm2-inline-list .ui360-vis .sm2-360ui { - margin-left:0px; -} - -.sm2-inline-list .ui360-vis { - margin:8px 13px 7px 0px; - padding-left:0px; - background-position:50% 50%; /* initial play button position */ -} - -.sm2-inline-list .ui360-vis .sm2-360ui { - border:1px solid #eee; - /* offset the border */ - margin-left:-1px; - margin-top:-1px; -} - -.sm2-inline-list .ui360-vis a { - position:absolute; - display:inline; - left:0px; - bottom:0px; - top:1px; - width:100%; /* 2px padding in box */ - height:99%; /* dumb vertical hack */ - *height:256px; /* IE is dumb. */ - overflow:hidden; - font-size:small; - font-weight:300; - color:#333; - margin:0px; - padding:0px; - line-height:488px; /* bottom vertical alignment for text */ - *line-height:480px; /* IE again */ - text-align:center; - border-radius:0px; -} - -.sm2-inline-list .ui360 a:hover { - background-color:transparent; /* reset */ -} - -.sm2-inline-list .ui360-vis:hover .sm2-360ui, -.sm2-inline-list .ui360-vis a.sm2_link:hover, -.sm2-inline-list .ui360-vis a.sm2_link:active, -.sm2-inline-list .ui360-vis a.sm2_link:focus { - background-color:transparent; -} - -/* Use a bigger loading image for this layout */ - -.ui360-vis .sm2-360btn, -.ui360-vis .sm2-360ui.sm2_paused .sm2-360btn, -.ui360-vis .sm2-360ui.sm2_playing .sm2-360btn { - width:48px; - height:48px; - margin-left:-24px; - margin-top:-24px; - border-radius: none; -} - -.ui360-vis, -.ui360-vis .sm2-360ui.sm2_paused .sm2-360btn, -.ui360-vis .sm2-360btn-default { - background:transparent url(360-button-vis-play.png) no-repeat 50% 50%; - background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAABuVBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADv7++lpaXr6+uAgIDk5OQzMzPt7e1tbW3n5+dgYGDW1tZNTU10dHQ5OTnw8PCvr6/e3t6JiYlAQEDb29vo6OgrKyuqqqrq6uq4uLjf399AQEDGxsbq6uqAgIDY2Nje3t61tbXp6enU1NTu7u7r6+vl5eXt7e2fn5/n5+fDw8Ph4eHv7+/t7e3CwsLW1tbu7u7b29vw8PDm5uYgICDp6enY2Nji4uLo6Ojm5uakpKTS0tLPz8/h4eHw8PDs7Ozj4+Pa2trg4ODx8fHT09Pk5OTPz8/S0tLBwcGmpqawsLCOjo7h4eHn5+fo6OgAAADY2NjNzc3n5+cAAADd3d3Gxsbu7u7t7e0AAADX19fl5eXi4uLf39/Hx8fn5+fs7Ozg4ODR0dHX19e4uLjv7+/z8/P09PTy8vL19fXv7+/n5+fx8fH29vbs7Ozq6urm5ubo6Ojw8PDu7u7p6enr6+sAAAB/f3/Z2dn39/fh4eGOjo4ODg7t7e3l5eWWlpba2tqjo6NVVVXk5OTe3t65ubnMzMzExMTf39/GxsampqZiYmJNcTiZAAAAbXRSTlMAAQIEAwcFCAb5EdAImAXpB6oIUAoLCfsgZQ0EVrsGEr4ZYQgbsgpUYxikNd/aatQQli+R7rlUUdas6+8I+VaFruoOOV/S8Nq5sWL8UqmKUFsuHyTcrtsJm0z7C49V3NMKkdKXuk7S7oVeVSv7tAAEVwAAAu5JREFUeF6llmVz3DwURmNLsr1pmJmZmZmxzMwsybS8gXJfhl9cKXbHEK+TmZ4P/nDnOXN1NbalHD8CQ7QRGDmhnIQhBDYQnkhheRECSVIQQrLMHookAciUkHhBw1zVwuLShcJIpPDC0uJC1VxDQTaFx1srSvM3DUxU1TRVlWBjM7+0opUrQaupLSnrLK7ELIepwaCYmbiyuLOspJY38eeLykdGxzDhYQfKCmOjI+VFPkMQYF7NZD0l2DgFJrR+siYPegxBzBvqeoQxpgGw8qOuoTz3HGw9udUPCaFZIORhdS5blZOHjXWDBIdABusanb0S4MpqEw4XcNPqCrQFQQTN+XwPQ8CY5jcDUbB3KLdlg6hnQDZacqEgWA3a2rF6Jri9zWohwI6dXXK2QHZ3OqBw0qC7B6vnAPd0sxZMkHr7VNPD34YZgNrXK3EBSgPU9HJ4eIQDDDogQS4ow4QJxy4+MmKs4oYJZFhhggjQuMoKHoHzn3bsQx1HQOTClOkXLP6lviZTtjCjmn7B5g/izqszliBHTB+HDhl3PSJbwnxSS3n45HDkVLXkvCWg5Uws7eHgJ98/uKqxzLI9w3o6oXuwhd+OPNVEet0WtnU9/sWNJfz1u6cY1/VtLghQuRgk/PmBmT7hogJPXo3L8YQed3Nw8PWfuB89Eb8scUGUrl33DfH/N93BGeH6NUnkArh1O5FOuNETp2GR27cAE/iaJu6mz8HdCQnan+i96XQmdgaZ9PQ9+xMVoPJgNhrNhBKNzj5Q+E/AavH4SSz6OZRo7Mlj3oDDp7jyPJoKJfr8CpvAOUrQi6eppJaVZOrpCwTdP1cgr93UjKxoN9dka2KX8ealZtBADO3lG2+e7xRAd7Y0igOg2tYdBKD/CBIBenf/lYGJD2y8uv8OgaBDDkry3v57SlQXhL7f35OlwJOXGUBBl571JykmzCIE02T/s0tIASyf/R6Arr59fcM62G+8fnsVhdwFwq4Ov345Of/15wd0RYY81HHUTQAAAABJRU5ErkJggg==); - *background-image:url(360-button-vis-play.png); - _background:transparent url(360-button-vis-play.gif) no-repeat 50% 50%; - cursor:pointer; -} - -.ui360-vis:hover .sm2-360btn, -.ui360-vis .sm2-360btn-default:hover, -.ui360-vis .sm2-360ui.sm2_paused .sm2-360btn:hover { - background:transparent url(360-button-vis-play-light.png) no-repeat 50% 50%; - _background:transparent url(360-button-vis-play.gif) no-repeat 50% 50%; - cursor:pointer; -} - - -.ui360-vis .sm2-360ui.sm2_playing .sm2-360btn:hover, -.ui360-vis .sm2-360btn-playing:hover { - background:transparent url(360-button-vis-pause-light.png) no-repeat 50% 50%; - _background:transparent url(360-button-vis-pause-light.gif) no-repeat 50% 50%; - cursor:pointer; -} - -.ui360-vis { - /* non-JS / before-loaded state */ - background-position: 21% 50%; - _background:transparent url(360-button-vis-play.gif) no-repeat 21% 50%; /* IE 6-only: special crap GIF */ -} - -.ui360-vis .sm2-360btn-default { - /* real button, post-loaded state */ - _background:transparent url(360-button-vis-play.gif) no-repeat 50% 50%; /* IE 6-only: special crap GIF */ -} - -.ui360-vis .sm2-360ui.sm2_dragging .sm2-360btn { - visibility: hidden; -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360player.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360player.css deleted file mode 100644 index 7ad639b02..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/360player.css +++ /dev/null @@ -1,316 +0,0 @@ -/* General warning: Beta-ish. Code could be a bit cleaner. */ - -.ui360, /* entire UI */ -.sm2-360ui { /* canvas container */ - position:relative; -} - -.ui360 { - margin-bottom: 5px; - margin-right: 5px; -} - -.ui360, -.sm2-360ui { - min-width:50px; /* should always be at least this. */ - min-height:50px; -} - -.sm2-360ui { - width:50px; - height:50px; -} - -.sm2-360ui { - /* slight inner shadow + BG color + border */ - background-color: #f9f9f9; - background-color: rgba(0,0,0,0.025); - box-shadow: inset 0px 0px 8px rgba(0,0,0,0.15); - /* a little radii, modern browsers only */ - border-radius: 100%; - -webkit-transition: all 0.1s ease-in-out; - -moz-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; - /* specifics */ - -moz-transition-property: background, border, box-shadow; - -webkit-transition-property: background, border, box-shadow; - transition-property: background, border, box-shadow; -} - -.sm2-360ui:hover { - background-color: rgba(0,0,0,0.1); - border-color: rgba(0,0,0,0.15); - box-shadow: inset 0px 0px 5px rgba(0,0,0,0.15); -} - -.ui360, -.ui360 * { - vertical-align:middle; -} - -.sm2-360ui { - position:relative; - display:inline-block; /* firefox 3 et al */ - float:left; /* IE 6+7, firefox 2 needs this, inline-block would work with fx3 and others */ - *display:inline; - clear:left; -} - -.sm2-360ui.sm2_playing, -.sm2-360ui.sm2_paused { - /* bump on top when active */ - z-index:10; -} - -.ui360 a { /* .sm2_link class added to playable links by SM2 */ - float:left; - display:inline; - position:relative; - color:#000; - text-decoration:none; - left:3px; /* slight spacing on left UI */ - top:18px; /* vertical align */ - text-indent:50px; /* make room for UI at left */ -} - -.ui360 a.sm2_link { /* SM2 has now started */ - text-indent:0px; /* UI now in place. */ -} - -.ui360 a, -.ui360 a:hover, -.ui360 a:focus { - padding:2px; - margin-left:-2px; - margin-top:-2px; -} - -.ui360 a:hover, -.ui360 a:focus { - background:#eee; - border-radius:3px; - outline:none; -} - -.ui360 .sm2-canvas { - position:absolute; - left:0px; - top:0px; -} - -.ui360 .sm2-canvas.hi-dpi { - /* hi-dpi / "retina" screens */ - top: -50%; - left: -50%; - -moz-transform: scale(0.5); - -ms-transform: scale(0.5); - -webkit-transform: scale(0.5); - transform: scale(0.5); -} - -.ui360 .sm2-timing { - position:absolute; - display:block; - left:0px; - top:0px; - width:100%; - height:100%; - margin:0px; - font:11px "helvetica neue",helvetica,monaco,lucida,terminal,monospace; - color:#666; - text-align:center; - line-height:50px; -} - -.ui360 .sm2-timing.alignTweak { - /* devious center-alignment tweak for Safari (might break things for others.) */ - /* no longer applies. */ - /* - text-indent:1px; - */ -} - -.ui360 .sm2-cover { - position:absolute; - left:0px; - top:0px; - width:100%; - height:100%; - z-index:2; - display:none; - background-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==); /* old-skool bug: IE 9 won't catch mouse events otherwise. /smash */ -} - -.ui360 .sm2-360btn { - position:absolute; - display:block; - top:50%; - left:50%; -/* - width:22px; - height:22px; - margin-left:-11px; - margin-top:-11px; -*/ - /* by default, cover whole space. make smaller when playing. */ - width:50px; - height:50px; - margin-left:-25px; - margin-top:-25px; - border-radius: 25px; - cursor:pointer; - z-index:3; -} - -.ui360 .sm2-360data { - display:inline-block; - font-family:helvetica; -} - -.sm2-inline-block .ui360 .sm2-360btn, -.ui360 .sm2-360ui.sm2_playing .sm2-360btn, -.ui360 .sm2-360ui.sm2_paused .sm2-360btn { - /* smaller clickable button, in center */ - width:22px; - height:22px; - margin-left:-11px; - margin-top:-11px; -} - -.ui360 .sm2-360ui.sm2_playing .sm2-cover, -.ui360 .sm2-360ui.sm2_paused .sm2-cover { - display:block; -} - -/* this could be optimized a fair bit. */ - -.ui360, -.ui360 .sm2-360btn-default, -.ui360 .sm2-360ui.sm2_paused .sm2-360btn { - background:transparent url(360-button-play.png) no-repeat; - /* if you change the source image, update these data: URIs as well. */ - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAABoUlEQVR42sWVu2oCQRhGU/s8gpVYJeQJNkZSbiH4QNuLlQZS21sJayGYaOEFVFDxNiremj9zig2uzk5YQpKFg8PMd75ZZle9E5Ff4e+Ll8tlQuNoPI2vUcCYOdbIxCmm9F5T0YgNMmS/LebSwWdNa7VayXq9ls1mI9vtVna7nQBj5lgjQxYHN7KY3QkiUbDf7+V4PMrpdArBHGtkyOJc3/n1mVaUUl+F5/PZSrABDi4dpmKH3QkixQEHlw5TsccZmsRCoSD1et1ajkuHqdg/HA5GKZPJCOTzeanVasYMLh2mYsXDIGAoDuG6rlSr1WCdBxrcsTIWazgrQiHS6bSRYJ3XDzeq2O/3+9Ltdm9IpVIhstmslEqlUAY36ii8ZrMpjUbjhmQyKeA4jhSLRWMGN+rhOZ1Oh8ANuVxOyuUy40hwo163RK/XeyPQbrdjgYNr/ILAYDB41Gf1wZnFAQfX+iM0HA5fxuPx+2g0Ej22QoYsDq61mGsymTxMp9NX/Sk2yJDFsRZfXpzXbDZ7WiwW3nw+9zUKGDPHGpkL5V//mn7OJyJZApyzeUS5AAAAAElFTkSuQmCC); - /* hi-dpi, we presume */ - background-image: none, url(360-button-play-2x.png); - background-size: 22px 22px; - *background-image: url(360-button-play.png); - background-repeat: no-repeat; -} - -.ui360 { - /* - "fake" button shown before SM2 has started, non-JS/non-SM2 case etc. - background image will be removed via JS, in threeSixyPlayer.init() - */ - background-position: 14px 50%; - _background:transparent url(360-button-play.gif) no-repeat 14px 50%; /* IE 6-only: special crap GIF */ -} - -.ui360 .sm2-360btn-default, -.ui360 .sm2-360ui.sm2_paused .sm2-360btn { - background-position:50% 50%; - _background:transparent url(360-button-play.gif) no-repeat 50% 50%; /* IE 6-only: special crap GIF */ -} - -.ui360 .sm2-360btn-default, -.ui360 .sm2-360ui.sm2_paused .sm2-360btn { - cursor:pointer; -} - -.ui360 .sm2-360btn-default:hover, -.ui360 .sm2-360ui.sm2_paused .sm2-360btn:hover { - background:transparent url(360-button-play-light.png) no-repeat 50% 50%; - /* hi-dpi, we presume */ - background-image: none, url(360-button-play-light-2x.png); - background-size: 22px 22px; - _background:transparent url(360-button-play.gif) no-repeat 50% 50%; - cursor:pointer; -} - -.ui360 .sm2-360ui.sm2_playing .sm2-360btn:hover, -.ui360 .sm2-360btn-playing:hover { - background:transparent url(360-button-pause-light.png) no-repeat 50% 50%; - background-image: none, url(360-button-pause-light-2x.png); - background-size: 22px 22px; - _background:transparent url(360-button-pause-light.gif) no-repeat 50% 50%; - cursor:pointer; -} - -.ui360 .sm2-360ui.sm2_playing .sm2-timing { - visibility:visible; -} - -.ui360 .sm2-360ui.sm2_buffering .sm2-timing { - visibility:hidden; -} - -.ui360 .sm2-360ui .sm2-timing, -.ui360 .sm2-360ui .sm2-360btn:hover + .sm2-timing, -.ui360 .sm2-360ui.sm2_paused .sm2-timing { - visibility:hidden; -} - -.ui360 .sm2-360ui.sm2_dragging .sm2-timing, -.ui360 .sm2-360ui.sm2_dragging .sm2-360btn:hover + .sm2-timing { - /* paused + dragging */ - visibility:visible; -} - -.ui360 .sm2-360ui.sm2_playing .sm2-360btn, -.ui360 .sm2-360ui.sm2_dragging .sm2-360btn, -.ui360 .sm2-360ui.sm2_dragging .sm2-360btn:hover, -.ui360 .sm2-360ui.sm2_dragging .sm2-360btn-playing:hover { - /* don't let pause button show on hover when dragging (or paused and dragging) */ - background:transparent; - cursor:auto; -} - -.ui360 .sm2-360ui.sm2_buffering .sm2-360btn, -.ui360 .sm2-360ui.sm2_buffering .sm2-360btn:hover { - background:transparent url(icon_loading_spinner.gif) no-repeat 50% 50%; - opacity:0.5; - visibility:visible; -} - -/* inline list style */ - -.sm2-inline-list .ui360, -.sm2-inline-block .ui360 { - position:relative; - display:inline-block; - float:left; - _display:inline; - /* - margin-bottom:-15px; - */ -} - -.sm2-inline-block .ui360 { - margin-right:8px; -} - -.sm2-inline-list .ui360 a { - display:none; -} - -/* annotations */ - -ul.ui360playlist { - list-style-type:none; -} - -ul.ui360playlist, -ul.ui360playlist li { - margin:0px; - padding:0px; -} - -div.ui360 div.metadata { - display:none; -} - -div.ui360 a span.metadata, -div.ui360 a span.metadata * { - /* name of track, note etc. */ - vertical-align:baseline; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/canvas-visualization-basic.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/canvas-visualization-basic.html deleted file mode 100644 index 352856b4c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/canvas-visualization-basic.html +++ /dev/null @@ -1,132 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> -<head> -<title>360&deg; MP3 player UI demo (SoundManager 2): Javascript + Canvas Visualization, basic example</title> -<meta name="robots" content="noindex" /> -<meta name="description" content="Basic example of 360-degree circular control for MP3 links, with EQ and spectrum visualization options" /> -<!-- demo: make the fonts nicer etc. --> -<link rel="stylesheet" type="text/css" href="../index.css" /> - -<!-- soundManager.useFlashBlock: related CSS --> -<link rel="stylesheet" type="text/css" href="../flashblock/flashblock.css" /> - -<!-- required --> -<link rel="stylesheet" type="text/css" href="360player.css" /> -<link rel="stylesheet" type="text/css" href="360player-visualization.css" /> - -<!-- special IE-only canvas fix --> -<!--[if IE]><script type="text/javascript" src="script/excanvas.js"></script><![endif]--> - -<!-- Apache-licensed animation library --> -<script type="text/javascript" src="script/berniecode-animator.js"></script> - -<!-- the core stuff --> -<script type="text/javascript" src="../../script/soundmanager2.js"></script> -<script type="text/javascript" src="script/360player.js"></script> - -<script type="text/javascript"> - -soundManager.setup({ - // path to directory containing SM2 SWF - url: '../../swf/' -}); - -threeSixtyPlayer.config.scaleFont = (navigator.userAgent.match(/msie/i)?false:true); -threeSixtyPlayer.config.showHMSTime = true; - -// enable some spectrum stuffs - -threeSixtyPlayer.config.useWaveformData = true; -threeSixtyPlayer.config.useEQData = true; - -// enable this in SM2 as well, as needed - -if (threeSixtyPlayer.config.useWaveformData) { - soundManager.flash9Options.useWaveformData = true; -} -if (threeSixtyPlayer.config.useEQData) { - soundManager.flash9Options.useEQData = true; -} -if (threeSixtyPlayer.config.usePeakData) { - soundManager.flash9Options.usePeakData = true; -} - -if (threeSixtyPlayer.config.useWaveformData || threeSixtyPlayer.flash9Options.useEQData || threeSixtyPlayer.flash9Options.usePeakData) { - // even if HTML5 supports MP3, prefer flash so the visualization features can be used. - soundManager.preferFlash = true; -} - -// favicon is expensive CPU-wise, but can be enabled. -threeSixtyPlayer.config.useFavIcon = false; - -</script> - -<link rel="stylesheet" type="text/css" href="demo.css" /> -<style type="text/css"> - -#left h2 { - padding-top:0px; - margin-bottom:0.25em; - color:#666; -} - -pre.block { - margin-top:0.5em; -} - -/* special case */ - -#left { - width:auto; - max-width:100%; -} - -</style> - -</head> - -<body> - -<div id="left"> - - <h1><a href="http://schillmania.com/projects/soundmanager2/demo/360-player/">360&deg; Player Demo</a> - Visualization Example, Basic Template</h1> - - <p class="note" style="color:#666;margin-bottom:0.5em">Canvas-based UI with visualization options. <b>Note: No EQ/spectrum support for IE &lt; 9 (too slow.) Data not implemented in HTML5.</b></p> - - <div style="clear:left"></div> - - <div id="sm2-container"> - <!-- sm2 flash goes here --> - </div> - - <!-- here are the MP3 links, which are decorated with the 360 canvas element/UI etc. --> - - <h2 style="margin-top:1em">Inline list</h2> - - <div class="sm2-inline-list"> <!-- remove this class to have one item per line --> - - <div class="ui360 ui360-vis"><a href="../../demo/mpc/audio/CRASH_1.mp3">Crash 1</a></div> - <div class="ui360 ui360-vis"><a href="../../demo/mpc/audio/CRASH_5.mp3">Crash 5</a></div> - <div class="ui360 ui360-vis"><a href="../../demo/mpc/audio/CRASH_6.mp3">Crash 6</a></div> - <div class="ui360 ui360-vis"><a href="../../demo/mpc/audio/CHINA_1.mp3">China 1</a></div> - - </div> - - <h2 style="clear:both;padding-top:1em">Block list</h2> - - <div> - <div class="ui360 ui360-vis"><a href="../../demo/_mp3/sine,%20square,%20sawtooth,%20rando.mp3">Sine, Square, Sawtooth, Wave (Warning: LOUD)</a></div> - <div class="ui360 ui360-vis"><a href="../../demo/_mp3/1hz-10khz-sweep.mp3">1-10 Khz Sweep (Warning: LOUD)</a></div> - </div> - - </div> - - <p style="margin-left:1em"> - <a href="http://www.schillmania.com/projects/soundmanager2/" title="SoundManager 2 home">SoundManager 2 project page</a> (not an MP3 link) - </p> - -</div> - -</body> -</html> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/canvas-visualization.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/canvas-visualization.html deleted file mode 100644 index e58c44894..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/canvas-visualization.html +++ /dev/null @@ -1,360 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> -<head> -<title>360&deg; MP3 player UI demo (SoundManager 2): Javascript + Canvas Visualization</title> -<meta name="robots" content="noindex" /> -<meta name="description" content="Javascript + Canvas + SoundManager 2: 360-degree circular control / jog wheel example for playing MP3 links, with EQ and spectrum visualization options" /> -<!-- demo, make the fonts nicer etc. --> -<link rel="stylesheet" type="text/css" href="../index.css" /> - -<!-- soundManager.useFlashBlock: related CSS --> -<link rel="stylesheet" type="text/css" href="../flashblock/flashblock.css" /> - -<!-- required --> -<link rel="stylesheet" type="text/css" href="360player.css" /> -<link rel="stylesheet" type="text/css" href="360player-visualization.css" /> - -<!-- special IE-only canvas fix --> -<!--[if IE]><script type="text/javascript" src="script/excanvas.js"></script><![endif]--> - -<!-- Apache-licensed animation library --> -<script type="text/javascript" src="script/berniecode-animator.js"></script> - -<!-- the core stuff --> -<script type="text/javascript" src="../../script/soundmanager2.js"></script> -<script type="text/javascript" src="script/360player.js"></script> - -<script type="text/javascript"> - -soundManager.setup({ - // path to directory containing SM2 SWF - url: '../../swf/' -}); - -threeSixtyPlayer.config.scaleFont = (navigator.userAgent.match(/msie/i)?false:true); -threeSixtyPlayer.config.showHMSTime = true; - -// enable some spectrum stuffs - -threeSixtyPlayer.config.useWaveformData = true; -threeSixtyPlayer.config.useEQData = true; - -// enable this in SM2 as well, as needed - -if (threeSixtyPlayer.config.useWaveformData) { - soundManager.flash9Options.useWaveformData = true; -} -if (threeSixtyPlayer.config.useEQData) { - soundManager.flash9Options.useEQData = true; -} -if (threeSixtyPlayer.config.usePeakData) { - soundManager.flash9Options.usePeakData = true; -} - -if (threeSixtyPlayer.config.useWaveformData || threeSixtyPlayer.flash9Options.useEQData || threeSixtyPlayer.flash9Options.usePeakData) { - // even if HTML5 supports MP3, prefer flash so the visualization features can be used. - soundManager.preferFlash = true; -} - -// favicon is expensive CPU-wise, but can be used. -if (window.location.href.match(/hifi/i)) { - threeSixtyPlayer.config.useFavIcon = true; -} - -if (window.location.href.match(/html5/i)) { - // for testing IE 9, etc. - soundManager.useHTML5Audio = true; -} - -</script> - -<!-- DEMO only, customization UI: Yahoo! YUI colorpicker stuff --> -<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.7.0/build/slider/assets/skins/sam/slider.css" /> -<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.7.0/build/colorpicker/assets/skins/sam/colorpicker.css" /> -<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/yahoo-dom-event/yahoo-dom-event.js"></script> -<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/animation/animation-min.js"></script> -<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/dragdrop/dragdrop-min.js"></script> -<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/slider/slider-min.js"></script> -<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/element/element-min.js"></script> -<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/colorpicker/colorpicker-min.js"></script> - -<link rel="stylesheet" type="text/css" href="demo.css" /> -<style type="text/css"> - -body { - background-image: none; -} - -#left h2 { - padding-top:0px; - margin-bottom:0.25em; - color:#666; -} - -pre.block { - margin-top:0.5em; -} - -/* special case */ - -#left { - width:auto; - max-width:100%; -} - -.ui360 span { - vertical-align: top; -} - -</style> - -<!-- demo configuration stuff, you don't need this --> -<link rel="stylesheet" type="text/css" href="demo-slider-controls.css" /> -<script type="text/javascript" src="demo-slider-controls.js"></script> - -</head> - -<body> - -<div id="left"> - - <h1><a href="http://www.schillmania.com/projects/soundmanager2/" title="Javascript MP3 player project home">SoundManager 2</a> / <a href="http://schillmania.com/projects/soundmanager2/demo/360-player/">360&deg; Player Demo</a>: JS + Canvas Visualization</h1> - - <p class="note" style="color:#666;margin-top:0.5em;margin-bottom:0.5em">Canvas-based UI with visualization options. <b>Note: Spectrum/EQ visualizations disabled for IE &lt; 9 (too slow.) Data is not implemented under HTML5.</b></p> - <p class="note" style="color:#666;margin-bottom:0.5em">You can also <a href="#debug=1" onclick="window.location.href = this.href;window.location.reload()" title="Enable debug mode, show frames per second">show FPS</a><span id="config-link"> or <a href="#customize" onclick="window.location.href=this.href;window.location.reload()">customize the UI</a></span><span id="hifi">, or see the <a href="#hifi=1" onclick="window.location.href=this.href;window.location.reload()">hi-fi version</a></span>. Check the <a href="canvas-visualization-basic.html">basic template</a> for a minimal code example; also see the <a href="../360-player/" title="360&deg; player UI">default 360&deg; UI</a>.</p> - - <!-- customization crap --> - - <div id="config-ui" style="clear:both;position:relative;max-width:1110px;margin-top:1em;display:none"> - - <div style="position:relative"> - - <form action="#" method="get"> - - <div id="controls"> - - <div class="checkbox"> - <div> - <input id="use-waveform" type="checkbox" checked="checked" title="Enable waveform feature." onclick="controller.updateExample();controller.updateExampleCode()" value="Apply" /> Waveform - <input id="disabled-1" type="checkbox" title="Enable EQ (spectrum) feature." onclick="controller.updateExample();controller.updateExampleCode()" value="Apply" style="margin-left:1em" checked="checked" /> EQ - <input type="checkbox" name="use-amplifier" id="use-amplifier" checked="checked" onclick="controller.updateExample();controller.updateExampleCode()" style="margin-left:1em"> Amplifier - </div> - </div> - - <div style="clear:left"></div> - - <dl class="col"> - - <dt>Circle Diameter</dt> - <dd class="title">Size</dd> - <dd>1-256</dd> - <dd class="control"> - <div class="bar" title="Click to move here"></div> - <div class="slider" title="Size of circle"></div> - </dd> - - <dt>Waveform Thickness</dt> - <dd class="title">thickness</dd> - <dd>1-100</dd> - <dd class="control"> - <div class="bar" title="Click to move here"></div> - <div class="slider" title="Thickness of line"></div> - </dd> - - <dt>Wave Downsample</dt> - <dd class="title">(Scale)</dd> - <dd>1-16</dd> - <dd class="control"> - <div class="bar" title="Click to move here"></div> - <div class="slider" title="Amount to downsample waveform data by"></div> - </dd> - - <dt>EQ Thickness</dt> - <dd class="title">thickness</dd> - <dd>1-50</dd> - <dd class="control"> - <div class="bar" title="Click to move here"></div> - <div class="slider" title="Thickness of line"></div> - </dd> - - <dt>EQ Downsample</dt> - <dd class="title">(Scale)</dd> - <dd>1-16</dd> - <dd class="control"> - <div class="bar" title="Click to move here"></div> - <div class="slider" title="Amount to downsample EQ data by"></div> - </dd> - - <dt>Ring Thickness</dt> - <dd class="title">(Scale)</dd> - <dd>1-200</dd> - <dd class="control"> - <div class="bar" title="Click to move here"></div> - <div class="slider" title="Scale factor for the ring width"></div> - </dd> - - </dl> - - <div id="options" class="col"> - - <div> - Waveform position: - <input type="radio" name="waveform-inside" id="waveform-inside" value="true" checked="checked" onclick="controller.updateExample();controller.updateExampleCode()"> Inside | <input type="radio" name="waveform-inside" id="waveform-inside" value="false" onclick="controller.updateExample();controller.updateExampleCode()"> Outside - </div> - - <div> - EQ position: - <input type="radio" name="eq-inside" id="eq-inside" value="true" onclick="controller.updateExample();controller.updateExampleCode()"> Inside | <input type="radio" name="eq-inside" id="eq-inside" value="false" checked="checked" onclick="controller.updateExample();controller.updateExampleCode()"> Outside - </div> - - <div> - Waveform color: - <input type="text" name="waveform-color" id="waveform-color" value="#000000" onclick="createCP(this,setWaveformColor)" /> - </div> - - <div> - EQ color: - <input type="text" name="eq-color" id="eq-color" value="#000000" onclick="createCP(this,setEQColor)" /> - </div> - - <div> - Loaded ring color: - <input type="text" name="loaded-ring-color" id="loaded-ring-color" value="#000000" onclick="createCP(this,setLoadedRingColor)" /> - </div> - - <div> - Progress ring color: - <input type="text" name="progress-ring-color" id="progress-ring-color" value="#000000" onclick="createCP(this,setProgressRingColor)" /> - </div> - - <div> - Background ring color: - <input type="text" name="bg-ring-color" id="bg-ring-color" value="#000000" onclick="createCP(this,setBackgroundRingColor)" /> - </div> - - <p class="compact"> - <input type="button" onclick="controller.randomize()" value="Randomize controls" title="Assign random control values" style="font-size:x-small" /> - </p> - - </form> - - </div> - - <div id="cp-container"> - <!-- color picker stuff goes here --> - </div> - - <div id="config-code-block" style="float:right;display:inline;margin-left:1em;margin-top:-0.7em"> - <!-- - <pre id="config-link" class="block"><code style="cursor:pointer" onclick="document.getElementById('config-link').style.display='none';document.getElementById('config-pre-block').style.display='block';return false"> [click to show code] </code></pre> - --> - <pre id="config-pre-block" class="block"><code id="config-code">Code goes here</code></pre> - </div> - - </div> - - </div> - - <p style="clear:left">Get a sound playing, then adjust the values to see real-time updates.</p> - - </div> - - <!-- here are the MP3 links, which are decorated with the 360 canvas element/UI etc. --> - - <div id="sm2-container"> - <!-- sm2 flash goes here --> - </div> - - <h2 style="margin-top:1em">Inline list</h2> - - <div class="sm2-inline-list"> <!-- remove this class to have one item per line --> - - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/sm2/The%20Fugitives%20-%20Graffiti%20Sex.mp3">The Fugitives - Graffiti Sex</a></div> - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/sm2/Adrian%20Glynn%20-%20Blue%20Belle%20Lament.mp3">Adrian Glynn - Blue Belle Lament</a></div> - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20I%20Tried.mp3">SonReal - I Tried</a></div> - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20People%20Asking.mp3">SonReal - People Asking</a></div> - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/mpc/20060826%20-%20Armstrong.mp3">20060826 - Armstrong Groove</a></div> - - </div> - - <p class="note medium-note" style="clear:both"><b>Artist thank-yous</b>: "Graffiti Sex" courtesy of <a href="http://www.fugitives.ca/" title="A group of musicians, poets, and multi-instrumentalists from Vancouver, Canada">The Fugitives</a>. "Blue Belle Lament" courtesy of <a href="http://www.adrianglynn.com/" title="Adrian Glynn, Vancouver-based Singer/Songwriter">Adrian Glynn</a>. "I Tried" and "People Asking" courtesy of <a href="http://sonreal.bandcamp.com/album/the-lightyear-mixtape" title="The Lightyear Mixtape from SonReal, Vancouver-based hip-hop artist">SonReal</a>.</p> - - <h2 style="clear:left;padding-top:1em">Block list</h2> - - <div> - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/sm2/gong-192kbps.mp3">32" Chau Gong Sounds</a></div> - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/mpc/20090207%20-%20Loverman.mp3">20090207 - Loverman</a></div> - <div class="ui360 ui360-vis"><a href="http://freshly-ground.com/data/audio/sm2/dialup.mp3">56K Modem dial-up sound (Warning: <span style="color:#ff3333">LOUD</span>)</a></div> - <div class="ui360 ui360-vis"><a href="../../demo/_mp3/1hz-10khz-sweep.mp3">1-10 Khz Sweep (Warning: <span style="color:#ff3333">LOUD</span>)</a></div> - <div class="ui360 ui360-vis"><a href="../../demo/_mp3/sine,%20square,%20sawtooth,%20rando.mp3">Sine, Square, Sawtooth, Wave (Warning: <span style="color:#ff3333">LOUD</span>)</a></div> - </div> - - <p class="note medium-note" style="clear:left">56K Modem sound (Creative Commons license) via <a href="http://www.freesound.org/samplesViewSingle.php?id=16475">dialup.mp3</a>, from freesound.org user <a href="http://www.freesound.org/usersViewSingle.php?id=54447">Jlew</a>.</p> - - - <h2 style="clear:left;padding-top:1em">Variant: Annotations/meta-data</h2> - - - <ul class="ui360playlist"> - - <li> - - <div class="ui360 ui360-vis"> - <a href="http://freshly-ground.com/data/audio/binaural/A%20Virtual%20Haircut%20in%20San%20Francisco%20%283%20Scenes%29.mp3">A Virtual Haircut (3 scenes)</a> - <div class="metadata"> - <div class="duration">4:43</div> <!-- total track time (for positioning while loading, until determined --> - <ul> - <li><p>Electric razor</p><span>0:00</span></li> <!-- first scene --> - <li><p>Water, scissors</p><span>2:41</span></li> <!-- start time of second scene --> - <li><p>More razor work</p><span>4:00</span></li> - </ul> - </div> - </div> - - </li> - - <li> - - <div class="ui360 ui360-vis"> - <a href="http://freshly-ground.com/data/audio/binaural/Rubber%20Chicken%20Launch%20%28office%29.mp3">Rubber Chicken Launch (Office)</a> - - <div class="metadata"> - <div class="duration">0:47</div> - <ul> - <li><p>First attempt</p><span>0:00</span></li> - <li><p>Fire!</p><span>0:02</span></li> - <li><p>"Too much angle"</p><span>0:05</span></li> - <li><p>Random chicken noise</p><span>0:18</span></li> - <li><p>"Wait a second"</p><span>0:31</span></li> - <li><p>Derrr..</p><span>0:34</span></li> - <li><p>Launch attempt #2</p><span>0:36</span></li> - <li><p>"Wrong angle"</p><span>0:39</span></li> - <li><p>"Fail"</p><span>0:42</span></li> - </ul> - </div> - - - </div> - - </li> - - </ul> - - <div style="clear:both"></div> - - <p style="margin-left:1em"> - <a href="http://www.schillmania.com/projects/soundmanager2/" title="SoundManager 2 home">SoundManager 2 project page</a> (not an MP3 link) - </p> - - <script type="text/javascript"> - if (window.location.toString().match(/#customize/i)) { - document.getElementById('config-link').style.display = 'none'; - document.getElementById('config-ui').style.display = 'block'; - } - </script> - -</div> - -</body> -</html> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo-slider-controls.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo-slider-controls.css deleted file mode 100644 index 27281c0b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo-slider-controls.css +++ /dev/null @@ -1,179 +0,0 @@ -#cp-container { position:relative;float:left;display:inline; margin-left:1em;padding: 6px; background-color: #f6f6f6; border:1px solid #eee; width: 320px; height:180px;z-index:2; } - -.yui-picker-controls li, -.yui-picker-controls input { - font-size:1em; - font-family:"helvetica neue",helvetica,arial,verdana; -} - -#controls { - position:relative; - margin-top:1.5em; - font-size:0.85em; -} - -#options { - float:left; - display:inline; - margin-bottom:0.5em; - margin-top:-1.2em; -} - -#controls .checkbox { - float:left; - display:inline; - width:21.2em; - margin-right:2.5em; -} - -#controls .checkbox div { - /* tab */ - width:auto; - padding:0.4em; - border:1px solid #ddd; - border-bottom:none; - background:#eee; -} - -#controls .checkbox div, -#controls .checkbox input { - font-family:arial,tahoma,verdana,"sans serif"; - font-size:1em; - vertical-align:middle; -} - -#controls dl { - width:21em; -} - -#controls dl.col { - position:relative; - float:left; - display:inline; - margin:0px; - margin-right:1em; - padding:0.75em; -/* - height:12.4em; -*/ - height:auto; - border:1px solid #ddd; - background:#f6f6f6; -} - -#controls .disabled { - color:#ccc; -} - -#controls .disabled dt, -#controls .disabled dd { - color:#999; - opacity:0.5; -} - -#controls dl dd p { - margin:0px; - padding:0px; -} - -#controls dt, -#controls dd { - margin:0px; - padding:0px; -} - -#controls dt { - border-bottom:none; -} - -#controls dt { - float:left; - display:inline; - background:transparent; - padding-right:0.7em; - margin-right:0.7em; - border-right:1px solid #ccc; - font-size:1.1em; - color:#333; - font-family:"helvetica neue",helvetica,verdana,arial,"sans serif"; -} - -#controls dd { - margin:0px; - padding:0px; - font-size:0.9em; - vertical-align:middle; - color:#666; -} - -#controls .title { - float:left; - display:inline; - margin-right:0.6em; - color:#333; -} - -/* those slider bits you might be wondering about */ - -#controls .control { - position:relative; - border-left:0px; - width:214px; - height:20px; -} - -#controls .control .bar { - position:absolute; - left:0px; - top:0px; - width:214px; - height:20px; - background:transparent url(../_image/slider-bar.gif) no-repeat 0px 9px; - cursor:pointer; - cursor:hand; -} - -#controls .control .slider { - position:absolute; - left:0px; - top:0px; - width:20px; - height:20px; - background:transparent url(../_image/slider.png) no-repeat 0px 0px; - *background:none; - filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='../_image/slider.png'); - cursor:pointer; - cursor:hand; -} - -#controls .control .slider:hover { - background:transparent url(../_image/slider-1.png) no-repeat 0px 0px; - *background:none; -} - -#controls .control .slider.hover { - filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='../_image/slider-1.png'); -} - -#controls .disabled .control .slider { - background:transparent url(../_image/slider-disabled.png) no-repeat 0px 0px; - *background:none; - filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='../_image/slider-disabled.png'); -} - -#controls .disabled .control .slider:hover { - background:transparent url(../_image/slider-disabled-1.png) no-repeat 0px 0px; - *background:none; -} - -#controls .disabled .control .slider.hover { - filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=crop,src='../_image/slider-disabled-1.png'); -} - -#controls input[type=text] { - width:5em; -} - -#options div { - margin-bottom:0.25em; -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo-slider-controls.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo-slider-controls.js deleted file mode 100644 index 379cd33da..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo-slider-controls.js +++ /dev/null @@ -1,750 +0,0 @@ -/* - Ancient fireworks slider control code (2005) - Kinda/sorta refactored for SM2 360 demo - http://schillmania.com/projects/fireworks/ - -------------------------------------------- - Not required for your use! -*/ - -function Animator2() { - var self = this; - this.tweens = []; - this.tweens['default'] = [1,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,2,1]; - this.tweens['blast'] = [12,12,11,10,10,9,8,7,6,5,4,3,2,1]; - this.tweens['fade'] = [10,10,10,10,10,10,10,10,10,10]; - this.queue = []; - this.queue.IDs = []; - this.active = false; - this.timer = null; - - this.createTween = function(start,end,type) { - // return array of tween coordinate data (start->end) - type = type||'default'; - var tween = [start]; - var tmp = start; - var diff = end-start; - var x = self.tweens[type].length; - for (var i=0; i<x; i++) { - tmp += diff*self.tweens[type][i]*0.01; - tween[i] = new Object(); - tween[i].data = tmp; - tween[i].event = null; - } - return tween; - } - - this.enqueue = function(o,fMethod,fOnComplete) { - // add object and associated methods to animation queue - // writeDebug('animator.enqueue()'); - if (!fMethod) { - // writeDebug('animator.enqueue(): missing fMethod'); - } - if (typeof(self.queue.IDs[o.oID])=='undefined') { - // writeDebug('animator.enqueue(): added '+o.oID); - var i = self.queue.length; - self.queue.IDs[o.oID] = i; - self.queue[i] = o; - } else { - // writeDebug('animator.enqueue(): '+o.oID+' already queued'); - var i = self.queue.IDs[o.oID]; // retrieve queue index - self.queue[i].active = true; - self.queue[i].frame = 0; - } - o.active = true; // flag for animation - self.queue[i]._method = fMethod; - self.queue[i]._oncomplete = fOnComplete?fOnComplete:null; - } - - this.animate = function() { - var active = 0; - for (var i=self.queue.length; i--;) { - if (self.queue[i].active) { - self.queue[i]._method(); - active++; - } - } - if (active==0 && self.timer) { - // all animations finished - self.stop(); - } else { - // writeDebug(active+' active'); - } - } - - this.start = function() { - if (self.timer || self.active) { - // writeDebug('animator.start(): already active'); - return false; - } - // writeDebug('animator.start()'); // report only if started - self.active = true; - self.timer = setInterval(self.animate,mc.intervalRate); - } - - this.stop = function() { - // writeDebug('animator.stop()',true); - clearInterval(self.timer); - self.timer = null; - self.active = false; - self.queue = []; - self.queue.IDs = []; - } - -} - -function MainController() { - var self = this; - this.intervalRate = 20; // rate (ms) to run animation at, general best default = 20 - this.DEBUG = true; // debug mode disabled by default - this.oFW = null; - this.isIE = (navigator.appVersion.indexOf('MSIE')+1); - this.isOpera = (navigator.userAgent.toLowerCase().indexOf('opera')+1); - if (this.isOpera) this.isIE = false; // no impersonation allowed here! - this.animator = null; - this.gOID = 0; // global object ID counter (for animation queue) - this.particleTypes = 6; - this.particleXY = 10; - this.tweenFade = [100,90,80,70,60,50,40,30,20,10,0]; - this.isSafari = (navigator.appVersion.toLowerCase().indexOf('safari')+1?1:0); - this.canvasX = null; - this.canvasY = null; - this.screenY = null; // screen area (not entire page) - self.scrollY = null; - - self.getWindowCoords = function() { - self.canvasX = (document.documentElement.clientWidth||document.body.clientWidth||document.body.scrollWidth); - self.canvasY = (document.documentElement.clientHeight||document.body.clientHeight||document.body.scrollHeight); - self.screenY = self.canvasY; - self.scrollY = parseInt(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop); - self.canvasY += self.scrollY; - } - - this.getWindowCoordsAlt = function() { - self.canvasX = window.innerWidth; - self.canvasY = window.innerHeight; - self.screenY = self.canvasY; - self.scrollY = parseInt(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop); - self.canvasY += self.scrollY; - } - - this.getPanX = function(x) { - x = parseInt(x); - var pos = x/self.canvasX; - if (pos<0.4) { - pos *= -1; - } else if (pos >= 0.4 && pos <= 0.6) { - pos = 0.5; - } - pos = parseInt(pos*100); - // writeDebug('getPanX('+x+'): '+pos+'%'); - return pos; - } - - this.isEmpty = function(o) { - // needs further hacking - return (typeof(o)=='undefined'||(o==null&&o!=0)||(o==''&&o!=0)||o=='null'); - } - - this.init = function() { -// self.oFW = document.getElementById('fw'); -// self.oFP = document.getElementById('fp'); -// if (typeof(enableDebugMode)!='undefined' && (self.DEBUG||window.location.toString().toLowerCase().indexOf('debug')>=0)) enableDebugMode(); - self.getWindowCoords(); - self.animator = new Animator2(); - } - - this.destructor = function() { -/* - for (var i=self.fireworks.length; i--;) { - self.fireworks[i] = null; - } - self.fireworks = null; - if (soundManager) { - soundManager.destructor(); - soundManager = null; - } -*/ - } - - if (this.isSafari || this.isOpera) this.getWindowCoords = this.getWindowCoordsAlt; - -} - - -function Controller(o) { - var self = this; - this.o = o; - this.controls = []; - this.cb = []; - this.options = []; - this.functionExample = document.getElementById('function-example'); - this.fbIE = null; - - this.randomize = function() { - for (var i=1; i<self.controls.length; i++) { - setTimeout(self.controls[i].randomize,20+(20*i+1)); - } - } - - this.cbClick = function(nIndex) { - document.getElementById('controls').getElementsByTagName('dl')[nIndex].className = 'col'+(this.checked==false||this.checked==''?' disabled':''); - self.updateExample(); - self.updateExampleCode(); - } - - this.updateExample = function() { - if (threeSixtyPlayer) { - var val = self.controls[0].value; - threeSixtyPlayer.config.circleDiameter = self.controls[0].value; - - threeSixtyPlayer.config.circleRadius = self.controls[0].value/2; - // update some stuff - - // set the cover width/height to match the canvas - if (threeSixtyPlayer.lastSound) { - // always set cover to max area? - // threeSixtyPlayer.lastSound._data.oCover.style.width = 250+'px'; - // threeSixtyPlayer.lastSound._data.oCover.style.height = 250+'px'; - // threeSixtyPlayer.lastSound._data.oCover.style.width = threeSixtyPlayer.config.circleDiameter+'px'; - // threeSixtyPlayer.lastSound._data.oCover.style.height = threeSixtyPlayer.config.circleDiameter+'px'; - threeSixtyPlayer.refreshCoords(threeSixtyPlayer.lastSound); - } - - threeSixtyPlayer.config.waveformDataLineRatio = (self.controls[1].value/100)*2; - - threeSixtyPlayer.config.waveformDataDownsample = (self.controls[2].value); - - threeSixtyPlayer.config.eqDataLineRatio = parseInt((self.controls[3].value/100)*3*1000)/1000; - - threeSixtyPlayer.config.eqDataDownsample = (self.controls[4].value); - - threeSixtyPlayer.config.scaleArcWidth = (self.controls[5].value/100); - - threeSixtyPlayer.config.useEQData = (document.getElementById('disabled-1').checked?true:false); - - // radio buttons - - threeSixtyPlayer.config.useWaveformData=(document.getElementById('use-waveform').checked?true:false); - - threeSixtyPlayer.config.waveformDataOutside = document.getElementById('waveform-inside').checked?false:true; - - threeSixtyPlayer.config.eqDataOutside = document.getElementById('eq-inside').checked?false:true; - - threeSixtyPlayer.config.useAmplifier = (document.getElementById('use-amplifier').checked?true:false); - - // threeSixtyPlayer.refreshCoords(); - } - - if (threeSixtyPlayer.lastSound) { - - threeSixtyPlayer.lastSound._360data.circleDiameter = self.controls[0].value; - - threeSixtyPlayer.lastSound._360data.circleRadius = self.controls[0].value/2; - - threeSixtyPlayer.lastSound._360data.waveformDataLineRatio = (self.controls[1].value/100)*2; - - threeSixtyPlayer.lastSound._360data.waveformDataDownsample = (self.controls[2].value); - - threeSixtyPlayer.lastSound._360data.eqDataLineRatio = parseInt((self.controls[3].value/100)*3*1000)/1000; - - threeSixtyPlayer.lastSound._360data.eqDataDownsample = (self.controls[4].value); - - threeSixtyPlayer.lastSound._360data.useEQData = (document.getElementById('disabled-1').checked?true:false); - - // radio buttons - - threeSixtyPlayer.lastSound._360data.useWaveformData=(document.getElementById('use-waveform').checked?true:false); - - threeSixtyPlayer.lastSound._360data.waveformDataOutside = document.getElementById('waveform-inside').checked?false:true; - - threeSixtyPlayer.lastSound._360data.eqDataOutside = document.getElementById('eq-inside').checked?false:true; - - threeSixtyPlayer.lastSound._360data.useAmplifier = (document.getElementById('use-amplifier').checked?true:false); - - } - - } - - this.updateExampleCode = function() { - // set innerHTML -document.getElementById('config-code').innerHTML = "\ -// 360player.js, config section\n\ -\n\ -this.config = {\n\ -\n\ - playNext: <span>"+threeSixtyPlayer.config.playNext+"</span>,\n\ - autoPlay: <span>"+threeSixtyPlayer.config.autoPlay+"</span>,\n\ - allowMultiple: <span>"+threeSixtyPlayer.config.allowMultiple+"</span>,\n\ - loadRingColor: <span>'"+threeSixtyPlayer.config.loadRingColor+"'</span>,\n\ - playRingColor: <span>'"+threeSixtyPlayer.config.playRingColor+"'</span>,\n\ - backgroundRingColor: <span>'"+threeSixtyPlayer.config.backgroundRingColor+"'</span>,\n\ - circleDiameter: <span>"+threeSixtyPlayer.config.circleDiameter+"</span>,\n\ - circleRadius: <span>"+threeSixtyPlayer.config.circleRadius+"</span>,\n\ - animDuration: <span>"+threeSixtyPlayer.config.animDuration+"</span>,\n\ - animTransition: <span>Animator.tx.bouncy</span>,\n\ - showHMSTime: <span>"+threeSixtyPlayer.config.showHMSTime+"</span>,\n\ -\n\ - useWaveformData: <span>"+threeSixtyPlayer.config.useWaveformData+"</span>,\n\ - waveformDataColor: <span>'"+threeSixtyPlayer.config.waveformDataColor+"'</span>,\n\ - waveformDataDownsample: <span>"+threeSixtyPlayer.config.waveformDataDownsample+"</span>,\n\ - waveformDataOutside: <span>"+threeSixtyPlayer.config.waveformDataOutside+"</span>,\n\ - waveformDataConstrain: <span>false</span>,\n\ - waveformDataLineRatio: <span>"+threeSixtyPlayer.config.waveformDataLineRatio+"</span>,\n\ -\n\ - useEQData: <span>"+threeSixtyPlayer.config.useEQData+"</span>,\n\ - eqDataColor: <span>'"+threeSixtyPlayer.config.eqDataColor+"'</span>,\n\ - eqDataDownsample: <span>"+threeSixtyPlayer.config.eqDataDownsample+"</span>,\n\ - eqDataOutside: <span>"+threeSixtyPlayer.config.eqDataOutside+"</span>,\n\ - eqDataLineRatio: <span>"+threeSixtyPlayer.config.eqDataLineRatio+"</span>,\n\ -\n\ - usePeakData: <span>"+threeSixtyPlayer.config.usePeakData+"</span>,\n\ - peakDataColor: <span>'"+threeSixtyPlayer.config.peakDataColor+"'</span>,\n\ - peakDataOutside: <span>"+threeSixtyPlayer.config.peakDataOutside+"</span>,\n\ - peakDataLineRatio: <span>"+threeSixtyPlayer.config.peakDataLineRatio+"</span>,\n\ -\n\ - useAmplifier: <span>"+threeSixtyPlayer.config.useAmplifier+"</span>\n\ -\n\ -}"; -document.getElementById('config-code').style.display = 'block'; // weird Fx fix - } - - this.createCustomFirework = function() { - } - - this.destructor = function() { - for (var i=self.controls.length; i--;) { - self.controls[i].destructor(); - } - for (i=self.cb.length; i--;) { - self.cb.onclick = null; - self.cb[i] = null; - } - for (i=self.options.length; i--;) { - self.options[i] = null; - } - if (navigator.userAgent.match(/msie/i)) { - self.fbIE.onmouseover = null; - self.fbIE.onmouseout = null; - self.fbIE = null; - } - self.cb = null; - self.options = null; - self.controls = null; - self.functionExample = null; - self.o = null; - } - - var items = parseInt(this.o.length/3); - for (var i=0; i<items; i++) { - this.controls[this.controls.length] = new Slider(this.o[(3*i)+2].getElementsByTagName('div')[1],this.o[(3*i)+1],this.o[(3*i)+2].getElementsByTagName('div')[0]); - } - this.cb = [document.getElementById('disabled-0'),document.getElementById('disabled-1')]; -/* - for (i=this.cb.length; i--;) { - this.cb[i]._index = i; - this.cb[i].onclick = this.cbClick; - } -*/ - this.options = []; -/* - this.cb[1].checked = false; - this.options = [document.getElementById('opt-random0'),document.getElementById('opt-random1')]; - this.options[0].checked = false; - this.options[1].checked = true; - if (navigator.userAgent.match(/msie/i)) { - this.fbIE = document.getElementById('fireButton'); - this.fbIE.onmouseover = function() {this.className='hover';} - this.fbIE.onmouseout = function() {this.className='';} - } -*/ - - setTimeout(function(){ - // default values for controls - var values = [ - 256, - 65, - 40, - 72, - 48, - 100 - ]; - for (var i=0; i<values.length; i++) { - self.controls[i].setValue(values[i]); // defaults - } - },1); -} - -function Slider(o,oV,oB) { - var self = this; - this.o = o; - this.oV = oV; - this.oB = oB; - this.scale = parseInt(oV.innerHTML.toString().substr(2)); - this.oID = 'sc'+(gOID++); - this.offX = 0; - this.x = 0; - this.xMin = 0-10; - this.xMax = self.o.parentNode.offsetWidth-10; - this.value = 0; - this.timer = null; - this._className = this.o.className; - this.tween = []; - this.frame = 0; - - this.over = function() { - this.className = self._className+' hover'; - event.cancelBubble=true; - return false; - } - - this.out = function() { - this.className = self._className; - event.cancelBubble=true; - return false; - } - - this.down = function(e) { - var e = e?e:event; - self.offX = e.clientX-self.o.offsetLeft; - addEvent(document,'mousemove',self.move); - addEvent(document,'mouseup',self.up); - return false; - } - - this.barClick = function(e) { - var e=e?e:event; - self.slide(self.x,e.clientX-self.o.parentNode.parentNode.offsetLeft-self.o.offsetWidth); - } - - this.move = function(e) { - var e=e?e:event; - var x = e.clientX-self.offX; - if (x>self.xMax) { - x = self.xMax; - } else if (x<self.xMin) { - x = self.xMin; - } - if (x != self.x) { - self.moveTo(x); - self.doUpdate(); - controller.updateExample(); - controller.updateExampleCode(); - } - e.stopPropgation?e.stopPropagation():e.cancelBubble=true; - return false; - } - - this.up = function(e) { - removeEvent(document,'mousemove',self.move); - removeEvent(document,'mouseup',self.up); - // controller.updateExample(); - controller.updateExampleCode(); - } - - this.slide = function(x0,x1) { - self.tween = mc.animator.createTween(x0,x1); - mc.animator.enqueue(self,self.animate,function(){ - controller.updateExample() - controller.updateExampleCode(); - }); - mc.animator.start(); - } - - this.moveTo = function(x) { - self.x = x; - self.o.style.marginLeft = x+'px'; - } - - this.animate = function() { - self.moveTo(self.tween[self.frame].data); - self.doUpdate(50); - controller.updateExample(); - if (self.frame++>=self.tween.length-1) { - self.active = false; - self.frame = 0; - if (self._oncomplete) self._oncomplete(); -// self.doUpdate(); - return false; - } - self.doUpdate(); - return true; - } - - this.doUpdate = function(t) { - // if (!self.timer) self.timer = setTimeout(self.update,t||20); - self.update(); - } - - this.update = function() { - self.timer = null; - self.value = 1+parseInt(self.x/self.xMax*(self.scale-1)); - if (self.value<1) self.value = 1; - // if (self.oV.innerHTML != self.value) self.oV.innerHTML = self.value; - // self.oV.innerHTML = self.value; - } - - this.setValue = function(x) { - self.slide(self.x,Math.min(self.xMax,x)); - } - - this.randomize = function() { - self.slide(self.x,parseInt(Math.random()*self.xMax)); - } - - this.destructor = function() { - self.o.onmouseover = null; - self.o.onmouseout = null; - self.o.onmousedown = null; - self.o = null; - self.oV = null; - self.oB.onclick = null; - self.oB = null; - } - - if (soundManager.isIE) { - // IE is lame, no :hover - this.o.onmouseover = this.over; - this.o.onmouseout = this.out; - } - - this.o.onmousedown = this.down; - this.oB.onclick = this.barClick; - self.update(); - -} - -var gOID = 0; - -function demoInit() { - controller = new Controller(document.getElementById('controls').getElementsByTagName('dd')); -} - -function demoDestuctor() { - controller.destructor(); - controller = null; -} - -var controller = null; - -var mc = new MainController(); -// create null objects if APIs not present - -function createCP(oInput,oHandler) { - var Event = YAHOO.util.Event; - - cpHandler = oHandler; - if (picker != null) { - // picker.showcontrols(true); - var c = oInput.value.substr(1); - picker.setValue(hex2decArray([c.substr(0,2),c.substr(2,2),c.substr(4,2)]),true); // be silent - return false; - } - - Event.onDOMReady(function() { - picker = new YAHOO.widget.ColorPicker("cp-container", { - showhsvcontrols: true, - showhexcontrols: true, - images: { - PICKER_THUMB: "../_image/picker_thumb.png", - HUE_THUMB: "../_image/hue_thumb.png" - } - }); - -// picker.showcontrols(false); - //a listener for logging RGB color changes; - //this will only be visible if logger is enabled: - var onRgbChange = function(o) { - /*o is an object - { newValue: (array of R, G, B values), - prevValue: (array of R, G, B values), - type: "rgbChange" - } - */ - cpHandler(o.newValue); - controller.updateExampleCode(); - } - - //subscribe to the rgbChange event; - picker.on("rgbChange", onRgbChange); - - //use setValue to reset the value to white: - Event.on("reset", "click", function(e) { - picker.setValue([255, 255, 255], false); //false here means that rgbChange - //wil fire; true would silence it - }); - - //use the "get" method to get the current value - //of one of the Color Picker's properties; in - //this case, we'll get the hex value and write it - //to the log: - Event.on("gethex", "click", function(e) { - console.log("Current hex value: " + picker.get("hex")); - }); - - }); -} - -var picker = null; - -cpHandler = function() { -} - - - // hex -> dec / dec -> hex - // http://www.southwest.com.au/~jfuller/binary/converter.htm - - function dec2hex(cval) { - if (cval > 255) cval = 255; - var hexascii = "0123456789ABCDEF"; - var cval0 = Math.floor(cval/16); - var cval1 = cval-(cval0*16); - var c1 = hexascii.charAt(cval0); - var c2 = hexascii.charAt(cval1); - return (c1+c2); - } - - function hex2dec(cval) { - cval = cval.toUpperCase(); - var tval = 0; - var hexascii = "0123456789ABCDEF"; - var mychar, ch; - for (var c=0; c<cval.length; c++) { - mychar = cval.charAt(c); - for (ch=0; ch<16; ch++) { - if (mychar == hexascii.charAt(ch)) { - tval += ch; - if (c<cval.length-1) tval *= 16; - } - } - } - return tval; - } - - function hex2decArray(hArray) { - var result = []; - for (var i=0,j=hArray.length; i<j; i++) { - result[i] = hex2dec(hArray[i]); - } - return result; - } - - function dec2hexArray(dArray) { - var result = []; - for (var i=0,j=dArray.length; i<j; i++) { - result[i] = dec2hex(dArray[i]); - } - return result; - } - - -/* - - -threeSixtyPlayer.config.waveformDataColor = '#'+dec2hexArray([self.controls[5].value,self.controls[6].value,self.controls[7].value]).join(''); - -threeSixtyPlayer.config.eqDataColor = '#'+dec2hexArray([self.controls[8].value,self.controls[9].value,self.controls[10].value]).join(''); - -threeSixtyPlayer.config.loadRingColor = '#'+dec2hexArray([self.controls[11].value,self.controls[12].value,self.controls[13].value]).join(''); - -threeSixtyPlayer.config.playRingColor = '#'+dec2hexArray([self.controls[14].value,self.controls[15].value,self.controls[16].value]).join(''); - -threeSixtyPlayer.config.waveformDataLineRatio = (self.controls[1].value/100)*2; - -threeSixtyPlayer.config.waveformDataDownsample = (self.controls[2].value); - -threeSixtyPlayer.config.eqDataLineRatio = (self.controls[3].value/100)*3; - -threeSixtyPlayer.config.eqDataDownsample = (self.controls[4].value); - -*/ - -function _id(sID) { - return document.getElementById(sID); -} - -function setWaveformColor(sColor) { - var value = '#'+(dec2hexArray(sColor).join('')); - threeSixtyPlayer.config.waveformDataColor = value; - _id('waveform-color').value = value; -} - -function setEQColor(sColor) { - var value = '#'+dec2hexArray(sColor).join(''); - _id('eq-color').value = value; - threeSixtyPlayer.config.eqDataColor = value; -} - -function setLoadedRingColor(sColor) { - var value = '#'+dec2hexArray(sColor).join(''); - _id('loaded-ring-color').value = value; - threeSixtyPlayer.config.loadRingColor = value; -} - -function setProgressRingColor(sColor) { - var value = '#'+dec2hexArray(sColor).join(''); - _id('progress-ring-color').value = value; - threeSixtyPlayer.config.playRingColor = value; -} - -function setBackgroundRingColor(sColor) { - var value = '#'+dec2hexArray(sColor).join(''); - _id('bg-ring-color').value = value; - threeSixtyPlayer.config.backgroundRingColor = value; -} - -function addEvent(o,evtName,evtHandler) { - typeof window.addEventListener !== 'undefined' ? o.addEventListener(evtName,evtHandler,false) : o.attachEvent('on'+evtName,evtHandler); -} - -function removeEvent(o,evtName,evtHandler) { - typeof window.removeEventListener !== 'undefined' ? o.removeEventListener(evtName,evtHandler,false) : o.detachEvent('on'+evtName,evtHandler); -} - -if (window.location.toString().match(/#customize/i)) { - addEvent(window,'resize',mc.getWindowCoords); - addEvent(window,'scroll',mc.getWindowCoords); - addEvent(window,'load',mc.init); - addEvent(window,'load',demoInit); -} - -if (window.location.toString().match(/hifi/i)) { - soundManager.onready(function(){ - document.getElementById('hifi').style.display = 'none'; - - threeSixtyPlayer.config = { - - playNext: false, - autoPlay: false, - loadRingColor: '#ccc', - playRingColor: '#000', - backgroundRingColor: '#eee', - circleDiameter: 256, - circleRadius: 128, - animDuration: 500, - animTransition: Animator.tx.bouncy, - showHMSTime: true, - - useWaveformData: true, - waveformDataColor: '#0099ff', - waveformDataDownsample: 1, - waveformDataOutside: true, - waveformDataConstrain: false, - waveformDataLineRatio: 0.56, - - useEQData: true, - eqDataColor: '#339933', - eqDataDownsample: 1, - eqDataOutside: true, - eqDataLineRatio: 0.72, - - usePeakData: true, - peakDataColor: '#ff33ff', - peakDataOutside: true, - peakDataLineRatio: 0.5, - scaleArcWidth: 1, // thickness factor of playback progress ring - useAmplifier: true - - } - - }); -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo.css deleted file mode 100644 index 68acf3632..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/demo.css +++ /dev/null @@ -1,64 +0,0 @@ -/** - * In-page demo CSS - see external CSS for actual relevant stuff. -*/ - -#soundmanager-debug { - /* SM2 debug container (optional, makes debug more useable) */ - position:absolute;position:fixed;*position:absolute;bottom:10px;right:10px;width:50em;height:18em;overflow:auto;background:#fff;margin:1em;padding:1em;border:1px solid #999;font-family:"lucida console",verdana,tahoma,"sans serif";font-size:x-small;line-height:1.5em;opacity:0.9;filter:alpha(opacity=90); -} - -body { - font:75% normal verdana,arial,tahoma,"sans serif"; -} - -h1, h2, h3 { - font:3em arial,tahoma,verdana; - font-weight:normal; - margin-bottom:0px; -} - -h1 { - margin-top:0.25em; -} - -h1, h2 { - letter-spacing: -0.005em; /* zomg web x.0! ;) */ -} - -h2 { - font-size:2em; - margin-top:0px; - margin-bottom:0.1em; -} - -h3 { - font-size:1.5em; - margin-bottom:1em; -} - -h1 a, -h1 a:hover { - color:#000; - text-decoration:none; -} - -h1 a:hover { - text-decoration:underline; -} - -ul.notes { - margin-left:0px; - padding-left:1.5em; -} - -.note { - margin-top:0px; - font-style:italic; - color:#999; - margin-bottom:0px; -} - -#left { - max-width:56em; - margin-left:1em; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_dots.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_dots.gif deleted file mode 100644 index fdef49836..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_dots.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_spinner.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_spinner.gif deleted file mode 100644 index 8449353f0..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_spinner.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_spinner_bigger.gif b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_spinner_bigger.gif deleted file mode 100644 index 87985e938..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/icon_loading_spinner_bigger.gif and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/index.html deleted file mode 100644 index 559c911d0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/index.html +++ /dev/null @@ -1,171 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> -<head> -<title>360&deg; MP3 player UI demo (SoundManager 2)</title> -<meta name="robots" content="noindex" /> -<meta name="description" content="Javascript-driven sound, canvas-based MP3 player UI demo: 360-degree circular control / jog wheel example for playing MP3 links using SoundManager 2, Javascript and Canvas."> - -<!-- required --> -<link rel="stylesheet" type="text/css" href="360player.css" /> - -<!-- special IE-only canvas fix --> -<!--[if IE]><script type="text/javascript" src="script/excanvas.js"></script><![endif]--> - -<!-- Apache-licensed animation library --> -<script type="text/javascript" src="script/berniecode-animator.js"></script> - -<!-- the core stuff --> -<script type="text/javascript" src="../../script/soundmanager2.js"></script> -<script type="text/javascript" src="script/360player.js"></script> - -<script type="text/javascript"> -soundManager.setup({ - // path to directory containing SM2 SWF - url: '../../swf/' -}); -</script> - -<!-- stuff you don't need --> -<!-- makes the fonts nicer etc. --> -<link rel="stylesheet" type="text/css" href="../index.css" /> -<link rel="stylesheet" type="text/css" href="demo.css" /> - -<!-- soundManager.useFlashBlock: related CSS --> -<link rel="stylesheet" type="text/css" href="../flashblock/flashblock.css" /> - -<style type="text/css"> - -/* Demo page, general layout */ - -body { - background-image: none; -} - -#left { - position:relative; - width:950px; - max-width:100%; -} - -#left h2 { - padding-top:0px; - margin-bottom:0.25em; - color:#666; -} - -pre.block { - margin-top:0.5em; -} - -</style> - -</head> - -<body> - -<div id="left"> - - <h1><a href="http://www.schillmania.com/projects/soundmanager2/" title="Javascript MP3 player project home">SoundManager 2</a> / <a href="http://schillmania.com/projects/soundmanager2/demo/360-player/">360&deg; Player</a>: JavaScript + Canvas UI</h1> - - <p class="note" style="color:#666;margin-top:0.5em;margin-bottom:0.5em">Canvas-based UI. Load progress, seek, play/pause etc. Also see <a href="canvas-visualization.html" title="Javascript canvas visualization with waveform/eq data">360&deg; UI visualization</a> demo.</p> - -<div id="sm2-container"> - <!-- flash movie is added here --> -</div> - -<div style="margin-top:1.25em"> - - <div style="float:left;display:inline;min-width:200px"> <!-- float is just for this demo layout, you don't need it. --> - - <div class="ui360" style="margin-top:-0.55em"><a href="../_mp3/rain.mp3">Rain</a></div> - - <div class="ui360"><a href="http://freshly-ground.com/data/audio/mpc/20090119%20-%20Untitled%20Groove.mp3">20090119 - Untitled Groove</a></div> - - </div> - - - <div style="float:left;display:inline;margin-left:40px;border-left:1px solid #ccc;padding-left:30px;width:150px"> - - <div class="sm2-inline-list" style="margin-bottom:10px"> <!-- note the CSS class, changes the layout --> - - <div class="ui360"><a href="http://www.freshly-ground.com/data/audio/binaural/Mak.mp3">Angry cow sound?</a></div> - <div class="ui360"><a href="http://www.freshly-ground.com/data/audio/binaural/Things that open, close and roll.mp3">Things that open, close and roll</a></div> - <div class="ui360"><a href="http://www.freshly-ground.com/misc/music/20060826%20-%20Armstrong.mp3">20060826 - Armstrong</a></div> - - </div> - - </div> - -</div> - -<div style="clear:both"></div> - - - <h3>How This Works</h3> - - <p>The script looks for a container element matching <code>div.<span>ui360</span></code>, and then the first link inside of it.</p> - - <div> - -<pre class="block"><code>&lt;div class="<span>ui360</span>"&gt; - &lt;a href="/path/to/an.mp3"&gt;play "an.mp3"&lt;/a&gt; -&lt;/div&gt;</code></pre> - - </div> - - <p>When the 360 player script loads, it adds a <code>UI</code> template to the block, prepending it in front of the MP3 link:</p> - -<pre class="block"><code>&lt;div class="<span>ui360</span>"&gt; - <span><span>&lt;-- dynamically-inserted block --&gt;</span></span> - &lt;div class="<span>ui</span>"&gt; - &lt;canvas class="<span>sm2-canvas</span>"&gt;&lt;/canvas&gt; - &lt;span class="<span>sm2-360btn</span>"&gt;&lt;/span&gt; - &lt;div class="<span>sm2-timing</span>"&gt;&lt;/div&gt; - &lt;div class="<span>sm2-cover</span>"&gt;&lt;/div&gt; - &lt;/div&gt; - <span><span>&lt;-- /UI --&gt;</span></span> - &lt;a href="<span>/path/to/an.mp3</span>"&gt; -&lt;/div&gt;</code></pre> - -<h3>Customizing the UI</h3> - -<p>The player's default 50x50-pixel canvas is defined both within JavaScript and CSS. For an example with different values, see this <a href="canvas-visualization.html" title="360&deg; UI: larger version">larger version</a>.</p> - -<pre class="block"><code>threeSixtyPlayer.config = { - playNext: <span>false</span>, <span><span>// stop after one sound, or play through list until end</span></span> - autoPlay: <span>false</span>, <span><span>// start playing the first sound right away</span></span> - allowMultiple: <span>true</span>, <span><span>// let many sounds play at once (false = one at a time)</span></span> - loadRingColor: <span>'#ccc',</span> <span><span>// amount of sound which has loaded</span></span> - playRingColor: <span>'#000'</span>, <span><span>// amount of sound which has played</span></span> - backgroundRingColor: <span>'#eee', </span><span><span>// "default" color shown underneath everything else</span></span> - animDuration: <span>500</span>, - animTransition: <span>Animator.tx.bouncy</span> <span><span>// http://www.berniecode.com/writing/animator.html</span></span> -}</code></pre> - -<p>The CSS for the canvas UI block is a bit ugly, but JavaScript reads the width of the <code>.sm2-360ui</code> element in the DOM as set by CSS and uses that to later draw and update the canvas element while playing.</p> - -<pre class="block"><code>.ui360, -.sm2-360ui { - <span><span>/* size of the container for the circle, etc. */</span></span> - width:<span>50px</span>; - height:<span>50px</span>; -} -</code></pre> - -<h3>Third-party Components</h3> - -<p>This demo includes use of <a href="http://www.berniecode.com/writing/animator.html">Bernie's Better Animation Class</a> (Apache licensed) for some animation effects.</p> -<p>Also, some loader/spinner icons from <a href="http://ajaxload.info">ajaxload.info</a> are used for showing loading/buffering states.</p> - -<hr /> - - <p> - <a href="http://www.schillmania.com/projects/soundmanager2/" title="SoundManager 2 home">SoundManager 2 project page</a> (not an MP3 link) - </p> - - -</div> - -</body> -</html> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/360player.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/360player.js deleted file mode 100644 index 4546a4158..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/360player.js +++ /dev/null @@ -1,1416 +0,0 @@ -/** - * - * SoundManager 2 Demo: 360-degree / "donut player" - * ------------------------------------------------ - * http://schillmania.com/projects/soundmanager2/ - * - * An inline player with a circular UI. - * Based on the original SM2 inline player. - * Inspired by Apple's preview feature in the - * iTunes music store (iPhone), among others. - * - * Requires SoundManager 2 Javascript API. - * Also uses Bernie's Better Animation Class (BSD): - * http://www.berniecode.com/writing/animator.html - * -*/ - -/*jslint white: false, onevar: true, undef: true, nomen: false, eqeqeq: true, plusplus: false, bitwise: true, regexp: false, newcap: true, immed: true */ -/*global document, window, soundManager, navigator */ - -var threeSixtyPlayer, // instance - ThreeSixtyPlayer; // constructor - -(function(window) { - -function ThreeSixtyPlayer() { - - var self = this, - pl = this, - sm = soundManager, // soundManager instance - uA = navigator.userAgent, - isIE = (uA.match(/msie/i)), - isOpera = (uA.match(/opera/i)), - isSafari = (uA.match(/safari/i)), - isChrome = (uA.match(/chrome/i)), - isFirefox = (uA.match(/firefox/i)), - isTouchDevice = (uA.match(/ipad|iphone/i)), - hasRealCanvas = (typeof window.G_vmlCanvasManager === 'undefined' && typeof document.createElement('canvas').getContext('2d') !== 'undefined'), - // I dunno what Opera doesn't like about this. I'm probably doing it wrong. - fullCircle = (isOpera||isChrome?359.9:360), - // exclude old IE from hi-DPI / "retina"-scale display size - hiDPIScale = (navigator.userAgent.match(/msie [678]/i)? 1 : 2); - - // CSS class for ignoring MP3 links - this.excludeClass = 'threesixty-exclude'; - this.links = []; - this.sounds = []; - this.soundsByURL = []; - this.indexByURL = []; - this.lastSound = null; - this.lastTouchedSound = null; - this.soundCount = 0; - this.oUITemplate = null; - this.oUIImageMap = null; - this.vuMeter = null; - this.callbackCount = 0; - this.peakDataHistory = []; - - // 360player configuration options - this.config = { - - playNext: false, // stop after one sound, or play through list until end - autoPlay: false, // start playing the first sound right away - allowMultiple: false, // let many sounds play at once (false = only one sound playing at a time) - loadRingColor: '#ccc', // how much has loaded - playRingColor: '#000', // how much has played - backgroundRingColor: '#eee', // color shown underneath load + play ("not yet loaded" color) - - // optional segment/annotation (metadata) stuff.. - segmentRingColor: 'rgba(255,255,255,0.33)', // metadata/annotation (segment) colors - segmentRingColorAlt: 'rgba(0,0,0,0.1)', - loadRingColorMetadata: '#ddd', // "annotations" load color - playRingColorMetadata: 'rgba(128,192,256,0.9)', // how much has played when metadata is present - - circleDiameter: null, // set dynamically according to values from CSS - circleRadius: null, - animDuration: 500, - animTransition: window.Animator.tx.bouncy, // http://www.berniecode.com/writing/animator.html - showHMSTime: false, // hours:minutes:seconds vs. seconds-only - scaleFont: true, // also set the font size (if possible) while animating the circle - - // optional: spectrum or EQ graph in canvas (not supported in IE <9, too slow via ExCanvas) - useWaveformData: false, - waveformDataColor: '#0099ff', - waveformDataDownsample: 3, // use only one in X (of a set of 256 values) - 1 means all 256 - waveformDataOutside: false, - waveformDataConstrain: false, // if true, +ve values only - keep within inside circle - waveformDataLineRatio: 0.64, - - // "spectrum frequency" option - useEQData: false, - eqDataColor: '#339933', - eqDataDownsample: 4, // use only one in X (of 256 values) - eqDataOutside: true, - eqDataLineRatio: 0.54, - - // enable "amplifier" (canvas pulses like a speaker) effect - usePeakData: true, - peakDataColor: '#ff33ff', - peakDataOutside: true, - peakDataLineRatio: 0.5, - - useAmplifier: true, // "pulse" like a speaker - - fontSizeMax: null, // set according to CSS - - scaleArcWidth: 1, // thickness factor of playback progress ring - - useFavIcon: false // Experimental (also requires usePeakData: true).. Try to draw a "VU Meter" in the favicon area, if browser supports it (Firefox + Opera as of 2009) - - }; - - this.css = { - - // CSS class names appended to link during various states - sDefault: 'sm2_link', // default state - sBuffering: 'sm2_buffering', - sPlaying: 'sm2_playing', - sPaused: 'sm2_paused' - - }; - - this.addEventHandler = (typeof window.addEventListener !== 'undefined' ? function(o, evtName, evtHandler) { - return o.addEventListener(evtName,evtHandler,false); - } : function(o, evtName, evtHandler) { - o.attachEvent('on'+evtName,evtHandler); - }); - - this.removeEventHandler = (typeof window.removeEventListener !== 'undefined' ? function(o, evtName, evtHandler) { - return o.removeEventListener(evtName,evtHandler,false); - } : function(o, evtName, evtHandler) { - return o.detachEvent('on'+evtName,evtHandler); - }); - - this.hasClass = function(o,cStr) { - return typeof(o.className)!=='undefined'?o.className.match(new RegExp('(\\s|^)'+cStr+'(\\s|$)')):false; - }; - - this.addClass = function(o,cStr) { - - if (!o || !cStr || self.hasClass(o,cStr)) { - return false; - } - o.className = (o.className?o.className+' ':'')+cStr; - - }; - - this.removeClass = function(o,cStr) { - - if (!o || !cStr || !self.hasClass(o,cStr)) { - return false; - } - o.className = o.className.replace(new RegExp('( '+cStr+')|('+cStr+')','g'),''); - - }; - - this.getElementsByClassName = function(className,tagNames,oParent) { - - var doc = (oParent||document), - matches = [], i,j, nodes = []; - if (typeof tagNames !== 'undefined' && typeof tagNames !== 'string') { - for (i=tagNames.length; i--;) { - if (!nodes || !nodes[tagNames[i]]) { - nodes[tagNames[i]] = doc.getElementsByTagName(tagNames[i]); - } - } - } else if (tagNames) { - nodes = doc.getElementsByTagName(tagNames); - } else { - nodes = doc.all||doc.getElementsByTagName('*'); - } - if (typeof(tagNames)!=='string') { - for (i=tagNames.length; i--;) { - for (j=nodes[tagNames[i]].length; j--;) { - if (self.hasClass(nodes[tagNames[i]][j],className)) { - matches.push(nodes[tagNames[i]][j]); - } - } - } - } else { - for (i=0; i<nodes.length; i++) { - if (self.hasClass(nodes[i],className)) { - matches.push(nodes[i]); - } - } - } - return matches; - - }; - - this.getParentByNodeName = function(oChild,sParentNodeName) { - - if (!oChild || !sParentNodeName) { - return false; - } - sParentNodeName = sParentNodeName.toLowerCase(); - while (oChild.parentNode && sParentNodeName !== oChild.parentNode.nodeName.toLowerCase()) { - oChild = oChild.parentNode; - } - return (oChild.parentNode && sParentNodeName === oChild.parentNode.nodeName.toLowerCase()?oChild.parentNode:null); - - }; - - this.getParentByClassName = function(oChild,sParentClassName) { - - if (!oChild || !sParentClassName) { - return false; - } - while (oChild.parentNode && !self.hasClass(oChild.parentNode,sParentClassName)) { - oChild = oChild.parentNode; - } - return (oChild.parentNode && self.hasClass(oChild.parentNode,sParentClassName)?oChild.parentNode:null); - - }; - - this.getSoundByURL = function(sURL) { - return (typeof self.soundsByURL[sURL] !== 'undefined'?self.soundsByURL[sURL]:null); - }; - - this.isChildOfNode = function(o,sNodeName) { - - if (!o || !o.parentNode) { - return false; - } - sNodeName = sNodeName.toLowerCase(); - do { - o = o.parentNode; - } while (o && o.parentNode && o.nodeName.toLowerCase() !== sNodeName); - return (o && o.nodeName.toLowerCase() === sNodeName?o:null); - - }; - - this.isChildOfClass = function(oChild,oClass) { - - if (!oChild || !oClass) { - return false; - } - while (oChild.parentNode && !self.hasClass(oChild,oClass)) { - oChild = self.findParent(oChild); - } - return (self.hasClass(oChild,oClass)); - - }; - - this.findParent = function(o) { - - if (!o || !o.parentNode) { - return false; - } - o = o.parentNode; - if (o.nodeType === 2) { - while (o && o.parentNode && o.parentNode.nodeType === 2) { - o = o.parentNode; - } - } - return o; - - }; - - this.getStyle = function(o,sProp) { - - // http://www.quirksmode.org/dom/getstyles.html - try { - if (o.currentStyle) { - return o.currentStyle[sProp]; - } else if (window.getComputedStyle) { - return document.defaultView.getComputedStyle(o,null).getPropertyValue(sProp); - } - } catch(e) { - // oh well - } - return null; - - }; - - this.findXY = function(obj) { - - var curleft = 0, curtop = 0; - do { - curleft += obj.offsetLeft; - curtop += obj.offsetTop; - } while (!!(obj = obj.offsetParent)); - return [curleft,curtop]; - - }; - - this.getMouseXY = function(e) { - - // http://www.quirksmode.org/js/events_properties.html - e = e?e:window.event; - if (isTouchDevice && e.touches) { - e = e.touches[0]; - } - if (e.pageX || e.pageY) { - return [e.pageX,e.pageY]; - } else if (e.clientX || e.clientY) { - return [e.clientX+self.getScrollLeft(),e.clientY+self.getScrollTop()]; - } - - }; - - this.getScrollLeft = function() { - return (document.body.scrollLeft+document.documentElement.scrollLeft); - }; - - this.getScrollTop = function() { - return (document.body.scrollTop+document.documentElement.scrollTop); - }; - - this.events = { - - // handlers for sound events as they're started/stopped/played - - play: function() { - pl.removeClass(this._360data.oUIBox,this._360data.className); - this._360data.className = pl.css.sPlaying; - pl.addClass(this._360data.oUIBox,this._360data.className); - self.fanOut(this); - }, - - stop: function() { - pl.removeClass(this._360data.oUIBox,this._360data.className); - this._360data.className = ''; - self.fanIn(this); - }, - - pause: function() { - pl.removeClass(this._360data.oUIBox,this._360data.className); - this._360data.className = pl.css.sPaused; - pl.addClass(this._360data.oUIBox,this._360data.className); - }, - - resume: function() { - pl.removeClass(this._360data.oUIBox,this._360data.className); - this._360data.className = pl.css.sPlaying; - pl.addClass(this._360data.oUIBox,this._360data.className); - }, - - finish: function() { - var nextLink; - pl.removeClass(this._360data.oUIBox,this._360data.className); - this._360data.className = ''; - // self.clearCanvas(this._360data.oCanvas); - this._360data.didFinish = true; // so fan draws full circle - self.fanIn(this); - if (pl.config.playNext) { - nextLink = (pl.indexByURL[this._360data.oLink.href]+1); - if (nextLink<pl.links.length) { - pl.handleClick({'target':pl.links[nextLink]}); - } - } - }, - - whileloading: function() { - if (this.paused) { - self.updatePlaying.apply(this); - } - }, - - whileplaying: function() { - self.updatePlaying.apply(this); - this._360data.fps++; - }, - - bufferchange: function() { - if (this.isBuffering) { - pl.addClass(this._360data.oUIBox,pl.css.sBuffering); - } else { - pl.removeClass(this._360data.oUIBox,pl.css.sBuffering); - } - } - - }; - - this.stopEvent = function(e) { - - if (typeof e !== 'undefined' && typeof e.preventDefault !== 'undefined') { - e.preventDefault(); - } else if (typeof window.event !== 'undefined' && typeof window.event.returnValue !== 'undefined') { - window.event.returnValue = false; - } - return false; - - }; - - this.getTheDamnLink = (isIE)?function(e) { - // I really didn't want to have to do this. - return (e && e.target?e.target:window.event.srcElement); - }:function(e) { - return e.target; - }; - - this.handleClick = function(e) { - - // a sound link was clicked - if (e.button > 1) { - // only catch left-clicks - return true; - } - - var o = self.getTheDamnLink(e), - canvasElements, sURL, soundURL, thisSound, oContainer, has_vis, diameter; - - if (o.nodeName.toLowerCase() !== 'a') { - o = self.isChildOfNode(o,'a'); - if (!o) { - return true; - } - } - - if (!self.isChildOfClass(o,'ui360')) { - // not a link we're interested in - return true; - } - - sURL = o.getAttribute('href'); - - if (!o.href || !sm.canPlayLink(o) || self.hasClass(o,self.excludeClass)) { - return true; // pass-thru for non-MP3/non-links - } - - sm._writeDebug('handleClick()'); - soundURL = (o.href); - thisSound = self.getSoundByURL(soundURL); - - if (thisSound) { - - // already exists - if (thisSound === self.lastSound) { - // and was playing (or paused) - thisSound.togglePause(); - } else { - // different sound - thisSound.togglePause(); // start playing current - sm._writeDebug('sound different than last sound: '+self.lastSound.id); - if (!self.config.allowMultiple && self.lastSound) { - self.stopSound(self.lastSound); - } - } - - } else { - - // append some dom shiz, make noise - - oContainer = o.parentNode; - has_vis = (self.getElementsByClassName('ui360-vis','div',oContainer.parentNode).length); - - // create sound - thisSound = sm.createSound({ - id:'ui360Sound'+(self.soundCount++), - url:soundURL, - onplay:self.events.play, - onstop:self.events.stop, - onpause:self.events.pause, - onresume:self.events.resume, - onfinish:self.events.finish, - onbufferchange:self.events.bufferchange, - type:(o.type||null), - whileloading:self.events.whileloading, - whileplaying:self.events.whileplaying, - useWaveformData:(has_vis && self.config.useWaveformData), - useEQData:(has_vis && self.config.useEQData), - usePeakData:(has_vis && self.config.usePeakData) - }); - - // tack on some custom data - - diameter = parseInt(self.getElementsByClassName('sm2-360ui','div',oContainer)[0].offsetWidth * hiDPIScale, 10); - - // see note re: IE <9 and excanvas when Modernizr is included, making weird things happen with <canvas>. - canvasElements = self.getElementsByClassName('sm2-canvas','canvas',oContainer), - - thisSound._360data = { - oUI360: self.getParentByClassName(o,'ui360'), // the (whole) entire container - oLink: o, // DOM node for reference within SM2 object event handlers - className: self.css.sPlaying, - oUIBox: self.getElementsByClassName('sm2-360ui','div',oContainer)[0], - oCanvas: canvasElements[canvasElements.length-1], - oButton: self.getElementsByClassName('sm2-360btn','span',oContainer)[0], - oTiming: self.getElementsByClassName('sm2-timing','div',oContainer)[0], - oCover: self.getElementsByClassName('sm2-cover','div',oContainer)[0], - circleDiameter: diameter, - circleRadius: diameter/2, - lastTime: null, - didFinish: null, - pauseCount:0, - radius:0, - fontSize: 1, - fontSizeMax: self.config.fontSizeMax, - scaleFont: (has_vis && self.config.scaleFont), - showHMSTime: has_vis, - amplifier: (has_vis && self.config.usePeakData?0.9:1), // TODO: x1 if not being used, else use dynamic "how much to amplify by" value - radiusMax: diameter*0.175, // circle radius - width:0, - widthMax: diameter*0.4, // width of the outer ring - lastValues: { - bytesLoaded: 0, - bytesTotal: 0, - position: 0, - durationEstimate: 0 - }, // used to track "last good known" values before sound finish/reset for anim - animating: false, - oAnim: new window.Animator({ - duration: self.config.animDuration, - transition:self.config.animTransition, - onComplete: function() { - // var thisSound = this; - // thisSound._360data.didFinish = false; // reset full circle - } - }), - oAnimProgress: function(nProgress) { - var thisSound = this; - thisSound._360data.radius = parseInt(thisSound._360data.radiusMax*thisSound._360data.amplifier*nProgress, 10); - thisSound._360data.width = parseInt(thisSound._360data.widthMax*thisSound._360data.amplifier*nProgress, 10); - if (thisSound._360data.scaleFont && thisSound._360data.fontSizeMax !== null) { - thisSound._360data.oTiming.style.fontSize = parseInt(Math.max(1,thisSound._360data.fontSizeMax*nProgress), 10)+'px'; - thisSound._360data.oTiming.style.opacity = nProgress; - } - if (thisSound.paused || thisSound.playState === 0 || thisSound._360data.lastValues.bytesLoaded === 0 || thisSound._360data.lastValues.position === 0) { - self.updatePlaying.apply(thisSound); - } - }, - fps: 0 - }; - - // "Metadata" (annotations) - if (typeof self.Metadata !== 'undefined' && self.getElementsByClassName('metadata','div',thisSound._360data.oUI360).length) { - thisSound._360data.metadata = new self.Metadata(thisSound,self); - } - - // minimize ze font - if (thisSound._360data.scaleFont && thisSound._360data.fontSizeMax !== null) { - thisSound._360data.oTiming.style.fontSize = '1px'; - } - - // set up ze animation - thisSound._360data.oAnim.addSubject(thisSound._360data.oAnimProgress,thisSound); - - // animate the radius out nice - self.refreshCoords(thisSound); - - self.updatePlaying.apply(thisSound); - - self.soundsByURL[soundURL] = thisSound; - self.sounds.push(thisSound); - if (!self.config.allowMultiple && self.lastSound) { - self.stopSound(self.lastSound); - } - thisSound.play(); - - } - - self.lastSound = thisSound; // reference for next call - - if (typeof e !== 'undefined' && typeof e.preventDefault !== 'undefined') { - e.preventDefault(); - } else if (typeof window.event !== 'undefined') { - window.event.returnValue = false; - } - return false; - - }; - - this.fanOut = function(oSound) { - - var thisSound = oSound; - if (thisSound._360data.animating === 1) { - return false; - } - thisSound._360data.animating = 0; - soundManager._writeDebug('fanOut: '+thisSound.id+': '+thisSound._360data.oLink.href); - thisSound._360data.oAnim.seekTo(1); // play to end - window.setTimeout(function() { - // oncomplete hack - thisSound._360data.animating = 0; - },self.config.animDuration+20); - - }; - - this.fanIn = function(oSound) { - - var thisSound = oSound; - if (thisSound._360data.animating === -1) { - return false; - } - thisSound._360data.animating = -1; - soundManager._writeDebug('fanIn: '+thisSound.id+': '+thisSound._360data.oLink.href); - // massive hack - thisSound._360data.oAnim.seekTo(0); // play to end - window.setTimeout(function() { - // reset full 360 fill after animation has completed (oncomplete hack) - thisSound._360data.didFinish = false; - thisSound._360data.animating = 0; - self.resetLastValues(thisSound); - }, self.config.animDuration+20); - - }; - - this.resetLastValues = function(oSound) { - oSound._360data.lastValues.position = 0; - }; - - this.refreshCoords = function(thisSound) { - - thisSound._360data.canvasXY = self.findXY(thisSound._360data.oCanvas); - thisSound._360data.canvasMid = [thisSound._360data.circleRadius,thisSound._360data.circleRadius]; - thisSound._360data.canvasMidXY = [thisSound._360data.canvasXY[0]+thisSound._360data.canvasMid[0], thisSound._360data.canvasXY[1]+thisSound._360data.canvasMid[1]]; - - }; - - this.stopSound = function(oSound) { - - soundManager._writeDebug('stopSound: '+oSound.id); - soundManager.stop(oSound.id); - if (!isTouchDevice) { // iOS 4.2+ security blocks onfinish() -> playNext() if we set a .src in-between(?) - soundManager.unload(oSound.id); - } - - }; - - this.buttonClick = function(e) { - - var o = e?(e.target?e.target:e.srcElement):window.event.srcElement; - self.handleClick({target:self.getParentByClassName(o,'sm2-360ui').nextSibling}); // link next to the nodes we inserted - return false; - - }; - - this.buttonMouseDown = function(e) { - - // user might decide to drag from here - // watch for mouse move - if (!isTouchDevice) { - document.onmousemove = function(e) { - // should be boundary-checked, really (eg. move 3px first?) - self.mouseDown(e); - }; - } else { - self.addEventHandler(document,'touchmove',self.mouseDown); - } - self.stopEvent(e); - return false; - - }; - - this.mouseDown = function(e) { - - if (!isTouchDevice && e.button > 1) { - return true; // ignore non-left-click - } - - if (!self.lastSound) { - self.stopEvent(e); - return false; - } - - var evt = e?e:window.event, - target, thisSound, oData; - - if (isTouchDevice && evt.touches) { - evt = evt.touches[0]; - } - target = (evt.target||evt.srcElement); - - thisSound = self.getSoundByURL(self.getElementsByClassName('sm2_link','a',self.getParentByClassName(target,'ui360'))[0].href); // self.lastSound; // TODO: In multiple sound case, figure out which sound is involved etc. - // just in case, update coordinates (maybe the element moved since last time.) - self.lastTouchedSound = thisSound; - self.refreshCoords(thisSound); - oData = thisSound._360data; - self.addClass(oData.oUIBox,'sm2_dragging'); - oData.pauseCount = (self.lastTouchedSound.paused?1:0); - // self.lastSound.pause(); - self.mmh(e?e:window.event); - - if (isTouchDevice) { - self.removeEventHandler(document,'touchmove',self.mouseDown); - self.addEventHandler(document,'touchmove',self.mmh); - self.addEventHandler(document,'touchend',self.mouseUp); - } else { - // incredibly old-skool. TODO: Modernize. - document.onmousemove = self.mmh; - document.onmouseup = self.mouseUp; - } - - self.stopEvent(e); - return false; - - }; - - this.mouseUp = function(e) { - - var oData = self.lastTouchedSound._360data; - self.removeClass(oData.oUIBox,'sm2_dragging'); - if (oData.pauseCount === 0) { - self.lastTouchedSound.resume(); - } - if (!isTouchDevice) { - document.onmousemove = null; - document.onmouseup = null; - } else { - self.removeEventHandler(document,'touchmove',self.mmh); - self.removeEventHandler(document,'touchend',self.mouseUP); - } - - }; - - this.mmh = function(e) { - - if (typeof e === 'undefined') { - e = window.event; - } - var oSound = self.lastTouchedSound, - coords = self.getMouseXY(e), - x = coords[0], - y = coords[1], - deltaX = x-oSound._360data.canvasMidXY[0], - deltaY = y-oSound._360data.canvasMidXY[1], - angle = Math.floor(fullCircle-(self.rad2deg(Math.atan2(deltaX,deltaY))+180)); - - oSound.setPosition(oSound.durationEstimate*(angle/fullCircle)); - self.stopEvent(e); - return false; - - }; - - // assignMouseDown(); - - this.drawSolidArc = function(oCanvas, color, radius, width, radians, startAngle, noClear) { - - // thank you, http://www.snipersystems.co.nz/community/polarclock/tutorial.html - - var x = radius, - y = radius, - canvas = oCanvas, - ctx, innerRadius, doesntLikeZero, endPoint; - - if (canvas.getContext) { - // use getContext to use the canvas for drawing - ctx = canvas.getContext('2d'); - } - - // re-assign canvas as the actual context - oCanvas = ctx; - - if (!noClear) { - self.clearCanvas(canvas); - } - // ctx.restore(); - - if (color) { - ctx.fillStyle = color; - } - - oCanvas.beginPath(); - - if (isNaN(radians)) { - radians = 0; - } - - innerRadius = radius-width; - doesntLikeZero = (isOpera || isSafari); // safari 4 doesn't actually seem to mind. - - if (!doesntLikeZero || (doesntLikeZero && radius > 0)) { - oCanvas.arc(0, 0, radius, startAngle, radians, false); - endPoint = self.getArcEndpointCoords(innerRadius, radians); - oCanvas.lineTo(endPoint.x, endPoint.y); - oCanvas.arc(0, 0, innerRadius, radians, startAngle, true); - oCanvas.closePath(); - oCanvas.fill(); - } - - }; - - this.getArcEndpointCoords = function(radius, radians) { - - return { - x: radius * Math.cos(radians), - y: radius * Math.sin(radians) - }; - - }; - - this.deg2rad = function(nDeg) { - return (nDeg * Math.PI/180); - }; - - this.rad2deg = function(nRad) { - return (nRad * 180/Math.PI); - }; - - this.getTime = function(nMSec,bAsString) { - - // convert milliseconds to mm:ss, return as object literal or string - var nSec = Math.floor(nMSec/1000), - min = Math.floor(nSec/60), - sec = nSec-(min*60); - // if (min === 0 && sec === 0) return null; // return 0:00 as null - return (bAsString?(min+':'+(sec<10?'0'+sec:sec)):{'min':min,'sec':sec}); - - }; - - this.clearCanvas = function(oCanvas) { - - var canvas = oCanvas, - ctx = null, - width, height; - - if (canvas.getContext) { - // use getContext to use the canvas for drawing - ctx = canvas.getContext('2d'); - } - - if (ctx) { - width = canvas.offsetWidth; - height = canvas.offsetHeight; - ctx.clearRect(-(width/2), -(height/2), width, height); - } - - }; - - this.updatePlaying = function() { - - var timeNow = (this._360data.showHMSTime?self.getTime(this.position,true):parseInt(this.position/1000, 10)); - var ringScaleFactor = self.config.scaleArcWidth; - - if (this.bytesLoaded) { - this._360data.lastValues.bytesLoaded = this.bytesLoaded; - this._360data.lastValues.bytesTotal = this.bytesTotal; - } - - if (this.position) { - this._360data.lastValues.position = this.position; - } - - if (this.durationEstimate) { - this._360data.lastValues.durationEstimate = this.durationEstimate; - } - - // background ring - self.drawSolidArc(this._360data.oCanvas,self.config.backgroundRingColor,this._360data.width,this._360data.radius * ringScaleFactor,self.deg2rad(fullCircle),false); - - // loaded ring - self.drawSolidArc(this._360data.oCanvas,(this._360data.metadata?self.config.loadRingColorMetadata:self.config.loadRingColor),this._360data.width,this._360data.radius * ringScaleFactor,self.deg2rad(fullCircle*(this._360data.lastValues.bytesLoaded/this._360data.lastValues.bytesTotal)),0,true); - - // don't draw if 0 (full black circle in Opera) - if (this._360data.lastValues.position !== 0) { - self.drawSolidArc(this._360data.oCanvas,(this._360data.metadata?self.config.playRingColorMetadata:self.config.playRingColor),this._360data.width,this._360data.radius * ringScaleFactor,self.deg2rad((this._360data.didFinish===1?fullCircle:fullCircle*(this._360data.lastValues.position/this._360data.lastValues.durationEstimate))),0,true); - } - - // metadata goes here - if (this._360data.metadata) { - this._360data.metadata.events.whileplaying(); - } - - if (timeNow !== this._360data.lastTime) { - this._360data.lastTime = timeNow; - this._360data.oTiming.innerHTML = timeNow; - } - - // draw spectrum, if applicable - if ((this.instanceOptions.useWaveformData || this.instanceOptions.useEQData) && hasRealCanvas) { // IE <9 can render maybe 3 or 4 FPS when including the wave/EQ, so don't bother. - self.updateWaveform(this); - } - - if (self.config.useFavIcon && self.vuMeter) { - self.vuMeter.updateVU(this); - } - - }; - - this.updateWaveform = function(oSound) { - - if ((!self.config.useWaveformData && !self.config.useEQData) || (!sm.features.waveformData && !sm.features.eqData)) { - // feature not enabled.. - return false; - } - - if (!oSound.waveformData.left.length && !oSound.eqData.length && !oSound.peakData.left) { - // no data (or errored out/paused/unavailable?) - return false; - } - - /* use for testing the data */ - /* - for (i=0; i<256; i++) { - oSound.eqData[i] = 1-(i/256); - } - */ - - var oCanvas = oSound._360data.oCanvas.getContext('2d'), - offX = 0, - offY = parseInt(oSound._360data.circleDiameter/2, 10), - scale = offY/2, // Y axis (+/- this distance from 0) - // lineWidth = Math.floor(oSound._360data.circleDiameter-(oSound._360data.circleDiameter*0.175)/(oSound._360data.circleDiameter/255)); // width for each line - lineWidth = 1, - lineHeight = 1, - thisY = 0, - offset = offY, - i, j, direction, downSample, dataLength, sampleCount, startAngle, endAngle, waveData, innerRadius, perItemAngle, yDiff, eqSamples, playedAngle, iAvg, nPeak; - - if (self.config.useWaveformData) { - // raw waveform - downSample = self.config.waveformDataDownsample; // only sample X in 256 (greater number = less sample points) - downSample = Math.max(1,downSample); // make sure it's at least 1 - dataLength = 256; - sampleCount = (dataLength/downSample); - startAngle = 0; - endAngle = 0; - waveData = null; - innerRadius = (self.config.waveformDataOutside?1:(self.config.waveformDataConstrain?0.5:0.565)); - scale = (self.config.waveformDataOutside?0.7:0.75); - perItemAngle = self.deg2rad((360/sampleCount)*self.config.waveformDataLineRatio); // 0.85 = clean pixel lines at 150? // self.deg2rad(360*(Math.max(1,downSample-1))/sampleCount); - for (i=0; i<dataLength; i+=downSample) { - startAngle = self.deg2rad(360*(i/(sampleCount)*1/downSample)); // +0.67 - counter for spacing - endAngle = startAngle+perItemAngle; - waveData = oSound.waveformData.left[i]; - if (waveData<0 && self.config.waveformDataConstrain) { - waveData = Math.abs(waveData); - } - self.drawSolidArc(oSound._360data.oCanvas,self.config.waveformDataColor,oSound._360data.width*innerRadius*(2-self.config.scaleArcWidth),oSound._360data.radius*scale*1.25*waveData,endAngle,startAngle,true); - } - } - - if (self.config.useEQData) { - // EQ spectrum - downSample = self.config.eqDataDownsample; // only sample N in 256 - yDiff = 0; - downSample = Math.max(1,downSample); // make sure it's at least 1 - eqSamples = 192; // drop the last 25% of the spectrum (>16500 Hz), most stuff won't actually use it. - sampleCount = (eqSamples/downSample); - innerRadius = (self.config.eqDataOutside?1:0.565); - direction = (self.config.eqDataOutside?-1:1); - scale = (self.config.eqDataOutside?0.5:0.75); - startAngle = 0; - endAngle = 0; - perItemAngle = self.deg2rad((360/sampleCount)*self.config.eqDataLineRatio); // self.deg2rad(360/(sampleCount+1)); - playedAngle = self.deg2rad((oSound._360data.didFinish===1?360:360*(oSound._360data.lastValues.position/oSound._360data.lastValues.durationEstimate))); - j=0; - iAvg = 0; - for (i=0; i<eqSamples; i+=downSample) { - startAngle = self.deg2rad(360*(i/eqSamples)); - endAngle = startAngle+perItemAngle; - self.drawSolidArc(oSound._360data.oCanvas,(endAngle>playedAngle?self.config.eqDataColor:self.config.playRingColor),oSound._360data.width*innerRadius,oSound._360data.radius*scale*(oSound.eqData.left[i]*direction),endAngle,startAngle,true); - } - } - - if (self.config.usePeakData) { - if (!oSound._360data.animating) { - nPeak = (oSound.peakData.left||oSound.peakData.right); - // GIANT HACK: use EQ spectrum data for bass frequencies - eqSamples = 3; - for (i=0; i<eqSamples; i++) { - nPeak = (nPeak||oSound.eqData[i]); - } - oSound._360data.amplifier = (self.config.useAmplifier?(0.9+(nPeak*0.1)):1); - oSound._360data.radiusMax = oSound._360data.circleDiameter*0.175*oSound._360data.amplifier; - oSound._360data.widthMax = oSound._360data.circleDiameter*0.4*oSound._360data.amplifier; - oSound._360data.radius = parseInt(oSound._360data.radiusMax*oSound._360data.amplifier, 10); - oSound._360data.width = parseInt(oSound._360data.widthMax*oSound._360data.amplifier, 10); - } - } - - }; - - this.getUIHTML = function(diameter) { - - return [ - '<canvas class="sm2-canvas" width="'+diameter+'" height="'+diameter+'"></canvas>', - ' <span class="sm2-360btn sm2-360btn-default"></span>', // note use of imageMap, edit or remove if you use a different-size image. - ' <div class="sm2-timing'+(navigator.userAgent.match(/safari/i)?' alignTweak':'')+'"></div>', // + Ever-so-slight Safari horizontal alignment tweak - ' <div class="sm2-cover"></div>' - ]; - - }; - - this.uiTest = function(sClass) { - - // fake a 360 UI so we can get some numbers from CSS, etc. - - var oTemplate = document.createElement('div'), - oFakeUI, oFakeUIBox, oTemp, fakeDiameter, uiHTML, circleDiameter, circleRadius, fontSizeMax, oTiming; - - oTemplate.className = 'sm2-360ui'; - - oFakeUI = document.createElement('div'); - oFakeUI.className = 'ui360'+(sClass?' '+sClass:''); // ui360 ui360-vis - - oFakeUIBox = oFakeUI.appendChild(oTemplate.cloneNode(true)); - - oFakeUI.style.position = 'absolute'; - oFakeUI.style.left = '-9999px'; - - oTemp = document.body.appendChild(oFakeUI); - - fakeDiameter = oFakeUIBox.offsetWidth * hiDPIScale; - - uiHTML = self.getUIHTML(fakeDiameter); - - oFakeUIBox.innerHTML = uiHTML[1]+uiHTML[2]+uiHTML[3]; - - circleDiameter = parseInt(fakeDiameter, 10); - circleRadius = parseInt(circleDiameter/2, 10); - - oTiming = self.getElementsByClassName('sm2-timing','div',oTemp)[0]; - fontSizeMax = parseInt(self.getStyle(oTiming,'font-size'), 10); - if (isNaN(fontSizeMax)) { - // getStyle() etc. didn't work. - fontSizeMax = null; - } - - // soundManager._writeDebug('diameter, font size: '+circleDiameter+','+fontSizeMax); - - oFakeUI.parentNode.removeChild(oFakeUI); - - uiHTML = oFakeUI = oFakeUIBox = oTemp = null; - - return { - circleDiameter: circleDiameter, - circleRadius: circleRadius, - fontSizeMax: fontSizeMax - }; - - }; - - this.init = function() { - - sm._writeDebug('threeSixtyPlayer.init()'); - - var oItems = self.getElementsByClassName('ui360','div'), - i, j, oLinks = [], is_vis = false, foundItems = 0, canvasElements, oCanvas, oCanvasCTX, oCover, diameter, radius, uiData, uiDataVis, oUI, oBtn, o, o2, oID; - - for (i=0,j=oItems.length; i<j; i++) { - oLinks.push(oItems[i].getElementsByTagName('a')[0]); - // remove "fake" play button (unsupported case) - oItems[i].style.backgroundImage = 'none'; - } - // grab all links, look for .mp3 - - self.oUITemplate = document.createElement('div'); - self.oUITemplate.className = 'sm2-360ui'; - - self.oUITemplateVis = document.createElement('div'); - self.oUITemplateVis.className = 'sm2-360ui'; - - uiData = self.uiTest(); - - self.config.circleDiameter = uiData.circleDiameter; - self.config.circleRadius = uiData.circleRadius; - // self.config.fontSizeMax = uiData.fontSizeMax; - - uiDataVis = self.uiTest('ui360-vis'); - - self.config.fontSizeMax = uiDataVis.fontSizeMax; - - // canvas needs inline width and height, doesn't quite work otherwise - self.oUITemplate.innerHTML = self.getUIHTML(self.config.circleDiameter).join(''); - - self.oUITemplateVis.innerHTML = self.getUIHTML(uiDataVis.circleDiameter).join(''); - - for (i=0,j=oLinks.length; i<j; i++) { - if (sm.canPlayLink(oLinks[i]) && !self.hasClass(oLinks[i],self.excludeClass) && !self.hasClass(oLinks[i],self.css.sDefault)) { - self.addClass(oLinks[i],self.css.sDefault); // add default CSS decoration - self.links[foundItems] = (oLinks[i]); - self.indexByURL[oLinks[i].href] = foundItems; // hack for indexing - foundItems++; - - is_vis = self.hasClass(oLinks[i].parentNode, 'ui360-vis'); - - diameter = (is_vis ? uiDataVis : uiData).circleDiameter; - radius = (is_vis ? uiDataVis : uiData).circleRadius; - - // add canvas shiz - oUI = oLinks[i].parentNode.insertBefore((is_vis?self.oUITemplateVis:self.oUITemplate).cloneNode(true),oLinks[i]); - - if (isIE && typeof window.G_vmlCanvasManager !== 'undefined') { // IE only - o = oLinks[i].parentNode; - o2 = document.createElement('canvas'); - o2.className = 'sm2-canvas'; - oID = 'sm2_canvas_'+i+(new Date().getTime()); - o2.id = oID; - o2.width = diameter; - o2.height = diameter; - oUI.appendChild(o2); - window.G_vmlCanvasManager.initElement(o2); // Apply ExCanvas compatibility magic - oCanvas = document.getElementById(oID); - /** - * 05/2013: If present, Modernizr results in two canvas elements or something being made, one being <:canvas>. - * When this is the case, the first doesn't have getContext('2d') and such - so, use the second. - */ - canvasElements = oCanvas.parentNode.getElementsByTagName('canvas'); - if (canvasElements.length > 1) { - oCanvas = canvasElements[canvasElements.length-1]; - } - } else { - // add a handler for the button - oCanvas = oLinks[i].parentNode.getElementsByTagName('canvas')[0]; - } - // enable hi-DPI / retina features? - if (hiDPIScale > 1) { - self.addClass(oCanvas, 'hi-dpi'); - } - oCover = self.getElementsByClassName('sm2-cover','div',oLinks[i].parentNode)[0]; - oBtn = oLinks[i].parentNode.getElementsByTagName('span')[0]; - self.addEventHandler(oBtn,'click',self.buttonClick); - if (!isTouchDevice) { - self.addEventHandler(oCover,'mousedown',self.mouseDown); - } else { - self.addEventHandler(oCover,'touchstart',self.mouseDown); - } - oCanvasCTX = oCanvas.getContext('2d'); - oCanvasCTX.translate(radius, radius); - oCanvasCTX.rotate(self.deg2rad(-90)); // compensate for arc starting at EAST // http://stackoverflow.com/questions/319267/tutorial-for-html-canvass-arc-function - } - } - if (foundItems>0) { - self.addEventHandler(document,'click',self.handleClick); - if (self.config.autoPlay) { - self.handleClick({target:self.links[0],preventDefault:function(){}}); - } - } - sm._writeDebug('threeSixtyPlayer.init(): Found '+foundItems+' relevant items.'); - - if (self.config.useFavIcon && typeof this.VUMeter !== 'undefined') { - this.vuMeter = new this.VUMeter(this); - } - - }; - -} - -// Optional: VU Meter component - -ThreeSixtyPlayer.prototype.VUMeter = function(oParent) { - - var self = oParent, - me = this, - _head = document.getElementsByTagName('head')[0], - isOpera = (navigator.userAgent.match(/opera/i)), - isFirefox = (navigator.userAgent.match(/firefox/i)); - - this.vuMeterData = []; - this.vuDataCanvas = null; - - this.setPageIcon = function(sDataURL) { - - if (!self.config.useFavIcon || !self.config.usePeakData || !sDataURL) { - return false; - } - - var link = document.getElementById('sm2-favicon'); - if (link) { - _head.removeChild(link); - link = null; - } - if (!link) { - link = document.createElement('link'); - link.id = 'sm2-favicon'; - link.rel = 'shortcut icon'; - link.type = 'image/png'; - link.href = sDataURL; - document.getElementsByTagName('head')[0].appendChild(link); - } - - }; - - this.resetPageIcon = function() { - - if (!self.config.useFavIcon) { - return false; - } - var link = document.getElementById('favicon'); - if (link) { - link.href = '/favicon.ico'; - } - - }; - - this.updateVU = function(oSound) { - - if (soundManager.flashVersion >= 9 && self.config.useFavIcon && self.config.usePeakData) { - me.setPageIcon(me.vuMeterData[parseInt(16*oSound.peakData.left, 10)][parseInt(16*oSound.peakData.right, 10)]); - } - - }; - - this.createVUData = function() { - - var i=0, j=0, - canvas = me.vuDataCanvas.getContext('2d'), - vuGrad = canvas.createLinearGradient(0, 16, 0, 0), - bgGrad = canvas.createLinearGradient(0, 16, 0, 0), - outline = 'rgba(0,0,0,0.2)'; - - vuGrad.addColorStop(0,'rgb(0,192,0)'); - vuGrad.addColorStop(0.30,'rgb(0,255,0)'); - vuGrad.addColorStop(0.625,'rgb(255,255,0)'); - vuGrad.addColorStop(0.85,'rgb(255,0,0)'); - bgGrad.addColorStop(0,outline); - bgGrad.addColorStop(1,'rgba(0,0,0,0.5)'); - for (i=0; i<16; i++) { - me.vuMeterData[i] = []; - } - for (i=0; i<16; i++) { - for (j=0; j<16; j++) { - // reset/erase canvas - me.vuDataCanvas.setAttribute('width',16); - me.vuDataCanvas.setAttribute('height',16); - // draw new stuffs - canvas.fillStyle = bgGrad; - canvas.fillRect(0,0,7,15); - canvas.fillRect(8,0,7,15); - /* - // shadow - canvas.fillStyle = 'rgba(0,0,0,0.1)'; - canvas.fillRect(1,15-i,7,17-(17-i)); - canvas.fillRect(9,15-j,7,17-(17-j)); - */ - canvas.fillStyle = vuGrad; - canvas.fillRect(0,15-i,7,16-(16-i)); - canvas.fillRect(8,15-j,7,16-(16-j)); - // and now, clear out some bits. - canvas.clearRect(0,3,16,1); - canvas.clearRect(0,7,16,1); - canvas.clearRect(0,11,16,1); - me.vuMeterData[i][j] = me.vuDataCanvas.toDataURL('image/png'); - // for debugging VU images - /* - var o = document.createElement('img'); - o.style.marginRight = '5px'; - o.src = vuMeterData[i][j]; - document.documentElement.appendChild(o); - */ - } - } - - }; - - this.testCanvas = function() { - - // canvas + toDataURL(); - var c = document.createElement('canvas'), - ctx = null, ok; - if (!c || typeof c.getContext === 'undefined') { - return null; - } - ctx = c.getContext('2d'); - if (!ctx || typeof c.toDataURL !== 'function') { - return null; - } - // just in case.. - try { - ok = c.toDataURL('image/png'); - } catch(e) { - // no canvas or no toDataURL() - return null; - } - // assume we're all good. - return c; - - }; - - this.init = function() { - - if (self.config.useFavIcon) { - me.vuDataCanvas = me.testCanvas(); - if (me.vuDataCanvas && (isFirefox || isOpera)) { - // these browsers support dynamically-updating the favicon - me.createVUData(); - } else { - // browser doesn't support doing this - self.config.useFavIcon = false; - } - } - - }; - - this.init(); - -}; - -// completely optional: Metadata/annotations/segments code - -ThreeSixtyPlayer.prototype.Metadata = function(oSound, oParent) { - - soundManager._wD('Metadata()'); - - var me = this, - oBox = oSound._360data.oUI360, - o = oBox.getElementsByTagName('ul')[0], - oItems = o.getElementsByTagName('li'), - isFirefox = (navigator.userAgent.match(/firefox/i)), - isAlt = false, i, oDuration; - - this.lastWPExec = 0; - this.refreshInterval = 250; - this.totalTime = 0; - - this.events = { - - whileplaying: function() { - - var width = oSound._360data.width, - radius = oSound._360data.radius, - fullDuration = (oSound.durationEstimate||(me.totalTime*1000)), - isAlt = null, i, j, d; - - for (i=0,j=me.data.length; i<j; i++) { - isAlt = (i%2===0); - oParent.drawSolidArc(oSound._360data.oCanvas,(isAlt?oParent.config.segmentRingColorAlt:oParent.config.segmentRingColor),isAlt?width:width, isAlt?radius/2:radius/2, oParent.deg2rad(360*(me.data[i].endTimeMS/fullDuration)), oParent.deg2rad(360*((me.data[i].startTimeMS||1)/fullDuration)), true); - } - d = new Date(); - if (d-me.lastWPExec>me.refreshInterval) { - me.refresh(); - me.lastWPExec = d; - } - - } - - }; - - this.refresh = function() { - - // Display info as appropriate - var i, j, index = null, - now = oSound.position, - metadata = oSound._360data.metadata.data; - - for (i=0, j=metadata.length; i<j; i++) { - if (now >= metadata[i].startTimeMS && now <= metadata[i].endTimeMS) { - index = i; - break; - } - } - if (index !== metadata.currentItem && index < metadata.length) { - // update - oSound._360data.oLink.innerHTML = metadata.mainTitle+' <span class="metadata"><span class="sm2_divider"> | </span><span class="sm2_metadata">'+metadata[index].title+'</span></span>'; - // self.setPageTitle(metadata[index].title+' | '+metadata.mainTitle); - metadata.currentItem = index; - } - - }; - - this.strToTime = function(sTime) { - var segments = sTime.split(':'), - seconds = 0, i; - for (i=segments.length; i--;) { - seconds += parseInt(segments[i], 10)*Math.pow(60,segments.length-1-i); // hours, minutes - } - return seconds; - }; - - this.data = []; - this.data.givenDuration = null; - this.data.currentItem = null; - this.data.mainTitle = oSound._360data.oLink.innerHTML; - - for (i=0; i<oItems.length; i++) { - this.data[i] = { - o: null, - title: oItems[i].getElementsByTagName('p')[0].innerHTML, - startTime: oItems[i].getElementsByTagName('span')[0].innerHTML, - startSeconds: me.strToTime(oItems[i].getElementsByTagName('span')[0].innerHTML.replace(/[()]/g,'')), - duration: 0, - durationMS: null, - startTimeMS: null, - endTimeMS: null, - oNote: null - }; - } - oDuration = oParent.getElementsByClassName('duration','div',oBox); - this.data.givenDuration = (oDuration.length?me.strToTime(oDuration[0].innerHTML)*1000:0); - for (i=0; i<this.data.length; i++) { - this.data[i].duration = parseInt(this.data[i+1]?this.data[i+1].startSeconds:(me.data.givenDuration?me.data.givenDuration:oSound.durationEstimate)/1000, 10)-this.data[i].startSeconds; - this.data[i].startTimeMS = this.data[i].startSeconds*1000; - this.data[i].durationMS = this.data[i].duration*1000; - this.data[i].endTimeMS = this.data[i].startTimeMS+this.data[i].durationMS; - this.totalTime += this.data[i].duration; - } - -}; - -if (navigator.userAgent.match(/webkit/i) && navigator.userAgent.match(/mobile/i)) { - // iPad, iPhone etc. - soundManager.setup({ - useHTML5Audio: true - }); -} - -soundManager.setup({ - html5PollingInterval: 50, // increased framerate for whileplaying() etc. - debugMode: (window.location.href.match(/debug=1/i)), // disable or enable debug output - consoleOnly: true, - flashVersion: 9, - useHighPerformance: true/*, - useFlashBlock: true*/ -}); - -// FPS data, testing/debug only -if (soundManager.debugMode) { - window.setInterval(function() { - var p = window.threeSixtyPlayer; - if (p && p.lastSound && p.lastSound._360data.fps && typeof window.isHome === 'undefined') { - soundManager._writeDebug('fps: ~'+p.lastSound._360data.fps); - p.lastSound._360data.fps = 0; - } - },1000); -} - -window.ThreeSixtyPlayer = ThreeSixtyPlayer; // constructor - -}(window)); - -threeSixtyPlayer = new ThreeSixtyPlayer(); - -// hook into SM2 init -soundManager.onready(threeSixtyPlayer.init); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/berniecode-animator.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/berniecode-animator.js deleted file mode 100644 index 1c3b46f56..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/berniecode-animator.js +++ /dev/null @@ -1,674 +0,0 @@ -/** @license - Animator.js 1.1.9 - - This library is released under the BSD license: - - Copyright (c) 2006, Bernard Sumption. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. Redistributions in binary - form must reproduce the above copyright notice, this list of conditions and - the following disclaimer in the documentation and/or other materials - provided with the distribution. Neither the name BernieCode nor - the names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR - ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - DAMAGE. - -*/ - -// http://www.berniecode.com/writing/animator.html - -// Applies a sequence of numbers between 0 and 1 to a number of subjects -// construct - see setOptions for parameters -function Animator(options) { - this.setOptions(options); - var _this = this; - this.timerDelegate = function(){_this.onTimerEvent()}; - this.subjects = []; - this.subjectScopes = []; - this.target = 0; - this.state = 0; - this.lastTime = null; -}; -Animator.prototype = { - // apply defaults - setOptions: function(options) { - this.options = Animator.applyDefaults({ - interval: 20, // time between animation frames - duration: 400, // length of animation - onComplete: function(){}, - onStep: function(){}, - transition: Animator.tx.easeInOut - }, options); - }, - // animate from the current state to provided value - seekTo: function(to) { - this.seekFromTo(this.state, to); - }, - // animate from the current state to provided value - seekFromTo: function(from, to) { - this.target = Math.max(0, Math.min(1, to)); - this.state = Math.max(0, Math.min(1, from)); - this.lastTime = new Date().getTime(); - if (!this.intervalId) { - this.intervalId = window.setInterval(this.timerDelegate, this.options.interval); - } - }, - // animate from the current state to provided value - jumpTo: function(to) { - this.target = this.state = Math.max(0, Math.min(1, to)); - this.propagate(); - }, - // seek to the opposite of the current target - toggle: function() { - this.seekTo(1 - this.target); - }, - // add a function or an object with a method setState(state) that will be called with a number - // between 0 and 1 on each frame of the animation - addSubject: function(subject,scope) { - this.subjects[this.subjects.length] = subject; - this.subjectScopes[this.subjectScopes.length] = scope; - return this; - }, - // remove all subjects - clearSubjects: function() { - this.subjects = []; - this.subjectScopes = []; - }, - // forward the current state to the animation subjects - propagate: function() { - var value = this.options.transition(this.state); - for (var i=0; i<this.subjects.length; i++) { - if (this.subjects[i].setState) { - this.subjects[i].setState(value); - } else { - this.subjects[i].apply(this.subjectScopes[i],[value]); - } - } - }, - // called once per frame to update the current state - onTimerEvent: function() { - var now = new Date().getTime(); - var timePassed = now - this.lastTime; - this.lastTime = now; - var movement = (timePassed / this.options.duration) * (this.state < this.target ? 1 : -1); - if (Math.abs(movement) >= Math.abs(this.state - this.target)) { - this.state = this.target; - } else { - this.state += movement; - } - - try { - this.propagate(); - } finally { - this.options.onStep.call(this); - if (this.target == this.state) { - window.clearInterval(this.intervalId); - this.intervalId = null; - this.options.onComplete.call(this); - } - } - }, - // shortcuts - play: function() {this.seekFromTo(0, 1)}, - reverse: function() {this.seekFromTo(1, 0)}, - // return a string describing this Animator, for debugging - inspect: function() { - var str = "#<Animator:\n"; - for (var i=0; i<this.subjects.length; i++) { - str += this.subjects[i].inspect(); - } - str += ">"; - return str; - } -} -// merge the properties of two objects -Animator.applyDefaults = function(defaults, prefs) { - prefs = prefs || {}; - var prop, result = {}; - for (prop in defaults) result[prop] = prefs[prop] !== undefined ? prefs[prop] : defaults[prop]; - return result; -} -// make an array from any object -Animator.makeArray = function(o) { - if (o == null) return []; - if (!o.length) return [o]; - var result = []; - for (var i=0; i<o.length; i++) result[i] = o[i]; - return result; -} -// convert a dash-delimited-property to a camelCaseProperty (c/o Prototype, thanks Sam!) -Animator.camelize = function(string) { - var oStringList = string.split('-'); - if (oStringList.length == 1) return oStringList[0]; - - var camelizedString = string.indexOf('-') == 0 - ? oStringList[0].charAt(0).toUpperCase() + oStringList[0].substring(1) - : oStringList[0]; - - for (var i = 1, len = oStringList.length; i < len; i++) { - var s = oStringList[i]; - camelizedString += s.charAt(0).toUpperCase() + s.substring(1); - } - return camelizedString; -} -// syntactic sugar for creating CSSStyleSubjects -Animator.apply = function(el, style, options) { - if (style instanceof Array) { - return new Animator(options).addSubject(new CSSStyleSubject(el, style[0], style[1])); - } - return new Animator(options).addSubject(new CSSStyleSubject(el, style)); -} -// make a transition function that gradually accelerates. pass a=1 for smooth -// gravitational acceleration, higher values for an exaggerated effect -Animator.makeEaseIn = function(a) { - return function(state) { - return Math.pow(state, a*2); - } -} -// as makeEaseIn but for deceleration -Animator.makeEaseOut = function(a) { - return function(state) { - return 1 - Math.pow(1 - state, a*2); - } -} -// make a transition function that, like an object with momentum being attracted to a point, -// goes past the target then returns -Animator.makeElastic = function(bounces) { - return function(state) { - state = Animator.tx.easeInOut(state); - return ((1-Math.cos(state * Math.PI * bounces)) * (1 - state)) + state; - } -} -// make an Attack Decay Sustain Release envelope that starts and finishes on the same level -// -Animator.makeADSR = function(attackEnd, decayEnd, sustainEnd, sustainLevel) { - if (sustainLevel == null) sustainLevel = 0.5; - return function(state) { - if (state < attackEnd) { - return state / attackEnd; - } - if (state < decayEnd) { - return 1 - ((state - attackEnd) / (decayEnd - attackEnd) * (1 - sustainLevel)); - } - if (state < sustainEnd) { - return sustainLevel; - } - return sustainLevel * (1 - ((state - sustainEnd) / (1 - sustainEnd))); - } -} -// make a transition function that, like a ball falling to floor, reaches the target and/ -// bounces back again -Animator.makeBounce = function(bounces) { - var fn = Animator.makeElastic(bounces); - return function(state) { - state = fn(state); - return state <= 1 ? state : 2-state; - } -} - -// pre-made transition functions to use with the 'transition' option -Animator.tx = { - easeInOut: function(pos){ - return ((-Math.cos(pos*Math.PI)/2) + 0.5); - }, - linear: function(x) { - return x; - }, - easeIn: Animator.makeEaseIn(1.5), - easeOut: Animator.makeEaseOut(1.5), - strongEaseIn: Animator.makeEaseIn(2.5), - strongEaseOut: Animator.makeEaseOut(2.5), - elastic: Animator.makeElastic(1), - veryElastic: Animator.makeElastic(3), - bouncy: Animator.makeBounce(1), - veryBouncy: Animator.makeBounce(3) -} - -// animates a pixel-based style property between two integer values -function NumericalStyleSubject(els, property, from, to, units) { - this.els = Animator.makeArray(els); - if (property == 'opacity' && window.ActiveXObject) { - this.property = 'filter'; - } else { - this.property = Animator.camelize(property); - } - this.from = parseFloat(from); - this.to = parseFloat(to); - this.units = units != null ? units : 'px'; -} -NumericalStyleSubject.prototype = { - setState: function(state) { - var style = this.getStyle(state); - var visibility = (this.property == 'opacity' && state == 0) ? 'hidden' : ''; - var j=0; - for (var i=0; i<this.els.length; i++) { - try { - this.els[i].style[this.property] = style; - } catch (e) { - // ignore fontWeight - intermediate numerical values cause exeptions in firefox - if (this.property != 'fontWeight') throw e; - } - if (j++ > 20) return; - } - }, - getStyle: function(state) { - state = this.from + ((this.to - this.from) * state); - if (this.property == 'filter') return "alpha(opacity=" + Math.round(state*100) + ")"; - if (this.property == 'opacity') return state; - return Math.round(state) + this.units; - }, - inspect: function() { - return "\t" + this.property + "(" + this.from + this.units + " to " + this.to + this.units + ")\n"; - } -} - -// animates a colour based style property between two hex values -function ColorStyleSubject(els, property, from, to) { - this.els = Animator.makeArray(els); - this.property = Animator.camelize(property); - this.to = this.expandColor(to); - this.from = this.expandColor(from); - this.origFrom = from; - this.origTo = to; -} - -ColorStyleSubject.prototype = { - // parse "#FFFF00" to [256, 256, 0] - expandColor: function(color) { - var hexColor, red, green, blue; - hexColor = ColorStyleSubject.parseColor(color); - if (hexColor) { - red = parseInt(hexColor.slice(1, 3), 16); - green = parseInt(hexColor.slice(3, 5), 16); - blue = parseInt(hexColor.slice(5, 7), 16); - return [red,green,blue] - } - if (window.DEBUG) { - alert("Invalid colour: '" + color + "'"); - } - }, - getValueForState: function(color, state) { - return Math.round(this.from[color] + ((this.to[color] - this.from[color]) * state)); - }, - setState: function(state) { - var color = '#' - + ColorStyleSubject.toColorPart(this.getValueForState(0, state)) - + ColorStyleSubject.toColorPart(this.getValueForState(1, state)) - + ColorStyleSubject.toColorPart(this.getValueForState(2, state)); - for (var i=0; i<this.els.length; i++) { - this.els[i].style[this.property] = color; - } - }, - inspect: function() { - return "\t" + this.property + "(" + this.origFrom + " to " + this.origTo + ")\n"; - } -} - -// return a properly formatted 6-digit hex colour spec, or false -ColorStyleSubject.parseColor = function(string) { - var color = '#', match; - if(match = ColorStyleSubject.parseColor.rgbRe.exec(string)) { - var part; - for (var i=1; i<=3; i++) { - part = Math.max(0, Math.min(255, parseInt(match[i]))); - color += ColorStyleSubject.toColorPart(part); - } - return color; - } - if (match = ColorStyleSubject.parseColor.hexRe.exec(string)) { - if(match[1].length == 3) { - for (var i=0; i<3; i++) { - color += match[1].charAt(i) + match[1].charAt(i); - } - return color; - } - return '#' + match[1]; - } - return false; -} -// convert a number to a 2 digit hex string -ColorStyleSubject.toColorPart = function(number) { - if (number > 255) number = 255; - var digits = number.toString(16); - if (number < 16) return '0' + digits; - return digits; -} -ColorStyleSubject.parseColor.rgbRe = /^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i; -ColorStyleSubject.parseColor.hexRe = /^\#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/; - -// Animates discrete styles, i.e. ones that do not scale but have discrete values -// that can't be interpolated -function DiscreteStyleSubject(els, property, from, to, threshold) { - this.els = Animator.makeArray(els); - this.property = Animator.camelize(property); - this.from = from; - this.to = to; - this.threshold = threshold || 0.5; -} - -DiscreteStyleSubject.prototype = { - setState: function(state) { - var j=0; - for (var i=0; i<this.els.length; i++) { - this.els[i].style[this.property] = state <= this.threshold ? this.from : this.to; - } - }, - inspect: function() { - return "\t" + this.property + "(" + this.from + " to " + this.to + " @ " + this.threshold + ")\n"; - } -} - -// animates between two styles defined using CSS. -// if style1 and style2 are present, animate between them, if only style1 -// is present, animate between the element's current style and style1 -function CSSStyleSubject(els, style1, style2) { - els = Animator.makeArray(els); - this.subjects = []; - if (els.length == 0) return; - var prop, toStyle, fromStyle; - if (style2) { - fromStyle = this.parseStyle(style1, els[0]); - toStyle = this.parseStyle(style2, els[0]); - } else { - toStyle = this.parseStyle(style1, els[0]); - fromStyle = {}; - for (prop in toStyle) { - fromStyle[prop] = CSSStyleSubject.getStyle(els[0], prop); - } - } - // remove unchanging properties - var prop; - for (prop in fromStyle) { - if (fromStyle[prop] == toStyle[prop]) { - delete fromStyle[prop]; - delete toStyle[prop]; - } - } - // discover the type (numerical or colour) of each style - var prop, units, match, type, from, to; - for (prop in fromStyle) { - var fromProp = String(fromStyle[prop]); - var toProp = String(toStyle[prop]); - if (toStyle[prop] == null) { - if (window.DEBUG) alert("No to style provided for '" + prop + '"'); - continue; - } - - if (from = ColorStyleSubject.parseColor(fromProp)) { - to = ColorStyleSubject.parseColor(toProp); - type = ColorStyleSubject; - } else if (fromProp.match(CSSStyleSubject.numericalRe) - && toProp.match(CSSStyleSubject.numericalRe)) { - from = parseFloat(fromProp); - to = parseFloat(toProp); - type = NumericalStyleSubject; - match = CSSStyleSubject.numericalRe.exec(fromProp); - var reResult = CSSStyleSubject.numericalRe.exec(toProp); - if (match[1] != null) { - units = match[1]; - } else if (reResult[1] != null) { - units = reResult[1]; - } else { - units = reResult; - } - } else if (fromProp.match(CSSStyleSubject.discreteRe) - && toProp.match(CSSStyleSubject.discreteRe)) { - from = fromProp; - to = toProp; - type = DiscreteStyleSubject; - units = 0; // hack - how to get an animator option down to here - } else { - if (window.DEBUG) { - alert("Unrecognised format for value of " - + prop + ": '" + fromStyle[prop] + "'"); - } - continue; - } - this.subjects[this.subjects.length] = new type(els, prop, from, to, units); - } -} - -CSSStyleSubject.prototype = { - // parses "width: 400px; color: #FFBB2E" to {width: "400px", color: "#FFBB2E"} - parseStyle: function(style, el) { - var rtn = {}; - // if style is a rule set - if (style.indexOf(":") != -1) { - var styles = style.split(";"); - for (var i=0; i<styles.length; i++) { - var parts = CSSStyleSubject.ruleRe.exec(styles[i]); - if (parts) { - rtn[parts[1]] = parts[2]; - } - } - } - // else assume style is a class name - else { - var prop, value, oldClass; - oldClass = el.className; - el.className = style; - for (var i=0; i<CSSStyleSubject.cssProperties.length; i++) { - prop = CSSStyleSubject.cssProperties[i]; - value = CSSStyleSubject.getStyle(el, prop); - if (value != null) { - rtn[prop] = value; - } - } - el.className = oldClass; - } - return rtn; - - }, - setState: function(state) { - for (var i=0; i<this.subjects.length; i++) { - this.subjects[i].setState(state); - } - }, - inspect: function() { - var str = ""; - for (var i=0; i<this.subjects.length; i++) { - str += this.subjects[i].inspect(); - } - return str; - } -} -// get the current value of a css property, -CSSStyleSubject.getStyle = function(el, property){ - var style; - if(document.defaultView && document.defaultView.getComputedStyle){ - style = document.defaultView.getComputedStyle(el, "").getPropertyValue(property); - if (style) { - return style; - } - } - property = Animator.camelize(property); - if(el.currentStyle){ - style = el.currentStyle[property]; - } - return style || el.style[property] -} - - -CSSStyleSubject.ruleRe = /^\s*([a-zA-Z\-]+)\s*:\s*(\S(.+\S)?)\s*$/; -CSSStyleSubject.numericalRe = /^-?\d+(?:\.\d+)?(%|[a-zA-Z]{2})?$/; -CSSStyleSubject.discreteRe = /^\w+$/; - -// required because the style object of elements isn't enumerable in Safari -/* -CSSStyleSubject.cssProperties = ['background-color','border','border-color','border-spacing', -'border-style','border-top','border-right','border-bottom','border-left','border-top-color', -'border-right-color','border-bottom-color','border-left-color','border-top-width','border-right-width', -'border-bottom-width','border-left-width','border-width','bottom','color','font-size','font-size-adjust', -'font-stretch','font-style','height','left','letter-spacing','line-height','margin','margin-top', -'margin-right','margin-bottom','margin-left','marker-offset','max-height','max-width','min-height', -'min-width','orphans','outline','outline-color','outline-style','outline-width','overflow','padding', -'padding-top','padding-right','padding-bottom','padding-left','quotes','right','size','text-indent', -'top','width','word-spacing','z-index','opacity','outline-offset'];*/ - - -CSSStyleSubject.cssProperties = ['azimuth','background','background-attachment','background-color','background-image','background-position','background-repeat','border-collapse','border-color','border-spacing','border-style','border-top','border-top-color','border-right-color','border-bottom-color','border-left-color','border-top-style','border-right-style','border-bottom-style','border-left-style','border-top-width','border-right-width','border-bottom-width','border-left-width','border-width','bottom','clear','clip','color','content','cursor','direction','display','elevation','empty-cells','css-float','font','font-family','font-size','font-size-adjust','font-stretch','font-style','font-variant','font-weight','height','left','letter-spacing','line-height','list-style','list-style-image','list-style-position','list-style-type','margin','margin-top','margin-right','margin-bottom','margin-left','max-height','max-width','min-height','min-width','orphans','outline','outline-color','outline-style','outline-width','overflow','padding','padding-top','padding-right','padding-bottom','padding-left','pause','position','right','size','table-layout','text-align','text-decoration','text-indent','text-shadow','text-transform','top','vertical-align','visibility','white-space','width','word-spacing','z-index','opacity','outline-offset','overflow-x','overflow-y']; - - -// chains several Animator objects together -function AnimatorChain(animators, options) { - this.animators = animators; - this.setOptions(options); - for (var i=0; i<this.animators.length; i++) { - this.listenTo(this.animators[i]); - } - this.forwards = false; - this.current = 0; -} - -AnimatorChain.prototype = { - // apply defaults - setOptions: function(options) { - this.options = Animator.applyDefaults({ - // by default, each call to AnimatorChain.play() calls jumpTo(0) of each animator - // before playing, which can cause flickering if you have multiple animators all - // targeting the same element. Set this to false to avoid this. - resetOnPlay: true - }, options); - }, - // play each animator in turn - play: function() { - this.forwards = true; - this.current = -1; - if (this.options.resetOnPlay) { - for (var i=0; i<this.animators.length; i++) { - this.animators[i].jumpTo(0); - } - } - this.advance(); - }, - // play all animators backwards - reverse: function() { - this.forwards = false; - this.current = this.animators.length; - if (this.options.resetOnPlay) { - for (var i=0; i<this.animators.length; i++) { - this.animators[i].jumpTo(1); - } - } - this.advance(); - }, - // if we have just play()'d, then call reverse(), and vice versa - toggle: function() { - if (this.forwards) { - this.seekTo(0); - } else { - this.seekTo(1); - } - }, - // internal: install an event listener on an animator's onComplete option - // to trigger the next animator - listenTo: function(animator) { - var oldOnComplete = animator.options.onComplete; - var _this = this; - animator.options.onComplete = function() { - if (oldOnComplete) oldOnComplete.call(animator); - _this.advance(); - } - }, - // play the next animator - advance: function() { - if (this.forwards) { - if (this.animators[this.current + 1] == null) return; - this.current++; - this.animators[this.current].play(); - } else { - if (this.animators[this.current - 1] == null) return; - this.current--; - this.animators[this.current].reverse(); - } - }, - // this function is provided for drop-in compatibility with Animator objects, - // but only accepts 0 and 1 as target values - seekTo: function(target) { - if (target <= 0) { - this.forwards = false; - this.animators[this.current].seekTo(0); - } else { - this.forwards = true; - this.animators[this.current].seekTo(1); - } - } -} - -// an Accordion is a class that creates and controls a number of Animators. An array of elements is passed in, -// and for each element an Animator and a activator button is created. When an Animator's activator button is -// clicked, the Animator and all before it seek to 0, and all Animators after it seek to 1. This can be used to -// create the classic Accordion effect, hence the name. -// see setOptions for arguments -function Accordion(options) { - this.setOptions(options); - var selected = this.options.initialSection, current; - if (this.options.rememberance) { - current = document.location.hash.substring(1); - } - this.rememberanceTexts = []; - this.ans = []; - var _this = this; - for (var i=0; i<this.options.sections.length; i++) { - var el = this.options.sections[i]; - var an = new Animator(this.options.animatorOptions); - var from = this.options.from + (this.options.shift * i); - var to = this.options.to + (this.options.shift * i); - an.addSubject(new NumericalStyleSubject(el, this.options.property, from, to, this.options.units)); - an.jumpTo(0); - var activator = this.options.getActivator(el); - activator.index = i; - activator.onclick = function(){_this.show(this.index)}; - this.ans[this.ans.length] = an; - this.rememberanceTexts[i] = activator.innerHTML.replace(/\s/g, ""); - if (this.rememberanceTexts[i] === current) { - selected = i; - } - } - this.show(selected); -} - -Accordion.prototype = { - // apply defaults - setOptions: function(options) { - this.options = Object.extend({ - // REQUIRED: an array of elements to use as the accordion sections - sections: null, - // a function that locates an activator button element given a section element. - // by default it takes a button id from the section's "activator" attibute - getActivator: function(el) {return document.getElementById(el.getAttribute("activator"))}, - // shifts each animator's range, for example with options {from:0,to:100,shift:20} - // the animators' ranges will be 0-100, 20-120, 40-140 etc. - shift: 0, - // the first page to show - initialSection: 0, - // if set to true, document.location.hash will be used to preserve the open section across page reloads - rememberance: true, - // constructor arguments to the Animator objects - animatorOptions: {} - }, options || {}); - }, - show: function(section) { - for (var i=0; i<this.ans.length; i++) { - this.ans[i].seekTo(i > section ? 1 : 0); - } - if (this.options.rememberance) { - document.location.hash = this.rememberanceTexts[section]; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/excanvas.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/excanvas.js deleted file mode 100644 index d74887394..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/360-player/script/excanvas.js +++ /dev/null @@ -1,17 +0,0 @@ -// Excanvas (Explorer Canvas) R43 -// http://excanvas.sourceforge.net/ -// Copyright 2006 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -if(!document.createElement("canvas").getContext){(function(){var u=Math;var v=u.round;var r=u.sin;var C=u.cos;var l=u.abs;var B=u.sqrt;var a=10;var n=a/2;function g(){return this.context_||(this.context_=new p(this))}var t=Array.prototype.slice;function D(j,m,E){var i=t.call(arguments,2);return function(){return j.apply(m,i.concat(t.call(arguments)))}}var h={init:function(i){if(/MSIE/.test(navigator.userAgent)&&!window.opera){var j=i||document;j.createElement("canvas");j.attachEvent("onreadystatechange",D(this.init_,this,j))}},init_:function(F){if(!F.namespaces.g_vml_){F.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML")}if(!F.namespaces.g_o_){F.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML")}if(!F.styleSheets.ex_canvas_){var E=F.createStyleSheet();E.owningElement.id="ex_canvas_";E.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}g_vml_\\:*{behavior:url(#default#VML)}g_o_\\:*{behavior:url(#default#VML)}"}var m=F.getElementsByTagName("canvas");for(var j=0;j<m.length;j++){this.initElement(m[j])}},initElement:function(j){if(!j.getContext){j.getContext=g;j.innerHTML="";j.attachEvent("onpropertychange",A);j.attachEvent("onresize",b);var i=j.attributes;if(i.width&&i.width.specified){j.style.width=i.width.nodeValue+"px"}else{j.width=j.clientWidth}if(i.height&&i.height.specified){j.style.height=i.height.nodeValue+"px"}else{j.height=j.clientHeight}}return j}};function A(j){var i=j.srcElement;switch(j.propertyName){case"width":i.style.width=i.attributes.width.nodeValue+"px";i.getContext().clearRect();break;case"height":i.style.height=i.attributes.height.nodeValue+"px";i.getContext().clearRect();break}}function b(j){var i=j.srcElement;if(i.firstChild){i.firstChild.style.width=i.clientWidth+"px";i.firstChild.style.height=i.clientHeight+"px"}}h.init();var e=[];for(var y=0;y<16;y++){for(var x=0;x<16;x++){e[y*16+x]=y.toString(16)+x.toString(16)}}function q(){return[[1,0,0],[0,1,0],[0,0,1]]}function d(E,m){var j=q();for(var i=0;i<3;i++){for(var H=0;H<3;H++){var F=0;for(var G=0;G<3;G++){F+=E[i][G]*m[G][H]}j[i][H]=F}}return j}function w(j,i){i.fillStyle=j.fillStyle;i.lineCap=j.lineCap;i.lineJoin=j.lineJoin;i.lineWidth=j.lineWidth;i.miterLimit=j.miterLimit;i.shadowBlur=j.shadowBlur;i.shadowColor=j.shadowColor;i.shadowOffsetX=j.shadowOffsetX;i.shadowOffsetY=j.shadowOffsetY;i.strokeStyle=j.strokeStyle;i.globalAlpha=j.globalAlpha;i.arcScaleX_=j.arcScaleX_;i.arcScaleY_=j.arcScaleY_;i.lineScale_=j.lineScale_}function c(m){var G,F=1;m=String(m);if(m.substring(0,3)=="rgb"){var I=m.indexOf("(",3);var j=m.indexOf(")",I+1);var H=m.substring(I+1,j).split(",");G="#";for(var E=0;E<3;E++){G+=e[Number(H[E])]}if(H.length==4&&m.substr(3,1)=="a"){F=H[3]}}else{G=m}return{color:G,alpha:F}}function s(i){switch(i){case"butt":return"flat";case"round":return"round";case"square":default:return"square"}}function p(j){this.m_=q();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=a*1;this.globalAlpha=1;this.canvas=j;var i=j.ownerDocument.createElement("div");i.style.width=j.clientWidth+"px";i.style.height=j.clientHeight+"px";i.style.overflow="hidden";i.style.position="absolute";j.appendChild(i);this.element_=i;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var k=p.prototype;k.clearRect=function(){this.element_.innerHTML=""};k.beginPath=function(){this.currentPath_=[]};k.moveTo=function(j,i){var m=this.getCoords_(j,i);this.currentPath_.push({type:"moveTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};k.lineTo=function(j,i){var m=this.getCoords_(j,i);this.currentPath_.push({type:"lineTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};k.bezierCurveTo=function(m,j,J,I,H,F){var i=this.getCoords_(H,F);var G=this.getCoords_(m,j);var E=this.getCoords_(J,I);o(this,G,E,i)};function o(i,E,m,j){i.currentPath_.push({type:"bezierCurveTo",cp1x:E.x,cp1y:E.y,cp2x:m.x,cp2y:m.y,x:j.x,y:j.y});i.currentX_=j.x;i.currentY_=j.y}k.quadraticCurveTo=function(H,m,j,i){var G=this.getCoords_(H,m);var F=this.getCoords_(j,i);var I={x:this.currentX_+2/3*(G.x-this.currentX_),y:this.currentY_+2/3*(G.y-this.currentY_)};var E={x:I.x+(F.x-this.currentX_)/3,y:I.y+(F.y-this.currentY_)/3};o(this,I,E,F)};k.arc=function(K,I,J,F,j,m){J*=a;var O=m?"at":"wa";var L=K+C(F)*J-n;var N=I+r(F)*J-n;var i=K+C(j)*J-n;var M=I+r(j)*J-n;if(L==i&&!m){L+=0.125}var E=this.getCoords_(K,I);var H=this.getCoords_(L,N);var G=this.getCoords_(i,M);this.currentPath_.push({type:O,x:E.x,y:E.y,radius:J,xStart:H.x,yStart:H.y,xEnd:G.x,yEnd:G.y})};k.rect=function(m,j,i,E){this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+E);this.lineTo(m,j+E);this.closePath()};k.strokeRect=function(m,j,i,E){var F=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+E);this.lineTo(m,j+E);this.closePath();this.stroke();this.currentPath_=F};k.fillRect=function(m,j,i,E){var F=this.currentPath_;this.beginPath();this.moveTo(m,j);this.lineTo(m+i,j);this.lineTo(m+i,j+E);this.lineTo(m,j+E);this.closePath();this.fill();this.currentPath_=F};k.createLinearGradient=function(j,E,i,m){var F=new z("gradient");F.x0_=j;F.y0_=E;F.x1_=i;F.y1_=m;return F};k.createRadialGradient=function(E,G,m,j,F,i){var H=new z("gradientradial");H.x0_=E;H.y0_=G;H.r0_=m;H.x1_=j;H.y1_=F;H.r1_=i;return H};k.drawImage=function(R,m){var K,I,M,Z,P,N,T,ab;var L=R.runtimeStyle.width;var Q=R.runtimeStyle.height;R.runtimeStyle.width="auto";R.runtimeStyle.height="auto";var J=R.width;var X=R.height;R.runtimeStyle.width=L;R.runtimeStyle.height=Q;if(arguments.length==3){K=arguments[1];I=arguments[2];P=N=0;T=M=J;ab=Z=X}else{if(arguments.length==5){K=arguments[1];I=arguments[2];M=arguments[3];Z=arguments[4];P=N=0;T=J;ab=X}else{if(arguments.length==9){P=arguments[1];N=arguments[2];T=arguments[3];ab=arguments[4];K=arguments[5];I=arguments[6];M=arguments[7];Z=arguments[8]}else{throw Error("Invalid number of arguments")}}}var aa=this.getCoords_(K,I);var E=T/2;var j=ab/2;var Y=[];var i=10;var G=10;Y.push(" <g_vml_:group",' coordsize="',a*i,",",a*G,'"',' coordorigin="0,0"',' style="width:',i,"px;height:",G,"px;position:absolute;");if(this.m_[0][0]!=1||this.m_[0][1]){var F=[];F.push("M11=",this.m_[0][0],",","M12=",this.m_[1][0],",","M21=",this.m_[0][1],",","M22=",this.m_[1][1],",","Dx=",v(aa.x/a),",","Dy=",v(aa.y/a),"");var V=aa;var U=this.getCoords_(K+M,I);var S=this.getCoords_(K,I+Z);var O=this.getCoords_(K+M,I+Z);V.x=u.max(V.x,U.x,S.x,O.x);V.y=u.max(V.y,U.y,S.y,O.y);Y.push("padding:0 ",v(V.x/a),"px ",v(V.y/a),"px 0;filter:progid:DXImageTransform.Microsoft.Matrix(",F.join(""),", sizingmethod='clip');")}else{Y.push("top:",v(aa.y/a),"px;left:",v(aa.x/a),"px;")}Y.push(' ">','<g_vml_:image src="',R.src,'"',' style="width:',a*M,"px;"," height:",a*Z,'px;"',' cropleft="',P/J,'"',' croptop="',N/X,'"',' cropright="',(J-P-T)/J,'"',' cropbottom="',(X-N-ab)/X,'"'," />","</g_vml_:group>");this.element_.insertAdjacentHTML("BeforeEnd",Y.join(""))};k.stroke=function(ae){var J=[];var K=false;var ap=c(ae?this.fillStyle:this.strokeStyle);var aa=ap.color;var ak=ap.alpha*this.globalAlpha;var F=10;var M=10;J.push("<g_vml_:shape",' filled="',!!ae,'"',' style="position:absolute;width:',F,"px;height:",M,'px;"',' coordorigin="0 0" coordsize="',a*F," ",a*M,'"',' stroked="',!ae,'"',' path="');var L=false;var ao={x:null,y:null};var V={x:null,y:null};for(var aj=0;aj<this.currentPath_.length;aj++){var ai=this.currentPath_[aj];var an;switch(ai.type){case"moveTo":an=ai;J.push(" m ",v(ai.x),",",v(ai.y));break;case"lineTo":J.push(" l ",v(ai.x),",",v(ai.y));break;case"close":J.push(" x ");ai=null;break;case"bezierCurveTo":J.push(" c ",v(ai.cp1x),",",v(ai.cp1y),",",v(ai.cp2x),",",v(ai.cp2y),",",v(ai.x),",",v(ai.y));break;case"at":case"wa":J.push(" ",ai.type," ",v(ai.x-this.arcScaleX_*ai.radius),",",v(ai.y-this.arcScaleY_*ai.radius)," ",v(ai.x+this.arcScaleX_*ai.radius),",",v(ai.y+this.arcScaleY_*ai.radius)," ",v(ai.xStart),",",v(ai.yStart)," ",v(ai.xEnd),",",v(ai.yEnd));break}if(ai){if(ao.x==null||ai.x<ao.x){ao.x=ai.x}if(V.x==null||ai.x>V.x){V.x=ai.x}if(ao.y==null||ai.y<ao.y){ao.y=ai.y}if(V.y==null||ai.y>V.y){V.y=ai.y}}}J.push(' ">');if(!ae){var U=this.lineScale_*this.lineWidth;if(U<1){ak*=U}J.push("<g_vml_:stroke",' opacity="',ak,'"',' joinstyle="',this.lineJoin,'"',' miterlimit="',this.miterLimit,'"',' endcap="',s(this.lineCap),'"',' weight="',U,'px"',' color="',aa,'" />')}else{if(typeof this.fillStyle=="object"){var N=this.fillStyle;var S=0;var ah={x:0,y:0};var ab=0;var Q=1;if(N.type_=="gradient"){var P=N.x0_/this.arcScaleX_;var m=N.y0_/this.arcScaleY_;var O=N.x1_/this.arcScaleX_;var aq=N.y1_/this.arcScaleY_;var am=this.getCoords_(P,m);var al=this.getCoords_(O,aq);var I=al.x-am.x;var G=al.y-am.y;S=Math.atan2(I,G)*180/Math.PI;if(S<0){S+=360}if(S<0.000001){S=0}}else{var am=this.getCoords_(N.x0_,N.y0_);var j=V.x-ao.x;var E=V.y-ao.y;ah={x:(am.x-ao.x)/j,y:(am.y-ao.y)/E};j/=this.arcScaleX_*a;E/=this.arcScaleY_*a;var ag=u.max(j,E);ab=2*N.r0_/ag;Q=2*N.r1_/ag-ab}var Z=N.colors_;Z.sort(function(H,i){return H.offset-i.offset});var T=Z.length;var Y=Z[0].color;var X=Z[T-1].color;var ad=Z[0].alpha*this.globalAlpha;var ac=Z[T-1].alpha*this.globalAlpha;var af=[];for(var aj=0;aj<T;aj++){var R=Z[aj];af.push(R.offset*Q+ab+" "+R.color)}J.push('<g_vml_:fill type="',N.type_,'"',' method="none" focus="100%"',' color="',Y,'"',' color2="',X,'"',' colors="',af.join(","),'"',' opacity="',ac,'"',' g_o_:opacity2="',ad,'"',' angle="',S,'"',' focusposition="',ah.x,",",ah.y,'" />')}else{J.push('<g_vml_:fill color="',aa,'" opacity="',ak,'" />')}}J.push("</g_vml_:shape>");this.element_.insertAdjacentHTML("beforeEnd",J.join(""))};k.fill=function(){this.stroke(true)};k.closePath=function(){this.currentPath_.push({type:"close"})};k.getCoords_=function(E,j){var i=this.m_;return{x:a*(E*i[0][0]+j*i[1][0]+i[2][0])-n,y:a*(E*i[0][1]+j*i[1][1]+i[2][1])-n}};k.save=function(){var i={};w(this,i);this.aStack_.push(i);this.mStack_.push(this.m_);this.m_=d(q(),this.m_)};k.restore=function(){w(this.aStack_.pop(),this);this.m_=this.mStack_.pop()};k.translate=function(m,j){var i=[[1,0,0],[0,1,0],[m,j,1]];this.m_=d(i,this.m_)};k.rotate=function(j){var E=C(j);var m=r(j);var i=[[E,m,0],[-m,E,0],[0,0,1]];this.m_=d(i,this.m_)};k.scale=function(G,F){this.arcScaleX_*=G;this.arcScaleY_*=F;var j=[[G,0,0],[0,F,0],[0,0,1]];var i=this.m_=d(j,this.m_);var E=i[0][0]*i[1][1]-i[0][1]*i[1][0];this.lineScale_=B(l(E))};k.clip=function(){};k.arcTo=function(){};k.createPattern=function(){return new f};function z(i){this.type_=i;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[]}z.prototype.addColorStop=function(j,i){i=c(i);this.colors_.push({offset:j,color:i.color,alpha:i.alpha})};function f(){}G_vmlCanvasManager=h;CanvasRenderingContext2D=p;CanvasGradient=z;CanvasPattern=f})()}; \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/index.html deleted file mode 100644 index 31133af05..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/demo/index.html +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> -<head> -<title>MP3 player demo</title> -<meta name="robots" content="noindex" /> -<meta name="author" content="Scott Schiller" /> -<meta name="language" content="en-us" /> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<meta name="keywords" content="javascript sound library api" /> -<meta name="description" content="Demo page for soundmanager mp3 player" /> -<script type="text/javascript" src="../script/soundmanager2.js"></script> -<script type="text/javascript" src="script/default.js"></script> -</head> - -<body> - -<div> - - <h1>SoundManager 2 Demos</h1> - - <p> - <a href="http://www.schillmania.com/projects/soundmanager2/">SoundManager 2 project page</a> - </p> - -</div> - -</body> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/index.html deleted file mode 100644 index c84bfff5b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/index.html +++ /dev/null @@ -1,1046 +0,0 @@ -<!doctype html> -<html lang="en"> -<head> -<title>SoundManager 2: JavaScript Sound For The Web</title> -<meta name="robots" content="noindex" /> -<meta name="description" content="Play sound from JavaScript including MP3, MPEG-4 and HTML5-supported audio formats with SoundManager 2, a cross-browser/platform sound API. BSD licensed."/> -<meta name="keywords" content="javascript sound, html5 audio, html5 sound, javascript audio, javascript play mp3, javascript sound control, mp3, mp4, mpeg4, aac, Scott Schiller, Schill, Schillmania"/> -<meta name="author" content="Scott Schiller"/> -<meta name="dcterms.rights" content="Copyright (C) 1997 onwards Scott Schiller"/> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> - -<!-- inline demo CSS (combined + minified for performance; see comments for raw source URLs) --> -<link rel="stylesheet" type="text/css" href="demo/index-rollup.css"/> - -<!-- the SoundManager 2 API --> -<script type="text/javascript" src="script/soundmanager2.js"></script> - -<!-- 360 UI demo, canvas magic for IE --> -<!--[if lt IE 9]><script type="text/javascript" src="demo/360-player/script/excanvas.js"></script><![endif]--> - -<!-- SM2 demo/homepage-specific stuff --> -<script type="text/javascript">var is_home = true;</script> - -<!-- inline demo JS (combined + minified; see comments for raw source URLs) --> -<script type="text/javascript" src="demo/index-rollup.js"></script> - -<!-- testing 2 --> -<script src="demo/bar-ui/script/bar-ui.js"></script> - -<!-- IE CSS font hax --> -<!--[if lte IE 8]> -<style> - #turntable-demo { - /* nope. */ - display: none; - } - #tidal-link { display: none; /* this uses SVG, so, meh. */ } - h2.special { - /* IE 6-8 font reset, doesn't like sort-of-defined @font-family */ - font-family:"helvetica neue",helvetica,arial,verdana,tahoma,"sans serif"; - } - body.home #about-header { - padding-left: 0px; - } -.sm2-speaker, - #inline-video { - display: none; - } -</style> -<![endif]--> -</head> - -<body class="home"> - -<div id="content"> - - <div id="lights"></div> - - <div id="top"> - - <h1>A JavaScript Sound API supporting MP3, MPEG4 and HTML5 Audio.</h1> - - <div id="nav"> - <div id="version" title="Version of SM2 loaded on this page"></div> - <ul> - <li> - <strong><a href="#home">Home</a></strong> - </li> - <li> - <a href="#">Demos</a> - <ul> - <li><a href="demo/template/">Basic Template</a></li> - <li><a href="demo/api/">API Examples</a></li> - <li><a href="demo/bar-ui/">Bar UI</a></li> - <li><a href="demo/play-mp3-links/">Playable MP3 links</a></li> - <li><a href="demo/mp3-player-button/" class="exclude">Basic MP3 Play Button</a></li> - <li><a href="demo/page-player/">Muxtape-style UI</a></li> - <li><a href="demo/360-player/">360&deg; Player UI</a></li> - <li><a href="demo/mpc/">Drum Machine (MPC)</a></li> - <li><a href="demo/animation/">DOM/Animation Demos</a></li> - <li><a href="demo/flashblock/">FlashBlock Handling</a></li> - </ul> - </li> - <li> - <a href="doc/getstarted/">Getting Started</a> - <ul> - <li><a href="doc/getstarted/#how-sm2-works">How SoundManager 2 works</a></li> - <li><a href="doc/getstarted/#basic-inclusion">Including SM2 on your site</a></li> - <li><a href="doc/getstarted/#troubleshooting">Troubleshooting</a></li> - </ul> - </li> - <li> - <a href="doc/">Documentation</a> - <ul> - <li><a href="doc/#sm-config">SoundManager Properties</a></li> - <li><a href="doc/#sound-object-properties">Sound Object Properties</a></li> - <li><a href="doc/#smdefaults">Global Sound Defaults</a></li> - <li><a href="doc/#api">SoundManager Core API</a></li> - <li><a href="doc/#smsoundmethods">Sound Object (SMSound) API</a></li> - <li><a href="doc/generated/soundmanager2.html">Generated Documentation</a></li> - </ul> - </li> - <li> - <a href="doc/download/">Download</a> - <ul> - <li><a href="doc/download/#latest">Get SoundManager 2</a></li> - <li><a href="doc/download/#revision-history">Revision History</a></li> - </ul> - </li> - <li> - <a href="doc/technotes/">Technical Notes</a> - <ul> - <li><a href="doc/technotes/#requirements">System Requirements</a></li> - <li><a href="doc/technotes/#serving-audio">Serving To HTML5 + Flash Clients</a></li> - <li><a href="doc/technotes/#client-requests">How Clients Download Audio</a></li> - <li><a href="doc/technotes/#mobile-device-limitations">Mobile Device Limitations</a></li> - <li><a href="doc/technotes/#debug-output">Debug + Console Output</a></li> - </ul> - </li> - <li> - <a href="doc/resources/">Resources</a> - <ul> - <li><a href="doc/resources/#licensing">Licensing</a></li> - <li><a href="doc/resources/#related">Related Projects</a></li> - <li><a href="http://getsatisfaction.com/schillmania/products/schillmania_soundmanager_2/">SM2 support / discussion</a></li> - <li><a href="http://www.schillmania.com/content/react/contact/">Contact Info @ Schillmania.com</a></li> - </ul> - </li> - </ul> - <div class="clear"></div> - </div> - </div> - -<div id="main-wrapper"> - - <div id="main" class="triple"> - - <div id="col3" class="c3"> - - <div id="support-wrapper"> - <div id="get-satisfaction" class="box"> - <div id="gsfn_list_widget"> - <h2><a href="http://getsatisfaction.com/schillmania/products/schillmania_soundmanager_2/" title="User discussion, FAQs and support for SoundManager 2" rel="nofollow">Discussion / Support</a><span class="l"></span><span class="r"></span></h2> - <div id="gsfn_content"> - </div> - <div class="powered_by"> - <a href="http://getsatisfaction.com/" rel="nofollow">Get Satisfaction support network</a> - </div> - </div> - <!-- /.box --> - </div> - - <div id="sm2-options"> - <p> - SM2 options:&nbsp; <span id="with-html5"><a href="?sm2-usehtml5audio=1" title="View this page with HTML5 audio support enabled">+html5</a></span> - <span id="options-divider-with-html5" class="options-divider">&nbsp;|&nbsp;</span> - <span id="without-html5"><a href="?sm2-usehtml5audio=0" title="View this page with HTML5 audio support disabled">-html5</a></span> - <span id="options-divider-without-html5" class="options-divider">&nbsp;|&nbsp;</span> - <span id="with-debug"><a href="#debug=1" title="View this page with debug output mode enabled (console.log() or HTML-based)" onclick="document.location.href=this.href;document.location.reload()">+debug</a></span> - </p> - </div> - - </div> - - <!-- /main --> - </div> - - <div id="live-demos" class="columnar"> - - <div id="about-sm2"> - - <div id="sm2-support-warning"> - <!-- as needed, warning is displayed here --> - </div> - - <div id="about-header"> - - <div class="sm2-speaker"></div> - - <h2 class="special">SoundManager 2 makes it easier to play audio using JavaScript.</h2> - - <p> - <a href="doc/download/" title="Download SoundManager 2" class="feature" style="float:right;font-family:helvetica;font-weight:500;margin:0px;white-space:nowrap">Get SoundManager 2</a> - <span style="line-height:1.75em;font-size:110%">SoundManager 2 provides simple, reliable cross-platform audio under a single JavaScript API.&nbsp;</span> - </p> - - </div> - - <div id="inline-video"> - - <video id="turntable-video" loop autoplay onclick="if (!this.paused) { this.pause(); } else { this.play(); }"> - <source src="demo/_image/turntable-loop-1920x500-bw.webm" type="video/webm"> - <source src="demo/_image/turntable-loop-1920x500-h264-512kbps-h264.mp4"> - <source src="demo/_image/turntable-loop-1920x500-h264-512kbps-bw.mov" type="video/mp4"> - <img id="turntable-static-video" src="demo/_image/turntable-loop-poster.jpg" alt="" style="width:100%;max-width:1920px" /> - </video> - - <script> - - (function() { - - /** - * iPhone doesn't play inline video, nor does iOS < 7 on iPad (IIRC.) - * This is a dirty hack to not show video in the general mobile / tablet / "you're not a desktop (and not Windows XP)" case. - * GIF made using the following... - * gifsicle source.gif --colors 32 --optimize --dither=o3 > output.gif - * from source GIF: - * gifsicle turntable-loop-original.gif --delay 8 --colors 32 --dither=o3 `seq -f "#%g" 0 2 43` -O2 --gamma=3 -o turntable-loop-960-22f-32c-03.gif - * APNG made with APNG Anime Maker (Windows.) - */ - - var i, doesAPNG, replacements, ua, url, video; - - replacements = { - 'gif': 'demo/_image/turntable-loop-960-22f-32c-03.gif', // framerate / quality / file size trade-off - 'apng': 'demo/_image/turntable-loop-960-27f.apng' // pretty good all-around - } - - ua = navigator.userAgent; - - // that oughta get enough of you guys. YOU get a .GIF, and *YOU* get a .GIF! - if (ua.match(/iphone|ipad|ios|mobile|windows phone|tablet/i) || navigator.userAgent.match(/windows nt 5\.1/i) || window.location.href.match(/img/i)) { - // if your device lies about its capabilities, you will probably now pay the price for this naive detection. - video = document.getElementById('inline-video'); - if (video) { - // dirty, evil tricks. - doesAPNG = (ua.match(/os (8|9|10)\s/i) || window.location.href.match(/apng/i)); // iOS 8+ is presumed as "OS 8|9|10" or whatever's eventually released. - url = replacements[(doesAPNG ? 'apng' : 'gif')]; - video.innerHTML = '<img src="demo/_image/turntable-loop-poster.jpg" alt="" style="width:100%;max-width:1920px" /><div style="position:absolute;left:0px;top:0px;width:100%;height:100%;background: transparent url(' + url + ');background-size:100% auto;background-repeat:no-repeat' + (!doesAPNG ? ';opacity:0.8' : '') + '" onclick="this.style.display=\'none\'"></div>'; - } - } - - }()); - - </script> - - <div id="bar-ui-1" class="sm2-bar-ui full-width bottom"> - - <div class="bd sm2-main-controls"> - - <div class="sm2-inline-texture"></div> - <div class="sm2-inline-gradient"></div> - - <div class="sm2-inline-element sm2-button-element"> - <div class="sm2-button-bd"> - <a href="#play" class="sm2-inline-button play-pause">Play / pause</a> - </div> - </div> - - <div class="sm2-inline-element sm2-inline-status"> - - <div class="sm2-playlist"> - <div class="sm2-playlist-target"> - <!-- playlist <ul> + <li> markup will be injected here --> - <!-- if you want default / non-JS content, you can put that here. --> - <noscript><p>JavaScript is required.</p></noscript> - </div> - </div> - - <div class="sm2-progress"> - <div class="sm2-row"> - <div class="sm2-inline-time">0:00</div> - <div class="sm2-progress-bd"> - <div class="sm2-progress-track"> - <div class="sm2-progress-bar"></div> - <div class="sm2-progress-ball"><div class="icon-overlay"></div></div> - </div> - </div> - <div class="sm2-inline-duration">0:00</div> - </div> - </div> - - </div> - - <div class="sm2-inline-element sm2-button-element sm2-volume"> - <div class="sm2-button-bd"> - <span class="sm2-inline-button sm2-volume-control volume-shade"></span> - <a href="#volume" class="sm2-inline-button sm2-volume-control">volume</a> - </div> - </div> - - <div class="sm2-inline-element sm2-button-element"> - <div class="sm2-button-bd"> - <a href="#prev" title="Previous" class="sm2-inline-button previous">&lt; previous</a> - </div> - </div> - - <div class="sm2-inline-element sm2-button-element"> - <div class="sm2-button-bd"> - <a href="#next" title="Next" class="sm2-inline-button next">&gt; next</a> - </div> - </div> - - <div class="sm2-inline-element sm2-button-element sm2-menu"> - <div class="sm2-button-bd"> - <a href="#menu" class="sm2-inline-button menu">menu</a> - </div> - </div> - - </div> - - <div class="bd sm2-playlist-drawer sm2-element"> - - <!-- playlist content is mirrored here --> - - <div class="sm2-playlist-wrapper"> - <ul class="sm2-playlist-bd"> - <!-- example: playable link, "buy" link, "download" link --> - <li> - <div class="sm2-row"> - <div class="sm2-col sm2-wide"> - <a href="http://freshly-ground.com/data/audio/sm2/Figub%20Brazlevi%C4%8D%20-%20Bosnian%20Syndicate.mp3" class="exclude button-exclude inline-exclude"><b>Figub Brazlevič</b> - Bosnian Syndicate <span title="Published under a Creative Commons BY-NC-ND license" class="label">(BY-CC-ND license)</span></a> - </div> - <div class="sm2-col"> - <a href="http://figubbrazlevic.bandcamp.com/track/bosnian-syndicate" target="_blank" title="Buy &quot;Bosnian Syndicate&quot;" class="sm2-icon sm2-cart">Buy this track</a> - </div> - </div> - </li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20Let%20Me%20%28Prod%202oolman%29.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - Let Me <span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20LA%20%28Prod%20Chin%20Injetti%29.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - LA (Prod. Chin Injetti)<span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20People%20Asking.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - People Asking <span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20Already%20There%20Remix%20ft.%20Rich%20Kidd%2C%20Saukrates.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - Already There Remix ft. Rich Kidd, Saukrates <span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/The%20Fugitives%20-%20Graffiti%20Sex.mp3" class="exclude button-exclude inline-exclude"><b>The Fugitives</b> - Graffiti Sex</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/Adrian%20Glynn%20-%20Seven%20Or%20Eight%20Days.mp3" class="exclude button-exclude inline-exclude"><b>Adrian Glynn</b> - Seven Or Eight Days</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20I%20Tried.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - I Tried</a></li> - <li><a href="http://freshly-ground.com/data/audio/mpc/20060826%20-%20Armstrong.mp3" class="exclude button-exclude inline-exclude">Armstrong Beat</a></li> - <li><a href="http://freshly-ground.com/data/audio/mpc/20090119%20-%20Untitled%20Groove.mp3" class="exclude button-exclude inline-exclude">Untitled Groove</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/birds-in-kauai-128kbps-aac-lc.mp4" class="exclude button-exclude inline-exclude">Birds In Kaua'i (AAC)</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/20130320%20-%20Po%27ipu%20Beach%20Waves.ogg" class="exclude button-exclude inline-exclude">Po'ipu Beach Waves (OGG)</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/bottle-pop.wav" class="exclude button-exclude inline-exclude">A corked beer bottle (WAV)</a></li> - <li><a href="demo/_mp3/rain.mp3" class="norewrite exclude button-exclude inline-exclude">Rain</a></li> - </ul> - </div> - - </div> - - </div> - - <div class="demo-more" style="margin-top:-45px"> - Featured demo: <a href="demo/bar-ui/" title="Bar UI: Demo" class="cta dark-cta">Bar UI <span>&raquo;</span></a> - </div> - - </div> - - <hr /> - - <div class="threeup first"> - - <div class="column"> - - <div class="column-wrapper"> - - <h3>Speak and <b style="white-space:nowrap">be heard<span class="music-note icon"></span></b></h3> - <h4>More sound, <b>in more places</b></h4> - - <p>Despite being one of the senses, sound has largely been missing from the web due to inconsistent technology support. SoundManager 2 bridges this gap, making it easier to use audio across a growing variety of devices and platforms, both desktop and mobile.</p> - - <p><a href="#getting-started" class="cta">Getting started</a> is pretty easy, too.</p> - - <p>A few live examples:</p> - - <div id="sm2-support" class="demo-block"> - <!-- "oh snap", SM2 didn't load etc. messaging --> - </div> - - <div style="position:relative;*zoom:1;min-width:275px"> - - <div id="special-demo-left" class="sm2-inline-list"> - - <div class="ui360"> - <a href="demo/_mp3/office_lobby.mp3" class="norewrite exclude button-exclude inline-exclude">Office lobby sound</a> - </div> - - <div class="ui360" style="float:left;display:inline"> - <a href="demo/_mp3/mak.mp3" title="360 demo: Angry Cow Sound" class="norewrite exclude button-exclude inline-exclude">Random</a> - </div> - - <div class="ui360" style="float:left;display:inline"> - <a href="http://freshly-ground.com/data/audio/sm2/water-drop.mp3" title="360 Demo: Water Drop" class="exclude button-exclude inline-exclude">Water Drop</a> - </div> - - <div class="demo-more-abs" style="margin-right:1.5em"> - <a href="demo/360-player/" title="360&deg; UI player demo" class="cta">360&deg; UI <span>&raquo;</span></a> - </div> - - </div> - - <div id="special-demo-right"> - <a href="demo/_mp3/coins.mp3" title="Play &quot;Change&quot;" class="sm2_button exclude inline-exclude norewrite">coins.mp3</a> - &nbsp;&nbsp; <a href="demo/christmas-lights/sound/glass0.mp3" class="sm2_button exclude inline-exclude norewrite" title="Play &quot;Glass break 1&quot;">glass0.mp3</a> - &nbsp;&nbsp; <a href="demo/christmas-lights/sound/glass1.mp3" class="sm2_button exclude inline-exclude threesixty-exclude norewrite" title="Play &quot;Glass break 2&quot;">glass1.mp3</a> - - <div class="demo-more-abs"> - <a href="demo/mp3-player-button/" title="MP3 buttons demo" class="cta">mp3 buttons <span>&raquo;</span></a> - </div> - - </div> - - </div> - - <div id="html5-audio-notes"> - </div> - - </div> - - </div> - - - <div class="column"> - <div class="column-wrapper"> - - <h3>HTML5 + flash <b style="white-space:nowrap">hybrid<span class="package icon"></span></b></h3> - <h4>Complexity, <b>reduced</b></h4> - - <p>Supporting HTML5 audio can be tedious in modern browsers, let alone legacy ones. With real-world visitors using browsers ranging from mobile Safari to IE 6 across a wide range of devices, there can be many support cases to consider.</p> - - <p>SoundManager 2 gives you a single, powerful API that supports both new and old, using HTML5 audio where supported and optional Flash-based fallback where needed. Ideally when using SoundManager 2, audio "just works."</p> - - <div class="icons"> - <ul> - <li class="desktop" title="Desktop support: Windows, Mac OS, Linux">Desktop support: Windows, Mac OS, Linux</li> - <li class="laptop" title="Laptop/tablet support: Windows, Mac OS, Linux / Blackberry Playbook, Kindle Fire + other HTML5/Flash devices">Laptop/tablet support: Windows, Mac OS, Linux / Blackberry Playbook, Kindle Fire + other HTML5/Flash devices</li> - <li class="iphone" title="iPhone support: iPhone with iOS 4.0 and newer">iPhone support: iOS 4.0 and newer</li> - <li class="ipad" title="iPad support: Version 1.0 (iOS 3.2) and newer">iPad support: Version 1.0 (iOS 3.2) and newer</li> - <li class="android" title="Android OS supporting HTML5 and/or Flash (Version 2.3 or newer)">Android OS supporting HTML5 and/or Flash (Version 2.3 or newer)</li> - </ul> - The details: <a href="doc/getstarted/#intro" class="cta" style="text-align:right">how it works <span>&raquo;</span></a> - </div> - - </div> - </div> - - <div class="column"> - <div class="column-wrapper"> - <h3 style="cursor:help" title="Gzip-compressed file size on a typical set-up is 12 KB. And was it supposed to be the &quot;Swiss Army&quot; kind? I forget.">The ginsu knife: <b style="white-space:nowrap">12 KB<span class="performance icon"></span></b></h3> - <h4>Big&nbsp;features, <b>small footprint</b></h4> - <p><em>But wait, there's more!</em></p> - <p>Performance is an important metric, too. SoundManager 2 packs a comprehensive, feature-rich API into as little as <a href="doc/getstarted/#basic-inclusion" title="SoundManager 2: Build options (down to ~12 KB in size)" style="white-space:nowrap" class="cta">12 KB</a> over the wire when optimized; that's less than 8% of the original, uncompressed file size.</p> - <p>SM2 is self-contained, having no external dependencies, and is compatible with popular JavaScript frameworks.</p> - <p>The source code is BSD-licensed and is provided in fully-commented, non-debug and compiler-optimized "minified" versions appropriate for development and production use.</p> - </div> - </div> - - </div> - - - <div class="threeup"> - - <div class="column"> - <div class="column-wrapper"> - - <h3>Basic</h3> - <h4>Playable <b>links and playlists</b></h4> - - <p>These demos use unordered lists with MP3 links that play in-place; the UI is easily customized via CSS.</p> - - <ul id="graphic-playlist" class="graphic"> - <li><a href="demo/_mp3/rain.mp3" class="exclude">Rain</a></li> - <li><a href="demo/_mp3/walking.mp3" class="exclude">Walking</a></li> - <!-- files from the web (note that ID3 information will *not* load from remote domains without permission, Flash restriction) --> - <li><a href="http://freshly-ground.com/data/video/Rain%20on%20Car%20Roof.aac" title="Rain on car roof (AAC)" class="exclude">Rain On Car Roof <span class="sidenote">(AAC)</span></a></li> - </ul> - - <div class="demo-more" style="text-align:right;white-space:normal"> - <a href="demo/play-mp3-links/" title="&quot;Play MP3 Links&quot; demo" class="cta">play MP3 links <span>&raquo;</span></a> - </div> - - <div style="clear:both"></div> - - <p>A richer playlist theme with optional time, seekable progress bar and a VU meter where supported:</p> - - <ul id="inline-playlist" class="playlist"> - <li><a href="http://freshly-ground.com/data/audio/mpc/20060826%20-%20Armstrong.mp3" class="button-exclude inline-exclude threesixty-exclude">Armstrong Beat</a></li> - <li><a href="http://freshly-ground.com/data/audio/mpc/20090119%20-%20Untitled%20Groove.mp3" class="button-exclude inline-exclude threesixty-exclude">Untitled Groove</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/birds-in-kauai-128kbps-aac-lc.mp4" title="128 kbps MPEG-4 AAC LC (Low Complexity) sound: Birds in Kaua'i" class="button-exclude inline-exclude threesixty-exclude">Birds In Kaua'i <span class="sidenote">(128 kbps AAC)</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/20130320%20-%20Po%27ipu%20Beach%20Waves.ogg" title="Po'ipu Beach Waves: OGG sound format, requires HTML5 Audio() support to play" class="muxtape-html5 button-exclude inline-exclude threesixty-exclude">Po'ipu Beach Waves <span class="sidenote">(OGG)</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/bottle-pop.wav" title="WAV sound format, requires HTML5 Audio() support to play" class="muxtape-html5 button-exclude inline-exclude threesixty-exclude">A corked beer bottle <span class="sidenote">(WAV)</span></a></li> - </ul> - <div class="demo-more"> - <a href="demo/page-player/" title="Muxtape-style UI demo" class="cta">muxtape-style UI <span>&raquo;</span></a> - </div> - - </div> - </div> - - <div class="column"> - <div class="column-wrapper"> - - <h3>Shiny</h3> - <h4>Fancier UI, more features</h4> - - <p>The <em>Bar UI</em> uses SVG for a resolution-independent UI, with HTML and CSS that makes customization easy.</p> - - <div class="sm2-bar-ui" style="min-width:10em"> - - <div class="bd sm2-main-controls"> - - <div class="sm2-inline-texture"></div> - <div class="sm2-inline-gradient"></div> - - <div class="sm2-inline-element sm2-button-element"> - <div class="sm2-button-bd"> - <a href="#play" class="sm2-inline-button play-pause">Play / pause</a> - </div> - </div> - - <div class="sm2-inline-element sm2-inline-status"> - - <div class="sm2-playlist"> - <div class="sm2-playlist-target"> - <!-- playlist <ul> + <li> markup will be injected here --> - <!-- if you want default / non-JS content, you can put that here. --> - <noscript><p>JavaScript is required.</p></noscript> - </div> - </div> - - <div class="sm2-progress"> - <div class="sm2-row"> - <div class="sm2-inline-time">0:00</div> - <div class="sm2-progress-bd"> - <div class="sm2-progress-track"> - <div class="sm2-progress-bar"></div> - <div class="sm2-progress-ball"><div class="icon-overlay"></div></div> - </div> - </div> - <div class="sm2-inline-duration">0:00</div> - </div> - </div> - - </div> - - <div class="sm2-inline-element sm2-button-element sm2-volume"> - <div class="sm2-button-bd"> - <span class="sm2-inline-button sm2-volume-control volume-shade"></span> - <a href="#volume" class="sm2-inline-button sm2-volume-control">volume</a> - </div> - </div> - - <div class="sm2-inline-element sm2-button-element sm2-menu"> - <div class="sm2-button-bd"> - <a href="#menu" class="sm2-inline-button menu">menu</a> - </div> - </div> - - </div> - - <div class="bd sm2-playlist-drawer sm2-element"> - - <div class="sm2-inline-texture"> - <div class="sm2-box-shadow"></div> - </div> - - <!-- playlist content is mirrored here --> - - <div class="sm2-playlist-wrapper"> - <ul class="sm2-playlist-bd"> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20LA%20(Prod%20Chin%20Injetti).mp3" class="exclude button-exclude inline-exclude">SonReal - LA (Prod. Chin Injetti)<span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20Let%20Me%20(Prod%202oolman).mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - Let Me <span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20People%20Asking.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - People Asking <span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20Already%20There%20Remix%20ft.%20Rich%20Kidd,%20Saukrates.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - Already There Remix ft. Rich Kidd, Saukrates <span class="label">Explicit</span></a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/The%20Fugitives%20-%20Graffiti%20Sex.mp3" class="exclude button-exclude inline-exclude"><b>The Fugitives</b> - Graffiti Sex</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/Adrian%20Glynn%20-%20Seven%20Or%20Eight%20Days.mp3" class="exclude button-exclude inline-exclude"><b>Adrian Glynn</b> - Seven Or Eight Days</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20I%20Tried.mp3" class="exclude button-exclude inline-exclude"><b>SonReal</b> - I Tried</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/gong-192kbps.mp3" class="exclude button-exclude inline-exclude">32" Gong Sounds (rubber + standard mallets)</a></li> - <li><a href="http://freshly-ground.com/data/audio/mpc/20060826%20-%20Armstrong.mp3" class="exclude button-exclude inline-exclude">Armstrong Beat</a></li> - <li><a href="http://freshly-ground.com/data/audio/mpc/20090119%20-%20Untitled%20Groove.mp3" class="exclude button-exclude inline-exclude">Untitled Groove</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/birds-in-kauai-128kbps-aac-lc.mp4" class="exclude button-exclude inline-exclude">Birds In Kaua'i (AAC)</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/20130320%20-%20Po%27ipu%20Beach%20Waves.ogg" class="exclude button-exclude inline-exclude">Po'ipu Beach Waves (OGG)</a></li> - <li><a href="http://freshly-ground.com/data/audio/sm2/bottle-pop.wav" class="exclude button-exclude inline-exclude">A corked beer bottle (WAV)</a></li> - <li><a href="demo/_mp3/rain.mp3" class="norewrite exclude button-exclude inline-exclude">Rain</a></li> - </ul> - </div> - - <div class="sm2-extra-controls"> - - <div class="bd"> - - <div class="sm2-inline-element sm2-button-element"> - <a href="#prev" title="Previous" class="sm2-inline-button previous">&lt; previous</a> - </div> - - <div class="sm2-inline-element sm2-button-element"> - <a href="#next" title="Next" class="sm2-inline-button next">&gt; next</a> - </div> - - <div class="sm2-inline-element sm2-button-element disabled"> - <a href="#repeat" title="Repeat playlist" class="sm2-inline-button repeat">&infin; repeat</a> - </div> - - <div class="sm2-inline-element sm2-button-element disabled"> - <a href="#shuffle" title="Shuffle" class="sm2-inline-button shuffle">shuffle</a> - </div> - - </div> - - </div> - - </div> - - </div> - - <div class="demo-more"> - <a href="demo/bar-ui/" title="Bar UI: Demo" class="cta">Bar UI <span>&raquo;</span></a> - </div> - - <!-- 360 player --> - - <p>The 360&deg; player UI demo uses &lt;canvas&gt; and includes options for waveform and spectrum analysis data via Flash 9, adding beautiful visual feedback to the interface.</p> - - <p style="font-size:92%;text-align:left;color:#666;white-space:normal"><em>Seven Or Eight Days</em> courtesy of <a href="http://www.adrianglynn.com/" title="Adrian Glynn, Vancouver, Canadian singer/songwriter" class="cta">Adrian Glynn</a>, from&nbsp;the album <em>Bruise</em>. For more, see the <a href="https://www.youtube.com/watch?v=dFc2QQiGcUQ" title="Adrian Glynn: &quot;Seven Or Eight Days&quot; video" rel="nofollow" class="cta">music video</a>.</p> - - <!-- - <div id="inline-demos"> - <h4 id="inline-demo-header">Inline demos using SoundManager 2</h4> - </div> - --> - - <div> - - <div id="sm2-visualization" class="sm2-inline-list"> - - <div class="ui360 ui360-vis"> - <a href="http://freshly-ground.com/data/audio/sm2/Adrian%20Glynn%20-%20Seven%20Or%20Eight%20Days.mp3" class="exclude button-exclude inline-exclude" style="position:absolute;color:#333">Adrian Glynn - Seven Or Eight Days</a> - </div> - - </div> - - <div class="demo-more" style="width:256px;margin:0.5em auto 0px auto;clear:both"> - <a href="demo/360-player/canvas-visualization.html" title="360&deg; UI: JavaScript + Canvas Visualization" class="cta">360&deg; + spectrum UI <span>&raquo;</span></a> - </div> - - </div> - - </div> - </div> - - <div class="column"> - - <div class="column-wrapper"> - - <h3>Experimental</h3> - <h4>Advanced <b>prototypes</b></h4> - - <div id="turntable-demo"> - - <div style="clear:both;position:relative;text-align:center;margin-top:-7.5%"> - - <!-- note: inline-block is just for centering --> - - <div id="turntable-large" class="turntable has-slipmat" style="display:inline-block"> - - <div class="frame"></div> - - <div class="table-bg"></div> - - <!-- image that sets the base dimensions--> - <img src="demo/turntable/image/tt_case_and_lighting.png" alt="" class="stub" /> - - <div class="bd"> - - <div class="platter"></div> - - <div class="slipmat-holder"> - <div class="slipmat"></div> - </div> - - <div class="record-holder"> - <div class="record"></div> - <div class="record-grooves"></div> - <div class="label"></div> - </div> - - <div class="spindle"></div> - <div class="power-light"></div> - <a href="#" class="power-dial" data-method="powerToggle"></a> - <a href="#" class="button start-stop" data-method="toggle"></a> - <a href="#" class="button speed-33 on"></a> - <a href="#" class="button speed-45"></a> - <div class="light light-on"></div> - <a href="#" class="button light"></a> - <div class="tonearm-holder"> - <div class="tonearm"></div> - </div> - </div> - - </div> - - </div> - - <div class="demo-more" style="position:relative;z-index:2;margin-right:7%;margin-top:-5.25%"> - <a href="demo/turntable/" title="Turntable UI Demo" class="cta dark-cta">Turntable UI <span>&raquo;</span></a> - </div> - - <!-- end turntable --> - - <ul class="tt-playlist"> - <li> - <a href="http://freshly-ground.com/data/audio/sm2/Beckyoncé%20-%20Single%20Loser.mp3" data-turntable="turntable-large" data-artwork="http://freshly-ground.com/data/image/sm2/beckyonce.jpg" class="norewrite exclude button-exclude inline-exclude sm2-exclude cta turntable-include">Beckyoncé - Single Loser (Put A Beck On It)</a> (<span title="Published under a Creative Commons BY-NC-SA license">BY-NC-SA</span>, <a href="https://soundcloud.com/beckyonce/single-loser-put-a-beck-on-it" target="_blank" class="cta">via</a>) - </li> - <li> - <a href="http://freshly-ground.com/data/audio/sm2/Figub%20Brazlevi%C4%8D%20-%20Bosnian%20Syndicate.mp3" data-turntable="turntable-large" data-artwork="http://freshly-ground.com/data/image/sm2/trainyards-cover-640.jpg" class="norewrite exclude button-exclude inline-exclude sm2-exclude cta turntable-include"><b>Figub Brazlevič</b> - Bosnian Syndicate</a> (<span title="Published under a Creative Commons BY-NC-ND license">BY-CC-ND license</span>, <a href="http://figubbrazlevic.bandcamp.com/track/bosnian-syndicate" target="_blank" class="cta">via</a>) - </li> - <li> - <a href="http://freshly-ground.com/data/audio/sm2/Chill With Schill (Summer 2012 Session Excerpt).mp3" data-turntable="turntable-large" class="norewrite exclude button-exclude inline-exclude sm2-exclude cta turntable-include">Chill With Schill (Summer 2012 Session Excerpt)</a> - </li> - <li> - <a href="http://freshly-ground.com/data/audio/sm2/SonReal%20-%20LA%20%28Prod%20Chin%20Injetti%29.mp3" data-turntable="turntable-large" data-artwork="http://freshly-ground.com/data/image/sm2/sonreal-onelongday-65.jpg" class="norewrite exclude button-exclude inline-exclude cta turntable-include">SonReal - L.A. (Prod. Injetti)</a> - </li> - </ul> - - </div> - - <style> - /* quick hack for playlist above */ - ul.tt-playlist { - position: relative; - color: #999; - padding-left: 2.75em; - font-size: 92%; - } - ul.tt-playlist li { - margin: 0px; - padding: 0px; - } - /* - .turntable .frame { - background: url(demo/turntable/image/pinstriped_suit_vertical.png); - background-size: 142px 76px; - } - */ - </style> - - <p>The Cassette Tape UI is a skinnable player based on the TDK MA-R90 cassette tape, a classic design from 1982.</p> - - <div> - <a href="demo/cassette-tape/" title="Cassette Tape UI (Prototype Demo)"><img src="demo/_image/cassette-tape-ui-screenshot.jpg" alt="Cassette Tape UI Prototype Screenshot" style="max-width:506px;min-width:100%;width:100%;border-radius:12px" /></a> - </div> - - <p style="margin:0.5em 0px 0px 0px;padding:0px;font-size:92%;text-align:left;color:#666;margin-bottom:0.5em;white-space:normal">Remember Type IV, Metal &amp; Chromium/CrO2? <a href="http://www.youtube.com/watch?v=uMUnaI_IdBU" title="TDK TV ad, 1980s" class="cta">Those were the days</a>.</p> - - </div> - </div> - - </div> - - <div id="how-to" class="twoup"> - - <div class="column"> - <div id="getting-started" class="column-wrapper"> - - <h3>Getting <b>started</b></h3> - - <h4>Basic SoundManager 2 set-up</h4> - - <p>Including the script, configuring the <code>url</code> and registering an <code>onready()</code> callback:</p> - -<pre class="block"><code>&lt;script src="soundmanager2.js"&gt;&lt;/script&gt; -&lt;script&gt; -<a href="doc/#soundmanager-setup" title="soundManager.setup() documentation" onclick="checkDomain()">soundManager.setup</a>({ - <span><span>// where to find flash audio SWFs, as needed</span></span> - url: '<span>/path/to/swf-files/</span>', - onready: function() { - <span><span>// SM2 is ready to play audio!</span></span> - } -}); -&lt;/script&gt;</code></pre> - - <p>Upon execution of soundmanager2.js, SM2 will determine what Flash SWF to load (if any) based on the path defined in <code>soundManager.url</code>.</p> - <p>After successful initialization, <code>soundManager.onready()</code> will fire and sounds can be played.</p> - <p>By default, SM2 uses a Flash 8-based SWF build. Some <a href="#flash9-features" title="SoundManager 2: Flash 9 API-based features" class="cta">additional features</a> are available when using the Flash 9-based build.</p> - - <p>For a live example, see the <a href="demo/template/" class="cta">basic template demo</a>.</p> - - </div> - - </div> - - - <div class="column"> - - <div class="column-wrapper"> - - <h3>Playing <b>audio</b></h3> - <h4>Basic playback control</h4> - - <p>Once <code>soundManager.onready()</code> has fired, sounds can be loaded and played.</p> - - <h4>Creating and playing a sound object</h4> - -<pre class="block"><code><span><span>// create "mySound"...</span></span> -var mySound = <a href="doc/#soundmanager-createsound" title="soundManager.createSound() documentation" onclick="checkDomain()">soundManager.createSound</a>({ - url: '<span>/path/to/an.mp3</span>' -}); - -<span><span>// ...and play it</span></span> -mySound.play(); -</code></pre> - - <p>Additional options and events can be specified when loading and playing sounds. For more examples of playback features, see <a href="demo/api/" class="cta">API Demos</a>.</p> - - </div> - - </div> - - </div> - - <div class="twoup"> - - <div class="column"> - <div class="column-wrapper"> - - <h3>Bonus</h3> - <h4>Additional <b>demos</b></h4> - - <p> - Examples using multi-track playback, progress and combinations of sound and animation: - </p> - - <h4>Armor Alley: Web Prototype (PC-DOS game remake)</strong></h4> - - <iframe width="100%" height="400" src="https://www.youtube.com/embed/bTH2OYJ6vVY" frameborder="0" allowfullscreen></iframe> - - <p><a href="http://schillmania.com/armor-alley/" class="cta">Armor Alley</a> is a side-scrolling, real-time vehicle simulation / strategy game, originally released for the Mac and PC-DOS computers in 1990. This web-based remake is a tribute to the attention to detail shown in the original. Your goal is to defend a convoy as it moves into enemy territory; the game ends when a van reaches the opposing base. See the <a href="http://www.schillmania.com/content/entries/2013/armor-alley-web-prototype/" class="cta">making-of</a> for more.</p> - - <h4>SURVIVOR (Commodore 64 game remake)</strong></h4> - - <iframe width="100%" height="390" src="https://www.youtube.com/embed/h6DyJbCnLvw" frameborder="0" allowfullscreen></iframe> - - <p><a href="http://schillmania.com/survivor/" class="cta">SURVIVOR</a> is a web-based remake of a Commodore 64 game. The goal is to shoot out turrets and destroy bases, while avoiding contact with basically everything around you. Sound was used creatively in the original, and it has been re-implemented in this modern interpretation. See the <a href="http://www.schillmania.com/content/entries/2012/survivor-c64-html-remake/" class="cta">making-of</a> for more.</p> - - </div> - - </div> - - <div class="column"> - <div class="column-wrapper"> - - <h3>Elsewhere</h3> - <h4>As heard on <b><span class="scratched-out">TV</span> the internets</b></h4> - - <p>A few nifty places SoundManager 2 has been seen in use on the Wild World Web:</p> - - <div class="inthewild active"> - - <ul class="inthewild"> - <li id="tidal-link"> - <a id="tidal" href="http://tidal.com/" title="TIDAL (web player, non-FLAC streaming)"><span>TIDAL</span></a> - </li> - <li> - <a id="beats-music" href="http://beatsmusic.com/" title="Beats Music (web player)"><span>Beats Music</span></a> - </li> - <li> - <a id="songza" href="http://songza.com/" title="Songza"><span>Songza</span></a> - </li> - <li> - <a id="earbits" href="http://earbits.com/" title="Earbits"><span>Earbits</span></a> - </li> - <li> - <a id="lastfm" href="http://www.last.fm/" title="last.fm"><span>last.fm</span></a> - </li> - <li> - <a id="pitchfork" href="http://www.pitchfork.com/" title="Pitchfork"><span>Pitchfork</span></a> - </li> - <li> - <a id="eight-tracks" href="http://8tracks.com/" title="8tracks"><span>8tracks</span></a> - </li> - <li> - <a id="discogs" href="http://www.discogs.com/" title="Discogs"><span>Discogs</span></a> - </li> - <li> - <a id="hypem" href="http://hypem.com/" title="The Hype Machine"><span>The Hype Machine</span></a> - </li> - <li> - <a id="nyancat" href="http://nyan.cat/" title="NON-STOP NYAN CAT!"><span>NON-STOP NYAN CAT!</span></a> - </li> - <li> - <a id="freesound" href="http://freesound.org" title="Freesound.org"><span>freesound.org</span></a> - </li> - <li> - <a id="baroque-me" href="http://www.chenalexander.com/Bach" title="Alexander Chen's &quot;baroque.me&quot;"><span>Baroque</span></a> - </li> - </ul> - - </div> - - <h4 style="padding-top:1em">Articles and presentations</h4> - - <p>Some other words, pictures and video on the subject of HTML5 and web audio:</p> - - <ul class="standard"> - <li>Video, 02/2012: <a href="http://www.youtube.com/watch?v=C2Tw0BeZb8Q" title="Scott Schiller: Web Audio: HTML5 + Flash (in a tree)" class="cta">Web Audio: HTML5 + Flash (in a tree)</a> (<a href="http://isflashdeadyet.com/talks/html5/bayjax_yahoo_sunnyvale_02-06-2012/" title="&quot;Web Audio: HTML5 + Flash (in a tree)&quot; presentation slides" class="cta">slides</a>.) Updated HTML5 content, demos and <a href="http://www.schillmania.com/content/entries/2012/survivor-c64-html-remake/" title="SURVIVOR: Remaking a Commodore 64 game in HTML" class="cta">SURVIVOR</a> C64 game demo.</li> - <li>Video presentation: <a href="http://www.youtube.com/watch?v=KjdPNtWV3Z0#t=56s" title="Scott Schiller: &quot;Adding Sound To HTML&quot;" class="cta">Adding Sound To HTML</a> (<a href="http://isflashdeadyet.com/talks/html5/" title="&quot;Adding Sound To HTML&quot; presentation slides" class="cta">slides</a>) (12/2011)</li> - <li>Video: <a href="http://www.youtube.com/watch?v=ffk65q5Rl9I" title="Yahoo!/YUI Blog, video presentation: Scott Schiller on the State of HTML5 Audio" class="cta">Probably, Maybe, No: The State of HTML5 Audio</a> + turntable demo (05/2011)</li> - <li>24ways.org article, <a href="http://24ways.org/2010/the-state-of-html5-audio" title="Probably, Maybe, No: The State Of HTML5 Audio (24ways.org)" class="cta">The State Of HTML5 Audio</a> (12/2010)</li> - </ul> - - <h4 style="padding-top:1em">Credits and thank-yous</h4> - - <ul class="standard"> - <li>Icons: Desktop / mobile / iOS device iconography via <a href="http://glyphish.com/" class="cta">glyphish.com</a> (<a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons Attribution 3.0 Unported" class="cta">CC</a>). Tile background: "<a href="http://subtlepatterns.com/tiny-grid/" class="cta">Tiny Grid</a>". Homepage header typeface: <a href="http://work.meredithmandel.com/#379252/Typeface-Chunk-Five" class="cta">Chunk (Five)</a> by Meredith Mandel (<a href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=OFL&amp;_sc=1" title="SIL Open Font License (OFL)" class="cta">OFL</a>).</li> - <li>Music: <em>Seven Or Eight Days</em> courtesy of <a href="http://www.adrianglynn.com/" title="Adrian Glynn, Vancouver-based Singer/Songwriter" class="cta">Adrian Glynn</a>. <em>Graffiti Sex</em> courtesy of <a href="http://www.fugitives.ca/" title="The Fugitives, multi-instrumentalists from Vancouver" class="cta">The Fugitives</a>, from the album <em>In Streetlight Communion</em>. <em>Let Me</em>, <em>LA</em>, <em>I Tried</em> and <em>People Asking</em> courtesy of <a href="http://sonreal.ca/" title="SonReal, Vancouver-based hip-hop artist" class="cta">SonReal</a>.</li> - </ul> - - <h4 style="clear:left;padding-top:1em">Additional experimental demo</h4> - - <p>The "Wheels Of Steel" started as a simple CSS prototype, and evolved to replicate most of the UI and functionality of a traditional DJ set-up. Pitch bending, scratch and EQ effects are present where supported.</p> - <p style="margin:0px 0px 0.5em 0px;padding:0px;text-align:center" class="bonus-demo"><a href="http://wheelsofsteel.net/" title="The Wheels Of Steel: Online turntable / browser-based DJ prototype" style="margin:0px;padding:0px;background:#fff"><img src="demo/_image/wheelsofsteel-full-ui.jpg" alt="wheelsofsteel.net: Online turntable demo (screenshot)" style="display:block;width:100%;min-width:100%;max-width:315px;margin-left:-4px;border:1px solid #f0f0f0" /></a></p> - <p style="margin:0px;padding:0px;font-size:92%;text-align:left;color:#666;margin-bottom:0.5em;white-space:normal">The <a href="http://wheelsofsteel.net/" title="The Wheels Of Steel: Online turntable / browser-based DJ prototype" class="cta">Wheels Of Steel</a>, a browser-based DJ turntable prototype. For the tech details, read <a href="http://www.schillmania.com/content/entries/2011/wheels-of-steel/" title="The making of 'The Wheels Of Steel': An Ode To Turntables (in HTML)" class="cta">An Ode To Turntables (in HTML.)</a></p> - - </div> - - </div> - -<!-- - <div class="column"> - <div class="column-wrapper"> - - <h3>Download <b>the code</b></h3> - - <p> - <a href="doc/download/" class="feature">Get SoundManager 2</a> - </p> - - </div> - </div> ---> - - </div> - - <div class="threeup"> - - <div class="column"> - <div class="column-wrapper"> - - <h3>Technical <b>overview</b></h3> - - <h4>HTML5 audio + optional Flash fallback</h4> - - <ul class="standard"> - <li>100% Flash-free audio on iPad, iPhone (iOS4) and other HTML5-enabled devices + browsers</li> - <li>Invisible Flash SWF provides HTML5 fallback as needed</li> - <li>API is consistent whether using HTML5 or Flash</li> - <li>See <a href="doc/#soundmanager-usehtml5audio" title="soundManager.useHTML5Audio HTML5 Audio() support feature documentation" class="cta">useHTML5Audio</a> for implementation details</li> - </ul> - - </div> - </div> - - <div class="column"> - <div class="column-wrapper"> <!-- spaced-out --> - - <h3>API <b>specifics</b></h3> - <h4>Basic API features (HTML5, Flash 8*)</h4> - - <ul class="standard"> - <li>Load, stop, play, pause, mute, seek, pan*, volume control from JavaScript</li> - <li>Events: <code>onload()</code>, <code>whileloading()</code>, <code>whileplaying()</code>, <code>onfinish()</code> and more</li> - <li>ID3V1 + ID3V2 tag support for MP3s (title, artist, genre etc.)*</li> - </ul> - - <br /> - - <h4 id="flash9-features">Additional Flash 9-based API features</h4> - - <ul class="standard"> - <li>RTMP / Flash Media Server streaming support (experimental) - see <a href="doc/#smsound-serverurl" title="SMSound.serverURL parameter" class="cta">serverURL</a></li> - <li>MPEG-4 (AAC, HE-AAC, H.264) audio support</li> - <li>"MultiShot" play (layered/chorusing effects)</li> - <li>Waveform/frequency spectrum data</li> - <li>Peak (L/R channel volume) data</li> - <li>Audio buffering state/event handling</li> - </ul> - - </div> - </div> - - <div class="column"> - <div class="column-wrapper"> <!-- spaced-out --> - - <h3>Everything <b>else</b></h3> - <h4>Documentation, tools and demos</h4> - - <ul class="standard"> - <li>Extensive <a href="doc/" title="SoundManager 2 documentation" class="cta">API Documentation</a> with examples and notes</li> - <li>Built-in <a href="doc/technotes/#debug-output" title="SoundManager 2 console.log()-style debug output" class="cta">debugging</a> and <a href="doc/getstarted/#troubleshooting" title="SoundManager 2 troubleshooting tool" class="cta">troubleshooting tools</a></li> - <li>Community-based <a href="http://getsatisfaction.com/schillmania/products/schillmania_soundmanager_2" title="discussion/support for SoundManager 2 on Get Satisfaction" class="cta">discussion/support</a></li> - <li id="licensing"><a href="license.txt" title="SoundManager 2 BSD license" class="cta norewrite">BSD licensed</a></li> - </ul> - - <br /> - <h4 class="home-shopping-network">Not only do you get the ginsu knife...</h4> - <p style="font-size:92%">Even more demos and examples using the SoundManager 2 API...</p> - <ul class="standard"> - <li><a href="demo/play-mp3-links/" title="Links to MP3 files that play inline" class="cta">Playable MP3 links</a></li> - <li><a href="demo/mpc/" title="MPC sampler/drum machine demo" class="cta">MPC sampler/drum machine</a></li> - <li><a href="demo/animation-1/" title="Bouncing ball animation with sound effects" class="cta">Basic animation + sound</a></li> - <li><a href="demo/christmas-lights/" title="Smashable christmas lights demo (animation and sound)" class="cta">Smashable christmas lights</a></li> - <li><a href="demo/api/" title="See the code, click the button, watch it run: Live API demos using test sounds" class="cta">Live API + code examples</a></li> - </ul> - - - </div> - </div> - - <!--/min-width --> - - </div> - -<!-- three --> - - <!-- /#about-sm2 --> - </div> - - </div> - - <div class="clear">&nbsp;</div> - - <!-- /content --> - - </div> - - <script type="text/javascript"> - // <![CDATA[ - if (document.location.href.match(/debug=1/i)) { - document.getElementById('with-debug').style.display = 'none'; - } - if (document.location.href.match(/debug/i)) { - document.getElementById('options-divider-with-html5').style.display = 'none'; - } - if (soundManager.useHTML5Audio || document.location.href.match(/html5audio=1/i)) { - document.getElementById('with-html5').style.display = 'none'; - document.getElementById('options-divider-with-html5').style.display = 'none'; - } else { - document.getElementById('without-html5').style.display = 'none'; - document.getElementById('options-divider-without-html5').style.display = 'none'; - } - init(); - // ]]> - </script> - - </div> - -</div> - -</body> -</html> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/license.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/license.txt deleted file mode 100644 index 1a17182fc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/license.txt +++ /dev/null @@ -1,29 +0,0 @@ -Software License Agreement (BSD License) - -Copyright (c) 2007, Scott Schiller (schillmania.com) -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - -* Neither the name of schillmania.com nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission from schillmania.com. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-jsmin.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-jsmin.js deleted file mode 100644 index 2077360f8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-jsmin.js +++ /dev/null @@ -1,113 +0,0 @@ -/** @license - - - SoundManager 2: JavaScript Sound for the Web - ---------------------------------------------- - http://schillmania.com/projects/soundmanager2/ - - Copyright (c) 2007, Scott Schiller. All rights reserved. - Code provided under the BSD License: - http://schillmania.com/projects/soundmanager2/license.txt - - V2.97a.20150601 -*/ -(function(h,g){function K(sb,K){function ha(b){return c.preferFlash&&H&&!c.ignoreFlash&&c.flash[b]!==g&&c.flash[b]}function r(b){return function(d){var e=this._s;e&&e._a?d=b.call(this,d):(e&&e.id?c._wD(e.id+": Ignoring "+d.type):c._wD("HTML5::Ignoring "+d.type),d=null);return d}}this.setupOptions={url:sb||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1E3, -wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"};this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null, -usePolicyFile:!1,volume:100};this.flash9Options={isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1}, -ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus","audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.movieID="sm2-container";this.id=K||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20150601";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock= -this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={type:null,types:{remote:"remote (domain-based) rules",localWithFile:"local with file access (no internet access)",localWithNetwork:"local with network (internet access only, no local access)",localTrusted:"local, trusted (local+internet access)"},description:null,noRemote:null,noLocal:null};this.html5= -{usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var W,c=this,Ya=null,l=null,F,v=navigator.userAgent,ia=h.location.href.toString(),m=document,ya,Za,za,n,I=[],Aa=!0,D,X=!1,Y=!1,q=!1,y=!1,ja=!1,p,tb=0,Z,A,Ba,R,Ca,P,S,T,$a,Da,Ea,ka,z,la,Q,Fa,aa,ma,na,U,ab,Ga,bb=["log","info","warn","error"],cb,Ha,db,ba=null,Ia=null,t,Ja,V,eb,oa,pa,L,w,ca=!1,Ka=!1,fb,gb,hb,qa=0,da=null,ra,M=[],ea,u=null,ib,sa,fa,N,ta,La,jb,x,kb=Array.prototype.slice,C=!1,Ma,H,Na,lb,J,mb,Oa,ua,nb=0,Pa,Qa=v.match(/(ipad|iphone|ipod)/i), -Ra=v.match(/android/i),O=v.match(/msie/i),ub=v.match(/webkit/i),va=v.match(/safari/i)&&!v.match(/chrome/i),Sa=v.match(/opera/i),wa=v.match(/(mobile|pre\/|xoom)/i)||Qa||Ra,Ta=!ia.match(/usehtml5audio/i)&&!ia.match(/sm2\-ignorebadua/i)&&va&&!v.match(/silk/i)&&v.match(/OS X 10_6_([3-7])/i),Ua=h.console!==g&&console.log!==g,Va=m.hasFocus!==g?m.hasFocus():null,xa=va&&(m.hasFocus===g||!m.hasFocus()),ob=!xa,pb=/(mp3|mp4|mpa|m4a|m4b)/i,ga=m.location?m.location.protocol.match(/http/i):null,vb=ga?"":"http://", -qb=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,rb="mpeg4 aac flv mov mp4 m4v f4v m4a m4b mp4v 3gp 3g2".split(" "),wb=new RegExp("\\.("+rb.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!ga;var Wa;try{Wa=Audio!==g&&(Sa&&opera!==g&&10>opera.version()?new Audio(null):new Audio).canPlayType!==g}catch(xb){Wa=!1}this.hasHTML5=Wa;this.setup=function(b){var d=!c.url;b!==g&&q&&u&&c.ok()&&(b.flashVersion!==g|| -b.url!==g||b.html5Test!==g)&&L(t("setupLate"));Ba(b);if(!C)if(wa){if(!c.setupOptions.ignoreMobileRestrictions||c.setupOptions.forceUseGlobalHTML5Audio)M.push(z.globalHTML5),C=!0}else c.setupOptions.forceUseGlobalHTML5Audio&&(M.push(z.globalHTML5),C=!0);if(!Pa&&wa)if(c.setupOptions.ignoreMobileRestrictions)M.push(z.ignoreMobile);else if(c.setupOptions.useHTML5Audio&&!c.setupOptions.preferFlash||c._wD(z.mobileUA),c.setupOptions.useHTML5Audio=!0,c.setupOptions.preferFlash=!1,Qa)c.ignoreFlash=!0;else if(Ra&& -!v.match(/android\s2\.3/i)||!Ra)c._wD(z.globalHTML5),C=!0;b&&(d&&aa&&b.url!==g&&c.beginDelayedInit(),aa||b.url===g||"complete"!==m.readyState||setTimeout(Q,1));Pa=!0;return c};this.supported=this.ok=function(){return u?q&&!y:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(c){return F(c)||m[c]||h[c]};this.createSound=function(b,d){function e(){f=oa(f);c.sounds[f.id]=new W(f);c.soundIDs.push(f.id);return c.sounds[f.id]}var a,f;a=null;a="soundManager.createSound(): "+t(q?"notOK":"notReady");if(!q|| -!c.ok())return L(a),!1;d!==g&&(b={id:b,url:d});f=A(b);f.url=ra(f.url);f.id===g&&(f.id=c.setupOptions.idPrefix+nb++);f.id.toString().charAt(0).match(/^[0-9]$/)&&c._wD("soundManager.createSound(): "+t("badID",f.id),2);c._wD("soundManager.createSound(): "+f.id+(f.url?" ("+f.url+")":""),1);if(w(f.id,!0))return c._wD("soundManager.createSound(): "+f.id+" exists",1),c.sounds[f.id];if(sa(f))a=e(),c.html5Only||c._wD(f.id+": Using HTML5"),a._setup_html5(f);else{if(c.html5Only)return c._wD(f.id+": No HTML5 support for this sound, and no Flash. Exiting."), -e();if(c.html5.usingFlash&&f.url&&f.url.match(/data\:/i))return c._wD(f.id+": data: URIs not supported via Flash. Exiting."),e();8<n&&(null===f.isMovieStar&&(f.isMovieStar=!!(f.serverURL||f.type&&f.type.match(qb)||f.url&&f.url.match(wb))),f.isMovieStar&&(c._wD("soundManager.createSound(): using MovieStar handling"),1<f.loops&&p("noNSLoop")));f=pa(f,"soundManager.createSound(): ");a=e();8===n?l._createSound(f.id,f.loops||1,f.usePolicyFile):(l._createSound(f.id,f.url,f.usePeakData,f.useWaveformData, -f.useEQData,f.isMovieStar,f.isMovieStar?f.bufferTime:!1,f.loops||1,f.serverURL,f.duration||null,f.autoPlay,!0,f.autoLoad,f.usePolicyFile),f.serverURL||(a.connected=!0,f.onconnect&&f.onconnect.apply(a)));f.serverURL||!f.autoLoad&&!f.autoPlay||a.load(f)}!f.serverURL&&f.autoPlay&&a.play();return a};this.destroySound=function(b,d){if(!w(b))return!1;var e=c.sounds[b],a;e.stop();e._iO={};e.unload();for(a=0;a<c.soundIDs.length;a++)if(c.soundIDs[a]===b){c.soundIDs.splice(a,1);break}d||e.destruct(!0);delete c.sounds[b]; -return!0};this.load=function(b,d){return w(b)?c.sounds[b].load(d):!1};this.unload=function(b){return w(b)?c.sounds[b].unload():!1};this.onposition=this.onPosition=function(b,d,e,a){return w(b)?c.sounds[b].onposition(d,e,a):!1};this.clearOnPosition=function(b,d,e){return w(b)?c.sounds[b].clearOnPosition(d,e):!1};this.start=this.play=function(b,d){var e=null,a=d&&!(d instanceof Object);if(!q||!c.ok())return L("soundManager.play(): "+t(q?"notOK":"notReady")),!1;if(w(b,a))a&&(d={url:d});else{if(!a)return!1; -a&&(d={url:d});d&&d.url&&(c._wD('soundManager.play(): Attempting to create "'+b+'"',1),d.id=b,e=c.createSound(d).play())}null===e&&(e=c.sounds[b].play(d));return e};this.setPosition=function(b,d){return w(b)?c.sounds[b].setPosition(d):!1};this.stop=function(b){if(!w(b))return!1;c._wD("soundManager.stop("+b+")",1);return c.sounds[b].stop()};this.stopAll=function(){var b;c._wD("soundManager.stopAll()",1);for(b in c.sounds)c.sounds.hasOwnProperty(b)&&c.sounds[b].stop()};this.pause=function(b){return w(b)? -c.sounds[b].pause():!1};this.pauseAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].pause()};this.resume=function(b){return w(b)?c.sounds[b].resume():!1};this.resumeAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].resume()};this.togglePause=function(b){return w(b)?c.sounds[b].togglePause():!1};this.setPan=function(b,d){return w(b)?c.sounds[b].setPan(d):!1};this.setVolume=function(b,d){var e,a;if(b===g||isNaN(b)||d!==g)return w(b)?c.sounds[b].setVolume(d): -!1;e=0;for(a=c.soundIDs.length;e<a;e++)c.sounds[c.soundIDs[e]].setVolume(b)};this.mute=function(b){var d=0;b instanceof String&&(b=null);if(b){if(!w(b))return!1;c._wD('soundManager.mute(): Muting "'+b+'"');return c.sounds[b].mute()}c._wD("soundManager.mute(): Muting all sounds");for(d=c.soundIDs.length-1;0<=d;d--)c.sounds[c.soundIDs[d]].mute();return c.muted=!0};this.muteAll=function(){c.mute()};this.unmute=function(b){b instanceof String&&(b=null);if(b){if(!w(b))return!1;c._wD('soundManager.unmute(): Unmuting "'+ -b+'"');return c.sounds[b].unmute()}c._wD("soundManager.unmute(): Unmuting all sounds");for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].unmute();c.muted=!1;return!0};this.unmuteAll=function(){c.unmute()};this.toggleMute=function(b){return w(b)?c.sounds[b].toggleMute():!1};this.getMemoryUse=function(){var c=0;l&&8!==n&&(c=parseInt(l._getMemoryUse(),10));return c};this.disable=function(b){var d;b===g&&(b=!1);if(y)return!1;y=!0;p("shutdown",1);for(d=c.soundIDs.length-1;0<=d;d--)cb(c.sounds[c.soundIDs[d]]); -Z(b);x.remove(h,"load",S);return!0};this.canPlayMIME=function(b){var d;c.hasHTML5&&(d=fa({type:b}));!d&&u&&(d=b&&c.ok()?!!(8<n&&b.match(qb)||b.match(c.mimePattern)):null);return d};this.canPlayURL=function(b){var d;c.hasHTML5&&(d=fa({url:b}));!d&&u&&(d=b&&c.ok()?!!b.match(c.filePattern):null);return d};this.canPlayLink=function(b){return b.type!==g&&b.type&&c.canPlayMIME(b.type)?!0:c.canPlayURL(b.href)};this.getSoundById=function(b,d){if(!b)return null;var e=c.sounds[b];e||d||c._wD('soundManager.getSoundById(): Sound "'+ -b+'" not found.',2);return e};this.onready=function(b,d){if("function"===typeof b)q&&c._wD(t("queue","onready")),d||(d=h),Ca("onready",b,d),P();else throw t("needFunction","onready");return!0};this.ontimeout=function(b,d){if("function"===typeof b)q&&c._wD(t("queue","ontimeout")),d||(d=h),Ca("ontimeout",b,d),P({type:"ontimeout"});else throw t("needFunction","ontimeout");return!0};this._writeDebug=function(b,d){var e,a;if(!c.setupOptions.debugMode)return!1;if(Ua&&c.useConsole){if(d&&"object"===typeof d)console.log(b, -d);else if(bb[d]!==g)console[bb[d]](b);else console.log(b);if(c.consoleOnly)return!0}e=F("soundmanager-debug");if(!e)return!1;a=m.createElement("div");0===++tb%2&&(a.className="sm2-alt");d=d===g?0:parseInt(d,10);a.appendChild(m.createTextNode(b));d&&(2<=d&&(a.style.fontWeight="bold"),3===d&&(a.style.color="#ff3333"));e.insertBefore(a,e.firstChild);return!0};-1!==ia.indexOf("sm2-debug=alert")&&(this._writeDebug=function(c){h.alert(c)});this._wD=this._writeDebug;this._debug=function(){var b,d;p("currentObj", -1);b=0;for(d=c.soundIDs.length;b<d;b++)c.sounds[c.soundIDs[b]]._debug()};this.reboot=function(b,d){c.soundIDs.length&&c._wD("Destroying "+c.soundIDs.length+" SMSound object"+(1!==c.soundIDs.length?"s":"")+"...");var e,a,f;for(e=c.soundIDs.length-1;0<=e;e--)c.sounds[c.soundIDs[e]].destruct();if(l)try{O&&(Ia=l.innerHTML),ba=l.parentNode.removeChild(l)}catch(g){p("badRemove",2)}Ia=ba=u=l=null;c.enabled=aa=q=ca=Ka=X=Y=y=C=c.swfLoaded=!1;c.soundIDs=[];c.sounds={};nb=0;Pa=!1;if(b)I=[];else for(e in I)if(I.hasOwnProperty(e))for(a= -0,f=I[e].length;a<f;a++)I[e][a].fired=!1;d||c._wD("soundManager: Rebooting...");c.html5={usingFlash:null};c.flash={};c.html5Only=!1;c.ignoreFlash=!1;h.setTimeout(function(){d||c.beginDelayedInit()},20);return c};this.reset=function(){p("reset");return c.reboot(!0,!0)};this.getMoviePercent=function(){return l&&"PercentLoaded"in l?l.PercentLoaded():null};this.beginDelayedInit=function(){ja=!0;Q();setTimeout(function(){if(Ka)return!1;na();la();return Ka=!0},20);T()};this.destruct=function(){c._wD("soundManager.destruct()"); -c.disable(!0)};W=function(b){var d,e,a=this,f,h,k,G,m,q,r=!1,E=[],v=0,Xa,y,u=null,z;e=d=null;this.sID=this.id=b.id;this.url=b.url;this._iO=this.instanceOptions=this.options=A(b);this.pan=this.options.pan;this.volume=this.options.volume;this.isHTML5=!1;this._a=null;z=this.url?!1:!0;this.id3={};this._debug=function(){c._wD(a.id+": Merged options:",a.options)};this.load=function(b){var d=null,e;b!==g?a._iO=A(b,a.options):(b=a.options,a._iO=b,u&&u!==a.url&&(p("manURL"),a._iO.url=a.url,a.url=null));a._iO.url|| -(a._iO.url=a.url);a._iO.url=ra(a._iO.url);e=a.instanceOptions=a._iO;c._wD(a.id+": load ("+e.url+")");if(!e.url&&!a.url)return c._wD(a.id+": load(): url is unassigned. Exiting.",2),a;a.isHTML5||8!==n||a.url||e.autoPlay||c._wD(a.id+": Flash 8 load() limitation: Wait for onload() before calling play().",1);if(e.url===a.url&&0!==a.readyState&&2!==a.readyState)return p("onURL",1),3===a.readyState&&e.onload&&ua(a,function(){e.onload.apply(a,[!!a.duration])}),a;a.loaded=!1;a.readyState=1;a.playState=0;a.id3= -{};if(sa(e))d=a._setup_html5(e),d._called_load?c._wD(a.id+": Ignoring request to load again"):(a._html5_canplay=!1,a.url!==e.url&&(c._wD(p("manURL")+": "+e.url),a._a.src=e.url,a.setPosition(0)),a._a.autobuffer="auto",a._a.preload="auto",a._a._called_load=!0);else{if(c.html5Only)return c._wD(a.id+": No flash support. Exiting."),a;if(a._iO.url&&a._iO.url.match(/data\:/i))return c._wD(a.id+": data: URIs not supported via Flash. Exiting."),a;try{a.isHTML5=!1,a._iO=pa(oa(e)),a._iO.autoPlay&&(a._iO.position|| -a._iO.from)&&(c._wD(a.id+": Disabling autoPlay because of non-zero offset case"),a._iO.autoPlay=!1),e=a._iO,8===n?l._load(a.id,e.url,e.stream,e.autoPlay,e.usePolicyFile):l._load(a.id,e.url,!!e.stream,!!e.autoPlay,e.loops||1,!!e.autoLoad,e.usePolicyFile)}catch(f){p("smError",2),D("onload",!1),U({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}a.url=e.url;return a};this.unload=function(){0!==a.readyState&&(c._wD(a.id+": unload()"),a.isHTML5?(G(),a._a&&(a._a.pause(),u=ta(a._a))):8===n?l._unload(a.id,"about:blank"): -l._unload(a.id),f());return a};this.destruct=function(b){c._wD(a.id+": Destruct");a.isHTML5?(G(),a._a&&(a._a.pause(),ta(a._a),C||k(),a._a._s=null,a._a=null)):(a._iO.onfailure=null,l._destroySound(a.id));b||c.destroySound(a.id,!0)};this.start=this.play=function(b,d){var e,f,k,G,h,B=!0,B=null;e=a.id+": play(): ";d=d===g?!0:d;b||(b={});a.url&&(a._iO.url=a.url);a._iO=A(a._iO,a.options);a._iO=A(b,a._iO);a._iO.url=ra(a._iO.url);a.instanceOptions=a._iO;if(!a.isHTML5&&a._iO.serverURL&&!a.connected)return a.getAutoPlay()|| -(c._wD(e+" Netstream not connected yet - setting autoPlay"),a.setAutoPlay(!0)),a;sa(a._iO)&&(a._setup_html5(a._iO),m());1!==a.playState||a.paused||((f=a._iO.multiShot)?c._wD(e+"Already playing (multi-shot)",1):(c._wD(e+"Already playing (one-shot)",1),a.isHTML5&&a.setPosition(a._iO.position),B=a));if(null!==B)return B;b.url&&b.url!==a.url&&(a.readyState||a.isHTML5||8!==n||!z?a.load(a._iO):z=!1);a.loaded?c._wD(e.substr(0,e.lastIndexOf(":"))):0===a.readyState?(c._wD(e+"Attempting to load"),a.isHTML5|| -c.html5Only?a.isHTML5?a.load(a._iO):(c._wD(e+"Unsupported type. Exiting."),B=a):(a._iO.autoPlay=!0,a.load(a._iO)),a.instanceOptions=a._iO):2===a.readyState?(c._wD(e+"Could not load - exiting",2),B=a):c._wD(e+"Loading - attempting to play...");if(null!==B)return B;!a.isHTML5&&9===n&&0<a.position&&a.position===a.duration&&(c._wD(e+"Sound at end, resetting to position: 0"),b.position=0);if(a.paused&&0<=a.position&&(!a._iO.serverURL||0<a.position))c._wD(e+"Resuming from paused state",1),a.resume();else{a._iO= -A(b,a._iO);if((!a.isHTML5&&null!==a._iO.position&&0<a._iO.position||null!==a._iO.from&&0<a._iO.from||null!==a._iO.to)&&0===a.instanceCount&&0===a.playState&&!a._iO.serverURL){f=function(){a._iO=A(b,a._iO);a.play(a._iO)};a.isHTML5&&!a._html5_canplay?(c._wD(e+"Beginning load for non-zero offset case"),a.load({_oncanplay:f}),B=!1):a.isHTML5||a.loaded||a.readyState&&2===a.readyState||(c._wD(e+"Preloading for non-zero offset case"),a.load({onload:f}),B=!1);if(null!==B)return B;a._iO=y()}(!a.instanceCount|| -a._iO.multiShotEvents||a.isHTML5&&a._iO.multiShot&&!C||!a.isHTML5&&8<n&&!a.getAutoPlay())&&a.instanceCount++;a._iO.onposition&&0===a.playState&&q(a);a.playState=1;a.paused=!1;a.position=a._iO.position===g||isNaN(a._iO.position)?0:a._iO.position;a.isHTML5||(a._iO=pa(oa(a._iO)));a._iO.onplay&&d&&(a._iO.onplay.apply(a),r=!0);a.setVolume(a._iO.volume,!0);a.setPan(a._iO.pan,!0);a.isHTML5?2>a.instanceCount?(m(),e=a._setup_html5(),a.setPosition(a._iO.position),e.play()):(c._wD(a.id+": Cloning Audio() for instance #"+ -a.instanceCount+"..."),k=new Audio(a._iO.url),G=function(){x.remove(k,"ended",G);a._onfinish(a);ta(k);k=null},h=function(){x.remove(k,"canplay",h);try{k.currentTime=a._iO.position/1E3}catch(c){L(a.id+": multiShot play() failed to apply position of "+a._iO.position/1E3)}k.play()},x.add(k,"ended",G),a._iO.volume!==g&&(k.volume=Math.max(0,Math.min(1,a._iO.volume/100))),a.muted&&(k.muted=!0),a._iO.position?x.add(k,"canplay",h):k.play()):(B=l._start(a.id,a._iO.loops||1,9===n?a.position:a.position/1E3, -a._iO.multiShot||!1),9!==n||B||(c._wD(e+"No sound hardware, or 32-sound ceiling hit",2),a._iO.onplayerror&&a._iO.onplayerror.apply(a)))}return a};this.stop=function(b){var d=a._iO;1===a.playState&&(c._wD(a.id+": stop()"),a._onbufferchange(0),a._resetOnPosition(0),a.paused=!1,a.isHTML5||(a.playState=0),Xa(),d.to&&a.clearOnPosition(d.to),a.isHTML5?a._a&&(b=a.position,a.setPosition(0),a.position=b,a._a.pause(),a.playState=0,a._onTimer(),G()):(l._stop(a.id,b),d.serverURL&&a.unload()),a.instanceCount= -0,a._iO={},d.onstop&&d.onstop.apply(a));return a};this.setAutoPlay=function(b){c._wD(a.id+": Autoplay turned "+(b?"on":"off"));a._iO.autoPlay=b;a.isHTML5||(l._setAutoPlay(a.id,b),b&&!a.instanceCount&&1===a.readyState&&(a.instanceCount++,c._wD(a.id+": Incremented instance count to "+a.instanceCount)))};this.getAutoPlay=function(){return a._iO.autoPlay};this.setPosition=function(b){b===g&&(b=0);var d=a.isHTML5?Math.max(b,0):Math.min(a.duration||a._iO.duration,Math.max(b,0));a.position=d;b=a.position/ -1E3;a._resetOnPosition(a.position);a._iO.position=d;if(!a.isHTML5)b=9===n?a.position:b,a.readyState&&2!==a.readyState&&l._setPosition(a.id,b,a.paused||!a.playState,a._iO.multiShot);else if(a._a){if(a._html5_canplay){if(a._a.currentTime!==b){c._wD(a.id+": setPosition("+b+")");try{a._a.currentTime=b,(0===a.playState||a.paused)&&a._a.pause()}catch(e){c._wD(a.id+": setPosition("+b+") failed: "+e.message,2)}}}else if(b)return c._wD(a.id+": setPosition("+b+"): Cannot seek yet, sound not ready",2),a;a.paused&& -a._onTimer(!0)}return a};this.pause=function(b){if(a.paused||0===a.playState&&1!==a.readyState)return a;c._wD(a.id+": pause()");a.paused=!0;a.isHTML5?(a._setup_html5().pause(),G()):(b||b===g)&&l._pause(a.id,a._iO.multiShot);a._iO.onpause&&a._iO.onpause.apply(a);return a};this.resume=function(){var b=a._iO;if(!a.paused)return a;c._wD(a.id+": resume()");a.paused=!1;a.playState=1;a.isHTML5?(a._setup_html5().play(),m()):(b.isMovieStar&&!b.serverURL&&a.setPosition(a.position),l._pause(a.id,b.multiShot)); -!r&&b.onplay?(b.onplay.apply(a),r=!0):b.onresume&&b.onresume.apply(a);return a};this.togglePause=function(){c._wD(a.id+": togglePause()");if(0===a.playState)return a.play({position:9!==n||a.isHTML5?a.position/1E3:a.position}),a;a.paused?a.resume():a.pause();return a};this.setPan=function(c,b){c===g&&(c=0);b===g&&(b=!1);a.isHTML5||l._setPan(a.id,c);a._iO.pan=c;b||(a.pan=c,a.options.pan=c);return a};this.setVolume=function(b,d){b===g&&(b=100);d===g&&(d=!1);a.isHTML5?a._a&&(c.muted&&!a.muted&&(a.muted= -!0,a._a.muted=!0),a._a.volume=Math.max(0,Math.min(1,b/100))):l._setVolume(a.id,c.muted&&!a.muted||a.muted?0:b);a._iO.volume=b;d||(a.volume=b,a.options.volume=b);return a};this.mute=function(){a.muted=!0;a.isHTML5?a._a&&(a._a.muted=!0):l._setVolume(a.id,0);return a};this.unmute=function(){a.muted=!1;var b=a._iO.volume!==g;a.isHTML5?a._a&&(a._a.muted=!1):l._setVolume(a.id,b?a._iO.volume:a.options.volume);return a};this.toggleMute=function(){return a.muted?a.unmute():a.mute()};this.onposition=this.onPosition= -function(b,c,d){E.push({position:parseInt(b,10),method:c,scope:d!==g?d:a,fired:!1});return a};this.clearOnPosition=function(a,b){var c;a=parseInt(a,10);if(isNaN(a))return!1;for(c=0;c<E.length;c++)a!==E[c].position||b&&b!==E[c].method||(E[c].fired&&v--,E.splice(c,1))};this._processOnPosition=function(){var b,c;b=E.length;if(!b||!a.playState||v>=b)return!1;for(--b;0<=b;b--)c=E[b],!c.fired&&a.position>=c.position&&(c.fired=!0,v++,c.method.apply(c.scope,[c.position]));return!0};this._resetOnPosition= -function(a){var b,c;b=E.length;if(!b)return!1;for(--b;0<=b;b--)c=E[b],c.fired&&a<=c.position&&(c.fired=!1,v--);return!0};y=function(){var b=a._iO,d=b.from,e=b.to,f,g;g=function(){c._wD(a.id+': "To" time of '+e+" reached.");a.clearOnPosition(e,g);a.stop()};f=function(){c._wD(a.id+': Playing "from" '+d);if(null!==e&&!isNaN(e))a.onPosition(e,g)};null===d||isNaN(d)||(b.position=d,b.multiShot=!1,f());return b};q=function(){var b,c=a._iO.onposition;if(c)for(b in c)if(c.hasOwnProperty(b))a.onPosition(parseInt(b, -10),c[b])};Xa=function(){var b,c=a._iO.onposition;if(c)for(b in c)c.hasOwnProperty(b)&&a.clearOnPosition(parseInt(b,10))};m=function(){a.isHTML5&&fb(a)};G=function(){a.isHTML5&&gb(a)};f=function(b){b||(E=[],v=0);r=!1;a._hasTimer=null;a._a=null;a._html5_canplay=!1;a.bytesLoaded=null;a.bytesTotal=null;a.duration=a._iO&&a._iO.duration?a._iO.duration:null;a.durationEstimate=null;a.buffered=[];a.eqData=[];a.eqData.left=[];a.eqData.right=[];a.failures=0;a.isBuffering=!1;a.instanceOptions={};a.instanceCount= -0;a.loaded=!1;a.metadata={};a.readyState=0;a.muted=!1;a.paused=!1;a.peakData={left:0,right:0};a.waveformData={left:[],right:[]};a.playState=0;a.position=null;a.id3={}};f();this._onTimer=function(b){var c,f=!1,g={};if(a._hasTimer||b)return a._a&&(b||(0<a.playState||1===a.readyState)&&!a.paused)&&(c=a._get_html5_duration(),c!==d&&(d=c,a.duration=c,f=!0),a.durationEstimate=a.duration,c=1E3*a._a.currentTime||0,c!==e&&(e=c,f=!0),(f||b)&&a._whileplaying(c,g,g,g,g)),f};this._get_html5_duration=function(){var b= -a._iO;return(b=a._a&&a._a.duration?1E3*a._a.duration:b&&b.duration?b.duration:null)&&!isNaN(b)&&Infinity!==b?b:null};this._apply_loop=function(a,b){!a.loop&&1<b&&c._wD("Note: Native HTML5 looping is infinite.",1);a.loop=1<b?"loop":""};this._setup_html5=function(b){b=A(a._iO,b);var c=C?Ya:a._a,d=decodeURI(b.url),e;C?d===decodeURI(Ma)&&(e=!0):d===decodeURI(u)&&(e=!0);if(c){if(c._s)if(C)c._s&&c._s.playState&&!e&&c._s.stop();else if(!C&&d===decodeURI(u))return a._apply_loop(c,b.loops),c;e||(u&&f(!1), -c.src=b.url,Ma=u=a.url=b.url,c._called_load=!1)}else b.autoLoad||b.autoPlay?(a._a=new Audio(b.url),a._a.load()):a._a=Sa&&10>opera.version()?new Audio(null):new Audio,c=a._a,c._called_load=!1,C&&(Ya=c);a.isHTML5=!0;a._a=c;c._s=a;h();a._apply_loop(c,b.loops);b.autoLoad||b.autoPlay?a.load():(c.autobuffer=!1,c.preload="auto");return c};h=function(){if(a._a._added_events)return!1;var b;a._a._added_events=!0;for(b in J)J.hasOwnProperty(b)&&a._a&&a._a.addEventListener(b,J[b],!1);return!0};k=function(){var b; -c._wD(a.id+": Removing event listeners");a._a._added_events=!1;for(b in J)J.hasOwnProperty(b)&&a._a&&a._a.removeEventListener(b,J[b],!1)};this._onload=function(b){var d=!!b||!a.isHTML5&&8===n&&a.duration;b=a.id+": ";c._wD(b+(d?"onload()":"Failed to load / invalid sound?"+(a.duration?" -":" Zero-length duration reported.")+" ("+a.url+")"),d?1:2);d||a.isHTML5||(!0===c.sandbox.noRemote&&c._wD(b+t("noNet"),1),!0===c.sandbox.noLocal&&c._wD(b+t("noLocal"),1));a.loaded=d;a.readyState=d?3:2;a._onbufferchange(0); -a._iO.onload&&ua(a,function(){a._iO.onload.apply(a,[d])});return!0};this._onbufferchange=function(b){if(0===a.playState||b&&a.isBuffering||!b&&!a.isBuffering)return!1;a.isBuffering=1===b;a._iO.onbufferchange&&(c._wD(a.id+": Buffer state change: "+b),a._iO.onbufferchange.apply(a,[b]));return!0};this._onsuspend=function(){a._iO.onsuspend&&(c._wD(a.id+": Playback suspended"),a._iO.onsuspend.apply(a));return!0};this._onfailure=function(b,d,e){a.failures++;c._wD(a.id+": Failure ("+a.failures+"): "+b); -if(a._iO.onfailure&&1===a.failures)a._iO.onfailure(b,d,e);else c._wD(a.id+": Ignoring failure")};this._onwarning=function(b,c,d){if(a._iO.onwarning)a._iO.onwarning(b,c,d)};this._onfinish=function(){var b=a._iO.onfinish;a._onbufferchange(0);a._resetOnPosition(0);a.instanceCount&&(a.instanceCount--,a.instanceCount||(Xa(),a.playState=0,a.paused=!1,a.instanceCount=0,a.instanceOptions={},a._iO={},G(),a.isHTML5&&(a.position=0)),a.instanceCount&&!a._iO.multiShotEvents||!b||(c._wD(a.id+": onfinish()"),ua(a, -function(){b.apply(a)})))};this._whileloading=function(b,c,d,e){var f=a._iO;a.bytesLoaded=b;a.bytesTotal=c;a.duration=Math.floor(d);a.bufferLength=e;a.durationEstimate=a.isHTML5||f.isMovieStar?a.duration:f.duration?a.duration>f.duration?a.duration:f.duration:parseInt(a.bytesTotal/a.bytesLoaded*a.duration,10);a.isHTML5||(a.buffered=[{start:0,end:a.duration}]);(3!==a.readyState||a.isHTML5)&&f.whileloading&&f.whileloading.apply(a)};this._whileplaying=function(b,c,d,e,f){var k=a._iO;if(isNaN(b)||null=== -b)return!1;a.position=Math.max(0,b);a._processOnPosition();!a.isHTML5&&8<n&&(k.usePeakData&&c!==g&&c&&(a.peakData={left:c.leftPeak,right:c.rightPeak}),k.useWaveformData&&d!==g&&d&&(a.waveformData={left:d.split(","),right:e.split(",")}),k.useEQData&&f!==g&&f&&f.leftEQ&&(b=f.leftEQ.split(","),a.eqData=b,a.eqData.left=b,f.rightEQ!==g&&f.rightEQ&&(a.eqData.right=f.rightEQ.split(","))));1===a.playState&&(a.isHTML5||8!==n||a.position||!a.isBuffering||a._onbufferchange(0),k.whileplaying&&k.whileplaying.apply(a)); -return!0};this._oncaptiondata=function(b){c._wD(a.id+": Caption data received.");a.captiondata=b;a._iO.oncaptiondata&&a._iO.oncaptiondata.apply(a,[b])};this._onmetadata=function(b,d){c._wD(a.id+": Metadata received.");var e={},f,g;f=0;for(g=b.length;f<g;f++)e[b[f]]=d[f];a.metadata=e;a._iO.onmetadata&&a._iO.onmetadata.call(a,a.metadata)};this._onid3=function(b,d){c._wD(a.id+": ID3 data received.");var e=[],f,g;f=0;for(g=b.length;f<g;f++)e[b[f]]=d[f];a.id3=A(a.id3,e);a._iO.onid3&&a._iO.onid3.apply(a)}; -this._onconnect=function(b){b=1===b;c._wD(a.id+": "+(b?"Connected.":"Failed to connect? - "+a.url),b?1:2);if(a.connected=b)a.failures=0,w(a.id)&&(a.getAutoPlay()?a.play(g,a.getAutoPlay()):a._iO.autoLoad&&a.load()),a._iO.onconnect&&a._iO.onconnect.apply(a,[b])};this._ondataerror=function(b){0<a.playState&&(c._wD(a.id+": Data error: "+b),a._iO.ondataerror&&a._iO.ondataerror.apply(a))};this._debug()};ma=function(){return m.body||m.getElementsByTagName("div")[0]};F=function(b){return m.getElementById(b)}; -A=function(b,d){var e=b||{},a,f;a=d===g?c.defaultOptions:d;for(f in a)a.hasOwnProperty(f)&&e[f]===g&&(e[f]="object"!==typeof a[f]||null===a[f]?a[f]:A(e[f],a[f]));return e};ua=function(b,c){b.isHTML5||8!==n?c():h.setTimeout(c,0)};R={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1};Ba=function(b,d){var e,a=!0,f=d!==g,h=c.setupOptions;if(b===g){a=[];for(e in h)h.hasOwnProperty(e)&&a.push(e);for(e in R)R.hasOwnProperty(e)&&("object"===typeof c[e]?a.push(e+": {...}"):c[e]instanceof -Function?a.push(e+": function() {...}"):a.push(e));c._wD(t("setup",a.join(", ")));return!1}for(e in b)if(b.hasOwnProperty(e))if("object"!==typeof b[e]||null===b[e]||b[e]instanceof Array||b[e]instanceof RegExp)f&&R[d]!==g?c[d][e]=b[e]:h[e]!==g?(c.setupOptions[e]=b[e],c[e]=b[e]):R[e]===g?(L(t(c[e]===g?"setupUndef":"setupError",e),2),a=!1):c[e]instanceof Function?c[e].apply(c,b[e]instanceof Array?b[e]:[b[e]]):c[e]=b[e];else if(R[e]===g)L(t(c[e]===g?"setupUndef":"setupError",e),2),a=!1;else return Ba(b[e], -e);return a};x=function(){function b(a){a=kb.call(a);var b=a.length;e?(a[1]="on"+a[1],3<b&&a.pop()):3===b&&a.push(!1);return a}function c(b,d){var g=b.shift(),h=[a[d]];if(e)g[h](b[0],b[1]);else g[h].apply(g,b)}var e=h.attachEvent,a={add:e?"attachEvent":"addEventListener",remove:e?"detachEvent":"removeEventListener"};return{add:function(){c(b(arguments),"add")},remove:function(){c(b(arguments),"remove")}}}();J={abort:r(function(){c._wD(this._s.id+": abort")}),canplay:r(function(){var b=this._s,d;if(b._html5_canplay)return!0; -b._html5_canplay=!0;c._wD(b.id+": canplay");b._onbufferchange(0);d=b._iO.position===g||isNaN(b._iO.position)?null:b._iO.position/1E3;if(this.currentTime!==d){c._wD(b.id+": canplay: Setting position to "+d);try{this.currentTime=d}catch(e){c._wD(b.id+": canplay: Setting position of "+d+" failed: "+e.message,2)}}b._iO._oncanplay&&b._iO._oncanplay()}),canplaythrough:r(function(){var b=this._s;b.loaded||(b._onbufferchange(0),b._whileloading(b.bytesLoaded,b.bytesTotal,b._get_html5_duration()),b._onload(!0))}), -durationchange:r(function(){var b=this._s,d;d=b._get_html5_duration();isNaN(d)||d===b.duration||(c._wD(this._s.id+": durationchange ("+d+")"+(b.duration?", previously "+b.duration:"")),b.durationEstimate=b.duration=d)}),ended:r(function(){var b=this._s;c._wD(b.id+": ended");b._onfinish()}),error:r(function(){c._wD(this._s.id+": HTML5 error, code "+this.error.code);this._s._onload(!1)}),loadeddata:r(function(){var b=this._s;c._wD(b.id+": loadeddata");b._loaded||va||(b.duration=b._get_html5_duration())}), -loadedmetadata:r(function(){c._wD(this._s.id+": loadedmetadata")}),loadstart:r(function(){c._wD(this._s.id+": loadstart");this._s._onbufferchange(1)}),play:r(function(){this._s._onbufferchange(0)}),playing:r(function(){c._wD(this._s.id+": playing "+String.fromCharCode(9835));this._s._onbufferchange(0)}),progress:r(function(b){var d=this._s,e,a,f;e=0;var g="progress"===b.type,k=b.target.buffered,h=b.loaded||0,m=b.total||1;d.buffered=[];if(k&&k.length){e=0;for(a=k.length;e<a;e++)d.buffered.push({start:1E3* -k.start(e),end:1E3*k.end(e)});e=1E3*(k.end(0)-k.start(0));h=Math.min(1,e/(1E3*b.target.duration));if(g&&1<k.length){f=[];a=k.length;for(e=0;e<a;e++)f.push(1E3*b.target.buffered.start(e)+"-"+1E3*b.target.buffered.end(e));c._wD(this._s.id+": progress, timeRanges: "+f.join(", "))}g&&!isNaN(h)&&c._wD(this._s.id+": progress, "+Math.floor(100*h)+"% loaded")}isNaN(h)||(d._whileloading(h,m,d._get_html5_duration()),h&&m&&h===m&&J.canplaythrough.call(this,b))}),ratechange:r(function(){c._wD(this._s.id+": ratechange")}), -suspend:r(function(b){var d=this._s;c._wD(this._s.id+": suspend");J.progress.call(this,b);d._onsuspend()}),stalled:r(function(){c._wD(this._s.id+": stalled")}),timeupdate:r(function(){this._s._onTimer()}),waiting:r(function(){var b=this._s;c._wD(this._s.id+": waiting");b._onbufferchange(1)})};sa=function(b){return b&&(b.type||b.url||b.serverURL)?b.serverURL||b.type&&ha(b.type)?!1:b.type?fa({type:b.type}):fa({url:b.url})||c.html5Only||b.url.match(/data\:/i):!1};ta=function(b){var d;b&&(d=va?"about:blank": -c.html5.canPlayType("audio/wav")?"data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==":"about:blank",b.src=d,b._called_unload!==g&&(b._called_load=!1));C&&(Ma=null);return d};fa=function(b){if(!c.useHTML5Audio||!c.hasHTML5)return!1;var d=b.url||null;b=b.type||null;var e=c.audioFormats,a;if(b&&c.html5[b]!==g)return c.html5[b]&&!ha(b);if(!N){N=[];for(a in e)e.hasOwnProperty(a)&&(N.push(a),e[a].related&&(N=N.concat(e[a].related)));N=new RegExp("\\.("+N.join("|")+ -")(\\?.*)?$","i")}(a=d?d.toLowerCase().match(N):null)&&a.length?a=a[1]:b&&(d=b.indexOf(";"),a=(-1!==d?b.substr(0,d):b).substr(6));a&&c.html5[a]!==g?d=c.html5[a]&&!ha(a):(b="audio/"+a,d=c.html5.canPlayType({type:b}),d=(c.html5[a]=d)&&c.html5[b]&&!ha(b));return d};jb=function(){function b(a){var b,e=b=!1;if(!d||"function"!==typeof d.canPlayType)return b;if(a instanceof Array){k=0;for(b=a.length;k<b;k++)if(c.html5[a[k]]||d.canPlayType(a[k]).match(c.html5Test))e=!0,c.html5[a[k]]=!0,c.flash[a[k]]=!!a[k].match(pb); -b=e}else a=d&&"function"===typeof d.canPlayType?d.canPlayType(a):!1,b=!(!a||!a.match(c.html5Test));return b}if(!c.useHTML5Audio||!c.hasHTML5)return u=c.html5.usingFlash=!0,!1;var d=Audio!==g?Sa&&10>opera.version()?new Audio(null):new Audio:null,e,a,f={},h,k;h=c.audioFormats;for(e in h)if(h.hasOwnProperty(e)&&(a="audio/"+e,f[e]=b(h[e].type),f[a]=f[e],e.match(pb)?(c.flash[e]=!0,c.flash[a]=!0):(c.flash[e]=!1,c.flash[a]=!1),h[e]&&h[e].related))for(k=h[e].related.length-1;0<=k;k--)f["audio/"+h[e].related[k]]= -f[e],c.html5[h[e].related[k]]=f[e],c.flash[h[e].related[k]]=f[e];f.canPlayType=d?b:null;c.html5=A(c.html5,f);c.html5.usingFlash=ib();u=c.html5.usingFlash;return!0};z={notReady:"Unavailable - wait until onready() has fired.",notOK:"Audio support is not available.",domError:"soundManagerexception caught while appending SWF to DOM.",spcWmode:"Removing wmode, preventing known SWF loading issue(s)",swf404:"soundManager: Verify that %s is a valid path.",tryDebug:"Try soundManager.debugFlash = true for more security details (output goes to SWF.)", -checkSWF:"See SWF output for more debug info.",localFail:"soundManager: Non-HTTP page ("+m.location.protocol+" URL?) Review Flash player security settings for this special case:\nhttp://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html\nMay need to add/allow path, eg. c:/sm2/ or /users/me/sm2/",waitFocus:"soundManager: Special case: Waiting for SWF to load with window focus...",waitForever:"soundManager: Waiting indefinitely for Flash (will recover if unblocked)...", -waitSWF:"soundManager: Waiting for 100% SWF load...",needFunction:"soundManager: Function object expected for %s",badID:'Sound ID "%s" should be a string, starting with a non-numeric character',currentObj:"soundManager: _debug(): Current sound objects",waitOnload:"soundManager: Waiting for window.onload()",docLoaded:"soundManager: Document already loaded",onload:"soundManager: initComplete(): calling soundManager.onload()",onloadOK:"soundManager.onload() complete",didInit:"soundManager: init(): Already called?", -secNote:"Flash security note: Network/internet URLs will not load due to security restrictions. Access can be configured via Flash Player Global Security Settings Page: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html",badRemove:"soundManager: Failed to remove Flash node.",shutdown:"soundManager.disable(): Shutting down",queue:"soundManager: Queueing %s handler",smError:"SMSound.load(): Exception: JS-Flash communication failed, or JS error.",fbTimeout:"No flash response, applying .swf_timedout CSS...", -fbLoaded:"Flash loaded",fbHandler:"soundManager: flashBlockHandler()",manURL:"SMSound.load(): Using manually-assigned URL",onURL:"soundManager.load(): current URL already assigned.",badFV:'soundManager.flashVersion must be 8 or 9. "%s" is invalid. Reverting to %s.',as2loop:"Note: Setting stream:false so looping can work (flash 8 limitation)",noNSLoop:"Note: Looping not implemented for MovieStar formats",needfl9:"Note: Switching to flash 9, required for MP4 formats.",mfTimeout:"Setting flashLoadTimeout = 0 (infinite) for off-screen, mobile flash case", -needFlash:"soundManager: Fatal error: Flash is needed to play some required formats, but is not available.",gotFocus:"soundManager: Got window focus.",policy:"Enabling usePolicyFile for data access",setup:"soundManager.setup(): allowed parameters: %s",setupError:'soundManager.setup(): "%s" cannot be assigned with this method.',setupUndef:'soundManager.setup(): Could not find option "%s"',setupLate:"soundManager.setup(): url, flashVersion and html5Test property changes will not take effect until reboot().", -noURL:"soundManager: Flash URL required. Call soundManager.setup({url:...}) to get started.",sm2Loaded:"SoundManager 2: Ready. "+String.fromCharCode(10003),reset:"soundManager.reset(): Removing event callbacks",mobileUA:"Mobile UA detected, preferring HTML5 by default.",globalHTML5:"Using singleton HTML5 Audio() pattern for this device.",ignoreMobile:"Ignoring mobile restrictions for this device."};t=function(){var b,c,e,a;b=kb.call(arguments);c=b.shift();if((a=z&&z[c]?z[c]:"")&&b&&b.length)for(c= -0,e=b.length;c<e;c++)a=a.replace("%s",b[c]);return a};oa=function(b){8===n&&1<b.loops&&b.stream&&(p("as2loop"),b.stream=!1);return b};pa=function(b,d){b&&!b.usePolicyFile&&(b.onid3||b.usePeakData||b.useWaveformData||b.useEQData)&&(c._wD((d||"")+t("policy")),b.usePolicyFile=!0);return b};L=function(b){Ua&&console.warn!==g?console.warn(b):c._wD(b)};ya=function(){return!1};cb=function(b){for(var c in b)b.hasOwnProperty(c)&&"function"===typeof b[c]&&(b[c]=ya)};Ha=function(b){b===g&&(b=!1);(y||b)&&c.disable(b)}; -db=function(b){var d=null;if(b)if(b.match(/\.swf(\?.*)?$/i)){if(d=b.substr(b.toLowerCase().lastIndexOf(".swf?")+4))return b}else b.lastIndexOf("/")!==b.length-1&&(b+="/");b=(b&&-1!==b.lastIndexOf("/")?b.substr(0,b.lastIndexOf("/")+1):"./")+c.movieURL;c.noSWFCache&&(b+="?ts="+(new Date).getTime());return b};Ea=function(){n=parseInt(c.flashVersion,10);8!==n&&9!==n&&(c._wD(t("badFV",n,8)),c.flashVersion=n=8);var b=c.debugMode||c.debugFlash?"_debug.swf":".swf";c.useHTML5Audio&&!c.html5Only&&c.audioFormats.mp4.required&& -9>n&&(c._wD(t("needfl9")),c.flashVersion=n=9);c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===n?" (AS3/Flash 9)":" (AS2/Flash 8)");8<n?(c.defaultOptions=A(c.defaultOptions,c.flash9Options),c.features.buffering=!0,c.defaultOptions=A(c.defaultOptions,c.movieStarOptions),c.filePatterns.flash9=new RegExp("\\.(mp3|"+rb.join("|")+")(\\?.*)?$","i"),c.features.movieStar=!0):c.features.movieStar=!1;c.filePattern=c.filePatterns[8!==n?"flash9":"flash8"];c.movieURL=(8===n?"soundmanager2.swf": -"soundmanager2_flash9.swf").replace(".swf",b);c.features.peakData=c.features.waveformData=c.features.eqData=8<n};ab=function(b,c){if(!l)return!1;l._setPolling(b,c)};Ga=function(){c.debugURLParam.test(ia)&&(c.setupOptions.debugMode=c.debugMode=!0);if(F(c.debugID))return!1;var b,d,e,a;if(!(!c.debugMode||F(c.debugID)||Ua&&c.useConsole&&c.consoleOnly)){b=m.createElement("div");b.id=c.debugID+"-toggle";d={position:"fixed",bottom:"0px",right:"0px",width:"1.2em",height:"1.2em",lineHeight:"1.2em",margin:"2px", -textAlign:"center",border:"1px solid #999",cursor:"pointer",background:"#fff",color:"#333",zIndex:10001};b.appendChild(m.createTextNode("-"));b.onclick=eb;b.title="Toggle SM2 debug console";v.match(/msie 6/i)&&(b.style.position="absolute",b.style.cursor="hand");for(a in d)d.hasOwnProperty(a)&&(b.style[a]=d[a]);d=m.createElement("div");d.id=c.debugID;d.style.display=c.debugMode?"block":"none";if(c.debugMode&&!F(b.id)){try{e=ma(),e.appendChild(b)}catch(f){throw Error(t("domError")+" \n"+f.toString()); -}e.appendChild(d)}}};w=this.getSoundById;p=function(b,d){return b?c._wD(t(b),d):""};eb=function(){var b=F(c.debugID),d=F(c.debugID+"-toggle");if(!b)return!1;Aa?(d.innerHTML="+",b.style.display="none"):(d.innerHTML="-",b.style.display="block");Aa=!Aa};D=function(b,c,e){if(h.sm2Debugger!==g)try{sm2Debugger.handleEvent(b,c,e)}catch(a){return!1}return!0};V=function(){var b=[];c.debugMode&&b.push("sm2_debug");c.debugFlash&&b.push("flash_debug");c.useHighPerformance&&b.push("high_performance");return b.join(" ")}; -Ja=function(){var b=t("fbHandler"),d=c.getMoviePercent(),e={type:"FLASHBLOCK"};if(c.html5Only)return!1;c.ok()?(c.didFlashBlock&&c._wD(b+": Unblocked"),c.oMC&&(c.oMC.className=[V(),"movieContainer","swf_loaded"+(c.didFlashBlock?" swf_unblocked":"")].join(" "))):(u&&(c.oMC.className=V()+" movieContainer "+(null===d?"swf_timedout":"swf_error"),c._wD(b+": "+t("fbTimeout")+(d?" ("+t("fbLoaded")+")":""))),c.didFlashBlock=!0,P({type:"ontimeout",ignoreInit:!0,error:e}),U(e))};Ca=function(b,c,e){I[b]===g&& -(I[b]=[]);I[b].push({method:c,scope:e||null,fired:!1})};P=function(b){b||(b={type:c.ok()?"onready":"ontimeout"});if(!q&&b&&!b.ignoreInit||"ontimeout"===b.type&&(c.ok()||y&&!b.ignoreInit))return!1;var d={success:b&&b.ignoreInit?c.ok():!y},e=b&&b.type?I[b.type]||[]:[],a=[],f,d=[d],g=u&&!c.ok();b.error&&(d[0].error=b.error);b=0;for(f=e.length;b<f;b++)!0!==e[b].fired&&a.push(e[b]);if(a.length)for(b=0,f=a.length;b<f;b++)a[b].scope?a[b].method.apply(a[b].scope,d):a[b].method.apply(this,d),g||(a[b].fired= -!0);return!0};S=function(){h.setTimeout(function(){c.useFlashBlock&&Ja();P();"function"===typeof c.onload&&(p("onload",1),c.onload.apply(h),p("onloadOK",1));c.waitForWindowLoad&&x.add(h,"load",S)},1)};Na=function(){if(H!==g)return H;var b=!1,c=navigator,e=c.plugins,a,f=h.ActiveXObject;if(e&&e.length)(c=c.mimeTypes)&&c["application/x-shockwave-flash"]&&c["application/x-shockwave-flash"].enabledPlugin&&c["application/x-shockwave-flash"].enabledPlugin.description&&(b=!0);else if(f!==g&&!v.match(/MSAppHost/i)){try{a= -new f("ShockwaveFlash.ShockwaveFlash")}catch(m){a=null}b=!!a}return H=b};ib=function(){var b,d,e=c.audioFormats;Qa&&v.match(/os (1|2|3_0|3_1)\s/i)?(c.hasHTML5=!1,c.html5Only=!0,c.oMC&&(c.oMC.style.display="none")):c.useHTML5Audio&&(c.html5&&c.html5.canPlayType||(c._wD("SoundManager: No HTML5 Audio() support detected."),c.hasHTML5=!1),Ta&&c._wD("soundManager: Note: Buggy HTML5 Audio in Safari on this OS X release, see https://bugs.webkit.org/show_bug.cgi?id=32159 - "+(H?"will use flash fallback for MP3/MP4, if available": -" would use flash fallback for MP3/MP4, but none detected."),1));if(c.useHTML5Audio&&c.hasHTML5)for(d in ea=!0,e)e.hasOwnProperty(d)&&e[d].required&&(c.html5.canPlayType(e[d].type)?c.preferFlash&&(c.flash[d]||c.flash[e[d].type])&&(b=!0):(ea=!1,b=!0));c.ignoreFlash&&(b=!1,ea=!0);c.html5Only=c.hasHTML5&&c.useHTML5Audio&&!b;return!c.html5Only};ra=function(b){var d,e,a=0;if(b instanceof Array){d=0;for(e=b.length;d<e;d++)if(b[d]instanceof Object){if(c.canPlayMIME(b[d].type)){a=d;break}}else if(c.canPlayURL(b[d])){a= -d;break}b[a].url&&(b[a]=b[a].url);b=b[a]}return b};fb=function(b){b._hasTimer||(b._hasTimer=!0,!wa&&c.html5PollingInterval&&(null===da&&0===qa&&(da=setInterval(hb,c.html5PollingInterval)),qa++))};gb=function(b){b._hasTimer&&(b._hasTimer=!1,!wa&&c.html5PollingInterval&&qa--)};hb=function(){var b;if(null!==da&&!qa)return clearInterval(da),da=null,!1;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].isHTML5&&c.sounds[c.soundIDs[b]]._hasTimer&&c.sounds[c.soundIDs[b]]._onTimer()};U=function(b){b= -b!==g?b:{};"function"===typeof c.onerror&&c.onerror.apply(h,[{type:b.type!==g?b.type:null}]);b.fatal!==g&&b.fatal&&c.disable()};lb=function(){if(!Ta||!Na())return!1;var b=c.audioFormats,d,e;for(e in b)if(b.hasOwnProperty(e)&&("mp3"===e||"mp4"===e)&&(c._wD("soundManager: Using flash fallback for "+e+" format"),c.html5[e]=!1,b[e]&&b[e].related))for(d=b[e].related.length-1;0<=d;d--)c.html5[b[e].related[d]]=!1};this._setSandboxType=function(b){var d=c.sandbox;d.type=b;d.description=d.types[d.types[b]!== -g?b:"unknown"];"localWithFile"===d.type?(d.noRemote=!0,d.noLocal=!1,p("secNote",2)):"localWithNetwork"===d.type?(d.noRemote=!1,d.noLocal=!0):"localTrusted"===d.type&&(d.noRemote=!1,d.noLocal=!1)};this._externalInterfaceOK=function(b){if(c.swfLoaded)return!1;var d;D("swf",!0);D("flashtojs",!0);c.swfLoaded=!0;xa=!1;Ta&&lb();if(!b||b.replace(/\+dev/i,"")!==c.versionNumber.replace(/\+dev/i,""))return d='soundManager: Fatal: JavaScript file build "'+c.versionNumber+'" does not match Flash SWF build "'+ -b+'" at '+c.url+". Ensure both are up-to-date.",setTimeout(function(){throw Error(d);},0),!1;setTimeout(za,O?100:1)};na=function(b,d){function e(){var a=[],b,d=[];b="SoundManager "+c.version+(!c.html5Only&&c.useHTML5Audio?c.hasHTML5?" + HTML5 audio":", no HTML5 audio support":"");c.html5Only?c.html5PollingInterval&&a.push("html5PollingInterval ("+c.html5PollingInterval+"ms)"):(c.preferFlash&&a.push("preferFlash"),c.useHighPerformance&&a.push("useHighPerformance"),c.flashPollingInterval&&a.push("flashPollingInterval ("+ -c.flashPollingInterval+"ms)"),c.html5PollingInterval&&a.push("html5PollingInterval ("+c.html5PollingInterval+"ms)"),c.wmode&&a.push("wmode ("+c.wmode+")"),c.debugFlash&&a.push("debugFlash"),c.useFlashBlock&&a.push("flashBlock"));a.length&&(d=d.concat([a.join(" + ")]));c._wD(b+(d.length?" + "+d.join(", "):""),1);mb()}function a(a,b){return'<param name="'+a+'" value="'+b+'" />'}if(X&&Y)return!1;if(c.html5Only)return Ea(),e(),c.oMC=F(c.movieID),za(),Y=X=!0,!1;var f=d||c.url,h=c.altURL||f,k=ma(),l=V(), -n=null,n=m.getElementsByTagName("html")[0],p,r,q,n=n&&n.dir&&n.dir.match(/rtl/i);b=b===g?c.id:b;Ea();c.url=db(ga?f:h);d=c.url;c.wmode=!c.wmode&&c.useHighPerformance?"transparent":c.wmode;null!==c.wmode&&(v.match(/msie 8/i)||!O&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(M.push(z.spcWmode),c.wmode=null);k={name:b,id:b,src:d,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:vb+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)", -type:"application/x-shockwave-flash",wmode:c.wmode,hasPriority:"true"};c.debugFlash&&(k.FlashVars="debug=1");c.wmode||delete k.wmode;if(O)f=m.createElement("div"),r=['<object id="'+b+'" data="'+d+'" type="'+k.type+'" title="'+k.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',a("movie",d),a("AllowScriptAccess",c.allowScriptAccess),a("quality",k.quality),c.wmode?a("wmode",c.wmode):"",a("bgcolor", -c.bgColor),a("hasPriority","true"),c.debugFlash?a("FlashVars",k.FlashVars):"","</object>"].join("");else for(p in f=m.createElement("embed"),k)k.hasOwnProperty(p)&&f.setAttribute(p,k[p]);Ga();l=V();if(k=ma())if(c.oMC=F(c.movieID)||m.createElement("div"),c.oMC.id)q=c.oMC.className,c.oMC.className=(q?q+" ":"movieContainer")+(l?" "+l:""),c.oMC.appendChild(f),O&&(p=c.oMC.appendChild(m.createElement("div")),p.className="sm2-object-box",p.innerHTML=r),Y=!0;else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+ -l;p=l=null;c.useFlashBlock||(c.useHighPerformance?l={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(l={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},n&&(l.left=Math.abs(parseInt(l.left,10))+"px")));ub&&(c.oMC.style.zIndex=1E4);if(!c.debugFlash)for(q in l)l.hasOwnProperty(q)&&(c.oMC.style[q]=l[q]);try{O||c.oMC.appendChild(f),k.appendChild(c.oMC),O&&(p=c.oMC.appendChild(m.createElement("div")),p.className="sm2-object-box",p.innerHTML= -r),Y=!0}catch(u){throw Error(t("domError")+" \n"+u.toString());}}X=!0;e();return!0};la=function(){if(c.html5Only)return na(),!1;if(l)return!1;if(!c.url)return p("noURL"),!1;l=c.getMovie(c.id);l||(ba?(O?c.oMC.innerHTML=Ia:c.oMC.appendChild(ba),ba=null,X=!0):na(c.id,c.url),l=c.getMovie(c.id));"function"===typeof c.oninitmovie&&setTimeout(c.oninitmovie,1);Oa();return!0};T=function(){setTimeout($a,1E3)};Da=function(){h.setTimeout(function(){L("soundManager: useFlashBlock is false, 100% HTML5 mode is possible. Rebooting with preferFlash: false..."); -c.setup({preferFlash:!1}).reboot();c.didFlashBlock=!0;c.beginDelayedInit()},1)};$a=function(){var b,d=!1;if(!c.url||ca)return!1;ca=!0;x.remove(h,"load",T);if(H&&xa&&!Va)return p("waitFocus"),!1;q||(b=c.getMoviePercent(),0<b&&100>b&&(d=!0));setTimeout(function(){b=c.getMoviePercent();if(d)return ca=!1,c._wD(t("waitSWF")),h.setTimeout(T,1),!1;q||(c._wD("soundManager: No Flash response within expected time. Likely causes: "+(0===b?"SWF load failed, ":"")+"Flash blocked or JS-Flash security error."+(c.debugFlash? -" "+t("checkSWF"):""),2),!ga&&b&&(p("localFail",2),c.debugFlash||p("tryDebug",2)),0===b&&c._wD(t("swf404",c.url),1),D("flashtojs",!1,": Timed out"+(ga?" (Check flash security or flash blockers)":" (No plugin/missing SWF?)")));!q&&ob&&(null===b?c.useFlashBlock||0===c.flashLoadTimeout?(c.useFlashBlock&&Ja(),p("waitForever")):!c.useFlashBlock&&ea?Da():(p("waitForever"),P({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}})):0===c.flashLoadTimeout?p("waitForever"):!c.useFlashBlock&&ea?Da(): -Ha(!0))},c.flashLoadTimeout)};ka=function(){if(Va||!xa)return x.remove(h,"focus",ka),!0;Va=ob=!0;p("gotFocus");ca=!1;T();x.remove(h,"focus",ka);return!0};Oa=function(){M.length&&(c._wD("SoundManager 2: "+M.join(" "),1),M=[])};mb=function(){Oa();var b,d=[];if(c.useHTML5Audio&&c.hasHTML5){for(b in c.audioFormats)c.audioFormats.hasOwnProperty(b)&&d.push(b+" = "+c.html5[b]+(!c.html5[b]&&u&&c.flash[b]?" (using flash)":c.preferFlash&&c.flash[b]&&u?" (preferring flash)":c.html5[b]?"":" ("+(c.audioFormats[b].required? -"required, ":"")+"and no flash support)"));c._wD("SoundManager 2 HTML5 support: "+d.join(", "),1)}};Z=function(b){if(q)return!1;if(c.html5Only)return p("sm2Loaded",1),q=!0,S(),D("onload",!0),!0;var d=!0,e;c.useFlashBlock&&c.flashLoadTimeout&&!c.getMoviePercent()||(q=!0);e={type:!H&&u?"NO_FLASH":"INIT_TIMEOUT"};c._wD("SoundManager 2 "+(y?"failed to load":"loaded")+" ("+(y?"Flash security/load error":"OK")+") "+String.fromCharCode(y?10006:10003),y?2:1);y||b?(c.useFlashBlock&&c.oMC&&(c.oMC.className= -V()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error")),P({type:"ontimeout",error:e,ignoreInit:!0}),D("onload",!1),U(e),d=!1):D("onload",!0);y||(c.waitForWindowLoad&&!ja?(p("waitOnload"),x.add(h,"load",S)):(c.waitForWindowLoad&&ja&&p("docLoaded"),S()));return d};Za=function(){var b,d=c.setupOptions;for(b in d)d.hasOwnProperty(b)&&(c[b]===g?c[b]=d[b]:c[b]!==d[b]&&(c.setupOptions[b]=c[b]))};za=function(){if(q)return p("didInit"),!1;if(c.html5Only)return q||(x.remove(h,"load",c.beginDelayedInit), -c.enabled=!0,Z()),!0;la();try{l._externalInterfaceTest(!1),ab(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||l._disableDebug(),c.enabled=!0,D("jstoflash",!0),c.html5Only||x.add(h,"unload",ya)}catch(b){return c._wD("js/flash exception: "+b.toString()),D("jstoflash",!1),U({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),Ha(!0),Z(),!1}Z();x.remove(h,"load",c.beginDelayedInit);return!0};Q=function(){if(aa)return!1;aa=!0;Za();Ga();!H&&c.hasHTML5&&(c._wD("SoundManager 2: No Flash detected"+ -(c.useHTML5Audio?". Trying HTML5-only mode.":", enabling HTML5."),1),c.setup({useHTML5Audio:!0,preferFlash:!1}));jb();!H&&u&&(M.push(z.needFlash),c.setup({flashLoadTimeout:1}));m.removeEventListener&&m.removeEventListener("DOMContentLoaded",Q,!1);la();return!0};La=function(){"complete"===m.readyState&&(Q(),m.detachEvent("onreadystatechange",La));return!0};Fa=function(){ja=!0;Q();x.remove(h,"load",Fa)};Na();x.add(h,"focus",ka);x.add(h,"load",T);x.add(h,"load",Fa);m.addEventListener?m.addEventListener("DOMContentLoaded", -Q,!1):m.attachEvent?m.attachEvent("onreadystatechange",La):(D("onload",!1),U({type:"NO_DOM2_EVENTS",fatal:!0}))}if(!h||!h.document)throw Error("SoundManager requires a browser with window and document objects.");var W=null;h.SM2_DEFER!==g&&SM2_DEFER||(W=new K);"object"===typeof module&&module&&"object"===typeof module.exports?(module.exports.SoundManager=K,module.exports.soundManager=W):"function"===typeof define&&define.amd&&define(function(){return{constructor:K,getInstance:function(g){!h.soundManager&& -g instanceof Function&&(g=g(K),g instanceof K&&(h.soundManager=g));return h.soundManager}}});h.SoundManager=K;h.soundManager=W})(window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-nodebug-jsmin.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-nodebug-jsmin.js deleted file mode 100644 index f7004790d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-nodebug-jsmin.js +++ /dev/null @@ -1,83 +0,0 @@ -/** @license - * - * SoundManager 2: JavaScript Sound for the Web - * ---------------------------------------------- - * http://schillmania.com/projects/soundmanager2/ - * - * Copyright (c) 2007, Scott Schiller. All rights reserved. - * Code provided under the BSD License: - * http://schillmania.com/projects/soundmanager2/license.txt - * - * V2.97a.20150601 - */ -(function(h,g){function w(gb,w){function Z(b){return c.preferFlash&&A&&!c.ignoreFlash&&c.flash[b]!==g&&c.flash[b]}function r(b){return function(c){var d=this._s;return d&&d._a?b.call(this,c):null}}this.setupOptions={url:gb||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1E3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0, -forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"};this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100};this.flash9Options={isMovieStar:null,usePeakData:!1, -useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus", -"audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.movieID="sm2-container";this.id=w||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20150601";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock=this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i}; -this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={};this.html5={usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var N,c=this,Oa=null,k=null,aa,u=navigator.userAgent,Pa=h.location.href.toString(),p=document,pa,Qa,qa,m,y=[],O=!1,P=!1,l=!1,B=!1,ra=!1,Q,x,sa,ba,ta,F,H,I,Ra,ua,va,ca,J,da,G,wa,R,xa,ea,K,Sa,ya,Ta,za,Ua,S=null,Aa=null,T,Ba,L,fa,ga,q,U=!1,Ca=!1,Va,Wa,Xa,ha=0,V=null,ia,W=[],X,v=null,Ya,ja,Y,D,ka,Da,Za,t,hb=Array.prototype.slice, -z=!1,Ea,A,Fa,$a,C,la,ab=0,Ga,Ha=u.match(/(ipad|iphone|ipod)/i),Ia=u.match(/android/i),E=u.match(/msie/i),ib=u.match(/webkit/i),ma=u.match(/safari/i)&&!u.match(/chrome/i),Ja=u.match(/opera/i),na=u.match(/(mobile|pre\/|xoom)/i)||Ha||Ia,bb=!Pa.match(/usehtml5audio/i)&&!Pa.match(/sm2\-ignorebadua/i)&&ma&&!u.match(/silk/i)&&u.match(/OS X 10_6_([3-7])/i),Ka=p.hasFocus!==g?p.hasFocus():null,oa=ma&&(p.hasFocus===g||!p.hasFocus()),cb=!oa,db=/(mp3|mp4|mpa|m4a|m4b)/i,La=p.location?p.location.protocol.match(/http/i): -null,jb=La?"":"http://",eb=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,fb="mpeg4 aac flv mov mp4 m4v f4v m4a m4b mp4v 3gp 3g2".split(" "),kb=new RegExp("\\.("+fb.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!La;var Ma;try{Ma=Audio!==g&&(Ja&&opera!==g&&10>opera.version()?new Audio(null):new Audio).canPlayType!==g}catch(lb){Ma=!1}this.hasHTML5=Ma;this.setup=function(b){var e=!c.url;b!==g&&l&&v&&c.ok(); -sa(b);if(!z)if(na){if(!c.setupOptions.ignoreMobileRestrictions||c.setupOptions.forceUseGlobalHTML5Audio)W.push(J.globalHTML5),z=!0}else c.setupOptions.forceUseGlobalHTML5Audio&&(W.push(J.globalHTML5),z=!0);if(!Ga&&na)if(c.setupOptions.ignoreMobileRestrictions)W.push(J.ignoreMobile);else if(c.setupOptions.useHTML5Audio=!0,c.setupOptions.preferFlash=!1,Ha)c.ignoreFlash=!0;else if(Ia&&!u.match(/android\s2\.3/i)||!Ia)z=!0;b&&(e&&R&&b.url!==g&&c.beginDelayedInit(),R||b.url===g||"complete"!==p.readyState|| -setTimeout(G,1));Ga=!0;return c};this.supported=this.ok=function(){return v?l&&!B:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(b){return aa(b)||p[b]||h[b]};this.createSound=function(b,e){function d(){a=fa(a);c.sounds[a.id]=new N(a);c.soundIDs.push(a.id);return c.sounds[a.id]}var a,f=null;if(!l||!c.ok())return!1;e!==g&&(b={id:b,url:e});a=x(b);a.url=ia(a.url);a.id===g&&(a.id=c.setupOptions.idPrefix+ab++);if(q(a.id,!0))return c.sounds[a.id];if(ja(a))f=d(),f._setup_html5(a);else{if(c.html5Only|| -c.html5.usingFlash&&a.url&&a.url.match(/data\:/i))return d();8<m&&null===a.isMovieStar&&(a.isMovieStar=!!(a.serverURL||a.type&&a.type.match(eb)||a.url&&a.url.match(kb)));a=ga(a,void 0);f=d();8===m?k._createSound(a.id,a.loops||1,a.usePolicyFile):(k._createSound(a.id,a.url,a.usePeakData,a.useWaveformData,a.useEQData,a.isMovieStar,a.isMovieStar?a.bufferTime:!1,a.loops||1,a.serverURL,a.duration||null,a.autoPlay,!0,a.autoLoad,a.usePolicyFile),a.serverURL||(f.connected=!0,a.onconnect&&a.onconnect.apply(f))); -a.serverURL||!a.autoLoad&&!a.autoPlay||f.load(a)}!a.serverURL&&a.autoPlay&&f.play();return f};this.destroySound=function(b,e){if(!q(b))return!1;var d=c.sounds[b],a;d.stop();d._iO={};d.unload();for(a=0;a<c.soundIDs.length;a++)if(c.soundIDs[a]===b){c.soundIDs.splice(a,1);break}e||d.destruct(!0);delete c.sounds[b];return!0};this.load=function(b,e){return q(b)?c.sounds[b].load(e):!1};this.unload=function(b){return q(b)?c.sounds[b].unload():!1};this.onposition=this.onPosition=function(b,e,d,a){return q(b)? -c.sounds[b].onposition(e,d,a):!1};this.clearOnPosition=function(b,e,d){return q(b)?c.sounds[b].clearOnPosition(e,d):!1};this.start=this.play=function(b,e){var d=null,a=e&&!(e instanceof Object);if(!l||!c.ok())return!1;if(q(b,a))a&&(e={url:e});else{if(!a)return!1;a&&(e={url:e});e&&e.url&&(e.id=b,d=c.createSound(e).play())}null===d&&(d=c.sounds[b].play(e));return d};this.setPosition=function(b,e){return q(b)?c.sounds[b].setPosition(e):!1};this.stop=function(b){return q(b)?c.sounds[b].stop():!1};this.stopAll= -function(){for(var b in c.sounds)c.sounds.hasOwnProperty(b)&&c.sounds[b].stop()};this.pause=function(b){return q(b)?c.sounds[b].pause():!1};this.pauseAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].pause()};this.resume=function(b){return q(b)?c.sounds[b].resume():!1};this.resumeAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].resume()};this.togglePause=function(b){return q(b)?c.sounds[b].togglePause():!1};this.setPan=function(b,e){return q(b)? -c.sounds[b].setPan(e):!1};this.setVolume=function(b,e){var d,a;if(b===g||isNaN(b)||e!==g)return q(b)?c.sounds[b].setVolume(e):!1;d=0;for(a=c.soundIDs.length;d<a;d++)c.sounds[c.soundIDs[d]].setVolume(b)};this.mute=function(b){var e=0;b instanceof String&&(b=null);if(b)return q(b)?c.sounds[b].mute():!1;for(e=c.soundIDs.length-1;0<=e;e--)c.sounds[c.soundIDs[e]].mute();return c.muted=!0};this.muteAll=function(){c.mute()};this.unmute=function(b){b instanceof String&&(b=null);if(b)return q(b)?c.sounds[b].unmute(): -!1;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].unmute();c.muted=!1;return!0};this.unmuteAll=function(){c.unmute()};this.toggleMute=function(b){return q(b)?c.sounds[b].toggleMute():!1};this.getMemoryUse=function(){var b=0;k&&8!==m&&(b=parseInt(k._getMemoryUse(),10));return b};this.disable=function(b){var e;b===g&&(b=!1);if(B)return!1;B=!0;for(e=c.soundIDs.length-1;0<=e;e--)Ta(c.sounds[c.soundIDs[e]]);Q(b);t.remove(h,"load",H);return!0};this.canPlayMIME=function(b){var e;c.hasHTML5&& -(e=Y({type:b}));!e&&v&&(e=b&&c.ok()?!!(8<m&&b.match(eb)||b.match(c.mimePattern)):null);return e};this.canPlayURL=function(b){var e;c.hasHTML5&&(e=Y({url:b}));!e&&v&&(e=b&&c.ok()?!!b.match(c.filePattern):null);return e};this.canPlayLink=function(b){return b.type!==g&&b.type&&c.canPlayMIME(b.type)?!0:c.canPlayURL(b.href)};this.getSoundById=function(b,e){return b?c.sounds[b]:null};this.onready=function(b,c){if("function"===typeof b)c||(c=h),ta("onready",b,c),F();else throw T("needFunction","onready"); -return!0};this.ontimeout=function(b,c){if("function"===typeof b)c||(c=h),ta("ontimeout",b,c),F({type:"ontimeout"});else throw T("needFunction","ontimeout");return!0};this._wD=this._writeDebug=function(b,c){return!0};this._debug=function(){};this.reboot=function(b,e){var d,a,f;for(d=c.soundIDs.length-1;0<=d;d--)c.sounds[c.soundIDs[d]].destruct();if(k)try{E&&(Aa=k.innerHTML),S=k.parentNode.removeChild(k)}catch(g){}Aa=S=v=k=null;c.enabled=R=l=U=Ca=O=P=B=z=c.swfLoaded=!1;c.soundIDs=[];c.sounds={};ab= -0;Ga=!1;if(b)y=[];else for(d in y)if(y.hasOwnProperty(d))for(a=0,f=y[d].length;a<f;a++)y[d][a].fired=!1;c.html5={usingFlash:null};c.flash={};c.html5Only=!1;c.ignoreFlash=!1;h.setTimeout(function(){e||c.beginDelayedInit()},20);return c};this.reset=function(){return c.reboot(!0,!0)};this.getMoviePercent=function(){return k&&"PercentLoaded"in k?k.PercentLoaded():null};this.beginDelayedInit=function(){ra=!0;G();setTimeout(function(){if(Ca)return!1;ea();da();return Ca=!0},20);I()};this.destruct=function(){c.disable(!0)}; -N=function(b){var e,d,a=this,f,n,h,M,p,r,u=!1,l=[],v=0,y,B,w=null,A;d=e=null;this.sID=this.id=b.id;this.url=b.url;this._iO=this.instanceOptions=this.options=x(b);this.pan=this.options.pan;this.volume=this.options.volume;this.isHTML5=!1;this._a=null;A=this.url?!1:!0;this.id3={};this._debug=function(){};this.load=function(b){var e=null,d;b!==g?a._iO=x(b,a.options):(b=a.options,a._iO=b,w&&w!==a.url&&(a._iO.url=a.url,a.url=null));a._iO.url||(a._iO.url=a.url);a._iO.url=ia(a._iO.url);d=a.instanceOptions= -a._iO;if(!d.url&&!a.url)return a;if(d.url===a.url&&0!==a.readyState&&2!==a.readyState)return 3===a.readyState&&d.onload&&la(a,function(){d.onload.apply(a,[!!a.duration])}),a;a.loaded=!1;a.readyState=1;a.playState=0;a.id3={};if(ja(d))e=a._setup_html5(d),e._called_load||(a._html5_canplay=!1,a.url!==d.url&&(a._a.src=d.url,a.setPosition(0)),a._a.autobuffer="auto",a._a.preload="auto",a._a._called_load=!0);else{if(c.html5Only||a._iO.url&&a._iO.url.match(/data\:/i))return a;try{a.isHTML5=!1,a._iO=ga(fa(d)), -a._iO.autoPlay&&(a._iO.position||a._iO.from)&&(a._iO.autoPlay=!1),d=a._iO,8===m?k._load(a.id,d.url,d.stream,d.autoPlay,d.usePolicyFile):k._load(a.id,d.url,!!d.stream,!!d.autoPlay,d.loops||1,!!d.autoLoad,d.usePolicyFile)}catch(f){K({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}a.url=d.url;return a};this.unload=function(){0!==a.readyState&&(a.isHTML5?(M(),a._a&&(a._a.pause(),w=ka(a._a))):8===m?k._unload(a.id,"about:blank"):k._unload(a.id),f());return a};this.destruct=function(b){a.isHTML5?(M(),a._a&& -(a._a.pause(),ka(a._a),z||h(),a._a._s=null,a._a=null)):(a._iO.onfailure=null,k._destroySound(a.id));b||c.destroySound(a.id,!0)};this.start=this.play=function(b,e){var d,f,n,h,Na;f=!0;f=null;e=e===g?!0:e;b||(b={});a.url&&(a._iO.url=a.url);a._iO=x(a._iO,a.options);a._iO=x(b,a._iO);a._iO.url=ia(a._iO.url);a.instanceOptions=a._iO;if(!a.isHTML5&&a._iO.serverURL&&!a.connected)return a.getAutoPlay()||a.setAutoPlay(!0),a;ja(a._iO)&&(a._setup_html5(a._iO),p());1!==a.playState||a.paused||(d=a._iO.multiShot, -d||(a.isHTML5&&a.setPosition(a._iO.position),f=a));if(null!==f)return f;b.url&&b.url!==a.url&&(a.readyState||a.isHTML5||8!==m||!A?a.load(a._iO):A=!1);a.loaded||(0===a.readyState?(a.isHTML5||c.html5Only?a.isHTML5?a.load(a._iO):f=a:(a._iO.autoPlay=!0,a.load(a._iO)),a.instanceOptions=a._iO):2===a.readyState&&(f=a));if(null!==f)return f;!a.isHTML5&&9===m&&0<a.position&&a.position===a.duration&&(b.position=0);if(a.paused&&0<=a.position&&(!a._iO.serverURL||0<a.position))a.resume();else{a._iO=x(b,a._iO); -if((!a.isHTML5&&null!==a._iO.position&&0<a._iO.position||null!==a._iO.from&&0<a._iO.from||null!==a._iO.to)&&0===a.instanceCount&&0===a.playState&&!a._iO.serverURL){d=function(){a._iO=x(b,a._iO);a.play(a._iO)};a.isHTML5&&!a._html5_canplay?(a.load({_oncanplay:d}),f=!1):a.isHTML5||a.loaded||a.readyState&&2===a.readyState||(a.load({onload:d}),f=!1);if(null!==f)return f;a._iO=B()}(!a.instanceCount||a._iO.multiShotEvents||a.isHTML5&&a._iO.multiShot&&!z||!a.isHTML5&&8<m&&!a.getAutoPlay())&&a.instanceCount++; -a._iO.onposition&&0===a.playState&&r(a);a.playState=1;a.paused=!1;a.position=a._iO.position===g||isNaN(a._iO.position)?0:a._iO.position;a.isHTML5||(a._iO=ga(fa(a._iO)));a._iO.onplay&&e&&(a._iO.onplay.apply(a),u=!0);a.setVolume(a._iO.volume,!0);a.setPan(a._iO.pan,!0);a.isHTML5?2>a.instanceCount?(p(),f=a._setup_html5(),a.setPosition(a._iO.position),f.play()):(n=new Audio(a._iO.url),h=function(){t.remove(n,"ended",h);a._onfinish(a);ka(n);n=null},Na=function(){t.remove(n,"canplay",Na);try{n.currentTime= -a._iO.position/1E3}catch(b){}n.play()},t.add(n,"ended",h),a._iO.volume!==g&&(n.volume=Math.max(0,Math.min(1,a._iO.volume/100))),a.muted&&(n.muted=!0),a._iO.position?t.add(n,"canplay",Na):n.play()):(f=k._start(a.id,a._iO.loops||1,9===m?a.position:a.position/1E3,a._iO.multiShot||!1),9!==m||f||a._iO.onplayerror&&a._iO.onplayerror.apply(a))}return a};this.stop=function(b){var c=a._iO;1===a.playState&&(a._onbufferchange(0),a._resetOnPosition(0),a.paused=!1,a.isHTML5||(a.playState=0),y(),c.to&&a.clearOnPosition(c.to), -a.isHTML5?a._a&&(b=a.position,a.setPosition(0),a.position=b,a._a.pause(),a.playState=0,a._onTimer(),M()):(k._stop(a.id,b),c.serverURL&&a.unload()),a.instanceCount=0,a._iO={},c.onstop&&c.onstop.apply(a));return a};this.setAutoPlay=function(b){a._iO.autoPlay=b;a.isHTML5||(k._setAutoPlay(a.id,b),b&&(a.instanceCount||1!==a.readyState||a.instanceCount++))};this.getAutoPlay=function(){return a._iO.autoPlay};this.setPosition=function(b){b===g&&(b=0);var c=a.isHTML5?Math.max(b,0):Math.min(a.duration||a._iO.duration, -Math.max(b,0));a.position=c;b=a.position/1E3;a._resetOnPosition(a.position);a._iO.position=c;if(!a.isHTML5)b=9===m?a.position:b,a.readyState&&2!==a.readyState&&k._setPosition(a.id,b,a.paused||!a.playState,a._iO.multiShot);else if(a._a){if(a._html5_canplay){if(a._a.currentTime!==b)try{a._a.currentTime=b,(0===a.playState||a.paused)&&a._a.pause()}catch(e){}}else if(b)return a;a.paused&&a._onTimer(!0)}return a};this.pause=function(b){if(a.paused||0===a.playState&&1!==a.readyState)return a;a.paused=!0; -a.isHTML5?(a._setup_html5().pause(),M()):(b||b===g)&&k._pause(a.id,a._iO.multiShot);a._iO.onpause&&a._iO.onpause.apply(a);return a};this.resume=function(){var b=a._iO;if(!a.paused)return a;a.paused=!1;a.playState=1;a.isHTML5?(a._setup_html5().play(),p()):(b.isMovieStar&&!b.serverURL&&a.setPosition(a.position),k._pause(a.id,b.multiShot));!u&&b.onplay?(b.onplay.apply(a),u=!0):b.onresume&&b.onresume.apply(a);return a};this.togglePause=function(){if(0===a.playState)return a.play({position:9!==m||a.isHTML5? -a.position/1E3:a.position}),a;a.paused?a.resume():a.pause();return a};this.setPan=function(b,c){b===g&&(b=0);c===g&&(c=!1);a.isHTML5||k._setPan(a.id,b);a._iO.pan=b;c||(a.pan=b,a.options.pan=b);return a};this.setVolume=function(b,e){b===g&&(b=100);e===g&&(e=!1);a.isHTML5?a._a&&(c.muted&&!a.muted&&(a.muted=!0,a._a.muted=!0),a._a.volume=Math.max(0,Math.min(1,b/100))):k._setVolume(a.id,c.muted&&!a.muted||a.muted?0:b);a._iO.volume=b;e||(a.volume=b,a.options.volume=b);return a};this.mute=function(){a.muted= -!0;a.isHTML5?a._a&&(a._a.muted=!0):k._setVolume(a.id,0);return a};this.unmute=function(){a.muted=!1;var b=a._iO.volume!==g;a.isHTML5?a._a&&(a._a.muted=!1):k._setVolume(a.id,b?a._iO.volume:a.options.volume);return a};this.toggleMute=function(){return a.muted?a.unmute():a.mute()};this.onposition=this.onPosition=function(b,c,e){l.push({position:parseInt(b,10),method:c,scope:e!==g?e:a,fired:!1});return a};this.clearOnPosition=function(a,b){var c;a=parseInt(a,10);if(isNaN(a))return!1;for(c=0;c<l.length;c++)a!== -l[c].position||b&&b!==l[c].method||(l[c].fired&&v--,l.splice(c,1))};this._processOnPosition=function(){var b,c;b=l.length;if(!b||!a.playState||v>=b)return!1;for(--b;0<=b;b--)c=l[b],!c.fired&&a.position>=c.position&&(c.fired=!0,v++,c.method.apply(c.scope,[c.position]));return!0};this._resetOnPosition=function(a){var b,c;b=l.length;if(!b)return!1;for(--b;0<=b;b--)c=l[b],c.fired&&a<=c.position&&(c.fired=!1,v--);return!0};B=function(){var b=a._iO,c=b.from,e=b.to,d,f;f=function(){a.clearOnPosition(e,f); -a.stop()};d=function(){if(null!==e&&!isNaN(e))a.onPosition(e,f)};null===c||isNaN(c)||(b.position=c,b.multiShot=!1,d());return b};r=function(){var b,c=a._iO.onposition;if(c)for(b in c)if(c.hasOwnProperty(b))a.onPosition(parseInt(b,10),c[b])};y=function(){var b,c=a._iO.onposition;if(c)for(b in c)c.hasOwnProperty(b)&&a.clearOnPosition(parseInt(b,10))};p=function(){a.isHTML5&&Va(a)};M=function(){a.isHTML5&&Wa(a)};f=function(b){b||(l=[],v=0);u=!1;a._hasTimer=null;a._a=null;a._html5_canplay=!1;a.bytesLoaded= -null;a.bytesTotal=null;a.duration=a._iO&&a._iO.duration?a._iO.duration:null;a.durationEstimate=null;a.buffered=[];a.eqData=[];a.eqData.left=[];a.eqData.right=[];a.failures=0;a.isBuffering=!1;a.instanceOptions={};a.instanceCount=0;a.loaded=!1;a.metadata={};a.readyState=0;a.muted=!1;a.paused=!1;a.peakData={left:0,right:0};a.waveformData={left:[],right:[]};a.playState=0;a.position=null;a.id3={}};f();this._onTimer=function(b){var c,f=!1,g={};if(a._hasTimer||b)return a._a&&(b||(0<a.playState||1===a.readyState)&& -!a.paused)&&(c=a._get_html5_duration(),c!==e&&(e=c,a.duration=c,f=!0),a.durationEstimate=a.duration,c=1E3*a._a.currentTime||0,c!==d&&(d=c,f=!0),(f||b)&&a._whileplaying(c,g,g,g,g)),f};this._get_html5_duration=function(){var b=a._iO;return(b=a._a&&a._a.duration?1E3*a._a.duration:b&&b.duration?b.duration:null)&&!isNaN(b)&&Infinity!==b?b:null};this._apply_loop=function(a,b){a.loop=1<b?"loop":""};this._setup_html5=function(b){b=x(a._iO,b);var c=z?Oa:a._a,e=decodeURI(b.url),d;z?e===decodeURI(Ea)&&(d=!0): -e===decodeURI(w)&&(d=!0);if(c){if(c._s)if(z)c._s&&c._s.playState&&!d&&c._s.stop();else if(!z&&e===decodeURI(w))return a._apply_loop(c,b.loops),c;d||(w&&f(!1),c.src=b.url,Ea=w=a.url=b.url,c._called_load=!1)}else b.autoLoad||b.autoPlay?(a._a=new Audio(b.url),a._a.load()):a._a=Ja&&10>opera.version()?new Audio(null):new Audio,c=a._a,c._called_load=!1,z&&(Oa=c);a.isHTML5=!0;a._a=c;c._s=a;n();a._apply_loop(c,b.loops);b.autoLoad||b.autoPlay?a.load():(c.autobuffer=!1,c.preload="auto");return c};n=function(){if(a._a._added_events)return!1; -var b;a._a._added_events=!0;for(b in C)C.hasOwnProperty(b)&&a._a&&a._a.addEventListener(b,C[b],!1);return!0};h=function(){var b;a._a._added_events=!1;for(b in C)C.hasOwnProperty(b)&&a._a&&a._a.removeEventListener(b,C[b],!1)};this._onload=function(b){var c=!!b||!a.isHTML5&&8===m&&a.duration;a.loaded=c;a.readyState=c?3:2;a._onbufferchange(0);a._iO.onload&&la(a,function(){a._iO.onload.apply(a,[c])});return!0};this._onbufferchange=function(b){if(0===a.playState||b&&a.isBuffering||!b&&!a.isBuffering)return!1; -a.isBuffering=1===b;a._iO.onbufferchange&&a._iO.onbufferchange.apply(a,[b]);return!0};this._onsuspend=function(){a._iO.onsuspend&&a._iO.onsuspend.apply(a);return!0};this._onfailure=function(b,c,e){a.failures++;if(a._iO.onfailure&&1===a.failures)a._iO.onfailure(b,c,e)};this._onwarning=function(b,c,e){if(a._iO.onwarning)a._iO.onwarning(b,c,e)};this._onfinish=function(){var b=a._iO.onfinish;a._onbufferchange(0);a._resetOnPosition(0);a.instanceCount&&(a.instanceCount--,a.instanceCount||(y(),a.playState= -0,a.paused=!1,a.instanceCount=0,a.instanceOptions={},a._iO={},M(),a.isHTML5&&(a.position=0)),(!a.instanceCount||a._iO.multiShotEvents)&&b&&la(a,function(){b.apply(a)}))};this._whileloading=function(b,c,e,d){var f=a._iO;a.bytesLoaded=b;a.bytesTotal=c;a.duration=Math.floor(e);a.bufferLength=d;a.durationEstimate=a.isHTML5||f.isMovieStar?a.duration:f.duration?a.duration>f.duration?a.duration:f.duration:parseInt(a.bytesTotal/a.bytesLoaded*a.duration,10);a.isHTML5||(a.buffered=[{start:0,end:a.duration}]); -(3!==a.readyState||a.isHTML5)&&f.whileloading&&f.whileloading.apply(a)};this._whileplaying=function(b,c,e,d,f){var n=a._iO;if(isNaN(b)||null===b)return!1;a.position=Math.max(0,b);a._processOnPosition();!a.isHTML5&&8<m&&(n.usePeakData&&c!==g&&c&&(a.peakData={left:c.leftPeak,right:c.rightPeak}),n.useWaveformData&&e!==g&&e&&(a.waveformData={left:e.split(","),right:d.split(",")}),n.useEQData&&f!==g&&f&&f.leftEQ&&(b=f.leftEQ.split(","),a.eqData=b,a.eqData.left=b,f.rightEQ!==g&&f.rightEQ&&(a.eqData.right= -f.rightEQ.split(","))));1===a.playState&&(a.isHTML5||8!==m||a.position||!a.isBuffering||a._onbufferchange(0),n.whileplaying&&n.whileplaying.apply(a));return!0};this._oncaptiondata=function(b){a.captiondata=b;a._iO.oncaptiondata&&a._iO.oncaptiondata.apply(a,[b])};this._onmetadata=function(b,c){var e={},d,f;d=0;for(f=b.length;d<f;d++)e[b[d]]=c[d];a.metadata=e;a._iO.onmetadata&&a._iO.onmetadata.call(a,a.metadata)};this._onid3=function(b,c){var e=[],d,f;d=0;for(f=b.length;d<f;d++)e[b[d]]=c[d];a.id3=x(a.id3, -e);a._iO.onid3&&a._iO.onid3.apply(a)};this._onconnect=function(b){b=1===b;if(a.connected=b)a.failures=0,q(a.id)&&(a.getAutoPlay()?a.play(g,a.getAutoPlay()):a._iO.autoLoad&&a.load()),a._iO.onconnect&&a._iO.onconnect.apply(a,[b])};this._ondataerror=function(b){0<a.playState&&a._iO.ondataerror&&a._iO.ondataerror.apply(a)}};xa=function(){return p.body||p.getElementsByTagName("div")[0]};aa=function(b){return p.getElementById(b)};x=function(b,e){var d=b||{},a,f;a=e===g?c.defaultOptions:e;for(f in a)a.hasOwnProperty(f)&& -d[f]===g&&(d[f]="object"!==typeof a[f]||null===a[f]?a[f]:x(d[f],a[f]));return d};la=function(b,c){b.isHTML5||8!==m?c():h.setTimeout(c,0)};ba={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1};sa=function(b,e){var d,a=!0,f=e!==g,n=c.setupOptions;for(d in b)if(b.hasOwnProperty(d))if("object"!==typeof b[d]||null===b[d]||b[d]instanceof Array||b[d]instanceof RegExp)f&&ba[e]!==g?c[e][d]=b[d]:n[d]!==g?(c.setupOptions[d]=b[d],c[d]=b[d]):ba[d]===g?a=!1:c[d]instanceof Function?c[d].apply(c, -b[d]instanceof Array?b[d]:[b[d]]):c[d]=b[d];else if(ba[d]===g)a=!1;else return sa(b[d],d);return a};t=function(){function b(a){a=hb.call(a);var b=a.length;d?(a[1]="on"+a[1],3<b&&a.pop()):3===b&&a.push(!1);return a}function c(b,e){var g=b.shift(),h=[a[e]];if(d)g[h](b[0],b[1]);else g[h].apply(g,b)}var d=h.attachEvent,a={add:d?"attachEvent":"addEventListener",remove:d?"detachEvent":"removeEventListener"};return{add:function(){c(b(arguments),"add")},remove:function(){c(b(arguments),"remove")}}}();C={abort:r(function(){}), -canplay:r(function(){var b=this._s,c;if(b._html5_canplay)return!0;b._html5_canplay=!0;b._onbufferchange(0);c=b._iO.position===g||isNaN(b._iO.position)?null:b._iO.position/1E3;if(this.currentTime!==c)try{this.currentTime=c}catch(d){}b._iO._oncanplay&&b._iO._oncanplay()}),canplaythrough:r(function(){var b=this._s;b.loaded||(b._onbufferchange(0),b._whileloading(b.bytesLoaded,b.bytesTotal,b._get_html5_duration()),b._onload(!0))}),durationchange:r(function(){var b=this._s,c;c=b._get_html5_duration();isNaN(c)|| -c===b.duration||(b.durationEstimate=b.duration=c)}),ended:r(function(){this._s._onfinish()}),error:r(function(){this._s._onload(!1)}),loadeddata:r(function(){var b=this._s;b._loaded||ma||(b.duration=b._get_html5_duration())}),loadedmetadata:r(function(){}),loadstart:r(function(){this._s._onbufferchange(1)}),play:r(function(){this._s._onbufferchange(0)}),playing:r(function(){this._s._onbufferchange(0)}),progress:r(function(b){var c=this._s,d,a,f=0,f=b.target.buffered;d=b.loaded||0;var g=b.total||1; -c.buffered=[];if(f&&f.length){d=0;for(a=f.length;d<a;d++)c.buffered.push({start:1E3*f.start(d),end:1E3*f.end(d)});f=1E3*(f.end(0)-f.start(0));d=Math.min(1,f/(1E3*b.target.duration))}isNaN(d)||(c._whileloading(d,g,c._get_html5_duration()),d&&g&&d===g&&C.canplaythrough.call(this,b))}),ratechange:r(function(){}),suspend:r(function(b){var c=this._s;C.progress.call(this,b);c._onsuspend()}),stalled:r(function(){}),timeupdate:r(function(){this._s._onTimer()}),waiting:r(function(){this._s._onbufferchange(1)})}; -ja=function(b){return b&&(b.type||b.url||b.serverURL)?b.serverURL||b.type&&Z(b.type)?!1:b.type?Y({type:b.type}):Y({url:b.url})||c.html5Only||b.url.match(/data\:/i):!1};ka=function(b){var e;b&&(e=ma?"about:blank":c.html5.canPlayType("audio/wav")?"data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==":"about:blank",b.src=e,b._called_unload!==g&&(b._called_load=!1));z&&(Ea=null);return e};Y=function(b){if(!c.useHTML5Audio||!c.hasHTML5)return!1;var e=b.url||null;b=b.type|| -null;var d=c.audioFormats,a;if(b&&c.html5[b]!==g)return c.html5[b]&&!Z(b);if(!D){D=[];for(a in d)d.hasOwnProperty(a)&&(D.push(a),d[a].related&&(D=D.concat(d[a].related)));D=new RegExp("\\.("+D.join("|")+")(\\?.*)?$","i")}(a=e?e.toLowerCase().match(D):null)&&a.length?a=a[1]:b&&(e=b.indexOf(";"),a=(-1!==e?b.substr(0,e):b).substr(6));a&&c.html5[a]!==g?e=c.html5[a]&&!Z(a):(b="audio/"+a,e=c.html5.canPlayType({type:b}),e=(c.html5[a]=e)&&c.html5[b]&&!Z(b));return e};Za=function(){function b(a){var b,d=b= -!1;if(!e||"function"!==typeof e.canPlayType)return b;if(a instanceof Array){h=0;for(b=a.length;h<b;h++)if(c.html5[a[h]]||e.canPlayType(a[h]).match(c.html5Test))d=!0,c.html5[a[h]]=!0,c.flash[a[h]]=!!a[h].match(db);b=d}else a=e&&"function"===typeof e.canPlayType?e.canPlayType(a):!1,b=!(!a||!a.match(c.html5Test));return b}if(!c.useHTML5Audio||!c.hasHTML5)return v=c.html5.usingFlash=!0,!1;var e=Audio!==g?Ja&&10>opera.version()?new Audio(null):new Audio:null,d,a,f={},n,h;n=c.audioFormats;for(d in n)if(n.hasOwnProperty(d)&& -(a="audio/"+d,f[d]=b(n[d].type),f[a]=f[d],d.match(db)?(c.flash[d]=!0,c.flash[a]=!0):(c.flash[d]=!1,c.flash[a]=!1),n[d]&&n[d].related))for(h=n[d].related.length-1;0<=h;h--)f["audio/"+n[d].related[h]]=f[d],c.html5[n[d].related[h]]=f[d],c.flash[n[d].related[h]]=f[d];f.canPlayType=e?b:null;c.html5=x(c.html5,f);c.html5.usingFlash=Ya();v=c.html5.usingFlash;return!0};J={};T=function(){};fa=function(b){8===m&&1<b.loops&&b.stream&&(b.stream=!1);return b};ga=function(b,c){b&&!b.usePolicyFile&&(b.onid3||b.usePeakData|| -b.useWaveformData||b.useEQData)&&(b.usePolicyFile=!0);return b};pa=function(){return!1};Ta=function(b){for(var c in b)b.hasOwnProperty(c)&&"function"===typeof b[c]&&(b[c]=pa)};za=function(b){b===g&&(b=!1);(B||b)&&c.disable(b)};Ua=function(b){var e=null;if(b)if(b.match(/\.swf(\?.*)?$/i)){if(e=b.substr(b.toLowerCase().lastIndexOf(".swf?")+4))return b}else b.lastIndexOf("/")!==b.length-1&&(b+="/");b=(b&&-1!==b.lastIndexOf("/")?b.substr(0,b.lastIndexOf("/")+1):"./")+c.movieURL;c.noSWFCache&&(b+="?ts="+ -(new Date).getTime());return b};va=function(){m=parseInt(c.flashVersion,10);8!==m&&9!==m&&(c.flashVersion=m=8);var b=c.debugMode||c.debugFlash?"_debug.swf":".swf";c.useHTML5Audio&&!c.html5Only&&c.audioFormats.mp4.required&&9>m&&(c.flashVersion=m=9);c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===m?" (AS3/Flash 9)":" (AS2/Flash 8)");8<m?(c.defaultOptions=x(c.defaultOptions,c.flash9Options),c.features.buffering=!0,c.defaultOptions=x(c.defaultOptions,c.movieStarOptions),c.filePatterns.flash9= -new RegExp("\\.(mp3|"+fb.join("|")+")(\\?.*)?$","i"),c.features.movieStar=!0):c.features.movieStar=!1;c.filePattern=c.filePatterns[8!==m?"flash9":"flash8"];c.movieURL=(8===m?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",b);c.features.peakData=c.features.waveformData=c.features.eqData=8<m};Sa=function(b,c){if(!k)return!1;k._setPolling(b,c)};ya=function(){};q=this.getSoundById;L=function(){var b=[];c.debugMode&&b.push("sm2_debug");c.debugFlash&&b.push("flash_debug");c.useHighPerformance&& -b.push("high_performance");return b.join(" ")};Ba=function(){T("fbHandler");var b=c.getMoviePercent(),e={type:"FLASHBLOCK"};if(c.html5Only)return!1;c.ok()?c.oMC&&(c.oMC.className=[L(),"movieContainer","swf_loaded"+(c.didFlashBlock?" swf_unblocked":"")].join(" ")):(v&&(c.oMC.className=L()+" movieContainer "+(null===b?"swf_timedout":"swf_error")),c.didFlashBlock=!0,F({type:"ontimeout",ignoreInit:!0,error:e}),K(e))};ta=function(b,c,d){y[b]===g&&(y[b]=[]);y[b].push({method:c,scope:d||null,fired:!1})}; -F=function(b){b||(b={type:c.ok()?"onready":"ontimeout"});if(!l&&b&&!b.ignoreInit||"ontimeout"===b.type&&(c.ok()||B&&!b.ignoreInit))return!1;var e={success:b&&b.ignoreInit?c.ok():!B},d=b&&b.type?y[b.type]||[]:[],a=[],f,e=[e],g=v&&!c.ok();b.error&&(e[0].error=b.error);b=0;for(f=d.length;b<f;b++)!0!==d[b].fired&&a.push(d[b]);if(a.length)for(b=0,f=a.length;b<f;b++)a[b].scope?a[b].method.apply(a[b].scope,e):a[b].method.apply(this,e),g||(a[b].fired=!0);return!0};H=function(){h.setTimeout(function(){c.useFlashBlock&& -Ba();F();"function"===typeof c.onload&&c.onload.apply(h);c.waitForWindowLoad&&t.add(h,"load",H)},1)};Fa=function(){if(A!==g)return A;var b=!1,c=navigator,d=c.plugins,a,f=h.ActiveXObject;if(d&&d.length)(c=c.mimeTypes)&&c["application/x-shockwave-flash"]&&c["application/x-shockwave-flash"].enabledPlugin&&c["application/x-shockwave-flash"].enabledPlugin.description&&(b=!0);else if(f!==g&&!u.match(/MSAppHost/i)){try{a=new f("ShockwaveFlash.ShockwaveFlash")}catch(n){a=null}b=!!a}return A=b};Ya=function(){var b, -e,d=c.audioFormats;Ha&&u.match(/os (1|2|3_0|3_1)\s/i)?(c.hasHTML5=!1,c.html5Only=!0,c.oMC&&(c.oMC.style.display="none")):!c.useHTML5Audio||c.html5&&c.html5.canPlayType||(c.hasHTML5=!1);if(c.useHTML5Audio&&c.hasHTML5)for(e in X=!0,d)d.hasOwnProperty(e)&&d[e].required&&(c.html5.canPlayType(d[e].type)?c.preferFlash&&(c.flash[e]||c.flash[d[e].type])&&(b=!0):(X=!1,b=!0));c.ignoreFlash&&(b=!1,X=!0);c.html5Only=c.hasHTML5&&c.useHTML5Audio&&!b;return!c.html5Only};ia=function(b){var e,d,a=0;if(b instanceof -Array){e=0;for(d=b.length;e<d;e++)if(b[e]instanceof Object){if(c.canPlayMIME(b[e].type)){a=e;break}}else if(c.canPlayURL(b[e])){a=e;break}b[a].url&&(b[a]=b[a].url);b=b[a]}return b};Va=function(b){b._hasTimer||(b._hasTimer=!0,!na&&c.html5PollingInterval&&(null===V&&0===ha&&(V=setInterval(Xa,c.html5PollingInterval)),ha++))};Wa=function(b){b._hasTimer&&(b._hasTimer=!1,!na&&c.html5PollingInterval&&ha--)};Xa=function(){var b;if(null!==V&&!ha)return clearInterval(V),V=null,!1;for(b=c.soundIDs.length-1;0<= -b;b--)c.sounds[c.soundIDs[b]].isHTML5&&c.sounds[c.soundIDs[b]]._hasTimer&&c.sounds[c.soundIDs[b]]._onTimer()};K=function(b){b=b!==g?b:{};"function"===typeof c.onerror&&c.onerror.apply(h,[{type:b.type!==g?b.type:null}]);b.fatal!==g&&b.fatal&&c.disable()};$a=function(){if(!bb||!Fa())return!1;var b=c.audioFormats,e,d;for(d in b)if(b.hasOwnProperty(d)&&("mp3"===d||"mp4"===d)&&(c.html5[d]=!1,b[d]&&b[d].related))for(e=b[d].related.length-1;0<=e;e--)c.html5[b[d].related[e]]=!1};this._setSandboxType=function(b){}; -this._externalInterfaceOK=function(b){if(c.swfLoaded)return!1;c.swfLoaded=!0;oa=!1;bb&&$a();setTimeout(qa,E?100:1)};ea=function(b,e){function d(a,b){return'<param name="'+a+'" value="'+b+'" />'}if(O&&P)return!1;if(c.html5Only)return va(),c.oMC=aa(c.movieID),qa(),P=O=!0,!1;var a=e||c.url,f=c.altURL||a,h=xa(),k=L(),m=null,m=p.getElementsByTagName("html")[0],l,r,q,m=m&&m.dir&&m.dir.match(/rtl/i);b=b===g?c.id:b;va();c.url=Ua(La?a:f);e=c.url;c.wmode=!c.wmode&&c.useHighPerformance?"transparent":c.wmode; -null!==c.wmode&&(u.match(/msie 8/i)||!E&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(W.push(J.spcWmode),c.wmode=null);h={name:b,id:b,src:e,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:jb+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:c.wmode,hasPriority:"true"};c.debugFlash&&(h.FlashVars="debug=1");c.wmode||delete h.wmode;if(E)a=p.createElement("div"),r= -['<object id="'+b+'" data="'+e+'" type="'+h.type+'" title="'+h.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',d("movie",e),d("AllowScriptAccess",c.allowScriptAccess),d("quality",h.quality),c.wmode?d("wmode",c.wmode):"",d("bgcolor",c.bgColor),d("hasPriority","true"),c.debugFlash?d("FlashVars",h.FlashVars):"","</object>"].join("");else for(l in a=p.createElement("embed"),h)h.hasOwnProperty(l)&& -a.setAttribute(l,h[l]);ya();k=L();if(h=xa())if(c.oMC=aa(c.movieID)||p.createElement("div"),c.oMC.id)q=c.oMC.className,c.oMC.className=(q?q+" ":"movieContainer")+(k?" "+k:""),c.oMC.appendChild(a),E&&(l=c.oMC.appendChild(p.createElement("div")),l.className="sm2-object-box",l.innerHTML=r),P=!0;else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+k;l=k=null;c.useFlashBlock||(c.useHighPerformance?k={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(k={position:"absolute", -width:"6px",height:"6px",top:"-9999px",left:"-9999px"},m&&(k.left=Math.abs(parseInt(k.left,10))+"px")));ib&&(c.oMC.style.zIndex=1E4);if(!c.debugFlash)for(q in k)k.hasOwnProperty(q)&&(c.oMC.style[q]=k[q]);try{E||c.oMC.appendChild(a),h.appendChild(c.oMC),E&&(l=c.oMC.appendChild(p.createElement("div")),l.className="sm2-object-box",l.innerHTML=r),P=!0}catch(t){throw Error(T("domError")+" \n"+t.toString());}}return O=!0};da=function(){if(c.html5Only)return ea(),!1;if(k||!c.url)return!1;k=c.getMovie(c.id); -k||(S?(E?c.oMC.innerHTML=Aa:c.oMC.appendChild(S),S=null,O=!0):ea(c.id,c.url),k=c.getMovie(c.id));"function"===typeof c.oninitmovie&&setTimeout(c.oninitmovie,1);return!0};I=function(){setTimeout(Ra,1E3)};ua=function(){h.setTimeout(function(){c.setup({preferFlash:!1}).reboot();c.didFlashBlock=!0;c.beginDelayedInit()},1)};Ra=function(){var b,e=!1;if(!c.url||U)return!1;U=!0;t.remove(h,"load",I);if(A&&oa&&!Ka)return!1;l||(b=c.getMoviePercent(),0<b&&100>b&&(e=!0));setTimeout(function(){b=c.getMoviePercent(); -if(e)return U=!1,h.setTimeout(I,1),!1;!l&&cb&&(null===b?c.useFlashBlock||0===c.flashLoadTimeout?c.useFlashBlock&&Ba():!c.useFlashBlock&&X?ua():F({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}}):0!==c.flashLoadTimeout&&(!c.useFlashBlock&&X?ua():za(!0)))},c.flashLoadTimeout)};ca=function(){if(Ka||!oa)return t.remove(h,"focus",ca),!0;Ka=cb=!0;U=!1;I();t.remove(h,"focus",ca);return!0};Q=function(b){if(l)return!1;if(c.html5Only)return l=!0,H(),!0;var e=!0,d;c.useFlashBlock&&c.flashLoadTimeout&& -!c.getMoviePercent()||(l=!0);d={type:!A&&v?"NO_FLASH":"INIT_TIMEOUT"};if(B||b)c.useFlashBlock&&c.oMC&&(c.oMC.className=L()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error")),F({type:"ontimeout",error:d,ignoreInit:!0}),K(d),e=!1;B||(c.waitForWindowLoad&&!ra?t.add(h,"load",H):H());return e};Qa=function(){var b,e=c.setupOptions;for(b in e)e.hasOwnProperty(b)&&(c[b]===g?c[b]=e[b]:c[b]!==e[b]&&(c.setupOptions[b]=c[b]))};qa=function(){if(l)return!1;if(c.html5Only)return l||(t.remove(h,"load", -c.beginDelayedInit),c.enabled=!0,Q()),!0;da();try{k._externalInterfaceTest(!1),Sa(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||k._disableDebug(),c.enabled=!0,c.html5Only||t.add(h,"unload",pa)}catch(b){return K({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),za(!0),Q(),!1}Q();t.remove(h,"load",c.beginDelayedInit);return!0};G=function(){if(R)return!1;R=!0;Qa();ya();!A&&c.hasHTML5&&c.setup({useHTML5Audio:!0,preferFlash:!1});Za();!A&&v&&(W.push(J.needFlash),c.setup({flashLoadTimeout:1})); -p.removeEventListener&&p.removeEventListener("DOMContentLoaded",G,!1);da();return!0};Da=function(){"complete"===p.readyState&&(G(),p.detachEvent("onreadystatechange",Da));return!0};wa=function(){ra=!0;G();t.remove(h,"load",wa)};Fa();t.add(h,"focus",ca);t.add(h,"load",I);t.add(h,"load",wa);p.addEventListener?p.addEventListener("DOMContentLoaded",G,!1):p.attachEvent?p.attachEvent("onreadystatechange",Da):K({type:"NO_DOM2_EVENTS",fatal:!0})}if(!h||!h.document)throw Error("SoundManager requires a browser with window and document objects."); -var N=null;h.SM2_DEFER!==g&&SM2_DEFER||(N=new w);"object"===typeof module&&module&&"object"===typeof module.exports?(module.exports.SoundManager=w,module.exports.soundManager=N):"function"===typeof define&&define.amd&&define(function(){return{constructor:w,getInstance:function(g){!h.soundManager&&g instanceof Function&&(g=g(w),g instanceof w&&(h.soundManager=g));return h.soundManager}}});h.SoundManager=w;h.soundManager=N})(window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-nodebug.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-nodebug.js deleted file mode 100644 index 6a131c033..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2-nodebug.js +++ /dev/null @@ -1,2765 +0,0 @@ -/** @license - * - * SoundManager 2: JavaScript Sound for the Web - * ---------------------------------------------- - * http://schillmania.com/projects/soundmanager2/ - * - * Copyright (c) 2007, Scott Schiller. All rights reserved. - * Code provided under the BSD License: - * http://schillmania.com/projects/soundmanager2/license.txt - * - * V2.97a.20150601 - */ - -/*global window, SM2_DEFER, sm2Debugger, console, document, navigator, setTimeout, setInterval, clearInterval, Audio, opera, module, define */ -/*jslint regexp: true, sloppy: true, white: true, nomen: true, plusplus: true, todo: true */ - -(function(window, _undefined) { -"use strict"; -if (!window || !window.document) { - throw new Error('SoundManager requires a browser with window and document objects.'); -} -var soundManager = null; -function SoundManager(smURL, smID) { - this.setupOptions = { - 'url': (smURL || null), - 'flashVersion': 8, - 'debugMode': true, - 'debugFlash': false, - 'useConsole': true, - 'consoleOnly': true, - 'waitForWindowLoad': false, - 'bgColor': '#ffffff', - 'useHighPerformance': false, - 'flashPollingInterval': null, - 'html5PollingInterval': null, - 'flashLoadTimeout': 1000, - 'wmode': null, - 'allowScriptAccess': 'always', - 'useFlashBlock': false, - 'useHTML5Audio': true, - 'forceUseGlobalHTML5Audio': false, - 'ignoreMobileRestrictions': false, - 'html5Test': /^(probably|maybe)$/i, - 'preferFlash': false, - 'noSWFCache': false, - 'idPrefix': 'sound' - }; - this.defaultOptions = { - 'autoLoad': false, - 'autoPlay': false, - 'from': null, - 'loops': 1, - 'onid3': null, - 'onload': null, - 'whileloading': null, - 'onplay': null, - 'onpause': null, - 'onresume': null, - 'whileplaying': null, - 'onposition': null, - 'onstop': null, - 'onfailure': null, - 'onfinish': null, - 'multiShot': true, - 'multiShotEvents': false, - 'position': null, - 'pan': 0, - 'stream': true, - 'to': null, - 'type': null, - 'usePolicyFile': false, - 'volume': 100 - }; - this.flash9Options = { - 'isMovieStar': null, - 'usePeakData': false, - 'useWaveformData': false, - 'useEQData': false, - 'onbufferchange': null, - 'ondataerror': null - }; - this.movieStarOptions = { - 'bufferTime': 3, - 'serverURL': null, - 'onconnect': null, - 'duration': null - }; - this.audioFormats = { - 'mp3': { - 'type': ['audio/mpeg; codecs="mp3"', 'audio/mpeg', 'audio/mp3', 'audio/MPA', 'audio/mpa-robust'], - 'required': true - }, - 'mp4': { - 'related': ['aac','m4a','m4b'], - 'type': ['audio/mp4; codecs="mp4a.40.2"', 'audio/aac', 'audio/x-m4a', 'audio/MP4A-LATM', 'audio/mpeg4-generic'], - 'required': false - }, - 'ogg': { - 'type': ['audio/ogg; codecs=vorbis'], - 'required': false - }, - 'opus': { - 'type': ['audio/ogg; codecs=opus', 'audio/opus'], - 'required': false - }, - 'wav': { - 'type': ['audio/wav; codecs="1"', 'audio/wav', 'audio/wave', 'audio/x-wav'], - 'required': false - } - }; - this.movieID = 'sm2-container'; - this.id = (smID || 'sm2movie'); - this.debugID = 'soundmanager-debug'; - this.debugURLParam = /([#?&])debug=1/i; - this.versionNumber = 'V2.97a.20150601'; - this.version = null; - this.movieURL = null; - this.altURL = null; - this.swfLoaded = false; - this.enabled = false; - this.oMC = null; - this.sounds = {}; - this.soundIDs = []; - this.muted = false; - this.didFlashBlock = false; - this.filePattern = null; - this.filePatterns = { - 'flash8': /\.mp3(\?.*)?$/i, - 'flash9': /\.mp3(\?.*)?$/i - }; - this.features = { - 'buffering': false, - 'peakData': false, - 'waveformData': false, - 'eqData': false, - 'movieStar': false - }; - this.sandbox = { - }; - this.html5 = { - 'usingFlash': null - }; - this.flash = {}; - this.html5Only = false; - this.ignoreFlash = false; - var SMSound, - sm2 = this, globalHTML5Audio = null, flash = null, sm = 'soundManager', smc = sm + ': ', h5 = 'HTML5::', id, ua = navigator.userAgent, wl = window.location.href.toString(), doc = document, doNothing, setProperties, init, fV, on_queue = [], debugOpen = true, debugTS, didAppend = false, appendSuccess = false, didInit = false, disabled = false, windowLoaded = false, _wDS, wdCount = 0, initComplete, mixin, assign, extraOptions, addOnEvent, processOnEvents, initUserOnload, delayWaitForEI, waitForEI, rebootIntoHTML5, setVersionInfo, handleFocus, strings, initMovie, domContentLoaded, winOnLoad, didDCLoaded, getDocument, createMovie, catchError, setPolling, initDebug, debugLevels = ['log', 'info', 'warn', 'error'], defaultFlashVersion = 8, disableObject, failSafely, normalizeMovieURL, oRemoved = null, oRemovedHTML = null, str, flashBlockHandler, getSWFCSS, swfCSS, toggleDebug, loopFix, policyFix, complain, idCheck, waitingForEI = false, initPending = false, startTimer, stopTimer, timerExecute, h5TimerCount = 0, h5IntervalTimer = null, parseURL, messages = [], - canIgnoreFlash, needsFlash = null, featureCheck, html5OK, html5CanPlay, html5Ext, html5Unload, domContentLoadedIE, testHTML5, event, slice = Array.prototype.slice, useGlobalHTML5Audio = false, lastGlobalHTML5URL, hasFlash, detectFlash, badSafariFix, html5_events, showSupport, flushMessages, wrapCallback, idCounter = 0, didSetup, msecScale = 1000, - is_iDevice = ua.match(/(ipad|iphone|ipod)/i), isAndroid = ua.match(/android/i), isIE = ua.match(/msie/i), - isWebkit = ua.match(/webkit/i), - isSafari = (ua.match(/safari/i) && !ua.match(/chrome/i)), - isOpera = (ua.match(/opera/i)), - mobileHTML5 = (ua.match(/(mobile|pre\/|xoom)/i) || is_iDevice || isAndroid), - isBadSafari = (!wl.match(/usehtml5audio/i) && !wl.match(/sm2\-ignorebadua/i) && isSafari && !ua.match(/silk/i) && ua.match(/OS X 10_6_([3-7])/i)), - hasConsole = (window.console !== _undefined && console.log !== _undefined), - isFocused = (doc.hasFocus !== _undefined ? doc.hasFocus() : null), - tryInitOnFocus = (isSafari && (doc.hasFocus === _undefined || !doc.hasFocus())), - okToDisable = !tryInitOnFocus, - flashMIME = /(mp3|mp4|mpa|m4a|m4b)/i, - emptyURL = 'about:blank', - emptyWAV = 'data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==', - overHTTP = (doc.location ? doc.location.protocol.match(/http/i) : null), - http = (!overHTTP ? 'http:/'+'/' : ''), - netStreamMimeTypes = /^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i, - netStreamTypes = ['mpeg4', 'aac', 'flv', 'mov', 'mp4', 'm4v', 'f4v', 'm4a', 'm4b', 'mp4v', '3gp', '3g2'], - netStreamPattern = new RegExp('\\.(' + netStreamTypes.join('|') + ')(\\?.*)?$', 'i'); - this.mimePattern = /^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i; - this.useAltURL = !overHTTP; - swfCSS = { - 'swfBox': 'sm2-object-box', - 'swfDefault': 'movieContainer', - 'swfError': 'swf_error', - 'swfTimedout': 'swf_timedout', - 'swfLoaded': 'swf_loaded', - 'swfUnblocked': 'swf_unblocked', - 'sm2Debug': 'sm2_debug', - 'highPerf': 'high_performance', - 'flashDebug': 'flash_debug' - }; - this.hasHTML5 = (function() { - try { - return (Audio !== _undefined && (isOpera && opera !== _undefined && opera.version() < 10 ? new Audio(null) : new Audio()).canPlayType !== _undefined); - } catch(e) { - return false; - } - }()); - this.setup = function(options) { - var noURL = (!sm2.url); - if (options !== _undefined && didInit && needsFlash && sm2.ok() && (options.flashVersion !== _undefined || options.url !== _undefined || options.html5Test !== _undefined)) { - } - assign(options); - if (!useGlobalHTML5Audio) { - if (mobileHTML5) { - if (!sm2.setupOptions.ignoreMobileRestrictions || sm2.setupOptions.forceUseGlobalHTML5Audio) { - messages.push(strings.globalHTML5); - useGlobalHTML5Audio = true; - } - } else { - if (sm2.setupOptions.forceUseGlobalHTML5Audio) { - messages.push(strings.globalHTML5); - useGlobalHTML5Audio = true; - } - } - } - if (!didSetup && mobileHTML5) { - if (sm2.setupOptions.ignoreMobileRestrictions) { - messages.push(strings.ignoreMobile); - } else { - sm2.setupOptions.useHTML5Audio = true; - sm2.setupOptions.preferFlash = false; - if (is_iDevice) { - sm2.ignoreFlash = true; - } else if ((isAndroid && !ua.match(/android\s2\.3/i)) || !isAndroid) { - useGlobalHTML5Audio = true; - } - } - } - if (options) { - if (noURL && didDCLoaded && options.url !== _undefined) { - sm2.beginDelayedInit(); - } - if (!didDCLoaded && options.url !== _undefined && doc.readyState === 'complete') { - setTimeout(domContentLoaded, 1); - } - } - didSetup = true; - return sm2; - }; - this.ok = function() { - return (needsFlash ? (didInit && !disabled) : (sm2.useHTML5Audio && sm2.hasHTML5)); - }; - this.supported = this.ok; - this.getMovie = function(smID) { - return id(smID) || doc[smID] || window[smID]; - }; - this.createSound = function(oOptions, _url) { - var cs, cs_string, options, oSound = null; - if (!didInit || !sm2.ok()) { - return false; - } - if (_url !== _undefined) { - oOptions = { - 'id': oOptions, - 'url': _url - }; - } - options = mixin(oOptions); - options.url = parseURL(options.url); - if (options.id === _undefined) { - options.id = sm2.setupOptions.idPrefix + (idCounter++); - } - if (idCheck(options.id, true)) { - return sm2.sounds[options.id]; - } - function make() { - options = loopFix(options); - sm2.sounds[options.id] = new SMSound(options); - sm2.soundIDs.push(options.id); - return sm2.sounds[options.id]; - } - if (html5OK(options)) { - oSound = make(); - oSound._setup_html5(options); - } else { - if (sm2.html5Only) { - return make(); - } - if (sm2.html5.usingFlash && options.url && options.url.match(/data\:/i)) { - return make(); - } - if (fV > 8) { - if (options.isMovieStar === null) { - options.isMovieStar = !!(options.serverURL || (options.type ? options.type.match(netStreamMimeTypes) : false) || (options.url && options.url.match(netStreamPattern))); - } - } - options = policyFix(options, cs); - oSound = make(); - if (fV === 8) { - flash._createSound(options.id, options.loops || 1, options.usePolicyFile); - } else { - flash._createSound(options.id, options.url, options.usePeakData, options.useWaveformData, options.useEQData, options.isMovieStar, (options.isMovieStar ? options.bufferTime : false), options.loops || 1, options.serverURL, options.duration || null, options.autoPlay, true, options.autoLoad, options.usePolicyFile); - if (!options.serverURL) { - oSound.connected = true; - if (options.onconnect) { - options.onconnect.apply(oSound); - } - } - } - if (!options.serverURL && (options.autoLoad || options.autoPlay)) { - oSound.load(options); - } - } - if (!options.serverURL && options.autoPlay) { - oSound.play(); - } - return oSound; - }; - this.destroySound = function(sID, _bFromSound) { - if (!idCheck(sID)) { - return false; - } - var oS = sm2.sounds[sID], i; - oS.stop(); - oS._iO = {}; - oS.unload(); - for (i = 0; i < sm2.soundIDs.length; i++) { - if (sm2.soundIDs[i] === sID) { - sm2.soundIDs.splice(i, 1); - break; - } - } - if (!_bFromSound) { - oS.destruct(true); - } - oS = null; - delete sm2.sounds[sID]; - return true; - }; - this.load = function(sID, oOptions) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].load(oOptions); - }; - this.unload = function(sID) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].unload(); - }; - this.onPosition = function(sID, nPosition, oMethod, oScope) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].onposition(nPosition, oMethod, oScope); - }; - this.onposition = this.onPosition; - this.clearOnPosition = function(sID, nPosition, oMethod) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].clearOnPosition(nPosition, oMethod); - }; - this.play = function(sID, oOptions) { - var result = null, - overloaded = (oOptions && !(oOptions instanceof Object)); - if (!didInit || !sm2.ok()) { - return false; - } - if (!idCheck(sID, overloaded)) { - if (!overloaded) { - return false; - } - if (overloaded) { - oOptions = { - url: oOptions - }; - } - if (oOptions && oOptions.url) { - oOptions.id = sID; - result = sm2.createSound(oOptions).play(); - } - } else if (overloaded) { - oOptions = { - url: oOptions - }; - } - if (result === null) { - result = sm2.sounds[sID].play(oOptions); - } - return result; - }; - this.start = this.play; - this.setPosition = function(sID, nMsecOffset) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].setPosition(nMsecOffset); - }; - this.stop = function(sID) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].stop(); - }; - this.stopAll = function() { - var oSound; - for (oSound in sm2.sounds) { - if (sm2.sounds.hasOwnProperty(oSound)) { - sm2.sounds[oSound].stop(); - } - } - }; - this.pause = function(sID) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].pause(); - }; - this.pauseAll = function() { - var i; - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].pause(); - } - }; - this.resume = function(sID) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].resume(); - }; - this.resumeAll = function() { - var i; - for (i = sm2.soundIDs.length- 1 ; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].resume(); - } - }; - this.togglePause = function(sID) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].togglePause(); - }; - this.setPan = function(sID, nPan) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].setPan(nPan); - }; - this.setVolume = function(sID, nVol) { - var i, j; - if (sID !== _undefined && !isNaN(sID) && nVol === _undefined) { - for (i = 0, j = sm2.soundIDs.length; i < j; i++) { - sm2.sounds[sm2.soundIDs[i]].setVolume(sID); - } - return; - } - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].setVolume(nVol); - }; - this.mute = function(sID) { - var i = 0; - if (sID instanceof String) { - sID = null; - } - if (!sID) { - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].mute(); - } - sm2.muted = true; - } else { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].mute(); - } - return true; - }; - this.muteAll = function() { - sm2.mute(); - }; - this.unmute = function(sID) { - var i; - if (sID instanceof String) { - sID = null; - } - if (!sID) { - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].unmute(); - } - sm2.muted = false; - } else { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].unmute(); - } - return true; - }; - this.unmuteAll = function() { - sm2.unmute(); - }; - this.toggleMute = function(sID) { - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].toggleMute(); - }; - this.getMemoryUse = function() { - var ram = 0; - if (flash && fV !== 8) { - ram = parseInt(flash._getMemoryUse(), 10); - } - return ram; - }; - this.disable = function(bNoDisable) { - var i; - if (bNoDisable === _undefined) { - bNoDisable = false; - } - if (disabled) { - return false; - } - disabled = true; - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - disableObject(sm2.sounds[sm2.soundIDs[i]]); - } - initComplete(bNoDisable); - event.remove(window, 'load', initUserOnload); - return true; - }; - this.canPlayMIME = function(sMIME) { - var result; - if (sm2.hasHTML5) { - result = html5CanPlay({ - type: sMIME - }); - } - if (!result && needsFlash) { - result = (sMIME && sm2.ok() ? !!((fV > 8 ? sMIME.match(netStreamMimeTypes) : null) || sMIME.match(sm2.mimePattern)) : null); - } - return result; - }; - this.canPlayURL = function(sURL) { - var result; - if (sm2.hasHTML5) { - result = html5CanPlay({ - url: sURL - }); - } - if (!result && needsFlash) { - result = (sURL && sm2.ok() ? !!(sURL.match(sm2.filePattern)) : null); - } - return result; - }; - this.canPlayLink = function(oLink) { - if (oLink.type !== _undefined && oLink.type) { - if (sm2.canPlayMIME(oLink.type)) { - return true; - } - } - return sm2.canPlayURL(oLink.href); - }; - this.getSoundById = function(sID, _suppressDebug) { - if (!sID) { - return null; - } - var result = sm2.sounds[sID]; - return result; - }; - this.onready = function(oMethod, oScope) { - var sType = 'onready', - result = false; - if (typeof oMethod === 'function') { - if (!oScope) { - oScope = window; - } - addOnEvent(sType, oMethod, oScope); - processOnEvents(); - result = true; - } else { - throw str('needFunction', sType); - } - return result; - }; - this.ontimeout = function(oMethod, oScope) { - var sType = 'ontimeout', - result = false; - if (typeof oMethod === 'function') { - if (!oScope) { - oScope = window; - } - addOnEvent(sType, oMethod, oScope); - processOnEvents({type:sType}); - result = true; - } else { - throw str('needFunction', sType); - } - return result; - }; - this._writeDebug = function(sText, sTypeOrObject) { - return true; - }; - this._wD = this._writeDebug; - this._debug = function() { - }; - this.reboot = function(resetEvents, excludeInit) { - var i, j, k; - for (i = sm2.soundIDs.length- 1 ; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].destruct(); - } - if (flash) { - try { - if (isIE) { - oRemovedHTML = flash.innerHTML; - } - oRemoved = flash.parentNode.removeChild(flash); - } catch(e) { - } - } - oRemovedHTML = oRemoved = needsFlash = flash = null; - sm2.enabled = didDCLoaded = didInit = waitingForEI = initPending = didAppend = appendSuccess = disabled = useGlobalHTML5Audio = sm2.swfLoaded = false; - sm2.soundIDs = []; - sm2.sounds = {}; - idCounter = 0; - didSetup = false; - if (!resetEvents) { - for (i in on_queue) { - if (on_queue.hasOwnProperty(i)) { - for (j = 0, k = on_queue[i].length; j < k; j++) { - on_queue[i][j].fired = false; - } - } - } - } else { - on_queue = []; - } - sm2.html5 = { - 'usingFlash': null - }; - sm2.flash = {}; - sm2.html5Only = false; - sm2.ignoreFlash = false; - window.setTimeout(function() { - if (!excludeInit) { - sm2.beginDelayedInit(); - } - }, 20); - return sm2; - }; - this.reset = function() { - return sm2.reboot(true, true); - }; - this.getMoviePercent = function() { - return (flash && 'PercentLoaded' in flash ? flash.PercentLoaded() : null); - }; - this.beginDelayedInit = function() { - windowLoaded = true; - domContentLoaded(); - setTimeout(function() { - if (initPending) { - return false; - } - createMovie(); - initMovie(); - initPending = true; - return true; - }, 20); - delayWaitForEI(); - }; - this.destruct = function() { - sm2.disable(true); - }; - SMSound = function(oOptions) { - var s = this, resetProperties, add_html5_events, remove_html5_events, stop_html5_timer, start_html5_timer, attachOnPosition, onplay_called = false, onPositionItems = [], onPositionFired = 0, detachOnPosition, applyFromTo, lastURL = null, lastHTML5State, urlOmitted; - lastHTML5State = { - duration: null, - time: null - }; - this.id = oOptions.id; - this.sID = this.id; - this.url = oOptions.url; - this.options = mixin(oOptions); - this.instanceOptions = this.options; - this._iO = this.instanceOptions; - this.pan = this.options.pan; - this.volume = this.options.volume; - this.isHTML5 = false; - this._a = null; - urlOmitted = (this.url ? false : true); - this.id3 = {}; - this._debug = function() { - }; - this.load = function(oOptions) { - var oSound = null, instanceOptions; - if (oOptions !== _undefined) { - s._iO = mixin(oOptions, s.options); - } else { - oOptions = s.options; - s._iO = oOptions; - if (lastURL && lastURL !== s.url) { - s._iO.url = s.url; - s.url = null; - } - } - if (!s._iO.url) { - s._iO.url = s.url; - } - s._iO.url = parseURL(s._iO.url); - s.instanceOptions = s._iO; - instanceOptions = s._iO; - if (!instanceOptions.url && !s.url) { - return s; - } - if (instanceOptions.url === s.url && s.readyState !== 0 && s.readyState !== 2) { - if (s.readyState === 3 && instanceOptions.onload) { - wrapCallback(s, function() { - instanceOptions.onload.apply(s, [(!!s.duration)]); - }); - } - return s; - } - s.loaded = false; - s.readyState = 1; - s.playState = 0; - s.id3 = {}; - if (html5OK(instanceOptions)) { - oSound = s._setup_html5(instanceOptions); - if (!oSound._called_load) { - s._html5_canplay = false; - if (s.url !== instanceOptions.url) { - s._a.src = instanceOptions.url; - s.setPosition(0); - } - s._a.autobuffer = 'auto'; - s._a.preload = 'auto'; - s._a._called_load = true; - } else { - } - } else { - if (sm2.html5Only) { - return s; - } - if (s._iO.url && s._iO.url.match(/data\:/i)) { - return s; - } - try { - s.isHTML5 = false; - s._iO = policyFix(loopFix(instanceOptions)); - if (s._iO.autoPlay && (s._iO.position || s._iO.from)) { - s._iO.autoPlay = false; - } - instanceOptions = s._iO; - if (fV === 8) { - flash._load(s.id, instanceOptions.url, instanceOptions.stream, instanceOptions.autoPlay, instanceOptions.usePolicyFile); - } else { - flash._load(s.id, instanceOptions.url, !!(instanceOptions.stream), !!(instanceOptions.autoPlay), instanceOptions.loops || 1, !!(instanceOptions.autoLoad), instanceOptions.usePolicyFile); - } - } catch(e) { - catchError({ - type: 'SMSOUND_LOAD_JS_EXCEPTION', - fatal: true - }); - } - } - s.url = instanceOptions.url; - return s; - }; - this.unload = function() { - if (s.readyState !== 0) { - if (!s.isHTML5) { - if (fV === 8) { - flash._unload(s.id, emptyURL); - } else { - flash._unload(s.id); - } - } else { - stop_html5_timer(); - if (s._a) { - s._a.pause(); - lastURL = html5Unload(s._a); - } - } - resetProperties(); - } - return s; - }; - this.destruct = function(_bFromSM) { - if (!s.isHTML5) { - s._iO.onfailure = null; - flash._destroySound(s.id); - } else { - stop_html5_timer(); - if (s._a) { - s._a.pause(); - html5Unload(s._a); - if (!useGlobalHTML5Audio) { - remove_html5_events(); - } - s._a._s = null; - s._a = null; - } - } - if (!_bFromSM) { - sm2.destroySound(s.id, true); - } - }; - this.play = function(oOptions, _updatePlayState) { - var fN, allowMulti, a, onready, - audioClone, onended, oncanplay, - startOK = true, - exit = null; - _updatePlayState = (_updatePlayState === _undefined ? true : _updatePlayState); - if (!oOptions) { - oOptions = {}; - } - if (s.url) { - s._iO.url = s.url; - } - s._iO = mixin(s._iO, s.options); - s._iO = mixin(oOptions, s._iO); - s._iO.url = parseURL(s._iO.url); - s.instanceOptions = s._iO; - if (!s.isHTML5 && s._iO.serverURL && !s.connected) { - if (!s.getAutoPlay()) { - s.setAutoPlay(true); - } - return s; - } - if (html5OK(s._iO)) { - s._setup_html5(s._iO); - start_html5_timer(); - } - if (s.playState === 1 && !s.paused) { - allowMulti = s._iO.multiShot; - if (!allowMulti) { - if (s.isHTML5) { - s.setPosition(s._iO.position); - } - exit = s; - } else { - } - } - if (exit !== null) { - return exit; - } - if (oOptions.url && oOptions.url !== s.url) { - if (!s.readyState && !s.isHTML5 && fV === 8 && urlOmitted) { - urlOmitted = false; - } else { - s.load(s._iO); - } - } - if (!s.loaded) { - if (s.readyState === 0) { - if (!s.isHTML5 && !sm2.html5Only) { - s._iO.autoPlay = true; - s.load(s._iO); - } else if (s.isHTML5) { - s.load(s._iO); - } else { - exit = s; - } - s.instanceOptions = s._iO; - } else if (s.readyState === 2) { - exit = s; - } else { - } - } else { - } - if (exit !== null) { - return exit; - } - if (!s.isHTML5 && fV === 9 && s.position > 0 && s.position === s.duration) { - oOptions.position = 0; - } - if (s.paused && s.position >= 0 && (!s._iO.serverURL || s.position > 0)) { - s.resume(); - } else { - s._iO = mixin(oOptions, s._iO); - if (((!s.isHTML5 && s._iO.position !== null && s._iO.position > 0) || (s._iO.from !== null && s._iO.from > 0) || s._iO.to !== null) && s.instanceCount === 0 && s.playState === 0 && !s._iO.serverURL) { - onready = function() { - s._iO = mixin(oOptions, s._iO); - s.play(s._iO); - }; - if (s.isHTML5 && !s._html5_canplay) { - s.load({ - _oncanplay: onready - }); - exit = false; - } else if (!s.isHTML5 && !s.loaded && (!s.readyState || s.readyState !== 2)) { - s.load({ - onload: onready - }); - exit = false; - } - if (exit !== null) { - return exit; - } - s._iO = applyFromTo(); - } - if (!s.instanceCount || s._iO.multiShotEvents || (s.isHTML5 && s._iO.multiShot && !useGlobalHTML5Audio) || (!s.isHTML5 && fV > 8 && !s.getAutoPlay())) { - s.instanceCount++; - } - if (s._iO.onposition && s.playState === 0) { - attachOnPosition(s); - } - s.playState = 1; - s.paused = false; - s.position = (s._iO.position !== _undefined && !isNaN(s._iO.position) ? s._iO.position : 0); - if (!s.isHTML5) { - s._iO = policyFix(loopFix(s._iO)); - } - if (s._iO.onplay && _updatePlayState) { - s._iO.onplay.apply(s); - onplay_called = true; - } - s.setVolume(s._iO.volume, true); - s.setPan(s._iO.pan, true); - if (!s.isHTML5) { - startOK = flash._start(s.id, s._iO.loops || 1, (fV === 9 ? s.position : s.position / msecScale), s._iO.multiShot || false); - if (fV === 9 && !startOK) { - if (s._iO.onplayerror) { - s._iO.onplayerror.apply(s); - } - } - } else { - if (s.instanceCount < 2) { - start_html5_timer(); - a = s._setup_html5(); - s.setPosition(s._iO.position); - a.play(); - } else { - audioClone = new Audio(s._iO.url); - onended = function() { - event.remove(audioClone, 'ended', onended); - s._onfinish(s); - html5Unload(audioClone); - audioClone = null; - }; - oncanplay = function() { - event.remove(audioClone, 'canplay', oncanplay); - try { - audioClone.currentTime = s._iO.position/msecScale; - } catch(err) { - } - audioClone.play(); - }; - event.add(audioClone, 'ended', onended); - if (s._iO.volume !== _undefined) { - audioClone.volume = Math.max(0, Math.min(1, s._iO.volume/100)); - } - if (s.muted) { - audioClone.muted = true; - } - if (s._iO.position) { - event.add(audioClone, 'canplay', oncanplay); - } else { - audioClone.play(); - } - } - } - } - return s; - }; - this.start = this.play; - this.stop = function(bAll) { - var instanceOptions = s._iO, - originalPosition; - if (s.playState === 1) { - s._onbufferchange(0); - s._resetOnPosition(0); - s.paused = false; - if (!s.isHTML5) { - s.playState = 0; - } - detachOnPosition(); - if (instanceOptions.to) { - s.clearOnPosition(instanceOptions.to); - } - if (!s.isHTML5) { - flash._stop(s.id, bAll); - if (instanceOptions.serverURL) { - s.unload(); - } - } else { - if (s._a) { - originalPosition = s.position; - s.setPosition(0); - s.position = originalPosition; - s._a.pause(); - s.playState = 0; - s._onTimer(); - stop_html5_timer(); - } - } - s.instanceCount = 0; - s._iO = {}; - if (instanceOptions.onstop) { - instanceOptions.onstop.apply(s); - } - } - return s; - }; - this.setAutoPlay = function(autoPlay) { - s._iO.autoPlay = autoPlay; - if (!s.isHTML5) { - flash._setAutoPlay(s.id, autoPlay); - if (autoPlay) { - if (!s.instanceCount && s.readyState === 1) { - s.instanceCount++; - } - } - } - }; - this.getAutoPlay = function() { - return s._iO.autoPlay; - }; - this.setPosition = function(nMsecOffset) { - if (nMsecOffset === _undefined) { - nMsecOffset = 0; - } - var position, position1K, - offset = (s.isHTML5 ? Math.max(nMsecOffset, 0) : Math.min(s.duration || s._iO.duration, Math.max(nMsecOffset, 0))); - s.position = offset; - position1K = s.position/msecScale; - s._resetOnPosition(s.position); - s._iO.position = offset; - if (!s.isHTML5) { - position = (fV === 9 ? s.position : position1K); - if (s.readyState && s.readyState !== 2) { - flash._setPosition(s.id, position, (s.paused || !s.playState), s._iO.multiShot); - } - } else if (s._a) { - if (s._html5_canplay) { - if (s._a.currentTime !== position1K) { - try { - s._a.currentTime = position1K; - if (s.playState === 0 || s.paused) { - s._a.pause(); - } - } catch(e) { - } - } - } else if (position1K) { - return s; - } - if (s.paused) { - s._onTimer(true); - } - } - return s; - }; - this.pause = function(_bCallFlash) { - if (s.paused || (s.playState === 0 && s.readyState !== 1)) { - return s; - } - s.paused = true; - if (!s.isHTML5) { - if (_bCallFlash || _bCallFlash === _undefined) { - flash._pause(s.id, s._iO.multiShot); - } - } else { - s._setup_html5().pause(); - stop_html5_timer(); - } - if (s._iO.onpause) { - s._iO.onpause.apply(s); - } - return s; - }; - this.resume = function() { - var instanceOptions = s._iO; - if (!s.paused) { - return s; - } - s.paused = false; - s.playState = 1; - if (!s.isHTML5) { - if (instanceOptions.isMovieStar && !instanceOptions.serverURL) { - s.setPosition(s.position); - } - flash._pause(s.id, instanceOptions.multiShot); - } else { - s._setup_html5().play(); - start_html5_timer(); - } - if (!onplay_called && instanceOptions.onplay) { - instanceOptions.onplay.apply(s); - onplay_called = true; - } else if (instanceOptions.onresume) { - instanceOptions.onresume.apply(s); - } - return s; - }; - this.togglePause = function() { - if (s.playState === 0) { - s.play({ - position: (fV === 9 && !s.isHTML5 ? s.position : s.position / msecScale) - }); - return s; - } - if (s.paused) { - s.resume(); - } else { - s.pause(); - } - return s; - }; - this.setPan = function(nPan, bInstanceOnly) { - if (nPan === _undefined) { - nPan = 0; - } - if (bInstanceOnly === _undefined) { - bInstanceOnly = false; - } - if (!s.isHTML5) { - flash._setPan(s.id, nPan); - } - s._iO.pan = nPan; - if (!bInstanceOnly) { - s.pan = nPan; - s.options.pan = nPan; - } - return s; - }; - this.setVolume = function(nVol, _bInstanceOnly) { - if (nVol === _undefined) { - nVol = 100; - } - if (_bInstanceOnly === _undefined) { - _bInstanceOnly = false; - } - if (!s.isHTML5) { - flash._setVolume(s.id, (sm2.muted && !s.muted) || s.muted ? 0 : nVol); - } else if (s._a) { - if (sm2.muted && !s.muted) { - s.muted = true; - s._a.muted = true; - } - s._a.volume = Math.max(0, Math.min(1, nVol/100)); - } - s._iO.volume = nVol; - if (!_bInstanceOnly) { - s.volume = nVol; - s.options.volume = nVol; - } - return s; - }; - this.mute = function() { - s.muted = true; - if (!s.isHTML5) { - flash._setVolume(s.id, 0); - } else if (s._a) { - s._a.muted = true; - } - return s; - }; - this.unmute = function() { - s.muted = false; - var hasIO = (s._iO.volume !== _undefined); - if (!s.isHTML5) { - flash._setVolume(s.id, hasIO ? s._iO.volume : s.options.volume); - } else if (s._a) { - s._a.muted = false; - } - return s; - }; - this.toggleMute = function() { - return (s.muted ? s.unmute() : s.mute()); - }; - this.onPosition = function(nPosition, oMethod, oScope) { - onPositionItems.push({ - position: parseInt(nPosition, 10), - method: oMethod, - scope: (oScope !== _undefined ? oScope : s), - fired: false - }); - return s; - }; - this.onposition = this.onPosition; - this.clearOnPosition = function(nPosition, oMethod) { - var i; - nPosition = parseInt(nPosition, 10); - if (isNaN(nPosition)) { - return false; - } - for (i=0; i < onPositionItems.length; i++) { - if (nPosition === onPositionItems[i].position) { - if (!oMethod || (oMethod === onPositionItems[i].method)) { - if (onPositionItems[i].fired) { - onPositionFired--; - } - onPositionItems.splice(i, 1); - } - } - } - }; - this._processOnPosition = function() { - var i, item, j = onPositionItems.length; - if (!j || !s.playState || onPositionFired >= j) { - return false; - } - for (i = j - 1; i >= 0; i--) { - item = onPositionItems[i]; - if (!item.fired && s.position >= item.position) { - item.fired = true; - onPositionFired++; - item.method.apply(item.scope, [item.position]); - j = onPositionItems.length; - } - } - return true; - }; - this._resetOnPosition = function(nPosition) { - var i, item, j = onPositionItems.length; - if (!j) { - return false; - } - for (i = j - 1; i >= 0; i--) { - item = onPositionItems[i]; - if (item.fired && nPosition <= item.position) { - item.fired = false; - onPositionFired--; - } - } - return true; - }; - applyFromTo = function() { - var instanceOptions = s._iO, - f = instanceOptions.from, - t = instanceOptions.to, - start, end; - end = function() { - s.clearOnPosition(t, end); - s.stop(); - }; - start = function() { - if (t !== null && !isNaN(t)) { - s.onPosition(t, end); - } - }; - if (f !== null && !isNaN(f)) { - instanceOptions.position = f; - instanceOptions.multiShot = false; - start(); - } - return instanceOptions; - }; - attachOnPosition = function() { - var item, - op = s._iO.onposition; - if (op) { - for (item in op) { - if (op.hasOwnProperty(item)) { - s.onPosition(parseInt(item, 10), op[item]); - } - } - } - }; - detachOnPosition = function() { - var item, - op = s._iO.onposition; - if (op) { - for (item in op) { - if (op.hasOwnProperty(item)) { - s.clearOnPosition(parseInt(item, 10)); - } - } - } - }; - start_html5_timer = function() { - if (s.isHTML5) { - startTimer(s); - } - }; - stop_html5_timer = function() { - if (s.isHTML5) { - stopTimer(s); - } - }; - resetProperties = function(retainPosition) { - if (!retainPosition) { - onPositionItems = []; - onPositionFired = 0; - } - onplay_called = false; - s._hasTimer = null; - s._a = null; - s._html5_canplay = false; - s.bytesLoaded = null; - s.bytesTotal = null; - s.duration = (s._iO && s._iO.duration ? s._iO.duration : null); - s.durationEstimate = null; - s.buffered = []; - s.eqData = []; - s.eqData.left = []; - s.eqData.right = []; - s.failures = 0; - s.isBuffering = false; - s.instanceOptions = {}; - s.instanceCount = 0; - s.loaded = false; - s.metadata = {}; - s.readyState = 0; - s.muted = false; - s.paused = false; - s.peakData = { - left: 0, - right: 0 - }; - s.waveformData = { - left: [], - right: [] - }; - s.playState = 0; - s.position = null; - s.id3 = {}; - }; - resetProperties(); - this._onTimer = function(bForce) { - var duration, isNew = false, time, x = {}; - if (s._hasTimer || bForce) { - if (s._a && (bForce || ((s.playState > 0 || s.readyState === 1) && !s.paused))) { - duration = s._get_html5_duration(); - if (duration !== lastHTML5State.duration) { - lastHTML5State.duration = duration; - s.duration = duration; - isNew = true; - } - s.durationEstimate = s.duration; - time = (s._a.currentTime * msecScale || 0); - if (time !== lastHTML5State.time) { - lastHTML5State.time = time; - isNew = true; - } - if (isNew || bForce) { - s._whileplaying(time, x, x, x, x); - } - } - return isNew; - } - }; - this._get_html5_duration = function() { - var instanceOptions = s._iO, - d = (s._a && s._a.duration ? s._a.duration * msecScale : (instanceOptions && instanceOptions.duration ? instanceOptions.duration : null)), - result = (d && !isNaN(d) && d !== Infinity ? d : null); - return result; - }; - this._apply_loop = function(a, nLoops) { - a.loop = (nLoops > 1 ? 'loop' : ''); - }; - this._setup_html5 = function(oOptions) { - var instanceOptions = mixin(s._iO, oOptions), - a = useGlobalHTML5Audio ? globalHTML5Audio : s._a, - dURL = decodeURI(instanceOptions.url), - sameURL; - if (useGlobalHTML5Audio) { - if (dURL === decodeURI(lastGlobalHTML5URL)) { - sameURL = true; - } - } else if (dURL === decodeURI(lastURL)) { - sameURL = true; - } - if (a) { - if (a._s) { - if (useGlobalHTML5Audio) { - if (a._s && a._s.playState && !sameURL) { - a._s.stop(); - } - } else if (!useGlobalHTML5Audio && dURL === decodeURI(lastURL)) { - s._apply_loop(a, instanceOptions.loops); - return a; - } - } - if (!sameURL) { - if (lastURL) { - resetProperties(false); - } - a.src = instanceOptions.url; - s.url = instanceOptions.url; - lastURL = instanceOptions.url; - lastGlobalHTML5URL = instanceOptions.url; - a._called_load = false; - } - } else { - if (instanceOptions.autoLoad || instanceOptions.autoPlay) { - s._a = new Audio(instanceOptions.url); - s._a.load(); - } else { - s._a = (isOpera && opera.version() < 10 ? new Audio(null) : new Audio()); - } - a = s._a; - a._called_load = false; - if (useGlobalHTML5Audio) { - globalHTML5Audio = a; - } - } - s.isHTML5 = true; - s._a = a; - a._s = s; - add_html5_events(); - s._apply_loop(a, instanceOptions.loops); - if (instanceOptions.autoLoad || instanceOptions.autoPlay) { - s.load(); - } else { - a.autobuffer = false; - a.preload = 'auto'; - } - return a; - }; - add_html5_events = function() { - if (s._a._added_events) { - return false; - } - var f; - function add(oEvt, oFn, bCapture) { - return s._a ? s._a.addEventListener(oEvt, oFn, bCapture || false) : null; - } - s._a._added_events = true; - for (f in html5_events) { - if (html5_events.hasOwnProperty(f)) { - add(f, html5_events[f]); - } - } - return true; - }; - remove_html5_events = function() { - var f; - function remove(oEvt, oFn, bCapture) { - return (s._a ? s._a.removeEventListener(oEvt, oFn, bCapture || false) : null); - } - s._a._added_events = false; - for (f in html5_events) { - if (html5_events.hasOwnProperty(f)) { - remove(f, html5_events[f]); - } - } - }; - this._onload = function(nSuccess) { - var fN, - loadOK = !!nSuccess || (!s.isHTML5 && fV === 8 && s.duration); - s.loaded = loadOK; - s.readyState = (loadOK ? 3 : 2); - s._onbufferchange(0); - if (s._iO.onload) { - wrapCallback(s, function() { - s._iO.onload.apply(s, [loadOK]); - }); - } - return true; - }; - this._onbufferchange = function(nIsBuffering) { - if (s.playState === 0) { - return false; - } - if ((nIsBuffering && s.isBuffering) || (!nIsBuffering && !s.isBuffering)) { - return false; - } - s.isBuffering = (nIsBuffering === 1); - if (s._iO.onbufferchange) { - s._iO.onbufferchange.apply(s, [nIsBuffering]); - } - return true; - }; - this._onsuspend = function() { - if (s._iO.onsuspend) { - s._iO.onsuspend.apply(s); - } - return true; - }; - this._onfailure = function(msg, level, code) { - s.failures++; - if (s._iO.onfailure && s.failures === 1) { - s._iO.onfailure(msg, level, code); - } else { - } - }; - this._onwarning = function(msg, level, code) { - if (s._iO.onwarning) { - s._iO.onwarning(msg, level, code); - } - }; - this._onfinish = function() { - var io_onfinish = s._iO.onfinish; - s._onbufferchange(0); - s._resetOnPosition(0); - if (s.instanceCount) { - s.instanceCount--; - if (!s.instanceCount) { - detachOnPosition(); - s.playState = 0; - s.paused = false; - s.instanceCount = 0; - s.instanceOptions = {}; - s._iO = {}; - stop_html5_timer(); - if (s.isHTML5) { - s.position = 0; - } - } - if (!s.instanceCount || s._iO.multiShotEvents) { - if (io_onfinish) { - wrapCallback(s, function() { - io_onfinish.apply(s); - }); - } - } - } - }; - this._whileloading = function(nBytesLoaded, nBytesTotal, nDuration, nBufferLength) { - var instanceOptions = s._iO; - s.bytesLoaded = nBytesLoaded; - s.bytesTotal = nBytesTotal; - s.duration = Math.floor(nDuration); - s.bufferLength = nBufferLength; - if (!s.isHTML5 && !instanceOptions.isMovieStar) { - if (instanceOptions.duration) { - s.durationEstimate = (s.duration > instanceOptions.duration) ? s.duration : instanceOptions.duration; - } else { - s.durationEstimate = parseInt((s.bytesTotal / s.bytesLoaded) * s.duration, 10); - } - } else { - s.durationEstimate = s.duration; - } - if (!s.isHTML5) { - s.buffered = [{ - 'start': 0, - 'end': s.duration - }]; - } - if ((s.readyState !== 3 || s.isHTML5) && instanceOptions.whileloading) { - instanceOptions.whileloading.apply(s); - } - }; - this._whileplaying = function(nPosition, oPeakData, oWaveformDataLeft, oWaveformDataRight, oEQData) { - var instanceOptions = s._iO, - eqLeft; - if (isNaN(nPosition) || nPosition === null) { - return false; - } - s.position = Math.max(0, nPosition); - s._processOnPosition(); - if (!s.isHTML5 && fV > 8) { - if (instanceOptions.usePeakData && oPeakData !== _undefined && oPeakData) { - s.peakData = { - left: oPeakData.leftPeak, - right: oPeakData.rightPeak - }; - } - if (instanceOptions.useWaveformData && oWaveformDataLeft !== _undefined && oWaveformDataLeft) { - s.waveformData = { - left: oWaveformDataLeft.split(','), - right: oWaveformDataRight.split(',') - }; - } - if (instanceOptions.useEQData) { - if (oEQData !== _undefined && oEQData && oEQData.leftEQ) { - eqLeft = oEQData.leftEQ.split(','); - s.eqData = eqLeft; - s.eqData.left = eqLeft; - if (oEQData.rightEQ !== _undefined && oEQData.rightEQ) { - s.eqData.right = oEQData.rightEQ.split(','); - } - } - } - } - if (s.playState === 1) { - if (!s.isHTML5 && fV === 8 && !s.position && s.isBuffering) { - s._onbufferchange(0); - } - if (instanceOptions.whileplaying) { - instanceOptions.whileplaying.apply(s); - } - } - return true; - }; - this._oncaptiondata = function(oData) { - s.captiondata = oData; - if (s._iO.oncaptiondata) { - s._iO.oncaptiondata.apply(s, [oData]); - } - }; - this._onmetadata = function(oMDProps, oMDData) { - var oData = {}, i, j; - for (i = 0, j = oMDProps.length; i < j; i++) { - oData[oMDProps[i]] = oMDData[i]; - } - s.metadata = oData; - if (s._iO.onmetadata) { - s._iO.onmetadata.call(s, s.metadata); - } - }; - this._onid3 = function(oID3Props, oID3Data) { - var oData = [], i, j; - for (i = 0, j = oID3Props.length; i < j; i++) { - oData[oID3Props[i]] = oID3Data[i]; - } - s.id3 = mixin(s.id3, oData); - if (s._iO.onid3) { - s._iO.onid3.apply(s); - } - }; - this._onconnect = function(bSuccess) { - bSuccess = (bSuccess === 1); - s.connected = bSuccess; - if (bSuccess) { - s.failures = 0; - if (idCheck(s.id)) { - if (s.getAutoPlay()) { - s.play(_undefined, s.getAutoPlay()); - } else if (s._iO.autoLoad) { - s.load(); - } - } - if (s._iO.onconnect) { - s._iO.onconnect.apply(s, [bSuccess]); - } - } - }; - this._ondataerror = function(sError) { - if (s.playState > 0) { - if (s._iO.ondataerror) { - s._iO.ondataerror.apply(s); - } - } - }; - }; - getDocument = function() { - return (doc.body || doc.getElementsByTagName('div')[0]); - }; - id = function(sID) { - return doc.getElementById(sID); - }; - mixin = function(oMain, oAdd) { - var o1 = (oMain || {}), o2, o; - o2 = (oAdd === _undefined ? sm2.defaultOptions : oAdd); - for (o in o2) { - if (o2.hasOwnProperty(o) && o1[o] === _undefined) { - if (typeof o2[o] !== 'object' || o2[o] === null) { - o1[o] = o2[o]; - } else { - o1[o] = mixin(o1[o], o2[o]); - } - } - } - return o1; - }; - wrapCallback = function(oSound, callback) { - if (!oSound.isHTML5 && fV === 8) { - window.setTimeout(callback, 0); - } else { - callback(); - } - }; - extraOptions = { - 'onready': 1, - 'ontimeout': 1, - 'defaultOptions': 1, - 'flash9Options': 1, - 'movieStarOptions': 1 - }; - assign = function(o, oParent) { - var i, - result = true, - hasParent = (oParent !== _undefined), - setupOptions = sm2.setupOptions, - bonusOptions = extraOptions; - for (i in o) { - if (o.hasOwnProperty(i)) { - if (typeof o[i] !== 'object' || o[i] === null || o[i] instanceof Array || o[i] instanceof RegExp) { - if (hasParent && bonusOptions[oParent] !== _undefined) { - sm2[oParent][i] = o[i]; - } else if (setupOptions[i] !== _undefined) { - sm2.setupOptions[i] = o[i]; - sm2[i] = o[i]; - } else if (bonusOptions[i] === _undefined) { - result = false; - } else { - if (sm2[i] instanceof Function) { - sm2[i].apply(sm2, (o[i] instanceof Array ? o[i] : [o[i]])); - } else { - sm2[i] = o[i]; - } - } - } else { - if (bonusOptions[i] === _undefined) { - result = false; - } else { - return assign(o[i], i); - } - } - } - } - return result; - }; - function preferFlashCheck(kind) { - return (sm2.preferFlash && hasFlash && !sm2.ignoreFlash && (sm2.flash[kind] !== _undefined && sm2.flash[kind])); - } - event = (function() { - var old = (window.attachEvent), - evt = { - add: (old ? 'attachEvent' : 'addEventListener'), - remove: (old ? 'detachEvent' : 'removeEventListener') - }; - function getArgs(oArgs) { - var args = slice.call(oArgs), - len = args.length; - if (old) { - args[1] = 'on' + args[1]; - if (len > 3) { - args.pop(); - } - } else if (len === 3) { - args.push(false); - } - return args; - } - function apply(args, sType) { - var element = args.shift(), - method = [evt[sType]]; - if (old) { - element[method](args[0], args[1]); - } else { - element[method].apply(element, args); - } - } - function add() { - apply(getArgs(arguments), 'add'); - } - function remove() { - apply(getArgs(arguments), 'remove'); - } - return { - 'add': add, - 'remove': remove - }; - }()); - function html5_event(oFn) { - return function(e) { - var s = this._s, - result; - if (!s || !s._a) { - result = null; - } else { - result = oFn.call(this, e); - } - return result; - }; - } - html5_events = { - abort: html5_event(function() { - }), - canplay: html5_event(function() { - var s = this._s, - position1K; - if (s._html5_canplay) { - return true; - } - s._html5_canplay = true; - s._onbufferchange(0); - position1K = (s._iO.position !== _undefined && !isNaN(s._iO.position) ? s._iO.position/msecScale : null); - if (this.currentTime !== position1K) { - try { - this.currentTime = position1K; - } catch(ee) { - } - } - if (s._iO._oncanplay) { - s._iO._oncanplay(); - } - }), - canplaythrough: html5_event(function() { - var s = this._s; - if (!s.loaded) { - s._onbufferchange(0); - s._whileloading(s.bytesLoaded, s.bytesTotal, s._get_html5_duration()); - s._onload(true); - } - }), - durationchange: html5_event(function() { - var s = this._s, - duration; - duration = s._get_html5_duration(); - if (!isNaN(duration) && duration !== s.duration) { - s.durationEstimate = s.duration = duration; - } - }), - ended: html5_event(function() { - var s = this._s; - s._onfinish(); - }), - error: html5_event(function() { - this._s._onload(false); - }), - loadeddata: html5_event(function() { - var s = this._s; - if (!s._loaded && !isSafari) { - s.duration = s._get_html5_duration(); - } - }), - loadedmetadata: html5_event(function() { - }), - loadstart: html5_event(function() { - this._s._onbufferchange(1); - }), - play: html5_event(function() { - this._s._onbufferchange(0); - }), - playing: html5_event(function() { - this._s._onbufferchange(0); - }), - progress: html5_event(function(e) { - var s = this._s, - i, j, progStr, buffered = 0, - isProgress = (e.type === 'progress'), - ranges = e.target.buffered, - loaded = (e.loaded || 0), - total = (e.total || 1); - s.buffered = []; - if (ranges && ranges.length) { - for (i = 0, j = ranges.length; i < j; i++) { - s.buffered.push({ - 'start': ranges.start(i) * msecScale, - 'end': ranges.end(i) * msecScale - }); - } - buffered = (ranges.end(0) - ranges.start(0)) * msecScale; - loaded = Math.min(1, buffered / (e.target.duration * msecScale)); - } - if (!isNaN(loaded)) { - s._whileloading(loaded, total, s._get_html5_duration()); - if (loaded && total && loaded === total) { - html5_events.canplaythrough.call(this, e); - } - } - }), - ratechange: html5_event(function() { - }), - suspend: html5_event(function(e) { - var s = this._s; - html5_events.progress.call(this, e); - s._onsuspend(); - }), - stalled: html5_event(function() { - }), - timeupdate: html5_event(function() { - this._s._onTimer(); - }), - waiting: html5_event(function() { - var s = this._s; - s._onbufferchange(1); - }) - }; - html5OK = function(iO) { - var result; - if (!iO || (!iO.type && !iO.url && !iO.serverURL)) { - result = false; - } else if (iO.serverURL || (iO.type && preferFlashCheck(iO.type))) { - result = false; - } else { - result = ((iO.type ? html5CanPlay({type:iO.type}) : html5CanPlay({url:iO.url}) || sm2.html5Only || iO.url.match(/data\:/i))); - } - return result; - }; - html5Unload = function(oAudio) { - var url; - if (oAudio) { - url = (isSafari ? emptyURL : (sm2.html5.canPlayType('audio/wav') ? emptyWAV : emptyURL)); - oAudio.src = url; - if (oAudio._called_unload !== _undefined) { - oAudio._called_load = false; - } - } - if (useGlobalHTML5Audio) { - lastGlobalHTML5URL = null; - } - return url; - }; - html5CanPlay = function(o) { - if (!sm2.useHTML5Audio || !sm2.hasHTML5) { - return false; - } - var url = (o.url || null), - mime = (o.type || null), - aF = sm2.audioFormats, - result, - offset, - fileExt, - item; - if (mime && sm2.html5[mime] !== _undefined) { - return (sm2.html5[mime] && !preferFlashCheck(mime)); - } - if (!html5Ext) { - html5Ext = []; - for (item in aF) { - if (aF.hasOwnProperty(item)) { - html5Ext.push(item); - if (aF[item].related) { - html5Ext = html5Ext.concat(aF[item].related); - } - } - } - html5Ext = new RegExp('\\.('+html5Ext.join('|')+')(\\?.*)?$','i'); - } - fileExt = (url ? url.toLowerCase().match(html5Ext) : null); - if (!fileExt || !fileExt.length) { - if (!mime) { - result = false; - } else { - offset = mime.indexOf(';'); - fileExt = (offset !== -1 ? mime.substr(0,offset) : mime).substr(6); - } - } else { - fileExt = fileExt[1]; - } - if (fileExt && sm2.html5[fileExt] !== _undefined) { - result = (sm2.html5[fileExt] && !preferFlashCheck(fileExt)); - } else { - mime = 'audio/' + fileExt; - result = sm2.html5.canPlayType({type:mime}); - sm2.html5[fileExt] = result; - result = (result && sm2.html5[mime] && !preferFlashCheck(mime)); - } - return result; - }; - testHTML5 = function() { - if (!sm2.useHTML5Audio || !sm2.hasHTML5) { - sm2.html5.usingFlash = true; - needsFlash = true; - return false; - } - var a = (Audio !== _undefined ? (isOpera && opera.version() < 10 ? new Audio(null) : new Audio()) : null), - item, lookup, support = {}, aF, i; - function cp(m) { - var canPlay, j, - result = false, - isOK = false; - if (!a || typeof a.canPlayType !== 'function') { - return result; - } - if (m instanceof Array) { - for (i = 0, j = m.length; i < j; i++) { - if (sm2.html5[m[i]] || a.canPlayType(m[i]).match(sm2.html5Test)) { - isOK = true; - sm2.html5[m[i]] = true; - sm2.flash[m[i]] = !!(m[i].match(flashMIME)); - } - } - result = isOK; - } else { - canPlay = (a && typeof a.canPlayType === 'function' ? a.canPlayType(m) : false); - result = !!(canPlay && (canPlay.match(sm2.html5Test))); - } - return result; - } - aF = sm2.audioFormats; - for (item in aF) { - if (aF.hasOwnProperty(item)) { - lookup = 'audio/' + item; - support[item] = cp(aF[item].type); - support[lookup] = support[item]; - if (item.match(flashMIME)) { - sm2.flash[item] = true; - sm2.flash[lookup] = true; - } else { - sm2.flash[item] = false; - sm2.flash[lookup] = false; - } - if (aF[item] && aF[item].related) { - for (i = aF[item].related.length - 1; i >= 0; i--) { - support['audio/' + aF[item].related[i]] = support[item]; - sm2.html5[aF[item].related[i]] = support[item]; - sm2.flash[aF[item].related[i]] = support[item]; - } - } - } - } - support.canPlayType = (a ? cp : null); - sm2.html5 = mixin(sm2.html5, support); - sm2.html5.usingFlash = featureCheck(); - needsFlash = sm2.html5.usingFlash; - return true; - }; - strings = { - }; - str = function() { - }; - loopFix = function(sOpt) { - if (fV === 8 && sOpt.loops > 1 && sOpt.stream) { - sOpt.stream = false; - } - return sOpt; - }; - policyFix = function(sOpt, sPre) { - if (sOpt && !sOpt.usePolicyFile && (sOpt.onid3 || sOpt.usePeakData || sOpt.useWaveformData || sOpt.useEQData)) { - sOpt.usePolicyFile = true; - } - return sOpt; - }; - complain = function(sMsg) { - }; - doNothing = function() { - return false; - }; - disableObject = function(o) { - var oProp; - for (oProp in o) { - if (o.hasOwnProperty(oProp) && typeof o[oProp] === 'function') { - o[oProp] = doNothing; - } - } - oProp = null; - }; - failSafely = function(bNoDisable) { - if (bNoDisable === _undefined) { - bNoDisable = false; - } - if (disabled || bNoDisable) { - sm2.disable(bNoDisable); - } - }; - normalizeMovieURL = function(smURL) { - var urlParams = null, url; - if (smURL) { - if (smURL.match(/\.swf(\?.*)?$/i)) { - urlParams = smURL.substr(smURL.toLowerCase().lastIndexOf('.swf?') + 4); - if (urlParams) { - return smURL; - } - } else if (smURL.lastIndexOf('/') !== smURL.length - 1) { - smURL += '/'; - } - } - url = (smURL && smURL.lastIndexOf('/') !== - 1 ? smURL.substr(0, smURL.lastIndexOf('/') + 1) : './') + sm2.movieURL; - if (sm2.noSWFCache) { - url += ('?ts=' + new Date().getTime()); - } - return url; - }; - setVersionInfo = function() { - fV = parseInt(sm2.flashVersion, 10); - if (fV !== 8 && fV !== 9) { - sm2.flashVersion = fV = defaultFlashVersion; - } - var isDebug = (sm2.debugMode || sm2.debugFlash ? '_debug.swf' : '.swf'); - if (sm2.useHTML5Audio && !sm2.html5Only && sm2.audioFormats.mp4.required && fV < 9) { - sm2.flashVersion = fV = 9; - } - sm2.version = sm2.versionNumber + (sm2.html5Only ? ' (HTML5-only mode)' : (fV === 9 ? ' (AS3/Flash 9)' : ' (AS2/Flash 8)')); - if (fV > 8) { - sm2.defaultOptions = mixin(sm2.defaultOptions, sm2.flash9Options); - sm2.features.buffering = true; - sm2.defaultOptions = mixin(sm2.defaultOptions, sm2.movieStarOptions); - sm2.filePatterns.flash9 = new RegExp('\\.(mp3|' + netStreamTypes.join('|') + ')(\\?.*)?$', 'i'); - sm2.features.movieStar = true; - } else { - sm2.features.movieStar = false; - } - sm2.filePattern = sm2.filePatterns[(fV !== 8 ? 'flash9' : 'flash8')]; - sm2.movieURL = (fV === 8 ? 'soundmanager2.swf' : 'soundmanager2_flash9.swf').replace('.swf', isDebug); - sm2.features.peakData = sm2.features.waveformData = sm2.features.eqData = (fV > 8); - }; - setPolling = function(bPolling, bHighPerformance) { - if (!flash) { - return false; - } - flash._setPolling(bPolling, bHighPerformance); - }; - initDebug = function() { - }; - idCheck = this.getSoundById; - getSWFCSS = function() { - var css = []; - if (sm2.debugMode) { - css.push(swfCSS.sm2Debug); - } - if (sm2.debugFlash) { - css.push(swfCSS.flashDebug); - } - if (sm2.useHighPerformance) { - css.push(swfCSS.highPerf); - } - return css.join(' '); - }; - flashBlockHandler = function() { - var name = str('fbHandler'), - p = sm2.getMoviePercent(), - css = swfCSS, - error = { - type:'FLASHBLOCK' - }; - if (sm2.html5Only) { - return false; - } - if (!sm2.ok()) { - if (needsFlash) { - sm2.oMC.className = getSWFCSS() + ' ' + css.swfDefault + ' ' + (p === null ? css.swfTimedout : css.swfError); - } - sm2.didFlashBlock = true; - processOnEvents({ - type: 'ontimeout', - ignoreInit: true, - error: error - }); - catchError(error); - } else { - if (sm2.oMC) { - sm2.oMC.className = [getSWFCSS(), css.swfDefault, css.swfLoaded + (sm2.didFlashBlock ? ' ' + css.swfUnblocked : '')].join(' '); - } - } - }; - addOnEvent = function(sType, oMethod, oScope) { - if (on_queue[sType] === _undefined) { - on_queue[sType] = []; - } - on_queue[sType].push({ - 'method': oMethod, - 'scope': (oScope || null), - 'fired': false - }); - }; - processOnEvents = function(oOptions) { - if (!oOptions) { - oOptions = { - type: (sm2.ok() ? 'onready' : 'ontimeout') - }; - } - if (!didInit && oOptions && !oOptions.ignoreInit) { - return false; - } - if (oOptions.type === 'ontimeout' && (sm2.ok() || (disabled && !oOptions.ignoreInit))) { - return false; - } - var status = { - success: (oOptions && oOptions.ignoreInit ? sm2.ok() : !disabled) - }, - srcQueue = (oOptions && oOptions.type ? on_queue[oOptions.type] || [] : []), - queue = [], i, j, - args = [status], - canRetry = (needsFlash && !sm2.ok()); - if (oOptions.error) { - args[0].error = oOptions.error; - } - for (i = 0, j = srcQueue.length; i < j; i++) { - if (srcQueue[i].fired !== true) { - queue.push(srcQueue[i]); - } - } - if (queue.length) { - for (i = 0, j = queue.length; i < j; i++) { - if (queue[i].scope) { - queue[i].method.apply(queue[i].scope, args); - } else { - queue[i].method.apply(this, args); - } - if (!canRetry) { - queue[i].fired = true; - } - } - } - return true; - }; - initUserOnload = function() { - window.setTimeout(function() { - if (sm2.useFlashBlock) { - flashBlockHandler(); - } - processOnEvents(); - if (typeof sm2.onload === 'function') { - sm2.onload.apply(window); - } - if (sm2.waitForWindowLoad) { - event.add(window, 'load', initUserOnload); - } - }, 1); - }; - detectFlash = function() { - if (hasFlash !== _undefined) { - return hasFlash; - } - var hasPlugin = false, n = navigator, nP = n.plugins, obj, type, types, AX = window.ActiveXObject; - if (nP && nP.length) { - type = 'application/x-shockwave-flash'; - types = n.mimeTypes; - if (types && types[type] && types[type].enabledPlugin && types[type].enabledPlugin.description) { - hasPlugin = true; - } - } else if (AX !== _undefined && !ua.match(/MSAppHost/i)) { - try { - obj = new AX('ShockwaveFlash.ShockwaveFlash'); - } catch(e) { - obj = null; - } - hasPlugin = (!!obj); - obj = null; - } - hasFlash = hasPlugin; - return hasPlugin; - }; -featureCheck = function() { - var flashNeeded, - item, - formats = sm2.audioFormats, - isSpecial = (is_iDevice && !!(ua.match(/os (1|2|3_0|3_1)\s/i))); - if (isSpecial) { - sm2.hasHTML5 = false; - sm2.html5Only = true; - if (sm2.oMC) { - sm2.oMC.style.display = 'none'; - } - } else { - if (sm2.useHTML5Audio) { - if (!sm2.html5 || !sm2.html5.canPlayType) { - sm2.hasHTML5 = false; - } - } - } - if (sm2.useHTML5Audio && sm2.hasHTML5) { - canIgnoreFlash = true; - for (item in formats) { - if (formats.hasOwnProperty(item)) { - if (formats[item].required) { - if (!sm2.html5.canPlayType(formats[item].type)) { - canIgnoreFlash = false; - flashNeeded = true; - } else if (sm2.preferFlash && (sm2.flash[item] || sm2.flash[formats[item].type])) { - flashNeeded = true; - } - } - } - } - } - if (sm2.ignoreFlash) { - flashNeeded = false; - canIgnoreFlash = true; - } - sm2.html5Only = (sm2.hasHTML5 && sm2.useHTML5Audio && !flashNeeded); - return (!sm2.html5Only); - }; - parseURL = function(url) { - var i, j, urlResult = 0, result; - if (url instanceof Array) { - for (i = 0, j = url.length; i < j; i++) { - if (url[i] instanceof Object) { - if (sm2.canPlayMIME(url[i].type)) { - urlResult = i; - break; - } - } else if (sm2.canPlayURL(url[i])) { - urlResult = i; - break; - } - } - if (url[urlResult].url) { - url[urlResult] = url[urlResult].url; - } - result = url[urlResult]; - } else { - result = url; - } - return result; - }; - startTimer = function(oSound) { - if (!oSound._hasTimer) { - oSound._hasTimer = true; - if (!mobileHTML5 && sm2.html5PollingInterval) { - if (h5IntervalTimer === null && h5TimerCount === 0) { - h5IntervalTimer = setInterval(timerExecute, sm2.html5PollingInterval); - } - h5TimerCount++; - } - } - }; - stopTimer = function(oSound) { - if (oSound._hasTimer) { - oSound._hasTimer = false; - if (!mobileHTML5 && sm2.html5PollingInterval) { - h5TimerCount--; - } - } - }; - timerExecute = function() { - var i; - if (h5IntervalTimer !== null && !h5TimerCount) { - clearInterval(h5IntervalTimer); - h5IntervalTimer = null; - return false; - } - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - if (sm2.sounds[sm2.soundIDs[i]].isHTML5 && sm2.sounds[sm2.soundIDs[i]]._hasTimer) { - sm2.sounds[sm2.soundIDs[i]]._onTimer(); - } - } - }; - catchError = function(options) { - options = (options !== _undefined ? options : {}); - if (typeof sm2.onerror === 'function') { - sm2.onerror.apply(window, [{ - type: (options.type !== _undefined ? options.type : null) - }]); - } - if (options.fatal !== _undefined && options.fatal) { - sm2.disable(); - } - }; - badSafariFix = function() { - if (!isBadSafari || !detectFlash()) { - return false; - } - var aF = sm2.audioFormats, i, item; - for (item in aF) { - if (aF.hasOwnProperty(item)) { - if (item === 'mp3' || item === 'mp4') { - sm2.html5[item] = false; - if (aF[item] && aF[item].related) { - for (i = aF[item].related.length - 1; i >= 0; i--) { - sm2.html5[aF[item].related[i]] = false; - } - } - } - } - } - }; - this._setSandboxType = function(sandboxType) { - }; - this._externalInterfaceOK = function(swfVersion) { - if (sm2.swfLoaded) { - return false; - } - var e; - sm2.swfLoaded = true; - tryInitOnFocus = false; - if (isBadSafari) { - badSafariFix(); - } - setTimeout(init, isIE ? 100 : 1); - }; - createMovie = function(smID, smURL) { - if (didAppend && appendSuccess) { - return false; - } - function initMsg() { - } - if (sm2.html5Only) { - setVersionInfo(); - initMsg(); - sm2.oMC = id(sm2.movieID); - init(); - didAppend = true; - appendSuccess = true; - return false; - } - var remoteURL = (smURL || sm2.url), - localURL = (sm2.altURL || remoteURL), - swfTitle = 'JS/Flash audio component (SoundManager 2)', - oTarget = getDocument(), - extraClass = getSWFCSS(), - isRTL = null, - html = doc.getElementsByTagName('html')[0], - oEmbed, oMovie, tmp, movieHTML, oEl, s, x, sClass; - isRTL = (html && html.dir && html.dir.match(/rtl/i)); - smID = (smID === _undefined ? sm2.id : smID); - function param(name, value) { - return '<param name="' + name + '" value="' + value + '" />'; - } - setVersionInfo(); - sm2.url = normalizeMovieURL(overHTTP ? remoteURL : localURL); - smURL = sm2.url; - sm2.wmode = (!sm2.wmode && sm2.useHighPerformance ? 'transparent' : sm2.wmode); - if (sm2.wmode !== null && (ua.match(/msie 8/i) || (!isIE && !sm2.useHighPerformance)) && navigator.platform.match(/win32|win64/i)) { - messages.push(strings.spcWmode); - sm2.wmode = null; - } - oEmbed = { - 'name': smID, - 'id': smID, - 'src': smURL, - 'quality': 'high', - 'allowScriptAccess': sm2.allowScriptAccess, - 'bgcolor': sm2.bgColor, - 'pluginspage': http + 'www.macromedia.com/go/getflashplayer', - 'title': swfTitle, - 'type': 'application/x-shockwave-flash', - 'wmode': sm2.wmode, - 'hasPriority': 'true' - }; - if (sm2.debugFlash) { - oEmbed.FlashVars = 'debug=1'; - } - if (!sm2.wmode) { - delete oEmbed.wmode; - } - if (isIE) { - oMovie = doc.createElement('div'); - movieHTML = [ - '<object id="' + smID + '" data="' + smURL + '" type="' + oEmbed.type + '" title="' + oEmbed.title +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">', - param('movie', smURL), - param('AllowScriptAccess', sm2.allowScriptAccess), - param('quality', oEmbed.quality), - (sm2.wmode? param('wmode', sm2.wmode): ''), - param('bgcolor', sm2.bgColor), - param('hasPriority', 'true'), - (sm2.debugFlash ? param('FlashVars', oEmbed.FlashVars) : ''), - '</object>' - ].join(''); - } else { - oMovie = doc.createElement('embed'); - for (tmp in oEmbed) { - if (oEmbed.hasOwnProperty(tmp)) { - oMovie.setAttribute(tmp, oEmbed[tmp]); - } - } - } - initDebug(); - extraClass = getSWFCSS(); - oTarget = getDocument(); - if (oTarget) { - sm2.oMC = (id(sm2.movieID) || doc.createElement('div')); - if (!sm2.oMC.id) { - sm2.oMC.id = sm2.movieID; - sm2.oMC.className = swfCSS.swfDefault + ' ' + extraClass; - s = null; - oEl = null; - if (!sm2.useFlashBlock) { - if (sm2.useHighPerformance) { - s = { - 'position': 'fixed', - 'width': '8px', - 'height': '8px', - 'bottom': '0px', - 'left': '0px', - 'overflow': 'hidden' - }; - } else { - s = { - 'position': 'absolute', - 'width': '6px', - 'height': '6px', - 'top': '-9999px', - 'left': '-9999px' - }; - if (isRTL) { - s.left = Math.abs(parseInt(s.left, 10)) + 'px'; - } - } - } - if (isWebkit) { - sm2.oMC.style.zIndex = 10000; - } - if (!sm2.debugFlash) { - for (x in s) { - if (s.hasOwnProperty(x)) { - sm2.oMC.style[x] = s[x]; - } - } - } - try { - if (!isIE) { - sm2.oMC.appendChild(oMovie); - } - oTarget.appendChild(sm2.oMC); - if (isIE) { - oEl = sm2.oMC.appendChild(doc.createElement('div')); - oEl.className = swfCSS.swfBox; - oEl.innerHTML = movieHTML; - } - appendSuccess = true; - } catch(e) { - throw new Error(str('domError') + ' \n' + e.toString()); - } - } else { - sClass = sm2.oMC.className; - sm2.oMC.className = (sClass ? sClass + ' ' : swfCSS.swfDefault) + (extraClass ? ' ' + extraClass : ''); - sm2.oMC.appendChild(oMovie); - if (isIE) { - oEl = sm2.oMC.appendChild(doc.createElement('div')); - oEl.className = swfCSS.swfBox; - oEl.innerHTML = movieHTML; - } - appendSuccess = true; - } - } - didAppend = true; - initMsg(); - return true; - }; - initMovie = function() { - if (sm2.html5Only) { - createMovie(); - return false; - } - if (flash) { - return false; - } - if (!sm2.url) { - return false; - } - flash = sm2.getMovie(sm2.id); - if (!flash) { - if (!oRemoved) { - createMovie(sm2.id, sm2.url); - } else { - if (!isIE) { - sm2.oMC.appendChild(oRemoved); - } else { - sm2.oMC.innerHTML = oRemovedHTML; - } - oRemoved = null; - didAppend = true; - } - flash = sm2.getMovie(sm2.id); - } - if (typeof sm2.oninitmovie === 'function') { - setTimeout(sm2.oninitmovie, 1); - } - return true; - }; - delayWaitForEI = function() { - setTimeout(waitForEI, 1000); - }; - rebootIntoHTML5 = function() { - window.setTimeout(function() { - sm2.setup({ - preferFlash: false - }).reboot(); - sm2.didFlashBlock = true; - sm2.beginDelayedInit(); - }, 1); - }; - waitForEI = function() { - var p, - loadIncomplete = false; - if (!sm2.url) { - return false; - } - if (waitingForEI) { - return false; - } - waitingForEI = true; - event.remove(window, 'load', delayWaitForEI); - if (hasFlash && tryInitOnFocus && !isFocused) { - return false; - } - if (!didInit) { - p = sm2.getMoviePercent(); - if (p > 0 && p < 100) { - loadIncomplete = true; - } - } - setTimeout(function() { - p = sm2.getMoviePercent(); - if (loadIncomplete) { - waitingForEI = false; - window.setTimeout(delayWaitForEI, 1); - return false; - } - if (!didInit && okToDisable) { - if (p === null) { - if (sm2.useFlashBlock || sm2.flashLoadTimeout === 0) { - if (sm2.useFlashBlock) { - flashBlockHandler(); - } - } else { - if (!sm2.useFlashBlock && canIgnoreFlash) { - rebootIntoHTML5(); - } else { - processOnEvents({ - type: 'ontimeout', - ignoreInit: true, - error: { - type: 'INIT_FLASHBLOCK' - } - }); - } - } - } else { - if (sm2.flashLoadTimeout === 0) { - } else { - if (!sm2.useFlashBlock && canIgnoreFlash) { - rebootIntoHTML5(); - } else { - failSafely(true); - } - } - } - } - }, sm2.flashLoadTimeout); - }; - handleFocus = function() { - function cleanup() { - event.remove(window, 'focus', handleFocus); - } - if (isFocused || !tryInitOnFocus) { - cleanup(); - return true; - } - okToDisable = true; - isFocused = true; - waitingForEI = false; - delayWaitForEI(); - cleanup(); - return true; - }; - flushMessages = function() { - }; - showSupport = function() { - }; - initComplete = function(bNoDisable) { - if (didInit) { - return false; - } - if (sm2.html5Only) { - didInit = true; - initUserOnload(); - return true; - } - var wasTimeout = (sm2.useFlashBlock && sm2.flashLoadTimeout && !sm2.getMoviePercent()), - result = true, - error; - if (!wasTimeout) { - didInit = true; - } - error = { - type: (!hasFlash && needsFlash ? 'NO_FLASH' : 'INIT_TIMEOUT') - }; - if (disabled || bNoDisable) { - if (sm2.useFlashBlock && sm2.oMC) { - sm2.oMC.className = getSWFCSS() + ' ' + (sm2.getMoviePercent() === null ? swfCSS.swfTimedout : swfCSS.swfError); - } - processOnEvents({ - type: 'ontimeout', - error: error, - ignoreInit: true - }); - catchError(error); - result = false; - } else { - } - if (!disabled) { - if (sm2.waitForWindowLoad && !windowLoaded) { - event.add(window, 'load', initUserOnload); - } else { - initUserOnload(); - } - } - return result; - }; - setProperties = function() { - var i, - o = sm2.setupOptions; - for (i in o) { - if (o.hasOwnProperty(i)) { - if (sm2[i] === _undefined) { - sm2[i] = o[i]; - } else if (sm2[i] !== o[i]) { - sm2.setupOptions[i] = sm2[i]; - } - } - } - }; - init = function() { - if (didInit) { - return false; - } - function cleanup() { - event.remove(window, 'load', sm2.beginDelayedInit); - } - if (sm2.html5Only) { - if (!didInit) { - cleanup(); - sm2.enabled = true; - initComplete(); - } - return true; - } - initMovie(); - try { - flash._externalInterfaceTest(false); - setPolling(true, (sm2.flashPollingInterval || (sm2.useHighPerformance ? 10 : 50))); - if (!sm2.debugMode) { - flash._disableDebug(); - } - sm2.enabled = true; - if (!sm2.html5Only) { - event.add(window, 'unload', doNothing); - } - } catch(e) { - catchError({ - type: 'JS_TO_FLASH_EXCEPTION', - fatal: true - }); - failSafely(true); - initComplete(); - return false; - } - initComplete(); - cleanup(); - return true; - }; - domContentLoaded = function() { - if (didDCLoaded) { - return false; - } - didDCLoaded = true; - setProperties(); - initDebug(); - if (!hasFlash && sm2.hasHTML5) { - sm2.setup({ - 'useHTML5Audio': true, - 'preferFlash': false - }); - } - testHTML5(); - if (!hasFlash && needsFlash) { - messages.push(strings.needFlash); - sm2.setup({ - 'flashLoadTimeout': 1 - }); - } - if (doc.removeEventListener) { - doc.removeEventListener('DOMContentLoaded', domContentLoaded, false); - } - initMovie(); - return true; - }; - domContentLoadedIE = function() { - if (doc.readyState === 'complete') { - domContentLoaded(); - doc.detachEvent('onreadystatechange', domContentLoadedIE); - } - return true; - }; - winOnLoad = function() { - windowLoaded = true; - domContentLoaded(); - event.remove(window, 'load', winOnLoad); - }; - detectFlash(); - event.add(window, 'focus', handleFocus); - event.add(window, 'load', delayWaitForEI); - event.add(window, 'load', winOnLoad); - if (doc.addEventListener) { - doc.addEventListener('DOMContentLoaded', domContentLoaded, false); - } else if (doc.attachEvent) { - doc.attachEvent('onreadystatechange', domContentLoadedIE); - } else { - catchError({ - type: 'NO_DOM2_EVENTS', - fatal: true - }); - } -} -// SM2_DEFER details: http://www.schillmania.com/projects/soundmanager2/doc/getstarted/#lazy-loading -if (window.SM2_DEFER === _undefined || !SM2_DEFER) { - soundManager = new SoundManager(); -} -if (typeof module === 'object' && module && typeof module.exports === 'object') { - module.exports.SoundManager = SoundManager; - module.exports.soundManager = soundManager; -} else if (typeof define === 'function' && define.amd) { - define(function() { - function getInstance(smBuilder) { - if (!window.soundManager && smBuilder instanceof Function) { - var instance = smBuilder(SoundManager); - if (instance instanceof SoundManager) { - window.soundManager = instance; - } - } - return window.soundManager; - } - return { - constructor: SoundManager, - getInstance: getInstance - } - }); -} -// standard browser case -// constructor -window.SoundManager = SoundManager; -// public API, flash callbacks etc. -window.soundManager = soundManager; -}(window)); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2.js deleted file mode 100644 index b33d8c10e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/script/soundmanager2.js +++ /dev/null @@ -1,6325 +0,0 @@ -/** @license - * - * SoundManager 2: JavaScript Sound for the Web - * ---------------------------------------------- - * http://schillmania.com/projects/soundmanager2/ - * - * Copyright (c) 2007, Scott Schiller. All rights reserved. - * Code provided under the BSD License: - * http://schillmania.com/projects/soundmanager2/license.txt - * - * V2.97a.20150601 - */ - -/*global window, SM2_DEFER, sm2Debugger, console, document, navigator, setTimeout, setInterval, clearInterval, Audio, opera, module, define */ -/*jslint regexp: true, sloppy: true, white: true, nomen: true, plusplus: true, todo: true */ - -/** - * About this file - * ------------------------------------------------------------------------------------- - * This is the fully-commented source version of the SoundManager 2 API, - * recommended for use during development and testing. - * - * See soundmanager2-nodebug-jsmin.js for an optimized build (~11KB with gzip.) - * http://schillmania.com/projects/soundmanager2/doc/getstarted/#basic-inclusion - * Alternately, serve this file with gzip for 75% compression savings (~30KB over HTTP.) - * - * You may notice <d> and </d> comments in this source; these are delimiters for - * debug blocks which are removed in the -nodebug builds, further optimizing code size. - * - * Also, as you may note: Whoa, reliable cross-platform/device audio support is hard! ;) - */ - -(function(window, _undefined) { - -"use strict"; - -if (!window || !window.document) { - - // Don't cross the [environment] streams. SM2 expects to be running in a browser, not under node.js etc. - // Additionally, if a browser somehow manages to fail this test, as Egon said: "It would be bad." - - throw new Error('SoundManager requires a browser with window and document objects.'); - -} - -var soundManager = null; - -/** - * The SoundManager constructor. - * - * @constructor - * @param {string} smURL Optional: Path to SWF files - * @param {string} smID Optional: The ID to use for the SWF container element - * @this {SoundManager} - * @return {SoundManager} The new SoundManager instance - */ - -function SoundManager(smURL, smID) { - - /** - * soundManager configuration options list - * defines top-level configuration properties to be applied to the soundManager instance (eg. soundManager.flashVersion) - * to set these properties, use the setup() method - eg., soundManager.setup({url: '/swf/', flashVersion: 9}) - */ - - this.setupOptions = { - - 'url': (smURL || null), // path (directory) where SoundManager 2 SWFs exist, eg., /path/to/swfs/ - 'flashVersion': 8, // flash build to use (8 or 9.) Some API features require 9. - 'debugMode': true, // enable debugging output (console.log() with HTML fallback) - 'debugFlash': false, // enable debugging output inside SWF, troubleshoot Flash/browser issues - 'useConsole': true, // use console.log() if available (otherwise, writes to #soundmanager-debug element) - 'consoleOnly': true, // if console is being used, do not create/write to #soundmanager-debug - 'waitForWindowLoad': false, // force SM2 to wait for window.onload() before trying to call soundManager.onload() - 'bgColor': '#ffffff', // SWF background color. N/A when wmode = 'transparent' - 'useHighPerformance': false, // position:fixed flash movie can help increase js/flash speed, minimize lag - 'flashPollingInterval': null, // msec affecting whileplaying/loading callback frequency. If null, default of 50 msec is used. - 'html5PollingInterval': null, // msec affecting whileplaying() for HTML5 audio, excluding mobile devices. If null, native HTML5 update events are used. - 'flashLoadTimeout': 1000, // msec to wait for flash movie to load before failing (0 = infinity) - 'wmode': null, // flash rendering mode - null, 'transparent', or 'opaque' (last two allow z-index to work) - 'allowScriptAccess': 'always', // for scripting the SWF (object/embed property), 'always' or 'sameDomain' - 'useFlashBlock': false, // *requires flashblock.css, see demos* - allow recovery from flash blockers. Wait indefinitely and apply timeout CSS to SWF, if applicable. - 'useHTML5Audio': true, // use HTML5 Audio() where API is supported (most Safari, Chrome versions), Firefox (MP3/MP4 support varies.) Ideally, transparent vs. Flash API where possible. - 'forceUseGlobalHTML5Audio': false, // if true, a single Audio() object is used for all sounds - and only one can play at a time. - 'ignoreMobileRestrictions': false, // if true, SM2 will not apply global HTML5 audio rules to mobile UAs. iOS > 7 and WebViews may allow multiple Audio() instances. - 'html5Test': /^(probably|maybe)$/i, // HTML5 Audio() format support test. Use /^probably$/i; if you want to be more conservative. - 'preferFlash': false, // overrides useHTML5audio, will use Flash for MP3/MP4/AAC if present. Potential option if HTML5 playback with these formats is quirky. - 'noSWFCache': false, // if true, appends ?ts={date} to break aggressive SWF caching. - 'idPrefix': 'sound' // if an id is not provided to createSound(), this prefix is used for generated IDs - 'sound0', 'sound1' etc. - - }; - - this.defaultOptions = { - - /** - * the default configuration for sound objects made with createSound() and related methods - * eg., volume, auto-load behaviour and so forth - */ - - 'autoLoad': false, // enable automatic loading (otherwise .load() will be called on demand with .play(), the latter being nicer on bandwidth - if you want to .load yourself, you also can) - 'autoPlay': false, // enable playing of file as soon as possible (much faster if "stream" is true) - 'from': null, // position to start playback within a sound (msec), default = beginning - 'loops': 1, // how many times to repeat the sound (position will wrap around to 0, setPosition() will break out of loop when >0) - 'onid3': null, // callback function for "ID3 data is added/available" - 'onload': null, // callback function for "load finished" - 'whileloading': null, // callback function for "download progress update" (X of Y bytes received) - 'onplay': null, // callback for "play" start - 'onpause': null, // callback for "pause" - 'onresume': null, // callback for "resume" (pause toggle) - 'whileplaying': null, // callback during play (position update) - 'onposition': null, // object containing times and function callbacks for positions of interest - 'onstop': null, // callback for "user stop" - 'onfailure': null, // callback function for when playing fails - 'onfinish': null, // callback function for "sound finished playing" - 'multiShot': true, // let sounds "restart" or layer on top of each other when played multiple times, rather than one-shot/one at a time - 'multiShotEvents': false, // fire multiple sound events (currently onfinish() only) when multiShot is enabled - 'position': null, // offset (milliseconds) to seek to within loaded sound data. - 'pan': 0, // "pan" settings, left-to-right, -100 to 100 - 'stream': true, // allows playing before entire file has loaded (recommended) - 'to': null, // position to end playback within a sound (msec), default = end - 'type': null, // MIME-like hint for file pattern / canPlay() tests, eg. audio/mp3 - 'usePolicyFile': false, // enable crossdomain.xml request for audio on remote domains (for ID3/waveform access) - 'volume': 100 // self-explanatory. 0-100, the latter being the max. - - }; - - this.flash9Options = { - - /** - * flash 9-only options, - * merged into defaultOptions if flash 9 is being used - */ - - 'isMovieStar': null, // "MovieStar" MPEG4 audio mode. Null (default) = auto detect MP4, AAC etc. based on URL. true = force on, ignore URL - 'usePeakData': false, // enable left/right channel peak (level) data - 'useWaveformData': false, // enable sound spectrum (raw waveform data) - NOTE: May increase CPU load. - 'useEQData': false, // enable sound EQ (frequency spectrum data) - NOTE: May increase CPU load. - 'onbufferchange': null, // callback for "isBuffering" property change - 'ondataerror': null // callback for waveform/eq data access error (flash playing audio in other tabs/domains) - - }; - - this.movieStarOptions = { - - /** - * flash 9.0r115+ MPEG4 audio options, - * merged into defaultOptions if flash 9+movieStar mode is enabled - */ - - 'bufferTime': 3, // seconds of data to buffer before playback begins (null = flash default of 0.1 seconds - if AAC playback is gappy, try increasing.) - 'serverURL': null, // rtmp: FMS or FMIS server to connect to, required when requesting media via RTMP or one of its variants - 'onconnect': null, // rtmp: callback for connection to flash media server - 'duration': null // rtmp: song duration (msec) - - }; - - this.audioFormats = { - - /** - * determines HTML5 support + flash requirements. - * if no support (via flash and/or HTML5) for a "required" format, SM2 will fail to start. - * flash fallback is used for MP3 or MP4 if HTML5 can't play it (or if preferFlash = true) - */ - - 'mp3': { - 'type': ['audio/mpeg; codecs="mp3"', 'audio/mpeg', 'audio/mp3', 'audio/MPA', 'audio/mpa-robust'], - 'required': true - }, - - 'mp4': { - 'related': ['aac','m4a','m4b'], // additional formats under the MP4 container - 'type': ['audio/mp4; codecs="mp4a.40.2"', 'audio/aac', 'audio/x-m4a', 'audio/MP4A-LATM', 'audio/mpeg4-generic'], - 'required': false - }, - - 'ogg': { - 'type': ['audio/ogg; codecs=vorbis'], - 'required': false - }, - - 'opus': { - 'type': ['audio/ogg; codecs=opus', 'audio/opus'], - 'required': false - }, - - 'wav': { - 'type': ['audio/wav; codecs="1"', 'audio/wav', 'audio/wave', 'audio/x-wav'], - 'required': false - } - - }; - - // HTML attributes (id + class names) for the SWF container - - this.movieID = 'sm2-container'; - this.id = (smID || 'sm2movie'); - - this.debugID = 'soundmanager-debug'; - this.debugURLParam = /([#?&])debug=1/i; - - // dynamic attributes - - this.versionNumber = 'V2.97a.20150601'; - this.version = null; - this.movieURL = null; - this.altURL = null; - this.swfLoaded = false; - this.enabled = false; - this.oMC = null; - this.sounds = {}; - this.soundIDs = []; - this.muted = false; - this.didFlashBlock = false; - this.filePattern = null; - - this.filePatterns = { - 'flash8': /\.mp3(\?.*)?$/i, - 'flash9': /\.mp3(\?.*)?$/i - }; - - // support indicators, set at init - - this.features = { - 'buffering': false, - 'peakData': false, - 'waveformData': false, - 'eqData': false, - 'movieStar': false - }; - - // flash sandbox info, used primarily in troubleshooting - - this.sandbox = { - // <d> - 'type': null, - 'types': { - 'remote': 'remote (domain-based) rules', - 'localWithFile': 'local with file access (no internet access)', - 'localWithNetwork': 'local with network (internet access only, no local access)', - 'localTrusted': 'local, trusted (local+internet access)' - }, - 'description': null, - 'noRemote': null, - 'noLocal': null - // </d> - }; - - /** - * format support (html5/flash) - * stores canPlayType() results based on audioFormats. - * eg. { mp3: boolean, mp4: boolean } - * treat as read-only. - */ - - this.html5 = { - 'usingFlash': null // set if/when flash fallback is needed - }; - - // file type support hash - this.flash = {}; - - // determined at init time - this.html5Only = false; - - // used for special cases (eg. iPad/iPhone/palm OS?) - this.ignoreFlash = false; - - /** - * a few private internals (OK, a lot. :D) - */ - - var SMSound, - sm2 = this, globalHTML5Audio = null, flash = null, sm = 'soundManager', smc = sm + ': ', h5 = 'HTML5::', id, ua = navigator.userAgent, wl = window.location.href.toString(), doc = document, doNothing, setProperties, init, fV, on_queue = [], debugOpen = true, debugTS, didAppend = false, appendSuccess = false, didInit = false, disabled = false, windowLoaded = false, _wDS, wdCount = 0, initComplete, mixin, assign, extraOptions, addOnEvent, processOnEvents, initUserOnload, delayWaitForEI, waitForEI, rebootIntoHTML5, setVersionInfo, handleFocus, strings, initMovie, domContentLoaded, winOnLoad, didDCLoaded, getDocument, createMovie, catchError, setPolling, initDebug, debugLevels = ['log', 'info', 'warn', 'error'], defaultFlashVersion = 8, disableObject, failSafely, normalizeMovieURL, oRemoved = null, oRemovedHTML = null, str, flashBlockHandler, getSWFCSS, swfCSS, toggleDebug, loopFix, policyFix, complain, idCheck, waitingForEI = false, initPending = false, startTimer, stopTimer, timerExecute, h5TimerCount = 0, h5IntervalTimer = null, parseURL, messages = [], - canIgnoreFlash, needsFlash = null, featureCheck, html5OK, html5CanPlay, html5Ext, html5Unload, domContentLoadedIE, testHTML5, event, slice = Array.prototype.slice, useGlobalHTML5Audio = false, lastGlobalHTML5URL, hasFlash, detectFlash, badSafariFix, html5_events, showSupport, flushMessages, wrapCallback, idCounter = 0, didSetup, msecScale = 1000, - is_iDevice = ua.match(/(ipad|iphone|ipod)/i), isAndroid = ua.match(/android/i), isIE = ua.match(/msie/i), - isWebkit = ua.match(/webkit/i), - isSafari = (ua.match(/safari/i) && !ua.match(/chrome/i)), - isOpera = (ua.match(/opera/i)), - mobileHTML5 = (ua.match(/(mobile|pre\/|xoom)/i) || is_iDevice || isAndroid), - isBadSafari = (!wl.match(/usehtml5audio/i) && !wl.match(/sm2\-ignorebadua/i) && isSafari && !ua.match(/silk/i) && ua.match(/OS X 10_6_([3-7])/i)), // Safari 4 and 5 (excluding Kindle Fire, "Silk") occasionally fail to load/play HTML5 audio on Snow Leopard 10.6.3 through 10.6.7 due to bug(s) in QuickTime X and/or other underlying frameworks. :/ Confirmed bug. https://bugs.webkit.org/show_bug.cgi?id=32159 - hasConsole = (window.console !== _undefined && console.log !== _undefined), - isFocused = (doc.hasFocus !== _undefined ? doc.hasFocus() : null), - tryInitOnFocus = (isSafari && (doc.hasFocus === _undefined || !doc.hasFocus())), - okToDisable = !tryInitOnFocus, - flashMIME = /(mp3|mp4|mpa|m4a|m4b)/i, - emptyURL = 'about:blank', // safe URL to unload, or load nothing from (flash 8 + most HTML5 UAs) - emptyWAV = 'data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==', // tiny WAV for HTML5 unloading - overHTTP = (doc.location ? doc.location.protocol.match(/http/i) : null), - http = (!overHTTP ? 'http:/'+'/' : ''), - // mp3, mp4, aac etc. - netStreamMimeTypes = /^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i, - // Flash v9.0r115+ "moviestar" formats - netStreamTypes = ['mpeg4', 'aac', 'flv', 'mov', 'mp4', 'm4v', 'f4v', 'm4a', 'm4b', 'mp4v', '3gp', '3g2'], - netStreamPattern = new RegExp('\\.(' + netStreamTypes.join('|') + ')(\\?.*)?$', 'i'); - - this.mimePattern = /^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i; // default mp3 set - - // use altURL if not "online" - this.useAltURL = !overHTTP; - - swfCSS = { - 'swfBox': 'sm2-object-box', - 'swfDefault': 'movieContainer', - 'swfError': 'swf_error', // SWF loaded, but SM2 couldn't start (other error) - 'swfTimedout': 'swf_timedout', - 'swfLoaded': 'swf_loaded', - 'swfUnblocked': 'swf_unblocked', // or loaded OK - 'sm2Debug': 'sm2_debug', - 'highPerf': 'high_performance', - 'flashDebug': 'flash_debug' - }; - - /** - * basic HTML5 Audio() support test - * try...catch because of IE 9 "not implemented" nonsense - * https://github.com/Modernizr/Modernizr/issues/224 - */ - - this.hasHTML5 = (function() { - try { - // new Audio(null) for stupid Opera 9.64 case, which throws not_enough_arguments exception otherwise. - return (Audio !== _undefined && (isOpera && opera !== _undefined && opera.version() < 10 ? new Audio(null) : new Audio()).canPlayType !== _undefined); - } catch(e) { - return false; - } - }()); - - /** - * Public SoundManager API - * ----------------------- - */ - - /** - * Configures top-level soundManager properties. - * - * @param {object} options Option parameters, eg. { flashVersion: 9, url: '/path/to/swfs/' } - * onready and ontimeout are also accepted parameters. call soundManager.setup() to see the full list. - */ - - this.setup = function(options) { - - var noURL = (!sm2.url); - - // warn if flash options have already been applied - - if (options !== _undefined && didInit && needsFlash && sm2.ok() && (options.flashVersion !== _undefined || options.url !== _undefined || options.html5Test !== _undefined)) { - complain(str('setupLate')); - } - - // TODO: defer: true? - - assign(options); - - if (!useGlobalHTML5Audio) { - - if (mobileHTML5) { - - // force the singleton HTML5 pattern on mobile, by default. - if (!sm2.setupOptions.ignoreMobileRestrictions || sm2.setupOptions.forceUseGlobalHTML5Audio) { - messages.push(strings.globalHTML5); - useGlobalHTML5Audio = true; - } - - } else { - - // only apply singleton HTML5 on desktop if forced. - if (sm2.setupOptions.forceUseGlobalHTML5Audio) { - messages.push(strings.globalHTML5); - useGlobalHTML5Audio = true; - } - - } - - } - - if (!didSetup && mobileHTML5) { - - if (sm2.setupOptions.ignoreMobileRestrictions) { - - messages.push(strings.ignoreMobile); - - } else { - - // prefer HTML5 for mobile + tablet-like devices, probably more reliable vs. flash at this point. - - // <d> - if (!sm2.setupOptions.useHTML5Audio || sm2.setupOptions.preferFlash) { - // notify that defaults are being changed. - sm2._wD(strings.mobileUA); - } - // </d> - - sm2.setupOptions.useHTML5Audio = true; - sm2.setupOptions.preferFlash = false; - - if (is_iDevice) { - - // no flash here. - sm2.ignoreFlash = true; - - } else if ((isAndroid && !ua.match(/android\s2\.3/i)) || !isAndroid) { - - /** - * Android devices tend to work better with a single audio instance, specifically for chained playback of sounds in sequence. - * Common use case: exiting sound onfinish() -> createSound() -> play() - * Presuming similar restrictions for other mobile, non-Android, non-iOS devices. - */ - - // <d> - sm2._wD(strings.globalHTML5); - // </d> - - useGlobalHTML5Audio = true; - - } - - } - - } - - // special case 1: "Late setup". SM2 loaded normally, but user didn't assign flash URL eg., setup({url:...}) before SM2 init. Treat as delayed init. - - if (options) { - - if (noURL && didDCLoaded && options.url !== _undefined) { - sm2.beginDelayedInit(); - } - - // special case 2: If lazy-loading SM2 (DOMContentLoaded has already happened) and user calls setup() with url: parameter, try to init ASAP. - - if (!didDCLoaded && options.url !== _undefined && doc.readyState === 'complete') { - setTimeout(domContentLoaded, 1); - } - - } - - didSetup = true; - - return sm2; - - }; - - this.ok = function() { - - return (needsFlash ? (didInit && !disabled) : (sm2.useHTML5Audio && sm2.hasHTML5)); - - }; - - this.supported = this.ok; // legacy - - this.getMovie = function(smID) { - - // safety net: some old browsers differ on SWF references, possibly related to ExternalInterface / flash version - return id(smID) || doc[smID] || window[smID]; - - }; - - /** - * Creates a SMSound sound object instance. Can also be overloaded, e.g., createSound('mySound', '/some.mp3'); - * - * @param {object} oOptions Sound options (at minimum, url parameter is required.) - * @return {object} SMSound The new SMSound object. - */ - - this.createSound = function(oOptions, _url) { - - var cs, cs_string, options, oSound = null; - - // <d> - cs = sm + '.createSound(): '; - cs_string = cs + str(!didInit ? 'notReady' : 'notOK'); - // </d> - - if (!didInit || !sm2.ok()) { - complain(cs_string); - return false; - } - - if (_url !== _undefined) { - // function overloading in JS! :) ... assume simple createSound(id, url) use case. - oOptions = { - 'id': oOptions, - 'url': _url - }; - } - - // inherit from defaultOptions - options = mixin(oOptions); - - options.url = parseURL(options.url); - - // generate an id, if needed. - if (options.id === _undefined) { - options.id = sm2.setupOptions.idPrefix + (idCounter++); - } - - // <d> - if (options.id.toString().charAt(0).match(/^[0-9]$/)) { - sm2._wD(cs + str('badID', options.id), 2); - } - - sm2._wD(cs + options.id + (options.url ? ' (' + options.url + ')' : ''), 1); - // </d> - - if (idCheck(options.id, true)) { - sm2._wD(cs + options.id + ' exists', 1); - return sm2.sounds[options.id]; - } - - function make() { - - options = loopFix(options); - sm2.sounds[options.id] = new SMSound(options); - sm2.soundIDs.push(options.id); - return sm2.sounds[options.id]; - - } - - if (html5OK(options)) { - - oSound = make(); - // <d> - if (!sm2.html5Only) { - sm2._wD(options.id + ': Using HTML5'); - } - // </d> - oSound._setup_html5(options); - - } else { - - if (sm2.html5Only) { - sm2._wD(options.id + ': No HTML5 support for this sound, and no Flash. Exiting.'); - return make(); - } - - // TODO: Move HTML5/flash checks into generic URL parsing/handling function. - - if (sm2.html5.usingFlash && options.url && options.url.match(/data\:/i)) { - // data: URIs not supported by Flash, either. - sm2._wD(options.id + ': data: URIs not supported via Flash. Exiting.'); - return make(); - } - - if (fV > 8) { - if (options.isMovieStar === null) { - // attempt to detect MPEG-4 formats - options.isMovieStar = !!(options.serverURL || (options.type ? options.type.match(netStreamMimeTypes) : false) || (options.url && options.url.match(netStreamPattern))); - } - // <d> - if (options.isMovieStar) { - sm2._wD(cs + 'using MovieStar handling'); - if (options.loops > 1) { - _wDS('noNSLoop'); - } - } - // </d> - } - - options = policyFix(options, cs); - oSound = make(); - - if (fV === 8) { - flash._createSound(options.id, options.loops || 1, options.usePolicyFile); - } else { - flash._createSound(options.id, options.url, options.usePeakData, options.useWaveformData, options.useEQData, options.isMovieStar, (options.isMovieStar ? options.bufferTime : false), options.loops || 1, options.serverURL, options.duration || null, options.autoPlay, true, options.autoLoad, options.usePolicyFile); - if (!options.serverURL) { - // We are connected immediately - oSound.connected = true; - if (options.onconnect) { - options.onconnect.apply(oSound); - } - } - } - - if (!options.serverURL && (options.autoLoad || options.autoPlay)) { - // call load for non-rtmp streams - oSound.load(options); - } - - } - - // rtmp will play in onconnect - if (!options.serverURL && options.autoPlay) { - oSound.play(); - } - - return oSound; - - }; - - /** - * Destroys a SMSound sound object instance. - * - * @param {string} sID The ID of the sound to destroy - */ - - this.destroySound = function(sID, _bFromSound) { - - // explicitly destroy a sound before normal page unload, etc. - - if (!idCheck(sID)) { - return false; - } - - var oS = sm2.sounds[sID], i; - - oS.stop(); - - // Disable all callbacks after stop(), when the sound is being destroyed - oS._iO = {}; - - oS.unload(); - - for (i = 0; i < sm2.soundIDs.length; i++) { - if (sm2.soundIDs[i] === sID) { - sm2.soundIDs.splice(i, 1); - break; - } - } - - if (!_bFromSound) { - // ignore if being called from SMSound instance - oS.destruct(true); - } - - oS = null; - delete sm2.sounds[sID]; - - return true; - - }; - - /** - * Calls the load() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @param {object} oOptions Optional: Sound options - */ - - this.load = function(sID, oOptions) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].load(oOptions); - - }; - - /** - * Calls the unload() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - */ - - this.unload = function(sID) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].unload(); - - }; - - /** - * Calls the onPosition() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @param {number} nPosition The position to watch for - * @param {function} oMethod The relevant callback to fire - * @param {object} oScope Optional: The scope to apply the callback to - * @return {SMSound} The SMSound object - */ - - this.onPosition = function(sID, nPosition, oMethod, oScope) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].onposition(nPosition, oMethod, oScope); - - }; - - // legacy/backwards-compability: lower-case method name - this.onposition = this.onPosition; - - /** - * Calls the clearOnPosition() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @param {number} nPosition The position to watch for - * @param {function} oMethod Optional: The relevant callback to fire - * @return {SMSound} The SMSound object - */ - - this.clearOnPosition = function(sID, nPosition, oMethod) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].clearOnPosition(nPosition, oMethod); - - }; - - /** - * Calls the play() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @param {object} oOptions Optional: Sound options - * @return {SMSound} The SMSound object - */ - - this.play = function(sID, oOptions) { - - var result = null, - // legacy function-overloading use case: play('mySound', '/path/to/some.mp3'); - overloaded = (oOptions && !(oOptions instanceof Object)); - - if (!didInit || !sm2.ok()) { - complain(sm + '.play(): ' + str(!didInit?'notReady':'notOK')); - return false; - } - - if (!idCheck(sID, overloaded)) { - - if (!overloaded) { - // no sound found for the given ID. Bail. - return false; - } - - if (overloaded) { - oOptions = { - url: oOptions - }; - } - - if (oOptions && oOptions.url) { - // overloading use case, create+play: .play('someID', {url:'/path/to.mp3'}); - sm2._wD(sm + '.play(): Attempting to create "' + sID + '"', 1); - oOptions.id = sID; - result = sm2.createSound(oOptions).play(); - } - - } else if (overloaded) { - - // existing sound object case - oOptions = { - url: oOptions - }; - - } - - if (result === null) { - // default case - result = sm2.sounds[sID].play(oOptions); - } - - return result; - - }; - - // just for convenience - this.start = this.play; - - /** - * Calls the setPosition() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @param {number} nMsecOffset Position (milliseconds) - * @return {SMSound} The SMSound object - */ - - this.setPosition = function(sID, nMsecOffset) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].setPosition(nMsecOffset); - - }; - - /** - * Calls the stop() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @return {SMSound} The SMSound object - */ - - this.stop = function(sID) { - - if (!idCheck(sID)) { - return false; - } - - sm2._wD(sm + '.stop(' + sID + ')', 1); - return sm2.sounds[sID].stop(); - - }; - - /** - * Stops all currently-playing sounds. - */ - - this.stopAll = function() { - - var oSound; - sm2._wD(sm + '.stopAll()', 1); - - for (oSound in sm2.sounds) { - if (sm2.sounds.hasOwnProperty(oSound)) { - // apply only to sound objects - sm2.sounds[oSound].stop(); - } - } - - }; - - /** - * Calls the pause() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @return {SMSound} The SMSound object - */ - - this.pause = function(sID) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].pause(); - - }; - - /** - * Pauses all currently-playing sounds. - */ - - this.pauseAll = function() { - - var i; - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].pause(); - } - - }; - - /** - * Calls the resume() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @return {SMSound} The SMSound object - */ - - this.resume = function(sID) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].resume(); - - }; - - /** - * Resumes all currently-paused sounds. - */ - - this.resumeAll = function() { - - var i; - for (i = sm2.soundIDs.length- 1 ; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].resume(); - } - - }; - - /** - * Calls the togglePause() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @return {SMSound} The SMSound object - */ - - this.togglePause = function(sID) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].togglePause(); - - }; - - /** - * Calls the setPan() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @param {number} nPan The pan value (-100 to 100) - * @return {SMSound} The SMSound object - */ - - this.setPan = function(sID, nPan) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].setPan(nPan); - - }; - - /** - * Calls the setVolume() method of a SMSound object by ID - * Overloaded case: pass only volume argument eg., setVolume(50) to apply to all sounds. - * - * @param {string} sID The ID of the sound - * @param {number} nVol The volume value (0 to 100) - * @return {SMSound} The SMSound object - */ - - this.setVolume = function(sID, nVol) { - - // setVolume(50) function overloading case - apply to all sounds - - var i, j; - - if (sID !== _undefined && !isNaN(sID) && nVol === _undefined) { - for (i = 0, j = sm2.soundIDs.length; i < j; i++) { - sm2.sounds[sm2.soundIDs[i]].setVolume(sID); - } - return; - } - - // setVolume('mySound', 50) case - - if (!idCheck(sID)) { - return false; - } - - return sm2.sounds[sID].setVolume(nVol); - - }; - - /** - * Calls the mute() method of either a single SMSound object by ID, or all sound objects. - * - * @param {string} sID Optional: The ID of the sound (if omitted, all sounds will be used.) - */ - - this.mute = function(sID) { - - var i = 0; - - if (sID instanceof String) { - sID = null; - } - - if (!sID) { - - sm2._wD(sm + '.mute(): Muting all sounds'); - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].mute(); - } - sm2.muted = true; - - } else { - - if (!idCheck(sID)) { - return false; - } - sm2._wD(sm + '.mute(): Muting "' + sID + '"'); - return sm2.sounds[sID].mute(); - - } - - return true; - - }; - - /** - * Mutes all sounds. - */ - - this.muteAll = function() { - - sm2.mute(); - - }; - - /** - * Calls the unmute() method of either a single SMSound object by ID, or all sound objects. - * - * @param {string} sID Optional: The ID of the sound (if omitted, all sounds will be used.) - */ - - this.unmute = function(sID) { - - var i; - - if (sID instanceof String) { - sID = null; - } - - if (!sID) { - - sm2._wD(sm + '.unmute(): Unmuting all sounds'); - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].unmute(); - } - sm2.muted = false; - - } else { - - if (!idCheck(sID)) { - return false; - } - sm2._wD(sm + '.unmute(): Unmuting "' + sID + '"'); - return sm2.sounds[sID].unmute(); - - } - - return true; - - }; - - /** - * Unmutes all sounds. - */ - - this.unmuteAll = function() { - - sm2.unmute(); - - }; - - /** - * Calls the toggleMute() method of a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @return {SMSound} The SMSound object - */ - - this.toggleMute = function(sID) { - - if (!idCheck(sID)) { - return false; - } - return sm2.sounds[sID].toggleMute(); - - }; - - /** - * Retrieves the memory used by the flash plugin. - * - * @return {number} The amount of memory in use - */ - - this.getMemoryUse = function() { - - // flash-only - var ram = 0; - - if (flash && fV !== 8) { - ram = parseInt(flash._getMemoryUse(), 10); - } - - return ram; - - }; - - /** - * Undocumented: NOPs soundManager and all SMSound objects. - */ - - this.disable = function(bNoDisable) { - - // destroy all functions - var i; - - if (bNoDisable === _undefined) { - bNoDisable = false; - } - - if (disabled) { - return false; - } - - disabled = true; - _wDS('shutdown', 1); - - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - disableObject(sm2.sounds[sm2.soundIDs[i]]); - } - - // fire "complete", despite fail - initComplete(bNoDisable); - event.remove(window, 'load', initUserOnload); - - return true; - - }; - - /** - * Determines playability of a MIME type, eg. 'audio/mp3'. - */ - - this.canPlayMIME = function(sMIME) { - - var result; - - if (sm2.hasHTML5) { - result = html5CanPlay({ - type: sMIME - }); - } - - if (!result && needsFlash) { - // if flash 9, test netStream (movieStar) types as well. - result = (sMIME && sm2.ok() ? !!((fV > 8 ? sMIME.match(netStreamMimeTypes) : null) || sMIME.match(sm2.mimePattern)) : null); // TODO: make less "weird" (per JSLint) - } - - return result; - - }; - - /** - * Determines playability of a URL based on audio support. - * - * @param {string} sURL The URL to test - * @return {boolean} URL playability - */ - - this.canPlayURL = function(sURL) { - - var result; - - if (sm2.hasHTML5) { - result = html5CanPlay({ - url: sURL - }); - } - - if (!result && needsFlash) { - result = (sURL && sm2.ok() ? !!(sURL.match(sm2.filePattern)) : null); - } - - return result; - - }; - - /** - * Determines playability of an HTML DOM &lt;a&gt; object (or similar object literal) based on audio support. - * - * @param {object} oLink an HTML DOM &lt;a&gt; object or object literal including href and/or type attributes - * @return {boolean} URL playability - */ - - this.canPlayLink = function(oLink) { - - if (oLink.type !== _undefined && oLink.type) { - if (sm2.canPlayMIME(oLink.type)) { - return true; - } - } - - return sm2.canPlayURL(oLink.href); - - }; - - /** - * Retrieves a SMSound object by ID. - * - * @param {string} sID The ID of the sound - * @return {SMSound} The SMSound object - */ - - this.getSoundById = function(sID, _suppressDebug) { - - if (!sID) { - return null; - } - - var result = sm2.sounds[sID]; - - // <d> - if (!result && !_suppressDebug) { - sm2._wD(sm + '.getSoundById(): Sound "' + sID + '" not found.', 2); - } - // </d> - - return result; - - }; - - /** - * Queues a callback for execution when SoundManager has successfully initialized. - * - * @param {function} oMethod The callback method to fire - * @param {object} oScope Optional: The scope to apply to the callback - */ - - this.onready = function(oMethod, oScope) { - - var sType = 'onready', - result = false; - - if (typeof oMethod === 'function') { - - // <d> - if (didInit) { - sm2._wD(str('queue', sType)); - } - // </d> - - if (!oScope) { - oScope = window; - } - - addOnEvent(sType, oMethod, oScope); - processOnEvents(); - - result = true; - - } else { - - throw str('needFunction', sType); - - } - - return result; - - }; - - /** - * Queues a callback for execution when SoundManager has failed to initialize. - * - * @param {function} oMethod The callback method to fire - * @param {object} oScope Optional: The scope to apply to the callback - */ - - this.ontimeout = function(oMethod, oScope) { - - var sType = 'ontimeout', - result = false; - - if (typeof oMethod === 'function') { - - // <d> - if (didInit) { - sm2._wD(str('queue', sType)); - } - // </d> - - if (!oScope) { - oScope = window; - } - - addOnEvent(sType, oMethod, oScope); - processOnEvents({type:sType}); - - result = true; - - } else { - - throw str('needFunction', sType); - - } - - return result; - - }; - - /** - * Writes console.log()-style debug output to a console or in-browser element. - * Applies when debugMode = true - * - * @param {string} sText The console message - * @param {object} nType Optional log level (number), or object. Number case: Log type/style where 0 = 'info', 1 = 'warn', 2 = 'error'. Object case: Object to be dumped. - */ - - this._writeDebug = function(sText, sTypeOrObject) { - - // pseudo-private console.log()-style output - // <d> - - var sDID = 'soundmanager-debug', o, oItem; - - if (!sm2.setupOptions.debugMode) { - return false; - } - - if (hasConsole && sm2.useConsole) { - if (sTypeOrObject && typeof sTypeOrObject === 'object') { - // object passed; dump to console. - console.log(sText, sTypeOrObject); - } else if (debugLevels[sTypeOrObject] !== _undefined) { - console[debugLevels[sTypeOrObject]](sText); - } else { - console.log(sText); - } - if (sm2.consoleOnly) { - return true; - } - } - - o = id(sDID); - - if (!o) { - return false; - } - - oItem = doc.createElement('div'); - - if (++wdCount % 2 === 0) { - oItem.className = 'sm2-alt'; - } - - if (sTypeOrObject === _undefined) { - sTypeOrObject = 0; - } else { - sTypeOrObject = parseInt(sTypeOrObject, 10); - } - - oItem.appendChild(doc.createTextNode(sText)); - - if (sTypeOrObject) { - if (sTypeOrObject >= 2) { - oItem.style.fontWeight = 'bold'; - } - if (sTypeOrObject === 3) { - oItem.style.color = '#ff3333'; - } - } - - // top-to-bottom - // o.appendChild(oItem); - - // bottom-to-top - o.insertBefore(oItem, o.firstChild); - - o = null; - // </d> - - return true; - - }; - - // <d> - // last-resort debugging option - if (wl.indexOf('sm2-debug=alert') !== -1) { - this._writeDebug = function(sText) { - window.alert(sText); - }; - } - // </d> - - // alias - this._wD = this._writeDebug; - - /** - * Provides debug / state information on all SMSound objects. - */ - - this._debug = function() { - - // <d> - var i, j; - _wDS('currentObj', 1); - - for (i = 0, j = sm2.soundIDs.length; i < j; i++) { - sm2.sounds[sm2.soundIDs[i]]._debug(); - } - // </d> - - }; - - /** - * Restarts and re-initializes the SoundManager instance. - * - * @param {boolean} resetEvents Optional: When true, removes all registered onready and ontimeout event callbacks. - * @param {boolean} excludeInit Options: When true, does not call beginDelayedInit() (which would restart SM2). - * @return {object} soundManager The soundManager instance. - */ - - this.reboot = function(resetEvents, excludeInit) { - - // reset some (or all) state, and re-init unless otherwise specified. - - // <d> - if (sm2.soundIDs.length) { - sm2._wD('Destroying ' + sm2.soundIDs.length + ' SMSound object' + (sm2.soundIDs.length !== 1 ? 's' : '') + '...'); - } - // </d> - - var i, j, k; - - for (i = sm2.soundIDs.length- 1 ; i >= 0; i--) { - sm2.sounds[sm2.soundIDs[i]].destruct(); - } - - // trash ze flash (remove from the DOM) - - if (flash) { - - try { - - if (isIE) { - oRemovedHTML = flash.innerHTML; - } - - oRemoved = flash.parentNode.removeChild(flash); - - } catch(e) { - - // Remove failed? May be due to flash blockers silently removing the SWF object/embed node from the DOM. Warn and continue. - - _wDS('badRemove', 2); - - } - - } - - // actually, force recreate of movie. - - oRemovedHTML = oRemoved = needsFlash = flash = null; - - sm2.enabled = didDCLoaded = didInit = waitingForEI = initPending = didAppend = appendSuccess = disabled = useGlobalHTML5Audio = sm2.swfLoaded = false; - - sm2.soundIDs = []; - sm2.sounds = {}; - - idCounter = 0; - didSetup = false; - - if (!resetEvents) { - // reset callbacks for onready, ontimeout etc. so that they will fire again on re-init - for (i in on_queue) { - if (on_queue.hasOwnProperty(i)) { - for (j = 0, k = on_queue[i].length; j < k; j++) { - on_queue[i][j].fired = false; - } - } - } - } else { - // remove all callbacks entirely - on_queue = []; - } - - // <d> - if (!excludeInit) { - sm2._wD(sm + ': Rebooting...'); - } - // </d> - - // reset HTML5 and flash canPlay test results - - sm2.html5 = { - 'usingFlash': null - }; - - sm2.flash = {}; - - // reset device-specific HTML/flash mode switches - - sm2.html5Only = false; - sm2.ignoreFlash = false; - - window.setTimeout(function() { - - // by default, re-init - - if (!excludeInit) { - sm2.beginDelayedInit(); - } - - }, 20); - - return sm2; - - }; - - this.reset = function() { - - /** - * Shuts down and restores the SoundManager instance to its original loaded state, without an explicit reboot. All onready/ontimeout handlers are removed. - * After this call, SM2 may be re-initialized via soundManager.beginDelayedInit(). - * @return {object} soundManager The soundManager instance. - */ - - _wDS('reset'); - return sm2.reboot(true, true); - - }; - - /** - * Undocumented: Determines the SM2 flash movie's load progress. - * - * @return {number or null} Percent loaded, or if invalid/unsupported, null. - */ - - this.getMoviePercent = function() { - - /** - * Interesting syntax notes... - * Flash/ExternalInterface (ActiveX/NPAPI) bridge methods are not typeof "function" nor instanceof Function, but are still valid. - * Additionally, JSLint dislikes ('PercentLoaded' in flash)-style syntax and recommends hasOwnProperty(), which does not work in this case. - * Furthermore, using (flash && flash.PercentLoaded) causes IE to throw "object doesn't support this property or method". - * Thus, 'in' syntax must be used. - */ - - return (flash && 'PercentLoaded' in flash ? flash.PercentLoaded() : null); // Yes, JSLint. See nearby comment in source for explanation. - - }; - - /** - * Additional helper for manually invoking SM2's init process after DOM Ready / window.onload(). - */ - - this.beginDelayedInit = function() { - - windowLoaded = true; - domContentLoaded(); - - setTimeout(function() { - - if (initPending) { - return false; - } - - createMovie(); - initMovie(); - initPending = true; - - return true; - - }, 20); - - delayWaitForEI(); - - }; - - /** - * Destroys the SoundManager instance and all SMSound instances. - */ - - this.destruct = function() { - - sm2._wD(sm + '.destruct()'); - sm2.disable(true); - - }; - - /** - * SMSound() (sound object) constructor - * ------------------------------------ - * - * @param {object} oOptions Sound options (id and url are required attributes) - * @return {SMSound} The new SMSound object - */ - - SMSound = function(oOptions) { - - var s = this, resetProperties, add_html5_events, remove_html5_events, stop_html5_timer, start_html5_timer, attachOnPosition, onplay_called = false, onPositionItems = [], onPositionFired = 0, detachOnPosition, applyFromTo, lastURL = null, lastHTML5State, urlOmitted; - - lastHTML5State = { - // tracks duration + position (time) - duration: null, - time: null - }; - - this.id = oOptions.id; - - // legacy - this.sID = this.id; - - this.url = oOptions.url; - this.options = mixin(oOptions); - - // per-play-instance-specific options - this.instanceOptions = this.options; - - // short alias - this._iO = this.instanceOptions; - - // assign property defaults - this.pan = this.options.pan; - this.volume = this.options.volume; - - // whether or not this object is using HTML5 - this.isHTML5 = false; - - // internal HTML5 Audio() object reference - this._a = null; - - // for flash 8 special-case createSound() without url, followed by load/play with url case - urlOmitted = (this.url ? false : true); - - /** - * SMSound() public methods - * ------------------------ - */ - - this.id3 = {}; - - /** - * Writes SMSound object parameters to debug console - */ - - this._debug = function() { - - // <d> - sm2._wD(s.id + ': Merged options:', s.options); - // </d> - - }; - - /** - * Begins loading a sound per its *url*. - * - * @param {object} oOptions Optional: Sound options - * @return {SMSound} The SMSound object - */ - - this.load = function(oOptions) { - - var oSound = null, instanceOptions; - - if (oOptions !== _undefined) { - s._iO = mixin(oOptions, s.options); - } else { - oOptions = s.options; - s._iO = oOptions; - if (lastURL && lastURL !== s.url) { - _wDS('manURL'); - s._iO.url = s.url; - s.url = null; - } - } - - if (!s._iO.url) { - s._iO.url = s.url; - } - - s._iO.url = parseURL(s._iO.url); - - // ensure we're in sync - s.instanceOptions = s._iO; - - // local shortcut - instanceOptions = s._iO; - - sm2._wD(s.id + ': load (' + instanceOptions.url + ')'); - - if (!instanceOptions.url && !s.url) { - sm2._wD(s.id + ': load(): url is unassigned. Exiting.', 2); - return s; - } - - // <d> - if (!s.isHTML5 && fV === 8 && !s.url && !instanceOptions.autoPlay) { - // flash 8 load() -> play() won't work before onload has fired. - sm2._wD(s.id + ': Flash 8 load() limitation: Wait for onload() before calling play().', 1); - } - // </d> - - if (instanceOptions.url === s.url && s.readyState !== 0 && s.readyState !== 2) { - _wDS('onURL', 1); - // if loaded and an onload() exists, fire immediately. - if (s.readyState === 3 && instanceOptions.onload) { - // assume success based on truthy duration. - wrapCallback(s, function() { - instanceOptions.onload.apply(s, [(!!s.duration)]); - }); - } - return s; - } - - // reset a few state properties - - s.loaded = false; - s.readyState = 1; - s.playState = 0; - s.id3 = {}; - - // TODO: If switching from HTML5 -> flash (or vice versa), stop currently-playing audio. - - if (html5OK(instanceOptions)) { - - oSound = s._setup_html5(instanceOptions); - - if (!oSound._called_load) { - - s._html5_canplay = false; - - // TODO: review called_load / html5_canplay logic - - // if url provided directly to load(), assign it here. - - if (s.url !== instanceOptions.url) { - - sm2._wD(_wDS('manURL') + ': ' + instanceOptions.url); - - s._a.src = instanceOptions.url; - - // TODO: review / re-apply all relevant options (volume, loop, onposition etc.) - - // reset position for new URL - s.setPosition(0); - - } - - // given explicit load call, try to preload. - - // early HTML5 implementation (non-standard) - s._a.autobuffer = 'auto'; - - // standard property, values: none / metadata / auto - // reference: http://msdn.microsoft.com/en-us/library/ie/ff974759%28v=vs.85%29.aspx - s._a.preload = 'auto'; - - s._a._called_load = true; - - } else { - - sm2._wD(s.id + ': Ignoring request to load again'); - - } - - } else { - - if (sm2.html5Only) { - sm2._wD(s.id + ': No flash support. Exiting.'); - return s; - } - - if (s._iO.url && s._iO.url.match(/data\:/i)) { - // data: URIs not supported by Flash, either. - sm2._wD(s.id + ': data: URIs not supported via Flash. Exiting.'); - return s; - } - - try { - s.isHTML5 = false; - s._iO = policyFix(loopFix(instanceOptions)); - // if we have "position", disable auto-play as we'll be seeking to that position at onload(). - if (s._iO.autoPlay && (s._iO.position || s._iO.from)) { - sm2._wD(s.id + ': Disabling autoPlay because of non-zero offset case'); - s._iO.autoPlay = false; - } - // re-assign local shortcut - instanceOptions = s._iO; - if (fV === 8) { - flash._load(s.id, instanceOptions.url, instanceOptions.stream, instanceOptions.autoPlay, instanceOptions.usePolicyFile); - } else { - flash._load(s.id, instanceOptions.url, !!(instanceOptions.stream), !!(instanceOptions.autoPlay), instanceOptions.loops || 1, !!(instanceOptions.autoLoad), instanceOptions.usePolicyFile); - } - } catch(e) { - _wDS('smError', 2); - debugTS('onload', false); - catchError({ - type: 'SMSOUND_LOAD_JS_EXCEPTION', - fatal: true - }); - } - - } - - // after all of this, ensure sound url is up to date. - s.url = instanceOptions.url; - - return s; - - }; - - /** - * Unloads a sound, canceling any open HTTP requests. - * - * @return {SMSound} The SMSound object - */ - - this.unload = function() { - - // Flash 8/AS2 can't "close" a stream - fake it by loading an empty URL - // Flash 9/AS3: Close stream, preventing further load - // HTML5: Most UAs will use empty URL - - if (s.readyState !== 0) { - - sm2._wD(s.id + ': unload()'); - - if (!s.isHTML5) { - - if (fV === 8) { - flash._unload(s.id, emptyURL); - } else { - flash._unload(s.id); - } - - } else { - - stop_html5_timer(); - - if (s._a) { - - s._a.pause(); - - // update empty URL, too - lastURL = html5Unload(s._a); - - } - - } - - // reset load/status flags - resetProperties(); - - } - - return s; - - }; - - /** - * Unloads and destroys a sound. - */ - - this.destruct = function(_bFromSM) { - - sm2._wD(s.id + ': Destruct'); - - if (!s.isHTML5) { - - // kill sound within Flash - // Disable the onfailure handler - s._iO.onfailure = null; - flash._destroySound(s.id); - - } else { - - stop_html5_timer(); - - if (s._a) { - s._a.pause(); - html5Unload(s._a); - if (!useGlobalHTML5Audio) { - remove_html5_events(); - } - // break obvious circular reference - s._a._s = null; - s._a = null; - } - - } - - if (!_bFromSM) { - // ensure deletion from controller - sm2.destroySound(s.id, true); - } - - }; - - /** - * Begins playing a sound. - * - * @param {object} oOptions Optional: Sound options - * @return {SMSound} The SMSound object - */ - - this.play = function(oOptions, _updatePlayState) { - - var fN, allowMulti, a, onready, - audioClone, onended, oncanplay, - startOK = true, - exit = null; - - // <d> - fN = s.id + ': play(): '; - // </d> - - // default to true - _updatePlayState = (_updatePlayState === _undefined ? true : _updatePlayState); - - if (!oOptions) { - oOptions = {}; - } - - // first, use local URL (if specified) - if (s.url) { - s._iO.url = s.url; - } - - // mix in any options defined at createSound() - s._iO = mixin(s._iO, s.options); - - // mix in any options specific to this method - s._iO = mixin(oOptions, s._iO); - - s._iO.url = parseURL(s._iO.url); - - s.instanceOptions = s._iO; - - // RTMP-only - if (!s.isHTML5 && s._iO.serverURL && !s.connected) { - if (!s.getAutoPlay()) { - sm2._wD(fN +' Netstream not connected yet - setting autoPlay'); - s.setAutoPlay(true); - } - // play will be called in onconnect() - return s; - } - - if (html5OK(s._iO)) { - s._setup_html5(s._iO); - start_html5_timer(); - } - - if (s.playState === 1 && !s.paused) { - - allowMulti = s._iO.multiShot; - - if (!allowMulti) { - - sm2._wD(fN + 'Already playing (one-shot)', 1); - - if (s.isHTML5) { - // go back to original position. - s.setPosition(s._iO.position); - } - - exit = s; - - } else { - sm2._wD(fN + 'Already playing (multi-shot)', 1); - } - - } - - if (exit !== null) { - return exit; - } - - // edge case: play() with explicit URL parameter - if (oOptions.url && oOptions.url !== s.url) { - - // special case for createSound() followed by load() / play() with url; avoid double-load case. - if (!s.readyState && !s.isHTML5 && fV === 8 && urlOmitted) { - - urlOmitted = false; - - } else { - - // load using merged options - s.load(s._iO); - - } - - } - - if (!s.loaded) { - - if (s.readyState === 0) { - - sm2._wD(fN + 'Attempting to load'); - - // try to get this sound playing ASAP - if (!s.isHTML5 && !sm2.html5Only) { - - // flash: assign directly because setAutoPlay() increments the instanceCount - s._iO.autoPlay = true; - s.load(s._iO); - - } else if (s.isHTML5) { - - // iOS needs this when recycling sounds, loading a new URL on an existing object. - s.load(s._iO); - - } else { - - sm2._wD(fN + 'Unsupported type. Exiting.'); - exit = s; - - } - - // HTML5 hack - re-set instanceOptions? - s.instanceOptions = s._iO; - - } else if (s.readyState === 2) { - - sm2._wD(fN + 'Could not load - exiting', 2); - exit = s; - - } else { - - sm2._wD(fN + 'Loading - attempting to play...'); - - } - - } else { - - // "play()" - sm2._wD(fN.substr(0, fN.lastIndexOf(':'))); - - } - - if (exit !== null) { - return exit; - } - - if (!s.isHTML5 && fV === 9 && s.position > 0 && s.position === s.duration) { - // flash 9 needs a position reset if play() is called while at the end of a sound. - sm2._wD(fN + 'Sound at end, resetting to position: 0'); - oOptions.position = 0; - } - - /** - * Streams will pause when their buffer is full if they are being loaded. - * In this case paused is true, but the song hasn't started playing yet. - * If we just call resume() the onplay() callback will never be called. - * So only call resume() if the position is > 0. - * Another reason is because options like volume won't have been applied yet. - * For normal sounds, just resume. - */ - - if (s.paused && s.position >= 0 && (!s._iO.serverURL || s.position > 0)) { - - // https://gist.github.com/37b17df75cc4d7a90bf6 - sm2._wD(fN + 'Resuming from paused state', 1); - s.resume(); - - } else { - - s._iO = mixin(oOptions, s._iO); - - /** - * Preload in the event of play() with position under Flash, - * or from/to parameters and non-RTMP case - */ - if (((!s.isHTML5 && s._iO.position !== null && s._iO.position > 0) || (s._iO.from !== null && s._iO.from > 0) || s._iO.to !== null) && s.instanceCount === 0 && s.playState === 0 && !s._iO.serverURL) { - - onready = function() { - // sound "canplay" or onload() - // re-apply position/from/to to instance options, and start playback - s._iO = mixin(oOptions, s._iO); - s.play(s._iO); - }; - - // HTML5 needs to at least have "canplay" fired before seeking. - if (s.isHTML5 && !s._html5_canplay) { - - // this hasn't been loaded yet. load it first, and then do this again. - sm2._wD(fN + 'Beginning load for non-zero offset case'); - - s.load({ - // note: custom HTML5-only event added for from/to implementation. - _oncanplay: onready - }); - - exit = false; - - } else if (!s.isHTML5 && !s.loaded && (!s.readyState || s.readyState !== 2)) { - - // to be safe, preload the whole thing in Flash. - - sm2._wD(fN + 'Preloading for non-zero offset case'); - - s.load({ - onload: onready - }); - - exit = false; - - } - - if (exit !== null) { - return exit; - } - - // otherwise, we're ready to go. re-apply local options, and continue - - s._iO = applyFromTo(); - - } - - // sm2._wD(fN + 'Starting to play'); - - // increment instance counter, where enabled + supported - if (!s.instanceCount || s._iO.multiShotEvents || (s.isHTML5 && s._iO.multiShot && !useGlobalHTML5Audio) || (!s.isHTML5 && fV > 8 && !s.getAutoPlay())) { - s.instanceCount++; - } - - // if first play and onposition parameters exist, apply them now - if (s._iO.onposition && s.playState === 0) { - attachOnPosition(s); - } - - s.playState = 1; - s.paused = false; - - s.position = (s._iO.position !== _undefined && !isNaN(s._iO.position) ? s._iO.position : 0); - - if (!s.isHTML5) { - s._iO = policyFix(loopFix(s._iO)); - } - - if (s._iO.onplay && _updatePlayState) { - s._iO.onplay.apply(s); - onplay_called = true; - } - - s.setVolume(s._iO.volume, true); - s.setPan(s._iO.pan, true); - - if (!s.isHTML5) { - - startOK = flash._start(s.id, s._iO.loops || 1, (fV === 9 ? s.position : s.position / msecScale), s._iO.multiShot || false); - - if (fV === 9 && !startOK) { - // edge case: no sound hardware, or 32-channel flash ceiling hit. - // applies only to Flash 9, non-NetStream/MovieStar sounds. - // http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/Sound.html#play%28%29 - sm2._wD(fN + 'No sound hardware, or 32-sound ceiling hit', 2); - if (s._iO.onplayerror) { - s._iO.onplayerror.apply(s); - } - - } - - } else { - - if (s.instanceCount < 2) { - - // HTML5 single-instance case - - start_html5_timer(); - - a = s._setup_html5(); - - s.setPosition(s._iO.position); - - a.play(); - - } else { - - // HTML5 multi-shot case - - sm2._wD(s.id + ': Cloning Audio() for instance #' + s.instanceCount + '...'); - - audioClone = new Audio(s._iO.url); - - onended = function() { - event.remove(audioClone, 'ended', onended); - s._onfinish(s); - // cleanup - html5Unload(audioClone); - audioClone = null; - }; - - oncanplay = function() { - event.remove(audioClone, 'canplay', oncanplay); - try { - audioClone.currentTime = s._iO.position/msecScale; - } catch(err) { - complain(s.id + ': multiShot play() failed to apply position of ' + (s._iO.position/msecScale)); - } - audioClone.play(); - }; - - event.add(audioClone, 'ended', onended); - - // apply volume to clones, too - if (s._iO.volume !== _undefined) { - audioClone.volume = Math.max(0, Math.min(1, s._iO.volume/100)); - } - - // playing multiple muted sounds? if you do this, you're weird ;) - but let's cover it. - if (s.muted) { - audioClone.muted = true; - } - - if (s._iO.position) { - // HTML5 audio can't seek before onplay() event has fired. - // wait for canplay, then seek to position and start playback. - event.add(audioClone, 'canplay', oncanplay); - } else { - // begin playback at currentTime: 0 - audioClone.play(); - } - - } - - } - - } - - return s; - - }; - - // just for convenience - this.start = this.play; - - /** - * Stops playing a sound (and optionally, all sounds) - * - * @param {boolean} bAll Optional: Whether to stop all sounds - * @return {SMSound} The SMSound object - */ - - this.stop = function(bAll) { - - var instanceOptions = s._iO, - originalPosition; - - if (s.playState === 1) { - - sm2._wD(s.id + ': stop()'); - - s._onbufferchange(0); - s._resetOnPosition(0); - s.paused = false; - - if (!s.isHTML5) { - s.playState = 0; - } - - // remove onPosition listeners, if any - detachOnPosition(); - - // and "to" position, if set - if (instanceOptions.to) { - s.clearOnPosition(instanceOptions.to); - } - - if (!s.isHTML5) { - - flash._stop(s.id, bAll); - - // hack for netStream: just unload - if (instanceOptions.serverURL) { - s.unload(); - } - - } else { - - if (s._a) { - - originalPosition = s.position; - - // act like Flash, though - s.setPosition(0); - - // hack: reflect old position for onstop() (also like Flash) - s.position = originalPosition; - - // html5 has no stop() - // NOTE: pausing means iOS requires interaction to resume. - s._a.pause(); - - s.playState = 0; - - // and update UI - s._onTimer(); - - stop_html5_timer(); - - } - - } - - s.instanceCount = 0; - s._iO = {}; - - if (instanceOptions.onstop) { - instanceOptions.onstop.apply(s); - } - - } - - return s; - - }; - - /** - * Undocumented/internal: Sets autoPlay for RTMP. - * - * @param {boolean} autoPlay state - */ - - this.setAutoPlay = function(autoPlay) { - - sm2._wD(s.id + ': Autoplay turned ' + (autoPlay ? 'on' : 'off')); - s._iO.autoPlay = autoPlay; - - if (!s.isHTML5) { - flash._setAutoPlay(s.id, autoPlay); - if (autoPlay) { - // only increment the instanceCount if the sound isn't loaded (TODO: verify RTMP) - if (!s.instanceCount && s.readyState === 1) { - s.instanceCount++; - sm2._wD(s.id + ': Incremented instance count to '+s.instanceCount); - } - } - } - - }; - - /** - * Undocumented/internal: Returns the autoPlay boolean. - * - * @return {boolean} The current autoPlay value - */ - - this.getAutoPlay = function() { - - return s._iO.autoPlay; - - }; - - /** - * Sets the position of a sound. - * - * @param {number} nMsecOffset Position (milliseconds) - * @return {SMSound} The SMSound object - */ - - this.setPosition = function(nMsecOffset) { - - if (nMsecOffset === _undefined) { - nMsecOffset = 0; - } - - var position, position1K, - // Use the duration from the instance options, if we don't have a track duration yet. - // position >= 0 and <= current available (loaded) duration - offset = (s.isHTML5 ? Math.max(nMsecOffset, 0) : Math.min(s.duration || s._iO.duration, Math.max(nMsecOffset, 0))); - - s.position = offset; - position1K = s.position/msecScale; - s._resetOnPosition(s.position); - s._iO.position = offset; - - if (!s.isHTML5) { - - position = (fV === 9 ? s.position : position1K); - - if (s.readyState && s.readyState !== 2) { - // if paused or not playing, will not resume (by playing) - flash._setPosition(s.id, position, (s.paused || !s.playState), s._iO.multiShot); - } - - } else if (s._a) { - - // Set the position in the canplay handler if the sound is not ready yet - if (s._html5_canplay) { - - if (s._a.currentTime !== position1K) { - - /** - * DOM/JS errors/exceptions to watch out for: - * if seek is beyond (loaded?) position, "DOM exception 11" - * "INDEX_SIZE_ERR": DOM exception 1 - */ - sm2._wD(s.id + ': setPosition(' + position1K + ')'); - - try { - s._a.currentTime = position1K; - if (s.playState === 0 || s.paused) { - // allow seek without auto-play/resume - s._a.pause(); - } - } catch(e) { - sm2._wD(s.id + ': setPosition(' + position1K + ') failed: ' + e.message, 2); - } - - } - - } else if (position1K) { - - // warn on non-zero seek attempts - sm2._wD(s.id + ': setPosition(' + position1K + '): Cannot seek yet, sound not ready', 2); - return s; - - } - - if (s.paused) { - - // if paused, refresh UI right away by forcing update - s._onTimer(true); - - } - - } - - return s; - - }; - - /** - * Pauses sound playback. - * - * @return {SMSound} The SMSound object - */ - - this.pause = function(_bCallFlash) { - - if (s.paused || (s.playState === 0 && s.readyState !== 1)) { - return s; - } - - sm2._wD(s.id + ': pause()'); - s.paused = true; - - if (!s.isHTML5) { - if (_bCallFlash || _bCallFlash === _undefined) { - flash._pause(s.id, s._iO.multiShot); - } - } else { - s._setup_html5().pause(); - stop_html5_timer(); - } - - if (s._iO.onpause) { - s._iO.onpause.apply(s); - } - - return s; - - }; - - /** - * Resumes sound playback. - * - * @return {SMSound} The SMSound object - */ - - /** - * When auto-loaded streams pause on buffer full they have a playState of 0. - * We need to make sure that the playState is set to 1 when these streams "resume". - * When a paused stream is resumed, we need to trigger the onplay() callback if it - * hasn't been called already. In this case since the sound is being played for the - * first time, I think it's more appropriate to call onplay() rather than onresume(). - */ - - this.resume = function() { - - var instanceOptions = s._iO; - - if (!s.paused) { - return s; - } - - sm2._wD(s.id + ': resume()'); - s.paused = false; - s.playState = 1; - - if (!s.isHTML5) { - - if (instanceOptions.isMovieStar && !instanceOptions.serverURL) { - // Bizarre Webkit bug (Chrome reported via 8tracks.com dudes): AAC content paused for 30+ seconds(?) will not resume without a reposition. - s.setPosition(s.position); - } - - // flash method is toggle-based (pause/resume) - flash._pause(s.id, instanceOptions.multiShot); - - } else { - - s._setup_html5().play(); - start_html5_timer(); - - } - - if (!onplay_called && instanceOptions.onplay) { - - instanceOptions.onplay.apply(s); - onplay_called = true; - - } else if (instanceOptions.onresume) { - - instanceOptions.onresume.apply(s); - - } - - return s; - - }; - - /** - * Toggles sound playback. - * - * @return {SMSound} The SMSound object - */ - - this.togglePause = function() { - - sm2._wD(s.id + ': togglePause()'); - - if (s.playState === 0) { - s.play({ - position: (fV === 9 && !s.isHTML5 ? s.position : s.position / msecScale) - }); - return s; - } - - if (s.paused) { - s.resume(); - } else { - s.pause(); - } - - return s; - - }; - - /** - * Sets the panning (L-R) effect. - * - * @param {number} nPan The pan value (-100 to 100) - * @return {SMSound} The SMSound object - */ - - this.setPan = function(nPan, bInstanceOnly) { - - if (nPan === _undefined) { - nPan = 0; - } - - if (bInstanceOnly === _undefined) { - bInstanceOnly = false; - } - - if (!s.isHTML5) { - flash._setPan(s.id, nPan); - } // else { no HTML5 pan? } - - s._iO.pan = nPan; - - if (!bInstanceOnly) { - s.pan = nPan; - s.options.pan = nPan; - } - - return s; - - }; - - /** - * Sets the volume. - * - * @param {number} nVol The volume value (0 to 100) - * @return {SMSound} The SMSound object - */ - - this.setVolume = function(nVol, _bInstanceOnly) { - - /** - * Note: Setting volume has no effect on iOS "special snowflake" devices. - * Hardware volume control overrides software, and volume - * will always return 1 per Apple docs. (iOS 4 + 5.) - * http://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/HTML-canvas-guide/AddingSoundtoCanvasAnimations/AddingSoundtoCanvasAnimations.html - */ - - if (nVol === _undefined) { - nVol = 100; - } - - if (_bInstanceOnly === _undefined) { - _bInstanceOnly = false; - } - - if (!s.isHTML5) { - - flash._setVolume(s.id, (sm2.muted && !s.muted) || s.muted ? 0 : nVol); - - } else if (s._a) { - - if (sm2.muted && !s.muted) { - s.muted = true; - s._a.muted = true; - } - - // valid range for native HTML5 Audio(): 0-1 - s._a.volume = Math.max(0, Math.min(1, nVol/100)); - - } - - s._iO.volume = nVol; - - if (!_bInstanceOnly) { - s.volume = nVol; - s.options.volume = nVol; - } - - return s; - - }; - - /** - * Mutes the sound. - * - * @return {SMSound} The SMSound object - */ - - this.mute = function() { - - s.muted = true; - - if (!s.isHTML5) { - flash._setVolume(s.id, 0); - } else if (s._a) { - s._a.muted = true; - } - - return s; - - }; - - /** - * Unmutes the sound. - * - * @return {SMSound} The SMSound object - */ - - this.unmute = function() { - - s.muted = false; - var hasIO = (s._iO.volume !== _undefined); - - if (!s.isHTML5) { - flash._setVolume(s.id, hasIO ? s._iO.volume : s.options.volume); - } else if (s._a) { - s._a.muted = false; - } - - return s; - - }; - - /** - * Toggles the muted state of a sound. - * - * @return {SMSound} The SMSound object - */ - - this.toggleMute = function() { - - return (s.muted ? s.unmute() : s.mute()); - - }; - - /** - * Registers a callback to be fired when a sound reaches a given position during playback. - * - * @param {number} nPosition The position to watch for - * @param {function} oMethod The relevant callback to fire - * @param {object} oScope Optional: The scope to apply the callback to - * @return {SMSound} The SMSound object - */ - - this.onPosition = function(nPosition, oMethod, oScope) { - - // TODO: basic dupe checking? - - onPositionItems.push({ - position: parseInt(nPosition, 10), - method: oMethod, - scope: (oScope !== _undefined ? oScope : s), - fired: false - }); - - return s; - - }; - - // legacy/backwards-compability: lower-case method name - this.onposition = this.onPosition; - - /** - * Removes registered callback(s) from a sound, by position and/or callback. - * - * @param {number} nPosition The position to clear callback(s) for - * @param {function} oMethod Optional: Identify one callback to be removed when multiple listeners exist for one position - * @return {SMSound} The SMSound object - */ - - this.clearOnPosition = function(nPosition, oMethod) { - - var i; - - nPosition = parseInt(nPosition, 10); - - if (isNaN(nPosition)) { - // safety check - return false; - } - - for (i=0; i < onPositionItems.length; i++) { - - if (nPosition === onPositionItems[i].position) { - // remove this item if no method was specified, or, if the method matches - - if (!oMethod || (oMethod === onPositionItems[i].method)) { - - if (onPositionItems[i].fired) { - // decrement "fired" counter, too - onPositionFired--; - } - - onPositionItems.splice(i, 1); - - } - - } - - } - - }; - - this._processOnPosition = function() { - - var i, item, j = onPositionItems.length; - - if (!j || !s.playState || onPositionFired >= j) { - return false; - } - - for (i = j - 1; i >= 0; i--) { - - item = onPositionItems[i]; - - if (!item.fired && s.position >= item.position) { - - item.fired = true; - onPositionFired++; - item.method.apply(item.scope, [item.position]); - - // reset j -- onPositionItems.length can be changed in the item callback above... occasionally breaking the loop. - j = onPositionItems.length; - - } - - } - - return true; - - }; - - this._resetOnPosition = function(nPosition) { - - // reset "fired" for items interested in this position - var i, item, j = onPositionItems.length; - - if (!j) { - return false; - } - - for (i = j - 1; i >= 0; i--) { - - item = onPositionItems[i]; - - if (item.fired && nPosition <= item.position) { - item.fired = false; - onPositionFired--; - } - - } - - return true; - - }; - - /** - * SMSound() private internals - * -------------------------------- - */ - - applyFromTo = function() { - - var instanceOptions = s._iO, - f = instanceOptions.from, - t = instanceOptions.to, - start, end; - - end = function() { - - // end has been reached. - sm2._wD(s.id + ': "To" time of ' + t + ' reached.'); - - // detach listener - s.clearOnPosition(t, end); - - // stop should clear this, too - s.stop(); - - }; - - start = function() { - - sm2._wD(s.id + ': Playing "from" ' + f); - - // add listener for end - if (t !== null && !isNaN(t)) { - s.onPosition(t, end); - } - - }; - - if (f !== null && !isNaN(f)) { - - // apply to instance options, guaranteeing correct start position. - instanceOptions.position = f; - - // multiShot timing can't be tracked, so prevent that. - instanceOptions.multiShot = false; - - start(); - - } - - // return updated instanceOptions including starting position - return instanceOptions; - - }; - - attachOnPosition = function() { - - var item, - op = s._iO.onposition; - - // attach onposition things, if any, now. - - if (op) { - - for (item in op) { - if (op.hasOwnProperty(item)) { - s.onPosition(parseInt(item, 10), op[item]); - } - } - - } - - }; - - detachOnPosition = function() { - - var item, - op = s._iO.onposition; - - // detach any onposition()-style listeners. - - if (op) { - - for (item in op) { - if (op.hasOwnProperty(item)) { - s.clearOnPosition(parseInt(item, 10)); - } - } - - } - - }; - - start_html5_timer = function() { - - if (s.isHTML5) { - startTimer(s); - } - - }; - - stop_html5_timer = function() { - - if (s.isHTML5) { - stopTimer(s); - } - - }; - - resetProperties = function(retainPosition) { - - if (!retainPosition) { - onPositionItems = []; - onPositionFired = 0; - } - - onplay_called = false; - - s._hasTimer = null; - s._a = null; - s._html5_canplay = false; - s.bytesLoaded = null; - s.bytesTotal = null; - s.duration = (s._iO && s._iO.duration ? s._iO.duration : null); - s.durationEstimate = null; - s.buffered = []; - - // legacy: 1D array - s.eqData = []; - - s.eqData.left = []; - s.eqData.right = []; - - s.failures = 0; - s.isBuffering = false; - s.instanceOptions = {}; - s.instanceCount = 0; - s.loaded = false; - s.metadata = {}; - - // 0 = uninitialised, 1 = loading, 2 = failed/error, 3 = loaded/success - s.readyState = 0; - - s.muted = false; - s.paused = false; - - s.peakData = { - left: 0, - right: 0 - }; - - s.waveformData = { - left: [], - right: [] - }; - - s.playState = 0; - s.position = null; - - s.id3 = {}; - - }; - - resetProperties(); - - /** - * Pseudo-private SMSound internals - * -------------------------------- - */ - - this._onTimer = function(bForce) { - - /** - * HTML5-only _whileplaying() etc. - * called from both HTML5 native events, and polling/interval-based timers - * mimics flash and fires only when time/duration change, so as to be polling-friendly - */ - - var duration, isNew = false, time, x = {}; - - if (s._hasTimer || bForce) { - - // TODO: May not need to track readyState (1 = loading) - - if (s._a && (bForce || ((s.playState > 0 || s.readyState === 1) && !s.paused))) { - - duration = s._get_html5_duration(); - - if (duration !== lastHTML5State.duration) { - - lastHTML5State.duration = duration; - s.duration = duration; - isNew = true; - - } - - // TODO: investigate why this goes wack if not set/re-set each time. - s.durationEstimate = s.duration; - - time = (s._a.currentTime * msecScale || 0); - - if (time !== lastHTML5State.time) { - - lastHTML5State.time = time; - isNew = true; - - } - - if (isNew || bForce) { - - s._whileplaying(time, x, x, x, x); - - } - - }/* else { - - // sm2._wD('_onTimer: Warn for "'+s.id+'": '+(!s._a?'Could not find element. ':'')+(s.playState === 0?'playState bad, 0?':'playState = '+s.playState+', OK')); - - return false; - - }*/ - - return isNew; - - } - - }; - - this._get_html5_duration = function() { - - var instanceOptions = s._iO, - // if audio object exists, use its duration - else, instance option duration (if provided - it's a hack, really, and should be retired) OR null - d = (s._a && s._a.duration ? s._a.duration * msecScale : (instanceOptions && instanceOptions.duration ? instanceOptions.duration : null)), - result = (d && !isNaN(d) && d !== Infinity ? d : null); - - return result; - - }; - - this._apply_loop = function(a, nLoops) { - - /** - * boolean instead of "loop", for webkit? - spec says string. http://www.w3.org/TR/html-markup/audio.html#audio.attrs.loop - * note that loop is either off or infinite under HTML5, unlike Flash which allows arbitrary loop counts to be specified. - */ - - // <d> - if (!a.loop && nLoops > 1) { - sm2._wD('Note: Native HTML5 looping is infinite.', 1); - } - // </d> - - a.loop = (nLoops > 1 ? 'loop' : ''); - - }; - - this._setup_html5 = function(oOptions) { - - var instanceOptions = mixin(s._iO, oOptions), - a = useGlobalHTML5Audio ? globalHTML5Audio : s._a, - dURL = decodeURI(instanceOptions.url), - sameURL; - - /** - * "First things first, I, Poppa..." (reset the previous state of the old sound, if playing) - * Fixes case with devices that can only play one sound at a time - * Otherwise, other sounds in mid-play will be terminated without warning and in a stuck state - */ - - if (useGlobalHTML5Audio) { - - if (dURL === decodeURI(lastGlobalHTML5URL)) { - // global HTML5 audio: re-use of URL - sameURL = true; - } - - } else if (dURL === decodeURI(lastURL)) { - - // options URL is the same as the "last" URL, and we used (loaded) it - sameURL = true; - - } - - if (a) { - - if (a._s) { - - if (useGlobalHTML5Audio) { - - if (a._s && a._s.playState && !sameURL) { - - // global HTML5 audio case, and loading a new URL. stop the currently-playing one. - a._s.stop(); - - } - - } else if (!useGlobalHTML5Audio && dURL === decodeURI(lastURL)) { - - // non-global HTML5 reuse case: same url, ignore request - s._apply_loop(a, instanceOptions.loops); - - return a; - - } - - } - - if (!sameURL) { - - // don't retain onPosition() stuff with new URLs. - - if (lastURL) { - resetProperties(false); - } - - // assign new HTML5 URL - - a.src = instanceOptions.url; - - s.url = instanceOptions.url; - - lastURL = instanceOptions.url; - - lastGlobalHTML5URL = instanceOptions.url; - - a._called_load = false; - - } - - } else { - - if (instanceOptions.autoLoad || instanceOptions.autoPlay) { - - s._a = new Audio(instanceOptions.url); - s._a.load(); - - } else { - - // null for stupid Opera 9.64 case - s._a = (isOpera && opera.version() < 10 ? new Audio(null) : new Audio()); - - } - - // assign local reference - a = s._a; - - a._called_load = false; - - if (useGlobalHTML5Audio) { - - globalHTML5Audio = a; - - } - - } - - s.isHTML5 = true; - - // store a ref on the track - s._a = a; - - // store a ref on the audio - a._s = s; - - add_html5_events(); - - s._apply_loop(a, instanceOptions.loops); - - if (instanceOptions.autoLoad || instanceOptions.autoPlay) { - - s.load(); - - } else { - - // early HTML5 implementation (non-standard) - a.autobuffer = false; - - // standard ('none' is also an option.) - a.preload = 'auto'; - - } - - return a; - - }; - - add_html5_events = function() { - - if (s._a._added_events) { - return false; - } - - var f; - - function add(oEvt, oFn, bCapture) { - return s._a ? s._a.addEventListener(oEvt, oFn, bCapture || false) : null; - } - - s._a._added_events = true; - - for (f in html5_events) { - if (html5_events.hasOwnProperty(f)) { - add(f, html5_events[f]); - } - } - - return true; - - }; - - remove_html5_events = function() { - - // Remove event listeners - - var f; - - function remove(oEvt, oFn, bCapture) { - return (s._a ? s._a.removeEventListener(oEvt, oFn, bCapture || false) : null); - } - - sm2._wD(s.id + ': Removing event listeners'); - s._a._added_events = false; - - for (f in html5_events) { - if (html5_events.hasOwnProperty(f)) { - remove(f, html5_events[f]); - } - } - - }; - - /** - * Pseudo-private event internals - * ------------------------------ - */ - - this._onload = function(nSuccess) { - - var fN, - // check for duration to prevent false positives from flash 8 when loading from cache. - loadOK = !!nSuccess || (!s.isHTML5 && fV === 8 && s.duration); - - // <d> - fN = s.id + ': '; - sm2._wD(fN + (loadOK ? 'onload()' : 'Failed to load / invalid sound?' + (!s.duration ? ' Zero-length duration reported.' : ' -') + ' (' + s.url + ')'), (loadOK ? 1 : 2)); - - if (!loadOK && !s.isHTML5) { - if (sm2.sandbox.noRemote === true) { - sm2._wD(fN + str('noNet'), 1); - } - if (sm2.sandbox.noLocal === true) { - sm2._wD(fN + str('noLocal'), 1); - } - } - // </d> - - s.loaded = loadOK; - s.readyState = (loadOK ? 3 : 2); - s._onbufferchange(0); - - if (s._iO.onload) { - wrapCallback(s, function() { - s._iO.onload.apply(s, [loadOK]); - }); - } - - return true; - - }; - - this._onbufferchange = function(nIsBuffering) { - - if (s.playState === 0) { - // ignore if not playing - return false; - } - - if ((nIsBuffering && s.isBuffering) || (!nIsBuffering && !s.isBuffering)) { - return false; - } - - s.isBuffering = (nIsBuffering === 1); - - if (s._iO.onbufferchange) { - sm2._wD(s.id + ': Buffer state change: ' + nIsBuffering); - s._iO.onbufferchange.apply(s, [nIsBuffering]); - } - - return true; - - }; - - /** - * Playback may have stopped due to buffering, or related reason. - * This state can be encountered on iOS < 6 when auto-play is blocked. - */ - - this._onsuspend = function() { - - if (s._iO.onsuspend) { - sm2._wD(s.id + ': Playback suspended'); - s._iO.onsuspend.apply(s); - } - - return true; - - }; - - /** - * flash 9/movieStar + RTMP-only method, should fire only once at most - * at this point we just recreate failed sounds rather than trying to reconnect - */ - - this._onfailure = function(msg, level, code) { - - s.failures++; - sm2._wD(s.id + ': Failure (' + s.failures + '): ' + msg); - - if (s._iO.onfailure && s.failures === 1) { - s._iO.onfailure(msg, level, code); - } else { - sm2._wD(s.id + ': Ignoring failure'); - } - - }; - - /** - * flash 9/movieStar + RTMP-only method for unhandled warnings/exceptions from Flash - * e.g., RTMP "method missing" warning (non-fatal) for getStreamLength on server - */ - - this._onwarning = function(msg, level, code) { - - if (s._iO.onwarning) { - s._iO.onwarning(msg, level, code); - } - - }; - - this._onfinish = function() { - - // store local copy before it gets trashed... - var io_onfinish = s._iO.onfinish; - - s._onbufferchange(0); - s._resetOnPosition(0); - - // reset some state items - if (s.instanceCount) { - - s.instanceCount--; - - if (!s.instanceCount) { - - // remove onPosition listeners, if any - detachOnPosition(); - - // reset instance options - s.playState = 0; - s.paused = false; - s.instanceCount = 0; - s.instanceOptions = {}; - s._iO = {}; - stop_html5_timer(); - - // reset position, too - if (s.isHTML5) { - s.position = 0; - } - - } - - if (!s.instanceCount || s._iO.multiShotEvents) { - // fire onfinish for last, or every instance - if (io_onfinish) { - sm2._wD(s.id + ': onfinish()'); - wrapCallback(s, function() { - io_onfinish.apply(s); - }); - } - } - - } - - }; - - this._whileloading = function(nBytesLoaded, nBytesTotal, nDuration, nBufferLength) { - - var instanceOptions = s._iO; - - s.bytesLoaded = nBytesLoaded; - s.bytesTotal = nBytesTotal; - s.duration = Math.floor(nDuration); - s.bufferLength = nBufferLength; - - if (!s.isHTML5 && !instanceOptions.isMovieStar) { - - if (instanceOptions.duration) { - // use duration from options, if specified and larger. nobody should be specifying duration in options, actually, and it should be retired. - s.durationEstimate = (s.duration > instanceOptions.duration) ? s.duration : instanceOptions.duration; - } else { - s.durationEstimate = parseInt((s.bytesTotal / s.bytesLoaded) * s.duration, 10); - } - - } else { - - s.durationEstimate = s.duration; - - } - - // for flash, reflect sequential-load-style buffering - if (!s.isHTML5) { - s.buffered = [{ - 'start': 0, - 'end': s.duration - }]; - } - - // allow whileloading to fire even if "load" fired under HTML5, due to HTTP range/partials - if ((s.readyState !== 3 || s.isHTML5) && instanceOptions.whileloading) { - instanceOptions.whileloading.apply(s); - } - - }; - - this._whileplaying = function(nPosition, oPeakData, oWaveformDataLeft, oWaveformDataRight, oEQData) { - - var instanceOptions = s._iO, - eqLeft; - - if (isNaN(nPosition) || nPosition === null) { - // flash safety net - return false; - } - - // Safari HTML5 play() may return small -ve values when starting from position: 0, eg. -50.120396875. Unexpected/invalid per W3, I think. Normalize to 0. - s.position = Math.max(0, nPosition); - - s._processOnPosition(); - - if (!s.isHTML5 && fV > 8) { - - if (instanceOptions.usePeakData && oPeakData !== _undefined && oPeakData) { - s.peakData = { - left: oPeakData.leftPeak, - right: oPeakData.rightPeak - }; - } - - if (instanceOptions.useWaveformData && oWaveformDataLeft !== _undefined && oWaveformDataLeft) { - s.waveformData = { - left: oWaveformDataLeft.split(','), - right: oWaveformDataRight.split(',') - }; - } - - if (instanceOptions.useEQData) { - if (oEQData !== _undefined && oEQData && oEQData.leftEQ) { - eqLeft = oEQData.leftEQ.split(','); - s.eqData = eqLeft; - s.eqData.left = eqLeft; - if (oEQData.rightEQ !== _undefined && oEQData.rightEQ) { - s.eqData.right = oEQData.rightEQ.split(','); - } - } - } - - } - - if (s.playState === 1) { - - // special case/hack: ensure buffering is false if loading from cache (and not yet started) - if (!s.isHTML5 && fV === 8 && !s.position && s.isBuffering) { - s._onbufferchange(0); - } - - if (instanceOptions.whileplaying) { - // flash may call after actual finish - instanceOptions.whileplaying.apply(s); - } - - } - - return true; - - }; - - this._oncaptiondata = function(oData) { - - /** - * internal: flash 9 + NetStream (MovieStar/RTMP-only) feature - * - * @param {object} oData - */ - - sm2._wD(s.id + ': Caption data received.'); - - s.captiondata = oData; - - if (s._iO.oncaptiondata) { - s._iO.oncaptiondata.apply(s, [oData]); - } - - }; - - this._onmetadata = function(oMDProps, oMDData) { - - /** - * internal: flash 9 + NetStream (MovieStar/RTMP-only) feature - * RTMP may include song title, MovieStar content may include encoding info - * - * @param {array} oMDProps (names) - * @param {array} oMDData (values) - */ - - sm2._wD(s.id + ': Metadata received.'); - - var oData = {}, i, j; - - for (i = 0, j = oMDProps.length; i < j; i++) { - oData[oMDProps[i]] = oMDData[i]; - } - - s.metadata = oData; - - if (s._iO.onmetadata) { - s._iO.onmetadata.call(s, s.metadata); - } - - }; - - this._onid3 = function(oID3Props, oID3Data) { - - /** - * internal: flash 8 + flash 9 ID3 feature - * may include artist, song title etc. - * - * @param {array} oID3Props (names) - * @param {array} oID3Data (values) - */ - - sm2._wD(s.id + ': ID3 data received.'); - - var oData = [], i, j; - - for (i = 0, j = oID3Props.length; i < j; i++) { - oData[oID3Props[i]] = oID3Data[i]; - } - - s.id3 = mixin(s.id3, oData); - - if (s._iO.onid3) { - s._iO.onid3.apply(s); - } - - }; - - // flash/RTMP-only - - this._onconnect = function(bSuccess) { - - bSuccess = (bSuccess === 1); - sm2._wD(s.id + ': ' + (bSuccess ? 'Connected.' : 'Failed to connect? - ' + s.url), (bSuccess ? 1 : 2)); - s.connected = bSuccess; - - if (bSuccess) { - - s.failures = 0; - - if (idCheck(s.id)) { - if (s.getAutoPlay()) { - // only update the play state if auto playing - s.play(_undefined, s.getAutoPlay()); - } else if (s._iO.autoLoad) { - s.load(); - } - } - - if (s._iO.onconnect) { - s._iO.onconnect.apply(s, [bSuccess]); - } - - } - - }; - - this._ondataerror = function(sError) { - - // flash 9 wave/eq data handler - // hack: called at start, and end from flash at/after onfinish() - if (s.playState > 0) { - sm2._wD(s.id + ': Data error: ' + sError); - if (s._iO.ondataerror) { - s._iO.ondataerror.apply(s); - } - } - - }; - - // <d> - this._debug(); - // </d> - - }; // SMSound() - - /** - * Private SoundManager internals - * ------------------------------ - */ - - getDocument = function() { - - return (doc.body || doc.getElementsByTagName('div')[0]); - - }; - - id = function(sID) { - - return doc.getElementById(sID); - - }; - - mixin = function(oMain, oAdd) { - - // non-destructive merge - var o1 = (oMain || {}), o2, o; - - // if unspecified, o2 is the default options object - o2 = (oAdd === _undefined ? sm2.defaultOptions : oAdd); - - for (o in o2) { - - if (o2.hasOwnProperty(o) && o1[o] === _undefined) { - - if (typeof o2[o] !== 'object' || o2[o] === null) { - - // assign directly - o1[o] = o2[o]; - - } else { - - // recurse through o2 - o1[o] = mixin(o1[o], o2[o]); - - } - - } - - } - - return o1; - - }; - - wrapCallback = function(oSound, callback) { - - /** - * 03/03/2013: Fix for Flash Player 11.6.602.171 + Flash 8 (flashVersion = 8) SWF issue - * setTimeout() fix for certain SMSound callbacks like onload() and onfinish(), where subsequent calls like play() and load() fail when Flash Player 11.6.602.171 is installed, and using soundManager with flashVersion = 8 (which is the default). - * Not sure of exact cause. Suspect race condition and/or invalid (NaN-style) position argument trickling down to the next JS -> Flash _start() call, in the play() case. - * Fix: setTimeout() to yield, plus safer null / NaN checking on position argument provided to Flash. - * https://getsatisfaction.com/schillmania/topics/recent_chrome_update_seems_to_have_broken_my_sm2_audio_player - */ - if (!oSound.isHTML5 && fV === 8) { - window.setTimeout(callback, 0); - } else { - callback(); - } - - }; - - // additional soundManager properties that soundManager.setup() will accept - - extraOptions = { - 'onready': 1, - 'ontimeout': 1, - 'defaultOptions': 1, - 'flash9Options': 1, - 'movieStarOptions': 1 - }; - - assign = function(o, oParent) { - - /** - * recursive assignment of properties, soundManager.setup() helper - * allows property assignment based on whitelist - */ - - var i, - result = true, - hasParent = (oParent !== _undefined), - setupOptions = sm2.setupOptions, - bonusOptions = extraOptions; - - // <d> - - // if soundManager.setup() called, show accepted parameters. - - if (o === _undefined) { - - result = []; - - for (i in setupOptions) { - - if (setupOptions.hasOwnProperty(i)) { - result.push(i); - } - - } - - for (i in bonusOptions) { - - if (bonusOptions.hasOwnProperty(i)) { - - if (typeof sm2[i] === 'object') { - result.push(i + ': {...}'); - } else if (sm2[i] instanceof Function) { - result.push(i + ': function() {...}'); - } else { - result.push(i); - } - - } - - } - - sm2._wD(str('setup', result.join(', '))); - - return false; - - } - - // </d> - - for (i in o) { - - if (o.hasOwnProperty(i)) { - - // if not an {object} we want to recurse through... - - if (typeof o[i] !== 'object' || o[i] === null || o[i] instanceof Array || o[i] instanceof RegExp) { - - // check "allowed" options - - if (hasParent && bonusOptions[oParent] !== _undefined) { - - // valid recursive / nested object option, eg., { defaultOptions: { volume: 50 } } - sm2[oParent][i] = o[i]; - - } else if (setupOptions[i] !== _undefined) { - - // special case: assign to setupOptions object, which soundManager property references - sm2.setupOptions[i] = o[i]; - - // assign directly to soundManager, too - sm2[i] = o[i]; - - } else if (bonusOptions[i] === _undefined) { - - // invalid or disallowed parameter. complain. - complain(str((sm2[i] === _undefined ? 'setupUndef' : 'setupError'), i), 2); - - result = false; - - } else { - - /** - * valid extraOptions (bonusOptions) parameter. - * is it a method, like onready/ontimeout? call it. - * multiple parameters should be in an array, eg. soundManager.setup({onready: [myHandler, myScope]}); - */ - - if (sm2[i] instanceof Function) { - - sm2[i].apply(sm2, (o[i] instanceof Array ? o[i] : [o[i]])); - - } else { - - // good old-fashioned direct assignment - sm2[i] = o[i]; - - } - - } - - } else { - - // recursion case, eg., { defaultOptions: { ... } } - - if (bonusOptions[i] === _undefined) { - - // invalid or disallowed parameter. complain. - complain(str((sm2[i] === _undefined ? 'setupUndef' : 'setupError'), i), 2); - - result = false; - - } else { - - // recurse through object - return assign(o[i], i); - - } - - } - - } - - } - - return result; - - }; - - function preferFlashCheck(kind) { - - // whether flash should play a given type - return (sm2.preferFlash && hasFlash && !sm2.ignoreFlash && (sm2.flash[kind] !== _undefined && sm2.flash[kind])); - - } - - /** - * Internal DOM2-level event helpers - * --------------------------------- - */ - - event = (function() { - - // normalize event methods - var old = (window.attachEvent), - evt = { - add: (old ? 'attachEvent' : 'addEventListener'), - remove: (old ? 'detachEvent' : 'removeEventListener') - }; - - // normalize "on" event prefix, optional capture argument - function getArgs(oArgs) { - - var args = slice.call(oArgs), - len = args.length; - - if (old) { - // prefix - args[1] = 'on' + args[1]; - if (len > 3) { - // no capture - args.pop(); - } - } else if (len === 3) { - args.push(false); - } - - return args; - - } - - function apply(args, sType) { - - // normalize and call the event method, with the proper arguments - var element = args.shift(), - method = [evt[sType]]; - - if (old) { - // old IE can't do apply(). - element[method](args[0], args[1]); - } else { - element[method].apply(element, args); - } - - } - - function add() { - apply(getArgs(arguments), 'add'); - } - - function remove() { - apply(getArgs(arguments), 'remove'); - } - - return { - 'add': add, - 'remove': remove - }; - - }()); - - /** - * Internal HTML5 event handling - * ----------------------------- - */ - - function html5_event(oFn) { - - // wrap html5 event handlers so we don't call them on destroyed and/or unloaded sounds - - return function(e) { - - var s = this._s, - result; - - if (!s || !s._a) { - // <d> - if (s && s.id) { - sm2._wD(s.id + ': Ignoring ' + e.type); - } else { - sm2._wD(h5 + 'Ignoring ' + e.type); - } - // </d> - result = null; - } else { - result = oFn.call(this, e); - } - - return result; - - }; - - } - - html5_events = { - - // HTML5 event-name-to-handler map - - abort: html5_event(function() { - - sm2._wD(this._s.id + ': abort'); - - }), - - // enough has loaded to play - - canplay: html5_event(function() { - - var s = this._s, - position1K; - - if (s._html5_canplay) { - // this event has already fired. ignore. - return true; - } - - s._html5_canplay = true; - sm2._wD(s.id + ': canplay'); - s._onbufferchange(0); - - // position according to instance options - position1K = (s._iO.position !== _undefined && !isNaN(s._iO.position) ? s._iO.position/msecScale : null); - - // set the position if position was provided before the sound loaded - if (this.currentTime !== position1K) { - sm2._wD(s.id + ': canplay: Setting position to ' + position1K); - try { - this.currentTime = position1K; - } catch(ee) { - sm2._wD(s.id + ': canplay: Setting position of ' + position1K + ' failed: ' + ee.message, 2); - } - } - - // hack for HTML5 from/to case - if (s._iO._oncanplay) { - s._iO._oncanplay(); - } - - }), - - canplaythrough: html5_event(function() { - - var s = this._s; - - if (!s.loaded) { - s._onbufferchange(0); - s._whileloading(s.bytesLoaded, s.bytesTotal, s._get_html5_duration()); - s._onload(true); - } - - }), - - durationchange: html5_event(function() { - - // durationchange may fire at various times, probably the safest way to capture accurate/final duration. - - var s = this._s, - duration; - - duration = s._get_html5_duration(); - - if (!isNaN(duration) && duration !== s.duration) { - - sm2._wD(this._s.id + ': durationchange (' + duration + ')' + (s.duration ? ', previously ' + s.duration : '')); - - s.durationEstimate = s.duration = duration; - - } - - }), - - // TODO: Reserved for potential use - /* - emptied: html5_event(function() { - - sm2._wD(this._s.id + ': emptied'); - - }), - */ - - ended: html5_event(function() { - - var s = this._s; - - sm2._wD(s.id + ': ended'); - - s._onfinish(); - - }), - - error: html5_event(function() { - - sm2._wD(this._s.id + ': HTML5 error, code ' + this.error.code); - /** - * HTML5 error codes, per W3C - * Error 1: Client aborted download at user's request. - * Error 2: Network error after load started. - * Error 3: Decoding issue. - * Error 4: Media (audio file) not supported. - * Reference: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#error-codes - */ - // call load with error state? - this._s._onload(false); - - }), - - loadeddata: html5_event(function() { - - var s = this._s; - - sm2._wD(s.id + ': loadeddata'); - - // safari seems to nicely report progress events, eventually totalling 100% - if (!s._loaded && !isSafari) { - s.duration = s._get_html5_duration(); - } - - }), - - loadedmetadata: html5_event(function() { - - sm2._wD(this._s.id + ': loadedmetadata'); - - }), - - loadstart: html5_event(function() { - - sm2._wD(this._s.id + ': loadstart'); - // assume buffering at first - this._s._onbufferchange(1); - - }), - - play: html5_event(function() { - - // sm2._wD(this._s.id + ': play()'); - // once play starts, no buffering - this._s._onbufferchange(0); - - }), - - playing: html5_event(function() { - - sm2._wD(this._s.id + ': playing ' + String.fromCharCode(9835)); - // once play starts, no buffering - this._s._onbufferchange(0); - - }), - - progress: html5_event(function(e) { - - // note: can fire repeatedly after "loaded" event, due to use of HTTP range/partials - - var s = this._s, - i, j, progStr, buffered = 0, - isProgress = (e.type === 'progress'), - ranges = e.target.buffered, - // firefox 3.6 implements e.loaded/total (bytes) - loaded = (e.loaded || 0), - total = (e.total || 1); - - // reset the "buffered" (loaded byte ranges) array - s.buffered = []; - - if (ranges && ranges.length) { - - // if loaded is 0, try TimeRanges implementation as % of load - // https://developer.mozilla.org/en/DOM/TimeRanges - - // re-build "buffered" array - // HTML5 returns seconds. SM2 API uses msec for setPosition() etc., whether Flash or HTML5. - for (i = 0, j = ranges.length; i < j; i++) { - s.buffered.push({ - 'start': ranges.start(i) * msecScale, - 'end': ranges.end(i) * msecScale - }); - } - - // use the last value locally - buffered = (ranges.end(0) - ranges.start(0)) * msecScale; - - // linear case, buffer sum; does not account for seeking and HTTP partials / byte ranges - loaded = Math.min(1, buffered / (e.target.duration * msecScale)); - - // <d> - if (isProgress && ranges.length > 1) { - progStr = []; - j = ranges.length; - for (i = 0; i < j; i++) { - progStr.push((e.target.buffered.start(i) * msecScale) + '-' + (e.target.buffered.end(i) * msecScale)); - } - sm2._wD(this._s.id + ': progress, timeRanges: ' + progStr.join(', ')); - } - - if (isProgress && !isNaN(loaded)) { - sm2._wD(this._s.id + ': progress, ' + Math.floor(loaded * 100) + '% loaded'); - } - // </d> - - } - - if (!isNaN(loaded)) { - - // TODO: prevent calls with duplicate values. - s._whileloading(loaded, total, s._get_html5_duration()); - if (loaded && total && loaded === total) { - // in case "onload" doesn't fire (eg. gecko 1.9.2) - html5_events.canplaythrough.call(this, e); - } - - } - - }), - - ratechange: html5_event(function() { - - sm2._wD(this._s.id + ': ratechange'); - - }), - - suspend: html5_event(function(e) { - - // download paused/stopped, may have finished (eg. onload) - var s = this._s; - - sm2._wD(this._s.id + ': suspend'); - html5_events.progress.call(this, e); - s._onsuspend(); - - }), - - stalled: html5_event(function() { - - sm2._wD(this._s.id + ': stalled'); - - }), - - timeupdate: html5_event(function() { - - this._s._onTimer(); - - }), - - waiting: html5_event(function() { - - var s = this._s; - - // see also: seeking - sm2._wD(this._s.id + ': waiting'); - - // playback faster than download rate, etc. - s._onbufferchange(1); - - }) - - }; - - html5OK = function(iO) { - - // playability test based on URL or MIME type - - var result; - - if (!iO || (!iO.type && !iO.url && !iO.serverURL)) { - - // nothing to check - result = false; - - } else if (iO.serverURL || (iO.type && preferFlashCheck(iO.type))) { - - // RTMP, or preferring flash - result = false; - - } else { - - // Use type, if specified. Pass data: URIs to HTML5. If HTML5-only mode, no other options, so just give 'er - result = ((iO.type ? html5CanPlay({type:iO.type}) : html5CanPlay({url:iO.url}) || sm2.html5Only || iO.url.match(/data\:/i))); - - } - - return result; - - }; - - html5Unload = function(oAudio) { - - /** - * Internal method: Unload media, and cancel any current/pending network requests. - * Firefox can load an empty URL, which allegedly destroys the decoder and stops the download. - * https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox#Stopping_the_download_of_media - * However, Firefox has been seen loading a relative URL from '' and thus requesting the hosting page on unload. - * Other UA behaviour is unclear, so everyone else gets an about:blank-style URL. - */ - - var url; - - if (oAudio) { - - // Firefox and Chrome accept short WAVe data: URIs. Chome dislikes audio/wav, but accepts audio/wav for data: MIME. - // Desktop Safari complains / fails on data: URI, so it gets about:blank. - url = (isSafari ? emptyURL : (sm2.html5.canPlayType('audio/wav') ? emptyWAV : emptyURL)); - - oAudio.src = url; - - // reset some state, too - if (oAudio._called_unload !== _undefined) { - oAudio._called_load = false; - } - - } - - if (useGlobalHTML5Audio) { - - // ensure URL state is trashed, also - lastGlobalHTML5URL = null; - - } - - return url; - - }; - - html5CanPlay = function(o) { - - /** - * Try to find MIME, test and return truthiness - * o = { - * url: '/path/to/an.mp3', - * type: 'audio/mp3' - * } - */ - - if (!sm2.useHTML5Audio || !sm2.hasHTML5) { - return false; - } - - var url = (o.url || null), - mime = (o.type || null), - aF = sm2.audioFormats, - result, - offset, - fileExt, - item; - - // account for known cases like audio/mp3 - - if (mime && sm2.html5[mime] !== _undefined) { - return (sm2.html5[mime] && !preferFlashCheck(mime)); - } - - if (!html5Ext) { - - html5Ext = []; - - for (item in aF) { - - if (aF.hasOwnProperty(item)) { - - html5Ext.push(item); - - if (aF[item].related) { - html5Ext = html5Ext.concat(aF[item].related); - } - - } - - } - - html5Ext = new RegExp('\\.('+html5Ext.join('|')+')(\\?.*)?$','i'); - - } - - // TODO: Strip URL queries, etc. - fileExt = (url ? url.toLowerCase().match(html5Ext) : null); - - if (!fileExt || !fileExt.length) { - - if (!mime) { - - result = false; - - } else { - - // audio/mp3 -> mp3, result should be known - offset = mime.indexOf(';'); - - // strip "audio/X; codecs..." - fileExt = (offset !== -1 ? mime.substr(0,offset) : mime).substr(6); - - } - - } else { - - // match the raw extension name - "mp3", for example - fileExt = fileExt[1]; - - } - - if (fileExt && sm2.html5[fileExt] !== _undefined) { - - // result known - result = (sm2.html5[fileExt] && !preferFlashCheck(fileExt)); - - } else { - - mime = 'audio/' + fileExt; - result = sm2.html5.canPlayType({type:mime}); - - sm2.html5[fileExt] = result; - - // sm2._wD('canPlayType, found result: ' + result); - result = (result && sm2.html5[mime] && !preferFlashCheck(mime)); - } - - return result; - - }; - - testHTML5 = function() { - - /** - * Internal: Iterates over audioFormats, determining support eg. audio/mp3, audio/mpeg and so on - * assigns results to html5[] and flash[]. - */ - - if (!sm2.useHTML5Audio || !sm2.hasHTML5) { - - // without HTML5, we need Flash. - sm2.html5.usingFlash = true; - needsFlash = true; - - return false; - - } - - // double-whammy: Opera 9.64 throws WRONG_ARGUMENTS_ERR if no parameter passed to Audio(), and Webkit + iOS happily tries to load "null" as a URL. :/ - var a = (Audio !== _undefined ? (isOpera && opera.version() < 10 ? new Audio(null) : new Audio()) : null), - item, lookup, support = {}, aF, i; - - function cp(m) { - - var canPlay, j, - result = false, - isOK = false; - - if (!a || typeof a.canPlayType !== 'function') { - return result; - } - - if (m instanceof Array) { - - // iterate through all mime types, return any successes - - for (i = 0, j = m.length; i < j; i++) { - - if (sm2.html5[m[i]] || a.canPlayType(m[i]).match(sm2.html5Test)) { - - isOK = true; - sm2.html5[m[i]] = true; - - // note flash support, too - sm2.flash[m[i]] = !!(m[i].match(flashMIME)); - - } - - } - - result = isOK; - - } else { - - canPlay = (a && typeof a.canPlayType === 'function' ? a.canPlayType(m) : false); - result = !!(canPlay && (canPlay.match(sm2.html5Test))); - - } - - return result; - - } - - // test all registered formats + codecs - - aF = sm2.audioFormats; - - for (item in aF) { - - if (aF.hasOwnProperty(item)) { - - lookup = 'audio/' + item; - - support[item] = cp(aF[item].type); - - // write back generic type too, eg. audio/mp3 - support[lookup] = support[item]; - - // assign flash - if (item.match(flashMIME)) { - - sm2.flash[item] = true; - sm2.flash[lookup] = true; - - } else { - - sm2.flash[item] = false; - sm2.flash[lookup] = false; - - } - - // assign result to related formats, too - - if (aF[item] && aF[item].related) { - - for (i = aF[item].related.length - 1; i >= 0; i--) { - - // eg. audio/m4a - support['audio/' + aF[item].related[i]] = support[item]; - sm2.html5[aF[item].related[i]] = support[item]; - sm2.flash[aF[item].related[i]] = support[item]; - - } - - } - - } - - } - - support.canPlayType = (a ? cp : null); - sm2.html5 = mixin(sm2.html5, support); - - sm2.html5.usingFlash = featureCheck(); - needsFlash = sm2.html5.usingFlash; - - return true; - - }; - - strings = { - - // <d> - notReady: 'Unavailable - wait until onready() has fired.', - notOK: 'Audio support is not available.', - domError: sm + 'exception caught while appending SWF to DOM.', - spcWmode: 'Removing wmode, preventing known SWF loading issue(s)', - swf404: smc + 'Verify that %s is a valid path.', - tryDebug: 'Try ' + sm + '.debugFlash = true for more security details (output goes to SWF.)', - checkSWF: 'See SWF output for more debug info.', - localFail: smc + 'Non-HTTP page (' + doc.location.protocol + ' URL?) Review Flash player security settings for this special case:\nhttp://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html\nMay need to add/allow path, eg. c:/sm2/ or /users/me/sm2/', - waitFocus: smc + 'Special case: Waiting for SWF to load with window focus...', - waitForever: smc + 'Waiting indefinitely for Flash (will recover if unblocked)...', - waitSWF: smc + 'Waiting for 100% SWF load...', - needFunction: smc + 'Function object expected for %s', - badID: 'Sound ID "%s" should be a string, starting with a non-numeric character', - currentObj: smc + '_debug(): Current sound objects', - waitOnload: smc + 'Waiting for window.onload()', - docLoaded: smc + 'Document already loaded', - onload: smc + 'initComplete(): calling soundManager.onload()', - onloadOK: sm + '.onload() complete', - didInit: smc + 'init(): Already called?', - secNote: 'Flash security note: Network/internet URLs will not load due to security restrictions. Access can be configured via Flash Player Global Security Settings Page: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html', - badRemove: smc + 'Failed to remove Flash node.', - shutdown: sm + '.disable(): Shutting down', - queue: smc + 'Queueing %s handler', - smError: 'SMSound.load(): Exception: JS-Flash communication failed, or JS error.', - fbTimeout: 'No flash response, applying .' + swfCSS.swfTimedout + ' CSS...', - fbLoaded: 'Flash loaded', - fbHandler: smc + 'flashBlockHandler()', - manURL: 'SMSound.load(): Using manually-assigned URL', - onURL: sm + '.load(): current URL already assigned.', - badFV: sm + '.flashVersion must be 8 or 9. "%s" is invalid. Reverting to %s.', - as2loop: 'Note: Setting stream:false so looping can work (flash 8 limitation)', - noNSLoop: 'Note: Looping not implemented for MovieStar formats', - needfl9: 'Note: Switching to flash 9, required for MP4 formats.', - mfTimeout: 'Setting flashLoadTimeout = 0 (infinite) for off-screen, mobile flash case', - needFlash: smc + 'Fatal error: Flash is needed to play some required formats, but is not available.', - gotFocus: smc + 'Got window focus.', - policy: 'Enabling usePolicyFile for data access', - setup: sm + '.setup(): allowed parameters: %s', - setupError: sm + '.setup(): "%s" cannot be assigned with this method.', - setupUndef: sm + '.setup(): Could not find option "%s"', - setupLate: sm + '.setup(): url, flashVersion and html5Test property changes will not take effect until reboot().', - noURL: smc + 'Flash URL required. Call soundManager.setup({url:...}) to get started.', - sm2Loaded: 'SoundManager 2: Ready. ' + String.fromCharCode(10003), - reset: sm + '.reset(): Removing event callbacks', - mobileUA: 'Mobile UA detected, preferring HTML5 by default.', - globalHTML5: 'Using singleton HTML5 Audio() pattern for this device.', - ignoreMobile: 'Ignoring mobile restrictions for this device.' - // </d> - - }; - - str = function() { - - // internal string replace helper. - // arguments: o [,items to replace] - // <d> - - var args, - i, j, o, - sstr; - - // real array, please - args = slice.call(arguments); - - // first argument - o = args.shift(); - - sstr = (strings && strings[o] ? strings[o] : ''); - - if (sstr && args && args.length) { - for (i = 0, j = args.length; i < j; i++) { - sstr = sstr.replace('%s', args[i]); - } - } - - return sstr; - // </d> - - }; - - loopFix = function(sOpt) { - - // flash 8 requires stream = false for looping to work - if (fV === 8 && sOpt.loops > 1 && sOpt.stream) { - _wDS('as2loop'); - sOpt.stream = false; - } - - return sOpt; - - }; - - policyFix = function(sOpt, sPre) { - - if (sOpt && !sOpt.usePolicyFile && (sOpt.onid3 || sOpt.usePeakData || sOpt.useWaveformData || sOpt.useEQData)) { - sm2._wD((sPre || '') + str('policy')); - sOpt.usePolicyFile = true; - } - - return sOpt; - - }; - - complain = function(sMsg) { - - // <d> - if (hasConsole && console.warn !== _undefined) { - console.warn(sMsg); - } else { - sm2._wD(sMsg); - } - // </d> - - }; - - doNothing = function() { - - return false; - - }; - - disableObject = function(o) { - - var oProp; - - for (oProp in o) { - if (o.hasOwnProperty(oProp) && typeof o[oProp] === 'function') { - o[oProp] = doNothing; - } - } - - oProp = null; - - }; - - failSafely = function(bNoDisable) { - - // general failure exception handler - - if (bNoDisable === _undefined) { - bNoDisable = false; - } - - if (disabled || bNoDisable) { - sm2.disable(bNoDisable); - } - - }; - - normalizeMovieURL = function(smURL) { - - var urlParams = null, url; - - if (smURL) { - - if (smURL.match(/\.swf(\?.*)?$/i)) { - - urlParams = smURL.substr(smURL.toLowerCase().lastIndexOf('.swf?') + 4); - - if (urlParams) { - // assume user knows what they're doing - return smURL; - } - - } else if (smURL.lastIndexOf('/') !== smURL.length - 1) { - - // append trailing slash, if needed - smURL += '/'; - - } - - } - - url = (smURL && smURL.lastIndexOf('/') !== - 1 ? smURL.substr(0, smURL.lastIndexOf('/') + 1) : './') + sm2.movieURL; - - if (sm2.noSWFCache) { - url += ('?ts=' + new Date().getTime()); - } - - return url; - - }; - - setVersionInfo = function() { - - // short-hand for internal use - - fV = parseInt(sm2.flashVersion, 10); - - if (fV !== 8 && fV !== 9) { - sm2._wD(str('badFV', fV, defaultFlashVersion)); - sm2.flashVersion = fV = defaultFlashVersion; - } - - // debug flash movie, if applicable - - var isDebug = (sm2.debugMode || sm2.debugFlash ? '_debug.swf' : '.swf'); - - if (sm2.useHTML5Audio && !sm2.html5Only && sm2.audioFormats.mp4.required && fV < 9) { - sm2._wD(str('needfl9')); - sm2.flashVersion = fV = 9; - } - - sm2.version = sm2.versionNumber + (sm2.html5Only ? ' (HTML5-only mode)' : (fV === 9 ? ' (AS3/Flash 9)' : ' (AS2/Flash 8)')); - - // set up default options - if (fV > 8) { - - // +flash 9 base options - sm2.defaultOptions = mixin(sm2.defaultOptions, sm2.flash9Options); - sm2.features.buffering = true; - - // +moviestar support - sm2.defaultOptions = mixin(sm2.defaultOptions, sm2.movieStarOptions); - sm2.filePatterns.flash9 = new RegExp('\\.(mp3|' + netStreamTypes.join('|') + ')(\\?.*)?$', 'i'); - sm2.features.movieStar = true; - - } else { - - sm2.features.movieStar = false; - - } - - // regExp for flash canPlay(), etc. - sm2.filePattern = sm2.filePatterns[(fV !== 8 ? 'flash9' : 'flash8')]; - - // if applicable, use _debug versions of SWFs - sm2.movieURL = (fV === 8 ? 'soundmanager2.swf' : 'soundmanager2_flash9.swf').replace('.swf', isDebug); - - sm2.features.peakData = sm2.features.waveformData = sm2.features.eqData = (fV > 8); - - }; - - setPolling = function(bPolling, bHighPerformance) { - - if (!flash) { - return false; - } - - flash._setPolling(bPolling, bHighPerformance); - - }; - - initDebug = function() { - - // starts debug mode, creating output <div> for UAs without console object - - // allow force of debug mode via URL - // <d> - if (sm2.debugURLParam.test(wl)) { - sm2.setupOptions.debugMode = sm2.debugMode = true; - } - - if (id(sm2.debugID)) { - return false; - } - - var oD, oDebug, oTarget, oToggle, tmp; - - if (sm2.debugMode && !id(sm2.debugID) && (!hasConsole || !sm2.useConsole || !sm2.consoleOnly)) { - - oD = doc.createElement('div'); - oD.id = sm2.debugID + '-toggle'; - - oToggle = { - 'position': 'fixed', - 'bottom': '0px', - 'right': '0px', - 'width': '1.2em', - 'height': '1.2em', - 'lineHeight': '1.2em', - 'margin': '2px', - 'textAlign': 'center', - 'border': '1px solid #999', - 'cursor': 'pointer', - 'background': '#fff', - 'color': '#333', - 'zIndex': 10001 - }; - - oD.appendChild(doc.createTextNode('-')); - oD.onclick = toggleDebug; - oD.title = 'Toggle SM2 debug console'; - - if (ua.match(/msie 6/i)) { - oD.style.position = 'absolute'; - oD.style.cursor = 'hand'; - } - - for (tmp in oToggle) { - if (oToggle.hasOwnProperty(tmp)) { - oD.style[tmp] = oToggle[tmp]; - } - } - - oDebug = doc.createElement('div'); - oDebug.id = sm2.debugID; - oDebug.style.display = (sm2.debugMode ? 'block' : 'none'); - - if (sm2.debugMode && !id(oD.id)) { - try { - oTarget = getDocument(); - oTarget.appendChild(oD); - } catch(e2) { - throw new Error(str('domError') + ' \n' + e2.toString()); - } - oTarget.appendChild(oDebug); - } - - } - - oTarget = null; - // </d> - - }; - - idCheck = this.getSoundById; - - // <d> - _wDS = function(o, errorLevel) { - - return (!o ? '' : sm2._wD(str(o), errorLevel)); - - }; - - toggleDebug = function() { - - var o = id(sm2.debugID), - oT = id(sm2.debugID + '-toggle'); - - if (!o) { - return false; - } - - if (debugOpen) { - // minimize - oT.innerHTML = '+'; - o.style.display = 'none'; - } else { - oT.innerHTML = '-'; - o.style.display = 'block'; - } - - debugOpen = !debugOpen; - - }; - - debugTS = function(sEventType, bSuccess, sMessage) { - - // troubleshooter debug hooks - - if (window.sm2Debugger !== _undefined) { - try { - sm2Debugger.handleEvent(sEventType, bSuccess, sMessage); - } catch(e) { - // oh well - return false; - } - } - - return true; - - }; - // </d> - - getSWFCSS = function() { - - var css = []; - - if (sm2.debugMode) { - css.push(swfCSS.sm2Debug); - } - - if (sm2.debugFlash) { - css.push(swfCSS.flashDebug); - } - - if (sm2.useHighPerformance) { - css.push(swfCSS.highPerf); - } - - return css.join(' '); - - }; - - flashBlockHandler = function() { - - // *possible* flash block situation. - - var name = str('fbHandler'), - p = sm2.getMoviePercent(), - css = swfCSS, - error = { - type:'FLASHBLOCK' - }; - - if (sm2.html5Only) { - // no flash, or unused - return false; - } - - if (!sm2.ok()) { - - if (needsFlash) { - // make the movie more visible, so user can fix - sm2.oMC.className = getSWFCSS() + ' ' + css.swfDefault + ' ' + (p === null ? css.swfTimedout : css.swfError); - sm2._wD(name + ': ' + str('fbTimeout') + (p ? ' (' + str('fbLoaded') + ')' : '')); - } - - sm2.didFlashBlock = true; - - // fire onready(), complain lightly - processOnEvents({ - type: 'ontimeout', - ignoreInit: true, - error: error - }); - - catchError(error); - - } else { - - // SM2 loaded OK (or recovered) - - // <d> - if (sm2.didFlashBlock) { - sm2._wD(name + ': Unblocked'); - } - // </d> - - if (sm2.oMC) { - sm2.oMC.className = [getSWFCSS(), css.swfDefault, css.swfLoaded + (sm2.didFlashBlock ? ' ' + css.swfUnblocked : '')].join(' '); - } - - } - - }; - - addOnEvent = function(sType, oMethod, oScope) { - - if (on_queue[sType] === _undefined) { - on_queue[sType] = []; - } - - on_queue[sType].push({ - 'method': oMethod, - 'scope': (oScope || null), - 'fired': false - }); - - }; - - processOnEvents = function(oOptions) { - - // if unspecified, assume OK/error - - if (!oOptions) { - oOptions = { - type: (sm2.ok() ? 'onready' : 'ontimeout') - }; - } - - if (!didInit && oOptions && !oOptions.ignoreInit) { - // not ready yet. - return false; - } - - if (oOptions.type === 'ontimeout' && (sm2.ok() || (disabled && !oOptions.ignoreInit))) { - // invalid case - return false; - } - - var status = { - success: (oOptions && oOptions.ignoreInit ? sm2.ok() : !disabled) - }, - - // queue specified by type, or none - srcQueue = (oOptions && oOptions.type ? on_queue[oOptions.type] || [] : []), - - queue = [], i, j, - args = [status], - canRetry = (needsFlash && !sm2.ok()); - - if (oOptions.error) { - args[0].error = oOptions.error; - } - - for (i = 0, j = srcQueue.length; i < j; i++) { - if (srcQueue[i].fired !== true) { - queue.push(srcQueue[i]); - } - } - - if (queue.length) { - - // sm2._wD(sm + ': Firing ' + queue.length + ' ' + oOptions.type + '() item' + (queue.length === 1 ? '' : 's')); - for (i = 0, j = queue.length; i < j; i++) { - - if (queue[i].scope) { - queue[i].method.apply(queue[i].scope, args); - } else { - queue[i].method.apply(this, args); - } - - if (!canRetry) { - // useFlashBlock and SWF timeout case doesn't count here. - queue[i].fired = true; - - } - - } - - } - - return true; - - }; - - initUserOnload = function() { - - window.setTimeout(function() { - - if (sm2.useFlashBlock) { - flashBlockHandler(); - } - - processOnEvents(); - - // call user-defined "onload", scoped to window - - if (typeof sm2.onload === 'function') { - _wDS('onload', 1); - sm2.onload.apply(window); - _wDS('onloadOK', 1); - } - - if (sm2.waitForWindowLoad) { - event.add(window, 'load', initUserOnload); - } - - }, 1); - - }; - - detectFlash = function() { - - /** - * Hat tip: Flash Detect library (BSD, (C) 2007) by Carl "DocYes" S. Yestrau - * http://featureblend.com/javascript-flash-detection-library.html / http://featureblend.com/license.txt - */ - - if (hasFlash !== _undefined) { - // this work has already been done. - return hasFlash; - } - - var hasPlugin = false, n = navigator, nP = n.plugins, obj, type, types, AX = window.ActiveXObject; - - if (nP && nP.length) { - - type = 'application/x-shockwave-flash'; - types = n.mimeTypes; - - if (types && types[type] && types[type].enabledPlugin && types[type].enabledPlugin.description) { - hasPlugin = true; - } - - } else if (AX !== _undefined && !ua.match(/MSAppHost/i)) { - - // Windows 8 Store Apps (MSAppHost) are weird (compatibility?) and won't complain here, but will barf if Flash/ActiveX object is appended to the DOM. - try { - obj = new AX('ShockwaveFlash.ShockwaveFlash'); - } catch(e) { - // oh well - obj = null; - } - - hasPlugin = (!!obj); - - // cleanup, because it is ActiveX after all - obj = null; - - } - - hasFlash = hasPlugin; - - return hasPlugin; - - }; - -featureCheck = function() { - - var flashNeeded, - item, - formats = sm2.audioFormats, - // iPhone <= 3.1 has broken HTML5 audio(), but firmware 3.2 (original iPad) + iOS4 works. - isSpecial = (is_iDevice && !!(ua.match(/os (1|2|3_0|3_1)\s/i))); - - if (isSpecial) { - - // has Audio(), but is broken; let it load links directly. - sm2.hasHTML5 = false; - - // ignore flash case, however - sm2.html5Only = true; - - // hide the SWF, if present - if (sm2.oMC) { - sm2.oMC.style.display = 'none'; - } - - } else { - - if (sm2.useHTML5Audio) { - - if (!sm2.html5 || !sm2.html5.canPlayType) { - sm2._wD('SoundManager: No HTML5 Audio() support detected.'); - sm2.hasHTML5 = false; - } - - // <d> - if (isBadSafari) { - sm2._wD(smc + 'Note: Buggy HTML5 Audio in Safari on this OS X release, see https://bugs.webkit.org/show_bug.cgi?id=32159 - ' + (!hasFlash ? ' would use flash fallback for MP3/MP4, but none detected.' : 'will use flash fallback for MP3/MP4, if available'), 1); - } - // </d> - - } - - } - - if (sm2.useHTML5Audio && sm2.hasHTML5) { - - // sort out whether flash is optional, required or can be ignored. - - // innocent until proven guilty. - canIgnoreFlash = true; - - for (item in formats) { - - if (formats.hasOwnProperty(item)) { - - if (formats[item].required) { - - if (!sm2.html5.canPlayType(formats[item].type)) { - - // 100% HTML5 mode is not possible. - canIgnoreFlash = false; - flashNeeded = true; - - } else if (sm2.preferFlash && (sm2.flash[item] || sm2.flash[formats[item].type])) { - - // flash may be required, or preferred for this format. - flashNeeded = true; - - } - - } - - } - - } - - } - - // sanity check... - if (sm2.ignoreFlash) { - flashNeeded = false; - canIgnoreFlash = true; - } - - sm2.html5Only = (sm2.hasHTML5 && sm2.useHTML5Audio && !flashNeeded); - - return (!sm2.html5Only); - - }; - - parseURL = function(url) { - - /** - * Internal: Finds and returns the first playable URL (or failing that, the first URL.) - * @param {string or array} url A single URL string, OR, an array of URL strings or {url:'/path/to/resource', type:'audio/mp3'} objects. - */ - - var i, j, urlResult = 0, result; - - if (url instanceof Array) { - - // find the first good one - for (i = 0, j = url.length; i < j; i++) { - - if (url[i] instanceof Object) { - - // MIME check - if (sm2.canPlayMIME(url[i].type)) { - urlResult = i; - break; - } - - } else if (sm2.canPlayURL(url[i])) { - - // URL string check - urlResult = i; - break; - - } - - } - - // normalize to string - if (url[urlResult].url) { - url[urlResult] = url[urlResult].url; - } - - result = url[urlResult]; - - } else { - - // single URL case - result = url; - - } - - return result; - - }; - - - startTimer = function(oSound) { - - /** - * attach a timer to this sound, and start an interval if needed - */ - - if (!oSound._hasTimer) { - - oSound._hasTimer = true; - - if (!mobileHTML5 && sm2.html5PollingInterval) { - - if (h5IntervalTimer === null && h5TimerCount === 0) { - - h5IntervalTimer = setInterval(timerExecute, sm2.html5PollingInterval); - - } - - h5TimerCount++; - - } - - } - - }; - - stopTimer = function(oSound) { - - /** - * detach a timer - */ - - if (oSound._hasTimer) { - - oSound._hasTimer = false; - - if (!mobileHTML5 && sm2.html5PollingInterval) { - - // interval will stop itself at next execution. - - h5TimerCount--; - - } - - } - - }; - - timerExecute = function() { - - /** - * manual polling for HTML5 progress events, ie., whileplaying() - * (can achieve greater precision than conservative default HTML5 interval) - */ - - var i; - - if (h5IntervalTimer !== null && !h5TimerCount) { - - // no active timers, stop polling interval. - - clearInterval(h5IntervalTimer); - - h5IntervalTimer = null; - - return false; - - } - - // check all HTML5 sounds with timers - - for (i = sm2.soundIDs.length - 1; i >= 0; i--) { - - if (sm2.sounds[sm2.soundIDs[i]].isHTML5 && sm2.sounds[sm2.soundIDs[i]]._hasTimer) { - sm2.sounds[sm2.soundIDs[i]]._onTimer(); - } - - } - - }; - - catchError = function(options) { - - options = (options !== _undefined ? options : {}); - - if (typeof sm2.onerror === 'function') { - sm2.onerror.apply(window, [{ - type: (options.type !== _undefined ? options.type : null) - }]); - } - - if (options.fatal !== _undefined && options.fatal) { - sm2.disable(); - } - - }; - - badSafariFix = function() { - - // special case: "bad" Safari (OS X 10.3 - 10.7) must fall back to flash for MP3/MP4 - if (!isBadSafari || !detectFlash()) { - // doesn't apply - return false; - } - - var aF = sm2.audioFormats, i, item; - - for (item in aF) { - - if (aF.hasOwnProperty(item)) { - - if (item === 'mp3' || item === 'mp4') { - - sm2._wD(sm + ': Using flash fallback for ' + item + ' format'); - sm2.html5[item] = false; - - // assign result to related formats, too - if (aF[item] && aF[item].related) { - for (i = aF[item].related.length - 1; i >= 0; i--) { - sm2.html5[aF[item].related[i]] = false; - } - } - - } - - } - - } - - }; - - /** - * Pseudo-private flash/ExternalInterface methods - * ---------------------------------------------- - */ - - this._setSandboxType = function(sandboxType) { - - // <d> - // Security sandbox according to Flash plugin - var sb = sm2.sandbox; - - sb.type = sandboxType; - sb.description = sb.types[(sb.types[sandboxType] !== _undefined?sandboxType : 'unknown')]; - - if (sb.type === 'localWithFile') { - - sb.noRemote = true; - sb.noLocal = false; - _wDS('secNote', 2); - - } else if (sb.type === 'localWithNetwork') { - - sb.noRemote = false; - sb.noLocal = true; - - } else if (sb.type === 'localTrusted') { - - sb.noRemote = false; - sb.noLocal = false; - - } - // </d> - - }; - - this._externalInterfaceOK = function(swfVersion) { - - // flash callback confirming flash loaded, EI working etc. - // swfVersion: SWF build string - - if (sm2.swfLoaded) { - return false; - } - - var e; - - debugTS('swf', true); - debugTS('flashtojs', true); - sm2.swfLoaded = true; - tryInitOnFocus = false; - - if (isBadSafari) { - badSafariFix(); - } - - // complain if JS + SWF build/version strings don't match, excluding +DEV builds - // <d> - if (!swfVersion || swfVersion.replace(/\+dev/i,'') !== sm2.versionNumber.replace(/\+dev/i, '')) { - - e = sm + ': Fatal: JavaScript file build "' + sm2.versionNumber + '" does not match Flash SWF build "' + swfVersion + '" at ' + sm2.url + '. Ensure both are up-to-date.'; - - // escape flash -> JS stack so this error fires in window. - setTimeout(function versionMismatch() { - throw new Error(e); - }, 0); - - // exit, init will fail with timeout - return false; - - } - // </d> - - // IE needs a larger timeout - setTimeout(init, isIE ? 100 : 1); - - }; - - /** - * Private initialization helpers - * ------------------------------ - */ - - createMovie = function(smID, smURL) { - - if (didAppend && appendSuccess) { - // ignore if already succeeded - return false; - } - - function initMsg() { - - // <d> - - var options = [], - title, - msg = [], - delimiter = ' + '; - - title = 'SoundManager ' + sm2.version + (!sm2.html5Only && sm2.useHTML5Audio ? (sm2.hasHTML5 ? ' + HTML5 audio' : ', no HTML5 audio support') : ''); - - if (!sm2.html5Only) { - - if (sm2.preferFlash) { - options.push('preferFlash'); - } - - if (sm2.useHighPerformance) { - options.push('useHighPerformance'); - } - - if (sm2.flashPollingInterval) { - options.push('flashPollingInterval (' + sm2.flashPollingInterval + 'ms)'); - } - - if (sm2.html5PollingInterval) { - options.push('html5PollingInterval (' + sm2.html5PollingInterval + 'ms)'); - } - - if (sm2.wmode) { - options.push('wmode (' + sm2.wmode + ')'); - } - - if (sm2.debugFlash) { - options.push('debugFlash'); - } - - if (sm2.useFlashBlock) { - options.push('flashBlock'); - } - - } else { - - if (sm2.html5PollingInterval) { - options.push('html5PollingInterval (' + sm2.html5PollingInterval + 'ms)'); - } - - } - - if (options.length) { - msg = msg.concat([options.join(delimiter)]); - } - - sm2._wD(title + (msg.length ? delimiter + msg.join(', ') : ''), 1); - - showSupport(); - - // </d> - - } - - if (sm2.html5Only) { - - // 100% HTML5 mode - setVersionInfo(); - - initMsg(); - sm2.oMC = id(sm2.movieID); - init(); - - // prevent multiple init attempts - didAppend = true; - - appendSuccess = true; - - return false; - - } - - // flash path - var remoteURL = (smURL || sm2.url), - localURL = (sm2.altURL || remoteURL), - swfTitle = 'JS/Flash audio component (SoundManager 2)', - oTarget = getDocument(), - extraClass = getSWFCSS(), - isRTL = null, - html = doc.getElementsByTagName('html')[0], - oEmbed, oMovie, tmp, movieHTML, oEl, s, x, sClass; - - isRTL = (html && html.dir && html.dir.match(/rtl/i)); - smID = (smID === _undefined ? sm2.id : smID); - - function param(name, value) { - return '<param name="' + name + '" value="' + value + '" />'; - } - - // safety check for legacy (change to Flash 9 URL) - setVersionInfo(); - sm2.url = normalizeMovieURL(overHTTP ? remoteURL : localURL); - smURL = sm2.url; - - sm2.wmode = (!sm2.wmode && sm2.useHighPerformance ? 'transparent' : sm2.wmode); - - if (sm2.wmode !== null && (ua.match(/msie 8/i) || (!isIE && !sm2.useHighPerformance)) && navigator.platform.match(/win32|win64/i)) { - /** - * extra-special case: movie doesn't load until scrolled into view when using wmode = anything but 'window' here - * does not apply when using high performance (position:fixed means on-screen), OR infinite flash load timeout - * wmode breaks IE 8 on Vista + Win7 too in some cases, as of January 2011 (?) - */ - messages.push(strings.spcWmode); - sm2.wmode = null; - } - - oEmbed = { - 'name': smID, - 'id': smID, - 'src': smURL, - 'quality': 'high', - 'allowScriptAccess': sm2.allowScriptAccess, - 'bgcolor': sm2.bgColor, - 'pluginspage': http + 'www.macromedia.com/go/getflashplayer', - 'title': swfTitle, - 'type': 'application/x-shockwave-flash', - 'wmode': sm2.wmode, - // http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c36cfb8137124318eebc6-7ffd.html - 'hasPriority': 'true' - }; - - if (sm2.debugFlash) { - oEmbed.FlashVars = 'debug=1'; - } - - if (!sm2.wmode) { - // don't write empty attribute - delete oEmbed.wmode; - } - - if (isIE) { - - // IE is "special". - oMovie = doc.createElement('div'); - movieHTML = [ - '<object id="' + smID + '" data="' + smURL + '" type="' + oEmbed.type + '" title="' + oEmbed.title +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">', - param('movie', smURL), - param('AllowScriptAccess', sm2.allowScriptAccess), - param('quality', oEmbed.quality), - (sm2.wmode? param('wmode', sm2.wmode): ''), - param('bgcolor', sm2.bgColor), - param('hasPriority', 'true'), - (sm2.debugFlash ? param('FlashVars', oEmbed.FlashVars) : ''), - '</object>' - ].join(''); - - } else { - - oMovie = doc.createElement('embed'); - for (tmp in oEmbed) { - if (oEmbed.hasOwnProperty(tmp)) { - oMovie.setAttribute(tmp, oEmbed[tmp]); - } - } - - } - - initDebug(); - extraClass = getSWFCSS(); - oTarget = getDocument(); - - if (oTarget) { - - sm2.oMC = (id(sm2.movieID) || doc.createElement('div')); - - if (!sm2.oMC.id) { - - sm2.oMC.id = sm2.movieID; - sm2.oMC.className = swfCSS.swfDefault + ' ' + extraClass; - s = null; - oEl = null; - - if (!sm2.useFlashBlock) { - if (sm2.useHighPerformance) { - // on-screen at all times - s = { - 'position': 'fixed', - 'width': '8px', - 'height': '8px', - // >= 6px for flash to run fast, >= 8px to start up under Firefox/win32 in some cases. odd? yes. - 'bottom': '0px', - 'left': '0px', - 'overflow': 'hidden' - }; - } else { - // hide off-screen, lower priority - s = { - 'position': 'absolute', - 'width': '6px', - 'height': '6px', - 'top': '-9999px', - 'left': '-9999px' - }; - if (isRTL) { - s.left = Math.abs(parseInt(s.left, 10)) + 'px'; - } - } - } - - if (isWebkit) { - // soundcloud-reported render/crash fix, safari 5 - sm2.oMC.style.zIndex = 10000; - } - - if (!sm2.debugFlash) { - for (x in s) { - if (s.hasOwnProperty(x)) { - sm2.oMC.style[x] = s[x]; - } - } - } - - try { - - if (!isIE) { - sm2.oMC.appendChild(oMovie); - } - - oTarget.appendChild(sm2.oMC); - - if (isIE) { - oEl = sm2.oMC.appendChild(doc.createElement('div')); - oEl.className = swfCSS.swfBox; - oEl.innerHTML = movieHTML; - } - - appendSuccess = true; - - } catch(e) { - - throw new Error(str('domError') + ' \n' + e.toString()); - - } - - } else { - - // SM2 container is already in the document (eg. flashblock use case) - sClass = sm2.oMC.className; - sm2.oMC.className = (sClass ? sClass + ' ' : swfCSS.swfDefault) + (extraClass ? ' ' + extraClass : ''); - sm2.oMC.appendChild(oMovie); - - if (isIE) { - oEl = sm2.oMC.appendChild(doc.createElement('div')); - oEl.className = swfCSS.swfBox; - oEl.innerHTML = movieHTML; - } - - appendSuccess = true; - - } - - } - - didAppend = true; - - initMsg(); - - // sm2._wD(sm + ': Trying to load ' + smURL + (!overHTTP && sm2.altURL ? ' (alternate URL)' : ''), 1); - - return true; - - }; - - initMovie = function() { - - if (sm2.html5Only) { - createMovie(); - return false; - } - - // attempt to get, or create, movie (may already exist) - if (flash) { - return false; - } - - if (!sm2.url) { - - /** - * Something isn't right - we've reached init, but the soundManager url property has not been set. - * User has not called setup({url: ...}), or has not set soundManager.url (legacy use case) directly before init time. - * Notify and exit. If user calls setup() with a url: property, init will be restarted as in the deferred loading case. - */ - - _wDS('noURL'); - return false; - - } - - // inline markup case - flash = sm2.getMovie(sm2.id); - - if (!flash) { - - if (!oRemoved) { - - // try to create - createMovie(sm2.id, sm2.url); - - } else { - - // try to re-append removed movie after reboot() - if (!isIE) { - sm2.oMC.appendChild(oRemoved); - } else { - sm2.oMC.innerHTML = oRemovedHTML; - } - - oRemoved = null; - didAppend = true; - - } - - flash = sm2.getMovie(sm2.id); - - } - - if (typeof sm2.oninitmovie === 'function') { - setTimeout(sm2.oninitmovie, 1); - } - - // <d> - flushMessages(); - // </d> - - return true; - - }; - - delayWaitForEI = function() { - - setTimeout(waitForEI, 1000); - - }; - - rebootIntoHTML5 = function() { - - // special case: try for a reboot with preferFlash: false, if 100% HTML5 mode is possible and useFlashBlock is not enabled. - - window.setTimeout(function() { - - complain(smc + 'useFlashBlock is false, 100% HTML5 mode is possible. Rebooting with preferFlash: false...'); - - sm2.setup({ - preferFlash: false - }).reboot(); - - // if for some reason you want to detect this case, use an ontimeout() callback and look for html5Only and didFlashBlock == true. - sm2.didFlashBlock = true; - - sm2.beginDelayedInit(); - - }, 1); - - }; - - waitForEI = function() { - - var p, - loadIncomplete = false; - - if (!sm2.url) { - // No SWF url to load (noURL case) - exit for now. Will be retried when url is set. - return false; - } - - if (waitingForEI) { - return false; - } - - waitingForEI = true; - event.remove(window, 'load', delayWaitForEI); - - if (hasFlash && tryInitOnFocus && !isFocused) { - // Safari won't load flash in background tabs, only when focused. - _wDS('waitFocus'); - return false; - } - - if (!didInit) { - p = sm2.getMoviePercent(); - if (p > 0 && p < 100) { - loadIncomplete = true; - } - } - - setTimeout(function() { - - p = sm2.getMoviePercent(); - - if (loadIncomplete) { - // special case: if movie *partially* loaded, retry until it's 100% before assuming failure. - waitingForEI = false; - sm2._wD(str('waitSWF')); - window.setTimeout(delayWaitForEI, 1); - return false; - } - - // <d> - if (!didInit) { - - sm2._wD(sm + ': No Flash response within expected time. Likely causes: ' + (p === 0 ? 'SWF load failed, ' : '') + 'Flash blocked or JS-Flash security error.' + (sm2.debugFlash ? ' ' + str('checkSWF') : ''), 2); - - if (!overHTTP && p) { - - _wDS('localFail', 2); - - if (!sm2.debugFlash) { - _wDS('tryDebug', 2); - } - - } - - if (p === 0) { - - // if 0 (not null), probably a 404. - sm2._wD(str('swf404', sm2.url), 1); - - } - - debugTS('flashtojs', false, ': Timed out' + (overHTTP ? ' (Check flash security or flash blockers)':' (No plugin/missing SWF?)')); - - } - // </d> - - // give up / time-out, depending - - if (!didInit && okToDisable) { - - if (p === null) { - - // SWF failed to report load progress. Possibly blocked. - - if (sm2.useFlashBlock || sm2.flashLoadTimeout === 0) { - - if (sm2.useFlashBlock) { - - flashBlockHandler(); - - } - - _wDS('waitForever'); - - } else { - - // no custom flash block handling, but SWF has timed out. Will recover if user unblocks / allows SWF load. - - if (!sm2.useFlashBlock && canIgnoreFlash) { - - rebootIntoHTML5(); - - } else { - - _wDS('waitForever'); - - // fire any regular registered ontimeout() listeners. - processOnEvents({ - type: 'ontimeout', - ignoreInit: true, - error: { - type: 'INIT_FLASHBLOCK' - } - }); - - } - - } - - } else { - - // SWF loaded? Shouldn't be a blocking issue, then. - - if (sm2.flashLoadTimeout === 0) { - - _wDS('waitForever'); - - } else { - - if (!sm2.useFlashBlock && canIgnoreFlash) { - - rebootIntoHTML5(); - - } else { - - failSafely(true); - - } - - } - - } - - } - - }, sm2.flashLoadTimeout); - - }; - - handleFocus = function() { - - function cleanup() { - event.remove(window, 'focus', handleFocus); - } - - if (isFocused || !tryInitOnFocus) { - // already focused, or not special Safari background tab case - cleanup(); - return true; - } - - okToDisable = true; - isFocused = true; - _wDS('gotFocus'); - - // allow init to restart - waitingForEI = false; - - // kick off ExternalInterface timeout, now that the SWF has started - delayWaitForEI(); - - cleanup(); - return true; - - }; - - flushMessages = function() { - - // <d> - - // SM2 pre-init debug messages - if (messages.length) { - sm2._wD('SoundManager 2: ' + messages.join(' '), 1); - messages = []; - } - - // </d> - - }; - - showSupport = function() { - - // <d> - - flushMessages(); - - var item, tests = []; - - if (sm2.useHTML5Audio && sm2.hasHTML5) { - for (item in sm2.audioFormats) { - if (sm2.audioFormats.hasOwnProperty(item)) { - tests.push(item + ' = ' + sm2.html5[item] + (!sm2.html5[item] && needsFlash && sm2.flash[item] ? ' (using flash)' : (sm2.preferFlash && sm2.flash[item] && needsFlash ? ' (preferring flash)' : (!sm2.html5[item] ? ' (' + (sm2.audioFormats[item].required ? 'required, ' : '') + 'and no flash support)' : '')))); - } - } - sm2._wD('SoundManager 2 HTML5 support: ' + tests.join(', '), 1); - } - - // </d> - - }; - - initComplete = function(bNoDisable) { - - if (didInit) { - return false; - } - - if (sm2.html5Only) { - // all good. - _wDS('sm2Loaded', 1); - didInit = true; - initUserOnload(); - debugTS('onload', true); - return true; - } - - var wasTimeout = (sm2.useFlashBlock && sm2.flashLoadTimeout && !sm2.getMoviePercent()), - result = true, - error; - - if (!wasTimeout) { - didInit = true; - } - - error = { - type: (!hasFlash && needsFlash ? 'NO_FLASH' : 'INIT_TIMEOUT') - }; - - sm2._wD('SoundManager 2 ' + (disabled ? 'failed to load' : 'loaded') + ' (' + (disabled ? 'Flash security/load error' : 'OK') + ') ' + String.fromCharCode(disabled ? 10006 : 10003), disabled ? 2: 1); - - if (disabled || bNoDisable) { - - if (sm2.useFlashBlock && sm2.oMC) { - sm2.oMC.className = getSWFCSS() + ' ' + (sm2.getMoviePercent() === null ? swfCSS.swfTimedout : swfCSS.swfError); - } - - processOnEvents({ - type: 'ontimeout', - error: error, - ignoreInit: true - }); - - debugTS('onload', false); - catchError(error); - - result = false; - - } else { - - debugTS('onload', true); - - } - - if (!disabled) { - - if (sm2.waitForWindowLoad && !windowLoaded) { - - _wDS('waitOnload'); - event.add(window, 'load', initUserOnload); - - } else { - - // <d> - if (sm2.waitForWindowLoad && windowLoaded) { - _wDS('docLoaded'); - } - // </d> - - initUserOnload(); - - } - - } - - return result; - - }; - - /** - * apply top-level setupOptions object as local properties, eg., this.setupOptions.flashVersion -> this.flashVersion (soundManager.flashVersion) - * this maintains backward compatibility, and allows properties to be defined separately for use by soundManager.setup(). - */ - - setProperties = function() { - - var i, - o = sm2.setupOptions; - - for (i in o) { - - if (o.hasOwnProperty(i)) { - - // assign local property if not already defined - - if (sm2[i] === _undefined) { - - sm2[i] = o[i]; - - } else if (sm2[i] !== o[i]) { - - // legacy support: write manually-assigned property (eg., soundManager.url) back to setupOptions to keep things in sync - sm2.setupOptions[i] = sm2[i]; - - } - - } - - } - - }; - - - init = function() { - - // called after onload() - - if (didInit) { - _wDS('didInit'); - return false; - } - - function cleanup() { - event.remove(window, 'load', sm2.beginDelayedInit); - } - - if (sm2.html5Only) { - - if (!didInit) { - // we don't need no steenking flash! - cleanup(); - sm2.enabled = true; - initComplete(); - } - - return true; - - } - - // flash path - initMovie(); - - try { - - // attempt to talk to Flash - flash._externalInterfaceTest(false); - - /** - * Apply user-specified polling interval, OR, if "high performance" set, faster vs. default polling - * (determines frequency of whileloading/whileplaying callbacks, effectively driving UI framerates) - */ - setPolling(true, (sm2.flashPollingInterval || (sm2.useHighPerformance ? 10 : 50))); - - if (!sm2.debugMode) { - // stop the SWF from making debug output calls to JS - flash._disableDebug(); - } - - sm2.enabled = true; - debugTS('jstoflash', true); - - if (!sm2.html5Only) { - // prevent browser from showing cached page state (or rather, restoring "suspended" page state) via back button, because flash may be dead - // http://www.webkit.org/blog/516/webkit-page-cache-ii-the-unload-event/ - event.add(window, 'unload', doNothing); - } - - } catch(e) { - - sm2._wD('js/flash exception: ' + e.toString()); - - debugTS('jstoflash', false); - - catchError({ - type: 'JS_TO_FLASH_EXCEPTION', - fatal: true - }); - - // don't disable, for reboot() - failSafely(true); - - initComplete(); - - return false; - - } - - initComplete(); - - // disconnect events - cleanup(); - - return true; - - }; - - domContentLoaded = function() { - - if (didDCLoaded) { - return false; - } - - didDCLoaded = true; - - // assign top-level soundManager properties eg. soundManager.url - setProperties(); - - initDebug(); - - if (!hasFlash && sm2.hasHTML5) { - - sm2._wD('SoundManager 2: No Flash detected' + (!sm2.useHTML5Audio ? ', enabling HTML5.' : '. Trying HTML5-only mode.'), 1); - - sm2.setup({ - 'useHTML5Audio': true, - // make sure we aren't preferring flash, either - // TODO: preferFlash should not matter if flash is not installed. Currently, stuff breaks without the below tweak. - 'preferFlash': false - }); - - } - - testHTML5(); - - if (!hasFlash && needsFlash) { - - messages.push(strings.needFlash); - - // TODO: Fatal here vs. timeout approach, etc. - // hack: fail sooner. - sm2.setup({ - 'flashLoadTimeout': 1 - }); - - } - - if (doc.removeEventListener) { - doc.removeEventListener('DOMContentLoaded', domContentLoaded, false); - } - - initMovie(); - - return true; - - }; - - domContentLoadedIE = function() { - - if (doc.readyState === 'complete') { - domContentLoaded(); - doc.detachEvent('onreadystatechange', domContentLoadedIE); - } - - return true; - - }; - - winOnLoad = function() { - - // catch edge case of initComplete() firing after window.load() - windowLoaded = true; - - // catch case where DOMContentLoaded has been sent, but we're still in doc.readyState = 'interactive' - domContentLoaded(); - - event.remove(window, 'load', winOnLoad); - - }; - - // sniff up-front - detectFlash(); - - // focus and window load, init (primarily flash-driven) - event.add(window, 'focus', handleFocus); - event.add(window, 'load', delayWaitForEI); - event.add(window, 'load', winOnLoad); - - if (doc.addEventListener) { - - doc.addEventListener('DOMContentLoaded', domContentLoaded, false); - - } else if (doc.attachEvent) { - - doc.attachEvent('onreadystatechange', domContentLoadedIE); - - } else { - - // no add/attachevent support - safe to assume no JS -> Flash either - debugTS('onload', false); - catchError({ - type: 'NO_DOM2_EVENTS', - fatal: true - }); - - } - -} // SoundManager() - -// SM2_DEFER details: http://www.schillmania.com/projects/soundmanager2/doc/getstarted/#lazy-loading - -if (window.SM2_DEFER === _undefined || !SM2_DEFER) { - soundManager = new SoundManager(); -} - -/** - * SoundManager public interfaces - * ------------------------------ - */ - -if (typeof module === 'object' && module && typeof module.exports === 'object') { - - /** - * commonJS module - */ - - module.exports.SoundManager = SoundManager; - module.exports.soundManager = soundManager; - -} else if (typeof define === 'function' && define.amd) { - - /** - * AMD - requireJS - * basic usage: - * require(["/path/to/soundmanager2.js"], function(SoundManager) { - * SoundManager.getInstance().setup({ - * url: '/swf/', - * onready: function() { ... } - * }) - * }); - * - * SM2_DEFER usage: - * window.SM2_DEFER = true; - * require(["/path/to/soundmanager2.js"], function(SoundManager) { - * SoundManager.getInstance(function() { - * var soundManager = new SoundManager.constructor(); - * soundManager.setup({ - * url: '/swf/', - * ... - * }); - * ... - * soundManager.beginDelayedInit(); - * return soundManager; - * }) - * }); - */ - - define(function() { - /** - * Retrieve the global instance of SoundManager. - * If a global instance does not exist it can be created using a callback. - * - * @param {Function} smBuilder Optional: Callback used to create a new SoundManager instance - * @return {SoundManager} The global SoundManager instance - */ - function getInstance(smBuilder) { - if (!window.soundManager && smBuilder instanceof Function) { - var instance = smBuilder(SoundManager); - if (instance instanceof SoundManager) { - window.soundManager = instance; - } - } - return window.soundManager; - } - return { - constructor: SoundManager, - getInstance: getInstance - } - }); - -} - -// standard browser case - -// constructor -window.SoundManager = SoundManager; - -/** - * note: SM2 requires a window global due to Flash, which makes calls to window.soundManager. - * Flash may not always be needed, but this is not known until async init and SM2 may even "reboot" into Flash mode. - */ - -// public API, flash callbacks etc. -window.soundManager = soundManager; - -}(window)); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2.swf b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2.swf deleted file mode 100644 index 0403e0efd..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2.swf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_debug.swf b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_debug.swf deleted file mode 100644 index 9dbc7fe9a..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_debug.swf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash9.swf b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash9.swf deleted file mode 100644 index f401b2ff5..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash9.swf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash9_debug.swf b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash9_debug.swf deleted file mode 100644 index cbc444257..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash9_debug.swf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash_xdomain.zip b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash_xdomain.zip deleted file mode 100644 index 7ebcecc2a..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager/swf/soundmanager2_flash_xdomain.zip and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager2.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager2.js deleted file mode 100644 index 2077360f8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/soundmanager2.js +++ /dev/null @@ -1,113 +0,0 @@ -/** @license - - - SoundManager 2: JavaScript Sound for the Web - ---------------------------------------------- - http://schillmania.com/projects/soundmanager2/ - - Copyright (c) 2007, Scott Schiller. All rights reserved. - Code provided under the BSD License: - http://schillmania.com/projects/soundmanager2/license.txt - - V2.97a.20150601 -*/ -(function(h,g){function K(sb,K){function ha(b){return c.preferFlash&&H&&!c.ignoreFlash&&c.flash[b]!==g&&c.flash[b]}function r(b){return function(d){var e=this._s;e&&e._a?d=b.call(this,d):(e&&e.id?c._wD(e.id+": Ignoring "+d.type):c._wD("HTML5::Ignoring "+d.type),d=null);return d}}this.setupOptions={url:sb||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1E3, -wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,forceUseGlobalHTML5Audio:!1,ignoreMobileRestrictions:!1,html5Test:/^(probably|maybe)$/i,preferFlash:!1,noSWFCache:!1,idPrefix:"sound"};this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null, -usePolicyFile:!1,volume:100};this.flash9Options={isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1}, -ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},opus:{type:["audio/ogg; codecs=opus","audio/opus"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.movieID="sm2-container";this.id=K||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20150601";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock= -this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={type:null,types:{remote:"remote (domain-based) rules",localWithFile:"local with file access (no internet access)",localWithNetwork:"local with network (internet access only, no local access)",localTrusted:"local, trusted (local+internet access)"},description:null,noRemote:null,noLocal:null};this.html5= -{usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var W,c=this,Ya=null,l=null,F,v=navigator.userAgent,ia=h.location.href.toString(),m=document,ya,Za,za,n,I=[],Aa=!0,D,X=!1,Y=!1,q=!1,y=!1,ja=!1,p,tb=0,Z,A,Ba,R,Ca,P,S,T,$a,Da,Ea,ka,z,la,Q,Fa,aa,ma,na,U,ab,Ga,bb=["log","info","warn","error"],cb,Ha,db,ba=null,Ia=null,t,Ja,V,eb,oa,pa,L,w,ca=!1,Ka=!1,fb,gb,hb,qa=0,da=null,ra,M=[],ea,u=null,ib,sa,fa,N,ta,La,jb,x,kb=Array.prototype.slice,C=!1,Ma,H,Na,lb,J,mb,Oa,ua,nb=0,Pa,Qa=v.match(/(ipad|iphone|ipod)/i), -Ra=v.match(/android/i),O=v.match(/msie/i),ub=v.match(/webkit/i),va=v.match(/safari/i)&&!v.match(/chrome/i),Sa=v.match(/opera/i),wa=v.match(/(mobile|pre\/|xoom)/i)||Qa||Ra,Ta=!ia.match(/usehtml5audio/i)&&!ia.match(/sm2\-ignorebadua/i)&&va&&!v.match(/silk/i)&&v.match(/OS X 10_6_([3-7])/i),Ua=h.console!==g&&console.log!==g,Va=m.hasFocus!==g?m.hasFocus():null,xa=va&&(m.hasFocus===g||!m.hasFocus()),ob=!xa,pb=/(mp3|mp4|mpa|m4a|m4b)/i,ga=m.location?m.location.protocol.match(/http/i):null,vb=ga?"":"http://", -qb=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,rb="mpeg4 aac flv mov mp4 m4v f4v m4a m4b mp4v 3gp 3g2".split(" "),wb=new RegExp("\\.("+rb.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!ga;var Wa;try{Wa=Audio!==g&&(Sa&&opera!==g&&10>opera.version()?new Audio(null):new Audio).canPlayType!==g}catch(xb){Wa=!1}this.hasHTML5=Wa;this.setup=function(b){var d=!c.url;b!==g&&q&&u&&c.ok()&&(b.flashVersion!==g|| -b.url!==g||b.html5Test!==g)&&L(t("setupLate"));Ba(b);if(!C)if(wa){if(!c.setupOptions.ignoreMobileRestrictions||c.setupOptions.forceUseGlobalHTML5Audio)M.push(z.globalHTML5),C=!0}else c.setupOptions.forceUseGlobalHTML5Audio&&(M.push(z.globalHTML5),C=!0);if(!Pa&&wa)if(c.setupOptions.ignoreMobileRestrictions)M.push(z.ignoreMobile);else if(c.setupOptions.useHTML5Audio&&!c.setupOptions.preferFlash||c._wD(z.mobileUA),c.setupOptions.useHTML5Audio=!0,c.setupOptions.preferFlash=!1,Qa)c.ignoreFlash=!0;else if(Ra&& -!v.match(/android\s2\.3/i)||!Ra)c._wD(z.globalHTML5),C=!0;b&&(d&&aa&&b.url!==g&&c.beginDelayedInit(),aa||b.url===g||"complete"!==m.readyState||setTimeout(Q,1));Pa=!0;return c};this.supported=this.ok=function(){return u?q&&!y:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(c){return F(c)||m[c]||h[c]};this.createSound=function(b,d){function e(){f=oa(f);c.sounds[f.id]=new W(f);c.soundIDs.push(f.id);return c.sounds[f.id]}var a,f;a=null;a="soundManager.createSound(): "+t(q?"notOK":"notReady");if(!q|| -!c.ok())return L(a),!1;d!==g&&(b={id:b,url:d});f=A(b);f.url=ra(f.url);f.id===g&&(f.id=c.setupOptions.idPrefix+nb++);f.id.toString().charAt(0).match(/^[0-9]$/)&&c._wD("soundManager.createSound(): "+t("badID",f.id),2);c._wD("soundManager.createSound(): "+f.id+(f.url?" ("+f.url+")":""),1);if(w(f.id,!0))return c._wD("soundManager.createSound(): "+f.id+" exists",1),c.sounds[f.id];if(sa(f))a=e(),c.html5Only||c._wD(f.id+": Using HTML5"),a._setup_html5(f);else{if(c.html5Only)return c._wD(f.id+": No HTML5 support for this sound, and no Flash. Exiting."), -e();if(c.html5.usingFlash&&f.url&&f.url.match(/data\:/i))return c._wD(f.id+": data: URIs not supported via Flash. Exiting."),e();8<n&&(null===f.isMovieStar&&(f.isMovieStar=!!(f.serverURL||f.type&&f.type.match(qb)||f.url&&f.url.match(wb))),f.isMovieStar&&(c._wD("soundManager.createSound(): using MovieStar handling"),1<f.loops&&p("noNSLoop")));f=pa(f,"soundManager.createSound(): ");a=e();8===n?l._createSound(f.id,f.loops||1,f.usePolicyFile):(l._createSound(f.id,f.url,f.usePeakData,f.useWaveformData, -f.useEQData,f.isMovieStar,f.isMovieStar?f.bufferTime:!1,f.loops||1,f.serverURL,f.duration||null,f.autoPlay,!0,f.autoLoad,f.usePolicyFile),f.serverURL||(a.connected=!0,f.onconnect&&f.onconnect.apply(a)));f.serverURL||!f.autoLoad&&!f.autoPlay||a.load(f)}!f.serverURL&&f.autoPlay&&a.play();return a};this.destroySound=function(b,d){if(!w(b))return!1;var e=c.sounds[b],a;e.stop();e._iO={};e.unload();for(a=0;a<c.soundIDs.length;a++)if(c.soundIDs[a]===b){c.soundIDs.splice(a,1);break}d||e.destruct(!0);delete c.sounds[b]; -return!0};this.load=function(b,d){return w(b)?c.sounds[b].load(d):!1};this.unload=function(b){return w(b)?c.sounds[b].unload():!1};this.onposition=this.onPosition=function(b,d,e,a){return w(b)?c.sounds[b].onposition(d,e,a):!1};this.clearOnPosition=function(b,d,e){return w(b)?c.sounds[b].clearOnPosition(d,e):!1};this.start=this.play=function(b,d){var e=null,a=d&&!(d instanceof Object);if(!q||!c.ok())return L("soundManager.play(): "+t(q?"notOK":"notReady")),!1;if(w(b,a))a&&(d={url:d});else{if(!a)return!1; -a&&(d={url:d});d&&d.url&&(c._wD('soundManager.play(): Attempting to create "'+b+'"',1),d.id=b,e=c.createSound(d).play())}null===e&&(e=c.sounds[b].play(d));return e};this.setPosition=function(b,d){return w(b)?c.sounds[b].setPosition(d):!1};this.stop=function(b){if(!w(b))return!1;c._wD("soundManager.stop("+b+")",1);return c.sounds[b].stop()};this.stopAll=function(){var b;c._wD("soundManager.stopAll()",1);for(b in c.sounds)c.sounds.hasOwnProperty(b)&&c.sounds[b].stop()};this.pause=function(b){return w(b)? -c.sounds[b].pause():!1};this.pauseAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].pause()};this.resume=function(b){return w(b)?c.sounds[b].resume():!1};this.resumeAll=function(){var b;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].resume()};this.togglePause=function(b){return w(b)?c.sounds[b].togglePause():!1};this.setPan=function(b,d){return w(b)?c.sounds[b].setPan(d):!1};this.setVolume=function(b,d){var e,a;if(b===g||isNaN(b)||d!==g)return w(b)?c.sounds[b].setVolume(d): -!1;e=0;for(a=c.soundIDs.length;e<a;e++)c.sounds[c.soundIDs[e]].setVolume(b)};this.mute=function(b){var d=0;b instanceof String&&(b=null);if(b){if(!w(b))return!1;c._wD('soundManager.mute(): Muting "'+b+'"');return c.sounds[b].mute()}c._wD("soundManager.mute(): Muting all sounds");for(d=c.soundIDs.length-1;0<=d;d--)c.sounds[c.soundIDs[d]].mute();return c.muted=!0};this.muteAll=function(){c.mute()};this.unmute=function(b){b instanceof String&&(b=null);if(b){if(!w(b))return!1;c._wD('soundManager.unmute(): Unmuting "'+ -b+'"');return c.sounds[b].unmute()}c._wD("soundManager.unmute(): Unmuting all sounds");for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].unmute();c.muted=!1;return!0};this.unmuteAll=function(){c.unmute()};this.toggleMute=function(b){return w(b)?c.sounds[b].toggleMute():!1};this.getMemoryUse=function(){var c=0;l&&8!==n&&(c=parseInt(l._getMemoryUse(),10));return c};this.disable=function(b){var d;b===g&&(b=!1);if(y)return!1;y=!0;p("shutdown",1);for(d=c.soundIDs.length-1;0<=d;d--)cb(c.sounds[c.soundIDs[d]]); -Z(b);x.remove(h,"load",S);return!0};this.canPlayMIME=function(b){var d;c.hasHTML5&&(d=fa({type:b}));!d&&u&&(d=b&&c.ok()?!!(8<n&&b.match(qb)||b.match(c.mimePattern)):null);return d};this.canPlayURL=function(b){var d;c.hasHTML5&&(d=fa({url:b}));!d&&u&&(d=b&&c.ok()?!!b.match(c.filePattern):null);return d};this.canPlayLink=function(b){return b.type!==g&&b.type&&c.canPlayMIME(b.type)?!0:c.canPlayURL(b.href)};this.getSoundById=function(b,d){if(!b)return null;var e=c.sounds[b];e||d||c._wD('soundManager.getSoundById(): Sound "'+ -b+'" not found.',2);return e};this.onready=function(b,d){if("function"===typeof b)q&&c._wD(t("queue","onready")),d||(d=h),Ca("onready",b,d),P();else throw t("needFunction","onready");return!0};this.ontimeout=function(b,d){if("function"===typeof b)q&&c._wD(t("queue","ontimeout")),d||(d=h),Ca("ontimeout",b,d),P({type:"ontimeout"});else throw t("needFunction","ontimeout");return!0};this._writeDebug=function(b,d){var e,a;if(!c.setupOptions.debugMode)return!1;if(Ua&&c.useConsole){if(d&&"object"===typeof d)console.log(b, -d);else if(bb[d]!==g)console[bb[d]](b);else console.log(b);if(c.consoleOnly)return!0}e=F("soundmanager-debug");if(!e)return!1;a=m.createElement("div");0===++tb%2&&(a.className="sm2-alt");d=d===g?0:parseInt(d,10);a.appendChild(m.createTextNode(b));d&&(2<=d&&(a.style.fontWeight="bold"),3===d&&(a.style.color="#ff3333"));e.insertBefore(a,e.firstChild);return!0};-1!==ia.indexOf("sm2-debug=alert")&&(this._writeDebug=function(c){h.alert(c)});this._wD=this._writeDebug;this._debug=function(){var b,d;p("currentObj", -1);b=0;for(d=c.soundIDs.length;b<d;b++)c.sounds[c.soundIDs[b]]._debug()};this.reboot=function(b,d){c.soundIDs.length&&c._wD("Destroying "+c.soundIDs.length+" SMSound object"+(1!==c.soundIDs.length?"s":"")+"...");var e,a,f;for(e=c.soundIDs.length-1;0<=e;e--)c.sounds[c.soundIDs[e]].destruct();if(l)try{O&&(Ia=l.innerHTML),ba=l.parentNode.removeChild(l)}catch(g){p("badRemove",2)}Ia=ba=u=l=null;c.enabled=aa=q=ca=Ka=X=Y=y=C=c.swfLoaded=!1;c.soundIDs=[];c.sounds={};nb=0;Pa=!1;if(b)I=[];else for(e in I)if(I.hasOwnProperty(e))for(a= -0,f=I[e].length;a<f;a++)I[e][a].fired=!1;d||c._wD("soundManager: Rebooting...");c.html5={usingFlash:null};c.flash={};c.html5Only=!1;c.ignoreFlash=!1;h.setTimeout(function(){d||c.beginDelayedInit()},20);return c};this.reset=function(){p("reset");return c.reboot(!0,!0)};this.getMoviePercent=function(){return l&&"PercentLoaded"in l?l.PercentLoaded():null};this.beginDelayedInit=function(){ja=!0;Q();setTimeout(function(){if(Ka)return!1;na();la();return Ka=!0},20);T()};this.destruct=function(){c._wD("soundManager.destruct()"); -c.disable(!0)};W=function(b){var d,e,a=this,f,h,k,G,m,q,r=!1,E=[],v=0,Xa,y,u=null,z;e=d=null;this.sID=this.id=b.id;this.url=b.url;this._iO=this.instanceOptions=this.options=A(b);this.pan=this.options.pan;this.volume=this.options.volume;this.isHTML5=!1;this._a=null;z=this.url?!1:!0;this.id3={};this._debug=function(){c._wD(a.id+": Merged options:",a.options)};this.load=function(b){var d=null,e;b!==g?a._iO=A(b,a.options):(b=a.options,a._iO=b,u&&u!==a.url&&(p("manURL"),a._iO.url=a.url,a.url=null));a._iO.url|| -(a._iO.url=a.url);a._iO.url=ra(a._iO.url);e=a.instanceOptions=a._iO;c._wD(a.id+": load ("+e.url+")");if(!e.url&&!a.url)return c._wD(a.id+": load(): url is unassigned. Exiting.",2),a;a.isHTML5||8!==n||a.url||e.autoPlay||c._wD(a.id+": Flash 8 load() limitation: Wait for onload() before calling play().",1);if(e.url===a.url&&0!==a.readyState&&2!==a.readyState)return p("onURL",1),3===a.readyState&&e.onload&&ua(a,function(){e.onload.apply(a,[!!a.duration])}),a;a.loaded=!1;a.readyState=1;a.playState=0;a.id3= -{};if(sa(e))d=a._setup_html5(e),d._called_load?c._wD(a.id+": Ignoring request to load again"):(a._html5_canplay=!1,a.url!==e.url&&(c._wD(p("manURL")+": "+e.url),a._a.src=e.url,a.setPosition(0)),a._a.autobuffer="auto",a._a.preload="auto",a._a._called_load=!0);else{if(c.html5Only)return c._wD(a.id+": No flash support. Exiting."),a;if(a._iO.url&&a._iO.url.match(/data\:/i))return c._wD(a.id+": data: URIs not supported via Flash. Exiting."),a;try{a.isHTML5=!1,a._iO=pa(oa(e)),a._iO.autoPlay&&(a._iO.position|| -a._iO.from)&&(c._wD(a.id+": Disabling autoPlay because of non-zero offset case"),a._iO.autoPlay=!1),e=a._iO,8===n?l._load(a.id,e.url,e.stream,e.autoPlay,e.usePolicyFile):l._load(a.id,e.url,!!e.stream,!!e.autoPlay,e.loops||1,!!e.autoLoad,e.usePolicyFile)}catch(f){p("smError",2),D("onload",!1),U({type:"SMSOUND_LOAD_JS_EXCEPTION",fatal:!0})}}a.url=e.url;return a};this.unload=function(){0!==a.readyState&&(c._wD(a.id+": unload()"),a.isHTML5?(G(),a._a&&(a._a.pause(),u=ta(a._a))):8===n?l._unload(a.id,"about:blank"): -l._unload(a.id),f());return a};this.destruct=function(b){c._wD(a.id+": Destruct");a.isHTML5?(G(),a._a&&(a._a.pause(),ta(a._a),C||k(),a._a._s=null,a._a=null)):(a._iO.onfailure=null,l._destroySound(a.id));b||c.destroySound(a.id,!0)};this.start=this.play=function(b,d){var e,f,k,G,h,B=!0,B=null;e=a.id+": play(): ";d=d===g?!0:d;b||(b={});a.url&&(a._iO.url=a.url);a._iO=A(a._iO,a.options);a._iO=A(b,a._iO);a._iO.url=ra(a._iO.url);a.instanceOptions=a._iO;if(!a.isHTML5&&a._iO.serverURL&&!a.connected)return a.getAutoPlay()|| -(c._wD(e+" Netstream not connected yet - setting autoPlay"),a.setAutoPlay(!0)),a;sa(a._iO)&&(a._setup_html5(a._iO),m());1!==a.playState||a.paused||((f=a._iO.multiShot)?c._wD(e+"Already playing (multi-shot)",1):(c._wD(e+"Already playing (one-shot)",1),a.isHTML5&&a.setPosition(a._iO.position),B=a));if(null!==B)return B;b.url&&b.url!==a.url&&(a.readyState||a.isHTML5||8!==n||!z?a.load(a._iO):z=!1);a.loaded?c._wD(e.substr(0,e.lastIndexOf(":"))):0===a.readyState?(c._wD(e+"Attempting to load"),a.isHTML5|| -c.html5Only?a.isHTML5?a.load(a._iO):(c._wD(e+"Unsupported type. Exiting."),B=a):(a._iO.autoPlay=!0,a.load(a._iO)),a.instanceOptions=a._iO):2===a.readyState?(c._wD(e+"Could not load - exiting",2),B=a):c._wD(e+"Loading - attempting to play...");if(null!==B)return B;!a.isHTML5&&9===n&&0<a.position&&a.position===a.duration&&(c._wD(e+"Sound at end, resetting to position: 0"),b.position=0);if(a.paused&&0<=a.position&&(!a._iO.serverURL||0<a.position))c._wD(e+"Resuming from paused state",1),a.resume();else{a._iO= -A(b,a._iO);if((!a.isHTML5&&null!==a._iO.position&&0<a._iO.position||null!==a._iO.from&&0<a._iO.from||null!==a._iO.to)&&0===a.instanceCount&&0===a.playState&&!a._iO.serverURL){f=function(){a._iO=A(b,a._iO);a.play(a._iO)};a.isHTML5&&!a._html5_canplay?(c._wD(e+"Beginning load for non-zero offset case"),a.load({_oncanplay:f}),B=!1):a.isHTML5||a.loaded||a.readyState&&2===a.readyState||(c._wD(e+"Preloading for non-zero offset case"),a.load({onload:f}),B=!1);if(null!==B)return B;a._iO=y()}(!a.instanceCount|| -a._iO.multiShotEvents||a.isHTML5&&a._iO.multiShot&&!C||!a.isHTML5&&8<n&&!a.getAutoPlay())&&a.instanceCount++;a._iO.onposition&&0===a.playState&&q(a);a.playState=1;a.paused=!1;a.position=a._iO.position===g||isNaN(a._iO.position)?0:a._iO.position;a.isHTML5||(a._iO=pa(oa(a._iO)));a._iO.onplay&&d&&(a._iO.onplay.apply(a),r=!0);a.setVolume(a._iO.volume,!0);a.setPan(a._iO.pan,!0);a.isHTML5?2>a.instanceCount?(m(),e=a._setup_html5(),a.setPosition(a._iO.position),e.play()):(c._wD(a.id+": Cloning Audio() for instance #"+ -a.instanceCount+"..."),k=new Audio(a._iO.url),G=function(){x.remove(k,"ended",G);a._onfinish(a);ta(k);k=null},h=function(){x.remove(k,"canplay",h);try{k.currentTime=a._iO.position/1E3}catch(c){L(a.id+": multiShot play() failed to apply position of "+a._iO.position/1E3)}k.play()},x.add(k,"ended",G),a._iO.volume!==g&&(k.volume=Math.max(0,Math.min(1,a._iO.volume/100))),a.muted&&(k.muted=!0),a._iO.position?x.add(k,"canplay",h):k.play()):(B=l._start(a.id,a._iO.loops||1,9===n?a.position:a.position/1E3, -a._iO.multiShot||!1),9!==n||B||(c._wD(e+"No sound hardware, or 32-sound ceiling hit",2),a._iO.onplayerror&&a._iO.onplayerror.apply(a)))}return a};this.stop=function(b){var d=a._iO;1===a.playState&&(c._wD(a.id+": stop()"),a._onbufferchange(0),a._resetOnPosition(0),a.paused=!1,a.isHTML5||(a.playState=0),Xa(),d.to&&a.clearOnPosition(d.to),a.isHTML5?a._a&&(b=a.position,a.setPosition(0),a.position=b,a._a.pause(),a.playState=0,a._onTimer(),G()):(l._stop(a.id,b),d.serverURL&&a.unload()),a.instanceCount= -0,a._iO={},d.onstop&&d.onstop.apply(a));return a};this.setAutoPlay=function(b){c._wD(a.id+": Autoplay turned "+(b?"on":"off"));a._iO.autoPlay=b;a.isHTML5||(l._setAutoPlay(a.id,b),b&&!a.instanceCount&&1===a.readyState&&(a.instanceCount++,c._wD(a.id+": Incremented instance count to "+a.instanceCount)))};this.getAutoPlay=function(){return a._iO.autoPlay};this.setPosition=function(b){b===g&&(b=0);var d=a.isHTML5?Math.max(b,0):Math.min(a.duration||a._iO.duration,Math.max(b,0));a.position=d;b=a.position/ -1E3;a._resetOnPosition(a.position);a._iO.position=d;if(!a.isHTML5)b=9===n?a.position:b,a.readyState&&2!==a.readyState&&l._setPosition(a.id,b,a.paused||!a.playState,a._iO.multiShot);else if(a._a){if(a._html5_canplay){if(a._a.currentTime!==b){c._wD(a.id+": setPosition("+b+")");try{a._a.currentTime=b,(0===a.playState||a.paused)&&a._a.pause()}catch(e){c._wD(a.id+": setPosition("+b+") failed: "+e.message,2)}}}else if(b)return c._wD(a.id+": setPosition("+b+"): Cannot seek yet, sound not ready",2),a;a.paused&& -a._onTimer(!0)}return a};this.pause=function(b){if(a.paused||0===a.playState&&1!==a.readyState)return a;c._wD(a.id+": pause()");a.paused=!0;a.isHTML5?(a._setup_html5().pause(),G()):(b||b===g)&&l._pause(a.id,a._iO.multiShot);a._iO.onpause&&a._iO.onpause.apply(a);return a};this.resume=function(){var b=a._iO;if(!a.paused)return a;c._wD(a.id+": resume()");a.paused=!1;a.playState=1;a.isHTML5?(a._setup_html5().play(),m()):(b.isMovieStar&&!b.serverURL&&a.setPosition(a.position),l._pause(a.id,b.multiShot)); -!r&&b.onplay?(b.onplay.apply(a),r=!0):b.onresume&&b.onresume.apply(a);return a};this.togglePause=function(){c._wD(a.id+": togglePause()");if(0===a.playState)return a.play({position:9!==n||a.isHTML5?a.position/1E3:a.position}),a;a.paused?a.resume():a.pause();return a};this.setPan=function(c,b){c===g&&(c=0);b===g&&(b=!1);a.isHTML5||l._setPan(a.id,c);a._iO.pan=c;b||(a.pan=c,a.options.pan=c);return a};this.setVolume=function(b,d){b===g&&(b=100);d===g&&(d=!1);a.isHTML5?a._a&&(c.muted&&!a.muted&&(a.muted= -!0,a._a.muted=!0),a._a.volume=Math.max(0,Math.min(1,b/100))):l._setVolume(a.id,c.muted&&!a.muted||a.muted?0:b);a._iO.volume=b;d||(a.volume=b,a.options.volume=b);return a};this.mute=function(){a.muted=!0;a.isHTML5?a._a&&(a._a.muted=!0):l._setVolume(a.id,0);return a};this.unmute=function(){a.muted=!1;var b=a._iO.volume!==g;a.isHTML5?a._a&&(a._a.muted=!1):l._setVolume(a.id,b?a._iO.volume:a.options.volume);return a};this.toggleMute=function(){return a.muted?a.unmute():a.mute()};this.onposition=this.onPosition= -function(b,c,d){E.push({position:parseInt(b,10),method:c,scope:d!==g?d:a,fired:!1});return a};this.clearOnPosition=function(a,b){var c;a=parseInt(a,10);if(isNaN(a))return!1;for(c=0;c<E.length;c++)a!==E[c].position||b&&b!==E[c].method||(E[c].fired&&v--,E.splice(c,1))};this._processOnPosition=function(){var b,c;b=E.length;if(!b||!a.playState||v>=b)return!1;for(--b;0<=b;b--)c=E[b],!c.fired&&a.position>=c.position&&(c.fired=!0,v++,c.method.apply(c.scope,[c.position]));return!0};this._resetOnPosition= -function(a){var b,c;b=E.length;if(!b)return!1;for(--b;0<=b;b--)c=E[b],c.fired&&a<=c.position&&(c.fired=!1,v--);return!0};y=function(){var b=a._iO,d=b.from,e=b.to,f,g;g=function(){c._wD(a.id+': "To" time of '+e+" reached.");a.clearOnPosition(e,g);a.stop()};f=function(){c._wD(a.id+': Playing "from" '+d);if(null!==e&&!isNaN(e))a.onPosition(e,g)};null===d||isNaN(d)||(b.position=d,b.multiShot=!1,f());return b};q=function(){var b,c=a._iO.onposition;if(c)for(b in c)if(c.hasOwnProperty(b))a.onPosition(parseInt(b, -10),c[b])};Xa=function(){var b,c=a._iO.onposition;if(c)for(b in c)c.hasOwnProperty(b)&&a.clearOnPosition(parseInt(b,10))};m=function(){a.isHTML5&&fb(a)};G=function(){a.isHTML5&&gb(a)};f=function(b){b||(E=[],v=0);r=!1;a._hasTimer=null;a._a=null;a._html5_canplay=!1;a.bytesLoaded=null;a.bytesTotal=null;a.duration=a._iO&&a._iO.duration?a._iO.duration:null;a.durationEstimate=null;a.buffered=[];a.eqData=[];a.eqData.left=[];a.eqData.right=[];a.failures=0;a.isBuffering=!1;a.instanceOptions={};a.instanceCount= -0;a.loaded=!1;a.metadata={};a.readyState=0;a.muted=!1;a.paused=!1;a.peakData={left:0,right:0};a.waveformData={left:[],right:[]};a.playState=0;a.position=null;a.id3={}};f();this._onTimer=function(b){var c,f=!1,g={};if(a._hasTimer||b)return a._a&&(b||(0<a.playState||1===a.readyState)&&!a.paused)&&(c=a._get_html5_duration(),c!==d&&(d=c,a.duration=c,f=!0),a.durationEstimate=a.duration,c=1E3*a._a.currentTime||0,c!==e&&(e=c,f=!0),(f||b)&&a._whileplaying(c,g,g,g,g)),f};this._get_html5_duration=function(){var b= -a._iO;return(b=a._a&&a._a.duration?1E3*a._a.duration:b&&b.duration?b.duration:null)&&!isNaN(b)&&Infinity!==b?b:null};this._apply_loop=function(a,b){!a.loop&&1<b&&c._wD("Note: Native HTML5 looping is infinite.",1);a.loop=1<b?"loop":""};this._setup_html5=function(b){b=A(a._iO,b);var c=C?Ya:a._a,d=decodeURI(b.url),e;C?d===decodeURI(Ma)&&(e=!0):d===decodeURI(u)&&(e=!0);if(c){if(c._s)if(C)c._s&&c._s.playState&&!e&&c._s.stop();else if(!C&&d===decodeURI(u))return a._apply_loop(c,b.loops),c;e||(u&&f(!1), -c.src=b.url,Ma=u=a.url=b.url,c._called_load=!1)}else b.autoLoad||b.autoPlay?(a._a=new Audio(b.url),a._a.load()):a._a=Sa&&10>opera.version()?new Audio(null):new Audio,c=a._a,c._called_load=!1,C&&(Ya=c);a.isHTML5=!0;a._a=c;c._s=a;h();a._apply_loop(c,b.loops);b.autoLoad||b.autoPlay?a.load():(c.autobuffer=!1,c.preload="auto");return c};h=function(){if(a._a._added_events)return!1;var b;a._a._added_events=!0;for(b in J)J.hasOwnProperty(b)&&a._a&&a._a.addEventListener(b,J[b],!1);return!0};k=function(){var b; -c._wD(a.id+": Removing event listeners");a._a._added_events=!1;for(b in J)J.hasOwnProperty(b)&&a._a&&a._a.removeEventListener(b,J[b],!1)};this._onload=function(b){var d=!!b||!a.isHTML5&&8===n&&a.duration;b=a.id+": ";c._wD(b+(d?"onload()":"Failed to load / invalid sound?"+(a.duration?" -":" Zero-length duration reported.")+" ("+a.url+")"),d?1:2);d||a.isHTML5||(!0===c.sandbox.noRemote&&c._wD(b+t("noNet"),1),!0===c.sandbox.noLocal&&c._wD(b+t("noLocal"),1));a.loaded=d;a.readyState=d?3:2;a._onbufferchange(0); -a._iO.onload&&ua(a,function(){a._iO.onload.apply(a,[d])});return!0};this._onbufferchange=function(b){if(0===a.playState||b&&a.isBuffering||!b&&!a.isBuffering)return!1;a.isBuffering=1===b;a._iO.onbufferchange&&(c._wD(a.id+": Buffer state change: "+b),a._iO.onbufferchange.apply(a,[b]));return!0};this._onsuspend=function(){a._iO.onsuspend&&(c._wD(a.id+": Playback suspended"),a._iO.onsuspend.apply(a));return!0};this._onfailure=function(b,d,e){a.failures++;c._wD(a.id+": Failure ("+a.failures+"): "+b); -if(a._iO.onfailure&&1===a.failures)a._iO.onfailure(b,d,e);else c._wD(a.id+": Ignoring failure")};this._onwarning=function(b,c,d){if(a._iO.onwarning)a._iO.onwarning(b,c,d)};this._onfinish=function(){var b=a._iO.onfinish;a._onbufferchange(0);a._resetOnPosition(0);a.instanceCount&&(a.instanceCount--,a.instanceCount||(Xa(),a.playState=0,a.paused=!1,a.instanceCount=0,a.instanceOptions={},a._iO={},G(),a.isHTML5&&(a.position=0)),a.instanceCount&&!a._iO.multiShotEvents||!b||(c._wD(a.id+": onfinish()"),ua(a, -function(){b.apply(a)})))};this._whileloading=function(b,c,d,e){var f=a._iO;a.bytesLoaded=b;a.bytesTotal=c;a.duration=Math.floor(d);a.bufferLength=e;a.durationEstimate=a.isHTML5||f.isMovieStar?a.duration:f.duration?a.duration>f.duration?a.duration:f.duration:parseInt(a.bytesTotal/a.bytesLoaded*a.duration,10);a.isHTML5||(a.buffered=[{start:0,end:a.duration}]);(3!==a.readyState||a.isHTML5)&&f.whileloading&&f.whileloading.apply(a)};this._whileplaying=function(b,c,d,e,f){var k=a._iO;if(isNaN(b)||null=== -b)return!1;a.position=Math.max(0,b);a._processOnPosition();!a.isHTML5&&8<n&&(k.usePeakData&&c!==g&&c&&(a.peakData={left:c.leftPeak,right:c.rightPeak}),k.useWaveformData&&d!==g&&d&&(a.waveformData={left:d.split(","),right:e.split(",")}),k.useEQData&&f!==g&&f&&f.leftEQ&&(b=f.leftEQ.split(","),a.eqData=b,a.eqData.left=b,f.rightEQ!==g&&f.rightEQ&&(a.eqData.right=f.rightEQ.split(","))));1===a.playState&&(a.isHTML5||8!==n||a.position||!a.isBuffering||a._onbufferchange(0),k.whileplaying&&k.whileplaying.apply(a)); -return!0};this._oncaptiondata=function(b){c._wD(a.id+": Caption data received.");a.captiondata=b;a._iO.oncaptiondata&&a._iO.oncaptiondata.apply(a,[b])};this._onmetadata=function(b,d){c._wD(a.id+": Metadata received.");var e={},f,g;f=0;for(g=b.length;f<g;f++)e[b[f]]=d[f];a.metadata=e;a._iO.onmetadata&&a._iO.onmetadata.call(a,a.metadata)};this._onid3=function(b,d){c._wD(a.id+": ID3 data received.");var e=[],f,g;f=0;for(g=b.length;f<g;f++)e[b[f]]=d[f];a.id3=A(a.id3,e);a._iO.onid3&&a._iO.onid3.apply(a)}; -this._onconnect=function(b){b=1===b;c._wD(a.id+": "+(b?"Connected.":"Failed to connect? - "+a.url),b?1:2);if(a.connected=b)a.failures=0,w(a.id)&&(a.getAutoPlay()?a.play(g,a.getAutoPlay()):a._iO.autoLoad&&a.load()),a._iO.onconnect&&a._iO.onconnect.apply(a,[b])};this._ondataerror=function(b){0<a.playState&&(c._wD(a.id+": Data error: "+b),a._iO.ondataerror&&a._iO.ondataerror.apply(a))};this._debug()};ma=function(){return m.body||m.getElementsByTagName("div")[0]};F=function(b){return m.getElementById(b)}; -A=function(b,d){var e=b||{},a,f;a=d===g?c.defaultOptions:d;for(f in a)a.hasOwnProperty(f)&&e[f]===g&&(e[f]="object"!==typeof a[f]||null===a[f]?a[f]:A(e[f],a[f]));return e};ua=function(b,c){b.isHTML5||8!==n?c():h.setTimeout(c,0)};R={onready:1,ontimeout:1,defaultOptions:1,flash9Options:1,movieStarOptions:1};Ba=function(b,d){var e,a=!0,f=d!==g,h=c.setupOptions;if(b===g){a=[];for(e in h)h.hasOwnProperty(e)&&a.push(e);for(e in R)R.hasOwnProperty(e)&&("object"===typeof c[e]?a.push(e+": {...}"):c[e]instanceof -Function?a.push(e+": function() {...}"):a.push(e));c._wD(t("setup",a.join(", ")));return!1}for(e in b)if(b.hasOwnProperty(e))if("object"!==typeof b[e]||null===b[e]||b[e]instanceof Array||b[e]instanceof RegExp)f&&R[d]!==g?c[d][e]=b[e]:h[e]!==g?(c.setupOptions[e]=b[e],c[e]=b[e]):R[e]===g?(L(t(c[e]===g?"setupUndef":"setupError",e),2),a=!1):c[e]instanceof Function?c[e].apply(c,b[e]instanceof Array?b[e]:[b[e]]):c[e]=b[e];else if(R[e]===g)L(t(c[e]===g?"setupUndef":"setupError",e),2),a=!1;else return Ba(b[e], -e);return a};x=function(){function b(a){a=kb.call(a);var b=a.length;e?(a[1]="on"+a[1],3<b&&a.pop()):3===b&&a.push(!1);return a}function c(b,d){var g=b.shift(),h=[a[d]];if(e)g[h](b[0],b[1]);else g[h].apply(g,b)}var e=h.attachEvent,a={add:e?"attachEvent":"addEventListener",remove:e?"detachEvent":"removeEventListener"};return{add:function(){c(b(arguments),"add")},remove:function(){c(b(arguments),"remove")}}}();J={abort:r(function(){c._wD(this._s.id+": abort")}),canplay:r(function(){var b=this._s,d;if(b._html5_canplay)return!0; -b._html5_canplay=!0;c._wD(b.id+": canplay");b._onbufferchange(0);d=b._iO.position===g||isNaN(b._iO.position)?null:b._iO.position/1E3;if(this.currentTime!==d){c._wD(b.id+": canplay: Setting position to "+d);try{this.currentTime=d}catch(e){c._wD(b.id+": canplay: Setting position of "+d+" failed: "+e.message,2)}}b._iO._oncanplay&&b._iO._oncanplay()}),canplaythrough:r(function(){var b=this._s;b.loaded||(b._onbufferchange(0),b._whileloading(b.bytesLoaded,b.bytesTotal,b._get_html5_duration()),b._onload(!0))}), -durationchange:r(function(){var b=this._s,d;d=b._get_html5_duration();isNaN(d)||d===b.duration||(c._wD(this._s.id+": durationchange ("+d+")"+(b.duration?", previously "+b.duration:"")),b.durationEstimate=b.duration=d)}),ended:r(function(){var b=this._s;c._wD(b.id+": ended");b._onfinish()}),error:r(function(){c._wD(this._s.id+": HTML5 error, code "+this.error.code);this._s._onload(!1)}),loadeddata:r(function(){var b=this._s;c._wD(b.id+": loadeddata");b._loaded||va||(b.duration=b._get_html5_duration())}), -loadedmetadata:r(function(){c._wD(this._s.id+": loadedmetadata")}),loadstart:r(function(){c._wD(this._s.id+": loadstart");this._s._onbufferchange(1)}),play:r(function(){this._s._onbufferchange(0)}),playing:r(function(){c._wD(this._s.id+": playing "+String.fromCharCode(9835));this._s._onbufferchange(0)}),progress:r(function(b){var d=this._s,e,a,f;e=0;var g="progress"===b.type,k=b.target.buffered,h=b.loaded||0,m=b.total||1;d.buffered=[];if(k&&k.length){e=0;for(a=k.length;e<a;e++)d.buffered.push({start:1E3* -k.start(e),end:1E3*k.end(e)});e=1E3*(k.end(0)-k.start(0));h=Math.min(1,e/(1E3*b.target.duration));if(g&&1<k.length){f=[];a=k.length;for(e=0;e<a;e++)f.push(1E3*b.target.buffered.start(e)+"-"+1E3*b.target.buffered.end(e));c._wD(this._s.id+": progress, timeRanges: "+f.join(", "))}g&&!isNaN(h)&&c._wD(this._s.id+": progress, "+Math.floor(100*h)+"% loaded")}isNaN(h)||(d._whileloading(h,m,d._get_html5_duration()),h&&m&&h===m&&J.canplaythrough.call(this,b))}),ratechange:r(function(){c._wD(this._s.id+": ratechange")}), -suspend:r(function(b){var d=this._s;c._wD(this._s.id+": suspend");J.progress.call(this,b);d._onsuspend()}),stalled:r(function(){c._wD(this._s.id+": stalled")}),timeupdate:r(function(){this._s._onTimer()}),waiting:r(function(){var b=this._s;c._wD(this._s.id+": waiting");b._onbufferchange(1)})};sa=function(b){return b&&(b.type||b.url||b.serverURL)?b.serverURL||b.type&&ha(b.type)?!1:b.type?fa({type:b.type}):fa({url:b.url})||c.html5Only||b.url.match(/data\:/i):!1};ta=function(b){var d;b&&(d=va?"about:blank": -c.html5.canPlayType("audio/wav")?"data:audio/wave;base64,/UklGRiYAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQIAAAD//w==":"about:blank",b.src=d,b._called_unload!==g&&(b._called_load=!1));C&&(Ma=null);return d};fa=function(b){if(!c.useHTML5Audio||!c.hasHTML5)return!1;var d=b.url||null;b=b.type||null;var e=c.audioFormats,a;if(b&&c.html5[b]!==g)return c.html5[b]&&!ha(b);if(!N){N=[];for(a in e)e.hasOwnProperty(a)&&(N.push(a),e[a].related&&(N=N.concat(e[a].related)));N=new RegExp("\\.("+N.join("|")+ -")(\\?.*)?$","i")}(a=d?d.toLowerCase().match(N):null)&&a.length?a=a[1]:b&&(d=b.indexOf(";"),a=(-1!==d?b.substr(0,d):b).substr(6));a&&c.html5[a]!==g?d=c.html5[a]&&!ha(a):(b="audio/"+a,d=c.html5.canPlayType({type:b}),d=(c.html5[a]=d)&&c.html5[b]&&!ha(b));return d};jb=function(){function b(a){var b,e=b=!1;if(!d||"function"!==typeof d.canPlayType)return b;if(a instanceof Array){k=0;for(b=a.length;k<b;k++)if(c.html5[a[k]]||d.canPlayType(a[k]).match(c.html5Test))e=!0,c.html5[a[k]]=!0,c.flash[a[k]]=!!a[k].match(pb); -b=e}else a=d&&"function"===typeof d.canPlayType?d.canPlayType(a):!1,b=!(!a||!a.match(c.html5Test));return b}if(!c.useHTML5Audio||!c.hasHTML5)return u=c.html5.usingFlash=!0,!1;var d=Audio!==g?Sa&&10>opera.version()?new Audio(null):new Audio:null,e,a,f={},h,k;h=c.audioFormats;for(e in h)if(h.hasOwnProperty(e)&&(a="audio/"+e,f[e]=b(h[e].type),f[a]=f[e],e.match(pb)?(c.flash[e]=!0,c.flash[a]=!0):(c.flash[e]=!1,c.flash[a]=!1),h[e]&&h[e].related))for(k=h[e].related.length-1;0<=k;k--)f["audio/"+h[e].related[k]]= -f[e],c.html5[h[e].related[k]]=f[e],c.flash[h[e].related[k]]=f[e];f.canPlayType=d?b:null;c.html5=A(c.html5,f);c.html5.usingFlash=ib();u=c.html5.usingFlash;return!0};z={notReady:"Unavailable - wait until onready() has fired.",notOK:"Audio support is not available.",domError:"soundManagerexception caught while appending SWF to DOM.",spcWmode:"Removing wmode, preventing known SWF loading issue(s)",swf404:"soundManager: Verify that %s is a valid path.",tryDebug:"Try soundManager.debugFlash = true for more security details (output goes to SWF.)", -checkSWF:"See SWF output for more debug info.",localFail:"soundManager: Non-HTTP page ("+m.location.protocol+" URL?) Review Flash player security settings for this special case:\nhttp://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html\nMay need to add/allow path, eg. c:/sm2/ or /users/me/sm2/",waitFocus:"soundManager: Special case: Waiting for SWF to load with window focus...",waitForever:"soundManager: Waiting indefinitely for Flash (will recover if unblocked)...", -waitSWF:"soundManager: Waiting for 100% SWF load...",needFunction:"soundManager: Function object expected for %s",badID:'Sound ID "%s" should be a string, starting with a non-numeric character',currentObj:"soundManager: _debug(): Current sound objects",waitOnload:"soundManager: Waiting for window.onload()",docLoaded:"soundManager: Document already loaded",onload:"soundManager: initComplete(): calling soundManager.onload()",onloadOK:"soundManager.onload() complete",didInit:"soundManager: init(): Already called?", -secNote:"Flash security note: Network/internet URLs will not load due to security restrictions. Access can be configured via Flash Player Global Security Settings Page: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html",badRemove:"soundManager: Failed to remove Flash node.",shutdown:"soundManager.disable(): Shutting down",queue:"soundManager: Queueing %s handler",smError:"SMSound.load(): Exception: JS-Flash communication failed, or JS error.",fbTimeout:"No flash response, applying .swf_timedout CSS...", -fbLoaded:"Flash loaded",fbHandler:"soundManager: flashBlockHandler()",manURL:"SMSound.load(): Using manually-assigned URL",onURL:"soundManager.load(): current URL already assigned.",badFV:'soundManager.flashVersion must be 8 or 9. "%s" is invalid. Reverting to %s.',as2loop:"Note: Setting stream:false so looping can work (flash 8 limitation)",noNSLoop:"Note: Looping not implemented for MovieStar formats",needfl9:"Note: Switching to flash 9, required for MP4 formats.",mfTimeout:"Setting flashLoadTimeout = 0 (infinite) for off-screen, mobile flash case", -needFlash:"soundManager: Fatal error: Flash is needed to play some required formats, but is not available.",gotFocus:"soundManager: Got window focus.",policy:"Enabling usePolicyFile for data access",setup:"soundManager.setup(): allowed parameters: %s",setupError:'soundManager.setup(): "%s" cannot be assigned with this method.',setupUndef:'soundManager.setup(): Could not find option "%s"',setupLate:"soundManager.setup(): url, flashVersion and html5Test property changes will not take effect until reboot().", -noURL:"soundManager: Flash URL required. Call soundManager.setup({url:...}) to get started.",sm2Loaded:"SoundManager 2: Ready. "+String.fromCharCode(10003),reset:"soundManager.reset(): Removing event callbacks",mobileUA:"Mobile UA detected, preferring HTML5 by default.",globalHTML5:"Using singleton HTML5 Audio() pattern for this device.",ignoreMobile:"Ignoring mobile restrictions for this device."};t=function(){var b,c,e,a;b=kb.call(arguments);c=b.shift();if((a=z&&z[c]?z[c]:"")&&b&&b.length)for(c= -0,e=b.length;c<e;c++)a=a.replace("%s",b[c]);return a};oa=function(b){8===n&&1<b.loops&&b.stream&&(p("as2loop"),b.stream=!1);return b};pa=function(b,d){b&&!b.usePolicyFile&&(b.onid3||b.usePeakData||b.useWaveformData||b.useEQData)&&(c._wD((d||"")+t("policy")),b.usePolicyFile=!0);return b};L=function(b){Ua&&console.warn!==g?console.warn(b):c._wD(b)};ya=function(){return!1};cb=function(b){for(var c in b)b.hasOwnProperty(c)&&"function"===typeof b[c]&&(b[c]=ya)};Ha=function(b){b===g&&(b=!1);(y||b)&&c.disable(b)}; -db=function(b){var d=null;if(b)if(b.match(/\.swf(\?.*)?$/i)){if(d=b.substr(b.toLowerCase().lastIndexOf(".swf?")+4))return b}else b.lastIndexOf("/")!==b.length-1&&(b+="/");b=(b&&-1!==b.lastIndexOf("/")?b.substr(0,b.lastIndexOf("/")+1):"./")+c.movieURL;c.noSWFCache&&(b+="?ts="+(new Date).getTime());return b};Ea=function(){n=parseInt(c.flashVersion,10);8!==n&&9!==n&&(c._wD(t("badFV",n,8)),c.flashVersion=n=8);var b=c.debugMode||c.debugFlash?"_debug.swf":".swf";c.useHTML5Audio&&!c.html5Only&&c.audioFormats.mp4.required&& -9>n&&(c._wD(t("needfl9")),c.flashVersion=n=9);c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===n?" (AS3/Flash 9)":" (AS2/Flash 8)");8<n?(c.defaultOptions=A(c.defaultOptions,c.flash9Options),c.features.buffering=!0,c.defaultOptions=A(c.defaultOptions,c.movieStarOptions),c.filePatterns.flash9=new RegExp("\\.(mp3|"+rb.join("|")+")(\\?.*)?$","i"),c.features.movieStar=!0):c.features.movieStar=!1;c.filePattern=c.filePatterns[8!==n?"flash9":"flash8"];c.movieURL=(8===n?"soundmanager2.swf": -"soundmanager2_flash9.swf").replace(".swf",b);c.features.peakData=c.features.waveformData=c.features.eqData=8<n};ab=function(b,c){if(!l)return!1;l._setPolling(b,c)};Ga=function(){c.debugURLParam.test(ia)&&(c.setupOptions.debugMode=c.debugMode=!0);if(F(c.debugID))return!1;var b,d,e,a;if(!(!c.debugMode||F(c.debugID)||Ua&&c.useConsole&&c.consoleOnly)){b=m.createElement("div");b.id=c.debugID+"-toggle";d={position:"fixed",bottom:"0px",right:"0px",width:"1.2em",height:"1.2em",lineHeight:"1.2em",margin:"2px", -textAlign:"center",border:"1px solid #999",cursor:"pointer",background:"#fff",color:"#333",zIndex:10001};b.appendChild(m.createTextNode("-"));b.onclick=eb;b.title="Toggle SM2 debug console";v.match(/msie 6/i)&&(b.style.position="absolute",b.style.cursor="hand");for(a in d)d.hasOwnProperty(a)&&(b.style[a]=d[a]);d=m.createElement("div");d.id=c.debugID;d.style.display=c.debugMode?"block":"none";if(c.debugMode&&!F(b.id)){try{e=ma(),e.appendChild(b)}catch(f){throw Error(t("domError")+" \n"+f.toString()); -}e.appendChild(d)}}};w=this.getSoundById;p=function(b,d){return b?c._wD(t(b),d):""};eb=function(){var b=F(c.debugID),d=F(c.debugID+"-toggle");if(!b)return!1;Aa?(d.innerHTML="+",b.style.display="none"):(d.innerHTML="-",b.style.display="block");Aa=!Aa};D=function(b,c,e){if(h.sm2Debugger!==g)try{sm2Debugger.handleEvent(b,c,e)}catch(a){return!1}return!0};V=function(){var b=[];c.debugMode&&b.push("sm2_debug");c.debugFlash&&b.push("flash_debug");c.useHighPerformance&&b.push("high_performance");return b.join(" ")}; -Ja=function(){var b=t("fbHandler"),d=c.getMoviePercent(),e={type:"FLASHBLOCK"};if(c.html5Only)return!1;c.ok()?(c.didFlashBlock&&c._wD(b+": Unblocked"),c.oMC&&(c.oMC.className=[V(),"movieContainer","swf_loaded"+(c.didFlashBlock?" swf_unblocked":"")].join(" "))):(u&&(c.oMC.className=V()+" movieContainer "+(null===d?"swf_timedout":"swf_error"),c._wD(b+": "+t("fbTimeout")+(d?" ("+t("fbLoaded")+")":""))),c.didFlashBlock=!0,P({type:"ontimeout",ignoreInit:!0,error:e}),U(e))};Ca=function(b,c,e){I[b]===g&& -(I[b]=[]);I[b].push({method:c,scope:e||null,fired:!1})};P=function(b){b||(b={type:c.ok()?"onready":"ontimeout"});if(!q&&b&&!b.ignoreInit||"ontimeout"===b.type&&(c.ok()||y&&!b.ignoreInit))return!1;var d={success:b&&b.ignoreInit?c.ok():!y},e=b&&b.type?I[b.type]||[]:[],a=[],f,d=[d],g=u&&!c.ok();b.error&&(d[0].error=b.error);b=0;for(f=e.length;b<f;b++)!0!==e[b].fired&&a.push(e[b]);if(a.length)for(b=0,f=a.length;b<f;b++)a[b].scope?a[b].method.apply(a[b].scope,d):a[b].method.apply(this,d),g||(a[b].fired= -!0);return!0};S=function(){h.setTimeout(function(){c.useFlashBlock&&Ja();P();"function"===typeof c.onload&&(p("onload",1),c.onload.apply(h),p("onloadOK",1));c.waitForWindowLoad&&x.add(h,"load",S)},1)};Na=function(){if(H!==g)return H;var b=!1,c=navigator,e=c.plugins,a,f=h.ActiveXObject;if(e&&e.length)(c=c.mimeTypes)&&c["application/x-shockwave-flash"]&&c["application/x-shockwave-flash"].enabledPlugin&&c["application/x-shockwave-flash"].enabledPlugin.description&&(b=!0);else if(f!==g&&!v.match(/MSAppHost/i)){try{a= -new f("ShockwaveFlash.ShockwaveFlash")}catch(m){a=null}b=!!a}return H=b};ib=function(){var b,d,e=c.audioFormats;Qa&&v.match(/os (1|2|3_0|3_1)\s/i)?(c.hasHTML5=!1,c.html5Only=!0,c.oMC&&(c.oMC.style.display="none")):c.useHTML5Audio&&(c.html5&&c.html5.canPlayType||(c._wD("SoundManager: No HTML5 Audio() support detected."),c.hasHTML5=!1),Ta&&c._wD("soundManager: Note: Buggy HTML5 Audio in Safari on this OS X release, see https://bugs.webkit.org/show_bug.cgi?id=32159 - "+(H?"will use flash fallback for MP3/MP4, if available": -" would use flash fallback for MP3/MP4, but none detected."),1));if(c.useHTML5Audio&&c.hasHTML5)for(d in ea=!0,e)e.hasOwnProperty(d)&&e[d].required&&(c.html5.canPlayType(e[d].type)?c.preferFlash&&(c.flash[d]||c.flash[e[d].type])&&(b=!0):(ea=!1,b=!0));c.ignoreFlash&&(b=!1,ea=!0);c.html5Only=c.hasHTML5&&c.useHTML5Audio&&!b;return!c.html5Only};ra=function(b){var d,e,a=0;if(b instanceof Array){d=0;for(e=b.length;d<e;d++)if(b[d]instanceof Object){if(c.canPlayMIME(b[d].type)){a=d;break}}else if(c.canPlayURL(b[d])){a= -d;break}b[a].url&&(b[a]=b[a].url);b=b[a]}return b};fb=function(b){b._hasTimer||(b._hasTimer=!0,!wa&&c.html5PollingInterval&&(null===da&&0===qa&&(da=setInterval(hb,c.html5PollingInterval)),qa++))};gb=function(b){b._hasTimer&&(b._hasTimer=!1,!wa&&c.html5PollingInterval&&qa--)};hb=function(){var b;if(null!==da&&!qa)return clearInterval(da),da=null,!1;for(b=c.soundIDs.length-1;0<=b;b--)c.sounds[c.soundIDs[b]].isHTML5&&c.sounds[c.soundIDs[b]]._hasTimer&&c.sounds[c.soundIDs[b]]._onTimer()};U=function(b){b= -b!==g?b:{};"function"===typeof c.onerror&&c.onerror.apply(h,[{type:b.type!==g?b.type:null}]);b.fatal!==g&&b.fatal&&c.disable()};lb=function(){if(!Ta||!Na())return!1;var b=c.audioFormats,d,e;for(e in b)if(b.hasOwnProperty(e)&&("mp3"===e||"mp4"===e)&&(c._wD("soundManager: Using flash fallback for "+e+" format"),c.html5[e]=!1,b[e]&&b[e].related))for(d=b[e].related.length-1;0<=d;d--)c.html5[b[e].related[d]]=!1};this._setSandboxType=function(b){var d=c.sandbox;d.type=b;d.description=d.types[d.types[b]!== -g?b:"unknown"];"localWithFile"===d.type?(d.noRemote=!0,d.noLocal=!1,p("secNote",2)):"localWithNetwork"===d.type?(d.noRemote=!1,d.noLocal=!0):"localTrusted"===d.type&&(d.noRemote=!1,d.noLocal=!1)};this._externalInterfaceOK=function(b){if(c.swfLoaded)return!1;var d;D("swf",!0);D("flashtojs",!0);c.swfLoaded=!0;xa=!1;Ta&&lb();if(!b||b.replace(/\+dev/i,"")!==c.versionNumber.replace(/\+dev/i,""))return d='soundManager: Fatal: JavaScript file build "'+c.versionNumber+'" does not match Flash SWF build "'+ -b+'" at '+c.url+". Ensure both are up-to-date.",setTimeout(function(){throw Error(d);},0),!1;setTimeout(za,O?100:1)};na=function(b,d){function e(){var a=[],b,d=[];b="SoundManager "+c.version+(!c.html5Only&&c.useHTML5Audio?c.hasHTML5?" + HTML5 audio":", no HTML5 audio support":"");c.html5Only?c.html5PollingInterval&&a.push("html5PollingInterval ("+c.html5PollingInterval+"ms)"):(c.preferFlash&&a.push("preferFlash"),c.useHighPerformance&&a.push("useHighPerformance"),c.flashPollingInterval&&a.push("flashPollingInterval ("+ -c.flashPollingInterval+"ms)"),c.html5PollingInterval&&a.push("html5PollingInterval ("+c.html5PollingInterval+"ms)"),c.wmode&&a.push("wmode ("+c.wmode+")"),c.debugFlash&&a.push("debugFlash"),c.useFlashBlock&&a.push("flashBlock"));a.length&&(d=d.concat([a.join(" + ")]));c._wD(b+(d.length?" + "+d.join(", "):""),1);mb()}function a(a,b){return'<param name="'+a+'" value="'+b+'" />'}if(X&&Y)return!1;if(c.html5Only)return Ea(),e(),c.oMC=F(c.movieID),za(),Y=X=!0,!1;var f=d||c.url,h=c.altURL||f,k=ma(),l=V(), -n=null,n=m.getElementsByTagName("html")[0],p,r,q,n=n&&n.dir&&n.dir.match(/rtl/i);b=b===g?c.id:b;Ea();c.url=db(ga?f:h);d=c.url;c.wmode=!c.wmode&&c.useHighPerformance?"transparent":c.wmode;null!==c.wmode&&(v.match(/msie 8/i)||!O&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i)&&(M.push(z.spcWmode),c.wmode=null);k={name:b,id:b,src:d,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:vb+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)", -type:"application/x-shockwave-flash",wmode:c.wmode,hasPriority:"true"};c.debugFlash&&(k.FlashVars="debug=1");c.wmode||delete k.wmode;if(O)f=m.createElement("div"),r=['<object id="'+b+'" data="'+d+'" type="'+k.type+'" title="'+k.title+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">',a("movie",d),a("AllowScriptAccess",c.allowScriptAccess),a("quality",k.quality),c.wmode?a("wmode",c.wmode):"",a("bgcolor", -c.bgColor),a("hasPriority","true"),c.debugFlash?a("FlashVars",k.FlashVars):"","</object>"].join("");else for(p in f=m.createElement("embed"),k)k.hasOwnProperty(p)&&f.setAttribute(p,k[p]);Ga();l=V();if(k=ma())if(c.oMC=F(c.movieID)||m.createElement("div"),c.oMC.id)q=c.oMC.className,c.oMC.className=(q?q+" ":"movieContainer")+(l?" "+l:""),c.oMC.appendChild(f),O&&(p=c.oMC.appendChild(m.createElement("div")),p.className="sm2-object-box",p.innerHTML=r),Y=!0;else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+ -l;p=l=null;c.useFlashBlock||(c.useHighPerformance?l={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}:(l={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},n&&(l.left=Math.abs(parseInt(l.left,10))+"px")));ub&&(c.oMC.style.zIndex=1E4);if(!c.debugFlash)for(q in l)l.hasOwnProperty(q)&&(c.oMC.style[q]=l[q]);try{O||c.oMC.appendChild(f),k.appendChild(c.oMC),O&&(p=c.oMC.appendChild(m.createElement("div")),p.className="sm2-object-box",p.innerHTML= -r),Y=!0}catch(u){throw Error(t("domError")+" \n"+u.toString());}}X=!0;e();return!0};la=function(){if(c.html5Only)return na(),!1;if(l)return!1;if(!c.url)return p("noURL"),!1;l=c.getMovie(c.id);l||(ba?(O?c.oMC.innerHTML=Ia:c.oMC.appendChild(ba),ba=null,X=!0):na(c.id,c.url),l=c.getMovie(c.id));"function"===typeof c.oninitmovie&&setTimeout(c.oninitmovie,1);Oa();return!0};T=function(){setTimeout($a,1E3)};Da=function(){h.setTimeout(function(){L("soundManager: useFlashBlock is false, 100% HTML5 mode is possible. Rebooting with preferFlash: false..."); -c.setup({preferFlash:!1}).reboot();c.didFlashBlock=!0;c.beginDelayedInit()},1)};$a=function(){var b,d=!1;if(!c.url||ca)return!1;ca=!0;x.remove(h,"load",T);if(H&&xa&&!Va)return p("waitFocus"),!1;q||(b=c.getMoviePercent(),0<b&&100>b&&(d=!0));setTimeout(function(){b=c.getMoviePercent();if(d)return ca=!1,c._wD(t("waitSWF")),h.setTimeout(T,1),!1;q||(c._wD("soundManager: No Flash response within expected time. Likely causes: "+(0===b?"SWF load failed, ":"")+"Flash blocked or JS-Flash security error."+(c.debugFlash? -" "+t("checkSWF"):""),2),!ga&&b&&(p("localFail",2),c.debugFlash||p("tryDebug",2)),0===b&&c._wD(t("swf404",c.url),1),D("flashtojs",!1,": Timed out"+(ga?" (Check flash security or flash blockers)":" (No plugin/missing SWF?)")));!q&&ob&&(null===b?c.useFlashBlock||0===c.flashLoadTimeout?(c.useFlashBlock&&Ja(),p("waitForever")):!c.useFlashBlock&&ea?Da():(p("waitForever"),P({type:"ontimeout",ignoreInit:!0,error:{type:"INIT_FLASHBLOCK"}})):0===c.flashLoadTimeout?p("waitForever"):!c.useFlashBlock&&ea?Da(): -Ha(!0))},c.flashLoadTimeout)};ka=function(){if(Va||!xa)return x.remove(h,"focus",ka),!0;Va=ob=!0;p("gotFocus");ca=!1;T();x.remove(h,"focus",ka);return!0};Oa=function(){M.length&&(c._wD("SoundManager 2: "+M.join(" "),1),M=[])};mb=function(){Oa();var b,d=[];if(c.useHTML5Audio&&c.hasHTML5){for(b in c.audioFormats)c.audioFormats.hasOwnProperty(b)&&d.push(b+" = "+c.html5[b]+(!c.html5[b]&&u&&c.flash[b]?" (using flash)":c.preferFlash&&c.flash[b]&&u?" (preferring flash)":c.html5[b]?"":" ("+(c.audioFormats[b].required? -"required, ":"")+"and no flash support)"));c._wD("SoundManager 2 HTML5 support: "+d.join(", "),1)}};Z=function(b){if(q)return!1;if(c.html5Only)return p("sm2Loaded",1),q=!0,S(),D("onload",!0),!0;var d=!0,e;c.useFlashBlock&&c.flashLoadTimeout&&!c.getMoviePercent()||(q=!0);e={type:!H&&u?"NO_FLASH":"INIT_TIMEOUT"};c._wD("SoundManager 2 "+(y?"failed to load":"loaded")+" ("+(y?"Flash security/load error":"OK")+") "+String.fromCharCode(y?10006:10003),y?2:1);y||b?(c.useFlashBlock&&c.oMC&&(c.oMC.className= -V()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error")),P({type:"ontimeout",error:e,ignoreInit:!0}),D("onload",!1),U(e),d=!1):D("onload",!0);y||(c.waitForWindowLoad&&!ja?(p("waitOnload"),x.add(h,"load",S)):(c.waitForWindowLoad&&ja&&p("docLoaded"),S()));return d};Za=function(){var b,d=c.setupOptions;for(b in d)d.hasOwnProperty(b)&&(c[b]===g?c[b]=d[b]:c[b]!==d[b]&&(c.setupOptions[b]=c[b]))};za=function(){if(q)return p("didInit"),!1;if(c.html5Only)return q||(x.remove(h,"load",c.beginDelayedInit), -c.enabled=!0,Z()),!0;la();try{l._externalInterfaceTest(!1),ab(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||l._disableDebug(),c.enabled=!0,D("jstoflash",!0),c.html5Only||x.add(h,"unload",ya)}catch(b){return c._wD("js/flash exception: "+b.toString()),D("jstoflash",!1),U({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),Ha(!0),Z(),!1}Z();x.remove(h,"load",c.beginDelayedInit);return!0};Q=function(){if(aa)return!1;aa=!0;Za();Ga();!H&&c.hasHTML5&&(c._wD("SoundManager 2: No Flash detected"+ -(c.useHTML5Audio?". Trying HTML5-only mode.":", enabling HTML5."),1),c.setup({useHTML5Audio:!0,preferFlash:!1}));jb();!H&&u&&(M.push(z.needFlash),c.setup({flashLoadTimeout:1}));m.removeEventListener&&m.removeEventListener("DOMContentLoaded",Q,!1);la();return!0};La=function(){"complete"===m.readyState&&(Q(),m.detachEvent("onreadystatechange",La));return!0};Fa=function(){ja=!0;Q();x.remove(h,"load",Fa)};Na();x.add(h,"focus",ka);x.add(h,"load",T);x.add(h,"load",Fa);m.addEventListener?m.addEventListener("DOMContentLoaded", -Q,!1):m.attachEvent?m.attachEvent("onreadystatechange",La):(D("onload",!1),U({type:"NO_DOM2_EVENTS",fatal:!0}))}if(!h||!h.document)throw Error("SoundManager requires a browser with window and document objects.");var W=null;h.SM2_DEFER!==g&&SM2_DEFER||(W=new K);"object"===typeof module&&module&&"object"===typeof module.exports?(module.exports.SoundManager=K,module.exports.soundManager=W):"function"===typeof define&&define.amd&&define(function(){return{constructor:K,getInstance:function(g){!h.soundManager&& -g instanceof Function&&(g=g(K),g instanceof K&&(h.soundManager=g));return h.soundManager}}});h.SoundManager=K;h.soundManager=W})(window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.almost-flat.css deleted file mode 100644 index f8edc0dd7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.almost-flat.css +++ /dev/null @@ -1,39 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Accordion - ========================================================================== */ -/* Sub-object: `uk-accordion-title` - ========================================================================== */ -.uk-accordion-title { - margin-top: 0; - margin-bottom: 15px; - padding: 5px 15px; - background: #f5f5f5; - font-size: 18px; - line-height: 24px; - cursor: pointer; - border: 1px solid #dddddd; - border-radius: 4px; -} -/* Sub-object: `uk-accordion-content` - ========================================================================== */ -.uk-accordion-content { - padding: 0 15px 15px 15px; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-accordion-content:before, -.uk-accordion-content:after { - content: ""; - display: table; -} -.uk-accordion-content:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-accordion-content > :last-child { - margin-bottom: 0; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.almost-flat.min.css deleted file mode 100644 index 1f1f94130..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f5f5f5;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.css deleted file mode 100644 index fe84c73f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.css +++ /dev/null @@ -1,37 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Accordion - ========================================================================== */ -/* Sub-object: `uk-accordion-title` - ========================================================================== */ -.uk-accordion-title { - margin-top: 0; - margin-bottom: 15px; - padding: 5px 15px; - background: #eeeeee; - font-size: 18px; - line-height: 24px; - cursor: pointer; -} -/* Sub-object: `uk-accordion-content` - ========================================================================== */ -.uk-accordion-content { - padding: 0 15px 15px 15px; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-accordion-content:before, -.uk-accordion-content:after { - content: ""; - display: table; -} -.uk-accordion-content:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-accordion-content > :last-child { - margin-bottom: 0; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.gradient.css deleted file mode 100644 index afc5c473d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.gradient.css +++ /dev/null @@ -1,39 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Accordion - ========================================================================== */ -/* Sub-object: `uk-accordion-title` - ========================================================================== */ -.uk-accordion-title { - margin-top: 0; - margin-bottom: 15px; - padding: 5px 15px; - background: #f7f7f7; - font-size: 18px; - line-height: 24px; - cursor: pointer; - border: 1px solid #dddddd; - border-radius: 4px; -} -/* Sub-object: `uk-accordion-content` - ========================================================================== */ -.uk-accordion-content { - padding: 0 15px 15px 15px; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-accordion-content:before, -.uk-accordion-content:after { - content: ""; - display: table; -} -.uk-accordion-content:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-accordion-content > :last-child { - margin-bottom: 0; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.gradient.min.css deleted file mode 100644 index 27b3e73ce..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f7f7f7;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.min.css deleted file mode 100644 index a1b3a9044..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/accordion.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#eee;font-size:18px;line-height:24px;cursor:pointer}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.almost-flat.css deleted file mode 100644 index 8f5176b5b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.almost-flat.css +++ /dev/null @@ -1,52 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Autocomplete - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - */ -.uk-autocomplete { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; -} -/* Nav modifier `uk-nav-autocomplete` - ========================================================================== */ -/* - * Items - */ -.uk-nav-autocomplete > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-autocomplete > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-autocomplete .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-autocomplete .uk-nav-divider { - border-top: 1px solid #dddddd; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.almost-flat.min.css deleted file mode 100644 index ee6875b2c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.css deleted file mode 100644 index bb71335fb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.css +++ /dev/null @@ -1,50 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Autocomplete - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - */ -.uk-autocomplete { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; -} -/* Nav modifier `uk-nav-autocomplete` - ========================================================================== */ -/* - * Items - */ -.uk-nav-autocomplete > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-autocomplete > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-autocomplete .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-autocomplete .uk-nav-divider { - border-top: 1px solid #dddddd; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.gradient.css deleted file mode 100644 index 06e2c523d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.gradient.css +++ /dev/null @@ -1,52 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Autocomplete - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - */ -.uk-autocomplete { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; -} -/* Nav modifier `uk-nav-autocomplete` - ========================================================================== */ -/* - * Items - */ -.uk-nav-autocomplete > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-autocomplete > li.uk-active > a { - background: #009dd8; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-autocomplete .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-autocomplete .uk-nav-divider { - border-top: 1px solid #dddddd; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.gradient.min.css deleted file mode 100644 index 83041378a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.min.css deleted file mode 100644 index 03b1be2fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/autocomplete.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#00a8e6;color:#fff;outline:0}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.almost-flat.css deleted file mode 100644 index ecc808010..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.almost-flat.css +++ /dev/null @@ -1,129 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Datepicker - ========================================================================== */ -/* - * 1. Highest z-index - * 2. Reset dropdown width - * 3. Set animation - * 4. Needed for scale animation - */ -.uk-datepicker { - /* 1 */ - z-index: 1050; - /* 2 */ - width: auto; - /* 3 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 4 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Sub-object: `uk-datepicker-nav` -========================================================================== */ -.uk-datepicker-nav { - margin-bottom: 15px; - text-align: center; - line-height: 20px; -} -/* - * Micro clearfix - */ -.uk-datepicker-nav:before, -.uk-datepicker-nav:after { - content: ""; - display: table; -} -.uk-datepicker-nav:after { - clear: both; -} -/* - * Previous and next navigation - */ -.uk-datepicker-nav a { - color: #444444; - text-decoration: none; -} -.uk-datepicker-nav a:hover { - color: #444444; -} -.uk-datepicker-previous { - float: left; -} -.uk-datepicker-next { - float: right; -} -.uk-datepicker-previous:after, -.uk-datepicker-next:after { - width: 20px; - font-family: FontAwesome; -} -.uk-datepicker-previous:after { - content: "\f053"; -} -.uk-datepicker-next:after { - content: "\f054"; -} -/* Sub-object: `uk-datepicker-heading` -========================================================================== */ -/* Sub-object: `uk-datepicker-table` -========================================================================== */ -/* Block element behavior */ -.uk-datepicker-table { - width: 100%; -} -.uk-datepicker-table th, -.uk-datepicker-table td { - padding: 2px; -} -.uk-datepicker-table th { - font-size: 12px; -} -/* - * Item - */ -.uk-datepicker-table a { - display: block; - width: 26px; - line-height: 24px; - text-align: center; - color: #444444; - text-decoration: none; - border: 1px solid transparent; - border-radius: 4px; -} -/* - * Sub-object: `uk-datepicker-table-muted` - */ -a.uk-datepicker-table-muted { - color: #999999; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-datepicker-table a:hover, -.uk-datepicker-table a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: rgba(0, 0, 0, 0.16); - text-shadow: 0 1px 0 #ffffff; -} -/* OnClick */ -.uk-datepicker-table a:active { - background-color: #eeeeee; - color: #444444; -} -/* - * Active - */ -.uk-datepicker-table a.uk-active { - background: #00a8e6; - color: #ffffff; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.almost-flat.min.css deleted file mode 100644 index 5f9ab45ee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none;border:1px solid transparent;border-radius:4px}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.16);text-shadow:0 1px 0 #fff}.uk-datepicker-table a:active{background-color:#eee;color:#444}.uk-datepicker-table a.uk-active{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.css deleted file mode 100644 index 5414e4f48..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.css +++ /dev/null @@ -1,123 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Datepicker - ========================================================================== */ -/* - * 1. Highest z-index - * 2. Reset dropdown width - * 3. Set animation - * 4. Needed for scale animation - */ -.uk-datepicker { - /* 1 */ - z-index: 1050; - /* 2 */ - width: auto; - /* 3 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 4 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Sub-object: `uk-datepicker-nav` -========================================================================== */ -.uk-datepicker-nav { - margin-bottom: 15px; - text-align: center; - line-height: 20px; -} -/* - * Micro clearfix - */ -.uk-datepicker-nav:before, -.uk-datepicker-nav:after { - content: ""; - display: table; -} -.uk-datepicker-nav:after { - clear: both; -} -/* - * Previous and next navigation - */ -.uk-datepicker-nav a { - color: #444444; - text-decoration: none; -} -.uk-datepicker-nav a:hover { - color: #444444; -} -.uk-datepicker-previous { - float: left; -} -.uk-datepicker-next { - float: right; -} -.uk-datepicker-previous:after, -.uk-datepicker-next:after { - width: 20px; - font-family: FontAwesome; -} -.uk-datepicker-previous:after { - content: "\f053"; -} -.uk-datepicker-next:after { - content: "\f054"; -} -/* Sub-object: `uk-datepicker-heading` -========================================================================== */ -/* Sub-object: `uk-datepicker-table` -========================================================================== */ -/* Block element behavior */ -.uk-datepicker-table { - width: 100%; -} -.uk-datepicker-table th, -.uk-datepicker-table td { - padding: 2px; -} -.uk-datepicker-table th { - font-size: 12px; -} -/* - * Item - */ -.uk-datepicker-table a { - display: block; - width: 26px; - line-height: 24px; - text-align: center; - color: #444444; - text-decoration: none; -} -/* - * Sub-object: `uk-datepicker-table-muted` - */ -a.uk-datepicker-table-muted { - color: #999999; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-datepicker-table a:hover, -.uk-datepicker-table a:focus { - background-color: #dddddd; - color: #444444; - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-datepicker-table a:active { - background-color: #cccccc; - color: #444444; -} -/* - * Active - */ -.uk-datepicker-table a.uk-active { - background: #00a8e6; - color: #ffffff; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.gradient.css deleted file mode 100644 index 94366b61c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.gradient.css +++ /dev/null @@ -1,139 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Datepicker - ========================================================================== */ -/* - * 1. Highest z-index - * 2. Reset dropdown width - * 3. Set animation - * 4. Needed for scale animation - */ -.uk-datepicker { - /* 1 */ - z-index: 1050; - /* 2 */ - width: auto; - /* 3 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 4 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Sub-object: `uk-datepicker-nav` -========================================================================== */ -.uk-datepicker-nav { - margin-bottom: 15px; - text-align: center; - line-height: 20px; -} -/* - * Micro clearfix - */ -.uk-datepicker-nav:before, -.uk-datepicker-nav:after { - content: ""; - display: table; -} -.uk-datepicker-nav:after { - clear: both; -} -/* - * Previous and next navigation - */ -.uk-datepicker-nav a { - color: #444444; - text-decoration: none; -} -.uk-datepicker-nav a:hover { - color: #444444; -} -.uk-datepicker-previous { - float: left; -} -.uk-datepicker-next { - float: right; -} -.uk-datepicker-previous:after, -.uk-datepicker-next:after { - width: 20px; - font-family: FontAwesome; -} -.uk-datepicker-previous:after { - content: "\f053"; -} -.uk-datepicker-next:after { - content: "\f054"; -} -/* Sub-object: `uk-datepicker-heading` -========================================================================== */ -/* Sub-object: `uk-datepicker-table` -========================================================================== */ -/* Block element behavior */ -.uk-datepicker-table { - width: 100%; -} -.uk-datepicker-table th, -.uk-datepicker-table td { - padding: 2px; -} -.uk-datepicker-table th { - font-size: 12px; -} -/* - * Item - */ -.uk-datepicker-table a { - display: block; - width: 26px; - line-height: 24px; - text-align: center; - color: #444444; - text-decoration: none; - border: 1px solid transparent; - border-radius: 4px; - background-origin: border-box; -} -/* - * Sub-object: `uk-datepicker-table-muted` - */ -a.uk-datepicker-table-muted { - color: #999999; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-datepicker-table a:hover, -.uk-datepicker-table a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - text-shadow: 0 1px 0 #ffffff; -} -/* OnClick */ -.uk-datepicker-table a:active { - background-color: #f5f5f5; - color: #444444; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.3); - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* - * Active - */ -.uk-datepicker-table a.uk-active { - background: #009dd8; - color: #ffffff; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.gradient.min.css deleted file mode 100644 index 102458b04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none;border:1px solid transparent;border-radius:4px;background-origin:border-box}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);text-shadow:0 1px 0 #fff}.uk-datepicker-table a:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-datepicker-table a.uk-active{background:#009dd8;color:#fff;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);text-shadow:0 -1px 0 rgba(0,0,0,.2)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.min.css deleted file mode 100644 index 7738f9874..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/datepicker.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#ddd;color:#444;outline:0}.uk-datepicker-table a:active{background-color:#ccc;color:#444}.uk-datepicker-table a.uk-active{background:#00a8e6;color:#fff} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.almost-flat.css deleted file mode 100644 index 78bf04907..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.almost-flat.css +++ /dev/null @@ -1,129 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Dotnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-dotnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -15px; - margin-top: -15px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-dotnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 15px; - margin-top: 15px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav:before, -.uk-dotnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-dotnav:after { - clear: both; -} -.uk-dotnav > * { - float: left; -} -/* Items - ========================================================================== */ -/* - * Items - * 1. Hide text if present - */ -.uk-dotnav > * > * { - display: block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - height: 20px; - border-radius: 50%; - background: rgba(50, 50, 50, 0.1); - /* 1 */ - text-indent: 100%; - overflow: hidden; - white-space: nowrap; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-dotnav > * > :hover, -.uk-dotnav > * > :focus { - background: rgba(50, 50, 50, 0.4); - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-dotnav > * > :active { - background: rgba(50, 50, 50, 0.6); -} -/* Active */ -.uk-dotnav > .uk-active > * { - background: rgba(50, 50, 50, 0.4); - -webkit-transform: scale(1.3); - transform: scale(1.3); -} -/* Modifier: `uk-dotnav-contrast` - ========================================================================== */ -.uk-dotnav-contrast > * > * { - background: rgba(255, 255, 255, 0.4); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-dotnav-contrast > * > :hover, -.uk-dotnav-contrast > * > :focus { - background: rgba(255, 255, 255, 0.7); -} -/* OnClick */ -.uk-dotnav-contrast > * > :active { - background: rgba(255, 255, 255, 0.9); -} -/* Active */ -.uk-dotnav-contrast > .uk-active > * { - background: rgba(255, 255, 255, 0.9); -} -/* Modifier: 'uk-dotnav-vertical' - ========================================================================== */ -/* - * DEPRECATED - */ -.uk-dotnav-vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav-vertical > * { - float: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.almost-flat.min.css deleted file mode 100644 index f1410c48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4);-webkit-transform:scale(1.3);transform:scale(1.3)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.css deleted file mode 100644 index 57a1771b5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.css +++ /dev/null @@ -1,125 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Dotnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-dotnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -15px; - margin-top: -15px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-dotnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 15px; - margin-top: 15px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav:before, -.uk-dotnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-dotnav:after { - clear: both; -} -.uk-dotnav > * { - float: left; -} -/* Items - ========================================================================== */ -/* - * Items - * 1. Hide text if present - */ -.uk-dotnav > * > * { - display: block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - height: 20px; - border-radius: 50%; - background: rgba(50, 50, 50, 0.1); - /* 1 */ - text-indent: 100%; - overflow: hidden; - white-space: nowrap; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-dotnav > * > :hover, -.uk-dotnav > * > :focus { - background: rgba(50, 50, 50, 0.4); - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-dotnav > * > :active { - background: rgba(50, 50, 50, 0.6); -} -/* Active */ -.uk-dotnav > .uk-active > * { - background: rgba(50, 50, 50, 0.4); -} -/* Modifier: `uk-dotnav-contrast` - ========================================================================== */ -.uk-dotnav-contrast > * > * { - background: rgba(255, 255, 255, 0.4); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-dotnav-contrast > * > :hover, -.uk-dotnav-contrast > * > :focus { - background: rgba(255, 255, 255, 0.7); -} -/* OnClick */ -.uk-dotnav-contrast > * > :active { - background: rgba(255, 255, 255, 0.9); -} -/* Active */ -.uk-dotnav-contrast > .uk-active > * { - background: rgba(255, 255, 255, 0.9); -} -/* Modifier: 'uk-dotnav-vertical' - ========================================================================== */ -/* - * DEPRECATED - */ -.uk-dotnav-vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav-vertical > * { - float: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.gradient.css deleted file mode 100644 index 78bf04907..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.gradient.css +++ /dev/null @@ -1,129 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Dotnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-dotnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -15px; - margin-top: -15px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-dotnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 15px; - margin-top: 15px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav:before, -.uk-dotnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-dotnav:after { - clear: both; -} -.uk-dotnav > * { - float: left; -} -/* Items - ========================================================================== */ -/* - * Items - * 1. Hide text if present - */ -.uk-dotnav > * > * { - display: block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - height: 20px; - border-radius: 50%; - background: rgba(50, 50, 50, 0.1); - /* 1 */ - text-indent: 100%; - overflow: hidden; - white-space: nowrap; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-dotnav > * > :hover, -.uk-dotnav > * > :focus { - background: rgba(50, 50, 50, 0.4); - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-dotnav > * > :active { - background: rgba(50, 50, 50, 0.6); -} -/* Active */ -.uk-dotnav > .uk-active > * { - background: rgba(50, 50, 50, 0.4); - -webkit-transform: scale(1.3); - transform: scale(1.3); -} -/* Modifier: `uk-dotnav-contrast` - ========================================================================== */ -.uk-dotnav-contrast > * > * { - background: rgba(255, 255, 255, 0.4); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-dotnav-contrast > * > :hover, -.uk-dotnav-contrast > * > :focus { - background: rgba(255, 255, 255, 0.7); -} -/* OnClick */ -.uk-dotnav-contrast > * > :active { - background: rgba(255, 255, 255, 0.9); -} -/* Active */ -.uk-dotnav-contrast > .uk-active > * { - background: rgba(255, 255, 255, 0.9); -} -/* Modifier: 'uk-dotnav-vertical' - ========================================================================== */ -/* - * DEPRECATED - */ -.uk-dotnav-vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav-vertical > * { - float: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.gradient.min.css deleted file mode 100644 index f1410c48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4);-webkit-transform:scale(1.3);transform:scale(1.3)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.min.css deleted file mode 100644 index 8db104ca7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/dotnav.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.almost-flat.css deleted file mode 100644 index 4c8076016..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.almost-flat.css +++ /dev/null @@ -1,78 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form advanced - Note: Only works in Webkit at the moment - ========================================================================== */ -/* - * 1. Style - * 2. Makes box more robust so it clips the child element - * 3. Vertical alignment - * 4. Remove default style - * 5. Fix black background on iOS - */ -.uk-form input[type="radio"], -.uk-form input[type="checkbox"] { - /* 1 */ - display: inline-block; - height: 14px; - width: 14px; - border: 1px solid #aaaaaa; - /* 2 */ - overflow: hidden; - /* 3 */ - margin-top: -4px; - vertical-align: middle; - /* 4 */ - -webkit-appearance: none; - outline: 0; - /* 5 */ - background: transparent; -} -/* Radio */ -.uk-form input[type="radio"] { - border-radius: 50%; -} -/* - * Checked - */ -.uk-form input[type=radio]:before, -.uk-form input[type=checkbox]:before { - display: block; -} -/* Radio */ -.uk-form input[type=radio]:checked:before { - content: ''; - width: 8px; - height: 8px; - margin: 2px auto 0; - border-radius: 50%; - background: #00a8e6; -} -/* Checkbox */ -.uk-form input[type=checkbox]:checked:before, -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f00c"; - font-family: FontAwesome; - font-size: 12px; - -webkit-font-smoothing: antialiased; - text-align: center; - line-height: 12px; - color: #00a8e6; -} -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f068"; -} -/* - * Disabled - */ -.uk-form input[type=radio]:disabled, -.uk-form input[type=checkbox]:disabled { - border-color: #dddddd; -} -.uk-form input[type=radio]:disabled:checked:before { - background-color: #aaaaaa; -} -.uk-form input[type=checkbox]:disabled:checked:before, -.uk-form input[type=checkbox]:disabled:indeterminate:before { - color: #aaaaaa; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.almost-flat.min.css deleted file mode 100644 index 03d82f0e1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.css deleted file mode 100644 index 4c8076016..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.css +++ /dev/null @@ -1,78 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form advanced - Note: Only works in Webkit at the moment - ========================================================================== */ -/* - * 1. Style - * 2. Makes box more robust so it clips the child element - * 3. Vertical alignment - * 4. Remove default style - * 5. Fix black background on iOS - */ -.uk-form input[type="radio"], -.uk-form input[type="checkbox"] { - /* 1 */ - display: inline-block; - height: 14px; - width: 14px; - border: 1px solid #aaaaaa; - /* 2 */ - overflow: hidden; - /* 3 */ - margin-top: -4px; - vertical-align: middle; - /* 4 */ - -webkit-appearance: none; - outline: 0; - /* 5 */ - background: transparent; -} -/* Radio */ -.uk-form input[type="radio"] { - border-radius: 50%; -} -/* - * Checked - */ -.uk-form input[type=radio]:before, -.uk-form input[type=checkbox]:before { - display: block; -} -/* Radio */ -.uk-form input[type=radio]:checked:before { - content: ''; - width: 8px; - height: 8px; - margin: 2px auto 0; - border-radius: 50%; - background: #00a8e6; -} -/* Checkbox */ -.uk-form input[type=checkbox]:checked:before, -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f00c"; - font-family: FontAwesome; - font-size: 12px; - -webkit-font-smoothing: antialiased; - text-align: center; - line-height: 12px; - color: #00a8e6; -} -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f068"; -} -/* - * Disabled - */ -.uk-form input[type=radio]:disabled, -.uk-form input[type=checkbox]:disabled { - border-color: #dddddd; -} -.uk-form input[type=radio]:disabled:checked:before { - background-color: #aaaaaa; -} -.uk-form input[type=checkbox]:disabled:checked:before, -.uk-form input[type=checkbox]:disabled:indeterminate:before { - color: #aaaaaa; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.gradient.css deleted file mode 100644 index 4c8076016..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.gradient.css +++ /dev/null @@ -1,78 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form advanced - Note: Only works in Webkit at the moment - ========================================================================== */ -/* - * 1. Style - * 2. Makes box more robust so it clips the child element - * 3. Vertical alignment - * 4. Remove default style - * 5. Fix black background on iOS - */ -.uk-form input[type="radio"], -.uk-form input[type="checkbox"] { - /* 1 */ - display: inline-block; - height: 14px; - width: 14px; - border: 1px solid #aaaaaa; - /* 2 */ - overflow: hidden; - /* 3 */ - margin-top: -4px; - vertical-align: middle; - /* 4 */ - -webkit-appearance: none; - outline: 0; - /* 5 */ - background: transparent; -} -/* Radio */ -.uk-form input[type="radio"] { - border-radius: 50%; -} -/* - * Checked - */ -.uk-form input[type=radio]:before, -.uk-form input[type=checkbox]:before { - display: block; -} -/* Radio */ -.uk-form input[type=radio]:checked:before { - content: ''; - width: 8px; - height: 8px; - margin: 2px auto 0; - border-radius: 50%; - background: #00a8e6; -} -/* Checkbox */ -.uk-form input[type=checkbox]:checked:before, -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f00c"; - font-family: FontAwesome; - font-size: 12px; - -webkit-font-smoothing: antialiased; - text-align: center; - line-height: 12px; - color: #00a8e6; -} -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f068"; -} -/* - * Disabled - */ -.uk-form input[type=radio]:disabled, -.uk-form input[type=checkbox]:disabled { - border-color: #dddddd; -} -.uk-form input[type=radio]:disabled:checked:before { - background-color: #aaaaaa; -} -.uk-form input[type=checkbox]:disabled:checked:before, -.uk-form input[type=checkbox]:disabled:indeterminate:before { - color: #aaaaaa; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.gradient.min.css deleted file mode 100644 index 03d82f0e1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.min.css deleted file mode 100644 index 03d82f0e1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-advanced.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.almost-flat.css deleted file mode 100644 index 70fe2c45a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.almost-flat.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form file - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-file { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 2. Expand height and required for the cursor - */ -.uk-form-file input[type="file"] { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - font-size: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.almost-flat.min.css deleted file mode 100644 index 3da0ea636..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.css deleted file mode 100644 index 70fe2c45a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form file - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-file { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 2. Expand height and required for the cursor - */ -.uk-form-file input[type="file"] { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - font-size: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.gradient.css deleted file mode 100644 index 70fe2c45a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.gradient.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form file - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-file { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 2. Expand height and required for the cursor - */ -.uk-form-file input[type="file"] { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - font-size: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.gradient.min.css deleted file mode 100644 index 3da0ea636..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.min.css deleted file mode 100644 index 3da0ea636..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-file.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.almost-flat.css deleted file mode 100644 index b328f60ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.almost-flat.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form password - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-password { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -.uk-form-password-toggle { - display: block; - position: absolute; - top: 50%; - right: 10px; - margin-top: -6px; - font-size: 13px; - line-height: 13px; - color: #999999; -} -.uk-form-password-toggle:hover { - color: #999999; - text-decoration: none; -} -.uk-form-password > input { - padding-right: 50px !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.almost-flat.min.css deleted file mode 100644 index 1f55b7c96..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.css deleted file mode 100644 index b328f60ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form password - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-password { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -.uk-form-password-toggle { - display: block; - position: absolute; - top: 50%; - right: 10px; - margin-top: -6px; - font-size: 13px; - line-height: 13px; - color: #999999; -} -.uk-form-password-toggle:hover { - color: #999999; - text-decoration: none; -} -.uk-form-password > input { - padding-right: 50px !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.gradient.css deleted file mode 100644 index b328f60ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.gradient.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form password - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-password { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -.uk-form-password-toggle { - display: block; - position: absolute; - top: 50%; - right: 10px; - margin-top: -6px; - font-size: 13px; - line-height: 13px; - color: #999999; -} -.uk-form-password-toggle:hover { - color: #999999; - text-decoration: none; -} -.uk-form-password > input { - padding-right: 50px !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.gradient.min.css deleted file mode 100644 index 1f55b7c96..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.min.css deleted file mode 100644 index 1f55b7c96..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-password.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.almost-flat.css deleted file mode 100644 index 178390919..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.almost-flat.css +++ /dev/null @@ -1,35 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form select - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-select { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 1. Required for Webkit to make `height` work - */ -.uk-form-select select { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - height: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - -webkit-appearance: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.almost-flat.min.css deleted file mode 100644 index 5a38b0f8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.css deleted file mode 100644 index 178390919..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.css +++ /dev/null @@ -1,35 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form select - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-select { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 1. Required for Webkit to make `height` work - */ -.uk-form-select select { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - height: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - -webkit-appearance: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.gradient.css deleted file mode 100644 index 178390919..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.gradient.css +++ /dev/null @@ -1,35 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form select - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-select { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 1. Required for Webkit to make `height` work - */ -.uk-form-select select { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - height: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - -webkit-appearance: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.gradient.min.css deleted file mode 100644 index 5a38b0f8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.min.css deleted file mode 100644 index 5a38b0f8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/form-select.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.almost-flat.css deleted file mode 100644 index c24af888e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.almost-flat.css +++ /dev/null @@ -1,225 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: HTML editor - ========================================================================== */ -/* Sub-object `uk-htmleditor-navbar` - ========================================================================== */ -.uk-htmleditor-navbar { - background: #f5f5f5; - border: 1px solid rgba(0, 0, 0, 0.06); - border-top-left-radius: 4px; - border-top-right-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-htmleditor-navbar:before, -.uk-htmleditor-navbar:after { - content: ""; - display: table; -} -.uk-htmleditor-navbar:after { - clear: both; -} -/* Sub-object `uk-htmleditor-navbar-nav` - ========================================================================== */ -.uk-htmleditor-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -.uk-htmleditor-navbar-nav > li { - float: left; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-htmleditor-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 11px; - cursor: pointer; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-htmleditor-navbar-nav > li:hover > a, -.uk-htmleditor-navbar-nav > li > a:focus { - background-color: #fafafa; - color: #444444; - outline: none; - /* 2 */ - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-htmleditor-navbar-nav > li > a:active { - background-color: #eeeeee; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); -} -/* Active */ -.uk-htmleditor-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* Sub-object: `uk-htmleditor-navbar-flip` - ========================================================================== */ -.uk-htmleditor-navbar-flip { - float: right; -} -/* Sub-object for special buttons - ========================================================================== */ -[data-mode='split'] .uk-htmleditor-button-code, -[data-mode='split'] .uk-htmleditor-button-preview { - display: none; -} -/* Sub-object `uk-htmleditor-content` - ========================================================================== */ -.uk-htmleditor-content { - border-left: 1px solid #dddddd; - border-right: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - background: #ffffff; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-htmleditor-content:before, -.uk-htmleditor-content:after { - content: ""; - display: table; -} -.uk-htmleditor-content:after { - clear: both; -} -/* Modifier `uk-htmleditor-fullscreen` - ========================================================================== */ -.uk-htmleditor-fullscreen { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 990; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - position: absolute; - top: 41px; - left: 0; - right: 0; - bottom: 0; -} -.uk-htmleditor-fullscreen .uk-icon-expand:before { - content: "\f066"; -} -/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` - ========================================================================== */ -.uk-htmleditor-code, -.uk-htmleditor-preview { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.uk-htmleditor-preview { - padding: 20px; - overflow-y: scroll; - position: relative; -} -/* - * Tab view - */ -[data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, -[data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { - display: none; -} -/* - * Split view - */ -[data-mode='split'] .uk-htmleditor-code, -[data-mode='split'] .uk-htmleditor-preview { - float: left; - width: 50%; -} -[data-mode='split'] .uk-htmleditor-code { - border-right: 1px solid #eeeeee; -} -/* Sub-object `uk-htmleditor-iframe` - ========================================================================== */ -.uk-htmleditor-iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -/* CodeMirror modifications - ========================================================================== */ -.uk-htmleditor .CodeMirror { - padding: 10px; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Apply same `border-radius` as `uk-htmleditor-navbar` - */ -.uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-navbar-flip` - */ -/* Collapse border */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-htmleditor-navbar` */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; -} -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-fullscreen` - */ -.uk-htmleditor-fullscreen .uk-htmleditor-navbar { - border-top: none; - border-left: none; - border-right: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - border: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav > li > a { - border-radius: 0 !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.almost-flat.min.css deleted file mode 100644 index e50023d0c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-htmleditor-navbar{background:#f5f5f5;border:1px solid rgba(0,0,0,.06);border-top-left-radius:4px;border-top-right-radius:4px}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:#fafafa;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li>a:active{background-color:#eee;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2)}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:41px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px}.uk-htmleditor-fullscreen .uk-htmleditor-navbar{border-top:none;border-left:none;border-right:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-content{border:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav>li>a{border-radius:0!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.css deleted file mode 100644 index 3861baa3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.css +++ /dev/null @@ -1,167 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: HTML editor - ========================================================================== */ -/* Sub-object `uk-htmleditor-navbar` - ========================================================================== */ -.uk-htmleditor-navbar { - background: #eeeeee; -} -/* - * Micro clearfix - */ -.uk-htmleditor-navbar:before, -.uk-htmleditor-navbar:after { - content: ""; - display: table; -} -.uk-htmleditor-navbar:after { - clear: both; -} -/* Sub-object `uk-htmleditor-navbar-nav` - ========================================================================== */ -.uk-htmleditor-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -.uk-htmleditor-navbar-nav > li { - float: left; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-htmleditor-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 40px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 11px; - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-htmleditor-navbar-nav > li:hover > a, -.uk-htmleditor-navbar-nav > li > a:focus { - background-color: #f5f5f5; - color: #444444; - outline: none; - /* 2 */ -} -/* OnClick */ -.uk-htmleditor-navbar-nav > li > a:active { - background-color: #dddddd; - color: #444444; -} -/* Active */ -.uk-htmleditor-navbar-nav > li.uk-active > a { - background-color: #f5f5f5; - color: #444444; -} -/* Sub-object: `uk-htmleditor-navbar-flip` - ========================================================================== */ -.uk-htmleditor-navbar-flip { - float: right; -} -/* Sub-object for special buttons - ========================================================================== */ -[data-mode='split'] .uk-htmleditor-button-code, -[data-mode='split'] .uk-htmleditor-button-preview { - display: none; -} -/* Sub-object `uk-htmleditor-content` - ========================================================================== */ -.uk-htmleditor-content { - border-left: 1px solid #dddddd; - border-right: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - background: #ffffff; -} -/* - * Micro clearfix - */ -.uk-htmleditor-content:before, -.uk-htmleditor-content:after { - content: ""; - display: table; -} -.uk-htmleditor-content:after { - clear: both; -} -/* Modifier `uk-htmleditor-fullscreen` - ========================================================================== */ -.uk-htmleditor-fullscreen { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 990; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - position: absolute; - top: 40px; - left: 0; - right: 0; - bottom: 0; -} -.uk-htmleditor-fullscreen .uk-icon-expand:before { - content: "\f066"; -} -/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` - ========================================================================== */ -.uk-htmleditor-code, -.uk-htmleditor-preview { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.uk-htmleditor-preview { - padding: 20px; - overflow-y: scroll; - position: relative; -} -/* - * Tab view - */ -[data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, -[data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { - display: none; -} -/* - * Split view - */ -[data-mode='split'] .uk-htmleditor-code, -[data-mode='split'] .uk-htmleditor-preview { - float: left; - width: 50%; -} -[data-mode='split'] .uk-htmleditor-code { - border-right: 1px solid #eeeeee; -} -/* Sub-object `uk-htmleditor-iframe` - ========================================================================== */ -.uk-htmleditor-iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -/* CodeMirror modifications - ========================================================================== */ -.uk-htmleditor .CodeMirror { - padding: 10px; - -moz-box-sizing: border-box; - box-sizing: border-box; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.gradient.css deleted file mode 100644 index 9c9624eeb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.gradient.css +++ /dev/null @@ -1,232 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: HTML editor - ========================================================================== */ -/* Sub-object `uk-htmleditor-navbar` - ========================================================================== */ -.uk-htmleditor-navbar { - background: #f7f7f7; - border: 1px solid rgba(0, 0, 0, 0.1); - border-bottom-color: rgba(0, 0, 0, 0.2); - border-top-left-radius: 4px; - border-top-right-radius: 4px; - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); -} -/* - * Micro clearfix - */ -.uk-htmleditor-navbar:before, -.uk-htmleditor-navbar:after { - content: ""; - display: table; -} -.uk-htmleditor-navbar:after { - clear: both; -} -/* Sub-object `uk-htmleditor-navbar-nav` - ========================================================================== */ -.uk-htmleditor-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -.uk-htmleditor-navbar-nav > li { - float: left; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-htmleditor-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 11px; - cursor: pointer; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-htmleditor-navbar-nav > li:hover > a, -.uk-htmleditor-navbar-nav > li > a:focus { - background-color: transparent; - color: #444444; - outline: none; - /* 2 */ - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-htmleditor-navbar-nav > li > a:active { - background-color: #f5f5f5; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Active */ -.uk-htmleditor-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Sub-object: `uk-htmleditor-navbar-flip` - ========================================================================== */ -.uk-htmleditor-navbar-flip { - float: right; -} -/* Sub-object for special buttons - ========================================================================== */ -[data-mode='split'] .uk-htmleditor-button-code, -[data-mode='split'] .uk-htmleditor-button-preview { - display: none; -} -/* Sub-object `uk-htmleditor-content` - ========================================================================== */ -.uk-htmleditor-content { - border-left: 1px solid #dddddd; - border-right: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - background: #ffffff; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-htmleditor-content:before, -.uk-htmleditor-content:after { - content: ""; - display: table; -} -.uk-htmleditor-content:after { - clear: both; -} -/* Modifier `uk-htmleditor-fullscreen` - ========================================================================== */ -.uk-htmleditor-fullscreen { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 990; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - position: absolute; - top: 41px; - left: 0; - right: 0; - bottom: 0; -} -.uk-htmleditor-fullscreen .uk-icon-expand:before { - content: "\f066"; -} -/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` - ========================================================================== */ -.uk-htmleditor-code, -.uk-htmleditor-preview { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.uk-htmleditor-preview { - padding: 20px; - overflow-y: scroll; - position: relative; -} -/* - * Tab view - */ -[data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, -[data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { - display: none; -} -/* - * Split view - */ -[data-mode='split'] .uk-htmleditor-code, -[data-mode='split'] .uk-htmleditor-preview { - float: left; - width: 50%; -} -[data-mode='split'] .uk-htmleditor-code { - border-right: 1px solid #eeeeee; -} -/* Sub-object `uk-htmleditor-iframe` - ========================================================================== */ -.uk-htmleditor-iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -/* CodeMirror modifications - ========================================================================== */ -.uk-htmleditor .CodeMirror { - padding: 10px; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Apply same `border-radius` as `uk-htmleditor-navbar` - */ -.uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-navbar-flip` - */ -/* Collapse border */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-htmleditor-navbar` */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; -} -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-fullscreen` - */ -.uk-htmleditor-fullscreen .uk-htmleditor-navbar { - border-top: none; - border-left: none; - border-right: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - border: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav > li > a { - border-radius: 0 !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.gradient.min.css deleted file mode 100644 index f71780286..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-htmleditor-navbar{background:#f7f7f7;border:1px solid rgba(0,0,0,.1);border-bottom-color:rgba(0,0,0,.2);border-top-left-radius:4px;border-top-right-radius:4px;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee)}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:transparent;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li>a:active{background-color:#f5f5f5;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:41px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px}.uk-htmleditor-fullscreen .uk-htmleditor-navbar{border-top:none;border-left:none;border-right:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-content{border:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav>li>a{border-radius:0!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.min.css deleted file mode 100644 index 074b3d48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/htmleditor.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-htmleditor-navbar{background:#eee}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:40px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:#f5f5f5;color:#444;outline:0}.uk-htmleditor-navbar-nav>li>a:active{background-color:#ddd;color:#444}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#f5f5f5;color:#444}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:40px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;-moz-box-sizing:border-box;box-sizing:border-box} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.almost-flat.css deleted file mode 100644 index 4d6f3d4a1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.almost-flat.css +++ /dev/null @@ -1,135 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Nestable - ========================================================================== */ -.uk-nestable { - padding: 0; - list-style: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-nestable a, -.uk-nestable img { - -webkit-touch-callout: none; -} -/* Sub-object `uk-nestable-list` - ========================================================================== */ -.uk-nestable-list { - margin: 0; - padding-left: 40px; - list-style: none; -} -/* Sub-modifier `uk-nestable-item` - ========================================================================== */ -/* - * 1. Deactivate browser touch actions in IE11 - */ -.uk-nestable-item { - /* 1 */ - touch-action: none; -} -.uk-nestable-item + .uk-nestable-item { - margin-top: 10px; -} -.uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { - margin-top: 10px; -} -/* Sub-modifier `uk-nestable-dragged` - ========================================================================== */ -/* - * 1. Reset style - */ -.uk-nestable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; - /* 1 */ - padding-left: 0; -} -/* Sub-modifier `uk-nestable-placeholder` - ========================================================================== */ -.uk-nestable-placeholder { - position: relative; -} -.uk-nestable-placeholder > * { - opacity: 0; -} -.uk-nestable-placeholder:after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - border: 1px dashed #dddddd; - opacity: 1; -} -/* Empty List - ========================================================================== */ -.uk-nestable:empty { - min-height: 30px; -} -/* Sub-object `uk-nestable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-nestable-handle { - touch-action: none; -} -/* Hover */ -.uk-nestable-handle:hover { - cursor: move; -} -/* Sub-object `uk-nestable-moving` - ========================================================================== */ -.uk-nestable-moving, -.uk-nestable-moving * { - cursor: move; -} -/* [data-nestable-action='toggle'] - ========================================================================== */ -/* - * 1. Makes text unselectable. Happens if double clicked by mistake - */ -[data-nestable-action='toggle'] { - cursor: pointer; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* Sub-object `.uk-nestable-toggle` - ========================================================================== */ -.uk-nestable-toggle { - display: inline-block; - visibility: hidden; -} -.uk-nestable-toggle:after { - content: "\f147"; - font-family: FontAwesome; -} -.uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { - visibility: visible; -} -/* - * Collapsed - */ -.uk-collapsed .uk-nestable-list { - display: none; -} -.uk-collapsed .uk-nestable-toggle:after { - content: "\f196"; -} -/* Sub-object `uk-nestable-panel` - ========================================================================== */ -.uk-nestable-panel { - padding: 5px; - background: #f5f5f5; - border-radius: 4px; - border: 1px solid rgba(0, 0, 0, 0.06); - text-shadow: 0 1px 0 #ffffff; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.almost-flat.min.css deleted file mode 100644 index 8d651de10..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable:empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f5f5f5;border-radius:4px;border:1px solid rgba(0,0,0,.06);text-shadow:0 1px 0 #fff} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.css deleted file mode 100644 index aa4c6447f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.css +++ /dev/null @@ -1,132 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Nestable - ========================================================================== */ -.uk-nestable { - padding: 0; - list-style: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-nestable a, -.uk-nestable img { - -webkit-touch-callout: none; -} -/* Sub-object `uk-nestable-list` - ========================================================================== */ -.uk-nestable-list { - margin: 0; - padding-left: 40px; - list-style: none; -} -/* Sub-modifier `uk-nestable-item` - ========================================================================== */ -/* - * 1. Deactivate browser touch actions in IE11 - */ -.uk-nestable-item { - /* 1 */ - touch-action: none; -} -.uk-nestable-item + .uk-nestable-item { - margin-top: 10px; -} -.uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { - margin-top: 10px; -} -/* Sub-modifier `uk-nestable-dragged` - ========================================================================== */ -/* - * 1. Reset style - */ -.uk-nestable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; - /* 1 */ - padding-left: 0; -} -/* Sub-modifier `uk-nestable-placeholder` - ========================================================================== */ -.uk-nestable-placeholder { - position: relative; -} -.uk-nestable-placeholder > * { - opacity: 0; -} -.uk-nestable-placeholder:after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - border: 1px dashed #dddddd; - opacity: 1; -} -/* Empty List - ========================================================================== */ -.uk-nestable:empty { - min-height: 30px; -} -/* Sub-object `uk-nestable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-nestable-handle { - touch-action: none; -} -/* Hover */ -.uk-nestable-handle:hover { - cursor: move; -} -/* Sub-object `uk-nestable-moving` - ========================================================================== */ -.uk-nestable-moving, -.uk-nestable-moving * { - cursor: move; -} -/* [data-nestable-action='toggle'] - ========================================================================== */ -/* - * 1. Makes text unselectable. Happens if double clicked by mistake - */ -[data-nestable-action='toggle'] { - cursor: pointer; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* Sub-object `.uk-nestable-toggle` - ========================================================================== */ -.uk-nestable-toggle { - display: inline-block; - visibility: hidden; -} -.uk-nestable-toggle:after { - content: "\f147"; - font-family: FontAwesome; -} -.uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { - visibility: visible; -} -/* - * Collapsed - */ -.uk-collapsed .uk-nestable-list { - display: none; -} -.uk-collapsed .uk-nestable-toggle:after { - content: "\f196"; -} -/* Sub-object `uk-nestable-panel` - ========================================================================== */ -.uk-nestable-panel { - padding: 5px; - background: #f5f5f5; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.gradient.css deleted file mode 100644 index 26c506043..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.gradient.css +++ /dev/null @@ -1,139 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Nestable - ========================================================================== */ -.uk-nestable { - padding: 0; - list-style: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-nestable a, -.uk-nestable img { - -webkit-touch-callout: none; -} -/* Sub-object `uk-nestable-list` - ========================================================================== */ -.uk-nestable-list { - margin: 0; - padding-left: 40px; - list-style: none; -} -/* Sub-modifier `uk-nestable-item` - ========================================================================== */ -/* - * 1. Deactivate browser touch actions in IE11 - */ -.uk-nestable-item { - /* 1 */ - touch-action: none; -} -.uk-nestable-item + .uk-nestable-item { - margin-top: 10px; -} -.uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { - margin-top: 10px; -} -/* Sub-modifier `uk-nestable-dragged` - ========================================================================== */ -/* - * 1. Reset style - */ -.uk-nestable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; - /* 1 */ - padding-left: 0; -} -/* Sub-modifier `uk-nestable-placeholder` - ========================================================================== */ -.uk-nestable-placeholder { - position: relative; -} -.uk-nestable-placeholder > * { - opacity: 0; -} -.uk-nestable-placeholder:after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - border: 1px dashed #dddddd; - opacity: 1; -} -/* Empty List - ========================================================================== */ -.uk-nestable:empty { - min-height: 30px; -} -/* Sub-object `uk-nestable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-nestable-handle { - touch-action: none; -} -/* Hover */ -.uk-nestable-handle:hover { - cursor: move; -} -/* Sub-object `uk-nestable-moving` - ========================================================================== */ -.uk-nestable-moving, -.uk-nestable-moving * { - cursor: move; -} -/* [data-nestable-action='toggle'] - ========================================================================== */ -/* - * 1. Makes text unselectable. Happens if double clicked by mistake - */ -[data-nestable-action='toggle'] { - cursor: pointer; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* Sub-object `.uk-nestable-toggle` - ========================================================================== */ -.uk-nestable-toggle { - display: inline-block; - visibility: hidden; -} -.uk-nestable-toggle:after { - content: "\f147"; - font-family: FontAwesome; -} -.uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { - visibility: visible; -} -/* - * Collapsed - */ -.uk-collapsed .uk-nestable-list { - display: none; -} -.uk-collapsed .uk-nestable-toggle:after { - content: "\f196"; -} -/* Sub-object `uk-nestable-panel` - ========================================================================== */ -.uk-nestable-panel { - padding: 5px; - background: #f7f7f7; - border-radius: 4px; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - text-shadow: 0 1px 0 #ffffff; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.gradient.min.css deleted file mode 100644 index 58a8f715e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable:empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f7f7f7;border-radius:4px;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.min.css deleted file mode 100644 index 94941fbe9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/nestable.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable:empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f5f5f5} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.almost-flat.css deleted file mode 100644 index 642111940..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.almost-flat.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Notify - ========================================================================== */ -/* - * Message container for positioning - */ -.uk-notify { - position: fixed; - top: 10px; - left: 10px; - z-index: 1040; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 350px; -} -/* Position modifiers -========================================================================== */ -.uk-notify-top-right, -.uk-notify-bottom-right { - left: auto; - right: 10px; -} -.uk-notify-top-center, -.uk-notify-bottom-center { - left: 50%; - margin-left: -175px; -} -.uk-notify-bottom-left, -.uk-notify-bottom-right, -.uk-notify-bottom-center { - top: auto; - bottom: 10px; -} -/* Responsiveness -========================================================================== */ -/* Phones portrait and smaller */ -@media (max-width: 479px) { - /* - * Fit in small screen - */ - .uk-notify { - left: 10px; - right: 10px; - width: auto; - margin: 0; - } -} -/* Sub-object: `uk-notify-message` -========================================================================== */ -.uk-notify-message { - position: relative; - margin-bottom: 10px; - padding: 15px; - background: #444444; - color: #ffffff; - font-size: 16px; - line-height: 22px; - cursor: pointer; - border: 1px solid #444444; - border-radius: 4px; -} -/* Close in notify - ========================================================================== */ -.uk-notify-message > .uk-close { - visibility: hidden; - float: right; -} -.uk-notify-message:hover > .uk-close { - visibility: visible; -} -/* Modifier: `uk-alert-info` - ========================================================================== */ -.uk-notify-message-primary { - background: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-notify-message-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-notify-message-warning` - ========================================================================== */ -.uk-notify-message-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-notify-message-danger` - ========================================================================== */ -.uk-notify-message-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.almost-flat.min.css deleted file mode 100644 index 4d33bb376..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-notify{position:fixed;top:10px;left:10px;z-index:1040;-moz-box-sizing:border-box;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.css deleted file mode 100644 index 42d7bce2e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.css +++ /dev/null @@ -1,93 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Notify - ========================================================================== */ -/* - * Message container for positioning - */ -.uk-notify { - position: fixed; - top: 10px; - left: 10px; - z-index: 1040; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 350px; -} -/* Position modifiers -========================================================================== */ -.uk-notify-top-right, -.uk-notify-bottom-right { - left: auto; - right: 10px; -} -.uk-notify-top-center, -.uk-notify-bottom-center { - left: 50%; - margin-left: -175px; -} -.uk-notify-bottom-left, -.uk-notify-bottom-right, -.uk-notify-bottom-center { - top: auto; - bottom: 10px; -} -/* Responsiveness -========================================================================== */ -/* Phones portrait and smaller */ -@media (max-width: 479px) { - /* - * Fit in small screen - */ - .uk-notify { - left: 10px; - right: 10px; - width: auto; - margin: 0; - } -} -/* Sub-object: `uk-notify-message` -========================================================================== */ -.uk-notify-message { - position: relative; - margin-bottom: 10px; - padding: 15px; - background: #444444; - color: #ffffff; - font-size: 16px; - line-height: 22px; - cursor: pointer; -} -/* Close in notify - ========================================================================== */ -.uk-notify-message > .uk-close { - visibility: hidden; - float: right; -} -.uk-notify-message:hover > .uk-close { - visibility: visible; -} -/* Modifier: `uk-alert-info` - ========================================================================== */ -.uk-notify-message-primary { - background: #ebf7fd; - color: #2d7091; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-notify-message-success { - background: #f2fae3; - color: #659f13; -} -/* Modifier: `uk-notify-message-warning` - ========================================================================== */ -.uk-notify-message-warning { - background: #fffceb; - color: #e28327; -} -/* Modifier: `uk-notify-message-danger` - ========================================================================== */ -.uk-notify-message-danger { - background: #fff1f0; - color: #d85030; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.gradient.css deleted file mode 100644 index 642111940..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.gradient.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Notify - ========================================================================== */ -/* - * Message container for positioning - */ -.uk-notify { - position: fixed; - top: 10px; - left: 10px; - z-index: 1040; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 350px; -} -/* Position modifiers -========================================================================== */ -.uk-notify-top-right, -.uk-notify-bottom-right { - left: auto; - right: 10px; -} -.uk-notify-top-center, -.uk-notify-bottom-center { - left: 50%; - margin-left: -175px; -} -.uk-notify-bottom-left, -.uk-notify-bottom-right, -.uk-notify-bottom-center { - top: auto; - bottom: 10px; -} -/* Responsiveness -========================================================================== */ -/* Phones portrait and smaller */ -@media (max-width: 479px) { - /* - * Fit in small screen - */ - .uk-notify { - left: 10px; - right: 10px; - width: auto; - margin: 0; - } -} -/* Sub-object: `uk-notify-message` -========================================================================== */ -.uk-notify-message { - position: relative; - margin-bottom: 10px; - padding: 15px; - background: #444444; - color: #ffffff; - font-size: 16px; - line-height: 22px; - cursor: pointer; - border: 1px solid #444444; - border-radius: 4px; -} -/* Close in notify - ========================================================================== */ -.uk-notify-message > .uk-close { - visibility: hidden; - float: right; -} -.uk-notify-message:hover > .uk-close { - visibility: visible; -} -/* Modifier: `uk-alert-info` - ========================================================================== */ -.uk-notify-message-primary { - background: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-notify-message-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-notify-message-warning` - ========================================================================== */ -.uk-notify-message-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-notify-message-danger` - ========================================================================== */ -.uk-notify-message-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.gradient.min.css deleted file mode 100644 index 4d33bb376..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-notify{position:fixed;top:10px;left:10px;z-index:1040;-moz-box-sizing:border-box;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.min.css deleted file mode 100644 index 3aa6b89a1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/notify.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-notify{position:fixed;top:10px;left:10px;z-index:1040;-moz-box-sizing:border-box;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091}.uk-notify-message-success{background:#f2fae3;color:#659f13}.uk-notify-message-warning{background:#fffceb;color:#e28327}.uk-notify-message-danger{background:#fff1f0;color:#d85030} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.almost-flat.css deleted file mode 100644 index 7b72cfe51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.almost-flat.css +++ /dev/null @@ -1,29 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Placeholder - ========================================================================== */ -.uk-placeholder { - margin-bottom: 15px; - padding: 20px; - border: 1px dashed #dddddd; - background: #fafafa; - color: #444444; -} -/* - * Add margin if adjacent element - */ -* + .uk-placeholder { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-placeholder > :last-child { - margin-bottom: 0; -} -/* Modifier: `uk-placeholder-large` - ========================================================================== */ -.uk-placeholder-large { - padding-top: 80px; - padding-bottom: 80px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.almost-flat.min.css deleted file mode 100644 index ba4b565ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-placeholder{margin-bottom:15px;padding:20px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.css deleted file mode 100644 index 7b72cfe51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.css +++ /dev/null @@ -1,29 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Placeholder - ========================================================================== */ -.uk-placeholder { - margin-bottom: 15px; - padding: 20px; - border: 1px dashed #dddddd; - background: #fafafa; - color: #444444; -} -/* - * Add margin if adjacent element - */ -* + .uk-placeholder { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-placeholder > :last-child { - margin-bottom: 0; -} -/* Modifier: `uk-placeholder-large` - ========================================================================== */ -.uk-placeholder-large { - padding-top: 80px; - padding-bottom: 80px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.gradient.css deleted file mode 100644 index 7b72cfe51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.gradient.css +++ /dev/null @@ -1,29 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Placeholder - ========================================================================== */ -.uk-placeholder { - margin-bottom: 15px; - padding: 20px; - border: 1px dashed #dddddd; - background: #fafafa; - color: #444444; -} -/* - * Add margin if adjacent element - */ -* + .uk-placeholder { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-placeholder > :last-child { - margin-bottom: 0; -} -/* Modifier: `uk-placeholder-large` - ========================================================================== */ -.uk-placeholder-large { - padding-top: 80px; - padding-bottom: 80px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.gradient.min.css deleted file mode 100644 index ba4b565ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-placeholder{margin-bottom:15px;padding:20px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.min.css deleted file mode 100644 index ba4b565ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/placeholder.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-placeholder{margin-bottom:15px;padding:20px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.almost-flat.css deleted file mode 100644 index baf0e6830..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.almost-flat.css +++ /dev/null @@ -1,105 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Progress - ========================================================================== */ -/* - * 1. Clearing - * 2. Vertical alignment if text is used - */ -.uk-progress { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 20px; - margin-bottom: 15px; - background: #f5f5f5; - /* 1 */ - overflow: hidden; - /* 2 */ - line-height: 20px; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); - border-radius: 4px; -} -/* - * Add margin if adjacent element - */ -* + .uk-progress { - margin-top: 15px; -} -/* Sub-object: `uk-progress-bar` - ========================================================================== */ -/* - * 1. Transition - * 2. Needed for text - */ -.uk-progress-bar { - width: 0; - height: 100%; - background: #00a8e6; - float: left; - /* 1 */ - -webkit-transition: width 0.6s ease; - transition: width 0.6s ease; - /* 2 */ - font-size: 12px; - color: #ffffff; - text-align: center; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* Size modifiers - ========================================================================== */ -/* Mini */ -.uk-progress-mini { - height: 6px; -} -/* Small */ -.uk-progress-small { - height: 12px; -} -/* Color modifiers - ========================================================================== */ -.uk-progress-success .uk-progress-bar { - background-color: #8cc14c; -} -.uk-progress-warning .uk-progress-bar { - background-color: #faa732; -} -.uk-progress-danger .uk-progress-bar { - background-color: #da314b; -} -/* Modifier: `uk-progress-striped` - ========================================================================== */ -.uk-progress-striped .uk-progress-bar { - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-size: 30px 30px; -} -/* - * Animation - */ -.uk-progress-striped.uk-active .uk-progress-bar { - -webkit-animation: uk-progress-bar-stripes 2s linear infinite; - animation: uk-progress-bar-stripes 2s linear infinite; -} -@-webkit-keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -@keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -/* Size modifiers - ========================================================================== */ -.uk-progress-mini, -.uk-progress-small { - border-radius: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.almost-flat.min.css deleted file mode 100644 index 33b060498..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-progress{-moz-box-sizing:border-box;box-sizing:border-box;height:20px;margin-bottom:15px;background:#f5f5f5;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#00a8e6;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#8cc14c}.uk-progress-warning .uk-progress-bar{background-color:#faa732}.uk-progress-danger .uk-progress-bar{background-color:#da314b}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.css deleted file mode 100644 index 8ae61e53a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.css +++ /dev/null @@ -1,95 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Progress - ========================================================================== */ -/* - * 1. Clearing - * 2. Vertical alignment if text is used - */ -.uk-progress { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 20px; - margin-bottom: 15px; - background: #eeeeee; - /* 1 */ - overflow: hidden; - /* 2 */ - line-height: 20px; -} -/* - * Add margin if adjacent element - */ -* + .uk-progress { - margin-top: 15px; -} -/* Sub-object: `uk-progress-bar` - ========================================================================== */ -/* - * 1. Transition - * 2. Needed for text - */ -.uk-progress-bar { - width: 0; - height: 100%; - background: #00a8e6; - float: left; - /* 1 */ - -webkit-transition: width 0.6s ease; - transition: width 0.6s ease; - /* 2 */ - font-size: 12px; - color: #ffffff; - text-align: center; -} -/* Size modifiers - ========================================================================== */ -/* Mini */ -.uk-progress-mini { - height: 6px; -} -/* Small */ -.uk-progress-small { - height: 12px; -} -/* Color modifiers - ========================================================================== */ -.uk-progress-success .uk-progress-bar { - background-color: #8cc14c; -} -.uk-progress-warning .uk-progress-bar { - background-color: #faa732; -} -.uk-progress-danger .uk-progress-bar { - background-color: #da314b; -} -/* Modifier: `uk-progress-striped` - ========================================================================== */ -.uk-progress-striped .uk-progress-bar { - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-size: 30px 30px; -} -/* - * Animation - */ -.uk-progress-striped.uk-active .uk-progress-bar { - -webkit-animation: uk-progress-bar-stripes 2s linear infinite; - animation: uk-progress-bar-stripes 2s linear infinite; -} -@-webkit-keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -@keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.gradient.css deleted file mode 100644 index 452d8f21d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.gradient.css +++ /dev/null @@ -1,113 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Progress - ========================================================================== */ -/* - * 1. Clearing - * 2. Vertical alignment if text is used - */ -.uk-progress { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 20px; - margin-bottom: 15px; - background: #f7f7f7; - /* 1 */ - overflow: hidden; - /* 2 */ - line-height: 20px; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07), inset 0 2px 2px rgba(0, 0, 0, 0.07); - border-radius: 4px; -} -/* - * Add margin if adjacent element - */ -* + .uk-progress { - margin-top: 15px; -} -/* Sub-object: `uk-progress-bar` - ========================================================================== */ -/* - * 1. Transition - * 2. Needed for text - */ -.uk-progress-bar { - width: 0; - height: 100%; - background: #009dd8; - float: left; - /* 1 */ - -webkit-transition: width 0.6s ease; - transition: width 0.6s ease; - /* 2 */ - font-size: 12px; - color: #ffffff; - text-align: center; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Size modifiers - ========================================================================== */ -/* Mini */ -.uk-progress-mini { - height: 6px; -} -/* Small */ -.uk-progress-small { - height: 12px; -} -/* Color modifiers - ========================================================================== */ -.uk-progress-success .uk-progress-bar { - background-color: #82bb42; - background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); - background-image: linear-gradient(to bottom, #9fd256, #6fac34); -} -.uk-progress-warning .uk-progress-bar { - background-color: #f9a124; - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(to bottom, #fbb450, #f89406); -} -.uk-progress-danger .uk-progress-bar { - background-color: #d32c46; - background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); - background-image: linear-gradient(to bottom, #ee465a, #c11a39); -} -/* Modifier: `uk-progress-striped` - ========================================================================== */ -.uk-progress-striped .uk-progress-bar { - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-size: 30px 30px; -} -/* - * Animation - */ -.uk-progress-striped.uk-active .uk-progress-bar { - -webkit-animation: uk-progress-bar-stripes 2s linear infinite; - animation: uk-progress-bar-stripes 2s linear infinite; -} -@-webkit-keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -@keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -/* Size modifiers - ========================================================================== */ -.uk-progress-mini, -.uk-progress-small { - border-radius: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.gradient.min.css deleted file mode 100644 index 39137190c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-progress{-moz-box-sizing:border-box;box-sizing:border-box;height:20px;margin-bottom:15px;background:#f7f7f7;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07),inset 0 2px 2px rgba(0,0,0,.07);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#009dd8;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-progress-warning .uk-progress-bar{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-progress-danger .uk-progress-bar{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.min.css deleted file mode 100644 index fec2675ac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/progress.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-progress{-moz-box-sizing:border-box;box-sizing:border-box;height:20px;margin-bottom:15px;background:#eee;overflow:hidden;line-height:20px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#00a8e6;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#8cc14c}.uk-progress-warning .uk-progress-bar{background-color:#faa732}.uk-progress-danger .uk-progress-bar{background-color:#da314b}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.almost-flat.css deleted file mode 100644 index 513289bfc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.almost-flat.css +++ /dev/null @@ -1,192 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Search - ========================================================================== */ -/* - * 1. Create position context for dropdowns - * 2. Needed for `form` element - */ -.uk-search { - display: inline-block; - /* 1 */ - position: relative; - /* 2 */ - margin: 0; -} -/* - * Icon - */ -.uk-search:before { - content: "\f002"; - position: absolute; - top: 0; - left: 0; - width: 30px; - line-height: 30px; - text-align: center; - font-family: FontAwesome; - font-size: 14px; - color: rgba(0, 0, 0, 0.2); -} -/* Sub-object `uk-search-field` - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-search-field::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-search-field::-webkit-search-cancel-button, -.uk-search-field::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Removes cancel button in IE10 - */ -.uk-search-field::-ms-clear { - display: none; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-search-field::-moz-placeholder { - opacity: 1; -} -/* - * 1. Define consistent box sizing. - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - * 5. Remove default style in iOS. - * 6. Style - */ -.uk-search-field { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: #444444; - /* 5 */ - -webkit-appearance: none; - /* 6 */ - width: 120px; - height: 30px; - padding: 0 0 0 30px; - border: 1px solid rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - vertical-align: middle; -} -/* Placeholder */ -.uk-search-field:-ms-input-placeholder { - color: #999999 !important; -} -.uk-search-field::-moz-placeholder { - color: #999999; -} -.uk-search-field::-webkit-input-placeholder { - color: #999999; -} -/* Focus */ -.uk-search-field:focus { - outline: 0; -} -/* Focus + Active */ -.uk-search-field:focus, -.uk-search.uk-active .uk-search-field { - width: 180px; -} -/* Dropdown modifier: `uk-dropdown-search` - ========================================================================== */ -.uk-dropdown-search { - width: 300px; - margin-top: 0; - background: #ffffff; - color: #444444; -} -.uk-open > .uk-dropdown-search { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* - * Dependency `uk-navbar-flip` - */ -.uk-navbar-flip .uk-dropdown-search { - margin-top: 12px; - margin-right: -16px; -} -/* Nav modifier `uk-nav-search` - ========================================================================== */ -/* - * Items - */ -.uk-nav-search > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-search > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-search .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-search .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-search ul a { - color: #0077dd; -} -.uk-nav-search ul a:hover { - color: #005599; -} -/* Search in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-search { - display: block; - margin: 20px 15px; -} -.uk-offcanvas .uk-search:before { - color: #777777; -} -.uk-offcanvas .uk-search-field { - width: 100%; - border-color: rgba(0, 0, 0, 0); - background: #1a1a1a; - color: #cccccc; -} -.uk-offcanvas .uk-search-field:-ms-input-placeholder { - color: #777777 !important; -} -.uk-offcanvas .uk-search-field::-moz-placeholder { - color: #777777; -} -.uk-offcanvas .uk-search-field::-webkit-input-placeholder { - color: #777777; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.almost-flat.min.css deleted file mode 100644 index bdbc0b78c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:transparent;-webkit-transition:all linear .2s;transition:all linear .2s;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#fff;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:12px;margin-right:-16px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07d}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.css deleted file mode 100644 index 5cb3071c5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.css +++ /dev/null @@ -1,190 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Search - ========================================================================== */ -/* - * 1. Create position context for dropdowns - * 2. Needed for `form` element - */ -.uk-search { - display: inline-block; - /* 1 */ - position: relative; - /* 2 */ - margin: 0; -} -/* - * Icon - */ -.uk-search:before { - content: "\f002"; - position: absolute; - top: 0; - left: 0; - width: 30px; - line-height: 30px; - text-align: center; - font-family: FontAwesome; - font-size: 14px; - color: rgba(0, 0, 0, 0.2); -} -/* Sub-object `uk-search-field` - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-search-field::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-search-field::-webkit-search-cancel-button, -.uk-search-field::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Removes cancel button in IE10 - */ -.uk-search-field::-ms-clear { - display: none; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-search-field::-moz-placeholder { - opacity: 1; -} -/* - * 1. Define consistent box sizing. - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - * 5. Remove default style in iOS. - * 6. Style - */ -.uk-search-field { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: #444444; - /* 5 */ - -webkit-appearance: none; - /* 6 */ - width: 120px; - height: 30px; - padding: 0 0 0 30px; - border: 1px solid rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - vertical-align: middle; -} -/* Placeholder */ -.uk-search-field:-ms-input-placeholder { - color: #999999 !important; -} -.uk-search-field::-moz-placeholder { - color: #999999; -} -.uk-search-field::-webkit-input-placeholder { - color: #999999; -} -/* Focus */ -.uk-search-field:focus { - outline: 0; -} -/* Focus + Active */ -.uk-search-field:focus, -.uk-search.uk-active .uk-search-field { - width: 180px; -} -/* Dropdown modifier: `uk-dropdown-search` - ========================================================================== */ -.uk-dropdown-search { - width: 300px; - margin-top: 0; - background: #f5f5f5; - color: #444444; -} -.uk-open > .uk-dropdown-search { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* - * Dependency `uk-navbar-flip` - */ -.uk-navbar-flip .uk-dropdown-search { - margin-top: 5px; - margin-right: -15px; -} -/* Nav modifier `uk-nav-search` - ========================================================================== */ -/* - * Items - */ -.uk-nav-search > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-search > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-search .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-search .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-search ul a { - color: #0077dd; -} -.uk-nav-search ul a:hover { - color: #005599; -} -/* Search in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-search { - display: block; - margin: 20px 15px; -} -.uk-offcanvas .uk-search:before { - color: #777777; -} -.uk-offcanvas .uk-search-field { - width: 100%; - border-color: rgba(0, 0, 0, 0); - background: #1a1a1a; - color: #cccccc; -} -.uk-offcanvas .uk-search-field:-ms-input-placeholder { - color: #777777 !important; -} -.uk-offcanvas .uk-search-field::-moz-placeholder { - color: #777777; -} -.uk-offcanvas .uk-search-field::-webkit-input-placeholder { - color: #777777; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.gradient.css deleted file mode 100644 index b5853b07e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.gradient.css +++ /dev/null @@ -1,192 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Search - ========================================================================== */ -/* - * 1. Create position context for dropdowns - * 2. Needed for `form` element - */ -.uk-search { - display: inline-block; - /* 1 */ - position: relative; - /* 2 */ - margin: 0; -} -/* - * Icon - */ -.uk-search:before { - content: "\f002"; - position: absolute; - top: 0; - left: 0; - width: 30px; - line-height: 30px; - text-align: center; - font-family: FontAwesome; - font-size: 14px; - color: rgba(0, 0, 0, 0.2); -} -/* Sub-object `uk-search-field` - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-search-field::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-search-field::-webkit-search-cancel-button, -.uk-search-field::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Removes cancel button in IE10 - */ -.uk-search-field::-ms-clear { - display: none; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-search-field::-moz-placeholder { - opacity: 1; -} -/* - * 1. Define consistent box sizing. - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - * 5. Remove default style in iOS. - * 6. Style - */ -.uk-search-field { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: #444444; - /* 5 */ - -webkit-appearance: none; - /* 6 */ - width: 120px; - height: 30px; - padding: 0 0 0 30px; - border: 1px solid rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - vertical-align: middle; -} -/* Placeholder */ -.uk-search-field:-ms-input-placeholder { - color: #999999 !important; -} -.uk-search-field::-moz-placeholder { - color: #999999; -} -.uk-search-field::-webkit-input-placeholder { - color: #999999; -} -/* Focus */ -.uk-search-field:focus { - outline: 0; -} -/* Focus + Active */ -.uk-search-field:focus, -.uk-search.uk-active .uk-search-field { - width: 180px; -} -/* Dropdown modifier: `uk-dropdown-search` - ========================================================================== */ -.uk-dropdown-search { - width: 300px; - margin-top: 0; - background: #ffffff; - color: #444444; -} -.uk-open > .uk-dropdown-search { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* - * Dependency `uk-navbar-flip` - */ -.uk-navbar-flip .uk-dropdown-search { - margin-top: 12px; - margin-right: -16px; -} -/* Nav modifier `uk-nav-search` - ========================================================================== */ -/* - * Items - */ -.uk-nav-search > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-search > li.uk-active > a { - background: #009dd8; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-search .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-search .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-search ul a { - color: #0077dd; -} -.uk-nav-search ul a:hover { - color: #005599; -} -/* Search in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-search { - display: block; - margin: 20px 15px; -} -.uk-offcanvas .uk-search:before { - color: #777777; -} -.uk-offcanvas .uk-search-field { - width: 100%; - border-color: rgba(0, 0, 0, 0); - background: #1a1a1a; - color: #cccccc; -} -.uk-offcanvas .uk-search-field:-ms-input-placeholder { - color: #777777 !important; -} -.uk-offcanvas .uk-search-field::-moz-placeholder { - color: #777777; -} -.uk-offcanvas .uk-search-field::-webkit-input-placeholder { - color: #777777; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.gradient.min.css deleted file mode 100644 index 166173bc3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:transparent;-webkit-transition:all linear .2s;transition:all linear .2s;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#fff;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:12px;margin-right:-16px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07d}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.min.css deleted file mode 100644 index 8e826a42b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/search.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:transparent;-webkit-transition:all linear .2s;transition:all linear .2s;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#f5f5f5;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:5px;margin-right:-15px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#00a8e6;color:#fff;outline:0}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07d}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.almost-flat.css deleted file mode 100644 index 7445f255d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.almost-flat.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slidenav - ========================================================================== */ -/* - * 1. Required for `a` elements - * 2. Dimension - * 3. Style - */ -.uk-slidenav { - /* 1 */ - display: inline-block; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 60px; - height: 60px; - /* 3 */ - line-height: 60px; - color: rgba(50, 50, 50, 0.4); - font-size: 60px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - * 4. Style - */ -.uk-slidenav:hover, -.uk-slidenav:focus { - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - /* 4 */ - color: rgba(50, 50, 50, 0.7); - cursor: pointer; -} -/* Active */ -.uk-slidenav:active { - color: rgba(50, 50, 50, 0.9); -} -/* - * Icons - */ -.uk-slidenav-previous:before { - content: "\f104"; - font-family: FontAwesome; -} -.uk-slidenav-next:before { - content: "\f105"; - font-family: FontAwesome; -} -/* Sub-object: `uk-slidenav-position` - ========================================================================== */ -/* - * Create position context - */ -.uk-slidenav-position { - position: relative; -} -/* - * Center vertically - */ -.uk-slidenav-position .uk-slidenav { - display: none; - position: absolute; - top: 50%; - z-index: 1; - margin-top: -30px; -} -.uk-slidenav-position:hover .uk-slidenav { - display: block; -} -.uk-slidenav-position .uk-slidenav-previous { - left: 20px; -} -.uk-slidenav-position .uk-slidenav-next { - right: 20px; -} -/* Modifier: `uk-slidenav-contrast` - ========================================================================== */ -.uk-slidenav-contrast { - color: rgba(255, 255, 255, 0.5); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-slidenav-contrast:hover, -.uk-slidenav-contrast:focus { - color: rgba(255, 255, 255, 0.7); -} -/* Active */ -.uk-slidenav-contrast:active { - color: rgba(255, 255, 255, 0.9); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.almost-flat.min.css deleted file mode 100644 index 31445f0e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slidenav{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.css deleted file mode 100644 index 7445f255d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slidenav - ========================================================================== */ -/* - * 1. Required for `a` elements - * 2. Dimension - * 3. Style - */ -.uk-slidenav { - /* 1 */ - display: inline-block; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 60px; - height: 60px; - /* 3 */ - line-height: 60px; - color: rgba(50, 50, 50, 0.4); - font-size: 60px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - * 4. Style - */ -.uk-slidenav:hover, -.uk-slidenav:focus { - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - /* 4 */ - color: rgba(50, 50, 50, 0.7); - cursor: pointer; -} -/* Active */ -.uk-slidenav:active { - color: rgba(50, 50, 50, 0.9); -} -/* - * Icons - */ -.uk-slidenav-previous:before { - content: "\f104"; - font-family: FontAwesome; -} -.uk-slidenav-next:before { - content: "\f105"; - font-family: FontAwesome; -} -/* Sub-object: `uk-slidenav-position` - ========================================================================== */ -/* - * Create position context - */ -.uk-slidenav-position { - position: relative; -} -/* - * Center vertically - */ -.uk-slidenav-position .uk-slidenav { - display: none; - position: absolute; - top: 50%; - z-index: 1; - margin-top: -30px; -} -.uk-slidenav-position:hover .uk-slidenav { - display: block; -} -.uk-slidenav-position .uk-slidenav-previous { - left: 20px; -} -.uk-slidenav-position .uk-slidenav-next { - right: 20px; -} -/* Modifier: `uk-slidenav-contrast` - ========================================================================== */ -.uk-slidenav-contrast { - color: rgba(255, 255, 255, 0.5); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-slidenav-contrast:hover, -.uk-slidenav-contrast:focus { - color: rgba(255, 255, 255, 0.7); -} -/* Active */ -.uk-slidenav-contrast:active { - color: rgba(255, 255, 255, 0.9); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.gradient.css deleted file mode 100644 index 7445f255d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.gradient.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slidenav - ========================================================================== */ -/* - * 1. Required for `a` elements - * 2. Dimension - * 3. Style - */ -.uk-slidenav { - /* 1 */ - display: inline-block; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 60px; - height: 60px; - /* 3 */ - line-height: 60px; - color: rgba(50, 50, 50, 0.4); - font-size: 60px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - * 4. Style - */ -.uk-slidenav:hover, -.uk-slidenav:focus { - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - /* 4 */ - color: rgba(50, 50, 50, 0.7); - cursor: pointer; -} -/* Active */ -.uk-slidenav:active { - color: rgba(50, 50, 50, 0.9); -} -/* - * Icons - */ -.uk-slidenav-previous:before { - content: "\f104"; - font-family: FontAwesome; -} -.uk-slidenav-next:before { - content: "\f105"; - font-family: FontAwesome; -} -/* Sub-object: `uk-slidenav-position` - ========================================================================== */ -/* - * Create position context - */ -.uk-slidenav-position { - position: relative; -} -/* - * Center vertically - */ -.uk-slidenav-position .uk-slidenav { - display: none; - position: absolute; - top: 50%; - z-index: 1; - margin-top: -30px; -} -.uk-slidenav-position:hover .uk-slidenav { - display: block; -} -.uk-slidenav-position .uk-slidenav-previous { - left: 20px; -} -.uk-slidenav-position .uk-slidenav-next { - right: 20px; -} -/* Modifier: `uk-slidenav-contrast` - ========================================================================== */ -.uk-slidenav-contrast { - color: rgba(255, 255, 255, 0.5); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-slidenav-contrast:hover, -.uk-slidenav-contrast:focus { - color: rgba(255, 255, 255, 0.7); -} -/* Active */ -.uk-slidenav-contrast:active { - color: rgba(255, 255, 255, 0.9); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.gradient.min.css deleted file mode 100644 index 31445f0e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slidenav{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.min.css deleted file mode 100644 index 31445f0e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slidenav.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slidenav{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.almost-flat.css deleted file mode 100644 index 2f16434be..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.almost-flat.css +++ /dev/null @@ -1,85 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slider - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Deactivate browser history navigation in IE11 - */ -.uk-slider { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - touch-action: pan-y; -} -/* - * 1. Reset list style without interfering with grid - */ -.uk-slider:not(.uk-grid) { - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * Sub-object item - * 1. Position items above each other - */ -.uk-slider > * { - /* 1 */ - position: absolute; - top: 0; - left: 0; -} -/* - * Clip child elements - */ -.uk-slider-container { - overflow: hidden; -} -/* - * Dragged - */ -.uk-slider:not(.uk-drag) { - -webkit-transition: -webkit-transform 200ms linear; - transition: transform 200ms linear; -} -/* - * 1. Makes text unselectable - */ -.uk-slider.uk-drag { - cursor: col-resize; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* - * 1. Prevents images and links from being dragged (default browser behavior) - * 2. Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-slider a, -.uk-slider img { - /* 1 */ - -webkit-user-drag: none; - user-drag: none; - /* 2 */ - -webkit-touch-callout: none; -} -/* - * 1. Prevents images and links from being dragged in Firefox - */ -.uk-slider img { - pointer-events: none; -} -/* Modifier: `uk-slider-fullscreen` - ========================================================================== */ -.uk-slider-fullscreen, -.uk-slider-fullscreen > li { - height: 100vh; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.almost-flat.min.css deleted file mode 100644 index 4b177be63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform 200ms linear;transition:transform 200ms linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.css deleted file mode 100644 index 2f16434be..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.css +++ /dev/null @@ -1,85 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slider - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Deactivate browser history navigation in IE11 - */ -.uk-slider { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - touch-action: pan-y; -} -/* - * 1. Reset list style without interfering with grid - */ -.uk-slider:not(.uk-grid) { - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * Sub-object item - * 1. Position items above each other - */ -.uk-slider > * { - /* 1 */ - position: absolute; - top: 0; - left: 0; -} -/* - * Clip child elements - */ -.uk-slider-container { - overflow: hidden; -} -/* - * Dragged - */ -.uk-slider:not(.uk-drag) { - -webkit-transition: -webkit-transform 200ms linear; - transition: transform 200ms linear; -} -/* - * 1. Makes text unselectable - */ -.uk-slider.uk-drag { - cursor: col-resize; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* - * 1. Prevents images and links from being dragged (default browser behavior) - * 2. Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-slider a, -.uk-slider img { - /* 1 */ - -webkit-user-drag: none; - user-drag: none; - /* 2 */ - -webkit-touch-callout: none; -} -/* - * 1. Prevents images and links from being dragged in Firefox - */ -.uk-slider img { - pointer-events: none; -} -/* Modifier: `uk-slider-fullscreen` - ========================================================================== */ -.uk-slider-fullscreen, -.uk-slider-fullscreen > li { - height: 100vh; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.gradient.css deleted file mode 100644 index 2f16434be..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.gradient.css +++ /dev/null @@ -1,85 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slider - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Deactivate browser history navigation in IE11 - */ -.uk-slider { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - touch-action: pan-y; -} -/* - * 1. Reset list style without interfering with grid - */ -.uk-slider:not(.uk-grid) { - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * Sub-object item - * 1. Position items above each other - */ -.uk-slider > * { - /* 1 */ - position: absolute; - top: 0; - left: 0; -} -/* - * Clip child elements - */ -.uk-slider-container { - overflow: hidden; -} -/* - * Dragged - */ -.uk-slider:not(.uk-drag) { - -webkit-transition: -webkit-transform 200ms linear; - transition: transform 200ms linear; -} -/* - * 1. Makes text unselectable - */ -.uk-slider.uk-drag { - cursor: col-resize; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* - * 1. Prevents images and links from being dragged (default browser behavior) - * 2. Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-slider a, -.uk-slider img { - /* 1 */ - -webkit-user-drag: none; - user-drag: none; - /* 2 */ - -webkit-touch-callout: none; -} -/* - * 1. Prevents images and links from being dragged in Firefox - */ -.uk-slider img { - pointer-events: none; -} -/* Modifier: `uk-slider-fullscreen` - ========================================================================== */ -.uk-slider-fullscreen, -.uk-slider-fullscreen > li { - height: 100vh; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.gradient.min.css deleted file mode 100644 index 4b177be63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform 200ms linear;transition:transform 200ms linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.min.css deleted file mode 100644 index 4b177be63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slider.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform 200ms linear;transition:transform 200ms linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.almost-flat.css deleted file mode 100644 index 8b6d69c04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.almost-flat.css +++ /dev/null @@ -1,140 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slideshow - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Set width because child elements are positioned absolute. Height is set via JS - * 4. Reset list style - * 5. Clip child elements - * 6. Deactivate browser history navigation in IE11 - */ -.uk-slideshow { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - width: 100%; - /* 4 */ - margin: 0; - padding: 0; - list-style: none; - /* 5 */ - overflow: hidden; - /* 6 */ - touch-action: pan-y; -} -/* - * Sub-object item - * 1. Position items above each other - * 2. Expand to parent container width - * 3. Hide by default - */ -.uk-slideshow > li { - /* 1 */ - position: absolute; - top: 0; - left: 0; - /* 2 */ - width: 100%; - /* 3 */ - opacity: 0; -} -/* - * Active - * 1. Stack at first - * 2. Show slide - */ -.uk-slideshow > .uk-active { - /* 1 */ - z-index: 10; - /* 2 */ - opacity: 1; -} -/* - * Hide default images which is only relevant to keep existing proportions - */ -.uk-slideshow > li > img { - visibility: hidden; -} -/* - * Pointer for controls - */ -[data-uk-slideshow-slide] { - cursor: pointer; -} -/* Modifier: `uk-slideshow-fullscreen` - ========================================================================== */ -.uk-slideshow-fullscreen, -.uk-slideshow-fullscreen > li { - height: 100vh; -} -/* Animations - ========================================================================== */ -/* - * Fade - */ -.uk-slideshow-fade-out { - -webkit-animation: uk-fade 0.5s linear reverse; - animation: uk-fade 0.5s linear reverse; -} -/* - * Scroll - */ -.uk-slideshow-scroll-forward-in { - -webkit-animation: uk-slide-right 0.5s ease-in-out; - animation: uk-slide-right 0.5s ease-in-out; -} -.uk-slideshow-scroll-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-scroll-backward-in { - -webkit-animation: uk-slide-left 0.5s ease-in-out; - animation: uk-slide-left 0.5s ease-in-out; -} -.uk-slideshow-scroll-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -/* - * Scale - */ -.uk-slideshow-scale-out { - -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; - animation: uk-fade-scale-15 0.5s ease-in-out reverse; -} -/* - * Swipe - */ -.uk-slideshow-swipe-forward-in { - -webkit-animation: uk-slide-left-33 0.5s ease-in-out; - animation: uk-slide-left-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-backward-in { - -webkit-animation: uk-slide-right-33 0.5s ease-in-out; - animation: uk-slide-right-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-forward-in:before, -.uk-slideshow-swipe-backward-in:before { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 1; - background: rgba(0, 0, 0, 0.6); - -webkit-animation: uk-fade 0.5s ease-in-out reverse; - animation: uk-fade 0.5s ease-in-out reverse; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.almost-flat.min.css deleted file mode 100644 index e9348e0b6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.css deleted file mode 100644 index 8b6d69c04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.css +++ /dev/null @@ -1,140 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slideshow - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Set width because child elements are positioned absolute. Height is set via JS - * 4. Reset list style - * 5. Clip child elements - * 6. Deactivate browser history navigation in IE11 - */ -.uk-slideshow { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - width: 100%; - /* 4 */ - margin: 0; - padding: 0; - list-style: none; - /* 5 */ - overflow: hidden; - /* 6 */ - touch-action: pan-y; -} -/* - * Sub-object item - * 1. Position items above each other - * 2. Expand to parent container width - * 3. Hide by default - */ -.uk-slideshow > li { - /* 1 */ - position: absolute; - top: 0; - left: 0; - /* 2 */ - width: 100%; - /* 3 */ - opacity: 0; -} -/* - * Active - * 1. Stack at first - * 2. Show slide - */ -.uk-slideshow > .uk-active { - /* 1 */ - z-index: 10; - /* 2 */ - opacity: 1; -} -/* - * Hide default images which is only relevant to keep existing proportions - */ -.uk-slideshow > li > img { - visibility: hidden; -} -/* - * Pointer for controls - */ -[data-uk-slideshow-slide] { - cursor: pointer; -} -/* Modifier: `uk-slideshow-fullscreen` - ========================================================================== */ -.uk-slideshow-fullscreen, -.uk-slideshow-fullscreen > li { - height: 100vh; -} -/* Animations - ========================================================================== */ -/* - * Fade - */ -.uk-slideshow-fade-out { - -webkit-animation: uk-fade 0.5s linear reverse; - animation: uk-fade 0.5s linear reverse; -} -/* - * Scroll - */ -.uk-slideshow-scroll-forward-in { - -webkit-animation: uk-slide-right 0.5s ease-in-out; - animation: uk-slide-right 0.5s ease-in-out; -} -.uk-slideshow-scroll-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-scroll-backward-in { - -webkit-animation: uk-slide-left 0.5s ease-in-out; - animation: uk-slide-left 0.5s ease-in-out; -} -.uk-slideshow-scroll-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -/* - * Scale - */ -.uk-slideshow-scale-out { - -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; - animation: uk-fade-scale-15 0.5s ease-in-out reverse; -} -/* - * Swipe - */ -.uk-slideshow-swipe-forward-in { - -webkit-animation: uk-slide-left-33 0.5s ease-in-out; - animation: uk-slide-left-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-backward-in { - -webkit-animation: uk-slide-right-33 0.5s ease-in-out; - animation: uk-slide-right-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-forward-in:before, -.uk-slideshow-swipe-backward-in:before { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 1; - background: rgba(0, 0, 0, 0.6); - -webkit-animation: uk-fade 0.5s ease-in-out reverse; - animation: uk-fade 0.5s ease-in-out reverse; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.gradient.css deleted file mode 100644 index 8b6d69c04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.gradient.css +++ /dev/null @@ -1,140 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slideshow - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Set width because child elements are positioned absolute. Height is set via JS - * 4. Reset list style - * 5. Clip child elements - * 6. Deactivate browser history navigation in IE11 - */ -.uk-slideshow { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - width: 100%; - /* 4 */ - margin: 0; - padding: 0; - list-style: none; - /* 5 */ - overflow: hidden; - /* 6 */ - touch-action: pan-y; -} -/* - * Sub-object item - * 1. Position items above each other - * 2. Expand to parent container width - * 3. Hide by default - */ -.uk-slideshow > li { - /* 1 */ - position: absolute; - top: 0; - left: 0; - /* 2 */ - width: 100%; - /* 3 */ - opacity: 0; -} -/* - * Active - * 1. Stack at first - * 2. Show slide - */ -.uk-slideshow > .uk-active { - /* 1 */ - z-index: 10; - /* 2 */ - opacity: 1; -} -/* - * Hide default images which is only relevant to keep existing proportions - */ -.uk-slideshow > li > img { - visibility: hidden; -} -/* - * Pointer for controls - */ -[data-uk-slideshow-slide] { - cursor: pointer; -} -/* Modifier: `uk-slideshow-fullscreen` - ========================================================================== */ -.uk-slideshow-fullscreen, -.uk-slideshow-fullscreen > li { - height: 100vh; -} -/* Animations - ========================================================================== */ -/* - * Fade - */ -.uk-slideshow-fade-out { - -webkit-animation: uk-fade 0.5s linear reverse; - animation: uk-fade 0.5s linear reverse; -} -/* - * Scroll - */ -.uk-slideshow-scroll-forward-in { - -webkit-animation: uk-slide-right 0.5s ease-in-out; - animation: uk-slide-right 0.5s ease-in-out; -} -.uk-slideshow-scroll-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-scroll-backward-in { - -webkit-animation: uk-slide-left 0.5s ease-in-out; - animation: uk-slide-left 0.5s ease-in-out; -} -.uk-slideshow-scroll-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -/* - * Scale - */ -.uk-slideshow-scale-out { - -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; - animation: uk-fade-scale-15 0.5s ease-in-out reverse; -} -/* - * Swipe - */ -.uk-slideshow-swipe-forward-in { - -webkit-animation: uk-slide-left-33 0.5s ease-in-out; - animation: uk-slide-left-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-backward-in { - -webkit-animation: uk-slide-right-33 0.5s ease-in-out; - animation: uk-slide-right-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-forward-in:before, -.uk-slideshow-swipe-backward-in:before { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 1; - background: rgba(0, 0, 0, 0.6); - -webkit-animation: uk-fade 0.5s ease-in-out reverse; - animation: uk-fade 0.5s ease-in-out reverse; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.gradient.min.css deleted file mode 100644 index e9348e0b6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.min.css deleted file mode 100644 index e9348e0b6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/slideshow.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.almost-flat.css deleted file mode 100644 index 862682c7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.almost-flat.css +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sortable - ========================================================================== */ -.uk-sortable { - position: relative; -} -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable > * { - touch-action: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-sortable a, -.uk-sortable img { - -webkit-touch-callout: none; -} -/* - * Remove margin from the last-child - */ -.uk-sortable > :last-child { - margin-bottom: 0; -} -/* Sub-modifier `uk-sortable-dragged` - ========================================================================== */ -.uk-sortable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; -} -/* Sub-modifier `uk-sortable-placeholder` - ========================================================================== */ -.uk-sortable-placeholder { - opacity: 0; -} -/* Empty List - ========================================================================== */ -.uk-sortable:empty { - min-height: 30px; -} -/* Sub-object `uk-sortable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable-handle { - touch-action: none; -} -/* Hover */ -.uk-sortable-handle:hover { - cursor: move; -} -/* Sub-object `uk-sortable-moving` - ========================================================================== */ -.uk-sortable-moving, -.uk-sortable-moving * { - cursor: move; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.almost-flat.min.css deleted file mode 100644 index d1b6a9d28..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable:empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.css deleted file mode 100644 index 862682c7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.css +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sortable - ========================================================================== */ -.uk-sortable { - position: relative; -} -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable > * { - touch-action: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-sortable a, -.uk-sortable img { - -webkit-touch-callout: none; -} -/* - * Remove margin from the last-child - */ -.uk-sortable > :last-child { - margin-bottom: 0; -} -/* Sub-modifier `uk-sortable-dragged` - ========================================================================== */ -.uk-sortable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; -} -/* Sub-modifier `uk-sortable-placeholder` - ========================================================================== */ -.uk-sortable-placeholder { - opacity: 0; -} -/* Empty List - ========================================================================== */ -.uk-sortable:empty { - min-height: 30px; -} -/* Sub-object `uk-sortable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable-handle { - touch-action: none; -} -/* Hover */ -.uk-sortable-handle:hover { - cursor: move; -} -/* Sub-object `uk-sortable-moving` - ========================================================================== */ -.uk-sortable-moving, -.uk-sortable-moving * { - cursor: move; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.gradient.css deleted file mode 100644 index 862682c7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.gradient.css +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sortable - ========================================================================== */ -.uk-sortable { - position: relative; -} -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable > * { - touch-action: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-sortable a, -.uk-sortable img { - -webkit-touch-callout: none; -} -/* - * Remove margin from the last-child - */ -.uk-sortable > :last-child { - margin-bottom: 0; -} -/* Sub-modifier `uk-sortable-dragged` - ========================================================================== */ -.uk-sortable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; -} -/* Sub-modifier `uk-sortable-placeholder` - ========================================================================== */ -.uk-sortable-placeholder { - opacity: 0; -} -/* Empty List - ========================================================================== */ -.uk-sortable:empty { - min-height: 30px; -} -/* Sub-object `uk-sortable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable-handle { - touch-action: none; -} -/* Hover */ -.uk-sortable-handle:hover { - cursor: move; -} -/* Sub-object `uk-sortable-moving` - ========================================================================== */ -.uk-sortable-moving, -.uk-sortable-moving * { - cursor: move; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.gradient.min.css deleted file mode 100644 index d1b6a9d28..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable:empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.min.css deleted file mode 100644 index d1b6a9d28..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sortable.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable:empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.almost-flat.css deleted file mode 100644 index a6dd3c480..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.almost-flat.css +++ /dev/null @@ -1,32 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sticky - ========================================================================== */ -/* - * 1. More robust if padding and border are used - */ -[data-uk-sticky].uk-active { - z-index: 980; - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration - */ -.uk-sticky-placeholder > * { - /* 1 */ - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} -/* - * Faster animations - */ -[data-uk-sticky][class*='uk-animation-'] { - -webkit-animation-duration: 0.15s; - animation-duration: 0.15s; -} -[data-uk-sticky].uk-animation-reverse { - -webkit-animation-duration: 0.04s; - animation-duration: 0.04s; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.almost-flat.min.css deleted file mode 100644 index 01857ab39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -[data-uk-sticky].uk-active{z-index:980;-moz-box-sizing:border-box;box-sizing:border-box}.uk-sticky-placeholder>*{-webkit-backface-visibility:hidden;backface-visibility:hidden}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.15s;animation-duration:.15s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.04s;animation-duration:.04s} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.css deleted file mode 100644 index a6dd3c480..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.css +++ /dev/null @@ -1,32 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sticky - ========================================================================== */ -/* - * 1. More robust if padding and border are used - */ -[data-uk-sticky].uk-active { - z-index: 980; - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration - */ -.uk-sticky-placeholder > * { - /* 1 */ - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} -/* - * Faster animations - */ -[data-uk-sticky][class*='uk-animation-'] { - -webkit-animation-duration: 0.15s; - animation-duration: 0.15s; -} -[data-uk-sticky].uk-animation-reverse { - -webkit-animation-duration: 0.04s; - animation-duration: 0.04s; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.gradient.css deleted file mode 100644 index a6dd3c480..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.gradient.css +++ /dev/null @@ -1,32 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sticky - ========================================================================== */ -/* - * 1. More robust if padding and border are used - */ -[data-uk-sticky].uk-active { - z-index: 980; - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration - */ -.uk-sticky-placeholder > * { - /* 1 */ - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} -/* - * Faster animations - */ -[data-uk-sticky][class*='uk-animation-'] { - -webkit-animation-duration: 0.15s; - animation-duration: 0.15s; -} -[data-uk-sticky].uk-animation-reverse { - -webkit-animation-duration: 0.04s; - animation-duration: 0.04s; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.gradient.min.css deleted file mode 100644 index 01857ab39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -[data-uk-sticky].uk-active{z-index:980;-moz-box-sizing:border-box;box-sizing:border-box}.uk-sticky-placeholder>*{-webkit-backface-visibility:hidden;backface-visibility:hidden}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.15s;animation-duration:.15s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.04s;animation-duration:.04s} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.min.css deleted file mode 100644 index 01857ab39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/sticky.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -[data-uk-sticky].uk-active{z-index:980;-moz-box-sizing:border-box;box-sizing:border-box}.uk-sticky-placeholder>*{-webkit-backface-visibility:hidden;backface-visibility:hidden}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.15s;animation-duration:.15s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.04s;animation-duration:.04s} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.almost-flat.css deleted file mode 100644 index 27d920089..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.almost-flat.css +++ /dev/null @@ -1,120 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Tooltip - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set fixed position - * 3. Set dimensions - * 4. Set style - */ -.uk-tooltip { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - z-index: 1030; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 200px; - padding: 5px 8px; - /* 4 */ - background: #333333; - color: rgba(255, 255, 255, 0.7); - font-size: 12px; - line-height: 18px; - text-align: center; - border-radius: 3px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* Triangle - ========================================================================== */ -/* - * 1. Dashed is less antialised than solid - */ -.uk-tooltip:after { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - /* 1 */ - border: 5px dashed #333333; -} -/* Direction modifiers - ========================================================================== */ -/* - * Top - */ -.uk-tooltip-top:after, -.uk-tooltip-top-left:after, -.uk-tooltip-top-right:after { - bottom: -5px; - border-top-style: solid; - border-bottom: none; - border-left-color: transparent; - border-right-color: transparent; - border-top-color: #333333; -} -/* - * Bottom - */ -.uk-tooltip-bottom:after, -.uk-tooltip-bottom-left:after, -.uk-tooltip-bottom-right:after { - top: -5px; - border-bottom-style: solid; - border-top: none; - border-left-color: transparent; - border-right-color: transparent; - border-bottom-color: #333333; -} -/* - * Top/Bottom center - */ -.uk-tooltip-top:after, -.uk-tooltip-bottom:after { - left: 50%; - margin-left: -5px; -} -/* - * Top/Bottom left - */ -.uk-tooltip-top-left:after, -.uk-tooltip-bottom-left:after { - left: 10px; -} -/* - * Top/Bottom right - */ -.uk-tooltip-top-right:after, -.uk-tooltip-bottom-right:after { - right: 10px; -} -/* - * Left - */ -.uk-tooltip-left:after { - right: -5px; - top: 50%; - margin-top: -5px; - border-left-style: solid; - border-right: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: #333333; -} -/* - * Right - */ -.uk-tooltip-right:after { - left: -5px; - top: 50%; - margin-top: -5px; - border-right-style: solid; - border-left: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: #333333; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.almost-flat.min.css deleted file mode 100644 index 1660ddc8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-tooltip{display:none;position:absolute;z-index:1030;-moz-box-sizing:border-box;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;text-align:center;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.css deleted file mode 100644 index 7ec0df084..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.css +++ /dev/null @@ -1,118 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Tooltip - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set fixed position - * 3. Set dimensions - * 4. Set style - */ -.uk-tooltip { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - z-index: 1030; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 200px; - padding: 5px 8px; - /* 4 */ - background: #333333; - color: rgba(255, 255, 255, 0.7); - font-size: 12px; - line-height: 18px; - text-align: center; -} -/* Triangle - ========================================================================== */ -/* - * 1. Dashed is less antialised than solid - */ -.uk-tooltip:after { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - /* 1 */ - border: 5px dashed #333333; -} -/* Direction modifiers - ========================================================================== */ -/* - * Top - */ -.uk-tooltip-top:after, -.uk-tooltip-top-left:after, -.uk-tooltip-top-right:after { - bottom: -5px; - border-top-style: solid; - border-bottom: none; - border-left-color: transparent; - border-right-color: transparent; - border-top-color: #333333; -} -/* - * Bottom - */ -.uk-tooltip-bottom:after, -.uk-tooltip-bottom-left:after, -.uk-tooltip-bottom-right:after { - top: -5px; - border-bottom-style: solid; - border-top: none; - border-left-color: transparent; - border-right-color: transparent; - border-bottom-color: #333333; -} -/* - * Top/Bottom center - */ -.uk-tooltip-top:after, -.uk-tooltip-bottom:after { - left: 50%; - margin-left: -5px; -} -/* - * Top/Bottom left - */ -.uk-tooltip-top-left:after, -.uk-tooltip-bottom-left:after { - left: 10px; -} -/* - * Top/Bottom right - */ -.uk-tooltip-top-right:after, -.uk-tooltip-bottom-right:after { - right: 10px; -} -/* - * Left - */ -.uk-tooltip-left:after { - right: -5px; - top: 50%; - margin-top: -5px; - border-left-style: solid; - border-right: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: #333333; -} -/* - * Right - */ -.uk-tooltip-right:after { - left: -5px; - top: 50%; - margin-top: -5px; - border-right-style: solid; - border-left: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: #333333; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.gradient.css deleted file mode 100644 index 27d920089..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.gradient.css +++ /dev/null @@ -1,120 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Tooltip - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set fixed position - * 3. Set dimensions - * 4. Set style - */ -.uk-tooltip { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - z-index: 1030; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 200px; - padding: 5px 8px; - /* 4 */ - background: #333333; - color: rgba(255, 255, 255, 0.7); - font-size: 12px; - line-height: 18px; - text-align: center; - border-radius: 3px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* Triangle - ========================================================================== */ -/* - * 1. Dashed is less antialised than solid - */ -.uk-tooltip:after { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - /* 1 */ - border: 5px dashed #333333; -} -/* Direction modifiers - ========================================================================== */ -/* - * Top - */ -.uk-tooltip-top:after, -.uk-tooltip-top-left:after, -.uk-tooltip-top-right:after { - bottom: -5px; - border-top-style: solid; - border-bottom: none; - border-left-color: transparent; - border-right-color: transparent; - border-top-color: #333333; -} -/* - * Bottom - */ -.uk-tooltip-bottom:after, -.uk-tooltip-bottom-left:after, -.uk-tooltip-bottom-right:after { - top: -5px; - border-bottom-style: solid; - border-top: none; - border-left-color: transparent; - border-right-color: transparent; - border-bottom-color: #333333; -} -/* - * Top/Bottom center - */ -.uk-tooltip-top:after, -.uk-tooltip-bottom:after { - left: 50%; - margin-left: -5px; -} -/* - * Top/Bottom left - */ -.uk-tooltip-top-left:after, -.uk-tooltip-bottom-left:after { - left: 10px; -} -/* - * Top/Bottom right - */ -.uk-tooltip-top-right:after, -.uk-tooltip-bottom-right:after { - right: 10px; -} -/* - * Left - */ -.uk-tooltip-left:after { - right: -5px; - top: 50%; - margin-top: -5px; - border-left-style: solid; - border-right: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: #333333; -} -/* - * Right - */ -.uk-tooltip-right:after { - left: -5px; - top: 50%; - margin-top: -5px; - border-right-style: solid; - border-left: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: #333333; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.gradient.min.css deleted file mode 100644 index 1660ddc8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-tooltip{display:none;position:absolute;z-index:1030;-moz-box-sizing:border-box;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;text-align:center;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.min.css deleted file mode 100644 index 07e31dc9e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/tooltip.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-tooltip{display:none;position:absolute;z-index:1030;-moz-box-sizing:border-box;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;text-align:center}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.almost-flat.css deleted file mode 100644 index ab07f2b15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.almost-flat.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Upload - ========================================================================== */ -/* - * Create a box-shadow when dragging a file over the upload area - */ -.uk-dragover { - box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.almost-flat.min.css deleted file mode 100644 index f1d2c795e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.css deleted file mode 100644 index ab07f2b15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Upload - ========================================================================== */ -/* - * Create a box-shadow when dragging a file over the upload area - */ -.uk-dragover { - box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.gradient.css deleted file mode 100644 index ab07f2b15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.gradient.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Upload - ========================================================================== */ -/* - * Create a box-shadow when dragging a file over the upload area - */ -.uk-dragover { - box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.gradient.min.css deleted file mode 100644 index f1d2c795e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.min.css deleted file mode 100644 index f1d2c795e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/components/upload.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.almost-flat.css deleted file mode 100644 index 5dd95df4a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.almost-flat.css +++ /dev/null @@ -1,8355 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Base - ========================================================================== */ -/* - * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * 3. Style - */ -html { - /* 1 */ - font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; - /* 2 */ - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - /* 3 */ - background: #ffffff; - color: #444444; -} -/* - * Removes default margin. - */ -body { - margin: 0; -} -/* Links - ========================================================================== */ -/* - * Remove the gray background color from active links in IE 10. - */ -a { - background: transparent; -} -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; -} -/* - * Style - */ -a, -.uk-link { - color: #0077dd; - text-decoration: none; - cursor: pointer; -} -a:hover, -.uk-link:hover { - color: #005599; - text-decoration: underline; -} -/* Text-level semantics - ========================================================================== */ -/* - * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10. - */ -abbr[title] { - border-bottom: 1px dotted; -} -/* - * Addresses style set to `bolder` in Firefox - */ -b, -strong { - font-weight: bold; -} -/* - * 1. Address odd `em`-unit font size rendering in all browsers. - * 2. Consolas has a better baseline in running text compared to `Courier` - */ -:not(pre) > code, -:not(pre) > kbd, -:not(pre) > samp { - /* 1 */ - font-size: 12px; - /* 2 */ - font-family: Consolas, monospace, serif; - /* 3 */ - color: #dd0055; - white-space: nowrap; - padding: 0 4px; - border: 1px solid #dddddd; - border-radius: 3px; - background: #fafafa; -} -/* - * Emphasize - */ -em { - color: #dd0055; -} -/* - * Insert - */ -ins { - background: #ffffaa; - color: #444444; - text-decoration: none; -} -/* - * Mark - * Note: Addresses styling not present in IE 8/9. - */ -mark { - background: #ffffaa; - color: #444444; -} -/* - * Quote - */ -q { - font-style: italic; -} -/* - * Addresses inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; -} -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -/* Images - ========================================================================== */ -/* - * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * 2. Corrects `max-width` behavior if padding and border are used - * 3. Remove border when inside `a` element in IE 8/9/10. - * 4. Remove the gap between images and the bottom of their containers - */ -img { - /* 1 */ - max-width: 100%; - height: auto; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - border: 0; - /* 4 */ - vertical-align: middle; -} -/* - * Preserve original image dimensions - */ -.uk-img-preserve, -.uk-img-preserve img { - max-width: none; -} -/* - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; -} -/* Block elements - ========================================================================== */ -/* - * Reset margin - */ -blockquote, -figure { - margin: 0; -} -/* - * Margins - */ -p, -ul, -ol, -dl, -blockquote, -pre, -address, -fieldset, -figure { - margin: 0 0 15px 0; -} -* + p, -* + ul, -* + ol, -* + dl, -* + blockquote, -* + pre, -* + address, -* + fieldset, -* + figure { - margin-top: 15px; -} -/* Headings - ========================================================================== */ -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0 0 15px 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - color: #444444; - text-transform: none; -} -/* - * Margins - */ -* + h1, -* + h2, -* + h3, -* + h4, -* + h5, -* + h6 { - margin-top: 25px; -} -/* - * Sizes - */ -h1, -.uk-h1 { - font-size: 36px; - line-height: 42px; -} -h2, -.uk-h2 { - font-size: 24px; - line-height: 30px; -} -h3, -.uk-h3 { - font-size: 18px; - line-height: 24px; -} -h4, -.uk-h4 { - font-size: 16px; - line-height: 22px; -} -h5, -.uk-h5 { - font-size: 14px; - line-height: 20px; -} -h6, -.uk-h6 { - font-size: 12px; - line-height: 18px; -} -/* Lists - ========================================================================== */ -ul, -ol { - padding-left: 30px; -} -/* - * Reset margin for nested lists - */ -ul > li > ul, -ul > li > ol, -ol > li > ol, -ol > li > ul { - margin: 0; -} -/* Description lists - ========================================================================== */ -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -/* Horizontal rules - ========================================================================== */ -/* - * 1. Address differences between Firefox and other browsers. - * 2. Style - */ -hr { - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; - /* 2 */ - margin: 15px 0; - border: 0; - border-top: 1px solid #dddddd; -} -/* Address - ========================================================================== */ -address { - font-style: normal; -} -/* Blockquotes - ========================================================================== */ -blockquote { - padding-left: 15px; - border-left: 5px solid #dddddd; - font-size: 16px; - line-height: 22px; - font-style: italic; -} -/* Preformatted text - ========================================================================== */ -/* - * 1. Contain overflow in all browsers. - */ -pre { - padding: 10px; - background: #fafafa; - font: 12px / 18px Consolas, monospace, serif; - color: #444444; - -moz-tab-size: 4; - tab-size: 4; - /* 1 */ - overflow: auto; - border: 1px solid #dddddd; - border-radius: 3px; -} -/* Selection pseudo-element - ========================================================================== */ -::-moz-selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -::selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -/* HTML5 elements - ========================================================================== */ -/* - * Corrects `block` display not defined in IE 8/9. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -main, -nav, -section, -summary { - display: block; -} -/* - * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera. - */ -progress { - vertical-align: baseline; -} -/* - * Prevent displaying `audio` without controls in Chrome, Safari and Opera - */ -audio:not([controls]) { - display: none; -} -/* - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE and Safari - */ -[hidden], -template { - display: none; -} -/* Iframe - ========================================================================== */ -iframe { - border: 0; -} -/* Fix viewport for IE10 snap mode - ========================================================================== */ -@media screen and (max-width: 400px) { - @-ms-viewport { - width: device-width; - } -} -/* ======================================================================== - Component: Grid - ========================================================================== */ -/* - * 1. Makes grid more robust so that it can be used with other block elements like lists - */ -.uk-grid { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * DEPRECATED - * Micro clearfix - * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit - */ -.uk-grid:before, -.uk-grid:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-grid:after { - clear: both; -} -/* - * Grid cell - * 1. Space is allocated solely based on content dimensions - * 2. Makes grid more robust so that it can be used with other block elements - * 3. DEPRECATED Using `float` to support IE9 - */ -.uk-grid > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - margin: 0; - /* 3 */ - float: left; -} -/* - * Remove margin from the last-child - */ -.uk-grid > * > :last-child { - margin-bottom: 0; -} -/* Grid gutter - ========================================================================== */ -/* - * Default gutter - */ -/* Horizontal */ -.uk-grid { - margin-left: -25px; -} -.uk-grid > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid + .uk-grid, -.uk-grid-margin, -.uk-grid > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* Horizontal */ - .uk-grid { - margin-left: -35px; - } - .uk-grid > * { - padding-left: 35px; - } - /* Vertical */ - .uk-grid + .uk-grid, - .uk-grid-margin, - .uk-grid > * > .uk-panel + .uk-panel { - margin-top: 35px; - } -} -/* - * Collapse gutter - */ -/* Horizontal */ -.uk-grid-collapse { - margin-left: 0; -} -.uk-grid-collapse > * { - padding-left: 0; -} -/* Vertical */ -.uk-grid-collapse + .uk-grid-collapse, -.uk-grid-collapse > .uk-grid-margin, -.uk-grid-collapse > * > .uk-panel + .uk-panel { - margin-top: 0; -} -/* - * Small gutter - */ -/* Horizontal */ -.uk-grid-small { - margin-left: -10px; -} -.uk-grid-small > * { - padding-left: 10px; -} -/* Vertical */ -.uk-grid-small + .uk-grid-small, -.uk-grid-small > .uk-grid-margin, -.uk-grid-small > * > .uk-panel + .uk-panel { - margin-top: 10px; -} -/* - * Medium gutter - */ -/* Horizontal */ -.uk-grid-medium { - margin-left: -25px; -} -.uk-grid-medium > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid-medium + .uk-grid-medium, -.uk-grid-medium > .uk-grid-margin, -.uk-grid-medium > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Modifier: `uk-grid-divider` - ========================================================================== */ -/* - * Horizontal divider - * Only works with the default gutter. Does not work with gutter collapse, small or large. - * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. - */ -.uk-grid-divider:not(:empty) { - margin-left: -25px; - margin-right: -25px; -} -.uk-grid-divider > * { - padding-left: 25px; - padding-right: 25px; -} -.uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), -.uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { - border-left: 1px solid #dddddd; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* - * Large gutter - */ - .uk-grid-divider:not(:empty) { - margin-left: -35px; - margin-right: -35px; - } - .uk-grid-divider > * { - padding-left: 35px; - padding-right: 35px; - } - .uk-grid-divider:empty { - margin-top: 35px; - margin-bottom: 35px; - } -} -/* - * Vertical divider - */ -.uk-grid-divider:empty { - margin-top: 25px; - margin-bottom: 25px; - border-top: 1px solid #dddddd; -} -/* Match panels in grids - ========================================================================== */ -.uk-grid-match > * { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -/* - * 1. Behave like a block element - */ -.uk-grid-match > * > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* Even grid cell widths - ========================================================================== */ -[class*='uk-grid-width'] > * { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -.uk-grid-width-1-2 > * { - width: 50%; -} -.uk-grid-width-1-3 > * { - width: 33.333%; -} -.uk-grid-width-1-4 > * { - width: 25%; -} -.uk-grid-width-1-5 > * { - width: 20%; -} -.uk-grid-width-1-6 > * { - width: 16.666%; -} -.uk-grid-width-1-10 > * { - width: 10%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-grid-width-small-1-2 > * { - width: 50%; - } - .uk-grid-width-small-1-3 > * { - width: 33.333%; - } - .uk-grid-width-small-1-4 > * { - width: 25%; - } - .uk-grid-width-small-1-5 > * { - width: 20%; - } - .uk-grid-width-small-1-6 > * { - width: 16.666%; - } - .uk-grid-width-small-1-10 > * { - width: 10%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-width-medium-1-2 > * { - width: 50%; - } - .uk-grid-width-medium-1-3 > * { - width: 33.333%; - } - .uk-grid-width-medium-1-4 > * { - width: 25%; - } - .uk-grid-width-medium-1-5 > * { - width: 20%; - } - .uk-grid-width-medium-1-6 > * { - width: 16.666%; - } - .uk-grid-width-medium-1-10 > * { - width: 10%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-width-large-1-2 > * { - width: 50%; - } - .uk-grid-width-large-1-3 > * { - width: 33.333%; - } - .uk-grid-width-large-1-4 > * { - width: 25%; - } - .uk-grid-width-large-1-5 > * { - width: 20%; - } - .uk-grid-width-large-1-6 > * { - width: 16.666%; - } - .uk-grid-width-large-1-10 > * { - width: 10%; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-grid-width-xlarge-1-2 > * { - width: 50%; - } - .uk-grid-width-xlarge-1-3 > * { - width: 33.333%; - } - .uk-grid-width-xlarge-1-4 > * { - width: 25%; - } - .uk-grid-width-xlarge-1-5 > * { - width: 20%; - } - .uk-grid-width-xlarge-1-6 > * { - width: 16.666%; - } - .uk-grid-width-xlarge-1-10 > * { - width: 10%; - } -} -/* Sub-objects: `uk-width-*` - ========================================================================== */ -[class*='uk-width'] { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* - * Widths - */ -/* Whole */ -.uk-width-1-1 { - width: 100%; -} -/* Halves */ -.uk-width-1-2, -.uk-width-2-4, -.uk-width-3-6, -.uk-width-5-10 { - width: 50%; -} -/* Thirds */ -.uk-width-1-3, -.uk-width-2-6 { - width: 33.333%; -} -.uk-width-2-3, -.uk-width-4-6 { - width: 66.666%; -} -/* Quarters */ -.uk-width-1-4 { - width: 25%; -} -.uk-width-3-4 { - width: 75%; -} -/* Fifths */ -.uk-width-1-5, -.uk-width-2-10 { - width: 20%; -} -.uk-width-2-5, -.uk-width-4-10 { - width: 40%; -} -.uk-width-3-5, -.uk-width-6-10 { - width: 60%; -} -.uk-width-4-5, -.uk-width-8-10 { - width: 80%; -} -/* Sixths */ -.uk-width-1-6 { - width: 16.666%; -} -.uk-width-5-6 { - width: 83.333%; -} -/* Tenths */ -.uk-width-1-10 { - width: 10%; -} -.uk-width-3-10 { - width: 30%; -} -.uk-width-7-10 { - width: 70%; -} -.uk-width-9-10 { - width: 90%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - /* Whole */ - .uk-width-small-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-small-1-2, - .uk-width-small-2-4, - .uk-width-small-3-6, - .uk-width-small-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-small-1-3, - .uk-width-small-2-6 { - width: 33.333%; - } - .uk-width-small-2-3, - .uk-width-small-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-small-1-4 { - width: 25%; - } - .uk-width-small-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-small-1-5, - .uk-width-small-2-10 { - width: 20%; - } - .uk-width-small-2-5, - .uk-width-small-4-10 { - width: 40%; - } - .uk-width-small-3-5, - .uk-width-small-6-10 { - width: 60%; - } - .uk-width-small-4-5, - .uk-width-small-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-small-1-6 { - width: 16.666%; - } - .uk-width-small-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-small-1-10 { - width: 10%; - } - .uk-width-small-3-10 { - width: 30%; - } - .uk-width-small-7-10 { - width: 70%; - } - .uk-width-small-9-10 { - width: 90%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* Whole */ - .uk-width-medium-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-medium-1-2, - .uk-width-medium-2-4, - .uk-width-medium-3-6, - .uk-width-medium-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-medium-1-3, - .uk-width-medium-2-6 { - width: 33.333%; - } - .uk-width-medium-2-3, - .uk-width-medium-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-medium-1-4 { - width: 25%; - } - .uk-width-medium-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-medium-1-5, - .uk-width-medium-2-10 { - width: 20%; - } - .uk-width-medium-2-5, - .uk-width-medium-4-10 { - width: 40%; - } - .uk-width-medium-3-5, - .uk-width-medium-6-10 { - width: 60%; - } - .uk-width-medium-4-5, - .uk-width-medium-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-medium-1-6 { - width: 16.666%; - } - .uk-width-medium-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-medium-1-10 { - width: 10%; - } - .uk-width-medium-3-10 { - width: 30%; - } - .uk-width-medium-7-10 { - width: 70%; - } - .uk-width-medium-9-10 { - width: 90%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - /* Whole */ - .uk-width-large-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-large-1-2, - .uk-width-large-2-4, - .uk-width-large-3-6, - .uk-width-large-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-large-1-3, - .uk-width-large-2-6 { - width: 33.333%; - } - .uk-width-large-2-3, - .uk-width-large-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-large-1-4 { - width: 25%; - } - .uk-width-large-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-large-1-5, - .uk-width-large-2-10 { - width: 20%; - } - .uk-width-large-2-5, - .uk-width-large-4-10 { - width: 40%; - } - .uk-width-large-3-5, - .uk-width-large-6-10 { - width: 60%; - } - .uk-width-large-4-5, - .uk-width-large-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-large-1-6 { - width: 16.666%; - } - .uk-width-large-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-large-1-10 { - width: 10%; - } - .uk-width-large-3-10 { - width: 30%; - } - .uk-width-large-7-10 { - width: 70%; - } - .uk-width-large-9-10 { - width: 90%; - } -} -/* Sub-object: `uk-push-*` and `uk-pull-*` - ========================================================================== */ -/* - * Source ordering - * Works only with `uk-width-medium-*` - */ -/* Tablet and bigger */ -@media (min-width: 768px) { - [class*='uk-push-'], - [class*='uk-pull-'] { - position: relative; - } - /* - * Push - */ - /* Halves */ - .uk-push-1-2, - .uk-push-2-4, - .uk-push-3-6, - .uk-push-5-10 { - left: 50%; - } - /* Thirds */ - .uk-push-1-3, - .uk-push-2-6 { - left: 33.333%; - } - .uk-push-2-3, - .uk-push-4-6 { - left: 66.666%; - } - /* Quarters */ - .uk-push-1-4 { - left: 25%; - } - .uk-push-3-4 { - left: 75%; - } - /* Fifths */ - .uk-push-1-5, - .uk-push-2-10 { - left: 20%; - } - .uk-push-2-5, - .uk-push-4-10 { - left: 40%; - } - .uk-push-3-5, - .uk-push-6-10 { - left: 60%; - } - .uk-push-4-5, - .uk-push-8-10 { - left: 80%; - } - /* Sixths */ - .uk-push-1-6 { - left: 16.666%; - } - .uk-push-5-6 { - left: 83.333%; - } - /* Tenths */ - .uk-push-1-10 { - left: 10%; - } - .uk-push-3-10 { - left: 30%; - } - .uk-push-7-10 { - left: 70%; - } - .uk-push-9-10 { - left: 90%; - } - /* - * Pull - */ - /* Halves */ - .uk-pull-1-2, - .uk-pull-2-4, - .uk-pull-3-6, - .uk-pull-5-10 { - left: -50%; - } - /* Thirds */ - .uk-pull-1-3, - .uk-pull-2-6 { - left: -33.333%; - } - .uk-pull-2-3, - .uk-pull-4-6 { - left: -66.666%; - } - /* Quarters */ - .uk-pull-1-4 { - left: -25%; - } - .uk-pull-3-4 { - left: -75%; - } - /* Fifths */ - .uk-pull-1-5, - .uk-pull-2-10 { - left: -20%; - } - .uk-pull-2-5, - .uk-pull-4-10 { - left: -40%; - } - .uk-pull-3-5, - .uk-pull-6-10 { - left: -60%; - } - .uk-pull-4-5, - .uk-pull-8-10 { - left: -80%; - } - /* Sixths */ - .uk-pull-1-6 { - left: -16.666%; - } - .uk-pull-5-6 { - left: -83.333%; - } - /* Tenths */ - .uk-pull-1-10 { - left: -10%; - } - .uk-pull-3-10 { - left: -30%; - } - .uk-pull-7-10 { - left: -70%; - } - .uk-pull-9-10 { - left: -90%; - } -} -/* ======================================================================== - Component: Panel - ========================================================================== */ -/* - * 1. Needed for `a` elements - * 2. Create position context for badges - */ -.uk-panel { - /* 1 */ - display: block; - /* 2 */ - position: relative; -} -/* - * Allow panels to be anchors - */ -.uk-panel, -.uk-panel:hover { - text-decoration: none; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-panel:before, -.uk-panel:after { - content: ""; - display: table; -} -.uk-panel:after { - clear: both; -} -/* - * Remove margin from the last-child if not `uk-widget-title` - */ -.uk-panel > :not(.uk-panel-title):last-child { - margin-bottom: 0; -} -/* Sub-object: `uk-panel-title` - ========================================================================== */ -.uk-panel-title { - margin-top: 0; - margin-bottom: 15px; - font-size: 18px; - line-height: 24px; - font-weight: normal; - text-transform: none; - color: #444444; -} -/* Sub-object: `uk-panel-badge` - ========================================================================== */ -.uk-panel-badge { - position: absolute; - top: 0; - right: 0; - z-index: 1; -} -/* Sub-object: `uk-panel-teaser` - ========================================================================== */ -.uk-panel-teaser { - margin-bottom: 15px; -} -/* Modifier: `uk-panel-box` - ========================================================================== */ -.uk-panel-box { - padding: 15px; - background: #fafafa; - color: #444444; - border: 1px solid #dddddd; - border-radius: 4px; -} -.uk-panel-box-hover:hover { - color: #444444; -} -.uk-panel-box .uk-panel-title { - color: #444444; -} -.uk-panel-box .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-box .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* - * Nav in panel - */ -.uk-panel-box > .uk-nav-side { - margin: 0 -15px; -} -/* - * Sub-modifier: `uk-panel-box-primary` - */ -.uk-panel-box-primary { - background-color: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -.uk-panel-box-primary-hover:hover { - color: #2d7091; -} -.uk-panel-box-primary .uk-panel-title { - color: #2d7091; -} -/* - * Sub-modifier: `uk-panel-box-secondary` - */ -.uk-panel-box-secondary { - background-color: #ffffff; - color: #444444; -} -.uk-panel-box-secondary-hover:hover { - color: #444444; -} -.uk-panel-box-secondary .uk-panel-title { - color: #444444; -} -/* Modifier: `uk-panel-hover` - ========================================================================== */ -.uk-panel-hover { - padding: 15px; - color: #444444; - border: 1px solid transparent; - border-radius: 4px; -} -.uk-panel-hover:hover { - background: #fafafa; - color: #444444; - border-color: #dddddd; -} -.uk-panel-hover .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-hover .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* Modifier: `uk-panel-header` - ========================================================================== */ -.uk-panel-header .uk-panel-title { - padding-bottom: 10px; - border-bottom: 1px solid #dddddd; - color: #444444; -} -/* Modifier: `uk-panel-space` - ========================================================================== */ -.uk-panel-space { - padding: 30px; -} -.uk-panel-space .uk-panel-badge { - top: 30px; - right: 30px; -} -/* Modifier: `uk-panel-divider` - ========================================================================== */ -.uk-panel + .uk-panel-divider { - margin-top: 50px !important; -} -.uk-panel + .uk-panel-divider:before { - content: ""; - display: block; - position: absolute; - top: -25px; - left: 0; - right: 0; - border-top: 1px solid #dddddd; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-panel + .uk-panel-divider { - margin-top: 70px !important; - } - .uk-panel + .uk-panel-divider:before { - top: -35px; - } -} -.uk-panel-box .uk-panel-teaser { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - overflow: hidden; - -webkit-transform: translateZ(0); -} -/* ======================================================================== - Component: Block - ========================================================================== */ -.uk-block { - position: relative; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-top: 20px; - padding-bottom: 20px; -} -/* Phone landscape and bigger */ -@media (min-width: 768px) { - .uk-block { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* - * Micro clearfix to make blocks more robust - */ -.uk-block:before, -.uk-block:after { - content: ""; - display: table; -} -.uk-block:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-block > :last-child { - margin-bottom: 0; -} -/* Padding Modifier - ========================================================================== */ -/* - * Large padding - */ -.uk-block-large { - padding-top: 20px; - padding-bottom: 20px; -} -/* Tablets and bigger */ -@media (min-width: 768px) { - .uk-block-large { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-block-large { - padding-top: 100px; - padding-bottom: 100px; - } -} -/* Color Modifier - ========================================================================== */ -/* - * Default - */ -.uk-block-default { - background: #ffffff; -} -/* - * Muted - */ -.uk-block-muted { - background: #f9f9f9; -} -/* - * Primary - */ -.uk-block-primary { - background: #00a8e6; -} -/* - * Secondary - */ -.uk-block-secondary { - background: #222222; -} -/* - * Adjust padding between equal colored blocks - */ -.uk-block-default + .uk-block-default, -.uk-block-muted + .uk-block-muted, -.uk-block-primary + .uk-block-primary, -.uk-block-secondary + .uk-block-secondary { - padding-top: 0; -} -/* ======================================================================== - Component: Article - ========================================================================== */ -/* - * Micro clearfix to make articles more robust - */ -.uk-article:before, -.uk-article:after { - content: ""; - display: table; -} -.uk-article:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-article > :last-child { - margin-bottom: 0; -} -/* - * Vertical gutter for articles - */ -.uk-article + .uk-article { - margin-top: 25px; -} -/* Sub-object `uk-article-title` - ========================================================================== */ -.uk-article-title { - font-size: 36px; - line-height: 42px; - font-weight: normal; - text-transform: none; -} -.uk-article-title a { - color: inherit; - text-decoration: none; -} -/* Sub-object `uk-article-meta` - ========================================================================== */ -.uk-article-meta { - font-size: 12px; - line-height: 18px; - color: #999999; -} -/* Sub-object `uk-article-lead` - ========================================================================== */ -.uk-article-lead { - color: #444444; - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Sub-object `uk-article-divider` - ========================================================================== */ -.uk-article-divider { - margin-bottom: 25px; - border-color: #dddddd; -} -* + .uk-article-divider { - margin-top: 25px; -} -.uk-article + .uk-article { - padding-top: 25px; - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Comment - ========================================================================== */ -/* Sub-object `uk-comment-header` - ========================================================================== */ -.uk-comment-header { - margin-bottom: 15px; - padding: 10px; - border: 1px solid #dddddd; - border-radius: 4px; - background: #fafafa; -} -/* - * Micro clearfix - */ -.uk-comment-header:before, -.uk-comment-header:after { - content: ""; - display: table; -} -.uk-comment-header:after { - clear: both; -} -/* Sub-object `uk-comment-avatar` - ========================================================================== */ -.uk-comment-avatar { - margin-right: 15px; - float: left; -} -/* Sub-object `uk-comment-title` - ========================================================================== */ -.uk-comment-title { - margin: 5px 0 0 0; - font-size: 16px; - line-height: 22px; -} -/* Sub-object `uk-comment-meta` - ========================================================================== */ -.uk-comment-meta { - margin: 2px 0 0 0; - font-size: 11px; - line-height: 16px; - color: #999999; -} -/* Sub-object `uk-comment-body` - ========================================================================== */ -.uk-comment-body { - padding-left: 10px; - padding-right: 10px; -} -/* - * Remove margin from the last-child - */ -.uk-comment-body > :last-child { - margin-bottom: 0; -} -/* Sub-object `uk-comment-list` - ========================================================================== */ -.uk-comment-list { - padding: 0; - list-style: none; -} -.uk-comment-list .uk-comment + ul { - margin: 25px 0 0 0; - list-style: none; -} -.uk-comment-list > li:nth-child(n+2), -.uk-comment-list .uk-comment + ul > li:nth-child(n+2) { - margin-top: 25px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-comment-list .uk-comment + ul { - padding-left: 100px; - } -} -/* Modifier `uk-comment-primary` - ========================================================================== */ -.uk-comment-primary .uk-comment-header { - border-color: rgba(45, 112, 145, 0.3); - background-color: #ebf7fd; - color: #2d7091; - text-shadow: 0 1px 0 #ffffff; -} -/* ======================================================================== - Component: Cover - ========================================================================== */ -/* - * Background image always covers and centers its element - */ -.uk-cover-background { - background-position: 50% 50%; - background-size: cover; - background-repeat: no-repeat; -} -/* - * Emulates image cover, works with video and image elements - * 1. Parent container which clips resized object - * 2. Resizes the object to always covers its container - * 3. Reset the responsive image CSS - * 4. Center object - */ -/* 1 */ -.uk-cover { - overflow: hidden; -} -.uk-cover-object { - /* 2 */ - width: auto; - height: auto; - min-width: 100%; - min-height: 100%; - /* 3 */ - max-width: none; - /* 4 */ - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* - * To center iframes use `data-uk-cover` JavaScript - */ -[data-uk-cover] { - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* ======================================================================== - Component: Nav - ========================================================================== */ -.uk-nav, -.uk-nav ul { - margin: 0; - padding: 0; - list-style: none; -} -/* - * Items - */ -.uk-nav li > a { - display: block; - text-decoration: none; -} -.uk-nav > li > a { - padding: 5px 15px; -} -/* - * Nested items - */ -.uk-nav ul { - padding-left: 15px; -} -.uk-nav ul a { - padding: 2px 0; -} -/* - * Item subtitle - */ -.uk-nav li > a > div { - font-size: 12px; - line-height: 18px; -} -/* Sub-object: `uk-nav-header` - ========================================================================== */ -.uk-nav-header { - padding: 5px 15px; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} -.uk-nav-header:not(:first-child) { - margin-top: 15px; -} -/* Sub-object: `uk-nav-divider` - ========================================================================== */ -.uk-nav-divider { - margin: 9px 15px; -} -/* Sub-object: `uk-nav-sub` - ========================================================================== */ -/* - * `ul` needed for higher specificity to override padding - */ -ul.uk-nav-sub { - padding: 5px 0 5px 15px; -} -/* Modifier: `uk-nav-parent-icon` - ========================================================================== */ -.uk-nav-parent-icon > .uk-parent > a:after { - content: "\f104"; - width: 20px; - margin-right: -10px; - float: right; - font-family: FontAwesome; - text-align: center; -} -.uk-nav-parent-icon > .uk-parent.uk-open > a:after { - content: "\f107"; -} -/* Modifier `uk-nav-side` - ========================================================================== */ -/* - * Items - */ -.uk-nav-side > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-side > li > a:hover, -.uk-nav-side > li > a:focus { - background: rgba(0, 0, 0, 0.03); - color: #444444; - /* 2 */ - outline: none; - box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.06); - text-shadow: 0 -1px 0 #ffffff; -} -/* Active */ -.uk-nav-side > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-side .uk-nav-header { - color: #444444; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-side .uk-nav-divider { - border-top: 1px solid #dddddd; - box-shadow: 0 1px 0 #ffffff; -} -/* - * Nested items - */ -.uk-nav-side ul a { - color: #0077dd; -} -.uk-nav-side ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-dropdown` - ========================================================================== */ -/* - * Items - */ -.uk-nav-dropdown > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-dropdown > li > a:hover, -.uk-nav-dropdown > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-dropdown .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-dropdown .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-dropdown ul a { - color: #0077dd; -} -.uk-nav-dropdown ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-navbar` - ========================================================================== */ -/* - * Items - */ -.uk-nav-navbar > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-navbar > li > a:hover, -.uk-nav-navbar > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-navbar .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-navbar .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-navbar ul a { - color: #0077dd; -} -.uk-nav-navbar ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-offcanvas` - ========================================================================== */ -/* - * Items - */ -.uk-nav-offcanvas > li > a { - color: #cccccc; - padding: 10px 15px; - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Hover - * No hover on touch devices because it behaves buggy in fixed offcanvas - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-offcanvas > .uk-open > a, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { - background: #404040; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Active - * `html .uk-nav` needed for higher specificity to override hover - */ -html .uk-nav.uk-nav-offcanvas > li.uk-active > a { - background: #1a1a1a; - color: #ffffff; - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-offcanvas .uk-nav-header { - color: #777777; - margin-top: 0; - border-top: 1px solid rgba(0, 0, 0, 0.3); - background: #404040; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-offcanvas .uk-nav-divider { - border-top: 1px solid rgba(255, 255, 255, 0.01); - margin: 0; - height: 4px; - background: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Nested items - * No hover on touch devices because it behaves buggy in fixed offcanvas - */ -.uk-nav-offcanvas ul a { - color: #cccccc; -} -html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { - color: #ffffff; -} -/* - * Modifier `uk-nav-offcanvas` - */ -.uk-nav-offcanvas { - border-bottom: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* - * Sub-object: `uk-nav-sub` - */ -.uk-nav-offcanvas .uk-nav-sub { - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* ======================================================================== - Component: Navbar - ========================================================================== */ -.uk-navbar { - background: #f5f5f5; - color: #444444; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-navbar:before, -.uk-navbar:after { - content: ""; - display: table; -} -.uk-navbar:after { - clear: both; -} -/* Sub-object: `uk-navbar-nav` - ========================================================================== */ -.uk-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -/* - * 1. Create position context for dropdowns - */ -.uk-navbar-nav > li { - float: left; - /* 1 */ - position: relative; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* Appear not as link */ -.uk-navbar-nav > li > a[href='#'] { - cursor: text; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-navbar-nav > li:hover > a, -.uk-navbar-nav > li > a:focus, -.uk-navbar-nav > li.uk-open > a { - background-color: #fafafa; - color: #444444; - /* 3 */ - outline: none; - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-navbar-nav > li > a:active { - background-color: #eeeeee; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); -} -/* Active */ -.uk-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* Sub-objects: `uk-navbar-nav-subtitle` - ========================================================================== */ -.uk-navbar-nav .uk-navbar-nav-subtitle { - line-height: 28px; -} -.uk-navbar-nav-subtitle > div { - margin-top: -6px; - font-size: 10px; - line-height: 12px; -} -/* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` - ========================================================================== */ -/* - * Imitate navbar items - */ -.uk-navbar-content, -.uk-navbar-brand, -.uk-navbar-toggle { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - height: 41px; - padding: 0 15px; - float: left; - margin-top: -1px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Helper to center all child elements vertically - */ -.uk-navbar-content:before, -.uk-navbar-brand:before, -.uk-navbar-toggle:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* Sub-objects: `uk-navbar-content` - ========================================================================== */ -/* - * Better sibling spacing - */ -.uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { - padding-left: 0; -} -/* - * Link colors - */ -.uk-navbar-content > a:not([class]) { - color: #0077dd; -} -.uk-navbar-content > a:not([class]):hover { - color: #005599; -} -/* Sub-objects: `uk-navbar-brand` - ========================================================================== */ -.uk-navbar-brand { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-brand:hover, -.uk-navbar-brand:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* Sub-object: `uk-navbar-toggle` - ========================================================================== */ -.uk-navbar-toggle { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-toggle:hover, -.uk-navbar-toggle:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * 1. Center icon vertically - */ -.uk-navbar-toggle:after { - content: "\f0c9"; - font-family: FontAwesome; - /* 1 */ - vertical-align: middle; -} -.uk-navbar-toggle-alt:after { - content: "\f002"; -} -/* Sub-object: `uk-navbar-center` - ========================================================================== */ -/* - * The element with this class needs to be last child in the navbar - * 1. This hack is needed because other float elements shift centered text - */ -.uk-navbar-center { - float: none; - text-align: center; - /* 1 */ - max-width: 50%; - margin-left: auto; - margin-right: auto; -} -/* Sub-object: `uk-navbar-flip` - ========================================================================== */ -.uk-navbar-flip { - float: right; -} -/* - * Apply same `border-radius` as `uk-navbar` - */ -.uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-flip` - */ -/* Collapse border */ -.uk-navbar-flip .uk-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-navbar` */ -.uk-navbar-flip .uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.uk-navbar-flip .uk-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-attached` - */ -.uk-navbar-attached { - border-top-color: transparent; - border-left-color: transparent; - border-right-color: transparent; - border-radius: 0; -} -.uk-navbar-attached .uk-navbar-nav > li > a { - border-radius: 0 !important; -} -/* ======================================================================== - Component: Subnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-subnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - * 3. Create position context for dropdowns - */ -.uk-subnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; - /* 3 */ - position: relative; -} -/* - * DEPRECATED IE9 Support - */ -.uk-subnav:before, -.uk-subnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-subnav:after { - clear: both; -} -.uk-subnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-subnav > * > * { - display: inline-block; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-subnav > * > :hover, -.uk-subnav > * > :focus { - color: #0077dd; - text-decoration: none; -} -/* - * Active - */ -.uk-subnav > .uk-active > * { - color: #0077dd; -} -/* Modifier: 'subnav-line' - ========================================================================== */ -.uk-subnav-line > :before { - content: ""; - display: inline-block; - height: 10px; - vertical-align: middle; -} -.uk-subnav-line > :nth-child(n+2):before { - margin-right: 10px; - border-left: 1px solid #dddddd; -} -/* Modifier: 'subnav-pill' - ========================================================================== */ -.uk-subnav-pill > * > * { - padding: 3px 9px; - border-radius: 4px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-subnav-pill > * > :hover, -.uk-subnav-pill > * > :focus { - background: #fafafa; - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); -} -/* - * Active - * `li` needed for higher specificity to override hover - */ -.uk-subnav-pill > .uk-active > * { - background: #00a8e6; - color: #ffffff; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); -} -/* Disabled state - ========================================================================== */ -.uk-subnav > .uk-disabled > * { - background: none; - color: #999999; - text-decoration: none; - cursor: text; - box-shadow: none; -} -/* ======================================================================== - Component: Breadcrumb - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Remove whitespace between child elements when using `inline-block` - */ -.uk-breadcrumb { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - font-size: 0.001px; -} -/* Items - ========================================================================== */ -/* - * Reset whitespace hack - */ -.uk-breadcrumb > li { - font-size: 1rem; - vertical-align: top; -} -.uk-breadcrumb > li, -.uk-breadcrumb > li > a, -.uk-breadcrumb > li > span { - display: inline-block; -} -.uk-breadcrumb > li:nth-child(n+2):before { - content: "/"; - display: inline-block; - margin: 0 8px; -} -/* - * Disabled - */ -.uk-breadcrumb > li:not(.uk-active) > span { - color: #999999; -} -/* ======================================================================== - Component: Pagination - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Center pagination by default - * 3. Remove whitespace between child elements when using `inline-block` - */ -.uk-pagination { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - text-align: center; - /* 3 */ - font-size: 0.001px; -} -/* - * Micro clearfix - * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used - */ -.uk-pagination:before, -.uk-pagination:after { - content: ""; - display: table; -} -.uk-pagination:after { - clear: both; -} -/* Items - ========================================================================== */ -/* - * 1. Reset whitespace hack - * 2. Remove the gap at the bottom of it container - */ -.uk-pagination > li { - display: inline-block; - /* 1 */ - font-size: 1rem; - /* 2 */ - vertical-align: top; -} -.uk-pagination > li:nth-child(n+2) { - margin-left: 5px; -} -/* - * 1. Makes pagination more robust against different box-sizing use - * 2. Reset text-align to center if alignment modifier is used - */ -.uk-pagination > li > a, -.uk-pagination > li > span { - display: inline-block; - min-width: 16px; - padding: 3px 5px; - line-height: 20px; - text-decoration: none; - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - /* 2 */ - text-align: center; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 4px; -} -/* - * Links - */ -.uk-pagination > li > a { - background: #f5f5f5; - color: #444444; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-pagination > li > a:hover, -.uk-pagination > li > a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: rgba(0, 0, 0, 0.16); -} -/* OnClick */ -.uk-pagination > li > a:active { - background-color: #eeeeee; - color: #444444; -} -/* - * Active - */ -.uk-pagination > .uk-active > span { - background: #00a8e6; - color: #ffffff; - border-color: transparent; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Disabled - */ -.uk-pagination > .uk-disabled > span { - background-color: #fafafa; - color: #999999; - border: 1px solid rgba(0, 0, 0, 0.06); - text-shadow: 0 1px 0 #ffffff; -} -/* Previous and next navigation - ========================================================================== */ -.uk-pagination-previous { - float: left; -} -.uk-pagination-next { - float: right; -} -/* Alignment modifiers - ========================================================================== */ -.uk-pagination-left { - text-align: left; -} -.uk-pagination-right { - text-align: right; -} -/* ======================================================================== - Component: Tab - ========================================================================== */ -.uk-tab { - margin: 0; - padding: 0; - list-style: none; - border-bottom: 1px solid #dddddd; -} -/* - * Micro clearfix on the deepest container - */ -.uk-tab:before, -.uk-tab:after { - content: ""; - display: table; -} -.uk-tab:after { - clear: both; -} -/* - * Items - * 1. Create position context for dropdowns - */ -.uk-tab > li { - margin-bottom: -1px; - float: left; - /* 1 */ - position: relative; -} -.uk-tab > li > a { - display: block; - padding: 8px 12px 8px 12px; - border: 1px solid transparent; - border-bottom-width: 0; - color: #0077dd; - text-decoration: none; - border-radius: 4px 4px 0 0; - text-shadow: 0 1px 0 #ffffff; -} -.uk-tab > li:nth-child(n+2) > a { - margin-left: 5px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-tab > li > a:hover, -.uk-tab > li > a:focus, -.uk-tab > li.uk-open > a { - border-color: rgba(0, 0, 0, 0.06); - background: #f5f5f5; - color: #005599; - /* 2 */ - outline: none; -} -.uk-tab > li:not(.uk-active) > a:hover, -.uk-tab > li:not(.uk-active) > a:focus, -.uk-tab > li.uk-open:not(.uk-active) > a { - margin-bottom: 1px; - padding-bottom: 7px; -} -/* Active */ -.uk-tab > li.uk-active > a { - border-color: #dddddd; - border-bottom-color: transparent; - background: #ffffff; - color: #444444; -} -/* Disabled */ -.uk-tab > li.uk-disabled > a { - color: #999999; - cursor: text; -} -.uk-tab > li.uk-disabled > a:hover, -.uk-tab > li.uk-disabled > a:focus, -.uk-tab > li.uk-disabled.uk-active > a { - background: none; - border-color: transparent; -} -/* Modifier: 'tab-flip' - ========================================================================== */ -.uk-tab-flip > li { - float: right; -} -.uk-tab-flip > li:nth-child(n+2) > a { - margin-left: 0; - margin-right: 5px; -} -/* Modifier: 'tab-responsive' - ========================================================================== */ -.uk-tab > li.uk-tab-responsive > a { - margin-left: 0; - margin-right: 0; -} -/* - * Icon - */ -.uk-tab-responsive > a:before { - content: "\f0c9\00a0"; - font-family: FontAwesome; -} -/* Modifier: 'tab-center' - ========================================================================== */ -.uk-tab-center { - border-bottom: 1px solid #dddddd; -} -.uk-tab-center-bottom { - border-bottom: none; - border-top: 1px solid #dddddd; -} -.uk-tab-center:before, -.uk-tab-center:after { - content: ""; - display: table; -} -.uk-tab-center:after { - clear: both; -} -/* - * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs - */ -.uk-tab-center .uk-tab { - position: relative; - right: 50%; - border: none; - float: right; -} -.uk-tab-center .uk-tab > li { - position: relative; - right: -50%; -} -.uk-tab-center .uk-tab > li > a { - text-align: center; -} -/* Modifier: 'tab-bottom' - ========================================================================== */ -.uk-tab-bottom { - border-top: 1px solid #dddddd; - border-bottom: none; -} -.uk-tab-bottom > li { - margin-top: -1px; - margin-bottom: 0; -} -.uk-tab-bottom > li > a { - padding-top: 8px; - padding-bottom: 8px; - border-bottom-width: 1px; - border-top-width: 0; -} -.uk-tab-bottom > li:not(.uk-active) > a:hover, -.uk-tab-bottom > li:not(.uk-active) > a:focus, -.uk-tab-bottom > li.uk-open:not(.uk-active) > a { - margin-bottom: 0; - margin-top: 1px; - padding-bottom: 8px; - padding-top: 7px; -} -.uk-tab-bottom > li.uk-active > a { - border-top-color: transparent; - border-bottom-color: #dddddd; -} -/* Modifier: 'tab-grid' - ========================================================================== */ -/* - * 1. Create position context to prevent hidden border because of negative `z-index` - */ -.uk-tab-grid { - margin-left: -5px; - border-bottom: none; - /* 1 */ - position: relative; - z-index: 0; -} -.uk-tab-grid:before { - display: block; - position: absolute; - left: 5px; - right: 0; - bottom: -1px; - border-top: 1px solid #dddddd; - /* 1 */ - z-index: -1; -} -.uk-tab-grid > li:first-child > a { - margin-left: 5px; -} -.uk-tab-grid > li > a { - text-align: center; -} -/* - * If `uk-tab-bottom` - */ -.uk-tab-grid.uk-tab-bottom { - border-top: none; -} -.uk-tab-grid.uk-tab-bottom:before { - top: -1px; - bottom: auto; -} -/* Modifier: 'tab-left', 'tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-tab-left, - .uk-tab-right { - border-bottom: none; - } - .uk-tab-left > li, - .uk-tab-right > li { - margin-bottom: 0; - float: none; - } - .uk-tab-left > li > a, - .uk-tab-right > li > a { - padding-top: 8px; - padding-bottom: 8px; - } - .uk-tab-left > li:nth-child(n+2) > a, - .uk-tab-right > li:nth-child(n+2) > a { - margin-left: 0; - margin-top: 5px; - } - .uk-tab-left > li.uk-active > a, - .uk-tab-right > li.uk-active > a { - border-color: #dddddd; - } - /* - * Modifier: 'tab-left' - */ - .uk-tab-left { - border-right: 1px solid #dddddd; - } - .uk-tab-left > li { - margin-right: -1px; - } - .uk-tab-left > li > a { - border-bottom-width: 1px; - border-right-width: 0; - } - .uk-tab-left > li:not(.uk-active) > a:hover, - .uk-tab-left > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-right: 1px; - padding-bottom: 8px; - padding-right: 11px; - } - .uk-tab-left > li.uk-active > a { - border-right-color: transparent; - } - /* - * Modifier: 'tab-right' - */ - .uk-tab-right { - border-left: 1px solid #dddddd; - } - .uk-tab-right > li { - margin-left: -1px; - } - .uk-tab-right > li > a { - border-bottom-width: 1px; - border-left-width: 0; - } - .uk-tab-right > li:not(.uk-active) > a:hover, - .uk-tab-right > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-left: 1px; - padding-bottom: 8px; - padding-left: 11px; - } - .uk-tab-right > li.uk-active > a { - border-left-color: transparent; - } -} -/* Modifier: `uk-tab-bottom' - ========================================================================== */ -.uk-tab-bottom > li > a { - border-radius: 0 0 4px 4px; -} -/* Modifier: `uk-tab-left', `uk-tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Modifier: `uk-tab-left' - */ - .uk-tab-left > li > a { - border-radius: 4px 0 0 4px; - } - /* - * Modifier: `uk-tab-right' - */ - .uk-tab-right > li > a { - border-radius: 0 4px 4px 0; - } -} -/* ======================================================================== - Component: Thumbnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-thumbnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-thumbnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-thumbnav:before, -.uk-thumbnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-thumbnav:after { - clear: both; -} -.uk-thumbnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-thumbnav > * > * { - display: block; - background: #ffffff; -} -.uk-thumbnav > * > * > img { - opacity: 0.7; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -/* - * Hover - */ -.uk-thumbnav > * > :hover > img, -.uk-thumbnav > * > :focus > img { - opacity: 1; -} -/* - * Active - */ -.uk-thumbnav > .uk-active > * > img { - opacity: 1; -} -/* ======================================================================== - Component: List - ========================================================================== */ -.uk-list { - padding: 0; - list-style: none; -} -/* - * Micro clearfix to make list more robust - */ -.uk-list > li:before, -.uk-list > li:after { - content: ""; - display: table; -} -.uk-list > li:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-list > li > :last-child { - margin-bottom: 0; -} -/* - * Nested lists - */ -.uk-list ul { - margin: 0; - padding-left: 20px; - list-style: none; -} -/* Modifier: `uk-list-line` - ========================================================================== */ -.uk-list-line > li:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -/* Modifier: `uk-list-striped` - ========================================================================== */ -.uk-list-striped > li { - padding: 5px 5px; - border-bottom: 1px solid #dddddd; -} -.uk-list-striped > li:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-list-space` - ========================================================================== */ -.uk-list-space > li:nth-child(n+2) { - margin-top: 10px; -} -.uk-list-striped > li:first-child { - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Description list - ========================================================================== */ -/* Modifier: `uk-description-list-horizontal` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-description-list-horizontal { - overflow: hidden; - } - .uk-description-list-horizontal > dt { - width: 160px; - float: left; - clear: both; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .uk-description-list-horizontal > dd { - margin-left: 180px; - } -} -/* Modifier: `uk-description-list-line` - ========================================================================== */ -.uk-description-list-line > dt { - font-weight: normal; -} -.uk-description-list-line > dt:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -.uk-description-list-line > dd { - color: #999999; -} -/* ======================================================================== - Component: Table - ========================================================================== */ -/* - * 1. Remove most spacing between table cells. - * 2. Block element behavior - * 3. Style - */ -.uk-table { - /* 1 */ - border-collapse: collapse; - border-spacing: 0; - /* 2 */ - width: 100%; - /* 3 */ - margin-bottom: 15px; -} -/* - * Add margin if adjacent element - */ -* + .uk-table { - margin-top: 15px; -} -.uk-table th, -.uk-table td { - padding: 8px 8px; - border-bottom: 1px solid #dddddd; -} -/* - * Set alignment - */ -.uk-table th { - text-align: left; -} -.uk-table td { - vertical-align: top; -} -.uk-table thead th { - vertical-align: bottom; -} -/* - * Caption and footer - */ -.uk-table caption, -.uk-table tfoot { - font-size: 12px; - font-style: italic; -} -.uk-table caption { - text-align: left; - color: #999999; -} -/* - * Active State - */ -.uk-table tbody tr.uk-active { - background: #f0f0f0; -} -/* Sub-modifier: `uk-table-middle` - ========================================================================== */ -.uk-table-middle, -.uk-table-middle td { - vertical-align: middle !important; -} -/* Modifier: `uk-table-striped` - ========================================================================== */ -.uk-table-striped tbody tr:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-table-condensed` - ========================================================================== */ -.uk-table-condensed td { - padding: 4px 8px; -} -/* Modifier: `uk-table-hover` - ========================================================================== */ -.uk-table-hover tbody tr:hover { - background: #f0f0f0; -} -/* ======================================================================== - Component: Form - ========================================================================== */ -/* - * 1. Define consistent box sizing. - * Default is `content-box` with following exceptions set to `border-box` - * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` - * `input[type="search"]` in Chrome, Safari and Opera - * `input[type="color"]` in Firefox - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - */ -.uk-form input, -.uk-form select, -.uk-form textarea { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: inherit; -} -/* - * Address inconsistent `text-transform` inheritance which is only inherit in Firefox - */ -.uk-form select { - text-transform: none; -} -/* - * 1. Correct `font` properties not being inherited. - * 2. Don't inherit the `font-weight` and use `bold` instead. - * NOTE: Both declarations don't work in Chrome, Safari and Opera. - */ -.uk-form optgroup { - /* 1 */ - font: inherit; - /* 2 */ - font-weight: bold; -} -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-form input::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Removes excess padding in IE 8/9/10. - */ -.uk-form input[type="checkbox"], -.uk-form input[type="radio"] { - padding: 0; -} -/* - * Improves consistency of cursor style for clickable elements - */ -.uk-form input[type="checkbox"]:not(:disabled), -.uk-form input[type="radio"]:not(:disabled) { - cursor: pointer; -} -/* - * Remove default style in iOS. - */ -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="number"], -.uk-form input[type="datetime"] { - -webkit-appearance: none; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-form input[type="search"]::-webkit-search-cancel-button, -.uk-form input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -.uk-form input[type="number"]::-webkit-inner-spin-button, -.uk-form input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -/* - * Define consistent border, margin, and padding. - */ -.uk-form fieldset { - border: none; - margin: 0; - padding: 0; -} -/* - * 1. Remove default vertical scrollbar in IE 8/9/10/11. - * 2. Improve readability and alignment in all browsers. - */ -.uk-form textarea { - /* 1 */ - overflow: auto; - /* 2 */ - vertical-align: top; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-form ::-moz-placeholder { - opacity: 1; -} -/* - * Removes `box-shadow` for invalid controls in Firefox. - */ -.uk-form :invalid { - box-shadow: none; -} -/* - * Vertical alignment - */ -.uk-form input:not([type="radio"]):not([type="checkbox"]), -.uk-form select { - vertical-align: middle; -} -/* Style - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-form > :last-child { - margin-bottom: 0; -} -/* - * Controls - * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` - * 1. Must be `height` because `min-height` is not working in OSX - * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports - * 3. Vertical `padding` needed for `select` elements in Firefox - * 4. Style - */ -.uk-form select, -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="datetime"], -.uk-form input[type="datetime-local"], -.uk-form input[type="date"], -.uk-form input[type="month"], -.uk-form input[type="time"], -.uk-form input[type="week"], -.uk-form input[type="number"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="color"] { - /* 1 */ - height: 30px; - /* 2 */ - max-width: 100%; - /* 3 */ - padding: 4px 6px; - /* 4 */ - border: 1px solid #dddddd; - background: #ffffff; - color: #444444; - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - border-radius: 4px; -} -.uk-form select:focus, -.uk-form textarea:focus, -.uk-form input:not([type]):focus, -.uk-form input[type="text"]:focus, -.uk-form input[type="password"]:focus, -.uk-form input[type="datetime"]:focus, -.uk-form input[type="datetime-local"]:focus, -.uk-form input[type="date"]:focus, -.uk-form input[type="month"]:focus, -.uk-form input[type="time"]:focus, -.uk-form input[type="week"]:focus, -.uk-form input[type="number"]:focus, -.uk-form input[type="email"]:focus, -.uk-form input[type="url"]:focus, -.uk-form input[type="search"]:focus, -.uk-form input[type="tel"]:focus, -.uk-form input[type="color"]:focus { - border-color: #99baca; - outline: 0; - background: #f5fbfe; - color: #444444; -} -.uk-form select:disabled, -.uk-form textarea:disabled, -.uk-form input:not([type]):disabled, -.uk-form input[type="text"]:disabled, -.uk-form input[type="password"]:disabled, -.uk-form input[type="datetime"]:disabled, -.uk-form input[type="datetime-local"]:disabled, -.uk-form input[type="date"]:disabled, -.uk-form input[type="month"]:disabled, -.uk-form input[type="time"]:disabled, -.uk-form input[type="week"]:disabled, -.uk-form input[type="number"]:disabled, -.uk-form input[type="email"]:disabled, -.uk-form input[type="url"]:disabled, -.uk-form input[type="search"]:disabled, -.uk-form input[type="tel"]:disabled, -.uk-form input[type="color"]:disabled { - border-color: #dddddd; - background-color: #fafafa; - color: #999999; -} -/* - * Placeholder - */ -.uk-form :-ms-input-placeholder { - color: #999999 !important; -} -.uk-form ::-moz-placeholder { - color: #999999; -} -.uk-form ::-webkit-input-placeholder { - color: #999999; -} -.uk-form :disabled:-ms-input-placeholder { - color: #999999 !important; -} -.uk-form :disabled::-moz-placeholder { - color: #999999; -} -.uk-form :disabled::-webkit-input-placeholder { - color: #999999; -} -/* - * Legend - * 1. Behave like block element - * 2. Correct `color` not being inherited in IE 8/9/10/11. - * 3. Remove padding - * 4. `margin-bottom` is not working in Safari and Opera. - * Using `padding` and :after instead to create the border - * 5. Style - */ -.uk-form legend { - /* 1 */ - width: 100%; - /* 2 */ - border: 0; - /* 3 */ - padding: 0; - /* 4 */ - padding-bottom: 15px; - /* 5 */ - font-size: 18px; - line-height: 30px; -} -/* - * 1. Fixes IE9 - */ -.uk-form legend:after { - content: ""; - display: block; - border-bottom: 1px solid #dddddd; - /* 1 */ - width: 100%; -} -/* Size modifiers - * Higher specificity needed to override defaults - ========================================================================== */ -select.uk-form-small, -textarea.uk-form-small, -input[type].uk-form-small, -input:not([type]).uk-form-small { - height: 25px; - padding: 3px 3px; - font-size: 12px; -} -select.uk-form-large, -textarea.uk-form-large, -input[type].uk-form-large, -input:not([type]).uk-form-large { - height: 40px; - padding: 8px 6px; - font-size: 16px; -} -/* Reset height - * Must be after size modifiers - ========================================================================== */ -.uk-form textarea, -.uk-form select[multiple], -.uk-form select[size] { - height: auto; -} -/* Validation states - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Error state - */ -.uk-form-danger { - border-color: #dc8d99 !important; - background: #fff7f8 !important; - color: #d85030 !important; -} -/* - * Success state - */ -.uk-form-success { - border-color: #8ec73b !important; - background: #fafff2 !important; - color: #659f13 !important; -} -/* Style modifiers - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Blank form - */ -.uk-form-blank { - border-color: transparent !important; - border-style: dashed !important; - background: none !important; -} -.uk-form-blank:focus { - border-color: #dddddd !important; -} -/* Size sub-modifiers - ========================================================================== */ -/* - * Fixed widths - * Different widths for mini sized `input` and `select` elements - */ -input.uk-form-width-mini { - width: 40px; -} -select.uk-form-width-mini { - width: 65px; -} -.uk-form-width-small { - width: 130px; -} -.uk-form-width-medium { - width: 200px; -} -.uk-form-width-large { - width: 500px; -} -/* Sub-objects: `uk-form-row` - * Groups labels and controls in rows - ========================================================================== */ -/* - * Micro clearfix - * Needed for `uk-form-horizontal` modifier - */ -.uk-form-row:before, -.uk-form-row:after { - content: ""; - display: table; -} -.uk-form-row:after { - clear: both; -} -/* - * Vertical gutter - */ -.uk-form-row + .uk-form-row { - margin-top: 15px; -} -/* Help text - * Sub-object: `uk-form-help-inline`, `uk-form-help-block` - ========================================================================== */ -.uk-form-help-inline { - display: inline-block; - margin: 0 0 0 10px; -} -.uk-form-help-block { - margin: 5px 0 0 0; -} -/* Controls content - * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` - ========================================================================== */ -/* - * Remove margins - */ -.uk-form-controls > :first-child { - margin-top: 0; -} -.uk-form-controls > :last-child { - margin-bottom: 0; -} -/* - * Group controls and text into blocks with a small spacing between blocks - */ -.uk-form-controls-condensed { - margin: 5px 0; -} -/* Modifier: `uk-form-stacked` - * Requires sub-object: `uk-form-label` - ========================================================================== */ -.uk-form-stacked .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; -} -/* Modifier: `uk-form-horizontal` - * Requires sub-objects: `uk-form-label`, `uk-form-controls` - ========================================================================== */ -/* Tablet portrait and smaller */ -@media (max-width: 959px) { - /* Behave like `uk-form-stacked` */ - .uk-form-horizontal .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-form-horizontal .uk-form-label { - width: 200px; - margin-top: 5px; - float: left; - } - .uk-form-horizontal .uk-form-controls { - margin-left: 215px; - } - /* Better vertical alignment if controls are checkboxes and radio buttons with text */ - .uk-form-horizontal .uk-form-controls-text { - padding-top: 5px; - } -} -/* Sub-object: `uk-form-icon` - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-icon { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -/* - * 1. Make form element clickable through icon - */ -.uk-form-icon > [class*='uk-icon-'] { - position: absolute; - top: 50%; - width: 30px; - margin-top: -7px; - font-size: 14px; - color: #999999; - text-align: center; - /* 1 */ - pointer-events: none; -} -.uk-form-icon:not(.uk-form-icon-flip) > input { - padding-left: 30px !important; -} -/* - * Sub-modifier: `uk-form-icon-flip` - */ -.uk-form-icon-flip > [class*='uk-icon-'] { - right: 0; -} -.uk-form-icon-flip > input { - padding-right: 30px !important; -} -/* ======================================================================== - Component: Button - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-button::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Style - * 8. `line-height` is used to create a height - * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. - * 10. Reset button group whitespace hack - * 11. Required for `a`. - */ -.uk-button { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: #444444; - /* 6 */ - text-transform: none; - /* 7 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0 12px; - background: #f5f5f5; - vertical-align: middle; - /* 8 */ - line-height: 28px; - /* 9 */ - min-height: 30px; - /* 10 */ - font-size: 1rem; - /* 11 */ - text-decoration: none; - text-align: center; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -.uk-button:not(:disabled) { - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-button:hover, -.uk-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - border-color: rgba(0, 0, 0, 0.16); -} -/* Active */ -.uk-button:active, -.uk-button.uk-active { - background-color: #eeeeee; - color: #444444; -} -/* Color modifiers - ========================================================================== */ -/* - * Modifier: `uk-button-primary` - */ -.uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -/* Hover */ -.uk-button-primary:hover, -.uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -/* Active */ -.uk-button-primary:active, -.uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -/* - * Modifier: `uk-button-success` - */ -.uk-button-success { - background-color: #8cc14c; - color: #ffffff; -} -/* Hover */ -.uk-button-success:hover, -.uk-button-success:focus { - background-color: #8ec73b; - color: #ffffff; -} -/* Active */ -.uk-button-success:active, -.uk-button-success.uk-active { - background-color: #72ae41; - color: #ffffff; -} -/* - * Modifier: `uk-button-danger` - */ -.uk-button-danger { - background-color: #da314b; - color: #ffffff; -} -/* Hover */ -.uk-button-danger:hover, -.uk-button-danger:focus { - background-color: #e4354f; - color: #ffffff; -} -/* Active */ -.uk-button-danger:active, -.uk-button-danger.uk-active { - background-color: #c91032; - color: #ffffff; -} -/* Disabled state - * Overrides also the color modifiers - ========================================================================== */ -/* Equal for all button types */ -.uk-button:disabled { - background-color: #fafafa; - color: #999999; - border-color: rgba(0, 0, 0, 0.06); - box-shadow: none; - text-shadow: 0 1px 0 #ffffff; -} -/* Modifier: `uk-button-link` - ========================================================================== */ -/* Reset */ -.uk-button-link, -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active, -.uk-button-link:disabled { - border-color: transparent; - background: none; - box-shadow: none; - text-shadow: none; -} -/* Color */ -.uk-button-link { - color: #0077dd; -} -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active { - color: #005599; - text-decoration: underline; -} -.uk-button-link:disabled { - color: #999999; -} -/* Focus */ -.uk-button-link:focus { - outline: 1px dotted; -} -/* Size modifiers - ========================================================================== */ -.uk-button-mini { - min-height: 20px; - padding: 0 6px; - line-height: 18px; - font-size: 11px; -} -.uk-button-small { - min-height: 25px; - padding: 0 10px; - line-height: 23px; - font-size: 12px; -} -.uk-button-large { - min-height: 40px; - padding: 0 15px; - line-height: 38px; - font-size: 16px; - border-radius: 5px; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - * 3. Remove whitespace between child elements when using `inline-block` - * 4. Prevent buttons from wrapping - * 5. Remove whitespace between child elements when using `inline-block` - */ -.uk-button-group { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - font-size: 0.001px; - /* 4 */ - white-space: nowrap; -} -.uk-button-group > * { - display: inline-block; -} -/* 5 */ -.uk-button-group .uk-button { - vertical-align: top; -} -/* Sub-object: `uk-button-dropdown` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - */ -.uk-button-dropdown { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; -} -/* Color modifiers - ========================================================================== */ -.uk-button-primary, -.uk-button-success, -.uk-button-danger { - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -.uk-button-primary:hover, -.uk-button-primary:focus, -.uk-button-success:hover, -.uk-button-success:focus, -.uk-button-danger:hover, -.uk-button-danger:focus { - border-color: rgba(0, 0, 0, 0.21); -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * Reset border-radius - */ -.uk-button-group > .uk-button:not(:first-child):not(:last-child), -.uk-button-group > div:not(:first-child):not(:last-child) .uk-button { - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-radius: 0; -} -.uk-button-group > .uk-button:first-child, -.uk-button-group > div:first-child .uk-button { - border-right-color: rgba(0, 0, 0, 0.1); - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.uk-button-group > .uk-button:last-child, -.uk-button-group > div:last-child .uk-button { - border-left-color: rgba(0, 0, 0, 0.1); - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -/* - * Collapse border - */ -.uk-button-group > .uk-button:nth-child(n+2), -.uk-button-group > div:nth-child(n+2) .uk-button { - margin-left: -1px; -} -/* - * Create position context to superimpose the successor elements border - * Known issue: If you use an `a` element as button and an icon inside, - * the active state will not work if you click the icon inside the button - * Workaround: Just use a `button` or `input` element as button - */ -.uk-button-group .uk-button:hover, -.uk-button-group .uk-button:active { - position: relative; -} -/* ======================================================================== - Component: Icon - ========================================================================== */ -@font-face { - font-family: 'FontAwesome'; - src: url("../fonts/fontawesome-webfont.eot"); - src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} -/* - * 1. Allow margin - * 2. Prevent inherit font style - * 4. Correct line-height - * 5. Better font rendering - * 6. Remove `text-decoration` for anchors - */ -[class*='uk-icon-'] { - font-family: FontAwesome; - /* 1 */ - display: inline-block; - /* 2 */ - font-weight: normal; - font-style: normal; - /* 4 */ - line-height: 1; - /* 5 */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/* 6 */ -[class*='uk-icon-'], -[class*='uk-icon-']:hover, -[class*='uk-icon-']:focus { - text-decoration: none; -} -/* Size modifiers - ========================================================================== */ -.uk-icon-small { - font-size: 150%; - vertical-align: -10%; -} -.uk-icon-medium { - font-size: 200%; - vertical-align: -16%; -} -.uk-icon-large { - font-size: 250%; - vertical-align: -22%; -} -/* Modifier: `uk-icon-justify` - ========================================================================== */ -.uk-icon-justify { - width: 1em; - text-align: center; -} -/* Modifier: `uk-icon-spin` - ========================================================================== */ -.uk-icon-spin { - display: inline-block; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* Modifier: `uk-icon-hover` - ========================================================================== */ -.uk-icon-hover { - color: #999999; -} -/* - * Hover - */ -.uk-icon-hover:hover { - color: #444444; -} -/* Modifier: `uk-icon-button` - ========================================================================== */ -.uk-icon-button { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - width: 35px; - height: 35px; - border-radius: 100%; - background: #f5f5f5; - line-height: 35px; - color: #444444; - font-size: 18px; - text-align: center; - border: 1px solid #e7e7e7; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-icon-button:hover, -.uk-icon-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: #d3d3d3; -} -/* Active */ -.uk-icon-button:active { - background-color: #eeeeee; - color: #444444; -} -/* Icon mapping - ========================================================================== */ -.uk-icon-glass:before { - content: "\f000"; -} -.uk-icon-music:before { - content: "\f001"; -} -.uk-icon-search:before { - content: "\f002"; -} -.uk-icon-envelope-o:before { - content: "\f003"; -} -.uk-icon-heart:before { - content: "\f004"; -} -.uk-icon-star:before { - content: "\f005"; -} -.uk-icon-star-o:before { - content: "\f006"; -} -.uk-icon-user:before { - content: "\f007"; -} -.uk-icon-film:before { - content: "\f008"; -} -.uk-icon-th-large:before { - content: "\f009"; -} -.uk-icon-th:before { - content: "\f00a"; -} -.uk-icon-th-list:before { - content: "\f00b"; -} -.uk-icon-check:before { - content: "\f00c"; -} -.uk-icon-remove:before, -.uk-icon-close:before, -.uk-icon-times:before { - content: "\f00d"; -} -.uk-icon-search-plus:before { - content: "\f00e"; -} -.uk-icon-search-minus:before { - content: "\f010"; -} -.uk-icon-power-off:before { - content: "\f011"; -} -.uk-icon-signal:before { - content: "\f012"; -} -.uk-icon-gear:before, -.uk-icon-cog:before { - content: "\f013"; -} -.uk-icon-trash-o:before { - content: "\f014"; -} -.uk-icon-home:before { - content: "\f015"; -} -.uk-icon-file-o:before { - content: "\f016"; -} -.uk-icon-clock-o:before { - content: "\f017"; -} -.uk-icon-road:before { - content: "\f018"; -} -.uk-icon-download:before { - content: "\f019"; -} -.uk-icon-arrow-circle-o-down:before { - content: "\f01a"; -} -.uk-icon-arrow-circle-o-up:before { - content: "\f01b"; -} -.uk-icon-inbox:before { - content: "\f01c"; -} -.uk-icon-play-circle-o:before { - content: "\f01d"; -} -.uk-icon-rotate-right:before, -.uk-icon-repeat:before { - content: "\f01e"; -} -.uk-icon-refresh:before { - content: "\f021"; -} -.uk-icon-list-alt:before { - content: "\f022"; -} -.uk-icon-lock:before { - content: "\f023"; -} -.uk-icon-flag:before { - content: "\f024"; -} -.uk-icon-headphones:before { - content: "\f025"; -} -.uk-icon-volume-off:before { - content: "\f026"; -} -.uk-icon-volume-down:before { - content: "\f027"; -} -.uk-icon-volume-up:before { - content: "\f028"; -} -.uk-icon-qrcode:before { - content: "\f029"; -} -.uk-icon-barcode:before { - content: "\f02a"; -} -.uk-icon-tag:before { - content: "\f02b"; -} -.uk-icon-tags:before { - content: "\f02c"; -} -.uk-icon-book:before { - content: "\f02d"; -} -.uk-icon-bookmark:before { - content: "\f02e"; -} -.uk-icon-print:before { - content: "\f02f"; -} -.uk-icon-camera:before { - content: "\f030"; -} -.uk-icon-font:before { - content: "\f031"; -} -.uk-icon-bold:before { - content: "\f032"; -} -.uk-icon-italic:before { - content: "\f033"; -} -.uk-icon-text-height:before { - content: "\f034"; -} -.uk-icon-text-width:before { - content: "\f035"; -} -.uk-icon-align-left:before { - content: "\f036"; -} -.uk-icon-align-center:before { - content: "\f037"; -} -.uk-icon-align-right:before { - content: "\f038"; -} -.uk-icon-align-justify:before { - content: "\f039"; -} -.uk-icon-list:before { - content: "\f03a"; -} -.uk-icon-dedent:before, -.uk-icon-outdent:before { - content: "\f03b"; -} -.uk-icon-indent:before { - content: "\f03c"; -} -.uk-icon-video-camera:before { - content: "\f03d"; -} -.uk-icon-photo:before, -.uk-icon-image:before, -.uk-icon-picture-o:before { - content: "\f03e"; -} -.uk-icon-pencil:before { - content: "\f040"; -} -.uk-icon-map-marker:before { - content: "\f041"; -} -.uk-icon-adjust:before { - content: "\f042"; -} -.uk-icon-tint:before { - content: "\f043"; -} -.uk-icon-edit:before, -.uk-icon-pencil-square-o:before { - content: "\f044"; -} -.uk-icon-share-square-o:before { - content: "\f045"; -} -.uk-icon-check-square-o:before { - content: "\f046"; -} -.uk-icon-arrows:before { - content: "\f047"; -} -.uk-icon-step-backward:before { - content: "\f048"; -} -.uk-icon-fast-backward:before { - content: "\f049"; -} -.uk-icon-backward:before { - content: "\f04a"; -} -.uk-icon-play:before { - content: "\f04b"; -} -.uk-icon-pause:before { - content: "\f04c"; -} -.uk-icon-stop:before { - content: "\f04d"; -} -.uk-icon-forward:before { - content: "\f04e"; -} -.uk-icon-fast-forward:before { - content: "\f050"; -} -.uk-icon-step-forward:before { - content: "\f051"; -} -.uk-icon-eject:before { - content: "\f052"; -} -.uk-icon-chevron-left:before { - content: "\f053"; -} -.uk-icon-chevron-right:before { - content: "\f054"; -} -.uk-icon-plus-circle:before { - content: "\f055"; -} -.uk-icon-minus-circle:before { - content: "\f056"; -} -.uk-icon-times-circle:before { - content: "\f057"; -} -.uk-icon-check-circle:before { - content: "\f058"; -} -.uk-icon-question-circle:before { - content: "\f059"; -} -.uk-icon-info-circle:before { - content: "\f05a"; -} -.uk-icon-crosshairs:before { - content: "\f05b"; -} -.uk-icon-times-circle-o:before { - content: "\f05c"; -} -.uk-icon-check-circle-o:before { - content: "\f05d"; -} -.uk-icon-ban:before { - content: "\f05e"; -} -.uk-icon-arrow-left:before { - content: "\f060"; -} -.uk-icon-arrow-right:before { - content: "\f061"; -} -.uk-icon-arrow-up:before { - content: "\f062"; -} -.uk-icon-arrow-down:before { - content: "\f063"; -} -.uk-icon-mail-forward:before, -.uk-icon-share:before { - content: "\f064"; -} -.uk-icon-expand:before { - content: "\f065"; -} -.uk-icon-compress:before { - content: "\f066"; -} -.uk-icon-plus:before { - content: "\f067"; -} -.uk-icon-minus:before { - content: "\f068"; -} -.uk-icon-asterisk:before { - content: "\f069"; -} -.uk-icon-exclamation-circle:before { - content: "\f06a"; -} -.uk-icon-gift:before { - content: "\f06b"; -} -.uk-icon-leaf:before { - content: "\f06c"; -} -.uk-icon-fire:before { - content: "\f06d"; -} -.uk-icon-eye:before { - content: "\f06e"; -} -.uk-icon-eye-slash:before { - content: "\f070"; -} -.uk-icon-warning:before, -.uk-icon-exclamation-triangle:before { - content: "\f071"; -} -.uk-icon-plane:before { - content: "\f072"; -} -.uk-icon-calendar:before { - content: "\f073"; -} -.uk-icon-random:before { - content: "\f074"; -} -.uk-icon-comment:before { - content: "\f075"; -} -.uk-icon-magnet:before { - content: "\f076"; -} -.uk-icon-chevron-up:before { - content: "\f077"; -} -.uk-icon-chevron-down:before { - content: "\f078"; -} -.uk-icon-retweet:before { - content: "\f079"; -} -.uk-icon-shopping-cart:before { - content: "\f07a"; -} -.uk-icon-folder:before { - content: "\f07b"; -} -.uk-icon-folder-open:before { - content: "\f07c"; -} -.uk-icon-arrows-v:before { - content: "\f07d"; -} -.uk-icon-arrows-h:before { - content: "\f07e"; -} -.uk-icon-bar-chart-o:before, -.uk-icon-bar-chart:before { - content: "\f080"; -} -.uk-icon-twitter-square:before { - content: "\f081"; -} -.uk-icon-facebook-square:before { - content: "\f082"; -} -.uk-icon-camera-retro:before { - content: "\f083"; -} -.uk-icon-key:before { - content: "\f084"; -} -.uk-icon-gears:before, -.uk-icon-cogs:before { - content: "\f085"; -} -.uk-icon-comments:before { - content: "\f086"; -} -.uk-icon-thumbs-o-up:before { - content: "\f087"; -} -.uk-icon-thumbs-o-down:before { - content: "\f088"; -} -.uk-icon-star-half:before { - content: "\f089"; -} -.uk-icon-heart-o:before { - content: "\f08a"; -} -.uk-icon-sign-out:before { - content: "\f08b"; -} -.uk-icon-linkedin-square:before { - content: "\f08c"; -} -.uk-icon-thumb-tack:before { - content: "\f08d"; -} -.uk-icon-external-link:before { - content: "\f08e"; -} -.uk-icon-sign-in:before { - content: "\f090"; -} -.uk-icon-trophy:before { - content: "\f091"; -} -.uk-icon-github-square:before { - content: "\f092"; -} -.uk-icon-upload:before { - content: "\f093"; -} -.uk-icon-lemon-o:before { - content: "\f094"; -} -.uk-icon-phone:before { - content: "\f095"; -} -.uk-icon-square-o:before { - content: "\f096"; -} -.uk-icon-bookmark-o:before { - content: "\f097"; -} -.uk-icon-phone-square:before { - content: "\f098"; -} -.uk-icon-twitter:before { - content: "\f099"; -} -.uk-icon-facebook-f:before, -.uk-icon-facebook:before { - content: "\f09a"; -} -.uk-icon-github:before { - content: "\f09b"; -} -.uk-icon-unlock:before { - content: "\f09c"; -} -.uk-icon-credit-card:before { - content: "\f09d"; -} -.uk-icon-rss:before { - content: "\f09e"; -} -.uk-icon-hdd-o:before { - content: "\f0a0"; -} -.uk-icon-bullhorn:before { - content: "\f0a1"; -} -.uk-icon-bell:before { - content: "\f0f3"; -} -.uk-icon-certificate:before { - content: "\f0a3"; -} -.uk-icon-hand-o-right:before { - content: "\f0a4"; -} -.uk-icon-hand-o-left:before { - content: "\f0a5"; -} -.uk-icon-hand-o-up:before { - content: "\f0a6"; -} -.uk-icon-hand-o-down:before { - content: "\f0a7"; -} -.uk-icon-arrow-circle-left:before { - content: "\f0a8"; -} -.uk-icon-arrow-circle-right:before { - content: "\f0a9"; -} -.uk-icon-arrow-circle-up:before { - content: "\f0aa"; -} -.uk-icon-arrow-circle-down:before { - content: "\f0ab"; -} -.uk-icon-globe:before { - content: "\f0ac"; -} -.uk-icon-wrench:before { - content: "\f0ad"; -} -.uk-icon-tasks:before { - content: "\f0ae"; -} -.uk-icon-filter:before { - content: "\f0b0"; -} -.uk-icon-briefcase:before { - content: "\f0b1"; -} -.uk-icon-arrows-alt:before { - content: "\f0b2"; -} -.uk-icon-group:before, -.uk-icon-users:before { - content: "\f0c0"; -} -.uk-icon-chain:before, -.uk-icon-link:before { - content: "\f0c1"; -} -.uk-icon-cloud:before { - content: "\f0c2"; -} -.uk-icon-flask:before { - content: "\f0c3"; -} -.uk-icon-cut:before, -.uk-icon-scissors:before { - content: "\f0c4"; -} -.uk-icon-copy:before, -.uk-icon-files-o:before { - content: "\f0c5"; -} -.uk-icon-paperclip:before { - content: "\f0c6"; -} -.uk-icon-save:before, -.uk-icon-floppy-o:before { - content: "\f0c7"; -} -.uk-icon-square:before { - content: "\f0c8"; -} -.uk-icon-navicon:before, -.uk-icon-reorder:before, -.uk-icon-bars:before { - content: "\f0c9"; -} -.uk-icon-list-ul:before { - content: "\f0ca"; -} -.uk-icon-list-ol:before { - content: "\f0cb"; -} -.uk-icon-strikethrough:before { - content: "\f0cc"; -} -.uk-icon-underline:before { - content: "\f0cd"; -} -.uk-icon-table:before { - content: "\f0ce"; -} -.uk-icon-magic:before { - content: "\f0d0"; -} -.uk-icon-truck:before { - content: "\f0d1"; -} -.uk-icon-pinterest:before { - content: "\f0d2"; -} -.uk-icon-pinterest-square:before { - content: "\f0d3"; -} -.uk-icon-google-plus-square:before { - content: "\f0d4"; -} -.uk-icon-google-plus:before { - content: "\f0d5"; -} -.uk-icon-money:before { - content: "\f0d6"; -} -.uk-icon-caret-down:before { - content: "\f0d7"; -} -.uk-icon-caret-up:before { - content: "\f0d8"; -} -.uk-icon-caret-left:before { - content: "\f0d9"; -} -.uk-icon-caret-right:before { - content: "\f0da"; -} -.uk-icon-columns:before { - content: "\f0db"; -} -.uk-icon-unsorted:before, -.uk-icon-sort:before { - content: "\f0dc"; -} -.uk-icon-sort-down:before, -.uk-icon-sort-desc:before { - content: "\f0dd"; -} -.uk-icon-sort-up:before, -.uk-icon-sort-asc:before { - content: "\f0de"; -} -.uk-icon-envelope:before { - content: "\f0e0"; -} -.uk-icon-linkedin:before { - content: "\f0e1"; -} -.uk-icon-rotate-left:before, -.uk-icon-undo:before { - content: "\f0e2"; -} -.uk-icon-legal:before, -.uk-icon-gavel:before { - content: "\f0e3"; -} -.uk-icon-dashboard:before, -.uk-icon-tachometer:before { - content: "\f0e4"; -} -.uk-icon-comment-o:before { - content: "\f0e5"; -} -.uk-icon-comments-o:before { - content: "\f0e6"; -} -.uk-icon-flash:before, -.uk-icon-bolt:before { - content: "\f0e7"; -} -.uk-icon-sitemap:before { - content: "\f0e8"; -} -.uk-icon-umbrella:before { - content: "\f0e9"; -} -.uk-icon-paste:before, -.uk-icon-clipboard:before { - content: "\f0ea"; -} -.uk-icon-lightbulb-o:before { - content: "\f0eb"; -} -.uk-icon-exchange:before { - content: "\f0ec"; -} -.uk-icon-cloud-download:before { - content: "\f0ed"; -} -.uk-icon-cloud-upload:before { - content: "\f0ee"; -} -.uk-icon-user-md:before { - content: "\f0f0"; -} -.uk-icon-stethoscope:before { - content: "\f0f1"; -} -.uk-icon-suitcase:before { - content: "\f0f2"; -} -.uk-icon-bell-o:before { - content: "\f0a2"; -} -.uk-icon-coffee:before { - content: "\f0f4"; -} -.uk-icon-cutlery:before { - content: "\f0f5"; -} -.uk-icon-file-text-o:before { - content: "\f0f6"; -} -.uk-icon-building-o:before { - content: "\f0f7"; -} -.uk-icon-hospital-o:before { - content: "\f0f8"; -} -.uk-icon-ambulance:before { - content: "\f0f9"; -} -.uk-icon-medkit:before { - content: "\f0fa"; -} -.uk-icon-fighter-jet:before { - content: "\f0fb"; -} -.uk-icon-beer:before { - content: "\f0fc"; -} -.uk-icon-h-square:before { - content: "\f0fd"; -} -.uk-icon-plus-square:before { - content: "\f0fe"; -} -.uk-icon-angle-double-left:before { - content: "\f100"; -} -.uk-icon-angle-double-right:before { - content: "\f101"; -} -.uk-icon-angle-double-up:before { - content: "\f102"; -} -.uk-icon-angle-double-down:before { - content: "\f103"; -} -.uk-icon-angle-left:before { - content: "\f104"; -} -.uk-icon-angle-right:before { - content: "\f105"; -} -.uk-icon-angle-up:before { - content: "\f106"; -} -.uk-icon-angle-down:before { - content: "\f107"; -} -.uk-icon-desktop:before { - content: "\f108"; -} -.uk-icon-laptop:before { - content: "\f109"; -} -.uk-icon-tablet:before { - content: "\f10a"; -} -.uk-icon-mobile-phone:before, -.uk-icon-mobile:before { - content: "\f10b"; -} -.uk-icon-circle-o:before { - content: "\f10c"; -} -.uk-icon-quote-left:before { - content: "\f10d"; -} -.uk-icon-quote-right:before { - content: "\f10e"; -} -.uk-icon-spinner:before { - content: "\f110"; -} -.uk-icon-circle:before { - content: "\f111"; -} -.uk-icon-mail-reply:before, -.uk-icon-reply:before { - content: "\f112"; -} -.uk-icon-github-alt:before { - content: "\f113"; -} -.uk-icon-folder-o:before { - content: "\f114"; -} -.uk-icon-folder-open-o:before { - content: "\f115"; -} -.uk-icon-smile-o:before { - content: "\f118"; -} -.uk-icon-frown-o:before { - content: "\f119"; -} -.uk-icon-meh-o:before { - content: "\f11a"; -} -.uk-icon-gamepad:before { - content: "\f11b"; -} -.uk-icon-keyboard-o:before { - content: "\f11c"; -} -.uk-icon-flag-o:before { - content: "\f11d"; -} -.uk-icon-flag-checkered:before { - content: "\f11e"; -} -.uk-icon-terminal:before { - content: "\f120"; -} -.uk-icon-code:before { - content: "\f121"; -} -.uk-icon-mail-reply-all:before, -.uk-icon-reply-all:before { - content: "\f122"; -} -.uk-icon-star-half-empty:before, -.uk-icon-star-half-full:before, -.uk-icon-star-half-o:before { - content: "\f123"; -} -.uk-icon-location-arrow:before { - content: "\f124"; -} -.uk-icon-crop:before { - content: "\f125"; -} -.uk-icon-code-fork:before { - content: "\f126"; -} -.uk-icon-unlink:before, -.uk-icon-chain-broken:before { - content: "\f127"; -} -.uk-icon-question:before { - content: "\f128"; -} -.uk-icon-info:before { - content: "\f129"; -} -.uk-icon-exclamation:before { - content: "\f12a"; -} -.uk-icon-superscript:before { - content: "\f12b"; -} -.uk-icon-subscript:before { - content: "\f12c"; -} -.uk-icon-eraser:before { - content: "\f12d"; -} -.uk-icon-puzzle-piece:before { - content: "\f12e"; -} -.uk-icon-microphone:before { - content: "\f130"; -} -.uk-icon-microphone-slash:before { - content: "\f131"; -} -.uk-icon-shield:before { - content: "\f132"; -} -.uk-icon-calendar-o:before { - content: "\f133"; -} -.uk-icon-fire-extinguisher:before { - content: "\f134"; -} -.uk-icon-rocket:before { - content: "\f135"; -} -.uk-icon-maxcdn:before { - content: "\f136"; -} -.uk-icon-chevron-circle-left:before { - content: "\f137"; -} -.uk-icon-chevron-circle-right:before { - content: "\f138"; -} -.uk-icon-chevron-circle-up:before { - content: "\f139"; -} -.uk-icon-chevron-circle-down:before { - content: "\f13a"; -} -.uk-icon-html5:before { - content: "\f13b"; -} -.uk-icon-css3:before { - content: "\f13c"; -} -.uk-icon-anchor:before { - content: "\f13d"; -} -.uk-icon-unlock-alt:before { - content: "\f13e"; -} -.uk-icon-bullseye:before { - content: "\f140"; -} -.uk-icon-ellipsis-h:before { - content: "\f141"; -} -.uk-icon-ellipsis-v:before { - content: "\f142"; -} -.uk-icon-rss-square:before { - content: "\f143"; -} -.uk-icon-play-circle:before { - content: "\f144"; -} -.uk-icon-ticket:before { - content: "\f145"; -} -.uk-icon-minus-square:before { - content: "\f146"; -} -.uk-icon-minus-square-o:before { - content: "\f147"; -} -.uk-icon-level-up:before { - content: "\f148"; -} -.uk-icon-level-down:before { - content: "\f149"; -} -.uk-icon-check-square:before { - content: "\f14a"; -} -.uk-icon-pencil-square:before { - content: "\f14b"; -} -.uk-icon-external-link-square:before { - content: "\f14c"; -} -.uk-icon-share-square:before { - content: "\f14d"; -} -.uk-icon-compass:before { - content: "\f14e"; -} -.uk-icon-toggle-down:before, -.uk-icon-caret-square-o-down:before { - content: "\f150"; -} -.uk-icon-toggle-up:before, -.uk-icon-caret-square-o-up:before { - content: "\f151"; -} -.uk-icon-toggle-right:before, -.uk-icon-caret-square-o-right:before { - content: "\f152"; -} -.uk-icon-euro:before, -.uk-icon-eur:before { - content: "\f153"; -} -.uk-icon-gbp:before { - content: "\f154"; -} -.uk-icon-dollar:before, -.uk-icon-usd:before { - content: "\f155"; -} -.uk-icon-rupee:before, -.uk-icon-inr:before { - content: "\f156"; -} -.uk-icon-cny:before, -.uk-icon-rmb:before, -.uk-icon-yen:before, -.uk-icon-jpy:before { - content: "\f157"; -} -.uk-icon-ruble:before, -.uk-icon-rouble:before, -.uk-icon-rub:before { - content: "\f158"; -} -.uk-icon-won:before, -.uk-icon-krw:before { - content: "\f159"; -} -.uk-icon-bitcoin:before, -.uk-icon-btc:before { - content: "\f15a"; -} -.uk-icon-file:before { - content: "\f15b"; -} -.uk-icon-file-text:before { - content: "\f15c"; -} -.uk-icon-sort-alpha-asc:before { - content: "\f15d"; -} -.uk-icon-sort-alpha-desc:before { - content: "\f15e"; -} -.uk-icon-sort-amount-asc:before { - content: "\f160"; -} -.uk-icon-sort-amount-desc:before { - content: "\f161"; -} -.uk-icon-sort-numeric-asc:before { - content: "\f162"; -} -.uk-icon-sort-numeric-desc:before { - content: "\f163"; -} -.uk-icon-thumbs-up:before { - content: "\f164"; -} -.uk-icon-thumbs-down:before { - content: "\f165"; -} -.uk-icon-youtube-square:before { - content: "\f166"; -} -.uk-icon-youtube:before { - content: "\f167"; -} -.uk-icon-xing:before { - content: "\f168"; -} -.uk-icon-xing-square:before { - content: "\f169"; -} -.uk-icon-youtube-play:before { - content: "\f16a"; -} -.uk-icon-dropbox:before { - content: "\f16b"; -} -.uk-icon-stack-overflow:before { - content: "\f16c"; -} -.uk-icon-instagram:before { - content: "\f16d"; -} -.uk-icon-flickr:before { - content: "\f16e"; -} -.uk-icon-adn:before { - content: "\f170"; -} -.uk-icon-bitbucket:before { - content: "\f171"; -} -.uk-icon-bitbucket-square:before { - content: "\f172"; -} -.uk-icon-tumblr:before { - content: "\f173"; -} -.uk-icon-tumblr-square:before { - content: "\f174"; -} -.uk-icon-long-arrow-down:before { - content: "\f175"; -} -.uk-icon-long-arrow-up:before { - content: "\f176"; -} -.uk-icon-long-arrow-left:before { - content: "\f177"; -} -.uk-icon-long-arrow-right:before { - content: "\f178"; -} -.uk-icon-apple:before { - content: "\f179"; -} -.uk-icon-windows:before { - content: "\f17a"; -} -.uk-icon-android:before { - content: "\f17b"; -} -.uk-icon-linux:before { - content: "\f17c"; -} -.uk-icon-dribbble:before { - content: "\f17d"; -} -.uk-icon-skype:before { - content: "\f17e"; -} -.uk-icon-foursquare:before { - content: "\f180"; -} -.uk-icon-trello:before { - content: "\f181"; -} -.uk-icon-female:before { - content: "\f182"; -} -.uk-icon-male:before { - content: "\f183"; -} -.uk-icon-gittip:before, -.uk-icon-gratipay:before { - content: "\f184"; -} -.uk-icon-sun-o:before { - content: "\f185"; -} -.uk-icon-moon-o:before { - content: "\f186"; -} -.uk-icon-archive:before { - content: "\f187"; -} -.uk-icon-bug:before { - content: "\f188"; -} -.uk-icon-vk:before { - content: "\f189"; -} -.uk-icon-weibo:before { - content: "\f18a"; -} -.uk-icon-renren:before { - content: "\f18b"; -} -.uk-icon-pagelines:before { - content: "\f18c"; -} -.uk-icon-stack-exchange:before { - content: "\f18d"; -} -.uk-icon-arrow-circle-o-right:before { - content: "\f18e"; -} -.uk-icon-arrow-circle-o-left:before { - content: "\f190"; -} -.uk-icon-toggle-left:before, -.uk-icon-caret-square-o-left:before { - content: "\f191"; -} -.uk-icon-dot-circle-o:before { - content: "\f192"; -} -.uk-icon-wheelchair:before { - content: "\f193"; -} -.uk-icon-vimeo-square:before { - content: "\f194"; -} -.uk-icon-turkish-lira:before, -.uk-icon-try:before { - content: "\f195"; -} -.uk-icon-plus-square-o:before { - content: "\f196"; -} -.uk-icon-space-shuttle:before { - content: "\f197"; -} -.uk-icon-slack:before { - content: "\f198"; -} -.uk-icon-envelope-square:before { - content: "\f199"; -} -.uk-icon-wordpress:before { - content: "\f19a"; -} -.uk-icon-openid:before { - content: "\f19b"; -} -.uk-icon-institution:before, -.uk-icon-bank:before, -.uk-icon-university:before { - content: "\f19c"; -} -.uk-icon-mortar-board:before, -.uk-icon-graduation-cap:before { - content: "\f19d"; -} -.uk-icon-yahoo:before { - content: "\f19e"; -} -.uk-icon-google:before { - content: "\f1a0"; -} -.uk-icon-reddit:before { - content: "\f1a1"; -} -.uk-icon-reddit-square:before { - content: "\f1a2"; -} -.uk-icon-stumbleupon-circle:before { - content: "\f1a3"; -} -.uk-icon-stumbleupon:before { - content: "\f1a4"; -} -.uk-icon-delicious:before { - content: "\f1a5"; -} -.uk-icon-digg:before { - content: "\f1a6"; -} -.uk-icon-pied-piper:before { - content: "\f1a7"; -} -.uk-icon-pied-piper-alt:before { - content: "\f1a8"; -} -.uk-icon-drupal:before { - content: "\f1a9"; -} -.uk-icon-joomla:before { - content: "\f1aa"; -} -.uk-icon-language:before { - content: "\f1ab"; -} -.uk-icon-fax:before { - content: "\f1ac"; -} -.uk-icon-building:before { - content: "\f1ad"; -} -.uk-icon-child:before { - content: "\f1ae"; -} -.uk-icon-paw:before { - content: "\f1b0"; -} -.uk-icon-spoon:before { - content: "\f1b1"; -} -.uk-icon-cube:before { - content: "\f1b2"; -} -.uk-icon-cubes:before { - content: "\f1b3"; -} -.uk-icon-behance:before { - content: "\f1b4"; -} -.uk-icon-behance-square:before { - content: "\f1b5"; -} -.uk-icon-steam:before { - content: "\f1b6"; -} -.uk-icon-steam-square:before { - content: "\f1b7"; -} -.uk-icon-recycle:before { - content: "\f1b8"; -} -.uk-icon-automobile:before, -.uk-icon-car:before { - content: "\f1b9"; -} -.uk-icon-cab:before, -.uk-icon-taxi:before { - content: "\f1ba"; -} -.uk-icon-tree:before { - content: "\f1bb"; -} -.uk-icon-spotify:before { - content: "\f1bc"; -} -.uk-icon-deviantart:before { - content: "\f1bd"; -} -.uk-icon-soundcloud:before { - content: "\f1be"; -} -.uk-icon-database:before { - content: "\f1c0"; -} -.uk-icon-file-pdf-o:before { - content: "\f1c1"; -} -.uk-icon-file-word-o:before { - content: "\f1c2"; -} -.uk-icon-file-excel-o:before { - content: "\f1c3"; -} -.uk-icon-file-powerpoint-o:before { - content: "\f1c4"; -} -.uk-icon-file-photo-o:before, -.uk-icon-file-picture-o:before, -.uk-icon-file-image-o:before { - content: "\f1c5"; -} -.uk-icon-file-zip-o:before, -.uk-icon-file-archive-o:before { - content: "\f1c6"; -} -.uk-icon-file-sound-o:before, -.uk-icon-file-audio-o:before { - content: "\f1c7"; -} -.uk-icon-file-movie-o:before, -.uk-icon-file-video-o:before { - content: "\f1c8"; -} -.uk-icon-file-code-o:before { - content: "\f1c9"; -} -.uk-icon-vine:before { - content: "\f1ca"; -} -.uk-icon-codepen:before { - content: "\f1cb"; -} -.uk-icon-jsfiddle:before { - content: "\f1cc"; -} -.uk-icon-life-bouy:before, -.uk-icon-life-buoy:before, -.uk-icon-life-saver:before, -.uk-icon-support:before, -.uk-icon-life-ring:before { - content: "\f1cd"; -} -.uk-icon-circle-o-notch:before { - content: "\f1ce"; -} -.uk-icon-ra:before, -.uk-icon-rebel:before { - content: "\f1d0"; -} -.uk-icon-ge:before, -.uk-icon-empire:before { - content: "\f1d1"; -} -.uk-icon-git-square:before { - content: "\f1d2"; -} -.uk-icon-git:before { - content: "\f1d3"; -} -.uk-icon-hacker-news:before { - content: "\f1d4"; -} -.uk-icon-tencent-weibo:before { - content: "\f1d5"; -} -.uk-icon-qq:before { - content: "\f1d6"; -} -.uk-icon-wechat:before, -.uk-icon-weixin:before { - content: "\f1d7"; -} -.uk-icon-send:before, -.uk-icon-paper-plane:before { - content: "\f1d8"; -} -.uk-icon-send-o:before, -.uk-icon-paper-plane-o:before { - content: "\f1d9"; -} -.uk-icon-history:before { - content: "\f1da"; -} -.uk-icon-genderless:before, -.uk-icon-circle-thin:before { - content: "\f1db"; -} -.uk-icon-header:before { - content: "\f1dc"; -} -.uk-icon-paragraph:before { - content: "\f1dd"; -} -.uk-icon-sliders:before { - content: "\f1de"; -} -.uk-icon-share-alt:before { - content: "\f1e0"; -} -.uk-icon-share-alt-square:before { - content: "\f1e1"; -} -.uk-icon-bomb:before { - content: "\f1e2"; -} -.uk-icon-soccer-ball-o:before, -.uk-icon-futbol-o:before { - content: "\f1e3"; -} -.uk-icon-tty:before { - content: "\f1e4"; -} -.uk-icon-binoculars:before { - content: "\f1e5"; -} -.uk-icon-plug:before { - content: "\f1e6"; -} -.uk-icon-slideshare:before { - content: "\f1e7"; -} -.uk-icon-twitch:before { - content: "\f1e8"; -} -.uk-icon-yelp:before { - content: "\f1e9"; -} -.uk-icon-newspaper-o:before { - content: "\f1ea"; -} -.uk-icon-wifi:before { - content: "\f1eb"; -} -.uk-icon-calculator:before { - content: "\f1ec"; -} -.uk-icon-paypal:before { - content: "\f1ed"; -} -.uk-icon-google-wallet:before { - content: "\f1ee"; -} -.uk-icon-cc-visa:before { - content: "\f1f0"; -} -.uk-icon-cc-mastercard:before { - content: "\f1f1"; -} -.uk-icon-cc-discover:before { - content: "\f1f2"; -} -.uk-icon-cc-amex:before { - content: "\f1f3"; -} -.uk-icon-cc-paypal:before { - content: "\f1f4"; -} -.uk-icon-cc-stripe:before { - content: "\f1f5"; -} -.uk-icon-bell-slash:before { - content: "\f1f6"; -} -.uk-icon-bell-slash-o:before { - content: "\f1f7"; -} -.uk-icon-trash:before { - content: "\f1f8"; -} -.uk-icon-copyright:before { - content: "\f1f9"; -} -.uk-icon-at:before { - content: "\f1fa"; -} -.uk-icon-eyedropper:before { - content: "\f1fb"; -} -.uk-icon-paint-brush:before { - content: "\f1fc"; -} -.uk-icon-birthday-cake:before { - content: "\f1fd"; -} -.uk-icon-area-chart:before { - content: "\f1fe"; -} -.uk-icon-pie-chart:before { - content: "\f200"; -} -.uk-icon-line-chart:before { - content: "\f201"; -} -.uk-icon-lastfm:before { - content: "\f202"; -} -.uk-icon-lastfm-square:before { - content: "\f203"; -} -.uk-icon-toggle-off:before { - content: "\f204"; -} -.uk-icon-toggle-on:before { - content: "\f205"; -} -.uk-icon-bicycle:before { - content: "\f206"; -} -.uk-icon-bus:before { - content: "\f207"; -} -.uk-icon-ioxhost:before { - content: "\f208"; -} -.uk-icon-angellist:before { - content: "\f209"; -} -.uk-icon-cc:before { - content: "\f20a"; -} -.uk-icon-shekel:before, -.uk-icon-sheqel:before, -.uk-icon-ils:before { - content: "\f20b"; -} -.uk-icon-meanpath:before { - content: "\f20c"; -} -.uk-icon-buysellads:before { - content: "\f20d"; -} -.uk-icon-connectdevelop:before { - content: "\f20e"; -} -.uk-icon-dashcube:before { - content: "\f210"; -} -.uk-icon-forumbee:before { - content: "\f211"; -} -.uk-icon-leanpub:before { - content: "\f212"; -} -.uk-icon-sellsy:before { - content: "\f213"; -} -.uk-icon-shirtsinbulk:before { - content: "\f214"; -} -.uk-icon-simplybuilt:before { - content: "\f215"; -} -.uk-icon-skyatlas:before { - content: "\f216"; -} -.uk-icon-cart-plus:before { - content: "\f217"; -} -.uk-icon-cart-arrow-down:before { - content: "\f218"; -} -.uk-icon-diamond:before { - content: "\f219"; -} -.uk-icon-ship:before { - content: "\f21a"; -} -.uk-icon-user-secret:before { - content: "\f21b"; -} -.uk-icon-motorcycle:before { - content: "\f21c"; -} -.uk-icon-street-view:before { - content: "\f21d"; -} -.uk-icon-heartbeat:before { - content: "\f21e"; -} -.uk-icon-venus:before { - content: "\f221"; -} -.uk-icon-mars:before { - content: "\f222"; -} -.uk-icon-mercury:before { - content: "\f223"; -} -.uk-icon-transgender:before { - content: "\f224"; -} -.uk-icon-transgender-alt:before { - content: "\f225"; -} -.uk-icon-venus-double:before { - content: "\f226"; -} -.uk-icon-mars-double:before { - content: "\f227"; -} -.uk-icon-venus-mars:before { - content: "\f228"; -} -.uk-icon-mars-stroke:before { - content: "\f229"; -} -.uk-icon-mars-stroke-v:before { - content: "\f22a"; -} -.uk-icon-mars-stroke-h:before { - content: "\f22b"; -} -.uk-icon-neuter:before { - content: "\f22c"; -} -.uk-icon-facebook-official:before { - content: "\f230"; -} -.uk-icon-pinterest-p:before { - content: "\f231"; -} -.uk-icon-whatsapp:before { - content: "\f232"; -} -.uk-icon-server:before { - content: "\f233"; -} -.uk-icon-user-plus:before { - content: "\f234"; -} -.uk-icon-user-times:before { - content: "\f235"; -} -.uk-icon-hotel:before, -.uk-icon-bed:before { - content: "\f236"; -} -.uk-icon-viacoin:before { - content: "\f237"; -} -.uk-icon-train:before { - content: "\f238"; -} -.uk-icon-subway:before { - content: "\f239"; -} -.uk-icon-medium-logo:before { - content: "\f23a"; -} -/* ======================================================================== - Component: Close - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-close::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Remove default `button` padding and background color - * 8. Style - */ -.uk-close { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: inherit; - /* 6 */ - text-transform: none; - /* 7. */ - padding: 0; - background: transparent; - /* 8 */ - display: inline-block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - line-height: 20px; - text-align: center; - vertical-align: middle; - opacity: 0.3; -} -/* Icon */ -.uk-close:after { - display: block; - content: "\f00d"; - font-family: FontAwesome; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-close:hover, -.uk-close:focus { - opacity: 0.5; - /* 2 */ - outline: none; - /* 3 */ - color: inherit; - text-decoration: none; - cursor: pointer; -} -/* Modifier - ========================================================================== */ -.uk-close-alt { - padding: 2px; - border-radius: 50%; - background: #ffffff; - opacity: 1; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 6px rgba(0, 0, 0, 0.3); -} -/* Hover */ -.uk-close-alt:hover, -.uk-close-alt:focus { - opacity: 1; -} -/* Icon */ -.uk-close-alt:after { - opacity: 0.5; -} -.uk-close-alt:hover:after, -.uk-close-alt:focus:after { - opacity: 0.8; -} -/* ======================================================================== - Component: Badge - ========================================================================== */ -.uk-badge { - display: inline-block; - padding: 0 5px; - background: #00a8e6; - font-size: 10px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - text-align: center; - vertical-align: middle; - text-transform: none; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 2px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Keep color when badge is a link - */ -a.uk-badge:hover { - color: #ffffff; -} -/* Modifier: `uk-badge-notification`; - ========================================================================== */ -.uk-badge-notification { - -moz-box-sizing: border-box; - box-sizing: border-box; - min-width: 18px; - border-radius: 500px; - font-size: 12px; - line-height: 18px; -} -/* Color modifier - ========================================================================== */ -/* - * Modifier: `uk-badge-success` - */ -.uk-badge-success { - background-color: #8cc14c; -} -/* - * Modifier: `uk-badge-warning` - */ -.uk-badge-warning { - background-color: #faa732; -} -/* - * Modifier: `uk-badge-danger` - */ -.uk-badge-danger { - background-color: #da314b; -} -/* ======================================================================== - Component: Alert - ========================================================================== */ -.uk-alert { - margin-bottom: 15px; - padding: 10px; - background: #ebf7fd; - color: #2d7091; - border: 1px solid rgba(45, 112, 145, 0.3); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Add margin if adjacent element - */ -* + .uk-alert { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-alert > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-alert h1, -.uk-alert h2, -.uk-alert h3, -.uk-alert h4, -.uk-alert h5, -.uk-alert h6 { - color: inherit; -} -/* Close in alert - ========================================================================== */ -.uk-alert > .uk-close:first-child { - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-alert > .uk-close:first-child + * { - margin-top: 0; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-alert-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-alert-warning` - ========================================================================== */ -.uk-alert-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-alert-danger` - ========================================================================== */ -.uk-alert-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} -/* Modifier: `uk-alert-large` - ========================================================================== */ -.uk-alert-large { - padding: 20px; -} -.uk-alert-large > .uk-close:first-child { - margin: -10px -10px 0 0; -} -/* ======================================================================== - Component: Thumbnail - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Responsive behavior - * 3. Corrects `max-width` behavior sed - * 4. Required for `figure` element - * 5. Style - */ -.uk-thumbnail { - /* 1 */ - display: inline-block; - /* 2 */ - max-width: 100%; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - margin: 0; - /* 4 */ - padding: 4px; - border: 1px solid #dddddd; - background: #ffffff; - border-radius: 4px; -} -/* - * Hover state for `a` elements - * 1. Apply hover style also to focus state - * 2. Needed for caption - * 3. Remove default focus style - */ -a.uk-thumbnail:hover, -a.uk-thumbnail:focus { - border-color: #aaaaaa; - background-color: #ffffff; - /* 2 */ - text-decoration: none; - /* 3 */ - outline: none; -} -/* Caption - ========================================================================== */ -.uk-thumbnail-caption { - padding-top: 4px; - text-align: center; - color: #444444; -} -/* Sizes - ========================================================================== */ -.uk-thumbnail-mini { - width: 150px; -} -.uk-thumbnail-small { - width: 200px; -} -.uk-thumbnail-medium { - width: 300px; -} -.uk-thumbnail-large { - width: 400px; -} -.uk-thumbnail-expand, -.uk-thumbnail-expand > img { - width: 100%; -} -/* ======================================================================== - Component: Overlay - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Set max-width for responsive images to prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome - * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit - * 7. Reset margin - */ -.uk-overlay { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; - /* 5 */ - overflow: hidden; - /* 6 */ - -webkit-transform: translateZ(0); - /* 7 */ - margin: 0; -} -/* 6 for Safari */ -.uk-overlay.uk-border-circle { - -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); -} -/* - * Remove margin from content - */ -.uk-overlay > :first-child { - margin-bottom: 0; -} -/* Sub-object `uk-overlay-panel` - ========================================================================== */ -/* - * 1. Position cover - * 2. Style - */ -.uk-overlay-panel { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 20px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-panel > :last-child, -.uk-overlay-panel.uk-flex > * > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-overlay-panel h1, -.uk-overlay-panel h2, -.uk-overlay-panel h3, -.uk-overlay-panel h4, -.uk-overlay-panel h5, -.uk-overlay-panel h6 { - color: inherit; -} -.uk-overlay-panel a:not([class]) { - color: inherit; - text-decoration: underline; -} -.uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { - color: inherit; -} -/* Sub-object `uk-overlay-hover` and `uk-overlay-active` - ========================================================================== */ -.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -.uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -/* Modifier `uk-overlay-background` - ========================================================================== */ -.uk-overlay-background { - background: rgba(0, 0, 0, 0.5); -} -/* Modifier `uk-overlay-image` - ========================================================================== */ -/* - * Reset panel - */ -.uk-overlay-image { - padding: 0; -} -/* Position modifiers - ========================================================================== */ -.uk-overlay-top { - bottom: auto; -} -.uk-overlay-bottom { - top: auto; -} -.uk-overlay-left { - right: auto; -} -.uk-overlay-right { - left: auto; -} -/* Sub-object `uk-overlay-icon` - ========================================================================== */ -.uk-overlay-icon:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* Transitions - ========================================================================== */ -.uk-overlay-fade, -.uk-overlay-scale, -.uk-overlay-spin, -.uk-overlay-grayscale, -.uk-overlay-blur, -[class*='uk-overlay-slide'] { - transition-duration: 0.3s; - transition-timing-function: ease-out; - transition-property: opacity transform filter; -} -.uk-overlay-active .uk-overlay-fade, -.uk-overlay-active .uk-overlay-scale, -.uk-overlay-active .uk-overlay-spin, -.uk-overlay-active [class*='uk-overlay-slide'] { - transition-duration: 0.8s; -} -/* - * Fade - */ -.uk-overlay-fade { - opacity: 0.7; -} -.uk-overlay-hover:hover .uk-overlay-fade, -.uk-overlay-active .uk-active > .uk-overlay-fade { - opacity: 1; -} -/* - * Scale - */ -.uk-overlay-scale { - -webkit-transform: scale(1); - transform: scale(1); -} -.uk-overlay-hover:hover .uk-overlay-scale, -.uk-overlay-active .uk-active > .uk-overlay-scale { - -webkit-transform: scale(1.1); - transform: scale(1.1); -} -/* - * Spin - */ -.uk-overlay-spin { - -webkit-transform: scale(1) rotate(0deg); - transform: scale(1) rotate(0deg); -} -.uk-overlay-hover:hover .uk-overlay-spin, -.uk-overlay-active .uk-active > .uk-overlay-spin { - -webkit-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); -} -/* - * Grayscale - */ -.uk-overlay-grayscale { - -webkit-filter: grayscale(100%); - filter: grayscale(100%); -} -.uk-overlay-hover:hover .uk-overlay-grayscale, -.uk-overlay-active .uk-active > .uk-overlay-grayscale { - -webkit-filter: grayscale(0%); - filter: grayscale(0%); -} -/* - * Slide - */ -[class*='uk-overlay-slide'] { - opacity: 0; -} -/* Top */ -.uk-overlay-slide-top { - -webkit-transform: translateY(-100%); - transform: translateY(-100%); -} -/* Bottom */ -.uk-overlay-slide-bottom { - -webkit-transform: translateY(100%); - transform: translateY(100%); -} -/* Left */ -.uk-overlay-slide-left { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} -/* Right */ -.uk-overlay-slide-right { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Hover */ -.uk-overlay-hover:hover [class*='uk-overlay-slide'], -.uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { - opacity: 1; - -webkit-transform: translateX(0) translateY(0); - transform: translateX(0) translateY(0); -} -/* DEPRECATED - * Sub-object `uk-overlay-area` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-area { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - background: rgba(0, 0, 0, 0.3); - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-area, -.uk-overlay.uk-hover .uk-overlay-area, -.uk-overlay-toggle:hover .uk-overlay-area, -.uk-overlay-toggle.uk-hover .uk-overlay-area { - opacity: 1; -} -/* - * Icon - */ -.uk-overlay-area:empty:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* DEPRECATED - * Sub-object `uk-overlay-area-content` - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - * Needed for Firefox - */ -.uk-overlay-area:not(:empty) { - font-size: 0.001px; -} -/* - * 1. Needed for vertical alignment - */ -.uk-overlay-area:not(:empty):before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * 1. Set vertical alignment - * 2. Reset whitespace hack - * 3. Set horizontal alignment - * 4. Set style - */ -.uk-overlay-area-content { - /* 1 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - vertical-align: middle; - /* 2 */ - font-size: 1rem; - /* 3 */ - text-align: center; - /* 4 */ - padding: 0 15px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-area-content > :last-child { - margin-bottom: 0; -} -/* - * Links in overlay area - */ -.uk-overlay-area-content a:not([class]), -.uk-overlay-area-content a:not([class]):hover { - color: inherit; -} -/* DEPRECATED - * Sub-object `uk-overlay-caption` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-caption { - /* 1 */ - position: absolute; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 15px; - background: rgba(0, 0, 0, 0.5); - color: #ffffff; - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-caption, -.uk-overlay.uk-hover .uk-overlay-caption, -.uk-overlay-toggle:hover .uk-overlay-caption, -.uk-overlay-toggle.uk-hover .uk-overlay-caption { - opacity: 1; -} -/* ======================================================================== - Component: Animation - ========================================================================== */ -[class*='uk-animation-'] { - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} -/* Hide animated element if scrollspy is used */ -@media screen { - [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { - opacity: 0; - } -} -/* - * Fade - * Higher specificity (!important) needed because of reverse modifier - */ -.uk-animation-fade { - -webkit-animation-name: uk-fade; - animation-name: uk-fade; - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; - -webkit-animation-timing-function: linear !important; - animation-timing-function: linear !important; -} -/* - * Fade with scale - */ -.uk-animation-scale-up { - -webkit-animation-name: uk-fade-scale-02; - animation-name: uk-fade-scale-02; -} -.uk-animation-scale-down { - -webkit-animation-name: uk-fade-scale-18; - animation-name: uk-fade-scale-18; -} -/* - * Fade with slide - */ -.uk-animation-slide-top { - -webkit-animation-name: uk-fade-top; - animation-name: uk-fade-top; -} -.uk-animation-slide-bottom { - -webkit-animation-name: uk-fade-bottom; - animation-name: uk-fade-bottom; -} -.uk-animation-slide-left { - -webkit-animation-name: uk-fade-left; - animation-name: uk-fade-left; -} -.uk-animation-slide-right { - -webkit-animation-name: uk-fade-right; - animation-name: uk-fade-right; -} -/* - * Scale - */ -.uk-animation-scale { - -webkit-animation-name: uk-scale-12; - animation-name: uk-scale-12; -} -/* - * Shake - */ -.uk-animation-shake { - -webkit-animation-name: uk-shake; - animation-name: uk-shake; -} -/* Direction modifiers - ========================================================================== */ -.uk-animation-reverse { - -webkit-animation-direction: reverse; - animation-direction: reverse; - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} -/* Duration modifiers -========================================================================== */ -.uk-animation-15 { - -webkit-animation-duration: 15s; - animation-duration: 15s; -} -/* Origin modifiers -========================================================================== */ -.uk-animation-top-left { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -.uk-animation-top-center { - -webkit-transform-origin: 50% 0; - transform-origin: 50% 0; -} -.uk-animation-top-right { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} -.uk-animation-middle-left { - -webkit-transform-origin: 0 50%; - transform-origin: 0 50%; -} -.uk-animation-middle-right { - -webkit-transform-origin: 100% 50%; - transform-origin: 100% 50%; -} -.uk-animation-bottom-left { - -webkit-transform-origin: 0 100%; - transform-origin: 0 100%; -} -.uk-animation-bottom-center { - -webkit-transform-origin: 50% 100%; - transform-origin: 50% 100%; -} -.uk-animation-bottom-right { - -webkit-transform-origin: 100% 100%; - transform-origin: 100% 100%; -} -/* Sub-object: `uk-animation-hover` -========================================================================== */ -/* - * Enable animation only on hover - * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` - */ -.uk-animation-hover:not(:hover), -.uk-animation-hover:not(:hover) [class*='uk-animation-'], -.uk-touch .uk-animation-hover:not(.uk-hover), -.uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { - -webkit-animation-name: none; - animation-name: none; -} -/* Keyframes: Fade - * Used by dropdown, datepicker and slideshow component - ========================================================================== */ -@-webkit-keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -/* Keyframes: Fade with slide - ========================================================================== */ -/* - * Top - */ -@-webkit-keyframes uk-fade-top { - 0% { - opacity: 0; - -webkit-transform: translateY(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-top { - 0% { - opacity: 0; - transform: translateY(-100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom - */ -@-webkit-keyframes uk-fade-bottom { - 0% { - opacity: 0; - -webkit-transform: translateY(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-bottom { - 0% { - opacity: 0; - transform: translateY(100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Left - */ -@-webkit-keyframes uk-fade-left { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-left { - 0% { - opacity: 0; - transform: translateX(-100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-fade-right { - 0% { - opacity: 0; - -webkit-transform: translateX(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-right { - 0% { - opacity: 0; - transform: translateX(100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* Keyframes: Fade with scale - ========================================================================== */ -/* - * Scale by 0.2 - */ -@-webkit-keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - -webkit-transform: scale(0.2); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - transform: scale(0.2); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.5 - * Used by slideshow component - */ -@-webkit-keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - -webkit-transform: scale(1.5); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - transform: scale(1.5); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.8 - */ -@-webkit-keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - -webkit-transform: scale(1.8); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - transform: scale(1.8); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* Keyframes: Slide - * Used by slideshow component - ========================================================================== */ -/* - * Left - */ -@-webkit-keyframes uk-slide-left { - 0% { - -webkit-transform: translateX(-100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-slide-right { - 0% { - -webkit-transform: translateX(100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Left third - */ -@-webkit-keyframes uk-slide-left-33 { - 0% { - -webkit-transform: translateX(33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left-33 { - 0% { - transform: translateX(33%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right third - */ -@-webkit-keyframes uk-slide-right-33 { - 0% { - -webkit-transform: translateX(-33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right-33 { - 0% { - transform: translateX(-33%); - } - 100% { - transform: translateX(0); - } -} -/* Keyframes: Scale - ========================================================================== */ -@-webkit-keyframes uk-scale-12 { - 0% { - -webkit-transform: scale(1.2); - } - 100% { - -webkit-transform: scale(1); - } -} -@keyframes uk-scale-12 { - 0% { - transform: scale(1.2); - } - 100% { - transform: scale(1); - } -} -/* Keyframes: Rotate - * Used by icon component - ========================================================================== */ -@-webkit-keyframes uk-rotate { - 0% { - -webkit-transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - } -} -@keyframes uk-rotate { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} -/* Keyframes: Shake - ========================================================================== */ -@-webkit-keyframes uk-shake { - 0%, - 100% { - -webkit-transform: translateX(0); - } - 10% { - -webkit-transform: translateX(-9px); - } - 20% { - -webkit-transform: translateX(8px); - } - 30% { - -webkit-transform: translateX(-7px); - } - 40% { - -webkit-transform: translateX(6px); - } - 50% { - -webkit-transform: translateX(-5px); - } - 60% { - -webkit-transform: translateX(4px); - } - 70% { - -webkit-transform: translateX(-3px); - } - 80% { - -webkit-transform: translateX(2px); - } - 90% { - -webkit-transform: translateX(-1px); - } -} -@keyframes uk-shake { - 0%, - 100% { - transform: translateX(0); - } - 10% { - transform: translateX(-9px); - } - 20% { - transform: translateX(8px); - } - 30% { - transform: translateX(-7px); - } - 40% { - transform: translateX(6px); - } - 50% { - transform: translateX(-5px); - } - 60% { - transform: translateX(4px); - } - 70% { - transform: translateX(-3px); - } - 80% { - transform: translateX(2px); - } - 90% { - transform: translateX(-1px); - } -} -/* Keyframes: Fade with slide fixed - * Used by dropdown and search component - ========================================================================== */ -/* - * Top fixed - */ -@-webkit-keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(-10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - transform: translateY(-10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom fixed - */ -@-webkit-keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - transform: translateY(10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* ======================================================================== - Component: Dropdown - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set position - * 3. Box-sizing is needed for `uk-dropdown-justify` - * 4. Set style - * 5. Reset button group whitespace hack - */ -.uk-dropdown { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - top: 100%; - left: 0; - z-index: 1020; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 4 */ - width: 200px; - margin-top: 5px; - padding: 15px; - background: #ffffff; - color: #444444; - /* 5 */ - font-size: 1rem; - vertical-align: top; - border: 1px solid #dddddd; - border-radius: 4px; -} -/* - * 1. Show dropdown - * 2. Set animation - * 3. Needed for scale animation - */ -.uk-open > .uk-dropdown { - /* 1 */ - display: block; - /* 2 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 3 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Alignment modifiers - ========================================================================== */ -/* - * Modifier `uk-dropdown-flip` - */ -.uk-dropdown-flip { - left: auto; - right: 0; -} -/* - * Modifier `uk-dropdown-up` - */ -.uk-dropdown-up { - top: auto; - bottom: 100%; - margin-top: auto; - margin-bottom: 5px; -} -/* Nav in dropdown - ========================================================================== */ -.uk-dropdown .uk-nav { - margin: 0 -15px; -} -/* Grid and panel in dropdown - ========================================================================== */ -/* -* Vertical gutter -*/ -/* - * Grid - * Higher specificity to override large gutter - */ -.uk-grid .uk-dropdown-grid + .uk-dropdown-grid { - margin-top: 15px; -} -/* Panels */ -.uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Horizontal gutter - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { - margin-left: -15px; - margin-right: -15px; - } - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { - padding-left: 15px; - padding-right: 15px; - } - /* - * Column divider - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - border-left: 1px solid #dddddd; - } - /* - * Width multiplier for dropdown columns - */ - .uk-dropdown-width-2:not(.uk-dropdown-stack) { - width: 400px; - } - .uk-dropdown-width-3:not(.uk-dropdown-stack) { - width: 600px; - } - .uk-dropdown-width-4:not(.uk-dropdown-stack) { - width: 800px; - } - .uk-dropdown-width-5:not(.uk-dropdown-stack) { - width: 1000px; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Stack columns and take full width - */ - .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; - } - /* - * Vertical gutter - */ - .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; - } -} -/* -* Stack grid columns -*/ -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; -} -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; -} -/* Modifier `uk-dropdown-small` - ========================================================================== */ -/* - * Set min-width and text expands dropdown if needed - */ -.uk-dropdown-small { - min-width: 150px; - width: auto; - padding: 5px; - white-space: nowrap; -} -/* - * Nav in dropdown - */ -.uk-dropdown-small .uk-nav { - margin: 0 -5px; -} -/* Modifier: `uk-dropdown-navbar` - ========================================================================== */ -.uk-dropdown-navbar { - margin-top: 6px; - background: #ffffff; - color: #444444; - left: -1px; -} -.uk-open > .uk-dropdown-navbar { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* Modifier `uk-dropdown-scrollable` - ========================================================================== */ -/* - * Usefull for long lists - */ -.uk-dropdown-scrollable { - overflow-y: auto; - max-height: 200px; -} -.uk-dropdown-navbar.uk-dropdown-flip { - left: auto; -} -/* ======================================================================== - Component: Modal - ========================================================================== */ -/* - * This is the modal overlay and modal dialog container - * 1. Hide by default - * 2. Set fixed position - * 3. Allow scrolling for the modal dialog - * 4. Mask the background page - * 5. Fade-in transition - * 6. Deactivate browser history navigation in IE11 - * 7. force hardware acceleration to prevent browser rendering hiccups - */ -.uk-modal { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1010; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - background: rgba(0, 0, 0, 0.6); - /* 5 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - /* 6 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; - /* 7 */ - -webkit-transform: translateZ(0); - transform: translateZ(0); -} -/* - * Open state - */ -.uk-modal.uk-open { - opacity: 1; -} -/* - * Prevents duplicated scrollbar caused by 4. - */ -.uk-modal-page, -.uk-modal-page body { - overflow: hidden; -} -/* Sub-object: `uk-modal-dialog` - ========================================================================== */ -/* - * 1. Create position context for caption, spinner and close button - * 2. Set box sizing - * 3. Set style - * 4. Slide-in transition - */ -.uk-modal-dialog { - /* 1 */ - position: relative; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 50px auto; - padding: 20px; - width: 600px; - max-width: 100%; - max-width: calc(100% - 20px); - /* 3 */ - background: #ffffff; - /* 4 */ - opacity: 0; - -webkit-transform: translateY(-100px); - transform: translateY(-100px); - -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; - transition: opacity 0.3s linear, transform 0.3s ease-out; - border-radius: 4px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Fit in small screen - */ - .uk-modal-dialog { - width: auto; - margin: 10px auto; - } -} -/* - * Open state - */ -.uk-open .uk-modal-dialog { - /* 4 */ - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); -} -/* - * Remove margin from the last-child - */ -.uk-modal-dialog > :not([class*='uk-modal-']):last-child { - margin-bottom: 0; -} -/* Close in modal - ========================================================================== */ -.uk-modal-dialog > .uk-close:first-child { - margin: -10px -10px 0 0; - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { - margin-top: 0; -} -/* Modifier: `uk-modal-dialog-lightbox` - ========================================================================== */ -.uk-modal-dialog-lightbox { - margin: 15px auto; - padding: 0; - max-width: 95%; - max-width: calc(100% - 30px); - border-radius: 0; -} -/* - * Close button - */ -.uk-modal-dialog-lightbox > .uk-close:first-child { - position: absolute; - top: -12px; - right: -12px; - margin: 0; - float: none; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-modal-dialog-lightbox > .uk-close:first-child { - top: -7px; - right: -7px; - } -} -/* Modifier: `uk-modal-dialog-large` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-modal-dialog-large { - width: 930px; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-modal-dialog-large { - width: 1130px; - } -} -/* Sub-Object: `uk-modal-header` and `uk-modal-footer` - ========================================================================== */ -.uk-modal-header { - margin-bottom: 15px; - margin: -20px -20px 15px -20px; - padding: 20px; - border-bottom: 1px solid #dddddd; - border-radius: 4px 4px 0 0; - background: #fafafa; -} -.uk-modal-footer { - margin-top: 15px; - margin: 15px -20px -20px -20px; - padding: 20px; - border-top: 1px solid #dddddd; - border-radius: 0 0 4px 4px; - background: #fafafa; -} -/* - * Remove margin from the last-child - */ -.uk-modal-header > :last-child, -.uk-modal-footer > :last-child { - margin-bottom: 0; -} -/* Sub-Object: `uk-modal-caption` - ========================================================================== */ -.uk-modal-caption { - position: absolute; - left: 0; - right: 0; - bottom: -20px; - margin-bottom: -10px; - color: #ffffff; - text-align: center; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* Sub-Object: `uk-modal-spinner` - ========================================================================== */ -.uk-modal-spinner { - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - font-size: 25px; - color: #ddd; -} -.uk-modal-spinner:after { - content: "\f110"; - font-family: FontAwesome; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* ======================================================================== - Component: Off-canvas - ========================================================================== */ -/* - * This is the offcanvas overlay and bar container - * 1. Hide by default - * 2. Set fixed position - * 3. Deactivate browser touch actions in IE11 - * 4. Mask the background page - */ -.uk-offcanvas { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1000; - /* 3 */ - touch-action: none; - /* 4 */ - background: rgba(0, 0, 0, 0.1); -} -.uk-offcanvas.uk-active { - display: block; -} -/* Sub-object `uk-offcanvas-page` - ========================================================================== */ -/* - * Prepares the whole HTML page to slide-out - * 1. Fix the main page and disallow scrolling - * 2. Side-out transition - */ -.uk-offcanvas-page { - /* 1 */ - position: fixed; - /* 2 */ - -webkit-transition: margin-left 0.3s ease-in-out; - transition: margin-left 0.3s ease-in-out; -} -/* Sub-object `uk-offcanvas-bar` - ========================================================================== */ -/* - * This is the offcanvas bar - * 1. Set fixed position - * 2. Size and style - * 3. Allow scrolling - * 4. Side-out transition - * 5. Deavtivate scroll chaining in IE11 - */ -.uk-offcanvas-bar { - /* 1 */ - position: fixed; - top: 0; - bottom: 0; - left: 0; - -webkit-transform: translateX(-100%); - transform: translateX(-100%); - z-index: 1001; - /* 2 */ - width: 270px; - max-width: 100%; - background: #333333; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - /* 5 */ - -ms-scroll-chaining: none; -} -.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { - -webkit-transform: translateX(0%); - transform: translateX(0%); -} -/* Modifier `uk-offcanvas-bar-flip` - ========================================================================== */ -.uk-offcanvas-bar-flip { - left: auto; - right: 0; - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Panel in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-panel { - margin: 20px 15px; - color: #777777; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -.uk-offcanvas .uk-panel-title { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]) { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]):hover { - color: #ffffff; -} -.uk-offcanvas-bar:after { - content: ""; - display: block; - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -.uk-offcanvas-bar-flip:after { - right: auto; - left: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -/* ======================================================================== - Component: Switcher - ========================================================================== */ -/* - * 1. Deactivate browser history navigation in IE11 - */ -.uk-switcher { - margin: 0; - padding: 0; - list-style: none; - /* 1 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; -} -/* - * Items - */ -.uk-switcher > :not(.uk-active) { - display: none; -} -/* ======================================================================== - Component: Text - ========================================================================== */ -/* Size modifiers - ========================================================================== */ -.uk-text-small { - font-size: 11px; - line-height: 16px; -} -.uk-text-large { - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Weight modifiers - ========================================================================== */ -.uk-text-bold { - font-weight: bold; -} -/* Color modifiers - ========================================================================== */ -.uk-text-muted { - color: #999999 !important; -} -.uk-text-primary { - color: #2d7091 !important; -} -.uk-text-success { - color: #659f13 !important; -} -.uk-text-warning { - color: #e28327 !important; -} -.uk-text-danger { - color: #d85030 !important; -} -.uk-text-contrast { - color: #ffffff !important; -} -/* Alignment modifiers - ========================================================================== */ -.uk-text-left { - text-align: left !important; -} -.uk-text-right { - text-align: right !important; -} -.uk-text-center { - text-align: center !important; -} -.uk-text-justify { - text-align: justify !important; -} -.uk-text-top { - vertical-align: top !important; -} -.uk-text-middle { - vertical-align: middle !important; -} -.uk-text-bottom { - vertical-align: bottom !important; -} -/* Only tablets portrait and smaller */ -@media (max-width: 959px) { - .uk-text-center-medium { - text-align: center !important; - } - .uk-text-left-medium { - text-align: left !important; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-text-center-small { - text-align: center !important; - } - .uk-text-left-small { - text-align: left !important; - } -} -/* Wrap modifiers - ========================================================================== */ -/* - * Prevent text from wrapping onto multiple lines - */ -.uk-text-nowrap { - white-space: nowrap; -} -/* - * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis - */ -.uk-text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* - * Break strings if their length exceeds the width of their container - */ -.uk-text-break { - word-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; -} -/* ======================================================================== - Component: Utility - ========================================================================== */ -/* Container - ========================================================================== */ -.uk-container { - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 980px; - padding: 0 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-container { - max-width: 1200px; - padding: 0 35px; - } -} -/* - * Micro clearfix - */ -.uk-container:before, -.uk-container:after { - content: ""; - display: table; -} -.uk-container:after { - clear: both; -} -/* - * Center container - */ -.uk-container-center { - margin-left: auto; - margin-right: auto; -} -/* Clearing - ========================================================================== */ -/* - * Micro clearfix -* `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit - * `table` is used again with `:after` because `clear` only works with block elements. - * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari - */ -.uk-clearfix:before { - content: ""; - display: table-cell; -} -.uk-clearfix:after { - content: ""; - display: table; - clear: both; -} -/* - * Create a new block formatting context - */ -.uk-nbfc { - overflow: hidden; -} -.uk-nbfc-alt { - display: table-cell; - width: 10000px; -} -/* Alignment of block elements - ========================================================================== */ -/* - * Float blocks - * 1. Prevent content overflow on small devices - */ -.uk-float-left { - float: left; -} -.uk-float-right { - float: right; -} -/* 1 */ -[class*='uk-float-'] { - max-width: 100%; -} -/* Alignment of images and objects - ========================================================================== */ -/* - * Alignment - */ -[class*='uk-align-'] { - display: block; - margin-bottom: 15px; -} -.uk-align-left { - margin-right: 15px; - float: left; -} -.uk-align-right { - margin-left: 15px; - float: right; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-align-medium-left { - margin-right: 15px; - margin-bottom: 15px; - float: left; - } - .uk-align-medium-right { - margin-left: 15px; - margin-bottom: 15px; - float: right; - } -} -.uk-align-center { - margin-left: auto; - margin-right: auto; -} -/* Vertical alignment - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - */ -.uk-vertical-align { - font-size: 0.001px; -} -/* - * The `uk-vertical-align` container needs a specific height - */ -.uk-vertical-align:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * Sub-object which can have any height - * 1. Reset whitespace hack - */ -.uk-vertical-align-middle, -.uk-vertical-align-bottom { - display: inline-block; - max-width: 100%; - /* 1 */ - font-size: 1rem; -} -.uk-vertical-align-middle { - vertical-align: middle; -} -.uk-vertical-align-bottom { - vertical-align: bottom; -} -/* Height - ========================================================================== */ -/* - * More robust if padding and border are used - */ -[class*='uk-height'] { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Useful to extend the `html` and `body` element to the full height of the page. - */ -.uk-height-1-1 { - height: 100%; -} -/* - * Useful to create image teasers - */ -.uk-height-viewport { - height: 100vh; - min-height: 600px; -} -/* Responsive objects - * Note: Images are already responsive by default, see Base component - ========================================================================== */ -/* - * 1. Corrects `max-width` and `max-height` behavior if padding and border are used - */ -.uk-responsive-width, -.uk-responsive-height { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * `important` needed to override `uk-img-preserve img` - */ -.uk-responsive-width { - max-width: 100% !important; - height: auto; -} -/* - * Responsiveness: Sets a maximum height relative to the parent and auto scales the width - * Only works if the parent element has a fixed height. - */ -.uk-responsive-height { - max-height: 100%; - width: auto; -} -/* Margin - ========================================================================== */ -/* - * Create a block with the same margin of a paragraph - * Add margin if adjacent element - */ -.uk-margin { - margin-bottom: 15px; -} -* + .uk-margin { - margin-top: 15px; -} -.uk-margin-top { - margin-top: 15px !important; -} -.uk-margin-bottom { - margin-bottom: 15px !important; -} -.uk-margin-left { - margin-left: 15px !important; -} -.uk-margin-right { - margin-right: 15px !important; -} -/* - * Larger margins - */ -.uk-margin-large { - margin-bottom: 50px; -} -* + .uk-margin-large { - margin-top: 50px; -} -.uk-margin-large-top { - margin-top: 50px !important; -} -.uk-margin-large-bottom { - margin-bottom: 50px !important; -} -.uk-margin-large-left { - margin-left: 50px !important; -} -.uk-margin-large-right { - margin-right: 50px !important; -} -/* - * Smaller margins - */ -.uk-margin-small { - margin-bottom: 5px; -} -* + .uk-margin-small { - margin-top: 5px; -} -.uk-margin-small-top { - margin-top: 5px !important; -} -.uk-margin-small-bottom { - margin-bottom: 5px !important; -} -.uk-margin-small-left { - margin-left: 5px !important; -} -.uk-margin-small-right { - margin-right: 5px !important; -} -/* - * Remove margins - */ -.uk-margin-remove { - margin: 0 !important; -} -.uk-margin-top-remove { - margin-top: 0 !important; -} -.uk-margin-bottom-remove { - margin-bottom: 0 !important; -} -/* Padding - ========================================================================== */ -.uk-padding-remove { - padding: 0 !important; -} -.uk-padding-top-remove { - padding-top: 0 !important; -} -.uk-padding-bottom-remove { - padding-bottom: 0 !important; -} -.uk-padding-vertical-remove { - padding-top: 0 !important; - padding-bottom: 0 !important; -} -/* Border - ========================================================================== */ -.uk-border-circle { - border-radius: 50%; -} -.uk-border-rounded { - border-radius: 5px; -} -/* Headings - ========================================================================== */ -.uk-heading-large { - font-size: 36px; - line-height: 42px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-heading-large { - font-size: 52px; - line-height: 64px; - } -} -/* Link - ========================================================================== */ -/* - * Let links appear in default text color - */ -.uk-link-muted, -.uk-link-muted a { - color: #444444; -} -.uk-link-muted:hover, -.uk-link-muted a:hover { - color: #444444; -} -/* - * Reset link style - */ -.uk-link-reset, -.uk-link-reset a, -.uk-link-reset:hover, -.uk-link-reset a:hover, -.uk-link-reset:focus, -.uk-link-reset a:focus { - color: inherit; - text-decoration: none; -} -/* Scrollable - ========================================================================== */ -/* - * Enable scrolling for preformatted text - */ -.uk-scrollable-text { - height: 300px; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - resize: both; -} -/* - * Box with scrolling enabled - */ -.uk-scrollable-box { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 170px; - padding: 10px; - border: 1px solid #dddddd; - overflow: auto; - -webkit-overflow-scrolling: touch; - resize: both; - border-radius: 3px; -} -.uk-scrollable-box > :last-child { - margin-bottom: 0; -} -/* Overflow - ========================================================================== */ -.uk-overflow-hidden { - overflow: hidden; -} -/* - * Enable scrollbars if content is clipped - */ -.uk-overflow-container { - overflow: auto; - -webkit-overflow-scrolling: touch; -} -.uk-overflow-container > :last-child { - margin-bottom: 0; -} -/* Position - ========================================================================== */ -.uk-position-absolute, -[class*='uk-position-top'], -[class*='uk-position-bottom'] { - position: absolute !important; -} -.uk-position-top { - top: 0; - width: 100%; -} -.uk-position-bottom { - bottom: 0; - width: 100%; -} -.uk-position-top-left { - top: 0; - left: 0; -} -.uk-position-top-right { - top: 0; - right: 0; -} -.uk-position-bottom-left { - bottom: 0; - left: 0; -} -.uk-position-bottom-right { - bottom: 0; - right: 0; -} -/* - * Cover - */ -.uk-position-cover { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} -/* - * Relative - */ -.uk-position-relative { - position: relative !important; -} -/* - * Z-index - */ -.uk-position-z-index { - z-index: 1; -} -/* Display - ========================================================================== */ -/* - * Display - */ -.uk-display-block { - display: block !important; -} -.uk-display-inline { - display: inline !important; -} -.uk-display-inline-block { - display: inline-block !important; -} -/* - * Visibility - * Avoids setting display to `block` so it works also with `inline-block` and `table` - */ -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-medium { - display: none !important; - } - .uk-hidden-large { - display: none !important; - } -} -/* Tablets portrait */ -@media (min-width: 768px) and (max-width: 959px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-large { - display: none !important ; - } - .uk-hidden-medium { - display: none !important; - } -} -/* Phone landscape and smaller*/ -@media (max-width: 767px) { - .uk-visible-medium { - display: none !important; - } - .uk-visible-large { - display: none !important; - } - .uk-hidden-small { - display: none !important; - } -} -/* Remove from the flow and screen readers on any device */ -.uk-hidden { - display: none !important; - visibility: hidden !important; -} -/* It's hidden, but still affects layout */ -.uk-invisible { - visibility: hidden !important; -} -/* Show on hover */ -.uk-visible-hover:hover .uk-hidden, -.uk-visible-hover:hover .uk-invisible { - display: block !important; - visibility: visible !important; -} -.uk-visible-hover-inline:hover .uk-hidden, -.uk-visible-hover-inline:hover .uk-invisible { - display: inline-block !important; - visibility: visible !important; -} -/* Hide on touch */ -.uk-touch .uk-hidden-touch, -.uk-notouch .uk-hidden-notouch { - display: none !important; -} -/* ======================================================================== - Component: Flex - ========================================================================== */ -.uk-flex { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -.uk-flex-inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; - display: inline-flex; -} -/* - * Fixes initial flex-shrink value in IE10 - */ -.uk-flex > *, -.uk-flex-inline > * { - -ms-flex-negative: 1; -} -/* Alignment - ========================================================================== */ -/* - * Vertical alignment - * Default value is `stretch` - */ -.uk-flex-top { - -ms-flex-align: start; - -webkit-align-items: flex-start; - align-items: flex-start; -} -.uk-flex-middle { - -ms-flex-align: center; - -webkit-align-items: center; - align-items: center; -} -.uk-flex-bottom { - -ms-flex-align: end; - -webkit-align-items: flex-end; - align-items: flex-end; -} -/* - * Horizontal alignment - * Default value is `flex-start` - */ -.uk-flex-center { - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} -.uk-flex-right { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; - justify-content: flex-end; -} -.uk-flex-space-between { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -} -.uk-flex-space-around { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; - justify-content: space-around; -} -/* Direction - ========================================================================== */ -.uk-flex-row-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; - flex-direction: row-reverse; -} -.uk-flex-column { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -.uk-flex-column-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; - flex-direction: column-reverse; -} -/* Wrap - ========================================================================== */ -.uk-flex-nowrap { - -ms-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - flex-wrap: nowrap; -} -.uk-flex-wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; -} -.uk-flex-wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} -/* - * Horizontal alignment - * Default value is `stretch` - */ -.uk-flex-wrap-top { - -ms-flex-line-pack: start; - -webkit-align-content: flex-start; - align-content: flex-start; -} -.uk-flex-wrap-middle { - -ms-flex-line-pack: center; - -webkit-align-content: center; - align-content: center; -} -.uk-flex-wrap-bottom { - -ms-flex-line-pack: end; - -webkit-align-content: flex-end; - align-content: flex-end; -} -.uk-flex-wrap-space-between { - -ms-flex-line-pack: justify; - -webkit-align-content: space-between; - align-content: space-between; -} -.uk-flex-wrap-space-around { - -ms-flex-line-pack: distribute; - -webkit-align-content: space-around; - align-content: space-around; -} -/* Item ordering - ========================================================================== */ -/* - * Default is 0 - */ -.uk-flex-order-first { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; -} -.uk-flex-order-last { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-flex-order-first-small { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-small { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-flex-order-first-medium { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-medium { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-flex-order-first-large { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-large { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-flex-order-first-xlarge { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-xlarge { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Item dimensions - ========================================================================== */ -/* - * Initial: 0 1 auto - * Content dimensions, but shrinks - */ -/* - * No Flex: 0 0 auto - * Content dimensions - */ -.uk-flex-item-none { - -ms-flex: none; - -webkit-flex: none; - flex: none; -} -/* - * Relative Flex: 1 1 auto - * Space is allocated considering content - * 1. Fixes flex-shrink value in IE10 - */ -.uk-flex-item-auto { - -ms-flex: auto; - -webkit-flex: auto; - flex: auto; - /* 1 */ - -ms-flex-negative: 1; -} -/* - * Absolute Flex: 1 1 0% - * Space is allocated solely based on flex - */ -.uk-flex-item-1 { - -ms-flex: 1; - -webkit-flex: 1; - flex: 1; -} -/* ======================================================================== - Component: Contrast - ========================================================================== */ -.uk-contrast { - color: #ffffff; -} -.uk-contrast a:not([class]), -.uk-contrast .uk-link { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast a:not([class]):hover, -.uk-contrast .uk-link:hover { - color: #ffffff; - text-decoration: underline; -} -.uk-contrast :not(pre) > code, -.uk-contrast :not(pre) > kbd, -.uk-contrast :not(pre) > samp { - color: #ffffff; - border-color: rgba(255, 255, 255, 0.2); - background: rgba(255, 255, 255, 0.1); -} -.uk-contrast em { - color: #ffffff; -} -.uk-contrast h1, -.uk-contrast h2, -.uk-contrast h3, -.uk-contrast h4, -.uk-contrast h5, -.uk-contrast h6 { - color: #ffffff; -} -.uk-contrast hr { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav li > a, -.uk-contrast .uk-nav li > a:hover { - text-decoration: none; -} -.uk-contrast .uk-nav-side > li > a { - color: #ffffff; -} -.uk-contrast .uk-nav-side > li > a:hover, -.uk-contrast .uk-nav-side > li > a:focus { - background: rgba(255, 255, 255, 0.1); - color: #ffffff; - text-shadow: none; -} -.uk-contrast .uk-nav-side > li.uk-active > a { - background: #ffffff; - color: #444444; - text-shadow: none; -} -.uk-contrast .uk-nav-side .uk-nav-header { - color: #ffffff; -} -.uk-contrast .uk-nav-side .uk-nav-divider { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav-side ul a { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-nav-side ul a:hover { - color: #ffffff; -} -.uk-contrast .uk-subnav > * > a { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast .uk-subnav > * > a:hover, -.uk-contrast .uk-subnav > * > a:focus { - color: #ffffff; - text-decoration: none; -} -.uk-contrast .uk-subnav > .uk-active > a { - color: #ffffff; -} -.uk-contrast .uk-subnav-line > :nth-child(n+2):before { - border-left-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-subnav-pill > * > a:hover, -.uk-contrast .uk-subnav-pill > * > a:focus { - background: rgba(255, 255, 255, 0.7); - color: #444444; - text-decoration: none; -} -.uk-contrast .uk-subnav-pill > .uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-list-line > li:nth-child(n+2) { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-form select, -.uk-contrast .uk-form textarea, -.uk-contrast .uk-form input:not([type]), -.uk-contrast .uk-form input[type="text"], -.uk-contrast .uk-form input[type="password"], -.uk-contrast .uk-form input[type="datetime"], -.uk-contrast .uk-form input[type="datetime-local"], -.uk-contrast .uk-form input[type="date"], -.uk-contrast .uk-form input[type="month"], -.uk-contrast .uk-form input[type="time"], -.uk-contrast .uk-form input[type="week"], -.uk-contrast .uk-form input[type="number"], -.uk-contrast .uk-form input[type="email"], -.uk-contrast .uk-form input[type="url"], -.uk-contrast .uk-form input[type="search"], -.uk-contrast .uk-form input[type="tel"], -.uk-contrast .uk-form input[type="color"] { - border-color: rgba(255, 255, 255, 0.8); - background: rgba(255, 255, 255, 0.8); - color: #444444; - background-clip: padding-box; -} -.uk-contrast .uk-form select:focus, -.uk-contrast .uk-form textarea:focus, -.uk-contrast .uk-form input:not([type]):focus, -.uk-contrast .uk-form input[type="text"]:focus, -.uk-contrast .uk-form input[type="password"]:focus, -.uk-contrast .uk-form input[type="datetime"]:focus, -.uk-contrast .uk-form input[type="datetime-local"]:focus, -.uk-contrast .uk-form input[type="date"]:focus, -.uk-contrast .uk-form input[type="month"]:focus, -.uk-contrast .uk-form input[type="time"]:focus, -.uk-contrast .uk-form input[type="week"]:focus, -.uk-contrast .uk-form input[type="number"]:focus, -.uk-contrast .uk-form input[type="email"]:focus, -.uk-contrast .uk-form input[type="url"]:focus, -.uk-contrast .uk-form input[type="search"]:focus, -.uk-contrast .uk-form input[type="tel"]:focus, -.uk-contrast .uk-form input[type="color"]:focus { - border-color: #ffffff; - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-form :-ms-input-placeholder { - color: rgba(68, 68, 68, 0.7) !important; -} -.uk-contrast .uk-form ::-moz-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-form ::-webkit-input-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-button { - color: #444444; - background: #ffffff; - border-color: transparent; -} -.uk-contrast .uk-button:hover, -.uk-contrast .uk-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-button:active, -.uk-contrast .uk-button.uk-active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -.uk-contrast .uk-button-primary:hover, -.uk-contrast .uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -.uk-contrast .uk-button-primary:active, -.uk-contrast .uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -.uk-contrast .uk-icon-hover { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-icon-hover:hover { - color: #ffffff; -} -.uk-contrast .uk-icon-button { - background: #ffffff; - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:hover, -.uk-contrast .uk-icon-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-text-muted { - color: rgba(255, 255, 255, 0.6) !important; -} -.uk-contrast .uk-text-primary { - color: #2d7091 !important; -} -/* ======================================================================== - Component: Print - ========================================================================== */ -@media print { - * { - background: transparent !important; - color: black !important; - box-shadow: none !important; - text-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.almost-flat.min.css deleted file mode 100644 index 7f70f78bd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07d;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#d05;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;height:auto;-moz-box-sizing:border-box;box-sizing:border-box;border:0;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img{max-width:none}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#fafafa;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto;border:1px solid #ddd;border-radius:3px}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}@media (min-width:480px){.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-box{padding:15px;background:#fafafa;color:#444;border:1px solid #ddd;border-radius:4px}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#fff;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444;border:1px solid transparent;border-radius:4px}.uk-panel-hover:hover{background:#fafafa;color:#444;border-color:#ddd}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-panel-box .uk-panel-teaser{border-top-left-radius:4px;border-top-right-radius:4px;overflow:hidden;-webkit-transform:translateZ(0)}.uk-block{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-article+.uk-article{padding-top:25px;border-top:1px solid #ddd}.uk-comment-header{margin-bottom:15px;padding:10px;border:1px solid #ddd;border-radius:4px;background:#fafafa}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body{padding-left:10px;padding-right:10px}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:25px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:25px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-comment-primary .uk-comment-header{border-color:rgba(45,112,145,.3);background-color:#ebf7fd;color:#2d7091;text-shadow:0 1px 0 #fff}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.03);color:#444;outline:0;box-shadow:inset 0 0 1px rgba(0,0,0,.06);text-shadow:0 -1px 0 #fff}.uk-nav-side>li.uk-active>a{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd;box-shadow:0 1px 0 #fff}.uk-nav-side ul a{color:#07d}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07d}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07d}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px;border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas .uk-nav-header{color:#777;margin-top:0;border-top:1px solid rgba(0,0,0,.3);background:#404040;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid rgba(255,255,255,.01);margin:0;height:4px;background:rgba(0,0,0,.2);box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-nav-offcanvas{border-bottom:1px solid rgba(0,0,0,.3);box-shadow:0 1px 0 rgba(255,255,255,.05)}.uk-nav-offcanvas .uk-nav-sub{border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.uk-navbar{background:#f5f5f5;color:#444;border:1px solid rgba(0,0,0,.06);border-radius:4px}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:#fafafa;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-navbar-nav>li>a:active{background-color:#eee;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2)}.uk-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{-moz-box-sizing:border-box;box-sizing:border-box;display:block;height:41px;padding:0 15px;float:left;margin-top:-1px;text-shadow:0 1px 0 #fff}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07d}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px;border-bottom-left-radius:4px}.uk-navbar-flip .uk-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-navbar-flip .uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0;border-bottom-left-radius:0}.uk-navbar-flip .uk-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px;border-bottom-right-radius:4px}.uk-navbar-attached{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;border-radius:0}.uk-navbar-attached .uk-navbar-nav>li>a{border-radius:0!important}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07d;text-decoration:none}.uk-subnav>.uk-active>*{color:#07d}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px;border-radius:4px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#fafafa;color:#444;text-decoration:none;outline:0;box-shadow:0 0 0 1px rgba(0,0,0,.15)}.uk-subnav-pill>.uk-active>*{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05)}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text;box-shadow:none}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center;border:1px solid rgba(0,0,0,.06);border-radius:4px}.uk-pagination>li>a{background:#f5f5f5;color:#444;text-shadow:0 1px 0 #fff}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.16)}.uk-pagination>li>a:active{background-color:#eee;color:#444}.uk-pagination>.uk-active>span{background:#00a8e6;color:#fff;border-color:transparent;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-pagination>.uk-disabled>span{background-color:#fafafa;color:#999;border:1px solid rgba(0,0,0,.06);text-shadow:0 1px 0 #fff}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07d;text-decoration:none;border-radius:4px 4px 0 0;text-shadow:0 1px 0 #fff}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:rgba(0,0,0,.06);background:#f5f5f5;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-tab-bottom>li>a{border-radius:0 0 4px 4px}@media (min-width:768px){.uk-tab-left>li>a{border-radius:4px 0 0 4px}.uk-tab-right>li>a{border-radius:0 4px 4px 0}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px;border-bottom:1px solid #ddd}.uk-list-striped>li:nth-of-type(odd){background:#fafafa}.uk-list-space>li:nth-child(n+2){margin-top:10px}.uk-list-striped>li:first-child{border-top:1px solid #ddd}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px;border-bottom:1px solid #ddd}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#f0f0f0}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#fafafa}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#f0f0f0}.uk-form input,.uk-form select,.uk-form textarea{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all linear .2s;transition:all linear .2s;border-radius:4px}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#fafafa;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px;background:#f5f5f5;vertical-align:middle;line-height:28px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center;border:1px solid rgba(0,0,0,.06);border-radius:4px;text-shadow:0 1px 0 #fff}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#fafafa;color:#444;outline:0;text-decoration:none;border-color:rgba(0,0,0,.16)}.uk-button.uk-active,.uk-button:active{background-color:#eee;color:#444}.uk-button-primary{background-color:#00a8e6;color:#fff}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-button-success{background-color:#8cc14c;color:#fff}.uk-button-success:focus,.uk-button-success:hover{background-color:#8ec73b;color:#fff}.uk-button-success.uk-active,.uk-button-success:active{background-color:#72ae41;color:#fff}.uk-button-danger{background-color:#da314b;color:#fff}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e4354f;color:#fff}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91032;color:#fff}.uk-button:disabled{background-color:#fafafa;color:#999;border-color:rgba(0,0,0,.06);box-shadow:none;text-shadow:0 1px 0 #fff}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0;box-shadow:none;text-shadow:none}.uk-button-link{color:#07d}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:18px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:23px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:38px;font-size:16px;border-radius:5px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}.uk-button-danger,.uk-button-primary,.uk-button-success{box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-button-danger:focus,.uk-button-danger:hover,.uk-button-primary:focus,.uk-button-primary:hover,.uk-button-success:focus,.uk-button-success:hover{border-color:rgba(0,0,0,.21)}.uk-button-group>.uk-button:not(:first-child):not(:last-child),.uk-button-group>div:not(:first-child):not(:last-child) .uk-button{border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-radius:0}.uk-button-group>.uk-button:first-child,.uk-button-group>div:first-child .uk-button{border-right-color:rgba(0,0,0,.1);border-top-right-radius:0;border-bottom-right-radius:0}.uk-button-group>.uk-button:last-child,.uk-button-group>div:last-child .uk-button{border-left-color:rgba(0,0,0,.1);border-top-left-radius:0;border-bottom-left-radius:0}.uk-button-group>.uk-button:nth-child(n+2),.uk-button-group>div:nth-child(n+2) .uk-button{margin-left:-1px}.uk-button-group .uk-button:active,.uk-button-group .uk-button:hover{position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot?#iefix)format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2)format('woff2'),url(../fonts/fontawesome-webfont.woff)format("woff"),url(../fonts/fontawesome-webfont.ttf)format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#f5f5f5;line-height:35px;color:#444;font-size:18px;text-align:center;border:1px solid #e7e7e7;text-shadow:0 1px 0 #fff}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#fafafa;color:#444;outline:0;border-color:#d3d3d3}.uk-icon-button:active{background-color:#eee;color:#444}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#fff;opacity:1;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 0 6px rgba(0,0,0,.3)}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#00a8e6;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none;border:1px solid rgba(0,0,0,.06);border-radius:2px;text-shadow:0 1px 0 rgba(0,0,0,.1)}a.uk-badge:hover{color:#fff}.uk-badge-notification{-moz-box-sizing:border-box;box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#8cc14c}.uk-badge-warning{background-color:#faa732}.uk-badge-danger{background-color:#da314b}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091;border:1px solid rgba(45,112,145,.3);border-radius:4px;text-shadow:0 1px 0 #fff}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-alert-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-alert-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff;border-radius:4px}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity transform filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1)rotate(0);transform:scale(1)rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1)rotate(3deg);transform:scale(1.1)rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0)translateY(0);transform:translateX(0)translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1020;-moz-box-sizing:border-box;box-sizing:border-box;width:200px;margin-top:5px;padding:15px;background:#fff;color:#444;font-size:1rem;vertical-align:top;border:1px solid #ddd;border-radius:4px}.uk-open>.uk-dropdown{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-flip{left:auto;right:0}.uk-dropdown-up{top:auto;bottom:100%;margin-top:auto;margin-bottom:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:6px;background:#fff;color:#444;left:-1px}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-dropdown-navbar.uk-dropdown-flip{left:auto}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.3)}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px);border-radius:0}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px;margin:-20px -20px 15px -20px;padding:20px;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0;background:#fafafa}.uk-modal-footer{margin-top:15px;margin:15px -20px -20px -20px;padding:20px;border-top:1px solid #ddd;border-radius:0 0 4px 4px;background:#fafafa}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-offcanvas-bar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-offcanvas-bar-flip:after{right:auto;left:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{-moz-box-sizing:border-box;box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;margin-bottom:15px;float:left}.uk-align-medium-right{margin-left:15px;margin-bottom:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{-moz-box-sizing:border-box;box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{-moz-box-sizing:border-box;box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{-moz-box-sizing:border-box;box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both;border-radius:3px}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;width:100%}.uk-position-bottom{bottom:0;width:100%}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px)and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1)}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff;text-shadow:none}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444;text-shadow:none}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff;border-color:transparent}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-button-primary{background-color:#00a8e6;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444;border-color:transparent}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.css deleted file mode 100644 index a9637cec7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.css +++ /dev/null @@ -1,8057 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Base - ========================================================================== */ -/* - * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * 3. Style - */ -html { - /* 1 */ - font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; - /* 2 */ - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - /* 3 */ - background: #ffffff; - color: #444444; -} -/* - * Removes default margin. - */ -body { - margin: 0; -} -/* Links - ========================================================================== */ -/* - * Remove the gray background color from active links in IE 10. - */ -a { - background: transparent; -} -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; -} -/* - * Style - */ -a, -.uk-link { - color: #0077dd; - text-decoration: none; - cursor: pointer; -} -a:hover, -.uk-link:hover { - color: #005599; - text-decoration: underline; -} -/* Text-level semantics - ========================================================================== */ -/* - * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10. - */ -abbr[title] { - border-bottom: 1px dotted; -} -/* - * Addresses style set to `bolder` in Firefox - */ -b, -strong { - font-weight: bold; -} -/* - * 1. Address odd `em`-unit font size rendering in all browsers. - * 2. Consolas has a better baseline in running text compared to `Courier` - */ -:not(pre) > code, -:not(pre) > kbd, -:not(pre) > samp { - /* 1 */ - font-size: 12px; - /* 2 */ - font-family: Consolas, monospace, serif; - /* 3 */ - color: #dd0055; - white-space: nowrap; -} -/* - * Emphasize - */ -em { - color: #dd0055; -} -/* - * Insert - */ -ins { - background: #ffffaa; - color: #444444; - text-decoration: none; -} -/* - * Mark - * Note: Addresses styling not present in IE 8/9. - */ -mark { - background: #ffffaa; - color: #444444; -} -/* - * Quote - */ -q { - font-style: italic; -} -/* - * Addresses inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; -} -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -/* Images - ========================================================================== */ -/* - * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * 2. Corrects `max-width` behavior if padding and border are used - * 3. Remove border when inside `a` element in IE 8/9/10. - * 4. Remove the gap between images and the bottom of their containers - */ -img { - /* 1 */ - max-width: 100%; - height: auto; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - border: 0; - /* 4 */ - vertical-align: middle; -} -/* - * Preserve original image dimensions - */ -.uk-img-preserve, -.uk-img-preserve img { - max-width: none; -} -/* - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; -} -/* Block elements - ========================================================================== */ -/* - * Reset margin - */ -blockquote, -figure { - margin: 0; -} -/* - * Margins - */ -p, -ul, -ol, -dl, -blockquote, -pre, -address, -fieldset, -figure { - margin: 0 0 15px 0; -} -* + p, -* + ul, -* + ol, -* + dl, -* + blockquote, -* + pre, -* + address, -* + fieldset, -* + figure { - margin-top: 15px; -} -/* Headings - ========================================================================== */ -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0 0 15px 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - color: #444444; - text-transform: none; -} -/* - * Margins - */ -* + h1, -* + h2, -* + h3, -* + h4, -* + h5, -* + h6 { - margin-top: 25px; -} -/* - * Sizes - */ -h1, -.uk-h1 { - font-size: 36px; - line-height: 42px; -} -h2, -.uk-h2 { - font-size: 24px; - line-height: 30px; -} -h3, -.uk-h3 { - font-size: 18px; - line-height: 24px; -} -h4, -.uk-h4 { - font-size: 16px; - line-height: 22px; -} -h5, -.uk-h5 { - font-size: 14px; - line-height: 20px; -} -h6, -.uk-h6 { - font-size: 12px; - line-height: 18px; -} -/* Lists - ========================================================================== */ -ul, -ol { - padding-left: 30px; -} -/* - * Reset margin for nested lists - */ -ul > li > ul, -ul > li > ol, -ol > li > ol, -ol > li > ul { - margin: 0; -} -/* Description lists - ========================================================================== */ -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -/* Horizontal rules - ========================================================================== */ -/* - * 1. Address differences between Firefox and other browsers. - * 2. Style - */ -hr { - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; - /* 2 */ - margin: 15px 0; - border: 0; - border-top: 1px solid #dddddd; -} -/* Address - ========================================================================== */ -address { - font-style: normal; -} -/* Blockquotes - ========================================================================== */ -blockquote { - padding-left: 15px; - border-left: 5px solid #dddddd; - font-size: 16px; - line-height: 22px; - font-style: italic; -} -/* Preformatted text - ========================================================================== */ -/* - * 1. Contain overflow in all browsers. - */ -pre { - padding: 10px; - background: #f5f5f5; - font: 12px / 18px Consolas, monospace, serif; - color: #444444; - -moz-tab-size: 4; - tab-size: 4; - /* 1 */ - overflow: auto; -} -/* Selection pseudo-element - ========================================================================== */ -::-moz-selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -::selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -/* HTML5 elements - ========================================================================== */ -/* - * Corrects `block` display not defined in IE 8/9. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -main, -nav, -section, -summary { - display: block; -} -/* - * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera. - */ -progress { - vertical-align: baseline; -} -/* - * Prevent displaying `audio` without controls in Chrome, Safari and Opera - */ -audio:not([controls]) { - display: none; -} -/* - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE and Safari - */ -[hidden], -template { - display: none; -} -/* Iframe - ========================================================================== */ -iframe { - border: 0; -} -/* Fix viewport for IE10 snap mode - ========================================================================== */ -@media screen and (max-width: 400px) { - @-ms-viewport { - width: device-width; - } -} -/* ======================================================================== - Component: Grid - ========================================================================== */ -/* - * 1. Makes grid more robust so that it can be used with other block elements like lists - */ -.uk-grid { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * DEPRECATED - * Micro clearfix - * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit - */ -.uk-grid:before, -.uk-grid:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-grid:after { - clear: both; -} -/* - * Grid cell - * 1. Space is allocated solely based on content dimensions - * 2. Makes grid more robust so that it can be used with other block elements - * 3. DEPRECATED Using `float` to support IE9 - */ -.uk-grid > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - margin: 0; - /* 3 */ - float: left; -} -/* - * Remove margin from the last-child - */ -.uk-grid > * > :last-child { - margin-bottom: 0; -} -/* Grid gutter - ========================================================================== */ -/* - * Default gutter - */ -/* Horizontal */ -.uk-grid { - margin-left: -25px; -} -.uk-grid > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid + .uk-grid, -.uk-grid-margin, -.uk-grid > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* Horizontal */ - .uk-grid { - margin-left: -35px; - } - .uk-grid > * { - padding-left: 35px; - } - /* Vertical */ - .uk-grid + .uk-grid, - .uk-grid-margin, - .uk-grid > * > .uk-panel + .uk-panel { - margin-top: 35px; - } -} -/* - * Collapse gutter - */ -/* Horizontal */ -.uk-grid-collapse { - margin-left: 0; -} -.uk-grid-collapse > * { - padding-left: 0; -} -/* Vertical */ -.uk-grid-collapse + .uk-grid-collapse, -.uk-grid-collapse > .uk-grid-margin, -.uk-grid-collapse > * > .uk-panel + .uk-panel { - margin-top: 0; -} -/* - * Small gutter - */ -/* Horizontal */ -.uk-grid-small { - margin-left: -10px; -} -.uk-grid-small > * { - padding-left: 10px; -} -/* Vertical */ -.uk-grid-small + .uk-grid-small, -.uk-grid-small > .uk-grid-margin, -.uk-grid-small > * > .uk-panel + .uk-panel { - margin-top: 10px; -} -/* - * Medium gutter - */ -/* Horizontal */ -.uk-grid-medium { - margin-left: -25px; -} -.uk-grid-medium > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid-medium + .uk-grid-medium, -.uk-grid-medium > .uk-grid-margin, -.uk-grid-medium > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Modifier: `uk-grid-divider` - ========================================================================== */ -/* - * Horizontal divider - * Only works with the default gutter. Does not work with gutter collapse, small or large. - * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. - */ -.uk-grid-divider:not(:empty) { - margin-left: -25px; - margin-right: -25px; -} -.uk-grid-divider > * { - padding-left: 25px; - padding-right: 25px; -} -.uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), -.uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { - border-left: 1px solid #dddddd; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* - * Large gutter - */ - .uk-grid-divider:not(:empty) { - margin-left: -35px; - margin-right: -35px; - } - .uk-grid-divider > * { - padding-left: 35px; - padding-right: 35px; - } - .uk-grid-divider:empty { - margin-top: 35px; - margin-bottom: 35px; - } -} -/* - * Vertical divider - */ -.uk-grid-divider:empty { - margin-top: 25px; - margin-bottom: 25px; - border-top: 1px solid #dddddd; -} -/* Match panels in grids - ========================================================================== */ -.uk-grid-match > * { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -/* - * 1. Behave like a block element - */ -.uk-grid-match > * > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* Even grid cell widths - ========================================================================== */ -[class*='uk-grid-width'] > * { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -.uk-grid-width-1-2 > * { - width: 50%; -} -.uk-grid-width-1-3 > * { - width: 33.333%; -} -.uk-grid-width-1-4 > * { - width: 25%; -} -.uk-grid-width-1-5 > * { - width: 20%; -} -.uk-grid-width-1-6 > * { - width: 16.666%; -} -.uk-grid-width-1-10 > * { - width: 10%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-grid-width-small-1-2 > * { - width: 50%; - } - .uk-grid-width-small-1-3 > * { - width: 33.333%; - } - .uk-grid-width-small-1-4 > * { - width: 25%; - } - .uk-grid-width-small-1-5 > * { - width: 20%; - } - .uk-grid-width-small-1-6 > * { - width: 16.666%; - } - .uk-grid-width-small-1-10 > * { - width: 10%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-width-medium-1-2 > * { - width: 50%; - } - .uk-grid-width-medium-1-3 > * { - width: 33.333%; - } - .uk-grid-width-medium-1-4 > * { - width: 25%; - } - .uk-grid-width-medium-1-5 > * { - width: 20%; - } - .uk-grid-width-medium-1-6 > * { - width: 16.666%; - } - .uk-grid-width-medium-1-10 > * { - width: 10%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-width-large-1-2 > * { - width: 50%; - } - .uk-grid-width-large-1-3 > * { - width: 33.333%; - } - .uk-grid-width-large-1-4 > * { - width: 25%; - } - .uk-grid-width-large-1-5 > * { - width: 20%; - } - .uk-grid-width-large-1-6 > * { - width: 16.666%; - } - .uk-grid-width-large-1-10 > * { - width: 10%; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-grid-width-xlarge-1-2 > * { - width: 50%; - } - .uk-grid-width-xlarge-1-3 > * { - width: 33.333%; - } - .uk-grid-width-xlarge-1-4 > * { - width: 25%; - } - .uk-grid-width-xlarge-1-5 > * { - width: 20%; - } - .uk-grid-width-xlarge-1-6 > * { - width: 16.666%; - } - .uk-grid-width-xlarge-1-10 > * { - width: 10%; - } -} -/* Sub-objects: `uk-width-*` - ========================================================================== */ -[class*='uk-width'] { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* - * Widths - */ -/* Whole */ -.uk-width-1-1 { - width: 100%; -} -/* Halves */ -.uk-width-1-2, -.uk-width-2-4, -.uk-width-3-6, -.uk-width-5-10 { - width: 50%; -} -/* Thirds */ -.uk-width-1-3, -.uk-width-2-6 { - width: 33.333%; -} -.uk-width-2-3, -.uk-width-4-6 { - width: 66.666%; -} -/* Quarters */ -.uk-width-1-4 { - width: 25%; -} -.uk-width-3-4 { - width: 75%; -} -/* Fifths */ -.uk-width-1-5, -.uk-width-2-10 { - width: 20%; -} -.uk-width-2-5, -.uk-width-4-10 { - width: 40%; -} -.uk-width-3-5, -.uk-width-6-10 { - width: 60%; -} -.uk-width-4-5, -.uk-width-8-10 { - width: 80%; -} -/* Sixths */ -.uk-width-1-6 { - width: 16.666%; -} -.uk-width-5-6 { - width: 83.333%; -} -/* Tenths */ -.uk-width-1-10 { - width: 10%; -} -.uk-width-3-10 { - width: 30%; -} -.uk-width-7-10 { - width: 70%; -} -.uk-width-9-10 { - width: 90%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - /* Whole */ - .uk-width-small-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-small-1-2, - .uk-width-small-2-4, - .uk-width-small-3-6, - .uk-width-small-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-small-1-3, - .uk-width-small-2-6 { - width: 33.333%; - } - .uk-width-small-2-3, - .uk-width-small-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-small-1-4 { - width: 25%; - } - .uk-width-small-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-small-1-5, - .uk-width-small-2-10 { - width: 20%; - } - .uk-width-small-2-5, - .uk-width-small-4-10 { - width: 40%; - } - .uk-width-small-3-5, - .uk-width-small-6-10 { - width: 60%; - } - .uk-width-small-4-5, - .uk-width-small-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-small-1-6 { - width: 16.666%; - } - .uk-width-small-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-small-1-10 { - width: 10%; - } - .uk-width-small-3-10 { - width: 30%; - } - .uk-width-small-7-10 { - width: 70%; - } - .uk-width-small-9-10 { - width: 90%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* Whole */ - .uk-width-medium-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-medium-1-2, - .uk-width-medium-2-4, - .uk-width-medium-3-6, - .uk-width-medium-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-medium-1-3, - .uk-width-medium-2-6 { - width: 33.333%; - } - .uk-width-medium-2-3, - .uk-width-medium-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-medium-1-4 { - width: 25%; - } - .uk-width-medium-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-medium-1-5, - .uk-width-medium-2-10 { - width: 20%; - } - .uk-width-medium-2-5, - .uk-width-medium-4-10 { - width: 40%; - } - .uk-width-medium-3-5, - .uk-width-medium-6-10 { - width: 60%; - } - .uk-width-medium-4-5, - .uk-width-medium-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-medium-1-6 { - width: 16.666%; - } - .uk-width-medium-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-medium-1-10 { - width: 10%; - } - .uk-width-medium-3-10 { - width: 30%; - } - .uk-width-medium-7-10 { - width: 70%; - } - .uk-width-medium-9-10 { - width: 90%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - /* Whole */ - .uk-width-large-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-large-1-2, - .uk-width-large-2-4, - .uk-width-large-3-6, - .uk-width-large-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-large-1-3, - .uk-width-large-2-6 { - width: 33.333%; - } - .uk-width-large-2-3, - .uk-width-large-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-large-1-4 { - width: 25%; - } - .uk-width-large-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-large-1-5, - .uk-width-large-2-10 { - width: 20%; - } - .uk-width-large-2-5, - .uk-width-large-4-10 { - width: 40%; - } - .uk-width-large-3-5, - .uk-width-large-6-10 { - width: 60%; - } - .uk-width-large-4-5, - .uk-width-large-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-large-1-6 { - width: 16.666%; - } - .uk-width-large-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-large-1-10 { - width: 10%; - } - .uk-width-large-3-10 { - width: 30%; - } - .uk-width-large-7-10 { - width: 70%; - } - .uk-width-large-9-10 { - width: 90%; - } -} -/* Sub-object: `uk-push-*` and `uk-pull-*` - ========================================================================== */ -/* - * Source ordering - * Works only with `uk-width-medium-*` - */ -/* Tablet and bigger */ -@media (min-width: 768px) { - [class*='uk-push-'], - [class*='uk-pull-'] { - position: relative; - } - /* - * Push - */ - /* Halves */ - .uk-push-1-2, - .uk-push-2-4, - .uk-push-3-6, - .uk-push-5-10 { - left: 50%; - } - /* Thirds */ - .uk-push-1-3, - .uk-push-2-6 { - left: 33.333%; - } - .uk-push-2-3, - .uk-push-4-6 { - left: 66.666%; - } - /* Quarters */ - .uk-push-1-4 { - left: 25%; - } - .uk-push-3-4 { - left: 75%; - } - /* Fifths */ - .uk-push-1-5, - .uk-push-2-10 { - left: 20%; - } - .uk-push-2-5, - .uk-push-4-10 { - left: 40%; - } - .uk-push-3-5, - .uk-push-6-10 { - left: 60%; - } - .uk-push-4-5, - .uk-push-8-10 { - left: 80%; - } - /* Sixths */ - .uk-push-1-6 { - left: 16.666%; - } - .uk-push-5-6 { - left: 83.333%; - } - /* Tenths */ - .uk-push-1-10 { - left: 10%; - } - .uk-push-3-10 { - left: 30%; - } - .uk-push-7-10 { - left: 70%; - } - .uk-push-9-10 { - left: 90%; - } - /* - * Pull - */ - /* Halves */ - .uk-pull-1-2, - .uk-pull-2-4, - .uk-pull-3-6, - .uk-pull-5-10 { - left: -50%; - } - /* Thirds */ - .uk-pull-1-3, - .uk-pull-2-6 { - left: -33.333%; - } - .uk-pull-2-3, - .uk-pull-4-6 { - left: -66.666%; - } - /* Quarters */ - .uk-pull-1-4 { - left: -25%; - } - .uk-pull-3-4 { - left: -75%; - } - /* Fifths */ - .uk-pull-1-5, - .uk-pull-2-10 { - left: -20%; - } - .uk-pull-2-5, - .uk-pull-4-10 { - left: -40%; - } - .uk-pull-3-5, - .uk-pull-6-10 { - left: -60%; - } - .uk-pull-4-5, - .uk-pull-8-10 { - left: -80%; - } - /* Sixths */ - .uk-pull-1-6 { - left: -16.666%; - } - .uk-pull-5-6 { - left: -83.333%; - } - /* Tenths */ - .uk-pull-1-10 { - left: -10%; - } - .uk-pull-3-10 { - left: -30%; - } - .uk-pull-7-10 { - left: -70%; - } - .uk-pull-9-10 { - left: -90%; - } -} -/* ======================================================================== - Component: Panel - ========================================================================== */ -/* - * 1. Needed for `a` elements - * 2. Create position context for badges - */ -.uk-panel { - /* 1 */ - display: block; - /* 2 */ - position: relative; -} -/* - * Allow panels to be anchors - */ -.uk-panel, -.uk-panel:hover { - text-decoration: none; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-panel:before, -.uk-panel:after { - content: ""; - display: table; -} -.uk-panel:after { - clear: both; -} -/* - * Remove margin from the last-child if not `uk-widget-title` - */ -.uk-panel > :not(.uk-panel-title):last-child { - margin-bottom: 0; -} -/* Sub-object: `uk-panel-title` - ========================================================================== */ -.uk-panel-title { - margin-top: 0; - margin-bottom: 15px; - font-size: 18px; - line-height: 24px; - font-weight: normal; - text-transform: none; - color: #444444; -} -/* Sub-object: `uk-panel-badge` - ========================================================================== */ -.uk-panel-badge { - position: absolute; - top: 0; - right: 0; - z-index: 1; -} -/* Sub-object: `uk-panel-teaser` - ========================================================================== */ -.uk-panel-teaser { - margin-bottom: 15px; -} -/* Modifier: `uk-panel-box` - ========================================================================== */ -.uk-panel-box { - padding: 15px; - background: #f5f5f5; - color: #444444; -} -.uk-panel-box-hover:hover { - color: #444444; -} -.uk-panel-box .uk-panel-title { - color: #444444; -} -.uk-panel-box .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-box .uk-panel-teaser { - margin-top: -15px; - margin-left: -15px; - margin-right: -15px; -} -/* - * Nav in panel - */ -.uk-panel-box > .uk-nav-side { - margin: 0 -15px; -} -/* - * Sub-modifier: `uk-panel-box-primary` - */ -.uk-panel-box-primary { - background-color: #ebf7fd; - color: #2d7091; -} -.uk-panel-box-primary-hover:hover { - color: #2d7091; -} -.uk-panel-box-primary .uk-panel-title { - color: #2d7091; -} -/* - * Sub-modifier: `uk-panel-box-secondary` - */ -.uk-panel-box-secondary { - background-color: #eeeeee; - color: #444444; -} -.uk-panel-box-secondary-hover:hover { - color: #444444; -} -.uk-panel-box-secondary .uk-panel-title { - color: #444444; -} -/* Modifier: `uk-panel-hover` - ========================================================================== */ -.uk-panel-hover { - padding: 15px; - color: #444444; -} -.uk-panel-hover:hover { - background: #f5f5f5; - color: #444444; -} -.uk-panel-hover .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-hover .uk-panel-teaser { - margin-top: -15px; - margin-left: -15px; - margin-right: -15px; -} -/* Modifier: `uk-panel-header` - ========================================================================== */ -.uk-panel-header .uk-panel-title { - padding-bottom: 10px; - border-bottom: 1px solid #dddddd; - color: #444444; -} -/* Modifier: `uk-panel-space` - ========================================================================== */ -.uk-panel-space { - padding: 30px; -} -.uk-panel-space .uk-panel-badge { - top: 30px; - right: 30px; -} -/* Modifier: `uk-panel-divider` - ========================================================================== */ -.uk-panel + .uk-panel-divider { - margin-top: 50px !important; -} -.uk-panel + .uk-panel-divider:before { - content: ""; - display: block; - position: absolute; - top: -25px; - left: 0; - right: 0; - border-top: 1px solid #dddddd; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-panel + .uk-panel-divider { - margin-top: 70px !important; - } - .uk-panel + .uk-panel-divider:before { - top: -35px; - } -} -/* ======================================================================== - Component: Block - ========================================================================== */ -.uk-block { - position: relative; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-top: 20px; - padding-bottom: 20px; -} -/* Phone landscape and bigger */ -@media (min-width: 768px) { - .uk-block { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* - * Micro clearfix to make blocks more robust - */ -.uk-block:before, -.uk-block:after { - content: ""; - display: table; -} -.uk-block:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-block > :last-child { - margin-bottom: 0; -} -/* Padding Modifier - ========================================================================== */ -/* - * Large padding - */ -.uk-block-large { - padding-top: 20px; - padding-bottom: 20px; -} -/* Tablets and bigger */ -@media (min-width: 768px) { - .uk-block-large { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-block-large { - padding-top: 100px; - padding-bottom: 100px; - } -} -/* Color Modifier - ========================================================================== */ -/* - * Default - */ -.uk-block-default { - background: #ffffff; -} -/* - * Muted - */ -.uk-block-muted { - background: #f9f9f9; -} -/* - * Primary - */ -.uk-block-primary { - background: #00a8e6; -} -/* - * Secondary - */ -.uk-block-secondary { - background: #222222; -} -/* - * Adjust padding between equal colored blocks - */ -.uk-block-default + .uk-block-default, -.uk-block-muted + .uk-block-muted, -.uk-block-primary + .uk-block-primary, -.uk-block-secondary + .uk-block-secondary { - padding-top: 0; -} -/* ======================================================================== - Component: Article - ========================================================================== */ -/* - * Micro clearfix to make articles more robust - */ -.uk-article:before, -.uk-article:after { - content: ""; - display: table; -} -.uk-article:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-article > :last-child { - margin-bottom: 0; -} -/* - * Vertical gutter for articles - */ -.uk-article + .uk-article { - margin-top: 25px; -} -/* Sub-object `uk-article-title` - ========================================================================== */ -.uk-article-title { - font-size: 36px; - line-height: 42px; - font-weight: normal; - text-transform: none; -} -.uk-article-title a { - color: inherit; - text-decoration: none; -} -/* Sub-object `uk-article-meta` - ========================================================================== */ -.uk-article-meta { - font-size: 12px; - line-height: 18px; - color: #999999; -} -/* Sub-object `uk-article-lead` - ========================================================================== */ -.uk-article-lead { - color: #444444; - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Sub-object `uk-article-divider` - ========================================================================== */ -.uk-article-divider { - margin-bottom: 25px; - border-color: #dddddd; -} -* + .uk-article-divider { - margin-top: 25px; -} -/* ======================================================================== - Component: Comment - ========================================================================== */ -/* Sub-object `uk-comment-header` - ========================================================================== */ -.uk-comment-header { - margin-bottom: 15px; -} -/* - * Micro clearfix - */ -.uk-comment-header:before, -.uk-comment-header:after { - content: ""; - display: table; -} -.uk-comment-header:after { - clear: both; -} -/* Sub-object `uk-comment-avatar` - ========================================================================== */ -.uk-comment-avatar { - margin-right: 15px; - float: left; -} -/* Sub-object `uk-comment-title` - ========================================================================== */ -.uk-comment-title { - margin: 5px 0 0 0; - font-size: 16px; - line-height: 22px; -} -/* Sub-object `uk-comment-meta` - ========================================================================== */ -.uk-comment-meta { - margin: 2px 0 0 0; - font-size: 11px; - line-height: 16px; - color: #999999; -} -/* Sub-object `uk-comment-body` - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-comment-body > :last-child { - margin-bottom: 0; -} -/* Sub-object `uk-comment-list` - ========================================================================== */ -.uk-comment-list { - padding: 0; - list-style: none; -} -.uk-comment-list .uk-comment + ul { - margin: 15px 0 0 0; - list-style: none; -} -.uk-comment-list > li:nth-child(n+2), -.uk-comment-list .uk-comment + ul > li:nth-child(n+2) { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-comment-list .uk-comment + ul { - padding-left: 100px; - } -} -/* Modifier `uk-comment-primary` - ========================================================================== */ -/* ======================================================================== - Component: Cover - ========================================================================== */ -/* - * Background image always covers and centers its element - */ -.uk-cover-background { - background-position: 50% 50%; - background-size: cover; - background-repeat: no-repeat; -} -/* - * Emulates image cover, works with video and image elements - * 1. Parent container which clips resized object - * 2. Resizes the object to always covers its container - * 3. Reset the responsive image CSS - * 4. Center object - */ -/* 1 */ -.uk-cover { - overflow: hidden; -} -.uk-cover-object { - /* 2 */ - width: auto; - height: auto; - min-width: 100%; - min-height: 100%; - /* 3 */ - max-width: none; - /* 4 */ - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* - * To center iframes use `data-uk-cover` JavaScript - */ -[data-uk-cover] { - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* ======================================================================== - Component: Nav - ========================================================================== */ -.uk-nav, -.uk-nav ul { - margin: 0; - padding: 0; - list-style: none; -} -/* - * Items - */ -.uk-nav li > a { - display: block; - text-decoration: none; -} -.uk-nav > li > a { - padding: 5px 15px; -} -/* - * Nested items - */ -.uk-nav ul { - padding-left: 15px; -} -.uk-nav ul a { - padding: 2px 0; -} -/* - * Item subtitle - */ -.uk-nav li > a > div { - font-size: 12px; - line-height: 18px; -} -/* Sub-object: `uk-nav-header` - ========================================================================== */ -.uk-nav-header { - padding: 5px 15px; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} -.uk-nav-header:not(:first-child) { - margin-top: 15px; -} -/* Sub-object: `uk-nav-divider` - ========================================================================== */ -.uk-nav-divider { - margin: 9px 15px; -} -/* Sub-object: `uk-nav-sub` - ========================================================================== */ -/* - * `ul` needed for higher specificity to override padding - */ -ul.uk-nav-sub { - padding: 5px 0 5px 15px; -} -/* Modifier: `uk-nav-parent-icon` - ========================================================================== */ -.uk-nav-parent-icon > .uk-parent > a:after { - content: "\f104"; - width: 20px; - margin-right: -10px; - float: right; - font-family: FontAwesome; - text-align: center; -} -.uk-nav-parent-icon > .uk-parent.uk-open > a:after { - content: "\f107"; -} -/* Modifier `uk-nav-side` - ========================================================================== */ -/* - * Items - */ -.uk-nav-side > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-side > li > a:hover, -.uk-nav-side > li > a:focus { - background: rgba(0, 0, 0, 0.05); - color: #444444; - /* 2 */ - outline: none; -} -/* Active */ -.uk-nav-side > li.uk-active > a { - background: #00a8e6; - color: #ffffff; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-side .uk-nav-header { - color: #444444; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-side .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-side ul a { - color: #0077dd; -} -.uk-nav-side ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-dropdown` - ========================================================================== */ -/* - * Items - */ -.uk-nav-dropdown > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-dropdown > li > a:hover, -.uk-nav-dropdown > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-dropdown .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-dropdown .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-dropdown ul a { - color: #0077dd; -} -.uk-nav-dropdown ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-navbar` - ========================================================================== */ -/* - * Items - */ -.uk-nav-navbar > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-navbar > li > a:hover, -.uk-nav-navbar > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-navbar .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-navbar .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-navbar ul a { - color: #0077dd; -} -.uk-nav-navbar ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-offcanvas` - ========================================================================== */ -/* - * Items - */ -.uk-nav-offcanvas > li > a { - color: #cccccc; - padding: 10px 15px; -} -/* - * Hover - * No hover on touch devices because it behaves buggy in fixed offcanvas - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-offcanvas > .uk-open > a, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { - background: #404040; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Active - * `html .uk-nav` needed for higher specificity to override hover - */ -html .uk-nav.uk-nav-offcanvas > li.uk-active > a { - background: #1a1a1a; - color: #ffffff; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-offcanvas .uk-nav-header { - color: #777777; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-offcanvas .uk-nav-divider { - border-top: 1px solid #1a1a1a; -} -/* - * Nested items - * No hover on touch devices because it behaves buggy in fixed offcanvas - */ -.uk-nav-offcanvas ul a { - color: #cccccc; -} -html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { - color: #ffffff; -} -/* ======================================================================== - Component: Navbar - ========================================================================== */ -.uk-navbar { - background: #eeeeee; - color: #444444; -} -/* - * Micro clearfix - */ -.uk-navbar:before, -.uk-navbar:after { - content: ""; - display: table; -} -.uk-navbar:after { - clear: both; -} -/* Sub-object: `uk-navbar-nav` - ========================================================================== */ -.uk-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -/* - * 1. Create position context for dropdowns - */ -.uk-navbar-nav > li { - float: left; - /* 1 */ - position: relative; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 40px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; -} -/* Appear not as link */ -.uk-navbar-nav > li > a[href='#'] { - cursor: text; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-navbar-nav > li:hover > a, -.uk-navbar-nav > li > a:focus, -.uk-navbar-nav > li.uk-open > a { - background-color: #f5f5f5; - color: #444444; - /* 3 */ - outline: none; -} -/* OnClick */ -.uk-navbar-nav > li > a:active { - background-color: #dddddd; - color: #444444; -} -/* Active */ -.uk-navbar-nav > li.uk-active > a { - background-color: #f5f5f5; - color: #444444; -} -/* Sub-objects: `uk-navbar-nav-subtitle` - ========================================================================== */ -.uk-navbar-nav .uk-navbar-nav-subtitle { - line-height: 28px; -} -.uk-navbar-nav-subtitle > div { - margin-top: -6px; - font-size: 10px; - line-height: 12px; -} -/* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` - ========================================================================== */ -/* - * Imitate navbar items - */ -.uk-navbar-content, -.uk-navbar-brand, -.uk-navbar-toggle { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - height: 40px; - padding: 0 15px; - float: left; -} -/* - * Helper to center all child elements vertically - */ -.uk-navbar-content:before, -.uk-navbar-brand:before, -.uk-navbar-toggle:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* Sub-objects: `uk-navbar-content` - ========================================================================== */ -/* - * Better sibling spacing - */ -.uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { - padding-left: 0; -} -/* - * Link colors - */ -.uk-navbar-content > a:not([class]) { - color: #0077dd; -} -.uk-navbar-content > a:not([class]):hover { - color: #005599; -} -/* Sub-objects: `uk-navbar-brand` - ========================================================================== */ -.uk-navbar-brand { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-brand:hover, -.uk-navbar-brand:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* Sub-object: `uk-navbar-toggle` - ========================================================================== */ -.uk-navbar-toggle { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-toggle:hover, -.uk-navbar-toggle:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * 1. Center icon vertically - */ -.uk-navbar-toggle:after { - content: "\f0c9"; - font-family: FontAwesome; - /* 1 */ - vertical-align: middle; -} -.uk-navbar-toggle-alt:after { - content: "\f002"; -} -/* Sub-object: `uk-navbar-center` - ========================================================================== */ -/* - * The element with this class needs to be last child in the navbar - * 1. This hack is needed because other float elements shift centered text - */ -.uk-navbar-center { - float: none; - text-align: center; - /* 1 */ - max-width: 50%; - margin-left: auto; - margin-right: auto; -} -/* Sub-object: `uk-navbar-flip` - ========================================================================== */ -.uk-navbar-flip { - float: right; -} -/* ======================================================================== - Component: Subnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-subnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - * 3. Create position context for dropdowns - */ -.uk-subnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; - /* 3 */ - position: relative; -} -/* - * DEPRECATED IE9 Support - */ -.uk-subnav:before, -.uk-subnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-subnav:after { - clear: both; -} -.uk-subnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-subnav > * > * { - display: inline-block; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-subnav > * > :hover, -.uk-subnav > * > :focus { - color: #0077dd; - text-decoration: none; -} -/* - * Active - */ -.uk-subnav > .uk-active > * { - color: #0077dd; -} -/* Modifier: 'subnav-line' - ========================================================================== */ -.uk-subnav-line > :before { - content: ""; - display: inline-block; - height: 10px; - vertical-align: middle; -} -.uk-subnav-line > :nth-child(n+2):before { - margin-right: 10px; - border-left: 1px solid #dddddd; -} -/* Modifier: 'subnav-pill' - ========================================================================== */ -.uk-subnav-pill > * > * { - padding: 3px 9px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-subnav-pill > * > :hover, -.uk-subnav-pill > * > :focus { - background: #eeeeee; - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * Active - * `li` needed for higher specificity to override hover - */ -.uk-subnav-pill > .uk-active > * { - background: #00a8e6; - color: #ffffff; -} -/* Disabled state - ========================================================================== */ -.uk-subnav > .uk-disabled > * { - background: none; - color: #999999; - text-decoration: none; - cursor: text; -} -/* ======================================================================== - Component: Breadcrumb - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Remove whitespace between child elements when using `inline-block` - */ -.uk-breadcrumb { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - font-size: 0.001px; -} -/* Items - ========================================================================== */ -/* - * Reset whitespace hack - */ -.uk-breadcrumb > li { - font-size: 1rem; - vertical-align: top; -} -.uk-breadcrumb > li, -.uk-breadcrumb > li > a, -.uk-breadcrumb > li > span { - display: inline-block; -} -.uk-breadcrumb > li:nth-child(n+2):before { - content: "/"; - display: inline-block; - margin: 0 8px; -} -/* - * Disabled - */ -.uk-breadcrumb > li:not(.uk-active) > span { - color: #999999; -} -/* ======================================================================== - Component: Pagination - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Center pagination by default - * 3. Remove whitespace between child elements when using `inline-block` - */ -.uk-pagination { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - text-align: center; - /* 3 */ - font-size: 0.001px; -} -/* - * Micro clearfix - * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used - */ -.uk-pagination:before, -.uk-pagination:after { - content: ""; - display: table; -} -.uk-pagination:after { - clear: both; -} -/* Items - ========================================================================== */ -/* - * 1. Reset whitespace hack - * 2. Remove the gap at the bottom of it container - */ -.uk-pagination > li { - display: inline-block; - /* 1 */ - font-size: 1rem; - /* 2 */ - vertical-align: top; -} -.uk-pagination > li:nth-child(n+2) { - margin-left: 5px; -} -/* - * 1. Makes pagination more robust against different box-sizing use - * 2. Reset text-align to center if alignment modifier is used - */ -.uk-pagination > li > a, -.uk-pagination > li > span { - display: inline-block; - min-width: 16px; - padding: 3px 5px; - line-height: 20px; - text-decoration: none; - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - /* 2 */ - text-align: center; -} -/* - * Links - */ -.uk-pagination > li > a { - background: #eeeeee; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-pagination > li > a:hover, -.uk-pagination > li > a:focus { - background-color: #f5f5f5; - color: #444444; - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-pagination > li > a:active { - background-color: #dddddd; - color: #444444; -} -/* - * Active - */ -.uk-pagination > .uk-active > span { - background: #00a8e6; - color: #ffffff; -} -/* - * Disabled - */ -.uk-pagination > .uk-disabled > span { - background-color: #f5f5f5; - color: #999999; -} -/* Previous and next navigation - ========================================================================== */ -.uk-pagination-previous { - float: left; -} -.uk-pagination-next { - float: right; -} -/* Alignment modifiers - ========================================================================== */ -.uk-pagination-left { - text-align: left; -} -.uk-pagination-right { - text-align: right; -} -/* ======================================================================== - Component: Tab - ========================================================================== */ -.uk-tab { - margin: 0; - padding: 0; - list-style: none; - border-bottom: 1px solid #dddddd; -} -/* - * Micro clearfix on the deepest container - */ -.uk-tab:before, -.uk-tab:after { - content: ""; - display: table; -} -.uk-tab:after { - clear: both; -} -/* - * Items - * 1. Create position context for dropdowns - */ -.uk-tab > li { - margin-bottom: -1px; - float: left; - /* 1 */ - position: relative; -} -.uk-tab > li > a { - display: block; - padding: 8px 12px 8px 12px; - border: 1px solid transparent; - border-bottom-width: 0; - color: #0077dd; - text-decoration: none; -} -.uk-tab > li:nth-child(n+2) > a { - margin-left: 5px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-tab > li > a:hover, -.uk-tab > li > a:focus, -.uk-tab > li.uk-open > a { - border-color: #f5f5f5; - background: #f5f5f5; - color: #005599; - /* 2 */ - outline: none; -} -.uk-tab > li:not(.uk-active) > a:hover, -.uk-tab > li:not(.uk-active) > a:focus, -.uk-tab > li.uk-open:not(.uk-active) > a { - margin-bottom: 1px; - padding-bottom: 7px; -} -/* Active */ -.uk-tab > li.uk-active > a { - border-color: #dddddd; - border-bottom-color: transparent; - background: #ffffff; - color: #444444; -} -/* Disabled */ -.uk-tab > li.uk-disabled > a { - color: #999999; - cursor: text; -} -.uk-tab > li.uk-disabled > a:hover, -.uk-tab > li.uk-disabled > a:focus, -.uk-tab > li.uk-disabled.uk-active > a { - background: none; - border-color: transparent; -} -/* Modifier: 'tab-flip' - ========================================================================== */ -.uk-tab-flip > li { - float: right; -} -.uk-tab-flip > li:nth-child(n+2) > a { - margin-left: 0; - margin-right: 5px; -} -/* Modifier: 'tab-responsive' - ========================================================================== */ -.uk-tab > li.uk-tab-responsive > a { - margin-left: 0; - margin-right: 0; -} -/* - * Icon - */ -.uk-tab-responsive > a:before { - content: "\f0c9\00a0"; - font-family: FontAwesome; -} -/* Modifier: 'tab-center' - ========================================================================== */ -.uk-tab-center { - border-bottom: 1px solid #dddddd; -} -.uk-tab-center-bottom { - border-bottom: none; - border-top: 1px solid #dddddd; -} -.uk-tab-center:before, -.uk-tab-center:after { - content: ""; - display: table; -} -.uk-tab-center:after { - clear: both; -} -/* - * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs - */ -.uk-tab-center .uk-tab { - position: relative; - right: 50%; - border: none; - float: right; -} -.uk-tab-center .uk-tab > li { - position: relative; - right: -50%; -} -.uk-tab-center .uk-tab > li > a { - text-align: center; -} -/* Modifier: 'tab-bottom' - ========================================================================== */ -.uk-tab-bottom { - border-top: 1px solid #dddddd; - border-bottom: none; -} -.uk-tab-bottom > li { - margin-top: -1px; - margin-bottom: 0; -} -.uk-tab-bottom > li > a { - padding-top: 8px; - padding-bottom: 8px; - border-bottom-width: 1px; - border-top-width: 0; -} -.uk-tab-bottom > li:not(.uk-active) > a:hover, -.uk-tab-bottom > li:not(.uk-active) > a:focus, -.uk-tab-bottom > li.uk-open:not(.uk-active) > a { - margin-bottom: 0; - margin-top: 1px; - padding-bottom: 8px; - padding-top: 7px; -} -.uk-tab-bottom > li.uk-active > a { - border-top-color: transparent; - border-bottom-color: #dddddd; -} -/* Modifier: 'tab-grid' - ========================================================================== */ -/* - * 1. Create position context to prevent hidden border because of negative `z-index` - */ -.uk-tab-grid { - margin-left: -5px; - border-bottom: none; - /* 1 */ - position: relative; - z-index: 0; -} -.uk-tab-grid:before { - display: block; - position: absolute; - left: 5px; - right: 0; - bottom: -1px; - border-top: 1px solid #dddddd; - /* 1 */ - z-index: -1; -} -.uk-tab-grid > li:first-child > a { - margin-left: 5px; -} -.uk-tab-grid > li > a { - text-align: center; -} -/* - * If `uk-tab-bottom` - */ -.uk-tab-grid.uk-tab-bottom { - border-top: none; -} -.uk-tab-grid.uk-tab-bottom:before { - top: -1px; - bottom: auto; -} -/* Modifier: 'tab-left', 'tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-tab-left, - .uk-tab-right { - border-bottom: none; - } - .uk-tab-left > li, - .uk-tab-right > li { - margin-bottom: 0; - float: none; - } - .uk-tab-left > li > a, - .uk-tab-right > li > a { - padding-top: 8px; - padding-bottom: 8px; - } - .uk-tab-left > li:nth-child(n+2) > a, - .uk-tab-right > li:nth-child(n+2) > a { - margin-left: 0; - margin-top: 5px; - } - .uk-tab-left > li.uk-active > a, - .uk-tab-right > li.uk-active > a { - border-color: #dddddd; - } - /* - * Modifier: 'tab-left' - */ - .uk-tab-left { - border-right: 1px solid #dddddd; - } - .uk-tab-left > li { - margin-right: -1px; - } - .uk-tab-left > li > a { - border-bottom-width: 1px; - border-right-width: 0; - } - .uk-tab-left > li:not(.uk-active) > a:hover, - .uk-tab-left > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-right: 1px; - padding-bottom: 8px; - padding-right: 11px; - } - .uk-tab-left > li.uk-active > a { - border-right-color: transparent; - } - /* - * Modifier: 'tab-right' - */ - .uk-tab-right { - border-left: 1px solid #dddddd; - } - .uk-tab-right > li { - margin-left: -1px; - } - .uk-tab-right > li > a { - border-bottom-width: 1px; - border-left-width: 0; - } - .uk-tab-right > li:not(.uk-active) > a:hover, - .uk-tab-right > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-left: 1px; - padding-bottom: 8px; - padding-left: 11px; - } - .uk-tab-right > li.uk-active > a { - border-left-color: transparent; - } -} -/* ======================================================================== - Component: Thumbnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-thumbnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-thumbnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-thumbnav:before, -.uk-thumbnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-thumbnav:after { - clear: both; -} -.uk-thumbnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-thumbnav > * > * { - display: block; - background: #ffffff; -} -.uk-thumbnav > * > * > img { - opacity: 0.7; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -/* - * Hover - */ -.uk-thumbnav > * > :hover > img, -.uk-thumbnav > * > :focus > img { - opacity: 1; -} -/* - * Active - */ -.uk-thumbnav > .uk-active > * > img { - opacity: 1; -} -/* ======================================================================== - Component: List - ========================================================================== */ -.uk-list { - padding: 0; - list-style: none; -} -/* - * Micro clearfix to make list more robust - */ -.uk-list > li:before, -.uk-list > li:after { - content: ""; - display: table; -} -.uk-list > li:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-list > li > :last-child { - margin-bottom: 0; -} -/* - * Nested lists - */ -.uk-list ul { - margin: 0; - padding-left: 20px; - list-style: none; -} -/* Modifier: `uk-list-line` - ========================================================================== */ -.uk-list-line > li:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -/* Modifier: `uk-list-striped` - ========================================================================== */ -.uk-list-striped > li { - padding: 5px 5px; -} -.uk-list-striped > li:nth-of-type(odd) { - background: #f5f5f5; -} -/* Modifier: `uk-list-space` - ========================================================================== */ -.uk-list-space > li:nth-child(n+2) { - margin-top: 10px; -} -/* ======================================================================== - Component: Description list - ========================================================================== */ -/* Modifier: `uk-description-list-horizontal` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-description-list-horizontal { - overflow: hidden; - } - .uk-description-list-horizontal > dt { - width: 160px; - float: left; - clear: both; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .uk-description-list-horizontal > dd { - margin-left: 180px; - } -} -/* Modifier: `uk-description-list-line` - ========================================================================== */ -.uk-description-list-line > dt { - font-weight: normal; -} -.uk-description-list-line > dt:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -.uk-description-list-line > dd { - color: #999999; -} -/* ======================================================================== - Component: Table - ========================================================================== */ -/* - * 1. Remove most spacing between table cells. - * 2. Block element behavior - * 3. Style - */ -.uk-table { - /* 1 */ - border-collapse: collapse; - border-spacing: 0; - /* 2 */ - width: 100%; - /* 3 */ - margin-bottom: 15px; -} -/* - * Add margin if adjacent element - */ -* + .uk-table { - margin-top: 15px; -} -.uk-table th, -.uk-table td { - padding: 8px 8px; -} -/* - * Set alignment - */ -.uk-table th { - text-align: left; -} -.uk-table td { - vertical-align: top; -} -.uk-table thead th { - vertical-align: bottom; -} -/* - * Caption and footer - */ -.uk-table caption, -.uk-table tfoot { - font-size: 12px; - font-style: italic; -} -.uk-table caption { - text-align: left; - color: #999999; -} -/* - * Active State - */ -.uk-table tbody tr.uk-active { - background: #eeeeee; -} -/* Sub-modifier: `uk-table-middle` - ========================================================================== */ -.uk-table-middle, -.uk-table-middle td { - vertical-align: middle !important; -} -/* Modifier: `uk-table-striped` - ========================================================================== */ -.uk-table-striped tbody tr:nth-of-type(odd) { - background: #f5f5f5; -} -/* Modifier: `uk-table-condensed` - ========================================================================== */ -.uk-table-condensed td { - padding: 4px 8px; -} -/* Modifier: `uk-table-hover` - ========================================================================== */ -.uk-table-hover tbody tr:hover { - background: #eeeeee; -} -/* ======================================================================== - Component: Form - ========================================================================== */ -/* - * 1. Define consistent box sizing. - * Default is `content-box` with following exceptions set to `border-box` - * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` - * `input[type="search"]` in Chrome, Safari and Opera - * `input[type="color"]` in Firefox - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - */ -.uk-form input, -.uk-form select, -.uk-form textarea { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: inherit; -} -/* - * Address inconsistent `text-transform` inheritance which is only inherit in Firefox - */ -.uk-form select { - text-transform: none; -} -/* - * 1. Correct `font` properties not being inherited. - * 2. Don't inherit the `font-weight` and use `bold` instead. - * NOTE: Both declarations don't work in Chrome, Safari and Opera. - */ -.uk-form optgroup { - /* 1 */ - font: inherit; - /* 2 */ - font-weight: bold; -} -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-form input::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Removes excess padding in IE 8/9/10. - */ -.uk-form input[type="checkbox"], -.uk-form input[type="radio"] { - padding: 0; -} -/* - * Improves consistency of cursor style for clickable elements - */ -.uk-form input[type="checkbox"]:not(:disabled), -.uk-form input[type="radio"]:not(:disabled) { - cursor: pointer; -} -/* - * Remove default style in iOS. - */ -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="number"], -.uk-form input[type="datetime"] { - -webkit-appearance: none; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-form input[type="search"]::-webkit-search-cancel-button, -.uk-form input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -.uk-form input[type="number"]::-webkit-inner-spin-button, -.uk-form input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -/* - * Define consistent border, margin, and padding. - */ -.uk-form fieldset { - border: none; - margin: 0; - padding: 0; -} -/* - * 1. Remove default vertical scrollbar in IE 8/9/10/11. - * 2. Improve readability and alignment in all browsers. - */ -.uk-form textarea { - /* 1 */ - overflow: auto; - /* 2 */ - vertical-align: top; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-form ::-moz-placeholder { - opacity: 1; -} -/* - * Removes `box-shadow` for invalid controls in Firefox. - */ -.uk-form :invalid { - box-shadow: none; -} -/* - * Vertical alignment - */ -.uk-form input:not([type="radio"]):not([type="checkbox"]), -.uk-form select { - vertical-align: middle; -} -/* Style - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-form > :last-child { - margin-bottom: 0; -} -/* - * Controls - * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` - * 1. Must be `height` because `min-height` is not working in OSX - * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports - * 3. Vertical `padding` needed for `select` elements in Firefox - * 4. Style - */ -.uk-form select, -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="datetime"], -.uk-form input[type="datetime-local"], -.uk-form input[type="date"], -.uk-form input[type="month"], -.uk-form input[type="time"], -.uk-form input[type="week"], -.uk-form input[type="number"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="color"] { - /* 1 */ - height: 30px; - /* 2 */ - max-width: 100%; - /* 3 */ - padding: 4px 6px; - /* 4 */ - border: 1px solid #dddddd; - background: #ffffff; - color: #444444; - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; -} -.uk-form select:focus, -.uk-form textarea:focus, -.uk-form input:not([type]):focus, -.uk-form input[type="text"]:focus, -.uk-form input[type="password"]:focus, -.uk-form input[type="datetime"]:focus, -.uk-form input[type="datetime-local"]:focus, -.uk-form input[type="date"]:focus, -.uk-form input[type="month"]:focus, -.uk-form input[type="time"]:focus, -.uk-form input[type="week"]:focus, -.uk-form input[type="number"]:focus, -.uk-form input[type="email"]:focus, -.uk-form input[type="url"]:focus, -.uk-form input[type="search"]:focus, -.uk-form input[type="tel"]:focus, -.uk-form input[type="color"]:focus { - border-color: #99baca; - outline: 0; - background: #f5fbfe; - color: #444444; -} -.uk-form select:disabled, -.uk-form textarea:disabled, -.uk-form input:not([type]):disabled, -.uk-form input[type="text"]:disabled, -.uk-form input[type="password"]:disabled, -.uk-form input[type="datetime"]:disabled, -.uk-form input[type="datetime-local"]:disabled, -.uk-form input[type="date"]:disabled, -.uk-form input[type="month"]:disabled, -.uk-form input[type="time"]:disabled, -.uk-form input[type="week"]:disabled, -.uk-form input[type="number"]:disabled, -.uk-form input[type="email"]:disabled, -.uk-form input[type="url"]:disabled, -.uk-form input[type="search"]:disabled, -.uk-form input[type="tel"]:disabled, -.uk-form input[type="color"]:disabled { - border-color: #dddddd; - background-color: #f5f5f5; - color: #999999; -} -/* - * Placeholder - */ -.uk-form :-ms-input-placeholder { - color: #999999 !important; -} -.uk-form ::-moz-placeholder { - color: #999999; -} -.uk-form ::-webkit-input-placeholder { - color: #999999; -} -.uk-form :disabled:-ms-input-placeholder { - color: #999999 !important; -} -.uk-form :disabled::-moz-placeholder { - color: #999999; -} -.uk-form :disabled::-webkit-input-placeholder { - color: #999999; -} -/* - * Legend - * 1. Behave like block element - * 2. Correct `color` not being inherited in IE 8/9/10/11. - * 3. Remove padding - * 4. `margin-bottom` is not working in Safari and Opera. - * Using `padding` and :after instead to create the border - * 5. Style - */ -.uk-form legend { - /* 1 */ - width: 100%; - /* 2 */ - border: 0; - /* 3 */ - padding: 0; - /* 4 */ - padding-bottom: 15px; - /* 5 */ - font-size: 18px; - line-height: 30px; -} -/* - * 1. Fixes IE9 - */ -.uk-form legend:after { - content: ""; - display: block; - border-bottom: 1px solid #dddddd; - /* 1 */ - width: 100%; -} -/* Size modifiers - * Higher specificity needed to override defaults - ========================================================================== */ -select.uk-form-small, -textarea.uk-form-small, -input[type].uk-form-small, -input:not([type]).uk-form-small { - height: 25px; - padding: 3px 3px; - font-size: 12px; -} -select.uk-form-large, -textarea.uk-form-large, -input[type].uk-form-large, -input:not([type]).uk-form-large { - height: 40px; - padding: 8px 6px; - font-size: 16px; -} -/* Reset height - * Must be after size modifiers - ========================================================================== */ -.uk-form textarea, -.uk-form select[multiple], -.uk-form select[size] { - height: auto; -} -/* Validation states - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Error state - */ -.uk-form-danger { - border-color: #dc8d99 !important; - background: #fff7f8 !important; - color: #d85030 !important; -} -/* - * Success state - */ -.uk-form-success { - border-color: #8ec73b !important; - background: #fafff2 !important; - color: #659f13 !important; -} -/* Style modifiers - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Blank form - */ -.uk-form-blank { - border-color: transparent !important; - border-style: dashed !important; - background: none !important; -} -.uk-form-blank:focus { - border-color: #dddddd !important; -} -/* Size sub-modifiers - ========================================================================== */ -/* - * Fixed widths - * Different widths for mini sized `input` and `select` elements - */ -input.uk-form-width-mini { - width: 40px; -} -select.uk-form-width-mini { - width: 65px; -} -.uk-form-width-small { - width: 130px; -} -.uk-form-width-medium { - width: 200px; -} -.uk-form-width-large { - width: 500px; -} -/* Sub-objects: `uk-form-row` - * Groups labels and controls in rows - ========================================================================== */ -/* - * Micro clearfix - * Needed for `uk-form-horizontal` modifier - */ -.uk-form-row:before, -.uk-form-row:after { - content: ""; - display: table; -} -.uk-form-row:after { - clear: both; -} -/* - * Vertical gutter - */ -.uk-form-row + .uk-form-row { - margin-top: 15px; -} -/* Help text - * Sub-object: `uk-form-help-inline`, `uk-form-help-block` - ========================================================================== */ -.uk-form-help-inline { - display: inline-block; - margin: 0 0 0 10px; -} -.uk-form-help-block { - margin: 5px 0 0 0; -} -/* Controls content - * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` - ========================================================================== */ -/* - * Remove margins - */ -.uk-form-controls > :first-child { - margin-top: 0; -} -.uk-form-controls > :last-child { - margin-bottom: 0; -} -/* - * Group controls and text into blocks with a small spacing between blocks - */ -.uk-form-controls-condensed { - margin: 5px 0; -} -/* Modifier: `uk-form-stacked` - * Requires sub-object: `uk-form-label` - ========================================================================== */ -.uk-form-stacked .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; -} -/* Modifier: `uk-form-horizontal` - * Requires sub-objects: `uk-form-label`, `uk-form-controls` - ========================================================================== */ -/* Tablet portrait and smaller */ -@media (max-width: 959px) { - /* Behave like `uk-form-stacked` */ - .uk-form-horizontal .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-form-horizontal .uk-form-label { - width: 200px; - margin-top: 5px; - float: left; - } - .uk-form-horizontal .uk-form-controls { - margin-left: 215px; - } - /* Better vertical alignment if controls are checkboxes and radio buttons with text */ - .uk-form-horizontal .uk-form-controls-text { - padding-top: 5px; - } -} -/* Sub-object: `uk-form-icon` - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-icon { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -/* - * 1. Make form element clickable through icon - */ -.uk-form-icon > [class*='uk-icon-'] { - position: absolute; - top: 50%; - width: 30px; - margin-top: -7px; - font-size: 14px; - color: #999999; - text-align: center; - /* 1 */ - pointer-events: none; -} -.uk-form-icon:not(.uk-form-icon-flip) > input { - padding-left: 30px !important; -} -/* - * Sub-modifier: `uk-form-icon-flip` - */ -.uk-form-icon-flip > [class*='uk-icon-'] { - right: 0; -} -.uk-form-icon-flip > input { - padding-right: 30px !important; -} -/* ======================================================================== - Component: Button - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-button::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Style - * 8. `line-height` is used to create a height - * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. - * 10. Reset button group whitespace hack - * 11. Required for `a`. - */ -.uk-button { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: #444444; - /* 6 */ - text-transform: none; - /* 7 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0 12px; - background: #eeeeee; - vertical-align: middle; - /* 8 */ - line-height: 30px; - /* 9 */ - min-height: 30px; - /* 10 */ - font-size: 1rem; - /* 11 */ - text-decoration: none; - text-align: center; -} -.uk-button:not(:disabled) { - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-button:hover, -.uk-button:focus { - background-color: #f5f5f5; - color: #444444; - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; -} -/* Active */ -.uk-button:active, -.uk-button.uk-active { - background-color: #dddddd; - color: #444444; -} -/* Color modifiers - ========================================================================== */ -/* - * Modifier: `uk-button-primary` - */ -.uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -/* Hover */ -.uk-button-primary:hover, -.uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -/* Active */ -.uk-button-primary:active, -.uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -/* - * Modifier: `uk-button-success` - */ -.uk-button-success { - background-color: #8cc14c; - color: #ffffff; -} -/* Hover */ -.uk-button-success:hover, -.uk-button-success:focus { - background-color: #8ec73b; - color: #ffffff; -} -/* Active */ -.uk-button-success:active, -.uk-button-success.uk-active { - background-color: #72ae41; - color: #ffffff; -} -/* - * Modifier: `uk-button-danger` - */ -.uk-button-danger { - background-color: #da314b; - color: #ffffff; -} -/* Hover */ -.uk-button-danger:hover, -.uk-button-danger:focus { - background-color: #e4354f; - color: #ffffff; -} -/* Active */ -.uk-button-danger:active, -.uk-button-danger.uk-active { - background-color: #c91032; - color: #ffffff; -} -/* Disabled state - * Overrides also the color modifiers - ========================================================================== */ -/* Equal for all button types */ -.uk-button:disabled { - background-color: #f5f5f5; - color: #999999; -} -/* Modifier: `uk-button-link` - ========================================================================== */ -/* Reset */ -.uk-button-link, -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active, -.uk-button-link:disabled { - border-color: transparent; - background: none; -} -/* Color */ -.uk-button-link { - color: #0077dd; -} -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active { - color: #005599; - text-decoration: underline; -} -.uk-button-link:disabled { - color: #999999; -} -/* Focus */ -.uk-button-link:focus { - outline: 1px dotted; -} -/* Size modifiers - ========================================================================== */ -.uk-button-mini { - min-height: 20px; - padding: 0 6px; - line-height: 20px; - font-size: 11px; -} -.uk-button-small { - min-height: 25px; - padding: 0 10px; - line-height: 25px; - font-size: 12px; -} -.uk-button-large { - min-height: 40px; - padding: 0 15px; - line-height: 40px; - font-size: 16px; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - * 3. Remove whitespace between child elements when using `inline-block` - * 4. Prevent buttons from wrapping - * 5. Remove whitespace between child elements when using `inline-block` - */ -.uk-button-group { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - font-size: 0.001px; - /* 4 */ - white-space: nowrap; -} -.uk-button-group > * { - display: inline-block; -} -/* 5 */ -.uk-button-group .uk-button { - vertical-align: top; -} -/* Sub-object: `uk-button-dropdown` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - */ -.uk-button-dropdown { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; -} -/* ======================================================================== - Component: Icon - ========================================================================== */ -@font-face { - font-family: 'FontAwesome'; - src: url("../fonts/fontawesome-webfont.eot"); - src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} -/* - * 1. Allow margin - * 2. Prevent inherit font style - * 4. Correct line-height - * 5. Better font rendering - * 6. Remove `text-decoration` for anchors - */ -[class*='uk-icon-'] { - font-family: FontAwesome; - /* 1 */ - display: inline-block; - /* 2 */ - font-weight: normal; - font-style: normal; - /* 4 */ - line-height: 1; - /* 5 */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/* 6 */ -[class*='uk-icon-'], -[class*='uk-icon-']:hover, -[class*='uk-icon-']:focus { - text-decoration: none; -} -/* Size modifiers - ========================================================================== */ -.uk-icon-small { - font-size: 150%; - vertical-align: -10%; -} -.uk-icon-medium { - font-size: 200%; - vertical-align: -16%; -} -.uk-icon-large { - font-size: 250%; - vertical-align: -22%; -} -/* Modifier: `uk-icon-justify` - ========================================================================== */ -.uk-icon-justify { - width: 1em; - text-align: center; -} -/* Modifier: `uk-icon-spin` - ========================================================================== */ -.uk-icon-spin { - display: inline-block; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* Modifier: `uk-icon-hover` - ========================================================================== */ -.uk-icon-hover { - color: #999999; -} -/* - * Hover - */ -.uk-icon-hover:hover { - color: #444444; -} -/* Modifier: `uk-icon-button` - ========================================================================== */ -.uk-icon-button { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - width: 35px; - height: 35px; - border-radius: 100%; - background: #eeeeee; - line-height: 35px; - color: #444444; - font-size: 18px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-icon-button:hover, -.uk-icon-button:focus { - background-color: #f5f5f5; - color: #444444; - /* 2 */ - outline: none; -} -/* Active */ -.uk-icon-button:active { - background-color: #dddddd; - color: #444444; -} -/* Icon mapping - ========================================================================== */ -.uk-icon-glass:before { - content: "\f000"; -} -.uk-icon-music:before { - content: "\f001"; -} -.uk-icon-search:before { - content: "\f002"; -} -.uk-icon-envelope-o:before { - content: "\f003"; -} -.uk-icon-heart:before { - content: "\f004"; -} -.uk-icon-star:before { - content: "\f005"; -} -.uk-icon-star-o:before { - content: "\f006"; -} -.uk-icon-user:before { - content: "\f007"; -} -.uk-icon-film:before { - content: "\f008"; -} -.uk-icon-th-large:before { - content: "\f009"; -} -.uk-icon-th:before { - content: "\f00a"; -} -.uk-icon-th-list:before { - content: "\f00b"; -} -.uk-icon-check:before { - content: "\f00c"; -} -.uk-icon-remove:before, -.uk-icon-close:before, -.uk-icon-times:before { - content: "\f00d"; -} -.uk-icon-search-plus:before { - content: "\f00e"; -} -.uk-icon-search-minus:before { - content: "\f010"; -} -.uk-icon-power-off:before { - content: "\f011"; -} -.uk-icon-signal:before { - content: "\f012"; -} -.uk-icon-gear:before, -.uk-icon-cog:before { - content: "\f013"; -} -.uk-icon-trash-o:before { - content: "\f014"; -} -.uk-icon-home:before { - content: "\f015"; -} -.uk-icon-file-o:before { - content: "\f016"; -} -.uk-icon-clock-o:before { - content: "\f017"; -} -.uk-icon-road:before { - content: "\f018"; -} -.uk-icon-download:before { - content: "\f019"; -} -.uk-icon-arrow-circle-o-down:before { - content: "\f01a"; -} -.uk-icon-arrow-circle-o-up:before { - content: "\f01b"; -} -.uk-icon-inbox:before { - content: "\f01c"; -} -.uk-icon-play-circle-o:before { - content: "\f01d"; -} -.uk-icon-rotate-right:before, -.uk-icon-repeat:before { - content: "\f01e"; -} -.uk-icon-refresh:before { - content: "\f021"; -} -.uk-icon-list-alt:before { - content: "\f022"; -} -.uk-icon-lock:before { - content: "\f023"; -} -.uk-icon-flag:before { - content: "\f024"; -} -.uk-icon-headphones:before { - content: "\f025"; -} -.uk-icon-volume-off:before { - content: "\f026"; -} -.uk-icon-volume-down:before { - content: "\f027"; -} -.uk-icon-volume-up:before { - content: "\f028"; -} -.uk-icon-qrcode:before { - content: "\f029"; -} -.uk-icon-barcode:before { - content: "\f02a"; -} -.uk-icon-tag:before { - content: "\f02b"; -} -.uk-icon-tags:before { - content: "\f02c"; -} -.uk-icon-book:before { - content: "\f02d"; -} -.uk-icon-bookmark:before { - content: "\f02e"; -} -.uk-icon-print:before { - content: "\f02f"; -} -.uk-icon-camera:before { - content: "\f030"; -} -.uk-icon-font:before { - content: "\f031"; -} -.uk-icon-bold:before { - content: "\f032"; -} -.uk-icon-italic:before { - content: "\f033"; -} -.uk-icon-text-height:before { - content: "\f034"; -} -.uk-icon-text-width:before { - content: "\f035"; -} -.uk-icon-align-left:before { - content: "\f036"; -} -.uk-icon-align-center:before { - content: "\f037"; -} -.uk-icon-align-right:before { - content: "\f038"; -} -.uk-icon-align-justify:before { - content: "\f039"; -} -.uk-icon-list:before { - content: "\f03a"; -} -.uk-icon-dedent:before, -.uk-icon-outdent:before { - content: "\f03b"; -} -.uk-icon-indent:before { - content: "\f03c"; -} -.uk-icon-video-camera:before { - content: "\f03d"; -} -.uk-icon-photo:before, -.uk-icon-image:before, -.uk-icon-picture-o:before { - content: "\f03e"; -} -.uk-icon-pencil:before { - content: "\f040"; -} -.uk-icon-map-marker:before { - content: "\f041"; -} -.uk-icon-adjust:before { - content: "\f042"; -} -.uk-icon-tint:before { - content: "\f043"; -} -.uk-icon-edit:before, -.uk-icon-pencil-square-o:before { - content: "\f044"; -} -.uk-icon-share-square-o:before { - content: "\f045"; -} -.uk-icon-check-square-o:before { - content: "\f046"; -} -.uk-icon-arrows:before { - content: "\f047"; -} -.uk-icon-step-backward:before { - content: "\f048"; -} -.uk-icon-fast-backward:before { - content: "\f049"; -} -.uk-icon-backward:before { - content: "\f04a"; -} -.uk-icon-play:before { - content: "\f04b"; -} -.uk-icon-pause:before { - content: "\f04c"; -} -.uk-icon-stop:before { - content: "\f04d"; -} -.uk-icon-forward:before { - content: "\f04e"; -} -.uk-icon-fast-forward:before { - content: "\f050"; -} -.uk-icon-step-forward:before { - content: "\f051"; -} -.uk-icon-eject:before { - content: "\f052"; -} -.uk-icon-chevron-left:before { - content: "\f053"; -} -.uk-icon-chevron-right:before { - content: "\f054"; -} -.uk-icon-plus-circle:before { - content: "\f055"; -} -.uk-icon-minus-circle:before { - content: "\f056"; -} -.uk-icon-times-circle:before { - content: "\f057"; -} -.uk-icon-check-circle:before { - content: "\f058"; -} -.uk-icon-question-circle:before { - content: "\f059"; -} -.uk-icon-info-circle:before { - content: "\f05a"; -} -.uk-icon-crosshairs:before { - content: "\f05b"; -} -.uk-icon-times-circle-o:before { - content: "\f05c"; -} -.uk-icon-check-circle-o:before { - content: "\f05d"; -} -.uk-icon-ban:before { - content: "\f05e"; -} -.uk-icon-arrow-left:before { - content: "\f060"; -} -.uk-icon-arrow-right:before { - content: "\f061"; -} -.uk-icon-arrow-up:before { - content: "\f062"; -} -.uk-icon-arrow-down:before { - content: "\f063"; -} -.uk-icon-mail-forward:before, -.uk-icon-share:before { - content: "\f064"; -} -.uk-icon-expand:before { - content: "\f065"; -} -.uk-icon-compress:before { - content: "\f066"; -} -.uk-icon-plus:before { - content: "\f067"; -} -.uk-icon-minus:before { - content: "\f068"; -} -.uk-icon-asterisk:before { - content: "\f069"; -} -.uk-icon-exclamation-circle:before { - content: "\f06a"; -} -.uk-icon-gift:before { - content: "\f06b"; -} -.uk-icon-leaf:before { - content: "\f06c"; -} -.uk-icon-fire:before { - content: "\f06d"; -} -.uk-icon-eye:before { - content: "\f06e"; -} -.uk-icon-eye-slash:before { - content: "\f070"; -} -.uk-icon-warning:before, -.uk-icon-exclamation-triangle:before { - content: "\f071"; -} -.uk-icon-plane:before { - content: "\f072"; -} -.uk-icon-calendar:before { - content: "\f073"; -} -.uk-icon-random:before { - content: "\f074"; -} -.uk-icon-comment:before { - content: "\f075"; -} -.uk-icon-magnet:before { - content: "\f076"; -} -.uk-icon-chevron-up:before { - content: "\f077"; -} -.uk-icon-chevron-down:before { - content: "\f078"; -} -.uk-icon-retweet:before { - content: "\f079"; -} -.uk-icon-shopping-cart:before { - content: "\f07a"; -} -.uk-icon-folder:before { - content: "\f07b"; -} -.uk-icon-folder-open:before { - content: "\f07c"; -} -.uk-icon-arrows-v:before { - content: "\f07d"; -} -.uk-icon-arrows-h:before { - content: "\f07e"; -} -.uk-icon-bar-chart-o:before, -.uk-icon-bar-chart:before { - content: "\f080"; -} -.uk-icon-twitter-square:before { - content: "\f081"; -} -.uk-icon-facebook-square:before { - content: "\f082"; -} -.uk-icon-camera-retro:before { - content: "\f083"; -} -.uk-icon-key:before { - content: "\f084"; -} -.uk-icon-gears:before, -.uk-icon-cogs:before { - content: "\f085"; -} -.uk-icon-comments:before { - content: "\f086"; -} -.uk-icon-thumbs-o-up:before { - content: "\f087"; -} -.uk-icon-thumbs-o-down:before { - content: "\f088"; -} -.uk-icon-star-half:before { - content: "\f089"; -} -.uk-icon-heart-o:before { - content: "\f08a"; -} -.uk-icon-sign-out:before { - content: "\f08b"; -} -.uk-icon-linkedin-square:before { - content: "\f08c"; -} -.uk-icon-thumb-tack:before { - content: "\f08d"; -} -.uk-icon-external-link:before { - content: "\f08e"; -} -.uk-icon-sign-in:before { - content: "\f090"; -} -.uk-icon-trophy:before { - content: "\f091"; -} -.uk-icon-github-square:before { - content: "\f092"; -} -.uk-icon-upload:before { - content: "\f093"; -} -.uk-icon-lemon-o:before { - content: "\f094"; -} -.uk-icon-phone:before { - content: "\f095"; -} -.uk-icon-square-o:before { - content: "\f096"; -} -.uk-icon-bookmark-o:before { - content: "\f097"; -} -.uk-icon-phone-square:before { - content: "\f098"; -} -.uk-icon-twitter:before { - content: "\f099"; -} -.uk-icon-facebook-f:before, -.uk-icon-facebook:before { - content: "\f09a"; -} -.uk-icon-github:before { - content: "\f09b"; -} -.uk-icon-unlock:before { - content: "\f09c"; -} -.uk-icon-credit-card:before { - content: "\f09d"; -} -.uk-icon-rss:before { - content: "\f09e"; -} -.uk-icon-hdd-o:before { - content: "\f0a0"; -} -.uk-icon-bullhorn:before { - content: "\f0a1"; -} -.uk-icon-bell:before { - content: "\f0f3"; -} -.uk-icon-certificate:before { - content: "\f0a3"; -} -.uk-icon-hand-o-right:before { - content: "\f0a4"; -} -.uk-icon-hand-o-left:before { - content: "\f0a5"; -} -.uk-icon-hand-o-up:before { - content: "\f0a6"; -} -.uk-icon-hand-o-down:before { - content: "\f0a7"; -} -.uk-icon-arrow-circle-left:before { - content: "\f0a8"; -} -.uk-icon-arrow-circle-right:before { - content: "\f0a9"; -} -.uk-icon-arrow-circle-up:before { - content: "\f0aa"; -} -.uk-icon-arrow-circle-down:before { - content: "\f0ab"; -} -.uk-icon-globe:before { - content: "\f0ac"; -} -.uk-icon-wrench:before { - content: "\f0ad"; -} -.uk-icon-tasks:before { - content: "\f0ae"; -} -.uk-icon-filter:before { - content: "\f0b0"; -} -.uk-icon-briefcase:before { - content: "\f0b1"; -} -.uk-icon-arrows-alt:before { - content: "\f0b2"; -} -.uk-icon-group:before, -.uk-icon-users:before { - content: "\f0c0"; -} -.uk-icon-chain:before, -.uk-icon-link:before { - content: "\f0c1"; -} -.uk-icon-cloud:before { - content: "\f0c2"; -} -.uk-icon-flask:before { - content: "\f0c3"; -} -.uk-icon-cut:before, -.uk-icon-scissors:before { - content: "\f0c4"; -} -.uk-icon-copy:before, -.uk-icon-files-o:before { - content: "\f0c5"; -} -.uk-icon-paperclip:before { - content: "\f0c6"; -} -.uk-icon-save:before, -.uk-icon-floppy-o:before { - content: "\f0c7"; -} -.uk-icon-square:before { - content: "\f0c8"; -} -.uk-icon-navicon:before, -.uk-icon-reorder:before, -.uk-icon-bars:before { - content: "\f0c9"; -} -.uk-icon-list-ul:before { - content: "\f0ca"; -} -.uk-icon-list-ol:before { - content: "\f0cb"; -} -.uk-icon-strikethrough:before { - content: "\f0cc"; -} -.uk-icon-underline:before { - content: "\f0cd"; -} -.uk-icon-table:before { - content: "\f0ce"; -} -.uk-icon-magic:before { - content: "\f0d0"; -} -.uk-icon-truck:before { - content: "\f0d1"; -} -.uk-icon-pinterest:before { - content: "\f0d2"; -} -.uk-icon-pinterest-square:before { - content: "\f0d3"; -} -.uk-icon-google-plus-square:before { - content: "\f0d4"; -} -.uk-icon-google-plus:before { - content: "\f0d5"; -} -.uk-icon-money:before { - content: "\f0d6"; -} -.uk-icon-caret-down:before { - content: "\f0d7"; -} -.uk-icon-caret-up:before { - content: "\f0d8"; -} -.uk-icon-caret-left:before { - content: "\f0d9"; -} -.uk-icon-caret-right:before { - content: "\f0da"; -} -.uk-icon-columns:before { - content: "\f0db"; -} -.uk-icon-unsorted:before, -.uk-icon-sort:before { - content: "\f0dc"; -} -.uk-icon-sort-down:before, -.uk-icon-sort-desc:before { - content: "\f0dd"; -} -.uk-icon-sort-up:before, -.uk-icon-sort-asc:before { - content: "\f0de"; -} -.uk-icon-envelope:before { - content: "\f0e0"; -} -.uk-icon-linkedin:before { - content: "\f0e1"; -} -.uk-icon-rotate-left:before, -.uk-icon-undo:before { - content: "\f0e2"; -} -.uk-icon-legal:before, -.uk-icon-gavel:before { - content: "\f0e3"; -} -.uk-icon-dashboard:before, -.uk-icon-tachometer:before { - content: "\f0e4"; -} -.uk-icon-comment-o:before { - content: "\f0e5"; -} -.uk-icon-comments-o:before { - content: "\f0e6"; -} -.uk-icon-flash:before, -.uk-icon-bolt:before { - content: "\f0e7"; -} -.uk-icon-sitemap:before { - content: "\f0e8"; -} -.uk-icon-umbrella:before { - content: "\f0e9"; -} -.uk-icon-paste:before, -.uk-icon-clipboard:before { - content: "\f0ea"; -} -.uk-icon-lightbulb-o:before { - content: "\f0eb"; -} -.uk-icon-exchange:before { - content: "\f0ec"; -} -.uk-icon-cloud-download:before { - content: "\f0ed"; -} -.uk-icon-cloud-upload:before { - content: "\f0ee"; -} -.uk-icon-user-md:before { - content: "\f0f0"; -} -.uk-icon-stethoscope:before { - content: "\f0f1"; -} -.uk-icon-suitcase:before { - content: "\f0f2"; -} -.uk-icon-bell-o:before { - content: "\f0a2"; -} -.uk-icon-coffee:before { - content: "\f0f4"; -} -.uk-icon-cutlery:before { - content: "\f0f5"; -} -.uk-icon-file-text-o:before { - content: "\f0f6"; -} -.uk-icon-building-o:before { - content: "\f0f7"; -} -.uk-icon-hospital-o:before { - content: "\f0f8"; -} -.uk-icon-ambulance:before { - content: "\f0f9"; -} -.uk-icon-medkit:before { - content: "\f0fa"; -} -.uk-icon-fighter-jet:before { - content: "\f0fb"; -} -.uk-icon-beer:before { - content: "\f0fc"; -} -.uk-icon-h-square:before { - content: "\f0fd"; -} -.uk-icon-plus-square:before { - content: "\f0fe"; -} -.uk-icon-angle-double-left:before { - content: "\f100"; -} -.uk-icon-angle-double-right:before { - content: "\f101"; -} -.uk-icon-angle-double-up:before { - content: "\f102"; -} -.uk-icon-angle-double-down:before { - content: "\f103"; -} -.uk-icon-angle-left:before { - content: "\f104"; -} -.uk-icon-angle-right:before { - content: "\f105"; -} -.uk-icon-angle-up:before { - content: "\f106"; -} -.uk-icon-angle-down:before { - content: "\f107"; -} -.uk-icon-desktop:before { - content: "\f108"; -} -.uk-icon-laptop:before { - content: "\f109"; -} -.uk-icon-tablet:before { - content: "\f10a"; -} -.uk-icon-mobile-phone:before, -.uk-icon-mobile:before { - content: "\f10b"; -} -.uk-icon-circle-o:before { - content: "\f10c"; -} -.uk-icon-quote-left:before { - content: "\f10d"; -} -.uk-icon-quote-right:before { - content: "\f10e"; -} -.uk-icon-spinner:before { - content: "\f110"; -} -.uk-icon-circle:before { - content: "\f111"; -} -.uk-icon-mail-reply:before, -.uk-icon-reply:before { - content: "\f112"; -} -.uk-icon-github-alt:before { - content: "\f113"; -} -.uk-icon-folder-o:before { - content: "\f114"; -} -.uk-icon-folder-open-o:before { - content: "\f115"; -} -.uk-icon-smile-o:before { - content: "\f118"; -} -.uk-icon-frown-o:before { - content: "\f119"; -} -.uk-icon-meh-o:before { - content: "\f11a"; -} -.uk-icon-gamepad:before { - content: "\f11b"; -} -.uk-icon-keyboard-o:before { - content: "\f11c"; -} -.uk-icon-flag-o:before { - content: "\f11d"; -} -.uk-icon-flag-checkered:before { - content: "\f11e"; -} -.uk-icon-terminal:before { - content: "\f120"; -} -.uk-icon-code:before { - content: "\f121"; -} -.uk-icon-mail-reply-all:before, -.uk-icon-reply-all:before { - content: "\f122"; -} -.uk-icon-star-half-empty:before, -.uk-icon-star-half-full:before, -.uk-icon-star-half-o:before { - content: "\f123"; -} -.uk-icon-location-arrow:before { - content: "\f124"; -} -.uk-icon-crop:before { - content: "\f125"; -} -.uk-icon-code-fork:before { - content: "\f126"; -} -.uk-icon-unlink:before, -.uk-icon-chain-broken:before { - content: "\f127"; -} -.uk-icon-question:before { - content: "\f128"; -} -.uk-icon-info:before { - content: "\f129"; -} -.uk-icon-exclamation:before { - content: "\f12a"; -} -.uk-icon-superscript:before { - content: "\f12b"; -} -.uk-icon-subscript:before { - content: "\f12c"; -} -.uk-icon-eraser:before { - content: "\f12d"; -} -.uk-icon-puzzle-piece:before { - content: "\f12e"; -} -.uk-icon-microphone:before { - content: "\f130"; -} -.uk-icon-microphone-slash:before { - content: "\f131"; -} -.uk-icon-shield:before { - content: "\f132"; -} -.uk-icon-calendar-o:before { - content: "\f133"; -} -.uk-icon-fire-extinguisher:before { - content: "\f134"; -} -.uk-icon-rocket:before { - content: "\f135"; -} -.uk-icon-maxcdn:before { - content: "\f136"; -} -.uk-icon-chevron-circle-left:before { - content: "\f137"; -} -.uk-icon-chevron-circle-right:before { - content: "\f138"; -} -.uk-icon-chevron-circle-up:before { - content: "\f139"; -} -.uk-icon-chevron-circle-down:before { - content: "\f13a"; -} -.uk-icon-html5:before { - content: "\f13b"; -} -.uk-icon-css3:before { - content: "\f13c"; -} -.uk-icon-anchor:before { - content: "\f13d"; -} -.uk-icon-unlock-alt:before { - content: "\f13e"; -} -.uk-icon-bullseye:before { - content: "\f140"; -} -.uk-icon-ellipsis-h:before { - content: "\f141"; -} -.uk-icon-ellipsis-v:before { - content: "\f142"; -} -.uk-icon-rss-square:before { - content: "\f143"; -} -.uk-icon-play-circle:before { - content: "\f144"; -} -.uk-icon-ticket:before { - content: "\f145"; -} -.uk-icon-minus-square:before { - content: "\f146"; -} -.uk-icon-minus-square-o:before { - content: "\f147"; -} -.uk-icon-level-up:before { - content: "\f148"; -} -.uk-icon-level-down:before { - content: "\f149"; -} -.uk-icon-check-square:before { - content: "\f14a"; -} -.uk-icon-pencil-square:before { - content: "\f14b"; -} -.uk-icon-external-link-square:before { - content: "\f14c"; -} -.uk-icon-share-square:before { - content: "\f14d"; -} -.uk-icon-compass:before { - content: "\f14e"; -} -.uk-icon-toggle-down:before, -.uk-icon-caret-square-o-down:before { - content: "\f150"; -} -.uk-icon-toggle-up:before, -.uk-icon-caret-square-o-up:before { - content: "\f151"; -} -.uk-icon-toggle-right:before, -.uk-icon-caret-square-o-right:before { - content: "\f152"; -} -.uk-icon-euro:before, -.uk-icon-eur:before { - content: "\f153"; -} -.uk-icon-gbp:before { - content: "\f154"; -} -.uk-icon-dollar:before, -.uk-icon-usd:before { - content: "\f155"; -} -.uk-icon-rupee:before, -.uk-icon-inr:before { - content: "\f156"; -} -.uk-icon-cny:before, -.uk-icon-rmb:before, -.uk-icon-yen:before, -.uk-icon-jpy:before { - content: "\f157"; -} -.uk-icon-ruble:before, -.uk-icon-rouble:before, -.uk-icon-rub:before { - content: "\f158"; -} -.uk-icon-won:before, -.uk-icon-krw:before { - content: "\f159"; -} -.uk-icon-bitcoin:before, -.uk-icon-btc:before { - content: "\f15a"; -} -.uk-icon-file:before { - content: "\f15b"; -} -.uk-icon-file-text:before { - content: "\f15c"; -} -.uk-icon-sort-alpha-asc:before { - content: "\f15d"; -} -.uk-icon-sort-alpha-desc:before { - content: "\f15e"; -} -.uk-icon-sort-amount-asc:before { - content: "\f160"; -} -.uk-icon-sort-amount-desc:before { - content: "\f161"; -} -.uk-icon-sort-numeric-asc:before { - content: "\f162"; -} -.uk-icon-sort-numeric-desc:before { - content: "\f163"; -} -.uk-icon-thumbs-up:before { - content: "\f164"; -} -.uk-icon-thumbs-down:before { - content: "\f165"; -} -.uk-icon-youtube-square:before { - content: "\f166"; -} -.uk-icon-youtube:before { - content: "\f167"; -} -.uk-icon-xing:before { - content: "\f168"; -} -.uk-icon-xing-square:before { - content: "\f169"; -} -.uk-icon-youtube-play:before { - content: "\f16a"; -} -.uk-icon-dropbox:before { - content: "\f16b"; -} -.uk-icon-stack-overflow:before { - content: "\f16c"; -} -.uk-icon-instagram:before { - content: "\f16d"; -} -.uk-icon-flickr:before { - content: "\f16e"; -} -.uk-icon-adn:before { - content: "\f170"; -} -.uk-icon-bitbucket:before { - content: "\f171"; -} -.uk-icon-bitbucket-square:before { - content: "\f172"; -} -.uk-icon-tumblr:before { - content: "\f173"; -} -.uk-icon-tumblr-square:before { - content: "\f174"; -} -.uk-icon-long-arrow-down:before { - content: "\f175"; -} -.uk-icon-long-arrow-up:before { - content: "\f176"; -} -.uk-icon-long-arrow-left:before { - content: "\f177"; -} -.uk-icon-long-arrow-right:before { - content: "\f178"; -} -.uk-icon-apple:before { - content: "\f179"; -} -.uk-icon-windows:before { - content: "\f17a"; -} -.uk-icon-android:before { - content: "\f17b"; -} -.uk-icon-linux:before { - content: "\f17c"; -} -.uk-icon-dribbble:before { - content: "\f17d"; -} -.uk-icon-skype:before { - content: "\f17e"; -} -.uk-icon-foursquare:before { - content: "\f180"; -} -.uk-icon-trello:before { - content: "\f181"; -} -.uk-icon-female:before { - content: "\f182"; -} -.uk-icon-male:before { - content: "\f183"; -} -.uk-icon-gittip:before, -.uk-icon-gratipay:before { - content: "\f184"; -} -.uk-icon-sun-o:before { - content: "\f185"; -} -.uk-icon-moon-o:before { - content: "\f186"; -} -.uk-icon-archive:before { - content: "\f187"; -} -.uk-icon-bug:before { - content: "\f188"; -} -.uk-icon-vk:before { - content: "\f189"; -} -.uk-icon-weibo:before { - content: "\f18a"; -} -.uk-icon-renren:before { - content: "\f18b"; -} -.uk-icon-pagelines:before { - content: "\f18c"; -} -.uk-icon-stack-exchange:before { - content: "\f18d"; -} -.uk-icon-arrow-circle-o-right:before { - content: "\f18e"; -} -.uk-icon-arrow-circle-o-left:before { - content: "\f190"; -} -.uk-icon-toggle-left:before, -.uk-icon-caret-square-o-left:before { - content: "\f191"; -} -.uk-icon-dot-circle-o:before { - content: "\f192"; -} -.uk-icon-wheelchair:before { - content: "\f193"; -} -.uk-icon-vimeo-square:before { - content: "\f194"; -} -.uk-icon-turkish-lira:before, -.uk-icon-try:before { - content: "\f195"; -} -.uk-icon-plus-square-o:before { - content: "\f196"; -} -.uk-icon-space-shuttle:before { - content: "\f197"; -} -.uk-icon-slack:before { - content: "\f198"; -} -.uk-icon-envelope-square:before { - content: "\f199"; -} -.uk-icon-wordpress:before { - content: "\f19a"; -} -.uk-icon-openid:before { - content: "\f19b"; -} -.uk-icon-institution:before, -.uk-icon-bank:before, -.uk-icon-university:before { - content: "\f19c"; -} -.uk-icon-mortar-board:before, -.uk-icon-graduation-cap:before { - content: "\f19d"; -} -.uk-icon-yahoo:before { - content: "\f19e"; -} -.uk-icon-google:before { - content: "\f1a0"; -} -.uk-icon-reddit:before { - content: "\f1a1"; -} -.uk-icon-reddit-square:before { - content: "\f1a2"; -} -.uk-icon-stumbleupon-circle:before { - content: "\f1a3"; -} -.uk-icon-stumbleupon:before { - content: "\f1a4"; -} -.uk-icon-delicious:before { - content: "\f1a5"; -} -.uk-icon-digg:before { - content: "\f1a6"; -} -.uk-icon-pied-piper:before { - content: "\f1a7"; -} -.uk-icon-pied-piper-alt:before { - content: "\f1a8"; -} -.uk-icon-drupal:before { - content: "\f1a9"; -} -.uk-icon-joomla:before { - content: "\f1aa"; -} -.uk-icon-language:before { - content: "\f1ab"; -} -.uk-icon-fax:before { - content: "\f1ac"; -} -.uk-icon-building:before { - content: "\f1ad"; -} -.uk-icon-child:before { - content: "\f1ae"; -} -.uk-icon-paw:before { - content: "\f1b0"; -} -.uk-icon-spoon:before { - content: "\f1b1"; -} -.uk-icon-cube:before { - content: "\f1b2"; -} -.uk-icon-cubes:before { - content: "\f1b3"; -} -.uk-icon-behance:before { - content: "\f1b4"; -} -.uk-icon-behance-square:before { - content: "\f1b5"; -} -.uk-icon-steam:before { - content: "\f1b6"; -} -.uk-icon-steam-square:before { - content: "\f1b7"; -} -.uk-icon-recycle:before { - content: "\f1b8"; -} -.uk-icon-automobile:before, -.uk-icon-car:before { - content: "\f1b9"; -} -.uk-icon-cab:before, -.uk-icon-taxi:before { - content: "\f1ba"; -} -.uk-icon-tree:before { - content: "\f1bb"; -} -.uk-icon-spotify:before { - content: "\f1bc"; -} -.uk-icon-deviantart:before { - content: "\f1bd"; -} -.uk-icon-soundcloud:before { - content: "\f1be"; -} -.uk-icon-database:before { - content: "\f1c0"; -} -.uk-icon-file-pdf-o:before { - content: "\f1c1"; -} -.uk-icon-file-word-o:before { - content: "\f1c2"; -} -.uk-icon-file-excel-o:before { - content: "\f1c3"; -} -.uk-icon-file-powerpoint-o:before { - content: "\f1c4"; -} -.uk-icon-file-photo-o:before, -.uk-icon-file-picture-o:before, -.uk-icon-file-image-o:before { - content: "\f1c5"; -} -.uk-icon-file-zip-o:before, -.uk-icon-file-archive-o:before { - content: "\f1c6"; -} -.uk-icon-file-sound-o:before, -.uk-icon-file-audio-o:before { - content: "\f1c7"; -} -.uk-icon-file-movie-o:before, -.uk-icon-file-video-o:before { - content: "\f1c8"; -} -.uk-icon-file-code-o:before { - content: "\f1c9"; -} -.uk-icon-vine:before { - content: "\f1ca"; -} -.uk-icon-codepen:before { - content: "\f1cb"; -} -.uk-icon-jsfiddle:before { - content: "\f1cc"; -} -.uk-icon-life-bouy:before, -.uk-icon-life-buoy:before, -.uk-icon-life-saver:before, -.uk-icon-support:before, -.uk-icon-life-ring:before { - content: "\f1cd"; -} -.uk-icon-circle-o-notch:before { - content: "\f1ce"; -} -.uk-icon-ra:before, -.uk-icon-rebel:before { - content: "\f1d0"; -} -.uk-icon-ge:before, -.uk-icon-empire:before { - content: "\f1d1"; -} -.uk-icon-git-square:before { - content: "\f1d2"; -} -.uk-icon-git:before { - content: "\f1d3"; -} -.uk-icon-hacker-news:before { - content: "\f1d4"; -} -.uk-icon-tencent-weibo:before { - content: "\f1d5"; -} -.uk-icon-qq:before { - content: "\f1d6"; -} -.uk-icon-wechat:before, -.uk-icon-weixin:before { - content: "\f1d7"; -} -.uk-icon-send:before, -.uk-icon-paper-plane:before { - content: "\f1d8"; -} -.uk-icon-send-o:before, -.uk-icon-paper-plane-o:before { - content: "\f1d9"; -} -.uk-icon-history:before { - content: "\f1da"; -} -.uk-icon-genderless:before, -.uk-icon-circle-thin:before { - content: "\f1db"; -} -.uk-icon-header:before { - content: "\f1dc"; -} -.uk-icon-paragraph:before { - content: "\f1dd"; -} -.uk-icon-sliders:before { - content: "\f1de"; -} -.uk-icon-share-alt:before { - content: "\f1e0"; -} -.uk-icon-share-alt-square:before { - content: "\f1e1"; -} -.uk-icon-bomb:before { - content: "\f1e2"; -} -.uk-icon-soccer-ball-o:before, -.uk-icon-futbol-o:before { - content: "\f1e3"; -} -.uk-icon-tty:before { - content: "\f1e4"; -} -.uk-icon-binoculars:before { - content: "\f1e5"; -} -.uk-icon-plug:before { - content: "\f1e6"; -} -.uk-icon-slideshare:before { - content: "\f1e7"; -} -.uk-icon-twitch:before { - content: "\f1e8"; -} -.uk-icon-yelp:before { - content: "\f1e9"; -} -.uk-icon-newspaper-o:before { - content: "\f1ea"; -} -.uk-icon-wifi:before { - content: "\f1eb"; -} -.uk-icon-calculator:before { - content: "\f1ec"; -} -.uk-icon-paypal:before { - content: "\f1ed"; -} -.uk-icon-google-wallet:before { - content: "\f1ee"; -} -.uk-icon-cc-visa:before { - content: "\f1f0"; -} -.uk-icon-cc-mastercard:before { - content: "\f1f1"; -} -.uk-icon-cc-discover:before { - content: "\f1f2"; -} -.uk-icon-cc-amex:before { - content: "\f1f3"; -} -.uk-icon-cc-paypal:before { - content: "\f1f4"; -} -.uk-icon-cc-stripe:before { - content: "\f1f5"; -} -.uk-icon-bell-slash:before { - content: "\f1f6"; -} -.uk-icon-bell-slash-o:before { - content: "\f1f7"; -} -.uk-icon-trash:before { - content: "\f1f8"; -} -.uk-icon-copyright:before { - content: "\f1f9"; -} -.uk-icon-at:before { - content: "\f1fa"; -} -.uk-icon-eyedropper:before { - content: "\f1fb"; -} -.uk-icon-paint-brush:before { - content: "\f1fc"; -} -.uk-icon-birthday-cake:before { - content: "\f1fd"; -} -.uk-icon-area-chart:before { - content: "\f1fe"; -} -.uk-icon-pie-chart:before { - content: "\f200"; -} -.uk-icon-line-chart:before { - content: "\f201"; -} -.uk-icon-lastfm:before { - content: "\f202"; -} -.uk-icon-lastfm-square:before { - content: "\f203"; -} -.uk-icon-toggle-off:before { - content: "\f204"; -} -.uk-icon-toggle-on:before { - content: "\f205"; -} -.uk-icon-bicycle:before { - content: "\f206"; -} -.uk-icon-bus:before { - content: "\f207"; -} -.uk-icon-ioxhost:before { - content: "\f208"; -} -.uk-icon-angellist:before { - content: "\f209"; -} -.uk-icon-cc:before { - content: "\f20a"; -} -.uk-icon-shekel:before, -.uk-icon-sheqel:before, -.uk-icon-ils:before { - content: "\f20b"; -} -.uk-icon-meanpath:before { - content: "\f20c"; -} -.uk-icon-buysellads:before { - content: "\f20d"; -} -.uk-icon-connectdevelop:before { - content: "\f20e"; -} -.uk-icon-dashcube:before { - content: "\f210"; -} -.uk-icon-forumbee:before { - content: "\f211"; -} -.uk-icon-leanpub:before { - content: "\f212"; -} -.uk-icon-sellsy:before { - content: "\f213"; -} -.uk-icon-shirtsinbulk:before { - content: "\f214"; -} -.uk-icon-simplybuilt:before { - content: "\f215"; -} -.uk-icon-skyatlas:before { - content: "\f216"; -} -.uk-icon-cart-plus:before { - content: "\f217"; -} -.uk-icon-cart-arrow-down:before { - content: "\f218"; -} -.uk-icon-diamond:before { - content: "\f219"; -} -.uk-icon-ship:before { - content: "\f21a"; -} -.uk-icon-user-secret:before { - content: "\f21b"; -} -.uk-icon-motorcycle:before { - content: "\f21c"; -} -.uk-icon-street-view:before { - content: "\f21d"; -} -.uk-icon-heartbeat:before { - content: "\f21e"; -} -.uk-icon-venus:before { - content: "\f221"; -} -.uk-icon-mars:before { - content: "\f222"; -} -.uk-icon-mercury:before { - content: "\f223"; -} -.uk-icon-transgender:before { - content: "\f224"; -} -.uk-icon-transgender-alt:before { - content: "\f225"; -} -.uk-icon-venus-double:before { - content: "\f226"; -} -.uk-icon-mars-double:before { - content: "\f227"; -} -.uk-icon-venus-mars:before { - content: "\f228"; -} -.uk-icon-mars-stroke:before { - content: "\f229"; -} -.uk-icon-mars-stroke-v:before { - content: "\f22a"; -} -.uk-icon-mars-stroke-h:before { - content: "\f22b"; -} -.uk-icon-neuter:before { - content: "\f22c"; -} -.uk-icon-facebook-official:before { - content: "\f230"; -} -.uk-icon-pinterest-p:before { - content: "\f231"; -} -.uk-icon-whatsapp:before { - content: "\f232"; -} -.uk-icon-server:before { - content: "\f233"; -} -.uk-icon-user-plus:before { - content: "\f234"; -} -.uk-icon-user-times:before { - content: "\f235"; -} -.uk-icon-hotel:before, -.uk-icon-bed:before { - content: "\f236"; -} -.uk-icon-viacoin:before { - content: "\f237"; -} -.uk-icon-train:before { - content: "\f238"; -} -.uk-icon-subway:before { - content: "\f239"; -} -.uk-icon-medium-logo:before { - content: "\f23a"; -} -/* ======================================================================== - Component: Close - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-close::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Remove default `button` padding and background color - * 8. Style - */ -.uk-close { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: inherit; - /* 6 */ - text-transform: none; - /* 7. */ - padding: 0; - background: transparent; - /* 8 */ - display: inline-block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - line-height: 20px; - text-align: center; - vertical-align: middle; - opacity: 0.3; -} -/* Icon */ -.uk-close:after { - display: block; - content: "\f00d"; - font-family: FontAwesome; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-close:hover, -.uk-close:focus { - opacity: 0.5; - /* 2 */ - outline: none; - /* 3 */ - color: inherit; - text-decoration: none; - cursor: pointer; -} -/* Modifier - ========================================================================== */ -.uk-close-alt { - padding: 2px; - border-radius: 50%; - background: #eeeeee; - opacity: 1; -} -/* Hover */ -.uk-close-alt:hover, -.uk-close-alt:focus { - opacity: 1; -} -/* Icon */ -.uk-close-alt:after { - opacity: 0.5; -} -.uk-close-alt:hover:after, -.uk-close-alt:focus:after { - opacity: 0.8; -} -/* ======================================================================== - Component: Badge - ========================================================================== */ -.uk-badge { - display: inline-block; - padding: 0 5px; - background: #00a8e6; - font-size: 10px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - text-align: center; - vertical-align: middle; - text-transform: none; -} -/* - * Keep color when badge is a link - */ -a.uk-badge:hover { - color: #ffffff; -} -/* Modifier: `uk-badge-notification`; - ========================================================================== */ -.uk-badge-notification { - -moz-box-sizing: border-box; - box-sizing: border-box; - min-width: 18px; - border-radius: 500px; - font-size: 12px; - line-height: 18px; -} -/* Color modifier - ========================================================================== */ -/* - * Modifier: `uk-badge-success` - */ -.uk-badge-success { - background-color: #8cc14c; -} -/* - * Modifier: `uk-badge-warning` - */ -.uk-badge-warning { - background-color: #faa732; -} -/* - * Modifier: `uk-badge-danger` - */ -.uk-badge-danger { - background-color: #da314b; -} -/* ======================================================================== - Component: Alert - ========================================================================== */ -.uk-alert { - margin-bottom: 15px; - padding: 10px; - background: #ebf7fd; - color: #2d7091; -} -/* - * Add margin if adjacent element - */ -* + .uk-alert { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-alert > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-alert h1, -.uk-alert h2, -.uk-alert h3, -.uk-alert h4, -.uk-alert h5, -.uk-alert h6 { - color: inherit; -} -/* Close in alert - ========================================================================== */ -.uk-alert > .uk-close:first-child { - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-alert > .uk-close:first-child + * { - margin-top: 0; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-alert-success { - background: #f2fae3; - color: #659f13; -} -/* Modifier: `uk-alert-warning` - ========================================================================== */ -.uk-alert-warning { - background: #fffceb; - color: #e28327; -} -/* Modifier: `uk-alert-danger` - ========================================================================== */ -.uk-alert-danger { - background: #fff1f0; - color: #d85030; -} -/* Modifier: `uk-alert-large` - ========================================================================== */ -.uk-alert-large { - padding: 20px; -} -.uk-alert-large > .uk-close:first-child { - margin: -10px -10px 0 0; -} -/* ======================================================================== - Component: Thumbnail - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Responsive behavior - * 3. Corrects `max-width` behavior sed - * 4. Required for `figure` element - * 5. Style - */ -.uk-thumbnail { - /* 1 */ - display: inline-block; - /* 2 */ - max-width: 100%; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - margin: 0; - /* 4 */ - padding: 4px; - border: 1px solid #dddddd; - background: #ffffff; -} -/* - * Hover state for `a` elements - * 1. Apply hover style also to focus state - * 2. Needed for caption - * 3. Remove default focus style - */ -a.uk-thumbnail:hover, -a.uk-thumbnail:focus { - border-color: #aaaaaa; - background-color: #ffffff; - /* 2 */ - text-decoration: none; - /* 3 */ - outline: none; -} -/* Caption - ========================================================================== */ -.uk-thumbnail-caption { - padding-top: 4px; - text-align: center; - color: #444444; -} -/* Sizes - ========================================================================== */ -.uk-thumbnail-mini { - width: 150px; -} -.uk-thumbnail-small { - width: 200px; -} -.uk-thumbnail-medium { - width: 300px; -} -.uk-thumbnail-large { - width: 400px; -} -.uk-thumbnail-expand, -.uk-thumbnail-expand > img { - width: 100%; -} -/* ======================================================================== - Component: Overlay - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Set max-width for responsive images to prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome - * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit - * 7. Reset margin - */ -.uk-overlay { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; - /* 5 */ - overflow: hidden; - /* 6 */ - -webkit-transform: translateZ(0); - /* 7 */ - margin: 0; -} -/* 6 for Safari */ -.uk-overlay.uk-border-circle { - -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); -} -/* - * Remove margin from content - */ -.uk-overlay > :first-child { - margin-bottom: 0; -} -/* Sub-object `uk-overlay-panel` - ========================================================================== */ -/* - * 1. Position cover - * 2. Style - */ -.uk-overlay-panel { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 20px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-panel > :last-child, -.uk-overlay-panel.uk-flex > * > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-overlay-panel h1, -.uk-overlay-panel h2, -.uk-overlay-panel h3, -.uk-overlay-panel h4, -.uk-overlay-panel h5, -.uk-overlay-panel h6 { - color: inherit; -} -.uk-overlay-panel a:not([class]) { - color: inherit; - text-decoration: underline; -} -.uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { - color: inherit; -} -/* Sub-object `uk-overlay-hover` and `uk-overlay-active` - ========================================================================== */ -.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -.uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -/* Modifier `uk-overlay-background` - ========================================================================== */ -.uk-overlay-background { - background: rgba(0, 0, 0, 0.5); -} -/* Modifier `uk-overlay-image` - ========================================================================== */ -/* - * Reset panel - */ -.uk-overlay-image { - padding: 0; -} -/* Position modifiers - ========================================================================== */ -.uk-overlay-top { - bottom: auto; -} -.uk-overlay-bottom { - top: auto; -} -.uk-overlay-left { - right: auto; -} -.uk-overlay-right { - left: auto; -} -/* Sub-object `uk-overlay-icon` - ========================================================================== */ -.uk-overlay-icon:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* Transitions - ========================================================================== */ -.uk-overlay-fade, -.uk-overlay-scale, -.uk-overlay-spin, -.uk-overlay-grayscale, -.uk-overlay-blur, -[class*='uk-overlay-slide'] { - transition-duration: 0.3s; - transition-timing-function: ease-out; - transition-property: opacity transform filter; -} -.uk-overlay-active .uk-overlay-fade, -.uk-overlay-active .uk-overlay-scale, -.uk-overlay-active .uk-overlay-spin, -.uk-overlay-active [class*='uk-overlay-slide'] { - transition-duration: 0.8s; -} -/* - * Fade - */ -.uk-overlay-fade { - opacity: 0.7; -} -.uk-overlay-hover:hover .uk-overlay-fade, -.uk-overlay-active .uk-active > .uk-overlay-fade { - opacity: 1; -} -/* - * Scale - */ -.uk-overlay-scale { - -webkit-transform: scale(1); - transform: scale(1); -} -.uk-overlay-hover:hover .uk-overlay-scale, -.uk-overlay-active .uk-active > .uk-overlay-scale { - -webkit-transform: scale(1.1); - transform: scale(1.1); -} -/* - * Spin - */ -.uk-overlay-spin { - -webkit-transform: scale(1) rotate(0deg); - transform: scale(1) rotate(0deg); -} -.uk-overlay-hover:hover .uk-overlay-spin, -.uk-overlay-active .uk-active > .uk-overlay-spin { - -webkit-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); -} -/* - * Grayscale - */ -.uk-overlay-grayscale { - -webkit-filter: grayscale(100%); - filter: grayscale(100%); -} -.uk-overlay-hover:hover .uk-overlay-grayscale, -.uk-overlay-active .uk-active > .uk-overlay-grayscale { - -webkit-filter: grayscale(0%); - filter: grayscale(0%); -} -/* - * Slide - */ -[class*='uk-overlay-slide'] { - opacity: 0; -} -/* Top */ -.uk-overlay-slide-top { - -webkit-transform: translateY(-100%); - transform: translateY(-100%); -} -/* Bottom */ -.uk-overlay-slide-bottom { - -webkit-transform: translateY(100%); - transform: translateY(100%); -} -/* Left */ -.uk-overlay-slide-left { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} -/* Right */ -.uk-overlay-slide-right { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Hover */ -.uk-overlay-hover:hover [class*='uk-overlay-slide'], -.uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { - opacity: 1; - -webkit-transform: translateX(0) translateY(0); - transform: translateX(0) translateY(0); -} -/* DEPRECATED - * Sub-object `uk-overlay-area` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-area { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - background: rgba(0, 0, 0, 0.3); - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-area, -.uk-overlay.uk-hover .uk-overlay-area, -.uk-overlay-toggle:hover .uk-overlay-area, -.uk-overlay-toggle.uk-hover .uk-overlay-area { - opacity: 1; -} -/* - * Icon - */ -.uk-overlay-area:empty:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* DEPRECATED - * Sub-object `uk-overlay-area-content` - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - * Needed for Firefox - */ -.uk-overlay-area:not(:empty) { - font-size: 0.001px; -} -/* - * 1. Needed for vertical alignment - */ -.uk-overlay-area:not(:empty):before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * 1. Set vertical alignment - * 2. Reset whitespace hack - * 3. Set horizontal alignment - * 4. Set style - */ -.uk-overlay-area-content { - /* 1 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - vertical-align: middle; - /* 2 */ - font-size: 1rem; - /* 3 */ - text-align: center; - /* 4 */ - padding: 0 15px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-area-content > :last-child { - margin-bottom: 0; -} -/* - * Links in overlay area - */ -.uk-overlay-area-content a:not([class]), -.uk-overlay-area-content a:not([class]):hover { - color: inherit; -} -/* DEPRECATED - * Sub-object `uk-overlay-caption` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-caption { - /* 1 */ - position: absolute; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 15px; - background: rgba(0, 0, 0, 0.5); - color: #ffffff; - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-caption, -.uk-overlay.uk-hover .uk-overlay-caption, -.uk-overlay-toggle:hover .uk-overlay-caption, -.uk-overlay-toggle.uk-hover .uk-overlay-caption { - opacity: 1; -} -/* ======================================================================== - Component: Animation - ========================================================================== */ -[class*='uk-animation-'] { - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} -/* Hide animated element if scrollspy is used */ -@media screen { - [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { - opacity: 0; - } -} -/* - * Fade - * Higher specificity (!important) needed because of reverse modifier - */ -.uk-animation-fade { - -webkit-animation-name: uk-fade; - animation-name: uk-fade; - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; - -webkit-animation-timing-function: linear !important; - animation-timing-function: linear !important; -} -/* - * Fade with scale - */ -.uk-animation-scale-up { - -webkit-animation-name: uk-fade-scale-02; - animation-name: uk-fade-scale-02; -} -.uk-animation-scale-down { - -webkit-animation-name: uk-fade-scale-18; - animation-name: uk-fade-scale-18; -} -/* - * Fade with slide - */ -.uk-animation-slide-top { - -webkit-animation-name: uk-fade-top; - animation-name: uk-fade-top; -} -.uk-animation-slide-bottom { - -webkit-animation-name: uk-fade-bottom; - animation-name: uk-fade-bottom; -} -.uk-animation-slide-left { - -webkit-animation-name: uk-fade-left; - animation-name: uk-fade-left; -} -.uk-animation-slide-right { - -webkit-animation-name: uk-fade-right; - animation-name: uk-fade-right; -} -/* - * Scale - */ -.uk-animation-scale { - -webkit-animation-name: uk-scale-12; - animation-name: uk-scale-12; -} -/* - * Shake - */ -.uk-animation-shake { - -webkit-animation-name: uk-shake; - animation-name: uk-shake; -} -/* Direction modifiers - ========================================================================== */ -.uk-animation-reverse { - -webkit-animation-direction: reverse; - animation-direction: reverse; - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} -/* Duration modifiers -========================================================================== */ -.uk-animation-15 { - -webkit-animation-duration: 15s; - animation-duration: 15s; -} -/* Origin modifiers -========================================================================== */ -.uk-animation-top-left { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -.uk-animation-top-center { - -webkit-transform-origin: 50% 0; - transform-origin: 50% 0; -} -.uk-animation-top-right { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} -.uk-animation-middle-left { - -webkit-transform-origin: 0 50%; - transform-origin: 0 50%; -} -.uk-animation-middle-right { - -webkit-transform-origin: 100% 50%; - transform-origin: 100% 50%; -} -.uk-animation-bottom-left { - -webkit-transform-origin: 0 100%; - transform-origin: 0 100%; -} -.uk-animation-bottom-center { - -webkit-transform-origin: 50% 100%; - transform-origin: 50% 100%; -} -.uk-animation-bottom-right { - -webkit-transform-origin: 100% 100%; - transform-origin: 100% 100%; -} -/* Sub-object: `uk-animation-hover` -========================================================================== */ -/* - * Enable animation only on hover - * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` - */ -.uk-animation-hover:not(:hover), -.uk-animation-hover:not(:hover) [class*='uk-animation-'], -.uk-touch .uk-animation-hover:not(.uk-hover), -.uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { - -webkit-animation-name: none; - animation-name: none; -} -/* Keyframes: Fade - * Used by dropdown, datepicker and slideshow component - ========================================================================== */ -@-webkit-keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -/* Keyframes: Fade with slide - ========================================================================== */ -/* - * Top - */ -@-webkit-keyframes uk-fade-top { - 0% { - opacity: 0; - -webkit-transform: translateY(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-top { - 0% { - opacity: 0; - transform: translateY(-100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom - */ -@-webkit-keyframes uk-fade-bottom { - 0% { - opacity: 0; - -webkit-transform: translateY(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-bottom { - 0% { - opacity: 0; - transform: translateY(100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Left - */ -@-webkit-keyframes uk-fade-left { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-left { - 0% { - opacity: 0; - transform: translateX(-100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-fade-right { - 0% { - opacity: 0; - -webkit-transform: translateX(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-right { - 0% { - opacity: 0; - transform: translateX(100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* Keyframes: Fade with scale - ========================================================================== */ -/* - * Scale by 0.2 - */ -@-webkit-keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - -webkit-transform: scale(0.2); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - transform: scale(0.2); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.5 - * Used by slideshow component - */ -@-webkit-keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - -webkit-transform: scale(1.5); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - transform: scale(1.5); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.8 - */ -@-webkit-keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - -webkit-transform: scale(1.8); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - transform: scale(1.8); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* Keyframes: Slide - * Used by slideshow component - ========================================================================== */ -/* - * Left - */ -@-webkit-keyframes uk-slide-left { - 0% { - -webkit-transform: translateX(-100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-slide-right { - 0% { - -webkit-transform: translateX(100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Left third - */ -@-webkit-keyframes uk-slide-left-33 { - 0% { - -webkit-transform: translateX(33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left-33 { - 0% { - transform: translateX(33%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right third - */ -@-webkit-keyframes uk-slide-right-33 { - 0% { - -webkit-transform: translateX(-33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right-33 { - 0% { - transform: translateX(-33%); - } - 100% { - transform: translateX(0); - } -} -/* Keyframes: Scale - ========================================================================== */ -@-webkit-keyframes uk-scale-12 { - 0% { - -webkit-transform: scale(1.2); - } - 100% { - -webkit-transform: scale(1); - } -} -@keyframes uk-scale-12 { - 0% { - transform: scale(1.2); - } - 100% { - transform: scale(1); - } -} -/* Keyframes: Rotate - * Used by icon component - ========================================================================== */ -@-webkit-keyframes uk-rotate { - 0% { - -webkit-transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - } -} -@keyframes uk-rotate { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} -/* Keyframes: Shake - ========================================================================== */ -@-webkit-keyframes uk-shake { - 0%, - 100% { - -webkit-transform: translateX(0); - } - 10% { - -webkit-transform: translateX(-9px); - } - 20% { - -webkit-transform: translateX(8px); - } - 30% { - -webkit-transform: translateX(-7px); - } - 40% { - -webkit-transform: translateX(6px); - } - 50% { - -webkit-transform: translateX(-5px); - } - 60% { - -webkit-transform: translateX(4px); - } - 70% { - -webkit-transform: translateX(-3px); - } - 80% { - -webkit-transform: translateX(2px); - } - 90% { - -webkit-transform: translateX(-1px); - } -} -@keyframes uk-shake { - 0%, - 100% { - transform: translateX(0); - } - 10% { - transform: translateX(-9px); - } - 20% { - transform: translateX(8px); - } - 30% { - transform: translateX(-7px); - } - 40% { - transform: translateX(6px); - } - 50% { - transform: translateX(-5px); - } - 60% { - transform: translateX(4px); - } - 70% { - transform: translateX(-3px); - } - 80% { - transform: translateX(2px); - } - 90% { - transform: translateX(-1px); - } -} -/* Keyframes: Fade with slide fixed - * Used by dropdown and search component - ========================================================================== */ -/* - * Top fixed - */ -@-webkit-keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(-10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - transform: translateY(-10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom fixed - */ -@-webkit-keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - transform: translateY(10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* ======================================================================== - Component: Dropdown - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set position - * 3. Box-sizing is needed for `uk-dropdown-justify` - * 4. Set style - * 5. Reset button group whitespace hack - */ -.uk-dropdown { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - top: 100%; - left: 0; - z-index: 1020; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 4 */ - width: 200px; - margin-top: 5px; - padding: 15px; - background: #f5f5f5; - color: #444444; - /* 5 */ - font-size: 1rem; - vertical-align: top; -} -/* - * 1. Show dropdown - * 2. Set animation - * 3. Needed for scale animation - */ -.uk-open > .uk-dropdown { - /* 1 */ - display: block; - /* 2 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 3 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Alignment modifiers - ========================================================================== */ -/* - * Modifier `uk-dropdown-flip` - */ -.uk-dropdown-flip { - left: auto; - right: 0; -} -/* - * Modifier `uk-dropdown-up` - */ -.uk-dropdown-up { - top: auto; - bottom: 100%; - margin-top: auto; - margin-bottom: 5px; -} -/* Nav in dropdown - ========================================================================== */ -.uk-dropdown .uk-nav { - margin: 0 -15px; -} -/* Grid and panel in dropdown - ========================================================================== */ -/* -* Vertical gutter -*/ -/* - * Grid - * Higher specificity to override large gutter - */ -.uk-grid .uk-dropdown-grid + .uk-dropdown-grid { - margin-top: 15px; -} -/* Panels */ -.uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Horizontal gutter - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { - margin-left: -15px; - margin-right: -15px; - } - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { - padding-left: 15px; - padding-right: 15px; - } - /* - * Column divider - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - border-left: 1px solid #dddddd; - } - /* - * Width multiplier for dropdown columns - */ - .uk-dropdown-width-2:not(.uk-dropdown-stack) { - width: 400px; - } - .uk-dropdown-width-3:not(.uk-dropdown-stack) { - width: 600px; - } - .uk-dropdown-width-4:not(.uk-dropdown-stack) { - width: 800px; - } - .uk-dropdown-width-5:not(.uk-dropdown-stack) { - width: 1000px; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Stack columns and take full width - */ - .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; - } - /* - * Vertical gutter - */ - .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; - } -} -/* -* Stack grid columns -*/ -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; -} -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; -} -/* Modifier `uk-dropdown-small` - ========================================================================== */ -/* - * Set min-width and text expands dropdown if needed - */ -.uk-dropdown-small { - min-width: 150px; - width: auto; - padding: 5px; - white-space: nowrap; -} -/* - * Nav in dropdown - */ -.uk-dropdown-small .uk-nav { - margin: 0 -5px; -} -/* Modifier: `uk-dropdown-navbar` - ========================================================================== */ -.uk-dropdown-navbar { - margin-top: 0; - background: #f5f5f5; - color: #444444; -} -.uk-open > .uk-dropdown-navbar { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* Modifier `uk-dropdown-scrollable` - ========================================================================== */ -/* - * Usefull for long lists - */ -.uk-dropdown-scrollable { - overflow-y: auto; - max-height: 200px; -} -/* ======================================================================== - Component: Modal - ========================================================================== */ -/* - * This is the modal overlay and modal dialog container - * 1. Hide by default - * 2. Set fixed position - * 3. Allow scrolling for the modal dialog - * 4. Mask the background page - * 5. Fade-in transition - * 6. Deactivate browser history navigation in IE11 - * 7. force hardware acceleration to prevent browser rendering hiccups - */ -.uk-modal { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1010; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - background: rgba(0, 0, 0, 0.6); - /* 5 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - /* 6 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; - /* 7 */ - -webkit-transform: translateZ(0); - transform: translateZ(0); -} -/* - * Open state - */ -.uk-modal.uk-open { - opacity: 1; -} -/* - * Prevents duplicated scrollbar caused by 4. - */ -.uk-modal-page, -.uk-modal-page body { - overflow: hidden; -} -/* Sub-object: `uk-modal-dialog` - ========================================================================== */ -/* - * 1. Create position context for caption, spinner and close button - * 2. Set box sizing - * 3. Set style - * 4. Slide-in transition - */ -.uk-modal-dialog { - /* 1 */ - position: relative; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 50px auto; - padding: 20px; - width: 600px; - max-width: 100%; - max-width: calc(100% - 20px); - /* 3 */ - background: #ffffff; - /* 4 */ - opacity: 0; - -webkit-transform: translateY(-100px); - transform: translateY(-100px); - -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; - transition: opacity 0.3s linear, transform 0.3s ease-out; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Fit in small screen - */ - .uk-modal-dialog { - width: auto; - margin: 10px auto; - } -} -/* - * Open state - */ -.uk-open .uk-modal-dialog { - /* 4 */ - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); -} -/* - * Remove margin from the last-child - */ -.uk-modal-dialog > :not([class*='uk-modal-']):last-child { - margin-bottom: 0; -} -/* Close in modal - ========================================================================== */ -.uk-modal-dialog > .uk-close:first-child { - margin: -10px -10px 0 0; - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { - margin-top: 0; -} -/* Modifier: `uk-modal-dialog-lightbox` - ========================================================================== */ -.uk-modal-dialog-lightbox { - margin: 15px auto; - padding: 0; - max-width: 95%; - max-width: calc(100% - 30px); -} -/* - * Close button - */ -.uk-modal-dialog-lightbox > .uk-close:first-child { - position: absolute; - top: -12px; - right: -12px; - margin: 0; - float: none; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-modal-dialog-lightbox > .uk-close:first-child { - top: -7px; - right: -7px; - } -} -/* Modifier: `uk-modal-dialog-large` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-modal-dialog-large { - width: 930px; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-modal-dialog-large { - width: 1130px; - } -} -/* Sub-Object: `uk-modal-header` and `uk-modal-footer` - ========================================================================== */ -.uk-modal-header { - margin-bottom: 15px; -} -.uk-modal-footer { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-modal-header > :last-child, -.uk-modal-footer > :last-child { - margin-bottom: 0; -} -/* Sub-Object: `uk-modal-caption` - ========================================================================== */ -.uk-modal-caption { - position: absolute; - left: 0; - right: 0; - bottom: -20px; - margin-bottom: -10px; - color: #ffffff; - text-align: center; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* Sub-Object: `uk-modal-spinner` - ========================================================================== */ -.uk-modal-spinner { - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - font-size: 25px; - color: #ddd; -} -.uk-modal-spinner:after { - content: "\f110"; - font-family: FontAwesome; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* ======================================================================== - Component: Off-canvas - ========================================================================== */ -/* - * This is the offcanvas overlay and bar container - * 1. Hide by default - * 2. Set fixed position - * 3. Deactivate browser touch actions in IE11 - * 4. Mask the background page - */ -.uk-offcanvas { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1000; - /* 3 */ - touch-action: none; - /* 4 */ - background: rgba(0, 0, 0, 0.1); -} -.uk-offcanvas.uk-active { - display: block; -} -/* Sub-object `uk-offcanvas-page` - ========================================================================== */ -/* - * Prepares the whole HTML page to slide-out - * 1. Fix the main page and disallow scrolling - * 2. Side-out transition - */ -.uk-offcanvas-page { - /* 1 */ - position: fixed; - /* 2 */ - -webkit-transition: margin-left 0.3s ease-in-out; - transition: margin-left 0.3s ease-in-out; -} -/* Sub-object `uk-offcanvas-bar` - ========================================================================== */ -/* - * This is the offcanvas bar - * 1. Set fixed position - * 2. Size and style - * 3. Allow scrolling - * 4. Side-out transition - * 5. Deavtivate scroll chaining in IE11 - */ -.uk-offcanvas-bar { - /* 1 */ - position: fixed; - top: 0; - bottom: 0; - left: 0; - -webkit-transform: translateX(-100%); - transform: translateX(-100%); - z-index: 1001; - /* 2 */ - width: 270px; - max-width: 100%; - background: #333333; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - /* 5 */ - -ms-scroll-chaining: none; -} -.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { - -webkit-transform: translateX(0%); - transform: translateX(0%); -} -/* Modifier `uk-offcanvas-bar-flip` - ========================================================================== */ -.uk-offcanvas-bar-flip { - left: auto; - right: 0; - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Panel in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-panel { - margin: 20px 15px; - color: #777777; -} -.uk-offcanvas .uk-panel-title { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]) { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]):hover { - color: #ffffff; -} -/* ======================================================================== - Component: Switcher - ========================================================================== */ -/* - * 1. Deactivate browser history navigation in IE11 - */ -.uk-switcher { - margin: 0; - padding: 0; - list-style: none; - /* 1 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; -} -/* - * Items - */ -.uk-switcher > :not(.uk-active) { - display: none; -} -/* ======================================================================== - Component: Text - ========================================================================== */ -/* Size modifiers - ========================================================================== */ -.uk-text-small { - font-size: 11px; - line-height: 16px; -} -.uk-text-large { - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Weight modifiers - ========================================================================== */ -.uk-text-bold { - font-weight: bold; -} -/* Color modifiers - ========================================================================== */ -.uk-text-muted { - color: #999999 !important; -} -.uk-text-primary { - color: #2d7091 !important; -} -.uk-text-success { - color: #659f13 !important; -} -.uk-text-warning { - color: #e28327 !important; -} -.uk-text-danger { - color: #d85030 !important; -} -.uk-text-contrast { - color: #ffffff !important; -} -/* Alignment modifiers - ========================================================================== */ -.uk-text-left { - text-align: left !important; -} -.uk-text-right { - text-align: right !important; -} -.uk-text-center { - text-align: center !important; -} -.uk-text-justify { - text-align: justify !important; -} -.uk-text-top { - vertical-align: top !important; -} -.uk-text-middle { - vertical-align: middle !important; -} -.uk-text-bottom { - vertical-align: bottom !important; -} -/* Only tablets portrait and smaller */ -@media (max-width: 959px) { - .uk-text-center-medium { - text-align: center !important; - } - .uk-text-left-medium { - text-align: left !important; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-text-center-small { - text-align: center !important; - } - .uk-text-left-small { - text-align: left !important; - } -} -/* Wrap modifiers - ========================================================================== */ -/* - * Prevent text from wrapping onto multiple lines - */ -.uk-text-nowrap { - white-space: nowrap; -} -/* - * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis - */ -.uk-text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* - * Break strings if their length exceeds the width of their container - */ -.uk-text-break { - word-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; -} -/* ======================================================================== - Component: Utility - ========================================================================== */ -/* Container - ========================================================================== */ -.uk-container { - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 980px; - padding: 0 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-container { - max-width: 1200px; - padding: 0 35px; - } -} -/* - * Micro clearfix - */ -.uk-container:before, -.uk-container:after { - content: ""; - display: table; -} -.uk-container:after { - clear: both; -} -/* - * Center container - */ -.uk-container-center { - margin-left: auto; - margin-right: auto; -} -/* Clearing - ========================================================================== */ -/* - * Micro clearfix -* `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit - * `table` is used again with `:after` because `clear` only works with block elements. - * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari - */ -.uk-clearfix:before { - content: ""; - display: table-cell; -} -.uk-clearfix:after { - content: ""; - display: table; - clear: both; -} -/* - * Create a new block formatting context - */ -.uk-nbfc { - overflow: hidden; -} -.uk-nbfc-alt { - display: table-cell; - width: 10000px; -} -/* Alignment of block elements - ========================================================================== */ -/* - * Float blocks - * 1. Prevent content overflow on small devices - */ -.uk-float-left { - float: left; -} -.uk-float-right { - float: right; -} -/* 1 */ -[class*='uk-float-'] { - max-width: 100%; -} -/* Alignment of images and objects - ========================================================================== */ -/* - * Alignment - */ -[class*='uk-align-'] { - display: block; - margin-bottom: 15px; -} -.uk-align-left { - margin-right: 15px; - float: left; -} -.uk-align-right { - margin-left: 15px; - float: right; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-align-medium-left { - margin-right: 15px; - margin-bottom: 15px; - float: left; - } - .uk-align-medium-right { - margin-left: 15px; - margin-bottom: 15px; - float: right; - } -} -.uk-align-center { - margin-left: auto; - margin-right: auto; -} -/* Vertical alignment - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - */ -.uk-vertical-align { - font-size: 0.001px; -} -/* - * The `uk-vertical-align` container needs a specific height - */ -.uk-vertical-align:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * Sub-object which can have any height - * 1. Reset whitespace hack - */ -.uk-vertical-align-middle, -.uk-vertical-align-bottom { - display: inline-block; - max-width: 100%; - /* 1 */ - font-size: 1rem; -} -.uk-vertical-align-middle { - vertical-align: middle; -} -.uk-vertical-align-bottom { - vertical-align: bottom; -} -/* Height - ========================================================================== */ -/* - * More robust if padding and border are used - */ -[class*='uk-height'] { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Useful to extend the `html` and `body` element to the full height of the page. - */ -.uk-height-1-1 { - height: 100%; -} -/* - * Useful to create image teasers - */ -.uk-height-viewport { - height: 100vh; - min-height: 600px; -} -/* Responsive objects - * Note: Images are already responsive by default, see Base component - ========================================================================== */ -/* - * 1. Corrects `max-width` and `max-height` behavior if padding and border are used - */ -.uk-responsive-width, -.uk-responsive-height { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * `important` needed to override `uk-img-preserve img` - */ -.uk-responsive-width { - max-width: 100% !important; - height: auto; -} -/* - * Responsiveness: Sets a maximum height relative to the parent and auto scales the width - * Only works if the parent element has a fixed height. - */ -.uk-responsive-height { - max-height: 100%; - width: auto; -} -/* Margin - ========================================================================== */ -/* - * Create a block with the same margin of a paragraph - * Add margin if adjacent element - */ -.uk-margin { - margin-bottom: 15px; -} -* + .uk-margin { - margin-top: 15px; -} -.uk-margin-top { - margin-top: 15px !important; -} -.uk-margin-bottom { - margin-bottom: 15px !important; -} -.uk-margin-left { - margin-left: 15px !important; -} -.uk-margin-right { - margin-right: 15px !important; -} -/* - * Larger margins - */ -.uk-margin-large { - margin-bottom: 50px; -} -* + .uk-margin-large { - margin-top: 50px; -} -.uk-margin-large-top { - margin-top: 50px !important; -} -.uk-margin-large-bottom { - margin-bottom: 50px !important; -} -.uk-margin-large-left { - margin-left: 50px !important; -} -.uk-margin-large-right { - margin-right: 50px !important; -} -/* - * Smaller margins - */ -.uk-margin-small { - margin-bottom: 5px; -} -* + .uk-margin-small { - margin-top: 5px; -} -.uk-margin-small-top { - margin-top: 5px !important; -} -.uk-margin-small-bottom { - margin-bottom: 5px !important; -} -.uk-margin-small-left { - margin-left: 5px !important; -} -.uk-margin-small-right { - margin-right: 5px !important; -} -/* - * Remove margins - */ -.uk-margin-remove { - margin: 0 !important; -} -.uk-margin-top-remove { - margin-top: 0 !important; -} -.uk-margin-bottom-remove { - margin-bottom: 0 !important; -} -/* Padding - ========================================================================== */ -.uk-padding-remove { - padding: 0 !important; -} -.uk-padding-top-remove { - padding-top: 0 !important; -} -.uk-padding-bottom-remove { - padding-bottom: 0 !important; -} -.uk-padding-vertical-remove { - padding-top: 0 !important; - padding-bottom: 0 !important; -} -/* Border - ========================================================================== */ -.uk-border-circle { - border-radius: 50%; -} -.uk-border-rounded { - border-radius: 5px; -} -/* Headings - ========================================================================== */ -.uk-heading-large { - font-size: 36px; - line-height: 42px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-heading-large { - font-size: 52px; - line-height: 64px; - } -} -/* Link - ========================================================================== */ -/* - * Let links appear in default text color - */ -.uk-link-muted, -.uk-link-muted a { - color: #444444; -} -.uk-link-muted:hover, -.uk-link-muted a:hover { - color: #444444; -} -/* - * Reset link style - */ -.uk-link-reset, -.uk-link-reset a, -.uk-link-reset:hover, -.uk-link-reset a:hover, -.uk-link-reset:focus, -.uk-link-reset a:focus { - color: inherit; - text-decoration: none; -} -/* Scrollable - ========================================================================== */ -/* - * Enable scrolling for preformatted text - */ -.uk-scrollable-text { - height: 300px; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - resize: both; -} -/* - * Box with scrolling enabled - */ -.uk-scrollable-box { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 170px; - padding: 10px; - border: 1px solid #dddddd; - overflow: auto; - -webkit-overflow-scrolling: touch; - resize: both; -} -.uk-scrollable-box > :last-child { - margin-bottom: 0; -} -/* Overflow - ========================================================================== */ -.uk-overflow-hidden { - overflow: hidden; -} -/* - * Enable scrollbars if content is clipped - */ -.uk-overflow-container { - overflow: auto; - -webkit-overflow-scrolling: touch; -} -.uk-overflow-container > :last-child { - margin-bottom: 0; -} -/* Position - ========================================================================== */ -.uk-position-absolute, -[class*='uk-position-top'], -[class*='uk-position-bottom'] { - position: absolute !important; -} -.uk-position-top { - top: 0; - width: 100%; -} -.uk-position-bottom { - bottom: 0; - width: 100%; -} -.uk-position-top-left { - top: 0; - left: 0; -} -.uk-position-top-right { - top: 0; - right: 0; -} -.uk-position-bottom-left { - bottom: 0; - left: 0; -} -.uk-position-bottom-right { - bottom: 0; - right: 0; -} -/* - * Cover - */ -.uk-position-cover { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} -/* - * Relative - */ -.uk-position-relative { - position: relative !important; -} -/* - * Z-index - */ -.uk-position-z-index { - z-index: 1; -} -/* Display - ========================================================================== */ -/* - * Display - */ -.uk-display-block { - display: block !important; -} -.uk-display-inline { - display: inline !important; -} -.uk-display-inline-block { - display: inline-block !important; -} -/* - * Visibility - * Avoids setting display to `block` so it works also with `inline-block` and `table` - */ -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-medium { - display: none !important; - } - .uk-hidden-large { - display: none !important; - } -} -/* Tablets portrait */ -@media (min-width: 768px) and (max-width: 959px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-large { - display: none !important ; - } - .uk-hidden-medium { - display: none !important; - } -} -/* Phone landscape and smaller*/ -@media (max-width: 767px) { - .uk-visible-medium { - display: none !important; - } - .uk-visible-large { - display: none !important; - } - .uk-hidden-small { - display: none !important; - } -} -/* Remove from the flow and screen readers on any device */ -.uk-hidden { - display: none !important; - visibility: hidden !important; -} -/* It's hidden, but still affects layout */ -.uk-invisible { - visibility: hidden !important; -} -/* Show on hover */ -.uk-visible-hover:hover .uk-hidden, -.uk-visible-hover:hover .uk-invisible { - display: block !important; - visibility: visible !important; -} -.uk-visible-hover-inline:hover .uk-hidden, -.uk-visible-hover-inline:hover .uk-invisible { - display: inline-block !important; - visibility: visible !important; -} -/* Hide on touch */ -.uk-touch .uk-hidden-touch, -.uk-notouch .uk-hidden-notouch { - display: none !important; -} -/* ======================================================================== - Component: Flex - ========================================================================== */ -.uk-flex { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -.uk-flex-inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; - display: inline-flex; -} -/* - * Fixes initial flex-shrink value in IE10 - */ -.uk-flex > *, -.uk-flex-inline > * { - -ms-flex-negative: 1; -} -/* Alignment - ========================================================================== */ -/* - * Vertical alignment - * Default value is `stretch` - */ -.uk-flex-top { - -ms-flex-align: start; - -webkit-align-items: flex-start; - align-items: flex-start; -} -.uk-flex-middle { - -ms-flex-align: center; - -webkit-align-items: center; - align-items: center; -} -.uk-flex-bottom { - -ms-flex-align: end; - -webkit-align-items: flex-end; - align-items: flex-end; -} -/* - * Horizontal alignment - * Default value is `flex-start` - */ -.uk-flex-center { - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} -.uk-flex-right { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; - justify-content: flex-end; -} -.uk-flex-space-between { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -} -.uk-flex-space-around { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; - justify-content: space-around; -} -/* Direction - ========================================================================== */ -.uk-flex-row-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; - flex-direction: row-reverse; -} -.uk-flex-column { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -.uk-flex-column-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; - flex-direction: column-reverse; -} -/* Wrap - ========================================================================== */ -.uk-flex-nowrap { - -ms-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - flex-wrap: nowrap; -} -.uk-flex-wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; -} -.uk-flex-wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} -/* - * Horizontal alignment - * Default value is `stretch` - */ -.uk-flex-wrap-top { - -ms-flex-line-pack: start; - -webkit-align-content: flex-start; - align-content: flex-start; -} -.uk-flex-wrap-middle { - -ms-flex-line-pack: center; - -webkit-align-content: center; - align-content: center; -} -.uk-flex-wrap-bottom { - -ms-flex-line-pack: end; - -webkit-align-content: flex-end; - align-content: flex-end; -} -.uk-flex-wrap-space-between { - -ms-flex-line-pack: justify; - -webkit-align-content: space-between; - align-content: space-between; -} -.uk-flex-wrap-space-around { - -ms-flex-line-pack: distribute; - -webkit-align-content: space-around; - align-content: space-around; -} -/* Item ordering - ========================================================================== */ -/* - * Default is 0 - */ -.uk-flex-order-first { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; -} -.uk-flex-order-last { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-flex-order-first-small { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-small { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-flex-order-first-medium { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-medium { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-flex-order-first-large { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-large { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-flex-order-first-xlarge { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-xlarge { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Item dimensions - ========================================================================== */ -/* - * Initial: 0 1 auto - * Content dimensions, but shrinks - */ -/* - * No Flex: 0 0 auto - * Content dimensions - */ -.uk-flex-item-none { - -ms-flex: none; - -webkit-flex: none; - flex: none; -} -/* - * Relative Flex: 1 1 auto - * Space is allocated considering content - * 1. Fixes flex-shrink value in IE10 - */ -.uk-flex-item-auto { - -ms-flex: auto; - -webkit-flex: auto; - flex: auto; - /* 1 */ - -ms-flex-negative: 1; -} -/* - * Absolute Flex: 1 1 0% - * Space is allocated solely based on flex - */ -.uk-flex-item-1 { - -ms-flex: 1; - -webkit-flex: 1; - flex: 1; -} -/* ======================================================================== - Component: Contrast - ========================================================================== */ -.uk-contrast { - color: #ffffff; -} -.uk-contrast a:not([class]), -.uk-contrast .uk-link { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast a:not([class]):hover, -.uk-contrast .uk-link:hover { - color: #ffffff; - text-decoration: underline; -} -.uk-contrast :not(pre) > code, -.uk-contrast :not(pre) > kbd, -.uk-contrast :not(pre) > samp { - color: #ffffff; -} -.uk-contrast em { - color: #ffffff; -} -.uk-contrast h1, -.uk-contrast h2, -.uk-contrast h3, -.uk-contrast h4, -.uk-contrast h5, -.uk-contrast h6 { - color: #ffffff; -} -.uk-contrast hr { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav li > a, -.uk-contrast .uk-nav li > a:hover { - text-decoration: none; -} -.uk-contrast .uk-nav-side > li > a { - color: #ffffff; -} -.uk-contrast .uk-nav-side > li > a:hover, -.uk-contrast .uk-nav-side > li > a:focus { - background: rgba(255, 255, 255, 0.1); - color: #ffffff; -} -.uk-contrast .uk-nav-side > li.uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-nav-side .uk-nav-header { - color: #ffffff; -} -.uk-contrast .uk-nav-side .uk-nav-divider { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav-side ul a { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-nav-side ul a:hover { - color: #ffffff; -} -.uk-contrast .uk-subnav > * > a { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast .uk-subnav > * > a:hover, -.uk-contrast .uk-subnav > * > a:focus { - color: #ffffff; - text-decoration: none; -} -.uk-contrast .uk-subnav > .uk-active > a { - color: #ffffff; -} -.uk-contrast .uk-subnav-line > :nth-child(n+2):before { - border-left-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-subnav-pill > * > a:hover, -.uk-contrast .uk-subnav-pill > * > a:focus { - background: rgba(255, 255, 255, 0.7); - color: #444444; - text-decoration: none; -} -.uk-contrast .uk-subnav-pill > .uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-list-line > li:nth-child(n+2) { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-form select, -.uk-contrast .uk-form textarea, -.uk-contrast .uk-form input:not([type]), -.uk-contrast .uk-form input[type="text"], -.uk-contrast .uk-form input[type="password"], -.uk-contrast .uk-form input[type="datetime"], -.uk-contrast .uk-form input[type="datetime-local"], -.uk-contrast .uk-form input[type="date"], -.uk-contrast .uk-form input[type="month"], -.uk-contrast .uk-form input[type="time"], -.uk-contrast .uk-form input[type="week"], -.uk-contrast .uk-form input[type="number"], -.uk-contrast .uk-form input[type="email"], -.uk-contrast .uk-form input[type="url"], -.uk-contrast .uk-form input[type="search"], -.uk-contrast .uk-form input[type="tel"], -.uk-contrast .uk-form input[type="color"] { - border-color: rgba(255, 255, 255, 0.8); - background: rgba(255, 255, 255, 0.8); - color: #444444; - background-clip: padding-box; -} -.uk-contrast .uk-form select:focus, -.uk-contrast .uk-form textarea:focus, -.uk-contrast .uk-form input:not([type]):focus, -.uk-contrast .uk-form input[type="text"]:focus, -.uk-contrast .uk-form input[type="password"]:focus, -.uk-contrast .uk-form input[type="datetime"]:focus, -.uk-contrast .uk-form input[type="datetime-local"]:focus, -.uk-contrast .uk-form input[type="date"]:focus, -.uk-contrast .uk-form input[type="month"]:focus, -.uk-contrast .uk-form input[type="time"]:focus, -.uk-contrast .uk-form input[type="week"]:focus, -.uk-contrast .uk-form input[type="number"]:focus, -.uk-contrast .uk-form input[type="email"]:focus, -.uk-contrast .uk-form input[type="url"]:focus, -.uk-contrast .uk-form input[type="search"]:focus, -.uk-contrast .uk-form input[type="tel"]:focus, -.uk-contrast .uk-form input[type="color"]:focus { - border-color: #ffffff; - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-form :-ms-input-placeholder { - color: rgba(68, 68, 68, 0.7) !important; -} -.uk-contrast .uk-form ::-moz-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-form ::-webkit-input-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-button { - color: #444444; - background: #ffffff; -} -.uk-contrast .uk-button:hover, -.uk-contrast .uk-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; -} -.uk-contrast .uk-button:active, -.uk-contrast .uk-button.uk-active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -.uk-contrast .uk-button-primary:hover, -.uk-contrast .uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -.uk-contrast .uk-button-primary:active, -.uk-contrast .uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -.uk-contrast .uk-icon-hover { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-icon-hover:hover { - color: #ffffff; -} -.uk-contrast .uk-icon-button { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-icon-button:hover, -.uk-contrast .uk-icon-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; -} -.uk-contrast .uk-icon-button:active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-text-muted { - color: rgba(255, 255, 255, 0.6) !important; -} -.uk-contrast .uk-text-primary { - color: #2d7091 !important; -} -/* ======================================================================== - Component: Print - ========================================================================== */ -@media print { - * { - background: transparent !important; - color: black !important; - box-shadow: none !important; - text-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.gradient.css deleted file mode 100644 index 4284f44fb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.gradient.css +++ /dev/null @@ -1,8417 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Base - ========================================================================== */ -/* - * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * 3. Style - */ -html { - /* 1 */ - font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; - /* 2 */ - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - /* 3 */ - background: #ffffff; - color: #444444; - background-image: -webkit-radial-gradient(100% 100%, center, #ffffff, #ffffff); - background-image: radial-gradient(100% 100% at center, #ffffff, #ffffff); -} -/* - * Removes default margin. - */ -body { - margin: 0; -} -/* Links - ========================================================================== */ -/* - * Remove the gray background color from active links in IE 10. - */ -a { - background: transparent; -} -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; -} -/* - * Style - */ -a, -.uk-link { - color: #0077dd; - text-decoration: none; - cursor: pointer; -} -a:hover, -.uk-link:hover { - color: #005599; - text-decoration: underline; -} -/* Text-level semantics - ========================================================================== */ -/* - * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10. - */ -abbr[title] { - border-bottom: 1px dotted; -} -/* - * Addresses style set to `bolder` in Firefox - */ -b, -strong { - font-weight: bold; -} -/* - * 1. Address odd `em`-unit font size rendering in all browsers. - * 2. Consolas has a better baseline in running text compared to `Courier` - */ -:not(pre) > code, -:not(pre) > kbd, -:not(pre) > samp { - /* 1 */ - font-size: 12px; - /* 2 */ - font-family: Consolas, monospace, serif; - /* 3 */ - color: #dd0055; - white-space: nowrap; - padding: 0 4px; - border: 1px solid #dddddd; - border-radius: 3px; - background: #fafafa; -} -/* - * Emphasize - */ -em { - color: #dd0055; -} -/* - * Insert - */ -ins { - background: #ffffaa; - color: #444444; - text-decoration: none; -} -/* - * Mark - * Note: Addresses styling not present in IE 8/9. - */ -mark { - background: #ffffaa; - color: #444444; -} -/* - * Quote - */ -q { - font-style: italic; -} -/* - * Addresses inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; -} -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -/* Images - ========================================================================== */ -/* - * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * 2. Corrects `max-width` behavior if padding and border are used - * 3. Remove border when inside `a` element in IE 8/9/10. - * 4. Remove the gap between images and the bottom of their containers - */ -img { - /* 1 */ - max-width: 100%; - height: auto; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - border: 0; - /* 4 */ - vertical-align: middle; -} -/* - * Preserve original image dimensions - */ -.uk-img-preserve, -.uk-img-preserve img { - max-width: none; -} -/* - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; -} -/* Block elements - ========================================================================== */ -/* - * Reset margin - */ -blockquote, -figure { - margin: 0; -} -/* - * Margins - */ -p, -ul, -ol, -dl, -blockquote, -pre, -address, -fieldset, -figure { - margin: 0 0 15px 0; -} -* + p, -* + ul, -* + ol, -* + dl, -* + blockquote, -* + pre, -* + address, -* + fieldset, -* + figure { - margin-top: 15px; -} -/* Headings - ========================================================================== */ -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0 0 15px 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - color: #444444; - text-transform: none; -} -/* - * Margins - */ -* + h1, -* + h2, -* + h3, -* + h4, -* + h5, -* + h6 { - margin-top: 25px; -} -/* - * Sizes - */ -h1, -.uk-h1 { - font-size: 36px; - line-height: 42px; -} -h2, -.uk-h2 { - font-size: 24px; - line-height: 30px; -} -h3, -.uk-h3 { - font-size: 18px; - line-height: 24px; -} -h4, -.uk-h4 { - font-size: 16px; - line-height: 22px; -} -h5, -.uk-h5 { - font-size: 14px; - line-height: 20px; -} -h6, -.uk-h6 { - font-size: 12px; - line-height: 18px; -} -/* Lists - ========================================================================== */ -ul, -ol { - padding-left: 30px; -} -/* - * Reset margin for nested lists - */ -ul > li > ul, -ul > li > ol, -ol > li > ol, -ol > li > ul { - margin: 0; -} -/* Description lists - ========================================================================== */ -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -/* Horizontal rules - ========================================================================== */ -/* - * 1. Address differences between Firefox and other browsers. - * 2. Style - */ -hr { - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; - /* 2 */ - margin: 15px 0; - border: 0; - border-top: 1px solid #dddddd; -} -/* Address - ========================================================================== */ -address { - font-style: normal; -} -/* Blockquotes - ========================================================================== */ -blockquote { - padding-left: 15px; - border-left: 5px solid #dddddd; - font-size: 16px; - line-height: 22px; - font-style: italic; -} -/* Preformatted text - ========================================================================== */ -/* - * 1. Contain overflow in all browsers. - */ -pre { - padding: 10px; - background: #fafafa; - font: 12px / 18px Consolas, monospace, serif; - color: #444444; - -moz-tab-size: 4; - tab-size: 4; - /* 1 */ - overflow: auto; - border: 1px solid #dddddd; - border-radius: 3px; -} -/* Selection pseudo-element - ========================================================================== */ -::-moz-selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -::selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -/* HTML5 elements - ========================================================================== */ -/* - * Corrects `block` display not defined in IE 8/9. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -main, -nav, -section, -summary { - display: block; -} -/* - * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera. - */ -progress { - vertical-align: baseline; -} -/* - * Prevent displaying `audio` without controls in Chrome, Safari and Opera - */ -audio:not([controls]) { - display: none; -} -/* - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE and Safari - */ -[hidden], -template { - display: none; -} -/* Iframe - ========================================================================== */ -iframe { - border: 0; -} -/* Fix viewport for IE10 snap mode - ========================================================================== */ -@media screen and (max-width: 400px) { - @-ms-viewport { - width: device-width; - } -} -/* ======================================================================== - Component: Grid - ========================================================================== */ -/* - * 1. Makes grid more robust so that it can be used with other block elements like lists - */ -.uk-grid { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * DEPRECATED - * Micro clearfix - * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit - */ -.uk-grid:before, -.uk-grid:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-grid:after { - clear: both; -} -/* - * Grid cell - * 1. Space is allocated solely based on content dimensions - * 2. Makes grid more robust so that it can be used with other block elements - * 3. DEPRECATED Using `float` to support IE9 - */ -.uk-grid > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - margin: 0; - /* 3 */ - float: left; -} -/* - * Remove margin from the last-child - */ -.uk-grid > * > :last-child { - margin-bottom: 0; -} -/* Grid gutter - ========================================================================== */ -/* - * Default gutter - */ -/* Horizontal */ -.uk-grid { - margin-left: -25px; -} -.uk-grid > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid + .uk-grid, -.uk-grid-margin, -.uk-grid > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* Horizontal */ - .uk-grid { - margin-left: -35px; - } - .uk-grid > * { - padding-left: 35px; - } - /* Vertical */ - .uk-grid + .uk-grid, - .uk-grid-margin, - .uk-grid > * > .uk-panel + .uk-panel { - margin-top: 35px; - } -} -/* - * Collapse gutter - */ -/* Horizontal */ -.uk-grid-collapse { - margin-left: 0; -} -.uk-grid-collapse > * { - padding-left: 0; -} -/* Vertical */ -.uk-grid-collapse + .uk-grid-collapse, -.uk-grid-collapse > .uk-grid-margin, -.uk-grid-collapse > * > .uk-panel + .uk-panel { - margin-top: 0; -} -/* - * Small gutter - */ -/* Horizontal */ -.uk-grid-small { - margin-left: -10px; -} -.uk-grid-small > * { - padding-left: 10px; -} -/* Vertical */ -.uk-grid-small + .uk-grid-small, -.uk-grid-small > .uk-grid-margin, -.uk-grid-small > * > .uk-panel + .uk-panel { - margin-top: 10px; -} -/* - * Medium gutter - */ -/* Horizontal */ -.uk-grid-medium { - margin-left: -25px; -} -.uk-grid-medium > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid-medium + .uk-grid-medium, -.uk-grid-medium > .uk-grid-margin, -.uk-grid-medium > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Modifier: `uk-grid-divider` - ========================================================================== */ -/* - * Horizontal divider - * Only works with the default gutter. Does not work with gutter collapse, small or large. - * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. - */ -.uk-grid-divider:not(:empty) { - margin-left: -25px; - margin-right: -25px; -} -.uk-grid-divider > * { - padding-left: 25px; - padding-right: 25px; -} -.uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), -.uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { - border-left: 1px solid #dddddd; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* - * Large gutter - */ - .uk-grid-divider:not(:empty) { - margin-left: -35px; - margin-right: -35px; - } - .uk-grid-divider > * { - padding-left: 35px; - padding-right: 35px; - } - .uk-grid-divider:empty { - margin-top: 35px; - margin-bottom: 35px; - } -} -/* - * Vertical divider - */ -.uk-grid-divider:empty { - margin-top: 25px; - margin-bottom: 25px; - border-top: 1px solid #dddddd; -} -/* Match panels in grids - ========================================================================== */ -.uk-grid-match > * { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -/* - * 1. Behave like a block element - */ -.uk-grid-match > * > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* Even grid cell widths - ========================================================================== */ -[class*='uk-grid-width'] > * { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -.uk-grid-width-1-2 > * { - width: 50%; -} -.uk-grid-width-1-3 > * { - width: 33.333%; -} -.uk-grid-width-1-4 > * { - width: 25%; -} -.uk-grid-width-1-5 > * { - width: 20%; -} -.uk-grid-width-1-6 > * { - width: 16.666%; -} -.uk-grid-width-1-10 > * { - width: 10%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-grid-width-small-1-2 > * { - width: 50%; - } - .uk-grid-width-small-1-3 > * { - width: 33.333%; - } - .uk-grid-width-small-1-4 > * { - width: 25%; - } - .uk-grid-width-small-1-5 > * { - width: 20%; - } - .uk-grid-width-small-1-6 > * { - width: 16.666%; - } - .uk-grid-width-small-1-10 > * { - width: 10%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-width-medium-1-2 > * { - width: 50%; - } - .uk-grid-width-medium-1-3 > * { - width: 33.333%; - } - .uk-grid-width-medium-1-4 > * { - width: 25%; - } - .uk-grid-width-medium-1-5 > * { - width: 20%; - } - .uk-grid-width-medium-1-6 > * { - width: 16.666%; - } - .uk-grid-width-medium-1-10 > * { - width: 10%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-width-large-1-2 > * { - width: 50%; - } - .uk-grid-width-large-1-3 > * { - width: 33.333%; - } - .uk-grid-width-large-1-4 > * { - width: 25%; - } - .uk-grid-width-large-1-5 > * { - width: 20%; - } - .uk-grid-width-large-1-6 > * { - width: 16.666%; - } - .uk-grid-width-large-1-10 > * { - width: 10%; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-grid-width-xlarge-1-2 > * { - width: 50%; - } - .uk-grid-width-xlarge-1-3 > * { - width: 33.333%; - } - .uk-grid-width-xlarge-1-4 > * { - width: 25%; - } - .uk-grid-width-xlarge-1-5 > * { - width: 20%; - } - .uk-grid-width-xlarge-1-6 > * { - width: 16.666%; - } - .uk-grid-width-xlarge-1-10 > * { - width: 10%; - } -} -/* Sub-objects: `uk-width-*` - ========================================================================== */ -[class*='uk-width'] { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* - * Widths - */ -/* Whole */ -.uk-width-1-1 { - width: 100%; -} -/* Halves */ -.uk-width-1-2, -.uk-width-2-4, -.uk-width-3-6, -.uk-width-5-10 { - width: 50%; -} -/* Thirds */ -.uk-width-1-3, -.uk-width-2-6 { - width: 33.333%; -} -.uk-width-2-3, -.uk-width-4-6 { - width: 66.666%; -} -/* Quarters */ -.uk-width-1-4 { - width: 25%; -} -.uk-width-3-4 { - width: 75%; -} -/* Fifths */ -.uk-width-1-5, -.uk-width-2-10 { - width: 20%; -} -.uk-width-2-5, -.uk-width-4-10 { - width: 40%; -} -.uk-width-3-5, -.uk-width-6-10 { - width: 60%; -} -.uk-width-4-5, -.uk-width-8-10 { - width: 80%; -} -/* Sixths */ -.uk-width-1-6 { - width: 16.666%; -} -.uk-width-5-6 { - width: 83.333%; -} -/* Tenths */ -.uk-width-1-10 { - width: 10%; -} -.uk-width-3-10 { - width: 30%; -} -.uk-width-7-10 { - width: 70%; -} -.uk-width-9-10 { - width: 90%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - /* Whole */ - .uk-width-small-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-small-1-2, - .uk-width-small-2-4, - .uk-width-small-3-6, - .uk-width-small-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-small-1-3, - .uk-width-small-2-6 { - width: 33.333%; - } - .uk-width-small-2-3, - .uk-width-small-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-small-1-4 { - width: 25%; - } - .uk-width-small-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-small-1-5, - .uk-width-small-2-10 { - width: 20%; - } - .uk-width-small-2-5, - .uk-width-small-4-10 { - width: 40%; - } - .uk-width-small-3-5, - .uk-width-small-6-10 { - width: 60%; - } - .uk-width-small-4-5, - .uk-width-small-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-small-1-6 { - width: 16.666%; - } - .uk-width-small-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-small-1-10 { - width: 10%; - } - .uk-width-small-3-10 { - width: 30%; - } - .uk-width-small-7-10 { - width: 70%; - } - .uk-width-small-9-10 { - width: 90%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* Whole */ - .uk-width-medium-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-medium-1-2, - .uk-width-medium-2-4, - .uk-width-medium-3-6, - .uk-width-medium-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-medium-1-3, - .uk-width-medium-2-6 { - width: 33.333%; - } - .uk-width-medium-2-3, - .uk-width-medium-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-medium-1-4 { - width: 25%; - } - .uk-width-medium-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-medium-1-5, - .uk-width-medium-2-10 { - width: 20%; - } - .uk-width-medium-2-5, - .uk-width-medium-4-10 { - width: 40%; - } - .uk-width-medium-3-5, - .uk-width-medium-6-10 { - width: 60%; - } - .uk-width-medium-4-5, - .uk-width-medium-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-medium-1-6 { - width: 16.666%; - } - .uk-width-medium-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-medium-1-10 { - width: 10%; - } - .uk-width-medium-3-10 { - width: 30%; - } - .uk-width-medium-7-10 { - width: 70%; - } - .uk-width-medium-9-10 { - width: 90%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - /* Whole */ - .uk-width-large-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-large-1-2, - .uk-width-large-2-4, - .uk-width-large-3-6, - .uk-width-large-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-large-1-3, - .uk-width-large-2-6 { - width: 33.333%; - } - .uk-width-large-2-3, - .uk-width-large-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-large-1-4 { - width: 25%; - } - .uk-width-large-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-large-1-5, - .uk-width-large-2-10 { - width: 20%; - } - .uk-width-large-2-5, - .uk-width-large-4-10 { - width: 40%; - } - .uk-width-large-3-5, - .uk-width-large-6-10 { - width: 60%; - } - .uk-width-large-4-5, - .uk-width-large-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-large-1-6 { - width: 16.666%; - } - .uk-width-large-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-large-1-10 { - width: 10%; - } - .uk-width-large-3-10 { - width: 30%; - } - .uk-width-large-7-10 { - width: 70%; - } - .uk-width-large-9-10 { - width: 90%; - } -} -/* Sub-object: `uk-push-*` and `uk-pull-*` - ========================================================================== */ -/* - * Source ordering - * Works only with `uk-width-medium-*` - */ -/* Tablet and bigger */ -@media (min-width: 768px) { - [class*='uk-push-'], - [class*='uk-pull-'] { - position: relative; - } - /* - * Push - */ - /* Halves */ - .uk-push-1-2, - .uk-push-2-4, - .uk-push-3-6, - .uk-push-5-10 { - left: 50%; - } - /* Thirds */ - .uk-push-1-3, - .uk-push-2-6 { - left: 33.333%; - } - .uk-push-2-3, - .uk-push-4-6 { - left: 66.666%; - } - /* Quarters */ - .uk-push-1-4 { - left: 25%; - } - .uk-push-3-4 { - left: 75%; - } - /* Fifths */ - .uk-push-1-5, - .uk-push-2-10 { - left: 20%; - } - .uk-push-2-5, - .uk-push-4-10 { - left: 40%; - } - .uk-push-3-5, - .uk-push-6-10 { - left: 60%; - } - .uk-push-4-5, - .uk-push-8-10 { - left: 80%; - } - /* Sixths */ - .uk-push-1-6 { - left: 16.666%; - } - .uk-push-5-6 { - left: 83.333%; - } - /* Tenths */ - .uk-push-1-10 { - left: 10%; - } - .uk-push-3-10 { - left: 30%; - } - .uk-push-7-10 { - left: 70%; - } - .uk-push-9-10 { - left: 90%; - } - /* - * Pull - */ - /* Halves */ - .uk-pull-1-2, - .uk-pull-2-4, - .uk-pull-3-6, - .uk-pull-5-10 { - left: -50%; - } - /* Thirds */ - .uk-pull-1-3, - .uk-pull-2-6 { - left: -33.333%; - } - .uk-pull-2-3, - .uk-pull-4-6 { - left: -66.666%; - } - /* Quarters */ - .uk-pull-1-4 { - left: -25%; - } - .uk-pull-3-4 { - left: -75%; - } - /* Fifths */ - .uk-pull-1-5, - .uk-pull-2-10 { - left: -20%; - } - .uk-pull-2-5, - .uk-pull-4-10 { - left: -40%; - } - .uk-pull-3-5, - .uk-pull-6-10 { - left: -60%; - } - .uk-pull-4-5, - .uk-pull-8-10 { - left: -80%; - } - /* Sixths */ - .uk-pull-1-6 { - left: -16.666%; - } - .uk-pull-5-6 { - left: -83.333%; - } - /* Tenths */ - .uk-pull-1-10 { - left: -10%; - } - .uk-pull-3-10 { - left: -30%; - } - .uk-pull-7-10 { - left: -70%; - } - .uk-pull-9-10 { - left: -90%; - } -} -/* ======================================================================== - Component: Panel - ========================================================================== */ -/* - * 1. Needed for `a` elements - * 2. Create position context for badges - */ -.uk-panel { - /* 1 */ - display: block; - /* 2 */ - position: relative; -} -/* - * Allow panels to be anchors - */ -.uk-panel, -.uk-panel:hover { - text-decoration: none; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-panel:before, -.uk-panel:after { - content: ""; - display: table; -} -.uk-panel:after { - clear: both; -} -/* - * Remove margin from the last-child if not `uk-widget-title` - */ -.uk-panel > :not(.uk-panel-title):last-child { - margin-bottom: 0; -} -/* Sub-object: `uk-panel-title` - ========================================================================== */ -.uk-panel-title { - margin-top: 0; - margin-bottom: 15px; - font-size: 18px; - line-height: 24px; - font-weight: normal; - text-transform: none; - color: #444444; -} -/* Sub-object: `uk-panel-badge` - ========================================================================== */ -.uk-panel-badge { - position: absolute; - top: 0; - right: 0; - z-index: 1; -} -/* Sub-object: `uk-panel-teaser` - ========================================================================== */ -.uk-panel-teaser { - margin-bottom: 15px; -} -/* Modifier: `uk-panel-box` - ========================================================================== */ -.uk-panel-box { - padding: 15px; - background: #fafafa; - color: #444444; - border: 1px solid #dddddd; - border-radius: 4px; -} -.uk-panel-box-hover:hover { - color: #444444; -} -.uk-panel-box .uk-panel-title { - color: #444444; -} -.uk-panel-box .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-box .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* - * Nav in panel - */ -.uk-panel-box > .uk-nav-side { - margin: 0 -15px; -} -/* - * Sub-modifier: `uk-panel-box-primary` - */ -.uk-panel-box-primary { - background-color: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -.uk-panel-box-primary-hover:hover { - color: #2d7091; -} -.uk-panel-box-primary .uk-panel-title { - color: #2d7091; -} -/* - * Sub-modifier: `uk-panel-box-secondary` - */ -.uk-panel-box-secondary { - background-color: #ffffff; - color: #444444; -} -.uk-panel-box-secondary-hover:hover { - color: #444444; -} -.uk-panel-box-secondary .uk-panel-title { - color: #444444; -} -/* Modifier: `uk-panel-hover` - ========================================================================== */ -.uk-panel-hover { - padding: 15px; - color: #444444; - border: 1px solid transparent; - border-radius: 4px; -} -.uk-panel-hover:hover { - background: #fafafa; - color: #444444; - border-color: #dddddd; -} -.uk-panel-hover .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-hover .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* Modifier: `uk-panel-header` - ========================================================================== */ -.uk-panel-header .uk-panel-title { - padding-bottom: 10px; - border-bottom: 1px solid #dddddd; - color: #444444; -} -/* Modifier: `uk-panel-space` - ========================================================================== */ -.uk-panel-space { - padding: 30px; -} -.uk-panel-space .uk-panel-badge { - top: 30px; - right: 30px; -} -/* Modifier: `uk-panel-divider` - ========================================================================== */ -.uk-panel + .uk-panel-divider { - margin-top: 50px !important; -} -.uk-panel + .uk-panel-divider:before { - content: ""; - display: block; - position: absolute; - top: -25px; - left: 0; - right: 0; - border-top: 1px solid #dddddd; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-panel + .uk-panel-divider { - margin-top: 70px !important; - } - .uk-panel + .uk-panel-divider:before { - top: -35px; - } -} -.uk-panel-box .uk-panel-teaser { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - overflow: hidden; - -webkit-transform: translateZ(0); -} -/* ======================================================================== - Component: Block - ========================================================================== */ -.uk-block { - position: relative; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-top: 20px; - padding-bottom: 20px; -} -/* Phone landscape and bigger */ -@media (min-width: 768px) { - .uk-block { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* - * Micro clearfix to make blocks more robust - */ -.uk-block:before, -.uk-block:after { - content: ""; - display: table; -} -.uk-block:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-block > :last-child { - margin-bottom: 0; -} -/* Padding Modifier - ========================================================================== */ -/* - * Large padding - */ -.uk-block-large { - padding-top: 20px; - padding-bottom: 20px; -} -/* Tablets and bigger */ -@media (min-width: 768px) { - .uk-block-large { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-block-large { - padding-top: 100px; - padding-bottom: 100px; - } -} -/* Color Modifier - ========================================================================== */ -/* - * Default - */ -.uk-block-default { - background: #ffffff; -} -/* - * Muted - */ -.uk-block-muted { - background: #f9f9f9; -} -/* - * Primary - */ -.uk-block-primary { - background: #00a8e6; -} -/* - * Secondary - */ -.uk-block-secondary { - background: #222222; -} -/* - * Adjust padding between equal colored blocks - */ -.uk-block-default + .uk-block-default, -.uk-block-muted + .uk-block-muted, -.uk-block-primary + .uk-block-primary, -.uk-block-secondary + .uk-block-secondary { - padding-top: 0; -} -/* ======================================================================== - Component: Article - ========================================================================== */ -/* - * Micro clearfix to make articles more robust - */ -.uk-article:before, -.uk-article:after { - content: ""; - display: table; -} -.uk-article:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-article > :last-child { - margin-bottom: 0; -} -/* - * Vertical gutter for articles - */ -.uk-article + .uk-article { - margin-top: 25px; -} -/* Sub-object `uk-article-title` - ========================================================================== */ -.uk-article-title { - font-size: 36px; - line-height: 42px; - font-weight: normal; - text-transform: none; -} -.uk-article-title a { - color: inherit; - text-decoration: none; -} -/* Sub-object `uk-article-meta` - ========================================================================== */ -.uk-article-meta { - font-size: 12px; - line-height: 18px; - color: #999999; -} -/* Sub-object `uk-article-lead` - ========================================================================== */ -.uk-article-lead { - color: #444444; - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Sub-object `uk-article-divider` - ========================================================================== */ -.uk-article-divider { - margin-bottom: 25px; - border-color: #dddddd; -} -* + .uk-article-divider { - margin-top: 25px; -} -.uk-article + .uk-article { - padding-top: 25px; - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Comment - ========================================================================== */ -/* Sub-object `uk-comment-header` - ========================================================================== */ -.uk-comment-header { - margin-bottom: 15px; - padding: 10px; - border: 1px solid #dddddd; - border-radius: 4px; - background: #fafafa; -} -/* - * Micro clearfix - */ -.uk-comment-header:before, -.uk-comment-header:after { - content: ""; - display: table; -} -.uk-comment-header:after { - clear: both; -} -/* Sub-object `uk-comment-avatar` - ========================================================================== */ -.uk-comment-avatar { - margin-right: 15px; - float: left; -} -/* Sub-object `uk-comment-title` - ========================================================================== */ -.uk-comment-title { - margin: 5px 0 0 0; - font-size: 16px; - line-height: 22px; -} -/* Sub-object `uk-comment-meta` - ========================================================================== */ -.uk-comment-meta { - margin: 2px 0 0 0; - font-size: 11px; - line-height: 16px; - color: #999999; -} -/* Sub-object `uk-comment-body` - ========================================================================== */ -.uk-comment-body { - padding-left: 10px; - padding-right: 10px; -} -/* - * Remove margin from the last-child - */ -.uk-comment-body > :last-child { - margin-bottom: 0; -} -/* Sub-object `uk-comment-list` - ========================================================================== */ -.uk-comment-list { - padding: 0; - list-style: none; -} -.uk-comment-list .uk-comment + ul { - margin: 25px 0 0 0; - list-style: none; -} -.uk-comment-list > li:nth-child(n+2), -.uk-comment-list .uk-comment + ul > li:nth-child(n+2) { - margin-top: 25px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-comment-list .uk-comment + ul { - padding-left: 100px; - } -} -/* Modifier `uk-comment-primary` - ========================================================================== */ -.uk-comment-primary .uk-comment-header { - border-color: rgba(45, 112, 145, 0.3); - background-color: #ebf7fd; - color: #2d7091; - text-shadow: 0 1px 0 #ffffff; -} -/* ======================================================================== - Component: Cover - ========================================================================== */ -/* - * Background image always covers and centers its element - */ -.uk-cover-background { - background-position: 50% 50%; - background-size: cover; - background-repeat: no-repeat; -} -/* - * Emulates image cover, works with video and image elements - * 1. Parent container which clips resized object - * 2. Resizes the object to always covers its container - * 3. Reset the responsive image CSS - * 4. Center object - */ -/* 1 */ -.uk-cover { - overflow: hidden; -} -.uk-cover-object { - /* 2 */ - width: auto; - height: auto; - min-width: 100%; - min-height: 100%; - /* 3 */ - max-width: none; - /* 4 */ - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* - * To center iframes use `data-uk-cover` JavaScript - */ -[data-uk-cover] { - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* ======================================================================== - Component: Nav - ========================================================================== */ -.uk-nav, -.uk-nav ul { - margin: 0; - padding: 0; - list-style: none; -} -/* - * Items - */ -.uk-nav li > a { - display: block; - text-decoration: none; -} -.uk-nav > li > a { - padding: 5px 15px; -} -/* - * Nested items - */ -.uk-nav ul { - padding-left: 15px; -} -.uk-nav ul a { - padding: 2px 0; -} -/* - * Item subtitle - */ -.uk-nav li > a > div { - font-size: 12px; - line-height: 18px; -} -/* Sub-object: `uk-nav-header` - ========================================================================== */ -.uk-nav-header { - padding: 5px 15px; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} -.uk-nav-header:not(:first-child) { - margin-top: 15px; -} -/* Sub-object: `uk-nav-divider` - ========================================================================== */ -.uk-nav-divider { - margin: 9px 15px; -} -/* Sub-object: `uk-nav-sub` - ========================================================================== */ -/* - * `ul` needed for higher specificity to override padding - */ -ul.uk-nav-sub { - padding: 5px 0 5px 15px; -} -/* Modifier: `uk-nav-parent-icon` - ========================================================================== */ -.uk-nav-parent-icon > .uk-parent > a:after { - content: "\f104"; - width: 20px; - margin-right: -10px; - float: right; - font-family: FontAwesome; - text-align: center; -} -.uk-nav-parent-icon > .uk-parent.uk-open > a:after { - content: "\f107"; -} -/* Modifier `uk-nav-side` - ========================================================================== */ -/* - * Items - */ -.uk-nav-side > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-side > li > a:hover, -.uk-nav-side > li > a:focus { - background: rgba(0, 0, 0, 0.03); - color: #444444; - /* 2 */ - outline: none; - box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1); - text-shadow: 0 -1px 0 #ffffff; -} -/* Active */ -.uk-nav-side > li.uk-active > a { - background: #009dd8; - color: #ffffff; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-side .uk-nav-header { - color: #444444; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-side .uk-nav-divider { - border-top: 1px solid #dddddd; - box-shadow: 0 1px 0 #ffffff; -} -/* - * Nested items - */ -.uk-nav-side ul a { - color: #0077dd; -} -.uk-nav-side ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-dropdown` - ========================================================================== */ -/* - * Items - */ -.uk-nav-dropdown > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-dropdown > li > a:hover, -.uk-nav-dropdown > li > a:focus { - background: #009dd8; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-dropdown .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-dropdown .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-dropdown ul a { - color: #0077dd; -} -.uk-nav-dropdown ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-navbar` - ========================================================================== */ -/* - * Items - */ -.uk-nav-navbar > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-navbar > li > a:hover, -.uk-nav-navbar > li > a:focus { - background: #009dd8; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-navbar .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-navbar .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-navbar ul a { - color: #0077dd; -} -.uk-nav-navbar ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-offcanvas` - ========================================================================== */ -/* - * Items - */ -.uk-nav-offcanvas > li > a { - color: #cccccc; - padding: 10px 15px; - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Hover - * No hover on touch devices because it behaves buggy in fixed offcanvas - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-offcanvas > .uk-open > a, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { - background: #404040; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Active - * `html .uk-nav` needed for higher specificity to override hover - */ -html .uk-nav.uk-nav-offcanvas > li.uk-active > a { - background: #1a1a1a; - color: #ffffff; - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-offcanvas .uk-nav-header { - color: #777777; - margin-top: 0; - border-top: 1px solid rgba(0, 0, 0, 0.3); - background: #404040; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-offcanvas .uk-nav-divider { - border-top: 1px solid rgba(255, 255, 255, 0.01); - margin: 0; - height: 4px; - background: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Nested items - * No hover on touch devices because it behaves buggy in fixed offcanvas - */ -.uk-nav-offcanvas ul a { - color: #cccccc; -} -html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { - color: #ffffff; -} -/* - * Modifier `uk-nav-offcanvas` - */ -.uk-nav-offcanvas { - border-bottom: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* - * Sub-object: `uk-nav-sub` - */ -.uk-nav-offcanvas .uk-nav-sub { - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* ======================================================================== - Component: Navbar - ========================================================================== */ -.uk-navbar { - background: #f7f7f7; - color: #444444; - border: 1px solid rgba(0, 0, 0, 0.1); - border-bottom-color: rgba(0, 0, 0, 0.3); - border-radius: 4px; - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); -} -/* - * Micro clearfix - */ -.uk-navbar:before, -.uk-navbar:after { - content: ""; - display: table; -} -.uk-navbar:after { - clear: both; -} -/* Sub-object: `uk-navbar-nav` - ========================================================================== */ -.uk-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -/* - * 1. Create position context for dropdowns - */ -.uk-navbar-nav > li { - float: left; - /* 1 */ - position: relative; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* Appear not as link */ -.uk-navbar-nav > li > a[href='#'] { - cursor: text; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-navbar-nav > li:hover > a, -.uk-navbar-nav > li > a:focus, -.uk-navbar-nav > li.uk-open > a { - background-color: transparent; - color: #444444; - /* 3 */ - outline: none; - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-navbar-nav > li > a:active { - background-color: #f5f5f5; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Active */ -.uk-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Sub-objects: `uk-navbar-nav-subtitle` - ========================================================================== */ -.uk-navbar-nav .uk-navbar-nav-subtitle { - line-height: 28px; -} -.uk-navbar-nav-subtitle > div { - margin-top: -6px; - font-size: 10px; - line-height: 12px; -} -/* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` - ========================================================================== */ -/* - * Imitate navbar items - */ -.uk-navbar-content, -.uk-navbar-brand, -.uk-navbar-toggle { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - height: 41px; - padding: 0 15px; - float: left; - margin-top: -1px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Helper to center all child elements vertically - */ -.uk-navbar-content:before, -.uk-navbar-brand:before, -.uk-navbar-toggle:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* Sub-objects: `uk-navbar-content` - ========================================================================== */ -/* - * Better sibling spacing - */ -.uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { - padding-left: 0; -} -/* - * Link colors - */ -.uk-navbar-content > a:not([class]) { - color: #0077dd; -} -.uk-navbar-content > a:not([class]):hover { - color: #005599; -} -/* Sub-objects: `uk-navbar-brand` - ========================================================================== */ -.uk-navbar-brand { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-brand:hover, -.uk-navbar-brand:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* Sub-object: `uk-navbar-toggle` - ========================================================================== */ -.uk-navbar-toggle { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-toggle:hover, -.uk-navbar-toggle:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * 1. Center icon vertically - */ -.uk-navbar-toggle:after { - content: "\f0c9"; - font-family: FontAwesome; - /* 1 */ - vertical-align: middle; -} -.uk-navbar-toggle-alt:after { - content: "\f002"; -} -/* Sub-object: `uk-navbar-center` - ========================================================================== */ -/* - * The element with this class needs to be last child in the navbar - * 1. This hack is needed because other float elements shift centered text - */ -.uk-navbar-center { - float: none; - text-align: center; - /* 1 */ - max-width: 50%; - margin-left: auto; - margin-right: auto; -} -/* Sub-object: `uk-navbar-flip` - ========================================================================== */ -.uk-navbar-flip { - float: right; -} -/* - * Apply same `border-radius` as `uk-navbar` - */ -.uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-flip` - */ -/* Collapse border */ -.uk-navbar-flip .uk-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-navbar` */ -.uk-navbar-flip .uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.uk-navbar-flip .uk-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-attached` - */ -.uk-navbar-attached { - border-top-color: transparent; - border-left-color: transparent; - border-right-color: transparent; - border-radius: 0; -} -.uk-navbar-attached .uk-navbar-nav > li > a { - border-radius: 0 !important; -} -/* ======================================================================== - Component: Subnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-subnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - * 3. Create position context for dropdowns - */ -.uk-subnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; - /* 3 */ - position: relative; -} -/* - * DEPRECATED IE9 Support - */ -.uk-subnav:before, -.uk-subnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-subnav:after { - clear: both; -} -.uk-subnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-subnav > * > * { - display: inline-block; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-subnav > * > :hover, -.uk-subnav > * > :focus { - color: #0077dd; - text-decoration: none; -} -/* - * Active - */ -.uk-subnav > .uk-active > * { - color: #0077dd; -} -/* Modifier: 'subnav-line' - ========================================================================== */ -.uk-subnav-line > :before { - content: ""; - display: inline-block; - height: 10px; - vertical-align: middle; -} -.uk-subnav-line > :nth-child(n+2):before { - margin-right: 10px; - border-left: 1px solid #dddddd; -} -/* Modifier: 'subnav-pill' - ========================================================================== */ -.uk-subnav-pill > * > * { - padding: 3px 9px; - border-radius: 4px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-subnav-pill > * > :hover, -.uk-subnav-pill > * > :focus { - background: #fafafa; - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); -} -/* - * Active - * `li` needed for higher specificity to override hover - */ -.uk-subnav-pill > .uk-active > * { - background: #009dd8; - color: #ffffff; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* Disabled state - ========================================================================== */ -.uk-subnav > .uk-disabled > * { - background: none; - color: #999999; - text-decoration: none; - cursor: text; - box-shadow: none; -} -/* ======================================================================== - Component: Breadcrumb - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Remove whitespace between child elements when using `inline-block` - */ -.uk-breadcrumb { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - font-size: 0.001px; -} -/* Items - ========================================================================== */ -/* - * Reset whitespace hack - */ -.uk-breadcrumb > li { - font-size: 1rem; - vertical-align: top; -} -.uk-breadcrumb > li, -.uk-breadcrumb > li > a, -.uk-breadcrumb > li > span { - display: inline-block; -} -.uk-breadcrumb > li:nth-child(n+2):before { - content: "/"; - display: inline-block; - margin: 0 8px; -} -/* - * Disabled - */ -.uk-breadcrumb > li:not(.uk-active) > span { - color: #999999; -} -/* ======================================================================== - Component: Pagination - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Center pagination by default - * 3. Remove whitespace between child elements when using `inline-block` - */ -.uk-pagination { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - text-align: center; - /* 3 */ - font-size: 0.001px; -} -/* - * Micro clearfix - * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used - */ -.uk-pagination:before, -.uk-pagination:after { - content: ""; - display: table; -} -.uk-pagination:after { - clear: both; -} -/* Items - ========================================================================== */ -/* - * 1. Reset whitespace hack - * 2. Remove the gap at the bottom of it container - */ -.uk-pagination > li { - display: inline-block; - /* 1 */ - font-size: 1rem; - /* 2 */ - vertical-align: top; -} -.uk-pagination > li:nth-child(n+2) { - margin-left: 5px; -} -/* - * 1. Makes pagination more robust against different box-sizing use - * 2. Reset text-align to center if alignment modifier is used - */ -.uk-pagination > li > a, -.uk-pagination > li > span { - display: inline-block; - min-width: 16px; - padding: 3px 5px; - line-height: 20px; - text-decoration: none; - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - /* 2 */ - text-align: center; - border-radius: 4px; -} -/* - * Links - */ -.uk-pagination > li > a { - background: #f7f7f7; - color: #444444; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-pagination > li > a:hover, -.uk-pagination > li > a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - background-image: none; -} -/* OnClick */ -.uk-pagination > li > a:active { - background-color: #f5f5f5; - color: #444444; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.3); - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* - * Active - */ -.uk-pagination > .uk-active > span { - background: #009dd8; - color: #ffffff; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Disabled - */ -.uk-pagination > .uk-disabled > span { - background-color: #fafafa; - color: #999999; - border: 1px solid rgba(0, 0, 0, 0.2); - text-shadow: 0 1px 0 #ffffff; -} -/* Previous and next navigation - ========================================================================== */ -.uk-pagination-previous { - float: left; -} -.uk-pagination-next { - float: right; -} -/* Alignment modifiers - ========================================================================== */ -.uk-pagination-left { - text-align: left; -} -.uk-pagination-right { - text-align: right; -} -/* ======================================================================== - Component: Tab - ========================================================================== */ -.uk-tab { - margin: 0; - padding: 0; - list-style: none; - border-bottom: 1px solid #dddddd; -} -/* - * Micro clearfix on the deepest container - */ -.uk-tab:before, -.uk-tab:after { - content: ""; - display: table; -} -.uk-tab:after { - clear: both; -} -/* - * Items - * 1. Create position context for dropdowns - */ -.uk-tab > li { - margin-bottom: -1px; - float: left; - /* 1 */ - position: relative; -} -.uk-tab > li > a { - display: block; - padding: 8px 12px 8px 12px; - border: 1px solid transparent; - border-bottom-width: 0; - color: #0077dd; - text-decoration: none; - border-radius: 4px 4px 0 0; - text-shadow: 0 1px 0 #ffffff; -} -.uk-tab > li:nth-child(n+2) > a { - margin-left: 5px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-tab > li > a:hover, -.uk-tab > li > a:focus, -.uk-tab > li.uk-open > a { - border-color: #dddddd; - background: #fafafa; - color: #005599; - /* 2 */ - outline: none; -} -.uk-tab > li:not(.uk-active) > a:hover, -.uk-tab > li:not(.uk-active) > a:focus, -.uk-tab > li.uk-open:not(.uk-active) > a { - margin-bottom: 1px; - padding-bottom: 7px; -} -/* Active */ -.uk-tab > li.uk-active > a { - border-color: #dddddd; - border-bottom-color: transparent; - background: #ffffff; - color: #444444; -} -/* Disabled */ -.uk-tab > li.uk-disabled > a { - color: #999999; - cursor: text; -} -.uk-tab > li.uk-disabled > a:hover, -.uk-tab > li.uk-disabled > a:focus, -.uk-tab > li.uk-disabled.uk-active > a { - background: none; - border-color: transparent; -} -/* Modifier: 'tab-flip' - ========================================================================== */ -.uk-tab-flip > li { - float: right; -} -.uk-tab-flip > li:nth-child(n+2) > a { - margin-left: 0; - margin-right: 5px; -} -/* Modifier: 'tab-responsive' - ========================================================================== */ -.uk-tab > li.uk-tab-responsive > a { - margin-left: 0; - margin-right: 0; -} -/* - * Icon - */ -.uk-tab-responsive > a:before { - content: "\f0c9\00a0"; - font-family: FontAwesome; -} -/* Modifier: 'tab-center' - ========================================================================== */ -.uk-tab-center { - border-bottom: 1px solid #dddddd; -} -.uk-tab-center-bottom { - border-bottom: none; - border-top: 1px solid #dddddd; -} -.uk-tab-center:before, -.uk-tab-center:after { - content: ""; - display: table; -} -.uk-tab-center:after { - clear: both; -} -/* - * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs - */ -.uk-tab-center .uk-tab { - position: relative; - right: 50%; - border: none; - float: right; -} -.uk-tab-center .uk-tab > li { - position: relative; - right: -50%; -} -.uk-tab-center .uk-tab > li > a { - text-align: center; -} -/* Modifier: 'tab-bottom' - ========================================================================== */ -.uk-tab-bottom { - border-top: 1px solid #dddddd; - border-bottom: none; -} -.uk-tab-bottom > li { - margin-top: -1px; - margin-bottom: 0; -} -.uk-tab-bottom > li > a { - padding-top: 8px; - padding-bottom: 8px; - border-bottom-width: 1px; - border-top-width: 0; -} -.uk-tab-bottom > li:not(.uk-active) > a:hover, -.uk-tab-bottom > li:not(.uk-active) > a:focus, -.uk-tab-bottom > li.uk-open:not(.uk-active) > a { - margin-bottom: 0; - margin-top: 1px; - padding-bottom: 8px; - padding-top: 7px; -} -.uk-tab-bottom > li.uk-active > a { - border-top-color: transparent; - border-bottom-color: #dddddd; -} -/* Modifier: 'tab-grid' - ========================================================================== */ -/* - * 1. Create position context to prevent hidden border because of negative `z-index` - */ -.uk-tab-grid { - margin-left: -5px; - border-bottom: none; - /* 1 */ - position: relative; - z-index: 0; -} -.uk-tab-grid:before { - display: block; - position: absolute; - left: 5px; - right: 0; - bottom: -1px; - border-top: 1px solid #dddddd; - /* 1 */ - z-index: -1; -} -.uk-tab-grid > li:first-child > a { - margin-left: 5px; -} -.uk-tab-grid > li > a { - text-align: center; -} -/* - * If `uk-tab-bottom` - */ -.uk-tab-grid.uk-tab-bottom { - border-top: none; -} -.uk-tab-grid.uk-tab-bottom:before { - top: -1px; - bottom: auto; -} -/* Modifier: 'tab-left', 'tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-tab-left, - .uk-tab-right { - border-bottom: none; - } - .uk-tab-left > li, - .uk-tab-right > li { - margin-bottom: 0; - float: none; - } - .uk-tab-left > li > a, - .uk-tab-right > li > a { - padding-top: 8px; - padding-bottom: 8px; - } - .uk-tab-left > li:nth-child(n+2) > a, - .uk-tab-right > li:nth-child(n+2) > a { - margin-left: 0; - margin-top: 5px; - } - .uk-tab-left > li.uk-active > a, - .uk-tab-right > li.uk-active > a { - border-color: #dddddd; - } - /* - * Modifier: 'tab-left' - */ - .uk-tab-left { - border-right: 1px solid #dddddd; - } - .uk-tab-left > li { - margin-right: -1px; - } - .uk-tab-left > li > a { - border-bottom-width: 1px; - border-right-width: 0; - } - .uk-tab-left > li:not(.uk-active) > a:hover, - .uk-tab-left > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-right: 1px; - padding-bottom: 8px; - padding-right: 11px; - } - .uk-tab-left > li.uk-active > a { - border-right-color: transparent; - } - /* - * Modifier: 'tab-right' - */ - .uk-tab-right { - border-left: 1px solid #dddddd; - } - .uk-tab-right > li { - margin-left: -1px; - } - .uk-tab-right > li > a { - border-bottom-width: 1px; - border-left-width: 0; - } - .uk-tab-right > li:not(.uk-active) > a:hover, - .uk-tab-right > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-left: 1px; - padding-bottom: 8px; - padding-left: 11px; - } - .uk-tab-right > li.uk-active > a { - border-left-color: transparent; - } -} -/* Modifier: `uk-tab-bottom' - ========================================================================== */ -.uk-tab-bottom > li > a { - border-radius: 0 0 4px 4px; -} -/* Modifier: `uk-tab-left', `uk-tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Modifier: `uk-tab-left' - */ - .uk-tab-left > li > a { - border-radius: 4px 0 0 4px; - } - /* - * Modifier: `uk-tab-right' - */ - .uk-tab-right > li > a { - border-radius: 0 4px 4px 0; - } -} -/* ======================================================================== - Component: Thumbnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-thumbnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-thumbnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-thumbnav:before, -.uk-thumbnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-thumbnav:after { - clear: both; -} -.uk-thumbnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-thumbnav > * > * { - display: block; - background: #ffffff; -} -.uk-thumbnav > * > * > img { - opacity: 0.7; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -/* - * Hover - */ -.uk-thumbnav > * > :hover > img, -.uk-thumbnav > * > :focus > img { - opacity: 1; -} -/* - * Active - */ -.uk-thumbnav > .uk-active > * > img { - opacity: 1; -} -/* ======================================================================== - Component: List - ========================================================================== */ -.uk-list { - padding: 0; - list-style: none; -} -/* - * Micro clearfix to make list more robust - */ -.uk-list > li:before, -.uk-list > li:after { - content: ""; - display: table; -} -.uk-list > li:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-list > li > :last-child { - margin-bottom: 0; -} -/* - * Nested lists - */ -.uk-list ul { - margin: 0; - padding-left: 20px; - list-style: none; -} -/* Modifier: `uk-list-line` - ========================================================================== */ -.uk-list-line > li:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -/* Modifier: `uk-list-striped` - ========================================================================== */ -.uk-list-striped > li { - padding: 5px 5px; - border-bottom: 1px solid #dddddd; -} -.uk-list-striped > li:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-list-space` - ========================================================================== */ -.uk-list-space > li:nth-child(n+2) { - margin-top: 10px; -} -.uk-list-striped > li:first-child { - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Description list - ========================================================================== */ -/* Modifier: `uk-description-list-horizontal` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-description-list-horizontal { - overflow: hidden; - } - .uk-description-list-horizontal > dt { - width: 160px; - float: left; - clear: both; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .uk-description-list-horizontal > dd { - margin-left: 180px; - } -} -/* Modifier: `uk-description-list-line` - ========================================================================== */ -.uk-description-list-line > dt { - font-weight: normal; -} -.uk-description-list-line > dt:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -.uk-description-list-line > dd { - color: #999999; -} -/* ======================================================================== - Component: Table - ========================================================================== */ -/* - * 1. Remove most spacing between table cells. - * 2. Block element behavior - * 3. Style - */ -.uk-table { - /* 1 */ - border-collapse: collapse; - border-spacing: 0; - /* 2 */ - width: 100%; - /* 3 */ - margin-bottom: 15px; -} -/* - * Add margin if adjacent element - */ -* + .uk-table { - margin-top: 15px; -} -.uk-table th, -.uk-table td { - padding: 8px 8px; - border-bottom: 1px solid #dddddd; -} -/* - * Set alignment - */ -.uk-table th { - text-align: left; -} -.uk-table td { - vertical-align: top; -} -.uk-table thead th { - vertical-align: bottom; -} -/* - * Caption and footer - */ -.uk-table caption, -.uk-table tfoot { - font-size: 12px; - font-style: italic; -} -.uk-table caption { - text-align: left; - color: #999999; -} -/* - * Active State - */ -.uk-table tbody tr.uk-active { - background: #f0f0f0; -} -/* Sub-modifier: `uk-table-middle` - ========================================================================== */ -.uk-table-middle, -.uk-table-middle td { - vertical-align: middle !important; -} -/* Modifier: `uk-table-striped` - ========================================================================== */ -.uk-table-striped tbody tr:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-table-condensed` - ========================================================================== */ -.uk-table-condensed td { - padding: 4px 8px; -} -/* Modifier: `uk-table-hover` - ========================================================================== */ -.uk-table-hover tbody tr:hover { - background: #f0f0f0; -} -/* ======================================================================== - Component: Form - ========================================================================== */ -/* - * 1. Define consistent box sizing. - * Default is `content-box` with following exceptions set to `border-box` - * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` - * `input[type="search"]` in Chrome, Safari and Opera - * `input[type="color"]` in Firefox - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - */ -.uk-form input, -.uk-form select, -.uk-form textarea { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: inherit; -} -/* - * Address inconsistent `text-transform` inheritance which is only inherit in Firefox - */ -.uk-form select { - text-transform: none; -} -/* - * 1. Correct `font` properties not being inherited. - * 2. Don't inherit the `font-weight` and use `bold` instead. - * NOTE: Both declarations don't work in Chrome, Safari and Opera. - */ -.uk-form optgroup { - /* 1 */ - font: inherit; - /* 2 */ - font-weight: bold; -} -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-form input::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Removes excess padding in IE 8/9/10. - */ -.uk-form input[type="checkbox"], -.uk-form input[type="radio"] { - padding: 0; -} -/* - * Improves consistency of cursor style for clickable elements - */ -.uk-form input[type="checkbox"]:not(:disabled), -.uk-form input[type="radio"]:not(:disabled) { - cursor: pointer; -} -/* - * Remove default style in iOS. - */ -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="number"], -.uk-form input[type="datetime"] { - -webkit-appearance: none; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-form input[type="search"]::-webkit-search-cancel-button, -.uk-form input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -.uk-form input[type="number"]::-webkit-inner-spin-button, -.uk-form input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -/* - * Define consistent border, margin, and padding. - */ -.uk-form fieldset { - border: none; - margin: 0; - padding: 0; -} -/* - * 1. Remove default vertical scrollbar in IE 8/9/10/11. - * 2. Improve readability and alignment in all browsers. - */ -.uk-form textarea { - /* 1 */ - overflow: auto; - /* 2 */ - vertical-align: top; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-form ::-moz-placeholder { - opacity: 1; -} -/* - * Removes `box-shadow` for invalid controls in Firefox. - */ -.uk-form :invalid { - box-shadow: none; -} -/* - * Vertical alignment - */ -.uk-form input:not([type="radio"]):not([type="checkbox"]), -.uk-form select { - vertical-align: middle; -} -/* Style - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-form > :last-child { - margin-bottom: 0; -} -/* - * Controls - * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` - * 1. Must be `height` because `min-height` is not working in OSX - * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports - * 3. Vertical `padding` needed for `select` elements in Firefox - * 4. Style - */ -.uk-form select, -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="datetime"], -.uk-form input[type="datetime-local"], -.uk-form input[type="date"], -.uk-form input[type="month"], -.uk-form input[type="time"], -.uk-form input[type="week"], -.uk-form input[type="number"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="color"] { - /* 1 */ - height: 30px; - /* 2 */ - max-width: 100%; - /* 3 */ - padding: 4px 6px; - /* 4 */ - border: 1px solid #dddddd; - background: #ffffff; - color: #444444; - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - border-radius: 4px; -} -.uk-form select:focus, -.uk-form textarea:focus, -.uk-form input:not([type]):focus, -.uk-form input[type="text"]:focus, -.uk-form input[type="password"]:focus, -.uk-form input[type="datetime"]:focus, -.uk-form input[type="datetime-local"]:focus, -.uk-form input[type="date"]:focus, -.uk-form input[type="month"]:focus, -.uk-form input[type="time"]:focus, -.uk-form input[type="week"]:focus, -.uk-form input[type="number"]:focus, -.uk-form input[type="email"]:focus, -.uk-form input[type="url"]:focus, -.uk-form input[type="search"]:focus, -.uk-form input[type="tel"]:focus, -.uk-form input[type="color"]:focus { - border-color: #99baca; - outline: 0; - background: #f5fbfe; - color: #444444; -} -.uk-form select:disabled, -.uk-form textarea:disabled, -.uk-form input:not([type]):disabled, -.uk-form input[type="text"]:disabled, -.uk-form input[type="password"]:disabled, -.uk-form input[type="datetime"]:disabled, -.uk-form input[type="datetime-local"]:disabled, -.uk-form input[type="date"]:disabled, -.uk-form input[type="month"]:disabled, -.uk-form input[type="time"]:disabled, -.uk-form input[type="week"]:disabled, -.uk-form input[type="number"]:disabled, -.uk-form input[type="email"]:disabled, -.uk-form input[type="url"]:disabled, -.uk-form input[type="search"]:disabled, -.uk-form input[type="tel"]:disabled, -.uk-form input[type="color"]:disabled { - border-color: #dddddd; - background-color: #fafafa; - color: #999999; -} -/* - * Placeholder - */ -.uk-form :-ms-input-placeholder { - color: #999999 !important; -} -.uk-form ::-moz-placeholder { - color: #999999; -} -.uk-form ::-webkit-input-placeholder { - color: #999999; -} -.uk-form :disabled:-ms-input-placeholder { - color: #999999 !important; -} -.uk-form :disabled::-moz-placeholder { - color: #999999; -} -.uk-form :disabled::-webkit-input-placeholder { - color: #999999; -} -/* - * Legend - * 1. Behave like block element - * 2. Correct `color` not being inherited in IE 8/9/10/11. - * 3. Remove padding - * 4. `margin-bottom` is not working in Safari and Opera. - * Using `padding` and :after instead to create the border - * 5. Style - */ -.uk-form legend { - /* 1 */ - width: 100%; - /* 2 */ - border: 0; - /* 3 */ - padding: 0; - /* 4 */ - padding-bottom: 15px; - /* 5 */ - font-size: 18px; - line-height: 30px; -} -/* - * 1. Fixes IE9 - */ -.uk-form legend:after { - content: ""; - display: block; - border-bottom: 1px solid #dddddd; - /* 1 */ - width: 100%; -} -/* Size modifiers - * Higher specificity needed to override defaults - ========================================================================== */ -select.uk-form-small, -textarea.uk-form-small, -input[type].uk-form-small, -input:not([type]).uk-form-small { - height: 25px; - padding: 3px 3px; - font-size: 12px; -} -select.uk-form-large, -textarea.uk-form-large, -input[type].uk-form-large, -input:not([type]).uk-form-large { - height: 40px; - padding: 8px 6px; - font-size: 16px; -} -/* Reset height - * Must be after size modifiers - ========================================================================== */ -.uk-form textarea, -.uk-form select[multiple], -.uk-form select[size] { - height: auto; -} -/* Validation states - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Error state - */ -.uk-form-danger { - border-color: #dc8d99 !important; - background: #fff7f8 !important; - color: #d85030 !important; -} -/* - * Success state - */ -.uk-form-success { - border-color: #8ec73b !important; - background: #fafff2 !important; - color: #659f13 !important; -} -/* Style modifiers - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Blank form - */ -.uk-form-blank { - border-color: transparent !important; - border-style: dashed !important; - background: none !important; -} -.uk-form-blank:focus { - border-color: #dddddd !important; -} -/* Size sub-modifiers - ========================================================================== */ -/* - * Fixed widths - * Different widths for mini sized `input` and `select` elements - */ -input.uk-form-width-mini { - width: 40px; -} -select.uk-form-width-mini { - width: 65px; -} -.uk-form-width-small { - width: 130px; -} -.uk-form-width-medium { - width: 200px; -} -.uk-form-width-large { - width: 500px; -} -/* Sub-objects: `uk-form-row` - * Groups labels and controls in rows - ========================================================================== */ -/* - * Micro clearfix - * Needed for `uk-form-horizontal` modifier - */ -.uk-form-row:before, -.uk-form-row:after { - content: ""; - display: table; -} -.uk-form-row:after { - clear: both; -} -/* - * Vertical gutter - */ -.uk-form-row + .uk-form-row { - margin-top: 15px; -} -/* Help text - * Sub-object: `uk-form-help-inline`, `uk-form-help-block` - ========================================================================== */ -.uk-form-help-inline { - display: inline-block; - margin: 0 0 0 10px; -} -.uk-form-help-block { - margin: 5px 0 0 0; -} -/* Controls content - * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` - ========================================================================== */ -/* - * Remove margins - */ -.uk-form-controls > :first-child { - margin-top: 0; -} -.uk-form-controls > :last-child { - margin-bottom: 0; -} -/* - * Group controls and text into blocks with a small spacing between blocks - */ -.uk-form-controls-condensed { - margin: 5px 0; -} -/* Modifier: `uk-form-stacked` - * Requires sub-object: `uk-form-label` - ========================================================================== */ -.uk-form-stacked .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; -} -/* Modifier: `uk-form-horizontal` - * Requires sub-objects: `uk-form-label`, `uk-form-controls` - ========================================================================== */ -/* Tablet portrait and smaller */ -@media (max-width: 959px) { - /* Behave like `uk-form-stacked` */ - .uk-form-horizontal .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-form-horizontal .uk-form-label { - width: 200px; - margin-top: 5px; - float: left; - } - .uk-form-horizontal .uk-form-controls { - margin-left: 215px; - } - /* Better vertical alignment if controls are checkboxes and radio buttons with text */ - .uk-form-horizontal .uk-form-controls-text { - padding-top: 5px; - } -} -/* Sub-object: `uk-form-icon` - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-icon { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -/* - * 1. Make form element clickable through icon - */ -.uk-form-icon > [class*='uk-icon-'] { - position: absolute; - top: 50%; - width: 30px; - margin-top: -7px; - font-size: 14px; - color: #999999; - text-align: center; - /* 1 */ - pointer-events: none; -} -.uk-form-icon:not(.uk-form-icon-flip) > input { - padding-left: 30px !important; -} -/* - * Sub-modifier: `uk-form-icon-flip` - */ -.uk-form-icon-flip > [class*='uk-icon-'] { - right: 0; -} -.uk-form-icon-flip > input { - padding-right: 30px !important; -} -/* ======================================================================== - Component: Button - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-button::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Style - * 8. `line-height` is used to create a height - * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. - * 10. Reset button group whitespace hack - * 11. Required for `a`. - */ -.uk-button { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: #444444; - /* 6 */ - text-transform: none; - /* 7 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0 12px; - background: #f7f7f7; - vertical-align: middle; - /* 8 */ - line-height: 28px; - /* 9 */ - min-height: 30px; - /* 10 */ - font-size: 1rem; - /* 11 */ - text-decoration: none; - text-align: center; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -.uk-button:not(:disabled) { - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-button:hover, -.uk-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - background-image: none; -} -/* Active */ -.uk-button:active, -.uk-button.uk-active { - background-color: #f5f5f5; - color: #444444; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.3); - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Color modifiers - ========================================================================== */ -/* - * Modifier: `uk-button-primary` - */ -.uk-button-primary { - background-color: #009dd8; - color: #ffffff; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Hover */ -.uk-button-primary:hover, -.uk-button-primary:focus { - background-color: #00aff2; - color: #ffffff; - background-image: none; -} -/* Active */ -.uk-button-primary:active, -.uk-button-primary.uk-active { - background-color: #008abf; - color: #ffffff; - background-image: none; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.4); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* - * Modifier: `uk-button-success` - */ -.uk-button-success { - background-color: #82bb42; - color: #ffffff; - background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); - background-image: linear-gradient(to bottom, #9fd256, #6fac34); - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Hover */ -.uk-button-success:hover, -.uk-button-success:focus { - background-color: #8fce48; - color: #ffffff; - background-image: none; -} -/* Active */ -.uk-button-success:active, -.uk-button-success.uk-active { - background-color: #76b430; - color: #ffffff; - background-image: none; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.4); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* - * Modifier: `uk-button-danger` - */ -.uk-button-danger { - background-color: #d32c46; - color: #ffffff; - background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); - background-image: linear-gradient(to bottom, #ee465a, #c11a39); - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Hover */ -.uk-button-danger:hover, -.uk-button-danger:focus { - background-color: #e33551; - color: #ffffff; - background-image: none; -} -/* Active */ -.uk-button-danger:active, -.uk-button-danger.uk-active { - background-color: #c91c37; - color: #ffffff; - background-image: none; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.4); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* Disabled state - * Overrides also the color modifiers - ========================================================================== */ -/* Equal for all button types */ -.uk-button:disabled { - background-color: #fafafa; - color: #999999; - border-color: rgba(0, 0, 0, 0.2); - background-image: none; - box-shadow: none; - text-shadow: 0 1px 0 #ffffff; -} -/* Modifier: `uk-button-link` - ========================================================================== */ -/* Reset */ -.uk-button-link, -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active, -.uk-button-link:disabled { - border-color: transparent; - background: none; - box-shadow: none; - text-shadow: none; -} -/* Color */ -.uk-button-link { - color: #0077dd; -} -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active { - color: #005599; - text-decoration: underline; -} -.uk-button-link:disabled { - color: #999999; -} -/* Focus */ -.uk-button-link:focus { - outline: 1px dotted; -} -/* Size modifiers - ========================================================================== */ -.uk-button-mini { - min-height: 20px; - padding: 0 6px; - line-height: 18px; - font-size: 11px; -} -.uk-button-small { - min-height: 25px; - padding: 0 10px; - line-height: 23px; - font-size: 12px; -} -.uk-button-large { - min-height: 40px; - padding: 0 15px; - line-height: 38px; - font-size: 16px; - border-radius: 5px; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - * 3. Remove whitespace between child elements when using `inline-block` - * 4. Prevent buttons from wrapping - * 5. Remove whitespace between child elements when using `inline-block` - */ -.uk-button-group { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - font-size: 0.001px; - /* 4 */ - white-space: nowrap; -} -.uk-button-group > * { - display: inline-block; -} -/* 5 */ -.uk-button-group .uk-button { - vertical-align: top; -} -/* Sub-object: `uk-button-dropdown` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - */ -.uk-button-dropdown { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * Reset border-radius - */ -.uk-button-group > .uk-button:not(:first-child):not(:last-child), -.uk-button-group > div:not(:first-child):not(:last-child) .uk-button { - border-radius: 0; -} -.uk-button-group > .uk-button:first-child, -.uk-button-group > div:first-child .uk-button { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.uk-button-group > .uk-button:last-child, -.uk-button-group > div:last-child .uk-button { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -/* - * Collapse border - */ -.uk-button-group > .uk-button:nth-child(n+2), -.uk-button-group > div:nth-child(n+2) .uk-button { - margin-left: -1px; -} -/* - * Create position context to superimpose the successor elements border - * Known issue: If you use an `a` element as button and an icon inside, - * the active state will not work if you click the icon inside the button - * Workaround: Just use a `button` or `input` element as button - */ -.uk-button-group .uk-button:active { - position: relative; -} -/* ======================================================================== - Component: Icon - ========================================================================== */ -@font-face { - font-family: 'FontAwesome'; - src: url("../fonts/fontawesome-webfont.eot"); - src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} -/* - * 1. Allow margin - * 2. Prevent inherit font style - * 4. Correct line-height - * 5. Better font rendering - * 6. Remove `text-decoration` for anchors - */ -[class*='uk-icon-'] { - font-family: FontAwesome; - /* 1 */ - display: inline-block; - /* 2 */ - font-weight: normal; - font-style: normal; - /* 4 */ - line-height: 1; - /* 5 */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/* 6 */ -[class*='uk-icon-'], -[class*='uk-icon-']:hover, -[class*='uk-icon-']:focus { - text-decoration: none; -} -/* Size modifiers - ========================================================================== */ -.uk-icon-small { - font-size: 150%; - vertical-align: -10%; -} -.uk-icon-medium { - font-size: 200%; - vertical-align: -16%; -} -.uk-icon-large { - font-size: 250%; - vertical-align: -22%; -} -/* Modifier: `uk-icon-justify` - ========================================================================== */ -.uk-icon-justify { - width: 1em; - text-align: center; -} -/* Modifier: `uk-icon-spin` - ========================================================================== */ -.uk-icon-spin { - display: inline-block; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* Modifier: `uk-icon-hover` - ========================================================================== */ -.uk-icon-hover { - color: #999999; -} -/* - * Hover - */ -.uk-icon-hover:hover { - color: #444444; -} -/* Modifier: `uk-icon-button` - ========================================================================== */ -.uk-icon-button { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - width: 35px; - height: 35px; - border-radius: 100%; - background: #f7f7f7; - line-height: 35px; - color: #444444; - font-size: 18px; - text-align: center; - border: 1px solid #cccccc; - border-bottom-color: #bbbbbb; - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-icon-button:hover, -.uk-icon-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - background-image: none; -} -/* Active */ -.uk-icon-button:active { - background-color: #f5f5f5; - color: #444444; - border-color: #cccccc; - border-top-color: #bbbbbb; - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Icon mapping - ========================================================================== */ -.uk-icon-glass:before { - content: "\f000"; -} -.uk-icon-music:before { - content: "\f001"; -} -.uk-icon-search:before { - content: "\f002"; -} -.uk-icon-envelope-o:before { - content: "\f003"; -} -.uk-icon-heart:before { - content: "\f004"; -} -.uk-icon-star:before { - content: "\f005"; -} -.uk-icon-star-o:before { - content: "\f006"; -} -.uk-icon-user:before { - content: "\f007"; -} -.uk-icon-film:before { - content: "\f008"; -} -.uk-icon-th-large:before { - content: "\f009"; -} -.uk-icon-th:before { - content: "\f00a"; -} -.uk-icon-th-list:before { - content: "\f00b"; -} -.uk-icon-check:before { - content: "\f00c"; -} -.uk-icon-remove:before, -.uk-icon-close:before, -.uk-icon-times:before { - content: "\f00d"; -} -.uk-icon-search-plus:before { - content: "\f00e"; -} -.uk-icon-search-minus:before { - content: "\f010"; -} -.uk-icon-power-off:before { - content: "\f011"; -} -.uk-icon-signal:before { - content: "\f012"; -} -.uk-icon-gear:before, -.uk-icon-cog:before { - content: "\f013"; -} -.uk-icon-trash-o:before { - content: "\f014"; -} -.uk-icon-home:before { - content: "\f015"; -} -.uk-icon-file-o:before { - content: "\f016"; -} -.uk-icon-clock-o:before { - content: "\f017"; -} -.uk-icon-road:before { - content: "\f018"; -} -.uk-icon-download:before { - content: "\f019"; -} -.uk-icon-arrow-circle-o-down:before { - content: "\f01a"; -} -.uk-icon-arrow-circle-o-up:before { - content: "\f01b"; -} -.uk-icon-inbox:before { - content: "\f01c"; -} -.uk-icon-play-circle-o:before { - content: "\f01d"; -} -.uk-icon-rotate-right:before, -.uk-icon-repeat:before { - content: "\f01e"; -} -.uk-icon-refresh:before { - content: "\f021"; -} -.uk-icon-list-alt:before { - content: "\f022"; -} -.uk-icon-lock:before { - content: "\f023"; -} -.uk-icon-flag:before { - content: "\f024"; -} -.uk-icon-headphones:before { - content: "\f025"; -} -.uk-icon-volume-off:before { - content: "\f026"; -} -.uk-icon-volume-down:before { - content: "\f027"; -} -.uk-icon-volume-up:before { - content: "\f028"; -} -.uk-icon-qrcode:before { - content: "\f029"; -} -.uk-icon-barcode:before { - content: "\f02a"; -} -.uk-icon-tag:before { - content: "\f02b"; -} -.uk-icon-tags:before { - content: "\f02c"; -} -.uk-icon-book:before { - content: "\f02d"; -} -.uk-icon-bookmark:before { - content: "\f02e"; -} -.uk-icon-print:before { - content: "\f02f"; -} -.uk-icon-camera:before { - content: "\f030"; -} -.uk-icon-font:before { - content: "\f031"; -} -.uk-icon-bold:before { - content: "\f032"; -} -.uk-icon-italic:before { - content: "\f033"; -} -.uk-icon-text-height:before { - content: "\f034"; -} -.uk-icon-text-width:before { - content: "\f035"; -} -.uk-icon-align-left:before { - content: "\f036"; -} -.uk-icon-align-center:before { - content: "\f037"; -} -.uk-icon-align-right:before { - content: "\f038"; -} -.uk-icon-align-justify:before { - content: "\f039"; -} -.uk-icon-list:before { - content: "\f03a"; -} -.uk-icon-dedent:before, -.uk-icon-outdent:before { - content: "\f03b"; -} -.uk-icon-indent:before { - content: "\f03c"; -} -.uk-icon-video-camera:before { - content: "\f03d"; -} -.uk-icon-photo:before, -.uk-icon-image:before, -.uk-icon-picture-o:before { - content: "\f03e"; -} -.uk-icon-pencil:before { - content: "\f040"; -} -.uk-icon-map-marker:before { - content: "\f041"; -} -.uk-icon-adjust:before { - content: "\f042"; -} -.uk-icon-tint:before { - content: "\f043"; -} -.uk-icon-edit:before, -.uk-icon-pencil-square-o:before { - content: "\f044"; -} -.uk-icon-share-square-o:before { - content: "\f045"; -} -.uk-icon-check-square-o:before { - content: "\f046"; -} -.uk-icon-arrows:before { - content: "\f047"; -} -.uk-icon-step-backward:before { - content: "\f048"; -} -.uk-icon-fast-backward:before { - content: "\f049"; -} -.uk-icon-backward:before { - content: "\f04a"; -} -.uk-icon-play:before { - content: "\f04b"; -} -.uk-icon-pause:before { - content: "\f04c"; -} -.uk-icon-stop:before { - content: "\f04d"; -} -.uk-icon-forward:before { - content: "\f04e"; -} -.uk-icon-fast-forward:before { - content: "\f050"; -} -.uk-icon-step-forward:before { - content: "\f051"; -} -.uk-icon-eject:before { - content: "\f052"; -} -.uk-icon-chevron-left:before { - content: "\f053"; -} -.uk-icon-chevron-right:before { - content: "\f054"; -} -.uk-icon-plus-circle:before { - content: "\f055"; -} -.uk-icon-minus-circle:before { - content: "\f056"; -} -.uk-icon-times-circle:before { - content: "\f057"; -} -.uk-icon-check-circle:before { - content: "\f058"; -} -.uk-icon-question-circle:before { - content: "\f059"; -} -.uk-icon-info-circle:before { - content: "\f05a"; -} -.uk-icon-crosshairs:before { - content: "\f05b"; -} -.uk-icon-times-circle-o:before { - content: "\f05c"; -} -.uk-icon-check-circle-o:before { - content: "\f05d"; -} -.uk-icon-ban:before { - content: "\f05e"; -} -.uk-icon-arrow-left:before { - content: "\f060"; -} -.uk-icon-arrow-right:before { - content: "\f061"; -} -.uk-icon-arrow-up:before { - content: "\f062"; -} -.uk-icon-arrow-down:before { - content: "\f063"; -} -.uk-icon-mail-forward:before, -.uk-icon-share:before { - content: "\f064"; -} -.uk-icon-expand:before { - content: "\f065"; -} -.uk-icon-compress:before { - content: "\f066"; -} -.uk-icon-plus:before { - content: "\f067"; -} -.uk-icon-minus:before { - content: "\f068"; -} -.uk-icon-asterisk:before { - content: "\f069"; -} -.uk-icon-exclamation-circle:before { - content: "\f06a"; -} -.uk-icon-gift:before { - content: "\f06b"; -} -.uk-icon-leaf:before { - content: "\f06c"; -} -.uk-icon-fire:before { - content: "\f06d"; -} -.uk-icon-eye:before { - content: "\f06e"; -} -.uk-icon-eye-slash:before { - content: "\f070"; -} -.uk-icon-warning:before, -.uk-icon-exclamation-triangle:before { - content: "\f071"; -} -.uk-icon-plane:before { - content: "\f072"; -} -.uk-icon-calendar:before { - content: "\f073"; -} -.uk-icon-random:before { - content: "\f074"; -} -.uk-icon-comment:before { - content: "\f075"; -} -.uk-icon-magnet:before { - content: "\f076"; -} -.uk-icon-chevron-up:before { - content: "\f077"; -} -.uk-icon-chevron-down:before { - content: "\f078"; -} -.uk-icon-retweet:before { - content: "\f079"; -} -.uk-icon-shopping-cart:before { - content: "\f07a"; -} -.uk-icon-folder:before { - content: "\f07b"; -} -.uk-icon-folder-open:before { - content: "\f07c"; -} -.uk-icon-arrows-v:before { - content: "\f07d"; -} -.uk-icon-arrows-h:before { - content: "\f07e"; -} -.uk-icon-bar-chart-o:before, -.uk-icon-bar-chart:before { - content: "\f080"; -} -.uk-icon-twitter-square:before { - content: "\f081"; -} -.uk-icon-facebook-square:before { - content: "\f082"; -} -.uk-icon-camera-retro:before { - content: "\f083"; -} -.uk-icon-key:before { - content: "\f084"; -} -.uk-icon-gears:before, -.uk-icon-cogs:before { - content: "\f085"; -} -.uk-icon-comments:before { - content: "\f086"; -} -.uk-icon-thumbs-o-up:before { - content: "\f087"; -} -.uk-icon-thumbs-o-down:before { - content: "\f088"; -} -.uk-icon-star-half:before { - content: "\f089"; -} -.uk-icon-heart-o:before { - content: "\f08a"; -} -.uk-icon-sign-out:before { - content: "\f08b"; -} -.uk-icon-linkedin-square:before { - content: "\f08c"; -} -.uk-icon-thumb-tack:before { - content: "\f08d"; -} -.uk-icon-external-link:before { - content: "\f08e"; -} -.uk-icon-sign-in:before { - content: "\f090"; -} -.uk-icon-trophy:before { - content: "\f091"; -} -.uk-icon-github-square:before { - content: "\f092"; -} -.uk-icon-upload:before { - content: "\f093"; -} -.uk-icon-lemon-o:before { - content: "\f094"; -} -.uk-icon-phone:before { - content: "\f095"; -} -.uk-icon-square-o:before { - content: "\f096"; -} -.uk-icon-bookmark-o:before { - content: "\f097"; -} -.uk-icon-phone-square:before { - content: "\f098"; -} -.uk-icon-twitter:before { - content: "\f099"; -} -.uk-icon-facebook-f:before, -.uk-icon-facebook:before { - content: "\f09a"; -} -.uk-icon-github:before { - content: "\f09b"; -} -.uk-icon-unlock:before { - content: "\f09c"; -} -.uk-icon-credit-card:before { - content: "\f09d"; -} -.uk-icon-rss:before { - content: "\f09e"; -} -.uk-icon-hdd-o:before { - content: "\f0a0"; -} -.uk-icon-bullhorn:before { - content: "\f0a1"; -} -.uk-icon-bell:before { - content: "\f0f3"; -} -.uk-icon-certificate:before { - content: "\f0a3"; -} -.uk-icon-hand-o-right:before { - content: "\f0a4"; -} -.uk-icon-hand-o-left:before { - content: "\f0a5"; -} -.uk-icon-hand-o-up:before { - content: "\f0a6"; -} -.uk-icon-hand-o-down:before { - content: "\f0a7"; -} -.uk-icon-arrow-circle-left:before { - content: "\f0a8"; -} -.uk-icon-arrow-circle-right:before { - content: "\f0a9"; -} -.uk-icon-arrow-circle-up:before { - content: "\f0aa"; -} -.uk-icon-arrow-circle-down:before { - content: "\f0ab"; -} -.uk-icon-globe:before { - content: "\f0ac"; -} -.uk-icon-wrench:before { - content: "\f0ad"; -} -.uk-icon-tasks:before { - content: "\f0ae"; -} -.uk-icon-filter:before { - content: "\f0b0"; -} -.uk-icon-briefcase:before { - content: "\f0b1"; -} -.uk-icon-arrows-alt:before { - content: "\f0b2"; -} -.uk-icon-group:before, -.uk-icon-users:before { - content: "\f0c0"; -} -.uk-icon-chain:before, -.uk-icon-link:before { - content: "\f0c1"; -} -.uk-icon-cloud:before { - content: "\f0c2"; -} -.uk-icon-flask:before { - content: "\f0c3"; -} -.uk-icon-cut:before, -.uk-icon-scissors:before { - content: "\f0c4"; -} -.uk-icon-copy:before, -.uk-icon-files-o:before { - content: "\f0c5"; -} -.uk-icon-paperclip:before { - content: "\f0c6"; -} -.uk-icon-save:before, -.uk-icon-floppy-o:before { - content: "\f0c7"; -} -.uk-icon-square:before { - content: "\f0c8"; -} -.uk-icon-navicon:before, -.uk-icon-reorder:before, -.uk-icon-bars:before { - content: "\f0c9"; -} -.uk-icon-list-ul:before { - content: "\f0ca"; -} -.uk-icon-list-ol:before { - content: "\f0cb"; -} -.uk-icon-strikethrough:before { - content: "\f0cc"; -} -.uk-icon-underline:before { - content: "\f0cd"; -} -.uk-icon-table:before { - content: "\f0ce"; -} -.uk-icon-magic:before { - content: "\f0d0"; -} -.uk-icon-truck:before { - content: "\f0d1"; -} -.uk-icon-pinterest:before { - content: "\f0d2"; -} -.uk-icon-pinterest-square:before { - content: "\f0d3"; -} -.uk-icon-google-plus-square:before { - content: "\f0d4"; -} -.uk-icon-google-plus:before { - content: "\f0d5"; -} -.uk-icon-money:before { - content: "\f0d6"; -} -.uk-icon-caret-down:before { - content: "\f0d7"; -} -.uk-icon-caret-up:before { - content: "\f0d8"; -} -.uk-icon-caret-left:before { - content: "\f0d9"; -} -.uk-icon-caret-right:before { - content: "\f0da"; -} -.uk-icon-columns:before { - content: "\f0db"; -} -.uk-icon-unsorted:before, -.uk-icon-sort:before { - content: "\f0dc"; -} -.uk-icon-sort-down:before, -.uk-icon-sort-desc:before { - content: "\f0dd"; -} -.uk-icon-sort-up:before, -.uk-icon-sort-asc:before { - content: "\f0de"; -} -.uk-icon-envelope:before { - content: "\f0e0"; -} -.uk-icon-linkedin:before { - content: "\f0e1"; -} -.uk-icon-rotate-left:before, -.uk-icon-undo:before { - content: "\f0e2"; -} -.uk-icon-legal:before, -.uk-icon-gavel:before { - content: "\f0e3"; -} -.uk-icon-dashboard:before, -.uk-icon-tachometer:before { - content: "\f0e4"; -} -.uk-icon-comment-o:before { - content: "\f0e5"; -} -.uk-icon-comments-o:before { - content: "\f0e6"; -} -.uk-icon-flash:before, -.uk-icon-bolt:before { - content: "\f0e7"; -} -.uk-icon-sitemap:before { - content: "\f0e8"; -} -.uk-icon-umbrella:before { - content: "\f0e9"; -} -.uk-icon-paste:before, -.uk-icon-clipboard:before { - content: "\f0ea"; -} -.uk-icon-lightbulb-o:before { - content: "\f0eb"; -} -.uk-icon-exchange:before { - content: "\f0ec"; -} -.uk-icon-cloud-download:before { - content: "\f0ed"; -} -.uk-icon-cloud-upload:before { - content: "\f0ee"; -} -.uk-icon-user-md:before { - content: "\f0f0"; -} -.uk-icon-stethoscope:before { - content: "\f0f1"; -} -.uk-icon-suitcase:before { - content: "\f0f2"; -} -.uk-icon-bell-o:before { - content: "\f0a2"; -} -.uk-icon-coffee:before { - content: "\f0f4"; -} -.uk-icon-cutlery:before { - content: "\f0f5"; -} -.uk-icon-file-text-o:before { - content: "\f0f6"; -} -.uk-icon-building-o:before { - content: "\f0f7"; -} -.uk-icon-hospital-o:before { - content: "\f0f8"; -} -.uk-icon-ambulance:before { - content: "\f0f9"; -} -.uk-icon-medkit:before { - content: "\f0fa"; -} -.uk-icon-fighter-jet:before { - content: "\f0fb"; -} -.uk-icon-beer:before { - content: "\f0fc"; -} -.uk-icon-h-square:before { - content: "\f0fd"; -} -.uk-icon-plus-square:before { - content: "\f0fe"; -} -.uk-icon-angle-double-left:before { - content: "\f100"; -} -.uk-icon-angle-double-right:before { - content: "\f101"; -} -.uk-icon-angle-double-up:before { - content: "\f102"; -} -.uk-icon-angle-double-down:before { - content: "\f103"; -} -.uk-icon-angle-left:before { - content: "\f104"; -} -.uk-icon-angle-right:before { - content: "\f105"; -} -.uk-icon-angle-up:before { - content: "\f106"; -} -.uk-icon-angle-down:before { - content: "\f107"; -} -.uk-icon-desktop:before { - content: "\f108"; -} -.uk-icon-laptop:before { - content: "\f109"; -} -.uk-icon-tablet:before { - content: "\f10a"; -} -.uk-icon-mobile-phone:before, -.uk-icon-mobile:before { - content: "\f10b"; -} -.uk-icon-circle-o:before { - content: "\f10c"; -} -.uk-icon-quote-left:before { - content: "\f10d"; -} -.uk-icon-quote-right:before { - content: "\f10e"; -} -.uk-icon-spinner:before { - content: "\f110"; -} -.uk-icon-circle:before { - content: "\f111"; -} -.uk-icon-mail-reply:before, -.uk-icon-reply:before { - content: "\f112"; -} -.uk-icon-github-alt:before { - content: "\f113"; -} -.uk-icon-folder-o:before { - content: "\f114"; -} -.uk-icon-folder-open-o:before { - content: "\f115"; -} -.uk-icon-smile-o:before { - content: "\f118"; -} -.uk-icon-frown-o:before { - content: "\f119"; -} -.uk-icon-meh-o:before { - content: "\f11a"; -} -.uk-icon-gamepad:before { - content: "\f11b"; -} -.uk-icon-keyboard-o:before { - content: "\f11c"; -} -.uk-icon-flag-o:before { - content: "\f11d"; -} -.uk-icon-flag-checkered:before { - content: "\f11e"; -} -.uk-icon-terminal:before { - content: "\f120"; -} -.uk-icon-code:before { - content: "\f121"; -} -.uk-icon-mail-reply-all:before, -.uk-icon-reply-all:before { - content: "\f122"; -} -.uk-icon-star-half-empty:before, -.uk-icon-star-half-full:before, -.uk-icon-star-half-o:before { - content: "\f123"; -} -.uk-icon-location-arrow:before { - content: "\f124"; -} -.uk-icon-crop:before { - content: "\f125"; -} -.uk-icon-code-fork:before { - content: "\f126"; -} -.uk-icon-unlink:before, -.uk-icon-chain-broken:before { - content: "\f127"; -} -.uk-icon-question:before { - content: "\f128"; -} -.uk-icon-info:before { - content: "\f129"; -} -.uk-icon-exclamation:before { - content: "\f12a"; -} -.uk-icon-superscript:before { - content: "\f12b"; -} -.uk-icon-subscript:before { - content: "\f12c"; -} -.uk-icon-eraser:before { - content: "\f12d"; -} -.uk-icon-puzzle-piece:before { - content: "\f12e"; -} -.uk-icon-microphone:before { - content: "\f130"; -} -.uk-icon-microphone-slash:before { - content: "\f131"; -} -.uk-icon-shield:before { - content: "\f132"; -} -.uk-icon-calendar-o:before { - content: "\f133"; -} -.uk-icon-fire-extinguisher:before { - content: "\f134"; -} -.uk-icon-rocket:before { - content: "\f135"; -} -.uk-icon-maxcdn:before { - content: "\f136"; -} -.uk-icon-chevron-circle-left:before { - content: "\f137"; -} -.uk-icon-chevron-circle-right:before { - content: "\f138"; -} -.uk-icon-chevron-circle-up:before { - content: "\f139"; -} -.uk-icon-chevron-circle-down:before { - content: "\f13a"; -} -.uk-icon-html5:before { - content: "\f13b"; -} -.uk-icon-css3:before { - content: "\f13c"; -} -.uk-icon-anchor:before { - content: "\f13d"; -} -.uk-icon-unlock-alt:before { - content: "\f13e"; -} -.uk-icon-bullseye:before { - content: "\f140"; -} -.uk-icon-ellipsis-h:before { - content: "\f141"; -} -.uk-icon-ellipsis-v:before { - content: "\f142"; -} -.uk-icon-rss-square:before { - content: "\f143"; -} -.uk-icon-play-circle:before { - content: "\f144"; -} -.uk-icon-ticket:before { - content: "\f145"; -} -.uk-icon-minus-square:before { - content: "\f146"; -} -.uk-icon-minus-square-o:before { - content: "\f147"; -} -.uk-icon-level-up:before { - content: "\f148"; -} -.uk-icon-level-down:before { - content: "\f149"; -} -.uk-icon-check-square:before { - content: "\f14a"; -} -.uk-icon-pencil-square:before { - content: "\f14b"; -} -.uk-icon-external-link-square:before { - content: "\f14c"; -} -.uk-icon-share-square:before { - content: "\f14d"; -} -.uk-icon-compass:before { - content: "\f14e"; -} -.uk-icon-toggle-down:before, -.uk-icon-caret-square-o-down:before { - content: "\f150"; -} -.uk-icon-toggle-up:before, -.uk-icon-caret-square-o-up:before { - content: "\f151"; -} -.uk-icon-toggle-right:before, -.uk-icon-caret-square-o-right:before { - content: "\f152"; -} -.uk-icon-euro:before, -.uk-icon-eur:before { - content: "\f153"; -} -.uk-icon-gbp:before { - content: "\f154"; -} -.uk-icon-dollar:before, -.uk-icon-usd:before { - content: "\f155"; -} -.uk-icon-rupee:before, -.uk-icon-inr:before { - content: "\f156"; -} -.uk-icon-cny:before, -.uk-icon-rmb:before, -.uk-icon-yen:before, -.uk-icon-jpy:before { - content: "\f157"; -} -.uk-icon-ruble:before, -.uk-icon-rouble:before, -.uk-icon-rub:before { - content: "\f158"; -} -.uk-icon-won:before, -.uk-icon-krw:before { - content: "\f159"; -} -.uk-icon-bitcoin:before, -.uk-icon-btc:before { - content: "\f15a"; -} -.uk-icon-file:before { - content: "\f15b"; -} -.uk-icon-file-text:before { - content: "\f15c"; -} -.uk-icon-sort-alpha-asc:before { - content: "\f15d"; -} -.uk-icon-sort-alpha-desc:before { - content: "\f15e"; -} -.uk-icon-sort-amount-asc:before { - content: "\f160"; -} -.uk-icon-sort-amount-desc:before { - content: "\f161"; -} -.uk-icon-sort-numeric-asc:before { - content: "\f162"; -} -.uk-icon-sort-numeric-desc:before { - content: "\f163"; -} -.uk-icon-thumbs-up:before { - content: "\f164"; -} -.uk-icon-thumbs-down:before { - content: "\f165"; -} -.uk-icon-youtube-square:before { - content: "\f166"; -} -.uk-icon-youtube:before { - content: "\f167"; -} -.uk-icon-xing:before { - content: "\f168"; -} -.uk-icon-xing-square:before { - content: "\f169"; -} -.uk-icon-youtube-play:before { - content: "\f16a"; -} -.uk-icon-dropbox:before { - content: "\f16b"; -} -.uk-icon-stack-overflow:before { - content: "\f16c"; -} -.uk-icon-instagram:before { - content: "\f16d"; -} -.uk-icon-flickr:before { - content: "\f16e"; -} -.uk-icon-adn:before { - content: "\f170"; -} -.uk-icon-bitbucket:before { - content: "\f171"; -} -.uk-icon-bitbucket-square:before { - content: "\f172"; -} -.uk-icon-tumblr:before { - content: "\f173"; -} -.uk-icon-tumblr-square:before { - content: "\f174"; -} -.uk-icon-long-arrow-down:before { - content: "\f175"; -} -.uk-icon-long-arrow-up:before { - content: "\f176"; -} -.uk-icon-long-arrow-left:before { - content: "\f177"; -} -.uk-icon-long-arrow-right:before { - content: "\f178"; -} -.uk-icon-apple:before { - content: "\f179"; -} -.uk-icon-windows:before { - content: "\f17a"; -} -.uk-icon-android:before { - content: "\f17b"; -} -.uk-icon-linux:before { - content: "\f17c"; -} -.uk-icon-dribbble:before { - content: "\f17d"; -} -.uk-icon-skype:before { - content: "\f17e"; -} -.uk-icon-foursquare:before { - content: "\f180"; -} -.uk-icon-trello:before { - content: "\f181"; -} -.uk-icon-female:before { - content: "\f182"; -} -.uk-icon-male:before { - content: "\f183"; -} -.uk-icon-gittip:before, -.uk-icon-gratipay:before { - content: "\f184"; -} -.uk-icon-sun-o:before { - content: "\f185"; -} -.uk-icon-moon-o:before { - content: "\f186"; -} -.uk-icon-archive:before { - content: "\f187"; -} -.uk-icon-bug:before { - content: "\f188"; -} -.uk-icon-vk:before { - content: "\f189"; -} -.uk-icon-weibo:before { - content: "\f18a"; -} -.uk-icon-renren:before { - content: "\f18b"; -} -.uk-icon-pagelines:before { - content: "\f18c"; -} -.uk-icon-stack-exchange:before { - content: "\f18d"; -} -.uk-icon-arrow-circle-o-right:before { - content: "\f18e"; -} -.uk-icon-arrow-circle-o-left:before { - content: "\f190"; -} -.uk-icon-toggle-left:before, -.uk-icon-caret-square-o-left:before { - content: "\f191"; -} -.uk-icon-dot-circle-o:before { - content: "\f192"; -} -.uk-icon-wheelchair:before { - content: "\f193"; -} -.uk-icon-vimeo-square:before { - content: "\f194"; -} -.uk-icon-turkish-lira:before, -.uk-icon-try:before { - content: "\f195"; -} -.uk-icon-plus-square-o:before { - content: "\f196"; -} -.uk-icon-space-shuttle:before { - content: "\f197"; -} -.uk-icon-slack:before { - content: "\f198"; -} -.uk-icon-envelope-square:before { - content: "\f199"; -} -.uk-icon-wordpress:before { - content: "\f19a"; -} -.uk-icon-openid:before { - content: "\f19b"; -} -.uk-icon-institution:before, -.uk-icon-bank:before, -.uk-icon-university:before { - content: "\f19c"; -} -.uk-icon-mortar-board:before, -.uk-icon-graduation-cap:before { - content: "\f19d"; -} -.uk-icon-yahoo:before { - content: "\f19e"; -} -.uk-icon-google:before { - content: "\f1a0"; -} -.uk-icon-reddit:before { - content: "\f1a1"; -} -.uk-icon-reddit-square:before { - content: "\f1a2"; -} -.uk-icon-stumbleupon-circle:before { - content: "\f1a3"; -} -.uk-icon-stumbleupon:before { - content: "\f1a4"; -} -.uk-icon-delicious:before { - content: "\f1a5"; -} -.uk-icon-digg:before { - content: "\f1a6"; -} -.uk-icon-pied-piper:before { - content: "\f1a7"; -} -.uk-icon-pied-piper-alt:before { - content: "\f1a8"; -} -.uk-icon-drupal:before { - content: "\f1a9"; -} -.uk-icon-joomla:before { - content: "\f1aa"; -} -.uk-icon-language:before { - content: "\f1ab"; -} -.uk-icon-fax:before { - content: "\f1ac"; -} -.uk-icon-building:before { - content: "\f1ad"; -} -.uk-icon-child:before { - content: "\f1ae"; -} -.uk-icon-paw:before { - content: "\f1b0"; -} -.uk-icon-spoon:before { - content: "\f1b1"; -} -.uk-icon-cube:before { - content: "\f1b2"; -} -.uk-icon-cubes:before { - content: "\f1b3"; -} -.uk-icon-behance:before { - content: "\f1b4"; -} -.uk-icon-behance-square:before { - content: "\f1b5"; -} -.uk-icon-steam:before { - content: "\f1b6"; -} -.uk-icon-steam-square:before { - content: "\f1b7"; -} -.uk-icon-recycle:before { - content: "\f1b8"; -} -.uk-icon-automobile:before, -.uk-icon-car:before { - content: "\f1b9"; -} -.uk-icon-cab:before, -.uk-icon-taxi:before { - content: "\f1ba"; -} -.uk-icon-tree:before { - content: "\f1bb"; -} -.uk-icon-spotify:before { - content: "\f1bc"; -} -.uk-icon-deviantart:before { - content: "\f1bd"; -} -.uk-icon-soundcloud:before { - content: "\f1be"; -} -.uk-icon-database:before { - content: "\f1c0"; -} -.uk-icon-file-pdf-o:before { - content: "\f1c1"; -} -.uk-icon-file-word-o:before { - content: "\f1c2"; -} -.uk-icon-file-excel-o:before { - content: "\f1c3"; -} -.uk-icon-file-powerpoint-o:before { - content: "\f1c4"; -} -.uk-icon-file-photo-o:before, -.uk-icon-file-picture-o:before, -.uk-icon-file-image-o:before { - content: "\f1c5"; -} -.uk-icon-file-zip-o:before, -.uk-icon-file-archive-o:before { - content: "\f1c6"; -} -.uk-icon-file-sound-o:before, -.uk-icon-file-audio-o:before { - content: "\f1c7"; -} -.uk-icon-file-movie-o:before, -.uk-icon-file-video-o:before { - content: "\f1c8"; -} -.uk-icon-file-code-o:before { - content: "\f1c9"; -} -.uk-icon-vine:before { - content: "\f1ca"; -} -.uk-icon-codepen:before { - content: "\f1cb"; -} -.uk-icon-jsfiddle:before { - content: "\f1cc"; -} -.uk-icon-life-bouy:before, -.uk-icon-life-buoy:before, -.uk-icon-life-saver:before, -.uk-icon-support:before, -.uk-icon-life-ring:before { - content: "\f1cd"; -} -.uk-icon-circle-o-notch:before { - content: "\f1ce"; -} -.uk-icon-ra:before, -.uk-icon-rebel:before { - content: "\f1d0"; -} -.uk-icon-ge:before, -.uk-icon-empire:before { - content: "\f1d1"; -} -.uk-icon-git-square:before { - content: "\f1d2"; -} -.uk-icon-git:before { - content: "\f1d3"; -} -.uk-icon-hacker-news:before { - content: "\f1d4"; -} -.uk-icon-tencent-weibo:before { - content: "\f1d5"; -} -.uk-icon-qq:before { - content: "\f1d6"; -} -.uk-icon-wechat:before, -.uk-icon-weixin:before { - content: "\f1d7"; -} -.uk-icon-send:before, -.uk-icon-paper-plane:before { - content: "\f1d8"; -} -.uk-icon-send-o:before, -.uk-icon-paper-plane-o:before { - content: "\f1d9"; -} -.uk-icon-history:before { - content: "\f1da"; -} -.uk-icon-genderless:before, -.uk-icon-circle-thin:before { - content: "\f1db"; -} -.uk-icon-header:before { - content: "\f1dc"; -} -.uk-icon-paragraph:before { - content: "\f1dd"; -} -.uk-icon-sliders:before { - content: "\f1de"; -} -.uk-icon-share-alt:before { - content: "\f1e0"; -} -.uk-icon-share-alt-square:before { - content: "\f1e1"; -} -.uk-icon-bomb:before { - content: "\f1e2"; -} -.uk-icon-soccer-ball-o:before, -.uk-icon-futbol-o:before { - content: "\f1e3"; -} -.uk-icon-tty:before { - content: "\f1e4"; -} -.uk-icon-binoculars:before { - content: "\f1e5"; -} -.uk-icon-plug:before { - content: "\f1e6"; -} -.uk-icon-slideshare:before { - content: "\f1e7"; -} -.uk-icon-twitch:before { - content: "\f1e8"; -} -.uk-icon-yelp:before { - content: "\f1e9"; -} -.uk-icon-newspaper-o:before { - content: "\f1ea"; -} -.uk-icon-wifi:before { - content: "\f1eb"; -} -.uk-icon-calculator:before { - content: "\f1ec"; -} -.uk-icon-paypal:before { - content: "\f1ed"; -} -.uk-icon-google-wallet:before { - content: "\f1ee"; -} -.uk-icon-cc-visa:before { - content: "\f1f0"; -} -.uk-icon-cc-mastercard:before { - content: "\f1f1"; -} -.uk-icon-cc-discover:before { - content: "\f1f2"; -} -.uk-icon-cc-amex:before { - content: "\f1f3"; -} -.uk-icon-cc-paypal:before { - content: "\f1f4"; -} -.uk-icon-cc-stripe:before { - content: "\f1f5"; -} -.uk-icon-bell-slash:before { - content: "\f1f6"; -} -.uk-icon-bell-slash-o:before { - content: "\f1f7"; -} -.uk-icon-trash:before { - content: "\f1f8"; -} -.uk-icon-copyright:before { - content: "\f1f9"; -} -.uk-icon-at:before { - content: "\f1fa"; -} -.uk-icon-eyedropper:before { - content: "\f1fb"; -} -.uk-icon-paint-brush:before { - content: "\f1fc"; -} -.uk-icon-birthday-cake:before { - content: "\f1fd"; -} -.uk-icon-area-chart:before { - content: "\f1fe"; -} -.uk-icon-pie-chart:before { - content: "\f200"; -} -.uk-icon-line-chart:before { - content: "\f201"; -} -.uk-icon-lastfm:before { - content: "\f202"; -} -.uk-icon-lastfm-square:before { - content: "\f203"; -} -.uk-icon-toggle-off:before { - content: "\f204"; -} -.uk-icon-toggle-on:before { - content: "\f205"; -} -.uk-icon-bicycle:before { - content: "\f206"; -} -.uk-icon-bus:before { - content: "\f207"; -} -.uk-icon-ioxhost:before { - content: "\f208"; -} -.uk-icon-angellist:before { - content: "\f209"; -} -.uk-icon-cc:before { - content: "\f20a"; -} -.uk-icon-shekel:before, -.uk-icon-sheqel:before, -.uk-icon-ils:before { - content: "\f20b"; -} -.uk-icon-meanpath:before { - content: "\f20c"; -} -.uk-icon-buysellads:before { - content: "\f20d"; -} -.uk-icon-connectdevelop:before { - content: "\f20e"; -} -.uk-icon-dashcube:before { - content: "\f210"; -} -.uk-icon-forumbee:before { - content: "\f211"; -} -.uk-icon-leanpub:before { - content: "\f212"; -} -.uk-icon-sellsy:before { - content: "\f213"; -} -.uk-icon-shirtsinbulk:before { - content: "\f214"; -} -.uk-icon-simplybuilt:before { - content: "\f215"; -} -.uk-icon-skyatlas:before { - content: "\f216"; -} -.uk-icon-cart-plus:before { - content: "\f217"; -} -.uk-icon-cart-arrow-down:before { - content: "\f218"; -} -.uk-icon-diamond:before { - content: "\f219"; -} -.uk-icon-ship:before { - content: "\f21a"; -} -.uk-icon-user-secret:before { - content: "\f21b"; -} -.uk-icon-motorcycle:before { - content: "\f21c"; -} -.uk-icon-street-view:before { - content: "\f21d"; -} -.uk-icon-heartbeat:before { - content: "\f21e"; -} -.uk-icon-venus:before { - content: "\f221"; -} -.uk-icon-mars:before { - content: "\f222"; -} -.uk-icon-mercury:before { - content: "\f223"; -} -.uk-icon-transgender:before { - content: "\f224"; -} -.uk-icon-transgender-alt:before { - content: "\f225"; -} -.uk-icon-venus-double:before { - content: "\f226"; -} -.uk-icon-mars-double:before { - content: "\f227"; -} -.uk-icon-venus-mars:before { - content: "\f228"; -} -.uk-icon-mars-stroke:before { - content: "\f229"; -} -.uk-icon-mars-stroke-v:before { - content: "\f22a"; -} -.uk-icon-mars-stroke-h:before { - content: "\f22b"; -} -.uk-icon-neuter:before { - content: "\f22c"; -} -.uk-icon-facebook-official:before { - content: "\f230"; -} -.uk-icon-pinterest-p:before { - content: "\f231"; -} -.uk-icon-whatsapp:before { - content: "\f232"; -} -.uk-icon-server:before { - content: "\f233"; -} -.uk-icon-user-plus:before { - content: "\f234"; -} -.uk-icon-user-times:before { - content: "\f235"; -} -.uk-icon-hotel:before, -.uk-icon-bed:before { - content: "\f236"; -} -.uk-icon-viacoin:before { - content: "\f237"; -} -.uk-icon-train:before { - content: "\f238"; -} -.uk-icon-subway:before { - content: "\f239"; -} -.uk-icon-medium-logo:before { - content: "\f23a"; -} -/* ======================================================================== - Component: Close - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-close::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Remove default `button` padding and background color - * 8. Style - */ -.uk-close { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: inherit; - /* 6 */ - text-transform: none; - /* 7. */ - padding: 0; - background: transparent; - /* 8 */ - display: inline-block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - line-height: 20px; - text-align: center; - vertical-align: middle; - opacity: 0.3; -} -/* Icon */ -.uk-close:after { - display: block; - content: "\f00d"; - font-family: FontAwesome; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-close:hover, -.uk-close:focus { - opacity: 0.5; - /* 2 */ - outline: none; - /* 3 */ - color: inherit; - text-decoration: none; - cursor: pointer; -} -/* Modifier - ========================================================================== */ -.uk-close-alt { - padding: 2px; - border-radius: 50%; - background: #ffffff; - opacity: 1; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 6px rgba(0, 0, 0, 0.3); -} -/* Hover */ -.uk-close-alt:hover, -.uk-close-alt:focus { - opacity: 1; -} -/* Icon */ -.uk-close-alt:after { - opacity: 0.5; -} -.uk-close-alt:hover:after, -.uk-close-alt:focus:after { - opacity: 0.8; -} -/* ======================================================================== - Component: Badge - ========================================================================== */ -.uk-badge { - display: inline-block; - padding: 0 5px; - background: #009dd8; - font-size: 10px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - text-align: center; - vertical-align: middle; - text-transform: none; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - border-radius: 2px; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Keep color when badge is a link - */ -a.uk-badge:hover { - color: #ffffff; -} -/* Modifier: `uk-badge-notification`; - ========================================================================== */ -.uk-badge-notification { - -moz-box-sizing: border-box; - box-sizing: border-box; - min-width: 18px; - border-radius: 500px; - font-size: 12px; - line-height: 18px; -} -/* Color modifier - ========================================================================== */ -/* - * Modifier: `uk-badge-success` - */ -.uk-badge-success { - background-color: #82bb42; - background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); - background-image: linear-gradient(to bottom, #9fd256, #6fac34); -} -/* - * Modifier: `uk-badge-warning` - */ -.uk-badge-warning { - background-color: #f9a124; - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(to bottom, #fbb450, #f89406); -} -/* - * Modifier: `uk-badge-danger` - */ -.uk-badge-danger { - background-color: #d32c46; - background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); - background-image: linear-gradient(to bottom, #ee465a, #c11a39); -} -/* ======================================================================== - Component: Alert - ========================================================================== */ -.uk-alert { - margin-bottom: 15px; - padding: 10px; - background: #ebf7fd; - color: #2d7091; - border: 1px solid rgba(45, 112, 145, 0.3); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Add margin if adjacent element - */ -* + .uk-alert { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-alert > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-alert h1, -.uk-alert h2, -.uk-alert h3, -.uk-alert h4, -.uk-alert h5, -.uk-alert h6 { - color: inherit; -} -/* Close in alert - ========================================================================== */ -.uk-alert > .uk-close:first-child { - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-alert > .uk-close:first-child + * { - margin-top: 0; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-alert-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-alert-warning` - ========================================================================== */ -.uk-alert-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-alert-danger` - ========================================================================== */ -.uk-alert-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} -/* Modifier: `uk-alert-large` - ========================================================================== */ -.uk-alert-large { - padding: 20px; -} -.uk-alert-large > .uk-close:first-child { - margin: -10px -10px 0 0; -} -/* ======================================================================== - Component: Thumbnail - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Responsive behavior - * 3. Corrects `max-width` behavior sed - * 4. Required for `figure` element - * 5. Style - */ -.uk-thumbnail { - /* 1 */ - display: inline-block; - /* 2 */ - max-width: 100%; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - margin: 0; - /* 4 */ - padding: 4px; - border: 1px solid #dddddd; - background: #ffffff; - border-radius: 4px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); -} -/* - * Hover state for `a` elements - * 1. Apply hover style also to focus state - * 2. Needed for caption - * 3. Remove default focus style - */ -a.uk-thumbnail:hover, -a.uk-thumbnail:focus { - border-color: #aaaaaa; - background-color: #ffffff; - /* 2 */ - text-decoration: none; - /* 3 */ - outline: none; - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); -} -/* Caption - ========================================================================== */ -.uk-thumbnail-caption { - padding-top: 4px; - text-align: center; - color: #444444; -} -/* Sizes - ========================================================================== */ -.uk-thumbnail-mini { - width: 150px; -} -.uk-thumbnail-small { - width: 200px; -} -.uk-thumbnail-medium { - width: 300px; -} -.uk-thumbnail-large { - width: 400px; -} -.uk-thumbnail-expand, -.uk-thumbnail-expand > img { - width: 100%; -} -/* ======================================================================== - Component: Overlay - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Set max-width for responsive images to prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome - * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit - * 7. Reset margin - */ -.uk-overlay { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; - /* 5 */ - overflow: hidden; - /* 6 */ - -webkit-transform: translateZ(0); - /* 7 */ - margin: 0; -} -/* 6 for Safari */ -.uk-overlay.uk-border-circle { - -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); -} -/* - * Remove margin from content - */ -.uk-overlay > :first-child { - margin-bottom: 0; -} -/* Sub-object `uk-overlay-panel` - ========================================================================== */ -/* - * 1. Position cover - * 2. Style - */ -.uk-overlay-panel { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 20px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-panel > :last-child, -.uk-overlay-panel.uk-flex > * > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-overlay-panel h1, -.uk-overlay-panel h2, -.uk-overlay-panel h3, -.uk-overlay-panel h4, -.uk-overlay-panel h5, -.uk-overlay-panel h6 { - color: inherit; -} -.uk-overlay-panel a:not([class]) { - color: inherit; - text-decoration: underline; -} -.uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { - color: inherit; -} -/* Sub-object `uk-overlay-hover` and `uk-overlay-active` - ========================================================================== */ -.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -.uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -/* Modifier `uk-overlay-background` - ========================================================================== */ -.uk-overlay-background { - background: rgba(0, 0, 0, 0.5); -} -/* Modifier `uk-overlay-image` - ========================================================================== */ -/* - * Reset panel - */ -.uk-overlay-image { - padding: 0; -} -/* Position modifiers - ========================================================================== */ -.uk-overlay-top { - bottom: auto; -} -.uk-overlay-bottom { - top: auto; -} -.uk-overlay-left { - right: auto; -} -.uk-overlay-right { - left: auto; -} -/* Sub-object `uk-overlay-icon` - ========================================================================== */ -.uk-overlay-icon:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* Transitions - ========================================================================== */ -.uk-overlay-fade, -.uk-overlay-scale, -.uk-overlay-spin, -.uk-overlay-grayscale, -.uk-overlay-blur, -[class*='uk-overlay-slide'] { - transition-duration: 0.3s; - transition-timing-function: ease-out; - transition-property: opacity transform filter; -} -.uk-overlay-active .uk-overlay-fade, -.uk-overlay-active .uk-overlay-scale, -.uk-overlay-active .uk-overlay-spin, -.uk-overlay-active [class*='uk-overlay-slide'] { - transition-duration: 0.8s; -} -/* - * Fade - */ -.uk-overlay-fade { - opacity: 0.7; -} -.uk-overlay-hover:hover .uk-overlay-fade, -.uk-overlay-active .uk-active > .uk-overlay-fade { - opacity: 1; -} -/* - * Scale - */ -.uk-overlay-scale { - -webkit-transform: scale(1); - transform: scale(1); -} -.uk-overlay-hover:hover .uk-overlay-scale, -.uk-overlay-active .uk-active > .uk-overlay-scale { - -webkit-transform: scale(1.1); - transform: scale(1.1); -} -/* - * Spin - */ -.uk-overlay-spin { - -webkit-transform: scale(1) rotate(0deg); - transform: scale(1) rotate(0deg); -} -.uk-overlay-hover:hover .uk-overlay-spin, -.uk-overlay-active .uk-active > .uk-overlay-spin { - -webkit-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); -} -/* - * Grayscale - */ -.uk-overlay-grayscale { - -webkit-filter: grayscale(100%); - filter: grayscale(100%); -} -.uk-overlay-hover:hover .uk-overlay-grayscale, -.uk-overlay-active .uk-active > .uk-overlay-grayscale { - -webkit-filter: grayscale(0%); - filter: grayscale(0%); -} -/* - * Slide - */ -[class*='uk-overlay-slide'] { - opacity: 0; -} -/* Top */ -.uk-overlay-slide-top { - -webkit-transform: translateY(-100%); - transform: translateY(-100%); -} -/* Bottom */ -.uk-overlay-slide-bottom { - -webkit-transform: translateY(100%); - transform: translateY(100%); -} -/* Left */ -.uk-overlay-slide-left { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} -/* Right */ -.uk-overlay-slide-right { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Hover */ -.uk-overlay-hover:hover [class*='uk-overlay-slide'], -.uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { - opacity: 1; - -webkit-transform: translateX(0) translateY(0); - transform: translateX(0) translateY(0); -} -/* DEPRECATED - * Sub-object `uk-overlay-area` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-area { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - background: rgba(0, 0, 0, 0.3); - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-area, -.uk-overlay.uk-hover .uk-overlay-area, -.uk-overlay-toggle:hover .uk-overlay-area, -.uk-overlay-toggle.uk-hover .uk-overlay-area { - opacity: 1; -} -/* - * Icon - */ -.uk-overlay-area:empty:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* DEPRECATED - * Sub-object `uk-overlay-area-content` - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - * Needed for Firefox - */ -.uk-overlay-area:not(:empty) { - font-size: 0.001px; -} -/* - * 1. Needed for vertical alignment - */ -.uk-overlay-area:not(:empty):before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * 1. Set vertical alignment - * 2. Reset whitespace hack - * 3. Set horizontal alignment - * 4. Set style - */ -.uk-overlay-area-content { - /* 1 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - vertical-align: middle; - /* 2 */ - font-size: 1rem; - /* 3 */ - text-align: center; - /* 4 */ - padding: 0 15px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-area-content > :last-child { - margin-bottom: 0; -} -/* - * Links in overlay area - */ -.uk-overlay-area-content a:not([class]), -.uk-overlay-area-content a:not([class]):hover { - color: inherit; -} -/* DEPRECATED - * Sub-object `uk-overlay-caption` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-caption { - /* 1 */ - position: absolute; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 15px; - background: rgba(0, 0, 0, 0.5); - color: #ffffff; - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-caption, -.uk-overlay.uk-hover .uk-overlay-caption, -.uk-overlay-toggle:hover .uk-overlay-caption, -.uk-overlay-toggle.uk-hover .uk-overlay-caption { - opacity: 1; -} -/* ======================================================================== - Component: Animation - ========================================================================== */ -[class*='uk-animation-'] { - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} -/* Hide animated element if scrollspy is used */ -@media screen { - [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { - opacity: 0; - } -} -/* - * Fade - * Higher specificity (!important) needed because of reverse modifier - */ -.uk-animation-fade { - -webkit-animation-name: uk-fade; - animation-name: uk-fade; - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; - -webkit-animation-timing-function: linear !important; - animation-timing-function: linear !important; -} -/* - * Fade with scale - */ -.uk-animation-scale-up { - -webkit-animation-name: uk-fade-scale-02; - animation-name: uk-fade-scale-02; -} -.uk-animation-scale-down { - -webkit-animation-name: uk-fade-scale-18; - animation-name: uk-fade-scale-18; -} -/* - * Fade with slide - */ -.uk-animation-slide-top { - -webkit-animation-name: uk-fade-top; - animation-name: uk-fade-top; -} -.uk-animation-slide-bottom { - -webkit-animation-name: uk-fade-bottom; - animation-name: uk-fade-bottom; -} -.uk-animation-slide-left { - -webkit-animation-name: uk-fade-left; - animation-name: uk-fade-left; -} -.uk-animation-slide-right { - -webkit-animation-name: uk-fade-right; - animation-name: uk-fade-right; -} -/* - * Scale - */ -.uk-animation-scale { - -webkit-animation-name: uk-scale-12; - animation-name: uk-scale-12; -} -/* - * Shake - */ -.uk-animation-shake { - -webkit-animation-name: uk-shake; - animation-name: uk-shake; -} -/* Direction modifiers - ========================================================================== */ -.uk-animation-reverse { - -webkit-animation-direction: reverse; - animation-direction: reverse; - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} -/* Duration modifiers -========================================================================== */ -.uk-animation-15 { - -webkit-animation-duration: 15s; - animation-duration: 15s; -} -/* Origin modifiers -========================================================================== */ -.uk-animation-top-left { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -.uk-animation-top-center { - -webkit-transform-origin: 50% 0; - transform-origin: 50% 0; -} -.uk-animation-top-right { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} -.uk-animation-middle-left { - -webkit-transform-origin: 0 50%; - transform-origin: 0 50%; -} -.uk-animation-middle-right { - -webkit-transform-origin: 100% 50%; - transform-origin: 100% 50%; -} -.uk-animation-bottom-left { - -webkit-transform-origin: 0 100%; - transform-origin: 0 100%; -} -.uk-animation-bottom-center { - -webkit-transform-origin: 50% 100%; - transform-origin: 50% 100%; -} -.uk-animation-bottom-right { - -webkit-transform-origin: 100% 100%; - transform-origin: 100% 100%; -} -/* Sub-object: `uk-animation-hover` -========================================================================== */ -/* - * Enable animation only on hover - * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` - */ -.uk-animation-hover:not(:hover), -.uk-animation-hover:not(:hover) [class*='uk-animation-'], -.uk-touch .uk-animation-hover:not(.uk-hover), -.uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { - -webkit-animation-name: none; - animation-name: none; -} -/* Keyframes: Fade - * Used by dropdown, datepicker and slideshow component - ========================================================================== */ -@-webkit-keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -/* Keyframes: Fade with slide - ========================================================================== */ -/* - * Top - */ -@-webkit-keyframes uk-fade-top { - 0% { - opacity: 0; - -webkit-transform: translateY(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-top { - 0% { - opacity: 0; - transform: translateY(-100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom - */ -@-webkit-keyframes uk-fade-bottom { - 0% { - opacity: 0; - -webkit-transform: translateY(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-bottom { - 0% { - opacity: 0; - transform: translateY(100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Left - */ -@-webkit-keyframes uk-fade-left { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-left { - 0% { - opacity: 0; - transform: translateX(-100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-fade-right { - 0% { - opacity: 0; - -webkit-transform: translateX(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-right { - 0% { - opacity: 0; - transform: translateX(100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* Keyframes: Fade with scale - ========================================================================== */ -/* - * Scale by 0.2 - */ -@-webkit-keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - -webkit-transform: scale(0.2); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - transform: scale(0.2); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.5 - * Used by slideshow component - */ -@-webkit-keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - -webkit-transform: scale(1.5); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - transform: scale(1.5); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.8 - */ -@-webkit-keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - -webkit-transform: scale(1.8); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - transform: scale(1.8); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* Keyframes: Slide - * Used by slideshow component - ========================================================================== */ -/* - * Left - */ -@-webkit-keyframes uk-slide-left { - 0% { - -webkit-transform: translateX(-100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-slide-right { - 0% { - -webkit-transform: translateX(100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Left third - */ -@-webkit-keyframes uk-slide-left-33 { - 0% { - -webkit-transform: translateX(33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left-33 { - 0% { - transform: translateX(33%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right third - */ -@-webkit-keyframes uk-slide-right-33 { - 0% { - -webkit-transform: translateX(-33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right-33 { - 0% { - transform: translateX(-33%); - } - 100% { - transform: translateX(0); - } -} -/* Keyframes: Scale - ========================================================================== */ -@-webkit-keyframes uk-scale-12 { - 0% { - -webkit-transform: scale(1.2); - } - 100% { - -webkit-transform: scale(1); - } -} -@keyframes uk-scale-12 { - 0% { - transform: scale(1.2); - } - 100% { - transform: scale(1); - } -} -/* Keyframes: Rotate - * Used by icon component - ========================================================================== */ -@-webkit-keyframes uk-rotate { - 0% { - -webkit-transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - } -} -@keyframes uk-rotate { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} -/* Keyframes: Shake - ========================================================================== */ -@-webkit-keyframes uk-shake { - 0%, - 100% { - -webkit-transform: translateX(0); - } - 10% { - -webkit-transform: translateX(-9px); - } - 20% { - -webkit-transform: translateX(8px); - } - 30% { - -webkit-transform: translateX(-7px); - } - 40% { - -webkit-transform: translateX(6px); - } - 50% { - -webkit-transform: translateX(-5px); - } - 60% { - -webkit-transform: translateX(4px); - } - 70% { - -webkit-transform: translateX(-3px); - } - 80% { - -webkit-transform: translateX(2px); - } - 90% { - -webkit-transform: translateX(-1px); - } -} -@keyframes uk-shake { - 0%, - 100% { - transform: translateX(0); - } - 10% { - transform: translateX(-9px); - } - 20% { - transform: translateX(8px); - } - 30% { - transform: translateX(-7px); - } - 40% { - transform: translateX(6px); - } - 50% { - transform: translateX(-5px); - } - 60% { - transform: translateX(4px); - } - 70% { - transform: translateX(-3px); - } - 80% { - transform: translateX(2px); - } - 90% { - transform: translateX(-1px); - } -} -/* Keyframes: Fade with slide fixed - * Used by dropdown and search component - ========================================================================== */ -/* - * Top fixed - */ -@-webkit-keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(-10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - transform: translateY(-10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom fixed - */ -@-webkit-keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - transform: translateY(10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* ======================================================================== - Component: Dropdown - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set position - * 3. Box-sizing is needed for `uk-dropdown-justify` - * 4. Set style - * 5. Reset button group whitespace hack - */ -.uk-dropdown { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - top: 100%; - left: 0; - z-index: 1020; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 4 */ - width: 200px; - margin-top: 5px; - padding: 15px; - background: #ffffff; - color: #444444; - /* 5 */ - font-size: 1rem; - vertical-align: top; - border: 1px solid #cbcbcb; - border-radius: 4px; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); -} -/* - * 1. Show dropdown - * 2. Set animation - * 3. Needed for scale animation - */ -.uk-open > .uk-dropdown { - /* 1 */ - display: block; - /* 2 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 3 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Alignment modifiers - ========================================================================== */ -/* - * Modifier `uk-dropdown-flip` - */ -.uk-dropdown-flip { - left: auto; - right: 0; -} -/* - * Modifier `uk-dropdown-up` - */ -.uk-dropdown-up { - top: auto; - bottom: 100%; - margin-top: auto; - margin-bottom: 5px; -} -/* Nav in dropdown - ========================================================================== */ -.uk-dropdown .uk-nav { - margin: 0 -15px; -} -/* Grid and panel in dropdown - ========================================================================== */ -/* -* Vertical gutter -*/ -/* - * Grid - * Higher specificity to override large gutter - */ -.uk-grid .uk-dropdown-grid + .uk-dropdown-grid { - margin-top: 15px; -} -/* Panels */ -.uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Horizontal gutter - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { - margin-left: -15px; - margin-right: -15px; - } - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { - padding-left: 15px; - padding-right: 15px; - } - /* - * Column divider - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - border-left: 1px solid #dddddd; - } - /* - * Width multiplier for dropdown columns - */ - .uk-dropdown-width-2:not(.uk-dropdown-stack) { - width: 400px; - } - .uk-dropdown-width-3:not(.uk-dropdown-stack) { - width: 600px; - } - .uk-dropdown-width-4:not(.uk-dropdown-stack) { - width: 800px; - } - .uk-dropdown-width-5:not(.uk-dropdown-stack) { - width: 1000px; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Stack columns and take full width - */ - .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; - } - /* - * Vertical gutter - */ - .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; - } -} -/* -* Stack grid columns -*/ -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; -} -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; -} -/* Modifier `uk-dropdown-small` - ========================================================================== */ -/* - * Set min-width and text expands dropdown if needed - */ -.uk-dropdown-small { - min-width: 150px; - width: auto; - padding: 5px; - white-space: nowrap; -} -/* - * Nav in dropdown - */ -.uk-dropdown-small .uk-nav { - margin: 0 -5px; -} -/* Modifier: `uk-dropdown-navbar` - ========================================================================== */ -.uk-dropdown-navbar { - margin-top: 6px; - background: #ffffff; - color: #444444; - left: -1px; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); -} -.uk-open > .uk-dropdown-navbar { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* Modifier `uk-dropdown-scrollable` - ========================================================================== */ -/* - * Usefull for long lists - */ -.uk-dropdown-scrollable { - overflow-y: auto; - max-height: 200px; -} -.uk-dropdown-navbar.uk-dropdown-flip { - left: auto; -} -/* ======================================================================== - Component: Modal - ========================================================================== */ -/* - * This is the modal overlay and modal dialog container - * 1. Hide by default - * 2. Set fixed position - * 3. Allow scrolling for the modal dialog - * 4. Mask the background page - * 5. Fade-in transition - * 6. Deactivate browser history navigation in IE11 - * 7. force hardware acceleration to prevent browser rendering hiccups - */ -.uk-modal { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1010; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - background: rgba(0, 0, 0, 0.6); - /* 5 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - /* 6 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; - /* 7 */ - -webkit-transform: translateZ(0); - transform: translateZ(0); -} -/* - * Open state - */ -.uk-modal.uk-open { - opacity: 1; -} -/* - * Prevents duplicated scrollbar caused by 4. - */ -.uk-modal-page, -.uk-modal-page body { - overflow: hidden; -} -/* Sub-object: `uk-modal-dialog` - ========================================================================== */ -/* - * 1. Create position context for caption, spinner and close button - * 2. Set box sizing - * 3. Set style - * 4. Slide-in transition - */ -.uk-modal-dialog { - /* 1 */ - position: relative; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 50px auto; - padding: 20px; - width: 600px; - max-width: 100%; - max-width: calc(100% - 20px); - /* 3 */ - background: #ffffff; - /* 4 */ - opacity: 0; - -webkit-transform: translateY(-100px); - transform: translateY(-100px); - -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; - transition: opacity 0.3s linear, transform 0.3s ease-out; - border-radius: 4px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Fit in small screen - */ - .uk-modal-dialog { - width: auto; - margin: 10px auto; - } -} -/* - * Open state - */ -.uk-open .uk-modal-dialog { - /* 4 */ - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); -} -/* - * Remove margin from the last-child - */ -.uk-modal-dialog > :not([class*='uk-modal-']):last-child { - margin-bottom: 0; -} -/* Close in modal - ========================================================================== */ -.uk-modal-dialog > .uk-close:first-child { - margin: -10px -10px 0 0; - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { - margin-top: 0; -} -/* Modifier: `uk-modal-dialog-lightbox` - ========================================================================== */ -.uk-modal-dialog-lightbox { - margin: 15px auto; - padding: 0; - max-width: 95%; - max-width: calc(100% - 30px); - border-radius: 0; -} -/* - * Close button - */ -.uk-modal-dialog-lightbox > .uk-close:first-child { - position: absolute; - top: -12px; - right: -12px; - margin: 0; - float: none; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-modal-dialog-lightbox > .uk-close:first-child { - top: -7px; - right: -7px; - } -} -/* Modifier: `uk-modal-dialog-large` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-modal-dialog-large { - width: 930px; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-modal-dialog-large { - width: 1130px; - } -} -/* Sub-Object: `uk-modal-header` and `uk-modal-footer` - ========================================================================== */ -.uk-modal-header { - margin-bottom: 15px; - margin: -20px -20px 15px -20px; - padding: 20px; - border-bottom: 1px solid #dddddd; - border-radius: 4px 4px 0 0; - background: #fafafa; -} -.uk-modal-footer { - margin-top: 15px; - margin: 15px -20px -20px -20px; - padding: 20px; - border-top: 1px solid #dddddd; - border-radius: 0 0 4px 4px; - background: #fafafa; -} -/* - * Remove margin from the last-child - */ -.uk-modal-header > :last-child, -.uk-modal-footer > :last-child { - margin-bottom: 0; -} -/* Sub-Object: `uk-modal-caption` - ========================================================================== */ -.uk-modal-caption { - position: absolute; - left: 0; - right: 0; - bottom: -20px; - margin-bottom: -10px; - color: #ffffff; - text-align: center; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* Sub-Object: `uk-modal-spinner` - ========================================================================== */ -.uk-modal-spinner { - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - font-size: 25px; - color: #ddd; -} -.uk-modal-spinner:after { - content: "\f110"; - font-family: FontAwesome; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* ======================================================================== - Component: Off-canvas - ========================================================================== */ -/* - * This is the offcanvas overlay and bar container - * 1. Hide by default - * 2. Set fixed position - * 3. Deactivate browser touch actions in IE11 - * 4. Mask the background page - */ -.uk-offcanvas { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1000; - /* 3 */ - touch-action: none; - /* 4 */ - background: rgba(0, 0, 0, 0.1); -} -.uk-offcanvas.uk-active { - display: block; -} -/* Sub-object `uk-offcanvas-page` - ========================================================================== */ -/* - * Prepares the whole HTML page to slide-out - * 1. Fix the main page and disallow scrolling - * 2. Side-out transition - */ -.uk-offcanvas-page { - /* 1 */ - position: fixed; - /* 2 */ - -webkit-transition: margin-left 0.3s ease-in-out; - transition: margin-left 0.3s ease-in-out; -} -/* Sub-object `uk-offcanvas-bar` - ========================================================================== */ -/* - * This is the offcanvas bar - * 1. Set fixed position - * 2. Size and style - * 3. Allow scrolling - * 4. Side-out transition - * 5. Deavtivate scroll chaining in IE11 - */ -.uk-offcanvas-bar { - /* 1 */ - position: fixed; - top: 0; - bottom: 0; - left: 0; - -webkit-transform: translateX(-100%); - transform: translateX(-100%); - z-index: 1001; - /* 2 */ - width: 270px; - max-width: 100%; - background: #333333; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - /* 5 */ - -ms-scroll-chaining: none; -} -.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { - -webkit-transform: translateX(0%); - transform: translateX(0%); -} -/* Modifier `uk-offcanvas-bar-flip` - ========================================================================== */ -.uk-offcanvas-bar-flip { - left: auto; - right: 0; - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Panel in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-panel { - margin: 20px 15px; - color: #777777; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -.uk-offcanvas .uk-panel-title { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]) { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]):hover { - color: #ffffff; -} -.uk-offcanvas-bar:after { - content: ""; - display: block; - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -.uk-offcanvas-bar-flip:after { - right: auto; - left: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -/* ======================================================================== - Component: Switcher - ========================================================================== */ -/* - * 1. Deactivate browser history navigation in IE11 - */ -.uk-switcher { - margin: 0; - padding: 0; - list-style: none; - /* 1 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; -} -/* - * Items - */ -.uk-switcher > :not(.uk-active) { - display: none; -} -/* ======================================================================== - Component: Text - ========================================================================== */ -/* Size modifiers - ========================================================================== */ -.uk-text-small { - font-size: 11px; - line-height: 16px; -} -.uk-text-large { - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Weight modifiers - ========================================================================== */ -.uk-text-bold { - font-weight: bold; -} -/* Color modifiers - ========================================================================== */ -.uk-text-muted { - color: #999999 !important; -} -.uk-text-primary { - color: #2d7091 !important; -} -.uk-text-success { - color: #659f13 !important; -} -.uk-text-warning { - color: #e28327 !important; -} -.uk-text-danger { - color: #d85030 !important; -} -.uk-text-contrast { - color: #ffffff !important; -} -/* Alignment modifiers - ========================================================================== */ -.uk-text-left { - text-align: left !important; -} -.uk-text-right { - text-align: right !important; -} -.uk-text-center { - text-align: center !important; -} -.uk-text-justify { - text-align: justify !important; -} -.uk-text-top { - vertical-align: top !important; -} -.uk-text-middle { - vertical-align: middle !important; -} -.uk-text-bottom { - vertical-align: bottom !important; -} -/* Only tablets portrait and smaller */ -@media (max-width: 959px) { - .uk-text-center-medium { - text-align: center !important; - } - .uk-text-left-medium { - text-align: left !important; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-text-center-small { - text-align: center !important; - } - .uk-text-left-small { - text-align: left !important; - } -} -/* Wrap modifiers - ========================================================================== */ -/* - * Prevent text from wrapping onto multiple lines - */ -.uk-text-nowrap { - white-space: nowrap; -} -/* - * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis - */ -.uk-text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* - * Break strings if their length exceeds the width of their container - */ -.uk-text-break { - word-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; -} -/* ======================================================================== - Component: Utility - ========================================================================== */ -/* Container - ========================================================================== */ -.uk-container { - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 980px; - padding: 0 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-container { - max-width: 1200px; - padding: 0 35px; - } -} -/* - * Micro clearfix - */ -.uk-container:before, -.uk-container:after { - content: ""; - display: table; -} -.uk-container:after { - clear: both; -} -/* - * Center container - */ -.uk-container-center { - margin-left: auto; - margin-right: auto; -} -/* Clearing - ========================================================================== */ -/* - * Micro clearfix -* `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit - * `table` is used again with `:after` because `clear` only works with block elements. - * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari - */ -.uk-clearfix:before { - content: ""; - display: table-cell; -} -.uk-clearfix:after { - content: ""; - display: table; - clear: both; -} -/* - * Create a new block formatting context - */ -.uk-nbfc { - overflow: hidden; -} -.uk-nbfc-alt { - display: table-cell; - width: 10000px; -} -/* Alignment of block elements - ========================================================================== */ -/* - * Float blocks - * 1. Prevent content overflow on small devices - */ -.uk-float-left { - float: left; -} -.uk-float-right { - float: right; -} -/* 1 */ -[class*='uk-float-'] { - max-width: 100%; -} -/* Alignment of images and objects - ========================================================================== */ -/* - * Alignment - */ -[class*='uk-align-'] { - display: block; - margin-bottom: 15px; -} -.uk-align-left { - margin-right: 15px; - float: left; -} -.uk-align-right { - margin-left: 15px; - float: right; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-align-medium-left { - margin-right: 15px; - margin-bottom: 15px; - float: left; - } - .uk-align-medium-right { - margin-left: 15px; - margin-bottom: 15px; - float: right; - } -} -.uk-align-center { - margin-left: auto; - margin-right: auto; -} -/* Vertical alignment - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - */ -.uk-vertical-align { - font-size: 0.001px; -} -/* - * The `uk-vertical-align` container needs a specific height - */ -.uk-vertical-align:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * Sub-object which can have any height - * 1. Reset whitespace hack - */ -.uk-vertical-align-middle, -.uk-vertical-align-bottom { - display: inline-block; - max-width: 100%; - /* 1 */ - font-size: 1rem; -} -.uk-vertical-align-middle { - vertical-align: middle; -} -.uk-vertical-align-bottom { - vertical-align: bottom; -} -/* Height - ========================================================================== */ -/* - * More robust if padding and border are used - */ -[class*='uk-height'] { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Useful to extend the `html` and `body` element to the full height of the page. - */ -.uk-height-1-1 { - height: 100%; -} -/* - * Useful to create image teasers - */ -.uk-height-viewport { - height: 100vh; - min-height: 600px; -} -/* Responsive objects - * Note: Images are already responsive by default, see Base component - ========================================================================== */ -/* - * 1. Corrects `max-width` and `max-height` behavior if padding and border are used - */ -.uk-responsive-width, -.uk-responsive-height { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * `important` needed to override `uk-img-preserve img` - */ -.uk-responsive-width { - max-width: 100% !important; - height: auto; -} -/* - * Responsiveness: Sets a maximum height relative to the parent and auto scales the width - * Only works if the parent element has a fixed height. - */ -.uk-responsive-height { - max-height: 100%; - width: auto; -} -/* Margin - ========================================================================== */ -/* - * Create a block with the same margin of a paragraph - * Add margin if adjacent element - */ -.uk-margin { - margin-bottom: 15px; -} -* + .uk-margin { - margin-top: 15px; -} -.uk-margin-top { - margin-top: 15px !important; -} -.uk-margin-bottom { - margin-bottom: 15px !important; -} -.uk-margin-left { - margin-left: 15px !important; -} -.uk-margin-right { - margin-right: 15px !important; -} -/* - * Larger margins - */ -.uk-margin-large { - margin-bottom: 50px; -} -* + .uk-margin-large { - margin-top: 50px; -} -.uk-margin-large-top { - margin-top: 50px !important; -} -.uk-margin-large-bottom { - margin-bottom: 50px !important; -} -.uk-margin-large-left { - margin-left: 50px !important; -} -.uk-margin-large-right { - margin-right: 50px !important; -} -/* - * Smaller margins - */ -.uk-margin-small { - margin-bottom: 5px; -} -* + .uk-margin-small { - margin-top: 5px; -} -.uk-margin-small-top { - margin-top: 5px !important; -} -.uk-margin-small-bottom { - margin-bottom: 5px !important; -} -.uk-margin-small-left { - margin-left: 5px !important; -} -.uk-margin-small-right { - margin-right: 5px !important; -} -/* - * Remove margins - */ -.uk-margin-remove { - margin: 0 !important; -} -.uk-margin-top-remove { - margin-top: 0 !important; -} -.uk-margin-bottom-remove { - margin-bottom: 0 !important; -} -/* Padding - ========================================================================== */ -.uk-padding-remove { - padding: 0 !important; -} -.uk-padding-top-remove { - padding-top: 0 !important; -} -.uk-padding-bottom-remove { - padding-bottom: 0 !important; -} -.uk-padding-vertical-remove { - padding-top: 0 !important; - padding-bottom: 0 !important; -} -/* Border - ========================================================================== */ -.uk-border-circle { - border-radius: 50%; -} -.uk-border-rounded { - border-radius: 5px; -} -/* Headings - ========================================================================== */ -.uk-heading-large { - font-size: 36px; - line-height: 42px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-heading-large { - font-size: 52px; - line-height: 64px; - } -} -/* Link - ========================================================================== */ -/* - * Let links appear in default text color - */ -.uk-link-muted, -.uk-link-muted a { - color: #444444; -} -.uk-link-muted:hover, -.uk-link-muted a:hover { - color: #444444; -} -/* - * Reset link style - */ -.uk-link-reset, -.uk-link-reset a, -.uk-link-reset:hover, -.uk-link-reset a:hover, -.uk-link-reset:focus, -.uk-link-reset a:focus { - color: inherit; - text-decoration: none; -} -/* Scrollable - ========================================================================== */ -/* - * Enable scrolling for preformatted text - */ -.uk-scrollable-text { - height: 300px; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - resize: both; -} -/* - * Box with scrolling enabled - */ -.uk-scrollable-box { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 170px; - padding: 10px; - border: 1px solid #dddddd; - overflow: auto; - -webkit-overflow-scrolling: touch; - resize: both; - border-radius: 3px; -} -.uk-scrollable-box > :last-child { - margin-bottom: 0; -} -/* Overflow - ========================================================================== */ -.uk-overflow-hidden { - overflow: hidden; -} -/* - * Enable scrollbars if content is clipped - */ -.uk-overflow-container { - overflow: auto; - -webkit-overflow-scrolling: touch; -} -.uk-overflow-container > :last-child { - margin-bottom: 0; -} -/* Position - ========================================================================== */ -.uk-position-absolute, -[class*='uk-position-top'], -[class*='uk-position-bottom'] { - position: absolute !important; -} -.uk-position-top { - top: 0; - width: 100%; -} -.uk-position-bottom { - bottom: 0; - width: 100%; -} -.uk-position-top-left { - top: 0; - left: 0; -} -.uk-position-top-right { - top: 0; - right: 0; -} -.uk-position-bottom-left { - bottom: 0; - left: 0; -} -.uk-position-bottom-right { - bottom: 0; - right: 0; -} -/* - * Cover - */ -.uk-position-cover { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} -/* - * Relative - */ -.uk-position-relative { - position: relative !important; -} -/* - * Z-index - */ -.uk-position-z-index { - z-index: 1; -} -/* Display - ========================================================================== */ -/* - * Display - */ -.uk-display-block { - display: block !important; -} -.uk-display-inline { - display: inline !important; -} -.uk-display-inline-block { - display: inline-block !important; -} -/* - * Visibility - * Avoids setting display to `block` so it works also with `inline-block` and `table` - */ -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-medium { - display: none !important; - } - .uk-hidden-large { - display: none !important; - } -} -/* Tablets portrait */ -@media (min-width: 768px) and (max-width: 959px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-large { - display: none !important ; - } - .uk-hidden-medium { - display: none !important; - } -} -/* Phone landscape and smaller*/ -@media (max-width: 767px) { - .uk-visible-medium { - display: none !important; - } - .uk-visible-large { - display: none !important; - } - .uk-hidden-small { - display: none !important; - } -} -/* Remove from the flow and screen readers on any device */ -.uk-hidden { - display: none !important; - visibility: hidden !important; -} -/* It's hidden, but still affects layout */ -.uk-invisible { - visibility: hidden !important; -} -/* Show on hover */ -.uk-visible-hover:hover .uk-hidden, -.uk-visible-hover:hover .uk-invisible { - display: block !important; - visibility: visible !important; -} -.uk-visible-hover-inline:hover .uk-hidden, -.uk-visible-hover-inline:hover .uk-invisible { - display: inline-block !important; - visibility: visible !important; -} -/* Hide on touch */ -.uk-touch .uk-hidden-touch, -.uk-notouch .uk-hidden-notouch { - display: none !important; -} -/* ======================================================================== - Component: Flex - ========================================================================== */ -.uk-flex { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -.uk-flex-inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; - display: inline-flex; -} -/* - * Fixes initial flex-shrink value in IE10 - */ -.uk-flex > *, -.uk-flex-inline > * { - -ms-flex-negative: 1; -} -/* Alignment - ========================================================================== */ -/* - * Vertical alignment - * Default value is `stretch` - */ -.uk-flex-top { - -ms-flex-align: start; - -webkit-align-items: flex-start; - align-items: flex-start; -} -.uk-flex-middle { - -ms-flex-align: center; - -webkit-align-items: center; - align-items: center; -} -.uk-flex-bottom { - -ms-flex-align: end; - -webkit-align-items: flex-end; - align-items: flex-end; -} -/* - * Horizontal alignment - * Default value is `flex-start` - */ -.uk-flex-center { - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} -.uk-flex-right { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; - justify-content: flex-end; -} -.uk-flex-space-between { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -} -.uk-flex-space-around { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; - justify-content: space-around; -} -/* Direction - ========================================================================== */ -.uk-flex-row-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; - flex-direction: row-reverse; -} -.uk-flex-column { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -.uk-flex-column-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; - flex-direction: column-reverse; -} -/* Wrap - ========================================================================== */ -.uk-flex-nowrap { - -ms-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - flex-wrap: nowrap; -} -.uk-flex-wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; -} -.uk-flex-wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} -/* - * Horizontal alignment - * Default value is `stretch` - */ -.uk-flex-wrap-top { - -ms-flex-line-pack: start; - -webkit-align-content: flex-start; - align-content: flex-start; -} -.uk-flex-wrap-middle { - -ms-flex-line-pack: center; - -webkit-align-content: center; - align-content: center; -} -.uk-flex-wrap-bottom { - -ms-flex-line-pack: end; - -webkit-align-content: flex-end; - align-content: flex-end; -} -.uk-flex-wrap-space-between { - -ms-flex-line-pack: justify; - -webkit-align-content: space-between; - align-content: space-between; -} -.uk-flex-wrap-space-around { - -ms-flex-line-pack: distribute; - -webkit-align-content: space-around; - align-content: space-around; -} -/* Item ordering - ========================================================================== */ -/* - * Default is 0 - */ -.uk-flex-order-first { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; -} -.uk-flex-order-last { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-flex-order-first-small { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-small { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-flex-order-first-medium { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-medium { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-flex-order-first-large { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-large { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-flex-order-first-xlarge { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-xlarge { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Item dimensions - ========================================================================== */ -/* - * Initial: 0 1 auto - * Content dimensions, but shrinks - */ -/* - * No Flex: 0 0 auto - * Content dimensions - */ -.uk-flex-item-none { - -ms-flex: none; - -webkit-flex: none; - flex: none; -} -/* - * Relative Flex: 1 1 auto - * Space is allocated considering content - * 1. Fixes flex-shrink value in IE10 - */ -.uk-flex-item-auto { - -ms-flex: auto; - -webkit-flex: auto; - flex: auto; - /* 1 */ - -ms-flex-negative: 1; -} -/* - * Absolute Flex: 1 1 0% - * Space is allocated solely based on flex - */ -.uk-flex-item-1 { - -ms-flex: 1; - -webkit-flex: 1; - flex: 1; -} -/* ======================================================================== - Component: Contrast - ========================================================================== */ -.uk-contrast { - color: #ffffff; -} -.uk-contrast a:not([class]), -.uk-contrast .uk-link { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast a:not([class]):hover, -.uk-contrast .uk-link:hover { - color: #ffffff; - text-decoration: underline; -} -.uk-contrast :not(pre) > code, -.uk-contrast :not(pre) > kbd, -.uk-contrast :not(pre) > samp { - color: #ffffff; - border-color: rgba(255, 255, 255, 0.2); - background: rgba(255, 255, 255, 0.1); -} -.uk-contrast em { - color: #ffffff; -} -.uk-contrast h1, -.uk-contrast h2, -.uk-contrast h3, -.uk-contrast h4, -.uk-contrast h5, -.uk-contrast h6 { - color: #ffffff; -} -.uk-contrast hr { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav li > a, -.uk-contrast .uk-nav li > a:hover { - text-decoration: none; -} -.uk-contrast .uk-nav-side > li > a { - color: #ffffff; -} -.uk-contrast .uk-nav-side > li > a:hover, -.uk-contrast .uk-nav-side > li > a:focus { - background: rgba(255, 255, 255, 0.1); - color: #ffffff; - text-shadow: none; -} -.uk-contrast .uk-nav-side > li.uk-active > a { - background: #ffffff; - color: #444444; - text-shadow: none; -} -.uk-contrast .uk-nav-side .uk-nav-header { - color: #ffffff; -} -.uk-contrast .uk-nav-side .uk-nav-divider { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav-side ul a { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-nav-side ul a:hover { - color: #ffffff; -} -.uk-contrast .uk-subnav > * > a { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast .uk-subnav > * > a:hover, -.uk-contrast .uk-subnav > * > a:focus { - color: #ffffff; - text-decoration: none; -} -.uk-contrast .uk-subnav > .uk-active > a { - color: #ffffff; -} -.uk-contrast .uk-subnav-line > :nth-child(n+2):before { - border-left-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-subnav-pill > * > a:hover, -.uk-contrast .uk-subnav-pill > * > a:focus { - background: rgba(255, 255, 255, 0.7); - color: #444444; - text-decoration: none; -} -.uk-contrast .uk-subnav-pill > .uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-list-line > li:nth-child(n+2) { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-form select, -.uk-contrast .uk-form textarea, -.uk-contrast .uk-form input:not([type]), -.uk-contrast .uk-form input[type="text"], -.uk-contrast .uk-form input[type="password"], -.uk-contrast .uk-form input[type="datetime"], -.uk-contrast .uk-form input[type="datetime-local"], -.uk-contrast .uk-form input[type="date"], -.uk-contrast .uk-form input[type="month"], -.uk-contrast .uk-form input[type="time"], -.uk-contrast .uk-form input[type="week"], -.uk-contrast .uk-form input[type="number"], -.uk-contrast .uk-form input[type="email"], -.uk-contrast .uk-form input[type="url"], -.uk-contrast .uk-form input[type="search"], -.uk-contrast .uk-form input[type="tel"], -.uk-contrast .uk-form input[type="color"] { - border-color: rgba(255, 255, 255, 0.8); - background: rgba(255, 255, 255, 0.8); - color: #444444; - background-clip: padding-box; -} -.uk-contrast .uk-form select:focus, -.uk-contrast .uk-form textarea:focus, -.uk-contrast .uk-form input:not([type]):focus, -.uk-contrast .uk-form input[type="text"]:focus, -.uk-contrast .uk-form input[type="password"]:focus, -.uk-contrast .uk-form input[type="datetime"]:focus, -.uk-contrast .uk-form input[type="datetime-local"]:focus, -.uk-contrast .uk-form input[type="date"]:focus, -.uk-contrast .uk-form input[type="month"]:focus, -.uk-contrast .uk-form input[type="time"]:focus, -.uk-contrast .uk-form input[type="week"]:focus, -.uk-contrast .uk-form input[type="number"]:focus, -.uk-contrast .uk-form input[type="email"]:focus, -.uk-contrast .uk-form input[type="url"]:focus, -.uk-contrast .uk-form input[type="search"]:focus, -.uk-contrast .uk-form input[type="tel"]:focus, -.uk-contrast .uk-form input[type="color"]:focus { - border-color: #ffffff; - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-form :-ms-input-placeholder { - color: rgba(68, 68, 68, 0.7) !important; -} -.uk-contrast .uk-form ::-moz-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-form ::-webkit-input-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-button { - color: #444444; - background: #ffffff; - border-color: transparent; -} -.uk-contrast .uk-button:hover, -.uk-contrast .uk-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-button:active, -.uk-contrast .uk-button.uk-active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; - box-shadow: none; -} -.uk-contrast .uk-button-primary { - background-color: #009dd8; - color: #ffffff; -} -.uk-contrast .uk-button-primary:hover, -.uk-contrast .uk-button-primary:focus { - background-color: #00aff2; - color: #ffffff; -} -.uk-contrast .uk-button-primary:active, -.uk-contrast .uk-button-primary.uk-active { - background-color: #008abf; - color: #ffffff; -} -.uk-contrast .uk-icon-hover { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-icon-hover:hover { - color: #ffffff; -} -.uk-contrast .uk-icon-button { - background: #ffffff; - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:hover, -.uk-contrast .uk-icon-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; - box-shadow: none; -} -.uk-contrast .uk-text-muted { - color: rgba(255, 255, 255, 0.6) !important; -} -.uk-contrast .uk-text-primary { - color: #2d7091 !important; -} -/* ======================================================================== - Component: Print - ========================================================================== */ -@media print { - * { - background: transparent !important; - color: black !important; - box-shadow: none !important; - text-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.gradient.min.css deleted file mode 100644 index 219d52335..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444;background-image:-webkit-radial-gradient(100% 100%,center,#fff,#fff);background-image:radial-gradient(100% 100% at center,#fff,#fff)}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07d;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#d05;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;height:auto;-moz-box-sizing:border-box;box-sizing:border-box;border:0;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img{max-width:none}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#fafafa;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto;border:1px solid #ddd;border-radius:3px}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}@media (min-width:480px){.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-box{padding:15px;background:#fafafa;color:#444;border:1px solid #ddd;border-radius:4px}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#fff;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444;border:1px solid transparent;border-radius:4px}.uk-panel-hover:hover{background:#fafafa;color:#444;border-color:#ddd}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-panel-box .uk-panel-teaser{border-top-left-radius:4px;border-top-right-radius:4px;overflow:hidden;-webkit-transform:translateZ(0)}.uk-block{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-article+.uk-article{padding-top:25px;border-top:1px solid #ddd}.uk-comment-header{margin-bottom:15px;padding:10px;border:1px solid #ddd;border-radius:4px;background:#fafafa}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body{padding-left:10px;padding-right:10px}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:25px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:25px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-comment-primary .uk-comment-header{border-color:rgba(45,112,145,.3);background-color:#ebf7fd;color:#2d7091;text-shadow:0 1px 0 #fff}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.03);color:#444;outline:0;box-shadow:inset 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 #fff}.uk-nav-side>li.uk-active>a{background:#009dd8;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd;box-shadow:0 1px 0 #fff}.uk-nav-side ul a{color:#07d}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07d}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07d}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px;border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas .uk-nav-header{color:#777;margin-top:0;border-top:1px solid rgba(0,0,0,.3);background:#404040;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid rgba(255,255,255,.01);margin:0;height:4px;background:rgba(0,0,0,.2);box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-nav-offcanvas{border-bottom:1px solid rgba(0,0,0,.3);box-shadow:0 1px 0 rgba(255,255,255,.05)}.uk-nav-offcanvas .uk-nav-sub{border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.uk-navbar{background:#f7f7f7;color:#444;border:1px solid rgba(0,0,0,.1);border-bottom-color:rgba(0,0,0,.3);border-radius:4px;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee)}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:transparent;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav>li>a:active{background-color:#f5f5f5;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{-moz-box-sizing:border-box;box-sizing:border-box;display:block;height:41px;padding:0 15px;float:left;margin-top:-1px;text-shadow:0 1px 0 #fff}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07d}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px;border-bottom-left-radius:4px}.uk-navbar-flip .uk-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-navbar-flip .uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0;border-bottom-left-radius:0}.uk-navbar-flip .uk-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px;border-bottom-right-radius:4px}.uk-navbar-attached{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;border-radius:0}.uk-navbar-attached .uk-navbar-nav>li>a{border-radius:0!important}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07d;text-decoration:none}.uk-subnav>.uk-active>*{color:#07d}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px;border-radius:4px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#fafafa;color:#444;text-decoration:none;outline:0;box-shadow:0 0 0 1px rgba(0,0,0,.1)}.uk-subnav-pill>.uk-active>*{background:#009dd8;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text;box-shadow:none}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center;border-radius:4px}.uk-pagination>li>a{background:#f7f7f7;color:#444;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#fafafa;color:#444;outline:0;background-image:none}.uk-pagination>li>a:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-pagination>.uk-active>span{background:#009dd8;color:#fff;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-pagination>.uk-disabled>span{background-color:#fafafa;color:#999;border:1px solid rgba(0,0,0,.2);text-shadow:0 1px 0 #fff}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07d;text-decoration:none;border-radius:4px 4px 0 0;text-shadow:0 1px 0 #fff}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:#ddd;background:#fafafa;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-tab-bottom>li>a{border-radius:0 0 4px 4px}@media (min-width:768px){.uk-tab-left>li>a{border-radius:4px 0 0 4px}.uk-tab-right>li>a{border-radius:0 4px 4px 0}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px;border-bottom:1px solid #ddd}.uk-list-striped>li:nth-of-type(odd){background:#fafafa}.uk-list-space>li:nth-child(n+2){margin-top:10px}.uk-list-striped>li:first-child{border-top:1px solid #ddd}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px;border-bottom:1px solid #ddd}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#f0f0f0}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#fafafa}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#f0f0f0}.uk-form input,.uk-form select,.uk-form textarea{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all linear .2s;transition:all linear .2s;border-radius:4px}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#fafafa;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px;background:#f7f7f7;vertical-align:middle;line-height:28px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);border-radius:4px;text-shadow:0 1px 0 #fff}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#fafafa;color:#444;outline:0;text-decoration:none;background-image:none}.uk-button.uk-active,.uk-button:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-button-primary{background-color:#009dd8;color:#fff;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#00aff2;color:#fff;background-image:none}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#008abf;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button-success{background-color:#82bb42;color:#fff;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-success:focus,.uk-button-success:hover{background-color:#8fce48;color:#fff;background-image:none}.uk-button-success.uk-active,.uk-button-success:active{background-color:#76b430;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button-danger{background-color:#d32c46;color:#fff;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e33551;color:#fff;background-image:none}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91c37;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button:disabled{background-color:#fafafa;color:#999;border-color:rgba(0,0,0,.2);background-image:none;box-shadow:none;text-shadow:0 1px 0 #fff}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0;box-shadow:none;text-shadow:none}.uk-button-link{color:#07d}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:18px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:23px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:38px;font-size:16px;border-radius:5px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}.uk-button-group>.uk-button:not(:first-child):not(:last-child),.uk-button-group>div:not(:first-child):not(:last-child) .uk-button{border-radius:0}.uk-button-group>.uk-button:first-child,.uk-button-group>div:first-child .uk-button{border-top-right-radius:0;border-bottom-right-radius:0}.uk-button-group>.uk-button:last-child,.uk-button-group>div:last-child .uk-button{border-top-left-radius:0;border-bottom-left-radius:0}.uk-button-group>.uk-button:nth-child(n+2),.uk-button-group>div:nth-child(n+2) .uk-button{margin-left:-1px}.uk-button-group .uk-button:active{position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot?#iefix)format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2)format('woff2'),url(../fonts/fontawesome-webfont.woff)format("woff"),url(../fonts/fontawesome-webfont.ttf)format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#f7f7f7;line-height:35px;color:#444;font-size:18px;text-align:center;border:1px solid #ccc;border-bottom-color:#bbb;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#fafafa;color:#444;outline:0;background-image:none}.uk-icon-button:active{background-color:#f5f5f5;color:#444;border-color:#ccc;border-top-color:#bbb;background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#fff;opacity:1;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 0 6px rgba(0,0,0,.3)}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#009dd8;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);border-radius:2px;text-shadow:0 -1px 0 rgba(0,0,0,.2)}a.uk-badge:hover{color:#fff}.uk-badge-notification{-moz-box-sizing:border-box;box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-badge-warning{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-badge-danger{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091;border:1px solid rgba(45,112,145,.3);border-radius:4px;text-shadow:0 1px 0 #fff}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-alert-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-alert-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.05)}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0;box-shadow:0 1px 4px rgba(0,0,0,.3)}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity transform filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1)rotate(0);transform:scale(1)rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1)rotate(3deg);transform:scale(1.1)rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0)translateY(0);transform:translateX(0)translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1020;-moz-box-sizing:border-box;box-sizing:border-box;width:200px;margin-top:5px;padding:15px;background:#fff;color:#444;font-size:1rem;vertical-align:top;border:1px solid #cbcbcb;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.uk-open>.uk-dropdown{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-flip{left:auto;right:0}.uk-dropdown-up{top:auto;bottom:100%;margin-top:auto;margin-bottom:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:6px;background:#fff;color:#444;left:-1px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-dropdown-navbar.uk-dropdown-flip{left:auto}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.3)}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px);border-radius:0}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px;margin:-20px -20px 15px -20px;padding:20px;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0;background:#fafafa}.uk-modal-footer{margin-top:15px;margin:15px -20px -20px -20px;padding:20px;border-top:1px solid #ddd;border-radius:0 0 4px 4px;background:#fafafa}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-offcanvas-bar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-offcanvas-bar-flip:after{right:auto;left:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{-moz-box-sizing:border-box;box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;margin-bottom:15px;float:left}.uk-align-medium-right{margin-left:15px;margin-bottom:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{-moz-box-sizing:border-box;box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{-moz-box-sizing:border-box;box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{-moz-box-sizing:border-box;box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both;border-radius:3px}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;width:100%}.uk-position-bottom{bottom:0;width:100%}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px)and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1)}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff;text-shadow:none}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444;text-shadow:none}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff;border-color:transparent}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444;box-shadow:none}.uk-contrast .uk-button-primary{background-color:#009dd8;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#00aff2;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#008abf;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444;border-color:transparent}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444;box-shadow:none}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.min.css deleted file mode 100644 index f6ef1f633..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/css/uikit.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07d;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#d05;white-space:nowrap}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;height:auto;-moz-box-sizing:border-box;box-sizing:border-box;border:0;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img{max-width:none}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#f5f5f5;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}@media (min-width:480px){.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-box{padding:15px;background:#f5f5f5;color:#444}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box .uk-panel-teaser{margin-top:-15px;margin-left:-15px;margin-right:-15px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#eee;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444}.uk-panel-hover:hover{background:#f5f5f5;color:#444}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover .uk-panel-teaser{margin-top:-15px;margin-left:-15px;margin-right:-15px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-block{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-comment-header{margin-bottom:15px}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:15px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:15px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.05);color:#444;outline:0}.uk-nav-side>li.uk-active>a{background:#00a8e6;color:#fff}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-side ul a{color:#07d}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#00a8e6;color:#fff;outline:0}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07d}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#00a8e6;color:#fff;outline:0}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07d}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff}.uk-nav-offcanvas .uk-nav-header{color:#777}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid #1a1a1a}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-navbar{background:#eee;color:#444}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:40px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:#f5f5f5;color:#444;outline:0}.uk-navbar-nav>li>a:active{background-color:#ddd;color:#444}.uk-navbar-nav>li.uk-active>a{background-color:#f5f5f5;color:#444}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{-moz-box-sizing:border-box;box-sizing:border-box;display:block;height:40px;padding:0 15px;float:left}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07d}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07d;text-decoration:none}.uk-subnav>.uk-active>*{color:#07d}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#eee;color:#444;text-decoration:none;outline:0}.uk-subnav-pill>.uk-active>*{background:#00a8e6;color:#fff}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center}.uk-pagination>li>a{background:#eee;color:#444}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#f5f5f5;color:#444;outline:0}.uk-pagination>li>a:active{background-color:#ddd;color:#444}.uk-pagination>.uk-active>span{background:#00a8e6;color:#fff}.uk-pagination>.uk-disabled>span{background-color:#f5f5f5;color:#999}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07d;text-decoration:none}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:#f5f5f5;background:#f5f5f5;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px}.uk-list-striped>li:nth-of-type(odd){background:#f5f5f5}.uk-list-space>li:nth-child(n+2){margin-top:10px}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#eee}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#f5f5f5}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#eee}.uk-form input,.uk-form select,.uk-form textarea{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all linear .2s;transition:all linear .2s}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#f5f5f5;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px;background:#eee;vertical-align:middle;line-height:30px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#f5f5f5;color:#444;outline:0;text-decoration:none}.uk-button.uk-active,.uk-button:active{background-color:#ddd;color:#444}.uk-button-primary{background-color:#00a8e6;color:#fff}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-button-success{background-color:#8cc14c;color:#fff}.uk-button-success:focus,.uk-button-success:hover{background-color:#8ec73b;color:#fff}.uk-button-success.uk-active,.uk-button-success:active{background-color:#72ae41;color:#fff}.uk-button-danger{background-color:#da314b;color:#fff}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e4354f;color:#fff}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91032;color:#fff}.uk-button:disabled{background-color:#f5f5f5;color:#999}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0}.uk-button-link{color:#07d}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:20px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:25px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:40px;font-size:16px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot?#iefix)format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2)format('woff2'),url(../fonts/fontawesome-webfont.woff)format("woff"),url(../fonts/fontawesome-webfont.ttf)format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#eee;line-height:35px;color:#444;font-size:18px;text-align:center}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#f5f5f5;color:#444;outline:0}.uk-icon-button:active{background-color:#ddd;color:#444}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#eee;opacity:1}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#00a8e6;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none}a.uk-badge:hover{color:#fff}.uk-badge-notification{-moz-box-sizing:border-box;box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#8cc14c}.uk-badge-warning{background-color:#faa732}.uk-badge-danger{background-color:#da314b}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13}.uk-alert-warning{background:#fffceb;color:#e28327}.uk-alert-danger{background:#fff1f0;color:#d85030}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity transform filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1)rotate(0);transform:scale(1)rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1)rotate(3deg);transform:scale(1.1)rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0)translateY(0);transform:translateX(0)translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1020;-moz-box-sizing:border-box;box-sizing:border-box;width:200px;margin-top:5px;padding:15px;background:#f5f5f5;color:#444;font-size:1rem;vertical-align:top}.uk-open>.uk-dropdown{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-flip{left:auto;right:0}.uk-dropdown-up{top:auto;bottom:100%;margin-top:auto;margin-bottom:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:0;background:#f5f5f5;color:#444}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px)}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px}.uk-modal-footer{margin-top:15px}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{-moz-box-sizing:border-box;box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;margin-bottom:15px;float:left}.uk-align-medium-right{margin-left:15px;margin-bottom:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{-moz-box-sizing:border-box;box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{-moz-box-sizing:border-box;box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{-moz-box-sizing:border-box;box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;width:100%}.uk-position-bottom{bottom:0;width:100%}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px)and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-button-primary{background-color:#00a8e6;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/FontAwesome.otf b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/FontAwesome.otf deleted file mode 100644 index f7936cc1e..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/FontAwesome.otf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.eot b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.eot deleted file mode 100644 index 33b2bb800..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.ttf b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.ttf deleted file mode 100644 index ed9372f8e..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.woff b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.woff deleted file mode 100644 index 8b280b98f..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.woff2 b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.woff2 deleted file mode 100644 index 3311d5851..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/fontawesome-webfont.woff2 and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/fonts/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/accordion.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/accordion.js deleted file mode 100644 index d8a62c625..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/accordion.js +++ /dev/null @@ -1,172 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-accordion", ["uikit"], function(){ - return component || addon(UIkit); - }); - } -})(function(UI){ - - "use strict"; - - UI.component('accordion', { - - defaults: { - showfirst : true, - collapse : true, - animate : true, - easing : 'swing', - duration : 300, - toggle : '.uk-accordion-title', - containers : '.uk-accordion-content', - clsactive : 'uk-active' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - setTimeout(function(){ - - UI.$("[data-uk-accordion]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("accordion")) { - UI.accordion(ele, UI.Utils.options(ele.attr('data-uk-accordion'))); - } - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.element.on('click.uikit.accordion', this.options.toggle, function(e) { - - e.preventDefault(); - - $this.toggleItem(UI.$(this).data('wrapper'), $this.options.animate, $this.options.collapse); - }); - - this.update(); - - if (this.options.showfirst) { - this.toggleItem(this.toggle.eq(0).data('wrapper'), false, false); - } - }, - - toggleItem: function(wrapper, animated, collapse) { - - var $this = this; - - wrapper.data('toggle').toggleClass(this.options.clsactive); - - var active = wrapper.data('toggle').hasClass(this.options.clsactive); - - if (collapse) { - this.toggle.not(wrapper.data('toggle')).removeClass(this.options.clsactive); - this.content.not(wrapper.data('content')).parent().stop().css('overflow', 'hidden').animate({ height: 0 }, {easing: this.options.easing, duration: animated ? this.options.duration : 0}).attr('aria-expanded', 'false'); - } - - wrapper.stop().css('overflow', 'hidden'); - - if (animated) { - - wrapper.animate({ height: active ? getHeight(wrapper.data('content')) : 0 }, {easing: this.options.easing, duration: this.options.duration, complete: function() { - - if (active) { - wrapper.css({'overflow': '', 'height': 'auto'}); - UI.Utils.checkDisplay(wrapper.data('content')); - } - - $this.trigger('display.uk.check'); - }}); - - } else { - - wrapper.height(active ? 'auto' : 0); - - if (active) { - wrapper.css({'overflow': ''}); - UI.Utils.checkDisplay(wrapper.data('content')); - } - - this.trigger('display.uk.check'); - } - - // Update ARIA - wrapper.attr('aria-expanded', active); - - this.element.trigger('toggle.uk.accordion', [active, wrapper.data('toggle'), wrapper.data('content')]); - }, - - update: function() { - - var $this = this, $content, $wrapper, $toggle; - - this.toggle = this.find(this.options.toggle); - this.content = this.find(this.options.containers); - - this.content.each(function(index) { - - $content = UI.$(this); - - if ($content.parent().data('wrapper')) { - $wrapper = $content.parent(); - } else { - $wrapper = UI.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(); - - // Init ARIA - $wrapper.attr('aria-expanded', 'false'); - } - - $toggle = $this.toggle.eq(index); - - $wrapper.data('toggle', $toggle); - $wrapper.data('content', $content); - $toggle.data('wrapper', $wrapper); - $content.data('wrapper', $wrapper); - }); - - this.element.trigger('update.uk.accordion', [this]); - } - - }); - - // helper - - function getHeight(ele) { - - var $ele = UI.$(ele), height = "auto"; - - if ($ele.is(":visible")) { - height = $ele.outerHeight(); - } else { - - var tmp = { - position : $ele.css("position"), - visibility : $ele.css("visibility"), - display : $ele.css("display") - }; - - height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); - - $ele.css(tmp); // reset element - } - - return height; - } - - return UI.accordion; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/accordion.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/accordion.min.js deleted file mode 100644 index 7da072430..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/accordion.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-accordion",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i){var o=t.$(i),e="auto";if(o.is(":visible"))e=o.outerHeight();else{var a={position:o.css("position"),visibility:o.css("visibility"),display:o.css("display")};e=o.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),o.css(a)}return e}return t.component("accordion",{defaults:{showfirst:!0,collapse:!0,animate:!0,easing:"swing",duration:300,toggle:".uk-accordion-title",containers:".uk-accordion-content",clsactive:"uk-active"},boot:function(){t.ready(function(i){setTimeout(function(){t.$("[data-uk-accordion]",i).each(function(){var i=t.$(this);i.data("accordion")||t.accordion(i,t.Utils.options(i.attr("data-uk-accordion")))})},0)})},init:function(){var i=this;this.element.on("click.uikit.accordion",this.options.toggle,function(o){o.preventDefault(),i.toggleItem(t.$(this).data("wrapper"),i.options.animate,i.options.collapse)}),this.update(),this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,!1)},toggleItem:function(o,e,a){var n=this;o.data("toggle").toggleClass(this.options.clsactive);var s=o.data("toggle").hasClass(this.options.clsactive);a&&(this.toggle.not(o.data("toggle")).removeClass(this.options.clsactive),this.content.not(o.data("content")).parent().stop().css("overflow","hidden").animate({height:0},{easing:this.options.easing,duration:e?this.options.duration:0}).attr("aria-expanded","false")),o.stop().css("overflow","hidden"),e?o.animate({height:s?i(o.data("content")):0},{easing:this.options.easing,duration:this.options.duration,complete:function(){s&&(o.css({overflow:"",height:"auto"}),t.Utils.checkDisplay(o.data("content"))),n.trigger("display.uk.check")}}):(o.height(s?"auto":0),s&&(o.css({overflow:""}),t.Utils.checkDisplay(o.data("content"))),this.trigger("display.uk.check")),o.attr("aria-expanded",s),this.element.trigger("toggle.uk.accordion",[s,o.data("toggle"),o.data("content")])},update:function(){var i,o,e,a=this;this.toggle=this.find(this.options.toggle),this.content=this.find(this.options.containers),this.content.each(function(n){i=t.$(this),i.parent().data("wrapper")?o=i.parent():(o=t.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(),o.attr("aria-expanded","false")),e=a.toggle.eq(n),o.data("toggle",e),o.data("content",i),e.data("wrapper",o),i.data("wrapper",o)}),this.element.trigger("update.uk.accordion",[this])}}),t.accordion}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/autocomplete.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/autocomplete.js deleted file mode 100644 index 7031f9454..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/autocomplete.js +++ /dev/null @@ -1,336 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-autocomplete", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var active; - - UI.component('autocomplete', { - - defaults: { - minLength: 3, - param: 'search', - method: 'post', - delay: 300, - loadingClass: 'uk-loading', - flipDropdown: false, - skipClass: 'uk-skip', - hoverClass: 'uk-active', - source: null, - renderer: null, - - // template - - template: '<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>' - }, - - visible : false, - value : null, - selected : null, - - boot: function() { - - // init code - UI.$html.on("focus.autocomplete.uikit", "[data-uk-autocomplete]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("autocomplete")) { - var obj = UI.autocomplete(ele, UI.Utils.options(ele.attr("data-uk-autocomplete"))); - } - }); - - // register outer click for autocompletes - UI.$html.on("click.autocomplete.uikit", function(e) { - if (active && e.target!=active.input[0]) active.hide(); - }); - }, - - init: function() { - - var $this = this, - select = false, - trigger = UI.Utils.debounce(function(e) { - if(select) { - return (select = false); - } - $this.handle(); - }, this.options.delay); - - - this.dropdown = this.find('.uk-dropdown'); - this.template = this.find('script[type="text/autocomplete"]').html(); - this.template = UI.Utils.template(this.template || this.options.template); - this.input = this.find("input:first").attr("autocomplete", "off"); - - if (!this.dropdown.length) { - this.dropdown = UI.$('<div class="uk-dropdown"></div>').appendTo(this.element); - } - - if (this.options.flipDropdown) { - this.dropdown.addClass('uk-dropdown-flip'); - } - - this.dropdown.attr('aria-expanded', 'false'); - - this.input.on({ - "keydown": function(e) { - - if (e && e.which && !e.shiftKey) { - - switch (e.which) { - case 13: // enter - select = true; - - if ($this.selected) { - e.preventDefault(); - $this.select(); - } - break; - case 38: // up - e.preventDefault(); - $this.pick('prev', true); - break; - case 40: // down - e.preventDefault(); - $this.pick('next', true); - break; - case 27: - case 9: // esc, tab - $this.hide(); - break; - default: - break; - } - } - - }, - "keyup": trigger - }); - - this.dropdown.on("click", ".uk-autocomplete-results > *", function(){ - $this.select(); - }); - - this.dropdown.on("mouseover", ".uk-autocomplete-results > *", function(){ - $this.pick(UI.$(this)); - }); - - this.triggercomplete = trigger; - }, - - handle: function() { - - var $this = this, old = this.value; - - this.value = this.input.val(); - - if (this.value.length < this.options.minLength) return this.hide(); - - if (this.value != old) { - $this.request(); - } - - return this; - }, - - pick: function(item, scrollinview) { - - var $this = this, - items = UI.$(this.dropdown.find('.uk-autocomplete-results').children(':not(.'+this.options.skipClass+')')), - selected = false; - - if (typeof item !== "string" && !item.hasClass(this.options.skipClass)) { - selected = item; - } else if (item == 'next' || item == 'prev') { - - if (this.selected) { - var index = items.index(this.selected); - - if (item == 'next') { - selected = items.eq(index + 1 < items.length ? index + 1 : 0); - } else { - selected = items.eq(index - 1 < 0 ? items.length - 1 : index - 1); - } - - } else { - selected = items[(item == 'next') ? 'first' : 'last'](); - } - - selected = UI.$(selected); - } - - if (selected && selected.length) { - this.selected = selected; - items.removeClass(this.options.hoverClass); - this.selected.addClass(this.options.hoverClass); - - // jump to selected if not in view - if (scrollinview) { - - var top = selected.position().top, - scrollTop = $this.dropdown.scrollTop(), - dpheight = $this.dropdown.height(); - - if (top > dpheight || top < 0) { - $this.dropdown.scrollTop(scrollTop + top); - } - } - } - }, - - select: function() { - - if(!this.selected) return; - - var data = this.selected.data(); - - this.trigger("selectitem.uk.autocomplete", [data, this]); - - if (data.value) { - this.input.val(data.value).trigger('change'); - } - - this.hide(); - }, - - show: function() { - if (this.visible) return; - this.visible = true; - this.element.addClass("uk-open"); - - if (active && active!==this) { - active.hide(); - } - - active = this; - - // Update aria - this.dropdown.attr('aria-expanded', 'true'); - - return this; - }, - - hide: function() { - if (!this.visible) return; - this.visible = false; - this.element.removeClass("uk-open"); - - if (active === this) { - active = false; - } - - // Update aria - this.dropdown.attr('aria-expanded', 'false'); - - return this; - }, - - request: function() { - - var $this = this, - release = function(data) { - - if(data) { - $this.render(data); - } - - $this.element.removeClass($this.options.loadingClass); - }; - - this.element.addClass(this.options.loadingClass); - - if (this.options.source) { - - var source = this.options.source; - - switch(typeof(this.options.source)) { - case 'function': - - this.options.source.apply(this, [release]); - - break; - - case 'object': - - if(source.length) { - - var items = []; - - source.forEach(function(item){ - if(item.value && item.value.toLowerCase().indexOf($this.value.toLowerCase())!=-1) { - items.push(item); - } - }); - - release(items); - } - - break; - - case 'string': - - var params ={}; - - params[this.options.param] = this.value; - - UI.$.ajax({ - url: this.options.source, - data: params, - type: this.options.method, - dataType: 'json' - }).done(function(json) { - release(json || []); - }); - - break; - - default: - release(null); - } - - } else { - this.element.removeClass($this.options.loadingClass); - } - }, - - render: function(data) { - - var $this = this; - - this.dropdown.empty(); - - this.selected = false; - - if (this.options.renderer) { - - this.options.renderer.apply(this, [data]); - - } else if(data && data.length) { - - this.dropdown.append(this.template({"items":data})); - this.show(); - - this.trigger('show.uk.autocomplete'); - } - - return this; - } - }); - - return UI.autocomplete; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/autocomplete.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/autocomplete.min.js deleted file mode 100644 index 2752df499..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/autocomplete.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-autocomplete",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e;return t.component("autocomplete",{defaults:{minLength:3,param:"search",method:"post",delay:300,loadingClass:"uk-loading",flipDropdown:!1,skipClass:"uk-skip",hoverClass:"uk-active",source:null,renderer:null,template:'<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'},visible:!1,value:null,selected:null,boot:function(){t.$html.on("focus.autocomplete.uikit","[data-uk-autocomplete]",function(){var e=t.$(this);if(!e.data("autocomplete")){t.autocomplete(e,t.Utils.options(e.attr("data-uk-autocomplete")))}}),t.$html.on("click.autocomplete.uikit",function(t){e&&t.target!=e.input[0]&&e.hide()})},init:function(){var e=this,i=!1,s=t.Utils.debounce(function(){return i?i=!1:(e.handle(),void 0)},this.options.delay);this.dropdown=this.find(".uk-dropdown"),this.template=this.find('script[type="text/autocomplete"]').html(),this.template=t.Utils.template(this.template||this.options.template),this.input=this.find("input:first").attr("autocomplete","off"),this.dropdown.length||(this.dropdown=t.$('<div class="uk-dropdown"></div>').appendTo(this.element)),this.options.flipDropdown&&this.dropdown.addClass("uk-dropdown-flip"),this.dropdown.attr("aria-expanded","false"),this.input.on({keydown:function(t){if(t&&t.which&&!t.shiftKey)switch(t.which){case 13:i=!0,e.selected&&(t.preventDefault(),e.select());break;case 38:t.preventDefault(),e.pick("prev",!0);break;case 40:t.preventDefault(),e.pick("next",!0);break;case 27:case 9:e.hide()}},keyup:s}),this.dropdown.on("click",".uk-autocomplete-results > *",function(){e.select()}),this.dropdown.on("mouseover",".uk-autocomplete-results > *",function(){e.pick(t.$(this))}),this.triggercomplete=s},handle:function(){var t=this,e=this.value;return this.value=this.input.val(),this.value.length<this.options.minLength?this.hide():(this.value!=e&&t.request(),this)},pick:function(e,i){var s=this,o=t.$(this.dropdown.find(".uk-autocomplete-results").children(":not(."+this.options.skipClass+")")),n=!1;if("string"==typeof e||e.hasClass(this.options.skipClass)){if("next"==e||"prev"==e){if(this.selected){var a=o.index(this.selected);n="next"==e?o.eq(a+1<o.length?a+1:0):o.eq(0>a-1?o.length-1:a-1)}else n=o["next"==e?"first":"last"]();n=t.$(n)}}else n=e;if(n&&n.length&&(this.selected=n,o.removeClass(this.options.hoverClass),this.selected.addClass(this.options.hoverClass),i)){var l=n.position().top,h=s.dropdown.scrollTop(),r=s.dropdown.height();(l>r||0>l)&&s.dropdown.scrollTop(h+l)}},select:function(){if(this.selected){var t=this.selected.data();this.trigger("selectitem.uk.autocomplete",[t,this]),t.value&&this.input.val(t.value).trigger("change"),this.hide()}},show:function(){return this.visible?void 0:(this.visible=!0,this.element.addClass("uk-open"),e&&e!==this&&e.hide(),e=this,this.dropdown.attr("aria-expanded","true"),this)},hide:function(){return this.visible?(this.visible=!1,this.element.removeClass("uk-open"),e===this&&(e=!1),this.dropdown.attr("aria-expanded","false"),this):void 0},request:function(){var e=this,i=function(t){t&&e.render(t),e.element.removeClass(e.options.loadingClass)};if(this.element.addClass(this.options.loadingClass),this.options.source){var s=this.options.source;switch(typeof this.options.source){case"function":this.options.source.apply(this,[i]);break;case"object":if(s.length){var o=[];s.forEach(function(t){t.value&&-1!=t.value.toLowerCase().indexOf(e.value.toLowerCase())&&o.push(t)}),i(o)}break;case"string":var n={};n[this.options.param]=this.value,t.$.ajax({url:this.options.source,data:n,type:this.options.method,dataType:"json"}).done(function(t){i(t||[])});break;default:i(null)}}else this.element.removeClass(e.options.loadingClass)},render:function(t){return this.dropdown.empty(),this.selected=!1,this.options.renderer?this.options.renderer.apply(this,[t]):t&&t.length&&(this.dropdown.append(this.template({items:t})),this.show(),this.trigger("show.uk.autocomplete")),this}}),t.autocomplete}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/datepicker.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/datepicker.js deleted file mode 100644 index 6a260e1e5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/datepicker.js +++ /dev/null @@ -1,3168 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-datepicker", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - // Datepicker - - var active = false, dropdown, moment; - - UI.component('datepicker', { - - defaults: { - mobile: false, - weekstart: 1, - i18n: { - months : ['January','February','March','April','May','June','July','August','September','October','November','December'], - weekdays : ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] - }, - format: "DD.MM.YYYY", - offsettop: 5, - maxDate: false, - minDate: false, - pos: 'auto', - template: function(data, opts) { - - var content = '', maxDate, minDate, i; - - if (opts.maxDate!==false){ - maxDate = isNaN(opts.maxDate) ? moment(opts.maxDate, opts.format) : moment().add(opts.maxDate, 'days'); - } - - if (opts.minDate!==false){ - minDate = isNaN(opts.minDate) ? moment(opts.minDate, opts.format) : moment().add(opts.minDate-1, 'days'); - } - - content += '<div class="uk-datepicker-nav">'; - content += '<a href="" class="uk-datepicker-previous"></a>'; - content += '<a href="" class="uk-datepicker-next"></a>'; - - if (UI.formSelect) { - - var currentyear = (new Date()).getFullYear(), options = [], months, years, minYear, maxYear; - - for (i=0;i<opts.i18n.months.length;i++) { - if(i==data.month) { - options.push('<option value="'+i+'" selected>'+opts.i18n.months[i]+'</option>'); - } else { - options.push('<option value="'+i+'">'+opts.i18n.months[i]+'</option>'); - } - } - - months = '<span class="uk-form-select">'+ opts.i18n.months[data.month] + '<select class="update-picker-month">'+options.join('')+'</select></span>'; - - // -- - - options = []; - - minYear = minDate ? minDate.year() : currentyear - 50; - maxYear = maxDate ? maxDate.year() : currentyear + 20; - - for (i=minYear;i<=maxYear;i++) { - if (i == data.year) { - options.push('<option value="'+i+'" selected>'+i+'</option>'); - } else { - options.push('<option value="'+i+'">'+i+'</option>'); - } - } - - years = '<span class="uk-form-select">'+ data.year + '<select class="update-picker-year">'+options.join('')+'</select></span>'; - - content += '<div class="uk-datepicker-heading">'+ months + ' ' + years +'</div>'; - - } else { - content += '<div class="uk-datepicker-heading">'+ opts.i18n.months[data.month] +' '+ data.year+'</div>'; - } - - content += '</div>'; - - content += '<table class="uk-datepicker-table">'; - content += '<thead>'; - for(i = 0; i < data.weekdays.length; i++) { - if (data.weekdays[i]) { - content += '<th>'+data.weekdays[i]+'</th>'; - } - } - content += '</thead>'; - - content += '<tbody>'; - for(i = 0; i < data.days.length; i++) { - if (data.days[i] && data.days[i].length){ - content += '<tr>'; - for(var d = 0; d < data.days[i].length; d++) { - if (data.days[i][d]) { - var day = data.days[i][d], - cls = []; - - if(!day.inmonth) cls.push("uk-datepicker-table-muted"); - if(day.selected) cls.push("uk-active"); - - if (maxDate && day.day > maxDate) cls.push('uk-datepicker-date-disabled uk-datepicker-table-muted'); - if (minDate && minDate > day.day) cls.push('uk-datepicker-date-disabled uk-datepicker-table-muted'); - - content += '<td><a href="" class="'+cls.join(" ")+'" data-date="'+day.day.format()+'">'+day.day.format("D")+'</a></td>'; - } - } - content += '</tr>'; - } - } - content += '</tbody>'; - - content += '</table>'; - - return content; - } - }, - - boot: function() { - - UI.$win.on("resize orientationchange", function() { - - if (active) { - active.hide(); - } - }); - - // init code - UI.$html.on("focus.datepicker.uikit", "[data-uk-datepicker]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("datepicker")) { - e.preventDefault(); - var obj = UI.datepicker(ele, UI.Utils.options(ele.attr("data-uk-datepicker"))); - ele.trigger("focus"); - } - }); - - UI.$html.on("click.datepicker.uikit", function(e) { - - var target = UI.$(e.target); - - if (active && target[0] != dropdown[0] && !target.data("datepicker") && !target.parents(".uk-datepicker:first").length) { - active.hide(); - } - }); - }, - - init: function() { - - // use native datepicker on touch devices - if (UI.support.touch && this.element.attr('type')=='date' && !this.options.mobile) { - return; - } - - var $this = this; - - this.current = this.element.val() ? moment(this.element.val(), this.options.format) : moment(); - - this.on("click focus", function(){ - if (active!==$this) $this.pick(this.value ? this.value:($this.options.minDate ? $this.options.minDate :'')); - }).on("change", function(){ - - if ($this.element.val() && !moment($this.element.val(), $this.options.format).isValid()) { - $this.element.val(moment().format($this.options.format)); - } - }); - - // init dropdown - if (!dropdown) { - - dropdown = UI.$('<div class="uk-dropdown uk-datepicker"></div>'); - - dropdown.on("click", ".uk-datepicker-next, .uk-datepicker-previous, [data-date]", function(e){ - - e.stopPropagation(); - e.preventDefault(); - - var ele = UI.$(this); - - if (ele.hasClass('uk-datepicker-date-disabled')) return false; - - if (ele.is('[data-date]')) { - active.element.val(moment(ele.data("date")).format(active.options.format)).trigger("change"); - dropdown.hide(); - active = false; - } else { - active.add(1 * (ele.hasClass("uk-datepicker-next") ? 1:-1), "months"); - } - }); - - dropdown.on('change', '.update-picker-month, .update-picker-year', function(){ - - var select = UI.$(this); - active[select.is('.update-picker-year') ? 'setYear':'setMonth'](Number(select.val())); - }); - - dropdown.appendTo("body"); - } - }, - - pick: function(initdate) { - - var offset = this.element.offset(), - css = {"left": offset.left, "right":""}; - - this.current = initdate ? moment(initdate, this.options.format):moment(); - this.initdate = this.current.format("YYYY-MM-DD"); - - this.update(); - - if (UI.langdirection == 'right') { - css.right = window.innerWidth - (css.left + this.element.outerWidth()); - css.left = ""; - } - - var posTop = (offset.top - this.element.outerHeight() + this.element.height()) - this.options.offsettop - dropdown.outerHeight(), - posBottom = offset.top + this.element.outerHeight() + this.options.offsettop; - - css.top = posBottom; - - if (this.options.pos == 'top') { - css.top = posTop; - } else if(this.options.pos == 'auto' && (window.innerHeight - posBottom - dropdown.outerHeight() < 0 && posTop >= 0) ) { - css.top = posTop; - } - - dropdown.css(css).show(); - this.trigger('show.uk.datepicker'); - - active = this; - }, - - add: function(unit, value) { - this.current.add(unit, value); - this.update(); - }, - - setMonth: function(month) { - this.current.month(month); - this.update(); - }, - - setYear: function(year) { - this.current.year(year); - this.update(); - }, - - update: function() { - - var data = this.getRows(this.current.year(), this.current.month()), - tpl = this.options.template(data, this.options); - - dropdown.html(tpl); - - this.trigger('update.uk.datepicker'); - }, - - getRows: function(year, month) { - - var opts = this.options, - now = moment().format('YYYY-MM-DD'), - days = [31, (year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month], - before = new Date(year, month, 1).getDay(), - data = {"month":month, "year":year,"weekdays":[],"days":[]}, - row = []; - - data.weekdays = (function(){ - - for (var i=0, arr=[]; i < 7; i++) { - - var day = i + (opts.weekstart || 0); - - while (day >= 7) { - day -= 7; - } - - arr.push(opts.i18n.weekdays[day]); - } - - return arr; - })(); - - if (opts.weekstart && opts.weekstart > 0) { - before -= opts.weekstart; - if (before < 0) { - before += 7; - } - } - - var cells = days + before, after = cells; - - while(after > 7) { after -= 7; } - - cells += 7 - after; - - var day, isDisabled, isSelected, isToday, isInMonth; - - for (var i = 0, r = 0; i < cells; i++) { - - day = new Date(year, month, 1 + (i - before)); - isDisabled = (opts.mindate && day < opts.mindate) || (opts.maxdate && day > opts.maxdate); - isInMonth = !(i < before || i >= (days + before)); - - day = moment(day); - - isSelected = this.initdate == day.format("YYYY-MM-DD"); - isToday = now == day.format("YYYY-MM-DD"); - - row.push({"selected": isSelected, "today": isToday, "disabled": isDisabled, "day":day, "inmonth":isInMonth}); - - if (++r === 7) { - data.days.push(row); - row = []; - r = 0; - } - } - - return data; - }, - - hide: function() { - - if (active && active === this) { - dropdown.hide(); - active = false; - - this.trigger('hide.uk.datepicker'); - } - } - }); - - //! moment.js - //! version : 2.8.3 - //! authors : Tim Wood, Iskren Chernev, Moment.js contributors - //! license : MIT - //! momentjs.com - - moment = (function (undefined) { - /************************************ - Constants - ************************************/ - var moment, - VERSION = '2.8.3', - // the global-scope this is NOT the global object in Node.js - globalScope = typeof global !== 'undefined' ? global : this, - oldGlobalMoment, - round = Math.round, - hasOwnProperty = Object.prototype.hasOwnProperty, - i, - - YEAR = 0, - MONTH = 1, - DATE = 2, - HOUR = 3, - MINUTE = 4, - SECOND = 5, - MILLISECOND = 6, - - // internal storage for locale config files - locales = {}, - - // extra moment internal properties (plugins register props here) - momentProperties = [], - - // check for nodeJS - hasModule = (typeof module !== 'undefined' && module.exports), - - // ASP.NET json date format regex - aspNetJsonRegex = /^\/?Date\((\-?\d+)/i, - aspNetTimeSpanJsonRegex = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/, - - // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html - // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere - isoDurationRegex = /^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/, - - // format tokens - formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g, - localFormattingTokens = /(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g, - - // parsing token regexes - parseTokenOneOrTwoDigits = /\d\d?/, // 0 - 99 - parseTokenOneToThreeDigits = /\d{1,3}/, // 0 - 999 - parseTokenOneToFourDigits = /\d{1,4}/, // 0 - 9999 - parseTokenOneToSixDigits = /[+\-]?\d{1,6}/, // -999,999 - 999,999 - parseTokenDigits = /\d+/, // nonzero number of digits - parseTokenWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, // any word (or two) characters or numbers including two/three word month in arabic. - parseTokenTimezone = /Z|[\+\-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z - parseTokenT = /T/i, // T (ISO separator) - parseTokenTimestampMs = /[\+\-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 - parseTokenOrdinal = /\d{1,2}/, - - //strict parsing regexes - parseTokenOneDigit = /\d/, // 0 - 9 - parseTokenTwoDigits = /\d\d/, // 00 - 99 - parseTokenThreeDigits = /\d{3}/, // 000 - 999 - parseTokenFourDigits = /\d{4}/, // 0000 - 9999 - parseTokenSixDigits = /[+-]?\d{6}/, // -999,999 - 999,999 - parseTokenSignedNumber = /[+-]?\d+/, // -inf - inf - - // iso 8601 regex - // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) - isoRegex = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, - - isoFormat = 'YYYY-MM-DDTHH:mm:ssZ', - - isoDates = [ - ['YYYYYY-MM-DD', /[+-]\d{6}-\d{2}-\d{2}/], - ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/], - ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/], - ['GGGG-[W]WW', /\d{4}-W\d{2}/], - ['YYYY-DDD', /\d{4}-\d{3}/] - ], - - // iso time formats and regexes - isoTimes = [ - ['HH:mm:ss.SSSS', /(T| )\d\d:\d\d:\d\d\.\d+/], - ['HH:mm:ss', /(T| )\d\d:\d\d:\d\d/], - ['HH:mm', /(T| )\d\d:\d\d/], - ['HH', /(T| )\d\d/] - ], - - // timezone chunker '+10:00' > ['10', '00'] or '-1530' > ['-15', '30'] - parseTimezoneChunker = /([\+\-]|\d\d)/gi, - - // getter and setter names - proxyGettersAndSetters = 'Date|Hours|Minutes|Seconds|Milliseconds'.split('|'), - unitMillisecondFactors = { - 'Milliseconds' : 1, - 'Seconds' : 1e3, - 'Minutes' : 6e4, - 'Hours' : 36e5, - 'Days' : 864e5, - 'Months' : 2592e6, - 'Years' : 31536e6 - }, - - unitAliases = { - ms : 'millisecond', - s : 'second', - m : 'minute', - h : 'hour', - d : 'day', - D : 'date', - w : 'week', - W : 'isoWeek', - M : 'month', - Q : 'quarter', - y : 'year', - DDD : 'dayOfYear', - e : 'weekday', - E : 'isoWeekday', - gg: 'weekYear', - GG: 'isoWeekYear' - }, - - camelFunctions = { - dayofyear : 'dayOfYear', - isoweekday : 'isoWeekday', - isoweek : 'isoWeek', - weekyear : 'weekYear', - isoweekyear : 'isoWeekYear' - }, - - // format function strings - formatFunctions = {}, - - // default relative time thresholds - relativeTimeThresholds = { - s: 45, // seconds to minute - m: 45, // minutes to hour - h: 22, // hours to day - d: 26, // days to month - M: 11 // months to year - }, - - // tokens to ordinalize and pad - ordinalizeTokens = 'DDD w W M D d'.split(' '), - paddedTokens = 'M D H h m s w W'.split(' '), - - formatTokenFunctions = { - M : function () { - return this.month() + 1; - }, - MMM : function (format) { - return this.localeData().monthsShort(this, format); - }, - MMMM : function (format) { - return this.localeData().months(this, format); - }, - D : function () { - return this.date(); - }, - DDD : function () { - return this.dayOfYear(); - }, - d : function () { - return this.day(); - }, - dd : function (format) { - return this.localeData().weekdaysMin(this, format); - }, - ddd : function (format) { - return this.localeData().weekdaysShort(this, format); - }, - dddd : function (format) { - return this.localeData().weekdays(this, format); - }, - w : function () { - return this.week(); - }, - W : function () { - return this.isoWeek(); - }, - YY : function () { - return leftZeroFill(this.year() % 100, 2); - }, - YYYY : function () { - return leftZeroFill(this.year(), 4); - }, - YYYYY : function () { - return leftZeroFill(this.year(), 5); - }, - YYYYYY : function () { - var y = this.year(), sign = y >= 0 ? '+' : '-'; - return sign + leftZeroFill(Math.abs(y), 6); - }, - gg : function () { - return leftZeroFill(this.weekYear() % 100, 2); - }, - gggg : function () { - return leftZeroFill(this.weekYear(), 4); - }, - ggggg : function () { - return leftZeroFill(this.weekYear(), 5); - }, - GG : function () { - return leftZeroFill(this.isoWeekYear() % 100, 2); - }, - GGGG : function () { - return leftZeroFill(this.isoWeekYear(), 4); - }, - GGGGG : function () { - return leftZeroFill(this.isoWeekYear(), 5); - }, - e : function () { - return this.weekday(); - }, - E : function () { - return this.isoWeekday(); - }, - a : function () { - return this.localeData().meridiem(this.hours(), this.minutes(), true); - }, - A : function () { - return this.localeData().meridiem(this.hours(), this.minutes(), false); - }, - H : function () { - return this.hours(); - }, - h : function () { - return this.hours() % 12 || 12; - }, - m : function () { - return this.minutes(); - }, - s : function () { - return this.seconds(); - }, - S : function () { - return toInt(this.milliseconds() / 100); - }, - SS : function () { - return leftZeroFill(toInt(this.milliseconds() / 10), 2); - }, - SSS : function () { - return leftZeroFill(this.milliseconds(), 3); - }, - SSSS : function () { - return leftZeroFill(this.milliseconds(), 3); - }, - Z : function () { - var a = -this.zone(), - b = '+'; - if (a < 0) { - a = -a; - b = '-'; - } - return b + leftZeroFill(toInt(a / 60), 2) + ':' + leftZeroFill(toInt(a) % 60, 2); - }, - ZZ : function () { - var a = -this.zone(), - b = '+'; - if (a < 0) { - a = -a; - b = '-'; - } - return b + leftZeroFill(toInt(a / 60), 2) + leftZeroFill(toInt(a) % 60, 2); - }, - z : function () { - return this.zoneAbbr(); - }, - zz : function () { - return this.zoneName(); - }, - X : function () { - return this.unix(); - }, - Q : function () { - return this.quarter(); - } - }, - - deprecations = {}, - - lists = ['months', 'monthsShort', 'weekdays', 'weekdaysShort', 'weekdaysMin']; - - // Pick the first defined of two or three arguments. dfl comes from - // default. - function dfl(a, b, c) { - switch (arguments.length) { - case 2: return a != null ? a : b; - case 3: return a != null ? a : b != null ? b : c; - default: throw new Error('Implement me'); - } - } - - function hasOwnProp(a, b) { - return hasOwnProperty.call(a, b); - } - - function defaultParsingFlags() { - // We need to deep clone this object, and es5 standard is not very - // helpful. - return { - empty : false, - unusedTokens : [], - unusedInput : [], - overflow : -2, - charsLeftOver : 0, - nullInput : false, - invalidMonth : null, - invalidFormat : false, - userInvalidated : false, - iso: false - }; - } - - function printMsg(msg) { - if (moment.suppressDeprecationWarnings === false && - typeof console !== 'undefined' && console.warn) { - console.warn('Deprecation warning: ' + msg); - } - } - - function deprecate(msg, fn) { - var firstTime = true; - return extend(function () { - if (firstTime) { - printMsg(msg); - firstTime = false; - } - return fn.apply(this, arguments); - }, fn); - } - - function deprecateSimple(name, msg) { - if (!deprecations[name]) { - printMsg(msg); - deprecations[name] = true; - } - } - - function padToken(func, count) { - return function (a) { - return leftZeroFill(func.call(this, a), count); - }; - } - function ordinalizeToken(func, period) { - return function (a) { - return this.localeData().ordinal(func.call(this, a), period); - }; - } - - while (ordinalizeTokens.length) { - i = ordinalizeTokens.pop(); - formatTokenFunctions[i + 'o'] = ordinalizeToken(formatTokenFunctions[i], i); - } - while (paddedTokens.length) { - i = paddedTokens.pop(); - formatTokenFunctions[i + i] = padToken(formatTokenFunctions[i], 2); - } - formatTokenFunctions.DDDD = padToken(formatTokenFunctions.DDD, 3); - - - /************************************ - Constructors - ************************************/ - - function Locale() { - } - - // Moment prototype object - function Moment(config, skipOverflow) { - if (skipOverflow !== false) { - checkOverflow(config); - } - copyConfig(this, config); - this._d = new Date(+config._d); - } - - // Duration Constructor - function Duration(duration) { - var normalizedInput = normalizeObjectUnits(duration), - years = normalizedInput.year || 0, - quarters = normalizedInput.quarter || 0, - months = normalizedInput.month || 0, - weeks = normalizedInput.week || 0, - days = normalizedInput.day || 0, - hours = normalizedInput.hour || 0, - minutes = normalizedInput.minute || 0, - seconds = normalizedInput.second || 0, - milliseconds = normalizedInput.millisecond || 0; - - // representation for dateAddRemove - this._milliseconds = +milliseconds + - seconds * 1e3 + // 1000 - minutes * 6e4 + // 1000 * 60 - hours * 36e5; // 1000 * 60 * 60 - // Because of dateAddRemove treats 24 hours as different from a - // day when working around DST, we need to store them separately - this._days = +days + - weeks * 7; - // It is impossible translate months into days without knowing - // which months you are are talking about, so we have to store - // it separately. - this._months = +months + - quarters * 3 + - years * 12; - - this._data = {}; - - this._locale = moment.localeData(); - - this._bubble(); - } - - /************************************ - Helpers - ************************************/ - - - function extend(a, b) { - for (var i in b) { - if (hasOwnProp(b, i)) { - a[i] = b[i]; - } - } - - if (hasOwnProp(b, 'toString')) { - a.toString = b.toString; - } - - if (hasOwnProp(b, 'valueOf')) { - a.valueOf = b.valueOf; - } - - return a; - } - - function copyConfig(to, from) { - var i, prop, val; - - if (typeof from._isAMomentObject !== 'undefined') { - to._isAMomentObject = from._isAMomentObject; - } - if (typeof from._i !== 'undefined') { - to._i = from._i; - } - if (typeof from._f !== 'undefined') { - to._f = from._f; - } - if (typeof from._l !== 'undefined') { - to._l = from._l; - } - if (typeof from._strict !== 'undefined') { - to._strict = from._strict; - } - if (typeof from._tzm !== 'undefined') { - to._tzm = from._tzm; - } - if (typeof from._isUTC !== 'undefined') { - to._isUTC = from._isUTC; - } - if (typeof from._offset !== 'undefined') { - to._offset = from._offset; - } - if (typeof from._pf !== 'undefined') { - to._pf = from._pf; - } - if (typeof from._locale !== 'undefined') { - to._locale = from._locale; - } - - if (momentProperties.length > 0) { - for (i in momentProperties) { - prop = momentProperties[i]; - val = from[prop]; - if (typeof val !== 'undefined') { - to[prop] = val; - } - } - } - - return to; - } - - function absRound(number) { - if (number < 0) { - return Math.ceil(number); - } else { - return Math.floor(number); - } - } - - // left zero fill a number - // see http://jsperf.com/left-zero-filling for performance comparison - function leftZeroFill(number, targetLength, forceSign) { - var output = '' + Math.abs(number), - sign = number >= 0; - - while (output.length < targetLength) { - output = '0' + output; - } - return (sign ? (forceSign ? '+' : '') : '-') + output; - } - - function positiveMomentsDifference(base, other) { - var res = {milliseconds: 0, months: 0}; - - res.months = other.month() - base.month() + - (other.year() - base.year()) * 12; - if (base.clone().add(res.months, 'M').isAfter(other)) { - --res.months; - } - - res.milliseconds = +other - +(base.clone().add(res.months, 'M')); - - return res; - } - - function momentsDifference(base, other) { - var res; - other = makeAs(other, base); - if (base.isBefore(other)) { - res = positiveMomentsDifference(base, other); - } else { - res = positiveMomentsDifference(other, base); - res.milliseconds = -res.milliseconds; - res.months = -res.months; - } - - return res; - } - - // TODO: remove 'name' arg after deprecation is removed - function createAdder(direction, name) { - return function (val, period) { - var dur, tmp; - //invert the arguments, but complain about it - if (period !== null && !isNaN(+period)) { - deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period).'); - tmp = val; val = period; period = tmp; - } - - val = typeof val === 'string' ? +val : val; - dur = moment.duration(val, period); - addOrSubtractDurationFromMoment(this, dur, direction); - return this; - }; - } - - function addOrSubtractDurationFromMoment(mom, duration, isAdding, updateOffset) { - var milliseconds = duration._milliseconds, - days = duration._days, - months = duration._months; - updateOffset = updateOffset == null ? true : updateOffset; - - if (milliseconds) { - mom._d.setTime(+mom._d + milliseconds * isAdding); - } - if (days) { - rawSetter(mom, 'Date', rawGetter(mom, 'Date') + days * isAdding); - } - if (months) { - rawMonthSetter(mom, rawGetter(mom, 'Month') + months * isAdding); - } - if (updateOffset) { - moment.updateOffset(mom, days || months); - } - } - - // check if is an array - function isArray(input) { - return Object.prototype.toString.call(input) === '[object Array]'; - } - - function isDate(input) { - return Object.prototype.toString.call(input) === '[object Date]' || - input instanceof Date; - } - - // compare two arrays, return the number of differences - function compareArrays(array1, array2, dontConvert) { - var len = Math.min(array1.length, array2.length), - lengthDiff = Math.abs(array1.length - array2.length), - diffs = 0, - i; - for (i = 0; i < len; i++) { - if ((dontConvert && array1[i] !== array2[i]) || - (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { - diffs++; - } - } - return diffs + lengthDiff; - } - - function normalizeUnits(units) { - if (units) { - var lowered = units.toLowerCase().replace(/(.)s$/, '$1'); - units = unitAliases[units] || camelFunctions[lowered] || lowered; - } - return units; - } - - function normalizeObjectUnits(inputObject) { - var normalizedInput = {}, - normalizedProp, - prop; - - for (prop in inputObject) { - if (hasOwnProp(inputObject, prop)) { - normalizedProp = normalizeUnits(prop); - if (normalizedProp) { - normalizedInput[normalizedProp] = inputObject[prop]; - } - } - } - - return normalizedInput; - } - - function makeList(field) { - var count, setter; - - if (field.indexOf('week') === 0) { - count = 7; - setter = 'day'; - } - else if (field.indexOf('month') === 0) { - count = 12; - setter = 'month'; - } - else { - return; - } - - moment[field] = function (format, index) { - var i, getter, - method = moment._locale[field], - results = []; - - if (typeof format === 'number') { - index = format; - format = undefined; - } - - getter = function (i) { - var m = moment().utc().set(setter, i); - return method.call(moment._locale, m, format || ''); - }; - - if (index != null) { - return getter(index); - } - else { - for (i = 0; i < count; i++) { - results.push(getter(i)); - } - return results; - } - }; - } - - function toInt(argumentForCoercion) { - var coercedNumber = +argumentForCoercion, - value = 0; - - if (coercedNumber !== 0 && isFinite(coercedNumber)) { - if (coercedNumber >= 0) { - value = Math.floor(coercedNumber); - } else { - value = Math.ceil(coercedNumber); - } - } - - return value; - } - - function daysInMonth(year, month) { - return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); - } - - function weeksInYear(year, dow, doy) { - return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week; - } - - function daysInYear(year) { - return isLeapYear(year) ? 366 : 365; - } - - function isLeapYear(year) { - return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; - } - - function checkOverflow(m) { - var overflow; - if (m._a && m._pf.overflow === -2) { - overflow = - m._a[MONTH] < 0 || m._a[MONTH] > 11 ? MONTH : - m._a[DATE] < 1 || m._a[DATE] > daysInMonth(m._a[YEAR], m._a[MONTH]) ? DATE : - m._a[HOUR] < 0 || m._a[HOUR] > 23 ? HOUR : - m._a[MINUTE] < 0 || m._a[MINUTE] > 59 ? MINUTE : - m._a[SECOND] < 0 || m._a[SECOND] > 59 ? SECOND : - m._a[MILLISECOND] < 0 || m._a[MILLISECOND] > 999 ? MILLISECOND : - -1; - - if (m._pf._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { - overflow = DATE; - } - - m._pf.overflow = overflow; - } - } - - function isValid(m) { - if (m._isValid == null) { - m._isValid = !isNaN(m._d.getTime()) && - m._pf.overflow < 0 && - !m._pf.empty && - !m._pf.invalidMonth && - !m._pf.nullInput && - !m._pf.invalidFormat && - !m._pf.userInvalidated; - - if (m._strict) { - m._isValid = m._isValid && - m._pf.charsLeftOver === 0 && - m._pf.unusedTokens.length === 0; - } - } - return m._isValid; - } - - function normalizeLocale(key) { - return key ? key.toLowerCase().replace('_', '-') : key; - } - - // pick the locale from the array - // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each - // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root - function chooseLocale(names) { - var i = 0, j, next, locale, split; - - while (i < names.length) { - split = normalizeLocale(names[i]).split('-'); - j = split.length; - next = normalizeLocale(names[i + 1]); - next = next ? next.split('-') : null; - while (j > 0) { - locale = loadLocale(split.slice(0, j).join('-')); - if (locale) { - return locale; - } - if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { - //the next array item is better than a shallower substring of this one - break; - } - j--; - } - i++; - } - return null; - } - - function loadLocale(name) { - var oldLocale = null; - if (!locales[name] && hasModule) { - try { - oldLocale = moment.locale(); - require('./locale/' + name); - // because defineLocale currently also sets the global locale, we want to undo that for lazy loaded locales - moment.locale(oldLocale); - } catch (e) { } - } - return locales[name]; - } - - // Return a moment from input, that is local/utc/zone equivalent to model. - function makeAs(input, model) { - return model._isUTC ? moment(input).zone(model._offset || 0) : - moment(input).local(); - } - - /************************************ - Locale - ************************************/ - - - extend(Locale.prototype, { - - set : function (config) { - var prop, i; - for (i in config) { - prop = config[i]; - if (typeof prop === 'function') { - this[i] = prop; - } else { - this['_' + i] = prop; - } - } - }, - - _months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - months : function (m) { - return this._months[m.month()]; - }, - - _monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - monthsShort : function (m) { - return this._monthsShort[m.month()]; - }, - - monthsParse : function (monthName) { - var i, mom, regex; - - if (!this._monthsParse) { - this._monthsParse = []; - } - - for (i = 0; i < 12; i++) { - // make the regex if we don't have it already - if (!this._monthsParse[i]) { - mom = moment.utc([2000, i]); - regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); - this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (this._monthsParse[i].test(monthName)) { - return i; - } - } - }, - - _weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdays : function (m) { - return this._weekdays[m.day()]; - }, - - _weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysShort : function (m) { - return this._weekdaysShort[m.day()]; - }, - - _weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - weekdaysMin : function (m) { - return this._weekdaysMin[m.day()]; - }, - - weekdaysParse : function (weekdayName) { - var i, mom, regex; - - if (!this._weekdaysParse) { - this._weekdaysParse = []; - } - - for (i = 0; i < 7; i++) { - // make the regex if we don't have it already - if (!this._weekdaysParse[i]) { - mom = moment([2000, 1]).day(i); - regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); - this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (this._weekdaysParse[i].test(weekdayName)) { - return i; - } - } - }, - - _longDateFormat : { - LT : 'h:mm A', - L : 'MM/DD/YYYY', - LL : 'MMMM D, YYYY', - LLL : 'MMMM D, YYYY LT', - LLLL : 'dddd, MMMM D, YYYY LT' - }, - longDateFormat : function (key) { - var output = this._longDateFormat[key]; - if (!output && this._longDateFormat[key.toUpperCase()]) { - output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) { - return val.slice(1); - }); - this._longDateFormat[key] = output; - } - return output; - }, - - isPM : function (input) { - // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays - // Using charAt should be more compatible. - return ((input + '').toLowerCase().charAt(0) === 'p'); - }, - - _meridiemParse : /[ap]\.?m?\.?/i, - meridiem : function (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'pm' : 'PM'; - } else { - return isLower ? 'am' : 'AM'; - } - }, - - _calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - calendar : function (key, mom) { - var output = this._calendar[key]; - return typeof output === 'function' ? output.apply(mom) : output; - }, - - _relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - - relativeTime : function (number, withoutSuffix, string, isFuture) { - var output = this._relativeTime[string]; - return (typeof output === 'function') ? - output(number, withoutSuffix, string, isFuture) : - output.replace(/%d/i, number); - }, - - pastFuture : function (diff, output) { - var format = this._relativeTime[diff > 0 ? 'future' : 'past']; - return typeof format === 'function' ? format(output) : format.replace(/%s/i, output); - }, - - ordinal : function (number) { - return this._ordinal.replace('%d', number); - }, - _ordinal : '%d', - - preparse : function (string) { - return string; - }, - - postformat : function (string) { - return string; - }, - - week : function (mom) { - return weekOfYear(mom, this._week.dow, this._week.doy).week; - }, - - _week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. - }, - - _invalidDate: 'Invalid date', - invalidDate: function () { - return this._invalidDate; - } - }); - - /************************************ - Formatting - ************************************/ - - - function removeFormattingTokens(input) { - if (input.match(/\[[\s\S]/)) { - return input.replace(/^\[|\]$/g, ''); - } - return input.replace(/\\/g, ''); - } - - function makeFormatFunction(format) { - var array = format.match(formattingTokens), i, length; - - for (i = 0, length = array.length; i < length; i++) { - if (formatTokenFunctions[array[i]]) { - array[i] = formatTokenFunctions[array[i]]; - } else { - array[i] = removeFormattingTokens(array[i]); - } - } - - return function (mom) { - var output = ''; - for (i = 0; i < length; i++) { - output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; - } - return output; - }; - } - - // format date using native date object - function formatMoment(m, format) { - if (!m.isValid()) { - return m.localeData().invalidDate(); - } - - format = expandFormat(format, m.localeData()); - - if (!formatFunctions[format]) { - formatFunctions[format] = makeFormatFunction(format); - } - - return formatFunctions[format](m); - } - - function expandFormat(format, locale) { - var i = 5; - - function replaceLongDateFormatTokens(input) { - return locale.longDateFormat(input) || input; - } - - localFormattingTokens.lastIndex = 0; - while (i >= 0 && localFormattingTokens.test(format)) { - format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); - localFormattingTokens.lastIndex = 0; - i -= 1; - } - - return format; - } - - - /************************************ - Parsing - ************************************/ - - - // get the regex to find the next token - function getParseRegexForToken(token, config) { - var a, strict = config._strict; - switch (token) { - case 'Q': - return parseTokenOneDigit; - case 'DDDD': - return parseTokenThreeDigits; - case 'YYYY': - case 'GGGG': - case 'gggg': - return strict ? parseTokenFourDigits : parseTokenOneToFourDigits; - case 'Y': - case 'G': - case 'g': - return parseTokenSignedNumber; - case 'YYYYYY': - case 'YYYYY': - case 'GGGGG': - case 'ggggg': - return strict ? parseTokenSixDigits : parseTokenOneToSixDigits; - case 'S': - if (strict) { - return parseTokenOneDigit; - } - /* falls through */ - case 'SS': - if (strict) { - return parseTokenTwoDigits; - } - /* falls through */ - case 'SSS': - if (strict) { - return parseTokenThreeDigits; - } - /* falls through */ - case 'DDD': - return parseTokenOneToThreeDigits; - case 'MMM': - case 'MMMM': - case 'dd': - case 'ddd': - case 'dddd': - return parseTokenWord; - case 'a': - case 'A': - return config._locale._meridiemParse; - case 'X': - return parseTokenTimestampMs; - case 'Z': - case 'ZZ': - return parseTokenTimezone; - case 'T': - return parseTokenT; - case 'SSSS': - return parseTokenDigits; - case 'MM': - case 'DD': - case 'YY': - case 'GG': - case 'gg': - case 'HH': - case 'hh': - case 'mm': - case 'ss': - case 'ww': - case 'WW': - return strict ? parseTokenTwoDigits : parseTokenOneOrTwoDigits; - case 'M': - case 'D': - case 'd': - case 'H': - case 'h': - case 'm': - case 's': - case 'w': - case 'W': - case 'e': - case 'E': - return parseTokenOneOrTwoDigits; - case 'Do': - return parseTokenOrdinal; - default : - a = new RegExp(regexpEscape(unescapeFormat(token.replace('\\', '')), 'i')); - return a; - } - } - - function timezoneMinutesFromString(string) { - string = string || ''; - var possibleTzMatches = (string.match(parseTokenTimezone) || []), - tzChunk = possibleTzMatches[possibleTzMatches.length - 1] || [], - parts = (tzChunk + '').match(parseTimezoneChunker) || ['-', 0, 0], - minutes = +(parts[1] * 60) + toInt(parts[2]); - - return parts[0] === '+' ? -minutes : minutes; - } - - // function to convert string input to date - function addTimeToArrayFromToken(token, input, config) { - var a, datePartArray = config._a; - - switch (token) { - // QUARTER - case 'Q': - if (input != null) { - datePartArray[MONTH] = (toInt(input) - 1) * 3; - } - break; - // MONTH - case 'M' : // fall through to MM - case 'MM' : - if (input != null) { - datePartArray[MONTH] = toInt(input) - 1; - } - break; - case 'MMM' : // fall through to MMMM - case 'MMMM' : - a = config._locale.monthsParse(input); - // if we didn't find a month name, mark the date as invalid. - if (a != null) { - datePartArray[MONTH] = a; - } else { - config._pf.invalidMonth = input; - } - break; - // DAY OF MONTH - case 'D' : // fall through to DD - case 'DD' : - if (input != null) { - datePartArray[DATE] = toInt(input); - } - break; - case 'Do' : - if (input != null) { - datePartArray[DATE] = toInt(parseInt(input, 10)); - } - break; - // DAY OF YEAR - case 'DDD' : // fall through to DDDD - case 'DDDD' : - if (input != null) { - config._dayOfYear = toInt(input); - } - - break; - // YEAR - case 'YY' : - datePartArray[YEAR] = moment.parseTwoDigitYear(input); - break; - case 'YYYY' : - case 'YYYYY' : - case 'YYYYYY' : - datePartArray[YEAR] = toInt(input); - break; - // AM / PM - case 'a' : // fall through to A - case 'A' : - config._isPm = config._locale.isPM(input); - break; - // 24 HOUR - case 'H' : // fall through to hh - case 'HH' : // fall through to hh - case 'h' : // fall through to hh - case 'hh' : - datePartArray[HOUR] = toInt(input); - break; - // MINUTE - case 'm' : // fall through to mm - case 'mm' : - datePartArray[MINUTE] = toInt(input); - break; - // SECOND - case 's' : // fall through to ss - case 'ss' : - datePartArray[SECOND] = toInt(input); - break; - // MILLISECOND - case 'S' : - case 'SS' : - case 'SSS' : - case 'SSSS' : - datePartArray[MILLISECOND] = toInt(('0.' + input) * 1000); - break; - // UNIX TIMESTAMP WITH MS - case 'X': - config._d = new Date(parseFloat(input) * 1000); - break; - // TIMEZONE - case 'Z' : // fall through to ZZ - case 'ZZ' : - config._useUTC = true; - config._tzm = timezoneMinutesFromString(input); - break; - // WEEKDAY - human - case 'dd': - case 'ddd': - case 'dddd': - a = config._locale.weekdaysParse(input); - // if we didn't get a weekday name, mark the date as invalid - if (a != null) { - config._w = config._w || {}; - config._w['d'] = a; - } else { - config._pf.invalidWeekday = input; - } - break; - // WEEK, WEEK DAY - numeric - case 'w': - case 'ww': - case 'W': - case 'WW': - case 'd': - case 'e': - case 'E': - token = token.substr(0, 1); - /* falls through */ - case 'gggg': - case 'GGGG': - case 'GGGGG': - token = token.substr(0, 2); - if (input) { - config._w = config._w || {}; - config._w[token] = toInt(input); - } - break; - case 'gg': - case 'GG': - config._w = config._w || {}; - config._w[token] = moment.parseTwoDigitYear(input); - } - } - - function dayOfYearFromWeekInfo(config) { - var w, weekYear, week, weekday, dow, doy, temp; - - w = config._w; - if (w.GG != null || w.W != null || w.E != null) { - dow = 1; - doy = 4; - - // TODO: We need to take the current isoWeekYear, but that depends on - // how we interpret now (local, utc, fixed offset). So create - // a now version of current config (take local/utc/offset flags, and - // create now). - weekYear = dfl(w.GG, config._a[YEAR], weekOfYear(moment(), 1, 4).year); - week = dfl(w.W, 1); - weekday = dfl(w.E, 1); - } else { - dow = config._locale._week.dow; - doy = config._locale._week.doy; - - weekYear = dfl(w.gg, config._a[YEAR], weekOfYear(moment(), dow, doy).year); - week = dfl(w.w, 1); - - if (w.d != null) { - // weekday -- low day numbers are considered next week - weekday = w.d; - if (weekday < dow) { - ++week; - } - } else if (w.e != null) { - // local weekday -- counting starts from begining of week - weekday = w.e + dow; - } else { - // default to begining of week - weekday = dow; - } - } - temp = dayOfYearFromWeeks(weekYear, week, weekday, doy, dow); - - config._a[YEAR] = temp.year; - config._dayOfYear = temp.dayOfYear; - } - - // convert an array to a date. - // the array should mirror the parameters below - // note: all values past the year are optional and will default to the lowest possible value. - // [year, month, day , hour, minute, second, millisecond] - function dateFromConfig(config) { - var i, date, input = [], currentDate, yearToUse; - - if (config._d) { - return; - } - - currentDate = currentDateArray(config); - - //compute day of the year from weeks and weekdays - if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { - dayOfYearFromWeekInfo(config); - } - - //if the day of the year is set, figure out what it is - if (config._dayOfYear) { - yearToUse = dfl(config._a[YEAR], currentDate[YEAR]); - - if (config._dayOfYear > daysInYear(yearToUse)) { - config._pf._overflowDayOfYear = true; - } - - date = makeUTCDate(yearToUse, 0, config._dayOfYear); - config._a[MONTH] = date.getUTCMonth(); - config._a[DATE] = date.getUTCDate(); - } - - // Default to current date. - // * if no year, month, day of month are given, default to today - // * if day of month is given, default month and year - // * if month is given, default only year - // * if year is given, don't default anything - for (i = 0; i < 3 && config._a[i] == null; ++i) { - config._a[i] = input[i] = currentDate[i]; - } - - // Zero out whatever was not defaulted, including time - for (; i < 7; i++) { - config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; - } - - config._d = (config._useUTC ? makeUTCDate : makeDate).apply(null, input); - // Apply timezone offset from input. The actual zone can be changed - // with parseZone. - if (config._tzm != null) { - config._d.setUTCMinutes(config._d.getUTCMinutes() + config._tzm); - } - } - - function dateFromObject(config) { - var normalizedInput; - - if (config._d) { - return; - } - - normalizedInput = normalizeObjectUnits(config._i); - config._a = [ - normalizedInput.year, - normalizedInput.month, - normalizedInput.day, - normalizedInput.hour, - normalizedInput.minute, - normalizedInput.second, - normalizedInput.millisecond - ]; - - dateFromConfig(config); - } - - function currentDateArray(config) { - var now = new Date(); - if (config._useUTC) { - return [ - now.getUTCFullYear(), - now.getUTCMonth(), - now.getUTCDate() - ]; - } else { - return [now.getFullYear(), now.getMonth(), now.getDate()]; - } - } - - // date from string and format string - function makeDateFromStringAndFormat(config) { - if (config._f === moment.ISO_8601) { - parseISO(config); - return; - } - - config._a = []; - config._pf.empty = true; - - // This array is used to make a Date, either with `new Date` or `Date.UTC` - var string = '' + config._i, - i, parsedInput, tokens, token, skipped, - stringLength = string.length, - totalParsedInputLength = 0; - - tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; - - for (i = 0; i < tokens.length; i++) { - token = tokens[i]; - parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; - if (parsedInput) { - skipped = string.substr(0, string.indexOf(parsedInput)); - if (skipped.length > 0) { - config._pf.unusedInput.push(skipped); - } - string = string.slice(string.indexOf(parsedInput) + parsedInput.length); - totalParsedInputLength += parsedInput.length; - } - // don't parse if it's not a known token - if (formatTokenFunctions[token]) { - if (parsedInput) { - config._pf.empty = false; - } - else { - config._pf.unusedTokens.push(token); - } - addTimeToArrayFromToken(token, parsedInput, config); - } - else if (config._strict && !parsedInput) { - config._pf.unusedTokens.push(token); - } - } - - // add remaining unparsed input length to the string - config._pf.charsLeftOver = stringLength - totalParsedInputLength; - if (string.length > 0) { - config._pf.unusedInput.push(string); - } - - // handle am pm - if (config._isPm && config._a[HOUR] < 12) { - config._a[HOUR] += 12; - } - // if is 12 am, change hours to 0 - if (config._isPm === false && config._a[HOUR] === 12) { - config._a[HOUR] = 0; - } - - dateFromConfig(config); - checkOverflow(config); - } - - function unescapeFormat(s) { - return s.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { - return p1 || p2 || p3 || p4; - }); - } - - // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript - function regexpEscape(s) { - return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); - } - - // date from string and array of format strings - function makeDateFromStringAndArray(config) { - var tempConfig, - bestMoment, - - scoreToBeat, - i, - currentScore; - - if (config._f.length === 0) { - config._pf.invalidFormat = true; - config._d = new Date(NaN); - return; - } - - for (i = 0; i < config._f.length; i++) { - currentScore = 0; - tempConfig = copyConfig({}, config); - if (config._useUTC != null) { - tempConfig._useUTC = config._useUTC; - } - tempConfig._pf = defaultParsingFlags(); - tempConfig._f = config._f[i]; - makeDateFromStringAndFormat(tempConfig); - - if (!isValid(tempConfig)) { - continue; - } - - // if there is any input that was not parsed add a penalty for that format - currentScore += tempConfig._pf.charsLeftOver; - - //or tokens - currentScore += tempConfig._pf.unusedTokens.length * 10; - - tempConfig._pf.score = currentScore; - - if (scoreToBeat == null || currentScore < scoreToBeat) { - scoreToBeat = currentScore; - bestMoment = tempConfig; - } - } - - extend(config, bestMoment || tempConfig); - } - - // date from iso format - function parseISO(config) { - var i, l, - string = config._i, - match = isoRegex.exec(string); - - if (match) { - config._pf.iso = true; - for (i = 0, l = isoDates.length; i < l; i++) { - if (isoDates[i][1].exec(string)) { - // match[5] should be 'T' or undefined - config._f = isoDates[i][0] + (match[6] || ' '); - break; - } - } - for (i = 0, l = isoTimes.length; i < l; i++) { - if (isoTimes[i][1].exec(string)) { - config._f += isoTimes[i][0]; - break; - } - } - if (string.match(parseTokenTimezone)) { - config._f += 'Z'; - } - makeDateFromStringAndFormat(config); - } else { - config._isValid = false; - } - } - - // date from iso format or fallback - function makeDateFromString(config) { - parseISO(config); - if (config._isValid === false) { - delete config._isValid; - moment.createFromInputFallback(config); - } - } - - function map(arr, fn) { - var res = [], i; - for (i = 0; i < arr.length; ++i) { - res.push(fn(arr[i], i)); - } - return res; - } - - function makeDateFromInput(config) { - var input = config._i, matched; - if (input === undefined) { - config._d = new Date(); - } else if (isDate(input)) { - config._d = new Date(+input); - } else if ((matched = aspNetJsonRegex.exec(input)) !== null) { - config._d = new Date(+matched[1]); - } else if (typeof input === 'string') { - makeDateFromString(config); - } else if (isArray(input)) { - config._a = map(input.slice(0), function (obj) { - return parseInt(obj, 10); - }); - dateFromConfig(config); - } else if (typeof(input) === 'object') { - dateFromObject(config); - } else if (typeof(input) === 'number') { - // from milliseconds - config._d = new Date(input); - } else { - moment.createFromInputFallback(config); - } - } - - function makeDate(y, m, d, h, M, s, ms) { - //can't just apply() to create a date: - //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply - var date = new Date(y, m, d, h, M, s, ms); - - //the date constructor doesn't accept years < 1970 - if (y < 1970) { - date.setFullYear(y); - } - return date; - } - - function makeUTCDate(y) { - var date = new Date(Date.UTC.apply(null, arguments)); - if (y < 1970) { - date.setUTCFullYear(y); - } - return date; - } - - function parseWeekday(input, locale) { - if (typeof input === 'string') { - if (!isNaN(input)) { - input = parseInt(input, 10); - } - else { - input = locale.weekdaysParse(input); - if (typeof input !== 'number') { - return null; - } - } - } - return input; - } - - /************************************ - Relative Time - ************************************/ - - - // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize - function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { - return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); - } - - function relativeTime(posNegDuration, withoutSuffix, locale) { - var duration = moment.duration(posNegDuration).abs(), - seconds = round(duration.as('s')), - minutes = round(duration.as('m')), - hours = round(duration.as('h')), - days = round(duration.as('d')), - months = round(duration.as('M')), - years = round(duration.as('y')), - - args = seconds < relativeTimeThresholds.s && ['s', seconds] || - minutes === 1 && ['m'] || - minutes < relativeTimeThresholds.m && ['mm', minutes] || - hours === 1 && ['h'] || - hours < relativeTimeThresholds.h && ['hh', hours] || - days === 1 && ['d'] || - days < relativeTimeThresholds.d && ['dd', days] || - months === 1 && ['M'] || - months < relativeTimeThresholds.M && ['MM', months] || - years === 1 && ['y'] || ['yy', years]; - - args[2] = withoutSuffix; - args[3] = +posNegDuration > 0; - args[4] = locale; - return substituteTimeAgo.apply({}, args); - } - - - /************************************ - Week of Year - ************************************/ - - - // firstDayOfWeek 0 = sun, 6 = sat - // the day of the week that starts the week - // (usually sunday or monday) - // firstDayOfWeekOfYear 0 = sun, 6 = sat - // the first week is the week that contains the first - // of this day of the week - // (eg. ISO weeks use thursday (4)) - function weekOfYear(mom, firstDayOfWeek, firstDayOfWeekOfYear) { - var end = firstDayOfWeekOfYear - firstDayOfWeek, - daysToDayOfWeek = firstDayOfWeekOfYear - mom.day(), - adjustedMoment; - - - if (daysToDayOfWeek > end) { - daysToDayOfWeek -= 7; - } - - if (daysToDayOfWeek < end - 7) { - daysToDayOfWeek += 7; - } - - adjustedMoment = moment(mom).add(daysToDayOfWeek, 'd'); - return { - week: Math.ceil(adjustedMoment.dayOfYear() / 7), - year: adjustedMoment.year() - }; - } - - //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday - function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) { - var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear; - - d = d === 0 ? 7 : d; - weekday = weekday != null ? weekday : firstDayOfWeek; - daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0); - dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1; - - return { - year: dayOfYear > 0 ? year : year - 1, - dayOfYear: dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear - }; - } - - /************************************ - Top Level Functions - ************************************/ - - function makeMoment(config) { - var input = config._i, - format = config._f; - - config._locale = config._locale || moment.localeData(config._l); - - if (input === null || (format === undefined && input === '')) { - return moment.invalid({nullInput: true}); - } - - if (typeof input === 'string') { - config._i = input = config._locale.preparse(input); - } - - if (moment.isMoment(input)) { - return new Moment(input, true); - } else if (format) { - if (isArray(format)) { - makeDateFromStringAndArray(config); - } else { - makeDateFromStringAndFormat(config); - } - } else { - makeDateFromInput(config); - } - - return new Moment(config); - } - - moment = function (input, format, locale, strict) { - var c; - - if (typeof(locale) === 'boolean') { - strict = locale; - locale = undefined; - } - // object construction must be done this way. - // https://github.com/moment/moment/issues/1423 - c = {}; - c._isAMomentObject = true; - c._i = input; - c._f = format; - c._l = locale; - c._strict = strict; - c._isUTC = false; - c._pf = defaultParsingFlags(); - - return makeMoment(c); - }; - - moment.suppressDeprecationWarnings = false; - - moment.createFromInputFallback = deprecate( - 'moment construction falls back to js Date. This is ' + - 'discouraged and will be removed in upcoming major ' + - 'release. Please refer to ' + - 'https://github.com/moment/moment/issues/1407 for more info.', - function (config) { - config._d = new Date(config._i); - } - ); - - // Pick a moment m from moments so that m[fn](other) is true for all - // other. This relies on the function fn to be transitive. - // - // moments should either be an array of moment objects or an array, whose - // first element is an array of moment objects. - function pickBy(fn, moments) { - var res, i; - if (moments.length === 1 && isArray(moments[0])) { - moments = moments[0]; - } - if (!moments.length) { - return moment(); - } - res = moments[0]; - for (i = 1; i < moments.length; ++i) { - if (moments[i][fn](res)) { - res = moments[i]; - } - } - return res; - } - - moment.min = function () { - var args = [].slice.call(arguments, 0); - - return pickBy('isBefore', args); - }; - - moment.max = function () { - var args = [].slice.call(arguments, 0); - - return pickBy('isAfter', args); - }; - - // creating with utc - moment.utc = function (input, format, locale, strict) { - var c; - - if (typeof(locale) === 'boolean') { - strict = locale; - locale = undefined; - } - // object construction must be done this way. - // https://github.com/moment/moment/issues/1423 - c = {}; - c._isAMomentObject = true; - c._useUTC = true; - c._isUTC = true; - c._l = locale; - c._i = input; - c._f = format; - c._strict = strict; - c._pf = defaultParsingFlags(); - - return makeMoment(c).utc(); - }; - - // creating with unix timestamp (in seconds) - moment.unix = function (input) { - return moment(input * 1000); - }; - - // duration - moment.duration = function (input, key) { - var duration = input, - // matching against regexp is expensive, do it on demand - match = null, - sign, - ret, - parseIso, - diffRes; - - if (moment.isDuration(input)) { - duration = { - ms: input._milliseconds, - d: input._days, - M: input._months - }; - } else if (typeof input === 'number') { - duration = {}; - if (key) { - duration[key] = input; - } else { - duration.milliseconds = input; - } - } else if (!!(match = aspNetTimeSpanJsonRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - duration = { - y: 0, - d: toInt(match[DATE]) * sign, - h: toInt(match[HOUR]) * sign, - m: toInt(match[MINUTE]) * sign, - s: toInt(match[SECOND]) * sign, - ms: toInt(match[MILLISECOND]) * sign - }; - } else if (!!(match = isoDurationRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - parseIso = function (inp) { - // We'd normally use ~~inp for this, but unfortunately it also - // converts floats to ints. - // inp may be undefined, so careful calling replace on it. - var res = inp && parseFloat(inp.replace(',', '.')); - // apply sign while we're at it - return (isNaN(res) ? 0 : res) * sign; - }; - duration = { - y: parseIso(match[2]), - M: parseIso(match[3]), - d: parseIso(match[4]), - h: parseIso(match[5]), - m: parseIso(match[6]), - s: parseIso(match[7]), - w: parseIso(match[8]) - }; - } else if (typeof duration === 'object' && - ('from' in duration || 'to' in duration)) { - diffRes = momentsDifference(moment(duration.from), moment(duration.to)); - - duration = {}; - duration.ms = diffRes.milliseconds; - duration.M = diffRes.months; - } - - ret = new Duration(duration); - - if (moment.isDuration(input) && hasOwnProp(input, '_locale')) { - ret._locale = input._locale; - } - - return ret; - }; - - // version number - moment.version = VERSION; - - // default format - moment.defaultFormat = isoFormat; - - // constant that refers to the ISO standard - moment.ISO_8601 = function () {}; - - // Plugins that add properties should also add the key here (null value), - // so we can properly clone ourselves. - moment.momentProperties = momentProperties; - - // This function will be called whenever a moment is mutated. - // It is intended to keep the offset in sync with the timezone. - moment.updateOffset = function () {}; - - // This function allows you to set a threshold for relative time strings - moment.relativeTimeThreshold = function (threshold, limit) { - if (relativeTimeThresholds[threshold] === undefined) { - return false; - } - if (limit === undefined) { - return relativeTimeThresholds[threshold]; - } - relativeTimeThresholds[threshold] = limit; - return true; - }; - - moment.lang = deprecate( - 'moment.lang is deprecated. Use moment.locale instead.', - function (key, value) { - return moment.locale(key, value); - } - ); - - // This function will load locale and then set the global locale. If - // no arguments are passed in, it will simply return the current global - // locale key. - moment.locale = function (key, values) { - var data; - if (key) { - if (typeof(values) !== 'undefined') { - data = moment.defineLocale(key, values); - } - else { - data = moment.localeData(key); - } - - if (data) { - moment.duration._locale = moment._locale = data; - } - } - - return moment._locale._abbr; - }; - - moment.defineLocale = function (name, values) { - if (values !== null) { - values.abbr = name; - if (!locales[name]) { - locales[name] = new Locale(); - } - locales[name].set(values); - - // backwards compat for now: also set the locale - moment.locale(name); - - return locales[name]; - } else { - // useful for testing - delete locales[name]; - return null; - } - }; - - moment.langData = deprecate( - 'moment.langData is deprecated. Use moment.localeData instead.', - function (key) { - return moment.localeData(key); - } - ); - - // returns locale data - moment.localeData = function (key) { - var locale; - - if (key && key._locale && key._locale._abbr) { - key = key._locale._abbr; - } - - if (!key) { - return moment._locale; - } - - if (!isArray(key)) { - //short-circuit everything else - locale = loadLocale(key); - if (locale) { - return locale; - } - key = [key]; - } - - return chooseLocale(key); - }; - - // compare moment object - moment.isMoment = function (obj) { - return obj instanceof Moment || - (obj != null && hasOwnProp(obj, '_isAMomentObject')); - }; - - // for typechecking Duration objects - moment.isDuration = function (obj) { - return obj instanceof Duration; - }; - - for (i = lists.length - 1; i >= 0; --i) { - makeList(lists[i]); - } - - moment.normalizeUnits = function (units) { - return normalizeUnits(units); - }; - - moment.invalid = function (flags) { - var m = moment.utc(NaN); - if (flags != null) { - extend(m._pf, flags); - } - else { - m._pf.userInvalidated = true; - } - - return m; - }; - - moment.parseZone = function () { - return moment.apply(null, arguments).parseZone(); - }; - - moment.parseTwoDigitYear = function (input) { - return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); - }; - - /************************************ - Moment Prototype - ************************************/ - - - extend(moment.fn = Moment.prototype, { - - clone : function () { - return moment(this); - }, - - valueOf : function () { - return +this._d + ((this._offset || 0) * 60000); - }, - - unix : function () { - return Math.floor(+this / 1000); - }, - - toString : function () { - return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); - }, - - toDate : function () { - return this._offset ? new Date(+this) : this._d; - }, - - toISOString : function () { - var m = moment(this).utc(); - if (0 < m.year() && m.year() <= 9999) { - return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } else { - return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } - }, - - toArray : function () { - var m = this; - return [ - m.year(), - m.month(), - m.date(), - m.hours(), - m.minutes(), - m.seconds(), - m.milliseconds() - ]; - }, - - isValid : function () { - return isValid(this); - }, - - isDSTShifted : function () { - if (this._a) { - return this.isValid() && compareArrays(this._a, (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray()) > 0; - } - - return false; - }, - - parsingFlags : function () { - return extend({}, this._pf); - }, - - invalidAt: function () { - return this._pf.overflow; - }, - - utc : function (keepLocalTime) { - return this.zone(0, keepLocalTime); - }, - - local : function (keepLocalTime) { - if (this._isUTC) { - this.zone(0, keepLocalTime); - this._isUTC = false; - - if (keepLocalTime) { - this.add(this._dateTzOffset(), 'm'); - } - } - return this; - }, - - format : function (inputString) { - var output = formatMoment(this, inputString || moment.defaultFormat); - return this.localeData().postformat(output); - }, - - add : createAdder(1, 'add'), - - subtract : createAdder(-1, 'subtract'), - - diff : function (input, units, asFloat) { - var that = makeAs(input, this), - zoneDiff = (this.zone() - that.zone()) * 6e4, - diff, output, daysAdjust; - - units = normalizeUnits(units); - - if (units === 'year' || units === 'month') { - // average number of days in the months in the given dates - diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 1000 / 2 - // difference in months - output = ((this.year() - that.year()) * 12) + (this.month() - that.month()); - // adjust by taking difference in days, average number of days - // and dst in the given months. - daysAdjust = (this - moment(this).startOf('month')) - - (that - moment(that).startOf('month')); - // same as above but with zones, to negate all dst - daysAdjust -= ((this.zone() - moment(this).startOf('month').zone()) - - (that.zone() - moment(that).startOf('month').zone())) * 6e4; - output += daysAdjust / diff; - if (units === 'year') { - output = output / 12; - } - } else { - diff = (this - that); - output = units === 'second' ? diff / 1e3 : // 1000 - units === 'minute' ? diff / 6e4 : // 1000 * 60 - units === 'hour' ? diff / 36e5 : // 1000 * 60 * 60 - units === 'day' ? (diff - zoneDiff) / 864e5 : // 1000 * 60 * 60 * 24, negate dst - units === 'week' ? (diff - zoneDiff) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst - diff; - } - return asFloat ? output : absRound(output); - }, - - from : function (time, withoutSuffix) { - return moment.duration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); - }, - - fromNow : function (withoutSuffix) { - return this.from(moment(), withoutSuffix); - }, - - calendar : function (time) { - // We want to compare the start of today, vs this. - // Getting start-of-today depends on whether we're zone'd or not. - var now = time || moment(), - sod = makeAs(now, this).startOf('day'), - diff = this.diff(sod, 'days', true), - format = diff < -6 ? 'sameElse' : - diff < -1 ? 'lastWeek' : - diff < 0 ? 'lastDay' : - diff < 1 ? 'sameDay' : - diff < 2 ? 'nextDay' : - diff < 7 ? 'nextWeek' : 'sameElse'; - return this.format(this.localeData().calendar(format, this)); - }, - - isLeapYear : function () { - return isLeapYear(this.year()); - }, - - isDST : function () { - return (this.zone() < this.clone().month(0).zone() || - this.zone() < this.clone().month(5).zone()); - }, - - day : function (input) { - var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); - if (input != null) { - input = parseWeekday(input, this.localeData()); - return this.add(input - day, 'd'); - } else { - return day; - } - }, - - month : makeAccessor('Month', true), - - startOf : function (units) { - units = normalizeUnits(units); - // the following switch intentionally omits break keywords - // to utilize falling through the cases. - switch (units) { - case 'year': - this.month(0); - /* falls through */ - case 'quarter': - case 'month': - this.date(1); - /* falls through */ - case 'week': - case 'isoWeek': - case 'day': - this.hours(0); - /* falls through */ - case 'hour': - this.minutes(0); - /* falls through */ - case 'minute': - this.seconds(0); - /* falls through */ - case 'second': - this.milliseconds(0); - /* falls through */ - } - - // weeks are a special case - if (units === 'week') { - this.weekday(0); - } else if (units === 'isoWeek') { - this.isoWeekday(1); - } - - // quarters are also special - if (units === 'quarter') { - this.month(Math.floor(this.month() / 3) * 3); - } - - return this; - }, - - endOf: function (units) { - units = normalizeUnits(units); - return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); - }, - - isAfter: function (input, units) { - units = normalizeUnits(typeof units !== 'undefined' ? units : 'millisecond'); - if (units === 'millisecond') { - input = moment.isMoment(input) ? input : moment(input); - return +this > +input; - } else { - return +this.clone().startOf(units) > +moment(input).startOf(units); - } - }, - - isBefore: function (input, units) { - units = normalizeUnits(typeof units !== 'undefined' ? units : 'millisecond'); - if (units === 'millisecond') { - input = moment.isMoment(input) ? input : moment(input); - return +this < +input; - } else { - return +this.clone().startOf(units) < +moment(input).startOf(units); - } - }, - - isSame: function (input, units) { - units = normalizeUnits(units || 'millisecond'); - if (units === 'millisecond') { - input = moment.isMoment(input) ? input : moment(input); - return +this === +input; - } else { - return +this.clone().startOf(units) === +makeAs(input, this).startOf(units); - } - }, - - min: deprecate( - 'moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548', - function (other) { - other = moment.apply(null, arguments); - return other < this ? this : other; - } - ), - - max: deprecate( - 'moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548', - function (other) { - other = moment.apply(null, arguments); - return other > this ? this : other; - } - ), - - // keepLocalTime = true means only change the timezone, without - // affecting the local hour. So 5:31:26 +0300 --[zone(2, true)]--> - // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist int zone - // +0200, so we adjust the time as needed, to be valid. - // - // Keeping the time actually adds/subtracts (one hour) - // from the actual represented time. That is why we call updateOffset - // a second time. In case it wants us to change the offset again - // _changeInProgress == true case, then we have to adjust, because - // there is no such time in the given timezone. - zone : function (input, keepLocalTime) { - var offset = this._offset || 0, - localAdjust; - if (input != null) { - if (typeof input === 'string') { - input = timezoneMinutesFromString(input); - } - if (Math.abs(input) < 16) { - input = input * 60; - } - if (!this._isUTC && keepLocalTime) { - localAdjust = this._dateTzOffset(); - } - this._offset = input; - this._isUTC = true; - if (localAdjust != null) { - this.subtract(localAdjust, 'm'); - } - if (offset !== input) { - if (!keepLocalTime || this._changeInProgress) { - addOrSubtractDurationFromMoment(this, - moment.duration(offset - input, 'm'), 1, false); - } else if (!this._changeInProgress) { - this._changeInProgress = true; - moment.updateOffset(this, true); - this._changeInProgress = null; - } - } - } else { - return this._isUTC ? offset : this._dateTzOffset(); - } - return this; - }, - - zoneAbbr : function () { - return this._isUTC ? 'UTC' : ''; - }, - - zoneName : function () { - return this._isUTC ? 'Coordinated Universal Time' : ''; - }, - - parseZone : function () { - if (this._tzm) { - this.zone(this._tzm); - } else if (typeof this._i === 'string') { - this.zone(this._i); - } - return this; - }, - - hasAlignedHourOffset : function (input) { - if (!input) { - input = 0; - } - else { - input = moment(input).zone(); - } - - return (this.zone() - input) % 60 === 0; - }, - - daysInMonth : function () { - return daysInMonth(this.year(), this.month()); - }, - - dayOfYear : function (input) { - var dayOfYear = round((moment(this).startOf('day') - moment(this).startOf('year')) / 864e5) + 1; - return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); - }, - - quarter : function (input) { - return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); - }, - - weekYear : function (input) { - var year = weekOfYear(this, this.localeData()._week.dow, this.localeData()._week.doy).year; - return input == null ? year : this.add((input - year), 'y'); - }, - - isoWeekYear : function (input) { - var year = weekOfYear(this, 1, 4).year; - return input == null ? year : this.add((input - year), 'y'); - }, - - week : function (input) { - var week = this.localeData().week(this); - return input == null ? week : this.add((input - week) * 7, 'd'); - }, - - isoWeek : function (input) { - var week = weekOfYear(this, 1, 4).week; - return input == null ? week : this.add((input - week) * 7, 'd'); - }, - - weekday : function (input) { - var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; - return input == null ? weekday : this.add(input - weekday, 'd'); - }, - - isoWeekday : function (input) { - // behaves the same as moment#day except - // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) - // as a setter, sunday should belong to the previous week. - return input == null ? this.day() || 7 : this.day(this.day() % 7 ? input : input - 7); - }, - - isoWeeksInYear : function () { - return weeksInYear(this.year(), 1, 4); - }, - - weeksInYear : function () { - var weekInfo = this.localeData()._week; - return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); - }, - - get : function (units) { - units = normalizeUnits(units); - return this[units](); - }, - - set : function (units, value) { - units = normalizeUnits(units); - if (typeof this[units] === 'function') { - this[units](value); - } - return this; - }, - - // If passed a locale key, it will set the locale for this - // instance. Otherwise, it will return the locale configuration - // variables for this instance. - locale : function (key) { - var newLocaleData; - - if (key === undefined) { - return this._locale._abbr; - } else { - newLocaleData = moment.localeData(key); - if (newLocaleData != null) { - this._locale = newLocaleData; - } - return this; - } - }, - - lang : deprecate( - 'moment().lang() is deprecated. Use moment().localeData() instead.', - function (key) { - if (key === undefined) { - return this.localeData(); - } else { - return this.locale(key); - } - } - ), - - localeData : function () { - return this._locale; - }, - - _dateTzOffset : function () { - // On Firefox.24 Date#getTimezoneOffset returns a floating point. - // https://github.com/moment/moment/pull/1871 - return Math.round(this._d.getTimezoneOffset() / 15) * 15; - } - }); - - function rawMonthSetter(mom, value) { - var dayOfMonth; - - // TODO: Move this out of here! - if (typeof value === 'string') { - value = mom.localeData().monthsParse(value); - // TODO: Another silent failure? - if (typeof value !== 'number') { - return mom; - } - } - - dayOfMonth = Math.min(mom.date(), - daysInMonth(mom.year(), value)); - mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); - return mom; - } - - function rawGetter(mom, unit) { - return mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit](); - } - - function rawSetter(mom, unit, value) { - if (unit === 'Month') { - return rawMonthSetter(mom, value); - } else { - return mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); - } - } - - function makeAccessor(unit, keepTime) { - return function (value) { - if (value != null) { - rawSetter(this, unit, value); - moment.updateOffset(this, keepTime); - return this; - } else { - return rawGetter(this, unit); - } - }; - } - - moment.fn.millisecond = moment.fn.milliseconds = makeAccessor('Milliseconds', false); - moment.fn.second = moment.fn.seconds = makeAccessor('Seconds', false); - moment.fn.minute = moment.fn.minutes = makeAccessor('Minutes', false); - // Setting the hour should keep the time, because the user explicitly - // specified which hour he wants. So trying to maintain the same hour (in - // a new timezone) makes sense. Adding/subtracting hours does not follow - // this rule. - moment.fn.hour = moment.fn.hours = makeAccessor('Hours', true); - // moment.fn.month is defined separately - moment.fn.date = makeAccessor('Date', true); - moment.fn.dates = deprecate('dates accessor is deprecated. Use date instead.', makeAccessor('Date', true)); - moment.fn.year = makeAccessor('FullYear', true); - moment.fn.years = deprecate('years accessor is deprecated. Use year instead.', makeAccessor('FullYear', true)); - - // add plural methods - moment.fn.days = moment.fn.day; - moment.fn.months = moment.fn.month; - moment.fn.weeks = moment.fn.week; - moment.fn.isoWeeks = moment.fn.isoWeek; - moment.fn.quarters = moment.fn.quarter; - - // add aliased format methods - moment.fn.toJSON = moment.fn.toISOString; - - /************************************ - Duration Prototype - ************************************/ - - - function daysToYears (days) { - // 400 years have 146097 days (taking into account leap year rules) - return days * 400 / 146097; - } - - function yearsToDays (years) { - // years * 365 + absRound(years / 4) - - // absRound(years / 100) + absRound(years / 400); - return years * 146097 / 400; - } - - extend(moment.duration.fn = Duration.prototype, { - - _bubble : function () { - var milliseconds = this._milliseconds, - days = this._days, - months = this._months, - data = this._data, - seconds, minutes, hours, years = 0; - - // The following code bubbles up values, see the tests for - // examples of what that means. - data.milliseconds = milliseconds % 1000; - - seconds = absRound(milliseconds / 1000); - data.seconds = seconds % 60; - - minutes = absRound(seconds / 60); - data.minutes = minutes % 60; - - hours = absRound(minutes / 60); - data.hours = hours % 24; - - days += absRound(hours / 24); - - // Accurately convert days to years, assume start from year 0. - years = absRound(daysToYears(days)); - days -= absRound(yearsToDays(years)); - - // 30 days to a month - // TODO (iskren): Use anchor date (like 1st Jan) to compute this. - months += absRound(days / 30); - days %= 30; - - // 12 months -> 1 year - years += absRound(months / 12); - months %= 12; - - data.days = days; - data.months = months; - data.years = years; - }, - - abs : function () { - this._milliseconds = Math.abs(this._milliseconds); - this._days = Math.abs(this._days); - this._months = Math.abs(this._months); - - this._data.milliseconds = Math.abs(this._data.milliseconds); - this._data.seconds = Math.abs(this._data.seconds); - this._data.minutes = Math.abs(this._data.minutes); - this._data.hours = Math.abs(this._data.hours); - this._data.months = Math.abs(this._data.months); - this._data.years = Math.abs(this._data.years); - - return this; - }, - - weeks : function () { - return absRound(this.days() / 7); - }, - - valueOf : function () { - return this._milliseconds + - this._days * 864e5 + - (this._months % 12) * 2592e6 + - toInt(this._months / 12) * 31536e6; - }, - - humanize : function (withSuffix) { - var output = relativeTime(this, !withSuffix, this.localeData()); - - if (withSuffix) { - output = this.localeData().pastFuture(+this, output); - } - - return this.localeData().postformat(output); - }, - - add : function (input, val) { - // supports only 2.0-style add(1, 's') or add(moment) - var dur = moment.duration(input, val); - - this._milliseconds += dur._milliseconds; - this._days += dur._days; - this._months += dur._months; - - this._bubble(); - - return this; - }, - - subtract : function (input, val) { - var dur = moment.duration(input, val); - - this._milliseconds -= dur._milliseconds; - this._days -= dur._days; - this._months -= dur._months; - - this._bubble(); - - return this; - }, - - get : function (units) { - units = normalizeUnits(units); - return this[units.toLowerCase() + 's'](); - }, - - as : function (units) { - var days, months; - units = normalizeUnits(units); - - if (units === 'month' || units === 'year') { - days = this._days + this._milliseconds / 864e5; - months = this._months + daysToYears(days) * 12; - return units === 'month' ? months : months / 12; - } else { - // handle milliseconds separately because of floating point math errors (issue #1867) - days = this._days + yearsToDays(this._months / 12); - switch (units) { - case 'week': return days / 7 + this._milliseconds / 6048e5; - case 'day': return days + this._milliseconds / 864e5; - case 'hour': return days * 24 + this._milliseconds / 36e5; - case 'minute': return days * 24 * 60 + this._milliseconds / 6e4; - case 'second': return days * 24 * 60 * 60 + this._milliseconds / 1000; - // Math.floor prevents floating point math errors here - case 'millisecond': return Math.floor(days * 24 * 60 * 60 * 1000) + this._milliseconds; - default: throw new Error('Unknown unit ' + units); - } - } - }, - - lang : moment.fn.lang, - locale : moment.fn.locale, - - toIsoString : deprecate( - 'toIsoString() is deprecated. Please use toISOString() instead ' + - '(notice the capitals)', - function () { - return this.toISOString(); - } - ), - - toISOString : function () { - // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js - var years = Math.abs(this.years()), - months = Math.abs(this.months()), - days = Math.abs(this.days()), - hours = Math.abs(this.hours()), - minutes = Math.abs(this.minutes()), - seconds = Math.abs(this.seconds() + this.milliseconds() / 1000); - - if (!this.asSeconds()) { - // this is the same as C#'s (Noda) and python (isodate)... - // but not other JS (goog.date) - return 'P0D'; - } - - return (this.asSeconds() < 0 ? '-' : '') + - 'P' + - (years ? years + 'Y' : '') + - (months ? months + 'M' : '') + - (days ? days + 'D' : '') + - ((hours || minutes || seconds) ? 'T' : '') + - (hours ? hours + 'H' : '') + - (minutes ? minutes + 'M' : '') + - (seconds ? seconds + 'S' : ''); - }, - - localeData : function () { - return this._locale; - } - }); - - moment.duration.fn.toString = moment.duration.fn.toISOString; - - function makeDurationGetter(name) { - moment.duration.fn[name] = function () { - return this._data[name]; - }; - } - - for (i in unitMillisecondFactors) { - if (hasOwnProp(unitMillisecondFactors, i)) { - makeDurationGetter(i.toLowerCase()); - } - } - - moment.duration.fn.asMilliseconds = function () { - return this.as('ms'); - }; - moment.duration.fn.asSeconds = function () { - return this.as('s'); - }; - moment.duration.fn.asMinutes = function () { - return this.as('m'); - }; - moment.duration.fn.asHours = function () { - return this.as('h'); - }; - moment.duration.fn.asDays = function () { - return this.as('d'); - }; - moment.duration.fn.asWeeks = function () { - return this.as('weeks'); - }; - moment.duration.fn.asMonths = function () { - return this.as('M'); - }; - moment.duration.fn.asYears = function () { - return this.as('y'); - }; - - /************************************ - Default Locale - ************************************/ - - - // Set default locale, other locale will inherit from English. - moment.locale('en', { - ordinal : function (number) { - var b = number % 10, - output = (toInt(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - } - }); - - return moment; - - }).call(this); - - UI.Utils.moment = moment; - - return UI.datepicker; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/datepicker.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/datepicker.min.js deleted file mode 100644 index 9a30a1f2a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/datepicker.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-datepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,n,a=!1;return t.component("datepicker",{defaults:{mobile:!1,weekstart:1,i18n:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},format:"DD.MM.YYYY",offsettop:5,maxDate:!1,minDate:!1,pos:"auto",template:function(e,a){var s,i,r,o="";if(a.maxDate!==!1&&(s=isNaN(a.maxDate)?n(a.maxDate,a.format):n().add(a.maxDate,"days")),a.minDate!==!1&&(i=isNaN(a.minDate)?n(a.minDate,a.format):n().add(a.minDate-1,"days")),o+='<div class="uk-datepicker-nav">',o+='<a href="" class="uk-datepicker-previous"></a>',o+='<a href="" class="uk-datepicker-next"></a>',t.formSelect){var u,c,d,l,h=(new Date).getFullYear(),f=[];for(r=0;r<a.i18n.months.length;r++)r==e.month?f.push('<option value="'+r+'" selected>'+a.i18n.months[r]+"</option>"):f.push('<option value="'+r+'">'+a.i18n.months[r]+"</option>");for(u='<span class="uk-form-select">'+a.i18n.months[e.month]+'<select class="update-picker-month">'+f.join("")+"</select></span>",f=[],d=i?i.year():h-50,l=s?s.year():h+20,r=d;l>=r;r++)r==e.year?f.push('<option value="'+r+'" selected>'+r+"</option>"):f.push('<option value="'+r+'">'+r+"</option>");c='<span class="uk-form-select">'+e.year+'<select class="update-picker-year">'+f.join("")+"</select></span>",o+='<div class="uk-datepicker-heading">'+u+" "+c+"</div>"}else o+='<div class="uk-datepicker-heading">'+a.i18n.months[e.month]+" "+e.year+"</div>";for(o+="</div>",o+='<table class="uk-datepicker-table">',o+="<thead>",r=0;r<e.weekdays.length;r++)e.weekdays[r]&&(o+="<th>"+e.weekdays[r]+"</th>");for(o+="</thead>",o+="<tbody>",r=0;r<e.days.length;r++)if(e.days[r]&&e.days[r].length){o+="<tr>";for(var m=0;m<e.days[r].length;m++)if(e.days[r][m]){var _=e.days[r][m],p=[];_.inmonth||p.push("uk-datepicker-table-muted"),_.selected&&p.push("uk-active"),s&&_.day>s&&p.push("uk-datepicker-date-disabled uk-datepicker-table-muted"),i&&i>_.day&&p.push("uk-datepicker-date-disabled uk-datepicker-table-muted"),o+='<td><a href="" class="'+p.join(" ")+'" data-date="'+_.day.format()+'">'+_.day.format("D")+"</a></td>"}o+="</tr>"}return o+="</tbody>",o+="</table>"}},boot:function(){t.$win.on("resize orientationchange",function(){a&&a.hide()}),t.$html.on("focus.datepicker.uikit","[data-uk-datepicker]",function(e){var n=t.$(this);if(!n.data("datepicker")){e.preventDefault();{t.datepicker(n,t.Utils.options(n.attr("data-uk-datepicker")))}n.trigger("focus")}}),t.$html.on("click.datepicker.uikit",function(n){var s=t.$(n.target);!a||s[0]==e[0]||s.data("datepicker")||s.parents(".uk-datepicker:first").length||a.hide()})},init:function(){if(!t.support.touch||"date"!=this.element.attr("type")||this.options.mobile){var s=this;this.current=this.element.val()?n(this.element.val(),this.options.format):n(),this.on("click focus",function(){a!==s&&s.pick(this.value?this.value:s.options.minDate?s.options.minDate:"")}).on("change",function(){s.element.val()&&!n(s.element.val(),s.options.format).isValid()&&s.element.val(n().format(s.options.format))}),e||(e=t.$('<div class="uk-dropdown uk-datepicker"></div>'),e.on("click",".uk-datepicker-next, .uk-datepicker-previous, [data-date]",function(s){s.stopPropagation(),s.preventDefault();var i=t.$(this);return i.hasClass("uk-datepicker-date-disabled")?!1:(i.is("[data-date]")?(a.element.val(n(i.data("date")).format(a.options.format)).trigger("change"),e.hide(),a=!1):a.add(1*(i.hasClass("uk-datepicker-next")?1:-1),"months"),void 0)}),e.on("change",".update-picker-month, .update-picker-year",function(){var e=t.$(this);a[e.is(".update-picker-year")?"setYear":"setMonth"](Number(e.val()))}),e.appendTo("body"))}},pick:function(s){var i=this.element.offset(),r={left:i.left,right:""};this.current=s?n(s,this.options.format):n(),this.initdate=this.current.format("YYYY-MM-DD"),this.update(),"right"==t.langdirection&&(r.right=window.innerWidth-(r.left+this.element.outerWidth()),r.left="");var o=i.top-this.element.outerHeight()+this.element.height()-this.options.offsettop-e.outerHeight(),u=i.top+this.element.outerHeight()+this.options.offsettop;r.top=u,"top"==this.options.pos?r.top=o:"auto"==this.options.pos&&window.innerHeight-u-e.outerHeight()<0&&o>=0&&(r.top=o),e.css(r).show(),this.trigger("show.uk.datepicker"),a=this},add:function(t,e){this.current.add(t,e),this.update()},setMonth:function(t){this.current.month(t),this.update()},setYear:function(t){this.current.year(t),this.update()},update:function(){var t=this.getRows(this.current.year(),this.current.month()),n=this.options.template(t,this.options);e.html(n),this.trigger("update.uk.datepicker")},getRows:function(t,e){var a=this.options,s=n().format("YYYY-MM-DD"),i=[31,t%4===0&&t%100!==0||t%400===0?29:28,31,30,31,30,31,31,30,31,30,31][e],r=new Date(t,e,1).getDay(),o={month:e,year:t,weekdays:[],days:[]},u=[];o.weekdays=function(){for(var t=0,e=[];7>t;t++){for(var n=t+(a.weekstart||0);n>=7;)n-=7;e.push(a.i18n.weekdays[n])}return e}(),a.weekstart&&a.weekstart>0&&(r-=a.weekstart,0>r&&(r+=7));for(var c=i+r,d=c;d>7;)d-=7;c+=7-d;for(var l,h,f,m,_,p=0,y=0;c>p;p++)l=new Date(t,e,1+(p-r)),h=a.mindate&&l<a.mindate||a.maxdate&&l>a.maxdate,_=!(r>p||p>=i+r),l=n(l),f=this.initdate==l.format("YYYY-MM-DD"),m=s==l.format("YYYY-MM-DD"),u.push({selected:f,today:m,disabled:h,day:l,inmonth:_}),7===++y&&(o.days.push(u),u=[],y=0);return o},hide:function(){a&&a===this&&(e.hide(),a=!1,this.trigger("hide.uk.datepicker"))}}),n=function(t){function e(t,e,n){switch(arguments.length){case 2:return null!=t?t:e;case 3:return null!=t?t:null!=e?e:n;default:throw new Error("Implement me")}}function n(t,e){return Ye.call(t,e)}function a(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function s(t){ke.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function i(t,e){var n=!0;return h(function(){return n&&(s(t),n=!1),e.apply(this,arguments)},e)}function r(t,e){mn[t]||(s(e),mn[t]=!0)}function o(t,e){return function(n){return _(t.call(this,n),e)}}function u(t,e){return function(n){return this.localeData().ordinal(t.call(this,n),e)}}function c(){}function d(t,e){e!==!1&&F(t),f(this,t),this._d=new Date(+t._d)}function l(t){var e=v(t),n=e.year||0,a=e.quarter||0,s=e.month||0,i=e.week||0,r=e.day||0,o=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._milliseconds=+d+1e3*c+6e4*u+36e5*o,this._days=+r+7*i,this._months=+s+3*a+12*n,this._data={},this._locale=ke.localeData(),this._bubble()}function h(t,e){for(var a in e)n(e,a)&&(t[a]=e[a]);return n(e,"toString")&&(t.toString=e.toString),n(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e){var n,a,s;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=e._pf),"undefined"!=typeof e._locale&&(t._locale=e._locale),Fe.length>0)for(n in Fe)a=Fe[n],s=e[a],"undefined"!=typeof s&&(t[a]=s);return t}function m(t){return 0>t?Math.ceil(t):Math.floor(t)}function _(t,e,n){for(var a=""+Math.abs(t),s=t>=0;a.length<e;)a="0"+a;return(s?n?"+":"":"-")+a}function p(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function y(t,e){var n;return e=H(e,t),t.isBefore(e)?n=p(t,e):(n=p(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function k(t,e){return function(n,a){var s,i;return null===a||isNaN(+a)||(r(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),i=n,n=a,a=i),n="string"==typeof n?+n:n,s=ke.duration(n,a),D(this,s,t),this}}function D(t,e,n,a){var s=e._milliseconds,i=e._days,r=e._months;a=null==a?!0:a,s&&t._d.setTime(+t._d+s*n),i&&fe(t,"Date",he(t,"Date")+i*n),r&&le(t,he(t,"Month")+r*n),a&&ke.updateOffset(t,i||r)}function g(t){return"[object Array]"===Object.prototype.toString.call(t)}function M(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function Y(t,e,n){var a,s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),r=0;for(a=0;s>a;a++)(n&&t[a]!==e[a]||!n&&S(t[a])!==S(e[a]))&&r++;return r+i}function w(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=on[t]||un[e]||e}return t}function v(t){var e,a,s={};for(a in t)n(t,a)&&(e=w(a),e&&(s[e]=t[a]));return s}function b(e){var n,a;if(0===e.indexOf("week"))n=7,a="day";else{if(0!==e.indexOf("month"))return;n=12,a="month"}ke[e]=function(s,i){var r,o,u=ke._locale[e],c=[];if("number"==typeof s&&(i=s,s=t),o=function(t){var e=ke().utc().set(a,t);return u.call(ke._locale,e,s||"")},null!=i)return o(i);for(r=0;n>r;r++)c.push(o(r));return c}}function S(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function T(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function O(t,e,n){return oe(ke([t,11,31+e-n]),e,n).week}function W(t){return U(t)?366:365}function U(t){return t%4===0&&t%100!==0||t%400===0}function F(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[ve]<0||t._a[ve]>11?ve:t._a[be]<1||t._a[be]>T(t._a[we],t._a[ve])?be:t._a[Se]<0||t._a[Se]>23?Se:t._a[Te]<0||t._a[Te]>59?Te:t._a[Oe]<0||t._a[Oe]>59?Oe:t._a[We]<0||t._a[We]>999?We:-1,t._pf._overflowDayOfYear&&(we>e||e>be)&&(e=be),t._pf.overflow=e)}function G(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function C(t){return t?t.toLowerCase().replace("_","-"):t}function z(t){for(var e,n,a,s,i=0;i<t.length;){for(s=C(t[i]).split("-"),e=s.length,n=C(t[i+1]),n=n?n.split("-"):null;e>0;){if(a=I(s.slice(0,e).join("-")))return a;if(n&&n.length>=e&&Y(s,n,!0)>=e-1)break;e--}i++}return null}function I(t){var e=null;if(!Ue[t]&&Ge)try{e=ke.locale(),require("./locale/"+t),ke.locale(e)}catch(n){}return Ue[t]}function H(t,e){return e._isUTC?ke(t).zone(e._offset||0):ke(t).local()}function x(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function L(t){var e,n,a=t.match(He);for(e=0,n=a.length;n>e;e++)a[e]=fn[a[e]]?fn[a[e]]:x(a[e]);return function(s){var i="";for(e=0;n>e;e++)i+=a[e]instanceof Function?a[e].call(s,t):a[e];return i}}function P(t,e){return t.isValid()?(e=A(e,t.localeData()),cn[e]||(cn[e]=L(e)),cn[e](t)):t.localeData().invalidDate()}function A(t,e){function n(t){return e.longDateFormat(t)||t}var a=5;for(xe.lastIndex=0;a>=0&&xe.test(t);)t=t.replace(xe,n),xe.lastIndex=0,a-=1;return t}function Z(t,e){var n,a=e._strict;switch(t){case"Q":return qe;case"DDDD":return Re;case"YYYY":case"GGGG":case"gggg":return a?Xe:Ae;case"Y":case"G":case"g":return Ke;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return a?Be:Ze;case"S":if(a)return qe;case"SS":if(a)return Qe;case"SSS":if(a)return Re;case"DDD":return Pe;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return je;case"a":case"A":return e._locale._meridiemParse;case"X":return Ve;case"Z":case"ZZ":return Ee;case"T":return $e;case"SSSS":return Ne;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return a?Qe:Le;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Le;case"Do":return Je;default:return n=new RegExp(R(Q(t.replace("\\","")),"i"))}}function N(t){t=t||"";var e=t.match(Ee)||[],n=e[e.length-1]||[],a=(n+"").match(sn)||["-",0,0],s=+(60*a[1])+S(a[2]);return"+"===a[0]?-s:s}function j(t,e,n){var a,s=n._a;switch(t){case"Q":null!=e&&(s[ve]=3*(S(e)-1));break;case"M":case"MM":null!=e&&(s[ve]=S(e)-1);break;case"MMM":case"MMMM":a=n._locale.monthsParse(e),null!=a?s[ve]=a:n._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(s[be]=S(e));break;case"Do":null!=e&&(s[be]=S(parseInt(e,10)));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=S(e));break;case"YY":s[we]=ke.parseTwoDigitYear(e);break;case"YYYY":case"YYYYY":case"YYYYYY":s[we]=S(e);break;case"a":case"A":n._isPm=n._locale.isPM(e);break;case"H":case"HH":case"h":case"hh":s[Se]=S(e);break;case"m":case"mm":s[Te]=S(e);break;case"s":case"ss":s[Oe]=S(e);break;case"S":case"SS":case"SSS":case"SSSS":s[We]=S(1e3*("0."+e));break;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=N(e);break;case"dd":case"ddd":case"dddd":a=n._locale.weekdaysParse(e),null!=a?(n._w=n._w||{},n._w.d=a):n._pf.invalidWeekday=e;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":t=t.substr(0,1);case"gggg":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=S(e));break;case"gg":case"GG":n._w=n._w||{},n._w[t]=ke.parseTwoDigitYear(e)}}function E(t){var n,a,s,i,r,o,u;n=t._w,null!=n.GG||null!=n.W||null!=n.E?(r=1,o=4,a=e(n.GG,t._a[we],oe(ke(),1,4).year),s=e(n.W,1),i=e(n.E,1)):(r=t._locale._week.dow,o=t._locale._week.doy,a=e(n.gg,t._a[we],oe(ke(),r,o).year),s=e(n.w,1),null!=n.d?(i=n.d,r>i&&++s):i=null!=n.e?n.e+r:r),u=ue(a,s,i,o,r),t._a[we]=u.year,t._dayOfYear=u.dayOfYear}function $(t){var n,a,s,i,r=[];if(!t._d){for(s=J(t),t._w&&null==t._a[be]&&null==t._a[ve]&&E(t),t._dayOfYear&&(i=e(t._a[we],s[we]),t._dayOfYear>W(i)&&(t._pf._overflowDayOfYear=!0),a=ae(i,0,t._dayOfYear),t._a[ve]=a.getUTCMonth(),t._a[be]=a.getUTCDate()),n=0;3>n&&null==t._a[n];++n)t._a[n]=r[n]=s[n];for(;7>n;n++)t._a[n]=r[n]=null==t._a[n]?2===n?1:0:t._a[n];t._d=(t._useUTC?ae:ne).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()+t._tzm)}}function V(t){var e;t._d||(e=v(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],$(t))}function J(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function q(t){if(t._f===ke.ISO_8601)return B(t),void 0;t._a=[],t._pf.empty=!0;var e,n,a,s,i,r=""+t._i,o=r.length,u=0;for(a=A(t._f,t._locale).match(He)||[],e=0;e<a.length;e++)s=a[e],n=(r.match(Z(s,t))||[])[0],n&&(i=r.substr(0,r.indexOf(n)),i.length>0&&t._pf.unusedInput.push(i),r=r.slice(r.indexOf(n)+n.length),u+=n.length),fn[s]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(s),j(s,n,t)):t._strict&&!n&&t._pf.unusedTokens.push(s);t._pf.charsLeftOver=o-u,r.length>0&&t._pf.unusedInput.push(r),t._isPm&&t._a[Se]<12&&(t._a[Se]+=12),t._isPm===!1&&12===t._a[Se]&&(t._a[Se]=0),$(t),F(t)}function Q(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,a,s){return e||n||a||s})}function R(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function X(t){var e,n,s,i,r;if(0===t._f.length)return t._pf.invalidFormat=!0,t._d=new Date(0/0),void 0;for(i=0;i<t._f.length;i++)r=0,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._pf=a(),e._f=t._f[i],q(e),G(e)&&(r+=e._pf.charsLeftOver,r+=10*e._pf.unusedTokens.length,e._pf.score=r,(null==s||s>r)&&(s=r,n=e));h(t,n||e)}function B(t){var e,n,a=t._i,s=tn.exec(a);if(s){for(t._pf.iso=!0,e=0,n=nn.length;n>e;e++)if(nn[e][1].exec(a)){t._f=nn[e][0]+(s[6]||" ");break}for(e=0,n=an.length;n>e;e++)if(an[e][1].exec(a)){t._f+=an[e][0];break}a.match(Ee)&&(t._f+="Z"),q(t)}else t._isValid=!1}function K(t){B(t),t._isValid===!1&&(delete t._isValid,ke.createFromInputFallback(t))}function te(t,e){var n,a=[];for(n=0;n<t.length;++n)a.push(e(t[n],n));return a}function ee(e){var n,a=e._i;a===t?e._d=new Date:M(a)?e._d=new Date(+a):null!==(n=Ce.exec(a))?e._d=new Date(+n[1]):"string"==typeof a?K(e):g(a)?(e._a=te(a.slice(0),function(t){return parseInt(t,10)}),$(e)):"object"==typeof a?V(e):"number"==typeof a?e._d=new Date(a):ke.createFromInputFallback(e)}function ne(t,e,n,a,s,i,r){var o=new Date(t,e,n,a,s,i,r);return 1970>t&&o.setFullYear(t),o}function ae(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function se(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function ie(t,e,n,a,s){return s.relativeTime(e||1,!!n,t,a)}function re(t,e,n){var a=ke.duration(t).abs(),s=Me(a.as("s")),i=Me(a.as("m")),r=Me(a.as("h")),o=Me(a.as("d")),u=Me(a.as("M")),c=Me(a.as("y")),d=s<dn.s&&["s",s]||1===i&&["m"]||i<dn.m&&["mm",i]||1===r&&["h"]||r<dn.h&&["hh",r]||1===o&&["d"]||o<dn.d&&["dd",o]||1===u&&["M"]||u<dn.M&&["MM",u]||1===c&&["y"]||["yy",c];return d[2]=e,d[3]=+t>0,d[4]=n,ie.apply({},d)}function oe(t,e,n){var a,s=n-e,i=n-t.day();return i>s&&(i-=7),s-7>i&&(i+=7),a=ke(t).add(i,"d"),{week:Math.ceil(a.dayOfYear()/7),year:a.year()}}function ue(t,e,n,a,s){var i,r,o=ae(t,0,1).getUTCDay();return o=0===o?7:o,n=null!=n?n:s,i=s-o+(o>a?7:0)-(s>o?7:0),r=7*(e-1)+(n-s)+i+1,{year:r>0?t:t-1,dayOfYear:r>0?r:W(t-1)+r}}function ce(e){var n=e._i,a=e._f;return e._locale=e._locale||ke.localeData(e._l),null===n||a===t&&""===n?ke.invalid({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),ke.isMoment(n)?new d(n,!0):(a?g(a)?X(e):q(e):ee(e),new d(e)))}function de(t,e){var n,a;if(1===e.length&&g(e[0])&&(e=e[0]),!e.length)return ke();for(n=e[0],a=1;a<e.length;++a)e[a][t](n)&&(n=e[a]);return n}function le(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),T(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function he(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function fe(t,e,n){return"Month"===e?le(t,n):t._d["set"+(t._isUTC?"UTC":"")+e](n)}function me(t,e){return function(n){return null!=n?(fe(this,t,n),ke.updateOffset(this,e),this):he(this,t)}}function _e(t){return 400*t/146097}function pe(t){return 146097*t/400}function ye(t){ke.duration.fn[t]=function(){return this._data[t]}}for(var ke,De,ge="2.8.3",Me=Math.round,Ye=Object.prototype.hasOwnProperty,we=0,ve=1,be=2,Se=3,Te=4,Oe=5,We=6,Ue={},Fe=[],Ge="undefined"!=typeof module&&module.exports,Ce=/^\/?Date\((\-?\d+)/i,ze=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ie=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,He=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,xe=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Le=/\d\d?/,Pe=/\d{1,3}/,Ae=/\d{1,4}/,Ze=/[+\-]?\d{1,6}/,Ne=/\d+/,je=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ee=/Z|[\+\-]\d\d:?\d\d/gi,$e=/T/i,Ve=/[\+\-]?\d+(\.\d{1,3})?/,Je=/\d{1,2}/,qe=/\d/,Qe=/\d\d/,Re=/\d{3}/,Xe=/\d{4}/,Be=/[+-]?\d{6}/,Ke=/[+-]?\d+/,tn=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,en="YYYY-MM-DDTHH:mm:ssZ",nn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],an=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],sn=/([\+\-]|\d\d)/gi,rn=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),on={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},un={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},cn={},dn={s:45,m:45,h:22,d:26,M:11},ln="DDD w W M D d".split(" "),hn="M D H h m s w W".split(" "),fn={M:function(){return this.month()+1},MMM:function(t){return this.localeData().monthsShort(this,t)},MMMM:function(t){return this.localeData().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.localeData().weekdaysMin(this,t)},ddd:function(t){return this.localeData().weekdaysShort(this,t)},dddd:function(t){return this.localeData().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return _(this.year()%100,2)},YYYY:function(){return _(this.year(),4)},YYYYY:function(){return _(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+_(Math.abs(t),6)},gg:function(){return _(this.weekYear()%100,2)},gggg:function(){return _(this.weekYear(),4)},ggggg:function(){return _(this.weekYear(),5)},GG:function(){return _(this.isoWeekYear()%100,2)},GGGG:function(){return _(this.isoWeekYear(),4)},GGGGG:function(){return _(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return S(this.milliseconds()/100)},SS:function(){return _(S(this.milliseconds()/10),2)},SSS:function(){return _(this.milliseconds(),3)},SSSS:function(){return _(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+_(S(t/60),2)+":"+_(S(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+_(S(t/60),2)+_(S(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},mn={},_n=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];ln.length;)De=ln.pop(),fn[De+"o"]=u(fn[De],De);for(;hn.length;)De=hn.pop(),fn[De+De]=o(fn[De],2);fn.DDDD=o(fn.DDD,3),h(c.prototype,{set:function(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,n,a;for(this._monthsParse||(this._monthsParse=[]),e=0;12>e;e++)if(this._monthsParse[e]||(n=ke.utc([2e3,e]),a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[e]=new RegExp(a.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,a;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=ke([2e3,1]).day(e),a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(a.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==typeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,n,a){var s=this._relativeTime[n];return"function"==typeof s?s(t,e,n,a):s.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return oe(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),ke=function(e,n,s,i){var r;return"boolean"==typeof s&&(i=s,s=t),r={},r._isAMomentObject=!0,r._i=e,r._f=n,r._l=s,r._strict=i,r._isUTC=!1,r._pf=a(),ce(r)},ke.suppressDeprecationWarnings=!1,ke.createFromInputFallback=i("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i)}),ke.min=function(){var t=[].slice.call(arguments,0);return de("isBefore",t)},ke.max=function(){var t=[].slice.call(arguments,0);return de("isAfter",t)},ke.utc=function(e,n,s,i){var r;return"boolean"==typeof s&&(i=s,s=t),r={},r._isAMomentObject=!0,r._useUTC=!0,r._isUTC=!0,r._l=s,r._i=e,r._f=n,r._strict=i,r._pf=a(),ce(r).utc()},ke.unix=function(t){return ke(1e3*t)},ke.duration=function(t,e){var a,s,i,r,o=t,u=null;return ke.isDuration(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(u=ze.exec(t))?(a="-"===u[1]?-1:1,o={y:0,d:S(u[be])*a,h:S(u[Se])*a,m:S(u[Te])*a,s:S(u[Oe])*a,ms:S(u[We])*a}):(u=Ie.exec(t))?(a="-"===u[1]?-1:1,i=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*a},o={y:i(u[2]),M:i(u[3]),d:i(u[4]),h:i(u[5]),m:i(u[6]),s:i(u[7]),w:i(u[8])}):"object"==typeof o&&("from"in o||"to"in o)&&(r=y(ke(o.from),ke(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),s=new l(o),ke.isDuration(t)&&n(t,"_locale")&&(s._locale=t._locale),s},ke.version=ge,ke.defaultFormat=en,ke.ISO_8601=function(){},ke.momentProperties=Fe,ke.updateOffset=function(){},ke.relativeTimeThreshold=function(e,n){return dn[e]===t?!1:n===t?dn[e]:(dn[e]=n,!0)},ke.lang=i("moment.lang is deprecated. Use moment.locale instead.",function(t,e){return ke.locale(t,e)}),ke.locale=function(t,e){var n;return t&&(n="undefined"!=typeof e?ke.defineLocale(t,e):ke.localeData(t),n&&(ke.duration._locale=ke._locale=n)),ke._locale._abbr},ke.defineLocale=function(t,e){return null!==e?(e.abbr=t,Ue[t]||(Ue[t]=new c),Ue[t].set(e),ke.locale(t),Ue[t]):(delete Ue[t],null)},ke.langData=i("moment.langData is deprecated. Use moment.localeData instead.",function(t){return ke.localeData(t)}),ke.localeData=function(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ke._locale;if(!g(t)){if(e=I(t))return e;t=[t]}return z(t)},ke.isMoment=function(t){return t instanceof d||null!=t&&n(t,"_isAMomentObject")},ke.isDuration=function(t){return t instanceof l};for(De=_n.length-1;De>=0;--De)b(_n[De]);ke.normalizeUnits=function(t){return w(t)},ke.invalid=function(t){var e=ke.utc(0/0);return null!=t?h(e._pf,t):e._pf.userInvalidated=!0,e},ke.parseZone=function(){return ke.apply(null,arguments).parseZone()},ke.parseTwoDigitYear=function(t){return S(t)+(S(t)>68?1900:2e3)},h(ke.fn=d.prototype,{clone:function(){return ke(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=ke(this).utc();return 0<t.year()&&t.year()<=9999?P(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return G(this)},isDSTShifted:function(){return this._a?this.isValid()&&Y(this._a,(this._isUTC?ke.utc(this._a):ke(this._a)).toArray())>0:!1},parsingFlags:function(){return h({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(t){return this.zone(0,t)},local:function(t){return this._isUTC&&(this.zone(0,t),this._isUTC=!1,t&&this.add(this._dateTzOffset(),"m")),this},format:function(t){var e=P(this,t||ke.defaultFormat);return this.localeData().postformat(e)},add:k(1,"add"),subtract:k(-1,"subtract"),diff:function(t,e,n){var a,s,i,r=H(t,this),o=6e4*(this.zone()-r.zone());return e=w(e),"year"===e||"month"===e?(a=432e5*(this.daysInMonth()+r.daysInMonth()),s=12*(this.year()-r.year())+(this.month()-r.month()),i=this-ke(this).startOf("month")-(r-ke(r).startOf("month")),i-=6e4*(this.zone()-ke(this).startOf("month").zone()-(r.zone()-ke(r).startOf("month").zone())),s+=i/a,"year"===e&&(s/=12)):(a=this-r,s="second"===e?a/1e3:"minute"===e?a/6e4:"hour"===e?a/36e5:"day"===e?(a-o)/864e5:"week"===e?(a-o)/6048e5:a),n?s:m(s)},from:function(t,e){return ke.duration({to:this,from:t}).locale(this.locale()).humanize(!e)},fromNow:function(t){return this.from(ke(),t)},calendar:function(t){var e=t||ke(),n=H(e,this).startOf("day"),a=this.diff(n,"days",!0),s=-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse";return this.format(this.localeData().calendar(s,this))},isLeapYear:function(){return U(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=se(t,this.localeData()),this.add(t-e,"d")):e},month:me("Month",!0),startOf:function(t){switch(t=w(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=w(t),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},isAfter:function(t,e){return e=w("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=ke.isMoment(t)?t:ke(t),+this>+t):+this.clone().startOf(e)>+ke(t).startOf(e)},isBefore:function(t,e){return e=w("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=ke.isMoment(t)?t:ke(t),+t>+this):+this.clone().startOf(e)<+ke(t).startOf(e)},isSame:function(t,e){return e=w(e||"millisecond"),"millisecond"===e?(t=ke.isMoment(t)?t:ke(t),+this===+t):+this.clone().startOf(e)===+H(t,this).startOf(e)},min:i("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(t){return t=ke.apply(null,arguments),this>t?this:t}),max:i("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(t){return t=ke.apply(null,arguments),t>this?this:t}),zone:function(t,e){var n,a=this._offset||0;return null==t?this._isUTC?a:this._dateTzOffset():("string"==typeof t&&(t=N(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&e&&(n=this._dateTzOffset()),this._offset=t,this._isUTC=!0,null!=n&&this.subtract(n,"m"),a!==t&&(!e||this._changeInProgress?D(this,ke.duration(a-t,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ke.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this -},hasAlignedHourOffset:function(t){return t=t?ke(t).zone():0,(this.zone()-t)%60===0},daysInMonth:function(){return T(this.year(),this.month())},dayOfYear:function(t){var e=Me((ke(this).startOf("day")-ke(this).startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},quarter:function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},weekYear:function(t){var e=oe(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")},isoWeekYear:function(t){var e=oe(this,1,4).year;return null==t?e:this.add(t-e,"y")},week:function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},isoWeek:function(t){var e=oe(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},weekday:function(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},isoWeeksInYear:function(){return O(this.year(),1,4)},weeksInYear:function(){var t=this.localeData()._week;return O(this.year(),t.dow,t.doy)},get:function(t){return t=w(t),this[t]()},set:function(t,e){return t=w(t),"function"==typeof this[t]&&this[t](e),this},locale:function(e){var n;return e===t?this._locale._abbr:(n=ke.localeData(e),null!=n&&(this._locale=n),this)},lang:i("moment().lang() is deprecated. Use moment().localeData() instead.",function(e){return e===t?this.localeData():this.locale(e)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}}),ke.fn.millisecond=ke.fn.milliseconds=me("Milliseconds",!1),ke.fn.second=ke.fn.seconds=me("Seconds",!1),ke.fn.minute=ke.fn.minutes=me("Minutes",!1),ke.fn.hour=ke.fn.hours=me("Hours",!0),ke.fn.date=me("Date",!0),ke.fn.dates=i("dates accessor is deprecated. Use date instead.",me("Date",!0)),ke.fn.year=me("FullYear",!0),ke.fn.years=i("years accessor is deprecated. Use year instead.",me("FullYear",!0)),ke.fn.days=ke.fn.day,ke.fn.months=ke.fn.month,ke.fn.weeks=ke.fn.week,ke.fn.isoWeeks=ke.fn.isoWeek,ke.fn.quarters=ke.fn.quarter,ke.fn.toJSON=ke.fn.toISOString,h(ke.duration.fn=l.prototype,{_bubble:function(){var t,e,n,a=this._milliseconds,s=this._days,i=this._months,r=this._data,o=0;r.milliseconds=a%1e3,t=m(a/1e3),r.seconds=t%60,e=m(t/60),r.minutes=e%60,n=m(e/60),r.hours=n%24,s+=m(n/24),o=m(_e(s)),s-=m(pe(o)),i+=m(s/30),s%=30,o+=m(i/12),i%=12,r.days=s,r.months=i,r.years=o},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return m(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)},humanize:function(t){var e=re(this,!t,this.localeData());return t&&(e=this.localeData().pastFuture(+this,e)),this.localeData().postformat(e)},add:function(t,e){var n=ke.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=ke.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(t){return t=w(t),this[t.toLowerCase()+"s"]()},as:function(t){var e,n;if(t=w(t),"month"===t||"year"===t)return e=this._days+this._milliseconds/864e5,n=this._months+12*_e(e),"month"===t?n:n/12;switch(e=this._days+pe(this._months/12),t){case"week":return e/7+this._milliseconds/6048e5;case"day":return e+this._milliseconds/864e5;case"hour":return 24*e+this._milliseconds/36e5;case"minute":return 24*e*60+this._milliseconds/6e4;case"second":return 24*e*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*e*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+t)}},lang:ke.fn.lang,locale:ke.fn.locale,toIsoString:i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),n=Math.abs(this.days()),a=Math.abs(this.hours()),s=Math.abs(this.minutes()),i=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(a||s||i?"T":"")+(a?a+"H":"")+(s?s+"M":"")+(i?i+"S":""):"P0D"},localeData:function(){return this._locale}}),ke.duration.fn.toString=ke.duration.fn.toISOString;for(De in rn)n(rn,De)&&ye(De.toLowerCase());return ke.duration.fn.asMilliseconds=function(){return this.as("ms")},ke.duration.fn.asSeconds=function(){return this.as("s")},ke.duration.fn.asMinutes=function(){return this.as("m")},ke.duration.fn.asHours=function(){return this.as("h")},ke.duration.fn.asDays=function(){return this.as("d")},ke.duration.fn.asWeeks=function(){return this.as("weeks")},ke.duration.fn.asMonths=function(){return this.as("M")},ke.duration.fn.asYears=function(){return this.as("y")},ke.locale("en",{ordinal:function(t){var e=t%10,n=1===S(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),ke}.call(this),t.Utils.moment=n,t.datepicker}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-password.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-password.js deleted file mode 100644 index 38d0549e3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-password.js +++ /dev/null @@ -1,66 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-form-password", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('formPassword', { - - defaults: { - "lblShow": "Show", - "lblHide": "Hide" - }, - - boot: function() { - // init code - UI.$html.on("click.formpassword.uikit", "[data-uk-form-password]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("formPassword")) { - - e.preventDefault(); - - var obj = UI.formPassword(ele, UI.Utils.options(ele.attr("data-uk-form-password"))); - ele.trigger("click"); - } - }); - }, - - init: function() { - - var $this = this; - - this.on("click", function(e) { - - e.preventDefault(); - - if($this.input.length) { - var type = $this.input.attr("type"); - $this.input.attr("type", type=="text" ? "password":"text"); - $this.element.text($this.options[type=="text" ? "lblShow":"lblHide"]); - } - }); - - this.input = this.element.next("input").length ? this.element.next("input") : this.element.prev("input"); - this.element.text(this.options[this.input.is("[type='password']") ? "lblShow":"lblHide"]); - - this.element.data("formPassword", this); - } - }); - - return UI.formPassword; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-password.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-password.min.js deleted file mode 100644 index a57ba5082..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-password.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-password",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";return t.component("formPassword",{defaults:{lblShow:"Show",lblHide:"Hide"},boot:function(){t.$html.on("click.formpassword.uikit","[data-uk-form-password]",function(i){var e=t.$(this);if(!e.data("formPassword")){i.preventDefault();{t.formPassword(e,t.Utils.options(e.attr("data-uk-form-password")))}e.trigger("click")}})},init:function(){var t=this;this.on("click",function(i){if(i.preventDefault(),t.input.length){var e=t.input.attr("type");t.input.attr("type","text"==e?"password":"text"),t.element.text(t.options["text"==e?"lblShow":"lblHide"])}}),this.input=this.element.next("input").length?this.element.next("input"):this.element.prev("input"),this.element.text(this.options[this.input.is("[type='password']")?"lblShow":"lblHide"]),this.element.data("formPassword",this)}}),t.formPassword}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-select.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-select.js deleted file mode 100644 index ddafff856..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-select.js +++ /dev/null @@ -1,70 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-form-select", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('formSelect', { - - defaults: { - 'target': '>span:first', - 'activeClass': 'uk-active' - }, - - boot: function() { - // init code - UI.ready(function(context) { - - UI.$("[data-uk-form-select]", context).each(function(){ - - var ele = UI.$(this); - - if (!ele.data("formSelect")) { - var obj = UI.formSelect(ele, UI.Utils.options(ele.attr("data-uk-form-select"))); - } - }); - }); - }, - - init: function() { - var $this = this; - - this.target = this.find(this.options.target); - this.select = this.find('select'); - - // init + on change event - this.select.on("change", (function(){ - - var select = $this.select[0], fn = function(){ - - try { - $this.target.text(select.options[select.selectedIndex].text); - } catch(e) {} - - $this.element[$this.select.val() ? 'addClass':'removeClass']($this.options.activeClass); - - return fn; - }; - - return fn(); - })()); - - this.element.data("formSelect", this); - } - }); - - return UI.formSelect; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-select.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-select.min.js deleted file mode 100644 index fc09bfb3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/form-select.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-select",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("formSelect",{defaults:{target:">span:first",activeClass:"uk-active"},boot:function(){t.ready(function(e){t.$("[data-uk-form-select]",e).each(function(){var e=t.$(this);if(!e.data("formSelect")){t.formSelect(e,t.Utils.options(e.attr("data-uk-form-select")))}})})},init:function(){var t=this;this.target=this.find(this.options.target),this.select=this.find("select"),this.select.on("change",function(){var e=t.select[0],i=function(){try{t.target.text(e.options[e.selectedIndex].text)}catch(n){}return t.element[t.select.val()?"addClass":"removeClass"](t.options.activeClass),i};return i()}()),this.element.data("formSelect",this)}}),t.formSelect}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/grid.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/grid.js deleted file mode 100644 index 3a7ae7a33..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/grid.js +++ /dev/null @@ -1,524 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-grid", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('grid', { - - defaults: { - colwidth : 'auto', - animation : true, - duration : 300, - gutter : 0, - controls : false, - filter : false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$('[data-uk-grid]', context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("grid")) { - var plugin = UI.grid(ele, UI.Utils.options(ele.attr('data-uk-grid'))); - } - }); - }); - }, - - init: function() { - - var $this = this, gutter = String(this.options.gutter).trim().split(' '); - - this.gutterv = parseInt(gutter[0], 10); - this.gutterh = parseInt((gutter[1] || gutter[0]), 10); - - // make sure parent element has the right position property - this.element.css({'position': 'relative'}); - - this.controls = null; - - if (this.options.controls) { - - this.controls = UI.$(this.options.controls); - - // filter - this.controls.on('click', '[data-uk-filter]', function(e){ - e.preventDefault(); - $this.filter(UI.$(this).data('ukFilter')); - }); - - // sort - this.controls.on('click', '[data-uk-sort]', function(e){ - e.preventDefault(); - var cmd = UI.$(this).attr('data-uk-sort').split(':'); - $this.sort(cmd[0], cmd[1]); - }); - } - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ - - if ($this.currentfilter) { - $this.filter($this.currentfilter); - } else { - this.updateLayout(); - } - - }.bind(this), 100)); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) $this.updateLayout(); - }); - - UI.$html.on("changed.uk.dom", function(e) { - $this.updateLayout(); - }); - - if (this.options.filter !== false) { - this.filter(this.options.filter); - } else { - this.updateLayout(); - } - }, - - _prepareElements: function() { - - var children = this.element.children(':not([data-grid-prepared])'), css; - - // exit if no already prepared elements found - if (!children.length) { - return; - } - - css = { - 'position' : 'absolute', - 'box-sizing' : 'border-box', - 'width' : this.options.colwidth == 'auto' ? '' : this.options.colwidth - }; - - if (this.options.gutter) { - - css['padding-left'] = this.gutterh; - css['padding-bottom'] = this.gutterv; - - this.element.css('margin-left', this.gutterh * -1); - } - - children.attr('data-grid-prepared', 'true').css(css); - }, - - updateLayout: function(elements) { - - this._prepareElements(); - - elements = elements || this.element.children(':visible'); - - var $this = this, - children = elements, - maxwidth = this.element.width() + (2*this.gutterh) + 2, - left = 0, - top = 0, - positions = [], - - item, width, height, pos, aX, aY, i, z, max, size; - - this.trigger('beforeupdate.uk.grid', [children]); - - children.each(function(index){ - - size = getElementSize(this); - - item = UI.$(this); - width = size.outerWidth; - height = size.outerHeight; - left = 0; - top = 0; - - for (i=0,max=positions.length;i<max;i++) { - - pos = positions[i]; - - if (left <= pos.aX) { left = pos.aX; } - if (maxwidth < (left + width)) { left = 0; } - if (top <= pos.aY) { top = pos.aY; } - } - - positions.push({ - "ele" : item, - "top" : top, - "left" : left, - "width" : width, - "height" : height, - "aY" : (top + height), - "aX" : (left + width) - }); - }); - - var posPrev, maxHeight = 0; - - // fix top - for (i=0,max=positions.length;i<max;i++) { - - pos = positions[i]; - top = 0; - - for (z=0;z<i;z++) { - - posPrev = positions[z]; - - // (posPrev.left + 1) fixex 1px bug when using % based widths - if (pos.left < posPrev.aX && (posPrev.left +1) < pos.aX) { - top = posPrev.aY; - } - } - - pos.top = top; - pos.aY = top + pos.height; - - maxHeight = Math.max(maxHeight, pos.aY); - } - - maxHeight = maxHeight - this.gutterv; - - if (this.options.animation) { - - this.element.stop().animate({'height': maxHeight}, 100); - - positions.forEach(function(pos){ - pos.ele.stop().animate({"top": pos.top, "left": pos.left, opacity: 1}, this.options.duration); - }.bind(this)); - - } else { - - this.element.css('height', maxHeight); - - positions.forEach(function(pos){ - pos.ele.css({"top": pos.top, "left": pos.left, opacity: 1}); - }.bind(this)); - } - - // make sure to trigger possible scrollpies etc. - setTimeout(function() { - UI.$doc.trigger('scrolling.uk.document'); - }, 2 * this.options.duration * (this.options.animation ? 1:0)); - - this.trigger('afterupdate.uk.grid', [children]); - }, - - filter: function(filter) { - - this.currentfilter = filter; - - filter = filter || []; - - if (typeof(filter) === 'string') { - filter = filter.split(/,/).map(function(item){ return item.trim(); }); - } - - var $this = this, children = this.element.children(), elements = {"visible": [], "hidden": []}, visible, hidden; - - children.each(function(index){ - - var ele = UI.$(this), f = ele.attr('data-uk-filter'), infilter = filter.length ? false : true; - - if (f) { - - f = f.split(/,/).map(function(item){ return item.trim(); }); - - filter.forEach(function(item){ - if (f.indexOf(item) > -1) infilter = true; - }); - } - - elements[infilter ? "visible":"hidden"].push(ele); - }); - - // convert to jQuery collections - elements.hidden = UI.$(elements.hidden).map(function () {return this[0];}); - elements.visible = UI.$(elements.visible).map(function () {return this[0];}); - - elements.hidden.attr('aria-hidden', 'true').filter(':visible').fadeOut(this.options.duration); - elements.visible.attr('aria-hidden', 'false').filter(':hidden').css('opacity', 0).show(); - - $this.updateLayout(elements.visible); - - if (this.controls && this.controls.length) { - this.controls.find('[data-uk-filter]').removeClass('uk-active').filter('[data-uk-filter="'+filter+'"]').addClass('uk-active'); - } - }, - - sort: function(by, order){ - - order = order || 1; - - // covert from string (asc|desc) to number - if (typeof(order) === 'string') { - order = order.toLowerCase() == 'desc' ? -1 : 1; - } - - var elements = this.element.children(); - - elements.sort(function(a, b){ - - a = UI.$(a); - b = UI.$(b); - - return (b.data(by) || '') < (a.data(by) || '') ? order : (order*-1); - - }).appendTo(this.element); - - this.updateLayout(elements.filter(':visible')); - - if (this.controls && this.controls.length) { - this.controls.find('[data-uk-sort]').removeClass('uk-active').filter('[data-uk-sort="'+by+':'+(order == -1 ? 'desc':'asc')+'"]').addClass('uk-active'); - } - } - }); - - - /*! - * getSize v1.2.2 - * measure size of elements - * MIT license - * https://github.com/desandro/get-size - */ - var _getSize = (function(){ - - var prefixes = 'Webkit Moz ms Ms O'.split(' '); - var docElemStyle = document.documentElement.style; - - function getStyleProperty( propName ) { - if ( !propName ) { - return; - } - - // test standard property first - if ( typeof docElemStyle[ propName ] === 'string' ) { - return propName; - } - - // capitalize - propName = propName.charAt(0).toUpperCase() + propName.slice(1); - - // test vendor specific properties - var prefixed; - for ( var i=0, len = prefixes.length; i < len; i++ ) { - prefixed = prefixes[i] + propName; - if ( typeof docElemStyle[ prefixed ] === 'string' ) { - return prefixed; - } - } - } - - // -------------------------- helpers -------------------------- // - - // get a number from a string, not a percentage - function getStyleSize( value ) { - var num = parseFloat( value ); - // not a percent like '100%', and a number - var isValid = value.indexOf('%') === -1 && !isNaN( num ); - return isValid && num; - } - - function noop() {} - - var logError = typeof console === 'undefined' ? noop : function( message ) { - console.error( message ); - }; - - // -------------------------- measurements -------------------------- // - - var measurements = [ - 'paddingLeft', - 'paddingRight', - 'paddingTop', - 'paddingBottom', - 'marginLeft', - 'marginRight', - 'marginTop', - 'marginBottom', - 'borderLeftWidth', - 'borderRightWidth', - 'borderTopWidth', - 'borderBottomWidth' - ]; - - function getZeroSize() { - var size = { - width: 0, - height: 0, - innerWidth: 0, - innerHeight: 0, - outerWidth: 0, - outerHeight: 0 - }; - for ( var i=0, len = measurements.length; i < len; i++ ) { - var measurement = measurements[i]; - size[ measurement ] = 0; - } - return size; - } - - - // -------------------------- setup -------------------------- // - - var isSetup = false; - var getStyle, boxSizingProp, isBoxSizeOuter; - - /** - * setup vars and functions - * do it on initial getSize(), rather than on script load - * For Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=548397 - */ - function setup() { - // setup once - if ( isSetup ) { - return; - } - isSetup = true; - - var getComputedStyle = window.getComputedStyle; - getStyle = ( function() { - var getStyleFn = getComputedStyle ? - function( elem ) { - return getComputedStyle( elem, null ); - } : - function( elem ) { - return elem.currentStyle; - }; - - return function getStyle( elem ) { - var style = getStyleFn( elem ); - if ( !style ) { - logError( 'Style returned ' + style + - '. Are you running this code in a hidden iframe on Firefox? ' + - 'See http://bit.ly/getsizebug1' ); - } - return style; - }; - })(); - - // -------------------------- box sizing -------------------------- // - - boxSizingProp = getStyleProperty('boxSizing'); - - /** - * WebKit measures the outer-width on style.width on border-box elems - * IE & Firefox measures the inner-width - */ - if ( boxSizingProp ) { - var div = document.createElement('div'); - div.style.width = '200px'; - div.style.padding = '1px 2px 3px 4px'; - div.style.borderStyle = 'solid'; - div.style.borderWidth = '1px 2px 3px 4px'; - div.style[ boxSizingProp ] = 'border-box'; - - var body = document.body || document.documentElement; - body.appendChild( div ); - var style = getStyle( div ); - - isBoxSizeOuter = getStyleSize( style.width ) === 200; - body.removeChild( div ); - } - - } - - // -------------------------- getSize -------------------------- // - - function getSize( elem ) { - setup(); - - // use querySeletor if elem is string - if ( typeof elem === 'string' ) { - elem = document.querySelector( elem ); - } - - // do not proceed on non-objects - if ( !elem || typeof elem !== 'object' || !elem.nodeType ) { - return; - } - - var style = getStyle( elem ); - - // if hidden, everything is 0 - if ( style.display === 'none' ) { - return getZeroSize(); - } - - var size = {}; - size.width = elem.offsetWidth; - size.height = elem.offsetHeight; - - var isBorderBox = size.isBorderBox = !!( boxSizingProp && - style[ boxSizingProp ] && style[ boxSizingProp ] === 'border-box' ); - - // get all measurements - for ( var i=0, len = measurements.length; i < len; i++ ) { - var measurement = measurements[i]; - var value = style[ measurement ]; - - var num = parseFloat( value ); - // any 'auto', 'medium' value will be 0 - size[ measurement ] = !isNaN( num ) ? num : 0; - } - - var paddingWidth = size.paddingLeft + size.paddingRight; - var paddingHeight = size.paddingTop + size.paddingBottom; - var marginWidth = size.marginLeft + size.marginRight; - var marginHeight = size.marginTop + size.marginBottom; - var borderWidth = size.borderLeftWidth + size.borderRightWidth; - var borderHeight = size.borderTopWidth + size.borderBottomWidth; - - var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter; - - // overwrite width and height if we can get it from style - var styleWidth = getStyleSize( style.width ); - if ( styleWidth !== false ) { - size.width = styleWidth + - // add padding and border unless it's already including it - ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth ); - } - - var styleHeight = getStyleSize( style.height ); - if ( styleHeight !== false ) { - size.height = styleHeight + - // add padding and border unless it's already including it - ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight ); - } - - size.innerWidth = size.width - ( paddingWidth + borderWidth ); - size.innerHeight = size.height - ( paddingHeight + borderHeight ); - - size.outerWidth = size.width + marginWidth; - size.outerHeight = size.height + marginHeight; - - return size; - } - - return getSize; - - })(); - - function getElementSize(ele) { - return _getSize(ele); - } -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/grid.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/grid.min.js deleted file mode 100644 index ce3bbdea2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/grid.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-grid",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(t){return e(t)}t.component("grid",{defaults:{colwidth:"auto",animation:!0,duration:300,gutter:0,controls:!1,filter:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid]",i).each(function(){var i=t.$(this);if(!i.data("grid")){t.grid(i,t.Utils.options(i.attr("data-uk-grid")))}})})},init:function(){var i=this,e=String(this.options.gutter).trim().split(" ");this.gutterv=parseInt(e[0],10),this.gutterh=parseInt(e[1]||e[0],10),this.element.css({position:"relative"}),this.controls=null,this.options.controls&&(this.controls=t.$(this.options.controls),this.controls.on("click","[data-uk-filter]",function(e){e.preventDefault(),i.filter(t.$(this).data("ukFilter"))}),this.controls.on("click","[data-uk-sort]",function(e){e.preventDefault();var n=t.$(this).attr("data-uk-sort").split(":");i.sort(n[0],n[1])})),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){i.currentfilter?i.filter(i.currentfilter):this.updateLayout()}.bind(this),100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.updateLayout()}),t.$html.on("changed.uk.dom",function(){i.updateLayout()}),this.options.filter!==!1?this.filter(this.options.filter):this.updateLayout()},_prepareElements:function(){var t,i=this.element.children(":not([data-grid-prepared])");i.length&&(t={position:"absolute","box-sizing":"border-box",width:"auto"==this.options.colwidth?"":this.options.colwidth},this.options.gutter&&(t["padding-left"]=this.gutterh,t["padding-bottom"]=this.gutterv,this.element.css("margin-left",-1*this.gutterh)),i.attr("data-grid-prepared","true").css(t))},updateLayout:function(e){this._prepareElements(),e=e||this.element.children(":visible");var n,r,o,a,s,d,h,u,l=e,f=this.element.width()+2*this.gutterh+2,c=0,p=0,g=[];this.trigger("beforeupdate.uk.grid",[l]),l.each(function(){for(u=i(this),n=t.$(this),r=u.outerWidth,o=u.outerHeight,c=0,p=0,s=0,h=g.length;h>s;s++)a=g[s],c<=a.aX&&(c=a.aX),c+r>f&&(c=0),p<=a.aY&&(p=a.aY);g.push({ele:n,top:p,left:c,width:r,height:o,aY:p+o,aX:c+r})});var m,v=0;for(s=0,h=g.length;h>s;s++){for(a=g[s],p=0,d=0;s>d;d++)m=g[d],a.left<m.aX&&m.left+1<a.aX&&(p=m.aY);a.top=p,a.aY=p+a.height,v=Math.max(v,a.aY)}v-=this.gutterv,this.options.animation?(this.element.stop().animate({height:v},100),g.forEach(function(t){t.ele.stop().animate({top:t.top,left:t.left,opacity:1},this.options.duration)}.bind(this))):(this.element.css("height",v),g.forEach(function(t){t.ele.css({top:t.top,left:t.left,opacity:1})}.bind(this))),setTimeout(function(){t.$doc.trigger("scrolling.uk.document")},2*this.options.duration*(this.options.animation?1:0)),this.trigger("afterupdate.uk.grid",[l])},filter:function(i){this.currentfilter=i,i=i||[],"string"==typeof i&&(i=i.split(/,/).map(function(t){return t.trim()}));var e=this,n=this.element.children(),r={visible:[],hidden:[]};n.each(function(){var e=t.$(this),n=e.attr("data-uk-filter"),o=i.length?!1:!0;n&&(n=n.split(/,/).map(function(t){return t.trim()}),i.forEach(function(t){n.indexOf(t)>-1&&(o=!0)})),r[o?"visible":"hidden"].push(e)}),r.hidden=t.$(r.hidden).map(function(){return this[0]}),r.visible=t.$(r.visible).map(function(){return this[0]}),r.hidden.attr("aria-hidden","true").filter(":visible").fadeOut(this.options.duration),r.visible.attr("aria-hidden","false").filter(":hidden").css("opacity",0).show(),e.updateLayout(r.visible),this.controls&&this.controls.length&&this.controls.find("[data-uk-filter]").removeClass("uk-active").filter('[data-uk-filter="'+i+'"]').addClass("uk-active")},sort:function(i,e){e=e||1,"string"==typeof e&&(e="desc"==e.toLowerCase()?-1:1);var n=this.element.children();n.sort(function(n,r){return n=t.$(n),r=t.$(r),(r.data(i)||"")<(n.data(i)||"")?e:-1*e}).appendTo(this.element),this.updateLayout(n.filter(":visible")),this.controls&&this.controls.length&&this.controls.find("[data-uk-sort]").removeClass("uk-active").filter('[data-uk-sort="'+i+":"+(-1==e?"desc":"asc")+'"]').addClass("uk-active")}});var e=function(){function t(t){if(t){if("string"==typeof u[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var i,e=0,n=h.length;n>e;e++)if(i=h[e]+t,"string"==typeof u[i])return i}}function i(t){var i=parseFloat(t),e=-1===t.indexOf("%")&&!isNaN(i);return e&&i}function e(){}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0,e=f.length;e>i;i++){var n=f[i];t[n]=0}return t}function r(){if(!c){c=!0;var e=window.getComputedStyle;if(a=function(){var t=e?function(t){return e(t,null)}:function(t){return t.currentStyle};return function(i){var e=t(i);return e||l("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}}(),s=t("boxSizing")){var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style[s]="border-box";var r=document.body||document.documentElement;r.appendChild(n);var o=a(n);d=200===i(o.width),r.removeChild(n)}}}function o(t){if(r(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=a(t);if("none"===e.display)return n();var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var h=o.isBorderBox=!(!s||!e[s]||"border-box"!==e[s]),u=0,l=f.length;l>u;u++){var c=f[u],p=e[c],g=parseFloat(p);o[c]=isNaN(g)?0:g}var m=o.paddingLeft+o.paddingRight,v=o.paddingTop+o.paddingBottom,b=o.marginLeft+o.marginRight,y=o.marginTop+o.marginBottom,k=o.borderLeftWidth+o.borderRightWidth,w=o.borderTopWidth+o.borderBottomWidth,x=h&&d,W=i(e.width);W!==!1&&(o.width=W+(x?0:m+k));var L=i(e.height);return L!==!1&&(o.height=L+(x?0:v+w)),o.innerWidth=o.width-(m+k),o.innerHeight=o.height-(v+w),o.outerWidth=o.width+b,o.outerHeight=o.height+y,o}}var a,s,d,h="Webkit Moz ms Ms O".split(" "),u=document.documentElement.style,l="undefined"==typeof console?e:function(t){console.error(t)},f=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],c=!1;return o}()}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/htmleditor.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/htmleditor.js deleted file mode 100644 index 08586bd60..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/htmleditor.js +++ /dev/null @@ -1,621 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-htmleditor", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var editors = []; - - UI.component('htmleditor', { - - defaults: { - iframe : false, - mode : 'split', - markdown : false, - autocomplete : true, - height : 500, - maxsplitsize : 1000, - codemirror : { mode: 'htmlmixed', lineWrapping: true, dragDrop: false, autoCloseTags: true, matchTags: true, autoCloseBrackets: true, matchBrackets: true, indentUnit: 4, indentWithTabs: false, tabSize: 4, hintOptions: {completionSingle:false} }, - toolbar : [ 'bold', 'italic', 'strike', 'link', 'image', 'blockquote', 'listUl', 'listOl' ], - lblPreview : 'Preview', - lblCodeview : 'HTML', - lblMarkedview: 'Markdown' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$('textarea[data-uk-htmleditor]', context).each(function() { - - var editor = UI.$(this), obj; - - if (!editor.data('htmleditor')) { - obj = UI.htmleditor(editor, UI.Utils.options(editor.attr('data-uk-htmleditor'))); - } - }); - }); - }, - - init: function() { - - var $this = this, tpl = UI.components.htmleditor.template; - - this.CodeMirror = this.options.CodeMirror || CodeMirror; - this.buttons = {}; - - tpl = tpl.replace(/\{:lblPreview\}/g, this.options.lblPreview); - tpl = tpl.replace(/\{:lblCodeview\}/g, this.options.lblCodeview); - - this.htmleditor = UI.$(tpl); - this.content = this.htmleditor.find('.uk-htmleditor-content'); - this.toolbar = this.htmleditor.find('.uk-htmleditor-toolbar'); - this.preview = this.htmleditor.find('.uk-htmleditor-preview').children().eq(0); - this.code = this.htmleditor.find('.uk-htmleditor-code'); - - this.element.before(this.htmleditor).appendTo(this.code); - this.editor = this.CodeMirror.fromTextArea(this.element[0], this.options.codemirror); - this.editor.htmleditor = this; - this.editor.on('change', UI.Utils.debounce(function() { $this.render(); }, 150)); - this.editor.on('change', function() { - $this.editor.save(); - $this.element.trigger('input'); - }); - this.code.find('.CodeMirror').css('height', this.options.height); - - // iframe mode? - if (this.options.iframe) { - - this.iframe = UI.$('<iframe class="uk-htmleditor-iframe" frameborder="0" scrolling="auto" height="100" width="100%"></iframe>'); - this.preview.append(this.iframe); - - // must open and close document object to start using it! - this.iframe[0].contentWindow.document.open(); - this.iframe[0].contentWindow.document.close(); - - this.preview.container = UI.$(this.iframe[0].contentWindow.document).find('body'); - - // append custom stylesheet - if (typeof(this.options.iframe) === 'string') { - this.preview.container.parent().append('<link rel="stylesheet" href="'+this.options.iframe+'">'); - } - - } else { - this.preview.container = this.preview; - } - - UI.$win.on('resize load', UI.Utils.debounce(function() { $this.fit(); }, 200)); - - var previewContainer = this.iframe ? this.preview.container:$this.preview.parent(), - codeContent = this.code.find('.CodeMirror-sizer'), - codeScroll = this.code.find('.CodeMirror-scroll').on('scroll', UI.Utils.debounce(function() { - - if ($this.htmleditor.attr('data-mode') == 'tab') return; - - // calc position - var codeHeight = codeContent.height() - codeScroll.height(), - previewHeight = previewContainer[0].scrollHeight - ($this.iframe ? $this.iframe.height() : previewContainer.height()), - ratio = previewHeight / codeHeight, - previewPostition = codeScroll.scrollTop() * ratio; - - // apply new scroll - previewContainer.scrollTop(previewPostition); - - }, 10)); - - this.htmleditor.on('click', '.uk-htmleditor-button-code, .uk-htmleditor-button-preview', function(e) { - - e.preventDefault(); - - if ($this.htmleditor.attr('data-mode') == 'tab') { - - $this.htmleditor.find('.uk-htmleditor-button-code, .uk-htmleditor-button-preview').removeClass('uk-active').filter(this).addClass('uk-active'); - - $this.activetab = UI.$(this).hasClass('uk-htmleditor-button-code') ? 'code' : 'preview'; - $this.htmleditor.attr('data-active-tab', $this.activetab); - $this.editor.refresh(); - } - }); - - // toolbar actions - this.htmleditor.on('click', 'a[data-htmleditor-button]', function() { - - if (!$this.code.is(':visible')) return; - - $this.trigger('action.' + UI.$(this).data('htmleditor-button'), [$this.editor]); - }); - - this.preview.parent().css('height', this.code.height()); - - // autocomplete - if (this.options.autocomplete && this.CodeMirror.showHint && this.CodeMirror.hint && this.CodeMirror.hint.html) { - - this.editor.on('inputRead', UI.Utils.debounce(function() { - var doc = $this.editor.getDoc(), POS = doc.getCursor(), mode = $this.CodeMirror.innerMode($this.editor.getMode(), $this.editor.getTokenAt(POS).state).mode.name; - - if (mode == 'xml') { //html depends on xml - - var cur = $this.editor.getCursor(), token = $this.editor.getTokenAt(cur); - - if (token.string.charAt(0) == '<' || token.type == 'attribute') { - $this.CodeMirror.showHint($this.editor, $this.CodeMirror.hint.html, { completeSingle: false }); - } - } - }, 100)); - } - - this.debouncedRedraw = UI.Utils.debounce(function () { $this.redraw(); }, 5); - - this.on('init.uk.component', function() { - $this.redraw(); - }); - - this.element.attr('data-uk-check-display', 1).on('display.uk.check', function(e) { - if (this.htmleditor.is(":visible")) this.fit(); - }.bind(this)); - - editors.push(this); - }, - - addButton: function(name, button) { - this.buttons[name] = button; - }, - - addButtons: function(buttons) { - UI.$.extend(this.buttons, buttons); - }, - - replaceInPreview: function(regexp, callback) { - - var editor = this.editor, results = [], value = editor.getValue(), offset = -1; - - this.currentvalue = this.currentvalue.replace(regexp, function() { - - offset = value.indexOf(arguments[0], ++offset); - - var match = { - matches: arguments, - from : translateOffset(offset), - to : translateOffset(offset + arguments[0].length), - replace: function(value) { - editor.replaceRange(value, match.from, match.to); - }, - inRange: function(cursor) { - - if (cursor.line === match.from.line && cursor.line === match.to.line) { - return cursor.ch >= match.from.ch && cursor.ch < match.to.ch; - } - - return (cursor.line === match.from.line && cursor.ch >= match.from.ch) || - (cursor.line > match.from.line && cursor.line < match.to.line) || - (cursor.line === match.to.line && cursor.ch < match.to.ch); - } - }; - - var result = callback(match); - - if (!result) { - return arguments[0]; - } - - results.push(match); - return result; - }); - - function translateOffset(offset) { - var result = editor.getValue().substring(0, offset).split('\n'); - return { line: result.length - 1, ch: result[result.length - 1].length } - } - - return results; - }, - - _buildtoolbar: function() { - - if (!(this.options.toolbar && this.options.toolbar.length)) return; - - var $this = this, bar = []; - - this.toolbar.empty(); - - this.options.toolbar.forEach(function(button) { - if (!$this.buttons[button]) return; - - var title = $this.buttons[button].title ? $this.buttons[button].title : button; - - bar.push('<li><a data-htmleditor-button="'+button+'" title="'+title+'" data-uk-tooltip>'+$this.buttons[button].label+'</a></li>'); - }); - - this.toolbar.html(bar.join('\n')); - }, - - fit: function() { - - var mode = this.options.mode; - - if (mode == 'split' && this.htmleditor.width() < this.options.maxsplitsize) { - mode = 'tab'; - } - - if (mode == 'tab') { - if (!this.activetab) { - this.activetab = 'code'; - this.htmleditor.attr('data-active-tab', this.activetab); - } - - this.htmleditor.find('.uk-htmleditor-button-code, .uk-htmleditor-button-preview').removeClass('uk-active') - .filter(this.activetab == 'code' ? '.uk-htmleditor-button-code' : '.uk-htmleditor-button-preview') - .addClass('uk-active'); - } - - this.editor.refresh(); - this.preview.parent().css('height', this.code.height()); - - this.htmleditor.attr('data-mode', mode); - }, - - redraw: function() { - this._buildtoolbar(); - this.render(); - this.fit(); - }, - - getMode: function() { - return this.editor.getOption('mode'); - }, - - getCursorMode: function() { - var param = { mode: 'html'}; - this.trigger('cursorMode', [param]); - return param.mode; - }, - - render: function() { - - this.currentvalue = this.editor.getValue(); - - // empty code - if (!this.currentvalue) { - - this.element.val(''); - this.preview.container.html(''); - - return; - } - - this.trigger('render', [this]); - this.trigger('renderLate', [this]); - - this.preview.container.html(this.currentvalue); - }, - - addShortcut: function(name, callback) { - var map = {}; - if (!UI.$.isArray(name)) { - name = [name]; - } - - name.forEach(function(key) { - map[key] = callback; - }); - - this.editor.addKeyMap(map); - - return map; - }, - - addShortcutAction: function(action, shortcuts) { - var editor = this; - this.addShortcut(shortcuts, function() { - editor.element.trigger('action.' + action, [editor.editor]); - }); - }, - - replaceSelection: function(replace) { - - var text = this.editor.getSelection(); - - if (!text.length) { - - var cur = this.editor.getCursor(), - curLine = this.editor.getLine(cur.line), - start = cur.ch, - end = start; - - while (end < curLine.length && /[\w$]+/.test(curLine.charAt(end))) ++end; - while (start && /[\w$]+/.test(curLine.charAt(start - 1))) --start; - - var curWord = start != end && curLine.slice(start, end); - - if (curWord) { - this.editor.setSelection({ line: cur.line, ch: start}, { line: cur.line, ch: end }); - text = curWord; - } - } - - var html = replace.replace('$1', text); - - this.editor.replaceSelection(html, 'end'); - this.editor.focus(); - }, - - replaceLine: function(replace) { - var pos = this.editor.getDoc().getCursor(), - text = this.editor.getLine(pos.line), - html = replace.replace('$1', text); - - this.editor.replaceRange(html , { line: pos.line, ch: 0 }, { line: pos.line, ch: text.length }); - this.editor.setCursor({ line: pos.line, ch: html.length }); - this.editor.focus(); - }, - - save: function() { - this.editor.save(); - } - }); - - - UI.components.htmleditor.template = [ - '<div class="uk-htmleditor uk-clearfix" data-mode="split">', - '<div class="uk-htmleditor-navbar">', - '<ul class="uk-htmleditor-navbar-nav uk-htmleditor-toolbar"></ul>', - '<div class="uk-htmleditor-navbar-flip">', - '<ul class="uk-htmleditor-navbar-nav">', - '<li class="uk-htmleditor-button-code"><a>{:lblCodeview}</a></li>', - '<li class="uk-htmleditor-button-preview"><a>{:lblPreview}</a></li>', - '<li><a data-htmleditor-button="fullscreen"><i class="uk-icon-expand"></i></a></li>', - '</ul>', - '</div>', - '</div>', - '<div class="uk-htmleditor-content">', - '<div class="uk-htmleditor-code"></div>', - '<div class="uk-htmleditor-preview"><div></div></div>', - '</div>', - '</div>' - ].join(''); - - - UI.plugin('htmleditor', 'base', { - - init: function(editor) { - - editor.addButtons({ - - fullscreen: { - title : 'Fullscreen', - label : '<i class="uk-icon-expand"></i>' - }, - bold : { - title : 'Bold', - label : '<i class="uk-icon-bold"></i>' - }, - italic : { - title : 'Italic', - label : '<i class="uk-icon-italic"></i>' - }, - strike : { - title : 'Strikethrough', - label : '<i class="uk-icon-strikethrough"></i>' - }, - blockquote : { - title : 'Blockquote', - label : '<i class="uk-icon-quote-right"></i>' - }, - link : { - title : 'Link', - label : '<i class="uk-icon-link"></i>' - }, - image : { - title : 'Image', - label : '<i class="uk-icon-picture-o"></i>' - }, - listUl : { - title : 'Unordered List', - label : '<i class="uk-icon-list-ul"></i>' - }, - listOl : { - title : 'Ordered List', - label : '<i class="uk-icon-list-ol"></i>' - } - - }); - - addAction('bold', '<strong>$1</strong>'); - addAction('italic', '<em>$1</em>'); - addAction('strike', '<del>$1</del>'); - addAction('blockquote', '<blockquote><p>$1</p></blockquote>', 'replaceLine'); - addAction('link', '<a href="http://">$1</a>'); - addAction('image', '<img src="http://" alt="$1">'); - - var listfn = function() { - if (editor.getCursorMode() == 'html') { - - var cm = editor.editor, - pos = cm.getDoc().getCursor(true), - posend = cm.getDoc().getCursor(false); - - for (var i=pos.line; i<(posend.line+1);i++) { - cm.replaceRange('<li>'+cm.getLine(i)+'</li>', { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); - } - - cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); - cm.focus(); - } - } - - editor.on('action.listUl', function() { - listfn(); - }); - - editor.on('action.listOl', function() { - listfn(); - }); - - editor.htmleditor.on('click', 'a[data-htmleditor-button="fullscreen"]', function() { - editor.htmleditor.toggleClass('uk-htmleditor-fullscreen'); - - var wrap = editor.editor.getWrapperElement(); - - if (editor.htmleditor.hasClass('uk-htmleditor-fullscreen')) { - - editor.editor.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, width: wrap.style.width, height: wrap.style.height}; - wrap.style.width = ''; - wrap.style.height = editor.content.height()+'px'; - document.documentElement.style.overflow = 'hidden'; - - } else { - - document.documentElement.style.overflow = ''; - var info = editor.editor.state.fullScreenRestore; - wrap.style.width = info.width; wrap.style.height = info.height; - window.scrollTo(info.scrollLeft, info.scrollTop); - } - - setTimeout(function() { - editor.fit(); - UI.$win.trigger('resize'); - }, 50); - }); - - editor.addShortcut(['Ctrl-S', 'Cmd-S'], function() { editor.element.trigger('htmleditor-save', [editor]); }); - editor.addShortcutAction('bold', ['Ctrl-B', 'Cmd-B']); - - function addAction(name, replace, mode) { - editor.on('action.'+name, function() { - if (editor.getCursorMode() == 'html') { - editor[mode == 'replaceLine' ? 'replaceLine' : 'replaceSelection'](replace); - } - }); - } - } - }); - - UI.plugin('htmleditor', 'markdown', { - - init: function(editor) { - - var parser = editor.options.mdparser || marked || null; - - if (!parser) return; - - if (editor.options.markdown) { - enableMarkdown(); - } - - addAction('bold', '**$1**'); - addAction('italic', '*$1*'); - addAction('strike', '~~$1~~'); - addAction('blockquote', '> $1', 'replaceLine'); - addAction('link', '[$1](http://)'); - addAction('image', '![$1](http://)'); - - editor.on('action.listUl', function() { - - if (editor.getCursorMode() == 'markdown') { - - var cm = editor.editor, - pos = cm.getDoc().getCursor(true), - posend = cm.getDoc().getCursor(false); - - for (var i=pos.line; i<(posend.line+1);i++) { - cm.replaceRange('* '+cm.getLine(i), { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); - } - - cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); - cm.focus(); - } - }); - - editor.on('action.listOl', function() { - - if (editor.getCursorMode() == 'markdown') { - - var cm = editor.editor, - pos = cm.getDoc().getCursor(true), - posend = cm.getDoc().getCursor(false), - prefix = 1; - - if (pos.line > 0) { - var prevline = cm.getLine(pos.line-1), matches; - - if(matches = prevline.match(/^(\d+)\./)) { - prefix = Number(matches[1])+1; - } - } - - for (var i=pos.line; i<(posend.line+1);i++) { - cm.replaceRange(prefix+'. '+cm.getLine(i), { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); - prefix++; - } - - cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); - cm.focus(); - } - }); - - editor.on('renderLate', function() { - if (editor.editor.options.mode == 'gfm') { - editor.currentvalue = parser(editor.currentvalue); - } - }); - - editor.on('cursorMode', function(e, param) { - if (editor.editor.options.mode == 'gfm') { - var pos = editor.editor.getDoc().getCursor(); - if (!editor.editor.getTokenAt(pos).state.base.htmlState) { - param.mode = 'markdown'; - } - } - }); - - UI.$.extend(editor, { - - enableMarkdown: function() { - enableMarkdown() - this.render(); - }, - disableMarkdown: function() { - this.editor.setOption('mode', 'htmlmixed'); - this.htmleditor.find('.uk-htmleditor-button-code a').html(this.options.lblCodeview); - this.render(); - } - - }); - - // switch markdown mode on event - editor.on({ - enableMarkdown : function() { editor.enableMarkdown(); }, - disableMarkdown : function() { editor.disableMarkdown(); } - }); - - function enableMarkdown() { - editor.editor.setOption('mode', 'gfm'); - editor.htmleditor.find('.uk-htmleditor-button-code a').html(editor.options.lblMarkedview); - } - - function addAction(name, replace, mode) { - editor.on('action.'+name, function() { - if (editor.getCursorMode() == 'markdown') { - editor[mode == 'replaceLine' ? 'replaceLine' : 'replaceSelection'](replace); - } - }); - } - } - }); - - return UI.htmleditor; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/htmleditor.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/htmleditor.min.js deleted file mode 100644 index a33d65fbf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/htmleditor.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-htmleditor",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e=[];return t.component("htmleditor",{defaults:{iframe:!1,mode:"split",markdown:!1,autocomplete:!0,height:500,maxsplitsize:1e3,codemirror:{mode:"htmlmixed",lineWrapping:!0,dragDrop:!1,autoCloseTags:!0,matchTags:!0,autoCloseBrackets:!0,matchBrackets:!0,indentUnit:4,indentWithTabs:!1,tabSize:4,hintOptions:{completionSingle:!1}},toolbar:["bold","italic","strike","link","image","blockquote","listUl","listOl"],lblPreview:"Preview",lblCodeview:"HTML",lblMarkedview:"Markdown"},boot:function(){t.ready(function(e){t.$("textarea[data-uk-htmleditor]",e).each(function(){var e,i=t.$(this);i.data("htmleditor")||(e=t.htmleditor(i,t.Utils.options(i.attr("data-uk-htmleditor"))))})})},init:function(){var i=this,o=t.components.htmleditor.template;this.CodeMirror=this.options.CodeMirror||CodeMirror,this.buttons={},o=o.replace(/\{:lblPreview\}/g,this.options.lblPreview),o=o.replace(/\{:lblCodeview\}/g,this.options.lblCodeview),this.htmleditor=t.$(o),this.content=this.htmleditor.find(".uk-htmleditor-content"),this.toolbar=this.htmleditor.find(".uk-htmleditor-toolbar"),this.preview=this.htmleditor.find(".uk-htmleditor-preview").children().eq(0),this.code=this.htmleditor.find(".uk-htmleditor-code"),this.element.before(this.htmleditor).appendTo(this.code),this.editor=this.CodeMirror.fromTextArea(this.element[0],this.options.codemirror),this.editor.htmleditor=this,this.editor.on("change",t.Utils.debounce(function(){i.render()},150)),this.editor.on("change",function(){i.editor.save(),i.element.trigger("input")}),this.code.find(".CodeMirror").css("height",this.options.height),this.options.iframe?(this.iframe=t.$('<iframe class="uk-htmleditor-iframe" frameborder="0" scrolling="auto" height="100" width="100%"></iframe>'),this.preview.append(this.iframe),this.iframe[0].contentWindow.document.open(),this.iframe[0].contentWindow.document.close(),this.preview.container=t.$(this.iframe[0].contentWindow.document).find("body"),"string"==typeof this.options.iframe&&this.preview.container.parent().append('<link rel="stylesheet" href="'+this.options.iframe+'">')):this.preview.container=this.preview,t.$win.on("resize load",t.Utils.debounce(function(){i.fit()},200));var r=this.iframe?this.preview.container:i.preview.parent(),n=this.code.find(".CodeMirror-sizer"),l=this.code.find(".CodeMirror-scroll").on("scroll",t.Utils.debounce(function(){if("tab"!=i.htmleditor.attr("data-mode")){var t=n.height()-l.height(),e=r[0].scrollHeight-(i.iframe?i.iframe.height():r.height()),o=e/t,s=l.scrollTop()*o;r.scrollTop(s)}},10));this.htmleditor.on("click",".uk-htmleditor-button-code, .uk-htmleditor-button-preview",function(e){e.preventDefault(),"tab"==i.htmleditor.attr("data-mode")&&(i.htmleditor.find(".uk-htmleditor-button-code, .uk-htmleditor-button-preview").removeClass("uk-active").filter(this).addClass("uk-active"),i.activetab=t.$(this).hasClass("uk-htmleditor-button-code")?"code":"preview",i.htmleditor.attr("data-active-tab",i.activetab),i.editor.refresh())}),this.htmleditor.on("click","a[data-htmleditor-button]",function(){i.code.is(":visible")&&i.trigger("action."+t.$(this).data("htmleditor-button"),[i.editor])}),this.preview.parent().css("height",this.code.height()),this.options.autocomplete&&this.CodeMirror.showHint&&this.CodeMirror.hint&&this.CodeMirror.hint.html&&this.editor.on("inputRead",t.Utils.debounce(function(){var t=i.editor.getDoc(),e=t.getCursor(),o=i.CodeMirror.innerMode(i.editor.getMode(),i.editor.getTokenAt(e).state).mode.name;if("xml"==o){var r=i.editor.getCursor(),n=i.editor.getTokenAt(r);("<"==n.string.charAt(0)||"attribute"==n.type)&&i.CodeMirror.showHint(i.editor,i.CodeMirror.hint.html,{completeSingle:!1})}},100)),this.debouncedRedraw=t.Utils.debounce(function(){i.redraw()},5),this.on("init.uk.component",function(){i.redraw()}),this.element.attr("data-uk-check-display",1).on("display.uk.check",function(){this.htmleditor.is(":visible")&&this.fit()}.bind(this)),e.push(this)},addButton:function(t,e){this.buttons[t]=e},addButtons:function(e){t.$.extend(this.buttons,e)},replaceInPreview:function(t,e){function i(t){var e=o.getValue().substring(0,t).split("\n");return{line:e.length-1,ch:e[e.length-1].length}}var o=this.editor,r=[],n=o.getValue(),l=-1;return this.currentvalue=this.currentvalue.replace(t,function(){l=n.indexOf(arguments[0],++l);var t={matches:arguments,from:i(l),to:i(l+arguments[0].length),replace:function(e){o.replaceRange(e,t.from,t.to)},inRange:function(e){return e.line===t.from.line&&e.line===t.to.line?e.ch>=t.from.ch&&e.ch<t.to.ch:e.line===t.from.line&&e.ch>=t.from.ch||e.line>t.from.line&&e.line<t.to.line||e.line===t.to.line&&e.ch<t.to.ch}},s=e(t);return s?(r.push(t),s):arguments[0]}),r},_buildtoolbar:function(){if(this.options.toolbar&&this.options.toolbar.length){var t=this,e=[];this.toolbar.empty(),this.options.toolbar.forEach(function(i){if(t.buttons[i]){var o=t.buttons[i].title?t.buttons[i].title:i;e.push('<li><a data-htmleditor-button="'+i+'" title="'+o+'" data-uk-tooltip>'+t.buttons[i].label+"</a></li>")}}),this.toolbar.html(e.join("\n"))}},fit:function(){var t=this.options.mode;"split"==t&&this.htmleditor.width()<this.options.maxsplitsize&&(t="tab"),"tab"==t&&(this.activetab||(this.activetab="code",this.htmleditor.attr("data-active-tab",this.activetab)),this.htmleditor.find(".uk-htmleditor-button-code, .uk-htmleditor-button-preview").removeClass("uk-active").filter("code"==this.activetab?".uk-htmleditor-button-code":".uk-htmleditor-button-preview").addClass("uk-active")),this.editor.refresh(),this.preview.parent().css("height",this.code.height()),this.htmleditor.attr("data-mode",t)},redraw:function(){this._buildtoolbar(),this.render(),this.fit()},getMode:function(){return this.editor.getOption("mode")},getCursorMode:function(){var t={mode:"html"};return this.trigger("cursorMode",[t]),t.mode},render:function(){return this.currentvalue=this.editor.getValue(),this.currentvalue?(this.trigger("render",[this]),this.trigger("renderLate",[this]),this.preview.container.html(this.currentvalue),void 0):(this.element.val(""),this.preview.container.html(""),void 0)},addShortcut:function(e,i){var o={};return t.$.isArray(e)||(e=[e]),e.forEach(function(t){o[t]=i}),this.editor.addKeyMap(o),o},addShortcutAction:function(t,e){var i=this;this.addShortcut(e,function(){i.element.trigger("action."+t,[i.editor])})},replaceSelection:function(t){var e=this.editor.getSelection();if(!e.length){for(var i=this.editor.getCursor(),o=this.editor.getLine(i.line),r=i.ch,n=r;n<o.length&&/[\w$]+/.test(o.charAt(n));)++n;for(;r&&/[\w$]+/.test(o.charAt(r-1));)--r;var l=r!=n&&o.slice(r,n);l&&(this.editor.setSelection({line:i.line,ch:r},{line:i.line,ch:n}),e=l)}var s=t.replace("$1",e);this.editor.replaceSelection(s,"end"),this.editor.focus()},replaceLine:function(t){var e=this.editor.getDoc().getCursor(),i=this.editor.getLine(e.line),o=t.replace("$1",i);this.editor.replaceRange(o,{line:e.line,ch:0},{line:e.line,ch:i.length}),this.editor.setCursor({line:e.line,ch:o.length}),this.editor.focus()},save:function(){this.editor.save()}}),t.components.htmleditor.template=['<div class="uk-htmleditor uk-clearfix" data-mode="split">','<div class="uk-htmleditor-navbar">','<ul class="uk-htmleditor-navbar-nav uk-htmleditor-toolbar"></ul>','<div class="uk-htmleditor-navbar-flip">','<ul class="uk-htmleditor-navbar-nav">','<li class="uk-htmleditor-button-code"><a>{:lblCodeview}</a></li>','<li class="uk-htmleditor-button-preview"><a>{:lblPreview}</a></li>','<li><a data-htmleditor-button="fullscreen"><i class="uk-icon-expand"></i></a></li>',"</ul>","</div>","</div>",'<div class="uk-htmleditor-content">','<div class="uk-htmleditor-code"></div>','<div class="uk-htmleditor-preview"><div></div></div>',"</div>","</div>"].join(""),t.plugin("htmleditor","base",{init:function(e){function i(t,i,o){e.on("action."+t,function(){"html"==e.getCursorMode()&&e["replaceLine"==o?"replaceLine":"replaceSelection"](i)})}e.addButtons({fullscreen:{title:"Fullscreen",label:'<i class="uk-icon-expand"></i>'},bold:{title:"Bold",label:'<i class="uk-icon-bold"></i>'},italic:{title:"Italic",label:'<i class="uk-icon-italic"></i>'},strike:{title:"Strikethrough",label:'<i class="uk-icon-strikethrough"></i>'},blockquote:{title:"Blockquote",label:'<i class="uk-icon-quote-right"></i>'},link:{title:"Link",label:'<i class="uk-icon-link"></i>'},image:{title:"Image",label:'<i class="uk-icon-picture-o"></i>'},listUl:{title:"Unordered List",label:'<i class="uk-icon-list-ul"></i>'},listOl:{title:"Ordered List",label:'<i class="uk-icon-list-ol"></i>'}}),i("bold","<strong>$1</strong>"),i("italic","<em>$1</em>"),i("strike","<del>$1</del>"),i("blockquote","<blockquote><p>$1</p></blockquote>","replaceLine"),i("link",'<a href="http://">$1</a>'),i("image",'<img src="http://" alt="$1">');var o=function(){if("html"==e.getCursorMode()){for(var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),r=i.line;r<o.line+1;r++)t.replaceRange("<li>"+t.getLine(r)+"</li>",{line:r,ch:0},{line:r,ch:t.getLine(r).length});t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}};e.on("action.listUl",function(){o()}),e.on("action.listOl",function(){o()}),e.htmleditor.on("click",'a[data-htmleditor-button="fullscreen"]',function(){e.htmleditor.toggleClass("uk-htmleditor-fullscreen");var i=e.editor.getWrapperElement();if(e.htmleditor.hasClass("uk-htmleditor-fullscreen"))e.editor.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:i.style.width,height:i.style.height},i.style.width="",i.style.height=e.content.height()+"px",document.documentElement.style.overflow="hidden";else{document.documentElement.style.overflow="";var o=e.editor.state.fullScreenRestore;i.style.width=o.width,i.style.height=o.height,window.scrollTo(o.scrollLeft,o.scrollTop)}setTimeout(function(){e.fit(),t.$win.trigger("resize")},50)}),e.addShortcut(["Ctrl-S","Cmd-S"],function(){e.element.trigger("htmleditor-save",[e])}),e.addShortcutAction("bold",["Ctrl-B","Cmd-B"])}}),t.plugin("htmleditor","markdown",{init:function(e){function i(){e.editor.setOption("mode","gfm"),e.htmleditor.find(".uk-htmleditor-button-code a").html(e.options.lblMarkedview)}function o(t,i,o){e.on("action."+t,function(){"markdown"==e.getCursorMode()&&e["replaceLine"==o?"replaceLine":"replaceSelection"](i)})}var r=e.options.mdparser||marked||null;r&&(e.options.markdown&&i(),o("bold","**$1**"),o("italic","*$1*"),o("strike","~~$1~~"),o("blockquote","> $1","replaceLine"),o("link","[$1](http://)"),o("image","![$1](http://)"),e.on("action.listUl",function(){if("markdown"==e.getCursorMode()){for(var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),r=i.line;r<o.line+1;r++)t.replaceRange("* "+t.getLine(r),{line:r,ch:0},{line:r,ch:t.getLine(r).length});t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}}),e.on("action.listOl",function(){if("markdown"==e.getCursorMode()){var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),r=1;if(i.line>0){var n,l=t.getLine(i.line-1);(n=l.match(/^(\d+)\./))&&(r=Number(n[1])+1)}for(var s=i.line;s<o.line+1;s++)t.replaceRange(r+". "+t.getLine(s),{line:s,ch:0},{line:s,ch:t.getLine(s).length}),r++;t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}}),e.on("renderLate",function(){"gfm"==e.editor.options.mode&&(e.currentvalue=r(e.currentvalue))}),e.on("cursorMode",function(t,i){if("gfm"==e.editor.options.mode){var o=e.editor.getDoc().getCursor();e.editor.getTokenAt(o).state.base.htmlState||(i.mode="markdown")}}),t.$.extend(e,{enableMarkdown:function(){i(),this.render()},disableMarkdown:function(){this.editor.setOption("mode","htmlmixed"),this.htmleditor.find(".uk-htmleditor-button-code a").html(this.options.lblCodeview),this.render()}}),e.on({enableMarkdown:function(){e.enableMarkdown()},disableMarkdown:function(){e.disableMarkdown()}}))}}),t.htmleditor}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/lightbox.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/lightbox.js deleted file mode 100644 index 1abb1a541..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/lightbox.js +++ /dev/null @@ -1,544 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { // AMD - define("uikit-lightbox", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var modal, cache = {}; - - UI.component('lightbox', { - - defaults: { - "group" : false, - "duration" : 400, - "keyboard" : true - }, - - index : 0, - items : false, - - boot: function() { - - UI.$html.on('click', '[data-uk-lightbox]', function(e){ - - e.preventDefault(); - - var link = UI.$(this); - - if (!link.data("lightbox")) { - - UI.lightbox(link, UI.Utils.options(link.attr("data-uk-lightbox"))); - } - - link.data("lightbox").show(link); - }); - - // keyboard navigation - UI.$doc.on('keyup', function(e) { - - if (modal && modal.is(':visible') && modal.lightbox.options.keyboard) { - - e.preventDefault(); - - switch(e.keyCode) { - case 37: - modal.lightbox.previous(); - break; - case 39: - modal.lightbox.next(); - break; - } - } - }); - }, - - init: function() { - - var $this = this, siblings = []; - - this.index = 0; - this.siblings = []; - - if (this.element && this.element.length) { - - var domSiblings = this.options.group ? UI.$([ - '[data-uk-lightbox*="'+this.options.group+'"]', - "[data-uk-lightbox*='"+this.options.group+"']" - ].join(',')) : this.element; - - domSiblings.each(function() { - - var ele = UI.$(this); - - siblings.push({ - 'source': ele.attr('href'), - 'title' : ele.attr('title'), - 'type' : ele.attr("data-lightbox-type") || 'auto', - 'link' : ele - }); - }); - - this.index = domSiblings.index(this.element); - this.siblings = siblings; - - } else if (this.options.group && this.options.group.length) { - this.siblings = this.options.group; - } - - this.trigger('lightbox-init', [this]); - }, - - show: function(index) { - - this.modal = getModal(this); - - // stop previous animation - this.modal.dialog.stop(); - this.modal.content.stop(); - - var $this = this, promise = UI.$.Deferred(), data, item; - - index = index || 0; - - // index is a jQuery object or DOM element - if (typeof(index) == 'object') { - - this.siblings.forEach(function(s, idx){ - - if (index[0] === s.link[0]) { - index = idx; - } - }); - } - - // fix index if needed - if ( index < 0 ) { - index = this.siblings.length - index; - } else if (!this.siblings[index]) { - index = 0; - } - - item = this.siblings[index]; - - data = { - "lightbox" : $this, - "source" : item.source, - "type" : item.type, - "index" : index, - "promise" : promise, - "title" : item.title, - "item" : item, - "meta" : { - "content" : '', - "width" : null, - "height" : null - } - }; - - this.index = index; - - this.modal.content.empty(); - - if (!this.modal.is(':visible')) { - this.modal.content.css({width:'', height:''}).empty(); - this.modal.modal.show(); - } - - this.modal.loader.removeClass('uk-hidden'); - - promise.promise().done(function() { - - $this.data = data; - $this.fitSize(data); - - }).fail(function(){ - - data.meta.content = '<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>'; - data.meta.width = 400; - data.meta.height = 300; - - $this.data = data; - $this.fitSize(data); - }); - - $this.trigger('showitem.uk.lightbox', [data]); - }, - - fitSize: function() { - - var $this = this, - data = this.data, - pad = this.modal.dialog.outerWidth() - this.modal.dialog.width(), - dpadTop = parseInt(this.modal.dialog.css('margin-top'), 10), - dpadBot = parseInt(this.modal.dialog.css('margin-bottom'), 10), - dpad = dpadTop + dpadBot, - content = data.meta.content, - duration = $this.options.duration; - - if (this.siblings.length > 1) { - - content = [ - content, - '<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>', - '<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>' - ].join(''); - } - - // calculate width - var tmp = UI.$('<div>&nbsp;</div>').css({ - 'opacity' : 0, - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'width' : '100%', - 'max-width' : $this.modal.dialog.css('max-width'), - 'padding' : $this.modal.dialog.css('padding'), - 'margin' : $this.modal.dialog.css('margin') - }), maxwidth, maxheight, w = data.meta.width, h = data.meta.height; - - tmp.appendTo('body').width(); - - maxwidth = tmp.width(); - maxheight = window.innerHeight - dpad; - - tmp.remove(); - - this.modal.dialog.find('.uk-modal-caption').remove(); - - if (data.title) { - this.modal.dialog.append('<div class="uk-modal-caption">'+data.title+'</div>'); - maxheight -= this.modal.dialog.find('.uk-modal-caption').outerHeight(); - } - - if (maxwidth < data.meta.width) { - - h = Math.floor( h * (maxwidth / w) ); - w = maxwidth; - } - - if (maxheight < h) { - - h = Math.floor(maxheight); - w = Math.ceil(data.meta.width * (maxheight/data.meta.height)); - } - - this.modal.content.css('opacity', 0).width(w).html(content); - - if (data.type == 'iframe') { - this.modal.content.find('iframe:first').height(h); - } - - var dh = h + pad, - t = Math.floor(window.innerHeight/2 - dh/2) - dpad; - - if (t < 0) { t = 0; } - - this.modal.closer.addClass('uk-hidden'); - - if ($this.modal.data('mwidth') == w && $this.modal.data('mheight') == h) { - duration = 0; - } - - this.modal.dialog.animate({width: w + pad, height: h + pad, top: t }, duration, 'swing', function() { - $this.modal.loader.addClass('uk-hidden'); - $this.modal.content.css({width:''}).animate({'opacity': 1}, function() { - $this.modal.closer.removeClass('uk-hidden'); - }); - - $this.modal.data({'mwidth': w, 'mheight': h}); - }); - }, - - next: function() { - this.show(this.siblings[(this.index+1)] ? (this.index+1) : 0); - }, - - previous: function() { - this.show(this.siblings[(this.index-1)] ? (this.index-1) : this.siblings.length-1); - } - }); - - - // Plugins - - UI.plugin('lightbox', 'image', { - - init: function(lightbox) { - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - if (data.type == 'image' || data.source && data.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)) { - - var resolve = function(source, width, height) { - - data.meta = { - "content" : '<img class="uk-responsive-width" width="'+width+'" height="'+height+'" src ="'+source+'">', - "width" : width, - "height" : height - }; - - data.type = 'image'; - - data.promise.resolve(); - }; - - if (!cache[data.source]) { - - var img = new Image(); - - img.onerror = function(){ - data.promise.reject('Loading image failed'); - }; - - img.onload = function(){ - cache[data.source] = {width: img.width, height: img.height}; - resolve(data.source, cache[data.source].width, cache[data.source].height); - }; - - img.src = data.source; - - } else { - resolve(data.source, cache[data.source].width, cache[data.source].height); - } - } - }); - } - }); - - UI.plugin("lightbox", "youtube", { - - init: function(lightbox) { - - var youtubeRegExp = /(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/, - youtubeRegExpShort = /youtu\.be\/(.*)/; - - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - var id, matches, resolve = function(id, width, height) { - - data.meta = { - 'content': '<iframe src="//www.youtube.com/embed/'+id+'" width="'+width+'" height="'+height+'" style="max-width:100%;"></iframe>', - 'width': width, - 'height': height - }; - - data.type = 'iframe'; - - data.promise.resolve(); - }; - - if (matches = data.source.match(youtubeRegExp)) { - id = matches[2]; - } - - if (matches = data.source.match(youtubeRegExpShort)) { - id = matches[1]; - } - - if (id) { - - if(!cache[id]) { - - var img = new Image(); - - img.onerror = function(){ - cache[id] = {width:640, height:320}; - resolve(id, cache[id].width, cache[id].height); - }; - - img.onload = function(){ - cache[id] = {width:img.width, height:img.height}; - resolve(id, img.width, img.height); - }; - - img.src = '//img.youtube.com/vi/'+id+'/0.jpg'; - - } else { - resolve(id, cache[id].width, cache[id].height); - } - - e.stopImmediatePropagation(); - } - }); - } - }); - - - UI.plugin("lightbox", "vimeo", { - - init: function(lightbox) { - - var regex = /(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/, matches; - - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - var id, resolve = function(id, width, height) { - - data.meta = { - 'content': '<iframe src="//player.vimeo.com/video/'+id+'" width="'+width+'" height="'+height+'" style="width:100%;box-sizing:border-box;"></iframe>', - 'width': width, - 'height': height - }; - - data.type = 'iframe'; - - data.promise.resolve(); - }; - - if (matches = data.source.match(regex)) { - - id = matches[2]; - - if(!cache[id]) { - - UI.$.ajax({ - type : 'GET', - url : 'http://vimeo.com/api/oembed.json?url=' + encodeURI(data.source), - jsonp : 'callback', - dataType : 'jsonp', - success : function(data) { - cache[id] = {width:data.width, height:data.height}; - resolve(id, cache[id].width, cache[id].height); - } - }); - - } else { - resolve(id, cache[id].width, cache[id].height); - } - - e.stopImmediatePropagation(); - } - }); - } - }); - - UI.plugin("lightbox", "video", { - - init: function(lightbox) { - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - - var resolve = function(source, width, height) { - - data.meta = { - 'content': '<video class="uk-responsive-width" src="'+source+'" width="'+width+'" height="'+height+'" controls></video>', - 'width': width, - 'height': height - }; - - data.type = 'video'; - - data.promise.resolve(); - }; - - if (data.type == 'video' || data.source.match(/\.(mp4|webm|ogv)$/i)) { - - if (!cache[data.source]) { - - var vid = UI.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr('src', data.source).appendTo('body'); - - var idle = setInterval(function() { - - if (vid[0].videoWidth) { - clearInterval(idle); - cache[data.source] = {width: vid[0].videoWidth, height: vid[0].videoHeight}; - resolve(data.source, cache[data.source].width, cache[data.source].height); - vid.remove(); - } - - }, 20); - - } else { - resolve(data.source, cache[data.source].width, cache[data.source].height); - } - } - }); - } - }); - - - function getModal(lightbox) { - - if (modal) { - modal.lightbox = lightbox; - return modal; - } - - // init lightbox container - modal = UI.$([ - '<div class="uk-modal">', - '<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2 - 200)+'px;">', - '<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>', - '<div class="uk-lightbox-content"></div>', - '<div class="uk-modal-spinner uk-hidden"></div>', - '</div>', - '</div>' - ].join('')).appendTo('body'); - - modal.dialog = modal.find('.uk-modal-dialog:first'); - modal.content = modal.find('.uk-lightbox-content:first'); - modal.loader = modal.find('.uk-modal-spinner:first'); - modal.closer = modal.find('.uk-close.uk-close-alt'); - modal.modal = UI.modal(modal, {modal:false}); - - // next / previous - modal.on("swipeRight swipeLeft", function(e) { - modal.lightbox[e.type=='swipeLeft' ? 'next':'previous'](); - }).on("click", "[data-lightbox-previous], [data-lightbox-next]", function(e){ - e.preventDefault(); - modal.lightbox[UI.$(this).is('[data-lightbox-next]') ? 'next':'previous'](); - }); - - // destroy content on modal hide - modal.on("hide.uk.modal", function(e) { - modal.content.html(''); - }); - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(e){ - if (modal.is(':visible') && !UI.Utils.isFullscreen()) modal.lightbox.fitSize(); - }.bind(this), 100)); - - modal.lightbox = lightbox; - - return modal; - } - - UI.lightbox.create = function(items, options) { - - if (!items) return; - - var group = [], o; - - items.forEach(function(item) { - - group.push(UI.$.extend({ - 'source' : '', - 'title' : '', - 'type' : 'auto', - 'link' : false - }, (typeof(item) == 'string' ? {'source': item} : item))); - }); - - o = UI.lightbox(UI.$.extend({}, options, {'group':group})); - - return o; - }; - - return UI.lightbox; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/lightbox.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/lightbox.min.js deleted file mode 100644 index a6aeeb4e7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/lightbox.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-lightbox",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";function t(t){return e?(e.lightbox=t,e):(e=i.$(['<div class="uk-modal">','<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2-200)+'px;">','<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>','<div class="uk-lightbox-content"></div>','<div class="uk-modal-spinner uk-hidden"></div>',"</div>","</div>"].join("")).appendTo("body"),e.dialog=e.find(".uk-modal-dialog:first"),e.content=e.find(".uk-lightbox-content:first"),e.loader=e.find(".uk-modal-spinner:first"),e.closer=e.find(".uk-close.uk-close-alt"),e.modal=i.modal(e,{modal:!1}),e.on("swipeRight swipeLeft",function(i){e.lightbox["swipeLeft"==i.type?"next":"previous"]()}).on("click","[data-lightbox-previous], [data-lightbox-next]",function(t){t.preventDefault(),e.lightbox[i.$(this).is("[data-lightbox-next]")?"next":"previous"]()}),e.on("hide.uk.modal",function(){e.content.html("")}),i.$win.on("load resize orientationchange",i.Utils.debounce(function(){e.is(":visible")&&!i.Utils.isFullscreen()&&e.lightbox.fitSize()}.bind(this),100)),e.lightbox=t,e)}var e,o={};return i.component("lightbox",{defaults:{group:!1,duration:400,keyboard:!0},index:0,items:!1,boot:function(){i.$html.on("click","[data-uk-lightbox]",function(t){t.preventDefault();var e=i.$(this);e.data("lightbox")||i.lightbox(e,i.Utils.options(e.attr("data-uk-lightbox"))),e.data("lightbox").show(e)}),i.$doc.on("keyup",function(i){if(e&&e.is(":visible")&&e.lightbox.options.keyboard)switch(i.preventDefault(),i.keyCode){case 37:e.lightbox.previous();break;case 39:e.lightbox.next()}})},init:function(){var t=[];if(this.index=0,this.siblings=[],this.element&&this.element.length){var e=this.options.group?i.$(['[data-uk-lightbox*="'+this.options.group+'"]',"[data-uk-lightbox*='"+this.options.group+"']"].join(",")):this.element;e.each(function(){var e=i.$(this);t.push({source:e.attr("href"),title:e.attr("title"),type:e.attr("data-lightbox-type")||"auto",link:e})}),this.index=e.index(this.element),this.siblings=t}else this.options.group&&this.options.group.length&&(this.siblings=this.options.group);this.trigger("lightbox-init",[this])},show:function(e){this.modal=t(this),this.modal.dialog.stop(),this.modal.content.stop();var o,n,s=this,h=i.$.Deferred();e=e||0,"object"==typeof e&&this.siblings.forEach(function(i,t){e[0]===i.link[0]&&(e=t)}),0>e?e=this.siblings.length-e:this.siblings[e]||(e=0),n=this.siblings[e],o={lightbox:s,source:n.source,type:n.type,index:e,promise:h,title:n.title,item:n,meta:{content:"",width:null,height:null}},this.index=e,this.modal.content.empty(),this.modal.is(":visible")||(this.modal.content.css({width:"",height:""}).empty(),this.modal.modal.show()),this.modal.loader.removeClass("uk-hidden"),h.promise().done(function(){s.data=o,s.fitSize(o)}).fail(function(){o.meta.content='<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>',o.meta.width=400,o.meta.height=300,s.data=o,s.fitSize(o)}),s.trigger("showitem.uk.lightbox",[o])},fitSize:function(){var t=this,e=this.data,o=this.modal.dialog.outerWidth()-this.modal.dialog.width(),n=parseInt(this.modal.dialog.css("margin-top"),10),s=parseInt(this.modal.dialog.css("margin-bottom"),10),h=n+s,a=e.meta.content,d=t.options.duration;this.siblings.length>1&&(a=[a,'<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>','<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>'].join(""));var l,r,u=i.$("<div>&nbsp;</div>").css({opacity:0,position:"absolute",top:0,left:0,width:"100%","max-width":t.modal.dialog.css("max-width"),padding:t.modal.dialog.css("padding"),margin:t.modal.dialog.css("margin")}),c=e.meta.width,g=e.meta.height;u.appendTo("body").width(),l=u.width(),r=window.innerHeight-h,u.remove(),this.modal.dialog.find(".uk-modal-caption").remove(),e.title&&(this.modal.dialog.append('<div class="uk-modal-caption">'+e.title+"</div>"),r-=this.modal.dialog.find(".uk-modal-caption").outerHeight()),l<e.meta.width&&(g=Math.floor(g*(l/c)),c=l),g>r&&(g=Math.floor(r),c=Math.ceil(e.meta.width*(r/e.meta.height))),this.modal.content.css("opacity",0).width(c).html(a),"iframe"==e.type&&this.modal.content.find("iframe:first").height(g);var m=g+o,p=Math.floor(window.innerHeight/2-m/2)-h;0>p&&(p=0),this.modal.closer.addClass("uk-hidden"),t.modal.data("mwidth")==c&&t.modal.data("mheight")==g&&(d=0),this.modal.dialog.animate({width:c+o,height:g+o,top:p},d,"swing",function(){t.modal.loader.addClass("uk-hidden"),t.modal.content.css({width:""}).animate({opacity:1},function(){t.modal.closer.removeClass("uk-hidden")}),t.modal.data({mwidth:c,mheight:g})})},next:function(){this.show(this.siblings[this.index+1]?this.index+1:0)},previous:function(){this.show(this.siblings[this.index-1]?this.index-1:this.siblings.length-1)}}),i.plugin("lightbox","image",{init:function(i){i.on("showitem.uk.lightbox",function(i,t){if("image"==t.type||t.source&&t.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)){var e=function(i,e,o){t.meta={content:'<img class="uk-responsive-width" width="'+e+'" height="'+o+'" src ="'+i+'">',width:e,height:o},t.type="image",t.promise.resolve()};if(o[t.source])e(t.source,o[t.source].width,o[t.source].height);else{var n=new Image;n.onerror=function(){t.promise.reject("Loading image failed")},n.onload=function(){o[t.source]={width:n.width,height:n.height},e(t.source,o[t.source].width,o[t.source].height)},n.src=t.source}}})}}),i.plugin("lightbox","youtube",{init:function(i){var t=/(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/,e=/youtu\.be\/(.*)/;i.on("showitem.uk.lightbox",function(i,n){var s,h,a=function(i,t,e){n.meta={content:'<iframe src="//www.youtube.com/embed/'+i+'" width="'+t+'" height="'+e+'" style="max-width:100%;"></iframe>',width:t,height:e},n.type="iframe",n.promise.resolve()};if((h=n.source.match(t))&&(s=h[2]),(h=n.source.match(e))&&(s=h[1]),s){if(o[s])a(s,o[s].width,o[s].height);else{var d=new Image;d.onerror=function(){o[s]={width:640,height:320},a(s,o[s].width,o[s].height)},d.onload=function(){o[s]={width:d.width,height:d.height},a(s,d.width,d.height)},d.src="//img.youtube.com/vi/"+s+"/0.jpg"}i.stopImmediatePropagation()}})}}),i.plugin("lightbox","vimeo",{init:function(t){var e,n=/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/;t.on("showitem.uk.lightbox",function(t,s){var h,a=function(i,t,e){s.meta={content:'<iframe src="//player.vimeo.com/video/'+i+'" width="'+t+'" height="'+e+'" style="width:100%;box-sizing:border-box;"></iframe>',width:t,height:e},s.type="iframe",s.promise.resolve()};(e=s.source.match(n))&&(h=e[2],o[h]?a(h,o[h].width,o[h].height):i.$.ajax({type:"GET",url:"http://vimeo.com/api/oembed.json?url="+encodeURI(s.source),jsonp:"callback",dataType:"jsonp",success:function(i){o[h]={width:i.width,height:i.height},a(h,o[h].width,o[h].height)}}),t.stopImmediatePropagation())})}}),i.plugin("lightbox","video",{init:function(t){t.on("showitem.uk.lightbox",function(t,e){var n=function(i,t,o){e.meta={content:'<video class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+o+'" controls></video>',width:t,height:o},e.type="video",e.promise.resolve()};if("video"==e.type||e.source.match(/\.(mp4|webm|ogv)$/i))if(o[e.source])n(e.source,o[e.source].width,o[e.source].height);else var s=i.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr("src",e.source).appendTo("body"),h=setInterval(function(){s[0].videoWidth&&(clearInterval(h),o[e.source]={width:s[0].videoWidth,height:s[0].videoHeight},n(e.source,o[e.source].width,o[e.source].height),s.remove())},20)})}}),i.lightbox.create=function(t,e){if(t){var o,n=[];return t.forEach(function(t){n.push(i.$.extend({source:"",title:"",type:"auto",link:!1},"string"==typeof t?{source:t}:t))}),o=i.lightbox(i.$.extend({},e,{group:n}))}},i.lightbox}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/nestable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/nestable.js deleted file mode 100644 index a7f423f15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/nestable.js +++ /dev/null @@ -1,625 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* - * Based on Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/ - */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-nestable", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var hasTouch = 'ontouchstart' in window, - html = UI.$html, - touchedlists = [], - $win = UI.$win, - draggingElement, dragSource; - - var eStart = hasTouch ? 'touchstart' : 'mousedown', - eMove = hasTouch ? 'touchmove' : 'mousemove', - eEnd = hasTouch ? 'touchend' : 'mouseup', - eCancel = hasTouch ? 'touchcancel' : 'mouseup'; - - - UI.component('nestable', { - - defaults: { - listBaseClass : 'uk-nestable', - listClass : 'uk-nestable-list', - listItemClass : 'uk-nestable-item', - dragClass : 'uk-nestable-dragged', - movingClass : 'uk-nestable-moving', - handleClass : '', - collapsedClass : 'uk-collapsed', - placeholderClass: 'uk-nestable-placeholder', - noDragClass : 'uk-nestable-nodrag', - group : false, - maxDepth : 10, - threshold : 20, - idlethreshold : 10 - }, - - boot: function() { - - // adjust document scrolling - UI.$html.on('mousemove touchmove', function(e) { - - if (draggingElement) { - - var top = draggingElement.offset().top; - - if (top < UI.$win.scrollTop()) { - UI.$win.scrollTop(UI.$win.scrollTop() - Math.ceil(draggingElement.height()/2)); - } else if ( (top + draggingElement.height()) > (window.innerHeight + UI.$win.scrollTop()) ) { - UI.$win.scrollTop(UI.$win.scrollTop() + Math.ceil(draggingElement.height()/2)); - } - } - }); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-nestable]", context).each(function(){ - - var ele = UI.$(this); - - if (!ele.data("nestable")) { - UI.nestable(ele, UI.Utils.options(ele.attr("data-uk-nestable"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - Object.keys(this.options).forEach(function(key){ - - if(String(key).indexOf('Class')!=-1) { - $this.options['_'+key] = '.' + $this.options[key]; - } - }); - - this.find(this.options._listItemClass).find(">ul").addClass(this.options.listClass); - - this.checkEmptyList(); - - this.reset(); - this.element.data('nestable-group', this.options.group || UI.Utils.uid('nestable-group')); - - this.find(this.options._listItemClass).each(function() { - $this.setParent(UI.$(this)); - }); - - this.on('click', '[data-nestable-action]', function(e) { - - if ($this.dragEl || (!hasTouch && e.button !== 0)) { - return; - } - - e.preventDefault(); - - var target = UI.$(e.currentTarget), - action = target.data('nestableAction'), - item = target.closest($this.options._listItemClass); - - if (action === 'collapse') { - $this.collapseItem(item); - } - if (action === 'expand') { - $this.expandItem(item); - } - if (action === 'toggle') { - $this.toggleItem(item); - } - }); - - var onStartEvent = function(e) { - - var handle = UI.$(e.target); - - if (e.target === $this.element[0]) { - return; - } - - if (handle.is($this.options._noDragClass) || handle.closest($this.options._noDragClass).length) { - return; - } - - if (handle.is('[data-nestable-action]') || handle.closest('[data-nestable-action]').length) { - return; - } - - if ($this.options.handleClass && !handle.hasClass($this.options.handleClass)) { - - if ($this.options.handleClass) { - handle = handle.closest($this.options._handleClass); - } - } - - if (!handle.length || $this.dragEl || (!hasTouch && e.button !== 0) || (hasTouch && e.touches.length !== 1)) { - return; - } - - if (e.originalEvent && e.originalEvent.touches) { - e = evt.originalEvent.touches[0]; - } - - $this.delayMove = function(evt) { - - evt.preventDefault(); - $this.dragStart(e); - $this.trigger('start.uk.nestable', [$this]); - - $this.delayMove = false; - }; - - $this.delayMove.x = parseInt(e.pageX, 10); - $this.delayMove.y = parseInt(e.pageY, 10); - $this.delayMove.threshold = $this.options.idlethreshold; - - e.preventDefault(); - }; - - var onMoveEvent = function(e) { - - if (e.originalEvent && e.originalEvent.touches) { - e = e.originalEvent.touches[0]; - } - - if ($this.delayMove && (Math.abs(e.pageX - $this.delayMove.x) > $this.delayMove.threshold || Math.abs(e.pageY - $this.delayMove.y) > $this.delayMove.threshold)) { - - if (!window.getSelection().toString()) { - $this.delayMove(e); - } else { - $this.delayMove = false; - } - } - - if ($this.dragEl) { - e.preventDefault(); - $this.dragMove(e); - $this.trigger('move.uk.nestable', [$this]); - } - }; - - var onEndEvent = function(e) { - - if ($this.dragEl) { - e.preventDefault(); - $this.dragStop(hasTouch ? e.touches[0] : e); - } - - draggingElement = false; - $this.delayMove = false; - }; - - if (hasTouch) { - this.element[0].addEventListener(eStart, onStartEvent, false); - window.addEventListener(eMove, onMoveEvent, false); - window.addEventListener(eEnd, onEndEvent, false); - window.addEventListener(eCancel, onEndEvent, false); - } else { - this.on(eStart, onStartEvent); - $win.on(eMove, onMoveEvent); - $win.on(eEnd, onEndEvent); - } - - }, - - serialize: function() { - - var data, - depth = 0, - list = this, - step = function(level, depth) { - - var array = [ ], items = level.children(list.options._listItemClass); - - items.each(function() { - - var li = UI.$(this), - item = {}, attribute, - sub = li.children(list.options._listClass); - - for (var i = 0; i < li[0].attributes.length; i++) { - attribute = li[0].attributes[i]; - if (attribute.name.indexOf('data-') === 0) { - item[attribute.name.substr(5)] = UI.Utils.str2json(attribute.value); - } - } - - if (sub.length) { - item.children = step(sub, depth + 1); - } - - array.push(item); - - }); - return array; - }; - - data = step(list.element, depth); - - return data; - }, - - list: function(options) { - - var data = [], - list = this, - depth = 0, - step = function(level, depth, parent) { - - var items = level.children(options._listItemClass); - - items.each(function(index) { - var li = UI.$(this), - item = UI.$.extend({parent_id: (parent ? parent : null), depth: depth, order: index}, li.data()), - sub = li.children(options._listClass); - - data.push(item); - - if (sub.length) { - step(sub, depth + 1, li.data(options.idProperty || 'id')); - } - }); - }; - - options = UI.$.extend({}, list.options, options); - - step(list.element, depth); - - return data; - }, - - reset: function() { - - this.mouse = { - offsetX : 0, - offsetY : 0, - startX : 0, - startY : 0, - lastX : 0, - lastY : 0, - nowX : 0, - nowY : 0, - distX : 0, - distY : 0, - dirAx : 0, - dirX : 0, - dirY : 0, - lastDirX : 0, - lastDirY : 0, - distAxX : 0, - distAxY : 0 - }; - this.moving = false; - this.dragEl = null; - this.dragRootEl = null; - this.dragDepth = 0; - this.hasNewRoot = false; - this.pointEl = null; - - for (var i=0; i<touchedlists.length; i++) { - this.checkEmptyList(touchedlists[i]); - } - - touchedlists = []; - }, - - toggleItem: function(li) { - this[li.hasClass(this.options.collapsedClass) ? "expandItem":"collapseItem"](li); - }, - - expandItem: function(li) { - li.removeClass(this.options.collapsedClass); - }, - - collapseItem: function(li) { - var lists = li.children(this.options._listClass); - if (lists.length) { - li.addClass(this.options.collapsedClass); - } - }, - - expandAll: function() { - var list = this; - this.find(list.options._listItemClass).each(function() { - list.expandItem(UI.$(this)); - }); - }, - - collapseAll: function() { - var list = this; - this.find(list.options._listItemClass).each(function() { - list.collapseItem(UI.$(this)); - }); - }, - - setParent: function(li) { - - if (li.children(this.options._listClass).length) { - li.addClass("uk-parent"); - } - }, - - unsetParent: function(li) { - li.removeClass('uk-parent '+this.options.collapsedClass); - li.children(this.options._listClass).remove(); - }, - - dragStart: function(e) { - - var mouse = this.mouse, - target = UI.$(e.target), - dragItem = target.closest(this.options._listItemClass), - offset = dragItem.offset(); - - this.placeEl = dragItem; - - mouse.offsetX = e.pageX - offset.left; - mouse.offsetY = e.pageY - offset.top; - - mouse.startX = mouse.lastX = offset.left; - mouse.startY = mouse.lastY = offset.top; - - this.dragRootEl = this.element; - - this.dragEl = UI.$('<ul></ul>').addClass(this.options.listClass + ' ' + this.options.dragClass).append(dragItem.clone()); - this.dragEl.css('width', dragItem.width()); - this.placeEl.addClass(this.options.placeholderClass); - - draggingElement = this.dragEl; - - this.tmpDragOnSiblings = [dragItem[0].previousSibling, dragItem[0].nextSibling]; - - UI.$body.append(this.dragEl); - - this.dragEl.css({ - left : offset.left, - top : offset.top - }); - - // total depth of dragging item - var i, depth, items = this.dragEl.find(this.options._listItemClass); - - for (i = 0; i < items.length; i++) { - depth = UI.$(items[i]).parents(this.options._listClass+','+this.options._listBaseClass).length; - if (depth > this.dragDepth) { - this.dragDepth = depth; - } - } - - html.addClass(this.options.movingClass); - }, - - dragStop: function(e) { - - var el = this.placeEl, - root = this.placeEl.parents(this.options._listBaseClass+':first'); - - this.placeEl.removeClass(this.options.placeholderClass); - this.dragEl.remove(); - - if (this.element[0] !== root[0]) { - - root.trigger('change.uk.nestable',[el, "added", root, root.data('nestable')]); - this.element.trigger('change.uk.nestable', [el, "removed", this.element, this]); - - } else { - this.element.trigger('change.uk.nestable',[el, "moved", this.element, this]); - } - - this.trigger('stop.uk.nestable', [this, el]); - - this.reset(); - - html.removeClass(this.options.movingClass); - }, - - dragMove: function(e) { - var list, parent, prev, next, depth, - opt = this.options, - mouse = this.mouse, - maxDepth = this.dragRootEl ? this.dragRootEl.data('nestable').options.maxDepth : opt.maxDepth; - - this.dragEl.css({ - left : e.pageX - mouse.offsetX, - top : e.pageY - mouse.offsetY - }); - - // mouse position last events - mouse.lastX = mouse.nowX; - mouse.lastY = mouse.nowY; - // mouse position this events - mouse.nowX = e.pageX; - mouse.nowY = e.pageY; - // distance mouse moved between events - mouse.distX = mouse.nowX - mouse.lastX; - mouse.distY = mouse.nowY - mouse.lastY; - // direction mouse was moving - mouse.lastDirX = mouse.dirX; - mouse.lastDirY = mouse.dirY; - // direction mouse is now moving (on both axis) - mouse.dirX = mouse.distX === 0 ? 0 : mouse.distX > 0 ? 1 : -1; - mouse.dirY = mouse.distY === 0 ? 0 : mouse.distY > 0 ? 1 : -1; - // axis mouse is now moving on - var newAx = Math.abs(mouse.distX) > Math.abs(mouse.distY) ? 1 : 0; - - // do nothing on first move - if (!mouse.moving) { - mouse.dirAx = newAx; - mouse.moving = true; - return; - } - - // calc distance moved on this axis (and direction) - if (mouse.dirAx !== newAx) { - mouse.distAxX = 0; - mouse.distAxY = 0; - } else { - mouse.distAxX += Math.abs(mouse.distX); - if (mouse.dirX !== 0 && mouse.dirX !== mouse.lastDirX) { - mouse.distAxX = 0; - } - mouse.distAxY += Math.abs(mouse.distY); - if (mouse.dirY !== 0 && mouse.dirY !== mouse.lastDirY) { - mouse.distAxY = 0; - } - } - mouse.dirAx = newAx; - - /** - * move horizontal - */ - if (mouse.dirAx && mouse.distAxX >= opt.threshold) { - // reset move distance on x-axis for new phase - mouse.distAxX = 0; - prev = this.placeEl.prev('li'); - - // increase horizontal level if previous sibling exists and is not collapsed - if (mouse.distX > 0 && prev.length && !prev.hasClass(opt.collapsedClass)) { - - // cannot increase level when item above is collapsed - list = prev.find(opt._listClass).last(); - - // check if depth limit has reached - depth = this.placeEl.parents(opt._listClass+','+opt._listBaseClass).length; - - if (depth + this.dragDepth <= maxDepth) { - - // create new sub-level if one doesn't exist - if (!list.length) { - list = UI.$('<ul/>').addClass(opt.listClass); - list.append(this.placeEl); - prev.append(list); - this.setParent(prev); - } else { - // else append to next level up - list = prev.children(opt._listClass).last(); - list.append(this.placeEl); - } - } - } - // decrease horizontal level - if (mouse.distX < 0) { - // we can't decrease a level if an item preceeds the current one - next = this.placeEl.next('li'); - if (!next.length) { - parent = this.placeEl.parent(); - this.placeEl.closest(opt._listItemClass).after(this.placeEl); - if (!parent.children().length) { - this.unsetParent(parent.parent()); - } - } - } - } - - var isEmpty = false; - - // find list item under cursor - var pointX = this.dragEl.offset().left - (window.pageXOffset || document.scrollLeft || 0), - pointY = e.pageY - (window.pageYOffset || document.documentElement.scrollTop); - this.pointEl = UI.$(document.elementFromPoint(pointX, pointY)); - - if (opt.handleClass && this.pointEl.hasClass(opt.handleClass)) { - - this.pointEl = this.pointEl.closest(opt._listItemClass); - - } else { - - var nestableitem = this.pointEl.closest(opt._listItemClass); - - if (nestableitem.length) { - this.pointEl = nestableitem; - } - } - - if (this.placeEl.find(this.pointEl).length) { - return; - } - - if (this.pointEl.data('nestable') && !this.pointEl.children().length) { - isEmpty = true; - this.checkEmptyList(this.pointEl); - } else if (!this.pointEl.length || !this.pointEl.hasClass(opt.listItemClass)) { - return; - } - - // find parent list of item under cursor - var pointElRoot = this.element, - tmpRoot = this.pointEl.closest(this.options._listBaseClass), - isNewRoot = pointElRoot[0] !== this.pointEl.closest(this.options._listBaseClass)[0]; - - /** - * move vertical - */ - if (!mouse.dirAx || isNewRoot || isEmpty) { - - // check if groups match if dragging over new root - if (isNewRoot && opt.group !== tmpRoot.data('nestable-group')) { - return; - } else { - touchedlists.push(pointElRoot); - } - - // check depth limit - depth = this.dragDepth - 1 + this.pointEl.parents(opt._listClass+','+opt._listBaseClass).length; - - if (depth > maxDepth) { - return; - } - - var before = e.pageY < (this.pointEl.offset().top + this.pointEl.height() / 2); - - parent = this.placeEl.parent(); - - if (isEmpty) { - this.pointEl.append(this.placeEl); - } else if (before) { - this.pointEl.before(this.placeEl); - } else { - this.pointEl.after(this.placeEl); - } - - if (!parent.children().length) { - if (!parent.data("nestable")) this.unsetParent(parent.parent()); - } - - this.checkEmptyList(this.dragRootEl); - this.checkEmptyList(pointElRoot); - - // parent root list has changed - if (isNewRoot) { - this.dragRootEl = tmpRoot; - this.hasNewRoot = this.element[0] !== this.dragRootEl[0]; - } - } - }, - - checkEmptyList: function(list) { - - list = list ? UI.$(list) : this.element; - - if (!list.children().length) { - list.html(''); - } - } - - }); - - return UI.nestable; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/nestable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/nestable.min.js deleted file mode 100644 index 30629de95..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/nestable.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var s;window.UIkit&&(s=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-nestable",["uikit"],function(){return s||t(UIkit)})}(function(t){"use strict";var s,e="ontouchstart"in window,i=t.$html,l=[],a=t.$win,n=e?"touchstart":"mousedown",o=e?"touchmove":"mousemove",h=e?"touchend":"mouseup",r=e?"touchcancel":"mouseup";return t.component("nestable",{defaults:{listBaseClass:"uk-nestable",listClass:"uk-nestable-list",listItemClass:"uk-nestable-item",dragClass:"uk-nestable-dragged",movingClass:"uk-nestable-moving",handleClass:"",collapsedClass:"uk-collapsed",placeholderClass:"uk-nestable-placeholder",noDragClass:"uk-nestable-nodrag",group:!1,maxDepth:10,threshold:20,idlethreshold:10},boot:function(){t.$html.on("mousemove touchmove",function(){if(s){var e=s.offset().top;e<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(s.height()/2)):e+s.height()>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(s.height()/2))}}),t.ready(function(s){t.$("[data-uk-nestable]",s).each(function(){var s=t.$(this);s.data("nestable")||t.nestable(s,t.Utils.options(s.attr("data-uk-nestable")))})})},init:function(){var i=this;Object.keys(this.options).forEach(function(t){-1!=String(t).indexOf("Class")&&(i.options["_"+t]="."+i.options[t])}),this.find(this.options._listItemClass).find(">ul").addClass(this.options.listClass),this.checkEmptyList(),this.reset(),this.element.data("nestable-group",this.options.group||t.Utils.uid("nestable-group")),this.find(this.options._listItemClass).each(function(){i.setParent(t.$(this))}),this.on("click","[data-nestable-action]",function(s){if(!i.dragEl&&(e||0===s.button)){s.preventDefault();var l=t.$(s.currentTarget),a=l.data("nestableAction"),n=l.closest(i.options._listItemClass);"collapse"===a&&i.collapseItem(n),"expand"===a&&i.expandItem(n),"toggle"===a&&i.toggleItem(n)}});var l=function(s){var l=t.$(s.target);s.target!==i.element[0]&&(l.is(i.options._noDragClass)||l.closest(i.options._noDragClass).length||l.is("[data-nestable-action]")||l.closest("[data-nestable-action]").length||(i.options.handleClass&&!l.hasClass(i.options.handleClass)&&i.options.handleClass&&(l=l.closest(i.options._handleClass)),!l.length||i.dragEl||!e&&0!==s.button||e&&1!==s.touches.length||(s.originalEvent&&s.originalEvent.touches&&(s=evt.originalEvent.touches[0]),i.delayMove=function(t){t.preventDefault(),i.dragStart(s),i.trigger("start.uk.nestable",[i]),i.delayMove=!1},i.delayMove.x=parseInt(s.pageX,10),i.delayMove.y=parseInt(s.pageY,10),i.delayMove.threshold=i.options.idlethreshold,s.preventDefault())))},d=function(t){t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i.delayMove&&(Math.abs(t.pageX-i.delayMove.x)>i.delayMove.threshold||Math.abs(t.pageY-i.delayMove.y)>i.delayMove.threshold)&&(window.getSelection().toString()?i.delayMove=!1:i.delayMove(t)),i.dragEl&&(t.preventDefault(),i.dragMove(t),i.trigger("move.uk.nestable",[i]))},p=function(t){i.dragEl&&(t.preventDefault(),i.dragStop(e?t.touches[0]:t)),s=!1,i.delayMove=!1};e?(this.element[0].addEventListener(n,l,!1),window.addEventListener(o,d,!1),window.addEventListener(h,p,!1),window.addEventListener(r,p,!1)):(this.on(n,l),a.on(o,d),a.on(h,p))},serialize:function(){var s,e=0,i=this,l=function(s,e){var a=[],n=s.children(i.options._listItemClass);return n.each(function(){for(var s,n=t.$(this),o={},h=n.children(i.options._listClass),r=0;r<n[0].attributes.length;r++)s=n[0].attributes[r],0===s.name.indexOf("data-")&&(o[s.name.substr(5)]=t.Utils.str2json(s.value));h.length&&(o.children=l(h,e+1)),a.push(o)}),a};return s=l(i.element,e)},list:function(s){var e=[],i=this,l=0,a=function(i,l,n){var o=i.children(s._listItemClass);o.each(function(i){var o=t.$(this),h=t.$.extend({parent_id:n?n:null,depth:l,order:i},o.data()),r=o.children(s._listClass);e.push(h),r.length&&a(r,l+1,o.data(s.idProperty||"id"))})};return s=t.$.extend({},i.options,s),a(i.element,l),e},reset:function(){this.mouse={offsetX:0,offsetY:0,startX:0,startY:0,lastX:0,lastY:0,nowX:0,nowY:0,distX:0,distY:0,dirAx:0,dirX:0,dirY:0,lastDirX:0,lastDirY:0,distAxX:0,distAxY:0},this.moving=!1,this.dragEl=null,this.dragRootEl=null,this.dragDepth=0,this.hasNewRoot=!1,this.pointEl=null;for(var t=0;t<l.length;t++)this.checkEmptyList(l[t]);l=[]},toggleItem:function(t){this[t.hasClass(this.options.collapsedClass)?"expandItem":"collapseItem"](t)},expandItem:function(t){t.removeClass(this.options.collapsedClass)},collapseItem:function(t){var s=t.children(this.options._listClass);s.length&&t.addClass(this.options.collapsedClass)},expandAll:function(){var s=this;this.find(s.options._listItemClass).each(function(){s.expandItem(t.$(this))})},collapseAll:function(){var s=this;this.find(s.options._listItemClass).each(function(){s.collapseItem(t.$(this))})},setParent:function(t){t.children(this.options._listClass).length&&t.addClass("uk-parent")},unsetParent:function(t){t.removeClass("uk-parent "+this.options.collapsedClass),t.children(this.options._listClass).remove()},dragStart:function(e){var l=this.mouse,a=t.$(e.target),n=a.closest(this.options._listItemClass),o=n.offset();this.placeEl=n,l.offsetX=e.pageX-o.left,l.offsetY=e.pageY-o.top,l.startX=l.lastX=o.left,l.startY=l.lastY=o.top,this.dragRootEl=this.element,this.dragEl=t.$("<ul></ul>").addClass(this.options.listClass+" "+this.options.dragClass).append(n.clone()),this.dragEl.css("width",n.width()),this.placeEl.addClass(this.options.placeholderClass),s=this.dragEl,this.tmpDragOnSiblings=[n[0].previousSibling,n[0].nextSibling],t.$body.append(this.dragEl),this.dragEl.css({left:o.left,top:o.top});var h,r,d=this.dragEl.find(this.options._listItemClass);for(h=0;h<d.length;h++)r=t.$(d[h]).parents(this.options._listClass+","+this.options._listBaseClass).length,r>this.dragDepth&&(this.dragDepth=r);i.addClass(this.options.movingClass)},dragStop:function(){var t=this.placeEl,s=this.placeEl.parents(this.options._listBaseClass+":first");this.placeEl.removeClass(this.options.placeholderClass),this.dragEl.remove(),this.element[0]!==s[0]?(s.trigger("change.uk.nestable",[t,"added",s,s.data("nestable")]),this.element.trigger("change.uk.nestable",[t,"removed",this.element,this])):this.element.trigger("change.uk.nestable",[t,"moved",this.element,this]),this.trigger("stop.uk.nestable",[this,t]),this.reset(),i.removeClass(this.options.movingClass)},dragMove:function(s){var e,i,a,n,o,h=this.options,r=this.mouse,d=this.dragRootEl?this.dragRootEl.data("nestable").options.maxDepth:h.maxDepth;this.dragEl.css({left:s.pageX-r.offsetX,top:s.pageY-r.offsetY}),r.lastX=r.nowX,r.lastY=r.nowY,r.nowX=s.pageX,r.nowY=s.pageY,r.distX=r.nowX-r.lastX,r.distY=r.nowY-r.lastY,r.lastDirX=r.dirX,r.lastDirY=r.dirY,r.dirX=0===r.distX?0:r.distX>0?1:-1,r.dirY=0===r.distY?0:r.distY>0?1:-1;var p=Math.abs(r.distX)>Math.abs(r.distY)?1:0;if(!r.moving)return r.dirAx=p,r.moving=!0,void 0;r.dirAx!==p?(r.distAxX=0,r.distAxY=0):(r.distAxX+=Math.abs(r.distX),0!==r.dirX&&r.dirX!==r.lastDirX&&(r.distAxX=0),r.distAxY+=Math.abs(r.distY),0!==r.dirY&&r.dirY!==r.lastDirY&&(r.distAxY=0)),r.dirAx=p,r.dirAx&&r.distAxX>=h.threshold&&(r.distAxX=0,a=this.placeEl.prev("li"),r.distX>0&&a.length&&!a.hasClass(h.collapsedClass)&&(e=a.find(h._listClass).last(),o=this.placeEl.parents(h._listClass+","+h._listBaseClass).length,o+this.dragDepth<=d&&(e.length?(e=a.children(h._listClass).last(),e.append(this.placeEl)):(e=t.$("<ul/>").addClass(h.listClass),e.append(this.placeEl),a.append(e),this.setParent(a)))),r.distX<0&&(n=this.placeEl.next("li"),n.length||(i=this.placeEl.parent(),this.placeEl.closest(h._listItemClass).after(this.placeEl),i.children().length||this.unsetParent(i.parent()))));var c=!1,g=this.dragEl.offset().left-(window.pageXOffset||document.scrollLeft||0),u=s.pageY-(window.pageYOffset||document.documentElement.scrollTop);if(this.pointEl=t.$(document.elementFromPoint(g,u)),h.handleClass&&this.pointEl.hasClass(h.handleClass))this.pointEl=this.pointEl.closest(h._listItemClass);else{var f=this.pointEl.closest(h._listItemClass);f.length&&(this.pointEl=f)}if(!this.placeEl.find(this.pointEl).length){if(this.pointEl.data("nestable")&&!this.pointEl.children().length)c=!0,this.checkEmptyList(this.pointEl);else if(!this.pointEl.length||!this.pointEl.hasClass(h.listItemClass))return;var m=this.element,v=this.pointEl.closest(this.options._listBaseClass),E=m[0]!==this.pointEl.closest(this.options._listBaseClass)[0];if(!r.dirAx||E||c){if(E&&h.group!==v.data("nestable-group"))return;if(l.push(m),o=this.dragDepth-1+this.pointEl.parents(h._listClass+","+h._listBaseClass).length,o>d)return;var C=s.pageY<this.pointEl.offset().top+this.pointEl.height()/2;i=this.placeEl.parent(),c?this.pointEl.append(this.placeEl):C?this.pointEl.before(this.placeEl):this.pointEl.after(this.placeEl),i.children().length||i.data("nestable")||this.unsetParent(i.parent()),this.checkEmptyList(this.dragRootEl),this.checkEmptyList(m),E&&(this.dragRootEl=v,this.hasNewRoot=this.element[0]!==this.dragRootEl[0])}}},checkEmptyList:function(s){s=s?t.$(s):this.element,s.children().length||s.html("")}}),t.nestable}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/notify.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/notify.js deleted file mode 100644 index b4fba057a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/notify.js +++ /dev/null @@ -1,191 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-notify", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var containers = {}, - messages = {}, - - notify = function(options){ - - if (UI.$.type(options) == 'string') { - options = { message: options }; - } - - if (arguments[1]) { - options = UI.$.extend(options, UI.$.type(arguments[1]) == 'string' ? {status:arguments[1]} : arguments[1]); - } - - return (new Message(options)).show(); - }, - closeAll = function(group, instantly){ - - var id; - - if (group) { - for(id in messages) { if(group===messages[id].group) messages[id].close(instantly); } - } else { - for(id in messages) { messages[id].close(instantly); } - } - }; - - var Message = function(options){ - - var $this = this; - - this.options = UI.$.extend({}, Message.defaults, options); - - this.uuid = UI.Utils.uid("notifymsg"); - this.element = UI.$([ - - '<div class="uk-notify-message">', - '<a class="uk-close"></a>', - '<div></div>', - '</div>' - - ].join('')).data("notifyMessage", this); - - this.content(this.options.message); - - // status - if (this.options.status) { - this.element.addClass('uk-notify-message-'+this.options.status); - this.currentstatus = this.options.status; - } - - this.group = this.options.group; - - messages[this.uuid] = this; - - if(!containers[this.options.pos]) { - containers[this.options.pos] = UI.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo('body').on("click", ".uk-notify-message", function(){ - - var message = UI.$(this).data("notifyMessage"); - - message.element.trigger('manualclose.uk.notify', [message]); - message.close(); - }); - } - }; - - - UI.$.extend(Message.prototype, { - - uuid: false, - element: false, - timout: false, - currentstatus: "", - group: false, - - show: function() { - - if (this.element.is(":visible")) return; - - var $this = this; - - containers[this.options.pos].show().prepend(this.element); - - var marginbottom = parseInt(this.element.css("margin-bottom"), 10); - - this.element.css({"opacity":0, "margin-top": -1*this.element.outerHeight(), "margin-bottom":0}).animate({"opacity":1, "margin-top": 0, "margin-bottom":marginbottom}, function(){ - - if ($this.options.timeout) { - - var closefn = function(){ $this.close(); }; - - $this.timeout = setTimeout(closefn, $this.options.timeout); - - $this.element.hover( - function() { clearTimeout($this.timeout); }, - function() { $this.timeout = setTimeout(closefn, $this.options.timeout); } - ); - } - - }); - - return this; - }, - - close: function(instantly) { - - var $this = this, - finalize = function(){ - $this.element.remove(); - - if (!containers[$this.options.pos].children().length) { - containers[$this.options.pos].hide(); - } - - $this.options.onClose.apply($this, []); - $this.element.trigger('close.uk.notify', [$this]); - - delete messages[$this.uuid]; - }; - - if (this.timeout) clearTimeout(this.timeout); - - if (instantly) { - finalize(); - } else { - this.element.animate({"opacity":0, "margin-top": -1* this.element.outerHeight(), "margin-bottom":0}, function(){ - finalize(); - }); - } - }, - - content: function(html){ - - var container = this.element.find(">div"); - - if(!html) { - return container.html(); - } - - container.html(html); - - return this; - }, - - status: function(status) { - - if (!status) { - return this.currentstatus; - } - - this.element.removeClass('uk-notify-message-'+this.currentstatus).addClass('uk-notify-message-'+status); - - this.currentstatus = status; - - return this; - } - }); - - Message.defaults = { - message: "", - status: "", - timeout: 5000, - group: null, - pos: 'top-center', - onClose: function() {} - }; - - UI.notify = notify; - UI.notify.message = Message; - UI.notify.closeAll = closeAll; - - return notify; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/notify.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/notify.min.js deleted file mode 100644 index 12891160d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/notify.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-notify",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e={},i={},s=function(e){return"string"==t.$.type(e)&&(e={message:e}),arguments[1]&&(e=t.$.extend(e,"string"==t.$.type(arguments[1])?{status:arguments[1]}:arguments[1])),new n(e).show()},o=function(t,e){var s;if(t)for(s in i)t===i[s].group&&i[s].close(e);else for(s in i)i[s].close(e)},n=function(s){this.options=t.$.extend({},n.defaults,s),this.uuid=t.Utils.uid("notifymsg"),this.element=t.$(['<div class="uk-notify-message">','<a class="uk-close"></a>',"<div></div>","</div>"].join("")).data("notifyMessage",this),this.content(this.options.message),this.options.status&&(this.element.addClass("uk-notify-message-"+this.options.status),this.currentstatus=this.options.status),this.group=this.options.group,i[this.uuid]=this,e[this.options.pos]||(e[this.options.pos]=t.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo("body").on("click",".uk-notify-message",function(){var e=t.$(this).data("notifyMessage");e.element.trigger("manualclose.uk.notify",[e]),e.close()}))};return t.$.extend(n.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){if(!this.element.is(":visible")){var t=this;e[this.options.pos].show().prepend(this.element);var i=parseInt(this.element.css("margin-bottom"),10);return this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":i},function(){if(t.options.timeout){var e=function(){t.close()};t.timeout=setTimeout(e,t.options.timeout),t.element.hover(function(){clearTimeout(t.timeout)},function(){t.timeout=setTimeout(e,t.options.timeout)})}}),this}},close:function(t){var s=this,o=function(){s.element.remove(),e[s.options.pos].children().length||e[s.options.pos].hide(),s.options.onClose.apply(s,[]),s.element.trigger("close.uk.notify",[s]),delete i[s.uuid]};this.timeout&&clearTimeout(this.timeout),t?o():this.element.animate({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){o()})},content:function(t){var e=this.element.find(">div");return t?(e.html(t),this):e.html()},status:function(t){return t?(this.element.removeClass("uk-notify-message-"+this.currentstatus).addClass("uk-notify-message-"+t),this.currentstatus=t,this):this.currentstatus}}),n.defaults={message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:function(){}},t.notify=s,t.notify.message=n,t.notify.closeAll=o,s}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/pagination.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/pagination.js deleted file mode 100644 index fa01908f1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/pagination.js +++ /dev/null @@ -1,148 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* - * Based on simplePagination - Copyright (c) 2012 Flavius Matis - http://flaviusmatis.github.com/simplePagination.js/ (MIT) - */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-pagination", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('pagination', { - - defaults: { - items : 1, - itemsOnPage : 1, - pages : 0, - displayedPages : 3, - edges : 3, - currentPage : 1, - lblPrev : false, - lblNext : false, - onSelectPage : function() {} - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-pagination]", context).each(function(){ - var ele = UI.$(this); - - if (!ele.data("pagination")) { - var obj = UI.pagination(ele, UI.Utils.options(ele.attr("data-uk-pagination"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.pages = this.options.pages ? this.options.pages : Math.ceil(this.options.items / this.options.itemsOnPage) ? Math.ceil(this.options.items / this.options.itemsOnPage) : 1; - this.currentPage = this.options.currentPage - 1; - this.halfDisplayed = this.options.displayedPages / 2; - - this.on("click", "a[data-page]", function(e){ - e.preventDefault(); - $this.selectPage(UI.$(this).data("page")); - }); - - this._render(); - }, - - _getInterval: function() { - - return { - start: Math.ceil(this.currentPage > this.halfDisplayed ? Math.max(Math.min(this.currentPage - this.halfDisplayed, (this.pages - this.options.displayedPages)), 0) : 0), - end : Math.ceil(this.currentPage > this.halfDisplayed ? Math.min(this.currentPage + this.halfDisplayed, this.pages) : Math.min(this.options.displayedPages, this.pages)) - }; - }, - - render: function(pages) { - this.pages = pages ? pages : this.pages; - this._render(); - }, - - selectPage: function(pageIndex, pages) { - this.currentPage = pageIndex; - this.render(pages); - - this.options.onSelectPage.apply(this, [pageIndex]); - this.trigger('select.uk.pagination', [pageIndex, this]); - }, - - _render: function() { - - var o = this.options, interval = this._getInterval(), i; - - this.element.empty(); - - // Generate Prev link - if (o.lblPrev) this._append(o.currentPage - 1, {text: o.lblPrev}); - - // Generate start edges - if (interval.start > 0 && o.edges > 0) { - - var end = Math.min(o.edges, interval.start); - - for (i = 0; i < end; i++) this._append(i); - - if (o.edges < interval.start && (interval.start - o.edges != 1)) { - this.element.append('<li><span>...</span></li>'); - } else if (interval.start - o.edges == 1) { - this._append(o.edges); - } - } - - // Generate interval links - for (i = interval.start; i < interval.end; i++) this._append(i); - - // Generate end edges - if (interval.end < this.pages && o.edges > 0) { - - if (this.pages - o.edges > interval.end && (this.pages - o.edges - interval.end != 1)) { - this.element.append('<li><span>...</span></li>'); - } else if (this.pages - o.edges - interval.end == 1) { - this._append(interval.end++); - } - - var begin = Math.max(this.pages - o.edges, interval.end); - - for (i = begin; i < this.pages; i++) this._append(i); - } - - // Generate Next link (unless option is set for at front) - if (o.lblNext) this._append(o.currentPage + 1, {text: o.lblNext}); - }, - - _append: function(pageIndex, opts) { - - var $this = this, item, link, options; - - pageIndex = pageIndex < 0 ? 0 : (pageIndex < this.pages ? pageIndex : this.pages - 1); - options = UI.$.extend({ text: pageIndex + 1 }, opts); - - item = (pageIndex == this.currentPage) ? '<li class="uk-active"><span>' + (options.text) + '</span></li>' - : '<li><a href="#page-'+(pageIndex+1)+'" data-page="'+pageIndex+'">'+options.text+'</a></li>'; - - this.element.append(item); - } - }); - - return UI.pagination; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/pagination.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/pagination.min.js deleted file mode 100644 index 220310b63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/pagination.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-pagination",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("pagination",{defaults:{items:1,itemsOnPage:1,pages:0,displayedPages:3,edges:3,currentPage:1,lblPrev:!1,lblNext:!1,onSelectPage:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-pagination]",e).each(function(){var e=t.$(this);if(!e.data("pagination")){t.pagination(e,t.Utils.options(e.attr("data-uk-pagination")))}})})},init:function(){var e=this;this.pages=this.options.pages?this.options.pages:Math.ceil(this.options.items/this.options.itemsOnPage)?Math.ceil(this.options.items/this.options.itemsOnPage):1,this.currentPage=this.options.currentPage-1,this.halfDisplayed=this.options.displayedPages/2,this.on("click","a[data-page]",function(i){i.preventDefault(),e.selectPage(t.$(this).data("page"))}),this._render()},_getInterval:function(){return{start:Math.ceil(this.currentPage>this.halfDisplayed?Math.max(Math.min(this.currentPage-this.halfDisplayed,this.pages-this.options.displayedPages),0):0),end:Math.ceil(this.currentPage>this.halfDisplayed?Math.min(this.currentPage+this.halfDisplayed,this.pages):Math.min(this.options.displayedPages,this.pages))}},render:function(t){this.pages=t?t:this.pages,this._render()},selectPage:function(t,e){this.currentPage=t,this.render(e),this.options.onSelectPage.apply(this,[t]),this.trigger("select.uk.pagination",[t,this])},_render:function(){var t,e=this.options,i=this._getInterval();if(this.element.empty(),e.lblPrev&&this._append(e.currentPage-1,{text:e.lblPrev}),i.start>0&&e.edges>0){var s=Math.min(e.edges,i.start);for(t=0;s>t;t++)this._append(t);e.edges<i.start&&i.start-e.edges!=1?this.element.append("<li><span>...</span></li>"):i.start-e.edges==1&&this._append(e.edges)}for(t=i.start;t<i.end;t++)this._append(t);if(i.end<this.pages&&e.edges>0){this.pages-e.edges>i.end&&this.pages-e.edges-i.end!=1?this.element.append("<li><span>...</span></li>"):this.pages-e.edges-i.end==1&&this._append(i.end++);var a=Math.max(this.pages-e.edges,i.end);for(t=a;t<this.pages;t++)this._append(t)}e.lblNext&&this._append(e.currentPage+1,{text:e.lblNext})},_append:function(e,i){var s,a;e=0>e?0:e<this.pages?e:this.pages-1,a=t.$.extend({text:e+1},i),s=e==this.currentPage?'<li class="uk-active"><span>'+a.text+"</span></li>":'<li><a href="#page-'+(e+1)+'" data-page="'+e+'">'+a.text+"</a></li>",this.element.append(s)}}),t.pagination}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/parallax.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/parallax.js deleted file mode 100644 index 31750270b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/parallax.js +++ /dev/null @@ -1,417 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-parallax", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var parallaxes = [], - supports3d = false, - scrolltop = 0, - wh = window.innerHeight, - checkParallaxes = function() { - - scrolltop = UI.$win.scrollTop(); - - window.requestAnimationFrame.apply(window, [function(){ - for (var i=0; i < parallaxes.length; i++) { - parallaxes[i].process(); - } - }]); - }; - - - UI.component('parallax', { - - defaults: { - velocity : 0.5, - target : false, - viewport : false, - media : false - }, - - boot: function() { - - supports3d = (function(){ - - var el = document.createElement('div'), - has3d, - transforms = { - 'WebkitTransform':'-webkit-transform', - 'MSTransform':'-ms-transform', - 'MozTransform':'-moz-transform', - 'Transform':'transform' - }; - - // Add it to the body to get the computed style. - document.body.insertBefore(el, null); - - for (var t in transforms) { - if (el.style[t] !== undefined) { - el.style[t] = "translate3d(1px,1px,1px)"; - has3d = window.getComputedStyle(el).getPropertyValue(transforms[t]); - } - } - - document.body.removeChild(el); - - return (has3d !== undefined && has3d.length > 0 && has3d !== "none"); - })(); - - // listen to scroll and resize - UI.$doc.on("scrolling.uk.document", checkParallaxes); - UI.$win.on("load resize orientationchange", UI.Utils.debounce(function(){ - wh = window.innerHeight; - checkParallaxes(); - }, 50)); - - // init code - UI.ready(function(context) { - - UI.$('[data-uk-parallax]', context).each(function() { - - var parallax = UI.$(this); - - if (!parallax.data("parallax")) { - var obj = UI.parallax(parallax, UI.Utils.options(parallax.attr("data-uk-parallax"))); - } - }); - }); - }, - - init: function() { - - this.base = this.options.target ? UI.$(this.options.target) : this.element; - this.props = {}; - this.velocity = (this.options.velocity || 1); - - var reserved = ['target','velocity','viewport','plugins','media']; - - Object.keys(this.options).forEach(function(prop){ - - if (reserved.indexOf(prop) !== -1) { - return; - } - - var start, end, dir, diff, startend = String(this.options[prop]).split(','); - - if (prop.match(/color/i)) { - start = startend[1] ? startend[0] : this._getStartValue(prop), - end = startend[1] ? startend[1] : startend[0]; - - if (!start) { - start = 'rgba(255,255,255,0)'; - } - - } else { - start = parseFloat(startend[1] ? startend[0] : this._getStartValue(prop)), - end = parseFloat(startend[1] ? startend[1] : startend[0]); - diff = (start < end ? (end-start):(start-end)); - dir = (start < end ? 1:-1); - } - - this.props[prop] = { 'start': start, 'end': end, 'dir': dir, 'diff': diff }; - - }.bind(this)); - - parallaxes.push(this); - }, - - process: function() { - - if (this.options.media) { - - switch(typeof(this.options.media)) { - case 'number': - if (window.innerWidth < this.options.media) { - return false; - } - break; - case 'string': - if (window.matchMedia && !window.matchMedia(this.options.media).matches) { - return false; - } - break; - } - } - - var percent = this.percentageInViewport(); - - if (this.options.viewport !== false) { - percent = (this.options.viewport === 0) ? 1 : percent / this.options.viewport; - } - - this.update(percent); - }, - - percentageInViewport: function() { - - var top = this.base.offset().top, - height = this.base.outerHeight(), - distance, percentage, percent; - - if (top > (scrolltop + wh)) { - percent = 0; - } else if ((top + height) < scrolltop) { - percent = 1; - } else { - - if ((top + height) < wh) { - - percent = (scrolltop < wh ? scrolltop : scrolltop - wh) / (top+height); - - } else { - - distance = (scrolltop + wh) - top; - percentage = Math.round(distance / ((wh + height) / 100)); - percent = percentage/100; - } - } - - return percent; - }, - - update: function(percent) { - - var css = {'transform':''}, - compercent = percent * (1 - (this.velocity - (this.velocity * percent))), - opts, val; - - if (compercent < 0) compercent = 0; - if (compercent > 1) compercent = 1; - - if (this._percent !== undefined && this._percent == compercent) { - return; - } - - Object.keys(this.props).forEach(function(prop) { - - opts = this.props[prop]; - - if (percent === 0) { - val = opts.start; - } else if(percent === 1) { - val = opts.end; - } else if(opts.diff !== undefined) { - val = opts.start + (opts.diff * compercent * opts.dir); - } - - if ((prop == 'bg' || prop == 'bgp') && !this._bgcover) { - this._bgcover = initBgImageParallax(this, prop, opts); - } - - switch(prop) { - - // transforms - case "x": - css.transform += supports3d ? ' translate3d('+val+'px, 0, 0)':' translateX('+val+'px)'; - break; - case "xp": - css.transform += supports3d ? ' translate3d('+val+'%, 0, 0)':' translateX('+val+'%)'; - break; - case "y": - css.transform += supports3d ? ' translate3d(0, '+val+'px, 0)':' translateY('+val+'px)'; - break; - case "yp": - css.transform += supports3d ? ' translate3d(0, '+val+'%, 0)':' translateY('+val+'%)'; - break; - case "rotate": - css.transform += ' rotate('+val+'deg)'; - break; - case "scale": - css.transform += ' scale('+val+')'; - break; - - // bg image - case "bg": - css['background-position'] = '50% '+val+'px'; - break; - case "bgp": - css['background-position'] = '50% '+val+'%'; - break; - - // color - case "color": - case "background-color": - case "border-color": - css[prop] = calcColor(opts.start, opts.end, compercent); - break; - - default: - css[prop] = val; - break; - } - - }.bind(this)); - - this.element.css(css); - - this._percent = compercent; - }, - - _getStartValue: function(prop) { - - var value = 0; - - switch(prop) { - case 'scale': - value = 1; - break; - default: - value = this.element.css(prop); - } - - return (value || 0); - } - - }); - - - // helper - - function initBgImageParallax(obj, prop, opts) { - - var img = new Image(), url, loaded, element, size, check, ratio, width, height; - - element = obj.element.css({'background-size': 'cover', 'background-repeat': 'no-repeat'}); - url = element.css('background-image').replace(/^url\(/g, '').replace(/\)$/g, '').replace(/("|')/g, ''); - check = function() { - - var w = element.width(), h = element.height(), extra = (prop=='bg') ? opts.diff : (opts.diff/100) * h; - - h += extra; - w += Math.ceil(extra * ratio); - - // if element height < parent height (gap underneath) - if ((w / ratio) < h) { - width = Math.ceil(h * ratio); - height = h; - - // element width < parent width (gap to right) - } else { - width = w; - height = Math.ceil(w / ratio); - } - - obj.element.css({'background-size': (width+'px '+height+'px')}); - }; - - img.onerror = function(){ - // image url doesn't exist - }; - - img.onload = function(){ - size = {w:img.width, height:img.height}; - ratio = img.width / img.height; - - UI.$win.on("load resize orientationchange", UI.Utils.debounce(function(){ - check(); - }, 50)); - - check(); - }; - - img.src = url; - - return true; - } - - - // Some named colors to work with, added by Bradley Ayers - // From Interface by Stefan Petre - // http://interface.eyecon.ro/ - var colors = { - 'black': [0,0,0,1], - 'blue': [0,0,255,1], - 'brown': [165,42,42,1], - 'cyan': [0,255,255,1], - 'fuchsia': [255,0,255,1], - 'gold': [255,215,0,1], - 'green': [0,128,0,1], - 'indigo': [75,0,130,1], - 'khaki': [240,230,140,1], - 'lime': [0,255,0,1], - 'magenta': [255,0,255,1], - 'maroon': [128,0,0,1], - 'navy': [0,0,128,1], - 'olive': [128,128,0,1], - 'orange': [255,165,0,1], - 'pink': [255,192,203,1], - 'purple': [128,0,128,1], - 'violet': [128,0,128,1], - 'red': [255,0,0,1], - 'silver': [192,192,192,1], - 'white': [255,255,255,1], - 'yellow': [255,255,0,1], - 'transparent': [255,255,255,0] - }; - - function calcColor(start, end, pos) { - - start = parseColor(start); - end = parseColor(end); - pos = pos || 0; - - return calculateColor(start, end, pos); - } - - /**! - * @preserve Color animation 1.6.0 - * http://www.bitstorm.org/jquery/color-animation/ - * Copyright 2011, 2013 Edwin Martin <edwin@bitstorm.org> - * Released under the MIT and GPL licenses. - */ - - // Calculate an in-between color. Returns "#aabbcc"-like string. - function calculateColor(begin, end, pos) { - var color = 'rgba(' - + parseInt((begin[0] + pos * (end[0] - begin[0])), 10) + ',' - + parseInt((begin[1] + pos * (end[1] - begin[1])), 10) + ',' - + parseInt((begin[2] + pos * (end[2] - begin[2])), 10) + ',' - + (begin && end ? parseFloat(begin[3] + pos * (end[3] - begin[3])) : 1); - - color += ')'; - return color; - } - - // Parse an CSS-syntax color. Outputs an array [r, g, b] - function parseColor(color) { - - var match, quadruplet; - - // Match #aabbcc - if (match = /#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(color)) { - quadruplet = [parseInt(match[1], 16), parseInt(match[2], 16), parseInt(match[3], 16), 1]; - - // Match #abc - } else if (match = /#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(color)) { - quadruplet = [parseInt(match[1], 16) * 17, parseInt(match[2], 16) * 17, parseInt(match[3], 16) * 17, 1]; - - // Match rgb(n, n, n) - } else if (match = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) { - quadruplet = [parseInt(match[1]), parseInt(match[2]), parseInt(match[3]), 1]; - - } else if (match = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9\.]*)\s*\)/.exec(color)) { - quadruplet = [parseInt(match[1], 10), parseInt(match[2], 10), parseInt(match[3], 10),parseFloat(match[4])]; - - // No browser returns rgb(n%, n%, n%), so little reason to support this format. - } else { - quadruplet = colors[color] || [255,255,255,0]; - } - return quadruplet; - } - - return UI.parallax; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/parallax.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/parallax.min.js deleted file mode 100644 index 9964ffaf2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/parallax.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-parallax",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(e,a,r){var n,i,o,s,c,p,l,d=new Image;return i=e.element.css({"background-size":"cover","background-repeat":"no-repeat"}),n=i.css("background-image").replace(/^url\(/g,"").replace(/\)$/g,"").replace(/("|')/g,""),s=function(){var t=i.width(),n=i.height(),o="bg"==a?r.diff:r.diff/100*n;n+=o,t+=Math.ceil(o*c),n>t/c?(p=Math.ceil(n*c),l=n):(p=t,l=Math.ceil(t/c)),e.element.css({"background-size":p+"px "+l+"px"})},d.onerror=function(){},d.onload=function(){o={w:d.width,height:d.height},c=d.width/d.height,t.$win.on("load resize orientationchange",t.Utils.debounce(function(){s()},50)),s()},d.src=n,!0}function a(t,e,a){return t=n(t),e=n(e),a=a||0,r(t,e,a)}function r(t,e,a){var r="rgba("+parseInt(t[0]+a*(e[0]-t[0]),10)+","+parseInt(t[1]+a*(e[1]-t[1]),10)+","+parseInt(t[2]+a*(e[2]-t[2]),10)+","+(t&&e?parseFloat(t[3]+a*(e[3]-t[3])):1);return r+=")"}function n(t){var e,a;return a=(e=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),1]:(e=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(t))?[17*parseInt(e[1],16),17*parseInt(e[2],16),17*parseInt(e[3],16),1]:(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(t))?[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),1]:(e=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9\.]*)\s*\)/.exec(t))?[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]:l[t]||[255,255,255,0]}var i=[],o=!1,s=0,c=window.innerHeight,p=function(){s=t.$win.scrollTop(),window.requestAnimationFrame.apply(window,[function(){for(var t=0;t<i.length;t++)i[t].process()}])};t.component("parallax",{defaults:{velocity:.5,target:!1,viewport:!1,media:!1},boot:function(){o=function(){var t,e=document.createElement("div"),a={WebkitTransform:"-webkit-transform",MSTransform:"-ms-transform",MozTransform:"-moz-transform",Transform:"transform"};document.body.insertBefore(e,null);for(var r in a)void 0!==e.style[r]&&(e.style[r]="translate3d(1px,1px,1px)",t=window.getComputedStyle(e).getPropertyValue(a[r]));return document.body.removeChild(e),void 0!==t&&t.length>0&&"none"!==t}(),t.$doc.on("scrolling.uk.document",p),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){c=window.innerHeight,p()},50)),t.ready(function(e){t.$("[data-uk-parallax]",e).each(function(){var e=t.$(this);if(!e.data("parallax")){t.parallax(e,t.Utils.options(e.attr("data-uk-parallax")))}})})},init:function(){this.base=this.options.target?t.$(this.options.target):this.element,this.props={},this.velocity=this.options.velocity||1;var e=["target","velocity","viewport","plugins","media"];Object.keys(this.options).forEach(function(t){if(-1===e.indexOf(t)){var a,r,n,i,o=String(this.options[t]).split(",");t.match(/color/i)?(a=o[1]?o[0]:this._getStartValue(t),r=o[1]?o[1]:o[0],a||(a="rgba(255,255,255,0)")):(a=parseFloat(o[1]?o[0]:this._getStartValue(t)),r=parseFloat(o[1]?o[1]:o[0]),i=r>a?r-a:a-r,n=r>a?1:-1),this.props[t]={start:a,end:r,dir:n,diff:i}}}.bind(this)),i.push(this)},process:function(){if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var t=this.percentageInViewport();this.options.viewport!==!1&&(t=0===this.options.viewport?1:t/this.options.viewport),this.update(t)},percentageInViewport:function(){var t,e,a,r=this.base.offset().top,n=this.base.outerHeight();return r>s+c?a=0:s>r+n?a=1:c>r+n?a=(c>s?s:s-c)/(r+n):(t=s+c-r,e=Math.round(t/((c+n)/100)),a=e/100),a},update:function(t){var r,n,i={transform:""},s=t*(1-(this.velocity-this.velocity*t));0>s&&(s=0),s>1&&(s=1),(void 0===this._percent||this._percent!=s)&&(Object.keys(this.props).forEach(function(c){switch(r=this.props[c],0===t?n=r.start:1===t?n=r.end:void 0!==r.diff&&(n=r.start+r.diff*s*r.dir),"bg"!=c&&"bgp"!=c||this._bgcover||(this._bgcover=e(this,c,r)),c){case"x":i.transform+=o?" translate3d("+n+"px, 0, 0)":" translateX("+n+"px)";break;case"xp":i.transform+=o?" translate3d("+n+"%, 0, 0)":" translateX("+n+"%)";break;case"y":i.transform+=o?" translate3d(0, "+n+"px, 0)":" translateY("+n+"px)";break;case"yp":i.transform+=o?" translate3d(0, "+n+"%, 0)":" translateY("+n+"%)";break;case"rotate":i.transform+=" rotate("+n+"deg)";break;case"scale":i.transform+=" scale("+n+")";break;case"bg":i["background-position"]="50% "+n+"px";break;case"bgp":i["background-position"]="50% "+n+"%";break;case"color":case"background-color":case"border-color":i[c]=a(r.start,r.end,s);break;default:i[c]=n}}.bind(this)),this.element.css(i),this._percent=s)},_getStartValue:function(t){var e=0;switch(t){case"scale":e=1;break;default:e=this.element.css(t)}return e||0}});var l={black:[0,0,0,1],blue:[0,0,255,1],brown:[165,42,42,1],cyan:[0,255,255,1],fuchsia:[255,0,255,1],gold:[255,215,0,1],green:[0,128,0,1],indigo:[75,0,130,1],khaki:[240,230,140,1],lime:[0,255,0,1],magenta:[255,0,255,1],maroon:[128,0,0,1],navy:[0,0,128,1],olive:[128,128,0,1],orange:[255,165,0,1],pink:[255,192,203,1],purple:[128,0,128,1],violet:[128,0,128,1],red:[255,0,0,1],silver:[192,192,192,1],white:[255,255,255,1],yellow:[255,255,0,1],transparent:[255,255,255,0]};return t.parallax}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/search.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/search.js deleted file mode 100644 index 8de251c50..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/search.js +++ /dev/null @@ -1,92 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-search", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('search', { - defaults: { - msgResultsHeader : 'Search Results', - msgMoreResults : 'More Results', - msgNoResults : 'No results found', - template : '<ul class="uk-nav uk-nav-search uk-autocomplete-results">\ - {{#msgResultsHeader}}<li class="uk-nav-header uk-skip">{{msgResultsHeader}}</li>{{/msgResultsHeader}}\ - {{#items && items.length}}\ - {{~items}}\ - <li data-url="{{!$item.url}}">\ - <a href="{{!$item.url}}">\ - {{{$item.title}}}\ - {{#$item.text}}<div>{{{$item.text}}}</div>{{/$item.text}}\ - </a>\ - </li>\ - {{/items}}\ - {{#msgMoreResults}}\ - <li class="uk-nav-divider uk-skip"></li>\ - <li class="uk-search-moreresults" data-moreresults="true"><a href="#" onclick="jQuery(this).closest(\'form\').submit();">{{msgMoreResults}}</a></li>\ - {{/msgMoreResults}}\ - {{/end}}\ - {{^items.length}}\ - {{#msgNoResults}}<li class="uk-skip"><a>{{msgNoResults}}</a></li>{{/msgNoResults}}\ - {{/end}}\ - </ul>', - - renderer: function(data) { - - var $this = this, opts = this.options; - - this.dropdown.append(this.template({"items":data.results || [], "msgResultsHeader":opts.msgResultsHeader, "msgMoreResults": opts.msgMoreResults, "msgNoResults": opts.msgNoResults})); - this.show(); - } - }, - - boot: function() { - - // init code - UI.$html.on("focus.search.uikit", "[data-uk-search]", function(e) { - var ele =UI.$(this); - - if (!ele.data("search")) { - var obj = UI.search(ele, UI.Utils.options(ele.attr("data-uk-search"))); - } - }); - }, - - init: function() { - var $this = this; - - this.autocomplete = UI.autocomplete(this.element, this.options); - - this.autocomplete.dropdown.addClass('uk-dropdown-search'); - - this.autocomplete.input.on("keyup", function(){ - $this.element[$this.autocomplete.input.val() ? "addClass":"removeClass"]("uk-active"); - }).closest("form").on("reset", function(){ - $this.value=""; - $this.element.removeClass("uk-active"); - }); - - this.on('selectitem.uk.autocomplete', function(e, data) { - if (data.url) { - location.href = data.url; - } else if(data.moreresults) { - $this.autocomplete.input.closest('form').submit(); - } - }); - - this.element.data("search", this); - } - }); -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/search.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/search.min.js deleted file mode 100644 index 09fedd7fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/search.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(e){var s;window.UIkit&&(s=e(UIkit)),"function"==typeof define&&define.amd&&define("uikit-search",["uikit"],function(){return s||e(UIkit)})}(function(e){"use strict";e.component("search",{defaults:{msgResultsHeader:"Search Results",msgMoreResults:"More Results",msgNoResults:"No results found",template:'<ul class="uk-nav uk-nav-search uk-autocomplete-results"> {{#msgResultsHeader}}<li class="uk-nav-header uk-skip">{{msgResultsHeader}}</li>{{/msgResultsHeader}} {{#items && items.length}} {{~items}} <li data-url="{{!$item.url}}"> <a href="{{!$item.url}}"> {{{$item.title}}} {{#$item.text}}<div>{{{$item.text}}}</div>{{/$item.text}} </a> </li> {{/items}} {{#msgMoreResults}} <li class="uk-nav-divider uk-skip"></li> <li class="uk-search-moreresults" data-moreresults="true"><a href="#" onclick="jQuery(this).closest(\'form\').submit();">{{msgMoreResults}}</a></li> {{/msgMoreResults}} {{/end}} {{^items.length}} {{#msgNoResults}}<li class="uk-skip"><a>{{msgNoResults}}</a></li>{{/msgNoResults}} {{/end}} </ul>',renderer:function(e){var s=this.options;this.dropdown.append(this.template({items:e.results||[],msgResultsHeader:s.msgResultsHeader,msgMoreResults:s.msgMoreResults,msgNoResults:s.msgNoResults})),this.show()}},boot:function(){e.$html.on("focus.search.uikit","[data-uk-search]",function(){var s=e.$(this);if(!s.data("search")){e.search(s,e.Utils.options(s.attr("data-uk-search")))}})},init:function(){var s=this;this.autocomplete=e.autocomplete(this.element,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-search"),this.autocomplete.input.on("keyup",function(){s.element[s.autocomplete.input.val()?"addClass":"removeClass"]("uk-active")}).closest("form").on("reset",function(){s.value="",s.element.removeClass("uk-active")}),this.on("selectitem.uk.autocomplete",function(e,t){t.url?location.href=t.url:t.moreresults&&s.autocomplete.input.closest("form").submit()}),this.element.data("search",this)}})}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slider.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slider.js deleted file mode 100644 index dc77cd481..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slider.js +++ /dev/null @@ -1,482 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slider", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var dragging, delayIdle, anchor, dragged, store = {}; - - UI.component('slider', { - - defaults: { - center : false, - threshold : 10, - infinite : true, - activecls : 'uk-active' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - setTimeout(function(){ - - UI.$("[data-uk-slider]", context).each(function(){ - - var ele = UI.$(this); - - if (!ele.data("slider")) { - UI.slider(ele, UI.Utils.options(ele.attr('data-uk-slider'))); - } - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.container = this.element.find('.uk-slider'); - this.focus = 0; - - UI.$win.on("resize load", UI.Utils.debounce(function() { - $this.resize(true); - }, 100)); - - this.on("click.uikit.slider", '[data-uk-slider-item]', function(e) { - - e.preventDefault(); - - var item = UI.$(this).attr('data-uk-slider-item'); - - if ($this.focus == item) return; - - switch(item) { - case 'next': - case 'previous': - $this[item=='next' ? 'next':'previous'](); - break; - default: - $this.updateFocus(parseInt(slide, 10)); - } - }); - - this.container.on('touchstart mousedown', function(evt) { - - if (evt.originalEvent && evt.originalEvent.touches) { - evt = evt.originalEvent.touches[0]; - } - - // ignore right click button - if (evt.button && evt.button==2 || !$this.active) { - return; - } - - anchor = UI.$(evt.target).is('a') ? UI.$(evt.target) : UI.$(evt.target).parents('a:first'); - dragged = false; - - if (anchor.length) { - - anchor.one('click', function(e){ - if (dragged) e.preventDefault(); - }); - } - - delayIdle = function(e) { - - dragged = true; - dragging = $this; - store = { - touchx : parseInt(e.pageX, 10), - dir : 1, - focus : $this.focus, - base : $this.options.center ? 'center':'area' - }; - - if (e.originalEvent && e.originalEvent.touches) { - e = e.originalEvent.touches[0]; - } - - dragging.element.data({ - 'pointer-start': {x: parseInt(e.pageX, 10), y: parseInt(e.pageY, 10)}, - 'pointer-pos-start': $this.pos - }); - - $this.container.addClass('uk-drag'); - - delayIdle = false; - }; - - delayIdle.x = parseInt(evt.pageX, 10); - delayIdle.threshold = $this.options.threshold; - - }); - - this.resize(true); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) { - $this.resize(true); - } - }); - - // prevent dragging links + images - this.element.find('a,img').attr('draggable', 'false'); - }, - - resize: function(focus) { - - var $this = this, pos = 0, maxheight = 0, item, width, cwidth, size; - - this.items = this.container.children().filter(':visible'); - this.vp = this.element[0].getBoundingClientRect().width; - - this.container.css({'min-width': '', 'min-height': ''}); - - this.items.each(function(idx){ - - item = UI.$(this); - size = item.css({'left': '', 'width':''})[0].getBoundingClientRect(); - width = size.width; - cwidth = item.width(); - maxheight = Math.max(maxheight, size.height); - - item.css({'left': pos, 'width':width}).data({'idx':idx, 'left': pos, 'width': width, 'cwidth':cwidth, 'area': (pos+width), 'center':(pos - ($this.vp/2 - cwidth/2))}); - - pos += width; - }); - - this.container.css({'min-width': pos, 'min-height': maxheight}); - - if (this.options.infinite && pos <= (2*this.vp) && !this.itemsResized) { - - // fill with cloned items - this.container.children().each(function(idx){ - $this.container.append($this.items.eq(idx).clone(true).attr('id', '')); - }).each(function(idx){ - $this.container.append($this.items.eq(idx).clone(true).attr('id', '')); - }); - - this.itemsResized = true; - - return this.resize(); - } - - this.cw = pos; - this.pos = 0; - this.active = pos >= this.vp; - - this.container.css({ - '-ms-transform': '', - '-webkit-transform': '', - 'transform': '' - }); - - this.updateFocus(0); - }, - - updatePos: function(pos) { - this.pos = pos; - this.container.css({ - '-ms-transform': 'translateX('+pos+'px)', - '-webkit-transform': 'translateX('+pos+'px)', - 'transform': 'translateX('+pos+'px)' - }); - }, - - updateFocus: function(idx, dir) { - - if (!this.active) { - return; - } - - dir = dir || (idx > this.focus ? 1:-1); - - var $this = this, item = this.items.eq(idx), area, i; - - if (this.options.infinite) { - this.infinite(idx, dir); - } - - if (this.options.center) { - - this.updatePos(item.data('center')*-1); - - this.items.filter('.'+this.options.activecls).removeClass(this.options.activecls); - item.addClass(this.options.activecls); - - } else { - - if (this.options.infinite) { - - this.updatePos(item.data('left')*-1); - - } else { - - area = 0; - - for (i=idx;i<this.items.length;i++) { - area += this.items.eq(i).data('width'); - } - - - if (area > this.vp) { - - this.updatePos(item.data('left')*-1); - - } else { - - if (dir == 1) { - - area = 0; - - for (i=this.items.length-1;i>=0;i--) { - - area += this.items.eq(i).data('width'); - - if (area >= this.vp) { - idx = i; - break; - } - } - - this.updatePos(this.items.eq(idx).data('left')*-1); - } - } - } - } - - this.focus = idx; - - this.trigger('focusitem.uk.slider', [idx,this.items.eq(idx),this]); - }, - - next: function() { - - var focus = this.items[this.focus + 1] ? (this.focus + 1) : (this.options.infinite ? 0:this.focus); - - this.updateFocus(focus, 1); - }, - - previous: function() { - - var focus = this.items[this.focus - 1] ? (this.focus - 1) : (this.options.infinite ? (this.items[this.focus - 1] ? this.items-1:this.items.length-1):this.focus); - - this.updateFocus(focus, -1); - }, - - infinite: function(baseidx, direction) { - - var $this = this, item = this.items.eq(baseidx), i, z = baseidx, move = [], lastvisible, area = 0; - - if (direction == 1) { - - - for (i=0;i<this.items.length;i++) { - - if (z != baseidx) { - area += this.items.eq(z).data('width'); - move.push(this.items.eq(z)); - } - - if (area > this.vp) { - break; - } - - z = z+1 == this.items.length ? 0:z+1; - } - - if (move.length) { - - move.forEach(function(itm){ - - var left = item.data('area'); - - itm.css({'left': left}).data({ - 'left' : left, - 'area' : (left+itm.data('width')), - 'center': (left - ($this.vp/2 - itm.data('cwidth')/2)) - }); - - item = itm; - }); - } - - - } else { - - for (i=this.items.length-1;i >-1 ;i--) { - - area += this.items.eq(z).data('width'); - - if (z != baseidx) { - move.push(this.items.eq(z)); - } - - if (area > this.vp) { - break; - } - - z = z-1 == -1 ? this.items.length-1:z-1; - } - - if (move.length) { - - move.forEach(function(itm){ - - var left = item.data('left') - itm.data('width'); - - itm.css({'left': left}).data({ - 'left' : left, - 'area' : (left+itm.data('width')), - 'center': (left - ($this.vp/2 - itm.data('cwidth')/2)) - }); - - item = itm; - }); - } - } - } - }); - - // handle dragging - UI.$doc.on('mousemove.uikit.slider touchmove.uikit.slider', function(e) { - - if (e.originalEvent && e.originalEvent.touches) { - e = e.originalEvent.touches[0]; - } - - if (delayIdle && Math.abs(e.pageX - delayIdle.x) > delayIdle.threshold) { - - if (!window.getSelection().toString()) { - delayIdle(e); - } else { - dragging = delayIdle = false; - } - } - - if (!dragging) { - return; - } - - var x, xDiff, pos, dir, focus, item, next, diff, i, z, itm; - - if (e.clientX || e.clientY) { - x = e.clientX; - } else if (e.pageX || e.pageY) { - x = e.pageX - document.body.scrollLeft - document.documentElement.scrollLeft; - } - - focus = store.focus; - xDiff = x - dragging.element.data('pointer-start').x; - pos = dragging.element.data('pointer-pos-start') + xDiff; - dir = x > dragging.element.data('pointer-start').x ? -1:1; - item = dragging.items.eq(store.focus); - - if (dir == 1) { - - diff = item.data('left') + Math.abs(xDiff); - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('left') < diff && itm.data('area') > diff) { - focus = z; - break; - } - - z = z+1 == dragging.items.length ? 0:z+1; - } - - } else { - - diff = item.data('left') - Math.abs(xDiff); - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('area') <= item.data('left') && itm.data('center') < diff) { - focus = z; - break; - } - - z = z-1 == -1 ? dragging.items.length-1:z-1; - } - } - - if (dragging.options.infinite && focus!=store._focus) { - dragging.infinite(focus, dir); - } - - dragging.updatePos(pos); - - store.dir = dir; - store._focus = focus; - store.touchx = parseInt(e.pageX, 10); - store.diff = diff; - }); - - UI.$doc.on('mouseup.uikit.slider touchend.uikit.slider', function(e) { - - if (dragging) { - - dragging.container.removeClass('uk-drag'); - - var item = dragging.items.eq(store.focus), itm, focus = false, i, z; - - if (store.dir == 1) { - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('left') > store.diff) { - focus = z; - break; - } - - z = z+1 == dragging.items.length ? 0:z+1; - } - - } else { - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('left') < store.diff) { - focus = z; - break; - } - - z = z-1 == -1 ? dragging.items.length-1:z-1; - } - } - - dragging.updateFocus(focus!==false ? focus:store._focus); - - } - - dragging = delayIdle = false; - }); - - return UI.slider; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slider.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slider.min.js deleted file mode 100644 index 5159096e5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slider.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slider",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";var i,e,s,n,a={};return t.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,activecls:"uk-active"},boot:function(){t.ready(function(i){setTimeout(function(){t.$("[data-uk-slider]",i).each(function(){var i=t.$(this);i.data("slider")||t.slider(i,t.Utils.options(i.attr("data-uk-slider")))})},0)})},init:function(){var o=this;this.container=this.element.find(".uk-slider"),this.focus=0,t.$win.on("resize load",t.Utils.debounce(function(){o.resize(!0)},100)),this.on("click.uikit.slider","[data-uk-slider-item]",function(i){i.preventDefault();var e=t.$(this).attr("data-uk-slider-item");if(o.focus!=e)switch(e){case"next":case"previous":o["next"==e?"next":"previous"]();break;default:o.updateFocus(parseInt(slide,10))}}),this.container.on("touchstart mousedown",function(h){h.originalEvent&&h.originalEvent.touches&&(h=h.originalEvent.touches[0]),h.button&&2==h.button||!o.active||(s=t.$(h.target).is("a")?t.$(h.target):t.$(h.target).parents("a:first"),n=!1,s.length&&s.one("click",function(t){n&&t.preventDefault()}),e=function(t){n=!0,i=o,a={touchx:parseInt(t.pageX,10),dir:1,focus:o.focus,base:o.options.center?"center":"area"},t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i.element.data({"pointer-start":{x:parseInt(t.pageX,10),y:parseInt(t.pageY,10)},"pointer-pos-start":o.pos}),o.container.addClass("uk-drag"),e=!1},e.x=parseInt(h.pageX,10),e.threshold=o.options.threshold)}),this.resize(!0),this.on("display.uk.check",function(){o.element.is(":visible")&&o.resize(!0)}),this.element.find("a,img").attr("draggable","false")},resize:function(){var i,e,s,n,a=this,o=0,h=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(r){i=t.$(this),n=i.css({left:"",width:""})[0].getBoundingClientRect(),e=n.width,s=i.width(),h=Math.max(h,n.height),i.css({left:o,width:e}).data({idx:r,left:o,width:e,cwidth:s,area:o+e,center:o-(a.vp/2-s/2)}),o+=e}),this.container.css({"min-width":o,"min-height":h}),this.options.infinite&&o<=2*this.vp&&!this.itemsResized?(this.container.children().each(function(t){a.container.append(a.items.eq(t).clone(!0).attr("id",""))}).each(function(t){a.container.append(a.items.eq(t).clone(!0).attr("id",""))}),this.itemsResized=!0,this.resize()):(this.cw=o,this.pos=0,this.active=o>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),this.updateFocus(0),void 0)},updatePos:function(t){this.pos=t,this.container.css({"-ms-transform":"translateX("+t+"px)","-webkit-transform":"translateX("+t+"px)",transform:"translateX("+t+"px)"})},updateFocus:function(t,i){if(this.active){i=i||(t>this.focus?1:-1);var e,s,n=this.items.eq(t);if(this.options.infinite&&this.infinite(t,i),this.options.center)this.updatePos(-1*n.data("center")),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),n.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(-1*n.data("left"));else{for(e=0,s=t;s<this.items.length;s++)e+=this.items.eq(s).data("width");if(e>this.vp)this.updatePos(-1*n.data("left"));else if(1==i){for(e=0,s=this.items.length-1;s>=0;s--)if(e+=this.items.eq(s).data("width"),e>=this.vp){t=s;break}this.updatePos(-1*this.items.eq(t).data("left"))}}this.focus=t,this.trigger("focusitem.uk.slider",[t,this.items.eq(t),this])}},next:function(){var t=this.items[this.focus+1]?this.focus+1:this.options.infinite?0:this.focus;this.updateFocus(t,1)},previous:function(){var t=this.items[this.focus-1]?this.focus-1:this.options.infinite?this.items[this.focus-1]?this.items-1:this.items.length-1:this.focus;this.updateFocus(t,-1)},infinite:function(t,i){var e,s=this,n=this.items.eq(t),a=t,o=[],h=0;if(1==i){for(e=0;e<this.items.length&&(a!=t&&(h+=this.items.eq(a).data("width"),o.push(this.items.eq(a))),!(h>this.vp));e++)a=a+1==this.items.length?0:a+1;o.length&&o.forEach(function(t){var i=n.data("area");t.css({left:i}).data({left:i,area:i+t.data("width"),center:i-(s.vp/2-t.data("cwidth")/2)}),n=t})}else{for(e=this.items.length-1;e>-1&&(h+=this.items.eq(a).data("width"),a!=t&&o.push(this.items.eq(a)),!(h>this.vp));e--)a=a-1==-1?this.items.length-1:a-1;o.length&&o.forEach(function(t){var i=n.data("left")-t.data("width");t.css({left:i}).data({left:i,area:i+t.data("width"),center:i-(s.vp/2-t.data("cwidth")/2)}),n=t})}}}),t.$doc.on("mousemove.uikit.slider touchmove.uikit.slider",function(t){if(t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),e&&Math.abs(t.pageX-e.x)>e.threshold&&(window.getSelection().toString()?i=e=!1:e(t)),i){var s,n,o,h,r,c,f,d,u,l;if(t.clientX||t.clientY?s=t.clientX:(t.pageX||t.pageY)&&(s=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),r=a.focus,n=s-i.element.data("pointer-start").x,o=i.element.data("pointer-pos-start")+n,h=s>i.element.data("pointer-start").x?-1:1,c=i.items.eq(a.focus),1==h)for(f=c.data("left")+Math.abs(n),d=0,u=a.focus;d<i.items.length;d++){if(l=i.items.eq(u),u!=a.focus&&l.data("left")<f&&l.data("area")>f){r=u;break}u=u+1==i.items.length?0:u+1}else for(f=c.data("left")-Math.abs(n),d=0,u=a.focus;d<i.items.length;d++){if(l=i.items.eq(u),u!=a.focus&&l.data("area")<=c.data("left")&&l.data("center")<f){r=u;break}u=u-1==-1?i.items.length-1:u-1}i.options.infinite&&r!=a._focus&&i.infinite(r,h),i.updatePos(o),a.dir=h,a._focus=r,a.touchx=parseInt(t.pageX,10),a.diff=f}}),t.$doc.on("mouseup.uikit.slider touchend.uikit.slider",function(){if(i){i.container.removeClass("uk-drag");var t,s,n,o=(i.items.eq(a.focus),!1);if(1==a.dir)for(s=0,n=a.focus;s<i.items.length;s++){if(t=i.items.eq(n),n!=a.focus&&t.data("left")>a.diff){o=n;break}n=n+1==i.items.length?0:n+1}else for(s=0,n=a.focus;s<i.items.length;s++){if(t=i.items.eq(n),n!=a.focus&&t.data("left")<a.diff){o=n;break}n=n-1==-1?i.items.length-1:n-1}i.updateFocus(o!==!1?o:a._focus)}i=e=!1}),t.slider}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideset.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideset.js deleted file mode 100644 index b6693d751..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideset.js +++ /dev/null @@ -1,503 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slideset", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var Animations; - - UI.component('slideset', { - - defaults: { - default : 1, - animation : 'fade', - duration : 200, - filter : '', - delay : false, - controls : false, - autoplay : false, - autoplayInterval : 7000, - pauseOnHover : true - }, - - sets: [], - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-slideset]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("slideset")) { - var plugin = UI.slideset(ele, UI.Utils.options(ele.attr("data-uk-slideset"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.activeSet = false; - this.list = this.element.find('.uk-slideset'); - this.nav = this.element.find('.uk-slideset-nav'); - this.controls = this.options.controls ? UI.$(this.options.controls) : this.element; - - UI.$win.on("resize load", UI.Utils.debounce(function() { - $this.updateSets(); - }, 100)); - - $this.list.addClass('uk-grid-width-1-'+$this.options.default); - - ['xlarge', 'large', 'medium', 'small'].forEach(function(bp) { - - if (!$this.options[bp]) { - return; - } - - $this.list.addClass('uk-grid-width-'+bp+'-1-'+$this.options[bp]); - }); - - this.on("click.uikit.slideset", '[data-uk-slideset-item]', function(e) { - - e.preventDefault(); - - if ($this.animating) { - return; - } - - var set = UI.$(this).attr('data-uk-slideset-item'); - - if ($this.activeSet === set) return; - - switch(set) { - case 'next': - case 'previous': - $this[set=='next' ? 'next':'previous'](); - break; - default: - $this.show(parseInt(set, 10)); - } - - }); - - this.controls.on('click.uikit.slideset', '[data-uk-filter]', function(e) { - - var ele = UI.$(this); - - if (ele.parent().hasClass('uk-slideset')) { - return; - } - - e.preventDefault(); - - if ($this.animating || $this.currentFilter == ele.attr('data-uk-filter')) { - return; - } - - $this.updateFilter(ele.attr('data-uk-filter')); - - $this._hide().then(function(){ - - $this.updateSets(true, true); - }); - }); - - this.on('swipeRight swipeLeft', function(e) { - $this[e.type=='swipeLeft' ? 'next' : 'previous'](); - }); - - this.updateFilter(this.options.filter); - this.updateSets(); - - this.element.on({ - mouseenter: function() { if ($this.options.pauseOnHover) $this.hovering = true; }, - mouseleave: function() { $this.hovering = false; } - }); - - // Set autoplay - if (this.options.autoplay) { - this.start(); - } - }, - - updateSets: function(animate, force) { - - var $this = this, visible = this.visible, i; - - this.visible = this.getVisibleOnCurrenBreakpoint(); - - if (visible == this.visible && !force) { - return; - } - - this.children = this.list.children().hide(); - this.items = this.getItems(); - this.sets = array_chunk(this.items, this.visible); - - for (i=0;i<this.sets.length;i++) { - this.sets[i].css({'display': 'none'}); - } - - // update nav - if (this.nav.length && this.nav.empty()) { - - for (i=0;i<this.sets.length;i++) { - this.nav.append('<li data-uk-slideset-item="'+i+'"><a></a></li>'); - } - - this.nav[this.nav.children().length==1 ? 'addClass':'removeClass']('uk-invisible'); - } - - this.activeSet = false; - this.show(0, !animate); - }, - - updateFilter: function(currentfilter) { - - var $this = this, filter; - - this.currentFilter = currentfilter; - - this.controls.find('[data-uk-filter]').each(function(){ - - filter = UI.$(this); - - if (!filter.parent().hasClass('uk-slideset')) { - - if (filter.attr('data-uk-filter') == $this.currentFilter) { - filter.addClass('uk-active'); - } else { - filter.removeClass('uk-active'); - } - } - }); - }, - - getVisibleOnCurrenBreakpoint: function() { - - var breakpoint = null, - tmp = UI.$('<div style="position:absolute;height:1px;top:-1000px;width:100px"><div></div></div>').appendTo('body'), - testdiv = tmp.children().eq(0), - breakpoints = this.options; - - ['xlarge', 'large', 'medium', 'small'].forEach(function(bp) { - - if (!breakpoints[bp] || breakpoint) { - return; - } - - tmp.attr('class', 'uk-grid-width-'+bp+'-1-2').width(); - - if (testdiv.width() == 50) { - breakpoint = bp; - } - }); - - tmp.remove(); - - return this.options[breakpoint] || this.options['default']; - }, - - getItems: function() { - - var items = [], filter; - - if (this.currentFilter) { - - filter = this.currentFilter || []; - - if (typeof(filter) === 'string') { - filter = filter.split(/,/).map(function(item){ return item.trim(); }); - } - - this.children.each(function(index){ - - var ele = UI.$(this), f = ele.attr('data-uk-filter'), infilter = filter.length ? false : true; - - if (f) { - - f = f.split(/,/).map(function(item){ return item.trim(); }); - - filter.forEach(function(item){ - if (f.indexOf(item) > -1) infilter = true; - }); - } - - if(infilter) items.push(ele[0]); - }); - - items = UI.$(items); - - } else { - items = this.list.children(); - } - - return items; - }, - - show: function(setIndex, noanimate, dir) { - - var $this = this; - - if (this.activeSet === setIndex || this.animating) { - return; - } - - dir = dir || (setIndex < this.activeSet ? -1:1); - - var current = this.sets[this.activeSet] || [], - next = this.sets[setIndex], - animation = this._getAnimation(); - - if (noanimate || !UI.support.animation) { - animation = Animations.none; - } - - this.animating = true; - - if (this.nav.length) { - this.nav.children().removeClass('uk-active').eq(setIndex).addClass('uk-active'); - } - - animation.apply($this, [current, next, dir]).then(function(){ - - UI.Utils.checkDisplay(next, true); - - $this.children.hide().removeClass('uk-active'); - next.addClass('uk-active').css({'display': '', 'opacity':''}); - - $this.animating = false; - $this.activeSet = setIndex; - - UI.Utils.checkDisplay(next, true); - - $this.trigger('show.uk.slideset', [next]); - }); - - }, - - _getAnimation: function() { - - var $this = this, - animation = Animations[this.options.animation] || Animations.none; - - if (!UI.support.animation) { - animation = Animations.none; - } - - return animation; - }, - - _hide: function() { - - var $this = this, - current = this.sets[this.activeSet] || [], - animation = this._getAnimation(); - - this.animating = true; - - return animation.apply($this, [current, [], 1]).then(function(){ - $this.animating = false; - }); - }, - - next: function() { - this.show(this.sets[this.activeSet + 1] ? (this.activeSet + 1) : 0, false, 1); - }, - - previous: function() { - this.show(this.sets[this.activeSet - 1] ? (this.activeSet - 1) : (this.sets.length - 1), false, -1); - }, - - start: function() { - - this.stop(); - - var $this = this; - - this.interval = setInterval(function() { - if (!$this.hovering && !$this.animating) $this.next(); - }, this.options.autoplayInterval); - - }, - - stop: function() { - if (this.interval) clearInterval(this.interval); - } - }); - - Animations = { - - 'none': function() { - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'fade': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-fade', current, next]); - }, - - 'slide-bottom': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); - }, - - 'slide-top': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); - }, - - 'slide-vertical': function(current, next, dir) { - - var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; - - if (dir == -1) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'slide-horizontal': function(current, next, dir) { - - var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; - - if (dir == -1) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next, dir]); - }, - - 'scale': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); - } - }; - - UI.slideset.animations = Animations; - - // helpers - - function coreAnimation(cls, current, next, dir) { - - var d = UI.$.Deferred(), - delay = (this.options.delay === false) ? Math.floor(this.options.duration/2) : this.options.delay, - $this = this, clsIn, clsOut, release, i; - - dir = dir || 1; - - this.element.css('min-height', this.element.height()); - - if (next[0]===current[0]) { - d.resolve(); - return d.promise(); - } - - if (typeof(cls) == 'object') { - clsIn = cls[0]; - clsOut = cls[1] || cls[0]; - } else { - clsIn = cls; - clsOut = clsIn; - } - - release = function() { - - if (current && current.length) { - current.hide().removeClass(clsOut+' uk-animation-reverse').css({'opacity':'', 'animation-delay': '', 'animation':''}); - } - - if (!next.length) { - d.resolve(); - return; - } - - for (i=0;i<next.length;i++) { - next.eq(dir == 1 ? i:(next.length - i)-1).css('animation-delay', (i*delay)+'ms'); - } - - next.addClass(clsIn)[dir==1 ? 'last':'first']().one(UI.support.animation.end, function() { - - next.removeClass(''+clsIn+'').css({opacity:'', display:'', 'animation-delay':'', 'animation':''}); - d.resolve(); - $this.element.css('min-height', ''); - - }).end().css('display', ''); - }; - - if (next.length) { - next.css('animation-duration', this.options.duration+'ms'); - } - - if (current && current.length) { - - current.css('animation-duration', this.options.duration+'ms')[dir==1 ? 'last':'first']().one(UI.support.animation.end, function() { - release(); - }); - - for (i=0;i<current.length;i++) { - - (function (index, ele){ - - setTimeout(function(){ - ele.css('display', 'none').css('display', '').css('opacity', 0).addClass(clsOut+' uk-animation-reverse'); - }.bind(this), i * delay); - - })(i, current.eq(dir == 1 ? i:(current.length - i)-1)); - } - - } else { - release(); - } - - return d.promise(); - } - - function array_chunk(input, size) { - - var x, i = 0, c = -1, l = input.length || 0, n = []; - - if (size < 1) return null; - - while (i < l) { - - x = i % size; - - if(x) { - n[c][x] = input[i]; - } else { - n[++c] = [input[i]]; - } - - i++; - } - - i = 0; - l = n.length; - - while (i < l) { - n[i] = jQuery(n[i]); - i++; - } - - return n; - } - -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideset.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideset.min.js deleted file mode 100644 index 0117b1a61..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideset.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideset",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i,e,s,n){var a,o,r,l,h=t.$.Deferred(),u=this.options.delay===!1?Math.floor(this.options.duration/2):this.options.delay,d=this;if(n=n||1,this.element.css("min-height",this.element.height()),s[0]===e[0])return h.resolve(),h.promise();if("object"==typeof i?(a=i[0],o=i[1]||i[0]):(a=i,o=a),r=function(){if(e&&e.length&&e.hide().removeClass(o+" uk-animation-reverse").css({opacity:"","animation-delay":"",animation:""}),!s.length)return h.resolve(),void 0;for(l=0;l<s.length;l++)s.eq(1==n?l:s.length-l-1).css("animation-delay",l*u+"ms");s.addClass(a)[1==n?"last":"first"]().one(t.support.animation.end,function(){s.removeClass(""+a).css({opacity:"",display:"","animation-delay":"",animation:""}),h.resolve(),d.element.css("min-height","")}).end().css("display","")},s.length&&s.css("animation-duration",this.options.duration+"ms"),e&&e.length)for(e.css("animation-duration",this.options.duration+"ms")[1==n?"last":"first"]().one(t.support.animation.end,function(){r()}),l=0;l<e.length;l++)!function(t,i){setTimeout(function(){i.css("display","none").css("display","").css("opacity",0).addClass(o+" uk-animation-reverse")}.bind(this),l*u)}(l,e.eq(1==n?l:e.length-l-1));else r();return h.promise()}function e(t,i){var e,s=0,n=-1,a=t.length||0,o=[];if(1>i)return null;for(;a>s;)e=s%i,e?o[n][e]=t[s]:o[++n]=[t[s]],s++;for(s=0,a=o.length;a>s;)o[s]=jQuery(o[s]),s++;return o}var s;t.component("slideset",{defaults:{"default":1,animation:"fade",duration:200,filter:"",delay:!1,controls:!1,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},sets:[],boot:function(){t.ready(function(i){t.$("[data-uk-slideset]",i).each(function(){var i=t.$(this);if(!i.data("slideset")){t.slideset(i,t.Utils.options(i.attr("data-uk-slideset")))}})})},init:function(){var i=this;this.activeSet=!1,this.list=this.element.find(".uk-slideset"),this.nav=this.element.find(".uk-slideset-nav"),this.controls=this.options.controls?t.$(this.options.controls):this.element,t.$win.on("resize load",t.Utils.debounce(function(){i.updateSets()},100)),i.list.addClass("uk-grid-width-1-"+i.options.default),["xlarge","large","medium","small"].forEach(function(t){i.options[t]&&i.list.addClass("uk-grid-width-"+t+"-1-"+i.options[t])}),this.on("click.uikit.slideset","[data-uk-slideset-item]",function(e){if(e.preventDefault(),!i.animating){var s=t.$(this).attr("data-uk-slideset-item");if(i.activeSet!==s)switch(s){case"next":case"previous":i["next"==s?"next":"previous"]();break;default:i.show(parseInt(s,10))}}}),this.controls.on("click.uikit.slideset","[data-uk-filter]",function(e){var s=t.$(this);s.parent().hasClass("uk-slideset")||(e.preventDefault(),i.animating||i.currentFilter==s.attr("data-uk-filter")||(i.updateFilter(s.attr("data-uk-filter")),i._hide().then(function(){i.updateSets(!0,!0)})))}),this.on("swipeRight swipeLeft",function(t){i["swipeLeft"==t.type?"next":"previous"]()}),this.updateFilter(this.options.filter),this.updateSets(),this.element.on({mouseenter:function(){i.options.pauseOnHover&&(i.hovering=!0)},mouseleave:function(){i.hovering=!1}}),this.options.autoplay&&this.start()},updateSets:function(t,i){var s,n=this.visible;if(this.visible=this.getVisibleOnCurrenBreakpoint(),n!=this.visible||i){for(this.children=this.list.children().hide(),this.items=this.getItems(),this.sets=e(this.items,this.visible),s=0;s<this.sets.length;s++)this.sets[s].css({display:"none"});if(this.nav.length&&this.nav.empty()){for(s=0;s<this.sets.length;s++)this.nav.append('<li data-uk-slideset-item="'+s+'"><a></a></li>');this.nav[1==this.nav.children().length?"addClass":"removeClass"]("uk-invisible")}this.activeSet=!1,this.show(0,!t)}},updateFilter:function(i){var e,s=this;this.currentFilter=i,this.controls.find("[data-uk-filter]").each(function(){e=t.$(this),e.parent().hasClass("uk-slideset")||(e.attr("data-uk-filter")==s.currentFilter?e.addClass("uk-active"):e.removeClass("uk-active"))})},getVisibleOnCurrenBreakpoint:function(){var i=null,e=t.$('<div style="position:absolute;height:1px;top:-1000px;width:100px"><div></div></div>').appendTo("body"),s=e.children().eq(0),n=this.options;return["xlarge","large","medium","small"].forEach(function(t){n[t]&&!i&&(e.attr("class","uk-grid-width-"+t+"-1-2").width(),50==s.width()&&(i=t))}),e.remove(),this.options[i]||this.options["default"]},getItems:function(){var i,e=[];return this.currentFilter?(i=this.currentFilter||[],"string"==typeof i&&(i=i.split(/,/).map(function(t){return t.trim()})),this.children.each(function(){var s=t.$(this),n=s.attr("data-uk-filter"),a=i.length?!1:!0;n&&(n=n.split(/,/).map(function(t){return t.trim()}),i.forEach(function(t){n.indexOf(t)>-1&&(a=!0)})),a&&e.push(s[0])}),e=t.$(e)):e=this.list.children(),e},show:function(i,e,n){var a=this;if(this.activeSet!==i&&!this.animating){n=n||(i<this.activeSet?-1:1);var o=this.sets[this.activeSet]||[],r=this.sets[i],l=this._getAnimation();(e||!t.support.animation)&&(l=s.none),this.animating=!0,this.nav.length&&this.nav.children().removeClass("uk-active").eq(i).addClass("uk-active"),l.apply(a,[o,r,n]).then(function(){t.Utils.checkDisplay(r,!0),a.children.hide().removeClass("uk-active"),r.addClass("uk-active").css({display:"",opacity:""}),a.animating=!1,a.activeSet=i,t.Utils.checkDisplay(r,!0),a.trigger("show.uk.slideset",[r])})}},_getAnimation:function(){var i=s[this.options.animation]||s.none;return t.support.animation||(i=s.none),i},_hide:function(){var t=this,i=this.sets[this.activeSet]||[],e=this._getAnimation();return this.animating=!0,e.apply(t,[i,[],1]).then(function(){t.animating=!1})},next:function(){this.show(this.sets[this.activeSet+1]?this.activeSet+1:0,!1,1)},previous:function(){this.show(this.sets[this.activeSet-1]?this.activeSet-1:this.sets.length-1,!1,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.animating||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)}}),s={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,e){return i.apply(this,["uk-animation-fade",t,e])},"slide-bottom":function(t,e){return i.apply(this,["uk-animation-slide-bottom",t,e])},"slide-top":function(t,e){return i.apply(this,["uk-animation-slide-top",t,e])},"slide-vertical":function(t,e,s){var n=["uk-animation-slide-top","uk-animation-slide-bottom"];return-1==s&&n.reverse(),i.apply(this,[n,t,e])},"slide-horizontal":function(t,e,s){var n=["uk-animation-slide-right","uk-animation-slide-left"];return-1==s&&n.reverse(),i.apply(this,[n,t,e,s])},scale:function(t,e){return i.apply(this,["uk-animation-scale-up",t,e])}},t.slideset.animations=s}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow-fx.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow-fx.js deleted file mode 100644 index 78ed16130..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow-fx.js +++ /dev/null @@ -1,377 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slideshow-fx", ["uikit"], function() { - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var Animations = UI.slideshow.animations; - - UI.$.extend(UI.slideshow.animations, { - 'slice': function(current, next, dir, fromfx) { - - if (!current.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(); - - var sliceWidth = Math.ceil(this.element.width() / this.options.slices), - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - top : 0, - left : 0, - width : this.container.width(), - height : this.container.height(), - opacity: 1, - zIndex : 15 - }), - ghostWidth = ghost.width(), - ghostHeight = ghost.height(), - pos = fromfx == 'slice-up' ? ghostHeight:'0', - bar; - - for (var i = 0; i < this.options.slices; i++) { - - if (fromfx == 'slice-up-down') { - pos = ((i % 2) + 2) % 2==0 ? '0':ghostHeight; - } - - var width = (i == this.options.slices-1) ? sliceWidth : sliceWidth, - clipto = ('rect(0px, '+(width*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'), - clipfrom; - - //slice-down - default - clipfrom = ('rect(0px, '+(width*(i+1))+'px, 0px, '+(sliceWidth*i)+'px)'); - - if (fromfx == 'slice-up' || (fromfx == 'slice-up-down' && ((i % 2) + 2) % 2==0 )) { - clipfrom = ('rect('+ghostHeight+'px, '+(width*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'); - } - - bar = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'clip' : clipfrom, - 'opacity' : 0, - 'transition' : 'all '+this.options.duration+'ms ease-in-out '+(i*60)+'ms', - '-webkit-transition' : 'all '+this.options.duration+'ms ease-in-out '+(i*60)+'ms' - - }).data('clip', clipto); - - ghost.append(bar); - } - - this.container.append(ghost); - - ghost.children().last().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }); - - ghost.width(); - - ghost.children().each(function() { - var bar = UI.$(this); - - bar.css({ - 'clip': bar.data('clip'), - 'opacity': 1 - }); - }); - - return d.promise(); - }, - - 'slice-up': function(current, next, dir) { - return Animations.slice.apply(this, [current, next, dir, 'slice-up']); - }, - - 'slice-down': function(current, next, dir) { - return Animations.slice.apply(this, [current, next, dir, 'slice-down']); - }, - - 'slice-up-down': function(current, next, dir) { - return Animations.slice.apply(this, [current, next, dir, 'slice-up-down']); - }, - - 'fold': function(current, next, dir) { - - if (!next.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(); - - var sliceWidth = Math.ceil(this.element.width() / this.options.slices), - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - width : next.width(), - height : next.height(), - opacity: 1, - zIndex : 15 - }), - ghostWidth = next.width(), - ghostHeight = next.height(), - bar; - - for (var i = 0; i < this.options.slices; i++) { - - var width = (i == this.options.slices-1) ? (ghostWidth - (sliceWidth*i)) : sliceWidth; - - bar = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'transform-origin' : (sliceWidth*i)+'px 0 0', - 'clip' : ('rect(0px, '+(sliceWidth*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'), - 'opacity' : 0, - 'transform' : 'scaleX(0.000001)', - 'transition' : 'all '+this.options.duration+'ms ease-in-out '+(100+i*60)+'ms', - '-webkit-transition' : 'all '+this.options.duration+'ms ease-in-out '+(100+i*60)+'ms' - }); - - ghost.prepend(bar); - } - - this.container.append(ghost); - - ghost.width(); - - ghost.children().first().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }).end().css({ - 'transform': 'scaleX(1)', - 'opacity': 1 - }); - - return d.promise(); - }, - - 'puzzle': function(current, next, dir) { - - if (!next.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(), $this = this; - - var boxCols = Math.round(this.options.slices/2), - boxWidth = Math.round(next.width()/boxCols), - boxRows = Math.round(next.height()/boxWidth), - boxHeight = Math.round(next.height()/boxRows)+1, - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - width : this.container.width(), - height : this.container.height(), - opacity : 1, - zIndex : 15 - }), - ghostWidth = this.container.width(), - ghostHeight = this.container.height(), - box, rect, width; - - for (var rows = 0; rows < boxRows; rows++) { - - for (var cols = 0; cols < boxCols; cols++) { - - width = (cols == boxCols-1) ? (boxWidth + 2) : boxWidth; - - rect = [ - (boxHeight * rows) +'px', // top - (width * (cols+1)) +'px', // right - (boxHeight * (rows + 1)) +'px', // bottom - (boxWidth * cols) +'px' // left - ]; - - box = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'opacity' : 0, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'clip' : ('rect('+rect.join(',')+')'), - '-webkit-transform' : 'translateZ(0)', // fixes webkit opacity flickering bug - 'transform' : 'translateZ(0)' // fixes moz opacity flickering bug - }); - - ghost.append(box); - } - } - - this.container.append(ghost); - - var boxes = shuffle(ghost.children()); - - boxes.each(function(i) { - UI.$(this).css({ - 'transition': 'all '+$this.options.duration+'ms ease-in-out '+(50+i*25)+'ms', - '-webkit-transition': 'all '+$this.options.duration+'ms ease-in-out '+(50+i*25)+'ms' - }); - }).last().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }); - - ghost.width(); - - boxes.css({'opacity': 1}); - - return d.promise(); - }, - - 'boxes': function(current, next, dir, fromfx) { - - if (!next.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(); - - var boxCols = Math.round(this.options.slices/2), - boxWidth = Math.round(next.width()/boxCols), - boxRows = Math.round(next.height()/boxWidth), - boxHeight = Math.round(next.height()/boxRows)+1, - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - width : next.width(), - height : next.height(), - opacity : 1, - zIndex : 15 - }), - ghostWidth = next.width(), - ghostHeight = next.height(), - box, rect, width, cols; - - for (var rows = 0; rows < boxRows; rows++) { - - for (cols = 0; cols < boxCols; cols++) { - - width = (cols == boxCols-1) ? (boxWidth + 2) : boxWidth; - - rect = [ - (boxHeight * rows) +'px', // top - (width * (cols+1)) +'px', // right - (boxHeight * (rows + 1)) +'px', // bottom - (boxWidth * cols) +'px' // left - ]; - - box = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'opacity' : 1, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'transform-origin' : rect[3]+' '+rect[0]+' 0', - 'clip' : ('rect('+rect.join(',')+')'), - '-webkit-transform' : 'scale(0.0000000000000001)', - 'transform' : 'scale(0.0000000000000001)' - }); - - ghost.append(box); - } - } - - this.container.append(ghost); - - var rowIndex = 0, colIndex = 0, timeBuff = 0, box2Darr = [[]], boxes = ghost.children(), prevCol; - - if (fromfx == 'boxes-reverse') { - boxes = [].reverse.apply(boxes); - } - - boxes.each(function() { - - box2Darr[rowIndex][colIndex] = UI.$(this); - colIndex++; - - if(colIndex == boxCols) { - rowIndex++; - colIndex = 0; - box2Darr[rowIndex] = []; - } - }); - - for (cols = 0, prevCol = 0; cols < (boxCols * boxRows); cols++) { - - prevCol = cols; - - for (var row = 0; row < boxRows; row++) { - - if (prevCol >= 0 && prevCol < boxCols) { - - box2Darr[row][prevCol].css({ - 'transition': 'all '+this.options.duration+'ms linear '+(50+timeBuff)+'ms', - '-webkit-transition': 'all '+this.options.duration+'ms linear '+(50+timeBuff)+'ms' - }); - } - prevCol--; - } - timeBuff += 100; - } - - boxes.last().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }); - - ghost.width(); - - boxes.css({ - '-webkit-transform': 'scale(1)', - 'transform': 'scale(1)' - }); - - return d.promise(); - }, - - 'boxes-reverse': function(current, next, dir) { - return Animations.boxes.apply(this, [current, next, dir, 'boxes-reverse']); - }, - - 'random-fx': function(){ - - var animations = ['slice-up', 'fold', 'puzzle', 'slice-down', 'boxes', 'slice-up-down', 'boxes-reverse']; - - this.fxIndex = (this.fxIndex === undefined ? -1 : this.fxIndex) + 1; - - if (!animations[this.fxIndex]) this.fxIndex = 0; - - return Animations[animations[this.fxIndex]].apply(this, arguments); - }, - }); - - - // helper functions - - // Shuffle an array - var shuffle = function(arr) { - for (var j, x, i = arr.length; i; j = parseInt(Math.random() * i), x = arr[--i], arr[i] = arr[j], arr[j] = x) {} - return arr; - }; - - return UI.slideshow.animations; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow-fx.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow-fx.min.js deleted file mode 100644 index cb1857711..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow-fx.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow-fx",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";var t=i.slideshow.animations;i.$.extend(i.slideshow.animations,{slice:function(e,s,n,o){if(!e.data("cover"))return t.fade.apply(this,arguments);for(var r,a=i.$.Deferred(),c=Math.ceil(this.element.width()/this.options.slices),h=s.data("cover").css("background-image"),p=i.$("<li></li>").css({top:0,left:0,width:this.container.width(),height:this.container.height(),opacity:1,zIndex:15}),d=p.width(),l=p.height(),u="slice-up"==o?l:"0",f=0;f<this.options.slices;f++){"slice-up-down"==o&&(u=(f%2+2)%2==0?"0":l);var m,x=f==this.options.slices-1?c:c,v="rect(0px, "+x*(f+1)+"px, "+l+"px, "+c*f+"px)";m="rect(0px, "+x*(f+1)+"px, 0px, "+c*f+"px)",("slice-up"==o||"slice-up-down"==o&&(f%2+2)%2==0)&&(m="rect("+l+"px, "+x*(f+1)+"px, "+l+"px, "+c*f+"px)"),r=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,width:d,height:l,"background-image":h,clip:m,opacity:0,transition:"all "+this.options.duration+"ms ease-in-out "+60*f+"ms","-webkit-transition":"all "+this.options.duration+"ms ease-in-out "+60*f+"ms"}).data("clip",v),p.append(r)}return this.container.append(p),p.children().last().on(i.support.transition.end,function(){p.remove(),a.resolve()}),p.width(),p.children().each(function(){var t=i.$(this);t.css({clip:t.data("clip"),opacity:1})}),a.promise()},"slice-up":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-up"])},"slice-down":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-down"])},"slice-up-down":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-up-down"])},fold:function(e,s){if(!s.data("cover"))return t.fade.apply(this,arguments);for(var n,o=i.$.Deferred(),r=Math.ceil(this.element.width()/this.options.slices),a=s.data("cover").css("background-image"),c=i.$("<li></li>").css({width:s.width(),height:s.height(),opacity:1,zIndex:15}),h=s.width(),p=s.height(),d=0;d<this.options.slices;d++){{d==this.options.slices-1?h-r*d:r}n=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,width:h,height:p,"background-image":a,"transform-origin":r*d+"px 0 0",clip:"rect(0px, "+r*(d+1)+"px, "+p+"px, "+r*d+"px)",opacity:0,transform:"scaleX(0.000001)",transition:"all "+this.options.duration+"ms ease-in-out "+(100+60*d)+"ms","-webkit-transition":"all "+this.options.duration+"ms ease-in-out "+(100+60*d)+"ms"}),c.prepend(n)}return this.container.append(c),c.width(),c.children().first().on(i.support.transition.end,function(){c.remove(),o.resolve()}).end().css({transform:"scaleX(1)",opacity:1}),o.promise()},puzzle:function(s,n){if(!n.data("cover"))return t.fade.apply(this,arguments);for(var o,r,a,c=i.$.Deferred(),h=this,p=Math.round(this.options.slices/2),d=Math.round(n.width()/p),l=Math.round(n.height()/d),u=Math.round(n.height()/l)+1,f=n.data("cover").css("background-image"),m=i.$("<li></li>").css({width:this.container.width(),height:this.container.height(),opacity:1,zIndex:15}),x=this.container.width(),v=this.container.height(),g=0;l>g;g++)for(var w=0;p>w;w++)a=w==p-1?d+2:d,r=[u*g+"px",a*(w+1)+"px",u*(g+1)+"px",d*w+"px"],o=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:0,width:x,height:v,"background-image":f,clip:"rect("+r.join(",")+")","-webkit-transform":"translateZ(0)",transform:"translateZ(0)"}),m.append(o);this.container.append(m);var b=e(m.children());return b.each(function(t){i.$(this).css({transition:"all "+h.options.duration+"ms ease-in-out "+(50+25*t)+"ms","-webkit-transition":"all "+h.options.duration+"ms ease-in-out "+(50+25*t)+"ms"})}).last().on(i.support.transition.end,function(){m.remove(),c.resolve()}),m.width(),b.css({opacity:1}),c.promise()},boxes:function(e,s,n,o){if(!s.data("cover"))return t.fade.apply(this,arguments);for(var r,a,c,h,p=i.$.Deferred(),d=Math.round(this.options.slices/2),l=Math.round(s.width()/d),u=Math.round(s.height()/l),f=Math.round(s.height()/u)+1,m=s.data("cover").css("background-image"),x=i.$("<li></li>").css({width:s.width(),height:s.height(),opacity:1,zIndex:15}),v=s.width(),g=s.height(),w=0;u>w;w++)for(h=0;d>h;h++)c=h==d-1?l+2:l,a=[f*w+"px",c*(h+1)+"px",f*(w+1)+"px",l*h+"px"],r=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:1,width:v,height:g,"background-image":m,"transform-origin":a[3]+" "+a[0]+" 0",clip:"rect("+a.join(",")+")","-webkit-transform":"scale(0.0000000000000001)",transform:"scale(0.0000000000000001)"}),x.append(r);this.container.append(x);var b,k=0,y=0,$=0,I=[[]],M=x.children();for("boxes-reverse"==o&&(M=[].reverse.apply(M)),M.each(function(){I[k][y]=i.$(this),y++,y==d&&(k++,y=0,I[k]=[])}),h=0,b=0;d*u>h;h++){b=h;for(var z=0;u>z;z++)b>=0&&d>b&&I[z][b].css({transition:"all "+this.options.duration+"ms linear "+(50+$)+"ms","-webkit-transition":"all "+this.options.duration+"ms linear "+(50+$)+"ms"}),b--;$+=100}return M.last().on(i.support.transition.end,function(){x.remove(),p.resolve()}),x.width(),M.css({"-webkit-transform":"scale(1)",transform:"scale(1)"}),p.promise()},"boxes-reverse":function(i,e,s){return t.boxes.apply(this,[i,e,s,"boxes-reverse"])},"random-fx":function(){var i=["slice-up","fold","puzzle","slice-down","boxes","slice-up-down","boxes-reverse"];return this.fxIndex=(void 0===this.fxIndex?-1:this.fxIndex)+1,i[this.fxIndex]||(this.fxIndex=0),t[i[this.fxIndex]].apply(this,arguments)}});var e=function(i){for(var t,e,s=i.length;s;t=parseInt(Math.random()*s),e=i[--s],i[s]=i[t],i[t]=e);return i};return i.slideshow.animations}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow.js deleted file mode 100644 index d897bc95e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow.js +++ /dev/null @@ -1,545 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slideshow", ["uikit"], function() { - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var Animations, playerId = 0; - - UI.component('slideshow', { - - defaults: { - animation : "fade", - duration : 500, - height : "auto", - start : 0, - autoplay : false, - autoplayInterval : 7000, - videoautoplay : true, - videomute : true, - slices : 15, - pauseOnHover : true, - kenburns : false, - kenburnsanimations : [ - 'uk-animation-middle-left', - 'uk-animation-top-right', - 'uk-animation-bottom-left', - 'uk-animation-top-center', - '', // middle-center - 'uk-animation-bottom-right' - ], - }, - - current : false, - interval : null, - hovering : false, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$('[data-uk-slideshow]', context).each(function() { - - var slideshow = UI.$(this); - - if (!slideshow.data("slideshow")) { - var obj = UI.slideshow(slideshow, UI.Utils.options(slideshow.attr("data-uk-slideshow"))); - } - }); - }); - }, - - init: function() { - - var $this = this, canvas, kbanimduration; - - this.container = this.element.hasClass('uk-slideshow') ? this.element : UI.$(this.find('.uk-slideshow')); - this.slides = this.container.children(); - this.slidesCount = this.slides.length; - this.current = this.options.start; - this.animating = false; - this.triggers = this.find('[data-uk-slideshow-item]'); - this.fixFullscreen = navigator.userAgent.match(/(iPad|iPhone|iPod)/g) && this.container.hasClass('uk-slideshow-fullscreen'); // viewport unit fix for height:100vh - should be fixed in iOS 8 - - if (this.options.kenburns) { - - kbanimduration = this.options.kenburns === true ? '15s': this.options.kenburns; - - if (!String(kbanimduration).match(/(ms|s)$/)) { - kbanimduration += 'ms'; - } - - if (typeof(this.options.kenburnsanimations) == 'string') { - this.options.kenburnsanimations = this.options.kenburnsanimations.split(','); - } - } - - this.slides.each(function(index) { - - var slide = UI.$(this), - media = slide.children('img,video,iframe').eq(0); - - slide.data('media', media); - slide.data('sizer', media); - - if (media.length) { - - var placeholder; - - switch(media[0].nodeName) { - case 'IMG': - - var cover = UI.$('<div class="uk-cover-background uk-position-cover"></div>').css({'background-image':'url('+ media.attr('src') + ')'}); - - media.css({'width': '100%','height': 'auto'}); - slide.prepend(cover).data('cover', cover); - break; - - case 'IFRAME': - - var src = media[0].src, iframeId = 'sw-'+(++playerId); - - media - .attr('src', '').on('load', function(){ - - if (index !== $this.current || (index == $this.current && !$this.options.videoautoplay)) { - $this.pausemedia(media); - } - - if ($this.options.videomute) { - - $this.mutemedia(media); - - var inv = setInterval((function(ic) { - return function() { - $this.mutemedia(media); - if (++ic >= 4) clearInterval(inv); - } - })(0), 250); - } - - }) - .data('slideshow', $this) // add self-reference for the vimeo-ready listener - .attr('data-player-id', iframeId) // add frameId for the vimeo-ready listener - .attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1&player_id='+iframeId].join('')) - .addClass('uk-position-absolute'); - - // disable pointer events - if(!UI.support.touch) media.css('pointer-events', 'none'); - - placeholder = true; - - if (UI.cover) { - UI.cover(media); - media.attr('data-uk-cover', '{}'); - } - - break; - - case 'VIDEO': - media.addClass('uk-cover-object uk-position-absolute'); - placeholder = true; - - if ($this.options.videomute) $this.mutemedia(media); - } - - if (placeholder) { - - canvas = UI.$('<canvas></canvas>').attr({'width': media[0].width, 'height': media[0].height}); - var img = UI.$('<img style="width:100%;height:auto;">').attr('src', canvas[0].toDataURL()); - - slide.prepend(img); - slide.data('sizer', img); - } - - } else { - slide.data('sizer', slide); - } - - if ($this.hasKenBurns(slide)) { - - slide.data('cover').css({ - '-webkit-animation-duration': kbanimduration, - 'animation-duration': kbanimduration - }); - } - }); - - this.on("click.uikit.slideshow", '[data-uk-slideshow-item]', function(e) { - - e.preventDefault(); - - var slide = UI.$(this).attr('data-uk-slideshow-item'); - - if ($this.current == slide) return; - - switch(slide) { - case 'next': - case 'previous': - $this[slide=='next' ? 'next':'previous'](); - break; - default: - $this.show(parseInt(slide, 10)); - } - - $this.stop(); - }); - - // Set start slide - this.slides.attr('aria-hidden', 'true').eq(this.current).addClass('uk-active').attr('aria-hidden', 'false'); - this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass('uk-active'); - - UI.$win.on("resize load", UI.Utils.debounce(function() { - $this.resize(); - - if ($this.fixFullscreen) { - $this.container.css('height', window.innerHeight); - $this.slides.css('height', window.innerHeight); - } - }, 100)); - - // chrome image load fix - setTimeout(function(){ - $this.resize(); - }, 80); - - // Set autoplay - if (this.options.autoplay) { - this.start(); - } - - if (this.options.videoautoplay && this.slides.eq(this.current).data('media')) { - this.playmedia(this.slides.eq(this.current).data('media')); - } - - if (this.options.kenburns) { - this.applyKenBurns(this.slides.eq(this.current)); - } - - this.container.on({ - mouseenter: function() { if ($this.options.pauseOnHover) $this.hovering = true; }, - mouseleave: function() { $this.hovering = false; } - }); - - this.on('swipeRight swipeLeft', function(e) { - $this[e.type=='swipeLeft' ? 'next' : 'previous'](); - }); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) { - - $this.resize(); - - if ($this.fixFullscreen) { - $this.container.css('height', window.innerHeight); - $this.slides.css('height', window.innerHeight); - } - } - }); - }, - - - resize: function() { - - if (this.container.hasClass('uk-slideshow-fullscreen')) return; - - var $this = this, height = this.options.height; - - if (this.options.height === 'auto') { - - height = 0; - - this.slides.css('height', '').each(function() { - height = Math.max(height, UI.$(this).height()); - }); - } - - this.container.css('height', height); - this.slides.css('height', height); - }, - - show: function(index, direction) { - - if (this.animating || this.current == index) return; - - this.animating = true; - - var $this = this, - current = this.slides.eq(this.current), - next = this.slides.eq(index), - dir = direction ? direction : this.current < index ? -1 : 1, - currentmedia = current.data('media'), - animation = Animations[this.options.animation] ? this.options.animation : 'fade', - nextmedia = next.data('media'), - finalize = function() { - - if (!$this.animating) return; - - if (currentmedia && currentmedia.is('video,iframe')) { - $this.pausemedia(currentmedia); - } - - if (nextmedia && nextmedia.is('video,iframe')) { - $this.playmedia(nextmedia); - } - - next.addClass("uk-active").attr('aria-hidden', 'false'); - current.removeClass("uk-active").attr('aria-hidden', 'true'); - - $this.animating = false; - $this.current = index; - - UI.Utils.checkDisplay(next, '[class*="uk-animation-"]:not(.uk-cover-background.uk-position-cover)'); - - $this.trigger('show.uk.slideshow', [next]); - }; - - $this.applyKenBurns(next); - - // animation fallback - if (!UI.support.animation) { - animation = 'none'; - } - - current = UI.$(current); - next = UI.$(next); - - Animations[animation].apply(this, [current, next, dir]).then(finalize); - - $this.triggers.removeClass('uk-active'); - $this.triggers.filter('[data-uk-slideshow-item="'+index+'"]').addClass('uk-active'); - }, - - applyKenBurns: function(slide) { - - if (!this.hasKenBurns(slide)) { - return; - } - - var animations = this.options.kenburnsanimations, - index = this.kbindex || 0; - - - slide.data('cover').attr('class', 'uk-cover-background uk-position-cover').width(); - slide.data('cover').addClass(['uk-animation-scale', 'uk-animation-reverse', animations[index].trim()].join(' ')); - - this.kbindex = animations[index + 1] ? (index+1):0; - }, - - hasKenBurns: function(slide) { - return (this.options.kenburns && slide.data('cover')); - }, - - next: function() { - this.show(this.slides[this.current + 1] ? (this.current + 1) : 0); - }, - - previous: function() { - this.show(this.slides[this.current - 1] ? (this.current - 1) : (this.slides.length - 1)); - }, - - start: function() { - - this.stop(); - - var $this = this; - - this.interval = setInterval(function() { - if (!$this.hovering) $this.next(); - }, this.options.autoplayInterval); - - }, - - stop: function() { - if (this.interval) clearInterval(this.interval); - }, - - playmedia: function(media) { - - if (!(media && media[0])) return; - - switch(media[0].nodeName) { - case 'VIDEO': - - if (!this.options.videomute) { - media[0].muted = false; - } - - media[0].play(); - break; - case 'IFRAME': - - if (!this.options.videomute) { - media[0].contentWindow.postMessage('{ "event": "command", "func": "unmute", "method":"setVolume", "value":1}', '*'); - } - - media[0].contentWindow.postMessage('{ "event": "command", "func": "playVideo", "method":"play"}', '*'); - break; - } - }, - - pausemedia: function(media) { - - switch(media[0].nodeName) { - case 'VIDEO': - media[0].pause(); - break; - case 'IFRAME': - media[0].contentWindow.postMessage('{ "event": "command", "func": "pauseVideo", "method":"pause"}', '*'); - break; - } - }, - - mutemedia: function(media) { - - switch(media[0].nodeName) { - case 'VIDEO': - media[0].muted = true; - break; - case 'IFRAME': - media[0].contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); - break; - } - } - }); - - Animations = { - - 'none': function() { - - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'scroll': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1).one(UI.support.animation.end, function() { - - current.removeClass(dir === 1 ? 'uk-slideshow-scroll-backward-out' : 'uk-slideshow-scroll-forward-out'); - next.css('opacity', '').removeClass(dir === 1 ? 'uk-slideshow-scroll-backward-in' : 'uk-slideshow-scroll-forward-in'); - d.resolve(); - - }.bind(this)); - - current.addClass(dir == 1 ? 'uk-slideshow-scroll-backward-out' : 'uk-slideshow-scroll-forward-out'); - next.addClass(dir == 1 ? 'uk-slideshow-scroll-backward-in' : 'uk-slideshow-scroll-forward-in'); - next.width(); // force redraw - - return d.promise(); - }, - - 'swipe': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1).one(UI.support.animation.end, function() { - - current.removeClass(dir === 1 ? 'uk-slideshow-swipe-backward-out' : 'uk-slideshow-swipe-forward-out'); - next.css('opacity', '').removeClass(dir === 1 ? 'uk-slideshow-swipe-backward-in' : 'uk-slideshow-swipe-forward-in'); - d.resolve(); - - }.bind(this)); - - current.addClass(dir == 1 ? 'uk-slideshow-swipe-backward-out' : 'uk-slideshow-swipe-forward-out'); - next.addClass(dir == 1 ? 'uk-slideshow-swipe-backward-in' : 'uk-slideshow-swipe-forward-in'); - next.width(); // force redraw - - return d.promise(); - }, - - 'scale': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1); - - current.one(UI.support.animation.end, function() { - - current.removeClass('uk-slideshow-scale-out'); - next.css('opacity', ''); - d.resolve(); - - }.bind(this)); - - current.addClass('uk-slideshow-scale-out'); - current.width(); // force redraw - - return d.promise(); - }, - - 'fade': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1); - - current.one(UI.support.animation.end, function() { - - current.removeClass('uk-slideshow-fade-out'); - next.css('opacity', ''); - d.resolve(); - - }.bind(this)); - - current.addClass('uk-slideshow-fade-out'); - current.width(); // force redraw - - return d.promise(); - } - }; - - UI.slideshow.animations = Animations; - - // Listen for messages from the vimeo player - window.addEventListener('message', function onMessageReceived(e) { - - var data = e.data, iframe; - - if (typeof(data) == 'string') { - - try { - data = JSON.parse(data); - } catch(err) { - data = {}; - } - } - - if (e.origin && e.origin.indexOf('vimeo') > -1 && data.event == 'ready' && data.player_id) { - iframe = UI.$('[data-player-id="'+ data.player_id+'"]'); - - if (iframe.length) { - iframe.data('slideshow').mutemedia(iframe); - } - } - }, false); - -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow.min.js deleted file mode 100644 index e7af4f056..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/slideshow.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){var s;window.UIkit&&(s=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow",["uikit"],function(){return s||i(UIkit)})}(function(i){"use strict";var s,t=0;i.component("slideshow",{defaults:{animation:"fade",duration:500,height:"auto",start:0,autoplay:!1,autoplayInterval:7e3,videoautoplay:!0,videomute:!0,slices:15,pauseOnHover:!0,kenburns:!1,kenburnsanimations:["uk-animation-middle-left","uk-animation-top-right","uk-animation-bottom-left","uk-animation-top-center","","uk-animation-bottom-right"]},current:!1,interval:null,hovering:!1,boot:function(){i.ready(function(s){i.$("[data-uk-slideshow]",s).each(function(){var s=i.$(this);if(!s.data("slideshow")){i.slideshow(s,i.Utils.options(s.attr("data-uk-slideshow")))}})})},init:function(){var s,e,n=this;this.container=this.element.hasClass("uk-slideshow")?this.element:i.$(this.find(".uk-slideshow")),this.slides=this.container.children(),this.slidesCount=this.slides.length,this.current=this.options.start,this.animating=!1,this.triggers=this.find("[data-uk-slideshow-item]"),this.fixFullscreen=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&this.container.hasClass("uk-slideshow-fullscreen"),this.options.kenburns&&(e=this.options.kenburns===!0?"15s":this.options.kenburns,String(e).match(/(ms|s)$/)||(e+="ms"),"string"==typeof this.options.kenburnsanimations&&(this.options.kenburnsanimations=this.options.kenburnsanimations.split(","))),this.slides.each(function(a){var o=i.$(this),r=o.children("img,video,iframe").eq(0);if(o.data("media",r),o.data("sizer",r),r.length){var d;switch(r[0].nodeName){case"IMG":var u=i.$('<div class="uk-cover-background uk-position-cover"></div>').css({"background-image":"url("+r.attr("src")+")"});r.css({width:"100%",height:"auto"}),o.prepend(u).data("cover",u);break;case"IFRAME":var h=r[0].src,c="sw-"+ ++t;r.attr("src","").on("load",function(){if((a!==n.current||a==n.current&&!n.options.videoautoplay)&&n.pausemedia(r),n.options.videomute){n.mutemedia(r);var i=setInterval(function(s){return function(){n.mutemedia(r),++s>=4&&clearInterval(i)}}(0),250)}}).data("slideshow",n).attr("data-player-id",c).attr("src",[h,h.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1&player_id="+c].join("")).addClass("uk-position-absolute"),i.support.touch||r.css("pointer-events","none"),d=!0,i.cover&&(i.cover(r),r.attr("data-uk-cover","{}"));break;case"VIDEO":r.addClass("uk-cover-object uk-position-absolute"),d=!0,n.options.videomute&&n.mutemedia(r)}if(d){s=i.$("<canvas></canvas>").attr({width:r[0].width,height:r[0].height});var l=i.$('<img style="width:100%;height:auto;">').attr("src",s[0].toDataURL());o.prepend(l),o.data("sizer",l)}}else o.data("sizer",o);n.hasKenBurns(o)&&o.data("cover").css({"-webkit-animation-duration":e,"animation-duration":e})}),this.on("click.uikit.slideshow","[data-uk-slideshow-item]",function(s){s.preventDefault();var t=i.$(this).attr("data-uk-slideshow-item");if(n.current!=t){switch(t){case"next":case"previous":n["next"==t?"next":"previous"]();break;default:n.show(parseInt(t,10))}n.stop()}}),this.slides.attr("aria-hidden","true").eq(this.current).addClass("uk-active").attr("aria-hidden","false"),this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass("uk-active"),i.$win.on("resize load",i.Utils.debounce(function(){n.resize(),n.fixFullscreen&&(n.container.css("height",window.innerHeight),n.slides.css("height",window.innerHeight))},100)),setTimeout(function(){n.resize()},80),this.options.autoplay&&this.start(),this.options.videoautoplay&&this.slides.eq(this.current).data("media")&&this.playmedia(this.slides.eq(this.current).data("media")),this.options.kenburns&&this.applyKenBurns(this.slides.eq(this.current)),this.container.on({mouseenter:function(){n.options.pauseOnHover&&(n.hovering=!0)},mouseleave:function(){n.hovering=!1}}),this.on("swipeRight swipeLeft",function(i){n["swipeLeft"==i.type?"next":"previous"]()}),this.on("display.uk.check",function(){n.element.is(":visible")&&(n.resize(),n.fixFullscreen&&(n.container.css("height",window.innerHeight),n.slides.css("height",window.innerHeight)))})},resize:function(){if(!this.container.hasClass("uk-slideshow-fullscreen")){var s=this.options.height;"auto"===this.options.height&&(s=0,this.slides.css("height","").each(function(){s=Math.max(s,i.$(this).height())})),this.container.css("height",s),this.slides.css("height",s)}},show:function(t,e){if(!this.animating&&this.current!=t){this.animating=!0;var n=this,a=this.slides.eq(this.current),o=this.slides.eq(t),r=e?e:this.current<t?-1:1,d=a.data("media"),u=s[this.options.animation]?this.options.animation:"fade",h=o.data("media"),c=function(){n.animating&&(d&&d.is("video,iframe")&&n.pausemedia(d),h&&h.is("video,iframe")&&n.playmedia(h),o.addClass("uk-active").attr("aria-hidden","false"),a.removeClass("uk-active").attr("aria-hidden","true"),n.animating=!1,n.current=t,i.Utils.checkDisplay(o,'[class*="uk-animation-"]:not(.uk-cover-background.uk-position-cover)'),n.trigger("show.uk.slideshow",[o]))};n.applyKenBurns(o),i.support.animation||(u="none"),a=i.$(a),o=i.$(o),s[u].apply(this,[a,o,r]).then(c),n.triggers.removeClass("uk-active"),n.triggers.filter('[data-uk-slideshow-item="'+t+'"]').addClass("uk-active")}},applyKenBurns:function(i){if(this.hasKenBurns(i)){var s=this.options.kenburnsanimations,t=this.kbindex||0;i.data("cover").attr("class","uk-cover-background uk-position-cover").width(),i.data("cover").addClass(["uk-animation-scale","uk-animation-reverse",s[t].trim()].join(" ")),this.kbindex=s[t+1]?t+1:0}},hasKenBurns:function(i){return this.options.kenburns&&i.data("cover")},next:function(){this.show(this.slides[this.current+1]?this.current+1:0)},previous:function(){this.show(this.slides[this.current-1]?this.current-1:this.slides.length-1)},start:function(){this.stop();var i=this;this.interval=setInterval(function(){i.hovering||i.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},playmedia:function(i){if(i&&i[0])switch(i[0].nodeName){case"VIDEO":this.options.videomute||(i[0].muted=!1),i[0].play();break;case"IFRAME":this.options.videomute||i[0].contentWindow.postMessage('{ "event": "command", "func": "unmute", "method":"setVolume", "value":1}',"*"),i[0].contentWindow.postMessage('{ "event": "command", "func": "playVideo", "method":"play"}',"*")}},pausemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].pause();break;case"IFRAME":i[0].contentWindow.postMessage('{ "event": "command", "func": "pauseVideo", "method":"pause"}',"*")}},mutemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].muted=!0;break;case"IFRAME":i[0].contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}}}),s={none:function(){var s=i.$.Deferred();return s.resolve(),s.promise()},scroll:function(s,t,e){var n=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1).one(i.support.animation.end,function(){s.removeClass(1===e?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),t.css("opacity","").removeClass(1===e?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),n.resolve()}.bind(this)),s.addClass(1==e?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),t.addClass(1==e?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),t.width(),n.promise()},swipe:function(s,t,e){var n=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1).one(i.support.animation.end,function(){s.removeClass(1===e?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),t.css("opacity","").removeClass(1===e?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),n.resolve()}.bind(this)),s.addClass(1==e?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),t.addClass(1==e?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),t.width(),n.promise()},scale:function(s,t){var e=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1),s.one(i.support.animation.end,function(){s.removeClass("uk-slideshow-scale-out"),t.css("opacity",""),e.resolve()}.bind(this)),s.addClass("uk-slideshow-scale-out"),s.width(),e.promise()},fade:function(s,t){var e=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1),s.one(i.support.animation.end,function(){s.removeClass("uk-slideshow-fade-out"),t.css("opacity",""),e.resolve()}.bind(this)),s.addClass("uk-slideshow-fade-out"),s.width(),e.promise()}},i.slideshow.animations=s,window.addEventListener("message",function(s){var t,e=s.data;if("string"==typeof e)try{e=JSON.parse(e)}catch(n){e={}}s.origin&&s.origin.indexOf("vimeo")>-1&&"ready"==e.event&&e.player_id&&(t=i.$('[data-player-id="'+e.player_id+'"]'),t.length&&t.data("slideshow").mutemedia(t))},!1)}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sortable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sortable.js deleted file mode 100644 index 37a369ba3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sortable.js +++ /dev/null @@ -1,643 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* - * Based on nativesortable - Copyright (c) Brian Grinstead - https://github.com/bgrins/nativesortable - */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-sortable", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var supportsTouch = ('ontouchstart' in window) || (window.DocumentTouch && document instanceof DocumentTouch), - draggingPlaceholder, currentlyDraggingElement, currentlyDraggingTarget, dragging, moving, clickedlink, delayIdle, touchedlists, moved; - - function closestSortable(ele) { - - ele = UI.$(ele); - - do { - if (ele.data('sortable')) { - return ele; - } - ele = UI.$(ele).parent(); - } while(ele.length); - - return ele; - } - - UI.component('sortable', { - - defaults: { - - animation : 150, - threshold : 10, - - childClass : 'uk-sortable-item', - placeholderClass : 'uk-sortable-placeholder', - overClass : 'uk-sortable-over', - draggingClass : 'uk-sortable-dragged', - dragMovingClass : 'uk-sortable-moving', - baseClass : 'uk-sortable', - noDragClass : 'uk-sortable-nodrag', - dragCustomClass : '', - handleClass : false, - group : false, - - stop : function() {}, - start : function() {}, - change : function() {} - }, - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-sortable]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("sortable")) { - var plugin = UI.sortable(ele, UI.Utils.options(ele.attr("data-uk-sortable"))); - } - }); - }); - - UI.$html.on('mousemove touchmove', function(e) { - - if (delayIdle) { - - var src = e.originalEvent.targetTouches ? e.originalEvent.targetTouches[0] : e; - - if (Math.abs(src.pageX - delayIdle.pos.x) > delayIdle.threshold || Math.abs(src.pageY - delayIdle.pos.y) > delayIdle.threshold) { - delayIdle.apply(src); - } - } - - if (draggingPlaceholder) { - - if (!moving) { - moving = true; - draggingPlaceholder.show(); - - draggingPlaceholder.$current.addClass(draggingPlaceholder.$sortable.options.placeholderClass); - draggingPlaceholder.$sortable.element.children().addClass(draggingPlaceholder.$sortable.options.childClass); - - UI.$html.addClass(draggingPlaceholder.$sortable.options.dragMovingClass); - } - - var offset = draggingPlaceholder.data('mouse-offset'), - left = parseInt(e.originalEvent.pageX, 10) + offset.left, - top = parseInt(e.originalEvent.pageY, 10) + offset.top; - - draggingPlaceholder.css({'left': left, 'top': top }); - - // adjust document scrolling - if (top < UI.$win.scrollTop()) { - UI.$win.scrollTop(UI.$win.scrollTop() - Math.ceil(draggingPlaceholder.height()/2)); - } else if ( (top + draggingPlaceholder.height()) > (window.innerHeight + UI.$win.scrollTop()) ) { - UI.$win.scrollTop(UI.$win.scrollTop() + Math.ceil(draggingPlaceholder.height()/2)); - } - } - }); - - UI.$html.on('mouseup touchend', function(e) { - - delayIdle = clickedlink = false; - - // dragging? - if (!currentlyDraggingElement || !draggingPlaceholder) { - // completely reset dragging attempt. will cause weird delay behavior elsewise - currentlyDraggingElement = draggingPlaceholder = null; - return; - } - - // inside or outside of sortable? - var sortable = closestSortable(e.target), - component = draggingPlaceholder.$sortable, - ev = { type: e.type }; - - if (sortable[0]) { - component.dragDrop(ev, component.element); - } - component.dragEnd(ev, component.element); - }); - }, - - init: function() { - - var $this = this, - element = this.element[0], - children; - - touchedlists = []; - - // make sure :empty selector works on empty lists - if (this.element.children().length === 0) { - this.element.html(''); - } - - this.element.data('sortable-group', this.options.group ? this.options.group : UI.Utils.uid('sortable-group')); - - var handleDragStart = delegate(function(e) { - - var $target = UI.$(e.target), - $link = $target.is('a[href]') ? $target:$target.parents('a[href]'); - - if ($target.is(':input')) { - return; - } - - e.preventDefault(); - - if (!supportsTouch && $link.length) { - - $link.one('click', function(e){ - e.preventDefault(); - }).one('mouseup', function(){ - if(!moved) $link.trigger('click'); - }); - } - - return $this.dragStart(e, this); - }); - - var handleDragOver = delegate(function(e) { - - if (!currentlyDraggingElement) { - return true; - } - - if (e.preventDefault) { - e.preventDefault(); - } - - return false; - }); - - var handleDragEnter = delegate(UI.Utils.debounce(function(e) { - return $this.dragEnter(e, this); - }), 40); - - var handleDragLeave = delegate(function(e) { - - // Prevent dragenter on a child from allowing a dragleave on the container - var previousCounter = $this.dragenterData(this); - $this.dragenterData(this, previousCounter - 1); - - // This is a fix for child elements firing dragenter before the parent fires dragleave - if (!$this.dragenterData(this)) { - UI.$(this).removeClass($this.options.overClass); - $this.dragenterData(this, false); - } - }); - - var handleTouchMove = delegate(function(e) { - - if (!currentlyDraggingElement || - currentlyDraggingElement === this || - currentlyDraggingTarget === this) { - return true; - } - - $this.element.children().removeClass($this.options.overClass); - currentlyDraggingTarget = this; - - $this.moveElementNextTo(currentlyDraggingElement, this); - - return prevent(e); - }); - - // Bind/unbind standard mouse/touch events as a polyfill. - function addDragHandlers() { - if (supportsTouch) { - element.addEventListener("touchmove", handleTouchMove, false); - } else { - element.addEventListener('mouseover', handleDragEnter, false); - element.addEventListener('mouseout', handleDragLeave, false); - } - - // document.addEventListener("selectstart", prevent, false); - } - - function removeDragHandlers() { - if (supportsTouch) { - element.removeEventListener("touchmove", handleTouchMove, false); - } else { - element.removeEventListener('mouseover', handleDragEnter, false); - element.removeEventListener('mouseout', handleDragLeave, false); - } - - // document.removeEventListener("selectstart", prevent, false); - } - - this.addDragHandlers = addDragHandlers; - this.removeDragHandlers = removeDragHandlers; - - function handleDragMove(e) { - - if (!currentlyDraggingElement) { - return; - } - - $this.dragMove(e, $this); - } - - function delegate(fn) { - - return function(e) { - - var touch, target, context; - - if (e) { - touch = (supportsTouch && e.touches && e.touches[0]) || { }; - target = touch.target || e.target; - - // Fix event.target for a touch event - if (supportsTouch && document.elementFromPoint) { - target = document.elementFromPoint(e.pageX - document.body.scrollLeft, e.pageY - document.body.scrollTop); - } - } - - if (UI.$(target).hasClass($this.options.childClass)) { - fn.apply(target, [e]); - } else if (target !== element) { - - // If a child is initiating the event or ending it, then use the container as context for the callback. - context = moveUpToChildNode(element, target); - - if (context) { - fn.apply(context, [e]); - } - } - }; - } - - window.addEventListener(supportsTouch ? 'touchmove' : 'mousemove', handleDragMove, false); - element.addEventListener(supportsTouch ? 'touchstart': 'mousedown', handleDragStart, false); - }, - - dragStart: function(e, elem) { - - moved = false; - moving = false; - dragging = false; - - var $this = this, - target = UI.$(e.target), - children = $this.element.children(); - - if (!supportsTouch && e.button==2) { - return; - } - - if ($this.options.handleClass) { - - var handle = target.hasClass($this.options.handleClass) ? target : target.closest('.'+$this.options.handleClass, $this.element); - - if (!handle.length) { - //e.preventDefault(); - return; - } - } - - if (target.is('.'+$this.options.noDragClass) || target.closest('.'+$this.options._noDragClass).length) { - return; - } - - // prevent dragging if taget is a form field - if (target.is(':input')) { - return; - } - - currentlyDraggingElement = elem; - - // init drag placeholder - if (draggingPlaceholder) { - draggingPlaceholder.remove(); - } - - var $current = UI.$(currentlyDraggingElement), offset = $current.offset(); - - delayIdle = { - - pos : { x:e.pageX, y:e.pageY }, - threshold : $this.options.threshold, - apply : function(evt) { - - draggingPlaceholder = UI.$('<div class="'+([$this.options.draggingClass, $this.options.dragCustomClass].join(' '))+'"></div>').css({ - display : 'none', - top : offset.top, - left : offset.left, - width : $current.width(), - height : $current.height(), - padding : $current.css('padding') - }).data({ - 'mouse-offset': { - 'left' : offset.left - parseInt(evt.pageX, 10), - 'top' : offset.top - parseInt(evt.pageY, 10) - }, - 'origin' : $this.element, - 'index' : $current.index() - }).append($current.html()).appendTo('body'); - - draggingPlaceholder.$current = $current; - draggingPlaceholder.$sortable = $this; - $current.data('sortable-group', $this.options.group); - - $this.addDragHandlers(); - - $this.options.start(this, currentlyDraggingElement); - $this.trigger('start.uk.sortable', [$this, currentlyDraggingElement]); - - moved = true; - delayIdle = false; - } - }; - }, - - dragMove: function(e, elem) { - var overEl = UI.$(document.elementFromPoint(e.pageX - document.body.scrollLeft, e.pageY - (window.pageYOffset || document.documentElement.scrollTop))), - overRoot = overEl.closest('.'+this.options.baseClass), - groupOver = overRoot.data("sortable-group"), - $current = UI.$(currentlyDraggingElement), - currentRoot = $current.parent(), - groupCurrent = $current.data("sortable-group"), - overChild; - - if (overRoot[0] !== currentRoot[0] && groupCurrent !== undefined && groupOver === groupCurrent) { - overRoot.data('sortable').addDragHandlers(); - - touchedlists.push(overRoot); - overRoot.children().addClass(this.options.childClass); - - // swap root - if (overRoot.children().length > 0) { - overChild = overEl.closest('.'+this.options.childClass); - overChild.before($current); - } else { // empty list - overEl.append($current); - } - - // list empty? remove inner whitespace to make sure :empty selector works - if (currentRoot.children().length === 0) { - currentRoot.html(''); - } - - UIkit.$doc.trigger('mouseover'); - } - }, - - dragEnter: function(e, elem) { - - if (!currentlyDraggingElement || currentlyDraggingElement === elem) { - return true; - } - - // Prevent dragenter on a child from allowing a dragleave on the container - var previousCounter = this.dragenterData(elem); - - this.dragenterData(elem, previousCounter + 1); - - if (previousCounter === 0) { - - UI.$(elem).addClass(this.options.overClass); - - this.moveElementNextTo(currentlyDraggingElement, elem); - } - - return false; - }, - - dragEnd: function(e, elem) { - - var $this = this; - - // avoid triggering event twice - if (currentlyDraggingElement) { - // TODO: trigger on right element? - this.options.stop(elem); - this.trigger('stop.uk.sortable', [this]); - } - - currentlyDraggingElement = null; - currentlyDraggingTarget = null; - - touchedlists.push(this.element); - touchedlists.forEach(function(el, i) { - UI.$(el).children().each(function() { - if (this.nodeType === 1) { - UI.$(this).removeClass($this.options.overClass) - .removeClass($this.options.placeholderClass) - .removeClass($this.options.childClass); - $this.dragenterData(this, false); - } - }); - }); - - touchedlists = []; - - UI.$html.removeClass(this.options.dragMovingClass); - - this.removeDragHandlers(); - - if (draggingPlaceholder) { - draggingPlaceholder.remove(); - draggingPlaceholder = null; - } - }, - - dragDrop: function(e, elem) { - - if (e.type === 'drop') { - - if (e.stopPropagation) { - e.stopPropagation(); - } - - if (e.preventDefault) { - e.preventDefault(); - } - } - - this.triggerChangeEvents(); - }, - - triggerChangeEvents: function() { - - // trigger events once - if (!currentlyDraggingElement) return; - - var $current = UI.$(currentlyDraggingElement), - oldRoot = draggingPlaceholder.data("origin"), - newRoot = $current.closest('.'+this.options.baseClass), - triggers = []; - - // events depending on move inside lists or across lists - if (oldRoot[0] === newRoot[0] && draggingPlaceholder.data('index') != $current.index() ) { - triggers.push({el: this, mode: 'moved'}); - } else if (oldRoot[0] != newRoot[0]) { - triggers.push({el: newRoot, mode: 'added'}, {el: oldRoot, mode: 'removed'}); - } - - triggers.forEach(function (trigger, i) { - trigger.el.trigger('change.uk.sortable', [trigger.el, currentlyDraggingElement, trigger.mode]); - }); - }, - - dragenterData: function(element, val) { - - element = UI.$(element); - - if (arguments.length == 1) { - return parseInt(element.data('child-dragenter'), 10) || 0; - } else if (!val) { - element.removeData('child-dragenter'); - } else { - element.data('child-dragenter', Math.max(0, val)); - } - }, - - moveElementNextTo: function(element, elementToMoveNextTo) { - - dragging = true; - - var $this = this, - list = UI.$(element).parent().css('min-height', ''), - next = isBelow(element, elementToMoveNextTo) ? elementToMoveNextTo : elementToMoveNextTo.nextSibling, - children = list.children(), - count = children.length; - - if (!$this.options.animation) { - elementToMoveNextTo.parentNode.insertBefore(element, next); - UI.Utils.checkDisplay($this.element.parent()); - return; - } - - list.css('min-height', list.height()); - - children.stop().each(function(){ - var ele = UI.$(this), - offset = ele.position(); - - offset.width = ele.width(); - - ele.data('offset-before', offset); - }); - - elementToMoveNextTo.parentNode.insertBefore(element, next); - - UI.Utils.checkDisplay($this.element.parent()); - - children = list.children().each(function() { - var ele = UI.$(this); - ele.data('offset-after', ele.position()); - }).each(function() { - var ele = UI.$(this), - before = ele.data('offset-before'); - ele.css({'position':'absolute', 'top':before.top, 'left':before.left, 'min-width':before.width }); - }); - - children.each(function(){ - - var ele = UI.$(this), - before = ele.data('offset-before'), - offset = ele.data('offset-after'); - - ele.css('pointer-events', 'none').width(); - - setTimeout(function(){ - ele.animate({'top':offset.top, 'left':offset.left}, $this.options.animation, function() { - ele.css({'position':'','top':'', 'left':'', 'min-width': '', 'pointer-events':''}).removeClass($this.options.overClass).removeData('child-dragenter'); - count--; - if (!count) { - list.css('min-height', ''); - UI.Utils.checkDisplay($this.element.parent()); - } - }); - }, 0); - }); - }, - - serialize: function() { - - var data = [], item, attribute; - - this.element.children().each(function(j, child) { - item = {}; - for (var i = 0; i < child.attributes.length; i++) { - attribute = child.attributes[i]; - if (attribute.name.indexOf('data-') === 0) { - item[attribute.name.substr(5)] = UI.Utils.str2json(attribute.value); - } - } - data.push(item); - }); - - return data; - } - }); - - // helpers - - function isBelow(el1, el2) { - - var parent = el1.parentNode; - - if (el2.parentNode != parent) { - return false; - } - - var cur = el1.previousSibling; - - while (cur && cur.nodeType !== 9) { - if (cur === el2) { - return true; - } - cur = cur.previousSibling; - } - - return false; - } - - function moveUpToChildNode(parent, child) { - var cur = child; - if (cur == parent) { return null; } - - while (cur) { - if (cur.parentNode === parent) { - return cur; - } - - cur = cur.parentNode; - if ( !cur || !cur.ownerDocument || cur.nodeType === 11 ) { - break; - } - } - return null; - } - - function prevent(e) { - if (e.stopPropagation) { - e.stopPropagation(); - } - if (e.preventDefault) { - e.preventDefault(); - } - e.returnValue = false; - } - - return UI.sortable; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sortable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sortable.min.js deleted file mode 100644 index 7bd90d726..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sortable.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sortable",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}function o(t,e){var o=t.parentNode;if(e.parentNode!=o)return!1;for(var n=t.previousSibling;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}function n(t,e){var o=e;if(o==t)return null;for(;o;){if(o.parentNode===t)return o;if(o=o.parentNode,!o||!o.ownerDocument||11===o.nodeType)break}return null}function a(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}var s,r,i,l,d,h,u,p,c,g="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;return t.component("sortable",{defaults:{animation:150,threshold:10,childClass:"uk-sortable-item",placeholderClass:"uk-sortable-placeholder",overClass:"uk-sortable-over",draggingClass:"uk-sortable-dragged",dragMovingClass:"uk-sortable-moving",baseClass:"uk-sortable",noDragClass:"uk-sortable-nodrag",dragCustomClass:"",handleClass:!1,group:!1,stop:function(){},start:function(){},change:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-sortable]",e).each(function(){var e=t.$(this);if(!e.data("sortable")){t.sortable(e,t.Utils.options(e.attr("data-uk-sortable")))}})}),t.$html.on("mousemove touchmove",function(e){if(u){var o=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e;(Math.abs(o.pageX-u.pos.x)>u.threshold||Math.abs(o.pageY-u.pos.y)>u.threshold)&&u.apply(o)}if(s){d||(d=!0,s.show(),s.$current.addClass(s.$sortable.options.placeholderClass),s.$sortable.element.children().addClass(s.$sortable.options.childClass),t.$html.addClass(s.$sortable.options.dragMovingClass));var n=s.data("mouse-offset"),a=parseInt(e.originalEvent.pageX,10)+n.left,r=parseInt(e.originalEvent.pageY,10)+n.top;s.css({left:a,top:r}),r<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(s.height()/2)):r+s.height()>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(s.height()/2))}}),t.$html.on("mouseup touchend",function(t){if(u=h=!1,!r||!s)return r=s=null,void 0;var o=e(t.target),n=s.$sortable,a={type:t.type};o[0]&&n.dragDrop(a,n.element),n.dragEnd(a,n.element)})},init:function(){function e(){g?h.addEventListener("touchmove",v,!1):(h.addEventListener("mouseover",f,!1),h.addEventListener("mouseout",m,!1))}function o(){g?h.removeEventListener("touchmove",v,!1):(h.removeEventListener("mouseover",f,!1),h.removeEventListener("mouseout",m,!1))}function s(t){r&&d.dragMove(t,d)}function l(e){return function(o){var a,s,r;o&&(a=g&&o.touches&&o.touches[0]||{},s=a.target||o.target,g&&document.elementFromPoint&&(s=document.elementFromPoint(o.pageX-document.body.scrollLeft,o.pageY-document.body.scrollTop))),t.$(s).hasClass(d.options.childClass)?e.apply(s,[o]):s!==h&&(r=n(h,s),r&&e.apply(r,[o]))}}var d=this,h=this.element[0];p=[],0===this.element.children().length&&this.element.html(""),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var u=l(function(e){var o=t.$(e.target),n=o.is("a[href]")?o:o.parents("a[href]");if(!o.is(":input"))return e.preventDefault(),!g&&n.length&&n.one("click",function(t){t.preventDefault()}).one("mouseup",function(){c||n.trigger("click")}),d.dragStart(e,this)}),f=(l(function(t){return r?(t.preventDefault&&t.preventDefault(),!1):!0}),l(t.Utils.debounce(function(t){return d.dragEnter(t,this)}),40)),m=l(function(){var e=d.dragenterData(this);d.dragenterData(this,e-1),d.dragenterData(this)||(t.$(this).removeClass(d.options.overClass),d.dragenterData(this,!1))}),v=l(function(t){return r&&r!==this&&i!==this?(d.element.children().removeClass(d.options.overClass),i=this,d.moveElementNextTo(r,this),a(t)):!0});this.addDragHandlers=e,this.removeDragHandlers=o,window.addEventListener(g?"touchmove":"mousemove",s,!1),h.addEventListener(g?"touchstart":"mousedown",u,!1)},dragStart:function(e,o){c=!1,d=!1,l=!1;{var n=this,a=t.$(e.target);n.element.children()}if(g||2!=e.button){if(n.options.handleClass){var i=a.hasClass(n.options.handleClass)?a:a.closest("."+n.options.handleClass,n.element);if(!i.length)return}if(!a.is("."+n.options.noDragClass)&&!a.closest("."+n.options._noDragClass).length&&!a.is(":input")){r=o,s&&s.remove();var h=t.$(r),p=h.offset();u={pos:{x:e.pageX,y:e.pageY},threshold:n.options.threshold,apply:function(e){s=t.$('<div class="'+[n.options.draggingClass,n.options.dragCustomClass].join(" ")+'"></div>').css({display:"none",top:p.top,left:p.left,width:h.width(),height:h.height(),padding:h.css("padding")}).data({"mouse-offset":{left:p.left-parseInt(e.pageX,10),top:p.top-parseInt(e.pageY,10)},origin:n.element,index:h.index()}).append(h.html()).appendTo("body"),s.$current=h,s.$sortable=n,h.data("sortable-group",n.options.group),n.addDragHandlers(),n.options.start(this,r),n.trigger("start.uk.sortable",[n,r]),c=!0,u=!1}}}}},dragMove:function(e){var o,n=t.$(document.elementFromPoint(e.pageX-document.body.scrollLeft,e.pageY-(window.pageYOffset||document.documentElement.scrollTop))),a=n.closest("."+this.options.baseClass),s=a.data("sortable-group"),i=t.$(r),l=i.parent(),d=i.data("sortable-group");a[0]!==l[0]&&void 0!==d&&s===d&&(a.data("sortable").addDragHandlers(),p.push(a),a.children().addClass(this.options.childClass),a.children().length>0?(o=n.closest("."+this.options.childClass),o.before(i)):n.append(i),0===l.children().length&&l.html(""),UIkit.$doc.trigger("mouseover"))},dragEnter:function(e,o){if(!r||r===o)return!0;var n=this.dragenterData(o);return this.dragenterData(o,n+1),0===n&&(t.$(o).addClass(this.options.overClass),this.moveElementNextTo(r,o)),!1},dragEnd:function(e,o){var n=this;r&&(this.options.stop(o),this.trigger("stop.uk.sortable",[this])),r=null,i=null,p.push(this.element),p.forEach(function(e){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(n.options.overClass).removeClass(n.options.placeholderClass).removeClass(n.options.childClass),n.dragenterData(this,!1))})}),p=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),s&&(s.remove(),s=null)},dragDrop:function(t){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(r){var e=t.$(r),o=s.data("origin"),n=e.closest("."+this.options.baseClass),a=[];o[0]===n[0]&&s.data("index")!=e.index()?a.push({el:this,mode:"moved"}):o[0]!=n[0]&&a.push({el:n,mode:"added"},{el:o,mode:"removed"}),a.forEach(function(t){t.el.trigger("change.uk.sortable",[t.el,r,t.mode])})}},dragenterData:function(e,o){return e=t.$(e),1==arguments.length?parseInt(e.data("child-dragenter"),10)||0:(o?e.data("child-dragenter",Math.max(0,o)):e.removeData("child-dragenter"),void 0)},moveElementNextTo:function(e,n){l=!0;var a=this,s=t.$(e).parent().css("min-height",""),r=o(e,n)?n:n.nextSibling,i=s.children(),d=i.length;return a.options.animation?(s.css("min-height",s.height()),i.stop().each(function(){var e=t.$(this),o=e.position();o.width=e.width(),e.data("offset-before",o)}),n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(a.element.parent()),i=s.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),o=e.data("offset-before");e.css({position:"absolute",top:o.top,left:o.left,"min-width":o.width})}),i.each(function(){var e=t.$(this),o=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:o.top,left:o.left},a.options.animation,function(){e.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(a.options.overClass).removeData("child-dragenter"),d--,d||(s.css("min-height",""),t.Utils.checkDisplay(a.element.parent()))})},0)}),void 0):(n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(a.element.parent()),void 0)},serialize:function(){var e,o,n=[];return this.element.children().each(function(a,s){e={};for(var r=0;r<s.attributes.length;r++)o=s.attributes[r],0===o.name.indexOf("data-")&&(e[o.name.substr(5)]=t.Utils.str2json(o.value));n.push(e)}),n}}),t.sortable}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sticky.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sticky.js deleted file mode 100644 index a335a5ee8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sticky.js +++ /dev/null @@ -1,298 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-sticky", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var $win = UI.$win, - $doc = UI.$doc, - sticked = []; - - UI.component('sticky', { - - defaults: { - top : 0, - bottom : 0, - animation : '', - clsinit : 'uk-sticky-init', - clsactive : 'uk-active', - getWidthFrom : '', - boundary : false, - media : false, - target : false, - disabled : false - }, - - boot: function() { - - // should be more efficient than using $win.scroll(checkscrollposition): - UI.$doc.on('scrolling.uk.document', function() { checkscrollposition(); }); - UI.$win.on('resize orientationchange', UI.Utils.debounce(function() { - - if (!sticked.length) return; - - for (var i = 0; i < sticked.length; i++) { - sticked[i].reset(true); - sticked[i].self.computeWrapper(); - } - - checkscrollposition(); - }, 100)); - - // init code - UI.ready(function(context) { - - setTimeout(function(){ - - UI.$("[data-uk-sticky]", context).each(function(){ - - var $ele = UI.$(this); - - if(!$ele.data("sticky")) { - UI.sticky($ele, UI.Utils.options($ele.attr('data-uk-sticky'))); - } - }); - - checkscrollposition(); - }, 0); - }); - }, - - init: function() { - - var wrapper = UI.$('<div class="uk-sticky-placeholder"></div>'), boundary = this.options.boundary, boundtoparent; - - this.wrapper = this.element.css('margin', 0).wrap(wrapper).parent(); - - this.computeWrapper(); - - if (boundary) { - - if (boundary === true) { - - boundary = this.wrapper.parent(); - boundtoparent = true; - - } else if (typeof boundary === "string") { - boundary = UI.$(boundary); - } - } - - this.sticky = { - self : this, - options : this.options, - element : this.element, - currentTop : null, - wrapper : this.wrapper, - init : false, - getWidthFrom : this.options.getWidthFrom || this.wrapper, - boundary : boundary, - boundtoparent : boundtoparent, - reset : function(force) { - - var finalize = function() { - this.element.css({"position":"", "top":"", "width":"", "left":"", "margin":"0"}); - this.element.removeClass([this.options.animation, 'uk-animation-reverse', this.options.clsactive].join(' ')); - - this.currentTop = null; - this.animate = false; - }.bind(this); - - - if (!force && this.options.animation && UI.support.animation) { - - this.animate = true; - - this.element.removeClass(this.options.animation).one(UI.support.animation.end, function(){ - finalize(); - }).width(); // force redraw - - this.element.addClass(this.options.animation+' '+'uk-animation-reverse'); - } else { - finalize(); - } - }, - - check: function() { - - if (this.options.disabled) { - return false; - } - - if (this.options.media) { - - switch(typeof(this.options.media)) { - case 'number': - if (window.innerWidth < this.options.media) { - return false; - } - break; - case 'string': - if (window.matchMedia && !window.matchMedia(this.options.media).matches) { - return false; - } - break; - } - } - - var scrollTop = $win.scrollTop(), - documentHeight = $doc.height(), - dwh = documentHeight - window.innerHeight, - extra = (scrollTop > dwh) ? dwh - scrollTop : 0, - elementTop = this.wrapper.offset().top, - etse = elementTop - this.options.top - extra; - - return (scrollTop >= etse); - } - }; - - sticked.push(this.sticky); - }, - - update: function() { - checkscrollposition(this.sticky); - }, - - enable: function() { - this.options.disabled = false; - this.update(); - }, - - disable: function(force) { - this.options.disabled = true; - this.sticky.reset(force); - }, - - computeWrapper: function() { - - this.wrapper.css({ - 'height' : this.element.css('position') != 'absolute' ? this.element.outerHeight() : '', - 'float' : this.element.css("float") != "none" ? this.element.css("float") : '', - 'margin' : this.element.css("margin") - }); - } - }); - - function checkscrollposition() { - - var stickies = arguments.length ? arguments : sticked; - - if (!stickies.length || $win.scrollTop() < 0) return; - - var scrollTop = $win.scrollTop(), - documentHeight = $doc.height(), - windowHeight = $win.height(), - dwh = documentHeight - windowHeight, - extra = (scrollTop > dwh) ? dwh - scrollTop : 0, - newTop, containerBottom, stickyHeight, sticky; - - for (var i = 0; i < stickies.length; i++) { - - sticky = stickies[i]; - - if (!sticky.element.is(":visible") || sticky.animate) { - continue; - } - - if (!sticky.check()) { - - if (sticky.currentTop !== null) { - sticky.reset(); - } - - } else { - - if (sticky.options.top < 0) { - newTop = 0; - } else { - stickyHeight = sticky.element.outerHeight(); - newTop = documentHeight - stickyHeight - sticky.options.top - sticky.options.bottom - scrollTop - extra; - newTop = newTop < 0 ? newTop + sticky.options.top : sticky.options.top; - } - - if (sticky.boundary && sticky.boundary.length) { - - var bTop = sticky.boundary.position().top; - - if (sticky.boundtoparent) { - containerBottom = documentHeight - (bTop + sticky.boundary.outerHeight()) + parseInt(sticky.boundary.css('padding-bottom')); - } else { - containerBottom = documentHeight - bTop - parseInt(sticky.boundary.css('margin-top')); - } - - newTop = (scrollTop + stickyHeight) > (documentHeight - containerBottom - (sticky.options.top < 0 ? 0 : sticky.options.top)) ? (documentHeight - containerBottom) - (scrollTop + stickyHeight) : newTop; - } - - - if (sticky.currentTop != newTop) { - - sticky.element.css({ - "position" : "fixed", - "top" : newTop, - "width" : (typeof sticky.getWidthFrom !== 'undefined') ? UI.$(sticky.getWidthFrom).width() : sticky.element.width(), - "left" : sticky.wrapper.offset().left - }); - - if (!sticky.init) { - - sticky.element.addClass(sticky.options.clsinit); - - if (location.hash && scrollTop > 0 && sticky.options.target) { - - var $target = UI.$(location.hash); - - if ($target.length) { - - setTimeout((function($target, sticky){ - - return function() { - - sticky.element.width(); // force redraw - - var offset = $target.offset(), - maxoffset = offset.top + $target.outerHeight(), - stickyOffset = sticky.element.offset(), - stickyHeight = sticky.element.outerHeight(), - stickyMaxOffset = stickyOffset.top + stickyHeight; - - if (stickyOffset.top < maxoffset && offset.top < stickyMaxOffset) { - scrollTop = offset.top - stickyHeight - sticky.options.target; - window.scrollTo(0, scrollTop); - } - }; - - })($target, sticky), 0); - } - } - } - - sticky.element.addClass(sticky.options.clsactive); - sticky.element.css('margin', ''); - - if (sticky.options.animation && sticky.init) { - sticky.element.addClass(sticky.options.animation); - } - - sticky.currentTop = newTop; - } - } - - sticky.init = true; - } - } - - return UI.sticky; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sticky.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sticky.min.js deleted file mode 100644 index a0f318e2b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/sticky.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sticky",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(){var i=arguments.length?arguments:o;if(i.length&&!(e.scrollTop()<0))for(var s,a,r,p,h=e.scrollTop(),c=n.height(),l=e.height(),u=c-l,d=h>u?u-h:0,m=0;m<i.length;m++)if(p=i[m],p.element.is(":visible")&&!p.animate){if(p.check()){if(p.options.top<0?s=0:(r=p.element.outerHeight(),s=c-r-p.options.top-p.options.bottom-h-d,s=0>s?s+p.options.top:p.options.top),p.boundary&&p.boundary.length){var f=p.boundary.position().top;a=p.boundtoparent?c-(f+p.boundary.outerHeight())+parseInt(p.boundary.css("padding-bottom")):c-f-parseInt(p.boundary.css("margin-top")),s=h+r>c-a-(p.options.top<0?0:p.options.top)?c-a-(h+r):s}if(p.currentTop!=s){if(p.element.css({position:"fixed",top:s,width:"undefined"!=typeof p.getWidthFrom?t.$(p.getWidthFrom).width():p.element.width(),left:p.wrapper.offset().left}),!p.init&&(p.element.addClass(p.options.clsinit),location.hash&&h>0&&p.options.target)){var g=t.$(location.hash);g.length&&setTimeout(function(t,i){return function(){i.element.width();var e=t.offset(),n=e.top+t.outerHeight(),o=i.element.offset(),s=i.element.outerHeight(),a=o.top+s;o.top<n&&e.top<a&&(h=e.top-s-i.options.target,window.scrollTo(0,h))}}(g,p),0)}p.element.addClass(p.options.clsactive),p.element.css("margin",""),p.options.animation&&p.init&&p.element.addClass(p.options.animation),p.currentTop=s}}else null!==p.currentTop&&p.reset();p.init=!0}}var e=t.$win,n=t.$doc,o=[];return t.component("sticky",{defaults:{top:0,bottom:0,animation:"",clsinit:"uk-sticky-init",clsactive:"uk-active",getWidthFrom:"",boundary:!1,media:!1,target:!1,disabled:!1},boot:function(){t.$doc.on("scrolling.uk.document",function(){i()}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){if(o.length){for(var t=0;t<o.length;t++)o[t].reset(!0),o[t].self.computeWrapper();i()}},100)),t.ready(function(e){setTimeout(function(){t.$("[data-uk-sticky]",e).each(function(){var i=t.$(this);i.data("sticky")||t.sticky(i,t.Utils.options(i.attr("data-uk-sticky")))}),i()},0)})},init:function(){var i,s=t.$('<div class="uk-sticky-placeholder"></div>'),a=this.options.boundary;this.wrapper=this.element.css("margin",0).wrap(s).parent(),this.computeWrapper(),a&&(a===!0?(a=this.wrapper.parent(),i=!0):"string"==typeof a&&(a=t.$(a))),this.sticky={self:this,options:this.options,element:this.element,currentTop:null,wrapper:this.wrapper,init:!1,getWidthFrom:this.options.getWidthFrom||this.wrapper,boundary:a,boundtoparent:i,reset:function(i){var e=function(){this.element.css({position:"",top:"",width:"",left:"",margin:"0"}),this.element.removeClass([this.options.animation,"uk-animation-reverse",this.options.clsactive].join(" ")),this.currentTop=null,this.animate=!1}.bind(this);!i&&this.options.animation&&t.support.animation?(this.animate=!0,this.element.removeClass(this.options.animation).one(t.support.animation.end,function(){e()}).width(),this.element.addClass(this.options.animation+" uk-animation-reverse")):e()},check:function(){if(this.options.disabled)return!1;if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var t=e.scrollTop(),i=n.height(),o=i-window.innerHeight,s=t>o?o-t:0,a=this.wrapper.offset().top,r=a-this.options.top-s;return t>=r}},o.push(this.sticky)},update:function(){i(this.sticky)},enable:function(){this.options.disabled=!1,this.update()},disable:function(t){this.options.disabled=!0,this.sticky.reset(t)},computeWrapper:function(){this.wrapper.css({height:"absolute"!=this.element.css("position")?this.element.outerHeight():"","float":"none"!=this.element.css("float")?this.element.css("float"):"",margin:this.element.css("margin")})}}),t.sticky}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/timepicker.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/timepicker.js deleted file mode 100644 index 4f48c3ffe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/timepicker.js +++ /dev/null @@ -1,192 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-search", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - - UI.component('timepicker', { - - defaults: { - format : '24h', - delay : 0, - start : 0, - end : 24 - }, - - boot: function() { - - // init code - UI.$html.on("focus.timepicker.uikit", "[data-uk-timepicker]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("timepicker")) { - var obj = UI.timepicker(ele, UI.Utils.options(ele.attr("data-uk-timepicker"))); - - setTimeout(function(){ - obj.autocomplete.input.focus(); - }, 40); - } - }); - }, - - init: function() { - - var $this = this, times = getTimeRange(this.options.start, this.options.end), container; - - this.options.minLength = 0; - this.options.template = '<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'; - - this.options.source = function(release) { - release(times[$this.options.format] || times['12h']); - }; - - if (this.element.is('input')) { - this.element.wrap('<div class="uk-autocomplete"></div>'); - container = this.element.parent(); - } else { - container = this.element.addClass('uk-autocomplete'); - } - - this.autocomplete = UI.autocomplete(container, this.options); - this.autocomplete.dropdown.addClass('uk-dropdown-small uk-dropdown-scrollable'); - - this.autocomplete.on('show.uk.autocomplete', function() { - - var selected = $this.autocomplete.dropdown.find('[data-value="'+$this.autocomplete.input.val()+'"]'); - - setTimeout(function(){ - $this.autocomplete.pick(selected, true); - }, 10); - }); - - this.autocomplete.input.on('focus', function(){ - - $this.autocomplete.value = Math.random(); - $this.autocomplete.triggercomplete(); - - }).on('blur', function() { - $this.checkTime(); - }); - - this.element.data("timepicker", this); - }, - - checkTime: function() { - - var arr, timeArray, meridian = 'AM', hour, minute, time = this.autocomplete.input.val(); - - if (this.options.format == '12h') { - arr = time.split(' '); - timeArray = arr[0].split(':'); - meridian = arr[1]; - } else { - timeArray = time.split(':'); - } - - hour = parseInt(timeArray[0], 10); - minute = parseInt(timeArray[1], 10); - - if (isNaN(hour)) hour = 0; - if (isNaN(minute)) minute = 0; - - if (this.options.format == '12h') { - if (hour > 12) { - hour = 12; - } else if (hour < 0) { - hour = 12; - } - - if (meridian === 'am' || meridian === 'a') { - meridian = 'AM'; - } else if (meridian === 'pm' || meridian === 'p') { - meridian = 'PM'; - } - - if (meridian !== 'AM' && meridian !== 'PM') { - meridian = 'AM'; - } - - } else { - - if (hour >= 24) { - hour = 23; - } else if (hour < 0) { - hour = 0; - } - } - - if (minute < 0) { - minute = 0; - } else if (minute >= 60) { - minute = 0; - } - - this.autocomplete.input.val(this.formatTime(hour, minute, meridian)).trigger('change'); - }, - - formatTime: function(hour, minute, meridian) { - hour = hour < 10 ? '0' + hour : hour; - minute = minute < 10 ? '0' + minute : minute; - return hour + ':' + minute + (this.options.format == '12h' ? ' ' + meridian : ''); - } - }); - - // helper - - function getTimeRange(start, end) { - - start = start || 0; - end = end || 24; - - var times = {'12h':[], '24h':[]}, i, h; - - for (i = start, h=''; i<end; i++) { - - h = ''+i; - - if (i<10) h = '0'+h; - - times['24h'].push({value: (h+':00')}); - times['24h'].push({value: (h+':30')}); - - if (i === 0) { - h = 12; - times['12h'].push({value: (h+':00 AM')}); - times['12h'].push({value: (h+':30 AM')}); - } - - if (i > 0 && i<13 && i!==12) { - times['12h'].push({value: (h+':00 AM')}); - times['12h'].push({value: (h+':30 AM')}); - } - - if (i >= 12) { - - h = h-12; - if (h === 0) h = 12; - if (h < 10) h = '0'+String(h); - - times['12h'].push({value: (h+':00 PM')}); - times['12h'].push({value: (h+':30 PM')}); - } - } - - return times; - } - -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/timepicker.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/timepicker.min.js deleted file mode 100644 index f11f4a8eb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/timepicker.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-search",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(t,e){t=t||0,e=e||24;var i,o,a={"12h":[],"24h":[]};for(i=t,o="";e>i;i++)o=""+i,10>i&&(o="0"+o),a["24h"].push({value:o+":00"}),a["24h"].push({value:o+":30"}),0===i&&(o=12,a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>0&&13>i&&12!==i&&(a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>=12&&(o-=12,0===o&&(o=12),10>o&&(o="0"+String(o)),a["12h"].push({value:o+":00 PM"}),a["12h"].push({value:o+":30 PM"}));return a}t.component("timepicker",{defaults:{format:"24h",delay:0,start:0,end:24},boot:function(){t.$html.on("focus.timepicker.uikit","[data-uk-timepicker]",function(){var e=t.$(this);if(!e.data("timepicker")){var i=t.timepicker(e,t.Utils.options(e.attr("data-uk-timepicker")));setTimeout(function(){i.autocomplete.input.focus()},40)}})},init:function(){var i,o=this,a=e(this.options.start,this.options.end);this.options.minLength=0,this.options.template='<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>',this.options.source=function(t){t(a[o.options.format]||a["12h"])},this.element.is("input")?(this.element.wrap('<div class="uk-autocomplete"></div>'),i=this.element.parent()):i=this.element.addClass("uk-autocomplete"),this.autocomplete=t.autocomplete(i,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-small uk-dropdown-scrollable"),this.autocomplete.on("show.uk.autocomplete",function(){var t=o.autocomplete.dropdown.find('[data-value="'+o.autocomplete.input.val()+'"]');setTimeout(function(){o.autocomplete.pick(t,!0)},10)}),this.autocomplete.input.on("focus",function(){o.autocomplete.value=Math.random(),o.autocomplete.triggercomplete()}).on("blur",function(){o.checkTime()}),this.element.data("timepicker",this)},checkTime:function(){var t,e,i,o,a="AM",u=this.autocomplete.input.val();"12h"==this.options.format?(t=u.split(" "),e=t[0].split(":"),a=t[1]):e=u.split(":"),i=parseInt(e[0],10),o=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(o)&&(o=0),"12h"==this.options.format?(i>12?i=12:0>i&&(i=12),"am"===a||"a"===a?a="AM":("pm"===a||"p"===a)&&(a="PM"),"AM"!==a&&"PM"!==a&&(a="AM")):i>=24?i=23:0>i&&(i=0),0>o?o=0:o>=60&&(o=0),this.autocomplete.input.val(this.formatTime(i,o,a)).trigger("change")},formatTime:function(t,e,i){return t=10>t?"0"+t:t,e=10>e?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/tooltip.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/tooltip.js deleted file mode 100644 index 8e704f78d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/tooltip.js +++ /dev/null @@ -1,234 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-tooltip", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var $tooltip, // tooltip container - tooltipdelay, checkdelay; - - UI.component('tooltip', { - - defaults: { - "offset": 5, - "pos": "top", - "animation": false, - "delay": 0, // in miliseconds - "cls": "", - "activeClass": "uk-active", - "src": function(ele, title) { - - title = ele.attr('title'); - - if (title) { - ele.data('cached-title', title).removeAttr('title'); - } - - return ele.data("cached-title"); - } - }, - - tip: "", - - boot: function() { - - // init code - UI.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit", "[data-uk-tooltip]", function(e) { - var ele = UI.$(this); - - if (!ele.data("tooltip")) { - var obj = UI.tooltip(ele, UI.Utils.options(ele.attr("data-uk-tooltip"))); - ele.trigger("mouseenter"); - } - }); - }, - - init: function() { - - var $this = this; - - if (!$tooltip) { - $tooltip = UI.$('<div class="uk-tooltip"></div>').appendTo("body"); - } - - this.on({ - focus : function(e) { $this.show(); }, - blur : function(e) { $this.hide(); }, - mouseenter : function(e) { $this.show(); }, - mouseleave : function(e) { $this.hide(); } - }); - }, - - show: function() { - - this.tip = typeof(this.options.src) === "function" ? this.options.src(this.element) : this.options.src; - - if (tooltipdelay) clearTimeout(tooltipdelay); - if (checkdelay) clearTimeout(checkdelay); - if (!this.tip.length) return; - - $tooltip.stop().css({"top": -2000, "visibility": "hidden"}).removeClass(this.options.activeClass).show(); - $tooltip.html('<div class="uk-tooltip-inner">' + this.tip + '</div>'); - - var $this = this, - pos = UI.$.extend({}, this.element.offset(), {width: this.element[0].offsetWidth, height: this.element[0].offsetHeight}), - width = $tooltip[0].offsetWidth, - height = $tooltip[0].offsetHeight, - offset = typeof(this.options.offset) === "function" ? this.options.offset.call(this.element) : this.options.offset, - position = typeof(this.options.pos) === "function" ? this.options.pos.call(this.element) : this.options.pos, - tmppos = position.split("-"), - tcss = { - "display" : "none", - "visibility" : "visible", - "top" : (pos.top + pos.height + height), - "left" : pos.left - }; - - - // prevent strange position - // when tooltip is in offcanvas etc. - if (UI.$html.css('position')=='fixed' || UI.$body.css('position')=='fixed'){ - var bodyoffset = UI.$('body').offset(), - htmloffset = UI.$('html').offset(), - docoffset = {'top': (htmloffset.top + bodyoffset.top), 'left': (htmloffset.left + bodyoffset.left)}; - - pos.left -= docoffset.left; - pos.top -= docoffset.top; - } - - - if ((tmppos[0] == "left" || tmppos[0] == "right") && UI.langdirection == 'right') { - tmppos[0] = tmppos[0] == "left" ? "right" : "left"; - } - - var variants = { - "bottom" : {top: pos.top + pos.height + offset, left: pos.left + pos.width / 2 - width / 2}, - "top" : {top: pos.top - height - offset, left: pos.left + pos.width / 2 - width / 2}, - "left" : {top: pos.top + pos.height / 2 - height / 2, left: pos.left - width - offset}, - "right" : {top: pos.top + pos.height / 2 - height / 2, left: pos.left + pos.width + offset} - }; - - UI.$.extend(tcss, variants[tmppos[0]]); - - if (tmppos.length == 2) tcss.left = (tmppos[1] == 'left') ? (pos.left) : ((pos.left + pos.width) - width); - - var boundary = this.checkBoundary(tcss.left, tcss.top, width, height); - - if(boundary) { - - switch(boundary) { - case "x": - - if (tmppos.length == 2) { - position = tmppos[0]+"-"+(tcss.left < 0 ? "left": "right"); - } else { - position = tcss.left < 0 ? "right": "left"; - } - - break; - - case "y": - if (tmppos.length == 2) { - position = (tcss.top < 0 ? "bottom": "top")+"-"+tmppos[1]; - } else { - position = (tcss.top < 0 ? "bottom": "top"); - } - - break; - - case "xy": - if (tmppos.length == 2) { - position = (tcss.top < 0 ? "bottom": "top")+"-"+(tcss.left < 0 ? "left": "right"); - } else { - position = tcss.left < 0 ? "right": "left"; - } - - break; - - } - - tmppos = position.split("-"); - - UI.$.extend(tcss, variants[tmppos[0]]); - - if (tmppos.length == 2) tcss.left = (tmppos[1] == 'left') ? (pos.left) : ((pos.left + pos.width) - width); - } - - - tcss.left -= UI.$body.position().left; - - tooltipdelay = setTimeout(function(){ - - $tooltip.css(tcss).attr("class", ["uk-tooltip", "uk-tooltip-"+position, $this.options.cls].join(' ')); - - if ($this.options.animation) { - $tooltip.css({opacity: 0, display: 'block'}).addClass($this.options.activeClass).animate({opacity: 1}, parseInt($this.options.animation, 10) || 400); - } else { - $tooltip.show().addClass($this.options.activeClass); - } - - tooltipdelay = false; - - // close tooltip if element was removed or hidden - checkdelay = setInterval(function(){ - if(!$this.element.is(':visible')) $this.hide(); - }, 150); - - }, parseInt(this.options.delay, 10) || 0); - }, - - hide: function() { - if(this.element.is("input") && this.element[0]===document.activeElement) return; - - if(tooltipdelay) clearTimeout(tooltipdelay); - if (checkdelay) clearTimeout(checkdelay); - - $tooltip.stop(); - - if (this.options.animation) { - - var $this = this; - - $tooltip.fadeOut(parseInt(this.options.animation, 10) || 400, function(){ - $tooltip.removeClass($this.options.activeClass) - }); - - } else { - $tooltip.hide().removeClass(this.options.activeClass); - } - }, - - content: function() { - return this.tip; - }, - - checkBoundary: function(left, top, width, height) { - - var axis = ""; - - if(left < 0 || ((left - UI.$win.scrollLeft())+width) > window.innerWidth) { - axis += "x"; - } - - if(top < 0 || ((top - UI.$win.scrollTop())+height) > window.innerHeight) { - axis += "y"; - } - - return axis; - } - }); - - return UI.tooltip; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/tooltip.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/tooltip.min.js deleted file mode 100644 index 80a1f052b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/tooltip.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-tooltip",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";var i,o,e;return t.component("tooltip",{defaults:{offset:5,pos:"top",animation:!1,delay:0,cls:"",activeClass:"uk-active",src:function(t,i){return i=t.attr("title"),i&&t.data("cached-title",i).removeAttr("title"),t.data("cached-title")}},tip:"",boot:function(){t.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit","[data-uk-tooltip]",function(){var i=t.$(this);if(!i.data("tooltip")){{t.tooltip(i,t.Utils.options(i.attr("data-uk-tooltip")))}i.trigger("mouseenter")}})},init:function(){var o=this;i||(i=t.$('<div class="uk-tooltip"></div>').appendTo("body")),this.on({focus:function(){o.show()},blur:function(){o.hide()},mouseenter:function(){o.show()},mouseleave:function(){o.hide()}})},show:function(){if(this.tip="function"==typeof this.options.src?this.options.src(this.element):this.options.src,o&&clearTimeout(o),e&&clearTimeout(e),this.tip.length){i.stop().css({top:-2e3,visibility:"hidden"}).removeClass(this.options.activeClass).show(),i.html('<div class="uk-tooltip-inner">'+this.tip+"</div>");var s=this,n=t.$.extend({},this.element.offset(),{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}),l=i[0].offsetWidth,f=i[0].offsetHeight,p="function"==typeof this.options.offset?this.options.offset.call(this.element):this.options.offset,a="function"==typeof this.options.pos?this.options.pos.call(this.element):this.options.pos,h=a.split("-"),c={display:"none",visibility:"visible",top:n.top+n.height+f,left:n.left};if("fixed"==t.$html.css("position")||"fixed"==t.$body.css("position")){var r=t.$("body").offset(),d=t.$("html").offset(),u={top:d.top+r.top,left:d.left+r.left};n.left-=u.left,n.top-=u.top}"left"!=h[0]&&"right"!=h[0]||"right"!=t.langdirection||(h[0]="left"==h[0]?"right":"left");var m={bottom:{top:n.top+n.height+p,left:n.left+n.width/2-l/2},top:{top:n.top-f-p,left:n.left+n.width/2-l/2},left:{top:n.top+n.height/2-f/2,left:n.left-l-p},right:{top:n.top+n.height/2-f/2,left:n.left+n.width+p}};t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l);var v=this.checkBoundary(c.left,c.top,l,f);if(v){switch(v){case"x":a=2==h.length?h[0]+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left";break;case"y":a=2==h.length?(c.top<0?"bottom":"top")+"-"+h[1]:c.top<0?"bottom":"top";break;case"xy":a=2==h.length?(c.top<0?"bottom":"top")+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left"}h=a.split("-"),t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l)}c.left-=t.$body.position().left,o=setTimeout(function(){i.css(c).attr("class",["uk-tooltip","uk-tooltip-"+a,s.options.cls].join(" ")),s.options.animation?i.css({opacity:0,display:"block"}).addClass(s.options.activeClass).animate({opacity:1},parseInt(s.options.animation,10)||400):i.show().addClass(s.options.activeClass),o=!1,e=setInterval(function(){s.element.is(":visible")||s.hide()},150)},parseInt(this.options.delay,10)||0)}},hide:function(){if(!this.element.is("input")||this.element[0]!==document.activeElement)if(o&&clearTimeout(o),e&&clearTimeout(e),i.stop(),this.options.animation){var t=this;i.fadeOut(parseInt(this.options.animation,10)||400,function(){i.removeClass(t.options.activeClass)})}else i.hide().removeClass(this.options.activeClass)},content:function(){return this.tip},checkBoundary:function(i,o,e,s){var n="";return(0>i||i-t.$win.scrollLeft()+e>window.innerWidth)&&(n+="x"),(0>o||o-t.$win.scrollTop()+s>window.innerHeight)&&(n+="y"),n}}),t.tooltip}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/upload.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/upload.js deleted file mode 100644 index 21699b012..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/upload.js +++ /dev/null @@ -1,256 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-upload", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('uploadSelect', { - - init: function() { - - var $this = this; - - this.on("change", function() { - xhrupload($this.element[0].files, $this.options); - var twin = $this.element.clone(true).data('uploadSelect', $this); - $this.element.replaceWith(twin); - $this.element = twin; - }); - } - }); - - UI.component('uploadDrop', { - - defaults: { - 'dragoverClass': 'uk-dragover' - }, - - init: function() { - - var $this = this, hasdragCls = false; - - this.on("drop", function(e){ - - if (e.dataTransfer && e.dataTransfer.files) { - - e.stopPropagation(); - e.preventDefault(); - - $this.element.removeClass($this.options.dragoverClass); - $this.element.trigger('dropped.uk.upload', [e.dataTransfer.files]); - - xhrupload(e.dataTransfer.files, $this.options); - } - - }).on("dragenter", function(e){ - e.stopPropagation(); - e.preventDefault(); - }).on("dragover", function(e){ - e.stopPropagation(); - e.preventDefault(); - - if (!hasdragCls) { - $this.element.addClass($this.options.dragoverClass); - hasdragCls = true; - } - }).on("dragleave", function(e){ - e.stopPropagation(); - e.preventDefault(); - $this.element.removeClass($this.options.dragoverClass); - hasdragCls = false; - }); - } - }); - - - UI.support.ajaxupload = (function() { - - function supportFileAPI() { - var fi = document.createElement('INPUT'); fi.type = 'file'; return 'files' in fi; - } - - function supportAjaxUploadProgressEvents() { - var xhr = new XMLHttpRequest(); return !! (xhr && ('upload' in xhr) && ('onprogress' in xhr.upload)); - } - - function supportFormData() { - return !! window.FormData; - } - - return supportFileAPI() && supportAjaxUploadProgressEvents() && supportFormData(); - })(); - - if (UI.support.ajaxupload){ - UI.$.event.props.push("dataTransfer"); - } - - function xhrupload(files, settings) { - - if (!UI.support.ajaxupload){ - return this; - } - - settings = UI.$.extend({}, xhrupload.defaults, settings); - - if (!files.length){ - return; - } - - if (settings.allow !== '*.*') { - - for(var i=0,file;file=files[i];i++) { - - if(!matchName(settings.allow, file.name)) { - - if(typeof(settings.notallowed) == 'string') { - alert(settings.notallowed); - } else { - settings.notallowed(file, settings); - } - return; - } - } - } - - var complete = settings.complete; - - if (settings.single){ - - var count = files.length, - uploaded = 0, - allow = true; - - settings.beforeAll(files); - - settings.complete = function(response, xhr){ - - uploaded = uploaded + 1; - - complete(response, xhr); - - if (settings.filelimit && uploaded >= settings.filelimit){ - allow = false; - } - - if (allow && uploaded<count){ - upload([files[uploaded]], settings); - } else { - settings.allcomplete(response, xhr); - } - }; - - upload([files[0]], settings); - - } else { - - settings.complete = function(response, xhr){ - complete(response, xhr); - settings.allcomplete(response, xhr); - }; - - upload(files, settings); - } - - function upload(files, settings){ - - // upload all at once - var formData = new FormData(), xhr = new XMLHttpRequest(); - - if (settings.before(settings, files)===false) return; - - for (var i = 0, f; f = files[i]; i++) { formData.append(settings.param, f); } - for (var p in settings.params) { formData.append(p, settings.params[p]); } - - // Add any event handlers here... - xhr.upload.addEventListener("progress", function(e){ - var percent = (e.loaded / e.total)*100; - settings.progress(percent, e); - }, false); - - xhr.addEventListener("loadstart", function(e){ settings.loadstart(e); }, false); - xhr.addEventListener("load", function(e){ settings.load(e); }, false); - xhr.addEventListener("loadend", function(e){ settings.loadend(e); }, false); - xhr.addEventListener("error", function(e){ settings.error(e); }, false); - xhr.addEventListener("abort", function(e){ settings.abort(e); }, false); - - xhr.open(settings.method, settings.action, true); - - xhr.onreadystatechange = function() { - - settings.readystatechange(xhr); - - if (xhr.readyState==4){ - - var response = xhr.responseText; - - if (settings.type=="json") { - try { - response = UI.$.parseJSON(response); - } catch(e) { - response = false; - } - } - - settings.complete(response, xhr); - } - }; - settings.beforeSend(xhr); - xhr.send(formData); - } - } - - xhrupload.defaults = { - 'action': '', - 'single': true, - 'method': 'POST', - 'param' : 'files[]', - 'params': {}, - 'allow' : '*.*', - 'type' : 'text', - 'filelimit': false, - - // events - 'before' : function(o){}, - 'beforeSend' : function(xhr){}, - 'beforeAll' : function(){}, - 'loadstart' : function(){}, - 'load' : function(){}, - 'loadend' : function(){}, - 'error' : function(){}, - 'abort' : function(){}, - 'progress' : function(){}, - 'complete' : function(){}, - 'allcomplete' : function(){}, - 'readystatechange': function(){}, - 'notallowed' : function(file, settings){ alert('Only the following file types are allowed: '+settings.allow); } - }; - - function matchName(pattern, path) { - - var parsedPattern = '^' + pattern.replace(/\//g, '\\/'). - replace(/\*\*/g, '(\\/[^\\/]+)*'). - replace(/\*/g, '[^\\/]+'). - replace(/((?!\\))\?/g, '$1.') + '$'; - - parsedPattern = '^' + parsedPattern + '$'; - - return (path.match(new RegExp(parsedPattern, 'i')) !== null); - } - - UI.Utils.xhrupload = xhrupload; - - return xhrupload; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/upload.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/upload.min.js deleted file mode 100644 index e9b475957..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/components/upload.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(e){var t;window.UIkit&&(t=e(UIkit)),"function"==typeof define&&define.amd&&define("uikit-upload",["uikit"],function(){return t||e(UIkit)})}(function(e){"use strict";function t(o,a){function r(t,n){var o=new FormData,a=new XMLHttpRequest;if(n.before(n,t)!==!1){for(var r,l=0;r=t[l];l++)o.append(n.param,r);for(var i in n.params)o.append(i,n.params[i]);a.upload.addEventListener("progress",function(e){var t=e.loaded/e.total*100;n.progress(t,e)},!1),a.addEventListener("loadstart",function(e){n.loadstart(e)},!1),a.addEventListener("load",function(e){n.load(e)},!1),a.addEventListener("loadend",function(e){n.loadend(e)},!1),a.addEventListener("error",function(e){n.error(e)},!1),a.addEventListener("abort",function(e){n.abort(e)},!1),a.open(n.method,n.action,!0),a.onreadystatechange=function(){if(n.readystatechange(a),4==a.readyState){var t=a.responseText;if("json"==n.type)try{t=e.$.parseJSON(t)}catch(o){t=!1}n.complete(t,a)}},n.beforeSend(a),a.send(o)}}if(!e.support.ajaxupload)return this;if(a=e.$.extend({},t.defaults,a),o.length){if("*.*"!==a.allow)for(var l,i=0;l=o[i];i++)if(!n(a.allow,l.name))return"string"==typeof a.notallowed?alert(a.notallowed):a.notallowed(l,a),void 0;var f=a.complete;if(a.single){var d=o.length,s=0,p=!0;a.beforeAll(o),a.complete=function(e,t){s+=1,f(e,t),a.filelimit&&s>=a.filelimit&&(p=!1),p&&d>s?r([o[s]],a):a.allcomplete(e,t)},r([o[0]],a)}else a.complete=function(e,t){f(e,t),a.allcomplete(e,t)},r(o,a)}}function n(e,t){var n="^"+e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$";return n="^"+n+"$",null!==t.match(new RegExp(n,"i"))}return e.component("uploadSelect",{init:function(){var e=this;this.on("change",function(){t(e.element[0].files,e.options);var n=e.element.clone(!0).data("uploadSelect",e);e.element.replaceWith(n),e.element=n})}}),e.component("uploadDrop",{defaults:{dragoverClass:"uk-dragover"},init:function(){var e=this,n=!1;this.on("drop",function(n){n.dataTransfer&&n.dataTransfer.files&&(n.stopPropagation(),n.preventDefault(),e.element.removeClass(e.options.dragoverClass),e.element.trigger("dropped.uk.upload",[n.dataTransfer.files]),t(n.dataTransfer.files,e.options))}).on("dragenter",function(e){e.stopPropagation(),e.preventDefault()}).on("dragover",function(t){t.stopPropagation(),t.preventDefault(),n||(e.element.addClass(e.options.dragoverClass),n=!0)}).on("dragleave",function(t){t.stopPropagation(),t.preventDefault(),e.element.removeClass(e.options.dragoverClass),n=!1})}}),e.support.ajaxupload=function(){function e(){var e=document.createElement("INPUT");return e.type="file","files"in e}function t(){var e=new XMLHttpRequest;return!!(e&&"upload"in e&&"onprogress"in e.upload)}function n(){return!!window.FormData}return e()&&t()&&n()}(),e.support.ajaxupload&&e.$.event.props.push("dataTransfer"),t.defaults={action:"",single:!0,method:"POST",param:"files[]",params:{},allow:"*.*",type:"text",filelimit:!1,before:function(){},beforeSend:function(){},beforeAll:function(){},loadstart:function(){},load:function(){},loadend:function(){},error:function(){},abort:function(){},progress:function(){},complete:function(){},allcomplete:function(){},readystatechange:function(){},notallowed:function(e,t){alert("Only the following file types are allowed: "+t.allow)}},e.Utils.xhrupload=t,t}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/alert.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/alert.js deleted file mode 100644 index 25ea2adc9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/alert.js +++ /dev/null @@ -1,66 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('alert', { - - defaults: { - "fade": true, - "duration": 200, - "trigger": ".uk-alert-close" - }, - - boot: function() { - - // init code - UI.$html.on("click.alert.uikit", "[data-uk-alert]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("alert")) { - - var alert = UI.alert(ele, UI.Utils.options(ele.attr("data-uk-alert"))); - - if (UI.$(e.target).is(alert.options.trigger)) { - e.preventDefault(); - alert.close(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.on("click", this.options.trigger, function(e) { - e.preventDefault(); - $this.close(); - }); - }, - - close: function() { - - var element = this.trigger("close.uk.alert"), - removeElement = function () { - this.trigger("closed.uk.alert").remove(); - }.bind(this); - - if (this.options.fade) { - element.css("overflow", "hidden").css("max-height", element.height()).animate({ - "height" : 0, - "opacity" : 0, - "padding-top" : 0, - "padding-bottom" : 0, - "margin-top" : 0, - "margin-bottom" : 0 - }, this.options.duration, removeElement); - } else { - removeElement(); - } - } - - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/alert.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/alert.min.js deleted file mode 100644 index 224b4e15f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/alert.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(i){var o=t.$(this);if(!o.data("alert")){var e=t.alert(o,t.Utils.options(o.attr("data-uk-alert")));t.$(i.target).is(e.options.trigger)&&(i.preventDefault(),e.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(i){i.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),i=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,i):i()}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/button.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/button.js deleted file mode 100644 index 6256e551c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/button.js +++ /dev/null @@ -1,154 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('buttonRadio', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - // init code - UI.$html.on("click.buttonradio.uikit", "[data-uk-button-radio]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("buttonRadio")) { - - var obj = UI.buttonRadio(ele, UI.Utils.options(ele.attr("data-uk-button-radio"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - $this.find($this.options.target).not(ele).removeClass("uk-active").blur(); - ele.addClass("uk-active"); - - // Update ARIA - $this.find($this.options.target).not(ele).attr('aria-checked', 'false'); - ele.attr('aria-checked', 'true'); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - UI.component('buttonCheckbox', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - UI.$html.on("click.buttoncheckbox.uikit", "[data-uk-button-checkbox]", function(e) { - var ele = UI.$(this); - - if (!ele.data("buttonCheckbox")) { - - var obj = UI.buttonCheckbox(ele, UI.Utils.options(ele.attr("data-uk-button-checkbox"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - ele.toggleClass("uk-active").blur(); - - // Update ARIA - ele.attr('aria-checked', ele.hasClass("uk-active")); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - - UI.component('button', { - - defaults: {}, - - boot: function() { - - UI.$html.on("click.button.uikit", "[data-uk-button]", function(e) { - var ele = UI.$(this); - - if (!ele.data("button")) { - - var obj = UI.button(ele, UI.Utils.options(ele.attr("data-uk-button"))); - ele.trigger("click"); - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - - this.on("click", function(e) { - - if ($this.element.is('a[href="#"]')) e.preventDefault(); - - $this.toggle(); - $this.trigger("change.uk.button", [$this.element.blur().hasClass("uk-active")]); - }); - - }, - - toggle: function() { - this.element.toggleClass("uk-active"); - - // Update ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/button.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/button.min.js deleted file mode 100644 index bac71eec1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/button.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("buttonRadio",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(i){var e=t.$(this);if(!e.data("buttonRadio")){var a=t.buttonRadio(e,t.Utils.options(e.attr("data-uk-button-radio"))),n=t.$(i.target);n.is(a.options.target)&&n.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var a=t.$(this);a.is('a[href="#"]')&&e.preventDefault(),i.find(i.options.target).not(a).removeClass("uk-active").blur(),a.addClass("uk-active"),i.find(i.options.target).not(a).attr("aria-checked","false"),a.attr("aria-checked","true"),i.trigger("change.uk.button",[a])})},getSelected:function(){return this.find(".uk-active")}}),t.component("buttonCheckbox",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(i){var e=t.$(this);if(!e.data("buttonCheckbox")){var a=t.buttonCheckbox(e,t.Utils.options(e.attr("data-uk-button-checkbox"))),n=t.$(i.target);n.is(a.options.target)&&n.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var a=t.$(this);a.is('a[href="#"]')&&e.preventDefault(),a.toggleClass("uk-active").blur(),a.attr("aria-checked",a.hasClass("uk-active")),i.trigger("change.uk.button",[a])})},getSelected:function(){return this.find(".uk-active")}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(){var i=t.$(this);if(!i.data("button")){{t.button(i,t.Utils.options(i.attr("data-uk-button")))}i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/core.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/core.js deleted file mode 100644 index 096ff4941..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/core.js +++ /dev/null @@ -1,722 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(core) { - - if (typeof define == "function" && define.amd) { // AMD - - define("uikit", function(){ - - var uikit = window.UIkit || core(window, window.jQuery, window.document); - - uikit.load = function(res, req, onload, config) { - - var resources = res.split(','), load = [], i, base = (config.config && config.config.uikit && config.config.uikit.base ? config.config.uikit.base : "").replace(/\/+$/g, ""); - - if (!base) { - throw new Error( "Please define base path to UIkit in the requirejs config." ); - } - - for (i = 0; i < resources.length; i += 1) { - var resource = resources[i].replace(/\./g, '/'); - load.push(base+'/components/'+resource); - } - - req(load, function() { - onload(uikit); - }); - }; - - return uikit; - }); - } - - if (!window.jQuery) { - throw new Error( "UIkit requires jQuery" ); - } - - if (window && window.jQuery) { - core(window, window.jQuery, window.document); - } - - -})(function(global, $, doc) { - - "use strict"; - - var UI = {}, _UI = global.UIkit ? Object.create(global.UIkit) : undefined; - - UI.version = '2.21.0'; - - UI.noConflict = function() { - // restore UIkit version - if (_UI) { - global.UIkit = _UI; - $.UIkit = _UI; - $.fn.uk = _UI.fn; - } - - return UI; - }; - - UI.prefix = function(str) { - return str; - }; - - // cache jQuery - UI.$ = $; - - UI.$doc = UI.$(document); - UI.$win = UI.$(window); - UI.$html = UI.$('html'); - - UI.support = {}; - UI.support.transition = (function() { - - var transitionEnd = (function() { - - var element = doc.body || doc.documentElement, - transEndEventNames = { - WebkitTransition : 'webkitTransitionEnd', - MozTransition : 'transitionend', - OTransition : 'oTransitionEnd otransitionend', - transition : 'transitionend' - }, name; - - for (name in transEndEventNames) { - if (element.style[name] !== undefined) return transEndEventNames[name]; - } - }()); - - return transitionEnd && { end: transitionEnd }; - })(); - - UI.support.animation = (function() { - - var animationEnd = (function() { - - var element = doc.body || doc.documentElement, - animEndEventNames = { - WebkitAnimation : 'webkitAnimationEnd', - MozAnimation : 'animationend', - OAnimation : 'oAnimationEnd oanimationend', - animation : 'animationend' - }, name; - - for (name in animEndEventNames) { - if (element.style[name] !== undefined) return animEndEventNames[name]; - } - }()); - - return animationEnd && { end: animationEnd }; - })(); - - // requestAnimationFrame polyfill - // https://gist.github.com/paulirish/1579671 - (function(){ - - var lastTime = 0; - - global.requestAnimationFrame = global.requestAnimationFrame || global.webkitRequestAnimationFrame || function(callback, element) { - var currTime = new Date().getTime(); - var timeToCall = Math.max(0, 16 - (currTime - lastTime)); - var id = global.setTimeout(function() { callback(currTime + timeToCall); }, timeToCall); - lastTime = currTime + timeToCall; - return id; - }; - - if (!global.cancelAnimationFrame) { - - global.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - } - - })(); - - UI.support.touch = ( - ('ontouchstart' in document) || - (global.DocumentTouch && document instanceof global.DocumentTouch) || - (global.navigator.msPointerEnabled && global.navigator.msMaxTouchPoints > 0) || //IE 10 - (global.navigator.pointerEnabled && global.navigator.maxTouchPoints > 0) || //IE >=11 - false - ); - - UI.support.mutationobserver = (global.MutationObserver || global.WebKitMutationObserver || null); - - UI.Utils = {}; - - UI.Utils.isFullscreen = function() { - return document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement || document.fullscreenElement || false; - }; - - UI.Utils.str2json = function(str, notevil) { - try { - if (notevil) { - return JSON.parse(str - // wrap keys without quote with valid double quote - .replace(/([\$\w]+)\s*:/g, function(_, $1){return '"'+$1+'":';}) - // replacing single quote wrapped ones to double quote - .replace(/'([^']+)'/g, function(_, $1){return '"'+$1+'"';}) - ); - } else { - return (new Function("", "var json = " + str + "; return JSON.parse(JSON.stringify(json));"))(); - } - } catch(e) { return false; } - }; - - UI.Utils.debounce = function(func, wait, immediate) { - var timeout; - return function() { - var context = this, args = arguments; - var later = function() { - timeout = null; - if (!immediate) func.apply(context, args); - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); - }; - }; - - UI.Utils.removeCssRules = function(selectorRegEx) { - var idx, idxs, stylesheet, _i, _j, _k, _len, _len1, _len2, _ref; - - if(!selectorRegEx) return; - - setTimeout(function(){ - try { - _ref = document.styleSheets; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - stylesheet = _ref[_i]; - idxs = []; - stylesheet.cssRules = stylesheet.cssRules; - for (idx = _j = 0, _len1 = stylesheet.cssRules.length; _j < _len1; idx = ++_j) { - if (stylesheet.cssRules[idx].type === CSSRule.STYLE_RULE && selectorRegEx.test(stylesheet.cssRules[idx].selectorText)) { - idxs.unshift(idx); - } - } - for (_k = 0, _len2 = idxs.length; _k < _len2; _k++) { - stylesheet.deleteRule(idxs[_k]); - } - } - } catch (_error) {} - }, 0); - }; - - UI.Utils.isInView = function(element, options) { - - var $element = $(element); - - if (!$element.is(':visible')) { - return false; - } - - var window_left = UI.$win.scrollLeft(), window_top = UI.$win.scrollTop(), offset = $element.offset(), left = offset.left, top = offset.top; - - options = $.extend({topoffset:0, leftoffset:0}, options); - - if (top + $element.height() >= window_top && top - options.topoffset <= window_top + UI.$win.height() && - left + $element.width() >= window_left && left - options.leftoffset <= window_left + UI.$win.width()) { - return true; - } else { - return false; - } - }; - - UI.Utils.checkDisplay = function(context, initanimation) { - - var elements = UI.$('[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]', context || document), animated; - - if (context && !elements.length) { - elements = $(context); - } - - elements.trigger('display.uk.check'); - - // fix firefox / IE animations - if (initanimation) { - - if (typeof(initanimation)!='string') { - initanimation = '[class*="uk-animation-"]'; - } - - elements.find(initanimation).each(function(){ - - var ele = UI.$(this), - cls = ele.attr('class'), - anim = cls.match(/uk\-animation\-(.+)/); - - ele.removeClass(anim[0]).width(); - - ele.addClass(anim[0]); - }); - } - - return elements; - }; - - UI.Utils.options = function(string) { - - if ($.isPlainObject(string)) return string; - - var start = (string ? string.indexOf("{") : -1), options = {}; - - if (start != -1) { - try { - options = UI.Utils.str2json(string.substr(start)); - } catch (e) {} - } - - return options; - }; - - UI.Utils.animate = function(element, cls) { - - var d = $.Deferred(); - - element = UI.$(element); - cls = cls; - - element.css('display', 'none').addClass(cls).one(UI.support.animation.end, function() { - element.removeClass(cls); - d.resolve(); - }).width(); - - element.css('display', ''); - - return d.promise(); - }; - - UI.Utils.uid = function(prefix) { - return (prefix || 'id') + (new Date().getTime())+"RAND"+(Math.ceil(Math.random() * 100000)); - }; - - UI.Utils.template = function(str, data) { - - var tokens = str.replace(/\n/g, '\\n').replace(/\{\{\{\s*(.+?)\s*\}\}\}/g, "{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g), - i=0, toc, cmd, prop, val, fn, output = [], openblocks = 0; - - while(i < tokens.length) { - - toc = tokens[i]; - - if(toc.match(/\{\{\s*(.+?)\s*\}\}/)) { - i = i + 1; - toc = tokens[i]; - cmd = toc[0]; - prop = toc.substring(toc.match(/^(\^|\#|\!|\~|\:)/) ? 1:0); - - switch(cmd) { - case '~': - output.push("for(var $i=0;$i<"+prop+".length;$i++) { var $item = "+prop+"[$i];"); - openblocks++; - break; - case ':': - output.push("for(var $key in "+prop+") { var $val = "+prop+"[$key];"); - openblocks++; - break; - case '#': - output.push("if("+prop+") {"); - openblocks++; - break; - case '^': - output.push("if(!"+prop+") {"); - openblocks++; - break; - case '/': - output.push("}"); - openblocks--; - break; - case '!': - output.push("__ret.push("+prop+");"); - break; - default: - output.push("__ret.push(escape("+prop+"));"); - break; - } - } else { - output.push("__ret.push('"+toc.replace(/\'/g, "\\'")+"');"); - } - i = i + 1; - } - - fn = new Function('$data', [ - 'var __ret = [];', - 'try {', - 'with($data){', (!openblocks ? output.join('') : '__ret = ["Not all blocks are closed correctly."]'), '};', - '}catch(e){__ret = [e.message];}', - 'return __ret.join("").replace(/\\n\\n/g, "\\n");', - "function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}" - ].join("\n")); - - return data ? fn(data) : fn; - }; - - UI.Utils.events = {}; - UI.Utils.events.click = UI.support.touch ? 'tap' : 'click'; - - global.UIkit = UI; - - // deprecated - - UI.fn = function(command, options) { - - var args = arguments, cmd = command.match(/^([a-z\-]+)(?:\.([a-z]+))?/i), component = cmd[1], method = cmd[2]; - - if (!UI[component]) { - $.error("UIkit component [" + component + "] does not exist."); - return this; - } - - return this.each(function() { - var $this = $(this), data = $this.data(component); - if (!data) $this.data(component, (data = UI[component](this, method ? undefined : options))); - if (method) data[method].apply(data, Array.prototype.slice.call(args, 1)); - }); - }; - - $.UIkit = UI; - $.fn.uk = UI.fn; - - UI.langdirection = UI.$html.attr("dir") == "rtl" ? "right" : "left"; - - UI.components = {}; - - UI.component = function(name, def) { - - var fn = function(element, options) { - - var $this = this; - - this.UIkit = UI; - this.element = element ? UI.$(element) : null; - this.options = $.extend(true, {}, this.defaults, options); - this.plugins = {}; - - if (this.element) { - this.element.data(name, this); - } - - this.init(); - - (this.options.plugins.length ? this.options.plugins : Object.keys(fn.plugins)).forEach(function(plugin) { - - if (fn.plugins[plugin].init) { - fn.plugins[plugin].init($this); - $this.plugins[plugin] = true; - } - - }); - - this.trigger('init.uk.component', [name, this]); - - return this; - }; - - fn.plugins = {}; - - $.extend(true, fn.prototype, { - - defaults : {plugins: []}, - - boot: function(){}, - init: function(){}, - - on: function(a1,a2,a3){ - return UI.$(this.element || this).on(a1,a2,a3); - }, - - one: function(a1,a2,a3){ - return UI.$(this.element || this).one(a1,a2,a3); - }, - - off: function(evt){ - return UI.$(this.element || this).off(evt); - }, - - trigger: function(evt, params) { - return UI.$(this.element || this).trigger(evt, params); - }, - - find: function(selector) { - return UI.$(this.element ? this.element: []).find(selector); - }, - - proxy: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = function() { return obj[method].apply(obj, arguments); }; - }); - }, - - mixin: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = obj[method].bind($this); - }); - }, - - option: function() { - - if (arguments.length == 1) { - return this.options[arguments[0]] || undefined; - } else if (arguments.length == 2) { - this.options[arguments[0]] = arguments[1]; - } - } - - }, def); - - this.components[name] = fn; - - this[name] = function() { - - var element, options; - - if (arguments.length) { - - switch(arguments.length) { - case 1: - - if (typeof arguments[0] === "string" || arguments[0].nodeType || arguments[0] instanceof jQuery) { - element = $(arguments[0]); - } else { - options = arguments[0]; - } - - break; - case 2: - - element = $(arguments[0]); - options = arguments[1]; - break; - } - } - - if (element && element.data(name)) { - return element.data(name); - } - - return (new UI.components[name](element, options)); - }; - - if (UI.domready) { - UI.component.boot(name); - } - - return fn; - }; - - UI.plugin = function(component, name, def) { - this.components[component].plugins[name] = def; - }; - - UI.component.boot = function(name) { - - if (UI.components[name].prototype && UI.components[name].prototype.boot && !UI.components[name].booted) { - UI.components[name].prototype.boot.apply(UI, []); - UI.components[name].booted = true; - } - }; - - UI.component.bootComponents = function() { - - for (var component in UI.components) { - UI.component.boot(component); - } - }; - - - // DOM mutation save ready helper function - - UI.domObservers = []; - UI.domready = false; - - UI.ready = function(fn) { - - UI.domObservers.push(fn); - - if (UI.domready) { - fn(document); - } - }; - - UI.on = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - } - - return UI.$doc.on(a1,a2,a3); - }; - - UI.one = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - return UI.$doc; - } - - return UI.$doc.one(a1,a2,a3); - }; - - UI.trigger = function(evt, params) { - return UI.$doc.trigger(evt, params); - }; - - UI.domObserve = function(selector, fn) { - - if(!UI.support.mutationobserver) return; - - fn = fn || function() {}; - - UI.$(selector).each(function() { - - var element = this, - $element = UI.$(element); - - if ($element.data('observer')) { - return; - } - - try { - - var observer = new UI.support.mutationobserver(UI.Utils.debounce(function(mutations) { - fn.apply(element, []); - $element.trigger('changed.uk.dom'); - }, 50)); - - // pass in the target node, as well as the observer options - observer.observe(element, { childList: true, subtree: true }); - - $element.data('observer', observer); - - } catch(e) {} - }); - }; - - UI.init = function(root) { - - root = root || document; - - UI.domObservers.forEach(function(fn){ - fn(root); - }); - }; - - UI.on('domready.uk.dom', function(){ - - UI.init(); - - if (UI.domready) UI.Utils.checkDisplay(); - }); - - $(function(){ - - UI.$body = UI.$('body'); - - UI.ready(function(context){ - UI.domObserve('[data-uk-observe]'); - }); - - UI.on('changed.uk.dom', function(e) { - UI.init(e.target); - UI.Utils.checkDisplay(e.target); - }); - - UI.trigger('beforeready.uk.dom'); - - UI.component.bootComponents(); - - // custom scroll observer - setInterval((function(){ - - var memory = {x: window.pageXOffset, y:window.pageYOffset}, dir; - - var fn = function(){ - - if (memory.x != window.pageXOffset || memory.y != window.pageYOffset) { - - dir = {x: 0 , y: 0}; - - if (window.pageXOffset != memory.x) dir.x = window.pageXOffset > memory.x ? 1:-1; - if (window.pageYOffset != memory.y) dir.y = window.pageYOffset > memory.y ? 1:-1; - - memory = { - "dir": dir, "x": window.pageXOffset, "y": window.pageYOffset - }; - - UI.$doc.trigger('scrolling.uk.document', [memory]); - } - }; - - if (UI.support.touch) { - UI.$html.on('touchmove touchend MSPointerMove MSPointerUp pointermove pointerup', fn); - } - - if (memory.x || memory.y) fn(); - - return fn; - - })(), 15); - - // run component init functions on dom - UI.trigger('domready.uk.dom'); - - if (UI.support.touch) { - - // remove css hover rules for touch devices - // UI.Utils.removeCssRules(/\.uk-(?!navbar).*:hover/); - - // viewport unit fix for uk-height-viewport - should be fixed in iOS 8 - if (navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) { - - UI.$win.on('load orientationchange resize', UI.Utils.debounce((function(){ - - var fn = function() { - $('.uk-height-viewport').css('height', window.innerHeight); - return fn; - }; - - return fn(); - - })(), 100)); - } - } - - UI.trigger('afterready.uk.dom'); - - // mark that domready is left behind - UI.domready = true; - }); - - // add touch identifier class - UI.$html.addClass(UI.support.touch ? "uk-touch" : "uk-notouch"); - - // add uk-hover class on tap to support overlays on touch devices - if (UI.support.touch) { - - var hoverset = false, exclude, hovercls = 'uk-hover', selector = '.uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover'; - - UI.$html.on('touchstart MSPointerDown pointerdown', selector, function() { - - if (hoverset) $('.'+hovercls).removeClass(hovercls); - - hoverset = $(this).addClass(hovercls); - - }).on('touchend MSPointerUp pointerup', function(e) { - - exclude = $(e.target).parents(selector); - - if (hoverset) { - hoverset.not(exclude).removeClass(hovercls); - } - }); - } - - return UI; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/core.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/core.min.js deleted file mode 100644 index 42c051f05..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/core.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){if("function"==typeof define&&define.amd&&define("uikit",function(){var n=window.UIkit||t(window,window.jQuery,window.document);return n.load=function(t,e,o,i){var r,s=t.split(","),a=[],u=(i.config&&i.config.uikit&&i.config.uikit.base?i.config.uikit.base:"").replace(/\/+$/g,"");if(!u)throw new Error("Please define base path to UIkit in the requirejs config.");for(r=0;r<s.length;r+=1){var c=s[r].replace(/\./g,"/");a.push(u+"/components/"+c)}e(a,function(){o(n)})},n}),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&t(window,window.jQuery,window.document)}(function(t,n,e){"use strict";var o={},i=t.UIkit?Object.create(t.UIkit):void 0;if(o.version="2.21.0",o.noConflict=function(){return i&&(t.UIkit=i,n.UIkit=i,n.fn.uk=i.fn),o},o.prefix=function(t){return t},o.$=n,o.$doc=o.$(document),o.$win=o.$(window),o.$html=o.$("html"),o.support={},o.support.transition=function(){var t=function(){var t,n=e.body||e.documentElement,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in o)if(void 0!==n.style[t])return o[t]}();return t&&{end:t}}(),o.support.animation=function(){var t=function(){var t,n=e.body||e.documentElement,o={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in o)if(void 0!==n.style[t])return o[t]}();return t&&{end:t}}(),function(){var n=0;t.requestAnimationFrame=t.requestAnimationFrame||t.webkitRequestAnimationFrame||function(e){var o=(new Date).getTime(),i=Math.max(0,16-(o-n)),r=t.setTimeout(function(){e(o+i)},i);return n=o+i,r},t.cancelAnimationFrame||(t.cancelAnimationFrame=function(t){clearTimeout(t)})}(),o.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,o.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,o.Utils={},o.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},o.Utils.str2json=function(t,n){try{return n?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,n){return'"'+n+'":'}).replace(/'([^']+)'/g,function(t,n){return'"'+n+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(e){return!1}},o.Utils.debounce=function(t,n,e){var o;return function(){var i=this,r=arguments,s=function(){o=null,e||t.apply(i,r)},a=e&&!o;clearTimeout(o),o=setTimeout(s,n),a&&t.apply(i,r)}},o.Utils.removeCssRules=function(t){var n,e,o,i,r,s,a,u,c,d;t&&setTimeout(function(){try{for(d=document.styleSheets,i=0,a=d.length;a>i;i++){for(o=d[i],e=[],o.cssRules=o.cssRules,n=r=0,u=o.cssRules.length;u>r;n=++r)o.cssRules[n].type===CSSRule.STYLE_RULE&&t.test(o.cssRules[n].selectorText)&&e.unshift(n);for(s=0,c=e.length;c>s;s++)o.deleteRule(e[s])}}catch(l){}},0)},o.Utils.isInView=function(t,e){var i=n(t);if(!i.is(":visible"))return!1;var r=o.$win.scrollLeft(),s=o.$win.scrollTop(),a=i.offset(),u=a.left,c=a.top;return e=n.extend({topoffset:0,leftoffset:0},e),c+i.height()>=s&&c-e.topoffset<=s+o.$win.height()&&u+i.width()>=r&&u-e.leftoffset<=r+o.$win.width()?!0:!1},o.Utils.checkDisplay=function(t,e){var i=o.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!i.length&&(i=n(t)),i.trigger("display.uk.check"),e&&("string"!=typeof e&&(e='[class*="uk-animation-"]'),i.find(e).each(function(){var t=o.$(this),n=t.attr("class"),e=n.match(/uk\-animation\-(.+)/);t.removeClass(e[0]).width(),t.addClass(e[0])})),i},o.Utils.options=function(t){if(n.isPlainObject(t))return t;var e=t?t.indexOf("{"):-1,i={};if(-1!=e)try{i=o.Utils.str2json(t.substr(e))}catch(r){}return i},o.Utils.animate=function(t,e){var i=n.Deferred();return t=o.$(t),e=e,t.css("display","none").addClass(e).one(o.support.animation.end,function(){t.removeClass(e),i.resolve()}).width(),t.css("display",""),i.promise()},o.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},o.Utils.template=function(t,n){for(var e,o,i,r,s=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),a=0,u=[],c=0;a<s.length;){if(e=s[a],e.match(/\{\{\s*(.+?)\s*\}\}/))switch(a+=1,e=s[a],o=e[0],i=e.substring(e.match(/^(\^|\#|\!|\~|\:)/)?1:0),o){case"~":u.push("for(var $i=0;$i<"+i+".length;$i++) { var $item = "+i+"[$i];"),c++;break;case":":u.push("for(var $key in "+i+") { var $val = "+i+"[$key];"),c++;break;case"#":u.push("if("+i+") {"),c++;break;case"^":u.push("if(!"+i+") {"),c++;break;case"/":u.push("}"),c--;break;case"!":u.push("__ret.push("+i+");");break;default:u.push("__ret.push(escape("+i+"));")}else u.push("__ret.push('"+e.replace(/\'/g,"\\'")+"');");a+=1}return r=new Function("$data",["var __ret = [];","try {","with($data){",c?'__ret = ["Not all blocks are closed correctly."]':u.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}"].join("\n")),n?r(n):r},o.Utils.events={},o.Utils.events.click=o.support.touch?"tap":"click",t.UIkit=o,o.fn=function(t,e){var i=arguments,r=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),s=r[1],a=r[2];return o[s]?this.each(function(){var t=n(this),r=t.data(s);r||t.data(s,r=o[s](this,a?void 0:e)),a&&r[a].apply(r,Array.prototype.slice.call(i,1))}):(n.error("UIkit component ["+s+"] does not exist."),this)},n.UIkit=o,n.fn.uk=o.fn,o.langdirection="rtl"==o.$html.attr("dir")?"right":"left",o.components={},o.component=function(t,e){var i=function(e,r){var s=this;return this.UIkit=o,this.element=e?o.$(e):null,this.options=n.extend(!0,{},this.defaults,r),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(i.plugins)).forEach(function(t){i.plugins[t].init&&(i.plugins[t].init(s),s.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return i.plugins={},n.extend(!0,i.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,n,e){return o.$(this.element||this).on(t,n,e)},one:function(t,n,e){return o.$(this.element||this).one(t,n,e)},off:function(t){return o.$(this.element||this).off(t)},trigger:function(t,n){return o.$(this.element||this).trigger(t,n)},find:function(t){return o.$(this.element?this.element:[]).find(t)},proxy:function(t,n){var e=this;n.split(" ").forEach(function(n){e[n]||(e[n]=function(){return t[n].apply(t,arguments)})})},mixin:function(t,n){var e=this;n.split(" ").forEach(function(n){e[n]||(e[n]=t[n].bind(e))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:(2==arguments.length&&(this.options[arguments[0]]=arguments[1]),void 0)}},e),this.components[t]=i,this[t]=function(){var e,i;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?e=n(arguments[0]):i=arguments[0];break;case 2:e=n(arguments[0]),i=arguments[1]}return e&&e.data(t)?e.data(t):new o.components[t](e,i)},o.domready&&o.component.boot(t),i},o.plugin=function(t,n,e){this.components[t].plugins[n]=e},o.component.boot=function(t){o.components[t].prototype&&o.components[t].prototype.boot&&!o.components[t].booted&&(o.components[t].prototype.boot.apply(o,[]),o.components[t].booted=!0)},o.component.bootComponents=function(){for(var t in o.components)o.component.boot(t)},o.domObservers=[],o.domready=!1,o.ready=function(t){o.domObservers.push(t),o.domready&&t(document)},o.on=function(t,n,e){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready&&n.apply(o.$doc),o.$doc.on(t,n,e)},o.one=function(t,n,e){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready?(n.apply(o.$doc),o.$doc):o.$doc.one(t,n,e)},o.trigger=function(t,n){return o.$doc.trigger(t,n)},o.domObserve=function(t,n){o.support.mutationobserver&&(n=n||function(){},o.$(t).each(function(){var t=this,e=o.$(t);if(!e.data("observer"))try{var i=new o.support.mutationobserver(o.Utils.debounce(function(){n.apply(t,[]),e.trigger("changed.uk.dom")},50));i.observe(t,{childList:!0,subtree:!0}),e.data("observer",i)}catch(r){}}))},o.init=function(t){t=t||document,o.domObservers.forEach(function(n){n(t)})},o.on("domready.uk.dom",function(){o.init(),o.domready&&o.Utils.checkDisplay()}),n(function(){o.$body=o.$("body"),o.ready(function(){o.domObserve("[data-uk-observe]")}),o.on("changed.uk.dom",function(t){o.init(t.target),o.Utils.checkDisplay(t.target)}),o.trigger("beforeready.uk.dom"),o.component.bootComponents(),setInterval(function(){var t,n={x:window.pageXOffset,y:window.pageYOffset},e=function(){(n.x!=window.pageXOffset||n.y!=window.pageYOffset)&&(t={x:0,y:0},window.pageXOffset!=n.x&&(t.x=window.pageXOffset>n.x?1:-1),window.pageYOffset!=n.y&&(t.y=window.pageYOffset>n.y?1:-1),n={dir:t,x:window.pageXOffset,y:window.pageYOffset},o.$doc.trigger("scrolling.uk.document",[n]))};return o.support.touch&&o.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",e),(n.x||n.y)&&e(),e}(),15),o.trigger("domready.uk.dom"),o.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&o.$win.on("load orientationchange resize",o.Utils.debounce(function(){var t=function(){return n(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),o.trigger("afterready.uk.dom"),o.domready=!0}),o.$html.addClass(o.support.touch?"uk-touch":"uk-notouch"),o.support.touch){var r,s=!1,a="uk-hover",u=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";o.$html.on("touchstart MSPointerDown pointerdown",u,function(){s&&n("."+a).removeClass(a),s=n(this).addClass(a)}).on("touchend MSPointerUp pointerup",function(t){r=n(t.target).parents(u),s&&s.not(r).removeClass(a)})}return o}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/cover.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/cover.js deleted file mode 100644 index a505b78a8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/cover.js +++ /dev/null @@ -1,95 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI){ - - "use strict"; - - UI.component('cover', { - - defaults: { - automute : true - }, - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-cover]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("cover")) { - var plugin = UI.cover(ele, UI.Utils.options(ele.attr("data-uk-cover"))); - } - }); - }); - }, - - init: function() { - - this.parent = this.element.parent(); - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ - this.check(); - }.bind(this), 100)); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.check(); - }.bind(this)); - - this.check(); - - if (this.element.is('iframe') && this.options.automute) { - - var src = this.element.attr('src'); - - this.element.attr('src', '').on('load', function(){ - - this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); - - }).attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1'].join('')); - } - }, - - check: function() { - - this.element.css({ - 'width' : '', - 'height' : '' - }); - - this.dimension = {w: this.element.width(), h: this.element.height()}; - - if (this.element.attr('width') && !isNaN(this.element.attr('width'))) { - this.dimension.w = this.element.attr('width'); - } - - if (this.element.attr('height') && !isNaN(this.element.attr('height'))) { - this.dimension.h = this.element.attr('height'); - } - - this.ratio = this.dimension.w / this.dimension.h; - - var w = this.parent.width(), h = this.parent.height(), width, height; - - // if element height < parent height (gap underneath) - if ((w / this.ratio) < h) { - - width = Math.ceil(h * this.ratio); - height = h; - - // element width < parent width (gap to right) - } else { - - width = w; - height = Math.ceil(w / this.ratio); - } - - this.element.css({ - 'width' : width, - 'height' : height - }); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/cover.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/cover.min.js deleted file mode 100644 index 70bdffd39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/cover.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("cover",{defaults:{automute:!0},boot:function(){t.ready(function(i){t.$("[data-uk-cover]",i).each(function(){var i=t.$(this);if(!i.data("cover")){t.cover(i,t.Utils.options(i.attr("data-uk-cover")))}})})},init:function(){if(this.parent=this.element.parent(),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){this.check()}.bind(this),100)),this.on("display.uk.check",function(){this.element.is(":visible")&&this.check()}.bind(this)),this.check(),this.element.is("iframe")&&this.options.automute){var i=this.element.attr("src");this.element.attr("src","").on("load",function(){this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}).attr("src",[i,i.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,i,e=this.parent.width(),n=this.parent.height();e/this.ratio<n?(t=Math.ceil(n*this.ratio),i=n):(t=e,i=Math.ceil(e/this.ratio)),this.element.css({width:t,height:i})}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/dropdown.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/dropdown.js deleted file mode 100644 index bb9318447..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/dropdown.js +++ /dev/null @@ -1,296 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var active = false, hoverIdle; - - UI.component('dropdown', { - - defaults: { - 'mode' : 'hover', - 'remaintime' : 800, - 'justify' : false, - 'boundary' : UI.$win, - 'delay' : 0, - 'hoverDelayIdle' : 250 - }, - - remainIdle: false, - - boot: function() { - - var triggerevent = UI.support.touch ? "click" : "mouseenter"; - - // init code - UI.$html.on(triggerevent+".dropdown.uikit", "[data-uk-dropdown]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("dropdown")) { - - var dropdown = UI.dropdown(ele, UI.Utils.options(ele.attr("data-uk-dropdown"))); - - if (triggerevent=="click" || (triggerevent=="mouseenter" && dropdown.options.mode=="hover")) { - dropdown.element.trigger(triggerevent); - } - - if (dropdown.element.find('.uk-dropdown').length) { - e.preventDefault(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.dropdown = this.find('.uk-dropdown'); - - this.centered = this.dropdown.hasClass('uk-dropdown-center'); - this.justified = this.options.justify ? UI.$(this.options.justify) : false; - - this.boundary = UI.$(this.options.boundary); - this.flipped = this.dropdown.hasClass('uk-dropdown-flip'); - - if (!this.boundary.length) { - this.boundary = UI.$win; - } - - // Init ARIA - this.element.attr('aria-haspopup', 'true'); - this.element.attr('aria-expanded', this.element.hasClass("uk-open")); - - if (this.options.mode == "click" || UI.support.touch) { - - this.on("click.uikit.dropdown", function(e) { - - var $target = UI.$(e.target); - - if (!$target.parents(".uk-dropdown").length) { - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']") || ($this.dropdown.length && !$this.dropdown.is(":visible")) ){ - e.preventDefault(); - } - - $target.blur(); - } - - if (!$this.element.hasClass('uk-open')) { - - $this.show(); - - } else { - - if ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length) { - $this.hide(); - } - } - }); - - } else { - - this.on("mouseenter", function(e) { - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - if (active && active == $this) { - return; - } - - // pseudo manuAim - if (active && active != $this) { - - hoverIdle = setTimeout(function() { - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - }, $this.options.hoverDelayIdle); - - } else { - - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - } - - }).on("mouseleave", function() { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - $this.remainIdle = setTimeout(function() { - if (active && active == $this) $this.hide(); - }, $this.options.remaintime); - - }).on("click", function(e){ - - var $target = UI.$(e.target); - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']")){ - e.preventDefault(); - } - - $this.show(); - }); - } - }, - - show: function(){ - - UI.$html.off("click.outer.dropdown"); - - if (active && active != this) { - active.hide(); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - this.checkDimensions(); - this.element.addClass('uk-open'); - - // Update ARIA - this.element.attr('aria-expanded', 'true'); - - this.trigger('show.uk.dropdown', [this]); - - UI.Utils.checkDisplay(this.dropdown, true); - active = this; - - this.registerOuterClick(); - }, - - hide: function() { - this.element.removeClass('uk-open'); - - if (this.remainIdle) { - clearTimeout(this.remainIdle); - } - - this.remainIdle = false; - - // Update ARIA - this.element.attr('aria-expanded', 'false'); - - this.trigger('hide.uk.dropdown', [this]); - - if (active == this) active = false; - }, - - registerOuterClick: function(){ - - var $this = this; - - UI.$html.off("click.outer.dropdown"); - - setTimeout(function() { - - UI.$html.on("click.outer.dropdown", function(e) { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - var $target = UI.$(e.target); - - if (active == $this && ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length)) { - $this.hide(); - UI.$html.off("click.outer.dropdown"); - } - }); - }, 10); - }, - - checkDimensions: function() { - - if (!this.dropdown.length) return; - - if (this.justified && this.justified.length) { - this.dropdown.css("min-width", ""); - } - - var $this = this, - dropdown = this.dropdown.css("margin-" + UI.langdirection, ""), - offset = dropdown.show().offset(), - width = dropdown.outerWidth(), - boundarywidth = this.boundary.width(), - boundaryoffset = this.boundary.offset() ? this.boundary.offset().left:0; - - // centered dropdown - if (this.centered) { - dropdown.css("margin-" + UI.langdirection, (parseFloat(width) / 2 - dropdown.parent().width() / 2) * -1); - offset = dropdown.offset(); - - // reset dropdown - if ((width + offset.left) > boundarywidth || offset.left < 0) { - dropdown.css("margin-" + UI.langdirection, ""); - offset = dropdown.offset(); - } - } - - // justify dropdown - if (this.justified && this.justified.length) { - - var jwidth = this.justified.outerWidth(); - - dropdown.css("min-width", jwidth); - - if (UI.langdirection == 'right') { - - var right1 = boundarywidth - (this.justified.offset().left + jwidth), - right2 = boundarywidth - (dropdown.offset().left + dropdown.outerWidth()); - - dropdown.css("margin-right", right1 - right2); - - } else { - dropdown.css("margin-left", this.justified.offset().left - offset.left); - } - - offset = dropdown.offset(); - - } - - if ((width + (offset.left-boundaryoffset)) > boundarywidth) { - dropdown.addClass('uk-dropdown-flip'); - offset = dropdown.offset(); - } - - if ((offset.left-boundaryoffset) < 0) { - - dropdown.addClass("uk-dropdown-stack"); - - if (dropdown.hasClass('uk-dropdown-flip')) { - - if (!this.flipped) { - dropdown.removeClass('uk-dropdown-flip'); - offset = dropdown.offset(); - dropdown.addClass('uk-dropdown-flip'); - } - - setTimeout(function(){ - - if ((dropdown.offset().left-boundaryoffset) < 0 || !$this.flipped && (dropdown.outerWidth() + (offset.left-boundaryoffset)) < boundarywidth) { - dropdown.removeClass('uk-dropdown-flip'); - } - }, 0); - } - - this.trigger('stack.uk.dropdown', [this]); - } - - dropdown.css("display", ""); - } - - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/dropdown.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/dropdown.min.js deleted file mode 100644 index 4a72cc39c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/dropdown.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var e,i=!1;t.component("dropdown",{defaults:{mode:"hover",remaintime:800,justify:!1,boundary:t.$win,delay:0,hoverDelayIdle:250},remainIdle:!1,boot:function(){var e=t.support.touch?"click":"mouseenter";t.$html.on(e+".dropdown.uikit","[data-uk-dropdown]",function(i){var o=t.$(this);if(!o.data("dropdown")){var s=t.dropdown(o,t.Utils.options(o.attr("data-uk-dropdown")));("click"==e||"mouseenter"==e&&"hover"==s.options.mode)&&s.element.trigger(e),s.element.find(".uk-dropdown").length&&i.preventDefault()}})},init:function(){var o=this;this.dropdown=this.find(".uk-dropdown"),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=this.options.justify?t.$(this.options.justify):!1,this.boundary=t.$(this.options.boundary),this.flipped=this.dropdown.hasClass("uk-dropdown-flip"),this.boundary.length||(this.boundary=t.$win),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uikit.dropdown",function(e){var i=t.$(e.target);i.parents(".uk-dropdown").length||((i.is("a[href='#']")||i.parent().is("a[href='#']")||o.dropdown.length&&!o.dropdown.is(":visible"))&&e.preventDefault(),i.blur()),o.element.hasClass("uk-open")?(i.is("a:not(.js-uk-prevent)")||i.is(".uk-dropdown-close")||!o.dropdown.find(e.target).length)&&o.hide():o.show()}):this.on("mouseenter",function(){o.remainIdle&&clearTimeout(o.remainIdle),e&&clearTimeout(e),i&&i==o||(e=i&&i!=o?setTimeout(function(){e=setTimeout(o.show.bind(o),o.options.delay)},o.options.hoverDelayIdle):setTimeout(o.show.bind(o),o.options.delay))}).on("mouseleave",function(){e&&clearTimeout(e),o.remainIdle=setTimeout(function(){i&&i==o&&o.hide()},o.options.remaintime)}).on("click",function(e){var i=t.$(e.target);o.remainIdle&&clearTimeout(o.remainIdle),(i.is("a[href='#']")||i.parent().is("a[href='#']"))&&e.preventDefault(),o.show()})},show:function(){t.$html.off("click.outer.dropdown"),i&&i!=this&&i.hide(),e&&clearTimeout(e),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),i=this,this.registerOuterClick()},hide:function(){this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.trigger("hide.uk.dropdown",[this]),i==this&&(i=!1)},registerOuterClick:function(){var o=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(s){e&&clearTimeout(e);var n=t.$(s.target);i!=o||!n.is("a:not(.js-uk-prevent)")&&!n.is(".uk-dropdown-close")&&o.dropdown.find(s.target).length||(o.hide(),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.justified&&this.justified.length&&this.dropdown.css("min-width","");var e=this,i=this.dropdown.css("margin-"+t.langdirection,""),o=i.show().offset(),s=i.outerWidth(),n=this.boundary.width(),d=this.boundary.offset()?this.boundary.offset().left:0;if(this.centered&&(i.css("margin-"+t.langdirection,-1*(parseFloat(s)/2-i.parent().width()/2)),o=i.offset(),(s+o.left>n||o.left<0)&&(i.css("margin-"+t.langdirection,""),o=i.offset())),this.justified&&this.justified.length){var r=this.justified.outerWidth();if(i.css("min-width",r),"right"==t.langdirection){var a=n-(this.justified.offset().left+r),h=n-(i.offset().left+i.outerWidth());i.css("margin-right",a-h)}else i.css("margin-left",this.justified.offset().left-o.left);o=i.offset()}s+(o.left-d)>n&&(i.addClass("uk-dropdown-flip"),o=i.offset()),o.left-d<0&&(i.addClass("uk-dropdown-stack"),i.hasClass("uk-dropdown-flip")&&(this.flipped||(i.removeClass("uk-dropdown-flip"),o=i.offset(),i.addClass("uk-dropdown-flip")),setTimeout(function(){(i.offset().left-d<0||!e.flipped&&i.outerWidth()+(o.left-d)<n)&&i.removeClass("uk-dropdown-flip")},0)),this.trigger("stack.uk.dropdown",[this])),i.css("display","")}}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/grid.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/grid.js deleted file mode 100644 index f1e45f48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/grid.js +++ /dev/null @@ -1,114 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var grids = []; - - UI.component('gridMatchHeight', { - - defaults: { - "target" : false, - "row" : true, - "ignorestacked" : false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-match]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMatchHeight")) { - obj = UI.gridMatchHeight(grid, UI.Utils.options(grid.attr("data-uk-grid-match"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - this.elements = this.options.target ? this.find(this.options.target) : this.columns; - - if (!this.columns.length) return; - - UI.$win.on('load resize orientationchange', (function() { - - var fn = function() { - $this.match(); - }; - - UI.$(function() { fn(); }); - - return UI.Utils.debounce(fn, 50); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.elements = $this.options.target ? $this.find($this.options.target) : $this.columns; - $this.match(); - }); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.match(); - }.bind(this)); - - grids.push(this); - }, - - match: function() { - - var firstvisible = this.columns.filter(":visible:first"); - - if (!firstvisible.length) return; - - var stacked = Math.ceil(100 * parseFloat(firstvisible.css('width')) / parseFloat(firstvisible.parent().css('width'))) >= 100; - - if (stacked && !this.options.ignorestacked) { - this.revert(); - } else { - UI.Utils.matchHeights(this.elements, this.options); - } - - return this; - }, - - revert: function() { - this.elements.css('min-height', ''); - return this; - } - }); - - UI.component('gridMargin', { - - defaults: { - "cls": "uk-grid-margin" - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-margin]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMargin")) { - obj = UI.gridMargin(grid, UI.Utils.options(grid.attr("data-uk-grid-margin"))); - } - }); - }); - }, - - init: function() { - - var stackMargin = UI.stackMargin(this.element, this.options); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/grid.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/grid.min.js deleted file mode 100644 index 465d413ab..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/grid.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var i=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid-match]",i).each(function(){var i,n=t.$(this);n.data("gridMatchHeight")||(i=t.gridMatchHeight(n,t.Utils.options(n.attr("data-uk-grid-match"))))})})},init:function(){var n=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var i=function(){n.match()};return t.$(function(){i()}),t.Utils.debounce(i,50)}()),t.$html.on("changed.uk.dom",function(){n.columns=n.element.children(),n.elements=n.options.target?n.find(n.options.target):n.columns,n.match()}),this.on("display.uk.check",function(){this.element.is(":visible")&&this.match()}.bind(this)),i.push(this))},match:function(){var i=this.columns.filter(":visible:first");if(i.length){var n=Math.ceil(100*parseFloat(i.css("width"))/parseFloat(i.parent().css("width")))>=100;return n&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin"},boot:function(){t.ready(function(i){t.$("[data-uk-grid-margin]",i).each(function(){var i,n=t.$(this);n.data("gridMargin")||(i=t.gridMargin(n,t.Utils.options(n.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/modal.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/modal.js deleted file mode 100644 index 4bfb3fd61..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/modal.js +++ /dev/null @@ -1,373 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var active = false, activeCount = 0, $html = UI.$html, body; - - UI.component('modal', { - - defaults: { - keyboard: true, - bgclose: true, - minScrollHeight: 150, - center: false, - modal: true - }, - - scrollable: false, - transition: false, - - init: function() { - - if (!body) body = UI.$('body'); - - if (!this.element.length) return; - - var $this = this; - - this.paddingdir = "padding-" + (UI.langdirection == 'left' ? "right":"left"); - this.dialog = this.find(".uk-modal-dialog"); - - this.active = false; - - // Update ARIA - this.element.attr('aria-hidden', this.element.hasClass("uk-open")); - - this.on("click", ".uk-modal-close", function(e) { - e.preventDefault(); - $this.hide(); - }).on("click", function(e) { - - var target = UI.$(e.target); - - if (target[0] == $this.element[0] && $this.options.bgclose) { - $this.hide(); - } - }); - }, - - toggle: function() { - return this[this.isActive() ? "hide" : "show"](); - }, - - show: function() { - - if (!this.element.length) return; - - var $this = this; - - if (this.isActive()) return; - - if (this.options.modal && active) { - active.hide(true); - } - - this.element.removeClass("uk-open").show(); - this.resize(); - - if (this.options.modal) { - active = this; - } - - this.active = true; - - activeCount++; - - this.element.addClass("uk-open"); - - $html.addClass("uk-modal-page").height(); // force browser engine redraw - - // Update ARIA - this.element.attr('aria-hidden', 'false'); - - this.element.trigger("show.uk.modal"); - - UI.Utils.checkDisplay(this.dialog, true); - - return this; - }, - - hide: function(force) { - - if (!force && UI.support.transition) { - - var $this = this; - - this.one(UI.support.transition.end, function() { - $this._hide(); - }).removeClass("uk-open"); - - } else { - - this._hide(); - } - - return this; - }, - - resize: function() { - - var bodywidth = body.width(); - - this.scrollbarwidth = window.innerWidth - bodywidth; - - body.css(this.paddingdir, this.scrollbarwidth); - - this.element.css('overflow-y', this.scrollbarwidth ? 'scroll' : 'auto'); - - if (!this.updateScrollable() && this.options.center) { - - var dh = this.dialog.outerHeight(), - pad = parseInt(this.dialog.css('margin-top'), 10) + parseInt(this.dialog.css('margin-bottom'), 10); - - if ((dh + pad) < window.innerHeight) { - this.dialog.css({'top': (window.innerHeight/2 - dh/2) - pad }); - } else { - this.dialog.css({'top': ''}); - } - } - }, - - updateScrollable: function() { - - // has scrollable? - var scrollable = this.dialog.find('.uk-overflow-container:visible:first'); - - if (scrollable.length) { - - scrollable.css("height", 0); - - var offset = Math.abs(parseInt(this.dialog.css("margin-top"), 10)), - dh = this.dialog.outerHeight(), - wh = window.innerHeight, - h = wh - 2*(offset < 20 ? 20:offset) - dh; - - scrollable.css("height", h < this.options.minScrollHeight ? "":h); - - return true; - } - - return false; - }, - - _hide: function() { - - this.active = false; - activeCount--; - - this.element.hide().removeClass("uk-open"); - - // Update ARIA - this.element.attr('aria-hidden', 'true'); - - if (!activeCount) { - $html.removeClass("uk-modal-page"); - body.css(this.paddingdir, ""); - } - - if(active===this) active = false; - - this.trigger("hide.uk.modal"); - }, - - isActive: function() { - return this.active; - } - - }); - - UI.component('modalTrigger', { - - boot: function() { - - // init code - UI.$html.on("click.modal.uikit", "[data-uk-modal]", function(e) { - - var ele = UI.$(this); - - if (ele.is("a")) { - e.preventDefault(); - } - - if (!ele.data("modalTrigger")) { - var modal = UI.modalTrigger(ele, UI.Utils.options(ele.attr("data-uk-modal"))); - modal.show(); - } - - }); - - // close modal on esc button - UI.$html.on('keydown.modal.uikit', function (e) { - - if (active && e.keyCode === 27 && active.options.keyboard) { // ESC - e.preventDefault(); - active.hide(); - } - }); - - UI.$win.on("resize orientationchange", UI.Utils.debounce(function(){ - if (active) active.resize(); - }, 150)); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.modal = UI.modal(this.options.target, this.options); - - this.on("click", function(e) { - e.preventDefault(); - $this.show(); - }); - - //methods - this.proxy(this.modal, "show hide isActive"); - } - }); - - UI.modal.dialog = function(content, options) { - - var modal = UI.modal(UI.$(UI.modal.dialog.template).appendTo("body"), options); - - modal.on("hide.uk.modal", function(){ - if (modal.persist) { - modal.persist.appendTo(modal.persist.data("modalPersistParent")); - modal.persist = false; - } - modal.element.remove(); - }); - - setContent(content, modal); - - return modal; - }; - - UI.modal.dialog.template = '<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>'; - - UI.modal.alert = function(content, options) { - - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+options.labels.Ok+'</button></div>' - ]).join(""), options); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.confirm = function(content, onconfirm, options) { - - onconfirm = UI.$.isFunction(onconfirm) ? onconfirm : function(){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options); - - modal.element.find(".js-modal-confirm").on("click", function(){ - onconfirm(); - modal.hide(); - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.prompt = function(text, value, onsubmit, options) { - - onsubmit = UI.$.isFunction(onsubmit) ? onsubmit : function(value){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - text ? '<div class="uk-modal-content uk-form">'+String(text)+'</div>':'', - '<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options), - - input = modal.element.find("input[type='text']").val(value || '').on('keyup', function(e){ - if (e.keyCode == 13) { - modal.element.find(".js-modal-ok").trigger('click'); - } - }); - - modal.element.find(".js-modal-ok").on("click", function(){ - if (onsubmit(input.val())!==false){ - modal.hide(); - } - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - input.focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.blockUI = function(content, options) { - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content || '<div class="uk-text-center">...</div>')+'</div>' - ]).join(""), UI.$.extend({bgclose:false, keyboard:false, modal:false}, options)); - - modal.content = modal.element.find('.uk-modal-content:first'); - modal.show(); - - return modal; - }; - - - UI.modal.labels = { - 'Ok': 'Ok', - 'Cancel': 'Cancel' - }; - - - // helper functions - function setContent(content, modal){ - - if(!modal) return; - - if (typeof content === 'object') { - - // convert DOM object to a jQuery object - content = content instanceof jQuery ? content : UI.$(content); - - if(content.parent().length) { - modal.persist = content; - modal.persist.data("modalPersistParent", content.parent()); - } - }else if (typeof content === 'string' || typeof content === 'number') { - // just insert the data as innerHTML - content = UI.$('<div></div>').html(content); - }else { - // unsupported data type! - content = UI.$('<div></div>').html('UIkit.modal Error: Unsupported data type: ' + typeof content); - } - - content.appendTo(modal.element.find('.uk-modal-dialog')); - - return modal; - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/modal.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/modal.min.js deleted file mode 100644 index 92429536c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/modal.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";function i(i,o){return o?("object"==typeof i?(i=i instanceof jQuery?i:t.$(i),i.parent().length&&(o.persist=i,o.persist.data("modalPersistParent",i.parent()))):i="string"==typeof i||"number"==typeof i?t.$("<div></div>").html(i):t.$("<div></div>").html("UIkit.modal Error: Unsupported data type: "+typeof i),i.appendTo(o.element.find(".uk-modal-dialog")),o):void 0}var o,e=!1,n=0,s=t.$html;t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,init:function(){if(o||(o=t.$("body")),this.element.length){var i=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),i.hide()}).on("click",function(o){var e=t.$(o.target);e[0]==i.element[0]&&i.options.bgclose&&i.hide()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){if(!this.isActive())return this.options.modal&&e&&e.hide(!0),this.element.removeClass("uk-open").show(),this.resize(),this.options.modal&&(e=this),this.active=!0,n++,this.element.addClass("uk-open"),s.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(i){if(!i&&t.support.transition){var o=this;this.one(t.support.transition.end,function(){o._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(){var t=o.width();if(this.scrollbarwidth=window.innerWidth-t,o.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var i=this.dialog.outerHeight(),e=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);i+e<window.innerHeight?this.dialog.css({top:window.innerHeight/2-i/2-e}):this.dialog.css({top:""})}},updateScrollable:function(){var t=this.dialog.find(".uk-overflow-container:visible:first");if(t.length){t.css("height",0);var i=Math.abs(parseInt(this.dialog.css("margin-top"),10)),o=this.dialog.outerHeight(),e=window.innerHeight,n=e-2*(20>i?20:i)-o;return t.css("height",n<this.options.minScrollHeight?"":n),!0}return!1},_hide:function(){this.active=!1,n--,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),n||(s.removeClass("uk-modal-page"),o.css(this.paddingdir,"")),e===this&&(e=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.active}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(i){var o=t.$(this);if(o.is("a")&&i.preventDefault(),!o.data("modalTrigger")){var e=t.modalTrigger(o,t.Utils.options(o.attr("data-uk-modal")));e.show()}}),t.$html.on("keydown.modal.uikit",function(t){e&&27===t.keyCode&&e.options.keyboard&&(t.preventDefault(),e.hide())}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){e&&e.resize()},150))},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),i.show()}),this.proxy(this.modal,"show hide isActive")}}),t.modal.dialog=function(o,e){var n=t.modal(t.$(t.modal.dialog.template).appendTo("body"),e);return n.on("hide.uk.modal",function(){n.persist&&(n.persist.appendTo(n.persist.data("modalPersistParent")),n.persist=!1),n.element.remove()}),i(o,n),n},t.modal.dialog.template='<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>',t.modal.alert=function(i,o){o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},o);var e=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+o.labels.Ok+"</button></div>"].join(""),o);e.on("show.uk.modal",function(){setTimeout(function(){e.element.find("button:first").focus()},50)}),e.show()},t.modal.confirm=function(i,o,e){o=t.$.isFunction(o)?o:function(){},e=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},e);var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+e.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+e.labels.Cancel+"</button></div>"].join(""),e);n.element.find(".js-modal-confirm").on("click",function(){o(),n.hide()}),n.on("show.uk.modal",function(){setTimeout(function(){n.element.find("button:first").focus()},50)}),n.show()},t.modal.prompt=function(i,o,e,n){e=t.$.isFunction(e)?e:function(){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},n);var s=t.modal.dialog([i?'<div class="uk-modal-content uk-form">'+String(i)+"</div>":"",'<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>','<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+n.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+n.labels.Cancel+"</button></div>"].join(""),n),a=s.element.find("input[type='text']").val(o||"").on("keyup",function(t){13==t.keyCode&&s.element.find(".js-modal-ok").trigger("click")});s.element.find(".js-modal-ok").on("click",function(){e(a.val())!==!1&&s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){a.focus()},50)}),s.show()},t.modal.blockUI=function(i,o){var e=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i||'<div class="uk-text-center">...</div>')+"</div>"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},o));return e.content=e.element.find(".uk-modal-content:first"),e.show(),e},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/nav.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/nav.js deleted file mode 100644 index 020a2331a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/nav.js +++ /dev/null @@ -1,136 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('nav', { - - defaults: { - "toggle": ">li.uk-parent > a[href='#']", - "lists": ">li.uk-parent > ul", - "multiple": false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-nav]", context).each(function() { - var nav = UI.$(this); - - if (!nav.data("nav")) { - var obj = UI.nav(nav, UI.Utils.options(nav.attr("data-uk-nav"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.nav", this.options.toggle, function(e) { - e.preventDefault(); - var ele = UI.$(this); - $this.open(ele.parent()[0] == $this.element[0] ? ele : ele.parent("li")); - }); - - this.find(this.options.lists).each(function() { - var $ele = UI.$(this), - parent = $ele.parent(), - active = parent.hasClass("uk-active"); - - $ele.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'); - parent.data("list-container", $ele.parent()[active ? 'removeClass':'addClass']('uk-hidden')); - - // Init ARIA - parent.attr('aria-expanded', parent.hasClass("uk-open")); - - if (active) $this.open(parent, true); - }); - - }, - - open: function(li, noanimation) { - - var $this = this, element = this.element, $li = UI.$(li), $container = $li.data('list-container'); - - if (!this.options.multiple) { - - element.children('.uk-open').not(li).each(function() { - - var ele = UI.$(this); - - if (ele.data('list-container')) { - ele.data('list-container').stop().animate({height: 0}, function() { - UI.$(this).parent().removeClass('uk-open').end().addClass('uk-hidden'); - }); - } - }); - } - - $li.toggleClass('uk-open'); - - // Update ARIA - $li.attr('aria-expanded', $li.hasClass('uk-open')); - - if ($container) { - - if ($li.hasClass('uk-open')) { - $container.removeClass('uk-hidden'); - } - - if (noanimation) { - - $container.stop().height($li.hasClass('uk-open') ? 'auto' : 0); - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } - - this.trigger('display.uk.check'); - - } else { - - $container.stop().animate({ - height: ($li.hasClass('uk-open') ? getHeight($container.find('ul:first')) : 0) - }, function() { - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } else { - $container.css('height', ''); - } - - $this.trigger('display.uk.check'); - }); - } - } - } - }); - - - // helper - - function getHeight(ele) { - var $ele = UI.$(ele), height = "auto"; - - if ($ele.is(":visible")) { - height = $ele.outerHeight(); - } else { - var tmp = { - position: $ele.css("position"), - visibility: $ele.css("visibility"), - display: $ele.css("display") - }; - - height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); - - $ele.css(tmp); // reset element - } - - return height; - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/nav.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/nav.min.js deleted file mode 100644 index e5dfc8885..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/nav.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){"use strict";function t(t){var s=i.$(t),a="auto";if(s.is(":visible"))a=s.outerHeight();else{var e={position:s.css("position"),visibility:s.css("visibility"),display:s.css("display")};a=s.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),s.css(e)}return a}i.component("nav",{defaults:{toggle:">li.uk-parent > a[href='#']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){i.ready(function(t){i.$("[data-uk-nav]",t).each(function(){var t=i.$(this);if(!t.data("nav")){i.nav(t,i.Utils.options(t.attr("data-uk-nav")))}})})},init:function(){var t=this;this.on("click.uikit.nav",this.options.toggle,function(s){s.preventDefault();var a=i.$(this);t.open(a.parent()[0]==t.element[0]?a:a.parent("li"))}),this.find(this.options.lists).each(function(){var s=i.$(this),a=s.parent(),e=a.hasClass("uk-active");s.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'),a.data("list-container",s.parent()[e?"removeClass":"addClass"]("uk-hidden")),a.attr("aria-expanded",a.hasClass("uk-open")),e&&t.open(a,!0)})},open:function(s,a){var e=this,n=this.element,o=i.$(s),l=o.data("list-container");this.options.multiple||n.children(".uk-open").not(s).each(function(){var t=i.$(this);t.data("list-container")&&t.data("list-container").stop().animate({height:0},function(){i.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),o.toggleClass("uk-open"),o.attr("aria-expanded",o.hasClass("uk-open")),l&&(o.hasClass("uk-open")&&l.removeClass("uk-hidden"),a?(l.stop().height(o.hasClass("uk-open")?"auto":0),o.hasClass("uk-open")||l.addClass("uk-hidden"),this.trigger("display.uk.check")):l.stop().animate({height:o.hasClass("uk-open")?t(l.find("ul:first")):0},function(){o.hasClass("uk-open")?l.css("height",""):l.addClass("uk-hidden"),e.trigger("display.uk.check")}))}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/offcanvas.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/offcanvas.js deleted file mode 100644 index 68de1979e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/offcanvas.js +++ /dev/null @@ -1,178 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var scrollpos = {x: window.scrollX, y: window.scrollY}, - $win = UI.$win, - $doc = UI.$doc, - $html = UI.$html, - Offcanvas = { - - show: function(element) { - - element = UI.$(element); - - if (!element.length) return; - - var $body = UI.$('body'), - bar = element.find(".uk-offcanvas-bar:first"), - rtl = (UI.langdirection == "right"), - flip = bar.hasClass("uk-offcanvas-bar-flip") ? -1:1, - dir = flip * (rtl ? -1 : 1); - - scrollpos = {x: window.pageXOffset, y: window.pageYOffset}; - - element.addClass("uk-active"); - - $body.css({"width": window.innerWidth, "height": window.innerHeight}).addClass("uk-offcanvas-page"); - $body.css((rtl ? "margin-right" : "margin-left"), (rtl ? -1 : 1) * (bar.outerWidth() * dir)).width(); // .width() - force redraw - - $html.css('margin-top', scrollpos.y * -1); - - bar.addClass("uk-offcanvas-bar-show"); - - this._initElement(element); - - bar.trigger('show.uk.offcanvas', [element, bar]); - - // Update ARIA - element.attr('aria-hidden', 'false'); - }, - - hide: function(force) { - - var $body = UI.$('body'), - panel = UI.$(".uk-offcanvas.uk-active"), - rtl = (UI.langdirection == "right"), - bar = panel.find(".uk-offcanvas-bar:first"), - finalize = function() { - $body.removeClass("uk-offcanvas-page").css({"width": "", "height": "", "margin-left": "", "margin-right": ""}); - panel.removeClass("uk-active"); - - bar.removeClass("uk-offcanvas-bar-show"); - $html.css('margin-top', ''); - window.scrollTo(scrollpos.x, scrollpos.y); - bar.trigger('hide.uk.offcanvas', [panel, bar]); - - // Update ARIA - panel.attr('aria-hidden', 'true'); - }; - - if (!panel.length) return; - - if (UI.support.transition && !force) { - - $body.one(UI.support.transition.end, function() { - finalize(); - }).css((rtl ? "margin-right" : "margin-left"), ""); - - setTimeout(function(){ - bar.removeClass("uk-offcanvas-bar-show"); - }, 0); - - } else { - finalize(); - } - }, - - _initElement: function(element) { - - if (element.data("OffcanvasInit")) return; - - element.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas", function(e) { - - var target = UI.$(e.target); - - if (!e.type.match(/swipe/)) { - - if (!target.hasClass("uk-offcanvas-close")) { - if (target.hasClass("uk-offcanvas-bar")) return; - if (target.parents(".uk-offcanvas-bar:first").length) return; - } - } - - e.stopImmediatePropagation(); - Offcanvas.hide(); - }); - - element.on("click", "a[href^='#']", function(e){ - - var link = UI.$(this), - href = link.attr("href"); - - if (href == "#") { - return; - } - - UI.$doc.one('hide.uk.offcanvas', function() { - - var target; - - try { - target = UI.$(href); - } catch (e){ - target = "" - } - - if (!target.length) { - target = UI.$('[name="'+href.replace('#','')+'"]'); - } - - if (target.length && link.attr('data-uk-smooth-scroll') && UI.Utils.scrollToElement) { - UI.Utils.scrollToElement(target, UI.Utils.options(link.attr('data-uk-smooth-scroll') || '{}')); - } else { - window.location.href = href; - } - }); - - Offcanvas.hide(); - }); - - element.data("OffcanvasInit", true); - } - }; - - UI.component('offcanvasTrigger', { - - boot: function() { - - // init code - $html.on("click.offcanvas.uikit", "[data-uk-offcanvas]", function(e) { - - e.preventDefault(); - - var ele = UI.$(this); - - if (!ele.data("offcanvasTrigger")) { - var obj = UI.offcanvasTrigger(ele, UI.Utils.options(ele.attr("data-uk-offcanvas"))); - ele.trigger("click"); - } - }); - - $html.on('keydown.uk.offcanvas', function(e) { - - if (e.keyCode === 27) { // ESC - Offcanvas.hide(); - } - }); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.on("click", function(e) { - e.preventDefault(); - Offcanvas.show($this.options.target); - }); - } - }); - - UI.offcanvas = Offcanvas; - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/offcanvas.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/offcanvas.min.js deleted file mode 100644 index 480906eb0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/offcanvas.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(a){"use strict";var t={x:window.scrollX,y:window.scrollY},n=(a.$win,a.$doc,a.$html),i={show:function(i){if(i=a.$(i),i.length){var o=a.$("body"),s=i.find(".uk-offcanvas-bar:first"),e="right"==a.langdirection,f=s.hasClass("uk-offcanvas-bar-flip")?-1:1,r=f*(e?-1:1);t={x:window.pageXOffset,y:window.pageYOffset},i.addClass("uk-active"),o.css({width:window.innerWidth,height:window.innerHeight}).addClass("uk-offcanvas-page"),o.css(e?"margin-right":"margin-left",(e?-1:1)*s.outerWidth()*r).width(),n.css("margin-top",-1*t.y),s.addClass("uk-offcanvas-bar-show"),this._initElement(i),s.trigger("show.uk.offcanvas",[i,s]),i.attr("aria-hidden","false")}},hide:function(i){var o=a.$("body"),s=a.$(".uk-offcanvas.uk-active"),e="right"==a.langdirection,f=s.find(".uk-offcanvas-bar:first"),r=function(){o.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),s.removeClass("uk-active"),f.removeClass("uk-offcanvas-bar-show"),n.css("margin-top",""),window.scrollTo(t.x,t.y),f.trigger("hide.uk.offcanvas",[s,f]),s.attr("aria-hidden","true")};s.length&&(a.support.transition&&!i?(o.one(a.support.transition.end,function(){r()}).css(e?"margin-right":"margin-left",""),setTimeout(function(){f.removeClass("uk-offcanvas-bar-show")},0)):r())},_initElement:function(t){t.data("OffcanvasInit")||(t.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(t){var n=a.$(t.target);if(!t.type.match(/swipe/)&&!n.hasClass("uk-offcanvas-close")){if(n.hasClass("uk-offcanvas-bar"))return;if(n.parents(".uk-offcanvas-bar:first").length)return}t.stopImmediatePropagation(),i.hide()}),t.on("click","a[href^='#']",function(){var t=a.$(this),n=t.attr("href");"#"!=n&&(a.$doc.one("hide.uk.offcanvas",function(){var i;try{i=a.$(n)}catch(o){i=""}i.length||(i=a.$('[name="'+n.replace("#","")+'"]')),i.length&&t.attr("data-uk-smooth-scroll")&&a.Utils.scrollToElement?a.Utils.scrollToElement(i,a.Utils.options(t.attr("data-uk-smooth-scroll")||"{}")):window.location.href=n}),i.hide())}),t.data("OffcanvasInit",!0))}};a.component("offcanvasTrigger",{boot:function(){n.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(t){t.preventDefault();var n=a.$(this);if(!n.data("offcanvasTrigger")){{a.offcanvasTrigger(n,a.Utils.options(n.attr("data-uk-offcanvas")))}n.trigger("click")}}),n.on("keydown.uk.offcanvas",function(a){27===a.keyCode&&i.hide()})},init:function(){var t=this;this.options=a.$.extend({target:t.element.is("a")?t.element.attr("href"):!1},this.options),this.on("click",function(a){a.preventDefault(),i.show(t.options.target)})}}),a.offcanvas=i}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/scrollspy.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/scrollspy.js deleted file mode 100644 index 9b8349ed1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/scrollspy.js +++ /dev/null @@ -1,208 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var $win = UI.$win, - $doc = UI.$doc, - scrollspies = [], - checkScrollSpy = function() { - for(var i=0; i < scrollspies.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspies[i].check]); - } - }; - - UI.component('scrollspy', { - - defaults: { - "target" : false, - "cls" : "uk-scrollspy-inview", - "initcls" : "uk-scrollspy-init-inview", - "topoffset" : 0, - "leftoffset" : 0, - "repeat" : false, - "delay" : 0 - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpy); - $win.on("load resize orientationchange", UI.Utils.debounce(checkScrollSpy, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspy")) { - var obj = UI.scrollspy(element, UI.Utils.options(element.attr("data-uk-scrollspy"))); - } - }); - }); - }, - - init: function() { - - var $this = this, inviewstate, initinview, togglecls = this.options.cls.split(/,/), fn = function(){ - - var elements = $this.options.target ? $this.element.find($this.options.target) : $this.element, - delayIdx = elements.length === 1 ? 1 : 0, - toggleclsIdx = 0; - - elements.each(function(idx){ - - var element = UI.$(this), - inviewstate = element.data('inviewstate'), - inview = UI.Utils.isInView(element, $this.options), - toggle = element.data('ukScrollspyCls') || togglecls[toggleclsIdx].trim(); - - if (inview && !inviewstate && !element.data('scrollspy-idle')) { - - if (!initinview) { - element.addClass($this.options.initcls); - $this.offset = element.offset(); - initinview = true; - - element.trigger("init.uk.scrollspy"); - } - - element.data('scrollspy-idle', setTimeout(function(){ - - element.addClass("uk-scrollspy-inview").toggleClass(toggle).width(); - element.trigger("inview.uk.scrollspy"); - - element.data('scrollspy-idle', false); - element.data('inviewstate', true); - - }, $this.options.delay * delayIdx)); - - delayIdx++; - } - - if (!inview && inviewstate && $this.options.repeat) { - - if (element.data('scrollspy-idle')) { - clearTimeout(element.data('scrollspy-idle')); - } - - element.removeClass("uk-scrollspy-inview").toggleClass(toggle); - element.data('inviewstate', false); - - element.trigger("outview.uk.scrollspy"); - } - - toggleclsIdx = togglecls[toggleclsIdx + 1] ? (toggleclsIdx + 1) : 0; - - }); - }; - - fn(); - - this.check = fn; - - scrollspies.push(this); - } - }); - - - var scrollspynavs = [], - checkScrollSpyNavs = function() { - for(var i=0; i < scrollspynavs.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspynavs[i].check]); - } - }; - - UI.component('scrollspynav', { - - defaults: { - "cls" : 'uk-active', - "closest" : false, - "topoffset" : 0, - "leftoffset" : 0, - "smoothscroll" : false - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpyNavs); - $win.on("resize orientationchange", UI.Utils.debounce(checkScrollSpyNavs, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy-nav]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspynav")) { - var obj = UI.scrollspynav(element, UI.Utils.options(element.attr("data-uk-scrollspy-nav"))); - } - }); - }); - }, - - init: function() { - - var ids = [], - links = this.find("a[href^='#']").each(function(){ ids.push(UI.$(this).attr("href")); }), - targets = UI.$(ids.join(",")), - - clsActive = this.options.cls, - clsClosest = this.options.closest || this.options.closest; - - var $this = this, inviews, fn = function(){ - - inviews = []; - - for (var i=0 ; i < targets.length ; i++) { - if (UI.Utils.isInView(targets.eq(i), $this.options)) { - inviews.push(targets.eq(i)); - } - } - - if (inviews.length) { - - var navitems, - scrollTop = $win.scrollTop(), - target = (function(){ - for(var i=0; i< inviews.length;i++){ - if(inviews[i].offset().top >= scrollTop){ - return inviews[i]; - } - } - })(); - - if (!target) return; - - if ($this.options.closest) { - links.closest(clsClosest).removeClass(clsActive); - navitems = links.filter("a[href='#"+target.attr("id")+"']").closest(clsClosest).addClass(clsActive); - } else { - navitems = links.removeClass(clsActive).filter("a[href='#"+target.attr("id")+"']").addClass(clsActive); - } - - $this.element.trigger("inview.uk.scrollspynav", [target, navitems]); - } - }; - - if (this.options.smoothscroll && UI.smoothScroll) { - links.each(function(){ - UI.smoothScroll(this, $this.options.smoothscroll); - }); - } - - fn(); - - this.element.data("scrollspynav", this); - - this.check = fn; - scrollspynavs.push(this); - - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/scrollspy.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/scrollspy.min.js deleted file mode 100644 index ade68908d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/scrollspy.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var s=t.$win,o=t.$doc,i=[],e=function(){for(var t=0;t<i.length;t++)window.requestAnimationFrame.apply(window,[i[t].check])};t.component("scrollspy",{defaults:{target:!1,cls:"uk-scrollspy-inview",initcls:"uk-scrollspy-init-inview",topoffset:0,leftoffset:0,repeat:!1,delay:0},boot:function(){o.on("scrolling.uk.document",e),s.on("load resize orientationchange",t.Utils.debounce(e,50)),t.ready(function(s){t.$("[data-uk-scrollspy]",s).each(function(){var s=t.$(this);if(!s.data("scrollspy")){t.scrollspy(s,t.Utils.options(s.attr("data-uk-scrollspy")))}})})},init:function(){var s,o=this,e=this.options.cls.split(/,/),l=function(){var i=o.options.target?o.element.find(o.options.target):o.element,l=1===i.length?1:0,n=0;i.each(function(){var i=t.$(this),a=i.data("inviewstate"),r=t.Utils.isInView(i,o.options),c=i.data("ukScrollspyCls")||e[n].trim();!r||a||i.data("scrollspy-idle")||(s||(i.addClass(o.options.initcls),o.offset=i.offset(),s=!0,i.trigger("init.uk.scrollspy")),i.data("scrollspy-idle",setTimeout(function(){i.addClass("uk-scrollspy-inview").toggleClass(c).width(),i.trigger("inview.uk.scrollspy"),i.data("scrollspy-idle",!1),i.data("inviewstate",!0)},o.options.delay*l)),l++),!r&&a&&o.options.repeat&&(i.data("scrollspy-idle")&&clearTimeout(i.data("scrollspy-idle")),i.removeClass("uk-scrollspy-inview").toggleClass(c),i.data("inviewstate",!1),i.trigger("outview.uk.scrollspy")),n=e[n+1]?n+1:0})};l(),this.check=l,i.push(this)}});var l=[],n=function(){for(var t=0;t<l.length;t++)window.requestAnimationFrame.apply(window,[l[t].check])};t.component("scrollspynav",{defaults:{cls:"uk-active",closest:!1,topoffset:0,leftoffset:0,smoothscroll:!1},boot:function(){o.on("scrolling.uk.document",n),s.on("resize orientationchange",t.Utils.debounce(n,50)),t.ready(function(s){t.$("[data-uk-scrollspy-nav]",s).each(function(){var s=t.$(this);if(!s.data("scrollspynav")){t.scrollspynav(s,t.Utils.options(s.attr("data-uk-scrollspy-nav")))}})})},init:function(){var o,i=[],e=this.find("a[href^='#']").each(function(){i.push(t.$(this).attr("href"))}),n=t.$(i.join(",")),a=this.options.cls,r=this.options.closest||this.options.closest,c=this,p=function(){o=[];for(var i=0;i<n.length;i++)t.Utils.isInView(n.eq(i),c.options)&&o.push(n.eq(i));if(o.length){var l,p=s.scrollTop(),f=function(){for(var t=0;t<o.length;t++)if(o[t].offset().top>=p)return o[t]}();if(!f)return;c.options.closest?(e.closest(r).removeClass(a),l=e.filter("a[href='#"+f.attr("id")+"']").closest(r).addClass(a)):l=e.removeClass(a).filter("a[href='#"+f.attr("id")+"']").addClass(a),c.element.trigger("inview.uk.scrollspynav",[f,l])}};this.options.smoothscroll&&t.smoothScroll&&e.each(function(){t.smoothScroll(this,c.options.smoothscroll)}),p(),this.element.data("scrollspynav",this),this.check=p,l.push(this)}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/smooth-scroll.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/smooth-scroll.js deleted file mode 100644 index a7ebce0e7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/smooth-scroll.js +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('smoothScroll', { - - boot: function() { - - // init code - UI.$html.on("click.smooth-scroll.uikit", "[data-uk-smooth-scroll]", function(e) { - var ele = UI.$(this); - - if (!ele.data("smoothScroll")) { - var obj = UI.smoothScroll(ele, UI.Utils.options(ele.attr("data-uk-smooth-scroll"))); - ele.trigger("click"); - } - - return false; - }); - }, - - init: function() { - - var $this = this; - - this.on("click", function(e) { - e.preventDefault(); - scrollToElement(UI.$(this.hash).length ? UI.$(this.hash) : UI.$("body"), $this.options); - }); - } - }); - - function scrollToElement(ele, options) { - - options = UI.$.extend({ - duration: 1000, - transition: 'easeOutExpo', - offset: 0, - complete: function(){} - }, options); - - // get / set parameters - var target = ele.offset().top - options.offset, - docheight = UI.$doc.height(), - winheight = window.innerHeight; - - if ((target + winheight) > docheight) { - target = docheight - winheight; - } - - // animate to target, fire callback when done - UI.$("html,body").stop().animate({scrollTop: target}, options.duration, options.transition).promise().done(options.complete); - } - - UI.Utils.scrollToElement = scrollToElement; - - if (!UI.$.easing.easeOutExpo) { - UI.$.easing.easeOutExpo = function(x, t, b, c, d) { return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/smooth-scroll.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/smooth-scroll.min.js deleted file mode 100644 index 0c09be5d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/smooth-scroll.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";function o(o,i){i=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},i);var n=o.offset().top-i.offset,s=t.$doc.height(),e=window.innerHeight;n+e>s&&(n=s-e),t.$("html,body").stop().animate({scrollTop:n},i.duration,i.transition).promise().done(i.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(){var o=t.$(this);if(!o.data("smoothScroll")){{t.smoothScroll(o,t.Utils.options(o.attr("data-uk-smooth-scroll")))}o.trigger("click")}return!1})},init:function(){var i=this;this.on("click",function(n){n.preventDefault(),o(t.$(this.hash).length?t.$(this.hash):t.$("body"),i.options)})}}),t.Utils.scrollToElement=o,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,o,i,n,s){return o==s?i+n:n*(-Math.pow(2,-10*o/s)+1)+i})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/switcher.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/switcher.js deleted file mode 100644 index 4d4cfcbbd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/switcher.js +++ /dev/null @@ -1,298 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var Animations; - - UI.component('switcher', { - - defaults: { - connect : false, - toggle : ">*", - active : 0, - animation : false, - duration : 200 - }, - - animating: false, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-switcher]", context).each(function() { - var switcher = UI.$(this); - - if (!switcher.data("switcher")) { - var obj = UI.switcher(switcher, UI.Utils.options(switcher.attr("data-uk-switcher"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.switcher", this.options.toggle, function(e) { - e.preventDefault(); - $this.show(this); - }); - - if (this.options.connect) { - - this.connect = UI.$(this.options.connect); - - this.connect.find(".uk-active").removeClass(".uk-active"); - - // delegate switch commands within container content - if (this.connect.length) { - - // Init ARIA for connect - this.connect.children().attr('aria-hidden', 'true'); - - this.connect.on("click", '[data-uk-switcher-item]', function(e) { - - e.preventDefault(); - - var item = UI.$(this).attr('data-uk-switcher-item'); - - if ($this.index == item) return; - - switch(item) { - case 'next': - case 'previous': - $this.show($this.index + (item=='next' ? 1:-1)); - break; - default: - $this.show(parseInt(item, 10)); - } - }).on('swipeRight swipeLeft', function(e) { - e.preventDefault(); - if(!window.getSelection().toString()) { - $this.show($this.index + (e.type == 'swipeLeft' ? 1 : -1)); - } - }); - } - - var toggles = this.find(this.options.toggle), - active = toggles.filter(".uk-active"); - - if (active.length) { - this.show(active, false); - } else { - - if (this.options.active===false) return; - - active = toggles.eq(this.options.active); - this.show(active.length ? active : toggles.eq(0), false); - } - - // Init ARIA for toggles - toggles.not(active).attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - this.on('changed.uk.dom', function() { - $this.connect = UI.$($this.options.connect); - }); - } - - }, - - show: function(tab, animate) { - - if (this.animating) { - return; - } - - if (isNaN(tab)) { - tab = UI.$(tab); - } else { - - var toggles = this.find(this.options.toggle); - - tab = tab < 0 ? toggles.length-1 : tab; - tab = toggles.eq(toggles[tab] ? tab : 0); - } - - var $this = this, - toggles = this.find(this.options.toggle), - active = UI.$(tab), - animation = Animations[this.options.animation] || function(current, next) { - - if (!$this.options.animation) { - return Animations.none.apply($this); - } - - var anim = $this.options.animation.split(','); - - if (anim.length == 1) { - anim[1] = anim[0]; - } - - anim[0] = anim[0].trim(); - anim[1] = anim[1].trim(); - - return coreAnimation.apply($this, [anim, current, next]); - }; - - if (animate===false || !UI.support.animation) { - animation = Animations.none; - } - - if (active.hasClass("uk-disabled")) return; - - // Update ARIA for Toggles - toggles.attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - toggles.filter(".uk-active").removeClass("uk-active"); - active.addClass("uk-active"); - - if (this.options.connect && this.connect.length) { - - this.index = this.find(this.options.toggle).index(active); - - if (this.index == -1 ) { - this.index = 0; - } - - this.connect.each(function() { - - var container = UI.$(this), - children = UI.$(container.children()), - current = UI.$(children.filter('.uk-active')), - next = UI.$(children.eq($this.index)); - - $this.animating = true; - - animation.apply($this, [current, next]).then(function(){ - - current.removeClass("uk-active"); - next.addClass("uk-active"); - - // Update ARIA for connect - current.attr('aria-hidden', 'true'); - next.attr('aria-hidden', 'false'); - - UI.Utils.checkDisplay(next, true); - - $this.animating = false; - }); - }); - } - - this.trigger("show.uk.switcher", [active]); - } - }); - - Animations = { - - 'none': function() { - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'fade': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-fade', current, next]); - }, - - 'slide-bottom': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); - }, - - 'slide-top': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); - }, - - 'slide-vertical': function(current, next, dir) { - - var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'slide-left': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-left', current, next]); - }, - - 'slide-right': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-right', current, next]); - }, - - 'slide-horizontal': function(current, next, dir) { - - var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'scale': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); - } - }; - - UI.switcher.animations = Animations; - - - // helpers - - function coreAnimation(cls, current, next) { - - var d = UI.$.Deferred(), clsIn = cls, clsOut = cls, release; - - if (next[0]===current[0]) { - d.resolve(); - return d.promise(); - } - - if (typeof(cls) == 'object') { - clsIn = cls[0]; - clsOut = cls[1] || cls[0]; - } - - release = function() { - - if (current) current.hide().removeClass('uk-active '+clsOut+' uk-animation-reverse'); - - next.addClass(clsIn).one(UI.support.animation.end, function() { - - next.removeClass(''+clsIn+'').css({opacity:'', display:''}); - - d.resolve(); - - if (current) current.css({opacity:'', display:''}); - - }.bind(this)).show(); - }; - - next.css('animation-duration', this.options.duration+'ms'); - - if (current && current.length) { - - current.css('animation-duration', this.options.duration+'ms'); - - current.css('display', 'none').addClass(clsOut+' uk-animation-reverse').one(UI.support.animation.end, function() { - release(); - }.bind(this)).css('display', ''); - - } else { - next.addClass('uk-active'); - release(); - } - - return d.promise(); - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/switcher.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/switcher.min.js deleted file mode 100644 index d06a3a00f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/switcher.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";function i(i,n,e){var a,s=t.$.Deferred(),o=i,r=i;return e[0]===n[0]?(s.resolve(),s.promise()):("object"==typeof i&&(o=i[0],r=i[1]||i[0]),a=function(){n&&n.hide().removeClass("uk-active "+r+" uk-animation-reverse"),e.addClass(o).one(t.support.animation.end,function(){e.removeClass(""+o).css({opacity:"",display:""}),s.resolve(),n&&n.css({opacity:"",display:""})}.bind(this)).show()},e.css("animation-duration",this.options.duration+"ms"),n&&n.length?(n.css("animation-duration",this.options.duration+"ms"),n.css("display","none").addClass(r+" uk-animation-reverse").one(t.support.animation.end,function(){a()}.bind(this)).css("display","")):(e.addClass("uk-active"),a()),s.promise())}var n;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200},animating:!1,boot:function(){t.ready(function(i){t.$("[data-uk-switcher]",i).each(function(){var i=t.$(this);if(!i.data("switcher")){t.switcher(i,t.Utils.options(i.attr("data-uk-switcher")))}})})},init:function(){var i=this;if(this.on("click.uikit.switcher",this.options.toggle,function(t){t.preventDefault(),i.show(this)}),this.options.connect){this.connect=t.$(this.options.connect),this.connect.find(".uk-active").removeClass(".uk-active"),this.connect.length&&(this.connect.children().attr("aria-hidden","true"),this.connect.on("click","[data-uk-switcher-item]",function(n){n.preventDefault();var e=t.$(this).attr("data-uk-switcher-item");if(i.index!=e)switch(e){case"next":case"previous":i.show(i.index+("next"==e?1:-1));break;default:i.show(parseInt(e,10))}}).on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||i.show(i.index+("swipeLeft"==t.type?1:-1))}));var n=this.find(this.options.toggle),e=n.filter(".uk-active");if(e.length)this.show(e,!1);else{if(this.options.active===!1)return;e=n.eq(this.options.active),this.show(e.length?e:n.eq(0),!1)}n.not(e).attr("aria-expanded","false"),e.attr("aria-expanded","true"),this.on("changed.uk.dom",function(){i.connect=t.$(i.options.connect)})}},show:function(e,a){if(!this.animating){if(isNaN(e))e=t.$(e);else{var s=this.find(this.options.toggle);e=0>e?s.length-1:e,e=s.eq(s[e]?e:0)}var o=this,s=this.find(this.options.toggle),r=t.$(e),c=n[this.options.animation]||function(t,e){if(!o.options.animation)return n.none.apply(o);var a=o.options.animation.split(",");return 1==a.length&&(a[1]=a[0]),a[0]=a[0].trim(),a[1]=a[1].trim(),i.apply(o,[a,t,e])};a!==!1&&t.support.animation||(c=n.none),r.hasClass("uk-disabled")||(s.attr("aria-expanded","false"),r.attr("aria-expanded","true"),s.filter(".uk-active").removeClass("uk-active"),r.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(r),-1==this.index&&(this.index=0),this.connect.each(function(){var i=t.$(this),n=t.$(i.children()),e=t.$(n.filter(".uk-active")),a=t.$(n.eq(o.index));o.animating=!0,c.apply(o,[e,a]).then(function(){e.removeClass("uk-active"),a.addClass("uk-active"),e.attr("aria-hidden","true"),a.attr("aria-hidden","false"),t.Utils.checkDisplay(a,!0),o.animating=!1})})),this.trigger("show.uk.switcher",[r]))}}}),n={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,n){return i.apply(this,["uk-animation-fade",t,n])},"slide-bottom":function(t,n){return i.apply(this,["uk-animation-slide-bottom",t,n])},"slide-top":function(t,n){return i.apply(this,["uk-animation-slide-top",t,n])},"slide-vertical":function(t,n){var e=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>n.index()&&e.reverse(),i.apply(this,[e,t,n])},"slide-left":function(t,n){return i.apply(this,["uk-animation-slide-left",t,n])},"slide-right":function(t,n){return i.apply(this,["uk-animation-slide-right",t,n])},"slide-horizontal":function(t,n){var e=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>n.index()&&e.reverse(),i.apply(this,[e,t,n])},scale:function(t,n){return i.apply(this,["uk-animation-scale-up",t,n])}},t.switcher.animations=n}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/tab.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/tab.js deleted file mode 100644 index 6040e7fc5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/tab.js +++ /dev/null @@ -1,165 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('tab', { - - defaults: { - 'target' : '>li:not(.uk-tab-responsive, .uk-disabled)', - 'connect' : false, - 'active' : 0, - 'animation' : false, - 'duration' : 200 - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-tab]", context).each(function() { - - var tab = UI.$(this); - - if (!tab.data("tab")) { - var obj = UI.tab(tab, UI.Utils.options(tab.attr("data-uk-tab"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.current = false; - - this.on("click.uikit.tab", this.options.target, function(e) { - - e.preventDefault(); - - if ($this.switcher && $this.switcher.animating) { - return; - } - - var current = $this.find($this.options.target).not(this); - - current.removeClass("uk-active").blur(); - - $this.trigger("change.uk.tab", [UI.$(this).addClass("uk-active"), $this.current]); - - $this.current = UI.$(this); - - // Update ARIA - if (!$this.options.connect) { - current.attr('aria-expanded', 'false'); - UI.$(this).attr('aria-expanded', 'true'); - } - }); - - if (this.options.connect) { - this.connect = UI.$(this.options.connect); - } - - // init responsive tab - this.responsivetab = UI.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'); - - this.responsivetab.dropdown = this.responsivetab.find('.uk-dropdown'); - this.responsivetab.lst = this.responsivetab.dropdown.find('ul'); - this.responsivetab.caption = this.responsivetab.find('a:first'); - - if (this.element.hasClass("uk-tab-bottom")) this.responsivetab.dropdown.addClass("uk-dropdown-up"); - - // handle click - this.responsivetab.lst.on('click.uikit.tab', 'a', function(e) { - - e.preventDefault(); - e.stopPropagation(); - - var link = UI.$(this); - - $this.element.children('li:not(.uk-tab-responsive)').eq(link.data('index')).trigger('click'); - }); - - this.on('show.uk.switcher change.uk.tab', function(e, tab) { - $this.responsivetab.caption.html(tab.text()); - }); - - this.element.append(this.responsivetab); - - // init UIkit components - if (this.options.connect) { - this.switcher = UI.switcher(this.element, { - "toggle" : ">li:not(.uk-tab-responsive)", - "connect" : this.options.connect, - "active" : this.options.active, - "animation" : this.options.animation, - "duration" : this.options.duration - }); - } - - UI.dropdown(this.responsivetab, {"mode": "click"}); - - // init - $this.trigger("change.uk.tab", [this.element.find(this.options.target).not('.uk-tab-responsive').filter('.uk-active')]); - - this.check(); - - UI.$win.on('resize orientationchange', UI.Utils.debounce(function(){ - if ($this.element.is(":visible")) $this.check(); - }, 100)); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) $this.check(); - }); - }, - - check: function() { - - var children = this.element.children('li:not(.uk-tab-responsive)').removeClass('uk-hidden'); - - if (!children.length) { - this.responsivetab.addClass('uk-hidden'); - return; - } - - var top = (children.eq(0).offset().top + Math.ceil(children.eq(0).height()/2)), - doresponsive = false, - item, link, clone; - - this.responsivetab.lst.empty(); - - children.each(function(){ - - if (UI.$(this).offset().top > top) { - doresponsive = true; - } - }); - - if (doresponsive) { - - for (var i = 0; i < children.length; i++) { - - item = UI.$(children.eq(i)); - link = item.find('a'); - - if (item.css('float') != 'none' && !item.attr('uk-dropdown')) { - - if (!item.hasClass('uk-disabled')) { - - clone = item[0].outerHTML.replace('<a ', '<a data-index="'+i+'" '); - - this.responsivetab.lst.append(clone); - } - - item.addClass('uk-hidden'); - } - } - } - - this.responsivetab[this.responsivetab.lst.children('li').length ? 'removeClass':'addClass']('uk-hidden'); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/tab.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/tab.min.js deleted file mode 100644 index 3447bc664..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/tab.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200},boot:function(){t.ready(function(i){t.$("[data-uk-tab]",i).each(function(){var i=t.$(this);if(!i.data("tab")){t.tab(i,t.Utils.options(i.attr("data-uk-tab")))}})})},init:function(){var i=this;this.current=!1,this.on("click.uikit.tab",this.options.target,function(e){if(e.preventDefault(),!i.switcher||!i.switcher.animating){var s=i.find(i.options.target).not(this);s.removeClass("uk-active").blur(),i.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),i.current]),i.current=t.$(this),i.options.connect||(s.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uikit.tab","a",function(e){e.preventDefault(),e.stopPropagation();var s=t.$(this);i.element.children("li:not(.uk-tab-responsive)").eq(s.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,e){i.responsivetab.caption.html(e.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration})),t.dropdown(this.responsivetab,{mode:"click"}),i.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){i.element.is(":visible")&&i.check()},100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.check()})},check:function(){var i=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!i.length)return this.responsivetab.addClass("uk-hidden"),void 0;var e,s,n,a=i.eq(0).offset().top+Math.ceil(i.eq(0).height()/2),o=!1;if(this.responsivetab.lst.empty(),i.each(function(){t.$(this).offset().top>a&&(o=!0)}),o)for(var r=0;r<i.length;r++)e=t.$(i.eq(r)),s=e.find("a"),"none"==e.css("float")||e.attr("uk-dropdown")||(e.hasClass("uk-disabled")||(n=e[0].outerHTML.replace("<a ",'<a data-index="'+r+'" '),this.responsivetab.lst.append(n)),e.addClass("uk-hidden"));this.responsivetab[this.responsivetab.lst.children("li").length?"removeClass":"addClass"]("uk-hidden")}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/toggle.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/toggle.js deleted file mode 100644 index 29badf02e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/toggle.js +++ /dev/null @@ -1,117 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI){ - - "use strict"; - - var toggles = []; - - UI.component('toggle', { - - defaults: { - target : false, - cls : 'uk-hidden', - animation : false, - duration : 200 - }, - - boot: function(){ - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-toggle]", context).each(function() { - var ele = UI.$(this); - - if (!ele.data("toggle")) { - var obj = UI.toggle(ele, UI.Utils.options(ele.attr("data-uk-toggle"))); - } - }); - - setTimeout(function(){ - - toggles.forEach(function(toggle){ - toggle.getToggles(); - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.aria = (this.options.cls.indexOf('uk-hidden') !== -1); - - this.getToggles(); - - this.on("click", function(e) { - if ($this.element.is('a[href="#"]')) e.preventDefault(); - $this.toggle(); - }); - - toggles.push(this); - }, - - toggle: function() { - - if(!this.totoggle.length) return; - - if (this.options.animation && UI.support.animation) { - - var $this = this, animations = this.options.animation.split(','); - - if (animations.length == 1) { - animations[1] = animations[0]; - } - - animations[0] = animations[0].trim(); - animations[1] = animations[1].trim(); - - this.totoggle.css('animation-duration', this.options.duration+'ms'); - - if (this.totoggle.hasClass(this.options.cls)) { - - this.totoggle.toggleClass(this.options.cls); - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[0]).then(function(){ - UI.$(this).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }); - }); - - } else { - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[1]+' uk-animation-reverse').then(function(){ - UI.$(this).toggleClass($this.options.cls).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }.bind(this)); - }); - } - - } else { - this.totoggle.toggleClass(this.options.cls); - UI.Utils.checkDisplay(this.totoggle); - } - - this.updateAria(); - - }, - - getToggles: function() { - this.totoggle = this.options.target ? UI.$(this.options.target):[]; - this.updateAria(); - }, - - updateAria: function() { - if (this.aria && this.totoggle.length) { - this.totoggle.each(function(){ - UI.$(this).attr('aria-hidden', UI.$(this).hasClass('uk-hidden')); - }); - } - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/toggle.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/toggle.min.js deleted file mode 100644 index c2cf33258..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/toggle.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var i=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(s){t.$("[data-uk-toggle]",s).each(function(){var i=t.$(this);if(!i.data("toggle")){t.toggle(i,t.Utils.options(i.attr("data-uk-toggle")))}}),setTimeout(function(){i.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=-1!==this.options.cls.indexOf("uk-hidden"),this.getToggles(),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle()}),i.push(this)},toggle:function(){if(this.totoggle.length){if(this.options.animation&&t.support.animation){var i=this,s=this.options.animation.split(",");1==s.length&&(s[1]=s[0]),s[0]=s[0].trim(),s[1]=s[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.hasClass(this.options.cls)?(this.totoggle.toggleClass(this.options.cls),this.totoggle.each(function(){t.Utils.animate(this,s[0]).then(function(){t.$(this).css("animation-duration",""),t.Utils.checkDisplay(this)})})):this.totoggle.each(function(){t.Utils.animate(this,s[1]+" uk-animation-reverse").then(function(){t.$(this).toggleClass(i.options.cls).css("animation-duration",""),t.Utils.checkDisplay(this)}.bind(this))})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/touch.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/touch.js deleted file mode 100644 index 9afbce168..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/touch.js +++ /dev/null @@ -1,173 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -// Based on Zeptos touch.js -// https://raw.github.com/madrobby/zepto/master/src/touch.js -// Zepto.js may be freely distributed under the MIT license. - -;(function($){ - - if ($.fn.swipeLeft) { - return; - } - - - var touch = {}, touchTimeout, tapTimeout, swipeTimeout, longTapTimeout, longTapDelay = 750, gesture; - - function swipeDirection(x1, x2, y1, y2) { - return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down'); - } - - function longTap() { - longTapTimeout = null; - if (touch.last) { - touch.el.trigger('longTap'); - touch = {}; - } - } - - function cancelLongTap() { - if (longTapTimeout) clearTimeout(longTapTimeout); - longTapTimeout = null; - } - - function cancelAll() { - if (touchTimeout) clearTimeout(touchTimeout); - if (tapTimeout) clearTimeout(tapTimeout); - if (swipeTimeout) clearTimeout(swipeTimeout); - if (longTapTimeout) clearTimeout(longTapTimeout); - touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null; - touch = {}; - } - - function isPrimaryTouch(event){ - return event.pointerType == event.MSPOINTER_TYPE_TOUCH && event.isPrimary; - } - - $(function(){ - var now, delta, deltaX = 0, deltaY = 0, firstTouch; - - if ('MSGesture' in window) { - gesture = new MSGesture(); - gesture.target = document.body; - } - - $(document) - .on('MSGestureEnd gestureend', function(e){ - - var swipeDirectionFromVelocity = e.originalEvent.velocityX > 1 ? 'Right' : e.originalEvent.velocityX < -1 ? 'Left' : e.originalEvent.velocityY > 1 ? 'Down' : e.originalEvent.velocityY < -1 ? 'Up' : null; - - if (swipeDirectionFromVelocity) { - touch.el.trigger('swipe'); - touch.el.trigger('swipe'+ swipeDirectionFromVelocity); - } - }) - // MSPointerDown: for IE10 - // pointerdown: for IE11 - .on('touchstart MSPointerDown pointerdown', function(e){ - - if(e.type == 'MSPointerDown' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerDown' || e.type == 'pointerdown') ? e : e.originalEvent.touches[0]; - - now = Date.now(); - delta = now - (touch.last || now); - touch.el = $('tagName' in firstTouch.target ? firstTouch.target : firstTouch.target.parentNode); - - if(touchTimeout) clearTimeout(touchTimeout); - - touch.x1 = firstTouch.pageX; - touch.y1 = firstTouch.pageY; - - if (delta > 0 && delta <= 250) touch.isDoubleTap = true; - - touch.last = now; - longTapTimeout = setTimeout(longTap, longTapDelay); - - // adds the current touch contact for IE gesture recognition - if (gesture && ( e.type == 'MSPointerDown' || e.type == 'pointerdown' || e.type == 'touchstart' ) ) { - gesture.addPointer(e.originalEvent.pointerId); - } - - }) - // MSPointerMove: for IE10 - // pointermove: for IE11 - .on('touchmove MSPointerMove pointermove', function(e){ - - if (e.type == 'MSPointerMove' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerMove' || e.type == 'pointermove') ? e : e.originalEvent.touches[0]; - - cancelLongTap(); - touch.x2 = firstTouch.pageX; - touch.y2 = firstTouch.pageY; - - deltaX += Math.abs(touch.x1 - touch.x2); - deltaY += Math.abs(touch.y1 - touch.y2); - }) - // MSPointerUp: for IE10 - // pointerup: for IE11 - .on('touchend MSPointerUp pointerup', function(e){ - - if (e.type == 'MSPointerUp' && !isPrimaryTouch(e.originalEvent)) return; - - cancelLongTap(); - - // swipe - if ((touch.x2 && Math.abs(touch.x1 - touch.x2) > 30) || (touch.y2 && Math.abs(touch.y1 - touch.y2) > 30)){ - - swipeTimeout = setTimeout(function() { - touch.el.trigger('swipe'); - touch.el.trigger('swipe' + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2))); - touch = {}; - }, 0); - - // normal tap - } else if ('last' in touch) { - - // don't fire tap when delta position changed by more than 30 pixels, - // for instance when moving to a point and back to origin - if (isNaN(deltaX) || (deltaX < 30 && deltaY < 30)) { - // delay by one tick so we can cancel the 'tap' event if 'scroll' fires - // ('tap' fires before 'scroll') - tapTimeout = setTimeout(function() { - - // trigger universal 'tap' with the option to cancelTouch() - // (cancelTouch cancels processing of single vs double taps for faster 'tap' response) - var event = $.Event('tap'); - event.cancelTouch = cancelAll; - touch.el.trigger(event); - - // trigger double tap immediately - if (touch.isDoubleTap) { - touch.el.trigger('doubleTap'); - touch = {}; - } - - // trigger single tap after 250ms of inactivity - else { - touchTimeout = setTimeout(function(){ - touchTimeout = null; - touch.el.trigger('singleTap'); - touch = {}; - }, 250); - } - }, 0); - } else { - touch = {}; - } - deltaX = deltaY = 0; - } - }) - // when the browser window loses focus, - // for example when a modal dialog is shown, - // cancel all ongoing events - .on('touchcancel MSPointerCancel', cancelAll); - - // scrolling the window indicates intention of the user - // to scroll, not tap or swipe, so cancel all ongoing events - $(window).on('scroll', cancelAll); - }); - - ['swipe', 'swipeLeft', 'swipeRight', 'swipeUp', 'swipeDown', 'doubleTap', 'tap', 'singleTap', 'longTap'].forEach(function(eventName){ - $.fn[eventName] = function(callback){ return $(this).on(eventName, callback); }; - }); -})(jQuery); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/touch.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/touch.min.js deleted file mode 100644 index a2ef7ded7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/touch.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(e){function t(e,t,n,o){return Math.abs(e-t)>=Math.abs(n-o)?e-t>0?"Left":"Right":n-o>0?"Up":"Down"}function n(){p=null,g.last&&(g.el.trigger("longTap"),g={})}function o(){p&&clearTimeout(p),p=null}function i(){a&&clearTimeout(a),l&&clearTimeout(l),u&&clearTimeout(u),p&&clearTimeout(p),a=l=u=p=null,g={}}function r(e){return e.pointerType==e.MSPOINTER_TYPE_TOUCH&&e.isPrimary}if(!e.fn.swipeLeft){var a,l,u,p,c,g={},s=750;e(function(){var y,w,v,f=0,M=0;"MSGesture"in window&&(c=new MSGesture,c.target=document.body),e(document).on("MSGestureEnd gestureend",function(e){var t=e.originalEvent.velocityX>1?"Right":e.originalEvent.velocityX<-1?"Left":e.originalEvent.velocityY>1?"Down":e.originalEvent.velocityY<-1?"Up":null;t&&(g.el.trigger("swipe"),g.el.trigger("swipe"+t))}).on("touchstart MSPointerDown pointerdown",function(t){("MSPointerDown"!=t.type||r(t.originalEvent))&&(v="MSPointerDown"==t.type||"pointerdown"==t.type?t:t.originalEvent.touches[0],y=Date.now(),w=y-(g.last||y),g.el=e("tagName"in v.target?v.target:v.target.parentNode),a&&clearTimeout(a),g.x1=v.pageX,g.y1=v.pageY,w>0&&250>=w&&(g.isDoubleTap=!0),g.last=y,p=setTimeout(n,s),!c||"MSPointerDown"!=t.type&&"pointerdown"!=t.type&&"touchstart"!=t.type||c.addPointer(t.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(e){("MSPointerMove"!=e.type||r(e.originalEvent))&&(v="MSPointerMove"==e.type||"pointermove"==e.type?e:e.originalEvent.touches[0],o(),g.x2=v.pageX,g.y2=v.pageY,f+=Math.abs(g.x1-g.x2),M+=Math.abs(g.y1-g.y2))}).on("touchend MSPointerUp pointerup",function(n){("MSPointerUp"!=n.type||r(n.originalEvent))&&(o(),g.x2&&Math.abs(g.x1-g.x2)>30||g.y2&&Math.abs(g.y1-g.y2)>30?u=setTimeout(function(){g.el.trigger("swipe"),g.el.trigger("swipe"+t(g.x1,g.x2,g.y1,g.y2)),g={}},0):"last"in g&&(isNaN(f)||30>f&&30>M?l=setTimeout(function(){var t=e.Event("tap");t.cancelTouch=i,g.el.trigger(t),g.isDoubleTap?(g.el.trigger("doubleTap"),g={}):a=setTimeout(function(){a=null,g.el.trigger("singleTap"),g={}},250)},0):g={},f=M=0))}).on("touchcancel MSPointerCancel",i),e(window).on("scroll",i)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(t){e.fn[t]=function(n){return e(this).on(t,n)}})}}(jQuery); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/utility.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/utility.js deleted file mode 100644 index 0d423a648..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/utility.js +++ /dev/null @@ -1,243 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var stacks = []; - - UI.component('stackMargin', { - - defaults: { - 'cls': 'uk-margin-small-top' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-margin]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("stackMargin")) { - obj = UI.stackMargin(ele, UI.Utils.options(ele.attr("data-uk-margin"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - - if (!this.columns.length) return; - - UI.$win.on('resize orientationchange', (function() { - - var fn = function() { - $this.process(); - }; - - UI.$(function() { - fn(); - UI.$win.on("load", fn); - }); - - return UI.Utils.debounce(fn, 20); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.process(); - }); - - this.on("display.uk.check", function(e) { - $this.columns = $this.element.children(); - if (this.element.is(":visible")) this.process(); - }.bind(this)); - - stacks.push(this); - }, - - process: function() { - - var $this = this; - - UI.Utils.stackMargin(this.columns, this.options); - - return this; - }, - - revert: function() { - this.columns.removeClass(this.options.cls); - return this; - } - }); - - - // responsive element e.g. iframes - - (function(){ - - var elements = [], check = function(ele) { - - if (!ele.is(':visible')) return; - - var width = ele.parent().width(), - iwidth = ele.data('width'), - ratio = (width / iwidth), - height = Math.floor(ratio * ele.data('height')); - - ele.css({'height': (width < iwidth) ? height : ele.data('height')}); - }; - - UI.component('responsiveElement', { - - defaults: {}, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("iframe.uk-responsive-width, [data-uk-responsive]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("responsiveIframe")) { - obj = UI.responsiveElement(ele, {}); - } - }); - }); - }, - - init: function() { - - var ele = this.element; - - if (ele.attr('width') && ele.attr('height')) { - - ele.data({ - - 'width' : ele.attr('width'), - 'height': ele.attr('height') - - }).on('display.uk.check', function(){ - check(ele); - }); - - check(ele); - - elements.push(ele); - } - } - }); - - UI.$win.on('resize load', UI.Utils.debounce(function(){ - - elements.forEach(function(ele){ - check(ele); - }); - - }, 15)); - - })(); - - - - // helper - - UI.Utils.stackMargin = function(elements, options) { - - options = UI.$.extend({ - 'cls': 'uk-margin-small-top' - }, options); - - options.cls = options.cls; - - elements = UI.$(elements).removeClass(options.cls); - - var skip = false, - firstvisible = elements.filter(":visible:first"), - offset = firstvisible.length ? (firstvisible.position().top + firstvisible.outerHeight()) - 1 : false; // (-1): weird firefox bug when parent container is display:flex - - if (offset === false) return; - - elements.each(function() { - - var column = UI.$(this); - - if (column.is(":visible")) { - - if (skip) { - column.addClass(options.cls); - } else { - - if (column.position().top >= offset) { - skip = column.addClass(options.cls); - } - } - } - }); - }; - - UI.Utils.matchHeights = function(elements, options) { - - elements = UI.$(elements).css('min-height', ''); - options = UI.$.extend({ row : true }, options); - - var matchHeights = function(group){ - - if (group.length < 2) return; - - var max = 0; - - group.each(function() { - max = Math.max(max, UI.$(this).outerHeight()); - }).each(function() { - - var element = UI.$(this), - height = max - (element.css('box-sizing') == 'border-box' ? 0 : (element.outerHeight() - element.height())); - - element.css('min-height', height + 'px'); - }); - }; - - if (options.row) { - - elements.first().width(); // force redraw - - setTimeout(function(){ - - var lastoffset = false, group = []; - - elements.each(function() { - - var ele = UI.$(this), offset = ele.offset().top; - - if (offset != lastoffset && group.length) { - - matchHeights(UI.$(group)); - group = []; - offset = ele.offset().top; - } - - group.push(ele); - lastoffset = offset; - }); - - if (group.length) { - matchHeights(UI.$(group)); - } - - }, 0); - - } else { - matchHeights(elements); - } - }; - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/utility.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/utility.min.js deleted file mode 100644 index 708970907..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/core/utility.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var i=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top"},boot:function(){t.ready(function(i){t.$("[data-uk-margin]",i).each(function(){var i,n=t.$(this);n.data("stackMargin")||(i=t.stackMargin(n,t.Utils.options(n.attr("data-uk-margin"))))})})},init:function(){var n=this;this.columns=this.element.children(),this.columns.length&&(t.$win.on("resize orientationchange",function(){var i=function(){n.process()};return t.$(function(){i(),t.$win.on("load",i)}),t.Utils.debounce(i,20)}()),t.$html.on("changed.uk.dom",function(){n.columns=n.element.children(),n.process()}),this.on("display.uk.check",function(){n.columns=n.element.children(),this.element.is(":visible")&&this.process()}.bind(this)),i.push(this))},process:function(){return t.Utils.stackMargin(this.columns,this.options),this},revert:function(){return this.columns.removeClass(this.options.cls),this}}),function(){var i=[],n=function(t){if(t.is(":visible")){var i=t.parent().width(),n=t.data("width"),s=i/n,e=Math.floor(s*t.data("height"));t.css({height:n>i?e:t.data("height")})}};t.component("responsiveElement",{defaults:{},boot:function(){t.ready(function(i){t.$("iframe.uk-responsive-width, [data-uk-responsive]",i).each(function(){var i,n=t.$(this);n.data("responsiveIframe")||(i=t.responsiveElement(n,{}))})})},init:function(){var t=this.element;t.attr("width")&&t.attr("height")&&(t.data({width:t.attr("width"),height:t.attr("height")}).on("display.uk.check",function(){n(t)}),n(t),i.push(t))}}),t.$win.on("resize load",t.Utils.debounce(function(){i.forEach(function(t){n(t)})},15))}(),t.Utils.stackMargin=function(i,n){n=t.$.extend({cls:"uk-margin-small-top"},n),n.cls=n.cls,i=t.$(i).removeClass(n.cls);var s=!1,e=i.filter(":visible:first"),o=e.length?e.position().top+e.outerHeight()-1:!1;o!==!1&&i.each(function(){var i=t.$(this);i.is(":visible")&&(s?i.addClass(n.cls):i.position().top>=o&&(s=i.addClass(n.cls)))})},t.Utils.matchHeights=function(i,n){i=t.$(i).css("min-height",""),n=t.$.extend({row:!0},n);var s=function(i){if(!(i.length<2)){var n=0;i.each(function(){n=Math.max(n,t.$(this).outerHeight())}).each(function(){var i=t.$(this),s=n-("border-box"==i.css("box-sizing")?0:i.outerHeight()-i.height());i.css("min-height",s+"px")})}};n.row?(i.first().width(),setTimeout(function(){var n=!1,e=[];i.each(function(){var i=t.$(this),o=i.offset().top;o!=n&&e.length&&(s(t.$(e)),e=[],o=i.offset().top),e.push(i),n=o}),e.length&&s(t.$(e))},0)):s(i)}}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/uikit.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/uikit.js deleted file mode 100644 index bce6f80a7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/uikit.js +++ /dev/null @@ -1,3400 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(core) { - - if (typeof define == "function" && define.amd) { // AMD - - define("uikit", function(){ - - var uikit = window.UIkit || core(window, window.jQuery, window.document); - - uikit.load = function(res, req, onload, config) { - - var resources = res.split(','), load = [], i, base = (config.config && config.config.uikit && config.config.uikit.base ? config.config.uikit.base : "").replace(/\/+$/g, ""); - - if (!base) { - throw new Error( "Please define base path to UIkit in the requirejs config." ); - } - - for (i = 0; i < resources.length; i += 1) { - var resource = resources[i].replace(/\./g, '/'); - load.push(base+'/components/'+resource); - } - - req(load, function() { - onload(uikit); - }); - }; - - return uikit; - }); - } - - if (!window.jQuery) { - throw new Error( "UIkit requires jQuery" ); - } - - if (window && window.jQuery) { - core(window, window.jQuery, window.document); - } - - -})(function(global, $, doc) { - - "use strict"; - - var UI = {}, _UI = global.UIkit ? Object.create(global.UIkit) : undefined; - - UI.version = '2.21.0'; - - UI.noConflict = function() { - // restore UIkit version - if (_UI) { - global.UIkit = _UI; - $.UIkit = _UI; - $.fn.uk = _UI.fn; - } - - return UI; - }; - - UI.prefix = function(str) { - return str; - }; - - // cache jQuery - UI.$ = $; - - UI.$doc = UI.$(document); - UI.$win = UI.$(window); - UI.$html = UI.$('html'); - - UI.support = {}; - UI.support.transition = (function() { - - var transitionEnd = (function() { - - var element = doc.body || doc.documentElement, - transEndEventNames = { - WebkitTransition : 'webkitTransitionEnd', - MozTransition : 'transitionend', - OTransition : 'oTransitionEnd otransitionend', - transition : 'transitionend' - }, name; - - for (name in transEndEventNames) { - if (element.style[name] !== undefined) return transEndEventNames[name]; - } - }()); - - return transitionEnd && { end: transitionEnd }; - })(); - - UI.support.animation = (function() { - - var animationEnd = (function() { - - var element = doc.body || doc.documentElement, - animEndEventNames = { - WebkitAnimation : 'webkitAnimationEnd', - MozAnimation : 'animationend', - OAnimation : 'oAnimationEnd oanimationend', - animation : 'animationend' - }, name; - - for (name in animEndEventNames) { - if (element.style[name] !== undefined) return animEndEventNames[name]; - } - }()); - - return animationEnd && { end: animationEnd }; - })(); - - // requestAnimationFrame polyfill - // https://gist.github.com/paulirish/1579671 - (function(){ - - var lastTime = 0; - - global.requestAnimationFrame = global.requestAnimationFrame || global.webkitRequestAnimationFrame || function(callback, element) { - var currTime = new Date().getTime(); - var timeToCall = Math.max(0, 16 - (currTime - lastTime)); - var id = global.setTimeout(function() { callback(currTime + timeToCall); }, timeToCall); - lastTime = currTime + timeToCall; - return id; - }; - - if (!global.cancelAnimationFrame) { - - global.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - } - - })(); - - UI.support.touch = ( - ('ontouchstart' in document) || - (global.DocumentTouch && document instanceof global.DocumentTouch) || - (global.navigator.msPointerEnabled && global.navigator.msMaxTouchPoints > 0) || //IE 10 - (global.navigator.pointerEnabled && global.navigator.maxTouchPoints > 0) || //IE >=11 - false - ); - - UI.support.mutationobserver = (global.MutationObserver || global.WebKitMutationObserver || null); - - UI.Utils = {}; - - UI.Utils.isFullscreen = function() { - return document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement || document.fullscreenElement || false; - }; - - UI.Utils.str2json = function(str, notevil) { - try { - if (notevil) { - return JSON.parse(str - // wrap keys without quote with valid double quote - .replace(/([\$\w]+)\s*:/g, function(_, $1){return '"'+$1+'":';}) - // replacing single quote wrapped ones to double quote - .replace(/'([^']+)'/g, function(_, $1){return '"'+$1+'"';}) - ); - } else { - return (new Function("", "var json = " + str + "; return JSON.parse(JSON.stringify(json));"))(); - } - } catch(e) { return false; } - }; - - UI.Utils.debounce = function(func, wait, immediate) { - var timeout; - return function() { - var context = this, args = arguments; - var later = function() { - timeout = null; - if (!immediate) func.apply(context, args); - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); - }; - }; - - UI.Utils.removeCssRules = function(selectorRegEx) { - var idx, idxs, stylesheet, _i, _j, _k, _len, _len1, _len2, _ref; - - if(!selectorRegEx) return; - - setTimeout(function(){ - try { - _ref = document.styleSheets; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - stylesheet = _ref[_i]; - idxs = []; - stylesheet.cssRules = stylesheet.cssRules; - for (idx = _j = 0, _len1 = stylesheet.cssRules.length; _j < _len1; idx = ++_j) { - if (stylesheet.cssRules[idx].type === CSSRule.STYLE_RULE && selectorRegEx.test(stylesheet.cssRules[idx].selectorText)) { - idxs.unshift(idx); - } - } - for (_k = 0, _len2 = idxs.length; _k < _len2; _k++) { - stylesheet.deleteRule(idxs[_k]); - } - } - } catch (_error) {} - }, 0); - }; - - UI.Utils.isInView = function(element, options) { - - var $element = $(element); - - if (!$element.is(':visible')) { - return false; - } - - var window_left = UI.$win.scrollLeft(), window_top = UI.$win.scrollTop(), offset = $element.offset(), left = offset.left, top = offset.top; - - options = $.extend({topoffset:0, leftoffset:0}, options); - - if (top + $element.height() >= window_top && top - options.topoffset <= window_top + UI.$win.height() && - left + $element.width() >= window_left && left - options.leftoffset <= window_left + UI.$win.width()) { - return true; - } else { - return false; - } - }; - - UI.Utils.checkDisplay = function(context, initanimation) { - - var elements = UI.$('[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]', context || document), animated; - - if (context && !elements.length) { - elements = $(context); - } - - elements.trigger('display.uk.check'); - - // fix firefox / IE animations - if (initanimation) { - - if (typeof(initanimation)!='string') { - initanimation = '[class*="uk-animation-"]'; - } - - elements.find(initanimation).each(function(){ - - var ele = UI.$(this), - cls = ele.attr('class'), - anim = cls.match(/uk\-animation\-(.+)/); - - ele.removeClass(anim[0]).width(); - - ele.addClass(anim[0]); - }); - } - - return elements; - }; - - UI.Utils.options = function(string) { - - if ($.isPlainObject(string)) return string; - - var start = (string ? string.indexOf("{") : -1), options = {}; - - if (start != -1) { - try { - options = UI.Utils.str2json(string.substr(start)); - } catch (e) {} - } - - return options; - }; - - UI.Utils.animate = function(element, cls) { - - var d = $.Deferred(); - - element = UI.$(element); - cls = cls; - - element.css('display', 'none').addClass(cls).one(UI.support.animation.end, function() { - element.removeClass(cls); - d.resolve(); - }).width(); - - element.css('display', ''); - - return d.promise(); - }; - - UI.Utils.uid = function(prefix) { - return (prefix || 'id') + (new Date().getTime())+"RAND"+(Math.ceil(Math.random() * 100000)); - }; - - UI.Utils.template = function(str, data) { - - var tokens = str.replace(/\n/g, '\\n').replace(/\{\{\{\s*(.+?)\s*\}\}\}/g, "{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g), - i=0, toc, cmd, prop, val, fn, output = [], openblocks = 0; - - while(i < tokens.length) { - - toc = tokens[i]; - - if(toc.match(/\{\{\s*(.+?)\s*\}\}/)) { - i = i + 1; - toc = tokens[i]; - cmd = toc[0]; - prop = toc.substring(toc.match(/^(\^|\#|\!|\~|\:)/) ? 1:0); - - switch(cmd) { - case '~': - output.push("for(var $i=0;$i<"+prop+".length;$i++) { var $item = "+prop+"[$i];"); - openblocks++; - break; - case ':': - output.push("for(var $key in "+prop+") { var $val = "+prop+"[$key];"); - openblocks++; - break; - case '#': - output.push("if("+prop+") {"); - openblocks++; - break; - case '^': - output.push("if(!"+prop+") {"); - openblocks++; - break; - case '/': - output.push("}"); - openblocks--; - break; - case '!': - output.push("__ret.push("+prop+");"); - break; - default: - output.push("__ret.push(escape("+prop+"));"); - break; - } - } else { - output.push("__ret.push('"+toc.replace(/\'/g, "\\'")+"');"); - } - i = i + 1; - } - - fn = new Function('$data', [ - 'var __ret = [];', - 'try {', - 'with($data){', (!openblocks ? output.join('') : '__ret = ["Not all blocks are closed correctly."]'), '};', - '}catch(e){__ret = [e.message];}', - 'return __ret.join("").replace(/\\n\\n/g, "\\n");', - "function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}" - ].join("\n")); - - return data ? fn(data) : fn; - }; - - UI.Utils.events = {}; - UI.Utils.events.click = UI.support.touch ? 'tap' : 'click'; - - global.UIkit = UI; - - // deprecated - - UI.fn = function(command, options) { - - var args = arguments, cmd = command.match(/^([a-z\-]+)(?:\.([a-z]+))?/i), component = cmd[1], method = cmd[2]; - - if (!UI[component]) { - $.error("UIkit component [" + component + "] does not exist."); - return this; - } - - return this.each(function() { - var $this = $(this), data = $this.data(component); - if (!data) $this.data(component, (data = UI[component](this, method ? undefined : options))); - if (method) data[method].apply(data, Array.prototype.slice.call(args, 1)); - }); - }; - - $.UIkit = UI; - $.fn.uk = UI.fn; - - UI.langdirection = UI.$html.attr("dir") == "rtl" ? "right" : "left"; - - UI.components = {}; - - UI.component = function(name, def) { - - var fn = function(element, options) { - - var $this = this; - - this.UIkit = UI; - this.element = element ? UI.$(element) : null; - this.options = $.extend(true, {}, this.defaults, options); - this.plugins = {}; - - if (this.element) { - this.element.data(name, this); - } - - this.init(); - - (this.options.plugins.length ? this.options.plugins : Object.keys(fn.plugins)).forEach(function(plugin) { - - if (fn.plugins[plugin].init) { - fn.plugins[plugin].init($this); - $this.plugins[plugin] = true; - } - - }); - - this.trigger('init.uk.component', [name, this]); - - return this; - }; - - fn.plugins = {}; - - $.extend(true, fn.prototype, { - - defaults : {plugins: []}, - - boot: function(){}, - init: function(){}, - - on: function(a1,a2,a3){ - return UI.$(this.element || this).on(a1,a2,a3); - }, - - one: function(a1,a2,a3){ - return UI.$(this.element || this).one(a1,a2,a3); - }, - - off: function(evt){ - return UI.$(this.element || this).off(evt); - }, - - trigger: function(evt, params) { - return UI.$(this.element || this).trigger(evt, params); - }, - - find: function(selector) { - return UI.$(this.element ? this.element: []).find(selector); - }, - - proxy: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = function() { return obj[method].apply(obj, arguments); }; - }); - }, - - mixin: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = obj[method].bind($this); - }); - }, - - option: function() { - - if (arguments.length == 1) { - return this.options[arguments[0]] || undefined; - } else if (arguments.length == 2) { - this.options[arguments[0]] = arguments[1]; - } - } - - }, def); - - this.components[name] = fn; - - this[name] = function() { - - var element, options; - - if (arguments.length) { - - switch(arguments.length) { - case 1: - - if (typeof arguments[0] === "string" || arguments[0].nodeType || arguments[0] instanceof jQuery) { - element = $(arguments[0]); - } else { - options = arguments[0]; - } - - break; - case 2: - - element = $(arguments[0]); - options = arguments[1]; - break; - } - } - - if (element && element.data(name)) { - return element.data(name); - } - - return (new UI.components[name](element, options)); - }; - - if (UI.domready) { - UI.component.boot(name); - } - - return fn; - }; - - UI.plugin = function(component, name, def) { - this.components[component].plugins[name] = def; - }; - - UI.component.boot = function(name) { - - if (UI.components[name].prototype && UI.components[name].prototype.boot && !UI.components[name].booted) { - UI.components[name].prototype.boot.apply(UI, []); - UI.components[name].booted = true; - } - }; - - UI.component.bootComponents = function() { - - for (var component in UI.components) { - UI.component.boot(component); - } - }; - - - // DOM mutation save ready helper function - - UI.domObservers = []; - UI.domready = false; - - UI.ready = function(fn) { - - UI.domObservers.push(fn); - - if (UI.domready) { - fn(document); - } - }; - - UI.on = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - } - - return UI.$doc.on(a1,a2,a3); - }; - - UI.one = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - return UI.$doc; - } - - return UI.$doc.one(a1,a2,a3); - }; - - UI.trigger = function(evt, params) { - return UI.$doc.trigger(evt, params); - }; - - UI.domObserve = function(selector, fn) { - - if(!UI.support.mutationobserver) return; - - fn = fn || function() {}; - - UI.$(selector).each(function() { - - var element = this, - $element = UI.$(element); - - if ($element.data('observer')) { - return; - } - - try { - - var observer = new UI.support.mutationobserver(UI.Utils.debounce(function(mutations) { - fn.apply(element, []); - $element.trigger('changed.uk.dom'); - }, 50)); - - // pass in the target node, as well as the observer options - observer.observe(element, { childList: true, subtree: true }); - - $element.data('observer', observer); - - } catch(e) {} - }); - }; - - UI.init = function(root) { - - root = root || document; - - UI.domObservers.forEach(function(fn){ - fn(root); - }); - }; - - UI.on('domready.uk.dom', function(){ - - UI.init(); - - if (UI.domready) UI.Utils.checkDisplay(); - }); - - $(function(){ - - UI.$body = UI.$('body'); - - UI.ready(function(context){ - UI.domObserve('[data-uk-observe]'); - }); - - UI.on('changed.uk.dom', function(e) { - UI.init(e.target); - UI.Utils.checkDisplay(e.target); - }); - - UI.trigger('beforeready.uk.dom'); - - UI.component.bootComponents(); - - // custom scroll observer - setInterval((function(){ - - var memory = {x: window.pageXOffset, y:window.pageYOffset}, dir; - - var fn = function(){ - - if (memory.x != window.pageXOffset || memory.y != window.pageYOffset) { - - dir = {x: 0 , y: 0}; - - if (window.pageXOffset != memory.x) dir.x = window.pageXOffset > memory.x ? 1:-1; - if (window.pageYOffset != memory.y) dir.y = window.pageYOffset > memory.y ? 1:-1; - - memory = { - "dir": dir, "x": window.pageXOffset, "y": window.pageYOffset - }; - - UI.$doc.trigger('scrolling.uk.document', [memory]); - } - }; - - if (UI.support.touch) { - UI.$html.on('touchmove touchend MSPointerMove MSPointerUp pointermove pointerup', fn); - } - - if (memory.x || memory.y) fn(); - - return fn; - - })(), 15); - - // run component init functions on dom - UI.trigger('domready.uk.dom'); - - if (UI.support.touch) { - - // remove css hover rules for touch devices - // UI.Utils.removeCssRules(/\.uk-(?!navbar).*:hover/); - - // viewport unit fix for uk-height-viewport - should be fixed in iOS 8 - if (navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) { - - UI.$win.on('load orientationchange resize', UI.Utils.debounce((function(){ - - var fn = function() { - $('.uk-height-viewport').css('height', window.innerHeight); - return fn; - }; - - return fn(); - - })(), 100)); - } - } - - UI.trigger('afterready.uk.dom'); - - // mark that domready is left behind - UI.domready = true; - }); - - // add touch identifier class - UI.$html.addClass(UI.support.touch ? "uk-touch" : "uk-notouch"); - - // add uk-hover class on tap to support overlays on touch devices - if (UI.support.touch) { - - var hoverset = false, exclude, hovercls = 'uk-hover', selector = '.uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover'; - - UI.$html.on('touchstart MSPointerDown pointerdown', selector, function() { - - if (hoverset) $('.'+hovercls).removeClass(hovercls); - - hoverset = $(this).addClass(hovercls); - - }).on('touchend MSPointerUp pointerup', function(e) { - - exclude = $(e.target).parents(selector); - - if (hoverset) { - hoverset.not(exclude).removeClass(hovercls); - } - }); - } - - return UI; -}); - -// Based on Zeptos touch.js -// https://raw.github.com/madrobby/zepto/master/src/touch.js -// Zepto.js may be freely distributed under the MIT license. - -;(function($){ - - if ($.fn.swipeLeft) { - return; - } - - - var touch = {}, touchTimeout, tapTimeout, swipeTimeout, longTapTimeout, longTapDelay = 750, gesture; - - function swipeDirection(x1, x2, y1, y2) { - return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down'); - } - - function longTap() { - longTapTimeout = null; - if (touch.last) { - touch.el.trigger('longTap'); - touch = {}; - } - } - - function cancelLongTap() { - if (longTapTimeout) clearTimeout(longTapTimeout); - longTapTimeout = null; - } - - function cancelAll() { - if (touchTimeout) clearTimeout(touchTimeout); - if (tapTimeout) clearTimeout(tapTimeout); - if (swipeTimeout) clearTimeout(swipeTimeout); - if (longTapTimeout) clearTimeout(longTapTimeout); - touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null; - touch = {}; - } - - function isPrimaryTouch(event){ - return event.pointerType == event.MSPOINTER_TYPE_TOUCH && event.isPrimary; - } - - $(function(){ - var now, delta, deltaX = 0, deltaY = 0, firstTouch; - - if ('MSGesture' in window) { - gesture = new MSGesture(); - gesture.target = document.body; - } - - $(document) - .on('MSGestureEnd gestureend', function(e){ - - var swipeDirectionFromVelocity = e.originalEvent.velocityX > 1 ? 'Right' : e.originalEvent.velocityX < -1 ? 'Left' : e.originalEvent.velocityY > 1 ? 'Down' : e.originalEvent.velocityY < -1 ? 'Up' : null; - - if (swipeDirectionFromVelocity) { - touch.el.trigger('swipe'); - touch.el.trigger('swipe'+ swipeDirectionFromVelocity); - } - }) - // MSPointerDown: for IE10 - // pointerdown: for IE11 - .on('touchstart MSPointerDown pointerdown', function(e){ - - if(e.type == 'MSPointerDown' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerDown' || e.type == 'pointerdown') ? e : e.originalEvent.touches[0]; - - now = Date.now(); - delta = now - (touch.last || now); - touch.el = $('tagName' in firstTouch.target ? firstTouch.target : firstTouch.target.parentNode); - - if(touchTimeout) clearTimeout(touchTimeout); - - touch.x1 = firstTouch.pageX; - touch.y1 = firstTouch.pageY; - - if (delta > 0 && delta <= 250) touch.isDoubleTap = true; - - touch.last = now; - longTapTimeout = setTimeout(longTap, longTapDelay); - - // adds the current touch contact for IE gesture recognition - if (gesture && ( e.type == 'MSPointerDown' || e.type == 'pointerdown' || e.type == 'touchstart' ) ) { - gesture.addPointer(e.originalEvent.pointerId); - } - - }) - // MSPointerMove: for IE10 - // pointermove: for IE11 - .on('touchmove MSPointerMove pointermove', function(e){ - - if (e.type == 'MSPointerMove' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerMove' || e.type == 'pointermove') ? e : e.originalEvent.touches[0]; - - cancelLongTap(); - touch.x2 = firstTouch.pageX; - touch.y2 = firstTouch.pageY; - - deltaX += Math.abs(touch.x1 - touch.x2); - deltaY += Math.abs(touch.y1 - touch.y2); - }) - // MSPointerUp: for IE10 - // pointerup: for IE11 - .on('touchend MSPointerUp pointerup', function(e){ - - if (e.type == 'MSPointerUp' && !isPrimaryTouch(e.originalEvent)) return; - - cancelLongTap(); - - // swipe - if ((touch.x2 && Math.abs(touch.x1 - touch.x2) > 30) || (touch.y2 && Math.abs(touch.y1 - touch.y2) > 30)){ - - swipeTimeout = setTimeout(function() { - touch.el.trigger('swipe'); - touch.el.trigger('swipe' + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2))); - touch = {}; - }, 0); - - // normal tap - } else if ('last' in touch) { - - // don't fire tap when delta position changed by more than 30 pixels, - // for instance when moving to a point and back to origin - if (isNaN(deltaX) || (deltaX < 30 && deltaY < 30)) { - // delay by one tick so we can cancel the 'tap' event if 'scroll' fires - // ('tap' fires before 'scroll') - tapTimeout = setTimeout(function() { - - // trigger universal 'tap' with the option to cancelTouch() - // (cancelTouch cancels processing of single vs double taps for faster 'tap' response) - var event = $.Event('tap'); - event.cancelTouch = cancelAll; - touch.el.trigger(event); - - // trigger double tap immediately - if (touch.isDoubleTap) { - touch.el.trigger('doubleTap'); - touch = {}; - } - - // trigger single tap after 250ms of inactivity - else { - touchTimeout = setTimeout(function(){ - touchTimeout = null; - touch.el.trigger('singleTap'); - touch = {}; - }, 250); - } - }, 0); - } else { - touch = {}; - } - deltaX = deltaY = 0; - } - }) - // when the browser window loses focus, - // for example when a modal dialog is shown, - // cancel all ongoing events - .on('touchcancel MSPointerCancel', cancelAll); - - // scrolling the window indicates intention of the user - // to scroll, not tap or swipe, so cancel all ongoing events - $(window).on('scroll', cancelAll); - }); - - ['swipe', 'swipeLeft', 'swipeRight', 'swipeUp', 'swipeDown', 'doubleTap', 'tap', 'singleTap', 'longTap'].forEach(function(eventName){ - $.fn[eventName] = function(callback){ return $(this).on(eventName, callback); }; - }); -})(jQuery); - -(function(UI) { - - "use strict"; - - var stacks = []; - - UI.component('stackMargin', { - - defaults: { - 'cls': 'uk-margin-small-top' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-margin]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("stackMargin")) { - obj = UI.stackMargin(ele, UI.Utils.options(ele.attr("data-uk-margin"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - - if (!this.columns.length) return; - - UI.$win.on('resize orientationchange', (function() { - - var fn = function() { - $this.process(); - }; - - UI.$(function() { - fn(); - UI.$win.on("load", fn); - }); - - return UI.Utils.debounce(fn, 20); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.process(); - }); - - this.on("display.uk.check", function(e) { - $this.columns = $this.element.children(); - if (this.element.is(":visible")) this.process(); - }.bind(this)); - - stacks.push(this); - }, - - process: function() { - - var $this = this; - - UI.Utils.stackMargin(this.columns, this.options); - - return this; - }, - - revert: function() { - this.columns.removeClass(this.options.cls); - return this; - } - }); - - - // responsive element e.g. iframes - - (function(){ - - var elements = [], check = function(ele) { - - if (!ele.is(':visible')) return; - - var width = ele.parent().width(), - iwidth = ele.data('width'), - ratio = (width / iwidth), - height = Math.floor(ratio * ele.data('height')); - - ele.css({'height': (width < iwidth) ? height : ele.data('height')}); - }; - - UI.component('responsiveElement', { - - defaults: {}, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("iframe.uk-responsive-width, [data-uk-responsive]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("responsiveIframe")) { - obj = UI.responsiveElement(ele, {}); - } - }); - }); - }, - - init: function() { - - var ele = this.element; - - if (ele.attr('width') && ele.attr('height')) { - - ele.data({ - - 'width' : ele.attr('width'), - 'height': ele.attr('height') - - }).on('display.uk.check', function(){ - check(ele); - }); - - check(ele); - - elements.push(ele); - } - } - }); - - UI.$win.on('resize load', UI.Utils.debounce(function(){ - - elements.forEach(function(ele){ - check(ele); - }); - - }, 15)); - - })(); - - - - // helper - - UI.Utils.stackMargin = function(elements, options) { - - options = UI.$.extend({ - 'cls': 'uk-margin-small-top' - }, options); - - options.cls = options.cls; - - elements = UI.$(elements).removeClass(options.cls); - - var skip = false, - firstvisible = elements.filter(":visible:first"), - offset = firstvisible.length ? (firstvisible.position().top + firstvisible.outerHeight()) - 1 : false; // (-1): weird firefox bug when parent container is display:flex - - if (offset === false) return; - - elements.each(function() { - - var column = UI.$(this); - - if (column.is(":visible")) { - - if (skip) { - column.addClass(options.cls); - } else { - - if (column.position().top >= offset) { - skip = column.addClass(options.cls); - } - } - } - }); - }; - - UI.Utils.matchHeights = function(elements, options) { - - elements = UI.$(elements).css('min-height', ''); - options = UI.$.extend({ row : true }, options); - - var matchHeights = function(group){ - - if (group.length < 2) return; - - var max = 0; - - group.each(function() { - max = Math.max(max, UI.$(this).outerHeight()); - }).each(function() { - - var element = UI.$(this), - height = max - (element.css('box-sizing') == 'border-box' ? 0 : (element.outerHeight() - element.height())); - - element.css('min-height', height + 'px'); - }); - }; - - if (options.row) { - - elements.first().width(); // force redraw - - setTimeout(function(){ - - var lastoffset = false, group = []; - - elements.each(function() { - - var ele = UI.$(this), offset = ele.offset().top; - - if (offset != lastoffset && group.length) { - - matchHeights(UI.$(group)); - group = []; - offset = ele.offset().top; - } - - group.push(ele); - lastoffset = offset; - }); - - if (group.length) { - matchHeights(UI.$(group)); - } - - }, 0); - - } else { - matchHeights(elements); - } - }; - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('smoothScroll', { - - boot: function() { - - // init code - UI.$html.on("click.smooth-scroll.uikit", "[data-uk-smooth-scroll]", function(e) { - var ele = UI.$(this); - - if (!ele.data("smoothScroll")) { - var obj = UI.smoothScroll(ele, UI.Utils.options(ele.attr("data-uk-smooth-scroll"))); - ele.trigger("click"); - } - - return false; - }); - }, - - init: function() { - - var $this = this; - - this.on("click", function(e) { - e.preventDefault(); - scrollToElement(UI.$(this.hash).length ? UI.$(this.hash) : UI.$("body"), $this.options); - }); - } - }); - - function scrollToElement(ele, options) { - - options = UI.$.extend({ - duration: 1000, - transition: 'easeOutExpo', - offset: 0, - complete: function(){} - }, options); - - // get / set parameters - var target = ele.offset().top - options.offset, - docheight = UI.$doc.height(), - winheight = window.innerHeight; - - if ((target + winheight) > docheight) { - target = docheight - winheight; - } - - // animate to target, fire callback when done - UI.$("html,body").stop().animate({scrollTop: target}, options.duration, options.transition).promise().done(options.complete); - } - - UI.Utils.scrollToElement = scrollToElement; - - if (!UI.$.easing.easeOutExpo) { - UI.$.easing.easeOutExpo = function(x, t, b, c, d) { return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - var $win = UI.$win, - $doc = UI.$doc, - scrollspies = [], - checkScrollSpy = function() { - for(var i=0; i < scrollspies.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspies[i].check]); - } - }; - - UI.component('scrollspy', { - - defaults: { - "target" : false, - "cls" : "uk-scrollspy-inview", - "initcls" : "uk-scrollspy-init-inview", - "topoffset" : 0, - "leftoffset" : 0, - "repeat" : false, - "delay" : 0 - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpy); - $win.on("load resize orientationchange", UI.Utils.debounce(checkScrollSpy, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspy")) { - var obj = UI.scrollspy(element, UI.Utils.options(element.attr("data-uk-scrollspy"))); - } - }); - }); - }, - - init: function() { - - var $this = this, inviewstate, initinview, togglecls = this.options.cls.split(/,/), fn = function(){ - - var elements = $this.options.target ? $this.element.find($this.options.target) : $this.element, - delayIdx = elements.length === 1 ? 1 : 0, - toggleclsIdx = 0; - - elements.each(function(idx){ - - var element = UI.$(this), - inviewstate = element.data('inviewstate'), - inview = UI.Utils.isInView(element, $this.options), - toggle = element.data('ukScrollspyCls') || togglecls[toggleclsIdx].trim(); - - if (inview && !inviewstate && !element.data('scrollspy-idle')) { - - if (!initinview) { - element.addClass($this.options.initcls); - $this.offset = element.offset(); - initinview = true; - - element.trigger("init.uk.scrollspy"); - } - - element.data('scrollspy-idle', setTimeout(function(){ - - element.addClass("uk-scrollspy-inview").toggleClass(toggle).width(); - element.trigger("inview.uk.scrollspy"); - - element.data('scrollspy-idle', false); - element.data('inviewstate', true); - - }, $this.options.delay * delayIdx)); - - delayIdx++; - } - - if (!inview && inviewstate && $this.options.repeat) { - - if (element.data('scrollspy-idle')) { - clearTimeout(element.data('scrollspy-idle')); - } - - element.removeClass("uk-scrollspy-inview").toggleClass(toggle); - element.data('inviewstate', false); - - element.trigger("outview.uk.scrollspy"); - } - - toggleclsIdx = togglecls[toggleclsIdx + 1] ? (toggleclsIdx + 1) : 0; - - }); - }; - - fn(); - - this.check = fn; - - scrollspies.push(this); - } - }); - - - var scrollspynavs = [], - checkScrollSpyNavs = function() { - for(var i=0; i < scrollspynavs.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspynavs[i].check]); - } - }; - - UI.component('scrollspynav', { - - defaults: { - "cls" : 'uk-active', - "closest" : false, - "topoffset" : 0, - "leftoffset" : 0, - "smoothscroll" : false - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpyNavs); - $win.on("resize orientationchange", UI.Utils.debounce(checkScrollSpyNavs, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy-nav]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspynav")) { - var obj = UI.scrollspynav(element, UI.Utils.options(element.attr("data-uk-scrollspy-nav"))); - } - }); - }); - }, - - init: function() { - - var ids = [], - links = this.find("a[href^='#']").each(function(){ ids.push(UI.$(this).attr("href")); }), - targets = UI.$(ids.join(",")), - - clsActive = this.options.cls, - clsClosest = this.options.closest || this.options.closest; - - var $this = this, inviews, fn = function(){ - - inviews = []; - - for (var i=0 ; i < targets.length ; i++) { - if (UI.Utils.isInView(targets.eq(i), $this.options)) { - inviews.push(targets.eq(i)); - } - } - - if (inviews.length) { - - var navitems, - scrollTop = $win.scrollTop(), - target = (function(){ - for(var i=0; i< inviews.length;i++){ - if(inviews[i].offset().top >= scrollTop){ - return inviews[i]; - } - } - })(); - - if (!target) return; - - if ($this.options.closest) { - links.closest(clsClosest).removeClass(clsActive); - navitems = links.filter("a[href='#"+target.attr("id")+"']").closest(clsClosest).addClass(clsActive); - } else { - navitems = links.removeClass(clsActive).filter("a[href='#"+target.attr("id")+"']").addClass(clsActive); - } - - $this.element.trigger("inview.uk.scrollspynav", [target, navitems]); - } - }; - - if (this.options.smoothscroll && UI.smoothScroll) { - links.each(function(){ - UI.smoothScroll(this, $this.options.smoothscroll); - }); - } - - fn(); - - this.element.data("scrollspynav", this); - - this.check = fn; - scrollspynavs.push(this); - - } - }); - -})(UIkit); - -(function(UI){ - - "use strict"; - - var toggles = []; - - UI.component('toggle', { - - defaults: { - target : false, - cls : 'uk-hidden', - animation : false, - duration : 200 - }, - - boot: function(){ - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-toggle]", context).each(function() { - var ele = UI.$(this); - - if (!ele.data("toggle")) { - var obj = UI.toggle(ele, UI.Utils.options(ele.attr("data-uk-toggle"))); - } - }); - - setTimeout(function(){ - - toggles.forEach(function(toggle){ - toggle.getToggles(); - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.aria = (this.options.cls.indexOf('uk-hidden') !== -1); - - this.getToggles(); - - this.on("click", function(e) { - if ($this.element.is('a[href="#"]')) e.preventDefault(); - $this.toggle(); - }); - - toggles.push(this); - }, - - toggle: function() { - - if(!this.totoggle.length) return; - - if (this.options.animation && UI.support.animation) { - - var $this = this, animations = this.options.animation.split(','); - - if (animations.length == 1) { - animations[1] = animations[0]; - } - - animations[0] = animations[0].trim(); - animations[1] = animations[1].trim(); - - this.totoggle.css('animation-duration', this.options.duration+'ms'); - - if (this.totoggle.hasClass(this.options.cls)) { - - this.totoggle.toggleClass(this.options.cls); - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[0]).then(function(){ - UI.$(this).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }); - }); - - } else { - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[1]+' uk-animation-reverse').then(function(){ - UI.$(this).toggleClass($this.options.cls).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }.bind(this)); - }); - } - - } else { - this.totoggle.toggleClass(this.options.cls); - UI.Utils.checkDisplay(this.totoggle); - } - - this.updateAria(); - - }, - - getToggles: function() { - this.totoggle = this.options.target ? UI.$(this.options.target):[]; - this.updateAria(); - }, - - updateAria: function() { - if (this.aria && this.totoggle.length) { - this.totoggle.each(function(){ - UI.$(this).attr('aria-hidden', UI.$(this).hasClass('uk-hidden')); - }); - } - } - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('alert', { - - defaults: { - "fade": true, - "duration": 200, - "trigger": ".uk-alert-close" - }, - - boot: function() { - - // init code - UI.$html.on("click.alert.uikit", "[data-uk-alert]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("alert")) { - - var alert = UI.alert(ele, UI.Utils.options(ele.attr("data-uk-alert"))); - - if (UI.$(e.target).is(alert.options.trigger)) { - e.preventDefault(); - alert.close(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.on("click", this.options.trigger, function(e) { - e.preventDefault(); - $this.close(); - }); - }, - - close: function() { - - var element = this.trigger("close.uk.alert"), - removeElement = function () { - this.trigger("closed.uk.alert").remove(); - }.bind(this); - - if (this.options.fade) { - element.css("overflow", "hidden").css("max-height", element.height()).animate({ - "height" : 0, - "opacity" : 0, - "padding-top" : 0, - "padding-bottom" : 0, - "margin-top" : 0, - "margin-bottom" : 0 - }, this.options.duration, removeElement); - } else { - removeElement(); - } - } - - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('buttonRadio', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - // init code - UI.$html.on("click.buttonradio.uikit", "[data-uk-button-radio]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("buttonRadio")) { - - var obj = UI.buttonRadio(ele, UI.Utils.options(ele.attr("data-uk-button-radio"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - $this.find($this.options.target).not(ele).removeClass("uk-active").blur(); - ele.addClass("uk-active"); - - // Update ARIA - $this.find($this.options.target).not(ele).attr('aria-checked', 'false'); - ele.attr('aria-checked', 'true'); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - UI.component('buttonCheckbox', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - UI.$html.on("click.buttoncheckbox.uikit", "[data-uk-button-checkbox]", function(e) { - var ele = UI.$(this); - - if (!ele.data("buttonCheckbox")) { - - var obj = UI.buttonCheckbox(ele, UI.Utils.options(ele.attr("data-uk-button-checkbox"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - ele.toggleClass("uk-active").blur(); - - // Update ARIA - ele.attr('aria-checked', ele.hasClass("uk-active")); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - - UI.component('button', { - - defaults: {}, - - boot: function() { - - UI.$html.on("click.button.uikit", "[data-uk-button]", function(e) { - var ele = UI.$(this); - - if (!ele.data("button")) { - - var obj = UI.button(ele, UI.Utils.options(ele.attr("data-uk-button"))); - ele.trigger("click"); - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - - this.on("click", function(e) { - - if ($this.element.is('a[href="#"]')) e.preventDefault(); - - $this.toggle(); - $this.trigger("change.uk.button", [$this.element.blur().hasClass("uk-active")]); - }); - - }, - - toggle: function() { - this.element.toggleClass("uk-active"); - - // Update ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - } - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - var active = false, hoverIdle; - - UI.component('dropdown', { - - defaults: { - 'mode' : 'hover', - 'remaintime' : 800, - 'justify' : false, - 'boundary' : UI.$win, - 'delay' : 0, - 'hoverDelayIdle' : 250 - }, - - remainIdle: false, - - boot: function() { - - var triggerevent = UI.support.touch ? "click" : "mouseenter"; - - // init code - UI.$html.on(triggerevent+".dropdown.uikit", "[data-uk-dropdown]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("dropdown")) { - - var dropdown = UI.dropdown(ele, UI.Utils.options(ele.attr("data-uk-dropdown"))); - - if (triggerevent=="click" || (triggerevent=="mouseenter" && dropdown.options.mode=="hover")) { - dropdown.element.trigger(triggerevent); - } - - if (dropdown.element.find('.uk-dropdown').length) { - e.preventDefault(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.dropdown = this.find('.uk-dropdown'); - - this.centered = this.dropdown.hasClass('uk-dropdown-center'); - this.justified = this.options.justify ? UI.$(this.options.justify) : false; - - this.boundary = UI.$(this.options.boundary); - this.flipped = this.dropdown.hasClass('uk-dropdown-flip'); - - if (!this.boundary.length) { - this.boundary = UI.$win; - } - - // Init ARIA - this.element.attr('aria-haspopup', 'true'); - this.element.attr('aria-expanded', this.element.hasClass("uk-open")); - - if (this.options.mode == "click" || UI.support.touch) { - - this.on("click.uikit.dropdown", function(e) { - - var $target = UI.$(e.target); - - if (!$target.parents(".uk-dropdown").length) { - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']") || ($this.dropdown.length && !$this.dropdown.is(":visible")) ){ - e.preventDefault(); - } - - $target.blur(); - } - - if (!$this.element.hasClass('uk-open')) { - - $this.show(); - - } else { - - if ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length) { - $this.hide(); - } - } - }); - - } else { - - this.on("mouseenter", function(e) { - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - if (active && active == $this) { - return; - } - - // pseudo manuAim - if (active && active != $this) { - - hoverIdle = setTimeout(function() { - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - }, $this.options.hoverDelayIdle); - - } else { - - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - } - - }).on("mouseleave", function() { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - $this.remainIdle = setTimeout(function() { - if (active && active == $this) $this.hide(); - }, $this.options.remaintime); - - }).on("click", function(e){ - - var $target = UI.$(e.target); - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']")){ - e.preventDefault(); - } - - $this.show(); - }); - } - }, - - show: function(){ - - UI.$html.off("click.outer.dropdown"); - - if (active && active != this) { - active.hide(); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - this.checkDimensions(); - this.element.addClass('uk-open'); - - // Update ARIA - this.element.attr('aria-expanded', 'true'); - - this.trigger('show.uk.dropdown', [this]); - - UI.Utils.checkDisplay(this.dropdown, true); - active = this; - - this.registerOuterClick(); - }, - - hide: function() { - this.element.removeClass('uk-open'); - - if (this.remainIdle) { - clearTimeout(this.remainIdle); - } - - this.remainIdle = false; - - // Update ARIA - this.element.attr('aria-expanded', 'false'); - - this.trigger('hide.uk.dropdown', [this]); - - if (active == this) active = false; - }, - - registerOuterClick: function(){ - - var $this = this; - - UI.$html.off("click.outer.dropdown"); - - setTimeout(function() { - - UI.$html.on("click.outer.dropdown", function(e) { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - var $target = UI.$(e.target); - - if (active == $this && ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length)) { - $this.hide(); - UI.$html.off("click.outer.dropdown"); - } - }); - }, 10); - }, - - checkDimensions: function() { - - if (!this.dropdown.length) return; - - if (this.justified && this.justified.length) { - this.dropdown.css("min-width", ""); - } - - var $this = this, - dropdown = this.dropdown.css("margin-" + UI.langdirection, ""), - offset = dropdown.show().offset(), - width = dropdown.outerWidth(), - boundarywidth = this.boundary.width(), - boundaryoffset = this.boundary.offset() ? this.boundary.offset().left:0; - - // centered dropdown - if (this.centered) { - dropdown.css("margin-" + UI.langdirection, (parseFloat(width) / 2 - dropdown.parent().width() / 2) * -1); - offset = dropdown.offset(); - - // reset dropdown - if ((width + offset.left) > boundarywidth || offset.left < 0) { - dropdown.css("margin-" + UI.langdirection, ""); - offset = dropdown.offset(); - } - } - - // justify dropdown - if (this.justified && this.justified.length) { - - var jwidth = this.justified.outerWidth(); - - dropdown.css("min-width", jwidth); - - if (UI.langdirection == 'right') { - - var right1 = boundarywidth - (this.justified.offset().left + jwidth), - right2 = boundarywidth - (dropdown.offset().left + dropdown.outerWidth()); - - dropdown.css("margin-right", right1 - right2); - - } else { - dropdown.css("margin-left", this.justified.offset().left - offset.left); - } - - offset = dropdown.offset(); - - } - - if ((width + (offset.left-boundaryoffset)) > boundarywidth) { - dropdown.addClass('uk-dropdown-flip'); - offset = dropdown.offset(); - } - - if ((offset.left-boundaryoffset) < 0) { - - dropdown.addClass("uk-dropdown-stack"); - - if (dropdown.hasClass('uk-dropdown-flip')) { - - if (!this.flipped) { - dropdown.removeClass('uk-dropdown-flip'); - offset = dropdown.offset(); - dropdown.addClass('uk-dropdown-flip'); - } - - setTimeout(function(){ - - if ((dropdown.offset().left-boundaryoffset) < 0 || !$this.flipped && (dropdown.outerWidth() + (offset.left-boundaryoffset)) < boundarywidth) { - dropdown.removeClass('uk-dropdown-flip'); - } - }, 0); - } - - this.trigger('stack.uk.dropdown', [this]); - } - - dropdown.css("display", ""); - } - - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - var grids = []; - - UI.component('gridMatchHeight', { - - defaults: { - "target" : false, - "row" : true, - "ignorestacked" : false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-match]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMatchHeight")) { - obj = UI.gridMatchHeight(grid, UI.Utils.options(grid.attr("data-uk-grid-match"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - this.elements = this.options.target ? this.find(this.options.target) : this.columns; - - if (!this.columns.length) return; - - UI.$win.on('load resize orientationchange', (function() { - - var fn = function() { - $this.match(); - }; - - UI.$(function() { fn(); }); - - return UI.Utils.debounce(fn, 50); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.elements = $this.options.target ? $this.find($this.options.target) : $this.columns; - $this.match(); - }); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.match(); - }.bind(this)); - - grids.push(this); - }, - - match: function() { - - var firstvisible = this.columns.filter(":visible:first"); - - if (!firstvisible.length) return; - - var stacked = Math.ceil(100 * parseFloat(firstvisible.css('width')) / parseFloat(firstvisible.parent().css('width'))) >= 100; - - if (stacked && !this.options.ignorestacked) { - this.revert(); - } else { - UI.Utils.matchHeights(this.elements, this.options); - } - - return this; - }, - - revert: function() { - this.elements.css('min-height', ''); - return this; - } - }); - - UI.component('gridMargin', { - - defaults: { - "cls": "uk-grid-margin" - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-margin]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMargin")) { - obj = UI.gridMargin(grid, UI.Utils.options(grid.attr("data-uk-grid-margin"))); - } - }); - }); - }, - - init: function() { - - var stackMargin = UI.stackMargin(this.element, this.options); - } - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - var active = false, activeCount = 0, $html = UI.$html, body; - - UI.component('modal', { - - defaults: { - keyboard: true, - bgclose: true, - minScrollHeight: 150, - center: false, - modal: true - }, - - scrollable: false, - transition: false, - - init: function() { - - if (!body) body = UI.$('body'); - - if (!this.element.length) return; - - var $this = this; - - this.paddingdir = "padding-" + (UI.langdirection == 'left' ? "right":"left"); - this.dialog = this.find(".uk-modal-dialog"); - - this.active = false; - - // Update ARIA - this.element.attr('aria-hidden', this.element.hasClass("uk-open")); - - this.on("click", ".uk-modal-close", function(e) { - e.preventDefault(); - $this.hide(); - }).on("click", function(e) { - - var target = UI.$(e.target); - - if (target[0] == $this.element[0] && $this.options.bgclose) { - $this.hide(); - } - }); - }, - - toggle: function() { - return this[this.isActive() ? "hide" : "show"](); - }, - - show: function() { - - if (!this.element.length) return; - - var $this = this; - - if (this.isActive()) return; - - if (this.options.modal && active) { - active.hide(true); - } - - this.element.removeClass("uk-open").show(); - this.resize(); - - if (this.options.modal) { - active = this; - } - - this.active = true; - - activeCount++; - - this.element.addClass("uk-open"); - - $html.addClass("uk-modal-page").height(); // force browser engine redraw - - // Update ARIA - this.element.attr('aria-hidden', 'false'); - - this.element.trigger("show.uk.modal"); - - UI.Utils.checkDisplay(this.dialog, true); - - return this; - }, - - hide: function(force) { - - if (!force && UI.support.transition) { - - var $this = this; - - this.one(UI.support.transition.end, function() { - $this._hide(); - }).removeClass("uk-open"); - - } else { - - this._hide(); - } - - return this; - }, - - resize: function() { - - var bodywidth = body.width(); - - this.scrollbarwidth = window.innerWidth - bodywidth; - - body.css(this.paddingdir, this.scrollbarwidth); - - this.element.css('overflow-y', this.scrollbarwidth ? 'scroll' : 'auto'); - - if (!this.updateScrollable() && this.options.center) { - - var dh = this.dialog.outerHeight(), - pad = parseInt(this.dialog.css('margin-top'), 10) + parseInt(this.dialog.css('margin-bottom'), 10); - - if ((dh + pad) < window.innerHeight) { - this.dialog.css({'top': (window.innerHeight/2 - dh/2) - pad }); - } else { - this.dialog.css({'top': ''}); - } - } - }, - - updateScrollable: function() { - - // has scrollable? - var scrollable = this.dialog.find('.uk-overflow-container:visible:first'); - - if (scrollable.length) { - - scrollable.css("height", 0); - - var offset = Math.abs(parseInt(this.dialog.css("margin-top"), 10)), - dh = this.dialog.outerHeight(), - wh = window.innerHeight, - h = wh - 2*(offset < 20 ? 20:offset) - dh; - - scrollable.css("height", h < this.options.minScrollHeight ? "":h); - - return true; - } - - return false; - }, - - _hide: function() { - - this.active = false; - activeCount--; - - this.element.hide().removeClass("uk-open"); - - // Update ARIA - this.element.attr('aria-hidden', 'true'); - - if (!activeCount) { - $html.removeClass("uk-modal-page"); - body.css(this.paddingdir, ""); - } - - if(active===this) active = false; - - this.trigger("hide.uk.modal"); - }, - - isActive: function() { - return this.active; - } - - }); - - UI.component('modalTrigger', { - - boot: function() { - - // init code - UI.$html.on("click.modal.uikit", "[data-uk-modal]", function(e) { - - var ele = UI.$(this); - - if (ele.is("a")) { - e.preventDefault(); - } - - if (!ele.data("modalTrigger")) { - var modal = UI.modalTrigger(ele, UI.Utils.options(ele.attr("data-uk-modal"))); - modal.show(); - } - - }); - - // close modal on esc button - UI.$html.on('keydown.modal.uikit', function (e) { - - if (active && e.keyCode === 27 && active.options.keyboard) { // ESC - e.preventDefault(); - active.hide(); - } - }); - - UI.$win.on("resize orientationchange", UI.Utils.debounce(function(){ - if (active) active.resize(); - }, 150)); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.modal = UI.modal(this.options.target, this.options); - - this.on("click", function(e) { - e.preventDefault(); - $this.show(); - }); - - //methods - this.proxy(this.modal, "show hide isActive"); - } - }); - - UI.modal.dialog = function(content, options) { - - var modal = UI.modal(UI.$(UI.modal.dialog.template).appendTo("body"), options); - - modal.on("hide.uk.modal", function(){ - if (modal.persist) { - modal.persist.appendTo(modal.persist.data("modalPersistParent")); - modal.persist = false; - } - modal.element.remove(); - }); - - setContent(content, modal); - - return modal; - }; - - UI.modal.dialog.template = '<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>'; - - UI.modal.alert = function(content, options) { - - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+options.labels.Ok+'</button></div>' - ]).join(""), options); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.confirm = function(content, onconfirm, options) { - - onconfirm = UI.$.isFunction(onconfirm) ? onconfirm : function(){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options); - - modal.element.find(".js-modal-confirm").on("click", function(){ - onconfirm(); - modal.hide(); - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.prompt = function(text, value, onsubmit, options) { - - onsubmit = UI.$.isFunction(onsubmit) ? onsubmit : function(value){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - text ? '<div class="uk-modal-content uk-form">'+String(text)+'</div>':'', - '<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options), - - input = modal.element.find("input[type='text']").val(value || '').on('keyup', function(e){ - if (e.keyCode == 13) { - modal.element.find(".js-modal-ok").trigger('click'); - } - }); - - modal.element.find(".js-modal-ok").on("click", function(){ - if (onsubmit(input.val())!==false){ - modal.hide(); - } - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - input.focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.blockUI = function(content, options) { - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content || '<div class="uk-text-center">...</div>')+'</div>' - ]).join(""), UI.$.extend({bgclose:false, keyboard:false, modal:false}, options)); - - modal.content = modal.element.find('.uk-modal-content:first'); - modal.show(); - - return modal; - }; - - - UI.modal.labels = { - 'Ok': 'Ok', - 'Cancel': 'Cancel' - }; - - - // helper functions - function setContent(content, modal){ - - if(!modal) return; - - if (typeof content === 'object') { - - // convert DOM object to a jQuery object - content = content instanceof jQuery ? content : UI.$(content); - - if(content.parent().length) { - modal.persist = content; - modal.persist.data("modalPersistParent", content.parent()); - } - }else if (typeof content === 'string' || typeof content === 'number') { - // just insert the data as innerHTML - content = UI.$('<div></div>').html(content); - }else { - // unsupported data type! - content = UI.$('<div></div>').html('UIkit.modal Error: Unsupported data type: ' + typeof content); - } - - content.appendTo(modal.element.find('.uk-modal-dialog')); - - return modal; - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('nav', { - - defaults: { - "toggle": ">li.uk-parent > a[href='#']", - "lists": ">li.uk-parent > ul", - "multiple": false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-nav]", context).each(function() { - var nav = UI.$(this); - - if (!nav.data("nav")) { - var obj = UI.nav(nav, UI.Utils.options(nav.attr("data-uk-nav"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.nav", this.options.toggle, function(e) { - e.preventDefault(); - var ele = UI.$(this); - $this.open(ele.parent()[0] == $this.element[0] ? ele : ele.parent("li")); - }); - - this.find(this.options.lists).each(function() { - var $ele = UI.$(this), - parent = $ele.parent(), - active = parent.hasClass("uk-active"); - - $ele.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'); - parent.data("list-container", $ele.parent()[active ? 'removeClass':'addClass']('uk-hidden')); - - // Init ARIA - parent.attr('aria-expanded', parent.hasClass("uk-open")); - - if (active) $this.open(parent, true); - }); - - }, - - open: function(li, noanimation) { - - var $this = this, element = this.element, $li = UI.$(li), $container = $li.data('list-container'); - - if (!this.options.multiple) { - - element.children('.uk-open').not(li).each(function() { - - var ele = UI.$(this); - - if (ele.data('list-container')) { - ele.data('list-container').stop().animate({height: 0}, function() { - UI.$(this).parent().removeClass('uk-open').end().addClass('uk-hidden'); - }); - } - }); - } - - $li.toggleClass('uk-open'); - - // Update ARIA - $li.attr('aria-expanded', $li.hasClass('uk-open')); - - if ($container) { - - if ($li.hasClass('uk-open')) { - $container.removeClass('uk-hidden'); - } - - if (noanimation) { - - $container.stop().height($li.hasClass('uk-open') ? 'auto' : 0); - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } - - this.trigger('display.uk.check'); - - } else { - - $container.stop().animate({ - height: ($li.hasClass('uk-open') ? getHeight($container.find('ul:first')) : 0) - }, function() { - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } else { - $container.css('height', ''); - } - - $this.trigger('display.uk.check'); - }); - } - } - } - }); - - - // helper - - function getHeight(ele) { - var $ele = UI.$(ele), height = "auto"; - - if ($ele.is(":visible")) { - height = $ele.outerHeight(); - } else { - var tmp = { - position: $ele.css("position"), - visibility: $ele.css("visibility"), - display: $ele.css("display") - }; - - height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); - - $ele.css(tmp); // reset element - } - - return height; - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - var scrollpos = {x: window.scrollX, y: window.scrollY}, - $win = UI.$win, - $doc = UI.$doc, - $html = UI.$html, - Offcanvas = { - - show: function(element) { - - element = UI.$(element); - - if (!element.length) return; - - var $body = UI.$('body'), - bar = element.find(".uk-offcanvas-bar:first"), - rtl = (UI.langdirection == "right"), - flip = bar.hasClass("uk-offcanvas-bar-flip") ? -1:1, - dir = flip * (rtl ? -1 : 1); - - scrollpos = {x: window.pageXOffset, y: window.pageYOffset}; - - element.addClass("uk-active"); - - $body.css({"width": window.innerWidth, "height": window.innerHeight}).addClass("uk-offcanvas-page"); - $body.css((rtl ? "margin-right" : "margin-left"), (rtl ? -1 : 1) * (bar.outerWidth() * dir)).width(); // .width() - force redraw - - $html.css('margin-top', scrollpos.y * -1); - - bar.addClass("uk-offcanvas-bar-show"); - - this._initElement(element); - - bar.trigger('show.uk.offcanvas', [element, bar]); - - // Update ARIA - element.attr('aria-hidden', 'false'); - }, - - hide: function(force) { - - var $body = UI.$('body'), - panel = UI.$(".uk-offcanvas.uk-active"), - rtl = (UI.langdirection == "right"), - bar = panel.find(".uk-offcanvas-bar:first"), - finalize = function() { - $body.removeClass("uk-offcanvas-page").css({"width": "", "height": "", "margin-left": "", "margin-right": ""}); - panel.removeClass("uk-active"); - - bar.removeClass("uk-offcanvas-bar-show"); - $html.css('margin-top', ''); - window.scrollTo(scrollpos.x, scrollpos.y); - bar.trigger('hide.uk.offcanvas', [panel, bar]); - - // Update ARIA - panel.attr('aria-hidden', 'true'); - }; - - if (!panel.length) return; - - if (UI.support.transition && !force) { - - $body.one(UI.support.transition.end, function() { - finalize(); - }).css((rtl ? "margin-right" : "margin-left"), ""); - - setTimeout(function(){ - bar.removeClass("uk-offcanvas-bar-show"); - }, 0); - - } else { - finalize(); - } - }, - - _initElement: function(element) { - - if (element.data("OffcanvasInit")) return; - - element.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas", function(e) { - - var target = UI.$(e.target); - - if (!e.type.match(/swipe/)) { - - if (!target.hasClass("uk-offcanvas-close")) { - if (target.hasClass("uk-offcanvas-bar")) return; - if (target.parents(".uk-offcanvas-bar:first").length) return; - } - } - - e.stopImmediatePropagation(); - Offcanvas.hide(); - }); - - element.on("click", "a[href^='#']", function(e){ - - var link = UI.$(this), - href = link.attr("href"); - - if (href == "#") { - return; - } - - UI.$doc.one('hide.uk.offcanvas', function() { - - var target; - - try { - target = UI.$(href); - } catch (e){ - target = "" - } - - if (!target.length) { - target = UI.$('[name="'+href.replace('#','')+'"]'); - } - - if (target.length && link.attr('data-uk-smooth-scroll') && UI.Utils.scrollToElement) { - UI.Utils.scrollToElement(target, UI.Utils.options(link.attr('data-uk-smooth-scroll') || '{}')); - } else { - window.location.href = href; - } - }); - - Offcanvas.hide(); - }); - - element.data("OffcanvasInit", true); - } - }; - - UI.component('offcanvasTrigger', { - - boot: function() { - - // init code - $html.on("click.offcanvas.uikit", "[data-uk-offcanvas]", function(e) { - - e.preventDefault(); - - var ele = UI.$(this); - - if (!ele.data("offcanvasTrigger")) { - var obj = UI.offcanvasTrigger(ele, UI.Utils.options(ele.attr("data-uk-offcanvas"))); - ele.trigger("click"); - } - }); - - $html.on('keydown.uk.offcanvas', function(e) { - - if (e.keyCode === 27) { // ESC - Offcanvas.hide(); - } - }); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.on("click", function(e) { - e.preventDefault(); - Offcanvas.show($this.options.target); - }); - } - }); - - UI.offcanvas = Offcanvas; - -})(UIkit); - -(function(UI) { - - "use strict"; - - var Animations; - - UI.component('switcher', { - - defaults: { - connect : false, - toggle : ">*", - active : 0, - animation : false, - duration : 200 - }, - - animating: false, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-switcher]", context).each(function() { - var switcher = UI.$(this); - - if (!switcher.data("switcher")) { - var obj = UI.switcher(switcher, UI.Utils.options(switcher.attr("data-uk-switcher"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.switcher", this.options.toggle, function(e) { - e.preventDefault(); - $this.show(this); - }); - - if (this.options.connect) { - - this.connect = UI.$(this.options.connect); - - this.connect.find(".uk-active").removeClass(".uk-active"); - - // delegate switch commands within container content - if (this.connect.length) { - - // Init ARIA for connect - this.connect.children().attr('aria-hidden', 'true'); - - this.connect.on("click", '[data-uk-switcher-item]', function(e) { - - e.preventDefault(); - - var item = UI.$(this).attr('data-uk-switcher-item'); - - if ($this.index == item) return; - - switch(item) { - case 'next': - case 'previous': - $this.show($this.index + (item=='next' ? 1:-1)); - break; - default: - $this.show(parseInt(item, 10)); - } - }).on('swipeRight swipeLeft', function(e) { - e.preventDefault(); - if(!window.getSelection().toString()) { - $this.show($this.index + (e.type == 'swipeLeft' ? 1 : -1)); - } - }); - } - - var toggles = this.find(this.options.toggle), - active = toggles.filter(".uk-active"); - - if (active.length) { - this.show(active, false); - } else { - - if (this.options.active===false) return; - - active = toggles.eq(this.options.active); - this.show(active.length ? active : toggles.eq(0), false); - } - - // Init ARIA for toggles - toggles.not(active).attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - this.on('changed.uk.dom', function() { - $this.connect = UI.$($this.options.connect); - }); - } - - }, - - show: function(tab, animate) { - - if (this.animating) { - return; - } - - if (isNaN(tab)) { - tab = UI.$(tab); - } else { - - var toggles = this.find(this.options.toggle); - - tab = tab < 0 ? toggles.length-1 : tab; - tab = toggles.eq(toggles[tab] ? tab : 0); - } - - var $this = this, - toggles = this.find(this.options.toggle), - active = UI.$(tab), - animation = Animations[this.options.animation] || function(current, next) { - - if (!$this.options.animation) { - return Animations.none.apply($this); - } - - var anim = $this.options.animation.split(','); - - if (anim.length == 1) { - anim[1] = anim[0]; - } - - anim[0] = anim[0].trim(); - anim[1] = anim[1].trim(); - - return coreAnimation.apply($this, [anim, current, next]); - }; - - if (animate===false || !UI.support.animation) { - animation = Animations.none; - } - - if (active.hasClass("uk-disabled")) return; - - // Update ARIA for Toggles - toggles.attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - toggles.filter(".uk-active").removeClass("uk-active"); - active.addClass("uk-active"); - - if (this.options.connect && this.connect.length) { - - this.index = this.find(this.options.toggle).index(active); - - if (this.index == -1 ) { - this.index = 0; - } - - this.connect.each(function() { - - var container = UI.$(this), - children = UI.$(container.children()), - current = UI.$(children.filter('.uk-active')), - next = UI.$(children.eq($this.index)); - - $this.animating = true; - - animation.apply($this, [current, next]).then(function(){ - - current.removeClass("uk-active"); - next.addClass("uk-active"); - - // Update ARIA for connect - current.attr('aria-hidden', 'true'); - next.attr('aria-hidden', 'false'); - - UI.Utils.checkDisplay(next, true); - - $this.animating = false; - }); - }); - } - - this.trigger("show.uk.switcher", [active]); - } - }); - - Animations = { - - 'none': function() { - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'fade': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-fade', current, next]); - }, - - 'slide-bottom': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); - }, - - 'slide-top': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); - }, - - 'slide-vertical': function(current, next, dir) { - - var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'slide-left': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-left', current, next]); - }, - - 'slide-right': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-right', current, next]); - }, - - 'slide-horizontal': function(current, next, dir) { - - var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'scale': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); - } - }; - - UI.switcher.animations = Animations; - - - // helpers - - function coreAnimation(cls, current, next) { - - var d = UI.$.Deferred(), clsIn = cls, clsOut = cls, release; - - if (next[0]===current[0]) { - d.resolve(); - return d.promise(); - } - - if (typeof(cls) == 'object') { - clsIn = cls[0]; - clsOut = cls[1] || cls[0]; - } - - release = function() { - - if (current) current.hide().removeClass('uk-active '+clsOut+' uk-animation-reverse'); - - next.addClass(clsIn).one(UI.support.animation.end, function() { - - next.removeClass(''+clsIn+'').css({opacity:'', display:''}); - - d.resolve(); - - if (current) current.css({opacity:'', display:''}); - - }.bind(this)).show(); - }; - - next.css('animation-duration', this.options.duration+'ms'); - - if (current && current.length) { - - current.css('animation-duration', this.options.duration+'ms'); - - current.css('display', 'none').addClass(clsOut+' uk-animation-reverse').one(UI.support.animation.end, function() { - release(); - }.bind(this)).css('display', ''); - - } else { - next.addClass('uk-active'); - release(); - } - - return d.promise(); - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('tab', { - - defaults: { - 'target' : '>li:not(.uk-tab-responsive, .uk-disabled)', - 'connect' : false, - 'active' : 0, - 'animation' : false, - 'duration' : 200 - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-tab]", context).each(function() { - - var tab = UI.$(this); - - if (!tab.data("tab")) { - var obj = UI.tab(tab, UI.Utils.options(tab.attr("data-uk-tab"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.current = false; - - this.on("click.uikit.tab", this.options.target, function(e) { - - e.preventDefault(); - - if ($this.switcher && $this.switcher.animating) { - return; - } - - var current = $this.find($this.options.target).not(this); - - current.removeClass("uk-active").blur(); - - $this.trigger("change.uk.tab", [UI.$(this).addClass("uk-active"), $this.current]); - - $this.current = UI.$(this); - - // Update ARIA - if (!$this.options.connect) { - current.attr('aria-expanded', 'false'); - UI.$(this).attr('aria-expanded', 'true'); - } - }); - - if (this.options.connect) { - this.connect = UI.$(this.options.connect); - } - - // init responsive tab - this.responsivetab = UI.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'); - - this.responsivetab.dropdown = this.responsivetab.find('.uk-dropdown'); - this.responsivetab.lst = this.responsivetab.dropdown.find('ul'); - this.responsivetab.caption = this.responsivetab.find('a:first'); - - if (this.element.hasClass("uk-tab-bottom")) this.responsivetab.dropdown.addClass("uk-dropdown-up"); - - // handle click - this.responsivetab.lst.on('click.uikit.tab', 'a', function(e) { - - e.preventDefault(); - e.stopPropagation(); - - var link = UI.$(this); - - $this.element.children('li:not(.uk-tab-responsive)').eq(link.data('index')).trigger('click'); - }); - - this.on('show.uk.switcher change.uk.tab', function(e, tab) { - $this.responsivetab.caption.html(tab.text()); - }); - - this.element.append(this.responsivetab); - - // init UIkit components - if (this.options.connect) { - this.switcher = UI.switcher(this.element, { - "toggle" : ">li:not(.uk-tab-responsive)", - "connect" : this.options.connect, - "active" : this.options.active, - "animation" : this.options.animation, - "duration" : this.options.duration - }); - } - - UI.dropdown(this.responsivetab, {"mode": "click"}); - - // init - $this.trigger("change.uk.tab", [this.element.find(this.options.target).not('.uk-tab-responsive').filter('.uk-active')]); - - this.check(); - - UI.$win.on('resize orientationchange', UI.Utils.debounce(function(){ - if ($this.element.is(":visible")) $this.check(); - }, 100)); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) $this.check(); - }); - }, - - check: function() { - - var children = this.element.children('li:not(.uk-tab-responsive)').removeClass('uk-hidden'); - - if (!children.length) { - this.responsivetab.addClass('uk-hidden'); - return; - } - - var top = (children.eq(0).offset().top + Math.ceil(children.eq(0).height()/2)), - doresponsive = false, - item, link, clone; - - this.responsivetab.lst.empty(); - - children.each(function(){ - - if (UI.$(this).offset().top > top) { - doresponsive = true; - } - }); - - if (doresponsive) { - - for (var i = 0; i < children.length; i++) { - - item = UI.$(children.eq(i)); - link = item.find('a'); - - if (item.css('float') != 'none' && !item.attr('uk-dropdown')) { - - if (!item.hasClass('uk-disabled')) { - - clone = item[0].outerHTML.replace('<a ', '<a data-index="'+i+'" '); - - this.responsivetab.lst.append(clone); - } - - item.addClass('uk-hidden'); - } - } - } - - this.responsivetab[this.responsivetab.lst.children('li').length ? 'removeClass':'addClass']('uk-hidden'); - } - }); - -})(UIkit); - -(function(UI){ - - "use strict"; - - UI.component('cover', { - - defaults: { - automute : true - }, - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-cover]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("cover")) { - var plugin = UI.cover(ele, UI.Utils.options(ele.attr("data-uk-cover"))); - } - }); - }); - }, - - init: function() { - - this.parent = this.element.parent(); - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ - this.check(); - }.bind(this), 100)); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.check(); - }.bind(this)); - - this.check(); - - if (this.element.is('iframe') && this.options.automute) { - - var src = this.element.attr('src'); - - this.element.attr('src', '').on('load', function(){ - - this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); - - }).attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1'].join('')); - } - }, - - check: function() { - - this.element.css({ - 'width' : '', - 'height' : '' - }); - - this.dimension = {w: this.element.width(), h: this.element.height()}; - - if (this.element.attr('width') && !isNaN(this.element.attr('width'))) { - this.dimension.w = this.element.attr('width'); - } - - if (this.element.attr('height') && !isNaN(this.element.attr('height'))) { - this.dimension.h = this.element.attr('height'); - } - - this.ratio = this.dimension.w / this.dimension.h; - - var w = this.parent.width(), h = this.parent.height(), width, height; - - // if element height < parent height (gap underneath) - if ((w / this.ratio) < h) { - - width = Math.ceil(h * this.ratio); - height = h; - - // element width < parent width (gap to right) - } else { - - width = w; - height = Math.ceil(w / this.ratio); - } - - this.element.css({ - 'width' : width, - 'height' : height - }); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/uikit.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/uikit.min.js deleted file mode 100644 index 1702ac2af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/uikit/js/uikit.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){if("function"==typeof define&&define.amd&&define("uikit",function(){var i=window.UIkit||t(window,window.jQuery,window.document);return i.load=function(t,e,n,o){var s,a=t.split(","),r=[],l=(o.config&&o.config.uikit&&o.config.uikit.base?o.config.uikit.base:"").replace(/\/+$/g,"");if(!l)throw new Error("Please define base path to UIkit in the requirejs config.");for(s=0;s<a.length;s+=1){var c=a[s].replace(/\./g,"/");r.push(l+"/components/"+c)}e(r,function(){n(i)})},i}),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&t(window,window.jQuery,window.document)}(function(t,i,e){"use strict";var n={},o=t.UIkit?Object.create(t.UIkit):void 0;if(n.version="2.21.0",n.noConflict=function(){return o&&(t.UIkit=o,i.UIkit=o,i.fn.uk=o.fn),n},n.prefix=function(t){return t},n.$=i,n.$doc=n.$(document),n.$win=n.$(window),n.$html=n.$("html"),n.support={},n.support.transition=function(){var t=function(){var t,i=e.body||e.documentElement,n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==i.style[t])return n[t]}();return t&&{end:t}}(),n.support.animation=function(){var t=function(){var t,i=e.body||e.documentElement,n={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(void 0!==i.style[t])return n[t]}();return t&&{end:t}}(),function(){var i=0;t.requestAnimationFrame=t.requestAnimationFrame||t.webkitRequestAnimationFrame||function(e){var n=(new Date).getTime(),o=Math.max(0,16-(n-i)),s=t.setTimeout(function(){e(n+o)},o);return i=n+o,s},t.cancelAnimationFrame||(t.cancelAnimationFrame=function(t){clearTimeout(t)})}(),n.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,n.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,n.Utils={},n.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},n.Utils.str2json=function(t,i){try{return i?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,i){return'"'+i+'":'}).replace(/'([^']+)'/g,function(t,i){return'"'+i+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(e){return!1}},n.Utils.debounce=function(t,i,e){var n;return function(){var o=this,s=arguments,a=function(){n=null,e||t.apply(o,s)},r=e&&!n;clearTimeout(n),n=setTimeout(a,i),r&&t.apply(o,s)}},n.Utils.removeCssRules=function(t){var i,e,n,o,s,a,r,l,c,u;t&&setTimeout(function(){try{for(u=document.styleSheets,o=0,r=u.length;r>o;o++){for(n=u[o],e=[],n.cssRules=n.cssRules,i=s=0,l=n.cssRules.length;l>s;i=++s)n.cssRules[i].type===CSSRule.STYLE_RULE&&t.test(n.cssRules[i].selectorText)&&e.unshift(i);for(a=0,c=e.length;c>a;a++)n.deleteRule(e[a])}}catch(h){}},0)},n.Utils.isInView=function(t,e){var o=i(t);if(!o.is(":visible"))return!1;var s=n.$win.scrollLeft(),a=n.$win.scrollTop(),r=o.offset(),l=r.left,c=r.top;return e=i.extend({topoffset:0,leftoffset:0},e),c+o.height()>=a&&c-e.topoffset<=a+n.$win.height()&&l+o.width()>=s&&l-e.leftoffset<=s+n.$win.width()?!0:!1},n.Utils.checkDisplay=function(t,e){var o=n.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!o.length&&(o=i(t)),o.trigger("display.uk.check"),e&&("string"!=typeof e&&(e='[class*="uk-animation-"]'),o.find(e).each(function(){var t=n.$(this),i=t.attr("class"),e=i.match(/uk\-animation\-(.+)/);t.removeClass(e[0]).width(),t.addClass(e[0])})),o},n.Utils.options=function(t){if(i.isPlainObject(t))return t;var e=t?t.indexOf("{"):-1,o={};if(-1!=e)try{o=n.Utils.str2json(t.substr(e))}catch(s){}return o},n.Utils.animate=function(t,e){var o=i.Deferred();return t=n.$(t),e=e,t.css("display","none").addClass(e).one(n.support.animation.end,function(){t.removeClass(e),o.resolve()}).width(),t.css("display",""),o.promise()},n.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},n.Utils.template=function(t,i){for(var e,n,o,s,a=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),r=0,l=[],c=0;r<a.length;){if(e=a[r],e.match(/\{\{\s*(.+?)\s*\}\}/))switch(r+=1,e=a[r],n=e[0],o=e.substring(e.match(/^(\^|\#|\!|\~|\:)/)?1:0),n){case"~":l.push("for(var $i=0;$i<"+o+".length;$i++) { var $item = "+o+"[$i];"),c++;break;case":":l.push("for(var $key in "+o+") { var $val = "+o+"[$key];"),c++;break;case"#":l.push("if("+o+") {"),c++;break;case"^":l.push("if(!"+o+") {"),c++;break;case"/":l.push("}"),c--;break;case"!":l.push("__ret.push("+o+");");break;default:l.push("__ret.push(escape("+o+"));")}else l.push("__ret.push('"+e.replace(/\'/g,"\\'")+"');");r+=1}return s=new Function("$data",["var __ret = [];","try {","with($data){",c?'__ret = ["Not all blocks are closed correctly."]':l.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}"].join("\n")),i?s(i):s},n.Utils.events={},n.Utils.events.click=n.support.touch?"tap":"click",t.UIkit=n,n.fn=function(t,e){var o=arguments,s=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),a=s[1],r=s[2];return n[a]?this.each(function(){var t=i(this),s=t.data(a);s||t.data(a,s=n[a](this,r?void 0:e)),r&&s[r].apply(s,Array.prototype.slice.call(o,1))}):(i.error("UIkit component ["+a+"] does not exist."),this)},i.UIkit=n,i.fn.uk=n.fn,n.langdirection="rtl"==n.$html.attr("dir")?"right":"left",n.components={},n.component=function(t,e){var o=function(e,s){var a=this;return this.UIkit=n,this.element=e?n.$(e):null,this.options=i.extend(!0,{},this.defaults,s),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(o.plugins)).forEach(function(t){o.plugins[t].init&&(o.plugins[t].init(a),a.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return o.plugins={},i.extend(!0,o.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,i,e){return n.$(this.element||this).on(t,i,e)},one:function(t,i,e){return n.$(this.element||this).one(t,i,e)},off:function(t){return n.$(this.element||this).off(t)},trigger:function(t,i){return n.$(this.element||this).trigger(t,i)},find:function(t){return n.$(this.element?this.element:[]).find(t)},proxy:function(t,i){var e=this;i.split(" ").forEach(function(i){e[i]||(e[i]=function(){return t[i].apply(t,arguments)})})},mixin:function(t,i){var e=this;i.split(" ").forEach(function(i){e[i]||(e[i]=t[i].bind(e))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:(2==arguments.length&&(this.options[arguments[0]]=arguments[1]),void 0)}},e),this.components[t]=o,this[t]=function(){var e,o;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?e=i(arguments[0]):o=arguments[0];break;case 2:e=i(arguments[0]),o=arguments[1]}return e&&e.data(t)?e.data(t):new n.components[t](e,o)},n.domready&&n.component.boot(t),o},n.plugin=function(t,i,e){this.components[t].plugins[i]=e},n.component.boot=function(t){n.components[t].prototype&&n.components[t].prototype.boot&&!n.components[t].booted&&(n.components[t].prototype.boot.apply(n,[]),n.components[t].booted=!0)},n.component.bootComponents=function(){for(var t in n.components)n.component.boot(t)},n.domObservers=[],n.domready=!1,n.ready=function(t){n.domObservers.push(t),n.domready&&t(document)},n.on=function(t,i,e){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready&&i.apply(n.$doc),n.$doc.on(t,i,e)},n.one=function(t,i,e){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready?(i.apply(n.$doc),n.$doc):n.$doc.one(t,i,e)},n.trigger=function(t,i){return n.$doc.trigger(t,i)},n.domObserve=function(t,i){n.support.mutationobserver&&(i=i||function(){},n.$(t).each(function(){var t=this,e=n.$(t);if(!e.data("observer"))try{var o=new n.support.mutationobserver(n.Utils.debounce(function(){i.apply(t,[]),e.trigger("changed.uk.dom")},50));o.observe(t,{childList:!0,subtree:!0}),e.data("observer",o)}catch(s){}}))},n.init=function(t){t=t||document,n.domObservers.forEach(function(i){i(t)})},n.on("domready.uk.dom",function(){n.init(),n.domready&&n.Utils.checkDisplay()}),i(function(){n.$body=n.$("body"),n.ready(function(){n.domObserve("[data-uk-observe]")}),n.on("changed.uk.dom",function(t){n.init(t.target),n.Utils.checkDisplay(t.target)}),n.trigger("beforeready.uk.dom"),n.component.bootComponents(),setInterval(function(){var t,i={x:window.pageXOffset,y:window.pageYOffset},e=function(){(i.x!=window.pageXOffset||i.y!=window.pageYOffset)&&(t={x:0,y:0},window.pageXOffset!=i.x&&(t.x=window.pageXOffset>i.x?1:-1),window.pageYOffset!=i.y&&(t.y=window.pageYOffset>i.y?1:-1),i={dir:t,x:window.pageXOffset,y:window.pageYOffset},n.$doc.trigger("scrolling.uk.document",[i]))};return n.support.touch&&n.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",e),(i.x||i.y)&&e(),e}(),15),n.trigger("domready.uk.dom"),n.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&n.$win.on("load orientationchange resize",n.Utils.debounce(function(){var t=function(){return i(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),n.trigger("afterready.uk.dom"),n.domready=!0}),n.$html.addClass(n.support.touch?"uk-touch":"uk-notouch"),n.support.touch){var s,a=!1,r="uk-hover",l=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";n.$html.on("touchstart MSPointerDown pointerdown",l,function(){a&&i("."+r).removeClass(r),a=i(this).addClass(r)}).on("touchend MSPointerUp pointerup",function(t){s=i(t.target).parents(l),a&&a.not(s).removeClass(r)})}return n}),function(t){function i(t,i,e,n){return Math.abs(t-i)>=Math.abs(e-n)?t-i>0?"Left":"Right":e-n>0?"Up":"Down"}function e(){c=null,h.last&&(h.el.trigger("longTap"),h={})}function n(){c&&clearTimeout(c),c=null}function o(){a&&clearTimeout(a),r&&clearTimeout(r),l&&clearTimeout(l),c&&clearTimeout(c),a=r=l=c=null,h={}}function s(t){return t.pointerType==t.MSPOINTER_TYPE_TOUCH&&t.isPrimary}if(!t.fn.swipeLeft){var a,r,l,c,u,h={},d=750;t(function(){var f,p,m,g=0,v=0;"MSGesture"in window&&(u=new MSGesture,u.target=document.body),t(document).on("MSGestureEnd gestureend",function(t){var i=t.originalEvent.velocityX>1?"Right":t.originalEvent.velocityX<-1?"Left":t.originalEvent.velocityY>1?"Down":t.originalEvent.velocityY<-1?"Up":null;i&&(h.el.trigger("swipe"),h.el.trigger("swipe"+i))}).on("touchstart MSPointerDown pointerdown",function(i){("MSPointerDown"!=i.type||s(i.originalEvent))&&(m="MSPointerDown"==i.type||"pointerdown"==i.type?i:i.originalEvent.touches[0],f=Date.now(),p=f-(h.last||f),h.el=t("tagName"in m.target?m.target:m.target.parentNode),a&&clearTimeout(a),h.x1=m.pageX,h.y1=m.pageY,p>0&&250>=p&&(h.isDoubleTap=!0),h.last=f,c=setTimeout(e,d),!u||"MSPointerDown"!=i.type&&"pointerdown"!=i.type&&"touchstart"!=i.type||u.addPointer(i.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(t){("MSPointerMove"!=t.type||s(t.originalEvent))&&(m="MSPointerMove"==t.type||"pointermove"==t.type?t:t.originalEvent.touches[0],n(),h.x2=m.pageX,h.y2=m.pageY,g+=Math.abs(h.x1-h.x2),v+=Math.abs(h.y1-h.y2))}).on("touchend MSPointerUp pointerup",function(e){("MSPointerUp"!=e.type||s(e.originalEvent))&&(n(),h.x2&&Math.abs(h.x1-h.x2)>30||h.y2&&Math.abs(h.y1-h.y2)>30?l=setTimeout(function(){h.el.trigger("swipe"),h.el.trigger("swipe"+i(h.x1,h.x2,h.y1,h.y2)),h={}},0):"last"in h&&(isNaN(g)||30>g&&30>v?r=setTimeout(function(){var i=t.Event("tap");i.cancelTouch=o,h.el.trigger(i),h.isDoubleTap?(h.el.trigger("doubleTap"),h={}):a=setTimeout(function(){a=null,h.el.trigger("singleTap"),h={}},250)},0):h={},g=v=0))}).on("touchcancel MSPointerCancel",o),t(window).on("scroll",o)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(i){t.fn[i]=function(e){return t(this).on(i,e)}})}}(jQuery),function(t){"use strict";var i=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top"},boot:function(){t.ready(function(i){t.$("[data-uk-margin]",i).each(function(){var i,e=t.$(this);e.data("stackMargin")||(i=t.stackMargin(e,t.Utils.options(e.attr("data-uk-margin"))))})})},init:function(){var e=this;this.columns=this.element.children(),this.columns.length&&(t.$win.on("resize orientationchange",function(){var i=function(){e.process()};return t.$(function(){i(),t.$win.on("load",i)}),t.Utils.debounce(i,20)}()),t.$html.on("changed.uk.dom",function(){e.columns=e.element.children(),e.process()}),this.on("display.uk.check",function(){e.columns=e.element.children(),this.element.is(":visible")&&this.process()}.bind(this)),i.push(this))},process:function(){return t.Utils.stackMargin(this.columns,this.options),this},revert:function(){return this.columns.removeClass(this.options.cls),this}}),function(){var i=[],e=function(t){if(t.is(":visible")){var i=t.parent().width(),e=t.data("width"),n=i/e,o=Math.floor(n*t.data("height"));t.css({height:e>i?o:t.data("height")})}};t.component("responsiveElement",{defaults:{},boot:function(){t.ready(function(i){t.$("iframe.uk-responsive-width, [data-uk-responsive]",i).each(function(){var i,e=t.$(this);e.data("responsiveIframe")||(i=t.responsiveElement(e,{}))})})},init:function(){var t=this.element;t.attr("width")&&t.attr("height")&&(t.data({width:t.attr("width"),height:t.attr("height")}).on("display.uk.check",function(){e(t)}),e(t),i.push(t))}}),t.$win.on("resize load",t.Utils.debounce(function(){i.forEach(function(t){e(t)})},15))}(),t.Utils.stackMargin=function(i,e){e=t.$.extend({cls:"uk-margin-small-top"},e),e.cls=e.cls,i=t.$(i).removeClass(e.cls);var n=!1,o=i.filter(":visible:first"),s=o.length?o.position().top+o.outerHeight()-1:!1;s!==!1&&i.each(function(){var i=t.$(this);i.is(":visible")&&(n?i.addClass(e.cls):i.position().top>=s&&(n=i.addClass(e.cls)))})},t.Utils.matchHeights=function(i,e){i=t.$(i).css("min-height",""),e=t.$.extend({row:!0},e);var n=function(i){if(!(i.length<2)){var e=0;i.each(function(){e=Math.max(e,t.$(this).outerHeight())}).each(function(){var i=t.$(this),n=e-("border-box"==i.css("box-sizing")?0:i.outerHeight()-i.height());i.css("min-height",n+"px")})}};e.row?(i.first().width(),setTimeout(function(){var e=!1,o=[];i.each(function(){var i=t.$(this),s=i.offset().top;s!=e&&o.length&&(n(t.$(o)),o=[],s=i.offset().top),o.push(i),e=s}),o.length&&n(t.$(o))},0)):n(i)}}(UIkit),function(t){"use strict";function i(i,e){e=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},e);var n=i.offset().top-e.offset,o=t.$doc.height(),s=window.innerHeight;n+s>o&&(n=o-s),t.$("html,body").stop().animate({scrollTop:n},e.duration,e.transition).promise().done(e.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(){var i=t.$(this);if(!i.data("smoothScroll")){{t.smoothScroll(i,t.Utils.options(i.attr("data-uk-smooth-scroll")))}i.trigger("click")}return!1})},init:function(){var e=this;this.on("click",function(n){n.preventDefault(),i(t.$(this.hash).length?t.$(this.hash):t.$("body"),e.options)})}}),t.Utils.scrollToElement=i,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,i,e,n,o){return i==o?e+n:n*(-Math.pow(2,-10*i/o)+1)+e})}(UIkit),function(t){"use strict";var i=t.$win,e=t.$doc,n=[],o=function(){for(var t=0;t<n.length;t++)window.requestAnimationFrame.apply(window,[n[t].check])};t.component("scrollspy",{defaults:{target:!1,cls:"uk-scrollspy-inview",initcls:"uk-scrollspy-init-inview",topoffset:0,leftoffset:0,repeat:!1,delay:0},boot:function(){e.on("scrolling.uk.document",o),i.on("load resize orientationchange",t.Utils.debounce(o,50)),t.ready(function(i){t.$("[data-uk-scrollspy]",i).each(function(){var i=t.$(this);if(!i.data("scrollspy")){t.scrollspy(i,t.Utils.options(i.attr("data-uk-scrollspy")))}})})},init:function(){var i,e=this,o=this.options.cls.split(/,/),s=function(){var n=e.options.target?e.element.find(e.options.target):e.element,s=1===n.length?1:0,a=0;n.each(function(){var n=t.$(this),r=n.data("inviewstate"),l=t.Utils.isInView(n,e.options),c=n.data("ukScrollspyCls")||o[a].trim();!l||r||n.data("scrollspy-idle")||(i||(n.addClass(e.options.initcls),e.offset=n.offset(),i=!0,n.trigger("init.uk.scrollspy")),n.data("scrollspy-idle",setTimeout(function(){n.addClass("uk-scrollspy-inview").toggleClass(c).width(),n.trigger("inview.uk.scrollspy"),n.data("scrollspy-idle",!1),n.data("inviewstate",!0)},e.options.delay*s)),s++),!l&&r&&e.options.repeat&&(n.data("scrollspy-idle")&&clearTimeout(n.data("scrollspy-idle")),n.removeClass("uk-scrollspy-inview").toggleClass(c),n.data("inviewstate",!1),n.trigger("outview.uk.scrollspy")),a=o[a+1]?a+1:0})};s(),this.check=s,n.push(this)}});var s=[],a=function(){for(var t=0;t<s.length;t++)window.requestAnimationFrame.apply(window,[s[t].check])};t.component("scrollspynav",{defaults:{cls:"uk-active",closest:!1,topoffset:0,leftoffset:0,smoothscroll:!1},boot:function(){e.on("scrolling.uk.document",a),i.on("resize orientationchange",t.Utils.debounce(a,50)),t.ready(function(i){t.$("[data-uk-scrollspy-nav]",i).each(function(){var i=t.$(this);if(!i.data("scrollspynav")){t.scrollspynav(i,t.Utils.options(i.attr("data-uk-scrollspy-nav")))}})})},init:function(){var e,n=[],o=this.find("a[href^='#']").each(function(){n.push(t.$(this).attr("href"))}),a=t.$(n.join(",")),r=this.options.cls,l=this.options.closest||this.options.closest,c=this,u=function(){e=[];for(var n=0;n<a.length;n++)t.Utils.isInView(a.eq(n),c.options)&&e.push(a.eq(n));if(e.length){var s,u=i.scrollTop(),h=function(){for(var t=0;t<e.length;t++)if(e[t].offset().top>=u)return e[t]}();if(!h)return;c.options.closest?(o.closest(l).removeClass(r),s=o.filter("a[href='#"+h.attr("id")+"']").closest(l).addClass(r)):s=o.removeClass(r).filter("a[href='#"+h.attr("id")+"']").addClass(r),c.element.trigger("inview.uk.scrollspynav",[h,s])}};this.options.smoothscroll&&t.smoothScroll&&o.each(function(){t.smoothScroll(this,c.options.smoothscroll)}),u(),this.element.data("scrollspynav",this),this.check=u,s.push(this)}})}(UIkit),function(t){"use strict";var i=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(e){t.$("[data-uk-toggle]",e).each(function(){var i=t.$(this);if(!i.data("toggle")){t.toggle(i,t.Utils.options(i.attr("data-uk-toggle")))}}),setTimeout(function(){i.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=-1!==this.options.cls.indexOf("uk-hidden"),this.getToggles(),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle()}),i.push(this)},toggle:function(){if(this.totoggle.length){if(this.options.animation&&t.support.animation){var i=this,e=this.options.animation.split(",");1==e.length&&(e[1]=e[0]),e[0]=e[0].trim(),e[1]=e[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.hasClass(this.options.cls)?(this.totoggle.toggleClass(this.options.cls),this.totoggle.each(function(){t.Utils.animate(this,e[0]).then(function(){t.$(this).css("animation-duration",""),t.Utils.checkDisplay(this)})})):this.totoggle.each(function(){t.Utils.animate(this,e[1]+" uk-animation-reverse").then(function(){t.$(this).toggleClass(i.options.cls).css("animation-duration",""),t.Utils.checkDisplay(this)}.bind(this))})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit),function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(i){var e=t.$(this);if(!e.data("alert")){var n=t.alert(e,t.Utils.options(e.attr("data-uk-alert")));t.$(i.target).is(n.options.trigger)&&(i.preventDefault(),n.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(i){i.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),i=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,i):i()}})}(UIkit),function(t){"use strict";t.component("buttonRadio",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(i){var e=t.$(this);if(!e.data("buttonRadio")){var n=t.buttonRadio(e,t.Utils.options(e.attr("data-uk-button-radio"))),o=t.$(i.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var n=t.$(this);n.is('a[href="#"]')&&e.preventDefault(),i.find(i.options.target).not(n).removeClass("uk-active").blur(),n.addClass("uk-active"),i.find(i.options.target).not(n).attr("aria-checked","false"),n.attr("aria-checked","true"),i.trigger("change.uk.button",[n])})},getSelected:function(){return this.find(".uk-active")}}),t.component("buttonCheckbox",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(i){var e=t.$(this);if(!e.data("buttonCheckbox")){var n=t.buttonCheckbox(e,t.Utils.options(e.attr("data-uk-button-checkbox"))),o=t.$(i.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var n=t.$(this);n.is('a[href="#"]')&&e.preventDefault(),n.toggleClass("uk-active").blur(),n.attr("aria-checked",n.hasClass("uk-active")),i.trigger("change.uk.button",[n])})},getSelected:function(){return this.find(".uk-active")}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(){var i=t.$(this);if(!i.data("button")){{t.button(i,t.Utils.options(i.attr("data-uk-button")))}i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit),function(t){"use strict";var i,e=!1;t.component("dropdown",{defaults:{mode:"hover",remaintime:800,justify:!1,boundary:t.$win,delay:0,hoverDelayIdle:250},remainIdle:!1,boot:function(){var i=t.support.touch?"click":"mouseenter";t.$html.on(i+".dropdown.uikit","[data-uk-dropdown]",function(e){var n=t.$(this);if(!n.data("dropdown")){var o=t.dropdown(n,t.Utils.options(n.attr("data-uk-dropdown")));("click"==i||"mouseenter"==i&&"hover"==o.options.mode)&&o.element.trigger(i),o.element.find(".uk-dropdown").length&&e.preventDefault()}})},init:function(){var n=this;this.dropdown=this.find(".uk-dropdown"),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=this.options.justify?t.$(this.options.justify):!1,this.boundary=t.$(this.options.boundary),this.flipped=this.dropdown.hasClass("uk-dropdown-flip"),this.boundary.length||(this.boundary=t.$win),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uikit.dropdown",function(i){var e=t.$(i.target);e.parents(".uk-dropdown").length||((e.is("a[href='#']")||e.parent().is("a[href='#']")||n.dropdown.length&&!n.dropdown.is(":visible"))&&i.preventDefault(),e.blur()),n.element.hasClass("uk-open")?(e.is("a:not(.js-uk-prevent)")||e.is(".uk-dropdown-close")||!n.dropdown.find(i.target).length)&&n.hide():n.show()}):this.on("mouseenter",function(){n.remainIdle&&clearTimeout(n.remainIdle),i&&clearTimeout(i),e&&e==n||(i=e&&e!=n?setTimeout(function(){i=setTimeout(n.show.bind(n),n.options.delay)},n.options.hoverDelayIdle):setTimeout(n.show.bind(n),n.options.delay))}).on("mouseleave",function(){i&&clearTimeout(i),n.remainIdle=setTimeout(function(){e&&e==n&&n.hide()},n.options.remaintime)}).on("click",function(i){var e=t.$(i.target);n.remainIdle&&clearTimeout(n.remainIdle),(e.is("a[href='#']")||e.parent().is("a[href='#']"))&&i.preventDefault(),n.show()})},show:function(){t.$html.off("click.outer.dropdown"),e&&e!=this&&e.hide(),i&&clearTimeout(i),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),e=this,this.registerOuterClick()},hide:function(){this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.trigger("hide.uk.dropdown",[this]),e==this&&(e=!1)},registerOuterClick:function(){var n=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(o){i&&clearTimeout(i);var s=t.$(o.target);e!=n||!s.is("a:not(.js-uk-prevent)")&&!s.is(".uk-dropdown-close")&&n.dropdown.find(o.target).length||(n.hide(),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.justified&&this.justified.length&&this.dropdown.css("min-width","");var i=this,e=this.dropdown.css("margin-"+t.langdirection,""),n=e.show().offset(),o=e.outerWidth(),s=this.boundary.width(),a=this.boundary.offset()?this.boundary.offset().left:0;if(this.centered&&(e.css("margin-"+t.langdirection,-1*(parseFloat(o)/2-e.parent().width()/2)),n=e.offset(),(o+n.left>s||n.left<0)&&(e.css("margin-"+t.langdirection,""),n=e.offset())),this.justified&&this.justified.length){var r=this.justified.outerWidth();if(e.css("min-width",r),"right"==t.langdirection){var l=s-(this.justified.offset().left+r),c=s-(e.offset().left+e.outerWidth());e.css("margin-right",l-c)}else e.css("margin-left",this.justified.offset().left-n.left);n=e.offset()}o+(n.left-a)>s&&(e.addClass("uk-dropdown-flip"),n=e.offset()),n.left-a<0&&(e.addClass("uk-dropdown-stack"),e.hasClass("uk-dropdown-flip")&&(this.flipped||(e.removeClass("uk-dropdown-flip"),n=e.offset(),e.addClass("uk-dropdown-flip")),setTimeout(function(){(e.offset().left-a<0||!i.flipped&&e.outerWidth()+(n.left-a)<s)&&e.removeClass("uk-dropdown-flip")},0)),this.trigger("stack.uk.dropdown",[this])),e.css("display","")}}})}(UIkit),function(t){"use strict";var i=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid-match]",i).each(function(){var i,e=t.$(this);e.data("gridMatchHeight")||(i=t.gridMatchHeight(e,t.Utils.options(e.attr("data-uk-grid-match"))))})})},init:function(){var e=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var i=function(){e.match()};return t.$(function(){i()}),t.Utils.debounce(i,50)}()),t.$html.on("changed.uk.dom",function(){e.columns=e.element.children(),e.elements=e.options.target?e.find(e.options.target):e.columns,e.match()}),this.on("display.uk.check",function(){this.element.is(":visible")&&this.match()}.bind(this)),i.push(this))},match:function(){var i=this.columns.filter(":visible:first");if(i.length){var e=Math.ceil(100*parseFloat(i.css("width"))/parseFloat(i.parent().css("width")))>=100;return e&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin"},boot:function(){t.ready(function(i){t.$("[data-uk-grid-margin]",i).each(function(){var i,e=t.$(this);e.data("gridMargin")||(i=t.gridMargin(e,t.Utils.options(e.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit),function(t){"use strict";function i(i,e){return e?("object"==typeof i?(i=i instanceof jQuery?i:t.$(i),i.parent().length&&(e.persist=i,e.persist.data("modalPersistParent",i.parent()))):i="string"==typeof i||"number"==typeof i?t.$("<div></div>").html(i):t.$("<div></div>").html("UIkit.modal Error: Unsupported data type: "+typeof i),i.appendTo(e.element.find(".uk-modal-dialog")),e):void 0}var e,n=!1,o=0,s=t.$html;t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,init:function(){if(e||(e=t.$("body")),this.element.length){var i=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),i.hide()}).on("click",function(e){var n=t.$(e.target);n[0]==i.element[0]&&i.options.bgclose&&i.hide()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){if(!this.isActive())return this.options.modal&&n&&n.hide(!0),this.element.removeClass("uk-open").show(),this.resize(),this.options.modal&&(n=this),this.active=!0,o++,this.element.addClass("uk-open"),s.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(i){if(!i&&t.support.transition){var e=this;this.one(t.support.transition.end,function(){e._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(){var t=e.width();if(this.scrollbarwidth=window.innerWidth-t,e.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var i=this.dialog.outerHeight(),n=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);i+n<window.innerHeight?this.dialog.css({top:window.innerHeight/2-i/2-n}):this.dialog.css({top:""})}},updateScrollable:function(){var t=this.dialog.find(".uk-overflow-container:visible:first");if(t.length){t.css("height",0);var i=Math.abs(parseInt(this.dialog.css("margin-top"),10)),e=this.dialog.outerHeight(),n=window.innerHeight,o=n-2*(20>i?20:i)-e;return t.css("height",o<this.options.minScrollHeight?"":o),!0}return!1},_hide:function(){this.active=!1,o--,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),o||(s.removeClass("uk-modal-page"),e.css(this.paddingdir,"")),n===this&&(n=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.active}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(i){var e=t.$(this);if(e.is("a")&&i.preventDefault(),!e.data("modalTrigger")){var n=t.modalTrigger(e,t.Utils.options(e.attr("data-uk-modal")));n.show()}}),t.$html.on("keydown.modal.uikit",function(t){n&&27===t.keyCode&&n.options.keyboard&&(t.preventDefault(),n.hide())}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){n&&n.resize()},150))},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),i.show()}),this.proxy(this.modal,"show hide isActive") -}}),t.modal.dialog=function(e,n){var o=t.modal(t.$(t.modal.dialog.template).appendTo("body"),n);return o.on("hide.uk.modal",function(){o.persist&&(o.persist.appendTo(o.persist.data("modalPersistParent")),o.persist=!1),o.element.remove()}),i(e,o),o},t.modal.dialog.template='<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>',t.modal.alert=function(i,e){e=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},e);var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+e.labels.Ok+"</button></div>"].join(""),e);n.on("show.uk.modal",function(){setTimeout(function(){n.element.find("button:first").focus()},50)}),n.show()},t.modal.confirm=function(i,e,n){e=t.$.isFunction(e)?e:function(){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},n);var o=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+n.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+n.labels.Cancel+"</button></div>"].join(""),n);o.element.find(".js-modal-confirm").on("click",function(){e(),o.hide()}),o.on("show.uk.modal",function(){setTimeout(function(){o.element.find("button:first").focus()},50)}),o.show()},t.modal.prompt=function(i,e,n,o){n=t.$.isFunction(n)?n:function(){},o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},o);var s=t.modal.dialog([i?'<div class="uk-modal-content uk-form">'+String(i)+"</div>":"",'<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>','<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+o.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+o.labels.Cancel+"</button></div>"].join(""),o),a=s.element.find("input[type='text']").val(e||"").on("keyup",function(t){13==t.keyCode&&s.element.find(".js-modal-ok").trigger("click")});s.element.find(".js-modal-ok").on("click",function(){n(a.val())!==!1&&s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){a.focus()},50)}),s.show()},t.modal.blockUI=function(i,e){var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i||'<div class="uk-text-center">...</div>')+"</div>"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},e));return n.content=n.element.find(".uk-modal-content:first"),n.show(),n},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit),function(t){"use strict";function i(i){var e=t.$(i),n="auto";if(e.is(":visible"))n=e.outerHeight();else{var o={position:e.css("position"),visibility:e.css("visibility"),display:e.css("display")};n=e.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),e.css(o)}return n}t.component("nav",{defaults:{toggle:">li.uk-parent > a[href='#']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){t.ready(function(i){t.$("[data-uk-nav]",i).each(function(){var i=t.$(this);if(!i.data("nav")){t.nav(i,t.Utils.options(i.attr("data-uk-nav")))}})})},init:function(){var i=this;this.on("click.uikit.nav",this.options.toggle,function(e){e.preventDefault();var n=t.$(this);i.open(n.parent()[0]==i.element[0]?n:n.parent("li"))}),this.find(this.options.lists).each(function(){var e=t.$(this),n=e.parent(),o=n.hasClass("uk-active");e.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'),n.data("list-container",e.parent()[o?"removeClass":"addClass"]("uk-hidden")),n.attr("aria-expanded",n.hasClass("uk-open")),o&&i.open(n,!0)})},open:function(e,n){var o=this,s=this.element,a=t.$(e),r=a.data("list-container");this.options.multiple||s.children(".uk-open").not(e).each(function(){var i=t.$(this);i.data("list-container")&&i.data("list-container").stop().animate({height:0},function(){t.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),a.toggleClass("uk-open"),a.attr("aria-expanded",a.hasClass("uk-open")),r&&(a.hasClass("uk-open")&&r.removeClass("uk-hidden"),n?(r.stop().height(a.hasClass("uk-open")?"auto":0),a.hasClass("uk-open")||r.addClass("uk-hidden"),this.trigger("display.uk.check")):r.stop().animate({height:a.hasClass("uk-open")?i(r.find("ul:first")):0},function(){a.hasClass("uk-open")?r.css("height",""):r.addClass("uk-hidden"),o.trigger("display.uk.check")}))}})}(UIkit),function(t){"use strict";var i={x:window.scrollX,y:window.scrollY},e=(t.$win,t.$doc,t.$html),n={show:function(n){if(n=t.$(n),n.length){var o=t.$("body"),s=n.find(".uk-offcanvas-bar:first"),a="right"==t.langdirection,r=s.hasClass("uk-offcanvas-bar-flip")?-1:1,l=r*(a?-1:1);i={x:window.pageXOffset,y:window.pageYOffset},n.addClass("uk-active"),o.css({width:window.innerWidth,height:window.innerHeight}).addClass("uk-offcanvas-page"),o.css(a?"margin-right":"margin-left",(a?-1:1)*s.outerWidth()*l).width(),e.css("margin-top",-1*i.y),s.addClass("uk-offcanvas-bar-show"),this._initElement(n),s.trigger("show.uk.offcanvas",[n,s]),n.attr("aria-hidden","false")}},hide:function(n){var o=t.$("body"),s=t.$(".uk-offcanvas.uk-active"),a="right"==t.langdirection,r=s.find(".uk-offcanvas-bar:first"),l=function(){o.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),s.removeClass("uk-active"),r.removeClass("uk-offcanvas-bar-show"),e.css("margin-top",""),window.scrollTo(i.x,i.y),r.trigger("hide.uk.offcanvas",[s,r]),s.attr("aria-hidden","true")};s.length&&(t.support.transition&&!n?(o.one(t.support.transition.end,function(){l()}).css(a?"margin-right":"margin-left",""),setTimeout(function(){r.removeClass("uk-offcanvas-bar-show")},0)):l())},_initElement:function(i){i.data("OffcanvasInit")||(i.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(i){var e=t.$(i.target);if(!i.type.match(/swipe/)&&!e.hasClass("uk-offcanvas-close")){if(e.hasClass("uk-offcanvas-bar"))return;if(e.parents(".uk-offcanvas-bar:first").length)return}i.stopImmediatePropagation(),n.hide()}),i.on("click","a[href^='#']",function(){var i=t.$(this),e=i.attr("href");"#"!=e&&(t.$doc.one("hide.uk.offcanvas",function(){var n;try{n=t.$(e)}catch(o){n=""}n.length||(n=t.$('[name="'+e.replace("#","")+'"]')),n.length&&i.attr("data-uk-smooth-scroll")&&t.Utils.scrollToElement?t.Utils.scrollToElement(n,t.Utils.options(i.attr("data-uk-smooth-scroll")||"{}")):window.location.href=e}),n.hide())}),i.data("OffcanvasInit",!0))}};t.component("offcanvasTrigger",{boot:function(){e.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(i){i.preventDefault();var e=t.$(this);if(!e.data("offcanvasTrigger")){{t.offcanvasTrigger(e,t.Utils.options(e.attr("data-uk-offcanvas")))}e.trigger("click")}}),e.on("keydown.uk.offcanvas",function(t){27===t.keyCode&&n.hide()})},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.on("click",function(t){t.preventDefault(),n.show(i.options.target)})}}),t.offcanvas=n}(UIkit),function(t){"use strict";function i(i,e,n){var o,s=t.$.Deferred(),a=i,r=i;return n[0]===e[0]?(s.resolve(),s.promise()):("object"==typeof i&&(a=i[0],r=i[1]||i[0]),o=function(){e&&e.hide().removeClass("uk-active "+r+" uk-animation-reverse"),n.addClass(a).one(t.support.animation.end,function(){n.removeClass(""+a).css({opacity:"",display:""}),s.resolve(),e&&e.css({opacity:"",display:""})}.bind(this)).show()},n.css("animation-duration",this.options.duration+"ms"),e&&e.length?(e.css("animation-duration",this.options.duration+"ms"),e.css("display","none").addClass(r+" uk-animation-reverse").one(t.support.animation.end,function(){o()}.bind(this)).css("display","")):(n.addClass("uk-active"),o()),s.promise())}var e;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200},animating:!1,boot:function(){t.ready(function(i){t.$("[data-uk-switcher]",i).each(function(){var i=t.$(this);if(!i.data("switcher")){t.switcher(i,t.Utils.options(i.attr("data-uk-switcher")))}})})},init:function(){var i=this;if(this.on("click.uikit.switcher",this.options.toggle,function(t){t.preventDefault(),i.show(this)}),this.options.connect){this.connect=t.$(this.options.connect),this.connect.find(".uk-active").removeClass(".uk-active"),this.connect.length&&(this.connect.children().attr("aria-hidden","true"),this.connect.on("click","[data-uk-switcher-item]",function(e){e.preventDefault();var n=t.$(this).attr("data-uk-switcher-item");if(i.index!=n)switch(n){case"next":case"previous":i.show(i.index+("next"==n?1:-1));break;default:i.show(parseInt(n,10))}}).on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||i.show(i.index+("swipeLeft"==t.type?1:-1))}));var e=this.find(this.options.toggle),n=e.filter(".uk-active");if(n.length)this.show(n,!1);else{if(this.options.active===!1)return;n=e.eq(this.options.active),this.show(n.length?n:e.eq(0),!1)}e.not(n).attr("aria-expanded","false"),n.attr("aria-expanded","true"),this.on("changed.uk.dom",function(){i.connect=t.$(i.options.connect)})}},show:function(n,o){if(!this.animating){if(isNaN(n))n=t.$(n);else{var s=this.find(this.options.toggle);n=0>n?s.length-1:n,n=s.eq(s[n]?n:0)}var a=this,s=this.find(this.options.toggle),r=t.$(n),l=e[this.options.animation]||function(t,n){if(!a.options.animation)return e.none.apply(a);var o=a.options.animation.split(",");return 1==o.length&&(o[1]=o[0]),o[0]=o[0].trim(),o[1]=o[1].trim(),i.apply(a,[o,t,n])};o!==!1&&t.support.animation||(l=e.none),r.hasClass("uk-disabled")||(s.attr("aria-expanded","false"),r.attr("aria-expanded","true"),s.filter(".uk-active").removeClass("uk-active"),r.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(r),-1==this.index&&(this.index=0),this.connect.each(function(){var i=t.$(this),e=t.$(i.children()),n=t.$(e.filter(".uk-active")),o=t.$(e.eq(a.index));a.animating=!0,l.apply(a,[n,o]).then(function(){n.removeClass("uk-active"),o.addClass("uk-active"),n.attr("aria-hidden","true"),o.attr("aria-hidden","false"),t.Utils.checkDisplay(o,!0),a.animating=!1})})),this.trigger("show.uk.switcher",[r]))}}}),e={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,e){return i.apply(this,["uk-animation-fade",t,e])},"slide-bottom":function(t,e){return i.apply(this,["uk-animation-slide-bottom",t,e])},"slide-top":function(t,e){return i.apply(this,["uk-animation-slide-top",t,e])},"slide-vertical":function(t,e){var n=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>e.index()&&n.reverse(),i.apply(this,[n,t,e])},"slide-left":function(t,e){return i.apply(this,["uk-animation-slide-left",t,e])},"slide-right":function(t,e){return i.apply(this,["uk-animation-slide-right",t,e])},"slide-horizontal":function(t,e){var n=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>e.index()&&n.reverse(),i.apply(this,[n,t,e])},scale:function(t,e){return i.apply(this,["uk-animation-scale-up",t,e])}},t.switcher.animations=e}(UIkit),function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200},boot:function(){t.ready(function(i){t.$("[data-uk-tab]",i).each(function(){var i=t.$(this);if(!i.data("tab")){t.tab(i,t.Utils.options(i.attr("data-uk-tab")))}})})},init:function(){var i=this;this.current=!1,this.on("click.uikit.tab",this.options.target,function(e){if(e.preventDefault(),!i.switcher||!i.switcher.animating){var n=i.find(i.options.target).not(this);n.removeClass("uk-active").blur(),i.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),i.current]),i.current=t.$(this),i.options.connect||(n.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uikit.tab","a",function(e){e.preventDefault(),e.stopPropagation();var n=t.$(this);i.element.children("li:not(.uk-tab-responsive)").eq(n.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,e){i.responsivetab.caption.html(e.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration})),t.dropdown(this.responsivetab,{mode:"click"}),i.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){i.element.is(":visible")&&i.check()},100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.check()})},check:function(){var i=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!i.length)return this.responsivetab.addClass("uk-hidden"),void 0;var e,n,o,s=i.eq(0).offset().top+Math.ceil(i.eq(0).height()/2),a=!1;if(this.responsivetab.lst.empty(),i.each(function(){t.$(this).offset().top>s&&(a=!0)}),a)for(var r=0;r<i.length;r++)e=t.$(i.eq(r)),n=e.find("a"),"none"==e.css("float")||e.attr("uk-dropdown")||(e.hasClass("uk-disabled")||(o=e[0].outerHTML.replace("<a ",'<a data-index="'+r+'" '),this.responsivetab.lst.append(o)),e.addClass("uk-hidden"));this.responsivetab[this.responsivetab.lst.children("li").length?"removeClass":"addClass"]("uk-hidden")}})}(UIkit),function(t){"use strict";t.component("cover",{defaults:{automute:!0},boot:function(){t.ready(function(i){t.$("[data-uk-cover]",i).each(function(){var i=t.$(this);if(!i.data("cover")){t.cover(i,t.Utils.options(i.attr("data-uk-cover")))}})})},init:function(){if(this.parent=this.element.parent(),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){this.check()}.bind(this),100)),this.on("display.uk.check",function(){this.element.is(":visible")&&this.check()}.bind(this)),this.check(),this.element.is("iframe")&&this.options.automute){var i=this.element.attr("src");this.element.attr("src","").on("load",function(){this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}).attr("src",[i,i.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,i,e=this.parent.width(),n=this.parent.height();e/this.ratio<n?(t=Math.ceil(n*this.ratio),i=n):(t=e,i=Math.ceil(e/this.ratio)),this.element.css({width:t,height:i})}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/updatedropbox.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/updatedropbox.js deleted file mode 100644 index 61b903854..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/updatedropbox.js +++ /dev/null @@ -1,21 +0,0 @@ -###BOM### - -function updateDropboxLinks(){ - var getUrl = "index.php?option=com_###component###&task=ajax.updateDropboxLinks&format=json"; - if(token.length > 0 ){ - var request = 'token='+token+'&now=1'; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -// Initial Script -jQuery(document).ready(function(){ - // update Dropbox Local links - updateDropboxLinks(); -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/view.htmlCompiler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/view.htmlCompiler.php deleted file mode 100644 index c3e15f7e9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/custom/view.htmlCompiler.php +++ /dev/null @@ -1,137 +0,0 @@ -<?php -/** -* -*  @version 2.0.0 - September 03, 2014 -*  @package Component Builder -*  @author Llewellyn van de Merwe <http://www.vdm.io> -*  @copyright Copyright (C) 2014. All Rights Reserved -*  @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -* -**/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -?> -###BOM### - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * ###Component### Compiler View - */ -class ###Component###ViewCompiler extends JViewLegacy -{ - /** - * ###Component### view display method - * @return void - */ - function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))){ - JError::raiseError(500, implode('<br />', $errors)); - return false; - }; - - $this->Components = $this->get('Components'); - $this->form = $this->setForm(); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ###Component###Helper::addSubmenu('compiler'); - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - $canDo = ###Component###Helper::getActions('compiler'); - JToolBarHelper::title(JText::_('Compiler'), 'cogs'); - - if($canDo->get('core.admin') || $canDo->get('core.options')) - { - JToolBarHelper::custom('compiler.clearTmp', 'purge', '', 'Clear tmp', false); - JToolBarHelper::divider(); - JToolBarHelper::preferences('com_###component###'); - } - - // set help url for this view if found - $help_url = ###Component###Helper::getHelpUrl('compiler'); - if (###Component###Helper::checkString($help_url)) - { - JToolbarHelper::help('COM_###COMPONENT###_HELP_MANAGER', false, $help_url); - } - } - - public function setForm() - { - if(###Component###Helper::checkArray($this->Components)){ - jimport('joomla.form.form'); - - $radio1 = JFormHelper::loadFieldType('radio',true); - // start building add to sales folder xml field - $xml = '<field label="Add to Backup Folder &amp; Sales Server &lt;small&gt;(if set)&lt;/small&gt;" description="" name="backup" type="radio" class="btn-group btn-group-yesno" default="0">'; - $xml .= '<option value="1">Yes</option> <option value="0">No</option>'; - $xml .= "</field>"; - // prepare the xml - $sales = new SimpleXMLElement($xml); - // set components to form - $radio1->setup($sales,0); - - $radio2 = JFormHelper::loadFieldType('radio',true); - // start building add to git folder xml field - $xml = '<field label="Add to Git Folder" description="" name="git" type="radio" class="btn-group btn-group-yesno" default="1">'; - $xml .= '<option value="1">Yes</option> <option value="0">No</option>'; - $xml .= "</field>"; - // prepare the xml - $git = new SimpleXMLElement($xml); - // set components to form - $radio2->setup($git,1); - - $list = JFormHelper::loadFieldType('list',true); - // start building componet xml field - $xml = '<field label="Components" description="" name="component" type="list" class="btn-group" required="true">'; - $xml .= '<option value="">- Select Component -</option>'; - foreach($this->Components as $componet){ - $xml .= '<option value="'.$componet->id.'">'.$componet->name.'</option>'; - } - $xml .= "</field>"; - // prepare the xml - $componets = new SimpleXMLElement($xml); - // set components to form - $list->setup($componets,0); - - return array($radio1,$radio2,$list); - } - return false; - } - - /** - * Method to set up the document properties - * - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - - $document->setTitle(JText::_('The Compiler')); - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel.php deleted file mode 100644 index 27aa77ae7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel.php +++ /dev/null @@ -1,1139 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel -{ - /** - * Unique ID - * - * @var string - */ - private $_uniqueID; - - /** - * Document properties - * - * @var PHPExcel_DocumentProperties - */ - private $_properties; - - /** - * Document security - * - * @var PHPExcel_DocumentSecurity - */ - private $_security; - - /** - * Collection of Worksheet objects - * - * @var PHPExcel_Worksheet[] - */ - private $_workSheetCollection = array(); - - /** - * Calculation Engine - * - * @var PHPExcel_Calculation - */ - private $_calculationEngine = NULL; - - /** - * Active sheet index - * - * @var int - */ - private $_activeSheetIndex = 0; - - /** - * Named ranges - * - * @var PHPExcel_NamedRange[] - */ - private $_namedRanges = array(); - - /** - * CellXf supervisor - * - * @var PHPExcel_Style - */ - private $_cellXfSupervisor; - - /** - * CellXf collection - * - * @var PHPExcel_Style[] - */ - private $_cellXfCollection = array(); - - /** - * CellStyleXf collection - * - * @var PHPExcel_Style[] - */ - private $_cellStyleXfCollection = array(); - - /** - * _hasMacros : this workbook have macros ? - * - * @var bool - */ - private $_hasMacros = FALSE; - - /** - * _macrosCode : all macros code (the vbaProject.bin file, this include form, code, etc.), NULL if no macro - * - * @var binary - */ - private $_macrosCode=NULL; - /** - * _macrosCertificate : if macros are signed, contains vbaProjectSignature.bin file, NULL if not signed - * - * @var binary - */ - private $_macrosCertificate=NULL; - - /** - * _ribbonXMLData : NULL if workbook is'nt Excel 2007 or not contain a customized UI - * - * @var NULL|string - */ - private $_ribbonXMLData=NULL; - - /** - * _ribbonBinObjects : NULL if workbook is'nt Excel 2007 or not contain embedded objects (picture(s)) for Ribbon Elements - * ignored if $_ribbonXMLData is null - * - * @var NULL|array - */ - private $_ribbonBinObjects=NULL; - - /** - * The workbook has macros ? - * - * @return true if workbook has macros, false if not - */ - public function hasMacros(){ - return $this->_hasMacros; - } - - /** - * Define if a workbook has macros - * - * @param true|false - */ - public function setHasMacros($hasMacros=false){ - $this->_hasMacros=(bool)$hasMacros; - } - - /** - * Set the macros code - * - * @param binary string|null - */ - public function setMacrosCode($MacrosCode){ - $this->_macrosCode=$MacrosCode; - $this->setHasMacros(!is_null($MacrosCode)); - } - - /** - * Return the macros code - * - * @return binary|null - */ - public function getMacrosCode(){ - return $this->_macrosCode; - } - - /** - * Set the macros certificate - * - * @param binary|null - */ - public function setMacrosCertificate($Certificate=NULL){ - $this->_macrosCertificate=$Certificate; - } - - /** - * Is the project signed ? - * - * @return true|false - */ - public function hasMacrosCertificate(){ - return !is_null($this->_macrosCertificate); - } - - /** - * Return the macros certificate - * - * @return binary|null - */ - public function getMacrosCertificate(){ - return $this->_macrosCertificate; - } - - /** - * Remove all macros, certificate from spreadsheet - * - * @param none - * @return void - */ - public function discardMacros(){ - $this->_hasMacros=false; - $this->_macrosCode=NULL; - $this->_macrosCertificate=NULL; - } - - /** - * set ribbon XML data - * - */ - public function setRibbonXMLData($Target=NULL, $XMLData=NULL){ - if(!is_null($Target) && !is_null($XMLData)){ - $this->_ribbonXMLData=array('target'=>$Target, 'data'=>$XMLData); - }else{ - $this->_ribbonXMLData=NULL; - } - } - - /** - * retrieve ribbon XML Data - * - * return string|null|array - */ - public function getRibbonXMLData($What='all'){//we need some constants here... - $ReturnData=NULL; - $What=strtolower($What); - switch($What){ - case 'all': - $ReturnData=$this->_ribbonXMLData; - break; - case 'target': - case 'data': - if(is_array($this->_ribbonXMLData) && array_key_exists($What,$this->_ribbonXMLData)){ - $ReturnData=$this->_ribbonXMLData[$What]; - }//else $ReturnData stay at null - break; - }//default: $ReturnData at null - return $ReturnData; - } - - /** - * store binaries ribbon objects (pictures) - * - */ - public function setRibbonBinObjects($BinObjectsNames=NULL, $BinObjectsData=NULL){ - if(!is_null($BinObjectsNames) && !is_null($BinObjectsData)){ - $this->_ribbonBinObjects=array('names'=>$BinObjectsNames, 'data'=>$BinObjectsData); - }else{ - $this->_ribbonBinObjects=NULL; - } - } - /** - * return the extension of a filename. Internal use for a array_map callback (php<5.3 don't like lambda function) - * - */ - private function _getExtensionOnly($ThePath){ - return pathinfo($ThePath, PATHINFO_EXTENSION); - } - - /** - * retrieve Binaries Ribbon Objects - * - */ - public function getRibbonBinObjects($What='all'){ - $ReturnData=NULL; - $What=strtolower($What); - switch($What){ - case 'all': - return $this->_ribbonBinObjects; - break; - case 'names': - case 'data': - if(is_array($this->_ribbonBinObjects) && array_key_exists($What, $this->_ribbonBinObjects)){ - $ReturnData=$this->_ribbonBinObjects[$What]; - } - break; - case 'types': - if(is_array($this->_ribbonBinObjects) && array_key_exists('data', $this->_ribbonBinObjects) && is_array($this->_ribbonBinObjects['data'])){ - $tmpTypes=array_keys($this->_ribbonBinObjects['data']); - $ReturnData=array_unique(array_map(array($this,'_getExtensionOnly'), $tmpTypes)); - }else - $ReturnData=array();//the caller want an array... not null if empty - break; - } - return $ReturnData; - } - - /** - * This workbook have a custom UI ? - * - * @return true|false - */ - public function hasRibbon(){ - return !is_null($this->_ribbonXMLData); - } - - /** - * This workbook have additionnal object for the ribbon ? - * - * @return true|false - */ - public function hasRibbonBinObjects(){ - return !is_null($this->_ribbonBinObjects); - } - - /** - * Check if a sheet with a specified code name already exists - * - * @param string $pSheetCodeName Name of the worksheet to check - * @return boolean - */ - public function sheetCodeNameExists($pSheetCodeName) - { - return ($this->getSheetByCodeName($pSheetCodeName) !== NULL); - } - - /** - * Get sheet by code name. Warning : sheet don't have always a code name ! - * - * @param string $pName Sheet name - * @return PHPExcel_Worksheet - */ - public function getSheetByCodeName($pName = '') - { - $worksheetCount = count($this->_workSheetCollection); - for ($i = 0; $i < $worksheetCount; ++$i) { - if ($this->_workSheetCollection[$i]->getCodeName() == $pName) { - return $this->_workSheetCollection[$i]; - } - } - - return null; - } - - /** - * Create a new PHPExcel with one Worksheet - */ - public function __construct() - { - $this->_uniqueID = uniqid(); - $this->_calculationEngine = PHPExcel_Calculation::getInstance($this); - - // Initialise worksheet collection and add one worksheet - $this->_workSheetCollection = array(); - $this->_workSheetCollection[] = new PHPExcel_Worksheet($this); - $this->_activeSheetIndex = 0; - - // Create document properties - $this->_properties = new PHPExcel_DocumentProperties(); - - // Create document security - $this->_security = new PHPExcel_DocumentSecurity(); - - // Set named ranges - $this->_namedRanges = array(); - - // Create the cellXf supervisor - $this->_cellXfSupervisor = new PHPExcel_Style(true); - $this->_cellXfSupervisor->bindParent($this); - - // Create the default style - $this->addCellXf(new PHPExcel_Style); - $this->addCellStyleXf(new PHPExcel_Style); - } - - /** - * Code to execute when this worksheet is unset() - * - */ - public function __destruct() { - PHPExcel_Calculation::unsetInstance($this); - $this->disconnectWorksheets(); - } // function __destruct() - - /** - * Disconnect all worksheets from this PHPExcel workbook object, - * typically so that the PHPExcel object can be unset - * - */ - public function disconnectWorksheets() - { - $worksheet = NULL; - foreach($this->_workSheetCollection as $k => &$worksheet) { - $worksheet->disconnectCells(); - $this->_workSheetCollection[$k] = null; - } - unset($worksheet); - $this->_workSheetCollection = array(); - } - - /** - * Return the calculation engine for this worksheet - * - * @return PHPExcel_Calculation - */ - public function getCalculationEngine() - { - return $this->_calculationEngine; - } // function getCellCacheController() - - /** - * Get properties - * - * @return PHPExcel_DocumentProperties - */ - public function getProperties() - { - return $this->_properties; - } - - /** - * Set properties - * - * @param PHPExcel_DocumentProperties $pValue - */ - public function setProperties(PHPExcel_DocumentProperties $pValue) - { - $this->_properties = $pValue; - } - - /** - * Get security - * - * @return PHPExcel_DocumentSecurity - */ - public function getSecurity() - { - return $this->_security; - } - - /** - * Set security - * - * @param PHPExcel_DocumentSecurity $pValue - */ - public function setSecurity(PHPExcel_DocumentSecurity $pValue) - { - $this->_security = $pValue; - } - - /** - * Get active sheet - * - * @return PHPExcel_Worksheet - * - * @throws PHPExcel_Exception - */ - public function getActiveSheet() - { - return $this->getSheet($this->_activeSheetIndex); - } - - /** - * Create sheet and add it to this workbook - * - * @param int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last) - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function createSheet($iSheetIndex = NULL) - { - $newSheet = new PHPExcel_Worksheet($this); - $this->addSheet($newSheet, $iSheetIndex); - return $newSheet; - } - - /** - * Check if a sheet with a specified name already exists - * - * @param string $pSheetName Name of the worksheet to check - * @return boolean - */ - public function sheetNameExists($pSheetName) - { - return ($this->getSheetByName($pSheetName) !== NULL); - } - - /** - * Add sheet - * - * @param PHPExcel_Worksheet $pSheet - * @param int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last) - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function addSheet(PHPExcel_Worksheet $pSheet, $iSheetIndex = NULL) - { - if ($this->sheetNameExists($pSheet->getTitle())) { - throw new PHPExcel_Exception( - "Workbook already contains a worksheet named '{$pSheet->getTitle()}'. Rename this worksheet first." - ); - } - - if($iSheetIndex === NULL) { - if ($this->_activeSheetIndex < 0) { - $this->_activeSheetIndex = 0; - } - $this->_workSheetCollection[] = $pSheet; - } else { - // Insert the sheet at the requested index - array_splice( - $this->_workSheetCollection, - $iSheetIndex, - 0, - array($pSheet) - ); - - // Adjust active sheet index if necessary - if ($this->_activeSheetIndex >= $iSheetIndex) { - ++$this->_activeSheetIndex; - } - } - - if ($pSheet->getParent() === null) { - $pSheet->rebindParent($this); - } - - return $pSheet; - } - - /** - * Remove sheet by index - * - * @param int $pIndex Active sheet index - * @throws PHPExcel_Exception - */ - public function removeSheetByIndex($pIndex = 0) - { - - $numSheets = count($this->_workSheetCollection); - - if ($pIndex > $numSheets - 1) { - throw new PHPExcel_Exception( - "You tried to remove a sheet by the out of bounds index: {$pIndex}. The actual number of sheets is {$numSheets}." - ); - } else { - array_splice($this->_workSheetCollection, $pIndex, 1); - } - // Adjust active sheet index if necessary - if (($this->_activeSheetIndex >= $pIndex) && - ($pIndex > count($this->_workSheetCollection) - 1)) { - --$this->_activeSheetIndex; - } - - } - - /** - * Get sheet by index - * - * @param int $pIndex Sheet index - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function getSheet($pIndex = 0) - { - if (!isset($this->_workSheetCollection[$pIndex])) { - $numSheets = $this->getSheetCount(); - throw new PHPExcel_Exception( - "Your requested sheet index: {$pIndex} is out of bounds. The actual number of sheets is {$numSheets}." - ); - } - - return $this->_workSheetCollection[$pIndex]; - } - - /** - * Get all sheets - * - * @return PHPExcel_Worksheet[] - */ - public function getAllSheets() - { - return $this->_workSheetCollection; - } - - /** - * Get sheet by name - * - * @param string $pName Sheet name - * @return PHPExcel_Worksheet - */ - public function getSheetByName($pName = '') - { - $worksheetCount = count($this->_workSheetCollection); - for ($i = 0; $i < $worksheetCount; ++$i) { - if ($this->_workSheetCollection[$i]->getTitle() === $pName) { - return $this->_workSheetCollection[$i]; - } - } - - return NULL; - } - - /** - * Get index for sheet - * - * @param PHPExcel_Worksheet $pSheet - * @return Sheet index - * @throws PHPExcel_Exception - */ - public function getIndex(PHPExcel_Worksheet $pSheet) - { - foreach ($this->_workSheetCollection as $key => $value) { - if ($value->getHashCode() == $pSheet->getHashCode()) { - return $key; - } - } - - throw new PHPExcel_Exception("Sheet does not exist."); - } - - /** - * Set index for sheet by sheet name. - * - * @param string $sheetName Sheet name to modify index for - * @param int $newIndex New index for the sheet - * @return New sheet index - * @throws PHPExcel_Exception - */ - public function setIndexByName($sheetName, $newIndex) - { - $oldIndex = $this->getIndex($this->getSheetByName($sheetName)); - $pSheet = array_splice( - $this->_workSheetCollection, - $oldIndex, - 1 - ); - array_splice( - $this->_workSheetCollection, - $newIndex, - 0, - $pSheet - ); - return $newIndex; - } - - /** - * Get sheet count - * - * @return int - */ - public function getSheetCount() - { - return count($this->_workSheetCollection); - } - - /** - * Get active sheet index - * - * @return int Active sheet index - */ - public function getActiveSheetIndex() - { - return $this->_activeSheetIndex; - } - - /** - * Set active sheet index - * - * @param int $pIndex Active sheet index - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setActiveSheetIndex($pIndex = 0) - { - $numSheets = count($this->_workSheetCollection); - - if ($pIndex > $numSheets - 1) { - throw new PHPExcel_Exception( - "You tried to set a sheet active by the out of bounds index: {$pIndex}. The actual number of sheets is {$numSheets}." - ); - } else { - $this->_activeSheetIndex = $pIndex; - } - return $this->getActiveSheet(); - } - - /** - * Set active sheet index by name - * - * @param string $pValue Sheet title - * @return PHPExcel_Worksheet - * @throws PHPExcel_Exception - */ - public function setActiveSheetIndexByName($pValue = '') - { - if (($worksheet = $this->getSheetByName($pValue)) instanceof PHPExcel_Worksheet) { - $this->setActiveSheetIndex($this->getIndex($worksheet)); - return $worksheet; - } - - throw new PHPExcel_Exception('Workbook does not contain sheet:' . $pValue); - } - - /** - * Get sheet names - * - * @return string[] - */ - public function getSheetNames() - { - $returnValue = array(); - $worksheetCount = $this->getSheetCount(); - for ($i = 0; $i < $worksheetCount; ++$i) { - $returnValue[] = $this->getSheet($i)->getTitle(); - } - - return $returnValue; - } - - /** - * Add external sheet - * - * @param PHPExcel_Worksheet $pSheet External sheet to add - * @param int|null $iSheetIndex Index where sheet should go (0,1,..., or null for last) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function addExternalSheet(PHPExcel_Worksheet $pSheet, $iSheetIndex = null) { - if ($this->sheetNameExists($pSheet->getTitle())) { - throw new PHPExcel_Exception("Workbook already contains a worksheet named '{$pSheet->getTitle()}'. Rename the external sheet first."); - } - - // count how many cellXfs there are in this workbook currently, we will need this below - $countCellXfs = count($this->_cellXfCollection); - - // copy all the shared cellXfs from the external workbook and append them to the current - foreach ($pSheet->getParent()->getCellXfCollection() as $cellXf) { - $this->addCellXf(clone $cellXf); - } - - // move sheet to this workbook - $pSheet->rebindParent($this); - - // update the cellXfs - foreach ($pSheet->getCellCollection(false) as $cellID) { - $cell = $pSheet->getCell($cellID); - $cell->setXfIndex( $cell->getXfIndex() + $countCellXfs ); - } - - return $this->addSheet($pSheet, $iSheetIndex); - } - - /** - * Get named ranges - * - * @return PHPExcel_NamedRange[] - */ - public function getNamedRanges() { - return $this->_namedRanges; - } - - /** - * Add named range - * - * @param PHPExcel_NamedRange $namedRange - * @return PHPExcel - */ - public function addNamedRange(PHPExcel_NamedRange $namedRange) { - if ($namedRange->getScope() == null) { - // global scope - $this->_namedRanges[$namedRange->getName()] = $namedRange; - } else { - // local scope - $this->_namedRanges[$namedRange->getScope()->getTitle().'!'.$namedRange->getName()] = $namedRange; - } - return true; - } - - /** - * Get named range - * - * @param string $namedRange - * @param PHPExcel_Worksheet|null $pSheet Scope. Use null for global scope - * @return PHPExcel_NamedRange|null - */ - public function getNamedRange($namedRange, PHPExcel_Worksheet $pSheet = null) { - $returnValue = null; - - if ($namedRange != '' && ($namedRange !== NULL)) { - // first look for global defined name - if (isset($this->_namedRanges[$namedRange])) { - $returnValue = $this->_namedRanges[$namedRange]; - } - - // then look for local defined name (has priority over global defined name if both names exist) - if (($pSheet !== NULL) && isset($this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange])) { - $returnValue = $this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange]; - } - } - - return $returnValue; - } - - /** - * Remove named range - * - * @param string $namedRange - * @param PHPExcel_Worksheet|null $pSheet Scope: use null for global scope. - * @return PHPExcel - */ - public function removeNamedRange($namedRange, PHPExcel_Worksheet $pSheet = null) { - if ($pSheet === NULL) { - if (isset($this->_namedRanges[$namedRange])) { - unset($this->_namedRanges[$namedRange]); - } - } else { - if (isset($this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange])) { - unset($this->_namedRanges[$pSheet->getTitle() . '!' . $namedRange]); - } - } - return $this; - } - - /** - * Get worksheet iterator - * - * @return PHPExcel_WorksheetIterator - */ - public function getWorksheetIterator() { - return new PHPExcel_WorksheetIterator($this); - } - - /** - * Copy workbook (!= clone!) - * - * @return PHPExcel - */ - public function copy() { - $copied = clone $this; - - $worksheetCount = count($this->_workSheetCollection); - for ($i = 0; $i < $worksheetCount; ++$i) { - $this->_workSheetCollection[$i] = $this->_workSheetCollection[$i]->copy(); - $this->_workSheetCollection[$i]->rebindParent($this); - } - - return $copied; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - foreach($this as $key => $val) { - if (is_object($val) || (is_array($val))) { - $this->{$key} = unserialize(serialize($val)); - } - } - } - - /** - * Get the workbook collection of cellXfs - * - * @return PHPExcel_Style[] - */ - public function getCellXfCollection() - { - return $this->_cellXfCollection; - } - - /** - * Get cellXf by index - * - * @param int $pIndex - * @return PHPExcel_Style - */ - public function getCellXfByIndex($pIndex = 0) - { - return $this->_cellXfCollection[$pIndex]; - } - - /** - * Get cellXf by hash code - * - * @param string $pValue - * @return PHPExcel_Style|false - */ - public function getCellXfByHashCode($pValue = '') - { - foreach ($this->_cellXfCollection as $cellXf) { - if ($cellXf->getHashCode() == $pValue) { - return $cellXf; - } - } - return false; - } - - /** - * Check if style exists in style collection - * - * @param PHPExcel_Style $pCellStyle - * @return boolean - */ - public function cellXfExists($pCellStyle = null) - { - return in_array($pCellStyle, $this->_cellXfCollection, true); - } - - /** - * Get default style - * - * @return PHPExcel_Style - * @throws PHPExcel_Exception - */ - public function getDefaultStyle() - { - if (isset($this->_cellXfCollection[0])) { - return $this->_cellXfCollection[0]; - } - throw new PHPExcel_Exception('No default style found for this workbook'); - } - - /** - * Add a cellXf to the workbook - * - * @param PHPExcel_Style $style - */ - public function addCellXf(PHPExcel_Style $style) - { - $this->_cellXfCollection[] = $style; - $style->setIndex(count($this->_cellXfCollection) - 1); - } - - /** - * Remove cellXf by index. It is ensured that all cells get their xf index updated. - * - * @param int $pIndex Index to cellXf - * @throws PHPExcel_Exception - */ - public function removeCellXfByIndex($pIndex = 0) - { - if ($pIndex > count($this->_cellXfCollection) - 1) { - throw new PHPExcel_Exception("CellXf index is out of bounds."); - } else { - // first remove the cellXf - array_splice($this->_cellXfCollection, $pIndex, 1); - - // then update cellXf indexes for cells - foreach ($this->_workSheetCollection as $worksheet) { - foreach ($worksheet->getCellCollection(false) as $cellID) { - $cell = $worksheet->getCell($cellID); - $xfIndex = $cell->getXfIndex(); - if ($xfIndex > $pIndex ) { - // decrease xf index by 1 - $cell->setXfIndex($xfIndex - 1); - } else if ($xfIndex == $pIndex) { - // set to default xf index 0 - $cell->setXfIndex(0); - } - } - } - } - } - - /** - * Get the cellXf supervisor - * - * @return PHPExcel_Style - */ - public function getCellXfSupervisor() - { - return $this->_cellXfSupervisor; - } - - /** - * Get the workbook collection of cellStyleXfs - * - * @return PHPExcel_Style[] - */ - public function getCellStyleXfCollection() - { - return $this->_cellStyleXfCollection; - } - - /** - * Get cellStyleXf by index - * - * @param int $pIndex - * @return PHPExcel_Style - */ - public function getCellStyleXfByIndex($pIndex = 0) - { - return $this->_cellStyleXfCollection[$pIndex]; - } - - /** - * Get cellStyleXf by hash code - * - * @param string $pValue - * @return PHPExcel_Style|false - */ - public function getCellStyleXfByHashCode($pValue = '') - { - foreach ($this->_cellXfStyleCollection as $cellStyleXf) { - if ($cellStyleXf->getHashCode() == $pValue) { - return $cellStyleXf; - } - } - return false; - } - - /** - * Add a cellStyleXf to the workbook - * - * @param PHPExcel_Style $pStyle - */ - public function addCellStyleXf(PHPExcel_Style $pStyle) - { - $this->_cellStyleXfCollection[] = $pStyle; - $pStyle->setIndex(count($this->_cellStyleXfCollection) - 1); - } - - /** - * Remove cellStyleXf by index - * - * @param int $pIndex - * @throws PHPExcel_Exception - */ - public function removeCellStyleXfByIndex($pIndex = 0) - { - if ($pIndex > count($this->_cellStyleXfCollection) - 1) { - throw new PHPExcel_Exception("CellStyleXf index is out of bounds."); - } else { - array_splice($this->_cellStyleXfCollection, $pIndex, 1); - } - } - - /** - * Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells - * and columns in the workbook - */ - public function garbageCollect() - { - // how many references are there to each cellXf ? - $countReferencesCellXf = array(); - foreach ($this->_cellXfCollection as $index => $cellXf) { - $countReferencesCellXf[$index] = 0; - } - - foreach ($this->getWorksheetIterator() as $sheet) { - - // from cells - foreach ($sheet->getCellCollection(false) as $cellID) { - $cell = $sheet->getCell($cellID); - ++$countReferencesCellXf[$cell->getXfIndex()]; - } - - // from row dimensions - foreach ($sheet->getRowDimensions() as $rowDimension) { - if ($rowDimension->getXfIndex() !== null) { - ++$countReferencesCellXf[$rowDimension->getXfIndex()]; - } - } - - // from column dimensions - foreach ($sheet->getColumnDimensions() as $columnDimension) { - ++$countReferencesCellXf[$columnDimension->getXfIndex()]; - } - } - - // remove cellXfs without references and create mapping so we can update xfIndex - // for all cells and columns - $countNeededCellXfs = 0; - foreach ($this->_cellXfCollection as $index => $cellXf) { - if ($countReferencesCellXf[$index] > 0 || $index == 0) { // we must never remove the first cellXf - ++$countNeededCellXfs; - } else { - unset($this->_cellXfCollection[$index]); - } - $map[$index] = $countNeededCellXfs - 1; - } - $this->_cellXfCollection = array_values($this->_cellXfCollection); - - // update the index for all cellXfs - foreach ($this->_cellXfCollection as $i => $cellXf) { - $cellXf->setIndex($i); - } - - // make sure there is always at least one cellXf (there should be) - if (empty($this->_cellXfCollection)) { - $this->_cellXfCollection[] = new PHPExcel_Style(); - } - - // update the xfIndex for all cells, row dimensions, column dimensions - foreach ($this->getWorksheetIterator() as $sheet) { - - // for all cells - foreach ($sheet->getCellCollection(false) as $cellID) { - $cell = $sheet->getCell($cellID); - $cell->setXfIndex( $map[$cell->getXfIndex()] ); - } - - // for all row dimensions - foreach ($sheet->getRowDimensions() as $rowDimension) { - if ($rowDimension->getXfIndex() !== null) { - $rowDimension->setXfIndex( $map[$rowDimension->getXfIndex()] ); - } - } - - // for all column dimensions - foreach ($sheet->getColumnDimensions() as $columnDimension) { - $columnDimension->setXfIndex( $map[$columnDimension->getXfIndex()] ); - } - - // also do garbage collection for all the sheets - $sheet->garbageCollect(); - } - } - - /** - * Return the unique ID value assigned to this spreadsheet workbook - * - * @return string - */ - public function getID() { - return $this->_uniqueID; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Autoloader.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Autoloader.php deleted file mode 100644 index f0b225163..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Autoloader.php +++ /dev/null @@ -1,89 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -PHPExcel_Autoloader::Register(); -// As we always try to run the autoloader before anything else, we can use it to do a few -// simple checks and initialisations -//PHPExcel_Shared_ZipStreamWrapper::register(); -// check mbstring.func_overload -if (ini_get('mbstring.func_overload') & 2) { - throw new PHPExcel_Exception('Multibyte function overloading in PHP must be disabled for string functions (2).'); -} -PHPExcel_Shared_String::buildCharacterSets(); - - -/** - * PHPExcel_Autoloader - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Autoloader -{ - /** - * Register the Autoloader with SPL - * - */ - public static function Register() { - if (function_exists('__autoload')) { - // Register any existing autoloader function with SPL, so we don't get any clashes - spl_autoload_register('__autoload'); - } - // Register ourselves with SPL - if (version_compare(PHP_VERSION, '5.3.0') >= 0) { - return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'), true, true); - } else { - return spl_autoload_register(array('PHPExcel_Autoloader', 'Load')); - } - } // function Register() - - - /** - * Autoload a class identified by name - * - * @param string $pClassName Name of the object to load - */ - public static function Load($pClassName){ - if ((class_exists($pClassName,FALSE)) || (strpos($pClassName, 'PHPExcel') !== 0)) { - // Either already loaded, or not a PHPExcel class request - return FALSE; - } - - $pClassFilePath = PHPEXCEL_ROOT . - str_replace('_',DIRECTORY_SEPARATOR,$pClassName) . - '.php'; - - if ((file_exists($pClassFilePath) === FALSE) || (is_readable($pClassFilePath) === FALSE)) { - // Can't load - return FALSE; - } - - require($pClassFilePath); - } // function Load() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/APC.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/APC.php deleted file mode 100644 index 8bde7fe3e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/APC.php +++ /dev/null @@ -1,295 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_APC - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_APC extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Prefix used to uniquely identify cache data for this worksheet - * - * @access private - * @var string - */ - private $_cachePrefix = null; - - /** - * Cache timeout - * - * @access private - * @var integer - */ - private $_cacheTime = 600; - - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @access private - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - if (!apc_store($this->_cachePrefix.$this->_currentObjectID.'.cache',serialize($this->_currentObject),$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in APC'); - } - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @access public - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - $this->_cellCache[$pCoord] = true; - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @access public - * @param string $pCoord Coordinate address of the cell to check - * @throws PHPExcel_Exception - * @return boolean - */ - public function isDataSet($pCoord) { - // Check if the requested entry is the current object, or exists in the cache - if (parent::isDataSet($pCoord)) { - if ($this->_currentObjectID == $pCoord) { - return true; - } - // Check if the requested entry still exists in apc - $success = apc_fetch($this->_cachePrefix.$pCoord.'.cache'); - if ($success === FALSE) { - // Entry no longer exists in APC, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in APC cache'); - } - return true; - } - return false; - } // function isDataSet() - - - /** - * Get cell at a specific coordinate - * - * @access public - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (parent::isDataSet($pCoord)) { - $obj = apc_fetch($this->_cachePrefix.$pCoord.'.cache'); - if ($obj === FALSE) { - // Entry no longer exists in APC, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in APC cache'); - } - } else { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($obj); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Delete a cell in cache identified by coordinate address - * - * @access public - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - // Delete the entry from APC - apc_delete($this->_cachePrefix.$pCoord.'.cache'); - - // Delete the entry from our cell address array - parent::deleteCacheData($pCoord); - } // function deleteCacheData() - - - /** - * Clone the cell collection - * - * @access public - * @param PHPExcel_Worksheet $parent The new worksheet - * @throws PHPExcel_Exception - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newCachePrefix = substr(md5($baseUnique),0,8).'.'; - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - if ($cellID != $this->_currentObjectID) { - $obj = apc_fetch($this->_cachePrefix.$cellID.'.cache'); - if ($obj === FALSE) { - // Entry no longer exists in APC, so clear it from the cache array - parent::deleteCacheData($cellID); - throw new PHPExcel_Exception('Cell entry '.$cellID.' no longer exists in APC'); - } - if (!apc_store($newCachePrefix.$cellID.'.cache',$obj,$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$cellID.' in APC'); - } - } - } - $this->_cachePrefix = $newCachePrefix; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if ($this->_currentObject !== NULL) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - - // Flush the APC cache - $this->__destruct(); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600; - - if ($this->_cachePrefix === NULL) { - $baseUnique = $this->_getUniqueID(); - $this->_cachePrefix = substr(md5($baseUnique),0,8).'.'; - $this->_cacheTime = $cacheTime; - - parent::__construct($parent); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - apc_delete($this->_cachePrefix.$cellID.'.cache'); - } - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('apc_store')) { - return FALSE; - } - if (apc_sma_info() === FALSE) { - return FALSE; - } - - return TRUE; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/CacheBase.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/CacheBase.php deleted file mode 100644 index 9f780b2a6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/CacheBase.php +++ /dev/null @@ -1,347 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_CacheBase - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_CachedObjectStorage_CacheBase { - - /** - * Parent worksheet - * - * @var PHPExcel_Worksheet - */ - protected $_parent; - - /** - * The currently active Cell - * - * @var PHPExcel_Cell - */ - protected $_currentObject = null; - - /** - * Coordinate address of the currently active Cell - * - * @var string - */ - protected $_currentObjectID = null; - - - /** - * Flag indicating whether the currently active Cell requires saving - * - * @var boolean - */ - protected $_currentCellIsDirty = true; - - /** - * An array of cells or cell pointers for the worksheet cells held in this cache, - * and indexed by their coordinate address within the worksheet - * - * @var array of mixed - */ - protected $_cellCache = array(); - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - */ - public function __construct(PHPExcel_Worksheet $parent) { - // Set our parent worksheet. - // This is maintained within the cache controller to facilitate re-attaching it to PHPExcel_Cell objects when - // they are woken from a serialized state - $this->_parent = $parent; - } // function __construct() - - - /** - * Return the parent worksheet for this cell collection - * - * @return PHPExcel_Worksheet - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return true; - } - // Check if the requested entry exists in the cache - return isset($this->_cellCache[$pCoord]); - } // function isDataSet() - - - /** - * Move a cell object from one address to another - * - * @param string $fromAddress Current address of the cell to move - * @param string $toAddress Destination address of the cell to move - * @return boolean - */ - public function moveCell($fromAddress, $toAddress) { - if ($fromAddress === $this->_currentObjectID) { - $this->_currentObjectID = $toAddress; - } - $this->_currentCellIsDirty = true; - if (isset($this->_cellCache[$fromAddress])) { - $this->_cellCache[$toAddress] = &$this->_cellCache[$fromAddress]; - unset($this->_cellCache[$fromAddress]); - } - - return TRUE; - } // function moveCell() - - - /** - * Add or Update a cell in cache - * - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function updateCacheData(PHPExcel_Cell $cell) { - return $this->addCacheData($cell->getCoordinate(),$cell); - } // function updateCacheData() - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - $this->_currentObject->detach(); - $this->_currentObjectID = $this->_currentObject = null; - } - - if (is_object($this->_cellCache[$pCoord])) { - $this->_cellCache[$pCoord]->detach(); - unset($this->_cellCache[$pCoord]); - } - $this->_currentCellIsDirty = false; - } // function deleteCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - return array_keys($this->_cellCache); - } // function getCellList() - - - /** - * Sort the list of all cell addresses currently held in cache by row and column - * - * @return string[] - */ - public function getSortedCellList() { - $sortKeys = array(); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $column, $row); - $sortKeys[sprintf('%09d%3s',$row,$column)] = $coord; - } - ksort($sortKeys); - - return array_values($sortKeys); - } // function sortCellList() - - - - /** - * Get highest worksheet column and highest row that have cell records - * - * @return array Highest column name and highest row number - */ - public function getHighestRowAndColumn() - { - // Lookup highest column and highest row - $col = array('A' => '1A'); - $row = array(1); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $c, $r); - $row[$r] = $r; - $col[$c] = strlen($c).$c; - } - if (!empty($row)) { - // Determine highest column and row - $highestRow = max($row); - $highestColumn = substr(max($col),1); - } - - return array( 'row' => $highestRow, - 'column' => $highestColumn - ); - } - - - /** - * Return the cell address of the currently active cell object - * - * @return string - */ - public function getCurrentAddress() - { - return $this->_currentObjectID; - } - - /** - * Return the column address of the currently active cell object - * - * @return string - */ - public function getCurrentColumn() - { - sscanf($this->_currentObjectID, '%[A-Z]%d', $column, $row); - return $column; - } - - /** - * Return the row address of the currently active cell object - * - * @return integer - */ - public function getCurrentRow() - { - sscanf($this->_currentObjectID, '%[A-Z]%d', $column, $row); - return (integer) $row; - } - - /** - * Get highest worksheet column - * - * @param string $row Return the highest column for the specified row, - * or the highest column of any row if no row number is passed - * @return string Highest column name - */ - public function getHighestColumn($row = null) - { - if ($row == null) { - $colRow = $this->getHighestRowAndColumn(); - return $colRow['column']; - } - - $columnList = array(1); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $c, $r); - if ($r != $row) { - continue; - } - $columnList[] = PHPExcel_Cell::columnIndexFromString($c); - } - return PHPExcel_Cell::stringFromColumnIndex(max($columnList) - 1); - } - - /** - * Get highest worksheet row - * - * @param string $column Return the highest row for the specified column, - * or the highest row of any column if no column letter is passed - * @return int Highest row number - */ - public function getHighestRow($column = null) - { - if ($column == null) { - $colRow = $this->getHighestRowAndColumn(); - return $colRow['row']; - } - - $rowList = array(0); - foreach ($this->getCellList() as $coord) { - sscanf($coord,'%[A-Z]%d', $c, $r); - if ($c != $column) { - continue; - } - $rowList[] = $r; - } - - return max($rowList); - } - - - /** - * Generate a unique ID for cache referencing - * - * @return string Unique Reference - */ - protected function _getUniqueID() { - if (function_exists('posix_getpid')) { - $baseUnique = posix_getpid(); - } else { - $baseUnique = mt_rand(); - } - return uniqid($baseUnique,true); - } - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - $this->_currentCellIsDirty; - $this->_storeData(); - - $this->_parent = $parent; - if (($this->_currentObject !== NULL) && (is_object($this->_currentObject))) { - $this->_currentObject->attach($this); - } - } // function copyCellCollection() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/DiscISAM.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/DiscISAM.php deleted file mode 100644 index cb38d0de4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/DiscISAM.php +++ /dev/null @@ -1,219 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_DiscISAM - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_DiscISAM extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Name of the file for this cache - * - * @var string - */ - private $_fileName = NULL; - - /** - * File handle for this cache file - * - * @var resource - */ - private $_fileHandle = NULL; - - /** - * Directory/Folder where the cache file is located - * - * @var string - */ - private $_cacheDirectory = NULL; - - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - fseek($this->_fileHandle,0,SEEK_END); - - $this->_cellCache[$this->_currentObjectID] = array( - 'ptr' => ftell($this->_fileHandle), - 'sz' => fwrite($this->_fileHandle, serialize($this->_currentObject)) - ); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - fseek($this->_fileHandle, $this->_cellCache[$pCoord]['ptr']); - $this->_currentObject = unserialize(fread($this->_fileHandle, $this->_cellCache[$pCoord]['sz'])); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newFileName = $this->_cacheDirectory.'/PHPExcel.'.$baseUnique.'.cache'; - // Copy the existing cell cache file - copy ($this->_fileName,$newFileName); - $this->_fileName = $newFileName; - // Open the copied cell cache file - $this->_fileHandle = fopen($this->_fileName,'a+'); - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the temporary cache file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $this->_cacheDirectory = ((isset($arguments['dir'])) && ($arguments['dir'] !== NULL)) - ? $arguments['dir'] - : PHPExcel_Shared_File::sys_get_temp_dir(); - - parent::__construct($parent); - if (is_null($this->_fileHandle)) { - $baseUnique = $this->_getUniqueID(); - $this->_fileName = $this->_cacheDirectory.'/PHPExcel.'.$baseUnique.'.cache'; - $this->_fileHandle = fopen($this->_fileName,'a+'); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_fileHandle)) { - fclose($this->_fileHandle); - unlink($this->_fileName); - } - $this->_fileHandle = null; - } // function __destruct() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/ICache.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/ICache.php deleted file mode 100644 index 220905cd4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/ICache.php +++ /dev/null @@ -1,112 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_ICache - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_CachedObjectStorage_ICache -{ - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell); - - /** - * Add or Update a cell in cache - * - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function updateCacheData(PHPExcel_Cell $cell); - - /** - * Fetch a cell from cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to retrieve - * @return PHPExcel_Cell Cell that was found, or null if not found - * @throws PHPExcel_Exception - */ - public function getCacheData($pCoord); - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord); - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord); - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList(); - - /** - * Get the list of all cell addresses currently held in cache sorted by column and row - * - * @return string[] - */ - public function getSortedCellList(); - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent); - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable(); - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Igbinary.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Igbinary.php deleted file mode 100644 index 8bd11f116..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Igbinary.php +++ /dev/null @@ -1,152 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_Igbinary - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_Igbinary extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_cellCache[$this->_currentObjectID] = igbinary_serialize($this->_currentObject); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = igbinary_unserialize($this->_cellCache[$pCoord]); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('igbinary_serialize')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Memcache.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Memcache.php deleted file mode 100644 index 6a096769e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Memcache.php +++ /dev/null @@ -1,312 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_Memcache - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_Memcache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Prefix used to uniquely identify cache data for this worksheet - * - * @var string - */ - private $_cachePrefix = null; - - /** - * Cache timeout - * - * @var integer - */ - private $_cacheTime = 600; - - /** - * Memcache interface - * - * @var resource - */ - private $_memcache = null; - - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $obj = serialize($this->_currentObject); - if (!$this->_memcache->replace($this->_cachePrefix.$this->_currentObjectID.'.cache',$obj,NULL,$this->_cacheTime)) { - if (!$this->_memcache->add($this->_cachePrefix.$this->_currentObjectID.'.cache',$obj,NULL,$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in MemCache'); - } - } - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - $this->_cellCache[$pCoord] = true; - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - * @return boolean - */ - public function isDataSet($pCoord) { - // Check if the requested entry is the current object, or exists in the cache - if (parent::isDataSet($pCoord)) { - if ($this->_currentObjectID == $pCoord) { - return true; - } - // Check if the requested entry still exists in Memcache - $success = $this->_memcache->get($this->_cachePrefix.$pCoord.'.cache'); - if ($success === false) { - // Entry no longer exists in Memcache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in MemCache'); - } - return true; - } - return false; - } // function isDataSet() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (parent::isDataSet($pCoord)) { - $obj = $this->_memcache->get($this->_cachePrefix.$pCoord.'.cache'); - if ($obj === false) { - // Entry no longer exists in Memcache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in MemCache'); - } - } else { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($obj); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - // Delete the entry from Memcache - $this->_memcache->delete($this->_cachePrefix.$pCoord.'.cache'); - - // Delete the entry from our cell address array - parent::deleteCacheData($pCoord); - } // function deleteCacheData() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newCachePrefix = substr(md5($baseUnique),0,8).'.'; - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - if ($cellID != $this->_currentObjectID) { - $obj = $this->_memcache->get($this->_cachePrefix.$cellID.'.cache'); - if ($obj === false) { - // Entry no longer exists in Memcache, so clear it from the cache array - parent::deleteCacheData($cellID); - throw new PHPExcel_Exception('Cell entry '.$cellID.' no longer exists in MemCache'); - } - if (!$this->_memcache->add($newCachePrefix.$cellID.'.cache',$obj,NULL,$this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$cellID.' in MemCache'); - } - } - } - $this->_cachePrefix = $newCachePrefix; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - - // Flush the Memcache cache - $this->__destruct(); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $memcacheServer = (isset($arguments['memcacheServer'])) ? $arguments['memcacheServer'] : 'localhost'; - $memcachePort = (isset($arguments['memcachePort'])) ? $arguments['memcachePort'] : 11211; - $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600; - - if (is_null($this->_cachePrefix)) { - $baseUnique = $this->_getUniqueID(); - $this->_cachePrefix = substr(md5($baseUnique),0,8).'.'; - - // Set a new Memcache object and connect to the Memcache server - $this->_memcache = new Memcache(); - if (!$this->_memcache->addServer($memcacheServer, $memcachePort, false, 50, 5, 5, true, array($this, 'failureCallback'))) { - throw new PHPExcel_Exception('Could not connect to MemCache server at '.$memcacheServer.':'.$memcachePort); - } - $this->_cacheTime = $cacheTime; - - parent::__construct($parent); - } - } // function __construct() - - - /** - * Memcache error handler - * - * @param string $host Memcache server - * @param integer $port Memcache port - * @throws PHPExcel_Exception - */ - public function failureCallback($host, $port) { - throw new PHPExcel_Exception('memcache '.$host.':'.$port.' failed'); - } - - - /** - * Destroy this cell collection - */ - public function __destruct() { - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - $this->_memcache->delete($this->_cachePrefix.$cellID.'.cache'); - } - } // function __destruct() - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('memcache_add')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Memory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Memory.php deleted file mode 100644 index 1319a18de..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Memory.php +++ /dev/null @@ -1,125 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_Memory - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_Memory extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Dummy method callable from CacheBase, but unused by Memory cache - * - * @return void - */ - protected function _storeData() { - } // function _storeData() - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - $this->_cellCache[$pCoord] = $cell; - - // Set current entry to the new/updated entry - $this->_currentObjectID = $pCoord; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - $this->_currentObjectID = NULL; - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - - // Return requested entry - return $this->_cellCache[$pCoord]; - } // function getCacheData() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - - $newCollection = array(); - foreach($this->_cellCache as $k => &$cell) { - $newCollection[$k] = clone $cell; - $newCollection[$k]->attach($this); - } - - $this->_cellCache = $newCollection; - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - // Because cells are all stored as intact objects in memory, we need to detach each one from the parent - foreach($this->_cellCache as $k => &$cell) { - $cell->detach(); - $this->_cellCache[$k] = null; - } - unset($cell); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/MemoryGZip.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/MemoryGZip.php deleted file mode 100644 index e35563c4e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/MemoryGZip.php +++ /dev/null @@ -1,137 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_MemoryGZip - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_MemoryGZip extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_cellCache[$this->_currentObjectID] = gzdeflate(serialize($this->_currentObject)); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize(gzinflate($this->_cellCache[$pCoord])); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/MemorySerialized.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/MemorySerialized.php deleted file mode 100644 index 1082deae5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/MemorySerialized.php +++ /dev/null @@ -1,137 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_MemorySerialized - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_MemorySerialized extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_cellCache[$this->_currentObjectID] = serialize($this->_currentObject); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($this->_cellCache[$pCoord]); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/PHPTemp.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/PHPTemp.php deleted file mode 100644 index e28429dec..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/PHPTemp.php +++ /dev/null @@ -1,206 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_PHPTemp - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_PHPTemp extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Name of the file for this cache - * - * @var string - */ - private $_fileHandle = null; - - /** - * Memory limit to use before reverting to file cache - * - * @var integer - */ - private $_memoryCacheSize = null; - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - fseek($this->_fileHandle,0,SEEK_END); - - $this->_cellCache[$this->_currentObjectID] = array( - 'ptr' => ftell($this->_fileHandle), - 'sz' => fwrite($this->_fileHandle, serialize($this->_currentObject)) - ); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - if (!isset($this->_cellCache[$pCoord])) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - fseek($this->_fileHandle,$this->_cellCache[$pCoord]['ptr']); - $this->_currentObject = unserialize(fread($this->_fileHandle,$this->_cellCache[$pCoord]['sz'])); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Open a new stream for the cell cache data - $newFileHandle = fopen('php://temp/maxmemory:'.$this->_memoryCacheSize,'a+'); - // Copy the existing cell cache data to the new stream - fseek($this->_fileHandle,0); - while (!feof($this->_fileHandle)) { - fwrite($newFileHandle,fread($this->_fileHandle, 1024)); - } - $this->_fileHandle = $newFileHandle; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the php://temp file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $this->_memoryCacheSize = (isset($arguments['memoryCacheSize'])) ? $arguments['memoryCacheSize'] : '1MB'; - - parent::__construct($parent); - if (is_null($this->_fileHandle)) { - $this->_fileHandle = fopen('php://temp/maxmemory:'.$this->_memoryCacheSize,'a+'); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_fileHandle)) { - fclose($this->_fileHandle); - } - $this->_fileHandle = null; - } // function __destruct() - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/SQLite.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/SQLite.php deleted file mode 100644 index dd4f0e99d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/SQLite.php +++ /dev/null @@ -1,306 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_SQLite - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_SQLite extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Database table name - * - * @var string - */ - private $_TableName = null; - - /** - * Database handle - * - * @var resource - */ - private $_DBHandle = null; - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - if (!$this->_DBHandle->queryExec("INSERT OR REPLACE INTO kvp_".$this->_TableName." VALUES('".$this->_currentObjectID."','".sqlite_escape_string(serialize($this->_currentObject))."')")) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - $query = "SELECT value FROM kvp_".$this->_TableName." WHERE id='".$pCoord."'"; - $cellResultSet = $this->_DBHandle->query($query,SQLITE_ASSOC); - if ($cellResultSet === false) { - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - } elseif ($cellResultSet->numRows() == 0) { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - - $cellResult = $cellResultSet->fetchSingle(); - $this->_currentObject = unserialize($cellResult); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Is a value set for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return true; - } - - // Check if the requested entry exists in the cache - $query = "SELECT id FROM kvp_".$this->_TableName." WHERE id='".$pCoord."'"; - $cellResultSet = $this->_DBHandle->query($query,SQLITE_ASSOC); - if ($cellResultSet === false) { - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - } elseif ($cellResultSet->numRows() == 0) { - // Return null if requested entry doesn't exist in cache - return false; - } - return true; - } // function isDataSet() - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - $this->_currentObject->detach(); - $this->_currentObjectID = $this->_currentObject = null; - } - - // Check if the requested entry exists in the cache - $query = "DELETE FROM kvp_".$this->_TableName." WHERE id='".$pCoord."'"; - if (!$this->_DBHandle->queryExec($query)) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - - $this->_currentCellIsDirty = false; - } // function deleteCacheData() - - - /** - * Move a cell object from one address to another - * - * @param string $fromAddress Current address of the cell to move - * @param string $toAddress Destination address of the cell to move - * @return boolean - */ - public function moveCell($fromAddress, $toAddress) { - if ($fromAddress === $this->_currentObjectID) { - $this->_currentObjectID = $toAddress; - } - - $query = "DELETE FROM kvp_".$this->_TableName." WHERE id='".$toAddress."'"; - $result = $this->_DBHandle->exec($query); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $query = "UPDATE kvp_".$this->_TableName." SET id='".$toAddress."' WHERE id='".$fromAddress."'"; - $result = $this->_DBHandle->exec($query); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - return TRUE; - } // function moveCell() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - $query = "SELECT id FROM kvp_".$this->_TableName; - $cellIdsResult = $this->_DBHandle->unbufferedQuery($query,SQLITE_ASSOC); - if ($cellIdsResult === false) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - - $cellKeys = array(); - foreach($cellIdsResult as $row) { - $cellKeys[] = $row['id']; - } - - return $cellKeys; - } // function getCellList() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - $this->_currentCellIsDirty; - $this->_storeData(); - - // Get a new id for the new table name - $tableName = str_replace('.','_',$this->_getUniqueID()); - if (!$this->_DBHandle->queryExec('CREATE TABLE kvp_'.$tableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB) - AS SELECT * FROM kvp_'.$this->_TableName)) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - - // Copy the existing cell cache file - $this->_TableName = $tableName; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the temporary cache file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - */ - public function __construct(PHPExcel_Worksheet $parent) { - parent::__construct($parent); - if (is_null($this->_DBHandle)) { - $this->_TableName = str_replace('.','_',$this->_getUniqueID()); - $_DBName = ':memory:'; - - $this->_DBHandle = new SQLiteDatabase($_DBName); - if ($this->_DBHandle === false) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - if (!$this->_DBHandle->queryExec('CREATE TABLE kvp_'.$this->_TableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)')) - throw new PHPExcel_Exception(sqlite_error_string($this->_DBHandle->lastError())); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_DBHandle)) { - $this->_DBHandle->queryExec('DROP TABLE kvp_'.$this->_TableName); - } - $this->_DBHandle = null; - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('sqlite_open')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/SQLite3.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/SQLite3.php deleted file mode 100644 index bdc1d9793..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/SQLite3.php +++ /dev/null @@ -1,345 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_SQLite3 - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_SQLite3 extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Database table name - * - * @var string - */ - private $_TableName = null; - - /** - * Database handle - * - * @var resource - */ - private $_DBHandle = null; - - /** - * Prepared statement for a SQLite3 select query - * - * @var SQLite3Stmt - */ - private $_selectQuery; - - /** - * Prepared statement for a SQLite3 insert query - * - * @var SQLite3Stmt - */ - private $_insertQuery; - - /** - * Prepared statement for a SQLite3 update query - * - * @var SQLite3Stmt - */ - private $_updateQuery; - - /** - * Prepared statement for a SQLite3 delete query - * - * @var SQLite3Stmt - */ - private $_deleteQuery; - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $this->_insertQuery->bindValue('id',$this->_currentObjectID,SQLITE3_TEXT); - $this->_insertQuery->bindValue('data',serialize($this->_currentObject),SQLITE3_BLOB); - $result = $this->_insertQuery->execute(); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - $this->_currentCellIsDirty = false; - } - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - $this->_selectQuery->bindValue('id',$pCoord,SQLITE3_TEXT); - $cellResult = $this->_selectQuery->execute(); - if ($cellResult === FALSE) { - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - } - $cellData = $cellResult->fetchArray(SQLITE3_ASSOC); - if ($cellData === FALSE) { - // Return null if requested entry doesn't exist in cache - return NULL; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - - $this->_currentObject = unserialize($cellData['value']); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Is a value set for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return TRUE; - } - - // Check if the requested entry exists in the cache - $this->_selectQuery->bindValue('id',$pCoord,SQLITE3_TEXT); - $cellResult = $this->_selectQuery->execute(); - if ($cellResult === FALSE) { - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - } - $cellData = $cellResult->fetchArray(SQLITE3_ASSOC); - - return ($cellData === FALSE) ? FALSE : TRUE; - } // function isDataSet() - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - $this->_currentObject->detach(); - $this->_currentObjectID = $this->_currentObject = NULL; - } - - // Check if the requested entry exists in the cache - $this->_deleteQuery->bindValue('id',$pCoord,SQLITE3_TEXT); - $result = $this->_deleteQuery->execute(); - if ($result === FALSE) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $this->_currentCellIsDirty = FALSE; - } // function deleteCacheData() - - - /** - * Move a cell object from one address to another - * - * @param string $fromAddress Current address of the cell to move - * @param string $toAddress Destination address of the cell to move - * @return boolean - */ - public function moveCell($fromAddress, $toAddress) { - if ($fromAddress === $this->_currentObjectID) { - $this->_currentObjectID = $toAddress; - } - - $this->_deleteQuery->bindValue('id',$toAddress,SQLITE3_TEXT); - $result = $this->_deleteQuery->execute(); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $this->_updateQuery->bindValue('toid',$toAddress,SQLITE3_TEXT); - $this->_updateQuery->bindValue('fromid',$fromAddress,SQLITE3_TEXT); - $result = $this->_updateQuery->execute(); - if ($result === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - return TRUE; - } // function moveCell() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - $query = "SELECT id FROM kvp_".$this->_TableName; - $cellIdsResult = $this->_DBHandle->query($query); - if ($cellIdsResult === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - $cellKeys = array(); - while ($row = $cellIdsResult->fetchArray(SQLITE3_ASSOC)) { - $cellKeys[] = $row['id']; - } - - return $cellKeys; - } // function getCellList() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - $this->_currentCellIsDirty; - $this->_storeData(); - - // Get a new id for the new table name - $tableName = str_replace('.','_',$this->_getUniqueID()); - if (!$this->_DBHandle->exec('CREATE TABLE kvp_'.$tableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB) - AS SELECT * FROM kvp_'.$this->_TableName)) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - - // Copy the existing cell cache file - $this->_TableName = $tableName; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - - // Close down the temporary cache file - $this->__destruct(); - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - */ - public function __construct(PHPExcel_Worksheet $parent) { - parent::__construct($parent); - if (is_null($this->_DBHandle)) { - $this->_TableName = str_replace('.','_',$this->_getUniqueID()); - $_DBName = ':memory:'; - - $this->_DBHandle = new SQLite3($_DBName); - if ($this->_DBHandle === false) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - if (!$this->_DBHandle->exec('CREATE TABLE kvp_'.$this->_TableName.' (id VARCHAR(12) PRIMARY KEY, value BLOB)')) - throw new PHPExcel_Exception($this->_DBHandle->lastErrorMsg()); - } - - $this->_selectQuery = $this->_DBHandle->prepare("SELECT value FROM kvp_".$this->_TableName." WHERE id = :id"); - $this->_insertQuery = $this->_DBHandle->prepare("INSERT OR REPLACE INTO kvp_".$this->_TableName." VALUES(:id,:data)"); - $this->_updateQuery = $this->_DBHandle->prepare("UPDATE kvp_".$this->_TableName." SET id=:toId WHERE id=:fromId"); - $this->_deleteQuery = $this->_DBHandle->prepare("DELETE FROM kvp_".$this->_TableName." WHERE id = :id"); - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - if (!is_null($this->_DBHandle)) { - $this->_DBHandle->exec('DROP TABLE kvp_'.$this->_TableName); - $this->_DBHandle->close(); - } - $this->_DBHandle = null; - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!class_exists('SQLite3',FALSE)) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Wincache.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Wincache.php deleted file mode 100644 index cdbef641b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/Wincache.php +++ /dev/null @@ -1,294 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorage_Wincache - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorage_Wincache extends PHPExcel_CachedObjectStorage_CacheBase implements PHPExcel_CachedObjectStorage_ICache { - - /** - * Prefix used to uniquely identify cache data for this worksheet - * - * @var string - */ - private $_cachePrefix = null; - - /** - * Cache timeout - * - * @var integer - */ - private $_cacheTime = 600; - - - /** - * Store cell data in cache for the current cell object if it's "dirty", - * and the 'nullify' the current cell object - * - * @return void - * @throws PHPExcel_Exception - */ - protected function _storeData() { - if ($this->_currentCellIsDirty && !empty($this->_currentObjectID)) { - $this->_currentObject->detach(); - - $obj = serialize($this->_currentObject); - if (wincache_ucache_exists($this->_cachePrefix.$this->_currentObjectID.'.cache')) { - if (!wincache_ucache_set($this->_cachePrefix.$this->_currentObjectID.'.cache', $obj, $this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in WinCache'); - } - } else { - if (!wincache_ucache_add($this->_cachePrefix.$this->_currentObjectID.'.cache', $obj, $this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$this->_currentObjectID.' in WinCache'); - } - } - $this->_currentCellIsDirty = false; - } - - $this->_currentObjectID = $this->_currentObject = null; - } // function _storeData() - - - /** - * Add or Update a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to update - * @param PHPExcel_Cell $cell Cell to update - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function addCacheData($pCoord, PHPExcel_Cell $cell) { - if (($pCoord !== $this->_currentObjectID) && ($this->_currentObjectID !== null)) { - $this->_storeData(); - } - $this->_cellCache[$pCoord] = true; - - $this->_currentObjectID = $pCoord; - $this->_currentObject = $cell; - $this->_currentCellIsDirty = true; - - return $cell; - } // function addCacheData() - - - /** - * Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell? - * - * @param string $pCoord Coordinate address of the cell to check - * @return boolean - */ - public function isDataSet($pCoord) { - // Check if the requested entry is the current object, or exists in the cache - if (parent::isDataSet($pCoord)) { - if ($this->_currentObjectID == $pCoord) { - return true; - } - // Check if the requested entry still exists in cache - $success = wincache_ucache_exists($this->_cachePrefix.$pCoord.'.cache'); - if ($success === false) { - // Entry no longer exists in Wincache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in WinCache'); - } - return true; - } - return false; - } // function isDataSet() - - - /** - * Get cell at a specific coordinate - * - * @param string $pCoord Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found, or null if not found - */ - public function getCacheData($pCoord) { - if ($pCoord === $this->_currentObjectID) { - return $this->_currentObject; - } - $this->_storeData(); - - // Check if the entry that has been requested actually exists - $obj = null; - if (parent::isDataSet($pCoord)) { - $success = false; - $obj = wincache_ucache_get($this->_cachePrefix.$pCoord.'.cache', $success); - if ($success === false) { - // Entry no longer exists in WinCache, so clear it from the cache array - parent::deleteCacheData($pCoord); - throw new PHPExcel_Exception('Cell entry '.$pCoord.' no longer exists in WinCache'); - } - } else { - // Return null if requested entry doesn't exist in cache - return null; - } - - // Set current entry to the requested entry - $this->_currentObjectID = $pCoord; - $this->_currentObject = unserialize($obj); - // Re-attach this as the cell's parent - $this->_currentObject->attach($this); - - // Return requested entry - return $this->_currentObject; - } // function getCacheData() - - - /** - * Get a list of all cell addresses currently held in cache - * - * @return string[] - */ - public function getCellList() { - if ($this->_currentObjectID !== null) { - $this->_storeData(); - } - - return parent::getCellList(); - } - - - /** - * Delete a cell in cache identified by coordinate address - * - * @param string $pCoord Coordinate address of the cell to delete - * @throws PHPExcel_Exception - */ - public function deleteCacheData($pCoord) { - // Delete the entry from Wincache - wincache_ucache_delete($this->_cachePrefix.$pCoord.'.cache'); - - // Delete the entry from our cell address array - parent::deleteCacheData($pCoord); - } // function deleteCacheData() - - - /** - * Clone the cell collection - * - * @param PHPExcel_Worksheet $parent The new worksheet - * @return void - */ - public function copyCellCollection(PHPExcel_Worksheet $parent) { - parent::copyCellCollection($parent); - // Get a new id for the new file name - $baseUnique = $this->_getUniqueID(); - $newCachePrefix = substr(md5($baseUnique),0,8).'.'; - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - if ($cellID != $this->_currentObjectID) { - $success = false; - $obj = wincache_ucache_get($this->_cachePrefix.$cellID.'.cache', $success); - if ($success === false) { - // Entry no longer exists in WinCache, so clear it from the cache array - parent::deleteCacheData($cellID); - throw new PHPExcel_Exception('Cell entry '.$cellID.' no longer exists in Wincache'); - } - if (!wincache_ucache_add($newCachePrefix.$cellID.'.cache', $obj, $this->_cacheTime)) { - $this->__destruct(); - throw new PHPExcel_Exception('Failed to store cell '.$cellID.' in Wincache'); - } - } - } - $this->_cachePrefix = $newCachePrefix; - } // function copyCellCollection() - - - /** - * Clear the cell collection and disconnect from our parent - * - * @return void - */ - public function unsetWorksheetCells() { - if(!is_null($this->_currentObject)) { - $this->_currentObject->detach(); - $this->_currentObject = $this->_currentObjectID = null; - } - - // Flush the WinCache cache - $this->__destruct(); - - $this->_cellCache = array(); - - // detach ourself from the worksheet, so that it can then delete this object successfully - $this->_parent = null; - } // function unsetWorksheetCells() - - - /** - * Initialise this new cell collection - * - * @param PHPExcel_Worksheet $parent The worksheet for this cell collection - * @param array of mixed $arguments Additional initialisation arguments - */ - public function __construct(PHPExcel_Worksheet $parent, $arguments) { - $cacheTime = (isset($arguments['cacheTime'])) ? $arguments['cacheTime'] : 600; - - if (is_null($this->_cachePrefix)) { - $baseUnique = $this->_getUniqueID(); - $this->_cachePrefix = substr(md5($baseUnique),0,8).'.'; - $this->_cacheTime = $cacheTime; - - parent::__construct($parent); - } - } // function __construct() - - - /** - * Destroy this cell collection - */ - public function __destruct() { - $cacheList = $this->getCellList(); - foreach($cacheList as $cellID) { - wincache_ucache_delete($this->_cachePrefix.$cellID.'.cache'); - } - } // function __destruct() - - - /** - * Identify whether the caching method is currently available - * Some methods are dependent on the availability of certain extensions being enabled in the PHP build - * - * @return boolean - */ - public static function cacheMethodIsAvailable() { - if (!function_exists('wincache_ucache_add')) { - return false; - } - - return true; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorage/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorageFactory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorageFactory.php deleted file mode 100644 index 2da92346e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CachedObjectStorageFactory.php +++ /dev/null @@ -1,251 +0,0 @@ -<?php - -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CachedObjectStorageFactory - * - * @category PHPExcel - * @package PHPExcel_CachedObjectStorage - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CachedObjectStorageFactory -{ - const cache_in_memory = 'Memory'; - const cache_in_memory_gzip = 'MemoryGZip'; - const cache_in_memory_serialized = 'MemorySerialized'; - const cache_igbinary = 'Igbinary'; - const cache_to_discISAM = 'DiscISAM'; - const cache_to_apc = 'APC'; - const cache_to_memcache = 'Memcache'; - const cache_to_phpTemp = 'PHPTemp'; - const cache_to_wincache = 'Wincache'; - const cache_to_sqlite = 'SQLite'; - const cache_to_sqlite3 = 'SQLite3'; - - - /** - * Name of the method used for cell cacheing - * - * @var string - */ - private static $_cacheStorageMethod = NULL; - - /** - * Name of the class used for cell cacheing - * - * @var string - */ - private static $_cacheStorageClass = NULL; - - - /** - * List of all possible cache storage methods - * - * @var string[] - */ - private static $_storageMethods = array( - self::cache_in_memory, - self::cache_in_memory_gzip, - self::cache_in_memory_serialized, - self::cache_igbinary, - self::cache_to_phpTemp, - self::cache_to_discISAM, - self::cache_to_apc, - self::cache_to_memcache, - self::cache_to_wincache, - self::cache_to_sqlite, - self::cache_to_sqlite3, - ); - - - /** - * Default arguments for each cache storage method - * - * @var array of mixed array - */ - private static $_storageMethodDefaultParameters = array( - self::cache_in_memory => array( - ), - self::cache_in_memory_gzip => array( - ), - self::cache_in_memory_serialized => array( - ), - self::cache_igbinary => array( - ), - self::cache_to_phpTemp => array( 'memoryCacheSize' => '1MB' - ), - self::cache_to_discISAM => array( 'dir' => NULL - ), - self::cache_to_apc => array( 'cacheTime' => 600 - ), - self::cache_to_memcache => array( 'memcacheServer' => 'localhost', - 'memcachePort' => 11211, - 'cacheTime' => 600 - ), - self::cache_to_wincache => array( 'cacheTime' => 600 - ), - self::cache_to_sqlite => array( - ), - self::cache_to_sqlite3 => array( - ), - ); - - - /** - * Arguments for the active cache storage method - * - * @var array of mixed array - */ - private static $_storageMethodParameters = array(); - - - /** - * Return the current cache storage method - * - * @return string|NULL - **/ - public static function getCacheStorageMethod() - { - return self::$_cacheStorageMethod; - } // function getCacheStorageMethod() - - - /** - * Return the current cache storage class - * - * @return PHPExcel_CachedObjectStorage_ICache|NULL - **/ - public static function getCacheStorageClass() - { - return self::$_cacheStorageClass; - } // function getCacheStorageClass() - - - /** - * Return the list of all possible cache storage methods - * - * @return string[] - **/ - public static function getAllCacheStorageMethods() - { - return self::$_storageMethods; - } // function getCacheStorageMethods() - - - /** - * Return the list of all available cache storage methods - * - * @return string[] - **/ - public static function getCacheStorageMethods() - { - $activeMethods = array(); - foreach(self::$_storageMethods as $storageMethod) { - $cacheStorageClass = 'PHPExcel_CachedObjectStorage_' . $storageMethod; - if (call_user_func(array($cacheStorageClass, 'cacheMethodIsAvailable'))) { - $activeMethods[] = $storageMethod; - } - } - return $activeMethods; - } // function getCacheStorageMethods() - - - /** - * Identify the cache storage method to use - * - * @param string $method Name of the method to use for cell cacheing - * @param array of mixed $arguments Additional arguments to pass to the cell caching class - * when instantiating - * @return boolean - **/ - public static function initialize($method = self::cache_in_memory, $arguments = array()) - { - if (!in_array($method,self::$_storageMethods)) { - return FALSE; - } - - $cacheStorageClass = 'PHPExcel_CachedObjectStorage_'.$method; - if (!call_user_func(array( $cacheStorageClass, - 'cacheMethodIsAvailable'))) { - return FALSE; - } - - self::$_storageMethodParameters[$method] = self::$_storageMethodDefaultParameters[$method]; - foreach($arguments as $k => $v) { - if (array_key_exists($k, self::$_storageMethodParameters[$method])) { - self::$_storageMethodParameters[$method][$k] = $v; - } - } - - if (self::$_cacheStorageMethod === NULL) { - self::$_cacheStorageClass = 'PHPExcel_CachedObjectStorage_' . $method; - self::$_cacheStorageMethod = $method; - } - return TRUE; - } // function initialize() - - - /** - * Initialise the cache storage - * - * @param PHPExcel_Worksheet $parent Enable cell caching for this worksheet - * @return PHPExcel_CachedObjectStorage_ICache - **/ - public static function getInstance(PHPExcel_Worksheet $parent) - { - $cacheMethodIsAvailable = TRUE; - if (self::$_cacheStorageMethod === NULL) { - $cacheMethodIsAvailable = self::initialize(); - } - - if ($cacheMethodIsAvailable) { - $instance = new self::$_cacheStorageClass( $parent, - self::$_storageMethodParameters[self::$_cacheStorageMethod] - ); - if ($instance !== NULL) { - return $instance; - } - } - - return FALSE; - } // function getInstance() - - - /** - * Clear the cache storage - * - **/ - public static function finalize() - { - self::$_cacheStorageMethod = NULL; - self::$_cacheStorageClass = NULL; - self::$_storageMethodParameters = array(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/CyclicReferenceStack.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/CyclicReferenceStack.php deleted file mode 100644 index a633c2c3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/CyclicReferenceStack.php +++ /dev/null @@ -1,98 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_CalcEngine_CyclicReferenceStack - * - * @category PHPExcel_CalcEngine_CyclicReferenceStack - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CalcEngine_CyclicReferenceStack { - - /** - * The call stack for calculated cells - * - * @var mixed[] - */ - private $_stack = array(); - - - /** - * Return the number of entries on the stack - * - * @return integer - */ - public function count() { - return count($this->_stack); - } - - /** - * Push a new entry onto the stack - * - * @param mixed $value - */ - public function push($value) { - $this->_stack[] = $value; - } // function push() - - /** - * Pop the last entry from the stack - * - * @return mixed - */ - public function pop() { - return array_pop($this->_stack); - } // function pop() - - /** - * Test to see if a specified entry exists on the stack - * - * @param mixed $value The value to test - */ - public function onStack($value) { - return in_array($value, $this->_stack); - } - - /** - * Clear the stack - */ - public function clear() { - $this->_stack = array(); - } // function push() - - /** - * Return an array of all entries on the stack - * - * @return mixed[] - */ - public function showStack() { - return $this->_stack; - } - -} // class PHPExcel_CalcEngine_CyclicReferenceStack diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/Logger.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/Logger.php deleted file mode 100644 index fe43ae4f6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/Logger.php +++ /dev/null @@ -1,153 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_CalcEngine_Logger - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_CalcEngine_Logger { - - /** - * Flag to determine whether a debug log should be generated by the calculation engine - * If true, then a debug log will be generated - * If false, then a debug log will not be generated - * - * @var boolean - */ - private $_writeDebugLog = FALSE; - - /** - * Flag to determine whether a debug log should be echoed by the calculation engine - * If true, then a debug log will be echoed - * If false, then a debug log will not be echoed - * A debug log can only be echoed if it is generated - * - * @var boolean - */ - private $_echoDebugLog = FALSE; - - /** - * The debug log generated by the calculation engine - * - * @var string[] - */ - private $_debugLog = array(); - - /** - * The calculation engine cell reference stack - * - * @var PHPExcel_CalcEngine_CyclicReferenceStack - */ - private $_cellStack; - - - /** - * Instantiate a Calculation engine logger - * - * @param PHPExcel_CalcEngine_CyclicReferenceStack $stack - */ - public function __construct(PHPExcel_CalcEngine_CyclicReferenceStack $stack) { - $this->_cellStack = $stack; - } - - /** - * Enable/Disable Calculation engine logging - * - * @param boolean $pValue - */ - public function setWriteDebugLog($pValue = FALSE) { - $this->_writeDebugLog = $pValue; - } - - /** - * Return whether calculation engine logging is enabled or disabled - * - * @return boolean - */ - public function getWriteDebugLog() { - return $this->_writeDebugLog; - } - - /** - * Enable/Disable echoing of debug log information - * - * @param boolean $pValue - */ - public function setEchoDebugLog($pValue = FALSE) { - $this->_echoDebugLog = $pValue; - } - - /** - * Return whether echoing of debug log information is enabled or disabled - * - * @return boolean - */ - public function getEchoDebugLog() { - return $this->_echoDebugLog; - } - - /** - * Write an entry to the calculation engine debug log - */ - public function writeDebugLog() { - // Only write the debug log if logging is enabled - if ($this->_writeDebugLog) { - $message = implode(func_get_args()); - $cellReference = implode(' -> ', $this->_cellStack->showStack()); - if ($this->_echoDebugLog) { - echo $cellReference, - ($this->_cellStack->count() > 0 ? ' => ' : ''), - $message, - PHP_EOL; - } - $this->_debugLog[] = $cellReference . - ($this->_cellStack->count() > 0 ? ' => ' : '') . - $message; - } - } // function _writeDebug() - - /** - * Clear the calculation engine debug log - */ - public function clearLog() { - $this->_debugLog = array(); - } // function flushLogger() - - /** - * Return the calculation engine debug log - * - * @return string[] - */ - public function getLog() { - return $this->_debugLog; - } // function flushLogger() - -} // class PHPExcel_CalcEngine_Logger - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/CalcEngine/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation.php deleted file mode 100644 index fa89671fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation.php +++ /dev/null @@ -1,3946 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -if (!defined('CALCULATION_REGEXP_CELLREF')) { - // Test for support of \P (multibyte options) in PCRE - if(defined('PREG_BAD_UTF8_ERROR')) { - // Cell reference (cell or range of cells, with or without a sheet reference) - define('CALCULATION_REGEXP_CELLREF','((([^\s,!&%^\/\*\+<>=-]*)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([a-z]{1,3})\$?(\d{1,7})'); - // Named Range of cells - define('CALCULATION_REGEXP_NAMEDRANGE','((([^\s,!&%^\/\*\+<>=-]*)|(\'[^\']*\')|(\"[^\"]*\"))!)?([_A-Z][_A-Z0-9\.]*)'); - } else { - // Cell reference (cell or range of cells, with or without a sheet reference) - define('CALCULATION_REGEXP_CELLREF','(((\w*)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([a-z]{1,3})\$?(\d+)'); - // Named Range of cells - define('CALCULATION_REGEXP_NAMEDRANGE','(((\w*)|(\'.*\')|(\".*\"))!)?([_A-Z][_A-Z0-9\.]*)'); - } -} - - -/** - * PHPExcel_Calculation (Multiton) - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation { - - /** Constants */ - /** Regular Expressions */ - // Numeric operand - const CALCULATION_REGEXP_NUMBER = '[-+]?\d*\.?\d+(e[-+]?\d+)?'; - // String operand - const CALCULATION_REGEXP_STRING = '"(?:[^"]|"")*"'; - // Opening bracket - const CALCULATION_REGEXP_OPENBRACE = '\('; - // Function (allow for the old @ symbol that could be used to prefix a function, but we'll ignore it) - const CALCULATION_REGEXP_FUNCTION = '@?([A-Z][A-Z0-9\.]*)[\s]*\('; - // Cell reference (cell or range of cells, with or without a sheet reference) - const CALCULATION_REGEXP_CELLREF = CALCULATION_REGEXP_CELLREF; - // Named Range of cells - const CALCULATION_REGEXP_NAMEDRANGE = CALCULATION_REGEXP_NAMEDRANGE; - // Error - const CALCULATION_REGEXP_ERROR = '\#[A-Z][A-Z0_\/]*[!\?]?'; - - - /** constants */ - const RETURN_ARRAY_AS_ERROR = 'error'; - const RETURN_ARRAY_AS_VALUE = 'value'; - const RETURN_ARRAY_AS_ARRAY = 'array'; - - private static $returnArrayAsType = self::RETURN_ARRAY_AS_VALUE; - - - /** - * Instance of this class - * - * @access private - * @var PHPExcel_Calculation - */ - private static $_instance; - - - /** - * Instance of the workbook this Calculation Engine is using - * - * @access private - * @var PHPExcel - */ - private $_workbook; - - /** - * List of instances of the calculation engine that we've instantiated for individual workbooks - * - * @access private - * @var PHPExcel_Calculation[] - */ - private static $_workbookSets; - - /** - * Calculation cache - * - * @access private - * @var array - */ - private $_calculationCache = array (); - - - /** - * Calculation cache enabled - * - * @access private - * @var boolean - */ - private $_calculationCacheEnabled = TRUE; - - - /** - * List of operators that can be used within formulae - * The true/false value indicates whether it is a binary operator or a unary operator - * - * @access private - * @var array - */ - private static $_operators = array('+' => TRUE, '-' => TRUE, '*' => TRUE, '/' => TRUE, - '^' => TRUE, '&' => TRUE, '%' => FALSE, '~' => FALSE, - '>' => TRUE, '<' => TRUE, '=' => TRUE, '>=' => TRUE, - '<=' => TRUE, '<>' => TRUE, '|' => TRUE, ':' => TRUE - ); - - - /** - * List of binary operators (those that expect two operands) - * - * @access private - * @var array - */ - private static $_binaryOperators = array('+' => TRUE, '-' => TRUE, '*' => TRUE, '/' => TRUE, - '^' => TRUE, '&' => TRUE, '>' => TRUE, '<' => TRUE, - '=' => TRUE, '>=' => TRUE, '<=' => TRUE, '<>' => TRUE, - '|' => TRUE, ':' => TRUE - ); - - /** - * The debug log generated by the calculation engine - * - * @access private - * @var PHPExcel_CalcEngine_Logger - * - */ - private $debugLog; - - /** - * Flag to determine how formula errors should be handled - * If true, then a user error will be triggered - * If false, then an exception will be thrown - * - * @access public - * @var boolean - * - */ - public $suppressFormulaErrors = FALSE; - - /** - * Error message for any error that was raised/thrown by the calculation engine - * - * @access public - * @var string - * - */ - public $formulaError = NULL; - - /** - * An array of the nested cell references accessed by the calculation engine, used for the debug log - * - * @access private - * @var array of string - * - */ - private $_cyclicReferenceStack; - - private $_cellStack = array(); - - /** - * Current iteration counter for cyclic formulae - * If the value is 0 (or less) then cyclic formulae will throw an exception, - * otherwise they will iterate to the limit defined here before returning a result - * - * @var integer - * - */ - private $_cyclicFormulaCount = 0; - - private $_cyclicFormulaCell = ''; - - /** - * Number of iterations for cyclic formulae - * - * @var integer - * - */ - public $cyclicFormulaCount = 0; - - /** - * Precision used for calculations - * - * @var integer - * - */ - private $_savedPrecision = 14; - - - /** - * The current locale setting - * - * @var string - * - */ - private static $_localeLanguage = 'en_us'; // US English (default locale) - - /** - * List of available locale settings - * Note that this is read for the locale subdirectory only when requested - * - * @var string[] - * - */ - private static $_validLocaleLanguages = array( 'en' // English (default language) - ); - /** - * Locale-specific argument separator for function arguments - * - * @var string - * - */ - private static $_localeArgumentSeparator = ','; - private static $_localeFunctions = array(); - - /** - * Locale-specific translations for Excel constants (True, False and Null) - * - * @var string[] - * - */ - public static $_localeBoolean = array( 'TRUE' => 'TRUE', - 'FALSE' => 'FALSE', - 'NULL' => 'NULL' - ); - - - /** - * Excel constant string translations to their PHP equivalents - * Constant conversion from text name/value to actual (datatyped) value - * - * @var string[] - * - */ - private static $_ExcelConstants = array('TRUE' => TRUE, - 'FALSE' => FALSE, - 'NULL' => NULL - ); - - // PHPExcel functions - private static $_PHPExcelFunctions = array( // PHPExcel functions - 'ABS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'abs', - 'argumentCount' => '1' - ), - 'ACCRINT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::ACCRINT', - 'argumentCount' => '4-7' - ), - 'ACCRINTM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::ACCRINTM', - 'argumentCount' => '3-5' - ), - 'ACOS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'acos', - 'argumentCount' => '1' - ), - 'ACOSH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'acosh', - 'argumentCount' => '1' - ), - 'ADDRESS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::CELL_ADDRESS', - 'argumentCount' => '2-5' - ), - 'AMORDEGRC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::AMORDEGRC', - 'argumentCount' => '6,7' - ), - 'AMORLINC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::AMORLINC', - 'argumentCount' => '6,7' - ), - 'AND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::LOGICAL_AND', - 'argumentCount' => '1+' - ), - 'AREAS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'ASC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'ASIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'asin', - 'argumentCount' => '1' - ), - 'ASINH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'asinh', - 'argumentCount' => '1' - ), - 'ATAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'atan', - 'argumentCount' => '1' - ), - 'ATAN2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ATAN2', - 'argumentCount' => '2' - ), - 'ATANH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'atanh', - 'argumentCount' => '1' - ), - 'AVEDEV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVEDEV', - 'argumentCount' => '1+' - ), - 'AVERAGE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGE', - 'argumentCount' => '1+' - ), - 'AVERAGEA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGEA', - 'argumentCount' => '1+' - ), - 'AVERAGEIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::AVERAGEIF', - 'argumentCount' => '2,3' - ), - 'AVERAGEIFS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3+' - ), - 'BAHTTEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'BESSELI' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELI', - 'argumentCount' => '2' - ), - 'BESSELJ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELJ', - 'argumentCount' => '2' - ), - 'BESSELK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELK', - 'argumentCount' => '2' - ), - 'BESSELY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BESSELY', - 'argumentCount' => '2' - ), - 'BETADIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::BETADIST', - 'argumentCount' => '3-5' - ), - 'BETAINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::BETAINV', - 'argumentCount' => '3-5' - ), - 'BIN2DEC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BINTODEC', - 'argumentCount' => '1' - ), - 'BIN2HEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BINTOHEX', - 'argumentCount' => '1,2' - ), - 'BIN2OCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::BINTOOCT', - 'argumentCount' => '1,2' - ), - 'BINOMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::BINOMDIST', - 'argumentCount' => '4' - ), - 'CEILING' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::CEILING', - 'argumentCount' => '2' - ), - 'CELL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1,2' - ), - 'CHAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::CHARACTER', - 'argumentCount' => '1' - ), - 'CHIDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CHIDIST', - 'argumentCount' => '2' - ), - 'CHIINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CHIINV', - 'argumentCount' => '2' - ), - 'CHITEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'CHOOSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::CHOOSE', - 'argumentCount' => '2+' - ), - 'CLEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::TRIMNONPRINTABLE', - 'argumentCount' => '1' - ), - 'CODE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::ASCIICODE', - 'argumentCount' => '1' - ), - 'COLUMN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::COLUMN', - 'argumentCount' => '-1', - 'passByReference' => array(TRUE) - ), - 'COLUMNS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::COLUMNS', - 'argumentCount' => '1' - ), - 'COMBIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::COMBIN', - 'argumentCount' => '2' - ), - 'COMPLEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::COMPLEX', - 'argumentCount' => '2,3' - ), - 'CONCATENATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::CONCATENATE', - 'argumentCount' => '1+' - ), - 'CONFIDENCE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CONFIDENCE', - 'argumentCount' => '3' - ), - 'CONVERT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::CONVERTUOM', - 'argumentCount' => '3' - ), - 'CORREL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CORREL', - 'argumentCount' => '2' - ), - 'COS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'cos', - 'argumentCount' => '1' - ), - 'COSH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'cosh', - 'argumentCount' => '1' - ), - 'COUNT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNT', - 'argumentCount' => '1+' - ), - 'COUNTA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTA', - 'argumentCount' => '1+' - ), - 'COUNTBLANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTBLANK', - 'argumentCount' => '1' - ), - 'COUNTIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COUNTIF', - 'argumentCount' => '2' - ), - 'COUNTIFS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'COUPDAYBS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYBS', - 'argumentCount' => '3,4' - ), - 'COUPDAYS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYS', - 'argumentCount' => '3,4' - ), - 'COUPDAYSNC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPDAYSNC', - 'argumentCount' => '3,4' - ), - 'COUPNCD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPNCD', - 'argumentCount' => '3,4' - ), - 'COUPNUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPNUM', - 'argumentCount' => '3,4' - ), - 'COUPPCD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::COUPPCD', - 'argumentCount' => '3,4' - ), - 'COVAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::COVAR', - 'argumentCount' => '2' - ), - 'CRITBINOM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CRITBINOM', - 'argumentCount' => '3' - ), - 'CUBEKPIMEMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBEMEMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBEMEMBERPROPERTY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBERANKEDMEMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBESET' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBESETCOUNT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUBEVALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_CUBE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'CUMIPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::CUMIPMT', - 'argumentCount' => '6' - ), - 'CUMPRINC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::CUMPRINC', - 'argumentCount' => '6' - ), - 'DATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATE', - 'argumentCount' => '3' - ), - 'DATEDIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATEDIF', - 'argumentCount' => '2,3' - ), - 'DATEVALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATEVALUE', - 'argumentCount' => '1' - ), - 'DAVERAGE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DAVERAGE', - 'argumentCount' => '3' - ), - 'DAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DAYOFMONTH', - 'argumentCount' => '1' - ), - 'DAYS360' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DAYS360', - 'argumentCount' => '2,3' - ), - 'DB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DB', - 'argumentCount' => '4,5' - ), - 'DCOUNT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DCOUNT', - 'argumentCount' => '3' - ), - 'DCOUNTA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DCOUNTA', - 'argumentCount' => '3' - ), - 'DDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DDB', - 'argumentCount' => '4,5' - ), - 'DEC2BIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOBIN', - 'argumentCount' => '1,2' - ), - 'DEC2HEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOHEX', - 'argumentCount' => '1,2' - ), - 'DEC2OCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DECTOOCT', - 'argumentCount' => '1,2' - ), - 'DEGREES' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'rad2deg', - 'argumentCount' => '1' - ), - 'DELTA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::DELTA', - 'argumentCount' => '1,2' - ), - 'DEVSQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::DEVSQ', - 'argumentCount' => '1+' - ), - 'DGET' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DGET', - 'argumentCount' => '3' - ), - 'DISC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DISC', - 'argumentCount' => '4,5' - ), - 'DMAX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DMAX', - 'argumentCount' => '3' - ), - 'DMIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DMIN', - 'argumentCount' => '3' - ), - 'DOLLAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::DOLLAR', - 'argumentCount' => '1,2' - ), - 'DOLLARDE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DOLLARDE', - 'argumentCount' => '2' - ), - 'DOLLARFR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::DOLLARFR', - 'argumentCount' => '2' - ), - 'DPRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DPRODUCT', - 'argumentCount' => '3' - ), - 'DSTDEV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DSTDEV', - 'argumentCount' => '3' - ), - 'DSTDEVP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DSTDEVP', - 'argumentCount' => '3' - ), - 'DSUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DSUM', - 'argumentCount' => '3' - ), - 'DURATION' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '5,6' - ), - 'DVAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DVAR', - 'argumentCount' => '3' - ), - 'DVARP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATABASE, - 'functionCall' => 'PHPExcel_Calculation_Database::DVARP', - 'argumentCount' => '3' - ), - 'EDATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::EDATE', - 'argumentCount' => '2' - ), - 'EFFECT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::EFFECT', - 'argumentCount' => '2' - ), - 'EOMONTH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::EOMONTH', - 'argumentCount' => '2' - ), - 'ERF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::ERF', - 'argumentCount' => '1,2' - ), - 'ERFC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::ERFC', - 'argumentCount' => '1' - ), - 'ERROR.TYPE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::ERROR_TYPE', - 'argumentCount' => '1' - ), - 'EVEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::EVEN', - 'argumentCount' => '1' - ), - 'EXACT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'EXP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'exp', - 'argumentCount' => '1' - ), - 'EXPONDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::EXPONDIST', - 'argumentCount' => '3' - ), - 'FACT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::FACT', - 'argumentCount' => '1' - ), - 'FACTDOUBLE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::FACTDOUBLE', - 'argumentCount' => '1' - ), - 'FALSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::FALSE', - 'argumentCount' => '0' - ), - 'FDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3' - ), - 'FIND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHSENSITIVE', - 'argumentCount' => '2,3' - ), - 'FINDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHSENSITIVE', - 'argumentCount' => '2,3' - ), - 'FINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3' - ), - 'FISHER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::FISHER', - 'argumentCount' => '1' - ), - 'FISHERINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::FISHERINV', - 'argumentCount' => '1' - ), - 'FIXED' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::FIXEDFORMAT', - 'argumentCount' => '1-3' - ), - 'FLOOR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::FLOOR', - 'argumentCount' => '2' - ), - 'FORECAST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::FORECAST', - 'argumentCount' => '3' - ), - 'FREQUENCY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'FTEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'FV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::FV', - 'argumentCount' => '3-5' - ), - 'FVSCHEDULE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::FVSCHEDULE', - 'argumentCount' => '2' - ), - 'GAMMADIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMADIST', - 'argumentCount' => '4' - ), - 'GAMMAINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMAINV', - 'argumentCount' => '3' - ), - 'GAMMALN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GAMMALN', - 'argumentCount' => '1' - ), - 'GCD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::GCD', - 'argumentCount' => '1+' - ), - 'GEOMEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GEOMEAN', - 'argumentCount' => '1+' - ), - 'GESTEP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::GESTEP', - 'argumentCount' => '1,2' - ), - 'GETPIVOTDATA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2+' - ), - 'GROWTH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::GROWTH', - 'argumentCount' => '1-4' - ), - 'HARMEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::HARMEAN', - 'argumentCount' => '1+' - ), - 'HEX2BIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTOBIN', - 'argumentCount' => '1,2' - ), - 'HEX2DEC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTODEC', - 'argumentCount' => '1' - ), - 'HEX2OCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::HEXTOOCT', - 'argumentCount' => '1,2' - ), - 'HLOOKUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::HLOOKUP', - 'argumentCount' => '3,4' - ), - 'HOUR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::HOUROFDAY', - 'argumentCount' => '1' - ), - 'HYPERLINK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::HYPERLINK', - 'argumentCount' => '1,2', - 'passCellReference'=> TRUE - ), - 'HYPGEOMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::HYPGEOMDIST', - 'argumentCount' => '4' - ), - 'IF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::STATEMENT_IF', - 'argumentCount' => '1-3' - ), - 'IFERROR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::IFERROR', - 'argumentCount' => '2' - ), - 'IMABS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMABS', - 'argumentCount' => '1' - ), - 'IMAGINARY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMAGINARY', - 'argumentCount' => '1' - ), - 'IMARGUMENT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMARGUMENT', - 'argumentCount' => '1' - ), - 'IMCONJUGATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMCONJUGATE', - 'argumentCount' => '1' - ), - 'IMCOS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMCOS', - 'argumentCount' => '1' - ), - 'IMDIV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMDIV', - 'argumentCount' => '2' - ), - 'IMEXP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMEXP', - 'argumentCount' => '1' - ), - 'IMLN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMLN', - 'argumentCount' => '1' - ), - 'IMLOG10' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMLOG10', - 'argumentCount' => '1' - ), - 'IMLOG2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMLOG2', - 'argumentCount' => '1' - ), - 'IMPOWER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMPOWER', - 'argumentCount' => '2' - ), - 'IMPRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMPRODUCT', - 'argumentCount' => '1+' - ), - 'IMREAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMREAL', - 'argumentCount' => '1' - ), - 'IMSIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSIN', - 'argumentCount' => '1' - ), - 'IMSQRT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSQRT', - 'argumentCount' => '1' - ), - 'IMSUB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSUB', - 'argumentCount' => '2' - ), - 'IMSUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::IMSUM', - 'argumentCount' => '1+' - ), - 'INDEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::INDEX', - 'argumentCount' => '1-4' - ), - 'INDIRECT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::INDIRECT', - 'argumentCount' => '1,2', - 'passCellReference'=> TRUE - ), - 'INFO' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'INT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::INT', - 'argumentCount' => '1' - ), - 'INTERCEPT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::INTERCEPT', - 'argumentCount' => '2' - ), - 'INTRATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::INTRATE', - 'argumentCount' => '4,5' - ), - 'IPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::IPMT', - 'argumentCount' => '4-6' - ), - 'IRR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::IRR', - 'argumentCount' => '1,2' - ), - 'ISBLANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_BLANK', - 'argumentCount' => '1' - ), - 'ISERR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_ERR', - 'argumentCount' => '1' - ), - 'ISERROR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_ERROR', - 'argumentCount' => '1' - ), - 'ISEVEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_EVEN', - 'argumentCount' => '1' - ), - 'ISLOGICAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_LOGICAL', - 'argumentCount' => '1' - ), - 'ISNA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_NA', - 'argumentCount' => '1' - ), - 'ISNONTEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_NONTEXT', - 'argumentCount' => '1' - ), - 'ISNUMBER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_NUMBER', - 'argumentCount' => '1' - ), - 'ISODD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_ODD', - 'argumentCount' => '1' - ), - 'ISPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::ISPMT', - 'argumentCount' => '4' - ), - 'ISREF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'ISTEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::IS_TEXT', - 'argumentCount' => '1' - ), - 'JIS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'KURT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::KURT', - 'argumentCount' => '1+' - ), - 'LARGE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LARGE', - 'argumentCount' => '2' - ), - 'LCM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::LCM', - 'argumentCount' => '1+' - ), - 'LEFT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::LEFT', - 'argumentCount' => '1,2' - ), - 'LEFTB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::LEFT', - 'argumentCount' => '1,2' - ), - 'LEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::STRINGLENGTH', - 'argumentCount' => '1' - ), - 'LENB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::STRINGLENGTH', - 'argumentCount' => '1' - ), - 'LINEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LINEST', - 'argumentCount' => '1-4' - ), - 'LN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'log', - 'argumentCount' => '1' - ), - 'LOG' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::LOG_BASE', - 'argumentCount' => '1,2' - ), - 'LOG10' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'log10', - 'argumentCount' => '1' - ), - 'LOGEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LOGEST', - 'argumentCount' => '1-4' - ), - 'LOGINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LOGINV', - 'argumentCount' => '3' - ), - 'LOGNORMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::LOGNORMDIST', - 'argumentCount' => '3' - ), - 'LOOKUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::LOOKUP', - 'argumentCount' => '2,3' - ), - 'LOWER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::LOWERCASE', - 'argumentCount' => '1' - ), - 'MATCH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::MATCH', - 'argumentCount' => '2,3' - ), - 'MAX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MAX', - 'argumentCount' => '1+' - ), - 'MAXA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MAXA', - 'argumentCount' => '1+' - ), - 'MAXIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MAXIF', - 'argumentCount' => '2+' - ), - 'MDETERM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MDETERM', - 'argumentCount' => '1' - ), - 'MDURATION' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '5,6' - ), - 'MEDIAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MEDIAN', - 'argumentCount' => '1+' - ), - 'MEDIANIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2+' - ), - 'MID' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::MID', - 'argumentCount' => '3' - ), - 'MIDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::MID', - 'argumentCount' => '3' - ), - 'MIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MIN', - 'argumentCount' => '1+' - ), - 'MINA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MINA', - 'argumentCount' => '1+' - ), - 'MINIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MINIF', - 'argumentCount' => '2+' - ), - 'MINUTE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::MINUTEOFHOUR', - 'argumentCount' => '1' - ), - 'MINVERSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MINVERSE', - 'argumentCount' => '1' - ), - 'MIRR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::MIRR', - 'argumentCount' => '3' - ), - 'MMULT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MMULT', - 'argumentCount' => '2' - ), - 'MOD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MOD', - 'argumentCount' => '2' - ), - 'MODE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::MODE', - 'argumentCount' => '1+' - ), - 'MONTH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::MONTHOFYEAR', - 'argumentCount' => '1' - ), - 'MROUND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MROUND', - 'argumentCount' => '2' - ), - 'MULTINOMIAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::MULTINOMIAL', - 'argumentCount' => '1+' - ), - 'N' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::N', - 'argumentCount' => '1' - ), - 'NA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::NA', - 'argumentCount' => '0' - ), - 'NEGBINOMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NEGBINOMDIST', - 'argumentCount' => '3' - ), - 'NETWORKDAYS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::NETWORKDAYS', - 'argumentCount' => '2+' - ), - 'NOMINAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::NOMINAL', - 'argumentCount' => '2' - ), - 'NORMDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMDIST', - 'argumentCount' => '4' - ), - 'NORMINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMINV', - 'argumentCount' => '3' - ), - 'NORMSDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMSDIST', - 'argumentCount' => '1' - ), - 'NORMSINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::NORMSINV', - 'argumentCount' => '1' - ), - 'NOT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::NOT', - 'argumentCount' => '1' - ), - 'NOW' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATETIMENOW', - 'argumentCount' => '0' - ), - 'NPER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::NPER', - 'argumentCount' => '3-5' - ), - 'NPV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::NPV', - 'argumentCount' => '2+' - ), - 'OCT2BIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTOBIN', - 'argumentCount' => '1,2' - ), - 'OCT2DEC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTODEC', - 'argumentCount' => '1' - ), - 'OCT2HEX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_ENGINEERING, - 'functionCall' => 'PHPExcel_Calculation_Engineering::OCTTOHEX', - 'argumentCount' => '1,2' - ), - 'ODD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ODD', - 'argumentCount' => '1' - ), - 'ODDFPRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '8,9' - ), - 'ODDFYIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '8,9' - ), - 'ODDLPRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '7,8' - ), - 'ODDLYIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '7,8' - ), - 'OFFSET' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::OFFSET', - 'argumentCount' => '3,5', - 'passCellReference'=> TRUE, - 'passByReference' => array(TRUE) - ), - 'OR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::LOGICAL_OR', - 'argumentCount' => '1+' - ), - 'PEARSON' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::CORREL', - 'argumentCount' => '2' - ), - 'PERCENTILE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::PERCENTILE', - 'argumentCount' => '2' - ), - 'PERCENTRANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::PERCENTRANK', - 'argumentCount' => '2,3' - ), - 'PERMUT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::PERMUT', - 'argumentCount' => '2' - ), - 'PHONETIC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1' - ), - 'PI' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'pi', - 'argumentCount' => '0' - ), - 'PMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PMT', - 'argumentCount' => '3-5' - ), - 'POISSON' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::POISSON', - 'argumentCount' => '3' - ), - 'POWER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::POWER', - 'argumentCount' => '2' - ), - 'PPMT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PPMT', - 'argumentCount' => '4-6' - ), - 'PRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PRICE', - 'argumentCount' => '6,7' - ), - 'PRICEDISC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PRICEDISC', - 'argumentCount' => '4,5' - ), - 'PRICEMAT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PRICEMAT', - 'argumentCount' => '5,6' - ), - 'PROB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '3,4' - ), - 'PRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::PRODUCT', - 'argumentCount' => '1+' - ), - 'PROPER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::PROPERCASE', - 'argumentCount' => '1' - ), - 'PV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::PV', - 'argumentCount' => '3-5' - ), - 'QUARTILE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::QUARTILE', - 'argumentCount' => '2' - ), - 'QUOTIENT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::QUOTIENT', - 'argumentCount' => '2' - ), - 'RADIANS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'deg2rad', - 'argumentCount' => '1' - ), - 'RAND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::RAND', - 'argumentCount' => '0' - ), - 'RANDBETWEEN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::RAND', - 'argumentCount' => '2' - ), - 'RANK' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::RANK', - 'argumentCount' => '2,3' - ), - 'RATE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::RATE', - 'argumentCount' => '3-6' - ), - 'RECEIVED' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::RECEIVED', - 'argumentCount' => '4-5' - ), - 'REPLACE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::REPLACE', - 'argumentCount' => '4' - ), - 'REPLACEB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::REPLACE', - 'argumentCount' => '4' - ), - 'REPT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'str_repeat', - 'argumentCount' => '2' - ), - 'RIGHT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::RIGHT', - 'argumentCount' => '1,2' - ), - 'RIGHTB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::RIGHT', - 'argumentCount' => '1,2' - ), - 'ROMAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ROMAN', - 'argumentCount' => '1,2' - ), - 'ROUND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'round', - 'argumentCount' => '2' - ), - 'ROUNDDOWN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ROUNDDOWN', - 'argumentCount' => '2' - ), - 'ROUNDUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::ROUNDUP', - 'argumentCount' => '2' - ), - 'ROW' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::ROW', - 'argumentCount' => '-1', - 'passByReference' => array(TRUE) - ), - 'ROWS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::ROWS', - 'argumentCount' => '1' - ), - 'RSQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::RSQ', - 'argumentCount' => '2' - ), - 'RTD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '1+' - ), - 'SEARCH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHINSENSITIVE', - 'argumentCount' => '2,3' - ), - 'SEARCHB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SEARCHINSENSITIVE', - 'argumentCount' => '2,3' - ), - 'SECOND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::SECONDOFMINUTE', - 'argumentCount' => '1' - ), - 'SERIESSUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SERIESSUM', - 'argumentCount' => '4' - ), - 'SIGN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SIGN', - 'argumentCount' => '1' - ), - 'SIN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'sin', - 'argumentCount' => '1' - ), - 'SINH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'sinh', - 'argumentCount' => '1' - ), - 'SKEW' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::SKEW', - 'argumentCount' => '1+' - ), - 'SLN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::SLN', - 'argumentCount' => '3' - ), - 'SLOPE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::SLOPE', - 'argumentCount' => '2' - ), - 'SMALL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::SMALL', - 'argumentCount' => '2' - ), - 'SQRT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'sqrt', - 'argumentCount' => '1' - ), - 'SQRTPI' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SQRTPI', - 'argumentCount' => '1' - ), - 'STANDARDIZE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STANDARDIZE', - 'argumentCount' => '3' - ), - 'STDEV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEV', - 'argumentCount' => '1+' - ), - 'STDEVA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVA', - 'argumentCount' => '1+' - ), - 'STDEVP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVP', - 'argumentCount' => '1+' - ), - 'STDEVPA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STDEVPA', - 'argumentCount' => '1+' - ), - 'STEYX' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::STEYX', - 'argumentCount' => '2' - ), - 'SUBSTITUTE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::SUBSTITUTE', - 'argumentCount' => '3,4' - ), - 'SUBTOTAL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUBTOTAL', - 'argumentCount' => '2+' - ), - 'SUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUM', - 'argumentCount' => '1+' - ), - 'SUMIF' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMIF', - 'argumentCount' => '2,3' - ), - 'SUMIFS' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '?' - ), - 'SUMPRODUCT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMPRODUCT', - 'argumentCount' => '1+' - ), - 'SUMSQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMSQ', - 'argumentCount' => '1+' - ), - 'SUMX2MY2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMX2MY2', - 'argumentCount' => '2' - ), - 'SUMX2PY2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMX2PY2', - 'argumentCount' => '2' - ), - 'SUMXMY2' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::SUMXMY2', - 'argumentCount' => '2' - ), - 'SYD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::SYD', - 'argumentCount' => '4' - ), - 'T' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::RETURNSTRING', - 'argumentCount' => '1' - ), - 'TAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'tan', - 'argumentCount' => '1' - ), - 'TANH' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'tanh', - 'argumentCount' => '1' - ), - 'TBILLEQ' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::TBILLEQ', - 'argumentCount' => '3' - ), - 'TBILLPRICE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::TBILLPRICE', - 'argumentCount' => '3' - ), - 'TBILLYIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::TBILLYIELD', - 'argumentCount' => '3' - ), - 'TDIST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TDIST', - 'argumentCount' => '3' - ), - 'TEXT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::TEXTFORMAT', - 'argumentCount' => '2' - ), - 'TIME' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::TIME', - 'argumentCount' => '3' - ), - 'TIMEVALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::TIMEVALUE', - 'argumentCount' => '1' - ), - 'TINV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TINV', - 'argumentCount' => '2' - ), - 'TODAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DATENOW', - 'argumentCount' => '0' - ), - 'TRANSPOSE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::TRANSPOSE', - 'argumentCount' => '1' - ), - 'TREND' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TREND', - 'argumentCount' => '1-4' - ), - 'TRIM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::TRIMSPACES', - 'argumentCount' => '1' - ), - 'TRIMMEAN' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::TRIMMEAN', - 'argumentCount' => '2' - ), - 'TRUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOGICAL, - 'functionCall' => 'PHPExcel_Calculation_Logical::TRUE', - 'argumentCount' => '0' - ), - 'TRUNC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_MATH_AND_TRIG, - 'functionCall' => 'PHPExcel_Calculation_MathTrig::TRUNC', - 'argumentCount' => '1,2' - ), - 'TTEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '4' - ), - 'TYPE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::TYPE', - 'argumentCount' => '1' - ), - 'UPPER' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::UPPERCASE', - 'argumentCount' => '1' - ), - 'USDOLLAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '2' - ), - 'VALUE' => array('category' => PHPExcel_Calculation_Function::CATEGORY_TEXT_AND_DATA, - 'functionCall' => 'PHPExcel_Calculation_TextData::VALUE', - 'argumentCount' => '1' - ), - 'VAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARFunc', - 'argumentCount' => '1+' - ), - 'VARA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARA', - 'argumentCount' => '1+' - ), - 'VARP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARP', - 'argumentCount' => '1+' - ), - 'VARPA' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::VARPA', - 'argumentCount' => '1+' - ), - 'VDB' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '5-7' - ), - 'VERSION' => array('category' => PHPExcel_Calculation_Function::CATEGORY_INFORMATION, - 'functionCall' => 'PHPExcel_Calculation_Functions::VERSION', - 'argumentCount' => '0' - ), - 'VLOOKUP' => array('category' => PHPExcel_Calculation_Function::CATEGORY_LOOKUP_AND_REFERENCE, - 'functionCall' => 'PHPExcel_Calculation_LookupRef::VLOOKUP', - 'argumentCount' => '3,4' - ), - 'WEEKDAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::DAYOFWEEK', - 'argumentCount' => '1,2' - ), - 'WEEKNUM' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::WEEKOFYEAR', - 'argumentCount' => '1,2' - ), - 'WEIBULL' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::WEIBULL', - 'argumentCount' => '4' - ), - 'WORKDAY' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::WORKDAY', - 'argumentCount' => '2+' - ), - 'XIRR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::XIRR', - 'argumentCount' => '2,3' - ), - 'XNPV' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::XNPV', - 'argumentCount' => '3' - ), - 'YEAR' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::YEAR', - 'argumentCount' => '1' - ), - 'YEARFRAC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_DATE_AND_TIME, - 'functionCall' => 'PHPExcel_Calculation_DateTime::YEARFRAC', - 'argumentCount' => '2,3' - ), - 'YIELD' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Functions::DUMMY', - 'argumentCount' => '6,7' - ), - 'YIELDDISC' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::YIELDDISC', - 'argumentCount' => '4,5' - ), - 'YIELDMAT' => array('category' => PHPExcel_Calculation_Function::CATEGORY_FINANCIAL, - 'functionCall' => 'PHPExcel_Calculation_Financial::YIELDMAT', - 'argumentCount' => '5,6' - ), - 'ZTEST' => array('category' => PHPExcel_Calculation_Function::CATEGORY_STATISTICAL, - 'functionCall' => 'PHPExcel_Calculation_Statistical::ZTEST', - 'argumentCount' => '2-3' - ) - ); - - - // Internal functions used for special control purposes - private static $_controlFunctions = array( - 'MKMATRIX' => array('argumentCount' => '*', - 'functionCall' => 'self::_mkMatrix' - ) - ); - - - - - private function __construct(PHPExcel $workbook = NULL) { - $setPrecision = (PHP_INT_SIZE == 4) ? 14 : 16; - $this->_savedPrecision = ini_get('precision'); - if ($this->_savedPrecision < $setPrecision) { - ini_set('precision',$setPrecision); - } - - if ($workbook !== NULL) { - self::$_workbookSets[$workbook->getID()] = $this; - } - - $this->_workbook = $workbook; - $this->_cyclicReferenceStack = new PHPExcel_CalcEngine_CyclicReferenceStack(); - $this->_debugLog = new PHPExcel_CalcEngine_Logger($this->_cyclicReferenceStack); - } // function __construct() - - - public function __destruct() { - if ($this->_savedPrecision != ini_get('precision')) { - ini_set('precision',$this->_savedPrecision); - } - } - - private static function _loadLocales() { - $localeFileDirectory = PHPEXCEL_ROOT.'PHPExcel/locale/'; - foreach (glob($localeFileDirectory.'/*',GLOB_ONLYDIR) as $filename) { - $filename = substr($filename,strlen($localeFileDirectory)+1); - if ($filename != 'en') { - self::$_validLocaleLanguages[] = $filename; - } - } - } - - /** - * Get an instance of this class - * - * @access public - * @param PHPExcel $workbook Injected workbook for working with a PHPExcel object, - * or NULL to create a standalone claculation engine - * @return PHPExcel_Calculation - */ - public static function getInstance(PHPExcel $workbook = NULL) { - if ($workbook !== NULL) { - if (isset(self::$_workbookSets[$workbook->getID()])) { - return self::$_workbookSets[$workbook->getID()]; - } - return new PHPExcel_Calculation($workbook); - } - - if (!isset(self::$_instance) || (self::$_instance === NULL)) { - self::$_instance = new PHPExcel_Calculation(); - } - - return self::$_instance; - } // function getInstance() - - /** - * Unset an instance of this class - * - * @access public - * @param PHPExcel $workbook Injected workbook identifying the instance to unset - */ - public static function unsetInstance(PHPExcel $workbook = NULL) { - if ($workbook !== NULL) { - if (isset(self::$_workbookSets[$workbook->getID()])) { - unset(self::$_workbookSets[$workbook->getID()]); - } - } - } - - /** - * Flush the calculation cache for any existing instance of this class - * but only if a PHPExcel_Calculation instance exists - * - * @access public - * @return null - */ - public function flushInstance() { - $this->clearCalculationCache(); - } // function flushInstance() - - - /** - * Get the debuglog for this claculation engine instance - * - * @access public - * @return PHPExcel_CalcEngine_Logger - */ - public function getDebugLog() { - return $this->_debugLog; - } - - /** - * __clone implementation. Cloning should not be allowed in a Singleton! - * - * @access public - * @throws PHPExcel_Calculation_Exception - */ - public final function __clone() { - throw new PHPExcel_Calculation_Exception ('Cloning the calculation engine is not allowed!'); - } // function __clone() - - - /** - * Return the locale-specific translation of TRUE - * - * @access public - * @return string locale-specific translation of TRUE - */ - public static function getTRUE() { - return self::$_localeBoolean['TRUE']; - } - - /** - * Return the locale-specific translation of FALSE - * - * @access public - * @return string locale-specific translation of FALSE - */ - public static function getFALSE() { - return self::$_localeBoolean['FALSE']; - } - - /** - * Set the Array Return Type (Array or Value of first element in the array) - * - * @access public - * @param string $returnType Array return type - * @return boolean Success or failure - */ - public static function setArrayReturnType($returnType) { - if (($returnType == self::RETURN_ARRAY_AS_VALUE) || - ($returnType == self::RETURN_ARRAY_AS_ERROR) || - ($returnType == self::RETURN_ARRAY_AS_ARRAY)) { - self::$returnArrayAsType = $returnType; - return TRUE; - } - return FALSE; - } // function setArrayReturnType() - - - /** - * Return the Array Return Type (Array or Value of first element in the array) - * - * @access public - * @return string $returnType Array return type - */ - public static function getArrayReturnType() { - return self::$returnArrayAsType; - } // function getArrayReturnType() - - - /** - * Is calculation caching enabled? - * - * @access public - * @return boolean - */ - public function getCalculationCacheEnabled() { - return $this->_calculationCacheEnabled; - } // function getCalculationCacheEnabled() - - /** - * Enable/disable calculation cache - * - * @access public - * @param boolean $pValue - */ - public function setCalculationCacheEnabled($pValue = TRUE) { - $this->_calculationCacheEnabled = $pValue; - $this->clearCalculationCache(); - } // function setCalculationCacheEnabled() - - - /** - * Enable calculation cache - */ - public function enableCalculationCache() { - $this->setCalculationCacheEnabled(TRUE); - } // function enableCalculationCache() - - - /** - * Disable calculation cache - */ - public function disableCalculationCache() { - $this->setCalculationCacheEnabled(FALSE); - } // function disableCalculationCache() - - - /** - * Clear calculation cache - */ - public function clearCalculationCache() { - $this->_calculationCache = array(); - } // function clearCalculationCache() - - /** - * Clear calculation cache for a specified worksheet - * - * @param string $worksheetName - */ - public function clearCalculationCacheForWorksheet($worksheetName) { - if (isset($this->_calculationCache[$worksheetName])) { - unset($this->_calculationCache[$worksheetName]); - } - } // function clearCalculationCacheForWorksheet() - - /** - * Rename calculation cache for a specified worksheet - * - * @param string $fromWorksheetName - * @param string $toWorksheetName - */ - public function renameCalculationCacheForWorksheet($fromWorksheetName, $toWorksheetName) { - if (isset($this->_calculationCache[$fromWorksheetName])) { - $this->_calculationCache[$toWorksheetName] = &$this->_calculationCache[$fromWorksheetName]; - unset($this->_calculationCache[$fromWorksheetName]); - } - } // function renameCalculationCacheForWorksheet() - - - /** - * Get the currently defined locale code - * - * @return string - */ - public function getLocale() { - return self::$_localeLanguage; - } // function getLocale() - - - /** - * Set the locale code - * - * @param string $locale The locale to use for formula translation - * @return boolean - */ - public function setLocale($locale = 'en_us') { - // Identify our locale and language - $language = $locale = strtolower($locale); - if (strpos($locale,'_') !== FALSE) { - list($language) = explode('_',$locale); - } - - if (count(self::$_validLocaleLanguages) == 1) - self::_loadLocales(); - - // Test whether we have any language data for this language (any locale) - if (in_array($language,self::$_validLocaleLanguages)) { - // initialise language/locale settings - self::$_localeFunctions = array(); - self::$_localeArgumentSeparator = ','; - self::$_localeBoolean = array('TRUE' => 'TRUE', 'FALSE' => 'FALSE', 'NULL' => 'NULL'); - // Default is English, if user isn't requesting english, then read the necessary data from the locale files - if ($locale != 'en_us') { - // Search for a file with a list of function names for locale - $functionNamesFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.str_replace('_',DIRECTORY_SEPARATOR,$locale).DIRECTORY_SEPARATOR.'functions'; - if (!file_exists($functionNamesFile)) { - // If there isn't a locale specific function file, look for a language specific function file - $functionNamesFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.'functions'; - if (!file_exists($functionNamesFile)) { - return FALSE; - } - } - // Retrieve the list of locale or language specific function names - $localeFunctions = file($functionNamesFile,FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); - foreach ($localeFunctions as $localeFunction) { - list($localeFunction) = explode('##',$localeFunction); // Strip out comments - if (strpos($localeFunction,'=') !== FALSE) { - list($fName,$lfName) = explode('=',$localeFunction); - $fName = trim($fName); - $lfName = trim($lfName); - if ((isset(self::$_PHPExcelFunctions[$fName])) && ($lfName != '') && ($fName != $lfName)) { - self::$_localeFunctions[$fName] = $lfName; - } - } - } - // Default the TRUE and FALSE constants to the locale names of the TRUE() and FALSE() functions - if (isset(self::$_localeFunctions['TRUE'])) { self::$_localeBoolean['TRUE'] = self::$_localeFunctions['TRUE']; } - if (isset(self::$_localeFunctions['FALSE'])) { self::$_localeBoolean['FALSE'] = self::$_localeFunctions['FALSE']; } - - $configFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.str_replace('_',DIRECTORY_SEPARATOR,$locale).DIRECTORY_SEPARATOR.'config'; - if (!file_exists($configFile)) { - $configFile = PHPEXCEL_ROOT . 'PHPExcel'.DIRECTORY_SEPARATOR.'locale'.DIRECTORY_SEPARATOR.$language.DIRECTORY_SEPARATOR.'config'; - } - if (file_exists($configFile)) { - $localeSettings = file($configFile,FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); - foreach ($localeSettings as $localeSetting) { - list($localeSetting) = explode('##',$localeSetting); // Strip out comments - if (strpos($localeSetting,'=') !== FALSE) { - list($settingName,$settingValue) = explode('=',$localeSetting); - $settingName = strtoupper(trim($settingName)); - switch ($settingName) { - case 'ARGUMENTSEPARATOR' : - self::$_localeArgumentSeparator = trim($settingValue); - break; - } - } - } - } - } - - self::$functionReplaceFromExcel = self::$functionReplaceToExcel = - self::$functionReplaceFromLocale = self::$functionReplaceToLocale = NULL; - self::$_localeLanguage = $locale; - return TRUE; - } - return FALSE; - } // function setLocale() - - - - public static function _translateSeparator($fromSeparator,$toSeparator,$formula,&$inBraces) { - $strlen = mb_strlen($formula); - for ($i = 0; $i < $strlen; ++$i) { - $chr = mb_substr($formula,$i,1); - switch ($chr) { - case '{' : $inBraces = TRUE; - break; - case '}' : $inBraces = FALSE; - break; - case $fromSeparator : - if (!$inBraces) { - $formula = mb_substr($formula,0,$i).$toSeparator.mb_substr($formula,$i+1); - } - } - } - return $formula; - } - - private static function _translateFormula($from,$to,$formula,$fromSeparator,$toSeparator) { - // Convert any Excel function names to the required language - if (self::$_localeLanguage !== 'en_us') { - $inBraces = FALSE; - // If there is the possibility of braces within a quoted string, then we don't treat those as matrix indicators - if (strpos($formula,'"') !== FALSE) { - // So instead we skip replacing in any quoted strings by only replacing in every other array element after we've exploded - // the formula - $temp = explode('"',$formula); - $i = FALSE; - foreach($temp as &$value) { - // Only count/replace in alternating array entries - if ($i = !$i) { - $value = preg_replace($from,$to,$value); - $value = self::_translateSeparator($fromSeparator,$toSeparator,$value,$inBraces); - } - } - unset($value); - // Then rebuild the formula string - $formula = implode('"',$temp); - } else { - // If there's no quoted strings, then we do a simple count/replace - $formula = preg_replace($from,$to,$formula); - $formula = self::_translateSeparator($fromSeparator,$toSeparator,$formula,$inBraces); - } - } - - return $formula; - } - - private static $functionReplaceFromExcel = NULL; - private static $functionReplaceToLocale = NULL; - - public function _translateFormulaToLocale($formula) { - if (self::$functionReplaceFromExcel === NULL) { - self::$functionReplaceFromExcel = array(); - foreach(array_keys(self::$_localeFunctions) as $excelFunctionName) { - self::$functionReplaceFromExcel[] = '/(@?[^\w\.])'.preg_quote($excelFunctionName).'([\s]*\()/Ui'; - } - foreach(array_keys(self::$_localeBoolean) as $excelBoolean) { - self::$functionReplaceFromExcel[] = '/(@?[^\w\.])'.preg_quote($excelBoolean).'([^\w\.])/Ui'; - } - - } - - if (self::$functionReplaceToLocale === NULL) { - self::$functionReplaceToLocale = array(); - foreach(array_values(self::$_localeFunctions) as $localeFunctionName) { - self::$functionReplaceToLocale[] = '$1'.trim($localeFunctionName).'$2'; - } - foreach(array_values(self::$_localeBoolean) as $localeBoolean) { - self::$functionReplaceToLocale[] = '$1'.trim($localeBoolean).'$2'; - } - } - - return self::_translateFormula(self::$functionReplaceFromExcel,self::$functionReplaceToLocale,$formula,',',self::$_localeArgumentSeparator); - } // function _translateFormulaToLocale() - - - private static $functionReplaceFromLocale = NULL; - private static $functionReplaceToExcel = NULL; - - public function _translateFormulaToEnglish($formula) { - if (self::$functionReplaceFromLocale === NULL) { - self::$functionReplaceFromLocale = array(); - foreach(array_values(self::$_localeFunctions) as $localeFunctionName) { - self::$functionReplaceFromLocale[] = '/(@?[^\w\.])'.preg_quote($localeFunctionName).'([\s]*\()/Ui'; - } - foreach(array_values(self::$_localeBoolean) as $excelBoolean) { - self::$functionReplaceFromLocale[] = '/(@?[^\w\.])'.preg_quote($excelBoolean).'([^\w\.])/Ui'; - } - } - - if (self::$functionReplaceToExcel === NULL) { - self::$functionReplaceToExcel = array(); - foreach(array_keys(self::$_localeFunctions) as $excelFunctionName) { - self::$functionReplaceToExcel[] = '$1'.trim($excelFunctionName).'$2'; - } - foreach(array_keys(self::$_localeBoolean) as $excelBoolean) { - self::$functionReplaceToExcel[] = '$1'.trim($excelBoolean).'$2'; - } - } - - return self::_translateFormula(self::$functionReplaceFromLocale,self::$functionReplaceToExcel,$formula,self::$_localeArgumentSeparator,','); - } // function _translateFormulaToEnglish() - - - public static function _localeFunc($function) { - if (self::$_localeLanguage !== 'en_us') { - $functionName = trim($function,'('); - if (isset(self::$_localeFunctions[$functionName])) { - $brace = ($functionName != $function); - $function = self::$_localeFunctions[$functionName]; - if ($brace) { $function .= '('; } - } - } - return $function; - } - - - - - /** - * Wrap string values in quotes - * - * @param mixed $value - * @return mixed - */ - public static function _wrapResult($value) { - if (is_string($value)) { - // Error values cannot be "wrapped" - if (preg_match('/^'.self::CALCULATION_REGEXP_ERROR.'$/i', $value, $match)) { - // Return Excel errors "as is" - return $value; - } - // Return strings wrapped in quotes - return '"'.$value.'"'; - // Convert numeric errors to NaN error - } else if((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return $value; - } // function _wrapResult() - - - /** - * Remove quotes used as a wrapper to identify string values - * - * @param mixed $value - * @return mixed - */ - public static function _unwrapResult($value) { - if (is_string($value)) { - if ((isset($value{0})) && ($value{0} == '"') && (substr($value,-1) == '"')) { - return substr($value,1,-1); - } - // Convert numeric errors to NaN error - } else if((is_float($value)) && ((is_nan($value)) || (is_infinite($value)))) { - return PHPExcel_Calculation_Functions::NaN(); - } - return $value; - } // function _unwrapResult() - - - - - /** - * Calculate cell value (using formula from a cell ID) - * Retained for backward compatibility - * - * @access public - * @param PHPExcel_Cell $pCell Cell to calculate - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function calculate(PHPExcel_Cell $pCell = NULL) { - try { - return $this->calculateCellValue($pCell); - } catch (PHPExcel_Exception $e) { - throw new PHPExcel_Calculation_Exception($e->getMessage()); - } - } // function calculate() - - - /** - * Calculate the value of a cell formula - * - * @access public - * @param PHPExcel_Cell $pCell Cell to calculate - * @param Boolean $resetLog Flag indicating whether the debug log should be reset or not - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function calculateCellValue(PHPExcel_Cell $pCell = NULL, $resetLog = TRUE) { - if ($pCell === NULL) { - return NULL; - } - - $returnArrayAsType = self::$returnArrayAsType; - if ($resetLog) { - // Initialise the logging settings if requested - $this->formulaError = null; - $this->_debugLog->clearLog(); - $this->_cyclicReferenceStack->clear(); - $this->_cyclicFormulaCount = 1; - - self::$returnArrayAsType = self::RETURN_ARRAY_AS_ARRAY; - } - - // Execute the calculation for the cell formula - $this->_cellStack[] = array( - 'sheet' => $pCell->getWorksheet()->getTitle(), - 'cell' => $pCell->getCoordinate(), - ); - try { - $result = self::_unwrapResult($this->_calculateFormulaValue($pCell->getValue(), $pCell->getCoordinate(), $pCell)); - $cellAddress = array_pop($this->_cellStack); - $this->_workbook->getSheetByName($cellAddress['sheet'])->getCell($cellAddress['cell']); - } catch (PHPExcel_Exception $e) { - $cellAddress = array_pop($this->_cellStack); - $this->_workbook->getSheetByName($cellAddress['sheet'])->getCell($cellAddress['cell']); - throw new PHPExcel_Calculation_Exception($e->getMessage()); - } - - if ((is_array($result)) && (self::$returnArrayAsType != self::RETURN_ARRAY_AS_ARRAY)) { - self::$returnArrayAsType = $returnArrayAsType; - $testResult = PHPExcel_Calculation_Functions::flattenArray($result); - if (self::$returnArrayAsType == self::RETURN_ARRAY_AS_ERROR) { - return PHPExcel_Calculation_Functions::VALUE(); - } - // If there's only a single cell in the array, then we allow it - if (count($testResult) != 1) { - // If keys are numeric, then it's a matrix result rather than a cell range result, so we permit it - $r = array_keys($result); - $r = array_shift($r); - if (!is_numeric($r)) { return PHPExcel_Calculation_Functions::VALUE(); } - if (is_array($result[$r])) { - $c = array_keys($result[$r]); - $c = array_shift($c); - if (!is_numeric($c)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - } - $result = array_shift($testResult); - } - self::$returnArrayAsType = $returnArrayAsType; - - - if ($result === NULL) { - return 0; - } elseif((is_float($result)) && ((is_nan($result)) || (is_infinite($result)))) { - return PHPExcel_Calculation_Functions::NaN(); - } - return $result; - } // function calculateCellValue( - - - /** - * Validate and parse a formula string - * - * @param string $formula Formula to parse - * @return array - * @throws PHPExcel_Calculation_Exception - */ - public function parseFormula($formula) { - // Basic validation that this is indeed a formula - // We return an empty array if not - $formula = trim($formula); - if ((!isset($formula{0})) || ($formula{0} != '=')) return array(); - $formula = ltrim(substr($formula,1)); - if (!isset($formula{0})) return array(); - - // Parse the formula and return the token stack - return $this->_parseFormula($formula); - } // function parseFormula() - - - /** - * Calculate the value of a formula - * - * @param string $formula Formula to parse - * @param string $cellID Address of the cell to calculate - * @param PHPExcel_Cell $pCell Cell to calculate - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function calculateFormula($formula, $cellID=NULL, PHPExcel_Cell $pCell = NULL) { - // Initialise the logging settings - $this->formulaError = null; - $this->_debugLog->clearLog(); - $this->_cyclicReferenceStack->clear(); - - // Disable calculation cacheing because it only applies to cell calculations, not straight formulae - // But don't actually flush any cache - $resetCache = $this->getCalculationCacheEnabled(); - $this->_calculationCacheEnabled = FALSE; - // Execute the calculation - try { - $result = self::_unwrapResult($this->_calculateFormulaValue($formula, $cellID, $pCell)); - } catch (PHPExcel_Exception $e) { - throw new PHPExcel_Calculation_Exception($e->getMessage()); - } - - // Reset calculation cacheing to its previous state - $this->_calculationCacheEnabled = $resetCache; - - return $result; - } // function calculateFormula() - - - public function getValueFromCache($worksheetName, $cellID, &$cellValue) { - // Is calculation cacheing enabled? - // Is the value present in calculation cache? -//echo 'Test cache for ',$worksheetName,'!',$cellID,PHP_EOL; - $this->_debugLog->writeDebugLog('Testing cache value for cell ', $worksheetName, '!', $cellID); - if (($this->_calculationCacheEnabled) && (isset($this->_calculationCache[$worksheetName][$cellID]))) { -//echo 'Retrieve from cache',PHP_EOL; - $this->_debugLog->writeDebugLog('Retrieving value for cell ', $worksheetName, '!', $cellID, ' from cache'); - // Return the cached result - $cellValue = $this->_calculationCache[$worksheetName][$cellID]; - return TRUE; - } - return FALSE; - } - - public function saveValueToCache($worksheetName, $cellID, $cellValue) { - if ($this->_calculationCacheEnabled) { - $this->_calculationCache[$worksheetName][$cellID] = $cellValue; - } - } - - /** - * Parse a cell formula and calculate its value - * - * @param string $formula The formula to parse and calculate - * @param string $cellID The ID (e.g. A3) of the cell that we are calculating - * @param PHPExcel_Cell $pCell Cell to calculate - * @return mixed - * @throws PHPExcel_Calculation_Exception - */ - public function _calculateFormulaValue($formula, $cellID=null, PHPExcel_Cell $pCell = null) { - $cellValue = null; - - // Basic validation that this is indeed a formula - // We simply return the cell value if not - $formula = trim($formula); - if ($formula{0} != '=') return self::_wrapResult($formula); - $formula = ltrim(substr($formula, 1)); - if (!isset($formula{0})) return self::_wrapResult($formula); - - $pCellParent = ($pCell !== NULL) ? $pCell->getWorksheet() : NULL; - $wsTitle = ($pCellParent !== NULL) ? $pCellParent->getTitle() : "\x00Wrk"; - - if (($cellID !== NULL) && ($this->getValueFromCache($wsTitle, $cellID, $cellValue))) { - return $cellValue; - } - - if (($wsTitle{0} !== "\x00") && ($this->_cyclicReferenceStack->onStack($wsTitle.'!'.$cellID))) { - if ($this->cyclicFormulaCount <= 0) { - $this->_cyclicFormulaCell = ''; - return $this->_raiseFormulaError('Cyclic Reference in Formula'); - } elseif (($this->_cyclicFormulaCount >= $this->cyclicFormulaCount) && - ($this->_cyclicFormulaCell == $wsTitle.'!'.$cellID)) { - $this->_cyclicFormulaCell = ''; - return $cellValue; - } elseif ($this->_cyclicFormulaCell == $wsTitle.'!'.$cellID) { - ++$this->_cyclicFormulaCount; - if ($this->_cyclicFormulaCount >= $this->cyclicFormulaCount) { - $this->_cyclicFormulaCell = ''; - return $cellValue; - } - } elseif ($this->_cyclicFormulaCell == '') { - if ($this->_cyclicFormulaCount >= $this->cyclicFormulaCount) { - return $cellValue; - } - $this->_cyclicFormulaCell = $wsTitle.'!'.$cellID; - } - } - - // Parse the formula onto the token stack and calculate the value - $this->_cyclicReferenceStack->push($wsTitle.'!'.$cellID); - $cellValue = $this->_processTokenStack($this->_parseFormula($formula, $pCell), $cellID, $pCell); - $this->_cyclicReferenceStack->pop(); - - // Save to calculation cache - if ($cellID !== NULL) { - $this->saveValueToCache($wsTitle, $cellID, $cellValue); - } - - // Return the calculated value - return $cellValue; - } // function _calculateFormulaValue() - - - /** - * Ensure that paired matrix operands are both matrices and of the same size - * - * @param mixed &$operand1 First matrix operand - * @param mixed &$operand2 Second matrix operand - * @param integer $resize Flag indicating whether the matrices should be resized to match - * and (if so), whether the smaller dimension should grow or the - * larger should shrink. - * 0 = no resize - * 1 = shrink to fit - * 2 = extend to fit - */ - private static function _checkMatrixOperands(&$operand1,&$operand2,$resize = 1) { - // Examine each of the two operands, and turn them into an array if they aren't one already - // Note that this function should only be called if one or both of the operand is already an array - if (!is_array($operand1)) { - list($matrixRows,$matrixColumns) = self::_getMatrixDimensions($operand2); - $operand1 = array_fill(0,$matrixRows,array_fill(0,$matrixColumns,$operand1)); - $resize = 0; - } elseif (!is_array($operand2)) { - list($matrixRows,$matrixColumns) = self::_getMatrixDimensions($operand1); - $operand2 = array_fill(0,$matrixRows,array_fill(0,$matrixColumns,$operand2)); - $resize = 0; - } - - list($matrix1Rows,$matrix1Columns) = self::_getMatrixDimensions($operand1); - list($matrix2Rows,$matrix2Columns) = self::_getMatrixDimensions($operand2); - if (($matrix1Rows == $matrix2Columns) && ($matrix2Rows == $matrix1Columns)) { - $resize = 1; - } - - if ($resize == 2) { - // Given two matrices of (potentially) unequal size, convert the smaller in each dimension to match the larger - self::_resizeMatricesExtend($operand1,$operand2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns); - } elseif ($resize == 1) { - // Given two matrices of (potentially) unequal size, convert the larger in each dimension to match the smaller - self::_resizeMatricesShrink($operand1,$operand2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns); - } - return array( $matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns); - } // function _checkMatrixOperands() - - - /** - * Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0 - * - * @param mixed &$matrix matrix operand - * @return array An array comprising the number of rows, and number of columns - */ - public static function _getMatrixDimensions(&$matrix) { - $matrixRows = count($matrix); - $matrixColumns = 0; - foreach($matrix as $rowKey => $rowValue) { - $matrixColumns = max(count($rowValue),$matrixColumns); - if (!is_array($rowValue)) { - $matrix[$rowKey] = array($rowValue); - } else { - $matrix[$rowKey] = array_values($rowValue); - } - } - $matrix = array_values($matrix); - return array($matrixRows,$matrixColumns); - } // function _getMatrixDimensions() - - - /** - * Ensure that paired matrix operands are both matrices of the same size - * - * @param mixed &$matrix1 First matrix operand - * @param mixed &$matrix2 Second matrix operand - * @param integer $matrix1Rows Row size of first matrix operand - * @param integer $matrix1Columns Column size of first matrix operand - * @param integer $matrix2Rows Row size of second matrix operand - * @param integer $matrix2Columns Column size of second matrix operand - */ - private static function _resizeMatricesShrink(&$matrix1,&$matrix2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns) { - if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) { - if ($matrix2Rows < $matrix1Rows) { - for ($i = $matrix2Rows; $i < $matrix1Rows; ++$i) { - unset($matrix1[$i]); - } - } - if ($matrix2Columns < $matrix1Columns) { - for ($i = 0; $i < $matrix1Rows; ++$i) { - for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) { - unset($matrix1[$i][$j]); - } - } - } - } - - if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) { - if ($matrix1Rows < $matrix2Rows) { - for ($i = $matrix1Rows; $i < $matrix2Rows; ++$i) { - unset($matrix2[$i]); - } - } - if ($matrix1Columns < $matrix2Columns) { - for ($i = 0; $i < $matrix2Rows; ++$i) { - for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) { - unset($matrix2[$i][$j]); - } - } - } - } - } // function _resizeMatricesShrink() - - - /** - * Ensure that paired matrix operands are both matrices of the same size - * - * @param mixed &$matrix1 First matrix operand - * @param mixed &$matrix2 Second matrix operand - * @param integer $matrix1Rows Row size of first matrix operand - * @param integer $matrix1Columns Column size of first matrix operand - * @param integer $matrix2Rows Row size of second matrix operand - * @param integer $matrix2Columns Column size of second matrix operand - */ - private static function _resizeMatricesExtend(&$matrix1,&$matrix2,$matrix1Rows,$matrix1Columns,$matrix2Rows,$matrix2Columns) { - if (($matrix2Columns < $matrix1Columns) || ($matrix2Rows < $matrix1Rows)) { - if ($matrix2Columns < $matrix1Columns) { - for ($i = 0; $i < $matrix2Rows; ++$i) { - $x = $matrix2[$i][$matrix2Columns-1]; - for ($j = $matrix2Columns; $j < $matrix1Columns; ++$j) { - $matrix2[$i][$j] = $x; - } - } - } - if ($matrix2Rows < $matrix1Rows) { - $x = $matrix2[$matrix2Rows-1]; - for ($i = 0; $i < $matrix1Rows; ++$i) { - $matrix2[$i] = $x; - } - } - } - - if (($matrix1Columns < $matrix2Columns) || ($matrix1Rows < $matrix2Rows)) { - if ($matrix1Columns < $matrix2Columns) { - for ($i = 0; $i < $matrix1Rows; ++$i) { - $x = $matrix1[$i][$matrix1Columns-1]; - for ($j = $matrix1Columns; $j < $matrix2Columns; ++$j) { - $matrix1[$i][$j] = $x; - } - } - } - if ($matrix1Rows < $matrix2Rows) { - $x = $matrix1[$matrix1Rows-1]; - for ($i = 0; $i < $matrix2Rows; ++$i) { - $matrix1[$i] = $x; - } - } - } - } // function _resizeMatricesExtend() - - - /** - * Format details of an operand for display in the log (based on operand type) - * - * @param mixed $value First matrix operand - * @return mixed - */ - private function _showValue($value) { - if ($this->_debugLog->getWriteDebugLog()) { - $testArray = PHPExcel_Calculation_Functions::flattenArray($value); - if (count($testArray) == 1) { - $value = array_pop($testArray); - } - - if (is_array($value)) { - $returnMatrix = array(); - $pad = $rpad = ', '; - foreach($value as $row) { - if (is_array($row)) { - $returnMatrix[] = implode($pad,array_map(array($this,'_showValue'),$row)); - $rpad = '; '; - } else { - $returnMatrix[] = $this->_showValue($row); - } - } - return '{ '.implode($rpad,$returnMatrix).' }'; - } elseif(is_string($value) && (trim($value,'"') == $value)) { - return '"'.$value.'"'; - } elseif(is_bool($value)) { - return ($value) ? self::$_localeBoolean['TRUE'] : self::$_localeBoolean['FALSE']; - } - } - return PHPExcel_Calculation_Functions::flattenSingleValue($value); - } // function _showValue() - - - /** - * Format type and details of an operand for display in the log (based on operand type) - * - * @param mixed $value First matrix operand - * @return mixed - */ - private function _showTypeDetails($value) { - if ($this->_debugLog->getWriteDebugLog()) { - $testArray = PHPExcel_Calculation_Functions::flattenArray($value); - if (count($testArray) == 1) { - $value = array_pop($testArray); - } - - if ($value === NULL) { - return 'a NULL value'; - } elseif (is_float($value)) { - $typeString = 'a floating point number'; - } elseif(is_int($value)) { - $typeString = 'an integer number'; - } elseif(is_bool($value)) { - $typeString = 'a boolean'; - } elseif(is_array($value)) { - $typeString = 'a matrix'; - } else { - if ($value == '') { - return 'an empty string'; - } elseif ($value{0} == '#') { - return 'a '.$value.' error'; - } else { - $typeString = 'a string'; - } - } - return $typeString.' with a value of '.$this->_showValue($value); - } - } // function _showTypeDetails() - - - private function _convertMatrixReferences($formula) { - static $matrixReplaceFrom = array('{',';','}'); - static $matrixReplaceTo = array('MKMATRIX(MKMATRIX(','),MKMATRIX(','))'); - - // Convert any Excel matrix references to the MKMATRIX() function - if (strpos($formula,'{') !== FALSE) { - // If there is the possibility of braces within a quoted string, then we don't treat those as matrix indicators - if (strpos($formula,'"') !== FALSE) { - // So instead we skip replacing in any quoted strings by only replacing in every other array element after we've exploded - // the formula - $temp = explode('"',$formula); - // Open and Closed counts used for trapping mismatched braces in the formula - $openCount = $closeCount = 0; - $i = FALSE; - foreach($temp as &$value) { - // Only count/replace in alternating array entries - if ($i = !$i) { - $openCount += substr_count($value,'{'); - $closeCount += substr_count($value,'}'); - $value = str_replace($matrixReplaceFrom,$matrixReplaceTo,$value); - } - } - unset($value); - // Then rebuild the formula string - $formula = implode('"',$temp); - } else { - // If there's no quoted strings, then we do a simple count/replace - $openCount = substr_count($formula,'{'); - $closeCount = substr_count($formula,'}'); - $formula = str_replace($matrixReplaceFrom,$matrixReplaceTo,$formula); - } - // Trap for mismatched braces and trigger an appropriate error - if ($openCount < $closeCount) { - if ($openCount > 0) { - return $this->_raiseFormulaError("Formula Error: Mismatched matrix braces '}'"); - } else { - return $this->_raiseFormulaError("Formula Error: Unexpected '}' encountered"); - } - } elseif ($openCount > $closeCount) { - if ($closeCount > 0) { - return $this->_raiseFormulaError("Formula Error: Mismatched matrix braces '{'"); - } else { - return $this->_raiseFormulaError("Formula Error: Unexpected '{' encountered"); - } - } - } - - return $formula; - } // function _convertMatrixReferences() - - - private static function _mkMatrix() { - return func_get_args(); - } // function _mkMatrix() - - - // Binary Operators - // These operators always work on two values - // Array key is the operator, the value indicates whether this is a left or right associative operator - private static $_operatorAssociativity = array( - '^' => 0, // Exponentiation - '*' => 0, '/' => 0, // Multiplication and Division - '+' => 0, '-' => 0, // Addition and Subtraction - '&' => 0, // Concatenation - '|' => 0, ':' => 0, // Intersect and Range - '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0 // Comparison - ); - - // Comparison (Boolean) Operators - // These operators work on two values, but always return a boolean result - private static $_comparisonOperators = array('>' => TRUE, '<' => TRUE, '=' => TRUE, '>=' => TRUE, '<=' => TRUE, '<>' => TRUE); - - // Operator Precedence - // This list includes all valid operators, whether binary (including boolean) or unary (such as %) - // Array key is the operator, the value is its precedence - private static $_operatorPrecedence = array( - ':' => 8, // Range - '|' => 7, // Intersect - '~' => 6, // Negation - '%' => 5, // Percentage - '^' => 4, // Exponentiation - '*' => 3, '/' => 3, // Multiplication and Division - '+' => 2, '-' => 2, // Addition and Subtraction - '&' => 1, // Concatenation - '>' => 0, '<' => 0, '=' => 0, '>=' => 0, '<=' => 0, '<>' => 0 // Comparison - ); - - // Convert infix to postfix notation - private function _parseFormula($formula, PHPExcel_Cell $pCell = NULL) { - if (($formula = $this->_convertMatrixReferences(trim($formula))) === FALSE) { - return FALSE; - } - - // If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent worksheet), - // so we store the parent worksheet so that we can re-attach it when necessary - $pCellParent = ($pCell !== NULL) ? $pCell->getWorksheet() : NULL; - - $regexpMatchString = '/^('.self::CALCULATION_REGEXP_FUNCTION. - '|'.self::CALCULATION_REGEXP_CELLREF. - '|'.self::CALCULATION_REGEXP_NUMBER. - '|'.self::CALCULATION_REGEXP_STRING. - '|'.self::CALCULATION_REGEXP_OPENBRACE. - '|'.self::CALCULATION_REGEXP_NAMEDRANGE. - '|'.self::CALCULATION_REGEXP_ERROR. - ')/si'; - - // Start with initialisation - $index = 0; - $stack = new PHPExcel_Calculation_Token_Stack; - $output = array(); - $expectingOperator = FALSE; // We use this test in syntax-checking the expression to determine when a - // - is a negation or + is a positive operator rather than an operation - $expectingOperand = FALSE; // We use this test in syntax-checking the expression to determine whether an operand - // should be null in a function call - // The guts of the lexical parser - // Loop through the formula extracting each operator and operand in turn - while(TRUE) { -//echo 'Assessing Expression '.substr($formula, $index),PHP_EOL; - $opCharacter = $formula{$index}; // Get the first character of the value at the current index position -//echo 'Initial character of expression block is '.$opCharacter,PHP_EOL; - if ((isset(self::$_comparisonOperators[$opCharacter])) && (strlen($formula) > $index) && (isset(self::$_comparisonOperators[$formula{$index+1}]))) { - $opCharacter .= $formula{++$index}; -//echo 'Initial character of expression block is comparison operator '.$opCharacter.PHP_EOL; - } - - // Find out if we're currently at the beginning of a number, variable, cell reference, function, parenthesis or operand - $isOperandOrFunction = preg_match($regexpMatchString, substr($formula, $index), $match); -//echo '$isOperandOrFunction is '.(($isOperandOrFunction) ? 'True' : 'False').PHP_EOL; -//var_dump($match); - - if ($opCharacter == '-' && !$expectingOperator) { // Is it a negation instead of a minus? -//echo 'Element is a Negation operator',PHP_EOL; - $stack->push('Unary Operator','~'); // Put a negation on the stack - ++$index; // and drop the negation symbol - } elseif ($opCharacter == '%' && $expectingOperator) { -//echo 'Element is a Percentage operator',PHP_EOL; - $stack->push('Unary Operator','%'); // Put a percentage on the stack - ++$index; - } elseif ($opCharacter == '+' && !$expectingOperator) { // Positive (unary plus rather than binary operator plus) can be discarded? -//echo 'Element is a Positive number, not Plus operator',PHP_EOL; - ++$index; // Drop the redundant plus symbol - } elseif ((($opCharacter == '~') || ($opCharacter == '|')) && (!$isOperandOrFunction)) { // We have to explicitly deny a tilde or pipe, because they are legal - return $this->_raiseFormulaError("Formula Error: Illegal character '~'"); // on the stack but not in the input expression - - } elseif ((isset(self::$_operators[$opCharacter]) or $isOperandOrFunction) && $expectingOperator) { // Are we putting an operator on the stack? -//echo 'Element with value '.$opCharacter.' is an Operator',PHP_EOL; - while($stack->count() > 0 && - ($o2 = $stack->last()) && - isset(self::$_operators[$o2['value']]) && - @(self::$_operatorAssociativity[$opCharacter] ? self::$_operatorPrecedence[$opCharacter] < self::$_operatorPrecedence[$o2['value']] : self::$_operatorPrecedence[$opCharacter] <= self::$_operatorPrecedence[$o2['value']])) { - $output[] = $stack->pop(); // Swap operands and higher precedence operators from the stack to the output - } - $stack->push('Binary Operator',$opCharacter); // Finally put our current operator onto the stack - ++$index; - $expectingOperator = FALSE; - - } elseif ($opCharacter == ')' && $expectingOperator) { // Are we expecting to close a parenthesis? -//echo 'Element is a Closing bracket',PHP_EOL; - $expectingOperand = FALSE; - while (($o2 = $stack->pop()) && $o2['value'] != '(') { // Pop off the stack back to the last ( - if ($o2 === NULL) return $this->_raiseFormulaError('Formula Error: Unexpected closing brace ")"'); - else $output[] = $o2; - } - $d = $stack->last(2); - if (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $d['value'], $matches)) { // Did this parenthesis just close a function? - $functionName = $matches[1]; // Get the function name -//echo 'Closed Function is '.$functionName,PHP_EOL; - $d = $stack->pop(); - $argumentCount = $d['value']; // See how many arguments there were (argument count is the next value stored on the stack) -//if ($argumentCount == 0) { -// echo 'With no arguments',PHP_EOL; -//} elseif ($argumentCount == 1) { -// echo 'With 1 argument',PHP_EOL; -//} else { -// echo 'With '.$argumentCount.' arguments',PHP_EOL; -//} - $output[] = $d; // Dump the argument count on the output - $output[] = $stack->pop(); // Pop the function and push onto the output - if (isset(self::$_controlFunctions[$functionName])) { -//echo 'Built-in function '.$functionName,PHP_EOL; - $expectedArgumentCount = self::$_controlFunctions[$functionName]['argumentCount']; - $functionCall = self::$_controlFunctions[$functionName]['functionCall']; - } elseif (isset(self::$_PHPExcelFunctions[$functionName])) { -//echo 'PHPExcel function '.$functionName,PHP_EOL; - $expectedArgumentCount = self::$_PHPExcelFunctions[$functionName]['argumentCount']; - $functionCall = self::$_PHPExcelFunctions[$functionName]['functionCall']; - } else { // did we somehow push a non-function on the stack? this should never happen - return $this->_raiseFormulaError("Formula Error: Internal error, non-function on stack"); - } - // Check the argument count - $argumentCountError = FALSE; - if (is_numeric($expectedArgumentCount)) { - if ($expectedArgumentCount < 0) { -//echo '$expectedArgumentCount is between 0 and '.abs($expectedArgumentCount),PHP_EOL; - if ($argumentCount > abs($expectedArgumentCount)) { - $argumentCountError = TRUE; - $expectedArgumentCountString = 'no more than '.abs($expectedArgumentCount); - } - } else { -//echo '$expectedArgumentCount is numeric '.$expectedArgumentCount,PHP_EOL; - if ($argumentCount != $expectedArgumentCount) { - $argumentCountError = TRUE; - $expectedArgumentCountString = $expectedArgumentCount; - } - } - } elseif ($expectedArgumentCount != '*') { - $isOperandOrFunction = preg_match('/(\d*)([-+,])(\d*)/',$expectedArgumentCount,$argMatch); -//print_r($argMatch); -//echo PHP_EOL; - switch ($argMatch[2]) { - case '+' : - if ($argumentCount < $argMatch[1]) { - $argumentCountError = TRUE; - $expectedArgumentCountString = $argMatch[1].' or more '; - } - break; - case '-' : - if (($argumentCount < $argMatch[1]) || ($argumentCount > $argMatch[3])) { - $argumentCountError = TRUE; - $expectedArgumentCountString = 'between '.$argMatch[1].' and '.$argMatch[3]; - } - break; - case ',' : - if (($argumentCount != $argMatch[1]) && ($argumentCount != $argMatch[3])) { - $argumentCountError = TRUE; - $expectedArgumentCountString = 'either '.$argMatch[1].' or '.$argMatch[3]; - } - break; - } - } - if ($argumentCountError) { - return $this->_raiseFormulaError("Formula Error: Wrong number of arguments for $functionName() function: $argumentCount given, ".$expectedArgumentCountString." expected"); - } - } - ++$index; - - } elseif ($opCharacter == ',') { // Is this the separator for function arguments? -//echo 'Element is a Function argument separator',PHP_EOL; - while (($o2 = $stack->pop()) && $o2['value'] != '(') { // Pop off the stack back to the last ( - if ($o2 === NULL) return $this->_raiseFormulaError("Formula Error: Unexpected ,"); - else $output[] = $o2; // pop the argument expression stuff and push onto the output - } - // If we've a comma when we're expecting an operand, then what we actually have is a null operand; - // so push a null onto the stack - if (($expectingOperand) || (!$expectingOperator)) { - $output[] = array('type' => 'NULL Value', 'value' => self::$_ExcelConstants['NULL'], 'reference' => NULL); - } - // make sure there was a function - $d = $stack->last(2); - if (!preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $d['value'], $matches)) - return $this->_raiseFormulaError("Formula Error: Unexpected ,"); - $d = $stack->pop(); - $stack->push($d['type'],++$d['value'],$d['reference']); // increment the argument count - $stack->push('Brace', '('); // put the ( back on, we'll need to pop back to it again - $expectingOperator = FALSE; - $expectingOperand = TRUE; - ++$index; - - } elseif ($opCharacter == '(' && !$expectingOperator) { -// echo 'Element is an Opening Bracket<br />'; - $stack->push('Brace', '('); - ++$index; - - } elseif ($isOperandOrFunction && !$expectingOperator) { // do we now have a function/variable/number? - $expectingOperator = TRUE; - $expectingOperand = FALSE; - $val = $match[1]; - $length = strlen($val); -// echo 'Element with value '.$val.' is an Operand, Variable, Constant, String, Number, Cell Reference or Function<br />'; - - if (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $val, $matches)) { - $val = preg_replace('/\s/','',$val); -// echo 'Element '.$val.' is a Function<br />'; - if (isset(self::$_PHPExcelFunctions[strtoupper($matches[1])]) || isset(self::$_controlFunctions[strtoupper($matches[1])])) { // it's a function - $stack->push('Function', strtoupper($val)); - $ax = preg_match('/^\s*(\s*\))/i', substr($formula, $index+$length), $amatch); - if ($ax) { - $stack->push('Operand Count for Function '.strtoupper($val).')', 0); - $expectingOperator = TRUE; - } else { - $stack->push('Operand Count for Function '.strtoupper($val).')', 1); - $expectingOperator = FALSE; - } - $stack->push('Brace', '('); - } else { // it's a var w/ implicit multiplication - $output[] = array('type' => 'Value', 'value' => $matches[1], 'reference' => NULL); - } - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $val, $matches)) { -// echo 'Element '.$val.' is a Cell reference<br />'; - // Watch for this case-change when modifying to allow cell references in different worksheets... - // Should only be applied to the actual cell column, not the worksheet name - - // If the last entry on the stack was a : operator, then we have a cell range reference - $testPrevOp = $stack->last(1); - if ($testPrevOp['value'] == ':') { - // If we have a worksheet reference, then we're playing with a 3D reference - if ($matches[2] == '') { - // Otherwise, we 'inherit' the worksheet reference from the start cell reference - // The start of the cell range reference should be the last entry in $output - $startCellRef = $output[count($output)-1]['value']; - preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $startCellRef, $startMatches); - if ($startMatches[2] > '') { - $val = $startMatches[2].'!'.$val; - } - } else { - return $this->_raiseFormulaError("3D Range references are not yet supported"); - } - } - - $output[] = array('type' => 'Cell Reference', 'value' => $val, 'reference' => $val); -// $expectingOperator = FALSE; - } else { // it's a variable, constant, string, number or boolean -// echo 'Element is a Variable, Constant, String, Number or Boolean<br />'; - // If the last entry on the stack was a : operator, then we may have a row or column range reference - $testPrevOp = $stack->last(1); - if ($testPrevOp['value'] == ':') { - $startRowColRef = $output[count($output)-1]['value']; - $rangeWS1 = ''; - if (strpos('!',$startRowColRef) !== FALSE) { - list($rangeWS1,$startRowColRef) = explode('!',$startRowColRef); - } - if ($rangeWS1 != '') $rangeWS1 .= '!'; - $rangeWS2 = $rangeWS1; - if (strpos('!',$val) !== FALSE) { - list($rangeWS2,$val) = explode('!',$val); - } - if ($rangeWS2 != '') $rangeWS2 .= '!'; - if ((is_integer($startRowColRef)) && (ctype_digit($val)) && - ($startRowColRef <= 1048576) && ($val <= 1048576)) { - // Row range - $endRowColRef = ($pCellParent !== NULL) ? $pCellParent->getHighestColumn() : 'XFD'; // Max 16,384 columns for Excel2007 - $output[count($output)-1]['value'] = $rangeWS1.'A'.$startRowColRef; - $val = $rangeWS2.$endRowColRef.$val; - } elseif ((ctype_alpha($startRowColRef)) && (ctype_alpha($val)) && - (strlen($startRowColRef) <= 3) && (strlen($val) <= 3)) { - // Column range - $endRowColRef = ($pCellParent !== NULL) ? $pCellParent->getHighestRow() : 1048576; // Max 1,048,576 rows for Excel2007 - $output[count($output)-1]['value'] = $rangeWS1.strtoupper($startRowColRef).'1'; - $val = $rangeWS2.$val.$endRowColRef; - } - } - - $localeConstant = FALSE; - if ($opCharacter == '"') { -// echo 'Element is a String<br />'; - // UnEscape any quotes within the string - $val = self::_wrapResult(str_replace('""','"',self::_unwrapResult($val))); - } elseif (is_numeric($val)) { -// echo 'Element is a Number<br />'; - if ((strpos($val,'.') !== FALSE) || (stripos($val,'e') !== FALSE) || ($val > PHP_INT_MAX) || ($val < -PHP_INT_MAX)) { -// echo 'Casting '.$val.' to float<br />'; - $val = (float) $val; - } else { -// echo 'Casting '.$val.' to integer<br />'; - $val = (integer) $val; - } - } elseif (isset(self::$_ExcelConstants[trim(strtoupper($val))])) { - $excelConstant = trim(strtoupper($val)); -// echo 'Element '.$excelConstant.' is an Excel Constant<br />'; - $val = self::$_ExcelConstants[$excelConstant]; - } elseif (($localeConstant = array_search(trim(strtoupper($val)), self::$_localeBoolean)) !== FALSE) { -// echo 'Element '.$localeConstant.' is an Excel Constant<br />'; - $val = self::$_ExcelConstants[$localeConstant]; - } - $details = array('type' => 'Value', 'value' => $val, 'reference' => NULL); - if ($localeConstant) { $details['localeValue'] = $localeConstant; } - $output[] = $details; - } - $index += $length; - - } elseif ($opCharacter == '$') { // absolute row or column range - ++$index; - } elseif ($opCharacter == ')') { // miscellaneous error checking - if ($expectingOperand) { - $output[] = array('type' => 'NULL Value', 'value' => self::$_ExcelConstants['NULL'], 'reference' => NULL); - $expectingOperand = FALSE; - $expectingOperator = TRUE; - } else { - return $this->_raiseFormulaError("Formula Error: Unexpected ')'"); - } - } elseif (isset(self::$_operators[$opCharacter]) && !$expectingOperator) { - return $this->_raiseFormulaError("Formula Error: Unexpected operator '$opCharacter'"); - } else { // I don't even want to know what you did to get here - return $this->_raiseFormulaError("Formula Error: An unexpected error occured"); - } - // Test for end of formula string - if ($index == strlen($formula)) { - // Did we end with an operator?. - // Only valid for the % unary operator - if ((isset(self::$_operators[$opCharacter])) && ($opCharacter != '%')) { - return $this->_raiseFormulaError("Formula Error: Operator '$opCharacter' has no operands"); - } else { - break; - } - } - // Ignore white space - while (($formula{$index} == "\n") || ($formula{$index} == "\r")) { - ++$index; - } - if ($formula{$index} == ' ') { - while ($formula{$index} == ' ') { - ++$index; - } - // If we're expecting an operator, but only have a space between the previous and next operands (and both are - // Cell References) then we have an INTERSECTION operator -// echo 'Possible Intersect Operator<br />'; - if (($expectingOperator) && (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'.*/Ui', substr($formula, $index), $match)) && - ($output[count($output)-1]['type'] == 'Cell Reference')) { -// echo 'Element is an Intersect Operator<br />'; - while($stack->count() > 0 && - ($o2 = $stack->last()) && - isset(self::$_operators[$o2['value']]) && - @(self::$_operatorAssociativity[$opCharacter] ? self::$_operatorPrecedence[$opCharacter] < self::$_operatorPrecedence[$o2['value']] : self::$_operatorPrecedence[$opCharacter] <= self::$_operatorPrecedence[$o2['value']])) { - $output[] = $stack->pop(); // Swap operands and higher precedence operators from the stack to the output - } - $stack->push('Binary Operator','|'); // Put an Intersect Operator on the stack - $expectingOperator = FALSE; - } - } - } - - while (($op = $stack->pop()) !== NULL) { // pop everything off the stack and push onto output - if ((is_array($op) && $op['value'] == '(') || ($op === '(')) - return $this->_raiseFormulaError("Formula Error: Expecting ')'"); // if there are any opening braces on the stack, then braces were unbalanced - $output[] = $op; - } - return $output; - } // function _parseFormula() - - - private static function _dataTestReference(&$operandData) - { - $operand = $operandData['value']; - if (($operandData['reference'] === NULL) && (is_array($operand))) { - $rKeys = array_keys($operand); - $rowKey = array_shift($rKeys); - $cKeys = array_keys(array_keys($operand[$rowKey])); - $colKey = array_shift($cKeys); - if (ctype_upper($colKey)) { - $operandData['reference'] = $colKey.$rowKey; - } - } - return $operand; - } - - // evaluate postfix notation - private function _processTokenStack($tokens, $cellID = NULL, PHPExcel_Cell $pCell = NULL) { - if ($tokens == FALSE) return FALSE; - - // If we're using cell caching, then $pCell may well be flushed back to the cache (which detaches the parent cell collection), - // so we store the parent cell collection so that we can re-attach it when necessary - $pCellWorksheet = ($pCell !== NULL) ? $pCell->getWorksheet() : NULL; - $pCellParent = ($pCell !== NULL) ? $pCell->getParent() : null; - $stack = new PHPExcel_Calculation_Token_Stack; - - // Loop through each token in turn - foreach ($tokens as $tokenData) { -// print_r($tokenData); -// echo '<br />'; - $token = $tokenData['value']; -// echo '<b>Token is '.$token.'</b><br />'; - // if the token is a binary operator, pop the top two values off the stack, do the operation, and push the result back on the stack - if (isset(self::$_binaryOperators[$token])) { -// echo 'Token is a binary operator<br />'; - // We must have two operands, error if we don't - if (($operand2Data = $stack->pop()) === NULL) return $this->_raiseFormulaError('Internal error - Operand value missing from stack'); - if (($operand1Data = $stack->pop()) === NULL) return $this->_raiseFormulaError('Internal error - Operand value missing from stack'); - - $operand1 = self::_dataTestReference($operand1Data); - $operand2 = self::_dataTestReference($operand2Data); - - // Log what we're doing - if ($token == ':') { - $this->_debugLog->writeDebugLog('Evaluating Range ', $this->_showValue($operand1Data['reference']), ' ', $token, ' ', $this->_showValue($operand2Data['reference'])); - } else { - $this->_debugLog->writeDebugLog('Evaluating ', $this->_showValue($operand1), ' ', $token, ' ', $this->_showValue($operand2)); - } - - // Process the operation in the appropriate manner - switch ($token) { - // Comparison (Boolean) Operators - case '>' : // Greater than - case '<' : // Less than - case '>=' : // Greater than or Equal to - case '<=' : // Less than or Equal to - case '=' : // Equality - case '<>' : // Inequality - $this->_executeBinaryComparisonOperation($cellID,$operand1,$operand2,$token,$stack); - break; - // Binary Operators - case ':' : // Range - $sheet1 = $sheet2 = ''; - if (strpos($operand1Data['reference'],'!') !== FALSE) { - list($sheet1,$operand1Data['reference']) = explode('!',$operand1Data['reference']); - } else { - $sheet1 = ($pCellParent !== NULL) ? $pCellWorksheet->getTitle() : ''; - } - if (strpos($operand2Data['reference'],'!') !== FALSE) { - list($sheet2,$operand2Data['reference']) = explode('!',$operand2Data['reference']); - } else { - $sheet2 = $sheet1; - } - if ($sheet1 == $sheet2) { - if ($operand1Data['reference'] === NULL) { - if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) { - $operand1Data['reference'] = $pCell->getColumn().$operand1Data['value']; - } elseif (trim($operand1Data['reference']) == '') { - $operand1Data['reference'] = $pCell->getCoordinate(); - } else { - $operand1Data['reference'] = $operand1Data['value'].$pCell->getRow(); - } - } - if ($operand2Data['reference'] === NULL) { - if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) { - $operand2Data['reference'] = $pCell->getColumn().$operand2Data['value']; - } elseif (trim($operand2Data['reference']) == '') { - $operand2Data['reference'] = $pCell->getCoordinate(); - } else { - $operand2Data['reference'] = $operand2Data['value'].$pCell->getRow(); - } - } - - $oData = array_merge(explode(':',$operand1Data['reference']),explode(':',$operand2Data['reference'])); - $oCol = $oRow = array(); - foreach($oData as $oDatum) { - $oCR = PHPExcel_Cell::coordinateFromString($oDatum); - $oCol[] = PHPExcel_Cell::columnIndexFromString($oCR[0]) - 1; - $oRow[] = $oCR[1]; - } - $cellRef = PHPExcel_Cell::stringFromColumnIndex(min($oCol)).min($oRow).':'.PHPExcel_Cell::stringFromColumnIndex(max($oCol)).max($oRow); - if ($pCellParent !== NULL) { - $cellValue = $this->extractCellRange($cellRef, $this->_workbook->getSheetByName($sheet1), FALSE); - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $stack->push('Cell Reference',$cellValue,$cellRef); - } else { - $stack->push('Error',PHPExcel_Calculation_Functions::REF(),NULL); - } - - break; - case '+' : // Addition - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'plusEquals',$stack); - break; - case '-' : // Subtraction - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'minusEquals',$stack); - break; - case '*' : // Multiplication - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'arrayTimesEquals',$stack); - break; - case '/' : // Division - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'arrayRightDivide',$stack); - break; - case '^' : // Exponential - $this->_executeNumericBinaryOperation($cellID,$operand1,$operand2,$token,'power',$stack); - break; - case '&' : // Concatenation - // If either of the operands is a matrix, we need to treat them both as matrices - // (converting the other operand to a matrix if need be); then perform the required - // matrix operation - if (is_bool($operand1)) { - $operand1 = ($operand1) ? self::$_localeBoolean['TRUE'] : self::$_localeBoolean['FALSE']; - } - if (is_bool($operand2)) { - $operand2 = ($operand2) ? self::$_localeBoolean['TRUE'] : self::$_localeBoolean['FALSE']; - } - if ((is_array($operand1)) || (is_array($operand2))) { - // Ensure that both operands are arrays/matrices - self::_checkMatrixOperands($operand1,$operand2,2); - try { - // Convert operand 1 from a PHP array to a matrix - $matrix = new PHPExcel_Shared_JAMA_Matrix($operand1); - // Perform the required operation against the operand 1 matrix, passing in operand 2 - $matrixResult = $matrix->concat($operand2); - $result = $matrixResult->getArray(); - } catch (PHPExcel_Exception $ex) { - $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage()); - $result = '#VALUE!'; - } - } else { - $result = '"'.str_replace('""','"',self::_unwrapResult($operand1,'"').self::_unwrapResult($operand2,'"')).'"'; - } - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - $stack->push('Value',$result); - break; - case '|' : // Intersect - $rowIntersect = array_intersect_key($operand1,$operand2); - $cellIntersect = $oCol = $oRow = array(); - foreach(array_keys($rowIntersect) as $row) { - $oRow[] = $row; - foreach($rowIntersect[$row] as $col => $data) { - $oCol[] = PHPExcel_Cell::columnIndexFromString($col) - 1; - $cellIntersect[$row] = array_intersect_key($operand1[$row],$operand2[$row]); - } - } - $cellRef = PHPExcel_Cell::stringFromColumnIndex(min($oCol)).min($oRow).':'.PHPExcel_Cell::stringFromColumnIndex(max($oCol)).max($oRow); - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($cellIntersect)); - $stack->push('Value',$cellIntersect,$cellRef); - break; - } - - // if the token is a unary operator, pop one value off the stack, do the operation, and push it back on - } elseif (($token === '~') || ($token === '%')) { -// echo 'Token is a unary operator<br />'; - if (($arg = $stack->pop()) === NULL) return $this->_raiseFormulaError('Internal error - Operand value missing from stack'); - $arg = $arg['value']; - if ($token === '~') { -// echo 'Token is a negation operator<br />'; - $this->_debugLog->writeDebugLog('Evaluating Negation of ', $this->_showValue($arg)); - $multiplier = -1; - } else { -// echo 'Token is a percentile operator<br />'; - $this->_debugLog->writeDebugLog('Evaluating Percentile of ', $this->_showValue($arg)); - $multiplier = 0.01; - } - if (is_array($arg)) { - self::_checkMatrixOperands($arg,$multiplier,2); - try { - $matrix1 = new PHPExcel_Shared_JAMA_Matrix($arg); - $matrixResult = $matrix1->arrayTimesEquals($multiplier); - $result = $matrixResult->getArray(); - } catch (PHPExcel_Exception $ex) { - $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage()); - $result = '#VALUE!'; - } - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - $stack->push('Value',$result); - } else { - $this->_executeNumericBinaryOperation($cellID,$multiplier,$arg,'*','arrayTimesEquals',$stack); - } - - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_CELLREF.'$/i', $token, $matches)) { - $cellRef = NULL; -// echo 'Element '.$token.' is a Cell reference<br />'; - if (isset($matches[8])) { -// echo 'Reference is a Range of cells<br />'; - if ($pCell === NULL) { -// We can't access the range, so return a REF error - $cellValue = PHPExcel_Calculation_Functions::REF(); - } else { - $cellRef = $matches[6].$matches[7].':'.$matches[9].$matches[10]; - if ($matches[2] > '') { - $matches[2] = trim($matches[2],"\"'"); - if ((strpos($matches[2],'[') !== FALSE) || (strpos($matches[2],']') !== FALSE)) { - // It's a Reference to an external workbook (not currently supported) - return $this->_raiseFormulaError('Unable to access External Workbook'); - } - $matches[2] = trim($matches[2],"\"'"); -// echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'<br />'; - $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in worksheet ', $matches[2]); - if ($pCellParent !== NULL) { - $cellValue = $this->extractCellRange($cellRef, $this->_workbook->getSheetByName($matches[2]), FALSE); - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->_showTypeDetails($cellValue)); -// $cellRef = $matches[2].'!'.$cellRef; - } else { -// echo '$cellRef='.$cellRef.' in current worksheet<br />'; - $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in current worksheet'); - if ($pCellParent !== NULL) { - $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, FALSE); - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' is ', $this->_showTypeDetails($cellValue)); - } - } - } else { -// echo 'Reference is a single Cell<br />'; - if ($pCell === NULL) { -// We can't access the cell, so return a REF error - $cellValue = PHPExcel_Calculation_Functions::REF(); - } else { - $cellRef = $matches[6].$matches[7]; - if ($matches[2] > '') { - $matches[2] = trim($matches[2],"\"'"); - if ((strpos($matches[2],'[') !== FALSE) || (strpos($matches[2],']') !== FALSE)) { - // It's a Reference to an external workbook (not currently supported) - return $this->_raiseFormulaError('Unable to access External Workbook'); - } -// echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'<br />'; - $this->_debugLog->writeDebugLog('Evaluating Cell ', $cellRef, ' in worksheet ', $matches[2]); - if ($pCellParent !== NULL) { - $cellSheet = $this->_workbook->getSheetByName($matches[2]); - if ($cellSheet && $cellSheet->cellExists($cellRef)) { - $cellValue = $this->extractCellRange($cellRef, $this->_workbook->getSheetByName($matches[2]), FALSE); - $pCell->attach($pCellParent); - } else { - $cellValue = NULL; - } - } else { - return $this->_raiseFormulaError('Unable to access Cell Reference'); - } - $this->_debugLog->writeDebugLog('Evaluation Result for cell ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->_showTypeDetails($cellValue)); -// $cellRef = $matches[2].'!'.$cellRef; - } else { -// echo '$cellRef='.$cellRef.' in current worksheet<br />'; - $this->_debugLog->writeDebugLog('Evaluating Cell ', $cellRef, ' in current worksheet'); - if ($pCellParent->isDataSet($cellRef)) { - $cellValue = $this->extractCellRange($cellRef, $pCellWorksheet, FALSE); - $pCell->attach($pCellParent); - } else { - $cellValue = NULL; - } - $this->_debugLog->writeDebugLog('Evaluation Result for cell ', $cellRef, ' is ', $this->_showTypeDetails($cellValue)); - } - } - } - $stack->push('Value',$cellValue,$cellRef); - - // if the token is a function, pop arguments off the stack, hand them to the function, and push the result back on - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_FUNCTION.'$/i', $token, $matches)) { -// echo 'Token is a function<br />'; - $functionName = $matches[1]; - $argCount = $stack->pop(); - $argCount = $argCount['value']; - if ($functionName != 'MKMATRIX') { - $this->_debugLog->writeDebugLog('Evaluating Function ', self::_localeFunc($functionName), '() with ', (($argCount == 0) ? 'no' : $argCount), ' argument', (($argCount == 1) ? '' : 's')); - } - if ((isset(self::$_PHPExcelFunctions[$functionName])) || (isset(self::$_controlFunctions[$functionName]))) { // function - if (isset(self::$_PHPExcelFunctions[$functionName])) { - $functionCall = self::$_PHPExcelFunctions[$functionName]['functionCall']; - $passByReference = isset(self::$_PHPExcelFunctions[$functionName]['passByReference']); - $passCellReference = isset(self::$_PHPExcelFunctions[$functionName]['passCellReference']); - } elseif (isset(self::$_controlFunctions[$functionName])) { - $functionCall = self::$_controlFunctions[$functionName]['functionCall']; - $passByReference = isset(self::$_controlFunctions[$functionName]['passByReference']); - $passCellReference = isset(self::$_controlFunctions[$functionName]['passCellReference']); - } - // get the arguments for this function -// echo 'Function '.$functionName.' expects '.$argCount.' arguments<br />'; - $args = $argArrayVals = array(); - for ($i = 0; $i < $argCount; ++$i) { - $arg = $stack->pop(); - $a = $argCount - $i - 1; - if (($passByReference) && - (isset(self::$_PHPExcelFunctions[$functionName]['passByReference'][$a])) && - (self::$_PHPExcelFunctions[$functionName]['passByReference'][$a])) { - if ($arg['reference'] === NULL) { - $args[] = $cellID; - if ($functionName != 'MKMATRIX') { $argArrayVals[] = $this->_showValue($cellID); } - } else { - $args[] = $arg['reference']; - if ($functionName != 'MKMATRIX') { $argArrayVals[] = $this->_showValue($arg['reference']); } - } - } else { - $args[] = self::_unwrapResult($arg['value']); - if ($functionName != 'MKMATRIX') { $argArrayVals[] = $this->_showValue($arg['value']); } - } - } - // Reverse the order of the arguments - krsort($args); - if (($passByReference) && ($argCount == 0)) { - $args[] = $cellID; - $argArrayVals[] = $this->_showValue($cellID); - } -// echo 'Arguments are: '; -// print_r($args); -// echo '<br />'; - if ($functionName != 'MKMATRIX') { - if ($this->_debugLog->getWriteDebugLog()) { - krsort($argArrayVals); - $this->_debugLog->writeDebugLog('Evaluating ', self::_localeFunc($functionName), '( ', implode(self::$_localeArgumentSeparator.' ',PHPExcel_Calculation_Functions::flattenArray($argArrayVals)), ' )'); - } - } - // Process each argument in turn, building the return value as an array -// if (($argCount == 1) && (is_array($args[1])) && ($functionName != 'MKMATRIX')) { -// $operand1 = $args[1]; -// $this->_debugLog->writeDebugLog('Argument is a matrix: ', $this->_showValue($operand1)); -// $result = array(); -// $row = 0; -// foreach($operand1 as $args) { -// if (is_array($args)) { -// foreach($args as $arg) { -// $this->_debugLog->writeDebugLog('Evaluating ', self::_localeFunc($functionName), '( ', $this->_showValue($arg), ' )'); -// $r = call_user_func_array($functionCall,$arg); -// $this->_debugLog->writeDebugLog('Evaluation Result for ', self::_localeFunc($functionName), '() function call is ', $this->_showTypeDetails($r)); -// $result[$row][] = $r; -// } -// ++$row; -// } else { -// $this->_debugLog->writeDebugLog('Evaluating ', self::_localeFunc($functionName), '( ', $this->_showValue($args), ' )'); -// $r = call_user_func_array($functionCall,$args); -// $this->_debugLog->writeDebugLog('Evaluation Result for ', self::_localeFunc($functionName), '() function call is ', $this->_showTypeDetails($r)); -// $result[] = $r; -// } -// } -// } else { - // Process the argument with the appropriate function call - if ($passCellReference) { - $args[] = $pCell; - } - if (strpos($functionCall,'::') !== FALSE) { - $result = call_user_func_array(explode('::',$functionCall),$args); - } else { - foreach($args as &$arg) { - $arg = PHPExcel_Calculation_Functions::flattenSingleValue($arg); - } - unset($arg); - $result = call_user_func_array($functionCall,$args); - } -// } - if ($functionName != 'MKMATRIX') { - $this->_debugLog->writeDebugLog('Evaluation Result for ', self::_localeFunc($functionName), '() function call is ', $this->_showTypeDetails($result)); - } - $stack->push('Value',self::_wrapResult($result)); - } - - } else { - // if the token is a number, boolean, string or an Excel error, push it onto the stack - if (isset(self::$_ExcelConstants[strtoupper($token)])) { - $excelConstant = strtoupper($token); -// echo 'Token is a PHPExcel constant: '.$excelConstant.'<br />'; - $stack->push('Constant Value',self::$_ExcelConstants[$excelConstant]); - $this->_debugLog->writeDebugLog('Evaluating Constant ', $excelConstant, ' as ', $this->_showTypeDetails(self::$_ExcelConstants[$excelConstant])); - } elseif ((is_numeric($token)) || ($token === NULL) || (is_bool($token)) || ($token == '') || ($token{0} == '"') || ($token{0} == '#')) { -// echo 'Token is a number, boolean, string, null or an Excel error<br />'; - $stack->push('Value',$token); - // if the token is a named range, push the named range name onto the stack - } elseif (preg_match('/^'.self::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $token, $matches)) { -// echo 'Token is a named range<br />'; - $namedRange = $matches[6]; -// echo 'Named Range is '.$namedRange.'<br />'; - $this->_debugLog->writeDebugLog('Evaluating Named Range ', $namedRange); - $cellValue = $this->extractNamedRange($namedRange, ((NULL !== $pCell) ? $pCellWorksheet : NULL), FALSE); - $pCell->attach($pCellParent); - $this->_debugLog->writeDebugLog('Evaluation Result for named range ', $namedRange, ' is ', $this->_showTypeDetails($cellValue)); - $stack->push('Named Range',$cellValue,$namedRange); - } else { - return $this->_raiseFormulaError("undefined variable '$token'"); - } - } - } - // when we're out of tokens, the stack should have a single element, the final result - if ($stack->count() != 1) return $this->_raiseFormulaError("internal error"); - $output = $stack->pop(); - $output = $output['value']; - -// if ((is_array($output)) && (self::$returnArrayAsType != self::RETURN_ARRAY_AS_ARRAY)) { -// return array_shift(PHPExcel_Calculation_Functions::flattenArray($output)); -// } - return $output; - } // function _processTokenStack() - - - private function _validateBinaryOperand($cellID, &$operand, &$stack) { - if (is_array($operand)) { - if ((count($operand, COUNT_RECURSIVE) - count($operand)) == 1) { - do { - $operand = array_pop($operand); - } while (is_array($operand)); - } - } - // Numbers, matrices and booleans can pass straight through, as they're already valid - if (is_string($operand)) { - // We only need special validations for the operand if it is a string - // Start by stripping off the quotation marks we use to identify true excel string values internally - if ($operand > '' && $operand{0} == '"') { $operand = self::_unwrapResult($operand); } - // If the string is a numeric value, we treat it as a numeric, so no further testing - if (!is_numeric($operand)) { - // If not a numeric, test to see if the value is an Excel error, and so can't be used in normal binary operations - if ($operand > '' && $operand{0} == '#') { - $stack->push('Value', $operand); - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($operand)); - return FALSE; - } elseif (!PHPExcel_Shared_String::convertToNumberIfFraction($operand)) { - // If not a numeric or a fraction, then it's a text string, and so can't be used in mathematical binary operations - $stack->push('Value', '#VALUE!'); - $this->_debugLog->writeDebugLog('Evaluation Result is a ', $this->_showTypeDetails('#VALUE!')); - return FALSE; - } - } - } - - // return a true if the value of the operand is one that we can use in normal binary operations - return TRUE; - } // function _validateBinaryOperand() - - - private function _executeBinaryComparisonOperation($cellID, $operand1, $operand2, $operation, &$stack, $recursingArrays=FALSE) { - // If we're dealing with matrix operations, we want a matrix result - if ((is_array($operand1)) || (is_array($operand2))) { - $result = array(); - if ((is_array($operand1)) && (!is_array($operand2))) { - foreach($operand1 as $x => $operandData) { - $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->_showValue($operandData), ' ', $operation, ' ', $this->_showValue($operand2)); - $this->_executeBinaryComparisonOperation($cellID,$operandData,$operand2,$operation,$stack); - $r = $stack->pop(); - $result[$x] = $r['value']; - } - } elseif ((!is_array($operand1)) && (is_array($operand2))) { - foreach($operand2 as $x => $operandData) { - $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->_showValue($operand1), ' ', $operation, ' ', $this->_showValue($operandData)); - $this->_executeBinaryComparisonOperation($cellID,$operand1,$operandData,$operation,$stack); - $r = $stack->pop(); - $result[$x] = $r['value']; - } - } else { - if (!$recursingArrays) { self::_checkMatrixOperands($operand1,$operand2,2); } - foreach($operand1 as $x => $operandData) { - $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->_showValue($operandData), ' ', $operation, ' ', $this->_showValue($operand2[$x])); - $this->_executeBinaryComparisonOperation($cellID,$operandData,$operand2[$x],$operation,$stack,TRUE); - $r = $stack->pop(); - $result[$x] = $r['value']; - } - } - // Log the result details - $this->_debugLog->writeDebugLog('Comparison Evaluation Result is ', $this->_showTypeDetails($result)); - // And push the result onto the stack - $stack->push('Array',$result); - return TRUE; - } - - // Simple validate the two operands if they are string values - if (is_string($operand1) && $operand1 > '' && $operand1{0} == '"') { $operand1 = self::_unwrapResult($operand1); } - if (is_string($operand2) && $operand2 > '' && $operand2{0} == '"') { $operand2 = self::_unwrapResult($operand2); } - - // Use case insensitive comparaison if not OpenOffice mode - if (PHPExcel_Calculation_Functions::getCompatibilityMode() != PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) - { - if (is_string($operand1)) { - $operand1 = strtoupper($operand1); - } - - if (is_string($operand2)) { - $operand2 = strtoupper($operand2); - } - } - - $useLowercaseFirstComparison = is_string($operand1) && is_string($operand2) && PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE; - - // execute the necessary operation - switch ($operation) { - // Greater than - case '>': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) > 0; - } else { - $result = ($operand1 > $operand2); - } - break; - // Less than - case '<': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) < 0; - } else { - $result = ($operand1 < $operand2); - } - break; - // Equality - case '=': - $result = ($operand1 == $operand2); - break; - // Greater than or equal - case '>=': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) >= 0; - } else { - $result = ($operand1 >= $operand2); - } - break; - // Less than or equal - case '<=': - if ($useLowercaseFirstComparison) { - $result = $this->strcmpLowercaseFirst($operand1, $operand2) <= 0; - } else { - $result = ($operand1 <= $operand2); - } - break; - // Inequality - case '<>': - $result = ($operand1 != $operand2); - break; - } - - // Log the result details - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - // And push the result onto the stack - $stack->push('Value',$result); - return TRUE; - } // function _executeBinaryComparisonOperation() - - /** - * Compare two strings in the same way as strcmp() except that lowercase come before uppercase letters - * @param string $str1 - * @param string $str2 - * @return integer - */ - private function strcmpLowercaseFirst($str1, $str2) - { - $from = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; - $to = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; - $inversedStr1 = strtr($str1, $from, $to); - $inversedStr2 = strtr($str2, $from, $to); - - return strcmp($inversedStr1, $inversedStr2); - } - - private function _executeNumericBinaryOperation($cellID,$operand1,$operand2,$operation,$matrixFunction,&$stack) { - // Validate the two operands - if (!$this->_validateBinaryOperand($cellID,$operand1,$stack)) return FALSE; - if (!$this->_validateBinaryOperand($cellID,$operand2,$stack)) return FALSE; - - // If either of the operands is a matrix, we need to treat them both as matrices - // (converting the other operand to a matrix if need be); then perform the required - // matrix operation - if ((is_array($operand1)) || (is_array($operand2))) { - // Ensure that both operands are arrays/matrices of the same size - self::_checkMatrixOperands($operand1, $operand2, 2); - - try { - // Convert operand 1 from a PHP array to a matrix - $matrix = new PHPExcel_Shared_JAMA_Matrix($operand1); - // Perform the required operation against the operand 1 matrix, passing in operand 2 - $matrixResult = $matrix->$matrixFunction($operand2); - $result = $matrixResult->getArray(); - } catch (PHPExcel_Exception $ex) { - $this->_debugLog->writeDebugLog('JAMA Matrix Exception: ', $ex->getMessage()); - $result = '#VALUE!'; - } - } else { - if ((PHPExcel_Calculation_Functions::getCompatibilityMode() != PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) && - ((is_string($operand1) && !is_numeric($operand1) && strlen($operand1)>0) || - (is_string($operand2) && !is_numeric($operand2) && strlen($operand2)>0))) { - $result = PHPExcel_Calculation_Functions::VALUE(); - } else { - // If we're dealing with non-matrix operations, execute the necessary operation - switch ($operation) { - // Addition - case '+': - $result = $operand1 + $operand2; - break; - // Subtraction - case '-': - $result = $operand1 - $operand2; - break; - // Multiplication - case '*': - $result = $operand1 * $operand2; - break; - // Division - case '/': - if ($operand2 == 0) { - // Trap for Divide by Zero error - $stack->push('Value','#DIV/0!'); - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails('#DIV/0!')); - return FALSE; - } else { - $result = $operand1 / $operand2; - } - break; - // Power - case '^': - $result = pow($operand1, $operand2); - break; - } - } - } - - // Log the result details - $this->_debugLog->writeDebugLog('Evaluation Result is ', $this->_showTypeDetails($result)); - // And push the result onto the stack - $stack->push('Value',$result); - return TRUE; - } // function _executeNumericBinaryOperation() - - - // trigger an error, but nicely, if need be - protected function _raiseFormulaError($errorMessage) { - $this->formulaError = $errorMessage; - $this->_cyclicReferenceStack->clear(); - if (!$this->suppressFormulaErrors) throw new PHPExcel_Calculation_Exception($errorMessage); - trigger_error($errorMessage, E_USER_ERROR); - } // function _raiseFormulaError() - - - /** - * Extract range values - * - * @param string &$pRange String based range representation - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param boolean $resetLog Flag indicating whether calculation log should be reset or not - * @return mixed Array of values in range if range contains more than one element. Otherwise, a single value is returned. - * @throws PHPExcel_Calculation_Exception - */ - public function extractCellRange(&$pRange = 'A1', PHPExcel_Worksheet $pSheet = NULL, $resetLog = TRUE) { - // Return value - $returnValue = array (); - -// echo 'extractCellRange('.$pRange.')',PHP_EOL; - if ($pSheet !== NULL) { - $pSheetName = $pSheet->getTitle(); -// echo 'Passed sheet name is '.$pSheetName.PHP_EOL; -// echo 'Range reference is '.$pRange.PHP_EOL; - if (strpos ($pRange, '!') !== false) { -// echo '$pRange reference includes sheet reference',PHP_EOL; - list($pSheetName,$pRange) = PHPExcel_Worksheet::extractSheetTitle($pRange, true); -// echo 'New sheet name is '.$pSheetName,PHP_EOL; -// echo 'Adjusted Range reference is '.$pRange,PHP_EOL; - $pSheet = $this->_workbook->getSheetByName($pSheetName); - } - - // Extract range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange); - $pRange = $pSheetName.'!'.$pRange; - if (!isset($aReferences[1])) { - // Single cell in range - sscanf($aReferences[0],'%[A-Z]%d', $currentCol, $currentRow); - $cellValue = NULL; - if ($pSheet->cellExists($aReferences[0])) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($aReferences[0])->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } else { - // Extract cell data for all cells in the range - foreach ($aReferences as $reference) { - // Extract range - sscanf($reference,'%[A-Z]%d', $currentCol, $currentRow); - $cellValue = NULL; - if ($pSheet->cellExists($reference)) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($reference)->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } - } - } - - // Return - return $returnValue; - } // function extractCellRange() - - - /** - * Extract range values - * - * @param string &$pRange String based range representation - * @param PHPExcel_Worksheet $pSheet Worksheet - * @return mixed Array of values in range if range contains more than one element. Otherwise, a single value is returned. - * @param boolean $resetLog Flag indicating whether calculation log should be reset or not - * @throws PHPExcel_Calculation_Exception - */ - public function extractNamedRange(&$pRange = 'A1', PHPExcel_Worksheet $pSheet = NULL, $resetLog = TRUE) { - // Return value - $returnValue = array (); - -// echo 'extractNamedRange('.$pRange.')<br />'; - if ($pSheet !== NULL) { - $pSheetName = $pSheet->getTitle(); -// echo 'Current sheet name is '.$pSheetName.'<br />'; -// echo 'Range reference is '.$pRange.'<br />'; - if (strpos ($pRange, '!') !== false) { -// echo '$pRange reference includes sheet reference',PHP_EOL; - list($pSheetName,$pRange) = PHPExcel_Worksheet::extractSheetTitle($pRange, true); -// echo 'New sheet name is '.$pSheetName,PHP_EOL; -// echo 'Adjusted Range reference is '.$pRange,PHP_EOL; - $pSheet = $this->_workbook->getSheetByName($pSheetName); - } - - // Named range? - $namedRange = PHPExcel_NamedRange::resolveRange($pRange, $pSheet); - if ($namedRange !== NULL) { - $pSheet = $namedRange->getWorksheet(); -// echo 'Named Range '.$pRange.' ('; - $pRange = $namedRange->getRange(); - $splitRange = PHPExcel_Cell::splitRange($pRange); - // Convert row and column references - if (ctype_alpha($splitRange[0][0])) { - $pRange = $splitRange[0][0] . '1:' . $splitRange[0][1] . $namedRange->getWorksheet()->getHighestRow(); - } elseif(ctype_digit($splitRange[0][0])) { - $pRange = 'A' . $splitRange[0][0] . ':' . $namedRange->getWorksheet()->getHighestColumn() . $splitRange[0][1]; - } -// echo $pRange.') is in sheet '.$namedRange->getWorksheet()->getTitle().'<br />'; - -// if ($pSheet->getTitle() != $namedRange->getWorksheet()->getTitle()) { -// if (!$namedRange->getLocalOnly()) { -// $pSheet = $namedRange->getWorksheet(); -// } else { -// return $returnValue; -// } -// } - } else { - return PHPExcel_Calculation_Functions::REF(); - } - - // Extract range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange); -// var_dump($aReferences); - if (!isset($aReferences[1])) { - // Single cell (or single column or row) in range - list($currentCol,$currentRow) = PHPExcel_Cell::coordinateFromString($aReferences[0]); - $cellValue = NULL; - if ($pSheet->cellExists($aReferences[0])) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($aReferences[0])->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } else { - // Extract cell data for all cells in the range - foreach ($aReferences as $reference) { - // Extract range - list($currentCol,$currentRow) = PHPExcel_Cell::coordinateFromString($reference); -// echo 'NAMED RANGE: $currentCol='.$currentCol.' $currentRow='.$currentRow.'<br />'; - $cellValue = NULL; - if ($pSheet->cellExists($reference)) { - $returnValue[$currentRow][$currentCol] = $pSheet->getCell($reference)->getCalculatedValue($resetLog); - } else { - $returnValue[$currentRow][$currentCol] = NULL; - } - } - } -// print_r($returnValue); -// echo '<br />'; - } - - // Return - return $returnValue; - } // function extractNamedRange() - - - /** - * Is a specific function implemented? - * - * @param string $pFunction Function Name - * @return boolean - */ - public function isImplemented($pFunction = '') { - $pFunction = strtoupper ($pFunction); - if (isset(self::$_PHPExcelFunctions[$pFunction])) { - return (self::$_PHPExcelFunctions[$pFunction]['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY'); - } else { - return FALSE; - } - } // function isImplemented() - - - /** - * Get a list of all implemented functions as an array of function objects - * - * @return array of PHPExcel_Calculation_Function - */ - public function listFunctions() { - // Return value - $returnValue = array(); - // Loop functions - foreach(self::$_PHPExcelFunctions as $functionName => $function) { - if ($function['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY') { - $returnValue[$functionName] = new PHPExcel_Calculation_Function($function['category'], - $functionName, - $function['functionCall'] - ); - } - } - - // Return - return $returnValue; - } // function listFunctions() - - - /** - * Get a list of all Excel function names - * - * @return array - */ - public function listAllFunctionNames() { - return array_keys(self::$_PHPExcelFunctions); - } // function listAllFunctionNames() - - /** - * Get a list of implemented Excel function names - * - * @return array - */ - public function listFunctionNames() { - // Return value - $returnValue = array(); - // Loop functions - foreach(self::$_PHPExcelFunctions as $functionName => $function) { - if ($function['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY') { - $returnValue[] = $functionName; - } - } - - // Return - return $returnValue; - } // function listFunctionNames() - -} // class PHPExcel_Calculation - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Database.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Database.php deleted file mode 100644 index 908decfc4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Database.php +++ /dev/null @@ -1,725 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Calculation_Database - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Database { - - - /** - * __fieldExtract - * - * Extracts the column ID to use for the data field. - * - * @access private - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param mixed $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @return string|NULL - * - */ - private static function __fieldExtract($database,$field) { - $field = strtoupper(PHPExcel_Calculation_Functions::flattenSingleValue($field)); - $fieldNames = array_map('strtoupper',array_shift($database)); - - if (is_numeric($field)) { - $keys = array_keys($fieldNames); - return $keys[$field-1]; - } - $key = array_search($field,$fieldNames); - return ($key) ? $key : NULL; - } - - /** - * __filter - * - * Parses the selection criteria, extracts the database rows that match those criteria, and - * returns that subset of rows. - * - * @access private - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return array of mixed - * - */ - private static function __filter($database,$criteria) { - $fieldNames = array_shift($database); - $criteriaNames = array_shift($criteria); - - // Convert the criteria into a set of AND/OR conditions with [:placeholders] - $testConditions = $testValues = array(); - $testConditionsCount = 0; - foreach($criteriaNames as $key => $criteriaName) { - $testCondition = array(); - $testConditionCount = 0; - foreach($criteria as $row => $criterion) { - if ($criterion[$key] > '') { - $testCondition[] = '[:'.$criteriaName.']'.PHPExcel_Calculation_Functions::_ifCondition($criterion[$key]); - $testConditionCount++; - } - } - if ($testConditionCount > 1) { - $testConditions[] = 'OR('.implode(',',$testCondition).')'; - $testConditionsCount++; - } elseif($testConditionCount == 1) { - $testConditions[] = $testCondition[0]; - $testConditionsCount++; - } - } - - if ($testConditionsCount > 1) { - $testConditionSet = 'AND('.implode(',',$testConditions).')'; - } elseif($testConditionsCount == 1) { - $testConditionSet = $testConditions[0]; - } - - // Loop through each row of the database - foreach($database as $dataRow => $dataValues) { - // Substitute actual values from the database row for our [:placeholders] - $testConditionList = $testConditionSet; - foreach($criteriaNames as $key => $criteriaName) { - $k = array_search($criteriaName,$fieldNames); - if (isset($dataValues[$k])) { - $dataValue = $dataValues[$k]; - $dataValue = (is_string($dataValue)) ? PHPExcel_Calculation::_wrapResult(strtoupper($dataValue)) : $dataValue; - $testConditionList = str_replace('[:'.$criteriaName.']',$dataValue,$testConditionList); - } - } - // evaluate the criteria against the row data - $result = PHPExcel_Calculation::getInstance()->_calculateFormulaValue('='.$testConditionList); - // If the row failed to meet the criteria, remove it from the database - if (!$result) { - unset($database[$dataRow]); - } - } - - return $database; - } - - - /** - * DAVERAGE - * - * Averages the values in a column of a list or database that match conditions you specify. - * - * Excel Function: - * DAVERAGE(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DAVERAGE($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::AVERAGE($colData); - } // function DAVERAGE() - - - /** - * DCOUNT - * - * Counts the cells that contain numbers in a column of a list or database that match conditions - * that you specify. - * - * Excel Function: - * DCOUNT(database,[field],criteria) - * - * Excel Function: - * DAVERAGE(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return integer - * - * @TODO The field argument is optional. If field is omitted, DCOUNT counts all records in the - * database that match the criteria. - * - */ - public static function DCOUNT($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::COUNT($colData); - } // function DCOUNT() - - - /** - * DCOUNTA - * - * Counts the nonblank cells in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DCOUNTA(database,[field],criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return integer - * - * @TODO The field argument is optional. If field is omitted, DCOUNTA counts all records in the - * database that match the criteria. - * - */ - public static function DCOUNTA($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::COUNTA($colData); - } // function DCOUNTA() - - - /** - * DGET - * - * Extracts a single value from a column of a list or database that matches conditions that you - * specify. - * - * Excel Function: - * DGET(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return mixed - * - */ - public static function DGET($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - if (count($colData) > 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return $colData[0]; - } // function DGET() - - - /** - * DMAX - * - * Returns the largest number in a column of a list or database that matches conditions you that - * specify. - * - * Excel Function: - * DMAX(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DMAX($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::MAX($colData); - } // function DMAX() - - - /** - * DMIN - * - * Returns the smallest number in a column of a list or database that matches conditions you that - * specify. - * - * Excel Function: - * DMIN(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DMIN($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::MIN($colData); - } // function DMIN() - - - /** - * DPRODUCT - * - * Multiplies the values in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DPRODUCT(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DPRODUCT($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_MathTrig::PRODUCT($colData); - } // function DPRODUCT() - - - /** - * DSTDEV - * - * Estimates the standard deviation of a population based on a sample by using the numbers in a - * column of a list or database that match conditions that you specify. - * - * Excel Function: - * DSTDEV(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DSTDEV($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::STDEV($colData); - } // function DSTDEV() - - - /** - * DSTDEVP - * - * Calculates the standard deviation of a population based on the entire population by using the - * numbers in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DSTDEVP(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DSTDEVP($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::STDEVP($colData); - } // function DSTDEVP() - - - /** - * DSUM - * - * Adds the numbers in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DSUM(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DSUM($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_MathTrig::SUM($colData); - } // function DSUM() - - - /** - * DVAR - * - * Estimates the variance of a population based on a sample by using the numbers in a column - * of a list or database that match conditions that you specify. - * - * Excel Function: - * DVAR(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DVAR($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::VARFunc($colData); - } // function DVAR() - - - /** - * DVARP - * - * Calculates the variance of a population based on the entire population by using the numbers - * in a column of a list or database that match conditions that you specify. - * - * Excel Function: - * DVARP(database,field,criteria) - * - * @access public - * @category Database Functions - * @param mixed[] $database The range of cells that makes up the list or database. - * A database is a list of related data in which rows of related - * information are records, and columns of data are fields. The - * first row of the list contains labels for each column. - * @param string|integer $field Indicates which column is used in the function. Enter the - * column label enclosed between double quotation marks, such as - * "Age" or "Yield," or a number (without quotation marks) that - * represents the position of the column within the list: 1 for - * the first column, 2 for the second column, and so on. - * @param mixed[] $criteria The range of cells that contains the conditions you specify. - * You can use any range for the criteria argument, as long as it - * includes at least one column label and at least one cell below - * the column label in which you specify a condition for the - * column. - * @return float - * - */ - public static function DVARP($database,$field,$criteria) { - $field = self::__fieldExtract($database,$field); - if (is_null($field)) { - return NULL; - } - - // reduce the database to a set of rows that match all the criteria - $database = self::__filter($database,$criteria); - // extract an array of values for the requested column - $colData = array(); - foreach($database as $row) { - $colData[] = $row[$field]; - } - - // Return - return PHPExcel_Calculation_Statistical::VARP($colData); - } // function DVARP() - - -} // class PHPExcel_Calculation_Database diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/DateTime.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/DateTime.php deleted file mode 100644 index 6eb96fd2c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/DateTime.php +++ /dev/null @@ -1,1475 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Calculation_DateTime - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_DateTime { - - /** - * Identify if a year is a leap year or not - * - * @param integer $year The year to test - * @return boolean TRUE if the year is a leap year, otherwise FALSE - */ - public static function _isLeapYear($year) { - return ((($year % 4) == 0) && (($year % 100) != 0) || (($year % 400) == 0)); - } // function _isLeapYear() - - - /** - * Return the number of days between two dates based on a 360 day calendar - * - * @param integer $startDay Day of month of the start date - * @param integer $startMonth Month of the start date - * @param integer $startYear Year of the start date - * @param integer $endDay Day of month of the start date - * @param integer $endMonth Month of the start date - * @param integer $endYear Year of the start date - * @param boolean $methodUS Whether to use the US method or the European method of calculation - * @return integer Number of days between the start date and the end date - */ - private static function _dateDiff360($startDay, $startMonth, $startYear, $endDay, $endMonth, $endYear, $methodUS) { - if ($startDay == 31) { - --$startDay; - } elseif ($methodUS && ($startMonth == 2 && ($startDay == 29 || ($startDay == 28 && !self::_isLeapYear($startYear))))) { - $startDay = 30; - } - if ($endDay == 31) { - if ($methodUS && $startDay != 30) { - $endDay = 1; - if ($endMonth == 12) { - ++$endYear; - $endMonth = 1; - } else { - ++$endMonth; - } - } else { - $endDay = 30; - } - } - - return $endDay + $endMonth * 30 + $endYear * 360 - $startDay - $startMonth * 30 - $startYear * 360; - } // function _dateDiff360() - - - /** - * _getDateValue - * - * @param string $dateValue - * @return mixed Excel date/time serial value, or string if error - */ - public static function _getDateValue($dateValue) { - if (!is_numeric($dateValue)) { - if ((is_string($dateValue)) && - (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if ((is_object($dateValue)) && ($dateValue instanceof DateTime)) { - $dateValue = PHPExcel_Shared_Date::PHPToExcel($dateValue); - } else { - $saveReturnDateType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - $dateValue = self::DATEVALUE($dateValue); - PHPExcel_Calculation_Functions::setReturnDateType($saveReturnDateType); - } - } - return $dateValue; - } // function _getDateValue() - - - /** - * _getTimeValue - * - * @param string $timeValue - * @return mixed Excel date/time serial value, or string if error - */ - private static function _getTimeValue($timeValue) { - $saveReturnDateType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - $timeValue = self::TIMEVALUE($timeValue); - PHPExcel_Calculation_Functions::setReturnDateType($saveReturnDateType); - return $timeValue; - } // function _getTimeValue() - - - private static function _adjustDateByMonths($dateValue = 0, $adjustmentMonths = 0) { - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - $oMonth = (int) $PHPDateObject->format('m'); - $oYear = (int) $PHPDateObject->format('Y'); - - $adjustmentMonthsString = (string) $adjustmentMonths; - if ($adjustmentMonths > 0) { - $adjustmentMonthsString = '+'.$adjustmentMonths; - } - if ($adjustmentMonths != 0) { - $PHPDateObject->modify($adjustmentMonthsString.' months'); - } - $nMonth = (int) $PHPDateObject->format('m'); - $nYear = (int) $PHPDateObject->format('Y'); - - $monthDiff = ($nMonth - $oMonth) + (($nYear - $oYear) * 12); - if ($monthDiff != $adjustmentMonths) { - $adjustDays = (int) $PHPDateObject->format('d'); - $adjustDaysString = '-'.$adjustDays.' days'; - $PHPDateObject->modify($adjustDaysString); - } - return $PHPDateObject; - } // function _adjustDateByMonths() - - - /** - * DATETIMENOW - * - * Returns the current date and time. - * The NOW function is useful when you need to display the current date and time on a worksheet or - * calculate a value based on the current date and time, and have that value updated each time you - * open the worksheet. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * and time format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * NOW() - * - * @access public - * @category Date/Time Functions - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATETIMENOW() { - $saveTimeZone = date_default_timezone_get(); - date_default_timezone_set('UTC'); - $retValue = False; - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - $retValue = (float) PHPExcel_Shared_Date::PHPToExcel(time()); - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - $retValue = (integer) time(); - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - $retValue = new DateTime(); - break; - } - date_default_timezone_set($saveTimeZone); - - return $retValue; - } // function DATETIMENOW() - - - /** - * DATENOW - * - * Returns the current date. - * The NOW function is useful when you need to display the current date and time on a worksheet or - * calculate a value based on the current date and time, and have that value updated each time you - * open the worksheet. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * and time format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * TODAY() - * - * @access public - * @category Date/Time Functions - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATENOW() { - $saveTimeZone = date_default_timezone_get(); - date_default_timezone_set('UTC'); - $retValue = False; - $excelDateTime = floor(PHPExcel_Shared_Date::PHPToExcel(time())); - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - $retValue = (float) $excelDateTime; - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - $retValue = (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateTime); - break; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - $retValue = PHPExcel_Shared_Date::ExcelToPHPObject($excelDateTime); - break; - } - date_default_timezone_set($saveTimeZone); - - return $retValue; - } // function DATENOW() - - - /** - * DATE - * - * The DATE function returns a value that represents a particular date. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * DATE(year,month,day) - * - * PHPExcel is a lot more forgiving than MS Excel when passing non numeric values to this function. - * A Month name or abbreviation (English only at this point) such as 'January' or 'Jan' will still be accepted, - * as will a day value with a suffix (e.g. '21st' rather than simply 21); again only English language. - * - * @access public - * @category Date/Time Functions - * @param integer $year The value of the year argument can include one to four digits. - * Excel interprets the year argument according to the configured - * date system: 1900 or 1904. - * If year is between 0 (zero) and 1899 (inclusive), Excel adds that - * value to 1900 to calculate the year. For example, DATE(108,1,2) - * returns January 2, 2008 (1900+108). - * If year is between 1900 and 9999 (inclusive), Excel uses that - * value as the year. For example, DATE(2008,1,2) returns January 2, - * 2008. - * If year is less than 0 or is 10000 or greater, Excel returns the - * #NUM! error value. - * @param integer $month A positive or negative integer representing the month of the year - * from 1 to 12 (January to December). - * If month is greater than 12, month adds that number of months to - * the first month in the year specified. For example, DATE(2008,14,2) - * returns the serial number representing February 2, 2009. - * If month is less than 1, month subtracts the magnitude of that - * number of months, plus 1, from the first month in the year - * specified. For example, DATE(2008,-3,2) returns the serial number - * representing September 2, 2007. - * @param integer $day A positive or negative integer representing the day of the month - * from 1 to 31. - * If day is greater than the number of days in the month specified, - * day adds that number of days to the first day in the month. For - * example, DATE(2008,1,35) returns the serial number representing - * February 4, 2008. - * If day is less than 1, day subtracts the magnitude that number of - * days, plus one, from the first day of the month specified. For - * example, DATE(2008,1,-15) returns the serial number representing - * December 16, 2007. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATE($year = 0, $month = 1, $day = 1) { - $year = PHPExcel_Calculation_Functions::flattenSingleValue($year); - $month = PHPExcel_Calculation_Functions::flattenSingleValue($month); - $day = PHPExcel_Calculation_Functions::flattenSingleValue($day); - - if (($month !== NULL) && (!is_numeric($month))) { - $month = PHPExcel_Shared_Date::monthStringToNumber($month); - } - - if (($day !== NULL) && (!is_numeric($day))) { - $day = PHPExcel_Shared_Date::dayStringToNumber($day); - } - - $year = ($year !== NULL) ? PHPExcel_Shared_String::testStringAsNumeric($year) : 0; - $month = ($month !== NULL) ? PHPExcel_Shared_String::testStringAsNumeric($month) : 0; - $day = ($day !== NULL) ? PHPExcel_Shared_String::testStringAsNumeric($day) : 0; - if ((!is_numeric($year)) || - (!is_numeric($month)) || - (!is_numeric($day))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $year = (integer) $year; - $month = (integer) $month; - $day = (integer) $day; - - $baseYear = PHPExcel_Shared_Date::getExcelCalendar(); - // Validate parameters - if ($year < ($baseYear-1900)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((($baseYear-1900) != 0) && ($year < $baseYear) && ($year >= 1900)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (($year < $baseYear) && ($year >= ($baseYear-1900))) { - $year += 1900; - } - - if ($month < 1) { - // Handle year/month adjustment if month < 1 - --$month; - $year += ceil($month / 12) - 1; - $month = 13 - abs($month % 12); - } elseif ($month > 12) { - // Handle year/month adjustment if month > 12 - $year += floor($month / 12); - $month = ($month % 12); - } - - // Re-validate the year parameter after adjustments - if (($year < $baseYear) || ($year >= 10000)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($year, $month, $day); - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $excelDateValue; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return PHPExcel_Shared_Date::ExcelToPHPObject($excelDateValue); - } - } // function DATE() - - - /** - * TIME - * - * The TIME function returns a value that represents a particular time. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * TIME(hour,minute,second) - * - * @access public - * @category Date/Time Functions - * @param integer $hour A number from 0 (zero) to 32767 representing the hour. - * Any value greater than 23 will be divided by 24 and the remainder - * will be treated as the hour value. For example, TIME(27,0,0) = - * TIME(3,0,0) = .125 or 3:00 AM. - * @param integer $minute A number from 0 to 32767 representing the minute. - * Any value greater than 59 will be converted to hours and minutes. - * For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM. - * @param integer $second A number from 0 to 32767 representing the second. - * Any value greater than 59 will be converted to hours, minutes, - * and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 - * or 12:33:20 AM - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function TIME($hour = 0, $minute = 0, $second = 0) { - $hour = PHPExcel_Calculation_Functions::flattenSingleValue($hour); - $minute = PHPExcel_Calculation_Functions::flattenSingleValue($minute); - $second = PHPExcel_Calculation_Functions::flattenSingleValue($second); - - if ($hour == '') { $hour = 0; } - if ($minute == '') { $minute = 0; } - if ($second == '') { $second = 0; } - - if ((!is_numeric($hour)) || (!is_numeric($minute)) || (!is_numeric($second))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $hour = (integer) $hour; - $minute = (integer) $minute; - $second = (integer) $second; - - if ($second < 0) { - $minute += floor($second / 60); - $second = 60 - abs($second % 60); - if ($second == 60) { $second = 0; } - } elseif ($second >= 60) { - $minute += floor($second / 60); - $second = $second % 60; - } - if ($minute < 0) { - $hour += floor($minute / 60); - $minute = 60 - abs($minute % 60); - if ($minute == 60) { $minute = 0; } - } elseif ($minute >= 60) { - $hour += floor($minute / 60); - $minute = $minute % 60; - } - - if ($hour > 23) { - $hour = $hour % 24; - } elseif ($hour < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - $date = 0; - $calendar = PHPExcel_Shared_Date::getExcelCalendar(); - if ($calendar != PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900) { - $date = 1; - } - return (float) PHPExcel_Shared_Date::FormattedPHPToExcel($calendar, 1, $date, $hour, $minute, $second); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::FormattedPHPToExcel(1970, 1, 1, $hour, $minute, $second)); // -2147468400; // -2147472000 + 3600 - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - $dayAdjust = 0; - if ($hour < 0) { - $dayAdjust = floor($hour / 24); - $hour = 24 - abs($hour % 24); - if ($hour == 24) { $hour = 0; } - } elseif ($hour >= 24) { - $dayAdjust = floor($hour / 24); - $hour = $hour % 24; - } - $phpDateObject = new DateTime('1900-01-01 '.$hour.':'.$minute.':'.$second); - if ($dayAdjust != 0) { - $phpDateObject->modify($dayAdjust.' days'); - } - return $phpDateObject; - } - } // function TIME() - - - /** - * DATEVALUE - * - * Returns a value that represents a particular date. - * Use DATEVALUE to convert a date represented by a text string to an Excel or PHP date/time stamp - * value. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the date - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * DATEVALUE(dateValue) - * - * @access public - * @category Date/Time Functions - * @param string $dateValue Text that represents a date in a Microsoft Excel date format. - * For example, "1/30/2008" or "30-Jan-2008" are text strings within - * quotation marks that represent dates. Using the default date - * system in Excel for Windows, date_text must represent a date from - * January 1, 1900, to December 31, 9999. Using the default date - * system in Excel for the Macintosh, date_text must represent a date - * from January 1, 1904, to December 31, 9999. DATEVALUE returns the - * #VALUE! error value if date_text is out of this range. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function DATEVALUE($dateValue = 1) { - $dateValue = trim(PHPExcel_Calculation_Functions::flattenSingleValue($dateValue),'"'); - // Strip any ordinals because they're allowed in Excel (English only) - $dateValue = preg_replace('/(\d)(st|nd|rd|th)([ -\/])/Ui','$1$3',$dateValue); - // Convert separators (/ . or space) to hyphens (should also handle dot used for ordinals in some countries, e.g. Denmark, Germany) - $dateValue = str_replace(array('/','.','-',' '),array(' ',' ',' ',' '),$dateValue); - - $yearFound = false; - $t1 = explode(' ',$dateValue); - foreach($t1 as &$t) { - if ((is_numeric($t)) && ($t > 31)) { - if ($yearFound) { - return PHPExcel_Calculation_Functions::VALUE(); - } else { - if ($t < 100) { $t += 1900; } - $yearFound = true; - } - } - } - if ((count($t1) == 1) && (strpos($t,':') != false)) { - // We've been fed a time value without any date - return 0.0; - } elseif (count($t1) == 2) { - // We only have two parts of the date: either day/month or month/year - if ($yearFound) { - array_unshift($t1,1); - } else { - array_push($t1,date('Y')); - } - } - unset($t); - $dateValue = implode(' ',$t1); - - $PHPDateArray = date_parse($dateValue); - if (($PHPDateArray === False) || ($PHPDateArray['error_count'] > 0)) { - $testVal1 = strtok($dateValue,'- '); - if ($testVal1 !== False) { - $testVal2 = strtok('- '); - if ($testVal2 !== False) { - $testVal3 = strtok('- '); - if ($testVal3 === False) { - $testVal3 = strftime('%Y'); - } - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $PHPDateArray = date_parse($testVal1.'-'.$testVal2.'-'.$testVal3); - if (($PHPDateArray === False) || ($PHPDateArray['error_count'] > 0)) { - $PHPDateArray = date_parse($testVal2.'-'.$testVal1.'-'.$testVal3); - if (($PHPDateArray === False) || ($PHPDateArray['error_count'] > 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - } - - if (($PHPDateArray !== False) && ($PHPDateArray['error_count'] == 0)) { - // Execute function - if ($PHPDateArray['year'] == '') { $PHPDateArray['year'] = strftime('%Y'); } - if ($PHPDateArray['year'] < 1900) - return PHPExcel_Calculation_Functions::VALUE(); - if ($PHPDateArray['month'] == '') { $PHPDateArray['month'] = strftime('%m'); } - if ($PHPDateArray['day'] == '') { $PHPDateArray['day'] = strftime('%d'); } - $excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second'])); - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $excelDateValue; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP($excelDateValue); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return new DateTime($PHPDateArray['year'].'-'.$PHPDateArray['month'].'-'.$PHPDateArray['day'].' 00:00:00'); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DATEVALUE() - - - /** - * TIMEVALUE - * - * Returns a value that represents a particular time. - * Use TIMEVALUE to convert a time represented by a text string to an Excel or PHP date/time stamp - * value. - * - * NOTE: When used in a Cell Formula, MS Excel changes the cell format so that it matches the time - * format of your regional settings. PHPExcel does not change cell formatting in this way. - * - * Excel Function: - * TIMEVALUE(timeValue) - * - * @access public - * @category Date/Time Functions - * @param string $timeValue A text string that represents a time in any one of the Microsoft - * Excel time formats; for example, "6:45 PM" and "18:45" text strings - * within quotation marks that represent time. - * Date information in time_text is ignored. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function TIMEVALUE($timeValue) { - $timeValue = trim(PHPExcel_Calculation_Functions::flattenSingleValue($timeValue),'"'); - $timeValue = str_replace(array('/','.'),array('-','-'),$timeValue); - - $PHPDateArray = date_parse($timeValue); - if (($PHPDateArray !== False) && ($PHPDateArray['error_count'] == 0)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']); - } else { - $excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1; - } - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $excelDateValue; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) $phpDateValue = PHPExcel_Shared_Date::ExcelToPHP($excelDateValue+25569) - 3600;; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return new DateTime('1900-01-01 '.$PHPDateArray['hour'].':'.$PHPDateArray['minute'].':'.$PHPDateArray['second']); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TIMEVALUE() - - - /** - * DATEDIF - * - * @param mixed $startDate Excel date serial value, PHP date/time stamp, PHP DateTime object - * or a standard date string - * @param mixed $endDate Excel date serial value, PHP date/time stamp, PHP DateTime object - * or a standard date string - * @param string $unit - * @return integer Interval between the dates - */ - public static function DATEDIF($startDate = 0, $endDate = 0, $unit = 'D') { - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - $unit = strtoupper(PHPExcel_Calculation_Functions::flattenSingleValue($unit)); - - if (is_string($startDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($endDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Validate parameters - if ($startDate >= $endDate) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $difference = $endDate - $startDate; - - $PHPStartDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($startDate); - $startDays = $PHPStartDateObject->format('j'); - $startMonths = $PHPStartDateObject->format('n'); - $startYears = $PHPStartDateObject->format('Y'); - - $PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate); - $endDays = $PHPEndDateObject->format('j'); - $endMonths = $PHPEndDateObject->format('n'); - $endYears = $PHPEndDateObject->format('Y'); - - $retVal = PHPExcel_Calculation_Functions::NaN(); - switch ($unit) { - case 'D': - $retVal = intval($difference); - break; - case 'M': - $retVal = intval($endMonths - $startMonths) + (intval($endYears - $startYears) * 12); - // We're only interested in full months - if ($endDays < $startDays) { - --$retVal; - } - break; - case 'Y': - $retVal = intval($endYears - $startYears); - // We're only interested in full months - if ($endMonths < $startMonths) { - --$retVal; - } elseif (($endMonths == $startMonths) && ($endDays < $startDays)) { - --$retVal; - } - break; - case 'MD': - if ($endDays < $startDays) { - $retVal = $endDays; - $PHPEndDateObject->modify('-'.$endDays.' days'); - $adjustDays = $PHPEndDateObject->format('j'); - if ($adjustDays > $startDays) { - $retVal += ($adjustDays - $startDays); - } - } else { - $retVal = $endDays - $startDays; - } - break; - case 'YM': - $retVal = intval($endMonths - $startMonths); - if ($retVal < 0) $retVal = 12 + $retVal; - // We're only interested in full months - if ($endDays < $startDays) { - --$retVal; - } - break; - case 'YD': - $retVal = intval($difference); - if ($endYears > $startYears) { - while ($endYears > $startYears) { - $PHPEndDateObject->modify('-1 year'); - $endYears = $PHPEndDateObject->format('Y'); - } - $retVal = $PHPEndDateObject->format('z') - $PHPStartDateObject->format('z'); - if ($retVal < 0) { $retVal += 365; } - } - break; - default: - $retVal = PHPExcel_Calculation_Functions::NaN(); - } - return $retVal; - } // function DATEDIF() - - - /** - * DAYS360 - * - * Returns the number of days between two dates based on a 360-day year (twelve 30-day months), - * which is used in some accounting calculations. Use this function to help compute payments if - * your accounting system is based on twelve 30-day months. - * - * Excel Function: - * DAYS360(startDate,endDate[,method]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param boolean $method US or European Method - * FALSE or omitted: U.S. (NASD) method. If the starting date is - * the last day of a month, it becomes equal to the 30th of the - * same month. If the ending date is the last day of a month and - * the starting date is earlier than the 30th of a month, the - * ending date becomes equal to the 1st of the next month; - * otherwise the ending date becomes equal to the 30th of the - * same month. - * TRUE: European method. Starting dates and ending dates that - * occur on the 31st of a month become equal to the 30th of the - * same month. - * @return integer Number of days between start date and end date - */ - public static function DAYS360($startDate = 0, $endDate = 0, $method = false) { - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - - if (is_string($startDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($endDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (!is_bool($method)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Execute function - $PHPStartDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($startDate); - $startDay = $PHPStartDateObject->format('j'); - $startMonth = $PHPStartDateObject->format('n'); - $startYear = $PHPStartDateObject->format('Y'); - - $PHPEndDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($endDate); - $endDay = $PHPEndDateObject->format('j'); - $endMonth = $PHPEndDateObject->format('n'); - $endYear = $PHPEndDateObject->format('Y'); - - return self::_dateDiff360($startDay, $startMonth, $startYear, $endDay, $endMonth, $endYear, !$method); - } // function DAYS360() - - - /** - * YEARFRAC - * - * Calculates the fraction of the year represented by the number of whole days between two dates - * (the start_date and the end_date). - * Use the YEARFRAC worksheet function to identify the proportion of a whole year's benefits or - * obligations to assign to a specific term. - * - * Excel Function: - * YEARFRAC(startDate,endDate[,method]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param integer $method Method used for the calculation - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float fraction of the year - */ - public static function YEARFRAC($startDate = 0, $endDate = 0, $method = 0) { - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - $method = PHPExcel_Calculation_Functions::flattenSingleValue($method); - - if (is_string($startDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($endDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (((is_numeric($method)) && (!is_string($method))) || ($method == '')) { - switch($method) { - case 0 : - return self::DAYS360($startDate,$endDate) / 360; - case 1 : - $days = self::DATEDIF($startDate,$endDate); - $startYear = self::YEAR($startDate); - $endYear = self::YEAR($endDate); - $years = $endYear - $startYear + 1; - $leapDays = 0; - if ($years == 1) { - if (self::_isLeapYear($endYear)) { - $startMonth = self::MONTHOFYEAR($startDate); - $endMonth = self::MONTHOFYEAR($endDate); - $endDay = self::DAYOFMONTH($endDate); - if (($startMonth < 3) || - (($endMonth * 100 + $endDay) >= (2 * 100 + 29))) { - $leapDays += 1; - } - } - } else { - for($year = $startYear; $year <= $endYear; ++$year) { - if ($year == $startYear) { - $startMonth = self::MONTHOFYEAR($startDate); - $startDay = self::DAYOFMONTH($startDate); - if ($startMonth < 3) { - $leapDays += (self::_isLeapYear($year)) ? 1 : 0; - } - } elseif($year == $endYear) { - $endMonth = self::MONTHOFYEAR($endDate); - $endDay = self::DAYOFMONTH($endDate); - if (($endMonth * 100 + $endDay) >= (2 * 100 + 29)) { - $leapDays += (self::_isLeapYear($year)) ? 1 : 0; - } - } else { - $leapDays += (self::_isLeapYear($year)) ? 1 : 0; - } - } - if ($years == 2) { - if (($leapDays == 0) && (self::_isLeapYear($startYear)) && ($days > 365)) { - $leapDays = 1; - } elseif ($days < 366) { - $years = 1; - } - } - $leapDays /= $years; - } - return $days / (365 + $leapDays); - case 2 : - return self::DATEDIF($startDate,$endDate) / 360; - case 3 : - return self::DATEDIF($startDate,$endDate) / 365; - case 4 : - return self::DAYS360($startDate,$endDate,True) / 360; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function YEARFRAC() - - - /** - * NETWORKDAYS - * - * Returns the number of whole working days between start_date and end_date. Working days - * exclude weekends and any dates identified in holidays. - * Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days - * worked during a specific term. - * - * Excel Function: - * NETWORKDAYS(startDate,endDate[,holidays[,holiday[,...]]]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $endDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param mixed $holidays,... Optional series of Excel date serial value (float), PHP date - * timestamp (integer), PHP DateTime object, or a standard date - * strings that will be excluded from the working calendar, such - * as state and federal holidays and floating holidays. - * @return integer Interval between the dates - */ - public static function NETWORKDAYS($startDate,$endDate) { - // Retrieve the mandatory start and end date that are referenced in the function definition - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDate = PHPExcel_Calculation_Functions::flattenSingleValue($endDate); - // Flush the mandatory start and end date that are referenced in the function definition, and get the optional days - $dateArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - array_shift($dateArgs); - array_shift($dateArgs); - - // Validate the start and end dates - if (is_string($startDate = $sDate = self::_getDateValue($startDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $startDate = (float) floor($startDate); - if (is_string($endDate = $eDate = self::_getDateValue($endDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $endDate = (float) floor($endDate); - - if ($sDate > $eDate) { - $startDate = $eDate; - $endDate = $sDate; - } - - // Execute function - $startDoW = 6 - self::DAYOFWEEK($startDate,2); - if ($startDoW < 0) { $startDoW = 0; } - $endDoW = self::DAYOFWEEK($endDate,2); - if ($endDoW >= 6) { $endDoW = 0; } - - $wholeWeekDays = floor(($endDate - $startDate) / 7) * 5; - $partWeekDays = $endDoW + $startDoW; - if ($partWeekDays > 5) { - $partWeekDays -= 5; - } - - // Test any extra holiday parameters - $holidayCountedArray = array(); - foreach ($dateArgs as $holidayDate) { - if (is_string($holidayDate = self::_getDateValue($holidayDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) { - if ((self::DAYOFWEEK($holidayDate,2) < 6) && (!in_array($holidayDate,$holidayCountedArray))) { - --$partWeekDays; - $holidayCountedArray[] = $holidayDate; - } - } - } - - if ($sDate > $eDate) { - return 0 - ($wholeWeekDays + $partWeekDays); - } - return $wholeWeekDays + $partWeekDays; - } // function NETWORKDAYS() - - - /** - * WORKDAY - * - * Returns the date that is the indicated number of working days before or after a date (the - * starting date). Working days exclude weekends and any dates identified as holidays. - * Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, expected - * delivery times, or the number of days of work performed. - * - * Excel Function: - * WORKDAY(startDate,endDays[,holidays[,holiday[,...]]]) - * - * @access public - * @category Date/Time Functions - * @param mixed $startDate Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param integer $endDays The number of nonweekend and nonholiday days before or after - * startDate. A positive value for days yields a future date; a - * negative value yields a past date. - * @param mixed $holidays,... Optional series of Excel date serial value (float), PHP date - * timestamp (integer), PHP DateTime object, or a standard date - * strings that will be excluded from the working calendar, such - * as state and federal holidays and floating holidays. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function WORKDAY($startDate,$endDays) { - // Retrieve the mandatory start date and days that are referenced in the function definition - $startDate = PHPExcel_Calculation_Functions::flattenSingleValue($startDate); - $endDays = PHPExcel_Calculation_Functions::flattenSingleValue($endDays); - // Flush the mandatory start date and days that are referenced in the function definition, and get the optional days - $dateArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - array_shift($dateArgs); - array_shift($dateArgs); - - if ((is_string($startDate = self::_getDateValue($startDate))) || (!is_numeric($endDays))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $startDate = (float) floor($startDate); - $endDays = (int) floor($endDays); - // If endDays is 0, we always return startDate - if ($endDays == 0) { return $startDate; } - - $decrementing = ($endDays < 0) ? True : False; - - // Adjust the start date if it falls over a weekend - - $startDoW = self::DAYOFWEEK($startDate,3); - if (self::DAYOFWEEK($startDate,3) >= 5) { - $startDate += ($decrementing) ? -$startDoW + 4: 7 - $startDoW; - ($decrementing) ? $endDays++ : $endDays--; - } - - // Add endDays - $endDate = (float) $startDate + (intval($endDays / 5) * 7) + ($endDays % 5); - - // Adjust the calculated end date if it falls over a weekend - $endDoW = self::DAYOFWEEK($endDate,3); - if ($endDoW >= 5) { - $endDate += ($decrementing) ? -$endDoW + 4: 7 - $endDoW; - } - - // Test any extra holiday parameters - if (!empty($dateArgs)) { - $holidayCountedArray = $holidayDates = array(); - foreach ($dateArgs as $holidayDate) { - if (($holidayDate !== NULL) && (trim($holidayDate) > '')) { - if (is_string($holidayDate = self::_getDateValue($holidayDate))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (self::DAYOFWEEK($holidayDate,3) < 5) { - $holidayDates[] = $holidayDate; - } - } - } - if ($decrementing) { - rsort($holidayDates, SORT_NUMERIC); - } else { - sort($holidayDates, SORT_NUMERIC); - } - foreach ($holidayDates as $holidayDate) { - if ($decrementing) { - if (($holidayDate <= $startDate) && ($holidayDate >= $endDate)) { - if (!in_array($holidayDate,$holidayCountedArray)) { - --$endDate; - $holidayCountedArray[] = $holidayDate; - } - } - } else { - if (($holidayDate >= $startDate) && ($holidayDate <= $endDate)) { - if (!in_array($holidayDate,$holidayCountedArray)) { - ++$endDate; - $holidayCountedArray[] = $holidayDate; - } - } - } - // Adjust the calculated end date if it falls over a weekend - $endDoW = self::DAYOFWEEK($endDate,3); - if ($endDoW >= 5) { - $endDate += ($decrementing) ? -$endDoW + 4: 7 - $endDoW; - } - - } - } - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) $endDate; - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP($endDate); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return PHPExcel_Shared_Date::ExcelToPHPObject($endDate); - } - } // function WORKDAY() - - - /** - * DAYOFMONTH - * - * Returns the day of the month, for a specified date. The day is given as an integer - * ranging from 1 to 31. - * - * Excel Function: - * DAY(dateValue) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @return int Day of the month - */ - public static function DAYOFMONTH($dateValue = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue == 0.0) { - return 0; - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - - return (int) $PHPDateObject->format('j'); - } // function DAYOFMONTH() - - - /** - * DAYOFWEEK - * - * Returns the day of the week for a specified date. The day is given as an integer - * ranging from 0 to 7 (dependent on the requested style). - * - * Excel Function: - * WEEKDAY(dateValue[,style]) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param int $style A number that determines the type of return value - * 1 or omitted Numbers 1 (Sunday) through 7 (Saturday). - * 2 Numbers 1 (Monday) through 7 (Sunday). - * 3 Numbers 0 (Monday) through 6 (Sunday). - * @return int Day of the week value - */ - public static function DAYOFWEEK($dateValue = 1, $style = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $style = PHPExcel_Calculation_Functions::flattenSingleValue($style); - - if (!is_numeric($style)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif (($style < 1) || ($style > 3)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $style = floor($style); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - $DoW = $PHPDateObject->format('w'); - - $firstDay = 1; - switch ($style) { - case 1: ++$DoW; - break; - case 2: if ($DoW == 0) { $DoW = 7; } - break; - case 3: if ($DoW == 0) { $DoW = 7; } - $firstDay = 0; - --$DoW; - break; - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL) { - // Test for Excel's 1900 leap year, and introduce the error as required - if (($PHPDateObject->format('Y') == 1900) && ($PHPDateObject->format('n') <= 2)) { - --$DoW; - if ($DoW < $firstDay) { - $DoW += 7; - } - } - } - - return (int) $DoW; - } // function DAYOFWEEK() - - - /** - * WEEKOFYEAR - * - * Returns the week of the year for a specified date. - * The WEEKNUM function considers the week containing January 1 to be the first week of the year. - * However, there is a European standard that defines the first week as the one with the majority - * of days (four or more) falling in the new year. This means that for years in which there are - * three days or less in the first week of January, the WEEKNUM function returns week numbers - * that are incorrect according to the European standard. - * - * Excel Function: - * WEEKNUM(dateValue[,style]) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param boolean $method Week begins on Sunday or Monday - * 1 or omitted Week begins on Sunday. - * 2 Week begins on Monday. - * @return int Week Number - */ - public static function WEEKOFYEAR($dateValue = 1, $method = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $method = PHPExcel_Calculation_Functions::flattenSingleValue($method); - - if (!is_numeric($method)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif (($method < 1) || ($method > 2)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $method = floor($method); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - $dayOfYear = $PHPDateObject->format('z'); - $dow = $PHPDateObject->format('w'); - $PHPDateObject->modify('-'.$dayOfYear.' days'); - $dow = $PHPDateObject->format('w'); - $daysInFirstWeek = 7 - (($dow + (2 - $method)) % 7); - $dayOfYear -= $daysInFirstWeek; - $weekOfYear = ceil($dayOfYear / 7) + 1; - - return (int) $weekOfYear; - } // function WEEKOFYEAR() - - - /** - * MONTHOFYEAR - * - * Returns the month of a date represented by a serial number. - * The month is given as an integer, ranging from 1 (January) to 12 (December). - * - * Excel Function: - * MONTH(dateValue) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @return int Month of the year - */ - public static function MONTHOFYEAR($dateValue = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - - return (int) $PHPDateObject->format('n'); - } // function MONTHOFYEAR() - - - /** - * YEAR - * - * Returns the year corresponding to a date. - * The year is returned as an integer in the range 1900-9999. - * - * Excel Function: - * YEAR(dateValue) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @return int Year - */ - public static function YEAR($dateValue = 1) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($dateValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Execute function - $PHPDateObject = PHPExcel_Shared_Date::ExcelToPHPObject($dateValue); - - return (int) $PHPDateObject->format('Y'); - } // function YEAR() - - - /** - * HOUROFDAY - * - * Returns the hour of a time value. - * The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.). - * - * Excel Function: - * HOUR(timeValue) - * - * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard time string - * @return int Hour - */ - public static function HOUROFDAY($timeValue = 0) { - $timeValue = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue); - - if (!is_numeric($timeValue)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $testVal = strtok($timeValue,'/-: '); - if (strlen($testVal) < strlen($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $timeValue = self::_getTimeValue($timeValue); - if (is_string($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Execute function - if ($timeValue >= 1) { - $timeValue = fmod($timeValue,1); - } elseif ($timeValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue); - - return (int) gmdate('G',$timeValue); - } // function HOUROFDAY() - - - /** - * MINUTEOFHOUR - * - * Returns the minutes of a time value. - * The minute is given as an integer, ranging from 0 to 59. - * - * Excel Function: - * MINUTE(timeValue) - * - * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard time string - * @return int Minute - */ - public static function MINUTEOFHOUR($timeValue = 0) { - $timeValue = $timeTester = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue); - - if (!is_numeric($timeValue)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $testVal = strtok($timeValue,'/-: '); - if (strlen($testVal) < strlen($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $timeValue = self::_getTimeValue($timeValue); - if (is_string($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Execute function - if ($timeValue >= 1) { - $timeValue = fmod($timeValue,1); - } elseif ($timeValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue); - - return (int) gmdate('i',$timeValue); - } // function MINUTEOFHOUR() - - - /** - * SECONDOFMINUTE - * - * Returns the seconds of a time value. - * The second is given as an integer in the range 0 (zero) to 59. - * - * Excel Function: - * SECOND(timeValue) - * - * @param mixed $timeValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard time string - * @return int Second - */ - public static function SECONDOFMINUTE($timeValue = 0) { - $timeValue = PHPExcel_Calculation_Functions::flattenSingleValue($timeValue); - - if (!is_numeric($timeValue)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $testVal = strtok($timeValue,'/-: '); - if (strlen($testVal) < strlen($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $timeValue = self::_getTimeValue($timeValue); - if (is_string($timeValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Execute function - if ($timeValue >= 1) { - $timeValue = fmod($timeValue,1); - } elseif ($timeValue < 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $timeValue = PHPExcel_Shared_Date::ExcelToPHP($timeValue); - - return (int) gmdate('s',$timeValue); - } // function SECONDOFMINUTE() - - - /** - * EDATE - * - * Returns the serial number that represents the date that is the indicated number of months - * before or after a specified date (the start_date). - * Use EDATE to calculate maturity dates or due dates that fall on the same day of the month - * as the date of issue. - * - * Excel Function: - * EDATE(dateValue,adjustmentMonths) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param int $adjustmentMonths The number of months before or after start_date. - * A positive value for months yields a future date; - * a negative value yields a past date. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function EDATE($dateValue = 1, $adjustmentMonths = 0) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $adjustmentMonths = PHPExcel_Calculation_Functions::flattenSingleValue($adjustmentMonths); - - if (!is_numeric($adjustmentMonths)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $adjustmentMonths = floor($adjustmentMonths); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Execute function - $PHPDateObject = self::_adjustDateByMonths($dateValue,$adjustmentMonths); - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) PHPExcel_Shared_Date::PHPToExcel($PHPDateObject); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject)); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return $PHPDateObject; - } - } // function EDATE() - - - /** - * EOMONTH - * - * Returns the date value for the last day of the month that is the indicated number of months - * before or after start_date. - * Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month. - * - * Excel Function: - * EOMONTH(dateValue,adjustmentMonths) - * - * @param mixed $dateValue Excel date serial value (float), PHP date timestamp (integer), - * PHP DateTime object, or a standard date string - * @param int $adjustmentMonths The number of months before or after start_date. - * A positive value for months yields a future date; - * a negative value yields a past date. - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function EOMONTH($dateValue = 1, $adjustmentMonths = 0) { - $dateValue = PHPExcel_Calculation_Functions::flattenSingleValue($dateValue); - $adjustmentMonths = PHPExcel_Calculation_Functions::flattenSingleValue($adjustmentMonths); - - if (!is_numeric($adjustmentMonths)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $adjustmentMonths = floor($adjustmentMonths); - - if (is_string($dateValue = self::_getDateValue($dateValue))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Execute function - $PHPDateObject = self::_adjustDateByMonths($dateValue,$adjustmentMonths+1); - $adjustDays = (int) $PHPDateObject->format('d'); - $adjustDaysString = '-'.$adjustDays.' days'; - $PHPDateObject->modify($adjustDaysString); - - switch (PHPExcel_Calculation_Functions::getReturnDateType()) { - case PHPExcel_Calculation_Functions::RETURNDATE_EXCEL : - return (float) PHPExcel_Shared_Date::PHPToExcel($PHPDateObject); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC : - return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject)); - case PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT : - return $PHPDateObject; - } - } // function EOMONTH() - -} // class PHPExcel_Calculation_DateTime - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Engineering.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Engineering.php deleted file mode 100644 index b60163e56..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Engineering.php +++ /dev/null @@ -1,2505 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** EULER */ -define('EULER', 2.71828182845904523536); - - -/** - * PHPExcel_Calculation_Engineering - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Engineering { - - /** - * Details of the Units of measure that can be used in CONVERTUOM() - * - * @var mixed[] - */ - private static $_conversionUnits = array( 'g' => array( 'Group' => 'Mass', 'Unit Name' => 'Gram', 'AllowPrefix' => True ), - 'sg' => array( 'Group' => 'Mass', 'Unit Name' => 'Slug', 'AllowPrefix' => False ), - 'lbm' => array( 'Group' => 'Mass', 'Unit Name' => 'Pound mass (avoirdupois)', 'AllowPrefix' => False ), - 'u' => array( 'Group' => 'Mass', 'Unit Name' => 'U (atomic mass unit)', 'AllowPrefix' => True ), - 'ozm' => array( 'Group' => 'Mass', 'Unit Name' => 'Ounce mass (avoirdupois)', 'AllowPrefix' => False ), - 'm' => array( 'Group' => 'Distance', 'Unit Name' => 'Meter', 'AllowPrefix' => True ), - 'mi' => array( 'Group' => 'Distance', 'Unit Name' => 'Statute mile', 'AllowPrefix' => False ), - 'Nmi' => array( 'Group' => 'Distance', 'Unit Name' => 'Nautical mile', 'AllowPrefix' => False ), - 'in' => array( 'Group' => 'Distance', 'Unit Name' => 'Inch', 'AllowPrefix' => False ), - 'ft' => array( 'Group' => 'Distance', 'Unit Name' => 'Foot', 'AllowPrefix' => False ), - 'yd' => array( 'Group' => 'Distance', 'Unit Name' => 'Yard', 'AllowPrefix' => False ), - 'ang' => array( 'Group' => 'Distance', 'Unit Name' => 'Angstrom', 'AllowPrefix' => True ), - 'Pica' => array( 'Group' => 'Distance', 'Unit Name' => 'Pica (1/72 in)', 'AllowPrefix' => False ), - 'yr' => array( 'Group' => 'Time', 'Unit Name' => 'Year', 'AllowPrefix' => False ), - 'day' => array( 'Group' => 'Time', 'Unit Name' => 'Day', 'AllowPrefix' => False ), - 'hr' => array( 'Group' => 'Time', 'Unit Name' => 'Hour', 'AllowPrefix' => False ), - 'mn' => array( 'Group' => 'Time', 'Unit Name' => 'Minute', 'AllowPrefix' => False ), - 'sec' => array( 'Group' => 'Time', 'Unit Name' => 'Second', 'AllowPrefix' => True ), - 'Pa' => array( 'Group' => 'Pressure', 'Unit Name' => 'Pascal', 'AllowPrefix' => True ), - 'p' => array( 'Group' => 'Pressure', 'Unit Name' => 'Pascal', 'AllowPrefix' => True ), - 'atm' => array( 'Group' => 'Pressure', 'Unit Name' => 'Atmosphere', 'AllowPrefix' => True ), - 'at' => array( 'Group' => 'Pressure', 'Unit Name' => 'Atmosphere', 'AllowPrefix' => True ), - 'mmHg' => array( 'Group' => 'Pressure', 'Unit Name' => 'mm of Mercury', 'AllowPrefix' => True ), - 'N' => array( 'Group' => 'Force', 'Unit Name' => 'Newton', 'AllowPrefix' => True ), - 'dyn' => array( 'Group' => 'Force', 'Unit Name' => 'Dyne', 'AllowPrefix' => True ), - 'dy' => array( 'Group' => 'Force', 'Unit Name' => 'Dyne', 'AllowPrefix' => True ), - 'lbf' => array( 'Group' => 'Force', 'Unit Name' => 'Pound force', 'AllowPrefix' => False ), - 'J' => array( 'Group' => 'Energy', 'Unit Name' => 'Joule', 'AllowPrefix' => True ), - 'e' => array( 'Group' => 'Energy', 'Unit Name' => 'Erg', 'AllowPrefix' => True ), - 'c' => array( 'Group' => 'Energy', 'Unit Name' => 'Thermodynamic calorie', 'AllowPrefix' => True ), - 'cal' => array( 'Group' => 'Energy', 'Unit Name' => 'IT calorie', 'AllowPrefix' => True ), - 'eV' => array( 'Group' => 'Energy', 'Unit Name' => 'Electron volt', 'AllowPrefix' => True ), - 'ev' => array( 'Group' => 'Energy', 'Unit Name' => 'Electron volt', 'AllowPrefix' => True ), - 'HPh' => array( 'Group' => 'Energy', 'Unit Name' => 'Horsepower-hour', 'AllowPrefix' => False ), - 'hh' => array( 'Group' => 'Energy', 'Unit Name' => 'Horsepower-hour', 'AllowPrefix' => False ), - 'Wh' => array( 'Group' => 'Energy', 'Unit Name' => 'Watt-hour', 'AllowPrefix' => True ), - 'wh' => array( 'Group' => 'Energy', 'Unit Name' => 'Watt-hour', 'AllowPrefix' => True ), - 'flb' => array( 'Group' => 'Energy', 'Unit Name' => 'Foot-pound', 'AllowPrefix' => False ), - 'BTU' => array( 'Group' => 'Energy', 'Unit Name' => 'BTU', 'AllowPrefix' => False ), - 'btu' => array( 'Group' => 'Energy', 'Unit Name' => 'BTU', 'AllowPrefix' => False ), - 'HP' => array( 'Group' => 'Power', 'Unit Name' => 'Horsepower', 'AllowPrefix' => False ), - 'h' => array( 'Group' => 'Power', 'Unit Name' => 'Horsepower', 'AllowPrefix' => False ), - 'W' => array( 'Group' => 'Power', 'Unit Name' => 'Watt', 'AllowPrefix' => True ), - 'w' => array( 'Group' => 'Power', 'Unit Name' => 'Watt', 'AllowPrefix' => True ), - 'T' => array( 'Group' => 'Magnetism', 'Unit Name' => 'Tesla', 'AllowPrefix' => True ), - 'ga' => array( 'Group' => 'Magnetism', 'Unit Name' => 'Gauss', 'AllowPrefix' => True ), - 'C' => array( 'Group' => 'Temperature', 'Unit Name' => 'Celsius', 'AllowPrefix' => False ), - 'cel' => array( 'Group' => 'Temperature', 'Unit Name' => 'Celsius', 'AllowPrefix' => False ), - 'F' => array( 'Group' => 'Temperature', 'Unit Name' => 'Fahrenheit', 'AllowPrefix' => False ), - 'fah' => array( 'Group' => 'Temperature', 'Unit Name' => 'Fahrenheit', 'AllowPrefix' => False ), - 'K' => array( 'Group' => 'Temperature', 'Unit Name' => 'Kelvin', 'AllowPrefix' => False ), - 'kel' => array( 'Group' => 'Temperature', 'Unit Name' => 'Kelvin', 'AllowPrefix' => False ), - 'tsp' => array( 'Group' => 'Liquid', 'Unit Name' => 'Teaspoon', 'AllowPrefix' => False ), - 'tbs' => array( 'Group' => 'Liquid', 'Unit Name' => 'Tablespoon', 'AllowPrefix' => False ), - 'oz' => array( 'Group' => 'Liquid', 'Unit Name' => 'Fluid Ounce', 'AllowPrefix' => False ), - 'cup' => array( 'Group' => 'Liquid', 'Unit Name' => 'Cup', 'AllowPrefix' => False ), - 'pt' => array( 'Group' => 'Liquid', 'Unit Name' => 'U.S. Pint', 'AllowPrefix' => False ), - 'us_pt' => array( 'Group' => 'Liquid', 'Unit Name' => 'U.S. Pint', 'AllowPrefix' => False ), - 'uk_pt' => array( 'Group' => 'Liquid', 'Unit Name' => 'U.K. Pint', 'AllowPrefix' => False ), - 'qt' => array( 'Group' => 'Liquid', 'Unit Name' => 'Quart', 'AllowPrefix' => False ), - 'gal' => array( 'Group' => 'Liquid', 'Unit Name' => 'Gallon', 'AllowPrefix' => False ), - 'l' => array( 'Group' => 'Liquid', 'Unit Name' => 'Litre', 'AllowPrefix' => True ), - 'lt' => array( 'Group' => 'Liquid', 'Unit Name' => 'Litre', 'AllowPrefix' => True ) - ); - - /** - * Details of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM() - * - * @var mixed[] - */ - private static $_conversionMultipliers = array( 'Y' => array( 'multiplier' => 1E24, 'name' => 'yotta' ), - 'Z' => array( 'multiplier' => 1E21, 'name' => 'zetta' ), - 'E' => array( 'multiplier' => 1E18, 'name' => 'exa' ), - 'P' => array( 'multiplier' => 1E15, 'name' => 'peta' ), - 'T' => array( 'multiplier' => 1E12, 'name' => 'tera' ), - 'G' => array( 'multiplier' => 1E9, 'name' => 'giga' ), - 'M' => array( 'multiplier' => 1E6, 'name' => 'mega' ), - 'k' => array( 'multiplier' => 1E3, 'name' => 'kilo' ), - 'h' => array( 'multiplier' => 1E2, 'name' => 'hecto' ), - 'e' => array( 'multiplier' => 1E1, 'name' => 'deka' ), - 'd' => array( 'multiplier' => 1E-1, 'name' => 'deci' ), - 'c' => array( 'multiplier' => 1E-2, 'name' => 'centi' ), - 'm' => array( 'multiplier' => 1E-3, 'name' => 'milli' ), - 'u' => array( 'multiplier' => 1E-6, 'name' => 'micro' ), - 'n' => array( 'multiplier' => 1E-9, 'name' => 'nano' ), - 'p' => array( 'multiplier' => 1E-12, 'name' => 'pico' ), - 'f' => array( 'multiplier' => 1E-15, 'name' => 'femto' ), - 'a' => array( 'multiplier' => 1E-18, 'name' => 'atto' ), - 'z' => array( 'multiplier' => 1E-21, 'name' => 'zepto' ), - 'y' => array( 'multiplier' => 1E-24, 'name' => 'yocto' ) - ); - - /** - * Details of the Units of measure conversion factors, organised by group - * - * @var mixed[] - */ - private static $_unitConversions = array( 'Mass' => array( 'g' => array( 'g' => 1.0, - 'sg' => 6.85220500053478E-05, - 'lbm' => 2.20462291469134E-03, - 'u' => 6.02217000000000E+23, - 'ozm' => 3.52739718003627E-02 - ), - 'sg' => array( 'g' => 1.45938424189287E+04, - 'sg' => 1.0, - 'lbm' => 3.21739194101647E+01, - 'u' => 8.78866000000000E+27, - 'ozm' => 5.14782785944229E+02 - ), - 'lbm' => array( 'g' => 4.5359230974881148E+02, - 'sg' => 3.10810749306493E-02, - 'lbm' => 1.0, - 'u' => 2.73161000000000E+26, - 'ozm' => 1.60000023429410E+01 - ), - 'u' => array( 'g' => 1.66053100460465E-24, - 'sg' => 1.13782988532950E-28, - 'lbm' => 3.66084470330684E-27, - 'u' => 1.0, - 'ozm' => 5.85735238300524E-26 - ), - 'ozm' => array( 'g' => 2.83495152079732E+01, - 'sg' => 1.94256689870811E-03, - 'lbm' => 6.24999908478882E-02, - 'u' => 1.70725600000000E+25, - 'ozm' => 1.0 - ) - ), - 'Distance' => array( 'm' => array( 'm' => 1.0, - 'mi' => 6.21371192237334E-04, - 'Nmi' => 5.39956803455724E-04, - 'in' => 3.93700787401575E+01, - 'ft' => 3.28083989501312E+00, - 'yd' => 1.09361329797891E+00, - 'ang' => 1.00000000000000E+10, - 'Pica' => 2.83464566929116E+03 - ), - 'mi' => array( 'm' => 1.60934400000000E+03, - 'mi' => 1.0, - 'Nmi' => 8.68976241900648E-01, - 'in' => 6.33600000000000E+04, - 'ft' => 5.28000000000000E+03, - 'yd' => 1.76000000000000E+03, - 'ang' => 1.60934400000000E+13, - 'Pica' => 4.56191999999971E+06 - ), - 'Nmi' => array( 'm' => 1.85200000000000E+03, - 'mi' => 1.15077944802354E+00, - 'Nmi' => 1.0, - 'in' => 7.29133858267717E+04, - 'ft' => 6.07611548556430E+03, - 'yd' => 2.02537182785694E+03, - 'ang' => 1.85200000000000E+13, - 'Pica' => 5.24976377952723E+06 - ), - 'in' => array( 'm' => 2.54000000000000E-02, - 'mi' => 1.57828282828283E-05, - 'Nmi' => 1.37149028077754E-05, - 'in' => 1.0, - 'ft' => 8.33333333333333E-02, - 'yd' => 2.77777777686643E-02, - 'ang' => 2.54000000000000E+08, - 'Pica' => 7.19999999999955E+01 - ), - 'ft' => array( 'm' => 3.04800000000000E-01, - 'mi' => 1.89393939393939E-04, - 'Nmi' => 1.64578833693305E-04, - 'in' => 1.20000000000000E+01, - 'ft' => 1.0, - 'yd' => 3.33333333223972E-01, - 'ang' => 3.04800000000000E+09, - 'Pica' => 8.63999999999946E+02 - ), - 'yd' => array( 'm' => 9.14400000300000E-01, - 'mi' => 5.68181818368230E-04, - 'Nmi' => 4.93736501241901E-04, - 'in' => 3.60000000118110E+01, - 'ft' => 3.00000000000000E+00, - 'yd' => 1.0, - 'ang' => 9.14400000300000E+09, - 'Pica' => 2.59200000085023E+03 - ), - 'ang' => array( 'm' => 1.00000000000000E-10, - 'mi' => 6.21371192237334E-14, - 'Nmi' => 5.39956803455724E-14, - 'in' => 3.93700787401575E-09, - 'ft' => 3.28083989501312E-10, - 'yd' => 1.09361329797891E-10, - 'ang' => 1.0, - 'Pica' => 2.83464566929116E-07 - ), - 'Pica' => array( 'm' => 3.52777777777800E-04, - 'mi' => 2.19205948372629E-07, - 'Nmi' => 1.90484761219114E-07, - 'in' => 1.38888888888898E-02, - 'ft' => 1.15740740740748E-03, - 'yd' => 3.85802469009251E-04, - 'ang' => 3.52777777777800E+06, - 'Pica' => 1.0 - ) - ), - 'Time' => array( 'yr' => array( 'yr' => 1.0, - 'day' => 365.25, - 'hr' => 8766.0, - 'mn' => 525960.0, - 'sec' => 31557600.0 - ), - 'day' => array( 'yr' => 2.73785078713210E-03, - 'day' => 1.0, - 'hr' => 24.0, - 'mn' => 1440.0, - 'sec' => 86400.0 - ), - 'hr' => array( 'yr' => 1.14077116130504E-04, - 'day' => 4.16666666666667E-02, - 'hr' => 1.0, - 'mn' => 60.0, - 'sec' => 3600.0 - ), - 'mn' => array( 'yr' => 1.90128526884174E-06, - 'day' => 6.94444444444444E-04, - 'hr' => 1.66666666666667E-02, - 'mn' => 1.0, - 'sec' => 60.0 - ), - 'sec' => array( 'yr' => 3.16880878140289E-08, - 'day' => 1.15740740740741E-05, - 'hr' => 2.77777777777778E-04, - 'mn' => 1.66666666666667E-02, - 'sec' => 1.0 - ) - ), - 'Pressure' => array( 'Pa' => array( 'Pa' => 1.0, - 'p' => 1.0, - 'atm' => 9.86923299998193E-06, - 'at' => 9.86923299998193E-06, - 'mmHg' => 7.50061707998627E-03 - ), - 'p' => array( 'Pa' => 1.0, - 'p' => 1.0, - 'atm' => 9.86923299998193E-06, - 'at' => 9.86923299998193E-06, - 'mmHg' => 7.50061707998627E-03 - ), - 'atm' => array( 'Pa' => 1.01324996583000E+05, - 'p' => 1.01324996583000E+05, - 'atm' => 1.0, - 'at' => 1.0, - 'mmHg' => 760.0 - ), - 'at' => array( 'Pa' => 1.01324996583000E+05, - 'p' => 1.01324996583000E+05, - 'atm' => 1.0, - 'at' => 1.0, - 'mmHg' => 760.0 - ), - 'mmHg' => array( 'Pa' => 1.33322363925000E+02, - 'p' => 1.33322363925000E+02, - 'atm' => 1.31578947368421E-03, - 'at' => 1.31578947368421E-03, - 'mmHg' => 1.0 - ) - ), - 'Force' => array( 'N' => array( 'N' => 1.0, - 'dyn' => 1.0E+5, - 'dy' => 1.0E+5, - 'lbf' => 2.24808923655339E-01 - ), - 'dyn' => array( 'N' => 1.0E-5, - 'dyn' => 1.0, - 'dy' => 1.0, - 'lbf' => 2.24808923655339E-06 - ), - 'dy' => array( 'N' => 1.0E-5, - 'dyn' => 1.0, - 'dy' => 1.0, - 'lbf' => 2.24808923655339E-06 - ), - 'lbf' => array( 'N' => 4.448222, - 'dyn' => 4.448222E+5, - 'dy' => 4.448222E+5, - 'lbf' => 1.0 - ) - ), - 'Energy' => array( 'J' => array( 'J' => 1.0, - 'e' => 9.99999519343231E+06, - 'c' => 2.39006249473467E-01, - 'cal' => 2.38846190642017E-01, - 'eV' => 6.24145700000000E+18, - 'ev' => 6.24145700000000E+18, - 'HPh' => 3.72506430801000E-07, - 'hh' => 3.72506430801000E-07, - 'Wh' => 2.77777916238711E-04, - 'wh' => 2.77777916238711E-04, - 'flb' => 2.37304222192651E+01, - 'BTU' => 9.47815067349015E-04, - 'btu' => 9.47815067349015E-04 - ), - 'e' => array( 'J' => 1.00000048065700E-07, - 'e' => 1.0, - 'c' => 2.39006364353494E-08, - 'cal' => 2.38846305445111E-08, - 'eV' => 6.24146000000000E+11, - 'ev' => 6.24146000000000E+11, - 'HPh' => 3.72506609848824E-14, - 'hh' => 3.72506609848824E-14, - 'Wh' => 2.77778049754611E-11, - 'wh' => 2.77778049754611E-11, - 'flb' => 2.37304336254586E-06, - 'BTU' => 9.47815522922962E-11, - 'btu' => 9.47815522922962E-11 - ), - 'c' => array( 'J' => 4.18399101363672E+00, - 'e' => 4.18398900257312E+07, - 'c' => 1.0, - 'cal' => 9.99330315287563E-01, - 'eV' => 2.61142000000000E+19, - 'ev' => 2.61142000000000E+19, - 'HPh' => 1.55856355899327E-06, - 'hh' => 1.55856355899327E-06, - 'Wh' => 1.16222030532950E-03, - 'wh' => 1.16222030532950E-03, - 'flb' => 9.92878733152102E+01, - 'BTU' => 3.96564972437776E-03, - 'btu' => 3.96564972437776E-03 - ), - 'cal' => array( 'J' => 4.18679484613929E+00, - 'e' => 4.18679283372801E+07, - 'c' => 1.00067013349059E+00, - 'cal' => 1.0, - 'eV' => 2.61317000000000E+19, - 'ev' => 2.61317000000000E+19, - 'HPh' => 1.55960800463137E-06, - 'hh' => 1.55960800463137E-06, - 'Wh' => 1.16299914807955E-03, - 'wh' => 1.16299914807955E-03, - 'flb' => 9.93544094443283E+01, - 'BTU' => 3.96830723907002E-03, - 'btu' => 3.96830723907002E-03 - ), - 'eV' => array( 'J' => 1.60219000146921E-19, - 'e' => 1.60218923136574E-12, - 'c' => 3.82933423195043E-20, - 'cal' => 3.82676978535648E-20, - 'eV' => 1.0, - 'ev' => 1.0, - 'HPh' => 5.96826078912344E-26, - 'hh' => 5.96826078912344E-26, - 'Wh' => 4.45053000026614E-23, - 'wh' => 4.45053000026614E-23, - 'flb' => 3.80206452103492E-18, - 'BTU' => 1.51857982414846E-22, - 'btu' => 1.51857982414846E-22 - ), - 'ev' => array( 'J' => 1.60219000146921E-19, - 'e' => 1.60218923136574E-12, - 'c' => 3.82933423195043E-20, - 'cal' => 3.82676978535648E-20, - 'eV' => 1.0, - 'ev' => 1.0, - 'HPh' => 5.96826078912344E-26, - 'hh' => 5.96826078912344E-26, - 'Wh' => 4.45053000026614E-23, - 'wh' => 4.45053000026614E-23, - 'flb' => 3.80206452103492E-18, - 'BTU' => 1.51857982414846E-22, - 'btu' => 1.51857982414846E-22 - ), - 'HPh' => array( 'J' => 2.68451741316170E+06, - 'e' => 2.68451612283024E+13, - 'c' => 6.41616438565991E+05, - 'cal' => 6.41186757845835E+05, - 'eV' => 1.67553000000000E+25, - 'ev' => 1.67553000000000E+25, - 'HPh' => 1.0, - 'hh' => 1.0, - 'Wh' => 7.45699653134593E+02, - 'wh' => 7.45699653134593E+02, - 'flb' => 6.37047316692964E+07, - 'BTU' => 2.54442605275546E+03, - 'btu' => 2.54442605275546E+03 - ), - 'hh' => array( 'J' => 2.68451741316170E+06, - 'e' => 2.68451612283024E+13, - 'c' => 6.41616438565991E+05, - 'cal' => 6.41186757845835E+05, - 'eV' => 1.67553000000000E+25, - 'ev' => 1.67553000000000E+25, - 'HPh' => 1.0, - 'hh' => 1.0, - 'Wh' => 7.45699653134593E+02, - 'wh' => 7.45699653134593E+02, - 'flb' => 6.37047316692964E+07, - 'BTU' => 2.54442605275546E+03, - 'btu' => 2.54442605275546E+03 - ), - 'Wh' => array( 'J' => 3.59999820554720E+03, - 'e' => 3.59999647518369E+10, - 'c' => 8.60422069219046E+02, - 'cal' => 8.59845857713046E+02, - 'eV' => 2.24692340000000E+22, - 'ev' => 2.24692340000000E+22, - 'HPh' => 1.34102248243839E-03, - 'hh' => 1.34102248243839E-03, - 'Wh' => 1.0, - 'wh' => 1.0, - 'flb' => 8.54294774062316E+04, - 'BTU' => 3.41213254164705E+00, - 'btu' => 3.41213254164705E+00 - ), - 'wh' => array( 'J' => 3.59999820554720E+03, - 'e' => 3.59999647518369E+10, - 'c' => 8.60422069219046E+02, - 'cal' => 8.59845857713046E+02, - 'eV' => 2.24692340000000E+22, - 'ev' => 2.24692340000000E+22, - 'HPh' => 1.34102248243839E-03, - 'hh' => 1.34102248243839E-03, - 'Wh' => 1.0, - 'wh' => 1.0, - 'flb' => 8.54294774062316E+04, - 'BTU' => 3.41213254164705E+00, - 'btu' => 3.41213254164705E+00 - ), - 'flb' => array( 'J' => 4.21400003236424E-02, - 'e' => 4.21399800687660E+05, - 'c' => 1.00717234301644E-02, - 'cal' => 1.00649785509554E-02, - 'eV' => 2.63015000000000E+17, - 'ev' => 2.63015000000000E+17, - 'HPh' => 1.56974211145130E-08, - 'hh' => 1.56974211145130E-08, - 'Wh' => 1.17055614802000E-05, - 'wh' => 1.17055614802000E-05, - 'flb' => 1.0, - 'BTU' => 3.99409272448406E-05, - 'btu' => 3.99409272448406E-05 - ), - 'BTU' => array( 'J' => 1.05505813786749E+03, - 'e' => 1.05505763074665E+10, - 'c' => 2.52165488508168E+02, - 'cal' => 2.51996617135510E+02, - 'eV' => 6.58510000000000E+21, - 'ev' => 6.58510000000000E+21, - 'HPh' => 3.93015941224568E-04, - 'hh' => 3.93015941224568E-04, - 'Wh' => 2.93071851047526E-01, - 'wh' => 2.93071851047526E-01, - 'flb' => 2.50369750774671E+04, - 'BTU' => 1.0, - 'btu' => 1.0, - ), - 'btu' => array( 'J' => 1.05505813786749E+03, - 'e' => 1.05505763074665E+10, - 'c' => 2.52165488508168E+02, - 'cal' => 2.51996617135510E+02, - 'eV' => 6.58510000000000E+21, - 'ev' => 6.58510000000000E+21, - 'HPh' => 3.93015941224568E-04, - 'hh' => 3.93015941224568E-04, - 'Wh' => 2.93071851047526E-01, - 'wh' => 2.93071851047526E-01, - 'flb' => 2.50369750774671E+04, - 'BTU' => 1.0, - 'btu' => 1.0, - ) - ), - 'Power' => array( 'HP' => array( 'HP' => 1.0, - 'h' => 1.0, - 'W' => 7.45701000000000E+02, - 'w' => 7.45701000000000E+02 - ), - 'h' => array( 'HP' => 1.0, - 'h' => 1.0, - 'W' => 7.45701000000000E+02, - 'w' => 7.45701000000000E+02 - ), - 'W' => array( 'HP' => 1.34102006031908E-03, - 'h' => 1.34102006031908E-03, - 'W' => 1.0, - 'w' => 1.0 - ), - 'w' => array( 'HP' => 1.34102006031908E-03, - 'h' => 1.34102006031908E-03, - 'W' => 1.0, - 'w' => 1.0 - ) - ), - 'Magnetism' => array( 'T' => array( 'T' => 1.0, - 'ga' => 10000.0 - ), - 'ga' => array( 'T' => 0.0001, - 'ga' => 1.0 - ) - ), - 'Liquid' => array( 'tsp' => array( 'tsp' => 1.0, - 'tbs' => 3.33333333333333E-01, - 'oz' => 1.66666666666667E-01, - 'cup' => 2.08333333333333E-02, - 'pt' => 1.04166666666667E-02, - 'us_pt' => 1.04166666666667E-02, - 'uk_pt' => 8.67558516821960E-03, - 'qt' => 5.20833333333333E-03, - 'gal' => 1.30208333333333E-03, - 'l' => 4.92999408400710E-03, - 'lt' => 4.92999408400710E-03 - ), - 'tbs' => array( 'tsp' => 3.00000000000000E+00, - 'tbs' => 1.0, - 'oz' => 5.00000000000000E-01, - 'cup' => 6.25000000000000E-02, - 'pt' => 3.12500000000000E-02, - 'us_pt' => 3.12500000000000E-02, - 'uk_pt' => 2.60267555046588E-02, - 'qt' => 1.56250000000000E-02, - 'gal' => 3.90625000000000E-03, - 'l' => 1.47899822520213E-02, - 'lt' => 1.47899822520213E-02 - ), - 'oz' => array( 'tsp' => 6.00000000000000E+00, - 'tbs' => 2.00000000000000E+00, - 'oz' => 1.0, - 'cup' => 1.25000000000000E-01, - 'pt' => 6.25000000000000E-02, - 'us_pt' => 6.25000000000000E-02, - 'uk_pt' => 5.20535110093176E-02, - 'qt' => 3.12500000000000E-02, - 'gal' => 7.81250000000000E-03, - 'l' => 2.95799645040426E-02, - 'lt' => 2.95799645040426E-02 - ), - 'cup' => array( 'tsp' => 4.80000000000000E+01, - 'tbs' => 1.60000000000000E+01, - 'oz' => 8.00000000000000E+00, - 'cup' => 1.0, - 'pt' => 5.00000000000000E-01, - 'us_pt' => 5.00000000000000E-01, - 'uk_pt' => 4.16428088074541E-01, - 'qt' => 2.50000000000000E-01, - 'gal' => 6.25000000000000E-02, - 'l' => 2.36639716032341E-01, - 'lt' => 2.36639716032341E-01 - ), - 'pt' => array( 'tsp' => 9.60000000000000E+01, - 'tbs' => 3.20000000000000E+01, - 'oz' => 1.60000000000000E+01, - 'cup' => 2.00000000000000E+00, - 'pt' => 1.0, - 'us_pt' => 1.0, - 'uk_pt' => 8.32856176149081E-01, - 'qt' => 5.00000000000000E-01, - 'gal' => 1.25000000000000E-01, - 'l' => 4.73279432064682E-01, - 'lt' => 4.73279432064682E-01 - ), - 'us_pt' => array( 'tsp' => 9.60000000000000E+01, - 'tbs' => 3.20000000000000E+01, - 'oz' => 1.60000000000000E+01, - 'cup' => 2.00000000000000E+00, - 'pt' => 1.0, - 'us_pt' => 1.0, - 'uk_pt' => 8.32856176149081E-01, - 'qt' => 5.00000000000000E-01, - 'gal' => 1.25000000000000E-01, - 'l' => 4.73279432064682E-01, - 'lt' => 4.73279432064682E-01 - ), - 'uk_pt' => array( 'tsp' => 1.15266000000000E+02, - 'tbs' => 3.84220000000000E+01, - 'oz' => 1.92110000000000E+01, - 'cup' => 2.40137500000000E+00, - 'pt' => 1.20068750000000E+00, - 'us_pt' => 1.20068750000000E+00, - 'uk_pt' => 1.0, - 'qt' => 6.00343750000000E-01, - 'gal' => 1.50085937500000E-01, - 'l' => 5.68260698087162E-01, - 'lt' => 5.68260698087162E-01 - ), - 'qt' => array( 'tsp' => 1.92000000000000E+02, - 'tbs' => 6.40000000000000E+01, - 'oz' => 3.20000000000000E+01, - 'cup' => 4.00000000000000E+00, - 'pt' => 2.00000000000000E+00, - 'us_pt' => 2.00000000000000E+00, - 'uk_pt' => 1.66571235229816E+00, - 'qt' => 1.0, - 'gal' => 2.50000000000000E-01, - 'l' => 9.46558864129363E-01, - 'lt' => 9.46558864129363E-01 - ), - 'gal' => array( 'tsp' => 7.68000000000000E+02, - 'tbs' => 2.56000000000000E+02, - 'oz' => 1.28000000000000E+02, - 'cup' => 1.60000000000000E+01, - 'pt' => 8.00000000000000E+00, - 'us_pt' => 8.00000000000000E+00, - 'uk_pt' => 6.66284940919265E+00, - 'qt' => 4.00000000000000E+00, - 'gal' => 1.0, - 'l' => 3.78623545651745E+00, - 'lt' => 3.78623545651745E+00 - ), - 'l' => array( 'tsp' => 2.02840000000000E+02, - 'tbs' => 6.76133333333333E+01, - 'oz' => 3.38066666666667E+01, - 'cup' => 4.22583333333333E+00, - 'pt' => 2.11291666666667E+00, - 'us_pt' => 2.11291666666667E+00, - 'uk_pt' => 1.75975569552166E+00, - 'qt' => 1.05645833333333E+00, - 'gal' => 2.64114583333333E-01, - 'l' => 1.0, - 'lt' => 1.0 - ), - 'lt' => array( 'tsp' => 2.02840000000000E+02, - 'tbs' => 6.76133333333333E+01, - 'oz' => 3.38066666666667E+01, - 'cup' => 4.22583333333333E+00, - 'pt' => 2.11291666666667E+00, - 'us_pt' => 2.11291666666667E+00, - 'uk_pt' => 1.75975569552166E+00, - 'qt' => 1.05645833333333E+00, - 'gal' => 2.64114583333333E-01, - 'l' => 1.0, - 'lt' => 1.0 - ) - ) - ); - - - /** - * _parseComplex - * - * Parses a complex number into its real and imaginary parts, and an I or J suffix - * - * @param string $complexNumber The complex number - * @return string[] Indexed on "real", "imaginary" and "suffix" - */ - public static function _parseComplex($complexNumber) { - $workString = (string) $complexNumber; - - $realNumber = $imaginary = 0; - // Extract the suffix, if there is one - $suffix = substr($workString,-1); - if (!is_numeric($suffix)) { - $workString = substr($workString,0,-1); - } else { - $suffix = ''; - } - - // Split the input into its Real and Imaginary components - $leadingSign = 0; - if (strlen($workString) > 0) { - $leadingSign = (($workString{0} == '+') || ($workString{0} == '-')) ? 1 : 0; - } - $power = ''; - $realNumber = strtok($workString, '+-'); - if (strtoupper(substr($realNumber,-1)) == 'E') { - $power = strtok('+-'); - ++$leadingSign; - } - - $realNumber = substr($workString,0,strlen($realNumber)+strlen($power)+$leadingSign); - - if ($suffix != '') { - $imaginary = substr($workString,strlen($realNumber)); - - if (($imaginary == '') && (($realNumber == '') || ($realNumber == '+') || ($realNumber == '-'))) { - $imaginary = $realNumber.'1'; - $realNumber = '0'; - } else if ($imaginary == '') { - $imaginary = $realNumber; - $realNumber = '0'; - } elseif (($imaginary == '+') || ($imaginary == '-')) { - $imaginary .= '1'; - } - } - - return array( 'real' => $realNumber, - 'imaginary' => $imaginary, - 'suffix' => $suffix - ); - } // function _parseComplex() - - - /** - * Cleans the leading characters in a complex number string - * - * @param string $complexNumber The complex number to clean - * @return string The "cleaned" complex number - */ - private static function _cleanComplex($complexNumber) { - if ($complexNumber{0} == '+') $complexNumber = substr($complexNumber,1); - if ($complexNumber{0} == '0') $complexNumber = substr($complexNumber,1); - if ($complexNumber{0} == '.') $complexNumber = '0'.$complexNumber; - if ($complexNumber{0} == '+') $complexNumber = substr($complexNumber,1); - return $complexNumber; - } - - /** - * Formats a number base string value with leading zeroes - * - * @param string $xVal The "number" to pad - * @param integer $places The length that we want to pad this value - * @return string The padded "number" - */ - private static function _nbrConversionFormat($xVal, $places) { - if (!is_null($places)) { - if (strlen($xVal) <= $places) { - return substr(str_pad($xVal, $places, '0', STR_PAD_LEFT), -10); - } else { - return PHPExcel_Calculation_Functions::NaN(); - } - } - - return substr($xVal, -10); - } // function _nbrConversionFormat() - - /** - * BESSELI - * - * Returns the modified Bessel function In(x), which is equivalent to the Bessel function evaluated - * for purely imaginary arguments - * - * Excel Function: - * BESSELI(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELI returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. - * If ord is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELI returns the #VALUE! error value. - * If $ord < 0, BESSELI returns the #NUM! error value. - * @return float - * - */ - public static function BESSELI($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - $ord = floor($ord); - if ($ord < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (abs($x) <= 30) { - $fResult = $fTerm = pow($x / 2, $ord) / PHPExcel_Calculation_MathTrig::FACT($ord); - $ordK = 1; - $fSqrX = ($x * $x) / 4; - do { - $fTerm *= $fSqrX; - $fTerm /= ($ordK * ($ordK + $ord)); - $fResult += $fTerm; - } while ((abs($fTerm) > 1e-12) && (++$ordK < 100)); - } else { - $f_2_PI = 2 * M_PI; - - $fXAbs = abs($x); - $fResult = exp($fXAbs) / sqrt($f_2_PI * $fXAbs); - if (($ord & 1) && ($x < 0)) { - $fResult = -$fResult; - } - } - return (is_nan($fResult)) ? PHPExcel_Calculation_Functions::NaN() : $fResult; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELI() - - - /** - * BESSELJ - * - * Returns the Bessel function - * - * Excel Function: - * BESSELJ(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELJ returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. If n is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELJ returns the #VALUE! error value. - * If $ord < 0, BESSELJ returns the #NUM! error value. - * @return float - * - */ - public static function BESSELJ($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - $ord = floor($ord); - if ($ord < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $fResult = 0; - if (abs($x) <= 30) { - $fResult = $fTerm = pow($x / 2, $ord) / PHPExcel_Calculation_MathTrig::FACT($ord); - $ordK = 1; - $fSqrX = ($x * $x) / -4; - do { - $fTerm *= $fSqrX; - $fTerm /= ($ordK * ($ordK + $ord)); - $fResult += $fTerm; - } while ((abs($fTerm) > 1e-12) && (++$ordK < 100)); - } else { - $f_PI_DIV_2 = M_PI / 2; - $f_PI_DIV_4 = M_PI / 4; - - $fXAbs = abs($x); - $fResult = sqrt(M_2DIVPI / $fXAbs) * cos($fXAbs - $ord * $f_PI_DIV_2 - $f_PI_DIV_4); - if (($ord & 1) && ($x < 0)) { - $fResult = -$fResult; - } - } - return (is_nan($fResult)) ? PHPExcel_Calculation_Functions::NaN() : $fResult; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELJ() - - - private static function _Besselk0($fNum) { - if ($fNum <= 2) { - $fNum2 = $fNum * 0.5; - $y = ($fNum2 * $fNum2); - $fRet = -log($fNum2) * self::BESSELI($fNum, 0) + - (-0.57721566 + $y * (0.42278420 + $y * (0.23069756 + $y * (0.3488590e-1 + $y * (0.262698e-2 + $y * - (0.10750e-3 + $y * 0.74e-5)))))); - } else { - $y = 2 / $fNum; - $fRet = exp(-$fNum) / sqrt($fNum) * - (1.25331414 + $y * (-0.7832358e-1 + $y * (0.2189568e-1 + $y * (-0.1062446e-1 + $y * - (0.587872e-2 + $y * (-0.251540e-2 + $y * 0.53208e-3)))))); - } - return $fRet; - } // function _Besselk0() - - - private static function _Besselk1($fNum) { - if ($fNum <= 2) { - $fNum2 = $fNum * 0.5; - $y = ($fNum2 * $fNum2); - $fRet = log($fNum2) * self::BESSELI($fNum, 1) + - (1 + $y * (0.15443144 + $y * (-0.67278579 + $y * (-0.18156897 + $y * (-0.1919402e-1 + $y * - (-0.110404e-2 + $y * (-0.4686e-4))))))) / $fNum; - } else { - $y = 2 / $fNum; - $fRet = exp(-$fNum) / sqrt($fNum) * - (1.25331414 + $y * (0.23498619 + $y * (-0.3655620e-1 + $y * (0.1504268e-1 + $y * (-0.780353e-2 + $y * - (0.325614e-2 + $y * (-0.68245e-3))))))); - } - return $fRet; - } // function _Besselk1() - - - /** - * BESSELK - * - * Returns the modified Bessel function Kn(x), which is equivalent to the Bessel functions evaluated - * for purely imaginary arguments. - * - * Excel Function: - * BESSELK(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELK returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. If n is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELK returns the #VALUE! error value. - * If $ord < 0, BESSELK returns the #NUM! error value. - * @return float - * - */ - public static function BESSELK($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - if (($ord < 0) || ($x == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - switch(floor($ord)) { - case 0 : return self::_Besselk0($x); - break; - case 1 : return self::_Besselk1($x); - break; - default : $fTox = 2 / $x; - $fBkm = self::_Besselk0($x); - $fBk = self::_Besselk1($x); - for ($n = 1; $n < $ord; ++$n) { - $fBkp = $fBkm + $n * $fTox * $fBk; - $fBkm = $fBk; - $fBk = $fBkp; - } - } - return (is_nan($fBk)) ? PHPExcel_Calculation_Functions::NaN() : $fBk; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELK() - - - private static function _Bessely0($fNum) { - if ($fNum < 8.0) { - $y = ($fNum * $fNum); - $f1 = -2957821389.0 + $y * (7062834065.0 + $y * (-512359803.6 + $y * (10879881.29 + $y * (-86327.92757 + $y * 228.4622733)))); - $f2 = 40076544269.0 + $y * (745249964.8 + $y * (7189466.438 + $y * (47447.26470 + $y * (226.1030244 + $y)))); - $fRet = $f1 / $f2 + 0.636619772 * self::BESSELJ($fNum, 0) * log($fNum); - } else { - $z = 8.0 / $fNum; - $y = ($z * $z); - $xx = $fNum - 0.785398164; - $f1 = 1 + $y * (-0.1098628627e-2 + $y * (0.2734510407e-4 + $y * (-0.2073370639e-5 + $y * 0.2093887211e-6))); - $f2 = -0.1562499995e-1 + $y * (0.1430488765e-3 + $y * (-0.6911147651e-5 + $y * (0.7621095161e-6 + $y * (-0.934945152e-7)))); - $fRet = sqrt(0.636619772 / $fNum) * (sin($xx) * $f1 + $z * cos($xx) * $f2); - } - return $fRet; - } // function _Bessely0() - - - private static function _Bessely1($fNum) { - if ($fNum < 8.0) { - $y = ($fNum * $fNum); - $f1 = $fNum * (-0.4900604943e13 + $y * (0.1275274390e13 + $y * (-0.5153438139e11 + $y * (0.7349264551e9 + $y * - (-0.4237922726e7 + $y * 0.8511937935e4))))); - $f2 = 0.2499580570e14 + $y * (0.4244419664e12 + $y * (0.3733650367e10 + $y * (0.2245904002e8 + $y * - (0.1020426050e6 + $y * (0.3549632885e3 + $y))))); - $fRet = $f1 / $f2 + 0.636619772 * ( self::BESSELJ($fNum, 1) * log($fNum) - 1 / $fNum); - } else { - $fRet = sqrt(0.636619772 / $fNum) * sin($fNum - 2.356194491); - } - return $fRet; - } // function _Bessely1() - - - /** - * BESSELY - * - * Returns the Bessel function, which is also called the Weber function or the Neumann function. - * - * Excel Function: - * BESSELY(x,ord) - * - * @access public - * @category Engineering Functions - * @param float $x The value at which to evaluate the function. - * If x is nonnumeric, BESSELK returns the #VALUE! error value. - * @param integer $ord The order of the Bessel function. If n is not an integer, it is truncated. - * If $ord is nonnumeric, BESSELK returns the #VALUE! error value. - * If $ord < 0, BESSELK returns the #NUM! error value. - * - * @return float - */ - public static function BESSELY($x, $ord) { - $x = (is_null($x)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($x); - $ord = (is_null($ord)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($ord); - - if ((is_numeric($x)) && (is_numeric($ord))) { - if (($ord < 0) || ($x == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - switch(floor($ord)) { - case 0 : return self::_Bessely0($x); - break; - case 1 : return self::_Bessely1($x); - break; - default: $fTox = 2 / $x; - $fBym = self::_Bessely0($x); - $fBy = self::_Bessely1($x); - for ($n = 1; $n < $ord; ++$n) { - $fByp = $n * $fTox * $fBy - $fBym; - $fBym = $fBy; - $fBy = $fByp; - } - } - return (is_nan($fBy)) ? PHPExcel_Calculation_Functions::NaN() : $fBy; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BESSELY() - - - /** - * BINTODEC - * - * Return a binary value as decimal. - * - * Excel Function: - * BIN2DEC(x) - * - * @access public - * @category Engineering Functions - * @param string $x The binary number (as a string) that you want to convert. The number - * cannot contain more than 10 characters (10 bits). The most significant - * bit of number is the sign bit. The remaining 9 bits are magnitude bits. - * Negative numbers are represented using two's-complement notation. - * If number is not a valid binary number, or if number contains more than - * 10 characters (10 bits), BIN2DEC returns the #NUM! error value. - * @return string - */ - public static function BINTODEC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $x = floor($x); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[01]/',$x,$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (strlen($x) > 10) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (strlen($x) == 10) { - // Two's Complement - $x = substr($x,-9); - return '-'.(512-bindec($x)); - } - return bindec($x); - } // function BINTODEC() - - - /** - * BINTOHEX - * - * Return a binary value as hex. - * - * Excel Function: - * BIN2HEX(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The binary number (as a string) that you want to convert. The number - * cannot contain more than 10 characters (10 bits). The most significant - * bit of number is the sign bit. The remaining 9 bits are magnitude bits. - * Negative numbers are represented using two's-complement notation. - * If number is not a valid binary number, or if number contains more than - * 10 characters (10 bits), BIN2HEX returns the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, BIN2HEX uses the - * minimum number of characters necessary. Places is useful for padding the - * return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, BIN2HEX returns the #VALUE! error value. - * If places is negative, BIN2HEX returns the #NUM! error value. - * @return string - */ - public static function BINTOHEX($x, $places=NULL) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $x = floor($x); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[01]/',$x,$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (strlen($x) > 10) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (strlen($x) == 10) { - // Two's Complement - return str_repeat('F',8).substr(strtoupper(dechex(bindec(substr($x,-9)))),-2); - } - $hexVal = (string) strtoupper(dechex(bindec($x))); - - return self::_nbrConversionFormat($hexVal,$places); - } // function BINTOHEX() - - - /** - * BINTOOCT - * - * Return a binary value as octal. - * - * Excel Function: - * BIN2OCT(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The binary number (as a string) that you want to convert. The number - * cannot contain more than 10 characters (10 bits). The most significant - * bit of number is the sign bit. The remaining 9 bits are magnitude bits. - * Negative numbers are represented using two's-complement notation. - * If number is not a valid binary number, or if number contains more than - * 10 characters (10 bits), BIN2OCT returns the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, BIN2OCT uses the - * minimum number of characters necessary. Places is useful for padding the - * return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, BIN2OCT returns the #VALUE! error value. - * If places is negative, BIN2OCT returns the #NUM! error value. - * @return string - */ - public static function BINTOOCT($x, $places=NULL) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $x = floor($x); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[01]/',$x,$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (strlen($x) > 10) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (strlen($x) == 10) { - // Two's Complement - return str_repeat('7',7).substr(strtoupper(decoct(bindec(substr($x,-9)))),-3); - } - $octVal = (string) decoct(bindec($x)); - - return self::_nbrConversionFormat($octVal,$places); - } // function BINTOOCT() - - - /** - * DECTOBIN - * - * Return a decimal value as binary. - * - * Excel Function: - * DEC2BIN(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The decimal integer you want to convert. If number is negative, - * valid place values are ignored and DEC2BIN returns a 10-character - * (10-bit) binary number in which the most significant bit is the sign - * bit. The remaining 9 bits are magnitude bits. Negative numbers are - * represented using two's-complement notation. - * If number < -512 or if number > 511, DEC2BIN returns the #NUM! error - * value. - * If number is nonnumeric, DEC2BIN returns the #VALUE! error value. - * If DEC2BIN requires more than places characters, it returns the #NUM! - * error value. - * @param integer $places The number of characters to use. If places is omitted, DEC2BIN uses - * the minimum number of characters necessary. Places is useful for - * padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, DEC2BIN returns the #VALUE! error value. - * If places is zero or negative, DEC2BIN returns the #NUM! error value. - * @return string - */ - public static function DECTOBIN($x, $places=NULL) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[-0123456789.]/',$x,$out)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) floor($x); - $r = decbin($x); - if (strlen($r) == 32) { - // Two's Complement - $r = substr($r,-10); - } elseif (strlen($r) > 11) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return self::_nbrConversionFormat($r,$places); - } // function DECTOBIN() - - - /** - * DECTOHEX - * - * Return a decimal value as hex. - * - * Excel Function: - * DEC2HEX(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The decimal integer you want to convert. If number is negative, - * places is ignored and DEC2HEX returns a 10-character (40-bit) - * hexadecimal number in which the most significant bit is the sign - * bit. The remaining 39 bits are magnitude bits. Negative numbers - * are represented using two's-complement notation. - * If number < -549,755,813,888 or if number > 549,755,813,887, - * DEC2HEX returns the #NUM! error value. - * If number is nonnumeric, DEC2HEX returns the #VALUE! error value. - * If DEC2HEX requires more than places characters, it returns the - * #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, DEC2HEX uses - * the minimum number of characters necessary. Places is useful for - * padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, DEC2HEX returns the #VALUE! error value. - * If places is zero or negative, DEC2HEX returns the #NUM! error value. - * @return string - */ - public static function DECTOHEX($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[-0123456789.]/',$x,$out)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) floor($x); - $r = strtoupper(dechex($x)); - if (strlen($r) == 8) { - // Two's Complement - $r = 'FF'.$r; - } - - return self::_nbrConversionFormat($r,$places); - } // function DECTOHEX() - - - /** - * DECTOOCT - * - * Return an decimal value as octal. - * - * Excel Function: - * DEC2OCT(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The decimal integer you want to convert. If number is negative, - * places is ignored and DEC2OCT returns a 10-character (30-bit) - * octal number in which the most significant bit is the sign bit. - * The remaining 29 bits are magnitude bits. Negative numbers are - * represented using two's-complement notation. - * If number < -536,870,912 or if number > 536,870,911, DEC2OCT - * returns the #NUM! error value. - * If number is nonnumeric, DEC2OCT returns the #VALUE! error value. - * If DEC2OCT requires more than places characters, it returns the - * #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, DEC2OCT uses - * the minimum number of characters necessary. Places is useful for - * padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, DEC2OCT returns the #VALUE! error value. - * If places is zero or negative, DEC2OCT returns the #NUM! error value. - * @return string - */ - public static function DECTOOCT($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $x = (int) $x; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[-0123456789.]/',$x,$out)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) floor($x); - $r = decoct($x); - if (strlen($r) == 11) { - // Two's Complement - $r = substr($r,-10); - } - - return self::_nbrConversionFormat($r,$places); - } // function DECTOOCT() - - - /** - * HEXTOBIN - * - * Return a hex value as binary. - * - * Excel Function: - * HEX2BIN(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x the hexadecimal number you want to convert. Number cannot - * contain more than 10 characters. The most significant bit of - * number is the sign bit (40th bit from the right). The remaining - * 9 bits are magnitude bits. Negative numbers are represented - * using two's-complement notation. - * If number is negative, HEX2BIN ignores places and returns a - * 10-character binary number. - * If number is negative, it cannot be less than FFFFFFFE00, and - * if number is positive, it cannot be greater than 1FF. - * If number is not a valid hexadecimal number, HEX2BIN returns - * the #NUM! error value. - * If HEX2BIN requires more than places characters, it returns - * the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, - * HEX2BIN uses the minimum number of characters necessary. Places - * is useful for padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, HEX2BIN returns the #VALUE! error value. - * If places is negative, HEX2BIN returns the #NUM! error value. - * @return string - */ - public static function HEXTOBIN($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/',strtoupper($x),$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $binVal = decbin(hexdec($x)); - - return substr(self::_nbrConversionFormat($binVal,$places),-10); - } // function HEXTOBIN() - - - /** - * HEXTODEC - * - * Return a hex value as decimal. - * - * Excel Function: - * HEX2DEC(x) - * - * @access public - * @category Engineering Functions - * @param string $x The hexadecimal number you want to convert. This number cannot - * contain more than 10 characters (40 bits). The most significant - * bit of number is the sign bit. The remaining 39 bits are magnitude - * bits. Negative numbers are represented using two's-complement - * notation. - * If number is not a valid hexadecimal number, HEX2DEC returns the - * #NUM! error value. - * @return string - */ - public static function HEXTODEC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/',strtoupper($x),$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return hexdec($x); - } // function HEXTODEC() - - - /** - * HEXTOOCT - * - * Return a hex value as octal. - * - * Excel Function: - * HEX2OCT(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The hexadecimal number you want to convert. Number cannot - * contain more than 10 characters. The most significant bit of - * number is the sign bit. The remaining 39 bits are magnitude - * bits. Negative numbers are represented using two's-complement - * notation. - * If number is negative, HEX2OCT ignores places and returns a - * 10-character octal number. - * If number is negative, it cannot be less than FFE0000000, and - * if number is positive, it cannot be greater than 1FFFFFFF. - * If number is not a valid hexadecimal number, HEX2OCT returns - * the #NUM! error value. - * If HEX2OCT requires more than places characters, it returns - * the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, HEX2OCT - * uses the minimum number of characters necessary. Places is - * useful for padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, HEX2OCT returns the #VALUE! error - * value. - * If places is negative, HEX2OCT returns the #NUM! error value. - * @return string - */ - public static function HEXTOOCT($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (strlen($x) > preg_match_all('/[0123456789ABCDEF]/',strtoupper($x),$out)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $octVal = decoct(hexdec($x)); - - return self::_nbrConversionFormat($octVal,$places); - } // function HEXTOOCT() - - - /** - * OCTTOBIN - * - * Return an octal value as binary. - * - * Excel Function: - * OCT2BIN(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The octal number you want to convert. Number may not - * contain more than 10 characters. The most significant - * bit of number is the sign bit. The remaining 29 bits - * are magnitude bits. Negative numbers are represented - * using two's-complement notation. - * If number is negative, OCT2BIN ignores places and returns - * a 10-character binary number. - * If number is negative, it cannot be less than 7777777000, - * and if number is positive, it cannot be greater than 777. - * If number is not a valid octal number, OCT2BIN returns - * the #NUM! error value. - * If OCT2BIN requires more than places characters, it - * returns the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, - * OCT2BIN uses the minimum number of characters necessary. - * Places is useful for padding the return value with - * leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, OCT2BIN returns the #VALUE! - * error value. - * If places is negative, OCT2BIN returns the #NUM! error - * value. - * @return string - */ - public static function OCTTOBIN($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (preg_match_all('/[01234567]/',$x,$out) != strlen($x)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $r = decbin(octdec($x)); - - return self::_nbrConversionFormat($r,$places); - } // function OCTTOBIN() - - - /** - * OCTTODEC - * - * Return an octal value as decimal. - * - * Excel Function: - * OCT2DEC(x) - * - * @access public - * @category Engineering Functions - * @param string $x The octal number you want to convert. Number may not contain - * more than 10 octal characters (30 bits). The most significant - * bit of number is the sign bit. The remaining 29 bits are - * magnitude bits. Negative numbers are represented using - * two's-complement notation. - * If number is not a valid octal number, OCT2DEC returns the - * #NUM! error value. - * @return string - */ - public static function OCTTODEC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (preg_match_all('/[01234567]/',$x,$out) != strlen($x)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return octdec($x); - } // function OCTTODEC() - - - /** - * OCTTOHEX - * - * Return an octal value as hex. - * - * Excel Function: - * OCT2HEX(x[,places]) - * - * @access public - * @category Engineering Functions - * @param string $x The octal number you want to convert. Number may not contain - * more than 10 octal characters (30 bits). The most significant - * bit of number is the sign bit. The remaining 29 bits are - * magnitude bits. Negative numbers are represented using - * two's-complement notation. - * If number is negative, OCT2HEX ignores places and returns a - * 10-character hexadecimal number. - * If number is not a valid octal number, OCT2HEX returns the - * #NUM! error value. - * If OCT2HEX requires more than places characters, it returns - * the #NUM! error value. - * @param integer $places The number of characters to use. If places is omitted, OCT2HEX - * uses the minimum number of characters necessary. Places is useful - * for padding the return value with leading 0s (zeros). - * If places is not an integer, it is truncated. - * If places is nonnumeric, OCT2HEX returns the #VALUE! error value. - * If places is negative, OCT2HEX returns the #NUM! error value. - * @return string - */ - public static function OCTTOHEX($x, $places=null) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $places = PHPExcel_Calculation_Functions::flattenSingleValue($places); - - if (is_bool($x)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $x = (string) $x; - if (preg_match_all('/[01234567]/',$x,$out) != strlen($x)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $hexVal = strtoupper(dechex(octdec($x))); - - return self::_nbrConversionFormat($hexVal,$places); - } // function OCTTOHEX() - - - /** - * COMPLEX - * - * Converts real and imaginary coefficients into a complex number of the form x + yi or x + yj. - * - * Excel Function: - * COMPLEX(realNumber,imaginary[,places]) - * - * @access public - * @category Engineering Functions - * @param float $realNumber The real coefficient of the complex number. - * @param float $imaginary The imaginary coefficient of the complex number. - * @param string $suffix The suffix for the imaginary component of the complex number. - * If omitted, the suffix is assumed to be "i". - * @return string - */ - public static function COMPLEX($realNumber=0.0, $imaginary=0.0, $suffix='i') { - $realNumber = (is_null($realNumber)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($realNumber); - $imaginary = (is_null($imaginary)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($imaginary); - $suffix = (is_null($suffix)) ? 'i' : PHPExcel_Calculation_Functions::flattenSingleValue($suffix); - - if (((is_numeric($realNumber)) && (is_numeric($imaginary))) && - (($suffix == 'i') || ($suffix == 'j') || ($suffix == ''))) { - $realNumber = (float) $realNumber; - $imaginary = (float) $imaginary; - - if ($suffix == '') $suffix = 'i'; - if ($realNumber == 0.0) { - if ($imaginary == 0.0) { - return (string) '0'; - } elseif ($imaginary == 1.0) { - return (string) $suffix; - } elseif ($imaginary == -1.0) { - return (string) '-'.$suffix; - } - return (string) $imaginary.$suffix; - } elseif ($imaginary == 0.0) { - return (string) $realNumber; - } elseif ($imaginary == 1.0) { - return (string) $realNumber.'+'.$suffix; - } elseif ($imaginary == -1.0) { - return (string) $realNumber.'-'.$suffix; - } - if ($imaginary > 0) { $imaginary = (string) '+'.$imaginary; } - return (string) $realNumber.$imaginary.$suffix; - } - - return PHPExcel_Calculation_Functions::VALUE(); - } // function COMPLEX() - - - /** - * IMAGINARY - * - * Returns the imaginary coefficient of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMAGINARY(complexNumber) - * - * @access public - * @category Engineering Functions - * @param string $complexNumber The complex number for which you want the imaginary - * coefficient. - * @return float - */ - public static function IMAGINARY($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - return $parsedComplex['imaginary']; - } // function IMAGINARY() - - - /** - * IMREAL - * - * Returns the real coefficient of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMREAL(complexNumber) - * - * @access public - * @category Engineering Functions - * @param string $complexNumber The complex number for which you want the real coefficient. - * @return float - */ - public static function IMREAL($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - return $parsedComplex['real']; - } // function IMREAL() - - - /** - * IMABS - * - * Returns the absolute value (modulus) of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMABS(complexNumber) - * - * @param string $complexNumber The complex number for which you want the absolute value. - * @return float - */ - public static function IMABS($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - return sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary'])); - } // function IMABS() - - - /** - * IMARGUMENT - * - * Returns the argument theta of a complex number, i.e. the angle in radians from the real - * axis to the representation of the number in polar coordinates. - * - * Excel Function: - * IMARGUMENT(complexNumber) - * - * @param string $complexNumber The complex number for which you want the argument theta. - * @return float - */ - public static function IMARGUMENT($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['real'] == 0.0) { - if ($parsedComplex['imaginary'] == 0.0) { - return 0.0; - } elseif($parsedComplex['imaginary'] < 0.0) { - return M_PI / -2; - } else { - return M_PI / 2; - } - } elseif ($parsedComplex['real'] > 0.0) { - return atan($parsedComplex['imaginary'] / $parsedComplex['real']); - } elseif ($parsedComplex['imaginary'] < 0.0) { - return 0 - (M_PI - atan(abs($parsedComplex['imaginary']) / abs($parsedComplex['real']))); - } else { - return M_PI - atan($parsedComplex['imaginary'] / abs($parsedComplex['real'])); - } - } // function IMARGUMENT() - - - /** - * IMCONJUGATE - * - * Returns the complex conjugate of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMCONJUGATE(complexNumber) - * - * @param string $complexNumber The complex number for which you want the conjugate. - * @return string - */ - public static function IMCONJUGATE($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['imaginary'] == 0.0) { - return $parsedComplex['real']; - } else { - return self::_cleanComplex( self::COMPLEX( $parsedComplex['real'], - 0 - $parsedComplex['imaginary'], - $parsedComplex['suffix'] - ) - ); - } - } // function IMCONJUGATE() - - - /** - * IMCOS - * - * Returns the cosine of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMCOS(complexNumber) - * - * @param string $complexNumber The complex number for which you want the cosine. - * @return string|float - */ - public static function IMCOS($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['imaginary'] == 0.0) { - return cos($parsedComplex['real']); - } else { - return self::IMCONJUGATE(self::COMPLEX(cos($parsedComplex['real']) * cosh($parsedComplex['imaginary']),sin($parsedComplex['real']) * sinh($parsedComplex['imaginary']),$parsedComplex['suffix'])); - } - } // function IMCOS() - - - /** - * IMSIN - * - * Returns the sine of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMSIN(complexNumber) - * - * @param string $complexNumber The complex number for which you want the sine. - * @return string|float - */ - public static function IMSIN($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if ($parsedComplex['imaginary'] == 0.0) { - return sin($parsedComplex['real']); - } else { - return self::COMPLEX(sin($parsedComplex['real']) * cosh($parsedComplex['imaginary']),cos($parsedComplex['real']) * sinh($parsedComplex['imaginary']),$parsedComplex['suffix']); - } - } // function IMSIN() - - - /** - * IMSQRT - * - * Returns the square root of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMSQRT(complexNumber) - * - * @param string $complexNumber The complex number for which you want the square root. - * @return string - */ - public static function IMSQRT($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - $theta = self::IMARGUMENT($complexNumber); - $d1 = cos($theta / 2); - $d2 = sin($theta / 2); - $r = sqrt(sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary']))); - - if ($parsedComplex['suffix'] == '') { - return self::COMPLEX($d1 * $r,$d2 * $r); - } else { - return self::COMPLEX($d1 * $r,$d2 * $r,$parsedComplex['suffix']); - } - } // function IMSQRT() - - - /** - * IMLN - * - * Returns the natural logarithm of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMLN(complexNumber) - * - * @param string $complexNumber The complex number for which you want the natural logarithm. - * @return string - */ - public static function IMLN($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $logR = log(sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary']))); - $t = self::IMARGUMENT($complexNumber); - - if ($parsedComplex['suffix'] == '') { - return self::COMPLEX($logR,$t); - } else { - return self::COMPLEX($logR,$t,$parsedComplex['suffix']); - } - } // function IMLN() - - - /** - * IMLOG10 - * - * Returns the common logarithm (base 10) of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMLOG10(complexNumber) - * - * @param string $complexNumber The complex number for which you want the common logarithm. - * @return string - */ - public static function IMLOG10($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (($parsedComplex['real'] > 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return log10($parsedComplex['real']); - } - - return self::IMPRODUCT(log10(EULER),self::IMLN($complexNumber)); - } // function IMLOG10() - - - /** - * IMLOG2 - * - * Returns the base-2 logarithm of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMLOG2(complexNumber) - * - * @param string $complexNumber The complex number for which you want the base-2 logarithm. - * @return string - */ - public static function IMLOG2($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (($parsedComplex['real'] > 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return log($parsedComplex['real'],2); - } - - return self::IMPRODUCT(log(EULER,2),self::IMLN($complexNumber)); - } // function IMLOG2() - - - /** - * IMEXP - * - * Returns the exponential of a complex number in x + yi or x + yj text format. - * - * Excel Function: - * IMEXP(complexNumber) - * - * @param string $complexNumber The complex number for which you want the exponential. - * @return string - */ - public static function IMEXP($complexNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - - $parsedComplex = self::_parseComplex($complexNumber); - - if (($parsedComplex['real'] == 0.0) && ($parsedComplex['imaginary'] == 0.0)) { - return '1'; - } - - $e = exp($parsedComplex['real']); - $eX = $e * cos($parsedComplex['imaginary']); - $eY = $e * sin($parsedComplex['imaginary']); - - if ($parsedComplex['suffix'] == '') { - return self::COMPLEX($eX,$eY); - } else { - return self::COMPLEX($eX,$eY,$parsedComplex['suffix']); - } - } // function IMEXP() - - - /** - * IMPOWER - * - * Returns a complex number in x + yi or x + yj text format raised to a power. - * - * Excel Function: - * IMPOWER(complexNumber,realNumber) - * - * @param string $complexNumber The complex number you want to raise to a power. - * @param float $realNumber The power to which you want to raise the complex number. - * @return string - */ - public static function IMPOWER($complexNumber,$realNumber) { - $complexNumber = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber); - $realNumber = PHPExcel_Calculation_Functions::flattenSingleValue($realNumber); - - if (!is_numeric($realNumber)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $parsedComplex = self::_parseComplex($complexNumber); - - $r = sqrt(($parsedComplex['real'] * $parsedComplex['real']) + ($parsedComplex['imaginary'] * $parsedComplex['imaginary'])); - $rPower = pow($r,$realNumber); - $theta = self::IMARGUMENT($complexNumber) * $realNumber; - if ($theta == 0) { - return 1; - } elseif ($parsedComplex['imaginary'] == 0.0) { - return self::COMPLEX($rPower * cos($theta),$rPower * sin($theta),$parsedComplex['suffix']); - } else { - return self::COMPLEX($rPower * cos($theta),$rPower * sin($theta),$parsedComplex['suffix']); - } - } // function IMPOWER() - - - /** - * IMDIV - * - * Returns the quotient of two complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMDIV(complexDividend,complexDivisor) - * - * @param string $complexDividend The complex numerator or dividend. - * @param string $complexDivisor The complex denominator or divisor. - * @return string - */ - public static function IMDIV($complexDividend,$complexDivisor) { - $complexDividend = PHPExcel_Calculation_Functions::flattenSingleValue($complexDividend); - $complexDivisor = PHPExcel_Calculation_Functions::flattenSingleValue($complexDivisor); - - $parsedComplexDividend = self::_parseComplex($complexDividend); - $parsedComplexDivisor = self::_parseComplex($complexDivisor); - - if (($parsedComplexDividend['suffix'] != '') && ($parsedComplexDivisor['suffix'] != '') && - ($parsedComplexDividend['suffix'] != $parsedComplexDivisor['suffix'])) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($parsedComplexDividend['suffix'] != '') && ($parsedComplexDivisor['suffix'] == '')) { - $parsedComplexDivisor['suffix'] = $parsedComplexDividend['suffix']; - } - - $d1 = ($parsedComplexDividend['real'] * $parsedComplexDivisor['real']) + ($parsedComplexDividend['imaginary'] * $parsedComplexDivisor['imaginary']); - $d2 = ($parsedComplexDividend['imaginary'] * $parsedComplexDivisor['real']) - ($parsedComplexDividend['real'] * $parsedComplexDivisor['imaginary']); - $d3 = ($parsedComplexDivisor['real'] * $parsedComplexDivisor['real']) + ($parsedComplexDivisor['imaginary'] * $parsedComplexDivisor['imaginary']); - - $r = $d1/$d3; - $i = $d2/$d3; - - if ($i > 0.0) { - return self::_cleanComplex($r.'+'.$i.$parsedComplexDivisor['suffix']); - } elseif ($i < 0.0) { - return self::_cleanComplex($r.$i.$parsedComplexDivisor['suffix']); - } else { - return $r; - } - } // function IMDIV() - - - /** - * IMSUB - * - * Returns the difference of two complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMSUB(complexNumber1,complexNumber2) - * - * @param string $complexNumber1 The complex number from which to subtract complexNumber2. - * @param string $complexNumber2 The complex number to subtract from complexNumber1. - * @return string - */ - public static function IMSUB($complexNumber1,$complexNumber2) { - $complexNumber1 = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber1); - $complexNumber2 = PHPExcel_Calculation_Functions::flattenSingleValue($complexNumber2); - - $parsedComplex1 = self::_parseComplex($complexNumber1); - $parsedComplex2 = self::_parseComplex($complexNumber2); - - if ((($parsedComplex1['suffix'] != '') && ($parsedComplex2['suffix'] != '')) && - ($parsedComplex1['suffix'] != $parsedComplex2['suffix'])) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif (($parsedComplex1['suffix'] == '') && ($parsedComplex2['suffix'] != '')) { - $parsedComplex1['suffix'] = $parsedComplex2['suffix']; - } - - $d1 = $parsedComplex1['real'] - $parsedComplex2['real']; - $d2 = $parsedComplex1['imaginary'] - $parsedComplex2['imaginary']; - - return self::COMPLEX($d1,$d2,$parsedComplex1['suffix']); - } // function IMSUB() - - - /** - * IMSUM - * - * Returns the sum of two or more complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMSUM(complexNumber[,complexNumber[,...]]) - * - * @param string $complexNumber,... Series of complex numbers to add - * @return string - */ - public static function IMSUM() { - // Return value - $returnValue = self::_parseComplex('0'); - $activeSuffix = ''; - - // Loop through the arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - $parsedComplex = self::_parseComplex($arg); - - if ($activeSuffix == '') { - $activeSuffix = $parsedComplex['suffix']; - } elseif (($parsedComplex['suffix'] != '') && ($activeSuffix != $parsedComplex['suffix'])) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $returnValue['real'] += $parsedComplex['real']; - $returnValue['imaginary'] += $parsedComplex['imaginary']; - } - - if ($returnValue['imaginary'] == 0.0) { $activeSuffix = ''; } - return self::COMPLEX($returnValue['real'],$returnValue['imaginary'],$activeSuffix); - } // function IMSUM() - - - /** - * IMPRODUCT - * - * Returns the product of two or more complex numbers in x + yi or x + yj text format. - * - * Excel Function: - * IMPRODUCT(complexNumber[,complexNumber[,...]]) - * - * @param string $complexNumber,... Series of complex numbers to multiply - * @return string - */ - public static function IMPRODUCT() { - // Return value - $returnValue = self::_parseComplex('1'); - $activeSuffix = ''; - - // Loop through the arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - $parsedComplex = self::_parseComplex($arg); - - $workValue = $returnValue; - if (($parsedComplex['suffix'] != '') && ($activeSuffix == '')) { - $activeSuffix = $parsedComplex['suffix']; - } elseif (($parsedComplex['suffix'] != '') && ($activeSuffix != $parsedComplex['suffix'])) { - return PHPExcel_Calculation_Functions::NaN(); - } - $returnValue['real'] = ($workValue['real'] * $parsedComplex['real']) - ($workValue['imaginary'] * $parsedComplex['imaginary']); - $returnValue['imaginary'] = ($workValue['real'] * $parsedComplex['imaginary']) + ($workValue['imaginary'] * $parsedComplex['real']); - } - - if ($returnValue['imaginary'] == 0.0) { $activeSuffix = ''; } - return self::COMPLEX($returnValue['real'],$returnValue['imaginary'],$activeSuffix); - } // function IMPRODUCT() - - - /** - * DELTA - * - * Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise. - * Use this function to filter a set of values. For example, by summing several DELTA - * functions you calculate the count of equal pairs. This function is also known as the - * Kronecker Delta function. - * - * Excel Function: - * DELTA(a[,b]) - * - * @param float $a The first number. - * @param float $b The second number. If omitted, b is assumed to be zero. - * @return int - */ - public static function DELTA($a, $b=0) { - $a = PHPExcel_Calculation_Functions::flattenSingleValue($a); - $b = PHPExcel_Calculation_Functions::flattenSingleValue($b); - - return (int) ($a == $b); - } // function DELTA() - - - /** - * GESTEP - * - * Excel Function: - * GESTEP(number[,step]) - * - * Returns 1 if number >= step; returns 0 (zero) otherwise - * Use this function to filter a set of values. For example, by summing several GESTEP - * functions you calculate the count of values that exceed a threshold. - * - * @param float $number The value to test against step. - * @param float $step The threshold value. - * If you omit a value for step, GESTEP uses zero. - * @return int - */ - public static function GESTEP($number, $step=0) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $step = PHPExcel_Calculation_Functions::flattenSingleValue($step); - - return (int) ($number >= $step); - } // function GESTEP() - - - // - // Private method to calculate the erf value - // - private static $_two_sqrtpi = 1.128379167095512574; - - public static function _erfVal($x) { - if (abs($x) > 2.2) { - return 1 - self::_erfcVal($x); - } - $sum = $term = $x; - $xsqr = ($x * $x); - $j = 1; - do { - $term *= $xsqr / $j; - $sum -= $term / (2 * $j + 1); - ++$j; - $term *= $xsqr / $j; - $sum += $term / (2 * $j + 1); - ++$j; - if ($sum == 0.0) { - break; - } - } while (abs($term / $sum) > PRECISION); - return self::$_two_sqrtpi * $sum; - } // function _erfVal() - - - /** - * ERF - * - * Returns the error function integrated between the lower and upper bound arguments. - * - * Note: In Excel 2007 or earlier, if you input a negative value for the upper or lower bound arguments, - * the function would return a #NUM! error. However, in Excel 2010, the function algorithm was - * improved, so that it can now calculate the function for both positive and negative ranges. - * PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments. - * - * Excel Function: - * ERF(lower[,upper]) - * - * @param float $lower lower bound for integrating ERF - * @param float $upper upper bound for integrating ERF. - * If omitted, ERF integrates between zero and lower_limit - * @return float - */ - public static function ERF($lower, $upper = NULL) { - $lower = PHPExcel_Calculation_Functions::flattenSingleValue($lower); - $upper = PHPExcel_Calculation_Functions::flattenSingleValue($upper); - - if (is_numeric($lower)) { - if (is_null($upper)) { - return self::_erfVal($lower); - } - if (is_numeric($upper)) { - return self::_erfVal($upper) - self::_erfVal($lower); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ERF() - - - // - // Private method to calculate the erfc value - // - private static $_one_sqrtpi = 0.564189583547756287; - - private static function _erfcVal($x) { - if (abs($x) < 2.2) { - return 1 - self::_erfVal($x); - } - if ($x < 0) { - return 2 - self::ERFC(-$x); - } - $a = $n = 1; - $b = $c = $x; - $d = ($x * $x) + 0.5; - $q1 = $q2 = $b / $d; - $t = 0; - do { - $t = $a * $n + $b * $x; - $a = $b; - $b = $t; - $t = $c * $n + $d * $x; - $c = $d; - $d = $t; - $n += 0.5; - $q1 = $q2; - $q2 = $b / $d; - } while ((abs($q1 - $q2) / $q2) > PRECISION); - return self::$_one_sqrtpi * exp(-$x * $x) * $q2; - } // function _erfcVal() - - - /** - * ERFC - * - * Returns the complementary ERF function integrated between x and infinity - * - * Note: In Excel 2007 or earlier, if you input a negative value for the lower bound argument, - * the function would return a #NUM! error. However, in Excel 2010, the function algorithm was - * improved, so that it can now calculate the function for both positive and negative x values. - * PHPExcel follows Excel 2010 behaviour, and accepts nagative arguments. - * - * Excel Function: - * ERFC(x) - * - * @param float $x The lower bound for integrating ERFC - * @return float - */ - public static function ERFC($x) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - - if (is_numeric($x)) { - return self::_erfcVal($x); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ERFC() - - - /** - * getConversionGroups - * Returns a list of the different conversion groups for UOM conversions - * - * @return array - */ - public static function getConversionGroups() { - $conversionGroups = array(); - foreach(self::$_conversionUnits as $conversionUnit) { - $conversionGroups[] = $conversionUnit['Group']; - } - return array_merge(array_unique($conversionGroups)); - } // function getConversionGroups() - - - /** - * getConversionGroupUnits - * Returns an array of units of measure, for a specified conversion group, or for all groups - * - * @param string $group The group whose units of measure you want to retrieve - * @return array - */ - public static function getConversionGroupUnits($group = NULL) { - $conversionGroups = array(); - foreach(self::$_conversionUnits as $conversionUnit => $conversionGroup) { - if ((is_null($group)) || ($conversionGroup['Group'] == $group)) { - $conversionGroups[$conversionGroup['Group']][] = $conversionUnit; - } - } - return $conversionGroups; - } // function getConversionGroupUnits() - - - /** - * getConversionGroupUnitDetails - * - * @param string $group The group whose units of measure you want to retrieve - * @return array - */ - public static function getConversionGroupUnitDetails($group = NULL) { - $conversionGroups = array(); - foreach(self::$_conversionUnits as $conversionUnit => $conversionGroup) { - if ((is_null($group)) || ($conversionGroup['Group'] == $group)) { - $conversionGroups[$conversionGroup['Group']][] = array( 'unit' => $conversionUnit, - 'description' => $conversionGroup['Unit Name'] - ); - } - } - return $conversionGroups; - } // function getConversionGroupUnitDetails() - - - /** - * getConversionMultipliers - * Returns an array of the Multiplier prefixes that can be used with Units of Measure in CONVERTUOM() - * - * @return array of mixed - */ - public static function getConversionMultipliers() { - return self::$_conversionMultipliers; - } // function getConversionGroups() - - - /** - * CONVERTUOM - * - * Converts a number from one measurement system to another. - * For example, CONVERT can translate a table of distances in miles to a table of distances - * in kilometers. - * - * Excel Function: - * CONVERT(value,fromUOM,toUOM) - * - * @param float $value The value in fromUOM to convert. - * @param string $fromUOM The units for value. - * @param string $toUOM The units for the result. - * - * @return float - */ - public static function CONVERTUOM($value, $fromUOM, $toUOM) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $fromUOM = PHPExcel_Calculation_Functions::flattenSingleValue($fromUOM); - $toUOM = PHPExcel_Calculation_Functions::flattenSingleValue($toUOM); - - if (!is_numeric($value)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $fromMultiplier = 1.0; - if (isset(self::$_conversionUnits[$fromUOM])) { - $unitGroup1 = self::$_conversionUnits[$fromUOM]['Group']; - } else { - $fromMultiplier = substr($fromUOM,0,1); - $fromUOM = substr($fromUOM,1); - if (isset(self::$_conversionMultipliers[$fromMultiplier])) { - $fromMultiplier = self::$_conversionMultipliers[$fromMultiplier]['multiplier']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - if ((isset(self::$_conversionUnits[$fromUOM])) && (self::$_conversionUnits[$fromUOM]['AllowPrefix'])) { - $unitGroup1 = self::$_conversionUnits[$fromUOM]['Group']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - } - $value *= $fromMultiplier; - - $toMultiplier = 1.0; - if (isset(self::$_conversionUnits[$toUOM])) { - $unitGroup2 = self::$_conversionUnits[$toUOM]['Group']; - } else { - $toMultiplier = substr($toUOM,0,1); - $toUOM = substr($toUOM,1); - if (isset(self::$_conversionMultipliers[$toMultiplier])) { - $toMultiplier = self::$_conversionMultipliers[$toMultiplier]['multiplier']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - if ((isset(self::$_conversionUnits[$toUOM])) && (self::$_conversionUnits[$toUOM]['AllowPrefix'])) { - $unitGroup2 = self::$_conversionUnits[$toUOM]['Group']; - } else { - return PHPExcel_Calculation_Functions::NA(); - } - } - if ($unitGroup1 != $unitGroup2) { - return PHPExcel_Calculation_Functions::NA(); - } - - if (($fromUOM == $toUOM) && ($fromMultiplier == $toMultiplier)) { - // We've already factored $fromMultiplier into the value, so we need - // to reverse it again - return $value / $fromMultiplier; - } elseif ($unitGroup1 == 'Temperature') { - if (($fromUOM == 'F') || ($fromUOM == 'fah')) { - if (($toUOM == 'F') || ($toUOM == 'fah')) { - return $value; - } else { - $value = (($value - 32) / 1.8); - if (($toUOM == 'K') || ($toUOM == 'kel')) { - $value += 273.15; - } - return $value; - } - } elseif ((($fromUOM == 'K') || ($fromUOM == 'kel')) && - (($toUOM == 'K') || ($toUOM == 'kel'))) { - return $value; - } elseif ((($fromUOM == 'C') || ($fromUOM == 'cel')) && - (($toUOM == 'C') || ($toUOM == 'cel'))) { - return $value; - } - if (($toUOM == 'F') || ($toUOM == 'fah')) { - if (($fromUOM == 'K') || ($fromUOM == 'kel')) { - $value -= 273.15; - } - return ($value * 1.8) + 32; - } - if (($toUOM == 'C') || ($toUOM == 'cel')) { - return $value - 273.15; - } - return $value + 273.15; - } - return ($value * self::$_unitConversions[$unitGroup1][$fromUOM][$toUOM]) / $toMultiplier; - } // function CONVERTUOM() - -} // class PHPExcel_Calculation_Engineering diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Exception.php deleted file mode 100644 index 2ddf666df..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Calculation_Exception - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Exception extends PHPExcel_Exception { - /** - * Error handler callback - * - * @param mixed $code - * @param mixed $string - * @param mixed $file - * @param mixed $line - * @param mixed $context - */ - public static function errorHandlerCallback($code, $string, $file, $line, $context) { - $e = new self($string, $code); - $e->line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/ExceptionHandler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/ExceptionHandler.php deleted file mode 100644 index 41c42d7ac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/ExceptionHandler.php +++ /dev/null @@ -1,49 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Calculation_ExceptionHandler - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_ExceptionHandler { - /** - * Register errorhandler - */ - public function __construct() { - set_error_handler(array('PHPExcel_Calculation_Exception', 'errorHandlerCallback'), E_ALL); - } - - /** - * Unregister errorhandler - */ - public function __destruct() { - restore_error_handler(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Financial.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Financial.php deleted file mode 100644 index 912a26961..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Financial.php +++ /dev/null @@ -1,2292 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** FINANCIAL_MAX_ITERATIONS */ -define('FINANCIAL_MAX_ITERATIONS', 128); - -/** FINANCIAL_PRECISION */ -define('FINANCIAL_PRECISION', 1.0e-08); - - -/** - * PHPExcel_Calculation_Financial - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Financial { - - /** - * _lastDayOfMonth - * - * Returns a boolean TRUE/FALSE indicating if this date is the last date of the month - * - * @param DateTime $testDate The date for testing - * @return boolean - */ - private static function _lastDayOfMonth($testDate) - { - return ($testDate->format('d') == $testDate->format('t')); - } // function _lastDayOfMonth() - - - /** - * _firstDayOfMonth - * - * Returns a boolean TRUE/FALSE indicating if this date is the first date of the month - * - * @param DateTime $testDate The date for testing - * @return boolean - */ - private static function _firstDayOfMonth($testDate) - { - return ($testDate->format('d') == 1); - } // function _firstDayOfMonth() - - - private static function _coupFirstPeriodDate($settlement, $maturity, $frequency, $next) - { - $months = 12 / $frequency; - - $result = PHPExcel_Shared_Date::ExcelToPHPObject($maturity); - $eom = self::_lastDayOfMonth($result); - - while ($settlement < PHPExcel_Shared_Date::PHPToExcel($result)) { - $result->modify('-'.$months.' months'); - } - if ($next) { - $result->modify('+'.$months.' months'); - } - - if ($eom) { - $result->modify('-1 day'); - } - - return PHPExcel_Shared_Date::PHPToExcel($result); - } // function _coupFirstPeriodDate() - - - private static function _validFrequency($frequency) - { - if (($frequency == 1) || ($frequency == 2) || ($frequency == 4)) { - return true; - } - if ((PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) && - (($frequency == 6) || ($frequency == 12))) { - return true; - } - return false; - } // function _validFrequency() - - - /** - * _daysPerYear - * - * Returns the number of days in a specified year, as defined by the "basis" value - * - * @param integer $year The year against which we're testing - * @param integer $basis The type of day count: - * 0 or omitted US (NASD) 360 - * 1 Actual (365 or 366 in a leap year) - * 2 360 - * 3 365 - * 4 European 360 - * @return integer - */ - private static function _daysPerYear($year, $basis=0) - { - switch ($basis) { - case 0 : - case 2 : - case 4 : - $daysPerYear = 360; - break; - case 3 : - $daysPerYear = 365; - break; - case 1 : - $daysPerYear = (PHPExcel_Calculation_DateTime::_isLeapYear($year)) ? 366 : 365; - break; - default : - return PHPExcel_Calculation_Functions::NaN(); - } - return $daysPerYear; - } // function _daysPerYear() - - - private static function _interestAndPrincipal($rate=0, $per=0, $nper=0, $pv=0, $fv=0, $type=0) - { - $pmt = self::PMT($rate, $nper, $pv, $fv, $type); - $capital = $pv; - for ($i = 1; $i<= $per; ++$i) { - $interest = ($type && $i == 1) ? 0 : -$capital * $rate; - $principal = $pmt - $interest; - $capital += $principal; - } - return array($interest, $principal); - } // function _interestAndPrincipal() - - - /** - * ACCRINT - * - * Returns the accrued interest for a security that pays periodic interest. - * - * Excel Function: - * ACCRINT(issue,firstinterest,settlement,rate,par,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed $issue The security's issue date. - * @param mixed $firstinterest The security's first interest date. - * @param mixed $settlement The security's settlement date. - * The security settlement date is the date after the issue date - * when the security is traded to the buyer. - * @param float $rate The security's annual coupon rate. - * @param float $par The security's par value. - * If you omit par, ACCRINT uses $1,000. - * @param integer $frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer $basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function ACCRINT($issue, $firstinterest, $settlement, $rate, $par=1000, $frequency=1, $basis=0) - { - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $firstinterest = PHPExcel_Calculation_Functions::flattenSingleValue($firstinterest); - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $par = (is_null($par)) ? 1000 : PHPExcel_Calculation_Functions::flattenSingleValue($par); - $frequency = (is_null($frequency)) ? 1 : PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($rate)) && (is_numeric($par))) { - $rate = (float) $rate; - $par = (float) $par; - if (($rate <= 0) || ($par <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - - return $par * $rate * $daysBetweenIssueAndSettlement; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ACCRINT() - - - /** - * ACCRINTM - * - * Returns the accrued interest for a security that pays interest at maturity. - * - * Excel Function: - * ACCRINTM(issue,settlement,rate[,par[,basis]]) - * - * @access public - * @category Financial Functions - * @param mixed issue The security's issue date. - * @param mixed settlement The security's settlement (or maturity) date. - * @param float rate The security's annual coupon rate. - * @param float par The security's par value. - * If you omit par, ACCRINT uses $1,000. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function ACCRINTM($issue, $settlement, $rate, $par=1000, $basis=0) { - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $par = (is_null($par)) ? 1000 : PHPExcel_Calculation_Functions::flattenSingleValue($par); - $basis = (is_null($basis)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($rate)) && (is_numeric($par))) { - $rate = (float) $rate; - $par = (float) $par; - if (($rate <= 0) || ($par <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - return $par * $rate * $daysBetweenIssueAndSettlement; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ACCRINTM() - - - /** - * AMORDEGRC - * - * Returns the depreciation for each accounting period. - * This function is provided for the French accounting system. If an asset is purchased in - * the middle of the accounting period, the prorated depreciation is taken into account. - * The function is similar to AMORLINC, except that a depreciation coefficient is applied in - * the calculation depending on the life of the assets. - * This function will return the depreciation until the last period of the life of the assets - * or until the cumulated value of depreciation is greater than the cost of the assets minus - * the salvage value. - * - * Excel Function: - * AMORDEGRC(cost,purchased,firstPeriod,salvage,period,rate[,basis]) - * - * @access public - * @category Financial Functions - * @param float cost The cost of the asset. - * @param mixed purchased Date of the purchase of the asset. - * @param mixed firstPeriod Date of the end of the first period. - * @param mixed salvage The salvage value at the end of the life of the asset. - * @param float period The period. - * @param float rate Rate of depreciation. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function AMORDEGRC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis=0) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $purchased = PHPExcel_Calculation_Functions::flattenSingleValue($purchased); - $firstPeriod = PHPExcel_Calculation_Functions::flattenSingleValue($firstPeriod); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $period = floor(PHPExcel_Calculation_Functions::flattenSingleValue($period)); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // The depreciation coefficients are: - // Life of assets (1/rate) Depreciation coefficient - // Less than 3 years 1 - // Between 3 and 4 years 1.5 - // Between 5 and 6 years 2 - // More than 6 years 2.5 - $fUsePer = 1.0 / $rate; - if ($fUsePer < 3.0) { - $amortiseCoeff = 1.0; - } elseif ($fUsePer < 5.0) { - $amortiseCoeff = 1.5; - } elseif ($fUsePer <= 6.0) { - $amortiseCoeff = 2.0; - } else { - $amortiseCoeff = 2.5; - } - - $rate *= $amortiseCoeff; - $fNRate = round(PHPExcel_Calculation_DateTime::YEARFRAC($purchased, $firstPeriod, $basis) * $rate * $cost,0); - $cost -= $fNRate; - $fRest = $cost - $salvage; - - for ($n = 0; $n < $period; ++$n) { - $fNRate = round($rate * $cost,0); - $fRest -= $fNRate; - - if ($fRest < 0.0) { - switch ($period - $n) { - case 0 : - case 1 : return round($cost * 0.5, 0); - break; - default : return 0.0; - break; - } - } - $cost -= $fNRate; - } - return $fNRate; - } // function AMORDEGRC() - - - /** - * AMORLINC - * - * Returns the depreciation for each accounting period. - * This function is provided for the French accounting system. If an asset is purchased in - * the middle of the accounting period, the prorated depreciation is taken into account. - * - * Excel Function: - * AMORLINC(cost,purchased,firstPeriod,salvage,period,rate[,basis]) - * - * @access public - * @category Financial Functions - * @param float cost The cost of the asset. - * @param mixed purchased Date of the purchase of the asset. - * @param mixed firstPeriod Date of the end of the first period. - * @param mixed salvage The salvage value at the end of the life of the asset. - * @param float period The period. - * @param float rate Rate of depreciation. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function AMORLINC($cost, $purchased, $firstPeriod, $salvage, $period, $rate, $basis=0) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $purchased = PHPExcel_Calculation_Functions::flattenSingleValue($purchased); - $firstPeriod = PHPExcel_Calculation_Functions::flattenSingleValue($firstPeriod); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - $fOneRate = $cost * $rate; - $fCostDelta = $cost - $salvage; - // Note, quirky variation for leap years on the YEARFRAC for this function - $purchasedYear = PHPExcel_Calculation_DateTime::YEAR($purchased); - $yearFrac = PHPExcel_Calculation_DateTime::YEARFRAC($purchased, $firstPeriod, $basis); - - if (($basis == 1) && ($yearFrac < 1) && (PHPExcel_Calculation_DateTime::_isLeapYear($purchasedYear))) { - $yearFrac *= 365 / 366; - } - - $f0Rate = $yearFrac * $rate * $cost; - $nNumOfFullPeriods = intval(($cost - $salvage - $f0Rate) / $fOneRate); - - if ($period == 0) { - return $f0Rate; - } elseif ($period <= $nNumOfFullPeriods) { - return $fOneRate; - } elseif ($period == ($nNumOfFullPeriods + 1)) { - return ($fCostDelta - $fOneRate * $nNumOfFullPeriods - $f0Rate); - } else { - return 0.0; - } - } // function AMORLINC() - - - /** - * COUPDAYBS - * - * Returns the number of days from the beginning of the coupon period to the settlement date. - * - * Excel Function: - * COUPDAYBS(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function COUPDAYBS($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - $prev = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, False); - - return PHPExcel_Calculation_DateTime::YEARFRAC($prev, $settlement, $basis) * $daysPerYear; - } // function COUPDAYBS() - - - /** - * COUPDAYS - * - * Returns the number of days in the coupon period that contains the settlement date. - * - * Excel Function: - * COUPDAYS(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function COUPDAYS($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - switch ($basis) { - case 3: // Actual/365 - return 365 / $frequency; - case 1: // Actual/actual - if ($frequency == 1) { - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($maturity),$basis); - return ($daysPerYear / $frequency); - } else { - $prev = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, False); - $next = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - return ($next - $prev); - } - default: // US (NASD) 30/360, Actual/360 or European 30/360 - return 360 / $frequency; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function COUPDAYS() - - - /** - * COUPDAYSNC - * - * Returns the number of days from the settlement date to the next coupon date. - * - * Excel Function: - * COUPDAYSNC(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function COUPDAYSNC($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - $next = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - - return PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $next, $basis) * $daysPerYear; - } // function COUPDAYSNC() - - - /** - * COUPNCD - * - * Returns the next coupon date after the settlement date. - * - * Excel Function: - * COUPNCD(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function COUPNCD($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - } // function COUPNCD() - - - /** - * COUPNUM - * - * Returns the number of coupons payable between the settlement date and maturity date, - * rounded up to the nearest whole coupon. - * - * Excel Function: - * COUPNUM(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return integer - */ - public static function COUPNUM($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $settlement = self::_coupFirstPeriodDate($settlement, $maturity, $frequency, True); - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis) * 365; - - switch ($frequency) { - case 1: // annual payments - return ceil($daysBetweenSettlementAndMaturity / 360); - case 2: // half-yearly - return ceil($daysBetweenSettlementAndMaturity / 180); - case 4: // quarterly - return ceil($daysBetweenSettlementAndMaturity / 90); - case 6: // bimonthly - return ceil($daysBetweenSettlementAndMaturity / 60); - case 12: // monthly - return ceil($daysBetweenSettlementAndMaturity / 30); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function COUPNUM() - - - /** - * COUPPCD - * - * Returns the previous coupon date before the settlement date. - * - * Excel Function: - * COUPPCD(settlement,maturity,frequency[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed frequency the number of coupon payments per year. - * Valid frequency values are: - * 1 Annual - * 2 Semi-Annual - * 4 Quarterly - * If working in Gnumeric Mode, the following frequency options are - * also available - * 6 Bimonthly - * 12 Monthly - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return mixed Excel date/time serial value, PHP date/time serial value or PHP date/time object, - * depending on the value of the ReturnDateType flag - */ - public static function COUPPCD($settlement, $maturity, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return self::_coupFirstPeriodDate($settlement, $maturity, $frequency, False); - } // function COUPPCD() - - - /** - * CUMIPMT - * - * Returns the cumulative interest paid on a loan between the start and end periods. - * - * Excel Function: - * CUMIPMT(rate,nper,pv,start,end[,type]) - * - * @access public - * @category Financial Functions - * @param float $rate The Interest rate - * @param integer $nper The total number of payment periods - * @param float $pv Present Value - * @param integer $start The first period in the calculation. - * Payment periods are numbered beginning with 1. - * @param integer $end The last period in the calculation. - * @param integer $type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @return float - */ - public static function CUMIPMT($rate, $nper, $pv, $start, $end, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $start = (int) PHPExcel_Calculation_Functions::flattenSingleValue($start); - $end = (int) PHPExcel_Calculation_Functions::flattenSingleValue($end); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($start < 1 || $start > $end) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $interest = 0; - for ($per = $start; $per <= $end; ++$per) { - $interest += self::IPMT($rate, $per, $nper, $pv, 0, $type); - } - - return $interest; - } // function CUMIPMT() - - - /** - * CUMPRINC - * - * Returns the cumulative principal paid on a loan between the start and end periods. - * - * Excel Function: - * CUMPRINC(rate,nper,pv,start,end[,type]) - * - * @access public - * @category Financial Functions - * @param float $rate The Interest rate - * @param integer $nper The total number of payment periods - * @param float $pv Present Value - * @param integer $start The first period in the calculation. - * Payment periods are numbered beginning with 1. - * @param integer $end The last period in the calculation. - * @param integer $type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @return float - */ - public static function CUMPRINC($rate, $nper, $pv, $start, $end, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $start = (int) PHPExcel_Calculation_Functions::flattenSingleValue($start); - $end = (int) PHPExcel_Calculation_Functions::flattenSingleValue($end); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($start < 1 || $start > $end) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $principal = 0; - for ($per = $start; $per <= $end; ++$per) { - $principal += self::PPMT($rate, $per, $nper, $pv, 0, $type); - } - - return $principal; - } // function CUMPRINC() - - - /** - * DB - * - * Returns the depreciation of an asset for a specified period using the - * fixed-declining balance method. - * This form of depreciation is used if you want to get a higher depreciation value - * at the beginning of the depreciation (as opposed to linear depreciation). The - * depreciation value is reduced with every depreciation period by the depreciation - * already deducted from the initial cost. - * - * Excel Function: - * DB(cost,salvage,life,period[,month]) - * - * @access public - * @category Financial Functions - * @param float cost Initial cost of the asset. - * @param float salvage Value at the end of the depreciation. - * (Sometimes called the salvage value of the asset) - * @param integer life Number of periods over which the asset is depreciated. - * (Sometimes called the useful life of the asset) - * @param integer period The period for which you want to calculate the - * depreciation. Period must use the same units as life. - * @param integer month Number of months in the first year. If month is omitted, - * it defaults to 12. - * @return float - */ - public static function DB($cost, $salvage, $life, $period, $month=12) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - $month = PHPExcel_Calculation_Functions::flattenSingleValue($month); - - // Validate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period)) && (is_numeric($month))) { - $cost = (float) $cost; - $salvage = (float) $salvage; - $life = (int) $life; - $period = (int) $period; - $month = (int) $month; - if ($cost == 0) { - return 0.0; - } elseif (($cost < 0) || (($salvage / $cost) < 0) || ($life <= 0) || ($period < 1) || ($month < 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - // Set Fixed Depreciation Rate - $fixedDepreciationRate = 1 - pow(($salvage / $cost), (1 / $life)); - $fixedDepreciationRate = round($fixedDepreciationRate, 3); - - // Loop through each period calculating the depreciation - $previousDepreciation = 0; - for ($per = 1; $per <= $period; ++$per) { - if ($per == 1) { - $depreciation = $cost * $fixedDepreciationRate * $month / 12; - } elseif ($per == ($life + 1)) { - $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate * (12 - $month) / 12; - } else { - $depreciation = ($cost - $previousDepreciation) * $fixedDepreciationRate; - } - $previousDepreciation += $depreciation; - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $depreciation = round($depreciation,2); - } - return $depreciation; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DB() - - - /** - * DDB - * - * Returns the depreciation of an asset for a specified period using the - * double-declining balance method or some other method you specify. - * - * Excel Function: - * DDB(cost,salvage,life,period[,factor]) - * - * @access public - * @category Financial Functions - * @param float cost Initial cost of the asset. - * @param float salvage Value at the end of the depreciation. - * (Sometimes called the salvage value of the asset) - * @param integer life Number of periods over which the asset is depreciated. - * (Sometimes called the useful life of the asset) - * @param integer period The period for which you want to calculate the - * depreciation. Period must use the same units as life. - * @param float factor The rate at which the balance declines. - * If factor is omitted, it is assumed to be 2 (the - * double-declining balance method). - * @return float - */ - public static function DDB($cost, $salvage, $life, $period, $factor=2.0) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - $factor = PHPExcel_Calculation_Functions::flattenSingleValue($factor); - - // Validate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period)) && (is_numeric($factor))) { - $cost = (float) $cost; - $salvage = (float) $salvage; - $life = (int) $life; - $period = (int) $period; - $factor = (float) $factor; - if (($cost <= 0) || (($salvage / $cost) < 0) || ($life <= 0) || ($period < 1) || ($factor <= 0.0) || ($period > $life)) { - return PHPExcel_Calculation_Functions::NaN(); - } - // Set Fixed Depreciation Rate - $fixedDepreciationRate = 1 - pow(($salvage / $cost), (1 / $life)); - $fixedDepreciationRate = round($fixedDepreciationRate, 3); - - // Loop through each period calculating the depreciation - $previousDepreciation = 0; - for ($per = 1; $per <= $period; ++$per) { - $depreciation = min( ($cost - $previousDepreciation) * ($factor / $life), ($cost - $salvage - $previousDepreciation) ); - $previousDepreciation += $depreciation; - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - $depreciation = round($depreciation,2); - } - return $depreciation; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DDB() - - - /** - * DISC - * - * Returns the discount rate for a security. - * - * Excel Function: - * DISC(settlement,maturity,price,redemption[,basis]) - * - * @access public - * @category Financial Functions - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue - * date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param integer price The security's price per $100 face value. - * @param integer redemption The security's redemption value per $100 face value. - * @param integer basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function DISC($settlement, $maturity, $price, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - $redemption = PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($price)) && (is_numeric($redemption)) && (is_numeric($basis))) { - $price = (float) $price; - $redemption = (float) $redemption; - $basis = (int) $basis; - if (($price <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return ((1 - $price / $redemption) / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function DISC() - - - /** - * DOLLARDE - * - * Converts a dollar price expressed as an integer part and a fraction - * part into a dollar price expressed as a decimal number. - * Fractional dollar numbers are sometimes used for security prices. - * - * Excel Function: - * DOLLARDE(fractional_dollar,fraction) - * - * @access public - * @category Financial Functions - * @param float $fractional_dollar Fractional Dollar - * @param integer $fraction Fraction - * @return float - */ - public static function DOLLARDE($fractional_dollar = Null, $fraction = 0) { - $fractional_dollar = PHPExcel_Calculation_Functions::flattenSingleValue($fractional_dollar); - $fraction = (int)PHPExcel_Calculation_Functions::flattenSingleValue($fraction); - - // Validate parameters - if (is_null($fractional_dollar) || $fraction < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($fraction == 0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $dollars = floor($fractional_dollar); - $cents = fmod($fractional_dollar,1); - $cents /= $fraction; - $cents *= pow(10,ceil(log10($fraction))); - return $dollars + $cents; - } // function DOLLARDE() - - - /** - * DOLLARFR - * - * Converts a dollar price expressed as a decimal number into a dollar price - * expressed as a fraction. - * Fractional dollar numbers are sometimes used for security prices. - * - * Excel Function: - * DOLLARFR(decimal_dollar,fraction) - * - * @access public - * @category Financial Functions - * @param float $decimal_dollar Decimal Dollar - * @param integer $fraction Fraction - * @return float - */ - public static function DOLLARFR($decimal_dollar = Null, $fraction = 0) { - $decimal_dollar = PHPExcel_Calculation_Functions::flattenSingleValue($decimal_dollar); - $fraction = (int)PHPExcel_Calculation_Functions::flattenSingleValue($fraction); - - // Validate parameters - if (is_null($decimal_dollar) || $fraction < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($fraction == 0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $dollars = floor($decimal_dollar); - $cents = fmod($decimal_dollar,1); - $cents *= $fraction; - $cents *= pow(10,-ceil(log10($fraction))); - return $dollars + $cents; - } // function DOLLARFR() - - - /** - * EFFECT - * - * Returns the effective interest rate given the nominal rate and the number of - * compounding payments per year. - * - * Excel Function: - * EFFECT(nominal_rate,npery) - * - * @access public - * @category Financial Functions - * @param float $nominal_rate Nominal interest rate - * @param integer $npery Number of compounding payments per year - * @return float - */ - public static function EFFECT($nominal_rate = 0, $npery = 0) { - $nominal_rate = PHPExcel_Calculation_Functions::flattenSingleValue($nominal_rate); - $npery = (int)PHPExcel_Calculation_Functions::flattenSingleValue($npery); - - // Validate parameters - if ($nominal_rate <= 0 || $npery < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return pow((1 + $nominal_rate / $npery), $npery) - 1; - } // function EFFECT() - - - /** - * FV - * - * Returns the Future Value of a cash flow with constant payments and interest rate (annuities). - * - * Excel Function: - * FV(rate,nper,pmt[,pv[,type]]) - * - * @access public - * @category Financial Functions - * @param float $rate The interest rate per period - * @param int $nper Total number of payment periods in an annuity - * @param float $pmt The payment made each period: it cannot change over the - * life of the annuity. Typically, pmt contains principal - * and interest but no other fees or taxes. - * @param float $pv Present Value, or the lump-sum amount that a series of - * future payments is worth right now. - * @param integer $type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @return float - */ - public static function FV($rate = 0, $nper = 0, $pmt = 0, $pv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - return -$pv * pow(1 + $rate, $nper) - $pmt * (1 + $rate * $type) * (pow(1 + $rate, $nper) - 1) / $rate; - } else { - return -$pv - $pmt * $nper; - } - } // function FV() - - - /** - * FVSCHEDULE - * - * Returns the future value of an initial principal after applying a series of compound interest rates. - * Use FVSCHEDULE to calculate the future value of an investment with a variable or adjustable rate. - * - * Excel Function: - * FVSCHEDULE(principal,schedule) - * - * @param float $principal The present value. - * @param float[] $schedule An array of interest rates to apply. - * @return float - */ - public static function FVSCHEDULE($principal, $schedule) { - $principal = PHPExcel_Calculation_Functions::flattenSingleValue($principal); - $schedule = PHPExcel_Calculation_Functions::flattenArray($schedule); - - foreach($schedule as $rate) { - $principal *= 1 + $rate; - } - - return $principal; - } // function FVSCHEDULE() - - - /** - * INTRATE - * - * Returns the interest rate for a fully invested security. - * - * Excel Function: - * INTRATE(settlement,maturity,investment,redemption[,basis]) - * - * @param mixed $settlement The security's settlement date. - * The security settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed $maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param integer $investment The amount invested in the security. - * @param integer $redemption The amount to be received at maturity. - * @param integer $basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function INTRATE($settlement, $maturity, $investment, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $investment = PHPExcel_Calculation_Functions::flattenSingleValue($investment); - $redemption = PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($investment)) && (is_numeric($redemption)) && (is_numeric($basis))) { - $investment = (float) $investment; - $redemption = (float) $redemption; - $basis = (int) $basis; - if (($investment <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return (($redemption / $investment) - 1) / ($daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function INTRATE() - - - /** - * IPMT - * - * Returns the interest payment for a given period for an investment based on periodic, constant payments and a constant interest rate. - * - * Excel Function: - * IPMT(rate,per,nper,pv[,fv][,type]) - * - * @param float $rate Interest rate per period - * @param int $per Period for which we want to find the interest - * @param int $nper Number of periods - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function IPMT($rate, $per, $nper, $pv, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $per = (int) PHPExcel_Calculation_Functions::flattenSingleValue($per); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($per <= 0 || $per > $nper) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $interestAndPrincipal = self::_interestAndPrincipal($rate, $per, $nper, $pv, $fv, $type); - return $interestAndPrincipal[0]; - } // function IPMT() - - /** - * IRR - * - * Returns the internal rate of return for a series of cash flows represented by the numbers in values. - * These cash flows do not have to be even, as they would be for an annuity. However, the cash flows must occur - * at regular intervals, such as monthly or annually. The internal rate of return is the interest rate received - * for an investment consisting of payments (negative values) and income (positive values) that occur at regular - * periods. - * - * Excel Function: - * IRR(values[,guess]) - * - * @param float[] $values An array or a reference to cells that contain numbers for which you want - * to calculate the internal rate of return. - * Values must contain at least one positive value and one negative value to - * calculate the internal rate of return. - * @param float $guess A number that you guess is close to the result of IRR - * @return float - */ - public static function IRR($values, $guess = 0.1) { - if (!is_array($values)) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $guess = PHPExcel_Calculation_Functions::flattenSingleValue($guess); - - // create an initial range, with a root somewhere between 0 and guess - $x1 = 0.0; - $x2 = $guess; - $f1 = self::NPV($x1, $values); - $f2 = self::NPV($x2, $values); - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - if (($f1 * $f2) < 0.0) break; - if (abs($f1) < abs($f2)) { - $f1 = self::NPV($x1 += 1.6 * ($x1 - $x2), $values); - } else { - $f2 = self::NPV($x2 += 1.6 * ($x2 - $x1), $values); - } - } - if (($f1 * $f2) > 0.0) return PHPExcel_Calculation_Functions::VALUE(); - - $f = self::NPV($x1, $values); - if ($f < 0.0) { - $rtb = $x1; - $dx = $x2 - $x1; - } else { - $rtb = $x2; - $dx = $x1 - $x2; - } - - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - $dx *= 0.5; - $x_mid = $rtb + $dx; - $f_mid = self::NPV($x_mid, $values); - if ($f_mid <= 0.0) - $rtb = $x_mid; - if ((abs($f_mid) < FINANCIAL_PRECISION) || (abs($dx) < FINANCIAL_PRECISION)) - return $x_mid; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function IRR() - - - /** - * ISPMT - * - * Returns the interest payment for an investment based on an interest rate and a constant payment schedule. - * - * Excel Function: - * =ISPMT(interest_rate, period, number_payments, PV) - * - * interest_rate is the interest rate for the investment - * - * period is the period to calculate the interest rate. It must be betweeen 1 and number_payments. - * - * number_payments is the number of payments for the annuity - * - * PV is the loan amount or present value of the payments - */ - public static function ISPMT() { - // Return value - $returnValue = 0; - - // Get the parameters - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $interestRate = array_shift($aArgs); - $period = array_shift($aArgs); - $numberPeriods = array_shift($aArgs); - $principleRemaining = array_shift($aArgs); - - // Calculate - $principlePayment = ($principleRemaining * 1.0) / ($numberPeriods * 1.0); - for($i=0; $i <= $period; ++$i) { - $returnValue = $interestRate * $principleRemaining * -1; - $principleRemaining -= $principlePayment; - // principle needs to be 0 after the last payment, don't let floating point screw it up - if($i == $numberPeriods) { - $returnValue = 0; - } - } - return($returnValue); - } // function ISPMT() - - - /** - * MIRR - * - * Returns the modified internal rate of return for a series of periodic cash flows. MIRR considers both - * the cost of the investment and the interest received on reinvestment of cash. - * - * Excel Function: - * MIRR(values,finance_rate, reinvestment_rate) - * - * @param float[] $values An array or a reference to cells that contain a series of payments and - * income occurring at regular intervals. - * Payments are negative value, income is positive values. - * @param float $finance_rate The interest rate you pay on the money used in the cash flows - * @param float $reinvestment_rate The interest rate you receive on the cash flows as you reinvest them - * @return float - */ - public static function MIRR($values, $finance_rate, $reinvestment_rate) { - if (!is_array($values)) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $finance_rate = PHPExcel_Calculation_Functions::flattenSingleValue($finance_rate); - $reinvestment_rate = PHPExcel_Calculation_Functions::flattenSingleValue($reinvestment_rate); - $n = count($values); - - $rr = 1.0 + $reinvestment_rate; - $fr = 1.0 + $finance_rate; - - $npv_pos = $npv_neg = 0.0; - foreach($values as $i => $v) { - if ($v >= 0) { - $npv_pos += $v / pow($rr, $i); - } else { - $npv_neg += $v / pow($fr, $i); - } - } - - if (($npv_neg == 0) || ($npv_pos == 0) || ($reinvestment_rate <= -1)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $mirr = pow((-$npv_pos * pow($rr, $n)) - / ($npv_neg * ($rr)), (1.0 / ($n - 1))) - 1.0; - - return (is_finite($mirr) ? $mirr : PHPExcel_Calculation_Functions::VALUE()); - } // function MIRR() - - - /** - * NOMINAL - * - * Returns the nominal interest rate given the effective rate and the number of compounding payments per year. - * - * @param float $effect_rate Effective interest rate - * @param int $npery Number of compounding payments per year - * @return float - */ - public static function NOMINAL($effect_rate = 0, $npery = 0) { - $effect_rate = PHPExcel_Calculation_Functions::flattenSingleValue($effect_rate); - $npery = (int)PHPExcel_Calculation_Functions::flattenSingleValue($npery); - - // Validate parameters - if ($effect_rate <= 0 || $npery < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - return $npery * (pow($effect_rate + 1, 1 / $npery) - 1); - } // function NOMINAL() - - - /** - * NPER - * - * Returns the number of periods for a cash flow with constant periodic payments (annuities), and interest rate. - * - * @param float $rate Interest rate per period - * @param int $pmt Periodic payment (annuity) - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function NPER($rate = 0, $pmt = 0, $pv = 0, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - if ($pmt == 0 && $pv == 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return log(($pmt * (1 + $rate * $type) / $rate - $fv) / ($pv + $pmt * (1 + $rate * $type) / $rate)) / log(1 + $rate); - } else { - if ($pmt == 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return (-$pv -$fv) / $pmt; - } - } // function NPER() - - /** - * NPV - * - * Returns the Net Present Value of a cash flow series given a discount rate. - * - * @return float - */ - public static function NPV() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $rate = array_shift($aArgs); - for ($i = 1; $i <= count($aArgs); ++$i) { - // Is it a numeric value? - if (is_numeric($aArgs[$i - 1])) { - $returnValue += $aArgs[$i - 1] / pow(1 + $rate, $i); - } - } - - // Return - return $returnValue; - } // function NPV() - - /** - * PMT - * - * Returns the constant payment (annuity) for a cash flow with a constant interest rate. - * - * @param float $rate Interest rate per period - * @param int $nper Number of periods - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function PMT($rate = 0, $nper = 0, $pv = 0, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - return (-$fv - $pv * pow(1 + $rate, $nper)) / (1 + $rate * $type) / ((pow(1 + $rate, $nper) - 1) / $rate); - } else { - return (-$pv - $fv) / $nper; - } - } // function PMT() - - - /** - * PPMT - * - * Returns the interest payment for a given period for an investment based on periodic, constant payments and a constant interest rate. - * - * @param float $rate Interest rate per period - * @param int $per Period for which we want to find the interest - * @param int $nper Number of periods - * @param float $pv Present Value - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function PPMT($rate, $per, $nper, $pv, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $per = (int) PHPExcel_Calculation_Functions::flattenSingleValue($per); - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($per <= 0 || $per > $nper) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Calculate - $interestAndPrincipal = self::_interestAndPrincipal($rate, $per, $nper, $pv, $fv, $type); - return $interestAndPrincipal[1]; - } // function PPMT() - - - public static function PRICE($settlement, $maturity, $rate, $yield, $redemption, $frequency, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $rate = (float) PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $yield = (float) PHPExcel_Calculation_Functions::flattenSingleValue($yield); - $redemption = (float) PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $frequency = (int) PHPExcel_Calculation_Functions::flattenSingleValue($frequency); - $basis = (is_null($basis)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - if (is_string($settlement = PHPExcel_Calculation_DateTime::_getDateValue($settlement))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (($settlement > $maturity) || - (!self::_validFrequency($frequency)) || - (($basis < 0) || ($basis > 4))) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $dsc = self::COUPDAYSNC($settlement, $maturity, $frequency, $basis); - $e = self::COUPDAYS($settlement, $maturity, $frequency, $basis); - $n = self::COUPNUM($settlement, $maturity, $frequency, $basis); - $a = self::COUPDAYBS($settlement, $maturity, $frequency, $basis); - - $baseYF = 1.0 + ($yield / $frequency); - $rfp = 100 * ($rate / $frequency); - $de = $dsc / $e; - - $result = $redemption / pow($baseYF, (--$n + $de)); - for($k = 0; $k <= $n; ++$k) { - $result += $rfp / (pow($baseYF, ($k + $de))); - } - $result -= $rfp * ($a / $e); - - return $result; - } // function PRICE() - - - /** - * PRICEDISC - * - * Returns the price per $100 face value of a discounted security. - * - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param int discount The security's discount rate. - * @param int redemption The security's redemption value per $100 face value. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function PRICEDISC($settlement, $maturity, $discount, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $discount = (float) PHPExcel_Calculation_Functions::flattenSingleValue($discount); - $redemption = (float) PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($discount)) && (is_numeric($redemption)) && (is_numeric($basis))) { - if (($discount <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return $redemption * (1 - $discount * $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PRICEDISC() - - - /** - * PRICEMAT - * - * Returns the price per $100 face value of a security that pays interest at maturity. - * - * @param mixed settlement The security's settlement date. - * The security's settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed issue The security's issue date. - * @param int rate The security's interest rate at date of issue. - * @param int yield The security's annual yield. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function PRICEMAT($settlement, $maturity, $issue, $rate, $yield, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $yield = PHPExcel_Calculation_Functions::flattenSingleValue($yield); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if (is_numeric($rate) && is_numeric($yield)) { - if (($rate <= 0) || ($yield <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - if (!is_numeric($daysPerYear)) { - return $daysPerYear; - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - $daysBetweenIssueAndSettlement *= $daysPerYear; - $daysBetweenIssueAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $maturity, $basis); - if (!is_numeric($daysBetweenIssueAndMaturity)) { - // return date error - return $daysBetweenIssueAndMaturity; - } - $daysBetweenIssueAndMaturity *= $daysPerYear; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - $daysBetweenSettlementAndMaturity *= $daysPerYear; - - return ((100 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate * 100)) / - (1 + (($daysBetweenSettlementAndMaturity / $daysPerYear) * $yield)) - - (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate * 100)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PRICEMAT() - - - /** - * PV - * - * Returns the Present Value of a cash flow with constant payments and interest rate (annuities). - * - * @param float $rate Interest rate per period - * @param int $nper Number of periods - * @param float $pmt Periodic payment (annuity) - * @param float $fv Future Value - * @param int $type Payment type: 0 = at the end of each period, 1 = at the beginning of each period - * @return float - */ - public static function PV($rate = 0, $nper = 0, $pmt = 0, $fv = 0, $type = 0) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $nper = PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $fv = PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = PHPExcel_Calculation_Functions::flattenSingleValue($type); - - // Validate parameters - if ($type != 0 && $type != 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - - // Calculate - if (!is_null($rate) && $rate != 0) { - return (-$pmt * (1 + $rate * $type) * ((pow(1 + $rate, $nper) - 1) / $rate) - $fv) / pow(1 + $rate, $nper); - } else { - return -$fv - $pmt * $nper; - } - } // function PV() - - - /** - * RATE - * - * Returns the interest rate per period of an annuity. - * RATE is calculated by iteration and can have zero or more solutions. - * If the successive results of RATE do not converge to within 0.0000001 after 20 iterations, - * RATE returns the #NUM! error value. - * - * Excel Function: - * RATE(nper,pmt,pv[,fv[,type[,guess]]]) - * - * @access public - * @category Financial Functions - * @param float nper The total number of payment periods in an annuity. - * @param float pmt The payment made each period and cannot change over the life - * of the annuity. - * Typically, pmt includes principal and interest but no other - * fees or taxes. - * @param float pv The present value - the total amount that a series of future - * payments is worth now. - * @param float fv The future value, or a cash balance you want to attain after - * the last payment is made. If fv is omitted, it is assumed - * to be 0 (the future value of a loan, for example, is 0). - * @param integer type A number 0 or 1 and indicates when payments are due: - * 0 or omitted At the end of the period. - * 1 At the beginning of the period. - * @param float guess Your guess for what the rate will be. - * If you omit guess, it is assumed to be 10 percent. - * @return float - **/ - public static function RATE($nper, $pmt, $pv, $fv = 0.0, $type = 0, $guess = 0.1) { - $nper = (int) PHPExcel_Calculation_Functions::flattenSingleValue($nper); - $pmt = PHPExcel_Calculation_Functions::flattenSingleValue($pmt); - $pv = PHPExcel_Calculation_Functions::flattenSingleValue($pv); - $fv = (is_null($fv)) ? 0.0 : PHPExcel_Calculation_Functions::flattenSingleValue($fv); - $type = (is_null($type)) ? 0 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($type); - $guess = (is_null($guess)) ? 0.1 : PHPExcel_Calculation_Functions::flattenSingleValue($guess); - - $rate = $guess; - if (abs($rate) < FINANCIAL_PRECISION) { - $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv; - } else { - $f = exp($nper * log(1 + $rate)); - $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv; - } - $y0 = $pv + $pmt * $nper + $fv; - $y1 = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv; - - // find root by secant method - $i = $x0 = 0.0; - $x1 = $rate; - while ((abs($y0 - $y1) > FINANCIAL_PRECISION) && ($i < FINANCIAL_MAX_ITERATIONS)) { - $rate = ($y1 * $x0 - $y0 * $x1) / ($y1 - $y0); - $x0 = $x1; - $x1 = $rate; - if (($nper * abs($pmt)) > ($pv - $fv)) - $x1 = abs($x1); - - if (abs($rate) < FINANCIAL_PRECISION) { - $y = $pv * (1 + $nper * $rate) + $pmt * (1 + $rate * $type) * $nper + $fv; - } else { - $f = exp($nper * log(1 + $rate)); - $y = $pv * $f + $pmt * (1 / $rate + $type) * ($f - 1) + $fv; - } - - $y0 = $y1; - $y1 = $y; - ++$i; - } - return $rate; - } // function RATE() - - - /** - * RECEIVED - * - * Returns the price per $100 face value of a discounted security. - * - * @param mixed settlement The security's settlement date. - * The security settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param int investment The amount invested in the security. - * @param int discount The security's discount rate. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function RECEIVED($settlement, $maturity, $investment, $discount, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $investment = (float) PHPExcel_Calculation_Functions::flattenSingleValue($investment); - $discount = (float) PHPExcel_Calculation_Functions::flattenSingleValue($discount); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if ((is_numeric($investment)) && (is_numeric($discount)) && (is_numeric($basis))) { - if (($investment <= 0) || ($discount <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - - return $investment / ( 1 - ($discount * $daysBetweenSettlementAndMaturity)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function RECEIVED() - - - /** - * SLN - * - * Returns the straight-line depreciation of an asset for one period - * - * @param cost Initial cost of the asset - * @param salvage Value at the end of the depreciation - * @param life Number of periods over which the asset is depreciated - * @return float - */ - public static function SLN($cost, $salvage, $life) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - - // Calculate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life))) { - if ($life < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return ($cost - $salvage) / $life; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SLN() - - - /** - * SYD - * - * Returns the sum-of-years' digits depreciation of an asset for a specified period. - * - * @param cost Initial cost of the asset - * @param salvage Value at the end of the depreciation - * @param life Number of periods over which the asset is depreciated - * @param period Period - * @return float - */ - public static function SYD($cost, $salvage, $life, $period) { - $cost = PHPExcel_Calculation_Functions::flattenSingleValue($cost); - $salvage = PHPExcel_Calculation_Functions::flattenSingleValue($salvage); - $life = PHPExcel_Calculation_Functions::flattenSingleValue($life); - $period = PHPExcel_Calculation_Functions::flattenSingleValue($period); - - // Calculate - if ((is_numeric($cost)) && (is_numeric($salvage)) && (is_numeric($life)) && (is_numeric($period))) { - if (($life < 1) || ($period > $life)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return (($cost - $salvage) * ($life - $period + 1) * 2) / ($life * ($life + 1)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SYD() - - - /** - * TBILLEQ - * - * Returns the bond-equivalent yield for a Treasury bill. - * - * @param mixed settlement The Treasury bill's settlement date. - * The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer. - * @param mixed maturity The Treasury bill's maturity date. - * The maturity date is the date when the Treasury bill expires. - * @param int discount The Treasury bill's discount rate. - * @return float - */ - public static function TBILLEQ($settlement, $maturity, $discount) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $discount = PHPExcel_Calculation_Functions::flattenSingleValue($discount); - - // Use TBILLPRICE for validation - $testValue = self::TBILLPRICE($settlement, $maturity, $discount); - if (is_string($testValue)) { - return $testValue; - } - - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - ++$maturity; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360; - } else { - $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::_getDateValue($maturity) - PHPExcel_Calculation_DateTime::_getDateValue($settlement)); - } - - return (365 * $discount) / (360 - $discount * $daysBetweenSettlementAndMaturity); - } // function TBILLEQ() - - - /** - * TBILLPRICE - * - * Returns the yield for a Treasury bill. - * - * @param mixed settlement The Treasury bill's settlement date. - * The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer. - * @param mixed maturity The Treasury bill's maturity date. - * The maturity date is the date when the Treasury bill expires. - * @param int discount The Treasury bill's discount rate. - * @return float - */ - public static function TBILLPRICE($settlement, $maturity, $discount) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $discount = PHPExcel_Calculation_Functions::flattenSingleValue($discount); - - if (is_string($maturity = PHPExcel_Calculation_DateTime::_getDateValue($maturity))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // Validate - if (is_numeric($discount)) { - if ($discount <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - ++$maturity; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360; - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - } else { - $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::_getDateValue($maturity) - PHPExcel_Calculation_DateTime::_getDateValue($settlement)); - } - - if ($daysBetweenSettlementAndMaturity > 360) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $price = 100 * (1 - (($discount * $daysBetweenSettlementAndMaturity) / 360)); - if ($price <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return $price; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TBILLPRICE() - - - /** - * TBILLYIELD - * - * Returns the yield for a Treasury bill. - * - * @param mixed settlement The Treasury bill's settlement date. - * The Treasury bill's settlement date is the date after the issue date when the Treasury bill is traded to the buyer. - * @param mixed maturity The Treasury bill's maturity date. - * The maturity date is the date when the Treasury bill expires. - * @param int price The Treasury bill's price per $100 face value. - * @return float - */ - public static function TBILLYIELD($settlement, $maturity, $price) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - - // Validate - if (is_numeric($price)) { - if ($price <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - ++$maturity; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity) * 360; - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - } else { - $daysBetweenSettlementAndMaturity = (PHPExcel_Calculation_DateTime::_getDateValue($maturity) - PHPExcel_Calculation_DateTime::_getDateValue($settlement)); - } - - if ($daysBetweenSettlementAndMaturity > 360) { - return PHPExcel_Calculation_Functions::NaN(); - } - - return ((100 - $price) / $price) * (360 / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TBILLYIELD() - - - public static function XIRR($values, $dates, $guess = 0.1) { - if ((!is_array($values)) && (!is_array($dates))) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $dates = PHPExcel_Calculation_Functions::flattenArray($dates); - $guess = PHPExcel_Calculation_Functions::flattenSingleValue($guess); - if (count($values) != count($dates)) return PHPExcel_Calculation_Functions::NaN(); - - // create an initial range, with a root somewhere between 0 and guess - $x1 = 0.0; - $x2 = $guess; - $f1 = self::XNPV($x1, $values, $dates); - $f2 = self::XNPV($x2, $values, $dates); - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - if (($f1 * $f2) < 0.0) break; - if (abs($f1) < abs($f2)) { - $f1 = self::XNPV($x1 += 1.6 * ($x1 - $x2), $values, $dates); - } else { - $f2 = self::XNPV($x2 += 1.6 * ($x2 - $x1), $values, $dates); - } - } - if (($f1 * $f2) > 0.0) return PHPExcel_Calculation_Functions::VALUE(); - - $f = self::XNPV($x1, $values, $dates); - if ($f < 0.0) { - $rtb = $x1; - $dx = $x2 - $x1; - } else { - $rtb = $x2; - $dx = $x1 - $x2; - } - - for ($i = 0; $i < FINANCIAL_MAX_ITERATIONS; ++$i) { - $dx *= 0.5; - $x_mid = $rtb + $dx; - $f_mid = self::XNPV($x_mid, $values, $dates); - if ($f_mid <= 0.0) $rtb = $x_mid; - if ((abs($f_mid) < FINANCIAL_PRECISION) || (abs($dx) < FINANCIAL_PRECISION)) return $x_mid; - } - return PHPExcel_Calculation_Functions::VALUE(); - } - - - /** - * XNPV - * - * Returns the net present value for a schedule of cash flows that is not necessarily periodic. - * To calculate the net present value for a series of cash flows that is periodic, use the NPV function. - * - * Excel Function: - * =XNPV(rate,values,dates) - * - * @param float $rate The discount rate to apply to the cash flows. - * @param array of float $values A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive value and one negative value. - * @param array of mixed $dates A schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in any order. - * @return float - */ - public static function XNPV($rate, $values, $dates) { - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - if (!is_numeric($rate)) return PHPExcel_Calculation_Functions::VALUE(); - if ((!is_array($values)) || (!is_array($dates))) return PHPExcel_Calculation_Functions::VALUE(); - $values = PHPExcel_Calculation_Functions::flattenArray($values); - $dates = PHPExcel_Calculation_Functions::flattenArray($dates); - $valCount = count($values); - if ($valCount != count($dates)) return PHPExcel_Calculation_Functions::NaN(); - if ((min($values) > 0) || (max($values) < 0)) return PHPExcel_Calculation_Functions::VALUE(); - - $xnpv = 0.0; - for ($i = 0; $i < $valCount; ++$i) { - if (!is_numeric($values[$i])) return PHPExcel_Calculation_Functions::VALUE(); - $xnpv += $values[$i] / pow(1 + $rate, PHPExcel_Calculation_DateTime::DATEDIF($dates[0],$dates[$i],'d') / 365); - } - return (is_finite($xnpv)) ? $xnpv : PHPExcel_Calculation_Functions::VALUE(); - } // function XNPV() - - - /** - * YIELDDISC - * - * Returns the annual yield of a security that pays interest at maturity. - * - * @param mixed settlement The security's settlement date. - * The security's settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param int price The security's price per $100 face value. - * @param int redemption The security's redemption value per $100 face value. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function YIELDDISC($settlement, $maturity, $price, $redemption, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - $redemption = PHPExcel_Calculation_Functions::flattenSingleValue($redemption); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if (is_numeric($price) && is_numeric($redemption)) { - if (($price <= 0) || ($redemption <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - if (!is_numeric($daysPerYear)) { - return $daysPerYear; - } - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity,$basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - $daysBetweenSettlementAndMaturity *= $daysPerYear; - - return (($redemption - $price) / $price) * ($daysPerYear / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function YIELDDISC() - - - /** - * YIELDMAT - * - * Returns the annual yield of a security that pays interest at maturity. - * - * @param mixed settlement The security's settlement date. - * The security's settlement date is the date after the issue date when the security is traded to the buyer. - * @param mixed maturity The security's maturity date. - * The maturity date is the date when the security expires. - * @param mixed issue The security's issue date. - * @param int rate The security's interest rate at date of issue. - * @param int price The security's price per $100 face value. - * @param int basis The type of day count to use. - * 0 or omitted US (NASD) 30/360 - * 1 Actual/actual - * 2 Actual/360 - * 3 Actual/365 - * 4 European 30/360 - * @return float - */ - public static function YIELDMAT($settlement, $maturity, $issue, $rate, $price, $basis=0) { - $settlement = PHPExcel_Calculation_Functions::flattenSingleValue($settlement); - $maturity = PHPExcel_Calculation_Functions::flattenSingleValue($maturity); - $issue = PHPExcel_Calculation_Functions::flattenSingleValue($issue); - $rate = PHPExcel_Calculation_Functions::flattenSingleValue($rate); - $price = PHPExcel_Calculation_Functions::flattenSingleValue($price); - $basis = (int) PHPExcel_Calculation_Functions::flattenSingleValue($basis); - - // Validate - if (is_numeric($rate) && is_numeric($price)) { - if (($rate <= 0) || ($price <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $daysPerYear = self::_daysPerYear(PHPExcel_Calculation_DateTime::YEAR($settlement),$basis); - if (!is_numeric($daysPerYear)) { - return $daysPerYear; - } - $daysBetweenIssueAndSettlement = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $settlement, $basis); - if (!is_numeric($daysBetweenIssueAndSettlement)) { - // return date error - return $daysBetweenIssueAndSettlement; - } - $daysBetweenIssueAndSettlement *= $daysPerYear; - $daysBetweenIssueAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($issue, $maturity, $basis); - if (!is_numeric($daysBetweenIssueAndMaturity)) { - // return date error - return $daysBetweenIssueAndMaturity; - } - $daysBetweenIssueAndMaturity *= $daysPerYear; - $daysBetweenSettlementAndMaturity = PHPExcel_Calculation_DateTime::YEARFRAC($settlement, $maturity, $basis); - if (!is_numeric($daysBetweenSettlementAndMaturity)) { - // return date error - return $daysBetweenSettlementAndMaturity; - } - $daysBetweenSettlementAndMaturity *= $daysPerYear; - - return ((1 + (($daysBetweenIssueAndMaturity / $daysPerYear) * $rate) - (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) / - (($price / 100) + (($daysBetweenIssueAndSettlement / $daysPerYear) * $rate))) * - ($daysPerYear / $daysBetweenSettlementAndMaturity); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function YIELDMAT() - -} // class PHPExcel_Calculation_Financial diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/FormulaParser.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/FormulaParser.php deleted file mode 100644 index 3884fd20a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/FormulaParser.php +++ /dev/null @@ -1,614 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/* -PARTLY BASED ON: - Copyright (c) 2007 E. W. Bachtal, Inc. - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or substantial - portions of the Software. - - The software is provided "as is", without warranty of any kind, express or implied, including but not - limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In - no event shall the authors or copyright holders be liable for any claim, damages or other liability, - whether in an action of contract, tort or otherwise, arising from, out of or in connection with the - software or the use or other dealings in the software. - - http://ewbi.blogs.com/develops/2007/03/excel_formula_p.html - http://ewbi.blogs.com/develops/2004/12/excel_formula_p.html -*/ - -/** - * PHPExcel_Calculation_FormulaParser - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_FormulaParser { - /* Character constants */ - const QUOTE_DOUBLE = '"'; - const QUOTE_SINGLE = '\''; - const BRACKET_CLOSE = ']'; - const BRACKET_OPEN = '['; - const BRACE_OPEN = '{'; - const BRACE_CLOSE = '}'; - const PAREN_OPEN = '('; - const PAREN_CLOSE = ')'; - const SEMICOLON = ';'; - const WHITESPACE = ' '; - const COMMA = ','; - const ERROR_START = '#'; - - const OPERATORS_SN = "+-"; - const OPERATORS_INFIX = "+-*/^&=><"; - const OPERATORS_POSTFIX = "%"; - - /** - * Formula - * - * @var string - */ - private $_formula; - - /** - * Tokens - * - * @var PHPExcel_Calculation_FormulaToken[] - */ - private $_tokens = array(); - - /** - * Create a new PHPExcel_Calculation_FormulaParser - * - * @param string $pFormula Formula to parse - * @throws PHPExcel_Calculation_Exception - */ - public function __construct($pFormula = '') - { - // Check parameters - if (is_null($pFormula)) { - throw new PHPExcel_Calculation_Exception("Invalid parameter passed: formula"); - } - - // Initialise values - $this->_formula = trim($pFormula); - // Parse! - $this->_parseToTokens(); - } - - /** - * Get Formula - * - * @return string - */ - public function getFormula() { - return $this->_formula; - } - - /** - * Get Token - * - * @param int $pId Token id - * @return string - * @throws PHPExcel_Calculation_Exception - */ - public function getToken($pId = 0) { - if (isset($this->_tokens[$pId])) { - return $this->_tokens[$pId]; - } else { - throw new PHPExcel_Calculation_Exception("Token with id $pId does not exist."); - } - } - - /** - * Get Token count - * - * @return string - */ - public function getTokenCount() { - return count($this->_tokens); - } - - /** - * Get Tokens - * - * @return PHPExcel_Calculation_FormulaToken[] - */ - public function getTokens() { - return $this->_tokens; - } - - /** - * Parse to tokens - */ - private function _parseToTokens() { - // No attempt is made to verify formulas; assumes formulas are derived from Excel, where - // they can only exist if valid; stack overflows/underflows sunk as nulls without exceptions. - - // Check if the formula has a valid starting = - $formulaLength = strlen($this->_formula); - if ($formulaLength < 2 || $this->_formula{0} != '=') return; - - // Helper variables - $tokens1 = $tokens2 = $stack = array(); - $inString = $inPath = $inRange = $inError = false; - $token = $previousToken = $nextToken = null; - - $index = 1; - $value = ''; - - $ERRORS = array("#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"); - $COMPARATORS_MULTI = array(">=", "<=", "<>"); - - while ($index < $formulaLength) { - // state-dependent character evaluation (order is important) - - // double-quoted strings - // embeds are doubled - // end marks token - if ($inString) { - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE) { - if ((($index + 2) <= $formulaLength) && ($this->_formula{$index + 1} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE)) { - $value .= PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE; - ++$index; - } else { - $inString = false; - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_TEXT); - $value = ""; - } - } else { - $value .= $this->_formula{$index}; - } - ++$index; - continue; - } - - // single-quoted strings (links) - // embeds are double - // end does not mark a token - if ($inPath) { - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE) { - if ((($index + 2) <= $formulaLength) && ($this->_formula{$index + 1} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE)) { - $value .= PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE; - ++$index; - } else { - $inPath = false; - } - } else { - $value .= $this->_formula{$index}; - } - ++$index; - continue; - } - - // bracked strings (R1C1 range index or linked workbook name) - // no embeds (changed to "()" by Excel) - // end does not mark a token - if ($inRange) { - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACKET_CLOSE) { - $inRange = false; - } - $value .= $this->_formula{$index}; - ++$index; - continue; - } - - // error values - // end marks a token, determined from absolute list of values - if ($inError) { - $value .= $this->_formula{$index}; - ++$index; - if (in_array($value, $ERRORS)) { - $inError = false; - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_ERROR); - $value = ""; - } - continue; - } - - // scientific notation check - if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_SN, $this->_formula{$index}) !== false) { - if (strlen($value) > 1) { - if (preg_match("/^[1-9]{1}(\.[0-9]+)?E{1}$/", $this->_formula{$index}) != 0) { - $value .= $this->_formula{$index}; - ++$index; - continue; - } - } - } - - // independent character evaluation (order not important) - - // establish state-dependent character evaluations - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_DOUBLE) { - if (strlen($value > 0)) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - $inString = true; - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::QUOTE_SINGLE) { - if (strlen($value) > 0) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - $inPath = true; - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACKET_OPEN) { - $inRange = true; - $value .= PHPExcel_Calculation_FormulaParser::BRACKET_OPEN; - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::ERROR_START) { - if (strlen($value) > 0) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - $inError = true; - $value .= PHPExcel_Calculation_FormulaParser::ERROR_START; - ++$index; - continue; - } - - // mark start and end of arrays and array rows - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACE_OPEN) { - if (strlen($value) > 0) { // unexpected - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN); - $value = ""; - } - - $tmp = new PHPExcel_Calculation_FormulaToken("ARRAY", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - - $tmp = new PHPExcel_Calculation_FormulaToken("ARRAYROW", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::SEMICOLON) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - $tmp = new PHPExcel_Calculation_FormulaToken(",", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_ARGUMENT); - $tokens1[] = $tmp; - - $tmp = new PHPExcel_Calculation_FormulaToken("ARRAYROW", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - - ++$index; - continue; - } - - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::BRACE_CLOSE) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - ++$index; - continue; - } - - // trim white-space - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::WHITESPACE) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken("", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_WHITESPACE); - ++$index; - while (($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::WHITESPACE) && ($index < $formulaLength)) { - ++$index; - } - continue; - } - - // multi-character comparators - if (($index + 2) <= $formulaLength) { - if (in_array(substr($this->_formula, $index, 2), $COMPARATORS_MULTI)) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken(substr($this->_formula, $index, 2), PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL); - $index += 2; - continue; - } - } - - // standard infix operators - if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_INFIX, $this->_formula{$index}) !== false) { - if (strlen($value) > 0) { - $tokens1[] =new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken($this->_formula{$index}, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX); - ++$index; - continue; - } - - // standard postfix operators (only one) - if (strpos(PHPExcel_Calculation_FormulaParser::OPERATORS_POSTFIX, $this->_formula{$index}) !== false) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - $tokens1[] = new PHPExcel_Calculation_FormulaToken($this->_formula{$index}, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX); - ++$index; - continue; - } - - // start subexpression or function - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::PAREN_OPEN) { - if (strlen($value) > 0) { - $tmp = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - $value = ""; - } else { - $tmp = new PHPExcel_Calculation_FormulaToken("", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START); - $tokens1[] = $tmp; - $stack[] = clone $tmp; - } - ++$index; - continue; - } - - // function, subexpression, or array parameters, or operand unions - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::COMMA) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $stack[] = $tmp; - - if ($tmp->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken(",", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_UNION); - } else { - $tokens1[] = new PHPExcel_Calculation_FormulaToken(",", PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_ARGUMENT); - } - ++$index; - continue; - } - - // stop subexpression - if ($this->_formula{$index} == PHPExcel_Calculation_FormulaParser::PAREN_CLOSE) { - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - $value = ""; - } - - $tmp = array_pop($stack); - $tmp->setValue(""); - $tmp->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP); - $tokens1[] = $tmp; - - ++$index; - continue; - } - - // token accumulation - $value .= $this->_formula{$index}; - ++$index; - } - - // dump remaining accumulation - if (strlen($value) > 0) { - $tokens1[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND); - } - - // move tokenList to new set, excluding unnecessary white-space tokens and converting necessary ones to intersections - $tokenCount = count($tokens1); - for ($i = 0; $i < $tokenCount; ++$i) { - $token = $tokens1[$i]; - if (isset($tokens1[$i - 1])) { - $previousToken = $tokens1[$i - 1]; - } else { - $previousToken = null; - } - if (isset($tokens1[$i + 1])) { - $nextToken = $tokens1[$i + 1]; - } else { - $nextToken = null; - } - - if (is_null($token)) { - continue; - } - - if ($token->getTokenType() != PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_WHITESPACE) { - $tokens2[] = $token; - continue; - } - - if (is_null($previousToken)) { - continue; - } - - if (! ( - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) ) { - continue; - } - - if (is_null($nextToken)) { - continue; - } - - if (! ( - (($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($nextToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START)) || - (($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($nextToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START)) || - ($nextToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) ) { - continue; - } - - $tokens2[] = new PHPExcel_Calculation_FormulaToken($value, PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX, PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_INTERSECTION); - } - - // move tokens to final list, switching infix "-" operators to prefix when appropriate, switching infix "+" operators - // to noop when appropriate, identifying operand and infix-operator subtypes, and pulling "@" from function names - $this->_tokens = array(); - - $tokenCount = count($tokens2); - for ($i = 0; $i < $tokenCount; ++$i) { - $token = $tokens2[$i]; - if (isset($tokens2[$i - 1])) { - $previousToken = $tokens2[$i - 1]; - } else { - $previousToken = null; - } - if (isset($tokens2[$i + 1])) { - $nextToken = $tokens2[$i + 1]; - } else { - $nextToken = null; - } - - if (is_null($token)) { - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == "-") { - if ($i == 0) { - $token->setTokenType(PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPREFIX); - } else if ( - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH); - } else { - $token->setTokenType(PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPREFIX); - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getValue() == "+") { - if ($i == 0) { - continue; - } else if ( - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - (($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION) && ($previousToken->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP)) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX) || - ($previousToken->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND) - ) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH); - } else { - continue; - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX && $token->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) { - if (strpos("<>=", substr($token->getValue(), 0, 1)) !== false) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL); - } else if ($token->getValue() == "&") { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_CONCATENATION); - } else { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH); - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND && $token->getTokenSubType() == PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) { - if (!is_numeric($token->getValue())) { - if (strtoupper($token->getValue()) == "TRUE" || strtoupper($token->getValue() == "FALSE")) { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL); - } else { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_RANGE); - } - } else { - $token->setTokenSubType(PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NUMBER); - } - - $this->_tokens[] = $token; - continue; - } - - if ($token->getTokenType() == PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION) { - if (strlen($token->getValue() > 0)) { - if (substr($token->getValue(), 0, 1) == "@") { - $token->setValue(substr($token->getValue(), 1)); - } - } - } - - $this->_tokens[] = $token; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/FormulaToken.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/FormulaToken.php deleted file mode 100644 index ad10c00a2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/FormulaToken.php +++ /dev/null @@ -1,176 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/* -PARTLY BASED ON: - Copyright (c) 2007 E. W. Bachtal, Inc. - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or substantial - portions of the Software. - - The software is provided "as is", without warranty of any kind, express or implied, including but not - limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In - no event shall the authors or copyright holders be liable for any claim, damages or other liability, - whether in an action of contract, tort or otherwise, arising from, out of or in connection with the - software or the use or other dealings in the software. - - http://ewbi.blogs.com/develops/2007/03/excel_formula_p.html - http://ewbi.blogs.com/develops/2004/12/excel_formula_p.html -*/ - - -/** - * PHPExcel_Calculation_FormulaToken - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_FormulaToken { - /* Token types */ - const TOKEN_TYPE_NOOP = 'Noop'; - const TOKEN_TYPE_OPERAND = 'Operand'; - const TOKEN_TYPE_FUNCTION = 'Function'; - const TOKEN_TYPE_SUBEXPRESSION = 'Subexpression'; - const TOKEN_TYPE_ARGUMENT = 'Argument'; - const TOKEN_TYPE_OPERATORPREFIX = 'OperatorPrefix'; - const TOKEN_TYPE_OPERATORINFIX = 'OperatorInfix'; - const TOKEN_TYPE_OPERATORPOSTFIX = 'OperatorPostfix'; - const TOKEN_TYPE_WHITESPACE = 'Whitespace'; - const TOKEN_TYPE_UNKNOWN = 'Unknown'; - - /* Token subtypes */ - const TOKEN_SUBTYPE_NOTHING = 'Nothing'; - const TOKEN_SUBTYPE_START = 'Start'; - const TOKEN_SUBTYPE_STOP = 'Stop'; - const TOKEN_SUBTYPE_TEXT = 'Text'; - const TOKEN_SUBTYPE_NUMBER = 'Number'; - const TOKEN_SUBTYPE_LOGICAL = 'Logical'; - const TOKEN_SUBTYPE_ERROR = 'Error'; - const TOKEN_SUBTYPE_RANGE = 'Range'; - const TOKEN_SUBTYPE_MATH = 'Math'; - const TOKEN_SUBTYPE_CONCATENATION = 'Concatenation'; - const TOKEN_SUBTYPE_INTERSECTION = 'Intersection'; - const TOKEN_SUBTYPE_UNION = 'Union'; - - /** - * Value - * - * @var string - */ - private $_value; - - /** - * Token Type (represented by TOKEN_TYPE_*) - * - * @var string - */ - private $_tokenType; - - /** - * Token SubType (represented by TOKEN_SUBTYPE_*) - * - * @var string - */ - private $_tokenSubType; - - /** - * Create a new PHPExcel_Calculation_FormulaToken - * - * @param string $pValue - * @param string $pTokenType Token type (represented by TOKEN_TYPE_*) - * @param string $pTokenSubType Token Subtype (represented by TOKEN_SUBTYPE_*) - */ - public function __construct($pValue, $pTokenType = PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN, $pTokenSubType = PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) - { - // Initialise values - $this->_value = $pValue; - $this->_tokenType = $pTokenType; - $this->_tokenSubType = $pTokenSubType; - } - - /** - * Get Value - * - * @return string - */ - public function getValue() { - return $this->_value; - } - - /** - * Set Value - * - * @param string $value - */ - public function setValue($value) { - $this->_value = $value; - } - - /** - * Get Token Type (represented by TOKEN_TYPE_*) - * - * @return string - */ - public function getTokenType() { - return $this->_tokenType; - } - - /** - * Set Token Type - * - * @param string $value - */ - public function setTokenType($value = PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN) { - $this->_tokenType = $value; - } - - /** - * Get Token SubType (represented by TOKEN_SUBTYPE_*) - * - * @return string - */ - public function getTokenSubType() { - return $this->_tokenSubType; - } - - /** - * Set Token SubType - * - * @param string $value - */ - public function setTokenSubType($value = PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING) { - $this->_tokenSubType = $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Function.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Function.php deleted file mode 100644 index 1301cd096..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Function.php +++ /dev/null @@ -1,149 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Calculation_Function - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Function { - /* Function categories */ - const CATEGORY_CUBE = 'Cube'; - const CATEGORY_DATABASE = 'Database'; - const CATEGORY_DATE_AND_TIME = 'Date and Time'; - const CATEGORY_ENGINEERING = 'Engineering'; - const CATEGORY_FINANCIAL = 'Financial'; - const CATEGORY_INFORMATION = 'Information'; - const CATEGORY_LOGICAL = 'Logical'; - const CATEGORY_LOOKUP_AND_REFERENCE = 'Lookup and Reference'; - const CATEGORY_MATH_AND_TRIG = 'Math and Trig'; - const CATEGORY_STATISTICAL = 'Statistical'; - const CATEGORY_TEXT_AND_DATA = 'Text and Data'; - - /** - * Category (represented by CATEGORY_*) - * - * @var string - */ - private $_category; - - /** - * Excel name - * - * @var string - */ - private $_excelName; - - /** - * PHPExcel name - * - * @var string - */ - private $_phpExcelName; - - /** - * Create a new PHPExcel_Calculation_Function - * - * @param string $pCategory Category (represented by CATEGORY_*) - * @param string $pExcelName Excel function name - * @param string $pPHPExcelName PHPExcel function mapping - * @throws PHPExcel_Calculation_Exception - */ - public function __construct($pCategory = NULL, $pExcelName = NULL, $pPHPExcelName = NULL) - { - if (($pCategory !== NULL) && ($pExcelName !== NULL) && ($pPHPExcelName !== NULL)) { - // Initialise values - $this->_category = $pCategory; - $this->_excelName = $pExcelName; - $this->_phpExcelName = $pPHPExcelName; - } else { - throw new PHPExcel_Calculation_Exception("Invalid parameters passed."); - } - } - - /** - * Get Category (represented by CATEGORY_*) - * - * @return string - */ - public function getCategory() { - return $this->_category; - } - - /** - * Set Category (represented by CATEGORY_*) - * - * @param string $value - * @throws PHPExcel_Calculation_Exception - */ - public function setCategory($value = null) { - if (!is_null($value)) { - $this->_category = $value; - } else { - throw new PHPExcel_Calculation_Exception("Invalid parameter passed."); - } - } - - /** - * Get Excel name - * - * @return string - */ - public function getExcelName() { - return $this->_excelName; - } - - /** - * Set Excel name - * - * @param string $value - */ - public function setExcelName($value) { - $this->_excelName = $value; - } - - /** - * Get PHPExcel name - * - * @return string - */ - public function getPHPExcelName() { - return $this->_phpExcelName; - } - - /** - * Set PHPExcel name - * - * @param string $value - */ - public function setPHPExcelName($value) { - $this->_phpExcelName = $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Functions.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Functions.php deleted file mode 100644 index 9a139ec79..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Functions.php +++ /dev/null @@ -1,725 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** MAX_VALUE */ -define('MAX_VALUE', 1.2e308); - -/** 2 / PI */ -define('M_2DIVPI', 0.63661977236758134307553505349006); - -/** MAX_ITERATIONS */ -define('MAX_ITERATIONS', 256); - -/** PRECISION */ -define('PRECISION', 8.88E-016); - - -/** - * PHPExcel_Calculation_Functions - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Functions { - - /** constants */ - const COMPATIBILITY_EXCEL = 'Excel'; - const COMPATIBILITY_GNUMERIC = 'Gnumeric'; - const COMPATIBILITY_OPENOFFICE = 'OpenOfficeCalc'; - - const RETURNDATE_PHP_NUMERIC = 'P'; - const RETURNDATE_PHP_OBJECT = 'O'; - const RETURNDATE_EXCEL = 'E'; - - - /** - * Compatibility mode to use for error checking and responses - * - * @access private - * @var string - */ - protected static $compatibilityMode = self::COMPATIBILITY_EXCEL; - - /** - * Data Type to use when returning date values - * - * @access private - * @var string - */ - protected static $ReturnDateType = self::RETURNDATE_EXCEL; - - /** - * List of error codes - * - * @access private - * @var array - */ - protected static $_errorCodes = array( 'null' => '#NULL!', - 'divisionbyzero' => '#DIV/0!', - 'value' => '#VALUE!', - 'reference' => '#REF!', - 'name' => '#NAME?', - 'num' => '#NUM!', - 'na' => '#N/A', - 'gettingdata' => '#GETTING_DATA' - ); - - - /** - * Set the Compatibility Mode - * - * @access public - * @category Function Configuration - * @param string $compatibilityMode Compatibility Mode - * Permitted values are: - * PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel' - * PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric' - * PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc' - * @return boolean (Success or Failure) - */ - public static function setCompatibilityMode($compatibilityMode) { - if (($compatibilityMode == self::COMPATIBILITY_EXCEL) || - ($compatibilityMode == self::COMPATIBILITY_GNUMERIC) || - ($compatibilityMode == self::COMPATIBILITY_OPENOFFICE)) { - self::$compatibilityMode = $compatibilityMode; - return True; - } - return False; - } // function setCompatibilityMode() - - - /** - * Return the current Compatibility Mode - * - * @access public - * @category Function Configuration - * @return string Compatibility Mode - * Possible Return values are: - * PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel' - * PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric' - * PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc' - */ - public static function getCompatibilityMode() { - return self::$compatibilityMode; - } // function getCompatibilityMode() - - - /** - * Set the Return Date Format used by functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object) - * - * @access public - * @category Function Configuration - * @param string $returnDateType Return Date Format - * Permitted values are: - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P' - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O' - * PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E' - * @return boolean Success or failure - */ - public static function setReturnDateType($returnDateType) { - if (($returnDateType == self::RETURNDATE_PHP_NUMERIC) || - ($returnDateType == self::RETURNDATE_PHP_OBJECT) || - ($returnDateType == self::RETURNDATE_EXCEL)) { - self::$ReturnDateType = $returnDateType; - return True; - } - return False; - } // function setReturnDateType() - - - /** - * Return the current Return Date Format for functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object) - * - * @access public - * @category Function Configuration - * @return string Return Date Format - * Possible Return values are: - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P' - * PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O' - * PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E' - */ - public static function getReturnDateType() { - return self::$ReturnDateType; - } // function getReturnDateType() - - - /** - * DUMMY - * - * @access public - * @category Error Returns - * @return string #Not Yet Implemented - */ - public static function DUMMY() { - return '#Not Yet Implemented'; - } // function DUMMY() - - - /** - * DIV0 - * - * @access public - * @category Error Returns - * @return string #Not Yet Implemented - */ - public static function DIV0() { - return self::$_errorCodes['divisionbyzero']; - } // function DIV0() - - - /** - * NA - * - * Excel Function: - * =NA() - * - * Returns the error value #N/A - * #N/A is the error value that means "no value is available." - * - * @access public - * @category Logical Functions - * @return string #N/A! - */ - public static function NA() { - return self::$_errorCodes['na']; - } // function NA() - - - /** - * NaN - * - * Returns the error value #NUM! - * - * @access public - * @category Error Returns - * @return string #NUM! - */ - public static function NaN() { - return self::$_errorCodes['num']; - } // function NaN() - - - /** - * NAME - * - * Returns the error value #NAME? - * - * @access public - * @category Error Returns - * @return string #NAME? - */ - public static function NAME() { - return self::$_errorCodes['name']; - } // function NAME() - - - /** - * REF - * - * Returns the error value #REF! - * - * @access public - * @category Error Returns - * @return string #REF! - */ - public static function REF() { - return self::$_errorCodes['reference']; - } // function REF() - - - /** - * NULL - * - * Returns the error value #NULL! - * - * @access public - * @category Error Returns - * @return string #NULL! - */ - public static function NULL() { - return self::$_errorCodes['null']; - } // function NULL() - - - /** - * VALUE - * - * Returns the error value #VALUE! - * - * @access public - * @category Error Returns - * @return string #VALUE! - */ - public static function VALUE() { - return self::$_errorCodes['value']; - } // function VALUE() - - - public static function isMatrixValue($idx) { - return ((substr_count($idx,'.') <= 1) || (preg_match('/\.[A-Z]/',$idx) > 0)); - } - - - public static function isValue($idx) { - return (substr_count($idx,'.') == 0); - } - - - public static function isCellValue($idx) { - return (substr_count($idx,'.') > 1); - } - - - public static function _ifCondition($condition) { - $condition = PHPExcel_Calculation_Functions::flattenSingleValue($condition); - if (!isset($condition{0})) - $condition = '=""'; - if (!in_array($condition{0},array('>', '<', '='))) { - if (!is_numeric($condition)) { $condition = PHPExcel_Calculation::_wrapResult(strtoupper($condition)); } - return '='.$condition; - } else { - preg_match('/([<>=]+)(.*)/',$condition,$matches); - list(,$operator,$operand) = $matches; - - if (!is_numeric($operand)) { - $operand = str_replace('"', '""', $operand); - $operand = PHPExcel_Calculation::_wrapResult(strtoupper($operand)); - } - - return $operator.$operand; - } - } // function _ifCondition() - - - /** - * ERROR_TYPE - * - * @param mixed $value Value to check - * @return boolean - */ - public static function ERROR_TYPE($value = '') { - $value = self::flattenSingleValue($value); - - $i = 1; - foreach(self::$_errorCodes as $errorCode) { - if ($value === $errorCode) { - return $i; - } - ++$i; - } - return self::NA(); - } // function ERROR_TYPE() - - - /** - * IS_BLANK - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_BLANK($value = NULL) { - if (!is_null($value)) { - $value = self::flattenSingleValue($value); - } - - return is_null($value); - } // function IS_BLANK() - - - /** - * IS_ERR - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_ERR($value = '') { - $value = self::flattenSingleValue($value); - - return self::IS_ERROR($value) && (!self::IS_NA($value)); - } // function IS_ERR() - - - /** - * IS_ERROR - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_ERROR($value = '') { - $value = self::flattenSingleValue($value); - - if (!is_string($value)) - return false; - return in_array($value, array_values(self::$_errorCodes)); - } // function IS_ERROR() - - - /** - * IS_NA - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_NA($value = '') { - $value = self::flattenSingleValue($value); - - return ($value === self::NA()); - } // function IS_NA() - - - /** - * IS_EVEN - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_EVEN($value = NULL) { - $value = self::flattenSingleValue($value); - - if ($value === NULL) - return self::NAME(); - if ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) - return self::VALUE(); - return ($value % 2 == 0); - } // function IS_EVEN() - - - /** - * IS_ODD - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_ODD($value = NULL) { - $value = self::flattenSingleValue($value); - - if ($value === NULL) - return self::NAME(); - if ((is_bool($value)) || ((is_string($value)) && (!is_numeric($value)))) - return self::VALUE(); - return (abs($value) % 2 == 1); - } // function IS_ODD() - - - /** - * IS_NUMBER - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_NUMBER($value = NULL) { - $value = self::flattenSingleValue($value); - - if (is_string($value)) { - return False; - } - return is_numeric($value); - } // function IS_NUMBER() - - - /** - * IS_LOGICAL - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_LOGICAL($value = NULL) { - $value = self::flattenSingleValue($value); - - return is_bool($value); - } // function IS_LOGICAL() - - - /** - * IS_TEXT - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_TEXT($value = NULL) { - $value = self::flattenSingleValue($value); - - return (is_string($value) && !self::IS_ERROR($value)); - } // function IS_TEXT() - - - /** - * IS_NONTEXT - * - * @param mixed $value Value to check - * @return boolean - */ - public static function IS_NONTEXT($value = NULL) { - return !self::IS_TEXT($value); - } // function IS_NONTEXT() - - - /** - * VERSION - * - * @return string Version information - */ - public static function VERSION() { - return 'PHPExcel ##VERSION##, ##DATE##'; - } // function VERSION() - - - /** - * N - * - * Returns a value converted to a number - * - * @param value The value you want converted - * @return number N converts values listed in the following table - * If value is or refers to N returns - * A number That number - * A date The serial number of that date - * TRUE 1 - * FALSE 0 - * An error value The error value - * Anything else 0 - */ - public static function N($value = NULL) { - while (is_array($value)) { - $value = array_shift($value); - } - - switch (gettype($value)) { - case 'double' : - case 'float' : - case 'integer' : - return $value; - break; - case 'boolean' : - return (integer) $value; - break; - case 'string' : - // Errors - if ((strlen($value) > 0) && ($value{0} == '#')) { - return $value; - } - break; - } - return 0; - } // function N() - - - /** - * TYPE - * - * Returns a number that identifies the type of a value - * - * @param value The value you want tested - * @return number N converts values listed in the following table - * If value is or refers to N returns - * A number 1 - * Text 2 - * Logical Value 4 - * An error value 16 - * Array or Matrix 64 - */ - public static function TYPE($value = NULL) { - $value = self::flattenArrayIndexed($value); - if (is_array($value) && (count($value) > 1)) { - $a = array_keys($value); - $a = array_pop($a); - // Range of cells is an error - if (self::isCellValue($a)) { - return 16; - // Test for Matrix - } elseif (self::isMatrixValue($a)) { - return 64; - } - } elseif(empty($value)) { - // Empty Cell - return 1; - } - $value = self::flattenSingleValue($value); - - if (($value === NULL) || (is_float($value)) || (is_int($value))) { - return 1; - } elseif(is_bool($value)) { - return 4; - } elseif(is_array($value)) { - return 64; - } elseif(is_string($value)) { - // Errors - if ((strlen($value) > 0) && ($value{0} == '#')) { - return 16; - } - return 2; - } - return 0; - } // function TYPE() - - - /** - * Convert a multi-dimensional array to a simple 1-dimensional array - * - * @param array $array Array to be flattened - * @return array Flattened array - */ - public static function flattenArray($array) { - if (!is_array($array)) { - return (array) $array; - } - - $arrayValues = array(); - foreach ($array as $value) { - if (is_array($value)) { - foreach ($value as $val) { - if (is_array($val)) { - foreach ($val as $v) { - $arrayValues[] = $v; - } - } else { - $arrayValues[] = $val; - } - } - } else { - $arrayValues[] = $value; - } - } - - return $arrayValues; - } // function flattenArray() - - - /** - * Convert a multi-dimensional array to a simple 1-dimensional array, but retain an element of indexing - * - * @param array $array Array to be flattened - * @return array Flattened array - */ - public static function flattenArrayIndexed($array) { - if (!is_array($array)) { - return (array) $array; - } - - $arrayValues = array(); - foreach ($array as $k1 => $value) { - if (is_array($value)) { - foreach ($value as $k2 => $val) { - if (is_array($val)) { - foreach ($val as $k3 => $v) { - $arrayValues[$k1.'.'.$k2.'.'.$k3] = $v; - } - } else { - $arrayValues[$k1.'.'.$k2] = $val; - } - } - } else { - $arrayValues[$k1] = $value; - } - } - - return $arrayValues; - } // function flattenArrayIndexed() - - - /** - * Convert an array to a single scalar value by extracting the first element - * - * @param mixed $value Array or scalar value - * @return mixed - */ - public static function flattenSingleValue($value = '') { - while (is_array($value)) { - $value = array_pop($value); - } - - return $value; - } // function flattenSingleValue() - -} // class PHPExcel_Calculation_Functions - - -// -// There are a few mathematical functions that aren't available on all versions of PHP for all platforms -// These functions aren't available in Windows implementations of PHP prior to version 5.3.0 -// So we test if they do exist for this version of PHP/operating platform; and if not we create them -// -if (!function_exists('acosh')) { - function acosh($x) { - return 2 * log(sqrt(($x + 1) / 2) + sqrt(($x - 1) / 2)); - } // function acosh() -} - -if (!function_exists('asinh')) { - function asinh($x) { - return log($x + sqrt(1 + $x * $x)); - } // function asinh() -} - -if (!function_exists('atanh')) { - function atanh($x) { - return (log(1 + $x) - log(1 - $x)) / 2; - } // function atanh() -} - - -// -// Strangely, PHP doesn't have a mb_str_replace multibyte function -// As we'll only ever use this function with UTF-8 characters, we can simply "hard-code" the character set -// -if ((!function_exists('mb_str_replace')) && - (function_exists('mb_substr')) && (function_exists('mb_strlen')) && (function_exists('mb_strpos'))) { - function mb_str_replace($search, $replace, $subject) { - if(is_array($subject)) { - $ret = array(); - foreach($subject as $key => $val) { - $ret[$key] = mb_str_replace($search, $replace, $val); - } - return $ret; - } - - foreach((array) $search as $key => $s) { - if($s == '') { - continue; - } - $r = !is_array($replace) ? $replace : (array_key_exists($key, $replace) ? $replace[$key] : ''); - $pos = mb_strpos($subject, $s, 0, 'UTF-8'); - while($pos !== false) { - $subject = mb_substr($subject, 0, $pos, 'UTF-8') . $r . mb_substr($subject, $pos + mb_strlen($s, 'UTF-8'), 65535, 'UTF-8'); - $pos = mb_strpos($subject, $s, $pos + mb_strlen($r, 'UTF-8'), 'UTF-8'); - } - } - return $subject; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Logical.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Logical.php deleted file mode 100644 index 48fdb17f4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Logical.php +++ /dev/null @@ -1,288 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Calculation_Logical - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Logical { - - /** - * TRUE - * - * Returns the boolean TRUE. - * - * Excel Function: - * =TRUE() - * - * @access public - * @category Logical Functions - * @return boolean True - */ - public static function TRUE() { - return TRUE; - } // function TRUE() - - - /** - * FALSE - * - * Returns the boolean FALSE. - * - * Excel Function: - * =FALSE() - * - * @access public - * @category Logical Functions - * @return boolean False - */ - public static function FALSE() { - return FALSE; - } // function FALSE() - - - /** - * LOGICAL_AND - * - * Returns boolean TRUE if all its arguments are TRUE; returns FALSE if one or more argument is FALSE. - * - * Excel Function: - * =AND(logical1[,logical2[, ...]]) - * - * The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays - * or references that contain logical values. - * - * Boolean arguments are treated as True or False as appropriate - * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False - * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds - * the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value - * - * @access public - * @category Logical Functions - * @param mixed $arg,... Data values - * @return boolean The logical AND of the arguments. - */ - public static function LOGICAL_AND() { - // Return value - $returnValue = TRUE; - - // Loop through the arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $argCount = -1; - foreach ($aArgs as $argCount => $arg) { - // Is it a boolean value? - if (is_bool($arg)) { - $returnValue = $returnValue && $arg; - } elseif ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue = $returnValue && ($arg != 0); - } elseif (is_string($arg)) { - $arg = strtoupper($arg); - if (($arg == 'TRUE') || ($arg == PHPExcel_Calculation::getTRUE())) { - $arg = TRUE; - } elseif (($arg == 'FALSE') || ($arg == PHPExcel_Calculation::getFALSE())) { - $arg = FALSE; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $returnValue = $returnValue && ($arg != 0); - } - } - - // Return - if ($argCount < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - return $returnValue; - } // function LOGICAL_AND() - - - /** - * LOGICAL_OR - * - * Returns boolean TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE. - * - * Excel Function: - * =OR(logical1[,logical2[, ...]]) - * - * The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments must be arrays - * or references that contain logical values. - * - * Boolean arguments are treated as True or False as appropriate - * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False - * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds - * the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value - * - * @access public - * @category Logical Functions - * @param mixed $arg,... Data values - * @return boolean The logical OR of the arguments. - */ - public static function LOGICAL_OR() { - // Return value - $returnValue = FALSE; - - // Loop through the arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $argCount = -1; - foreach ($aArgs as $argCount => $arg) { - // Is it a boolean value? - if (is_bool($arg)) { - $returnValue = $returnValue || $arg; - } elseif ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue = $returnValue || ($arg != 0); - } elseif (is_string($arg)) { - $arg = strtoupper($arg); - if (($arg == 'TRUE') || ($arg == PHPExcel_Calculation::getTRUE())) { - $arg = TRUE; - } elseif (($arg == 'FALSE') || ($arg == PHPExcel_Calculation::getFALSE())) { - $arg = FALSE; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $returnValue = $returnValue || ($arg != 0); - } - } - - // Return - if ($argCount < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - return $returnValue; - } // function LOGICAL_OR() - - - /** - * NOT - * - * Returns the boolean inverse of the argument. - * - * Excel Function: - * =NOT(logical) - * - * The argument must evaluate to a logical value such as TRUE or FALSE - * - * Boolean arguments are treated as True or False as appropriate - * Integer or floating point arguments are treated as True, except for 0 or 0.0 which are False - * If any argument value is a string, or a Null, the function returns a #VALUE! error, unless the string holds - * the value TRUE or FALSE, in which case it is evaluated as the corresponding boolean value - * - * @access public - * @category Logical Functions - * @param mixed $logical A value or expression that can be evaluated to TRUE or FALSE - * @return boolean The boolean inverse of the argument. - */ - public static function NOT($logical=FALSE) { - $logical = PHPExcel_Calculation_Functions::flattenSingleValue($logical); - if (is_string($logical)) { - $logical = strtoupper($logical); - if (($logical == 'TRUE') || ($logical == PHPExcel_Calculation::getTRUE())) { - return FALSE; - } elseif (($logical == 'FALSE') || ($logical == PHPExcel_Calculation::getFALSE())) { - return TRUE; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - - return !$logical; - } // function NOT() - - /** - * STATEMENT_IF - * - * Returns one value if a condition you specify evaluates to TRUE and another value if it evaluates to FALSE. - * - * Excel Function: - * =IF(condition[,returnIfTrue[,returnIfFalse]]) - * - * Condition is any value or expression that can be evaluated to TRUE or FALSE. - * For example, A10=100 is a logical expression; if the value in cell A10 is equal to 100, - * the expression evaluates to TRUE. Otherwise, the expression evaluates to FALSE. - * This argument can use any comparison calculation operator. - * ReturnIfTrue is the value that is returned if condition evaluates to TRUE. - * For example, if this argument is the text string "Within budget" and the condition argument evaluates to TRUE, - * then the IF function returns the text "Within budget" - * If condition is TRUE and ReturnIfTrue is blank, this argument returns 0 (zero). To display the word TRUE, use - * the logical value TRUE for this argument. - * ReturnIfTrue can be another formula. - * ReturnIfFalse is the value that is returned if condition evaluates to FALSE. - * For example, if this argument is the text string "Over budget" and the condition argument evaluates to FALSE, - * then the IF function returns the text "Over budget". - * If condition is FALSE and ReturnIfFalse is omitted, then the logical value FALSE is returned. - * If condition is FALSE and ReturnIfFalse is blank, then the value 0 (zero) is returned. - * ReturnIfFalse can be another formula. - * - * @access public - * @category Logical Functions - * @param mixed $condition Condition to evaluate - * @param mixed $returnIfTrue Value to return when condition is true - * @param mixed $returnIfFalse Optional value to return when condition is false - * @return mixed The value of returnIfTrue or returnIfFalse determined by condition - */ - public static function STATEMENT_IF($condition = TRUE, $returnIfTrue = 0, $returnIfFalse = FALSE) { - $condition = (is_null($condition)) ? TRUE : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($condition); - $returnIfTrue = (is_null($returnIfTrue)) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfTrue); - $returnIfFalse = (is_null($returnIfFalse)) ? FALSE : PHPExcel_Calculation_Functions::flattenSingleValue($returnIfFalse); - - return ($condition) ? $returnIfTrue : $returnIfFalse; - } // function STATEMENT_IF() - - - /** - * IFERROR - * - * Excel Function: - * =IFERROR(testValue,errorpart) - * - * @access public - * @category Logical Functions - * @param mixed $testValue Value to check, is also the value returned when no error - * @param mixed $errorpart Value to return when testValue is an error condition - * @return mixed The value of errorpart or testValue determined by error condition - */ - public static function IFERROR($testValue = '', $errorpart = '') { - $testValue = (is_null($testValue)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($testValue); - $errorpart = (is_null($errorpart)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($errorpart); - - return self::STATEMENT_IF(PHPExcel_Calculation_Functions::IS_ERROR($testValue), $errorpart, $testValue); - } // function IFERROR() - -} // class PHPExcel_Calculation_Logical diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/LookupRef.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/LookupRef.php deleted file mode 100644 index 94f42e5f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/LookupRef.php +++ /dev/null @@ -1,881 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Calculation_LookupRef - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_LookupRef { - - - /** - * CELL_ADDRESS - * - * Creates a cell address as text, given specified row and column numbers. - * - * Excel Function: - * =ADDRESS(row, column, [relativity], [referenceStyle], [sheetText]) - * - * @param row Row number to use in the cell reference - * @param column Column number to use in the cell reference - * @param relativity Flag indicating the type of reference to return - * 1 or omitted Absolute - * 2 Absolute row; relative column - * 3 Relative row; absolute column - * 4 Relative - * @param referenceStyle A logical value that specifies the A1 or R1C1 reference style. - * TRUE or omitted CELL_ADDRESS returns an A1-style reference - * FALSE CELL_ADDRESS returns an R1C1-style reference - * @param sheetText Optional Name of worksheet to use - * @return string - */ - public static function CELL_ADDRESS($row, $column, $relativity=1, $referenceStyle=True, $sheetText='') { - $row = PHPExcel_Calculation_Functions::flattenSingleValue($row); - $column = PHPExcel_Calculation_Functions::flattenSingleValue($column); - $relativity = PHPExcel_Calculation_Functions::flattenSingleValue($relativity); - $sheetText = PHPExcel_Calculation_Functions::flattenSingleValue($sheetText); - - if (($row < 1) || ($column < 1)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if ($sheetText > '') { - if (strpos($sheetText,' ') !== False) { $sheetText = "'".$sheetText."'"; } - $sheetText .='!'; - } - if ((!is_bool($referenceStyle)) || $referenceStyle) { - $rowRelative = $columnRelative = '$'; - $column = PHPExcel_Cell::stringFromColumnIndex($column-1); - if (($relativity == 2) || ($relativity == 4)) { $columnRelative = ''; } - if (($relativity == 3) || ($relativity == 4)) { $rowRelative = ''; } - return $sheetText.$columnRelative.$column.$rowRelative.$row; - } else { - if (($relativity == 2) || ($relativity == 4)) { $column = '['.$column.']'; } - if (($relativity == 3) || ($relativity == 4)) { $row = '['.$row.']'; } - return $sheetText.'R'.$row.'C'.$column; - } - } // function CELL_ADDRESS() - - - /** - * COLUMN - * - * Returns the column number of the given cell reference - * If the cell reference is a range of cells, COLUMN returns the column numbers of each column in the reference as a horizontal array. - * If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the - * reference of the cell in which the COLUMN function appears; otherwise this function returns 0. - * - * Excel Function: - * =COLUMN([cellAddress]) - * - * @param cellAddress A reference to a range of cells for which you want the column numbers - * @return integer or array of integer - */ - public static function COLUMN($cellAddress=Null) { - if (is_null($cellAddress) || trim($cellAddress) === '') { return 0; } - - if (is_array($cellAddress)) { - foreach($cellAddress as $columnKey => $value) { - $columnKey = preg_replace('/[^a-z]/i','',$columnKey); - return (integer) PHPExcel_Cell::columnIndexFromString($columnKey); - } - } else { - if (strpos($cellAddress,'!') !== false) { - list($sheet,$cellAddress) = explode('!',$cellAddress); - } - if (strpos($cellAddress,':') !== false) { - list($startAddress,$endAddress) = explode(':',$cellAddress); - $startAddress = preg_replace('/[^a-z]/i','',$startAddress); - $endAddress = preg_replace('/[^a-z]/i','',$endAddress); - $returnValue = array(); - do { - $returnValue[] = (integer) PHPExcel_Cell::columnIndexFromString($startAddress); - } while ($startAddress++ != $endAddress); - return $returnValue; - } else { - $cellAddress = preg_replace('/[^a-z]/i','',$cellAddress); - return (integer) PHPExcel_Cell::columnIndexFromString($cellAddress); - } - } - } // function COLUMN() - - - /** - * COLUMNS - * - * Returns the number of columns in an array or reference. - * - * Excel Function: - * =COLUMNS(cellAddress) - * - * @param cellAddress An array or array formula, or a reference to a range of cells for which you want the number of columns - * @return integer The number of columns in cellAddress - */ - public static function COLUMNS($cellAddress=Null) { - if (is_null($cellAddress) || $cellAddress === '') { - return 1; - } elseif (!is_array($cellAddress)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $x = array_keys($cellAddress); - $x = array_shift($x); - $isMatrix = (is_numeric($x)); - list($columns,$rows) = PHPExcel_Calculation::_getMatrixDimensions($cellAddress); - - if ($isMatrix) { - return $rows; - } else { - return $columns; - } - } // function COLUMNS() - - - /** - * ROW - * - * Returns the row number of the given cell reference - * If the cell reference is a range of cells, ROW returns the row numbers of each row in the reference as a vertical array. - * If cell reference is omitted, and the function is being called through the calculation engine, then it is assumed to be the - * reference of the cell in which the ROW function appears; otherwise this function returns 0. - * - * Excel Function: - * =ROW([cellAddress]) - * - * @param cellAddress A reference to a range of cells for which you want the row numbers - * @return integer or array of integer - */ - public static function ROW($cellAddress=Null) { - if (is_null($cellAddress) || trim($cellAddress) === '') { return 0; } - - if (is_array($cellAddress)) { - foreach($cellAddress as $columnKey => $rowValue) { - foreach($rowValue as $rowKey => $cellValue) { - return (integer) preg_replace('/[^0-9]/i','',$rowKey); - } - } - } else { - if (strpos($cellAddress,'!') !== false) { - list($sheet,$cellAddress) = explode('!',$cellAddress); - } - if (strpos($cellAddress,':') !== false) { - list($startAddress,$endAddress) = explode(':',$cellAddress); - $startAddress = preg_replace('/[^0-9]/','',$startAddress); - $endAddress = preg_replace('/[^0-9]/','',$endAddress); - $returnValue = array(); - do { - $returnValue[][] = (integer) $startAddress; - } while ($startAddress++ != $endAddress); - return $returnValue; - } else { - list($cellAddress) = explode(':',$cellAddress); - return (integer) preg_replace('/[^0-9]/','',$cellAddress); - } - } - } // function ROW() - - - /** - * ROWS - * - * Returns the number of rows in an array or reference. - * - * Excel Function: - * =ROWS(cellAddress) - * - * @param cellAddress An array or array formula, or a reference to a range of cells for which you want the number of rows - * @return integer The number of rows in cellAddress - */ - public static function ROWS($cellAddress=Null) { - if (is_null($cellAddress) || $cellAddress === '') { - return 1; - } elseif (!is_array($cellAddress)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - $i = array_keys($cellAddress); - $isMatrix = (is_numeric(array_shift($i))); - list($columns,$rows) = PHPExcel_Calculation::_getMatrixDimensions($cellAddress); - - if ($isMatrix) { - return $columns; - } else { - return $rows; - } - } // function ROWS() - - - /** - * HYPERLINK - * - * Excel Function: - * =HYPERLINK(linkURL,displayName) - * - * @access public - * @category Logical Functions - * @param string $linkURL Value to check, is also the value returned when no error - * @param string $displayName Value to return when testValue is an error condition - * @param PHPExcel_Cell $pCell The cell to set the hyperlink in - * @return mixed The value of $displayName (or $linkURL if $displayName was blank) - */ - public static function HYPERLINK($linkURL = '', $displayName = null, PHPExcel_Cell $pCell = null) { - $args = func_get_args(); - $pCell = array_pop($args); - - $linkURL = (is_null($linkURL)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($linkURL); - $displayName = (is_null($displayName)) ? '' : PHPExcel_Calculation_Functions::flattenSingleValue($displayName); - - if ((!is_object($pCell)) || (trim($linkURL) == '')) { - return PHPExcel_Calculation_Functions::REF(); - } - - if ((is_object($displayName)) || trim($displayName) == '') { - $displayName = $linkURL; - } - - $pCell->getHyperlink()->setUrl($linkURL); - - return $displayName; - } // function HYPERLINK() - - - /** - * INDIRECT - * - * Returns the reference specified by a text string. - * References are immediately evaluated to display their contents. - * - * Excel Function: - * =INDIRECT(cellAddress) - * - * NOTE - INDIRECT() does not yet support the optional a1 parameter introduced in Excel 2010 - * - * @param cellAddress $cellAddress The cell address of the current cell (containing this formula) - * @param PHPExcel_Cell $pCell The current cell (containing this formula) - * @return mixed The cells referenced by cellAddress - * - * @todo Support for the optional a1 parameter introduced in Excel 2010 - * - */ - public static function INDIRECT($cellAddress = NULL, PHPExcel_Cell $pCell = NULL) { - $cellAddress = PHPExcel_Calculation_Functions::flattenSingleValue($cellAddress); - if (is_null($cellAddress) || $cellAddress === '') { - return PHPExcel_Calculation_Functions::REF(); - } - - $cellAddress1 = $cellAddress; - $cellAddress2 = NULL; - if (strpos($cellAddress,':') !== false) { - list($cellAddress1,$cellAddress2) = explode(':',$cellAddress); - } - - if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $cellAddress1, $matches)) || - ((!is_null($cellAddress2)) && (!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $cellAddress2, $matches)))) { - if (!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $cellAddress1, $matches)) { - return PHPExcel_Calculation_Functions::REF(); - } - - if (strpos($cellAddress,'!') !== FALSE) { - list($sheetName, $cellAddress) = explode('!',$cellAddress); - $sheetName = trim($sheetName, "'"); - $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName); - } else { - $pSheet = $pCell->getWorksheet(); - } - - return PHPExcel_Calculation::getInstance()->extractNamedRange($cellAddress, $pSheet, FALSE); - } - - if (strpos($cellAddress,'!') !== FALSE) { - list($sheetName,$cellAddress) = explode('!',$cellAddress); - $sheetName = trim($sheetName, "'"); - $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName); - } else { - $pSheet = $pCell->getWorksheet(); - } - - return PHPExcel_Calculation::getInstance()->extractCellRange($cellAddress, $pSheet, FALSE); - } // function INDIRECT() - - - /** - * OFFSET - * - * Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells. - * The reference that is returned can be a single cell or a range of cells. You can specify the number of rows and - * the number of columns to be returned. - * - * Excel Function: - * =OFFSET(cellAddress, rows, cols, [height], [width]) - * - * @param cellAddress The reference from which you want to base the offset. Reference must refer to a cell or - * range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value. - * @param rows The number of rows, up or down, that you want the upper-left cell to refer to. - * Using 5 as the rows argument specifies that the upper-left cell in the reference is - * five rows below reference. Rows can be positive (which means below the starting reference) - * or negative (which means above the starting reference). - * @param cols The number of columns, to the left or right, that you want the upper-left cell of the result - * to refer to. Using 5 as the cols argument specifies that the upper-left cell in the - * reference is five columns to the right of reference. Cols can be positive (which means - * to the right of the starting reference) or negative (which means to the left of the - * starting reference). - * @param height The height, in number of rows, that you want the returned reference to be. Height must be a positive number. - * @param width The width, in number of columns, that you want the returned reference to be. Width must be a positive number. - * @return string A reference to a cell or range of cells - */ - public static function OFFSET($cellAddress=Null,$rows=0,$columns=0,$height=null,$width=null) { - $rows = PHPExcel_Calculation_Functions::flattenSingleValue($rows); - $columns = PHPExcel_Calculation_Functions::flattenSingleValue($columns); - $height = PHPExcel_Calculation_Functions::flattenSingleValue($height); - $width = PHPExcel_Calculation_Functions::flattenSingleValue($width); - if ($cellAddress == Null) { - return 0; - } - - $args = func_get_args(); - $pCell = array_pop($args); - if (!is_object($pCell)) { - return PHPExcel_Calculation_Functions::REF(); - } - - $sheetName = NULL; - if (strpos($cellAddress,"!")) { - list($sheetName,$cellAddress) = explode("!",$cellAddress); - $sheetName = trim($sheetName, "'"); - } - if (strpos($cellAddress,":")) { - list($startCell,$endCell) = explode(":",$cellAddress); - } else { - $startCell = $endCell = $cellAddress; - } - list($startCellColumn,$startCellRow) = PHPExcel_Cell::coordinateFromString($startCell); - list($endCellColumn,$endCellRow) = PHPExcel_Cell::coordinateFromString($endCell); - - $startCellRow += $rows; - $startCellColumn = PHPExcel_Cell::columnIndexFromString($startCellColumn) - 1; - $startCellColumn += $columns; - - if (($startCellRow <= 0) || ($startCellColumn < 0)) { - return PHPExcel_Calculation_Functions::REF(); - } - $endCellColumn = PHPExcel_Cell::columnIndexFromString($endCellColumn) - 1; - if (($width != null) && (!is_object($width))) { - $endCellColumn = $startCellColumn + $width - 1; - } else { - $endCellColumn += $columns; - } - $startCellColumn = PHPExcel_Cell::stringFromColumnIndex($startCellColumn); - - if (($height != null) && (!is_object($height))) { - $endCellRow = $startCellRow + $height - 1; - } else { - $endCellRow += $rows; - } - - if (($endCellRow <= 0) || ($endCellColumn < 0)) { - return PHPExcel_Calculation_Functions::REF(); - } - $endCellColumn = PHPExcel_Cell::stringFromColumnIndex($endCellColumn); - - $cellAddress = $startCellColumn.$startCellRow; - if (($startCellColumn != $endCellColumn) || ($startCellRow != $endCellRow)) { - $cellAddress .= ':'.$endCellColumn.$endCellRow; - } - - if ($sheetName !== NULL) { - $pSheet = $pCell->getWorksheet()->getParent()->getSheetByName($sheetName); - } else { - $pSheet = $pCell->getWorksheet(); - } - - return PHPExcel_Calculation::getInstance()->extractCellRange($cellAddress, $pSheet, False); - } // function OFFSET() - - - /** - * CHOOSE - * - * Uses lookup_value to return a value from the list of value arguments. - * Use CHOOSE to select one of up to 254 values based on the lookup_value. - * - * Excel Function: - * =CHOOSE(index_num, value1, [value2], ...) - * - * @param index_num Specifies which value argument is selected. - * Index_num must be a number between 1 and 254, or a formula or reference to a cell containing a number - * between 1 and 254. - * @param value1... Value1 is required, subsequent values are optional. - * Between 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on - * index_num. The arguments can be numbers, cell references, defined names, formulas, functions, or - * text. - * @return mixed The selected value - */ - public static function CHOOSE() { - $chooseArgs = func_get_args(); - $chosenEntry = PHPExcel_Calculation_Functions::flattenArray(array_shift($chooseArgs)); - $entryCount = count($chooseArgs) - 1; - - if(is_array($chosenEntry)) { - $chosenEntry = array_shift($chosenEntry); - } - if ((is_numeric($chosenEntry)) && (!is_bool($chosenEntry))) { - --$chosenEntry; - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - $chosenEntry = floor($chosenEntry); - if (($chosenEntry < 0) || ($chosenEntry > $entryCount)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_array($chooseArgs[$chosenEntry])) { - return PHPExcel_Calculation_Functions::flattenArray($chooseArgs[$chosenEntry]); - } else { - return $chooseArgs[$chosenEntry]; - } - } // function CHOOSE() - - - /** - * MATCH - * - * The MATCH function searches for a specified item in a range of cells - * - * Excel Function: - * =MATCH(lookup_value, lookup_array, [match_type]) - * - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_array The range of cells being searched - * @param match_type The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered. - * @return integer The relative position of the found item - */ - public static function MATCH($lookup_value, $lookup_array, $match_type=1) { - $lookup_array = PHPExcel_Calculation_Functions::flattenArray($lookup_array); - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - $match_type = (is_null($match_type)) ? 1 : (int) PHPExcel_Calculation_Functions::flattenSingleValue($match_type); - // MATCH is not case sensitive - $lookup_value = strtolower($lookup_value); - - // lookup_value type has to be number, text, or logical values - if ((!is_numeric($lookup_value)) && (!is_string($lookup_value)) && (!is_bool($lookup_value))) { - return PHPExcel_Calculation_Functions::NA(); - } - - // match_type is 0, 1 or -1 - if (($match_type !== 0) && ($match_type !== -1) && ($match_type !== 1)) { - return PHPExcel_Calculation_Functions::NA(); - } - - // lookup_array should not be empty - $lookupArraySize = count($lookup_array); - if ($lookupArraySize <= 0) { - return PHPExcel_Calculation_Functions::NA(); - } - - // lookup_array should contain only number, text, or logical values, or empty (null) cells - foreach($lookup_array as $i => $lookupArrayValue) { - // check the type of the value - if ((!is_numeric($lookupArrayValue)) && (!is_string($lookupArrayValue)) && - (!is_bool($lookupArrayValue)) && (!is_null($lookupArrayValue))) { - return PHPExcel_Calculation_Functions::NA(); - } - // convert strings to lowercase for case-insensitive testing - if (is_string($lookupArrayValue)) { - $lookup_array[$i] = strtolower($lookupArrayValue); - } - if ((is_null($lookupArrayValue)) && (($match_type == 1) || ($match_type == -1))) { - $lookup_array = array_slice($lookup_array,0,$i-1); - } - } - - // if match_type is 1 or -1, the list has to be ordered - if ($match_type == 1) { - asort($lookup_array); - $keySet = array_keys($lookup_array); - } elseif($match_type == -1) { - arsort($lookup_array); - $keySet = array_keys($lookup_array); - } - - // ** - // find the match - // ** - // loop on the cells -// var_dump($lookup_array); -// echo '<br />'; - foreach($lookup_array as $i => $lookupArrayValue) { - if (($match_type == 0) && ($lookupArrayValue == $lookup_value)) { - // exact match - return ++$i; - } elseif (($match_type == -1) && ($lookupArrayValue <= $lookup_value)) { -// echo '$i = '.$i.' => '; -// var_dump($lookupArrayValue); -// echo '<br />'; -// echo 'Keyset = '; -// var_dump($keySet); -// echo '<br />'; - $i = array_search($i,$keySet); -// echo '$i='.$i.'<br />'; - // if match_type is -1 <=> find the smallest value that is greater than or equal to lookup_value - if ($i < 1){ - // 1st cell was allready smaller than the lookup_value - break; - } else { - // the previous cell was the match - return $keySet[$i-1]+1; - } - } elseif (($match_type == 1) && ($lookupArrayValue >= $lookup_value)) { -// echo '$i = '.$i.' => '; -// var_dump($lookupArrayValue); -// echo '<br />'; -// echo 'Keyset = '; -// var_dump($keySet); -// echo '<br />'; - $i = array_search($i,$keySet); -// echo '$i='.$i.'<br />'; - // if match_type is 1 <=> find the largest value that is less than or equal to lookup_value - if ($i < 1){ - // 1st cell was allready bigger than the lookup_value - break; - } else { - // the previous cell was the match - return $keySet[$i-1]+1; - } - } - } - - // unsuccessful in finding a match, return #N/A error value - return PHPExcel_Calculation_Functions::NA(); - } // function MATCH() - - - /** - * INDEX - * - * Uses an index to choose a value from a reference or array - * - * Excel Function: - * =INDEX(range_array, row_num, [column_num]) - * - * @param range_array A range of cells or an array constant - * @param row_num The row in array from which to return a value. If row_num is omitted, column_num is required. - * @param column_num The column in array from which to return a value. If column_num is omitted, row_num is required. - * @return mixed the value of a specified cell or array of cells - */ - public static function INDEX($arrayValues,$rowNum = 0,$columnNum = 0) { - - if (($rowNum < 0) || ($columnNum < 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (!is_array($arrayValues)) { - return PHPExcel_Calculation_Functions::REF(); - } - - $rowKeys = array_keys($arrayValues); - $columnKeys = @array_keys($arrayValues[$rowKeys[0]]); - - if ($columnNum > count($columnKeys)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($columnNum == 0) { - if ($rowNum == 0) { - return $arrayValues; - } - $rowNum = $rowKeys[--$rowNum]; - $returnArray = array(); - foreach($arrayValues as $arrayColumn) { - if (is_array($arrayColumn)) { - if (isset($arrayColumn[$rowNum])) { - $returnArray[] = $arrayColumn[$rowNum]; - } else { - return $arrayValues[$rowNum]; - } - } else { - return $arrayValues[$rowNum]; - } - } - return $returnArray; - } - $columnNum = $columnKeys[--$columnNum]; - if ($rowNum > count($rowKeys)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($rowNum == 0) { - return $arrayValues[$columnNum]; - } - $rowNum = $rowKeys[--$rowNum]; - - return $arrayValues[$rowNum][$columnNum]; - } // function INDEX() - - - /** - * TRANSPOSE - * - * @param array $matrixData A matrix of values - * @return array - * - * Unlike the Excel TRANSPOSE function, which will only work on a single row or column, this function will transpose a full matrix. - */ - public static function TRANSPOSE($matrixData) { - $returnMatrix = array(); - if (!is_array($matrixData)) { $matrixData = array(array($matrixData)); } - - $column = 0; - foreach($matrixData as $matrixRow) { - $row = 0; - foreach($matrixRow as $matrixCell) { - $returnMatrix[$row][$column] = $matrixCell; - ++$row; - } - ++$column; - } - return $returnMatrix; - } // function TRANSPOSE() - - - private static function _vlookupSort($a,$b) { - $f = array_keys($a); - $firstColumn = array_shift($f); - if (strtolower($a[$firstColumn]) == strtolower($b[$firstColumn])) { - return 0; - } - return (strtolower($a[$firstColumn]) < strtolower($b[$firstColumn])) ? -1 : 1; - } // function _vlookupSort() - - - /** - * VLOOKUP - * The VLOOKUP function searches for value in the left-most column of lookup_array and returns the value in the same row based on the index_number. - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_array The range of cells being searched - * @param index_number The column number in table_array from which the matching value must be returned. The first column is 1. - * @param not_exact_match Determines if you are looking for an exact match based on lookup_value. - * @return mixed The value of the found cell - */ - public static function VLOOKUP($lookup_value, $lookup_array, $index_number, $not_exact_match=true) { - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - $index_number = PHPExcel_Calculation_Functions::flattenSingleValue($index_number); - $not_exact_match = PHPExcel_Calculation_Functions::flattenSingleValue($not_exact_match); - - // index_number must be greater than or equal to 1 - if ($index_number < 1) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // index_number must be less than or equal to the number of columns in lookup_array - if ((!is_array($lookup_array)) || (empty($lookup_array))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $f = array_keys($lookup_array); - $firstRow = array_pop($f); - if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $columnKeys = array_keys($lookup_array[$firstRow]); - $returnColumn = $columnKeys[--$index_number]; - $firstColumn = array_shift($columnKeys); - } - } - - if (!$not_exact_match) { - uasort($lookup_array,array('self','_vlookupSort')); - } - - $rowNumber = $rowValue = False; - foreach($lookup_array as $rowKey => $rowData) { - if ((is_numeric($lookup_value) && is_numeric($rowData[$firstColumn]) && ($rowData[$firstColumn] > $lookup_value)) || - (!is_numeric($lookup_value) && !is_numeric($rowData[$firstColumn]) && (strtolower($rowData[$firstColumn]) > strtolower($lookup_value)))) { - break; - } - $rowNumber = $rowKey; - $rowValue = $rowData[$firstColumn]; - } - - if ($rowNumber !== false) { - if ((!$not_exact_match) && ($rowValue != $lookup_value)) { - // if an exact match is required, we have what we need to return an appropriate response - return PHPExcel_Calculation_Functions::NA(); - } else { - // otherwise return the appropriate value - $result = $lookup_array[$rowNumber][$returnColumn]; - if ((is_numeric($lookup_value) && is_numeric($result)) || - (!is_numeric($lookup_value) && !is_numeric($result))) { - return $result; - } - } - } - - return PHPExcel_Calculation_Functions::NA(); - } // function VLOOKUP() - - -/** - * HLOOKUP - * The HLOOKUP function searches for value in the top-most row of lookup_array and returns the value in the same column based on the index_number. - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_array The range of cells being searched - * @param index_number The row number in table_array from which the matching value must be returned. The first row is 1. - * @param not_exact_match Determines if you are looking for an exact match based on lookup_value. - * @return mixed The value of the found cell - */ - public static function HLOOKUP($lookup_value, $lookup_array, $index_number, $not_exact_match=true) { - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - $index_number = PHPExcel_Calculation_Functions::flattenSingleValue($index_number); - $not_exact_match = PHPExcel_Calculation_Functions::flattenSingleValue($not_exact_match); - - // index_number must be greater than or equal to 1 - if ($index_number < 1) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - // index_number must be less than or equal to the number of columns in lookup_array - if ((!is_array($lookup_array)) || (empty($lookup_array))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $f = array_keys($lookup_array); - $firstRow = array_pop($f); - if ((!is_array($lookup_array[$firstRow])) || ($index_number > count($lookup_array[$firstRow]))) { - return PHPExcel_Calculation_Functions::REF(); - } else { - $columnKeys = array_keys($lookup_array[$firstRow]); - $firstkey = $f[0] - 1; - $returnColumn = $firstkey + $index_number; - $firstColumn = array_shift($f); - } - } - - if (!$not_exact_match) { - $firstRowH = asort($lookup_array[$firstColumn]); - } - - $rowNumber = $rowValue = False; - foreach($lookup_array[$firstColumn] as $rowKey => $rowData) { - if ((is_numeric($lookup_value) && is_numeric($rowData) && ($rowData > $lookup_value)) || - (!is_numeric($lookup_value) && !is_numeric($rowData) && (strtolower($rowData) > strtolower($lookup_value)))) { - break; - } - $rowNumber = $rowKey; - $rowValue = $rowData; - } - - if ($rowNumber !== false) { - if ((!$not_exact_match) && ($rowValue != $lookup_value)) { - // if an exact match is required, we have what we need to return an appropriate response - return PHPExcel_Calculation_Functions::NA(); - } else { - // otherwise return the appropriate value - $result = $lookup_array[$returnColumn][$rowNumber]; - return $result; - } - } - - return PHPExcel_Calculation_Functions::NA(); - } // function HLOOKUP() - - - /** - * LOOKUP - * The LOOKUP function searches for value either from a one-row or one-column range or from an array. - * @param lookup_value The value that you want to match in lookup_array - * @param lookup_vector The range of cells being searched - * @param result_vector The column from which the matching value must be returned - * @return mixed The value of the found cell - */ - public static function LOOKUP($lookup_value, $lookup_vector, $result_vector=null) { - $lookup_value = PHPExcel_Calculation_Functions::flattenSingleValue($lookup_value); - - if (!is_array($lookup_vector)) { - return PHPExcel_Calculation_Functions::NA(); - } - $lookupRows = count($lookup_vector); - $l = array_keys($lookup_vector); - $l = array_shift($l); - $lookupColumns = count($lookup_vector[$l]); - if ((($lookupRows == 1) && ($lookupColumns > 1)) || (($lookupRows == 2) && ($lookupColumns != 2))) { - $lookup_vector = self::TRANSPOSE($lookup_vector); - $lookupRows = count($lookup_vector); - $l = array_keys($lookup_vector); - $lookupColumns = count($lookup_vector[array_shift($l)]); - } - - if (is_null($result_vector)) { - $result_vector = $lookup_vector; - } - $resultRows = count($result_vector); - $l = array_keys($result_vector); - $l = array_shift($l); - $resultColumns = count($result_vector[$l]); - if ((($resultRows == 1) && ($resultColumns > 1)) || (($resultRows == 2) && ($resultColumns != 2))) { - $result_vector = self::TRANSPOSE($result_vector); - $resultRows = count($result_vector); - $r = array_keys($result_vector); - $resultColumns = count($result_vector[array_shift($r)]); - } - - if ($lookupRows == 2) { - $result_vector = array_pop($lookup_vector); - $lookup_vector = array_shift($lookup_vector); - } - if ($lookupColumns != 2) { - foreach($lookup_vector as &$value) { - if (is_array($value)) { - $k = array_keys($value); - $key1 = $key2 = array_shift($k); - $key2++; - $dataValue1 = $value[$key1]; - } else { - $key1 = 0; - $key2 = 1; - $dataValue1 = $value; - } - $dataValue2 = array_shift($result_vector); - if (is_array($dataValue2)) { - $dataValue2 = array_shift($dataValue2); - } - $value = array($key1 => $dataValue1, $key2 => $dataValue2); - } - unset($value); - } - - return self::VLOOKUP($lookup_value,$lookup_vector,2); - } // function LOOKUP() - -} // class PHPExcel_Calculation_LookupRef diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/MathTrig.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/MathTrig.php deleted file mode 100644 index b2bb19d48..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/MathTrig.php +++ /dev/null @@ -1,1373 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Calculation_MathTrig - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_MathTrig { - - // - // Private method to return an array of the factors of the input value - // - private static function _factors($value) { - $startVal = floor(sqrt($value)); - - $factorArray = array(); - for ($i = $startVal; $i > 1; --$i) { - if (($value % $i) == 0) { - $factorArray = array_merge($factorArray,self::_factors($value / $i)); - $factorArray = array_merge($factorArray,self::_factors($i)); - if ($i <= sqrt($value)) { - break; - } - } - } - if (!empty($factorArray)) { - rsort($factorArray); - return $factorArray; - } else { - return array((integer) $value); - } - } // function _factors() - - - private static function _romanCut($num, $n) { - return ($num - ($num % $n ) ) / $n; - } // function _romanCut() - - - /** - * ATAN2 - * - * This function calculates the arc tangent of the two variables x and y. It is similar to - * calculating the arc tangent of y ÷ x, except that the signs of both arguments are used - * to determine the quadrant of the result. - * The arctangent is the angle from the x-axis to a line containing the origin (0, 0) and a - * point with coordinates (xCoordinate, yCoordinate). The angle is given in radians between - * -pi and pi, excluding -pi. - * - * Note that the Excel ATAN2() function accepts its arguments in the reverse order to the standard - * PHP atan2() function, so we need to reverse them here before calling the PHP atan() function. - * - * Excel Function: - * ATAN2(xCoordinate,yCoordinate) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $xCoordinate The x-coordinate of the point. - * @param float $yCoordinate The y-coordinate of the point. - * @return float The inverse tangent of the specified x- and y-coordinates. - */ - public static function ATAN2($xCoordinate = NULL, $yCoordinate = NULL) { - $xCoordinate = PHPExcel_Calculation_Functions::flattenSingleValue($xCoordinate); - $yCoordinate = PHPExcel_Calculation_Functions::flattenSingleValue($yCoordinate); - - $xCoordinate = ($xCoordinate !== NULL) ? $xCoordinate : 0.0; - $yCoordinate = ($yCoordinate !== NULL) ? $yCoordinate : 0.0; - - if (((is_numeric($xCoordinate)) || (is_bool($xCoordinate))) && - ((is_numeric($yCoordinate))) || (is_bool($yCoordinate))) { - $xCoordinate = (float) $xCoordinate; - $yCoordinate = (float) $yCoordinate; - - if (($xCoordinate == 0) && ($yCoordinate == 0)) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - return atan2($yCoordinate, $xCoordinate); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ATAN2() - - - /** - * CEILING - * - * Returns number rounded up, away from zero, to the nearest multiple of significance. - * For example, if you want to avoid using pennies in your prices and your product is - * priced at $4.42, use the formula =CEILING(4.42,0.05) to round prices up to the - * nearest nickel. - * - * Excel Function: - * CEILING(number[,significance]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number The number you want to round. - * @param float $significance The multiple to which you want to round. - * @return float Rounded Number - */ - public static function CEILING($number, $significance = NULL) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $significance = PHPExcel_Calculation_Functions::flattenSingleValue($significance); - - if ((is_null($significance)) && - (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) { - $significance = $number/abs($number); - } - - if ((is_numeric($number)) && (is_numeric($significance))) { - if ($significance == 0.0) { - return 0.0; - } elseif (self::SIGN($number) == self::SIGN($significance)) { - return ceil($number / $significance) * $significance; - } else { - return PHPExcel_Calculation_Functions::NaN(); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CEILING() - - - /** - * COMBIN - * - * Returns the number of combinations for a given number of items. Use COMBIN to - * determine the total possible number of groups for a given number of items. - * - * Excel Function: - * COMBIN(numObjs,numInSet) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param int $numObjs Number of different objects - * @param int $numInSet Number of objects in each combination - * @return int Number of combinations - */ - public static function COMBIN($numObjs, $numInSet) { - $numObjs = PHPExcel_Calculation_Functions::flattenSingleValue($numObjs); - $numInSet = PHPExcel_Calculation_Functions::flattenSingleValue($numInSet); - - if ((is_numeric($numObjs)) && (is_numeric($numInSet))) { - if ($numObjs < $numInSet) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif ($numInSet < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return round(self::FACT($numObjs) / self::FACT($numObjs - $numInSet)) / self::FACT($numInSet); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function COMBIN() - - - /** - * EVEN - * - * Returns number rounded up to the nearest even integer. - * You can use this function for processing items that come in twos. For example, - * a packing crate accepts rows of one or two items. The crate is full when - * the number of items, rounded up to the nearest two, matches the crate's - * capacity. - * - * Excel Function: - * EVEN(number) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number Number to round - * @return int Rounded Number - */ - public static function EVEN($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_null($number)) { - return 0; - } elseif (is_bool($number)) { - $number = (int) $number; - } - - if (is_numeric($number)) { - $significance = 2 * self::SIGN($number); - return (int) self::CEILING($number,$significance); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function EVEN() - - - /** - * FACT - * - * Returns the factorial of a number. - * The factorial of a number is equal to 1*2*3*...* number. - * - * Excel Function: - * FACT(factVal) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $factVal Factorial Value - * @return int Factorial - */ - public static function FACT($factVal) { - $factVal = PHPExcel_Calculation_Functions::flattenSingleValue($factVal); - - if (is_numeric($factVal)) { - if ($factVal < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $factLoop = floor($factVal); - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - if ($factVal > $factLoop) { - return PHPExcel_Calculation_Functions::NaN(); - } - } - - $factorial = 1; - while ($factLoop > 1) { - $factorial *= $factLoop--; - } - return $factorial ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FACT() - - - /** - * FACTDOUBLE - * - * Returns the double factorial of a number. - * - * Excel Function: - * FACTDOUBLE(factVal) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $factVal Factorial Value - * @return int Double Factorial - */ - public static function FACTDOUBLE($factVal) { - $factLoop = PHPExcel_Calculation_Functions::flattenSingleValue($factVal); - - if (is_numeric($factLoop)) { - $factLoop = floor($factLoop); - if ($factVal < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $factorial = 1; - while ($factLoop > 1) { - $factorial *= $factLoop--; - --$factLoop; - } - return $factorial ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FACTDOUBLE() - - - /** - * FLOOR - * - * Rounds number down, toward zero, to the nearest multiple of significance. - * - * Excel Function: - * FLOOR(number[,significance]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number Number to round - * @param float $significance Significance - * @return float Rounded Number - */ - public static function FLOOR($number, $significance = NULL) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $significance = PHPExcel_Calculation_Functions::flattenSingleValue($significance); - - if ((is_null($significance)) && (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC)) { - $significance = $number/abs($number); - } - - if ((is_numeric($number)) && (is_numeric($significance))) { - if ((float) $significance == 0.0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - if (self::SIGN($number) == self::SIGN($significance)) { - return floor($number / $significance) * $significance; - } else { - return PHPExcel_Calculation_Functions::NaN(); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FLOOR() - - - /** - * GCD - * - * Returns the greatest common divisor of a series of numbers. - * The greatest common divisor is the largest integer that divides both - * number1 and number2 without a remainder. - * - * Excel Function: - * GCD(number1[,number2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return integer Greatest Common Divisor - */ - public static function GCD() { - $returnValue = 1; - $allValuesFactors = array(); - // Loop through arguments - foreach(PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $value) { - if (!is_numeric($value)) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ($value == 0) { - continue; - } elseif($value < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $myFactors = self::_factors($value); - $myCountedFactors = array_count_values($myFactors); - $allValuesFactors[] = $myCountedFactors; - } - $allValuesCount = count($allValuesFactors); - if ($allValuesCount == 0) { - return 0; - } - - $mergedArray = $allValuesFactors[0]; - for ($i=1;$i < $allValuesCount; ++$i) { - $mergedArray = array_intersect_key($mergedArray,$allValuesFactors[$i]); - } - $mergedArrayValues = count($mergedArray); - if ($mergedArrayValues == 0) { - return $returnValue; - } elseif ($mergedArrayValues > 1) { - foreach($mergedArray as $mergedKey => $mergedValue) { - foreach($allValuesFactors as $highestPowerTest) { - foreach($highestPowerTest as $testKey => $testValue) { - if (($testKey == $mergedKey) && ($testValue < $mergedValue)) { - $mergedArray[$mergedKey] = $testValue; - $mergedValue = $testValue; - } - } - } - } - - $returnValue = 1; - foreach($mergedArray as $key => $value) { - $returnValue *= pow($key,$value); - } - return $returnValue; - } else { - $keys = array_keys($mergedArray); - $key = $keys[0]; - $value = $mergedArray[$key]; - foreach($allValuesFactors as $testValue) { - foreach($testValue as $mergedKey => $mergedValue) { - if (($mergedKey == $key) && ($mergedValue < $value)) { - $value = $mergedValue; - } - } - } - return pow($key,$value); - } - } // function GCD() - - - /** - * INT - * - * Casts a floating point value to an integer - * - * Excel Function: - * INT(number) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number Number to cast to an integer - * @return integer Integer value - */ - public static function INT($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_null($number)) { - return 0; - } elseif (is_bool($number)) { - return (int) $number; - } - if (is_numeric($number)) { - return (int) floor($number); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function INT() - - - /** - * LCM - * - * Returns the lowest common multiplier of a series of numbers - * The least common multiple is the smallest positive integer that is a multiple - * of all integer arguments number1, number2, and so on. Use LCM to add fractions - * with different denominators. - * - * Excel Function: - * LCM(number1[,number2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return int Lowest Common Multiplier - */ - public static function LCM() { - $returnValue = 1; - $allPoweredFactors = array(); - // Loop through arguments - foreach(PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $value) { - if (!is_numeric($value)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if ($value == 0) { - return 0; - } elseif ($value < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $myFactors = self::_factors(floor($value)); - $myCountedFactors = array_count_values($myFactors); - $myPoweredFactors = array(); - foreach($myCountedFactors as $myCountedFactor => $myCountedPower) { - $myPoweredFactors[$myCountedFactor] = pow($myCountedFactor,$myCountedPower); - } - foreach($myPoweredFactors as $myPoweredValue => $myPoweredFactor) { - if (array_key_exists($myPoweredValue,$allPoweredFactors)) { - if ($allPoweredFactors[$myPoweredValue] < $myPoweredFactor) { - $allPoweredFactors[$myPoweredValue] = $myPoweredFactor; - } - } else { - $allPoweredFactors[$myPoweredValue] = $myPoweredFactor; - } - } - } - foreach($allPoweredFactors as $allPoweredFactor) { - $returnValue *= (integer) $allPoweredFactor; - } - return $returnValue; - } // function LCM() - - - /** - * LOG_BASE - * - * Returns the logarithm of a number to a specified base. The default base is 10. - * - * Excel Function: - * LOG(number[,base]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param float $number The positive real number for which you want the logarithm - * @param float $base The base of the logarithm. If base is omitted, it is assumed to be 10. - * @return float - */ - public static function LOG_BASE($number = NULL, $base = 10) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $base = (is_null($base)) ? 10 : (float) PHPExcel_Calculation_Functions::flattenSingleValue($base); - - if ((!is_numeric($base)) || (!is_numeric($number))) - return PHPExcel_Calculation_Functions::VALUE(); - if (($base <= 0) || ($number <= 0)) - return PHPExcel_Calculation_Functions::NaN(); - return log($number, $base); - } // function LOG_BASE() - - - /** - * MDETERM - * - * Returns the matrix determinant of an array. - * - * Excel Function: - * MDETERM(array) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param array $matrixValues A matrix of values - * @return float - */ - public static function MDETERM($matrixValues) { - $matrixData = array(); - if (!is_array($matrixValues)) { $matrixValues = array(array($matrixValues)); } - - $row = $maxColumn = 0; - foreach($matrixValues as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $column = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixData[$column][$row] = $matrixCell; - ++$column; - } - if ($column > $maxColumn) { $maxColumn = $column; } - ++$row; - } - if ($row != $maxColumn) { return PHPExcel_Calculation_Functions::VALUE(); } - - try { - $matrix = new PHPExcel_Shared_JAMA_Matrix($matrixData); - return $matrix->det(); - } catch (PHPExcel_Exception $ex) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } // function MDETERM() - - - /** - * MINVERSE - * - * Returns the inverse matrix for the matrix stored in an array. - * - * Excel Function: - * MINVERSE(array) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param array $matrixValues A matrix of values - * @return array - */ - public static function MINVERSE($matrixValues) { - $matrixData = array(); - if (!is_array($matrixValues)) { $matrixValues = array(array($matrixValues)); } - - $row = $maxColumn = 0; - foreach($matrixValues as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $column = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixData[$column][$row] = $matrixCell; - ++$column; - } - if ($column > $maxColumn) { $maxColumn = $column; } - ++$row; - } - if ($row != $maxColumn) { return PHPExcel_Calculation_Functions::VALUE(); } - - try { - $matrix = new PHPExcel_Shared_JAMA_Matrix($matrixData); - return $matrix->inverse()->getArray(); - } catch (PHPExcel_Exception $ex) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } // function MINVERSE() - - - /** - * MMULT - * - * @param array $matrixData1 A matrix of values - * @param array $matrixData2 A matrix of values - * @return array - */ - public static function MMULT($matrixData1,$matrixData2) { - $matrixAData = $matrixBData = array(); - if (!is_array($matrixData1)) { $matrixData1 = array(array($matrixData1)); } - if (!is_array($matrixData2)) { $matrixData2 = array(array($matrixData2)); } - - $rowA = 0; - foreach($matrixData1 as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $columnA = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixAData[$rowA][$columnA] = $matrixCell; - ++$columnA; - } - ++$rowA; - } - try { - $matrixA = new PHPExcel_Shared_JAMA_Matrix($matrixAData); - $rowB = 0; - foreach($matrixData2 as $matrixRow) { - if (!is_array($matrixRow)) { $matrixRow = array($matrixRow); } - $columnB = 0; - foreach($matrixRow as $matrixCell) { - if ((is_string($matrixCell)) || ($matrixCell === null)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $matrixBData[$rowB][$columnB] = $matrixCell; - ++$columnB; - } - ++$rowB; - } - $matrixB = new PHPExcel_Shared_JAMA_Matrix($matrixBData); - - if (($rowA != $columnB) || ($rowB != $columnA)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - return $matrixA->times($matrixB)->getArray(); - } catch (PHPExcel_Exception $ex) { - return PHPExcel_Calculation_Functions::VALUE(); - } - } // function MMULT() - - - /** - * MOD - * - * @param int $a Dividend - * @param int $b Divisor - * @return int Remainder - */ - public static function MOD($a = 1, $b = 1) { - $a = PHPExcel_Calculation_Functions::flattenSingleValue($a); - $b = PHPExcel_Calculation_Functions::flattenSingleValue($b); - - if ($b == 0.0) { - return PHPExcel_Calculation_Functions::DIV0(); - } elseif (($a < 0.0) && ($b > 0.0)) { - return $b - fmod(abs($a),$b); - } elseif (($a > 0.0) && ($b < 0.0)) { - return $b + fmod($a,abs($b)); - } - - return fmod($a,$b); - } // function MOD() - - - /** - * MROUND - * - * Rounds a number to the nearest multiple of a specified value - * - * @param float $number Number to round - * @param int $multiple Multiple to which you want to round $number - * @return float Rounded Number - */ - public static function MROUND($number,$multiple) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $multiple = PHPExcel_Calculation_Functions::flattenSingleValue($multiple); - - if ((is_numeric($number)) && (is_numeric($multiple))) { - if ($multiple == 0) { - return 0; - } - if ((self::SIGN($number)) == (self::SIGN($multiple))) { - $multiplier = 1 / $multiple; - return round($number * $multiplier) / $multiplier; - } - return PHPExcel_Calculation_Functions::NaN(); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function MROUND() - - - /** - * MULTINOMIAL - * - * Returns the ratio of the factorial of a sum of values to the product of factorials. - * - * @param array of mixed Data Series - * @return float - */ - public static function MULTINOMIAL() { - $summer = 0; - $divisor = 1; - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if (is_numeric($arg)) { - if ($arg < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - $summer += floor($arg); - $divisor *= self::FACT($arg); - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - - // Return - if ($summer > 0) { - $summer = self::FACT($summer); - return $summer / $divisor; - } - return 0; - } // function MULTINOMIAL() - - - /** - * ODD - * - * Returns number rounded up to the nearest odd integer. - * - * @param float $number Number to round - * @return int Rounded Number - */ - public static function ODD($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_null($number)) { - return 1; - } elseif (is_bool($number)) { - $number = (int) $number; - } - - if (is_numeric($number)) { - $significance = self::SIGN($number); - if ($significance == 0) { - return 1; - } - - $result = self::CEILING($number,$significance); - if ($result == self::EVEN($result)) { - $result += $significance; - } - - return (int) $result; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ODD() - - - /** - * POWER - * - * Computes x raised to the power y. - * - * @param float $x - * @param float $y - * @return float - */ - public static function POWER($x = 0, $y = 2) { - $x = PHPExcel_Calculation_Functions::flattenSingleValue($x); - $y = PHPExcel_Calculation_Functions::flattenSingleValue($y); - - // Validate parameters - if ($x == 0.0 && $y == 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } elseif ($x == 0.0 && $y < 0.0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - // Return - $result = pow($x, $y); - return (!is_nan($result) && !is_infinite($result)) ? $result : PHPExcel_Calculation_Functions::NaN(); - } // function POWER() - - - /** - * PRODUCT - * - * PRODUCT returns the product of all the values and cells referenced in the argument list. - * - * Excel Function: - * PRODUCT(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function PRODUCT() { - // Return value - $returnValue = null; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = $arg; - } else { - $returnValue *= $arg; - } - } - } - - // Return - if (is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function PRODUCT() - - - /** - * QUOTIENT - * - * QUOTIENT function returns the integer portion of a division. Numerator is the divided number - * and denominator is the divisor. - * - * Excel Function: - * QUOTIENT(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function QUOTIENT() { - // Return value - $returnValue = null; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = ($arg == 0) ? 0 : $arg; - } else { - if (($returnValue == 0) || ($arg == 0)) { - $returnValue = 0; - } else { - $returnValue /= $arg; - } - } - } - } - - // Return - return intval($returnValue); - } // function QUOTIENT() - - - /** - * RAND - * - * @param int $min Minimal value - * @param int $max Maximal value - * @return int Random number - */ - public static function RAND($min = 0, $max = 0) { - $min = PHPExcel_Calculation_Functions::flattenSingleValue($min); - $max = PHPExcel_Calculation_Functions::flattenSingleValue($max); - - if ($min == 0 && $max == 0) { - return (rand(0,10000000)) / 10000000; - } else { - return rand($min, $max); - } - } // function RAND() - - - public static function ROMAN($aValue, $style=0) { - $aValue = PHPExcel_Calculation_Functions::flattenSingleValue($aValue); - $style = (is_null($style)) ? 0 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($style); - if ((!is_numeric($aValue)) || ($aValue < 0) || ($aValue >= 4000)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $aValue = (integer) $aValue; - if ($aValue == 0) { - return ''; - } - - $mill = Array('', 'M', 'MM', 'MMM', 'MMMM', 'MMMMM'); - $cent = Array('', 'C', 'CC', 'CCC', 'CD', 'D', 'DC', 'DCC', 'DCCC', 'CM'); - $tens = Array('', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC'); - $ones = Array('', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX'); - - $roman = ''; - while ($aValue > 5999) { - $roman .= 'M'; - $aValue -= 1000; - } - $m = self::_romanCut($aValue, 1000); $aValue %= 1000; - $c = self::_romanCut($aValue, 100); $aValue %= 100; - $t = self::_romanCut($aValue, 10); $aValue %= 10; - - return $roman.$mill[$m].$cent[$c].$tens[$t].$ones[$aValue]; - } // function ROMAN() - - - /** - * ROUNDUP - * - * Rounds a number up to a specified number of decimal places - * - * @param float $number Number to round - * @param int $digits Number of digits to which you want to round $number - * @return float Rounded Number - */ - public static function ROUNDUP($number,$digits) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $digits = PHPExcel_Calculation_Functions::flattenSingleValue($digits); - - if ((is_numeric($number)) && (is_numeric($digits))) { - $significance = pow(10,(int) $digits); - if ($number < 0.0) { - return floor($number * $significance) / $significance; - } else { - return ceil($number * $significance) / $significance; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ROUNDUP() - - - /** - * ROUNDDOWN - * - * Rounds a number down to a specified number of decimal places - * - * @param float $number Number to round - * @param int $digits Number of digits to which you want to round $number - * @return float Rounded Number - */ - public static function ROUNDDOWN($number,$digits) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - $digits = PHPExcel_Calculation_Functions::flattenSingleValue($digits); - - if ((is_numeric($number)) && (is_numeric($digits))) { - $significance = pow(10,(int) $digits); - if ($number < 0.0) { - return ceil($number * $significance) / $significance; - } else { - return floor($number * $significance) / $significance; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function ROUNDDOWN() - - - /** - * SERIESSUM - * - * Returns the sum of a power series - * - * @param float $x Input value to the power series - * @param float $n Initial power to which you want to raise $x - * @param float $m Step by which to increase $n for each term in the series - * @param array of mixed Data Series - * @return float - */ - public static function SERIESSUM() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - $x = array_shift($aArgs); - $n = array_shift($aArgs); - $m = array_shift($aArgs); - - if ((is_numeric($x)) && (is_numeric($n)) && (is_numeric($m))) { - // Calculate - $i = 0; - foreach($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue += $arg * pow($x,$n + ($m * $i++)); - } else { - return PHPExcel_Calculation_Functions::VALUE(); - } - } - // Return - return $returnValue; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SERIESSUM() - - - /** - * SIGN - * - * Determines the sign of a number. Returns 1 if the number is positive, zero (0) - * if the number is 0, and -1 if the number is negative. - * - * @param float $number Number to round - * @return int sign value - */ - public static function SIGN($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_bool($number)) - return (int) $number; - if (is_numeric($number)) { - if ($number == 0.0) { - return 0; - } - return $number / abs($number); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SIGN() - - - /** - * SQRTPI - * - * Returns the square root of (number * pi). - * - * @param float $number Number - * @return float Square Root of Number * Pi - */ - public static function SQRTPI($number) { - $number = PHPExcel_Calculation_Functions::flattenSingleValue($number); - - if (is_numeric($number)) { - if ($number < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return sqrt($number * M_PI) ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SQRTPI() - - - /** - * SUBTOTAL - * - * Returns a subtotal in a list or database. - * - * @param int the number 1 to 11 that specifies which function to - * use in calculating subtotals within a list. - * @param array of mixed Data Series - * @return float - */ - public static function SUBTOTAL() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $subtotal = array_shift($aArgs); - - if ((is_numeric($subtotal)) && (!is_string($subtotal))) { - switch($subtotal) { - case 1 : - return PHPExcel_Calculation_Statistical::AVERAGE($aArgs); - break; - case 2 : - return PHPExcel_Calculation_Statistical::COUNT($aArgs); - break; - case 3 : - return PHPExcel_Calculation_Statistical::COUNTA($aArgs); - break; - case 4 : - return PHPExcel_Calculation_Statistical::MAX($aArgs); - break; - case 5 : - return PHPExcel_Calculation_Statistical::MIN($aArgs); - break; - case 6 : - return self::PRODUCT($aArgs); - break; - case 7 : - return PHPExcel_Calculation_Statistical::STDEV($aArgs); - break; - case 8 : - return PHPExcel_Calculation_Statistical::STDEVP($aArgs); - break; - case 9 : - return self::SUM($aArgs); - break; - case 10 : - return PHPExcel_Calculation_Statistical::VARFunc($aArgs); - break; - case 11 : - return PHPExcel_Calculation_Statistical::VARP($aArgs); - break; - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SUBTOTAL() - - - /** - * SUM - * - * SUM computes the sum of all the values and cells referenced in the argument list. - * - * Excel Function: - * SUM(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function SUM() { - // Return value - $returnValue = 0; - - // Loop through the arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue += $arg; - } - } - - // Return - return $returnValue; - } // function SUM() - - - /** - * SUMIF - * - * Counts the number of cells that contain numbers within the list of arguments - * - * Excel Function: - * SUMIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be summed. - * @return float - */ - public static function SUMIF($aArgs,$condition,$sumArgs = array()) { - // Return value - $returnValue = 0; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs); - if (empty($sumArgs)) { - $sumArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { - $arg = str_replace('"', '""', $arg); - $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); - } - - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - // Is it a value within our criteria - $returnValue += $sumArgs[$key]; - } - } - - // Return - return $returnValue; - } // function SUMIF() - - - /** - * SUMPRODUCT - * - * Excel Function: - * SUMPRODUCT(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function SUMPRODUCT() { - $arrayList = func_get_args(); - - $wrkArray = PHPExcel_Calculation_Functions::flattenArray(array_shift($arrayList)); - $wrkCellCount = count($wrkArray); - - for ($i=0; $i< $wrkCellCount; ++$i) { - if ((!is_numeric($wrkArray[$i])) || (is_string($wrkArray[$i]))) { - $wrkArray[$i] = 0; - } - } - - foreach($arrayList as $matrixData) { - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData); - $count = count($array2); - if ($wrkCellCount != $count) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - foreach ($array2 as $i => $val) { - if ((!is_numeric($val)) || (is_string($val))) { - $val = 0; - } - $wrkArray[$i] *= $val; - } - } - - return array_sum($wrkArray); - } // function SUMPRODUCT() - - - /** - * SUMSQ - * - * SUMSQ returns the sum of the squares of the arguments - * - * Excel Function: - * SUMSQ(value1[,value2[, ...]]) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function SUMSQ() { - // Return value - $returnValue = 0; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArray(func_get_args()) as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $returnValue += ($arg * $arg); - } - } - - // Return - return $returnValue; - } // function SUMSQ() - - - /** - * SUMX2MY2 - * - * @param mixed[] $matrixData1 Matrix #1 - * @param mixed[] $matrixData2 Matrix #2 - * @return float - */ - public static function SUMX2MY2($matrixData1,$matrixData2) { - $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1); - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2); - $count1 = count($array1); - $count2 = count($array2); - if ($count1 < $count2) { - $count = $count1; - } else { - $count = $count2; - } - - $result = 0; - for ($i = 0; $i < $count; ++$i) { - if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) && - ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) { - $result += ($array1[$i] * $array1[$i]) - ($array2[$i] * $array2[$i]); - } - } - - return $result; - } // function SUMX2MY2() - - - /** - * SUMX2PY2 - * - * @param mixed[] $matrixData1 Matrix #1 - * @param mixed[] $matrixData2 Matrix #2 - * @return float - */ - public static function SUMX2PY2($matrixData1,$matrixData2) { - $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1); - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2); - $count1 = count($array1); - $count2 = count($array2); - if ($count1 < $count2) { - $count = $count1; - } else { - $count = $count2; - } - - $result = 0; - for ($i = 0; $i < $count; ++$i) { - if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) && - ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) { - $result += ($array1[$i] * $array1[$i]) + ($array2[$i] * $array2[$i]); - } - } - - return $result; - } // function SUMX2PY2() - - - /** - * SUMXMY2 - * - * @param mixed[] $matrixData1 Matrix #1 - * @param mixed[] $matrixData2 Matrix #2 - * @return float - */ - public static function SUMXMY2($matrixData1,$matrixData2) { - $array1 = PHPExcel_Calculation_Functions::flattenArray($matrixData1); - $array2 = PHPExcel_Calculation_Functions::flattenArray($matrixData2); - $count1 = count($array1); - $count2 = count($array2); - if ($count1 < $count2) { - $count = $count1; - } else { - $count = $count2; - } - - $result = 0; - for ($i = 0; $i < $count; ++$i) { - if (((is_numeric($array1[$i])) && (!is_string($array1[$i]))) && - ((is_numeric($array2[$i])) && (!is_string($array2[$i])))) { - $result += ($array1[$i] - $array2[$i]) * ($array1[$i] - $array2[$i]); - } - } - - return $result; - } // function SUMXMY2() - - - /** - * TRUNC - * - * Truncates value to the number of fractional digits by number_digits. - * - * @param float $value - * @param int $digits - * @return float Truncated value - */ - public static function TRUNC($value = 0, $digits = 0) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $digits = PHPExcel_Calculation_Functions::flattenSingleValue($digits); - - // Validate parameters - if ((!is_numeric($value)) || (!is_numeric($digits))) - return PHPExcel_Calculation_Functions::VALUE(); - $digits = floor($digits); - - // Truncate - $adjust = pow(10, $digits); - - if (($digits > 0) && (rtrim(intval((abs($value) - abs(intval($value))) * $adjust),'0') < $adjust/10)) - return $value; - - return (intval($value * $adjust)) / $adjust; - } // function TRUNC() - -} // class PHPExcel_Calculation_MathTrig diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Statistical.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Statistical.php deleted file mode 100644 index 67e1951c2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Statistical.php +++ /dev/null @@ -1,3651 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/trendClass.php'; - - -/** LOG_GAMMA_X_MAX_VALUE */ -define('LOG_GAMMA_X_MAX_VALUE', 2.55e305); - -/** XMININ */ -define('XMININ', 2.23e-308); - -/** EPS */ -define('EPS', 2.22e-16); - -/** SQRT2PI */ -define('SQRT2PI', 2.5066282746310005024157652848110452530069867406099); - - -/** - * PHPExcel_Calculation_Statistical - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Statistical { - - - private static function _checkTrendArrays(&$array1,&$array2) { - if (!is_array($array1)) { $array1 = array($array1); } - if (!is_array($array2)) { $array2 = array($array2); } - - $array1 = PHPExcel_Calculation_Functions::flattenArray($array1); - $array2 = PHPExcel_Calculation_Functions::flattenArray($array2); - foreach($array1 as $key => $value) { - if ((is_bool($value)) || (is_string($value)) || (is_null($value))) { - unset($array1[$key]); - unset($array2[$key]); - } - } - foreach($array2 as $key => $value) { - if ((is_bool($value)) || (is_string($value)) || (is_null($value))) { - unset($array1[$key]); - unset($array2[$key]); - } - } - $array1 = array_merge($array1); - $array2 = array_merge($array2); - - return True; - } // function _checkTrendArrays() - - - /** - * Beta function. - * - * @author Jaco van Kooten - * - * @param p require p>0 - * @param q require q>0 - * @return 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow - */ - private static function _beta($p, $q) { - if ($p <= 0.0 || $q <= 0.0 || ($p + $q) > LOG_GAMMA_X_MAX_VALUE) { - return 0.0; - } else { - return exp(self::_logBeta($p, $q)); - } - } // function _beta() - - - /** - * Incomplete beta function - * - * @author Jaco van Kooten - * @author Paul Meagher - * - * The computation is based on formulas from Numerical Recipes, Chapter 6.4 (W.H. Press et al, 1992). - * @param x require 0<=x<=1 - * @param p require p>0 - * @param q require q>0 - * @return 0 if x<0, p<=0, q<=0 or p+q>2.55E305 and 1 if x>1 to avoid errors and over/underflow - */ - private static function _incompleteBeta($x, $p, $q) { - if ($x <= 0.0) { - return 0.0; - } elseif ($x >= 1.0) { - return 1.0; - } elseif (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > LOG_GAMMA_X_MAX_VALUE)) { - return 0.0; - } - $beta_gam = exp((0 - self::_logBeta($p, $q)) + $p * log($x) + $q * log(1.0 - $x)); - if ($x < ($p + 1.0) / ($p + $q + 2.0)) { - return $beta_gam * self::_betaFraction($x, $p, $q) / $p; - } else { - return 1.0 - ($beta_gam * self::_betaFraction(1 - $x, $q, $p) / $q); - } - } // function _incompleteBeta() - - - // Function cache for _logBeta function - private static $_logBetaCache_p = 0.0; - private static $_logBetaCache_q = 0.0; - private static $_logBetaCache_result = 0.0; - - /** - * The natural logarithm of the beta function. - * - * @param p require p>0 - * @param q require q>0 - * @return 0 if p<=0, q<=0 or p+q>2.55E305 to avoid errors and over/underflow - * @author Jaco van Kooten - */ - private static function _logBeta($p, $q) { - if ($p != self::$_logBetaCache_p || $q != self::$_logBetaCache_q) { - self::$_logBetaCache_p = $p; - self::$_logBetaCache_q = $q; - if (($p <= 0.0) || ($q <= 0.0) || (($p + $q) > LOG_GAMMA_X_MAX_VALUE)) { - self::$_logBetaCache_result = 0.0; - } else { - self::$_logBetaCache_result = self::_logGamma($p) + self::_logGamma($q) - self::_logGamma($p + $q); - } - } - return self::$_logBetaCache_result; - } // function _logBeta() - - - /** - * Evaluates of continued fraction part of incomplete beta function. - * Based on an idea from Numerical Recipes (W.H. Press et al, 1992). - * @author Jaco van Kooten - */ - private static function _betaFraction($x, $p, $q) { - $c = 1.0; - $sum_pq = $p + $q; - $p_plus = $p + 1.0; - $p_minus = $p - 1.0; - $h = 1.0 - $sum_pq * $x / $p_plus; - if (abs($h) < XMININ) { - $h = XMININ; - } - $h = 1.0 / $h; - $frac = $h; - $m = 1; - $delta = 0.0; - while ($m <= MAX_ITERATIONS && abs($delta-1.0) > PRECISION ) { - $m2 = 2 * $m; - // even index for d - $d = $m * ($q - $m) * $x / ( ($p_minus + $m2) * ($p + $m2)); - $h = 1.0 + $d * $h; - if (abs($h) < XMININ) { - $h = XMININ; - } - $h = 1.0 / $h; - $c = 1.0 + $d / $c; - if (abs($c) < XMININ) { - $c = XMININ; - } - $frac *= $h * $c; - // odd index for d - $d = -($p + $m) * ($sum_pq + $m) * $x / (($p + $m2) * ($p_plus + $m2)); - $h = 1.0 + $d * $h; - if (abs($h) < XMININ) { - $h = XMININ; - } - $h = 1.0 / $h; - $c = 1.0 + $d / $c; - if (abs($c) < XMININ) { - $c = XMININ; - } - $delta = $h * $c; - $frac *= $delta; - ++$m; - } - return $frac; - } // function _betaFraction() - - - /** - * logGamma function - * - * @version 1.1 - * @author Jaco van Kooten - * - * Original author was Jaco van Kooten. Ported to PHP by Paul Meagher. - * - * The natural logarithm of the gamma function. <br /> - * Based on public domain NETLIB (Fortran) code by W. J. Cody and L. Stoltz <br /> - * Applied Mathematics Division <br /> - * Argonne National Laboratory <br /> - * Argonne, IL 60439 <br /> - * <p> - * References: - * <ol> - * <li>W. J. Cody and K. E. Hillstrom, 'Chebyshev Approximations for the Natural - * Logarithm of the Gamma Function,' Math. Comp. 21, 1967, pp. 198-203.</li> - * <li>K. E. Hillstrom, ANL/AMD Program ANLC366S, DGAMMA/DLGAMA, May, 1969.</li> - * <li>Hart, Et. Al., Computer Approximations, Wiley and sons, New York, 1968.</li> - * </ol> - * </p> - * <p> - * From the original documentation: - * </p> - * <p> - * This routine calculates the LOG(GAMMA) function for a positive real argument X. - * Computation is based on an algorithm outlined in references 1 and 2. - * The program uses rational functions that theoretically approximate LOG(GAMMA) - * to at least 18 significant decimal digits. The approximation for X > 12 is from - * reference 3, while approximations for X < 12.0 are similar to those in reference - * 1, but are unpublished. The accuracy achieved depends on the arithmetic system, - * the compiler, the intrinsic functions, and proper selection of the - * machine-dependent constants. - * </p> - * <p> - * Error returns: <br /> - * The program returns the value XINF for X .LE. 0.0 or when overflow would occur. - * The computation is believed to be free of underflow and overflow. - * </p> - * @return MAX_VALUE for x < 0.0 or when overflow would occur, i.e. x > 2.55E305 - */ - - // Function cache for logGamma - private static $_logGammaCache_result = 0.0; - private static $_logGammaCache_x = 0.0; - - private static function _logGamma($x) { - // Log Gamma related constants - static $lg_d1 = -0.5772156649015328605195174; - static $lg_d2 = 0.4227843350984671393993777; - static $lg_d4 = 1.791759469228055000094023; - - static $lg_p1 = array( 4.945235359296727046734888, - 201.8112620856775083915565, - 2290.838373831346393026739, - 11319.67205903380828685045, - 28557.24635671635335736389, - 38484.96228443793359990269, - 26377.48787624195437963534, - 7225.813979700288197698961 ); - static $lg_p2 = array( 4.974607845568932035012064, - 542.4138599891070494101986, - 15506.93864978364947665077, - 184793.2904445632425417223, - 1088204.76946882876749847, - 3338152.967987029735917223, - 5106661.678927352456275255, - 3074109.054850539556250927 ); - static $lg_p4 = array( 14745.02166059939948905062, - 2426813.369486704502836312, - 121475557.4045093227939592, - 2663432449.630976949898078, - 29403789566.34553899906876, - 170266573776.5398868392998, - 492612579337.743088758812, - 560625185622.3951465078242 ); - - static $lg_q1 = array( 67.48212550303777196073036, - 1113.332393857199323513008, - 7738.757056935398733233834, - 27639.87074403340708898585, - 54993.10206226157329794414, - 61611.22180066002127833352, - 36351.27591501940507276287, - 8785.536302431013170870835 ); - static $lg_q2 = array( 183.0328399370592604055942, - 7765.049321445005871323047, - 133190.3827966074194402448, - 1136705.821321969608938755, - 5267964.117437946917577538, - 13467014.54311101692290052, - 17827365.30353274213975932, - 9533095.591844353613395747 ); - static $lg_q4 = array( 2690.530175870899333379843, - 639388.5654300092398984238, - 41355999.30241388052042842, - 1120872109.61614794137657, - 14886137286.78813811542398, - 101680358627.2438228077304, - 341747634550.7377132798597, - 446315818741.9713286462081 ); - - static $lg_c = array( -0.001910444077728, - 8.4171387781295e-4, - -5.952379913043012e-4, - 7.93650793500350248e-4, - -0.002777777777777681622553, - 0.08333333333333333331554247, - 0.0057083835261 ); - - // Rough estimate of the fourth root of logGamma_xBig - static $lg_frtbig = 2.25e76; - static $pnt68 = 0.6796875; - - - if ($x == self::$_logGammaCache_x) { - return self::$_logGammaCache_result; - } - $y = $x; - if ($y > 0.0 && $y <= LOG_GAMMA_X_MAX_VALUE) { - if ($y <= EPS) { - $res = -log(y); - } elseif ($y <= 1.5) { - // --------------------- - // EPS .LT. X .LE. 1.5 - // --------------------- - if ($y < $pnt68) { - $corr = -log($y); - $xm1 = $y; - } else { - $corr = 0.0; - $xm1 = $y - 1.0; - } - if ($y <= 0.5 || $y >= $pnt68) { - $xden = 1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm1 + $lg_p1[$i]; - $xden = $xden * $xm1 + $lg_q1[$i]; - } - $res = $corr + $xm1 * ($lg_d1 + $xm1 * ($xnum / $xden)); - } else { - $xm2 = $y - 1.0; - $xden = 1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm2 + $lg_p2[$i]; - $xden = $xden * $xm2 + $lg_q2[$i]; - } - $res = $corr + $xm2 * ($lg_d2 + $xm2 * ($xnum / $xden)); - } - } elseif ($y <= 4.0) { - // --------------------- - // 1.5 .LT. X .LE. 4.0 - // --------------------- - $xm2 = $y - 2.0; - $xden = 1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm2 + $lg_p2[$i]; - $xden = $xden * $xm2 + $lg_q2[$i]; - } - $res = $xm2 * ($lg_d2 + $xm2 * ($xnum / $xden)); - } elseif ($y <= 12.0) { - // ---------------------- - // 4.0 .LT. X .LE. 12.0 - // ---------------------- - $xm4 = $y - 4.0; - $xden = -1.0; - $xnum = 0.0; - for ($i = 0; $i < 8; ++$i) { - $xnum = $xnum * $xm4 + $lg_p4[$i]; - $xden = $xden * $xm4 + $lg_q4[$i]; - } - $res = $lg_d4 + $xm4 * ($xnum / $xden); - } else { - // --------------------------------- - // Evaluate for argument .GE. 12.0 - // --------------------------------- - $res = 0.0; - if ($y <= $lg_frtbig) { - $res = $lg_c[6]; - $ysq = $y * $y; - for ($i = 0; $i < 6; ++$i) - $res = $res / $ysq + $lg_c[$i]; - } - $res /= $y; - $corr = log($y); - $res = $res + log(SQRT2PI) - 0.5 * $corr; - $res += $y * ($corr - 1.0); - } - } else { - // -------------------------- - // Return for bad arguments - // -------------------------- - $res = MAX_VALUE; - } - // ------------------------------ - // Final adjustments and return - // ------------------------------ - self::$_logGammaCache_x = $x; - self::$_logGammaCache_result = $res; - return $res; - } // function _logGamma() - - - // - // Private implementation of the incomplete Gamma function - // - private static function _incompleteGamma($a,$x) { - static $max = 32; - $summer = 0; - for ($n=0; $n<=$max; ++$n) { - $divisor = $a; - for ($i=1; $i<=$n; ++$i) { - $divisor *= ($a + $i); - } - $summer += (pow($x,$n) / $divisor); - } - return pow($x,$a) * exp(0-$x) * $summer; - } // function _incompleteGamma() - - - // - // Private implementation of the Gamma function - // - private static function _gamma($data) { - if ($data == 0.0) return 0; - - static $p0 = 1.000000000190015; - static $p = array ( 1 => 76.18009172947146, - 2 => -86.50532032941677, - 3 => 24.01409824083091, - 4 => -1.231739572450155, - 5 => 1.208650973866179e-3, - 6 => -5.395239384953e-6 - ); - - $y = $x = $data; - $tmp = $x + 5.5; - $tmp -= ($x + 0.5) * log($tmp); - - $summer = $p0; - for ($j=1;$j<=6;++$j) { - $summer += ($p[$j] / ++$y); - } - return exp(0 - $tmp + log(SQRT2PI * $summer / $x)); - } // function _gamma() - - - /*************************************************************************** - * inverse_ncdf.php - * ------------------- - * begin : Friday, January 16, 2004 - * copyright : (C) 2004 Michael Nickerson - * email : nickersonm@yahoo.com - * - ***************************************************************************/ - private static function _inverse_ncdf($p) { - // Inverse ncdf approximation by Peter J. Acklam, implementation adapted to - // PHP by Michael Nickerson, using Dr. Thomas Ziegler's C implementation as - // a guide. http://home.online.no/~pjacklam/notes/invnorm/index.html - // I have not checked the accuracy of this implementation. Be aware that PHP - // will truncate the coeficcients to 14 digits. - - // You have permission to use and distribute this function freely for - // whatever purpose you want, but please show common courtesy and give credit - // where credit is due. - - // Input paramater is $p - probability - where 0 < p < 1. - - // Coefficients in rational approximations - static $a = array( 1 => -3.969683028665376e+01, - 2 => 2.209460984245205e+02, - 3 => -2.759285104469687e+02, - 4 => 1.383577518672690e+02, - 5 => -3.066479806614716e+01, - 6 => 2.506628277459239e+00 - ); - - static $b = array( 1 => -5.447609879822406e+01, - 2 => 1.615858368580409e+02, - 3 => -1.556989798598866e+02, - 4 => 6.680131188771972e+01, - 5 => -1.328068155288572e+01 - ); - - static $c = array( 1 => -7.784894002430293e-03, - 2 => -3.223964580411365e-01, - 3 => -2.400758277161838e+00, - 4 => -2.549732539343734e+00, - 5 => 4.374664141464968e+00, - 6 => 2.938163982698783e+00 - ); - - static $d = array( 1 => 7.784695709041462e-03, - 2 => 3.224671290700398e-01, - 3 => 2.445134137142996e+00, - 4 => 3.754408661907416e+00 - ); - - // Define lower and upper region break-points. - $p_low = 0.02425; //Use lower region approx. below this - $p_high = 1 - $p_low; //Use upper region approx. above this - - if (0 < $p && $p < $p_low) { - // Rational approximation for lower region. - $q = sqrt(-2 * log($p)); - return ((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) / - (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1); - } elseif ($p_low <= $p && $p <= $p_high) { - // Rational approximation for central region. - $q = $p - 0.5; - $r = $q * $q; - return ((((($a[1] * $r + $a[2]) * $r + $a[3]) * $r + $a[4]) * $r + $a[5]) * $r + $a[6]) * $q / - ((((($b[1] * $r + $b[2]) * $r + $b[3]) * $r + $b[4]) * $r + $b[5]) * $r + 1); - } elseif ($p_high < $p && $p < 1) { - // Rational approximation for upper region. - $q = sqrt(-2 * log(1 - $p)); - return -((((($c[1] * $q + $c[2]) * $q + $c[3]) * $q + $c[4]) * $q + $c[5]) * $q + $c[6]) / - (((($d[1] * $q + $d[2]) * $q + $d[3]) * $q + $d[4]) * $q + 1); - } - // If 0 < p < 1, return a null value - return PHPExcel_Calculation_Functions::NULL(); - } // function _inverse_ncdf() - - - private static function _inverse_ncdf2($prob) { - // Approximation of inverse standard normal CDF developed by - // B. Moro, "The Full Monte," Risk 8(2), Feb 1995, 57-58. - - $a1 = 2.50662823884; - $a2 = -18.61500062529; - $a3 = 41.39119773534; - $a4 = -25.44106049637; - - $b1 = -8.4735109309; - $b2 = 23.08336743743; - $b3 = -21.06224101826; - $b4 = 3.13082909833; - - $c1 = 0.337475482272615; - $c2 = 0.976169019091719; - $c3 = 0.160797971491821; - $c4 = 2.76438810333863E-02; - $c5 = 3.8405729373609E-03; - $c6 = 3.951896511919E-04; - $c7 = 3.21767881768E-05; - $c8 = 2.888167364E-07; - $c9 = 3.960315187E-07; - - $y = $prob - 0.5; - if (abs($y) < 0.42) { - $z = ($y * $y); - $z = $y * ((($a4 * $z + $a3) * $z + $a2) * $z + $a1) / (((($b4 * $z + $b3) * $z + $b2) * $z + $b1) * $z + 1); - } else { - if ($y > 0) { - $z = log(-log(1 - $prob)); - } else { - $z = log(-log($prob)); - } - $z = $c1 + $z * ($c2 + $z * ($c3 + $z * ($c4 + $z * ($c5 + $z * ($c6 + $z * ($c7 + $z * ($c8 + $z * $c9))))))); - if ($y < 0) { - $z = -$z; - } - } - return $z; - } // function _inverse_ncdf2() - - - private static function _inverse_ncdf3($p) { - // ALGORITHM AS241 APPL. STATIST. (1988) VOL. 37, NO. 3. - // Produces the normal deviate Z corresponding to a given lower - // tail area of P; Z is accurate to about 1 part in 10**16. - // - // This is a PHP version of the original FORTRAN code that can - // be found at http://lib.stat.cmu.edu/apstat/ - $split1 = 0.425; - $split2 = 5; - $const1 = 0.180625; - $const2 = 1.6; - - // coefficients for p close to 0.5 - $a0 = 3.3871328727963666080; - $a1 = 1.3314166789178437745E+2; - $a2 = 1.9715909503065514427E+3; - $a3 = 1.3731693765509461125E+4; - $a4 = 4.5921953931549871457E+4; - $a5 = 6.7265770927008700853E+4; - $a6 = 3.3430575583588128105E+4; - $a7 = 2.5090809287301226727E+3; - - $b1 = 4.2313330701600911252E+1; - $b2 = 6.8718700749205790830E+2; - $b3 = 5.3941960214247511077E+3; - $b4 = 2.1213794301586595867E+4; - $b5 = 3.9307895800092710610E+4; - $b6 = 2.8729085735721942674E+4; - $b7 = 5.2264952788528545610E+3; - - // coefficients for p not close to 0, 0.5 or 1. - $c0 = 1.42343711074968357734; - $c1 = 4.63033784615654529590; - $c2 = 5.76949722146069140550; - $c3 = 3.64784832476320460504; - $c4 = 1.27045825245236838258; - $c5 = 2.41780725177450611770E-1; - $c6 = 2.27238449892691845833E-2; - $c7 = 7.74545014278341407640E-4; - - $d1 = 2.05319162663775882187; - $d2 = 1.67638483018380384940; - $d3 = 6.89767334985100004550E-1; - $d4 = 1.48103976427480074590E-1; - $d5 = 1.51986665636164571966E-2; - $d6 = 5.47593808499534494600E-4; - $d7 = 1.05075007164441684324E-9; - - // coefficients for p near 0 or 1. - $e0 = 6.65790464350110377720; - $e1 = 5.46378491116411436990; - $e2 = 1.78482653991729133580; - $e3 = 2.96560571828504891230E-1; - $e4 = 2.65321895265761230930E-2; - $e5 = 1.24266094738807843860E-3; - $e6 = 2.71155556874348757815E-5; - $e7 = 2.01033439929228813265E-7; - - $f1 = 5.99832206555887937690E-1; - $f2 = 1.36929880922735805310E-1; - $f3 = 1.48753612908506148525E-2; - $f4 = 7.86869131145613259100E-4; - $f5 = 1.84631831751005468180E-5; - $f6 = 1.42151175831644588870E-7; - $f7 = 2.04426310338993978564E-15; - - $q = $p - 0.5; - - // computation for p close to 0.5 - if (abs($q) <= split1) { - $R = $const1 - $q * $q; - $z = $q * ((((((($a7 * $R + $a6) * $R + $a5) * $R + $a4) * $R + $a3) * $R + $a2) * $R + $a1) * $R + $a0) / - ((((((($b7 * $R + $b6) * $R + $b5) * $R + $b4) * $R + $b3) * $R + $b2) * $R + $b1) * $R + 1); - } else { - if ($q < 0) { - $R = $p; - } else { - $R = 1 - $p; - } - $R = pow(-log($R),2); - - // computation for p not close to 0, 0.5 or 1. - If ($R <= $split2) { - $R = $R - $const2; - $z = ((((((($c7 * $R + $c6) * $R + $c5) * $R + $c4) * $R + $c3) * $R + $c2) * $R + $c1) * $R + $c0) / - ((((((($d7 * $R + $d6) * $R + $d5) * $R + $d4) * $R + $d3) * $R + $d2) * $R + $d1) * $R + 1); - } else { - // computation for p near 0 or 1. - $R = $R - $split2; - $z = ((((((($e7 * $R + $e6) * $R + $e5) * $R + $e4) * $R + $e3) * $R + $e2) * $R + $e1) * $R + $e0) / - ((((((($f7 * $R + $f6) * $R + $f5) * $R + $f4) * $R + $f3) * $R + $f2) * $R + $f1) * $R + 1); - } - if ($q < 0) { - $z = -$z; - } - } - return $z; - } // function _inverse_ncdf3() - - - /** - * AVEDEV - * - * Returns the average of the absolute deviations of data points from their mean. - * AVEDEV is a measure of the variability in a data set. - * - * Excel Function: - * AVEDEV(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function AVEDEV() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if ($aMean != PHPExcel_Calculation_Functions::DIV0()) { - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = abs($arg - $aMean); - } else { - $returnValue += abs($arg - $aMean); - } - ++$aCount; - } - } - - // Return - if ($aCount == 0) { - return PHPExcel_Calculation_Functions::DIV0(); - } - return $returnValue / $aCount; - } - return PHPExcel_Calculation_Functions::NaN(); - } // function AVEDEV() - - - /** - * AVERAGE - * - * Returns the average (arithmetic mean) of the arguments - * - * Excel Function: - * AVERAGE(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function AVERAGE() { - $returnValue = $aCount = 0; - - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()) as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = $arg; - } else { - $returnValue += $arg; - } - ++$aCount; - } - } - - // Return - if ($aCount > 0) { - return $returnValue / $aCount; - } else { - return PHPExcel_Calculation_Functions::DIV0(); - } - } // function AVERAGE() - - - /** - * AVERAGEA - * - * Returns the average of its arguments, including numbers, text, and logical values - * - * Excel Function: - * AVERAGEA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function AVERAGEA() { - // Return value - $returnValue = null; - - $aCount = 0; - // Loop through arguments - foreach (PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()) as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if (is_null($returnValue)) { - $returnValue = $arg; - } else { - $returnValue += $arg; - } - ++$aCount; - } - } - } - - // Return - if ($aCount > 0) { - return $returnValue / $aCount; - } else { - return PHPExcel_Calculation_Functions::DIV0(); - } - } // function AVERAGEA() - - - /** - * AVERAGEIF - * - * Returns the average value from a range of cells that contain numbers within the list of arguments - * - * Excel Function: - * AVERAGEIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be checked. - * @param mixed[] $averageArgs Data values - * @return float - */ - public static function AVERAGEIF($aArgs,$condition,$averageArgs = array()) { - // Return value - $returnValue = 0; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $averageArgs = PHPExcel_Calculation_Functions::flattenArray($averageArgs); - if (empty($averageArgs)) { - $averageArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - $aCount = 0; - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue += $arg; - ++$aCount; - } - } - } - - // Return - if ($aCount > 0) { - return $returnValue / $aCount; - } else { - return PHPExcel_Calculation_Functions::DIV0(); - } - } // function AVERAGEIF() - - - /** - * BETADIST - * - * Returns the beta distribution. - * - * @param float $value Value at which you want to evaluate the distribution - * @param float $alpha Parameter to the distribution - * @param float $beta Parameter to the distribution - * @param boolean $cumulative - * @return float - * - */ - public static function BETADIST($value,$alpha,$beta,$rMin=0,$rMax=1) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - $rMin = PHPExcel_Calculation_Functions::flattenSingleValue($rMin); - $rMax = PHPExcel_Calculation_Functions::flattenSingleValue($rMax); - - if ((is_numeric($value)) && (is_numeric($alpha)) && (is_numeric($beta)) && (is_numeric($rMin)) && (is_numeric($rMax))) { - if (($value < $rMin) || ($value > $rMax) || ($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($rMin > $rMax) { - $tmp = $rMin; - $rMin = $rMax; - $rMax = $tmp; - } - $value -= $rMin; - $value /= ($rMax - $rMin); - return self::_incompleteBeta($value,$alpha,$beta); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BETADIST() - - - /** - * BETAINV - * - * Returns the inverse of the beta distribution. - * - * @param float $probability Probability at which you want to evaluate the distribution - * @param float $alpha Parameter to the distribution - * @param float $beta Parameter to the distribution - * @param float $rMin Minimum value - * @param float $rMax Maximum value - * @param boolean $cumulative - * @return float - * - */ - public static function BETAINV($probability,$alpha,$beta,$rMin=0,$rMax=1) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - $rMin = PHPExcel_Calculation_Functions::flattenSingleValue($rMin); - $rMax = PHPExcel_Calculation_Functions::flattenSingleValue($rMax); - - if ((is_numeric($probability)) && (is_numeric($alpha)) && (is_numeric($beta)) && (is_numeric($rMin)) && (is_numeric($rMax))) { - if (($alpha <= 0) || ($beta <= 0) || ($rMin == $rMax) || ($probability <= 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($rMin > $rMax) { - $tmp = $rMin; - $rMin = $rMax; - $rMax = $tmp; - } - $a = 0; - $b = 2; - - $i = 0; - while ((($b - $a) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - $guess = ($a + $b) / 2; - $result = self::BETADIST($guess, $alpha, $beta); - if (($result == $probability) || ($result == 0)) { - $b = $a; - } elseif ($result > $probability) { - $b = $guess; - } else { - $a = $guess; - } - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return round($rMin + $guess * ($rMax - $rMin),12); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BETAINV() - - - /** - * BINOMDIST - * - * Returns the individual term binomial distribution probability. Use BINOMDIST in problems with - * a fixed number of tests or trials, when the outcomes of any trial are only success or failure, - * when trials are independent, and when the probability of success is constant throughout the - * experiment. For example, BINOMDIST can calculate the probability that two of the next three - * babies born are male. - * - * @param float $value Number of successes in trials - * @param float $trials Number of trials - * @param float $probability Probability of success on each trial - * @param boolean $cumulative - * @return float - * - * @todo Cumulative distribution function - * - */ - public static function BINOMDIST($value, $trials, $probability, $cumulative) { - $value = floor(PHPExcel_Calculation_Functions::flattenSingleValue($value)); - $trials = floor(PHPExcel_Calculation_Functions::flattenSingleValue($trials)); - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - - if ((is_numeric($value)) && (is_numeric($trials)) && (is_numeric($probability))) { - if (($value < 0) || ($value > $trials)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - $summer = 0; - for ($i = 0; $i <= $value; ++$i) { - $summer += PHPExcel_Calculation_MathTrig::COMBIN($trials,$i) * pow($probability,$i) * pow(1 - $probability,$trials - $i); - } - return $summer; - } else { - return PHPExcel_Calculation_MathTrig::COMBIN($trials,$value) * pow($probability,$value) * pow(1 - $probability,$trials - $value) ; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function BINOMDIST() - - - /** - * CHIDIST - * - * Returns the one-tailed probability of the chi-squared distribution. - * - * @param float $value Value for the function - * @param float $degrees degrees of freedom - * @return float - */ - public static function CHIDIST($value, $degrees) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - - if ((is_numeric($value)) && (is_numeric($degrees))) { - if ($degrees < 1) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($value < 0) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - return 1; - } - return PHPExcel_Calculation_Functions::NaN(); - } - return 1 - (self::_incompleteGamma($degrees/2,$value/2) / self::_gamma($degrees/2)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CHIDIST() - - - /** - * CHIINV - * - * Returns the one-tailed probability of the chi-squared distribution. - * - * @param float $probability Probability for the function - * @param float $degrees degrees of freedom - * @return float - */ - public static function CHIINV($probability, $degrees) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - - if ((is_numeric($probability)) && (is_numeric($degrees))) { - - $xLo = 100; - $xHi = 0; - - $x = $xNew = 1; - $dx = 1; - $i = 0; - - while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - // Apply Newton-Raphson step - $result = self::CHIDIST($x, $degrees); - $error = $result - $probability; - if ($error == 0.0) { - $dx = 0; - } elseif ($error < 0.0) { - $xLo = $x; - } else { - $xHi = $x; - } - // Avoid division by zero - if ($result != 0.0) { - $dx = $error / $result; - $xNew = $x - $dx; - } - // If the NR fails to converge (which for example may be the - // case if the initial guess is too rough) we apply a bisection - // step to determine a more narrow interval around the root. - if (($xNew < $xLo) || ($xNew > $xHi) || ($result == 0.0)) { - $xNew = ($xLo + $xHi) / 2; - $dx = $xNew - $x; - } - $x = $xNew; - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return round($x,12); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CHIINV() - - - /** - * CONFIDENCE - * - * Returns the confidence interval for a population mean - * - * @param float $alpha - * @param float $stdDev Standard Deviation - * @param float $size - * @return float - * - */ - public static function CONFIDENCE($alpha,$stdDev,$size) { - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - $size = floor(PHPExcel_Calculation_Functions::flattenSingleValue($size)); - - if ((is_numeric($alpha)) && (is_numeric($stdDev)) && (is_numeric($size))) { - if (($alpha <= 0) || ($alpha >= 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($stdDev <= 0) || ($size < 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return self::NORMSINV(1 - $alpha / 2) * $stdDev / sqrt($size); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CONFIDENCE() - - - /** - * CORREL - * - * Returns covariance, the average of the products of deviations for each data point pair. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function CORREL($yValues,$xValues=null) { - if ((is_null($xValues)) || (!is_array($yValues)) || (!is_array($xValues))) { - return PHPExcel_Calculation_Functions::VALUE(); - } - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getCorrelation(); - } // function CORREL() - - - /** - * COUNT - * - * Counts the number of cells that contain numbers within the list of arguments - * - * Excel Function: - * COUNT(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return int - */ - public static function COUNT() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNT() - - - /** - * COUNTA - * - * Counts the number of cells that are not empty within the list of arguments - * - * Excel Function: - * COUNTA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return int - */ - public static function COUNTA() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric, boolean or string value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNTA() - - - /** - * COUNTBLANK - * - * Counts the number of empty cells within the list of arguments - * - * Excel Function: - * COUNTBLANK(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return int - */ - public static function COUNTBLANK() { - // Return value - $returnValue = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a blank cell? - if ((is_null($arg)) || ((is_string($arg)) && ($arg == ''))) { - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNTBLANK() - - - /** - * COUNTIF - * - * Counts the number of cells that contain numbers within the list of arguments - * - * Excel Function: - * COUNTIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be counted. - * @return int - */ - public static function COUNTIF($aArgs,$condition) { - // Return value - $returnValue = 0; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - // Is it a value within our criteria - ++$returnValue; - } - } - - // Return - return $returnValue; - } // function COUNTIF() - - - /** - * COVAR - * - * Returns covariance, the average of the products of deviations for each data point pair. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function COVAR($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getCovariance(); - } // function COVAR() - - - /** - * CRITBINOM - * - * Returns the smallest value for which the cumulative binomial distribution is greater - * than or equal to a criterion value - * - * See http://support.microsoft.com/kb/828117/ for details of the algorithm used - * - * @param float $trials number of Bernoulli trials - * @param float $probability probability of a success on each trial - * @param float $alpha criterion value - * @return int - * - * @todo Warning. This implementation differs from the algorithm detailed on the MS - * web site in that $CumPGuessMinus1 = $CumPGuess - 1 rather than $CumPGuess - $PGuess - * This eliminates a potential endless loop error, but may have an adverse affect on the - * accuracy of the function (although all my tests have so far returned correct results). - * - */ - public static function CRITBINOM($trials, $probability, $alpha) { - $trials = floor(PHPExcel_Calculation_Functions::flattenSingleValue($trials)); - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - - if ((is_numeric($trials)) && (is_numeric($probability)) && (is_numeric($alpha))) { - if ($trials < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($alpha < 0) || ($alpha > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($alpha <= 0.5) { - $t = sqrt(log(1 / ($alpha * $alpha))); - $trialsApprox = 0 - ($t + (2.515517 + 0.802853 * $t + 0.010328 * $t * $t) / (1 + 1.432788 * $t + 0.189269 * $t * $t + 0.001308 * $t * $t * $t)); - } else { - $t = sqrt(log(1 / pow(1 - $alpha,2))); - $trialsApprox = $t - (2.515517 + 0.802853 * $t + 0.010328 * $t * $t) / (1 + 1.432788 * $t + 0.189269 * $t * $t + 0.001308 * $t * $t * $t); - } - $Guess = floor($trials * $probability + $trialsApprox * sqrt($trials * $probability * (1 - $probability))); - if ($Guess < 0) { - $Guess = 0; - } elseif ($Guess > $trials) { - $Guess = $trials; - } - - $TotalUnscaledProbability = $UnscaledPGuess = $UnscaledCumPGuess = 0.0; - $EssentiallyZero = 10e-12; - - $m = floor($trials * $probability); - ++$TotalUnscaledProbability; - if ($m == $Guess) { ++$UnscaledPGuess; } - if ($m <= $Guess) { ++$UnscaledCumPGuess; } - - $PreviousValue = 1; - $Done = False; - $k = $m + 1; - while ((!$Done) && ($k <= $trials)) { - $CurrentValue = $PreviousValue * ($trials - $k + 1) * $probability / ($k * (1 - $probability)); - $TotalUnscaledProbability += $CurrentValue; - if ($k == $Guess) { $UnscaledPGuess += $CurrentValue; } - if ($k <= $Guess) { $UnscaledCumPGuess += $CurrentValue; } - if ($CurrentValue <= $EssentiallyZero) { $Done = True; } - $PreviousValue = $CurrentValue; - ++$k; - } - - $PreviousValue = 1; - $Done = False; - $k = $m - 1; - while ((!$Done) && ($k >= 0)) { - $CurrentValue = $PreviousValue * $k + 1 * (1 - $probability) / (($trials - $k) * $probability); - $TotalUnscaledProbability += $CurrentValue; - if ($k == $Guess) { $UnscaledPGuess += $CurrentValue; } - if ($k <= $Guess) { $UnscaledCumPGuess += $CurrentValue; } - if ($CurrentValue <= $EssentiallyZero) { $Done = True; } - $PreviousValue = $CurrentValue; - --$k; - } - - $PGuess = $UnscaledPGuess / $TotalUnscaledProbability; - $CumPGuess = $UnscaledCumPGuess / $TotalUnscaledProbability; - -// $CumPGuessMinus1 = $CumPGuess - $PGuess; - $CumPGuessMinus1 = $CumPGuess - 1; - - while (True) { - if (($CumPGuessMinus1 < $alpha) && ($CumPGuess >= $alpha)) { - return $Guess; - } elseif (($CumPGuessMinus1 < $alpha) && ($CumPGuess < $alpha)) { - $PGuessPlus1 = $PGuess * ($trials - $Guess) * $probability / $Guess / (1 - $probability); - $CumPGuessMinus1 = $CumPGuess; - $CumPGuess = $CumPGuess + $PGuessPlus1; - $PGuess = $PGuessPlus1; - ++$Guess; - } elseif (($CumPGuessMinus1 >= $alpha) && ($CumPGuess >= $alpha)) { - $PGuessMinus1 = $PGuess * $Guess * (1 - $probability) / ($trials - $Guess + 1) / $probability; - $CumPGuess = $CumPGuessMinus1; - $CumPGuessMinus1 = $CumPGuessMinus1 - $PGuess; - $PGuess = $PGuessMinus1; - --$Guess; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function CRITBINOM() - - - /** - * DEVSQ - * - * Returns the sum of squares of deviations of data points from their sample mean. - * - * Excel Function: - * DEVSQ(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function DEVSQ() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if ($aMean != PHPExcel_Calculation_Functions::DIV0()) { - $aCount = -1; - foreach ($aArgs as $k => $arg) { - // Is it a numeric value? - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - - // Return - if (is_null($returnValue)) { - return PHPExcel_Calculation_Functions::NaN(); - } else { - return $returnValue; - } - } - return self::NA(); - } // function DEVSQ() - - - /** - * EXPONDIST - * - * Returns the exponential distribution. Use EXPONDIST to model the time between events, - * such as how long an automated bank teller takes to deliver cash. For example, you can - * use EXPONDIST to determine the probability that the process takes at most 1 minute. - * - * @param float $value Value of the function - * @param float $lambda The parameter value - * @param boolean $cumulative - * @return float - */ - public static function EXPONDIST($value, $lambda, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $lambda = PHPExcel_Calculation_Functions::flattenSingleValue($lambda); - $cumulative = PHPExcel_Calculation_Functions::flattenSingleValue($cumulative); - - if ((is_numeric($value)) && (is_numeric($lambda))) { - if (($value < 0) || ($lambda < 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return 1 - exp(0-$value*$lambda); - } else { - return $lambda * exp(0-$value*$lambda); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function EXPONDIST() - - - /** - * FISHER - * - * Returns the Fisher transformation at x. This transformation produces a function that - * is normally distributed rather than skewed. Use this function to perform hypothesis - * testing on the correlation coefficient. - * - * @param float $value - * @return float - */ - public static function FISHER($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_numeric($value)) { - if (($value <= -1) || ($value >= 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return 0.5 * log((1+$value)/(1-$value)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FISHER() - - - /** - * FISHERINV - * - * Returns the inverse of the Fisher transformation. Use this transformation when - * analyzing correlations between ranges or arrays of data. If y = FISHER(x), then - * FISHERINV(y) = x. - * - * @param float $value - * @return float - */ - public static function FISHERINV($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_numeric($value)) { - return (exp(2 * $value) - 1) / (exp(2 * $value) + 1); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function FISHERINV() - - - /** - * FORECAST - * - * Calculates, or predicts, a future value by using existing values. The predicted value is a y-value for a given x-value. - * - * @param float Value of X for which we want to find Y - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function FORECAST($xValue,$yValues,$xValues) { - $xValue = PHPExcel_Calculation_Functions::flattenSingleValue($xValue); - if (!is_numeric($xValue)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getValueOfYForX($xValue); - } // function FORECAST() - - - /** - * GAMMADIST - * - * Returns the gamma distribution. - * - * @param float $value Value at which you want to evaluate the distribution - * @param float $a Parameter to the distribution - * @param float $b Parameter to the distribution - * @param boolean $cumulative - * @return float - * - */ - public static function GAMMADIST($value,$a,$b,$cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $a = PHPExcel_Calculation_Functions::flattenSingleValue($a); - $b = PHPExcel_Calculation_Functions::flattenSingleValue($b); - - if ((is_numeric($value)) && (is_numeric($a)) && (is_numeric($b))) { - if (($value < 0) || ($a <= 0) || ($b <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return self::_incompleteGamma($a,$value / $b) / self::_gamma($a); - } else { - return (1 / (pow($b,$a) * self::_gamma($a))) * pow($value,$a-1) * exp(0-($value / $b)); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function GAMMADIST() - - - /** - * GAMMAINV - * - * Returns the inverse of the beta distribution. - * - * @param float $probability Probability at which you want to evaluate the distribution - * @param float $alpha Parameter to the distribution - * @param float $beta Parameter to the distribution - * @return float - * - */ - public static function GAMMAINV($probability,$alpha,$beta) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - - if ((is_numeric($probability)) && (is_numeric($alpha)) && (is_numeric($beta))) { - if (($alpha <= 0) || ($beta <= 0) || ($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $xLo = 0; - $xHi = $alpha * $beta * 5; - - $x = $xNew = 1; - $error = $pdf = 0; - $dx = 1024; - $i = 0; - - while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - // Apply Newton-Raphson step - $error = self::GAMMADIST($x, $alpha, $beta, True) - $probability; - if ($error < 0.0) { - $xLo = $x; - } else { - $xHi = $x; - } - $pdf = self::GAMMADIST($x, $alpha, $beta, False); - // Avoid division by zero - if ($pdf != 0.0) { - $dx = $error / $pdf; - $xNew = $x - $dx; - } - // If the NR fails to converge (which for example may be the - // case if the initial guess is too rough) we apply a bisection - // step to determine a more narrow interval around the root. - if (($xNew < $xLo) || ($xNew > $xHi) || ($pdf == 0.0)) { - $xNew = ($xLo + $xHi) / 2; - $dx = $xNew - $x; - } - $x = $xNew; - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return $x; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function GAMMAINV() - - - /** - * GAMMALN - * - * Returns the natural logarithm of the gamma function. - * - * @param float $value - * @return float - */ - public static function GAMMALN($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_numeric($value)) { - if ($value <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return log(self::_gamma($value)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function GAMMALN() - - - /** - * GEOMEAN - * - * Returns the geometric mean of an array or range of positive data. For example, you - * can use GEOMEAN to calculate average growth rate given compound interest with - * variable rates. - * - * Excel Function: - * GEOMEAN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function GEOMEAN() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - $aMean = PHPExcel_Calculation_MathTrig::PRODUCT($aArgs); - if (is_numeric($aMean) && ($aMean > 0)) { - $aCount = self::COUNT($aArgs) ; - if (self::MIN($aArgs) > 0) { - return pow($aMean, (1 / $aCount)); - } - } - return PHPExcel_Calculation_Functions::NaN(); - } // GEOMEAN() - - - /** - * GROWTH - * - * Returns values along a predicted emponential trend - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param array of mixed Values of X for which we want to find Y - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @return array of float - */ - public static function GROWTH($yValues,$xValues=array(),$newValues=array(),$const=True) { - $yValues = PHPExcel_Calculation_Functions::flattenArray($yValues); - $xValues = PHPExcel_Calculation_Functions::flattenArray($xValues); - $newValues = PHPExcel_Calculation_Functions::flattenArray($newValues); - $const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - - $bestFitExponential = trendClass::calculate(trendClass::TREND_EXPONENTIAL,$yValues,$xValues,$const); - if (empty($newValues)) { - $newValues = $bestFitExponential->getXValues(); - } - - $returnArray = array(); - foreach($newValues as $xValue) { - $returnArray[0][] = $bestFitExponential->getValueOfYForX($xValue); - } - - return $returnArray; - } // function GROWTH() - - - /** - * HARMEAN - * - * Returns the harmonic mean of a data set. The harmonic mean is the reciprocal of the - * arithmetic mean of reciprocals. - * - * Excel Function: - * HARMEAN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function HARMEAN() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::NA(); - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - if (self::MIN($aArgs) < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - $aCount = 0; - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if ($arg <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (is_null($returnValue)) { - $returnValue = (1 / $arg); - } else { - $returnValue += (1 / $arg); - } - ++$aCount; - } - } - - // Return - if ($aCount > 0) { - return 1 / ($returnValue / $aCount); - } else { - return $returnValue; - } - } // function HARMEAN() - - - /** - * HYPGEOMDIST - * - * Returns the hypergeometric distribution. HYPGEOMDIST returns the probability of a given number of - * sample successes, given the sample size, population successes, and population size. - * - * @param float $sampleSuccesses Number of successes in the sample - * @param float $sampleNumber Size of the sample - * @param float $populationSuccesses Number of successes in the population - * @param float $populationNumber Population size - * @return float - * - */ - public static function HYPGEOMDIST($sampleSuccesses, $sampleNumber, $populationSuccesses, $populationNumber) { - $sampleSuccesses = floor(PHPExcel_Calculation_Functions::flattenSingleValue($sampleSuccesses)); - $sampleNumber = floor(PHPExcel_Calculation_Functions::flattenSingleValue($sampleNumber)); - $populationSuccesses = floor(PHPExcel_Calculation_Functions::flattenSingleValue($populationSuccesses)); - $populationNumber = floor(PHPExcel_Calculation_Functions::flattenSingleValue($populationNumber)); - - if ((is_numeric($sampleSuccesses)) && (is_numeric($sampleNumber)) && (is_numeric($populationSuccesses)) && (is_numeric($populationNumber))) { - if (($sampleSuccesses < 0) || ($sampleSuccesses > $sampleNumber) || ($sampleSuccesses > $populationSuccesses)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($sampleNumber <= 0) || ($sampleNumber > $populationNumber)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($populationSuccesses <= 0) || ($populationSuccesses > $populationNumber)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return PHPExcel_Calculation_MathTrig::COMBIN($populationSuccesses,$sampleSuccesses) * - PHPExcel_Calculation_MathTrig::COMBIN($populationNumber - $populationSuccesses,$sampleNumber - $sampleSuccesses) / - PHPExcel_Calculation_MathTrig::COMBIN($populationNumber,$sampleNumber); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function HYPGEOMDIST() - - - /** - * INTERCEPT - * - * Calculates the point at which a line will intersect the y-axis by using existing x-values and y-values. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function INTERCEPT($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getIntersect(); - } // function INTERCEPT() - - - /** - * KURT - * - * Returns the kurtosis of a data set. Kurtosis characterizes the relative peakedness - * or flatness of a distribution compared with the normal distribution. Positive - * kurtosis indicates a relatively peaked distribution. Negative kurtosis indicates a - * relatively flat distribution. - * - * @param array Data Series - * @return float - */ - public static function KURT() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $mean = self::AVERAGE($aArgs); - $stdDev = self::STDEV($aArgs); - - if ($stdDev > 0) { - $count = $summer = 0; - // Loop through arguments - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summer += pow((($arg - $mean) / $stdDev),4) ; - ++$count; - } - } - } - - // Return - if ($count > 3) { - return $summer * ($count * ($count+1) / (($count-1) * ($count-2) * ($count-3))) - (3 * pow($count-1,2) / (($count-2) * ($count-3))); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function KURT() - - - /** - * LARGE - * - * Returns the nth largest value in a data set. You can use this function to - * select a value based on its relative standing. - * - * Excel Function: - * LARGE(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param int $entry Position (ordered from the largest) in the array or range of data to return - * @return float - * - */ - public static function LARGE() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = floor(array_pop($aArgs)); - - if ((is_numeric($entry)) && (!is_string($entry))) { - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $count = self::COUNT($mArgs); - $entry = floor(--$entry); - if (($entry < 0) || ($entry >= $count) || ($count == 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - rsort($mArgs); - return $mArgs[$entry]; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function LARGE() - - - /** - * LINEST - * - * Calculates the statistics for a line by using the "least squares" method to calculate a straight line that best fits your data, - * and then returns an array that describes the line. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @param boolean A logical value specifying whether to return additional regression statistics. - * @return array - */ - public static function LINEST($yValues, $xValues = NULL, $const = TRUE, $stats = FALSE) { - $const = (is_null($const)) ? TRUE : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - $stats = (is_null($stats)) ? FALSE : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats); - if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues))); - - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return 0; - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues,$const); - if ($stats) { - return array( array( $bestFitLinear->getSlope(), - $bestFitLinear->getSlopeSE(), - $bestFitLinear->getGoodnessOfFit(), - $bestFitLinear->getF(), - $bestFitLinear->getSSRegression(), - ), - array( $bestFitLinear->getIntersect(), - $bestFitLinear->getIntersectSE(), - $bestFitLinear->getStdevOfResiduals(), - $bestFitLinear->getDFResiduals(), - $bestFitLinear->getSSResiduals() - ) - ); - } else { - return array( $bestFitLinear->getSlope(), - $bestFitLinear->getIntersect() - ); - } - } // function LINEST() - - - /** - * LOGEST - * - * Calculates an exponential curve that best fits the X and Y data series, - * and then returns an array that describes the line. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @param boolean A logical value specifying whether to return additional regression statistics. - * @return array - */ - public static function LOGEST($yValues,$xValues=null,$const=True,$stats=False) { - $const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - $stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats); - if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues))); - - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - foreach($yValues as $value) { - if ($value <= 0.0) { - return PHPExcel_Calculation_Functions::NaN(); - } - } - - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return 1; - } - - $bestFitExponential = trendClass::calculate(trendClass::TREND_EXPONENTIAL,$yValues,$xValues,$const); - if ($stats) { - return array( array( $bestFitExponential->getSlope(), - $bestFitExponential->getSlopeSE(), - $bestFitExponential->getGoodnessOfFit(), - $bestFitExponential->getF(), - $bestFitExponential->getSSRegression(), - ), - array( $bestFitExponential->getIntersect(), - $bestFitExponential->getIntersectSE(), - $bestFitExponential->getStdevOfResiduals(), - $bestFitExponential->getDFResiduals(), - $bestFitExponential->getSSResiduals() - ) - ); - } else { - return array( $bestFitExponential->getSlope(), - $bestFitExponential->getIntersect() - ); - } - } // function LOGEST() - - - /** - * LOGINV - * - * Returns the inverse of the normal cumulative distribution - * - * @param float $probability - * @param float $mean - * @param float $stdDev - * @return float - * - * @todo Try implementing P J Acklam's refinement algorithm for greater - * accuracy if I can get my head round the mathematics - * (as described at) http://home.online.no/~pjacklam/notes/invnorm/ - */ - public static function LOGINV($probability, $mean, $stdDev) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($probability)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if (($probability < 0) || ($probability > 1) || ($stdDev <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return exp($mean + $stdDev * self::NORMSINV($probability)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function LOGINV() - - - /** - * LOGNORMDIST - * - * Returns the cumulative lognormal distribution of x, where ln(x) is normally distributed - * with parameters mean and standard_dev. - * - * @param float $value - * @param float $mean - * @param float $stdDev - * @return float - */ - public static function LOGNORMDIST($value, $mean, $stdDev) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if (($value <= 0) || ($stdDev <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return self::NORMSDIST((log($value) - $mean) / $stdDev); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function LOGNORMDIST() - - - /** - * MAX - * - * MAX returns the value of the element of the values passed that has the highest value, - * with negative numbers considered smaller than positive numbers. - * - * Excel Function: - * MAX(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MAX() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MAX() - - - /** - * MAXA - * - * Returns the greatest value in a list of arguments, including numbers, text, and logical values - * - * Excel Function: - * MAXA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MAXA() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MAXA() - - - /** - * MAXIF - * - * Counts the maximum value within a range of cells that contain numbers within the list of arguments - * - * Excel Function: - * MAXIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be checked. - * @return float - */ - public static function MAXIF($aArgs,$condition,$sumArgs = array()) { - // Return value - $returnValue = null; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs); - if (empty($sumArgs)) { - $sumArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - if ((is_null($returnValue)) || ($arg > $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - return $returnValue; - } // function MAXIF() - - - /** - * MEDIAN - * - * Returns the median of the given numbers. The median is the number in the middle of a set of numbers. - * - * Excel Function: - * MEDIAN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MEDIAN() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::NaN(); - - $mArgs = array(); - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - - $mValueCount = count($mArgs); - if ($mValueCount > 0) { - sort($mArgs,SORT_NUMERIC); - $mValueCount = $mValueCount / 2; - if ($mValueCount == floor($mValueCount)) { - $returnValue = ($mArgs[$mValueCount--] + $mArgs[$mValueCount]) / 2; - } else { - $mValueCount == floor($mValueCount); - $returnValue = $mArgs[$mValueCount]; - } - } - - // Return - return $returnValue; - } // function MEDIAN() - - - /** - * MIN - * - * MIN returns the value of the element of the values passed that has the smallest value, - * with negative numbers considered smaller than positive numbers. - * - * Excel Function: - * MIN(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MIN() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if ((is_null($returnValue)) || ($arg < $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MIN() - - - /** - * MINA - * - * Returns the smallest value in a list of arguments, including numbers, text, and logical values - * - * Excel Function: - * MINA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MINA() { - // Return value - $returnValue = null; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) && ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if ((is_null($returnValue)) || ($arg < $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - if(is_null($returnValue)) { - return 0; - } - return $returnValue; - } // function MINA() - - - /** - * MINIF - * - * Returns the minimum value within a range of cells that contain numbers within the list of arguments - * - * Excel Function: - * MINIF(value1[,value2[, ...]],condition) - * - * @access public - * @category Mathematical and Trigonometric Functions - * @param mixed $arg,... Data values - * @param string $condition The criteria that defines which cells will be checked. - * @return float - */ - public static function MINIF($aArgs,$condition,$sumArgs = array()) { - // Return value - $returnValue = null; - - $aArgs = PHPExcel_Calculation_Functions::flattenArray($aArgs); - $sumArgs = PHPExcel_Calculation_Functions::flattenArray($sumArgs); - if (empty($sumArgs)) { - $sumArgs = $aArgs; - } - $condition = PHPExcel_Calculation_Functions::_ifCondition($condition); - // Loop through arguments - foreach ($aArgs as $key => $arg) { - if (!is_numeric($arg)) { $arg = PHPExcel_Calculation::_wrapResult(strtoupper($arg)); } - $testCondition = '='.$arg.$condition; - if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) { - if ((is_null($returnValue)) || ($arg < $returnValue)) { - $returnValue = $arg; - } - } - } - - // Return - return $returnValue; - } // function MINIF() - - - // - // Special variant of array_count_values that isn't limited to strings and integers, - // but can work with floating point numbers as values - // - private static function _modeCalc($data) { - $frequencyArray = array(); - foreach($data as $datum) { - $found = False; - foreach($frequencyArray as $key => $value) { - if ((string) $value['value'] == (string) $datum) { - ++$frequencyArray[$key]['frequency']; - $found = True; - break; - } - } - if (!$found) { - $frequencyArray[] = array('value' => $datum, - 'frequency' => 1 ); - } - } - - foreach($frequencyArray as $key => $value) { - $frequencyList[$key] = $value['frequency']; - $valueList[$key] = $value['value']; - } - array_multisort($frequencyList, SORT_DESC, $valueList, SORT_ASC, SORT_NUMERIC, $frequencyArray); - - if ($frequencyArray[0]['frequency'] == 1) { - return PHPExcel_Calculation_Functions::NA(); - } - return $frequencyArray[0]['value']; - } // function _modeCalc() - - - /** - * MODE - * - * Returns the most frequently occurring, or repetitive, value in an array or range of data - * - * Excel Function: - * MODE(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function MODE() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::NA(); - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - - if (!empty($mArgs)) { - return self::_modeCalc($mArgs); - } - - // Return - return $returnValue; - } // function MODE() - - - /** - * NEGBINOMDIST - * - * Returns the negative binomial distribution. NEGBINOMDIST returns the probability that - * there will be number_f failures before the number_s-th success, when the constant - * probability of a success is probability_s. This function is similar to the binomial - * distribution, except that the number of successes is fixed, and the number of trials is - * variable. Like the binomial, trials are assumed to be independent. - * - * @param float $failures Number of Failures - * @param float $successes Threshold number of Successes - * @param float $probability Probability of success on each trial - * @return float - * - */ - public static function NEGBINOMDIST($failures, $successes, $probability) { - $failures = floor(PHPExcel_Calculation_Functions::flattenSingleValue($failures)); - $successes = floor(PHPExcel_Calculation_Functions::flattenSingleValue($successes)); - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - - if ((is_numeric($failures)) && (is_numeric($successes)) && (is_numeric($probability))) { - if (($failures < 0) || ($successes < 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC) { - if (($failures + $successes - 1) <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - } - return (PHPExcel_Calculation_MathTrig::COMBIN($failures + $successes - 1,$successes - 1)) * (pow($probability,$successes)) * (pow(1 - $probability,$failures)) ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function NEGBINOMDIST() - - - /** - * NORMDIST - * - * Returns the normal distribution for the specified mean and standard deviation. This - * function has a very wide range of applications in statistics, including hypothesis - * testing. - * - * @param float $value - * @param float $mean Mean Value - * @param float $stdDev Standard Deviation - * @param boolean $cumulative - * @return float - * - */ - public static function NORMDIST($value, $mean, $stdDev, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if ($stdDev < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return 0.5 * (1 + PHPExcel_Calculation_Engineering::_erfVal(($value - $mean) / ($stdDev * sqrt(2)))); - } else { - return (1 / (SQRT2PI * $stdDev)) * exp(0 - (pow($value - $mean,2) / (2 * ($stdDev * $stdDev)))); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function NORMDIST() - - - /** - * NORMINV - * - * Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. - * - * @param float $value - * @param float $mean Mean Value - * @param float $stdDev Standard Deviation - * @return float - * - */ - public static function NORMINV($probability,$mean,$stdDev) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($probability)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if (($probability < 0) || ($probability > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ($stdDev < 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return (self::_inverse_ncdf($probability) * $stdDev) + $mean; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function NORMINV() - - - /** - * NORMSDIST - * - * Returns the standard normal cumulative distribution function. The distribution has - * a mean of 0 (zero) and a standard deviation of one. Use this function in place of a - * table of standard normal curve areas. - * - * @param float $value - * @return float - */ - public static function NORMSDIST($value) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - return self::NORMDIST($value, 0, 1, True); - } // function NORMSDIST() - - - /** - * NORMSINV - * - * Returns the inverse of the standard normal cumulative distribution - * - * @param float $value - * @return float - */ - public static function NORMSINV($value) { - return self::NORMINV($value, 0, 1); - } // function NORMSINV() - - - /** - * PERCENTILE - * - * Returns the nth percentile of values in a range.. - * - * Excel Function: - * PERCENTILE(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param float $entry Percentile value in the range 0..1, inclusive. - * @return float - */ - public static function PERCENTILE() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = array_pop($aArgs); - - if ((is_numeric($entry)) && (!is_string($entry))) { - if (($entry < 0) || ($entry > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $mValueCount = count($mArgs); - if ($mValueCount > 0) { - sort($mArgs); - $count = self::COUNT($mArgs); - $index = $entry * ($count-1); - $iBase = floor($index); - if ($index == $iBase) { - return $mArgs[$index]; - } else { - $iNext = $iBase + 1; - $iProportion = $index - $iBase; - return $mArgs[$iBase] + (($mArgs[$iNext] - $mArgs[$iBase]) * $iProportion) ; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PERCENTILE() - - - /** - * PERCENTRANK - * - * Returns the rank of a value in a data set as a percentage of the data set. - * - * @param array of number An array of, or a reference to, a list of numbers. - * @param number The number whose rank you want to find. - * @param number The number of significant digits for the returned percentage value. - * @return float - */ - public static function PERCENTRANK($valueSet,$value,$significance=3) { - $valueSet = PHPExcel_Calculation_Functions::flattenArray($valueSet); - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $significance = (is_null($significance)) ? 3 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($significance); - - foreach($valueSet as $key => $valueEntry) { - if (!is_numeric($valueEntry)) { - unset($valueSet[$key]); - } - } - sort($valueSet,SORT_NUMERIC); - $valueCount = count($valueSet); - if ($valueCount == 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - - $valueAdjustor = $valueCount - 1; - if (($value < $valueSet[0]) || ($value > $valueSet[$valueAdjustor])) { - return PHPExcel_Calculation_Functions::NA(); - } - - $pos = array_search($value,$valueSet); - if ($pos === False) { - $pos = 0; - $testValue = $valueSet[0]; - while ($testValue < $value) { - $testValue = $valueSet[++$pos]; - } - --$pos; - $pos += (($value - $valueSet[$pos]) / ($testValue - $valueSet[$pos])); - } - - return round($pos / $valueAdjustor,$significance); - } // function PERCENTRANK() - - - /** - * PERMUT - * - * Returns the number of permutations for a given number of objects that can be - * selected from number objects. A permutation is any set or subset of objects or - * events where internal order is significant. Permutations are different from - * combinations, for which the internal order is not significant. Use this function - * for lottery-style probability calculations. - * - * @param int $numObjs Number of different objects - * @param int $numInSet Number of objects in each permutation - * @return int Number of permutations - */ - public static function PERMUT($numObjs,$numInSet) { - $numObjs = PHPExcel_Calculation_Functions::flattenSingleValue($numObjs); - $numInSet = PHPExcel_Calculation_Functions::flattenSingleValue($numInSet); - - if ((is_numeric($numObjs)) && (is_numeric($numInSet))) { - $numInSet = floor($numInSet); - if ($numObjs < $numInSet) { - return PHPExcel_Calculation_Functions::NaN(); - } - return round(PHPExcel_Calculation_MathTrig::FACT($numObjs) / PHPExcel_Calculation_MathTrig::FACT($numObjs - $numInSet)); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function PERMUT() - - - /** - * POISSON - * - * Returns the Poisson distribution. A common application of the Poisson distribution - * is predicting the number of events over a specific time, such as the number of - * cars arriving at a toll plaza in 1 minute. - * - * @param float $value - * @param float $mean Mean Value - * @param boolean $cumulative - * @return float - * - */ - public static function POISSON($value, $mean, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - - if ((is_numeric($value)) && (is_numeric($mean))) { - if (($value < 0) || ($mean <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - $summer = 0; - for ($i = 0; $i <= floor($value); ++$i) { - $summer += pow($mean,$i) / PHPExcel_Calculation_MathTrig::FACT($i); - } - return exp(0-$mean) * $summer; - } else { - return (exp(0-$mean) * pow($mean,$value)) / PHPExcel_Calculation_MathTrig::FACT($value); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function POISSON() - - - /** - * QUARTILE - * - * Returns the quartile of a data set. - * - * Excel Function: - * QUARTILE(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param int $entry Quartile value in the range 1..3, inclusive. - * @return float - */ - public static function QUARTILE() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = floor(array_pop($aArgs)); - - if ((is_numeric($entry)) && (!is_string($entry))) { - $entry /= 4; - if (($entry < 0) || ($entry > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - return self::PERCENTILE($aArgs,$entry); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function QUARTILE() - - - /** - * RANK - * - * Returns the rank of a number in a list of numbers. - * - * @param number The number whose rank you want to find. - * @param array of number An array of, or a reference to, a list of numbers. - * @param mixed Order to sort the values in the value set - * @return float - */ - public static function RANK($value,$valueSet,$order=0) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $valueSet = PHPExcel_Calculation_Functions::flattenArray($valueSet); - $order = (is_null($order)) ? 0 : (integer) PHPExcel_Calculation_Functions::flattenSingleValue($order); - - foreach($valueSet as $key => $valueEntry) { - if (!is_numeric($valueEntry)) { - unset($valueSet[$key]); - } - } - - if ($order == 0) { - rsort($valueSet,SORT_NUMERIC); - } else { - sort($valueSet,SORT_NUMERIC); - } - $pos = array_search($value,$valueSet); - if ($pos === False) { - return PHPExcel_Calculation_Functions::NA(); - } - - return ++$pos; - } // function RANK() - - - /** - * RSQ - * - * Returns the square of the Pearson product moment correlation coefficient through data points in known_y's and known_x's. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function RSQ($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getGoodnessOfFit(); - } // function RSQ() - - - /** - * SKEW - * - * Returns the skewness of a distribution. Skewness characterizes the degree of asymmetry - * of a distribution around its mean. Positive skewness indicates a distribution with an - * asymmetric tail extending toward more positive values. Negative skewness indicates a - * distribution with an asymmetric tail extending toward more negative values. - * - * @param array Data Series - * @return float - */ - public static function SKEW() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $mean = self::AVERAGE($aArgs); - $stdDev = self::STDEV($aArgs); - - $count = $summer = 0; - // Loop through arguments - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summer += pow((($arg - $mean) / $stdDev),3) ; - ++$count; - } - } - } - - // Return - if ($count > 2) { - return $summer * ($count / (($count-1) * ($count-2))); - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function SKEW() - - - /** - * SLOPE - * - * Returns the slope of the linear regression line through data points in known_y's and known_x's. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function SLOPE($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getSlope(); - } // function SLOPE() - - - /** - * SMALL - * - * Returns the nth smallest value in a data set. You can use this function to - * select a value based on its relative standing. - * - * Excel Function: - * SMALL(value1[,value2[, ...]],entry) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param int $entry Position (ordered from the smallest) in the array or range of data to return - * @return float - */ - public static function SMALL() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $entry = array_pop($aArgs); - - if ((is_numeric($entry)) && (!is_string($entry))) { - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $count = self::COUNT($mArgs); - $entry = floor(--$entry); - if (($entry < 0) || ($entry >= $count) || ($count == 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - sort($mArgs); - return $mArgs[$entry]; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SMALL() - - - /** - * STANDARDIZE - * - * Returns a normalized value from a distribution characterized by mean and standard_dev. - * - * @param float $value Value to normalize - * @param float $mean Mean Value - * @param float $stdDev Standard Deviation - * @return float Standardized value - */ - public static function STANDARDIZE($value,$mean,$stdDev) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $mean = PHPExcel_Calculation_Functions::flattenSingleValue($mean); - $stdDev = PHPExcel_Calculation_Functions::flattenSingleValue($stdDev); - - if ((is_numeric($value)) && (is_numeric($mean)) && (is_numeric($stdDev))) { - if ($stdDev <= 0) { - return PHPExcel_Calculation_Functions::NaN(); - } - return ($value - $mean) / $stdDev ; - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function STANDARDIZE() - - - /** - * STDEV - * - * Estimates standard deviation based on a sample. The standard deviation is a measure of how - * widely values are dispersed from the average value (the mean). - * - * Excel Function: - * STDEV(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEV() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if (!is_null($aMean)) { - $aCount = -1; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEV() - - - /** - * STDEVA - * - * Estimates standard deviation based on a sample, including numbers, text, and logical values - * - * Excel Function: - * STDEVA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEVA() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGEA($aArgs); - if (!is_null($aMean)) { - $aCount = -1; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEVA() - - - /** - * STDEVP - * - * Calculates standard deviation based on the entire population - * - * Excel Function: - * STDEVP(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEVP() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGE($aArgs); - if (!is_null($aMean)) { - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - ((!PHPExcel_Calculation_Functions::isCellValue($k)) || (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE))) { - $arg = (integer) $arg; - } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEVP() - - - /** - * STDEVPA - * - * Calculates standard deviation based on the entire population, including numbers, text, and logical values - * - * Excel Function: - * STDEVPA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function STDEVPA() { - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - - // Return value - $returnValue = null; - - $aMean = self::AVERAGEA($aArgs); - if (!is_null($aMean)) { - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_bool($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - if (is_null($returnValue)) { - $returnValue = pow(($arg - $aMean),2); - } else { - $returnValue += pow(($arg - $aMean),2); - } - ++$aCount; - } - } - } - - // Return - if (($aCount > 0) && ($returnValue >= 0)) { - return sqrt($returnValue / $aCount); - } - } - return PHPExcel_Calculation_Functions::DIV0(); - } // function STDEVPA() - - - /** - * STEYX - * - * Returns the standard error of the predicted y-value for each x in the regression. - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @return float - */ - public static function STEYX($yValues,$xValues) { - if (!self::_checkTrendArrays($yValues,$xValues)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - $yValueCount = count($yValues); - $xValueCount = count($xValues); - - if (($yValueCount == 0) || ($yValueCount != $xValueCount)) { - return PHPExcel_Calculation_Functions::NA(); - } elseif ($yValueCount == 1) { - return PHPExcel_Calculation_Functions::DIV0(); - } - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues); - return $bestFitLinear->getStdevOfResiduals(); - } // function STEYX() - - - /** - * TDIST - * - * Returns the probability of Student's T distribution. - * - * @param float $value Value for the function - * @param float $degrees degrees of freedom - * @param float $tails number of tails (1 or 2) - * @return float - */ - public static function TDIST($value, $degrees, $tails) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - $tails = floor(PHPExcel_Calculation_Functions::flattenSingleValue($tails)); - - if ((is_numeric($value)) && (is_numeric($degrees)) && (is_numeric($tails))) { - if (($value < 0) || ($degrees < 1) || ($tails < 1) || ($tails > 2)) { - return PHPExcel_Calculation_Functions::NaN(); - } - // tdist, which finds the probability that corresponds to a given value - // of t with k degrees of freedom. This algorithm is translated from a - // pascal function on p81 of "Statistical Computing in Pascal" by D - // Cooke, A H Craven & G M Clark (1985: Edward Arnold (Pubs.) Ltd: - // London). The above Pascal algorithm is itself a translation of the - // fortran algoritm "AS 3" by B E Cooper of the Atlas Computer - // Laboratory as reported in (among other places) "Applied Statistics - // Algorithms", editied by P Griffiths and I D Hill (1985; Ellis - // Horwood Ltd.; W. Sussex, England). - $tterm = $degrees; - $ttheta = atan2($value,sqrt($tterm)); - $tc = cos($ttheta); - $ts = sin($ttheta); - $tsum = 0; - - if (($degrees % 2) == 1) { - $ti = 3; - $tterm = $tc; - } else { - $ti = 2; - $tterm = 1; - } - - $tsum = $tterm; - while ($ti < $degrees) { - $tterm *= $tc * $tc * ($ti - 1) / $ti; - $tsum += $tterm; - $ti += 2; - } - $tsum *= $ts; - if (($degrees % 2) == 1) { $tsum = M_2DIVPI * ($tsum + $ttheta); } - $tValue = 0.5 * (1 + $tsum); - if ($tails == 1) { - return 1 - abs($tValue); - } else { - return 1 - abs((1 - $tValue) - $tValue); - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TDIST() - - - /** - * TINV - * - * Returns the one-tailed probability of the chi-squared distribution. - * - * @param float $probability Probability for the function - * @param float $degrees degrees of freedom - * @return float - */ - public static function TINV($probability, $degrees) { - $probability = PHPExcel_Calculation_Functions::flattenSingleValue($probability); - $degrees = floor(PHPExcel_Calculation_Functions::flattenSingleValue($degrees)); - - if ((is_numeric($probability)) && (is_numeric($degrees))) { - $xLo = 100; - $xHi = 0; - - $x = $xNew = 1; - $dx = 1; - $i = 0; - - while ((abs($dx) > PRECISION) && ($i++ < MAX_ITERATIONS)) { - // Apply Newton-Raphson step - $result = self::TDIST($x, $degrees, 2); - $error = $result - $probability; - if ($error == 0.0) { - $dx = 0; - } elseif ($error < 0.0) { - $xLo = $x; - } else { - $xHi = $x; - } - // Avoid division by zero - if ($result != 0.0) { - $dx = $error / $result; - $xNew = $x - $dx; - } - // If the NR fails to converge (which for example may be the - // case if the initial guess is too rough) we apply a bisection - // step to determine a more narrow interval around the root. - if (($xNew < $xLo) || ($xNew > $xHi) || ($result == 0.0)) { - $xNew = ($xLo + $xHi) / 2; - $dx = $xNew - $x; - } - $x = $xNew; - } - if ($i == MAX_ITERATIONS) { - return PHPExcel_Calculation_Functions::NA(); - } - return round($x,12); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TINV() - - - /** - * TREND - * - * Returns values along a linear trend - * - * @param array of mixed Data Series Y - * @param array of mixed Data Series X - * @param array of mixed Values of X for which we want to find Y - * @param boolean A logical value specifying whether to force the intersect to equal 0. - * @return array of float - */ - public static function TREND($yValues,$xValues=array(),$newValues=array(),$const=True) { - $yValues = PHPExcel_Calculation_Functions::flattenArray($yValues); - $xValues = PHPExcel_Calculation_Functions::flattenArray($xValues); - $newValues = PHPExcel_Calculation_Functions::flattenArray($newValues); - $const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const); - - $bestFitLinear = trendClass::calculate(trendClass::TREND_LINEAR,$yValues,$xValues,$const); - if (empty($newValues)) { - $newValues = $bestFitLinear->getXValues(); - } - - $returnArray = array(); - foreach($newValues as $xValue) { - $returnArray[0][] = $bestFitLinear->getValueOfYForX($xValue); - } - - return $returnArray; - } // function TREND() - - - /** - * TRIMMEAN - * - * Returns the mean of the interior of a data set. TRIMMEAN calculates the mean - * taken by excluding a percentage of data points from the top and bottom tails - * of a data set. - * - * Excel Function: - * TRIMEAN(value1[,value2[, ...]],$discard) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @param float $discard Percentage to discard - * @return float - */ - public static function TRIMMEAN() { - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - - // Calculate - $percent = array_pop($aArgs); - - if ((is_numeric($percent)) && (!is_string($percent))) { - if (($percent < 0) || ($percent > 1)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $mArgs = array(); - foreach ($aArgs as $arg) { - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $mArgs[] = $arg; - } - } - $discard = floor(self::COUNT($mArgs) * $percent / 2); - sort($mArgs); - for ($i=0; $i < $discard; ++$i) { - array_pop($mArgs); - array_shift($mArgs); - } - return self::AVERAGE($mArgs); - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function TRIMMEAN() - - - /** - * VARFunc - * - * Estimates variance based on a sample. - * - * Excel Function: - * VAR(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARFunc() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $aCount = 0; - foreach ($aArgs as $arg) { - if (is_bool($arg)) { $arg = (integer) $arg; } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - - // Return - if ($aCount > 1) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * ($aCount - 1)); - } - return $returnValue; - } // function VARFunc() - - - /** - * VARA - * - * Estimates variance based on a sample, including numbers, text, and logical values - * - * Excel Function: - * VARA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARA() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_string($arg)) && - (PHPExcel_Calculation_Functions::isValue($k))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ((is_string($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - } - - // Return - if ($aCount > 1) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * ($aCount - 1)); - } - return $returnValue; - } // function VARA() - - - /** - * VARP - * - * Calculates variance based on the entire population - * - * Excel Function: - * VARP(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARP() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - $aCount = 0; - foreach ($aArgs as $arg) { - if (is_bool($arg)) { $arg = (integer) $arg; } - // Is it a numeric value? - if ((is_numeric($arg)) && (!is_string($arg))) { - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - - // Return - if ($aCount > 0) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * $aCount); - } - return $returnValue; - } // function VARP() - - - /** - * VARPA - * - * Calculates variance based on the entire population, including numbers, text, and logical values - * - * Excel Function: - * VARPA(value1[,value2[, ...]]) - * - * @access public - * @category Statistical Functions - * @param mixed $arg,... Data values - * @return float - */ - public static function VARPA() { - // Return value - $returnValue = PHPExcel_Calculation_Functions::DIV0(); - - $summerA = $summerB = 0; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArrayIndexed(func_get_args()); - $aCount = 0; - foreach ($aArgs as $k => $arg) { - if ((is_string($arg)) && - (PHPExcel_Calculation_Functions::isValue($k))) { - return PHPExcel_Calculation_Functions::VALUE(); - } elseif ((is_string($arg)) && - (!PHPExcel_Calculation_Functions::isMatrixValue($k))) { - } else { - // Is it a numeric value? - if ((is_numeric($arg)) || (is_bool($arg)) || ((is_string($arg) & ($arg != '')))) { - if (is_bool($arg)) { - $arg = (integer) $arg; - } elseif (is_string($arg)) { - $arg = 0; - } - $summerA += ($arg * $arg); - $summerB += $arg; - ++$aCount; - } - } - } - - // Return - if ($aCount > 0) { - $summerA *= $aCount; - $summerB *= $summerB; - $returnValue = ($summerA - $summerB) / ($aCount * $aCount); - } - return $returnValue; - } // function VARPA() - - - /** - * WEIBULL - * - * Returns the Weibull distribution. Use this distribution in reliability - * analysis, such as calculating a device's mean time to failure. - * - * @param float $value - * @param float $alpha Alpha Parameter - * @param float $beta Beta Parameter - * @param boolean $cumulative - * @return float - * - */ - public static function WEIBULL($value, $alpha, $beta, $cumulative) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $alpha = PHPExcel_Calculation_Functions::flattenSingleValue($alpha); - $beta = PHPExcel_Calculation_Functions::flattenSingleValue($beta); - - if ((is_numeric($value)) && (is_numeric($alpha)) && (is_numeric($beta))) { - if (($value < 0) || ($alpha <= 0) || ($beta <= 0)) { - return PHPExcel_Calculation_Functions::NaN(); - } - if ((is_numeric($cumulative)) || (is_bool($cumulative))) { - if ($cumulative) { - return 1 - exp(0 - pow($value / $beta,$alpha)); - } else { - return ($alpha / pow($beta,$alpha)) * pow($value,$alpha - 1) * exp(0 - pow($value / $beta,$alpha)); - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function WEIBULL() - - - /** - * ZTEST - * - * Returns the Weibull distribution. Use this distribution in reliability - * analysis, such as calculating a device's mean time to failure. - * - * @param float $dataSet - * @param float $m0 Alpha Parameter - * @param float $sigma Beta Parameter - * @param boolean $cumulative - * @return float - * - */ - public static function ZTEST($dataSet, $m0, $sigma = NULL) { - $dataSet = PHPExcel_Calculation_Functions::flattenArrayIndexed($dataSet); - $m0 = PHPExcel_Calculation_Functions::flattenSingleValue($m0); - $sigma = PHPExcel_Calculation_Functions::flattenSingleValue($sigma); - - if (is_null($sigma)) { - $sigma = self::STDEV($dataSet); - } - $n = count($dataSet); - - return 1 - self::NORMSDIST((self::AVERAGE($dataSet) - $m0)/($sigma/SQRT($n))); - } // function ZTEST() - -} // class PHPExcel_Calculation_Statistical diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/TextData.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/TextData.php deleted file mode 100644 index 7a52d2e7f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/TextData.php +++ /dev/null @@ -1,631 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Calculation_TextData - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_TextData { - - private static $_invalidChars = Null; - - private static function _uniord($c) { - if (ord($c{0}) >=0 && ord($c{0}) <= 127) - return ord($c{0}); - if (ord($c{0}) >= 192 && ord($c{0}) <= 223) - return (ord($c{0})-192)*64 + (ord($c{1})-128); - if (ord($c{0}) >= 224 && ord($c{0}) <= 239) - return (ord($c{0})-224)*4096 + (ord($c{1})-128)*64 + (ord($c{2})-128); - if (ord($c{0}) >= 240 && ord($c{0}) <= 247) - return (ord($c{0})-240)*262144 + (ord($c{1})-128)*4096 + (ord($c{2})-128)*64 + (ord($c{3})-128); - if (ord($c{0}) >= 248 && ord($c{0}) <= 251) - return (ord($c{0})-248)*16777216 + (ord($c{1})-128)*262144 + (ord($c{2})-128)*4096 + (ord($c{3})-128)*64 + (ord($c{4})-128); - if (ord($c{0}) >= 252 && ord($c{0}) <= 253) - return (ord($c{0})-252)*1073741824 + (ord($c{1})-128)*16777216 + (ord($c{2})-128)*262144 + (ord($c{3})-128)*4096 + (ord($c{4})-128)*64 + (ord($c{5})-128); - if (ord($c{0}) >= 254 && ord($c{0}) <= 255) //error - return PHPExcel_Calculation_Functions::VALUE(); - return 0; - } // function _uniord() - - /** - * CHARACTER - * - * @param string $character Value - * @return int - */ - public static function CHARACTER($character) { - $character = PHPExcel_Calculation_Functions::flattenSingleValue($character); - - if ((!is_numeric($character)) || ($character < 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (function_exists('mb_convert_encoding')) { - return mb_convert_encoding('&#'.intval($character).';', 'UTF-8', 'HTML-ENTITIES'); - } else { - return chr(intval($character)); - } - } - - - /** - * TRIMNONPRINTABLE - * - * @param mixed $stringValue Value to check - * @return string - */ - public static function TRIMNONPRINTABLE($stringValue = '') { - $stringValue = PHPExcel_Calculation_Functions::flattenSingleValue($stringValue); - - if (is_bool($stringValue)) { - return ($stringValue) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (self::$_invalidChars == Null) { - self::$_invalidChars = range(chr(0),chr(31)); - } - - if (is_string($stringValue) || is_numeric($stringValue)) { - return str_replace(self::$_invalidChars, '', trim($stringValue, "\x00..\x1F")); - } - return NULL; - } // function TRIMNONPRINTABLE() - - - /** - * TRIMSPACES - * - * @param mixed $stringValue Value to check - * @return string - */ - public static function TRIMSPACES($stringValue = '') { - $stringValue = PHPExcel_Calculation_Functions::flattenSingleValue($stringValue); - - if (is_bool($stringValue)) { - return ($stringValue) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (is_string($stringValue) || is_numeric($stringValue)) { - return trim(preg_replace('/ +/',' ',trim($stringValue,' '))); - } - return NULL; - } // function TRIMSPACES() - - - /** - * ASCIICODE - * - * @param string $characters Value - * @return int - */ - public static function ASCIICODE($characters) { - if (($characters === NULL) || ($characters === '')) - return PHPExcel_Calculation_Functions::VALUE(); - $characters = PHPExcel_Calculation_Functions::flattenSingleValue($characters); - if (is_bool($characters)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $characters = (int) $characters; - } else { - $characters = ($characters) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - } - - $character = $characters; - if ((function_exists('mb_strlen')) && (function_exists('mb_substr'))) { - if (mb_strlen($characters, 'UTF-8') > 1) { $character = mb_substr($characters, 0, 1, 'UTF-8'); } - return self::_uniord($character); - } else { - if (strlen($characters) > 0) { $character = substr($characters, 0, 1); } - return ord($character); - } - } // function ASCIICODE() - - - /** - * CONCATENATE - * - * @return string - */ - public static function CONCATENATE() { - // Return value - $returnValue = ''; - - // Loop through arguments - $aArgs = PHPExcel_Calculation_Functions::flattenArray(func_get_args()); - foreach ($aArgs as $arg) { - if (is_bool($arg)) { - if (PHPExcel_Calculation_Functions::getCompatibilityMode() == PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE) { - $arg = (int) $arg; - } else { - $arg = ($arg) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - } - $returnValue .= $arg; - } - - // Return - return $returnValue; - } // function CONCATENATE() - - - /** - * DOLLAR - * - * This function converts a number to text using currency format, with the decimals rounded to the specified place. - * The format used is $#,##0.00_);($#,##0.00).. - * - * @param float $value The value to format - * @param int $decimals The number of digits to display to the right of the decimal point. - * If decimals is negative, number is rounded to the left of the decimal point. - * If you omit decimals, it is assumed to be 2 - * @return string - */ - public static function DOLLAR($value = 0, $decimals = 2) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $decimals = is_null($decimals) ? 0 : PHPExcel_Calculation_Functions::flattenSingleValue($decimals); - - // Validate parameters - if (!is_numeric($value) || !is_numeric($decimals)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $decimals = floor($decimals); - - $mask = '$#,##0'; - if ($decimals > 0) { - $mask .= '.' . str_repeat('0',$decimals); - } else { - $round = pow(10,abs($decimals)); - if ($value < 0) { $round = 0-$round; } - $value = PHPExcel_Calculation_MathTrig::MROUND($value, $round); - } - - return PHPExcel_Style_NumberFormat::toFormattedString($value, $mask); - - } // function DOLLAR() - - - /** - * SEARCHSENSITIVE - * - * @param string $needle The string to look for - * @param string $haystack The string in which to look - * @param int $offset Offset within $haystack - * @return string - */ - public static function SEARCHSENSITIVE($needle,$haystack,$offset=1) { - $needle = PHPExcel_Calculation_Functions::flattenSingleValue($needle); - $haystack = PHPExcel_Calculation_Functions::flattenSingleValue($haystack); - $offset = PHPExcel_Calculation_Functions::flattenSingleValue($offset); - - if (!is_bool($needle)) { - if (is_bool($haystack)) { - $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (($offset > 0) && (PHPExcel_Shared_String::CountCharacters($haystack) > $offset)) { - if (PHPExcel_Shared_String::CountCharacters($needle) == 0) { - return $offset; - } - if (function_exists('mb_strpos')) { - $pos = mb_strpos($haystack, $needle, --$offset, 'UTF-8'); - } else { - $pos = strpos($haystack, $needle, --$offset); - } - if ($pos !== false) { - return ++$pos; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SEARCHSENSITIVE() - - - /** - * SEARCHINSENSITIVE - * - * @param string $needle The string to look for - * @param string $haystack The string in which to look - * @param int $offset Offset within $haystack - * @return string - */ - public static function SEARCHINSENSITIVE($needle,$haystack,$offset=1) { - $needle = PHPExcel_Calculation_Functions::flattenSingleValue($needle); - $haystack = PHPExcel_Calculation_Functions::flattenSingleValue($haystack); - $offset = PHPExcel_Calculation_Functions::flattenSingleValue($offset); - - if (!is_bool($needle)) { - if (is_bool($haystack)) { - $haystack = ($haystack) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (($offset > 0) && (PHPExcel_Shared_String::CountCharacters($haystack) > $offset)) { - if (PHPExcel_Shared_String::CountCharacters($needle) == 0) { - return $offset; - } - if (function_exists('mb_stripos')) { - $pos = mb_stripos($haystack, $needle, --$offset,'UTF-8'); - } else { - $pos = stripos($haystack, $needle, --$offset); - } - if ($pos !== false) { - return ++$pos; - } - } - } - return PHPExcel_Calculation_Functions::VALUE(); - } // function SEARCHINSENSITIVE() - - - /** - * FIXEDFORMAT - * - * @param mixed $value Value to check - * @param integer $decimals - * @param boolean $no_commas - * @return boolean - */ - public static function FIXEDFORMAT($value, $decimals = 2, $no_commas = FALSE) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $decimals = PHPExcel_Calculation_Functions::flattenSingleValue($decimals); - $no_commas = PHPExcel_Calculation_Functions::flattenSingleValue($no_commas); - - // Validate parameters - if (!is_numeric($value) || !is_numeric($decimals)) { - return PHPExcel_Calculation_Functions::NaN(); - } - $decimals = floor($decimals); - - $valueResult = round($value,$decimals); - if ($decimals < 0) { $decimals = 0; } - if (!$no_commas) { - $valueResult = number_format($valueResult,$decimals); - } - - return (string) $valueResult; - } // function FIXEDFORMAT() - - - /** - * LEFT - * - * @param string $value Value - * @param int $chars Number of characters - * @return string - */ - public static function LEFT($value = '', $chars = 1) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - - if ($chars < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (function_exists('mb_substr')) { - return mb_substr($value, 0, $chars, 'UTF-8'); - } else { - return substr($value, 0, $chars); - } - } // function LEFT() - - - /** - * MID - * - * @param string $value Value - * @param int $start Start character - * @param int $chars Number of characters - * @return string - */ - public static function MID($value = '', $start = 1, $chars = null) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $start = PHPExcel_Calculation_Functions::flattenSingleValue($start); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - - if (($start < 1) || ($chars < 0)) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (function_exists('mb_substr')) { - return mb_substr($value, --$start, $chars, 'UTF-8'); - } else { - return substr($value, --$start, $chars); - } - } // function MID() - - - /** - * RIGHT - * - * @param string $value Value - * @param int $chars Number of characters - * @return string - */ - public static function RIGHT($value = '', $chars = 1) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - - if ($chars < 0) { - return PHPExcel_Calculation_Functions::VALUE(); - } - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if ((function_exists('mb_substr')) && (function_exists('mb_strlen'))) { - return mb_substr($value, mb_strlen($value, 'UTF-8') - $chars, $chars, 'UTF-8'); - } else { - return substr($value, strlen($value) - $chars); - } - } // function RIGHT() - - - /** - * STRINGLENGTH - * - * @param string $value Value - * @return string - */ - public static function STRINGLENGTH($value = '') { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (is_bool($value)) { - $value = ($value) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - if (function_exists('mb_strlen')) { - return mb_strlen($value, 'UTF-8'); - } else { - return strlen($value); - } - } // function STRINGLENGTH() - - - /** - * LOWERCASE - * - * Converts a string value to upper case. - * - * @param string $mixedCaseString - * @return string - */ - public static function LOWERCASE($mixedCaseString) { - $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString); - - if (is_bool($mixedCaseString)) { - $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - return PHPExcel_Shared_String::StrToLower($mixedCaseString); - } // function LOWERCASE() - - - /** - * UPPERCASE - * - * Converts a string value to upper case. - * - * @param string $mixedCaseString - * @return string - */ - public static function UPPERCASE($mixedCaseString) { - $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString); - - if (is_bool($mixedCaseString)) { - $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - return PHPExcel_Shared_String::StrToUpper($mixedCaseString); - } // function UPPERCASE() - - - /** - * PROPERCASE - * - * Converts a string value to upper case. - * - * @param string $mixedCaseString - * @return string - */ - public static function PROPERCASE($mixedCaseString) { - $mixedCaseString = PHPExcel_Calculation_Functions::flattenSingleValue($mixedCaseString); - - if (is_bool($mixedCaseString)) { - $mixedCaseString = ($mixedCaseString) ? PHPExcel_Calculation::getTRUE() : PHPExcel_Calculation::getFALSE(); - } - - return PHPExcel_Shared_String::StrToTitle($mixedCaseString); - } // function PROPERCASE() - - - /** - * REPLACE - * - * @param string $oldText String to modify - * @param int $start Start character - * @param int $chars Number of characters - * @param string $newText String to replace in defined position - * @return string - */ - public static function REPLACE($oldText = '', $start = 1, $chars = null, $newText) { - $oldText = PHPExcel_Calculation_Functions::flattenSingleValue($oldText); - $start = PHPExcel_Calculation_Functions::flattenSingleValue($start); - $chars = PHPExcel_Calculation_Functions::flattenSingleValue($chars); - $newText = PHPExcel_Calculation_Functions::flattenSingleValue($newText); - - $left = self::LEFT($oldText,$start-1); - $right = self::RIGHT($oldText,self::STRINGLENGTH($oldText)-($start+$chars)+1); - - return $left.$newText.$right; - } // function REPLACE() - - - /** - * SUBSTITUTE - * - * @param string $text Value - * @param string $fromText From Value - * @param string $toText To Value - * @param integer $instance Instance Number - * @return string - */ - public static function SUBSTITUTE($text = '', $fromText = '', $toText = '', $instance = 0) { - $text = PHPExcel_Calculation_Functions::flattenSingleValue($text); - $fromText = PHPExcel_Calculation_Functions::flattenSingleValue($fromText); - $toText = PHPExcel_Calculation_Functions::flattenSingleValue($toText); - $instance = floor(PHPExcel_Calculation_Functions::flattenSingleValue($instance)); - - if ($instance == 0) { - if(function_exists('mb_str_replace')) { - return mb_str_replace($fromText,$toText,$text); - } else { - return str_replace($fromText,$toText,$text); - } - } else { - $pos = -1; - while($instance > 0) { - if (function_exists('mb_strpos')) { - $pos = mb_strpos($text, $fromText, $pos+1, 'UTF-8'); - } else { - $pos = strpos($text, $fromText, $pos+1); - } - if ($pos === false) { - break; - } - --$instance; - } - if ($pos !== false) { - if (function_exists('mb_strlen')) { - return self::REPLACE($text,++$pos,mb_strlen($fromText, 'UTF-8'),$toText); - } else { - return self::REPLACE($text,++$pos,strlen($fromText),$toText); - } - } - } - - return $text; - } // function SUBSTITUTE() - - - /** - * RETURNSTRING - * - * @param mixed $testValue Value to check - * @return boolean - */ - public static function RETURNSTRING($testValue = '') { - $testValue = PHPExcel_Calculation_Functions::flattenSingleValue($testValue); - - if (is_string($testValue)) { - return $testValue; - } - return Null; - } // function RETURNSTRING() - - - /** - * TEXTFORMAT - * - * @param mixed $value Value to check - * @param string $format Format mask to use - * @return boolean - */ - public static function TEXTFORMAT($value,$format) { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - $format = PHPExcel_Calculation_Functions::flattenSingleValue($format); - - if ((is_string($value)) && (!is_numeric($value)) && PHPExcel_Shared_Date::isDateTimeFormatCode($format)) { - $value = PHPExcel_Calculation_DateTime::DATEVALUE($value); - } - - return (string) PHPExcel_Style_NumberFormat::toFormattedString($value,$format); - } // function TEXTFORMAT() - - /** - * VALUE - * - * @param mixed $value Value to check - * @return boolean - */ - public static function VALUE($value = '') { - $value = PHPExcel_Calculation_Functions::flattenSingleValue($value); - - if (!is_numeric($value)) { - $numberValue = str_replace( - PHPExcel_Shared_String::getThousandsSeparator(), - '', - trim($value, " \t\n\r\0\x0B" . PHPExcel_Shared_String::getCurrencyCode()) - ); - if (is_numeric($numberValue)) { - return (float) $numberValue; - } - - $dateSetting = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - - if (strpos($value, ':') !== false) { - $timeValue = PHPExcel_Calculation_DateTime::TIMEVALUE($value); - if ($timeValue !== PHPExcel_Calculation_Functions::VALUE()) { - PHPExcel_Calculation_Functions::setReturnDateType($dateSetting); - return $timeValue; - } - } - $dateValue = PHPExcel_Calculation_DateTime::DATEVALUE($value); - if ($dateValue !== PHPExcel_Calculation_Functions::VALUE()) { - PHPExcel_Calculation_Functions::setReturnDateType($dateSetting); - return $dateValue; - } - PHPExcel_Calculation_Functions::setReturnDateType($dateSetting); - - return PHPExcel_Calculation_Functions::VALUE(); - } - return (float) $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Token/Stack.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Token/Stack.php deleted file mode 100644 index 57963e738..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Token/Stack.php +++ /dev/null @@ -1,115 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Calculation_Token_Stack - * - * @category PHPExcel_Calculation_Token_Stack - * @package PHPExcel_Calculation - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Calculation_Token_Stack { - - /** - * The parser stack for formulae - * - * @var mixed[] - */ - private $_stack = array(); - - /** - * Count of entries in the parser stack - * - * @var integer - */ - private $_count = 0; - - - /** - * Return the number of entries on the stack - * - * @return integer - */ - public function count() { - return $this->_count; - } // function count() - - /** - * Push a new entry onto the stack - * - * @param mixed $type - * @param mixed $value - * @param mixed $reference - */ - public function push($type, $value, $reference = NULL) { - $this->_stack[$this->_count++] = array('type' => $type, - 'value' => $value, - 'reference' => $reference - ); - if ($type == 'Function') { - $localeFunction = PHPExcel_Calculation::_localeFunc($value); - if ($localeFunction != $value) { - $this->_stack[($this->_count - 1)]['localeValue'] = $localeFunction; - } - } - } // function push() - - /** - * Pop the last entry from the stack - * - * @return mixed - */ - public function pop() { - if ($this->_count > 0) { - return $this->_stack[--$this->_count]; - } - return NULL; - } // function pop() - - /** - * Return an entry from the stack without removing it - * - * @param integer $n number indicating how far back in the stack we want to look - * @return mixed - */ - public function last($n = 1) { - if ($this->_count - $n < 0) { - return NULL; - } - return $this->_stack[$this->_count - $n]; - } // function last() - - /** - * Clear the stack - */ - function clear() { - $this->_stack = array(); - $this->_count = 0; - } - -} // class PHPExcel_Calculation_Token_Stack diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Token/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Token/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/Token/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/functionlist.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/functionlist.txt deleted file mode 100644 index 67dbd49cf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/functionlist.txt +++ /dev/null @@ -1,351 +0,0 @@ -ABS -ACCRINT -ACCRINTM -ACOS -ACOSH -ADDRESS -AMORDEGRC -AMORLINC -AND -AREAS -ASC -ASIN -ASINH -ATAN -ATAN2 -ATANH -AVEDEV -AVERAGE -AVERAGEA -AVERAGEIF -AVERAGEIFS -BAHTTEXT -BESSELI -BESSELJ -BESSELK -BESSELY -BETADIST -BETAINV -BIN2DEC -BIN2HEX -BIN2OCT -BINOMDIST -CEILING -CELL -CHAR -CHIDIST -CHIINV -CHITEST -CHOOSE -CLEAN -CODE -COLUMN -COLUMNS -COMBIN -COMPLEX -CONCATENATE -CONFIDENCE -CONVERT -CORREL -COS -COSH -COUNT -COUNTA -COUNTBLANK -COUNTIF -COUNTIFS -COUPDAYBS -COUPDAYBS -COUPDAYSNC -COUPNCD -COUPNUM -COUPPCD -COVAR -CRITBINOM -CUBEKPIMEMBER -CUBEMEMBER -CUBEMEMBERPROPERTY -CUBERANKEDMEMBER -CUBESET -CUBESETCOUNT -CUBEVALUE -CUMIPMT -CUMPRINC -DATE -DATEDIF -DATEVALUE -DAVERAGE -DAY -DAYS360 -DB -DCOUNT -DCOUNTA -DDB -DEC2BIN -DEC2HEX -DEC2OCT -DEGREES -DELTA -DEVSQ -DGET -DISC -DMAX -DMIN -DOLLAR -DOLLARDE -DOLLARFR -DPRODUCT -DSTDEV -DSTDEVP -DSUM -DURATION -DVAR -DVARP -EDATE -EFFECT -EOMONTH -ERF -ERFC -ERROR.TYPE -EVEN -EXACT -EXP -EXPONDIST -FACT -FACTDOUBLE -FALSE -FDIST -FIND -FINDB -FINV -FISHER -FISHERINV -FIXED -FLOOR -FORECAST -FREQUENCY -FTEST -FV -FVSCHEDULE -GAMAMDIST -GAMMAINV -GAMMALN -GCD -GEOMEAN -GESTEP -GETPIVOTDATA -GROWTH -HARMEAN -HEX2BIN -HEX2OCT -HLOOKUP -HOUR -HYPERLINK -HYPGEOMDIST -IF -IFERROR -IMABS -IMAGINARY -IMARGUMENT -IMCONJUGATE -IMCOS -IMEXP -IMLN -IMLOG10 -IMLOG2 -IMPOWER -IMPRODUCT -IMREAL -IMSIN -IMSQRT -IMSUB -IMSUM -INDEX -INDIRECT -INFO -INT -INTERCEPT -INTRATE -IPMT -IRR -ISBLANK -ISERR -ISERROR -ISEVEN -ISLOGICAL -ISNA -ISNONTEXT -ISNUMBER -ISODD -ISPMT -ISREF -ISTEXT -JIS -KURT -LARGE -LCM -LEFT -LEFTB -LEN -LENB -LINEST -LN -LOG -LOG10 -LOGEST -LOGINV -LOGNORMDIST -LOOKUP -LOWER -MATCH -MAX -MAXA -MDETERM -MDURATION -MEDIAN -MID -MIDB -MIN -MINA -MINUTE -MINVERSE -MIRR -MMULT -MOD -MODE -MONTH -MROUND -MULTINOMIAL -N -NA -NEGBINOMDIST -NETWORKDAYS -NOMINAL -NORMDIST -NORMINV -NORMSDIST -NORMSINV -NOT -NOW -NPER -NPV -OCT2BIN -OCT2DEC -OCT2HEX -ODD -ODDFPRICE -ODDFYIELD -ODDLPRICE -ODDLYIELD -OFFSET -OR -PEARSON -PERCENTILE -PERCENTRANK -PERMUT -PHONETIC -PI -PMT -POISSON -POWER -PPMT -PRICE -PRICEDISC -PRICEMAT -PROB -PRODUCT -PROPER -PV -QUARTILE -QUOTIENT -RADIANS -RAND -RANDBETWEEN -RANK -RATE -RECEIVED -REPLACE -REPLACEB -REPT -RIGHT -RIGHTB -ROMAN -ROUND -ROUNDDOWN -ROUNDUP -ROW -ROWS -RSQ -RTD -SEARCH -SEARCHB -SECOND -SERIESSUM -SIGN -SIN -SINH -SKEW -SLN -SLOPE -SMALL -SQRT -SQRTPI -STANDARDIZE -STDEV -STDEVA -STDEVP -STDEVPA -STEYX -SUBSTITUTE -SUBTOTAL -SUM -SUMIF -SUMIFS -SUMPRODUCT -SUMSQ -SUMX2MY2 -SUMX2PY2 -SUMXMY2 -SYD -T -TAN -TANH -TBILLEQ -TBILLPRICE -TBILLYIELD -TDIST -TEXT -TIME -TIMEVALUE -TINV -TODAY -TRANSPOSE -TREND -TRIM -TRIMMEAN -TRUE -TRUNC -TTEST -TYPE -UPPER -USDOLLAR -VALUE -VAR -VARA -VARP -VARPA -VDB -VERSION -VLOOKUP -WEEKDAY -WEEKNUM -WEIBULL -WORKDAY -XIRR -XNPV -YEAR -YEARFRAC -YIELD -YIELDDISC -YIELDMAT -ZTEST diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Calculation/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell.php deleted file mode 100644 index 2d5f9102d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell.php +++ /dev/null @@ -1,1022 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Cell - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Cell -{ - - /** - * Default range variable constant - * - * @var string - */ - const DEFAULT_RANGE = 'A1:A1'; - - /** - * Value binder to use - * - * @var PHPExcel_Cell_IValueBinder - */ - private static $_valueBinder = NULL; - - /** - * Value of the cell - * - * @var mixed - */ - private $_value; - - /** - * Calculated value of the cell (used for caching) - * This returns the value last calculated by MS Excel or whichever spreadsheet program was used to - * create the original spreadsheet file. - * Note that this value is not guaranteed to reflect the actual calculated value because it is - * possible that auto-calculation was disabled in the original spreadsheet, and underlying data - * values used by the formula have changed since it was last calculated. - * - * @var mixed - */ - private $_calculatedValue = NULL; - - /** - * Type of the cell data - * - * @var string - */ - private $_dataType; - - /** - * Parent worksheet - * - * @var PHPExcel_CachedObjectStorage_CacheBase - */ - private $_parent; - - /** - * Index to cellXf - * - * @var int - */ - private $_xfIndex = 0; - - /** - * Attributes of the formula - * - */ - private $_formulaAttributes; - - - /** - * Send notification to the cache controller - * - * @return void - **/ - public function notifyCacheController() { - $this->_parent->updateCacheData($this); - - return $this; - } - - public function detach() { - $this->_parent = NULL; - } - - public function attach(PHPExcel_CachedObjectStorage_CacheBase $parent) { - $this->_parent = $parent; - } - - - /** - * Create a new Cell - * - * @param mixed $pValue - * @param string $pDataType - * @param PHPExcel_Worksheet $pSheet - * @throws PHPExcel_Exception - */ - public function __construct($pValue = NULL, $pDataType = NULL, PHPExcel_Worksheet $pSheet = NULL) - { - // Initialise cell value - $this->_value = $pValue; - - // Set worksheet cache - $this->_parent = $pSheet->getCellCacheController(); - - // Set datatype? - if ($pDataType !== NULL) { - if ($pDataType == PHPExcel_Cell_DataType::TYPE_STRING2) - $pDataType = PHPExcel_Cell_DataType::TYPE_STRING; - $this->_dataType = $pDataType; - } elseif (!self::getValueBinder()->bindValue($this, $pValue)) { - throw new PHPExcel_Exception("Value could not be bound to cell."); - } - } - - /** - * Get cell coordinate column - * - * @return string - */ - public function getColumn() - { - return $this->_parent->getCurrentColumn(); - } - - /** - * Get cell coordinate row - * - * @return int - */ - public function getRow() - { - return $this->_parent->getCurrentRow(); - } - - /** - * Get cell coordinate - * - * @return string - */ - public function getCoordinate() - { - return $this->_parent->getCurrentAddress(); - } - - /** - * Get cell value - * - * @return mixed - */ - public function getValue() - { - return $this->_value; - } - - /** - * Get cell value with formatting - * - * @return string - */ - public function getFormattedValue() - { - return (string) PHPExcel_Style_NumberFormat::toFormattedString( - $this->getCalculatedValue(), - $this->getStyle() - ->getNumberFormat()->getFormatCode() - ); - } - - /** - * Set cell value - * - * Sets the value for a cell, automatically determining the datatype using the value binder - * - * @param mixed $pValue Value - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setValue($pValue = NULL) - { - if (!self::getValueBinder()->bindValue($this, $pValue)) { - throw new PHPExcel_Exception("Value could not be bound to cell."); - } - return $this; - } - - /** - * Set the value for a cell, with the explicit data type passed to the method (bypassing any use of the value binder) - * - * @param mixed $pValue Value - * @param string $pDataType Explicit data type - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setValueExplicit($pValue = NULL, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING) - { - // set the value according to data type - switch ($pDataType) { - case PHPExcel_Cell_DataType::TYPE_NULL: - $this->_value = $pValue; - break; - case PHPExcel_Cell_DataType::TYPE_STRING2: - $pDataType = PHPExcel_Cell_DataType::TYPE_STRING; - case PHPExcel_Cell_DataType::TYPE_STRING: - case PHPExcel_Cell_DataType::TYPE_INLINE: - $this->_value = PHPExcel_Cell_DataType::checkString($pValue); - break; - case PHPExcel_Cell_DataType::TYPE_NUMERIC: - $this->_value = (float)$pValue; - break; - case PHPExcel_Cell_DataType::TYPE_FORMULA: - $this->_value = (string)$pValue; - break; - case PHPExcel_Cell_DataType::TYPE_BOOL: - $this->_value = (bool)$pValue; - break; - case PHPExcel_Cell_DataType::TYPE_ERROR: - $this->_value = PHPExcel_Cell_DataType::checkErrorCode($pValue); - break; - default: - throw new PHPExcel_Exception('Invalid datatype: ' . $pDataType); - break; - } - - // set the datatype - $this->_dataType = $pDataType; - - return $this->notifyCacheController(); - } - - /** - * Get calculated cell value - * - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling - * - * @param boolean $resetLog Whether the calculation engine logger should be reset or not - * @return mixed - * @throws PHPExcel_Exception - */ - public function getCalculatedValue($resetLog = TRUE) - { -//echo 'Cell '.$this->getCoordinate().' value is a '.$this->_dataType.' with a value of '.$this->getValue().PHP_EOL; - if ($this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA) { - try { -//echo 'Cell value for '.$this->getCoordinate().' is a formula: Calculating value'.PHP_EOL; - $result = PHPExcel_Calculation::getInstance( - $this->getWorksheet()->getParent() - )->calculateCellValue($this,$resetLog); -//echo $this->getCoordinate().' calculation result is '.$result.PHP_EOL; - // We don't yet handle array returns - if (is_array($result)) { - while (is_array($result)) { - $result = array_pop($result); - } - } - } catch ( PHPExcel_Exception $ex ) { - if (($ex->getMessage() === 'Unable to access External Workbook') && ($this->_calculatedValue !== NULL)) { -//echo 'Returning fallback value of '.$this->_calculatedValue.' for cell '.$this->getCoordinate().PHP_EOL; - return $this->_calculatedValue; // Fallback for calculations referencing external files. - } -//echo 'Calculation Exception: '.$ex->getMessage().PHP_EOL; - $result = '#N/A'; - throw new PHPExcel_Calculation_Exception( - $this->getWorksheet()->getTitle().'!'.$this->getCoordinate().' -> '.$ex->getMessage() - ); - } - - if ($result === '#Not Yet Implemented') { -//echo 'Returning fallback value of '.$this->_calculatedValue.' for cell '.$this->getCoordinate().PHP_EOL; - return $this->_calculatedValue; // Fallback if calculation engine does not support the formula. - } -//echo 'Returning calculated value of '.$result.' for cell '.$this->getCoordinate().PHP_EOL; - return $result; - } elseif($this->_value instanceof PHPExcel_RichText) { -// echo 'Cell value for '.$this->getCoordinate().' is rich text: Returning data value of '.$this->_value.'<br />'; - return $this->_value->getPlainText(); - } -// echo 'Cell value for '.$this->getCoordinate().' is not a formula: Returning data value of '.$this->_value.'<br />'; - return $this->_value; - } - - /** - * Set old calculated value (cached) - * - * @param mixed $pValue Value - * @return PHPExcel_Cell - */ - public function setCalculatedValue($pValue = NULL) - { - if ($pValue !== NULL) { - $this->_calculatedValue = (is_numeric($pValue)) ? (float) $pValue : $pValue; - } - - return $this->notifyCacheController(); - } - - /** - * Get old calculated value (cached) - * This returns the value last calculated by MS Excel or whichever spreadsheet program was used to - * create the original spreadsheet file. - * Note that this value is not guaranteed to refelect the actual calculated value because it is - * possible that auto-calculation was disabled in the original spreadsheet, and underlying data - * values used by the formula have changed since it was last calculated. - * - * @return mixed - */ - public function getOldCalculatedValue() - { - return $this->_calculatedValue; - } - - /** - * Get cell data type - * - * @return string - */ - public function getDataType() - { - return $this->_dataType; - } - - /** - * Set cell data type - * - * @param string $pDataType - * @return PHPExcel_Cell - */ - public function setDataType($pDataType = PHPExcel_Cell_DataType::TYPE_STRING) - { - if ($pDataType == PHPExcel_Cell_DataType::TYPE_STRING2) - $pDataType = PHPExcel_Cell_DataType::TYPE_STRING; - - $this->_dataType = $pDataType; - - return $this->notifyCacheController(); - } - - /** - * Identify if the cell contains a formula - * - * @return boolean - */ - public function isFormula() - { - return $this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA; - } - - /** - * Does this cell contain Data validation rules? - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function hasDataValidation() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot check for data validation when cell is not bound to a worksheet'); - } - - return $this->getWorksheet()->dataValidationExists($this->getCoordinate()); - } - - /** - * Get Data validation rules - * - * @return PHPExcel_Cell_DataValidation - * @throws PHPExcel_Exception - */ - public function getDataValidation() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot get data validation for cell that is not bound to a worksheet'); - } - - return $this->getWorksheet()->getDataValidation($this->getCoordinate()); - } - - /** - * Set Data validation rules - * - * @param PHPExcel_Cell_DataValidation $pDataValidation - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setDataValidation(PHPExcel_Cell_DataValidation $pDataValidation = NULL) - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot set data validation for cell that is not bound to a worksheet'); - } - - $this->getWorksheet()->setDataValidation($this->getCoordinate(), $pDataValidation); - - return $this->notifyCacheController(); - } - - /** - * Does this cell contain a Hyperlink? - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function hasHyperlink() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot check for hyperlink when cell is not bound to a worksheet'); - } - - return $this->getWorksheet()->hyperlinkExists($this->getCoordinate()); - } - - /** - * Get Hyperlink - * - * @return PHPExcel_Cell_Hyperlink - * @throws PHPExcel_Exception - */ - public function getHyperlink() - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot get hyperlink for cell that is not bound to a worksheet'); - } - - return $this->getWorksheet()->getHyperlink($this->getCoordinate()); - } - - /** - * Set Hyperlink - * - * @param PHPExcel_Cell_Hyperlink $pHyperlink - * @return PHPExcel_Cell - * @throws PHPExcel_Exception - */ - public function setHyperlink(PHPExcel_Cell_Hyperlink $pHyperlink = NULL) - { - if (!isset($this->_parent)) { - throw new PHPExcel_Exception('Cannot set hyperlink for cell that is not bound to a worksheet'); - } - - $this->getWorksheet()->setHyperlink($this->getCoordinate(), $pHyperlink); - - return $this->notifyCacheController(); - } - - /** - * Get parent worksheet - * - * @return PHPExcel_CachedObjectStorage_CacheBase - */ - public function getParent() { - return $this->_parent; - } - - /** - * Get parent worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_parent->getParent(); - } - - /** - * Is this cell in a merge range - * - * @return boolean - */ - public function isInMergeRange() { - return (boolean) $this->getMergeRange(); - } - - /** - * Is this cell the master (top left cell) in a merge range (that holds the actual data value) - * - * @return boolean - */ - public function isMergeRangeValueCell() { - if ($mergeRange = $this->getMergeRange()) { - $mergeRange = PHPExcel_Cell::splitRange($mergeRange); - list($startCell) = $mergeRange[0]; - if ($this->getCoordinate() === $startCell) { - return true; - } - } - return false; - } - - /** - * If this cell is in a merge range, then return the range - * - * @return string - */ - public function getMergeRange() { - foreach($this->getWorksheet()->getMergeCells() as $mergeRange) { - if ($this->isInRange($mergeRange)) { - return $mergeRange; - } - } - return false; - } - - /** - * Get cell style - * - * @return PHPExcel_Style - */ - public function getStyle() - { - return $this->getWorksheet()->getStyle($this->getCoordinate()); - } - - /** - * Re-bind parent - * - * @param PHPExcel_Worksheet $parent - * @return PHPExcel_Cell - */ - public function rebindParent(PHPExcel_Worksheet $parent) { - $this->_parent = $parent->getCellCacheController(); - - return $this->notifyCacheController(); - } - - /** - * Is cell in a specific range? - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return boolean - */ - public function isInRange($pRange = 'A1:A1') - { - list($rangeStart,$rangeEnd) = self::rangeBoundaries($pRange); - - // Translate properties - $myColumn = self::columnIndexFromString($this->getColumn()); - $myRow = $this->getRow(); - - // Verify if cell is in range - return (($rangeStart[0] <= $myColumn) && ($rangeEnd[0] >= $myColumn) && - ($rangeStart[1] <= $myRow) && ($rangeEnd[1] >= $myRow) - ); - } - - /** - * Coordinate from string - * - * @param string $pCoordinateString - * @return array Array containing column and row (indexes 0 and 1) - * @throws PHPExcel_Exception - */ - public static function coordinateFromString($pCoordinateString = 'A1') - { - if (preg_match("/^([$]?[A-Z]{1,3})([$]?\d{1,7})$/", $pCoordinateString, $matches)) { - return array($matches[1],$matches[2]); - } elseif ((strpos($pCoordinateString,':') !== FALSE) || (strpos($pCoordinateString,',') !== FALSE)) { - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells'); - } elseif ($pCoordinateString == '') { - throw new PHPExcel_Exception('Cell coordinate can not be zero-length string'); - } - - throw new PHPExcel_Exception('Invalid cell coordinate '.$pCoordinateString); - } - - /** - * Make string row, column or cell coordinate absolute - * - * @param string $pCoordinateString e.g. 'A' or '1' or 'A1' - * Note that this value can be a row or column reference as well as a cell reference - * @return string Absolute coordinate e.g. '$A' or '$1' or '$A$1' - * @throws PHPExcel_Exception - */ - public static function absoluteReference($pCoordinateString = 'A1') - { - if (strpos($pCoordinateString,':') === FALSE && strpos($pCoordinateString,',') === FALSE) { - // Split out any worksheet name from the reference - $worksheet = ''; - $cellAddress = explode('!',$pCoordinateString); - if (count($cellAddress) > 1) { - list($worksheet,$pCoordinateString) = $cellAddress; - } - if ($worksheet > '') $worksheet .= '!'; - - // Create absolute coordinate - if (ctype_digit($pCoordinateString)) { - return $worksheet . '$' . $pCoordinateString; - } elseif (ctype_alpha($pCoordinateString)) { - return $worksheet . '$' . strtoupper($pCoordinateString); - } - return $worksheet . self::absoluteCoordinate($pCoordinateString); - } - - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells'); - } - - /** - * Make string coordinate absolute - * - * @param string $pCoordinateString e.g. 'A1' - * @return string Absolute coordinate e.g. '$A$1' - * @throws PHPExcel_Exception - */ - public static function absoluteCoordinate($pCoordinateString = 'A1') - { - if (strpos($pCoordinateString,':') === FALSE && strpos($pCoordinateString,',') === FALSE) { - // Split out any worksheet name from the coordinate - $worksheet = ''; - $cellAddress = explode('!',$pCoordinateString); - if (count($cellAddress) > 1) { - list($worksheet,$pCoordinateString) = $cellAddress; - } - if ($worksheet > '') $worksheet .= '!'; - - // Create absolute coordinate - list($column, $row) = self::coordinateFromString($pCoordinateString); - $column = ltrim($column,'$'); - $row = ltrim($row,'$'); - return $worksheet . '$' . $column . '$' . $row; - } - - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells'); - } - - /** - * Split range into coordinate strings - * - * @param string $pRange e.g. 'B4:D9' or 'B4:D9,H2:O11' or 'B4' - * @return array Array containg one or more arrays containing one or two coordinate strings - * e.g. array('B4','D9') or array(array('B4','D9'),array('H2','O11')) - * or array('B4') - */ - public static function splitRange($pRange = 'A1:A1') - { - // Ensure $pRange is a valid range - if(empty($pRange)) { - $pRange = self::DEFAULT_RANGE; - } - - $exploded = explode(',', $pRange); - $counter = count($exploded); - for ($i = 0; $i < $counter; ++$i) { - $exploded[$i] = explode(':', $exploded[$i]); - } - return $exploded; - } - - /** - * Build range from coordinate strings - * - * @param array $pRange Array containg one or more arrays containing one or two coordinate strings - * @return string String representation of $pRange - * @throws PHPExcel_Exception - */ - public static function buildRange($pRange) - { - // Verify range - if (!is_array($pRange) || empty($pRange) || !is_array($pRange[0])) { - throw new PHPExcel_Exception('Range does not contain any information'); - } - - // Build range - $imploded = array(); - $counter = count($pRange); - for ($i = 0; $i < $counter; ++$i) { - $pRange[$i] = implode(':', $pRange[$i]); - } - $imploded = implode(',', $pRange); - - return $imploded; - } - - /** - * Calculate range boundaries - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return array Range coordinates array(Start Cell, End Cell) - * where Start Cell and End Cell are arrays (Column Number, Row Number) - */ - public static function rangeBoundaries($pRange = 'A1:A1') - { - // Ensure $pRange is a valid range - if(empty($pRange)) { - $pRange = self::DEFAULT_RANGE; - } - - // Uppercase coordinate - $pRange = strtoupper($pRange); - - // Extract range - if (strpos($pRange, ':') === FALSE) { - $rangeA = $rangeB = $pRange; - } else { - list($rangeA, $rangeB) = explode(':', $pRange); - } - - // Calculate range outer borders - $rangeStart = self::coordinateFromString($rangeA); - $rangeEnd = self::coordinateFromString($rangeB); - - // Translate column into index - $rangeStart[0] = self::columnIndexFromString($rangeStart[0]); - $rangeEnd[0] = self::columnIndexFromString($rangeEnd[0]); - - return array($rangeStart, $rangeEnd); - } - - /** - * Calculate range dimension - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return array Range dimension (width, height) - */ - public static function rangeDimension($pRange = 'A1:A1') - { - // Calculate range outer borders - list($rangeStart,$rangeEnd) = self::rangeBoundaries($pRange); - - return array( ($rangeEnd[0] - $rangeStart[0] + 1), ($rangeEnd[1] - $rangeStart[1] + 1) ); - } - - /** - * Calculate range boundaries - * - * @param string $pRange Cell range (e.g. A1:A1) - * @return array Range coordinates array(Start Cell, End Cell) - * where Start Cell and End Cell are arrays (Column ID, Row Number) - */ - public static function getRangeBoundaries($pRange = 'A1:A1') - { - // Ensure $pRange is a valid range - if(empty($pRange)) { - $pRange = self::DEFAULT_RANGE; - } - - // Uppercase coordinate - $pRange = strtoupper($pRange); - - // Extract range - if (strpos($pRange, ':') === FALSE) { - $rangeA = $rangeB = $pRange; - } else { - list($rangeA, $rangeB) = explode(':', $pRange); - } - - return array( self::coordinateFromString($rangeA), self::coordinateFromString($rangeB)); - } - - /** - * Column index from string - * - * @param string $pString - * @return int Column index (base 1 !!!) - */ - public static function columnIndexFromString($pString = 'A') - { - // Using a lookup cache adds a slight memory overhead, but boosts speed - // caching using a static within the method is faster than a class static, - // though it's additional memory overhead - static $_indexCache = array(); - - if (isset($_indexCache[$pString])) - return $_indexCache[$pString]; - - // It's surprising how costly the strtoupper() and ord() calls actually are, so we use a lookup array rather than use ord() - // and make it case insensitive to get rid of the strtoupper() as well. Because it's a static, there's no significant - // memory overhead either - static $_columnLookup = array( - 'A' => 1, 'B' => 2, 'C' => 3, 'D' => 4, 'E' => 5, 'F' => 6, 'G' => 7, 'H' => 8, 'I' => 9, 'J' => 10, 'K' => 11, 'L' => 12, 'M' => 13, - 'N' => 14, 'O' => 15, 'P' => 16, 'Q' => 17, 'R' => 18, 'S' => 19, 'T' => 20, 'U' => 21, 'V' => 22, 'W' => 23, 'X' => 24, 'Y' => 25, 'Z' => 26, - 'a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5, 'f' => 6, 'g' => 7, 'h' => 8, 'i' => 9, 'j' => 10, 'k' => 11, 'l' => 12, 'm' => 13, - 'n' => 14, 'o' => 15, 'p' => 16, 'q' => 17, 'r' => 18, 's' => 19, 't' => 20, 'u' => 21, 'v' => 22, 'w' => 23, 'x' => 24, 'y' => 25, 'z' => 26 - ); - - // We also use the language construct isset() rather than the more costly strlen() function to match the length of $pString - // for improved performance - if (isset($pString{0})) { - if (!isset($pString{1})) { - $_indexCache[$pString] = $_columnLookup[$pString]; - return $_indexCache[$pString]; - } elseif(!isset($pString{2})) { - $_indexCache[$pString] = $_columnLookup[$pString{0}] * 26 + $_columnLookup[$pString{1}]; - return $_indexCache[$pString]; - } elseif(!isset($pString{3})) { - $_indexCache[$pString] = $_columnLookup[$pString{0}] * 676 + $_columnLookup[$pString{1}] * 26 + $_columnLookup[$pString{2}]; - return $_indexCache[$pString]; - } - } - throw new PHPExcel_Exception("Column string index can not be " . ((isset($pString{0})) ? "longer than 3 characters" : "empty")); - } - - /** - * String from columnindex - * - * @param int $pColumnIndex Column index (base 0 !!!) - * @return string - */ - public static function stringFromColumnIndex($pColumnIndex = 0) - { - // Using a lookup cache adds a slight memory overhead, but boosts speed - // caching using a static within the method is faster than a class static, - // though it's additional memory overhead - static $_indexCache = array(); - - if (!isset($_indexCache[$pColumnIndex])) { - // Determine column string - if ($pColumnIndex < 26) { - $_indexCache[$pColumnIndex] = chr(65 + $pColumnIndex); - } elseif ($pColumnIndex < 702) { - $_indexCache[$pColumnIndex] = chr(64 + ($pColumnIndex / 26)) . - chr(65 + $pColumnIndex % 26); - } else { - $_indexCache[$pColumnIndex] = chr(64 + (($pColumnIndex - 26) / 676)) . - chr(65 + ((($pColumnIndex - 26) % 676) / 26)) . - chr(65 + $pColumnIndex % 26); - } - } - return $_indexCache[$pColumnIndex]; - } - - /** - * Extract all cell references in range - * - * @param string $pRange Range (e.g. A1 or A1:C10 or A1:E10 A20:E25) - * @return array Array containing single cell references - */ - public static function extractAllCellReferencesInRange($pRange = 'A1') { - // Returnvalue - $returnValue = array(); - - // Explode spaces - $cellBlocks = explode(' ', str_replace('$', '', strtoupper($pRange))); - foreach ($cellBlocks as $cellBlock) { - // Single cell? - if (strpos($cellBlock,':') === FALSE && strpos($cellBlock,',') === FALSE) { - $returnValue[] = $cellBlock; - continue; - } - - // Range... - $ranges = self::splitRange($cellBlock); - foreach($ranges as $range) { - // Single cell? - if (!isset($range[1])) { - $returnValue[] = $range[0]; - continue; - } - - // Range... - list($rangeStart, $rangeEnd) = $range; - sscanf($rangeStart,'%[A-Z]%d', $startCol, $startRow); - sscanf($rangeEnd,'%[A-Z]%d', $endCol, $endRow); - $endCol++; - - // Current data - $currentCol = $startCol; - $currentRow = $startRow; - - // Loop cells - while ($currentCol != $endCol) { - while ($currentRow <= $endRow) { - $returnValue[] = $currentCol.$currentRow; - ++$currentRow; - } - ++$currentCol; - $currentRow = $startRow; - } - } - } - - // Sort the result by column and row - $sortKeys = array(); - foreach (array_unique($returnValue) as $coord) { - sscanf($coord,'%[A-Z]%d', $column, $row); - $sortKeys[sprintf('%3s%09d',$column,$row)] = $coord; - } - ksort($sortKeys); - - // Return value - return array_values($sortKeys); - } - - /** - * Compare 2 cells - * - * @param PHPExcel_Cell $a Cell a - * @param PHPExcel_Cell $b Cell b - * @return int Result of comparison (always -1 or 1, never zero!) - */ - public static function compareCells(PHPExcel_Cell $a, PHPExcel_Cell $b) - { - if ($a->getRow() < $b->getRow()) { - return -1; - } elseif ($a->getRow() > $b->getRow()) { - return 1; - } elseif (self::columnIndexFromString($a->getColumn()) < self::columnIndexFromString($b->getColumn())) { - return -1; - } else { - return 1; - } - } - - /** - * Get value binder to use - * - * @return PHPExcel_Cell_IValueBinder - */ - public static function getValueBinder() { - if (self::$_valueBinder === NULL) { - self::$_valueBinder = new PHPExcel_Cell_DefaultValueBinder(); - } - - return self::$_valueBinder; - } - - /** - * Set value binder to use - * - * @param PHPExcel_Cell_IValueBinder $binder - * @throws PHPExcel_Exception - */ - public static function setValueBinder(PHPExcel_Cell_IValueBinder $binder = NULL) { - if ($binder === NULL) { - throw new PHPExcel_Exception("A PHPExcel_Cell_IValueBinder is required for PHPExcel to function correctly."); - } - - self::$_valueBinder = $binder; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if ((is_object($value)) && ($key != '_parent')) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - - /** - * Get index to cellXf - * - * @return int - */ - public function getXfIndex() - { - return $this->_xfIndex; - } - - /** - * Set index to cellXf - * - * @param int $pValue - * @return PHPExcel_Cell - */ - public function setXfIndex($pValue = 0) - { - $this->_xfIndex = $pValue; - - return $this->notifyCacheController(); - } - - /** - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling - */ - public function setFormulaAttributes($pAttributes) - { - $this->_formulaAttributes = $pAttributes; - return $this; - } - - /** - * @deprecated Since version 1.7.8 for planned changes to cell for array formula handling - */ - public function getFormulaAttributes() - { - return $this->_formulaAttributes; - } - - /** - * Convert to string - * - * @return string - */ - public function __toString() - { - return (string) $this->getValue(); - } - -} - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/AdvancedValueBinder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/AdvancedValueBinder.php deleted file mode 100644 index f4280ac49..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/AdvancedValueBinder.php +++ /dev/null @@ -1,192 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Cell_AdvancedValueBinder - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Cell_AdvancedValueBinder extends PHPExcel_Cell_DefaultValueBinder implements PHPExcel_Cell_IValueBinder -{ - /** - * Bind value to a cell - * - * @param PHPExcel_Cell $cell Cell to bind value to - * @param mixed $value Value to bind in cell - * @return boolean - */ - public function bindValue(PHPExcel_Cell $cell, $value = null) - { - // sanitize UTF-8 strings - if (is_string($value)) { - $value = PHPExcel_Shared_String::SanitizeUTF8($value); - } - - // Find out data type - $dataType = parent::dataTypeForValue($value); - - // Style logic - strings - if ($dataType === PHPExcel_Cell_DataType::TYPE_STRING && !$value instanceof PHPExcel_RichText) { - // Test for booleans using locale-setting - if ($value == PHPExcel_Calculation::getTRUE()) { - $cell->setValueExplicit( TRUE, PHPExcel_Cell_DataType::TYPE_BOOL); - return true; - } elseif($value == PHPExcel_Calculation::getFALSE()) { - $cell->setValueExplicit( FALSE, PHPExcel_Cell_DataType::TYPE_BOOL); - return true; - } - - // Check for number in scientific format - if (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NUMBER.'$/', $value)) { - $cell->setValueExplicit( (float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - return true; - } - - // Check for fraction - if (preg_match('/^([+-]?)\s*([0-9]+)\s?\/\s*([0-9]+)$/', $value, $matches)) { - // Convert value to number - $value = $matches[2] / $matches[3]; - if ($matches[1] == '-') $value = 0 - $value; - $cell->setValueExplicit( (float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( '??/??' ); - return true; - } elseif (preg_match('/^([+-]?)([0-9]*) +([0-9]*)\s?\/\s*([0-9]*)$/', $value, $matches)) { - // Convert value to number - $value = $matches[2] + ($matches[3] / $matches[4]); - if ($matches[1] == '-') $value = 0 - $value; - $cell->setValueExplicit( (float) $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( '# ??/??' ); - return true; - } - - // Check for percentage - if (preg_match('/^\-?[0-9]*\.?[0-9]*\s?\%$/', $value)) { - // Convert value to number - $value = (float) str_replace('%', '', $value) / 100; - $cell->setValueExplicit( $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00 ); - return true; - } - - // Check for currency - $currencyCode = PHPExcel_Shared_String::getCurrencyCode(); - $decimalSeparator = PHPExcel_Shared_String::getDecimalSeparator(); - $thousandsSeparator = PHPExcel_Shared_String::getThousandsSeparator(); - if (preg_match('/^'.preg_quote($currencyCode).' *(\d{1,3}('.preg_quote($thousandsSeparator).'\d{3})*|(\d+))('.preg_quote($decimalSeparator).'\d{2})?$/', $value)) { - // Convert value to number - $value = (float) trim(str_replace(array($currencyCode, $thousandsSeparator, $decimalSeparator), array('', '', '.'), $value)); - $cell->setValueExplicit( $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( - str_replace('$', $currencyCode, PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE ) - ); - return true; - } elseif (preg_match('/^\$ *(\d{1,3}(\,\d{3})*|(\d+))(\.\d{2})?$/', $value)) { - // Convert value to number - $value = (float) trim(str_replace(array('$',','), '', $value)); - $cell->setValueExplicit( $value, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE ); - return true; - } - - // Check for time without seconds e.g. '9:45', '09:45' - if (preg_match('/^(\d|[0-1]\d|2[0-3]):[0-5]\d$/', $value)) { - // Convert value to number - list($h, $m) = explode(':', $value); - $days = $h / 24 + $m / 1440; - $cell->setValueExplicit($days, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME3 ); - return true; - } - - // Check for time with seconds '9:45:59', '09:45:59' - if (preg_match('/^(\d|[0-1]\d|2[0-3]):[0-5]\d:[0-5]\d$/', $value)) { - // Convert value to number - list($h, $m, $s) = explode(':', $value); - $days = $h / 24 + $m / 1440 + $s / 86400; - // Convert value to number - $cell->setValueExplicit($days, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4 ); - return true; - } - - // Check for datetime, e.g. '2008-12-31', '2008-12-31 15:59', '2008-12-31 15:59:10' - if (($d = PHPExcel_Shared_Date::stringToExcel($value)) !== false) { - // Convert value to number - $cell->setValueExplicit($d, PHPExcel_Cell_DataType::TYPE_NUMERIC); - // Determine style. Either there is a time part or not. Look for ':' - if (strpos($value, ':') !== false) { - $formatCode = 'yyyy-mm-dd h:mm'; - } else { - $formatCode = 'yyyy-mm-dd'; - } - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getNumberFormat()->setFormatCode($formatCode); - return true; - } - - // Check for newline character "\n" - if (strpos($value, "\n") !== FALSE) { - $value = PHPExcel_Shared_String::SanitizeUTF8($value); - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_STRING); - // Set style - $cell->getWorksheet()->getStyle( $cell->getCoordinate() ) - ->getAlignment()->setWrapText(TRUE); - return true; - } - } - - // Not bound yet? Use parent... - return parent::bindValue($cell, $value); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DataType.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DataType.php deleted file mode 100644 index 07e148a50..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DataType.php +++ /dev/null @@ -1,122 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Cell_DataType - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Cell_DataType -{ - /* Data types */ - const TYPE_STRING2 = 'str'; - const TYPE_STRING = 's'; - const TYPE_FORMULA = 'f'; - const TYPE_NUMERIC = 'n'; - const TYPE_BOOL = 'b'; - const TYPE_NULL = 'null'; - const TYPE_INLINE = 'inlineStr'; - const TYPE_ERROR = 'e'; - - /** - * List of error codes - * - * @var array - */ - private static $_errorCodes = array( - '#NULL!' => 0, - '#DIV/0!' => 1, - '#VALUE!' => 2, - '#REF!' => 3, - '#NAME?' => 4, - '#NUM!' => 5, - '#N/A' => 6 - ); - - /** - * Get list of error codes - * - * @return array - */ - public static function getErrorCodes() { - return self::$_errorCodes; - } - - /** - * DataType for value - * - * @deprecated Replaced by PHPExcel_Cell_IValueBinder infrastructure, will be removed in version 1.8.0 - * @param mixed $pValue - * @return string - */ - public static function dataTypeForValue($pValue = null) { - return PHPExcel_Cell_DefaultValueBinder::dataTypeForValue($pValue); - } - - /** - * Check a string that it satisfies Excel requirements - * - * @param mixed Value to sanitize to an Excel string - * @return mixed Sanitized value - */ - public static function checkString($pValue = null) - { - if ($pValue instanceof PHPExcel_RichText) { - // TODO: Sanitize Rich-Text string (max. character count is 32,767) - return $pValue; - } - - // string must never be longer than 32,767 characters, truncate if necessary - $pValue = PHPExcel_Shared_String::Substring($pValue, 0, 32767); - - // we require that newline is represented as "\n" in core, not as "\r\n" or "\r" - $pValue = str_replace(array("\r\n", "\r"), "\n", $pValue); - - return $pValue; - } - - /** - * Check a value that it is a valid error code - * - * @param mixed Value to sanitize to an Excel error code - * @return string Sanitized value - */ - public static function checkErrorCode($pValue = null) - { - $pValue = (string) $pValue; - - if ( !array_key_exists($pValue, self::$_errorCodes) ) { - $pValue = '#NULL!'; - } - - return $pValue; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DataValidation.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DataValidation.php deleted file mode 100644 index 538ecd1fb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DataValidation.php +++ /dev/null @@ -1,472 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Cell_DataValidation - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Cell_DataValidation -{ - /* Data validation types */ - const TYPE_NONE = 'none'; - const TYPE_CUSTOM = 'custom'; - const TYPE_DATE = 'date'; - const TYPE_DECIMAL = 'decimal'; - const TYPE_LIST = 'list'; - const TYPE_TEXTLENGTH = 'textLength'; - const TYPE_TIME = 'time'; - const TYPE_WHOLE = 'whole'; - - /* Data validation error styles */ - const STYLE_STOP = 'stop'; - const STYLE_WARNING = 'warning'; - const STYLE_INFORMATION = 'information'; - - /* Data validation operators */ - const OPERATOR_BETWEEN = 'between'; - const OPERATOR_EQUAL = 'equal'; - const OPERATOR_GREATERTHAN = 'greaterThan'; - const OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual'; - const OPERATOR_LESSTHAN = 'lessThan'; - const OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual'; - const OPERATOR_NOTBETWEEN = 'notBetween'; - const OPERATOR_NOTEQUAL = 'notEqual'; - - /** - * Formula 1 - * - * @var string - */ - private $_formula1; - - /** - * Formula 2 - * - * @var string - */ - private $_formula2; - - /** - * Type - * - * @var string - */ - private $_type = PHPExcel_Cell_DataValidation::TYPE_NONE; - - /** - * Error style - * - * @var string - */ - private $_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP; - - /** - * Operator - * - * @var string - */ - private $_operator; - - /** - * Allow Blank - * - * @var boolean - */ - private $_allowBlank; - - /** - * Show DropDown - * - * @var boolean - */ - private $_showDropDown; - - /** - * Show InputMessage - * - * @var boolean - */ - private $_showInputMessage; - - /** - * Show ErrorMessage - * - * @var boolean - */ - private $_showErrorMessage; - - /** - * Error title - * - * @var string - */ - private $_errorTitle; - - /** - * Error - * - * @var string - */ - private $_error; - - /** - * Prompt title - * - * @var string - */ - private $_promptTitle; - - /** - * Prompt - * - * @var string - */ - private $_prompt; - - /** - * Create a new PHPExcel_Cell_DataValidation - */ - public function __construct() - { - // Initialise member variables - $this->_formula1 = ''; - $this->_formula2 = ''; - $this->_type = PHPExcel_Cell_DataValidation::TYPE_NONE; - $this->_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP; - $this->_operator = ''; - $this->_allowBlank = FALSE; - $this->_showDropDown = FALSE; - $this->_showInputMessage = FALSE; - $this->_showErrorMessage = FALSE; - $this->_errorTitle = ''; - $this->_error = ''; - $this->_promptTitle = ''; - $this->_prompt = ''; - } - - /** - * Get Formula 1 - * - * @return string - */ - public function getFormula1() { - return $this->_formula1; - } - - /** - * Set Formula 1 - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setFormula1($value = '') { - $this->_formula1 = $value; - return $this; - } - - /** - * Get Formula 2 - * - * @return string - */ - public function getFormula2() { - return $this->_formula2; - } - - /** - * Set Formula 2 - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setFormula2($value = '') { - $this->_formula2 = $value; - return $this; - } - - /** - * Get Type - * - * @return string - */ - public function getType() { - return $this->_type; - } - - /** - * Set Type - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setType($value = PHPExcel_Cell_DataValidation::TYPE_NONE) { - $this->_type = $value; - return $this; - } - - /** - * Get Error style - * - * @return string - */ - public function getErrorStyle() { - return $this->_errorStyle; - } - - /** - * Set Error style - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setErrorStyle($value = PHPExcel_Cell_DataValidation::STYLE_STOP) { - $this->_errorStyle = $value; - return $this; - } - - /** - * Get Operator - * - * @return string - */ - public function getOperator() { - return $this->_operator; - } - - /** - * Set Operator - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setOperator($value = '') { - $this->_operator = $value; - return $this; - } - - /** - * Get Allow Blank - * - * @return boolean - */ - public function getAllowBlank() { - return $this->_allowBlank; - } - - /** - * Set Allow Blank - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setAllowBlank($value = false) { - $this->_allowBlank = $value; - return $this; - } - - /** - * Get Show DropDown - * - * @return boolean - */ - public function getShowDropDown() { - return $this->_showDropDown; - } - - /** - * Set Show DropDown - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setShowDropDown($value = false) { - $this->_showDropDown = $value; - return $this; - } - - /** - * Get Show InputMessage - * - * @return boolean - */ - public function getShowInputMessage() { - return $this->_showInputMessage; - } - - /** - * Set Show InputMessage - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setShowInputMessage($value = false) { - $this->_showInputMessage = $value; - return $this; - } - - /** - * Get Show ErrorMessage - * - * @return boolean - */ - public function getShowErrorMessage() { - return $this->_showErrorMessage; - } - - /** - * Set Show ErrorMessage - * - * @param boolean $value - * @return PHPExcel_Cell_DataValidation - */ - public function setShowErrorMessage($value = false) { - $this->_showErrorMessage = $value; - return $this; - } - - /** - * Get Error title - * - * @return string - */ - public function getErrorTitle() { - return $this->_errorTitle; - } - - /** - * Set Error title - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setErrorTitle($value = '') { - $this->_errorTitle = $value; - return $this; - } - - /** - * Get Error - * - * @return string - */ - public function getError() { - return $this->_error; - } - - /** - * Set Error - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setError($value = '') { - $this->_error = $value; - return $this; - } - - /** - * Get Prompt title - * - * @return string - */ - public function getPromptTitle() { - return $this->_promptTitle; - } - - /** - * Set Prompt title - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setPromptTitle($value = '') { - $this->_promptTitle = $value; - return $this; - } - - /** - * Get Prompt - * - * @return string - */ - public function getPrompt() { - return $this->_prompt; - } - - /** - * Set Prompt - * - * @param string $value - * @return PHPExcel_Cell_DataValidation - */ - public function setPrompt($value = '') { - $this->_prompt = $value; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_formula1 - . $this->_formula2 - . $this->_type = PHPExcel_Cell_DataValidation::TYPE_NONE - . $this->_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP - . $this->_operator - . ($this->_allowBlank ? 't' : 'f') - . ($this->_showDropDown ? 't' : 'f') - . ($this->_showInputMessage ? 't' : 'f') - . ($this->_showErrorMessage ? 't' : 'f') - . $this->_errorTitle - . $this->_error - . $this->_promptTitle - . $this->_prompt - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DefaultValueBinder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DefaultValueBinder.php deleted file mode 100644 index 59a9c7137..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/DefaultValueBinder.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/** - * PHPExcel_Cell_DefaultValueBinder - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Cell_DefaultValueBinder implements PHPExcel_Cell_IValueBinder -{ - /** - * Bind value to a cell - * - * @param PHPExcel_Cell $cell Cell to bind value to - * @param mixed $value Value to bind in cell - * @return boolean - */ - public function bindValue(PHPExcel_Cell $cell, $value = null) - { - // sanitize UTF-8 strings - if (is_string($value)) { - $value = PHPExcel_Shared_String::SanitizeUTF8($value); - } - - // Set value explicit - $cell->setValueExplicit( $value, self::dataTypeForValue($value) ); - - // Done! - return TRUE; - } - - /** - * DataType for value - * - * @param mixed $pValue - * @return string - */ - public static function dataTypeForValue($pValue = null) { - // Match the value against a few data types - if (is_null($pValue)) { - return PHPExcel_Cell_DataType::TYPE_NULL; - } elseif ($pValue === '') { - return PHPExcel_Cell_DataType::TYPE_STRING; - } elseif ($pValue instanceof PHPExcel_RichText) { - return PHPExcel_Cell_DataType::TYPE_INLINE; - } elseif ($pValue{0} === '=' && strlen($pValue) > 1) { - return PHPExcel_Cell_DataType::TYPE_FORMULA; - } elseif (is_bool($pValue)) { - return PHPExcel_Cell_DataType::TYPE_BOOL; - } elseif (is_float($pValue) || is_int($pValue)) { - return PHPExcel_Cell_DataType::TYPE_NUMERIC; - } elseif (preg_match('/^\-?([0-9]+\\.?[0-9]*|[0-9]*\\.?[0-9]+)$/', $pValue)) { - if (is_string($pValue) && $pValue{0} === '0' && strlen($pValue) > 1 && $pValue{1} !== '.' ) { - return PHPExcel_Cell_DataType::TYPE_STRING; - } - return PHPExcel_Cell_DataType::TYPE_NUMERIC; - } elseif (is_string($pValue) && array_key_exists($pValue, PHPExcel_Cell_DataType::getErrorCodes())) { - return PHPExcel_Cell_DataType::TYPE_ERROR; - } - - return PHPExcel_Cell_DataType::TYPE_STRING; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/Hyperlink.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/Hyperlink.php deleted file mode 100644 index 178ba7ee2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/Hyperlink.php +++ /dev/null @@ -1,126 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Cell_Hyperlink - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Cell_Hyperlink -{ - /** - * URL to link the cell to - * - * @var string - */ - private $_url; - - /** - * Tooltip to display on the hyperlink - * - * @var string - */ - private $_tooltip; - - /** - * Create a new PHPExcel_Cell_Hyperlink - * - * @param string $pUrl Url to link the cell to - * @param string $pTooltip Tooltip to display on the hyperlink - */ - public function __construct($pUrl = '', $pTooltip = '') - { - // Initialise member variables - $this->_url = $pUrl; - $this->_tooltip = $pTooltip; - } - - /** - * Get URL - * - * @return string - */ - public function getUrl() { - return $this->_url; - } - - /** - * Set URL - * - * @param string $value - * @return PHPExcel_Cell_Hyperlink - */ - public function setUrl($value = '') { - $this->_url = $value; - return $this; - } - - /** - * Get tooltip - * - * @return string - */ - public function getTooltip() { - return $this->_tooltip; - } - - /** - * Set tooltip - * - * @param string $value - * @return PHPExcel_Cell_Hyperlink - */ - public function setTooltip($value = '') { - $this->_tooltip = $value; - return $this; - } - - /** - * Is this hyperlink internal? (to another worksheet) - * - * @return boolean - */ - public function isInternal() { - return strpos($this->_url, 'sheet://') !== false; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_url - . $this->_tooltip - . __CLASS__ - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/IValueBinder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/IValueBinder.php deleted file mode 100644 index 551815523..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/IValueBinder.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Cell_IValueBinder - * - * @category PHPExcel - * @package PHPExcel_Cell - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_Cell_IValueBinder -{ - /** - * Bind value to a cell - * - * @param PHPExcel_Cell $cell Cell to bind value to - * @param mixed $value Value to bind in cell - * @return boolean - */ - public function bindValue(PHPExcel_Cell $cell, $value = NULL); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Cell/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart.php deleted file mode 100644 index b9146b34b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart.php +++ /dev/null @@ -1,635 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart -{ - /** - * Chart Name - * - * @var string - */ - private $_name = ''; - - /** - * Worksheet - * - * @var PHPExcel_Worksheet - */ - private $_worksheet = null; - - /** - * Chart Title - * - * @var PHPExcel_Chart_Title - */ - private $_title = null; - - /** - * Chart Legend - * - * @var PHPExcel_Chart_Legend - */ - private $_legend = null; - - /** - * X-Axis Label - * - * @var PHPExcel_Chart_Title - */ - private $_xAxisLabel = null; - - /** - * Y-Axis Label - * - * @var PHPExcel_Chart_Title - */ - private $_yAxisLabel = null; - - /** - * Chart Plot Area - * - * @var PHPExcel_Chart_PlotArea - */ - private $_plotArea = null; - - /** - * Plot Visible Only - * - * @var boolean - */ - private $_plotVisibleOnly = true; - - /** - * Display Blanks as - * - * @var string - */ - private $_displayBlanksAs = '0'; - - /** - * Chart Asix Y as - * - * @var PHPExcel_Chart_Axis - */ - private $_yAxis = null; - - /** - * Chart Asix X as - * - * @var PHPExcel_Chart_Axis - */ - private $_xAxis = null; - - /** - * Chart Major Gridlines as - * - * @var PHPExcel_Chart_Gridlines - */ - private $_majorGridlines = null; - - /** - * Chart Minor Gridlines as - * - * @var PHPExcel_Chart_Gridlines - */ - private $_minorGridlines = null; - - /** - * Top-Left Cell Position - * - * @var string - */ - private $_topLeftCellRef = 'A1'; - - - /** - * Top-Left X-Offset - * - * @var integer - */ - private $_topLeftXOffset = 0; - - - /** - * Top-Left Y-Offset - * - * @var integer - */ - private $_topLeftYOffset = 0; - - - /** - * Bottom-Right Cell Position - * - * @var string - */ - private $_bottomRightCellRef = 'A1'; - - - /** - * Bottom-Right X-Offset - * - * @var integer - */ - private $_bottomRightXOffset = 10; - - - /** - * Bottom-Right Y-Offset - * - * @var integer - */ - private $_bottomRightYOffset = 10; - - - /** - * Create a new PHPExcel_Chart - */ - public function __construct($name, PHPExcel_Chart_Title $title = null, PHPExcel_Chart_Legend $legend = null, PHPExcel_Chart_PlotArea $plotArea = null, $plotVisibleOnly = true, $displayBlanksAs = '0', PHPExcel_Chart_Title $xAxisLabel = null, PHPExcel_Chart_Title $yAxisLabel = null, PHPExcel_Chart_Axis $xAxis = null, PHPExcel_Chart_Axis $yAxis = null, PHPExcel_Chart_Gridlines $majorGridlines = null, PHPExcel_Chart_Gridlines $minorGridlines = null) - { - $this->_name = $name; - $this->_title = $title; - $this->_legend = $legend; - $this->_xAxisLabel = $xAxisLabel; - $this->_yAxisLabel = $yAxisLabel; - $this->_plotArea = $plotArea; - $this->_plotVisibleOnly = $plotVisibleOnly; - $this->_displayBlanksAs = $displayBlanksAs; - $this->_xAxis = $xAxis; - $this->_yAxis = $yAxis; - $this->_majorGridlines = $majorGridlines; - $this->_minorGridlines = $minorGridlines; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Get Worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_worksheet; - } - - /** - * Set Worksheet - * - * @param PHPExcel_Worksheet $pValue - * @throws PHPExcel_Chart_Exception - * @return PHPExcel_Chart - */ - public function setWorksheet(PHPExcel_Worksheet $pValue = null) { - $this->_worksheet = $pValue; - - return $this; - } - - /** - * Get Title - * - * @return PHPExcel_Chart_Title - */ - public function getTitle() { - return $this->_title; - } - - /** - * Set Title - * - * @param PHPExcel_Chart_Title $title - * @return PHPExcel_Chart - */ - public function setTitle(PHPExcel_Chart_Title $title) { - $this->_title = $title; - - return $this; - } - - /** - * Get Legend - * - * @return PHPExcel_Chart_Legend - */ - public function getLegend() { - return $this->_legend; - } - - /** - * Set Legend - * - * @param PHPExcel_Chart_Legend $legend - * @return PHPExcel_Chart - */ - public function setLegend(PHPExcel_Chart_Legend $legend) { - $this->_legend = $legend; - - return $this; - } - - /** - * Get X-Axis Label - * - * @return PHPExcel_Chart_Title - */ - public function getXAxisLabel() { - return $this->_xAxisLabel; - } - - /** - * Set X-Axis Label - * - * @param PHPExcel_Chart_Title $label - * @return PHPExcel_Chart - */ - public function setXAxisLabel(PHPExcel_Chart_Title $label) { - $this->_xAxisLabel = $label; - - return $this; - } - - /** - * Get Y-Axis Label - * - * @return PHPExcel_Chart_Title - */ - public function getYAxisLabel() { - return $this->_yAxisLabel; - } - - /** - * Set Y-Axis Label - * - * @param PHPExcel_Chart_Title $label - * @return PHPExcel_Chart - */ - public function setYAxisLabel(PHPExcel_Chart_Title $label) { - $this->_yAxisLabel = $label; - - return $this; - } - - /** - * Get Plot Area - * - * @return PHPExcel_Chart_PlotArea - */ - public function getPlotArea() { - return $this->_plotArea; - } - - /** - * Get Plot Visible Only - * - * @return boolean - */ - public function getPlotVisibleOnly() { - return $this->_plotVisibleOnly; - } - - /** - * Set Plot Visible Only - * - * @param boolean $plotVisibleOnly - * @return PHPExcel_Chart - */ - public function setPlotVisibleOnly($plotVisibleOnly = true) { - $this->_plotVisibleOnly = $plotVisibleOnly; - - return $this; - } - - /** - * Get Display Blanks as - * - * @return string - */ - public function getDisplayBlanksAs() { - return $this->_displayBlanksAs; - } - - /** - * Set Display Blanks as - * - * @param string $displayBlanksAs - * @return PHPExcel_Chart - */ - public function setDisplayBlanksAs($displayBlanksAs = '0') { - $this->_displayBlanksAs = $displayBlanksAs; - } - - - /** - * Get yAxis - * - * @return PHPExcel_Chart_Axis - */ - public function getChartAxisY() { - if($this->_yAxis !== NULL){ - return $this->_yAxis; - } - - return new PHPExcel_Chart_Axis(); - } - - /** - * Get xAxis - * - * @return PHPExcel_Chart_Axis - */ - public function getChartAxisX() { - if($this->_xAxis !== NULL){ - return $this->_xAxis; - } - - return new PHPExcel_Chart_Axis(); - } - - /** - * Get Major Gridlines - * - * @return PHPExcel_Chart_Gridlines - */ - public function getMajorGridlines() { - if($this->_majorGridlines !== NULL){ - return $this->_majorGridlines; - } - - return new PHPExcel_Chart_Gridlines(); - } - - /** - * Get Minor Gridlines - * - * @return PHPExcel_Chart_Gridlines - */ - public function getMinorGridlines() { - if($this->_minorGridlines !== NULL){ - return $this->_minorGridlines; - } - - return new PHPExcel_Chart_Gridlines(); - } - - - /** - * Set the Top Left position for the chart - * - * @param string $cell - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setTopLeftPosition($cell, $xOffset=null, $yOffset=null) { - $this->_topLeftCellRef = $cell; - if (!is_null($xOffset)) - $this->setTopLeftXOffset($xOffset); - if (!is_null($yOffset)) - $this->setTopLeftYOffset($yOffset); - - return $this; - } - - /** - * Get the top left position of the chart - * - * @return array an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell - */ - public function getTopLeftPosition() { - return array( 'cell' => $this->_topLeftCellRef, - 'xOffset' => $this->_topLeftXOffset, - 'yOffset' => $this->_topLeftYOffset - ); - } - - /** - * Get the cell address where the top left of the chart is fixed - * - * @return string - */ - public function getTopLeftCell() { - return $this->_topLeftCellRef; - } - - /** - * Set the Top Left cell position for the chart - * - * @param string $cell - * @return PHPExcel_Chart - */ - public function setTopLeftCell($cell) { - $this->_topLeftCellRef = $cell; - - return $this; - } - - /** - * Set the offset position within the Top Left cell for the chart - * - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setTopLeftOffset($xOffset=null,$yOffset=null) { - if (!is_null($xOffset)) - $this->setTopLeftXOffset($xOffset); - if (!is_null($yOffset)) - $this->setTopLeftYOffset($yOffset); - - return $this; - } - - /** - * Get the offset position within the Top Left cell for the chart - * - * @return integer[] - */ - public function getTopLeftOffset() { - return array( 'X' => $this->_topLeftXOffset, - 'Y' => $this->_topLeftYOffset - ); - } - - public function setTopLeftXOffset($xOffset) { - $this->_topLeftXOffset = $xOffset; - - return $this; - } - - public function getTopLeftXOffset() { - return $this->_topLeftXOffset; - } - - public function setTopLeftYOffset($yOffset) { - $this->_topLeftYOffset = $yOffset; - - return $this; - } - - public function getTopLeftYOffset() { - return $this->_topLeftYOffset; - } - - /** - * Set the Bottom Right position of the chart - * - * @param string $cell - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setBottomRightPosition($cell, $xOffset=null, $yOffset=null) { - $this->_bottomRightCellRef = $cell; - if (!is_null($xOffset)) - $this->setBottomRightXOffset($xOffset); - if (!is_null($yOffset)) - $this->setBottomRightYOffset($yOffset); - - return $this; - } - - /** - * Get the bottom right position of the chart - * - * @return array an associative array containing the cell address, X-Offset and Y-Offset from the top left of that cell - */ - public function getBottomRightPosition() { - return array( 'cell' => $this->_bottomRightCellRef, - 'xOffset' => $this->_bottomRightXOffset, - 'yOffset' => $this->_bottomRightYOffset - ); - } - - public function setBottomRightCell($cell) { - $this->_bottomRightCellRef = $cell; - - return $this; - } - - /** - * Get the cell address where the bottom right of the chart is fixed - * - * @return string - */ - public function getBottomRightCell() { - return $this->_bottomRightCellRef; - } - - /** - * Set the offset position within the Bottom Right cell for the chart - * - * @param integer $xOffset - * @param integer $yOffset - * @return PHPExcel_Chart - */ - public function setBottomRightOffset($xOffset=null,$yOffset=null) { - if (!is_null($xOffset)) - $this->setBottomRightXOffset($xOffset); - if (!is_null($yOffset)) - $this->setBottomRightYOffset($yOffset); - - return $this; - } - - /** - * Get the offset position within the Bottom Right cell for the chart - * - * @return integer[] - */ - public function getBottomRightOffset() { - return array( 'X' => $this->_bottomRightXOffset, - 'Y' => $this->_bottomRightYOffset - ); - } - - public function setBottomRightXOffset($xOffset) { - $this->_bottomRightXOffset = $xOffset; - - return $this; - } - - public function getBottomRightXOffset() { - return $this->_bottomRightXOffset; - } - - public function setBottomRightYOffset($yOffset) { - $this->_bottomRightYOffset = $yOffset; - - return $this; - } - - public function getBottomRightYOffset() { - return $this->_bottomRightYOffset; - } - - - public function refresh() { - if ($this->_worksheet !== NULL) { - $this->_plotArea->refresh($this->_worksheet); - } - } - - public function render($outputDestination = null) { - $libraryName = PHPExcel_Settings::getChartRendererName(); - if (is_null($libraryName)) { - return false; - } - // Ensure that data series values are up-to-date before we render - $this->refresh(); - - $libraryPath = PHPExcel_Settings::getChartRendererPath(); - $includePath = str_replace('\\','/',get_include_path()); - $rendererPath = str_replace('\\','/',$libraryPath); - if (strpos($rendererPath,$includePath) === false) { - set_include_path(get_include_path() . PATH_SEPARATOR . $libraryPath); - } - - $rendererName = 'PHPExcel_Chart_Renderer_'.$libraryName; - $renderer = new $rendererName($this); - - if ($outputDestination == 'php://output') { - $outputDestination = null; - } - return $renderer->render($outputDestination); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Axis.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Axis.php deleted file mode 100644 index efb39e9f4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Axis.php +++ /dev/null @@ -1,584 +0,0 @@ -<?php -require_once 'Properties.php'; - -/** - * Created by PhpStorm. - * User: Wiktor Trzonkowski - * Date: 6/17/14 - * Time: 12:11 PM - */ - -class PHPExcel_Chart_Axis extends - PHPExcel_Properties { - - /** - * Axis Number - * - * @var array of mixed - */ - - private - $_axis_number = array( - 'format' => self::FORMAT_CODE_GENERAL, - 'source_linked' => 1 - ); - - /** - * Axis Options - * - * @var array of mixed - */ - - private $_axis_options = array( - 'minimum' => NULL, - 'maximum' => NULL, - 'major_unit' => NULL, - 'minor_unit' => NULL, - 'orientation' => self::ORIENTATION_NORMAL, - 'minor_tick_mark' => self::TICK_MARK_NONE, - 'major_tick_mark' => self::TICK_MARK_NONE, - 'axis_labels' => self::AXIS_LABELS_NEXT_TO, - 'horizontal_crosses' => self::HORIZONTAL_CROSSES_AUTOZERO, - 'horizontal_crosses_value' => NULL - ); - - /** - * Fill Properties - * - * @var array of mixed - */ - - private $_fill_properties = array( - 'type' => self::EXCEL_COLOR_TYPE_ARGB, - 'value' => NULL, - 'alpha' => 0 - ); - - /** - * Line Properties - * - * @var array of mixed - */ - - private $_line_properties = array( - 'type' => self::EXCEL_COLOR_TYPE_ARGB, - 'value' => NULL, - 'alpha' => 0 - ); - - /** - * Line Style Properties - * - * @var array of mixed - */ - - private $_line_style_properties = array( - 'width' => '9525', - 'compound' => self::LINE_STYLE_COMPOUND_SIMPLE, - 'dash' => self::LINE_STYLE_DASH_SOLID, - 'cap' => self::LINE_STYLE_CAP_FLAT, - 'join' => self::LINE_STYLE_JOIN_BEVEL, - 'arrow' => array( - 'head' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_5 - ), - 'end' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_8 - ), - ) - ); - - /** - * Shadow Properties - * - * @var array of mixed - */ - - private $_shadow_properties = array( - 'presets' => self::SHADOW_PRESETS_NOSHADOW, - 'effect' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 40, - ), - 'size' => array( - 'sx' => NULL, - 'sy' => NULL, - 'kx' => NULL - ), - 'blur' => NULL, - 'direction' => NULL, - 'distance' => NULL, - 'algn' => NULL, - 'rotWithShape' => NULL - ); - - /** - * Glow Properties - * - * @var array of mixed - */ - - private $_glow_properties = array( - 'size' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 40 - ) - ); - - /** - * Soft Edge Properties - * - * @var array of mixed - */ - - private $_soft_edges = array( - 'size' => NULL - ); - - /** - * Get Series Data Type - * - * @return string - */ - - public function setAxisNumberProperties($format_code) { - $this->_axis_number['format'] = (string) $format_code; - $this->_axis_number['source_linked'] = 0; - } - - /** - * Get Axis Number Format Data Type - * - * @return string - */ - - public function getAxisNumberFormat() { - return $this->_axis_number['format']; - } - - /** - * Get Axis Number Source Linked - * - * @return string - */ - - public function getAxisNumberSourceLinked() { - return (string) $this->_axis_number['source_linked']; - } - - /** - * Set Axis Options Properties - * - * @param string $axis_labels - * @param string $horizontal_crosses_value - * @param string $horizontal_crosses - * @param string $axis_orientation - * @param string $major_tmt - * @param string $minor_tmt - * @param string $minimum - * @param string $maximum - * @param string $major_unit - * @param string $minor_unit - * - */ - - public function setAxisOptionsProperties($axis_labels, $horizontal_crosses_value = NULL, $horizontal_crosses = NULL, - $axis_orientation = NULL, $major_tmt = NULL, $minor_tmt = NULL, $minimum = NULL, $maximum = NULL, $major_unit = NULL, - $minor_unit = NULL) { - - $this->_axis_options['axis_labels'] = (string) $axis_labels; - ($horizontal_crosses_value !== NULL) - ? $this->_axis_options['horizontal_crosses_value'] = (string) $horizontal_crosses_value : NULL; - ($horizontal_crosses !== NULL) ? $this->_axis_options['horizontal_crosses'] = (string) $horizontal_crosses : NULL; - ($axis_orientation !== NULL) ? $this->_axis_options['orientation'] = (string) $axis_orientation : NULL; - ($major_tmt !== NULL) ? $this->_axis_options['major_tick_mark'] = (string) $major_tmt : NULL; - ($minor_tmt !== NULL) ? $this->_axis_options['minor_tick_mark'] = (string) $minor_tmt : NULL; - ($minor_tmt !== NULL) ? $this->_axis_options['minor_tick_mark'] = (string) $minor_tmt : NULL; - ($minimum !== NULL) ? $this->_axis_options['minimum'] = (string) $minimum : NULL; - ($maximum !== NULL) ? $this->_axis_options['maximum'] = (string) $maximum : NULL; - ($major_unit !== NULL) ? $this->_axis_options['major_unit'] = (string) $major_unit : NULL; - ($minor_unit !== NULL) ? $this->_axis_options['minor_unit'] = (string) $minor_unit : NULL; - } - - /** - * Get Axis Options Property - * - * @param string $property - * - * @return string - */ - - public function getAxisOptionsProperty($property) { - return $this->_axis_options[$property]; - } - - /** - * Set Axis Orientation Property - * - * @param string $orientation - * - */ - - public function setAxisOrientation($orientation) { - $this->orientation = (string) $orientation; - } - - /** - * Set Fill Property - * - * @param string $color - * @param int $alpha - * @param string $type - * - */ - - public function setFillParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB) { - $this->_fill_properties = $this->setColorProperties($color, $alpha, $type); - } - - /** - * Set Line Property - * - * @param string $color - * @param int $alpha - * @param string $type - * - */ - - public function setLineParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB) { - $this->_line_properties = $this->setColorProperties($color, $alpha, $type); - } - - /** - * Get Fill Property - * - * @param string $property - * - * @return string - */ - - public function getFillProperty($property) { - return $this->_fill_properties[$property]; - } - - /** - * Get Line Property - * - * @param string $property - * - * @return string - */ - - public function getLineProperty($property) { - return $this->_line_properties[$property]; - } - - /** - * Set Line Style Properties - * - * @param float $line_width - * @param string $compound_type - * @param string $dash_type - * @param string $cap_type - * @param string $join_type - * @param string $head_arrow_type - * @param string $head_arrow_size - * @param string $end_arrow_type - * @param string $end_arrow_size - * - */ - - public function setLineStyleProperties($line_width = NULL, $compound_type = NULL, - $dash_type = NULL, $cap_type = NULL, $join_type = NULL, $head_arrow_type = NULL, - $head_arrow_size = NULL, $end_arrow_type = NULL, $end_arrow_size = NULL) { - - (!is_null($line_width)) ? $this->_line_style_properties['width'] = $this->getExcelPointsWidth((float) $line_width) - : NULL; - (!is_null($compound_type)) ? $this->_line_style_properties['compound'] = (string) $compound_type : NULL; - (!is_null($dash_type)) ? $this->_line_style_properties['dash'] = (string) $dash_type : NULL; - (!is_null($cap_type)) ? $this->_line_style_properties['cap'] = (string) $cap_type : NULL; - (!is_null($join_type)) ? $this->_line_style_properties['join'] = (string) $join_type : NULL; - (!is_null($head_arrow_type)) ? $this->_line_style_properties['arrow']['head']['type'] = (string) $head_arrow_type - : NULL; - (!is_null($head_arrow_size)) ? $this->_line_style_properties['arrow']['head']['size'] = (string) $head_arrow_size - : NULL; - (!is_null($end_arrow_type)) ? $this->_line_style_properties['arrow']['end']['type'] = (string) $end_arrow_type - : NULL; - (!is_null($end_arrow_size)) ? $this->_line_style_properties['arrow']['end']['size'] = (string) $end_arrow_size - : NULL; - } - - /** - * Get Line Style Property - * - * @param array|string $elements - * - * @return string - */ - - public function getLineStyleProperty($elements) { - return $this->getArrayElementsValue($this->_line_style_properties, $elements); - } - - /** - * Get Line Style Arrow Excel Width - * - * @param string $arrow - * - * @return string - */ - - public function getLineStyleArrowWidth($arrow) { - return $this->getLineStyleArrowSize($this->_line_style_properties['arrow'][$arrow]['size'], 'w'); - } - - /** - * Get Line Style Arrow Excel Length - * - * @param string $arrow - * - * @return string - */ - - public function getLineStyleArrowLength($arrow) { - return $this->getLineStyleArrowSize($this->_line_style_properties['arrow'][$arrow]['size'], 'len'); - } - - /** - * Set Shadow Properties - * - * @param int $shadow_presets - * @param string $sh_color_value - * @param string $sh_color_type - * @param string $sh_color_alpha - * @param float $sh_blur - * @param int $sh_angle - * @param float $sh_distance - * - */ - - public function setShadowProperties($sh_presets, $sh_color_value = NULL, $sh_color_type = NULL, $sh_color_alpha = NULL, $sh_blur = NULL, $sh_angle = NULL, $sh_distance = NULL) { - $this - ->_setShadowPresetsProperties((int) $sh_presets) - ->_setShadowColor( - is_null($sh_color_value) ? $this->_shadow_properties['color']['value'] : $sh_color_value - , is_null($sh_color_alpha) ? (int) $this->_shadow_properties['color']['alpha'] : $sh_color_alpha - , is_null($sh_color_type) ? $this->_shadow_properties['color']['type'] : $sh_color_type) - ->_setShadowBlur($sh_blur) - ->_setShadowAngle($sh_angle) - ->_setShadowDistance($sh_distance); - } - - /** - * Set Shadow Color - * - * @param int $shadow_presets - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowPresetsProperties($shadow_presets) { - $this->_shadow_properties['presets'] = $shadow_presets; - $this->_setShadowProperiesMapValues($this->getShadowPresetsMap($shadow_presets)); - - return $this; - } - - /** - * Set Shadow Properties from Maped Values - * - * @param array $properties_map - * @param * $reference - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowProperiesMapValues(array $properties_map, &$reference = NULL) { - $base_reference = $reference; - foreach ($properties_map as $property_key => $property_val) { - if (is_array($property_val)) { - if ($reference === NULL) { - $reference = & $this->_shadow_properties[$property_key]; - } else { - $reference = & $reference[$property_key]; - } - $this->_setShadowProperiesMapValues($property_val, $reference); - } else { - if ($base_reference === NULL) { - $this->_shadow_properties[$property_key] = $property_val; - } else { - $reference[$property_key] = $property_val; - } - } - } - - return $this; - } - - /** - * Set Shadow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowColor($color, $alpha, $type) { - $this->_shadow_properties['color'] = $this->setColorProperties($color, $alpha, $type); - - return $this; - } - - /** - * Set Shadow Blur - * - * @param float $blur - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowBlur($blur) { - if ($blur !== NULL) { - $this->_shadow_properties['blur'] = (string) $this->getExcelPointsWidth($blur); - } - - return $this; - } - - /** - * Set Shadow Angle - * - * @param int $angle - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowAngle($angle) { - if ($angle !== NULL) { - $this->_shadow_properties['direction'] = (string) $this->getExcelPointsAngle($angle); - } - - return $this; - } - - /** - * Set Shadow Distance - * - * @param float $distance - * - * @return PHPExcel_Chart_Axis - */ - - private function _setShadowDistance($distance) { - if ($distance !== NULL) { - $this->_shadow_properties['distance'] = (string) $this->getExcelPointsWidth($distance); - } - - return $this; - } - - /** - * Get Glow Property - * - * @param float $size - * @param string $color_value - * @param int $color_alpha - * @param string $color_type - */ - - public function getShadowProperty($elements) { - return $this->getArrayElementsValue($this->_shadow_properties, $elements); - } - - /** - * Set Glow Properties - * - * @param float $size - * @param string $color_value - * @param int $color_alpha - * @param string $color_type - */ - - public function setGlowProperties($size, $color_value = NULL, $color_alpha = NULL, $color_type = NULL) { - $this - ->_setGlowSize($size) - ->_setGlowColor( - is_null($color_value) ? $this->_glow_properties['color']['value'] : $color_value - , is_null($color_alpha) ? (int) $this->_glow_properties['color']['alpha'] : $color_alpha - , is_null($color_type) ? $this->_glow_properties['color']['type'] : $color_type); - } - - /** - * Get Glow Property - * - * @param array|string $property - * - * @return string - */ - - public function getGlowProperty($property) { - return $this->getArrayElementsValue($this->_glow_properties, $property); - } - - /** - * Set Glow Color - * - * @param float $size - * - * @return PHPExcel_Chart_Axis - */ - - private function _setGlowSize($size) { - if (!is_null($size)) { - $this->_glow_properties['size'] = $this->getExcelPointsWidth($size); - } - - return $this; - } - - /** - * Set Glow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Axis - */ - - private function _setGlowColor($color, $alpha, $type) { - $this->_glow_properties['color'] = $this->setColorProperties($color, $alpha, $type); - - return $this; - } - - /** - * Set Soft Edges Size - * - * @param float $size - */ - - public function setSoftEdges($size) { - if (!is_null($size)) { - $_soft_edges['size'] = (string) $this->getExcelPointsWidth($size); - } - } - - /** - * Get Soft Edges Size - * - * @return string - */ - - public function getSoftEdgesSize() { - return $this->_soft_edges['size']; - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/DataSeries.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/DataSeries.php deleted file mode 100644 index 86e61eb17..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/DataSeries.php +++ /dev/null @@ -1,365 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart_DataSeries - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_DataSeries -{ - - const TYPE_BARCHART = 'barChart'; - const TYPE_BARCHART_3D = 'bar3DChart'; - const TYPE_LINECHART = 'lineChart'; - const TYPE_LINECHART_3D = 'line3DChart'; - const TYPE_AREACHART = 'areaChart'; - const TYPE_AREACHART_3D = 'area3DChart'; - const TYPE_PIECHART = 'pieChart'; - const TYPE_PIECHART_3D = 'pie3DChart'; - const TYPE_DOUGHTNUTCHART = 'doughnutChart'; - const TYPE_DONUTCHART = self::TYPE_DOUGHTNUTCHART; // Synonym - const TYPE_SCATTERCHART = 'scatterChart'; - const TYPE_SURFACECHART = 'surfaceChart'; - const TYPE_SURFACECHART_3D = 'surface3DChart'; - const TYPE_RADARCHART = 'radarChart'; - const TYPE_BUBBLECHART = 'bubbleChart'; - const TYPE_STOCKCHART = 'stockChart'; - const TYPE_CANDLECHART = self::TYPE_STOCKCHART; // Synonym - - const GROUPING_CLUSTERED = 'clustered'; - const GROUPING_STACKED = 'stacked'; - const GROUPING_PERCENT_STACKED = 'percentStacked'; - const GROUPING_STANDARD = 'standard'; - - const DIRECTION_BAR = 'bar'; - const DIRECTION_HORIZONTAL = self::DIRECTION_BAR; - const DIRECTION_COL = 'col'; - const DIRECTION_COLUMN = self::DIRECTION_COL; - const DIRECTION_VERTICAL = self::DIRECTION_COL; - - const STYLE_LINEMARKER = 'lineMarker'; - const STYLE_SMOOTHMARKER = 'smoothMarker'; - const STYLE_MARKER = 'marker'; - const STYLE_FILLED = 'filled'; - - - /** - * Series Plot Type - * - * @var string - */ - private $_plotType = null; - - /** - * Plot Grouping Type - * - * @var boolean - */ - private $_plotGrouping = null; - - /** - * Plot Direction - * - * @var boolean - */ - private $_plotDirection = null; - - /** - * Plot Style - * - * @var string - */ - private $_plotStyle = null; - - /** - * Order of plots in Series - * - * @var array of integer - */ - private $_plotOrder = array(); - - /** - * Plot Label - * - * @var array of PHPExcel_Chart_DataSeriesValues - */ - private $_plotLabel = array(); - - /** - * Plot Category - * - * @var array of PHPExcel_Chart_DataSeriesValues - */ - private $_plotCategory = array(); - - /** - * Smooth Line - * - * @var string - */ - private $_smoothLine = null; - - /** - * Plot Values - * - * @var array of PHPExcel_Chart_DataSeriesValues - */ - private $_plotValues = array(); - - /** - * Create a new PHPExcel_Chart_DataSeries - */ - public function __construct($plotType = null, $plotGrouping = null, $plotOrder = array(), $plotLabel = array(), $plotCategory = array(), $plotValues = array(), $smoothLine = null, $plotStyle = null) - { - $this->_plotType = $plotType; - $this->_plotGrouping = $plotGrouping; - $this->_plotOrder = $plotOrder; - $keys = array_keys($plotValues); - $this->_plotValues = $plotValues; - if ((count($plotLabel) == 0) || (is_null($plotLabel[$keys[0]]))) { - $plotLabel[$keys[0]] = new PHPExcel_Chart_DataSeriesValues(); - } - - $this->_plotLabel = $plotLabel; - if ((count($plotCategory) == 0) || (is_null($plotCategory[$keys[0]]))) { - $plotCategory[$keys[0]] = new PHPExcel_Chart_DataSeriesValues(); - } - $this->_plotCategory = $plotCategory; - $this->_smoothLine = $smoothLine; - $this->_plotStyle = $plotStyle; - } - - /** - * Get Plot Type - * - * @return string - */ - public function getPlotType() { - return $this->_plotType; - } - - /** - * Set Plot Type - * - * @param string $plotType - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotType($plotType = '') { - $this->_plotType = $plotType; - return $this; - } - - /** - * Get Plot Grouping Type - * - * @return string - */ - public function getPlotGrouping() { - return $this->_plotGrouping; - } - - /** - * Set Plot Grouping Type - * - * @param string $groupingType - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotGrouping($groupingType = null) { - $this->_plotGrouping = $groupingType; - return $this; - } - - /** - * Get Plot Direction - * - * @return string - */ - public function getPlotDirection() { - return $this->_plotDirection; - } - - /** - * Set Plot Direction - * - * @param string $plotDirection - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotDirection($plotDirection = null) { - $this->_plotDirection = $plotDirection; - return $this; - } - - /** - * Get Plot Order - * - * @return string - */ - public function getPlotOrder() { - return $this->_plotOrder; - } - - /** - * Get Plot Labels - * - * @return array of PHPExcel_Chart_DataSeriesValues - */ - public function getPlotLabels() { - return $this->_plotLabel; - } - - /** - * Get Plot Label by Index - * - * @return PHPExcel_Chart_DataSeriesValues - */ - public function getPlotLabelByIndex($index) { - $keys = array_keys($this->_plotLabel); - if (in_array($index,$keys)) { - return $this->_plotLabel[$index]; - } elseif(isset($keys[$index])) { - return $this->_plotLabel[$keys[$index]]; - } - return false; - } - - /** - * Get Plot Categories - * - * @return array of PHPExcel_Chart_DataSeriesValues - */ - public function getPlotCategories() { - return $this->_plotCategory; - } - - /** - * Get Plot Category by Index - * - * @return PHPExcel_Chart_DataSeriesValues - */ - public function getPlotCategoryByIndex($index) { - $keys = array_keys($this->_plotCategory); - if (in_array($index,$keys)) { - return $this->_plotCategory[$index]; - } elseif(isset($keys[$index])) { - return $this->_plotCategory[$keys[$index]]; - } - return false; - } - - /** - * Get Plot Style - * - * @return string - */ - public function getPlotStyle() { - return $this->_plotStyle; - } - - /** - * Set Plot Style - * - * @param string $plotStyle - * @return PHPExcel_Chart_DataSeries - */ - public function setPlotStyle($plotStyle = null) { - $this->_plotStyle = $plotStyle; - return $this; - } - - /** - * Get Plot Values - * - * @return array of PHPExcel_Chart_DataSeriesValues - */ - public function getPlotValues() { - return $this->_plotValues; - } - - /** - * Get Plot Values by Index - * - * @return PHPExcel_Chart_DataSeriesValues - */ - public function getPlotValuesByIndex($index) { - $keys = array_keys($this->_plotValues); - if (in_array($index,$keys)) { - return $this->_plotValues[$index]; - } elseif(isset($keys[$index])) { - return $this->_plotValues[$keys[$index]]; - } - return false; - } - - /** - * Get Number of Plot Series - * - * @return integer - */ - public function getPlotSeriesCount() { - return count($this->_plotValues); - } - - /** - * Get Smooth Line - * - * @return boolean - */ - public function getSmoothLine() { - return $this->_smoothLine; - } - - /** - * Set Smooth Line - * - * @param boolean $smoothLine - * @return PHPExcel_Chart_DataSeries - */ - public function setSmoothLine($smoothLine = TRUE) { - $this->_smoothLine = $smoothLine; - return $this; - } - - public function refresh(PHPExcel_Worksheet $worksheet) { - foreach($this->_plotValues as $plotValues) { - if ($plotValues !== NULL) - $plotValues->refresh($worksheet, TRUE); - } - foreach($this->_plotLabel as $plotValues) { - if ($plotValues !== NULL) - $plotValues->refresh($worksheet, TRUE); - } - foreach($this->_plotCategory as $plotValues) { - if ($plotValues !== NULL) - $plotValues->refresh($worksheet, FALSE); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/DataSeriesValues.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/DataSeriesValues.php deleted file mode 100644 index 731d2c922..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/DataSeriesValues.php +++ /dev/null @@ -1,327 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart_DataSeriesValues - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_DataSeriesValues -{ - - const DATASERIES_TYPE_STRING = 'String'; - const DATASERIES_TYPE_NUMBER = 'Number'; - - private static $_dataTypeValues = array( - self::DATASERIES_TYPE_STRING, - self::DATASERIES_TYPE_NUMBER, - ); - - /** - * Series Data Type - * - * @var string - */ - private $_dataType = null; - - /** - * Series Data Source - * - * @var string - */ - private $_dataSource = null; - - /** - * Format Code - * - * @var string - */ - private $_formatCode = null; - - /** - * Series Point Marker - * - * @var string - */ - private $_marker = null; - - /** - * Point Count (The number of datapoints in the dataseries) - * - * @var integer - */ - private $_pointCount = 0; - - /** - * Data Values - * - * @var array of mixed - */ - private $_dataValues = array(); - - /** - * Create a new PHPExcel_Chart_DataSeriesValues object - */ - public function __construct($dataType = self::DATASERIES_TYPE_NUMBER, $dataSource = null, $formatCode = null, $pointCount = 0, $dataValues = array(), $marker = null) - { - $this->setDataType($dataType); - $this->_dataSource = $dataSource; - $this->_formatCode = $formatCode; - $this->_pointCount = $pointCount; - $this->_dataValues = $dataValues; - $this->_marker = $marker; - } - - /** - * Get Series Data Type - * - * @return string - */ - public function getDataType() { - return $this->_dataType; - } - - /** - * Set Series Data Type - * - * @param string $dataType Datatype of this data series - * Typical values are: - * PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_STRING - * Normally used for axis point values - * PHPExcel_Chart_DataSeriesValues::DATASERIES_TYPE_NUMBER - * Normally used for chart data values - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setDataType($dataType = self::DATASERIES_TYPE_NUMBER) { - if (!in_array($dataType, self::$_dataTypeValues)) { - throw new PHPExcel_Chart_Exception('Invalid datatype for chart data series values'); - } - $this->_dataType = $dataType; - - return $this; - } - - /** - * Get Series Data Source (formula) - * - * @return string - */ - public function getDataSource() { - return $this->_dataSource; - } - - /** - * Set Series Data Source (formula) - * - * @param string $dataSource - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setDataSource($dataSource = null, $refreshDataValues = true) { - $this->_dataSource = $dataSource; - - if ($refreshDataValues) { - // TO DO - } - - return $this; - } - - /** - * Get Point Marker - * - * @return string - */ - public function getPointMarker() { - return $this->_marker; - } - - /** - * Set Point Marker - * - * @param string $marker - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setPointMarker($marker = null) { - $this->_marker = $marker; - - return $this; - } - - /** - * Get Series Format Code - * - * @return string - */ - public function getFormatCode() { - return $this->_formatCode; - } - - /** - * Set Series Format Code - * - * @param string $formatCode - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setFormatCode($formatCode = null) { - $this->_formatCode = $formatCode; - - return $this; - } - - /** - * Get Series Point Count - * - * @return integer - */ - public function getPointCount() { - return $this->_pointCount; - } - - /** - * Identify if the Data Series is a multi-level or a simple series - * - * @return boolean - */ - public function isMultiLevelSeries() { - if (count($this->_dataValues) > 0) { - return is_array($this->_dataValues[0]); - } - return null; - } - - /** - * Return the level count of a multi-level Data Series - * - * @return boolean - */ - public function multiLevelCount() { - $levelCount = 0; - foreach($this->_dataValues as $dataValueSet) { - $levelCount = max($levelCount,count($dataValueSet)); - } - return $levelCount; - } - - /** - * Get Series Data Values - * - * @return array of mixed - */ - public function getDataValues() { - return $this->_dataValues; - } - - /** - * Get the first Series Data value - * - * @return mixed - */ - public function getDataValue() { - $count = count($this->_dataValues); - if ($count == 0) { - return null; - } elseif ($count == 1) { - return $this->_dataValues[0]; - } - return $this->_dataValues; - } - - /** - * Set Series Data Values - * - * @param array $dataValues - * @param boolean $refreshDataSource - * TRUE - refresh the value of _dataSource based on the values of $dataValues - * FALSE - don't change the value of _dataSource - * @return PHPExcel_Chart_DataSeriesValues - */ - public function setDataValues($dataValues = array(), $refreshDataSource = TRUE) { - $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($dataValues); - $this->_pointCount = count($dataValues); - - if ($refreshDataSource) { - // TO DO - } - - return $this; - } - - private function _stripNulls($var) { - return $var !== NULL; - } - - public function refresh(PHPExcel_Worksheet $worksheet, $flatten = TRUE) { - if ($this->_dataSource !== NULL) { - $calcEngine = PHPExcel_Calculation::getInstance($worksheet->getParent()); - $newDataValues = PHPExcel_Calculation::_unwrapResult( - $calcEngine->_calculateFormulaValue( - '='.$this->_dataSource, - NULL, - $worksheet->getCell('A1') - ) - ); - if ($flatten) { - $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($newDataValues); - foreach($this->_dataValues as &$dataValue) { - if ((!empty($dataValue)) && ($dataValue[0] == '#')) { - $dataValue = 0.0; - } - } - unset($dataValue); - } else { - $cellRange = explode('!',$this->_dataSource); - if (count($cellRange) > 1) { - list(,$cellRange) = $cellRange; - } - - $dimensions = PHPExcel_Cell::rangeDimension(str_replace('$','',$cellRange)); - if (($dimensions[0] == 1) || ($dimensions[1] == 1)) { - $this->_dataValues = PHPExcel_Calculation_Functions::flattenArray($newDataValues); - } else { - $newArray = array_values(array_shift($newDataValues)); - foreach($newArray as $i => $newDataSet) { - $newArray[$i] = array($newDataSet); - } - - foreach($newDataValues as $newDataSet) { - $i = 0; - foreach($newDataSet as $newDataVal) { - array_unshift($newArray[$i++],$newDataVal); - } - } - $this->_dataValues = $newArray; - } - } - $this->_pointCount = count($this->_dataValues); - } - - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Exception.php deleted file mode 100644 index 58b5b5822..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart_Exception - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_Exception extends PHPExcel_Exception { - /** - * Error handler callback - * - * @param mixed $code - * @param mixed $string - * @param mixed $file - * @param mixed $line - * @param mixed $context - */ - public static function errorHandlerCallback($code, $string, $file, $line, $context) { - $e = new self($string, $code); - $e->line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/GridLines.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/GridLines.php deleted file mode 100644 index 7467ea7ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/GridLines.php +++ /dev/null @@ -1,458 +0,0 @@ -<?php -require_once 'Properties.php'; -/** - * Created by PhpStorm. - * User: Wiktor Trzonkowski - * Date: 7/2/14 - * Time: 2:36 PM - */ - -class PHPExcel_Chart_Gridlines extends - PHPExcel_Properties { - - /** - * Properties of Class: - * Object State (State for Minor Tick Mark) @var bool - * Line Properties @var array of mixed - * Shadow Properties @var array of mixed - * Glow Properties @var array of mixed - * Soft Properties @var array of mixed - * - */ - - private - $_object_state = FALSE, - $_line_properties = array( - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => NULL, - 'alpha' => 0 - ), - 'style' => array( - 'width' => '9525', - 'compound' => self::LINE_STYLE_COMPOUND_SIMPLE, - 'dash' => self::LINE_STYLE_DASH_SOLID, - 'cap' => self::LINE_STYLE_CAP_FLAT, - 'join' => self::LINE_STYLE_JOIN_BEVEL, - 'arrow' => array( - 'head' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_5 - ), - 'end' => array( - 'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW, - 'size' => self::LINE_STYLE_ARROW_SIZE_8 - ), - ) - ) - ), - $_shadow_properties = array( - 'presets' => self::SHADOW_PRESETS_NOSHADOW, - 'effect' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 85, - ), - 'size' => array( - 'sx' => NULL, - 'sy' => NULL, - 'kx' => NULL - ), - 'blur' => NULL, - 'direction' => NULL, - 'distance' => NULL, - 'algn' => NULL, - 'rotWithShape' => NULL - ), - $_glow_properties = array( - 'size' => NULL, - 'color' => array( - 'type' => self::EXCEL_COLOR_TYPE_STANDARD, - 'value' => 'black', - 'alpha' => 40 - ) - ), - $_soft_edges = array( - 'size' => NULL - ); - - /** - * Get Object State - * - * @return bool - */ - - public function getObjectState() { - return $this->_object_state; - } - - /** - * Change Object State to True - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _activateObject() { - $this->_object_state = TRUE; - - return $this; - } - - /** - * Set Line Color Properties - * - * @param string $value - * @param int $alpha - * @param string $type - */ - - public function setLineColorProperties($value, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_STANDARD) { - $this - ->_activateObject() - ->_line_properties['color'] = $this->setColorProperties( - $value, - $alpha, - $type); - } - - /** - * Set Line Color Properties - * - * @param float $line_width - * @param string $compound_type - * @param string $dash_type - * @param string $cap_type - * @param string $join_type - * @param string $head_arrow_type - * @param string $head_arrow_size - * @param string $end_arrow_type - * @param string $end_arrow_size - */ - - public function setLineStyleProperties($line_width = NULL, $compound_type = NULL, $dash_type = NULL, $cap_type = NULL, $join_type = NULL, $head_arrow_type = NULL, $head_arrow_size = NULL, $end_arrow_type = NULL, $end_arrow_size = NULL) { - $this->_activateObject(); - (!is_null($line_width)) - ? $this->_line_properties['style']['width'] = $this->getExcelPointsWidth((float) $line_width) - : NULL; - (!is_null($compound_type)) - ? $this->_line_properties['style']['compound'] = (string) $compound_type - : NULL; - (!is_null($dash_type)) - ? $this->_line_properties['style']['dash'] = (string) $dash_type - : NULL; - (!is_null($cap_type)) - ? $this->_line_properties['style']['cap'] = (string) $cap_type - : NULL; - (!is_null($join_type)) - ? $this->_line_properties['style']['join'] = (string) $join_type - : NULL; - (!is_null($head_arrow_type)) - ? $this->_line_properties['style']['arrow']['head']['type'] = (string) $head_arrow_type - : NULL; - (!is_null($head_arrow_size)) - ? $this->_line_properties['style']['arrow']['head']['size'] = (string) $head_arrow_size - : NULL; - (!is_null($end_arrow_type)) - ? $this->_line_properties['style']['arrow']['end']['type'] = (string) $end_arrow_type - : NULL; - (!is_null($end_arrow_size)) - ? $this->_line_properties['style']['arrow']['end']['size'] = (string) $end_arrow_size - : NULL; - } - - /** - * Get Line Color Property - * - * @param string $parameter - * - * @return string - */ - - public function getLineColorProperty($parameter) { - return $this->_line_properties['color'][$parameter]; - } - - /** - * Get Line Style Property - * - * @param array|string $elements - * - * @return string - */ - - public function getLineStyleProperty($elements) { - return $this->getArrayElementsValue($this->_line_properties['style'], $elements); - } - - /** - * Set Glow Properties - * - * @param float $size - * @param string $color_value - * @param int $color_alpha - * @param string $color_type - * - */ - - public function setGlowProperties($size, $color_value = NULL, $color_alpha = NULL, $color_type = NULL) { - $this - ->_activateObject() - ->_setGlowSize($size) - ->_setGlowColor($color_value, $color_alpha, $color_type); - } - - /** - * Get Glow Color Property - * - * @param string $property - * - * @return string - */ - - public function getGlowColor($property) { - return $this->_glow_properties['color'][$property]; - } - - /** - * Get Glow Size - * - * @return string - */ - - public function getGlowSize() { - return $this->_glow_properties['size']; - } - - /** - * Set Glow Size - * - * @param float $size - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setGlowSize($size) { - $this->_glow_properties['size'] = $this->getExcelPointsWidth((float) $size); - - return $this; - } - - /** - * Set Glow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setGlowColor($color, $alpha, $type) { - if (!is_null($color)) { - $this->_glow_properties['color']['value'] = (string) $color; - } - if (!is_null($alpha)) { - $this->_glow_properties['color']['alpha'] = $this->getTrueAlpha((int) $alpha); - } - if (!is_null($type)) { - $this->_glow_properties['color']['type'] = (string) $type; - } - - return $this; - } - - /** - * Get Line Style Arrow Parameters - * - * @param string $arrow_selector - * @param string $property_selector - * - * @return string - */ - - public function getLineStyleArrowParameters($arrow_selector, $property_selector) { - return $this->getLineStyleArrowSize($this->_line_properties['style']['arrow'][$arrow_selector]['size'], $property_selector); - } - - /** - * Set Shadow Properties - * - * @param int $sh_presets - * @param string $sh_color_value - * @param string $sh_color_type - * @param int $sh_color_alpha - * @param string $sh_blur - * @param int $sh_angle - * @param float $sh_distance - * - */ - - public function setShadowProperties($sh_presets, $sh_color_value = NULL, $sh_color_type = NULL, $sh_color_alpha = NULL, $sh_blur = NULL, $sh_angle = NULL, $sh_distance = NULL) { - $this - ->_activateObject() - ->_setShadowPresetsProperties((int) $sh_presets) - ->_setShadowColor( - is_null($sh_color_value) ? $this->_shadow_properties['color']['value'] : $sh_color_value - , is_null($sh_color_alpha) ? (int) $this->_shadow_properties['color']['alpha'] - : $this->getTrueAlpha($sh_color_alpha) - , is_null($sh_color_type) ? $this->_shadow_properties['color']['type'] : $sh_color_type) - ->_setShadowBlur($sh_blur) - ->_setShadowAngle($sh_angle) - ->_setShadowDistance($sh_distance); - } - - /** - * Set Shadow Presets Properties - * - * @param int $shadow_presets - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowPresetsProperties($shadow_presets) { - $this->_shadow_properties['presets'] = $shadow_presets; - $this->_setShadowProperiesMapValues($this->getShadowPresetsMap($shadow_presets)); - - return $this; - } - - /** - * Set Shadow Properties Values - * - * @param array $properties_map - * @param * $reference - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowProperiesMapValues(array $properties_map, &$reference = NULL) { - $base_reference = $reference; - foreach ($properties_map as $property_key => $property_val) { - if (is_array($property_val)) { - if ($reference === NULL) { - $reference = & $this->_shadow_properties[$property_key]; - } else { - $reference = & $reference[$property_key]; - } - $this->_setShadowProperiesMapValues($property_val, $reference); - } else { - if ($base_reference === NULL) { - $this->_shadow_properties[$property_key] = $property_val; - } else { - $reference[$property_key] = $property_val; - } - } - } - - return $this; - } - - /** - * Set Shadow Color - * - * @param string $color - * @param int $alpha - * @param string $type - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowColor($color, $alpha, $type) { - if (!is_null($color)) { - $this->_shadow_properties['color']['value'] = (string) $color; - } - if (!is_null($alpha)) { - $this->_shadow_properties['color']['alpha'] = $this->getTrueAlpha((int) $alpha); - } - if (!is_null($type)) { - $this->_shadow_properties['color']['type'] = (string) $type; - } - - return $this; - } - - /** - * Set Shadow Blur - * - * @param float $blur - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowBlur($blur) { - if ($blur !== NULL) { - $this->_shadow_properties['blur'] = (string) $this->getExcelPointsWidth($blur); - } - - return $this; - } - - /** - * Set Shadow Angle - * - * @param int $angle - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowAngle($angle) { - if ($angle !== NULL) { - $this->_shadow_properties['direction'] = (string) $this->getExcelPointsAngle($angle); - } - - return $this; - } - - /** - * Set Shadow Distance - * - * @param float $distance - * - * @return PHPExcel_Chart_Gridlines - */ - - private function _setShadowDistance($distance) { - if ($distance !== NULL) { - $this->_shadow_properties['distance'] = (string) $this->getExcelPointsWidth($distance); - } - - return $this; - } - - /** - * Get Shadow Property - * - * @param string $elements - * @param array $elements - * - * @return string - */ - - public function getShadowProperty($elements) { - return $this->getArrayElementsValue($this->_shadow_properties, $elements); - } - - /** - * Set Soft Edges Size - * - * @param float $size - */ - - public function setSoftEdgesSize($size) { - if (!is_null($size)) { - $this->_activateObject(); - $_soft_edges['size'] = (string) $this->getExcelPointsWidth($size); - } - } - - /** - * Get Soft Edges Size - * - * @return string - */ - - public function getSoftEdgesSize() { - return $this->_soft_edges['size']; - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Layout.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Layout.php deleted file mode 100644 index eefa157a9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Layout.php +++ /dev/null @@ -1,445 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart_Layout - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_Layout -{ - /** - * layoutTarget - * - * @var string - */ - private $_layoutTarget = NULL; - - /** - * X Mode - * - * @var string - */ - private $_xMode = NULL; - - /** - * Y Mode - * - * @var string - */ - private $_yMode = NULL; - - /** - * X-Position - * - * @var float - */ - private $_xPos = NULL; - - /** - * Y-Position - * - * @var float - */ - private $_yPos = NULL; - - /** - * width - * - * @var float - */ - private $_width = NULL; - - /** - * height - * - * @var float - */ - private $_height = NULL; - - /** - * show legend key - * Specifies that legend keys should be shown in data labels - * - * @var boolean - */ - private $_showLegendKey = NULL; - - /** - * show value - * Specifies that the value should be shown in a data label. - * - * @var boolean - */ - private $_showVal = NULL; - - /** - * show category name - * Specifies that the category name should be shown in the data label. - * - * @var boolean - */ - private $_showCatName = NULL; - - /** - * show data series name - * Specifies that the series name should be shown in the data label. - * - * @var boolean - */ - private $_showSerName = NULL; - - /** - * show percentage - * Specifies that the percentage should be shown in the data label. - * - * @var boolean - */ - private $_showPercent = NULL; - - /** - * show bubble size - * - * @var boolean - */ - private $_showBubbleSize = NULL; - - /** - * show leader lines - * Specifies that leader lines should be shown for the data label. - * - * @var boolean - */ - private $_showLeaderLines = NULL; - - - /** - * Create a new PHPExcel_Chart_Layout - */ - public function __construct($layout=array()) - { - if (isset($layout['layoutTarget'])) { $this->_layoutTarget = $layout['layoutTarget']; } - if (isset($layout['xMode'])) { $this->_xMode = $layout['xMode']; } - if (isset($layout['yMode'])) { $this->_yMode = $layout['yMode']; } - if (isset($layout['x'])) { $this->_xPos = (float) $layout['x']; } - if (isset($layout['y'])) { $this->_yPos = (float) $layout['y']; } - if (isset($layout['w'])) { $this->_width = (float) $layout['w']; } - if (isset($layout['h'])) { $this->_height = (float) $layout['h']; } - } - - /** - * Get Layout Target - * - * @return string - */ - public function getLayoutTarget() { - return $this->_layoutTarget; - } - - /** - * Set Layout Target - * - * @param Layout Target $value - * @return PHPExcel_Chart_Layout - */ - public function setLayoutTarget($value) { - $this->_layoutTarget = $value; - return $this; - } - - /** - * Get X-Mode - * - * @return string - */ - public function getXMode() { - return $this->_xMode; - } - - /** - * Set X-Mode - * - * @param X-Mode $value - * @return PHPExcel_Chart_Layout - */ - public function setXMode($value) { - $this->_xMode = $value; - return $this; - } - - /** - * Get Y-Mode - * - * @return string - */ - public function getYMode() { - return $this->_yMode; - } - - /** - * Set Y-Mode - * - * @param Y-Mode $value - * @return PHPExcel_Chart_Layout - */ - public function setYMode($value) { - $this->_yMode = $value; - return $this; - } - - /** - * Get X-Position - * - * @return number - */ - public function getXPosition() { - return $this->_xPos; - } - - /** - * Set X-Position - * - * @param X-Position $value - * @return PHPExcel_Chart_Layout - */ - public function setXPosition($value) { - $this->_xPos = $value; - return $this; - } - - /** - * Get Y-Position - * - * @return number - */ - public function getYPosition() { - return $this->_yPos; - } - - /** - * Set Y-Position - * - * @param Y-Position $value - * @return PHPExcel_Chart_Layout - */ - public function setYPosition($value) { - $this->_yPos = $value; - return $this; - } - - /** - * Get Width - * - * @return number - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param Width $value - * @return PHPExcel_Chart_Layout - */ - public function setWidth($value) { - $this->_width = $value; - return $this; - } - - /** - * Get Height - * - * @return number - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set Height - * - * @param Height $value - * @return PHPExcel_Chart_Layout - */ - public function setHeight($value) { - $this->_height = $value; - return $this; - } - - - /** - * Get show legend key - * - * @return boolean - */ - public function getShowLegendKey() { - return $this->_showLegendKey; - } - - /** - * Set show legend key - * Specifies that legend keys should be shown in data labels. - * - * @param boolean $value Show legend key - * @return PHPExcel_Chart_Layout - */ - public function setShowLegendKey($value) { - $this->_showLegendKey = $value; - return $this; - } - - /** - * Get show value - * - * @return boolean - */ - public function getShowVal() { - return $this->_showVal; - } - - /** - * Set show val - * Specifies that the value should be shown in data labels. - * - * @param boolean $value Show val - * @return PHPExcel_Chart_Layout - */ - public function setShowVal($value) { - $this->_showVal = $value; - return $this; - } - - /** - * Get show category name - * - * @return boolean - */ - public function getShowCatName() { - return $this->_showCatName; - } - - /** - * Set show cat name - * Specifies that the category name should be shown in data labels. - * - * @param boolean $value Show cat name - * @return PHPExcel_Chart_Layout - */ - public function setShowCatName($value) { - $this->_showCatName = $value; - return $this; - } - - /** - * Get show data series name - * - * @return boolean - */ - public function getShowSerName() { - return $this->_showSerName; - } - - /** - * Set show ser name - * Specifies that the series name should be shown in data labels. - * - * @param boolean $value Show series name - * @return PHPExcel_Chart_Layout - */ - public function setShowSerName($value) { - $this->_showSerName = $value; - return $this; - } - - /** - * Get show percentage - * - * @return boolean - */ - public function getShowPercent() { - return $this->_showPercent; - } - - /** - * Set show percentage - * Specifies that the percentage should be shown in data labels. - * - * @param boolean $value Show percentage - * @return PHPExcel_Chart_Layout - */ - public function setShowPercent($value) { - $this->_showPercent = $value; - return $this; - } - - /** - * Get show bubble size - * - * @return boolean - */ - public function getShowBubbleSize() { - return $this->_showBubbleSize; - } - - /** - * Set show bubble size - * Specifies that the bubble size should be shown in data labels. - * - * @param boolean $value Show bubble size - * @return PHPExcel_Chart_Layout - */ - public function setShowBubbleSize($value) { - $this->_showBubbleSize = $value; - return $this; - } - - /** - * Get show leader lines - * - * @return boolean - */ - public function getShowLeaderLines() { - return $this->_showLeaderLines; - } - - /** - * Set show leader lines - * Specifies that leader lines should be shown in data labels. - * - * @param boolean $value Show leader lines - * @return PHPExcel_Chart_Layout - */ - public function setShowLeaderLines($value) { - $this->_showLeaderLines = $value; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Legend.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Legend.php deleted file mode 100644 index 783b3d429..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Legend.php +++ /dev/null @@ -1,171 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart_Legend - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_Legend -{ - /** Legend positions */ - const xlLegendPositionBottom = -4107; // Below the chart. - const xlLegendPositionCorner = 2; // In the upper right-hand corner of the chart border. - const xlLegendPositionCustom = -4161; // A custom position. - const xlLegendPositionLeft = -4131; // Left of the chart. - const xlLegendPositionRight = -4152; // Right of the chart. - const xlLegendPositionTop = -4160; // Above the chart. - - const POSITION_RIGHT = 'r'; - const POSITION_LEFT = 'l'; - const POSITION_BOTTOM = 'b'; - const POSITION_TOP = 't'; - const POSITION_TOPRIGHT = 'tr'; - - private static $_positionXLref = array( self::xlLegendPositionBottom => self::POSITION_BOTTOM, - self::xlLegendPositionCorner => self::POSITION_TOPRIGHT, - self::xlLegendPositionCustom => '??', - self::xlLegendPositionLeft => self::POSITION_LEFT, - self::xlLegendPositionRight => self::POSITION_RIGHT, - self::xlLegendPositionTop => self::POSITION_TOP - ); - - /** - * Legend position - * - * @var string - */ - private $_position = self::POSITION_RIGHT; - - /** - * Allow overlay of other elements? - * - * @var boolean - */ - private $_overlay = TRUE; - - /** - * Legend Layout - * - * @var PHPExcel_Chart_Layout - */ - private $_layout = NULL; - - - /** - * Create a new PHPExcel_Chart_Legend - */ - public function __construct($position = self::POSITION_RIGHT, PHPExcel_Chart_Layout $layout = NULL, $overlay = FALSE) - { - $this->setPosition($position); - $this->_layout = $layout; - $this->setOverlay($overlay); - } - - /** - * Get legend position as an excel string value - * - * @return string - */ - public function getPosition() { - return $this->_position; - } - - /** - * Get legend position using an excel string value - * - * @param string $position - */ - public function setPosition($position = self::POSITION_RIGHT) { - if (!in_array($position,self::$_positionXLref)) { - return false; - } - - $this->_position = $position; - return true; - } - - /** - * Get legend position as an Excel internal numeric value - * - * @return number - */ - public function getPositionXL() { - return array_search($this->_position,self::$_positionXLref); - } - - /** - * Set legend position using an Excel internal numeric value - * - * @param number $positionXL - */ - public function setPositionXL($positionXL = self::xlLegendPositionRight) { - if (!array_key_exists($positionXL,self::$_positionXLref)) { - return false; - } - - $this->_position = self::$_positionXLref[$positionXL]; - return true; - } - - /** - * Get allow overlay of other elements? - * - * @return boolean - */ - public function getOverlay() { - return $this->_overlay; - } - - /** - * Set allow overlay of other elements? - * - * @param boolean $overlay - * @return boolean - */ - public function setOverlay($overlay = FALSE) { - if (!is_bool($overlay)) { - return false; - } - - $this->_overlay = $overlay; - return true; - } - - /** - * Get Layout - * - * @return PHPExcel_Chart_Layout - */ - public function getLayout() { - return $this->_layout; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/PlotArea.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/PlotArea.php deleted file mode 100644 index c917ce305..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/PlotArea.php +++ /dev/null @@ -1,128 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart_PlotArea - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_PlotArea -{ - /** - * PlotArea Layout - * - * @var PHPExcel_Chart_Layout - */ - private $_layout = null; - - /** - * Plot Series - * - * @var array of PHPExcel_Chart_DataSeries - */ - private $_plotSeries = array(); - - /** - * Create a new PHPExcel_Chart_PlotArea - */ - public function __construct(PHPExcel_Chart_Layout $layout = null, $plotSeries = array()) - { - $this->_layout = $layout; - $this->_plotSeries = $plotSeries; - } - - /** - * Get Layout - * - * @return PHPExcel_Chart_Layout - */ - public function getLayout() { - return $this->_layout; - } - - /** - * Get Number of Plot Groups - * - * @return array of PHPExcel_Chart_DataSeries - */ - public function getPlotGroupCount() { - return count($this->_plotSeries); - } - - /** - * Get Number of Plot Series - * - * @return integer - */ - public function getPlotSeriesCount() { - $seriesCount = 0; - foreach($this->_plotSeries as $plot) { - $seriesCount += $plot->getPlotSeriesCount(); - } - return $seriesCount; - } - - /** - * Get Plot Series - * - * @return array of PHPExcel_Chart_DataSeries - */ - public function getPlotGroup() { - return $this->_plotSeries; - } - - /** - * Get Plot Series by Index - * - * @return PHPExcel_Chart_DataSeries - */ - public function getPlotGroupByIndex($index) { - return $this->_plotSeries[$index]; - } - - /** - * Set Plot Series - * - * @param [PHPExcel_Chart_DataSeries] - * @return PHPExcel_Chart_PlotArea - */ - public function setPlotSeries($plotSeries = array()) { - $this->_plotSeries = $plotSeries; - - return $this; - } - - public function refresh(PHPExcel_Worksheet $worksheet) { - foreach($this->_plotSeries as $plotSeries) { - $plotSeries->refresh($worksheet); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Properties.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Properties.php deleted file mode 100644 index 7593983c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Properties.php +++ /dev/null @@ -1,359 +0,0 @@ -<?php -/** - * Created by PhpStorm. - * User: nhw2h8s - * Date: 7/2/14 - * Time: 5:45 PM - */ - -abstract class PHPExcel_Properties { - - const - EXCEL_COLOR_TYPE_STANDARD = 'prstClr', - EXCEL_COLOR_TYPE_SCHEME = 'schemeClr', - EXCEL_COLOR_TYPE_ARGB = 'srgbClr'; - - const - AXIS_LABELS_LOW = 'low', - AXIS_LABELS_HIGH = 'high', - AXIS_LABELS_NEXT_TO = 'nextTo', - AXIS_LABELS_NONE = 'none'; - - const - TICK_MARK_NONE = 'none', - TICK_MARK_INSIDE = 'in', - TICK_MARK_OUTSIDE = 'out', - TICK_MARK_CROSS = 'cross'; - - const - HORIZONTAL_CROSSES_AUTOZERO = 'autoZero', - HORIZONTAL_CROSSES_MAXIMUM = 'max'; - - const - FORMAT_CODE_GENERAL = 'General', - FORMAT_CODE_NUMBER = '#,##0.00', - FORMAT_CODE_CURRENCY = '$#,##0.00', - FORMAT_CODE_ACCOUNTING = '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', - FORMAT_CODE_DATE = 'm/d/yyyy', - FORMAT_CODE_TIME = '[$-F400]h:mm:ss AM/PM', - FORMAT_CODE_PERCENTAGE = '0.00%', - FORMAT_CODE_FRACTION = '# ?/?', - FORMAT_CODE_SCIENTIFIC = '0.00E+00', - FORMAT_CODE_TEXT = '@', - FORMAT_CODE_SPECIAL = '00000'; - - const - ORIENTATION_NORMAL = 'minMax', - ORIENTATION_REVERSED = 'maxMin'; - - const - LINE_STYLE_COMPOUND_SIMPLE = 'sng', - LINE_STYLE_COMPOUND_DOUBLE = 'dbl', - LINE_STYLE_COMPOUND_THICKTHIN = 'thickThin', - LINE_STYLE_COMPOUND_THINTHICK = 'thinThick', - LINE_STYLE_COMPOUND_TRIPLE = 'tri', - - LINE_STYLE_DASH_SOLID = 'solid', - LINE_STYLE_DASH_ROUND_DOT = 'sysDot', - LINE_STYLE_DASH_SQUERE_DOT = 'sysDash', - LINE_STYPE_DASH_DASH = 'dash', - LINE_STYLE_DASH_DASH_DOT = 'dashDot', - LINE_STYLE_DASH_LONG_DASH = 'lgDash', - LINE_STYLE_DASH_LONG_DASH_DOT = 'lgDashDot', - LINE_STYLE_DASH_LONG_DASH_DOT_DOT = 'lgDashDotDot', - - LINE_STYLE_CAP_SQUARE = 'sq', - LINE_STYLE_CAP_ROUND = 'rnd', - LINE_STYLE_CAP_FLAT = 'flat', - - LINE_STYLE_JOIN_ROUND = 'bevel', - LINE_STYLE_JOIN_MITER = 'miter', - LINE_STYLE_JOIN_BEVEL = 'bevel', - - LINE_STYLE_ARROW_TYPE_NOARROW = NULL, - LINE_STYLE_ARROW_TYPE_ARROW = 'triangle', - LINE_STYLE_ARROW_TYPE_OPEN = 'arrow', - LINE_STYLE_ARROW_TYPE_STEALTH = 'stealth', - LINE_STYLE_ARROW_TYPE_DIAMOND = 'diamond', - LINE_STYLE_ARROW_TYPE_OVAL = 'oval', - - LINE_STYLE_ARROW_SIZE_1 = 1, - LINE_STYLE_ARROW_SIZE_2 = 2, - LINE_STYLE_ARROW_SIZE_3 = 3, - LINE_STYLE_ARROW_SIZE_4 = 4, - LINE_STYLE_ARROW_SIZE_5 = 5, - LINE_STYLE_ARROW_SIZE_6 = 6, - LINE_STYLE_ARROW_SIZE_7 = 7, - LINE_STYLE_ARROW_SIZE_8 = 8, - LINE_STYLE_ARROW_SIZE_9 = 9; - - const - SHADOW_PRESETS_NOSHADOW = NULL, - SHADOW_PRESETS_OUTER_BOTTTOM_RIGHT = 1, - SHADOW_PRESETS_OUTER_BOTTOM = 2, - SHADOW_PRESETS_OUTER_BOTTOM_LEFT = 3, - SHADOW_PRESETS_OUTER_RIGHT = 4, - SHADOW_PRESETS_OUTER_CENTER = 5, - SHADOW_PRESETS_OUTER_LEFT = 6, - SHADOW_PRESETS_OUTER_TOP_RIGHT = 7, - SHADOW_PRESETS_OUTER_TOP = 8, - SHADOW_PRESETS_OUTER_TOP_LEFT = 9, - SHADOW_PRESETS_INNER_BOTTTOM_RIGHT = 10, - SHADOW_PRESETS_INNER_BOTTOM = 11, - SHADOW_PRESETS_INNER_BOTTOM_LEFT = 12, - SHADOW_PRESETS_INNER_RIGHT = 13, - SHADOW_PRESETS_INNER_CENTER = 14, - SHADOW_PRESETS_INNER_LEFT = 15, - SHADOW_PRESETS_INNER_TOP_RIGHT = 16, - SHADOW_PRESETS_INNER_TOP = 17, - SHADOW_PRESETS_INNER_TOP_LEFT = 18, - SHADOW_PRESETS_PERSPECTIVE_BELOW = 19, - SHADOW_PRESETS_PERSPECTIVE_UPPER_RIGHT = 20, - SHADOW_PRESETS_PERSPECTIVE_UPPER_LEFT = 21, - SHADOW_PRESETS_PERSPECTIVE_LOWER_RIGHT = 22, - SHADOW_PRESETS_PERSPECTIVE_LOWER_LEFT = 23; - - protected function getExcelPointsWidth($width) { - return $width * 12700; - } - - protected function getExcelPointsAngle($angle) { - return $angle * 60000; - } - - protected function getTrueAlpha($alpha) { - return (string) 100 - $alpha . '000'; - } - - protected function setColorProperties($color, $alpha, $type) { - return array( - 'type' => (string) $type, - 'value' => (string) $color, - 'alpha' => (string) $this->getTrueAlpha($alpha) - ); - } - - protected function getLineStyleArrowSize($array_selector, $array_kay_selector) { - $sizes = array( - 1 => array('w' => 'sm', 'len' => 'sm'), - 2 => array('w' => 'sm', 'len' => 'med'), - 3 => array('w' => 'sm', 'len' => 'lg'), - 4 => array('w' => 'med', 'len' => 'sm'), - 5 => array('w' => 'med', 'len' => 'med'), - 6 => array('w' => 'med', 'len' => 'lg'), - 7 => array('w' => 'lg', 'len' => 'sm'), - 8 => array('w' => 'lg', 'len' => 'med'), - 9 => array('w' => 'lg', 'len' => 'lg') - ); - - return $sizes[$array_selector][$array_kay_selector]; - } - - protected function getShadowPresetsMap($shadow_presets_option) { - $presets_options = array( - //OUTER - 1 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '2700000', - 'algn' => 'tl', - 'rotWithShape' => '0' - ), - 2 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '5400000', - 'algn' => 't', - 'rotWithShape' => '0' - ), - 3 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '8100000', - 'algn' => 'tr', - 'rotWithShape' => '0' - ), - 4 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'algn' => 'l', - 'rotWithShape' => '0' - ), - 5 => array( - 'effect' => 'outerShdw', - 'size' => array( - 'sx' => '102000', - 'sy' => '102000' - ) - , - 'blur' => '63500', - 'distance' => '38100', - 'algn' => 'ctr', - 'rotWithShape' => '0' - ), - 6 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '10800000', - 'algn' => 'r', - 'rotWithShape' => '0' - ), - 7 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '18900000', - 'algn' => 'bl', - 'rotWithShape' => '0' - ), - 8 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '16200000', - 'rotWithShape' => '0' - ), - 9 => array( - 'effect' => 'outerShdw', - 'blur' => '50800', - 'distance' => '38100', - 'direction' => '13500000', - 'algn' => 'br', - 'rotWithShape' => '0' - ), - //INNER - 10 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '2700000', - ), - 11 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '5400000', - ), - 12 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '8100000', - ), - 13 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - ), - 14 => array( - 'effect' => 'innerShdw', - 'blur' => '114300', - ), - 15 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '10800000', - ), - 16 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '18900000', - ), - 17 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '16200000', - ), - 18 => array( - 'effect' => 'innerShdw', - 'blur' => '63500', - 'distance' => '50800', - 'direction' => '13500000', - ), - //perspective - 19 => array( - 'effect' => 'outerShdw', - 'blur' => '152400', - 'distance' => '317500', - 'size' => array( - 'sx' => '90000', - 'sy' => '-19000', - ), - 'direction' => '5400000', - 'rotWithShape' => '0', - ), - 20 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'direction' => '18900000', - 'size' => array( - 'sy' => '23000', - 'kx' => '-1200000', - ), - 'algn' => 'bl', - 'rotWithShape' => '0', - ), - 21 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'direction' => '13500000', - 'size' => array( - 'sy' => '23000', - 'kx' => '1200000', - ), - 'algn' => 'br', - 'rotWithShape' => '0', - ), - 22 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'distance' => '12700', - 'direction' => '2700000', - 'size' => array( - 'sy' => '-23000', - 'kx' => '-800400', - ), - 'algn' => 'bl', - 'rotWithShape' => '0', - ), - 23 => array( - 'effect' => 'outerShdw', - 'blur' => '76200', - 'distance' => '12700', - 'direction' => '8100000', - 'size' => array( - 'sy' => '-23000', - 'kx' => '800400', - ), - 'algn' => 'br', - 'rotWithShape' => '0', - ), - ); - - return $presets_options[$shadow_presets_option]; - } - - protected function getArrayElementsValue($properties, $elements) { - $reference = & $properties; - if (!is_array($elements)) { - return $reference[$elements]; - } else { - foreach ($elements as $keys) { - $reference = & $reference[$keys]; - } - - return $reference; - } - - return $this; - } - -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt deleted file mode 100644 index 20a825885..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt +++ /dev/null @@ -1,17 +0,0 @@ -ChartDirector - http://www.advsofteng.com/cdphp.html - -GraPHPite - http://graphpite.sourceforge.net/ - -JpGraph - http://www.aditus.nu/jpgraph/ - -LibChart - http://naku.dohcrew.com/libchart/pages/introduction/ - -pChart - http://pchart.sourceforge.net/ - -TeeChart - http://www.steema.com/products/teechart/overview.html diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/jpgraph.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/jpgraph.php deleted file mode 100644 index 99a0b97ad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Renderer/jpgraph.php +++ /dev/null @@ -1,855 +0,0 @@ -<?php - -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart_Renderer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once(PHPExcel_Settings::getChartRendererPath().'/jpgraph.php'); - - -/** - * PHPExcel_Chart_Renderer_jpgraph - * - * @category PHPExcel - * @package PHPExcel_Chart_Renderer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_Renderer_jpgraph -{ - private static $_width = 640; - - private static $_height = 480; - - private static $_colourSet = array( 'mediumpurple1', 'palegreen3', 'gold1', 'cadetblue1', - 'darkmagenta', 'coral', 'dodgerblue3', 'eggplant', - 'mediumblue', 'magenta', 'sandybrown', 'cyan', - 'firebrick1', 'forestgreen', 'deeppink4', 'darkolivegreen', - 'goldenrod2' - ); - - private static $_markSet = array( 'diamond' => MARK_DIAMOND, - 'square' => MARK_SQUARE, - 'triangle' => MARK_UTRIANGLE, - 'x' => MARK_X, - 'star' => MARK_STAR, - 'dot' => MARK_FILLEDCIRCLE, - 'dash' => MARK_DTRIANGLE, - 'circle' => MARK_CIRCLE, - 'plus' => MARK_CROSS - ); - - - private $_chart = null; - - private $_graph = null; - - private static $_plotColour = 0; - - private static $_plotMark = 0; - - - private function _formatPointMarker($seriesPlot,$markerID) { - $plotMarkKeys = array_keys(self::$_markSet); - if (is_null($markerID)) { - // Use default plot marker (next marker in the series) - self::$_plotMark %= count(self::$_markSet); - $seriesPlot->mark->SetType(self::$_markSet[$plotMarkKeys[self::$_plotMark++]]); - } elseif ($markerID !== 'none') { - // Use specified plot marker (if it exists) - if (isset(self::$_markSet[$markerID])) { - $seriesPlot->mark->SetType(self::$_markSet[$markerID]); - } else { - // If the specified plot marker doesn't exist, use default plot marker (next marker in the series) - self::$_plotMark %= count(self::$_markSet); - $seriesPlot->mark->SetType(self::$_markSet[$plotMarkKeys[self::$_plotMark++]]); - } - } else { - // Hide plot marker - $seriesPlot->mark->Hide(); - } - $seriesPlot->mark->SetColor(self::$_colourSet[self::$_plotColour]); - $seriesPlot->mark->SetFillColor(self::$_colourSet[self::$_plotColour]); - $seriesPlot->SetColor(self::$_colourSet[self::$_plotColour++]); - - return $seriesPlot; - } // function _formatPointMarker() - - - private function _formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation = '') { - $datasetLabelFormatCode = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getFormatCode(); - if (!is_null($datasetLabelFormatCode)) { - // Retrieve any label formatting code - $datasetLabelFormatCode = stripslashes($datasetLabelFormatCode); - } - - $testCurrentIndex = 0; - foreach($datasetLabels as $i => $datasetLabel) { - if (is_array($datasetLabel)) { - if ($rotation == 'bar') { - $datasetLabels[$i] = implode(" ",$datasetLabel); - } else { - $datasetLabel = array_reverse($datasetLabel); - $datasetLabels[$i] = implode("\n",$datasetLabel); - } - } else { - // Format labels according to any formatting code - if (!is_null($datasetLabelFormatCode)) { - $datasetLabels[$i] = PHPExcel_Style_NumberFormat::toFormattedString($datasetLabel,$datasetLabelFormatCode); - } - } - ++$testCurrentIndex; - } - - return $datasetLabels; - } // function _formatDataSetLabels() - - - private function _percentageSumCalculation($groupID,$seriesCount) { - // Adjust our values to a percentage value across all series in the group - for($i = 0; $i < $seriesCount; ++$i) { - if ($i == 0) { - $sumValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - } else { - $nextValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - foreach($nextValues as $k => $value) { - if (isset($sumValues[$k])) { - $sumValues[$k] += $value; - } else { - $sumValues[$k] = $value; - } - } - } - } - - return $sumValues; - } // function _percentageSumCalculation() - - - private function _percentageAdjustValues($dataValues,$sumValues) { - foreach($dataValues as $k => $dataValue) { - $dataValues[$k] = $dataValue / $sumValues[$k] * 100; - } - - return $dataValues; - } // function _percentageAdjustValues() - - - private function _getCaption($captionElement) { - // Read any caption - $caption = (!is_null($captionElement)) ? $captionElement->getCaption() : NULL; - // Test if we have a title caption to display - if (!is_null($caption)) { - // If we do, it could be a plain string or an array - if (is_array($caption)) { - // Implode an array to a plain string - $caption = implode('',$caption); - } - } - return $caption; - } // function _getCaption() - - - private function _renderTitle() { - $title = $this->_getCaption($this->_chart->getTitle()); - if (!is_null($title)) { - $this->_graph->title->Set($title); - } - } // function _renderTitle() - - - private function _renderLegend() { - $legend = $this->_chart->getLegend(); - if (!is_null($legend)) { - $legendPosition = $legend->getPosition(); - $legendOverlay = $legend->getOverlay(); - switch ($legendPosition) { - case 'r' : - $this->_graph->legend->SetPos(0.01,0.5,'right','center'); // right - $this->_graph->legend->SetColumns(1); - break; - case 'l' : - $this->_graph->legend->SetPos(0.01,0.5,'left','center'); // left - $this->_graph->legend->SetColumns(1); - break; - case 't' : - $this->_graph->legend->SetPos(0.5,0.01,'center','top'); // top - break; - case 'b' : - $this->_graph->legend->SetPos(0.5,0.99,'center','bottom'); // bottom - break; - default : - $this->_graph->legend->SetPos(0.01,0.01,'right','top'); // top-right - $this->_graph->legend->SetColumns(1); - break; - } - } else { - $this->_graph->legend->Hide(); - } - } // function _renderLegend() - - - private function _renderCartesianPlotArea($type='textlin') { - $this->_graph = new Graph(self::$_width,self::$_height); - $this->_graph->SetScale($type); - - $this->_renderTitle(); - - // Rotate for bar rather than column chart - $rotation = $this->_chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotDirection(); - $reverse = ($rotation == 'bar') ? true : false; - - $xAxisLabel = $this->_chart->getXAxisLabel(); - if (!is_null($xAxisLabel)) { - $title = $this->_getCaption($xAxisLabel); - if (!is_null($title)) { - $this->_graph->xaxis->SetTitle($title,'center'); - $this->_graph->xaxis->title->SetMargin(35); - if ($reverse) { - $this->_graph->xaxis->title->SetAngle(90); - $this->_graph->xaxis->title->SetMargin(90); - } - } - } - - $yAxisLabel = $this->_chart->getYAxisLabel(); - if (!is_null($yAxisLabel)) { - $title = $this->_getCaption($yAxisLabel); - if (!is_null($title)) { - $this->_graph->yaxis->SetTitle($title,'center'); - if ($reverse) { - $this->_graph->yaxis->title->SetAngle(0); - $this->_graph->yaxis->title->SetMargin(-55); - } - } - } - } // function _renderCartesianPlotArea() - - - private function _renderPiePlotArea($doughnut = False) { - $this->_graph = new PieGraph(self::$_width,self::$_height); - - $this->_renderTitle(); - } // function _renderPiePlotArea() - - - private function _renderRadarPlotArea() { - $this->_graph = new RadarGraph(self::$_width,self::$_height); - $this->_graph->SetScale('lin'); - - $this->_renderTitle(); - } // function _renderRadarPlotArea() - - - private function _renderPlotLine($groupID, $filled = false, $combination = false, $dimensions = '2d') { - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount); - $this->_graph->xaxis->SetTickLabels($datasetLabels); - } - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - if ($grouping == 'percentStacked') { - $sumValues = $this->_percentageSumCalculation($groupID,$seriesCount); - } - - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - $marker = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker(); - - if ($grouping == 'percentStacked') { - $dataValues = $this->_percentageAdjustValues($dataValues,$sumValues); - } - - // Fill in any missing values in the $dataValues array - $testCurrentIndex = 0; - foreach($dataValues as $k => $dataValue) { - while($k != $testCurrentIndex) { - $dataValues[$testCurrentIndex] = null; - ++$testCurrentIndex; - } - ++$testCurrentIndex; - } - - $seriesPlot = new LinePlot($dataValues); - if ($combination) { - $seriesPlot->SetBarCenter(); - } - - if ($filled) { - $seriesPlot->SetFilled(true); - $seriesPlot->SetColor('black'); - $seriesPlot->SetFillColor(self::$_colourSet[self::$_plotColour++]); - } else { - // Set the appropriate plot marker - $this->_formatPointMarker($seriesPlot,$marker); - } - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue(); - $seriesPlot->SetLegend($dataLabel); - - $seriesPlots[] = $seriesPlot; - } - - if ($grouping == 'standard') { - $groupPlot = $seriesPlots; - } else { - $groupPlot = new AccLinePlot($seriesPlots); - } - $this->_graph->Add($groupPlot); - } // function _renderPlotLine() - - - private function _renderPlotBar($groupID, $dimensions = '2d') { - $rotation = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotDirection(); - // Rotate for bar rather than column chart - if (($groupID == 0) && ($rotation == 'bar')) { - $this->_graph->Set90AndMargin(); - } - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount, $rotation); - // Rotate for bar rather than column chart - if ($rotation == 'bar') { - $datasetLabels = array_reverse($datasetLabels); - $this->_graph->yaxis->SetPos('max'); - $this->_graph->yaxis->SetLabelAlign('center','top'); - $this->_graph->yaxis->SetLabelSide(SIDE_RIGHT); - } - $this->_graph->xaxis->SetTickLabels($datasetLabels); - } - - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - if ($grouping == 'percentStacked') { - $sumValues = $this->_percentageSumCalculation($groupID,$seriesCount); - } - - // Loop through each data series in turn - for($j = 0; $j < $seriesCount; ++$j) { - $dataValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($j)->getDataValues(); - if ($grouping == 'percentStacked') { - $dataValues = $this->_percentageAdjustValues($dataValues,$sumValues); - } - - // Fill in any missing values in the $dataValues array - $testCurrentIndex = 0; - foreach($dataValues as $k => $dataValue) { - while($k != $testCurrentIndex) { - $dataValues[$testCurrentIndex] = null; - ++$testCurrentIndex; - } - ++$testCurrentIndex; - } - - // Reverse the $dataValues order for bar rather than column chart - if ($rotation == 'bar') { - $dataValues = array_reverse($dataValues); - } - $seriesPlot = new BarPlot($dataValues); - $seriesPlot->SetColor('black'); - $seriesPlot->SetFillColor(self::$_colourSet[self::$_plotColour++]); - if ($dimensions == '3d') { - $seriesPlot->SetShadow(); - } - if (!$this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($j)) { - $dataLabel = ''; - } else { - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($j)->getDataValue(); - } - $seriesPlot->SetLegend($dataLabel); - - $seriesPlots[] = $seriesPlot; - } - // Reverse the plot order for bar rather than column chart - if (($rotation == 'bar') && (!($grouping == 'percentStacked'))) { - $seriesPlots = array_reverse($seriesPlots); - } - - if ($grouping == 'clustered') { - $groupPlot = new GroupBarPlot($seriesPlots); - } elseif ($grouping == 'standard') { - $groupPlot = new GroupBarPlot($seriesPlots); - } else { - $groupPlot = new AccBarPlot($seriesPlots); - if ($dimensions == '3d') { - $groupPlot->SetShadow(); - } - } - - $this->_graph->Add($groupPlot); - } // function _renderPlotBar() - - - private function _renderPlotScatter($groupID,$bubble) { - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - $scatterStyle = $bubbleSize = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValuesY = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues(); - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - - foreach($dataValuesY as $k => $dataValueY) { - $dataValuesY[$k] = $k; - } - - $seriesPlot = new ScatterPlot($dataValuesX,$dataValuesY); - if ($scatterStyle == 'lineMarker') { - $seriesPlot->SetLinkPoints(); - $seriesPlot->link->SetColor(self::$_colourSet[self::$_plotColour]); - } elseif ($scatterStyle == 'smoothMarker') { - $spline = new Spline($dataValuesY,$dataValuesX); - list($splineDataY,$splineDataX) = $spline->Get(count($dataValuesX) * self::$_width / 20); - $lplot = new LinePlot($splineDataX,$splineDataY); - $lplot->SetColor(self::$_colourSet[self::$_plotColour]); - - $this->_graph->Add($lplot); - } - - if ($bubble) { - $this->_formatPointMarker($seriesPlot,'dot'); - $seriesPlot->mark->SetColor('black'); - $seriesPlot->mark->SetSize($bubbleSize); - } else { - $marker = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker(); - $this->_formatPointMarker($seriesPlot,$marker); - } - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue(); - $seriesPlot->SetLegend($dataLabel); - - $this->_graph->Add($seriesPlot); - } - } // function _renderPlotScatter() - - - private function _renderPlotRadar($groupID) { - $radarStyle = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValuesY = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues(); - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - $marker = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getPointMarker(); - - $dataValues = array(); - foreach($dataValuesY as $k => $dataValueY) { - $dataValues[$k] = implode(' ',array_reverse($dataValueY)); - } - $tmp = array_shift($dataValues); - $dataValues[] = $tmp; - $tmp = array_shift($dataValuesX); - $dataValuesX[] = $tmp; - - $this->_graph->SetTitles(array_reverse($dataValues)); - - $seriesPlot = new RadarPlot(array_reverse($dataValuesX)); - - $dataLabel = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotLabelByIndex($i)->getDataValue(); - $seriesPlot->SetColor(self::$_colourSet[self::$_plotColour++]); - if ($radarStyle == 'filled') { - $seriesPlot->SetFillColor(self::$_colourSet[self::$_plotColour]); - } - $this->_formatPointMarker($seriesPlot,$marker); - $seriesPlot->SetLegend($dataLabel); - - $this->_graph->Add($seriesPlot); - } - } // function _renderPlotRadar() - - - private function _renderPlotContour($groupID) { - $contourStyle = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - - $dataValues = array(); - // Loop through each data series in turn - for($i = 0; $i < $seriesCount; ++$i) { - $dataValuesY = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex($i)->getDataValues(); - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($i)->getDataValues(); - - $dataValues[$i] = $dataValuesX; - } - $seriesPlot = new ContourPlot($dataValues); - - $this->_graph->Add($seriesPlot); - } // function _renderPlotContour() - - - private function _renderPlotStock($groupID) { - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $plotOrder = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotOrder(); - - $dataValues = array(); - // Loop through each data series in turn and build the plot arrays - foreach($plotOrder as $i => $v) { - $dataValuesX = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($v)->getDataValues(); - foreach($dataValuesX as $j => $dataValueX) { - $dataValues[$plotOrder[$i]][$j] = $dataValueX; - } - } - if(empty($dataValues)) { - return; - } - - $dataValuesPlot = array(); - // Flatten the plot arrays to a single dimensional array to work with jpgraph - for($j = 0; $j < count($dataValues[0]); $j++) { - for($i = 0; $i < $seriesCount; $i++) { - $dataValuesPlot[] = $dataValues[$i][$j]; - } - } - - // Set the x-axis labels - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount); - $this->_graph->xaxis->SetTickLabels($datasetLabels); - } - - $seriesPlot = new StockPlot($dataValuesPlot); - $seriesPlot->SetWidth(20); - - $this->_graph->Add($seriesPlot); - } // function _renderPlotStock() - - - private function _renderAreaChart($groupCount, $dimensions = '2d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotLine($i,True,False,$dimensions); - } - } // function _renderAreaChart() - - - private function _renderLineChart($groupCount, $dimensions = '2d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotLine($i,False,False,$dimensions); - } - } // function _renderLineChart() - - - private function _renderBarChart($groupCount, $dimensions = '2d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_bar.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotBar($i,$dimensions); - } - } // function _renderBarChart() - - - private function _renderScatterChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea('linlin'); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotScatter($i,false); - } - } // function _renderScatterChart() - - - private function _renderBubbleChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php'); - - $this->_renderCartesianPlotArea('linlin'); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotScatter($i,true); - } - } // function _renderBubbleChart() - - - private function _renderPieChart($groupCount, $dimensions = '2d', $doughnut = False, $multiplePlots = False) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_pie.php'); - if ($dimensions == '3d') { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_pie3d.php'); - } - - $this->_renderPiePlotArea($doughnut); - - $iLimit = ($multiplePlots) ? $groupCount : 1; - for($groupID = 0; $groupID < $iLimit; ++$groupID) { - $grouping = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotGrouping(); - $exploded = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotStyle(); - if ($groupID == 0) { - $labelCount = count($this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex(0)->getPointCount()); - if ($labelCount > 0) { - $datasetLabels = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotCategoryByIndex(0)->getDataValues(); - $datasetLabels = $this->_formatDataSetLabels($groupID, $datasetLabels, $labelCount); - } - } - - $seriesCount = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotSeriesCount(); - $seriesPlots = array(); - // For pie charts, we only display the first series: doughnut charts generally display all series - $jLimit = ($multiplePlots) ? $seriesCount : 1; - // Loop through each data series in turn - for($j = 0; $j < $jLimit; ++$j) { - $dataValues = $this->_chart->getPlotArea()->getPlotGroupByIndex($groupID)->getPlotValuesByIndex($j)->getDataValues(); - - // Fill in any missing values in the $dataValues array - $testCurrentIndex = 0; - foreach($dataValues as $k => $dataValue) { - while($k != $testCurrentIndex) { - $dataValues[$testCurrentIndex] = null; - ++$testCurrentIndex; - } - ++$testCurrentIndex; - } - - if ($dimensions == '3d') { - $seriesPlot = new PiePlot3D($dataValues); - } else { - if ($doughnut) { - $seriesPlot = new PiePlotC($dataValues); - } else { - $seriesPlot = new PiePlot($dataValues); - } - } - - if ($multiplePlots) { - $seriesPlot->SetSize(($jLimit-$j) / ($jLimit * 4)); - } - - if ($doughnut) { - $seriesPlot->SetMidColor('white'); - } - - $seriesPlot->SetColor(self::$_colourSet[self::$_plotColour++]); - if (count($datasetLabels) > 0) - $seriesPlot->SetLabels(array_fill(0,count($datasetLabels),'')); - if ($dimensions != '3d') { - $seriesPlot->SetGuideLines(false); - } - if ($j == 0) { - if ($exploded) { - $seriesPlot->ExplodeAll(); - } - $seriesPlot->SetLegends($datasetLabels); - } - - $this->_graph->Add($seriesPlot); - } - } - } // function _renderPieChart() - - - private function _renderRadarChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_radar.php'); - - $this->_renderRadarPlotArea(); - - for($groupID = 0; $groupID < $groupCount; ++$groupID) { - $this->_renderPlotRadar($groupID); - } - } // function _renderRadarChart() - - - private function _renderStockChart($groupCount) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_stock.php'); - - $this->_renderCartesianPlotArea('intint'); - - for($groupID = 0; $groupID < $groupCount; ++$groupID) { - $this->_renderPlotStock($groupID); - } - } // function _renderStockChart() - - - private function _renderContourChart($groupCount,$dimensions) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_contour.php'); - - $this->_renderCartesianPlotArea('intint'); - - for($i = 0; $i < $groupCount; ++$i) { - $this->_renderPlotContour($i); - } - } // function _renderContourChart() - - - private function _renderCombinationChart($groupCount,$dimensions,$outputDestination) { - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_bar.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_scatter.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_regstat.php'); - require_once(PHPExcel_Settings::getChartRendererPath().'jpgraph_line.php'); - - $this->_renderCartesianPlotArea(); - - for($i = 0; $i < $groupCount; ++$i) { - $dimensions = null; - $chartType = $this->_chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType(); - switch ($chartType) { - case 'area3DChart' : - $dimensions = '3d'; - case 'areaChart' : - $this->_renderPlotLine($i,True,True,$dimensions); - break; - case 'bar3DChart' : - $dimensions = '3d'; - case 'barChart' : - $this->_renderPlotBar($i,$dimensions); - break; - case 'line3DChart' : - $dimensions = '3d'; - case 'lineChart' : - $this->_renderPlotLine($i,False,True,$dimensions); - break; - case 'scatterChart' : - $this->_renderPlotScatter($i,false); - break; - case 'bubbleChart' : - $this->_renderPlotScatter($i,true); - break; - default : - $this->_graph = null; - return false; - } - } - - $this->_renderLegend(); - - $this->_graph->Stroke($outputDestination); - return true; - } // function _renderCombinationChart() - - - public function render($outputDestination) { - self::$_plotColour = 0; - - $groupCount = $this->_chart->getPlotArea()->getPlotGroupCount(); - - $dimensions = null; - if ($groupCount == 1) { - $chartType = $this->_chart->getPlotArea()->getPlotGroupByIndex(0)->getPlotType(); - } else { - $chartTypes = array(); - for($i = 0; $i < $groupCount; ++$i) { - $chartTypes[] = $this->_chart->getPlotArea()->getPlotGroupByIndex($i)->getPlotType(); - } - $chartTypes = array_unique($chartTypes); - if (count($chartTypes) == 1) { - $chartType = array_pop($chartTypes); - } elseif (count($chartTypes) == 0) { - echo 'Chart is not yet implemented<br />'; - return false; - } else { - return $this->_renderCombinationChart($groupCount,$dimensions,$outputDestination); - } - } - - switch ($chartType) { - case 'area3DChart' : - $dimensions = '3d'; - case 'areaChart' : - $this->_renderAreaChart($groupCount,$dimensions); - break; - case 'bar3DChart' : - $dimensions = '3d'; - case 'barChart' : - $this->_renderBarChart($groupCount,$dimensions); - break; - case 'line3DChart' : - $dimensions = '3d'; - case 'lineChart' : - $this->_renderLineChart($groupCount,$dimensions); - break; - case 'pie3DChart' : - $dimensions = '3d'; - case 'pieChart' : - $this->_renderPieChart($groupCount,$dimensions,False,False); - break; - case 'doughnut3DChart' : - $dimensions = '3d'; - case 'doughnutChart' : - $this->_renderPieChart($groupCount,$dimensions,True,True); - break; - case 'scatterChart' : - $this->_renderScatterChart($groupCount); - break; - case 'bubbleChart' : - $this->_renderBubbleChart($groupCount); - break; - case 'radarChart' : - $this->_renderRadarChart($groupCount); - break; - case 'surface3DChart' : - $dimensions = '3d'; - case 'surfaceChart' : - $this->_renderContourChart($groupCount,$dimensions); - break; - case 'stockChart' : - $this->_renderStockChart($groupCount,$dimensions); - break; - default : - echo $chartType.' is not yet implemented<br />'; - return false; - } - $this->_renderLegend(); - - $this->_graph->Stroke($outputDestination); - return true; - } // function render() - - - /** - * Create a new PHPExcel_Chart_Renderer_jpgraph - */ - public function __construct(PHPExcel_Chart $chart) - { - $this->_graph = null; - $this->_chart = $chart; - } // function __construct() - -} // PHPExcel_Chart_Renderer_jpgraph diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Title.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Title.php deleted file mode 100644 index 5d226c4b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/Title.php +++ /dev/null @@ -1,92 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Chart_Title - * - * @category PHPExcel - * @package PHPExcel_Chart - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Chart_Title -{ - - /** - * Title Caption - * - * @var string - */ - private $_caption = null; - - /** - * Title Layout - * - * @var PHPExcel_Chart_Layout - */ - private $_layout = null; - - /** - * Create a new PHPExcel_Chart_Title - */ - public function __construct($caption = null, PHPExcel_Chart_Layout $layout = null) - { - $this->_caption = $caption; - $this->_layout = $layout; - } - - /** - * Get caption - * - * @return string - */ - public function getCaption() { - return $this->_caption; - } - - /** - * Set caption - * - * @param string $caption - * @return PHPExcel_Chart_Title - */ - public function setCaption($caption = null) { - $this->_caption = $caption; - - return $this; - } - - /** - * Get Layout - * - * @return PHPExcel_Chart_Layout - */ - public function getLayout() { - return $this->_layout; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Chart/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Comment.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Comment.php deleted file mode 100644 index 8b8cfdcc4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Comment.php +++ /dev/null @@ -1,327 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Comment - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Comment implements PHPExcel_IComparable -{ - /** - * Author - * - * @var string - */ - private $_author; - - /** - * Rich text comment - * - * @var PHPExcel_RichText - */ - private $_text; - - /** - * Comment width (CSS style, i.e. XXpx or YYpt) - * - * @var string - */ - private $_width = '96pt'; - - /** - * Left margin (CSS style, i.e. XXpx or YYpt) - * - * @var string - */ - private $_marginLeft = '59.25pt'; - - /** - * Top margin (CSS style, i.e. XXpx or YYpt) - * - * @var string - */ - private $_marginTop = '1.5pt'; - - /** - * Visible - * - * @var boolean - */ - private $_visible = false; - - /** - * Comment height (CSS style, i.e. XXpx or YYpt) - * - * @var string - */ - private $_height = '55.5pt'; - - /** - * Comment fill color - * - * @var PHPExcel_Style_Color - */ - private $_fillColor; - - /** - * Alignment - * - * @var string - */ - private $_alignment; - - /** - * Create a new PHPExcel_Comment - * - * @throws PHPExcel_Exception - */ - public function __construct() - { - // Initialise variables - $this->_author = 'Author'; - $this->_text = new PHPExcel_RichText(); - $this->_fillColor = new PHPExcel_Style_Color('FFFFFFE1'); - $this->_alignment = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - } - - /** - * Get Author - * - * @return string - */ - public function getAuthor() { - return $this->_author; - } - - /** - * Set Author - * - * @param string $pValue - * @return PHPExcel_Comment - */ - public function setAuthor($pValue = '') { - $this->_author = $pValue; - return $this; - } - - /** - * Get Rich text comment - * - * @return PHPExcel_RichText - */ - public function getText() { - return $this->_text; - } - - /** - * Set Rich text comment - * - * @param PHPExcel_RichText $pValue - * @return PHPExcel_Comment - */ - public function setText(PHPExcel_RichText $pValue) { - $this->_text = $pValue; - return $this; - } - - /** - * Get comment width (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set comment width (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setWidth($value = '96pt') { - $this->_width = $value; - return $this; - } - - /** - * Get comment height (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set comment height (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setHeight($value = '55.5pt') { - $this->_height = $value; - return $this; - } - - /** - * Get left margin (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getMarginLeft() { - return $this->_marginLeft; - } - - /** - * Set left margin (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setMarginLeft($value = '59.25pt') { - $this->_marginLeft = $value; - return $this; - } - - /** - * Get top margin (CSS style, i.e. XXpx or YYpt) - * - * @return string - */ - public function getMarginTop() { - return $this->_marginTop; - } - - /** - * Set top margin (CSS style, i.e. XXpx or YYpt) - * - * @param string $value - * @return PHPExcel_Comment - */ - public function setMarginTop($value = '1.5pt') { - $this->_marginTop = $value; - return $this; - } - - /** - * Is the comment visible by default? - * - * @return boolean - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set comment default visibility - * - * @param boolean $value - * @return PHPExcel_Comment - */ - public function setVisible($value = false) { - $this->_visible = $value; - return $this; - } - - /** - * Get fill color - * - * @return PHPExcel_Style_Color - */ - public function getFillColor() { - return $this->_fillColor; - } - - /** - * Set Alignment - * - * @param string $pValue - * @return PHPExcel_Comment - */ - public function setAlignment($pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL) { - $this->_alignment = $pValue; - return $this; - } - - /** - * Get Alignment - * - * @return string - */ - public function getAlignment() { - return $this->_alignment; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_author - . $this->_text->getHashCode() - . $this->_width - . $this->_height - . $this->_marginLeft - . $this->_marginTop - . ($this->_visible ? 1 : 0) - . $this->_fillColor->getHashCode() - . $this->_alignment - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - - /** - * Convert to string - * - * @return string - */ - public function __toString() { - return $this->_text->getPlainText(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/DocumentProperties.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/DocumentProperties.php deleted file mode 100644 index 7b4a0e435..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/DocumentProperties.php +++ /dev/null @@ -1,587 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_DocumentProperties - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_DocumentProperties -{ - /** constants */ - const PROPERTY_TYPE_BOOLEAN = 'b'; - const PROPERTY_TYPE_INTEGER = 'i'; - const PROPERTY_TYPE_FLOAT = 'f'; - const PROPERTY_TYPE_DATE = 'd'; - const PROPERTY_TYPE_STRING = 's'; - const PROPERTY_TYPE_UNKNOWN = 'u'; - - /** - * Creator - * - * @var string - */ - private $_creator = 'Unknown Creator'; - - /** - * LastModifiedBy - * - * @var string - */ - private $_lastModifiedBy; - - /** - * Created - * - * @var datetime - */ - private $_created; - - /** - * Modified - * - * @var datetime - */ - private $_modified; - - /** - * Title - * - * @var string - */ - private $_title = 'Untitled Spreadsheet'; - - /** - * Description - * - * @var string - */ - private $_description = ''; - - /** - * Subject - * - * @var string - */ - private $_subject = ''; - - /** - * Keywords - * - * @var string - */ - private $_keywords = ''; - - /** - * Category - * - * @var string - */ - private $_category = ''; - - /** - * Manager - * - * @var string - */ - private $_manager = ''; - - /** - * Company - * - * @var string - */ - private $_company = 'Microsoft Corporation'; - - /** - * Custom Properties - * - * @var string - */ - private $_customProperties = array(); - - - /** - * Create a new PHPExcel_DocumentProperties - */ - public function __construct() - { - // Initialise values - $this->_lastModifiedBy = $this->_creator; - $this->_created = time(); - $this->_modified = time(); - } - - /** - * Get Creator - * - * @return string - */ - public function getCreator() { - return $this->_creator; - } - - /** - * Set Creator - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCreator($pValue = '') { - $this->_creator = $pValue; - return $this; - } - - /** - * Get Last Modified By - * - * @return string - */ - public function getLastModifiedBy() { - return $this->_lastModifiedBy; - } - - /** - * Set Last Modified By - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setLastModifiedBy($pValue = '') { - $this->_lastModifiedBy = $pValue; - return $this; - } - - /** - * Get Created - * - * @return datetime - */ - public function getCreated() { - return $this->_created; - } - - /** - * Set Created - * - * @param datetime $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCreated($pValue = null) { - if ($pValue === NULL) { - $pValue = time(); - } elseif (is_string($pValue)) { - if (is_numeric($pValue)) { - $pValue = intval($pValue); - } else { - $pValue = strtotime($pValue); - } - } - - $this->_created = $pValue; - return $this; - } - - /** - * Get Modified - * - * @return datetime - */ - public function getModified() { - return $this->_modified; - } - - /** - * Set Modified - * - * @param datetime $pValue - * @return PHPExcel_DocumentProperties - */ - public function setModified($pValue = null) { - if ($pValue === NULL) { - $pValue = time(); - } elseif (is_string($pValue)) { - if (is_numeric($pValue)) { - $pValue = intval($pValue); - } else { - $pValue = strtotime($pValue); - } - } - - $this->_modified = $pValue; - return $this; - } - - /** - * Get Title - * - * @return string - */ - public function getTitle() { - return $this->_title; - } - - /** - * Set Title - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setTitle($pValue = '') { - $this->_title = $pValue; - return $this; - } - - /** - * Get Description - * - * @return string - */ - public function getDescription() { - return $this->_description; - } - - /** - * Set Description - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setDescription($pValue = '') { - $this->_description = $pValue; - return $this; - } - - /** - * Get Subject - * - * @return string - */ - public function getSubject() { - return $this->_subject; - } - - /** - * Set Subject - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setSubject($pValue = '') { - $this->_subject = $pValue; - return $this; - } - - /** - * Get Keywords - * - * @return string - */ - public function getKeywords() { - return $this->_keywords; - } - - /** - * Set Keywords - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setKeywords($pValue = '') { - $this->_keywords = $pValue; - return $this; - } - - /** - * Get Category - * - * @return string - */ - public function getCategory() { - return $this->_category; - } - - /** - * Set Category - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCategory($pValue = '') { - $this->_category = $pValue; - return $this; - } - - /** - * Get Company - * - * @return string - */ - public function getCompany() { - return $this->_company; - } - - /** - * Set Company - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setCompany($pValue = '') { - $this->_company = $pValue; - return $this; - } - - /** - * Get Manager - * - * @return string - */ - public function getManager() { - return $this->_manager; - } - - /** - * Set Manager - * - * @param string $pValue - * @return PHPExcel_DocumentProperties - */ - public function setManager($pValue = '') { - $this->_manager = $pValue; - return $this; - } - - /** - * Get a List of Custom Property Names - * - * @return array of string - */ - public function getCustomProperties() { - return array_keys($this->_customProperties); - } - - /** - * Check if a Custom Property is defined - * - * @param string $propertyName - * @return boolean - */ - public function isCustomPropertySet($propertyName) { - return isset($this->_customProperties[$propertyName]); - } - - /** - * Get a Custom Property Value - * - * @param string $propertyName - * @return string - */ - public function getCustomPropertyValue($propertyName) { - if (isset($this->_customProperties[$propertyName])) { - return $this->_customProperties[$propertyName]['value']; - } - - } - - /** - * Get a Custom Property Type - * - * @param string $propertyName - * @return string - */ - public function getCustomPropertyType($propertyName) { - if (isset($this->_customProperties[$propertyName])) { - return $this->_customProperties[$propertyName]['type']; - } - - } - - /** - * Set a Custom Property - * - * @param string $propertyName - * @param mixed $propertyValue - * @param string $propertyType - * 'i' : Integer - * 'f' : Floating Point - * 's' : String - * 'd' : Date/Time - * 'b' : Boolean - * @return PHPExcel_DocumentProperties - */ - public function setCustomProperty($propertyName,$propertyValue='',$propertyType=NULL) { - if (($propertyType === NULL) || (!in_array($propertyType,array(self::PROPERTY_TYPE_INTEGER, - self::PROPERTY_TYPE_FLOAT, - self::PROPERTY_TYPE_STRING, - self::PROPERTY_TYPE_DATE, - self::PROPERTY_TYPE_BOOLEAN)))) { - if ($propertyValue === NULL) { - $propertyType = self::PROPERTY_TYPE_STRING; - } elseif (is_float($propertyValue)) { - $propertyType = self::PROPERTY_TYPE_FLOAT; - } elseif(is_int($propertyValue)) { - $propertyType = self::PROPERTY_TYPE_INTEGER; - } elseif (is_bool($propertyValue)) { - $propertyType = self::PROPERTY_TYPE_BOOLEAN; - } else { - $propertyType = self::PROPERTY_TYPE_STRING; - } - } - - $this->_customProperties[$propertyName] = array('value' => $propertyValue, 'type' => $propertyType); - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - - public static function convertProperty($propertyValue,$propertyType) { - switch ($propertyType) { - case 'empty' : // Empty - return ''; - break; - case 'null' : // Null - return NULL; - break; - case 'i1' : // 1-Byte Signed Integer - case 'i2' : // 2-Byte Signed Integer - case 'i4' : // 4-Byte Signed Integer - case 'i8' : // 8-Byte Signed Integer - case 'int' : // Integer - return (int) $propertyValue; - break; - case 'ui1' : // 1-Byte Unsigned Integer - case 'ui2' : // 2-Byte Unsigned Integer - case 'ui4' : // 4-Byte Unsigned Integer - case 'ui8' : // 8-Byte Unsigned Integer - case 'uint' : // Unsigned Integer - return abs((int) $propertyValue); - break; - case 'r4' : // 4-Byte Real Number - case 'r8' : // 8-Byte Real Number - case 'decimal' : // Decimal - return (float) $propertyValue; - break; - case 'lpstr' : // LPSTR - case 'lpwstr' : // LPWSTR - case 'bstr' : // Basic String - return $propertyValue; - break; - case 'date' : // Date and Time - case 'filetime' : // File Time - return strtotime($propertyValue); - break; - case 'bool' : // Boolean - return ($propertyValue == 'true') ? True : False; - break; - case 'cy' : // Currency - case 'error' : // Error Status Code - case 'vector' : // Vector - case 'array' : // Array - case 'blob' : // Binary Blob - case 'oblob' : // Binary Blob Object - case 'stream' : // Binary Stream - case 'ostream' : // Binary Stream Object - case 'storage' : // Binary Storage - case 'ostorage' : // Binary Storage Object - case 'vstream' : // Binary Versioned Stream - case 'clsid' : // Class ID - case 'cf' : // Clipboard Data - return $propertyValue; - break; - } - return $propertyValue; - } - - public static function convertPropertyType($propertyType) { - switch ($propertyType) { - case 'i1' : // 1-Byte Signed Integer - case 'i2' : // 2-Byte Signed Integer - case 'i4' : // 4-Byte Signed Integer - case 'i8' : // 8-Byte Signed Integer - case 'int' : // Integer - case 'ui1' : // 1-Byte Unsigned Integer - case 'ui2' : // 2-Byte Unsigned Integer - case 'ui4' : // 4-Byte Unsigned Integer - case 'ui8' : // 8-Byte Unsigned Integer - case 'uint' : // Unsigned Integer - return self::PROPERTY_TYPE_INTEGER; - break; - case 'r4' : // 4-Byte Real Number - case 'r8' : // 8-Byte Real Number - case 'decimal' : // Decimal - return self::PROPERTY_TYPE_FLOAT; - break; - case 'empty' : // Empty - case 'null' : // Null - case 'lpstr' : // LPSTR - case 'lpwstr' : // LPWSTR - case 'bstr' : // Basic String - return self::PROPERTY_TYPE_STRING; - break; - case 'date' : // Date and Time - case 'filetime' : // File Time - return self::PROPERTY_TYPE_DATE; - break; - case 'bool' : // Boolean - return self::PROPERTY_TYPE_BOOLEAN; - break; - case 'cy' : // Currency - case 'error' : // Error Status Code - case 'vector' : // Vector - case 'array' : // Array - case 'blob' : // Binary Blob - case 'oblob' : // Binary Blob Object - case 'stream' : // Binary Stream - case 'ostream' : // Binary Stream Object - case 'storage' : // Binary Storage - case 'ostorage' : // Binary Storage Object - case 'vstream' : // Binary Versioned Stream - case 'clsid' : // Class ID - case 'cf' : // Clipboard Data - return self::PROPERTY_TYPE_UNKNOWN; - break; - } - return self::PROPERTY_TYPE_UNKNOWN; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/DocumentSecurity.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/DocumentSecurity.php deleted file mode 100644 index cf7ffb57c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/DocumentSecurity.php +++ /dev/null @@ -1,218 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_DocumentSecurity - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_DocumentSecurity -{ - /** - * LockRevision - * - * @var boolean - */ - private $_lockRevision; - - /** - * LockStructure - * - * @var boolean - */ - private $_lockStructure; - - /** - * LockWindows - * - * @var boolean - */ - private $_lockWindows; - - /** - * RevisionsPassword - * - * @var string - */ - private $_revisionsPassword; - - /** - * WorkbookPassword - * - * @var string - */ - private $_workbookPassword; - - /** - * Create a new PHPExcel_DocumentSecurity - */ - public function __construct() - { - // Initialise values - $this->_lockRevision = false; - $this->_lockStructure = false; - $this->_lockWindows = false; - $this->_revisionsPassword = ''; - $this->_workbookPassword = ''; - } - - /** - * Is some sort of dcument security enabled? - * - * @return boolean - */ - function isSecurityEnabled() { - return $this->_lockRevision || - $this->_lockStructure || - $this->_lockWindows; - } - - /** - * Get LockRevision - * - * @return boolean - */ - function getLockRevision() { - return $this->_lockRevision; - } - - /** - * Set LockRevision - * - * @param boolean $pValue - * @return PHPExcel_DocumentSecurity - */ - function setLockRevision($pValue = false) { - $this->_lockRevision = $pValue; - return $this; - } - - /** - * Get LockStructure - * - * @return boolean - */ - function getLockStructure() { - return $this->_lockStructure; - } - - /** - * Set LockStructure - * - * @param boolean $pValue - * @return PHPExcel_DocumentSecurity - */ - function setLockStructure($pValue = false) { - $this->_lockStructure = $pValue; - return $this; - } - - /** - * Get LockWindows - * - * @return boolean - */ - function getLockWindows() { - return $this->_lockWindows; - } - - /** - * Set LockWindows - * - * @param boolean $pValue - * @return PHPExcel_DocumentSecurity - */ - function setLockWindows($pValue = false) { - $this->_lockWindows = $pValue; - return $this; - } - - /** - * Get RevisionsPassword (hashed) - * - * @return string - */ - function getRevisionsPassword() { - return $this->_revisionsPassword; - } - - /** - * Set RevisionsPassword - * - * @param string $pValue - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @return PHPExcel_DocumentSecurity - */ - function setRevisionsPassword($pValue = '', $pAlreadyHashed = false) { - if (!$pAlreadyHashed) { - $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue); - } - $this->_revisionsPassword = $pValue; - return $this; - } - - /** - * Get WorkbookPassword (hashed) - * - * @return string - */ - function getWorkbookPassword() { - return $this->_workbookPassword; - } - - /** - * Set WorkbookPassword - * - * @param string $pValue - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @return PHPExcel_DocumentSecurity - */ - function setWorkbookPassword($pValue = '', $pAlreadyHashed = false) { - if (!$pAlreadyHashed) { - $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue); - } - $this->_workbookPassword = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Exception.php deleted file mode 100644 index 578b9eeee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Exception - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Exception extends Exception { - /** - * Error handler callback - * - * @param mixed $code - * @param mixed $string - * @param mixed $file - * @param mixed $line - * @param mixed $context - */ - public static function errorHandlerCallback($code, $string, $file, $line, $context) { - $e = new self($string, $code); - $e->line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/HashTable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/HashTable.php deleted file mode 100644 index 77106e1e0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/HashTable.php +++ /dev/null @@ -1,202 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_HashTable - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_HashTable -{ - /** - * HashTable elements - * - * @var array - */ - public $_items = array(); - - /** - * HashTable key map - * - * @var array - */ - public $_keyMap = array(); - - /** - * Create a new PHPExcel_HashTable - * - * @param PHPExcel_IComparable[] $pSource Optional source array to create HashTable from - * @throws PHPExcel_Exception - */ - public function __construct($pSource = null) - { - if ($pSource !== NULL) { - // Create HashTable - $this->addFromSource($pSource); - } - } - - /** - * Add HashTable items from source - * - * @param PHPExcel_IComparable[] $pSource Source array to create HashTable from - * @throws PHPExcel_Exception - */ - public function addFromSource($pSource = null) { - // Check if an array was passed - if ($pSource == null) { - return; - } else if (!is_array($pSource)) { - throw new PHPExcel_Exception('Invalid array parameter passed.'); - } - - foreach ($pSource as $item) { - $this->add($item); - } - } - - /** - * Add HashTable item - * - * @param PHPExcel_IComparable $pSource Item to add - * @throws PHPExcel_Exception - */ - public function add(PHPExcel_IComparable $pSource = null) { - $hash = $pSource->getHashCode(); - if (!isset($this->_items[$hash])) { - $this->_items[$hash] = $pSource; - $this->_keyMap[count($this->_items) - 1] = $hash; - } - } - - /** - * Remove HashTable item - * - * @param PHPExcel_IComparable $pSource Item to remove - * @throws PHPExcel_Exception - */ - public function remove(PHPExcel_IComparable $pSource = null) { - $hash = $pSource->getHashCode(); - if (isset($this->_items[$hash])) { - unset($this->_items[$hash]); - - $deleteKey = -1; - foreach ($this->_keyMap as $key => $value) { - if ($deleteKey >= 0) { - $this->_keyMap[$key - 1] = $value; - } - - if ($value == $hash) { - $deleteKey = $key; - } - } - unset($this->_keyMap[count($this->_keyMap) - 1]); - } - } - - /** - * Clear HashTable - * - */ - public function clear() { - $this->_items = array(); - $this->_keyMap = array(); - } - - /** - * Count - * - * @return int - */ - public function count() { - return count($this->_items); - } - - /** - * Get index for hash code - * - * @param string $pHashCode - * @return int Index - */ - public function getIndexForHashCode($pHashCode = '') { - return array_search($pHashCode, $this->_keyMap); - } - - /** - * Get by index - * - * @param int $pIndex - * @return PHPExcel_IComparable - * - */ - public function getByIndex($pIndex = 0) { - if (isset($this->_keyMap[$pIndex])) { - return $this->getByHashCode( $this->_keyMap[$pIndex] ); - } - - return null; - } - - /** - * Get by hashcode - * - * @param string $pHashCode - * @return PHPExcel_IComparable - * - */ - public function getByHashCode($pHashCode = '') { - if (isset($this->_items[$pHashCode])) { - return $this->_items[$pHashCode]; - } - - return null; - } - - /** - * HashTable to array - * - * @return PHPExcel_IComparable[] - */ - public function toArray() { - return $this->_items; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/IComparable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/IComparable.php deleted file mode 100644 index adb9a016d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/IComparable.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php -/** - * PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_IComparable - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_IComparable -{ - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode(); - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/IOFactory.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/IOFactory.php deleted file mode 100644 index 1daa06a53..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/IOFactory.php +++ /dev/null @@ -1,288 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_IOFactory - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_IOFactory -{ - /** - * Search locations - * - * @var array - * @access private - * @static - */ - private static $_searchLocations = array( - array( 'type' => 'IWriter', 'path' => 'PHPExcel/Writer/{0}.php', 'class' => 'PHPExcel_Writer_{0}' ), - array( 'type' => 'IReader', 'path' => 'PHPExcel/Reader/{0}.php', 'class' => 'PHPExcel_Reader_{0}' ) - ); - - /** - * Autoresolve classes - * - * @var array - * @access private - * @static - */ - private static $_autoResolveClasses = array( - 'Excel2007', - 'Excel5', - 'Excel2003XML', - 'OOCalc', - 'SYLK', - 'Gnumeric', - 'HTML', - 'CSV', - ); - - /** - * Private constructor for PHPExcel_IOFactory - */ - private function __construct() { } - - /** - * Get search locations - * - * @static - * @access public - * @return array - */ - public static function getSearchLocations() { - return self::$_searchLocations; - } // function getSearchLocations() - - /** - * Set search locations - * - * @static - * @access public - * @param array $value - * @throws PHPExcel_Reader_Exception - */ - public static function setSearchLocations($value) { - if (is_array($value)) { - self::$_searchLocations = $value; - } else { - throw new PHPExcel_Reader_Exception('Invalid parameter passed.'); - } - } // function setSearchLocations() - - /** - * Add search location - * - * @static - * @access public - * @param string $type Example: IWriter - * @param string $location Example: PHPExcel/Writer/{0}.php - * @param string $classname Example: PHPExcel_Writer_{0} - */ - public static function addSearchLocation($type = '', $location = '', $classname = '') { - self::$_searchLocations[] = array( 'type' => $type, 'path' => $location, 'class' => $classname ); - } // function addSearchLocation() - - /** - * Create PHPExcel_Writer_IWriter - * - * @static - * @access public - * @param PHPExcel $phpExcel - * @param string $writerType Example: Excel2007 - * @return PHPExcel_Writer_IWriter - * @throws PHPExcel_Reader_Exception - */ - public static function createWriter(PHPExcel $phpExcel, $writerType = '') { - // Search type - $searchType = 'IWriter'; - - // Include class - foreach (self::$_searchLocations as $searchLocation) { - if ($searchLocation['type'] == $searchType) { - $className = str_replace('{0}', $writerType, $searchLocation['class']); - - $instance = new $className($phpExcel); - if ($instance !== NULL) { - return $instance; - } - } - } - - // Nothing found... - throw new PHPExcel_Reader_Exception("No $searchType found for type $writerType"); - } // function createWriter() - - /** - * Create PHPExcel_Reader_IReader - * - * @static - * @access public - * @param string $readerType Example: Excel2007 - * @return PHPExcel_Reader_IReader - * @throws PHPExcel_Reader_Exception - */ - public static function createReader($readerType = '') { - // Search type - $searchType = 'IReader'; - - // Include class - foreach (self::$_searchLocations as $searchLocation) { - if ($searchLocation['type'] == $searchType) { - $className = str_replace('{0}', $readerType, $searchLocation['class']); - - $instance = new $className(); - if ($instance !== NULL) { - return $instance; - } - } - } - - // Nothing found... - throw new PHPExcel_Reader_Exception("No $searchType found for type $readerType"); - } // function createReader() - - /** - * Loads PHPExcel from file using automatic PHPExcel_Reader_IReader resolution - * - * @static - * @access public - * @param string $pFilename The name of the spreadsheet file - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public static function load($pFilename) { - $reader = self::createReaderForFile($pFilename); - return $reader->load($pFilename); - } // function load() - - /** - * Identify file type using automatic PHPExcel_Reader_IReader resolution - * - * @static - * @access public - * @param string $pFilename The name of the spreadsheet file to identify - * @return string - * @throws PHPExcel_Reader_Exception - */ - public static function identify($pFilename) { - $reader = self::createReaderForFile($pFilename); - $className = get_class($reader); - $classType = explode('_',$className); - unset($reader); - return array_pop($classType); - } // function identify() - - /** - * Create PHPExcel_Reader_IReader for file using automatic PHPExcel_Reader_IReader resolution - * - * @static - * @access public - * @param string $pFilename The name of the spreadsheet file - * @return PHPExcel_Reader_IReader - * @throws PHPExcel_Reader_Exception - */ - public static function createReaderForFile($pFilename) { - - // First, lucky guess by inspecting file extension - $pathinfo = pathinfo($pFilename); - - $extensionType = NULL; - if (isset($pathinfo['extension'])) { - switch (strtolower($pathinfo['extension'])) { - case 'xlsx': // Excel (OfficeOpenXML) Spreadsheet - case 'xlsm': // Excel (OfficeOpenXML) Macro Spreadsheet (macros will be discarded) - case 'xltx': // Excel (OfficeOpenXML) Template - case 'xltm': // Excel (OfficeOpenXML) Macro Template (macros will be discarded) - $extensionType = 'Excel2007'; - break; - case 'xls': // Excel (BIFF) Spreadsheet - case 'xlt': // Excel (BIFF) Template - $extensionType = 'Excel5'; - break; - case 'ods': // Open/Libre Offic Calc - case 'ots': // Open/Libre Offic Calc Template - $extensionType = 'OOCalc'; - break; - case 'slk': - $extensionType = 'SYLK'; - break; - case 'xml': // Excel 2003 SpreadSheetML - $extensionType = 'Excel2003XML'; - break; - case 'gnumeric': - $extensionType = 'Gnumeric'; - break; - case 'htm': - case 'html': - $extensionType = 'HTML'; - break; - case 'csv': - // Do nothing - // We must not try to use CSV reader since it loads - // all files including Excel files etc. - break; - default: - break; - } - - if ($extensionType !== NULL) { - $reader = self::createReader($extensionType); - // Let's see if we are lucky - if (isset($reader) && $reader->canRead($pFilename)) { - return $reader; - } - } - } - - // If we reach here then "lucky guess" didn't give any result - // Try walking through all the options in self::$_autoResolveClasses - foreach (self::$_autoResolveClasses as $autoResolveClass) { - // Ignore our original guess, we know that won't work - if ($autoResolveClass !== $extensionType) { - $reader = self::createReader($autoResolveClass); - if ($reader->canRead($pFilename)) { - return $reader; - } - } - } - - throw new PHPExcel_Reader_Exception('Unable to identify a reader for this file'); - } // function createReaderForFile() -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/NamedRange.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/NamedRange.php deleted file mode 100644 index fe245e3ee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/NamedRange.php +++ /dev/null @@ -1,246 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_NamedRange - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_NamedRange -{ - /** - * Range name - * - * @var string - */ - private $_name; - - /** - * Worksheet on which the named range can be resolved - * - * @var PHPExcel_Worksheet - */ - private $_worksheet; - - /** - * Range of the referenced cells - * - * @var string - */ - private $_range; - - /** - * Is the named range local? (i.e. can only be used on $this->_worksheet) - * - * @var bool - */ - private $_localOnly; - - /** - * Scope - * - * @var PHPExcel_Worksheet - */ - private $_scope; - - /** - * Create a new NamedRange - * - * @param string $pName - * @param PHPExcel_Worksheet $pWorksheet - * @param string $pRange - * @param bool $pLocalOnly - * @param PHPExcel_Worksheet|null $pScope Scope. Only applies when $pLocalOnly = true. Null for global scope. - * @throws PHPExcel_Exception - */ - public function __construct($pName = null, PHPExcel_Worksheet $pWorksheet, $pRange = 'A1', $pLocalOnly = false, $pScope = null) - { - // Validate data - if (($pName === NULL) || ($pWorksheet === NULL) || ($pRange === NULL)) { - throw new PHPExcel_Exception('Parameters can not be null.'); - } - - // Set local members - $this->_name = $pName; - $this->_worksheet = $pWorksheet; - $this->_range = $pRange; - $this->_localOnly = $pLocalOnly; - $this->_scope = ($pLocalOnly == true) ? - (($pScope == null) ? $pWorksheet : $pScope) : null; - } - - /** - * Get name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Set name - * - * @param string $value - * @return PHPExcel_NamedRange - */ - public function setName($value = null) { - if ($value !== NULL) { - // Old title - $oldTitle = $this->_name; - - // Re-attach - if ($this->_worksheet !== NULL) { - $this->_worksheet->getParent()->removeNamedRange($this->_name,$this->_worksheet); - } - $this->_name = $value; - - if ($this->_worksheet !== NULL) { - $this->_worksheet->getParent()->addNamedRange($this); - } - - // New title - $newTitle = $this->_name; - PHPExcel_ReferenceHelper::getInstance()->updateNamedFormulas($this->_worksheet->getParent(), $oldTitle, $newTitle); - } - return $this; - } - - /** - * Get worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_worksheet; - } - - /** - * Set worksheet - * - * @param PHPExcel_Worksheet $value - * @return PHPExcel_NamedRange - */ - public function setWorksheet(PHPExcel_Worksheet $value = null) { - if ($value !== NULL) { - $this->_worksheet = $value; - } - return $this; - } - - /** - * Get range - * - * @return string - */ - public function getRange() { - return $this->_range; - } - - /** - * Set range - * - * @param string $value - * @return PHPExcel_NamedRange - */ - public function setRange($value = null) { - if ($value !== NULL) { - $this->_range = $value; - } - return $this; - } - - /** - * Get localOnly - * - * @return bool - */ - public function getLocalOnly() { - return $this->_localOnly; - } - - /** - * Set localOnly - * - * @param bool $value - * @return PHPExcel_NamedRange - */ - public function setLocalOnly($value = false) { - $this->_localOnly = $value; - $this->_scope = $value ? $this->_worksheet : null; - return $this; - } - - /** - * Get scope - * - * @return PHPExcel_Worksheet|null - */ - public function getScope() { - return $this->_scope; - } - - /** - * Set scope - * - * @param PHPExcel_Worksheet|null $value - * @return PHPExcel_NamedRange - */ - public function setScope(PHPExcel_Worksheet $value = null) { - $this->_scope = $value; - $this->_localOnly = ($value == null) ? false : true; - return $this; - } - - /** - * Resolve a named range to a regular cell range - * - * @param string $pNamedRange Named range - * @param PHPExcel_Worksheet|null $pSheet Scope. Use null for global scope - * @return PHPExcel_NamedRange - */ - public static function resolveRange($pNamedRange = '', PHPExcel_Worksheet $pSheet) { - return $pSheet->getParent()->getNamedRange($pNamedRange, $pSheet); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Abstract.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Abstract.php deleted file mode 100644 index 1a6b422ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Abstract.php +++ /dev/null @@ -1,230 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_Abstract - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Read data only? - * Identifies whether the Reader should only read data values for cells, and ignore any formatting information; - * or whether it should read both data and formatting - * - * @var boolean - */ - protected $_readDataOnly = FALSE; - - /** - * Read charts that are defined in the workbook? - * Identifies whether the Reader should read the definitions for any charts that exist in the workbook; - * - * @var boolean - */ - protected $_includeCharts = FALSE; - - /** - * Restrict which sheets should be loaded? - * This property holds an array of worksheet names to be loaded. If null, then all worksheets will be loaded. - * - * @var array of string - */ - protected $_loadSheetsOnly = NULL; - - /** - * PHPExcel_Reader_IReadFilter instance - * - * @var PHPExcel_Reader_IReadFilter - */ - protected $_readFilter = NULL; - - protected $_fileHandle = NULL; - - - /** - * Read data only? - * If this is true, then the Reader will only read data values for cells, it will not read any formatting information. - * If false (the default) it will read data and formatting. - * - * @return boolean - */ - public function getReadDataOnly() { - return $this->_readDataOnly; - } - - /** - * Set read data only - * Set to true, to advise the Reader only to read data values for cells, and to ignore any formatting information. - * Set to false (the default) to advise the Reader to read both data and formatting for cells. - * - * @param boolean $pValue - * - * @return PHPExcel_Reader_IReader - */ - public function setReadDataOnly($pValue = FALSE) { - $this->_readDataOnly = $pValue; - return $this; - } - - /** - * Read charts in workbook? - * If this is true, then the Reader will include any charts that exist in the workbook. - * Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. - * If false (the default) it will ignore any charts defined in the workbook file. - * - * @return boolean - */ - public function getIncludeCharts() { - return $this->_includeCharts; - } - - /** - * Set read charts in workbook - * Set to true, to advise the Reader to include any charts that exist in the workbook. - * Note that a ReadDataOnly value of false overrides, and charts won't be read regardless of the IncludeCharts value. - * Set to false (the default) to discard charts. - * - * @param boolean $pValue - * - * @return PHPExcel_Reader_IReader - */ - public function setIncludeCharts($pValue = FALSE) { - $this->_includeCharts = (boolean) $pValue; - return $this; - } - - /** - * Get which sheets to load - * Returns either an array of worksheet names (the list of worksheets that should be loaded), or a null - * indicating that all worksheets in the workbook should be loaded. - * - * @return mixed - */ - public function getLoadSheetsOnly() - { - return $this->_loadSheetsOnly; - } - - /** - * Set which sheets to load - * - * @param mixed $value - * This should be either an array of worksheet names to be loaded, or a string containing a single worksheet name. - * If NULL, then it tells the Reader to read all worksheets in the workbook - * - * @return PHPExcel_Reader_IReader - */ - public function setLoadSheetsOnly($value = NULL) - { - if ($value === NULL) - return $this->setLoadAllSheets(); - - $this->_loadSheetsOnly = is_array($value) ? - $value : array($value); - return $this; - } - - /** - * Set all sheets to load - * Tells the Reader to load all worksheets from the workbook. - * - * @return PHPExcel_Reader_IReader - */ - public function setLoadAllSheets() - { - $this->_loadSheetsOnly = NULL; - return $this; - } - - /** - * Read filter - * - * @return PHPExcel_Reader_IReadFilter - */ - public function getReadFilter() { - return $this->_readFilter; - } - - /** - * Set read filter - * - * @param PHPExcel_Reader_IReadFilter $pValue - * @return PHPExcel_Reader_IReader - */ - public function setReadFilter(PHPExcel_Reader_IReadFilter $pValue) { - $this->_readFilter = $pValue; - return $this; - } - - /** - * Open file for reading - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - * @return resource - */ - protected function _openFile($pFilename) - { - // Check if file exists - if (!file_exists($pFilename) || !is_readable($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - // Open file - $this->_fileHandle = fopen($pFilename, 'r'); - if ($this->_fileHandle === FALSE) { - throw new PHPExcel_Reader_Exception("Could not open file " . $pFilename . " for reading."); - } - } - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - try { - $this->_openFile($pFilename); - } catch (Exception $e) { - return FALSE; - } - - $readable = $this->_isValidFormat(); - fclose ($this->_fileHandle); - return $readable; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/CSV.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/CSV.php deleted file mode 100644 index 22176fdc9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/CSV.php +++ /dev/null @@ -1,387 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_CSV - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_CSV extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Input encoding - * - * @access private - * @var string - */ - private $_inputEncoding = 'UTF-8'; - - /** - * Delimiter - * - * @access private - * @var string - */ - private $_delimiter = ','; - - /** - * Enclosure - * - * @access private - * @var string - */ - private $_enclosure = '"'; - - /** - * Sheet index to read - * - * @access private - * @var int - */ - private $_sheetIndex = 0; - - /** - * Load rows contiguously - * - * @access private - * @var int - */ - private $_contiguous = false; - - /** - * Row counter for loading rows contiguously - * - * @var int - */ - private $_contiguousRow = -1; - - - /** - * Create a new PHPExcel_Reader_CSV - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - /** - * Validate that the current file is a CSV file - * - * @return boolean - */ - protected function _isValidFormat() - { - return TRUE; - } - - /** - * Set input encoding - * - * @param string $pValue Input encoding - */ - public function setInputEncoding($pValue = 'UTF-8') - { - $this->_inputEncoding = $pValue; - return $this; - } - - /** - * Get input encoding - * - * @return string - */ - public function getInputEncoding() - { - return $this->_inputEncoding; - } - - /** - * Move filepointer past any BOM marker - * - */ - protected function _skipBOM() - { - rewind($this->_fileHandle); - - switch ($this->_inputEncoding) { - case 'UTF-8': - fgets($this->_fileHandle, 4) == "\xEF\xBB\xBF" ? - fseek($this->_fileHandle, 3) : fseek($this->_fileHandle, 0); - break; - case 'UTF-16LE': - fgets($this->_fileHandle, 3) == "\xFF\xFE" ? - fseek($this->_fileHandle, 2) : fseek($this->_fileHandle, 0); - break; - case 'UTF-16BE': - fgets($this->_fileHandle, 3) == "\xFE\xFF" ? - fseek($this->_fileHandle, 2) : fseek($this->_fileHandle, 0); - break; - case 'UTF-32LE': - fgets($this->_fileHandle, 5) == "\xFF\xFE\x00\x00" ? - fseek($this->_fileHandle, 4) : fseek($this->_fileHandle, 0); - break; - case 'UTF-32BE': - fgets($this->_fileHandle, 5) == "\x00\x00\xFE\xFF" ? - fseek($this->_fileHandle, 4) : fseek($this->_fileHandle, 0); - break; - default: - break; - } - } - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - - // Skip BOM, if any - $this->_skipBOM(); - - $escapeEnclosures = array( "\\" . $this->_enclosure, $this->_enclosure . $this->_enclosure ); - - $worksheetInfo = array(); - $worksheetInfo[0]['worksheetName'] = 'Worksheet'; - $worksheetInfo[0]['lastColumnLetter'] = 'A'; - $worksheetInfo[0]['lastColumnIndex'] = 0; - $worksheetInfo[0]['totalRows'] = 0; - $worksheetInfo[0]['totalColumns'] = 0; - - // Loop through each line of the file in turn - while (($rowData = fgetcsv($fileHandle, 0, $this->_delimiter, $this->_enclosure)) !== FALSE) { - $worksheetInfo[0]['totalRows']++; - $worksheetInfo[0]['lastColumnIndex'] = max($worksheetInfo[0]['lastColumnIndex'], count($rowData) - 1); - } - - $worksheetInfo[0]['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($worksheetInfo[0]['lastColumnIndex']); - $worksheetInfo[0]['totalColumns'] = $worksheetInfo[0]['lastColumnIndex'] + 1; - - // Close file - fclose($fileHandle); - - return $worksheetInfo; - } - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - $lineEnding = ini_get('auto_detect_line_endings'); - ini_set('auto_detect_line_endings', true); - - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - - // Skip BOM, if any - $this->_skipBOM(); - - // Create new PHPExcel object - while ($objPHPExcel->getSheetCount() <= $this->_sheetIndex) { - $objPHPExcel->createSheet(); - } - $sheet = $objPHPExcel->setActiveSheetIndex($this->_sheetIndex); - - $escapeEnclosures = array( "\\" . $this->_enclosure, - $this->_enclosure . $this->_enclosure - ); - - // Set our starting row based on whether we're in contiguous mode or not - $currentRow = 1; - if ($this->_contiguous) { - $currentRow = ($this->_contiguousRow == -1) ? $sheet->getHighestRow(): $this->_contiguousRow; - } - - // Loop through each line of the file in turn - while (($rowData = fgetcsv($fileHandle, 0, $this->_delimiter, $this->_enclosure)) !== FALSE) { - $columnLetter = 'A'; - foreach($rowData as $rowDatum) { - if ($rowDatum != '' && $this->_readFilter->readCell($columnLetter, $currentRow)) { - // Unescape enclosures - $rowDatum = str_replace($escapeEnclosures, $this->_enclosure, $rowDatum); - - // Convert encoding if necessary - if ($this->_inputEncoding !== 'UTF-8') { - $rowDatum = PHPExcel_Shared_String::ConvertEncoding($rowDatum, 'UTF-8', $this->_inputEncoding); - } - - // Set cell value - $sheet->getCell($columnLetter . $currentRow)->setValue($rowDatum); - } - ++$columnLetter; - } - ++$currentRow; - } - - // Close file - fclose($fileHandle); - - if ($this->_contiguous) { - $this->_contiguousRow = $currentRow; - } - - ini_set('auto_detect_line_endings', $lineEnding); - - // Return - return $objPHPExcel; - } - - /** - * Get delimiter - * - * @return string - */ - public function getDelimiter() { - return $this->_delimiter; - } - - /** - * Set delimiter - * - * @param string $pValue Delimiter, defaults to , - * @return PHPExcel_Reader_CSV - */ - public function setDelimiter($pValue = ',') { - $this->_delimiter = $pValue; - return $this; - } - - /** - * Get enclosure - * - * @return string - */ - public function getEnclosure() { - return $this->_enclosure; - } - - /** - * Set enclosure - * - * @param string $pValue Enclosure, defaults to " - * @return PHPExcel_Reader_CSV - */ - public function setEnclosure($pValue = '"') { - if ($pValue == '') { - $pValue = '"'; - } - $this->_enclosure = $pValue; - return $this; - } - - /** - * Get sheet index - * - * @return integer - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param integer $pValue Sheet index - * @return PHPExcel_Reader_CSV - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - - /** - * Set Contiguous - * - * @param boolean $contiguous - */ - public function setContiguous($contiguous = FALSE) - { - $this->_contiguous = (bool) $contiguous; - if (!$contiguous) { - $this->_contiguousRow = -1; - } - - return $this; - } - - /** - * Get Contiguous - * - * @return boolean - */ - public function getContiguous() { - return $this->_contiguous; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/DefaultReadFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/DefaultReadFilter.php deleted file mode 100644 index dc55fc6bd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/DefaultReadFilter.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_DefaultReadFilter - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_DefaultReadFilter implements PHPExcel_Reader_IReadFilter -{ - /** - * Should this cell be read? - * - * @param $column String column index - * @param $row Row index - * @param $worksheetName Optional worksheet name - * @return boolean - */ - public function readCell($column, $row, $worksheetName = '') { - return true; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2003XML.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2003XML.php deleted file mode 100644 index 6f3a4efd4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2003XML.php +++ /dev/null @@ -1,802 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_Excel2003XML - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel2003XML extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Formats - * - * @var array - */ - private $_styles = array(); - - /** - * Character set used in the file - * - * @var string - */ - private $_charSet = 'UTF-8'; - - - /** - * Create a new PHPExcel_Reader_Excel2003XML - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - - // Office xmlns:o="urn:schemas-microsoft-com:office:office" - // Excel xmlns:x="urn:schemas-microsoft-com:office:excel" - // XML Spreadsheet xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" - // Spreadsheet component xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" - // XML schema xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" - // XML data type xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" - // MS-persist recordset xmlns:rs="urn:schemas-microsoft-com:rowset" - // Rowset xmlns:z="#RowsetSchema" - // - - $signature = array( - '<?xml version="1.0"', - '<?mso-application progid="Excel.Sheet"?>' - ); - - // Open file - $this->_openFile($pFilename); - $fileHandle = $this->_fileHandle; - - // Read sample data (first 2 KB will do) - $data = fread($fileHandle, 2048); - fclose($fileHandle); - - $valid = true; - foreach($signature as $match) { - // every part of the signature must be present - if (strpos($data, $match) === false) { - $valid = false; - break; - } - } - - // Retrieve charset encoding - if(preg_match('/<?xml.*encoding=[\'"](.*?)[\'"].*?>/um',$data,$matches)) { - $this->_charSet = strtoupper($matches[1]); - } -// echo 'Character Set is ',$this->_charSet,'<br />'; - - return $valid; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - if (!$this->canRead($pFilename)) { - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - - $worksheetNames = array(); - - $xml = simplexml_load_string(file_get_contents($pFilename), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespaces = $xml->getNamespaces(true); - - $xml_ss = $xml->children($namespaces['ss']); - foreach($xml_ss->Worksheet as $worksheet) { - $worksheet_ss = $worksheet->attributes($namespaces['ss']); - $worksheetNames[] = self::_convertStringEncoding((string) $worksheet_ss['Name'],$this->_charSet); - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - $xml = simplexml_load_string(file_get_contents($pFilename), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespaces = $xml->getNamespaces(true); - - $worksheetID = 1; - $xml_ss = $xml->children($namespaces['ss']); - foreach($xml_ss->Worksheet as $worksheet) { - $worksheet_ss = $worksheet->attributes($namespaces['ss']); - - $tmpInfo = array(); - $tmpInfo['worksheetName'] = ''; - $tmpInfo['lastColumnLetter'] = 'A'; - $tmpInfo['lastColumnIndex'] = 0; - $tmpInfo['totalRows'] = 0; - $tmpInfo['totalColumns'] = 0; - - if (isset($worksheet_ss['Name'])) { - $tmpInfo['worksheetName'] = (string) $worksheet_ss['Name']; - } else { - $tmpInfo['worksheetName'] = "Worksheet_{$worksheetID}"; - } - - if (isset($worksheet->Table->Row)) { - $rowIndex = 0; - - foreach($worksheet->Table->Row as $rowData) { - $columnIndex = 0; - $rowHasData = false; - - foreach($rowData->Cell as $cell) { - if (isset($cell->Data)) { - $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex); - $rowHasData = true; - } - - ++$columnIndex; - } - - ++$rowIndex; - - if ($rowHasData) { - $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex); - } - } - } - - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1; - - $worksheetInfo[] = $tmpInfo; - ++$worksheetID; - } - - return $worksheetInfo; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - - private static function identifyFixedStyleValue($styleList,&$styleAttributeValue) { - $styleAttributeValue = strtolower($styleAttributeValue); - foreach($styleList as $style) { - if ($styleAttributeValue == strtolower($style)) { - $styleAttributeValue = $style; - return true; - } - } - return false; - } - - - /** - * pixel units to excel width units(units of 1/256th of a character width) - * @param pxs - * @return - */ - private static function _pixel2WidthUnits($pxs) { - $UNIT_OFFSET_MAP = array(0, 36, 73, 109, 146, 182, 219); - - $widthUnits = 256 * ($pxs / 7); - $widthUnits += $UNIT_OFFSET_MAP[($pxs % 7)]; - return $widthUnits; - } - - - /** - * excel width units(units of 1/256th of a character width) to pixel units - * @param widthUnits - * @return - */ - private static function _widthUnits2Pixel($widthUnits) { - $pixels = ($widthUnits / 256) * 7; - $offsetWidthUnits = $widthUnits % 256; - $pixels += round($offsetWidthUnits / (256 / 7)); - return $pixels; - } - - - private static function _hex2str($hex) { - return chr(hexdec($hex[1])); - } - - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - $fromFormats = array('\-', '\ '); - $toFormats = array('-', ' '); - - $underlineStyles = array ( - PHPExcel_Style_Font::UNDERLINE_NONE, - PHPExcel_Style_Font::UNDERLINE_DOUBLE, - PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING, - PHPExcel_Style_Font::UNDERLINE_SINGLE, - PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING - ); - $verticalAlignmentStyles = array ( - PHPExcel_Style_Alignment::VERTICAL_BOTTOM, - PHPExcel_Style_Alignment::VERTICAL_TOP, - PHPExcel_Style_Alignment::VERTICAL_CENTER, - PHPExcel_Style_Alignment::VERTICAL_JUSTIFY - ); - $horizontalAlignmentStyles = array ( - PHPExcel_Style_Alignment::HORIZONTAL_GENERAL, - PHPExcel_Style_Alignment::HORIZONTAL_LEFT, - PHPExcel_Style_Alignment::HORIZONTAL_RIGHT, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS, - PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY - ); - - $timezoneObj = new DateTimeZone('Europe/London'); - $GMT = new DateTimeZone('UTC'); - - - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - if (!$this->canRead($pFilename)) { - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - - $xml = simplexml_load_string(file_get_contents($pFilename), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespaces = $xml->getNamespaces(true); - - $docProps = $objPHPExcel->getProperties(); - if (isset($xml->DocumentProperties[0])) { - foreach($xml->DocumentProperties[0] as $propertyName => $propertyValue) { - switch ($propertyName) { - case 'Title' : - $docProps->setTitle(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Subject' : - $docProps->setSubject(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Author' : - $docProps->setCreator(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Created' : - $creationDate = strtotime($propertyValue); - $docProps->setCreated($creationDate); - break; - case 'LastAuthor' : - $docProps->setLastModifiedBy(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'LastSaved' : - $lastSaveDate = strtotime($propertyValue); - $docProps->setModified($lastSaveDate); - break; - case 'Company' : - $docProps->setCompany(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Category' : - $docProps->setCategory(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Manager' : - $docProps->setManager(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Keywords' : - $docProps->setKeywords(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - case 'Description' : - $docProps->setDescription(self::_convertStringEncoding($propertyValue,$this->_charSet)); - break; - } - } - } - if (isset($xml->CustomDocumentProperties)) { - foreach($xml->CustomDocumentProperties[0] as $propertyName => $propertyValue) { - $propertyAttributes = $propertyValue->attributes($namespaces['dt']); - $propertyName = preg_replace_callback('/_x([0-9a-z]{4})_/','PHPExcel_Reader_Excel2003XML::_hex2str',$propertyName); - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_UNKNOWN; - switch((string) $propertyAttributes) { - case 'string' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING; - $propertyValue = trim($propertyValue); - break; - case 'boolean' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN; - $propertyValue = (bool) $propertyValue; - break; - case 'integer' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_INTEGER; - $propertyValue = intval($propertyValue); - break; - case 'float' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_FLOAT; - $propertyValue = floatval($propertyValue); - break; - case 'dateTime.tz' : - $propertyType = PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE; - $propertyValue = strtotime(trim($propertyValue)); - break; - } - $docProps->setCustomProperty($propertyName,$propertyValue,$propertyType); - } - } - - foreach($xml->Styles[0] as $style) { - $style_ss = $style->attributes($namespaces['ss']); - $styleID = (string) $style_ss['ID']; -// echo 'Style ID = '.$styleID.'<br />'; - if ($styleID == 'Default') { - $this->_styles['Default'] = array(); - } else { - $this->_styles[$styleID] = $this->_styles['Default']; - } - foreach ($style as $styleType => $styleData) { - $styleAttributes = $styleData->attributes($namespaces['ss']); -// echo $styleType.'<br />'; - switch ($styleType) { - case 'Alignment' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />'; - $styleAttributeValue = (string) $styleAttributeValue; - switch ($styleAttributeKey) { - case 'Vertical' : - if (self::identifyFixedStyleValue($verticalAlignmentStyles,$styleAttributeValue)) { - $this->_styles[$styleID]['alignment']['vertical'] = $styleAttributeValue; - } - break; - case 'Horizontal' : - if (self::identifyFixedStyleValue($horizontalAlignmentStyles,$styleAttributeValue)) { - $this->_styles[$styleID]['alignment']['horizontal'] = $styleAttributeValue; - } - break; - case 'WrapText' : - $this->_styles[$styleID]['alignment']['wrap'] = true; - break; - } - } - break; - case 'Borders' : - foreach($styleData->Border as $borderStyle) { - $borderAttributes = $borderStyle->attributes($namespaces['ss']); - $thisBorder = array(); - foreach($borderAttributes as $borderStyleKey => $borderStyleValue) { -// echo $borderStyleKey.' = '.$borderStyleValue.'<br />'; - switch ($borderStyleKey) { - case 'LineStyle' : - $thisBorder['style'] = PHPExcel_Style_Border::BORDER_MEDIUM; -// $thisBorder['style'] = $borderStyleValue; - break; - case 'Weight' : -// $thisBorder['style'] = $borderStyleValue; - break; - case 'Position' : - $borderPosition = strtolower($borderStyleValue); - break; - case 'Color' : - $borderColour = substr($borderStyleValue,1); - $thisBorder['color']['rgb'] = $borderColour; - break; - } - } - if (!empty($thisBorder)) { - if (($borderPosition == 'left') || ($borderPosition == 'right') || ($borderPosition == 'top') || ($borderPosition == 'bottom')) { - $this->_styles[$styleID]['borders'][$borderPosition] = $thisBorder; - } - } - } - break; - case 'Font' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />'; - $styleAttributeValue = (string) $styleAttributeValue; - switch ($styleAttributeKey) { - case 'FontName' : - $this->_styles[$styleID]['font']['name'] = $styleAttributeValue; - break; - case 'Size' : - $this->_styles[$styleID]['font']['size'] = $styleAttributeValue; - break; - case 'Color' : - $this->_styles[$styleID]['font']['color']['rgb'] = substr($styleAttributeValue,1); - break; - case 'Bold' : - $this->_styles[$styleID]['font']['bold'] = true; - break; - case 'Italic' : - $this->_styles[$styleID]['font']['italic'] = true; - break; - case 'Underline' : - if (self::identifyFixedStyleValue($underlineStyles,$styleAttributeValue)) { - $this->_styles[$styleID]['font']['underline'] = $styleAttributeValue; - } - break; - } - } - break; - case 'Interior' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />'; - switch ($styleAttributeKey) { - case 'Color' : - $this->_styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue,1); - break; - } - } - break; - case 'NumberFormat' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />'; - $styleAttributeValue = str_replace($fromFormats,$toFormats,$styleAttributeValue); - switch ($styleAttributeValue) { - case 'Short Date' : - $styleAttributeValue = 'dd/mm/yyyy'; - break; - } - if ($styleAttributeValue > '') { - $this->_styles[$styleID]['numberformat']['code'] = $styleAttributeValue; - } - } - break; - case 'Protection' : - foreach($styleAttributes as $styleAttributeKey => $styleAttributeValue) { -// echo $styleAttributeKey.' = '.$styleAttributeValue.'<br />'; - } - break; - } - } -// print_r($this->_styles[$styleID]); -// echo '<hr />'; - } -// echo '<hr />'; - - $worksheetID = 0; - $xml_ss = $xml->children($namespaces['ss']); - - foreach($xml_ss->Worksheet as $worksheet) { - $worksheet_ss = $worksheet->attributes($namespaces['ss']); - - if ((isset($this->_loadSheetsOnly)) && (isset($worksheet_ss['Name'])) && - (!in_array($worksheet_ss['Name'], $this->_loadSheetsOnly))) { - continue; - } - -// echo '<h3>Worksheet: ',$worksheet_ss['Name'],'<h3>'; -// - // Create new Worksheet - $objPHPExcel->createSheet(); - $objPHPExcel->setActiveSheetIndex($worksheetID); - if (isset($worksheet_ss['Name'])) { - $worksheetName = self::_convertStringEncoding((string) $worksheet_ss['Name'],$this->_charSet); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in - // formula cells... during the load, all formulae should be correct, and we're simply bringing - // the worksheet name in line with the formula, not the reverse - $objPHPExcel->getActiveSheet()->setTitle($worksheetName,false); - } - - $columnID = 'A'; - if (isset($worksheet->Table->Column)) { - foreach($worksheet->Table->Column as $columnData) { - $columnData_ss = $columnData->attributes($namespaces['ss']); - if (isset($columnData_ss['Index'])) { - $columnID = PHPExcel_Cell::stringFromColumnIndex($columnData_ss['Index']-1); - } - if (isset($columnData_ss['Width'])) { - $columnWidth = $columnData_ss['Width']; -// echo '<b>Setting column width for '.$columnID.' to '.$columnWidth.'</b><br />'; - $objPHPExcel->getActiveSheet()->getColumnDimension($columnID)->setWidth($columnWidth / 5.4); - } - ++$columnID; - } - } - - $rowID = 1; - if (isset($worksheet->Table->Row)) { - foreach($worksheet->Table->Row as $rowData) { - $rowHasData = false; - $row_ss = $rowData->attributes($namespaces['ss']); - if (isset($row_ss['Index'])) { - $rowID = (integer) $row_ss['Index']; - } -// echo '<b>Row '.$rowID.'</b><br />'; - - $columnID = 'A'; - foreach($rowData->Cell as $cell) { - - $cell_ss = $cell->attributes($namespaces['ss']); - if (isset($cell_ss['Index'])) { - $columnID = PHPExcel_Cell::stringFromColumnIndex($cell_ss['Index']-1); - } - $cellRange = $columnID.$rowID; - - if ($this->getReadFilter() !== NULL) { - if (!$this->getReadFilter()->readCell($columnID, $rowID, $worksheetName)) { - continue; - } - } - - if ((isset($cell_ss['MergeAcross'])) || (isset($cell_ss['MergeDown']))) { - $columnTo = $columnID; - if (isset($cell_ss['MergeAcross'])) { - $columnTo = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($columnID) + $cell_ss['MergeAcross'] -1); - } - $rowTo = $rowID; - if (isset($cell_ss['MergeDown'])) { - $rowTo = $rowTo + $cell_ss['MergeDown']; - } - $cellRange .= ':'.$columnTo.$rowTo; - $objPHPExcel->getActiveSheet()->mergeCells($cellRange); - } - - $cellIsSet = $hasCalculatedValue = false; - $cellDataFormula = ''; - if (isset($cell_ss['Formula'])) { - $cellDataFormula = $cell_ss['Formula']; - // added this as a check for array formulas - if (isset($cell_ss['ArrayRange'])) { - $cellDataCSEFormula = $cell_ss['ArrayRange']; -// echo "found an array formula at ".$columnID.$rowID."<br />"; - } - $hasCalculatedValue = true; - } - if (isset($cell->Data)) { - $cellValue = $cellData = $cell->Data; - $type = PHPExcel_Cell_DataType::TYPE_NULL; - $cellData_ss = $cellData->attributes($namespaces['ss']); - if (isset($cellData_ss['Type'])) { - $cellDataType = $cellData_ss['Type']; - switch ($cellDataType) { - /* - const TYPE_STRING = 's'; - const TYPE_FORMULA = 'f'; - const TYPE_NUMERIC = 'n'; - const TYPE_BOOL = 'b'; - const TYPE_NULL = 'null'; - const TYPE_INLINE = 'inlineStr'; - const TYPE_ERROR = 'e'; - */ - case 'String' : - $cellValue = self::_convertStringEncoding($cellValue,$this->_charSet); - $type = PHPExcel_Cell_DataType::TYPE_STRING; - break; - case 'Number' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $cellValue = (float) $cellValue; - if (floor($cellValue) == $cellValue) { - $cellValue = (integer) $cellValue; - } - break; - case 'Boolean' : - $type = PHPExcel_Cell_DataType::TYPE_BOOL; - $cellValue = ($cellValue != 0); - break; - case 'DateTime' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $cellValue = PHPExcel_Shared_Date::PHPToExcel(strtotime($cellValue)); - break; - case 'Error' : - $type = PHPExcel_Cell_DataType::TYPE_ERROR; - break; - } - } - - if ($hasCalculatedValue) { -// echo 'FORMULA<br />'; - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; - $columnNumber = PHPExcel_Cell::columnIndexFromString($columnID); - if (substr($cellDataFormula,0,3) == 'of:') { - $cellDataFormula = substr($cellDataFormula,3); -// echo 'Before: ',$cellDataFormula,'<br />'; - $temp = explode('"',$cellDataFormula); - $key = false; - foreach($temp as &$value) { - // Only replace in alternate array entries (i.e. non-quoted blocks) - if ($key = !$key) { - $value = str_replace(array('[.','.',']'),'',$value); - } - } - } else { - // Convert R1C1 style references to A1 style references (but only when not quoted) -// echo 'Before: ',$cellDataFormula,'<br />'; - $temp = explode('"',$cellDataFormula); - $key = false; - foreach($temp as &$value) { - // Only replace in alternate array entries (i.e. non-quoted blocks) - if ($key = !$key) { - preg_match_all('/(R(\[?-?\d*\]?))(C(\[?-?\d*\]?))/',$value, $cellReferences,PREG_SET_ORDER+PREG_OFFSET_CAPTURE); - // Reverse the matches array, otherwise all our offsets will become incorrect if we modify our way - // through the formula from left to right. Reversing means that we work right to left.through - // the formula - $cellReferences = array_reverse($cellReferences); - // Loop through each R1C1 style reference in turn, converting it to its A1 style equivalent, - // then modify the formula to use that new reference - foreach($cellReferences as $cellReference) { - $rowReference = $cellReference[2][0]; - // Empty R reference is the current row - if ($rowReference == '') $rowReference = $rowID; - // Bracketed R references are relative to the current row - if ($rowReference{0} == '[') $rowReference = $rowID + trim($rowReference,'[]'); - $columnReference = $cellReference[4][0]; - // Empty C reference is the current column - if ($columnReference == '') $columnReference = $columnNumber; - // Bracketed C references are relative to the current column - if ($columnReference{0} == '[') $columnReference = $columnNumber + trim($columnReference,'[]'); - $A1CellReference = PHPExcel_Cell::stringFromColumnIndex($columnReference-1).$rowReference; - $value = substr_replace($value,$A1CellReference,$cellReference[0][1],strlen($cellReference[0][0])); - } - } - } - } - unset($value); - // Then rebuild the formula string - $cellDataFormula = implode('"',$temp); -// echo 'After: ',$cellDataFormula,'<br />'; - } - -// echo 'Cell '.$columnID.$rowID.' is a '.$type.' with a value of '.(($hasCalculatedValue) ? $cellDataFormula : $cellValue).'<br />'; -// - $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setValueExplicit((($hasCalculatedValue) ? $cellDataFormula : $cellValue),$type); - if ($hasCalculatedValue) { -// echo 'Formula result is '.$cellValue.'<br />'; - $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setCalculatedValue($cellValue); - } - $cellIsSet = $rowHasData = true; - } - - if (isset($cell->Comment)) { -// echo '<b>comment found</b><br />'; - $commentAttributes = $cell->Comment->attributes($namespaces['ss']); - $author = 'unknown'; - if (isset($commentAttributes->Author)) { - $author = (string)$commentAttributes->Author; -// echo 'Author: ',$author,'<br />'; - } - $node = $cell->Comment->Data->asXML(); -// $annotation = str_replace('html:','',substr($node,49,-10)); -// echo $annotation,'<br />'; - $annotation = strip_tags($node); -// echo 'Annotation: ',$annotation,'<br />'; - $objPHPExcel->getActiveSheet()->getComment( $columnID.$rowID ) - ->setAuthor(self::_convertStringEncoding($author ,$this->_charSet)) - ->setText($this->_parseRichText($annotation) ); - } - - if (($cellIsSet) && (isset($cell_ss['StyleID']))) { - $style = (string) $cell_ss['StyleID']; -// echo 'Cell style for '.$columnID.$rowID.' is '.$style.'<br />'; - if ((isset($this->_styles[$style])) && (!empty($this->_styles[$style]))) { -// echo 'Cell '.$columnID.$rowID.'<br />'; -// print_r($this->_styles[$style]); -// echo '<br />'; - if (!$objPHPExcel->getActiveSheet()->cellExists($columnID.$rowID)) { - $objPHPExcel->getActiveSheet()->getCell($columnID.$rowID)->setValue(NULL); - } - $objPHPExcel->getActiveSheet()->getStyle($cellRange)->applyFromArray($this->_styles[$style]); - } - } - ++$columnID; - } - - if ($rowHasData) { - if (isset($row_ss['StyleID'])) { - $rowStyle = $row_ss['StyleID']; - } - if (isset($row_ss['Height'])) { - $rowHeight = $row_ss['Height']; -// echo '<b>Setting row height to '.$rowHeight.'</b><br />'; - $objPHPExcel->getActiveSheet()->getRowDimension($rowID)->setRowHeight($rowHeight); - } - } - - ++$rowID; - } - } - ++$worksheetID; - } - - // Return - return $objPHPExcel; - } - - - private static function _convertStringEncoding($string,$charset) { - if ($charset != 'UTF-8') { - return PHPExcel_Shared_String::ConvertEncoding($string,'UTF-8',$charset); - } - return $string; - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText(self::_convertStringEncoding($is,$this->_charSet)); - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007.php deleted file mode 100644 index afe3b5c8e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007.php +++ /dev/null @@ -1,2085 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_Excel2007 - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel2007 extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * PHPExcel_ReferenceHelper instance - * - * @var PHPExcel_ReferenceHelper - */ - private $_referenceHelper = NULL; - - /** - * PHPExcel_Reader_Excel2007_Theme instance - * - * @var PHPExcel_Reader_Excel2007_Theme - */ - private static $_theme = NULL; - - - /** - * Create a new PHPExcel_Reader_Excel2007 instance - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - $this->_referenceHelper = PHPExcel_ReferenceHelper::getInstance(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - // Check if zip class exists -// if (!class_exists($zipClass, FALSE)) { -// throw new PHPExcel_Reader_Exception($zipClass . " library is not enabled"); -// } - - $xl = false; - // Load file - $zip = new $zipClass; - if ($zip->open($pFilename) === true) { - // check if it is an OOXML archive - $rels = simplexml_load_string($this->_getFromZipArchive($zip, "_rels/.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if ($rels !== false) { - foreach ($rels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument": - if (basename($rel["Target"]) == 'workbook.xml') { - $xl = true; - } - break; - - } - } - } - $zip->close(); - } - - return $xl; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetNames = array(); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - $zip->open($pFilename); - - // The files we're looking at here are small enough that simpleXML is more efficient than XMLReader - $rels = simplexml_load_string( - $this->_getFromZipArchive($zip, "_rels/.rels", 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()) - ); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($rels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument": - $xmlWorkbook = simplexml_load_string( - $this->_getFromZipArchive($zip, "{$rel['Target']}", 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()) - ); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - - if ($xmlWorkbook->sheets) { - foreach ($xmlWorkbook->sheets->sheet as $eleSheet) { - // Check if sheet should be skipped - $worksheetNames[] = (string) $eleSheet["name"]; - } - } - } - } - - $zip->close(); - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - $zip->open($pFilename); - - $rels = simplexml_load_string($this->_getFromZipArchive($zip, "_rels/.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($rels->Relationship as $rel) { - if ($rel["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument") { - $dir = dirname($rel["Target"]); - $relsWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/_rels/" . basename($rel["Target"]) . ".rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $relsWorkbook->registerXPathNamespace("rel", "http://schemas.openxmlformats.org/package/2006/relationships"); - - $worksheets = array(); - foreach ($relsWorkbook->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet") { - $worksheets[(string) $ele["Id"]] = $ele["Target"]; - } - } - - $xmlWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - if ($xmlWorkbook->sheets) { - $dir = dirname($rel["Target"]); - foreach ($xmlWorkbook->sheets->sheet as $eleSheet) { - $tmpInfo = array( - 'worksheetName' => (string) $eleSheet["name"], - 'lastColumnLetter' => 'A', - 'lastColumnIndex' => 0, - 'totalRows' => 0, - 'totalColumns' => 0, - ); - - $fileWorksheet = $worksheets[(string) self::array_item($eleSheet->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "id")]; - - $xml = new XMLReader(); - $res = $xml->open('zip://'.PHPExcel_Shared_File::realpath($pFilename).'#'."$dir/$fileWorksheet", null, PHPExcel_Settings::getLibXmlLoaderOptions()); - $xml->setParserProperty(2,true); - - $currCells = 0; - while ($xml->read()) { - if ($xml->name == 'row' && $xml->nodeType == XMLReader::ELEMENT) { - $row = $xml->getAttribute('r'); - $tmpInfo['totalRows'] = $row; - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $currCells = 0; - } elseif ($xml->name == 'c' && $xml->nodeType == XMLReader::ELEMENT) { - $currCells++; - } - } - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $xml->close(); - - $tmpInfo['lastColumnIndex'] = $tmpInfo['totalColumns'] - 1; - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - - $worksheetInfo[] = $tmpInfo; - } - } - } - } - - $zip->close(); - - return $worksheetInfo; - } - - - private static function _castToBool($c) { -// echo 'Initial Cast to Boolean', PHP_EOL; - $value = isset($c->v) ? (string) $c->v : NULL; - if ($value == '0') { - return FALSE; - } elseif ($value == '1') { - return TRUE; - } else { - return (bool)$c->v; - } - return $value; - } // function _castToBool() - - - private static function _castToError($c) { -// echo 'Initial Cast to Error', PHP_EOL; - return isset($c->v) ? (string) $c->v : NULL; - } // function _castToError() - - - private static function _castToString($c) { -// echo 'Initial Cast to String, PHP_EOL; - return isset($c->v) ? (string) $c->v : NULL; - } // function _castToString() - - - private function _castToFormula($c,$r,&$cellDataType,&$value,&$calculatedValue,&$sharedFormulas,$castBaseType) { -// echo 'Formula', PHP_EOL; -// echo '$c->f is ', $c->f, PHP_EOL; - $cellDataType = 'f'; - $value = "={$c->f}"; - $calculatedValue = self::$castBaseType($c); - - // Shared formula? - if (isset($c->f['t']) && strtolower((string)$c->f['t']) == 'shared') { -// echo 'SHARED FORMULA', PHP_EOL; - $instance = (string)$c->f['si']; - -// echo 'Instance ID = ', $instance, PHP_EOL; -// -// echo 'Shared Formula Array:', PHP_EOL; -// print_r($sharedFormulas); - if (!isset($sharedFormulas[(string)$c->f['si']])) { -// echo 'SETTING NEW SHARED FORMULA', PHP_EOL; -// echo 'Master is ', $r, PHP_EOL; -// echo 'Formula is ', $value, PHP_EOL; - $sharedFormulas[$instance] = array( 'master' => $r, - 'formula' => $value - ); -// echo 'New Shared Formula Array:', PHP_EOL; -// print_r($sharedFormulas); - } else { -// echo 'GETTING SHARED FORMULA', PHP_EOL; -// echo 'Master is ', $sharedFormulas[$instance]['master'], PHP_EOL; -// echo 'Formula is ', $sharedFormulas[$instance]['formula'], PHP_EOL; - $master = PHPExcel_Cell::coordinateFromString($sharedFormulas[$instance]['master']); - $current = PHPExcel_Cell::coordinateFromString($r); - - $difference = array(0, 0); - $difference[0] = PHPExcel_Cell::columnIndexFromString($current[0]) - PHPExcel_Cell::columnIndexFromString($master[0]); - $difference[1] = $current[1] - $master[1]; - - $value = $this->_referenceHelper->updateFormulaReferences( $sharedFormulas[$instance]['formula'], - 'A1', - $difference[0], - $difference[1] - ); -// echo 'Adjusted Formula is ', $value, PHP_EOL; - } - } - } - - - public function _getFromZipArchive($archive, $fileName = '') - { - // Root-relative paths - if (strpos($fileName, '//') !== false) - { - $fileName = substr($fileName, strpos($fileName, '//') + 1); - } - $fileName = PHPExcel_Shared_File::realpath($fileName); - - // Apache POI fixes - $contents = $archive->getFromName($fileName); - if ($contents === false) - { - $contents = $archive->getFromName(substr($fileName, 1)); - } - - return $contents; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - // Initialisations - $excel = new PHPExcel; - $excel->removeSheetByIndex(0); - if (!$this->_readDataOnly) { - $excel->removeCellStyleXfByIndex(0); // remove the default style - $excel->removeCellXfByIndex(0); // remove the default style - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - $zip->open($pFilename); - - // Read the theme first, because we need the colour scheme when reading the styles - $wbRels = simplexml_load_string($this->_getFromZipArchive($zip, "xl/_rels/workbook.xml.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($wbRels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme": - $themeOrderArray = array('lt1','dk1','lt2','dk2'); - $themeOrderAdditional = count($themeOrderArray); - - $xmlTheme = simplexml_load_string($this->_getFromZipArchive($zip, "xl/{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlTheme)) { - $xmlThemeName = $xmlTheme->attributes(); - $xmlTheme = $xmlTheme->children("http://schemas.openxmlformats.org/drawingml/2006/main"); - $themeName = (string)$xmlThemeName['name']; - - $colourScheme = $xmlTheme->themeElements->clrScheme->attributes(); - $colourSchemeName = (string)$colourScheme['name']; - $colourScheme = $xmlTheme->themeElements->clrScheme->children("http://schemas.openxmlformats.org/drawingml/2006/main"); - - $themeColours = array(); - foreach ($colourScheme as $k => $xmlColour) { - $themePos = array_search($k,$themeOrderArray); - if ($themePos === false) { - $themePos = $themeOrderAdditional++; - } - if (isset($xmlColour->sysClr)) { - $xmlColourData = $xmlColour->sysClr->attributes(); - $themeColours[$themePos] = $xmlColourData['lastClr']; - } elseif (isset($xmlColour->srgbClr)) { - $xmlColourData = $xmlColour->srgbClr->attributes(); - $themeColours[$themePos] = $xmlColourData['val']; - } - } - self::$_theme = new PHPExcel_Reader_Excel2007_Theme($themeName,$colourSchemeName,$themeColours); - } - break; - } - } - - $rels = simplexml_load_string($this->_getFromZipArchive($zip, "_rels/.rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($rels->Relationship as $rel) { - switch ($rel["Type"]) { - case "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties": - $xmlCore = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlCore)) { - $xmlCore->registerXPathNamespace("dc", "http://purl.org/dc/elements/1.1/"); - $xmlCore->registerXPathNamespace("dcterms", "http://purl.org/dc/terms/"); - $xmlCore->registerXPathNamespace("cp", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties"); - $docProps = $excel->getProperties(); - $docProps->setCreator((string) self::array_item($xmlCore->xpath("dc:creator"))); - $docProps->setLastModifiedBy((string) self::array_item($xmlCore->xpath("cp:lastModifiedBy"))); - $docProps->setCreated(strtotime(self::array_item($xmlCore->xpath("dcterms:created")))); //! respect xsi:type - $docProps->setModified(strtotime(self::array_item($xmlCore->xpath("dcterms:modified")))); //! respect xsi:type - $docProps->setTitle((string) self::array_item($xmlCore->xpath("dc:title"))); - $docProps->setDescription((string) self::array_item($xmlCore->xpath("dc:description"))); - $docProps->setSubject((string) self::array_item($xmlCore->xpath("dc:subject"))); - $docProps->setKeywords((string) self::array_item($xmlCore->xpath("cp:keywords"))); - $docProps->setCategory((string) self::array_item($xmlCore->xpath("cp:category"))); - } - break; - - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties": - $xmlCore = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlCore)) { - $docProps = $excel->getProperties(); - if (isset($xmlCore->Company)) - $docProps->setCompany((string) $xmlCore->Company); - if (isset($xmlCore->Manager)) - $docProps->setManager((string) $xmlCore->Manager); - } - break; - - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties": - $xmlCore = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if (is_object($xmlCore)) { - $docProps = $excel->getProperties(); - foreach ($xmlCore as $xmlProperty) { - $cellDataOfficeAttributes = $xmlProperty->attributes(); - if (isset($cellDataOfficeAttributes['name'])) { - $propertyName = (string) $cellDataOfficeAttributes['name']; - $cellDataOfficeChildren = $xmlProperty->children('http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes'); - $attributeType = $cellDataOfficeChildren->getName(); - $attributeValue = (string) $cellDataOfficeChildren->{$attributeType}; - $attributeValue = PHPExcel_DocumentProperties::convertProperty($attributeValue,$attributeType); - $attributeType = PHPExcel_DocumentProperties::convertPropertyType($attributeType); - $docProps->setCustomProperty($propertyName,$attributeValue,$attributeType); - } - } - } - break; - //Ribbon - case "http://schemas.microsoft.com/office/2006/relationships/ui/extensibility": - $customUI = $rel['Target']; - if(!is_null($customUI)){ - $this->_readRibbon($excel, $customUI, $zip); - } - break; - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument": - $dir = dirname($rel["Target"]); - $relsWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/_rels/" . basename($rel["Target"]) . ".rels"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $relsWorkbook->registerXPathNamespace("rel", "http://schemas.openxmlformats.org/package/2006/relationships"); - - $sharedStrings = array(); - $xpath = self::array_item($relsWorkbook->xpath("rel:Relationship[@Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings']")); - $xmlStrings = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/$xpath[Target]"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - if (isset($xmlStrings) && isset($xmlStrings->si)) { - foreach ($xmlStrings->si as $val) { - if (isset($val->t)) { - $sharedStrings[] = PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $val->t ); - } elseif (isset($val->r)) { - $sharedStrings[] = $this->_parseRichText($val); - } - } - } - - $worksheets = array(); - $macros = $customUI = NULL; - foreach ($relsWorkbook->Relationship as $ele) { - switch($ele['Type']){ - case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet": - $worksheets[(string) $ele["Id"]] = $ele["Target"]; - break; - // a vbaProject ? (: some macros) - case "http://schemas.microsoft.com/office/2006/relationships/vbaProject": - $macros = $ele["Target"]; - break; - } - } - - if(!is_null($macros)){ - $macrosCode = $this->_getFromZipArchive($zip, 'xl/vbaProject.bin');//vbaProject.bin always in 'xl' dir and always named vbaProject.bin - if($macrosCode !== false){ - $excel->setMacrosCode($macrosCode); - $excel->setHasMacros(true); - //short-circuit : not reading vbaProject.bin.rel to get Signature =>allways vbaProjectSignature.bin in 'xl' dir - $Certificate = $this->_getFromZipArchive($zip, 'xl/vbaProjectSignature.bin'); - if($Certificate !== false) - $excel->setMacrosCertificate($Certificate); - } - } - $styles = array(); - $cellStyles = array(); - $xpath = self::array_item($relsWorkbook->xpath("rel:Relationship[@Type='http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles']")); - $xmlStyles = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/$xpath[Target]"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - $numFmts = null; - if ($xmlStyles && $xmlStyles->numFmts[0]) { - $numFmts = $xmlStyles->numFmts[0]; - } - if (isset($numFmts) && ($numFmts !== NULL)) { - $numFmts->registerXPathNamespace("sml", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - } - if (!$this->_readDataOnly && $xmlStyles) { - foreach ($xmlStyles->cellXfs->xf as $xf) { - $numFmt = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - - if ($xf["numFmtId"]) { - if (isset($numFmts)) { - $tmpNumFmt = self::array_item($numFmts->xpath("sml:numFmt[@numFmtId=$xf[numFmtId]]")); - - if (isset($tmpNumFmt["formatCode"])) { - $numFmt = (string) $tmpNumFmt["formatCode"]; - } - } - - if ((int)$xf["numFmtId"] < 164) { - $numFmt = PHPExcel_Style_NumberFormat::builtInFormatCode((int)$xf["numFmtId"]); - } - } - $quotePrefix = false; - if (isset($xf["quotePrefix"])) { - $quotePrefix = (boolean) $xf["quotePrefix"]; - } - //$numFmt = str_replace('mm', 'i', $numFmt); - //$numFmt = str_replace('h', 'H', $numFmt); - - $style = (object) array( - "numFmt" => $numFmt, - "font" => $xmlStyles->fonts->font[intval($xf["fontId"])], - "fill" => $xmlStyles->fills->fill[intval($xf["fillId"])], - "border" => $xmlStyles->borders->border[intval($xf["borderId"])], - "alignment" => $xf->alignment, - "protection" => $xf->protection, - "quotePrefix" => $quotePrefix, - ); - $styles[] = $style; - - // add style to cellXf collection - $objStyle = new PHPExcel_Style; - self::_readStyle($objStyle, $style); - $excel->addCellXf($objStyle); - } - - foreach ($xmlStyles->cellStyleXfs->xf as $xf) { - $numFmt = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - if ($numFmts && $xf["numFmtId"]) { - $tmpNumFmt = self::array_item($numFmts->xpath("sml:numFmt[@numFmtId=$xf[numFmtId]]")); - if (isset($tmpNumFmt["formatCode"])) { - $numFmt = (string) $tmpNumFmt["formatCode"]; - } else if ((int)$xf["numFmtId"] < 165) { - $numFmt = PHPExcel_Style_NumberFormat::builtInFormatCode((int)$xf["numFmtId"]); - } - } - - $cellStyle = (object) array( - "numFmt" => $numFmt, - "font" => $xmlStyles->fonts->font[intval($xf["fontId"])], - "fill" => $xmlStyles->fills->fill[intval($xf["fillId"])], - "border" => $xmlStyles->borders->border[intval($xf["borderId"])], - "alignment" => $xf->alignment, - "protection" => $xf->protection, - "quotePrefix" => $quotePrefix, - ); - $cellStyles[] = $cellStyle; - - // add style to cellStyleXf collection - $objStyle = new PHPExcel_Style; - self::_readStyle($objStyle, $cellStyle); - $excel->addCellStyleXf($objStyle); - } - } - - $dxfs = array(); - if (!$this->_readDataOnly && $xmlStyles) { - // Conditional Styles - if ($xmlStyles->dxfs) { - foreach ($xmlStyles->dxfs->dxf as $dxf) { - $style = new PHPExcel_Style(FALSE, TRUE); - self::_readStyle($style, $dxf); - $dxfs[] = $style; - } - } - // Cell Styles - if ($xmlStyles->cellStyles) { - foreach ($xmlStyles->cellStyles->cellStyle as $cellStyle) { - if (intval($cellStyle['builtinId']) == 0) { - if (isset($cellStyles[intval($cellStyle['xfId'])])) { - // Set default style - $style = new PHPExcel_Style; - self::_readStyle($style, $cellStyles[intval($cellStyle['xfId'])]); - - // normal style, currently not using it for anything - } - } - } - } - } - - $xmlWorkbook = simplexml_load_string($this->_getFromZipArchive($zip, "{$rel['Target']}"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - - // Set base date - if ($xmlWorkbook->workbookPr) { - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900); - if (isset($xmlWorkbook->workbookPr['date1904'])) { - if (self::boolean((string) $xmlWorkbook->workbookPr['date1904'])) { - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904); - } - } - } - - $sheetId = 0; // keep track of new sheet id in final workbook - $oldSheetId = -1; // keep track of old sheet id in final workbook - $countSkippedSheets = 0; // keep track of number of skipped sheets - $mapSheetId = array(); // mapping of sheet ids from old to new - - - $charts = $chartDetails = array(); - - if ($xmlWorkbook->sheets) { - foreach ($xmlWorkbook->sheets->sheet as $eleSheet) { - ++$oldSheetId; - - // Check if sheet should be skipped - if (isset($this->_loadSheetsOnly) && !in_array((string) $eleSheet["name"], $this->_loadSheetsOnly)) { - ++$countSkippedSheets; - $mapSheetId[$oldSheetId] = null; - continue; - } - - // Map old sheet id in original workbook to new sheet id. - // They will differ if loadSheetsOnly() is being used - $mapSheetId[$oldSheetId] = $oldSheetId - $countSkippedSheets; - - // Load sheet - $docSheet = $excel->createSheet(); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet - // references in formula cells... during the load, all formulae should be correct, - // and we're simply bringing the worksheet name in line with the formula, not the - // reverse - $docSheet->setTitle((string) $eleSheet["name"],false); - $fileWorksheet = $worksheets[(string) self::array_item($eleSheet->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "id")]; - $xmlSheet = simplexml_load_string($this->_getFromZipArchive($zip, "$dir/$fileWorksheet"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - - $sharedFormulas = array(); - - if (isset($eleSheet["state"]) && (string) $eleSheet["state"] != '') { - $docSheet->setSheetState( (string) $eleSheet["state"] ); - } - - if (isset($xmlSheet->sheetViews) && isset($xmlSheet->sheetViews->sheetView)) { - if (isset($xmlSheet->sheetViews->sheetView['zoomScale'])) { - $docSheet->getSheetView()->setZoomScale( intval($xmlSheet->sheetViews->sheetView['zoomScale']) ); - } - - if (isset($xmlSheet->sheetViews->sheetView['zoomScaleNormal'])) { - $docSheet->getSheetView()->setZoomScaleNormal( intval($xmlSheet->sheetViews->sheetView['zoomScaleNormal']) ); - } - - if (isset($xmlSheet->sheetViews->sheetView['view'])) { - $docSheet->getSheetView()->setView((string) $xmlSheet->sheetViews->sheetView['view']); - } - - if (isset($xmlSheet->sheetViews->sheetView['showGridLines'])) { - $docSheet->setShowGridLines(self::boolean((string)$xmlSheet->sheetViews->sheetView['showGridLines'])); - } - - if (isset($xmlSheet->sheetViews->sheetView['showRowColHeaders'])) { - $docSheet->setShowRowColHeaders(self::boolean((string)$xmlSheet->sheetViews->sheetView['showRowColHeaders'])); - } - - if (isset($xmlSheet->sheetViews->sheetView['rightToLeft'])) { - $docSheet->setRightToLeft(self::boolean((string)$xmlSheet->sheetViews->sheetView['rightToLeft'])); - } - - if (isset($xmlSheet->sheetViews->sheetView->pane)) { - if (isset($xmlSheet->sheetViews->sheetView->pane['topLeftCell'])) { - $docSheet->freezePane( (string)$xmlSheet->sheetViews->sheetView->pane['topLeftCell'] ); - } else { - $xSplit = 0; - $ySplit = 0; - - if (isset($xmlSheet->sheetViews->sheetView->pane['xSplit'])) { - $xSplit = 1 + intval($xmlSheet->sheetViews->sheetView->pane['xSplit']); - } - - if (isset($xmlSheet->sheetViews->sheetView->pane['ySplit'])) { - $ySplit = 1 + intval($xmlSheet->sheetViews->sheetView->pane['ySplit']); - } - - $docSheet->freezePaneByColumnAndRow($xSplit, $ySplit); - } - } - - if (isset($xmlSheet->sheetViews->sheetView->selection)) { - if (isset($xmlSheet->sheetViews->sheetView->selection['sqref'])) { - $sqref = (string)$xmlSheet->sheetViews->sheetView->selection['sqref']; - $sqref = explode(' ', $sqref); - $sqref = $sqref[0]; - $docSheet->setSelectedCells($sqref); - } - } - - } - - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->tabColor)) { - if (isset($xmlSheet->sheetPr->tabColor['rgb'])) { - $docSheet->getTabColor()->setARGB( (string)$xmlSheet->sheetPr->tabColor['rgb'] ); - } - } - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr['codeName'])) { - $docSheet->setCodeName((string) $xmlSheet->sheetPr['codeName']); - } - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->outlinePr)) { - if (isset($xmlSheet->sheetPr->outlinePr['summaryRight']) && - !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryRight'])) { - $docSheet->setShowSummaryRight(FALSE); - } else { - $docSheet->setShowSummaryRight(TRUE); - } - - if (isset($xmlSheet->sheetPr->outlinePr['summaryBelow']) && - !self::boolean((string) $xmlSheet->sheetPr->outlinePr['summaryBelow'])) { - $docSheet->setShowSummaryBelow(FALSE); - } else { - $docSheet->setShowSummaryBelow(TRUE); - } - } - - if (isset($xmlSheet->sheetPr) && isset($xmlSheet->sheetPr->pageSetUpPr)) { - if (isset($xmlSheet->sheetPr->pageSetUpPr['fitToPage']) && - !self::boolean((string) $xmlSheet->sheetPr->pageSetUpPr['fitToPage'])) { - $docSheet->getPageSetup()->setFitToPage(FALSE); - } else { - $docSheet->getPageSetup()->setFitToPage(TRUE); - } - } - - if (isset($xmlSheet->sheetFormatPr)) { - if (isset($xmlSheet->sheetFormatPr['customHeight']) && - self::boolean((string) $xmlSheet->sheetFormatPr['customHeight']) && - isset($xmlSheet->sheetFormatPr['defaultRowHeight'])) { - $docSheet->getDefaultRowDimension()->setRowHeight( (float)$xmlSheet->sheetFormatPr['defaultRowHeight'] ); - } - if (isset($xmlSheet->sheetFormatPr['defaultColWidth'])) { - $docSheet->getDefaultColumnDimension()->setWidth( (float)$xmlSheet->sheetFormatPr['defaultColWidth'] ); - } - if (isset($xmlSheet->sheetFormatPr['zeroHeight']) && - ((string)$xmlSheet->sheetFormatPr['zeroHeight'] == '1')) { - $docSheet->getDefaultRowDimension()->setZeroHeight(true); - } - } - - if (isset($xmlSheet->cols) && !$this->_readDataOnly) { - foreach ($xmlSheet->cols->col as $col) { - for ($i = intval($col["min"]) - 1; $i < intval($col["max"]); ++$i) { - if ($col["style"] && !$this->_readDataOnly) { - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setXfIndex(intval($col["style"])); - } - if (self::boolean($col["bestFit"])) { - //$docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setAutoSize(TRUE); - } - if (self::boolean($col["hidden"])) { - // echo PHPExcel_Cell::stringFromColumnIndex($i),': HIDDEN COLUMN',PHP_EOL; - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setVisible(FALSE); - } - if (self::boolean($col["collapsed"])) { - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setCollapsed(TRUE); - } - if ($col["outlineLevel"] > 0) { - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setOutlineLevel(intval($col["outlineLevel"])); - } - $docSheet->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($i))->setWidth(floatval($col["width"])); - - if (intval($col["max"]) == 16384) { - break; - } - } - } - } - - if (isset($xmlSheet->printOptions) && !$this->_readDataOnly) { - if (self::boolean((string) $xmlSheet->printOptions['gridLinesSet'])) { - $docSheet->setShowGridlines(TRUE); - } - - if (self::boolean((string) $xmlSheet->printOptions['gridLines'])) { - $docSheet->setPrintGridlines(TRUE); - } - - if (self::boolean((string) $xmlSheet->printOptions['horizontalCentered'])) { - $docSheet->getPageSetup()->setHorizontalCentered(TRUE); - } - if (self::boolean((string) $xmlSheet->printOptions['verticalCentered'])) { - $docSheet->getPageSetup()->setVerticalCentered(TRUE); - } - } - - if ($xmlSheet && $xmlSheet->sheetData && $xmlSheet->sheetData->row) { - foreach ($xmlSheet->sheetData->row as $row) { - if ($row["ht"] && !$this->_readDataOnly) { - $docSheet->getRowDimension(intval($row["r"]))->setRowHeight(floatval($row["ht"])); - } - if (self::boolean($row["hidden"]) && !$this->_readDataOnly) { - $docSheet->getRowDimension(intval($row["r"]))->setVisible(FALSE); - } - if (self::boolean($row["collapsed"])) { - $docSheet->getRowDimension(intval($row["r"]))->setCollapsed(TRUE); - } - if ($row["outlineLevel"] > 0) { - $docSheet->getRowDimension(intval($row["r"]))->setOutlineLevel(intval($row["outlineLevel"])); - } - if ($row["s"] && !$this->_readDataOnly) { - $docSheet->getRowDimension(intval($row["r"]))->setXfIndex(intval($row["s"])); - } - - foreach ($row->c as $c) { - $r = (string) $c["r"]; - $cellDataType = (string) $c["t"]; - $value = null; - $calculatedValue = null; - - // Read cell? - if ($this->getReadFilter() !== NULL) { - $coordinates = PHPExcel_Cell::coordinateFromString($r); - - if (!$this->getReadFilter()->readCell($coordinates[0], $coordinates[1], $docSheet->getTitle())) { - continue; - } - } - - // echo 'Reading cell ', $coordinates[0], $coordinates[1], PHP_EOL; - // print_r($c); - // echo PHP_EOL; - // echo 'Cell Data Type is ', $cellDataType, ': '; - // - // Read cell! - switch ($cellDataType) { - case "s": - // echo 'String', PHP_EOL; - if ((string)$c->v != '') { - $value = $sharedStrings[intval($c->v)]; - - if ($value instanceof PHPExcel_RichText) { - $value = clone $value; - } - } else { - $value = ''; - } - - break; - case "b": - // echo 'Boolean', PHP_EOL; - if (!isset($c->f)) { - $value = self::_castToBool($c); - } else { - // Formula - $this->_castToFormula($c,$r,$cellDataType,$value,$calculatedValue,$sharedFormulas,'_castToBool'); - if (isset($c->f['t'])) { - $att = array(); - $att = $c->f; - $docSheet->getCell($r)->setFormulaAttributes($att); - } - // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; - } - break; - case "inlineStr": - // echo 'Inline String', PHP_EOL; - $value = $this->_parseRichText($c->is); - - break; - case "e": - // echo 'Error', PHP_EOL; - if (!isset($c->f)) { - $value = self::_castToError($c); - } else { - // Formula - $this->_castToFormula($c,$r,$cellDataType,$value,$calculatedValue,$sharedFormulas,'_castToError'); - // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; - } - - break; - - default: - // echo 'Default', PHP_EOL; - if (!isset($c->f)) { - // echo 'Not a Formula', PHP_EOL; - $value = self::_castToString($c); - } else { - // echo 'Treat as Formula', PHP_EOL; - // Formula - $this->_castToFormula($c,$r,$cellDataType,$value,$calculatedValue,$sharedFormulas,'_castToString'); - // echo '$calculatedValue = ', $calculatedValue, PHP_EOL; - } - - break; - } - // echo 'Value is ', $value, PHP_EOL; - - // Check for numeric values - if (is_numeric($value) && $cellDataType != 's') { - if ($value == (int)$value) $value = (int)$value; - elseif ($value == (float)$value) $value = (float)$value; - elseif ($value == (double)$value) $value = (double)$value; - } - - // Rich text? - if ($value instanceof PHPExcel_RichText && $this->_readDataOnly) { - $value = $value->getPlainText(); - } - - $cell = $docSheet->getCell($r); - // Assign value - if ($cellDataType != '') { - $cell->setValueExplicit($value, $cellDataType); - } else { - $cell->setValue($value); - } - if ($calculatedValue !== NULL) { - $cell->setCalculatedValue($calculatedValue); - } - - // Style information? - if ($c["s"] && !$this->_readDataOnly) { - // no style index means 0, it seems - $cell->setXfIndex(isset($styles[intval($c["s"])]) ? - intval($c["s"]) : 0); - } - } - } - } - - $conditionals = array(); - if (!$this->_readDataOnly && $xmlSheet && $xmlSheet->conditionalFormatting) { - foreach ($xmlSheet->conditionalFormatting as $conditional) { - foreach ($conditional->cfRule as $cfRule) { - if ( - ( - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_NONE || - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_CELLIS || - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT || - (string)$cfRule["type"] == PHPExcel_Style_Conditional::CONDITION_EXPRESSION - ) && isset($dxfs[intval($cfRule["dxfId"])]) - ) { - $conditionals[(string) $conditional["sqref"]][intval($cfRule["priority"])] = $cfRule; - } - } - } - - foreach ($conditionals as $ref => $cfRules) { - ksort($cfRules); - $conditionalStyles = array(); - foreach ($cfRules as $cfRule) { - $objConditional = new PHPExcel_Style_Conditional(); - $objConditional->setConditionType((string)$cfRule["type"]); - $objConditional->setOperatorType((string)$cfRule["operator"]); - - if ((string)$cfRule["text"] != '') { - $objConditional->setText((string)$cfRule["text"]); - } - - if (count($cfRule->formula) > 1) { - foreach ($cfRule->formula as $formula) { - $objConditional->addCondition((string)$formula); - } - } else { - $objConditional->addCondition((string)$cfRule->formula); - } - $objConditional->setStyle(clone $dxfs[intval($cfRule["dxfId"])]); - $conditionalStyles[] = $objConditional; - } - - // Extract all cell references in $ref - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($ref); - foreach ($aReferences as $reference) { - $docSheet->getStyle($reference)->setConditionalStyles($conditionalStyles); - } - } - } - - $aKeys = array("sheet", "objects", "scenarios", "formatCells", "formatColumns", "formatRows", "insertColumns", "insertRows", "insertHyperlinks", "deleteColumns", "deleteRows", "selectLockedCells", "sort", "autoFilter", "pivotTables", "selectUnlockedCells"); - if (!$this->_readDataOnly && $xmlSheet && $xmlSheet->sheetProtection) { - foreach ($aKeys as $key) { - $method = "set" . ucfirst($key); - $docSheet->getProtection()->$method(self::boolean((string) $xmlSheet->sheetProtection[$key])); - } - } - - if (!$this->_readDataOnly && $xmlSheet && $xmlSheet->sheetProtection) { - $docSheet->getProtection()->setPassword((string) $xmlSheet->sheetProtection["password"], TRUE); - if ($xmlSheet->protectedRanges->protectedRange) { - foreach ($xmlSheet->protectedRanges->protectedRange as $protectedRange) { - $docSheet->protectCells((string) $protectedRange["sqref"], (string) $protectedRange["password"], true); - } - } - } - - if ($xmlSheet && $xmlSheet->autoFilter && !$this->_readDataOnly) { - $autoFilter = $docSheet->getAutoFilter(); - - $autoFilterRange = (string) $xmlSheet->autoFilter["ref"]; - if (strpos($autoFilterRange, ':') === false) { - $autoFilterRange = "${autoFilterRange}:${autoFilterRange}"; - } - $autoFilter->setRange($autoFilterRange); - - foreach ($xmlSheet->autoFilter->filterColumn as $filterColumn) { - $column = $autoFilter->getColumnByOffset((integer) $filterColumn["colId"]); - // Check for standard filters - if ($filterColumn->filters) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER); - $filters = $filterColumn->filters; - if ((isset($filters["blank"])) && ($filters["blank"] == 1)) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - '' - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER); - } - // Standard filters are always an OR join, so no join rule needs to be set - // Entries can be either filter elements - foreach ($filters->filter as $filterRule) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - (string) $filterRule["val"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER); - } - // Or Date Group elements - foreach ($filters->dateGroupItem as $dateGroupItem) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - array( - 'year' => (string) $dateGroupItem["year"], - 'month' => (string) $dateGroupItem["month"], - 'day' => (string) $dateGroupItem["day"], - 'hour' => (string) $dateGroupItem["hour"], - 'minute' => (string) $dateGroupItem["minute"], - 'second' => (string) $dateGroupItem["second"], - ), - (string) $dateGroupItem["dateTimeGrouping"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP); - } - } - // Check for custom filters - if ($filterColumn->customFilters) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER); - $customFilters = $filterColumn->customFilters; - // Custom filters can an AND or an OR join; - // and there should only ever be one or two entries - if ((isset($customFilters["and"])) && ($customFilters["and"] == 1)) { - $column->setJoin(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND); - } - foreach ($customFilters->customFilter as $filterRule) { - $column->createRule()->setRule( - (string) $filterRule["operator"], - (string) $filterRule["val"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_CUSTOMFILTER); - } - } - // Check for dynamic filters - if ($filterColumn->dynamicFilter) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER); - // We should only ever have one dynamic filter - foreach ($filterColumn->dynamicFilter as $filterRule) { - $column->createRule()->setRule( - NULL, // Operator is undefined, but always treated as EQUAL - (string) $filterRule["val"], - (string) $filterRule["type"] - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER); - if (isset($filterRule["val"])) { - $column->setAttribute('val',(string) $filterRule["val"]); - } - if (isset($filterRule["maxVal"])) { - $column->setAttribute('maxVal',(string) $filterRule["maxVal"]); - } - } - } - // Check for dynamic filters - if ($filterColumn->top10) { - $column->setFilterType(PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER); - // We should only ever have one top10 filter - foreach ($filterColumn->top10 as $filterRule) { - $column->createRule()->setRule( - (((isset($filterRule["percent"])) && ($filterRule["percent"] == 1)) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE - ), - (string) $filterRule["val"], - (((isset($filterRule["top"])) && ($filterRule["top"] == 1)) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM - ) - ) - ->setRuleType(PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER); - } - } - } - } - - if ($xmlSheet && $xmlSheet->mergeCells && $xmlSheet->mergeCells->mergeCell && !$this->_readDataOnly) { - foreach ($xmlSheet->mergeCells->mergeCell as $mergeCell) { - $mergeRef = (string) $mergeCell["ref"]; - if (strpos($mergeRef,':') !== FALSE) { - $docSheet->mergeCells((string) $mergeCell["ref"]); - } - } - } - - if ($xmlSheet && $xmlSheet->pageMargins && !$this->_readDataOnly) { - $docPageMargins = $docSheet->getPageMargins(); - $docPageMargins->setLeft(floatval($xmlSheet->pageMargins["left"])); - $docPageMargins->setRight(floatval($xmlSheet->pageMargins["right"])); - $docPageMargins->setTop(floatval($xmlSheet->pageMargins["top"])); - $docPageMargins->setBottom(floatval($xmlSheet->pageMargins["bottom"])); - $docPageMargins->setHeader(floatval($xmlSheet->pageMargins["header"])); - $docPageMargins->setFooter(floatval($xmlSheet->pageMargins["footer"])); - } - - if ($xmlSheet && $xmlSheet->pageSetup && !$this->_readDataOnly) { - $docPageSetup = $docSheet->getPageSetup(); - - if (isset($xmlSheet->pageSetup["orientation"])) { - $docPageSetup->setOrientation((string) $xmlSheet->pageSetup["orientation"]); - } - if (isset($xmlSheet->pageSetup["paperSize"])) { - $docPageSetup->setPaperSize(intval($xmlSheet->pageSetup["paperSize"])); - } - if (isset($xmlSheet->pageSetup["scale"])) { - $docPageSetup->setScale(intval($xmlSheet->pageSetup["scale"]), FALSE); - } - if (isset($xmlSheet->pageSetup["fitToHeight"]) && intval($xmlSheet->pageSetup["fitToHeight"]) >= 0) { - $docPageSetup->setFitToHeight(intval($xmlSheet->pageSetup["fitToHeight"]), FALSE); - } - if (isset($xmlSheet->pageSetup["fitToWidth"]) && intval($xmlSheet->pageSetup["fitToWidth"]) >= 0) { - $docPageSetup->setFitToWidth(intval($xmlSheet->pageSetup["fitToWidth"]), FALSE); - } - if (isset($xmlSheet->pageSetup["firstPageNumber"]) && isset($xmlSheet->pageSetup["useFirstPageNumber"]) && - self::boolean((string) $xmlSheet->pageSetup["useFirstPageNumber"])) { - $docPageSetup->setFirstPageNumber(intval($xmlSheet->pageSetup["firstPageNumber"])); - } - } - - if ($xmlSheet && $xmlSheet->headerFooter && !$this->_readDataOnly) { - $docHeaderFooter = $docSheet->getHeaderFooter(); - - if (isset($xmlSheet->headerFooter["differentOddEven"]) && - self::boolean((string)$xmlSheet->headerFooter["differentOddEven"])) { - $docHeaderFooter->setDifferentOddEven(TRUE); - } else { - $docHeaderFooter->setDifferentOddEven(FALSE); - } - if (isset($xmlSheet->headerFooter["differentFirst"]) && - self::boolean((string)$xmlSheet->headerFooter["differentFirst"])) { - $docHeaderFooter->setDifferentFirst(TRUE); - } else { - $docHeaderFooter->setDifferentFirst(FALSE); - } - if (isset($xmlSheet->headerFooter["scaleWithDoc"]) && - !self::boolean((string)$xmlSheet->headerFooter["scaleWithDoc"])) { - $docHeaderFooter->setScaleWithDocument(FALSE); - } else { - $docHeaderFooter->setScaleWithDocument(TRUE); - } - if (isset($xmlSheet->headerFooter["alignWithMargins"]) && - !self::boolean((string)$xmlSheet->headerFooter["alignWithMargins"])) { - $docHeaderFooter->setAlignWithMargins(FALSE); - } else { - $docHeaderFooter->setAlignWithMargins(TRUE); - } - - $docHeaderFooter->setOddHeader((string) $xmlSheet->headerFooter->oddHeader); - $docHeaderFooter->setOddFooter((string) $xmlSheet->headerFooter->oddFooter); - $docHeaderFooter->setEvenHeader((string) $xmlSheet->headerFooter->evenHeader); - $docHeaderFooter->setEvenFooter((string) $xmlSheet->headerFooter->evenFooter); - $docHeaderFooter->setFirstHeader((string) $xmlSheet->headerFooter->firstHeader); - $docHeaderFooter->setFirstFooter((string) $xmlSheet->headerFooter->firstFooter); - } - - if ($xmlSheet && $xmlSheet->rowBreaks && $xmlSheet->rowBreaks->brk && !$this->_readDataOnly) { - foreach ($xmlSheet->rowBreaks->brk as $brk) { - if ($brk["man"]) { - $docSheet->setBreak("A$brk[id]", PHPExcel_Worksheet::BREAK_ROW); - } - } - } - if ($xmlSheet && $xmlSheet->colBreaks && $xmlSheet->colBreaks->brk && !$this->_readDataOnly) { - foreach ($xmlSheet->colBreaks->brk as $brk) { - if ($brk["man"]) { - $docSheet->setBreak(PHPExcel_Cell::stringFromColumnIndex((string) $brk["id"]) . "1", PHPExcel_Worksheet::BREAK_COLUMN); - } - } - } - - if ($xmlSheet && $xmlSheet->dataValidations && !$this->_readDataOnly) { - foreach ($xmlSheet->dataValidations->dataValidation as $dataValidation) { - // Uppercase coordinate - $range = strtoupper($dataValidation["sqref"]); - $rangeSet = explode(' ',$range); - foreach($rangeSet as $range) { - $stRange = $docSheet->shrinkRangeToFit($range); - - // Extract all cell references in $range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($stRange); - foreach ($aReferences as $reference) { - // Create validation - $docValidation = $docSheet->getCell($reference)->getDataValidation(); - $docValidation->setType((string) $dataValidation["type"]); - $docValidation->setErrorStyle((string) $dataValidation["errorStyle"]); - $docValidation->setOperator((string) $dataValidation["operator"]); - $docValidation->setAllowBlank($dataValidation["allowBlank"] != 0); - $docValidation->setShowDropDown($dataValidation["showDropDown"] == 0); - $docValidation->setShowInputMessage($dataValidation["showInputMessage"] != 0); - $docValidation->setShowErrorMessage($dataValidation["showErrorMessage"] != 0); - $docValidation->setErrorTitle((string) $dataValidation["errorTitle"]); - $docValidation->setError((string) $dataValidation["error"]); - $docValidation->setPromptTitle((string) $dataValidation["promptTitle"]); - $docValidation->setPrompt((string) $dataValidation["prompt"]); - $docValidation->setFormula1((string) $dataValidation->formula1); - $docValidation->setFormula2((string) $dataValidation->formula2); - } - } - } - } - - // Add hyperlinks - $hyperlinks = array(); - if (!$this->_readDataOnly) { - // Locate hyperlink relations - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink") { - $hyperlinks[(string)$ele["Id"]] = (string)$ele["Target"]; - } - } - } - - // Loop through hyperlinks - if ($xmlSheet && $xmlSheet->hyperlinks) { - foreach ($xmlSheet->hyperlinks->hyperlink as $hyperlink) { - // Link url - $linkRel = $hyperlink->attributes('http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - foreach (PHPExcel_Cell::extractAllCellReferencesInRange($hyperlink['ref']) as $cellReference) { - $cell = $docSheet->getCell( $cellReference ); - if (isset($linkRel['id'])) { - $hyperlinkUrl = $hyperlinks[ (string)$linkRel['id'] ]; - if (isset($hyperlink['location'])) { - $hyperlinkUrl .= '#' . (string) $hyperlink['location']; - } - $cell->getHyperlink()->setUrl($hyperlinkUrl); - } elseif (isset($hyperlink['location'])) { - $cell->getHyperlink()->setUrl( 'sheet://' . (string)$hyperlink['location'] ); - } - - // Tooltip - if (isset($hyperlink['tooltip'])) { - $cell->getHyperlink()->setTooltip( (string)$hyperlink['tooltip'] ); - } - } - } - } - } - - // Add comments - $comments = array(); - $vmlComments = array(); - if (!$this->_readDataOnly) { - // Locate comment relations - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments") { - $comments[(string)$ele["Id"]] = (string)$ele["Target"]; - } - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing") { - $vmlComments[(string)$ele["Id"]] = (string)$ele["Target"]; - } - } - } - - // Loop through comments - foreach ($comments as $relName => $relPath) { - // Load comments file - $relPath = PHPExcel_Shared_File::realpath(dirname("$dir/$fileWorksheet") . "/" . $relPath); - $commentsFile = simplexml_load_string($this->_getFromZipArchive($zip, $relPath) , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - - // Utility variables - $authors = array(); - - // Loop through authors - foreach ($commentsFile->authors->author as $author) { - $authors[] = (string)$author; - } - - // Loop through contents - foreach ($commentsFile->commentList->comment as $comment) { - if(!empty($comment['authorId'])) - $docSheet->getComment( (string)$comment['ref'] )->setAuthor( $authors[(string)$comment['authorId']] ); - $docSheet->getComment( (string)$comment['ref'] )->setText( $this->_parseRichText($comment->text) ); - } - } - - // Loop through VML comments - foreach ($vmlComments as $relName => $relPath) { - // Load VML comments file - $relPath = PHPExcel_Shared_File::realpath(dirname("$dir/$fileWorksheet") . "/" . $relPath); - $vmlCommentsFile = simplexml_load_string( $this->_getFromZipArchive($zip, $relPath) , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $vmlCommentsFile->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - - $shapes = $vmlCommentsFile->xpath('//v:shape'); - foreach ($shapes as $shape) { - $shape->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - - if (isset($shape['style'])) { - $style = (string)$shape['style']; - $fillColor = strtoupper( substr( (string)$shape['fillcolor'], 1 ) ); - $column = null; - $row = null; - - $clientData = $shape->xpath('.//x:ClientData'); - if (is_array($clientData) && !empty($clientData)) { - $clientData = $clientData[0]; - - if ( isset($clientData['ObjectType']) && (string)$clientData['ObjectType'] == 'Note' ) { - $temp = $clientData->xpath('.//x:Row'); - if (is_array($temp)) $row = $temp[0]; - - $temp = $clientData->xpath('.//x:Column'); - if (is_array($temp)) $column = $temp[0]; - } - } - - if (($column !== NULL) && ($row !== NULL)) { - // Set comment properties - $comment = $docSheet->getCommentByColumnAndRow((string) $column, $row + 1); - $comment->getFillColor()->setRGB( $fillColor ); - - // Parse style - $styleArray = explode(';', str_replace(' ', '', $style)); - foreach ($styleArray as $stylePair) { - $stylePair = explode(':', $stylePair); - - if ($stylePair[0] == 'margin-left') $comment->setMarginLeft($stylePair[1]); - if ($stylePair[0] == 'margin-top') $comment->setMarginTop($stylePair[1]); - if ($stylePair[0] == 'width') $comment->setWidth($stylePair[1]); - if ($stylePair[0] == 'height') $comment->setHeight($stylePair[1]); - if ($stylePair[0] == 'visibility') $comment->setVisible( $stylePair[1] == 'visible' ); - - } - } - } - } - } - - // Header/footer images - if ($xmlSheet && $xmlSheet->legacyDrawingHF && !$this->_readDataOnly) { - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $vmlRelationship = ''; - - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing") { - $vmlRelationship = self::dir_add("$dir/$fileWorksheet", $ele["Target"]); - } - } - - if ($vmlRelationship != '') { - // Fetch linked images - $relsVML = simplexml_load_string($this->_getFromZipArchive($zip, dirname($vmlRelationship) . '/_rels/' . basename($vmlRelationship) . '.rels' ), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $drawings = array(); - foreach ($relsVML->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image") { - $drawings[(string) $ele["Id"]] = self::dir_add($vmlRelationship, $ele["Target"]); - } - } - - // Fetch VML document - $vmlDrawing = simplexml_load_string($this->_getFromZipArchive($zip, $vmlRelationship), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $vmlDrawing->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - - $hfImages = array(); - - $shapes = $vmlDrawing->xpath('//v:shape'); - foreach ($shapes as $idx => $shape) { - $shape->registerXPathNamespace('v', 'urn:schemas-microsoft-com:vml'); - $imageData = $shape->xpath('//v:imagedata'); - $imageData = $imageData[$idx]; - - $imageData = $imageData->attributes('urn:schemas-microsoft-com:office:office'); - $style = self::toCSSArray( (string)$shape['style'] ); - - $hfImages[ (string)$shape['id'] ] = new PHPExcel_Worksheet_HeaderFooterDrawing(); - if (isset($imageData['title'])) { - $hfImages[ (string)$shape['id'] ]->setName( (string)$imageData['title'] ); - } - - $hfImages[ (string)$shape['id'] ]->setPath("zip://".PHPExcel_Shared_File::realpath($pFilename)."#" . $drawings[(string)$imageData['relid']], false); - $hfImages[ (string)$shape['id'] ]->setResizeProportional(false); - $hfImages[ (string)$shape['id'] ]->setWidth($style['width']); - $hfImages[ (string)$shape['id'] ]->setHeight($style['height']); - if (isset($style['margin-left'])) { - $hfImages[ (string)$shape['id'] ]->setOffsetX($style['margin-left']); - } - $hfImages[ (string)$shape['id'] ]->setOffsetY($style['margin-top']); - $hfImages[ (string)$shape['id'] ]->setResizeProportional(true); - } - - $docSheet->getHeaderFooter()->setImages($hfImages); - } - } - } - - } - - // TODO: Autoshapes from twoCellAnchors! - if ($zip->locateName(dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels")) { - $relsWorksheet = simplexml_load_string($this->_getFromZipArchive($zip, dirname("$dir/$fileWorksheet") . "/_rels/" . basename($fileWorksheet) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $drawings = array(); - foreach ($relsWorksheet->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing") { - $drawings[(string) $ele["Id"]] = self::dir_add("$dir/$fileWorksheet", $ele["Target"]); - } - } - if ($xmlSheet->drawing && !$this->_readDataOnly) { - foreach ($xmlSheet->drawing as $drawing) { - $fileDrawing = $drawings[(string) self::array_item($drawing->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "id")]; - $relsDrawing = simplexml_load_string($this->_getFromZipArchive($zip, dirname($fileDrawing) . "/_rels/" . basename($fileDrawing) . ".rels") , 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); //~ http://schemas.openxmlformats.org/package/2006/relationships"); - $images = array(); - - if ($relsDrawing && $relsDrawing->Relationship) { - foreach ($relsDrawing->Relationship as $ele) { - if ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image") { - $images[(string) $ele["Id"]] = self::dir_add($fileDrawing, $ele["Target"]); - } elseif ($ele["Type"] == "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart") { - if ($this->_includeCharts) { - $charts[self::dir_add($fileDrawing, $ele["Target"])] = array('id' => (string) $ele["Id"], - 'sheet' => $docSheet->getTitle() - ); - } - } - } - } - $xmlDrawing = simplexml_load_string($this->_getFromZipArchive($zip, $fileDrawing), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions())->children("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"); - - if ($xmlDrawing->oneCellAnchor) { - foreach ($xmlDrawing->oneCellAnchor as $oneCellAnchor) { - if ($oneCellAnchor->pic->blipFill) { - $blip = $oneCellAnchor->pic->blipFill->children("http://schemas.openxmlformats.org/drawingml/2006/main")->blip; - $xfrm = $oneCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->xfrm; - $outerShdw = $oneCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->effectLst->outerShdw; - $objDrawing = new PHPExcel_Worksheet_Drawing; - $objDrawing->setName((string) self::array_item($oneCellAnchor->pic->nvPicPr->cNvPr->attributes(), "name")); - $objDrawing->setDescription((string) self::array_item($oneCellAnchor->pic->nvPicPr->cNvPr->attributes(), "descr")); - $objDrawing->setPath("zip://".PHPExcel_Shared_File::realpath($pFilename)."#" . $images[(string) self::array_item($blip->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "embed")], false); - $objDrawing->setCoordinates(PHPExcel_Cell::stringFromColumnIndex((string) $oneCellAnchor->from->col) . ($oneCellAnchor->from->row + 1)); - $objDrawing->setOffsetX(PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->colOff)); - $objDrawing->setOffsetY(PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->rowOff)); - $objDrawing->setResizeProportional(false); - $objDrawing->setWidth(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cx"))); - $objDrawing->setHeight(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cy"))); - if ($xfrm) { - $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($xfrm->attributes(), "rot"))); - } - if ($outerShdw) { - $shadow = $objDrawing->getShadow(); - $shadow->setVisible(true); - $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "blurRad"))); - $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "dist"))); - $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($outerShdw->attributes(), "dir"))); - $shadow->setAlignment((string) self::array_item($outerShdw->attributes(), "algn")); - $shadow->getColor()->setRGB(self::array_item($outerShdw->srgbClr->attributes(), "val")); - $shadow->setAlpha(self::array_item($outerShdw->srgbClr->alpha->attributes(), "val") / 1000); - } - $objDrawing->setWorksheet($docSheet); - } else { - // ? Can charts be positioned with a oneCellAnchor ? - $coordinates = PHPExcel_Cell::stringFromColumnIndex((string) $oneCellAnchor->from->col) . ($oneCellAnchor->from->row + 1); - $offsetX = PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->colOff); - $offsetY = PHPExcel_Shared_Drawing::EMUToPixels($oneCellAnchor->from->rowOff); - $width = PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cx")); - $height = PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($oneCellAnchor->ext->attributes(), "cy")); - } - } - } - if ($xmlDrawing->twoCellAnchor) { - foreach ($xmlDrawing->twoCellAnchor as $twoCellAnchor) { - if ($twoCellAnchor->pic->blipFill) { - $blip = $twoCellAnchor->pic->blipFill->children("http://schemas.openxmlformats.org/drawingml/2006/main")->blip; - $xfrm = $twoCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->xfrm; - $outerShdw = $twoCellAnchor->pic->spPr->children("http://schemas.openxmlformats.org/drawingml/2006/main")->effectLst->outerShdw; - $objDrawing = new PHPExcel_Worksheet_Drawing; - $objDrawing->setName((string) self::array_item($twoCellAnchor->pic->nvPicPr->cNvPr->attributes(), "name")); - $objDrawing->setDescription((string) self::array_item($twoCellAnchor->pic->nvPicPr->cNvPr->attributes(), "descr")); - $objDrawing->setPath("zip://".PHPExcel_Shared_File::realpath($pFilename)."#" . $images[(string) self::array_item($blip->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"), "embed")], false); - $objDrawing->setCoordinates(PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->from->col) . ($twoCellAnchor->from->row + 1)); - $objDrawing->setOffsetX(PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->colOff)); - $objDrawing->setOffsetY(PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->rowOff)); - $objDrawing->setResizeProportional(false); - - $objDrawing->setWidth(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($xfrm->ext->attributes(), "cx"))); - $objDrawing->setHeight(PHPExcel_Shared_Drawing::EMUToPixels(self::array_item($xfrm->ext->attributes(), "cy"))); - - if ($xfrm) { - $objDrawing->setRotation(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($xfrm->attributes(), "rot"))); - } - if ($outerShdw) { - $shadow = $objDrawing->getShadow(); - $shadow->setVisible(true); - $shadow->setBlurRadius(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "blurRad"))); - $shadow->setDistance(PHPExcel_Shared_Drawing::EMUTopixels(self::array_item($outerShdw->attributes(), "dist"))); - $shadow->setDirection(PHPExcel_Shared_Drawing::angleToDegrees(self::array_item($outerShdw->attributes(), "dir"))); - $shadow->setAlignment((string) self::array_item($outerShdw->attributes(), "algn")); - $shadow->getColor()->setRGB(self::array_item($outerShdw->srgbClr->attributes(), "val")); - $shadow->setAlpha(self::array_item($outerShdw->srgbClr->alpha->attributes(), "val") / 1000); - } - $objDrawing->setWorksheet($docSheet); - } elseif(($this->_includeCharts) && ($twoCellAnchor->graphicFrame)) { - $fromCoordinate = PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->from->col) . ($twoCellAnchor->from->row + 1); - $fromOffsetX = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->colOff); - $fromOffsetY = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->from->rowOff); - $toCoordinate = PHPExcel_Cell::stringFromColumnIndex((string) $twoCellAnchor->to->col) . ($twoCellAnchor->to->row + 1); - $toOffsetX = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->to->colOff); - $toOffsetY = PHPExcel_Shared_Drawing::EMUToPixels($twoCellAnchor->to->rowOff); - $graphic = $twoCellAnchor->graphicFrame->children("http://schemas.openxmlformats.org/drawingml/2006/main")->graphic; - $chartRef = $graphic->graphicData->children("http://schemas.openxmlformats.org/drawingml/2006/chart")->chart; - $thisChart = (string) $chartRef->attributes("http://schemas.openxmlformats.org/officeDocument/2006/relationships"); - - $chartDetails[$docSheet->getTitle().'!'.$thisChart] = - array( 'fromCoordinate' => $fromCoordinate, - 'fromOffsetX' => $fromOffsetX, - 'fromOffsetY' => $fromOffsetY, - 'toCoordinate' => $toCoordinate, - 'toOffsetX' => $toOffsetX, - 'toOffsetY' => $toOffsetY, - 'worksheetTitle' => $docSheet->getTitle() - ); - } - } - } - - } - } - } - - // Loop through definedNames - if ($xmlWorkbook->definedNames) { - foreach ($xmlWorkbook->definedNames->definedName as $definedName) { - // Extract range - $extractedRange = (string)$definedName; - $extractedRange = preg_replace('/\'(\w+)\'\!/', '', $extractedRange); - if (($spos = strpos($extractedRange,'!')) !== false) { - $extractedRange = substr($extractedRange,0,$spos).str_replace('$', '', substr($extractedRange,$spos)); - } else { - $extractedRange = str_replace('$', '', $extractedRange); - } - - // Valid range? - if (stripos((string)$definedName, '#REF!') !== FALSE || $extractedRange == '') { - continue; - } - - // Some definedNames are only applicable if we are on the same sheet... - if ((string)$definedName['localSheetId'] != '' && (string)$definedName['localSheetId'] == $sheetId) { - // Switch on type - switch ((string)$definedName['name']) { - - case '_xlnm._FilterDatabase': - if ((string)$definedName['hidden'] !== '1') { - $extractedRange = explode(',', $extractedRange); - foreach ($extractedRange as $range) { - $autoFilterRange = $range; - if (strpos($autoFilterRange, ':') === false) { - $autoFilterRange = "${autoFilterRange}:${autoFilterRange}"; - } - $docSheet->getAutoFilter()->setRange($autoFilterRange); - } - } - break; - - case '_xlnm.Print_Titles': - // Split $extractedRange - $extractedRange = explode(',', $extractedRange); - - // Set print titles - foreach ($extractedRange as $range) { - $matches = array(); - $range = str_replace('$', '', $range); - - // check for repeating columns, e g. 'A:A' or 'A:D' - if (preg_match('/!?([A-Z]+)\:([A-Z]+)$/', $range, $matches)) { - $docSheet->getPageSetup()->setColumnsToRepeatAtLeft(array($matches[1], $matches[2])); - } - // check for repeating rows, e.g. '1:1' or '1:5' - elseif (preg_match('/!?(\d+)\:(\d+)$/', $range, $matches)) { - $docSheet->getPageSetup()->setRowsToRepeatAtTop(array($matches[1], $matches[2])); - } - } - break; - - case '_xlnm.Print_Area': - $rangeSets = explode(',', $extractedRange); // FIXME: what if sheetname contains comma? - $newRangeSets = array(); - foreach($rangeSets as $rangeSet) { - $range = explode('!', $rangeSet); // FIXME: what if sheetname contains exclamation mark? - $rangeSet = isset($range[1]) ? $range[1] : $range[0]; - if (strpos($rangeSet, ':') === FALSE) { - $rangeSet = $rangeSet . ':' . $rangeSet; - } - $newRangeSets[] = str_replace('$', '', $rangeSet); - } - $docSheet->getPageSetup()->setPrintArea(implode(',',$newRangeSets)); - break; - - default: - break; - } - } - } - } - - // Next sheet id - ++$sheetId; - } - - // Loop through definedNames - if ($xmlWorkbook->definedNames) { - foreach ($xmlWorkbook->definedNames->definedName as $definedName) { - // Extract range - $extractedRange = (string)$definedName; - $extractedRange = preg_replace('/\'(\w+)\'\!/', '', $extractedRange); - if (($spos = strpos($extractedRange,'!')) !== false) { - $extractedRange = substr($extractedRange,0,$spos).str_replace('$', '', substr($extractedRange,$spos)); - } else { - $extractedRange = str_replace('$', '', $extractedRange); - } - - // Valid range? - if (stripos((string)$definedName, '#REF!') !== false || $extractedRange == '') { - continue; - } - - // Some definedNames are only applicable if we are on the same sheet... - if ((string)$definedName['localSheetId'] != '') { - // Local defined name - // Switch on type - switch ((string)$definedName['name']) { - - case '_xlnm._FilterDatabase': - case '_xlnm.Print_Titles': - case '_xlnm.Print_Area': - break; - - default: - if ($mapSheetId[(integer) $definedName['localSheetId']] !== null) { - $range = explode('!', (string)$definedName); - if (count($range) == 2) { - $range[0] = str_replace("''", "'", $range[0]); - $range[0] = str_replace("'", "", $range[0]); - if ($worksheet = $docSheet->getParent()->getSheetByName($range[0])) { - $extractedRange = str_replace('$', '', $range[1]); - $scope = $docSheet->getParent()->getSheet($mapSheetId[(integer) $definedName['localSheetId']]); - $excel->addNamedRange( new PHPExcel_NamedRange((string)$definedName['name'], $worksheet, $extractedRange, true, $scope) ); - } - } - } - break; - } - } else if (!isset($definedName['localSheetId'])) { - // "Global" definedNames - $locatedSheet = null; - $extractedSheetName = ''; - if (strpos( (string)$definedName, '!' ) !== false) { - // Extract sheet name - $extractedSheetName = PHPExcel_Worksheet::extractSheetTitle( (string)$definedName, true ); - $extractedSheetName = $extractedSheetName[0]; - - // Locate sheet - $locatedSheet = $excel->getSheetByName($extractedSheetName); - - // Modify range - $range = explode('!', $extractedRange); - $extractedRange = isset($range[1]) ? $range[1] : $range[0]; - } - - if ($locatedSheet !== NULL) { - $excel->addNamedRange( new PHPExcel_NamedRange((string)$definedName['name'], $locatedSheet, $extractedRange, false) ); - } - } - } - } - } - - if ((!$this->_readDataOnly) || (!empty($this->_loadSheetsOnly))) { - // active sheet index - $activeTab = intval($xmlWorkbook->bookViews->workbookView["activeTab"]); // refers to old sheet index - - // keep active sheet index if sheet is still loaded, else first sheet is set as the active - if (isset($mapSheetId[$activeTab]) && $mapSheetId[$activeTab] !== null) { - $excel->setActiveSheetIndex($mapSheetId[$activeTab]); - } else { - if ($excel->getSheetCount() == 0) { - $excel->createSheet(); - } - $excel->setActiveSheetIndex(0); - } - } - break; - } - - } - - - if (!$this->_readDataOnly) { - $contentTypes = simplexml_load_string($this->_getFromZipArchive($zip, "[Content_Types].xml"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - foreach ($contentTypes->Override as $contentType) { - switch ($contentType["ContentType"]) { - case "application/vnd.openxmlformats-officedocument.drawingml.chart+xml": - if ($this->_includeCharts) { - $chartEntryRef = ltrim($contentType['PartName'],'/'); - $chartElements = simplexml_load_string($this->_getFromZipArchive($zip, $chartEntryRef), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $objChart = PHPExcel_Reader_Excel2007_Chart::readChart($chartElements,basename($chartEntryRef,'.xml')); - -// echo 'Chart ',$chartEntryRef,'<br />'; -// var_dump($charts[$chartEntryRef]); -// - if (isset($charts[$chartEntryRef])) { - $chartPositionRef = $charts[$chartEntryRef]['sheet'].'!'.$charts[$chartEntryRef]['id']; -// echo 'Position Ref ',$chartPositionRef,'<br />'; - if (isset($chartDetails[$chartPositionRef])) { -// var_dump($chartDetails[$chartPositionRef]); - - $excel->getSheetByName($charts[$chartEntryRef]['sheet'])->addChart($objChart); - $objChart->setWorksheet($excel->getSheetByName($charts[$chartEntryRef]['sheet'])); - $objChart->setTopLeftPosition( $chartDetails[$chartPositionRef]['fromCoordinate'], - $chartDetails[$chartPositionRef]['fromOffsetX'], - $chartDetails[$chartPositionRef]['fromOffsetY'] - ); - $objChart->setBottomRightPosition( $chartDetails[$chartPositionRef]['toCoordinate'], - $chartDetails[$chartPositionRef]['toOffsetX'], - $chartDetails[$chartPositionRef]['toOffsetY'] - ); - } - } - } - } - } - } - - $zip->close(); - - return $excel; - } - - - private static function _readColor($color, $background=FALSE) { - if (isset($color["rgb"])) { - return (string)$color["rgb"]; - } else if (isset($color["indexed"])) { - return PHPExcel_Style_Color::indexedColor($color["indexed"]-7,$background)->getARGB(); - } else if (isset($color["theme"])) { - if (self::$_theme !== NULL) { - $returnColour = self::$_theme->getColourByIndex((int)$color["theme"]); - if (isset($color["tint"])) { - $tintAdjust = (float) $color["tint"]; - $returnColour = PHPExcel_Style_Color::changeBrightness($returnColour, $tintAdjust); - } - return 'FF'.$returnColour; - } - } - - if ($background) { - return 'FFFFFFFF'; - } - return 'FF000000'; - } - - - private static function _readStyle($docStyle, $style) { - // format code -// if (isset($style->numFmt)) { -// if (isset($style->numFmt['formatCode'])) { -// $docStyle->getNumberFormat()->setFormatCode((string) $style->numFmt['formatCode']); -// } else { - $docStyle->getNumberFormat()->setFormatCode($style->numFmt); -// } -// } - - // font - if (isset($style->font)) { - $docStyle->getFont()->setName((string) $style->font->name["val"]); - $docStyle->getFont()->setSize((string) $style->font->sz["val"]); - if (isset($style->font->b)) { - $docStyle->getFont()->setBold(!isset($style->font->b["val"]) || self::boolean((string) $style->font->b["val"])); - } - if (isset($style->font->i)) { - $docStyle->getFont()->setItalic(!isset($style->font->i["val"]) || self::boolean((string) $style->font->i["val"])); - } - if (isset($style->font->strike)) { - $docStyle->getFont()->setStrikethrough(!isset($style->font->strike["val"]) || self::boolean((string) $style->font->strike["val"])); - } - $docStyle->getFont()->getColor()->setARGB(self::_readColor($style->font->color)); - - if (isset($style->font->u) && !isset($style->font->u["val"])) { - $docStyle->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - } else if (isset($style->font->u) && isset($style->font->u["val"])) { - $docStyle->getFont()->setUnderline((string)$style->font->u["val"]); - } - - if (isset($style->font->vertAlign) && isset($style->font->vertAlign["val"])) { - $vertAlign = strtolower((string)$style->font->vertAlign["val"]); - if ($vertAlign == 'superscript') { - $docStyle->getFont()->setSuperScript(true); - } - if ($vertAlign == 'subscript') { - $docStyle->getFont()->setSubScript(true); - } - } - } - - // fill - if (isset($style->fill)) { - if ($style->fill->gradientFill) { - $gradientFill = $style->fill->gradientFill[0]; - if(!empty($gradientFill["type"])) { - $docStyle->getFill()->setFillType((string) $gradientFill["type"]); - } - $docStyle->getFill()->setRotation(floatval($gradientFill["degree"])); - $gradientFill->registerXPathNamespace("sml", "http://schemas.openxmlformats.org/spreadsheetml/2006/main"); - $docStyle->getFill()->getStartColor()->setARGB(self::_readColor( self::array_item($gradientFill->xpath("sml:stop[@position=0]"))->color) ); - $docStyle->getFill()->getEndColor()->setARGB(self::_readColor( self::array_item($gradientFill->xpath("sml:stop[@position=1]"))->color) ); - } elseif ($style->fill->patternFill) { - $patternType = (string)$style->fill->patternFill["patternType"] != '' ? (string)$style->fill->patternFill["patternType"] : 'solid'; - $docStyle->getFill()->setFillType($patternType); - if ($style->fill->patternFill->fgColor) { - $docStyle->getFill()->getStartColor()->setARGB(self::_readColor($style->fill->patternFill->fgColor,true)); - } else { - $docStyle->getFill()->getStartColor()->setARGB('FF000000'); - } - if ($style->fill->patternFill->bgColor) { - $docStyle->getFill()->getEndColor()->setARGB(self::_readColor($style->fill->patternFill->bgColor,true)); - } - } - } - - // border - if (isset($style->border)) { - $diagonalUp = self::boolean((string) $style->border["diagonalUp"]); - $diagonalDown = self::boolean((string) $style->border["diagonalDown"]); - if (!$diagonalUp && !$diagonalDown) { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_NONE); - } elseif ($diagonalUp && !$diagonalDown) { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_UP); - } elseif (!$diagonalUp && $diagonalDown) { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_DOWN); - } else { - $docStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_BOTH); - } - self::_readBorder($docStyle->getBorders()->getLeft(), $style->border->left); - self::_readBorder($docStyle->getBorders()->getRight(), $style->border->right); - self::_readBorder($docStyle->getBorders()->getTop(), $style->border->top); - self::_readBorder($docStyle->getBorders()->getBottom(), $style->border->bottom); - self::_readBorder($docStyle->getBorders()->getDiagonal(), $style->border->diagonal); - } - - // alignment - if (isset($style->alignment)) { - $docStyle->getAlignment()->setHorizontal((string) $style->alignment["horizontal"]); - $docStyle->getAlignment()->setVertical((string) $style->alignment["vertical"]); - - $textRotation = 0; - if ((int)$style->alignment["textRotation"] <= 90) { - $textRotation = (int)$style->alignment["textRotation"]; - } else if ((int)$style->alignment["textRotation"] > 90) { - $textRotation = 90 - (int)$style->alignment["textRotation"]; - } - - $docStyle->getAlignment()->setTextRotation(intval($textRotation)); - $docStyle->getAlignment()->setWrapText(self::boolean((string) $style->alignment["wrapText"])); - $docStyle->getAlignment()->setShrinkToFit(self::boolean((string) $style->alignment["shrinkToFit"])); - $docStyle->getAlignment()->setIndent( intval((string)$style->alignment["indent"]) > 0 ? intval((string)$style->alignment["indent"]) : 0 ); - $docStyle->getAlignment()->setReadorder( intval((string)$style->alignment["readingOrder"]) > 0 ? intval((string)$style->alignment["readingOrder"]) : 0 ); - } - - // protection - if (isset($style->protection)) { - if (isset($style->protection['locked'])) { - if (self::boolean((string) $style->protection['locked'])) { - $docStyle->getProtection()->setLocked(PHPExcel_Style_Protection::PROTECTION_PROTECTED); - } else { - $docStyle->getProtection()->setLocked(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - } - } - - if (isset($style->protection['hidden'])) { - if (self::boolean((string) $style->protection['hidden'])) { - $docStyle->getProtection()->setHidden(PHPExcel_Style_Protection::PROTECTION_PROTECTED); - } else { - $docStyle->getProtection()->setHidden(PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - } - } - } - - // top-level style settings - if (isset($style->quotePrefix)) { - $docStyle->setQuotePrefix($style->quotePrefix); - } - } - - - private static function _readBorder($docBorder, $eleBorder) { - if (isset($eleBorder["style"])) { - $docBorder->setBorderStyle((string) $eleBorder["style"]); - } - if (isset($eleBorder->color)) { - $docBorder->getColor()->setARGB(self::_readColor($eleBorder->color)); - } - } - - - private function _parseRichText($is = null) { - $value = new PHPExcel_RichText(); - - if (isset($is->t)) { - $value->createText( PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $is->t ) ); - } else { - foreach ($is->r as $run) { - if (!isset($run->rPr)) { - $objText = $value->createText( PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $run->t ) ); - - } else { - $objText = $value->createTextRun( PHPExcel_Shared_String::ControlCharacterOOXML2PHP( (string) $run->t ) ); - - if (isset($run->rPr->rFont["val"])) { - $objText->getFont()->setName((string) $run->rPr->rFont["val"]); - } - - if (isset($run->rPr->sz["val"])) { - $objText->getFont()->setSize((string) $run->rPr->sz["val"]); - } - - if (isset($run->rPr->color)) { - $objText->getFont()->setColor( new PHPExcel_Style_Color( self::_readColor($run->rPr->color) ) ); - } - - if ((isset($run->rPr->b["val"]) && self::boolean((string) $run->rPr->b["val"])) || - (isset($run->rPr->b) && !isset($run->rPr->b["val"]))) { - $objText->getFont()->setBold(TRUE); - } - - if ((isset($run->rPr->i["val"]) && self::boolean((string) $run->rPr->i["val"])) || - (isset($run->rPr->i) && !isset($run->rPr->i["val"]))) { - $objText->getFont()->setItalic(TRUE); - } - - if (isset($run->rPr->vertAlign) && isset($run->rPr->vertAlign["val"])) { - $vertAlign = strtolower((string)$run->rPr->vertAlign["val"]); - if ($vertAlign == 'superscript') { - $objText->getFont()->setSuperScript(TRUE); - } - if ($vertAlign == 'subscript') { - $objText->getFont()->setSubScript(TRUE); - } - } - - if (isset($run->rPr->u) && !isset($run->rPr->u["val"])) { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - } else if (isset($run->rPr->u) && isset($run->rPr->u["val"])) { - $objText->getFont()->setUnderline((string)$run->rPr->u["val"]); - } - - if ((isset($run->rPr->strike["val"]) && self::boolean((string) $run->rPr->strike["val"])) || - (isset($run->rPr->strike) && !isset($run->rPr->strike["val"]))) { - $objText->getFont()->setStrikethrough(TRUE); - } - } - } - } - - return $value; - } - - private function _readRibbon($excel, $customUITarget, $zip) - { - $baseDir = dirname($customUITarget); - $nameCustomUI = basename($customUITarget); - // get the xml file (ribbon) - $localRibbon = $this->_getFromZipArchive($zip, $customUITarget); - $customUIImagesNames = array(); - $customUIImagesBinaries = array(); - // something like customUI/_rels/customUI.xml.rels - $pathRels = $baseDir . '/_rels/' . $nameCustomUI . '.rels'; - $dataRels = $this->_getFromZipArchive($zip, $pathRels); - if ($dataRels) { - // exists and not empty if the ribbon have some pictures (other than internal MSO) - $UIRels = simplexml_load_string($dataRels, 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - if ($UIRels) { - // we need to save id and target to avoid parsing customUI.xml and "guess" if it's a pseudo callback who load the image - foreach ($UIRels->Relationship as $ele) { - if ($ele["Type"] == 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image') { - // an image ? - $customUIImagesNames[(string) $ele['Id']] = (string)$ele['Target']; - $customUIImagesBinaries[(string)$ele['Target']] = $this->_getFromZipArchive($zip, $baseDir . '/' . (string) $ele['Target']); - } - } - } - } - if ($localRibbon) { - $excel->setRibbonXMLData($customUITarget, $localRibbon); - if (count($customUIImagesNames) > 0 && count($customUIImagesBinaries) > 0) { - $excel->setRibbonBinObjects($customUIImagesNames, $customUIImagesBinaries); - } else { - $excel->setRibbonBinObjects(NULL); - } - } else { - $excel->setRibbonXMLData(NULL); - $excel->setRibbonBinObjects(NULL); - } - } - - private static function array_item($array, $key = 0) { - return (isset($array[$key]) ? $array[$key] : null); - } - - - private static function dir_add($base, $add) { - return preg_replace('~[^/]+/\.\./~', '', dirname($base) . "/$add"); - } - - - private static function toCSSArray($style) { - $style = str_replace(array("\r","\n"), "", $style); - - $temp = explode(';', $style); - $style = array(); - foreach ($temp as $item) { - $item = explode(':', $item); - - if (strpos($item[1], 'px') !== false) { - $item[1] = str_replace('px', '', $item[1]); - } - if (strpos($item[1], 'pt') !== false) { - $item[1] = str_replace('pt', '', $item[1]); - $item[1] = PHPExcel_Shared_Font::fontSizeToPixels($item[1]); - } - if (strpos($item[1], 'in') !== false) { - $item[1] = str_replace('in', '', $item[1]); - $item[1] = PHPExcel_Shared_Font::inchSizeToPixels($item[1]); - } - if (strpos($item[1], 'cm') !== false) { - $item[1] = str_replace('cm', '', $item[1]); - $item[1] = PHPExcel_Shared_Font::centimeterSizeToPixels($item[1]); - } - - $style[$item[0]] = $item[1]; - } - - return $style; - } - - private static function boolean($value = NULL) - { - if (is_object($value)) { - $value = (string) $value; - } - if (is_numeric($value)) { - return (bool) $value; - } - return ($value === 'true' || $value === 'TRUE'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/Chart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/Chart.php deleted file mode 100644 index 1424276c6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/Chart.php +++ /dev/null @@ -1,517 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Reader_Excel2007_Chart - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel2007_Chart -{ - private static function _getAttribute($component, $name, $format) { - $attributes = $component->attributes(); - if (isset($attributes[$name])) { - if ($format == 'string') { - return (string) $attributes[$name]; - } elseif ($format == 'integer') { - return (integer) $attributes[$name]; - } elseif ($format == 'boolean') { - return (boolean) ($attributes[$name] === '0' || $attributes[$name] !== 'true') ? false : true; - } else { - return (float) $attributes[$name]; - } - } - return null; - } // function _getAttribute() - - - private static function _readColor($color,$background=false) { - if (isset($color["rgb"])) { - return (string)$color["rgb"]; - } else if (isset($color["indexed"])) { - return PHPExcel_Style_Color::indexedColor($color["indexed"]-7,$background)->getARGB(); - } - } - - - public static function readChart($chartElements,$chartName) { - $namespacesChartMeta = $chartElements->getNamespaces(true); - $chartElementsC = $chartElements->children($namespacesChartMeta['c']); - - $XaxisLabel = $YaxisLabel = $legend = $title = NULL; - $dispBlanksAs = $plotVisOnly = NULL; - - foreach($chartElementsC as $chartElementKey => $chartElement) { - switch ($chartElementKey) { - case "chart": - foreach($chartElement as $chartDetailsKey => $chartDetails) { - $chartDetailsC = $chartDetails->children($namespacesChartMeta['c']); - switch ($chartDetailsKey) { - case "plotArea": - $plotAreaLayout = $XaxisLable = $YaxisLable = null; - $plotSeries = $plotAttributes = array(); - foreach($chartDetails as $chartDetailKey => $chartDetail) { - switch ($chartDetailKey) { - case "layout": - $plotAreaLayout = self::_chartLayoutDetails($chartDetail,$namespacesChartMeta,'plotArea'); - break; - case "catAx": - if (isset($chartDetail->title)) { - $XaxisLabel = self::_chartTitle($chartDetail->title->children($namespacesChartMeta['c']),$namespacesChartMeta,'cat'); - } - break; - case "dateAx": - if (isset($chartDetail->title)) { - $XaxisLabel = self::_chartTitle($chartDetail->title->children($namespacesChartMeta['c']),$namespacesChartMeta,'cat'); - } - break; - case "valAx": - if (isset($chartDetail->title)) { - $YaxisLabel = self::_chartTitle($chartDetail->title->children($namespacesChartMeta['c']),$namespacesChartMeta,'cat'); - } - break; - case "barChart": - case "bar3DChart": - $barDirection = self::_getAttribute($chartDetail->barDir, 'val', 'string'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotDirection($barDirection); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "lineChart": - case "line3DChart": - $plotSeries[] = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "areaChart": - case "area3DChart": - $plotSeries[] = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "doughnutChart": - case "pieChart": - case "pie3DChart": - $explosion = isset($chartDetail->ser->explosion); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($explosion); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "scatterChart": - $scatterStyle = self::_getAttribute($chartDetail->scatterStyle, 'val', 'string'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($scatterStyle); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "bubbleChart": - $bubbleScale = self::_getAttribute($chartDetail->bubbleScale, 'val', 'integer'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($bubbleScale); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "radarChart": - $radarStyle = self::_getAttribute($chartDetail->radarStyle, 'val', 'string'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($radarStyle); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "surfaceChart": - case "surface3DChart": - $wireFrame = self::_getAttribute($chartDetail->wireframe, 'val', 'boolean'); - $plotSer = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotSer->setPlotStyle($wireFrame); - $plotSeries[] = $plotSer; - $plotAttributes = self::_readChartAttributes($chartDetail); - break; - case "stockChart": - $plotSeries[] = self::_chartDataSeries($chartDetail,$namespacesChartMeta,$chartDetailKey); - $plotAttributes = self::_readChartAttributes($plotAreaLayout); - break; - } - } - if ($plotAreaLayout == NULL) { - $plotAreaLayout = new PHPExcel_Chart_Layout(); - } - $plotArea = new PHPExcel_Chart_PlotArea($plotAreaLayout,$plotSeries); - self::_setChartAttributes($plotAreaLayout,$plotAttributes); - break; - case "plotVisOnly": - $plotVisOnly = self::_getAttribute($chartDetails, 'val', 'string'); - break; - case "dispBlanksAs": - $dispBlanksAs = self::_getAttribute($chartDetails, 'val', 'string'); - break; - case "title": - $title = self::_chartTitle($chartDetails,$namespacesChartMeta,'title'); - break; - case "legend": - $legendPos = 'r'; - $legendLayout = null; - $legendOverlay = false; - foreach($chartDetails as $chartDetailKey => $chartDetail) { - switch ($chartDetailKey) { - case "legendPos": - $legendPos = self::_getAttribute($chartDetail, 'val', 'string'); - break; - case "overlay": - $legendOverlay = self::_getAttribute($chartDetail, 'val', 'boolean'); - break; - case "layout": - $legendLayout = self::_chartLayoutDetails($chartDetail,$namespacesChartMeta,'legend'); - break; - } - } - $legend = new PHPExcel_Chart_Legend($legendPos, $legendLayout, $legendOverlay); - break; - } - } - } - } - $chart = new PHPExcel_Chart($chartName,$title,$legend,$plotArea,$plotVisOnly,$dispBlanksAs,$XaxisLabel,$YaxisLabel); - - return $chart; - } // function readChart() - - - private static function _chartTitle($titleDetails,$namespacesChartMeta,$type) { - $caption = array(); - $titleLayout = null; - foreach($titleDetails as $titleDetailKey => $chartDetail) { - switch ($titleDetailKey) { - case "tx": - $titleDetails = $chartDetail->rich->children($namespacesChartMeta['a']); - foreach($titleDetails as $titleKey => $titleDetail) { - switch ($titleKey) { - case "p": - $titleDetailPart = $titleDetail->children($namespacesChartMeta['a']); - $caption[] = self::_parseRichText($titleDetailPart); - } - } - break; - case "layout": - $titleLayout = self::_chartLayoutDetails($chartDetail,$namespacesChartMeta); - break; - } - } - - return new PHPExcel_Chart_Title($caption, $titleLayout); - } // function _chartTitle() - - - private static function _chartLayoutDetails($chartDetail,$namespacesChartMeta) { - if (!isset($chartDetail->manualLayout)) { - return null; - } - $details = $chartDetail->manualLayout->children($namespacesChartMeta['c']); - if (is_null($details)) { - return null; - } - $layout = array(); - foreach($details as $detailKey => $detail) { -// echo $detailKey,' => ',self::_getAttribute($detail, 'val', 'string'),PHP_EOL; - $layout[$detailKey] = self::_getAttribute($detail, 'val', 'string'); - } - return new PHPExcel_Chart_Layout($layout); - } // function _chartLayoutDetails() - - - private static function _chartDataSeries($chartDetail,$namespacesChartMeta,$plotType) { - $multiSeriesType = NULL; - $smoothLine = false; - $seriesLabel = $seriesCategory = $seriesValues = $plotOrder = array(); - - $seriesDetailSet = $chartDetail->children($namespacesChartMeta['c']); - foreach($seriesDetailSet as $seriesDetailKey => $seriesDetails) { - switch ($seriesDetailKey) { - case "grouping": - $multiSeriesType = self::_getAttribute($chartDetail->grouping, 'val', 'string'); - break; - case "ser": - $marker = NULL; - foreach($seriesDetails as $seriesKey => $seriesDetail) { - switch ($seriesKey) { - case "idx": - $seriesIndex = self::_getAttribute($seriesDetail, 'val', 'integer'); - break; - case "order": - $seriesOrder = self::_getAttribute($seriesDetail, 'val', 'integer'); - $plotOrder[$seriesIndex] = $seriesOrder; - break; - case "tx": - $seriesLabel[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta); - break; - case "marker": - $marker = self::_getAttribute($seriesDetail->symbol, 'val', 'string'); - break; - case "smooth": - $smoothLine = self::_getAttribute($seriesDetail, 'val', 'boolean'); - break; - case "cat": - $seriesCategory[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta); - break; - case "val": - $seriesValues[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta,$marker); - break; - case "xVal": - $seriesCategory[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta,$marker); - break; - case "yVal": - $seriesValues[$seriesIndex] = self::_chartDataSeriesValueSet($seriesDetail,$namespacesChartMeta,$marker); - break; - } - } - } - } - return new PHPExcel_Chart_DataSeries($plotType,$multiSeriesType,$plotOrder,$seriesLabel,$seriesCategory,$seriesValues,$smoothLine); - } // function _chartDataSeries() - - - private static function _chartDataSeriesValueSet($seriesDetail, $namespacesChartMeta, $marker = null, $smoothLine = false) { - if (isset($seriesDetail->strRef)) { - $seriesSource = (string) $seriesDetail->strRef->f; - $seriesData = self::_chartDataSeriesValues($seriesDetail->strRef->strCache->children($namespacesChartMeta['c']),'s'); - - return new PHPExcel_Chart_DataSeriesValues('String',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } elseif (isset($seriesDetail->numRef)) { - $seriesSource = (string) $seriesDetail->numRef->f; - $seriesData = self::_chartDataSeriesValues($seriesDetail->numRef->numCache->children($namespacesChartMeta['c'])); - - return new PHPExcel_Chart_DataSeriesValues('Number',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } elseif (isset($seriesDetail->multiLvlStrRef)) { - $seriesSource = (string) $seriesDetail->multiLvlStrRef->f; - $seriesData = self::_chartDataSeriesValuesMultiLevel($seriesDetail->multiLvlStrRef->multiLvlStrCache->children($namespacesChartMeta['c']),'s'); - $seriesData['pointCount'] = count($seriesData['dataValues']); - - return new PHPExcel_Chart_DataSeriesValues('String',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } elseif (isset($seriesDetail->multiLvlNumRef)) { - $seriesSource = (string) $seriesDetail->multiLvlNumRef->f; - $seriesData = self::_chartDataSeriesValuesMultiLevel($seriesDetail->multiLvlNumRef->multiLvlNumCache->children($namespacesChartMeta['c']),'s'); - $seriesData['pointCount'] = count($seriesData['dataValues']); - - return new PHPExcel_Chart_DataSeriesValues('String',$seriesSource,$seriesData['formatCode'],$seriesData['pointCount'],$seriesData['dataValues'],$marker,$smoothLine); - } - return null; - } // function _chartDataSeriesValueSet() - - - private static function _chartDataSeriesValues($seriesValueSet,$dataType='n') { - $seriesVal = array(); - $formatCode = ''; - $pointCount = 0; - - foreach($seriesValueSet as $seriesValueIdx => $seriesValue) { - switch ($seriesValueIdx) { - case 'ptCount': - $pointCount = self::_getAttribute($seriesValue, 'val', 'integer'); - break; - case 'formatCode': - $formatCode = (string) $seriesValue; - break; - case 'pt': - $pointVal = self::_getAttribute($seriesValue, 'idx', 'integer'); - if ($dataType == 's') { - $seriesVal[$pointVal] = (string) $seriesValue->v; - } else { - $seriesVal[$pointVal] = (float) $seriesValue->v; - } - break; - } - } - - if (empty($seriesVal)) { - $seriesVal = NULL; - } - - return array( 'formatCode' => $formatCode, - 'pointCount' => $pointCount, - 'dataValues' => $seriesVal - ); - } // function _chartDataSeriesValues() - - - private static function _chartDataSeriesValuesMultiLevel($seriesValueSet,$dataType='n') { - $seriesVal = array(); - $formatCode = ''; - $pointCount = 0; - - foreach($seriesValueSet->lvl as $seriesLevelIdx => $seriesLevel) { - foreach($seriesLevel as $seriesValueIdx => $seriesValue) { - switch ($seriesValueIdx) { - case 'ptCount': - $pointCount = self::_getAttribute($seriesValue, 'val', 'integer'); - break; - case 'formatCode': - $formatCode = (string) $seriesValue; - break; - case 'pt': - $pointVal = self::_getAttribute($seriesValue, 'idx', 'integer'); - if ($dataType == 's') { - $seriesVal[$pointVal][] = (string) $seriesValue->v; - } else { - $seriesVal[$pointVal][] = (float) $seriesValue->v; - } - break; - } - } - } - - return array( 'formatCode' => $formatCode, - 'pointCount' => $pointCount, - 'dataValues' => $seriesVal - ); - } // function _chartDataSeriesValuesMultiLevel() - - private static function _parseRichText($titleDetailPart = null) { - $value = new PHPExcel_RichText(); - - foreach($titleDetailPart as $titleDetailElementKey => $titleDetailElement) { - if (isset($titleDetailElement->t)) { - $objText = $value->createTextRun( (string) $titleDetailElement->t ); - } - if (isset($titleDetailElement->rPr)) { - if (isset($titleDetailElement->rPr->rFont["val"])) { - $objText->getFont()->setName((string) $titleDetailElement->rPr->rFont["val"]); - } - - $fontSize = (self::_getAttribute($titleDetailElement->rPr, 'sz', 'integer')); - if (!is_null($fontSize)) { - $objText->getFont()->setSize(floor($fontSize / 100)); - } - - $fontColor = (self::_getAttribute($titleDetailElement->rPr, 'color', 'string')); - if (!is_null($fontColor)) { - $objText->getFont()->setColor( new PHPExcel_Style_Color( self::_readColor($fontColor) ) ); - } - - $bold = self::_getAttribute($titleDetailElement->rPr, 'b', 'boolean'); - if (!is_null($bold)) { - $objText->getFont()->setBold($bold); - } - - $italic = self::_getAttribute($titleDetailElement->rPr, 'i', 'boolean'); - if (!is_null($italic)) { - $objText->getFont()->setItalic($italic); - } - - $baseline = self::_getAttribute($titleDetailElement->rPr, 'baseline', 'integer'); - if (!is_null($baseline)) { - if ($baseline > 0) { - $objText->getFont()->setSuperScript(true); - } elseif($baseline < 0) { - $objText->getFont()->setSubScript(true); - } - } - - $underscore = (self::_getAttribute($titleDetailElement->rPr, 'u', 'string')); - if (!is_null($underscore)) { - if ($underscore == 'sng') { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - } elseif($underscore == 'dbl') { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLE); - } else { - $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_NONE); - } - } - - $strikethrough = (self::_getAttribute($titleDetailElement->rPr, 's', 'string')); - if (!is_null($strikethrough)) { - if ($strikethrough == 'noStrike') { - $objText->getFont()->setStrikethrough(false); - } else { - $objText->getFont()->setStrikethrough(true); - } - } - } - } - - return $value; - } - - private static function _readChartAttributes($chartDetail) { - $plotAttributes = array(); - if (isset($chartDetail->dLbls)) { - if (isset($chartDetail->dLbls->howLegendKey)) { - $plotAttributes['showLegendKey'] = self::_getAttribute($chartDetail->dLbls->showLegendKey, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showVal)) { - $plotAttributes['showVal'] = self::_getAttribute($chartDetail->dLbls->showVal, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showCatName)) { - $plotAttributes['showCatName'] = self::_getAttribute($chartDetail->dLbls->showCatName, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showSerName)) { - $plotAttributes['showSerName'] = self::_getAttribute($chartDetail->dLbls->showSerName, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showPercent)) { - $plotAttributes['showPercent'] = self::_getAttribute($chartDetail->dLbls->showPercent, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showBubbleSize)) { - $plotAttributes['showBubbleSize'] = self::_getAttribute($chartDetail->dLbls->showBubbleSize, 'val', 'string'); - } - if (isset($chartDetail->dLbls->showLeaderLines)) { - $plotAttributes['showLeaderLines'] = self::_getAttribute($chartDetail->dLbls->showLeaderLines, 'val', 'string'); - } - } - - return $plotAttributes; - } - - private static function _setChartAttributes($plotArea,$plotAttributes) - { - foreach($plotAttributes as $plotAttributeKey => $plotAttributeValue) { - switch($plotAttributeKey) { - case 'showLegendKey' : - $plotArea->setShowLegendKey($plotAttributeValue); - break; - case 'showVal' : - $plotArea->setShowVal($plotAttributeValue); - break; - case 'showCatName' : - $plotArea->setShowCatName($plotAttributeValue); - break; - case 'showSerName' : - $plotArea->setShowSerName($plotAttributeValue); - break; - case 'showPercent' : - $plotArea->setShowPercent($plotAttributeValue); - break; - case 'showBubbleSize' : - $plotArea->setShowBubbleSize($plotAttributeValue); - break; - case 'showLeaderLines' : - $plotArea->setShowLeaderLines($plotAttributeValue); - break; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/Theme.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/Theme.php deleted file mode 100644 index a371c6208..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/Theme.php +++ /dev/null @@ -1,124 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_Excel2007_Theme - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel2007_Theme -{ - /** - * Theme Name - * - * @var string - */ - private $_themeName; - - /** - * Colour Scheme Name - * - * @var string - */ - private $_colourSchemeName; - - /** - * Colour Map indexed by position - * - * @var array of string - */ - private $_colourMapValues; - - - /** - * Colour Map - * - * @var array of string - */ - private $_colourMap; - - - /** - * Create a new PHPExcel_Theme - * - */ - public function __construct($themeName,$colourSchemeName,$colourMap) - { - // Initialise values - $this->_themeName = $themeName; - $this->_colourSchemeName = $colourSchemeName; - $this->_colourMap = $colourMap; - } - - /** - * Get Theme Name - * - * @return string - */ - public function getThemeName() - { - return $this->_themeName; - } - - /** - * Get colour Scheme Name - * - * @return string - */ - public function getColourSchemeName() { - return $this->_colourSchemeName; - } - - /** - * Get colour Map Value by Position - * - * @return string - */ - public function getColourByIndex($index=0) { - if (isset($this->_colourMap[$index])) { - return $this->_colourMap[$index]; - } - return null; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if ((is_object($value)) && ($key != '_parent')) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel2007/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5.php deleted file mode 100644 index f2893ece7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5.php +++ /dev/null @@ -1,7088 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of ParseXL (used as the base for this class): -// -------------------------------------------------------------------------------- -// Adapted from Excel_Spreadsheet_Reader developed by users bizon153, -// trex005, and mmp11 (SourceForge.net) -// http://sourceforge.net/projects/phpexcelreader/ -// Primary changes made by canyoncasa (dvc) for ParseXL 1.00 ... -// Modelled moreso after Perl Excel Parse/Write modules -// Added Parse_Excel_Spreadsheet object -// Reads a whole worksheet or tab as row,column array or as -// associated hash of indexed rows and named column fields -// Added variables for worksheet (tab) indexes and names -// Added an object call for loading individual woorksheets -// Changed default indexing defaults to 0 based arrays -// Fixed date/time and percent formats -// Includes patches found at SourceForge... -// unicode patch by nobody -// unpack("d") machine depedency patch by matchy -// boundsheet utf16 patch by bjaenichen -// Renamed functions for shorter names -// General code cleanup and rigor, including <80 column width -// Included a testcase Excel file and PHP example calls -// Code works for PHP 5.x - -// Primary changes made by canyoncasa (dvc) for ParseXL 1.10 ... -// http://sourceforge.net/tracker/index.php?func=detail&aid=1466964&group_id=99160&atid=623334 -// Decoding of formula conditions, results, and tokens. -// Support for user-defined named cells added as an array "namedcells" -// Patch code for user-defined named cells supports single cells only. -// NOTE: this patch only works for BIFF8 as BIFF5-7 use a different -// external sheet reference structure - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_Excel5 - * - * This class uses {@link http://sourceforge.net/projects/phpexcelreader/parseXL} - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel5 extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - // ParseXL definitions - const XLS_BIFF8 = 0x0600; - const XLS_BIFF7 = 0x0500; - const XLS_WorkbookGlobals = 0x0005; - const XLS_Worksheet = 0x0010; - - // record identifiers - const XLS_Type_FORMULA = 0x0006; - const XLS_Type_EOF = 0x000a; - const XLS_Type_PROTECT = 0x0012; - const XLS_Type_OBJECTPROTECT = 0x0063; - const XLS_Type_SCENPROTECT = 0x00dd; - const XLS_Type_PASSWORD = 0x0013; - const XLS_Type_HEADER = 0x0014; - const XLS_Type_FOOTER = 0x0015; - const XLS_Type_EXTERNSHEET = 0x0017; - const XLS_Type_DEFINEDNAME = 0x0018; - const XLS_Type_VERTICALPAGEBREAKS = 0x001a; - const XLS_Type_HORIZONTALPAGEBREAKS = 0x001b; - const XLS_Type_NOTE = 0x001c; - const XLS_Type_SELECTION = 0x001d; - const XLS_Type_DATEMODE = 0x0022; - const XLS_Type_EXTERNNAME = 0x0023; - const XLS_Type_LEFTMARGIN = 0x0026; - const XLS_Type_RIGHTMARGIN = 0x0027; - const XLS_Type_TOPMARGIN = 0x0028; - const XLS_Type_BOTTOMMARGIN = 0x0029; - const XLS_Type_PRINTGRIDLINES = 0x002b; - const XLS_Type_FILEPASS = 0x002f; - const XLS_Type_FONT = 0x0031; - const XLS_Type_CONTINUE = 0x003c; - const XLS_Type_PANE = 0x0041; - const XLS_Type_CODEPAGE = 0x0042; - const XLS_Type_DEFCOLWIDTH = 0x0055; - const XLS_Type_OBJ = 0x005d; - const XLS_Type_COLINFO = 0x007d; - const XLS_Type_IMDATA = 0x007f; - const XLS_Type_SHEETPR = 0x0081; - const XLS_Type_HCENTER = 0x0083; - const XLS_Type_VCENTER = 0x0084; - const XLS_Type_SHEET = 0x0085; - const XLS_Type_PALETTE = 0x0092; - const XLS_Type_SCL = 0x00a0; - const XLS_Type_PAGESETUP = 0x00a1; - const XLS_Type_MULRK = 0x00bd; - const XLS_Type_MULBLANK = 0x00be; - const XLS_Type_DBCELL = 0x00d7; - const XLS_Type_XF = 0x00e0; - const XLS_Type_MERGEDCELLS = 0x00e5; - const XLS_Type_MSODRAWINGGROUP = 0x00eb; - const XLS_Type_MSODRAWING = 0x00ec; - const XLS_Type_SST = 0x00fc; - const XLS_Type_LABELSST = 0x00fd; - const XLS_Type_EXTSST = 0x00ff; - const XLS_Type_EXTERNALBOOK = 0x01ae; - const XLS_Type_DATAVALIDATIONS = 0x01b2; - const XLS_Type_TXO = 0x01b6; - const XLS_Type_HYPERLINK = 0x01b8; - const XLS_Type_DATAVALIDATION = 0x01be; - const XLS_Type_DIMENSION = 0x0200; - const XLS_Type_BLANK = 0x0201; - const XLS_Type_NUMBER = 0x0203; - const XLS_Type_LABEL = 0x0204; - const XLS_Type_BOOLERR = 0x0205; - const XLS_Type_STRING = 0x0207; - const XLS_Type_ROW = 0x0208; - const XLS_Type_INDEX = 0x020b; - const XLS_Type_ARRAY = 0x0221; - const XLS_Type_DEFAULTROWHEIGHT = 0x0225; - const XLS_Type_WINDOW2 = 0x023e; - const XLS_Type_RK = 0x027e; - const XLS_Type_STYLE = 0x0293; - const XLS_Type_FORMAT = 0x041e; - const XLS_Type_SHAREDFMLA = 0x04bc; - const XLS_Type_BOF = 0x0809; - const XLS_Type_SHEETPROTECTION = 0x0867; - const XLS_Type_RANGEPROTECTION = 0x0868; - const XLS_Type_SHEETLAYOUT = 0x0862; - const XLS_Type_XFEXT = 0x087d; - const XLS_Type_PAGELAYOUTVIEW = 0x088b; - const XLS_Type_UNKNOWN = 0xffff; - - // Encryption type - const MS_BIFF_CRYPTO_NONE = 0; - const MS_BIFF_CRYPTO_XOR = 1; - const MS_BIFF_CRYPTO_RC4 = 2; - - // Size of stream blocks when using RC4 encryption - const REKEY_BLOCK = 0x400; - - /** - * Summary Information stream data. - * - * @var string - */ - private $_summaryInformation; - - /** - * Extended Summary Information stream data. - * - * @var string - */ - private $_documentSummaryInformation; - - /** - * User-Defined Properties stream data. - * - * @var string - */ - private $_userDefinedProperties; - - /** - * Workbook stream data. (Includes workbook globals substream as well as sheet substreams) - * - * @var string - */ - private $_data; - - /** - * Size in bytes of $this->_data - * - * @var int - */ - private $_dataSize; - - /** - * Current position in stream - * - * @var integer - */ - private $_pos; - - /** - * Workbook to be returned by the reader. - * - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Worksheet that is currently being built by the reader. - * - * @var PHPExcel_Worksheet - */ - private $_phpSheet; - - /** - * BIFF version - * - * @var int - */ - private $_version; - - /** - * Codepage set in the Excel file being read. Only important for BIFF5 (Excel 5.0 - Excel 95) - * For BIFF8 (Excel 97 - Excel 2003) this will always have the value 'UTF-16LE' - * - * @var string - */ - private $_codepage; - - /** - * Shared formats - * - * @var array - */ - private $_formats; - - /** - * Shared fonts - * - * @var array - */ - private $_objFonts; - - /** - * Color palette - * - * @var array - */ - private $_palette; - - /** - * Worksheets - * - * @var array - */ - private $_sheets; - - /** - * External books - * - * @var array - */ - private $_externalBooks; - - /** - * REF structures. Only applies to BIFF8. - * - * @var array - */ - private $_ref; - - /** - * External names - * - * @var array - */ - private $_externalNames; - - /** - * Defined names - * - * @var array - */ - private $_definedname; - - /** - * Shared strings. Only applies to BIFF8. - * - * @var array - */ - private $_sst; - - /** - * Panes are frozen? (in sheet currently being read). See WINDOW2 record. - * - * @var boolean - */ - private $_frozen; - - /** - * Fit printout to number of pages? (in sheet currently being read). See SHEETPR record. - * - * @var boolean - */ - private $_isFitToPages; - - /** - * Objects. One OBJ record contributes with one entry. - * - * @var array - */ - private $_objs; - - /** - * Text Objects. One TXO record corresponds with one entry. - * - * @var array - */ - private $_textObjects; - - /** - * Cell Annotations (BIFF8) - * - * @var array - */ - private $_cellNotes; - - /** - * The combined MSODRAWINGGROUP data - * - * @var string - */ - private $_drawingGroupData; - - /** - * The combined MSODRAWING data (per sheet) - * - * @var string - */ - private $_drawingData; - - /** - * Keep track of XF index - * - * @var int - */ - private $_xfIndex; - - /** - * Mapping of XF index (that is a cell XF) to final index in cellXf collection - * - * @var array - */ - private $_mapCellXfIndex; - - /** - * Mapping of XF index (that is a style XF) to final index in cellStyleXf collection - * - * @var array - */ - private $_mapCellStyleXfIndex; - - /** - * The shared formulas in a sheet. One SHAREDFMLA record contributes with one value. - * - * @var array - */ - private $_sharedFormulas; - - /** - * The shared formula parts in a sheet. One FORMULA record contributes with one value if it - * refers to a shared formula. - * - * @var array - */ - private $_sharedFormulaParts; - - /** - * The type of encryption in use - * - * @var int - */ - private $_encryption = 0; - - /** - * The position in the stream after which contents are encrypted - * - * @var int - */ - private $_encryptionStartPos = false; - - /** - * The current RC4 decryption object - * - * @var PHPExcel_Reader_Excel5_RC4 - */ - private $_rc4Key = null; - - /** - * The position in the stream that the RC4 decryption object was left at - * - * @var int - */ - private $_rc4Pos = 0; - - /** - * The current MD5 context state - * - * @var string - */ - private $_md5Ctxt = null; - - /** - * Create a new PHPExcel_Reader_Excel5 instance - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - try { - // Use ParseXL for the hard work. - $ole = new PHPExcel_Shared_OLERead(); - - // get excel data - $res = $ole->read($pFilename); - return true; - } catch (PHPExcel_Exception $e) { - return false; - } - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetNames = array(); - - // Read the OLE file - $this->_loadOLE($pFilename); - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - $this->_pos = 0; - $this->_sheets = array(); - - // Parse Workbook Global Substream - while ($this->_pos < $this->_dataSize) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_SHEET: $this->_readSheet(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - foreach ($this->_sheets as $sheet) { - if ($sheet['sheetType'] != 0x00) { - // 0x00: Worksheet, 0x02: Chart, 0x06: Visual Basic module - continue; - } - - $worksheetNames[] = $sheet['name']; - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - // Read the OLE file - $this->_loadOLE($pFilename); - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - // initialize - $this->_pos = 0; - $this->_sheets = array(); - - // Parse Workbook Global Substream - while ($this->_pos < $this->_dataSize) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_SHEET: $this->_readSheet(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - // Parse the individual sheets - foreach ($this->_sheets as $sheet) { - - if ($sheet['sheetType'] != 0x00) { - // 0x00: Worksheet - // 0x02: Chart - // 0x06: Visual Basic module - continue; - } - - $tmpInfo = array(); - $tmpInfo['worksheetName'] = $sheet['name']; - $tmpInfo['lastColumnLetter'] = 'A'; - $tmpInfo['lastColumnIndex'] = 0; - $tmpInfo['totalRows'] = 0; - $tmpInfo['totalColumns'] = 0; - - $this->_pos = $sheet['offset']; - - while ($this->_pos <= $this->_dataSize - 4) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_RK: - case self::XLS_Type_LABELSST: - case self::XLS_Type_NUMBER: - case self::XLS_Type_FORMULA: - case self::XLS_Type_BOOLERR: - case self::XLS_Type_LABEL: - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - $rowIndex = self::_GetInt2d($recordData, 0) + 1; - $columnIndex = self::_GetInt2d($recordData, 2); - - $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex); - $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex); - break; - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1; - - $worksheetInfo[] = $tmpInfo; - } - - return $worksheetInfo; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Read the OLE file - $this->_loadOLE($pFilename); - - // Initialisations - $this->_phpExcel = new PHPExcel; - $this->_phpExcel->removeSheetByIndex(0); // remove 1st sheet - if (!$this->_readDataOnly) { - $this->_phpExcel->removeCellStyleXfByIndex(0); // remove the default style - $this->_phpExcel->removeCellXfByIndex(0); // remove the default style - } - - // Read the summary information stream (containing meta data) - $this->_readSummaryInformation(); - - // Read the Additional document summary information stream (containing application-specific meta data) - $this->_readDocumentSummaryInformation(); - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - // initialize - $this->_pos = 0; - $this->_codepage = 'CP1252'; - $this->_formats = array(); - $this->_objFonts = array(); - $this->_palette = array(); - $this->_sheets = array(); - $this->_externalBooks = array(); - $this->_ref = array(); - $this->_definedname = array(); - $this->_sst = array(); - $this->_drawingGroupData = ''; - $this->_xfIndex = ''; - $this->_mapCellXfIndex = array(); - $this->_mapCellStyleXfIndex = array(); - - // Parse Workbook Global Substream - while ($this->_pos < $this->_dataSize) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_FILEPASS: $this->_readFilepass(); break; - case self::XLS_Type_CODEPAGE: $this->_readCodepage(); break; - case self::XLS_Type_DATEMODE: $this->_readDateMode(); break; - case self::XLS_Type_FONT: $this->_readFont(); break; - case self::XLS_Type_FORMAT: $this->_readFormat(); break; - case self::XLS_Type_XF: $this->_readXf(); break; - case self::XLS_Type_XFEXT: $this->_readXfExt(); break; - case self::XLS_Type_STYLE: $this->_readStyle(); break; - case self::XLS_Type_PALETTE: $this->_readPalette(); break; - case self::XLS_Type_SHEET: $this->_readSheet(); break; - case self::XLS_Type_EXTERNALBOOK: $this->_readExternalBook(); break; - case self::XLS_Type_EXTERNNAME: $this->_readExternName(); break; - case self::XLS_Type_EXTERNSHEET: $this->_readExternSheet(); break; - case self::XLS_Type_DEFINEDNAME: $this->_readDefinedName(); break; - case self::XLS_Type_MSODRAWINGGROUP: $this->_readMsoDrawingGroup(); break; - case self::XLS_Type_SST: $this->_readSst(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - } - - // Resolve indexed colors for font, fill, and border colors - // Cannot be resolved already in XF record, because PALETTE record comes afterwards - if (!$this->_readDataOnly) { - foreach ($this->_objFonts as $objFont) { - if (isset($objFont->colorIndex)) { - $color = self::_readColor($objFont->colorIndex,$this->_palette,$this->_version); - $objFont->getColor()->setRGB($color['rgb']); - } - } - - foreach ($this->_phpExcel->getCellXfCollection() as $objStyle) { - // fill start and end color - $fill = $objStyle->getFill(); - - if (isset($fill->startcolorIndex)) { - $startColor = self::_readColor($fill->startcolorIndex,$this->_palette,$this->_version); - $fill->getStartColor()->setRGB($startColor['rgb']); - } - - if (isset($fill->endcolorIndex)) { - $endColor = self::_readColor($fill->endcolorIndex,$this->_palette,$this->_version); - $fill->getEndColor()->setRGB($endColor['rgb']); - } - - // border colors - $top = $objStyle->getBorders()->getTop(); - $right = $objStyle->getBorders()->getRight(); - $bottom = $objStyle->getBorders()->getBottom(); - $left = $objStyle->getBorders()->getLeft(); - $diagonal = $objStyle->getBorders()->getDiagonal(); - - if (isset($top->colorIndex)) { - $borderTopColor = self::_readColor($top->colorIndex,$this->_palette,$this->_version); - $top->getColor()->setRGB($borderTopColor['rgb']); - } - - if (isset($right->colorIndex)) { - $borderRightColor = self::_readColor($right->colorIndex,$this->_palette,$this->_version); - $right->getColor()->setRGB($borderRightColor['rgb']); - } - - if (isset($bottom->colorIndex)) { - $borderBottomColor = self::_readColor($bottom->colorIndex,$this->_palette,$this->_version); - $bottom->getColor()->setRGB($borderBottomColor['rgb']); - } - - if (isset($left->colorIndex)) { - $borderLeftColor = self::_readColor($left->colorIndex,$this->_palette,$this->_version); - $left->getColor()->setRGB($borderLeftColor['rgb']); - } - - if (isset($diagonal->colorIndex)) { - $borderDiagonalColor = self::_readColor($diagonal->colorIndex,$this->_palette,$this->_version); - $diagonal->getColor()->setRGB($borderDiagonalColor['rgb']); - } - } - } - - // treat MSODRAWINGGROUP records, workbook-level Escher - if (!$this->_readDataOnly && $this->_drawingGroupData) { - $escherWorkbook = new PHPExcel_Shared_Escher(); - $reader = new PHPExcel_Reader_Excel5_Escher($escherWorkbook); - $escherWorkbook = $reader->load($this->_drawingGroupData); - - // debug Escher stream - //$debug = new Debug_Escher(new PHPExcel_Shared_Escher()); - //$debug->load($this->_drawingGroupData); - } - - // Parse the individual sheets - foreach ($this->_sheets as $sheet) { - - if ($sheet['sheetType'] != 0x00) { - // 0x00: Worksheet, 0x02: Chart, 0x06: Visual Basic module - continue; - } - - // check if sheet should be skipped - if (isset($this->_loadSheetsOnly) && !in_array($sheet['name'], $this->_loadSheetsOnly)) { - continue; - } - - // add sheet to PHPExcel object - $this->_phpSheet = $this->_phpExcel->createSheet(); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in formula - // cells... during the load, all formulae should be correct, and we're simply bringing the worksheet - // name in line with the formula, not the reverse - $this->_phpSheet->setTitle($sheet['name'],false); - $this->_phpSheet->setSheetState($sheet['sheetState']); - - $this->_pos = $sheet['offset']; - - // Initialize isFitToPages. May change after reading SHEETPR record. - $this->_isFitToPages = false; - - // Initialize drawingData - $this->_drawingData = ''; - - // Initialize objs - $this->_objs = array(); - - // Initialize shared formula parts - $this->_sharedFormulaParts = array(); - - // Initialize shared formulas - $this->_sharedFormulas = array(); - - // Initialize text objs - $this->_textObjects = array(); - - // Initialize cell annotations - $this->_cellNotes = array(); - $this->textObjRef = -1; - - while ($this->_pos <= $this->_dataSize - 4) { - $code = self::_GetInt2d($this->_data, $this->_pos); - - switch ($code) { - case self::XLS_Type_BOF: $this->_readBof(); break; - case self::XLS_Type_PRINTGRIDLINES: $this->_readPrintGridlines(); break; - case self::XLS_Type_DEFAULTROWHEIGHT: $this->_readDefaultRowHeight(); break; - case self::XLS_Type_SHEETPR: $this->_readSheetPr(); break; - case self::XLS_Type_HORIZONTALPAGEBREAKS: $this->_readHorizontalPageBreaks(); break; - case self::XLS_Type_VERTICALPAGEBREAKS: $this->_readVerticalPageBreaks(); break; - case self::XLS_Type_HEADER: $this->_readHeader(); break; - case self::XLS_Type_FOOTER: $this->_readFooter(); break; - case self::XLS_Type_HCENTER: $this->_readHcenter(); break; - case self::XLS_Type_VCENTER: $this->_readVcenter(); break; - case self::XLS_Type_LEFTMARGIN: $this->_readLeftMargin(); break; - case self::XLS_Type_RIGHTMARGIN: $this->_readRightMargin(); break; - case self::XLS_Type_TOPMARGIN: $this->_readTopMargin(); break; - case self::XLS_Type_BOTTOMMARGIN: $this->_readBottomMargin(); break; - case self::XLS_Type_PAGESETUP: $this->_readPageSetup(); break; - case self::XLS_Type_PROTECT: $this->_readProtect(); break; - case self::XLS_Type_SCENPROTECT: $this->_readScenProtect(); break; - case self::XLS_Type_OBJECTPROTECT: $this->_readObjectProtect(); break; - case self::XLS_Type_PASSWORD: $this->_readPassword(); break; - case self::XLS_Type_DEFCOLWIDTH: $this->_readDefColWidth(); break; - case self::XLS_Type_COLINFO: $this->_readColInfo(); break; - case self::XLS_Type_DIMENSION: $this->_readDefault(); break; - case self::XLS_Type_ROW: $this->_readRow(); break; - case self::XLS_Type_DBCELL: $this->_readDefault(); break; - case self::XLS_Type_RK: $this->_readRk(); break; - case self::XLS_Type_LABELSST: $this->_readLabelSst(); break; - case self::XLS_Type_MULRK: $this->_readMulRk(); break; - case self::XLS_Type_NUMBER: $this->_readNumber(); break; - case self::XLS_Type_FORMULA: $this->_readFormula(); break; - case self::XLS_Type_SHAREDFMLA: $this->_readSharedFmla(); break; - case self::XLS_Type_BOOLERR: $this->_readBoolErr(); break; - case self::XLS_Type_MULBLANK: $this->_readMulBlank(); break; - case self::XLS_Type_LABEL: $this->_readLabel(); break; - case self::XLS_Type_BLANK: $this->_readBlank(); break; - case self::XLS_Type_MSODRAWING: $this->_readMsoDrawing(); break; - case self::XLS_Type_OBJ: $this->_readObj(); break; - case self::XLS_Type_WINDOW2: $this->_readWindow2(); break; - case self::XLS_Type_PAGELAYOUTVIEW: $this->_readPageLayoutView(); break; - case self::XLS_Type_SCL: $this->_readScl(); break; - case self::XLS_Type_PANE: $this->_readPane(); break; - case self::XLS_Type_SELECTION: $this->_readSelection(); break; - case self::XLS_Type_MERGEDCELLS: $this->_readMergedCells(); break; - case self::XLS_Type_HYPERLINK: $this->_readHyperLink(); break; - case self::XLS_Type_DATAVALIDATIONS: $this->_readDataValidations(); break; - case self::XLS_Type_DATAVALIDATION: $this->_readDataValidation(); break; - case self::XLS_Type_SHEETLAYOUT: $this->_readSheetLayout(); break; - case self::XLS_Type_SHEETPROTECTION: $this->_readSheetProtection(); break; - case self::XLS_Type_RANGEPROTECTION: $this->_readRangeProtection(); break; - case self::XLS_Type_NOTE: $this->_readNote(); break; - //case self::XLS_Type_IMDATA: $this->_readImData(); break; - case self::XLS_Type_TXO: $this->_readTextObject(); break; - case self::XLS_Type_CONTINUE: $this->_readContinue(); break; - case self::XLS_Type_EOF: $this->_readDefault(); break 2; - default: $this->_readDefault(); break; - } - - } - - // treat MSODRAWING records, sheet-level Escher - if (!$this->_readDataOnly && $this->_drawingData) { - $escherWorksheet = new PHPExcel_Shared_Escher(); - $reader = new PHPExcel_Reader_Excel5_Escher($escherWorksheet); - $escherWorksheet = $reader->load($this->_drawingData); - - // debug Escher stream - //$debug = new Debug_Escher(new PHPExcel_Shared_Escher()); - //$debug->load($this->_drawingData); - - // get all spContainers in one long array, so they can be mapped to OBJ records - $allSpContainers = $escherWorksheet->getDgContainer()->getSpgrContainer()->getAllSpContainers(); - } - - // treat OBJ records - foreach ($this->_objs as $n => $obj) { -// echo '<hr /><b>Object</b> reference is ',$n,'<br />'; -// var_dump($obj); -// echo '<br />'; - - // the first shape container never has a corresponding OBJ record, hence $n + 1 - if (isset($allSpContainers[$n + 1]) && is_object($allSpContainers[$n + 1])) { - $spContainer = $allSpContainers[$n + 1]; - - // we skip all spContainers that are a part of a group shape since we cannot yet handle those - if ($spContainer->getNestingLevel() > 1) { - continue; - } - - // calculate the width and height of the shape - list($startColumn, $startRow) = PHPExcel_Cell::coordinateFromString($spContainer->getStartCoordinates()); - list($endColumn, $endRow) = PHPExcel_Cell::coordinateFromString($spContainer->getEndCoordinates()); - - $startOffsetX = $spContainer->getStartOffsetX(); - $startOffsetY = $spContainer->getStartOffsetY(); - $endOffsetX = $spContainer->getEndOffsetX(); - $endOffsetY = $spContainer->getEndOffsetY(); - - $width = PHPExcel_Shared_Excel5::getDistanceX($this->_phpSheet, $startColumn, $startOffsetX, $endColumn, $endOffsetX); - $height = PHPExcel_Shared_Excel5::getDistanceY($this->_phpSheet, $startRow, $startOffsetY, $endRow, $endOffsetY); - - // calculate offsetX and offsetY of the shape - $offsetX = $startOffsetX * PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, $startColumn) / 1024; - $offsetY = $startOffsetY * PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $startRow) / 256; - - switch ($obj['otObjType']) { - case 0x19: - // Note -// echo 'Cell Annotation Object<br />'; -// echo 'Object ID is ',$obj['idObjID'],'<br />'; -// - if (isset($this->_cellNotes[$obj['idObjID']])) { - $cellNote = $this->_cellNotes[$obj['idObjID']]; - - if (isset($this->_textObjects[$obj['idObjID']])) { - $textObject = $this->_textObjects[$obj['idObjID']]; - $this->_cellNotes[$obj['idObjID']]['objTextData'] = $textObject; - } - } - break; - - case 0x08: -// echo 'Picture Object<br />'; - // picture - - // get index to BSE entry (1-based) - $BSEindex = $spContainer->getOPT(0x0104); - $BSECollection = $escherWorkbook->getDggContainer()->getBstoreContainer()->getBSECollection(); - $BSE = $BSECollection[$BSEindex - 1]; - $blipType = $BSE->getBlipType(); - - // need check because some blip types are not supported by Escher reader such as EMF - if ($blip = $BSE->getBlip()) { - $ih = imagecreatefromstring($blip->getData()); - $drawing = new PHPExcel_Worksheet_MemoryDrawing(); - $drawing->setImageResource($ih); - - // width, height, offsetX, offsetY - $drawing->setResizeProportional(false); - $drawing->setWidth($width); - $drawing->setHeight($height); - $drawing->setOffsetX($offsetX); - $drawing->setOffsetY($offsetY); - - switch ($blipType) { - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG: - $drawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG); - $drawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_JPEG); - break; - - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG: - $drawing->setRenderingFunction(PHPExcel_Worksheet_MemoryDrawing::RENDERING_PNG); - $drawing->setMimeType(PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_PNG); - break; - } - - $drawing->setWorksheet($this->_phpSheet); - $drawing->setCoordinates($spContainer->getStartCoordinates()); - } - - break; - - default: - // other object type - break; - - } - } - } - - // treat SHAREDFMLA records - if ($this->_version == self::XLS_BIFF8) { - foreach ($this->_sharedFormulaParts as $cell => $baseCell) { - list($column, $row) = PHPExcel_Cell::coordinateFromString($cell); - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($column, $row, $this->_phpSheet->getTitle()) ) { - $formula = $this->_getFormulaFromStructure($this->_sharedFormulas[$baseCell], $cell); - $this->_phpSheet->getCell($cell)->setValueExplicit('=' . $formula, PHPExcel_Cell_DataType::TYPE_FORMULA); - } - } - } - - if (!empty($this->_cellNotes)) { - foreach($this->_cellNotes as $note => $noteDetails) { - if (!isset($noteDetails['objTextData'])) { - if (isset($this->_textObjects[$note])) { - $textObject = $this->_textObjects[$note]; - $noteDetails['objTextData'] = $textObject; - } else { - $noteDetails['objTextData']['text'] = ''; - } - } -// echo '<b>Cell annotation ',$note,'</b><br />'; -// var_dump($noteDetails); -// echo '<br />'; - $cellAddress = str_replace('$','',$noteDetails['cellRef']); - $this->_phpSheet->getComment( $cellAddress ) - ->setAuthor( $noteDetails['author'] ) - ->setText($this->_parseRichText($noteDetails['objTextData']['text']) ); - } - } - } - - // add the named ranges (defined names) - foreach ($this->_definedname as $definedName) { - if ($definedName['isBuiltInName']) { - switch ($definedName['name']) { - - case pack('C', 0x06): - // print area - // in general, formula looks like this: Foo!$C$7:$J$66,Bar!$A$1:$IV$2 - $ranges = explode(',', $definedName['formula']); // FIXME: what if sheetname contains comma? - - $extractedRanges = array(); - foreach ($ranges as $range) { - // $range should look like one of these - // Foo!$C$7:$J$66 - // Bar!$A$1:$IV$2 - - $explodes = explode('!', $range); // FIXME: what if sheetname contains exclamation mark? - $sheetName = trim($explodes[0], "'"); - - if (count($explodes) == 2) { - if (strpos($explodes[1], ':') === FALSE) { - $explodes[1] = $explodes[1] . ':' . $explodes[1]; - } - $extractedRanges[] = str_replace('$', '', $explodes[1]); // C7:J66 - } - } - if ($docSheet = $this->_phpExcel->getSheetByName($sheetName)) { - $docSheet->getPageSetup()->setPrintArea(implode(',', $extractedRanges)); // C7:J66,A1:IV2 - } - break; - - case pack('C', 0x07): - // print titles (repeating rows) - // Assuming BIFF8, there are 3 cases - // 1. repeating rows - // formula looks like this: Sheet!$A$1:$IV$2 - // rows 1-2 repeat - // 2. repeating columns - // formula looks like this: Sheet!$A$1:$B$65536 - // columns A-B repeat - // 3. both repeating rows and repeating columns - // formula looks like this: Sheet!$A$1:$B$65536,Sheet!$A$1:$IV$2 - - $ranges = explode(',', $definedName['formula']); // FIXME: what if sheetname contains comma? - - foreach ($ranges as $range) { - // $range should look like this one of these - // Sheet!$A$1:$B$65536 - // Sheet!$A$1:$IV$2 - - $explodes = explode('!', $range); - - if (count($explodes) == 2) { - if ($docSheet = $this->_phpExcel->getSheetByName($explodes[0])) { - - $extractedRange = $explodes[1]; - $extractedRange = str_replace('$', '', $extractedRange); - - $coordinateStrings = explode(':', $extractedRange); - if (count($coordinateStrings) == 2) { - list($firstColumn, $firstRow) = PHPExcel_Cell::coordinateFromString($coordinateStrings[0]); - list($lastColumn, $lastRow) = PHPExcel_Cell::coordinateFromString($coordinateStrings[1]); - - if ($firstColumn == 'A' and $lastColumn == 'IV') { - // then we have repeating rows - $docSheet->getPageSetup()->setRowsToRepeatAtTop(array($firstRow, $lastRow)); - } elseif ($firstRow == 1 and $lastRow == 65536) { - // then we have repeating columns - $docSheet->getPageSetup()->setColumnsToRepeatAtLeft(array($firstColumn, $lastColumn)); - } - } - } - } - } - break; - - } - } else { - // Extract range - $explodes = explode('!', $definedName['formula']); - - if (count($explodes) == 2) { - if (($docSheet = $this->_phpExcel->getSheetByName($explodes[0])) || - ($docSheet = $this->_phpExcel->getSheetByName(trim($explodes[0],"'")))) { - $extractedRange = $explodes[1]; - $extractedRange = str_replace('$', '', $extractedRange); - - $localOnly = ($definedName['scope'] == 0) ? false : true; - - $scope = ($definedName['scope'] == 0) ? - null : $this->_phpExcel->getSheetByName($this->_sheets[$definedName['scope'] - 1]['name']); - - $this->_phpExcel->addNamedRange( new PHPExcel_NamedRange((string)$definedName['name'], $docSheet, $extractedRange, $localOnly, $scope) ); - } - } else { - // Named Value - // TODO Provide support for named values - } - } - } - $this->_data = null; - - return $this->_phpExcel; - } - - /** - * Read record data from stream, decrypting as required - * - * @param string $data Data stream to read from - * @param int $pos Position to start reading from - * @param int $length Record data length - * - * @return string Record data - */ - private function _readRecordData($data, $pos, $len) - { - $data = substr($data, $pos, $len); - - // File not encrypted, or record before encryption start point - if ($this->_encryption == self::MS_BIFF_CRYPTO_NONE || $pos < $this->_encryptionStartPos) { - return $data; - } - - $recordData = ''; - if ($this->_encryption == self::MS_BIFF_CRYPTO_RC4) { - - $oldBlock = floor($this->_rc4Pos / self::REKEY_BLOCK); - $block = floor($pos / self::REKEY_BLOCK); - $endBlock = floor(($pos + $len) / self::REKEY_BLOCK); - - // Spin an RC4 decryptor to the right spot. If we have a decryptor sitting - // at a point earlier in the current block, re-use it as we can save some time. - if ($block != $oldBlock || $pos < $this->_rc4Pos || !$this->_rc4Key) { - $this->_rc4Key = $this->_makeKey($block, $this->_md5Ctxt); - $step = $pos % self::REKEY_BLOCK; - } else { - $step = $pos - $this->_rc4Pos; - } - $this->_rc4Key->RC4(str_repeat("\0", $step)); - - // Decrypt record data (re-keying at the end of every block) - while ($block != $endBlock) { - $step = self::REKEY_BLOCK - ($pos % self::REKEY_BLOCK); - $recordData .= $this->_rc4Key->RC4(substr($data, 0, $step)); - $data = substr($data, $step); - $pos += $step; - $len -= $step; - $block++; - $this->_rc4Key = $this->_makeKey($block, $this->_md5Ctxt); - } - $recordData .= $this->_rc4Key->RC4(substr($data, 0, $len)); - - // Keep track of the position of this decryptor. - // We'll try and re-use it later if we can to speed things up - $this->_rc4Pos = $pos + $len; - - } elseif ($this->_encryption == self::MS_BIFF_CRYPTO_XOR) { - throw new PHPExcel_Reader_Exception('XOr encryption not supported'); - } - return $recordData; - } - - /** - * Use OLE reader to extract the relevant data streams from the OLE file - * - * @param string $pFilename - */ - private function _loadOLE($pFilename) - { - // OLE reader - $ole = new PHPExcel_Shared_OLERead(); - - // get excel data, - $res = $ole->read($pFilename); - // Get workbook data: workbook stream + sheet streams - $this->_data = $ole->getStream($ole->wrkbook); - - // Get summary information data - $this->_summaryInformation = $ole->getStream($ole->summaryInformation); - - // Get additional document summary information data - $this->_documentSummaryInformation = $ole->getStream($ole->documentSummaryInformation); - - // Get user-defined property data -// $this->_userDefinedProperties = $ole->getUserDefinedProperties(); - } - - - /** - * Read summary information - */ - private function _readSummaryInformation() - { - if (!isset($this->_summaryInformation)) { - return; - } - - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - // offset: 2; size: 2; - // offset: 4; size: 2; OS version - // offset: 6; size: 2; OS indicator - // offset: 8; size: 16 - // offset: 24; size: 4; section count - $secCount = self::_GetInt4d($this->_summaryInformation, 24); - - // offset: 28; size: 16; first section's class id: e0 85 9f f2 f9 4f 68 10 ab 91 08 00 2b 27 b3 d9 - // offset: 44; size: 4 - $secOffset = self::_GetInt4d($this->_summaryInformation, 44); - - // section header - // offset: $secOffset; size: 4; section length - $secLength = self::_GetInt4d($this->_summaryInformation, $secOffset); - - // offset: $secOffset+4; size: 4; property count - $countProperties = self::_GetInt4d($this->_summaryInformation, $secOffset+4); - - // initialize code page (used to resolve string values) - $codePage = 'CP1252'; - - // offset: ($secOffset+8); size: var - // loop through property decarations and properties - for ($i = 0; $i < $countProperties; ++$i) { - - // offset: ($secOffset+8) + (8 * $i); size: 4; property ID - $id = self::_GetInt4d($this->_summaryInformation, ($secOffset+8) + (8 * $i)); - - // Use value of property id as appropriate - // offset: ($secOffset+12) + (8 * $i); size: 4; offset from beginning of section (48) - $offset = self::_GetInt4d($this->_summaryInformation, ($secOffset+12) + (8 * $i)); - - $type = self::_GetInt4d($this->_summaryInformation, $secOffset + $offset); - - // initialize property value - $value = null; - - // extract property value based on property type - switch ($type) { - case 0x02: // 2 byte signed integer - $value = self::_GetInt2d($this->_summaryInformation, $secOffset + 4 + $offset); - break; - - case 0x03: // 4 byte signed integer - $value = self::_GetInt4d($this->_summaryInformation, $secOffset + 4 + $offset); - break; - - case 0x13: // 4 byte unsigned integer - // not needed yet, fix later if necessary - break; - - case 0x1E: // null-terminated string prepended by dword string length - $byteLength = self::_GetInt4d($this->_summaryInformation, $secOffset + 4 + $offset); - $value = substr($this->_summaryInformation, $secOffset + 8 + $offset, $byteLength); - $value = PHPExcel_Shared_String::ConvertEncoding($value, 'UTF-8', $codePage); - $value = rtrim($value); - break; - - case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - // PHP-time - $value = PHPExcel_Shared_OLE::OLE2LocalDate(substr($this->_summaryInformation, $secOffset + 4 + $offset, 8)); - break; - - case 0x47: // Clipboard format - // not needed yet, fix later if necessary - break; - } - - switch ($id) { - case 0x01: // Code Page - $codePage = PHPExcel_Shared_CodePage::NumberToName($value); - break; - - case 0x02: // Title - $this->_phpExcel->getProperties()->setTitle($value); - break; - - case 0x03: // Subject - $this->_phpExcel->getProperties()->setSubject($value); - break; - - case 0x04: // Author (Creator) - $this->_phpExcel->getProperties()->setCreator($value); - break; - - case 0x05: // Keywords - $this->_phpExcel->getProperties()->setKeywords($value); - break; - - case 0x06: // Comments (Description) - $this->_phpExcel->getProperties()->setDescription($value); - break; - - case 0x07: // Template - // Not supported by PHPExcel - break; - - case 0x08: // Last Saved By (LastModifiedBy) - $this->_phpExcel->getProperties()->setLastModifiedBy($value); - break; - - case 0x09: // Revision - // Not supported by PHPExcel - break; - - case 0x0A: // Total Editing Time - // Not supported by PHPExcel - break; - - case 0x0B: // Last Printed - // Not supported by PHPExcel - break; - - case 0x0C: // Created Date/Time - $this->_phpExcel->getProperties()->setCreated($value); - break; - - case 0x0D: // Modified Date/Time - $this->_phpExcel->getProperties()->setModified($value); - break; - - case 0x0E: // Number of Pages - // Not supported by PHPExcel - break; - - case 0x0F: // Number of Words - // Not supported by PHPExcel - break; - - case 0x10: // Number of Characters - // Not supported by PHPExcel - break; - - case 0x11: // Thumbnail - // Not supported by PHPExcel - break; - - case 0x12: // Name of creating application - // Not supported by PHPExcel - break; - - case 0x13: // Security - // Not supported by PHPExcel - break; - - } - } - } - - - /** - * Read additional document summary information - */ - private function _readDocumentSummaryInformation() - { - if (!isset($this->_documentSummaryInformation)) { - return; - } - - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - // offset: 2; size: 2; - // offset: 4; size: 2; OS version - // offset: 6; size: 2; OS indicator - // offset: 8; size: 16 - // offset: 24; size: 4; section count - $secCount = self::_GetInt4d($this->_documentSummaryInformation, 24); -// echo '$secCount = ',$secCount,'<br />'; - - // offset: 28; size: 16; first section's class id: 02 d5 cd d5 9c 2e 1b 10 93 97 08 00 2b 2c f9 ae - // offset: 44; size: 4; first section offset - $secOffset = self::_GetInt4d($this->_documentSummaryInformation, 44); -// echo '$secOffset = ',$secOffset,'<br />'; - - // section header - // offset: $secOffset; size: 4; section length - $secLength = self::_GetInt4d($this->_documentSummaryInformation, $secOffset); -// echo '$secLength = ',$secLength,'<br />'; - - // offset: $secOffset+4; size: 4; property count - $countProperties = self::_GetInt4d($this->_documentSummaryInformation, $secOffset+4); -// echo '$countProperties = ',$countProperties,'<br />'; - - // initialize code page (used to resolve string values) - $codePage = 'CP1252'; - - // offset: ($secOffset+8); size: var - // loop through property decarations and properties - for ($i = 0; $i < $countProperties; ++$i) { -// echo 'Property ',$i,'<br />'; - // offset: ($secOffset+8) + (8 * $i); size: 4; property ID - $id = self::_GetInt4d($this->_documentSummaryInformation, ($secOffset+8) + (8 * $i)); -// echo 'ID is ',$id,'<br />'; - - // Use value of property id as appropriate - // offset: 60 + 8 * $i; size: 4; offset from beginning of section (48) - $offset = self::_GetInt4d($this->_documentSummaryInformation, ($secOffset+12) + (8 * $i)); - - $type = self::_GetInt4d($this->_documentSummaryInformation, $secOffset + $offset); -// echo 'Type is ',$type,', '; - - // initialize property value - $value = null; - - // extract property value based on property type - switch ($type) { - case 0x02: // 2 byte signed integer - $value = self::_GetInt2d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - break; - - case 0x03: // 4 byte signed integer - $value = self::_GetInt4d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - break; - - case 0x0B: // Boolean - $value = self::_GetInt2d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - $value = ($value == 0 ? false : true); - break; - - case 0x13: // 4 byte unsigned integer - // not needed yet, fix later if necessary - break; - - case 0x1E: // null-terminated string prepended by dword string length - $byteLength = self::_GetInt4d($this->_documentSummaryInformation, $secOffset + 4 + $offset); - $value = substr($this->_documentSummaryInformation, $secOffset + 8 + $offset, $byteLength); - $value = PHPExcel_Shared_String::ConvertEncoding($value, 'UTF-8', $codePage); - $value = rtrim($value); - break; - - case 0x40: // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - // PHP-Time - $value = PHPExcel_Shared_OLE::OLE2LocalDate(substr($this->_documentSummaryInformation, $secOffset + 4 + $offset, 8)); - break; - - case 0x47: // Clipboard format - // not needed yet, fix later if necessary - break; - } - - switch ($id) { - case 0x01: // Code Page - $codePage = PHPExcel_Shared_CodePage::NumberToName($value); - break; - - case 0x02: // Category - $this->_phpExcel->getProperties()->setCategory($value); - break; - - case 0x03: // Presentation Target - // Not supported by PHPExcel - break; - - case 0x04: // Bytes - // Not supported by PHPExcel - break; - - case 0x05: // Lines - // Not supported by PHPExcel - break; - - case 0x06: // Paragraphs - // Not supported by PHPExcel - break; - - case 0x07: // Slides - // Not supported by PHPExcel - break; - - case 0x08: // Notes - // Not supported by PHPExcel - break; - - case 0x09: // Hidden Slides - // Not supported by PHPExcel - break; - - case 0x0A: // MM Clips - // Not supported by PHPExcel - break; - - case 0x0B: // Scale Crop - // Not supported by PHPExcel - break; - - case 0x0C: // Heading Pairs - // Not supported by PHPExcel - break; - - case 0x0D: // Titles of Parts - // Not supported by PHPExcel - break; - - case 0x0E: // Manager - $this->_phpExcel->getProperties()->setManager($value); - break; - - case 0x0F: // Company - $this->_phpExcel->getProperties()->setCompany($value); - break; - - case 0x10: // Links up-to-date - // Not supported by PHPExcel - break; - - } - } - } - - - /** - * Reads a general type of BIFF record. Does nothing except for moving stream pointer forward to next record. - */ - private function _readDefault() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); -// $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - } - - - /** - * The NOTE record specifies a comment associated with a particular cell. In Excel 95 (BIFF7) and earlier versions, - * this record stores a note (cell note). This feature was significantly enhanced in Excel 97. - */ - private function _readNote() - { -// echo '<b>Read Cell Annotation</b><br />'; - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - $cellAddress = $this->_readBIFF8CellAddress(substr($recordData, 0, 4)); - if ($this->_version == self::XLS_BIFF8) { - $noteObjID = self::_GetInt2d($recordData, 6); - $noteAuthor = self::_readUnicodeStringLong(substr($recordData, 8)); - $noteAuthor = $noteAuthor['value']; -// echo 'Note Address=',$cellAddress,'<br />'; -// echo 'Note Object ID=',$noteObjID,'<br />'; -// echo 'Note Author=',$noteAuthor,'<hr />'; -// - $this->_cellNotes[$noteObjID] = array('cellRef' => $cellAddress, - 'objectID' => $noteObjID, - 'author' => $noteAuthor - ); - } else { - $extension = false; - if ($cellAddress == '$B$65536') { - // If the address row is -1 and the column is 0, (which translates as $B$65536) then this is a continuation - // note from the previous cell annotation. We're not yet handling this, so annotations longer than the - // max 2048 bytes will probably throw a wobbly. - $row = self::_GetInt2d($recordData, 0); - $extension = true; - $cellAddress = array_pop(array_keys($this->_phpSheet->getComments())); - } -// echo 'Note Address=',$cellAddress,'<br />'; - - $cellAddress = str_replace('$','',$cellAddress); - $noteLength = self::_GetInt2d($recordData, 4); - $noteText = trim(substr($recordData, 6)); -// echo 'Note Length=',$noteLength,'<br />'; -// echo 'Note Text=',$noteText,'<br />'; - - if ($extension) { - // Concatenate this extension with the currently set comment for the cell - $comment = $this->_phpSheet->getComment( $cellAddress ); - $commentText = $comment->getText()->getPlainText(); - $comment->setText($this->_parseRichText($commentText.$noteText) ); - } else { - // Set comment for the cell - $this->_phpSheet->getComment( $cellAddress ) -// ->setAuthor( $author ) - ->setText($this->_parseRichText($noteText) ); - } - } - - } - - - /** - * The TEXT Object record contains the text associated with a cell annotation. - */ - private function _readTextObject() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // recordData consists of an array of subrecords looking like this: - // grbit: 2 bytes; Option Flags - // rot: 2 bytes; rotation - // cchText: 2 bytes; length of the text (in the first continue record) - // cbRuns: 2 bytes; length of the formatting (in the second continue record) - // followed by the continuation records containing the actual text and formatting - $grbitOpts = self::_GetInt2d($recordData, 0); - $rot = self::_GetInt2d($recordData, 2); - $cchText = self::_GetInt2d($recordData, 10); - $cbRuns = self::_GetInt2d($recordData, 12); - $text = $this->_getSplicedRecordData(); - - $this->_textObjects[$this->textObjRef] = array( - 'text' => substr($text["recordData"],$text["spliceOffsets"][0]+1,$cchText), - 'format' => substr($text["recordData"],$text["spliceOffsets"][1],$cbRuns), - 'alignment' => $grbitOpts, - 'rotation' => $rot - ); - -// echo '<b>_readTextObject()</b><br />'; -// var_dump($this->_textObjects[$this->textObjRef]); -// echo '<br />'; - } - - - /** - * Read BOF - */ - private function _readBof() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = substr($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 2; size: 2; type of the following data - $substreamType = self::_GetInt2d($recordData, 2); - - switch ($substreamType) { - case self::XLS_WorkbookGlobals: - $version = self::_GetInt2d($recordData, 0); - if (($version != self::XLS_BIFF8) && ($version != self::XLS_BIFF7)) { - throw new PHPExcel_Reader_Exception('Cannot read this Excel file. Version is too old.'); - } - $this->_version = $version; - break; - - case self::XLS_Worksheet: - // do not use this version information for anything - // it is unreliable (OpenOffice doc, 5.8), use only version information from the global stream - break; - - default: - // substream, e.g. chart - // just skip the entire substream - do { - $code = self::_GetInt2d($this->_data, $this->_pos); - $this->_readDefault(); - } while ($code != self::XLS_Type_EOF && $this->_pos < $this->_dataSize); - break; - } - } - - - /** - * FILEPASS - * - * This record is part of the File Protection Block. It - * contains information about the read/write password of the - * file. All record contents following this record will be - * encrypted. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - * - * The decryption functions and objects used from here on in - * are based on the source of Spreadsheet-ParseExcel: - * http://search.cpan.org/~jmcnamara/Spreadsheet-ParseExcel/ - */ - private function _readFilepass() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - if ($length != 54) { - throw new PHPExcel_Reader_Exception('Unexpected file pass record length'); - } - - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_verifyPassword( - 'VelvetSweatshop', - substr($recordData, 6, 16), - substr($recordData, 22, 16), - substr($recordData, 38, 16), - $this->_md5Ctxt - )) { - throw new PHPExcel_Reader_Exception('Decryption password incorrect'); - } - - $this->_encryption = self::MS_BIFF_CRYPTO_RC4; - - // Decryption required from the record after next onwards - $this->_encryptionStartPos = $this->_pos + self::_GetInt2d($this->_data, $this->_pos + 2); - } - - /** - * Make an RC4 decryptor for the given block - * - * @var int $block Block for which to create decrypto - * @var string $valContext MD5 context state - * - * @return PHPExcel_Reader_Excel5_RC4 - */ - private function _makeKey($block, $valContext) - { - $pwarray = str_repeat("\0", 64); - - for ($i = 0; $i < 5; $i++) { - $pwarray[$i] = $valContext[$i]; - } - - $pwarray[5] = chr($block & 0xff); - $pwarray[6] = chr(($block >> 8) & 0xff); - $pwarray[7] = chr(($block >> 16) & 0xff); - $pwarray[8] = chr(($block >> 24) & 0xff); - - $pwarray[9] = "\x80"; - $pwarray[56] = "\x48"; - - $md5 = new PHPExcel_Reader_Excel5_MD5(); - $md5->add($pwarray); - - $s = $md5->getContext(); - return new PHPExcel_Reader_Excel5_RC4($s); - } - - /** - * Verify RC4 file password - * - * @var string $password Password to check - * @var string $docid Document id - * @var string $salt_data Salt data - * @var string $hashedsalt_data Hashed salt data - * @var string &$valContext Set to the MD5 context of the value - * - * @return bool Success - */ - private function _verifyPassword($password, $docid, $salt_data, $hashedsalt_data, &$valContext) - { - $pwarray = str_repeat("\0", 64); - - for ($i = 0; $i < strlen($password); $i++) { - $o = ord(substr($password, $i, 1)); - $pwarray[2 * $i] = chr($o & 0xff); - $pwarray[2 * $i + 1] = chr(($o >> 8) & 0xff); - } - $pwarray[2 * $i] = chr(0x80); - $pwarray[56] = chr(($i << 4) & 0xff); - - $md5 = new PHPExcel_Reader_Excel5_MD5(); - $md5->add($pwarray); - - $mdContext1 = $md5->getContext(); - - $offset = 0; - $keyoffset = 0; - $tocopy = 5; - - $md5->reset(); - - while ($offset != 16) { - if ((64 - $offset) < 5) { - $tocopy = 64 - $offset; - } - - for ($i = 0; $i <= $tocopy; $i++) { - $pwarray[$offset + $i] = $mdContext1[$keyoffset + $i]; - } - - $offset += $tocopy; - - if ($offset == 64) { - $md5->add($pwarray); - $keyoffset = $tocopy; - $tocopy = 5 - $tocopy; - $offset = 0; - continue; - } - - $keyoffset = 0; - $tocopy = 5; - for ($i = 0; $i < 16; $i++) { - $pwarray[$offset + $i] = $docid[$i]; - } - $offset += 16; - } - - $pwarray[16] = "\x80"; - for ($i = 0; $i < 47; $i++) { - $pwarray[17 + $i] = "\0"; - } - $pwarray[56] = "\x80"; - $pwarray[57] = "\x0a"; - - $md5->add($pwarray); - $valContext = $md5->getContext(); - - $key = $this->_makeKey(0, $valContext); - - $salt = $key->RC4($salt_data); - $hashedsalt = $key->RC4($hashedsalt_data); - - $salt .= "\x80" . str_repeat("\0", 47); - $salt[56] = "\x80"; - - $md5->reset(); - $md5->add($salt); - $mdContext2 = $md5->getContext(); - - return $mdContext2 == $hashedsalt; - } - - /** - * CODEPAGE - * - * This record stores the text encoding used to write byte - * strings, stored as MS Windows code page identifier. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readCodepage() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; code page identifier - $codepage = self::_GetInt2d($recordData, 0); - - $this->_codepage = PHPExcel_Shared_CodePage::NumberToName($codepage); - } - - - /** - * DATEMODE - * - * This record specifies the base date for displaying date - * values. All dates are stored as count of days past this - * base date. In BIFF2-BIFF4 this record is part of the - * Calculation Settings Block. In BIFF5-BIFF8 it is - * stored in the Workbook Globals Substream. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readDateMode() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; 0 = base 1900, 1 = base 1904 - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_WINDOWS_1900); - if (ord($recordData{0}) == 1) { - PHPExcel_Shared_Date::setExcelCalendar(PHPExcel_Shared_Date::CALENDAR_MAC_1904); - } - } - - - /** - * Read a FONT record - */ - private function _readFont() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - $objFont = new PHPExcel_Style_Font(); - - // offset: 0; size: 2; height of the font (in twips = 1/20 of a point) - $size = self::_GetInt2d($recordData, 0); - $objFont->setSize($size / 20); - - // offset: 2; size: 2; option flags - // bit: 0; mask 0x0001; bold (redundant in BIFF5-BIFF8) - // bit: 1; mask 0x0002; italic - $isItalic = (0x0002 & self::_GetInt2d($recordData, 2)) >> 1; - if ($isItalic) $objFont->setItalic(true); - - // bit: 2; mask 0x0004; underlined (redundant in BIFF5-BIFF8) - // bit: 3; mask 0x0008; strike - $isStrike = (0x0008 & self::_GetInt2d($recordData, 2)) >> 3; - if ($isStrike) $objFont->setStrikethrough(true); - - // offset: 4; size: 2; colour index - $colorIndex = self::_GetInt2d($recordData, 4); - $objFont->colorIndex = $colorIndex; - - // offset: 6; size: 2; font weight - $weight = self::_GetInt2d($recordData, 6); - switch ($weight) { - case 0x02BC: - $objFont->setBold(true); - break; - } - - // offset: 8; size: 2; escapement type - $escapement = self::_GetInt2d($recordData, 8); - switch ($escapement) { - case 0x0001: - $objFont->setSuperScript(true); - break; - case 0x0002: - $objFont->setSubScript(true); - break; - } - - // offset: 10; size: 1; underline type - $underlineType = ord($recordData{10}); - switch ($underlineType) { - case 0x00: - break; // no underline - case 0x01: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); - break; - case 0x02: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLE); - break; - case 0x21: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING); - break; - case 0x22: - $objFont->setUnderline(PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING); - break; - } - - // offset: 11; size: 1; font family - // offset: 12; size: 1; character set - // offset: 13; size: 1; not used - // offset: 14; size: var; font name - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringShort(substr($recordData, 14)); - } else { - $string = $this->_readByteStringShort(substr($recordData, 14)); - } - $objFont->setName($string['value']); - - $this->_objFonts[] = $objFont; - } - } - - - /** - * FORMAT - * - * This record contains information about a number format. - * All FORMAT records occur together in a sequential list. - * - * In BIFF2-BIFF4 other records referencing a FORMAT record - * contain a zero-based index into this list. From BIFF5 on - * the FORMAT record contains the index itself that will be - * used by other records. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readFormat() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - $indexCode = self::_GetInt2d($recordData, 0); - - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong(substr($recordData, 2)); - } else { - // BIFF7 - $string = $this->_readByteStringShort(substr($recordData, 2)); - } - - $formatString = $string['value']; - $this->_formats[$indexCode] = $formatString; - } - } - - - /** - * XF - Extended Format - * - * This record contains formatting information for cells, rows, columns or styles. - * According to http://support.microsoft.com/kb/147732 there are always at least 15 cell style XF - * and 1 cell XF. - * Inspection of Excel files generated by MS Office Excel shows that XF records 0-14 are cell style XF - * and XF record 15 is a cell XF - * We only read the first cell style XF and skip the remaining cell style XF records - * We read all cell XF records. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readXf() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - $objStyle = new PHPExcel_Style(); - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; Index to FONT record - if (self::_GetInt2d($recordData, 0) < 4) { - $fontIndex = self::_GetInt2d($recordData, 0); - } else { - // this has to do with that index 4 is omitted in all BIFF versions for some strange reason - // check the OpenOffice documentation of the FONT record - $fontIndex = self::_GetInt2d($recordData, 0) - 1; - } - $objStyle->setFont($this->_objFonts[$fontIndex]); - - // offset: 2; size: 2; Index to FORMAT record - $numberFormatIndex = self::_GetInt2d($recordData, 2); - if (isset($this->_formats[$numberFormatIndex])) { - // then we have user-defined format code - $numberformat = array('code' => $this->_formats[$numberFormatIndex]); - } elseif (($code = PHPExcel_Style_NumberFormat::builtInFormatCode($numberFormatIndex)) !== '') { - // then we have built-in format code - $numberformat = array('code' => $code); - } else { - // we set the general format code - $numberformat = array('code' => 'General'); - } - $objStyle->getNumberFormat()->setFormatCode($numberformat['code']); - - // offset: 4; size: 2; XF type, cell protection, and parent style XF - // bit 2-0; mask 0x0007; XF_TYPE_PROT - $xfTypeProt = self::_GetInt2d($recordData, 4); - // bit 0; mask 0x01; 1 = cell is locked - $isLocked = (0x01 & $xfTypeProt) >> 0; - $objStyle->getProtection()->setLocked($isLocked ? - PHPExcel_Style_Protection::PROTECTION_INHERIT : PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - - // bit 1; mask 0x02; 1 = Formula is hidden - $isHidden = (0x02 & $xfTypeProt) >> 1; - $objStyle->getProtection()->setHidden($isHidden ? - PHPExcel_Style_Protection::PROTECTION_PROTECTED : PHPExcel_Style_Protection::PROTECTION_UNPROTECTED); - - // bit 2; mask 0x04; 0 = Cell XF, 1 = Cell Style XF - $isCellStyleXf = (0x04 & $xfTypeProt) >> 2; - - // offset: 6; size: 1; Alignment and text break - // bit 2-0, mask 0x07; horizontal alignment - $horAlign = (0x07 & ord($recordData{6})) >> 0; - switch ($horAlign) { - case 0: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_GENERAL); - break; - case 1: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_LEFT); - break; - case 2: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER); - break; - case 3: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_RIGHT); - break; - case 4: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_FILL); - break; - case 5: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY); - break; - case 6: - $objStyle->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS); - break; - } - // bit 3, mask 0x08; wrap text - $wrapText = (0x08 & ord($recordData{6})) >> 3; - switch ($wrapText) { - case 0: - $objStyle->getAlignment()->setWrapText(false); - break; - case 1: - $objStyle->getAlignment()->setWrapText(true); - break; - } - // bit 6-4, mask 0x70; vertical alignment - $vertAlign = (0x70 & ord($recordData{6})) >> 4; - switch ($vertAlign) { - case 0: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP); - break; - case 1: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER); - break; - case 2: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_BOTTOM); - break; - case 3: - $objStyle->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_JUSTIFY); - break; - } - - if ($this->_version == self::XLS_BIFF8) { - // offset: 7; size: 1; XF_ROTATION: Text rotation angle - $angle = ord($recordData{7}); - $rotation = 0; - if ($angle <= 90) { - $rotation = $angle; - } else if ($angle <= 180) { - $rotation = 90 - $angle; - } else if ($angle == 255) { - $rotation = -165; - } - $objStyle->getAlignment()->setTextRotation($rotation); - - // offset: 8; size: 1; Indentation, shrink to cell size, and text direction - // bit: 3-0; mask: 0x0F; indent level - $indent = (0x0F & ord($recordData{8})) >> 0; - $objStyle->getAlignment()->setIndent($indent); - - // bit: 4; mask: 0x10; 1 = shrink content to fit into cell - $shrinkToFit = (0x10 & ord($recordData{8})) >> 4; - switch ($shrinkToFit) { - case 0: - $objStyle->getAlignment()->setShrinkToFit(false); - break; - case 1: - $objStyle->getAlignment()->setShrinkToFit(true); - break; - } - - // offset: 9; size: 1; Flags used for attribute groups - - // offset: 10; size: 4; Cell border lines and background area - // bit: 3-0; mask: 0x0000000F; left style - if ($bordersLeftStyle = self::_mapBorderStyle((0x0000000F & self::_GetInt4d($recordData, 10)) >> 0)) { - $objStyle->getBorders()->getLeft()->setBorderStyle($bordersLeftStyle); - } - // bit: 7-4; mask: 0x000000F0; right style - if ($bordersRightStyle = self::_mapBorderStyle((0x000000F0 & self::_GetInt4d($recordData, 10)) >> 4)) { - $objStyle->getBorders()->getRight()->setBorderStyle($bordersRightStyle); - } - // bit: 11-8; mask: 0x00000F00; top style - if ($bordersTopStyle = self::_mapBorderStyle((0x00000F00 & self::_GetInt4d($recordData, 10)) >> 8)) { - $objStyle->getBorders()->getTop()->setBorderStyle($bordersTopStyle); - } - // bit: 15-12; mask: 0x0000F000; bottom style - if ($bordersBottomStyle = self::_mapBorderStyle((0x0000F000 & self::_GetInt4d($recordData, 10)) >> 12)) { - $objStyle->getBorders()->getBottom()->setBorderStyle($bordersBottomStyle); - } - // bit: 22-16; mask: 0x007F0000; left color - $objStyle->getBorders()->getLeft()->colorIndex = (0x007F0000 & self::_GetInt4d($recordData, 10)) >> 16; - - // bit: 29-23; mask: 0x3F800000; right color - $objStyle->getBorders()->getRight()->colorIndex = (0x3F800000 & self::_GetInt4d($recordData, 10)) >> 23; - - // bit: 30; mask: 0x40000000; 1 = diagonal line from top left to right bottom - $diagonalDown = (0x40000000 & self::_GetInt4d($recordData, 10)) >> 30 ? - true : false; - - // bit: 31; mask: 0x80000000; 1 = diagonal line from bottom left to top right - $diagonalUp = (0x80000000 & self::_GetInt4d($recordData, 10)) >> 31 ? - true : false; - - if ($diagonalUp == false && $diagonalDown == false) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_NONE); - } elseif ($diagonalUp == true && $diagonalDown == false) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_UP); - } elseif ($diagonalUp == false && $diagonalDown == true) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_DOWN); - } elseif ($diagonalUp == true && $diagonalDown == true) { - $objStyle->getBorders()->setDiagonalDirection(PHPExcel_Style_Borders::DIAGONAL_BOTH); - } - - // offset: 14; size: 4; - // bit: 6-0; mask: 0x0000007F; top color - $objStyle->getBorders()->getTop()->colorIndex = (0x0000007F & self::_GetInt4d($recordData, 14)) >> 0; - - // bit: 13-7; mask: 0x00003F80; bottom color - $objStyle->getBorders()->getBottom()->colorIndex = (0x00003F80 & self::_GetInt4d($recordData, 14)) >> 7; - - // bit: 20-14; mask: 0x001FC000; diagonal color - $objStyle->getBorders()->getDiagonal()->colorIndex = (0x001FC000 & self::_GetInt4d($recordData, 14)) >> 14; - - // bit: 24-21; mask: 0x01E00000; diagonal style - if ($bordersDiagonalStyle = self::_mapBorderStyle((0x01E00000 & self::_GetInt4d($recordData, 14)) >> 21)) { - $objStyle->getBorders()->getDiagonal()->setBorderStyle($bordersDiagonalStyle); - } - - // bit: 31-26; mask: 0xFC000000 fill pattern - if ($fillType = self::_mapFillPattern((0xFC000000 & self::_GetInt4d($recordData, 14)) >> 26)) { - $objStyle->getFill()->setFillType($fillType); - } - // offset: 18; size: 2; pattern and background colour - // bit: 6-0; mask: 0x007F; color index for pattern color - $objStyle->getFill()->startcolorIndex = (0x007F & self::_GetInt2d($recordData, 18)) >> 0; - - // bit: 13-7; mask: 0x3F80; color index for pattern background - $objStyle->getFill()->endcolorIndex = (0x3F80 & self::_GetInt2d($recordData, 18)) >> 7; - } else { - // BIFF5 - - // offset: 7; size: 1; Text orientation and flags - $orientationAndFlags = ord($recordData{7}); - - // bit: 1-0; mask: 0x03; XF_ORIENTATION: Text orientation - $xfOrientation = (0x03 & $orientationAndFlags) >> 0; - switch ($xfOrientation) { - case 0: - $objStyle->getAlignment()->setTextRotation(0); - break; - case 1: - $objStyle->getAlignment()->setTextRotation(-165); - break; - case 2: - $objStyle->getAlignment()->setTextRotation(90); - break; - case 3: - $objStyle->getAlignment()->setTextRotation(-90); - break; - } - - // offset: 8; size: 4; cell border lines and background area - $borderAndBackground = self::_GetInt4d($recordData, 8); - - // bit: 6-0; mask: 0x0000007F; color index for pattern color - $objStyle->getFill()->startcolorIndex = (0x0000007F & $borderAndBackground) >> 0; - - // bit: 13-7; mask: 0x00003F80; color index for pattern background - $objStyle->getFill()->endcolorIndex = (0x00003F80 & $borderAndBackground) >> 7; - - // bit: 21-16; mask: 0x003F0000; fill pattern - $objStyle->getFill()->setFillType(self::_mapFillPattern((0x003F0000 & $borderAndBackground) >> 16)); - - // bit: 24-22; mask: 0x01C00000; bottom line style - $objStyle->getBorders()->getBottom()->setBorderStyle(self::_mapBorderStyle((0x01C00000 & $borderAndBackground) >> 22)); - - // bit: 31-25; mask: 0xFE000000; bottom line color - $objStyle->getBorders()->getBottom()->colorIndex = (0xFE000000 & $borderAndBackground) >> 25; - - // offset: 12; size: 4; cell border lines - $borderLines = self::_GetInt4d($recordData, 12); - - // bit: 2-0; mask: 0x00000007; top line style - $objStyle->getBorders()->getTop()->setBorderStyle(self::_mapBorderStyle((0x00000007 & $borderLines) >> 0)); - - // bit: 5-3; mask: 0x00000038; left line style - $objStyle->getBorders()->getLeft()->setBorderStyle(self::_mapBorderStyle((0x00000038 & $borderLines) >> 3)); - - // bit: 8-6; mask: 0x000001C0; right line style - $objStyle->getBorders()->getRight()->setBorderStyle(self::_mapBorderStyle((0x000001C0 & $borderLines) >> 6)); - - // bit: 15-9; mask: 0x0000FE00; top line color index - $objStyle->getBorders()->getTop()->colorIndex = (0x0000FE00 & $borderLines) >> 9; - - // bit: 22-16; mask: 0x007F0000; left line color index - $objStyle->getBorders()->getLeft()->colorIndex = (0x007F0000 & $borderLines) >> 16; - - // bit: 29-23; mask: 0x3F800000; right line color index - $objStyle->getBorders()->getRight()->colorIndex = (0x3F800000 & $borderLines) >> 23; - } - - // add cellStyleXf or cellXf and update mapping - if ($isCellStyleXf) { - // we only read one style XF record which is always the first - if ($this->_xfIndex == 0) { - $this->_phpExcel->addCellStyleXf($objStyle); - $this->_mapCellStyleXfIndex[$this->_xfIndex] = 0; - } - } else { - // we read all cell XF records - $this->_phpExcel->addCellXf($objStyle); - $this->_mapCellXfIndex[$this->_xfIndex] = count($this->_phpExcel->getCellXfCollection()) - 1; - } - - // update XF index for when we read next record - ++$this->_xfIndex; - } - } - - - /** - * - */ - private function _readXfExt() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 0x087D = repeated header - - // offset: 2; size: 2 - - // offset: 4; size: 8; not used - - // offset: 12; size: 2; record version - - // offset: 14; size: 2; index to XF record which this record modifies - $ixfe = self::_GetInt2d($recordData, 14); - - // offset: 16; size: 2; not used - - // offset: 18; size: 2; number of extension properties that follow - $cexts = self::_GetInt2d($recordData, 18); - - // start reading the actual extension data - $offset = 20; - while ($offset < $length) { - // extension type - $extType = self::_GetInt2d($recordData, $offset); - - // extension length - $cb = self::_GetInt2d($recordData, $offset + 2); - - // extension data - $extData = substr($recordData, $offset + 4, $cb); - - switch ($extType) { - case 4: // fill start color - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $fill = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getFill(); - $fill->getStartColor()->setRGB($rgb); - unset($fill->startcolorIndex); // normal color index does not apply, discard - } - } - break; - - case 5: // fill end color - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $fill = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getFill(); - $fill->getEndColor()->setRGB($rgb); - unset($fill->endcolorIndex); // normal color index does not apply, discard - } - } - break; - - case 7: // border color top - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $top = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getTop(); - $top->getColor()->setRGB($rgb); - unset($top->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 8: // border color bottom - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $bottom = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getBottom(); - $bottom->getColor()->setRGB($rgb); - unset($bottom->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 9: // border color left - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $left = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getLeft(); - $left->getColor()->setRGB($rgb); - unset($left->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 10: // border color right - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $right = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getRight(); - $right->getColor()->setRGB($rgb); - unset($right->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 11: // border color diagonal - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $diagonal = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getBorders()->getDiagonal(); - $diagonal->getColor()->setRGB($rgb); - unset($diagonal->colorIndex); // normal color index does not apply, discard - } - } - break; - - case 13: // font color - $xclfType = self::_GetInt2d($extData, 0); // color type - $xclrValue = substr($extData, 4, 4); // color value (value based on color type) - - if ($xclfType == 2) { - $rgb = sprintf('%02X%02X%02X', ord($xclrValue{0}), ord($xclrValue{1}), ord($xclrValue{2})); - - // modify the relevant style property - if ( isset($this->_mapCellXfIndex[$ixfe]) ) { - $font = $this->_phpExcel->getCellXfByIndex($this->_mapCellXfIndex[$ixfe])->getFont(); - $font->getColor()->setRGB($rgb); - unset($font->colorIndex); // normal color index does not apply, discard - } - } - break; - } - - $offset += $cb; - } - } - - } - - - /** - * Read STYLE record - */ - private function _readStyle() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; index to XF record and flag for built-in style - $ixfe = self::_GetInt2d($recordData, 0); - - // bit: 11-0; mask 0x0FFF; index to XF record - $xfIndex = (0x0FFF & $ixfe) >> 0; - - // bit: 15; mask 0x8000; 0 = user-defined style, 1 = built-in style - $isBuiltIn = (bool) ((0x8000 & $ixfe) >> 15); - - if ($isBuiltIn) { - // offset: 2; size: 1; identifier for built-in style - $builtInId = ord($recordData{2}); - - switch ($builtInId) { - case 0x00: - // currently, we are not using this for anything - break; - - default: - break; - } - - } else { - // user-defined; not supported by PHPExcel - } - } - } - - - /** - * Read PALETTE record - */ - private function _readPalette() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; number of following colors - $nm = self::_GetInt2d($recordData, 0); - - // list of RGB colors - for ($i = 0; $i < $nm; ++$i) { - $rgb = substr($recordData, 2 + 4 * $i, 4); - $this->_palette[] = self::_readRGB($rgb); - } - } - } - - - /** - * SHEET - * - * This record is located in the Workbook Globals - * Substream and represents a sheet inside the workbook. - * One SHEET record is written for each sheet. It stores the - * sheet name and a stream offset to the BOF record of the - * respective Sheet Substream within the Workbook Stream. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readSheet() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // offset: 0; size: 4; absolute stream position of the BOF record of the sheet - // NOTE: not encrypted - $rec_offset = self::_GetInt4d($this->_data, $this->_pos + 4); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 4; size: 1; sheet state - switch (ord($recordData{4})) { - case 0x00: $sheetState = PHPExcel_Worksheet::SHEETSTATE_VISIBLE; break; - case 0x01: $sheetState = PHPExcel_Worksheet::SHEETSTATE_HIDDEN; break; - case 0x02: $sheetState = PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN; break; - default: $sheetState = PHPExcel_Worksheet::SHEETSTATE_VISIBLE; break; - } - - // offset: 5; size: 1; sheet type - $sheetType = ord($recordData{5}); - - // offset: 6; size: var; sheet name - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringShort(substr($recordData, 6)); - $rec_name = $string['value']; - } elseif ($this->_version == self::XLS_BIFF7) { - $string = $this->_readByteStringShort(substr($recordData, 6)); - $rec_name = $string['value']; - } - - $this->_sheets[] = array( - 'name' => $rec_name, - 'offset' => $rec_offset, - 'sheetState' => $sheetState, - 'sheetType' => $sheetType, - ); - } - - - /** - * Read EXTERNALBOOK record - */ - private function _readExternalBook() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset within record data - $offset = 0; - - // there are 4 types of records - if (strlen($recordData) > 4) { - // external reference - // offset: 0; size: 2; number of sheet names ($nm) - $nm = self::_GetInt2d($recordData, 0); - $offset += 2; - - // offset: 2; size: var; encoded URL without sheet name (Unicode string, 16-bit length) - $encodedUrlString = self::_readUnicodeStringLong(substr($recordData, 2)); - $offset += $encodedUrlString['size']; - - // offset: var; size: var; list of $nm sheet names (Unicode strings, 16-bit length) - $externalSheetNames = array(); - for ($i = 0; $i < $nm; ++$i) { - $externalSheetNameString = self::_readUnicodeStringLong(substr($recordData, $offset)); - $externalSheetNames[] = $externalSheetNameString['value']; - $offset += $externalSheetNameString['size']; - } - - // store the record data - $this->_externalBooks[] = array( - 'type' => 'external', - 'encodedUrl' => $encodedUrlString['value'], - 'externalSheetNames' => $externalSheetNames, - ); - - } elseif (substr($recordData, 2, 2) == pack('CC', 0x01, 0x04)) { - // internal reference - // offset: 0; size: 2; number of sheet in this document - // offset: 2; size: 2; 0x01 0x04 - $this->_externalBooks[] = array( - 'type' => 'internal', - ); - } elseif (substr($recordData, 0, 4) == pack('vCC', 0x0001, 0x01, 0x3A)) { - // add-in function - // offset: 0; size: 2; 0x0001 - $this->_externalBooks[] = array( - 'type' => 'addInFunction', - ); - } elseif (substr($recordData, 0, 2) == pack('v', 0x0000)) { - // DDE links, OLE links - // offset: 0; size: 2; 0x0000 - // offset: 2; size: var; encoded source document name - $this->_externalBooks[] = array( - 'type' => 'DDEorOLE', - ); - } - } - - - /** - * Read EXTERNNAME record. - */ - private function _readExternName() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // external sheet references provided for named cells - if ($this->_version == self::XLS_BIFF8) { - // offset: 0; size: 2; options - $options = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; - - // offset: 4; size: 2; not used - - // offset: 6; size: var - $nameString = self::_readUnicodeStringShort(substr($recordData, 6)); - - // offset: var; size: var; formula data - $offset = 6 + $nameString['size']; - $formula = $this->_getFormulaFromStructure(substr($recordData, $offset)); - - $this->_externalNames[] = array( - 'name' => $nameString['value'], - 'formula' => $formula, - ); - } - } - - - /** - * Read EXTERNSHEET record - */ - private function _readExternSheet() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // external sheet references provided for named cells - if ($this->_version == self::XLS_BIFF8) { - // offset: 0; size: 2; number of following ref structures - $nm = self::_GetInt2d($recordData, 0); - for ($i = 0; $i < $nm; ++$i) { - $this->_ref[] = array( - // offset: 2 + 6 * $i; index to EXTERNALBOOK record - 'externalBookIndex' => self::_GetInt2d($recordData, 2 + 6 * $i), - // offset: 4 + 6 * $i; index to first sheet in EXTERNALBOOK record - 'firstSheetIndex' => self::_GetInt2d($recordData, 4 + 6 * $i), - // offset: 6 + 6 * $i; index to last sheet in EXTERNALBOOK record - 'lastSheetIndex' => self::_GetInt2d($recordData, 6 + 6 * $i), - ); - } - } - } - - - /** - * DEFINEDNAME - * - * This record is part of a Link Table. It contains the name - * and the token array of an internal defined name. Token - * arrays of defined names contain tokens with aberrant - * token classes. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readDefinedName() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8) { - // retrieves named cells - - // offset: 0; size: 2; option flags - $opts = self::_GetInt2d($recordData, 0); - - // bit: 5; mask: 0x0020; 0 = user-defined name, 1 = built-in-name - $isBuiltInName = (0x0020 & $opts) >> 5; - - // offset: 2; size: 1; keyboard shortcut - - // offset: 3; size: 1; length of the name (character count) - $nlen = ord($recordData{3}); - - // offset: 4; size: 2; size of the formula data (it can happen that this is zero) - // note: there can also be additional data, this is not included in $flen - $flen = self::_GetInt2d($recordData, 4); - - // offset: 8; size: 2; 0=Global name, otherwise index to sheet (1-based) - $scope = self::_GetInt2d($recordData, 8); - - // offset: 14; size: var; Name (Unicode string without length field) - $string = self::_readUnicodeString(substr($recordData, 14), $nlen); - - // offset: var; size: $flen; formula data - $offset = 14 + $string['size']; - $formulaStructure = pack('v', $flen) . substr($recordData, $offset); - - try { - $formula = $this->_getFormulaFromStructure($formulaStructure); - } catch (PHPExcel_Exception $e) { - $formula = ''; - } - - $this->_definedname[] = array( - 'isBuiltInName' => $isBuiltInName, - 'name' => $string['value'], - 'formula' => $formula, - 'scope' => $scope, - ); - } - } - - - /** - * Read MSODRAWINGGROUP record - */ - private function _readMsoDrawingGroup() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - $recordData = $splicedRecordData['recordData']; - - $this->_drawingGroupData .= $recordData; - } - - - /** - * SST - Shared String Table - * - * This record contains a list of all strings used anywhere - * in the workbook. Each string occurs only once. The - * workbook uses indexes into the list to reference the - * strings. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - **/ - private function _readSst() - { - // offset within (spliced) record data - $pos = 0; - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - - $recordData = $splicedRecordData['recordData']; - $spliceOffsets = $splicedRecordData['spliceOffsets']; - - // offset: 0; size: 4; total number of strings in the workbook - $pos += 4; - - // offset: 4; size: 4; number of following strings ($nm) - $nm = self::_GetInt4d($recordData, 4); - $pos += 4; - - // loop through the Unicode strings (16-bit length) - for ($i = 0; $i < $nm; ++$i) { - - // number of characters in the Unicode string - $numChars = self::_GetInt2d($recordData, $pos); - $pos += 2; - - // option flags - $optionFlags = ord($recordData{$pos}); - ++$pos; - - // bit: 0; mask: 0x01; 0 = compressed; 1 = uncompressed - $isCompressed = (($optionFlags & 0x01) == 0) ; - - // bit: 2; mask: 0x02; 0 = ordinary; 1 = Asian phonetic - $hasAsian = (($optionFlags & 0x04) != 0); - - // bit: 3; mask: 0x03; 0 = ordinary; 1 = Rich-Text - $hasRichText = (($optionFlags & 0x08) != 0); - - if ($hasRichText) { - // number of Rich-Text formatting runs - $formattingRuns = self::_GetInt2d($recordData, $pos); - $pos += 2; - } - - if ($hasAsian) { - // size of Asian phonetic setting - $extendedRunLength = self::_GetInt4d($recordData, $pos); - $pos += 4; - } - - // expected byte length of character array if not split - $len = ($isCompressed) ? $numChars : $numChars * 2; - - // look up limit position - foreach ($spliceOffsets as $spliceOffset) { - // it can happen that the string is empty, therefore we need - // <= and not just < - if ($pos <= $spliceOffset) { - $limitpos = $spliceOffset; - break; - } - } - - if ($pos + $len <= $limitpos) { - // character array is not split between records - - $retstr = substr($recordData, $pos, $len); - $pos += $len; - - } else { - // character array is split between records - - // first part of character array - $retstr = substr($recordData, $pos, $limitpos - $pos); - - $bytesRead = $limitpos - $pos; - - // remaining characters in Unicode string - $charsLeft = $numChars - (($isCompressed) ? $bytesRead : ($bytesRead / 2)); - - $pos = $limitpos; - - // keep reading the characters - while ($charsLeft > 0) { - - // look up next limit position, in case the string span more than one continue record - foreach ($spliceOffsets as $spliceOffset) { - if ($pos < $spliceOffset) { - $limitpos = $spliceOffset; - break; - } - } - - // repeated option flags - // OpenOffice.org documentation 5.21 - $option = ord($recordData{$pos}); - ++$pos; - - if ($isCompressed && ($option == 0)) { - // 1st fragment compressed - // this fragment compressed - $len = min($charsLeft, $limitpos - $pos); - $retstr .= substr($recordData, $pos, $len); - $charsLeft -= $len; - $isCompressed = true; - - } elseif (!$isCompressed && ($option != 0)) { - // 1st fragment uncompressed - // this fragment uncompressed - $len = min($charsLeft * 2, $limitpos - $pos); - $retstr .= substr($recordData, $pos, $len); - $charsLeft -= $len / 2; - $isCompressed = false; - - } elseif (!$isCompressed && ($option == 0)) { - // 1st fragment uncompressed - // this fragment compressed - $len = min($charsLeft, $limitpos - $pos); - for ($j = 0; $j < $len; ++$j) { - $retstr .= $recordData{$pos + $j} . chr(0); - } - $charsLeft -= $len; - $isCompressed = false; - - } else { - // 1st fragment compressed - // this fragment uncompressed - $newstr = ''; - for ($j = 0; $j < strlen($retstr); ++$j) { - $newstr .= $retstr[$j] . chr(0); - } - $retstr = $newstr; - $len = min($charsLeft * 2, $limitpos - $pos); - $retstr .= substr($recordData, $pos, $len); - $charsLeft -= $len / 2; - $isCompressed = false; - } - - $pos += $len; - } - } - - // convert to UTF-8 - $retstr = self::_encodeUTF16($retstr, $isCompressed); - - // read additional Rich-Text information, if any - $fmtRuns = array(); - if ($hasRichText) { - // list of formatting runs - for ($j = 0; $j < $formattingRuns; ++$j) { - // first formatted character; zero-based - $charPos = self::_GetInt2d($recordData, $pos + $j * 4); - - // index to font record - $fontIndex = self::_GetInt2d($recordData, $pos + 2 + $j * 4); - - $fmtRuns[] = array( - 'charPos' => $charPos, - 'fontIndex' => $fontIndex, - ); - } - $pos += 4 * $formattingRuns; - } - - // read additional Asian phonetics information, if any - if ($hasAsian) { - // For Asian phonetic settings, we skip the extended string data - $pos += $extendedRunLength; - } - - // store the shared sting - $this->_sst[] = array( - 'value' => $retstr, - 'fmtRuns' => $fmtRuns, - ); - } - - // _getSplicedRecordData() takes care of moving current position in data stream - } - - - /** - * Read PRINTGRIDLINES record - */ - private function _readPrintGridlines() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - // offset: 0; size: 2; 0 = do not print sheet grid lines; 1 = print sheet gridlines - $printGridlines = (bool) self::_GetInt2d($recordData, 0); - $this->_phpSheet->setPrintGridlines($printGridlines); - } - } - - - /** - * Read DEFAULTROWHEIGHT record - */ - private function _readDefaultRowHeight() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; option flags - // offset: 2; size: 2; default height for unused rows, (twips 1/20 point) - $height = self::_GetInt2d($recordData, 2); - $this->_phpSheet->getDefaultRowDimension()->setRowHeight($height / 20); - } - - - /** - * Read SHEETPR record - */ - private function _readSheetPr() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2 - - // bit: 6; mask: 0x0040; 0 = outline buttons above outline group - $isSummaryBelow = (0x0040 & self::_GetInt2d($recordData, 0)) >> 6; - $this->_phpSheet->setShowSummaryBelow($isSummaryBelow); - - // bit: 7; mask: 0x0080; 0 = outline buttons left of outline group - $isSummaryRight = (0x0080 & self::_GetInt2d($recordData, 0)) >> 7; - $this->_phpSheet->setShowSummaryRight($isSummaryRight); - - // bit: 8; mask: 0x100; 0 = scale printout in percent, 1 = fit printout to number of pages - // this corresponds to radio button setting in page setup dialog in Excel - $this->_isFitToPages = (bool) ((0x0100 & self::_GetInt2d($recordData, 0)) >> 8); - } - - - /** - * Read HORIZONTALPAGEBREAKS record - */ - private function _readHorizontalPageBreaks() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - - // offset: 0; size: 2; number of the following row index structures - $nm = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 6 * $nm; list of $nm row index structures - for ($i = 0; $i < $nm; ++$i) { - $r = self::_GetInt2d($recordData, 2 + 6 * $i); - $cf = self::_GetInt2d($recordData, 2 + 6 * $i + 2); - $cl = self::_GetInt2d($recordData, 2 + 6 * $i + 4); - - // not sure why two column indexes are necessary? - $this->_phpSheet->setBreakByColumnAndRow($cf, $r, PHPExcel_Worksheet::BREAK_ROW); - } - } - } - - - /** - * Read VERTICALPAGEBREAKS record - */ - private function _readVerticalPageBreaks() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - // offset: 0; size: 2; number of the following column index structures - $nm = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 6 * $nm; list of $nm row index structures - for ($i = 0; $i < $nm; ++$i) { - $c = self::_GetInt2d($recordData, 2 + 6 * $i); - $rf = self::_GetInt2d($recordData, 2 + 6 * $i + 2); - $rl = self::_GetInt2d($recordData, 2 + 6 * $i + 4); - - // not sure why two row indexes are necessary? - $this->_phpSheet->setBreakByColumnAndRow($c, $rf, PHPExcel_Worksheet::BREAK_COLUMN); - } - } - } - - - /** - * Read HEADER record - */ - private function _readHeader() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: var - // realized that $recordData can be empty even when record exists - if ($recordData) { - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong($recordData); - } else { - $string = $this->_readByteStringShort($recordData); - } - - $this->_phpSheet->getHeaderFooter()->setOddHeader($string['value']); - $this->_phpSheet->getHeaderFooter()->setEvenHeader($string['value']); - } - } - } - - - /** - * Read FOOTER record - */ - private function _readFooter() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: var - // realized that $recordData can be empty even when record exists - if ($recordData) { - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong($recordData); - } else { - $string = $this->_readByteStringShort($recordData); - } - $this->_phpSheet->getHeaderFooter()->setOddFooter($string['value']); - $this->_phpSheet->getHeaderFooter()->setEvenFooter($string['value']); - } - } - } - - - /** - * Read HCENTER record - */ - private function _readHcenter() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 0 = print sheet left aligned, 1 = print sheet centered horizontally - $isHorizontalCentered = (bool) self::_GetInt2d($recordData, 0); - - $this->_phpSheet->getPageSetup()->setHorizontalCentered($isHorizontalCentered); - } - } - - - /** - * Read VCENTER record - */ - private function _readVcenter() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 0 = print sheet aligned at top page border, 1 = print sheet vertically centered - $isVerticalCentered = (bool) self::_GetInt2d($recordData, 0); - - $this->_phpSheet->getPageSetup()->setVerticalCentered($isVerticalCentered); - } - } - - - /** - * Read LEFTMARGIN record - */ - private function _readLeftMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setLeft(self::_extractNumber($recordData)); - } - } - - - /** - * Read RIGHTMARGIN record - */ - private function _readRightMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setRight(self::_extractNumber($recordData)); - } - } - - - /** - * Read TOPMARGIN record - */ - private function _readTopMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setTop(self::_extractNumber($recordData)); - } - } - - - /** - * Read BOTTOMMARGIN record - */ - private function _readBottomMargin() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8 - $this->_phpSheet->getPageMargins()->setBottom(self::_extractNumber($recordData)); - } - } - - - /** - * Read PAGESETUP record - */ - private function _readPageSetup() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; paper size - $paperSize = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; scaling factor - $scale = self::_GetInt2d($recordData, 2); - - // offset: 6; size: 2; fit worksheet width to this number of pages, 0 = use as many as needed - $fitToWidth = self::_GetInt2d($recordData, 6); - - // offset: 8; size: 2; fit worksheet height to this number of pages, 0 = use as many as needed - $fitToHeight = self::_GetInt2d($recordData, 8); - - // offset: 10; size: 2; option flags - - // bit: 1; mask: 0x0002; 0=landscape, 1=portrait - $isPortrait = (0x0002 & self::_GetInt2d($recordData, 10)) >> 1; - - // bit: 2; mask: 0x0004; 1= paper size, scaling factor, paper orient. not init - // when this bit is set, do not use flags for those properties - $isNotInit = (0x0004 & self::_GetInt2d($recordData, 10)) >> 2; - - if (!$isNotInit) { - $this->_phpSheet->getPageSetup()->setPaperSize($paperSize); - switch ($isPortrait) { - case 0: $this->_phpSheet->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE); break; - case 1: $this->_phpSheet->getPageSetup()->setOrientation(PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT); break; - } - - $this->_phpSheet->getPageSetup()->setScale($scale, false); - $this->_phpSheet->getPageSetup()->setFitToPage((bool) $this->_isFitToPages); - $this->_phpSheet->getPageSetup()->setFitToWidth($fitToWidth, false); - $this->_phpSheet->getPageSetup()->setFitToHeight($fitToHeight, false); - } - - // offset: 16; size: 8; header margin (IEEE 754 floating-point value) - $marginHeader = self::_extractNumber(substr($recordData, 16, 8)); - $this->_phpSheet->getPageMargins()->setHeader($marginHeader); - - // offset: 24; size: 8; footer margin (IEEE 754 floating-point value) - $marginFooter = self::_extractNumber(substr($recordData, 24, 8)); - $this->_phpSheet->getPageMargins()->setFooter($marginFooter); - } - } - - - /** - * PROTECT - Sheet protection (BIFF2 through BIFF8) - * if this record is omitted, then it also means no sheet protection - */ - private function _readProtect() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; - - // bit 0, mask 0x01; 1 = sheet is protected - $bool = (0x01 & self::_GetInt2d($recordData, 0)) >> 0; - $this->_phpSheet->getProtection()->setSheet((bool)$bool); - } - - - /** - * SCENPROTECT - */ - private function _readScenProtect() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; - - // bit: 0, mask 0x01; 1 = scenarios are protected - $bool = (0x01 & self::_GetInt2d($recordData, 0)) >> 0; - - $this->_phpSheet->getProtection()->setScenarios((bool)$bool); - } - - - /** - * OBJECTPROTECT - */ - private function _readObjectProtect() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; - - // bit: 0, mask 0x01; 1 = objects are protected - $bool = (0x01 & self::_GetInt2d($recordData, 0)) >> 0; - - $this->_phpSheet->getProtection()->setObjects((bool)$bool); - } - - - /** - * PASSWORD - Sheet protection (hashed) password (BIFF2 through BIFF8) - */ - private function _readPassword() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; 16-bit hash value of password - $password = strtoupper(dechex(self::_GetInt2d($recordData, 0))); // the hashed password - $this->_phpSheet->getProtection()->setPassword($password, true); - } - } - - - /** - * Read DEFCOLWIDTH record - */ - private function _readDefColWidth() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; default column width - $width = self::_GetInt2d($recordData, 0); - if ($width != 8) { - $this->_phpSheet->getDefaultColumnDimension()->setWidth($width); - } - } - - - /** - * Read COLINFO record - */ - private function _readColInfo() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; index to first column in range - $fc = self::_GetInt2d($recordData, 0); // first column index - - // offset: 2; size: 2; index to last column in range - $lc = self::_GetInt2d($recordData, 2); // first column index - - // offset: 4; size: 2; width of the column in 1/256 of the width of the zero character - $width = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 2; index to XF record for default column formatting - $xfIndex = self::_GetInt2d($recordData, 6); - - // offset: 8; size: 2; option flags - - // bit: 0; mask: 0x0001; 1= columns are hidden - $isHidden = (0x0001 & self::_GetInt2d($recordData, 8)) >> 0; - - // bit: 10-8; mask: 0x0700; outline level of the columns (0 = no outline) - $level = (0x0700 & self::_GetInt2d($recordData, 8)) >> 8; - - // bit: 12; mask: 0x1000; 1 = collapsed - $isCollapsed = (0x1000 & self::_GetInt2d($recordData, 8)) >> 12; - - // offset: 10; size: 2; not used - - for ($i = $fc; $i <= $lc; ++$i) { - if ($lc == 255 || $lc == 256) { - $this->_phpSheet->getDefaultColumnDimension()->setWidth($width / 256); - break; - } - $this->_phpSheet->getColumnDimensionByColumn($i)->setWidth($width / 256); - $this->_phpSheet->getColumnDimensionByColumn($i)->setVisible(!$isHidden); - $this->_phpSheet->getColumnDimensionByColumn($i)->setOutlineLevel($level); - $this->_phpSheet->getColumnDimensionByColumn($i)->setCollapsed($isCollapsed); - $this->_phpSheet->getColumnDimensionByColumn($i)->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * ROW - * - * This record contains the properties of a single row in a - * sheet. Rows and cells in a sheet are divided into blocks - * of 32 rows. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readRow() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; index of this row - $r = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column of the first cell which is described by a cell record - - // offset: 4; size: 2; index to column of the last cell which is described by a cell record, increased by 1 - - // offset: 6; size: 2; - - // bit: 14-0; mask: 0x7FFF; height of the row, in twips = 1/20 of a point - $height = (0x7FFF & self::_GetInt2d($recordData, 6)) >> 0; - - // bit: 15: mask: 0x8000; 0 = row has custom height; 1= row has default height - $useDefaultHeight = (0x8000 & self::_GetInt2d($recordData, 6)) >> 15; - - if (!$useDefaultHeight) { - $this->_phpSheet->getRowDimension($r + 1)->setRowHeight($height / 20); - } - - // offset: 8; size: 2; not used - - // offset: 10; size: 2; not used in BIFF5-BIFF8 - - // offset: 12; size: 4; option flags and default row formatting - - // bit: 2-0: mask: 0x00000007; outline level of the row - $level = (0x00000007 & self::_GetInt4d($recordData, 12)) >> 0; - $this->_phpSheet->getRowDimension($r + 1)->setOutlineLevel($level); - - // bit: 4; mask: 0x00000010; 1 = outline group start or ends here... and is collapsed - $isCollapsed = (0x00000010 & self::_GetInt4d($recordData, 12)) >> 4; - $this->_phpSheet->getRowDimension($r + 1)->setCollapsed($isCollapsed); - - // bit: 5; mask: 0x00000020; 1 = row is hidden - $isHidden = (0x00000020 & self::_GetInt4d($recordData, 12)) >> 5; - $this->_phpSheet->getRowDimension($r + 1)->setVisible(!$isHidden); - - // bit: 7; mask: 0x00000080; 1 = row has explicit format - $hasExplicitFormat = (0x00000080 & self::_GetInt4d($recordData, 12)) >> 7; - - // bit: 27-16; mask: 0x0FFF0000; only applies when hasExplicitFormat = 1; index to XF record - $xfIndex = (0x0FFF0000 & self::_GetInt4d($recordData, 12)) >> 16; - - if ($hasExplicitFormat) { - $this->_phpSheet->getRowDimension($r + 1)->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read RK record - * This record represents a cell that contains an RK value - * (encoded integer or floating-point value). If a - * floating-point value cannot be encoded to an RK value, - * a NUMBER record will be written. This record replaces the - * record INTEGER written in BIFF2. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readRk() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 4; RK value - $rknum = self::_GetInt4d($recordData, 6); - $numValue = self::_GetIEEE754($rknum); - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add style information - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // add cell - $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC); - } - } - - - /** - * Read LABELSST record - * This record represents a cell that contains a string. It - * replaces the LABEL record and RSTRING record used in - * BIFF2-BIFF5. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readLabelSst() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 4; index to SST record - $index = self::_GetInt4d($recordData, 6); - - // add cell - if (($fmtRuns = $this->_sst[$index]['fmtRuns']) && !$this->_readDataOnly) { - // then we should treat as rich text - $richText = new PHPExcel_RichText(); - $charPos = 0; - $sstCount = count($this->_sst[$index]['fmtRuns']); - for ($i = 0; $i <= $sstCount; ++$i) { - if (isset($fmtRuns[$i])) { - $text = PHPExcel_Shared_String::Substring($this->_sst[$index]['value'], $charPos, $fmtRuns[$i]['charPos'] - $charPos); - $charPos = $fmtRuns[$i]['charPos']; - } else { - $text = PHPExcel_Shared_String::Substring($this->_sst[$index]['value'], $charPos, PHPExcel_Shared_String::CountCharacters($this->_sst[$index]['value'])); - } - - if (PHPExcel_Shared_String::CountCharacters($text) > 0) { - if ($i == 0) { // first text run, no style - $richText->createText($text); - } else { - $textRun = $richText->createTextRun($text); - if (isset($fmtRuns[$i - 1])) { - if ($fmtRuns[$i - 1]['fontIndex'] < 4) { - $fontIndex = $fmtRuns[$i - 1]['fontIndex']; - } else { - // this has to do with that index 4 is omitted in all BIFF versions for some strange reason - // check the OpenOffice documentation of the FONT record - $fontIndex = $fmtRuns[$i - 1]['fontIndex'] - 1; - } - $textRun->setFont(clone $this->_objFonts[$fontIndex]); - } - } - } - } - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - $cell->setValueExplicit($richText, PHPExcel_Cell_DataType::TYPE_STRING); - } else { - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - $cell->setValueExplicit($this->_sst[$index]['value'], PHPExcel_Cell_DataType::TYPE_STRING); - } - - if (!$this->_readDataOnly) { - // add style information - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read MULRK record - * This record represents a cell range containing RK value - * cells. All cells are located in the same row. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readMulRk() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to first column - $colFirst = self::_GetInt2d($recordData, 2); - - // offset: var; size: 2; index to last column - $colLast = self::_GetInt2d($recordData, $length - 2); - $columns = $colLast - $colFirst + 1; - - // offset within record data - $offset = 4; - - for ($i = 0; $i < $columns; ++$i) { - $columnString = PHPExcel_Cell::stringFromColumnIndex($colFirst + $i); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - - // offset: var; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, $offset); - - // offset: var; size: 4; RK value - $numValue = self::_GetIEEE754(self::_GetInt4d($recordData, $offset + 2)); - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // add cell value - $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC); - } - - $offset += 6; - } - } - - - /** - * Read NUMBER record - * This record represents a cell that contains a - * floating-point value. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readNumber() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - $numValue = self::_extractNumber(substr($recordData, 6, 8)); - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // add cell value - $cell->setValueExplicit($numValue, PHPExcel_Cell_DataType::TYPE_NUMERIC); - } - } - - - /** - * Read FORMULA record + perhaps a following STRING record if formula result is a string - * This record contains the token array and the result of a - * formula cell. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readFormula() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; row index - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; col index - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // offset: 20: size: variable; formula structure - $formulaStructure = substr($recordData, 20); - - // offset: 14: size: 2; option flags, recalculate always, recalculate on open etc. - $options = self::_GetInt2d($recordData, 14); - - // bit: 0; mask: 0x0001; 1 = recalculate always - // bit: 1; mask: 0x0002; 1 = calculate on open - // bit: 2; mask: 0x0008; 1 = part of a shared formula - $isPartOfSharedFormula = (bool) (0x0008 & $options); - - // WARNING: - // We can apparently not rely on $isPartOfSharedFormula. Even when $isPartOfSharedFormula = true - // the formula data may be ordinary formula data, therefore we need to check - // explicitly for the tExp token (0x01) - $isPartOfSharedFormula = $isPartOfSharedFormula && ord($formulaStructure{2}) == 0x01; - - if ($isPartOfSharedFormula) { - // part of shared formula which means there will be a formula with a tExp token and nothing else - // get the base cell, grab tExp token - $baseRow = self::_GetInt2d($formulaStructure, 3); - $baseCol = self::_GetInt2d($formulaStructure, 5); - $this->_baseCell = PHPExcel_Cell::stringFromColumnIndex($baseCol). ($baseRow + 1); - } - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - - if ($isPartOfSharedFormula) { - // formula is added to this cell after the sheet has been read - $this->_sharedFormulaParts[$columnString . ($row + 1)] = $this->_baseCell; - } - - // offset: 16: size: 4; not used - - // offset: 4; size: 2; XF index - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 8; result of the formula - if ( (ord($recordData{6}) == 0) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255) ) { - - // String formula. Result follows in appended STRING record - $dataType = PHPExcel_Cell_DataType::TYPE_STRING; - - // read possible SHAREDFMLA record - $code = self::_GetInt2d($this->_data, $this->_pos); - if ($code == self::XLS_Type_SHAREDFMLA) { - $this->_readSharedFmla(); - } - - // read STRING record - $value = $this->_readString(); - - } elseif ((ord($recordData{6}) == 1) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255)) { - - // Boolean formula. Result is in +2; 0=false, 1=true - $dataType = PHPExcel_Cell_DataType::TYPE_BOOL; - $value = (bool) ord($recordData{8}); - - } elseif ((ord($recordData{6}) == 2) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255)) { - - // Error formula. Error code is in +2 - $dataType = PHPExcel_Cell_DataType::TYPE_ERROR; - $value = self::_mapErrorCode(ord($recordData{8})); - - } elseif ((ord($recordData{6}) == 3) - && (ord($recordData{12}) == 255) - && (ord($recordData{13}) == 255)) { - - // Formula result is a null string - $dataType = PHPExcel_Cell_DataType::TYPE_NULL; - $value = ''; - - } else { - - // forumla result is a number, first 14 bytes like _NUMBER record - $dataType = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $value = self::_extractNumber(substr($recordData, 6, 8)); - - } - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - - // store the formula - if (!$isPartOfSharedFormula) { - // not part of shared formula - // add cell value. If we can read formula, populate with formula, otherwise just used cached value - try { - if ($this->_version != self::XLS_BIFF8) { - throw new PHPExcel_Reader_Exception('Not BIFF8. Can only read BIFF8 formulas'); - } - $formula = $this->_getFormulaFromStructure($formulaStructure); // get formula in human language - $cell->setValueExplicit('=' . $formula, PHPExcel_Cell_DataType::TYPE_FORMULA); - - } catch (PHPExcel_Exception $e) { - $cell->setValueExplicit($value, $dataType); - } - } else { - if ($this->_version == self::XLS_BIFF8) { - // do nothing at this point, formula id added later in the code - } else { - $cell->setValueExplicit($value, $dataType); - } - } - - // store the cached calculated value - $cell->setCalculatedValue($value); - } - } - - - /** - * Read a SHAREDFMLA record. This function just stores the binary shared formula in the reader, - * which usually contains relative references. - * These will be used to construct the formula in each shared formula part after the sheet is read. - */ - private function _readSharedFmla() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0, size: 6; cell range address of the area used by the shared formula, not used for anything - $cellRange = substr($recordData, 0, 6); - $cellRange = $this->_readBIFF5CellRangeAddressFixed($cellRange); // note: even BIFF8 uses BIFF5 syntax - - // offset: 6, size: 1; not used - - // offset: 7, size: 1; number of existing FORMULA records for this shared formula - $no = ord($recordData{7}); - - // offset: 8, size: var; Binary token array of the shared formula - $formula = substr($recordData, 8); - - // at this point we only store the shared formula for later use - $this->_sharedFormulas[$this->_baseCell] = $formula; - - } - - - /** - * Read a STRING record from current stream position and advance the stream pointer to next record - * This record is used for storing result from FORMULA record when it is a string, and - * it occurs directly after the FORMULA record - * - * @return string The string contents as UTF-8 - */ - private function _readString() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong($recordData); - $value = $string['value']; - } else { - $string = $this->_readByteStringLong($recordData); - $value = $string['value']; - } - - return $value; - } - - - /** - * Read BOOLERR record - * This record represents a Boolean value or error value - * cell. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readBoolErr() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; row index - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; column index - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; index to XF record - $xfIndex = self::_GetInt2d($recordData, 4); - - // offset: 6; size: 1; the boolean value or error value - $boolErr = ord($recordData{6}); - - // offset: 7; size: 1; 0=boolean; 1=error - $isError = ord($recordData{7}); - - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - switch ($isError) { - case 0: // boolean - $value = (bool) $boolErr; - - // add cell value - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_BOOL); - break; - - case 1: // error type - $value = self::_mapErrorCode($boolErr); - - // add cell value - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_ERROR); - break; - } - - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read MULBLANK record - * This record represents a cell range of empty cells. All - * cells are located in the same row - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readMulBlank() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to first column - $fc = self::_GetInt2d($recordData, 2); - - // offset: 4; size: 2 x nc; list of indexes to XF records - // add style information - if (!$this->_readDataOnly) { - for ($i = 0; $i < $length / 2 - 3; ++$i) { - $columnString = PHPExcel_Cell::stringFromColumnIndex($fc + $i); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - $xfIndex = self::_GetInt2d($recordData, 4 + 2 * $i); - $this->_phpSheet->getCell($columnString . ($row + 1))->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - // offset: 6; size 2; index to last column (not needed) - } - - - /** - * Read LABEL record - * This record represents a cell that contains a string. In - * BIFF8 it is usually replaced by the LABELSST record. - * Excel still uses this record, if it copies unformatted - * text cells to the clipboard. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readLabel() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; index to row - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to column - $column = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; XF index - $xfIndex = self::_GetInt2d($recordData, 4); - - // add cell value - // todo: what if string is very long? continue record - if ($this->_version == self::XLS_BIFF8) { - $string = self::_readUnicodeStringLong(substr($recordData, 6)); - $value = $string['value']; - } else { - $string = $this->_readByteStringLong(substr($recordData, 6)); - $value = $string['value']; - } - $cell = $this->_phpSheet->getCell($columnString . ($row + 1)); - $cell->setValueExplicit($value, PHPExcel_Cell_DataType::TYPE_STRING); - - if (!$this->_readDataOnly) { - // add cell style - $cell->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - } - - - /** - * Read BLANK record - */ - private function _readBlank() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; row index - $row = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; col index - $col = self::_GetInt2d($recordData, 2); - $columnString = PHPExcel_Cell::stringFromColumnIndex($col); - - // Read cell? - if (($this->getReadFilter() !== NULL) && $this->getReadFilter()->readCell($columnString, $row + 1, $this->_phpSheet->getTitle()) ) { - // offset: 4; size: 2; XF index - $xfIndex = self::_GetInt2d($recordData, 4); - - // add style information - if (!$this->_readDataOnly) { - $this->_phpSheet->getCell($columnString . ($row + 1))->setXfIndex($this->_mapCellXfIndex[$xfIndex]); - } - } - - } - - - /** - * Read MSODRAWING record - */ - private function _readMsoDrawing() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - $recordData = $splicedRecordData['recordData']; - - $this->_drawingData .= $recordData; - } - - - /** - * Read OBJ record - */ - private function _readObj() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly || $this->_version != self::XLS_BIFF8) { - return; - } - - // recordData consists of an array of subrecords looking like this: - // ft: 2 bytes; ftCmo type (0x15) - // cb: 2 bytes; size in bytes of ftCmo data - // ot: 2 bytes; Object Type - // id: 2 bytes; Object id number - // grbit: 2 bytes; Option Flags - // data: var; subrecord data - - // for now, we are just interested in the second subrecord containing the object type - $ftCmoType = self::_GetInt2d($recordData, 0); - $cbCmoSize = self::_GetInt2d($recordData, 2); - $otObjType = self::_GetInt2d($recordData, 4); - $idObjID = self::_GetInt2d($recordData, 6); - $grbitOpts = self::_GetInt2d($recordData, 6); - - $this->_objs[] = array( - 'ftCmoType' => $ftCmoType, - 'cbCmoSize' => $cbCmoSize, - 'otObjType' => $otObjType, - 'idObjID' => $idObjID, - 'grbitOpts' => $grbitOpts - ); - $this->textObjRef = $idObjID; - -// echo '<b>_readObj()</b><br />'; -// var_dump(end($this->_objs)); -// echo '<br />'; - } - - - /** - * Read WINDOW2 record - */ - private function _readWindow2() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; option flags - $options = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; index to first visible row - $firstVisibleRow = self::_GetInt2d($recordData, 2); - - // offset: 4; size: 2; index to first visible colum - $firstVisibleColumn = self::_GetInt2d($recordData, 4); - if ($this->_version === self::XLS_BIFF8) { - // offset: 8; size: 2; not used - // offset: 10; size: 2; cached magnification factor in page break preview (in percent); 0 = Default (60%) - // offset: 12; size: 2; cached magnification factor in normal view (in percent); 0 = Default (100%) - // offset: 14; size: 4; not used - $zoomscaleInPageBreakPreview = self::_GetInt2d($recordData, 10); - if ($zoomscaleInPageBreakPreview === 0) $zoomscaleInPageBreakPreview = 60; - $zoomscaleInNormalView = self::_GetInt2d($recordData, 12); - if ($zoomscaleInNormalView === 0) $zoomscaleInNormalView = 100; - } - - // bit: 1; mask: 0x0002; 0 = do not show gridlines, 1 = show gridlines - $showGridlines = (bool) ((0x0002 & $options) >> 1); - $this->_phpSheet->setShowGridlines($showGridlines); - - // bit: 2; mask: 0x0004; 0 = do not show headers, 1 = show headers - $showRowColHeaders = (bool) ((0x0004 & $options) >> 2); - $this->_phpSheet->setShowRowColHeaders($showRowColHeaders); - - // bit: 3; mask: 0x0008; 0 = panes are not frozen, 1 = panes are frozen - $this->_frozen = (bool) ((0x0008 & $options) >> 3); - - // bit: 6; mask: 0x0040; 0 = columns from left to right, 1 = columns from right to left - $this->_phpSheet->setRightToLeft((bool)((0x0040 & $options) >> 6)); - - // bit: 10; mask: 0x0400; 0 = sheet not active, 1 = sheet active - $isActive = (bool) ((0x0400 & $options) >> 10); - if ($isActive) { - $this->_phpExcel->setActiveSheetIndex($this->_phpExcel->getIndex($this->_phpSheet)); - } - - // bit: 11; mask: 0x0800; 0 = normal view, 1 = page break view - $isPageBreakPreview = (bool) ((0x0800 & $options) >> 11); - - //FIXME: set $firstVisibleRow and $firstVisibleColumn - - if ($this->_phpSheet->getSheetView()->getView() !== PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT) { - //NOTE: this setting is inferior to page layout view(Excel2007-) - $view = $isPageBreakPreview? PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_BREAK_PREVIEW : - PHPExcel_Worksheet_SheetView::SHEETVIEW_NORMAL; - $this->_phpSheet->getSheetView()->setView($view); - if ($this->_version === self::XLS_BIFF8) { - $zoomScale = $isPageBreakPreview? $zoomscaleInPageBreakPreview : $zoomscaleInNormalView; - $this->_phpSheet->getSheetView()->setZoomScale($zoomScale); - $this->_phpSheet->getSheetView()->setZoomScaleNormal($zoomscaleInNormalView); - } - } - } - - /** - * Read PLV Record(Created by Excel2007 or upper) - */ - private function _readPageLayoutView(){ - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - //var_dump(unpack("vrt/vgrbitFrt/V2reserved/vwScalePLV/vgrbit", $recordData)); - - // offset: 0; size: 2; rt - //->ignore - $rt = self::_GetInt2d($recordData, 0); - // offset: 2; size: 2; grbitfr - //->ignore - $grbitFrt = self::_GetInt2d($recordData, 2); - // offset: 4; size: 8; reserved - //->ignore - - // offset: 12; size 2; zoom scale - $wScalePLV = self::_GetInt2d($recordData, 12); - // offset: 14; size 2; grbit - $grbit = self::_GetInt2d($recordData, 14); - - // decomprise grbit - $fPageLayoutView = $grbit & 0x01; - $fRulerVisible = ($grbit >> 1) & 0x01; //no support - $fWhitespaceHidden = ($grbit >> 3) & 0x01; //no support - - if ($fPageLayoutView === 1) { - $this->_phpSheet->getSheetView()->setView(PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT); - $this->_phpSheet->getSheetView()->setZoomScale($wScalePLV); //set by Excel2007 only if SHEETVIEW_PAGE_LAYOUT - } - //otherwise, we cannot know whether SHEETVIEW_PAGE_LAYOUT or SHEETVIEW_PAGE_BREAK_PREVIEW. - } - - /** - * Read SCL record - */ - private function _readScl() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // offset: 0; size: 2; numerator of the view magnification - $numerator = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; numerator of the view magnification - $denumerator = self::_GetInt2d($recordData, 2); - - // set the zoom scale (in percent) - $this->_phpSheet->getSheetView()->setZoomScale($numerator * 100 / $denumerator); - } - - - /** - * Read PANE record - */ - private function _readPane() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; position of vertical split - $px = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; position of horizontal split - $py = self::_GetInt2d($recordData, 2); - - if ($this->_frozen) { - // frozen panes - $this->_phpSheet->freezePane(PHPExcel_Cell::stringFromColumnIndex($px) . ($py + 1)); - } else { - // unfrozen panes; split windows; not supported by PHPExcel core - } - } - } - - - /** - * Read SELECTION record. There is one such record for each pane in the sheet. - */ - private function _readSelection() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 1; pane identifier - $paneId = ord($recordData{0}); - - // offset: 1; size: 2; index to row of the active cell - $r = self::_GetInt2d($recordData, 1); - - // offset: 3; size: 2; index to column of the active cell - $c = self::_GetInt2d($recordData, 3); - - // offset: 5; size: 2; index into the following cell range list to the - // entry that contains the active cell - $index = self::_GetInt2d($recordData, 5); - - // offset: 7; size: var; cell range address list containing all selected cell ranges - $data = substr($recordData, 7); - $cellRangeAddressList = $this->_readBIFF5CellRangeAddressList($data); // note: also BIFF8 uses BIFF5 syntax - - $selectedCells = $cellRangeAddressList['cellRangeAddresses'][0]; - - // first row '1' + last row '16384' indicates that full column is selected (apparently also in BIFF8!) - if (preg_match('/^([A-Z]+1\:[A-Z]+)16384$/', $selectedCells)) { - $selectedCells = preg_replace('/^([A-Z]+1\:[A-Z]+)16384$/', '${1}1048576', $selectedCells); - } - - // first row '1' + last row '65536' indicates that full column is selected - if (preg_match('/^([A-Z]+1\:[A-Z]+)65536$/', $selectedCells)) { - $selectedCells = preg_replace('/^([A-Z]+1\:[A-Z]+)65536$/', '${1}1048576', $selectedCells); - } - - // first column 'A' + last column 'IV' indicates that full row is selected - if (preg_match('/^(A[0-9]+\:)IV([0-9]+)$/', $selectedCells)) { - $selectedCells = preg_replace('/^(A[0-9]+\:)IV([0-9]+)$/', '${1}XFD${2}', $selectedCells); - } - - $this->_phpSheet->setSelectedCells($selectedCells); - } - } - - - private function _includeCellRangeFiltered($cellRangeAddress) - { - $includeCellRange = true; - if ($this->getReadFilter() !== NULL) { - $includeCellRange = false; - $rangeBoundaries = PHPExcel_Cell::getRangeBoundaries($cellRangeAddress); - $rangeBoundaries[1][0]++; - for ($row = $rangeBoundaries[0][1]; $row <= $rangeBoundaries[1][1]; $row++) { - for ($column = $rangeBoundaries[0][0]; $column != $rangeBoundaries[1][0]; $column++) { - if ($this->getReadFilter()->readCell($column, $row, $this->_phpSheet->getTitle())) { - $includeCellRange = true; - break 2; - } - } - } - } - return $includeCellRange; - } - - - /** - * MERGEDCELLS - * - * This record contains the addresses of merged cell ranges - * in the current sheet. - * - * -- "OpenOffice.org's Documentation of the Microsoft - * Excel File Format" - */ - private function _readMergedCells() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_version == self::XLS_BIFF8 && !$this->_readDataOnly) { - $cellRangeAddressList = $this->_readBIFF8CellRangeAddressList($recordData); - foreach ($cellRangeAddressList['cellRangeAddresses'] as $cellRangeAddress) { - if ((strpos($cellRangeAddress,':') !== FALSE) && - ($this->_includeCellRangeFiltered($cellRangeAddress))) { - $this->_phpSheet->mergeCells($cellRangeAddress); - } - } - } - } - - - /** - * Read HYPERLINK record - */ - private function _readHyperLink() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer forward to next record - $this->_pos += 4 + $length; - - if (!$this->_readDataOnly) { - // offset: 0; size: 8; cell range address of all cells containing this hyperlink - try { - $cellRange = $this->_readBIFF8CellRangeAddressFixed($recordData, 0, 8); - } catch (PHPExcel_Exception $e) { - return; - } - - // offset: 8, size: 16; GUID of StdLink - - // offset: 24, size: 4; unknown value - - // offset: 28, size: 4; option flags - - // bit: 0; mask: 0x00000001; 0 = no link or extant, 1 = file link or URL - $isFileLinkOrUrl = (0x00000001 & self::_GetInt2d($recordData, 28)) >> 0; - - // bit: 1; mask: 0x00000002; 0 = relative path, 1 = absolute path or URL - $isAbsPathOrUrl = (0x00000001 & self::_GetInt2d($recordData, 28)) >> 1; - - // bit: 2 (and 4); mask: 0x00000014; 0 = no description - $hasDesc = (0x00000014 & self::_GetInt2d($recordData, 28)) >> 2; - - // bit: 3; mask: 0x00000008; 0 = no text, 1 = has text - $hasText = (0x00000008 & self::_GetInt2d($recordData, 28)) >> 3; - - // bit: 7; mask: 0x00000080; 0 = no target frame, 1 = has target frame - $hasFrame = (0x00000080 & self::_GetInt2d($recordData, 28)) >> 7; - - // bit: 8; mask: 0x00000100; 0 = file link or URL, 1 = UNC path (inc. server name) - $isUNC = (0x00000100 & self::_GetInt2d($recordData, 28)) >> 8; - - // offset within record data - $offset = 32; - - if ($hasDesc) { - // offset: 32; size: var; character count of description text - $dl = self::_GetInt4d($recordData, 32); - // offset: 36; size: var; character array of description text, no Unicode string header, always 16-bit characters, zero terminated - $desc = self::_encodeUTF16(substr($recordData, 36, 2 * ($dl - 1)), false); - $offset += 4 + 2 * $dl; - } - if ($hasFrame) { - $fl = self::_GetInt4d($recordData, $offset); - $offset += 4 + 2 * $fl; - } - - // detect type of hyperlink (there are 4 types) - $hyperlinkType = null; - - if ($isUNC) { - $hyperlinkType = 'UNC'; - } else if (!$isFileLinkOrUrl) { - $hyperlinkType = 'workbook'; - } else if (ord($recordData{$offset}) == 0x03) { - $hyperlinkType = 'local'; - } else if (ord($recordData{$offset}) == 0xE0) { - $hyperlinkType = 'URL'; - } - - switch ($hyperlinkType) { - case 'URL': - // section 5.58.2: Hyperlink containing a URL - // e.g. http://example.org/index.php - - // offset: var; size: 16; GUID of URL Moniker - $offset += 16; - // offset: var; size: 4; size (in bytes) of character array of the URL including trailing zero word - $us = self::_GetInt4d($recordData, $offset); - $offset += 4; - // offset: var; size: $us; character array of the URL, no Unicode string header, always 16-bit characters, zero-terminated - $url = self::_encodeUTF16(substr($recordData, $offset, $us - 2), false); - $nullOffset = strpos($url, 0x00); - if ($nullOffset) - $url = substr($url,0,$nullOffset); - $url .= $hasText ? '#' : ''; - $offset += $us; - break; - - case 'local': - // section 5.58.3: Hyperlink to local file - // examples: - // mydoc.txt - // ../../somedoc.xls#Sheet!A1 - - // offset: var; size: 16; GUI of File Moniker - $offset += 16; - - // offset: var; size: 2; directory up-level count. - $upLevelCount = self::_GetInt2d($recordData, $offset); - $offset += 2; - - // offset: var; size: 4; character count of the shortened file path and name, including trailing zero word - $sl = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // offset: var; size: sl; character array of the shortened file path and name in 8.3-DOS-format (compressed Unicode string) - $shortenedFilePath = substr($recordData, $offset, $sl); - $shortenedFilePath = self::_encodeUTF16($shortenedFilePath, true); - $shortenedFilePath = substr($shortenedFilePath, 0, -1); // remove trailing zero - - $offset += $sl; - - // offset: var; size: 24; unknown sequence - $offset += 24; - - // extended file path - // offset: var; size: 4; size of the following file link field including string lenth mark - $sz = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // only present if $sz > 0 - if ($sz > 0) { - // offset: var; size: 4; size of the character array of the extended file path and name - $xl = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // offset: var; size 2; unknown - $offset += 2; - - // offset: var; size $xl; character array of the extended file path and name. - $extendedFilePath = substr($recordData, $offset, $xl); - $extendedFilePath = self::_encodeUTF16($extendedFilePath, false); - $offset += $xl; - } - - // construct the path - $url = str_repeat('..\\', $upLevelCount); - $url .= ($sz > 0) ? - $extendedFilePath : $shortenedFilePath; // use extended path if available - $url .= $hasText ? '#' : ''; - - break; - - - case 'UNC': - // section 5.58.4: Hyperlink to a File with UNC (Universal Naming Convention) Path - // todo: implement - return; - - case 'workbook': - // section 5.58.5: Hyperlink to the Current Workbook - // e.g. Sheet2!B1:C2, stored in text mark field - $url = 'sheet://'; - break; - - default: - return; - - } - - if ($hasText) { - // offset: var; size: 4; character count of text mark including trailing zero word - $tl = self::_GetInt4d($recordData, $offset); - $offset += 4; - // offset: var; size: var; character array of the text mark without the # sign, no Unicode header, always 16-bit characters, zero-terminated - $text = self::_encodeUTF16(substr($recordData, $offset, 2 * ($tl - 1)), false); - $url .= $text; - } - - // apply the hyperlink to all the relevant cells - foreach (PHPExcel_Cell::extractAllCellReferencesInRange($cellRange) as $coordinate) { - $this->_phpSheet->getCell($coordinate)->getHyperLink()->setUrl($url); - } - } - } - - - /** - * Read DATAVALIDATIONS record - */ - private function _readDataValidations() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer forward to next record - $this->_pos += 4 + $length; - } - - - /** - * Read DATAVALIDATION record - */ - private function _readDataValidation() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer forward to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 4; Options - $options = self::_GetInt4d($recordData, 0); - - // bit: 0-3; mask: 0x0000000F; type - $type = (0x0000000F & $options) >> 0; - switch ($type) { - case 0x00: $type = PHPExcel_Cell_DataValidation::TYPE_NONE; break; - case 0x01: $type = PHPExcel_Cell_DataValidation::TYPE_WHOLE; break; - case 0x02: $type = PHPExcel_Cell_DataValidation::TYPE_DECIMAL; break; - case 0x03: $type = PHPExcel_Cell_DataValidation::TYPE_LIST; break; - case 0x04: $type = PHPExcel_Cell_DataValidation::TYPE_DATE; break; - case 0x05: $type = PHPExcel_Cell_DataValidation::TYPE_TIME; break; - case 0x06: $type = PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH; break; - case 0x07: $type = PHPExcel_Cell_DataValidation::TYPE_CUSTOM; break; - } - - // bit: 4-6; mask: 0x00000070; error type - $errorStyle = (0x00000070 & $options) >> 4; - switch ($errorStyle) { - case 0x00: $errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP; break; - case 0x01: $errorStyle = PHPExcel_Cell_DataValidation::STYLE_WARNING; break; - case 0x02: $errorStyle = PHPExcel_Cell_DataValidation::STYLE_INFORMATION; break; - } - - // bit: 7; mask: 0x00000080; 1= formula is explicit (only applies to list) - // I have only seen cases where this is 1 - $explicitFormula = (0x00000080 & $options) >> 7; - - // bit: 8; mask: 0x00000100; 1= empty cells allowed - $allowBlank = (0x00000100 & $options) >> 8; - - // bit: 9; mask: 0x00000200; 1= suppress drop down arrow in list type validity - $suppressDropDown = (0x00000200 & $options) >> 9; - - // bit: 18; mask: 0x00040000; 1= show prompt box if cell selected - $showInputMessage = (0x00040000 & $options) >> 18; - - // bit: 19; mask: 0x00080000; 1= show error box if invalid values entered - $showErrorMessage = (0x00080000 & $options) >> 19; - - // bit: 20-23; mask: 0x00F00000; condition operator - $operator = (0x00F00000 & $options) >> 20; - switch ($operator) { - case 0x00: $operator = PHPExcel_Cell_DataValidation::OPERATOR_BETWEEN ; break; - case 0x01: $operator = PHPExcel_Cell_DataValidation::OPERATOR_NOTBETWEEN ; break; - case 0x02: $operator = PHPExcel_Cell_DataValidation::OPERATOR_EQUAL ; break; - case 0x03: $operator = PHPExcel_Cell_DataValidation::OPERATOR_NOTEQUAL ; break; - case 0x04: $operator = PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHAN ; break; - case 0x05: $operator = PHPExcel_Cell_DataValidation::OPERATOR_LESSTHAN ; break; - case 0x06: $operator = PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHANOREQUAL; break; - case 0x07: $operator = PHPExcel_Cell_DataValidation::OPERATOR_LESSTHANOREQUAL ; break; - } - - // offset: 4; size: var; title of the prompt box - $offset = 4; - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $promptTitle = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: var; title of the error box - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $errorTitle = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: var; text of the prompt box - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $prompt = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: var; text of the error box - $string = self::_readUnicodeStringLong(substr($recordData, $offset)); - $error = $string['value'] !== chr(0) ? - $string['value'] : ''; - $offset += $string['size']; - - // offset: var; size: 2; size of the formula data for the first condition - $sz1 = self::_GetInt2d($recordData, $offset); - $offset += 2; - - // offset: var; size: 2; not used - $offset += 2; - - // offset: var; size: $sz1; formula data for first condition (without size field) - $formula1 = substr($recordData, $offset, $sz1); - $formula1 = pack('v', $sz1) . $formula1; // prepend the length - try { - $formula1 = $this->_getFormulaFromStructure($formula1); - - // in list type validity, null characters are used as item separators - if ($type == PHPExcel_Cell_DataValidation::TYPE_LIST) { - $formula1 = str_replace(chr(0), ',', $formula1); - } - } catch (PHPExcel_Exception $e) { - return; - } - $offset += $sz1; - - // offset: var; size: 2; size of the formula data for the first condition - $sz2 = self::_GetInt2d($recordData, $offset); - $offset += 2; - - // offset: var; size: 2; not used - $offset += 2; - - // offset: var; size: $sz2; formula data for second condition (without size field) - $formula2 = substr($recordData, $offset, $sz2); - $formula2 = pack('v', $sz2) . $formula2; // prepend the length - try { - $formula2 = $this->_getFormulaFromStructure($formula2); - } catch (PHPExcel_Exception $e) { - return; - } - $offset += $sz2; - - // offset: var; size: var; cell range address list with - $cellRangeAddressList = $this->_readBIFF8CellRangeAddressList(substr($recordData, $offset)); - $cellRangeAddresses = $cellRangeAddressList['cellRangeAddresses']; - - foreach ($cellRangeAddresses as $cellRange) { - $stRange = $this->_phpSheet->shrinkRangeToFit($cellRange); - $stRange = PHPExcel_Cell::extractAllCellReferencesInRange($stRange); - foreach ($stRange as $coordinate) { - $objValidation = $this->_phpSheet->getCell($coordinate)->getDataValidation(); - $objValidation->setType($type); - $objValidation->setErrorStyle($errorStyle); - $objValidation->setAllowBlank((bool)$allowBlank); - $objValidation->setShowInputMessage((bool)$showInputMessage); - $objValidation->setShowErrorMessage((bool)$showErrorMessage); - $objValidation->setShowDropDown(!$suppressDropDown); - $objValidation->setOperator($operator); - $objValidation->setErrorTitle($errorTitle); - $objValidation->setError($error); - $objValidation->setPromptTitle($promptTitle); - $objValidation->setPrompt($prompt); - $objValidation->setFormula1($formula1); - $objValidation->setFormula2($formula2); - } - } - - } - - - /** - * Read SHEETLAYOUT record. Stores sheet tab color information. - */ - private function _readSheetLayout() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // local pointer in record data - $offset = 0; - - if (!$this->_readDataOnly) { - // offset: 0; size: 2; repeated record identifier 0x0862 - - // offset: 2; size: 10; not used - - // offset: 12; size: 4; size of record data - // Excel 2003 uses size of 0x14 (documented), Excel 2007 uses size of 0x28 (not documented?) - $sz = self::_GetInt4d($recordData, 12); - - switch ($sz) { - case 0x14: - // offset: 16; size: 2; color index for sheet tab - $colorIndex = self::_GetInt2d($recordData, 16); - $color = self::_readColor($colorIndex,$this->_palette,$this->_version); - $this->_phpSheet->getTabColor()->setRGB($color['rgb']); - break; - - case 0x28: - // TODO: Investigate structure for .xls SHEETLAYOUT record as saved by MS Office Excel 2007 - return; - break; - } - } - } - - - /** - * Read SHEETPROTECTION record (FEATHEADR) - */ - private function _readSheetProtection() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - if ($this->_readDataOnly) { - return; - } - - // offset: 0; size: 2; repeated record header - - // offset: 2; size: 2; FRT cell reference flag (=0 currently) - - // offset: 4; size: 8; Currently not used and set to 0 - - // offset: 12; size: 2; Shared feature type index (2=Enhanced Protetion, 4=SmartTag) - $isf = self::_GetInt2d($recordData, 12); - if ($isf != 2) { - return; - } - - // offset: 14; size: 1; =1 since this is a feat header - - // offset: 15; size: 4; size of rgbHdrSData - - // rgbHdrSData, assume "Enhanced Protection" - // offset: 19; size: 2; option flags - $options = self::_GetInt2d($recordData, 19); - - // bit: 0; mask 0x0001; 1 = user may edit objects, 0 = users must not edit objects - $bool = (0x0001 & $options) >> 0; - $this->_phpSheet->getProtection()->setObjects(!$bool); - - // bit: 1; mask 0x0002; edit scenarios - $bool = (0x0002 & $options) >> 1; - $this->_phpSheet->getProtection()->setScenarios(!$bool); - - // bit: 2; mask 0x0004; format cells - $bool = (0x0004 & $options) >> 2; - $this->_phpSheet->getProtection()->setFormatCells(!$bool); - - // bit: 3; mask 0x0008; format columns - $bool = (0x0008 & $options) >> 3; - $this->_phpSheet->getProtection()->setFormatColumns(!$bool); - - // bit: 4; mask 0x0010; format rows - $bool = (0x0010 & $options) >> 4; - $this->_phpSheet->getProtection()->setFormatRows(!$bool); - - // bit: 5; mask 0x0020; insert columns - $bool = (0x0020 & $options) >> 5; - $this->_phpSheet->getProtection()->setInsertColumns(!$bool); - - // bit: 6; mask 0x0040; insert rows - $bool = (0x0040 & $options) >> 6; - $this->_phpSheet->getProtection()->setInsertRows(!$bool); - - // bit: 7; mask 0x0080; insert hyperlinks - $bool = (0x0080 & $options) >> 7; - $this->_phpSheet->getProtection()->setInsertHyperlinks(!$bool); - - // bit: 8; mask 0x0100; delete columns - $bool = (0x0100 & $options) >> 8; - $this->_phpSheet->getProtection()->setDeleteColumns(!$bool); - - // bit: 9; mask 0x0200; delete rows - $bool = (0x0200 & $options) >> 9; - $this->_phpSheet->getProtection()->setDeleteRows(!$bool); - - // bit: 10; mask 0x0400; select locked cells - $bool = (0x0400 & $options) >> 10; - $this->_phpSheet->getProtection()->setSelectLockedCells(!$bool); - - // bit: 11; mask 0x0800; sort cell range - $bool = (0x0800 & $options) >> 11; - $this->_phpSheet->getProtection()->setSort(!$bool); - - // bit: 12; mask 0x1000; auto filter - $bool = (0x1000 & $options) >> 12; - $this->_phpSheet->getProtection()->setAutoFilter(!$bool); - - // bit: 13; mask 0x2000; pivot tables - $bool = (0x2000 & $options) >> 13; - $this->_phpSheet->getProtection()->setPivotTables(!$bool); - - // bit: 14; mask 0x4000; select unlocked cells - $bool = (0x4000 & $options) >> 14; - $this->_phpSheet->getProtection()->setSelectUnlockedCells(!$bool); - - // offset: 21; size: 2; not used - } - - - /** - * Read RANGEPROTECTION record - * Reading of this record is based on Microsoft Office Excel 97-2000 Binary File Format Specification, - * where it is referred to as FEAT record - */ - private function _readRangeProtection() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // move stream pointer to next record - $this->_pos += 4 + $length; - - // local pointer in record data - $offset = 0; - - if (!$this->_readDataOnly) { - $offset += 12; - - // offset: 12; size: 2; shared feature type, 2 = enhanced protection, 4 = smart tag - $isf = self::_GetInt2d($recordData, 12); - if ($isf != 2) { - // we only read FEAT records of type 2 - return; - } - $offset += 2; - - $offset += 5; - - // offset: 19; size: 2; count of ref ranges this feature is on - $cref = self::_GetInt2d($recordData, 19); - $offset += 2; - - $offset += 6; - - // offset: 27; size: 8 * $cref; list of cell ranges (like in hyperlink record) - $cellRanges = array(); - for ($i = 0; $i < $cref; ++$i) { - try { - $cellRange = $this->_readBIFF8CellRangeAddressFixed(substr($recordData, 27 + 8 * $i, 8)); - } catch (PHPExcel_Exception $e) { - return; - } - $cellRanges[] = $cellRange; - $offset += 8; - } - - // offset: var; size: var; variable length of feature specific data - $rgbFeat = substr($recordData, $offset); - $offset += 4; - - // offset: var; size: 4; the encrypted password (only 16-bit although field is 32-bit) - $wPassword = self::_GetInt4d($recordData, $offset); - $offset += 4; - - // Apply range protection to sheet - if ($cellRanges) { - $this->_phpSheet->protectCells(implode(' ', $cellRanges), strtoupper(dechex($wPassword)), true); - } - } - } - - - /** - * Read IMDATA record - */ - private function _readImData() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - - // get spliced record data - $splicedRecordData = $this->_getSplicedRecordData(); - $recordData = $splicedRecordData['recordData']; - - // UNDER CONSTRUCTION - - // offset: 0; size: 2; image format - $cf = self::_GetInt2d($recordData, 0); - - // offset: 2; size: 2; environment from which the file was written - $env = self::_GetInt2d($recordData, 2); - - // offset: 4; size: 4; length of the image data - $lcb = self::_GetInt4d($recordData, 4); - - // offset: 8; size: var; image data - $iData = substr($recordData, 8); - - switch ($cf) { - case 0x09: // Windows bitmap format - // BITMAPCOREINFO - // 1. BITMAPCOREHEADER - // offset: 0; size: 4; bcSize, Specifies the number of bytes required by the structure - $bcSize = self::_GetInt4d($iData, 0); -// var_dump($bcSize); - - // offset: 4; size: 2; bcWidth, specifies the width of the bitmap, in pixels - $bcWidth = self::_GetInt2d($iData, 4); -// var_dump($bcWidth); - - // offset: 6; size: 2; bcHeight, specifies the height of the bitmap, in pixels. - $bcHeight = self::_GetInt2d($iData, 6); -// var_dump($bcHeight); - $ih = imagecreatetruecolor($bcWidth, $bcHeight); - - // offset: 8; size: 2; bcPlanes, specifies the number of planes for the target device. This value must be 1 - - // offset: 10; size: 2; bcBitCount specifies the number of bits-per-pixel. This value must be 1, 4, 8, or 24 - $bcBitCount = self::_GetInt2d($iData, 10); -// var_dump($bcBitCount); - - $rgbString = substr($iData, 12); - $rgbTriples = array(); - while (strlen($rgbString) > 0) { - $rgbTriples[] = unpack('Cb/Cg/Cr', $rgbString); - $rgbString = substr($rgbString, 3); - } - $x = 0; - $y = 0; - foreach ($rgbTriples as $i => $rgbTriple) { - $color = imagecolorallocate($ih, $rgbTriple['r'], $rgbTriple['g'], $rgbTriple['b']); - imagesetpixel($ih, $x, $bcHeight - 1 - $y, $color); - $x = ($x + 1) % $bcWidth; - $y = $y + floor(($x + 1) / $bcWidth); - } - //imagepng($ih, 'image.png'); - - $drawing = new PHPExcel_Worksheet_Drawing(); - $drawing->setPath($filename); - $drawing->setWorksheet($this->_phpSheet); - - break; - - case 0x02: // Windows metafile or Macintosh PICT format - case 0x0e: // native format - default; - break; - - } - - // _getSplicedRecordData() takes care of moving current position in data stream - } - - - /** - * Read a free CONTINUE record. Free CONTINUE record may be a camouflaged MSODRAWING record - * When MSODRAWING data on a sheet exceeds 8224 bytes, CONTINUE records are used instead. Undocumented. - * In this case, we must treat the CONTINUE record as a MSODRAWING record - */ - private function _readContinue() - { - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $recordData = $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - // check if we are reading drawing data - // this is in case a free CONTINUE record occurs in other circumstances we are unaware of - if ($this->_drawingData == '') { - // move stream pointer to next record - $this->_pos += 4 + $length; - - return; - } - - // check if record data is at least 4 bytes long, otherwise there is no chance this is MSODRAWING data - if ($length < 4) { - // move stream pointer to next record - $this->_pos += 4 + $length; - - return; - } - - // dirty check to see if CONTINUE record could be a camouflaged MSODRAWING record - // look inside CONTINUE record to see if it looks like a part of an Escher stream - // we know that Escher stream may be split at least at - // 0xF003 MsofbtSpgrContainer - // 0xF004 MsofbtSpContainer - // 0xF00D MsofbtClientTextbox - $validSplitPoints = array(0xF003, 0xF004, 0xF00D); // add identifiers if we find more - - $splitPoint = self::_GetInt2d($recordData, 2); - if (in_array($splitPoint, $validSplitPoints)) { - // get spliced record data (and move pointer to next record) - $splicedRecordData = $this->_getSplicedRecordData(); - $this->_drawingData .= $splicedRecordData['recordData']; - - return; - } - - // move stream pointer to next record - $this->_pos += 4 + $length; - - } - - - /** - * Reads a record from current position in data stream and continues reading data as long as CONTINUE - * records are found. Splices the record data pieces and returns the combined string as if record data - * is in one piece. - * Moves to next current position in data stream to start of next record different from a CONtINUE record - * - * @return array - */ - private function _getSplicedRecordData() - { - $data = ''; - $spliceOffsets = array(); - - $i = 0; - $spliceOffsets[0] = 0; - - do { - ++$i; - - // offset: 0; size: 2; identifier - $identifier = self::_GetInt2d($this->_data, $this->_pos); - // offset: 2; size: 2; length - $length = self::_GetInt2d($this->_data, $this->_pos + 2); - $data .= $this->_readRecordData($this->_data, $this->_pos + 4, $length); - - $spliceOffsets[$i] = $spliceOffsets[$i - 1] + $length; - - $this->_pos += 4 + $length; - $nextIdentifier = self::_GetInt2d($this->_data, $this->_pos); - } - while ($nextIdentifier == self::XLS_Type_CONTINUE); - - $splicedData = array( - 'recordData' => $data, - 'spliceOffsets' => $spliceOffsets, - ); - - return $splicedData; - - } - - - /** - * Convert formula structure into human readable Excel formula like 'A3+A5*5' - * - * @param string $formulaStructure The complete binary data for the formula - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string Human readable formula - */ - private function _getFormulaFromStructure($formulaStructure, $baseCell = 'A1') - { - // offset: 0; size: 2; size of the following formula data - $sz = self::_GetInt2d($formulaStructure, 0); - - // offset: 2; size: sz - $formulaData = substr($formulaStructure, 2, $sz); - - // for debug: dump the formula data - //echo '<xmp>'; - //echo 'size: ' . $sz . "\n"; - //echo 'the entire formula data: '; - //Debug::dump($formulaData); - //echo "\n----\n"; - - // offset: 2 + sz; size: variable (optional) - if (strlen($formulaStructure) > 2 + $sz) { - $additionalData = substr($formulaStructure, 2 + $sz); - - // for debug: dump the additional data - //echo 'the entire additional data: '; - //Debug::dump($additionalData); - //echo "\n----\n"; - - } else { - $additionalData = ''; - } - - return $this->_getFormulaFromData($formulaData, $additionalData, $baseCell); - } - - - /** - * Take formula data and additional data for formula and return human readable formula - * - * @param string $formulaData The binary data for the formula itself - * @param string $additionalData Additional binary data going with the formula - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string Human readable formula - */ - private function _getFormulaFromData($formulaData, $additionalData = '', $baseCell = 'A1') - { - // start parsing the formula data - $tokens = array(); - - while (strlen($formulaData) > 0 and $token = $this->_getNextToken($formulaData, $baseCell)) { - $tokens[] = $token; - $formulaData = substr($formulaData, $token['size']); - - // for debug: dump the token - //var_dump($token); - } - - $formulaString = $this->_createFormulaFromTokens($tokens, $additionalData); - - return $formulaString; - } - - - /** - * Take array of tokens together with additional data for formula and return human readable formula - * - * @param array $tokens - * @param array $additionalData Additional binary data going with the formula - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string Human readable formula - */ - private function _createFormulaFromTokens($tokens, $additionalData) - { - // empty formula? - if (empty($tokens)) { - return ''; - } - - $formulaStrings = array(); - foreach ($tokens as $token) { - // initialize spaces - $space0 = isset($space0) ? $space0 : ''; // spaces before next token, not tParen - $space1 = isset($space1) ? $space1 : ''; // carriage returns before next token, not tParen - $space2 = isset($space2) ? $space2 : ''; // spaces before opening parenthesis - $space3 = isset($space3) ? $space3 : ''; // carriage returns before opening parenthesis - $space4 = isset($space4) ? $space4 : ''; // spaces before closing parenthesis - $space5 = isset($space5) ? $space5 : ''; // carriage returns before closing parenthesis - - switch ($token['name']) { - case 'tAdd': // addition - case 'tConcat': // addition - case 'tDiv': // division - case 'tEQ': // equality - case 'tGE': // greater than or equal - case 'tGT': // greater than - case 'tIsect': // intersection - case 'tLE': // less than or equal - case 'tList': // less than or equal - case 'tLT': // less than - case 'tMul': // multiplication - case 'tNE': // multiplication - case 'tPower': // power - case 'tRange': // range - case 'tSub': // subtraction - $op2 = array_pop($formulaStrings); - $op1 = array_pop($formulaStrings); - $formulaStrings[] = "$op1$space1$space0{$token['data']}$op2"; - unset($space0, $space1); - break; - case 'tUplus': // unary plus - case 'tUminus': // unary minus - $op = array_pop($formulaStrings); - $formulaStrings[] = "$space1$space0{$token['data']}$op"; - unset($space0, $space1); - break; - case 'tPercent': // percent sign - $op = array_pop($formulaStrings); - $formulaStrings[] = "$op$space1$space0{$token['data']}"; - unset($space0, $space1); - break; - case 'tAttrVolatile': // indicates volatile function - case 'tAttrIf': - case 'tAttrSkip': - case 'tAttrChoose': - // token is only important for Excel formula evaluator - // do nothing - break; - case 'tAttrSpace': // space / carriage return - // space will be used when next token arrives, do not alter formulaString stack - switch ($token['data']['spacetype']) { - case 'type0': - $space0 = str_repeat(' ', $token['data']['spacecount']); - break; - case 'type1': - $space1 = str_repeat("\n", $token['data']['spacecount']); - break; - case 'type2': - $space2 = str_repeat(' ', $token['data']['spacecount']); - break; - case 'type3': - $space3 = str_repeat("\n", $token['data']['spacecount']); - break; - case 'type4': - $space4 = str_repeat(' ', $token['data']['spacecount']); - break; - case 'type5': - $space5 = str_repeat("\n", $token['data']['spacecount']); - break; - } - break; - case 'tAttrSum': // SUM function with one parameter - $op = array_pop($formulaStrings); - $formulaStrings[] = "{$space1}{$space0}SUM($op)"; - unset($space0, $space1); - break; - case 'tFunc': // function with fixed number of arguments - case 'tFuncV': // function with variable number of arguments - if ($token['data']['function'] != '') { - // normal function - $ops = array(); // array of operators - for ($i = 0; $i < $token['data']['args']; ++$i) { - $ops[] = array_pop($formulaStrings); - } - $ops = array_reverse($ops); - $formulaStrings[] = "$space1$space0{$token['data']['function']}(" . implode(',', $ops) . ")"; - unset($space0, $space1); - } else { - // add-in function - $ops = array(); // array of operators - for ($i = 0; $i < $token['data']['args'] - 1; ++$i) { - $ops[] = array_pop($formulaStrings); - } - $ops = array_reverse($ops); - $function = array_pop($formulaStrings); - $formulaStrings[] = "$space1$space0$function(" . implode(',', $ops) . ")"; - unset($space0, $space1); - } - break; - case 'tParen': // parenthesis - $expression = array_pop($formulaStrings); - $formulaStrings[] = "$space3$space2($expression$space5$space4)"; - unset($space2, $space3, $space4, $space5); - break; - case 'tArray': // array constant - $constantArray = self::_readBIFF8ConstantArray($additionalData); - $formulaStrings[] = $space1 . $space0 . $constantArray['value']; - $additionalData = substr($additionalData, $constantArray['size']); // bite of chunk of additional data - unset($space0, $space1); - break; - case 'tMemArea': - // bite off chunk of additional data - $cellRangeAddressList = $this->_readBIFF8CellRangeAddressList($additionalData); - $additionalData = substr($additionalData, $cellRangeAddressList['size']); - $formulaStrings[] = "$space1$space0{$token['data']}"; - unset($space0, $space1); - break; - case 'tArea': // cell range address - case 'tBool': // boolean - case 'tErr': // error code - case 'tInt': // integer - case 'tMemErr': - case 'tMemFunc': - case 'tMissArg': - case 'tName': - case 'tNameX': - case 'tNum': // number - case 'tRef': // single cell reference - case 'tRef3d': // 3d cell reference - case 'tArea3d': // 3d cell range reference - case 'tRefN': - case 'tAreaN': - case 'tStr': // string - $formulaStrings[] = "$space1$space0{$token['data']}"; - unset($space0, $space1); - break; - } - } - $formulaString = $formulaStrings[0]; - - // for debug: dump the human readable formula - //echo '----' . "\n"; - //echo 'Formula: ' . $formulaString; - - return $formulaString; - } - - - /** - * Fetch next token from binary formula data - * - * @param string Formula data - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return array - * @throws PHPExcel_Reader_Exception - */ - private function _getNextToken($formulaData, $baseCell = 'A1') - { - // offset: 0; size: 1; token id - $id = ord($formulaData[0]); // token id - $name = false; // initialize token name - - switch ($id) { - case 0x03: $name = 'tAdd'; $size = 1; $data = '+'; break; - case 0x04: $name = 'tSub'; $size = 1; $data = '-'; break; - case 0x05: $name = 'tMul'; $size = 1; $data = '*'; break; - case 0x06: $name = 'tDiv'; $size = 1; $data = '/'; break; - case 0x07: $name = 'tPower'; $size = 1; $data = '^'; break; - case 0x08: $name = 'tConcat'; $size = 1; $data = '&'; break; - case 0x09: $name = 'tLT'; $size = 1; $data = '<'; break; - case 0x0A: $name = 'tLE'; $size = 1; $data = '<='; break; - case 0x0B: $name = 'tEQ'; $size = 1; $data = '='; break; - case 0x0C: $name = 'tGE'; $size = 1; $data = '>='; break; - case 0x0D: $name = 'tGT'; $size = 1; $data = '>'; break; - case 0x0E: $name = 'tNE'; $size = 1; $data = '<>'; break; - case 0x0F: $name = 'tIsect'; $size = 1; $data = ' '; break; - case 0x10: $name = 'tList'; $size = 1; $data = ','; break; - case 0x11: $name = 'tRange'; $size = 1; $data = ':'; break; - case 0x12: $name = 'tUplus'; $size = 1; $data = '+'; break; - case 0x13: $name = 'tUminus'; $size = 1; $data = '-'; break; - case 0x14: $name = 'tPercent'; $size = 1; $data = '%'; break; - case 0x15: // parenthesis - $name = 'tParen'; - $size = 1; - $data = null; - break; - case 0x16: // missing argument - $name = 'tMissArg'; - $size = 1; - $data = ''; - break; - case 0x17: // string - $name = 'tStr'; - // offset: 1; size: var; Unicode string, 8-bit string length - $string = self::_readUnicodeStringShort(substr($formulaData, 1)); - $size = 1 + $string['size']; - $data = self::_UTF8toExcelDoubleQuoted($string['value']); - break; - case 0x19: // Special attribute - // offset: 1; size: 1; attribute type flags: - switch (ord($formulaData[1])) { - case 0x01: - $name = 'tAttrVolatile'; - $size = 4; - $data = null; - break; - case 0x02: - $name = 'tAttrIf'; - $size = 4; - $data = null; - break; - case 0x04: - $name = 'tAttrChoose'; - // offset: 2; size: 2; number of choices in the CHOOSE function ($nc, number of parameters decreased by 1) - $nc = self::_GetInt2d($formulaData, 2); - // offset: 4; size: 2 * $nc - // offset: 4 + 2 * $nc; size: 2 - $size = 2 * $nc + 6; - $data = null; - break; - case 0x08: - $name = 'tAttrSkip'; - $size = 4; - $data = null; - break; - case 0x10: - $name = 'tAttrSum'; - $size = 4; - $data = null; - break; - case 0x40: - case 0x41: - $name = 'tAttrSpace'; - $size = 4; - // offset: 2; size: 2; space type and position - switch (ord($formulaData[2])) { - case 0x00: - $spacetype = 'type0'; - break; - case 0x01: - $spacetype = 'type1'; - break; - case 0x02: - $spacetype = 'type2'; - break; - case 0x03: - $spacetype = 'type3'; - break; - case 0x04: - $spacetype = 'type4'; - break; - case 0x05: - $spacetype = 'type5'; - break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized space type in tAttrSpace token'); - break; - } - // offset: 3; size: 1; number of inserted spaces/carriage returns - $spacecount = ord($formulaData[3]); - - $data = array('spacetype' => $spacetype, 'spacecount' => $spacecount); - break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized attribute flag in tAttr token'); - break; - } - break; - case 0x1C: // error code - // offset: 1; size: 1; error code - $name = 'tErr'; - $size = 2; - $data = self::_mapErrorCode(ord($formulaData[1])); - break; - case 0x1D: // boolean - // offset: 1; size: 1; 0 = false, 1 = true; - $name = 'tBool'; - $size = 2; - $data = ord($formulaData[1]) ? 'TRUE' : 'FALSE'; - break; - case 0x1E: // integer - // offset: 1; size: 2; unsigned 16-bit integer - $name = 'tInt'; - $size = 3; - $data = self::_GetInt2d($formulaData, 1); - break; - case 0x1F: // number - // offset: 1; size: 8; - $name = 'tNum'; - $size = 9; - $data = self::_extractNumber(substr($formulaData, 1)); - $data = str_replace(',', '.', (string)$data); // in case non-English locale - break; - case 0x20: // array constant - case 0x40: - case 0x60: - // offset: 1; size: 7; not used - $name = 'tArray'; - $size = 8; - $data = null; - break; - case 0x21: // function with fixed number of arguments - case 0x41: - case 0x61: - $name = 'tFunc'; - $size = 3; - // offset: 1; size: 2; index to built-in sheet function - switch (self::_GetInt2d($formulaData, 1)) { - case 2: $function = 'ISNA'; $args = 1; break; - case 3: $function = 'ISERROR'; $args = 1; break; - case 10: $function = 'NA'; $args = 0; break; - case 15: $function = 'SIN'; $args = 1; break; - case 16: $function = 'COS'; $args = 1; break; - case 17: $function = 'TAN'; $args = 1; break; - case 18: $function = 'ATAN'; $args = 1; break; - case 19: $function = 'PI'; $args = 0; break; - case 20: $function = 'SQRT'; $args = 1; break; - case 21: $function = 'EXP'; $args = 1; break; - case 22: $function = 'LN'; $args = 1; break; - case 23: $function = 'LOG10'; $args = 1; break; - case 24: $function = 'ABS'; $args = 1; break; - case 25: $function = 'INT'; $args = 1; break; - case 26: $function = 'SIGN'; $args = 1; break; - case 27: $function = 'ROUND'; $args = 2; break; - case 30: $function = 'REPT'; $args = 2; break; - case 31: $function = 'MID'; $args = 3; break; - case 32: $function = 'LEN'; $args = 1; break; - case 33: $function = 'VALUE'; $args = 1; break; - case 34: $function = 'TRUE'; $args = 0; break; - case 35: $function = 'FALSE'; $args = 0; break; - case 38: $function = 'NOT'; $args = 1; break; - case 39: $function = 'MOD'; $args = 2; break; - case 40: $function = 'DCOUNT'; $args = 3; break; - case 41: $function = 'DSUM'; $args = 3; break; - case 42: $function = 'DAVERAGE'; $args = 3; break; - case 43: $function = 'DMIN'; $args = 3; break; - case 44: $function = 'DMAX'; $args = 3; break; - case 45: $function = 'DSTDEV'; $args = 3; break; - case 48: $function = 'TEXT'; $args = 2; break; - case 61: $function = 'MIRR'; $args = 3; break; - case 63: $function = 'RAND'; $args = 0; break; - case 65: $function = 'DATE'; $args = 3; break; - case 66: $function = 'TIME'; $args = 3; break; - case 67: $function = 'DAY'; $args = 1; break; - case 68: $function = 'MONTH'; $args = 1; break; - case 69: $function = 'YEAR'; $args = 1; break; - case 71: $function = 'HOUR'; $args = 1; break; - case 72: $function = 'MINUTE'; $args = 1; break; - case 73: $function = 'SECOND'; $args = 1; break; - case 74: $function = 'NOW'; $args = 0; break; - case 75: $function = 'AREAS'; $args = 1; break; - case 76: $function = 'ROWS'; $args = 1; break; - case 77: $function = 'COLUMNS'; $args = 1; break; - case 83: $function = 'TRANSPOSE'; $args = 1; break; - case 86: $function = 'TYPE'; $args = 1; break; - case 97: $function = 'ATAN2'; $args = 2; break; - case 98: $function = 'ASIN'; $args = 1; break; - case 99: $function = 'ACOS'; $args = 1; break; - case 105: $function = 'ISREF'; $args = 1; break; - case 111: $function = 'CHAR'; $args = 1; break; - case 112: $function = 'LOWER'; $args = 1; break; - case 113: $function = 'UPPER'; $args = 1; break; - case 114: $function = 'PROPER'; $args = 1; break; - case 117: $function = 'EXACT'; $args = 2; break; - case 118: $function = 'TRIM'; $args = 1; break; - case 119: $function = 'REPLACE'; $args = 4; break; - case 121: $function = 'CODE'; $args = 1; break; - case 126: $function = 'ISERR'; $args = 1; break; - case 127: $function = 'ISTEXT'; $args = 1; break; - case 128: $function = 'ISNUMBER'; $args = 1; break; - case 129: $function = 'ISBLANK'; $args = 1; break; - case 130: $function = 'T'; $args = 1; break; - case 131: $function = 'N'; $args = 1; break; - case 140: $function = 'DATEVALUE'; $args = 1; break; - case 141: $function = 'TIMEVALUE'; $args = 1; break; - case 142: $function = 'SLN'; $args = 3; break; - case 143: $function = 'SYD'; $args = 4; break; - case 162: $function = 'CLEAN'; $args = 1; break; - case 163: $function = 'MDETERM'; $args = 1; break; - case 164: $function = 'MINVERSE'; $args = 1; break; - case 165: $function = 'MMULT'; $args = 2; break; - case 184: $function = 'FACT'; $args = 1; break; - case 189: $function = 'DPRODUCT'; $args = 3; break; - case 190: $function = 'ISNONTEXT'; $args = 1; break; - case 195: $function = 'DSTDEVP'; $args = 3; break; - case 196: $function = 'DVARP'; $args = 3; break; - case 198: $function = 'ISLOGICAL'; $args = 1; break; - case 199: $function = 'DCOUNTA'; $args = 3; break; - case 207: $function = 'REPLACEB'; $args = 4; break; - case 210: $function = 'MIDB'; $args = 3; break; - case 211: $function = 'LENB'; $args = 1; break; - case 212: $function = 'ROUNDUP'; $args = 2; break; - case 213: $function = 'ROUNDDOWN'; $args = 2; break; - case 214: $function = 'ASC'; $args = 1; break; - case 215: $function = 'DBCS'; $args = 1; break; - case 221: $function = 'TODAY'; $args = 0; break; - case 229: $function = 'SINH'; $args = 1; break; - case 230: $function = 'COSH'; $args = 1; break; - case 231: $function = 'TANH'; $args = 1; break; - case 232: $function = 'ASINH'; $args = 1; break; - case 233: $function = 'ACOSH'; $args = 1; break; - case 234: $function = 'ATANH'; $args = 1; break; - case 235: $function = 'DGET'; $args = 3; break; - case 244: $function = 'INFO'; $args = 1; break; - case 252: $function = 'FREQUENCY'; $args = 2; break; - case 261: $function = 'ERROR.TYPE'; $args = 1; break; - case 271: $function = 'GAMMALN'; $args = 1; break; - case 273: $function = 'BINOMDIST'; $args = 4; break; - case 274: $function = 'CHIDIST'; $args = 2; break; - case 275: $function = 'CHIINV'; $args = 2; break; - case 276: $function = 'COMBIN'; $args = 2; break; - case 277: $function = 'CONFIDENCE'; $args = 3; break; - case 278: $function = 'CRITBINOM'; $args = 3; break; - case 279: $function = 'EVEN'; $args = 1; break; - case 280: $function = 'EXPONDIST'; $args = 3; break; - case 281: $function = 'FDIST'; $args = 3; break; - case 282: $function = 'FINV'; $args = 3; break; - case 283: $function = 'FISHER'; $args = 1; break; - case 284: $function = 'FISHERINV'; $args = 1; break; - case 285: $function = 'FLOOR'; $args = 2; break; - case 286: $function = 'GAMMADIST'; $args = 4; break; - case 287: $function = 'GAMMAINV'; $args = 3; break; - case 288: $function = 'CEILING'; $args = 2; break; - case 289: $function = 'HYPGEOMDIST'; $args = 4; break; - case 290: $function = 'LOGNORMDIST'; $args = 3; break; - case 291: $function = 'LOGINV'; $args = 3; break; - case 292: $function = 'NEGBINOMDIST'; $args = 3; break; - case 293: $function = 'NORMDIST'; $args = 4; break; - case 294: $function = 'NORMSDIST'; $args = 1; break; - case 295: $function = 'NORMINV'; $args = 3; break; - case 296: $function = 'NORMSINV'; $args = 1; break; - case 297: $function = 'STANDARDIZE'; $args = 3; break; - case 298: $function = 'ODD'; $args = 1; break; - case 299: $function = 'PERMUT'; $args = 2; break; - case 300: $function = 'POISSON'; $args = 3; break; - case 301: $function = 'TDIST'; $args = 3; break; - case 302: $function = 'WEIBULL'; $args = 4; break; - case 303: $function = 'SUMXMY2'; $args = 2; break; - case 304: $function = 'SUMX2MY2'; $args = 2; break; - case 305: $function = 'SUMX2PY2'; $args = 2; break; - case 306: $function = 'CHITEST'; $args = 2; break; - case 307: $function = 'CORREL'; $args = 2; break; - case 308: $function = 'COVAR'; $args = 2; break; - case 309: $function = 'FORECAST'; $args = 3; break; - case 310: $function = 'FTEST'; $args = 2; break; - case 311: $function = 'INTERCEPT'; $args = 2; break; - case 312: $function = 'PEARSON'; $args = 2; break; - case 313: $function = 'RSQ'; $args = 2; break; - case 314: $function = 'STEYX'; $args = 2; break; - case 315: $function = 'SLOPE'; $args = 2; break; - case 316: $function = 'TTEST'; $args = 4; break; - case 325: $function = 'LARGE'; $args = 2; break; - case 326: $function = 'SMALL'; $args = 2; break; - case 327: $function = 'QUARTILE'; $args = 2; break; - case 328: $function = 'PERCENTILE'; $args = 2; break; - case 331: $function = 'TRIMMEAN'; $args = 2; break; - case 332: $function = 'TINV'; $args = 2; break; - case 337: $function = 'POWER'; $args = 2; break; - case 342: $function = 'RADIANS'; $args = 1; break; - case 343: $function = 'DEGREES'; $args = 1; break; - case 346: $function = 'COUNTIF'; $args = 2; break; - case 347: $function = 'COUNTBLANK'; $args = 1; break; - case 350: $function = 'ISPMT'; $args = 4; break; - case 351: $function = 'DATEDIF'; $args = 3; break; - case 352: $function = 'DATESTRING'; $args = 1; break; - case 353: $function = 'NUMBERSTRING'; $args = 2; break; - case 360: $function = 'PHONETIC'; $args = 1; break; - case 368: $function = 'BAHTTEXT'; $args = 1; break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized function in formula'); - break; - } - $data = array('function' => $function, 'args' => $args); - break; - case 0x22: // function with variable number of arguments - case 0x42: - case 0x62: - $name = 'tFuncV'; - $size = 4; - // offset: 1; size: 1; number of arguments - $args = ord($formulaData[1]); - // offset: 2: size: 2; index to built-in sheet function - $index = self::_GetInt2d($formulaData, 2); - switch ($index) { - case 0: $function = 'COUNT'; break; - case 1: $function = 'IF'; break; - case 4: $function = 'SUM'; break; - case 5: $function = 'AVERAGE'; break; - case 6: $function = 'MIN'; break; - case 7: $function = 'MAX'; break; - case 8: $function = 'ROW'; break; - case 9: $function = 'COLUMN'; break; - case 11: $function = 'NPV'; break; - case 12: $function = 'STDEV'; break; - case 13: $function = 'DOLLAR'; break; - case 14: $function = 'FIXED'; break; - case 28: $function = 'LOOKUP'; break; - case 29: $function = 'INDEX'; break; - case 36: $function = 'AND'; break; - case 37: $function = 'OR'; break; - case 46: $function = 'VAR'; break; - case 49: $function = 'LINEST'; break; - case 50: $function = 'TREND'; break; - case 51: $function = 'LOGEST'; break; - case 52: $function = 'GROWTH'; break; - case 56: $function = 'PV'; break; - case 57: $function = 'FV'; break; - case 58: $function = 'NPER'; break; - case 59: $function = 'PMT'; break; - case 60: $function = 'RATE'; break; - case 62: $function = 'IRR'; break; - case 64: $function = 'MATCH'; break; - case 70: $function = 'WEEKDAY'; break; - case 78: $function = 'OFFSET'; break; - case 82: $function = 'SEARCH'; break; - case 100: $function = 'CHOOSE'; break; - case 101: $function = 'HLOOKUP'; break; - case 102: $function = 'VLOOKUP'; break; - case 109: $function = 'LOG'; break; - case 115: $function = 'LEFT'; break; - case 116: $function = 'RIGHT'; break; - case 120: $function = 'SUBSTITUTE'; break; - case 124: $function = 'FIND'; break; - case 125: $function = 'CELL'; break; - case 144: $function = 'DDB'; break; - case 148: $function = 'INDIRECT'; break; - case 167: $function = 'IPMT'; break; - case 168: $function = 'PPMT'; break; - case 169: $function = 'COUNTA'; break; - case 183: $function = 'PRODUCT'; break; - case 193: $function = 'STDEVP'; break; - case 194: $function = 'VARP'; break; - case 197: $function = 'TRUNC'; break; - case 204: $function = 'USDOLLAR'; break; - case 205: $function = 'FINDB'; break; - case 206: $function = 'SEARCHB'; break; - case 208: $function = 'LEFTB'; break; - case 209: $function = 'RIGHTB'; break; - case 216: $function = 'RANK'; break; - case 219: $function = 'ADDRESS'; break; - case 220: $function = 'DAYS360'; break; - case 222: $function = 'VDB'; break; - case 227: $function = 'MEDIAN'; break; - case 228: $function = 'SUMPRODUCT'; break; - case 247: $function = 'DB'; break; - case 255: $function = ''; break; - case 269: $function = 'AVEDEV'; break; - case 270: $function = 'BETADIST'; break; - case 272: $function = 'BETAINV'; break; - case 317: $function = 'PROB'; break; - case 318: $function = 'DEVSQ'; break; - case 319: $function = 'GEOMEAN'; break; - case 320: $function = 'HARMEAN'; break; - case 321: $function = 'SUMSQ'; break; - case 322: $function = 'KURT'; break; - case 323: $function = 'SKEW'; break; - case 324: $function = 'ZTEST'; break; - case 329: $function = 'PERCENTRANK'; break; - case 330: $function = 'MODE'; break; - case 336: $function = 'CONCATENATE'; break; - case 344: $function = 'SUBTOTAL'; break; - case 345: $function = 'SUMIF'; break; - case 354: $function = 'ROMAN'; break; - case 358: $function = 'GETPIVOTDATA'; break; - case 359: $function = 'HYPERLINK'; break; - case 361: $function = 'AVERAGEA'; break; - case 362: $function = 'MAXA'; break; - case 363: $function = 'MINA'; break; - case 364: $function = 'STDEVPA'; break; - case 365: $function = 'VARPA'; break; - case 366: $function = 'STDEVA'; break; - case 367: $function = 'VARA'; break; - default: - throw new PHPExcel_Reader_Exception('Unrecognized function in formula'); - break; - } - $data = array('function' => $function, 'args' => $args); - break; - case 0x23: // index to defined name - case 0x43: - case 0x63: - $name = 'tName'; - $size = 5; - // offset: 1; size: 2; one-based index to definedname record - $definedNameIndex = self::_GetInt2d($formulaData, 1) - 1; - // offset: 2; size: 2; not used - $data = $this->_definedname[$definedNameIndex]['name']; - break; - case 0x24: // single cell reference e.g. A5 - case 0x44: - case 0x64: - $name = 'tRef'; - $size = 5; - $data = $this->_readBIFF8CellAddress(substr($formulaData, 1, 4)); - break; - case 0x25: // cell range reference to cells in the same sheet (2d) - case 0x45: - case 0x65: - $name = 'tArea'; - $size = 9; - $data = $this->_readBIFF8CellRangeAddress(substr($formulaData, 1, 8)); - break; - case 0x26: // Constant reference sub-expression - case 0x46: - case 0x66: - $name = 'tMemArea'; - // offset: 1; size: 4; not used - // offset: 5; size: 2; size of the following subexpression - $subSize = self::_GetInt2d($formulaData, 5); - $size = 7 + $subSize; - $data = $this->_getFormulaFromData(substr($formulaData, 7, $subSize)); - break; - case 0x27: // Deleted constant reference sub-expression - case 0x47: - case 0x67: - $name = 'tMemErr'; - // offset: 1; size: 4; not used - // offset: 5; size: 2; size of the following subexpression - $subSize = self::_GetInt2d($formulaData, 5); - $size = 7 + $subSize; - $data = $this->_getFormulaFromData(substr($formulaData, 7, $subSize)); - break; - case 0x29: // Variable reference sub-expression - case 0x49: - case 0x69: - $name = 'tMemFunc'; - // offset: 1; size: 2; size of the following sub-expression - $subSize = self::_GetInt2d($formulaData, 1); - $size = 3 + $subSize; - $data = $this->_getFormulaFromData(substr($formulaData, 3, $subSize)); - break; - - case 0x2C: // Relative 2d cell reference reference, used in shared formulas and some other places - case 0x4C: - case 0x6C: - $name = 'tRefN'; - $size = 5; - $data = $this->_readBIFF8CellAddressB(substr($formulaData, 1, 4), $baseCell); - break; - - case 0x2D: // Relative 2d range reference - case 0x4D: - case 0x6D: - $name = 'tAreaN'; - $size = 9; - $data = $this->_readBIFF8CellRangeAddressB(substr($formulaData, 1, 8), $baseCell); - break; - - case 0x39: // External name - case 0x59: - case 0x79: - $name = 'tNameX'; - $size = 7; - // offset: 1; size: 2; index to REF entry in EXTERNSHEET record - // offset: 3; size: 2; one-based index to DEFINEDNAME or EXTERNNAME record - $index = self::_GetInt2d($formulaData, 3); - // assume index is to EXTERNNAME record - $data = $this->_externalNames[$index - 1]['name']; - // offset: 5; size: 2; not used - break; - - case 0x3A: // 3d reference to cell - case 0x5A: - case 0x7A: - $name = 'tRef3d'; - $size = 7; - - try { - // offset: 1; size: 2; index to REF entry - $sheetRange = $this->_readSheetRangeByRefIndex(self::_GetInt2d($formulaData, 1)); - // offset: 3; size: 4; cell address - $cellAddress = $this->_readBIFF8CellAddress(substr($formulaData, 3, 4)); - - $data = "$sheetRange!$cellAddress"; - } catch (PHPExcel_Exception $e) { - // deleted sheet reference - $data = '#REF!'; - } - - break; - case 0x3B: // 3d reference to cell range - case 0x5B: - case 0x7B: - $name = 'tArea3d'; - $size = 11; - - try { - // offset: 1; size: 2; index to REF entry - $sheetRange = $this->_readSheetRangeByRefIndex(self::_GetInt2d($formulaData, 1)); - // offset: 3; size: 8; cell address - $cellRangeAddress = $this->_readBIFF8CellRangeAddress(substr($formulaData, 3, 8)); - - $data = "$sheetRange!$cellRangeAddress"; - } catch (PHPExcel_Exception $e) { - // deleted sheet reference - $data = '#REF!'; - } - - break; - // Unknown cases // don't know how to deal with - default: - throw new PHPExcel_Reader_Exception('Unrecognized token ' . sprintf('%02X', $id) . ' in formula'); - break; - } - - return array( - 'id' => $id, - 'name' => $name, - 'size' => $size, - 'data' => $data, - ); - } - - - /** - * Reads a cell address in BIFF8 e.g. 'A2' or '$A$2' - * section 3.3.4 - * - * @param string $cellAddressStructure - * @return string - */ - private function _readBIFF8CellAddress($cellAddressStructure) - { - // offset: 0; size: 2; index to row (0... 65535) (or offset (-32768... 32767)) - $row = self::_GetInt2d($cellAddressStructure, 0) + 1; - - // offset: 2; size: 2; index to column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $column = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::_GetInt2d($cellAddressStructure, 2)); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($cellAddressStructure, 2))) { - $column = '$' . $column; - } - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($cellAddressStructure, 2))) { - $row = '$' . $row; - } - - return $column . $row; - } - - - /** - * Reads a cell address in BIFF8 for shared formulas. Uses positive and negative values for row and column - * to indicate offsets from a base cell - * section 3.3.4 - * - * @param string $cellAddressStructure - * @param string $baseCell Base cell, only needed when formula contains tRefN tokens, e.g. with shared formulas - * @return string - */ - private function _readBIFF8CellAddressB($cellAddressStructure, $baseCell = 'A1') - { - list($baseCol, $baseRow) = PHPExcel_Cell::coordinateFromString($baseCell); - $baseCol = PHPExcel_Cell::columnIndexFromString($baseCol) - 1; - - // offset: 0; size: 2; index to row (0... 65535) (or offset (-32768... 32767)) - $rowIndex = self::_GetInt2d($cellAddressStructure, 0); - $row = self::_GetInt2d($cellAddressStructure, 0) + 1; - - // offset: 2; size: 2; index to column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $colIndex = 0x00FF & self::_GetInt2d($cellAddressStructure, 2); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($cellAddressStructure, 2))) { - $column = PHPExcel_Cell::stringFromColumnIndex($colIndex); - $column = '$' . $column; - } else { - $colIndex = ($colIndex <= 127) ? $colIndex : $colIndex - 256; - $column = PHPExcel_Cell::stringFromColumnIndex($baseCol + $colIndex); - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($cellAddressStructure, 2))) { - $row = '$' . $row; - } else { - $rowIndex = ($rowIndex <= 32767) ? $rowIndex : $rowIndex - 65536; - $row = $baseRow + $rowIndex; - } - - return $column . $row; - } - - - /** - * Reads a cell range address in BIFF5 e.g. 'A2:B6' or 'A1' - * always fixed range - * section 2.5.14 - * - * @param string $subData - * @return string - * @throws PHPExcel_Reader_Exception - */ - private function _readBIFF5CellRangeAddressFixed($subData) - { - // offset: 0; size: 2; index to first row - $fr = self::_GetInt2d($subData, 0) + 1; - - // offset: 2; size: 2; index to last row - $lr = self::_GetInt2d($subData, 2) + 1; - - // offset: 4; size: 1; index to first column - $fc = ord($subData{4}); - - // offset: 5; size: 1; index to last column - $lc = ord($subData{5}); - - // check values - if ($fr > $lr || $fc > $lc) { - throw new PHPExcel_Reader_Exception('Not a cell range address'); - } - - // column index to letter - $fc = PHPExcel_Cell::stringFromColumnIndex($fc); - $lc = PHPExcel_Cell::stringFromColumnIndex($lc); - - if ($fr == $lr and $fc == $lc) { - return "$fc$fr"; - } - return "$fc$fr:$lc$lr"; - } - - - /** - * Reads a cell range address in BIFF8 e.g. 'A2:B6' or 'A1' - * always fixed range - * section 2.5.14 - * - * @param string $subData - * @return string - * @throws PHPExcel_Reader_Exception - */ - private function _readBIFF8CellRangeAddressFixed($subData) - { - // offset: 0; size: 2; index to first row - $fr = self::_GetInt2d($subData, 0) + 1; - - // offset: 2; size: 2; index to last row - $lr = self::_GetInt2d($subData, 2) + 1; - - // offset: 4; size: 2; index to first column - $fc = self::_GetInt2d($subData, 4); - - // offset: 6; size: 2; index to last column - $lc = self::_GetInt2d($subData, 6); - - // check values - if ($fr > $lr || $fc > $lc) { - throw new PHPExcel_Reader_Exception('Not a cell range address'); - } - - // column index to letter - $fc = PHPExcel_Cell::stringFromColumnIndex($fc); - $lc = PHPExcel_Cell::stringFromColumnIndex($lc); - - if ($fr == $lr and $fc == $lc) { - return "$fc$fr"; - } - return "$fc$fr:$lc$lr"; - } - - - /** - * Reads a cell range address in BIFF8 e.g. 'A2:B6' or '$A$2:$B$6' - * there are flags indicating whether column/row index is relative - * section 3.3.4 - * - * @param string $subData - * @return string - */ - private function _readBIFF8CellRangeAddress($subData) - { - // todo: if cell range is just a single cell, should this funciton - // not just return e.g. 'A1' and not 'A1:A1' ? - - // offset: 0; size: 2; index to first row (0... 65535) (or offset (-32768... 32767)) - $fr = self::_GetInt2d($subData, 0) + 1; - - // offset: 2; size: 2; index to last row (0... 65535) (or offset (-32768... 32767)) - $lr = self::_GetInt2d($subData, 2) + 1; - - // offset: 4; size: 2; index to first column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $fc = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::_GetInt2d($subData, 4)); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 4))) { - $fc = '$' . $fc; - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 4))) { - $fr = '$' . $fr; - } - - // offset: 6; size: 2; index to last column or column offset + relative flags - - // bit: 7-0; mask 0x00FF; column index - $lc = PHPExcel_Cell::stringFromColumnIndex(0x00FF & self::_GetInt2d($subData, 6)); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 6))) { - $lc = '$' . $lc; - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 6))) { - $lr = '$' . $lr; - } - - return "$fc$fr:$lc$lr"; - } - - - /** - * Reads a cell range address in BIFF8 for shared formulas. Uses positive and negative values for row and column - * to indicate offsets from a base cell - * section 3.3.4 - * - * @param string $subData - * @param string $baseCell Base cell - * @return string Cell range address - */ - private function _readBIFF8CellRangeAddressB($subData, $baseCell = 'A1') - { - list($baseCol, $baseRow) = PHPExcel_Cell::coordinateFromString($baseCell); - $baseCol = PHPExcel_Cell::columnIndexFromString($baseCol) - 1; - - // TODO: if cell range is just a single cell, should this funciton - // not just return e.g. 'A1' and not 'A1:A1' ? - - // offset: 0; size: 2; first row - $frIndex = self::_GetInt2d($subData, 0); // adjust below - - // offset: 2; size: 2; relative index to first row (0... 65535) should be treated as offset (-32768... 32767) - $lrIndex = self::_GetInt2d($subData, 2); // adjust below - - // offset: 4; size: 2; first column with relative/absolute flags - - // bit: 7-0; mask 0x00FF; column index - $fcIndex = 0x00FF & self::_GetInt2d($subData, 4); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 4))) { - // absolute column index - $fc = PHPExcel_Cell::stringFromColumnIndex($fcIndex); - $fc = '$' . $fc; - } else { - // column offset - $fcIndex = ($fcIndex <= 127) ? $fcIndex : $fcIndex - 256; - $fc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $fcIndex); - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 4))) { - // absolute row index - $fr = $frIndex + 1; - $fr = '$' . $fr; - } else { - // row offset - $frIndex = ($frIndex <= 32767) ? $frIndex : $frIndex - 65536; - $fr = $baseRow + $frIndex; - } - - // offset: 6; size: 2; last column with relative/absolute flags - - // bit: 7-0; mask 0x00FF; column index - $lcIndex = 0x00FF & self::_GetInt2d($subData, 6); - $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; - $lc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $lcIndex); - - // bit: 14; mask 0x4000; (1 = relative column index, 0 = absolute column index) - if (!(0x4000 & self::_GetInt2d($subData, 6))) { - // absolute column index - $lc = PHPExcel_Cell::stringFromColumnIndex($lcIndex); - $lc = '$' . $lc; - } else { - // column offset - $lcIndex = ($lcIndex <= 127) ? $lcIndex : $lcIndex - 256; - $lc = PHPExcel_Cell::stringFromColumnIndex($baseCol + $lcIndex); - } - - // bit: 15; mask 0x8000; (1 = relative row index, 0 = absolute row index) - if (!(0x8000 & self::_GetInt2d($subData, 6))) { - // absolute row index - $lr = $lrIndex + 1; - $lr = '$' . $lr; - } else { - // row offset - $lrIndex = ($lrIndex <= 32767) ? $lrIndex : $lrIndex - 65536; - $lr = $baseRow + $lrIndex; - } - - return "$fc$fr:$lc$lr"; - } - - - /** - * Read BIFF8 cell range address list - * section 2.5.15 - * - * @param string $subData - * @return array - */ - private function _readBIFF8CellRangeAddressList($subData) - { - $cellRangeAddresses = array(); - - // offset: 0; size: 2; number of the following cell range addresses - $nm = self::_GetInt2d($subData, 0); - - $offset = 2; - // offset: 2; size: 8 * $nm; list of $nm (fixed) cell range addresses - for ($i = 0; $i < $nm; ++$i) { - $cellRangeAddresses[] = $this->_readBIFF8CellRangeAddressFixed(substr($subData, $offset, 8)); - $offset += 8; - } - - return array( - 'size' => 2 + 8 * $nm, - 'cellRangeAddresses' => $cellRangeAddresses, - ); - } - - - /** - * Read BIFF5 cell range address list - * section 2.5.15 - * - * @param string $subData - * @return array - */ - private function _readBIFF5CellRangeAddressList($subData) - { - $cellRangeAddresses = array(); - - // offset: 0; size: 2; number of the following cell range addresses - $nm = self::_GetInt2d($subData, 0); - - $offset = 2; - // offset: 2; size: 6 * $nm; list of $nm (fixed) cell range addresses - for ($i = 0; $i < $nm; ++$i) { - $cellRangeAddresses[] = $this->_readBIFF5CellRangeAddressFixed(substr($subData, $offset, 6)); - $offset += 6; - } - - return array( - 'size' => 2 + 6 * $nm, - 'cellRangeAddresses' => $cellRangeAddresses, - ); - } - - - /** - * Get a sheet range like Sheet1:Sheet3 from REF index - * Note: If there is only one sheet in the range, one gets e.g Sheet1 - * It can also happen that the REF structure uses the -1 (FFFF) code to indicate deleted sheets, - * in which case an PHPExcel_Reader_Exception is thrown - * - * @param int $index - * @return string|false - * @throws PHPExcel_Reader_Exception - */ - private function _readSheetRangeByRefIndex($index) - { - if (isset($this->_ref[$index])) { - - $type = $this->_externalBooks[$this->_ref[$index]['externalBookIndex']]['type']; - - switch ($type) { - case 'internal': - // check if we have a deleted 3d reference - if ($this->_ref[$index]['firstSheetIndex'] == 0xFFFF or $this->_ref[$index]['lastSheetIndex'] == 0xFFFF) { - throw new PHPExcel_Reader_Exception('Deleted sheet reference'); - } - - // we have normal sheet range (collapsed or uncollapsed) - $firstSheetName = $this->_sheets[$this->_ref[$index]['firstSheetIndex']]['name']; - $lastSheetName = $this->_sheets[$this->_ref[$index]['lastSheetIndex']]['name']; - - if ($firstSheetName == $lastSheetName) { - // collapsed sheet range - $sheetRange = $firstSheetName; - } else { - $sheetRange = "$firstSheetName:$lastSheetName"; - } - - // escape the single-quotes - $sheetRange = str_replace("'", "''", $sheetRange); - - // if there are special characters, we need to enclose the range in single-quotes - // todo: check if we have identified the whole set of special characters - // it seems that the following characters are not accepted for sheet names - // and we may assume that they are not present: []*/:\? - if (preg_match("/[ !\"@#£$%&{()}<>=+'|^,;-]/", $sheetRange)) { - $sheetRange = "'$sheetRange'"; - } - - return $sheetRange; - break; - - default: - // TODO: external sheet support - throw new PHPExcel_Reader_Exception('Excel5 reader only supports internal sheets in fomulas'); - break; - } - } - return false; - } - - - /** - * read BIFF8 constant value array from array data - * returns e.g. array('value' => '{1,2;3,4}', 'size' => 40} - * section 2.5.8 - * - * @param string $arrayData - * @return array - */ - private static function _readBIFF8ConstantArray($arrayData) - { - // offset: 0; size: 1; number of columns decreased by 1 - $nc = ord($arrayData[0]); - - // offset: 1; size: 2; number of rows decreased by 1 - $nr = self::_GetInt2d($arrayData, 1); - $size = 3; // initialize - $arrayData = substr($arrayData, 3); - - // offset: 3; size: var; list of ($nc + 1) * ($nr + 1) constant values - $matrixChunks = array(); - for ($r = 1; $r <= $nr + 1; ++$r) { - $items = array(); - for ($c = 1; $c <= $nc + 1; ++$c) { - $constant = self::_readBIFF8Constant($arrayData); - $items[] = $constant['value']; - $arrayData = substr($arrayData, $constant['size']); - $size += $constant['size']; - } - $matrixChunks[] = implode(',', $items); // looks like e.g. '1,"hello"' - } - $matrix = '{' . implode(';', $matrixChunks) . '}'; - - return array( - 'value' => $matrix, - 'size' => $size, - ); - } - - - /** - * read BIFF8 constant value which may be 'Empty Value', 'Number', 'String Value', 'Boolean Value', 'Error Value' - * section 2.5.7 - * returns e.g. array('value' => '5', 'size' => 9) - * - * @param string $valueData - * @return array - */ - private static function _readBIFF8Constant($valueData) - { - // offset: 0; size: 1; identifier for type of constant - $identifier = ord($valueData[0]); - - switch ($identifier) { - case 0x00: // empty constant (what is this?) - $value = ''; - $size = 9; - break; - case 0x01: // number - // offset: 1; size: 8; IEEE 754 floating-point value - $value = self::_extractNumber(substr($valueData, 1, 8)); - $size = 9; - break; - case 0x02: // string value - // offset: 1; size: var; Unicode string, 16-bit string length - $string = self::_readUnicodeStringLong(substr($valueData, 1)); - $value = '"' . $string['value'] . '"'; - $size = 1 + $string['size']; - break; - case 0x04: // boolean - // offset: 1; size: 1; 0 = FALSE, 1 = TRUE - if (ord($valueData[1])) { - $value = 'TRUE'; - } else { - $value = 'FALSE'; - } - $size = 9; - break; - case 0x10: // error code - // offset: 1; size: 1; error code - $value = self::_mapErrorCode(ord($valueData[1])); - $size = 9; - break; - } - return array( - 'value' => $value, - 'size' => $size, - ); - } - - - /** - * Extract RGB color - * OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.4 - * - * @param string $rgb Encoded RGB value (4 bytes) - * @return array - */ - private static function _readRGB($rgb) - { - // offset: 0; size 1; Red component - $r = ord($rgb{0}); - - // offset: 1; size: 1; Green component - $g = ord($rgb{1}); - - // offset: 2; size: 1; Blue component - $b = ord($rgb{2}); - - // HEX notation, e.g. 'FF00FC' - $rgb = sprintf('%02X%02X%02X', $r, $g, $b); - - return array('rgb' => $rgb); - } - - - /** - * Read byte string (8-bit string length) - * OpenOffice documentation: 2.5.2 - * - * @param string $subData - * @return array - */ - private function _readByteStringShort($subData) - { - // offset: 0; size: 1; length of the string (character count) - $ln = ord($subData[0]); - - // offset: 1: size: var; character array (8-bit characters) - $value = $this->_decodeCodepage(substr($subData, 1, $ln)); - - return array( - 'value' => $value, - 'size' => 1 + $ln, // size in bytes of data structure - ); - } - - - /** - * Read byte string (16-bit string length) - * OpenOffice documentation: 2.5.2 - * - * @param string $subData - * @return array - */ - private function _readByteStringLong($subData) - { - // offset: 0; size: 2; length of the string (character count) - $ln = self::_GetInt2d($subData, 0); - - // offset: 2: size: var; character array (8-bit characters) - $value = $this->_decodeCodepage(substr($subData, 2)); - - //return $string; - return array( - 'value' => $value, - 'size' => 2 + $ln, // size in bytes of data structure - ); - } - - - /** - * Extracts an Excel Unicode short string (8-bit string length) - * OpenOffice documentation: 2.5.3 - * function will automatically find out where the Unicode string ends. - * - * @param string $subData - * @return array - */ - private static function _readUnicodeStringShort($subData) - { - $value = ''; - - // offset: 0: size: 1; length of the string (character count) - $characterCount = ord($subData[0]); - - $string = self::_readUnicodeString(substr($subData, 1), $characterCount); - - // add 1 for the string length - $string['size'] += 1; - - return $string; - } - - - /** - * Extracts an Excel Unicode long string (16-bit string length) - * OpenOffice documentation: 2.5.3 - * this function is under construction, needs to support rich text, and Asian phonetic settings - * - * @param string $subData - * @return array - */ - private static function _readUnicodeStringLong($subData) - { - $value = ''; - - // offset: 0: size: 2; length of the string (character count) - $characterCount = self::_GetInt2d($subData, 0); - - $string = self::_readUnicodeString(substr($subData, 2), $characterCount); - - // add 2 for the string length - $string['size'] += 2; - - return $string; - } - - - /** - * Read Unicode string with no string length field, but with known character count - * this function is under construction, needs to support rich text, and Asian phonetic settings - * OpenOffice.org's Documentation of the Microsoft Excel File Format, section 2.5.3 - * - * @param string $subData - * @param int $characterCount - * @return array - */ - private static function _readUnicodeString($subData, $characterCount) - { - $value = ''; - - // offset: 0: size: 1; option flags - - // bit: 0; mask: 0x01; character compression (0 = compressed 8-bit, 1 = uncompressed 16-bit) - $isCompressed = !((0x01 & ord($subData[0])) >> 0); - - // bit: 2; mask: 0x04; Asian phonetic settings - $hasAsian = (0x04) & ord($subData[0]) >> 2; - - // bit: 3; mask: 0x08; Rich-Text settings - $hasRichText = (0x08) & ord($subData[0]) >> 3; - - // offset: 1: size: var; character array - // this offset assumes richtext and Asian phonetic settings are off which is generally wrong - // needs to be fixed - $value = self::_encodeUTF16(substr($subData, 1, $isCompressed ? $characterCount : 2 * $characterCount), $isCompressed); - - return array( - 'value' => $value, - 'size' => $isCompressed ? 1 + $characterCount : 1 + 2 * $characterCount, // the size in bytes including the option flags - ); - } - - - /** - * Convert UTF-8 string to string surounded by double quotes. Used for explicit string tokens in formulas. - * Example: hello"world --> "hello""world" - * - * @param string $value UTF-8 encoded string - * @return string - */ - private static function _UTF8toExcelDoubleQuoted($value) - { - return '"' . str_replace('"', '""', $value) . '"'; - } - - - /** - * Reads first 8 bytes of a string and return IEEE 754 float - * - * @param string $data Binary string that is at least 8 bytes long - * @return float - */ - private static function _extractNumber($data) - { - $rknumhigh = self::_GetInt4d($data, 4); - $rknumlow = self::_GetInt4d($data, 0); - $sign = ($rknumhigh & 0x80000000) >> 31; - $exp = (($rknumhigh & 0x7ff00000) >> 20) - 1023; - $mantissa = (0x100000 | ($rknumhigh & 0x000fffff)); - $mantissalow1 = ($rknumlow & 0x80000000) >> 31; - $mantissalow2 = ($rknumlow & 0x7fffffff); - $value = $mantissa / pow( 2 , (20 - $exp)); - - if ($mantissalow1 != 0) { - $value += 1 / pow (2 , (21 - $exp)); - } - - $value += $mantissalow2 / pow (2 , (52 - $exp)); - if ($sign) { - $value *= -1; - } - - return $value; - } - - - private static function _GetIEEE754($rknum) - { - if (($rknum & 0x02) != 0) { - $value = $rknum >> 2; - } else { - // changes by mmp, info on IEEE754 encoding from - // research.microsoft.com/~hollasch/cgindex/coding/ieeefloat.html - // The RK format calls for using only the most significant 30 bits - // of the 64 bit floating point value. The other 34 bits are assumed - // to be 0 so we use the upper 30 bits of $rknum as follows... - $sign = ($rknum & 0x80000000) >> 31; - $exp = ($rknum & 0x7ff00000) >> 20; - $mantissa = (0x100000 | ($rknum & 0x000ffffc)); - $value = $mantissa / pow( 2 , (20- ($exp - 1023))); - if ($sign) { - $value = -1 * $value; - } - //end of changes by mmp - } - if (($rknum & 0x01) != 0) { - $value /= 100; - } - return $value; - } - - - /** - * Get UTF-8 string from (compressed or uncompressed) UTF-16 string - * - * @param string $string - * @param bool $compressed - * @return string - */ - private static function _encodeUTF16($string, $compressed = '') - { - if ($compressed) { - $string = self::_uncompressByteString($string); - } - - return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', 'UTF-16LE'); - } - - - /** - * Convert UTF-16 string in compressed notation to uncompressed form. Only used for BIFF8. - * - * @param string $string - * @return string - */ - private static function _uncompressByteString($string) - { - $uncompressedString = ''; - $strLen = strlen($string); - for ($i = 0; $i < $strLen; ++$i) { - $uncompressedString .= $string[$i] . "\0"; - } - - return $uncompressedString; - } - - - /** - * Convert string to UTF-8. Only used for BIFF5. - * - * @param string $string - * @return string - */ - private function _decodeCodepage($string) - { - return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', $this->_codepage); - } - - - /** - * Read 16-bit unsigned integer - * - * @param string $data - * @param int $pos - * @return int - */ - public static function _GetInt2d($data, $pos) - { - return ord($data[$pos]) | (ord($data[$pos+1]) << 8); - } - - - /** - * Read 32-bit signed integer - * - * @param string $data - * @param int $pos - * @return int - */ - public static function _GetInt4d($data, $pos) - { - // FIX: represent numbers correctly on 64-bit system - // http://sourceforge.net/tracker/index.php?func=detail&aid=1487372&group_id=99160&atid=623334 - // Hacked by Andreas Rehm 2006 to ensure correct result of the <<24 block on 32 and 64bit systems - $_or_24 = ord($data[$pos + 3]); - if ($_or_24 >= 128) { - // negative number - $_ord_24 = -abs((256 - $_or_24) << 24); - } else { - $_ord_24 = ($_or_24 & 127) << 24; - } - return ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | $_ord_24; - } - - - /** - * Read color - * - * @param int $color Indexed color - * @param array $palette Color palette - * @return array RGB color value, example: array('rgb' => 'FF0000') - */ - private static function _readColor($color,$palette,$version) - { - if ($color <= 0x07 || $color >= 0x40) { - // special built-in color - return self::_mapBuiltInColor($color); - } elseif (isset($palette) && isset($palette[$color - 8])) { - // palette color, color index 0x08 maps to pallete index 0 - return $palette[$color - 8]; - } else { - // default color table - if ($version == self::XLS_BIFF8) { - return self::_mapColor($color); - } else { - // BIFF5 - return self::_mapColorBIFF5($color); - } - } - - return $color; - } - - - /** - * Map border style - * OpenOffice documentation: 2.5.11 - * - * @param int $index - * @return string - */ - private static function _mapBorderStyle($index) - { - switch ($index) { - case 0x00: return PHPExcel_Style_Border::BORDER_NONE; - case 0x01: return PHPExcel_Style_Border::BORDER_THIN; - case 0x02: return PHPExcel_Style_Border::BORDER_MEDIUM; - case 0x03: return PHPExcel_Style_Border::BORDER_DASHED; - case 0x04: return PHPExcel_Style_Border::BORDER_DOTTED; - case 0x05: return PHPExcel_Style_Border::BORDER_THICK; - case 0x06: return PHPExcel_Style_Border::BORDER_DOUBLE; - case 0x07: return PHPExcel_Style_Border::BORDER_HAIR; - case 0x08: return PHPExcel_Style_Border::BORDER_MEDIUMDASHED; - case 0x09: return PHPExcel_Style_Border::BORDER_DASHDOT; - case 0x0A: return PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT; - case 0x0B: return PHPExcel_Style_Border::BORDER_DASHDOTDOT; - case 0x0C: return PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT; - case 0x0D: return PHPExcel_Style_Border::BORDER_SLANTDASHDOT; - default: return PHPExcel_Style_Border::BORDER_NONE; - } - } - - - /** - * Get fill pattern from index - * OpenOffice documentation: 2.5.12 - * - * @param int $index - * @return string - */ - private static function _mapFillPattern($index) - { - switch ($index) { - case 0x00: return PHPExcel_Style_Fill::FILL_NONE; - case 0x01: return PHPExcel_Style_Fill::FILL_SOLID; - case 0x02: return PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY; - case 0x03: return PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY; - case 0x04: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY; - case 0x05: return PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL; - case 0x06: return PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL; - case 0x07: return PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN; - case 0x08: return PHPExcel_Style_Fill::FILL_PATTERN_DARKUP; - case 0x09: return PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID; - case 0x0A: return PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS; - case 0x0B: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL; - case 0x0C: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL; - case 0x0D: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN; - case 0x0E: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP; - case 0x0F: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID; - case 0x10: return PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS; - case 0x11: return PHPExcel_Style_Fill::FILL_PATTERN_GRAY125; - case 0x12: return PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625; - default: return PHPExcel_Style_Fill::FILL_NONE; - } - } - - - /** - * Map error code, e.g. '#N/A' - * - * @param int $subData - * @return string - */ - private static function _mapErrorCode($subData) - { - switch ($subData) { - case 0x00: return '#NULL!'; break; - case 0x07: return '#DIV/0!'; break; - case 0x0F: return '#VALUE!'; break; - case 0x17: return '#REF!'; break; - case 0x1D: return '#NAME?'; break; - case 0x24: return '#NUM!'; break; - case 0x2A: return '#N/A'; break; - default: return false; - } - } - - - /** - * Map built-in color to RGB value - * - * @param int $color Indexed color - * @return array - */ - private static function _mapBuiltInColor($color) - { - switch ($color) { - case 0x00: return array('rgb' => '000000'); - case 0x01: return array('rgb' => 'FFFFFF'); - case 0x02: return array('rgb' => 'FF0000'); - case 0x03: return array('rgb' => '00FF00'); - case 0x04: return array('rgb' => '0000FF'); - case 0x05: return array('rgb' => 'FFFF00'); - case 0x06: return array('rgb' => 'FF00FF'); - case 0x07: return array('rgb' => '00FFFF'); - case 0x40: return array('rgb' => '000000'); // system window text color - case 0x41: return array('rgb' => 'FFFFFF'); // system window background color - default: return array('rgb' => '000000'); - } - } - - - /** - * Map color array from BIFF5 built-in color index - * - * @param int $subData - * @return array - */ - private static function _mapColorBIFF5($subData) - { - switch ($subData) { - case 0x08: return array('rgb' => '000000'); - case 0x09: return array('rgb' => 'FFFFFF'); - case 0x0A: return array('rgb' => 'FF0000'); - case 0x0B: return array('rgb' => '00FF00'); - case 0x0C: return array('rgb' => '0000FF'); - case 0x0D: return array('rgb' => 'FFFF00'); - case 0x0E: return array('rgb' => 'FF00FF'); - case 0x0F: return array('rgb' => '00FFFF'); - case 0x10: return array('rgb' => '800000'); - case 0x11: return array('rgb' => '008000'); - case 0x12: return array('rgb' => '000080'); - case 0x13: return array('rgb' => '808000'); - case 0x14: return array('rgb' => '800080'); - case 0x15: return array('rgb' => '008080'); - case 0x16: return array('rgb' => 'C0C0C0'); - case 0x17: return array('rgb' => '808080'); - case 0x18: return array('rgb' => '8080FF'); - case 0x19: return array('rgb' => '802060'); - case 0x1A: return array('rgb' => 'FFFFC0'); - case 0x1B: return array('rgb' => 'A0E0F0'); - case 0x1C: return array('rgb' => '600080'); - case 0x1D: return array('rgb' => 'FF8080'); - case 0x1E: return array('rgb' => '0080C0'); - case 0x1F: return array('rgb' => 'C0C0FF'); - case 0x20: return array('rgb' => '000080'); - case 0x21: return array('rgb' => 'FF00FF'); - case 0x22: return array('rgb' => 'FFFF00'); - case 0x23: return array('rgb' => '00FFFF'); - case 0x24: return array('rgb' => '800080'); - case 0x25: return array('rgb' => '800000'); - case 0x26: return array('rgb' => '008080'); - case 0x27: return array('rgb' => '0000FF'); - case 0x28: return array('rgb' => '00CFFF'); - case 0x29: return array('rgb' => '69FFFF'); - case 0x2A: return array('rgb' => 'E0FFE0'); - case 0x2B: return array('rgb' => 'FFFF80'); - case 0x2C: return array('rgb' => 'A6CAF0'); - case 0x2D: return array('rgb' => 'DD9CB3'); - case 0x2E: return array('rgb' => 'B38FEE'); - case 0x2F: return array('rgb' => 'E3E3E3'); - case 0x30: return array('rgb' => '2A6FF9'); - case 0x31: return array('rgb' => '3FB8CD'); - case 0x32: return array('rgb' => '488436'); - case 0x33: return array('rgb' => '958C41'); - case 0x34: return array('rgb' => '8E5E42'); - case 0x35: return array('rgb' => 'A0627A'); - case 0x36: return array('rgb' => '624FAC'); - case 0x37: return array('rgb' => '969696'); - case 0x38: return array('rgb' => '1D2FBE'); - case 0x39: return array('rgb' => '286676'); - case 0x3A: return array('rgb' => '004500'); - case 0x3B: return array('rgb' => '453E01'); - case 0x3C: return array('rgb' => '6A2813'); - case 0x3D: return array('rgb' => '85396A'); - case 0x3E: return array('rgb' => '4A3285'); - case 0x3F: return array('rgb' => '424242'); - default: return array('rgb' => '000000'); - } - } - - - /** - * Map color array from BIFF8 built-in color index - * - * @param int $subData - * @return array - */ - private static function _mapColor($subData) - { - switch ($subData) { - case 0x08: return array('rgb' => '000000'); - case 0x09: return array('rgb' => 'FFFFFF'); - case 0x0A: return array('rgb' => 'FF0000'); - case 0x0B: return array('rgb' => '00FF00'); - case 0x0C: return array('rgb' => '0000FF'); - case 0x0D: return array('rgb' => 'FFFF00'); - case 0x0E: return array('rgb' => 'FF00FF'); - case 0x0F: return array('rgb' => '00FFFF'); - case 0x10: return array('rgb' => '800000'); - case 0x11: return array('rgb' => '008000'); - case 0x12: return array('rgb' => '000080'); - case 0x13: return array('rgb' => '808000'); - case 0x14: return array('rgb' => '800080'); - case 0x15: return array('rgb' => '008080'); - case 0x16: return array('rgb' => 'C0C0C0'); - case 0x17: return array('rgb' => '808080'); - case 0x18: return array('rgb' => '9999FF'); - case 0x19: return array('rgb' => '993366'); - case 0x1A: return array('rgb' => 'FFFFCC'); - case 0x1B: return array('rgb' => 'CCFFFF'); - case 0x1C: return array('rgb' => '660066'); - case 0x1D: return array('rgb' => 'FF8080'); - case 0x1E: return array('rgb' => '0066CC'); - case 0x1F: return array('rgb' => 'CCCCFF'); - case 0x20: return array('rgb' => '000080'); - case 0x21: return array('rgb' => 'FF00FF'); - case 0x22: return array('rgb' => 'FFFF00'); - case 0x23: return array('rgb' => '00FFFF'); - case 0x24: return array('rgb' => '800080'); - case 0x25: return array('rgb' => '800000'); - case 0x26: return array('rgb' => '008080'); - case 0x27: return array('rgb' => '0000FF'); - case 0x28: return array('rgb' => '00CCFF'); - case 0x29: return array('rgb' => 'CCFFFF'); - case 0x2A: return array('rgb' => 'CCFFCC'); - case 0x2B: return array('rgb' => 'FFFF99'); - case 0x2C: return array('rgb' => '99CCFF'); - case 0x2D: return array('rgb' => 'FF99CC'); - case 0x2E: return array('rgb' => 'CC99FF'); - case 0x2F: return array('rgb' => 'FFCC99'); - case 0x30: return array('rgb' => '3366FF'); - case 0x31: return array('rgb' => '33CCCC'); - case 0x32: return array('rgb' => '99CC00'); - case 0x33: return array('rgb' => 'FFCC00'); - case 0x34: return array('rgb' => 'FF9900'); - case 0x35: return array('rgb' => 'FF6600'); - case 0x36: return array('rgb' => '666699'); - case 0x37: return array('rgb' => '969696'); - case 0x38: return array('rgb' => '003366'); - case 0x39: return array('rgb' => '339966'); - case 0x3A: return array('rgb' => '003300'); - case 0x3B: return array('rgb' => '333300'); - case 0x3C: return array('rgb' => '993300'); - case 0x3D: return array('rgb' => '993366'); - case 0x3E: return array('rgb' => '333399'); - case 0x3F: return array('rgb' => '333333'); - default: return array('rgb' => '000000'); - } - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText($is); - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/Escher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/Escher.php deleted file mode 100644 index 8dc5e902e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/Escher.php +++ /dev/null @@ -1,640 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Reader_Excel5_Escher - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel5_Escher -{ - const DGGCONTAINER = 0xF000; - const BSTORECONTAINER = 0xF001; - const DGCONTAINER = 0xF002; - const SPGRCONTAINER = 0xF003; - const SPCONTAINER = 0xF004; - const DGG = 0xF006; - const BSE = 0xF007; - const DG = 0xF008; - const SPGR = 0xF009; - const SP = 0xF00A; - const OPT = 0xF00B; - const CLIENTTEXTBOX = 0xF00D; - const CLIENTANCHOR = 0xF010; - const CLIENTDATA = 0xF011; - const BLIPJPEG = 0xF01D; - const BLIPPNG = 0xF01E; - const SPLITMENUCOLORS = 0xF11E; - const TERTIARYOPT = 0xF122; - - /** - * Escher stream data (binary) - * - * @var string - */ - private $_data; - - /** - * Size in bytes of the Escher stream data - * - * @var int - */ - private $_dataSize; - - /** - * Current position of stream pointer in Escher stream data - * - * @var int - */ - private $_pos; - - /** - * The object to be returned by the reader. Modified during load. - * - * @var mixed - */ - private $_object; - - /** - * Create a new PHPExcel_Reader_Excel5_Escher instance - * - * @param mixed $object - */ - public function __construct($object) - { - $this->_object = $object; - } - - /** - * Load Escher stream data. May be a partial Escher stream. - * - * @param string $data - */ - public function load($data) - { - $this->_data = $data; - - // total byte size of Excel data (workbook global substream + sheet substreams) - $this->_dataSize = strlen($this->_data); - - $this->_pos = 0; - - // Parse Escher stream - while ($this->_pos < $this->_dataSize) { - - // offset: 2; size: 2: Record Type - $fbt = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos + 2); - - switch ($fbt) { - case self::DGGCONTAINER: $this->_readDggContainer(); break; - case self::DGG: $this->_readDgg(); break; - case self::BSTORECONTAINER: $this->_readBstoreContainer(); break; - case self::BSE: $this->_readBSE(); break; - case self::BLIPJPEG: $this->_readBlipJPEG(); break; - case self::BLIPPNG: $this->_readBlipPNG(); break; - case self::OPT: $this->_readOPT(); break; - case self::TERTIARYOPT: $this->_readTertiaryOPT(); break; - case self::SPLITMENUCOLORS: $this->_readSplitMenuColors(); break; - case self::DGCONTAINER: $this->_readDgContainer(); break; - case self::DG: $this->_readDg(); break; - case self::SPGRCONTAINER: $this->_readSpgrContainer(); break; - case self::SPCONTAINER: $this->_readSpContainer(); break; - case self::SPGR: $this->_readSpgr(); break; - case self::SP: $this->_readSp(); break; - case self::CLIENTTEXTBOX: $this->_readClientTextbox(); break; - case self::CLIENTANCHOR: $this->_readClientAnchor(); break; - case self::CLIENTDATA: $this->_readClientData(); break; - default: $this->_readDefault(); break; - } - } - - return $this->_object; - } - - /** - * Read a generic record - */ - private function _readDefault() - { - // offset 0; size: 2; recVer and recInstance - $verInstance = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos); - - // offset: 2; size: 2: Record Type - $fbt = PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos + 2); - - // bit: 0-3; mask: 0x000F; recVer - $recVer = (0x000F & $verInstance) >> 0; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read DggContainer record (Drawing Group Container) - */ - private function _readDggContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $dggContainer = new PHPExcel_Shared_Escher_DggContainer(); - $this->_object->setDggContainer($dggContainer); - $reader = new PHPExcel_Reader_Excel5_Escher($dggContainer); - $reader->load($recordData); - } - - /** - * Read Dgg record (Drawing Group) - */ - private function _readDgg() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read BstoreContainer record (Blip Store Container) - */ - private function _readBstoreContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $bstoreContainer = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer(); - $this->_object->setBstoreContainer($bstoreContainer); - $reader = new PHPExcel_Reader_Excel5_Escher($bstoreContainer); - $reader->load($recordData); - } - - /** - * Read BSE record - */ - private function _readBSE() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // add BSE to BstoreContainer - $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE(); - $this->_object->addBSE($BSE); - - $BSE->setBLIPType($recInstance); - - // offset: 0; size: 1; btWin32 (MSOBLIPTYPE) - $btWin32 = ord($recordData[0]); - - // offset: 1; size: 1; btWin32 (MSOBLIPTYPE) - $btMacOS = ord($recordData[1]); - - // offset: 2; size: 16; MD4 digest - $rgbUid = substr($recordData, 2, 16); - - // offset: 18; size: 2; tag - $tag = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 18); - - // offset: 20; size: 4; size of BLIP in bytes - $size = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 20); - - // offset: 24; size: 4; number of references to this BLIP - $cRef = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 24); - - // offset: 28; size: 4; MSOFO file offset - $foDelay = PHPExcel_Reader_Excel5::_GetInt4d($recordData, 28); - - // offset: 32; size: 1; unused1 - $unused1 = ord($recordData{32}); - - // offset: 33; size: 1; size of nameData in bytes (including null terminator) - $cbName = ord($recordData{33}); - - // offset: 34; size: 1; unused2 - $unused2 = ord($recordData{34}); - - // offset: 35; size: 1; unused3 - $unused3 = ord($recordData{35}); - - // offset: 36; size: $cbName; nameData - $nameData = substr($recordData, 36, $cbName); - - // offset: 36 + $cbName, size: var; the BLIP data - $blipData = substr($recordData, 36 + $cbName); - - // record is a container, read contents - $reader = new PHPExcel_Reader_Excel5_Escher($BSE); - $reader->load($blipData); - } - - /** - * Read BlipJPEG record. Holds raw JPEG image data - */ - private function _readBlipJPEG() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - $pos = 0; - - // offset: 0; size: 16; rgbUid1 (MD4 digest of) - $rgbUid1 = substr($recordData, 0, 16); - $pos += 16; - - // offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3 - if (in_array($recInstance, array(0x046B, 0x06E3))) { - $rgbUid2 = substr($recordData, 16, 16); - $pos += 16; - } - - // offset: var; size: 1; tag - $tag = ord($recordData{$pos}); - $pos += 1; - - // offset: var; size: var; the raw image data - $data = substr($recordData, $pos); - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($data); - - $this->_object->setBlip($blip); - } - - /** - * Read BlipPNG record. Holds raw PNG image data - */ - private function _readBlipPNG() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - $pos = 0; - - // offset: 0; size: 16; rgbUid1 (MD4 digest of) - $rgbUid1 = substr($recordData, 0, 16); - $pos += 16; - - // offset: 16; size: 16; rgbUid2 (MD4 digest), only if $recInstance = 0x46B or 0x6E3 - if ($recInstance == 0x06E1) { - $rgbUid2 = substr($recordData, 16, 16); - $pos += 16; - } - - // offset: var; size: 1; tag - $tag = ord($recordData{$pos}); - $pos += 1; - - // offset: var; size: var; the raw image data - $data = substr($recordData, $pos); - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($data); - - $this->_object->setBlip($blip); - } - - /** - * Read OPT record. This record may occur within DggContainer record or SpContainer - */ - private function _readOPT() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - $this->_readOfficeArtRGFOPTE($recordData, $recInstance); - } - - /** - * Read TertiaryOPT record - */ - private function _readTertiaryOPT() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read SplitMenuColors record - */ - private function _readSplitMenuColors() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read DgContainer record (Drawing Container) - */ - private function _readDgContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $dgContainer = new PHPExcel_Shared_Escher_DgContainer(); - $this->_object->setDgContainer($dgContainer); - $reader = new PHPExcel_Reader_Excel5_Escher($dgContainer); - $escher = $reader->load($recordData); - } - - /** - * Read Dg record (Drawing) - */ - private function _readDg() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read SpgrContainer record (Shape Group Container) - */ - private function _readSpgrContainer() - { - // context is either context DgContainer or SpgrContainer - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $spgrContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer(); - - if ($this->_object instanceof PHPExcel_Shared_Escher_DgContainer) { - // DgContainer - $this->_object->setSpgrContainer($spgrContainer); - } else { - // SpgrContainer - $this->_object->addChild($spgrContainer); - } - - $reader = new PHPExcel_Reader_Excel5_Escher($spgrContainer); - $escher = $reader->load($recordData); - } - - /** - * Read SpContainer record (Shape Container) - */ - private function _readSpContainer() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // add spContainer to spgrContainer - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - $this->_object->addChild($spContainer); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // record is a container, read contents - $reader = new PHPExcel_Reader_Excel5_Escher($spContainer); - $escher = $reader->load($recordData); - } - - /** - * Read Spgr record (Shape Group) - */ - private function _readSpgr() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read Sp record (Shape) - */ - private function _readSp() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read ClientTextbox record - */ - private function _readClientTextbox() - { - // offset: 0; size: 2; recVer and recInstance - - // bit: 4-15; mask: 0xFFF0; recInstance - $recInstance = (0xFFF0 & PHPExcel_Reader_Excel5::_GetInt2d($this->_data, $this->_pos)) >> 4; - - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read ClientAnchor record. This record holds information about where the shape is anchored in worksheet - */ - private function _readClientAnchor() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - - // offset: 2; size: 2; upper-left corner column index (0-based) - $c1 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 2); - - // offset: 4; size: 2; upper-left corner horizontal offset in 1/1024 of column width - $startOffsetX = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 4); - - // offset: 6; size: 2; upper-left corner row index (0-based) - $r1 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 6); - - // offset: 8; size: 2; upper-left corner vertical offset in 1/256 of row height - $startOffsetY = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 8); - - // offset: 10; size: 2; bottom-right corner column index (0-based) - $c2 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 10); - - // offset: 12; size: 2; bottom-right corner horizontal offset in 1/1024 of column width - $endOffsetX = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 12); - - // offset: 14; size: 2; bottom-right corner row index (0-based) - $r2 = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 14); - - // offset: 16; size: 2; bottom-right corner vertical offset in 1/256 of row height - $endOffsetY = PHPExcel_Reader_Excel5::_GetInt2d($recordData, 16); - - // set the start coordinates - $this->_object->setStartCoordinates(PHPExcel_Cell::stringFromColumnIndex($c1) . ($r1 + 1)); - - // set the start offsetX - $this->_object->setStartOffsetX($startOffsetX); - - // set the start offsetY - $this->_object->setStartOffsetY($startOffsetY); - - // set the end coordinates - $this->_object->setEndCoordinates(PHPExcel_Cell::stringFromColumnIndex($c2) . ($r2 + 1)); - - // set the end offsetX - $this->_object->setEndOffsetX($endOffsetX); - - // set the end offsetY - $this->_object->setEndOffsetY($endOffsetY); - } - - /** - * Read ClientData record - */ - private function _readClientData() - { - $length = PHPExcel_Reader_Excel5::_GetInt4d($this->_data, $this->_pos + 4); - $recordData = substr($this->_data, $this->_pos + 8, $length); - - // move stream pointer to next record - $this->_pos += 8 + $length; - } - - /** - * Read OfficeArtRGFOPTE table of property-value pairs - * - * @param string $data Binary data - * @param int $n Number of properties - */ - private function _readOfficeArtRGFOPTE($data, $n) { - - $splicedComplexData = substr($data, 6 * $n); - - // loop through property-value pairs - for ($i = 0; $i < $n; ++$i) { - // read 6 bytes at a time - $fopte = substr($data, 6 * $i, 6); - - // offset: 0; size: 2; opid - $opid = PHPExcel_Reader_Excel5::_GetInt2d($fopte, 0); - - // bit: 0-13; mask: 0x3FFF; opid.opid - $opidOpid = (0x3FFF & $opid) >> 0; - - // bit: 14; mask 0x4000; 1 = value in op field is BLIP identifier - $opidFBid = (0x4000 & $opid) >> 14; - - // bit: 15; mask 0x8000; 1 = this is a complex property, op field specifies size of complex data - $opidFComplex = (0x8000 & $opid) >> 15; - - // offset: 2; size: 4; the value for this property - $op = PHPExcel_Reader_Excel5::_GetInt4d($fopte, 2); - - if ($opidFComplex) { - $complexData = substr($splicedComplexData, 0, $op); - $splicedComplexData = substr($splicedComplexData, $op); - - // we store string value with complex data - $value = $complexData; - } else { - // we store integer value - $value = $op; - } - - $this->_object->setOPT($opidOpid, $value); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/MD5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/MD5.php deleted file mode 100644 index 097e9753f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/MD5.php +++ /dev/null @@ -1,221 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_Excel5_MD5 - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel5_MD5 -{ - // Context - private $a; - private $b; - private $c; - private $d; - - - /** - * MD5 stream constructor - */ - public function __construct() - { - $this->reset(); - } - - - /** - * Reset the MD5 stream context - */ - public function reset() - { - $this->a = 0x67452301; - $this->b = 0xEFCDAB89; - $this->c = 0x98BADCFE; - $this->d = 0x10325476; - } - - - /** - * Get MD5 stream context - * - * @return string - */ - public function getContext() - { - $s = ''; - foreach (array('a', 'b', 'c', 'd') as $i) { - $v = $this->{$i}; - $s .= chr($v & 0xff); - $s .= chr(($v >> 8) & 0xff); - $s .= chr(($v >> 16) & 0xff); - $s .= chr(($v >> 24) & 0xff); - } - - return $s; - } - - - /** - * Add data to context - * - * @param string $data Data to add - */ - public function add($data) - { - $words = array_values(unpack('V16', $data)); - - $A = $this->a; - $B = $this->b; - $C = $this->c; - $D = $this->d; - - $F = array('PHPExcel_Reader_Excel5_MD5','F'); - $G = array('PHPExcel_Reader_Excel5_MD5','G'); - $H = array('PHPExcel_Reader_Excel5_MD5','H'); - $I = array('PHPExcel_Reader_Excel5_MD5','I'); - - /* ROUND 1 */ - self::step($F, $A, $B, $C, $D, $words[0], 7, 0xd76aa478); - self::step($F, $D, $A, $B, $C, $words[1], 12, 0xe8c7b756); - self::step($F, $C, $D, $A, $B, $words[2], 17, 0x242070db); - self::step($F, $B, $C, $D, $A, $words[3], 22, 0xc1bdceee); - self::step($F, $A, $B, $C, $D, $words[4], 7, 0xf57c0faf); - self::step($F, $D, $A, $B, $C, $words[5], 12, 0x4787c62a); - self::step($F, $C, $D, $A, $B, $words[6], 17, 0xa8304613); - self::step($F, $B, $C, $D, $A, $words[7], 22, 0xfd469501); - self::step($F, $A, $B, $C, $D, $words[8], 7, 0x698098d8); - self::step($F, $D, $A, $B, $C, $words[9], 12, 0x8b44f7af); - self::step($F, $C, $D, $A, $B, $words[10], 17, 0xffff5bb1); - self::step($F, $B, $C, $D, $A, $words[11], 22, 0x895cd7be); - self::step($F, $A, $B, $C, $D, $words[12], 7, 0x6b901122); - self::step($F, $D, $A, $B, $C, $words[13], 12, 0xfd987193); - self::step($F, $C, $D, $A, $B, $words[14], 17, 0xa679438e); - self::step($F, $B, $C, $D, $A, $words[15], 22, 0x49b40821); - - /* ROUND 2 */ - self::step($G, $A, $B, $C, $D, $words[1], 5, 0xf61e2562); - self::step($G, $D, $A, $B, $C, $words[6], 9, 0xc040b340); - self::step($G, $C, $D, $A, $B, $words[11], 14, 0x265e5a51); - self::step($G, $B, $C, $D, $A, $words[0], 20, 0xe9b6c7aa); - self::step($G, $A, $B, $C, $D, $words[5], 5, 0xd62f105d); - self::step($G, $D, $A, $B, $C, $words[10], 9, 0x02441453); - self::step($G, $C, $D, $A, $B, $words[15], 14, 0xd8a1e681); - self::step($G, $B, $C, $D, $A, $words[4], 20, 0xe7d3fbc8); - self::step($G, $A, $B, $C, $D, $words[9], 5, 0x21e1cde6); - self::step($G, $D, $A, $B, $C, $words[14], 9, 0xc33707d6); - self::step($G, $C, $D, $A, $B, $words[3], 14, 0xf4d50d87); - self::step($G, $B, $C, $D, $A, $words[8], 20, 0x455a14ed); - self::step($G, $A, $B, $C, $D, $words[13], 5, 0xa9e3e905); - self::step($G, $D, $A, $B, $C, $words[2], 9, 0xfcefa3f8); - self::step($G, $C, $D, $A, $B, $words[7], 14, 0x676f02d9); - self::step($G, $B, $C, $D, $A, $words[12], 20, 0x8d2a4c8a); - - /* ROUND 3 */ - self::step($H, $A, $B, $C, $D, $words[5], 4, 0xfffa3942); - self::step($H, $D, $A, $B, $C, $words[8], 11, 0x8771f681); - self::step($H, $C, $D, $A, $B, $words[11], 16, 0x6d9d6122); - self::step($H, $B, $C, $D, $A, $words[14], 23, 0xfde5380c); - self::step($H, $A, $B, $C, $D, $words[1], 4, 0xa4beea44); - self::step($H, $D, $A, $B, $C, $words[4], 11, 0x4bdecfa9); - self::step($H, $C, $D, $A, $B, $words[7], 16, 0xf6bb4b60); - self::step($H, $B, $C, $D, $A, $words[10], 23, 0xbebfbc70); - self::step($H, $A, $B, $C, $D, $words[13], 4, 0x289b7ec6); - self::step($H, $D, $A, $B, $C, $words[0], 11, 0xeaa127fa); - self::step($H, $C, $D, $A, $B, $words[3], 16, 0xd4ef3085); - self::step($H, $B, $C, $D, $A, $words[6], 23, 0x04881d05); - self::step($H, $A, $B, $C, $D, $words[9], 4, 0xd9d4d039); - self::step($H, $D, $A, $B, $C, $words[12], 11, 0xe6db99e5); - self::step($H, $C, $D, $A, $B, $words[15], 16, 0x1fa27cf8); - self::step($H, $B, $C, $D, $A, $words[2], 23, 0xc4ac5665); - - /* ROUND 4 */ - self::step($I, $A, $B, $C, $D, $words[0], 6, 0xf4292244); - self::step($I, $D, $A, $B, $C, $words[7], 10, 0x432aff97); - self::step($I, $C, $D, $A, $B, $words[14], 15, 0xab9423a7); - self::step($I, $B, $C, $D, $A, $words[5], 21, 0xfc93a039); - self::step($I, $A, $B, $C, $D, $words[12], 6, 0x655b59c3); - self::step($I, $D, $A, $B, $C, $words[3], 10, 0x8f0ccc92); - self::step($I, $C, $D, $A, $B, $words[10], 15, 0xffeff47d); - self::step($I, $B, $C, $D, $A, $words[1], 21, 0x85845dd1); - self::step($I, $A, $B, $C, $D, $words[8], 6, 0x6fa87e4f); - self::step($I, $D, $A, $B, $C, $words[15], 10, 0xfe2ce6e0); - self::step($I, $C, $D, $A, $B, $words[6], 15, 0xa3014314); - self::step($I, $B, $C, $D, $A, $words[13], 21, 0x4e0811a1); - self::step($I, $A, $B, $C, $D, $words[4], 6, 0xf7537e82); - self::step($I, $D, $A, $B, $C, $words[11], 10, 0xbd3af235); - self::step($I, $C, $D, $A, $B, $words[2], 15, 0x2ad7d2bb); - self::step($I, $B, $C, $D, $A, $words[9], 21, 0xeb86d391); - - $this->a = ($this->a + $A) & 0xffffffff; - $this->b = ($this->b + $B) & 0xffffffff; - $this->c = ($this->c + $C) & 0xffffffff; - $this->d = ($this->d + $D) & 0xffffffff; - } - - - private static function F($X, $Y, $Z) - { - return (($X & $Y) | ((~ $X) & $Z)); // X AND Y OR NOT X AND Z - } - - - private static function G($X, $Y, $Z) - { - return (($X & $Z) | ($Y & (~ $Z))); // X AND Z OR Y AND NOT Z - } - - - private static function H($X, $Y, $Z) - { - return ($X ^ $Y ^ $Z); // X XOR Y XOR Z - } - - - private static function I($X, $Y, $Z) - { - return ($Y ^ ($X | (~ $Z))) ; // Y XOR (X OR NOT Z) - } - - - private static function step($func, &$A, $B, $C, $D, $M, $s, $t) - { - $A = ($A + call_user_func($func, $B, $C, $D) + $M + $t) & 0xffffffff; - $A = self::rotate($A, $s); - $A = ($B + $A) & 0xffffffff; - } - - - private static function rotate($decimal, $bits) - { - $binary = str_pad(decbin($decimal), 32, "0", STR_PAD_LEFT); - return bindec(substr($binary, $bits).substr($binary, 0, $bits)); - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/RC4.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/RC4.php deleted file mode 100644 index 199ee1921..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/RC4.php +++ /dev/null @@ -1,88 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Reader_Excel5_RC4 - * - * @category PHPExcel - * @package PHPExcel_Reader_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Excel5_RC4 -{ - // Context - var $s = array(); - var $i = 0; - var $j = 0; - - /** - * RC4 stream decryption/encryption constrcutor - * - * @param string $key Encryption key/passphrase - */ - public function __construct($key) - { - $len = strlen($key); - - for ($this->i = 0; $this->i < 256; $this->i++) { - $this->s[$this->i] = $this->i; - } - - $this->j = 0; - for ($this->i = 0; $this->i < 256; $this->i++) { - $this->j = ($this->j + $this->s[$this->i] + ord($key[$this->i % $len])) % 256; - $t = $this->s[$this->i]; - $this->s[$this->i] = $this->s[$this->j]; - $this->s[$this->j] = $t; - } - $this->i = $this->j = 0; - } - - /** - * Symmetric decryption/encryption function - * - * @param string $data Data to encrypt/decrypt - * - * @return string - */ - public function RC4($data) - { - $len = strlen($data); - for ($c = 0; $c < $len; $c++) { - $this->i = ($this->i + 1) % 256; - $this->j = ($this->j + $this->s[$this->i]) % 256; - $t = $this->s[$this->i]; - $this->s[$this->i] = $this->s[$this->j]; - $this->s[$this->j] = $t; - - $t = ($this->s[$this->i] + $this->s[$this->j]) % 256; - - $data[$c] = chr(ord($data[$c]) ^ $this->s[$t]); - } - return $data; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Excel5/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Exception.php deleted file mode 100644 index d0e2f5707..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_Exception - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Exception extends PHPExcel_Exception { - /** - * Error handler callback - * - * @param mixed $code - * @param mixed $string - * @param mixed $file - * @param mixed $line - * @param mixed $context - */ - public static function errorHandlerCallback($code, $string, $file, $line, $context) { - $e = new self($string, $code); - $e->line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Gnumeric.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Gnumeric.php deleted file mode 100644 index d8121495d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/Gnumeric.php +++ /dev/null @@ -1,873 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_Gnumeric - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_Gnumeric extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Formats - * - * @var array - */ - private $_styles = array(); - - /** - * Shared Expressions - * - * @var array - */ - private $_expressions = array(); - - private $_referenceHelper = null; - - - /** - * Create a new PHPExcel_Reader_Gnumeric - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - $this->_referenceHelper = PHPExcel_ReferenceHelper::getInstance(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - // Check if gzlib functions are available - if (!function_exists('gzread')) { - throw new PHPExcel_Reader_Exception("gzlib library is not enabled"); - } - - // Read signature data (first 3 bytes) - $fh = fopen($pFilename, 'r'); - $data = fread($fh, 2); - fclose($fh); - - if ($data != chr(0x1F).chr(0x8B)) { - return false; - } - - return true; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $xml = new XMLReader(); - $xml->open( - 'compress.zlib://'.realpath($pFilename), null, PHPExcel_Settings::getLibXmlLoaderOptions() - ); - $xml->setParserProperty(2,true); - - $worksheetNames = array(); - while ($xml->read()) { - if ($xml->name == 'gnm:SheetName' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $worksheetNames[] = (string) $xml->value; - } elseif ($xml->name == 'gnm:Sheets') { - // break out of the loop once we've got our sheet names rather than parse the entire file - break; - } - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $xml = new XMLReader(); - $xml->open( - 'compress.zlib://'.realpath($pFilename), null, PHPExcel_Settings::getLibXmlLoaderOptions() - ); - $xml->setParserProperty(2,true); - - $worksheetInfo = array(); - while ($xml->read()) { - if ($xml->name == 'gnm:Sheet' && $xml->nodeType == XMLReader::ELEMENT) { - $tmpInfo = array( - 'worksheetName' => '', - 'lastColumnLetter' => 'A', - 'lastColumnIndex' => 0, - 'totalRows' => 0, - 'totalColumns' => 0, - ); - - while ($xml->read()) { - if ($xml->name == 'gnm:Name' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $tmpInfo['worksheetName'] = (string) $xml->value; - } elseif ($xml->name == 'gnm:MaxCol' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $tmpInfo['lastColumnIndex'] = (int) $xml->value; - $tmpInfo['totalColumns'] = (int) $xml->value + 1; - } elseif ($xml->name == 'gnm:MaxRow' && $xml->nodeType == XMLReader::ELEMENT) { - $xml->read(); // Move onto the value node - $tmpInfo['totalRows'] = (int) $xml->value + 1; - break; - } - } - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $worksheetInfo[] = $tmpInfo; - } - } - - return $worksheetInfo; - } - - - private function _gzfileGetContents($filename) { - $file = @gzopen($filename, 'rb'); - if ($file !== false) { - $data = ''; - while (!gzeof($file)) { - $data .= gzread($file, 1024); - } - gzclose($file); - } - return $data; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $timezoneObj = new DateTimeZone('Europe/London'); - $GMT = new DateTimeZone('UTC'); - - $gFileData = $this->_gzfileGetContents($pFilename); - -// echo '<pre>'; -// echo htmlentities($gFileData,ENT_QUOTES,'UTF-8'); -// echo '</pre><hr />'; -// - $xml = simplexml_load_string($gFileData, 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesMeta = $xml->getNamespaces(true); - -// var_dump($namespacesMeta); -// - $gnmXML = $xml->children($namespacesMeta['gnm']); - - $docProps = $objPHPExcel->getProperties(); - // Document Properties are held differently, depending on the version of Gnumeric - if (isset($namespacesMeta['office'])) { - $officeXML = $xml->children($namespacesMeta['office']); - $officeDocXML = $officeXML->{'document-meta'}; - $officeDocMetaXML = $officeDocXML->meta; - - foreach($officeDocMetaXML as $officePropertyData) { - - $officePropertyDC = array(); - if (isset($namespacesMeta['dc'])) { - $officePropertyDC = $officePropertyData->children($namespacesMeta['dc']); - } - foreach($officePropertyDC as $propertyName => $propertyValue) { - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'title' : - $docProps->setTitle(trim($propertyValue)); - break; - case 'subject' : - $docProps->setSubject(trim($propertyValue)); - break; - case 'creator' : - $docProps->setCreator(trim($propertyValue)); - $docProps->setLastModifiedBy(trim($propertyValue)); - break; - case 'date' : - $creationDate = strtotime(trim($propertyValue)); - $docProps->setCreated($creationDate); - $docProps->setModified($creationDate); - break; - case 'description' : - $docProps->setDescription(trim($propertyValue)); - break; - } - } - $officePropertyMeta = array(); - if (isset($namespacesMeta['meta'])) { - $officePropertyMeta = $officePropertyData->children($namespacesMeta['meta']); - } - foreach($officePropertyMeta as $propertyName => $propertyValue) { - $attributes = $propertyValue->attributes($namespacesMeta['meta']); - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'keyword' : - $docProps->setKeywords(trim($propertyValue)); - break; - case 'initial-creator' : - $docProps->setCreator(trim($propertyValue)); - $docProps->setLastModifiedBy(trim($propertyValue)); - break; - case 'creation-date' : - $creationDate = strtotime(trim($propertyValue)); - $docProps->setCreated($creationDate); - $docProps->setModified($creationDate); - break; - case 'user-defined' : - list(,$attrName) = explode(':',$attributes['name']); - switch ($attrName) { - case 'publisher' : - $docProps->setCompany(trim($propertyValue)); - break; - case 'category' : - $docProps->setCategory(trim($propertyValue)); - break; - case 'manager' : - $docProps->setManager(trim($propertyValue)); - break; - } - break; - } - } - } - } elseif (isset($gnmXML->Summary)) { - foreach($gnmXML->Summary->Item as $summaryItem) { - $propertyName = $summaryItem->name; - $propertyValue = $summaryItem->{'val-string'}; - switch ($propertyName) { - case 'title' : - $docProps->setTitle(trim($propertyValue)); - break; - case 'comments' : - $docProps->setDescription(trim($propertyValue)); - break; - case 'keywords' : - $docProps->setKeywords(trim($propertyValue)); - break; - case 'category' : - $docProps->setCategory(trim($propertyValue)); - break; - case 'manager' : - $docProps->setManager(trim($propertyValue)); - break; - case 'author' : - $docProps->setCreator(trim($propertyValue)); - $docProps->setLastModifiedBy(trim($propertyValue)); - break; - case 'company' : - $docProps->setCompany(trim($propertyValue)); - break; - } - } - } - - $worksheetID = 0; - foreach($gnmXML->Sheets->Sheet as $sheet) { - $worksheetName = (string) $sheet->Name; -// echo '<b>Worksheet: ',$worksheetName,'</b><br />'; - if ((isset($this->_loadSheetsOnly)) && (!in_array($worksheetName, $this->_loadSheetsOnly))) { - continue; - } - - $maxRow = $maxCol = 0; - - // Create new Worksheet - $objPHPExcel->createSheet(); - $objPHPExcel->setActiveSheetIndex($worksheetID); - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in formula - // cells... during the load, all formulae should be correct, and we're simply bringing the worksheet - // name in line with the formula, not the reverse - $objPHPExcel->getActiveSheet()->setTitle($worksheetName,false); - - if ((!$this->_readDataOnly) && (isset($sheet->PrintInformation))) { - if (isset($sheet->PrintInformation->Margins)) { - foreach($sheet->PrintInformation->Margins->children('gnm',TRUE) as $key => $margin) { - $marginAttributes = $margin->attributes(); - $marginSize = 72 / 100; // Default - switch($marginAttributes['PrefUnit']) { - case 'mm' : - $marginSize = intval($marginAttributes['Points']) / 100; - break; - } - switch($key) { - case 'top' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setTop($marginSize); - break; - case 'bottom' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setBottom($marginSize); - break; - case 'left' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setLeft($marginSize); - break; - case 'right' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setRight($marginSize); - break; - case 'header' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setHeader($marginSize); - break; - case 'footer' : - $objPHPExcel->getActiveSheet()->getPageMargins()->setFooter($marginSize); - break; - } - } - } - } - - foreach($sheet->Cells->Cell as $cell) { - $cellAttributes = $cell->attributes(); - $row = (int) $cellAttributes->Row + 1; - $column = (int) $cellAttributes->Col; - - if ($row > $maxRow) $maxRow = $row; - if ($column > $maxCol) $maxCol = $column; - - $column = PHPExcel_Cell::stringFromColumnIndex($column); - - // Read cell? - if ($this->getReadFilter() !== NULL) { - if (!$this->getReadFilter()->readCell($column, $row, $worksheetName)) { - continue; - } - } - - $ValueType = $cellAttributes->ValueType; - $ExprID = (string) $cellAttributes->ExprID; -// echo 'Cell ',$column,$row,'<br />'; -// echo 'Type is ',$ValueType,'<br />'; -// echo 'Value is ',$cell,'<br />'; - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; - if ($ExprID > '') { - if (((string) $cell) > '') { - - $this->_expressions[$ExprID] = array( 'column' => $cellAttributes->Col, - 'row' => $cellAttributes->Row, - 'formula' => (string) $cell - ); -// echo 'NEW EXPRESSION ',$ExprID,'<br />'; - } else { - $expression = $this->_expressions[$ExprID]; - - $cell = $this->_referenceHelper->updateFormulaReferences( $expression['formula'], - 'A1', - $cellAttributes->Col - $expression['column'], - $cellAttributes->Row - $expression['row'], - $worksheetName - ); -// echo 'SHARED EXPRESSION ',$ExprID,'<br />'; -// echo 'New Value is ',$cell,'<br />'; - } - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; - } else { - switch($ValueType) { - case '10' : // NULL - $type = PHPExcel_Cell_DataType::TYPE_NULL; - break; - case '20' : // Boolean - $type = PHPExcel_Cell_DataType::TYPE_BOOL; - $cell = ($cell == 'TRUE') ? True : False; - break; - case '30' : // Integer - $cell = intval($cell); - case '40' : // Float - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - break; - case '50' : // Error - $type = PHPExcel_Cell_DataType::TYPE_ERROR; - break; - case '60' : // String - $type = PHPExcel_Cell_DataType::TYPE_STRING; - break; - case '70' : // Cell Range - case '80' : // Array - } - } - $objPHPExcel->getActiveSheet()->getCell($column.$row)->setValueExplicit($cell,$type); - } - - if ((!$this->_readDataOnly) && (isset($sheet->Objects))) { - foreach($sheet->Objects->children('gnm',TRUE) as $key => $comment) { - $commentAttributes = $comment->attributes(); - // Only comment objects are handled at the moment - if ($commentAttributes->Text) { - $objPHPExcel->getActiveSheet()->getComment( (string)$commentAttributes->ObjectBound ) - ->setAuthor( (string)$commentAttributes->Author ) - ->setText($this->_parseRichText((string)$commentAttributes->Text) ); - } - } - } -// echo '$maxCol=',$maxCol,'; $maxRow=',$maxRow,'<br />'; -// - foreach($sheet->Styles->StyleRegion as $styleRegion) { - $styleAttributes = $styleRegion->attributes(); - if (($styleAttributes['startRow'] <= $maxRow) && - ($styleAttributes['startCol'] <= $maxCol)) { - - $startColumn = PHPExcel_Cell::stringFromColumnIndex((int) $styleAttributes['startCol']); - $startRow = $styleAttributes['startRow'] + 1; - - $endColumn = ($styleAttributes['endCol'] > $maxCol) ? $maxCol : (int) $styleAttributes['endCol']; - $endColumn = PHPExcel_Cell::stringFromColumnIndex($endColumn); - $endRow = ($styleAttributes['endRow'] > $maxRow) ? $maxRow : $styleAttributes['endRow']; - $endRow += 1; - $cellRange = $startColumn.$startRow.':'.$endColumn.$endRow; -// echo $cellRange,'<br />'; - - $styleAttributes = $styleRegion->Style->attributes(); -// var_dump($styleAttributes); -// echo '<br />'; - - // We still set the number format mask for date/time values, even if _readDataOnly is true - if ((!$this->_readDataOnly) || - (PHPExcel_Shared_Date::isDateTimeFormatCode((string) $styleAttributes['Format']))) { - $styleArray = array(); - $styleArray['numberformat']['code'] = (string) $styleAttributes['Format']; - // If _readDataOnly is false, we set all formatting information - if (!$this->_readDataOnly) { - switch($styleAttributes['HAlign']) { - case '1' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - break; - case '2' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_LEFT; - break; - case '4' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_RIGHT; - break; - case '8' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_CENTER; - break; - case '16' : - case '64' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS; - break; - case '32' : - $styleArray['alignment']['horizontal'] = PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY; - break; - } - - switch($styleAttributes['VAlign']) { - case '1' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_TOP; - break; - case '2' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_BOTTOM; - break; - case '4' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_CENTER; - break; - case '8' : - $styleArray['alignment']['vertical'] = PHPExcel_Style_Alignment::VERTICAL_JUSTIFY; - break; - } - - $styleArray['alignment']['wrap'] = ($styleAttributes['WrapText'] == '1') ? True : False; - $styleArray['alignment']['shrinkToFit'] = ($styleAttributes['ShrinkToFit'] == '1') ? True : False; - $styleArray['alignment']['indent'] = (intval($styleAttributes["Indent"]) > 0) ? $styleAttributes["indent"] : 0; - - $RGB = self::_parseGnumericColour($styleAttributes["Fore"]); - $styleArray['font']['color']['rgb'] = $RGB; - $RGB = self::_parseGnumericColour($styleAttributes["Back"]); - $shade = $styleAttributes["Shade"]; - if (($RGB != '000000') || ($shade != '0')) { - $styleArray['fill']['color']['rgb'] = $styleArray['fill']['startcolor']['rgb'] = $RGB; - $RGB2 = self::_parseGnumericColour($styleAttributes["PatternColor"]); - $styleArray['fill']['endcolor']['rgb'] = $RGB2; - switch($shade) { - case '1' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_SOLID; - break; - case '2' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR; - break; - case '3' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_GRADIENT_PATH; - break; - case '4' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN; - break; - case '5' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY; - break; - case '6' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID; - break; - case '7' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL; - break; - case '8' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS; - break; - case '9' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKUP; - break; - case '10' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL; - break; - case '11' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625; - break; - case '12' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_GRAY125; - break; - case '13' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN; - break; - case '14' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY; - break; - case '15' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID; - break; - case '16' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL; - break; - case '17' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS; - break; - case '18' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP; - break; - case '19' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL; - break; - case '20' : - $styleArray['fill']['type'] = PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY; - break; - } - } - - $fontAttributes = $styleRegion->Style->Font->attributes(); -// var_dump($fontAttributes); -// echo '<br />'; - $styleArray['font']['name'] = (string) $styleRegion->Style->Font; - $styleArray['font']['size'] = intval($fontAttributes['Unit']); - $styleArray['font']['bold'] = ($fontAttributes['Bold'] == '1') ? True : False; - $styleArray['font']['italic'] = ($fontAttributes['Italic'] == '1') ? True : False; - $styleArray['font']['strike'] = ($fontAttributes['StrikeThrough'] == '1') ? True : False; - switch($fontAttributes['Underline']) { - case '1' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_SINGLE; - break; - case '2' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_DOUBLE; - break; - case '3' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING; - break; - case '4' : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING; - break; - default : - $styleArray['font']['underline'] = PHPExcel_Style_Font::UNDERLINE_NONE; - break; - } - switch($fontAttributes['Script']) { - case '1' : - $styleArray['font']['superScript'] = True; - break; - case '-1' : - $styleArray['font']['subScript'] = True; - break; - } - - if (isset($styleRegion->Style->StyleBorder)) { - if (isset($styleRegion->Style->StyleBorder->Top)) { - $styleArray['borders']['top'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Top->attributes()); - } - if (isset($styleRegion->Style->StyleBorder->Bottom)) { - $styleArray['borders']['bottom'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Bottom->attributes()); - } - if (isset($styleRegion->Style->StyleBorder->Left)) { - $styleArray['borders']['left'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Left->attributes()); - } - if (isset($styleRegion->Style->StyleBorder->Right)) { - $styleArray['borders']['right'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Right->attributes()); - } - if ((isset($styleRegion->Style->StyleBorder->Diagonal)) && (isset($styleRegion->Style->StyleBorder->{'Rev-Diagonal'}))) { - $styleArray['borders']['diagonal'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Diagonal->attributes()); - $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_BOTH; - } elseif (isset($styleRegion->Style->StyleBorder->Diagonal)) { - $styleArray['borders']['diagonal'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->Diagonal->attributes()); - $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_UP; - } elseif (isset($styleRegion->Style->StyleBorder->{'Rev-Diagonal'})) { - $styleArray['borders']['diagonal'] = self::_parseBorderAttributes($styleRegion->Style->StyleBorder->{'Rev-Diagonal'}->attributes()); - $styleArray['borders']['diagonaldirection'] = PHPExcel_Style_Borders::DIAGONAL_DOWN; - } - } - if (isset($styleRegion->Style->HyperLink)) { - // TO DO - $hyperlink = $styleRegion->Style->HyperLink->attributes(); - } - } -// var_dump($styleArray); -// echo '<br />'; - $objPHPExcel->getActiveSheet()->getStyle($cellRange)->applyFromArray($styleArray); - } - } - } - - if ((!$this->_readDataOnly) && (isset($sheet->Cols))) { - // Column Widths - $columnAttributes = $sheet->Cols->attributes(); - $defaultWidth = $columnAttributes['DefaultSizePts'] / 5.4; - $c = 0; - foreach($sheet->Cols->ColInfo as $columnOverride) { - $columnAttributes = $columnOverride->attributes(); - $column = $columnAttributes['No']; - $columnWidth = $columnAttributes['Unit'] / 5.4; - $hidden = ((isset($columnAttributes['Hidden'])) && ($columnAttributes['Hidden'] == '1')) ? true : false; - $columnCount = (isset($columnAttributes['Count'])) ? $columnAttributes['Count'] : 1; - while ($c < $column) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($defaultWidth); - ++$c; - } - while (($c < ($column+$columnCount)) && ($c <= $maxCol)) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($columnWidth); - if ($hidden) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setVisible(false); - } - ++$c; - } - } - while ($c <= $maxCol) { - $objPHPExcel->getActiveSheet()->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($c))->setWidth($defaultWidth); - ++$c; - } - } - - if ((!$this->_readDataOnly) && (isset($sheet->Rows))) { - // Row Heights - $rowAttributes = $sheet->Rows->attributes(); - $defaultHeight = $rowAttributes['DefaultSizePts']; - $r = 0; - - foreach($sheet->Rows->RowInfo as $rowOverride) { - $rowAttributes = $rowOverride->attributes(); - $row = $rowAttributes['No']; - $rowHeight = $rowAttributes['Unit']; - $hidden = ((isset($rowAttributes['Hidden'])) && ($rowAttributes['Hidden'] == '1')) ? true : false; - $rowCount = (isset($rowAttributes['Count'])) ? $rowAttributes['Count'] : 1; - while ($r < $row) { - ++$r; - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($defaultHeight); - } - while (($r < ($row+$rowCount)) && ($r < $maxRow)) { - ++$r; - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($rowHeight); - if ($hidden) { - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setVisible(false); - } - } - } - while ($r < $maxRow) { - ++$r; - $objPHPExcel->getActiveSheet()->getRowDimension($r)->setRowHeight($defaultHeight); - } - } - - // Handle Merged Cells in this worksheet - if (isset($sheet->MergedRegions)) { - foreach($sheet->MergedRegions->Merge as $mergeCells) { - if (strpos($mergeCells,':') !== FALSE) { - $objPHPExcel->getActiveSheet()->mergeCells($mergeCells); - } - } - } - - $worksheetID++; - } - - // Loop through definedNames (global named ranges) - if (isset($gnmXML->Names)) { - foreach($gnmXML->Names->Name as $namedRange) { - $name = (string) $namedRange->name; - $range = (string) $namedRange->value; - if (stripos($range, '#REF!') !== false) { - continue; - } - - $range = explode('!',$range); - $range[0] = trim($range[0],"'");; - if ($worksheet = $objPHPExcel->getSheetByName($range[0])) { - $extractedRange = str_replace('$', '', $range[1]); - $objPHPExcel->addNamedRange( new PHPExcel_NamedRange($name, $worksheet, $extractedRange) ); - } - } - } - - - // Return - return $objPHPExcel; - } - - - private static function _parseBorderAttributes($borderAttributes) - { - $styleArray = array(); - - if (isset($borderAttributes["Color"])) { - $RGB = self::_parseGnumericColour($borderAttributes["Color"]); - $styleArray['color']['rgb'] = $RGB; - } - - switch ($borderAttributes["Style"]) { - case '0' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_NONE; - break; - case '1' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case '2' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUM; - break; - case '4' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHED; - break; - case '5' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_THICK; - break; - case '6' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DOUBLE; - break; - case '7' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DOTTED; - break; - case '9' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHDOT; - break; - case '10' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT; - break; - case '11' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_DASHDOTDOT; - break; - case '12' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT; - break; - case '13' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT; - break; - case '3' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_SLANTDASHDOT; - break; - case '8' : - $styleArray['style'] = PHPExcel_Style_Border::BORDER_MEDIUMDASHED; - break; - } - return $styleArray; - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText($is); - - return $value; - } - - - private static function _parseGnumericColour($gnmColour) { - list($gnmR,$gnmG,$gnmB) = explode(':',$gnmColour); - $gnmR = substr(str_pad($gnmR,4,'0',STR_PAD_RIGHT),0,2); - $gnmG = substr(str_pad($gnmG,4,'0',STR_PAD_RIGHT),0,2); - $gnmB = substr(str_pad($gnmB,4,'0',STR_PAD_RIGHT),0,2); - $RGB = $gnmR.$gnmG.$gnmB; -// echo 'Excel Colour: ',$RGB,'<br />'; - return $RGB; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/HTML.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/HTML.php deleted file mode 100644 index 6adcc857a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/HTML.php +++ /dev/null @@ -1,469 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_HTML - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Input encoding - * - * @var string - */ - private $_inputEncoding = 'ANSI'; - - /** - * Sheet index to read - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Formats - * - * @var array - */ - private $_formats = array( 'h1' => array( 'font' => array( 'bold' => true, - 'size' => 24, - ), - ), // Bold, 24pt - 'h2' => array( 'font' => array( 'bold' => true, - 'size' => 18, - ), - ), // Bold, 18pt - 'h3' => array( 'font' => array( 'bold' => true, - 'size' => 13.5, - ), - ), // Bold, 13.5pt - 'h4' => array( 'font' => array( 'bold' => true, - 'size' => 12, - ), - ), // Bold, 12pt - 'h5' => array( 'font' => array( 'bold' => true, - 'size' => 10, - ), - ), // Bold, 10pt - 'h6' => array( 'font' => array( 'bold' => true, - 'size' => 7.5, - ), - ), // Bold, 7.5pt - 'a' => array( 'font' => array( 'underline' => true, - 'color' => array( 'argb' => PHPExcel_Style_Color::COLOR_BLUE, - ), - ), - ), // Blue underlined - 'hr' => array( 'borders' => array( 'bottom' => array( 'style' => PHPExcel_Style_Border::BORDER_THIN, - 'color' => array( PHPExcel_Style_Color::COLOR_BLACK, - ), - ), - ), - ), // Bottom border - ); - - - /** - * Create a new PHPExcel_Reader_HTML - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - /** - * Validate that the current file is an HTML file - * - * @return boolean - */ - protected function _isValidFormat() - { - // Reading 2048 bytes should be enough to validate that the format is HTML - $data = fread($this->_fileHandle, 2048); - if ((strpos($data, '<') !== FALSE) && - (strlen($data) !== strlen(strip_tags($data)))) { - return TRUE; - } - - return FALSE; - } - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - /** - * Set input encoding - * - * @param string $pValue Input encoding - */ - public function setInputEncoding($pValue = 'ANSI') - { - $this->_inputEncoding = $pValue; - return $this; - } - - /** - * Get input encoding - * - * @return string - */ - public function getInputEncoding() - { - return $this->_inputEncoding; - } - - // Data Array used for testing only, should write to PHPExcel object on completion of tests - private $_dataArray = array(); - - private $_tableLevel = 0; - private $_nestedColumn = array('A'); - - private function _setTableStartColumn($column) { - if ($this->_tableLevel == 0) - $column = 'A'; - ++$this->_tableLevel; - $this->_nestedColumn[$this->_tableLevel] = $column; - - return $this->_nestedColumn[$this->_tableLevel]; - } - - private function _getTableStartColumn() { - return $this->_nestedColumn[$this->_tableLevel]; - } - - private function _releaseTableStartColumn() { - --$this->_tableLevel; - return array_pop($this->_nestedColumn); - } - - private function _flushCell($sheet,$column,$row,&$cellContent) { - if (is_string($cellContent)) { - // Simple String content - if (trim($cellContent) > '') { - // Only actually write it if there's content in the string -// echo 'FLUSH CELL: ' , $column , $row , ' => ' , $cellContent , '<br />'; - // Write to worksheet to be done here... - // ... we return the cell so we can mess about with styles more easily - $cell = $sheet->setCellValue($column.$row,$cellContent,true); - $this->_dataArray[$row][$column] = $cellContent; - } - } else { - // We have a Rich Text run - // TODO - $this->_dataArray[$row][$column] = 'RICH TEXT: ' . $cellContent; - } - $cellContent = (string) ''; - } - - private function _processDomElement(DOMNode $element, $sheet, &$row, &$column, &$cellContent){ - foreach($element->childNodes as $child){ - if ($child instanceof DOMText) { - $domText = preg_replace('/\s+/',' ',trim($child->nodeValue)); - if (is_string($cellContent)) { - // simply append the text if the cell content is a plain text string - $cellContent .= $domText; - } else { - // but if we have a rich text run instead, we need to append it correctly - // TODO - } - } elseif($child instanceof DOMElement) { -// echo '<b>DOM ELEMENT: </b>' , strtoupper($child->nodeName) , '<br />'; - - $attributeArray = array(); - foreach($child->attributes as $attribute) { -// echo '<b>ATTRIBUTE: </b>' , $attribute->name , ' => ' , $attribute->value , '<br />'; - $attributeArray[$attribute->name] = $attribute->value; - } - - switch($child->nodeName) { - case 'meta' : - foreach($attributeArray as $attributeName => $attributeValue) { - switch($attributeName) { - case 'content': - // TODO - // Extract character set, so we can convert to UTF-8 if required - break; - } - } - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - break; - case 'title' : - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - $sheet->setTitle($cellContent); - $cellContent = ''; - break; - case 'span' : - case 'div' : - case 'font' : - case 'i' : - case 'em' : - case 'strong': - case 'b' : -// echo 'STYLING, SPAN OR DIV<br />'; - if ($cellContent > '') - $cellContent .= ' '; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - if ($cellContent > '') - $cellContent .= ' '; -// echo 'END OF STYLING, SPAN OR DIV<br />'; - break; - case 'hr' : - $this->_flushCell($sheet,$column,$row,$cellContent); - ++$row; - if (isset($this->_formats[$child->nodeName])) { - $sheet->getStyle($column.$row)->applyFromArray($this->_formats[$child->nodeName]); - } else { - $cellContent = '----------'; - $this->_flushCell($sheet,$column,$row,$cellContent); - } - ++$row; - case 'br' : - if ($this->_tableLevel > 0) { - // If we're inside a table, replace with a \n - $cellContent .= "\n"; - } else { - // Otherwise flush our existing content and move the row cursor on - $this->_flushCell($sheet,$column,$row,$cellContent); - ++$row; - } -// echo 'HARD LINE BREAK: ' , '<br />'; - break; - case 'a' : -// echo 'START OF HYPERLINK: ' , '<br />'; - foreach($attributeArray as $attributeName => $attributeValue) { - switch($attributeName) { - case 'href': -// echo 'Link to ' , $attributeValue , '<br />'; - $sheet->getCell($column.$row)->getHyperlink()->setUrl($attributeValue); - if (isset($this->_formats[$child->nodeName])) { - $sheet->getStyle($column.$row)->applyFromArray($this->_formats[$child->nodeName]); - } - break; - } - } - $cellContent .= ' '; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF HYPERLINK:' , '<br />'; - break; - case 'h1' : - case 'h2' : - case 'h3' : - case 'h4' : - case 'h5' : - case 'h6' : - case 'ol' : - case 'ul' : - case 'p' : - if ($this->_tableLevel > 0) { - // If we're inside a table, replace with a \n - $cellContent .= "\n"; -// echo 'LIST ENTRY: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF LIST ENTRY:' , '<br />'; - } else { - if ($cellContent > '') { - $this->_flushCell($sheet,$column,$row,$cellContent); - $row += 2; - } -// echo 'START OF PARAGRAPH: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF PARAGRAPH:' , '<br />'; - $this->_flushCell($sheet,$column,$row,$cellContent); - - if (isset($this->_formats[$child->nodeName])) { - $sheet->getStyle($column.$row)->applyFromArray($this->_formats[$child->nodeName]); - } - - $row += 2; - $column = 'A'; - } - break; - case 'li' : - if ($this->_tableLevel > 0) { - // If we're inside a table, replace with a \n - $cellContent .= "\n"; -// echo 'LIST ENTRY: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF LIST ENTRY:' , '<br />'; - } else { - if ($cellContent > '') { - $this->_flushCell($sheet,$column,$row,$cellContent); - } - ++$row; -// echo 'LIST ENTRY: ' , '<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF LIST ENTRY:' , '<br />'; - $this->_flushCell($sheet,$column,$row,$cellContent); - $column = 'A'; - } - break; - case 'table' : - $this->_flushCell($sheet,$column,$row,$cellContent); - $column = $this->_setTableStartColumn($column); -// echo 'START OF TABLE LEVEL ' , $this->_tableLevel , '<br />'; - if ($this->_tableLevel > 1) - --$row; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF TABLE LEVEL ' , $this->_tableLevel , '<br />'; - $column = $this->_releaseTableStartColumn(); - if ($this->_tableLevel > 1) { - ++$column; - } else { - ++$row; - } - break; - case 'thead' : - case 'tbody' : - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - break; - case 'tr' : - ++$row; - $column = $this->_getTableStartColumn(); - $cellContent = ''; -// echo 'START OF TABLE ' , $this->_tableLevel , ' ROW<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF TABLE ' , $this->_tableLevel , ' ROW<br />'; - break; - case 'th' : - case 'td' : -// echo 'START OF TABLE ' , $this->_tableLevel , ' CELL<br />'; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); -// echo 'END OF TABLE ' , $this->_tableLevel , ' CELL<br />'; - $this->_flushCell($sheet,$column,$row,$cellContent); - ++$column; - break; - case 'body' : - $row = 1; - $column = 'A'; - $content = ''; - $this->_tableLevel = 0; - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - break; - default: - $this->_processDomElement($child,$sheet,$row,$column,$cellContent); - } - } - } - } - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Open file to validate - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid HTML file."); - } - // Close after validating - fclose ($this->_fileHandle); - - // Create new PHPExcel - while ($objPHPExcel->getSheetCount() <= $this->_sheetIndex) { - $objPHPExcel->createSheet(); - } - $objPHPExcel->setActiveSheetIndex( $this->_sheetIndex ); - - // Create a new DOM object - $dom = new DOMDocument; - // Reload the HTML file into the DOM object - if ((version_compare(PHP_VERSION, '5.4.0') >= 0) && defined(LIBXML_DTDLOAD)) { - $loaded = $dom->loadHTMLFile($pFilename, PHPExcel_Settings::getLibXmlLoaderOptions()); - } else { - $loaded = $dom->loadHTMLFile($pFilename); - } - if ($loaded === FALSE) { - throw new PHPExcel_Reader_Exception('Failed to load '. $pFilename. ' as a DOM Document'); - } - - // Discard white space - $dom->preserveWhiteSpace = false; - - - $row = 0; - $column = 'A'; - $content = ''; - $this->_processDomElement($dom,$objPHPExcel->getActiveSheet(),$row,$column,$content); - - // Return - return $objPHPExcel; - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Reader_HTML - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/IReadFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/IReadFilter.php deleted file mode 100644 index f27cff8b9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/IReadFilter.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_IReadFilter - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_Reader_IReadFilter -{ - /** - * Should this cell be read? - * - * @param $column String column index - * @param $row Row index - * @param $worksheetName Optional worksheet name - * @return boolean - */ - public function readCell($column, $row, $worksheetName = ''); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/IReader.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/IReader.php deleted file mode 100644 index b543df4a7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/IReader.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Reader_IReader - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_Reader_IReader -{ - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - */ - public function canRead($pFilename); - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/OOCalc.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/OOCalc.php deleted file mode 100644 index 4ffed2b3b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/OOCalc.php +++ /dev/null @@ -1,711 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_OOCalc - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_OOCalc extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Formats - * - * @var array - */ - private $_styles = array(); - - - /** - * Create a new PHPExcel_Reader_OOCalc - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - - /** - * Can the current PHPExcel_Reader_IReader read the file? - * - * @param string $pFilename - * @return boolean - * @throws PHPExcel_Reader_Exception - */ - public function canRead($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - // Check if zip class exists -// if (!class_exists($zipClass, FALSE)) { -// throw new PHPExcel_Reader_Exception($zipClass . " library is not enabled"); -// } - - $mimeType = 'UNKNOWN'; - // Load file - $zip = new $zipClass; - if ($zip->open($pFilename) === true) { - // check if it is an OOXML archive - $stat = $zip->statName('mimetype'); - if ($stat && ($stat['size'] <= 255)) { - $mimeType = $zip->getFromName($stat['name']); - } elseif($stat = $zip->statName('META-INF/manifest.xml')) { - $xml = simplexml_load_string($zip->getFromName('META-INF/manifest.xml'), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesContent = $xml->getNamespaces(true); - if (isset($namespacesContent['manifest'])) { - $manifest = $xml->children($namespacesContent['manifest']); - foreach($manifest as $manifestDataSet) { - $manifestAttributes = $manifestDataSet->attributes($namespacesContent['manifest']); - if ($manifestAttributes->{'full-path'} == '/') { - $mimeType = (string) $manifestAttributes->{'media-type'}; - break; - } - } - } - } - - $zip->close(); - - return ($mimeType === 'application/vnd.oasis.opendocument.spreadsheet'); - } - - return FALSE; - } - - - /** - * Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetNames($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - if (!$zip->open($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! Error opening file."); - } - - $worksheetNames = array(); - - $xml = new XMLReader(); - $res = $xml->open('zip://'.realpath($pFilename).'#content.xml', null, PHPExcel_Settings::getLibXmlLoaderOptions()); - $xml->setParserProperty(2,true); - - // Step into the first level of content of the XML - $xml->read(); - while ($xml->read()) { - // Quickly jump through to the office:body node - while ($xml->name !== 'office:body') { - if ($xml->isEmptyElement) - $xml->read(); - else - $xml->next(); - } - // Now read each node until we find our first table:table node - while ($xml->read()) { - if ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT) { - // Loop through each table:table node reading the table:name attribute for each worksheet name - do { - $worksheetNames[] = $xml->getAttribute('table:name'); - $xml->next(); - } while ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT); - } - } - } - - return $worksheetNames; - } - - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $worksheetInfo = array(); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - if (!$zip->open($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! Error opening file."); - } - - $xml = new XMLReader(); - $res = $xml->open('zip://'.realpath($pFilename).'#content.xml', null, PHPExcel_Settings::getLibXmlLoaderOptions()); - $xml->setParserProperty(2,true); - - // Step into the first level of content of the XML - $xml->read(); - while ($xml->read()) { - // Quickly jump through to the office:body node - while ($xml->name !== 'office:body') { - if ($xml->isEmptyElement) - $xml->read(); - else - $xml->next(); - } - // Now read each node until we find our first table:table node - while ($xml->read()) { - if ($xml->name == 'table:table' && $xml->nodeType == XMLReader::ELEMENT) { - $worksheetNames[] = $xml->getAttribute('table:name'); - - $tmpInfo = array( - 'worksheetName' => $xml->getAttribute('table:name'), - 'lastColumnLetter' => 'A', - 'lastColumnIndex' => 0, - 'totalRows' => 0, - 'totalColumns' => 0, - ); - - // Loop through each child node of the table:table element reading - $currCells = 0; - do { - $xml->read(); - if ($xml->name == 'table:table-row' && $xml->nodeType == XMLReader::ELEMENT) { - $rowspan = $xml->getAttribute('table:number-rows-repeated'); - $rowspan = empty($rowspan) ? 1 : $rowspan; - $tmpInfo['totalRows'] += $rowspan; - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $currCells = 0; - // Step into the row - $xml->read(); - do { - if ($xml->name == 'table:table-cell' && $xml->nodeType == XMLReader::ELEMENT) { - if (!$xml->isEmptyElement) { - $currCells++; - $xml->next(); - } else { - $xml->read(); - } - } elseif ($xml->name == 'table:covered-table-cell' && $xml->nodeType == XMLReader::ELEMENT) { - $mergeSize = $xml->getAttribute('table:number-columns-repeated'); - $currCells += $mergeSize; - $xml->read(); - } - } while ($xml->name != 'table:table-row'); - } - } while ($xml->name != 'table:table'); - - $tmpInfo['totalColumns'] = max($tmpInfo['totalColumns'],$currCells); - $tmpInfo['lastColumnIndex'] = $tmpInfo['totalColumns'] - 1; - $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); - $worksheetInfo[] = $tmpInfo; - } - } - -// foreach($workbookData->table as $worksheetDataSet) { -// $worksheetData = $worksheetDataSet->children($namespacesContent['table']); -// $worksheetDataAttributes = $worksheetDataSet->attributes($namespacesContent['table']); -// -// $rowIndex = 0; -// foreach ($worksheetData as $key => $rowData) { -// switch ($key) { -// case 'table-row' : -// $rowDataTableAttributes = $rowData->attributes($namespacesContent['table']); -// $rowRepeats = (isset($rowDataTableAttributes['number-rows-repeated'])) ? -// $rowDataTableAttributes['number-rows-repeated'] : 1; -// $columnIndex = 0; -// -// foreach ($rowData as $key => $cellData) { -// $cellDataTableAttributes = $cellData->attributes($namespacesContent['table']); -// $colRepeats = (isset($cellDataTableAttributes['number-columns-repeated'])) ? -// $cellDataTableAttributes['number-columns-repeated'] : 1; -// $cellDataOfficeAttributes = $cellData->attributes($namespacesContent['office']); -// if (isset($cellDataOfficeAttributes['value-type'])) { -// $tmpInfo['lastColumnIndex'] = max($tmpInfo['lastColumnIndex'], $columnIndex + $colRepeats - 1); -// $tmpInfo['totalRows'] = max($tmpInfo['totalRows'], $rowIndex + $rowRepeats); -// } -// $columnIndex += $colRepeats; -// } -// $rowIndex += $rowRepeats; -// break; -// } -// } -// -// $tmpInfo['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($tmpInfo['lastColumnIndex']); -// $tmpInfo['totalColumns'] = $tmpInfo['lastColumnIndex'] + 1; -// -// } -// } - } - - return $worksheetInfo; - } - - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - - private static function identifyFixedStyleValue($styleList,&$styleAttributeValue) { - $styleAttributeValue = strtolower($styleAttributeValue); - foreach($styleList as $style) { - if ($styleAttributeValue == strtolower($style)) { - $styleAttributeValue = $style; - return true; - } - } - return false; - } - - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Check if file exists - if (!file_exists($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! File does not exist."); - } - - $timezoneObj = new DateTimeZone('Europe/London'); - $GMT = new DateTimeZone('UTC'); - - $zipClass = PHPExcel_Settings::getZipClass(); - - $zip = new $zipClass; - if (!$zip->open($pFilename)) { - throw new PHPExcel_Reader_Exception("Could not open " . $pFilename . " for reading! Error opening file."); - } - -// echo '<h1>Meta Information</h1>'; - $xml = simplexml_load_string($zip->getFromName("meta.xml"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesMeta = $xml->getNamespaces(true); -// echo '<pre>'; -// print_r($namespacesMeta); -// echo '</pre><hr />'; - - $docProps = $objPHPExcel->getProperties(); - $officeProperty = $xml->children($namespacesMeta['office']); - foreach($officeProperty as $officePropertyData) { - $officePropertyDC = array(); - if (isset($namespacesMeta['dc'])) { - $officePropertyDC = $officePropertyData->children($namespacesMeta['dc']); - } - foreach($officePropertyDC as $propertyName => $propertyValue) { - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'title' : - $docProps->setTitle($propertyValue); - break; - case 'subject' : - $docProps->setSubject($propertyValue); - break; - case 'creator' : - $docProps->setCreator($propertyValue); - $docProps->setLastModifiedBy($propertyValue); - break; - case 'date' : - $creationDate = strtotime($propertyValue); - $docProps->setCreated($creationDate); - $docProps->setModified($creationDate); - break; - case 'description' : - $docProps->setDescription($propertyValue); - break; - } - } - $officePropertyMeta = array(); - if (isset($namespacesMeta['dc'])) { - $officePropertyMeta = $officePropertyData->children($namespacesMeta['meta']); - } - foreach($officePropertyMeta as $propertyName => $propertyValue) { - $propertyValueAttributes = $propertyValue->attributes($namespacesMeta['meta']); - $propertyValue = (string) $propertyValue; - switch ($propertyName) { - case 'initial-creator' : - $docProps->setCreator($propertyValue); - break; - case 'keyword' : - $docProps->setKeywords($propertyValue); - break; - case 'creation-date' : - $creationDate = strtotime($propertyValue); - $docProps->setCreated($creationDate); - break; - case 'user-defined' : - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING; - foreach ($propertyValueAttributes as $key => $value) { - if ($key == 'name') { - $propertyValueName = (string) $value; - } elseif($key == 'value-type') { - switch ($value) { - case 'date' : - $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue,'date'); - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_DATE; - break; - case 'boolean' : - $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue,'bool'); - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_BOOLEAN; - break; - case 'float' : - $propertyValue = PHPExcel_DocumentProperties::convertProperty($propertyValue,'r4'); - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_FLOAT; - break; - default : - $propertyValueType = PHPExcel_DocumentProperties::PROPERTY_TYPE_STRING; - } - } - } - $docProps->setCustomProperty($propertyValueName,$propertyValue,$propertyValueType); - break; - } - } - } - - -// echo '<h1>Workbook Content</h1>'; - $xml = simplexml_load_string($zip->getFromName("content.xml"), 'SimpleXMLElement', PHPExcel_Settings::getLibXmlLoaderOptions()); - $namespacesContent = $xml->getNamespaces(true); -// echo '<pre>'; -// print_r($namespacesContent); -// echo '</pre><hr />'; - - $workbook = $xml->children($namespacesContent['office']); - foreach($workbook->body->spreadsheet as $workbookData) { - $workbookData = $workbookData->children($namespacesContent['table']); - $worksheetID = 0; - foreach($workbookData->table as $worksheetDataSet) { - $worksheetData = $worksheetDataSet->children($namespacesContent['table']); -// print_r($worksheetData); -// echo '<br />'; - $worksheetDataAttributes = $worksheetDataSet->attributes($namespacesContent['table']); -// print_r($worksheetDataAttributes); -// echo '<br />'; - if ((isset($this->_loadSheetsOnly)) && (isset($worksheetDataAttributes['name'])) && - (!in_array($worksheetDataAttributes['name'], $this->_loadSheetsOnly))) { - continue; - } - -// echo '<h2>Worksheet '.$worksheetDataAttributes['name'].'</h2>'; - // Create new Worksheet - $objPHPExcel->createSheet(); - $objPHPExcel->setActiveSheetIndex($worksheetID); - if (isset($worksheetDataAttributes['name'])) { - $worksheetName = (string) $worksheetDataAttributes['name']; - // Use false for $updateFormulaCellReferences to prevent adjustment of worksheet references in - // formula cells... during the load, all formulae should be correct, and we're simply - // bringing the worksheet name in line with the formula, not the reverse - $objPHPExcel->getActiveSheet()->setTitle($worksheetName,false); - } - - $rowID = 1; - foreach($worksheetData as $key => $rowData) { -// echo '<b>'.$key.'</b><br />'; - switch ($key) { - case 'table-header-rows': - foreach ($rowData as $key=>$cellData) { - $rowData = $cellData; - break; - } - case 'table-row' : - $rowDataTableAttributes = $rowData->attributes($namespacesContent['table']); - $rowRepeats = (isset($rowDataTableAttributes['number-rows-repeated'])) ? - $rowDataTableAttributes['number-rows-repeated'] : 1; - $columnID = 'A'; - foreach($rowData as $key => $cellData) { - if ($this->getReadFilter() !== NULL) { - if (!$this->getReadFilter()->readCell($columnID, $rowID, $worksheetName)) { - continue; - } - } - -// echo '<b>'.$columnID.$rowID.'</b><br />'; - $cellDataText = (isset($namespacesContent['text'])) ? - $cellData->children($namespacesContent['text']) : - ''; - $cellDataOffice = $cellData->children($namespacesContent['office']); - $cellDataOfficeAttributes = $cellData->attributes($namespacesContent['office']); - $cellDataTableAttributes = $cellData->attributes($namespacesContent['table']); - -// echo 'Office Attributes: '; -// print_r($cellDataOfficeAttributes); -// echo '<br />Table Attributes: '; -// print_r($cellDataTableAttributes); -// echo '<br />Cell Data Text'; -// print_r($cellDataText); -// echo '<br />'; -// - $type = $formatting = $hyperlink = null; - $hasCalculatedValue = false; - $cellDataFormula = ''; - if (isset($cellDataTableAttributes['formula'])) { - $cellDataFormula = $cellDataTableAttributes['formula']; - $hasCalculatedValue = true; - } - - if (isset($cellDataOffice->annotation)) { -// echo 'Cell has comment<br />'; - $annotationText = $cellDataOffice->annotation->children($namespacesContent['text']); - $textArray = array(); - foreach($annotationText as $t) { - if (isset($t->span)) { - foreach($t->span as $text) { - $textArray[] = (string)$text; - } - } else { - $textArray[] = (string) $t; - } - } - $text = implode("\n",$textArray); -// echo $text,'<br />'; - $objPHPExcel->getActiveSheet()->getComment( $columnID.$rowID ) -// ->setAuthor( $author ) - ->setText($this->_parseRichText($text) ); - } - - if (isset($cellDataText->p)) { - // Consolidate if there are multiple p records (maybe with spans as well) - $dataArray = array(); - // Text can have multiple text:p and within those, multiple text:span. - // text:p newlines, but text:span does not. - // Also, here we assume there is no text data is span fields are specified, since - // we have no way of knowing proper positioning anyway. - foreach ($cellDataText->p as $pData) { - if (isset($pData->span)) { - // span sections do not newline, so we just create one large string here - $spanSection = ""; - foreach ($pData->span as $spanData) { - $spanSection .= $spanData; - } - array_push($dataArray, $spanSection); - } else { - array_push($dataArray, $pData); - } - } - $allCellDataText = implode($dataArray, "\n"); - -// echo 'Value Type is '.$cellDataOfficeAttributes['value-type'].'<br />'; - switch ($cellDataOfficeAttributes['value-type']) { - case 'string' : - $type = PHPExcel_Cell_DataType::TYPE_STRING; - $dataValue = $allCellDataText; - if (isset($dataValue->a)) { - $dataValue = $dataValue->a; - $cellXLinkAttributes = $dataValue->attributes($namespacesContent['xlink']); - $hyperlink = $cellXLinkAttributes['href']; - } - break; - case 'boolean' : - $type = PHPExcel_Cell_DataType::TYPE_BOOL; - $dataValue = ($allCellDataText == 'TRUE') ? True : False; - break; - case 'percentage' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = (float) $cellDataOfficeAttributes['value']; - if (floor($dataValue) == $dataValue) { - $dataValue = (integer) $dataValue; - } - $formatting = PHPExcel_Style_NumberFormat::FORMAT_PERCENTAGE_00; - break; - case 'currency' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = (float) $cellDataOfficeAttributes['value']; - if (floor($dataValue) == $dataValue) { - $dataValue = (integer) $dataValue; - } - $formatting = PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_USD_SIMPLE; - break; - case 'float' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = (float) $cellDataOfficeAttributes['value']; - if (floor($dataValue) == $dataValue) { - if ($dataValue == (integer) $dataValue) - $dataValue = (integer) $dataValue; - else - $dataValue = (float) $dataValue; - } - break; - case 'date' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dateObj = new DateTime($cellDataOfficeAttributes['date-value'], $GMT); - $dateObj->setTimeZone($timezoneObj); - list($year,$month,$day,$hour,$minute,$second) = explode(' ',$dateObj->format('Y m d H i s')); - $dataValue = PHPExcel_Shared_Date::FormattedPHPToExcel($year,$month,$day,$hour,$minute,$second); - if ($dataValue != floor($dataValue)) { - $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15.' '.PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4; - } else { - $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15; - } - break; - case 'time' : - $type = PHPExcel_Cell_DataType::TYPE_NUMERIC; - $dataValue = PHPExcel_Shared_Date::PHPToExcel(strtotime('01-01-1970 '.implode(':',sscanf($cellDataOfficeAttributes['time-value'],'PT%dH%dM%dS')))); - $formatting = PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4; - break; - } -// echo 'Data value is '.$dataValue.'<br />'; -// if ($hyperlink !== NULL) { -// echo 'Hyperlink is '.$hyperlink.'<br />'; -// } - } else { - $type = PHPExcel_Cell_DataType::TYPE_NULL; - $dataValue = NULL; - } - - if ($hasCalculatedValue) { - $type = PHPExcel_Cell_DataType::TYPE_FORMULA; -// echo 'Formula: ', $cellDataFormula, PHP_EOL; - $cellDataFormula = substr($cellDataFormula,strpos($cellDataFormula,':=')+1); - $temp = explode('"',$cellDataFormula); - $tKey = false; - foreach($temp as &$value) { - // Only replace in alternate array entries (i.e. non-quoted blocks) - if ($tKey = !$tKey) { - $value = preg_replace('/\[([^\.]+)\.([^\.]+):\.([^\.]+)\]/Ui','$1!$2:$3',$value); // Cell range reference in another sheet - $value = preg_replace('/\[([^\.]+)\.([^\.]+)\]/Ui','$1!$2',$value); // Cell reference in another sheet - $value = preg_replace('/\[\.([^\.]+):\.([^\.]+)\]/Ui','$1:$2',$value); // Cell range reference - $value = preg_replace('/\[\.([^\.]+)\]/Ui','$1',$value); // Simple cell reference - $value = PHPExcel_Calculation::_translateSeparator(';',',',$value,$inBraces); - } - } - unset($value); - // Then rebuild the formula string - $cellDataFormula = implode('"',$temp); -// echo 'Adjusted Formula: ', $cellDataFormula, PHP_EOL; - } - - $colRepeats = (isset($cellDataTableAttributes['number-columns-repeated'])) ? - $cellDataTableAttributes['number-columns-repeated'] : 1; - if ($type !== NULL) { - for ($i = 0; $i < $colRepeats; ++$i) { - if ($i > 0) { - ++$columnID; - } - if ($type !== PHPExcel_Cell_DataType::TYPE_NULL) { - for ($rowAdjust = 0; $rowAdjust < $rowRepeats; ++$rowAdjust) { - $rID = $rowID + $rowAdjust; - $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->setValueExplicit((($hasCalculatedValue) ? $cellDataFormula : $dataValue),$type); - if ($hasCalculatedValue) { -// echo 'Forumla result is '.$dataValue.'<br />'; - $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->setCalculatedValue($dataValue); - } - if ($formatting !== NULL) { - $objPHPExcel->getActiveSheet()->getStyle($columnID.$rID)->getNumberFormat()->setFormatCode($formatting); - } else { - $objPHPExcel->getActiveSheet()->getStyle($columnID.$rID)->getNumberFormat()->setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_GENERAL); - } - if ($hyperlink !== NULL) { - $objPHPExcel->getActiveSheet()->getCell($columnID.$rID)->getHyperlink()->setUrl($hyperlink); - } - } - } - } - } - - // Merged cells - if ((isset($cellDataTableAttributes['number-columns-spanned'])) || (isset($cellDataTableAttributes['number-rows-spanned']))) { - if (($type !== PHPExcel_Cell_DataType::TYPE_NULL) || (!$this->_readDataOnly)) { - $columnTo = $columnID; - if (isset($cellDataTableAttributes['number-columns-spanned'])) { - $columnTo = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($columnID) + $cellDataTableAttributes['number-columns-spanned'] -2); - } - $rowTo = $rowID; - if (isset($cellDataTableAttributes['number-rows-spanned'])) { - $rowTo = $rowTo + $cellDataTableAttributes['number-rows-spanned'] - 1; - } - $cellRange = $columnID.$rowID.':'.$columnTo.$rowTo; - $objPHPExcel->getActiveSheet()->mergeCells($cellRange); - } - } - - ++$columnID; - } - $rowID += $rowRepeats; - break; - } - } - ++$worksheetID; - } - } - - // Return - return $objPHPExcel; - } - - - private function _parseRichText($is = '') { - $value = new PHPExcel_RichText(); - - $value->createText($is); - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/SYLK.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/SYLK.php deleted file mode 100644 index b61118a3b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/SYLK.php +++ /dev/null @@ -1,450 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - -/** - * PHPExcel_Reader_SYLK - * - * @category PHPExcel - * @package PHPExcel_Reader - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Reader_SYLK extends PHPExcel_Reader_Abstract implements PHPExcel_Reader_IReader -{ - /** - * Input encoding - * - * @var string - */ - private $_inputEncoding = 'ANSI'; - - /** - * Sheet index to read - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Formats - * - * @var array - */ - private $_formats = array(); - - /** - * Format Count - * - * @var int - */ - private $_format = 0; - - /** - * Create a new PHPExcel_Reader_SYLK - */ - public function __construct() { - $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); - } - - /** - * Validate that the current file is a SYLK file - * - * @return boolean - */ - protected function _isValidFormat() - { - // Read sample data (first 2 KB will do) - $data = fread($this->_fileHandle, 2048); - - // Count delimiters in file - $delimiterCount = substr_count($data, ';'); - if ($delimiterCount < 1) { - return FALSE; - } - - // Analyze first line looking for ID; signature - $lines = explode("\n", $data); - if (substr($lines[0],0,4) != 'ID;P') { - return FALSE; - } - - return TRUE; - } - - /** - * Set input encoding - * - * @param string $pValue Input encoding - */ - public function setInputEncoding($pValue = 'ANSI') - { - $this->_inputEncoding = $pValue; - return $this; - } - - /** - * Get input encoding - * - * @return string - */ - public function getInputEncoding() - { - return $this->_inputEncoding; - } - - /** - * Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) - * - * @param string $pFilename - * @throws PHPExcel_Reader_Exception - */ - public function listWorksheetInfo($pFilename) - { - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - rewind($fileHandle); - - $worksheetInfo = array(); - $worksheetInfo[0]['worksheetName'] = 'Worksheet'; - $worksheetInfo[0]['lastColumnLetter'] = 'A'; - $worksheetInfo[0]['lastColumnIndex'] = 0; - $worksheetInfo[0]['totalRows'] = 0; - $worksheetInfo[0]['totalColumns'] = 0; - - // Loop through file - $rowData = array(); - - // loop through one row (line) at a time in the file - $rowIndex = 0; - while (($rowData = fgets($fileHandle)) !== FALSE) { - $columnIndex = 0; - - // convert SYLK encoded $rowData to UTF-8 - $rowData = PHPExcel_Shared_String::SYLKtoUTF8($rowData); - - // explode each row at semicolons while taking into account that literal semicolon (;) - // is escaped like this (;;) - $rowData = explode("\t",str_replace('¤',';',str_replace(';',"\t",str_replace(';;','¤',rtrim($rowData))))); - - $dataType = array_shift($rowData); - if ($dataType == 'C') { - // Read cell value data - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : - $columnIndex = substr($rowDatum,1) - 1; - break; - case 'R' : - case 'Y' : - $rowIndex = substr($rowDatum,1); - break; - } - - $worksheetInfo[0]['totalRows'] = max($worksheetInfo[0]['totalRows'], $rowIndex); - $worksheetInfo[0]['lastColumnIndex'] = max($worksheetInfo[0]['lastColumnIndex'], $columnIndex); - } - } - } - - $worksheetInfo[0]['lastColumnLetter'] = PHPExcel_Cell::stringFromColumnIndex($worksheetInfo[0]['lastColumnIndex']); - $worksheetInfo[0]['totalColumns'] = $worksheetInfo[0]['lastColumnIndex'] + 1; - - // Close file - fclose($fileHandle); - - return $worksheetInfo; - } - - /** - * Loads PHPExcel from file - * - * @param string $pFilename - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function load($pFilename) - { - // Create new PHPExcel - $objPHPExcel = new PHPExcel(); - - // Load into this instance - return $this->loadIntoExisting($pFilename, $objPHPExcel); - } - - /** - * Loads PHPExcel from file into PHPExcel instance - * - * @param string $pFilename - * @param PHPExcel $objPHPExcel - * @return PHPExcel - * @throws PHPExcel_Reader_Exception - */ - public function loadIntoExisting($pFilename, PHPExcel $objPHPExcel) - { - // Open file - $this->_openFile($pFilename); - if (!$this->_isValidFormat()) { - fclose ($this->_fileHandle); - throw new PHPExcel_Reader_Exception($pFilename . " is an Invalid Spreadsheet file."); - } - $fileHandle = $this->_fileHandle; - rewind($fileHandle); - - // Create new PHPExcel - while ($objPHPExcel->getSheetCount() <= $this->_sheetIndex) { - $objPHPExcel->createSheet(); - } - $objPHPExcel->setActiveSheetIndex( $this->_sheetIndex ); - - $fromFormats = array('\-', '\ '); - $toFormats = array('-', ' '); - - // Loop through file - $rowData = array(); - $column = $row = ''; - - // loop through one row (line) at a time in the file - while (($rowData = fgets($fileHandle)) !== FALSE) { - - // convert SYLK encoded $rowData to UTF-8 - $rowData = PHPExcel_Shared_String::SYLKtoUTF8($rowData); - - // explode each row at semicolons while taking into account that literal semicolon (;) - // is escaped like this (;;) - $rowData = explode("\t",str_replace('¤',';',str_replace(';',"\t",str_replace(';;','¤',rtrim($rowData))))); - - $dataType = array_shift($rowData); - // Read shared styles - if ($dataType == 'P') { - $formatArray = array(); - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'P' : $formatArray['numberformat']['code'] = str_replace($fromFormats,$toFormats,substr($rowDatum,1)); - break; - case 'E' : - case 'F' : $formatArray['font']['name'] = substr($rowDatum,1); - break; - case 'L' : $formatArray['font']['size'] = substr($rowDatum,1); - break; - case 'S' : $styleSettings = substr($rowDatum,1); - for ($i=0;$i<strlen($styleSettings);++$i) { - switch ($styleSettings{$i}) { - case 'I' : $formatArray['font']['italic'] = true; - break; - case 'D' : $formatArray['font']['bold'] = true; - break; - case 'T' : $formatArray['borders']['top']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'B' : $formatArray['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'L' : $formatArray['borders']['left']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'R' : $formatArray['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - } - } - break; - } - } - $this->_formats['P'.$this->_format++] = $formatArray; - // Read cell value data - } elseif ($dataType == 'C') { - $hasCalculatedValue = false; - $cellData = $cellDataFormula = ''; - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : $column = substr($rowDatum,1); - break; - case 'R' : - case 'Y' : $row = substr($rowDatum,1); - break; - case 'K' : $cellData = substr($rowDatum,1); - break; - case 'E' : $cellDataFormula = '='.substr($rowDatum,1); - // Convert R1C1 style references to A1 style references (but only when not quoted) - $temp = explode('"',$cellDataFormula); - $key = false; - foreach($temp as &$value) { - // Only count/replace in alternate array entries - if ($key = !$key) { - preg_match_all('/(R(\[?-?\d*\]?))(C(\[?-?\d*\]?))/',$value, $cellReferences,PREG_SET_ORDER+PREG_OFFSET_CAPTURE); - // Reverse the matches array, otherwise all our offsets will become incorrect if we modify our way - // through the formula from left to right. Reversing means that we work right to left.through - // the formula - $cellReferences = array_reverse($cellReferences); - // Loop through each R1C1 style reference in turn, converting it to its A1 style equivalent, - // then modify the formula to use that new reference - foreach($cellReferences as $cellReference) { - $rowReference = $cellReference[2][0]; - // Empty R reference is the current row - if ($rowReference == '') $rowReference = $row; - // Bracketed R references are relative to the current row - if ($rowReference{0} == '[') $rowReference = $row + trim($rowReference,'[]'); - $columnReference = $cellReference[4][0]; - // Empty C reference is the current column - if ($columnReference == '') $columnReference = $column; - // Bracketed C references are relative to the current column - if ($columnReference{0} == '[') $columnReference = $column + trim($columnReference,'[]'); - $A1CellReference = PHPExcel_Cell::stringFromColumnIndex($columnReference-1).$rowReference; - - $value = substr_replace($value,$A1CellReference,$cellReference[0][1],strlen($cellReference[0][0])); - } - } - } - unset($value); - // Then rebuild the formula string - $cellDataFormula = implode('"',$temp); - $hasCalculatedValue = true; - break; - } - } - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1); - $cellData = PHPExcel_Calculation::_unwrapResult($cellData); - - // Set cell value - $objPHPExcel->getActiveSheet()->getCell($columnLetter.$row)->setValue(($hasCalculatedValue) ? $cellDataFormula : $cellData); - if ($hasCalculatedValue) { - $cellData = PHPExcel_Calculation::_unwrapResult($cellData); - $objPHPExcel->getActiveSheet()->getCell($columnLetter.$row)->setCalculatedValue($cellData); - } - // Read cell formatting - } elseif ($dataType == 'F') { - $formatStyle = $columnWidth = $styleSettings = ''; - $styleData = array(); - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : $column = substr($rowDatum,1); - break; - case 'R' : - case 'Y' : $row = substr($rowDatum,1); - break; - case 'P' : $formatStyle = $rowDatum; - break; - case 'W' : list($startCol,$endCol,$columnWidth) = explode(' ',substr($rowDatum,1)); - break; - case 'S' : $styleSettings = substr($rowDatum,1); - for ($i=0;$i<strlen($styleSettings);++$i) { - switch ($styleSettings{$i}) { - case 'I' : $styleData['font']['italic'] = true; - break; - case 'D' : $styleData['font']['bold'] = true; - break; - case 'T' : $styleData['borders']['top']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'B' : $styleData['borders']['bottom']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'L' : $styleData['borders']['left']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - case 'R' : $styleData['borders']['right']['style'] = PHPExcel_Style_Border::BORDER_THIN; - break; - } - } - break; - } - } - if (($formatStyle > '') && ($column > '') && ($row > '')) { - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1); - if (isset($this->_formats[$formatStyle])) { - $objPHPExcel->getActiveSheet()->getStyle($columnLetter.$row)->applyFromArray($this->_formats[$formatStyle]); - } - } - if ((!empty($styleData)) && ($column > '') && ($row > '')) { - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($column-1); - $objPHPExcel->getActiveSheet()->getStyle($columnLetter.$row)->applyFromArray($styleData); - } - if ($columnWidth > '') { - if ($startCol == $endCol) { - $startCol = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $objPHPExcel->getActiveSheet()->getColumnDimension($startCol)->setWidth($columnWidth); - } else { - $startCol = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $endCol = PHPExcel_Cell::stringFromColumnIndex($endCol-1); - $objPHPExcel->getActiveSheet()->getColumnDimension($startCol)->setWidth($columnWidth); - do { - $objPHPExcel->getActiveSheet()->getColumnDimension(++$startCol)->setWidth($columnWidth); - } while ($startCol != $endCol); - } - } - } else { - foreach($rowData as $rowDatum) { - switch($rowDatum{0}) { - case 'C' : - case 'X' : $column = substr($rowDatum,1); - break; - case 'R' : - case 'Y' : $row = substr($rowDatum,1); - break; - } - } - } - } - - // Close file - fclose($fileHandle); - - // Return - return $objPHPExcel; - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Reader_SYLK - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Reader/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/ReferenceHelper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/ReferenceHelper.php deleted file mode 100644 index 9eadab4d5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/ReferenceHelper.php +++ /dev/null @@ -1,922 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_ReferenceHelper (Singleton) - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_ReferenceHelper -{ - /** Constants */ - /** Regular Expressions */ - const REFHELPER_REGEXP_CELLREF = '((\w*|\'[^!]*\')!)?(?<![:a-z\$])(\$?[a-z]{1,3}\$?\d+)(?=[^:!\d\'])'; - const REFHELPER_REGEXP_CELLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}\$?\d+):(\$?[a-z]{1,3}\$?\d+)'; - const REFHELPER_REGEXP_ROWRANGE = '((\w*|\'[^!]*\')!)?(\$?\d+):(\$?\d+)'; - const REFHELPER_REGEXP_COLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}):(\$?[a-z]{1,3})'; - - /** - * Instance of this class - * - * @var PHPExcel_ReferenceHelper - */ - private static $_instance; - - /** - * Get an instance of this class - * - * @return PHPExcel_ReferenceHelper - */ - public static function getInstance() { - if (!isset(self::$_instance) || (self::$_instance === NULL)) { - self::$_instance = new PHPExcel_ReferenceHelper(); - } - - return self::$_instance; - } - - /** - * Create a new PHPExcel_ReferenceHelper - */ - protected function __construct() { - } - - /** - * Compare two column addresses - * Intended for use as a Callback function for sorting column addresses by column - * - * @param string $a First column to test (e.g. 'AA') - * @param string $b Second column to test (e.g. 'Z') - * @return integer - */ - public static function columnSort($a, $b) { - return strcasecmp(strlen($a) . $a, strlen($b) . $b); - } - - /** - * Compare two column addresses - * Intended for use as a Callback function for reverse sorting column addresses by column - * - * @param string $a First column to test (e.g. 'AA') - * @param string $b Second column to test (e.g. 'Z') - * @return integer - */ - public static function columnReverseSort($a, $b) { - return 1 - strcasecmp(strlen($a) . $a, strlen($b) . $b); - } - - /** - * Compare two cell addresses - * Intended for use as a Callback function for sorting cell addresses by column and row - * - * @param string $a First cell to test (e.g. 'AA1') - * @param string $b Second cell to test (e.g. 'Z1') - * @return integer - */ - public static function cellSort($a, $b) { - sscanf($a,'%[A-Z]%d', $ac, $ar); - sscanf($b,'%[A-Z]%d', $bc, $br); - - if ($ar == $br) { - return strcasecmp(strlen($ac) . $ac, strlen($bc) . $bc); - } - return ($ar < $br) ? -1 : 1; - } - - /** - * Compare two cell addresses - * Intended for use as a Callback function for sorting cell addresses by column and row - * - * @param string $a First cell to test (e.g. 'AA1') - * @param string $b Second cell to test (e.g. 'Z1') - * @return integer - */ - public static function cellReverseSort($a, $b) { - sscanf($a,'%[A-Z]%d', $ac, $ar); - sscanf($b,'%[A-Z]%d', $bc, $br); - - if ($ar == $br) { - return 1 - strcasecmp(strlen($ac) . $ac, strlen($bc) . $bc); - } - return ($ar < $br) ? 1 : -1; - } - - /** - * Test whether a cell address falls within a defined range of cells - * - * @param string $cellAddress Address of the cell we're testing - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @return boolean - */ - private static function cellAddressInDeleteRange($cellAddress, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols) { - list($cellColumn, $cellRow) = PHPExcel_Cell::coordinateFromString($cellAddress); - $cellColumnIndex = PHPExcel_Cell::columnIndexFromString($cellColumn); - // Is cell within the range of rows/columns if we're deleting - if ($pNumRows < 0 && - ($cellRow >= ($beforeRow + $pNumRows)) && - ($cellRow < $beforeRow)) { - return TRUE; - } elseif ($pNumCols < 0 && - ($cellColumnIndex >= ($beforeColumnIndex + $pNumCols)) && - ($cellColumnIndex < $beforeColumnIndex)) { - return TRUE; - } - return FALSE; - } - - /** - * Update page breaks when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustPageBreaks(PHPExcel_Worksheet $pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aBreaks = $pSheet->getBreaks(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aBreaks, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aBreaks, array('PHPExcel_ReferenceHelper','cellSort')); - - foreach ($aBreaks as $key => $value) { - if (self::cellAddressInDeleteRange($key, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols)) { - // If we're deleting, then clear any defined breaks that are within the range - // of rows/columns that we're deleting - $pSheet->setBreak($key, PHPExcel_Worksheet::BREAK_NONE); - } else { - // Otherwise update any affected breaks by inserting a new break at the appropriate point - // and removing the old affected break - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->setBreak($newReference, $value) - ->setBreak($key, PHPExcel_Worksheet::BREAK_NONE); - } - } - } - } - - /** - * Update cell comments when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustComments($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aComments = $pSheet->getComments(); - $aNewComments = array(); // the new array of all comments - - foreach ($aComments as $key => &$value) { - // Any comments inside a deleted range will be ignored - if (!self::cellAddressInDeleteRange($key, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols)) { - // Otherwise build a new array of comments indexed by the adjusted cell reference - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - $aNewComments[$newReference] = $value; - } - } - // Replace the comments array with the new set of comments - $pSheet->setComments($aNewComments); - } - - /** - * Update hyperlinks when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustHyperlinks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aHyperlinkCollection = $pSheet->getHyperlinkCollection(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aHyperlinkCollection, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aHyperlinkCollection, array('PHPExcel_ReferenceHelper','cellSort')); - - foreach ($aHyperlinkCollection as $key => $value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->setHyperlink( $newReference, $value ); - $pSheet->setHyperlink( $key, null ); - } - } - } - - /** - * Update data validations when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustDataValidations($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aDataValidationCollection = $pSheet->getDataValidationCollection(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aDataValidationCollection, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aDataValidationCollection, array('PHPExcel_ReferenceHelper','cellSort')); - foreach ($aDataValidationCollection as $key => $value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->setDataValidation( $newReference, $value ); - $pSheet->setDataValidation( $key, null ); - } - } - } - - /** - * Update merged cells when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustMergeCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aMergeCells = $pSheet->getMergeCells(); - $aNewMergeCells = array(); // the new array of all merge cells - foreach ($aMergeCells as $key => &$value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - $aNewMergeCells[$newReference] = $newReference; - } - $pSheet->setMergeCells($aNewMergeCells); // replace the merge cells array - } - - /** - * Update protected cells when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustProtectedCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aProtectedCells = $pSheet->getProtectedCells(); - ($pNumCols > 0 || $pNumRows > 0) ? - uksort($aProtectedCells, array('PHPExcel_ReferenceHelper','cellReverseSort')) : - uksort($aProtectedCells, array('PHPExcel_ReferenceHelper','cellSort')); - foreach ($aProtectedCells as $key => $value) { - $newReference = $this->updateCellReference($key, $pBefore, $pNumCols, $pNumRows); - if ($key != $newReference) { - $pSheet->protectCells( $newReference, $value, true ); - $pSheet->unprotectCells( $key ); - } - } - } - - /** - * Update column dimensions when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustColumnDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aColumnDimensions = array_reverse($pSheet->getColumnDimensions(), true); - if (!empty($aColumnDimensions)) { - foreach ($aColumnDimensions as $objColumnDimension) { - $newReference = $this->updateCellReference($objColumnDimension->getColumnIndex() . '1', $pBefore, $pNumCols, $pNumRows); - list($newReference) = PHPExcel_Cell::coordinateFromString($newReference); - if ($objColumnDimension->getColumnIndex() != $newReference) { - $objColumnDimension->setColumnIndex($newReference); - } - } - $pSheet->refreshColumnDimensions(); - } - } - - /** - * Update row dimensions when inserting/deleting rows/columns - * - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @param string $pBefore Insert/Delete before this cell address (e.g. 'A1') - * @param integer $beforeColumnIndex Index number of the column we're inserting/deleting before - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $beforeRow Number of the row we're inserting/deleting before - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - */ - protected function _adjustRowDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) - { - $aRowDimensions = array_reverse($pSheet->getRowDimensions(), true); - if (!empty($aRowDimensions)) { - foreach ($aRowDimensions as $objRowDimension) { - $newReference = $this->updateCellReference('A' . $objRowDimension->getRowIndex(), $pBefore, $pNumCols, $pNumRows); - list(, $newReference) = PHPExcel_Cell::coordinateFromString($newReference); - if ($objRowDimension->getRowIndex() != $newReference) { - $objRowDimension->setRowIndex($newReference); - } - } - $pSheet->refreshRowDimensions(); - - $copyDimension = $pSheet->getRowDimension($beforeRow - 1); - for ($i = $beforeRow; $i <= $beforeRow - 1 + $pNumRows; ++$i) { - $newDimension = $pSheet->getRowDimension($i); - $newDimension->setRowHeight($copyDimension->getRowHeight()); - $newDimension->setVisible($copyDimension->getVisible()); - $newDimension->setOutlineLevel($copyDimension->getOutlineLevel()); - $newDimension->setCollapsed($copyDimension->getCollapsed()); - } - } - } - - /** - * Insert a new column or row, updating all possible related data - * - * @param string $pBefore Insert before this cell address (e.g. 'A1') - * @param integer $pNumCols Number of columns to insert/delete (negative values indicate deletion) - * @param integer $pNumRows Number of rows to insert/delete (negative values indicate deletion) - * @param PHPExcel_Worksheet $pSheet The worksheet that we're editing - * @throws PHPExcel_Exception - */ - public function insertNewBefore($pBefore = 'A1', $pNumCols = 0, $pNumRows = 0, PHPExcel_Worksheet $pSheet = NULL) - { - $remove = ($pNumCols < 0 || $pNumRows < 0); - $aCellCollection = $pSheet->getCellCollection(); - - // Get coordinates of $pBefore - $beforeColumn = 'A'; - $beforeRow = 1; - list($beforeColumn, $beforeRow) = PHPExcel_Cell::coordinateFromString($pBefore); - $beforeColumnIndex = PHPExcel_Cell::columnIndexFromString($beforeColumn); - - // Clear cells if we are removing columns or rows - $highestColumn = $pSheet->getHighestColumn(); - $highestRow = $pSheet->getHighestRow(); - - // 1. Clear column strips if we are removing columns - if ($pNumCols < 0 && $beforeColumnIndex - 2 + $pNumCols > 0) { - for ($i = 1; $i <= $highestRow - 1; ++$i) { - for ($j = $beforeColumnIndex - 1 + $pNumCols; $j <= $beforeColumnIndex - 2; ++$j) { - $coordinate = PHPExcel_Cell::stringFromColumnIndex($j) . $i; - $pSheet->removeConditionalStyles($coordinate); - if ($pSheet->cellExists($coordinate)) { - $pSheet->getCell($coordinate)->setValueExplicit('', PHPExcel_Cell_DataType::TYPE_NULL); - $pSheet->getCell($coordinate)->setXfIndex(0); - } - } - } - } - - // 2. Clear row strips if we are removing rows - if ($pNumRows < 0 && $beforeRow - 1 + $pNumRows > 0) { - for ($i = $beforeColumnIndex - 1; $i <= PHPExcel_Cell::columnIndexFromString($highestColumn) - 1; ++$i) { - for ($j = $beforeRow + $pNumRows; $j <= $beforeRow - 1; ++$j) { - $coordinate = PHPExcel_Cell::stringFromColumnIndex($i) . $j; - $pSheet->removeConditionalStyles($coordinate); - if ($pSheet->cellExists($coordinate)) { - $pSheet->getCell($coordinate)->setValueExplicit('', PHPExcel_Cell_DataType::TYPE_NULL); - $pSheet->getCell($coordinate)->setXfIndex(0); - } - } - } - } - - // Loop through cells, bottom-up, and change cell coordinates - if($remove) { - // It's faster to reverse and pop than to use unshift, especially with large cell collections - $aCellCollection = array_reverse($aCellCollection); - } - while ($cellID = array_pop($aCellCollection)) { - $cell = $pSheet->getCell($cellID); - $cellIndex = PHPExcel_Cell::columnIndexFromString($cell->getColumn()); - - if ($cellIndex-1 + $pNumCols < 0) { - continue; - } - - // New coordinates - $newCoordinates = PHPExcel_Cell::stringFromColumnIndex($cellIndex-1 + $pNumCols) . ($cell->getRow() + $pNumRows); - - // Should the cell be updated? Move value and cellXf index from one cell to another. - if (($cellIndex >= $beforeColumnIndex) && - ($cell->getRow() >= $beforeRow)) { - - // Update cell styles - $pSheet->getCell($newCoordinates)->setXfIndex($cell->getXfIndex()); - - // Insert this cell at its new location - if ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA) { - // Formula should be adjusted - $pSheet->getCell($newCoordinates) - ->setValue($this->updateFormulaReferences($cell->getValue(), - $pBefore, $pNumCols, $pNumRows, $pSheet->getTitle())); - } else { - // Formula should not be adjusted - $pSheet->getCell($newCoordinates)->setValue($cell->getValue()); - } - - // Clear the original cell - $pSheet->getCellCacheController()->deleteCacheData($cellID); - - } else { - /* We don't need to update styles for rows/columns before our insertion position, - but we do still need to adjust any formulae in those cells */ - if ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA) { - // Formula should be adjusted - $cell->setValue($this->updateFormulaReferences($cell->getValue(), - $pBefore, $pNumCols, $pNumRows, $pSheet->getTitle())); - } - - } - } - - // Duplicate styles for the newly inserted cells - $highestColumn = $pSheet->getHighestColumn(); - $highestRow = $pSheet->getHighestRow(); - - if ($pNumCols > 0 && $beforeColumnIndex - 2 > 0) { - for ($i = $beforeRow; $i <= $highestRow - 1; ++$i) { - - // Style - $coordinate = PHPExcel_Cell::stringFromColumnIndex( $beforeColumnIndex - 2 ) . $i; - if ($pSheet->cellExists($coordinate)) { - $xfIndex = $pSheet->getCell($coordinate)->getXfIndex(); - $conditionalStyles = $pSheet->conditionalStylesExists($coordinate) ? - $pSheet->getConditionalStyles($coordinate) : false; - for ($j = $beforeColumnIndex - 1; $j <= $beforeColumnIndex - 2 + $pNumCols; ++$j) { - $pSheet->getCellByColumnAndRow($j, $i)->setXfIndex($xfIndex); - if ($conditionalStyles) { - $cloned = array(); - foreach ($conditionalStyles as $conditionalStyle) { - $cloned[] = clone $conditionalStyle; - } - $pSheet->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($j) . $i, $cloned); - } - } - } - - } - } - - if ($pNumRows > 0 && $beforeRow - 1 > 0) { - for ($i = $beforeColumnIndex - 1; $i <= PHPExcel_Cell::columnIndexFromString($highestColumn) - 1; ++$i) { - - // Style - $coordinate = PHPExcel_Cell::stringFromColumnIndex($i) . ($beforeRow - 1); - if ($pSheet->cellExists($coordinate)) { - $xfIndex = $pSheet->getCell($coordinate)->getXfIndex(); - $conditionalStyles = $pSheet->conditionalStylesExists($coordinate) ? - $pSheet->getConditionalStyles($coordinate) : false; - for ($j = $beforeRow; $j <= $beforeRow - 1 + $pNumRows; ++$j) { - $pSheet->getCell(PHPExcel_Cell::stringFromColumnIndex($i) . $j)->setXfIndex($xfIndex); - if ($conditionalStyles) { - $cloned = array(); - foreach ($conditionalStyles as $conditionalStyle) { - $cloned[] = clone $conditionalStyle; - } - $pSheet->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($i) . $j, $cloned); - } - } - } - } - } - - // Update worksheet: column dimensions - $this->_adjustColumnDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: row dimensions - $this->_adjustRowDimensions($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: page breaks - $this->_adjustPageBreaks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: comments - $this->_adjustComments($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: hyperlinks - $this->_adjustHyperlinks($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: data validations - $this->_adjustDataValidations($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: merge cells - $this->_adjustMergeCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: protected cells - $this->_adjustProtectedCells($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows); - - // Update worksheet: autofilter - $autoFilter = $pSheet->getAutoFilter(); - $autoFilterRange = $autoFilter->getRange(); - if (!empty($autoFilterRange)) { - if ($pNumCols != 0) { - $autoFilterColumns = array_keys($autoFilter->getColumns()); - if (count($autoFilterColumns) > 0) { - sscanf($pBefore,'%[A-Z]%d', $column, $row); - $columnIndex = PHPExcel_Cell::columnIndexFromString($column); - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($autoFilterRange); - if ($columnIndex <= $rangeEnd[0]) { - if ($pNumCols < 0) { - // If we're actually deleting any columns that fall within the autofilter range, - // then we delete any rules for those columns - $deleteColumn = $columnIndex + $pNumCols - 1; - $deleteCount = abs($pNumCols); - for ($i = 1; $i <= $deleteCount; ++$i) { - if (in_array(PHPExcel_Cell::stringFromColumnIndex($deleteColumn),$autoFilterColumns)) { - $autoFilter->clearColumn(PHPExcel_Cell::stringFromColumnIndex($deleteColumn)); - } - ++$deleteColumn; - } - } - $startCol = ($columnIndex > $rangeStart[0]) ? $columnIndex : $rangeStart[0]; - - // Shuffle columns in autofilter range - if ($pNumCols > 0) { - // For insert, we shuffle from end to beginning to avoid overwriting - $startColID = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $toColID = PHPExcel_Cell::stringFromColumnIndex($startCol+$pNumCols-1); - $endColID = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]); - - $startColRef = $startCol; - $endColRef = $rangeEnd[0]; - $toColRef = $rangeEnd[0]+$pNumCols; - - do { - $autoFilter->shiftColumn(PHPExcel_Cell::stringFromColumnIndex($endColRef-1),PHPExcel_Cell::stringFromColumnIndex($toColRef-1)); - --$endColRef; - --$toColRef; - } while ($startColRef <= $endColRef); - } else { - // For delete, we shuffle from beginning to end to avoid overwriting - $startColID = PHPExcel_Cell::stringFromColumnIndex($startCol-1); - $toColID = PHPExcel_Cell::stringFromColumnIndex($startCol+$pNumCols-1); - $endColID = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]); - do { - $autoFilter->shiftColumn($startColID,$toColID); - ++$startColID; - ++$toColID; - } while ($startColID != $endColID); - } - } - } - } - $pSheet->setAutoFilter( $this->updateCellReference($autoFilterRange, $pBefore, $pNumCols, $pNumRows) ); - } - - // Update worksheet: freeze pane - if ($pSheet->getFreezePane() != '') { - $pSheet->freezePane( $this->updateCellReference($pSheet->getFreezePane(), $pBefore, $pNumCols, $pNumRows) ); - } - - // Page setup - if ($pSheet->getPageSetup()->isPrintAreaSet()) { - $pSheet->getPageSetup()->setPrintArea( $this->updateCellReference($pSheet->getPageSetup()->getPrintArea(), $pBefore, $pNumCols, $pNumRows) ); - } - - // Update worksheet: drawings - $aDrawings = $pSheet->getDrawingCollection(); - foreach ($aDrawings as $objDrawing) { - $newReference = $this->updateCellReference($objDrawing->getCoordinates(), $pBefore, $pNumCols, $pNumRows); - if ($objDrawing->getCoordinates() != $newReference) { - $objDrawing->setCoordinates($newReference); - } - } - - // Update workbook: named ranges - if (count($pSheet->getParent()->getNamedRanges()) > 0) { - foreach ($pSheet->getParent()->getNamedRanges() as $namedRange) { - if ($namedRange->getWorksheet()->getHashCode() == $pSheet->getHashCode()) { - $namedRange->setRange( - $this->updateCellReference($namedRange->getRange(), $pBefore, $pNumCols, $pNumRows) - ); - } - } - } - - // Garbage collect - $pSheet->garbageCollect(); - } - - /** - * Update references within formulas - * - * @param string $pFormula Formula to update - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to insert - * @param int $pNumRows Number of rows to insert - * @param string $sheetName Worksheet name/title - * @return string Updated formula - * @throws PHPExcel_Exception - */ - public function updateFormulaReferences($pFormula = '', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0, $sheetName = '') { - // Update cell references in the formula - $formulaBlocks = explode('"',$pFormula); - $i = false; - foreach($formulaBlocks as &$formulaBlock) { - // Ignore blocks that were enclosed in quotes (alternating entries in the $formulaBlocks array after the explode) - if ($i = !$i) { - $adjustCount = 0; - $newCellTokens = $cellTokens = array(); - // Search for row ranges (e.g. 'Sheet1'!3:5 or 3:5) with or without $ absolutes (e.g. $3:5) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_ROWRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3].':'.$match[4]; - $modified3 = substr($this->updateCellReference('$A'.$match[3],$pBefore,$pNumCols,$pNumRows),2); - $modified4 = substr($this->updateCellReference('$A'.$match[4],$pBefore,$pNumCols,$pNumRows),2); - - if ($match[3].':'.$match[4] !== $modified3.':'.$modified4) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3.':'.$modified4; - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = 100000; - $row = 10000000+trim($match[3],'$'); - $cellIndex = $column.$row; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<!\d\$\!)'.preg_quote($fromString).'(?!\d)/i'; - ++$adjustCount; - } - } - } - } - // Search for column ranges (e.g. 'Sheet1'!C:E or C:E) with or without $ absolutes (e.g. $C:E) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_COLRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3].':'.$match[4]; - $modified3 = substr($this->updateCellReference($match[3].'$1',$pBefore,$pNumCols,$pNumRows),0,-2); - $modified4 = substr($this->updateCellReference($match[4].'$1',$pBefore,$pNumCols,$pNumRows),0,-2); - - if ($match[3].':'.$match[4] !== $modified3.':'.$modified4) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3.':'.$modified4; - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = PHPExcel_Cell::columnIndexFromString(trim($match[3],'$')) + 100000; - $row = 10000000; - $cellIndex = $column.$row; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<![A-Z\$\!])'.preg_quote($fromString).'(?![A-Z])/i'; - ++$adjustCount; - } - } - } - } - // Search for cell ranges (e.g. 'Sheet1'!A3:C5 or A3:C5) with or without $ absolutes (e.g. $A1:C$5) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_CELLRANGE.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3].':'.$match[4]; - $modified3 = $this->updateCellReference($match[3],$pBefore,$pNumCols,$pNumRows); - $modified4 = $this->updateCellReference($match[4],$pBefore,$pNumCols,$pNumRows); - - if ($match[3].$match[4] !== $modified3.$modified4) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3.':'.$modified4; - list($column,$row) = PHPExcel_Cell::coordinateFromString($match[3]); - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = PHPExcel_Cell::columnIndexFromString(trim($column,'$')) + 100000; - $row = trim($row,'$') + 10000000; - $cellIndex = $column.$row; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<![A-Z]\$\!)'.preg_quote($fromString).'(?!\d)/i'; - ++$adjustCount; - } - } - } - } - // Search for cell references (e.g. 'Sheet1'!A3 or C5) with or without $ absolutes (e.g. $A1 or C$5) - $matchCount = preg_match_all('/'.self::REFHELPER_REGEXP_CELLREF.'/i', ' '.$formulaBlock.' ', $matches, PREG_SET_ORDER); - - if ($matchCount > 0) { - foreach($matches as $match) { - $fromString = ($match[2] > '') ? $match[2].'!' : ''; - $fromString .= $match[3]; - - $modified3 = $this->updateCellReference($match[3],$pBefore,$pNumCols,$pNumRows); - if ($match[3] !== $modified3) { - if (($match[2] == '') || (trim($match[2],"'") == $sheetName)) { - $toString = ($match[2] > '') ? $match[2].'!' : ''; - $toString .= $modified3; - list($column,$row) = PHPExcel_Cell::coordinateFromString($match[3]); - // Max worksheet size is 1,048,576 rows by 16,384 columns in Excel 2007, so our adjustments need to be at least one digit more - $column = PHPExcel_Cell::columnIndexFromString(trim($column,'$')) + 100000; - $row = trim($row,'$') + 10000000; - $cellIndex = $row . $column; - - $newCellTokens[$cellIndex] = preg_quote($toString); - $cellTokens[$cellIndex] = '/(?<![A-Z\$\!])'.preg_quote($fromString).'(?!\d)/i'; - ++$adjustCount; - } - } - } - } - if ($adjustCount > 0) { - if ($pNumCols > 0 || $pNumRows > 0) { - krsort($cellTokens); - krsort($newCellTokens); - } else { - ksort($cellTokens); - ksort($newCellTokens); - } // Update cell references in the formula - $formulaBlock = str_replace('\\','',preg_replace($cellTokens,$newCellTokens,$formulaBlock)); - } - } - } - unset($formulaBlock); - - // Then rebuild the formula string - return implode('"',$formulaBlocks); - } - - /** - * Update cell reference - * - * @param string $pCellRange Cell range - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to increment - * @param int $pNumRows Number of rows to increment - * @return string Updated cell range - * @throws PHPExcel_Exception - */ - public function updateCellReference($pCellRange = 'A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0) { - // Is it in another worksheet? Will not have to update anything. - if (strpos($pCellRange, "!") !== false) { - return $pCellRange; - // Is it a range or a single cell? - } elseif (strpos($pCellRange, ':') === false && strpos($pCellRange, ',') === false) { - // Single cell - return $this->_updateSingleCellReference($pCellRange, $pBefore, $pNumCols, $pNumRows); - } elseif (strpos($pCellRange, ':') !== false || strpos($pCellRange, ',') !== false) { - // Range - return $this->_updateCellRange($pCellRange, $pBefore, $pNumCols, $pNumRows); - } else { - // Return original - return $pCellRange; - } - } - - /** - * Update named formulas (i.e. containing worksheet references / named ranges) - * - * @param PHPExcel $pPhpExcel Object to update - * @param string $oldName Old name (name to replace) - * @param string $newName New name - */ - public function updateNamedFormulas(PHPExcel $pPhpExcel, $oldName = '', $newName = '') { - if ($oldName == '') { - return; - } - - foreach ($pPhpExcel->getWorksheetIterator() as $sheet) { - foreach ($sheet->getCellCollection(false) as $cellID) { - $cell = $sheet->getCell($cellID); - if (($cell !== NULL) && ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_FORMULA)) { - $formula = $cell->getValue(); - if (strpos($formula, $oldName) !== false) { - $formula = str_replace("'" . $oldName . "'!", "'" . $newName . "'!", $formula); - $formula = str_replace($oldName . "!", $newName . "!", $formula); - $cell->setValueExplicit($formula, PHPExcel_Cell_DataType::TYPE_FORMULA); - } - } - } - } - } - - /** - * Update cell range - * - * @param string $pCellRange Cell range (e.g. 'B2:D4', 'B:C' or '2:3') - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to increment - * @param int $pNumRows Number of rows to increment - * @return string Updated cell range - * @throws PHPExcel_Exception - */ - private function _updateCellRange($pCellRange = 'A1:A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0) { - if (strpos($pCellRange,':') !== false || strpos($pCellRange, ',') !== false) { - // Update range - $range = PHPExcel_Cell::splitRange($pCellRange); - $ic = count($range); - for ($i = 0; $i < $ic; ++$i) { - $jc = count($range[$i]); - for ($j = 0; $j < $jc; ++$j) { - if (ctype_alpha($range[$i][$j])) { - $r = PHPExcel_Cell::coordinateFromString($this->_updateSingleCellReference($range[$i][$j].'1', $pBefore, $pNumCols, $pNumRows)); - $range[$i][$j] = $r[0]; - } elseif(ctype_digit($range[$i][$j])) { - $r = PHPExcel_Cell::coordinateFromString($this->_updateSingleCellReference('A'.$range[$i][$j], $pBefore, $pNumCols, $pNumRows)); - $range[$i][$j] = $r[1]; - } else { - $range[$i][$j] = $this->_updateSingleCellReference($range[$i][$j], $pBefore, $pNumCols, $pNumRows); - } - } - } - - // Recreate range string - return PHPExcel_Cell::buildRange($range); - } else { - throw new PHPExcel_Exception("Only cell ranges may be passed to this method."); - } - } - - /** - * Update single cell reference - * - * @param string $pCellReference Single cell reference - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to increment - * @param int $pNumRows Number of rows to increment - * @return string Updated cell reference - * @throws PHPExcel_Exception - */ - private function _updateSingleCellReference($pCellReference = 'A1', $pBefore = 'A1', $pNumCols = 0, $pNumRows = 0) { - if (strpos($pCellReference, ':') === false && strpos($pCellReference, ',') === false) { - // Get coordinates of $pBefore - list($beforeColumn, $beforeRow) = PHPExcel_Cell::coordinateFromString( $pBefore ); - - // Get coordinates of $pCellReference - list($newColumn, $newRow) = PHPExcel_Cell::coordinateFromString( $pCellReference ); - - // Verify which parts should be updated - $updateColumn = (($newColumn{0} != '$') && ($beforeColumn{0} != '$') && - PHPExcel_Cell::columnIndexFromString($newColumn) >= PHPExcel_Cell::columnIndexFromString($beforeColumn)); - $updateRow = (($newRow{0} != '$') && ($beforeRow{0} != '$') && - $newRow >= $beforeRow); - - // Create new column reference - if ($updateColumn) { - $newColumn = PHPExcel_Cell::stringFromColumnIndex( PHPExcel_Cell::columnIndexFromString($newColumn) - 1 + $pNumCols ); - } - - // Create new row reference - if ($updateRow) { - $newRow = $newRow + $pNumRows; - } - - // Return new reference - return $newColumn . $newRow; - } else { - throw new PHPExcel_Exception("Only single cell references may be passed to this method."); - } - } - - /** - * __clone implementation. Cloning should not be allowed in a Singleton! - * - * @throws PHPExcel_Exception - */ - public final function __clone() { - throw new PHPExcel_Exception("Cloning a Singleton is not allowed!"); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText.php deleted file mode 100644 index 19326315b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText.php +++ /dev/null @@ -1,199 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_RichText implements PHPExcel_IComparable -{ - /** - * Rich text elements - * - * @var PHPExcel_RichText_ITextElement[] - */ - private $_richTextElements; - - /** - * Create a new PHPExcel_RichText instance - * - * @param PHPExcel_Cell $pCell - * @throws PHPExcel_Exception - */ - public function __construct(PHPExcel_Cell $pCell = null) - { - // Initialise variables - $this->_richTextElements = array(); - - // Rich-Text string attached to cell? - if ($pCell !== NULL) { - // Add cell text and style - if ($pCell->getValue() != "") { - $objRun = new PHPExcel_RichText_Run($pCell->getValue()); - $objRun->setFont(clone $pCell->getParent()->getStyle($pCell->getCoordinate())->getFont()); - $this->addText($objRun); - } - - // Set parent value - $pCell->setValueExplicit($this, PHPExcel_Cell_DataType::TYPE_STRING); - } - } - - /** - * Add text - * - * @param PHPExcel_RichText_ITextElement $pText Rich text element - * @throws PHPExcel_Exception - * @return PHPExcel_RichText - */ - public function addText(PHPExcel_RichText_ITextElement $pText = null) - { - $this->_richTextElements[] = $pText; - return $this; - } - - /** - * Create text - * - * @param string $pText Text - * @return PHPExcel_RichText_TextElement - * @throws PHPExcel_Exception - */ - public function createText($pText = '') - { - $objText = new PHPExcel_RichText_TextElement($pText); - $this->addText($objText); - return $objText; - } - - /** - * Create text run - * - * @param string $pText Text - * @return PHPExcel_RichText_Run - * @throws PHPExcel_Exception - */ - public function createTextRun($pText = '') - { - $objText = new PHPExcel_RichText_Run($pText); - $this->addText($objText); - return $objText; - } - - /** - * Get plain text - * - * @return string - */ - public function getPlainText() - { - // Return value - $returnValue = ''; - - // Loop through all PHPExcel_RichText_ITextElement - foreach ($this->_richTextElements as $text) { - $returnValue .= $text->getText(); - } - - // Return - return $returnValue; - } - - /** - * Convert to string - * - * @return string - */ - public function __toString() - { - return $this->getPlainText(); - } - - /** - * Get Rich Text elements - * - * @return PHPExcel_RichText_ITextElement[] - */ - public function getRichTextElements() - { - return $this->_richTextElements; - } - - /** - * Set Rich Text elements - * - * @param PHPExcel_RichText_ITextElement[] $pElements Array of elements - * @throws PHPExcel_Exception - * @return PHPExcel_RichText - */ - public function setRichTextElements($pElements = null) - { - if (is_array($pElements)) { - $this->_richTextElements = $pElements; - } else { - throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed."); - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() - { - $hashElements = ''; - foreach ($this->_richTextElements as $element) { - $hashElements .= $element->getHashCode(); - } - - return md5( - $hashElements - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() - { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/ITextElement.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/ITextElement.php deleted file mode 100644 index 9f1c6240a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/ITextElement.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php -/** - * PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText_ITextElement - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_RichText_ITextElement -{ - /** - * Get text - * - * @return string Text - */ - public function getText(); - - /** - * Set text - * - * @param $pText string Text - * @return PHPExcel_RichText_ITextElement - */ - public function setText($pText = ''); - - /** - * Get font - * - * @return PHPExcel_Style_Font - */ - public function getFont(); - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode(); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/Run.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/Run.php deleted file mode 100644 index 4a8c592e3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/Run.php +++ /dev/null @@ -1,102 +0,0 @@ -<?php -/** - * PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText_Run - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_RichText_Run extends PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement -{ - /** - * Font - * - * @var PHPExcel_Style_Font - */ - private $_font; - - /** - * Create a new PHPExcel_RichText_Run instance - * - * @param string $pText Text - */ - public function __construct($pText = '') - { - // Initialise variables - $this->setText($pText); - $this->_font = new PHPExcel_Style_Font(); - } - - /** - * Get font - * - * @return PHPExcel_Style_Font - */ - public function getFont() { - return $this->_font; - } - - /** - * Set font - * - * @param PHPExcel_Style_Font $pFont Font - * @throws PHPExcel_Exception - * @return PHPExcel_RichText_ITextElement - */ - public function setFont(PHPExcel_Style_Font $pFont = null) { - $this->_font = $pFont; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->getText() - . $this->_font->getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/TextElement.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/TextElement.php deleted file mode 100644 index ec7c2644e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/TextElement.php +++ /dev/null @@ -1,108 +0,0 @@ -<?php -/** - * PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_RichText_TextElement - * - * @category PHPExcel - * @package PHPExcel_RichText - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_RichText_TextElement implements PHPExcel_RichText_ITextElement -{ - /** - * Text - * - * @var string - */ - private $_text; - - /** - * Create a new PHPExcel_RichText_TextElement instance - * - * @param string $pText Text - */ - public function __construct($pText = '') - { - // Initialise variables - $this->_text = $pText; - } - - /** - * Get text - * - * @return string Text - */ - public function getText() { - return $this->_text; - } - - /** - * Set text - * - * @param $pText string Text - * @return PHPExcel_RichText_ITextElement - */ - public function setText($pText = '') { - $this->_text = $pText; - return $this; - } - - /** - * Get font - * - * @return PHPExcel_Style_Font - */ - public function getFont() { - return null; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_text - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/RichText/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Settings.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Settings.php deleted file mode 100644 index c78d9350d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Settings.php +++ /dev/null @@ -1,391 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Settings - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -class PHPExcel_Settings -{ - /** constants */ - /** Available Zip library classes */ - const PCLZIP = 'PHPExcel_Shared_ZipArchive'; - const ZIPARCHIVE = 'ZipArchive'; - - /** Optional Chart Rendering libraries */ - const CHART_RENDERER_JPGRAPH = 'jpgraph'; - - /** Optional PDF Rendering libraries */ - const PDF_RENDERER_TCPDF = 'tcPDF'; - const PDF_RENDERER_DOMPDF = 'DomPDF'; - const PDF_RENDERER_MPDF = 'mPDF'; - - - private static $_chartRenderers = array( - self::CHART_RENDERER_JPGRAPH, - ); - - private static $_pdfRenderers = array( - self::PDF_RENDERER_TCPDF, - self::PDF_RENDERER_DOMPDF, - self::PDF_RENDERER_MPDF, - ); - - - /** - * Name of the class used for Zip file management - * e.g. - * ZipArchive - * - * @var string - */ - private static $_zipClass = self::ZIPARCHIVE; - - - /** - * Name of the external Library used for rendering charts - * e.g. - * jpgraph - * - * @var string - */ - private static $_chartRendererName = NULL; - - /** - * Directory Path to the external Library used for rendering charts - * - * @var string - */ - private static $_chartRendererPath = NULL; - - - /** - * Name of the external Library used for rendering PDF files - * e.g. - * mPDF - * - * @var string - */ - private static $_pdfRendererName = NULL; - - /** - * Directory Path to the external Library used for rendering PDF files - * - * @var string - */ - private static $_pdfRendererPath = NULL; - - /** - * Default options for libxml loader - * - * @var int - */ - private static $_libXmlLoaderOptions = null; - - /** - * Set the Zip handler Class that PHPExcel should use for Zip file management (PCLZip or ZipArchive) - * - * @param string $zipClass The Zip handler class that PHPExcel should use for Zip file management - * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive - * @return boolean Success or failure - */ - public static function setZipClass($zipClass) - { - if (($zipClass === self::PCLZIP) || - ($zipClass === self::ZIPARCHIVE)) { - self::$_zipClass = $zipClass; - return TRUE; - } - return FALSE; - } // function setZipClass() - - - /** - * Return the name of the Zip handler Class that PHPExcel is configured to use (PCLZip or ZipArchive) - * or Zip file management - * - * @return string Name of the Zip handler Class that PHPExcel is configured to use - * for Zip file management - * e.g. PHPExcel_Settings::PCLZip or PHPExcel_Settings::ZipArchive - */ - public static function getZipClass() - { - return self::$_zipClass; - } // function getZipClass() - - - /** - * Return the name of the method that is currently configured for cell cacheing - * - * @return string Name of the cacheing method - */ - public static function getCacheStorageMethod() - { - return PHPExcel_CachedObjectStorageFactory::getCacheStorageMethod(); - } // function getCacheStorageMethod() - - - /** - * Return the name of the class that is currently being used for cell cacheing - * - * @return string Name of the class currently being used for cacheing - */ - public static function getCacheStorageClass() - { - return PHPExcel_CachedObjectStorageFactory::getCacheStorageClass(); - } // function getCacheStorageClass() - - - /** - * Set the method that should be used for cell cacheing - * - * @param string $method Name of the cacheing method - * @param array $arguments Optional configuration arguments for the cacheing method - * @return boolean Success or failure - */ - public static function setCacheStorageMethod( - $method = PHPExcel_CachedObjectStorageFactory::cache_in_memory, - $arguments = array() - ) - { - return PHPExcel_CachedObjectStorageFactory::initialize($method, $arguments); - } // function setCacheStorageMethod() - - - /** - * Set the locale code to use for formula translations and any special formatting - * - * @param string $locale The locale code to use (e.g. "fr" or "pt_br" or "en_uk") - * @return boolean Success or failure - */ - public static function setLocale($locale='en_us') - { - return PHPExcel_Calculation::getInstance()->setLocale($locale); - } // function setLocale() - - - /** - * Set details of the external library that PHPExcel should use for rendering charts - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH - * @param string $libraryBaseDir Directory path to the library's base folder - * - * @return boolean Success or failure - */ - public static function setChartRenderer($libraryName, $libraryBaseDir) - { - if (!self::setChartRendererName($libraryName)) - return FALSE; - return self::setChartRendererPath($libraryBaseDir); - } // function setChartRenderer() - - - /** - * Identify to PHPExcel the external library to use for rendering charts - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH - * - * @return boolean Success or failure - */ - public static function setChartRendererName($libraryName) - { - if (!in_array($libraryName,self::$_chartRenderers)) { - return FALSE; - } - - self::$_chartRendererName = $libraryName; - - return TRUE; - } // function setChartRendererName() - - - /** - * Tell PHPExcel where to find the external library to use for rendering charts - * - * @param string $libraryBaseDir Directory path to the library's base folder - * @return boolean Success or failure - */ - public static function setChartRendererPath($libraryBaseDir) - { - if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) { - return FALSE; - } - self::$_chartRendererPath = $libraryBaseDir; - - return TRUE; - } // function setChartRendererPath() - - - /** - * Return the Chart Rendering Library that PHPExcel is currently configured to use (e.g. jpgraph) - * - * @return string|NULL Internal reference name of the Chart Rendering Library that PHPExcel is - * currently configured to use - * e.g. PHPExcel_Settings::CHART_RENDERER_JPGRAPH - */ - public static function getChartRendererName() - { - return self::$_chartRendererName; - } // function getChartRendererName() - - - /** - * Return the directory path to the Chart Rendering Library that PHPExcel is currently configured to use - * - * @return string|NULL Directory Path to the Chart Rendering Library that PHPExcel is - * currently configured to use - */ - public static function getChartRendererPath() - { - return self::$_chartRendererPath; - } // function getChartRendererPath() - - - /** - * Set details of the external library that PHPExcel should use for rendering PDF files - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, - * PHPExcel_Settings::PDF_RENDERER_DOMPDF - * or PHPExcel_Settings::PDF_RENDERER_MPDF - * @param string $libraryBaseDir Directory path to the library's base folder - * - * @return boolean Success or failure - */ - public static function setPdfRenderer($libraryName, $libraryBaseDir) - { - if (!self::setPdfRendererName($libraryName)) - return FALSE; - return self::setPdfRendererPath($libraryBaseDir); - } // function setPdfRenderer() - - - /** - * Identify to PHPExcel the external library to use for rendering PDF files - * - * @param string $libraryName Internal reference name of the library - * e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, - * PHPExcel_Settings::PDF_RENDERER_DOMPDF - * or PHPExcel_Settings::PDF_RENDERER_MPDF - * - * @return boolean Success or failure - */ - public static function setPdfRendererName($libraryName) - { - if (!in_array($libraryName,self::$_pdfRenderers)) { - return FALSE; - } - - self::$_pdfRendererName = $libraryName; - - return TRUE; - } // function setPdfRendererName() - - - /** - * Tell PHPExcel where to find the external library to use for rendering PDF files - * - * @param string $libraryBaseDir Directory path to the library's base folder - * @return boolean Success or failure - */ - public static function setPdfRendererPath($libraryBaseDir) - { - if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) { - return FALSE; - } - self::$_pdfRendererPath = $libraryBaseDir; - - return TRUE; - } // function setPdfRendererPath() - - - /** - * Return the PDF Rendering Library that PHPExcel is currently configured to use (e.g. dompdf) - * - * @return string|NULL Internal reference name of the PDF Rendering Library that PHPExcel is - * currently configured to use - * e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, - * PHPExcel_Settings::PDF_RENDERER_DOMPDF - * or PHPExcel_Settings::PDF_RENDERER_MPDF - */ - public static function getPdfRendererName() - { - return self::$_pdfRendererName; - } // function getPdfRendererName() - - /** - * Return the directory path to the PDF Rendering Library that PHPExcel is currently configured to use - * - * @return string|NULL Directory Path to the PDF Rendering Library that PHPExcel is - * currently configured to use - */ - public static function getPdfRendererPath() - { - return self::$_pdfRendererPath; - } // function getPdfRendererPath() - - /** - * Set default options for libxml loader - * - * @param int $options Default options for libxml loader - */ - public static function setLibXmlLoaderOptions($options = null) - { - if (is_null($options) && defined(LIBXML_DTDLOAD)) { - $options = LIBXML_DTDLOAD | LIBXML_DTDATTR; - } - if (version_compare(PHP_VERSION, '5.2.11') >= 0) { - @libxml_disable_entity_loader($options == (LIBXML_DTDLOAD | LIBXML_DTDATTR)); - } - self::$_libXmlLoaderOptions = $options; - } // function setLibXmlLoaderOptions - - /** - * Get default options for libxml loader. - * Defaults to LIBXML_DTDLOAD | LIBXML_DTDATTR when not set explicitly. - * - * @return int Default options for libxml loader - */ - public static function getLibXmlLoaderOptions() - { - if (is_null(self::$_libXmlLoaderOptions) && defined(LIBXML_DTDLOAD)) { - self::setLibXmlLoaderOptions(LIBXML_DTDLOAD | LIBXML_DTDATTR); - } - if (version_compare(PHP_VERSION, '5.2.11') >= 0) { - @libxml_disable_entity_loader(self::$_libXmlLoaderOptions == (LIBXML_DTDLOAD | LIBXML_DTDATTR)); - } - return self::$_libXmlLoaderOptions; - } // function getLibXmlLoaderOptions -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/CodePage.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/CodePage.php deleted file mode 100644 index 01e0ea4f3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/CodePage.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_CodePage - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_CodePage -{ - /** - * Convert Microsoft Code Page Identifier to Code Page Name which iconv - * and mbstring understands - * - * @param integer $codePage Microsoft Code Page Indentifier - * @return string Code Page Name - * @throws PHPExcel_Exception - */ - public static function NumberToName($codePage = 1252) - { - switch ($codePage) { - case 367: return 'ASCII'; break; // ASCII - case 437: return 'CP437'; break; // OEM US - case 720: throw new PHPExcel_Exception('Code page 720 not supported.'); - break; // OEM Arabic - case 737: return 'CP737'; break; // OEM Greek - case 775: return 'CP775'; break; // OEM Baltic - case 850: return 'CP850'; break; // OEM Latin I - case 852: return 'CP852'; break; // OEM Latin II (Central European) - case 855: return 'CP855'; break; // OEM Cyrillic - case 857: return 'CP857'; break; // OEM Turkish - case 858: return 'CP858'; break; // OEM Multilingual Latin I with Euro - case 860: return 'CP860'; break; // OEM Portugese - case 861: return 'CP861'; break; // OEM Icelandic - case 862: return 'CP862'; break; // OEM Hebrew - case 863: return 'CP863'; break; // OEM Canadian (French) - case 864: return 'CP864'; break; // OEM Arabic - case 865: return 'CP865'; break; // OEM Nordic - case 866: return 'CP866'; break; // OEM Cyrillic (Russian) - case 869: return 'CP869'; break; // OEM Greek (Modern) - case 874: return 'CP874'; break; // ANSI Thai - case 932: return 'CP932'; break; // ANSI Japanese Shift-JIS - case 936: return 'CP936'; break; // ANSI Chinese Simplified GBK - case 949: return 'CP949'; break; // ANSI Korean (Wansung) - case 950: return 'CP950'; break; // ANSI Chinese Traditional BIG5 - case 1200: return 'UTF-16LE'; break; // UTF-16 (BIFF8) - case 1250: return 'CP1250'; break; // ANSI Latin II (Central European) - case 1251: return 'CP1251'; break; // ANSI Cyrillic - case 0: // CodePage is not always correctly set when the xls file was saved by Apple's Numbers program - case 1252: return 'CP1252'; break; // ANSI Latin I (BIFF4-BIFF7) - case 1253: return 'CP1253'; break; // ANSI Greek - case 1254: return 'CP1254'; break; // ANSI Turkish - case 1255: return 'CP1255'; break; // ANSI Hebrew - case 1256: return 'CP1256'; break; // ANSI Arabic - case 1257: return 'CP1257'; break; // ANSI Baltic - case 1258: return 'CP1258'; break; // ANSI Vietnamese - case 1361: return 'CP1361'; break; // ANSI Korean (Johab) - case 10000: return 'MAC'; break; // Apple Roman - case 10001: return 'CP932'; break; // Macintosh Japanese - case 10002: return 'CP950'; break; // Macintosh Chinese Traditional - case 10003: return 'CP1361'; break; // Macintosh Korean - case 10006: return 'MACGREEK'; break; // Macintosh Greek - case 10007: return 'MACCYRILLIC'; break; // Macintosh Cyrillic - case 10008: return 'CP936'; break; // Macintosh - Simplified Chinese (GB 2312) - case 10029: return 'MACCENTRALEUROPE'; break; // Macintosh Central Europe - case 10079: return 'MACICELAND'; break; // Macintosh Icelandic - case 10081: return 'MACTURKISH'; break; // Macintosh Turkish - case 32768: return 'MAC'; break; // Apple Roman - case 32769: throw new PHPExcel_Exception('Code page 32769 not supported.'); - break; // ANSI Latin I (BIFF2-BIFF3) - case 65000: return 'UTF-7'; break; // Unicode (UTF-7) - case 65001: return 'UTF-8'; break; // Unicode (UTF-8) - } - - throw new PHPExcel_Exception('Unknown codepage: ' . $codePage); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Date.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Date.php deleted file mode 100644 index 75f367eac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Date.php +++ /dev/null @@ -1,393 +0,0 @@ -<?php - -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Date - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Date -{ - /** constants */ - const CALENDAR_WINDOWS_1900 = 1900; // Base date of 1st Jan 1900 = 1.0 - const CALENDAR_MAC_1904 = 1904; // Base date of 2nd Jan 1904 = 1.0 - - /* - * Names of the months of the year, indexed by shortname - * Planned usage for locale settings - * - * @public - * @var string[] - */ - public static $_monthNames = array( 'Jan' => 'January', - 'Feb' => 'February', - 'Mar' => 'March', - 'Apr' => 'April', - 'May' => 'May', - 'Jun' => 'June', - 'Jul' => 'July', - 'Aug' => 'August', - 'Sep' => 'September', - 'Oct' => 'October', - 'Nov' => 'November', - 'Dec' => 'December', - ); - - /* - * Names of the months of the year, indexed by shortname - * Planned usage for locale settings - * - * @public - * @var string[] - */ - public static $_numberSuffixes = array( 'st', - 'nd', - 'rd', - 'th', - ); - - /* - * Base calendar year to use for calculations - * - * @private - * @var int - */ - protected static $_excelBaseDate = self::CALENDAR_WINDOWS_1900; - - /** - * Set the Excel calendar (Windows 1900 or Mac 1904) - * - * @param integer $baseDate Excel base date (1900 or 1904) - * @return boolean Success or failure - */ - public static function setExcelCalendar($baseDate) { - if (($baseDate == self::CALENDAR_WINDOWS_1900) || - ($baseDate == self::CALENDAR_MAC_1904)) { - self::$_excelBaseDate = $baseDate; - return TRUE; - } - return FALSE; - } // function setExcelCalendar() - - - /** - * Return the Excel calendar (Windows 1900 or Mac 1904) - * - * @return integer Excel base date (1900 or 1904) - */ - public static function getExcelCalendar() { - return self::$_excelBaseDate; - } // function getExcelCalendar() - - - /** - * Convert a date from Excel to PHP - * - * @param long $dateValue Excel date/time value - * @param boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as - * a UST timestamp, or adjusted to UST - * @param string $timezone The timezone for finding the adjustment from UST - * @return long PHP serialized date/time - */ - public static function ExcelToPHP($dateValue = 0, $adjustToTimezone = FALSE, $timezone = NULL) { - if (self::$_excelBaseDate == self::CALENDAR_WINDOWS_1900) { - $my_excelBaseDate = 25569; - // Adjust for the spurious 29-Feb-1900 (Day 60) - if ($dateValue < 60) { - --$my_excelBaseDate; - } - } else { - $my_excelBaseDate = 24107; - } - - // Perform conversion - if ($dateValue >= 1) { - $utcDays = $dateValue - $my_excelBaseDate; - $returnValue = round($utcDays * 86400); - if (($returnValue <= PHP_INT_MAX) && ($returnValue >= -PHP_INT_MAX)) { - $returnValue = (integer) $returnValue; - } - } else { - $hours = round($dateValue * 24); - $mins = round($dateValue * 1440) - round($hours * 60); - $secs = round($dateValue * 86400) - round($hours * 3600) - round($mins * 60); - $returnValue = (integer) gmmktime($hours, $mins, $secs); - } - - $timezoneAdjustment = ($adjustToTimezone) ? - PHPExcel_Shared_TimeZone::getTimezoneAdjustment($timezone, $returnValue) : - 0; - - // Return - return $returnValue + $timezoneAdjustment; - } // function ExcelToPHP() - - - /** - * Convert a date from Excel to a PHP Date/Time object - * - * @param integer $dateValue Excel date/time value - * @return DateTime PHP date/time object - */ - public static function ExcelToPHPObject($dateValue = 0) { - $dateTime = self::ExcelToPHP($dateValue); - $days = floor($dateTime / 86400); - $time = round((($dateTime / 86400) - $days) * 86400); - $hours = round($time / 3600); - $minutes = round($time / 60) - ($hours * 60); - $seconds = round($time) - ($hours * 3600) - ($minutes * 60); - - $dateObj = date_create('1-Jan-1970+'.$days.' days'); - $dateObj->setTime($hours,$minutes,$seconds); - - return $dateObj; - } // function ExcelToPHPObject() - - - /** - * Convert a date from PHP to Excel - * - * @param mixed $dateValue PHP serialized date/time or date object - * @param boolean $adjustToTimezone Flag indicating whether $dateValue should be treated as - * a UST timestamp, or adjusted to UST - * @param string $timezone The timezone for finding the adjustment from UST - * @return mixed Excel date/time value - * or boolean FALSE on failure - */ - public static function PHPToExcel($dateValue = 0, $adjustToTimezone = FALSE, $timezone = NULL) { - $saveTimeZone = date_default_timezone_get(); - date_default_timezone_set('UTC'); - $retValue = FALSE; - if ((is_object($dateValue)) && ($dateValue instanceof DateTime)) { - $retValue = self::FormattedPHPToExcel( $dateValue->format('Y'), $dateValue->format('m'), $dateValue->format('d'), - $dateValue->format('H'), $dateValue->format('i'), $dateValue->format('s') - ); - } elseif (is_numeric($dateValue)) { - $retValue = self::FormattedPHPToExcel( date('Y',$dateValue), date('m',$dateValue), date('d',$dateValue), - date('H',$dateValue), date('i',$dateValue), date('s',$dateValue) - ); - } - date_default_timezone_set($saveTimeZone); - - return $retValue; - } // function PHPToExcel() - - - /** - * FormattedPHPToExcel - * - * @param long $year - * @param long $month - * @param long $day - * @param long $hours - * @param long $minutes - * @param long $seconds - * @return long Excel date/time value - */ - public static function FormattedPHPToExcel($year, $month, $day, $hours=0, $minutes=0, $seconds=0) { - if (self::$_excelBaseDate == self::CALENDAR_WINDOWS_1900) { - // - // Fudge factor for the erroneous fact that the year 1900 is treated as a Leap Year in MS Excel - // This affects every date following 28th February 1900 - // - $excel1900isLeapYear = TRUE; - if (($year == 1900) && ($month <= 2)) { $excel1900isLeapYear = FALSE; } - $my_excelBaseDate = 2415020; - } else { - $my_excelBaseDate = 2416481; - $excel1900isLeapYear = FALSE; - } - - // Julian base date Adjustment - if ($month > 2) { - $month -= 3; - } else { - $month += 9; - --$year; - } - - // Calculate the Julian Date, then subtract the Excel base date (JD 2415020 = 31-Dec-1899 Giving Excel Date of 0) - $century = substr($year,0,2); - $decade = substr($year,2,2); - $excelDate = floor((146097 * $century) / 4) + floor((1461 * $decade) / 4) + floor((153 * $month + 2) / 5) + $day + 1721119 - $my_excelBaseDate + $excel1900isLeapYear; - - $excelTime = (($hours * 3600) + ($minutes * 60) + $seconds) / 86400; - - return (float) $excelDate + $excelTime; - } // function FormattedPHPToExcel() - - - /** - * Is a given cell a date/time? - * - * @param PHPExcel_Cell $pCell - * @return boolean - */ - public static function isDateTime(PHPExcel_Cell $pCell) { - return self::isDateTimeFormat( - $pCell->getWorksheet()->getStyle( - $pCell->getCoordinate() - )->getNumberFormat() - ); - } // function isDateTime() - - - /** - * Is a given number format a date/time? - * - * @param PHPExcel_Style_NumberFormat $pFormat - * @return boolean - */ - public static function isDateTimeFormat(PHPExcel_Style_NumberFormat $pFormat) { - return self::isDateTimeFormatCode($pFormat->getFormatCode()); - } // function isDateTimeFormat() - - - private static $possibleDateFormatCharacters = 'eymdHs'; - - /** - * Is a given number format code a date/time? - * - * @param string $pFormatCode - * @return boolean - */ - public static function isDateTimeFormatCode($pFormatCode = '') { - if (strtolower($pFormatCode) === strtolower(PHPExcel_Style_NumberFormat::FORMAT_GENERAL)) - // "General" contains an epoch letter 'e', so we trap for it explicitly here (case-insensitive check) - return FALSE; - if (preg_match('/[0#]E[+-]0/i', $pFormatCode)) - // Scientific format - return FALSE; - // Switch on formatcode - switch ($pFormatCode) { - // Explicitly defined date formats - case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDD2: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DDMMYYYY: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMYSLASH: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMYMINUS: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DMMINUS: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_MYMINUS: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_DATETIME: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME1: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME2: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME3: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME4: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME5: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME6: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME7: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_TIME8: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_YYYYMMDDSLASH: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX14: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX16: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX17: - case PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX22: - return TRUE; - } - - // Typically number, currency or accounting (or occasionally fraction) formats - if ((substr($pFormatCode,0,1) == '_') || (substr($pFormatCode,0,2) == '0 ')) { - return FALSE; - } - // Try checking for any of the date formatting characters that don't appear within square braces - if (preg_match('/(^|\])[^\[]*['.self::$possibleDateFormatCharacters.']/i',$pFormatCode)) { - // We might also have a format mask containing quoted strings... - // we don't want to test for any of our characters within the quoted blocks - if (strpos($pFormatCode,'"') !== FALSE) { - $segMatcher = FALSE; - foreach(explode('"',$pFormatCode) as $subVal) { - // Only test in alternate array entries (the non-quoted blocks) - if (($segMatcher = !$segMatcher) && - (preg_match('/(^|\])[^\[]*['.self::$possibleDateFormatCharacters.']/i',$subVal))) { - return TRUE; - } - } - return FALSE; - } - return TRUE; - } - - // No date... - return FALSE; - } // function isDateTimeFormatCode() - - - /** - * Convert a date/time string to Excel time - * - * @param string $dateValue Examples: '2009-12-31', '2009-12-31 15:59', '2009-12-31 15:59:10' - * @return float|FALSE Excel date/time serial value - */ - public static function stringToExcel($dateValue = '') { - if (strlen($dateValue) < 2) - return FALSE; - if (!preg_match('/^(\d{1,4}[ \.\/\-][A-Z]{3,9}([ \.\/\-]\d{1,4})?|[A-Z]{3,9}[ \.\/\-]\d{1,4}([ \.\/\-]\d{1,4})?|\d{1,4}[ \.\/\-]\d{1,4}([ \.\/\-]\d{1,4})?)( \d{1,2}:\d{1,2}(:\d{1,2})?)?$/iu', $dateValue)) - return FALSE; - - $dateValueNew = PHPExcel_Calculation_DateTime::DATEVALUE($dateValue); - - if ($dateValueNew === PHPExcel_Calculation_Functions::VALUE()) { - return FALSE; - } else { - if (strpos($dateValue, ':') !== FALSE) { - $timeValue = PHPExcel_Calculation_DateTime::TIMEVALUE($dateValue); - if ($timeValue === PHPExcel_Calculation_Functions::VALUE()) { - return FALSE; - } - $dateValueNew += $timeValue; - } - return $dateValueNew; - } - - - } - - public static function monthStringToNumber($month) { - $monthIndex = 1; - foreach(self::$_monthNames as $shortMonthName => $longMonthName) { - if (($month === $longMonthName) || ($month === $shortMonthName)) { - return $monthIndex; - } - ++$monthIndex; - } - return $month; - } - - public static function dayStringToNumber($day) { - $strippedDayValue = (str_replace(self::$_numberSuffixes,'',$day)); - if (is_numeric($strippedDayValue)) { - return $strippedDayValue; - } - return $day; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Drawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Drawing.php deleted file mode 100644 index dbff74abc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Drawing.php +++ /dev/null @@ -1,272 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Drawing - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Drawing -{ - /** - * Convert pixels to EMU - * - * @param int $pValue Value in pixels - * @return int Value in EMU - */ - public static function pixelsToEMU($pValue = 0) { - return round($pValue * 9525); - } - - /** - * Convert EMU to pixels - * - * @param int $pValue Value in EMU - * @return int Value in pixels - */ - public static function EMUToPixels($pValue = 0) { - if ($pValue != 0) { - return round($pValue / 9525); - } else { - return 0; - } - } - - /** - * Convert pixels to column width. Exact algorithm not known. - * By inspection of a real Excel file using Calibri 11, one finds 1000px ~ 142.85546875 - * This gives a conversion factor of 7. Also, we assume that pixels and font size are proportional. - * - * @param int $pValue Value in pixels - * @param PHPExcel_Style_Font $pDefaultFont Default font of the workbook - * @return int Value in cell dimension - */ - public static function pixelsToCellDimension($pValue = 0, PHPExcel_Style_Font $pDefaultFont) { - // Font name and size - $name = $pDefaultFont->getName(); - $size = $pDefaultFont->getSize(); - - if (isset(PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size])) { - // Exact width can be determined - $colWidth = $pValue - * PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['width'] - / PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['px']; - } else { - // We don't have data for this particular font and size, use approximation by - // extrapolating from Calibri 11 - $colWidth = $pValue * 11 - * PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['width'] - / PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['px'] / $size; - } - - return $colWidth; - } - - /** - * Convert column width from (intrinsic) Excel units to pixels - * - * @param float $pValue Value in cell dimension - * @param PHPExcel_Style_Font $pDefaultFont Default font of the workbook - * @return int Value in pixels - */ - public static function cellDimensionToPixels($pValue = 0, PHPExcel_Style_Font $pDefaultFont) { - // Font name and size - $name = $pDefaultFont->getName(); - $size = $pDefaultFont->getSize(); - - if (isset(PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size])) { - // Exact width can be determined - $colWidth = $pValue - * PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['px'] - / PHPExcel_Shared_Font::$defaultColumnWidths[$name][$size]['width']; - - } else { - // We don't have data for this particular font and size, use approximation by - // extrapolating from Calibri 11 - $colWidth = $pValue * $size - * PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['px'] - / PHPExcel_Shared_Font::$defaultColumnWidths['Calibri'][11]['width'] / 11; - } - - // Round pixels to closest integer - $colWidth = (int) round($colWidth); - - return $colWidth; - } - - /** - * Convert pixels to points - * - * @param int $pValue Value in pixels - * @return int Value in points - */ - public static function pixelsToPoints($pValue = 0) { - return $pValue * 0.67777777; - } - - /** - * Convert points to pixels - * - * @param int $pValue Value in points - * @return int Value in pixels - */ - public static function pointsToPixels($pValue = 0) { - if ($pValue != 0) { - return (int) ceil($pValue * 1.333333333); - } else { - return 0; - } - } - - /** - * Convert degrees to angle - * - * @param int $pValue Degrees - * @return int Angle - */ - public static function degreesToAngle($pValue = 0) { - return (int)round($pValue * 60000); - } - - /** - * Convert angle to degrees - * - * @param int $pValue Angle - * @return int Degrees - */ - public static function angleToDegrees($pValue = 0) { - if ($pValue != 0) { - return round($pValue / 60000); - } else { - return 0; - } - } - - /** - * Create a new image from file. By alexander at alexauto dot nl - * - * @link http://www.php.net/manual/en/function.imagecreatefromwbmp.php#86214 - * @param string $filename Path to Windows DIB (BMP) image - * @return resource - */ - public static function imagecreatefrombmp($p_sFile) - { - // Load the image into a string - $file = fopen($p_sFile,"rb"); - $read = fread($file,10); - while(!feof($file)&&($read<>"")) - $read .= fread($file,1024); - - $temp = unpack("H*",$read); - $hex = $temp[1]; - $header = substr($hex,0,108); - - // Process the header - // Structure: http://www.fastgraph.com/help/bmp_header_format.html - if (substr($header,0,4)=="424d") - { - // Cut it in parts of 2 bytes - $header_parts = str_split($header,2); - - // Get the width 4 bytes - $width = hexdec($header_parts[19].$header_parts[18]); - - // Get the height 4 bytes - $height = hexdec($header_parts[23].$header_parts[22]); - - // Unset the header params - unset($header_parts); - } - - // Define starting X and Y - $x = 0; - $y = 1; - - // Create newimage - $image = imagecreatetruecolor($width,$height); - - // Grab the body from the image - $body = substr($hex,108); - - // Calculate if padding at the end-line is needed - // Divided by two to keep overview. - // 1 byte = 2 HEX-chars - $body_size = (strlen($body)/2); - $header_size = ($width*$height); - - // Use end-line padding? Only when needed - $usePadding = ($body_size>($header_size*3)+4); - - // Using a for-loop with index-calculation instaid of str_split to avoid large memory consumption - // Calculate the next DWORD-position in the body - for ($i=0;$i<$body_size;$i+=3) - { - // Calculate line-ending and padding - if ($x>=$width) - { - // If padding needed, ignore image-padding - // Shift i to the ending of the current 32-bit-block - if ($usePadding) - $i += $width%4; - - // Reset horizontal position - $x = 0; - - // Raise the height-position (bottom-up) - $y++; - - // Reached the image-height? Break the for-loop - if ($y>$height) - break; - } - - // Calculation of the RGB-pixel (defined as BGR in image-data) - // Define $i_pos as absolute position in the body - $i_pos = $i*2; - $r = hexdec($body[$i_pos+4].$body[$i_pos+5]); - $g = hexdec($body[$i_pos+2].$body[$i_pos+3]); - $b = hexdec($body[$i_pos].$body[$i_pos+1]); - - // Calculate and draw the pixel - $color = imagecolorallocate($image,$r,$g,$b); - imagesetpixel($image,$x,$height-$y,$color); - - // Raise the horizontal position - $x++; - } - - // Unset the body / free the memory - unset($body); - - // Return image-object - return $image; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher.php deleted file mode 100644 index ddf68c65b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher.php +++ /dev/null @@ -1,91 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher -{ - /** - * Drawing Group Container - * - * @var PHPExcel_Shared_Escher_DggContainer - */ - private $_dggContainer; - - /** - * Drawing Container - * - * @var PHPExcel_Shared_Escher_DgContainer - */ - private $_dgContainer; - - /** - * Get Drawing Group Container - * - * @return PHPExcel_Shared_Escher_DgContainer - */ - public function getDggContainer() - { - return $this->_dggContainer; - } - - /** - * Set Drawing Group Container - * - * @param PHPExcel_Shared_Escher_DggContainer $dggContainer - */ - public function setDggContainer($dggContainer) - { - return $this->_dggContainer = $dggContainer; - } - - /** - * Get Drawing Container - * - * @return PHPExcel_Shared_Escher_DgContainer - */ - public function getDgContainer() - { - return $this->_dgContainer; - } - - /** - * Set Drawing Container - * - * @param PHPExcel_Shared_Escher_DgContainer $dgContainer - */ - public function setDgContainer($dgContainer) - { - return $this->_dgContainer = $dgContainer; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer.php deleted file mode 100644 index cb826db10..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer.php +++ /dev/null @@ -1,83 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DgContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DgContainer -{ - /** - * Drawing index, 1-based. - * - * @var int - */ - private $_dgId; - - /** - * Last shape index in this drawing - * - * @var int - */ - private $_lastSpId; - - private $_spgrContainer = null; - - public function getDgId() - { - return $this->_dgId; - } - - public function setDgId($value) - { - $this->_dgId = $value; - } - - public function getLastSpId() - { - return $this->_lastSpId; - } - - public function setLastSpId($value) - { - $this->_lastSpId = $value; - } - - public function getSpgrContainer() - { - return $this->_spgrContainer; - } - - public function setSpgrContainer($spgrContainer) - { - return $this->_spgrContainer = $spgrContainer; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php deleted file mode 100644 index b8ad8eafd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php +++ /dev/null @@ -1,109 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DgContainer_SpgrContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DgContainer_SpgrContainer -{ - /** - * Parent Shape Group Container - * - * @var PHPExcel_Shared_Escher_DgContainer_SpgrContainer - */ - private $_parent; - - /** - * Shape Container collection - * - * @var array - */ - private $_children = array(); - - /** - * Set parent Shape Group Container - * - * @param PHPExcel_Shared_Escher_DgContainer_SpgrContainer $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get the parent Shape Group Container if any - * - * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer|null - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Add a child. This will be either spgrContainer or spContainer - * - * @param mixed $child - */ - public function addChild($child) - { - $this->_children[] = $child; - $child->setParent($this); - } - - /** - * Get collection of Shape Containers - */ - public function getChildren() - { - return $this->_children; - } - - /** - * Recursively get all spContainers within this spgrContainer - * - * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer[] - */ - public function getAllSpContainers() - { - $allSpContainers = array(); - - foreach ($this->_children as $child) { - if ($child instanceof PHPExcel_Shared_Escher_DgContainer_SpgrContainer) { - $allSpContainers = array_merge($allSpContainers, $child->getAllSpContainers()); - } else { - $allSpContainers[] = $child; - } - } - - return $allSpContainers; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php deleted file mode 100644 index 682314801..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php +++ /dev/null @@ -1,395 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer -{ - /** - * Parent Shape Group Container - * - * @var PHPExcel_Shared_Escher_DgContainer_SpgrContainer - */ - private $_parent; - - /** - * Is this a group shape? - * - * @var boolean - */ - private $_spgr = false; - - /** - * Shape type - * - * @var int - */ - private $_spType; - - /** - * Shape flag - * - * @var int - */ - private $_spFlag; - - /** - * Shape index (usually group shape has index 0, and the rest: 1,2,3...) - * - * @var boolean - */ - private $_spId; - - /** - * Array of options - * - * @var array - */ - private $_OPT; - - /** - * Cell coordinates of upper-left corner of shape, e.g. 'A1' - * - * @var string - */ - private $_startCoordinates; - - /** - * Horizontal offset of upper-left corner of shape measured in 1/1024 of column width - * - * @var int - */ - private $_startOffsetX; - - /** - * Vertical offset of upper-left corner of shape measured in 1/256 of row height - * - * @var int - */ - private $_startOffsetY; - - /** - * Cell coordinates of bottom-right corner of shape, e.g. 'B2' - * - * @var string - */ - private $_endCoordinates; - - /** - * Horizontal offset of bottom-right corner of shape measured in 1/1024 of column width - * - * @var int - */ - private $_endOffsetX; - - /** - * Vertical offset of bottom-right corner of shape measured in 1/256 of row height - * - * @var int - */ - private $_endOffsetY; - - /** - * Set parent Shape Group Container - * - * @param PHPExcel_Shared_Escher_DgContainer_SpgrContainer $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get the parent Shape Group Container - * - * @return PHPExcel_Shared_Escher_DgContainer_SpgrContainer - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Set whether this is a group shape - * - * @param boolean $value - */ - public function setSpgr($value = false) - { - $this->_spgr = $value; - } - - /** - * Get whether this is a group shape - * - * @return boolean - */ - public function getSpgr() - { - return $this->_spgr; - } - - /** - * Set the shape type - * - * @param int $value - */ - public function setSpType($value) - { - $this->_spType = $value; - } - - /** - * Get the shape type - * - * @return int - */ - public function getSpType() - { - return $this->_spType; - } - - /** - * Set the shape flag - * - * @param int $value - */ - public function setSpFlag($value) - { - $this->_spFlag = $value; - } - - /** - * Get the shape flag - * - * @return int - */ - public function getSpFlag() - { - return $this->_spFlag; - } - - /** - * Set the shape index - * - * @param int $value - */ - public function setSpId($value) - { - $this->_spId = $value; - } - - /** - * Get the shape index - * - * @return int - */ - public function getSpId() - { - return $this->_spId; - } - - /** - * Set an option for the Shape Group Container - * - * @param int $property The number specifies the option - * @param mixed $value - */ - public function setOPT($property, $value) - { - $this->_OPT[$property] = $value; - } - - /** - * Get an option for the Shape Group Container - * - * @param int $property The number specifies the option - * @return mixed - */ - public function getOPT($property) - { - if (isset($this->_OPT[$property])) { - return $this->_OPT[$property]; - } - return null; - } - - /** - * Get the collection of options - * - * @return array - */ - public function getOPTCollection() - { - return $this->_OPT; - } - - /** - * Set cell coordinates of upper-left corner of shape - * - * @param string $value - */ - public function setStartCoordinates($value = 'A1') - { - $this->_startCoordinates = $value; - } - - /** - * Get cell coordinates of upper-left corner of shape - * - * @return string - */ - public function getStartCoordinates() - { - return $this->_startCoordinates; - } - - /** - * Set offset in x-direction of upper-left corner of shape measured in 1/1024 of column width - * - * @param int $startOffsetX - */ - public function setStartOffsetX($startOffsetX = 0) - { - $this->_startOffsetX = $startOffsetX; - } - - /** - * Get offset in x-direction of upper-left corner of shape measured in 1/1024 of column width - * - * @return int - */ - public function getStartOffsetX() - { - return $this->_startOffsetX; - } - - /** - * Set offset in y-direction of upper-left corner of shape measured in 1/256 of row height - * - * @param int $startOffsetY - */ - public function setStartOffsetY($startOffsetY = 0) - { - $this->_startOffsetY = $startOffsetY; - } - - /** - * Get offset in y-direction of upper-left corner of shape measured in 1/256 of row height - * - * @return int - */ - public function getStartOffsetY() - { - return $this->_startOffsetY; - } - - /** - * Set cell coordinates of bottom-right corner of shape - * - * @param string $value - */ - public function setEndCoordinates($value = 'A1') - { - $this->_endCoordinates = $value; - } - - /** - * Get cell coordinates of bottom-right corner of shape - * - * @return string - */ - public function getEndCoordinates() - { - return $this->_endCoordinates; - } - - /** - * Set offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width - * - * @param int $startOffsetX - */ - public function setEndOffsetX($endOffsetX = 0) - { - $this->_endOffsetX = $endOffsetX; - } - - /** - * Get offset in x-direction of bottom-right corner of shape measured in 1/1024 of column width - * - * @return int - */ - public function getEndOffsetX() - { - return $this->_endOffsetX; - } - - /** - * Set offset in y-direction of bottom-right corner of shape measured in 1/256 of row height - * - * @param int $endOffsetY - */ - public function setEndOffsetY($endOffsetY = 0) - { - $this->_endOffsetY = $endOffsetY; - } - - /** - * Get offset in y-direction of bottom-right corner of shape measured in 1/256 of row height - * - * @return int - */ - public function getEndOffsetY() - { - return $this->_endOffsetY; - } - - /** - * Get the nesting level of this spContainer. This is the number of spgrContainers between this spContainer and - * the dgContainer. A value of 1 = immediately within first spgrContainer - * Higher nesting level occurs if and only if spContainer is part of a shape group - * - * @return int Nesting level - */ - public function getNestingLevel() - { - $nestingLevel = 0; - - $parent = $this->getParent(); - while ($parent instanceof PHPExcel_Shared_Escher_DgContainer_SpgrContainer) { - ++$nestingLevel; - $parent = $parent->getParent(); - } - - return $nestingLevel; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DgContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer.php deleted file mode 100644 index 26696ec9d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer -{ - /** - * Maximum shape index of all shapes in all drawings increased by one - * - * @var int - */ - private $_spIdMax; - - /** - * Total number of drawings saved - * - * @var int - */ - private $_cDgSaved; - - /** - * Total number of shapes saved (including group shapes) - * - * @var int - */ - private $_cSpSaved; - - /** - * BLIP Store Container - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer - */ - private $_bstoreContainer; - - /** - * Array of options for the drawing group - * - * @var array - */ - private $_OPT = array(); - - /** - * Array of identifier clusters containg information about the maximum shape identifiers - * - * @var array - */ - private $_IDCLs = array(); - - /** - * Get maximum shape index of all shapes in all drawings (plus one) - * - * @return int - */ - public function getSpIdMax() - { - return $this->_spIdMax; - } - - /** - * Set maximum shape index of all shapes in all drawings (plus one) - * - * @param int - */ - public function setSpIdMax($value) - { - $this->_spIdMax = $value; - } - - /** - * Get total number of drawings saved - * - * @return int - */ - public function getCDgSaved() - { - return $this->_cDgSaved; - } - - /** - * Set total number of drawings saved - * - * @param int - */ - public function setCDgSaved($value) - { - $this->_cDgSaved = $value; - } - - /** - * Get total number of shapes saved (including group shapes) - * - * @return int - */ - public function getCSpSaved() - { - return $this->_cSpSaved; - } - - /** - * Set total number of shapes saved (including group shapes) - * - * @param int - */ - public function setCSpSaved($value) - { - $this->_cSpSaved = $value; - } - - /** - * Get BLIP Store Container - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer - */ - public function getBstoreContainer() - { - return $this->_bstoreContainer; - } - - /** - * Set BLIP Store Container - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $bstoreContainer - */ - public function setBstoreContainer($bstoreContainer) - { - $this->_bstoreContainer = $bstoreContainer; - } - - /** - * Set an option for the drawing group - * - * @param int $property The number specifies the option - * @param mixed $value - */ - public function setOPT($property, $value) - { - $this->_OPT[$property] = $value; - } - - /** - * Get an option for the drawing group - * - * @param int $property The number specifies the option - * @return mixed - */ - public function getOPT($property) - { - if (isset($this->_OPT[$property])) { - return $this->_OPT[$property]; - } - return null; - } - - /** - * Get identifier clusters - * - * @return array - */ - public function getIDCLs() - { - return $this->_IDCLs; - } - - /** - * Set identifier clusters. array(<drawingId> => <max shape id>, ...) - * - * @param array $pValue - */ - public function setIDCLs($pValue) - { - $this->_IDCLs = $pValue; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php deleted file mode 100644 index fba2e73fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer_BstoreContainer -{ - /** - * BLIP Store Entries. Each of them holds one BLIP (Big Large Image or Picture) - * - * @var array - */ - private $_BSECollection = array(); - - /** - * Add a BLIP Store Entry - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $BSE - */ - public function addBSE($BSE) - { - $this->_BSECollection[] = $BSE; - $BSE->setParent($this); - } - - /** - * Get the collection of BLIP Store Entries - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE[] - */ - public function getBSECollection() - { - return $this->_BSECollection; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php deleted file mode 100644 index 418896a34..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE -{ - const BLIPTYPE_ERROR = 0x00; - const BLIPTYPE_UNKNOWN = 0x01; - const BLIPTYPE_EMF = 0x02; - const BLIPTYPE_WMF = 0x03; - const BLIPTYPE_PICT = 0x04; - const BLIPTYPE_JPEG = 0x05; - const BLIPTYPE_PNG = 0x06; - const BLIPTYPE_DIB = 0x07; - const BLIPTYPE_TIFF = 0x11; - const BLIPTYPE_CMYKJPEG = 0x12; - - /** - * The parent BLIP Store Entry Container - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer - */ - private $_parent; - - /** - * The BLIP (Big Large Image or Picture) - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip - */ - private $_blip; - - /** - * The BLIP type - * - * @var int - */ - private $_blipType; - - /** - * Set parent BLIP Store Entry Container - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get the BLIP - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip - */ - public function getBlip() - { - return $this->_blip; - } - - /** - * Set the BLIP - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip $blip - */ - public function setBlip($blip) - { - $this->_blip = $blip; - $blip->setParent($this); - } - - /** - * Get the BLIP type - * - * @return int - */ - public function getBlipType() - { - return $this->_blipType; - } - - /** - * Set the BLIP type - * - * @param int - */ - public function setBlipType($blipType) - { - $this->_blipType = $blipType; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php deleted file mode 100644 index d9cc2f5c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php +++ /dev/null @@ -1,91 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip - * - * @category PHPExcel - * @package PHPExcel_Shared_Escher - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip -{ - /** - * The parent BSE - * - * @var PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE - */ - private $_parent; - - /** - * Raw image data - * - * @var string - */ - private $_data; - - /** - * Get the raw image data - * - * @return string - */ - public function getData() - { - return $this->_data; - } - - /** - * Set the raw image data - * - * @param string - */ - public function setData($data) - { - $this->_data = $data; - } - - /** - * Set parent BSE - * - * @param PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent - */ - public function setParent($parent) - { - $this->_parent = $parent; - } - - /** - * Get parent BSE - * - * @return PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE $parent - */ - public function getParent() - { - return $this->_parent; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/DggContainer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Escher/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Excel5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Excel5.php deleted file mode 100644 index 3caf675dd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Excel5.php +++ /dev/null @@ -1,317 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_Excel5 - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Excel5 -{ - /** - * Get the width of a column in pixels. We use the relationship y = ceil(7x) where - * x is the width in intrinsic Excel units (measuring width in number of normal characters) - * This holds for Arial 10 - * - * @param PHPExcel_Worksheet $sheet The sheet - * @param string $col The column - * @return integer The width in pixels - */ - public static function sizeCol($sheet, $col = 'A') - { - // default font of the workbook - $font = $sheet->getParent()->getDefaultStyle()->getFont(); - - $columnDimensions = $sheet->getColumnDimensions(); - - // first find the true column width in pixels (uncollapsed and unhidden) - if ( isset($columnDimensions[$col]) and $columnDimensions[$col]->getWidth() != -1 ) { - - // then we have column dimension with explicit width - $columnDimension = $columnDimensions[$col]; - $width = $columnDimension->getWidth(); - $pixelWidth = PHPExcel_Shared_Drawing::cellDimensionToPixels($width, $font); - - } else if ($sheet->getDefaultColumnDimension()->getWidth() != -1) { - - // then we have default column dimension with explicit width - $defaultColumnDimension = $sheet->getDefaultColumnDimension(); - $width = $defaultColumnDimension->getWidth(); - $pixelWidth = PHPExcel_Shared_Drawing::cellDimensionToPixels($width, $font); - - } else { - - // we don't even have any default column dimension. Width depends on default font - $pixelWidth = PHPExcel_Shared_Font::getDefaultColumnWidthByFont($font, true); - } - - // now find the effective column width in pixels - if (isset($columnDimensions[$col]) and !$columnDimensions[$col]->getVisible()) { - $effectivePixelWidth = 0; - } else { - $effectivePixelWidth = $pixelWidth; - } - - return $effectivePixelWidth; - } - - /** - * Convert the height of a cell from user's units to pixels. By interpolation - * the relationship is: y = 4/3x. If the height hasn't been set by the user we - * use the default value. If the row is hidden we use a value of zero. - * - * @param PHPExcel_Worksheet $sheet The sheet - * @param integer $row The row index (1-based) - * @return integer The width in pixels - */ - public static function sizeRow($sheet, $row = 1) - { - // default font of the workbook - $font = $sheet->getParent()->getDefaultStyle()->getFont(); - - $rowDimensions = $sheet->getRowDimensions(); - - // first find the true row height in pixels (uncollapsed and unhidden) - if ( isset($rowDimensions[$row]) and $rowDimensions[$row]->getRowHeight() != -1) { - - // then we have a row dimension - $rowDimension = $rowDimensions[$row]; - $rowHeight = $rowDimension->getRowHeight(); - $pixelRowHeight = (int) ceil(4 * $rowHeight / 3); // here we assume Arial 10 - - } else if ($sheet->getDefaultRowDimension()->getRowHeight() != -1) { - - // then we have a default row dimension with explicit height - $defaultRowDimension = $sheet->getDefaultRowDimension(); - $rowHeight = $defaultRowDimension->getRowHeight(); - $pixelRowHeight = PHPExcel_Shared_Drawing::pointsToPixels($rowHeight); - - } else { - - // we don't even have any default row dimension. Height depends on default font - $pointRowHeight = PHPExcel_Shared_Font::getDefaultRowHeightByFont($font); - $pixelRowHeight = PHPExcel_Shared_Font::fontSizeToPixels($pointRowHeight); - - } - - // now find the effective row height in pixels - if ( isset($rowDimensions[$row]) and !$rowDimensions[$row]->getVisible() ) { - $effectivePixelRowHeight = 0; - } else { - $effectivePixelRowHeight = $pixelRowHeight; - } - - return $effectivePixelRowHeight; - } - - /** - * Get the horizontal distance in pixels between two anchors - * The distanceX is found as sum of all the spanning columns widths minus correction for the two offsets - * - * @param PHPExcel_Worksheet $sheet - * @param string $startColumn - * @param integer $startOffsetX Offset within start cell measured in 1/1024 of the cell width - * @param string $endColumn - * @param integer $endOffsetX Offset within end cell measured in 1/1024 of the cell width - * @return integer Horizontal measured in pixels - */ - public static function getDistanceX(PHPExcel_Worksheet $sheet, $startColumn = 'A', $startOffsetX = 0, $endColumn = 'A', $endOffsetX = 0) - { - $distanceX = 0; - - // add the widths of the spanning columns - $startColumnIndex = PHPExcel_Cell::columnIndexFromString($startColumn) - 1; // 1-based - $endColumnIndex = PHPExcel_Cell::columnIndexFromString($endColumn) - 1; // 1-based - for ($i = $startColumnIndex; $i <= $endColumnIndex; ++$i) { - $distanceX += self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($i)); - } - - // correct for offsetX in startcell - $distanceX -= (int) floor(self::sizeCol($sheet, $startColumn) * $startOffsetX / 1024); - - // correct for offsetX in endcell - $distanceX -= (int) floor(self::sizeCol($sheet, $endColumn) * (1 - $endOffsetX / 1024)); - - return $distanceX; - } - - /** - * Get the vertical distance in pixels between two anchors - * The distanceY is found as sum of all the spanning rows minus two offsets - * - * @param PHPExcel_Worksheet $sheet - * @param integer $startRow (1-based) - * @param integer $startOffsetY Offset within start cell measured in 1/256 of the cell height - * @param integer $endRow (1-based) - * @param integer $endOffsetY Offset within end cell measured in 1/256 of the cell height - * @return integer Vertical distance measured in pixels - */ - public static function getDistanceY(PHPExcel_Worksheet $sheet, $startRow = 1, $startOffsetY = 0, $endRow = 1, $endOffsetY = 0) - { - $distanceY = 0; - - // add the widths of the spanning rows - for ($row = $startRow; $row <= $endRow; ++$row) { - $distanceY += self::sizeRow($sheet, $row); - } - - // correct for offsetX in startcell - $distanceY -= (int) floor(self::sizeRow($sheet, $startRow) * $startOffsetY / 256); - - // correct for offsetX in endcell - $distanceY -= (int) floor(self::sizeRow($sheet, $endRow) * (1 - $endOffsetY / 256)); - - return $distanceY; - } - - /** - * Convert 1-cell anchor coordinates to 2-cell anchor coordinates - * This function is ported from PEAR Spreadsheet_Writer_Excel with small modifications - * - * Calculate the vertices that define the position of the image as required by - * the OBJ record. - * - * +------------+------------+ - * | A | B | - * +-----+------------+------------+ - * | |(x1,y1) | | - * | 1 |(A1)._______|______ | - * | | | | | - * | | | | | - * +-----+----| BITMAP |-----+ - * | | | | | - * | 2 | |______________. | - * | | | (B2)| - * | | | (x2,y2)| - * +---- +------------+------------+ - * - * Example of a bitmap that covers some of the area from cell A1 to cell B2. - * - * Based on the width and height of the bitmap we need to calculate 8 vars: - * $col_start, $row_start, $col_end, $row_end, $x1, $y1, $x2, $y2. - * The width and height of the cells are also variable and have to be taken into - * account. - * The values of $col_start and $row_start are passed in from the calling - * function. The values of $col_end and $row_end are calculated by subtracting - * the width and height of the bitmap from the width and height of the - * underlying cells. - * The vertices are expressed as a percentage of the underlying cell width as - * follows (rhs values are in pixels): - * - * x1 = X / W *1024 - * y1 = Y / H *256 - * x2 = (X-1) / W *1024 - * y2 = (Y-1) / H *256 - * - * Where: X is distance from the left side of the underlying cell - * Y is distance from the top of the underlying cell - * W is the width of the cell - * H is the height of the cell - * - * @param PHPExcel_Worksheet $sheet - * @param string $coordinates E.g. 'A1' - * @param integer $offsetX Horizontal offset in pixels - * @param integer $offsetY Vertical offset in pixels - * @param integer $width Width in pixels - * @param integer $height Height in pixels - * @return array - */ - public static function oneAnchor2twoAnchor($sheet, $coordinates, $offsetX, $offsetY, $width, $height) - { - list($column, $row) = PHPExcel_Cell::coordinateFromString($coordinates); - $col_start = PHPExcel_Cell::columnIndexFromString($column) - 1; - $row_start = $row - 1; - - $x1 = $offsetX; - $y1 = $offsetY; - - // Initialise end cell to the same as the start cell - $col_end = $col_start; // Col containing lower right corner of object - $row_end = $row_start; // Row containing bottom right corner of object - - // Zero the specified offset if greater than the cell dimensions - if ($x1 >= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start))) { - $x1 = 0; - } - if ($y1 >= self::sizeRow($sheet, $row_start + 1)) { - $y1 = 0; - } - - $width = $width + $x1 -1; - $height = $height + $y1 -1; - - // Subtract the underlying cell widths to find the end cell of the image - while ($width >= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end))) { - $width -= self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end)); - ++$col_end; - } - - // Subtract the underlying cell heights to find the end cell of the image - while ($height >= self::sizeRow($sheet, $row_end + 1)) { - $height -= self::sizeRow($sheet, $row_end + 1); - ++$row_end; - } - - // Bitmap isn't allowed to start or finish in a hidden cell, i.e. a cell - // with zero height or width. - if (self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) == 0) { - return; - } - if (self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) == 0) { - return; - } - if (self::sizeRow($sheet, $row_start + 1) == 0) { - return; - } - if (self::sizeRow($sheet, $row_end + 1) == 0) { - return; - } - - // Convert the pixel values to the percentage value expected by Excel - $x1 = $x1 / self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) * 1024; - $y1 = $y1 / self::sizeRow($sheet, $row_start + 1) * 256; - $x2 = ($width + 1) / self::sizeCol($sheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) * 1024; // Distance to right side of object - $y2 = ($height + 1) / self::sizeRow($sheet, $row_end + 1) * 256; // Distance to bottom of object - - $startCoordinates = PHPExcel_Cell::stringFromColumnIndex($col_start) . ($row_start + 1); - $endCoordinates = PHPExcel_Cell::stringFromColumnIndex($col_end) . ($row_end + 1); - - $twoAnchor = array( - 'startCoordinates' => $startCoordinates, - 'startOffsetX' => $x1, - 'startOffsetY' => $y1, - 'endCoordinates' => $endCoordinates, - 'endOffsetX' => $x2, - 'endOffsetY' => $y2, - ); - - return $twoAnchor; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/File.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/File.php deleted file mode 100644 index 52c9b9796..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/File.php +++ /dev/null @@ -1,178 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_File - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_File -{ - /* - * Use Temp or File Upload Temp for temporary files - * - * @protected - * @var boolean - */ - protected static $_useUploadTempDirectory = FALSE; - - - /** - * Set the flag indicating whether the File Upload Temp directory should be used for temporary files - * - * @param boolean $useUploadTempDir Use File Upload Temporary directory (true or false) - */ - public static function setUseUploadTempDirectory($useUploadTempDir = FALSE) { - self::$_useUploadTempDirectory = (boolean) $useUploadTempDir; - } // function setUseUploadTempDirectory() - - - /** - * Get the flag indicating whether the File Upload Temp directory should be used for temporary files - * - * @return boolean Use File Upload Temporary directory (true or false) - */ - public static function getUseUploadTempDirectory() { - return self::$_useUploadTempDirectory; - } // function getUseUploadTempDirectory() - - - /** - * Verify if a file exists - * - * @param string $pFilename Filename - * @return bool - */ - public static function file_exists($pFilename) { - // Sick construction, but it seems that - // file_exists returns strange values when - // doing the original file_exists on ZIP archives... - if ( strtolower(substr($pFilename, 0, 3)) == 'zip' ) { - // Open ZIP file and verify if the file exists - $zipFile = substr($pFilename, 6, strpos($pFilename, '#') - 6); - $archiveFile = substr($pFilename, strpos($pFilename, '#') + 1); - - $zip = new ZipArchive(); - if ($zip->open($zipFile) === true) { - $returnValue = ($zip->getFromName($archiveFile) !== false); - $zip->close(); - return $returnValue; - } else { - return false; - } - } else { - // Regular file_exists - return file_exists($pFilename); - } - } - - /** - * Returns canonicalized absolute pathname, also for ZIP archives - * - * @param string $pFilename - * @return string - */ - public static function realpath($pFilename) { - // Returnvalue - $returnValue = ''; - - // Try using realpath() - if (file_exists($pFilename)) { - $returnValue = realpath($pFilename); - } - - // Found something? - if ($returnValue == '' || ($returnValue === NULL)) { - $pathArray = explode('/' , $pFilename); - while(in_array('..', $pathArray) && $pathArray[0] != '..') { - for ($i = 0; $i < count($pathArray); ++$i) { - if ($pathArray[$i] == '..' && $i > 0) { - unset($pathArray[$i]); - unset($pathArray[$i - 1]); - break; - } - } - } - $returnValue = implode('/', $pathArray); - } - - // Return - return $returnValue; - } - - /** - * Get the systems temporary directory. - * - * @return string - */ - public static function sys_get_temp_dir() - { - if (self::$_useUploadTempDirectory) { - // use upload-directory when defined to allow running on environments having very restricted - // open_basedir configs - if (ini_get('upload_tmp_dir') !== FALSE) { - if ($temp = ini_get('upload_tmp_dir')) { - if (file_exists($temp)) - return realpath($temp); - } - } - } - - // sys_get_temp_dir is only available since PHP 5.2.1 - // http://php.net/manual/en/function.sys-get-temp-dir.php#94119 - if ( !function_exists('sys_get_temp_dir')) { - if ($temp = getenv('TMP') ) { - if ((!empty($temp)) && (file_exists($temp))) { return realpath($temp); } - } - if ($temp = getenv('TEMP') ) { - if ((!empty($temp)) && (file_exists($temp))) { return realpath($temp); } - } - if ($temp = getenv('TMPDIR') ) { - if ((!empty($temp)) && (file_exists($temp))) { return realpath($temp); } - } - - // trick for creating a file in system's temporary dir - // without knowing the path of the system's temporary dir - $temp = tempnam(__FILE__, ''); - if (file_exists($temp)) { - unlink($temp); - return realpath(dirname($temp)); - } - - return null; - } - - // use ordinary built-in PHP function - // There should be no problem with the 5.2.4 Suhosin realpath() bug, because this line should only - // be called if we're running 5.2.1 or earlier - return realpath(sys_get_temp_dir()); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Font.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Font.php deleted file mode 100644 index ee0702e44..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/Font.php +++ /dev/null @@ -1,773 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Font - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_Font -{ - /* Methods for resolving autosize value */ - const AUTOSIZE_METHOD_APPROX = 'approx'; - const AUTOSIZE_METHOD_EXACT = 'exact'; - - private static $_autoSizeMethods = array( - self::AUTOSIZE_METHOD_APPROX, - self::AUTOSIZE_METHOD_EXACT, - ); - - /** Character set codes used by BIFF5-8 in Font records */ - const CHARSET_ANSI_LATIN = 0x00; - const CHARSET_SYSTEM_DEFAULT = 0x01; - const CHARSET_SYMBOL = 0x02; - const CHARSET_APPLE_ROMAN = 0x4D; - const CHARSET_ANSI_JAPANESE_SHIFTJIS = 0x80; - const CHARSET_ANSI_KOREAN_HANGUL = 0x81; - const CHARSET_ANSI_KOREAN_JOHAB = 0x82; - const CHARSET_ANSI_CHINESE_SIMIPLIFIED = 0x86; // gb2312 - const CHARSET_ANSI_CHINESE_TRADITIONAL = 0x88; // big5 - const CHARSET_ANSI_GREEK = 0xA1; - const CHARSET_ANSI_TURKISH = 0xA2; - const CHARSET_ANSI_VIETNAMESE = 0xA3; - const CHARSET_ANSI_HEBREW = 0xB1; - const CHARSET_ANSI_ARABIC = 0xB2; - const CHARSET_ANSI_BALTIC = 0xBA; - const CHARSET_ANSI_CYRILLIC = 0xCC; - const CHARSET_ANSI_THAI = 0xDD; - const CHARSET_ANSI_LATIN_II = 0xEE; - const CHARSET_OEM_LATIN_I = 0xFF; - - // XXX: Constants created! - /** Font filenames */ - const ARIAL = 'arial.ttf'; - const ARIAL_BOLD = 'arialbd.ttf'; - const ARIAL_ITALIC = 'ariali.ttf'; - const ARIAL_BOLD_ITALIC = 'arialbi.ttf'; - - const CALIBRI = 'CALIBRI.TTF'; - const CALIBRI_BOLD = 'CALIBRIB.TTF'; - const CALIBRI_ITALIC = 'CALIBRII.TTF'; - const CALIBRI_BOLD_ITALIC = 'CALIBRIZ.TTF'; - - const COMIC_SANS_MS = 'comic.ttf'; - const COMIC_SANS_MS_BOLD = 'comicbd.ttf'; - - const COURIER_NEW = 'cour.ttf'; - const COURIER_NEW_BOLD = 'courbd.ttf'; - const COURIER_NEW_ITALIC = 'couri.ttf'; - const COURIER_NEW_BOLD_ITALIC = 'courbi.ttf'; - - const GEORGIA = 'georgia.ttf'; - const GEORGIA_BOLD = 'georgiab.ttf'; - const GEORGIA_ITALIC = 'georgiai.ttf'; - const GEORGIA_BOLD_ITALIC = 'georgiaz.ttf'; - - const IMPACT = 'impact.ttf'; - - const LIBERATION_SANS = 'LiberationSans-Regular.ttf'; - const LIBERATION_SANS_BOLD = 'LiberationSans-Bold.ttf'; - const LIBERATION_SANS_ITALIC = 'LiberationSans-Italic.ttf'; - const LIBERATION_SANS_BOLD_ITALIC = 'LiberationSans-BoldItalic.ttf'; - - const LUCIDA_CONSOLE = 'lucon.ttf'; - const LUCIDA_SANS_UNICODE = 'l_10646.ttf'; - - const MICROSOFT_SANS_SERIF = 'micross.ttf'; - - const PALATINO_LINOTYPE = 'pala.ttf'; - const PALATINO_LINOTYPE_BOLD = 'palab.ttf'; - const PALATINO_LINOTYPE_ITALIC = 'palai.ttf'; - const PALATINO_LINOTYPE_BOLD_ITALIC = 'palabi.ttf'; - - const SYMBOL = 'symbol.ttf'; - - const TAHOMA = 'tahoma.ttf'; - const TAHOMA_BOLD = 'tahomabd.ttf'; - - const TIMES_NEW_ROMAN = 'times.ttf'; - const TIMES_NEW_ROMAN_BOLD = 'timesbd.ttf'; - const TIMES_NEW_ROMAN_ITALIC = 'timesi.ttf'; - const TIMES_NEW_ROMAN_BOLD_ITALIC = 'timesbi.ttf'; - - const TREBUCHET_MS = 'trebuc.ttf'; - const TREBUCHET_MS_BOLD = 'trebucbd.ttf'; - const TREBUCHET_MS_ITALIC = 'trebucit.ttf'; - const TREBUCHET_MS_BOLD_ITALIC = 'trebucbi.ttf'; - - const VERDANA = 'verdana.ttf'; - const VERDANA_BOLD = 'verdanab.ttf'; - const VERDANA_ITALIC = 'verdanai.ttf'; - const VERDANA_BOLD_ITALIC = 'verdanaz.ttf'; - - /** - * AutoSize method - * - * @var string - */ - private static $autoSizeMethod = self::AUTOSIZE_METHOD_APPROX; - - /** - * Path to folder containing TrueType font .ttf files - * - * @var string - */ - private static $trueTypeFontPath = null; - - /** - * How wide is a default column for a given default font and size? - * Empirical data found by inspecting real Excel files and reading off the pixel width - * in Microsoft Office Excel 2007. - * - * @var array - */ - public static $defaultColumnWidths = array( - 'Arial' => array( - 1 => array('px' => 24, 'width' => 12.00000000), - 2 => array('px' => 24, 'width' => 12.00000000), - 3 => array('px' => 32, 'width' => 10.66406250), - 4 => array('px' => 32, 'width' => 10.66406250), - 5 => array('px' => 40, 'width' => 10.00000000), - 6 => array('px' => 48, 'width' => 9.59765625), - 7 => array('px' => 48, 'width' => 9.59765625), - 8 => array('px' => 56, 'width' => 9.33203125), - 9 => array('px' => 64, 'width' => 9.14062500), - 10 => array('px' => 64, 'width' => 9.14062500), - ), - 'Calibri' => array( - 1 => array('px' => 24, 'width' => 12.00000000), - 2 => array('px' => 24, 'width' => 12.00000000), - 3 => array('px' => 32, 'width' => 10.66406250), - 4 => array('px' => 32, 'width' => 10.66406250), - 5 => array('px' => 40, 'width' => 10.00000000), - 6 => array('px' => 48, 'width' => 9.59765625), - 7 => array('px' => 48, 'width' => 9.59765625), - 8 => array('px' => 56, 'width' => 9.33203125), - 9 => array('px' => 56, 'width' => 9.33203125), - 10 => array('px' => 64, 'width' => 9.14062500), - 11 => array('px' => 64, 'width' => 9.14062500), - ), - 'Verdana' => array( - 1 => array('px' => 24, 'width' => 12.00000000), - 2 => array('px' => 24, 'width' => 12.00000000), - 3 => array('px' => 32, 'width' => 10.66406250), - 4 => array('px' => 32, 'width' => 10.66406250), - 5 => array('px' => 40, 'width' => 10.00000000), - 6 => array('px' => 48, 'width' => 9.59765625), - 7 => array('px' => 48, 'width' => 9.59765625), - 8 => array('px' => 64, 'width' => 9.14062500), - 9 => array('px' => 72, 'width' => 9.00000000), - 10 => array('px' => 72, 'width' => 9.00000000), - ), - ); - - /** - * Set autoSize method - * - * @param string $pValue - * @return boolean Success or failure - */ - public static function setAutoSizeMethod($pValue = self::AUTOSIZE_METHOD_APPROX) - { - if (!in_array($pValue,self::$_autoSizeMethods)) { - return FALSE; - } - self::$autoSizeMethod = $pValue; - - return TRUE; - } - - /** - * Get autoSize method - * - * @return string - */ - public static function getAutoSizeMethod() - { - return self::$autoSizeMethod; - } - - /** - * Set the path to the folder containing .ttf files. There should be a trailing slash. - * Typical locations on variout some platforms: - * <ul> - * <li>C:/Windows/Fonts/</li> - * <li>/usr/share/fonts/truetype/</li> - * <li>~/.fonts/</li> - * </ul> - * - * @param string $pValue - */ - public static function setTrueTypeFontPath($pValue = '') - { - self::$trueTypeFontPath = $pValue; - } - - /** - * Get the path to the folder containing .ttf files. - * - * @return string - */ - public static function getTrueTypeFontPath() - { - return self::$trueTypeFontPath; - } - - /** - * Calculate an (approximate) OpenXML column width, based on font size and text contained - * - * @param PHPExcel_Style_Font $font Font object - * @param PHPExcel_RichText|string $cellText Text to calculate width - * @param integer $rotation Rotation angle - * @param PHPExcel_Style_Font|NULL $defaultFont Font object - * @return integer Column width - */ - public static function calculateColumnWidth(PHPExcel_Style_Font $font, $cellText = '', $rotation = 0, PHPExcel_Style_Font $defaultFont = null) { - // If it is rich text, use plain text - if ($cellText instanceof PHPExcel_RichText) { - $cellText = $cellText->getPlainText(); - } - - // Special case if there are one or more newline characters ("\n") - if (strpos($cellText, "\n") !== false) { - $lineTexts = explode("\n", $cellText); - $lineWitdhs = array(); - foreach ($lineTexts as $lineText) { - $lineWidths[] = self::calculateColumnWidth($font, $lineText, $rotation = 0, $defaultFont); - } - return max($lineWidths); // width of longest line in cell - } - - // Try to get the exact text width in pixels - $approximate = self::$autoSizeMethod == self::AUTOSIZE_METHOD_APPROX; - if (!$approximate) { - $columnWidthAdjust = ceil(self::getTextWidthPixelsExact('n', $font, 0) * 1.07); - try { - // Width of text in pixels excl. padding - // and addition because Excel adds some padding, just use approx width of 'n' glyph - $columnWidth = self::getTextWidthPixelsExact($cellText, $font, $rotation) + $columnWidthAdjust; - } catch (PHPExcel_Exception $e) { - $approximate == true; - } - } - - if ($approximate) { - $columnWidthAdjust = self::getTextWidthPixelsApprox('n', $font, 0); - // Width of text in pixels excl. padding, approximation - // and addition because Excel adds some padding, just use approx width of 'n' glyph - $columnWidth = self::getTextWidthPixelsApprox($cellText, $font, $rotation) + $columnWidthAdjust; - } - - // Convert from pixel width to column width - $columnWidth = PHPExcel_Shared_Drawing::pixelsToCellDimension($columnWidth, $defaultFont); - - // Return - return round($columnWidth, 6); - } - - /** - * Get GD text width in pixels for a string of text in a certain font at a certain rotation angle - * - * @param string $text - * @param PHPExcel_Style_Font - * @param int $rotation - * @return int - * @throws PHPExcel_Exception - */ - public static function getTextWidthPixelsExact($text, PHPExcel_Style_Font $font, $rotation = 0) { - if (!function_exists('imagettfbbox')) { - throw new PHPExcel_Exception('GD library needs to be enabled'); - } - - // font size should really be supplied in pixels in GD2, - // but since GD2 seems to assume 72dpi, pixels and points are the same - $fontFile = self::getTrueTypeFontFileFromFont($font); - $textBox = imagettfbbox($font->getSize(), $rotation, $fontFile, $text); - - // Get corners positions - $lowerLeftCornerX = $textBox[0]; -// $lowerLeftCornerY = $textBox[1]; - $lowerRightCornerX = $textBox[2]; -// $lowerRightCornerY = $textBox[3]; - $upperRightCornerX = $textBox[4]; -// $upperRightCornerY = $textBox[5]; - $upperLeftCornerX = $textBox[6]; -// $upperLeftCornerY = $textBox[7]; - - // Consider the rotation when calculating the width - $textWidth = max($lowerRightCornerX - $upperLeftCornerX, $upperRightCornerX - $lowerLeftCornerX); - - return $textWidth; - } - - /** - * Get approximate width in pixels for a string of text in a certain font at a certain rotation angle - * - * @param string $columnText - * @param PHPExcel_Style_Font $font - * @param int $rotation - * @return int Text width in pixels (no padding added) - */ - public static function getTextWidthPixelsApprox($columnText, PHPExcel_Style_Font $font = null, $rotation = 0) - { - $fontName = $font->getName(); - $fontSize = $font->getSize(); - - // Calculate column width in pixels. We assume fixed glyph width. Result varies with font name and size. - switch ($fontName) { - case 'Calibri': - // value 8.26 was found via interpolation by inspecting real Excel files with Calibri 11 font. - $columnWidth = (int) (8.26 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 11; // extrapolate from font size - break; - - case 'Arial': - // value 7 was found via interpolation by inspecting real Excel files with Arial 10 font. -// $columnWidth = (int) (7 * PHPExcel_Shared_String::CountCharacters($columnText)); - // value 8 was set because of experience in different exports at Arial 10 font. - $columnWidth = (int) (8 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 10; // extrapolate from font size - break; - - case 'Verdana': - // value 8 was found via interpolation by inspecting real Excel files with Verdana 10 font. - $columnWidth = (int) (8 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 10; // extrapolate from font size - break; - - default: - // just assume Calibri - $columnWidth = (int) (8.26 * PHPExcel_Shared_String::CountCharacters($columnText)); - $columnWidth = $columnWidth * $fontSize / 11; // extrapolate from font size - break; - } - - // Calculate approximate rotated column width - if ($rotation !== 0) { - if ($rotation == -165) { - // stacked text - $columnWidth = 4; // approximation - } else { - // rotated text - $columnWidth = $columnWidth * cos(deg2rad($rotation)) - + $fontSize * abs(sin(deg2rad($rotation))) / 5; // approximation - } - } - - // pixel width is an integer - return (int) $columnWidth; - } - - /** - * Calculate an (approximate) pixel size, based on a font points size - * - * @param int $fontSizeInPoints Font size (in points) - * @return int Font size (in pixels) - */ - public static function fontSizeToPixels($fontSizeInPoints = 11) { - return (int) ((4 / 3) * $fontSizeInPoints); - } - - /** - * Calculate an (approximate) pixel size, based on inch size - * - * @param int $sizeInInch Font size (in inch) - * @return int Size (in pixels) - */ - public static function inchSizeToPixels($sizeInInch = 1) { - return ($sizeInInch * 96); - } - - /** - * Calculate an (approximate) pixel size, based on centimeter size - * - * @param int $sizeInCm Font size (in centimeters) - * @return int Size (in pixels) - */ - public static function centimeterSizeToPixels($sizeInCm = 1) { - return ($sizeInCm * 37.795275591); - } - - /** - * Returns the font path given the font - * - * @param PHPExcel_Style_Font - * @return string Path to TrueType font file - */ - public static function getTrueTypeFontFileFromFont($font) { - if (!file_exists(self::$trueTypeFontPath) || !is_dir(self::$trueTypeFontPath)) { - throw new PHPExcel_Exception('Valid directory to TrueType Font files not specified'); - } - - $name = $font->getName(); - $bold = $font->getBold(); - $italic = $font->getItalic(); - - // Check if we can map font to true type font file - switch ($name) { - case 'Arial': - $fontFile = ( - $bold ? ($italic ? self::ARIAL_BOLD_ITALIC : self::ARIAL_BOLD) - : ($italic ? self::ARIAL_ITALIC : self::ARIAL) - ); - break; - - case 'Calibri': - $fontFile = ( - $bold ? ($italic ? self::CALIBRI_BOLD_ITALIC : self::CALIBRI_BOLD) - : ($italic ? self::CALIBRI_ITALIC : self::CALIBRI) - ); - break; - - case 'Courier New': - $fontFile = ( - $bold ? ($italic ? self::COURIER_NEW_BOLD_ITALIC : self::COURIER_NEW_BOLD) - : ($italic ? self::COURIER_NEW_ITALIC : self::COURIER_NEW) - ); - break; - - case 'Comic Sans MS': - $fontFile = ( - $bold ? self::COMIC_SANS_MS_BOLD : self::COMIC_SANS_MS - ); - break; - - case 'Georgia': - $fontFile = ( - $bold ? ($italic ? self::GEORGIA_BOLD_ITALIC : self::GEORGIA_BOLD) - : ($italic ? self::GEORGIA_ITALIC : self::GEORGIA) - ); - break; - - case 'Impact': - $fontFile = self::IMPACT; - break; - - case 'Liberation Sans': - $fontFile = ( - $bold ? ($italic ? self::LIBERATION_SANS_BOLD_ITALIC : self::LIBERATION_SANS_BOLD) - : ($italic ? self::LIBERATION_SANS_ITALIC : self::LIBERATION_SANS) - ); - break; - - case 'Lucida Console': - $fontFile = self::LUCIDA_CONSOLE; - break; - - case 'Lucida Sans Unicode': - $fontFile = self::LUCIDA_SANS_UNICODE; - break; - - case 'Microsoft Sans Serif': - $fontFile = self::MICROSOFT_SANS_SERIF; - break; - - case 'Palatino Linotype': - $fontFile = ( - $bold ? ($italic ? self::PALATINO_LINOTYPE_BOLD_ITALIC : self::PALATINO_LINOTYPE_BOLD) - : ($italic ? self::PALATINO_LINOTYPE_ITALIC : self::PALATINO_LINOTYPE) - ); - break; - - case 'Symbol': - $fontFile = self::SYMBOL; - break; - - case 'Tahoma': - $fontFile = ( - $bold ? self::TAHOMA_BOLD : self::TAHOMA - ); - break; - - case 'Times New Roman': - $fontFile = ( - $bold ? ($italic ? self::TIMES_NEW_ROMAN_BOLD_ITALIC : self::TIMES_NEW_ROMAN_BOLD) - : ($italic ? self::TIMES_NEW_ROMAN_ITALIC : self::TIMES_NEW_ROMAN) - ); - break; - - case 'Trebuchet MS': - $fontFile = ( - $bold ? ($italic ? self::TREBUCHET_MS_BOLD_ITALIC : self::TREBUCHET_MS_BOLD) - : ($italic ? self::TREBUCHET_MS_ITALIC : self::TREBUCHET_MS) - ); - break; - - case 'Verdana': - $fontFile = ( - $bold ? ($italic ? self::VERDANA_BOLD_ITALIC : self::VERDANA_BOLD) - : ($italic ? self::VERDANA_ITALIC : self::VERDANA) - ); - break; - - default: - throw new PHPExcel_Exception('Unknown font name "'. $name .'". Cannot map to TrueType font file'); - break; - } - - $fontFile = self::$trueTypeFontPath . $fontFile; - - // Check if file actually exists - if (!file_exists($fontFile)) { - throw New PHPExcel_Exception('TrueType Font file not found'); - } - - return $fontFile; - } - - /** - * Returns the associated charset for the font name. - * - * @param string $name Font name - * @return int Character set code - */ - public static function getCharsetFromFontName($name) - { - switch ($name) { - // Add more cases. Check FONT records in real Excel files. - case 'EucrosiaUPC': return self::CHARSET_ANSI_THAI; - case 'Wingdings': return self::CHARSET_SYMBOL; - case 'Wingdings 2': return self::CHARSET_SYMBOL; - case 'Wingdings 3': return self::CHARSET_SYMBOL; - default: return self::CHARSET_ANSI_LATIN; - } - } - - /** - * Get the effective column width for columns without a column dimension or column with width -1 - * For example, for Calibri 11 this is 9.140625 (64 px) - * - * @param PHPExcel_Style_Font $font The workbooks default font - * @param boolean $pPixels true = return column width in pixels, false = return in OOXML units - * @return mixed Column width - */ - public static function getDefaultColumnWidthByFont(PHPExcel_Style_Font $font, $pPixels = false) - { - if (isset(self::$defaultColumnWidths[$font->getName()][$font->getSize()])) { - // Exact width can be determined - $columnWidth = $pPixels ? - self::$defaultColumnWidths[$font->getName()][$font->getSize()]['px'] - : self::$defaultColumnWidths[$font->getName()][$font->getSize()]['width']; - - } else { - // We don't have data for this particular font and size, use approximation by - // extrapolating from Calibri 11 - $columnWidth = $pPixels ? - self::$defaultColumnWidths['Calibri'][11]['px'] - : self::$defaultColumnWidths['Calibri'][11]['width']; - $columnWidth = $columnWidth * $font->getSize() / 11; - - // Round pixels to closest integer - if ($pPixels) { - $columnWidth = (int) round($columnWidth); - } - } - - return $columnWidth; - } - - /** - * Get the effective row height for rows without a row dimension or rows with height -1 - * For example, for Calibri 11 this is 15 points - * - * @param PHPExcel_Style_Font $font The workbooks default font - * @return float Row height in points - */ - public static function getDefaultRowHeightByFont(PHPExcel_Style_Font $font) - { - switch ($font->getName()) { - case 'Arial': - switch ($font->getSize()) { - case 10: - // inspection of Arial 10 workbook says 12.75pt ~17px - $rowHeight = 12.75; - break; - - case 9: - // inspection of Arial 9 workbook says 12.00pt ~16px - $rowHeight = 12; - break; - - case 8: - // inspection of Arial 8 workbook says 11.25pt ~15px - $rowHeight = 11.25; - break; - - case 7: - // inspection of Arial 7 workbook says 9.00pt ~12px - $rowHeight = 9; - break; - - case 6: - case 5: - // inspection of Arial 5,6 workbook says 8.25pt ~11px - $rowHeight = 8.25; - break; - - case 4: - // inspection of Arial 4 workbook says 6.75pt ~9px - $rowHeight = 6.75; - break; - - case 3: - // inspection of Arial 3 workbook says 6.00pt ~8px - $rowHeight = 6; - break; - - case 2: - case 1: - // inspection of Arial 1,2 workbook says 5.25pt ~7px - $rowHeight = 5.25; - break; - - default: - // use Arial 10 workbook as an approximation, extrapolation - $rowHeight = 12.75 * $font->getSize() / 10; - break; - } - break; - - case 'Calibri': - switch ($font->getSize()) { - case 11: - // inspection of Calibri 11 workbook says 15.00pt ~20px - $rowHeight = 15; - break; - - case 10: - // inspection of Calibri 10 workbook says 12.75pt ~17px - $rowHeight = 12.75; - break; - - case 9: - // inspection of Calibri 9 workbook says 12.00pt ~16px - $rowHeight = 12; - break; - - case 8: - // inspection of Calibri 8 workbook says 11.25pt ~15px - $rowHeight = 11.25; - break; - - case 7: - // inspection of Calibri 7 workbook says 9.00pt ~12px - $rowHeight = 9; - break; - - case 6: - case 5: - // inspection of Calibri 5,6 workbook says 8.25pt ~11px - $rowHeight = 8.25; - break; - - case 4: - // inspection of Calibri 4 workbook says 6.75pt ~9px - $rowHeight = 6.75; - break; - - case 3: - // inspection of Calibri 3 workbook says 6.00pt ~8px - $rowHeight = 6.00; - break; - - case 2: - case 1: - // inspection of Calibri 1,2 workbook says 5.25pt ~7px - $rowHeight = 5.25; - break; - - default: - // use Calibri 11 workbook as an approximation, extrapolation - $rowHeight = 15 * $font->getSize() / 11; - break; - } - break; - - case 'Verdana': - switch ($font->getSize()) { - case 10: - // inspection of Verdana 10 workbook says 12.75pt ~17px - $rowHeight = 12.75; - break; - - case 9: - // inspection of Verdana 9 workbook says 11.25pt ~15px - $rowHeight = 11.25; - break; - - case 8: - // inspection of Verdana 8 workbook says 10.50pt ~14px - $rowHeight = 10.50; - break; - - case 7: - // inspection of Verdana 7 workbook says 9.00pt ~12px - $rowHeight = 9.00; - break; - - case 6: - case 5: - // inspection of Verdana 5,6 workbook says 8.25pt ~11px - $rowHeight = 8.25; - break; - - case 4: - // inspection of Verdana 4 workbook says 6.75pt ~9px - $rowHeight = 6.75; - break; - - case 3: - // inspection of Verdana 3 workbook says 6.00pt ~8px - $rowHeight = 6; - break; - - case 2: - case 1: - // inspection of Verdana 1,2 workbook says 5.25pt ~7px - $rowHeight = 5.25; - break; - - default: - // use Verdana 10 workbook as an approximation, extrapolation - $rowHeight = 12.75 * $font->getSize() / 10; - break; - } - break; - - default: - // just use Calibri as an approximation - $rowHeight = 15 * $font->getSize() / 11; - break; - } - - return $rowHeight; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/CHANGELOG.TXT b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/CHANGELOG.TXT deleted file mode 100644 index 1c18a5da3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/CHANGELOG.TXT +++ /dev/null @@ -1,16 +0,0 @@ -Mar 1, 2005 11:15 AST by PM - -+ For consistency, renamed Math.php to Maths.java, utils to util, - tests to test, docs to doc - - -+ Removed conditional logic from top of Matrix class. - -+ Switched to using hypo function in Maths.php for all php-hypot calls. - NOTE TO SELF: Need to make sure that all decompositions have been - switched over to using the bundled hypo. - -Feb 25, 2005 at 10:00 AST by PM - -+ Recommend using simpler Error.php instead of JAMA_Error.php but - can be persuaded otherwise. - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/CholeskyDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/CholeskyDecomposition.php deleted file mode 100644 index cfbaa53bc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/CholeskyDecomposition.php +++ /dev/null @@ -1,149 +0,0 @@ -<?php -/** - * @package JAMA - * - * Cholesky decomposition class - * - * For a symmetric, positive definite matrix A, the Cholesky decomposition - * is an lower triangular matrix L so that A = L*L'. - * - * If the matrix is not symmetric or positive definite, the constructor - * returns a partial decomposition and sets an internal flag that may - * be queried by the isSPD() method. - * - * @author Paul Meagher - * @author Michael Bommarito - * @version 1.2 - */ -class CholeskyDecomposition { - - /** - * Decomposition storage - * @var array - * @access private - */ - private $L = array(); - - /** - * Matrix row and column dimension - * @var int - * @access private - */ - private $m; - - /** - * Symmetric positive definite flag - * @var boolean - * @access private - */ - private $isspd = true; - - - /** - * CholeskyDecomposition - * - * Class constructor - decomposes symmetric positive definite matrix - * @param mixed Matrix square symmetric positive definite matrix - */ - public function __construct($A = null) { - if ($A instanceof Matrix) { - $this->L = $A->getArray(); - $this->m = $A->getRowDimension(); - - for($i = 0; $i < $this->m; ++$i) { - for($j = $i; $j < $this->m; ++$j) { - for($sum = $this->L[$i][$j], $k = $i - 1; $k >= 0; --$k) { - $sum -= $this->L[$i][$k] * $this->L[$j][$k]; - } - if ($i == $j) { - if ($sum >= 0) { - $this->L[$i][$i] = sqrt($sum); - } else { - $this->isspd = false; - } - } else { - if ($this->L[$i][$i] != 0) { - $this->L[$j][$i] = $sum / $this->L[$i][$i]; - } - } - } - - for ($k = $i+1; $k < $this->m; ++$k) { - $this->L[$i][$k] = 0.0; - } - } - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(ArgumentTypeException)); - } - } // function __construct() - - - /** - * Is the matrix symmetric and positive definite? - * - * @return boolean - */ - public function isSPD() { - return $this->isspd; - } // function isSPD() - - - /** - * getL - * - * Return triangular factor. - * @return Matrix Lower triangular matrix - */ - public function getL() { - return new Matrix($this->L); - } // function getL() - - - /** - * Solve A*X = B - * - * @param $B Row-equal matrix - * @return Matrix L * L' * X = B - */ - public function solve($B = null) { - if ($B instanceof Matrix) { - if ($B->getRowDimension() == $this->m) { - if ($this->isspd) { - $X = $B->getArrayCopy(); - $nx = $B->getColumnDimension(); - - for ($k = 0; $k < $this->m; ++$k) { - for ($i = $k + 1; $i < $this->m; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X[$i][$j] -= $X[$k][$j] * $this->L[$i][$k]; - } - } - for ($j = 0; $j < $nx; ++$j) { - $X[$k][$j] /= $this->L[$k][$k]; - } - } - - for ($k = $this->m - 1; $k >= 0; --$k) { - for ($j = 0; $j < $nx; ++$j) { - $X[$k][$j] /= $this->L[$k][$k]; - } - for ($i = 0; $i < $k; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X[$i][$j] -= $X[$k][$j] * $this->L[$k][$i]; - } - } - } - - return new Matrix($X, $this->m, $nx); - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixSPDException)); - } - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionException)); - } - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(ArgumentTypeException)); - } - } // function solve() - -} // class CholeskyDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php deleted file mode 100644 index 2a696d00f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php +++ /dev/null @@ -1,862 +0,0 @@ -<?php -/** - * @package JAMA - * - * Class to obtain eigenvalues and eigenvectors of a real matrix. - * - * If A is symmetric, then A = V*D*V' where the eigenvalue matrix D - * is diagonal and the eigenvector matrix V is orthogonal (i.e. - * A = V.times(D.times(V.transpose())) and V.times(V.transpose()) - * equals the identity matrix). - * - * If A is not symmetric, then the eigenvalue matrix D is block diagonal - * with the real eigenvalues in 1-by-1 blocks and any complex eigenvalues, - * lambda + i*mu, in 2-by-2 blocks, [lambda, mu; -mu, lambda]. The - * columns of V represent the eigenvectors in the sense that A*V = V*D, - * i.e. A.times(V) equals V.times(D). The matrix V may be badly - * conditioned, or even singular, so the validity of the equation - * A = V*D*inverse(V) depends upon V.cond(). - * - * @author Paul Meagher - * @license PHP v3.0 - * @version 1.1 - */ -class EigenvalueDecomposition { - - /** - * Row and column dimension (square matrix). - * @var int - */ - private $n; - - /** - * Internal symmetry flag. - * @var int - */ - private $issymmetric; - - /** - * Arrays for internal storage of eigenvalues. - * @var array - */ - private $d = array(); - private $e = array(); - - /** - * Array for internal storage of eigenvectors. - * @var array - */ - private $V = array(); - - /** - * Array for internal storage of nonsymmetric Hessenberg form. - * @var array - */ - private $H = array(); - - /** - * Working storage for nonsymmetric algorithm. - * @var array - */ - private $ort; - - /** - * Used for complex scalar division. - * @var float - */ - private $cdivr; - private $cdivi; - - - /** - * Symmetric Householder reduction to tridiagonal form. - * - * @access private - */ - private function tred2 () { - // This is derived from the Algol procedures tred2 by - // Bowdler, Martin, Reinsch, and Wilkinson, Handbook for - // Auto. Comp., Vol.ii-Linear Algebra, and the corresponding - // Fortran subroutine in EISPACK. - $this->d = $this->V[$this->n-1]; - // Householder reduction to tridiagonal form. - for ($i = $this->n-1; $i > 0; --$i) { - $i_ = $i -1; - // Scale to avoid under/overflow. - $h = $scale = 0.0; - $scale += array_sum(array_map(abs, $this->d)); - if ($scale == 0.0) { - $this->e[$i] = $this->d[$i_]; - $this->d = array_slice($this->V[$i_], 0, $i_); - for ($j = 0; $j < $i; ++$j) { - $this->V[$j][$i] = $this->V[$i][$j] = 0.0; - } - } else { - // Generate Householder vector. - for ($k = 0; $k < $i; ++$k) { - $this->d[$k] /= $scale; - $h += pow($this->d[$k], 2); - } - $f = $this->d[$i_]; - $g = sqrt($h); - if ($f > 0) { - $g = -$g; - } - $this->e[$i] = $scale * $g; - $h = $h - $f * $g; - $this->d[$i_] = $f - $g; - for ($j = 0; $j < $i; ++$j) { - $this->e[$j] = 0.0; - } - // Apply similarity transformation to remaining columns. - for ($j = 0; $j < $i; ++$j) { - $f = $this->d[$j]; - $this->V[$j][$i] = $f; - $g = $this->e[$j] + $this->V[$j][$j] * $f; - for ($k = $j+1; $k <= $i_; ++$k) { - $g += $this->V[$k][$j] * $this->d[$k]; - $this->e[$k] += $this->V[$k][$j] * $f; - } - $this->e[$j] = $g; - } - $f = 0.0; - for ($j = 0; $j < $i; ++$j) { - $this->e[$j] /= $h; - $f += $this->e[$j] * $this->d[$j]; - } - $hh = $f / (2 * $h); - for ($j=0; $j < $i; ++$j) { - $this->e[$j] -= $hh * $this->d[$j]; - } - for ($j = 0; $j < $i; ++$j) { - $f = $this->d[$j]; - $g = $this->e[$j]; - for ($k = $j; $k <= $i_; ++$k) { - $this->V[$k][$j] -= ($f * $this->e[$k] + $g * $this->d[$k]); - } - $this->d[$j] = $this->V[$i-1][$j]; - $this->V[$i][$j] = 0.0; - } - } - $this->d[$i] = $h; - } - - // Accumulate transformations. - for ($i = 0; $i < $this->n-1; ++$i) { - $this->V[$this->n-1][$i] = $this->V[$i][$i]; - $this->V[$i][$i] = 1.0; - $h = $this->d[$i+1]; - if ($h != 0.0) { - for ($k = 0; $k <= $i; ++$k) { - $this->d[$k] = $this->V[$k][$i+1] / $h; - } - for ($j = 0; $j <= $i; ++$j) { - $g = 0.0; - for ($k = 0; $k <= $i; ++$k) { - $g += $this->V[$k][$i+1] * $this->V[$k][$j]; - } - for ($k = 0; $k <= $i; ++$k) { - $this->V[$k][$j] -= $g * $this->d[$k]; - } - } - } - for ($k = 0; $k <= $i; ++$k) { - $this->V[$k][$i+1] = 0.0; - } - } - - $this->d = $this->V[$this->n-1]; - $this->V[$this->n-1] = array_fill(0, $j, 0.0); - $this->V[$this->n-1][$this->n-1] = 1.0; - $this->e[0] = 0.0; - } - - - /** - * Symmetric tridiagonal QL algorithm. - * - * This is derived from the Algol procedures tql2, by - * Bowdler, Martin, Reinsch, and Wilkinson, Handbook for - * Auto. Comp., Vol.ii-Linear Algebra, and the corresponding - * Fortran subroutine in EISPACK. - * - * @access private - */ - private function tql2() { - for ($i = 1; $i < $this->n; ++$i) { - $this->e[$i-1] = $this->e[$i]; - } - $this->e[$this->n-1] = 0.0; - $f = 0.0; - $tst1 = 0.0; - $eps = pow(2.0,-52.0); - - for ($l = 0; $l < $this->n; ++$l) { - // Find small subdiagonal element - $tst1 = max($tst1, abs($this->d[$l]) + abs($this->e[$l])); - $m = $l; - while ($m < $this->n) { - if (abs($this->e[$m]) <= $eps * $tst1) - break; - ++$m; - } - // If m == l, $this->d[l] is an eigenvalue, - // otherwise, iterate. - if ($m > $l) { - $iter = 0; - do { - // Could check iteration count here. - $iter += 1; - // Compute implicit shift - $g = $this->d[$l]; - $p = ($this->d[$l+1] - $g) / (2.0 * $this->e[$l]); - $r = hypo($p, 1.0); - if ($p < 0) - $r *= -1; - $this->d[$l] = $this->e[$l] / ($p + $r); - $this->d[$l+1] = $this->e[$l] * ($p + $r); - $dl1 = $this->d[$l+1]; - $h = $g - $this->d[$l]; - for ($i = $l + 2; $i < $this->n; ++$i) - $this->d[$i] -= $h; - $f += $h; - // Implicit QL transformation. - $p = $this->d[$m]; - $c = 1.0; - $c2 = $c3 = $c; - $el1 = $this->e[$l + 1]; - $s = $s2 = 0.0; - for ($i = $m-1; $i >= $l; --$i) { - $c3 = $c2; - $c2 = $c; - $s2 = $s; - $g = $c * $this->e[$i]; - $h = $c * $p; - $r = hypo($p, $this->e[$i]); - $this->e[$i+1] = $s * $r; - $s = $this->e[$i] / $r; - $c = $p / $r; - $p = $c * $this->d[$i] - $s * $g; - $this->d[$i+1] = $h + $s * ($c * $g + $s * $this->d[$i]); - // Accumulate transformation. - for ($k = 0; $k < $this->n; ++$k) { - $h = $this->V[$k][$i+1]; - $this->V[$k][$i+1] = $s * $this->V[$k][$i] + $c * $h; - $this->V[$k][$i] = $c * $this->V[$k][$i] - $s * $h; - } - } - $p = -$s * $s2 * $c3 * $el1 * $this->e[$l] / $dl1; - $this->e[$l] = $s * $p; - $this->d[$l] = $c * $p; - // Check for convergence. - } while (abs($this->e[$l]) > $eps * $tst1); - } - $this->d[$l] = $this->d[$l] + $f; - $this->e[$l] = 0.0; - } - - // Sort eigenvalues and corresponding vectors. - for ($i = 0; $i < $this->n - 1; ++$i) { - $k = $i; - $p = $this->d[$i]; - for ($j = $i+1; $j < $this->n; ++$j) { - if ($this->d[$j] < $p) { - $k = $j; - $p = $this->d[$j]; - } - } - if ($k != $i) { - $this->d[$k] = $this->d[$i]; - $this->d[$i] = $p; - for ($j = 0; $j < $this->n; ++$j) { - $p = $this->V[$j][$i]; - $this->V[$j][$i] = $this->V[$j][$k]; - $this->V[$j][$k] = $p; - } - } - } - } - - - /** - * Nonsymmetric reduction to Hessenberg form. - * - * This is derived from the Algol procedures orthes and ortran, - * by Martin and Wilkinson, Handbook for Auto. Comp., - * Vol.ii-Linear Algebra, and the corresponding - * Fortran subroutines in EISPACK. - * - * @access private - */ - private function orthes () { - $low = 0; - $high = $this->n-1; - - for ($m = $low+1; $m <= $high-1; ++$m) { - // Scale column. - $scale = 0.0; - for ($i = $m; $i <= $high; ++$i) { - $scale = $scale + abs($this->H[$i][$m-1]); - } - if ($scale != 0.0) { - // Compute Householder transformation. - $h = 0.0; - for ($i = $high; $i >= $m; --$i) { - $this->ort[$i] = $this->H[$i][$m-1] / $scale; - $h += $this->ort[$i] * $this->ort[$i]; - } - $g = sqrt($h); - if ($this->ort[$m] > 0) { - $g *= -1; - } - $h -= $this->ort[$m] * $g; - $this->ort[$m] -= $g; - // Apply Householder similarity transformation - // H = (I -u * u' / h) * H * (I -u * u') / h) - for ($j = $m; $j < $this->n; ++$j) { - $f = 0.0; - for ($i = $high; $i >= $m; --$i) { - $f += $this->ort[$i] * $this->H[$i][$j]; - } - $f /= $h; - for ($i = $m; $i <= $high; ++$i) { - $this->H[$i][$j] -= $f * $this->ort[$i]; - } - } - for ($i = 0; $i <= $high; ++$i) { - $f = 0.0; - for ($j = $high; $j >= $m; --$j) { - $f += $this->ort[$j] * $this->H[$i][$j]; - } - $f = $f / $h; - for ($j = $m; $j <= $high; ++$j) { - $this->H[$i][$j] -= $f * $this->ort[$j]; - } - } - $this->ort[$m] = $scale * $this->ort[$m]; - $this->H[$m][$m-1] = $scale * $g; - } - } - - // Accumulate transformations (Algol's ortran). - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - $this->V[$i][$j] = ($i == $j ? 1.0 : 0.0); - } - } - for ($m = $high-1; $m >= $low+1; --$m) { - if ($this->H[$m][$m-1] != 0.0) { - for ($i = $m+1; $i <= $high; ++$i) { - $this->ort[$i] = $this->H[$i][$m-1]; - } - for ($j = $m; $j <= $high; ++$j) { - $g = 0.0; - for ($i = $m; $i <= $high; ++$i) { - $g += $this->ort[$i] * $this->V[$i][$j]; - } - // Double division avoids possible underflow - $g = ($g / $this->ort[$m]) / $this->H[$m][$m-1]; - for ($i = $m; $i <= $high; ++$i) { - $this->V[$i][$j] += $g * $this->ort[$i]; - } - } - } - } - } - - - /** - * Performs complex division. - * - * @access private - */ - private function cdiv($xr, $xi, $yr, $yi) { - if (abs($yr) > abs($yi)) { - $r = $yi / $yr; - $d = $yr + $r * $yi; - $this->cdivr = ($xr + $r * $xi) / $d; - $this->cdivi = ($xi - $r * $xr) / $d; - } else { - $r = $yr / $yi; - $d = $yi + $r * $yr; - $this->cdivr = ($r * $xr + $xi) / $d; - $this->cdivi = ($r * $xi - $xr) / $d; - } - } - - - /** - * Nonsymmetric reduction from Hessenberg to real Schur form. - * - * Code is derived from the Algol procedure hqr2, - * by Martin and Wilkinson, Handbook for Auto. Comp., - * Vol.ii-Linear Algebra, and the corresponding - * Fortran subroutine in EISPACK. - * - * @access private - */ - private function hqr2 () { - // Initialize - $nn = $this->n; - $n = $nn - 1; - $low = 0; - $high = $nn - 1; - $eps = pow(2.0, -52.0); - $exshift = 0.0; - $p = $q = $r = $s = $z = 0; - // Store roots isolated by balanc and compute matrix norm - $norm = 0.0; - - for ($i = 0; $i < $nn; ++$i) { - if (($i < $low) OR ($i > $high)) { - $this->d[$i] = $this->H[$i][$i]; - $this->e[$i] = 0.0; - } - for ($j = max($i-1, 0); $j < $nn; ++$j) { - $norm = $norm + abs($this->H[$i][$j]); - } - } - - // Outer loop over eigenvalue index - $iter = 0; - while ($n >= $low) { - // Look for single small sub-diagonal element - $l = $n; - while ($l > $low) { - $s = abs($this->H[$l-1][$l-1]) + abs($this->H[$l][$l]); - if ($s == 0.0) { - $s = $norm; - } - if (abs($this->H[$l][$l-1]) < $eps * $s) { - break; - } - --$l; - } - // Check for convergence - // One root found - if ($l == $n) { - $this->H[$n][$n] = $this->H[$n][$n] + $exshift; - $this->d[$n] = $this->H[$n][$n]; - $this->e[$n] = 0.0; - --$n; - $iter = 0; - // Two roots found - } else if ($l == $n-1) { - $w = $this->H[$n][$n-1] * $this->H[$n-1][$n]; - $p = ($this->H[$n-1][$n-1] - $this->H[$n][$n]) / 2.0; - $q = $p * $p + $w; - $z = sqrt(abs($q)); - $this->H[$n][$n] = $this->H[$n][$n] + $exshift; - $this->H[$n-1][$n-1] = $this->H[$n-1][$n-1] + $exshift; - $x = $this->H[$n][$n]; - // Real pair - if ($q >= 0) { - if ($p >= 0) { - $z = $p + $z; - } else { - $z = $p - $z; - } - $this->d[$n-1] = $x + $z; - $this->d[$n] = $this->d[$n-1]; - if ($z != 0.0) { - $this->d[$n] = $x - $w / $z; - } - $this->e[$n-1] = 0.0; - $this->e[$n] = 0.0; - $x = $this->H[$n][$n-1]; - $s = abs($x) + abs($z); - $p = $x / $s; - $q = $z / $s; - $r = sqrt($p * $p + $q * $q); - $p = $p / $r; - $q = $q / $r; - // Row modification - for ($j = $n-1; $j < $nn; ++$j) { - $z = $this->H[$n-1][$j]; - $this->H[$n-1][$j] = $q * $z + $p * $this->H[$n][$j]; - $this->H[$n][$j] = $q * $this->H[$n][$j] - $p * $z; - } - // Column modification - for ($i = 0; $i <= n; ++$i) { - $z = $this->H[$i][$n-1]; - $this->H[$i][$n-1] = $q * $z + $p * $this->H[$i][$n]; - $this->H[$i][$n] = $q * $this->H[$i][$n] - $p * $z; - } - // Accumulate transformations - for ($i = $low; $i <= $high; ++$i) { - $z = $this->V[$i][$n-1]; - $this->V[$i][$n-1] = $q * $z + $p * $this->V[$i][$n]; - $this->V[$i][$n] = $q * $this->V[$i][$n] - $p * $z; - } - // Complex pair - } else { - $this->d[$n-1] = $x + $p; - $this->d[$n] = $x + $p; - $this->e[$n-1] = $z; - $this->e[$n] = -$z; - } - $n = $n - 2; - $iter = 0; - // No convergence yet - } else { - // Form shift - $x = $this->H[$n][$n]; - $y = 0.0; - $w = 0.0; - if ($l < $n) { - $y = $this->H[$n-1][$n-1]; - $w = $this->H[$n][$n-1] * $this->H[$n-1][$n]; - } - // Wilkinson's original ad hoc shift - if ($iter == 10) { - $exshift += $x; - for ($i = $low; $i <= $n; ++$i) { - $this->H[$i][$i] -= $x; - } - $s = abs($this->H[$n][$n-1]) + abs($this->H[$n-1][$n-2]); - $x = $y = 0.75 * $s; - $w = -0.4375 * $s * $s; - } - // MATLAB's new ad hoc shift - if ($iter == 30) { - $s = ($y - $x) / 2.0; - $s = $s * $s + $w; - if ($s > 0) { - $s = sqrt($s); - if ($y < $x) { - $s = -$s; - } - $s = $x - $w / (($y - $x) / 2.0 + $s); - for ($i = $low; $i <= $n; ++$i) { - $this->H[$i][$i] -= $s; - } - $exshift += $s; - $x = $y = $w = 0.964; - } - } - // Could check iteration count here. - $iter = $iter + 1; - // Look for two consecutive small sub-diagonal elements - $m = $n - 2; - while ($m >= $l) { - $z = $this->H[$m][$m]; - $r = $x - $z; - $s = $y - $z; - $p = ($r * $s - $w) / $this->H[$m+1][$m] + $this->H[$m][$m+1]; - $q = $this->H[$m+1][$m+1] - $z - $r - $s; - $r = $this->H[$m+2][$m+1]; - $s = abs($p) + abs($q) + abs($r); - $p = $p / $s; - $q = $q / $s; - $r = $r / $s; - if ($m == $l) { - break; - } - if (abs($this->H[$m][$m-1]) * (abs($q) + abs($r)) < - $eps * (abs($p) * (abs($this->H[$m-1][$m-1]) + abs($z) + abs($this->H[$m+1][$m+1])))) { - break; - } - --$m; - } - for ($i = $m + 2; $i <= $n; ++$i) { - $this->H[$i][$i-2] = 0.0; - if ($i > $m+2) { - $this->H[$i][$i-3] = 0.0; - } - } - // Double QR step involving rows l:n and columns m:n - for ($k = $m; $k <= $n-1; ++$k) { - $notlast = ($k != $n-1); - if ($k != $m) { - $p = $this->H[$k][$k-1]; - $q = $this->H[$k+1][$k-1]; - $r = ($notlast ? $this->H[$k+2][$k-1] : 0.0); - $x = abs($p) + abs($q) + abs($r); - if ($x != 0.0) { - $p = $p / $x; - $q = $q / $x; - $r = $r / $x; - } - } - if ($x == 0.0) { - break; - } - $s = sqrt($p * $p + $q * $q + $r * $r); - if ($p < 0) { - $s = -$s; - } - if ($s != 0) { - if ($k != $m) { - $this->H[$k][$k-1] = -$s * $x; - } elseif ($l != $m) { - $this->H[$k][$k-1] = -$this->H[$k][$k-1]; - } - $p = $p + $s; - $x = $p / $s; - $y = $q / $s; - $z = $r / $s; - $q = $q / $p; - $r = $r / $p; - // Row modification - for ($j = $k; $j < $nn; ++$j) { - $p = $this->H[$k][$j] + $q * $this->H[$k+1][$j]; - if ($notlast) { - $p = $p + $r * $this->H[$k+2][$j]; - $this->H[$k+2][$j] = $this->H[$k+2][$j] - $p * $z; - } - $this->H[$k][$j] = $this->H[$k][$j] - $p * $x; - $this->H[$k+1][$j] = $this->H[$k+1][$j] - $p * $y; - } - // Column modification - for ($i = 0; $i <= min($n, $k+3); ++$i) { - $p = $x * $this->H[$i][$k] + $y * $this->H[$i][$k+1]; - if ($notlast) { - $p = $p + $z * $this->H[$i][$k+2]; - $this->H[$i][$k+2] = $this->H[$i][$k+2] - $p * $r; - } - $this->H[$i][$k] = $this->H[$i][$k] - $p; - $this->H[$i][$k+1] = $this->H[$i][$k+1] - $p * $q; - } - // Accumulate transformations - for ($i = $low; $i <= $high; ++$i) { - $p = $x * $this->V[$i][$k] + $y * $this->V[$i][$k+1]; - if ($notlast) { - $p = $p + $z * $this->V[$i][$k+2]; - $this->V[$i][$k+2] = $this->V[$i][$k+2] - $p * $r; - } - $this->V[$i][$k] = $this->V[$i][$k] - $p; - $this->V[$i][$k+1] = $this->V[$i][$k+1] - $p * $q; - } - } // ($s != 0) - } // k loop - } // check convergence - } // while ($n >= $low) - - // Backsubstitute to find vectors of upper triangular form - if ($norm == 0.0) { - return; - } - - for ($n = $nn-1; $n >= 0; --$n) { - $p = $this->d[$n]; - $q = $this->e[$n]; - // Real vector - if ($q == 0) { - $l = $n; - $this->H[$n][$n] = 1.0; - for ($i = $n-1; $i >= 0; --$i) { - $w = $this->H[$i][$i] - $p; - $r = 0.0; - for ($j = $l; $j <= $n; ++$j) { - $r = $r + $this->H[$i][$j] * $this->H[$j][$n]; - } - if ($this->e[$i] < 0.0) { - $z = $w; - $s = $r; - } else { - $l = $i; - if ($this->e[$i] == 0.0) { - if ($w != 0.0) { - $this->H[$i][$n] = -$r / $w; - } else { - $this->H[$i][$n] = -$r / ($eps * $norm); - } - // Solve real equations - } else { - $x = $this->H[$i][$i+1]; - $y = $this->H[$i+1][$i]; - $q = ($this->d[$i] - $p) * ($this->d[$i] - $p) + $this->e[$i] * $this->e[$i]; - $t = ($x * $s - $z * $r) / $q; - $this->H[$i][$n] = $t; - if (abs($x) > abs($z)) { - $this->H[$i+1][$n] = (-$r - $w * $t) / $x; - } else { - $this->H[$i+1][$n] = (-$s - $y * $t) / $z; - } - } - // Overflow control - $t = abs($this->H[$i][$n]); - if (($eps * $t) * $t > 1) { - for ($j = $i; $j <= $n; ++$j) { - $this->H[$j][$n] = $this->H[$j][$n] / $t; - } - } - } - } - // Complex vector - } else if ($q < 0) { - $l = $n-1; - // Last vector component imaginary so matrix is triangular - if (abs($this->H[$n][$n-1]) > abs($this->H[$n-1][$n])) { - $this->H[$n-1][$n-1] = $q / $this->H[$n][$n-1]; - $this->H[$n-1][$n] = -($this->H[$n][$n] - $p) / $this->H[$n][$n-1]; - } else { - $this->cdiv(0.0, -$this->H[$n-1][$n], $this->H[$n-1][$n-1] - $p, $q); - $this->H[$n-1][$n-1] = $this->cdivr; - $this->H[$n-1][$n] = $this->cdivi; - } - $this->H[$n][$n-1] = 0.0; - $this->H[$n][$n] = 1.0; - for ($i = $n-2; $i >= 0; --$i) { - // double ra,sa,vr,vi; - $ra = 0.0; - $sa = 0.0; - for ($j = $l; $j <= $n; ++$j) { - $ra = $ra + $this->H[$i][$j] * $this->H[$j][$n-1]; - $sa = $sa + $this->H[$i][$j] * $this->H[$j][$n]; - } - $w = $this->H[$i][$i] - $p; - if ($this->e[$i] < 0.0) { - $z = $w; - $r = $ra; - $s = $sa; - } else { - $l = $i; - if ($this->e[$i] == 0) { - $this->cdiv(-$ra, -$sa, $w, $q); - $this->H[$i][$n-1] = $this->cdivr; - $this->H[$i][$n] = $this->cdivi; - } else { - // Solve complex equations - $x = $this->H[$i][$i+1]; - $y = $this->H[$i+1][$i]; - $vr = ($this->d[$i] - $p) * ($this->d[$i] - $p) + $this->e[$i] * $this->e[$i] - $q * $q; - $vi = ($this->d[$i] - $p) * 2.0 * $q; - if ($vr == 0.0 & $vi == 0.0) { - $vr = $eps * $norm * (abs($w) + abs($q) + abs($x) + abs($y) + abs($z)); - } - $this->cdiv($x * $r - $z * $ra + $q * $sa, $x * $s - $z * $sa - $q * $ra, $vr, $vi); - $this->H[$i][$n-1] = $this->cdivr; - $this->H[$i][$n] = $this->cdivi; - if (abs($x) > (abs($z) + abs($q))) { - $this->H[$i+1][$n-1] = (-$ra - $w * $this->H[$i][$n-1] + $q * $this->H[$i][$n]) / $x; - $this->H[$i+1][$n] = (-$sa - $w * $this->H[$i][$n] - $q * $this->H[$i][$n-1]) / $x; - } else { - $this->cdiv(-$r - $y * $this->H[$i][$n-1], -$s - $y * $this->H[$i][$n], $z, $q); - $this->H[$i+1][$n-1] = $this->cdivr; - $this->H[$i+1][$n] = $this->cdivi; - } - } - // Overflow control - $t = max(abs($this->H[$i][$n-1]),abs($this->H[$i][$n])); - if (($eps * $t) * $t > 1) { - for ($j = $i; $j <= $n; ++$j) { - $this->H[$j][$n-1] = $this->H[$j][$n-1] / $t; - $this->H[$j][$n] = $this->H[$j][$n] / $t; - } - } - } // end else - } // end for - } // end else for complex case - } // end for - - // Vectors of isolated roots - for ($i = 0; $i < $nn; ++$i) { - if ($i < $low | $i > $high) { - for ($j = $i; $j < $nn; ++$j) { - $this->V[$i][$j] = $this->H[$i][$j]; - } - } - } - - // Back transformation to get eigenvectors of original matrix - for ($j = $nn-1; $j >= $low; --$j) { - for ($i = $low; $i <= $high; ++$i) { - $z = 0.0; - for ($k = $low; $k <= min($j,$high); ++$k) { - $z = $z + $this->V[$i][$k] * $this->H[$k][$j]; - } - $this->V[$i][$j] = $z; - } - } - } // end hqr2 - - - /** - * Constructor: Check for symmetry, then construct the eigenvalue decomposition - * - * @access public - * @param A Square matrix - * @return Structure to access D and V. - */ - public function __construct($Arg) { - $this->A = $Arg->getArray(); - $this->n = $Arg->getColumnDimension(); - - $issymmetric = true; - for ($j = 0; ($j < $this->n) & $issymmetric; ++$j) { - for ($i = 0; ($i < $this->n) & $issymmetric; ++$i) { - $issymmetric = ($this->A[$i][$j] == $this->A[$j][$i]); - } - } - - if ($issymmetric) { - $this->V = $this->A; - // Tridiagonalize. - $this->tred2(); - // Diagonalize. - $this->tql2(); - } else { - $this->H = $this->A; - $this->ort = array(); - // Reduce to Hessenberg form. - $this->orthes(); - // Reduce Hessenberg to real Schur form. - $this->hqr2(); - } - } - - - /** - * Return the eigenvector matrix - * - * @access public - * @return V - */ - public function getV() { - return new Matrix($this->V, $this->n, $this->n); - } - - - /** - * Return the real parts of the eigenvalues - * - * @access public - * @return real(diag(D)) - */ - public function getRealEigenvalues() { - return $this->d; - } - - - /** - * Return the imaginary parts of the eigenvalues - * - * @access public - * @return imag(diag(D)) - */ - public function getImagEigenvalues() { - return $this->e; - } - - - /** - * Return the block diagonal eigenvalue matrix - * - * @access public - * @return D - */ - public function getD() { - for ($i = 0; $i < $this->n; ++$i) { - $D[$i] = array_fill(0, $this->n, 0.0); - $D[$i][$i] = $this->d[$i]; - if ($this->e[$i] == 0) { - continue; - } - $o = ($this->e[$i] > 0) ? $i + 1 : $i - 1; - $D[$i][$o] = $this->e[$i]; - } - return new Matrix($D); - } - -} // class EigenvalueDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/LUDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/LUDecomposition.php deleted file mode 100644 index 08e500cf7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/LUDecomposition.php +++ /dev/null @@ -1,258 +0,0 @@ -<?php -/** - * @package JAMA - * - * For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n - * unit lower triangular matrix L, an n-by-n upper triangular matrix U, - * and a permutation vector piv of length m so that A(piv,:) = L*U. - * If m < n, then L is m-by-m and U is m-by-n. - * - * The LU decompostion with pivoting always exists, even if the matrix is - * singular, so the constructor will never fail. The primary use of the - * LU decomposition is in the solution of square systems of simultaneous - * linear equations. This will fail if isNonsingular() returns false. - * - * @author Paul Meagher - * @author Bartosz Matosiuk - * @author Michael Bommarito - * @version 1.1 - * @license PHP v3.0 - */ -class PHPExcel_Shared_JAMA_LUDecomposition { - - const MatrixSingularException = "Can only perform operation on singular matrix."; - const MatrixSquareException = "Mismatched Row dimension"; - - /** - * Decomposition storage - * @var array - */ - private $LU = array(); - - /** - * Row dimension. - * @var int - */ - private $m; - - /** - * Column dimension. - * @var int - */ - private $n; - - /** - * Pivot sign. - * @var int - */ - private $pivsign; - - /** - * Internal storage of pivot vector. - * @var array - */ - private $piv = array(); - - - /** - * LU Decomposition constructor. - * - * @param $A Rectangular matrix - * @return Structure to access L, U and piv. - */ - public function __construct($A) { - if ($A instanceof PHPExcel_Shared_JAMA_Matrix) { - // Use a "left-looking", dot-product, Crout/Doolittle algorithm. - $this->LU = $A->getArray(); - $this->m = $A->getRowDimension(); - $this->n = $A->getColumnDimension(); - for ($i = 0; $i < $this->m; ++$i) { - $this->piv[$i] = $i; - } - $this->pivsign = 1; - $LUrowi = $LUcolj = array(); - - // Outer loop. - for ($j = 0; $j < $this->n; ++$j) { - // Make a copy of the j-th column to localize references. - for ($i = 0; $i < $this->m; ++$i) { - $LUcolj[$i] = &$this->LU[$i][$j]; - } - // Apply previous transformations. - for ($i = 0; $i < $this->m; ++$i) { - $LUrowi = $this->LU[$i]; - // Most of the time is spent in the following dot product. - $kmax = min($i,$j); - $s = 0.0; - for ($k = 0; $k < $kmax; ++$k) { - $s += $LUrowi[$k] * $LUcolj[$k]; - } - $LUrowi[$j] = $LUcolj[$i] -= $s; - } - // Find pivot and exchange if necessary. - $p = $j; - for ($i = $j+1; $i < $this->m; ++$i) { - if (abs($LUcolj[$i]) > abs($LUcolj[$p])) { - $p = $i; - } - } - if ($p != $j) { - for ($k = 0; $k < $this->n; ++$k) { - $t = $this->LU[$p][$k]; - $this->LU[$p][$k] = $this->LU[$j][$k]; - $this->LU[$j][$k] = $t; - } - $k = $this->piv[$p]; - $this->piv[$p] = $this->piv[$j]; - $this->piv[$j] = $k; - $this->pivsign = $this->pivsign * -1; - } - // Compute multipliers. - if (($j < $this->m) && ($this->LU[$j][$j] != 0.0)) { - for ($i = $j+1; $i < $this->m; ++$i) { - $this->LU[$i][$j] /= $this->LU[$j][$j]; - } - } - } - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::ArgumentTypeException); - } - } // function __construct() - - - /** - * Get lower triangular factor. - * - * @return array Lower triangular factor - */ - public function getL() { - for ($i = 0; $i < $this->m; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i > $j) { - $L[$i][$j] = $this->LU[$i][$j]; - } elseif ($i == $j) { - $L[$i][$j] = 1.0; - } else { - $L[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($L); - } // function getL() - - - /** - * Get upper triangular factor. - * - * @return array Upper triangular factor - */ - public function getU() { - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i <= $j) { - $U[$i][$j] = $this->LU[$i][$j]; - } else { - $U[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($U); - } // function getU() - - - /** - * Return pivot permutation vector. - * - * @return array Pivot vector - */ - public function getPivot() { - return $this->piv; - } // function getPivot() - - - /** - * Alias for getPivot - * - * @see getPivot - */ - public function getDoublePivot() { - return $this->getPivot(); - } // function getDoublePivot() - - - /** - * Is the matrix nonsingular? - * - * @return true if U, and hence A, is nonsingular. - */ - public function isNonsingular() { - for ($j = 0; $j < $this->n; ++$j) { - if ($this->LU[$j][$j] == 0) { - return false; - } - } - return true; - } // function isNonsingular() - - - /** - * Count determinants - * - * @return array d matrix deterninat - */ - public function det() { - if ($this->m == $this->n) { - $d = $this->pivsign; - for ($j = 0; $j < $this->n; ++$j) { - $d *= $this->LU[$j][$j]; - } - return $d; - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::MatrixDimensionException); - } - } // function det() - - - /** - * Solve A*X = B - * - * @param $B A Matrix with as many rows as A and any number of columns. - * @return X so that L*U*X = B(piv,:) - * @PHPExcel_Calculation_Exception IllegalArgumentException Matrix row dimensions must agree. - * @PHPExcel_Calculation_Exception RuntimeException Matrix is singular. - */ - public function solve($B) { - if ($B->getRowDimension() == $this->m) { - if ($this->isNonsingular()) { - // Copy right hand side with pivoting - $nx = $B->getColumnDimension(); - $X = $B->getMatrix($this->piv, 0, $nx-1); - // Solve L*Y = B(piv,:) - for ($k = 0; $k < $this->n; ++$k) { - for ($i = $k+1; $i < $this->n; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X->A[$i][$j] -= $X->A[$k][$j] * $this->LU[$i][$k]; - } - } - } - // Solve U*X = Y; - for ($k = $this->n-1; $k >= 0; --$k) { - for ($j = 0; $j < $nx; ++$j) { - $X->A[$k][$j] /= $this->LU[$k][$k]; - } - for ($i = 0; $i < $k; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X->A[$i][$j] -= $X->A[$k][$j] * $this->LU[$i][$k]; - } - } - } - return $X; - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixSingularException); - } - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixSquareException); - } - } // function solve() - -} // class PHPExcel_Shared_JAMA_LUDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/Matrix.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/Matrix.php deleted file mode 100644 index b893a447a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/Matrix.php +++ /dev/null @@ -1,1059 +0,0 @@ -<?php -/** - * @package JAMA - */ - -/** PHPExcel root directory */ -if (!defined('PHPEXCEL_ROOT')) { - /** - * @ignore - */ - define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../../../'); - require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); -} - - -/* - * Matrix class - * - * @author Paul Meagher - * @author Michael Bommarito - * @author Lukasz Karapuda - * @author Bartek Matosiuk - * @version 1.8 - * @license PHP v3.0 - * @see http://math.nist.gov/javanumerics/jama/ - */ -class PHPExcel_Shared_JAMA_Matrix { - - - const PolymorphicArgumentException = "Invalid argument pattern for polymorphic function."; - const ArgumentTypeException = "Invalid argument type."; - const ArgumentBoundsException = "Invalid argument range."; - const MatrixDimensionException = "Matrix dimensions are not equal."; - const ArrayLengthException = "Array length must be a multiple of m."; - - /** - * Matrix storage - * - * @var array - * @access public - */ - public $A = array(); - - /** - * Matrix row dimension - * - * @var int - * @access private - */ - private $m; - - /** - * Matrix column dimension - * - * @var int - * @access private - */ - private $n; - - - /** - * Polymorphic constructor - * - * As PHP has no support for polymorphic constructors, we hack our own sort of polymorphism using func_num_args, func_get_arg, and gettype. In essence, we're just implementing a simple RTTI filter and calling the appropriate constructor. - */ - public function __construct() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - //Rectangular matrix - m x n initialized from 2D array - case 'array': - $this->m = count($args[0]); - $this->n = count($args[0][0]); - $this->A = $args[0]; - break; - //Square matrix - n x n - case 'integer': - $this->m = $args[0]; - $this->n = $args[0]; - $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0)); - break; - //Rectangular matrix - m x n - case 'integer,integer': - $this->m = $args[0]; - $this->n = $args[1]; - $this->A = array_fill(0, $this->m, array_fill(0, $this->n, 0)); - break; - //Rectangular matrix - m x n initialized from packed array - case 'array,integer': - $this->m = $args[1]; - if ($this->m != 0) { - $this->n = count($args[0]) / $this->m; - } else { - $this->n = 0; - } - if (($this->m * $this->n) == count($args[0])) { - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = $args[0][$i + $j * $this->m]; - } - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArrayLengthException); - } - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function __construct() - - - /** - * getArray - * - * @return array Matrix array - */ - public function getArray() { - return $this->A; - } // function getArray() - - - /** - * getRowDimension - * - * @return int Row dimension - */ - public function getRowDimension() { - return $this->m; - } // function getRowDimension() - - - /** - * getColumnDimension - * - * @return int Column dimension - */ - public function getColumnDimension() { - return $this->n; - } // function getColumnDimension() - - - /** - * get - * - * Get the i,j-th element of the matrix. - * @param int $i Row position - * @param int $j Column position - * @return mixed Element (int/float/double) - */ - public function get($i = null, $j = null) { - return $this->A[$i][$j]; - } // function get() - - - /** - * getMatrix - * - * Get a submatrix - * @param int $i0 Initial row index - * @param int $iF Final row index - * @param int $j0 Initial column index - * @param int $jF Final column index - * @return Matrix Submatrix - */ - public function getMatrix() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - //A($i0...; $j0...) - case 'integer,integer': - list($i0, $j0) = $args; - if ($i0 >= 0) { $m = $this->m - $i0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if ($j0 >= 0) { $n = $this->n - $j0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = $i0; $i < $this->m; ++$i) { - for($j = $j0; $j < $this->n; ++$j) { - $R->set($i, $j, $this->A[$i][$j]); - } - } - return $R; - break; - //A($i0...$iF; $j0...$jF) - case 'integer,integer,integer,integer': - list($i0, $iF, $j0, $jF) = $args; - if (($iF > $i0) && ($this->m >= $iF) && ($i0 >= 0)) { $m = $iF - $i0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (($jF > $j0) && ($this->n >= $jF) && ($j0 >= 0)) { $n = $jF - $j0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m+1, $n+1); - for($i = $i0; $i <= $iF; ++$i) { - for($j = $j0; $j <= $jF; ++$j) { - $R->set($i - $i0, $j - $j0, $this->A[$i][$j]); - } - } - return $R; - break; - //$R = array of row indices; $C = array of column indices - case 'array,array': - list($RL, $CL) = $args; - if (count($RL) > 0) { $m = count($RL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (count($CL) > 0) { $n = count($CL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = 0; $i < $m; ++$i) { - for($j = 0; $j < $n; ++$j) { - $R->set($i - $i0, $j - $j0, $this->A[$RL[$i]][$CL[$j]]); - } - } - return $R; - break; - //$RL = array of row indices; $CL = array of column indices - case 'array,array': - list($RL, $CL) = $args; - if (count($RL) > 0) { $m = count($RL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (count($CL) > 0) { $n = count($CL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = 0; $i < $m; ++$i) { - for($j = 0; $j < $n; ++$j) { - $R->set($i, $j, $this->A[$RL[$i]][$CL[$j]]); - } - } - return $R; - break; - //A($i0...$iF); $CL = array of column indices - case 'integer,integer,array': - list($i0, $iF, $CL) = $args; - if (($iF > $i0) && ($this->m >= $iF) && ($i0 >= 0)) { $m = $iF - $i0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (count($CL) > 0) { $n = count($CL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = $i0; $i < $iF; ++$i) { - for($j = 0; $j < $n; ++$j) { - $R->set($i - $i0, $j, $this->A[$RL[$i]][$j]); - } - } - return $R; - break; - //$RL = array of row indices - case 'array,integer,integer': - list($RL, $j0, $jF) = $args; - if (count($RL) > 0) { $m = count($RL); } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - if (($jF >= $j0) && ($this->n >= $jF) && ($j0 >= 0)) { $n = $jF - $j0; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentBoundsException); } - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n+1); - for($i = 0; $i < $m; ++$i) { - for($j = $j0; $j <= $jF; ++$j) { - $R->set($i, $j - $j0, $this->A[$RL[$i]][$j]); - } - } - return $R; - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function getMatrix() - - - /** - * checkMatrixDimensions - * - * Is matrix B the same size? - * @param Matrix $B Matrix B - * @return boolean - */ - public function checkMatrixDimensions($B = null) { - if ($B instanceof PHPExcel_Shared_JAMA_Matrix) { - if (($this->m == $B->getRowDimension()) && ($this->n == $B->getColumnDimension())) { - return true; - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixDimensionException); - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); - } - } // function checkMatrixDimensions() - - - - /** - * set - * - * Set the i,j-th element of the matrix. - * @param int $i Row position - * @param int $j Column position - * @param mixed $c Int/float/double value - * @return mixed Element (int/float/double) - */ - public function set($i = null, $j = null, $c = null) { - // Optimized set version just has this - $this->A[$i][$j] = $c; - } // function set() - - - /** - * identity - * - * Generate an identity matrix. - * @param int $m Row dimension - * @param int $n Column dimension - * @return Matrix Identity matrix - */ - public function identity($m = null, $n = null) { - return $this->diagonal($m, $n, 1); - } // function identity() - - - /** - * diagonal - * - * Generate a diagonal matrix - * @param int $m Row dimension - * @param int $n Column dimension - * @param mixed $c Diagonal value - * @return Matrix Diagonal matrix - */ - public function diagonal($m = null, $n = null, $c = 1) { - $R = new PHPExcel_Shared_JAMA_Matrix($m, $n); - for($i = 0; $i < $m; ++$i) { - $R->set($i, $i, $c); - } - return $R; - } // function diagonal() - - - /** - * getMatrixByRow - * - * Get a submatrix by row index/range - * @param int $i0 Initial row index - * @param int $iF Final row index - * @return Matrix Submatrix - */ - public function getMatrixByRow($i0 = null, $iF = null) { - if (is_int($i0)) { - if (is_int($iF)) { - return $this->getMatrix($i0, 0, $iF + 1, $this->n); - } else { - return $this->getMatrix($i0, 0, $i0 + 1, $this->n); - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); - } - } // function getMatrixByRow() - - - /** - * getMatrixByCol - * - * Get a submatrix by column index/range - * @param int $i0 Initial column index - * @param int $iF Final column index - * @return Matrix Submatrix - */ - public function getMatrixByCol($j0 = null, $jF = null) { - if (is_int($j0)) { - if (is_int($jF)) { - return $this->getMatrix(0, $j0, $this->m, $jF + 1); - } else { - return $this->getMatrix(0, $j0, $this->m, $j0 + 1); - } - } else { - throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); - } - } // function getMatrixByCol() - - - /** - * transpose - * - * Tranpose matrix - * @return Matrix Transposed matrix - */ - public function transpose() { - $R = new PHPExcel_Shared_JAMA_Matrix($this->n, $this->m); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $R->set($j, $i, $this->A[$i][$j]); - } - } - return $R; - } // function transpose() - - - /** - * trace - * - * Sum of diagonal elements - * @return float Sum of diagonal elements - */ - public function trace() { - $s = 0; - $n = min($this->m, $this->n); - for($i = 0; $i < $n; ++$i) { - $s += $this->A[$i][$i]; - } - return $s; - } // function trace() - - - /** - * uminus - * - * Unary minus matrix -A - * @return Matrix Unary minus matrix - */ - public function uminus() { - } // function uminus() - - - /** - * plus - * - * A + B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function plus() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) + $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function plus() - - - /** - * plusEquals - * - * A = A + B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function plusEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] += $value; - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function plusEquals() - - - /** - * minus - * - * A - B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function minus() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) - $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function minus() - - - /** - * minusEquals - * - * A = A - B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function minusEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] -= $value; - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function minusEquals() - - - /** - * arrayTimes - * - * Element-by-element multiplication - * Cij = Aij * Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Cij - */ - public function arrayTimes() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) * $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayTimes() - - - /** - * arrayTimesEquals - * - * Element-by-element multiplication - * Aij = Aij * Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Aij - */ - public function arrayTimesEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] *= $value; - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayTimesEquals() - - - /** - * arrayRightDivide - * - * Element-by-element right division - * A / B - * @param Matrix $B Matrix B - * @return Matrix Division result - */ - public function arrayRightDivide() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - if ($value == 0) { - // Trap for Divide by Zero error - $M->set($i, $j, '#DIV/0!'); - } else { - $M->set($i, $j, $this->A[$i][$j] / $value); - } - } else { - $M->set($i, $j, PHPExcel_Calculation_Functions::NaN()); - } - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayRightDivide() - - - /** - * arrayRightDivideEquals - * - * Element-by-element right division - * Aij = Aij / Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Aij - */ - public function arrayRightDivideEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = $this->A[$i][$j] / $M->get($i, $j); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayRightDivideEquals() - - - /** - * arrayLeftDivide - * - * Element-by-element Left division - * A / B - * @param Matrix $B Matrix B - * @return Matrix Division result - */ - public function arrayLeftDivide() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $M->set($i, $j, $M->get($i, $j) / $this->A[$i][$j]); - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayLeftDivide() - - - /** - * arrayLeftDivideEquals - * - * Element-by-element Left division - * Aij = Aij / Bij - * @param mixed $B Matrix/Array - * @return Matrix Matrix Aij - */ - public function arrayLeftDivideEquals() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = $M->get($i, $j) / $this->A[$i][$j]; - } - } - return $M; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function arrayLeftDivideEquals() - - - /** - * times - * - * Matrix multiplication - * @param mixed $n Matrix/Array/Scalar - * @return Matrix Product - */ - public function times() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $B = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - if ($this->n == $B->m) { - $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $B->n); - for($j = 0; $j < $B->n; ++$j) { - for ($k = 0; $k < $this->n; ++$k) { - $Bcolj[$k] = $B->A[$k][$j]; - } - for($i = 0; $i < $this->m; ++$i) { - $Arowi = $this->A[$i]; - $s = 0; - for($k = 0; $k < $this->n; ++$k) { - $s += $Arowi[$k] * $Bcolj[$k]; - } - $C->A[$i][$j] = $s; - } - } - return $C; - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionMismatch)); - } - break; - case 'array': - $B = new PHPExcel_Shared_JAMA_Matrix($args[0]); - if ($this->n == $B->m) { - $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $B->n); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $s = "0"; - for($k = 0; $k < $C->n; ++$k) { - $s += $this->A[$i][$k] * $B->A[$k][$j]; - } - $C->A[$i][$j] = $s; - } - } - return $C; - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(MatrixDimensionMismatch)); - } - return $M; - break; - case 'integer': - $C = new PHPExcel_Shared_JAMA_Matrix($this->A); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $C->A[$i][$j] *= $args[0]; - } - } - return $C; - break; - case 'double': - $C = new PHPExcel_Shared_JAMA_Matrix($this->m, $this->n); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $C->A[$i][$j] = $args[0] * $this->A[$i][$j]; - } - } - return $C; - break; - case 'float': - $C = new PHPExcel_Shared_JAMA_Matrix($this->A); - for($i = 0; $i < $C->m; ++$i) { - for($j = 0; $j < $C->n; ++$j) { - $C->A[$i][$j] *= $args[0]; - } - } - return $C; - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function times() - - - /** - * power - * - * A = A ^ B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function power() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - break; - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $validValues = True; - $value = $M->get($i, $j); - if ((is_string($this->A[$i][$j])) && (strlen($this->A[$i][$j]) > 0) && (!is_numeric($this->A[$i][$j]))) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($this->A[$i][$j]); - } - if ((is_string($value)) && (strlen($value) > 0) && (!is_numeric($value))) { - $value = trim($value,'"'); - $validValues &= PHPExcel_Shared_String::convertToNumberIfFraction($value); - } - if ($validValues) { - $this->A[$i][$j] = pow($this->A[$i][$j],$value); - } else { - $this->A[$i][$j] = PHPExcel_Calculation_Functions::NaN(); - } - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function power() - - - /** - * concat - * - * A = A & B - * @param mixed $B Matrix/Array - * @return Matrix Sum - */ - public function concat() { - if (func_num_args() > 0) { - $args = func_get_args(); - $match = implode(",", array_map('gettype', $args)); - - switch($match) { - case 'object': - if ($args[0] instanceof PHPExcel_Shared_JAMA_Matrix) { $M = $args[0]; } else { throw new PHPExcel_Calculation_Exception(self::ArgumentTypeException); } - case 'array': - $M = new PHPExcel_Shared_JAMA_Matrix($args[0]); - break; - default: - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - break; - } - $this->checkMatrixDimensions($M); - for($i = 0; $i < $this->m; ++$i) { - for($j = 0; $j < $this->n; ++$j) { - $this->A[$i][$j] = trim($this->A[$i][$j],'"').trim($M->get($i, $j),'"'); - } - } - return $this; - } else { - throw new PHPExcel_Calculation_Exception(self::PolymorphicArgumentException); - } - } // function concat() - - - /** - * Solve A*X = B. - * - * @param Matrix $B Right hand side - * @return Matrix ... Solution if A is square, least squares solution otherwise - */ - public function solve($B) { - if ($this->m == $this->n) { - $LU = new PHPExcel_Shared_JAMA_LUDecomposition($this); - return $LU->solve($B); - } else { - $QR = new QRDecomposition($this); - return $QR->solve($B); - } - } // function solve() - - - /** - * Matrix inverse or pseudoinverse. - * - * @return Matrix ... Inverse(A) if A is square, pseudoinverse otherwise. - */ - public function inverse() { - return $this->solve($this->identity($this->m, $this->m)); - } // function inverse() - - - /** - * det - * - * Calculate determinant - * @return float Determinant - */ - public function det() { - $L = new PHPExcel_Shared_JAMA_LUDecomposition($this); - return $L->det(); - } // function det() - - -} // class PHPExcel_Shared_JAMA_Matrix diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/QRDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/QRDecomposition.php deleted file mode 100644 index 753846298..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/QRDecomposition.php +++ /dev/null @@ -1,234 +0,0 @@ -<?php -/** - * @package JAMA - * - * For an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n - * orthogonal matrix Q and an n-by-n upper triangular matrix R so that - * A = Q*R. - * - * The QR decompostion always exists, even if the matrix does not have - * full rank, so the constructor will never fail. The primary use of the - * QR decomposition is in the least squares solution of nonsquare systems - * of simultaneous linear equations. This will fail if isFullRank() - * returns false. - * - * @author Paul Meagher - * @license PHP v3.0 - * @version 1.1 - */ -class PHPExcel_Shared_JAMA_QRDecomposition { - - const MatrixRankException = "Can only perform operation on full-rank matrix."; - - /** - * Array for internal storage of decomposition. - * @var array - */ - private $QR = array(); - - /** - * Row dimension. - * @var integer - */ - private $m; - - /** - * Column dimension. - * @var integer - */ - private $n; - - /** - * Array for internal storage of diagonal of R. - * @var array - */ - private $Rdiag = array(); - - - /** - * QR Decomposition computed by Householder reflections. - * - * @param matrix $A Rectangular matrix - * @return Structure to access R and the Householder vectors and compute Q. - */ - public function __construct($A) { - if($A instanceof PHPExcel_Shared_JAMA_Matrix) { - // Initialize. - $this->QR = $A->getArrayCopy(); - $this->m = $A->getRowDimension(); - $this->n = $A->getColumnDimension(); - // Main loop. - for ($k = 0; $k < $this->n; ++$k) { - // Compute 2-norm of k-th column without under/overflow. - $nrm = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $nrm = hypo($nrm, $this->QR[$i][$k]); - } - if ($nrm != 0.0) { - // Form k-th Householder vector. - if ($this->QR[$k][$k] < 0) { - $nrm = -$nrm; - } - for ($i = $k; $i < $this->m; ++$i) { - $this->QR[$i][$k] /= $nrm; - } - $this->QR[$k][$k] += 1.0; - // Apply transformation to remaining columns. - for ($j = $k+1; $j < $this->n; ++$j) { - $s = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $s += $this->QR[$i][$k] * $this->QR[$i][$j]; - } - $s = -$s/$this->QR[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $this->QR[$i][$j] += $s * $this->QR[$i][$k]; - } - } - } - $this->Rdiag[$k] = -$nrm; - } - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::ArgumentTypeException); - } - } // function __construct() - - - /** - * Is the matrix full rank? - * - * @return boolean true if R, and hence A, has full rank, else false. - */ - public function isFullRank() { - for ($j = 0; $j < $this->n; ++$j) { - if ($this->Rdiag[$j] == 0) { - return false; - } - } - return true; - } // function isFullRank() - - - /** - * Return the Householder vectors - * - * @return Matrix Lower trapezoidal matrix whose columns define the reflections - */ - public function getH() { - for ($i = 0; $i < $this->m; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i >= $j) { - $H[$i][$j] = $this->QR[$i][$j]; - } else { - $H[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($H); - } // function getH() - - - /** - * Return the upper triangular factor - * - * @return Matrix upper triangular factor - */ - public function getR() { - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - if ($i < $j) { - $R[$i][$j] = $this->QR[$i][$j]; - } elseif ($i == $j) { - $R[$i][$j] = $this->Rdiag[$i]; - } else { - $R[$i][$j] = 0.0; - } - } - } - return new PHPExcel_Shared_JAMA_Matrix($R); - } // function getR() - - - /** - * Generate and return the (economy-sized) orthogonal factor - * - * @return Matrix orthogonal factor - */ - public function getQ() { - for ($k = $this->n-1; $k >= 0; --$k) { - for ($i = 0; $i < $this->m; ++$i) { - $Q[$i][$k] = 0.0; - } - $Q[$k][$k] = 1.0; - for ($j = $k; $j < $this->n; ++$j) { - if ($this->QR[$k][$k] != 0) { - $s = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $s += $this->QR[$i][$k] * $Q[$i][$j]; - } - $s = -$s/$this->QR[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $Q[$i][$j] += $s * $this->QR[$i][$k]; - } - } - } - } - /* - for($i = 0; $i < count($Q); ++$i) { - for($j = 0; $j < count($Q); ++$j) { - if(! isset($Q[$i][$j]) ) { - $Q[$i][$j] = 0; - } - } - } - */ - return new PHPExcel_Shared_JAMA_Matrix($Q); - } // function getQ() - - - /** - * Least squares solution of A*X = B - * - * @param Matrix $B A Matrix with as many rows as A and any number of columns. - * @return Matrix Matrix that minimizes the two norm of Q*R*X-B. - */ - public function solve($B) { - if ($B->getRowDimension() == $this->m) { - if ($this->isFullRank()) { - // Copy right hand side - $nx = $B->getColumnDimension(); - $X = $B->getArrayCopy(); - // Compute Y = transpose(Q)*B - for ($k = 0; $k < $this->n; ++$k) { - for ($j = 0; $j < $nx; ++$j) { - $s = 0.0; - for ($i = $k; $i < $this->m; ++$i) { - $s += $this->QR[$i][$k] * $X[$i][$j]; - } - $s = -$s/$this->QR[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $X[$i][$j] += $s * $this->QR[$i][$k]; - } - } - } - // Solve R*X = Y; - for ($k = $this->n-1; $k >= 0; --$k) { - for ($j = 0; $j < $nx; ++$j) { - $X[$k][$j] /= $this->Rdiag[$k]; - } - for ($i = 0; $i < $k; ++$i) { - for ($j = 0; $j < $nx; ++$j) { - $X[$i][$j] -= $X[$k][$j]* $this->QR[$i][$k]; - } - } - } - $X = new PHPExcel_Shared_JAMA_Matrix($X); - return ($X->getMatrix(0, $this->n-1, 0, $nx)); - } else { - throw new PHPExcel_Calculation_Exception(self::MatrixRankException); - } - } else { - throw new PHPExcel_Calculation_Exception(PHPExcel_Shared_JAMA_Matrix::MatrixDimensionException); - } - } // function solve() - -} // PHPExcel_Shared_JAMA_class QRDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/SingularValueDecomposition.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/SingularValueDecomposition.php deleted file mode 100644 index a4b096c59..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/SingularValueDecomposition.php +++ /dev/null @@ -1,526 +0,0 @@ -<?php -/** - * @package JAMA - * - * For an m-by-n matrix A with m >= n, the singular value decomposition is - * an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and - * an n-by-n orthogonal matrix V so that A = U*S*V'. - * - * The singular values, sigma[$k] = S[$k][$k], are ordered so that - * sigma[0] >= sigma[1] >= ... >= sigma[n-1]. - * - * The singular value decompostion always exists, so the constructor will - * never fail. The matrix condition number and the effective numerical - * rank can be computed from this decomposition. - * - * @author Paul Meagher - * @license PHP v3.0 - * @version 1.1 - */ -class SingularValueDecomposition { - - /** - * Internal storage of U. - * @var array - */ - private $U = array(); - - /** - * Internal storage of V. - * @var array - */ - private $V = array(); - - /** - * Internal storage of singular values. - * @var array - */ - private $s = array(); - - /** - * Row dimension. - * @var int - */ - private $m; - - /** - * Column dimension. - * @var int - */ - private $n; - - - /** - * Construct the singular value decomposition - * - * Derived from LINPACK code. - * - * @param $A Rectangular matrix - * @return Structure to access U, S and V. - */ - public function __construct($Arg) { - - // Initialize. - $A = $Arg->getArrayCopy(); - $this->m = $Arg->getRowDimension(); - $this->n = $Arg->getColumnDimension(); - $nu = min($this->m, $this->n); - $e = array(); - $work = array(); - $wantu = true; - $wantv = true; - $nct = min($this->m - 1, $this->n); - $nrt = max(0, min($this->n - 2, $this->m)); - - // Reduce A to bidiagonal form, storing the diagonal elements - // in s and the super-diagonal elements in e. - for ($k = 0; $k < max($nct,$nrt); ++$k) { - - if ($k < $nct) { - // Compute the transformation for the k-th column and - // place the k-th diagonal in s[$k]. - // Compute 2-norm of k-th column without under/overflow. - $this->s[$k] = 0; - for ($i = $k; $i < $this->m; ++$i) { - $this->s[$k] = hypo($this->s[$k], $A[$i][$k]); - } - if ($this->s[$k] != 0.0) { - if ($A[$k][$k] < 0.0) { - $this->s[$k] = -$this->s[$k]; - } - for ($i = $k; $i < $this->m; ++$i) { - $A[$i][$k] /= $this->s[$k]; - } - $A[$k][$k] += 1.0; - } - $this->s[$k] = -$this->s[$k]; - } - - for ($j = $k + 1; $j < $this->n; ++$j) { - if (($k < $nct) & ($this->s[$k] != 0.0)) { - // Apply the transformation. - $t = 0; - for ($i = $k; $i < $this->m; ++$i) { - $t += $A[$i][$k] * $A[$i][$j]; - } - $t = -$t / $A[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $A[$i][$j] += $t * $A[$i][$k]; - } - // Place the k-th row of A into e for the - // subsequent calculation of the row transformation. - $e[$j] = $A[$k][$j]; - } - } - - if ($wantu AND ($k < $nct)) { - // Place the transformation in U for subsequent back - // multiplication. - for ($i = $k; $i < $this->m; ++$i) { - $this->U[$i][$k] = $A[$i][$k]; - } - } - - if ($k < $nrt) { - // Compute the k-th row transformation and place the - // k-th super-diagonal in e[$k]. - // Compute 2-norm without under/overflow. - $e[$k] = 0; - for ($i = $k + 1; $i < $this->n; ++$i) { - $e[$k] = hypo($e[$k], $e[$i]); - } - if ($e[$k] != 0.0) { - if ($e[$k+1] < 0.0) { - $e[$k] = -$e[$k]; - } - for ($i = $k + 1; $i < $this->n; ++$i) { - $e[$i] /= $e[$k]; - } - $e[$k+1] += 1.0; - } - $e[$k] = -$e[$k]; - if (($k+1 < $this->m) AND ($e[$k] != 0.0)) { - // Apply the transformation. - for ($i = $k+1; $i < $this->m; ++$i) { - $work[$i] = 0.0; - } - for ($j = $k+1; $j < $this->n; ++$j) { - for ($i = $k+1; $i < $this->m; ++$i) { - $work[$i] += $e[$j] * $A[$i][$j]; - } - } - for ($j = $k + 1; $j < $this->n; ++$j) { - $t = -$e[$j] / $e[$k+1]; - for ($i = $k + 1; $i < $this->m; ++$i) { - $A[$i][$j] += $t * $work[$i]; - } - } - } - if ($wantv) { - // Place the transformation in V for subsequent - // back multiplication. - for ($i = $k + 1; $i < $this->n; ++$i) { - $this->V[$i][$k] = $e[$i]; - } - } - } - } - - // Set up the final bidiagonal matrix or order p. - $p = min($this->n, $this->m + 1); - if ($nct < $this->n) { - $this->s[$nct] = $A[$nct][$nct]; - } - if ($this->m < $p) { - $this->s[$p-1] = 0.0; - } - if ($nrt + 1 < $p) { - $e[$nrt] = $A[$nrt][$p-1]; - } - $e[$p-1] = 0.0; - // If required, generate U. - if ($wantu) { - for ($j = $nct; $j < $nu; ++$j) { - for ($i = 0; $i < $this->m; ++$i) { - $this->U[$i][$j] = 0.0; - } - $this->U[$j][$j] = 1.0; - } - for ($k = $nct - 1; $k >= 0; --$k) { - if ($this->s[$k] != 0.0) { - for ($j = $k + 1; $j < $nu; ++$j) { - $t = 0; - for ($i = $k; $i < $this->m; ++$i) { - $t += $this->U[$i][$k] * $this->U[$i][$j]; - } - $t = -$t / $this->U[$k][$k]; - for ($i = $k; $i < $this->m; ++$i) { - $this->U[$i][$j] += $t * $this->U[$i][$k]; - } - } - for ($i = $k; $i < $this->m; ++$i ) { - $this->U[$i][$k] = -$this->U[$i][$k]; - } - $this->U[$k][$k] = 1.0 + $this->U[$k][$k]; - for ($i = 0; $i < $k - 1; ++$i) { - $this->U[$i][$k] = 0.0; - } - } else { - for ($i = 0; $i < $this->m; ++$i) { - $this->U[$i][$k] = 0.0; - } - $this->U[$k][$k] = 1.0; - } - } - } - - // If required, generate V. - if ($wantv) { - for ($k = $this->n - 1; $k >= 0; --$k) { - if (($k < $nrt) AND ($e[$k] != 0.0)) { - for ($j = $k + 1; $j < $nu; ++$j) { - $t = 0; - for ($i = $k + 1; $i < $this->n; ++$i) { - $t += $this->V[$i][$k]* $this->V[$i][$j]; - } - $t = -$t / $this->V[$k+1][$k]; - for ($i = $k + 1; $i < $this->n; ++$i) { - $this->V[$i][$j] += $t * $this->V[$i][$k]; - } - } - } - for ($i = 0; $i < $this->n; ++$i) { - $this->V[$i][$k] = 0.0; - } - $this->V[$k][$k] = 1.0; - } - } - - // Main iteration loop for the singular values. - $pp = $p - 1; - $iter = 0; - $eps = pow(2.0, -52.0); - - while ($p > 0) { - // Here is where a test for too many iterations would go. - // This section of the program inspects for negligible - // elements in the s and e arrays. On completion the - // variables kase and k are set as follows: - // kase = 1 if s(p) and e[k-1] are negligible and k<p - // kase = 2 if s(k) is negligible and k<p - // kase = 3 if e[k-1] is negligible, k<p, and - // s(k), ..., s(p) are not negligible (qr step). - // kase = 4 if e(p-1) is negligible (convergence). - for ($k = $p - 2; $k >= -1; --$k) { - if ($k == -1) { - break; - } - if (abs($e[$k]) <= $eps * (abs($this->s[$k]) + abs($this->s[$k+1]))) { - $e[$k] = 0.0; - break; - } - } - if ($k == $p - 2) { - $kase = 4; - } else { - for ($ks = $p - 1; $ks >= $k; --$ks) { - if ($ks == $k) { - break; - } - $t = ($ks != $p ? abs($e[$ks]) : 0.) + ($ks != $k + 1 ? abs($e[$ks-1]) : 0.); - if (abs($this->s[$ks]) <= $eps * $t) { - $this->s[$ks] = 0.0; - break; - } - } - if ($ks == $k) { - $kase = 3; - } else if ($ks == $p-1) { - $kase = 1; - } else { - $kase = 2; - $k = $ks; - } - } - ++$k; - - // Perform the task indicated by kase. - switch ($kase) { - // Deflate negligible s(p). - case 1: - $f = $e[$p-2]; - $e[$p-2] = 0.0; - for ($j = $p - 2; $j >= $k; --$j) { - $t = hypo($this->s[$j],$f); - $cs = $this->s[$j] / $t; - $sn = $f / $t; - $this->s[$j] = $t; - if ($j != $k) { - $f = -$sn * $e[$j-1]; - $e[$j-1] = $cs * $e[$j-1]; - } - if ($wantv) { - for ($i = 0; $i < $this->n; ++$i) { - $t = $cs * $this->V[$i][$j] + $sn * $this->V[$i][$p-1]; - $this->V[$i][$p-1] = -$sn * $this->V[$i][$j] + $cs * $this->V[$i][$p-1]; - $this->V[$i][$j] = $t; - } - } - } - break; - // Split at negligible s(k). - case 2: - $f = $e[$k-1]; - $e[$k-1] = 0.0; - for ($j = $k; $j < $p; ++$j) { - $t = hypo($this->s[$j], $f); - $cs = $this->s[$j] / $t; - $sn = $f / $t; - $this->s[$j] = $t; - $f = -$sn * $e[$j]; - $e[$j] = $cs * $e[$j]; - if ($wantu) { - for ($i = 0; $i < $this->m; ++$i) { - $t = $cs * $this->U[$i][$j] + $sn * $this->U[$i][$k-1]; - $this->U[$i][$k-1] = -$sn * $this->U[$i][$j] + $cs * $this->U[$i][$k-1]; - $this->U[$i][$j] = $t; - } - } - } - break; - // Perform one qr step. - case 3: - // Calculate the shift. - $scale = max(max(max(max( - abs($this->s[$p-1]),abs($this->s[$p-2])),abs($e[$p-2])), - abs($this->s[$k])), abs($e[$k])); - $sp = $this->s[$p-1] / $scale; - $spm1 = $this->s[$p-2] / $scale; - $epm1 = $e[$p-2] / $scale; - $sk = $this->s[$k] / $scale; - $ek = $e[$k] / $scale; - $b = (($spm1 + $sp) * ($spm1 - $sp) + $epm1 * $epm1) / 2.0; - $c = ($sp * $epm1) * ($sp * $epm1); - $shift = 0.0; - if (($b != 0.0) || ($c != 0.0)) { - $shift = sqrt($b * $b + $c); - if ($b < 0.0) { - $shift = -$shift; - } - $shift = $c / ($b + $shift); - } - $f = ($sk + $sp) * ($sk - $sp) + $shift; - $g = $sk * $ek; - // Chase zeros. - for ($j = $k; $j < $p-1; ++$j) { - $t = hypo($f,$g); - $cs = $f/$t; - $sn = $g/$t; - if ($j != $k) { - $e[$j-1] = $t; - } - $f = $cs * $this->s[$j] + $sn * $e[$j]; - $e[$j] = $cs * $e[$j] - $sn * $this->s[$j]; - $g = $sn * $this->s[$j+1]; - $this->s[$j+1] = $cs * $this->s[$j+1]; - if ($wantv) { - for ($i = 0; $i < $this->n; ++$i) { - $t = $cs * $this->V[$i][$j] + $sn * $this->V[$i][$j+1]; - $this->V[$i][$j+1] = -$sn * $this->V[$i][$j] + $cs * $this->V[$i][$j+1]; - $this->V[$i][$j] = $t; - } - } - $t = hypo($f,$g); - $cs = $f/$t; - $sn = $g/$t; - $this->s[$j] = $t; - $f = $cs * $e[$j] + $sn * $this->s[$j+1]; - $this->s[$j+1] = -$sn * $e[$j] + $cs * $this->s[$j+1]; - $g = $sn * $e[$j+1]; - $e[$j+1] = $cs * $e[$j+1]; - if ($wantu && ($j < $this->m - 1)) { - for ($i = 0; $i < $this->m; ++$i) { - $t = $cs * $this->U[$i][$j] + $sn * $this->U[$i][$j+1]; - $this->U[$i][$j+1] = -$sn * $this->U[$i][$j] + $cs * $this->U[$i][$j+1]; - $this->U[$i][$j] = $t; - } - } - } - $e[$p-2] = $f; - $iter = $iter + 1; - break; - // Convergence. - case 4: - // Make the singular values positive. - if ($this->s[$k] <= 0.0) { - $this->s[$k] = ($this->s[$k] < 0.0 ? -$this->s[$k] : 0.0); - if ($wantv) { - for ($i = 0; $i <= $pp; ++$i) { - $this->V[$i][$k] = -$this->V[$i][$k]; - } - } - } - // Order the singular values. - while ($k < $pp) { - if ($this->s[$k] >= $this->s[$k+1]) { - break; - } - $t = $this->s[$k]; - $this->s[$k] = $this->s[$k+1]; - $this->s[$k+1] = $t; - if ($wantv AND ($k < $this->n - 1)) { - for ($i = 0; $i < $this->n; ++$i) { - $t = $this->V[$i][$k+1]; - $this->V[$i][$k+1] = $this->V[$i][$k]; - $this->V[$i][$k] = $t; - } - } - if ($wantu AND ($k < $this->m-1)) { - for ($i = 0; $i < $this->m; ++$i) { - $t = $this->U[$i][$k+1]; - $this->U[$i][$k+1] = $this->U[$i][$k]; - $this->U[$i][$k] = $t; - } - } - ++$k; - } - $iter = 0; - --$p; - break; - } // end switch - } // end while - - } // end constructor - - - /** - * Return the left singular vectors - * - * @access public - * @return U - */ - public function getU() { - return new Matrix($this->U, $this->m, min($this->m + 1, $this->n)); - } - - - /** - * Return the right singular vectors - * - * @access public - * @return V - */ - public function getV() { - return new Matrix($this->V); - } - - - /** - * Return the one-dimensional array of singular values - * - * @access public - * @return diagonal of S. - */ - public function getSingularValues() { - return $this->s; - } - - - /** - * Return the diagonal matrix of singular values - * - * @access public - * @return S - */ - public function getS() { - for ($i = 0; $i < $this->n; ++$i) { - for ($j = 0; $j < $this->n; ++$j) { - $S[$i][$j] = 0.0; - } - $S[$i][$i] = $this->s[$i]; - } - return new Matrix($S); - } - - - /** - * Two norm - * - * @access public - * @return max(S) - */ - public function norm2() { - return $this->s[0]; - } - - - /** - * Two norm condition number - * - * @access public - * @return max(S)/min(S) - */ - public function cond() { - return $this->s[0] / $this->s[min($this->m, $this->n) - 1]; - } - - - /** - * Effective numerical matrix rank - * - * @access public - * @return Number of nonnegligible singular values. - */ - public function rank() { - $eps = pow(2.0, -52.0); - $tol = max($this->m, $this->n) * $this->s[0] * $eps; - $r = 0; - for ($i = 0; $i < count($this->s); ++$i) { - if ($this->s[$i] > $tol) { - ++$r; - } - } - return $r; - } - -} // class SingularValueDecomposition diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/Error.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/Error.php deleted file mode 100644 index e73252b3d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/Error.php +++ /dev/null @@ -1,82 +0,0 @@ -<?php -/** - * @package JAMA - * - * Error handling - * @author Michael Bommarito - * @version 01292005 - */ - -//Language constant -define('JAMALANG', 'EN'); - - -//All errors may be defined by the following format: -//define('ExceptionName', N); -//$error['lang'][ExceptionName] = 'Error message'; -$error = array(); - -/* -I've used Babelfish and a little poor knowledge of Romance/Germanic languages for the translations here. -Feel free to correct anything that looks amiss to you. -*/ - -define('PolymorphicArgumentException', -1); -$error['EN'][PolymorphicArgumentException] = "Invalid argument pattern for polymorphic function."; -$error['FR'][PolymorphicArgumentException] = "Modèle inadmissible d'argument pour la fonction polymorphe.". -$error['DE'][PolymorphicArgumentException] = "Unzulässiges Argumentmuster für polymorphe Funktion."; - -define('ArgumentTypeException', -2); -$error['EN'][ArgumentTypeException] = "Invalid argument type."; -$error['FR'][ArgumentTypeException] = "Type inadmissible d'argument."; -$error['DE'][ArgumentTypeException] = "Unzulässige Argumentart."; - -define('ArgumentBoundsException', -3); -$error['EN'][ArgumentBoundsException] = "Invalid argument range."; -$error['FR'][ArgumentBoundsException] = "Gamme inadmissible d'argument."; -$error['DE'][ArgumentBoundsException] = "Unzulässige Argumentstrecke."; - -define('MatrixDimensionException', -4); -$error['EN'][MatrixDimensionException] = "Matrix dimensions are not equal."; -$error['FR'][MatrixDimensionException] = "Les dimensions de Matrix ne sont pas égales."; -$error['DE'][MatrixDimensionException] = "Matrixmaße sind nicht gleich."; - -define('PrecisionLossException', -5); -$error['EN'][PrecisionLossException] = "Significant precision loss detected."; -$error['FR'][PrecisionLossException] = "Perte significative de précision détectée."; -$error['DE'][PrecisionLossException] = "Bedeutender Präzision Verlust ermittelte."; - -define('MatrixSPDException', -6); -$error['EN'][MatrixSPDException] = "Can only perform operation on symmetric positive definite matrix."; -$error['FR'][MatrixSPDException] = "Perte significative de précision détectée."; -$error['DE'][MatrixSPDException] = "Bedeutender Präzision Verlust ermittelte."; - -define('MatrixSingularException', -7); -$error['EN'][MatrixSingularException] = "Can only perform operation on singular matrix."; - -define('MatrixRankException', -8); -$error['EN'][MatrixRankException] = "Can only perform operation on full-rank matrix."; - -define('ArrayLengthException', -9); -$error['EN'][ArrayLengthException] = "Array length must be a multiple of m."; - -define('RowLengthException', -10); -$error['EN'][RowLengthException] = "All rows must have the same length."; - -/** - * Custom error handler - * @param int $num Error number - */ -function JAMAError($errorNumber = null) { - global $error; - - if (isset($errorNumber)) { - if (isset($error[JAMALANG][$errorNumber])) { - return $error[JAMALANG][$errorNumber]; - } else { - return $error['EN'][$errorNumber]; - } - } else { - return ("Invalid argument to JAMAError()"); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/Maths.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/Maths.php deleted file mode 100644 index aa09a8bbb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/Maths.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php -/** - * @package JAMA - * - * Pythagorean Theorem: - * - * a = 3 - * b = 4 - * r = sqrt(square(a) + square(b)) - * r = 5 - * - * r = sqrt(a^2 + b^2) without under/overflow. - */ -function hypo($a, $b) { - if (abs($a) > abs($b)) { - $r = $b / $a; - $r = abs($a) * sqrt(1 + $r * $r); - } elseif ($b != 0) { - $r = $a / $b; - $r = abs($b) * sqrt(1 + $r * $r); - } else { - $r = 0.0; - } - return $r; -} // function hypo() - - -/** - * Mike Bommarito's version. - * Compute n-dimensional hyotheneuse. - * -function hypot() { - $s = 0; - foreach (func_get_args() as $d) { - if (is_numeric($d)) { - $s += pow($d, 2); - } else { - throw new PHPExcel_Calculation_Exception(JAMAError(ArgumentTypeException)); - } - } - return sqrt($s); -} -*/ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/JAMA/utils/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE.php deleted file mode 100644 index 9796282a8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE.php +++ /dev/null @@ -1,531 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: OLE.php,v 1.13 2007/03/07 14:38:25 schmidt Exp $ - - -/** -* Array for storing OLE instances that are accessed from -* OLE_ChainedBlockStream::stream_open(). -* @var array -*/ -$GLOBALS['_OLE_INSTANCES'] = array(); - -/** -* OLE package base class. -* -* @author Xavier Noguer <xnoguer@php.net> -* @author Christian Schmidt <schmidt@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE -{ - const OLE_PPS_TYPE_ROOT = 5; - const OLE_PPS_TYPE_DIR = 1; - const OLE_PPS_TYPE_FILE = 2; - const OLE_DATA_SIZE_SMALL = 0x1000; - const OLE_LONG_INT_SIZE = 4; - const OLE_PPS_SIZE = 0x80; - - /** - * The file handle for reading an OLE container - * @var resource - */ - public $_file_handle; - - /** - * Array of PPS's found on the OLE container - * @var array - */ - public $_list = array(); - - /** - * Root directory of OLE container - * @var OLE_PPS_Root - */ - public $root; - - /** - * Big Block Allocation Table - * @var array (blockId => nextBlockId) - */ - public $bbat; - - /** - * Short Block Allocation Table - * @var array (blockId => nextBlockId) - */ - public $sbat; - - /** - * Size of big blocks. This is usually 512. - * @var int number of octets per block. - */ - public $bigBlockSize; - - /** - * Size of small blocks. This is usually 64. - * @var int number of octets per block - */ - public $smallBlockSize; - - /** - * Reads an OLE container from the contents of the file given. - * - * @acces public - * @param string $file - * @return mixed true on success, PEAR_Error on failure - */ - public function read($file) - { - $fh = fopen($file, "r"); - if (!$fh) { - throw new PHPExcel_Reader_Exception("Can't open file $file"); - } - $this->_file_handle = $fh; - - $signature = fread($fh, 8); - if ("\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1" != $signature) { - throw new PHPExcel_Reader_Exception("File doesn't seem to be an OLE container."); - } - fseek($fh, 28); - if (fread($fh, 2) != "\xFE\xFF") { - // This shouldn't be a problem in practice - throw new PHPExcel_Reader_Exception("Only Little-Endian encoding is supported."); - } - // Size of blocks and short blocks in bytes - $this->bigBlockSize = pow(2, self::_readInt2($fh)); - $this->smallBlockSize = pow(2, self::_readInt2($fh)); - - // Skip UID, revision number and version number - fseek($fh, 44); - // Number of blocks in Big Block Allocation Table - $bbatBlockCount = self::_readInt4($fh); - - // Root chain 1st block - $directoryFirstBlockId = self::_readInt4($fh); - - // Skip unused bytes - fseek($fh, 56); - // Streams shorter than this are stored using small blocks - $this->bigBlockThreshold = self::_readInt4($fh); - // Block id of first sector in Short Block Allocation Table - $sbatFirstBlockId = self::_readInt4($fh); - // Number of blocks in Short Block Allocation Table - $sbbatBlockCount = self::_readInt4($fh); - // Block id of first sector in Master Block Allocation Table - $mbatFirstBlockId = self::_readInt4($fh); - // Number of blocks in Master Block Allocation Table - $mbbatBlockCount = self::_readInt4($fh); - $this->bbat = array(); - - // Remaining 4 * 109 bytes of current block is beginning of Master - // Block Allocation Table - $mbatBlocks = array(); - for ($i = 0; $i < 109; ++$i) { - $mbatBlocks[] = self::_readInt4($fh); - } - - // Read rest of Master Block Allocation Table (if any is left) - $pos = $this->_getBlockOffset($mbatFirstBlockId); - for ($i = 0; $i < $mbbatBlockCount; ++$i) { - fseek($fh, $pos); - for ($j = 0; $j < $this->bigBlockSize / 4 - 1; ++$j) { - $mbatBlocks[] = self::_readInt4($fh); - } - // Last block id in each block points to next block - $pos = $this->_getBlockOffset(self::_readInt4($fh)); - } - - // Read Big Block Allocation Table according to chain specified by - // $mbatBlocks - for ($i = 0; $i < $bbatBlockCount; ++$i) { - $pos = $this->_getBlockOffset($mbatBlocks[$i]); - fseek($fh, $pos); - for ($j = 0 ; $j < $this->bigBlockSize / 4; ++$j) { - $this->bbat[] = self::_readInt4($fh); - } - } - - // Read short block allocation table (SBAT) - $this->sbat = array(); - $shortBlockCount = $sbbatBlockCount * $this->bigBlockSize / 4; - $sbatFh = $this->getStream($sbatFirstBlockId); - for ($blockId = 0; $blockId < $shortBlockCount; ++$blockId) { - $this->sbat[$blockId] = self::_readInt4($sbatFh); - } - fclose($sbatFh); - - $this->_readPpsWks($directoryFirstBlockId); - - return true; - } - - /** - * @param int block id - * @param int byte offset from beginning of file - * @access public - */ - public function _getBlockOffset($blockId) - { - return 512 + $blockId * $this->bigBlockSize; - } - - /** - * Returns a stream for use with fread() etc. External callers should - * use PHPExcel_Shared_OLE_PPS_File::getStream(). - * @param int|PPS block id or PPS - * @return resource read-only stream - */ - public function getStream($blockIdOrPps) - { - static $isRegistered = false; - if (!$isRegistered) { - stream_wrapper_register('ole-chainedblockstream', - 'PHPExcel_Shared_OLE_ChainedBlockStream'); - $isRegistered = true; - } - - // Store current instance in global array, so that it can be accessed - // in OLE_ChainedBlockStream::stream_open(). - // Object is removed from self::$instances in OLE_Stream::close(). - $GLOBALS['_OLE_INSTANCES'][] = $this; - $instanceId = end(array_keys($GLOBALS['_OLE_INSTANCES'])); - - $path = 'ole-chainedblockstream://oleInstanceId=' . $instanceId; - if ($blockIdOrPps instanceof PHPExcel_Shared_OLE_PPS) { - $path .= '&blockId=' . $blockIdOrPps->_StartBlock; - $path .= '&size=' . $blockIdOrPps->Size; - } else { - $path .= '&blockId=' . $blockIdOrPps; - } - return fopen($path, 'r'); - } - - /** - * Reads a signed char. - * @param resource file handle - * @return int - * @access public - */ - private static function _readInt1($fh) - { - list(, $tmp) = unpack("c", fread($fh, 1)); - return $tmp; - } - - /** - * Reads an unsigned short (2 octets). - * @param resource file handle - * @return int - * @access public - */ - private static function _readInt2($fh) - { - list(, $tmp) = unpack("v", fread($fh, 2)); - return $tmp; - } - - /** - * Reads an unsigned long (4 octets). - * @param resource file handle - * @return int - * @access public - */ - private static function _readInt4($fh) - { - list(, $tmp) = unpack("V", fread($fh, 4)); - return $tmp; - } - - /** - * Gets information about all PPS's on the OLE container from the PPS WK's - * creates an OLE_PPS object for each one. - * - * @access public - * @param integer the block id of the first block - * @return mixed true on success, PEAR_Error on failure - */ - public function _readPpsWks($blockId) - { - $fh = $this->getStream($blockId); - for ($pos = 0; ; $pos += 128) { - fseek($fh, $pos, SEEK_SET); - $nameUtf16 = fread($fh, 64); - $nameLength = self::_readInt2($fh); - $nameUtf16 = substr($nameUtf16, 0, $nameLength - 2); - // Simple conversion from UTF-16LE to ISO-8859-1 - $name = str_replace("\x00", "", $nameUtf16); - $type = self::_readInt1($fh); - switch ($type) { - case self::OLE_PPS_TYPE_ROOT: - $pps = new PHPExcel_Shared_OLE_PPS_Root(null, null, array()); - $this->root = $pps; - break; - case self::OLE_PPS_TYPE_DIR: - $pps = new PHPExcel_Shared_OLE_PPS(null, null, null, null, null, - null, null, null, null, array()); - break; - case self::OLE_PPS_TYPE_FILE: - $pps = new PHPExcel_Shared_OLE_PPS_File($name); - break; - default: - continue; - } - fseek($fh, 1, SEEK_CUR); - $pps->Type = $type; - $pps->Name = $name; - $pps->PrevPps = self::_readInt4($fh); - $pps->NextPps = self::_readInt4($fh); - $pps->DirPps = self::_readInt4($fh); - fseek($fh, 20, SEEK_CUR); - $pps->Time1st = self::OLE2LocalDate(fread($fh, 8)); - $pps->Time2nd = self::OLE2LocalDate(fread($fh, 8)); - $pps->_StartBlock = self::_readInt4($fh); - $pps->Size = self::_readInt4($fh); - $pps->No = count($this->_list); - $this->_list[] = $pps; - - // check if the PPS tree (starting from root) is complete - if (isset($this->root) && - $this->_ppsTreeComplete($this->root->No)) { - - break; - } - } - fclose($fh); - - // Initialize $pps->children on directories - foreach ($this->_list as $pps) { - if ($pps->Type == self::OLE_PPS_TYPE_DIR || $pps->Type == self::OLE_PPS_TYPE_ROOT) { - $nos = array($pps->DirPps); - $pps->children = array(); - while ($nos) { - $no = array_pop($nos); - if ($no != -1) { - $childPps = $this->_list[$no]; - $nos[] = $childPps->PrevPps; - $nos[] = $childPps->NextPps; - $pps->children[] = $childPps; - } - } - } - } - - return true; - } - - /** - * It checks whether the PPS tree is complete (all PPS's read) - * starting with the given PPS (not necessarily root) - * - * @access public - * @param integer $index The index of the PPS from which we are checking - * @return boolean Whether the PPS tree for the given PPS is complete - */ - public function _ppsTreeComplete($index) - { - return isset($this->_list[$index]) && - ($pps = $this->_list[$index]) && - ($pps->PrevPps == -1 || - $this->_ppsTreeComplete($pps->PrevPps)) && - ($pps->NextPps == -1 || - $this->_ppsTreeComplete($pps->NextPps)) && - ($pps->DirPps == -1 || - $this->_ppsTreeComplete($pps->DirPps)); - } - - /** - * Checks whether a PPS is a File PPS or not. - * If there is no PPS for the index given, it will return false. - * - * @access public - * @param integer $index The index for the PPS - * @return bool true if it's a File PPS, false otherwise - */ - public function isFile($index) - { - if (isset($this->_list[$index])) { - return ($this->_list[$index]->Type == self::OLE_PPS_TYPE_FILE); - } - return false; - } - - /** - * Checks whether a PPS is a Root PPS or not. - * If there is no PPS for the index given, it will return false. - * - * @access public - * @param integer $index The index for the PPS. - * @return bool true if it's a Root PPS, false otherwise - */ - public function isRoot($index) - { - if (isset($this->_list[$index])) { - return ($this->_list[$index]->Type == self::OLE_PPS_TYPE_ROOT); - } - return false; - } - - /** - * Gives the total number of PPS's found in the OLE container. - * - * @access public - * @return integer The total number of PPS's found in the OLE container - */ - public function ppsTotal() - { - return count($this->_list); - } - - /** - * Gets data from a PPS - * If there is no PPS for the index given, it will return an empty string. - * - * @access public - * @param integer $index The index for the PPS - * @param integer $position The position from which to start reading - * (relative to the PPS) - * @param integer $length The amount of bytes to read (at most) - * @return string The binary string containing the data requested - * @see OLE_PPS_File::getStream() - */ - public function getData($index, $position, $length) - { - // if position is not valid return empty string - if (!isset($this->_list[$index]) || ($position >= $this->_list[$index]->Size) || ($position < 0)) { - return ''; - } - $fh = $this->getStream($this->_list[$index]); - $data = stream_get_contents($fh, $length, $position); - fclose($fh); - return $data; - } - - /** - * Gets the data length from a PPS - * If there is no PPS for the index given, it will return 0. - * - * @access public - * @param integer $index The index for the PPS - * @return integer The amount of bytes in data the PPS has - */ - public function getDataLength($index) - { - if (isset($this->_list[$index])) { - return $this->_list[$index]->Size; - } - return 0; - } - - /** - * Utility function to transform ASCII text to Unicode - * - * @access public - * @static - * @param string $ascii The ASCII string to transform - * @return string The string in Unicode - */ - public static function Asc2Ucs($ascii) - { - $rawname = ''; - for ($i = 0; $i < strlen($ascii); ++$i) { - $rawname .= $ascii{$i} . "\x00"; - } - return $rawname; - } - - /** - * Utility function - * Returns a string for the OLE container with the date given - * - * @access public - * @static - * @param integer $date A timestamp - * @return string The string for the OLE container - */ - public static function LocalDate2OLE($date = null) - { - if (!isset($date)) { - return "\x00\x00\x00\x00\x00\x00\x00\x00"; - } - - // factor used for separating numbers into 4 bytes parts - $factor = pow(2, 32); - - // days from 1-1-1601 until the beggining of UNIX era - $days = 134774; - // calculate seconds - $big_date = $days*24*3600 + gmmktime(date("H",$date),date("i",$date),date("s",$date), - date("m",$date),date("d",$date),date("Y",$date)); - // multiply just to make MS happy - $big_date *= 10000000; - - $high_part = floor($big_date / $factor); - // lower 4 bytes - $low_part = floor((($big_date / $factor) - $high_part) * $factor); - - // Make HEX string - $res = ''; - - for ($i = 0; $i < 4; ++$i) { - $hex = $low_part % 0x100; - $res .= pack('c', $hex); - $low_part /= 0x100; - } - for ($i = 0; $i < 4; ++$i) { - $hex = $high_part % 0x100; - $res .= pack('c', $hex); - $high_part /= 0x100; - } - return $res; - } - - /** - * Returns a timestamp from an OLE container's date - * - * @access public - * @static - * @param integer $string A binary string with the encoded date - * @return string The timestamp corresponding to the string - */ - public static function OLE2LocalDate($string) - { - if (strlen($string) != 8) { - return new PEAR_Error("Expecting 8 byte string"); - } - - // factor used for separating numbers into 4 bytes parts - $factor = pow(2,32); - list(, $high_part) = unpack('V', substr($string, 4, 4)); - list(, $low_part) = unpack('V', substr($string, 0, 4)); - - $big_date = ($high_part * $factor) + $low_part; - // translate to seconds - $big_date /= 10000000; - - // days from 1-1-1601 until the beggining of UNIX era - $days = 134774; - - // translate to seconds from beggining of UNIX era - $big_date -= $days * 24 * 3600; - return floor($big_date); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/ChainedBlockStream.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/ChainedBlockStream.php deleted file mode 100644 index 0736fc232..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/ChainedBlockStream.php +++ /dev/null @@ -1,222 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (C) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_OLE - * @copyright Copyright (c) 2006 - 2007 Christian Schmidt - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Shared_OLE_ChainedBlockStream - * - * Stream wrapper for reading data stored in an OLE file. Implements methods - * for PHP's stream_wrapper_register(). For creating streams using this - * wrapper, use PHPExcel_Shared_OLE_PPS_File::getStream(). - * - * @category PHPExcel - * @package PHPExcel_Shared_OLE - */ -class PHPExcel_Shared_OLE_ChainedBlockStream -{ - /** - * The OLE container of the file that is being read. - * @var OLE - */ - public $ole; - - /** - * Parameters specified by fopen(). - * @var array - */ - public $params; - - /** - * The binary data of the file. - * @var string - */ - public $data; - - /** - * The file pointer. - * @var int byte offset - */ - public $pos; - - /** - * Implements support for fopen(). - * For creating streams using this wrapper, use OLE_PPS_File::getStream(). - * - * @param string $path resource name including scheme, e.g. - * ole-chainedblockstream://oleInstanceId=1 - * @param string $mode only "r" is supported - * @param int $options mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH - * @param string &$openedPath absolute path of the opened stream (out parameter) - * @return bool true on success - */ - public function stream_open($path, $mode, $options, &$openedPath) - { - if ($mode != 'r') { - if ($options & STREAM_REPORT_ERRORS) { - trigger_error('Only reading is supported', E_USER_WARNING); - } - return false; - } - - // 25 is length of "ole-chainedblockstream://" - parse_str(substr($path, 25), $this->params); - if (!isset($this->params['oleInstanceId'], - $this->params['blockId'], - $GLOBALS['_OLE_INSTANCES'][$this->params['oleInstanceId']])) { - - if ($options & STREAM_REPORT_ERRORS) { - trigger_error('OLE stream not found', E_USER_WARNING); - } - return false; - } - $this->ole = $GLOBALS['_OLE_INSTANCES'][$this->params['oleInstanceId']]; - - $blockId = $this->params['blockId']; - $this->data = ''; - if (isset($this->params['size']) && - $this->params['size'] < $this->ole->bigBlockThreshold && - $blockId != $this->ole->root->_StartBlock) { - - // Block id refers to small blocks - $rootPos = $this->ole->_getBlockOffset($this->ole->root->_StartBlock); - while ($blockId != -2) { - $pos = $rootPos + $blockId * $this->ole->bigBlockSize; - $blockId = $this->ole->sbat[$blockId]; - fseek($this->ole->_file_handle, $pos); - $this->data .= fread($this->ole->_file_handle, $this->ole->bigBlockSize); - } - } else { - // Block id refers to big blocks - while ($blockId != -2) { - $pos = $this->ole->_getBlockOffset($blockId); - fseek($this->ole->_file_handle, $pos); - $this->data .= fread($this->ole->_file_handle, $this->ole->bigBlockSize); - $blockId = $this->ole->bbat[$blockId]; - } - } - if (isset($this->params['size'])) { - $this->data = substr($this->data, 0, $this->params['size']); - } - - if ($options & STREAM_USE_PATH) { - $openedPath = $path; - } - - return true; - } - - /** - * Implements support for fclose(). - * - */ - public function stream_close() - { - $this->ole = null; - unset($GLOBALS['_OLE_INSTANCES']); - } - - /** - * Implements support for fread(), fgets() etc. - * - * @param int $count maximum number of bytes to read - * @return string - */ - public function stream_read($count) - { - if ($this->stream_eof()) { - return false; - } - $s = substr($this->data, $this->pos, $count); - $this->pos += $count; - return $s; - } - - /** - * Implements support for feof(). - * - * @return bool TRUE if the file pointer is at EOF; otherwise FALSE - */ - public function stream_eof() - { - return $this->pos >= strlen($this->data); - } - - /** - * Returns the position of the file pointer, i.e. its offset into the file - * stream. Implements support for ftell(). - * - * @return int - */ - public function stream_tell() - { - return $this->pos; - } - - /** - * Implements support for fseek(). - * - * @param int $offset byte offset - * @param int $whence SEEK_SET, SEEK_CUR or SEEK_END - * @return bool - */ - public function stream_seek($offset, $whence) - { - if ($whence == SEEK_SET && $offset >= 0) { - $this->pos = $offset; - } elseif ($whence == SEEK_CUR && -$offset <= $this->pos) { - $this->pos += $offset; - } elseif ($whence == SEEK_END && -$offset <= sizeof($this->data)) { - $this->pos = strlen($this->data) + $offset; - } else { - return false; - } - return true; - } - - /** - * Implements support for fstat(). Currently the only supported field is - * "size". - * @return array - */ - public function stream_stat() - { - return array( - 'size' => strlen($this->data), - ); - } - - // Methods used by stream_wrapper_register() that are not implemented: - // bool stream_flush ( void ) - // int stream_write ( string data ) - // bool rename ( string path_from, string path_to ) - // bool mkdir ( string path, int mode, int options ) - // bool rmdir ( string path, int options ) - // bool dir_opendir ( string path, int options ) - // array url_stat ( string path, int flags ) - // string dir_readdir ( void ) - // bool dir_rewinddir ( void ) - // bool dir_closedir ( void ) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS.php deleted file mode 100644 index 4db0ae4e2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS.php +++ /dev/null @@ -1,230 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: PPS.php,v 1.7 2007/02/13 21:00:42 schmidt Exp $ - - -/** -* Class for creating PPS's for OLE containers -* -* @author Xavier Noguer <xnoguer@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE_PPS -{ - /** - * The PPS index - * @var integer - */ - public $No; - - /** - * The PPS name (in Unicode) - * @var string - */ - public $Name; - - /** - * The PPS type. Dir, Root or File - * @var integer - */ - public $Type; - - /** - * The index of the previous PPS - * @var integer - */ - public $PrevPps; - - /** - * The index of the next PPS - * @var integer - */ - public $NextPps; - - /** - * The index of it's first child if this is a Dir or Root PPS - * @var integer - */ - public $DirPps; - - /** - * A timestamp - * @var integer - */ - public $Time1st; - - /** - * A timestamp - * @var integer - */ - public $Time2nd; - - /** - * Starting block (small or big) for this PPS's data inside the container - * @var integer - */ - public $_StartBlock; - - /** - * The size of the PPS's data (in bytes) - * @var integer - */ - public $Size; - - /** - * The PPS's data (only used if it's not using a temporary file) - * @var string - */ - public $_data; - - /** - * Array of child PPS's (only used by Root and Dir PPS's) - * @var array - */ - public $children = array(); - - /** - * Pointer to OLE container - * @var OLE - */ - public $ole; - - /** - * The constructor - * - * @access public - * @param integer $No The PPS index - * @param string $name The PPS name - * @param integer $type The PPS type. Dir, Root or File - * @param integer $prev The index of the previous PPS - * @param integer $next The index of the next PPS - * @param integer $dir The index of it's first child if this is a Dir or Root PPS - * @param integer $time_1st A timestamp - * @param integer $time_2nd A timestamp - * @param string $data The (usually binary) source data of the PPS - * @param array $children Array containing children PPS for this PPS - */ - public function __construct($No, $name, $type, $prev, $next, $dir, $time_1st, $time_2nd, $data, $children) - { - $this->No = $No; - $this->Name = $name; - $this->Type = $type; - $this->PrevPps = $prev; - $this->NextPps = $next; - $this->DirPps = $dir; - $this->Time1st = $time_1st; - $this->Time2nd = $time_2nd; - $this->_data = $data; - $this->children = $children; - if ($data != '') { - $this->Size = strlen($data); - } else { - $this->Size = 0; - } - } - - /** - * Returns the amount of data saved for this PPS - * - * @access public - * @return integer The amount of data (in bytes) - */ - public function _DataLen() - { - if (!isset($this->_data)) { - return 0; - } - //if (isset($this->_PPS_FILE)) { - // fseek($this->_PPS_FILE, 0); - // $stats = fstat($this->_PPS_FILE); - // return $stats[7]; - //} else { - return strlen($this->_data); - //} - } - - /** - * Returns a string with the PPS's WK (What is a WK?) - * - * @access public - * @return string The binary string - */ - public function _getPpsWk() - { - $ret = str_pad($this->Name,64,"\x00"); - - $ret .= pack("v", strlen($this->Name) + 2) // 66 - . pack("c", $this->Type) // 67 - . pack("c", 0x00) //UK // 68 - . pack("V", $this->PrevPps) //Prev // 72 - . pack("V", $this->NextPps) //Next // 76 - . pack("V", $this->DirPps) //Dir // 80 - . "\x00\x09\x02\x00" // 84 - . "\x00\x00\x00\x00" // 88 - . "\xc0\x00\x00\x00" // 92 - . "\x00\x00\x00\x46" // 96 // Seems to be ok only for Root - . "\x00\x00\x00\x00" // 100 - . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time1st) // 108 - . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time2nd) // 116 - . pack("V", isset($this->_StartBlock)? - $this->_StartBlock:0) // 120 - . pack("V", $this->Size) // 124 - . pack("V", 0); // 128 - return $ret; - } - - /** - * Updates index and pointers to previous, next and children PPS's for this - * PPS. I don't think it'll work with Dir PPS's. - * - * @access public - * @param array &$raList Reference to the array of PPS's for the whole OLE - * container - * @return integer The index for this PPS - */ - public static function _savePpsSetPnt(&$raList, $to_save, $depth = 0) - { - if ( !is_array($to_save) || (empty($to_save)) ) { - return 0xFFFFFFFF; - } elseif( count($to_save) == 1 ) { - $cnt = count($raList); - // If the first entry, it's the root... Don't clone it! - $raList[$cnt] = ( $depth == 0 ) ? $to_save[0] : clone $to_save[0]; - $raList[$cnt]->No = $cnt; - $raList[$cnt]->PrevPps = 0xFFFFFFFF; - $raList[$cnt]->NextPps = 0xFFFFFFFF; - $raList[$cnt]->DirPps = self::_savePpsSetPnt($raList, @$raList[$cnt]->children, $depth++); - } else { - $iPos = floor(count($to_save) / 2); - $aPrev = array_slice($to_save, 0, $iPos); - $aNext = array_slice($to_save, $iPos + 1); - $cnt = count($raList); - // If the first entry, it's the root... Don't clone it! - $raList[$cnt] = ( $depth == 0 ) ? $to_save[$iPos] : clone $to_save[$iPos]; - $raList[$cnt]->No = $cnt; - $raList[$cnt]->PrevPps = self::_savePpsSetPnt($raList, $aPrev, $depth++); - $raList[$cnt]->NextPps = self::_savePpsSetPnt($raList, $aNext, $depth++); - $raList[$cnt]->DirPps = self::_savePpsSetPnt($raList, @$raList[$cnt]->children, $depth++); - - } - return $cnt; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/File.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/File.php deleted file mode 100644 index f061f568c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/File.php +++ /dev/null @@ -1,84 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: File.php,v 1.11 2007/02/13 21:00:42 schmidt Exp $ - - -/** -* Class for creating File PPS's for OLE containers -* -* @author Xavier Noguer <xnoguer@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE_PPS_File extends PHPExcel_Shared_OLE_PPS - { - /** - * The constructor - * - * @access public - * @param string $name The name of the file (in Unicode) - * @see OLE::Asc2Ucs() - */ - public function __construct($name) - { - parent::__construct( - null, - $name, - PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE, - null, - null, - null, - null, - null, - '', - array()); - } - - /** - * Initialization method. Has to be called right after OLE_PPS_File(). - * - * @access public - * @return mixed true on success - */ - public function init() - { - return true; - } - - /** - * Append data to PPS - * - * @access public - * @param string $data The data to append - */ - public function append($data) - { - $this->_data .= $data; - } - - /** - * Returns a stream for reading this file using fread() etc. - * @return resource a read-only stream - */ - public function getStream() - { - $this->ole->getStream($this); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/Root.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/Root.php deleted file mode 100644 index eb929d205..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/Root.php +++ /dev/null @@ -1,467 +0,0 @@ -<?php -/* vim: set expandtab tabstop=4 shiftwidth=4: */ -// +----------------------------------------------------------------------+ -// | PHP Version 4 | -// +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2002 The PHP Group | -// +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | -// | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | -// +----------------------------------------------------------------------+ -// | Author: Xavier Noguer <xnoguer@php.net> | -// | Based on OLE::Storage_Lite by Kawai, Takanori | -// +----------------------------------------------------------------------+ -// -// $Id: Root.php,v 1.9 2005/04/23 21:53:49 dufuz Exp $ - - -/** -* Class for creating Root PPS's for OLE containers -* -* @author Xavier Noguer <xnoguer@php.net> -* @category PHPExcel -* @package PHPExcel_Shared_OLE -*/ -class PHPExcel_Shared_OLE_PPS_Root extends PHPExcel_Shared_OLE_PPS - { - - /** - * Directory for temporary files - * @var string - */ - protected $_tmp_dir = NULL; - - /** - * @param integer $time_1st A timestamp - * @param integer $time_2nd A timestamp - */ - public function __construct($time_1st, $time_2nd, $raChild) - { - $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir(); - - parent::__construct( - null, - PHPExcel_Shared_OLE::Asc2Ucs('Root Entry'), - PHPExcel_Shared_OLE::OLE_PPS_TYPE_ROOT, - null, - null, - null, - $time_1st, - $time_2nd, - null, - $raChild); - } - - /** - * Method for saving the whole OLE container (including files). - * In fact, if called with an empty argument (or '-'), it saves to a - * temporary file and then outputs it's contents to stdout. - * If a resource pointer to a stream created by fopen() is passed - * it will be used, but you have to close such stream by yourself. - * - * @param string|resource $filename The name of the file or stream where to save the OLE container. - * @access public - * @return mixed true on success - */ - public function save($filename) - { - // Initial Setting for saving - $this->_BIG_BLOCK_SIZE = pow(2, - ((isset($this->_BIG_BLOCK_SIZE))? self::_adjust2($this->_BIG_BLOCK_SIZE) : 9)); - $this->_SMALL_BLOCK_SIZE= pow(2, - ((isset($this->_SMALL_BLOCK_SIZE))? self::_adjust2($this->_SMALL_BLOCK_SIZE): 6)); - - if (is_resource($filename)) { - $this->_FILEH_ = $filename; - } else if ($filename == '-' || $filename == '') { - if ($this->_tmp_dir === NULL) - $this->_tmp_dir = PHPExcel_Shared_File::sys_get_temp_dir(); - $this->_tmp_filename = tempnam($this->_tmp_dir, "OLE_PPS_Root"); - $this->_FILEH_ = fopen($this->_tmp_filename,"w+b"); - if ($this->_FILEH_ == false) { - throw new PHPExcel_Writer_Exception("Can't create temporary file."); - } - } else { - $this->_FILEH_ = fopen($filename, "wb"); - } - if ($this->_FILEH_ == false) { - throw new PHPExcel_Writer_Exception("Can't open $filename. It may be in use or protected."); - } - // Make an array of PPS's (for Save) - $aList = array(); - PHPExcel_Shared_OLE_PPS::_savePpsSetPnt($aList, array($this)); - // calculate values for header - list($iSBDcnt, $iBBcnt, $iPPScnt) = $this->_calcSize($aList); //, $rhInfo); - // Save Header - $this->_saveHeader($iSBDcnt, $iBBcnt, $iPPScnt); - - // Make Small Data string (write SBD) - $this->_data = $this->_makeSmallData($aList); - - // Write BB - $this->_saveBigData($iSBDcnt, $aList); - // Write PPS - $this->_savePps($aList); - // Write Big Block Depot and BDList and Adding Header informations - $this->_saveBbd($iSBDcnt, $iBBcnt, $iPPScnt); - - if (!is_resource($filename)) { - fclose($this->_FILEH_); - } - - return true; - } - - /** - * Calculate some numbers - * - * @access public - * @param array $raList Reference to an array of PPS's - * @return array The array of numbers - */ - public function _calcSize(&$raList) - { - // Calculate Basic Setting - list($iSBDcnt, $iBBcnt, $iPPScnt) = array(0,0,0); - $iSmallLen = 0; - $iSBcnt = 0; - $iCount = count($raList); - for ($i = 0; $i < $iCount; ++$i) { - if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) { - $raList[$i]->Size = $raList[$i]->_DataLen(); - if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) { - $iSBcnt += floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE) - + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0); - } else { - $iBBcnt += (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) + - (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0)); - } - } - } - $iSmallLen = $iSBcnt * $this->_SMALL_BLOCK_SIZE; - $iSlCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE); - $iSBDcnt = floor($iSBcnt / $iSlCnt) + (($iSBcnt % $iSlCnt)? 1:0); - $iBBcnt += (floor($iSmallLen / $this->_BIG_BLOCK_SIZE) + - (( $iSmallLen % $this->_BIG_BLOCK_SIZE)? 1: 0)); - $iCnt = count($raList); - $iBdCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE; - $iPPScnt = (floor($iCnt/$iBdCnt) + (($iCnt % $iBdCnt)? 1: 0)); - - return array($iSBDcnt, $iBBcnt, $iPPScnt); - } - - /** - * Helper function for caculating a magic value for block sizes - * - * @access public - * @param integer $i2 The argument - * @see save() - * @return integer - */ - private static function _adjust2($i2) - { - $iWk = log($i2)/log(2); - return ($iWk > floor($iWk))? floor($iWk)+1:$iWk; - } - - /** - * Save OLE header - * - * @access public - * @param integer $iSBDcnt - * @param integer $iBBcnt - * @param integer $iPPScnt - */ - public function _saveHeader($iSBDcnt, $iBBcnt, $iPPScnt) - { - $FILE = $this->_FILEH_; - - // Calculate Basic Setting - $iBlCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - - $iBdExL = 0; - $iAll = $iBBcnt + $iPPScnt + $iSBDcnt; - $iAllW = $iAll; - $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0); - $iBdCnt = floor(($iAll + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0); - - // Calculate BD count - if ($iBdCnt > $i1stBdL) { - while (1) { - ++$iBdExL; - ++$iAllW; - $iBdCntW = floor($iAllW / $iBlCnt) + (($iAllW % $iBlCnt)? 1: 0); - $iBdCnt = floor(($iAllW + $iBdCntW) / $iBlCnt) + ((($iAllW+$iBdCntW) % $iBlCnt)? 1: 0); - if ($iBdCnt <= ($iBdExL*$iBlCnt+ $i1stBdL)) { - break; - } - } - } - - // Save Header - fwrite($FILE, - "\xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1" - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . pack("v", 0x3b) - . pack("v", 0x03) - . pack("v", -2) - . pack("v", 9) - . pack("v", 6) - . pack("v", 0) - . "\x00\x00\x00\x00" - . "\x00\x00\x00\x00" - . pack("V", $iBdCnt) - . pack("V", $iBBcnt+$iSBDcnt) //ROOT START - . pack("V", 0) - . pack("V", 0x1000) - . pack("V", $iSBDcnt ? 0 : -2) //Small Block Depot - . pack("V", $iSBDcnt) - ); - // Extra BDList Start, Count - if ($iBdCnt < $i1stBdL) { - fwrite($FILE, - pack("V", -2) // Extra BDList Start - . pack("V", 0) // Extra BDList Count - ); - } else { - fwrite($FILE, pack("V", $iAll+$iBdCnt) . pack("V", $iBdExL)); - } - - // BDList - for ($i = 0; $i < $i1stBdL && $i < $iBdCnt; ++$i) { - fwrite($FILE, pack("V", $iAll+$i)); - } - if ($i < $i1stBdL) { - $jB = $i1stBdL - $i; - for ($j = 0; $j < $jB; ++$j) { - fwrite($FILE, (pack("V", -1))); - } - } - } - - /** - * Saving big data (PPS's with data bigger than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) - * - * @access public - * @param integer $iStBlk - * @param array &$raList Reference to array of PPS's - */ - public function _saveBigData($iStBlk, &$raList) - { - $FILE = $this->_FILEH_; - - // cycle through PPS's - $iCount = count($raList); - for ($i = 0; $i < $iCount; ++$i) { - if ($raList[$i]->Type != PHPExcel_Shared_OLE::OLE_PPS_TYPE_DIR) { - $raList[$i]->Size = $raList[$i]->_DataLen(); - if (($raList[$i]->Size >= PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) || - (($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_ROOT) && isset($raList[$i]->_data))) - { - // Write Data - //if (isset($raList[$i]->_PPS_FILE)) { - // $iLen = 0; - // fseek($raList[$i]->_PPS_FILE, 0); // To The Top - // while($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) { - // $iLen += strlen($sBuff); - // fwrite($FILE, $sBuff); - // } - //} else { - fwrite($FILE, $raList[$i]->_data); - //} - - if ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE) { - fwrite($FILE, str_repeat("\x00", $this->_BIG_BLOCK_SIZE - ($raList[$i]->Size % $this->_BIG_BLOCK_SIZE))); - } - // Set For PPS - $raList[$i]->_StartBlock = $iStBlk; - $iStBlk += - (floor($raList[$i]->Size / $this->_BIG_BLOCK_SIZE) + - (($raList[$i]->Size % $this->_BIG_BLOCK_SIZE)? 1: 0)); - } - // Close file for each PPS, and unlink it - //if (isset($raList[$i]->_PPS_FILE)) { - // fclose($raList[$i]->_PPS_FILE); - // $raList[$i]->_PPS_FILE = null; - // unlink($raList[$i]->_tmp_filename); - //} - } - } - } - - /** - * get small data (PPS's with data smaller than PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) - * - * @access public - * @param array &$raList Reference to array of PPS's - */ - public function _makeSmallData(&$raList) - { - $sRes = ''; - $FILE = $this->_FILEH_; - $iSmBlk = 0; - - $iCount = count($raList); - for ($i = 0; $i < $iCount; ++$i) { - // Make SBD, small data string - if ($raList[$i]->Type == PHPExcel_Shared_OLE::OLE_PPS_TYPE_FILE) { - if ($raList[$i]->Size <= 0) { - continue; - } - if ($raList[$i]->Size < PHPExcel_Shared_OLE::OLE_DATA_SIZE_SMALL) { - $iSmbCnt = floor($raList[$i]->Size / $this->_SMALL_BLOCK_SIZE) - + (($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)? 1: 0); - // Add to SBD - $jB = $iSmbCnt - 1; - for ($j = 0; $j < $jB; ++$j) { - fwrite($FILE, pack("V", $j+$iSmBlk+1)); - } - fwrite($FILE, pack("V", -2)); - - //// Add to Data String(this will be written for RootEntry) - //if ($raList[$i]->_PPS_FILE) { - // fseek($raList[$i]->_PPS_FILE, 0); // To The Top - // while ($sBuff = fread($raList[$i]->_PPS_FILE, 4096)) { - // $sRes .= $sBuff; - // } - //} else { - $sRes .= $raList[$i]->_data; - //} - if ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE) { - $sRes .= str_repeat("\x00",$this->_SMALL_BLOCK_SIZE - ($raList[$i]->Size % $this->_SMALL_BLOCK_SIZE)); - } - // Set for PPS - $raList[$i]->_StartBlock = $iSmBlk; - $iSmBlk += $iSmbCnt; - } - } - } - $iSbCnt = floor($this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE); - if ($iSmBlk % $iSbCnt) { - $iB = $iSbCnt - ($iSmBlk % $iSbCnt); - for ($i = 0; $i < $iB; ++$i) { - fwrite($FILE, pack("V", -1)); - } - } - return $sRes; - } - - /** - * Saves all the PPS's WKs - * - * @access public - * @param array $raList Reference to an array with all PPS's - */ - public function _savePps(&$raList) - { - // Save each PPS WK - $iC = count($raList); - for ($i = 0; $i < $iC; ++$i) { - fwrite($this->_FILEH_, $raList[$i]->_getPpsWk()); - } - // Adjust for Block - $iCnt = count($raList); - $iBCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_PPS_SIZE; - if ($iCnt % $iBCnt) { - fwrite($this->_FILEH_, str_repeat("\x00",($iBCnt - ($iCnt % $iBCnt)) * PHPExcel_Shared_OLE::OLE_PPS_SIZE)); - } - } - - /** - * Saving Big Block Depot - * - * @access public - * @param integer $iSbdSize - * @param integer $iBsize - * @param integer $iPpsCnt - */ - public function _saveBbd($iSbdSize, $iBsize, $iPpsCnt) - { - $FILE = $this->_FILEH_; - // Calculate Basic Setting - $iBbCnt = $this->_BIG_BLOCK_SIZE / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - $i1stBdL = ($this->_BIG_BLOCK_SIZE - 0x4C) / PHPExcel_Shared_OLE::OLE_LONG_INT_SIZE; - - $iBdExL = 0; - $iAll = $iBsize + $iPpsCnt + $iSbdSize; - $iAllW = $iAll; - $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0); - $iBdCnt = floor(($iAll + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0); - // Calculate BD count - if ($iBdCnt >$i1stBdL) { - while (1) { - ++$iBdExL; - ++$iAllW; - $iBdCntW = floor($iAllW / $iBbCnt) + (($iAllW % $iBbCnt)? 1: 0); - $iBdCnt = floor(($iAllW + $iBdCntW) / $iBbCnt) + ((($iAllW+$iBdCntW) % $iBbCnt)? 1: 0); - if ($iBdCnt <= ($iBdExL*$iBbCnt+ $i1stBdL)) { - break; - } - } - } - - // Making BD - // Set for SBD - if ($iSbdSize > 0) { - for ($i = 0; $i < ($iSbdSize - 1); ++$i) { - fwrite($FILE, pack("V", $i+1)); - } - fwrite($FILE, pack("V", -2)); - } - // Set for B - for ($i = 0; $i < ($iBsize - 1); ++$i) { - fwrite($FILE, pack("V", $i+$iSbdSize+1)); - } - fwrite($FILE, pack("V", -2)); - - // Set for PPS - for ($i = 0; $i < ($iPpsCnt - 1); ++$i) { - fwrite($FILE, pack("V", $i+$iSbdSize+$iBsize+1)); - } - fwrite($FILE, pack("V", -2)); - // Set for BBD itself ( 0xFFFFFFFD : BBD) - for ($i = 0; $i < $iBdCnt; ++$i) { - fwrite($FILE, pack("V", 0xFFFFFFFD)); - } - // Set for ExtraBDList - for ($i = 0; $i < $iBdExL; ++$i) { - fwrite($FILE, pack("V", 0xFFFFFFFC)); - } - // Adjust for Block - if (($iAllW + $iBdCnt) % $iBbCnt) { - $iBlock = ($iBbCnt - (($iAllW + $iBdCnt) % $iBbCnt)); - for ($i = 0; $i < $iBlock; ++$i) { - fwrite($FILE, pack("V", -1)); - } - } - // Extra BDList - if ($iBdCnt > $i1stBdL) { - $iN=0; - $iNb=0; - for ($i = $i1stBdL;$i < $iBdCnt; $i++, ++$iN) { - if ($iN >= ($iBbCnt - 1)) { - $iN = 0; - ++$iNb; - fwrite($FILE, pack("V", $iAll+$iBdCnt+$iNb)); - } - fwrite($FILE, pack("V", $iBsize+$iSbdSize+$iPpsCnt+$i)); - } - if (($iBdCnt-$i1stBdL) % ($iBbCnt-1)) { - $iB = ($iBbCnt - 1) - (($iBdCnt - $i1stBdL) % ($iBbCnt - 1)); - for ($i = 0; $i < $iB; ++$i) { - fwrite($FILE, pack("V", -1)); - } - } - fwrite($FILE, pack("V", -2)); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/PPS/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLE/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLERead.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLERead.php deleted file mode 100644 index 261bdde58..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/OLERead.php +++ /dev/null @@ -1,317 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -defined('IDENTIFIER_OLE') || - define('IDENTIFIER_OLE', pack('CCCCCCCC', 0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1)); - -class PHPExcel_Shared_OLERead { - private $data = ''; - - // OLE identifier - const IDENTIFIER_OLE = IDENTIFIER_OLE; - - // Size of a sector = 512 bytes - const BIG_BLOCK_SIZE = 0x200; - - // Size of a short sector = 64 bytes - const SMALL_BLOCK_SIZE = 0x40; - - // Size of a directory entry always = 128 bytes - const PROPERTY_STORAGE_BLOCK_SIZE = 0x80; - - // Minimum size of a standard stream = 4096 bytes, streams smaller than this are stored as short streams - const SMALL_BLOCK_THRESHOLD = 0x1000; - - // header offsets - const NUM_BIG_BLOCK_DEPOT_BLOCKS_POS = 0x2c; - const ROOT_START_BLOCK_POS = 0x30; - const SMALL_BLOCK_DEPOT_BLOCK_POS = 0x3c; - const EXTENSION_BLOCK_POS = 0x44; - const NUM_EXTENSION_BLOCK_POS = 0x48; - const BIG_BLOCK_DEPOT_BLOCKS_POS = 0x4c; - - // property storage offsets (directory offsets) - const SIZE_OF_NAME_POS = 0x40; - const TYPE_POS = 0x42; - const START_BLOCK_POS = 0x74; - const SIZE_POS = 0x78; - - - - public $wrkbook = null; - public $summaryInformation = null; - public $documentSummaryInformation = null; - - - /** - * Read the file - * - * @param $sFileName string Filename - * @throws PHPExcel_Reader_Exception - */ - public function read($sFileName) - { - // Check if file exists and is readable - if(!is_readable($sFileName)) { - throw new PHPExcel_Reader_Exception("Could not open " . $sFileName . " for reading! File does not exist, or it is not readable."); - } - - // Get the file identifier - // Don't bother reading the whole file until we know it's a valid OLE file - $this->data = file_get_contents($sFileName, FALSE, NULL, 0, 8); - - // Check OLE identifier - if ($this->data != self::IDENTIFIER_OLE) { - throw new PHPExcel_Reader_Exception('The filename ' . $sFileName . ' is not recognised as an OLE file'); - } - - // Get the file data - $this->data = file_get_contents($sFileName); - - // Total number of sectors used for the SAT - $this->numBigBlockDepotBlocks = self::_GetInt4d($this->data, self::NUM_BIG_BLOCK_DEPOT_BLOCKS_POS); - - // SecID of the first sector of the directory stream - $this->rootStartBlock = self::_GetInt4d($this->data, self::ROOT_START_BLOCK_POS); - - // SecID of the first sector of the SSAT (or -2 if not extant) - $this->sbdStartBlock = self::_GetInt4d($this->data, self::SMALL_BLOCK_DEPOT_BLOCK_POS); - - // SecID of the first sector of the MSAT (or -2 if no additional sectors are used) - $this->extensionBlock = self::_GetInt4d($this->data, self::EXTENSION_BLOCK_POS); - - // Total number of sectors used by MSAT - $this->numExtensionBlocks = self::_GetInt4d($this->data, self::NUM_EXTENSION_BLOCK_POS); - - $bigBlockDepotBlocks = array(); - $pos = self::BIG_BLOCK_DEPOT_BLOCKS_POS; - - $bbdBlocks = $this->numBigBlockDepotBlocks; - - if ($this->numExtensionBlocks != 0) { - $bbdBlocks = (self::BIG_BLOCK_SIZE - self::BIG_BLOCK_DEPOT_BLOCKS_POS)/4; - } - - for ($i = 0; $i < $bbdBlocks; ++$i) { - $bigBlockDepotBlocks[$i] = self::_GetInt4d($this->data, $pos); - $pos += 4; - } - - for ($j = 0; $j < $this->numExtensionBlocks; ++$j) { - $pos = ($this->extensionBlock + 1) * self::BIG_BLOCK_SIZE; - $blocksToRead = min($this->numBigBlockDepotBlocks - $bbdBlocks, self::BIG_BLOCK_SIZE / 4 - 1); - - for ($i = $bbdBlocks; $i < $bbdBlocks + $blocksToRead; ++$i) { - $bigBlockDepotBlocks[$i] = self::_GetInt4d($this->data, $pos); - $pos += 4; - } - - $bbdBlocks += $blocksToRead; - if ($bbdBlocks < $this->numBigBlockDepotBlocks) { - $this->extensionBlock = self::_GetInt4d($this->data, $pos); - } - } - - $pos = 0; - $this->bigBlockChain = ''; - $bbs = self::BIG_BLOCK_SIZE / 4; - for ($i = 0; $i < $this->numBigBlockDepotBlocks; ++$i) { - $pos = ($bigBlockDepotBlocks[$i] + 1) * self::BIG_BLOCK_SIZE; - - $this->bigBlockChain .= substr($this->data, $pos, 4*$bbs); - $pos += 4*$bbs; - } - - $pos = 0; - $sbdBlock = $this->sbdStartBlock; - $this->smallBlockChain = ''; - while ($sbdBlock != -2) { - $pos = ($sbdBlock + 1) * self::BIG_BLOCK_SIZE; - - $this->smallBlockChain .= substr($this->data, $pos, 4*$bbs); - $pos += 4*$bbs; - - $sbdBlock = self::_GetInt4d($this->bigBlockChain, $sbdBlock*4); - } - - // read the directory stream - $block = $this->rootStartBlock; - $this->entry = $this->_readData($block); - - $this->_readPropertySets(); - } - - /** - * Extract binary stream data - * - * @return string - */ - public function getStream($stream) - { - if ($stream === NULL) { - return null; - } - - $streamData = ''; - - if ($this->props[$stream]['size'] < self::SMALL_BLOCK_THRESHOLD) { - $rootdata = $this->_readData($this->props[$this->rootentry]['startBlock']); - - $block = $this->props[$stream]['startBlock']; - - while ($block != -2) { - $pos = $block * self::SMALL_BLOCK_SIZE; - $streamData .= substr($rootdata, $pos, self::SMALL_BLOCK_SIZE); - - $block = self::_GetInt4d($this->smallBlockChain, $block*4); - } - - return $streamData; - } else { - $numBlocks = $this->props[$stream]['size'] / self::BIG_BLOCK_SIZE; - if ($this->props[$stream]['size'] % self::BIG_BLOCK_SIZE != 0) { - ++$numBlocks; - } - - if ($numBlocks == 0) return ''; - - $block = $this->props[$stream]['startBlock']; - - while ($block != -2) { - $pos = ($block + 1) * self::BIG_BLOCK_SIZE; - $streamData .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); - $block = self::_GetInt4d($this->bigBlockChain, $block*4); - } - - return $streamData; - } - } - - /** - * Read a standard stream (by joining sectors using information from SAT) - * - * @param int $bl Sector ID where the stream starts - * @return string Data for standard stream - */ - private function _readData($bl) - { - $block = $bl; - $data = ''; - - while ($block != -2) { - $pos = ($block + 1) * self::BIG_BLOCK_SIZE; - $data .= substr($this->data, $pos, self::BIG_BLOCK_SIZE); - $block = self::_GetInt4d($this->bigBlockChain, $block*4); - } - return $data; - } - - /** - * Read entries in the directory stream. - */ - private function _readPropertySets() { - $offset = 0; - - // loop through entires, each entry is 128 bytes - $entryLen = strlen($this->entry); - while ($offset < $entryLen) { - // entry data (128 bytes) - $d = substr($this->entry, $offset, self::PROPERTY_STORAGE_BLOCK_SIZE); - - // size in bytes of name - $nameSize = ord($d[self::SIZE_OF_NAME_POS]) | (ord($d[self::SIZE_OF_NAME_POS+1]) << 8); - - // type of entry - $type = ord($d[self::TYPE_POS]); - - // sectorID of first sector or short sector, if this entry refers to a stream (the case with workbook) - // sectorID of first sector of the short-stream container stream, if this entry is root entry - $startBlock = self::_GetInt4d($d, self::START_BLOCK_POS); - - $size = self::_GetInt4d($d, self::SIZE_POS); - - $name = str_replace("\x00", "", substr($d,0,$nameSize)); - - - $this->props[] = array ( - 'name' => $name, - 'type' => $type, - 'startBlock' => $startBlock, - 'size' => $size); - - // tmp helper to simplify checks - $upName = strtoupper($name); - - // Workbook directory entry (BIFF5 uses Book, BIFF8 uses Workbook) - if (($upName === 'WORKBOOK') || ($upName === 'BOOK')) { - $this->wrkbook = count($this->props) - 1; - } - else if ( $upName === 'ROOT ENTRY' || $upName === 'R') { - // Root entry - $this->rootentry = count($this->props) - 1; - } - - // Summary information - if ($name == chr(5) . 'SummaryInformation') { -// echo 'Summary Information<br />'; - $this->summaryInformation = count($this->props) - 1; - } - - // Additional Document Summary information - if ($name == chr(5) . 'DocumentSummaryInformation') { -// echo 'Document Summary Information<br />'; - $this->documentSummaryInformation = count($this->props) - 1; - } - - $offset += self::PROPERTY_STORAGE_BLOCK_SIZE; - } - - } - - /** - * Read 4 bytes of data at specified position - * - * @param string $data - * @param int $pos - * @return int - */ - private static function _GetInt4d($data, $pos) - { - // FIX: represent numbers correctly on 64-bit system - // http://sourceforge.net/tracker/index.php?func=detail&aid=1487372&group_id=99160&atid=623334 - // Hacked by Andreas Rehm 2006 to ensure correct result of the <<24 block on 32 and 64bit systems - $_or_24 = ord($data[$pos + 3]); - if ($_or_24 >= 128) { - // negative number - $_ord_24 = -abs((256 - $_or_24) << 24); - } else { - $_ord_24 = ($_or_24 & 127) << 24; - } - return ord($data[$pos]) | (ord($data[$pos + 1]) << 8) | (ord($data[$pos + 2]) << 16) | $_ord_24; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/gnu-lgpl.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/gnu-lgpl.txt deleted file mode 100644 index cbee875ba..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/gnu-lgpl.txt +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -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 and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, 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 library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete 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 distribute a copy of this License along with the -Library. - - 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 Library or any portion -of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -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 Library, 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 Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you 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. - - If distribution of 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 satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be 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. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library 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. - - 9. 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 Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -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 with -this License. - - 11. 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 Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library 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 Library. - -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. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library 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. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser 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 Library -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 Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -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 - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "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 -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. 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 LIBRARY 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 -LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), 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 Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. 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. - - <one line to give the library's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - <signature of Ty Coon>, 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/pclzip.lib.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/pclzip.lib.php deleted file mode 100644 index 4bf05a523..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/pclzip.lib.php +++ /dev/null @@ -1,5694 +0,0 @@ -<?php -// -------------------------------------------------------------------------------- -// PhpConcept Library - Zip Module 2.8.2 -// -------------------------------------------------------------------------------- -// License GNU/LGPL - Vincent Blavet - August 2009 -// http://www.phpconcept.net -// -------------------------------------------------------------------------------- -// -// Presentation : -// PclZip is a PHP library that manage ZIP archives. -// So far tests show that archives generated by PclZip are readable by -// WinZip application and other tools. -// -// Description : -// See readme.txt and http://www.phpconcept.net -// -// Warning : -// This library and the associated files are non commercial, non professional -// work. -// It should not have unexpected results. However if any damage is caused by -// this software the author can not be responsible. -// The use of this software is at the risk of the user. -// -// -------------------------------------------------------------------------------- -// $Id: pclzip.lib.php,v 1.60 2009/09/30 21:01:04 vblavet Exp $ -// -------------------------------------------------------------------------------- - - // ----- Constants - if (!defined('PCLZIP_READ_BLOCK_SIZE')) { - define( 'PCLZIP_READ_BLOCK_SIZE', 2048 ); - } - - // ----- File list separator - // In version 1.x of PclZip, the separator for file list is a space - // (which is not a very smart choice, specifically for windows paths !). - // A better separator should be a comma (,). This constant gives you the - // abilty to change that. - // However notice that changing this value, may have impact on existing - // scripts, using space separated filenames. - // Recommanded values for compatibility with older versions : - //define( 'PCLZIP_SEPARATOR', ' ' ); - // Recommanded values for smart separation of filenames. - if (!defined('PCLZIP_SEPARATOR')) { - define( 'PCLZIP_SEPARATOR', ',' ); - } - - // ----- Error configuration - // 0 : PclZip Class integrated error handling - // 1 : PclError external library error handling. By enabling this - // you must ensure that you have included PclError library. - // [2,...] : reserved for futur use - if (!defined('PCLZIP_ERROR_EXTERNAL')) { - define( 'PCLZIP_ERROR_EXTERNAL', 0 ); - } - - // ----- Optional static temporary directory - // By default temporary files are generated in the script current - // path. - // If defined : - // - MUST BE terminated by a '/'. - // - MUST be a valid, already created directory - // Samples : - // define( 'PCLZIP_TEMPORARY_DIR', '/temp/' ); - // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' ); - if (!defined('PCLZIP_TEMPORARY_DIR')) { - define( 'PCLZIP_TEMPORARY_DIR', '' ); - } - - // ----- Optional threshold ratio for use of temporary files - // Pclzip sense the size of the file to add/extract and decide to - // use or not temporary file. The algorythm is looking for - // memory_limit of PHP and apply a ratio. - // threshold = memory_limit * ratio. - // Recommended values are under 0.5. Default 0.47. - // Samples : - // define( 'PCLZIP_TEMPORARY_FILE_RATIO', 0.5 ); - if (!defined('PCLZIP_TEMPORARY_FILE_RATIO')) { - define( 'PCLZIP_TEMPORARY_FILE_RATIO', 0.47 ); - } - -// -------------------------------------------------------------------------------- -// ***** UNDER THIS LINE NOTHING NEEDS TO BE MODIFIED ***** -// -------------------------------------------------------------------------------- - - // ----- Global variables - $g_pclzip_version = "2.8.2"; - - // ----- Error codes - // -1 : Unable to open file in binary write mode - // -2 : Unable to open file in binary read mode - // -3 : Invalid parameters - // -4 : File does not exist - // -5 : Filename is too long (max. 255) - // -6 : Not a valid zip file - // -7 : Invalid extracted file size - // -8 : Unable to create directory - // -9 : Invalid archive extension - // -10 : Invalid archive format - // -11 : Unable to delete file (unlink) - // -12 : Unable to rename file (rename) - // -13 : Invalid header checksum - // -14 : Invalid archive size - define( 'PCLZIP_ERR_USER_ABORTED', 2 ); - define( 'PCLZIP_ERR_NO_ERROR', 0 ); - define( 'PCLZIP_ERR_WRITE_OPEN_FAIL', -1 ); - define( 'PCLZIP_ERR_READ_OPEN_FAIL', -2 ); - define( 'PCLZIP_ERR_INVALID_PARAMETER', -3 ); - define( 'PCLZIP_ERR_MISSING_FILE', -4 ); - define( 'PCLZIP_ERR_FILENAME_TOO_LONG', -5 ); - define( 'PCLZIP_ERR_INVALID_ZIP', -6 ); - define( 'PCLZIP_ERR_BAD_EXTRACTED_FILE', -7 ); - define( 'PCLZIP_ERR_DIR_CREATE_FAIL', -8 ); - define( 'PCLZIP_ERR_BAD_EXTENSION', -9 ); - define( 'PCLZIP_ERR_BAD_FORMAT', -10 ); - define( 'PCLZIP_ERR_DELETE_FILE_FAIL', -11 ); - define( 'PCLZIP_ERR_RENAME_FILE_FAIL', -12 ); - define( 'PCLZIP_ERR_BAD_CHECKSUM', -13 ); - define( 'PCLZIP_ERR_INVALID_ARCHIVE_ZIP', -14 ); - define( 'PCLZIP_ERR_MISSING_OPTION_VALUE', -15 ); - define( 'PCLZIP_ERR_INVALID_OPTION_VALUE', -16 ); - define( 'PCLZIP_ERR_ALREADY_A_DIRECTORY', -17 ); - define( 'PCLZIP_ERR_UNSUPPORTED_COMPRESSION', -18 ); - define( 'PCLZIP_ERR_UNSUPPORTED_ENCRYPTION', -19 ); - define( 'PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE', -20 ); - define( 'PCLZIP_ERR_DIRECTORY_RESTRICTION', -21 ); - - // ----- Options values - define( 'PCLZIP_OPT_PATH', 77001 ); - define( 'PCLZIP_OPT_ADD_PATH', 77002 ); - define( 'PCLZIP_OPT_REMOVE_PATH', 77003 ); - define( 'PCLZIP_OPT_REMOVE_ALL_PATH', 77004 ); - define( 'PCLZIP_OPT_SET_CHMOD', 77005 ); - define( 'PCLZIP_OPT_EXTRACT_AS_STRING', 77006 ); - define( 'PCLZIP_OPT_NO_COMPRESSION', 77007 ); - define( 'PCLZIP_OPT_BY_NAME', 77008 ); - define( 'PCLZIP_OPT_BY_INDEX', 77009 ); - define( 'PCLZIP_OPT_BY_EREG', 77010 ); - define( 'PCLZIP_OPT_BY_PREG', 77011 ); - define( 'PCLZIP_OPT_COMMENT', 77012 ); - define( 'PCLZIP_OPT_ADD_COMMENT', 77013 ); - define( 'PCLZIP_OPT_PREPEND_COMMENT', 77014 ); - define( 'PCLZIP_OPT_EXTRACT_IN_OUTPUT', 77015 ); - define( 'PCLZIP_OPT_REPLACE_NEWER', 77016 ); - define( 'PCLZIP_OPT_STOP_ON_ERROR', 77017 ); - // Having big trouble with crypt. Need to multiply 2 long int - // which is not correctly supported by PHP ... - //define( 'PCLZIP_OPT_CRYPT', 77018 ); - define( 'PCLZIP_OPT_EXTRACT_DIR_RESTRICTION', 77019 ); - define( 'PCLZIP_OPT_TEMP_FILE_THRESHOLD', 77020 ); - define( 'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD', 77020 ); // alias - define( 'PCLZIP_OPT_TEMP_FILE_ON', 77021 ); - define( 'PCLZIP_OPT_ADD_TEMP_FILE_ON', 77021 ); // alias - define( 'PCLZIP_OPT_TEMP_FILE_OFF', 77022 ); - define( 'PCLZIP_OPT_ADD_TEMP_FILE_OFF', 77022 ); // alias - - // ----- File description attributes - define( 'PCLZIP_ATT_FILE_NAME', 79001 ); - define( 'PCLZIP_ATT_FILE_NEW_SHORT_NAME', 79002 ); - define( 'PCLZIP_ATT_FILE_NEW_FULL_NAME', 79003 ); - define( 'PCLZIP_ATT_FILE_MTIME', 79004 ); - define( 'PCLZIP_ATT_FILE_CONTENT', 79005 ); - define( 'PCLZIP_ATT_FILE_COMMENT', 79006 ); - - // ----- Call backs values - define( 'PCLZIP_CB_PRE_EXTRACT', 78001 ); - define( 'PCLZIP_CB_POST_EXTRACT', 78002 ); - define( 'PCLZIP_CB_PRE_ADD', 78003 ); - define( 'PCLZIP_CB_POST_ADD', 78004 ); - /* For futur use - define( 'PCLZIP_CB_PRE_LIST', 78005 ); - define( 'PCLZIP_CB_POST_LIST', 78006 ); - define( 'PCLZIP_CB_PRE_DELETE', 78007 ); - define( 'PCLZIP_CB_POST_DELETE', 78008 ); - */ - - // -------------------------------------------------------------------------------- - // Class : PclZip - // Description : - // PclZip is the class that represent a Zip archive. - // The public methods allow the manipulation of the archive. - // Attributes : - // Attributes must not be accessed directly. - // Methods : - // PclZip() : Object creator - // create() : Creates the Zip archive - // listContent() : List the content of the Zip archive - // extract() : Extract the content of the archive - // properties() : List the properties of the archive - // -------------------------------------------------------------------------------- - class PclZip - { - // ----- Filename of the zip file - var $zipname = ''; - - // ----- File descriptor of the zip file - var $zip_fd = 0; - - // ----- Internal error handling - var $error_code = 1; - var $error_string = ''; - - // ----- Current status of the magic_quotes_runtime - // This value store the php configuration for magic_quotes - // The class can then disable the magic_quotes and reset it after - var $magic_quotes_status; - - // -------------------------------------------------------------------------------- - // Function : PclZip() - // Description : - // Creates a PclZip object and set the name of the associated Zip archive - // filename. - // Note that no real action is taken, if the archive does not exist it is not - // created. Use create() for that. - // -------------------------------------------------------------------------------- - function PclZip($p_zipname) - { - - // ----- Tests the zlib - if (!function_exists('gzopen')) - { - die('Abort '.basename(__FILE__).' : Missing zlib extensions'); - } - - // ----- Set the attributes - $this->zipname = $p_zipname; - $this->zip_fd = 0; - $this->magic_quotes_status = -1; - - // ----- Return - return; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // create($p_filelist, $p_add_dir="", $p_remove_dir="") - // create($p_filelist, $p_option, $p_option_value, ...) - // Description : - // This method supports two different synopsis. The first one is historical. - // This method creates a Zip Archive. The Zip file is created in the - // filesystem. The files and directories indicated in $p_filelist - // are added in the archive. See the parameters description for the - // supported format of $p_filelist. - // When a directory is in the list, the directory and its content is added - // in the archive. - // In this synopsis, the function takes an optional variable list of - // options. See bellow the supported options. - // Parameters : - // $p_filelist : An array containing file or directory names, or - // a string containing one filename or one directory name, or - // a string containing a list of filenames and/or directory - // names separated by spaces. - // $p_add_dir : A path to add before the real path of the archived file, - // in order to have it memorized in the archive. - // $p_remove_dir : A path to remove from the real path of the file to archive, - // in order to have a shorter path memorized in the archive. - // When $p_add_dir and $p_remove_dir are set, $p_remove_dir - // is removed first, before $p_add_dir is added. - // Options : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_COMMENT : - // PCLZIP_CB_PRE_ADD : - // PCLZIP_CB_POST_ADD : - // Return Values : - // 0 on failure, - // The list of the added files, with a status of the add action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function create($p_filelist) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Set default values - $v_options = array(); - $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove from the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_ADD => 'optional', - PCLZIP_CB_POST_ADD => 'optional', - PCLZIP_OPT_NO_COMPRESSION => 'optional', - PCLZIP_OPT_COMMENT => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - //, PCLZIP_OPT_CRYPT => 'optional' - )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_options[PCLZIP_OPT_ADD_PATH] = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1]; - } - else if ($v_size > 2) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Invalid number / type of arguments"); - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Init - $v_string_list = array(); - $v_att_list = array(); - $v_filedescr_list = array(); - $p_result_list = array(); - - // ----- Look if the $p_filelist is really an array - if (is_array($p_filelist)) { - - // ----- Look if the first element is also an array - // This will mean that this is a file description entry - if (isset($p_filelist[0]) && is_array($p_filelist[0])) { - $v_att_list = $p_filelist; - } - - // ----- The list is a list of string names - else { - $v_string_list = $p_filelist; - } - } - - // ----- Look if the $p_filelist is a string - else if (is_string($p_filelist)) { - // ----- Create a list from the string - $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist); - } - - // ----- Invalid variable type for $p_filelist - else { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_filelist"); - return 0; - } - - // ----- Reformat the string list - if (sizeof($v_string_list) != 0) { - foreach ($v_string_list as $v_string) { - if ($v_string != '') { - $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string; - } - else { - } - } - } - - // ----- For each file in the list check the attributes - $v_supported_attributes - = array ( PCLZIP_ATT_FILE_NAME => 'mandatory' - ,PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional' - ,PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional' - ,PCLZIP_ATT_FILE_MTIME => 'optional' - ,PCLZIP_ATT_FILE_CONTENT => 'optional' - ,PCLZIP_ATT_FILE_COMMENT => 'optional' - ); - foreach ($v_att_list as $v_entry) { - $v_result = $this->privFileDescrParseAtt($v_entry, - $v_filedescr_list[], - $v_options, - $v_supported_attributes); - if ($v_result != 1) { - return 0; - } - } - - // ----- Expand the filelist (expand directories) - $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Call the create fct - $v_result = $this->privCreate($v_filedescr_list, $p_result_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Return - return $p_result_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // add($p_filelist, $p_add_dir="", $p_remove_dir="") - // add($p_filelist, $p_option, $p_option_value, ...) - // Description : - // This method supports two synopsis. The first one is historical. - // This methods add the list of files in an existing archive. - // If a file with the same name already exists, it is added at the end of the - // archive, the first one is still present. - // If the archive does not exist, it is created. - // Parameters : - // $p_filelist : An array containing file or directory names, or - // a string containing one filename or one directory name, or - // a string containing a list of filenames and/or directory - // names separated by spaces. - // $p_add_dir : A path to add before the real path of the archived file, - // in order to have it memorized in the archive. - // $p_remove_dir : A path to remove from the real path of the file to archive, - // in order to have a shorter path memorized in the archive. - // When $p_add_dir and $p_remove_dir are set, $p_remove_dir - // is removed first, before $p_add_dir is added. - // Options : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_COMMENT : - // PCLZIP_OPT_ADD_COMMENT : - // PCLZIP_OPT_PREPEND_COMMENT : - // PCLZIP_CB_PRE_ADD : - // PCLZIP_CB_POST_ADD : - // Return Values : - // 0 on failure, - // The list of the added files, with a status of the add action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function add($p_filelist) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Set default values - $v_options = array(); - $v_options[PCLZIP_OPT_NO_COMPRESSION] = FALSE; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove form the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_ADD => 'optional', - PCLZIP_CB_POST_ADD => 'optional', - PCLZIP_OPT_NO_COMPRESSION => 'optional', - PCLZIP_OPT_COMMENT => 'optional', - PCLZIP_OPT_ADD_COMMENT => 'optional', - PCLZIP_OPT_PREPEND_COMMENT => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - //, PCLZIP_OPT_CRYPT => 'optional' - )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_options[PCLZIP_OPT_ADD_PATH] = $v_add_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_options[PCLZIP_OPT_REMOVE_PATH] = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Init - $v_string_list = array(); - $v_att_list = array(); - $v_filedescr_list = array(); - $p_result_list = array(); - - // ----- Look if the $p_filelist is really an array - if (is_array($p_filelist)) { - - // ----- Look if the first element is also an array - // This will mean that this is a file description entry - if (isset($p_filelist[0]) && is_array($p_filelist[0])) { - $v_att_list = $p_filelist; - } - - // ----- The list is a list of string names - else { - $v_string_list = $p_filelist; - } - } - - // ----- Look if the $p_filelist is a string - else if (is_string($p_filelist)) { - // ----- Create a list from the string - $v_string_list = explode(PCLZIP_SEPARATOR, $p_filelist); - } - - // ----- Invalid variable type for $p_filelist - else { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type '".gettype($p_filelist)."' for p_filelist"); - return 0; - } - - // ----- Reformat the string list - if (sizeof($v_string_list) != 0) { - foreach ($v_string_list as $v_string) { - $v_att_list[][PCLZIP_ATT_FILE_NAME] = $v_string; - } - } - - // ----- For each file in the list check the attributes - $v_supported_attributes - = array ( PCLZIP_ATT_FILE_NAME => 'mandatory' - ,PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional' - ,PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional' - ,PCLZIP_ATT_FILE_MTIME => 'optional' - ,PCLZIP_ATT_FILE_CONTENT => 'optional' - ,PCLZIP_ATT_FILE_COMMENT => 'optional' - ); - foreach ($v_att_list as $v_entry) { - $v_result = $this->privFileDescrParseAtt($v_entry, - $v_filedescr_list[], - $v_options, - $v_supported_attributes); - if ($v_result != 1) { - return 0; - } - } - - // ----- Expand the filelist (expand directories) - $v_result = $this->privFileDescrExpand($v_filedescr_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Call the create fct - $v_result = $this->privAdd($v_filedescr_list, $p_result_list, $v_options); - if ($v_result != 1) { - return 0; - } - - // ----- Return - return $p_result_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : listContent() - // Description : - // This public method, gives the list of the files and directories, with their - // properties. - // The properties of each entries in the list are (used also in other functions) : - // filename : Name of the file. For a create or add action it is the filename - // given by the user. For an extract function it is the filename - // of the extracted file. - // stored_filename : Name of the file / directory stored in the archive. - // size : Size of the stored file. - // compressed_size : Size of the file's data compressed in the archive - // (without the headers overhead) - // mtime : Last known modification date of the file (UNIX timestamp) - // comment : Comment associated with the file - // folder : true | false - // index : index of the file in the archive - // status : status of the action (depending of the action) : - // Values are : - // ok : OK ! - // filtered : the file / dir is not extracted (filtered by user) - // already_a_directory : the file can not be extracted because a - // directory with the same name already exists - // write_protected : the file can not be extracted because a file - // with the same name already exists and is - // write protected - // newer_exist : the file was not extracted because a newer file exists - // path_creation_fail : the file is not extracted because the folder - // does not exist and can not be created - // write_error : the file was not extracted because there was a - // error while writing the file - // read_error : the file was not extracted because there was a error - // while reading the file - // invalid_header : the file was not extracted because of an archive - // format error (bad file header) - // Note that each time a method can continue operating when there - // is an action error on a file, the error is only logged in the file status. - // Return Values : - // 0 on an unrecoverable failure, - // The list of the files in the archive. - // -------------------------------------------------------------------------------- - function listContent() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Call the extracting fct - $p_list = array(); - if (($v_result = $this->privList($p_list)) != 1) - { - unset($p_list); - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // extract($p_path="./", $p_remove_path="") - // extract([$p_option, $p_option_value, ...]) - // Description : - // This method supports two synopsis. The first one is historical. - // This method extract all the files / directories from the archive to the - // folder indicated in $p_path. - // If you want to ignore the 'root' part of path of the memorized files - // you can indicate this in the optional $p_remove_path parameter. - // By default, if a newer file with the same name already exists, the - // file is not extracted. - // - // If both PCLZIP_OPT_PATH and PCLZIP_OPT_ADD_PATH aoptions - // are used, the path indicated in PCLZIP_OPT_ADD_PATH is append - // at the end of the path value of PCLZIP_OPT_PATH. - // Parameters : - // $p_path : Path where the files and directories are to be extracted - // $p_remove_path : First part ('root' part) of the memorized path - // (if any similar) to remove while extracting. - // Options : - // PCLZIP_OPT_PATH : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_CB_PRE_EXTRACT : - // PCLZIP_CB_POST_EXTRACT : - // Return Values : - // 0 or a negative value on failure, - // The list of the extracted files, with a status of the action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function extract() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); -// $v_path = "./"; - $v_path = ''; - $v_remove_path = ""; - $v_remove_all_path = false; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Default values for option - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - - // ----- Look for arguments - if ($v_size > 0) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_PATH => 'optional', - PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_EXTRACT => 'optional', - PCLZIP_CB_POST_EXTRACT => 'optional', - PCLZIP_OPT_SET_CHMOD => 'optional', - PCLZIP_OPT_BY_NAME => 'optional', - PCLZIP_OPT_BY_EREG => 'optional', - PCLZIP_OPT_BY_PREG => 'optional', - PCLZIP_OPT_BY_INDEX => 'optional', - PCLZIP_OPT_EXTRACT_AS_STRING => 'optional', - PCLZIP_OPT_EXTRACT_IN_OUTPUT => 'optional', - PCLZIP_OPT_REPLACE_NEWER => 'optional' - ,PCLZIP_OPT_STOP_ON_ERROR => 'optional' - ,PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - )); - if ($v_result != 1) { - return 0; - } - - // ----- Set the arguments - if (isset($v_options[PCLZIP_OPT_PATH])) { - $v_path = $v_options[PCLZIP_OPT_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) { - $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - if (isset($v_options[PCLZIP_OPT_ADD_PATH])) { - // ----- Check for '/' in last path char - if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) { - $v_path .= '/'; - } - $v_path .= $v_options[PCLZIP_OPT_ADD_PATH]; - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_remove_path = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Trace - - // ----- Call the extracting fct - $p_list = array(); - $v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, - $v_remove_all_path, $v_options); - if ($v_result < 1) { - unset($p_list); - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - - // -------------------------------------------------------------------------------- - // Function : - // extractByIndex($p_index, $p_path="./", $p_remove_path="") - // extractByIndex($p_index, [$p_option, $p_option_value, ...]) - // Description : - // This method supports two synopsis. The first one is historical. - // This method is doing a partial extract of the archive. - // The extracted files or folders are identified by their index in the - // archive (from 0 to n). - // Note that if the index identify a folder, only the folder entry is - // extracted, not all the files included in the archive. - // Parameters : - // $p_index : A single index (integer) or a string of indexes of files to - // extract. The form of the string is "0,4-6,8-12" with only numbers - // and '-' for range or ',' to separate ranges. No spaces or ';' - // are allowed. - // $p_path : Path where the files and directories are to be extracted - // $p_remove_path : First part ('root' part) of the memorized path - // (if any similar) to remove while extracting. - // Options : - // PCLZIP_OPT_PATH : - // PCLZIP_OPT_ADD_PATH : - // PCLZIP_OPT_REMOVE_PATH : - // PCLZIP_OPT_REMOVE_ALL_PATH : - // PCLZIP_OPT_EXTRACT_AS_STRING : The files are extracted as strings and - // not as files. - // The resulting content is in a new field 'content' in the file - // structure. - // This option must be used alone (any other options are ignored). - // PCLZIP_CB_PRE_EXTRACT : - // PCLZIP_CB_POST_EXTRACT : - // Return Values : - // 0 on failure, - // The list of the extracted files, with a status of the action. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - //function extractByIndex($p_index, options...) - function extractByIndex($p_index) - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); -// $v_path = "./"; - $v_path = ''; - $v_remove_path = ""; - $v_remove_all_path = false; - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Default values for option - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - - // ----- Look for arguments - if ($v_size > 1) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Remove form the options list the first argument - array_shift($v_arg_list); - $v_size--; - - // ----- Look for first arg - if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) { - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_PATH => 'optional', - PCLZIP_OPT_REMOVE_PATH => 'optional', - PCLZIP_OPT_REMOVE_ALL_PATH => 'optional', - PCLZIP_OPT_EXTRACT_AS_STRING => 'optional', - PCLZIP_OPT_ADD_PATH => 'optional', - PCLZIP_CB_PRE_EXTRACT => 'optional', - PCLZIP_CB_POST_EXTRACT => 'optional', - PCLZIP_OPT_SET_CHMOD => 'optional', - PCLZIP_OPT_REPLACE_NEWER => 'optional' - ,PCLZIP_OPT_STOP_ON_ERROR => 'optional' - ,PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional', - PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional', - PCLZIP_OPT_TEMP_FILE_ON => 'optional', - PCLZIP_OPT_TEMP_FILE_OFF => 'optional' - )); - if ($v_result != 1) { - return 0; - } - - // ----- Set the arguments - if (isset($v_options[PCLZIP_OPT_PATH])) { - $v_path = $v_options[PCLZIP_OPT_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_PATH])) { - $v_remove_path = $v_options[PCLZIP_OPT_REMOVE_PATH]; - } - if (isset($v_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $v_remove_all_path = $v_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - if (isset($v_options[PCLZIP_OPT_ADD_PATH])) { - // ----- Check for '/' in last path char - if ((strlen($v_path) > 0) && (substr($v_path, -1) != '/')) { - $v_path .= '/'; - } - $v_path .= $v_options[PCLZIP_OPT_ADD_PATH]; - } - if (!isset($v_options[PCLZIP_OPT_EXTRACT_AS_STRING])) { - $v_options[PCLZIP_OPT_EXTRACT_AS_STRING] = FALSE; - } - else { - } - } - - // ----- Look for 2 args - // Here we need to support the first historic synopsis of the - // method. - else { - - // ----- Get the first argument - $v_path = $v_arg_list[0]; - - // ----- Look for the optional second argument - if ($v_size == 2) { - $v_remove_path = $v_arg_list[1]; - } - else if ($v_size > 2) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid number / type of arguments"); - - // ----- Return - return 0; - } - } - } - - // ----- Trace - - // ----- Trick - // Here I want to reuse extractByRule(), so I need to parse the $p_index - // with privParseOptions() - $v_arg_trick = array (PCLZIP_OPT_BY_INDEX, $p_index); - $v_options_trick = array(); - $v_result = $this->privParseOptions($v_arg_trick, sizeof($v_arg_trick), $v_options_trick, - array (PCLZIP_OPT_BY_INDEX => 'optional' )); - if ($v_result != 1) { - return 0; - } - $v_options[PCLZIP_OPT_BY_INDEX] = $v_options_trick[PCLZIP_OPT_BY_INDEX]; - - // ----- Look for default option values - $this->privOptionDefaultThreshold($v_options); - - // ----- Call the extracting fct - if (($v_result = $this->privExtractByRule($p_list, $v_path, $v_remove_path, $v_remove_all_path, $v_options)) < 1) { - return(0); - } - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : - // delete([$p_option, $p_option_value, ...]) - // Description : - // This method removes files from the archive. - // If no parameters are given, then all the archive is emptied. - // Parameters : - // None or optional arguments. - // Options : - // PCLZIP_OPT_BY_INDEX : - // PCLZIP_OPT_BY_NAME : - // PCLZIP_OPT_BY_EREG : - // PCLZIP_OPT_BY_PREG : - // Return Values : - // 0 on failure, - // The list of the files which are still present in the archive. - // (see PclZip::listContent() for list entry format) - // -------------------------------------------------------------------------------- - function delete() - { - $v_result=1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Set default values - $v_options = array(); - - // ----- Look for variable options arguments - $v_size = func_num_args(); - - // ----- Look for arguments - if ($v_size > 0) { - // ----- Get the arguments - $v_arg_list = func_get_args(); - - // ----- Parse the options - $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, - array (PCLZIP_OPT_BY_NAME => 'optional', - PCLZIP_OPT_BY_EREG => 'optional', - PCLZIP_OPT_BY_PREG => 'optional', - PCLZIP_OPT_BY_INDEX => 'optional' )); - if ($v_result != 1) { - return 0; - } - } - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Call the delete fct - $v_list = array(); - if (($v_result = $this->privDeleteByRule($v_list, $v_options)) != 1) { - $this->privSwapBackMagicQuotes(); - unset($v_list); - return(0); - } - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : deleteByIndex() - // Description : - // ***** Deprecated ***** - // delete(PCLZIP_OPT_BY_INDEX, $p_index) should be prefered. - // -------------------------------------------------------------------------------- - function deleteByIndex($p_index) - { - - $p_list = $this->delete(PCLZIP_OPT_BY_INDEX, $p_index); - - // ----- Return - return $p_list; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : properties() - // Description : - // This method gives the properties of the archive. - // The properties are : - // nb : Number of files in the archive - // comment : Comment associated with the archive file - // status : not_exist, ok - // Parameters : - // None - // Return Values : - // 0 on failure, - // An array with the archive properties. - // -------------------------------------------------------------------------------- - function properties() - { - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - $this->privSwapBackMagicQuotes(); - return(0); - } - - // ----- Default properties - $v_prop = array(); - $v_prop['comment'] = ''; - $v_prop['nb'] = 0; - $v_prop['status'] = 'not_exist'; - - // ----- Look if file exists - if (@is_file($this->zipname)) - { - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) - { - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode'); - - // ----- Return - return 0; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privSwapBackMagicQuotes(); - return 0; - } - - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Set the user attributes - $v_prop['comment'] = $v_central_dir['comment']; - $v_prop['nb'] = $v_central_dir['entries']; - $v_prop['status'] = 'ok'; - } - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_prop; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : duplicate() - // Description : - // This method creates an archive by copying the content of an other one. If - // the archive already exist, it is replaced by the new one without any warning. - // Parameters : - // $p_archive : The filename of a valid archive, or - // a valid PclZip object. - // Return Values : - // 1 on success. - // 0 or a negative value on error (error code). - // -------------------------------------------------------------------------------- - function duplicate($p_archive) - { - $v_result = 1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Look if the $p_archive is a PclZip object - if ((is_object($p_archive)) && (get_class($p_archive) == 'pclzip')) - { - - // ----- Duplicate the archive - $v_result = $this->privDuplicate($p_archive->zipname); - } - - // ----- Look if the $p_archive is a string (so a filename) - else if (is_string($p_archive)) - { - - // ----- Check that $p_archive is a valid zip file - // TBC : Should also check the archive format - if (!is_file($p_archive)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "No file with filename '".$p_archive."'"); - $v_result = PCLZIP_ERR_MISSING_FILE; - } - else { - // ----- Duplicate the archive - $v_result = $this->privDuplicate($p_archive); - } - } - - // ----- Invalid variable - else - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add"); - $v_result = PCLZIP_ERR_INVALID_PARAMETER; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : merge() - // Description : - // This method merge the $p_archive_to_add archive at the end of the current - // one ($this). - // If the archive ($this) does not exist, the merge becomes a duplicate. - // If the $p_archive_to_add archive does not exist, the merge is a success. - // Parameters : - // $p_archive_to_add : It can be directly the filename of a valid zip archive, - // or a PclZip object archive. - // Return Values : - // 1 on success, - // 0 or negative values on error (see below). - // -------------------------------------------------------------------------------- - function merge($p_archive_to_add) - { - $v_result = 1; - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Check archive - if (!$this->privCheckFormat()) { - return(0); - } - - // ----- Look if the $p_archive_to_add is a PclZip object - if ((is_object($p_archive_to_add)) && (get_class($p_archive_to_add) == 'pclzip')) - { - - // ----- Merge the archive - $v_result = $this->privMerge($p_archive_to_add); - } - - // ----- Look if the $p_archive_to_add is a string (so a filename) - else if (is_string($p_archive_to_add)) - { - - // ----- Create a temporary archive - $v_object_archive = new PclZip($p_archive_to_add); - - // ----- Merge the archive - $v_result = $this->privMerge($v_object_archive); - } - - // ----- Invalid variable - else - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid variable type p_archive_to_add"); - $v_result = PCLZIP_ERR_INVALID_PARAMETER; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - - - // -------------------------------------------------------------------------------- - // Function : errorCode() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorCode() - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - return(PclErrorCode()); - } - else { - return($this->error_code); - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : errorName() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorName($p_with_code=false) - { - $v_name = array ( PCLZIP_ERR_NO_ERROR => 'PCLZIP_ERR_NO_ERROR', - PCLZIP_ERR_WRITE_OPEN_FAIL => 'PCLZIP_ERR_WRITE_OPEN_FAIL', - PCLZIP_ERR_READ_OPEN_FAIL => 'PCLZIP_ERR_READ_OPEN_FAIL', - PCLZIP_ERR_INVALID_PARAMETER => 'PCLZIP_ERR_INVALID_PARAMETER', - PCLZIP_ERR_MISSING_FILE => 'PCLZIP_ERR_MISSING_FILE', - PCLZIP_ERR_FILENAME_TOO_LONG => 'PCLZIP_ERR_FILENAME_TOO_LONG', - PCLZIP_ERR_INVALID_ZIP => 'PCLZIP_ERR_INVALID_ZIP', - PCLZIP_ERR_BAD_EXTRACTED_FILE => 'PCLZIP_ERR_BAD_EXTRACTED_FILE', - PCLZIP_ERR_DIR_CREATE_FAIL => 'PCLZIP_ERR_DIR_CREATE_FAIL', - PCLZIP_ERR_BAD_EXTENSION => 'PCLZIP_ERR_BAD_EXTENSION', - PCLZIP_ERR_BAD_FORMAT => 'PCLZIP_ERR_BAD_FORMAT', - PCLZIP_ERR_DELETE_FILE_FAIL => 'PCLZIP_ERR_DELETE_FILE_FAIL', - PCLZIP_ERR_RENAME_FILE_FAIL => 'PCLZIP_ERR_RENAME_FILE_FAIL', - PCLZIP_ERR_BAD_CHECKSUM => 'PCLZIP_ERR_BAD_CHECKSUM', - PCLZIP_ERR_INVALID_ARCHIVE_ZIP => 'PCLZIP_ERR_INVALID_ARCHIVE_ZIP', - PCLZIP_ERR_MISSING_OPTION_VALUE => 'PCLZIP_ERR_MISSING_OPTION_VALUE', - PCLZIP_ERR_INVALID_OPTION_VALUE => 'PCLZIP_ERR_INVALID_OPTION_VALUE', - PCLZIP_ERR_UNSUPPORTED_COMPRESSION => 'PCLZIP_ERR_UNSUPPORTED_COMPRESSION', - PCLZIP_ERR_UNSUPPORTED_ENCRYPTION => 'PCLZIP_ERR_UNSUPPORTED_ENCRYPTION' - ,PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE => 'PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE' - ,PCLZIP_ERR_DIRECTORY_RESTRICTION => 'PCLZIP_ERR_DIRECTORY_RESTRICTION' - ); - - if (isset($v_name[$this->error_code])) { - $v_value = $v_name[$this->error_code]; - } - else { - $v_value = 'NoName'; - } - - if ($p_with_code) { - return($v_value.' ('.$this->error_code.')'); - } - else { - return($v_value); - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : errorInfo() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function errorInfo($p_full=false) - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - return(PclErrorString()); - } - else { - if ($p_full) { - return($this->errorName(true)." : ".$this->error_string); - } - else { - return($this->error_string." [code ".$this->error_code."]"); - } - } - } - // -------------------------------------------------------------------------------- - - -// -------------------------------------------------------------------------------- -// ***** UNDER THIS LINE ARE DEFINED PRIVATE INTERNAL FUNCTIONS ***** -// ***** ***** -// ***** THESES FUNCTIONS MUST NOT BE USED DIRECTLY ***** -// -------------------------------------------------------------------------------- - - - - // -------------------------------------------------------------------------------- - // Function : privCheckFormat() - // Description : - // This method check that the archive exists and is a valid zip archive. - // Several level of check exists. (futur) - // Parameters : - // $p_level : Level of check. Default 0. - // 0 : Check the first bytes (magic codes) (default value)) - // 1 : 0 + Check the central directory (futur) - // 2 : 1 + Check each file header (futur) - // Return Values : - // true on success, - // false on error, the error code is set. - // -------------------------------------------------------------------------------- - function privCheckFormat($p_level=0) - { - $v_result = true; - - // ----- Reset the file system cache - clearstatcache(); - - // ----- Reset the error handler - $this->privErrorReset(); - - // ----- Look if the file exits - if (!is_file($this->zipname)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "Missing archive file '".$this->zipname."'"); - return(false); - } - - // ----- Check that the file is readeable - if (!is_readable($this->zipname)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to read archive '".$this->zipname."'"); - return(false); - } - - // ----- Check the magic code - // TBC - - // ----- Check the central header - // TBC - - // ----- Check each file header - // TBC - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privParseOptions() - // Description : - // This internal methods reads the variable list of arguments ($p_options_list, - // $p_size) and generate an array with the options and values ($v_result_list). - // $v_requested_options contains the options that can be present and those that - // must be present. - // $v_requested_options is an array, with the option value as key, and 'optional', - // or 'mandatory' as value. - // Parameters : - // See above. - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options=false) - { - $v_result=1; - - // ----- Read the options - $i=0; - while ($i<$p_size) { - - // ----- Check if the option is supported - if (!isset($v_requested_options[$p_options_list[$i]])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid optional parameter '".$p_options_list[$i]."' for this method"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for next option - switch ($p_options_list[$i]) { - // ----- Look for options that request a path value - case PCLZIP_OPT_PATH : - case PCLZIP_OPT_REMOVE_PATH : - case PCLZIP_OPT_ADD_PATH : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE); - $i++; - break; - - case PCLZIP_OPT_TEMP_FILE_THRESHOLD : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - return PclZip::errorCode(); - } - - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); - return PclZip::errorCode(); - } - - // ----- Check the value - $v_value = $p_options_list[$i+1]; - if ((!is_integer($v_value)) || ($v_value<0)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Integer expected for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - return PclZip::errorCode(); - } - - // ----- Get the value (and convert it in bytes) - $v_result_list[$p_options_list[$i]] = $v_value*1048576; - $i++; - break; - - case PCLZIP_OPT_TEMP_FILE_ON : - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); - return PclZip::errorCode(); - } - - $v_result_list[$p_options_list[$i]] = true; - break; - - case PCLZIP_OPT_TEMP_FILE_OFF : - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_ON])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_ON'"); - return PclZip::errorCode(); - } - // ----- Check for incompatible options - if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'"); - return PclZip::errorCode(); - } - - $v_result_list[$p_options_list[$i]] = true; - break; - - case PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if ( is_string($p_options_list[$i+1]) - && ($p_options_list[$i+1] != '')) { - $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE); - $i++; - } - else { - } - break; - - // ----- Look for options that request an array of string for value - case PCLZIP_OPT_BY_NAME : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]][0] = $p_options_list[$i+1]; - } - else if (is_array($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that request an EREG or PREG expression - case PCLZIP_OPT_BY_EREG : - // ereg() is deprecated starting with PHP 5.3. Move PCLZIP_OPT_BY_EREG - // to PCLZIP_OPT_BY_PREG - $p_options_list[$i] = PCLZIP_OPT_BY_PREG; - case PCLZIP_OPT_BY_PREG : - //case PCLZIP_OPT_CRYPT : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that takes a string - case PCLZIP_OPT_COMMENT : - case PCLZIP_OPT_ADD_COMMENT : - case PCLZIP_OPT_PREPEND_COMMENT : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, - "Missing parameter value for option '" - .PclZipUtilOptionText($p_options_list[$i]) - ."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - if (is_string($p_options_list[$i+1])) { - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, - "Wrong parameter value for option '" - .PclZipUtilOptionText($p_options_list[$i]) - ."'"); - - // ----- Return - return PclZip::errorCode(); - } - $i++; - break; - - // ----- Look for options that request an array of index - case PCLZIP_OPT_BY_INDEX : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_work_list = array(); - if (is_string($p_options_list[$i+1])) { - - // ----- Remove spaces - $p_options_list[$i+1] = strtr($p_options_list[$i+1], ' ', ''); - - // ----- Parse items - $v_work_list = explode(",", $p_options_list[$i+1]); - } - else if (is_integer($p_options_list[$i+1])) { - $v_work_list[0] = $p_options_list[$i+1].'-'.$p_options_list[$i+1]; - } - else if (is_array($p_options_list[$i+1])) { - $v_work_list = $p_options_list[$i+1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Value must be integer, string or array for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Reduce the index list - // each index item in the list must be a couple with a start and - // an end value : [0,3], [5-5], [8-10], ... - // ----- Check the format of each item - $v_sort_flag=false; - $v_sort_value=0; - for ($j=0; $j<sizeof($v_work_list); $j++) { - // ----- Explode the item - $v_item_list = explode("-", $v_work_list[$j]); - $v_size_item_list = sizeof($v_item_list); - - // ----- TBC : Here we might check that each item is a - // real integer ... - - // ----- Look for single value - if ($v_size_item_list == 1) { - // ----- Set the option value - $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0]; - $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[0]; - } - elseif ($v_size_item_list == 2) { - // ----- Set the option value - $v_result_list[$p_options_list[$i]][$j]['start'] = $v_item_list[0]; - $v_result_list[$p_options_list[$i]][$j]['end'] = $v_item_list[1]; - } - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Too many values in index range for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - - // ----- Look for list sort - if ($v_result_list[$p_options_list[$i]][$j]['start'] < $v_sort_value) { - $v_sort_flag=true; - - // ----- TBC : An automatic sort should be writen ... - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Invalid order of index range for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - $v_sort_value = $v_result_list[$p_options_list[$i]][$j]['start']; - } - - // ----- Sort the items - if ($v_sort_flag) { - // TBC : To Be Completed - } - - // ----- Next option - $i++; - break; - - // ----- Look for options that request no value - case PCLZIP_OPT_REMOVE_ALL_PATH : - case PCLZIP_OPT_EXTRACT_AS_STRING : - case PCLZIP_OPT_NO_COMPRESSION : - case PCLZIP_OPT_EXTRACT_IN_OUTPUT : - case PCLZIP_OPT_REPLACE_NEWER : - case PCLZIP_OPT_STOP_ON_ERROR : - $v_result_list[$p_options_list[$i]] = true; - break; - - // ----- Look for options that request an octal value - case PCLZIP_OPT_SET_CHMOD : - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; - $i++; - break; - - // ----- Look for options that request a call-back - case PCLZIP_CB_PRE_EXTRACT : - case PCLZIP_CB_POST_EXTRACT : - case PCLZIP_CB_PRE_ADD : - case PCLZIP_CB_POST_ADD : - /* for futur use - case PCLZIP_CB_PRE_DELETE : - case PCLZIP_CB_POST_DELETE : - case PCLZIP_CB_PRE_LIST : - case PCLZIP_CB_POST_LIST : - */ - // ----- Check the number of parameters - if (($i+1) >= $p_size) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Get the value - $v_function_name = $p_options_list[$i+1]; - - // ----- Check that the value is a valid existing function - if (!function_exists($v_function_name)) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Function '".$v_function_name."()' is not an existing function for option '".PclZipUtilOptionText($p_options_list[$i])."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Set the attribute - $v_result_list[$p_options_list[$i]] = $v_function_name; - $i++; - break; - - default : - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Unknown parameter '" - .$p_options_list[$i]."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Next options - $i++; - } - - // ----- Look for mandatory options - if ($v_requested_options !== false) { - for ($key=reset($v_requested_options); $key=key($v_requested_options); $key=next($v_requested_options)) { - // ----- Look for mandatory option - if ($v_requested_options[$key] == 'mandatory') { - // ----- Look if present - if (!isset($v_result_list[$key])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".PclZipUtilOptionText($key)."(".$key.")"); - - // ----- Return - return PclZip::errorCode(); - } - } - } - } - - // ----- Look for default values - if (!isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { - - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privOptionDefaultThreshold() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privOptionDefaultThreshold(&$p_options) - { - $v_result=1; - - if (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - || isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) { - return $v_result; - } - - // ----- Get 'memory_limit' configuration value - $v_memory_limit = ini_get('memory_limit'); - $v_memory_limit = trim($v_memory_limit); - $last = strtolower(substr($v_memory_limit, -1)); - - if($last == 'g') - //$v_memory_limit = $v_memory_limit*1024*1024*1024; - $v_memory_limit = $v_memory_limit*1073741824; - if($last == 'm') - //$v_memory_limit = $v_memory_limit*1024*1024; - $v_memory_limit = $v_memory_limit*1048576; - if($last == 'k') - $v_memory_limit = $v_memory_limit*1024; - - $p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] = floor($v_memory_limit*PCLZIP_TEMPORARY_FILE_RATIO); - - - // ----- Sanity check : No threshold if value lower than 1M - if ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] < 1048576) { - unset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privFileDescrParseAtt() - // Description : - // Parameters : - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v_options, $v_requested_options=false) - { - $v_result=1; - - // ----- For each file in the list check the attributes - foreach ($p_file_list as $v_key => $v_value) { - - // ----- Check if the option is supported - if (!isset($v_requested_options[$v_key])) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file attribute '".$v_key."' for this file"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for attribute - switch ($v_key) { - case PCLZIP_ATT_FILE_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['filename'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['filename'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - break; - - case PCLZIP_ATT_FILE_NEW_SHORT_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['new_short_name'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['new_short_name'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty short filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - break; - - case PCLZIP_ATT_FILE_NEW_FULL_NAME : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['new_full_name'] = PclZipUtilPathReduction($v_value); - - if ($p_filedescr['new_full_name'] == '') { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty full filename for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - break; - - // ----- Look for options that takes a string - case PCLZIP_ATT_FILE_COMMENT : - if (!is_string($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['comment'] = $v_value; - break; - - case PCLZIP_ATT_FILE_MTIME : - if (!is_integer($v_value)) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". Integer expected for attribute '".PclZipUtilOptionText($v_key)."'"); - return PclZip::errorCode(); - } - - $p_filedescr['mtime'] = $v_value; - break; - - case PCLZIP_ATT_FILE_CONTENT : - $p_filedescr['content'] = $v_value; - break; - - default : - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, - "Unknown parameter '".$v_key."'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for mandatory options - if ($v_requested_options !== false) { - for ($key=reset($v_requested_options); $key=key($v_requested_options); $key=next($v_requested_options)) { - // ----- Look for mandatory option - if ($v_requested_options[$key] == 'mandatory') { - // ----- Look if present - if (!isset($p_file_list[$key])) { - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".PclZipUtilOptionText($key)."(".$key.")"); - return PclZip::errorCode(); - } - } - } - } - - // end foreach - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privFileDescrExpand() - // Description : - // This method look for each item of the list to see if its a file, a folder - // or a string to be added as file. For any other type of files (link, other) - // just ignore the item. - // Then prepare the information that will be stored for that file. - // When its a folder, expand the folder with all the files that are in that - // folder (recursively). - // Parameters : - // Return Values : - // 1 on success. - // 0 on failure. - // -------------------------------------------------------------------------------- - function privFileDescrExpand(&$p_filedescr_list, &$p_options) - { - $v_result=1; - - // ----- Create a result list - $v_result_list = array(); - - // ----- Look each entry - for ($i=0; $i<sizeof($p_filedescr_list); $i++) { - - // ----- Get filedescr - $v_descr = $p_filedescr_list[$i]; - - // ----- Reduce the filename - $v_descr['filename'] = PclZipUtilTranslateWinPath($v_descr['filename'], false); - $v_descr['filename'] = PclZipUtilPathReduction($v_descr['filename']); - - // ----- Look for real file or folder - if (file_exists($v_descr['filename'])) { - if (@is_file($v_descr['filename'])) { - $v_descr['type'] = 'file'; - } - else if (@is_dir($v_descr['filename'])) { - $v_descr['type'] = 'folder'; - } - else if (@is_link($v_descr['filename'])) { - // skip - continue; - } - else { - // skip - continue; - } - } - - // ----- Look for string added as file - else if (isset($v_descr['content'])) { - $v_descr['type'] = 'virtual_file'; - } - - // ----- Missing file - else { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "File '".$v_descr['filename']."' does not exist"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Calculate the stored filename - $this->privCalculateStoredFilename($v_descr, $p_options); - - // ----- Add the descriptor in result list - $v_result_list[sizeof($v_result_list)] = $v_descr; - - // ----- Look for folder - if ($v_descr['type'] == 'folder') { - // ----- List of items in folder - $v_dirlist_descr = array(); - $v_dirlist_nb = 0; - if ($v_folder_handler = @opendir($v_descr['filename'])) { - while (($v_item_handler = @readdir($v_folder_handler)) !== false) { - - // ----- Skip '.' and '..' - if (($v_item_handler == '.') || ($v_item_handler == '..')) { - continue; - } - - // ----- Compose the full filename - $v_dirlist_descr[$v_dirlist_nb]['filename'] = $v_descr['filename'].'/'.$v_item_handler; - - // ----- Look for different stored filename - // Because the name of the folder was changed, the name of the - // files/sub-folders also change - if (($v_descr['stored_filename'] != $v_descr['filename']) - && (!isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH]))) { - if ($v_descr['stored_filename'] != '') { - $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_descr['stored_filename'].'/'.$v_item_handler; - } - else { - $v_dirlist_descr[$v_dirlist_nb]['new_full_name'] = $v_item_handler; - } - } - - $v_dirlist_nb++; - } - - @closedir($v_folder_handler); - } - else { - // TBC : unable to open folder in read mode - } - - // ----- Expand each element of the list - if ($v_dirlist_nb != 0) { - // ----- Expand - if (($v_result = $this->privFileDescrExpand($v_dirlist_descr, $p_options)) != 1) { - return $v_result; - } - - // ----- Concat the resulting list - $v_result_list = array_merge($v_result_list, $v_dirlist_descr); - } - else { - } - - // ----- Free local array - unset($v_dirlist_descr); - } - } - - // ----- Get the result list - $p_filedescr_list = $v_result_list; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCreate() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privCreate($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the file in write mode - if (($v_result = $this->privOpenFd('wb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Add the list of files - $v_result = $this->privAddList($p_filedescr_list, $p_result_list, $p_options); - - // ----- Close - $this->privCloseFd(); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAdd() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAdd($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Look if the archive exists or is empty - if ((!is_file($this->zipname)) || (filesize($this->zipname) == 0)) - { - - // ----- Do a create - $v_result = $this->privCreate($p_filedescr_list, $p_result_list, $p_options); - - // ----- Return - return $v_result; - } - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) - { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_zip_temp_name.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = $v_central_dir['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Swap the file descriptor - // Here is a trick : I swap the temporary fd with the zip fd, in order to use - // the following methods on the temporary fil and not the real archive - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Add the files - $v_header_list = array(); - if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) - { - fclose($v_zip_temp_fd); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($this->zip_fd); - - // ----- Copy the block of file headers from the old archive - $v_size = $v_central_dir['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_zip_temp_fd, $v_read_size); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Create the Central Dir files header - for ($i=0, $v_count=0; $i<sizeof($v_header_list); $i++) - { - // ----- Create the file header - if ($v_header_list[$i]['status'] == 'ok') { - if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) { - fclose($v_zip_temp_fd); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - $v_count++; - } - - // ----- Transform the header to a 'usable' info - $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - // ----- Zip file comment - $v_comment = $v_central_dir['comment']; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - if (isset($p_options[PCLZIP_OPT_ADD_COMMENT])) { - $v_comment = $v_comment.$p_options[PCLZIP_OPT_ADD_COMMENT]; - } - if (isset($p_options[PCLZIP_OPT_PREPEND_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_PREPEND_COMMENT].$v_comment; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($this->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_count+$v_central_dir['entries'], $v_size, $v_offset, $v_comment)) != 1) - { - // ----- Reset the file list - unset($v_header_list); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - - // ----- Swap back the file descriptor - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Close - $this->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privOpenFd() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privOpenFd($p_mode) - { - $v_result=1; - - // ----- Look if already open - if ($this->zip_fd != 0) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Zip file \''.$this->zipname.'\' already open'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, $p_mode)) == 0) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in '.$p_mode.' mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCloseFd() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privCloseFd() - { - $v_result=1; - - if ($this->zip_fd != 0) - @fclose($this->zip_fd); - $this->zip_fd = 0; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddList() - // Description : - // $p_add_dir and $p_remove_dir will give the ability to memorize a path which is - // different from the real path of the file. This is usefull if you want to have PclTar - // running in any directory, and memorize relative path from an other directory. - // Parameters : - // $p_list : An array containing the file or directory names to add in the tar - // $p_result_list : list of added files with their properties (specially the status field) - // $p_add_dir : Path to add in the filename path archived - // $p_remove_dir : Path to remove in the filename path archived - // Return Values : - // -------------------------------------------------------------------------------- -// function privAddList($p_list, &$p_result_list, $p_add_dir, $p_remove_dir, $p_remove_all_dir, &$p_options) - function privAddList($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - - // ----- Add the files - $v_header_list = array(); - if (($v_result = $this->privAddFileList($p_filedescr_list, $v_header_list, $p_options)) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($this->zip_fd); - - // ----- Create the Central Dir files header - for ($i=0,$v_count=0; $i<sizeof($v_header_list); $i++) - { - // ----- Create the file header - if ($v_header_list[$i]['status'] == 'ok') { - if (($v_result = $this->privWriteCentralFileHeader($v_header_list[$i])) != 1) { - // ----- Return - return $v_result; - } - $v_count++; - } - - // ----- Transform the header to a 'usable' info - $this->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - // ----- Zip file comment - $v_comment = ''; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($this->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_count, $v_size, $v_offset, $v_comment)) != 1) - { - // ----- Reset the file list - unset($v_header_list); - - // ----- Return - return $v_result; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFileList() - // Description : - // Parameters : - // $p_filedescr_list : An array containing the file description - // or directory names to add in the zip - // $p_result_list : list of added files with their properties (specially the status field) - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options) - { - $v_result=1; - $v_header = array(); - - // ----- Recuperate the current number of elt in list - $v_nb = sizeof($p_result_list); - - // ----- Loop on the files - for ($j=0; ($j<sizeof($p_filedescr_list)) && ($v_result==1); $j++) { - // ----- Format the filename - $p_filedescr_list[$j]['filename'] - = PclZipUtilTranslateWinPath($p_filedescr_list[$j]['filename'], false); - - - // ----- Skip empty file names - // TBC : Can this be possible ? not checked in DescrParseAtt ? - if ($p_filedescr_list[$j]['filename'] == "") { - continue; - } - - // ----- Check the filename - if ( ($p_filedescr_list[$j]['type'] != 'virtual_file') - && (!file_exists($p_filedescr_list[$j]['filename']))) { - PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "File '".$p_filedescr_list[$j]['filename']."' does not exist"); - return PclZip::errorCode(); - } - - // ----- Look if it is a file or a dir with no all path remove option - // or a dir with all its path removed -// if ( (is_file($p_filedescr_list[$j]['filename'])) -// || ( is_dir($p_filedescr_list[$j]['filename']) - if ( ($p_filedescr_list[$j]['type'] == 'file') - || ($p_filedescr_list[$j]['type'] == 'virtual_file') - || ( ($p_filedescr_list[$j]['type'] == 'folder') - && ( !isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH]) - || !$p_options[PCLZIP_OPT_REMOVE_ALL_PATH])) - ) { - - // ----- Add the file - $v_result = $this->privAddFile($p_filedescr_list[$j], $v_header, - $p_options); - if ($v_result != 1) { - return $v_result; - } - - // ----- Store the file infos - $p_result_list[$v_nb++] = $v_header; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFile($p_filedescr, &$p_header, &$p_options) - { - $v_result=1; - - // ----- Working variable - $p_filename = $p_filedescr['filename']; - - // TBC : Already done in the fileAtt check ... ? - if ($p_filename == "") { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Invalid file list parameter (invalid or empty list)"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for a stored different filename - /* TBC : Removed - if (isset($p_filedescr['stored_filename'])) { - $v_stored_filename = $p_filedescr['stored_filename']; - } - else { - $v_stored_filename = $p_filedescr['stored_filename']; - } - */ - - // ----- Set the file properties - clearstatcache(); - $p_header['version'] = 20; - $p_header['version_extracted'] = 10; - $p_header['flag'] = 0; - $p_header['compression'] = 0; - $p_header['crc'] = 0; - $p_header['compressed_size'] = 0; - $p_header['filename_len'] = strlen($p_filename); - $p_header['extra_len'] = 0; - $p_header['disk'] = 0; - $p_header['internal'] = 0; - $p_header['offset'] = 0; - $p_header['filename'] = $p_filename; -// TBC : Removed $p_header['stored_filename'] = $v_stored_filename; - $p_header['stored_filename'] = $p_filedescr['stored_filename']; - $p_header['extra'] = ''; - $p_header['status'] = 'ok'; - $p_header['index'] = -1; - - // ----- Look for regular file - if ($p_filedescr['type']=='file') { - $p_header['external'] = 0x00000000; - $p_header['size'] = filesize($p_filename); - } - - // ----- Look for regular folder - else if ($p_filedescr['type']=='folder') { - $p_header['external'] = 0x00000010; - $p_header['mtime'] = filemtime($p_filename); - $p_header['size'] = filesize($p_filename); - } - - // ----- Look for virtual file - else if ($p_filedescr['type'] == 'virtual_file') { - $p_header['external'] = 0x00000000; - $p_header['size'] = strlen($p_filedescr['content']); - } - - - // ----- Look for filetime - if (isset($p_filedescr['mtime'])) { - $p_header['mtime'] = $p_filedescr['mtime']; - } - else if ($p_filedescr['type'] == 'virtual_file') { - $p_header['mtime'] = time(); - } - else { - $p_header['mtime'] = filemtime($p_filename); - } - - // ------ Look for file comment - if (isset($p_filedescr['comment'])) { - $p_header['comment_len'] = strlen($p_filedescr['comment']); - $p_header['comment'] = $p_filedescr['comment']; - } - else { - $p_header['comment_len'] = 0; - $p_header['comment'] = ''; - } - - // ----- Look for pre-add callback - if (isset($p_options[PCLZIP_CB_PRE_ADD])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_header, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_ADD].'(PCLZIP_CB_PRE_ADD, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_ADD](PCLZIP_CB_PRE_ADD, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_header['status'] = "skipped"; - $v_result = 1; - } - - // ----- Update the informations - // Only some fields can be modified - if ($p_header['stored_filename'] != $v_local_header['stored_filename']) { - $p_header['stored_filename'] = PclZipUtilPathReduction($v_local_header['stored_filename']); - } - } - - // ----- Look for empty stored filename - if ($p_header['stored_filename'] == "") { - $p_header['status'] = "filtered"; - } - - // ----- Check the path length - if (strlen($p_header['stored_filename']) > 0xFF) { - $p_header['status'] = 'filename_too_long'; - } - - // ----- Look if no error, or file not skipped - if ($p_header['status'] == 'ok') { - - // ----- Look for a file - if ($p_filedescr['type'] == 'file') { - // ----- Look for using temporary file to zip - if ( (!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) - && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) - || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_header['size'])) ) ) { - $v_result = $this->privAddFileUsingTempFile($p_filedescr, $p_header, $p_options); - if ($v_result < PCLZIP_ERR_NO_ERROR) { - return $v_result; - } - } - - // ----- Use "in memory" zip algo - else { - - // ----- Open the source file - if (($v_file = @fopen($p_filename, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to open file '$p_filename' in binary read mode"); - return PclZip::errorCode(); - } - - // ----- Read the file content - $v_content = @fread($v_file, $p_header['size']); - - // ----- Close the file - @fclose($v_file); - - // ----- Calculate the CRC - $p_header['crc'] = @crc32($v_content); - - // ----- Look for no compression - if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) { - // ----- Set header parameters - $p_header['compressed_size'] = $p_header['size']; - $p_header['compression'] = 0; - } - - // ----- Look for normal compression - else { - // ----- Compress the content - $v_content = @gzdeflate($v_content); - - // ----- Set header parameters - $p_header['compressed_size'] = strlen($v_content); - $p_header['compression'] = 8; - } - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - @fclose($v_file); - return $v_result; - } - - // ----- Write the compressed (or not) content - @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']); - - } - - } - - // ----- Look for a virtual file (a file from string) - else if ($p_filedescr['type'] == 'virtual_file') { - - $v_content = $p_filedescr['content']; - - // ----- Calculate the CRC - $p_header['crc'] = @crc32($v_content); - - // ----- Look for no compression - if ($p_options[PCLZIP_OPT_NO_COMPRESSION]) { - // ----- Set header parameters - $p_header['compressed_size'] = $p_header['size']; - $p_header['compression'] = 0; - } - - // ----- Look for normal compression - else { - // ----- Compress the content - $v_content = @gzdeflate($v_content); - - // ----- Set header parameters - $p_header['compressed_size'] = strlen($v_content); - $p_header['compression'] = 8; - } - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - @fclose($v_file); - return $v_result; - } - - // ----- Write the compressed (or not) content - @fwrite($this->zip_fd, $v_content, $p_header['compressed_size']); - } - - // ----- Look for a directory - else if ($p_filedescr['type'] == 'folder') { - // ----- Look for directory last '/' - if (@substr($p_header['stored_filename'], -1) != '/') { - $p_header['stored_filename'] .= '/'; - } - - // ----- Set the file properties - $p_header['size'] = 0; - //$p_header['external'] = 0x41FF0010; // Value for a folder : to be checked - $p_header['external'] = 0x00000010; // Value for a folder : to be checked - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) - { - return $v_result; - } - } - } - - // ----- Look for post-add callback - if (isset($p_options[PCLZIP_CB_POST_ADD])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_header, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_ADD].'(PCLZIP_CB_POST_ADD, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_ADD](PCLZIP_CB_POST_ADD, $v_local_header); - if ($v_result == 0) { - // ----- Ignored - $v_result = 1; - } - - // ----- Update the informations - // Nothing can be modified - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privAddFileUsingTempFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privAddFileUsingTempFile($p_filedescr, &$p_header, &$p_options) - { - $v_result=PCLZIP_ERR_NO_ERROR; - - // ----- Working variable - $p_filename = $p_filedescr['filename']; - - - // ----- Open the source file - if (($v_file = @fopen($p_filename, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, "Unable to open file '$p_filename' in binary read mode"); - return PclZip::errorCode(); - } - - // ----- Creates a compressed temporary file - $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz'; - if (($v_file_compressed = @gzopen($v_gzip_temp_name, "wb")) == 0) { - fclose($v_file); - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary write mode'); - return PclZip::errorCode(); - } - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = filesize($p_filename); - while ($v_size != 0) { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_file, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @gzputs($v_file_compressed, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close the file - @fclose($v_file); - @gzclose($v_file_compressed); - - // ----- Check the minimum file size - if (filesize($v_gzip_temp_name) < 18) { - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'gzip temporary file \''.$v_gzip_temp_name.'\' has invalid filesize - should be minimum 18 bytes'); - return PclZip::errorCode(); - } - - // ----- Extract the compressed attributes - if (($v_file_compressed = @fopen($v_gzip_temp_name, "rb")) == 0) { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - // ----- Read the gzip file header - $v_binary_data = @fread($v_file_compressed, 10); - $v_data_header = unpack('a1id1/a1id2/a1cm/a1flag/Vmtime/a1xfl/a1os', $v_binary_data); - - // ----- Check some parameters - $v_data_header['os'] = bin2hex($v_data_header['os']); - - // ----- Read the gzip file footer - @fseek($v_file_compressed, filesize($v_gzip_temp_name)-8); - $v_binary_data = @fread($v_file_compressed, 8); - $v_data_footer = unpack('Vcrc/Vcompressed_size', $v_binary_data); - - // ----- Set the attributes - $p_header['compression'] = ord($v_data_header['cm']); - //$p_header['mtime'] = $v_data_header['mtime']; - $p_header['crc'] = $v_data_footer['crc']; - $p_header['compressed_size'] = filesize($v_gzip_temp_name)-18; - - // ----- Close the file - @fclose($v_file_compressed); - - // ----- Call the header generation - if (($v_result = $this->privWriteFileHeader($p_header)) != 1) { - return $v_result; - } - - // ----- Add the compressed data - if (($v_file_compressed = @fopen($v_gzip_temp_name, "rb")) == 0) - { - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - fseek($v_file_compressed, 10); - $v_size = $p_header['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($v_file_compressed, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close the file - @fclose($v_file_compressed); - - // ----- Unlink the temporary file - @unlink($v_gzip_temp_name); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCalculateStoredFilename() - // Description : - // Based on file descriptor properties and global options, this method - // calculate the filename that will be stored in the archive. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privCalculateStoredFilename(&$p_filedescr, &$p_options) - { - $v_result=1; - - // ----- Working variables - $p_filename = $p_filedescr['filename']; - if (isset($p_options[PCLZIP_OPT_ADD_PATH])) { - $p_add_dir = $p_options[PCLZIP_OPT_ADD_PATH]; - } - else { - $p_add_dir = ''; - } - if (isset($p_options[PCLZIP_OPT_REMOVE_PATH])) { - $p_remove_dir = $p_options[PCLZIP_OPT_REMOVE_PATH]; - } - else { - $p_remove_dir = ''; - } - if (isset($p_options[PCLZIP_OPT_REMOVE_ALL_PATH])) { - $p_remove_all_dir = $p_options[PCLZIP_OPT_REMOVE_ALL_PATH]; - } - else { - $p_remove_all_dir = 0; - } - - - // ----- Look for full name change - if (isset($p_filedescr['new_full_name'])) { - // ----- Remove drive letter if any - $v_stored_filename = PclZipUtilTranslateWinPath($p_filedescr['new_full_name']); - } - - // ----- Look for path and/or short name change - else { - - // ----- Look for short name change - // Its when we cahnge just the filename but not the path - if (isset($p_filedescr['new_short_name'])) { - $v_path_info = pathinfo($p_filename); - $v_dir = ''; - if ($v_path_info['dirname'] != '') { - $v_dir = $v_path_info['dirname'].'/'; - } - $v_stored_filename = $v_dir.$p_filedescr['new_short_name']; - } - else { - // ----- Calculate the stored filename - $v_stored_filename = $p_filename; - } - - // ----- Look for all path to remove - if ($p_remove_all_dir) { - $v_stored_filename = basename($p_filename); - } - // ----- Look for partial path remove - else if ($p_remove_dir != "") { - if (substr($p_remove_dir, -1) != '/') - $p_remove_dir .= "/"; - - if ( (substr($p_filename, 0, 2) == "./") - || (substr($p_remove_dir, 0, 2) == "./")) { - - if ( (substr($p_filename, 0, 2) == "./") - && (substr($p_remove_dir, 0, 2) != "./")) { - $p_remove_dir = "./".$p_remove_dir; - } - if ( (substr($p_filename, 0, 2) != "./") - && (substr($p_remove_dir, 0, 2) == "./")) { - $p_remove_dir = substr($p_remove_dir, 2); - } - } - - $v_compare = PclZipUtilPathInclusion($p_remove_dir, - $v_stored_filename); - if ($v_compare > 0) { - if ($v_compare == 2) { - $v_stored_filename = ""; - } - else { - $v_stored_filename = substr($v_stored_filename, - strlen($p_remove_dir)); - } - } - } - - // ----- Remove drive letter if any - $v_stored_filename = PclZipUtilTranslateWinPath($v_stored_filename); - - // ----- Look for path to add - if ($p_add_dir != "") { - if (substr($p_add_dir, -1) == "/") - $v_stored_filename = $p_add_dir.$v_stored_filename; - else - $v_stored_filename = $p_add_dir."/".$v_stored_filename; - } - } - - // ----- Filename (reduce the path of stored name) - $v_stored_filename = PclZipUtilPathReduction($v_stored_filename); - $p_filedescr['stored_filename'] = $v_stored_filename; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteFileHeader(&$p_header) - { - $v_result=1; - - // ----- Store the offset position of the file - $p_header['offset'] = ftell($this->zip_fd); - - // ----- Transform UNIX mtime to DOS format mdate/mtime - $v_date = getdate($p_header['mtime']); - $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; - $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; - - // ----- Packed data - $v_binary_data = pack("VvvvvvVVVvv", 0x04034b50, - $p_header['version_extracted'], $p_header['flag'], - $p_header['compression'], $v_mtime, $v_mdate, - $p_header['crc'], $p_header['compressed_size'], - $p_header['size'], - strlen($p_header['stored_filename']), - $p_header['extra_len']); - - // ----- Write the first 148 bytes of the header in the archive - fputs($this->zip_fd, $v_binary_data, 30); - - // ----- Write the variable fields - if (strlen($p_header['stored_filename']) != 0) - { - fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename'])); - } - if ($p_header['extra_len'] != 0) - { - fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteCentralFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteCentralFileHeader(&$p_header) - { - $v_result=1; - - // TBC - //for(reset($p_header); $key = key($p_header); next($p_header)) { - //} - - // ----- Transform UNIX mtime to DOS format mdate/mtime - $v_date = getdate($p_header['mtime']); - $v_mtime = ($v_date['hours']<<11) + ($v_date['minutes']<<5) + $v_date['seconds']/2; - $v_mdate = (($v_date['year']-1980)<<9) + ($v_date['mon']<<5) + $v_date['mday']; - - - // ----- Packed data - $v_binary_data = pack("VvvvvvvVVVvvvvvVV", 0x02014b50, - $p_header['version'], $p_header['version_extracted'], - $p_header['flag'], $p_header['compression'], - $v_mtime, $v_mdate, $p_header['crc'], - $p_header['compressed_size'], $p_header['size'], - strlen($p_header['stored_filename']), - $p_header['extra_len'], $p_header['comment_len'], - $p_header['disk'], $p_header['internal'], - $p_header['external'], $p_header['offset']); - - // ----- Write the 42 bytes of the header in the zip file - fputs($this->zip_fd, $v_binary_data, 46); - - // ----- Write the variable fields - if (strlen($p_header['stored_filename']) != 0) - { - fputs($this->zip_fd, $p_header['stored_filename'], strlen($p_header['stored_filename'])); - } - if ($p_header['extra_len'] != 0) - { - fputs($this->zip_fd, $p_header['extra'], $p_header['extra_len']); - } - if ($p_header['comment_len'] != 0) - { - fputs($this->zip_fd, $p_header['comment'], $p_header['comment_len']); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privWriteCentralHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privWriteCentralHeader($p_nb_entries, $p_size, $p_offset, $p_comment) - { - $v_result=1; - - // ----- Packed data - $v_binary_data = pack("VvvvvVVv", 0x06054b50, 0, 0, $p_nb_entries, - $p_nb_entries, $p_size, - $p_offset, strlen($p_comment)); - - // ----- Write the 22 bytes of the header in the zip file - fputs($this->zip_fd, $v_binary_data, 22); - - // ----- Write the variable fields - if (strlen($p_comment) != 0) - { - fputs($this->zip_fd, $p_comment, strlen($p_comment)); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privList() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privList(&$p_list) - { - $v_result=1; - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Open the zip file - if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0) - { - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Go to beginning of Central Dir - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_central_dir['offset'])) - { - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read each entry - for ($i=0; $i<$v_central_dir['entries']; $i++) - { - // ----- Read the file header - if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - $v_header['index'] = $i; - - // ----- Get the only interesting attributes - $this->privConvertHeader2FileInfo($v_header, $p_list[$i]); - unset($v_header); - } - - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Magic quotes trick - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privConvertHeader2FileInfo() - // Description : - // This function takes the file informations from the central directory - // entries and extract the interesting parameters that will be given back. - // The resulting file infos are set in the array $p_info - // $p_info['filename'] : Filename with full path. Given by user (add), - // extracted in the filesystem (extract). - // $p_info['stored_filename'] : Stored filename in the archive. - // $p_info['size'] = Size of the file. - // $p_info['compressed_size'] = Compressed size of the file. - // $p_info['mtime'] = Last modification date of the file. - // $p_info['comment'] = Comment associated with the file. - // $p_info['folder'] = true/false : indicates if the entry is a folder or not. - // $p_info['status'] = status of the action on the file. - // $p_info['crc'] = CRC of the file content. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privConvertHeader2FileInfo($p_header, &$p_info) - { - $v_result=1; - - // ----- Get the interesting attributes - $v_temp_path = PclZipUtilPathReduction($p_header['filename']); - $p_info['filename'] = $v_temp_path; - $v_temp_path = PclZipUtilPathReduction($p_header['stored_filename']); - $p_info['stored_filename'] = $v_temp_path; - $p_info['size'] = $p_header['size']; - $p_info['compressed_size'] = $p_header['compressed_size']; - $p_info['mtime'] = $p_header['mtime']; - $p_info['comment'] = $p_header['comment']; - $p_info['folder'] = (($p_header['external']&0x00000010)==0x00000010); - $p_info['index'] = $p_header['index']; - $p_info['status'] = $p_header['status']; - $p_info['crc'] = $p_header['crc']; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractByRule() - // Description : - // Extract a file or directory depending of rules (by index, by name, ...) - // Parameters : - // $p_file_list : An array where will be placed the properties of each - // extracted file - // $p_path : Path to add while writing the extracted files - // $p_remove_path : Path to remove (from the file memorized path) while writing the - // extracted files. If the path does not match the file path, - // the file is extracted with its memorized path. - // $p_remove_path does not apply to 'list' mode. - // $p_path and $p_remove_path are commulative. - // Return Values : - // 1 on success,0 or less on error (see error code list) - // -------------------------------------------------------------------------------- - function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) - { - $v_result=1; - - // ----- Magic quotes trick - $this->privDisableMagicQuotes(); - - // ----- Check the path - if ( ($p_path == "") - || ( (substr($p_path, 0, 1) != "/") - && (substr($p_path, 0, 3) != "../") - && (substr($p_path,1,2)!=":/"))) - $p_path = "./".$p_path; - - // ----- Reduce the path last (and duplicated) '/' - if (($p_path != "./") && ($p_path != "/")) - { - // ----- Look for the path end '/' - while (substr($p_path, -1) == "/") - { - $p_path = substr($p_path, 0, strlen($p_path)-1); - } - } - - // ----- Look for path to remove format (should end by /) - if (($p_remove_path != "") && (substr($p_remove_path, -1) != '/')) - { - $p_remove_path .= '/'; - } - $p_remove_path_size = strlen($p_remove_path); - - // ----- Open the zip file - if (($v_result = $this->privOpenFd('rb')) != 1) - { - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Start at beginning of Central Dir - $v_pos_entry = $v_central_dir['offset']; - - // ----- Read each entry - $j_start = 0; - for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) - { - - // ----- Read next Central dir entry - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_pos_entry)) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the file header - $v_header = array(); - if (($v_result = $this->privReadCentralFileHeader($v_header)) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Store the index - $v_header['index'] = $i; - - // ----- Store the file position - $v_pos_entry = ftell($this->zip_fd); - - // ----- Look for the specific extract rules - $v_extract = false; - - // ----- Look for extract by name rule - if ( (isset($p_options[PCLZIP_OPT_BY_NAME])) - && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) { - - // ----- Look if the filename is in the list - for ($j=0; ($j<sizeof($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_extract); $j++) { - - // ----- Look for a directory - if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") { - - // ----- Look if the directory is in the filename path - if ( (strlen($v_header['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) - && (substr($v_header['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_extract = true; - } - } - // ----- Look for a filename - elseif ($v_header['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) { - $v_extract = true; - } - } - } - - // ----- Look for extract by ereg rule - // ereg() is deprecated with PHP 5.3 - /* - else if ( (isset($p_options[PCLZIP_OPT_BY_EREG])) - && ($p_options[PCLZIP_OPT_BY_EREG] != "")) { - - if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header['stored_filename'])) { - $v_extract = true; - } - } - */ - - // ----- Look for extract by preg rule - else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) - && ($p_options[PCLZIP_OPT_BY_PREG] != "")) { - - if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header['stored_filename'])) { - $v_extract = true; - } - } - - // ----- Look for extract by index rule - else if ( (isset($p_options[PCLZIP_OPT_BY_INDEX])) - && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) { - - // ----- Look if the index is in the list - for ($j=$j_start; ($j<sizeof($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_extract); $j++) { - - if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) { - $v_extract = true; - } - if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) { - $j_start = $j+1; - } - - if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) { - break; - } - } - } - - // ----- Look for no rule, which means extract all the archive - else { - $v_extract = true; - } - - // ----- Check compression method - if ( ($v_extract) - && ( ($v_header['compression'] != 8) - && ($v_header['compression'] != 0))) { - $v_header['status'] = 'unsupported_compression'; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_COMPRESSION, - "Filename '".$v_header['stored_filename']."' is " - ."compressed by an unsupported compression " - ."method (".$v_header['compression'].") "); - - return PclZip::errorCode(); - } - } - - // ----- Check encrypted files - if (($v_extract) && (($v_header['flag'] & 1) == 1)) { - $v_header['status'] = 'unsupported_encryption'; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - $this->privSwapBackMagicQuotes(); - - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, - "Unsupported encryption for " - ." filename '".$v_header['stored_filename'] - ."'"); - - return PclZip::errorCode(); - } - } - - // ----- Look for real extraction - if (($v_extract) && ($v_header['status'] != 'ok')) { - $v_result = $this->privConvertHeader2FileInfo($v_header, - $p_file_list[$v_nb_extracted++]); - if ($v_result != 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - $v_extract = false; - } - - // ----- Look for real extraction - if ($v_extract) - { - - // ----- Go to the file position - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_header['offset'])) - { - // ----- Close the zip file - $this->privCloseFd(); - - $this->privSwapBackMagicQuotes(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Look for extraction as string - if ($p_options[PCLZIP_OPT_EXTRACT_AS_STRING]) { - - $v_string = ''; - - // ----- Extracting the file - $v_result1 = $this->privExtractFileAsString($v_header, $v_string, $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Set the file content - $p_file_list[$v_nb_extracted]['content'] = $v_string; - - // ----- Next extracted file - $v_nb_extracted++; - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - // ----- Look for extraction in standard output - elseif ( (isset($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) - && ($p_options[PCLZIP_OPT_EXTRACT_IN_OUTPUT])) { - // ----- Extracting the file in standard output - $v_result1 = $this->privExtractFileInOutput($v_header, $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result; - } - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - // ----- Look for normal extraction - else { - // ----- Extracting the file - $v_result1 = $this->privExtractFile($v_header, - $p_path, $p_remove_path, - $p_remove_all_path, - $p_options); - if ($v_result1 < 1) { - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - return $v_result1; - } - - // ----- Get the only interesting attributes - if (($v_result = $this->privConvertHeader2FileInfo($v_header, $p_file_list[$v_nb_extracted++])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - return $v_result; - } - - // ----- Look for user callback abort - if ($v_result1 == 2) { - break; - } - } - } - } - - // ----- Close the zip file - $this->privCloseFd(); - $this->privSwapBackMagicQuotes(); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFile() - // Description : - // Parameters : - // Return Values : - // - // 1 : ... ? - // PCLZIP_ERR_USER_ABORTED(2) : User ask for extraction stop in callback - // -------------------------------------------------------------------------------- - function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options) - { - $v_result=1; - - // ----- Read the file header - if (($v_result = $this->privReadFileHeader($v_header)) != 1) - { - // ----- Return - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for all path to remove - if ($p_remove_all_path == true) { - // ----- Look for folder entry that not need to be extracted - if (($p_entry['external']&0x00000010)==0x00000010) { - - $p_entry['status'] = "filtered"; - - return $v_result; - } - - // ----- Get the basename of the path - $p_entry['filename'] = basename($p_entry['filename']); - } - - // ----- Look for path to remove - else if ($p_remove_path != "") - { - if (PclZipUtilPathInclusion($p_remove_path, $p_entry['filename']) == 2) - { - - // ----- Change the file status - $p_entry['status'] = "filtered"; - - // ----- Return - return $v_result; - } - - $p_remove_path_size = strlen($p_remove_path); - if (substr($p_entry['filename'], 0, $p_remove_path_size) == $p_remove_path) - { - - // ----- Remove the path - $p_entry['filename'] = substr($p_entry['filename'], $p_remove_path_size); - - } - } - - // ----- Add the path - if ($p_path != '') { - $p_entry['filename'] = $p_path."/".$p_entry['filename']; - } - - // ----- Check a base_dir_restriction - if (isset($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION])) { - $v_inclusion - = PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION], - $p_entry['filename']); - if ($v_inclusion == 0) { - - PclZip::privErrorLog(PCLZIP_ERR_DIRECTORY_RESTRICTION, - "Filename '".$p_entry['filename']."' is " - ."outside PCLZIP_OPT_EXTRACT_DIR_RESTRICTION"); - - return PclZip::errorCode(); - } - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Look for specific actions while the file exist - if (file_exists($p_entry['filename'])) - { - - // ----- Look if file is a directory - if (is_dir($p_entry['filename'])) - { - - // ----- Change the file status - $p_entry['status'] = "already_a_directory"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_ALREADY_A_DIRECTORY, - "Filename '".$p_entry['filename']."' is " - ."already used by an existing directory"); - - return PclZip::errorCode(); - } - } - // ----- Look if file is write protected - else if (!is_writeable($p_entry['filename'])) - { - - // ----- Change the file status - $p_entry['status'] = "write_protected"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, - "Filename '".$p_entry['filename']."' exists " - ."and is write protected"); - - return PclZip::errorCode(); - } - } - - // ----- Look if the extracted file is older - else if (filemtime($p_entry['filename']) > $p_entry['mtime']) - { - // ----- Change the file status - if ( (isset($p_options[PCLZIP_OPT_REPLACE_NEWER])) - && ($p_options[PCLZIP_OPT_REPLACE_NEWER]===true)) { - } - else { - $p_entry['status'] = "newer_exist"; - - // ----- Look for PCLZIP_OPT_STOP_ON_ERROR - // For historical reason first PclZip implementation does not stop - // when this kind of error occurs. - if ( (isset($p_options[PCLZIP_OPT_STOP_ON_ERROR])) - && ($p_options[PCLZIP_OPT_STOP_ON_ERROR]===true)) { - - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, - "Newer version of '".$p_entry['filename']."' exists " - ."and option PCLZIP_OPT_REPLACE_NEWER is not selected"); - - return PclZip::errorCode(); - } - } - } - else { - } - } - - // ----- Check the directory availability and create it if necessary - else { - if ((($p_entry['external']&0x00000010)==0x00000010) || (substr($p_entry['filename'], -1) == '/')) - $v_dir_to_check = $p_entry['filename']; - else if (!strstr($p_entry['filename'], "/")) - $v_dir_to_check = ""; - else - $v_dir_to_check = dirname($p_entry['filename']); - - if (($v_result = $this->privDirCheck($v_dir_to_check, (($p_entry['external']&0x00000010)==0x00000010))) != 1) { - - // ----- Change the file status - $p_entry['status'] = "path_creation_fail"; - - // ----- Return - //return $v_result; - $v_result = 1; - } - } - } - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) - { - // ----- Look for not compressed file - if ($p_entry['compression'] == 0) { - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) - { - - // ----- Change the file status - $p_entry['status'] = "write_error"; - - // ----- Return - return $v_result; - } - - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - /* Try to speed up the code - $v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_binary_data, $v_read_size); - */ - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Closing the destination file - fclose($v_dest_file); - - // ----- Change the file mtime - touch($p_entry['filename'], $p_entry['mtime']); - - - } - else { - // ----- TBC - // Need to be finished - if (($p_entry['flag'] & 1) == 1) { - PclZip::privErrorLog(PCLZIP_ERR_UNSUPPORTED_ENCRYPTION, 'File \''.$p_entry['filename'].'\' is encrypted. Encrypted files are not supported.'); - return PclZip::errorCode(); - } - - - // ----- Look for using temporary file to unzip - if ( (!isset($p_options[PCLZIP_OPT_TEMP_FILE_OFF])) - && (isset($p_options[PCLZIP_OPT_TEMP_FILE_ON]) - || (isset($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD]) - && ($p_options[PCLZIP_OPT_TEMP_FILE_THRESHOLD] <= $p_entry['size'])) ) ) { - $v_result = $this->privExtractFileUsingTempFile($p_entry, $p_options); - if ($v_result < PCLZIP_ERR_NO_ERROR) { - return $v_result; - } - } - - // ----- Look for extract in memory - else { - - - // ----- Read the compressed file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - $v_file_content = @gzinflate($v_buffer); - unset($v_buffer); - if ($v_file_content === FALSE) { - - // ----- Change the file status - // TBC - $p_entry['status'] = "error"; - - return $v_result; - } - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { - - // ----- Change the file status - $p_entry['status'] = "write_error"; - - return $v_result; - } - - // ----- Write the uncompressed data - @fwrite($v_dest_file, $v_file_content, $p_entry['size']); - unset($v_file_content); - - // ----- Closing the destination file - @fclose($v_dest_file); - - } - - // ----- Change the file mtime - @touch($p_entry['filename'], $p_entry['mtime']); - } - - // ----- Look for chmod option - if (isset($p_options[PCLZIP_OPT_SET_CHMOD])) { - - // ----- Change the mode of the file - @chmod($p_entry['filename'], $p_options[PCLZIP_OPT_SET_CHMOD]); - } - - } - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileUsingTempFile() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileUsingTempFile(&$p_entry, &$p_options) - { - $v_result=1; - - // ----- Creates a temporary file - $v_gzip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.gz'; - if (($v_dest_file = @fopen($v_gzip_temp_name, "wb")) == 0) { - fclose($v_file); - PclZip::privErrorLog(PCLZIP_ERR_WRITE_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary write mode'); - return PclZip::errorCode(); - } - - - // ----- Write gz file format header - $v_binary_data = pack('va1a1Va1a1', 0x8b1f, Chr($p_entry['compression']), Chr(0x00), time(), Chr(0x00), Chr(3)); - @fwrite($v_dest_file, $v_binary_data, 10); - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['compressed_size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Write gz file format footer - $v_binary_data = pack('VV', $p_entry['crc'], $p_entry['size']); - @fwrite($v_dest_file, $v_binary_data, 8); - - // ----- Close the temporary file - @fclose($v_dest_file); - - // ----- Opening destination file - if (($v_dest_file = @fopen($p_entry['filename'], 'wb')) == 0) { - $p_entry['status'] = "write_error"; - return $v_result; - } - - // ----- Open the temporary gz file - if (($v_src_file = @gzopen($v_gzip_temp_name, 'rb')) == 0) { - @fclose($v_dest_file); - $p_entry['status'] = "read_error"; - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_gzip_temp_name.'\' in binary read mode'); - return PclZip::errorCode(); - } - - - // ----- Read the file by PCLZIP_READ_BLOCK_SIZE octets blocks - $v_size = $p_entry['size']; - while ($v_size != 0) { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($v_src_file, $v_read_size); - //$v_binary_data = pack('a'.$v_read_size, $v_buffer); - @fwrite($v_dest_file, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - @fclose($v_dest_file); - @gzclose($v_src_file); - - // ----- Delete the temporary file - @unlink($v_gzip_temp_name); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileInOutput() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileInOutput(&$p_entry, &$p_options) - { - $v_result=1; - - // ----- Read the file header - if (($v_result = $this->privReadFileHeader($v_header)) != 1) { - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - // ----- Trace - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) { - // ----- Look for not compressed file - if ($p_entry['compressed_size'] == $p_entry['size']) { - - // ----- Read the file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Send the file to the output - echo $v_buffer; - unset($v_buffer); - } - else { - - // ----- Read the compressed file in a buffer (one shot) - $v_buffer = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - $v_file_content = gzinflate($v_buffer); - unset($v_buffer); - - // ----- Send the file to the output - echo $v_file_content; - unset($v_file_content); - } - } - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privExtractFileAsString() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privExtractFileAsString(&$p_entry, &$p_string, &$p_options) - { - $v_result=1; - - // ----- Read the file header - $v_header = array(); - if (($v_result = $this->privReadFileHeader($v_header)) != 1) - { - // ----- Return - return $v_result; - } - - - // ----- Check that the file header is coherent with $p_entry info - if ($this->privCheckFileHeaders($v_header, $p_entry) != 1) { - // TBC - } - - // ----- Look for pre-extract callback - if (isset($p_options[PCLZIP_CB_PRE_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_PRE_EXTRACT].'(PCLZIP_CB_PRE_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_PRE_EXTRACT](PCLZIP_CB_PRE_EXTRACT, $v_local_header); - if ($v_result == 0) { - // ----- Change the file status - $p_entry['status'] = "skipped"; - $v_result = 1; - } - - // ----- Look for abort result - if ($v_result == 2) { - // ----- This status is internal and will be changed in 'skipped' - $p_entry['status'] = "aborted"; - $v_result = PCLZIP_ERR_USER_ABORTED; - } - - // ----- Update the informations - // Only some fields can be modified - $p_entry['filename'] = $v_local_header['filename']; - } - - - // ----- Look if extraction should be done - if ($p_entry['status'] == 'ok') { - - // ----- Do the extraction (if not a folder) - if (!(($p_entry['external']&0x00000010)==0x00000010)) { - // ----- Look for not compressed file - // if ($p_entry['compressed_size'] == $p_entry['size']) - if ($p_entry['compression'] == 0) { - - // ----- Reading the file - $p_string = @fread($this->zip_fd, $p_entry['compressed_size']); - } - else { - - // ----- Reading the file - $v_data = @fread($this->zip_fd, $p_entry['compressed_size']); - - // ----- Decompress the file - if (($p_string = @gzinflate($v_data)) === FALSE) { - // TBC - } - } - - // ----- Trace - } - else { - // TBC : error : can not extract a folder in a string - } - - } - - // ----- Change abort status - if ($p_entry['status'] == "aborted") { - $p_entry['status'] = "skipped"; - } - - // ----- Look for post-extract callback - elseif (isset($p_options[PCLZIP_CB_POST_EXTRACT])) { - - // ----- Generate a local information - $v_local_header = array(); - $this->privConvertHeader2FileInfo($p_entry, $v_local_header); - - // ----- Swap the content to header - $v_local_header['content'] = $p_string; - $p_string = ''; - - // ----- Call the callback - // Here I do not use call_user_func() because I need to send a reference to the - // header. -// eval('$v_result = '.$p_options[PCLZIP_CB_POST_EXTRACT].'(PCLZIP_CB_POST_EXTRACT, $v_local_header);'); - $v_result = $p_options[PCLZIP_CB_POST_EXTRACT](PCLZIP_CB_POST_EXTRACT, $v_local_header); - - // ----- Swap back the content to header - $p_string = $v_local_header['content']; - unset($v_local_header['content']); - - // ----- Look for abort result - if ($v_result == 2) { - $v_result = PCLZIP_ERR_USER_ABORTED; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadFileHeader(&$p_header) - { - $v_result=1; - - // ----- Read the 4 bytes signature - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] != 0x04034b50) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the first 42 bytes of the header - $v_binary_data = fread($this->zip_fd, 26); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 26) - { - $p_header['filename'] = ""; - $p_header['status'] = "invalid_header"; - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid block size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $v_data = unpack('vversion/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len', $v_binary_data); - - // ----- Get filename - $p_header['filename'] = fread($this->zip_fd, $v_data['filename_len']); - - // ----- Get extra_fields - if ($v_data['extra_len'] != 0) { - $p_header['extra'] = fread($this->zip_fd, $v_data['extra_len']); - } - else { - $p_header['extra'] = ''; - } - - // ----- Extract properties - $p_header['version_extracted'] = $v_data['version']; - $p_header['compression'] = $v_data['compression']; - $p_header['size'] = $v_data['size']; - $p_header['compressed_size'] = $v_data['compressed_size']; - $p_header['crc'] = $v_data['crc']; - $p_header['flag'] = $v_data['flag']; - $p_header['filename_len'] = $v_data['filename_len']; - - // ----- Recuperate date in UNIX format - $p_header['mdate'] = $v_data['mdate']; - $p_header['mtime'] = $v_data['mtime']; - if ($p_header['mdate'] && $p_header['mtime']) - { - // ----- Extract time - $v_hour = ($p_header['mtime'] & 0xF800) >> 11; - $v_minute = ($p_header['mtime'] & 0x07E0) >> 5; - $v_seconde = ($p_header['mtime'] & 0x001F)*2; - - // ----- Extract date - $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980; - $v_month = ($p_header['mdate'] & 0x01E0) >> 5; - $v_day = $p_header['mdate'] & 0x001F; - - // ----- Get UNIX date format - $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year); - - } - else - { - $p_header['mtime'] = time(); - } - - // TBC - //for(reset($v_data); $key = key($v_data); next($v_data)) { - //} - - // ----- Set the stored filename - $p_header['stored_filename'] = $p_header['filename']; - - // ----- Set the status field - $p_header['status'] = "ok"; - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadCentralFileHeader() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadCentralFileHeader(&$p_header) - { - $v_result=1; - - // ----- Read the 4 bytes signature - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] != 0x02014b50) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Invalid archive structure'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the first 42 bytes of the header - $v_binary_data = fread($this->zip_fd, 42); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 42) - { - $p_header['filename'] = ""; - $p_header['status'] = "invalid_header"; - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid block size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $p_header = unpack('vversion/vversion_extracted/vflag/vcompression/vmtime/vmdate/Vcrc/Vcompressed_size/Vsize/vfilename_len/vextra_len/vcomment_len/vdisk/vinternal/Vexternal/Voffset', $v_binary_data); - - // ----- Get filename - if ($p_header['filename_len'] != 0) - $p_header['filename'] = fread($this->zip_fd, $p_header['filename_len']); - else - $p_header['filename'] = ''; - - // ----- Get extra - if ($p_header['extra_len'] != 0) - $p_header['extra'] = fread($this->zip_fd, $p_header['extra_len']); - else - $p_header['extra'] = ''; - - // ----- Get comment - if ($p_header['comment_len'] != 0) - $p_header['comment'] = fread($this->zip_fd, $p_header['comment_len']); - else - $p_header['comment'] = ''; - - // ----- Extract properties - - // ----- Recuperate date in UNIX format - //if ($p_header['mdate'] && $p_header['mtime']) - // TBC : bug : this was ignoring time with 0/0/0 - if (1) - { - // ----- Extract time - $v_hour = ($p_header['mtime'] & 0xF800) >> 11; - $v_minute = ($p_header['mtime'] & 0x07E0) >> 5; - $v_seconde = ($p_header['mtime'] & 0x001F)*2; - - // ----- Extract date - $v_year = (($p_header['mdate'] & 0xFE00) >> 9) + 1980; - $v_month = ($p_header['mdate'] & 0x01E0) >> 5; - $v_day = $p_header['mdate'] & 0x001F; - - // ----- Get UNIX date format - $p_header['mtime'] = @mktime($v_hour, $v_minute, $v_seconde, $v_month, $v_day, $v_year); - - } - else - { - $p_header['mtime'] = time(); - } - - // ----- Set the stored filename - $p_header['stored_filename'] = $p_header['filename']; - - // ----- Set default status to ok - $p_header['status'] = 'ok'; - - // ----- Look if it is a directory - if (substr($p_header['filename'], -1) == '/') { - //$p_header['external'] = 0x41FF0010; - $p_header['external'] = 0x00000010; - } - - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privCheckFileHeaders() - // Description : - // Parameters : - // Return Values : - // 1 on success, - // 0 on error; - // -------------------------------------------------------------------------------- - function privCheckFileHeaders(&$p_local_header, &$p_central_header) - { - $v_result=1; - - // ----- Check the static values - // TBC - if ($p_local_header['filename'] != $p_central_header['filename']) { - } - if ($p_local_header['version_extracted'] != $p_central_header['version_extracted']) { - } - if ($p_local_header['flag'] != $p_central_header['flag']) { - } - if ($p_local_header['compression'] != $p_central_header['compression']) { - } - if ($p_local_header['mtime'] != $p_central_header['mtime']) { - } - if ($p_local_header['filename_len'] != $p_central_header['filename_len']) { - } - - // ----- Look for flag bit 3 - if (($p_local_header['flag'] & 8) == 8) { - $p_local_header['size'] = $p_central_header['size']; - $p_local_header['compressed_size'] = $p_central_header['compressed_size']; - $p_local_header['crc'] = $p_central_header['crc']; - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privReadEndCentralDir() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privReadEndCentralDir(&$p_central_dir) - { - $v_result=1; - - // ----- Go to the end of the zip file - $v_size = filesize($this->zipname); - @fseek($this->zip_fd, $v_size); - if (@ftell($this->zip_fd) != $v_size) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to go to the end of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- First try : look if this is an archive with no commentaries (most of the time) - // in this case the end of central dir is at 22 bytes of the file end - $v_found = 0; - if ($v_size > 26) { - @fseek($this->zip_fd, $v_size-22); - if (($v_pos = @ftell($this->zip_fd)) != ($v_size-22)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read for bytes - $v_binary_data = @fread($this->zip_fd, 4); - $v_data = @unpack('Vid', $v_binary_data); - - // ----- Check signature - if ($v_data['id'] == 0x06054b50) { - $v_found = 1; - } - - $v_pos = ftell($this->zip_fd); - } - - // ----- Go back to the maximum possible size of the Central Dir End Record - if (!$v_found) { - $v_maximum_size = 65557; // 0xFFFF + 22; - if ($v_maximum_size > $v_size) - $v_maximum_size = $v_size; - @fseek($this->zip_fd, $v_size-$v_maximum_size); - if (@ftell($this->zip_fd) != ($v_size-$v_maximum_size)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, 'Unable to seek back to the middle of the archive \''.$this->zipname.'\''); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read byte per byte in order to find the signature - $v_pos = ftell($this->zip_fd); - $v_bytes = 0x00000000; - while ($v_pos < $v_size) - { - // ----- Read a byte - $v_byte = @fread($this->zip_fd, 1); - - // ----- Add the byte - //$v_bytes = ($v_bytes << 8) | Ord($v_byte); - // Note we mask the old value down such that once shifted we can never end up with more than a 32bit number - // Otherwise on systems where we have 64bit integers the check below for the magic number will fail. - $v_bytes = ( ($v_bytes & 0xFFFFFF) << 8) | Ord($v_byte); - - // ----- Compare the bytes - if ($v_bytes == 0x504b0506) - { - $v_pos++; - break; - } - - $v_pos++; - } - - // ----- Look if not found end of central dir - if ($v_pos == $v_size) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Unable to find End of Central Dir Record signature"); - - // ----- Return - return PclZip::errorCode(); - } - } - - // ----- Read the first 18 bytes of the header - $v_binary_data = fread($this->zip_fd, 18); - - // ----- Look for invalid block size - if (strlen($v_binary_data) != 18) - { - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, "Invalid End of Central Dir Record size : ".strlen($v_binary_data)); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Extract the values - $v_data = unpack('vdisk/vdisk_start/vdisk_entries/ventries/Vsize/Voffset/vcomment_size', $v_binary_data); - - // ----- Check the global size - if (($v_pos + $v_data['comment_size'] + 18) != $v_size) { - - // ----- Removed in release 2.2 see readme file - // The check of the file size is a little too strict. - // Some bugs where found when a zip is encrypted/decrypted with 'crypt'. - // While decrypted, zip has training 0 bytes - if (0) { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_BAD_FORMAT, - 'The central dir is not at the end of the archive.' - .' Some trailing bytes exists after the archive.'); - - // ----- Return - return PclZip::errorCode(); - } - } - - // ----- Get comment - if ($v_data['comment_size'] != 0) { - $p_central_dir['comment'] = fread($this->zip_fd, $v_data['comment_size']); - } - else - $p_central_dir['comment'] = ''; - - $p_central_dir['entries'] = $v_data['entries']; - $p_central_dir['disk_entries'] = $v_data['disk_entries']; - $p_central_dir['offset'] = $v_data['offset']; - $p_central_dir['size'] = $v_data['size']; - $p_central_dir['disk'] = $v_data['disk']; - $p_central_dir['disk_start'] = $v_data['disk_start']; - - // TBC - //for(reset($p_central_dir); $key = key($p_central_dir); next($p_central_dir)) { - //} - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDeleteByRule() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDeleteByRule(&$p_result_list, &$p_options) - { - $v_result=1; - $v_list_detail = array(); - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Scan all the files - // ----- Start at beginning of Central Dir - $v_pos_entry = $v_central_dir['offset']; - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_pos_entry)) - { - // ----- Close the zip file - $this->privCloseFd(); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read each entry - $v_header_list = array(); - $j_start = 0; - for ($i=0, $v_nb_extracted=0; $i<$v_central_dir['entries']; $i++) - { - - // ----- Read the file header - $v_header_list[$v_nb_extracted] = array(); - if (($v_result = $this->privReadCentralFileHeader($v_header_list[$v_nb_extracted])) != 1) - { - // ----- Close the zip file - $this->privCloseFd(); - - return $v_result; - } - - - // ----- Store the index - $v_header_list[$v_nb_extracted]['index'] = $i; - - // ----- Look for the specific extract rules - $v_found = false; - - // ----- Look for extract by name rule - if ( (isset($p_options[PCLZIP_OPT_BY_NAME])) - && ($p_options[PCLZIP_OPT_BY_NAME] != 0)) { - - // ----- Look if the filename is in the list - for ($j=0; ($j<sizeof($p_options[PCLZIP_OPT_BY_NAME])) && (!$v_found); $j++) { - - // ----- Look for a directory - if (substr($p_options[PCLZIP_OPT_BY_NAME][$j], -1) == "/") { - - // ----- Look if the directory is in the filename path - if ( (strlen($v_header_list[$v_nb_extracted]['stored_filename']) > strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) - && (substr($v_header_list[$v_nb_extracted]['stored_filename'], 0, strlen($p_options[PCLZIP_OPT_BY_NAME][$j])) == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_found = true; - } - elseif ( (($v_header_list[$v_nb_extracted]['external']&0x00000010)==0x00000010) /* Indicates a folder */ - && ($v_header_list[$v_nb_extracted]['stored_filename'].'/' == $p_options[PCLZIP_OPT_BY_NAME][$j])) { - $v_found = true; - } - } - // ----- Look for a filename - elseif ($v_header_list[$v_nb_extracted]['stored_filename'] == $p_options[PCLZIP_OPT_BY_NAME][$j]) { - $v_found = true; - } - } - } - - // ----- Look for extract by ereg rule - // ereg() is deprecated with PHP 5.3 - /* - else if ( (isset($p_options[PCLZIP_OPT_BY_EREG])) - && ($p_options[PCLZIP_OPT_BY_EREG] != "")) { - - if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header_list[$v_nb_extracted]['stored_filename'])) { - $v_found = true; - } - } - */ - - // ----- Look for extract by preg rule - else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) - && ($p_options[PCLZIP_OPT_BY_PREG] != "")) { - - if (preg_match($p_options[PCLZIP_OPT_BY_PREG], $v_header_list[$v_nb_extracted]['stored_filename'])) { - $v_found = true; - } - } - - // ----- Look for extract by index rule - else if ( (isset($p_options[PCLZIP_OPT_BY_INDEX])) - && ($p_options[PCLZIP_OPT_BY_INDEX] != 0)) { - - // ----- Look if the index is in the list - for ($j=$j_start; ($j<sizeof($p_options[PCLZIP_OPT_BY_INDEX])) && (!$v_found); $j++) { - - if (($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['start']) && ($i<=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end'])) { - $v_found = true; - } - if ($i>=$p_options[PCLZIP_OPT_BY_INDEX][$j]['end']) { - $j_start = $j+1; - } - - if ($p_options[PCLZIP_OPT_BY_INDEX][$j]['start']>$i) { - break; - } - } - } - else { - $v_found = true; - } - - // ----- Look for deletion - if ($v_found) - { - unset($v_header_list[$v_nb_extracted]); - } - else - { - $v_nb_extracted++; - } - } - - // ----- Look if something need to be deleted - if ($v_nb_extracted > 0) { - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Creates a temporary zip archive - $v_temp_zip = new PclZip($v_zip_temp_name); - - // ----- Open the temporary zip file in write mode - if (($v_result = $v_temp_zip->privOpenFd('wb')) != 1) { - $this->privCloseFd(); - - // ----- Return - return $v_result; - } - - // ----- Look which file need to be kept - for ($i=0; $i<sizeof($v_header_list); $i++) { - - // ----- Calculate the position of the header - @rewind($this->zip_fd); - if (@fseek($this->zip_fd, $v_header_list[$i]['offset'])) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_INVALID_ARCHIVE_ZIP, 'Invalid archive size'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Read the file header - $v_local_header = array(); - if (($v_result = $this->privReadFileHeader($v_local_header)) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Check that local file header is same as central file header - if ($this->privCheckFileHeaders($v_local_header, - $v_header_list[$i]) != 1) { - // TBC - } - unset($v_local_header); - - // ----- Write the file header - if (($v_result = $v_temp_zip->privWriteFileHeader($v_header_list[$i])) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Read/write the data block - if (($v_result = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compressed_size'])) != 1) { - // ----- Close the zip file - $this->privCloseFd(); - $v_temp_zip->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($v_temp_zip->zip_fd); - - // ----- Re-Create the Central Dir files header - for ($i=0; $i<sizeof($v_header_list); $i++) { - // ----- Create the file header - if (($v_result = $v_temp_zip->privWriteCentralFileHeader($v_header_list[$i])) != 1) { - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Transform the header to a 'usable' info - $v_temp_zip->privConvertHeader2FileInfo($v_header_list[$i], $p_result_list[$i]); - } - - - // ----- Zip file comment - $v_comment = ''; - if (isset($p_options[PCLZIP_OPT_COMMENT])) { - $v_comment = $p_options[PCLZIP_OPT_COMMENT]; - } - - // ----- Calculate the size of the central header - $v_size = @ftell($v_temp_zip->zip_fd)-$v_offset; - - // ----- Create the central dir footer - if (($v_result = $v_temp_zip->privWriteCentralHeader(sizeof($v_header_list), $v_size, $v_offset, $v_comment)) != 1) { - // ----- Reset the file list - unset($v_header_list); - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - @unlink($v_zip_temp_name); - - // ----- Return - return $v_result; - } - - // ----- Close - $v_temp_zip->privCloseFd(); - $this->privCloseFd(); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Destroy the temporary archive - unset($v_temp_zip); - } - - // ----- Remove every files : reset the file - else if ($v_central_dir['entries'] != 0) { - $this->privCloseFd(); - - if (($v_result = $this->privOpenFd('wb')) != 1) { - return $v_result; - } - - if (($v_result = $this->privWriteCentralHeader(0, 0, 0, '')) != 1) { - return $v_result; - } - - $this->privCloseFd(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDirCheck() - // Description : - // Check if a directory exists, if not it creates it and all the parents directory - // which may be useful. - // Parameters : - // $p_dir : Directory path to check. - // Return Values : - // 1 : OK - // -1 : Unable to create directory - // -------------------------------------------------------------------------------- - function privDirCheck($p_dir, $p_is_dir=false) - { - $v_result = 1; - - - // ----- Remove the final '/' - if (($p_is_dir) && (substr($p_dir, -1)=='/')) - { - $p_dir = substr($p_dir, 0, strlen($p_dir)-1); - } - - // ----- Check the directory availability - if ((is_dir($p_dir)) || ($p_dir == "")) - { - return 1; - } - - // ----- Extract parent directory - $p_parent_dir = dirname($p_dir); - - // ----- Just a check - if ($p_parent_dir != $p_dir) - { - // ----- Look for parent directory - if ($p_parent_dir != "") - { - if (($v_result = $this->privDirCheck($p_parent_dir)) != 1) - { - return $v_result; - } - } - } - - // ----- Create the directory - if (!@mkdir($p_dir, 0777)) - { - // ----- Error log - PclZip::privErrorLog(PCLZIP_ERR_DIR_CREATE_FAIL, "Unable to create directory '$p_dir'"); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privMerge() - // Description : - // If $p_archive_to_add does not exist, the function exit with a success result. - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privMerge(&$p_archive_to_add) - { - $v_result=1; - - // ----- Look if the archive_to_add exists - if (!is_file($p_archive_to_add->zipname)) - { - - // ----- Nothing to merge, so merge is a success - $v_result = 1; - - // ----- Return - return $v_result; - } - - // ----- Look if the archive exists - if (!is_file($this->zipname)) - { - - // ----- Do a duplicate - $v_result = $this->privDuplicate($p_archive_to_add->zipname); - - // ----- Return - return $v_result; - } - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('rb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir = array(); - if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1) - { - $this->privCloseFd(); - return $v_result; - } - - // ----- Go to beginning of File - @rewind($this->zip_fd); - - // ----- Open the archive_to_add file - if (($v_result=$p_archive_to_add->privOpenFd('rb')) != 1) - { - $this->privCloseFd(); - - // ----- Return - return $v_result; - } - - // ----- Read the central directory informations - $v_central_dir_to_add = array(); - if (($v_result = $p_archive_to_add->privReadEndCentralDir($v_central_dir_to_add)) != 1) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - return $v_result; - } - - // ----- Go to beginning of File - @rewind($p_archive_to_add->zip_fd); - - // ----- Creates a temporay file - $v_zip_temp_name = PCLZIP_TEMPORARY_DIR.uniqid('pclzip-').'.tmp'; - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($v_zip_temp_name, 'wb')) == 0) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open temporary file \''.$v_zip_temp_name.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = $v_central_dir['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Copy the files from the archive_to_add into the temporary file - $v_size = $v_central_dir_to_add['offset']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($p_archive_to_add->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Store the offset of the central dir - $v_offset = @ftell($v_zip_temp_fd); - - // ----- Copy the block of file headers from the old archive - $v_size = $v_central_dir['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($this->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Copy the block of file headers from the archive_to_add - $v_size = $v_central_dir_to_add['size']; - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_archive_to_add->zip_fd, $v_read_size); - @fwrite($v_zip_temp_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Merge the file comments - $v_comment = $v_central_dir['comment'].' '.$v_central_dir_to_add['comment']; - - // ----- Calculate the size of the (new) central header - $v_size = @ftell($v_zip_temp_fd)-$v_offset; - - // ----- Swap the file descriptor - // Here is a trick : I swap the temporary fd with the zip fd, in order to use - // the following methods on the temporary fil and not the real archive fd - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Create the central dir footer - if (($v_result = $this->privWriteCentralHeader($v_central_dir['entries']+$v_central_dir_to_add['entries'], $v_size, $v_offset, $v_comment)) != 1) - { - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - @fclose($v_zip_temp_fd); - $this->zip_fd = null; - - // ----- Reset the file list - unset($v_header_list); - - // ----- Return - return $v_result; - } - - // ----- Swap back the file descriptor - $v_swap = $this->zip_fd; - $this->zip_fd = $v_zip_temp_fd; - $v_zip_temp_fd = $v_swap; - - // ----- Close - $this->privCloseFd(); - $p_archive_to_add->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Delete the zip file - // TBC : I should test the result ... - @unlink($this->zipname); - - // ----- Rename the temporary file - // TBC : I should test the result ... - //@rename($v_zip_temp_name, $this->zipname); - PclZipUtilRename($v_zip_temp_name, $this->zipname); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDuplicate() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDuplicate($p_archive_filename) - { - $v_result=1; - - // ----- Look if the $p_archive_filename exists - if (!is_file($p_archive_filename)) - { - - // ----- Nothing to duplicate, so duplicate is a success. - $v_result = 1; - - // ----- Return - return $v_result; - } - - // ----- Open the zip file - if (($v_result=$this->privOpenFd('wb')) != 1) - { - // ----- Return - return $v_result; - } - - // ----- Open the temporary file in write mode - if (($v_zip_temp_fd = @fopen($p_archive_filename, 'rb')) == 0) - { - $this->privCloseFd(); - - PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive file \''.$p_archive_filename.'\' in binary write mode'); - - // ----- Return - return PclZip::errorCode(); - } - - // ----- Copy the files from the archive to the temporary file - // TBC : Here I should better append the file and go back to erase the central dir - $v_size = filesize($p_archive_filename); - while ($v_size != 0) - { - $v_read_size = ($v_size < PCLZIP_READ_BLOCK_SIZE ? $v_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = fread($v_zip_temp_fd, $v_read_size); - @fwrite($this->zip_fd, $v_buffer, $v_read_size); - $v_size -= $v_read_size; - } - - // ----- Close - $this->privCloseFd(); - - // ----- Close the temporary file - @fclose($v_zip_temp_fd); - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privErrorLog() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privErrorLog($p_error_code=0, $p_error_string='') - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - PclError($p_error_code, $p_error_string); - } - else { - $this->error_code = $p_error_code; - $this->error_string = $p_error_string; - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privErrorReset() - // Description : - // Parameters : - // -------------------------------------------------------------------------------- - function privErrorReset() - { - if (PCLZIP_ERROR_EXTERNAL == 1) { - PclErrorReset(); - } - else { - $this->error_code = 0; - $this->error_string = ''; - } - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privDisableMagicQuotes() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privDisableMagicQuotes() - { - $v_result=1; - - // ----- Look if function exists - if ( (!function_exists("get_magic_quotes_runtime")) - || (!function_exists("set_magic_quotes_runtime"))) { - return $v_result; - } - - // ----- Look if already done - if ($this->magic_quotes_status != -1) { - return $v_result; - } - - // ----- Get and memorize the magic_quote value - $this->magic_quotes_status = @get_magic_quotes_runtime(); - - // ----- Disable magic_quotes - if ($this->magic_quotes_status == 1) { - @set_magic_quotes_runtime(0); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : privSwapBackMagicQuotes() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function privSwapBackMagicQuotes() - { - $v_result=1; - - // ----- Look if function exists - if ( (!function_exists("get_magic_quotes_runtime")) - || (!function_exists("set_magic_quotes_runtime"))) { - return $v_result; - } - - // ----- Look if something to do - if ($this->magic_quotes_status != -1) { - return $v_result; - } - - // ----- Swap back magic_quotes - if ($this->magic_quotes_status == 1) { - @set_magic_quotes_runtime($this->magic_quotes_status); - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - } - // End of class - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilPathReduction() - // Description : - // Parameters : - // Return Values : - // -------------------------------------------------------------------------------- - function PclZipUtilPathReduction($p_dir) - { - $v_result = ""; - - // ----- Look for not empty path - if ($p_dir != "") { - // ----- Explode path by directory names - $v_list = explode("/", $p_dir); - - // ----- Study directories from last to first - $v_skip = 0; - for ($i=sizeof($v_list)-1; $i>=0; $i--) { - // ----- Look for current path - if ($v_list[$i] == ".") { - // ----- Ignore this directory - // Should be the first $i=0, but no check is done - } - else if ($v_list[$i] == "..") { - $v_skip++; - } - else if ($v_list[$i] == "") { - // ----- First '/' i.e. root slash - if ($i == 0) { - $v_result = "/".$v_result; - if ($v_skip > 0) { - // ----- It is an invalid path, so the path is not modified - // TBC - $v_result = $p_dir; - $v_skip = 0; - } - } - // ----- Last '/' i.e. indicates a directory - else if ($i == (sizeof($v_list)-1)) { - $v_result = $v_list[$i]; - } - // ----- Double '/' inside the path - else { - // ----- Ignore only the double '//' in path, - // but not the first and last '/' - } - } - else { - // ----- Look for item to skip - if ($v_skip > 0) { - $v_skip--; - } - else { - $v_result = $v_list[$i].($i!=(sizeof($v_list)-1)?"/".$v_result:""); - } - } - } - - // ----- Look for skip - if ($v_skip > 0) { - while ($v_skip > 0) { - $v_result = '../'.$v_result; - $v_skip--; - } - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilPathInclusion() - // Description : - // This function indicates if the path $p_path is under the $p_dir tree. Or, - // said in an other way, if the file or sub-dir $p_path is inside the dir - // $p_dir. - // The function indicates also if the path is exactly the same as the dir. - // This function supports path with duplicated '/' like '//', but does not - // support '.' or '..' statements. - // Parameters : - // Return Values : - // 0 if $p_path is not inside directory $p_dir - // 1 if $p_path is inside directory $p_dir - // 2 if $p_path is exactly the same as $p_dir - // -------------------------------------------------------------------------------- - function PclZipUtilPathInclusion($p_dir, $p_path) - { - $v_result = 1; - - // ----- Look for path beginning by ./ - if ( ($p_dir == '.') - || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) { - $p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1); - } - if ( ($p_path == '.') - || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) { - $p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1); - } - - // ----- Explode dir and path by directory separator - $v_list_dir = explode("/", $p_dir); - $v_list_dir_size = sizeof($v_list_dir); - $v_list_path = explode("/", $p_path); - $v_list_path_size = sizeof($v_list_path); - - // ----- Study directories paths - $i = 0; - $j = 0; - while (($i < $v_list_dir_size) && ($j < $v_list_path_size) && ($v_result)) { - - // ----- Look for empty dir (path reduction) - if ($v_list_dir[$i] == '') { - $i++; - continue; - } - if ($v_list_path[$j] == '') { - $j++; - continue; - } - - // ----- Compare the items - if (($v_list_dir[$i] != $v_list_path[$j]) && ($v_list_dir[$i] != '') && ( $v_list_path[$j] != '')) { - $v_result = 0; - } - - // ----- Next items - $i++; - $j++; - } - - // ----- Look if everything seems to be the same - if ($v_result) { - // ----- Skip all the empty items - while (($j < $v_list_path_size) && ($v_list_path[$j] == '')) $j++; - while (($i < $v_list_dir_size) && ($v_list_dir[$i] == '')) $i++; - - if (($i >= $v_list_dir_size) && ($j >= $v_list_path_size)) { - // ----- There are exactly the same - $v_result = 2; - } - else if ($i < $v_list_dir_size) { - // ----- The path is shorter than the dir - $v_result = 0; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilCopyBlock() - // Description : - // Parameters : - // $p_mode : read/write compression mode - // 0 : src & dest normal - // 1 : src gzip, dest normal - // 2 : src normal, dest gzip - // 3 : src & dest gzip - // Return Values : - // -------------------------------------------------------------------------------- - function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0) - { - $v_result = 1; - - if ($p_mode==0) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_src, $v_read_size); - @fwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==1) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($p_src, $v_read_size); - @fwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==2) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @fread($p_src, $v_read_size); - @gzwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - else if ($p_mode==3) - { - while ($p_size != 0) - { - $v_read_size = ($p_size < PCLZIP_READ_BLOCK_SIZE ? $p_size : PCLZIP_READ_BLOCK_SIZE); - $v_buffer = @gzread($p_src, $v_read_size); - @gzwrite($p_dest, $v_buffer, $v_read_size); - $p_size -= $v_read_size; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilRename() - // Description : - // This function tries to do a simple rename() function. If it fails, it - // tries to copy the $p_src file in a new $p_dest file and then unlink the - // first one. - // Parameters : - // $p_src : Old filename - // $p_dest : New filename - // Return Values : - // 1 on success, 0 on failure. - // -------------------------------------------------------------------------------- - function PclZipUtilRename($p_src, $p_dest) - { - $v_result = 1; - - // ----- Try to rename the files - if (!@rename($p_src, $p_dest)) { - - // ----- Try to copy & unlink the src - if (!@copy($p_src, $p_dest)) { - $v_result = 0; - } - else if (!@unlink($p_src)) { - $v_result = 0; - } - } - - // ----- Return - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilOptionText() - // Description : - // Translate option value in text. Mainly for debug purpose. - // Parameters : - // $p_option : the option value. - // Return Values : - // The option text value. - // -------------------------------------------------------------------------------- - function PclZipUtilOptionText($p_option) - { - - $v_list = get_defined_constants(); - for (reset($v_list); $v_key = key($v_list); next($v_list)) { - $v_prefix = substr($v_key, 0, 10); - if (( ($v_prefix == 'PCLZIP_OPT') - || ($v_prefix == 'PCLZIP_CB_') - || ($v_prefix == 'PCLZIP_ATT')) - && ($v_list[$v_key] == $p_option)) { - return $v_key; - } - } - - $v_result = 'Unknown'; - - return $v_result; - } - // -------------------------------------------------------------------------------- - - // -------------------------------------------------------------------------------- - // Function : PclZipUtilTranslateWinPath() - // Description : - // Translate windows path by replacing '\' by '/' and optionally removing - // drive letter. - // Parameters : - // $p_path : path to translate. - // $p_remove_disk_letter : true | false - // Return Values : - // The path translated. - // -------------------------------------------------------------------------------- - function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true) - { - if (stristr(php_uname(), 'windows')) { - // ----- Look for potential disk letter - if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) { - $p_path = substr($p_path, $v_position+1); - } - // ----- Change potential windows directory separator - if ((strpos($p_path, '\\') > 0) || (substr($p_path, 0,1) == '\\')) { - $p_path = strtr($p_path, '\\', '/'); - } - } - return $p_path; - } - // -------------------------------------------------------------------------------- - - -?> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/readme.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/readme.txt deleted file mode 100644 index 6ed883947..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PCLZip/readme.txt +++ /dev/null @@ -1,421 +0,0 @@ -// -------------------------------------------------------------------------------- -// PclZip 2.8.2 - readme.txt -// -------------------------------------------------------------------------------- -// License GNU/LGPL - August 2009 -// Vincent Blavet - vincent@phpconcept.net -// http://www.phpconcept.net -// -------------------------------------------------------------------------------- -// $Id: readme.txt,v 1.60 2009/09/30 20:35:21 vblavet Exp $ -// -------------------------------------------------------------------------------- - - - -0 - Sommaire -============ - 1 - Introduction - 2 - What's new - 3 - Corrected bugs - 4 - Known bugs or limitations - 5 - License - 6 - Warning - 7 - Documentation - 8 - Author - 9 - Contribute - -1 - Introduction -================ - - PclZip is a library that allow you to manage a Zip archive. - - Full documentation about PclZip can be found here : http://www.phpconcept.net/pclzip - -2 - What's new -============== - - Version 2.8.2 : - - PCLZIP_CB_PRE_EXTRACT and PCLZIP_CB_POST_EXTRACT are now supported with - extraction as a string (PCLZIP_OPT_EXTRACT_AS_STRING). The string - can also be modified in the post-extract call back. - **Bugs correction : - - PCLZIP_OPT_REMOVE_ALL_PATH was not working correctly - - Remove use of eval() and do direct call to callback functions - - Correct support of 64bits systems (Thanks to WordPress team) - - Version 2.8.1 : - - Move option PCLZIP_OPT_BY_EREG to PCLZIP_OPT_BY_PREG because ereg() is - deprecated in PHP 5.3. When using option PCLZIP_OPT_BY_EREG, PclZip will - automatically replace it by PCLZIP_OPT_BY_PREG. - - Version 2.8 : - - Improve extraction of zip archive for large files by using temporary files - This feature is working like the one defined in r2.7. - Options are renamed : PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_OFF, - PCLZIP_OPT_TEMP_FILE_THRESHOLD - - Add a ratio constant PCLZIP_TEMPORARY_FILE_RATIO to configure the auto - sense of temporary file use. - - Bug correction : Reduce filepath in returned file list to remove ennoying - './/' preambule in file path. - - Version 2.7 : - - Improve creation of zip archive for large files : - PclZip will now autosense the configured memory and use temporary files - when large file is suspected. - This feature can also ne triggered by manual options in create() and add() - methods. 'PCLZIP_OPT_ADD_TEMP_FILE_ON' force the use of temporary files, - 'PCLZIP_OPT_ADD_TEMP_FILE_OFF' disable the autosense technic, - 'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD' allow for configuration of a size - threshold to use temporary files. - Using "temporary files" rather than "memory" might take more time, but - might give the ability to zip very large files : - Tested on my win laptop with a 88Mo file : - Zip "in-memory" : 18sec (max_execution_time=30, memory_limit=180Mo) - Zip "tmporary-files" : 23sec (max_execution_time=30, memory_limit=30Mo) - - Replace use of mktime() by time() to limit the E_STRICT error messages. - - Bug correction : When adding files with full windows path (drive letter) - PclZip is now working. Before, if the drive letter is not the default - path, PclZip was not able to add the file. - - Version 2.6 : - - Code optimisation - - New attributes PCLZIP_ATT_FILE_COMMENT gives the ability to - add a comment for a specific file. (Don't really know if this is usefull) - - New attribute PCLZIP_ATT_FILE_CONTENT gives the ability to add a string - as a file. - - New attribute PCLZIP_ATT_FILE_MTIME modify the timestamp associated with - a file. - - Correct a bug. Files archived with a timestamp with 0h0m0s were extracted - with current time - - Add CRC value in the informations returned back for each file after an - action. - - Add missing closedir() statement. - - When adding a folder, and removing the path of this folder, files were - incorrectly added with a '/' at the beginning. Which means files are - related to root in unix systems. Corrected. - - Add conditional if before constant definition. This will allow users - to redefine constants without changing the file, and then improve - upgrade of pclzip code for new versions. - - Version 2.5 : - - Introduce the ability to add file/folder with individual properties (file descriptor). - This gives for example the ability to change the filename of a zipped file. - . Able to add files individually - . Able to change full name - . Able to change short name - . Compatible with global options - - New attributes : PCLZIP_ATT_FILE_NAME, PCLZIP_ATT_FILE_NEW_SHORT_NAME, PCLZIP_ATT_FILE_NEW_FULL_NAME - - New error code : PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE - - Add a security control feature. PclZip can extract any file in any folder - of a system. People may use this to upload a zip file and try to override - a system file. The PCLZIP_OPT_EXTRACT_DIR_RESTRICTION will give the - ability to forgive any directory transversal behavior. - - New PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : check extraction path - - New error code : PCLZIP_ERR_DIRECTORY_RESTRICTION - - Modification in PclZipUtilPathInclusion() : dir and path beginning with ./ will be prepend - by current path (getcwd()) - - Version 2.4 : - - Code improvment : try to speed up the code by removing unusefull call to pack() - - Correct bug in delete() : delete() should be called with no argument. This was not - the case in 2.3. This is corrected in 2.4. - - Correct a bug in path_inclusion function. When the path has several '../../', the - result was bad. - - Add a check for magic_quotes_runtime configuration. If enabled, PclZip will - disable it while working and det it back to its original value. - This resolve a lots of bad formated archive errors. - - Bug correction : PclZip now correctly unzip file in some specific situation, - when compressed content has same size as uncompressed content. - - Bug correction : When selecting option 'PCLZIP_OPT_REMOVE_ALL_PATH', - directories are not any more created. - - Code improvment : correct unclosed opendir(), better handling of . and .. in - loops. - - - Version 2.3 : - - Correct a bug with PHP5 : affecting the value 0xFE49FFE0 to a variable does not - give the same result in PHP4 and PHP5 .... - - Version 2.2 : - - Try development of PCLZIP_OPT_CRYPT ..... - However this becomes to a stop. To crypt/decrypt I need to multiply 2 long integers, - the result (greater than a long) is not supported by PHP. Even the use of bcmath - functions does not help. I did not find yet a solution ...; - - Add missing '/' at end of directory entries - - Check is a file is encrypted or not. Returns status 'unsupported_encryption' and/or - error code PCLZIP_ERR_UNSUPPORTED_ENCRYPTION. - - Corrected : Bad "version need to extract" field in local file header - - Add private method privCheckFileHeaders() in order to check local and central - file headers. PclZip is now supporting purpose bit flag bit 3. Purpose bit flag bit 3 gives - the ability to have a local file header without size, compressed size and crc filled. - - Add a generic status 'error' for file status - - Add control of compression type. PclZip only support deflate compression method. - Before v2.2, PclZip does not check the compression method used in an archive while - extracting. With v2.2 PclZip returns a new error status for a file using an unsupported - compression method. New status is "unsupported_compression". New error code is - PCLZIP_ERR_UNSUPPORTED_COMPRESSION. - - Add optional attribute PCLZIP_OPT_STOP_ON_ERROR. This will stop the extract of files - when errors like 'a folder with same name exists' or 'a newer file exists' or - 'a write protected file' exists, rather than set a status for the concerning file - and resume the extract of the zip. - - Add optional attribute PCLZIP_OPT_REPLACE_NEWER. This will force, during an extract' the - replacement of the file, even if a newer version of the file exists. - Note that today if a file with the same name already exists but is older it will be - replaced by the extracted one. - - Improve PclZipUtilOption() - - Support of zip archive with trailing bytes. Before 2.2, PclZip checks that the central - directory structure is the last data in the archive. Crypt encryption/decryption of - zip archive put trailing 0 bytes after decryption. PclZip is now supporting this. - - Version 2.1 : - - Add the ability to abort the extraction by using a user callback function. - The user can now return the value '2' in its callback which indicates to stop the - extraction. For a pre call-back extract is stopped before the extration of the current - file. For a post call back, the extraction is stopped after. - - Add the ability to extract a file (or several files) directly in the standard output. - This is done by the new parameter PCLZIP_OPT_EXTRACT_IN_OUTPUT with method extract(). - - Add support for parameters PCLZIP_OPT_COMMENT, PCLZIP_OPT_ADD_COMMENT, - PCLZIP_OPT_PREPEND_COMMENT. This will create, replace, add, or prepend comments - in the zip archive. - - When merging two archives, the comments are not any more lost, but merged, with a - blank space separator. - - Corrected bug : Files are not deleted when all files are asked to be deleted. - - Corrected bug : Folders with name '0' made PclZip to abort the create or add feature. - - - Version 2.0 : - ***** Warning : Some new features may break the backward compatibility for your scripts. - Please carefully read the readme file. - - Add the ability to delete by Index, name and regular expression. This feature is - performed by the method delete(), which uses the optional parameters - PCLZIP_OPT_BY_INDEX, PCLZIP_OPT_BY_NAME, PCLZIP_OPT_BY_EREG or PCLZIP_OPT_BY_PREG. - - Add the ability to extract by regular expression. To extract by regexp you must use the method - extract(), with the option PCLZIP_OPT_BY_EREG or PCLZIP_OPT_BY_PREG - (depending if you want to use ereg() or preg_match() syntax) followed by the - regular expression pattern. - - Add the ability to extract by index, directly with the extract() method. This is a - code improvment of the extractByIndex() method. - - Add the ability to extract by name. To extract by name you must use the method - extract(), with the option PCLZIP_OPT_BY_NAME followed by the filename to - extract or an array of filenames to extract. To extract all a folder, use the folder - name rather than the filename with a '/' at the end. - - Add the ability to add files without compression. This is done with a new attribute - which is PCLZIP_OPT_NO_COMPRESSION. - - Add the attribute PCLZIP_OPT_EXTRACT_AS_STRING, which allow to extract a file directly - in a string without using any file (or temporary file). - - Add constant PCLZIP_SEPARATOR for static configuration of filename separators in a single string. - The default separator is now a comma (,) and not any more a blank space. - THIS BREAK THE BACKWARD COMPATIBILITY : Please check if this may have an impact with - your script. - - Improve algorythm performance by removing the use of temporary files when adding or - extracting files in an archive. - - Add (correct) detection of empty filename zipping. This can occurs when the removed - path is the same - as a zipped dir. The dir is not zipped (['status'] = filtered), only its content. - - Add better support for windows paths (thanks for help from manus@manusfreedom.com). - - Corrected bug : When the archive file already exists with size=0, the add() method - fails. Corrected in 2.0. - - Remove the use of OS_WINDOWS constant. Use php_uname() function rather. - - Control the order of index ranges in extract by index feature. - - Change the internal management of folders (better handling of internal flag). - - - Version 1.3 : - - Removing the double include check. This is now done by include_once() and require_once() - PHP directives. - - Changing the error handling mecanism : Remove the use of an external error library. - The former PclError...() functions are replaced by internal equivalent methods. - By changing the environment variable PCLZIP_ERROR_EXTERNAL you can still use the former library. - Introducing the use of constants for error codes rather than integer values. This will help - in futur improvment. - Introduction of error handling functions like errorCode(), errorName() and errorInfo(). - - Remove the deprecated use of calling function with arguments passed by reference. - - Add the calling of extract(), extractByIndex(), create() and add() functions - with variable options rather than fixed arguments. - - Add the ability to remove all the file path while extracting or adding, - without any need to specify the path to remove. - This is available for extract(), extractByIndex(), create() and add() functionS by using - the new variable options parameters : - - PCLZIP_OPT_REMOVE_ALL_PATH : by indicating this option while calling the fct. - - Ability to change the mode of a file after the extraction (chmod()). - This is available for extract() and extractByIndex() functionS by using - the new variable options parameters. - - PCLZIP_OPT_SET_CHMOD : by setting the value of this option. - - Ability to definition call-back options. These call-back will be called during the adding, - or the extracting of file (extract(), extractByIndex(), create() and add() functions) : - - PCLZIP_CB_PRE_EXTRACT : will be called before each extraction of a file. The user - can trigerred the change the filename of the extracted file. The user can triggered the - skip of the extraction. This is adding a 'skipped' status in the file list result value. - - PCLZIP_CB_POST_EXTRACT : will be called after each extraction of a file. - Nothing can be triggered from that point. - - PCLZIP_CB_PRE_ADD : will be called before each add of a file. The user - can trigerred the change the stored filename of the added file. The user can triggered the - skip of the add. This is adding a 'skipped' status in the file list result value. - - PCLZIP_CB_POST_ADD : will be called after each add of a file. - Nothing can be triggered from that point. - - Two status are added in the file list returned as function result : skipped & filename_too_long - 'skipped' is used when a call-back function ask for skipping the file. - 'filename_too_long' is used while adding a file with a too long filename to archive (the file is - not added) - - Adding the function PclZipUtilPathInclusion(), that check the inclusion of a path into - a directory. - - Add a check of the presence of the archive file before some actions (like list, ...) - - Add the initialisation of field "index" in header array. This means that by - default index will be -1 when not explicitly set by the methods. - - Version 1.2 : - - Adding a duplicate function. - - Adding a merge function. The merge function is a "quick merge" function, - it just append the content of an archive at the end of the first one. There - is no check for duplicate files or more recent files. - - Improve the search of the central directory end. - - Version 1.1.2 : - - - Changing the license of PclZip. PclZip is now released under the GNU / LGPL license - (see License section). - - Adding the optional support of a static temporary directory. You will need to configure - the constant PCLZIP_TEMPORARY_DIR if you want to use this feature. - - Improving the rename() function. In some cases rename() does not work (different - Filesystems), so it will be replaced by a copy() + unlink() functions. - - Version 1.1.1 : - - - Maintenance release, no new feature. - - Version 1.1 : - - - New method Add() : adding files in the archive - - New method ExtractByIndex() : partial extract of the archive, files are identified by - their index in the archive - - New method DeleteByIndex() : delete some files/folder entries from the archive, - files are identified by their index in the archive. - - Adding a test of the zlib extension presence. If not present abort the script. - - Version 1.0.1 : - - - No new feature - - -3 - Corrected bugs -================== - - Corrected in Version 2.0 : - - Corrected : During an extraction, if a call-back fucntion is used and try to skip - a file, all the extraction process is stopped. - - Corrected in Version 1.3 : - - Corrected : Support of static synopsis for method extract() is broken. - - Corrected : invalid size of archive content field (0xFF) should be (0xFFFF). - - Corrected : When an extract is done with a remove_path parameter, the entry for - the directory with exactly the same path is not skipped/filtered. - - Corrected : extractByIndex() and deleteByIndex() were not managing index in the - right way. For example indexes '1,3-5,11' will only extract files 1 and 11. This - is due to a sort of the index resulting table that puts 11 before 3-5 (sort on - string and not interger). The sort is temporarilly removed, this means that - you must provide a sorted list of index ranges. - - Corrected in Version 1.2 : - - - Nothing. - - Corrected in Version 1.1.2 : - - - Corrected : Winzip is unable to delete or add new files in a PclZip created archives. - - Corrected in Version 1.1.1 : - - - Corrected : When archived file is not compressed (0% compression), the - extract method fails. - - Corrected in Version 1.1 : - - - Corrected : Adding a complete tree of folder may result in a bad archive - creation. - - Corrected in Version 1.0.1 : - - - Corrected : Error while compressing files greater than PCLZIP_READ_BLOCK_SIZE (default=1024). - - -4 - Known bugs or limitations -============================= - - Please publish bugs reports in SourceForge : - http://sourceforge.net/tracker/?group_id=40254&atid=427564 - - In Version 2.x : - - PclZip does only support file uncompressed or compressed with deflate (compression method 8) - - PclZip does not support password protected zip archive - - Some concern were seen when changing mtime of a file while archiving. - Seems to be linked to Daylight Saving Time (PclTest_changing_mtime). - - In Version 1.2 : - - - merge() methods does not check for duplicate files or last date of modifications. - - In Version 1.1 : - - - Limitation : Using 'extract' fields in the file header in the zip archive is not supported. - - WinZip is unable to delete a single file in a PclZip created archive. It is also unable to - add a file in a PclZip created archive. (Corrected in v.1.2) - - In Version 1.0.1 : - - - Adding a complete tree of folder may result in a bad archive - creation. (Corrected in V.1.1). - - Path given to methods must be in the unix format (/) and not the Windows format (\). - Workaround : Use only / directory separators. - - PclZip is using temporary files that are sometime the name of the file with a .tmp or .gz - added suffix. Files with these names may already exist and may be overwritten. - Workaround : none. - - PclZip does not check if the zlib extension is present. If it is absent, the zip - file is not created and the lib abort without warning. - Workaround : enable the zlib extension on the php install - - In Version 1.0 : - - - Error while compressing files greater than PCLZIP_READ_BLOCK_SIZE (default=1024). - (Corrected in v.1.0.1) - - Limitation : Multi-disk zip archive are not supported. - - -5 - License -=========== - - Since version 1.1.2, PclZip Library is released under GNU/LGPL license. - This library is free, so you can use it at no cost. - - HOWEVER, if you release a script, an application, a library or any kind of - code using PclZip library (or a part of it), YOU MUST : - - Indicate in the documentation (or a readme file), that your work - uses PclZip Library, and make a reference to the author and the web site - http://www.phpconcept.net - - Gives the ability to the final user to update the PclZip libary. - - I will also appreciate that you send me a mail (vincent@phpconcept.net), just to - be aware that someone is using PclZip. - - For more information about GNU/LGPL license : http://www.gnu.org - -6 - Warning -================= - - This library and the associated files are non commercial, non professional work. - It should not have unexpected results. However if any damage is caused by this software - the author can not be responsible. - The use of this software is at the risk of the user. - -7 - Documentation -================= - PclZip User Manuel is available in English on PhpConcept : http://www.phpconcept.net/pclzip/man/en/index.php - A Russian translation was done by Feskov Kuzma : http://php.russofile.ru/ru/authors/unsort/zip/ - -8 - Author -========== - - This software was written by Vincent Blavet (vincent@phpconcept.net) on its leasure time. - -9 - Contribute -============== - If you want to contribute to the development of PclZip, please contact vincent@phpconcept.net. - If you can help in financing PhpConcept hosting service, please go to - http://www.phpconcept.net/soutien.php diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PasswordHasher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PasswordHasher.php deleted file mode 100644 index 891b6bc15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/PasswordHasher.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_PasswordHasher - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_PasswordHasher -{ - /** - * Create a password hash from a given string. - * - * This method is based on the algorithm provided by - * Daniel Rentz of OpenOffice and the PEAR package - * Spreadsheet_Excel_Writer by Xavier Noguer <xnoguer@rezebra.com>. - * - * @param string $pPassword Password to hash - * @return string Hashed password - */ - public static function hashPassword($pPassword = '') { - $password = 0x0000; - $charPos = 1; // char position - - // split the plain text password in its component characters - $chars = preg_split('//', $pPassword, -1, PREG_SPLIT_NO_EMPTY); - foreach ($chars as $char) { - $value = ord($char) << $charPos++; // shifted ASCII value - $rotated_bits = $value >> 15; // rotated bits beyond bit 15 - $value &= 0x7fff; // first 15 bits - $password ^= ($value | $rotated_bits); - } - - $password ^= strlen($pPassword); - $password ^= 0xCE4B; - - return(strtoupper(dechex($password))); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/String.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/String.php deleted file mode 100644 index fc86d537d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/String.php +++ /dev/null @@ -1,776 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_String - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_String -{ - /** Constants */ - /** Regular Expressions */ - // Fraction - const STRING_REGEXP_FRACTION = '(-?)(\d+)\s+(\d+\/\d+)'; - - - /** - * Control characters array - * - * @var string[] - */ - private static $_controlCharacters = array(); - - /** - * SYLK Characters array - * - * $var array - */ - private static $_SYLKCharacters = array(); - - /** - * Decimal separator - * - * @var string - */ - private static $_decimalSeparator; - - /** - * Thousands separator - * - * @var string - */ - private static $_thousandsSeparator; - - /** - * Currency code - * - * @var string - */ - private static $_currencyCode; - - /** - * Is mbstring extension avalable? - * - * @var boolean - */ - private static $_isMbstringEnabled; - - /** - * Is iconv extension avalable? - * - * @var boolean - */ - private static $_isIconvEnabled; - - /** - * Build control characters array - */ - private static function _buildControlCharacters() { - for ($i = 0; $i <= 31; ++$i) { - if ($i != 9 && $i != 10 && $i != 13) { - $find = '_x' . sprintf('%04s' , strtoupper(dechex($i))) . '_'; - $replace = chr($i); - self::$_controlCharacters[$find] = $replace; - } - } - } - - /** - * Build SYLK characters array - */ - private static function _buildSYLKCharacters() - { - self::$_SYLKCharacters = array( - "\x1B 0" => chr(0), - "\x1B 1" => chr(1), - "\x1B 2" => chr(2), - "\x1B 3" => chr(3), - "\x1B 4" => chr(4), - "\x1B 5" => chr(5), - "\x1B 6" => chr(6), - "\x1B 7" => chr(7), - "\x1B 8" => chr(8), - "\x1B 9" => chr(9), - "\x1B :" => chr(10), - "\x1B ;" => chr(11), - "\x1B <" => chr(12), - "\x1B :" => chr(13), - "\x1B >" => chr(14), - "\x1B ?" => chr(15), - "\x1B!0" => chr(16), - "\x1B!1" => chr(17), - "\x1B!2" => chr(18), - "\x1B!3" => chr(19), - "\x1B!4" => chr(20), - "\x1B!5" => chr(21), - "\x1B!6" => chr(22), - "\x1B!7" => chr(23), - "\x1B!8" => chr(24), - "\x1B!9" => chr(25), - "\x1B!:" => chr(26), - "\x1B!;" => chr(27), - "\x1B!<" => chr(28), - "\x1B!=" => chr(29), - "\x1B!>" => chr(30), - "\x1B!?" => chr(31), - "\x1B'?" => chr(127), - "\x1B(0" => '€', // 128 in CP1252 - "\x1B(2" => '‚', // 130 in CP1252 - "\x1B(3" => 'ƒ', // 131 in CP1252 - "\x1B(4" => '„', // 132 in CP1252 - "\x1B(5" => '…', // 133 in CP1252 - "\x1B(6" => '†', // 134 in CP1252 - "\x1B(7" => '‡', // 135 in CP1252 - "\x1B(8" => 'ˆ', // 136 in CP1252 - "\x1B(9" => '‰', // 137 in CP1252 - "\x1B(:" => 'Š', // 138 in CP1252 - "\x1B(;" => '‹', // 139 in CP1252 - "\x1BNj" => 'Œ', // 140 in CP1252 - "\x1B(>" => 'Ž', // 142 in CP1252 - "\x1B)1" => '‘', // 145 in CP1252 - "\x1B)2" => '’', // 146 in CP1252 - "\x1B)3" => '“', // 147 in CP1252 - "\x1B)4" => '”', // 148 in CP1252 - "\x1B)5" => '•', // 149 in CP1252 - "\x1B)6" => '–', // 150 in CP1252 - "\x1B)7" => '—', // 151 in CP1252 - "\x1B)8" => '˜', // 152 in CP1252 - "\x1B)9" => '™', // 153 in CP1252 - "\x1B):" => 'š', // 154 in CP1252 - "\x1B);" => '›', // 155 in CP1252 - "\x1BNz" => 'œ', // 156 in CP1252 - "\x1B)>" => 'ž', // 158 in CP1252 - "\x1B)?" => 'Ÿ', // 159 in CP1252 - "\x1B*0" => ' ', // 160 in CP1252 - "\x1BN!" => '¡', // 161 in CP1252 - "\x1BN\"" => '¢', // 162 in CP1252 - "\x1BN#" => '£', // 163 in CP1252 - "\x1BN(" => '¤', // 164 in CP1252 - "\x1BN%" => '¥', // 165 in CP1252 - "\x1B*6" => '¦', // 166 in CP1252 - "\x1BN'" => '§', // 167 in CP1252 - "\x1BNH " => '¨', // 168 in CP1252 - "\x1BNS" => '©', // 169 in CP1252 - "\x1BNc" => 'ª', // 170 in CP1252 - "\x1BN+" => '«', // 171 in CP1252 - "\x1B*<" => '¬', // 172 in CP1252 - "\x1B*=" => '­', // 173 in CP1252 - "\x1BNR" => '®', // 174 in CP1252 - "\x1B*?" => '¯', // 175 in CP1252 - "\x1BN0" => '°', // 176 in CP1252 - "\x1BN1" => '±', // 177 in CP1252 - "\x1BN2" => '²', // 178 in CP1252 - "\x1BN3" => '³', // 179 in CP1252 - "\x1BNB " => '´', // 180 in CP1252 - "\x1BN5" => 'µ', // 181 in CP1252 - "\x1BN6" => '¶', // 182 in CP1252 - "\x1BN7" => '·', // 183 in CP1252 - "\x1B+8" => '¸', // 184 in CP1252 - "\x1BNQ" => '¹', // 185 in CP1252 - "\x1BNk" => 'º', // 186 in CP1252 - "\x1BN;" => '»', // 187 in CP1252 - "\x1BN<" => '¼', // 188 in CP1252 - "\x1BN=" => '½', // 189 in CP1252 - "\x1BN>" => '¾', // 190 in CP1252 - "\x1BN?" => '¿', // 191 in CP1252 - "\x1BNAA" => 'À', // 192 in CP1252 - "\x1BNBA" => 'Á', // 193 in CP1252 - "\x1BNCA" => 'Â', // 194 in CP1252 - "\x1BNDA" => 'Ã', // 195 in CP1252 - "\x1BNHA" => 'Ä', // 196 in CP1252 - "\x1BNJA" => 'Å', // 197 in CP1252 - "\x1BNa" => 'Æ', // 198 in CP1252 - "\x1BNKC" => 'Ç', // 199 in CP1252 - "\x1BNAE" => 'È', // 200 in CP1252 - "\x1BNBE" => 'É', // 201 in CP1252 - "\x1BNCE" => 'Ê', // 202 in CP1252 - "\x1BNHE" => 'Ë', // 203 in CP1252 - "\x1BNAI" => 'Ì', // 204 in CP1252 - "\x1BNBI" => 'Í', // 205 in CP1252 - "\x1BNCI" => 'Î', // 206 in CP1252 - "\x1BNHI" => 'Ï', // 207 in CP1252 - "\x1BNb" => 'Ð', // 208 in CP1252 - "\x1BNDN" => 'Ñ', // 209 in CP1252 - "\x1BNAO" => 'Ò', // 210 in CP1252 - "\x1BNBO" => 'Ó', // 211 in CP1252 - "\x1BNCO" => 'Ô', // 212 in CP1252 - "\x1BNDO" => 'Õ', // 213 in CP1252 - "\x1BNHO" => 'Ö', // 214 in CP1252 - "\x1B-7" => '×', // 215 in CP1252 - "\x1BNi" => 'Ø', // 216 in CP1252 - "\x1BNAU" => 'Ù', // 217 in CP1252 - "\x1BNBU" => 'Ú', // 218 in CP1252 - "\x1BNCU" => 'Û', // 219 in CP1252 - "\x1BNHU" => 'Ü', // 220 in CP1252 - "\x1B-=" => 'Ý', // 221 in CP1252 - "\x1BNl" => 'Þ', // 222 in CP1252 - "\x1BN{" => 'ß', // 223 in CP1252 - "\x1BNAa" => 'à', // 224 in CP1252 - "\x1BNBa" => 'á', // 225 in CP1252 - "\x1BNCa" => 'â', // 226 in CP1252 - "\x1BNDa" => 'ã', // 227 in CP1252 - "\x1BNHa" => 'ä', // 228 in CP1252 - "\x1BNJa" => 'å', // 229 in CP1252 - "\x1BNq" => 'æ', // 230 in CP1252 - "\x1BNKc" => 'ç', // 231 in CP1252 - "\x1BNAe" => 'è', // 232 in CP1252 - "\x1BNBe" => 'é', // 233 in CP1252 - "\x1BNCe" => 'ê', // 234 in CP1252 - "\x1BNHe" => 'ë', // 235 in CP1252 - "\x1BNAi" => 'ì', // 236 in CP1252 - "\x1BNBi" => 'í', // 237 in CP1252 - "\x1BNCi" => 'î', // 238 in CP1252 - "\x1BNHi" => 'ï', // 239 in CP1252 - "\x1BNs" => 'ð', // 240 in CP1252 - "\x1BNDn" => 'ñ', // 241 in CP1252 - "\x1BNAo" => 'ò', // 242 in CP1252 - "\x1BNBo" => 'ó', // 243 in CP1252 - "\x1BNCo" => 'ô', // 244 in CP1252 - "\x1BNDo" => 'õ', // 245 in CP1252 - "\x1BNHo" => 'ö', // 246 in CP1252 - "\x1B/7" => '÷', // 247 in CP1252 - "\x1BNy" => 'ø', // 248 in CP1252 - "\x1BNAu" => 'ù', // 249 in CP1252 - "\x1BNBu" => 'ú', // 250 in CP1252 - "\x1BNCu" => 'û', // 251 in CP1252 - "\x1BNHu" => 'ü', // 252 in CP1252 - "\x1B/=" => 'ý', // 253 in CP1252 - "\x1BN|" => 'þ', // 254 in CP1252 - "\x1BNHy" => 'ÿ', // 255 in CP1252 - ); - } - - /** - * Get whether mbstring extension is available - * - * @return boolean - */ - public static function getIsMbstringEnabled() - { - if (isset(self::$_isMbstringEnabled)) { - return self::$_isMbstringEnabled; - } - - self::$_isMbstringEnabled = function_exists('mb_convert_encoding') ? - true : false; - - return self::$_isMbstringEnabled; - } - - /** - * Get whether iconv extension is available - * - * @return boolean - */ - public static function getIsIconvEnabled() - { - if (isset(self::$_isIconvEnabled)) { - return self::$_isIconvEnabled; - } - - // Fail if iconv doesn't exist - if (!function_exists('iconv')) { - self::$_isIconvEnabled = false; - return false; - } - - // Sometimes iconv is not working, and e.g. iconv('UTF-8', 'UTF-16LE', 'x') just returns false, - if (!@iconv('UTF-8', 'UTF-16LE', 'x')) { - self::$_isIconvEnabled = false; - return false; - } - - // Sometimes iconv_substr('A', 0, 1, 'UTF-8') just returns false in PHP 5.2.0 - // we cannot use iconv in that case either (http://bugs.php.net/bug.php?id=37773) - if (!@iconv_substr('A', 0, 1, 'UTF-8')) { - self::$_isIconvEnabled = false; - return false; - } - - // CUSTOM: IBM AIX iconv() does not work - if ( defined('PHP_OS') && @stristr(PHP_OS, 'AIX') - && defined('ICONV_IMPL') && (@strcasecmp(ICONV_IMPL, 'unknown') == 0) - && defined('ICONV_VERSION') && (@strcasecmp(ICONV_VERSION, 'unknown') == 0) ) - { - self::$_isIconvEnabled = false; - return false; - } - - // If we reach here no problems were detected with iconv - self::$_isIconvEnabled = true; - return true; - } - - public static function buildCharacterSets() { - if(empty(self::$_controlCharacters)) { - self::_buildControlCharacters(); - } - if(empty(self::$_SYLKCharacters)) { - self::_buildSYLKCharacters(); - } - } - - /** - * Convert from OpenXML escaped control character to PHP control character - * - * Excel 2007 team: - * ---------------- - * That's correct, control characters are stored directly in the shared-strings table. - * We do encode characters that cannot be represented in XML using the following escape sequence: - * _xHHHH_ where H represents a hexadecimal character in the character's value... - * So you could end up with something like _x0008_ in a string (either in a cell value (<v>) - * element or in the shared string <t> element. - * - * @param string $value Value to unescape - * @return string - */ - public static function ControlCharacterOOXML2PHP($value = '') { - return str_replace( array_keys(self::$_controlCharacters), array_values(self::$_controlCharacters), $value ); - } - - /** - * Convert from PHP control character to OpenXML escaped control character - * - * Excel 2007 team: - * ---------------- - * That's correct, control characters are stored directly in the shared-strings table. - * We do encode characters that cannot be represented in XML using the following escape sequence: - * _xHHHH_ where H represents a hexadecimal character in the character's value... - * So you could end up with something like _x0008_ in a string (either in a cell value (<v>) - * element or in the shared string <t> element. - * - * @param string $value Value to escape - * @return string - */ - public static function ControlCharacterPHP2OOXML($value = '') { - return str_replace( array_values(self::$_controlCharacters), array_keys(self::$_controlCharacters), $value ); - } - - /** - * Try to sanitize UTF8, stripping invalid byte sequences. Not perfect. Does not surrogate characters. - * - * @param string $value - * @return string - */ - public static function SanitizeUTF8($value) - { - if (self::getIsIconvEnabled()) { - $value = @iconv('UTF-8', 'UTF-8', $value); - return $value; - } - - if (self::getIsMbstringEnabled()) { - $value = mb_convert_encoding($value, 'UTF-8', 'UTF-8'); - return $value; - } - - // else, no conversion - return $value; - } - - /** - * Check if a string contains UTF8 data - * - * @param string $value - * @return boolean - */ - public static function IsUTF8($value = '') { - return $string === '' || preg_match('/^./su', $string) === 1; - } - - /** - * Formats a numeric value as a string for output in various output writers forcing - * point as decimal separator in case locale is other than English. - * - * @param mixed $value - * @return string - */ - public static function FormatNumber($value) { - if (is_float($value)) { - return str_replace(',', '.', $value); - } - return (string) $value; - } - - /** - * Converts a UTF-8 string into BIFF8 Unicode string data (8-bit string length) - * Writes the string using uncompressed notation, no rich text, no Asian phonetics - * If mbstring extension is not available, ASCII is assumed, and compressed notation is used - * although this will give wrong results for non-ASCII strings - * see OpenOffice.org's Documentation of the Microsoft Excel File Format, sect. 2.5.3 - * - * @param string $value UTF-8 encoded string - * @param mixed[] $arrcRuns Details of rich text runs in $value - * @return string - */ - public static function UTF8toBIFF8UnicodeShort($value, $arrcRuns = array()) - { - // character count - $ln = self::CountCharacters($value, 'UTF-8'); - // option flags - if(empty($arrcRuns)){ - $opt = (self::getIsIconvEnabled() || self::getIsMbstringEnabled()) ? - 0x0001 : 0x0000; - $data = pack('CC', $ln, $opt); - // characters - $data .= self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8'); - } - else { - $data = pack('vC', $ln, 0x09); - $data .= pack('v', count($arrcRuns)); - // characters - $data .= self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8'); - foreach ($arrcRuns as $cRun){ - $data .= pack('v', $cRun['strlen']); - $data .= pack('v', $cRun['fontidx']); - } - } - return $data; - } - - /** - * Converts a UTF-8 string into BIFF8 Unicode string data (16-bit string length) - * Writes the string using uncompressed notation, no rich text, no Asian phonetics - * If mbstring extension is not available, ASCII is assumed, and compressed notation is used - * although this will give wrong results for non-ASCII strings - * see OpenOffice.org's Documentation of the Microsoft Excel File Format, sect. 2.5.3 - * - * @param string $value UTF-8 encoded string - * @return string - */ - public static function UTF8toBIFF8UnicodeLong($value) - { - // character count - $ln = self::CountCharacters($value, 'UTF-8'); - - // option flags - $opt = (self::getIsIconvEnabled() || self::getIsMbstringEnabled()) ? - 0x0001 : 0x0000; - - // characters - $chars = self::ConvertEncoding($value, 'UTF-16LE', 'UTF-8'); - - $data = pack('vC', $ln, $opt) . $chars; - return $data; - } - - /** - * Convert string from one encoding to another. First try mbstring, then iconv, finally strlen - * - * @param string $value - * @param string $to Encoding to convert to, e.g. 'UTF-8' - * @param string $from Encoding to convert from, e.g. 'UTF-16LE' - * @return string - */ - public static function ConvertEncoding($value, $to, $from) - { - if (self::getIsIconvEnabled()) { - return iconv($from, $to, $value); - } - - if (self::getIsMbstringEnabled()) { - return mb_convert_encoding($value, $to, $from); - } - - if($from == 'UTF-16LE'){ - return self::utf16_decode($value, false); - }else if($from == 'UTF-16BE'){ - return self::utf16_decode($value); - } - // else, no conversion - return $value; - } - - /** - * Decode UTF-16 encoded strings. - * - * Can handle both BOM'ed data and un-BOM'ed data. - * Assumes Big-Endian byte order if no BOM is available. - * This function was taken from http://php.net/manual/en/function.utf8-decode.php - * and $bom_be parameter added. - * - * @param string $str UTF-16 encoded data to decode. - * @return string UTF-8 / ISO encoded data. - * @access public - * @version 0.2 / 2010-05-13 - * @author Rasmus Andersson {@link http://rasmusandersson.se/} - * @author vadik56 - */ - public static function utf16_decode($str, $bom_be = TRUE) { - if( strlen($str) < 2 ) return $str; - $c0 = ord($str{0}); - $c1 = ord($str{1}); - if( $c0 == 0xfe && $c1 == 0xff ) { $str = substr($str,2); } - elseif( $c0 == 0xff && $c1 == 0xfe ) { $str = substr($str,2); $bom_be = false; } - $len = strlen($str); - $newstr = ''; - for($i=0;$i<$len;$i+=2) { - if( $bom_be ) { $val = ord($str{$i}) << 4; $val += ord($str{$i+1}); } - else { $val = ord($str{$i+1}) << 4; $val += ord($str{$i}); } - $newstr .= ($val == 0x228) ? "\n" : chr($val); - } - return $newstr; - } - - /** - * Get character count. First try mbstring, then iconv, finally strlen - * - * @param string $value - * @param string $enc Encoding - * @return int Character count - */ - public static function CountCharacters($value, $enc = 'UTF-8') - { - if (self::getIsMbstringEnabled()) { - return mb_strlen($value, $enc); - } - - if (self::getIsIconvEnabled()) { - return iconv_strlen($value, $enc); - } - - // else strlen - return strlen($value); - } - - /** - * Get a substring of a UTF-8 encoded string. First try mbstring, then iconv, finally strlen - * - * @param string $pValue UTF-8 encoded string - * @param int $pStart Start offset - * @param int $pLength Maximum number of characters in substring - * @return string - */ - public static function Substring($pValue = '', $pStart = 0, $pLength = 0) - { - if (self::getIsMbstringEnabled()) { - return mb_substr($pValue, $pStart, $pLength, 'UTF-8'); - } - - if (self::getIsIconvEnabled()) { - return iconv_substr($pValue, $pStart, $pLength, 'UTF-8'); - } - - // else substr - return substr($pValue, $pStart, $pLength); - } - - /** - * Convert a UTF-8 encoded string to upper case - * - * @param string $pValue UTF-8 encoded string - * @return string - */ - public static function StrToUpper($pValue = '') - { - if (function_exists('mb_convert_case')) { - return mb_convert_case($pValue, MB_CASE_UPPER, "UTF-8"); - } - return strtoupper($pValue); - } - - /** - * Convert a UTF-8 encoded string to lower case - * - * @param string $pValue UTF-8 encoded string - * @return string - */ - public static function StrToLower($pValue = '') - { - if (function_exists('mb_convert_case')) { - return mb_convert_case($pValue, MB_CASE_LOWER, "UTF-8"); - } - return strtolower($pValue); - } - - /** - * Convert a UTF-8 encoded string to title/proper case - * (uppercase every first character in each word, lower case all other characters) - * - * @param string $pValue UTF-8 encoded string - * @return string - */ - public static function StrToTitle($pValue = '') - { - if (function_exists('mb_convert_case')) { - return mb_convert_case($pValue, MB_CASE_TITLE, "UTF-8"); - } - return ucwords($pValue); - } - - /** - * Identify whether a string contains a fractional numeric value, - * and convert it to a numeric if it is - * - * @param string &$operand string value to test - * @return boolean - */ - public static function convertToNumberIfFraction(&$operand) { - if (preg_match('/^'.self::STRING_REGEXP_FRACTION.'$/i', $operand, $match)) { - $sign = ($match[1] == '-') ? '-' : '+'; - $fractionFormula = '='.$sign.$match[2].$sign.$match[3]; - $operand = PHPExcel_Calculation::getInstance()->_calculateFormulaValue($fractionFormula); - return true; - } - return false; - } // function convertToNumberIfFraction() - - /** - * Get the decimal separator. If it has not yet been set explicitly, try to obtain number - * formatting information from locale. - * - * @return string - */ - public static function getDecimalSeparator() - { - if (!isset(self::$_decimalSeparator)) { - $localeconv = localeconv(); - self::$_decimalSeparator = ($localeconv['decimal_point'] != '') - ? $localeconv['decimal_point'] : $localeconv['mon_decimal_point']; - - if (self::$_decimalSeparator == '') { - // Default to . - self::$_decimalSeparator = '.'; - } - } - return self::$_decimalSeparator; - } - - /** - * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString() - * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF - * - * @param string $pValue Character for decimal separator - */ - public static function setDecimalSeparator($pValue = '.') - { - self::$_decimalSeparator = $pValue; - } - - /** - * Get the thousands separator. If it has not yet been set explicitly, try to obtain number - * formatting information from locale. - * - * @return string - */ - public static function getThousandsSeparator() - { - if (!isset(self::$_thousandsSeparator)) { - $localeconv = localeconv(); - self::$_thousandsSeparator = ($localeconv['thousands_sep'] != '') - ? $localeconv['thousands_sep'] : $localeconv['mon_thousands_sep']; - - if (self::$_thousandsSeparator == '') { - // Default to . - self::$_thousandsSeparator = ','; - } - } - return self::$_thousandsSeparator; - } - - /** - * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString() - * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF - * - * @param string $pValue Character for thousands separator - */ - public static function setThousandsSeparator($pValue = ',') - { - self::$_thousandsSeparator = $pValue; - } - - /** - * Get the currency code. If it has not yet been set explicitly, try to obtain the - * symbol information from locale. - * - * @return string - */ - public static function getCurrencyCode() - { - if (!isset(self::$_currencyCode)) { - $localeconv = localeconv(); - self::$_currencyCode = ($localeconv['currency_symbol'] != '') - ? $localeconv['currency_symbol'] : $localeconv['int_curr_symbol']; - - if (self::$_currencyCode == '') { - // Default to $ - self::$_currencyCode = '$'; - } - } - return self::$_currencyCode; - } - - /** - * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString() - * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF - * - * @param string $pValue Character for currency code - */ - public static function setCurrencyCode($pValue = '$') - { - self::$_currencyCode = $pValue; - } - - /** - * Convert SYLK encoded string to UTF-8 - * - * @param string $pValue - * @return string UTF-8 encoded string - */ - public static function SYLKtoUTF8($pValue = '') - { - // If there is no escape character in the string there is nothing to do - if (strpos($pValue, '') === false) { - return $pValue; - } - - foreach (self::$_SYLKCharacters as $k => $v) { - $pValue = str_replace($k, $v, $pValue); - } - - return $pValue; - } - - /** - * Retrieve any leading numeric part of a string, or return the full string if no leading numeric - * (handles basic integer or float, but not exponent or non decimal) - * - * @param string $value - * @return mixed string or only the leading numeric part of the string - */ - public static function testStringAsNumeric($value) - { - if (is_numeric($value)) - return $value; - $v = floatval($value); - return (is_numeric(substr($value,0,strlen($v)))) ? $v : $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/TimeZone.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/TimeZone.php deleted file mode 100644 index 1792a2953..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/TimeZone.php +++ /dev/null @@ -1,140 +0,0 @@ -<?php - -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_TimeZone - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_TimeZone -{ - /* - * Default Timezone used for date/time conversions - * - * @private - * @var string - */ - protected static $_timezone = 'UTC'; - - /** - * Validate a Timezone name - * - * @param string $timezone Time zone (e.g. 'Europe/London') - * @return boolean Success or failure - */ - public static function _validateTimeZone($timezone) { - if (in_array($timezone, DateTimeZone::listIdentifiers())) { - return TRUE; - } - return FALSE; - } - - /** - * Set the Default Timezone used for date/time conversions - * - * @param string $timezone Time zone (e.g. 'Europe/London') - * @return boolean Success or failure - */ - public static function setTimeZone($timezone) { - if (self::_validateTimezone($timezone)) { - self::$_timezone = $timezone; - return TRUE; - } - return FALSE; - } // function setTimezone() - - - /** - * Return the Default Timezone used for date/time conversions - * - * @return string Timezone (e.g. 'Europe/London') - */ - public static function getTimeZone() { - return self::$_timezone; - } // function getTimezone() - - - /** - * Return the Timezone transition for the specified timezone and timestamp - * - * @param DateTimeZone $objTimezone The timezone for finding the transitions - * @param integer $timestamp PHP date/time value for finding the current transition - * @return array The current transition details - */ - private static function _getTimezoneTransitions($objTimezone, $timestamp) { - $allTransitions = $objTimezone->getTransitions(); - $transitions = array(); - foreach($allTransitions as $key => $transition) { - if ($transition['ts'] > $timestamp) { - $transitions[] = ($key > 0) ? $allTransitions[$key - 1] : $transition; - break; - } - if (empty($transitions)) { - $transitions[] = end($allTransitions); - } - } - - return $transitions; - } - - /** - * Return the Timezone offset used for date/time conversions to/from UST - * This requires both the timezone and the calculated date/time to allow for local DST - * - * @param string $timezone The timezone for finding the adjustment to UST - * @param integer $timestamp PHP date/time value - * @return integer Number of seconds for timezone adjustment - * @throws PHPExcel_Exception - */ - public static function getTimeZoneAdjustment($timezone, $timestamp) { - if ($timezone !== NULL) { - if (!self::_validateTimezone($timezone)) { - throw new PHPExcel_Exception("Invalid timezone " . $timezone); - } - } else { - $timezone = self::$_timezone; - } - - if ($timezone == 'UST') { - return 0; - } - - $objTimezone = new DateTimeZone($timezone); - if (version_compare(PHP_VERSION, '5.3.0') >= 0) { - $transitions = $objTimezone->getTransitions($timestamp,$timestamp); - } else { - $transitions = self::_getTimezoneTransitions($objTimezone, $timestamp); - } - - return (count($transitions) > 0) ? $transitions[0]['offset'] : 0; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/XMLWriter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/XMLWriter.php deleted file mode 100644 index beca51fc5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/XMLWriter.php +++ /dev/null @@ -1,127 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -if (!defined('DATE_W3C')) { - define('DATE_W3C', 'Y-m-d\TH:i:sP'); -} - -if (!defined('DEBUGMODE_ENABLED')) { - define('DEBUGMODE_ENABLED', false); -} - - -/** - * PHPExcel_Shared_XMLWriter - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_XMLWriter extends XMLWriter { - /** Temporary storage method */ - const STORAGE_MEMORY = 1; - const STORAGE_DISK = 2; - - /** - * Temporary filename - * - * @var string - */ - private $_tempFileName = ''; - - /** - * Create a new PHPExcel_Shared_XMLWriter instance - * - * @param int $pTemporaryStorage Temporary storage location - * @param string $pTemporaryStorageFolder Temporary storage folder - */ - public function __construct($pTemporaryStorage = self::STORAGE_MEMORY, $pTemporaryStorageFolder = NULL) { - // Open temporary storage - if ($pTemporaryStorage == self::STORAGE_MEMORY) { - $this->openMemory(); - } else { - // Create temporary filename - if ($pTemporaryStorageFolder === NULL) - $pTemporaryStorageFolder = PHPExcel_Shared_File::sys_get_temp_dir(); - $this->_tempFileName = @tempnam($pTemporaryStorageFolder, 'xml'); - - // Open storage - if ($this->openUri($this->_tempFileName) === false) { - // Fallback to memory... - $this->openMemory(); - } - } - - // Set default values - if (DEBUGMODE_ENABLED) { - $this->setIndent(true); - } - } - - /** - * Destructor - */ - public function __destruct() { - // Unlink temporary files - if ($this->_tempFileName != '') { - @unlink($this->_tempFileName); - } - } - - /** - * Get written data - * - * @return $data - */ - public function getData() { - if ($this->_tempFileName == '') { - return $this->outputMemory(true); - } else { - $this->flush(); - return file_get_contents($this->_tempFileName); - } - } - - /** - * Fallback method for writeRaw, introduced in PHP 5.2 - * - * @param string $text - * @return string - */ - public function writeRawData($text) - { - if (is_array($text)) { - $text = implode("\n",$text); - } - - if (method_exists($this, 'writeRaw')) { - return $this->writeRaw(htmlspecialchars($text)); - } - - return $this->text($text); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/ZipArchive.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/ZipArchive.php deleted file mode 100644 index 9a801a841..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/ZipArchive.php +++ /dev/null @@ -1,175 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_ZipArchive - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -if (!defined('PCLZIP_TEMPORARY_DIR')) { - define('PCLZIP_TEMPORARY_DIR', PHPExcel_Shared_File::sys_get_temp_dir() . DIRECTORY_SEPARATOR); -} -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/PCLZip/pclzip.lib.php'; - - -/** - * PHPExcel_Shared_ZipArchive - * - * @category PHPExcel - * @package PHPExcel_Shared_ZipArchive - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_ZipArchive -{ - - /** constants */ - const OVERWRITE = 'OVERWRITE'; - const CREATE = 'CREATE'; - - - /** - * Temporary storage directory - * - * @var string - */ - private $_tempDir; - - /** - * Zip Archive Stream Handle - * - * @var string - */ - private $_zip; - - - /** - * Open a new zip archive - * - * @param string $fileName Filename for the zip archive - * @return boolean - */ - public function open($fileName) - { - $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir(); - - $this->_zip = new PclZip($fileName); - - return true; - } - - - /** - * Close this zip archive - * - */ - public function close() - { - } - - - /** - * Add a new file to the zip archive from a string of raw data. - * - * @param string $localname Directory/Name of the file to add to the zip archive - * @param string $contents String of data to add to the zip archive - */ - public function addFromString($localname, $contents) - { - $filenameParts = pathinfo($localname); - - $handle = fopen($this->_tempDir.'/'.$filenameParts["basename"], "wb"); - fwrite($handle, $contents); - fclose($handle); - - $res = $this->_zip->add($this->_tempDir.'/'.$filenameParts["basename"], - PCLZIP_OPT_REMOVE_PATH, $this->_tempDir, - PCLZIP_OPT_ADD_PATH, $filenameParts["dirname"] - ); - if ($res == 0) { - throw new PHPExcel_Writer_Exception("Error zipping files : " . $this->_zip->errorInfo(true)); - } - - unlink($this->_tempDir.'/'.$filenameParts["basename"]); - } - - /** - * Find if given fileName exist in archive (Emulate ZipArchive locateName()) - * - * @param string $fileName Filename for the file in zip archive - * @return boolean - */ - public function locateName($fileName) - { - $list = $this->_zip->listContent(); - $listCount = count($list); - $list_index = -1; - for ($i = 0; $i < $listCount; ++$i) { - if (strtolower($list[$i]["filename"]) == strtolower($fileName) || - strtolower($list[$i]["stored_filename"]) == strtolower($fileName)) { - $list_index = $i; - break; - } - } - return ($list_index > -1); - } - - /** - * Extract file from archive by given fileName (Emulate ZipArchive getFromName()) - * - * @param string $fileName Filename for the file in zip archive - * @return string $contents File string contents - */ - public function getFromName($fileName) - { - $list = $this->_zip->listContent(); - $listCount = count($list); - $list_index = -1; - for ($i = 0; $i < $listCount; ++$i) { - if (strtolower($list[$i]["filename"]) == strtolower($fileName) || - strtolower($list[$i]["stored_filename"]) == strtolower($fileName)) { - $list_index = $i; - break; - } - } - - $extracted = ""; - if ($list_index != -1) { - $extracted = $this->_zip->extractByIndex($list_index, PCLZIP_OPT_EXTRACT_AS_STRING); - } else { - $filename = substr($fileName, 1); - $list_index = -1; - for ($i = 0; $i < $listCount; ++$i) { - if (strtolower($list[$i]["filename"]) == strtolower($fileName) || - strtolower($list[$i]["stored_filename"]) == strtolower($fileName)) { - $list_index = $i; - break; - } - } - $extracted = $this->_zip->extractByIndex($list_index, PCLZIP_OPT_EXTRACT_AS_STRING); - } - if ((is_array($extracted)) && ($extracted != 0)) { - $contents = $extracted[0]["content"]; - } - - return $contents; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/ZipStreamWrapper.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/ZipStreamWrapper.php deleted file mode 100644 index 6e63d3ce3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/ZipStreamWrapper.php +++ /dev/null @@ -1,201 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_ZipStreamWrapper - * - * @category PHPExcel - * @package PHPExcel_Shared - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Shared_ZipStreamWrapper { - /** - * Internal ZipAcrhive - * - * @var ZipAcrhive - */ - private $_archive; - - /** - * Filename in ZipAcrhive - * - * @var string - */ - private $_fileNameInArchive = ''; - - /** - * Position in file - * - * @var int - */ - private $_position = 0; - - /** - * Data - * - * @var mixed - */ - private $_data = ''; - - /** - * Register wrapper - */ - public static function register() { - @stream_wrapper_unregister("zip"); - @stream_wrapper_register("zip", __CLASS__); - } - - /** - * Implements support for fopen(). - * - * @param string $path resource name including scheme, e.g. - * @param string $mode only "r" is supported - * @param int $options mask of STREAM_REPORT_ERRORS and STREAM_USE_PATH - * @param string &$openedPath absolute path of the opened stream (out parameter) - * @return bool true on success - */ - public function stream_open($path, $mode, $options, &$opened_path) { - // Check for mode - if ($mode{0} != 'r') { - throw new PHPExcel_Reader_Exception('Mode ' . $mode . ' is not supported. Only read mode is supported.'); - } - - $pos = strrpos($path, '#'); - $url['host'] = substr($path, 6, $pos - 6); // 6: strlen('zip://') - $url['fragment'] = substr($path, $pos + 1); - - // Open archive - $this->_archive = new ZipArchive(); - $this->_archive->open($url['host']); - - $this->_fileNameInArchive = $url['fragment']; - $this->_position = 0; - $this->_data = $this->_archive->getFromName( $this->_fileNameInArchive ); - - return true; - } - - /** - * Implements support for fstat(). - * - * @return boolean - */ - public function statName() { - return $this->_fileNameInArchive; - } - - /** - * Implements support for fstat(). - * - * @return boolean - */ - public function url_stat() { - return $this->statName( $this->_fileNameInArchive ); - } - - /** - * Implements support for fstat(). - * - * @return boolean - */ - public function stream_stat() { - return $this->_archive->statName( $this->_fileNameInArchive ); - } - - /** - * Implements support for fread(), fgets() etc. - * - * @param int $count maximum number of bytes to read - * @return string - */ - function stream_read($count) { - $ret = substr($this->_data, $this->_position, $count); - $this->_position += strlen($ret); - return $ret; - } - - /** - * Returns the position of the file pointer, i.e. its offset into the file - * stream. Implements support for ftell(). - * - * @return int - */ - public function stream_tell() { - return $this->_position; - } - - /** - * EOF stream - * - * @return bool - */ - public function stream_eof() { - return $this->_position >= strlen($this->_data); - } - - /** - * Seek stream - * - * @param int $offset byte offset - * @param int $whence SEEK_SET, SEEK_CUR or SEEK_END - * @return bool - */ - public function stream_seek($offset, $whence) { - switch ($whence) { - case SEEK_SET: - if ($offset < strlen($this->_data) && $offset >= 0) { - $this->_position = $offset; - return true; - } else { - return false; - } - break; - - case SEEK_CUR: - if ($offset >= 0) { - $this->_position += $offset; - return true; - } else { - return false; - } - break; - - case SEEK_END: - if (strlen($this->_data) + $offset >= 0) { - $this->_position = strlen($this->_data) + $offset; - return true; - } else { - return false; - } - break; - - default: - return false; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/bestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/bestFitClass.php deleted file mode 100644 index 9ae8b006d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/bestFitClass.php +++ /dev/null @@ -1,432 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Best_Fit -{ - /** - * Indicator flag for a calculation error - * - * @var boolean - **/ - protected $_error = False; - - /** - * Algorithm type to use for best-fit - * - * @var string - **/ - protected $_bestFitType = 'undetermined'; - - /** - * Number of entries in the sets of x- and y-value arrays - * - * @var int - **/ - protected $_valueCount = 0; - - /** - * X-value dataseries of values - * - * @var float[] - **/ - protected $_xValues = array(); - - /** - * Y-value dataseries of values - * - * @var float[] - **/ - protected $_yValues = array(); - - /** - * Flag indicating whether values should be adjusted to Y=0 - * - * @var boolean - **/ - protected $_adjustToZero = False; - - /** - * Y-value series of best-fit values - * - * @var float[] - **/ - protected $_yBestFitValues = array(); - - protected $_goodnessOfFit = 1; - - protected $_stdevOfResiduals = 0; - - protected $_covariance = 0; - - protected $_correlation = 0; - - protected $_SSRegression = 0; - - protected $_SSResiduals = 0; - - protected $_DFResiduals = 0; - - protected $_F = 0; - - protected $_slope = 0; - - protected $_slopeSE = 0; - - protected $_intersect = 0; - - protected $_intersectSE = 0; - - protected $_Xoffset = 0; - - protected $_Yoffset = 0; - - - public function getError() { - return $this->_error; - } // function getBestFitType() - - - public function getBestFitType() { - return $this->_bestFitType; - } // function getBestFitType() - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - */ - public function getValueOfYForX($xValue) { - return False; - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - */ - public function getValueOfXForY($yValue) { - return False; - } // function getValueOfXForY() - - - /** - * Return the original set of X-Values - * - * @return float[] X-Values - */ - public function getXValues() { - return $this->_xValues; - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getEquation($dp=0) { - return False; - } // function getEquation() - - - /** - * Return the Slope of the line - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getSlope($dp=0) { - if ($dp != 0) { - return round($this->_slope,$dp); - } - return $this->_slope; - } // function getSlope() - - - /** - * Return the standard error of the Slope - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getSlopeSE($dp=0) { - if ($dp != 0) { - return round($this->_slopeSE,$dp); - } - return $this->_slopeSE; - } // function getSlopeSE() - - - /** - * Return the Value of X where it intersects Y = 0 - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getIntersect($dp=0) { - if ($dp != 0) { - return round($this->_intersect,$dp); - } - return $this->_intersect; - } // function getIntersect() - - - /** - * Return the standard error of the Intersect - * - * @param int $dp Number of places of decimal precision to display - * @return string - */ - public function getIntersectSE($dp=0) { - if ($dp != 0) { - return round($this->_intersectSE,$dp); - } - return $this->_intersectSE; - } // function getIntersectSE() - - - /** - * Return the goodness of fit for this regression - * - * @param int $dp Number of places of decimal precision to return - * @return float - */ - public function getGoodnessOfFit($dp=0) { - if ($dp != 0) { - return round($this->_goodnessOfFit,$dp); - } - return $this->_goodnessOfFit; - } // function getGoodnessOfFit() - - - public function getGoodnessOfFitPercent($dp=0) { - if ($dp != 0) { - return round($this->_goodnessOfFit * 100,$dp); - } - return $this->_goodnessOfFit * 100; - } // function getGoodnessOfFitPercent() - - - /** - * Return the standard deviation of the residuals for this regression - * - * @param int $dp Number of places of decimal precision to return - * @return float - */ - public function getStdevOfResiduals($dp=0) { - if ($dp != 0) { - return round($this->_stdevOfResiduals,$dp); - } - return $this->_stdevOfResiduals; - } // function getStdevOfResiduals() - - - public function getSSRegression($dp=0) { - if ($dp != 0) { - return round($this->_SSRegression,$dp); - } - return $this->_SSRegression; - } // function getSSRegression() - - - public function getSSResiduals($dp=0) { - if ($dp != 0) { - return round($this->_SSResiduals,$dp); - } - return $this->_SSResiduals; - } // function getSSResiduals() - - - public function getDFResiduals($dp=0) { - if ($dp != 0) { - return round($this->_DFResiduals,$dp); - } - return $this->_DFResiduals; - } // function getDFResiduals() - - - public function getF($dp=0) { - if ($dp != 0) { - return round($this->_F,$dp); - } - return $this->_F; - } // function getF() - - - public function getCovariance($dp=0) { - if ($dp != 0) { - return round($this->_covariance,$dp); - } - return $this->_covariance; - } // function getCovariance() - - - public function getCorrelation($dp=0) { - if ($dp != 0) { - return round($this->_correlation,$dp); - } - return $this->_correlation; - } // function getCorrelation() - - - public function getYBestFitValues() { - return $this->_yBestFitValues; - } // function getYBestFitValues() - - - protected function _calculateGoodnessOfFit($sumX,$sumY,$sumX2,$sumY2,$sumXY,$meanX,$meanY, $const) { - $SSres = $SScov = $SScor = $SStot = $SSsex = 0.0; - foreach($this->_xValues as $xKey => $xValue) { - $bestFitY = $this->_yBestFitValues[$xKey] = $this->getValueOfYForX($xValue); - - $SSres += ($this->_yValues[$xKey] - $bestFitY) * ($this->_yValues[$xKey] - $bestFitY); - if ($const) { - $SStot += ($this->_yValues[$xKey] - $meanY) * ($this->_yValues[$xKey] - $meanY); - } else { - $SStot += $this->_yValues[$xKey] * $this->_yValues[$xKey]; - } - $SScov += ($this->_xValues[$xKey] - $meanX) * ($this->_yValues[$xKey] - $meanY); - if ($const) { - $SSsex += ($this->_xValues[$xKey] - $meanX) * ($this->_xValues[$xKey] - $meanX); - } else { - $SSsex += $this->_xValues[$xKey] * $this->_xValues[$xKey]; - } - } - - $this->_SSResiduals = $SSres; - $this->_DFResiduals = $this->_valueCount - 1 - $const; - - if ($this->_DFResiduals == 0.0) { - $this->_stdevOfResiduals = 0.0; - } else { - $this->_stdevOfResiduals = sqrt($SSres / $this->_DFResiduals); - } - if (($SStot == 0.0) || ($SSres == $SStot)) { - $this->_goodnessOfFit = 1; - } else { - $this->_goodnessOfFit = 1 - ($SSres / $SStot); - } - - $this->_SSRegression = $this->_goodnessOfFit * $SStot; - $this->_covariance = $SScov / $this->_valueCount; - $this->_correlation = ($this->_valueCount * $sumXY - $sumX * $sumY) / sqrt(($this->_valueCount * $sumX2 - pow($sumX,2)) * ($this->_valueCount * $sumY2 - pow($sumY,2))); - $this->_slopeSE = $this->_stdevOfResiduals / sqrt($SSsex); - $this->_intersectSE = $this->_stdevOfResiduals * sqrt(1 / ($this->_valueCount - ($sumX * $sumX) / $sumX2)); - if ($this->_SSResiduals != 0.0) { - if ($this->_DFResiduals == 0.0) { - $this->_F = 0.0; - } else { - $this->_F = $this->_SSRegression / ($this->_SSResiduals / $this->_DFResiduals); - } - } else { - if ($this->_DFResiduals == 0.0) { - $this->_F = 0.0; - } else { - $this->_F = $this->_SSRegression / $this->_DFResiduals; - } - } - } // function _calculateGoodnessOfFit() - - - protected function _leastSquareFit($yValues, $xValues, $const) { - // calculate sums - $x_sum = array_sum($xValues); - $y_sum = array_sum($yValues); - $meanX = $x_sum / $this->_valueCount; - $meanY = $y_sum / $this->_valueCount; - $mBase = $mDivisor = $xx_sum = $xy_sum = $yy_sum = 0.0; - for($i = 0; $i < $this->_valueCount; ++$i) { - $xy_sum += $xValues[$i] * $yValues[$i]; - $xx_sum += $xValues[$i] * $xValues[$i]; - $yy_sum += $yValues[$i] * $yValues[$i]; - - if ($const) { - $mBase += ($xValues[$i] - $meanX) * ($yValues[$i] - $meanY); - $mDivisor += ($xValues[$i] - $meanX) * ($xValues[$i] - $meanX); - } else { - $mBase += $xValues[$i] * $yValues[$i]; - $mDivisor += $xValues[$i] * $xValues[$i]; - } - } - - // calculate slope -// $this->_slope = (($this->_valueCount * $xy_sum) - ($x_sum * $y_sum)) / (($this->_valueCount * $xx_sum) - ($x_sum * $x_sum)); - $this->_slope = $mBase / $mDivisor; - - // calculate intersect -// $this->_intersect = ($y_sum - ($this->_slope * $x_sum)) / $this->_valueCount; - if ($const) { - $this->_intersect = $meanY - ($this->_slope * $meanX); - } else { - $this->_intersect = 0; - } - - $this->_calculateGoodnessOfFit($x_sum,$y_sum,$xx_sum,$yy_sum,$xy_sum,$meanX,$meanY,$const); - } // function _leastSquareFit() - - - /** - * Define the regression - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - // Calculate number of points - $nY = count($yValues); - $nX = count($xValues); - - // Define X Values if necessary - if ($nX == 0) { - $xValues = range(1,$nY); - $nX = $nY; - } elseif ($nY != $nX) { - // Ensure both arrays of points are the same size - $this->_error = True; - return False; - } - - $this->_valueCount = $nY; - $this->_xValues = $xValues; - $this->_yValues = $yValues; - } // function __construct() - -} // class bestFit diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/exponentialBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/exponentialBestFitClass.php deleted file mode 100644 index b524b5fe4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/exponentialBestFitClass.php +++ /dev/null @@ -1,148 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'); - - -/** - * PHPExcel_Exponential_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Exponential_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'exponential'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() * pow($this->getSlope(),($xValue - $this->_Xoffset)); - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return log(($yValue + $this->_Yoffset) / $this->getIntersect()) / log($this->getSlope()); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' * '.$slope.'^X'; - } // function getEquation() - - - /** - * Return the Slope of the line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getSlope($dp=0) { - if ($dp != 0) { - return round(exp($this->_slope),$dp); - } - return exp($this->_slope); - } // function getSlope() - - - /** - * Return the Value of X where it intersects Y = 0 - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getIntersect($dp=0) { - if ($dp != 0) { - return round(exp($this->_intersect),$dp); - } - return exp($this->_intersect); - } // function getIntersect() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _exponential_regression($yValues, $xValues, $const) { - foreach($yValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - - $this->_leastSquareFit($yValues, $xValues, $const); - } // function _exponential_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_exponential_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class exponentialBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/linearBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/linearBestFitClass.php deleted file mode 100644 index 7d811aa5b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/linearBestFitClass.php +++ /dev/null @@ -1,111 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'); - - -/** - * PHPExcel_Linear_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Linear_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'linear'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() + $this->getSlope() * $xValue; - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return ($yValue - $this->getIntersect()) / $this->getSlope(); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' + '.$slope.' * X'; - } // function getEquation() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _linear_regression($yValues, $xValues, $const) { - $this->_leastSquareFit($yValues, $xValues,$const); - } // function _linear_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_linear_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class linearBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/logarithmicBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/logarithmicBestFitClass.php deleted file mode 100644 index b43cd5edf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/logarithmicBestFitClass.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once(PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'); - - -/** - * PHPExcel_Logarithmic_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Logarithmic_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'logarithmic'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() + $this->getSlope() * log($xValue - $this->_Xoffset); - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return exp(($yValue - $this->getIntersect()) / $this->getSlope()); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' + '.$slope.' * log(X)'; - } // function getEquation() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _logarithmic_regression($yValues, $xValues, $const) { - foreach($xValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - - $this->_leastSquareFit($yValues, $xValues, $const); - } // function _logarithmic_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_logarithmic_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class logarithmicBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/polynomialBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/polynomialBestFitClass.php deleted file mode 100644 index 3d329eb7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/polynomialBestFitClass.php +++ /dev/null @@ -1,224 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/JAMA/Matrix.php'; - - -/** - * PHPExcel_Polynomial_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Polynomial_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'polynomial'; - - /** - * Polynomial order - * - * @protected - * @var int - **/ - protected $_order = 0; - - - /** - * Return the order of this polynomial - * - * @return int - **/ - public function getOrder() { - return $this->_order; - } // function getOrder() - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - $retVal = $this->getIntersect(); - $slope = $this->getSlope(); - foreach($slope as $key => $value) { - if ($value != 0.0) { - $retVal += $value * pow($xValue, $key + 1); - } - } - return $retVal; - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return ($yValue - $this->getIntersect()) / $this->getSlope(); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - $equation = 'Y = '.$intersect; - foreach($slope as $key => $value) { - if ($value != 0.0) { - $equation .= ' + '.$value.' * X'; - if ($key > 0) { - $equation .= '^'.($key + 1); - } - } - } - return $equation; - } // function getEquation() - - - /** - * Return the Slope of the line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getSlope($dp=0) { - if ($dp != 0) { - $coefficients = array(); - foreach($this->_slope as $coefficient) { - $coefficients[] = round($coefficient,$dp); - } - return $coefficients; - } - return $this->_slope; - } // function getSlope() - - - public function getCoefficients($dp=0) { - return array_merge(array($this->getIntersect($dp)),$this->getSlope($dp)); - } // function getCoefficients() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param int $order Order of Polynomial for this regression - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _polynomial_regression($order, $yValues, $xValues, $const) { - // calculate sums - $x_sum = array_sum($xValues); - $y_sum = array_sum($yValues); - $xx_sum = $xy_sum = 0; - for($i = 0; $i < $this->_valueCount; ++$i) { - $xy_sum += $xValues[$i] * $yValues[$i]; - $xx_sum += $xValues[$i] * $xValues[$i]; - $yy_sum += $yValues[$i] * $yValues[$i]; - } - /* - * This routine uses logic from the PHP port of polyfit version 0.1 - * written by Michael Bommarito and Paul Meagher - * - * The function fits a polynomial function of order $order through - * a series of x-y data points using least squares. - * - */ - for ($i = 0; $i < $this->_valueCount; ++$i) { - for ($j = 0; $j <= $order; ++$j) { - $A[$i][$j] = pow($xValues[$i], $j); - } - } - for ($i=0; $i < $this->_valueCount; ++$i) { - $B[$i] = array($yValues[$i]); - } - $matrixA = new Matrix($A); - $matrixB = new Matrix($B); - $C = $matrixA->solve($matrixB); - - $coefficients = array(); - for($i = 0; $i < $C->m; ++$i) { - $r = $C->get($i, 0); - if (abs($r) <= pow(10, -9)) { - $r = 0; - } - $coefficients[] = $r; - } - - $this->_intersect = array_shift($coefficients); - $this->_slope = $coefficients; - - $this->_calculateGoodnessOfFit($x_sum,$y_sum,$xx_sum,$yy_sum,$xy_sum); - foreach($this->_xValues as $xKey => $xValue) { - $this->_yBestFitValues[$xKey] = $this->getValueOfYForX($xValue); - } - } // function _polynomial_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param int $order Order of Polynomial for this regression - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($order, $yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - if ($order < $this->_valueCount) { - $this->_bestFitType .= '_'.$order; - $this->_order = $order; - $this->_polynomial_regression($order, $yValues, $xValues, $const); - if (($this->getGoodnessOfFit() < 0.0) || ($this->getGoodnessOfFit() > 1.0)) { - $this->_error = True; - } - } else { - $this->_error = True; - } - } - } // function __construct() - -} // class polynomialBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/powerBestFitClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/powerBestFitClass.php deleted file mode 100644 index 832669c9f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/powerBestFitClass.php +++ /dev/null @@ -1,142 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/bestFitClass.php'; - - -/** - * PHPExcel_Power_Best_Fit - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Power_Best_Fit extends PHPExcel_Best_Fit -{ - /** - * Algorithm type to use for best-fit - * (Name of this trend class) - * - * @var string - **/ - protected $_bestFitType = 'power'; - - - /** - * Return the Y-Value for a specified value of X - * - * @param float $xValue X-Value - * @return float Y-Value - **/ - public function getValueOfYForX($xValue) { - return $this->getIntersect() * pow(($xValue - $this->_Xoffset),$this->getSlope()); - } // function getValueOfYForX() - - - /** - * Return the X-Value for a specified value of Y - * - * @param float $yValue Y-Value - * @return float X-Value - **/ - public function getValueOfXForY($yValue) { - return pow((($yValue + $this->_Yoffset) / $this->getIntersect()),(1 / $this->getSlope())); - } // function getValueOfXForY() - - - /** - * Return the Equation of the best-fit line - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getEquation($dp=0) { - $slope = $this->getSlope($dp); - $intersect = $this->getIntersect($dp); - - return 'Y = '.$intersect.' * X^'.$slope; - } // function getEquation() - - - /** - * Return the Value of X where it intersects Y = 0 - * - * @param int $dp Number of places of decimal precision to display - * @return string - **/ - public function getIntersect($dp=0) { - if ($dp != 0) { - return round(exp($this->_intersect),$dp); - } - return exp($this->_intersect); - } // function getIntersect() - - - /** - * Execute the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - private function _power_regression($yValues, $xValues, $const) { - foreach($xValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - foreach($yValues as &$value) { - if ($value < 0.0) { - $value = 0 - log(abs($value)); - } elseif ($value > 0.0) { - $value = log($value); - } - } - unset($value); - - $this->_leastSquareFit($yValues, $xValues, $const); - } // function _power_regression() - - - /** - * Define the regression and calculate the goodness of fit for a set of X and Y data values - * - * @param float[] $yValues The set of Y-values for this regression - * @param float[] $xValues The set of X-values for this regression - * @param boolean $const - */ - function __construct($yValues, $xValues=array(), $const=True) { - if (parent::__construct($yValues, $xValues) !== False) { - $this->_power_regression($yValues, $xValues, $const); - } - } // function __construct() - -} // class powerBestFit \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/trendClass.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/trendClass.php deleted file mode 100644 index 25d7eb1d8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Shared/trend/trendClass.php +++ /dev/null @@ -1,156 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/linearBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/logarithmicBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/exponentialBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/powerBestFitClass.php'; -require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/trend/polynomialBestFitClass.php'; - - -/** - * PHPExcel_trendClass - * - * @category PHPExcel - * @package PHPExcel_Shared_Trend - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class trendClass -{ - const TREND_LINEAR = 'Linear'; - const TREND_LOGARITHMIC = 'Logarithmic'; - const TREND_EXPONENTIAL = 'Exponential'; - const TREND_POWER = 'Power'; - const TREND_POLYNOMIAL_2 = 'Polynomial_2'; - const TREND_POLYNOMIAL_3 = 'Polynomial_3'; - const TREND_POLYNOMIAL_4 = 'Polynomial_4'; - const TREND_POLYNOMIAL_5 = 'Polynomial_5'; - const TREND_POLYNOMIAL_6 = 'Polynomial_6'; - const TREND_BEST_FIT = 'Bestfit'; - const TREND_BEST_FIT_NO_POLY = 'Bestfit_no_Polynomials'; - - /** - * Names of the best-fit trend analysis methods - * - * @var string[] - **/ - private static $_trendTypes = array( self::TREND_LINEAR, - self::TREND_LOGARITHMIC, - self::TREND_EXPONENTIAL, - self::TREND_POWER - ); - /** - * Names of the best-fit trend polynomial orders - * - * @var string[] - **/ - private static $_trendTypePolyOrders = array( self::TREND_POLYNOMIAL_2, - self::TREND_POLYNOMIAL_3, - self::TREND_POLYNOMIAL_4, - self::TREND_POLYNOMIAL_5, - self::TREND_POLYNOMIAL_6 - ); - - /** - * Cached results for each method when trying to identify which provides the best fit - * - * @var PHPExcel_Best_Fit[] - **/ - private static $_trendCache = array(); - - - public static function calculate($trendType=self::TREND_BEST_FIT, $yValues, $xValues=array(), $const=True) { - // Calculate number of points in each dataset - $nY = count($yValues); - $nX = count($xValues); - - // Define X Values if necessary - if ($nX == 0) { - $xValues = range(1,$nY); - $nX = $nY; - } elseif ($nY != $nX) { - // Ensure both arrays of points are the same size - trigger_error("trend(): Number of elements in coordinate arrays do not match.", E_USER_ERROR); - } - - $key = md5($trendType.$const.serialize($yValues).serialize($xValues)); - // Determine which trend method has been requested - switch ($trendType) { - // Instantiate and return the class for the requested trend method - case self::TREND_LINEAR : - case self::TREND_LOGARITHMIC : - case self::TREND_EXPONENTIAL : - case self::TREND_POWER : - if (!isset(self::$_trendCache[$key])) { - $className = 'PHPExcel_'.$trendType.'_Best_Fit'; - self::$_trendCache[$key] = new $className($yValues,$xValues,$const); - } - return self::$_trendCache[$key]; - break; - case self::TREND_POLYNOMIAL_2 : - case self::TREND_POLYNOMIAL_3 : - case self::TREND_POLYNOMIAL_4 : - case self::TREND_POLYNOMIAL_5 : - case self::TREND_POLYNOMIAL_6 : - if (!isset(self::$_trendCache[$key])) { - $order = substr($trendType,-1); - self::$_trendCache[$key] = new PHPExcel_Polynomial_Best_Fit($order,$yValues,$xValues,$const); - } - return self::$_trendCache[$key]; - break; - case self::TREND_BEST_FIT : - case self::TREND_BEST_FIT_NO_POLY : - // If the request is to determine the best fit regression, then we test each trend line in turn - // Start by generating an instance of each available trend method - foreach(self::$_trendTypes as $trendMethod) { - $className = 'PHPExcel_'.$trendMethod.'BestFit'; - $bestFit[$trendMethod] = new $className($yValues,$xValues,$const); - $bestFitValue[$trendMethod] = $bestFit[$trendMethod]->getGoodnessOfFit(); - } - if ($trendType != self::TREND_BEST_FIT_NO_POLY) { - foreach(self::$_trendTypePolyOrders as $trendMethod) { - $order = substr($trendMethod,-1); - $bestFit[$trendMethod] = new PHPExcel_Polynomial_Best_Fit($order,$yValues,$xValues,$const); - if ($bestFit[$trendMethod]->getError()) { - unset($bestFit[$trendMethod]); - } else { - $bestFitValue[$trendMethod] = $bestFit[$trendMethod]->getGoodnessOfFit(); - } - } - } - // Determine which of our trend lines is the best fit, and then we return the instance of that trend class - arsort($bestFitValue); - $bestFitType = key($bestFitValue); - return $bestFit[$bestFitType]; - break; - default : - return false; - } - } // function calculate() - -} // class trendClass \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style.php deleted file mode 100644 index 9c29320ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style.php +++ /dev/null @@ -1,668 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /** - * Font - * - * @var PHPExcel_Style_Font - */ - protected $_font; - - /** - * Fill - * - * @var PHPExcel_Style_Fill - */ - protected $_fill; - - /** - * Borders - * - * @var PHPExcel_Style_Borders - */ - protected $_borders; - - /** - * Alignment - * - * @var PHPExcel_Style_Alignment - */ - protected $_alignment; - - /** - * Number Format - * - * @var PHPExcel_Style_NumberFormat - */ - protected $_numberFormat; - - /** - * Conditional styles - * - * @var PHPExcel_Style_Conditional[] - */ - protected $_conditionalStyles; - - /** - * Protection - * - * @var PHPExcel_Style_Protection - */ - protected $_protection; - - /** - * Index of style in collection. Only used for real style. - * - * @var int - */ - protected $_index; - - /** - * Use Quote Prefix when displaying in cell editor. Only used for real style. - * - * @var boolean - */ - protected $_quotePrefix = false; - - /** - * Create a new PHPExcel_Style - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = false, $isConditional = false) - { - // Supervisor? - $this->_isSupervisor = $isSupervisor; - - // Initialise values - $this->_conditionalStyles = array(); - $this->_font = new PHPExcel_Style_Font($isSupervisor, $isConditional); - $this->_fill = new PHPExcel_Style_Fill($isSupervisor, $isConditional); - $this->_borders = new PHPExcel_Style_Borders($isSupervisor, $isConditional); - $this->_alignment = new PHPExcel_Style_Alignment($isSupervisor, $isConditional); - $this->_numberFormat = new PHPExcel_Style_NumberFormat($isSupervisor, $isConditional); - $this->_protection = new PHPExcel_Style_Protection($isSupervisor, $isConditional); - - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_font->bindParent($this); - $this->_fill->bindParent($this); - $this->_borders->bindParent($this); - $this->_alignment->bindParent($this); - $this->_numberFormat->bindParent($this); - $this->_protection->bindParent($this); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style - */ - public function getSharedComponent() - { - $activeSheet = $this->getActiveSheet(); - $selectedCell = $this->getActiveCell(); // e.g. 'A1' - - if ($activeSheet->cellExists($selectedCell)) { - $xfIndex = $activeSheet->getCell($selectedCell)->getXfIndex(); - } else { - $xfIndex = 0; - } - - return $this->_parent->getCellXfByIndex($xfIndex); - } - - /** - * Get parent. Only used for style supervisor - * - * @return PHPExcel - */ - public function getParent() - { - return $this->_parent; - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('quotePrefix' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->applyFromArray( - * array( - * 'font' => array( - * 'name' => 'Arial', - * 'bold' => true, - * 'italic' => false, - * 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE, - * 'strike' => false, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ), - * 'borders' => array( - * 'bottom' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ), - * 'top' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ), - * 'quotePrefix' => true - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @param boolean $pAdvanced Advanced mode for setting borders. - * @throws PHPExcel_Exception - * @return PHPExcel_Style - */ - public function applyFromArray($pStyles = null, $pAdvanced = true) - { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - - $pRange = $this->getSelectedCells(); - - // Uppercase coordinate - $pRange = strtoupper($pRange); - - // Is it a cell range or a single cell? - if (strpos($pRange, ':') === false) { - $rangeA = $pRange; - $rangeB = $pRange; - } else { - list($rangeA, $rangeB) = explode(':', $pRange); - } - - // Calculate range outer borders - $rangeStart = PHPExcel_Cell::coordinateFromString($rangeA); - $rangeEnd = PHPExcel_Cell::coordinateFromString($rangeB); - - // Translate column into index - $rangeStart[0] = PHPExcel_Cell::columnIndexFromString($rangeStart[0]) - 1; - $rangeEnd[0] = PHPExcel_Cell::columnIndexFromString($rangeEnd[0]) - 1; - - // Make sure we can loop upwards on rows and columns - if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { - $tmp = $rangeStart; - $rangeStart = $rangeEnd; - $rangeEnd = $tmp; - } - - // ADVANCED MODE: - - if ($pAdvanced && isset($pStyles['borders'])) { - - // 'allborders' is a shorthand property for 'outline' and 'inside' and - // it applies to components that have not been set explicitly - if (isset($pStyles['borders']['allborders'])) { - foreach (array('outline', 'inside') as $component) { - if (!isset($pStyles['borders'][$component])) { - $pStyles['borders'][$component] = $pStyles['borders']['allborders']; - } - } - unset($pStyles['borders']['allborders']); // not needed any more - } - - // 'outline' is a shorthand property for 'top', 'right', 'bottom', 'left' - // it applies to components that have not been set explicitly - if (isset($pStyles['borders']['outline'])) { - foreach (array('top', 'right', 'bottom', 'left') as $component) { - if (!isset($pStyles['borders'][$component])) { - $pStyles['borders'][$component] = $pStyles['borders']['outline']; - } - } - unset($pStyles['borders']['outline']); // not needed any more - } - - // 'inside' is a shorthand property for 'vertical' and 'horizontal' - // it applies to components that have not been set explicitly - if (isset($pStyles['borders']['inside'])) { - foreach (array('vertical', 'horizontal') as $component) { - if (!isset($pStyles['borders'][$component])) { - $pStyles['borders'][$component] = $pStyles['borders']['inside']; - } - } - unset($pStyles['borders']['inside']); // not needed any more - } - - // width and height characteristics of selection, 1, 2, or 3 (for 3 or more) - $xMax = min($rangeEnd[0] - $rangeStart[0] + 1, 3); - $yMax = min($rangeEnd[1] - $rangeStart[1] + 1, 3); - - // loop through up to 3 x 3 = 9 regions - for ($x = 1; $x <= $xMax; ++$x) { - // start column index for region - $colStart = ($x == 3) ? - PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0]) - : PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] + $x - 1); - - // end column index for region - $colEnd = ($x == 1) ? - PHPExcel_Cell::stringFromColumnIndex($rangeStart[0]) - : PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0] - $xMax + $x); - - for ($y = 1; $y <= $yMax; ++$y) { - - // which edges are touching the region - $edges = array(); - - // are we at left edge - if ($x == 1) { - $edges[] = 'left'; - } - - // are we at right edge - if ($x == $xMax) { - $edges[] = 'right'; - } - - // are we at top edge? - if ($y == 1) { - $edges[] = 'top'; - } - - // are we at bottom edge? - if ($y == $yMax) { - $edges[] = 'bottom'; - } - - // start row index for region - $rowStart = ($y == 3) ? - $rangeEnd[1] : $rangeStart[1] + $y - 1; - - // end row index for region - $rowEnd = ($y == 1) ? - $rangeStart[1] : $rangeEnd[1] - $yMax + $y; - - // build range for region - $range = $colStart . $rowStart . ':' . $colEnd . $rowEnd; - - // retrieve relevant style array for region - $regionStyles = $pStyles; - unset($regionStyles['borders']['inside']); - - // what are the inner edges of the region when looking at the selection - $innerEdges = array_diff( array('top', 'right', 'bottom', 'left'), $edges ); - - // inner edges that are not touching the region should take the 'inside' border properties if they have been set - foreach ($innerEdges as $innerEdge) { - switch ($innerEdge) { - case 'top': - case 'bottom': - // should pick up 'horizontal' border property if set - if (isset($pStyles['borders']['horizontal'])) { - $regionStyles['borders'][$innerEdge] = $pStyles['borders']['horizontal']; - } else { - unset($regionStyles['borders'][$innerEdge]); - } - break; - case 'left': - case 'right': - // should pick up 'vertical' border property if set - if (isset($pStyles['borders']['vertical'])) { - $regionStyles['borders'][$innerEdge] = $pStyles['borders']['vertical']; - } else { - unset($regionStyles['borders'][$innerEdge]); - } - break; - } - } - - // apply region style to region by calling applyFromArray() in simple mode - $this->getActiveSheet()->getStyle($range)->applyFromArray($regionStyles, false); - } - } - return $this; - } - - // SIMPLE MODE: - - // Selection type, inspect - if (preg_match('/^[A-Z]+1:[A-Z]+1048576$/', $pRange)) { - $selectionType = 'COLUMN'; - } else if (preg_match('/^A[0-9]+:XFD[0-9]+$/', $pRange)) { - $selectionType = 'ROW'; - } else { - $selectionType = 'CELL'; - } - - // First loop through columns, rows, or cells to find out which styles are affected by this operation - switch ($selectionType) { - case 'COLUMN': - $oldXfIndexes = array(); - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - $oldXfIndexes[$this->getActiveSheet()->getColumnDimensionByColumn($col)->getXfIndex()] = true; - } - break; - - case 'ROW': - $oldXfIndexes = array(); - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - if ($this->getActiveSheet()->getRowDimension($row)->getXfIndex() == null) { - $oldXfIndexes[0] = true; // row without explicit style should be formatted based on default style - } else { - $oldXfIndexes[$this->getActiveSheet()->getRowDimension($row)->getXfIndex()] = true; - } - } - break; - - case 'CELL': - $oldXfIndexes = array(); - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $oldXfIndexes[$this->getActiveSheet()->getCellByColumnAndRow($col, $row)->getXfIndex()] = true; - } - } - break; - } - - // clone each of the affected styles, apply the style array, and add the new styles to the workbook - $workbook = $this->getActiveSheet()->getParent(); - foreach ($oldXfIndexes as $oldXfIndex => $dummy) { - $style = $workbook->getCellXfByIndex($oldXfIndex); - $newStyle = clone $style; - $newStyle->applyFromArray($pStyles); - - if ($existingStyle = $workbook->getCellXfByHashCode($newStyle->getHashCode())) { - // there is already such cell Xf in our collection - $newXfIndexes[$oldXfIndex] = $existingStyle->getIndex(); - } else { - // we don't have such a cell Xf, need to add - $workbook->addCellXf($newStyle); - $newXfIndexes[$oldXfIndex] = $newStyle->getIndex(); - } - } - - // Loop through columns, rows, or cells again and update the XF index - switch ($selectionType) { - case 'COLUMN': - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - $columnDimension = $this->getActiveSheet()->getColumnDimensionByColumn($col); - $oldXfIndex = $columnDimension->getXfIndex(); - $columnDimension->setXfIndex($newXfIndexes[$oldXfIndex]); - } - break; - - case 'ROW': - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $rowDimension = $this->getActiveSheet()->getRowDimension($row); - $oldXfIndex = $rowDimension->getXfIndex() === null ? - 0 : $rowDimension->getXfIndex(); // row without explicit style should be formatted based on default style - $rowDimension->setXfIndex($newXfIndexes[$oldXfIndex]); - } - break; - - case 'CELL': - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $cell = $this->getActiveSheet()->getCellByColumnAndRow($col, $row); - $oldXfIndex = $cell->getXfIndex(); - $cell->setXfIndex($newXfIndexes[$oldXfIndex]); - } - } - break; - } - - } else { - // not a supervisor, just apply the style array directly on style object - if (array_key_exists('fill', $pStyles)) { - $this->getFill()->applyFromArray($pStyles['fill']); - } - if (array_key_exists('font', $pStyles)) { - $this->getFont()->applyFromArray($pStyles['font']); - } - if (array_key_exists('borders', $pStyles)) { - $this->getBorders()->applyFromArray($pStyles['borders']); - } - if (array_key_exists('alignment', $pStyles)) { - $this->getAlignment()->applyFromArray($pStyles['alignment']); - } - if (array_key_exists('numberformat', $pStyles)) { - $this->getNumberFormat()->applyFromArray($pStyles['numberformat']); - } - if (array_key_exists('protection', $pStyles)) { - $this->getProtection()->applyFromArray($pStyles['protection']); - } - if (array_key_exists('quotePrefix', $pStyles)) { - $this->_quotePrefix = $pStyles['quotePrefix']; - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Fill - * - * @return PHPExcel_Style_Fill - */ - public function getFill() - { - return $this->_fill; - } - - /** - * Get Font - * - * @return PHPExcel_Style_Font - */ - public function getFont() - { - return $this->_font; - } - - /** - * Set font - * - * @param PHPExcel_Style_Font $font - * @return PHPExcel_Style - */ - public function setFont(PHPExcel_Style_Font $font) - { - $this->_font = $font; - return $this; - } - - /** - * Get Borders - * - * @return PHPExcel_Style_Borders - */ - public function getBorders() - { - return $this->_borders; - } - - /** - * Get Alignment - * - * @return PHPExcel_Style_Alignment - */ - public function getAlignment() - { - return $this->_alignment; - } - - /** - * Get Number Format - * - * @return PHPExcel_Style_NumberFormat - */ - public function getNumberFormat() - { - return $this->_numberFormat; - } - - /** - * Get Conditional Styles. Only used on supervisor. - * - * @return PHPExcel_Style_Conditional[] - */ - public function getConditionalStyles() - { - return $this->getActiveSheet()->getConditionalStyles($this->getActiveCell()); - } - - /** - * Set Conditional Styles. Only used on supervisor. - * - * @param PHPExcel_Style_Conditional[] $pValue Array of condtional styles - * @return PHPExcel_Style - */ - public function setConditionalStyles($pValue = null) - { - if (is_array($pValue)) { - $this->getActiveSheet()->setConditionalStyles($this->getSelectedCells(), $pValue); - } - return $this; - } - - /** - * Get Protection - * - * @return PHPExcel_Style_Protection - */ - public function getProtection() - { - return $this->_protection; - } - - /** - * Get quote prefix - * - * @return boolean - */ - public function getQuotePrefix() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getQuotePrefix(); - } - return $this->_quotePrefix; - } - - /** - * Set quote prefix - * - * @param boolean $pValue - */ - public function setQuotePrefix($pValue) - { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = array('quotePrefix' => $pValue); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_quotePrefix = (boolean) $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() - { - $hashConditionals = ''; - foreach ($this->_conditionalStyles as $conditional) { - $hashConditionals .= $conditional->getHashCode(); - } - - return md5( - $this->_fill->getHashCode() - . $this->_font->getHashCode() - . $this->_borders->getHashCode() - . $this->_alignment->getHashCode() - . $this->_numberFormat->getHashCode() - . $hashConditionals - . $this->_protection->getHashCode() - . ($this->_quotePrefix ? 't' : 'f') - . __CLASS__ - ); - } - - /** - * Get own index in style collection - * - * @return int - */ - public function getIndex() - { - return $this->_index; - } - - /** - * Set own index in style collection - * - * @param int $pValue - */ - public function setIndex($pValue) - { - $this->_index = $pValue; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Alignment.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Alignment.php deleted file mode 100644 index 00825debf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Alignment.php +++ /dev/null @@ -1,459 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Alignment - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Alignment extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Horizontal alignment styles */ - const HORIZONTAL_GENERAL = 'general'; - const HORIZONTAL_LEFT = 'left'; - const HORIZONTAL_RIGHT = 'right'; - const HORIZONTAL_CENTER = 'center'; - const HORIZONTAL_CENTER_CONTINUOUS = 'centerContinuous'; - const HORIZONTAL_JUSTIFY = 'justify'; - const HORIZONTAL_FILL = 'fill'; - const HORIZONTAL_DISTRIBUTED = 'distributed'; // Excel2007 only - - /* Vertical alignment styles */ - const VERTICAL_BOTTOM = 'bottom'; - const VERTICAL_TOP = 'top'; - const VERTICAL_CENTER = 'center'; - const VERTICAL_JUSTIFY = 'justify'; - const VERTICAL_DISTRIBUTED = 'distributed'; // Excel2007 only - - /* Read order */ - const READORDER_CONTEXT = 0; - const READORDER_LTR = 1; - const READORDER_RTL = 2; - - /** - * Horizontal alignment - * - * @var string - */ - protected $_horizontal = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - - /** - * Vertical alignment - * - * @var string - */ - protected $_vertical = PHPExcel_Style_Alignment::VERTICAL_BOTTOM; - - /** - * Text rotation - * - * @var integer - */ - protected $_textRotation = 0; - - /** - * Wrap text - * - * @var boolean - */ - protected $_wrapText = FALSE; - - /** - * Shrink to fit - * - * @var boolean - */ - protected $_shrinkToFit = FALSE; - - /** - * Indent - only possible with horizontal alignment left and right - * - * @var integer - */ - protected $_indent = 0; - - /** - * Read order - * - * @var integer - */ - protected $_readorder = 0; - - /** - * Create a new PHPExcel_Style_Alignment - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - if ($isConditional) { - $this->_horizontal = NULL; - $this->_vertical = NULL; - $this->_textRotation = NULL; - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Alignment - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getAlignment(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('alignment' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray( - * array( - * 'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER, - * 'vertical' => PHPExcel_Style_Alignment::VERTICAL_CENTER, - * 'rotation' => 0, - * 'wrap' => TRUE - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Alignment - */ - public function applyFromArray($pStyles = NULL) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells()) - ->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (isset($pStyles['horizontal'])) { - $this->setHorizontal($pStyles['horizontal']); - } - if (isset($pStyles['vertical'])) { - $this->setVertical($pStyles['vertical']); - } - if (isset($pStyles['rotation'])) { - $this->setTextRotation($pStyles['rotation']); - } - if (isset($pStyles['wrap'])) { - $this->setWrapText($pStyles['wrap']); - } - if (isset($pStyles['shrinkToFit'])) { - $this->setShrinkToFit($pStyles['shrinkToFit']); - } - if (isset($pStyles['indent'])) { - $this->setIndent($pStyles['indent']); - } - if (isset($pStyles['readorder'])) { - $this->setReadorder($pStyles['readorder']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Horizontal - * - * @return string - */ - public function getHorizontal() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHorizontal(); - } - return $this->_horizontal; - } - - /** - * Set Horizontal - * - * @param string $pValue - * @return PHPExcel_Style_Alignment - */ - public function setHorizontal($pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL; - } - - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('horizontal' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } - else { - $this->_horizontal = $pValue; - } - return $this; - } - - /** - * Get Vertical - * - * @return string - */ - public function getVertical() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getVertical(); - } - return $this->_vertical; - } - - /** - * Set Vertical - * - * @param string $pValue - * @return PHPExcel_Style_Alignment - */ - public function setVertical($pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Alignment::VERTICAL_BOTTOM; - } - - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('vertical' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_vertical = $pValue; - } - return $this; - } - - /** - * Get TextRotation - * - * @return int - */ - public function getTextRotation() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getTextRotation(); - } - return $this->_textRotation; - } - - /** - * Set TextRotation - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Alignment - */ - public function setTextRotation($pValue = 0) { - // Excel2007 value 255 => PHPExcel value -165 - if ($pValue == 255) { - $pValue = -165; - } - - // Set rotation - if ( ($pValue >= -90 && $pValue <= 90) || $pValue == -165 ) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('rotation' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_textRotation = $pValue; - } - } else { - throw new PHPExcel_Exception("Text rotation should be a value between -90 and 90."); - } - - return $this; - } - - /** - * Get Wrap Text - * - * @return boolean - */ - public function getWrapText() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getWrapText(); - } - return $this->_wrapText; - } - - /** - * Set Wrap Text - * - * @param boolean $pValue - * @return PHPExcel_Style_Alignment - */ - public function setWrapText($pValue = FALSE) { - if ($pValue == '') { - $pValue = FALSE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('wrap' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_wrapText = $pValue; - } - return $this; - } - - /** - * Get Shrink to fit - * - * @return boolean - */ - public function getShrinkToFit() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getShrinkToFit(); - } - return $this->_shrinkToFit; - } - - /** - * Set Shrink to fit - * - * @param boolean $pValue - * @return PHPExcel_Style_Alignment - */ - public function setShrinkToFit($pValue = FALSE) { - if ($pValue == '') { - $pValue = FALSE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('shrinkToFit' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_shrinkToFit = $pValue; - } - return $this; - } - - /** - * Get indent - * - * @return int - */ - public function getIndent() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getIndent(); - } - return $this->_indent; - } - - /** - * Set indent - * - * @param int $pValue - * @return PHPExcel_Style_Alignment - */ - public function setIndent($pValue = 0) { - if ($pValue > 0) { - if ($this->getHorizontal() != self::HORIZONTAL_GENERAL && - $this->getHorizontal() != self::HORIZONTAL_LEFT && - $this->getHorizontal() != self::HORIZONTAL_RIGHT) { - $pValue = 0; // indent not supported - } - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('indent' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_indent = $pValue; - } - return $this; - } - - /** - * Get read order - * - * @return integer - */ - public function getReadorder() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getReadorder(); - } - return $this->_readorder; - } - - /** - * Set read order - * - * @param int $pValue - * @return PHPExcel_Style_Alignment - */ - public function setReadorder($pValue = 0) { - if ($pValue < 0 || $pValue > 2) { - $pValue = 0; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('readorder' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_readorder = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_horizontal - . $this->_vertical - . $this->_textRotation - . ($this->_wrapText ? 't' : 'f') - . ($this->_shrinkToFit ? 't' : 'f') - . $this->_indent - . $this->_readorder - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Border.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Border.php deleted file mode 100644 index ec737bf0f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Border.php +++ /dev/null @@ -1,294 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Border - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Border extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Border style */ - const BORDER_NONE = 'none'; - const BORDER_DASHDOT = 'dashDot'; - const BORDER_DASHDOTDOT = 'dashDotDot'; - const BORDER_DASHED = 'dashed'; - const BORDER_DOTTED = 'dotted'; - const BORDER_DOUBLE = 'double'; - const BORDER_HAIR = 'hair'; - const BORDER_MEDIUM = 'medium'; - const BORDER_MEDIUMDASHDOT = 'mediumDashDot'; - const BORDER_MEDIUMDASHDOTDOT = 'mediumDashDotDot'; - const BORDER_MEDIUMDASHED = 'mediumDashed'; - const BORDER_SLANTDASHDOT = 'slantDashDot'; - const BORDER_THICK = 'thick'; - const BORDER_THIN = 'thin'; - - /** - * Border style - * - * @var string - */ - protected $_borderStyle = PHPExcel_Style_Border::BORDER_NONE; - - /** - * Border color - * - * @var PHPExcel_Style_Color - */ - protected $_color; - - /** - * Parent property name - * - * @var string - */ - protected $_parentPropertyName; - - /** - * Create a new PHPExcel_Style_Border - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); - - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_color->bindParent($this, '_color'); - } - } - - /** - * Bind parent. Only used for supervisor - * - * @param PHPExcel_Style_Borders $parent - * @param string $parentPropertyName - * @return PHPExcel_Style_Border - */ - public function bindParent($parent, $parentPropertyName=NULL) - { - $this->_parent = $parent; - $this->_parentPropertyName = $parentPropertyName; - return $this; - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getSharedComponent() - { - switch ($this->_parentPropertyName) { - case '_allBorders': - case '_horizontal': - case '_inside': - case '_outline': - case '_vertical': - throw new PHPExcel_Exception('Cannot get shared component for a pseudo-border.'); - break; - case '_bottom': - return $this->_parent->getSharedComponent()->getBottom(); break; - case '_diagonal': - return $this->_parent->getSharedComponent()->getDiagonal(); break; - case '_left': - return $this->_parent->getSharedComponent()->getLeft(); break; - case '_right': - return $this->_parent->getSharedComponent()->getRight(); break; - case '_top': - return $this->_parent->getSharedComponent()->getTop(); break; - - } - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - switch ($this->_parentPropertyName) { - case '_allBorders': - $key = 'allborders'; break; - case '_bottom': - $key = 'bottom'; break; - case '_diagonal': - $key = 'diagonal'; break; - case '_horizontal': - $key = 'horizontal'; break; - case '_inside': - $key = 'inside'; break; - case '_left': - $key = 'left'; break; - case '_outline': - $key = 'outline'; break; - case '_right': - $key = 'right'; break; - case '_top': - $key = 'top'; break; - case '_vertical': - $key = 'vertical'; break; - } - return $this->_parent->getStyleArray(array($key => $array)); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->getTop()->applyFromArray( - * array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Border - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (isset($pStyles['style'])) { - $this->setBorderStyle($pStyles['style']); - } - if (isset($pStyles['color'])) { - $this->getColor()->applyFromArray($pStyles['color']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Border style - * - * @return string - */ - public function getBorderStyle() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getBorderStyle(); - } - return $this->_borderStyle; - } - - /** - * Set Border style - * - * @param string|boolean $pValue - * When passing a boolean, FALSE equates PHPExcel_Style_Border::BORDER_NONE - * and TRUE to PHPExcel_Style_Border::BORDER_MEDIUM - * @return PHPExcel_Style_Border - */ - public function setBorderStyle($pValue = PHPExcel_Style_Border::BORDER_NONE) { - - if (empty($pValue)) { - $pValue = PHPExcel_Style_Border::BORDER_NONE; - } elseif(is_bool($pValue) && $pValue) { - $pValue = PHPExcel_Style_Border::BORDER_MEDIUM; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('style' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_borderStyle = $pValue; - } - return $this; - } - - /** - * Get Border Color - * - * @return PHPExcel_Style_Color - */ - public function getColor() { - return $this->_color; - } - - /** - * Set Border Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Border - */ - public function setColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_color = $color; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_borderStyle - . $this->_color->getHashCode() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Borders.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Borders.php deleted file mode 100644 index 21dcfeeef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Borders.php +++ /dev/null @@ -1,424 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Borders - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Borders extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Diagonal directions */ - const DIAGONAL_NONE = 0; - const DIAGONAL_UP = 1; - const DIAGONAL_DOWN = 2; - const DIAGONAL_BOTH = 3; - - /** - * Left - * - * @var PHPExcel_Style_Border - */ - protected $_left; - - /** - * Right - * - * @var PHPExcel_Style_Border - */ - protected $_right; - - /** - * Top - * - * @var PHPExcel_Style_Border - */ - protected $_top; - - /** - * Bottom - * - * @var PHPExcel_Style_Border - */ - protected $_bottom; - - /** - * Diagonal - * - * @var PHPExcel_Style_Border - */ - protected $_diagonal; - - /** - * DiagonalDirection - * - * @var int - */ - protected $_diagonalDirection; - - /** - * All borders psedo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_allBorders; - - /** - * Outline psedo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_outline; - - /** - * Inside psedo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_inside; - - /** - * Vertical pseudo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_vertical; - - /** - * Horizontal pseudo-border. Only applies to supervisor. - * - * @var PHPExcel_Style_Border - */ - protected $_horizontal; - - /** - * Create a new PHPExcel_Style_Borders - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - $this->_left = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_right = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_top = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_bottom = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_diagonal = new PHPExcel_Style_Border($isSupervisor, $isConditional); - $this->_diagonalDirection = PHPExcel_Style_Borders::DIAGONAL_NONE; - - // Specially for supervisor - if ($isSupervisor) { - // Initialize pseudo-borders - $this->_allBorders = new PHPExcel_Style_Border(TRUE); - $this->_outline = new PHPExcel_Style_Border(TRUE); - $this->_inside = new PHPExcel_Style_Border(TRUE); - $this->_vertical = new PHPExcel_Style_Border(TRUE); - $this->_horizontal = new PHPExcel_Style_Border(TRUE); - - // bind parent if we are a supervisor - $this->_left->bindParent($this, '_left'); - $this->_right->bindParent($this, '_right'); - $this->_top->bindParent($this, '_top'); - $this->_bottom->bindParent($this, '_bottom'); - $this->_diagonal->bindParent($this, '_diagonal'); - $this->_allBorders->bindParent($this, '_allBorders'); - $this->_outline->bindParent($this, '_outline'); - $this->_inside->bindParent($this, '_inside'); - $this->_vertical->bindParent($this, '_vertical'); - $this->_horizontal->bindParent($this, '_horizontal'); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Borders - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getBorders(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('borders' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( - * array( - * 'bottom' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ), - * 'top' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ) - * ); - * </code> - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getBorders()->applyFromArray( - * array( - * 'allborders' => array( - * 'style' => PHPExcel_Style_Border::BORDER_DASHDOT, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Borders - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('left', $pStyles)) { - $this->getLeft()->applyFromArray($pStyles['left']); - } - if (array_key_exists('right', $pStyles)) { - $this->getRight()->applyFromArray($pStyles['right']); - } - if (array_key_exists('top', $pStyles)) { - $this->getTop()->applyFromArray($pStyles['top']); - } - if (array_key_exists('bottom', $pStyles)) { - $this->getBottom()->applyFromArray($pStyles['bottom']); - } - if (array_key_exists('diagonal', $pStyles)) { - $this->getDiagonal()->applyFromArray($pStyles['diagonal']); - } - if (array_key_exists('diagonaldirection', $pStyles)) { - $this->setDiagonalDirection($pStyles['diagonaldirection']); - } - if (array_key_exists('allborders', $pStyles)) { - $this->getLeft()->applyFromArray($pStyles['allborders']); - $this->getRight()->applyFromArray($pStyles['allborders']); - $this->getTop()->applyFromArray($pStyles['allborders']); - $this->getBottom()->applyFromArray($pStyles['allborders']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Left - * - * @return PHPExcel_Style_Border - */ - public function getLeft() { - return $this->_left; - } - - /** - * Get Right - * - * @return PHPExcel_Style_Border - */ - public function getRight() { - return $this->_right; - } - - /** - * Get Top - * - * @return PHPExcel_Style_Border - */ - public function getTop() { - return $this->_top; - } - - /** - * Get Bottom - * - * @return PHPExcel_Style_Border - */ - public function getBottom() { - return $this->_bottom; - } - - /** - * Get Diagonal - * - * @return PHPExcel_Style_Border - */ - public function getDiagonal() { - return $this->_diagonal; - } - - /** - * Get AllBorders (pseudo-border). Only applies to supervisor. - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getAllBorders() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_allBorders; - } - - /** - * Get Outline (pseudo-border). Only applies to supervisor. - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function getOutline() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_outline; - } - - /** - * Get Inside (pseudo-border). Only applies to supervisor. - * - * @return boolean - * @throws PHPExcel_Exception - */ - public function getInside() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_inside; - } - - /** - * Get Vertical (pseudo-border). Only applies to supervisor. - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getVertical() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_vertical; - } - - /** - * Get Horizontal (pseudo-border). Only applies to supervisor. - * - * @return PHPExcel_Style_Border - * @throws PHPExcel_Exception - */ - public function getHorizontal() { - if (!$this->_isSupervisor) { - throw new PHPExcel_Exception('Can only get pseudo-border for supervisor.'); - } - return $this->_horizontal; - } - - /** - * Get DiagonalDirection - * - * @return int - */ - public function getDiagonalDirection() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getDiagonalDirection(); - } - return $this->_diagonalDirection; - } - - /** - * Set DiagonalDirection - * - * @param int $pValue - * @return PHPExcel_Style_Borders - */ - public function setDiagonalDirection($pValue = PHPExcel_Style_Borders::DIAGONAL_NONE) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Borders::DIAGONAL_NONE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('diagonaldirection' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_diagonalDirection = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashcode(); - } - return md5( - $this->getLeft()->getHashCode() - . $this->getRight()->getHashCode() - . $this->getTop()->getHashCode() - . $this->getBottom()->getHashCode() - . $this->getDiagonal()->getHashCode() - . $this->getDiagonalDirection() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Color.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Color.php deleted file mode 100644 index a56c9a633..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Color.php +++ /dev/null @@ -1,429 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Color - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Color extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Colors */ - const COLOR_BLACK = 'FF000000'; - const COLOR_WHITE = 'FFFFFFFF'; - const COLOR_RED = 'FFFF0000'; - const COLOR_DARKRED = 'FF800000'; - const COLOR_BLUE = 'FF0000FF'; - const COLOR_DARKBLUE = 'FF000080'; - const COLOR_GREEN = 'FF00FF00'; - const COLOR_DARKGREEN = 'FF008000'; - const COLOR_YELLOW = 'FFFFFF00'; - const COLOR_DARKYELLOW = 'FF808000'; - - /** - * Indexed colors array - * - * @var array - */ - protected static $_indexedColors; - - /** - * ARGB - Alpha RGB - * - * @var string - */ - protected $_argb = NULL; - - /** - * Parent property name - * - * @var string - */ - protected $_parentPropertyName; - - - /** - * Create a new PHPExcel_Style_Color - * - * @param string $pARGB ARGB value for the colour - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($pARGB = PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if (!$isConditional) { - $this->_argb = $pARGB; - } - } - - /** - * Bind parent. Only used for supervisor - * - * @param mixed $parent - * @param string $parentPropertyName - * @return PHPExcel_Style_Color - */ - public function bindParent($parent, $parentPropertyName=NULL) - { - $this->_parent = $parent; - $this->_parentPropertyName = $parentPropertyName; - return $this; - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Color - */ - public function getSharedComponent() - { - switch ($this->_parentPropertyName) { - case '_endColor': - return $this->_parent->getSharedComponent()->getEndColor(); break; - case '_color': - return $this->_parent->getSharedComponent()->getColor(); break; - case '_startColor': - return $this->_parent->getSharedComponent()->getStartColor(); break; - } - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - switch ($this->_parentPropertyName) { - case '_endColor': - $key = 'endcolor'; - break; - case '_color': - $key = 'color'; - break; - case '_startColor': - $key = 'startcolor'; - break; - - } - return $this->_parent->getStyleArray(array($key => $array)); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->getColor()->applyFromArray( array('rgb' => '808080') ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Color - */ - public function applyFromArray($pStyles = NULL) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('rgb', $pStyles)) { - $this->setRGB($pStyles['rgb']); - } - if (array_key_exists('argb', $pStyles)) { - $this->setARGB($pStyles['argb']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get ARGB - * - * @return string - */ - public function getARGB() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getARGB(); - } - return $this->_argb; - } - - /** - * Set ARGB - * - * @param string $pValue - * @return PHPExcel_Style_Color - */ - public function setARGB($pValue = PHPExcel_Style_Color::COLOR_BLACK) { - if ($pValue == '') { - $pValue = PHPExcel_Style_Color::COLOR_BLACK; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('argb' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_argb = $pValue; - } - return $this; - } - - /** - * Get RGB - * - * @return string - */ - public function getRGB() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getRGB(); - } - return substr($this->_argb, 2); - } - - /** - * Set RGB - * - * @param string $pValue RGB value - * @return PHPExcel_Style_Color - */ - public function setRGB($pValue = '000000') { - if ($pValue == '') { - $pValue = '000000'; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('argb' => 'FF' . $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_argb = 'FF' . $pValue; - } - return $this; - } - - /** - * Get a specified colour component of an RGB value - * - * @private - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param int $offset Position within the RGB value to extract - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The extracted colour component - */ - private static function _getColourComponent($RGB,$offset,$hex=TRUE) { - $colour = substr($RGB, $offset, 2); - if (!$hex) - $colour = hexdec($colour); - return $colour; - } - - /** - * Get the red colour component of an RGB value - * - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The red colour component - */ - public static function getRed($RGB,$hex=TRUE) { - return self::_getColourComponent($RGB, strlen($RGB) - 6, $hex); - } - - /** - * Get the green colour component of an RGB value - * - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The green colour component - */ - public static function getGreen($RGB,$hex=TRUE) { - return self::_getColourComponent($RGB, strlen($RGB) - 4, $hex); - } - - /** - * Get the blue colour component of an RGB value - * - * @param string $RGB The colour as an RGB value (e.g. FF00CCCC or CCDDEE - * @param boolean $hex Flag indicating whether the component should be returned as a hex or a - * decimal value - * @return string The blue colour component - */ - public static function getBlue($RGB,$hex=TRUE) { - return self::_getColourComponent($RGB, strlen($RGB) - 2, $hex); - } - - /** - * Adjust the brightness of a color - * - * @param string $hex The colour as an RGBA or RGB value (e.g. FF00CCCC or CCDDEE) - * @param float $adjustPercentage The percentage by which to adjust the colour as a float from -1 to 1 - * @return string The adjusted colour as an RGBA or RGB value (e.g. FF00CCCC or CCDDEE) - */ - public static function changeBrightness($hex, $adjustPercentage) { - $rgba = (strlen($hex) == 8); - - $red = self::getRed($hex, FALSE); - $green = self::getGreen($hex, FALSE); - $blue = self::getBlue($hex, FALSE); - if ($adjustPercentage > 0) { - $red += (255 - $red) * $adjustPercentage; - $green += (255 - $green) * $adjustPercentage; - $blue += (255 - $blue) * $adjustPercentage; - } else { - $red += $red * $adjustPercentage; - $green += $green * $adjustPercentage; - $blue += $blue * $adjustPercentage; - } - - if ($red < 0) $red = 0; - elseif ($red > 255) $red = 255; - if ($green < 0) $green = 0; - elseif ($green > 255) $green = 255; - if ($blue < 0) $blue = 0; - elseif ($blue > 255) $blue = 255; - - $rgb = strtoupper( str_pad(dechex($red), 2, '0', 0) . - str_pad(dechex($green), 2, '0', 0) . - str_pad(dechex($blue), 2, '0', 0) - ); - return (($rgba) ? 'FF' : '') . $rgb; - } - - /** - * Get indexed color - * - * @param int $pIndex Index entry point into the colour array - * @param boolean $background Flag to indicate whether default background or foreground colour - * should be returned if the indexed colour doesn't exist - * @return PHPExcel_Style_Color - */ - public static function indexedColor($pIndex, $background=FALSE) { - // Clean parameter - $pIndex = intval($pIndex); - - // Indexed colors - if (is_null(self::$_indexedColors)) { - self::$_indexedColors = array( - 1 => 'FF000000', // System Colour #1 - Black - 2 => 'FFFFFFFF', // System Colour #2 - White - 3 => 'FFFF0000', // System Colour #3 - Red - 4 => 'FF00FF00', // System Colour #4 - Green - 5 => 'FF0000FF', // System Colour #5 - Blue - 6 => 'FFFFFF00', // System Colour #6 - Yellow - 7 => 'FFFF00FF', // System Colour #7- Magenta - 8 => 'FF00FFFF', // System Colour #8- Cyan - 9 => 'FF800000', // Standard Colour #9 - 10 => 'FF008000', // Standard Colour #10 - 11 => 'FF000080', // Standard Colour #11 - 12 => 'FF808000', // Standard Colour #12 - 13 => 'FF800080', // Standard Colour #13 - 14 => 'FF008080', // Standard Colour #14 - 15 => 'FFC0C0C0', // Standard Colour #15 - 16 => 'FF808080', // Standard Colour #16 - 17 => 'FF9999FF', // Chart Fill Colour #17 - 18 => 'FF993366', // Chart Fill Colour #18 - 19 => 'FFFFFFCC', // Chart Fill Colour #19 - 20 => 'FFCCFFFF', // Chart Fill Colour #20 - 21 => 'FF660066', // Chart Fill Colour #21 - 22 => 'FFFF8080', // Chart Fill Colour #22 - 23 => 'FF0066CC', // Chart Fill Colour #23 - 24 => 'FFCCCCFF', // Chart Fill Colour #24 - 25 => 'FF000080', // Chart Line Colour #25 - 26 => 'FFFF00FF', // Chart Line Colour #26 - 27 => 'FFFFFF00', // Chart Line Colour #27 - 28 => 'FF00FFFF', // Chart Line Colour #28 - 29 => 'FF800080', // Chart Line Colour #29 - 30 => 'FF800000', // Chart Line Colour #30 - 31 => 'FF008080', // Chart Line Colour #31 - 32 => 'FF0000FF', // Chart Line Colour #32 - 33 => 'FF00CCFF', // Standard Colour #33 - 34 => 'FFCCFFFF', // Standard Colour #34 - 35 => 'FFCCFFCC', // Standard Colour #35 - 36 => 'FFFFFF99', // Standard Colour #36 - 37 => 'FF99CCFF', // Standard Colour #37 - 38 => 'FFFF99CC', // Standard Colour #38 - 39 => 'FFCC99FF', // Standard Colour #39 - 40 => 'FFFFCC99', // Standard Colour #40 - 41 => 'FF3366FF', // Standard Colour #41 - 42 => 'FF33CCCC', // Standard Colour #42 - 43 => 'FF99CC00', // Standard Colour #43 - 44 => 'FFFFCC00', // Standard Colour #44 - 45 => 'FFFF9900', // Standard Colour #45 - 46 => 'FFFF6600', // Standard Colour #46 - 47 => 'FF666699', // Standard Colour #47 - 48 => 'FF969696', // Standard Colour #48 - 49 => 'FF003366', // Standard Colour #49 - 50 => 'FF339966', // Standard Colour #50 - 51 => 'FF003300', // Standard Colour #51 - 52 => 'FF333300', // Standard Colour #52 - 53 => 'FF993300', // Standard Colour #53 - 54 => 'FF993366', // Standard Colour #54 - 55 => 'FF333399', // Standard Colour #55 - 56 => 'FF333333' // Standard Colour #56 - ); - } - - if (array_key_exists($pIndex, self::$_indexedColors)) { - return new PHPExcel_Style_Color(self::$_indexedColors[$pIndex]); - } - - if ($background) { - return new PHPExcel_Style_Color('FFFFFFFF'); - } - return new PHPExcel_Style_Color('FF000000'); - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_argb - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Conditional.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Conditional.php deleted file mode 100644 index aebf1e313..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Conditional.php +++ /dev/null @@ -1,277 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Conditional - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Conditional implements PHPExcel_IComparable -{ - /* Condition types */ - const CONDITION_NONE = 'none'; - const CONDITION_CELLIS = 'cellIs'; - const CONDITION_CONTAINSTEXT = 'containsText'; - const CONDITION_EXPRESSION = 'expression'; - - /* Operator types */ - const OPERATOR_NONE = ''; - const OPERATOR_BEGINSWITH = 'beginsWith'; - const OPERATOR_ENDSWITH = 'endsWith'; - const OPERATOR_EQUAL = 'equal'; - const OPERATOR_GREATERTHAN = 'greaterThan'; - const OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual'; - const OPERATOR_LESSTHAN = 'lessThan'; - const OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual'; - const OPERATOR_NOTEQUAL = 'notEqual'; - const OPERATOR_CONTAINSTEXT = 'containsText'; - const OPERATOR_NOTCONTAINS = 'notContains'; - const OPERATOR_BETWEEN = 'between'; - - /** - * Condition type - * - * @var int - */ - private $_conditionType; - - /** - * Operator type - * - * @var int - */ - private $_operatorType; - - /** - * Text - * - * @var string - */ - private $_text; - - /** - * Condition - * - * @var string[] - */ - private $_condition = array(); - - /** - * Style - * - * @var PHPExcel_Style - */ - private $_style; - - /** - * Create a new PHPExcel_Style_Conditional - */ - public function __construct() - { - // Initialise values - $this->_conditionType = PHPExcel_Style_Conditional::CONDITION_NONE; - $this->_operatorType = PHPExcel_Style_Conditional::OPERATOR_NONE; - $this->_text = null; - $this->_condition = array(); - $this->_style = new PHPExcel_Style(FALSE, TRUE); - } - - /** - * Get Condition type - * - * @return string - */ - public function getConditionType() { - return $this->_conditionType; - } - - /** - * Set Condition type - * - * @param string $pValue PHPExcel_Style_Conditional condition type - * @return PHPExcel_Style_Conditional - */ - public function setConditionType($pValue = PHPExcel_Style_Conditional::CONDITION_NONE) { - $this->_conditionType = $pValue; - return $this; - } - - /** - * Get Operator type - * - * @return string - */ - public function getOperatorType() { - return $this->_operatorType; - } - - /** - * Set Operator type - * - * @param string $pValue PHPExcel_Style_Conditional operator type - * @return PHPExcel_Style_Conditional - */ - public function setOperatorType($pValue = PHPExcel_Style_Conditional::OPERATOR_NONE) { - $this->_operatorType = $pValue; - return $this; - } - - /** - * Get text - * - * @return string - */ - public function getText() { - return $this->_text; - } - - /** - * Set text - * - * @param string $value - * @return PHPExcel_Style_Conditional - */ - public function setText($value = null) { - $this->_text = $value; - return $this; - } - - /** - * Get Condition - * - * @deprecated Deprecated, use getConditions instead - * @return string - */ - public function getCondition() { - if (isset($this->_condition[0])) { - return $this->_condition[0]; - } - - return ''; - } - - /** - * Set Condition - * - * @deprecated Deprecated, use setConditions instead - * @param string $pValue Condition - * @return PHPExcel_Style_Conditional - */ - public function setCondition($pValue = '') { - if (!is_array($pValue)) - $pValue = array($pValue); - - return $this->setConditions($pValue); - } - - /** - * Get Conditions - * - * @return string[] - */ - public function getConditions() { - return $this->_condition; - } - - /** - * Set Conditions - * - * @param string[] $pValue Condition - * @return PHPExcel_Style_Conditional - */ - public function setConditions($pValue) { - if (!is_array($pValue)) - $pValue = array($pValue); - - $this->_condition = $pValue; - return $this; - } - - /** - * Add Condition - * - * @param string $pValue Condition - * @return PHPExcel_Style_Conditional - */ - public function addCondition($pValue = '') { - $this->_condition[] = $pValue; - return $this; - } - - /** - * Get Style - * - * @return PHPExcel_Style - */ - public function getStyle() { - return $this->_style; - } - - /** - * Set Style - * - * @param PHPExcel_Style $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Conditional - */ - public function setStyle(PHPExcel_Style $pValue = null) { - $this->_style = $pValue; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_conditionType - . $this->_operatorType - . implode(';', $this->_condition) - . $this->_style->getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Fill.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Fill.php deleted file mode 100644 index 6412ba634..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Fill.php +++ /dev/null @@ -1,321 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Fill - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Fill extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Fill types */ - const FILL_NONE = 'none'; - const FILL_SOLID = 'solid'; - const FILL_GRADIENT_LINEAR = 'linear'; - const FILL_GRADIENT_PATH = 'path'; - const FILL_PATTERN_DARKDOWN = 'darkDown'; - const FILL_PATTERN_DARKGRAY = 'darkGray'; - const FILL_PATTERN_DARKGRID = 'darkGrid'; - const FILL_PATTERN_DARKHORIZONTAL = 'darkHorizontal'; - const FILL_PATTERN_DARKTRELLIS = 'darkTrellis'; - const FILL_PATTERN_DARKUP = 'darkUp'; - const FILL_PATTERN_DARKVERTICAL = 'darkVertical'; - const FILL_PATTERN_GRAY0625 = 'gray0625'; - const FILL_PATTERN_GRAY125 = 'gray125'; - const FILL_PATTERN_LIGHTDOWN = 'lightDown'; - const FILL_PATTERN_LIGHTGRAY = 'lightGray'; - const FILL_PATTERN_LIGHTGRID = 'lightGrid'; - const FILL_PATTERN_LIGHTHORIZONTAL = 'lightHorizontal'; - const FILL_PATTERN_LIGHTTRELLIS = 'lightTrellis'; - const FILL_PATTERN_LIGHTUP = 'lightUp'; - const FILL_PATTERN_LIGHTVERTICAL = 'lightVertical'; - const FILL_PATTERN_MEDIUMGRAY = 'mediumGray'; - - /** - * Fill type - * - * @var string - */ - protected $_fillType = PHPExcel_Style_Fill::FILL_NONE; - - /** - * Rotation - * - * @var double - */ - protected $_rotation = 0; - - /** - * Start color - * - * @var PHPExcel_Style_Color - */ - protected $_startColor; - - /** - * End color - * - * @var PHPExcel_Style_Color - */ - protected $_endColor; - - /** - * Create a new PHPExcel_Style_Fill - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if ($isConditional) { - $this->_fillType = NULL; - } - $this->_startColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_WHITE, $isSupervisor, $isConditional); - $this->_endColor = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional); - - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_startColor->bindParent($this, '_startColor'); - $this->_endColor->bindParent($this, '_endColor'); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Fill - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getFill(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('fill' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFill()->applyFromArray( - * array( - * 'type' => PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR, - * 'rotation' => 0, - * 'startcolor' => array( - * 'rgb' => '000000' - * ), - * 'endcolor' => array( - * 'argb' => 'FFFFFFFF' - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Fill - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('type', $pStyles)) { - $this->setFillType($pStyles['type']); - } - if (array_key_exists('rotation', $pStyles)) { - $this->setRotation($pStyles['rotation']); - } - if (array_key_exists('startcolor', $pStyles)) { - $this->getStartColor()->applyFromArray($pStyles['startcolor']); - } - if (array_key_exists('endcolor', $pStyles)) { - $this->getEndColor()->applyFromArray($pStyles['endcolor']); - } - if (array_key_exists('color', $pStyles)) { - $this->getStartColor()->applyFromArray($pStyles['color']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Fill Type - * - * @return string - */ - public function getFillType() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getFillType(); - } - return $this->_fillType; - } - - /** - * Set Fill Type - * - * @param string $pValue PHPExcel_Style_Fill fill type - * @return PHPExcel_Style_Fill - */ - public function setFillType($pValue = PHPExcel_Style_Fill::FILL_NONE) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('type' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_fillType = $pValue; - } - return $this; - } - - /** - * Get Rotation - * - * @return double - */ - public function getRotation() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getRotation(); - } - return $this->_rotation; - } - - /** - * Set Rotation - * - * @param double $pValue - * @return PHPExcel_Style_Fill - */ - public function setRotation($pValue = 0) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('rotation' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_rotation = $pValue; - } - return $this; - } - - /** - * Get Start Color - * - * @return PHPExcel_Style_Color - */ - public function getStartColor() { - return $this->_startColor; - } - - /** - * Set Start Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Fill - */ - public function setStartColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getStartColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_startColor = $color; - } - return $this; - } - - /** - * Get End Color - * - * @return PHPExcel_Style_Color - */ - public function getEndColor() { - return $this->_endColor; - } - - /** - * Set End Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Fill - */ - public function setEndColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getEndColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_endColor = $color; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->getFillType() - . $this->getRotation() - . $this->getStartColor()->getHashCode() - . $this->getEndColor()->getHashCode() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Font.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Font.php deleted file mode 100644 index 296e34855..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Font.php +++ /dev/null @@ -1,532 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Font - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Font extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Underline types */ - const UNDERLINE_NONE = 'none'; - const UNDERLINE_DOUBLE = 'double'; - const UNDERLINE_DOUBLEACCOUNTING = 'doubleAccounting'; - const UNDERLINE_SINGLE = 'single'; - const UNDERLINE_SINGLEACCOUNTING = 'singleAccounting'; - - /** - * Font Name - * - * @var string - */ - protected $_name = 'Calibri'; - - /** - * Font Size - * - * @var float - */ - protected $_size = 11; - - /** - * Bold - * - * @var boolean - */ - protected $_bold = FALSE; - - /** - * Italic - * - * @var boolean - */ - protected $_italic = FALSE; - - /** - * Superscript - * - * @var boolean - */ - protected $_superScript = FALSE; - - /** - * Subscript - * - * @var boolean - */ - protected $_subScript = FALSE; - - /** - * Underline - * - * @var string - */ - protected $_underline = self::UNDERLINE_NONE; - - /** - * Strikethrough - * - * @var boolean - */ - protected $_strikethrough = FALSE; - - /** - * Foreground color - * - * @var PHPExcel_Style_Color - */ - protected $_color; - - /** - * Create a new PHPExcel_Style_Font - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if ($isConditional) { - $this->_name = NULL; - $this->_size = NULL; - $this->_bold = NULL; - $this->_italic = NULL; - $this->_superScript = NULL; - $this->_subScript = NULL; - $this->_underline = NULL; - $this->_strikethrough = NULL; - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional); - } else { - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor); - } - // bind parent if we are a supervisor - if ($isSupervisor) { - $this->_color->bindParent($this, '_color'); - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Font - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getFont(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('font' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray( - * array( - * 'name' => 'Arial', - * 'bold' => TRUE, - * 'italic' => FALSE, - * 'underline' => PHPExcel_Style_Font::UNDERLINE_DOUBLE, - * 'strike' => FALSE, - * 'color' => array( - * 'rgb' => '808080' - * ) - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Font - */ - public function applyFromArray($pStyles = null) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('name', $pStyles)) { - $this->setName($pStyles['name']); - } - if (array_key_exists('bold', $pStyles)) { - $this->setBold($pStyles['bold']); - } - if (array_key_exists('italic', $pStyles)) { - $this->setItalic($pStyles['italic']); - } - if (array_key_exists('superScript', $pStyles)) { - $this->setSuperScript($pStyles['superScript']); - } - if (array_key_exists('subScript', $pStyles)) { - $this->setSubScript($pStyles['subScript']); - } - if (array_key_exists('underline', $pStyles)) { - $this->setUnderline($pStyles['underline']); - } - if (array_key_exists('strike', $pStyles)) { - $this->setStrikethrough($pStyles['strike']); - } - if (array_key_exists('color', $pStyles)) { - $this->getColor()->applyFromArray($pStyles['color']); - } - if (array_key_exists('size', $pStyles)) { - $this->setSize($pStyles['size']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getName(); - } - return $this->_name; - } - - /** - * Set Name - * - * @param string $pValue - * @return PHPExcel_Style_Font - */ - public function setName($pValue = 'Calibri') { - if ($pValue == '') { - $pValue = 'Calibri'; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('name' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_name = $pValue; - } - return $this; - } - - /** - * Get Size - * - * @return double - */ - public function getSize() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getSize(); - } - return $this->_size; - } - - /** - * Set Size - * - * @param double $pValue - * @return PHPExcel_Style_Font - */ - public function setSize($pValue = 10) { - if ($pValue == '') { - $pValue = 10; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('size' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_size = $pValue; - } - return $this; - } - - /** - * Get Bold - * - * @return boolean - */ - public function getBold() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getBold(); - } - return $this->_bold; - } - - /** - * Set Bold - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setBold($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('bold' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_bold = $pValue; - } - return $this; - } - - /** - * Get Italic - * - * @return boolean - */ - public function getItalic() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getItalic(); - } - return $this->_italic; - } - - /** - * Set Italic - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setItalic($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('italic' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_italic = $pValue; - } - return $this; - } - - /** - * Get SuperScript - * - * @return boolean - */ - public function getSuperScript() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getSuperScript(); - } - return $this->_superScript; - } - - /** - * Set SuperScript - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setSuperScript($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('superScript' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_superScript = $pValue; - $this->_subScript = !$pValue; - } - return $this; - } - - /** - * Get SubScript - * - * @return boolean - */ - public function getSubScript() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getSubScript(); - } - return $this->_subScript; - } - - /** - * Set SubScript - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setSubScript($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('subScript' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_subScript = $pValue; - $this->_superScript = !$pValue; - } - return $this; - } - - /** - * Get Underline - * - * @return string - */ - public function getUnderline() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getUnderline(); - } - return $this->_underline; - } - - /** - * Set Underline - * - * @param string|boolean $pValue PHPExcel_Style_Font underline type - * If a boolean is passed, then TRUE equates to UNDERLINE_SINGLE, - * false equates to UNDERLINE_NONE - * @return PHPExcel_Style_Font - */ - public function setUnderline($pValue = self::UNDERLINE_NONE) { - if (is_bool($pValue)) { - $pValue = ($pValue) ? self::UNDERLINE_SINGLE : self::UNDERLINE_NONE; - } elseif ($pValue == '') { - $pValue = self::UNDERLINE_NONE; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('underline' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_underline = $pValue; - } - return $this; - } - - /** - * Get Strikethrough - * - * @return boolean - */ - public function getStrikethrough() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getStrikethrough(); - } - return $this->_strikethrough; - } - - /** - * Set Strikethrough - * - * @param boolean $pValue - * @return PHPExcel_Style_Font - */ - public function setStrikethrough($pValue = false) { - if ($pValue == '') { - $pValue = false; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('strike' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_strikethrough = $pValue; - } - return $this; - } - - /** - * Get Color - * - * @return PHPExcel_Style_Color - */ - public function getColor() { - return $this->_color; - } - - /** - * Set Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Font - */ - public function setColor(PHPExcel_Style_Color $pValue = null) { - // make sure parameter is a real color and not a supervisor - $color = $pValue->getIsSupervisor() ? $pValue->getSharedComponent() : $pValue; - - if ($this->_isSupervisor) { - $styleArray = $this->getColor()->getStyleArray(array('argb' => $color->getARGB())); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_color = $color; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_name - . $this->_size - . ($this->_bold ? 't' : 'f') - . ($this->_italic ? 't' : 'f') - . ($this->_superScript ? 't' : 'f') - . ($this->_subScript ? 't' : 'f') - . $this->_underline - . ($this->_strikethrough ? 't' : 'f') - . $this->_color->getHashCode() - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/NumberFormat.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/NumberFormat.php deleted file mode 100644 index 0d7d93de2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/NumberFormat.php +++ /dev/null @@ -1,711 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_NumberFormat - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_NumberFormat extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /* Pre-defined formats */ - const FORMAT_GENERAL = 'General'; - - const FORMAT_TEXT = '@'; - - const FORMAT_NUMBER = '0'; - const FORMAT_NUMBER_00 = '0.00'; - const FORMAT_NUMBER_COMMA_SEPARATED1 = '#,##0.00'; - const FORMAT_NUMBER_COMMA_SEPARATED2 = '#,##0.00_-'; - - const FORMAT_PERCENTAGE = '0%'; - const FORMAT_PERCENTAGE_00 = '0.00%'; - - const FORMAT_DATE_YYYYMMDD2 = 'yyyy-mm-dd'; - const FORMAT_DATE_YYYYMMDD = 'yy-mm-dd'; - const FORMAT_DATE_DDMMYYYY = 'dd/mm/yy'; - const FORMAT_DATE_DMYSLASH = 'd/m/y'; - const FORMAT_DATE_DMYMINUS = 'd-m-y'; - const FORMAT_DATE_DMMINUS = 'd-m'; - const FORMAT_DATE_MYMINUS = 'm-y'; - const FORMAT_DATE_XLSX14 = 'mm-dd-yy'; - const FORMAT_DATE_XLSX15 = 'd-mmm-yy'; - const FORMAT_DATE_XLSX16 = 'd-mmm'; - const FORMAT_DATE_XLSX17 = 'mmm-yy'; - const FORMAT_DATE_XLSX22 = 'm/d/yy h:mm'; - const FORMAT_DATE_DATETIME = 'd/m/y h:mm'; - const FORMAT_DATE_TIME1 = 'h:mm AM/PM'; - const FORMAT_DATE_TIME2 = 'h:mm:ss AM/PM'; - const FORMAT_DATE_TIME3 = 'h:mm'; - const FORMAT_DATE_TIME4 = 'h:mm:ss'; - const FORMAT_DATE_TIME5 = 'mm:ss'; - const FORMAT_DATE_TIME6 = 'h:mm:ss'; - const FORMAT_DATE_TIME7 = 'i:s.S'; - const FORMAT_DATE_TIME8 = 'h:mm:ss;@'; - const FORMAT_DATE_YYYYMMDDSLASH = 'yy/mm/dd;@'; - - const FORMAT_CURRENCY_USD_SIMPLE = '"$"#,##0.00_-'; - const FORMAT_CURRENCY_USD = '$#,##0_-'; - const FORMAT_CURRENCY_EUR_SIMPLE = '[$EUR ]#,##0.00_-'; - - /** - * Excel built-in number formats - * - * @var array - */ - protected static $_builtInFormats; - - /** - * Excel built-in number formats (flipped, for faster lookups) - * - * @var array - */ - protected static $_flippedBuiltInFormats; - - /** - * Format Code - * - * @var string - */ - protected $_formatCode = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - - /** - * Built-in format Code - * - * @var string - */ - protected $_builtInFormatCode = 0; - - /** - * Create a new PHPExcel_Style_NumberFormat - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - if ($isConditional) { - $this->_formatCode = NULL; - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_NumberFormat - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getNumberFormat(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('numberformat' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray( - * array( - * 'code' => PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_NumberFormat - */ - public function applyFromArray($pStyles = null) - { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (array_key_exists('code', $pStyles)) { - $this->setFormatCode($pStyles['code']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get Format Code - * - * @return string - */ - public function getFormatCode() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getFormatCode(); - } - if ($this->_builtInFormatCode !== false) - { - return self::builtInFormatCode($this->_builtInFormatCode); - } - return $this->_formatCode; - } - - /** - * Set Format Code - * - * @param string $pValue - * @return PHPExcel_Style_NumberFormat - */ - public function setFormatCode($pValue = PHPExcel_Style_NumberFormat::FORMAT_GENERAL) - { - if ($pValue == '') { - $pValue = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - } - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('code' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_formatCode = $pValue; - $this->_builtInFormatCode = self::builtInFormatCodeIndex($pValue); - } - return $this; - } - - /** - * Get Built-In Format Code - * - * @return int - */ - public function getBuiltInFormatCode() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getBuiltInFormatCode(); - } - return $this->_builtInFormatCode; - } - - /** - * Set Built-In Format Code - * - * @param int $pValue - * @return PHPExcel_Style_NumberFormat - */ - public function setBuiltInFormatCode($pValue = 0) - { - - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('code' => self::builtInFormatCode($pValue))); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_builtInFormatCode = $pValue; - $this->_formatCode = self::builtInFormatCode($pValue); - } - return $this; - } - - /** - * Fill built-in format codes - */ - private static function fillBuiltInFormatCodes() - { - // Built-in format codes - if (is_null(self::$_builtInFormats)) { - self::$_builtInFormats = array(); - - // General - self::$_builtInFormats[0] = PHPExcel_Style_NumberFormat::FORMAT_GENERAL; - self::$_builtInFormats[1] = '0'; - self::$_builtInFormats[2] = '0.00'; - self::$_builtInFormats[3] = '#,##0'; - self::$_builtInFormats[4] = '#,##0.00'; - - self::$_builtInFormats[9] = '0%'; - self::$_builtInFormats[10] = '0.00%'; - self::$_builtInFormats[11] = '0.00E+00'; - self::$_builtInFormats[12] = '# ?/?'; - self::$_builtInFormats[13] = '# ??/??'; - self::$_builtInFormats[14] = 'mm-dd-yy'; - self::$_builtInFormats[15] = 'd-mmm-yy'; - self::$_builtInFormats[16] = 'd-mmm'; - self::$_builtInFormats[17] = 'mmm-yy'; - self::$_builtInFormats[18] = 'h:mm AM/PM'; - self::$_builtInFormats[19] = 'h:mm:ss AM/PM'; - self::$_builtInFormats[20] = 'h:mm'; - self::$_builtInFormats[21] = 'h:mm:ss'; - self::$_builtInFormats[22] = 'm/d/yy h:mm'; - - self::$_builtInFormats[37] = '#,##0 ;(#,##0)'; - self::$_builtInFormats[38] = '#,##0 ;[Red](#,##0)'; - self::$_builtInFormats[39] = '#,##0.00;(#,##0.00)'; - self::$_builtInFormats[40] = '#,##0.00;[Red](#,##0.00)'; - - self::$_builtInFormats[44] = '_("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)'; - self::$_builtInFormats[45] = 'mm:ss'; - self::$_builtInFormats[46] = '[h]:mm:ss'; - self::$_builtInFormats[47] = 'mmss.0'; - self::$_builtInFormats[48] = '##0.0E+0'; - self::$_builtInFormats[49] = '@'; - - // CHT - self::$_builtInFormats[27] = '[$-404]e/m/d'; - self::$_builtInFormats[30] = 'm/d/yy'; - self::$_builtInFormats[36] = '[$-404]e/m/d'; - self::$_builtInFormats[50] = '[$-404]e/m/d'; - self::$_builtInFormats[57] = '[$-404]e/m/d'; - - // THA - self::$_builtInFormats[59] = 't0'; - self::$_builtInFormats[60] = 't0.00'; - self::$_builtInFormats[61] = 't#,##0'; - self::$_builtInFormats[62] = 't#,##0.00'; - self::$_builtInFormats[67] = 't0%'; - self::$_builtInFormats[68] = 't0.00%'; - self::$_builtInFormats[69] = 't# ?/?'; - self::$_builtInFormats[70] = 't# ??/??'; - - // Flip array (for faster lookups) - self::$_flippedBuiltInFormats = array_flip(self::$_builtInFormats); - } - } - - /** - * Get built-in format code - * - * @param int $pIndex - * @return string - */ - public static function builtInFormatCode($pIndex) - { - // Clean parameter - $pIndex = intval($pIndex); - - // Ensure built-in format codes are available - self::fillBuiltInFormatCodes(); - - // Lookup format code - if (isset(self::$_builtInFormats[$pIndex])) { - return self::$_builtInFormats[$pIndex]; - } - - return ''; - } - - /** - * Get built-in format code index - * - * @param string $formatCode - * @return int|boolean - */ - public static function builtInFormatCodeIndex($formatCode) - { - // Ensure built-in format codes are available - self::fillBuiltInFormatCodes(); - - // Lookup format code - if (isset(self::$_flippedBuiltInFormats[$formatCode])) { - return self::$_flippedBuiltInFormats[$formatCode]; - } - - return false; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() - { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_formatCode - . $this->_builtInFormatCode - . __CLASS__ - ); - } - - /** - * Search/replace values to convert Excel date/time format masks to PHP format masks - * - * @var array - */ - private static $_dateFormatReplacements = array( - // first remove escapes related to non-format characters - '\\' => '', - // 12-hour suffix - 'am/pm' => 'A', - // 4-digit year - 'e' => 'Y', - 'yyyy' => 'Y', - // 2-digit year - 'yy' => 'y', - // first letter of month - no php equivalent - 'mmmmm' => 'M', - // full month name - 'mmmm' => 'F', - // short month name - 'mmm' => 'M', - // mm is minutes if time, but can also be month w/leading zero - // so we try to identify times be the inclusion of a : separator in the mask - // It isn't perfect, but the best way I know how - ':mm' => ':i', - 'mm:' => 'i:', - // month leading zero - 'mm' => 'm', - // month no leading zero - 'm' => 'n', - // full day of week name - 'dddd' => 'l', - // short day of week name - 'ddd' => 'D', - // days leading zero - 'dd' => 'd', - // days no leading zero - 'd' => 'j', - // seconds - 'ss' => 's', - // fractional seconds - no php equivalent - '.s' => '' - ); - /** - * Search/replace values to convert Excel date/time format masks hours to PHP format masks (24 hr clock) - * - * @var array - */ - private static $_dateFormatReplacements24 = array( - 'hh' => 'H', - 'h' => 'G' - ); - /** - * Search/replace values to convert Excel date/time format masks hours to PHP format masks (12 hr clock) - * - * @var array - */ - private static $_dateFormatReplacements12 = array( - 'hh' => 'h', - 'h' => 'g' - ); - - private static function _formatAsDate(&$value, &$format) - { - // dvc: convert Excel formats to PHP date formats - - // strip off first part containing e.g. [$-F800] or [$USD-409] - // general syntax: [$<Currency string>-<language info>] - // language info is in hexadecimal - $format = preg_replace('/^(\[\$[A-Z]*-[0-9A-F]*\])/i', '', $format); - - // OpenOffice.org uses upper-case number formats, e.g. 'YYYY', convert to lower-case - $format = strtolower($format); - - $format = strtr($format,self::$_dateFormatReplacements); - if (!strpos($format,'A')) { // 24-hour time format - $format = strtr($format,self::$_dateFormatReplacements24); - } else { // 12-hour time format - $format = strtr($format,self::$_dateFormatReplacements12); - } - - $dateObj = PHPExcel_Shared_Date::ExcelToPHPObject($value); - $value = $dateObj->format($format); - } - - private static function _formatAsPercentage(&$value, &$format) - { - if ($format === self::FORMAT_PERCENTAGE) { - $value = round( (100 * $value), 0) . '%'; - } else { - if (preg_match('/\.[#0]+/i', $format, $m)) { - $s = substr($m[0], 0, 1) . (strlen($m[0]) - 1); - $format = str_replace($m[0], $s, $format); - } - if (preg_match('/^[#0]+/', $format, $m)) { - $format = str_replace($m[0], strlen($m[0]), $format); - } - $format = '%' . str_replace('%', 'f%%', $format); - - $value = sprintf($format, 100 * $value); - } - } - - private static function _formatAsFraction(&$value, &$format) - { - $sign = ($value < 0) ? '-' : ''; - - $integerPart = floor(abs($value)); - $decimalPart = trim(fmod(abs($value),1),'0.'); - $decimalLength = strlen($decimalPart); - $decimalDivisor = pow(10,$decimalLength); - - $GCD = PHPExcel_Calculation_MathTrig::GCD($decimalPart,$decimalDivisor); - - $adjustedDecimalPart = $decimalPart/$GCD; - $adjustedDecimalDivisor = $decimalDivisor/$GCD; - - if ((strpos($format,'0') !== false) || (strpos($format,'#') !== false) || (substr($format,0,3) == '? ?')) { - if ($integerPart == 0) { - $integerPart = ''; - } - $value = "$sign$integerPart $adjustedDecimalPart/$adjustedDecimalDivisor"; - } else { - $adjustedDecimalPart += $integerPart * $adjustedDecimalDivisor; - $value = "$sign$adjustedDecimalPart/$adjustedDecimalDivisor"; - } - } - - private static function _complexNumberFormatMask($number, $mask) { - if (strpos($mask,'.') !== false) { - $numbers = explode('.', $number . '.0'); - $masks = explode('.', $mask . '.0'); - $result1 = self::_complexNumberFormatMask($numbers[0], $masks[0]); - $result2 = strrev(self::_complexNumberFormatMask(strrev($numbers[1]), strrev($masks[1]))); - return $result1 . '.' . $result2; - } - - $r = preg_match_all('/0+/', $mask, $result, PREG_OFFSET_CAPTURE); - if ($r > 1) { - $result = array_reverse($result[0]); - - foreach($result as $block) { - $divisor = 1 . $block[0]; - $size = strlen($block[0]); - $offset = $block[1]; - - $blockValue = sprintf( - '%0' . $size . 'd', - fmod($number, $divisor) - ); - $number = floor($number / $divisor); - $mask = substr_replace($mask,$blockValue, $offset, $size); - } - if ($number > 0) { - $mask = substr_replace($mask, $number, $offset, 0); - } - $result = $mask; - } else { - $result = $number; - } - - return $result; - } - - /** - * Convert a value in a pre-defined format to a PHP string - * - * @param mixed $value Value to format - * @param string $format Format code - * @param array $callBack Callback function for additional formatting of string - * @return string Formatted string - */ - public static function toFormattedString($value = '0', $format = PHPExcel_Style_NumberFormat::FORMAT_GENERAL, $callBack = null) - { - // For now we do not treat strings although section 4 of a format code affects strings - if (!is_numeric($value)) return $value; - - // For 'General' format code, we just pass the value although this is not entirely the way Excel does it, - // it seems to round numbers to a total of 10 digits. - if (($format === PHPExcel_Style_NumberFormat::FORMAT_GENERAL) || ($format === PHPExcel_Style_NumberFormat::FORMAT_TEXT)) { - return $value; - } - - // Get the sections, there can be up to four sections - $sections = explode(';', $format); - - // Fetch the relevant section depending on whether number is positive, negative, or zero? - // Text not supported yet. - // Here is how the sections apply to various values in Excel: - // 1 section: [POSITIVE/NEGATIVE/ZERO/TEXT] - // 2 sections: [POSITIVE/ZERO/TEXT] [NEGATIVE] - // 3 sections: [POSITIVE/TEXT] [NEGATIVE] [ZERO] - // 4 sections: [POSITIVE] [NEGATIVE] [ZERO] [TEXT] - switch (count($sections)) { - case 1: - $format = $sections[0]; - break; - - case 2: - $format = ($value >= 0) ? $sections[0] : $sections[1]; - $value = abs($value); // Use the absolute value - break; - - case 3: - $format = ($value > 0) ? - $sections[0] : ( ($value < 0) ? - $sections[1] : $sections[2]); - $value = abs($value); // Use the absolute value - break; - - case 4: - $format = ($value > 0) ? - $sections[0] : ( ($value < 0) ? - $sections[1] : $sections[2]); - $value = abs($value); // Use the absolute value - break; - - default: - // something is wrong, just use first section - $format = $sections[0]; - break; - } - - // Save format with color information for later use below - $formatColor = $format; - - // Strip color information - $color_regex = '/^\\[[a-zA-Z]+\\]/'; - $format = preg_replace($color_regex, '', $format); - - // Let's begin inspecting the format and converting the value to a formatted string - if (preg_match('/^(\[\$[A-Z]*-[0-9A-F]*\])*[hmsdy]/i', $format)) { // datetime format - self::_formatAsDate($value, $format); - } else if (preg_match('/%$/', $format)) { // % number format - self::_formatAsPercentage($value, $format); - } else { - if ($format === self::FORMAT_CURRENCY_EUR_SIMPLE) { - $value = 'EUR ' . sprintf('%1.2f', $value); - } else { - // In Excel formats, "_" is used to add spacing, which we can't do in HTML - $format = preg_replace('/_./', '', $format); - - // Some non-number characters are escaped with \, which we don't need - $format = preg_replace("/\\\\/", '', $format); - - // Some non-number strings are quoted, so we'll get rid of the quotes, likewise any positional * symbols - $format = str_replace(array('"','*'), '', $format); - - // Find out if we need thousands separator - // This is indicated by a comma enclosed by a digit placeholder: - // #,# or 0,0 - $useThousands = preg_match('/(#,#|0,0)/', $format); - if ($useThousands) { - $format = preg_replace('/0,0/', '00', $format); - $format = preg_replace('/#,#/', '##', $format); - } - - // Scale thousands, millions,... - // This is indicated by a number of commas after a digit placeholder: - // #, or 0.0,, - $scale = 1; // same as no scale - $matches = array(); - if (preg_match('/(#|0)(,+)/', $format, $matches)) { - $scale = pow(1000, strlen($matches[2])); - - // strip the commas - $format = preg_replace('/0,+/', '0', $format); - $format = preg_replace('/#,+/', '#', $format); - } - - if (preg_match('/#?.*\?\/\?/', $format, $m)) { - //echo 'Format mask is fractional '.$format.' <br />'; - if ($value != (int)$value) { - self::_formatAsFraction($value, $format); - } - - } else { - // Handle the number itself - - // scale number - $value = $value / $scale; - - // Strip # - $format = preg_replace('/\\#/', '0', $format); - - $n = "/\[[^\]]+\]/"; - $m = preg_replace($n, '', $format); - $number_regex = "/(0+)(\.?)(0*)/"; - if (preg_match($number_regex, $m, $matches)) { - $left = $matches[1]; - $dec = $matches[2]; - $right = $matches[3]; - - // minimun width of formatted number (including dot) - $minWidth = strlen($left) + strlen($dec) + strlen($right); - if ($useThousands) { - $value = number_format( - $value - , strlen($right) - , PHPExcel_Shared_String::getDecimalSeparator() - , PHPExcel_Shared_String::getThousandsSeparator() - ); - $value = preg_replace($number_regex, $value, $format); - } else { - if (preg_match('/[0#]E[+-]0/i', $format)) { - // Scientific format - $value = sprintf('%5.2E', $value); - } elseif (preg_match('/0([^\d\.]+)0/', $format)) { - $value = self::_complexNumberFormatMask($value, $format); - } else { - $sprintf_pattern = "%0$minWidth." . strlen($right) . "f"; - $value = sprintf($sprintf_pattern, $value); - $value = preg_replace($number_regex, $value, $format); - } - } - } - } - if (preg_match('/\[\$(.*)\]/u', $format, $m)) { - // Currency or Accounting - $currencyFormat = $m[0]; - $currencyCode = $m[1]; - list($currencyCode) = explode('-',$currencyCode); - if ($currencyCode == '') { - $currencyCode = PHPExcel_Shared_String::getCurrencyCode(); - } - $value = preg_replace('/\[\$([^\]]*)\]/u',$currencyCode,$value); - } - } - } - - // Additional formatting provided by callback function - if ($callBack !== null) { - list($writerInstance, $function) = $callBack; - $value = $writerInstance->$function($value, $formatColor); - } - - return $value; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Protection.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Protection.php deleted file mode 100644 index 8dc1f31ad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Protection.php +++ /dev/null @@ -1,207 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version 1.4.5, 2007-08-23 - */ - - -/** - * PHPExcel_Style_Protection - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Style_Protection extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable -{ - /** Protection styles */ - const PROTECTION_INHERIT = 'inherit'; - const PROTECTION_PROTECTED = 'protected'; - const PROTECTION_UNPROTECTED = 'unprotected'; - - /** - * Locked - * - * @var string - */ - protected $_locked; - - /** - * Hidden - * - * @var string - */ - protected $_hidden; - - /** - * Create a new PHPExcel_Style_Protection - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - * @param boolean $isConditional Flag indicating if this is a conditional style or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE, $isConditional = FALSE) - { - // Supervisor? - parent::__construct($isSupervisor); - - // Initialise values - if (!$isConditional) { - $this->_locked = self::PROTECTION_INHERIT; - $this->_hidden = self::PROTECTION_INHERIT; - } - } - - /** - * Get the shared style component for the currently active cell in currently active sheet. - * Only used for style supervisor - * - * @return PHPExcel_Style_Protection - */ - public function getSharedComponent() - { - return $this->_parent->getSharedComponent()->getProtection(); - } - - /** - * Build style array from subcomponents - * - * @param array $array - * @return array - */ - public function getStyleArray($array) - { - return array('protection' => $array); - } - - /** - * Apply styles from array - * - * <code> - * $objPHPExcel->getActiveSheet()->getStyle('B2')->getLocked()->applyFromArray( - * array( - * 'locked' => TRUE, - * 'hidden' => FALSE - * ) - * ); - * </code> - * - * @param array $pStyles Array containing style information - * @throws PHPExcel_Exception - * @return PHPExcel_Style_Protection - */ - public function applyFromArray($pStyles = NULL) { - if (is_array($pStyles)) { - if ($this->_isSupervisor) { - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($this->getStyleArray($pStyles)); - } else { - if (isset($pStyles['locked'])) { - $this->setLocked($pStyles['locked']); - } - if (isset($pStyles['hidden'])) { - $this->setHidden($pStyles['hidden']); - } - } - } else { - throw new PHPExcel_Exception("Invalid style array passed."); - } - return $this; - } - - /** - * Get locked - * - * @return string - */ - public function getLocked() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getLocked(); - } - return $this->_locked; - } - - /** - * Set locked - * - * @param string $pValue - * @return PHPExcel_Style_Protection - */ - public function setLocked($pValue = self::PROTECTION_INHERIT) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('locked' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_locked = $pValue; - } - return $this; - } - - /** - * Get hidden - * - * @return string - */ - public function getHidden() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHidden(); - } - return $this->_hidden; - } - - /** - * Set hidden - * - * @param string $pValue - * @return PHPExcel_Style_Protection - */ - public function setHidden($pValue = self::PROTECTION_INHERIT) { - if ($this->_isSupervisor) { - $styleArray = $this->getStyleArray(array('hidden' => $pValue)); - $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray); - } else { - $this->_hidden = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_isSupervisor) { - return $this->getSharedComponent()->getHashCode(); - } - return md5( - $this->_locked - . $this->_hidden - . __CLASS__ - ); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Supervisor.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Supervisor.php deleted file mode 100644 index 2d21f5293..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/Supervisor.php +++ /dev/null @@ -1,132 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Style_Supervisor - * - * @category PHPExcel - * @package PHPExcel_Style - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Style_Supervisor -{ - /** - * Supervisor? - * - * @var boolean - */ - protected $_isSupervisor; - - /** - * Parent. Only used for supervisor - * - * @var PHPExcel_Style - */ - protected $_parent; - - /** - * Create a new PHPExcel_Style_Alignment - * - * @param boolean $isSupervisor Flag indicating if this is a supervisor or not - * Leave this value at default unless you understand exactly what - * its ramifications are - */ - public function __construct($isSupervisor = FALSE) - { - // Supervisor? - $this->_isSupervisor = $isSupervisor; - } - - /** - * Bind parent. Only used for supervisor - * - * @param PHPExcel $parent - * @return PHPExcel_Style_Supervisor - */ - public function bindParent($parent, $parentPropertyName=NULL) - { - $this->_parent = $parent; - return $this; - } - - /** - * Is this a supervisor or a cell style component? - * - * @return boolean - */ - public function getIsSupervisor() - { - return $this->_isSupervisor; - } - - /** - * Get the currently active sheet. Only used for supervisor - * - * @return PHPExcel_Worksheet - */ - public function getActiveSheet() - { - return $this->_parent->getActiveSheet(); - } - - /** - * Get the currently active cell coordinate in currently active sheet. - * Only used for supervisor - * - * @return string E.g. 'A1' - */ - public function getSelectedCells() - { - return $this->getActiveSheet()->getSelectedCells(); - } - - /** - * Get the currently active cell coordinate in currently active sheet. - * Only used for supervisor - * - * @return string E.g. 'A1' - */ - public function getActiveCell() - { - return $this->getActiveSheet()->getActiveCell(); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if ((is_object($value)) && ($key != '_parent')) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Style/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet.php deleted file mode 100644 index 6215be8b1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet.php +++ /dev/null @@ -1,2917 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet implements PHPExcel_IComparable -{ - /* Break types */ - const BREAK_NONE = 0; - const BREAK_ROW = 1; - const BREAK_COLUMN = 2; - - /* Sheet state */ - const SHEETSTATE_VISIBLE = 'visible'; - const SHEETSTATE_HIDDEN = 'hidden'; - const SHEETSTATE_VERYHIDDEN = 'veryHidden'; - - /** - * Invalid characters in sheet title - * - * @var array - */ - private static $_invalidCharacters = array('*', ':', '/', '\\', '?', '[', ']'); - - /** - * Parent spreadsheet - * - * @var PHPExcel - */ - private $_parent; - - /** - * Cacheable collection of cells - * - * @var PHPExcel_CachedObjectStorage_xxx - */ - private $_cellCollection = null; - - /** - * Collection of row dimensions - * - * @var PHPExcel_Worksheet_RowDimension[] - */ - private $_rowDimensions = array(); - - /** - * Default row dimension - * - * @var PHPExcel_Worksheet_RowDimension - */ - private $_defaultRowDimension = null; - - /** - * Collection of column dimensions - * - * @var PHPExcel_Worksheet_ColumnDimension[] - */ - private $_columnDimensions = array(); - - /** - * Default column dimension - * - * @var PHPExcel_Worksheet_ColumnDimension - */ - private $_defaultColumnDimension = null; - - /** - * Collection of drawings - * - * @var PHPExcel_Worksheet_BaseDrawing[] - */ - private $_drawingCollection = null; - - /** - * Collection of Chart objects - * - * @var PHPExcel_Chart[] - */ - private $_chartCollection = array(); - - /** - * Worksheet title - * - * @var string - */ - private $_title; - - /** - * Sheet state - * - * @var string - */ - private $_sheetState; - - /** - * Page setup - * - * @var PHPExcel_Worksheet_PageSetup - */ - private $_pageSetup; - - /** - * Page margins - * - * @var PHPExcel_Worksheet_PageMargins - */ - private $_pageMargins; - - /** - * Page header/footer - * - * @var PHPExcel_Worksheet_HeaderFooter - */ - private $_headerFooter; - - /** - * Sheet view - * - * @var PHPExcel_Worksheet_SheetView - */ - private $_sheetView; - - /** - * Protection - * - * @var PHPExcel_Worksheet_Protection - */ - private $_protection; - - /** - * Collection of styles - * - * @var PHPExcel_Style[] - */ - private $_styles = array(); - - /** - * Conditional styles. Indexed by cell coordinate, e.g. 'A1' - * - * @var array - */ - private $_conditionalStylesCollection = array(); - - /** - * Is the current cell collection sorted already? - * - * @var boolean - */ - private $_cellCollectionIsSorted = false; - - /** - * Collection of breaks - * - * @var array - */ - private $_breaks = array(); - - /** - * Collection of merged cell ranges - * - * @var array - */ - private $_mergeCells = array(); - - /** - * Collection of protected cell ranges - * - * @var array - */ - private $_protectedCells = array(); - - /** - * Autofilter Range and selection - * - * @var PHPExcel_Worksheet_AutoFilter - */ - private $_autoFilter = NULL; - - /** - * Freeze pane - * - * @var string - */ - private $_freezePane = ''; - - /** - * Show gridlines? - * - * @var boolean - */ - private $_showGridlines = true; - - /** - * Print gridlines? - * - * @var boolean - */ - private $_printGridlines = false; - - /** - * Show row and column headers? - * - * @var boolean - */ - private $_showRowColHeaders = true; - - /** - * Show summary below? (Row/Column outline) - * - * @var boolean - */ - private $_showSummaryBelow = true; - - /** - * Show summary right? (Row/Column outline) - * - * @var boolean - */ - private $_showSummaryRight = true; - - /** - * Collection of comments - * - * @var PHPExcel_Comment[] - */ - private $_comments = array(); - - /** - * Active cell. (Only one!) - * - * @var string - */ - private $_activeCell = 'A1'; - - /** - * Selected cells - * - * @var string - */ - private $_selectedCells = 'A1'; - - /** - * Cached highest column - * - * @var string - */ - private $_cachedHighestColumn = 'A'; - - /** - * Cached highest row - * - * @var int - */ - private $_cachedHighestRow = 1; - - /** - * Right-to-left? - * - * @var boolean - */ - private $_rightToLeft = false; - - /** - * Hyperlinks. Indexed by cell coordinate, e.g. 'A1' - * - * @var array - */ - private $_hyperlinkCollection = array(); - - /** - * Data validation objects. Indexed by cell coordinate, e.g. 'A1' - * - * @var array - */ - private $_dataValidationCollection = array(); - - /** - * Tab color - * - * @var PHPExcel_Style_Color - */ - private $_tabColor; - - /** - * Dirty flag - * - * @var boolean - */ - private $_dirty = true; - - /** - * Hash - * - * @var string - */ - private $_hash = null; - - /** - * CodeName - * - * @var string - */ - private $_codeName = null; - - /** - * Create a new worksheet - * - * @param PHPExcel $pParent - * @param string $pTitle - */ - public function __construct(PHPExcel $pParent = null, $pTitle = 'Worksheet') - { - // Set parent and title - $this->_parent = $pParent; - $this->setTitle($pTitle, FALSE); - // setTitle can change $pTitle - $this->setCodeName($this->getTitle()); - $this->setSheetState(PHPExcel_Worksheet::SHEETSTATE_VISIBLE); - - $this->_cellCollection = PHPExcel_CachedObjectStorageFactory::getInstance($this); - - // Set page setup - $this->_pageSetup = new PHPExcel_Worksheet_PageSetup(); - - // Set page margins - $this->_pageMargins = new PHPExcel_Worksheet_PageMargins(); - - // Set page header/footer - $this->_headerFooter = new PHPExcel_Worksheet_HeaderFooter(); - - // Set sheet view - $this->_sheetView = new PHPExcel_Worksheet_SheetView(); - - // Drawing collection - $this->_drawingCollection = new ArrayObject(); - - // Chart collection - $this->_chartCollection = new ArrayObject(); - - // Protection - $this->_protection = new PHPExcel_Worksheet_Protection(); - - // Default row dimension - $this->_defaultRowDimension = new PHPExcel_Worksheet_RowDimension(NULL); - - // Default column dimension - $this->_defaultColumnDimension = new PHPExcel_Worksheet_ColumnDimension(NULL); - - $this->_autoFilter = new PHPExcel_Worksheet_AutoFilter(NULL, $this); - } - - - /** - * Disconnect all cells from this PHPExcel_Worksheet object, - * typically so that the worksheet object can be unset - * - */ - public function disconnectCells() { - if ( $this->_cellCollection !== NULL){ - $this->_cellCollection->unsetWorksheetCells(); - $this->_cellCollection = NULL; - } - // detach ourself from the workbook, so that it can then delete this worksheet successfully - $this->_parent = null; - } - - /** - * Code to execute when this worksheet is unset() - * - */ - function __destruct() { - PHPExcel_Calculation::getInstance($this->_parent) - ->clearCalculationCacheForWorksheet($this->_title); - - $this->disconnectCells(); - } - - /** - * Return the cache controller for the cell collection - * - * @return PHPExcel_CachedObjectStorage_xxx - */ - public function getCellCacheController() { - return $this->_cellCollection; - } // function getCellCacheController() - - - /** - * Get array of invalid characters for sheet title - * - * @return array - */ - public static function getInvalidCharacters() - { - return self::$_invalidCharacters; - } - - /** - * Check sheet code name for valid Excel syntax - * - * @param string $pValue The string to check - * @return string The valid string - * @throws Exception - */ - private static function _checkSheetCodeName($pValue) - { - $CharCount = PHPExcel_Shared_String::CountCharacters($pValue); - if ($CharCount == 0) { - throw new PHPExcel_Exception('Sheet code name cannot be empty.'); - } - // Some of the printable ASCII characters are invalid: * : / \ ? [ ] and first and last characters cannot be a "'" - if ((str_replace(self::$_invalidCharacters, '', $pValue) !== $pValue) || - (PHPExcel_Shared_String::Substring($pValue,-1,1)=='\'') || - (PHPExcel_Shared_String::Substring($pValue,0,1)=='\'')) { - throw new PHPExcel_Exception('Invalid character found in sheet code name'); - } - - // Maximum 31 characters allowed for sheet title - if ($CharCount > 31) { - throw new PHPExcel_Exception('Maximum 31 characters allowed in sheet code name.'); - } - - return $pValue; - } - - /** - * Check sheet title for valid Excel syntax - * - * @param string $pValue The string to check - * @return string The valid string - * @throws PHPExcel_Exception - */ - private static function _checkSheetTitle($pValue) - { - // Some of the printable ASCII characters are invalid: * : / \ ? [ ] - if (str_replace(self::$_invalidCharacters, '', $pValue) !== $pValue) { - throw new PHPExcel_Exception('Invalid character found in sheet title'); - } - - // Maximum 31 characters allowed for sheet title - if (PHPExcel_Shared_String::CountCharacters($pValue) > 31) { - throw new PHPExcel_Exception('Maximum 31 characters allowed in sheet title.'); - } - - return $pValue; - } - - /** - * Get collection of cells - * - * @param boolean $pSorted Also sort the cell collection? - * @return PHPExcel_Cell[] - */ - public function getCellCollection($pSorted = true) - { - if ($pSorted) { - // Re-order cell collection - return $this->sortCellCollection(); - } - if ($this->_cellCollection !== NULL) { - return $this->_cellCollection->getCellList(); - } - return array(); - } - - /** - * Sort collection of cells - * - * @return PHPExcel_Worksheet - */ - public function sortCellCollection() - { - if ($this->_cellCollection !== NULL) { - return $this->_cellCollection->getSortedCellList(); - } - return array(); - } - - /** - * Get collection of row dimensions - * - * @return PHPExcel_Worksheet_RowDimension[] - */ - public function getRowDimensions() - { - return $this->_rowDimensions; - } - - /** - * Get default row dimension - * - * @return PHPExcel_Worksheet_RowDimension - */ - public function getDefaultRowDimension() - { - return $this->_defaultRowDimension; - } - - /** - * Get collection of column dimensions - * - * @return PHPExcel_Worksheet_ColumnDimension[] - */ - public function getColumnDimensions() - { - return $this->_columnDimensions; - } - - /** - * Get default column dimension - * - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function getDefaultColumnDimension() - { - return $this->_defaultColumnDimension; - } - - /** - * Get collection of drawings - * - * @return PHPExcel_Worksheet_BaseDrawing[] - */ - public function getDrawingCollection() - { - return $this->_drawingCollection; - } - - /** - * Get collection of charts - * - * @return PHPExcel_Chart[] - */ - public function getChartCollection() - { - return $this->_chartCollection; - } - - /** - * Add chart - * - * @param PHPExcel_Chart $pChart - * @param int|null $iChartIndex Index where chart should go (0,1,..., or null for last) - * @return PHPExcel_Chart - */ - public function addChart(PHPExcel_Chart $pChart = null, $iChartIndex = null) - { - $pChart->setWorksheet($this); - if (is_null($iChartIndex)) { - $this->_chartCollection[] = $pChart; - } else { - // Insert the chart at the requested index - array_splice($this->_chartCollection, $iChartIndex, 0, array($pChart)); - } - - return $pChart; - } - - /** - * Return the count of charts on this worksheet - * - * @return int The number of charts - */ - public function getChartCount() - { - return count($this->_chartCollection); - } - - /** - * Get a chart by its index position - * - * @param string $index Chart index position - * @return false|PHPExcel_Chart - * @throws PHPExcel_Exception - */ - public function getChartByIndex($index = null) - { - $chartCount = count($this->_chartCollection); - if ($chartCount == 0) { - return false; - } - if (is_null($index)) { - $index = --$chartCount; - } - if (!isset($this->_chartCollection[$index])) { - return false; - } - - return $this->_chartCollection[$index]; - } - - /** - * Return an array of the names of charts on this worksheet - * - * @return string[] The names of charts - * @throws PHPExcel_Exception - */ - public function getChartNames() - { - $chartNames = array(); - foreach($this->_chartCollection as $chart) { - $chartNames[] = $chart->getName(); - } - return $chartNames; - } - - /** - * Get a chart by name - * - * @param string $chartName Chart name - * @return false|PHPExcel_Chart - * @throws PHPExcel_Exception - */ - public function getChartByName($chartName = '') - { - $chartCount = count($this->_chartCollection); - if ($chartCount == 0) { - return false; - } - foreach($this->_chartCollection as $index => $chart) { - if ($chart->getName() == $chartName) { - return $this->_chartCollection[$index]; - } - } - return false; - } - - /** - * Refresh column dimensions - * - * @return PHPExcel_Worksheet - */ - public function refreshColumnDimensions() - { - $currentColumnDimensions = $this->getColumnDimensions(); - $newColumnDimensions = array(); - - foreach ($currentColumnDimensions as $objColumnDimension) { - $newColumnDimensions[$objColumnDimension->getColumnIndex()] = $objColumnDimension; - } - - $this->_columnDimensions = $newColumnDimensions; - - return $this; - } - - /** - * Refresh row dimensions - * - * @return PHPExcel_Worksheet - */ - public function refreshRowDimensions() - { - $currentRowDimensions = $this->getRowDimensions(); - $newRowDimensions = array(); - - foreach ($currentRowDimensions as $objRowDimension) { - $newRowDimensions[$objRowDimension->getRowIndex()] = $objRowDimension; - } - - $this->_rowDimensions = $newRowDimensions; - - return $this; - } - - /** - * Calculate worksheet dimension - * - * @return string String containing the dimension of this worksheet - */ - public function calculateWorksheetDimension() - { - // Return - return 'A1' . ':' . $this->getHighestColumn() . $this->getHighestRow(); - } - - /** - * Calculate worksheet data dimension - * - * @return string String containing the dimension of this worksheet that actually contain data - */ - public function calculateWorksheetDataDimension() - { - // Return - return 'A1' . ':' . $this->getHighestDataColumn() . $this->getHighestDataRow(); - } - - /** - * Calculate widths for auto-size columns - * - * @param boolean $calculateMergeCells Calculate merge cell width - * @return PHPExcel_Worksheet; - */ - public function calculateColumnWidths($calculateMergeCells = false) - { - // initialize $autoSizes array - $autoSizes = array(); - foreach ($this->getColumnDimensions() as $colDimension) { - if ($colDimension->getAutoSize()) { - $autoSizes[$colDimension->getColumnIndex()] = -1; - } - } - - // There is only something to do if there are some auto-size columns - if (!empty($autoSizes)) { - - // build list of cells references that participate in a merge - $isMergeCell = array(); - foreach ($this->getMergeCells() as $cells) { - foreach (PHPExcel_Cell::extractAllCellReferencesInRange($cells) as $cellReference) { - $isMergeCell[$cellReference] = true; - } - } - - // loop through all cells in the worksheet - foreach ($this->getCellCollection(false) as $cellID) { - $cell = $this->getCell($cellID); - if (isset($autoSizes[$this->_cellCollection->getCurrentColumn()])) { - // Determine width if cell does not participate in a merge - if (!isset($isMergeCell[$this->_cellCollection->getCurrentAddress()])) { - // Calculated value - // To formatted string - $cellValue = PHPExcel_Style_NumberFormat::toFormattedString( - $cell->getCalculatedValue(), - $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getNumberFormat()->getFormatCode() - ); - - $autoSizes[$this->_cellCollection->getCurrentColumn()] = max( - (float) $autoSizes[$this->_cellCollection->getCurrentColumn()], - (float)PHPExcel_Shared_Font::calculateColumnWidth( - $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont(), - $cellValue, - $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getAlignment()->getTextRotation(), - $this->getDefaultStyle()->getFont() - ) - ); - } - } - } - - // adjust column widths - foreach ($autoSizes as $columnIndex => $width) { - if ($width == -1) $width = $this->getDefaultColumnDimension()->getWidth(); - $this->getColumnDimension($columnIndex)->setWidth($width); - } - } - - return $this; - } - - /** - * Get parent - * - * @return PHPExcel - */ - public function getParent() { - return $this->_parent; - } - - /** - * Re-bind parent - * - * @param PHPExcel $parent - * @return PHPExcel_Worksheet - */ - public function rebindParent(PHPExcel $parent) { - if ($this->_parent !== null) { - $namedRanges = $this->_parent->getNamedRanges(); - foreach ($namedRanges as $namedRange) { - $parent->addNamedRange($namedRange); - } - - $this->_parent->removeSheetByIndex( - $this->_parent->getIndex($this) - ); - } - $this->_parent = $parent; - - return $this; - } - - /** - * Get title - * - * @return string - */ - public function getTitle() - { - return $this->_title; - } - - /** - * Set title - * - * @param string $pValue String containing the dimension of this worksheet - * @param string $updateFormulaCellReferences boolean Flag indicating whether cell references in formulae should - * be updated to reflect the new sheet name. - * This should be left as the default true, unless you are - * certain that no formula cells on any worksheet contain - * references to this worksheet - * @return PHPExcel_Worksheet - */ - public function setTitle($pValue = 'Worksheet', $updateFormulaCellReferences = true) - { - // Is this a 'rename' or not? - if ($this->getTitle() == $pValue) { - return $this; - } - - // Syntax check - self::_checkSheetTitle($pValue); - - // Old title - $oldTitle = $this->getTitle(); - - if ($this->_parent) { - // Is there already such sheet name? - if ($this->_parent->sheetNameExists($pValue)) { - // Use name, but append with lowest possible integer - - if (PHPExcel_Shared_String::CountCharacters($pValue) > 29) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,29); - } - $i = 1; - while ($this->_parent->sheetNameExists($pValue . ' ' . $i)) { - ++$i; - if ($i == 10) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 28) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,28); - } - } elseif ($i == 100) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 27) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,27); - } - } - } - - $altTitle = $pValue . ' ' . $i; - return $this->setTitle($altTitle,$updateFormulaCellReferences); - } - } - - // Set title - $this->_title = $pValue; - $this->_dirty = true; - - if ($this->_parent) { - // New title - $newTitle = $this->getTitle(); - PHPExcel_Calculation::getInstance($this->_parent) - ->renameCalculationCacheForWorksheet($oldTitle, $newTitle); - if ($updateFormulaCellReferences) - PHPExcel_ReferenceHelper::getInstance()->updateNamedFormulas($this->_parent, $oldTitle, $newTitle); - } - - return $this; - } - - /** - * Get sheet state - * - * @return string Sheet state (visible, hidden, veryHidden) - */ - public function getSheetState() { - return $this->_sheetState; - } - - /** - * Set sheet state - * - * @param string $value Sheet state (visible, hidden, veryHidden) - * @return PHPExcel_Worksheet - */ - public function setSheetState($value = PHPExcel_Worksheet::SHEETSTATE_VISIBLE) { - $this->_sheetState = $value; - return $this; - } - - /** - * Get page setup - * - * @return PHPExcel_Worksheet_PageSetup - */ - public function getPageSetup() - { - return $this->_pageSetup; - } - - /** - * Set page setup - * - * @param PHPExcel_Worksheet_PageSetup $pValue - * @return PHPExcel_Worksheet - */ - public function setPageSetup(PHPExcel_Worksheet_PageSetup $pValue) - { - $this->_pageSetup = $pValue; - return $this; - } - - /** - * Get page margins - * - * @return PHPExcel_Worksheet_PageMargins - */ - public function getPageMargins() - { - return $this->_pageMargins; - } - - /** - * Set page margins - * - * @param PHPExcel_Worksheet_PageMargins $pValue - * @return PHPExcel_Worksheet - */ - public function setPageMargins(PHPExcel_Worksheet_PageMargins $pValue) - { - $this->_pageMargins = $pValue; - return $this; - } - - /** - * Get page header/footer - * - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function getHeaderFooter() - { - return $this->_headerFooter; - } - - /** - * Set page header/footer - * - * @param PHPExcel_Worksheet_HeaderFooter $pValue - * @return PHPExcel_Worksheet - */ - public function setHeaderFooter(PHPExcel_Worksheet_HeaderFooter $pValue) - { - $this->_headerFooter = $pValue; - return $this; - } - - /** - * Get sheet view - * - * @return PHPExcel_Worksheet_SheetView - */ - public function getSheetView() - { - return $this->_sheetView; - } - - /** - * Set sheet view - * - * @param PHPExcel_Worksheet_SheetView $pValue - * @return PHPExcel_Worksheet - */ - public function setSheetView(PHPExcel_Worksheet_SheetView $pValue) - { - $this->_sheetView = $pValue; - return $this; - } - - /** - * Get Protection - * - * @return PHPExcel_Worksheet_Protection - */ - public function getProtection() - { - return $this->_protection; - } - - /** - * Set Protection - * - * @param PHPExcel_Worksheet_Protection $pValue - * @return PHPExcel_Worksheet - */ - public function setProtection(PHPExcel_Worksheet_Protection $pValue) - { - $this->_protection = $pValue; - $this->_dirty = true; - - return $this; - } - - /** - * Get highest worksheet column - * - * @param string $row Return the data highest column for the specified row, - * or the highest column of any row if no row number is passed - * @return string Highest column name - */ - public function getHighestColumn($row = null) - { - if ($row == null) { - return $this->_cachedHighestColumn; - } - return $this->getHighestDataColumn($row); - } - - /** - * Get highest worksheet column that contains data - * - * @param string $row Return the highest data column for the specified row, - * or the highest data column of any row if no row number is passed - * @return string Highest column name that contains data - */ - public function getHighestDataColumn($row = null) - { - return $this->_cellCollection->getHighestColumn($row); - } - - /** - * Get highest worksheet row - * - * @param string $column Return the highest data row for the specified column, - * or the highest row of any column if no column letter is passed - * @return int Highest row number - */ - public function getHighestRow($column = null) - { - if ($column == null) { - return $this->_cachedHighestRow; - } - return $this->getHighestDataRow($column); - } - - /** - * Get highest worksheet row that contains data - * - * @param string $column Return the highest data row for the specified column, - * or the highest data row of any column if no column letter is passed - * @return string Highest row number that contains data - */ - public function getHighestDataRow($column = null) - { - return $this->_cellCollection->getHighestRow($column); - } - - /** - * Get highest worksheet column and highest row that have cell records - * - * @return array Highest column name and highest row number - */ - public function getHighestRowAndColumn() - { - return $this->_cellCollection->getHighestRowAndColumn(); - } - - /** - * Set a cell value - * - * @param string $pCoordinate Coordinate of the cell - * @param mixed $pValue Value of the cell - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValue($pCoordinate = 'A1', $pValue = null, $returnCell = false) - { - $cell = $this->getCell($pCoordinate)->setValue($pValue); - return ($returnCell) ? $cell : $this; - } - - /** - * Set a cell value by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell (A = 0) - * @param string $pRow Numeric row coordinate of the cell - * @param mixed $pValue Value of the cell - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValueByColumnAndRow($pColumn = 0, $pRow = 1, $pValue = null, $returnCell = false) - { - $cell = $this->getCellByColumnAndRow($pColumn, $pRow)->setValue($pValue); - return ($returnCell) ? $cell : $this; - } - - /** - * Set a cell value - * - * @param string $pCoordinate Coordinate of the cell - * @param mixed $pValue Value of the cell - * @param string $pDataType Explicit data type - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValueExplicit($pCoordinate = 'A1', $pValue = null, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING, $returnCell = false) - { - // Set value - $cell = $this->getCell($pCoordinate)->setValueExplicit($pValue, $pDataType); - return ($returnCell) ? $cell : $this; - } - - /** - * Set a cell value by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell - * @param string $pRow Numeric row coordinate of the cell - * @param mixed $pValue Value of the cell - * @param string $pDataType Explicit data type - * @param bool $returnCell Return the worksheet (false, default) or the cell (true) - * @return PHPExcel_Worksheet|PHPExcel_Cell Depending on the last parameter being specified - */ - public function setCellValueExplicitByColumnAndRow($pColumn = 0, $pRow = 1, $pValue = null, $pDataType = PHPExcel_Cell_DataType::TYPE_STRING, $returnCell = false) - { - $cell = $this->getCellByColumnAndRow($pColumn, $pRow)->setValueExplicit($pValue, $pDataType); - return ($returnCell) ? $cell : $this; - } - - /** - * Get cell at a specific coordinate - * - * @param string $pCoordinate Coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Cell Cell that was found - */ - public function getCell($pCoordinate = 'A1') - { - // Check cell collection - if ($this->_cellCollection->isDataSet($pCoordinate)) { - return $this->_cellCollection->getCacheData($pCoordinate); - } - - // Worksheet reference? - if (strpos($pCoordinate, '!') !== false) { - $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true); - return $this->_parent->getSheetByName($worksheetReference[0])->getCell($worksheetReference[1]); - } - - // Named range? - if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) && - (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $pCoordinate, $matches))) { - $namedRange = PHPExcel_NamedRange::resolveRange($pCoordinate, $this); - if ($namedRange !== NULL) { - $pCoordinate = $namedRange->getRange(); - return $namedRange->getWorksheet()->getCell($pCoordinate); - } - } - - // Uppercase coordinate - $pCoordinate = strtoupper($pCoordinate); - - if (strpos($pCoordinate, ':') !== false || strpos($pCoordinate, ',') !== false) { - throw new PHPExcel_Exception('Cell coordinate can not be a range of cells.'); - } elseif (strpos($pCoordinate, '$') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not be absolute.'); - } - - // Create new cell object - return $this->_createNewCell($pCoordinate); - } - - /** - * Get cell at a specific coordinate by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell - * @param string $pRow Numeric row coordinate of the cell - * @return PHPExcel_Cell Cell that was found - */ - public function getCellByColumnAndRow($pColumn = 0, $pRow = 1) - { - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($pColumn); - $coordinate = $columnLetter . $pRow; - - if ($this->_cellCollection->isDataSet($coordinate)) { - return $this->_cellCollection->getCacheData($coordinate); - } - - return $this->_createNewCell($coordinate); - } - - /** - * Create a new cell at the specified coordinate - * - * @param string $pCoordinate Coordinate of the cell - * @return PHPExcel_Cell Cell that was created - */ - private function _createNewCell($pCoordinate) - { - $cell = $this->_cellCollection->addCacheData( - $pCoordinate, - new PHPExcel_Cell( - NULL, - PHPExcel_Cell_DataType::TYPE_NULL, - $this - ) - ); - $this->_cellCollectionIsSorted = false; - - // Coordinates - $aCoordinates = PHPExcel_Cell::coordinateFromString($pCoordinate); - if (PHPExcel_Cell::columnIndexFromString($this->_cachedHighestColumn) < PHPExcel_Cell::columnIndexFromString($aCoordinates[0])) - $this->_cachedHighestColumn = $aCoordinates[0]; - $this->_cachedHighestRow = max($this->_cachedHighestRow, $aCoordinates[1]); - - // Cell needs appropriate xfIndex from dimensions records - // but don't create dimension records if they don't already exist - $rowDimension = $this->getRowDimension($aCoordinates[1], FALSE); - $columnDimension = $this->getColumnDimension($aCoordinates[0], FALSE); - - if ($rowDimension !== NULL && $rowDimension->getXfIndex() > 0) { - // then there is a row dimension with explicit style, assign it to the cell - $cell->setXfIndex($rowDimension->getXfIndex()); - } elseif ($columnDimension !== NULL && $columnDimension->getXfIndex() > 0) { - // then there is a column dimension, assign it to the cell - $cell->setXfIndex($columnDimension->getXfIndex()); - } - - return $cell; - } - - /** - * Does the cell at a specific coordinate exist? - * - * @param string $pCoordinate Coordinate of the cell - * @throws PHPExcel_Exception - * @return boolean - */ - public function cellExists($pCoordinate = 'A1') - { - // Worksheet reference? - if (strpos($pCoordinate, '!') !== false) { - $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true); - return $this->_parent->getSheetByName($worksheetReference[0])->cellExists($worksheetReference[1]); - } - - // Named range? - if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) && - (preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE.'$/i', $pCoordinate, $matches))) { - $namedRange = PHPExcel_NamedRange::resolveRange($pCoordinate, $this); - if ($namedRange !== NULL) { - $pCoordinate = $namedRange->getRange(); - if ($this->getHashCode() != $namedRange->getWorksheet()->getHashCode()) { - if (!$namedRange->getLocalOnly()) { - return $namedRange->getWorksheet()->cellExists($pCoordinate); - } else { - throw new PHPExcel_Exception('Named range ' . $namedRange->getName() . ' is not accessible from within sheet ' . $this->getTitle()); - } - } - } - else { return false; } - } - - // Uppercase coordinate - $pCoordinate = strtoupper($pCoordinate); - - if (strpos($pCoordinate,':') !== false || strpos($pCoordinate,',') !== false) { - throw new PHPExcel_Exception('Cell coordinate can not be a range of cells.'); - } elseif (strpos($pCoordinate,'$') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not be absolute.'); - } else { - // Coordinates - $aCoordinates = PHPExcel_Cell::coordinateFromString($pCoordinate); - - // Cell exists? - return $this->_cellCollection->isDataSet($pCoordinate); - } - } - - /** - * Cell at a specific coordinate by using numeric cell coordinates exists? - * - * @param string $pColumn Numeric column coordinate of the cell - * @param string $pRow Numeric row coordinate of the cell - * @return boolean - */ - public function cellExistsByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->cellExists(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Get row dimension at a specific row - * - * @param int $pRow Numeric index of the row - * @return PHPExcel_Worksheet_RowDimension - */ - public function getRowDimension($pRow = 1, $create = TRUE) - { - // Found - $found = null; - - // Get row dimension - if (!isset($this->_rowDimensions[$pRow])) { - if (!$create) - return NULL; - $this->_rowDimensions[$pRow] = new PHPExcel_Worksheet_RowDimension($pRow); - - $this->_cachedHighestRow = max($this->_cachedHighestRow,$pRow); - } - return $this->_rowDimensions[$pRow]; - } - - /** - * Get column dimension at a specific column - * - * @param string $pColumn String index of the column - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function getColumnDimension($pColumn = 'A', $create = TRUE) - { - // Uppercase coordinate - $pColumn = strtoupper($pColumn); - - // Fetch dimensions - if (!isset($this->_columnDimensions[$pColumn])) { - if (!$create) - return NULL; - $this->_columnDimensions[$pColumn] = new PHPExcel_Worksheet_ColumnDimension($pColumn); - - if (PHPExcel_Cell::columnIndexFromString($this->_cachedHighestColumn) < PHPExcel_Cell::columnIndexFromString($pColumn)) - $this->_cachedHighestColumn = $pColumn; - } - return $this->_columnDimensions[$pColumn]; - } - - /** - * Get column dimension at a specific column by using numeric cell coordinates - * - * @param string $pColumn Numeric column coordinate of the cell - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function getColumnDimensionByColumn($pColumn = 0) - { - return $this->getColumnDimension(PHPExcel_Cell::stringFromColumnIndex($pColumn)); - } - - /** - * Get styles - * - * @return PHPExcel_Style[] - */ - public function getStyles() - { - return $this->_styles; - } - - /** - * Get default style of workbook. - * - * @deprecated - * @return PHPExcel_Style - * @throws PHPExcel_Exception - */ - public function getDefaultStyle() - { - return $this->_parent->getDefaultStyle(); - } - - /** - * Set default style - should only be used by PHPExcel_IReader implementations! - * - * @deprecated - * @param PHPExcel_Style $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setDefaultStyle(PHPExcel_Style $pValue) - { - $this->_parent->getDefaultStyle()->applyFromArray(array( - 'font' => array( - 'name' => $pValue->getFont()->getName(), - 'size' => $pValue->getFont()->getSize(), - ), - )); - return $this; - } - - /** - * Get style for cell - * - * @param string $pCellCoordinate Cell coordinate (or range) to get style for - * @return PHPExcel_Style - * @throws PHPExcel_Exception - */ - public function getStyle($pCellCoordinate = 'A1') - { - // set this sheet as active - $this->_parent->setActiveSheetIndex($this->_parent->getIndex($this)); - - // set cell coordinate as active - $this->setSelectedCells($pCellCoordinate); - - return $this->_parent->getCellXfSupervisor(); - } - - /** - * Get conditional styles for a cell - * - * @param string $pCoordinate - * @return PHPExcel_Style_Conditional[] - */ - public function getConditionalStyles($pCoordinate = 'A1') - { - if (!isset($this->_conditionalStylesCollection[$pCoordinate])) { - $this->_conditionalStylesCollection[$pCoordinate] = array(); - } - return $this->_conditionalStylesCollection[$pCoordinate]; - } - - /** - * Do conditional styles exist for this cell? - * - * @param string $pCoordinate - * @return boolean - */ - public function conditionalStylesExists($pCoordinate = 'A1') - { - if (isset($this->_conditionalStylesCollection[$pCoordinate])) { - return true; - } - return false; - } - - /** - * Removes conditional styles for a cell - * - * @param string $pCoordinate - * @return PHPExcel_Worksheet - */ - public function removeConditionalStyles($pCoordinate = 'A1') - { - unset($this->_conditionalStylesCollection[$pCoordinate]); - return $this; - } - - /** - * Get collection of conditional styles - * - * @return array - */ - public function getConditionalStylesCollection() - { - return $this->_conditionalStylesCollection; - } - - /** - * Set conditional styles - * - * @param $pCoordinate string E.g. 'A1' - * @param $pValue PHPExcel_Style_Conditional[] - * @return PHPExcel_Worksheet - */ - public function setConditionalStyles($pCoordinate = 'A1', $pValue) - { - $this->_conditionalStylesCollection[$pCoordinate] = $pValue; - return $this; - } - - /** - * Get style for cell by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @param int pColumn2 Numeric column coordinate of the range cell - * @param int pRow2 Numeric row coordinate of the range cell - * @return PHPExcel_Style - */ - public function getStyleByColumnAndRow($pColumn = 0, $pRow = 1, $pColumn2 = null, $pRow2 = null) - { - if (!is_null($pColumn2) && !is_null($pRow2)) { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow . ':' . - PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->getStyle($cellRange); - } - - return $this->getStyle(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Set shared cell style to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range! - * - * @deprecated - * @param PHPExcel_Style $pSharedCellStyle Cell style to share - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setSharedStyle(PHPExcel_Style $pSharedCellStyle = null, $pRange = '') - { - $this->duplicateStyle($pSharedCellStyle, $pRange); - return $this; - } - - /** - * Duplicate cell style to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range! - * - * @param PHPExcel_Style $pCellStyle Cell style to duplicate - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function duplicateStyle(PHPExcel_Style $pCellStyle = null, $pRange = '') - { - // make sure we have a real style and not supervisor - $style = $pCellStyle->getIsSupervisor() ? $pCellStyle->getSharedComponent() : $pCellStyle; - - // Add the style to the workbook if necessary - $workbook = $this->_parent; - if ($existingStyle = $this->_parent->getCellXfByHashCode($pCellStyle->getHashCode())) { - // there is already such cell Xf in our collection - $xfIndex = $existingStyle->getIndex(); - } else { - // we don't have such a cell Xf, need to add - $workbook->addCellXf($pCellStyle); - $xfIndex = $pCellStyle->getIndex(); - } - - // Calculate range outer borders - list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange . ':' . $pRange); - - // Make sure we can loop upwards on rows and columns - if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { - $tmp = $rangeStart; - $rangeStart = $rangeEnd; - $rangeEnd = $tmp; - } - - // Loop through cells and apply styles - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $this->getCell(PHPExcel_Cell::stringFromColumnIndex($col - 1) . $row)->setXfIndex($xfIndex); - } - } - - return $this; - } - - /** - * Duplicate conditional style to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range! - * - * @param array of PHPExcel_Style_Conditional $pCellStyle Cell style to duplicate - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function duplicateConditionalStyle(array $pCellStyle = null, $pRange = '') - { - foreach($pCellStyle as $cellStyle) { - if (!($cellStyle instanceof PHPExcel_Style_Conditional)) { - throw new PHPExcel_Exception('Style is not a conditional style'); - } - } - - // Calculate range outer borders - list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange . ':' . $pRange); - - // Make sure we can loop upwards on rows and columns - if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { - $tmp = $rangeStart; - $rangeStart = $rangeEnd; - $rangeEnd = $tmp; - } - - // Loop through cells and apply styles - for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { - for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { - $this->setConditionalStyles(PHPExcel_Cell::stringFromColumnIndex($col - 1) . $row, $pCellStyle); - } - } - - return $this; - } - - /** - * Duplicate cell style array to a range of cells - * - * Please note that this will overwrite existing cell styles for cells in range, - * if they are in the styles array. For example, if you decide to set a range of - * cells to font bold, only include font bold in the styles array. - * - * @deprecated - * @param array $pStyles Array containing style information - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @param boolean $pAdvanced Advanced mode for setting borders. - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function duplicateStyleArray($pStyles = null, $pRange = '', $pAdvanced = true) - { - $this->getStyle($pRange)->applyFromArray($pStyles, $pAdvanced); - return $this; - } - - /** - * Set break on a cell - * - * @param string $pCell Cell coordinate (e.g. A1) - * @param int $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setBreak($pCell = 'A1', $pBreak = PHPExcel_Worksheet::BREAK_NONE) - { - // Uppercase coordinate - $pCell = strtoupper($pCell); - - if ($pCell != '') { - if ($pBreak == PHPExcel_Worksheet::BREAK_NONE) { - if (isset($this->_breaks[$pCell])) { - unset($this->_breaks[$pCell]); - } - } else { - $this->_breaks[$pCell] = $pBreak; - } - } else { - throw new PHPExcel_Exception('No cell coordinate specified.'); - } - - return $this; - } - - /** - * Set break on a cell by using numeric cell coordinates - * - * @param integer $pColumn Numeric column coordinate of the cell - * @param integer $pRow Numeric row coordinate of the cell - * @param integer $pBreak Break type (type of PHPExcel_Worksheet::BREAK_*) - * @return PHPExcel_Worksheet - */ - public function setBreakByColumnAndRow($pColumn = 0, $pRow = 1, $pBreak = PHPExcel_Worksheet::BREAK_NONE) - { - return $this->setBreak(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow, $pBreak); - } - - /** - * Get breaks - * - * @return array[] - */ - public function getBreaks() - { - return $this->_breaks; - } - - /** - * Set merge on a cell range - * - * @param string $pRange Cell range (e.g. A1:E1) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function mergeCells($pRange = 'A1:A1') - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (strpos($pRange,':') !== false) { - $this->_mergeCells[$pRange] = $pRange; - - // make sure cells are created - - // get the cells in the range - $aReferences = PHPExcel_Cell::extractAllCellReferencesInRange($pRange); - - // create upper left cell if it does not already exist - $upperLeft = $aReferences[0]; - if (!$this->cellExists($upperLeft)) { - $this->getCell($upperLeft)->setValueExplicit(null, PHPExcel_Cell_DataType::TYPE_NULL); - } - - // create or blank out the rest of the cells in the range - $count = count($aReferences); - for ($i = 1; $i < $count; $i++) { - $this->getCell($aReferences[$i])->setValueExplicit(null, PHPExcel_Cell_DataType::TYPE_NULL); - } - - } else { - throw new PHPExcel_Exception('Merge must be set on a range of cells.'); - } - - return $this; - } - - /** - * Set merge on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function mergeCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->mergeCells($cellRange); - } - - /** - * Remove merge on a cell range - * - * @param string $pRange Cell range (e.g. A1:E1) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unmergeCells($pRange = 'A1:A1') - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (strpos($pRange,':') !== false) { - if (isset($this->_mergeCells[$pRange])) { - unset($this->_mergeCells[$pRange]); - } else { - throw new PHPExcel_Exception('Cell range ' . $pRange . ' not known as merged.'); - } - } else { - throw new PHPExcel_Exception('Merge can only be removed from a range of cells.'); - } - - return $this; - } - - /** - * Remove merge on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unmergeCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->unmergeCells($cellRange); - } - - /** - * Get merge cells array. - * - * @return array[] - */ - public function getMergeCells() - { - return $this->_mergeCells; - } - - /** - * Set merge cells array for the entire sheet. Use instead mergeCells() to merge - * a single cell range. - * - * @param array - */ - public function setMergeCells($pValue = array()) - { - $this->_mergeCells = $pValue; - - return $this; - } - - /** - * Set protection on a cell range - * - * @param string $pRange Cell (e.g. A1) or cell range (e.g. A1:E1) - * @param string $pPassword Password to unlock the protection - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function protectCells($pRange = 'A1', $pPassword = '', $pAlreadyHashed = false) - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (!$pAlreadyHashed) { - $pPassword = PHPExcel_Shared_PasswordHasher::hashPassword($pPassword); - } - $this->_protectedCells[$pRange] = $pPassword; - - return $this; - } - - /** - * Set protection on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @param string $pPassword Password to unlock the protection - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function protectCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1, $pPassword = '', $pAlreadyHashed = false) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->protectCells($cellRange, $pPassword, $pAlreadyHashed); - } - - /** - * Remove protection on a cell range - * - * @param string $pRange Cell (e.g. A1) or cell range (e.g. A1:E1) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unprotectCells($pRange = 'A1') - { - // Uppercase coordinate - $pRange = strtoupper($pRange); - - if (isset($this->_protectedCells[$pRange])) { - unset($this->_protectedCells[$pRange]); - } else { - throw new PHPExcel_Exception('Cell range ' . $pRange . ' not known as protected.'); - } - return $this; - } - - /** - * Remove protection on a cell range by using numeric cell coordinates - * - * @param int $pColumn1 Numeric column coordinate of the first cell - * @param int $pRow1 Numeric row coordinate of the first cell - * @param int $pColumn2 Numeric column coordinate of the last cell - * @param int $pRow2 Numeric row coordinate of the last cell - * @param string $pPassword Password to unlock the protection - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function unprotectCellsByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1, $pPassword = '', $pAlreadyHashed = false) - { - $cellRange = PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 . ':' . PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2; - return $this->unprotectCells($cellRange, $pPassword, $pAlreadyHashed); - } - - /** - * Get protected cells - * - * @return array[] - */ - public function getProtectedCells() - { - return $this->_protectedCells; - } - - /** - * Get Autofilter - * - * @return PHPExcel_Worksheet_AutoFilter - */ - public function getAutoFilter() - { - return $this->_autoFilter; - } - - /** - * Set AutoFilter - * - * @param PHPExcel_Worksheet_AutoFilter|string $pValue - * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setAutoFilter($pValue) - { - if (is_string($pValue)) { - $this->_autoFilter->setRange($pValue); - } elseif(is_object($pValue) && ($pValue instanceof PHPExcel_Worksheet_AutoFilter)) { - $this->_autoFilter = $pValue; - } - return $this; - } - - /** - * Set Autofilter Range by using numeric cell coordinates - * - * @param integer $pColumn1 Numeric column coordinate of the first cell - * @param integer $pRow1 Numeric row coordinate of the first cell - * @param integer $pColumn2 Numeric column coordinate of the second cell - * @param integer $pRow2 Numeric row coordinate of the second cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setAutoFilterByColumnAndRow($pColumn1 = 0, $pRow1 = 1, $pColumn2 = 0, $pRow2 = 1) - { - return $this->setAutoFilter( - PHPExcel_Cell::stringFromColumnIndex($pColumn1) . $pRow1 - . ':' . - PHPExcel_Cell::stringFromColumnIndex($pColumn2) . $pRow2 - ); - } - - /** - * Remove autofilter - * - * @return PHPExcel_Worksheet - */ - public function removeAutoFilter() - { - $this->_autoFilter->setRange(NULL); - return $this; - } - - /** - * Get Freeze Pane - * - * @return string - */ - public function getFreezePane() - { - return $this->_freezePane; - } - - /** - * Freeze Pane - * - * @param string $pCell Cell (i.e. A2) - * Examples: - * A2 will freeze the rows above cell A2 (i.e row 1) - * B1 will freeze the columns to the left of cell B1 (i.e column A) - * B2 will freeze the rows above and to the left of cell A2 - * (i.e row 1 and column A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function freezePane($pCell = '') - { - // Uppercase coordinate - $pCell = strtoupper($pCell); - - if (strpos($pCell,':') === false && strpos($pCell,',') === false) { - $this->_freezePane = $pCell; - } else { - throw new PHPExcel_Exception('Freeze pane can not be set on a range of cells.'); - } - return $this; - } - - /** - * Freeze Pane by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function freezePaneByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->freezePane(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Unfreeze Pane - * - * @return PHPExcel_Worksheet - */ - public function unfreezePane() - { - return $this->freezePane(''); - } - - /** - * Insert a new row, updating all possible related data - * - * @param int $pBefore Insert before this one - * @param int $pNumRows Number of rows to insert - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function insertNewRowBefore($pBefore = 1, $pNumRows = 1) { - if ($pBefore >= 1) { - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore('A' . $pBefore, 0, $pNumRows, $this); - } else { - throw new PHPExcel_Exception("Rows can only be inserted before at least row 1."); - } - return $this; - } - - /** - * Insert a new column, updating all possible related data - * - * @param int $pBefore Insert before this one - * @param int $pNumCols Number of columns to insert - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function insertNewColumnBefore($pBefore = 'A', $pNumCols = 1) { - if (!is_numeric($pBefore)) { - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore($pBefore . '1', $pNumCols, 0, $this); - } else { - throw new PHPExcel_Exception("Column references should not be numeric."); - } - return $this; - } - - /** - * Insert a new column, updating all possible related data - * - * @param int $pBefore Insert before this one (numeric column coordinate of the cell) - * @param int $pNumCols Number of columns to insert - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function insertNewColumnBeforeByIndex($pBefore = 0, $pNumCols = 1) { - if ($pBefore >= 0) { - return $this->insertNewColumnBefore(PHPExcel_Cell::stringFromColumnIndex($pBefore), $pNumCols); - } else { - throw new PHPExcel_Exception("Columns can only be inserted before at least column A (0)."); - } - } - - /** - * Delete a row, updating all possible related data - * - * @param int $pRow Remove starting with this one - * @param int $pNumRows Number of rows to remove - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function removeRow($pRow = 1, $pNumRows = 1) { - if ($pRow >= 1) { - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore('A' . ($pRow + $pNumRows), 0, -$pNumRows, $this); - } else { - throw new PHPExcel_Exception("Rows to be deleted should at least start from row 1."); - } - return $this; - } - - /** - * Remove a column, updating all possible related data - * - * @param int $pColumn Remove starting with this one - * @param int $pNumCols Number of columns to remove - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function removeColumn($pColumn = 'A', $pNumCols = 1) { - if (!is_numeric($pColumn)) { - $pColumn = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::columnIndexFromString($pColumn) - 1 + $pNumCols); - $objReferenceHelper = PHPExcel_ReferenceHelper::getInstance(); - $objReferenceHelper->insertNewBefore($pColumn . '1', -$pNumCols, 0, $this); - } else { - throw new PHPExcel_Exception("Column references should not be numeric."); - } - return $this; - } - - /** - * Remove a column, updating all possible related data - * - * @param int $pColumn Remove starting with this one (numeric column coordinate of the cell) - * @param int $pNumCols Number of columns to remove - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function removeColumnByIndex($pColumn = 0, $pNumCols = 1) { - if ($pColumn >= 0) { - return $this->removeColumn(PHPExcel_Cell::stringFromColumnIndex($pColumn), $pNumCols); - } else { - throw new PHPExcel_Exception("Columns to be deleted should at least start from column 0"); - } - } - - /** - * Show gridlines? - * - * @return boolean - */ - public function getShowGridlines() { - return $this->_showGridlines; - } - - /** - * Set show gridlines - * - * @param boolean $pValue Show gridlines (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowGridlines($pValue = false) { - $this->_showGridlines = $pValue; - return $this; - } - - /** - * Print gridlines? - * - * @return boolean - */ - public function getPrintGridlines() { - return $this->_printGridlines; - } - - /** - * Set print gridlines - * - * @param boolean $pValue Print gridlines (true/false) - * @return PHPExcel_Worksheet - */ - public function setPrintGridlines($pValue = false) { - $this->_printGridlines = $pValue; - return $this; - } - - /** - * Show row and column headers? - * - * @return boolean - */ - public function getShowRowColHeaders() { - return $this->_showRowColHeaders; - } - - /** - * Set show row and column headers - * - * @param boolean $pValue Show row and column headers (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowRowColHeaders($pValue = false) { - $this->_showRowColHeaders = $pValue; - return $this; - } - - /** - * Show summary below? (Row/Column outlining) - * - * @return boolean - */ - public function getShowSummaryBelow() { - return $this->_showSummaryBelow; - } - - /** - * Set show summary below - * - * @param boolean $pValue Show summary below (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowSummaryBelow($pValue = true) { - $this->_showSummaryBelow = $pValue; - return $this; - } - - /** - * Show summary right? (Row/Column outlining) - * - * @return boolean - */ - public function getShowSummaryRight() { - return $this->_showSummaryRight; - } - - /** - * Set show summary right - * - * @param boolean $pValue Show summary right (true/false) - * @return PHPExcel_Worksheet - */ - public function setShowSummaryRight($pValue = true) { - $this->_showSummaryRight = $pValue; - return $this; - } - - /** - * Get comments - * - * @return PHPExcel_Comment[] - */ - public function getComments() - { - return $this->_comments; - } - - /** - * Set comments array for the entire sheet. - * - * @param array of PHPExcel_Comment - * @return PHPExcel_Worksheet - */ - public function setComments($pValue = array()) - { - $this->_comments = $pValue; - - return $this; - } - - /** - * Get comment for cell - * - * @param string $pCellCoordinate Cell coordinate to get comment for - * @return PHPExcel_Comment - * @throws PHPExcel_Exception - */ - public function getComment($pCellCoordinate = 'A1') - { - // Uppercase coordinate - $pCellCoordinate = strtoupper($pCellCoordinate); - - if (strpos($pCellCoordinate,':') !== false || strpos($pCellCoordinate,',') !== false) { - throw new PHPExcel_Exception('Cell coordinate string can not be a range of cells.'); - } else if (strpos($pCellCoordinate,'$') !== false) { - throw new PHPExcel_Exception('Cell coordinate string must not be absolute.'); - } else if ($pCellCoordinate == '') { - throw new PHPExcel_Exception('Cell coordinate can not be zero-length string.'); - } else { - // Check if we already have a comment for this cell. - // If not, create a new comment. - if (isset($this->_comments[$pCellCoordinate])) { - return $this->_comments[$pCellCoordinate]; - } else { - $newComment = new PHPExcel_Comment(); - $this->_comments[$pCellCoordinate] = $newComment; - return $newComment; - } - } - } - - /** - * Get comment for cell by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @return PHPExcel_Comment - */ - public function getCommentByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->getComment(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Get selected cell - * - * @deprecated - * @return string - */ - public function getSelectedCell() - { - return $this->getSelectedCells(); - } - - /** - * Get active cell - * - * @return string Example: 'A1' - */ - public function getActiveCell() - { - return $this->_activeCell; - } - - /** - * Get selected cells - * - * @return string - */ - public function getSelectedCells() - { - return $this->_selectedCells; - } - - /** - * Selected cell - * - * @param string $pCoordinate Cell (i.e. A1) - * @return PHPExcel_Worksheet - */ - public function setSelectedCell($pCoordinate = 'A1') - { - return $this->setSelectedCells($pCoordinate); - } - - /** - * Select a range of cells. - * - * @param string $pCoordinate Cell range, examples: 'A1', 'B2:G5', 'A:C', '3:6' - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setSelectedCells($pCoordinate = 'A1') - { - // Uppercase coordinate - $pCoordinate = strtoupper($pCoordinate); - - // Convert 'A' to 'A:A' - $pCoordinate = preg_replace('/^([A-Z]+)$/', '${1}:${1}', $pCoordinate); - - // Convert '1' to '1:1' - $pCoordinate = preg_replace('/^([0-9]+)$/', '${1}:${1}', $pCoordinate); - - // Convert 'A:C' to 'A1:C1048576' - $pCoordinate = preg_replace('/^([A-Z]+):([A-Z]+)$/', '${1}1:${2}1048576', $pCoordinate); - - // Convert '1:3' to 'A1:XFD3' - $pCoordinate = preg_replace('/^([0-9]+):([0-9]+)$/', 'A${1}:XFD${2}', $pCoordinate); - - if (strpos($pCoordinate,':') !== false || strpos($pCoordinate,',') !== false) { - list($first, ) = PHPExcel_Cell::splitRange($pCoordinate); - $this->_activeCell = $first[0]; - } else { - $this->_activeCell = $pCoordinate; - } - $this->_selectedCells = $pCoordinate; - return $this; - } - - /** - * Selected cell by using numeric cell coordinates - * - * @param int $pColumn Numeric column coordinate of the cell - * @param int $pRow Numeric row coordinate of the cell - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function setSelectedCellByColumnAndRow($pColumn = 0, $pRow = 1) - { - return $this->setSelectedCells(PHPExcel_Cell::stringFromColumnIndex($pColumn) . $pRow); - } - - /** - * Get right-to-left - * - * @return boolean - */ - public function getRightToLeft() { - return $this->_rightToLeft; - } - - /** - * Set right-to-left - * - * @param boolean $value Right-to-left true/false - * @return PHPExcel_Worksheet - */ - public function setRightToLeft($value = false) { - $this->_rightToLeft = $value; - return $this; - } - - /** - * Fill worksheet from values in array - * - * @param array $source Source array - * @param mixed $nullValue Value in source array that stands for blank cell - * @param string $startCell Insert array starting from this cell address as the top left coordinate - * @param boolean $strictNullComparison Apply strict comparison when testing for null values in the array - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet - */ - public function fromArray($source = null, $nullValue = null, $startCell = 'A1', $strictNullComparison = false) { - if (is_array($source)) { - // Convert a 1-D array to 2-D (for ease of looping) - if (!is_array(end($source))) { - $source = array($source); - } - - // start coordinate - list ($startColumn, $startRow) = PHPExcel_Cell::coordinateFromString($startCell); - - // Loop through $source - foreach ($source as $rowData) { - $currentColumn = $startColumn; - foreach($rowData as $cellValue) { - if ($strictNullComparison) { - if ($cellValue !== $nullValue) { - // Set cell value - $this->getCell($currentColumn . $startRow)->setValue($cellValue); - } - } else { - if ($cellValue != $nullValue) { - // Set cell value - $this->getCell($currentColumn . $startRow)->setValue($cellValue); - } - } - ++$currentColumn; - } - ++$startRow; - } - } else { - throw new PHPExcel_Exception("Parameter \$source should be an array."); - } - return $this; - } - - /** - * Create array from a range of cells - * - * @param string $pRange Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") - * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist - * @param boolean $calculateFormulas Should formulas be calculated? - * @param boolean $formatData Should formatting be applied to cell values? - * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero - * True - Return rows and columns indexed by their actual row and column IDs - * @return array - */ - public function rangeToArray($pRange = 'A1', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { - // Returnvalue - $returnValue = array(); - // Identify the range that we need to extract from the worksheet - list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange); - $minCol = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] -1); - $minRow = $rangeStart[1]; - $maxCol = PHPExcel_Cell::stringFromColumnIndex($rangeEnd[0] -1); - $maxRow = $rangeEnd[1]; - - $maxCol++; - // Loop through rows - $r = -1; - for ($row = $minRow; $row <= $maxRow; ++$row) { - $rRef = ($returnCellRef) ? $row : ++$r; - $c = -1; - // Loop through columns in the current row - for ($col = $minCol; $col != $maxCol; ++$col) { - $cRef = ($returnCellRef) ? $col : ++$c; - // Using getCell() will create a new cell if it doesn't already exist. We don't want that to happen - // so we test and retrieve directly against _cellCollection - if ($this->_cellCollection->isDataSet($col.$row)) { - // Cell exists - $cell = $this->_cellCollection->getCacheData($col.$row); - if ($cell->getValue() !== null) { - if ($cell->getValue() instanceof PHPExcel_RichText) { - $returnValue[$rRef][$cRef] = $cell->getValue()->getPlainText(); - } else { - if ($calculateFormulas) { - $returnValue[$rRef][$cRef] = $cell->getCalculatedValue(); - } else { - $returnValue[$rRef][$cRef] = $cell->getValue(); - } - } - - if ($formatData) { - $style = $this->_parent->getCellXfByIndex($cell->getXfIndex()); - $returnValue[$rRef][$cRef] = PHPExcel_Style_NumberFormat::toFormattedString( - $returnValue[$rRef][$cRef], - ($style && $style->getNumberFormat()) ? - $style->getNumberFormat()->getFormatCode() : - PHPExcel_Style_NumberFormat::FORMAT_GENERAL - ); - } - } else { - // Cell holds a NULL - $returnValue[$rRef][$cRef] = $nullValue; - } - } else { - // Cell doesn't exist - $returnValue[$rRef][$cRef] = $nullValue; - } - } - } - - // Return - return $returnValue; - } - - - /** - * Create array from a range of cells - * - * @param string $pNamedRange Name of the Named Range - * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist - * @param boolean $calculateFormulas Should formulas be calculated? - * @param boolean $formatData Should formatting be applied to cell values? - * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero - * True - Return rows and columns indexed by their actual row and column IDs - * @return array - * @throws PHPExcel_Exception - */ - public function namedRangeToArray($pNamedRange = '', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { - $namedRange = PHPExcel_NamedRange::resolveRange($pNamedRange, $this); - if ($namedRange !== NULL) { - $pWorkSheet = $namedRange->getWorksheet(); - $pCellRange = $namedRange->getRange(); - - return $pWorkSheet->rangeToArray( $pCellRange, - $nullValue, $calculateFormulas, $formatData, $returnCellRef); - } - - throw new PHPExcel_Exception('Named Range '.$pNamedRange.' does not exist.'); - } - - - /** - * Create array from worksheet - * - * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist - * @param boolean $calculateFormulas Should formulas be calculated? - * @param boolean $formatData Should formatting be applied to cell values? - * @param boolean $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero - * True - Return rows and columns indexed by their actual row and column IDs - * @return array - */ - public function toArray($nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { - // Garbage collect... - $this->garbageCollect(); - - // Identify the range that we need to extract from the worksheet - $maxCol = $this->getHighestColumn(); - $maxRow = $this->getHighestRow(); - // Return - return $this->rangeToArray( 'A1:'.$maxCol.$maxRow, - $nullValue, $calculateFormulas, $formatData, $returnCellRef); - } - - /** - * Get row iterator - * - * @param integer $startRow The row number at which to start iterating - * @return PHPExcel_Worksheet_RowIterator - */ - public function getRowIterator($startRow = 1) { - return new PHPExcel_Worksheet_RowIterator($this,$startRow); - } - - /** - * Run PHPExcel garabage collector. - * - * @return PHPExcel_Worksheet - */ - public function garbageCollect() { - // Flush cache - $this->_cellCollection->getCacheData('A1'); - // Build a reference table from images -// $imageCoordinates = array(); -// $iterator = $this->getDrawingCollection()->getIterator(); -// while ($iterator->valid()) { -// $imageCoordinates[$iterator->current()->getCoordinates()] = true; -// -// $iterator->next(); -// } -// - // Lookup highest column and highest row if cells are cleaned - $colRow = $this->_cellCollection->getHighestRowAndColumn(); - $highestRow = $colRow['row']; - $highestColumn = PHPExcel_Cell::columnIndexFromString($colRow['column']); - - // Loop through column dimensions - foreach ($this->_columnDimensions as $dimension) { - $highestColumn = max($highestColumn,PHPExcel_Cell::columnIndexFromString($dimension->getColumnIndex())); - } - - // Loop through row dimensions - foreach ($this->_rowDimensions as $dimension) { - $highestRow = max($highestRow,$dimension->getRowIndex()); - } - - // Cache values - if ($highestColumn < 0) { - $this->_cachedHighestColumn = 'A'; - } else { - $this->_cachedHighestColumn = PHPExcel_Cell::stringFromColumnIndex(--$highestColumn); - } - $this->_cachedHighestRow = $highestRow; - - // Return - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - if ($this->_dirty) { - $this->_hash = md5( $this->_title . - $this->_autoFilter . - ($this->_protection->isProtectionEnabled() ? 't' : 'f') . - __CLASS__ - ); - $this->_dirty = false; - } - return $this->_hash; - } - - /** - * Extract worksheet title from range. - * - * Example: extractSheetTitle("testSheet!A1") ==> 'A1' - * Example: extractSheetTitle("'testSheet 1'!A1", true) ==> array('testSheet 1', 'A1'); - * - * @param string $pRange Range to extract title from - * @param bool $returnRange Return range? (see example) - * @return mixed - */ - public static function extractSheetTitle($pRange, $returnRange = false) { - // Sheet title included? - if (($sep = strpos($pRange, '!')) === false) { - return ''; - } - - if ($returnRange) { - return array( trim(substr($pRange, 0, $sep),"'"), - substr($pRange, $sep + 1) - ); - } - - return substr($pRange, $sep + 1); - } - - /** - * Get hyperlink - * - * @param string $pCellCoordinate Cell coordinate to get hyperlink for - */ - public function getHyperlink($pCellCoordinate = 'A1') - { - // return hyperlink if we already have one - if (isset($this->_hyperlinkCollection[$pCellCoordinate])) { - return $this->_hyperlinkCollection[$pCellCoordinate]; - } - - // else create hyperlink - $this->_hyperlinkCollection[$pCellCoordinate] = new PHPExcel_Cell_Hyperlink(); - return $this->_hyperlinkCollection[$pCellCoordinate]; - } - - /** - * Set hyperlnk - * - * @param string $pCellCoordinate Cell coordinate to insert hyperlink - * @param PHPExcel_Cell_Hyperlink $pHyperlink - * @return PHPExcel_Worksheet - */ - public function setHyperlink($pCellCoordinate = 'A1', PHPExcel_Cell_Hyperlink $pHyperlink = null) - { - if ($pHyperlink === null) { - unset($this->_hyperlinkCollection[$pCellCoordinate]); - } else { - $this->_hyperlinkCollection[$pCellCoordinate] = $pHyperlink; - } - return $this; - } - - /** - * Hyperlink at a specific coordinate exists? - * - * @param string $pCoordinate - * @return boolean - */ - public function hyperlinkExists($pCoordinate = 'A1') - { - return isset($this->_hyperlinkCollection[$pCoordinate]); - } - - /** - * Get collection of hyperlinks - * - * @return PHPExcel_Cell_Hyperlink[] - */ - public function getHyperlinkCollection() - { - return $this->_hyperlinkCollection; - } - - /** - * Get data validation - * - * @param string $pCellCoordinate Cell coordinate to get data validation for - */ - public function getDataValidation($pCellCoordinate = 'A1') - { - // return data validation if we already have one - if (isset($this->_dataValidationCollection[$pCellCoordinate])) { - return $this->_dataValidationCollection[$pCellCoordinate]; - } - - // else create data validation - $this->_dataValidationCollection[$pCellCoordinate] = new PHPExcel_Cell_DataValidation(); - return $this->_dataValidationCollection[$pCellCoordinate]; - } - - /** - * Set data validation - * - * @param string $pCellCoordinate Cell coordinate to insert data validation - * @param PHPExcel_Cell_DataValidation $pDataValidation - * @return PHPExcel_Worksheet - */ - public function setDataValidation($pCellCoordinate = 'A1', PHPExcel_Cell_DataValidation $pDataValidation = null) - { - if ($pDataValidation === null) { - unset($this->_dataValidationCollection[$pCellCoordinate]); - } else { - $this->_dataValidationCollection[$pCellCoordinate] = $pDataValidation; - } - return $this; - } - - /** - * Data validation at a specific coordinate exists? - * - * @param string $pCoordinate - * @return boolean - */ - public function dataValidationExists($pCoordinate = 'A1') - { - return isset($this->_dataValidationCollection[$pCoordinate]); - } - - /** - * Get collection of data validations - * - * @return PHPExcel_Cell_DataValidation[] - */ - public function getDataValidationCollection() - { - return $this->_dataValidationCollection; - } - - /** - * Accepts a range, returning it as a range that falls within the current highest row and column of the worksheet - * - * @param string $range - * @return string Adjusted range value - */ - public function shrinkRangeToFit($range) { - $maxCol = $this->getHighestColumn(); - $maxRow = $this->getHighestRow(); - $maxCol = PHPExcel_Cell::columnIndexFromString($maxCol); - - $rangeBlocks = explode(' ',$range); - foreach ($rangeBlocks as &$rangeSet) { - $rangeBoundaries = PHPExcel_Cell::getRangeBoundaries($rangeSet); - - if (PHPExcel_Cell::columnIndexFromString($rangeBoundaries[0][0]) > $maxCol) { $rangeBoundaries[0][0] = PHPExcel_Cell::stringFromColumnIndex($maxCol); } - if ($rangeBoundaries[0][1] > $maxRow) { $rangeBoundaries[0][1] = $maxRow; } - if (PHPExcel_Cell::columnIndexFromString($rangeBoundaries[1][0]) > $maxCol) { $rangeBoundaries[1][0] = PHPExcel_Cell::stringFromColumnIndex($maxCol); } - if ($rangeBoundaries[1][1] > $maxRow) { $rangeBoundaries[1][1] = $maxRow; } - $rangeSet = $rangeBoundaries[0][0].$rangeBoundaries[0][1].':'.$rangeBoundaries[1][0].$rangeBoundaries[1][1]; - } - unset($rangeSet); - $stRange = implode(' ',$rangeBlocks); - - return $stRange; - } - - /** - * Get tab color - * - * @return PHPExcel_Style_Color - */ - public function getTabColor() - { - if ($this->_tabColor === NULL) - $this->_tabColor = new PHPExcel_Style_Color(); - - return $this->_tabColor; - } - - /** - * Reset tab color - * - * @return PHPExcel_Worksheet - */ - public function resetTabColor() - { - $this->_tabColor = null; - unset($this->_tabColor); - - return $this; - } - - /** - * Tab color set? - * - * @return boolean - */ - public function isTabColorSet() - { - return ($this->_tabColor !== NULL); - } - - /** - * Copy worksheet (!= clone!) - * - * @return PHPExcel_Worksheet - */ - public function copy() { - $copied = clone $this; - - return $copied; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - foreach ($this as $key => $val) { - if ($key == '_parent') { - continue; - } - - if (is_object($val) || (is_array($val))) { - if ($key == '_cellCollection') { - $newCollection = clone $this->_cellCollection; - $newCollection->copyCellCollection($this); - $this->_cellCollection = $newCollection; - } elseif ($key == '_drawingCollection') { - $newCollection = clone $this->_drawingCollection; - $this->_drawingCollection = $newCollection; - } elseif (($key == '_autoFilter') && ($this->_autoFilter instanceof PHPExcel_Worksheet_AutoFilter)) { - $newAutoFilter = clone $this->_autoFilter; - $this->_autoFilter = $newAutoFilter; - $this->_autoFilter->setParent($this); - } else { - $this->{$key} = unserialize(serialize($val)); - } - } - } - } -/** - * Define the code name of the sheet - * - * @param null|string Same rule as Title minus space not allowed (but, like Excel, change silently space to underscore) - * @return objWorksheet - * @throws PHPExcel_Exception - */ - public function setCodeName($pValue=null){ - // Is this a 'rename' or not? - if ($this->getCodeName() == $pValue) { - return $this; - } - $pValue = str_replace(' ', '_', $pValue);//Excel does this automatically without flinching, we are doing the same - // Syntax check - // throw an exception if not valid - self::_checkSheetCodeName($pValue); - - // We use the same code that setTitle to find a valid codeName else not using a space (Excel don't like) but a '_' - - if ($this->getParent()) { - // Is there already such sheet name? - if ($this->getParent()->sheetCodeNameExists($pValue)) { - // Use name, but append with lowest possible integer - - if (PHPExcel_Shared_String::CountCharacters($pValue) > 29) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,29); - } - $i = 1; - while ($this->getParent()->sheetCodeNameExists($pValue . '_' . $i)) { - ++$i; - if ($i == 10) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 28) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,28); - } - } elseif ($i == 100) { - if (PHPExcel_Shared_String::CountCharacters($pValue) > 27) { - $pValue = PHPExcel_Shared_String::Substring($pValue,0,27); - } - } - } - - $pValue = $pValue . '_' . $i;// ok, we have a valid name - //codeName is'nt used in formula : no need to call for an update - //return $this->setTitle($altTitle,$updateFormulaCellReferences); - } - } - - $this->_codeName=$pValue; - return $this; - } - /** - * Return the code name of the sheet - * - * @return null|string - */ - public function getCodeName(){ - return $this->_codeName; - } - /** - * Sheet has a code name ? - * @return boolean - */ - public function hasCodeName(){ - return !(is_null($this->_codeName)); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter.php deleted file mode 100644 index d0fa8b6df..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter.php +++ /dev/null @@ -1,858 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_AutoFilter - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_AutoFilter -{ - /** - * Autofilter Worksheet - * - * @var PHPExcel_Worksheet - */ - private $_workSheet = NULL; - - - /** - * Autofilter Range - * - * @var string - */ - private $_range = ''; - - - /** - * Autofilter Column Ruleset - * - * @var array of PHPExcel_Worksheet_AutoFilter_Column - */ - private $_columns = array(); - - - /** - * Create a new PHPExcel_Worksheet_AutoFilter - * - * @param string $pRange Cell range (i.e. A1:E10) - * @param PHPExcel_Worksheet $pSheet - */ - public function __construct($pRange = '', PHPExcel_Worksheet $pSheet = NULL) - { - $this->_range = $pRange; - $this->_workSheet = $pSheet; - } - - /** - * Get AutoFilter Parent Worksheet - * - * @return PHPExcel_Worksheet - */ - public function getParent() { - return $this->_workSheet; - } - - /** - * Set AutoFilter Parent Worksheet - * - * @param PHPExcel_Worksheet $pSheet - * @return PHPExcel_Worksheet_AutoFilter - */ - public function setParent(PHPExcel_Worksheet $pSheet = NULL) { - $this->_workSheet = $pSheet; - - return $this; - } - - /** - * Get AutoFilter Range - * - * @return string - */ - public function getRange() { - return $this->_range; - } - - /** - * Set AutoFilter Range - * - * @param string $pRange Cell range (i.e. A1:E10) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function setRange($pRange = '') { - // Uppercase coordinate - $cellAddress = explode('!',strtoupper($pRange)); - if (count($cellAddress) > 1) { - list($worksheet,$pRange) = $cellAddress; - } - - if (strpos($pRange,':') !== FALSE) { - $this->_range = $pRange; - } elseif(empty($pRange)) { - $this->_range = ''; - } else { - throw new PHPExcel_Exception('Autofilter must be set on a range of cells.'); - } - - if (empty($pRange)) { - // Discard all column rules - $this->_columns = array(); - } else { - // Discard any column rules that are no longer valid within this range - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - foreach($this->_columns as $key => $value) { - $colIndex = PHPExcel_Cell::columnIndexFromString($key); - if (($rangeStart[0] > $colIndex) || ($rangeEnd[0] < $colIndex)) { - unset($this->_columns[$key]); - } - } - } - - return $this; - } - - /** - * Get all AutoFilter Columns - * - * @throws PHPExcel_Exception - * @return array of PHPExcel_Worksheet_AutoFilter_Column - */ - public function getColumns() { - return $this->_columns; - } - - /** - * Validate that the specified column is in the AutoFilter range - * - * @param string $column Column name (e.g. A) - * @throws PHPExcel_Exception - * @return integer The column offset within the autofilter range - */ - public function testColumnInRange($column) { - if (empty($this->_range)) { - throw new PHPExcel_Exception("No autofilter range is defined."); - } - - $columnIndex = PHPExcel_Cell::columnIndexFromString($column); - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - if (($rangeStart[0] > $columnIndex) || ($rangeEnd[0] < $columnIndex)) { - throw new PHPExcel_Exception("Column is outside of current autofilter range."); - } - - return $columnIndex - $rangeStart[0]; - } - - /** - * Get a specified AutoFilter Column Offset within the defined AutoFilter range - * - * @param string $pColumn Column name (e.g. A) - * @throws PHPExcel_Exception - * @return integer The offset of the specified column within the autofilter range - */ - public function getColumnOffset($pColumn) { - return $this->testColumnInRange($pColumn); - } - - /** - * Get a specified AutoFilter Column - * - * @param string $pColumn Column name (e.g. A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function getColumn($pColumn) { - $this->testColumnInRange($pColumn); - - if (!isset($this->_columns[$pColumn])) { - $this->_columns[$pColumn] = new PHPExcel_Worksheet_AutoFilter_Column($pColumn, $this); - } - - return $this->_columns[$pColumn]; - } - - /** - * Get a specified AutoFilter Column by it's offset - * - * @param integer $pColumnOffset Column offset within range (starting from 0) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function getColumnByOffset($pColumnOffset = 0) { - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - $pColumn = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] + $pColumnOffset - 1); - - return $this->getColumn($pColumn); - } - - /** - * Set AutoFilter - * - * @param PHPExcel_Worksheet_AutoFilter_Column|string $pColumn - * A simple string containing a Column ID like 'A' is permitted - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function setColumn($pColumn) - { - if ((is_string($pColumn)) && (!empty($pColumn))) { - $column = $pColumn; - } elseif(is_object($pColumn) && ($pColumn instanceof PHPExcel_Worksheet_AutoFilter_Column)) { - $column = $pColumn->getColumnIndex(); - } else { - throw new PHPExcel_Exception("Column is not within the autofilter range."); - } - $this->testColumnInRange($column); - - if (is_string($pColumn)) { - $this->_columns[$pColumn] = new PHPExcel_Worksheet_AutoFilter_Column($pColumn, $this); - } elseif(is_object($pColumn) && ($pColumn instanceof PHPExcel_Worksheet_AutoFilter_Column)) { - $pColumn->setParent($this); - $this->_columns[$column] = $pColumn; - } - ksort($this->_columns); - - return $this; - } - - /** - * Clear a specified AutoFilter Column - * - * @param string $pColumn Column name (e.g. A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function clearColumn($pColumn) { - $this->testColumnInRange($pColumn); - - if (isset($this->_columns[$pColumn])) { - unset($this->_columns[$pColumn]); - } - - return $this; - } - - /** - * Shift an AutoFilter Column Rule to a different column - * - * Note: This method bypasses validation of the destination column to ensure it is within this AutoFilter range. - * Nor does it verify whether any column rule already exists at $toColumn, but will simply overrideany existing value. - * Use with caution. - * - * @param string $fromColumn Column name (e.g. A) - * @param string $toColumn Column name (e.g. B) - * @return PHPExcel_Worksheet_AutoFilter - */ - public function shiftColumn($fromColumn=NULL,$toColumn=NULL) { - $fromColumn = strtoupper($fromColumn); - $toColumn = strtoupper($toColumn); - - if (($fromColumn !== NULL) && (isset($this->_columns[$fromColumn])) && ($toColumn !== NULL)) { - $this->_columns[$fromColumn]->setParent(); - $this->_columns[$fromColumn]->setColumnIndex($toColumn); - $this->_columns[$toColumn] = $this->_columns[$fromColumn]; - $this->_columns[$toColumn]->setParent($this); - unset($this->_columns[$fromColumn]); - - ksort($this->_columns); - } - - return $this; - } - - - /** - * Test if cell value is in the defined set of values - * - * @param mixed $cellValue - * @param mixed[] $dataSet - * @return boolean - */ - private static function _filterTestInSimpleDataSet($cellValue,$dataSet) - { - $dataSetValues = $dataSet['filterValues']; - $blanks = $dataSet['blanks']; - if (($cellValue == '') || ($cellValue === NULL)) { - return $blanks; - } - return in_array($cellValue,$dataSetValues); - } - - /** - * Test if cell value is in the defined set of Excel date values - * - * @param mixed $cellValue - * @param mixed[] $dataSet - * @return boolean - */ - private static function _filterTestInDateGroupSet($cellValue,$dataSet) - { - $dateSet = $dataSet['filterValues']; - $blanks = $dataSet['blanks']; - if (($cellValue == '') || ($cellValue === NULL)) { - return $blanks; - } - - if (is_numeric($cellValue)) { - $dateValue = PHPExcel_Shared_Date::ExcelToPHP($cellValue); - if ($cellValue < 1) { - // Just the time part - $dtVal = date('His',$dateValue); - $dateSet = $dateSet['time']; - } elseif($cellValue == floor($cellValue)) { - // Just the date part - $dtVal = date('Ymd',$dateValue); - $dateSet = $dateSet['date']; - } else { - // date and time parts - $dtVal = date('YmdHis',$dateValue); - $dateSet = $dateSet['dateTime']; - } - foreach($dateSet as $dateValue) { - // Use of substr to extract value at the appropriate group level - if (substr($dtVal,0,strlen($dateValue)) == $dateValue) - return TRUE; - } - } - - return FALSE; - } - - /** - * Test if cell value is within a set of values defined by a ruleset - * - * @param mixed $cellValue - * @param mixed[] $ruleSet - * @return boolean - */ - private static function _filterTestInCustomDataSet($cellValue, $ruleSet) - { - $dataSet = $ruleSet['filterRules']; - $join = $ruleSet['join']; - $customRuleForBlanks = isset($ruleSet['customRuleForBlanks']) ? $ruleSet['customRuleForBlanks'] : FALSE; - - if (!$customRuleForBlanks) { - // Blank cells are always ignored, so return a FALSE - if (($cellValue == '') || ($cellValue === NULL)) { - return FALSE; - } - } - $returnVal = ($join == PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND); - foreach($dataSet as $rule) { - if (is_numeric($rule['value'])) { - // Numeric values are tested using the appropriate operator - switch ($rule['operator']) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL : - $retVal = ($cellValue == $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_NOTEQUAL : - $retVal = ($cellValue != $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHAN : - $retVal = ($cellValue > $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL : - $retVal = ($cellValue >= $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN : - $retVal = ($cellValue < $rule['value']); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL : - $retVal = ($cellValue <= $rule['value']); - break; - } - } elseif($rule['value'] == '') { - switch ($rule['operator']) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL : - $retVal = (($cellValue == '') || ($cellValue === NULL)); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_NOTEQUAL : - $retVal = (($cellValue != '') && ($cellValue !== NULL)); - break; - default : - $retVal = TRUE; - break; - } - } else { - // String values are always tested for equality, factoring in for wildcards (hence a regexp test) - $retVal = preg_match('/^'.$rule['value'].'$/i',$cellValue); - } - // If there are multiple conditions, then we need to test both using the appropriate join operator - switch ($join) { - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR : - $returnVal = $returnVal || $retVal; - // Break as soon as we have a TRUE match for OR joins, - // to avoid unnecessary additional code execution - if ($returnVal) - return $returnVal; - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND : - $returnVal = $returnVal && $retVal; - break; - } - } - - return $returnVal; - } - - /** - * Test if cell date value is matches a set of values defined by a set of months - * - * @param mixed $cellValue - * @param mixed[] $monthSet - * @return boolean - */ - private static function _filterTestInPeriodDateSet($cellValue, $monthSet) - { - // Blank cells are always ignored, so return a FALSE - if (($cellValue == '') || ($cellValue === NULL)) { - return FALSE; - } - - if (is_numeric($cellValue)) { - $dateValue = date('m',PHPExcel_Shared_Date::ExcelToPHP($cellValue)); - if (in_array($dateValue,$monthSet)) { - return TRUE; - } - } - - return FALSE; - } - - /** - * Search/Replace arrays to convert Excel wildcard syntax to a regexp syntax for preg_matching - * - * @var array - */ - private static $_fromReplace = array('\*', '\?', '~~', '~.*', '~.?'); - private static $_toReplace = array('.*', '.', '~', '\*', '\?'); - - - /** - * Convert a dynamic rule daterange to a custom filter range expression for ease of calculation - * - * @param string $dynamicRuleType - * @param PHPExcel_Worksheet_AutoFilter_Column &$filterColumn - * @return mixed[] - */ - private function _dynamicFilterDateRange($dynamicRuleType, &$filterColumn) - { - $rDateType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC); - $val = $maxVal = NULL; - - $ruleValues = array(); - $baseDate = PHPExcel_Calculation_DateTime::DATENOW(); - // Calculate start/end dates for the required date range based on current date - switch ($dynamicRuleType) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK : - $baseDate = strtotime('-7 days',$baseDate); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK : - $baseDate = strtotime('-7 days',$baseDate); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH : - $baseDate = strtotime('-1 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH : - $baseDate = strtotime('+1 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER : - $baseDate = strtotime('-3 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER : - $baseDate = strtotime('+3 month',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR : - $baseDate = strtotime('-1 year',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR : - $baseDate = strtotime('+1 year',gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - } - - switch ($dynamicRuleType) { - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TODAY : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW : - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(strtotime('+1 day',$baseDate)); - $val = (int) PHPExcel_Shared_Date::PHPToExcel($baseDate); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE : - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(strtotime('+1 day',$baseDate)); - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,1,date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR : - $maxVal = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,31,12,date('Y',$baseDate))); - ++$maxVal; - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,1,date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER : - $thisMonth = date('m',$baseDate); - $thisQuarter = floor(--$thisMonth / 3); - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(gmmktime(0,0,0,date('t',$baseDate),(1+$thisQuarter)*3,date('Y',$baseDate))); - ++$maxVal; - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,1+$thisQuarter*3,date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH : - $maxVal = (int) PHPExcel_Shared_Date::PHPtoExcel(gmmktime(0,0,0,date('t',$baseDate),date('m',$baseDate),date('Y',$baseDate))); - ++$maxVal; - $val = (int) PHPExcel_Shared_Date::PHPToExcel(gmmktime(0,0,0,1,date('m',$baseDate),date('Y',$baseDate))); - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK : - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK : - $dayOfWeek = date('w',$baseDate); - $val = (int) PHPExcel_Shared_Date::PHPToExcel($baseDate) - $dayOfWeek; - $maxVal = $val + 7; - break; - } - - switch ($dynamicRuleType) { - // Adjust Today dates for Yesterday and Tomorrow - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY : - --$maxVal; - --$val; - break; - case PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW : - ++$maxVal; - ++$val; - break; - } - - // Set the filter column rule attributes ready for writing - $filterColumn->setAttributes(array( 'val' => $val, - 'maxVal' => $maxVal - ) - ); - - // Set the rules for identifying rows for hide/show - $ruleValues[] = array( 'operator' => PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL, - 'value' => $val - ); - $ruleValues[] = array( 'operator' => PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN, - 'value' => $maxVal - ); - PHPExcel_Calculation_Functions::setReturnDateType($rDateType); - - return array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND - ) - ); - } - - private function _calculateTopTenValue($columnID,$startRow,$endRow,$ruleType,$ruleValue) { - $range = $columnID.$startRow.':'.$columnID.$endRow; - $dataValues = PHPExcel_Calculation_Functions::flattenArray( - $this->_workSheet->rangeToArray($range,NULL,TRUE,FALSE) - ); - - $dataValues = array_filter($dataValues); - if ($ruleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) { - rsort($dataValues); - } else { - sort($dataValues); - } - - return array_pop(array_slice($dataValues,0,$ruleValue)); - } - - /** - * Apply the AutoFilter rules to the AutoFilter Range - * - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter - */ - public function showHideRows() - { - list($rangeStart,$rangeEnd) = PHPExcel_Cell::rangeBoundaries($this->_range); - - // The heading row should always be visible -// echo 'AutoFilter Heading Row ',$rangeStart[1],' is always SHOWN',PHP_EOL; - $this->_workSheet->getRowDimension($rangeStart[1])->setVisible(TRUE); - - $columnFilterTests = array(); - foreach($this->_columns as $columnID => $filterColumn) { - $rules = $filterColumn->getRules(); - switch ($filterColumn->getFilterType()) { - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER : - $ruleValues = array(); - // Build a list of the filter value selections - foreach($rules as $rule) { - $ruleType = $rule->getRuleType(); - $ruleValues[] = $rule->getValue(); - } - // Test if we want to include blanks in our filter criteria - $blanks = FALSE; - $ruleDataSet = array_filter($ruleValues); - if (count($ruleValues) != count($ruleDataSet)) - $blanks = TRUE; - if ($ruleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_FILTER) { - // Filter on absolute values - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInSimpleDataSet', - 'arguments' => array( 'filterValues' => $ruleDataSet, - 'blanks' => $blanks - ) - ); - } else { - // Filter on date group values - $arguments = array(); - foreach($ruleDataSet as $ruleValue) { - $date = $time = ''; - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR] !== '')) - $date .= sprintf('%04d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_YEAR]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH] != '')) - $date .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MONTH]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY] !== '')) - $date .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_DAY]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR] !== '')) - $time .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_HOUR]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE] !== '')) - $time .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE]); - if ((isset($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND])) && - ($ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND] !== '')) - $time .= sprintf('%02d',$ruleValue[PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP_SECOND]); - $dateTime = $date . $time; - $arguments['date'][] = $date; - $arguments['time'][] = $time; - $arguments['dateTime'][] = $dateTime; - } - // Remove empty elements - $arguments['date'] = array_filter($arguments['date']); - $arguments['time'] = array_filter($arguments['time']); - $arguments['dateTime'] = array_filter($arguments['dateTime']); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInDateGroupSet', - 'arguments' => array( 'filterValues' => $arguments, - 'blanks' => $blanks - ) - ); - } - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_CUSTOMFILTER : - $customRuleForBlanks = FALSE; - $ruleValues = array(); - // Build a list of the filter value selections - foreach($rules as $rule) { - $ruleType = $rule->getRuleType(); - $ruleValue = $rule->getValue(); - if (!is_numeric($ruleValue)) { - // Convert to a regexp allowing for regexp reserved characters, wildcards and escaped wildcards - $ruleValue = preg_quote($ruleValue); - $ruleValue = str_replace(self::$_fromReplace,self::$_toReplace,$ruleValue); - if (trim($ruleValue) == '') { - $customRuleForBlanks = TRUE; - $ruleValue = trim($ruleValue); - } - } - $ruleValues[] = array( 'operator' => $rule->getOperator(), - 'value' => $ruleValue - ); - } - $join = $filterColumn->getJoin(); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => $join, - 'customRuleForBlanks' => $customRuleForBlanks - ) - ); - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_DYNAMICFILTER : - $ruleValues = array(); - foreach($rules as $rule) { - // We should only ever have one Dynamic Filter Rule anyway - $dynamicRuleType = $rule->getGrouping(); - if (($dynamicRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE) || - ($dynamicRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE)) { - // Number (Average) based - // Calculate the average - $averageFormula = '=AVERAGE('.$columnID.($rangeStart[1]+1).':'.$columnID.$rangeEnd[1].')'; - $average = PHPExcel_Calculation::getInstance()->calculateFormula($averageFormula,NULL,$this->_workSheet->getCell('A1')); - // Set above/below rule based on greaterThan or LessTan - $operator = ($dynamicRuleType === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHAN - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN; - $ruleValues[] = array( 'operator' => $operator, - 'value' => $average - ); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR - ) - ); - } else { - // Date based - if ($dynamicRuleType{0} == 'M' || $dynamicRuleType{0} == 'Q') { - // Month or Quarter - sscanf($dynamicRuleType,'%[A-Z]%d', $periodType, $period); - if ($periodType == 'M') { - $ruleValues = array($period); - } else { - --$period; - $periodEnd = (1+$period)*3; - $periodStart = 1+$period*3; - $ruleValues = range($periodStart,periodEnd); - } - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInPeriodDateSet', - 'arguments' => $ruleValues - ); - $filterColumn->setAttributes(array()); - } else { - // Date Range - $columnFilterTests[$columnID] = $this->_dynamicFilterDateRange($dynamicRuleType, $filterColumn); - break; - } - } - } - break; - case PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_TOPTENFILTER : - $ruleValues = array(); - $dataRowCount = $rangeEnd[1] - $rangeStart[1]; - foreach($rules as $rule) { - // We should only ever have one Dynamic Filter Rule anyway - $toptenRuleType = $rule->getGrouping(); - $ruleValue = $rule->getValue(); - $ruleOperator = $rule->getOperator(); - } - if ($ruleOperator === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT) { - $ruleValue = floor($ruleValue * ($dataRowCount / 100)); - } - if ($ruleValue < 1) $ruleValue = 1; - if ($ruleValue > 500) $ruleValue = 500; - - $maxVal = $this->_calculateTopTenValue($columnID,$rangeStart[1]+1,$rangeEnd[1],$toptenRuleType,$ruleValue); - - $operator = ($toptenRuleType == PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) - ? PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL - : PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL; - $ruleValues[] = array( 'operator' => $operator, - 'value' => $maxVal - ); - $columnFilterTests[$columnID] = array( - 'method' => '_filterTestInCustomDataSet', - 'arguments' => array( 'filterRules' => $ruleValues, - 'join' => PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_OR - ) - ); - $filterColumn->setAttributes( - array('maxVal' => $maxVal) - ); - break; - } - } - -// echo 'Column Filter Test CRITERIA',PHP_EOL; -// var_dump($columnFilterTests); -// - // Execute the column tests for each row in the autoFilter range to determine show/hide, - for ($row = $rangeStart[1]+1; $row <= $rangeEnd[1]; ++$row) { -// echo 'Testing Row = ',$row,PHP_EOL; - $result = TRUE; - foreach($columnFilterTests as $columnID => $columnFilterTest) { -// echo 'Testing cell ',$columnID.$row,PHP_EOL; - $cellValue = $this->_workSheet->getCell($columnID.$row)->getCalculatedValue(); -// echo 'Value is ',$cellValue,PHP_EOL; - // Execute the filter test - $result = $result && - call_user_func_array( - array('PHPExcel_Worksheet_AutoFilter',$columnFilterTest['method']), - array( - $cellValue, - $columnFilterTest['arguments'] - ) - ); -// echo (($result) ? 'VALID' : 'INVALID'),PHP_EOL; - // If filter test has resulted in FALSE, exit the loop straightaway rather than running any more tests - if (!$result) - break; - } - // Set show/hide for the row based on the result of the autoFilter result -// echo (($result) ? 'SHOW' : 'HIDE'),PHP_EOL; - $this->_workSheet->getRowDimension($row)->setVisible($result); - } - - return $this; - } - - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - if ($key == '_workSheet') { - // Detach from worksheet - $this->{$key} = NULL; - } else { - $this->{$key} = clone $value; - } - } elseif ((is_array($value)) && ($key == '_columns')) { - // The columns array of PHPExcel_Worksheet_AutoFilter objects - $this->{$key} = array(); - foreach ($value as $k => $v) { - $this->{$key}[$k] = clone $v; - // attach the new cloned Column to this new cloned Autofilter object - $this->{$key}[$k]->setParent($this); - } - } else { - $this->{$key} = $value; - } - } - } - - /** - * toString method replicates previous behavior by returning the range if object is - * referenced as a property of its parent. - */ - public function __toString() { - return (string) $this->_range; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column.php deleted file mode 100644 index 1a6fb4eb8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column.php +++ /dev/null @@ -1,394 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_AutoFilter_Column - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_AutoFilter_Column -{ - const AUTOFILTER_FILTERTYPE_FILTER = 'filters'; - const AUTOFILTER_FILTERTYPE_CUSTOMFILTER = 'customFilters'; - // Supports no more than 2 rules, with an And/Or join criteria - // if more than 1 rule is defined - const AUTOFILTER_FILTERTYPE_DYNAMICFILTER = 'dynamicFilter'; - // Even though the filter rule is constant, the filtered data can vary - // e.g. filtered by date = TODAY - const AUTOFILTER_FILTERTYPE_TOPTENFILTER = 'top10'; - - /** - * Types of autofilter rules - * - * @var string[] - */ - private static $_filterTypes = array( - // Currently we're not handling - // colorFilter - // extLst - // iconFilter - self::AUTOFILTER_FILTERTYPE_FILTER, - self::AUTOFILTER_FILTERTYPE_CUSTOMFILTER, - self::AUTOFILTER_FILTERTYPE_DYNAMICFILTER, - self::AUTOFILTER_FILTERTYPE_TOPTENFILTER, - ); - - /* Multiple Rule Connections */ - const AUTOFILTER_COLUMN_JOIN_AND = 'and'; - const AUTOFILTER_COLUMN_JOIN_OR = 'or'; - - /** - * Join options for autofilter rules - * - * @var string[] - */ - private static $_ruleJoins = array( - self::AUTOFILTER_COLUMN_JOIN_AND, - self::AUTOFILTER_COLUMN_JOIN_OR, - ); - - /** - * Autofilter - * - * @var PHPExcel_Worksheet_AutoFilter - */ - private $_parent = NULL; - - - /** - * Autofilter Column Index - * - * @var string - */ - private $_columnIndex = ''; - - - /** - * Autofilter Column Filter Type - * - * @var string - */ - private $_filterType = self::AUTOFILTER_FILTERTYPE_FILTER; - - - /** - * Autofilter Multiple Rules And/Or - * - * @var string - */ - private $_join = self::AUTOFILTER_COLUMN_JOIN_OR; - - - /** - * Autofilter Column Rules - * - * @var array of PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - private $_ruleset = array(); - - - /** - * Autofilter Column Dynamic Attributes - * - * @var array of mixed - */ - private $_attributes = array(); - - - /** - * Create a new PHPExcel_Worksheet_AutoFilter_Column - * - * @param string $pColumn Column (e.g. A) - * @param PHPExcel_Worksheet_AutoFilter $pParent Autofilter for this column - */ - public function __construct($pColumn, PHPExcel_Worksheet_AutoFilter $pParent = NULL) - { - $this->_columnIndex = $pColumn; - $this->_parent = $pParent; - } - - /** - * Get AutoFilter Column Index - * - * @return string - */ - public function getColumnIndex() { - return $this->_columnIndex; - } - - /** - * Set AutoFilter Column Index - * - * @param string $pColumn Column (e.g. A) - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setColumnIndex($pColumn) { - // Uppercase coordinate - $pColumn = strtoupper($pColumn); - if ($this->_parent !== NULL) { - $this->_parent->testColumnInRange($pColumn); - } - - $this->_columnIndex = $pColumn; - - return $this; - } - - /** - * Get this Column's AutoFilter Parent - * - * @return PHPExcel_Worksheet_AutoFilter - */ - public function getParent() { - return $this->_parent; - } - - /** - * Set this Column's AutoFilter Parent - * - * @param PHPExcel_Worksheet_AutoFilter - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setParent(PHPExcel_Worksheet_AutoFilter $pParent = NULL) { - $this->_parent = $pParent; - - return $this; - } - - /** - * Get AutoFilter Type - * - * @return string - */ - public function getFilterType() { - return $this->_filterType; - } - - /** - * Set AutoFilter Type - * - * @param string $pFilterType - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setFilterType($pFilterType = self::AUTOFILTER_FILTERTYPE_FILTER) { - if (!in_array($pFilterType,self::$_filterTypes)) { - throw new PHPExcel_Exception('Invalid filter type for column AutoFilter.'); - } - - $this->_filterType = $pFilterType; - - return $this; - } - - /** - * Get AutoFilter Multiple Rules And/Or Join - * - * @return string - */ - public function getJoin() { - return $this->_join; - } - - /** - * Set AutoFilter Multiple Rules And/Or - * - * @param string $pJoin And/Or - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setJoin($pJoin = self::AUTOFILTER_COLUMN_JOIN_OR) { - // Lowercase And/Or - $pJoin = strtolower($pJoin); - if (!in_array($pJoin,self::$_ruleJoins)) { - throw new PHPExcel_Exception('Invalid rule connection for column AutoFilter.'); - } - - $this->_join = $pJoin; - - return $this; - } - - /** - * Set AutoFilter Attributes - * - * @param string[] $pAttributes - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setAttributes($pAttributes = array()) { - $this->_attributes = $pAttributes; - - return $this; - } - - /** - * Set An AutoFilter Attribute - * - * @param string $pName Attribute Name - * @param string $pValue Attribute Value - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setAttribute($pName, $pValue) { - $this->_attributes[$pName] = $pValue; - - return $this; - } - - /** - * Get AutoFilter Column Attributes - * - * @return string - */ - public function getAttributes() { - return $this->_attributes; - } - - /** - * Get specific AutoFilter Column Attribute - * - * @param string $pName Attribute Name - * @return string - */ - public function getAttribute($pName) { - if (isset($this->_attributes[$pName])) - return $this->_attributes[$pName]; - return NULL; - } - - /** - * Get all AutoFilter Column Rules - * - * @throws PHPExcel_Exception - * @return array of PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function getRules() { - return $this->_ruleset; - } - - /** - * Get a specified AutoFilter Column Rule - * - * @param integer $pIndex Rule index in the ruleset array - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function getRule($pIndex) { - if (!isset($this->_ruleset[$pIndex])) { - $this->_ruleset[$pIndex] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this); - } - return $this->_ruleset[$pIndex]; - } - - /** - * Create a new AutoFilter Column Rule in the ruleset - * - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function createRule() { - $this->_ruleset[] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this); - - return end($this->_ruleset); - } - - /** - * Add a new AutoFilter Column Rule to the ruleset - * - * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule - * @param boolean $returnRule Flag indicating whether the rule object or the column object should be returned - * @return PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule=TRUE) { - $pRule->setParent($this); - $this->_ruleset[] = $pRule; - - return ($returnRule) ? $pRule : $this; - } - - /** - * Delete a specified AutoFilter Column Rule - * If the number of rules is reduced to 1, then we reset And/Or logic to Or - * - * @param integer $pIndex Rule index in the ruleset array - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function deleteRule($pIndex) { - if (isset($this->_ruleset[$pIndex])) { - unset($this->_ruleset[$pIndex]); - // If we've just deleted down to a single rule, then reset And/Or joining to Or - if (count($this->_ruleset) <= 1) { - $this->setJoin(self::AUTOFILTER_COLUMN_JOIN_OR); - } - } - - return $this; - } - - /** - * Delete all AutoFilter Column Rules - * - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function clearRules() { - $this->_ruleset = array(); - $this->setJoin(self::AUTOFILTER_COLUMN_JOIN_OR); - - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - if ($key == '_parent') { - // Detach from autofilter parent - $this->$key = NULL; - } else { - $this->$key = clone $value; - } - } elseif ((is_array($value)) && ($key == '_ruleset')) { - // The columns array of PHPExcel_Worksheet_AutoFilter objects - $this->$key = array(); - foreach ($value as $k => $v) { - $this->$key[$k] = clone $v; - // attach the new cloned Rule to this new cloned Autofilter Cloned object - $this->$key[$k]->setParent($this); - } - } else { - $this->$key = $value; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/Rule.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/Rule.php deleted file mode 100644 index 4a14d7d7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/Rule.php +++ /dev/null @@ -1,464 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_AutoFilter_Column_Rule - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_AutoFilter_Column_Rule -{ - const AUTOFILTER_RULETYPE_FILTER = 'filter'; - const AUTOFILTER_RULETYPE_DATEGROUP = 'dateGroupItem'; - const AUTOFILTER_RULETYPE_CUSTOMFILTER = 'customFilter'; - const AUTOFILTER_RULETYPE_DYNAMICFILTER = 'dynamicFilter'; - const AUTOFILTER_RULETYPE_TOPTENFILTER = 'top10Filter'; - - private static $_ruleTypes = array( - // Currently we're not handling - // colorFilter - // extLst - // iconFilter - self::AUTOFILTER_RULETYPE_FILTER, - self::AUTOFILTER_RULETYPE_DATEGROUP, - self::AUTOFILTER_RULETYPE_CUSTOMFILTER, - self::AUTOFILTER_RULETYPE_DYNAMICFILTER, - self::AUTOFILTER_RULETYPE_TOPTENFILTER, - ); - - const AUTOFILTER_RULETYPE_DATEGROUP_YEAR = 'year'; - const AUTOFILTER_RULETYPE_DATEGROUP_MONTH = 'month'; - const AUTOFILTER_RULETYPE_DATEGROUP_DAY = 'day'; - const AUTOFILTER_RULETYPE_DATEGROUP_HOUR = 'hour'; - const AUTOFILTER_RULETYPE_DATEGROUP_MINUTE = 'minute'; - const AUTOFILTER_RULETYPE_DATEGROUP_SECOND = 'second'; - - private static $_dateTimeGroups = array( - self::AUTOFILTER_RULETYPE_DATEGROUP_YEAR, - self::AUTOFILTER_RULETYPE_DATEGROUP_MONTH, - self::AUTOFILTER_RULETYPE_DATEGROUP_DAY, - self::AUTOFILTER_RULETYPE_DATEGROUP_HOUR, - self::AUTOFILTER_RULETYPE_DATEGROUP_MINUTE, - self::AUTOFILTER_RULETYPE_DATEGROUP_SECOND, - ); - - const AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY = 'yesterday'; - const AUTOFILTER_RULETYPE_DYNAMIC_TODAY = 'today'; - const AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW = 'tomorrow'; - const AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE = 'yearToDate'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR = 'thisYear'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER = 'thisQuarter'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH = 'thisMonth'; - const AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK = 'thisWeek'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR = 'lastYear'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER = 'lastQuarter'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH = 'lastMonth'; - const AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK = 'lastWeek'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR = 'nextYear'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER = 'nextQuarter'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH = 'nextMonth'; - const AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK = 'nextWeek'; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1 = 'M1'; - const AUTOFILTER_RULETYPE_DYNAMIC_JANUARY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2 = 'M2'; - const AUTOFILTER_RULETYPE_DYNAMIC_FEBRUARY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3 = 'M3'; - const AUTOFILTER_RULETYPE_DYNAMIC_MARCH = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4 = 'M4'; - const AUTOFILTER_RULETYPE_DYNAMIC_APRIL = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5 = 'M5'; - const AUTOFILTER_RULETYPE_DYNAMIC_MAY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6 = 'M6'; - const AUTOFILTER_RULETYPE_DYNAMIC_JUNE = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7 = 'M7'; - const AUTOFILTER_RULETYPE_DYNAMIC_JULY = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8 = 'M8'; - const AUTOFILTER_RULETYPE_DYNAMIC_AUGUST = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9 = 'M9'; - const AUTOFILTER_RULETYPE_DYNAMIC_SEPTEMBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10 = 'M10'; - const AUTOFILTER_RULETYPE_DYNAMIC_OCTOBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11 = 'M11'; - const AUTOFILTER_RULETYPE_DYNAMIC_NOVEMBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11; - const AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12 = 'M12'; - const AUTOFILTER_RULETYPE_DYNAMIC_DECEMBER = self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1 = 'Q1'; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2 = 'Q2'; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3 = 'Q3'; - const AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4 = 'Q4'; - const AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE = 'aboveAverage'; - const AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE = 'belowAverage'; - - private static $_dynamicTypes = array( - self::AUTOFILTER_RULETYPE_DYNAMIC_YESTERDAY, - self::AUTOFILTER_RULETYPE_DYNAMIC_TODAY, - self::AUTOFILTER_RULETYPE_DYNAMIC_TOMORROW, - self::AUTOFILTER_RULETYPE_DYNAMIC_YEARTODATE, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISYEAR, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISQUARTER, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISMONTH, - self::AUTOFILTER_RULETYPE_DYNAMIC_THISWEEK, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTYEAR, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTQUARTER, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTMONTH, - self::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTYEAR, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTQUARTER, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTMONTH, - self::AUTOFILTER_RULETYPE_DYNAMIC_NEXTWEEK, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_1, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_2, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_3, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_4, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_5, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_6, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_7, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_8, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_9, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_10, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_11, - self::AUTOFILTER_RULETYPE_DYNAMIC_MONTH_12, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_1, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_2, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_3, - self::AUTOFILTER_RULETYPE_DYNAMIC_QUARTER_4, - self::AUTOFILTER_RULETYPE_DYNAMIC_ABOVEAVERAGE, - self::AUTOFILTER_RULETYPE_DYNAMIC_BELOWAVERAGE, - ); - - /* - * The only valid filter rule operators for filter and customFilter types are: - * <xsd:enumeration value="equal"/> - * <xsd:enumeration value="lessThan"/> - * <xsd:enumeration value="lessThanOrEqual"/> - * <xsd:enumeration value="notEqual"/> - * <xsd:enumeration value="greaterThanOrEqual"/> - * <xsd:enumeration value="greaterThan"/> - */ - const AUTOFILTER_COLUMN_RULE_EQUAL = 'equal'; - const AUTOFILTER_COLUMN_RULE_NOTEQUAL = 'notEqual'; - const AUTOFILTER_COLUMN_RULE_GREATERTHAN = 'greaterThan'; - const AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL = 'greaterThanOrEqual'; - const AUTOFILTER_COLUMN_RULE_LESSTHAN = 'lessThan'; - const AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL = 'lessThanOrEqual'; - - private static $_operators = array( - self::AUTOFILTER_COLUMN_RULE_EQUAL, - self::AUTOFILTER_COLUMN_RULE_NOTEQUAL, - self::AUTOFILTER_COLUMN_RULE_GREATERTHAN, - self::AUTOFILTER_COLUMN_RULE_GREATERTHANOREQUAL, - self::AUTOFILTER_COLUMN_RULE_LESSTHAN, - self::AUTOFILTER_COLUMN_RULE_LESSTHANOREQUAL, - ); - - const AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE = 'byValue'; - const AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT = 'byPercent'; - - private static $_topTenValue = array( - self::AUTOFILTER_COLUMN_RULE_TOPTEN_BY_VALUE, - self::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT, - ); - - const AUTOFILTER_COLUMN_RULE_TOPTEN_TOP = 'top'; - const AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM = 'bottom'; - - private static $_topTenType = array( - self::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP, - self::AUTOFILTER_COLUMN_RULE_TOPTEN_BOTTOM, - ); - - - /* Rule Operators (Numeric, Boolean etc) */ -// const AUTOFILTER_COLUMN_RULE_BETWEEN = 'between'; // greaterThanOrEqual 1 && lessThanOrEqual 2 - /* Rule Operators (Numeric Special) which are translated to standard numeric operators with calculated values */ -// const AUTOFILTER_COLUMN_RULE_TOPTEN = 'topTen'; // greaterThan calculated value -// const AUTOFILTER_COLUMN_RULE_TOPTENPERCENT = 'topTenPercent'; // greaterThan calculated value -// const AUTOFILTER_COLUMN_RULE_ABOVEAVERAGE = 'aboveAverage'; // Value is calculated as the average -// const AUTOFILTER_COLUMN_RULE_BELOWAVERAGE = 'belowAverage'; // Value is calculated as the average - /* Rule Operators (String) which are set as wild-carded values */ -// const AUTOFILTER_COLUMN_RULE_BEGINSWITH = 'beginsWith'; // A* -// const AUTOFILTER_COLUMN_RULE_ENDSWITH = 'endsWith'; // *Z -// const AUTOFILTER_COLUMN_RULE_CONTAINS = 'contains'; // *B* -// const AUTOFILTER_COLUMN_RULE_DOESNTCONTAIN = 'notEqual'; // notEqual *B* - /* Rule Operators (Date Special) which are translated to standard numeric operators with calculated values */ -// const AUTOFILTER_COLUMN_RULE_BEFORE = 'lessThan'; -// const AUTOFILTER_COLUMN_RULE_AFTER = 'greaterThan'; -// const AUTOFILTER_COLUMN_RULE_YESTERDAY = 'yesterday'; -// const AUTOFILTER_COLUMN_RULE_TODAY = 'today'; -// const AUTOFILTER_COLUMN_RULE_TOMORROW = 'tomorrow'; -// const AUTOFILTER_COLUMN_RULE_LASTWEEK = 'lastWeek'; -// const AUTOFILTER_COLUMN_RULE_THISWEEK = 'thisWeek'; -// const AUTOFILTER_COLUMN_RULE_NEXTWEEK = 'nextWeek'; -// const AUTOFILTER_COLUMN_RULE_LASTMONTH = 'lastMonth'; -// const AUTOFILTER_COLUMN_RULE_THISMONTH = 'thisMonth'; -// const AUTOFILTER_COLUMN_RULE_NEXTMONTH = 'nextMonth'; -// const AUTOFILTER_COLUMN_RULE_LASTQUARTER = 'lastQuarter'; -// const AUTOFILTER_COLUMN_RULE_THISQUARTER = 'thisQuarter'; -// const AUTOFILTER_COLUMN_RULE_NEXTQUARTER = 'nextQuarter'; -// const AUTOFILTER_COLUMN_RULE_LASTYEAR = 'lastYear'; -// const AUTOFILTER_COLUMN_RULE_THISYEAR = 'thisYear'; -// const AUTOFILTER_COLUMN_RULE_NEXTYEAR = 'nextYear'; -// const AUTOFILTER_COLUMN_RULE_YEARTODATE = 'yearToDate'; // <dynamicFilter val="40909" type="yearToDate" maxVal="41113"/> -// const AUTOFILTER_COLUMN_RULE_ALLDATESINMONTH = 'allDatesInMonth'; // <dynamicFilter type="M2"/> for Month/February -// const AUTOFILTER_COLUMN_RULE_ALLDATESINQUARTER = 'allDatesInQuarter'; // <dynamicFilter type="Q2"/> for Quarter 2 - - /** - * Autofilter Column - * - * @var PHPExcel_Worksheet_AutoFilter_Column - */ - private $_parent = NULL; - - - /** - * Autofilter Rule Type - * - * @var string - */ - private $_ruleType = self::AUTOFILTER_RULETYPE_FILTER; - - - /** - * Autofilter Rule Value - * - * @var string - */ - private $_value = ''; - - /** - * Autofilter Rule Operator - * - * @var string - */ - private $_operator = ''; - - /** - * DateTimeGrouping Group Value - * - * @var string - */ - private $_grouping = ''; - - - /** - * Create a new PHPExcel_Worksheet_AutoFilter_Column_Rule - * - * @param PHPExcel_Worksheet_AutoFilter_Column $pParent - */ - public function __construct(PHPExcel_Worksheet_AutoFilter_Column $pParent = NULL) - { - $this->_parent = $pParent; - } - - /** - * Get AutoFilter Rule Type - * - * @return string - */ - public function getRuleType() { - return $this->_ruleType; - } - - /** - * Set AutoFilter Rule Type - * - * @param string $pRuleType - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function setRuleType($pRuleType = self::AUTOFILTER_RULETYPE_FILTER) { - if (!in_array($pRuleType,self::$_ruleTypes)) { - throw new PHPExcel_Exception('Invalid rule type for column AutoFilter Rule.'); - } - - $this->_ruleType = $pRuleType; - - return $this; - } - - /** - * Get AutoFilter Rule Value - * - * @return string - */ - public function getValue() { - return $this->_value; - } - - /** - * Set AutoFilter Rule Value - * - * @param string|string[] $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setValue($pValue = '') { - if (is_array($pValue)) { - $grouping = -1; - foreach($pValue as $key => $value) { - // Validate array entries - if (!in_array($key,self::$_dateTimeGroups)) { - // Remove any invalid entries from the value array - unset($pValue[$key]); - } else { - // Work out what the dateTime grouping will be - $grouping = max($grouping,array_search($key,self::$_dateTimeGroups)); - } - } - if (count($pValue) == 0) { - throw new PHPExcel_Exception('Invalid rule value for column AutoFilter Rule.'); - } - // Set the dateTime grouping that we've anticipated - $this->setGrouping(self::$_dateTimeGroups[$grouping]); - } - $this->_value = $pValue; - - return $this; - } - - /** - * Get AutoFilter Rule Operator - * - * @return string - */ - public function getOperator() { - return $this->_operator; - } - - /** - * Set AutoFilter Rule Operator - * - * @param string $pOperator - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setOperator($pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL) { - if (empty($pOperator)) - $pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL; - if ((!in_array($pOperator,self::$_operators)) && - (!in_array($pOperator,self::$_topTenValue))) { - throw new PHPExcel_Exception('Invalid operator for column AutoFilter Rule.'); - } - $this->_operator = $pOperator; - - return $this; - } - - /** - * Get AutoFilter Rule Grouping - * - * @return string - */ - public function getGrouping() { - return $this->_grouping; - } - - /** - * Set AutoFilter Rule Grouping - * - * @param string $pGrouping - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setGrouping($pGrouping = NULL) { - if (($pGrouping !== NULL) && - (!in_array($pGrouping,self::$_dateTimeGroups)) && - (!in_array($pGrouping,self::$_dynamicTypes)) && - (!in_array($pGrouping,self::$_topTenType))) { - throw new PHPExcel_Exception('Invalid rule type for column AutoFilter Rule.'); - } - - $this->_grouping = $pGrouping; - - return $this; - } - - /** - * Set AutoFilter Rule - * - * @param string $pOperator - * @param string|string[] $pValue - * @param string $pGrouping - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setRule($pOperator = self::AUTOFILTER_COLUMN_RULE_EQUAL, $pValue = '', $pGrouping = NULL) { - $this->setOperator($pOperator); - $this->setValue($pValue); - // Only set grouping if it's been passed in as a user-supplied argument, - // otherwise we're calculating it when we setValue() and don't want to overwrite that - // If the user supplies an argumnet for grouping, then on their own head be it - if ($pGrouping !== NULL) - $this->setGrouping($pGrouping); - - return $this; - } - - /** - * Get this Rule's AutoFilter Column Parent - * - * @return PHPExcel_Worksheet_AutoFilter_Column - */ - public function getParent() { - return $this->_parent; - } - - /** - * Set this Rule's AutoFilter Column Parent - * - * @param PHPExcel_Worksheet_AutoFilter_Column - * @return PHPExcel_Worksheet_AutoFilter_Column_Rule - */ - public function setParent(PHPExcel_Worksheet_AutoFilter_Column $pParent = NULL) { - $this->_parent = $pParent; - - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - if ($key == '_parent') { - // Detach from autofilter column parent - $this->$key = NULL; - } else { - $this->$key = clone $value; - } - } else { - $this->$key = $value; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/AutoFilter/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/BaseDrawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/BaseDrawing.php deleted file mode 100644 index 5a760fcad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/BaseDrawing.php +++ /dev/null @@ -1,489 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_BaseDrawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable -{ - /** - * Image counter - * - * @var int - */ - private static $_imageCounter = 0; - - /** - * Image index - * - * @var int - */ - private $_imageIndex = 0; - - /** - * Name - * - * @var string - */ - protected $_name; - - /** - * Description - * - * @var string - */ - protected $_description; - - /** - * Worksheet - * - * @var PHPExcel_Worksheet - */ - protected $_worksheet; - - /** - * Coordinates - * - * @var string - */ - protected $_coordinates; - - /** - * Offset X - * - * @var int - */ - protected $_offsetX; - - /** - * Offset Y - * - * @var int - */ - protected $_offsetY; - - /** - * Width - * - * @var int - */ - protected $_width; - - /** - * Height - * - * @var int - */ - protected $_height; - - /** - * Proportional resize - * - * @var boolean - */ - protected $_resizeProportional; - - /** - * Rotation - * - * @var int - */ - protected $_rotation; - - /** - * Shadow - * - * @var PHPExcel_Worksheet_Drawing_Shadow - */ - protected $_shadow; - - /** - * Create a new PHPExcel_Worksheet_BaseDrawing - */ - public function __construct() - { - // Initialise values - $this->_name = ''; - $this->_description = ''; - $this->_worksheet = null; - $this->_coordinates = 'A1'; - $this->_offsetX = 0; - $this->_offsetY = 0; - $this->_width = 0; - $this->_height = 0; - $this->_resizeProportional = true; - $this->_rotation = 0; - $this->_shadow = new PHPExcel_Worksheet_Drawing_Shadow(); - - // Set image index - self::$_imageCounter++; - $this->_imageIndex = self::$_imageCounter; - } - - /** - * Get image index - * - * @return int - */ - public function getImageIndex() { - return $this->_imageIndex; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Set Name - * - * @param string $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setName($pValue = '') { - $this->_name = $pValue; - return $this; - } - - /** - * Get Description - * - * @return string - */ - public function getDescription() { - return $this->_description; - } - - /** - * Set Description - * - * @param string $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setDescription($pValue = '') { - $this->_description = $pValue; - return $this; - } - - /** - * Get Worksheet - * - * @return PHPExcel_Worksheet - */ - public function getWorksheet() { - return $this->_worksheet; - } - - /** - * Set Worksheet - * - * @param PHPExcel_Worksheet $pValue - * @param bool $pOverrideOld If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet? - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setWorksheet(PHPExcel_Worksheet $pValue = null, $pOverrideOld = false) { - if (is_null($this->_worksheet)) { - // Add drawing to PHPExcel_Worksheet - $this->_worksheet = $pValue; - $this->_worksheet->getCell($this->_coordinates); - $this->_worksheet->getDrawingCollection()->append($this); - } else { - if ($pOverrideOld) { - // Remove drawing from old PHPExcel_Worksheet - $iterator = $this->_worksheet->getDrawingCollection()->getIterator(); - - while ($iterator->valid()) { - if ($iterator->current()->getHashCode() == $this->getHashCode()) { - $this->_worksheet->getDrawingCollection()->offsetUnset( $iterator->key() ); - $this->_worksheet = null; - break; - } - } - - // Set new PHPExcel_Worksheet - $this->setWorksheet($pValue); - } else { - throw new PHPExcel_Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet."); - } - } - return $this; - } - - /** - * Get Coordinates - * - * @return string - */ - public function getCoordinates() { - return $this->_coordinates; - } - - /** - * Set Coordinates - * - * @param string $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setCoordinates($pValue = 'A1') { - $this->_coordinates = $pValue; - return $this; - } - - /** - * Get OffsetX - * - * @return int - */ - public function getOffsetX() { - return $this->_offsetX; - } - - /** - * Set OffsetX - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setOffsetX($pValue = 0) { - $this->_offsetX = $pValue; - return $this; - } - - /** - * Get OffsetY - * - * @return int - */ - public function getOffsetY() { - return $this->_offsetY; - } - - /** - * Set OffsetY - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setOffsetY($pValue = 0) { - $this->_offsetY = $pValue; - return $this; - } - - /** - * Get Width - * - * @return int - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setWidth($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_height / ($this->_width != 0 ? $this->_width : 1); - $this->_height = round($ratio * $pValue); - } - - // Set width - $this->_width = $pValue; - - return $this; - } - - /** - * Get Height - * - * @return int - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set Height - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setHeight($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_width / ($this->_height != 0 ? $this->_height : 1); - $this->_width = round($ratio * $pValue); - } - - // Set height - $this->_height = $pValue; - - return $this; - } - - /** - * Set width and height with proportional resize - * Example: - * <code> - * $objDrawing->setResizeProportional(true); - * $objDrawing->setWidthAndHeight(160,120); - * </code> - * - * @author Vincent@luo MSN:kele_100@hotmail.com - * @param int $width - * @param int $height - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setWidthAndHeight($width = 0, $height = 0) { - $xratio = $width / ($this->_width != 0 ? $this->_width : 1); - $yratio = $height / ($this->_height != 0 ? $this->_height : 1); - if ($this->_resizeProportional && !($width == 0 || $height == 0)) { - if (($xratio * $this->_height) < $height) { - $this->_height = ceil($xratio * $this->_height); - $this->_width = $width; - } else { - $this->_width = ceil($yratio * $this->_width); - $this->_height = $height; - } - } else { - $this->_width = $width; - $this->_height = $height; - } - - return $this; - } - - /** - * Get ResizeProportional - * - * @return boolean - */ - public function getResizeProportional() { - return $this->_resizeProportional; - } - - /** - * Set ResizeProportional - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setResizeProportional($pValue = true) { - $this->_resizeProportional = $pValue; - return $this; - } - - /** - * Get Rotation - * - * @return int - */ - public function getRotation() { - return $this->_rotation; - } - - /** - * Set Rotation - * - * @param int $pValue - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setRotation($pValue = 0) { - $this->_rotation = $pValue; - return $this; - } - - /** - * Get Shadow - * - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function getShadow() { - return $this->_shadow; - } - - /** - * Set Shadow - * - * @param PHPExcel_Worksheet_Drawing_Shadow $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_BaseDrawing - */ - public function setShadow(PHPExcel_Worksheet_Drawing_Shadow $pValue = null) { - $this->_shadow = $pValue; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_name - . $this->_description - . $this->_worksheet->getHashCode() - . $this->_coordinates - . $this->_offsetX - . $this->_offsetY - . $this->_width - . $this->_height - . $this->_rotation - . $this->_shadow->getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/CellIterator.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/CellIterator.php deleted file mode 100644 index 27cdc94c3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/CellIterator.php +++ /dev/null @@ -1,161 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_CellIterator - * - * Used to iterate rows in a PHPExcel_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_CellIterator implements Iterator -{ - /** - * PHPExcel_Worksheet to iterate - * - * @var PHPExcel_Worksheet - */ - private $_subject; - - /** - * Row index - * - * @var int - */ - private $_rowIndex; - - /** - * Current iterator position - * - * @var int - */ - private $_position = 0; - - /** - * Loop only existing cells - * - * @var boolean - */ - private $_onlyExistingCells = true; - - /** - * Create a new cell iterator - * - * @param PHPExcel_Worksheet $subject - * @param int $rowIndex - */ - public function __construct(PHPExcel_Worksheet $subject = null, $rowIndex = 1) { - // Set subject and row index - $this->_subject = $subject; - $this->_rowIndex = $rowIndex; - } - - /** - * Destructor - */ - public function __destruct() { - unset($this->_subject); - } - - /** - * Rewind iterator - */ - public function rewind() { - $this->_position = 0; - } - - /** - * Current PHPExcel_Cell - * - * @return PHPExcel_Cell - */ - public function current() { - return $this->_subject->getCellByColumnAndRow($this->_position, $this->_rowIndex); - } - - /** - * Current key - * - * @return int - */ - public function key() { - return $this->_position; - } - - /** - * Next value - */ - public function next() { - ++$this->_position; - } - - /** - * Are there any more PHPExcel_Cell instances available? - * - * @return boolean - */ - public function valid() { - // columnIndexFromString() returns an index based at one, - // treat it as a count when comparing it to the base zero - // position. - $columnCount = PHPExcel_Cell::columnIndexFromString($this->_subject->getHighestColumn()); - - if ($this->_onlyExistingCells) { - // If we aren't looking at an existing cell, either - // because the first column doesn't exist or next() has - // been called onto a nonexistent cell, then loop until we - // find one, or pass the last column. - while ($this->_position < $columnCount && - !$this->_subject->cellExistsByColumnAndRow($this->_position, $this->_rowIndex)) { - ++$this->_position; - } - } - - return $this->_position < $columnCount; - } - - /** - * Get loop only existing cells - * - * @return boolean - */ - public function getIterateOnlyExistingCells() { - return $this->_onlyExistingCells; - } - - /** - * Set the iterator to loop only existing cells - * - * @param boolean $value - */ - public function setIterateOnlyExistingCells($value = true) { - $this->_onlyExistingCells = $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/ColumnDimension.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/ColumnDimension.php deleted file mode 100644 index bc6a042eb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/ColumnDimension.php +++ /dev/null @@ -1,266 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_ColumnDimension - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_ColumnDimension -{ - /** - * Column index - * - * @var int - */ - private $_columnIndex; - - /** - * Column width - * - * When this is set to a negative value, the column width should be ignored by IWriter - * - * @var double - */ - private $_width = -1; - - /** - * Auto size? - * - * @var bool - */ - private $_autoSize = false; - - /** - * Visible? - * - * @var bool - */ - private $_visible = true; - - /** - * Outline level - * - * @var int - */ - private $_outlineLevel = 0; - - /** - * Collapsed - * - * @var bool - */ - private $_collapsed = false; - - /** - * Index to cellXf - * - * @var int - */ - private $_xfIndex; - - /** - * Create a new PHPExcel_Worksheet_ColumnDimension - * - * @param string $pIndex Character column index - */ - public function __construct($pIndex = 'A') - { - // Initialise values - $this->_columnIndex = $pIndex; - - // set default index to cellXf - $this->_xfIndex = 0; - } - - /** - * Get ColumnIndex - * - * @return string - */ - public function getColumnIndex() { - return $this->_columnIndex; - } - - /** - * Set ColumnIndex - * - * @param string $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setColumnIndex($pValue) { - $this->_columnIndex = $pValue; - return $this; - } - - /** - * Get Width - * - * @return double - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param double $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setWidth($pValue = -1) { - $this->_width = $pValue; - return $this; - } - - /** - * Get Auto Size - * - * @return bool - */ - public function getAutoSize() { - return $this->_autoSize; - } - - /** - * Set Auto Size - * - * @param bool $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setAutoSize($pValue = false) { - $this->_autoSize = $pValue; - return $this; - } - - /** - * Get Visible - * - * @return bool - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set Visible - * - * @param bool $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setVisible($pValue = true) { - $this->_visible = $pValue; - return $this; - } - - /** - * Get Outline Level - * - * @return int - */ - public function getOutlineLevel() { - return $this->_outlineLevel; - } - - /** - * Set Outline Level - * - * Value must be between 0 and 7 - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setOutlineLevel($pValue) { - if ($pValue < 0 || $pValue > 7) { - throw new PHPExcel_Exception("Outline level must range between 0 and 7."); - } - - $this->_outlineLevel = $pValue; - return $this; - } - - /** - * Get Collapsed - * - * @return bool - */ - public function getCollapsed() { - return $this->_collapsed; - } - - /** - * Set Collapsed - * - * @param bool $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setCollapsed($pValue = true) { - $this->_collapsed = $pValue; - return $this; - } - - /** - * Get index to cellXf - * - * @return int - */ - public function getXfIndex() - { - return $this->_xfIndex; - } - - /** - * Set index to cellXf - * - * @param int $pValue - * @return PHPExcel_Worksheet_ColumnDimension - */ - public function setXfIndex($pValue = 0) - { - $this->_xfIndex = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing.php deleted file mode 100644 index e8d87f1d0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing.php +++ /dev/null @@ -1,148 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Drawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Drawing extends PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable -{ - /** - * Path - * - * @var string - */ - private $_path; - - /** - * Create a new PHPExcel_Worksheet_Drawing - */ - public function __construct() - { - // Initialise values - $this->_path = ''; - - // Initialize parent - parent::__construct(); - } - - /** - * Get Filename - * - * @return string - */ - public function getFilename() { - return basename($this->_path); - } - - /** - * Get indexed filename (using image index) - * - * @return string - */ - public function getIndexedFilename() { - $fileName = $this->getFilename(); - $fileName = str_replace(' ', '_', $fileName); - return str_replace('.' . $this->getExtension(), '', $fileName) . $this->getImageIndex() . '.' . $this->getExtension(); - } - - /** - * Get Extension - * - * @return string - */ - public function getExtension() { - $exploded = explode(".", basename($this->_path)); - return $exploded[count($exploded) - 1]; - } - - /** - * Get Path - * - * @return string - */ - public function getPath() { - return $this->_path; - } - - /** - * Set Path - * - * @param string $pValue File path - * @param boolean $pVerifyFile Verify file - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_Drawing - */ - public function setPath($pValue = '', $pVerifyFile = true) { - if ($pVerifyFile) { - if (file_exists($pValue)) { - $this->_path = $pValue; - - if ($this->_width == 0 && $this->_height == 0) { - // Get width/height - list($this->_width, $this->_height) = getimagesize($pValue); - } - } else { - throw new PHPExcel_Exception("File $pValue not found!"); - } - } else { - $this->_path = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_path - . parent::getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing/Shadow.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing/Shadow.php deleted file mode 100644 index 98b95b1a7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing/Shadow.php +++ /dev/null @@ -1,288 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Drawing_Shadow - * - * @category PHPExcel - * @package PHPExcel_Worksheet_Drawing - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable -{ - /* Shadow alignment */ - const SHADOW_BOTTOM = 'b'; - const SHADOW_BOTTOM_LEFT = 'bl'; - const SHADOW_BOTTOM_RIGHT = 'br'; - const SHADOW_CENTER = 'ctr'; - const SHADOW_LEFT = 'l'; - const SHADOW_TOP = 't'; - const SHADOW_TOP_LEFT = 'tl'; - const SHADOW_TOP_RIGHT = 'tr'; - - /** - * Visible - * - * @var boolean - */ - private $_visible; - - /** - * Blur radius - * - * Defaults to 6 - * - * @var int - */ - private $_blurRadius; - - /** - * Shadow distance - * - * Defaults to 2 - * - * @var int - */ - private $_distance; - - /** - * Shadow direction (in degrees) - * - * @var int - */ - private $_direction; - - /** - * Shadow alignment - * - * @var int - */ - private $_alignment; - - /** - * Color - * - * @var PHPExcel_Style_Color - */ - private $_color; - - /** - * Alpha - * - * @var int - */ - private $_alpha; - - /** - * Create a new PHPExcel_Worksheet_Drawing_Shadow - */ - public function __construct() - { - // Initialise values - $this->_visible = false; - $this->_blurRadius = 6; - $this->_distance = 2; - $this->_direction = 0; - $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT; - $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); - $this->_alpha = 50; - } - - /** - * Get Visible - * - * @return boolean - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set Visible - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setVisible($pValue = false) { - $this->_visible = $pValue; - return $this; - } - - /** - * Get Blur radius - * - * @return int - */ - public function getBlurRadius() { - return $this->_blurRadius; - } - - /** - * Set Blur radius - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setBlurRadius($pValue = 6) { - $this->_blurRadius = $pValue; - return $this; - } - - /** - * Get Shadow distance - * - * @return int - */ - public function getDistance() { - return $this->_distance; - } - - /** - * Set Shadow distance - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setDistance($pValue = 2) { - $this->_distance = $pValue; - return $this; - } - - /** - * Get Shadow direction (in degrees) - * - * @return int - */ - public function getDirection() { - return $this->_direction; - } - - /** - * Set Shadow direction (in degrees) - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setDirection($pValue = 0) { - $this->_direction = $pValue; - return $this; - } - - /** - * Get Shadow alignment - * - * @return int - */ - public function getAlignment() { - return $this->_alignment; - } - - /** - * Set Shadow alignment - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setAlignment($pValue = 0) { - $this->_alignment = $pValue; - return $this; - } - - /** - * Get Color - * - * @return PHPExcel_Style_Color - */ - public function getColor() { - return $this->_color; - } - - /** - * Set Color - * - * @param PHPExcel_Style_Color $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setColor(PHPExcel_Style_Color $pValue = null) { - $this->_color = $pValue; - return $this; - } - - /** - * Get Alpha - * - * @return int - */ - public function getAlpha() { - return $this->_alpha; - } - - /** - * Set Alpha - * - * @param int $pValue - * @return PHPExcel_Worksheet_Drawing_Shadow - */ - public function setAlpha($pValue = 0) { - $this->_alpha = $pValue; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - ($this->_visible ? 't' : 'f') - . $this->_blurRadius - . $this->_distance - . $this->_direction - . $this->_alignment - . $this->_color->getHashCode() - . $this->_alpha - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Drawing/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/HeaderFooter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/HeaderFooter.php deleted file mode 100644 index 803741638..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/HeaderFooter.php +++ /dev/null @@ -1,465 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_HeaderFooter - * - * <code> - * Header/Footer Formatting Syntax taken from Office Open XML Part 4 - Markup Language Reference, page 1970: - * - * There are a number of formatting codes that can be written inline with the actual header / footer text, which - * affect the formatting in the header or footer. - * - * Example: This example shows the text "Center Bold Header" on the first line (center section), and the date on - * the second line (center section). - * &CCenter &"-,Bold"Bold&"-,Regular"Header_x000A_&D - * - * General Rules: - * There is no required order in which these codes must appear. - * - * The first occurrence of the following codes turns the formatting ON, the second occurrence turns it OFF again: - * - strikethrough - * - superscript - * - subscript - * Superscript and subscript cannot both be ON at same time. Whichever comes first wins and the other is ignored, - * while the first is ON. - * &L - code for "left section" (there are three header / footer locations, "left", "center", and "right"). When - * two or more occurrences of this section marker exist, the contents from all markers are concatenated, in the - * order of appearance, and placed into the left section. - * &P - code for "current page #" - * &N - code for "total pages" - * &font size - code for "text font size", where font size is a font size in points. - * &K - code for "text font color" - * RGB Color is specified as RRGGBB - * Theme Color is specifed as TTSNN where TT is the theme color Id, S is either "+" or "-" of the tint/shade - * value, NN is the tint/shade value. - * &S - code for "text strikethrough" on / off - * &X - code for "text super script" on / off - * &Y - code for "text subscript" on / off - * &C - code for "center section". When two or more occurrences of this section marker exist, the contents - * from all markers are concatenated, in the order of appearance, and placed into the center section. - * - * &D - code for "date" - * &T - code for "time" - * &G - code for "picture as background" - * &U - code for "text single underline" - * &E - code for "double underline" - * &R - code for "right section". When two or more occurrences of this section marker exist, the contents - * from all markers are concatenated, in the order of appearance, and placed into the right section. - * &Z - code for "this workbook's file path" - * &F - code for "this workbook's file name" - * &A - code for "sheet tab name" - * &+ - code for add to page #. - * &- - code for subtract from page #. - * &"font name,font type" - code for "text font name" and "text font type", where font name and font type - * are strings specifying the name and type of the font, separated by a comma. When a hyphen appears in font - * name, it means "none specified". Both of font name and font type can be localized values. - * &"-,Bold" - code for "bold font style" - * &B - also means "bold font style". - * &"-,Regular" - code for "regular font style" - * &"-,Italic" - code for "italic font style" - * &I - also means "italic font style" - * &"-,Bold Italic" code for "bold italic font style" - * &O - code for "outline style" - * &H - code for "shadow style" - * </code> - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_HeaderFooter -{ - /* Header/footer image location */ - const IMAGE_HEADER_LEFT = 'LH'; - const IMAGE_HEADER_CENTER = 'CH'; - const IMAGE_HEADER_RIGHT = 'RH'; - const IMAGE_FOOTER_LEFT = 'LF'; - const IMAGE_FOOTER_CENTER = 'CF'; - const IMAGE_FOOTER_RIGHT = 'RF'; - - /** - * OddHeader - * - * @var string - */ - private $_oddHeader = ''; - - /** - * OddFooter - * - * @var string - */ - private $_oddFooter = ''; - - /** - * EvenHeader - * - * @var string - */ - private $_evenHeader = ''; - - /** - * EvenFooter - * - * @var string - */ - private $_evenFooter = ''; - - /** - * FirstHeader - * - * @var string - */ - private $_firstHeader = ''; - - /** - * FirstFooter - * - * @var string - */ - private $_firstFooter = ''; - - /** - * Different header for Odd/Even, defaults to false - * - * @var boolean - */ - private $_differentOddEven = false; - - /** - * Different header for first page, defaults to false - * - * @var boolean - */ - private $_differentFirst = false; - - /** - * Scale with document, defaults to true - * - * @var boolean - */ - private $_scaleWithDocument = true; - - /** - * Align with margins, defaults to true - * - * @var boolean - */ - private $_alignWithMargins = true; - - /** - * Header/footer images - * - * @var PHPExcel_Worksheet_HeaderFooterDrawing[] - */ - private $_headerFooterImages = array(); - - /** - * Create a new PHPExcel_Worksheet_HeaderFooter - */ - public function __construct() - { - } - - /** - * Get OddHeader - * - * @return string - */ - public function getOddHeader() { - return $this->_oddHeader; - } - - /** - * Set OddHeader - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setOddHeader($pValue) { - $this->_oddHeader = $pValue; - return $this; - } - - /** - * Get OddFooter - * - * @return string - */ - public function getOddFooter() { - return $this->_oddFooter; - } - - /** - * Set OddFooter - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setOddFooter($pValue) { - $this->_oddFooter = $pValue; - return $this; - } - - /** - * Get EvenHeader - * - * @return string - */ - public function getEvenHeader() { - return $this->_evenHeader; - } - - /** - * Set EvenHeader - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setEvenHeader($pValue) { - $this->_evenHeader = $pValue; - return $this; - } - - /** - * Get EvenFooter - * - * @return string - */ - public function getEvenFooter() { - return $this->_evenFooter; - } - - /** - * Set EvenFooter - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setEvenFooter($pValue) { - $this->_evenFooter = $pValue; - return $this; - } - - /** - * Get FirstHeader - * - * @return string - */ - public function getFirstHeader() { - return $this->_firstHeader; - } - - /** - * Set FirstHeader - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setFirstHeader($pValue) { - $this->_firstHeader = $pValue; - return $this; - } - - /** - * Get FirstFooter - * - * @return string - */ - public function getFirstFooter() { - return $this->_firstFooter; - } - - /** - * Set FirstFooter - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setFirstFooter($pValue) { - $this->_firstFooter = $pValue; - return $this; - } - - /** - * Get DifferentOddEven - * - * @return boolean - */ - public function getDifferentOddEven() { - return $this->_differentOddEven; - } - - /** - * Set DifferentOddEven - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setDifferentOddEven($pValue = false) { - $this->_differentOddEven = $pValue; - return $this; - } - - /** - * Get DifferentFirst - * - * @return boolean - */ - public function getDifferentFirst() { - return $this->_differentFirst; - } - - /** - * Set DifferentFirst - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setDifferentFirst($pValue = false) { - $this->_differentFirst = $pValue; - return $this; - } - - /** - * Get ScaleWithDocument - * - * @return boolean - */ - public function getScaleWithDocument() { - return $this->_scaleWithDocument; - } - - /** - * Set ScaleWithDocument - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setScaleWithDocument($pValue = true) { - $this->_scaleWithDocument = $pValue; - return $this; - } - - /** - * Get AlignWithMargins - * - * @return boolean - */ - public function getAlignWithMargins() { - return $this->_alignWithMargins; - } - - /** - * Set AlignWithMargins - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setAlignWithMargins($pValue = true) { - $this->_alignWithMargins = $pValue; - return $this; - } - - /** - * Add header/footer image - * - * @param PHPExcel_Worksheet_HeaderFooterDrawing $image - * @param string $location - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function addImage(PHPExcel_Worksheet_HeaderFooterDrawing $image = null, $location = self::IMAGE_HEADER_LEFT) { - $this->_headerFooterImages[$location] = $image; - return $this; - } - - /** - * Remove header/footer image - * - * @param string $location - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function removeImage($location = self::IMAGE_HEADER_LEFT) { - if (isset($this->_headerFooterImages[$location])) { - unset($this->_headerFooterImages[$location]); - } - return $this; - } - - /** - * Set header/footer images - * - * @param PHPExcel_Worksheet_HeaderFooterDrawing[] $images - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setImages($images) { - if (!is_array($images)) { - throw new PHPExcel_Exception('Invalid parameter!'); - } - - $this->_headerFooterImages = $images; - return $this; - } - - /** - * Get header/footer images - * - * @return PHPExcel_Worksheet_HeaderFooterDrawing[] - */ - public function getImages() { - // Sort array - $images = array(); - if (isset($this->_headerFooterImages[self::IMAGE_HEADER_LEFT])) $images[self::IMAGE_HEADER_LEFT] = $this->_headerFooterImages[self::IMAGE_HEADER_LEFT]; - if (isset($this->_headerFooterImages[self::IMAGE_HEADER_CENTER])) $images[self::IMAGE_HEADER_CENTER] = $this->_headerFooterImages[self::IMAGE_HEADER_CENTER]; - if (isset($this->_headerFooterImages[self::IMAGE_HEADER_RIGHT])) $images[self::IMAGE_HEADER_RIGHT] = $this->_headerFooterImages[self::IMAGE_HEADER_RIGHT]; - if (isset($this->_headerFooterImages[self::IMAGE_FOOTER_LEFT])) $images[self::IMAGE_FOOTER_LEFT] = $this->_headerFooterImages[self::IMAGE_FOOTER_LEFT]; - if (isset($this->_headerFooterImages[self::IMAGE_FOOTER_CENTER])) $images[self::IMAGE_FOOTER_CENTER] = $this->_headerFooterImages[self::IMAGE_FOOTER_CENTER]; - if (isset($this->_headerFooterImages[self::IMAGE_FOOTER_RIGHT])) $images[self::IMAGE_FOOTER_RIGHT] = $this->_headerFooterImages[self::IMAGE_FOOTER_RIGHT]; - $this->_headerFooterImages = $images; - - return $this->_headerFooterImages; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/HeaderFooterDrawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/HeaderFooterDrawing.php deleted file mode 100644 index 966664f93..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/HeaderFooterDrawing.php +++ /dev/null @@ -1,350 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_HeaderFooterDrawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_HeaderFooterDrawing extends PHPExcel_Worksheet_Drawing implements PHPExcel_IComparable -{ - /** - * Path - * - * @var string - */ - private $_path; - - /** - * Name - * - * @var string - */ - protected $_name; - - /** - * Offset X - * - * @var int - */ - protected $_offsetX; - - /** - * Offset Y - * - * @var int - */ - protected $_offsetY; - - /** - * Width - * - * @var int - */ - protected $_width; - - /** - * Height - * - * @var int - */ - protected $_height; - - /** - * Proportional resize - * - * @var boolean - */ - protected $_resizeProportional; - - /** - * Create a new PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function __construct() - { - // Initialise values - $this->_path = ''; - $this->_name = ''; - $this->_offsetX = 0; - $this->_offsetY = 0; - $this->_width = 0; - $this->_height = 0; - $this->_resizeProportional = true; - } - - /** - * Get Name - * - * @return string - */ - public function getName() { - return $this->_name; - } - - /** - * Set Name - * - * @param string $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setName($pValue = '') { - $this->_name = $pValue; - return $this; - } - - /** - * Get OffsetX - * - * @return int - */ - public function getOffsetX() { - return $this->_offsetX; - } - - /** - * Set OffsetX - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setOffsetX($pValue = 0) { - $this->_offsetX = $pValue; - return $this; - } - - /** - * Get OffsetY - * - * @return int - */ - public function getOffsetY() { - return $this->_offsetY; - } - - /** - * Set OffsetY - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setOffsetY($pValue = 0) { - $this->_offsetY = $pValue; - return $this; - } - - /** - * Get Width - * - * @return int - */ - public function getWidth() { - return $this->_width; - } - - /** - * Set Width - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setWidth($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_width / $this->_height; - $this->_height = round($ratio * $pValue); - } - - // Set width - $this->_width = $pValue; - - return $this; - } - - /** - * Get Height - * - * @return int - */ - public function getHeight() { - return $this->_height; - } - - /** - * Set Height - * - * @param int $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setHeight($pValue = 0) { - // Resize proportional? - if ($this->_resizeProportional && $pValue != 0) { - $ratio = $this->_width / $this->_height; - $this->_width = round($ratio * $pValue); - } - - // Set height - $this->_height = $pValue; - - return $this; - } - - /** - * Set width and height with proportional resize - * Example: - * <code> - * $objDrawing->setResizeProportional(true); - * $objDrawing->setWidthAndHeight(160,120); - * </code> - * - * @author Vincent@luo MSN:kele_100@hotmail.com - * @param int $width - * @param int $height - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setWidthAndHeight($width = 0, $height = 0) { - $xratio = $width / $this->_width; - $yratio = $height / $this->_height; - if ($this->_resizeProportional && !($width == 0 || $height == 0)) { - if (($xratio * $this->_height) < $height) { - $this->_height = ceil($xratio * $this->_height); - $this->_width = $width; - } else { - $this->_width = ceil($yratio * $this->_width); - $this->_height = $height; - } - } - return $this; - } - - /** - * Get ResizeProportional - * - * @return boolean - */ - public function getResizeProportional() { - return $this->_resizeProportional; - } - - /** - * Set ResizeProportional - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setResizeProportional($pValue = true) { - $this->_resizeProportional = $pValue; - return $this; - } - - /** - * Get Filename - * - * @return string - */ - public function getFilename() { - return basename($this->_path); - } - - /** - * Get Extension - * - * @return string - */ - public function getExtension() { - $parts = explode(".", basename($this->_path)); - return end($parts); - } - - /** - * Get Path - * - * @return string - */ - public function getPath() { - return $this->_path; - } - - /** - * Set Path - * - * @param string $pValue File path - * @param boolean $pVerifyFile Verify file - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_HeaderFooterDrawing - */ - public function setPath($pValue = '', $pVerifyFile = true) { - if ($pVerifyFile) { - if (file_exists($pValue)) { - $this->_path = $pValue; - - if ($this->_width == 0 && $this->_height == 0) { - // Get width/height - list($this->_width, $this->_height) = getimagesize($pValue); - } - } else { - throw new PHPExcel_Exception("File $pValue not found!"); - } - } else { - $this->_path = $pValue; - } - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_path - . $this->_name - . $this->_offsetX - . $this->_offsetY - . $this->_width - . $this->_height - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/MemoryDrawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/MemoryDrawing.php deleted file mode 100644 index 80fc6d1f0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/MemoryDrawing.php +++ /dev/null @@ -1,200 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_MemoryDrawing - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_MemoryDrawing extends PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable -{ - /* Rendering functions */ - const RENDERING_DEFAULT = 'imagepng'; - const RENDERING_PNG = 'imagepng'; - const RENDERING_GIF = 'imagegif'; - const RENDERING_JPEG = 'imagejpeg'; - - /* MIME types */ - const MIMETYPE_DEFAULT = 'image/png'; - const MIMETYPE_PNG = 'image/png'; - const MIMETYPE_GIF = 'image/gif'; - const MIMETYPE_JPEG = 'image/jpeg'; - - /** - * Image resource - * - * @var resource - */ - private $_imageResource; - - /** - * Rendering function - * - * @var string - */ - private $_renderingFunction; - - /** - * Mime type - * - * @var string - */ - private $_mimeType; - - /** - * Unique name - * - * @var string - */ - private $_uniqueName; - - /** - * Create a new PHPExcel_Worksheet_MemoryDrawing - */ - public function __construct() - { - // Initialise values - $this->_imageResource = null; - $this->_renderingFunction = self::RENDERING_DEFAULT; - $this->_mimeType = self::MIMETYPE_DEFAULT; - $this->_uniqueName = md5(rand(0, 9999). time() . rand(0, 9999)); - - // Initialize parent - parent::__construct(); - } - - /** - * Get image resource - * - * @return resource - */ - public function getImageResource() { - return $this->_imageResource; - } - - /** - * Set image resource - * - * @param $value resource - * @return PHPExcel_Worksheet_MemoryDrawing - */ - public function setImageResource($value = null) { - $this->_imageResource = $value; - - if (!is_null($this->_imageResource)) { - // Get width/height - $this->_width = imagesx($this->_imageResource); - $this->_height = imagesy($this->_imageResource); - } - return $this; - } - - /** - * Get rendering function - * - * @return string - */ - public function getRenderingFunction() { - return $this->_renderingFunction; - } - - /** - * Set rendering function - * - * @param string $value - * @return PHPExcel_Worksheet_MemoryDrawing - */ - public function setRenderingFunction($value = PHPExcel_Worksheet_MemoryDrawing::RENDERING_DEFAULT) { - $this->_renderingFunction = $value; - return $this; - } - - /** - * Get mime type - * - * @return string - */ - public function getMimeType() { - return $this->_mimeType; - } - - /** - * Set mime type - * - * @param string $value - * @return PHPExcel_Worksheet_MemoryDrawing - */ - public function setMimeType($value = PHPExcel_Worksheet_MemoryDrawing::MIMETYPE_DEFAULT) { - $this->_mimeType = $value; - return $this; - } - - /** - * Get indexed filename (using image index) - * - * @return string - */ - public function getIndexedFilename() { - $extension = strtolower($this->getMimeType()); - $extension = explode('/', $extension); - $extension = $extension[1]; - - return $this->_uniqueName . $this->getImageIndex() . '.' . $extension; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->_renderingFunction - . $this->_mimeType - . $this->_uniqueName - . parent::getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/PageMargins.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/PageMargins.php deleted file mode 100644 index b05a291ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/PageMargins.php +++ /dev/null @@ -1,220 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_PageMargins - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_PageMargins -{ - /** - * Left - * - * @var double - */ - private $_left = 0.7; - - /** - * Right - * - * @var double - */ - private $_right = 0.7; - - /** - * Top - * - * @var double - */ - private $_top = 0.75; - - /** - * Bottom - * - * @var double - */ - private $_bottom = 0.75; - - /** - * Header - * - * @var double - */ - private $_header = 0.3; - - /** - * Footer - * - * @var double - */ - private $_footer = 0.3; - - /** - * Create a new PHPExcel_Worksheet_PageMargins - */ - public function __construct() - { - } - - /** - * Get Left - * - * @return double - */ - public function getLeft() { - return $this->_left; - } - - /** - * Set Left - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setLeft($pValue) { - $this->_left = $pValue; - return $this; - } - - /** - * Get Right - * - * @return double - */ - public function getRight() { - return $this->_right; - } - - /** - * Set Right - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setRight($pValue) { - $this->_right = $pValue; - return $this; - } - - /** - * Get Top - * - * @return double - */ - public function getTop() { - return $this->_top; - } - - /** - * Set Top - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setTop($pValue) { - $this->_top = $pValue; - return $this; - } - - /** - * Get Bottom - * - * @return double - */ - public function getBottom() { - return $this->_bottom; - } - - /** - * Set Bottom - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setBottom($pValue) { - $this->_bottom = $pValue; - return $this; - } - - /** - * Get Header - * - * @return double - */ - public function getHeader() { - return $this->_header; - } - - /** - * Set Header - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setHeader($pValue) { - $this->_header = $pValue; - return $this; - } - - /** - * Get Footer - * - * @return double - */ - public function getFooter() { - return $this->_footer; - } - - /** - * Set Footer - * - * @param double $pValue - * @return PHPExcel_Worksheet_PageMargins - */ - public function setFooter($pValue) { - $this->_footer = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/PageSetup.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/PageSetup.php deleted file mode 100644 index ba2792fac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/PageSetup.php +++ /dev/null @@ -1,798 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_PageSetup - * - * <code> - * Paper size taken from Office Open XML Part 4 - Markup Language Reference, page 1988: - * - * 1 = Letter paper (8.5 in. by 11 in.) - * 2 = Letter small paper (8.5 in. by 11 in.) - * 3 = Tabloid paper (11 in. by 17 in.) - * 4 = Ledger paper (17 in. by 11 in.) - * 5 = Legal paper (8.5 in. by 14 in.) - * 6 = Statement paper (5.5 in. by 8.5 in.) - * 7 = Executive paper (7.25 in. by 10.5 in.) - * 8 = A3 paper (297 mm by 420 mm) - * 9 = A4 paper (210 mm by 297 mm) - * 10 = A4 small paper (210 mm by 297 mm) - * 11 = A5 paper (148 mm by 210 mm) - * 12 = B4 paper (250 mm by 353 mm) - * 13 = B5 paper (176 mm by 250 mm) - * 14 = Folio paper (8.5 in. by 13 in.) - * 15 = Quarto paper (215 mm by 275 mm) - * 16 = Standard paper (10 in. by 14 in.) - * 17 = Standard paper (11 in. by 17 in.) - * 18 = Note paper (8.5 in. by 11 in.) - * 19 = #9 envelope (3.875 in. by 8.875 in.) - * 20 = #10 envelope (4.125 in. by 9.5 in.) - * 21 = #11 envelope (4.5 in. by 10.375 in.) - * 22 = #12 envelope (4.75 in. by 11 in.) - * 23 = #14 envelope (5 in. by 11.5 in.) - * 24 = C paper (17 in. by 22 in.) - * 25 = D paper (22 in. by 34 in.) - * 26 = E paper (34 in. by 44 in.) - * 27 = DL envelope (110 mm by 220 mm) - * 28 = C5 envelope (162 mm by 229 mm) - * 29 = C3 envelope (324 mm by 458 mm) - * 30 = C4 envelope (229 mm by 324 mm) - * 31 = C6 envelope (114 mm by 162 mm) - * 32 = C65 envelope (114 mm by 229 mm) - * 33 = B4 envelope (250 mm by 353 mm) - * 34 = B5 envelope (176 mm by 250 mm) - * 35 = B6 envelope (176 mm by 125 mm) - * 36 = Italy envelope (110 mm by 230 mm) - * 37 = Monarch envelope (3.875 in. by 7.5 in.). - * 38 = 6 3/4 envelope (3.625 in. by 6.5 in.) - * 39 = US standard fanfold (14.875 in. by 11 in.) - * 40 = German standard fanfold (8.5 in. by 12 in.) - * 41 = German legal fanfold (8.5 in. by 13 in.) - * 42 = ISO B4 (250 mm by 353 mm) - * 43 = Japanese double postcard (200 mm by 148 mm) - * 44 = Standard paper (9 in. by 11 in.) - * 45 = Standard paper (10 in. by 11 in.) - * 46 = Standard paper (15 in. by 11 in.) - * 47 = Invite envelope (220 mm by 220 mm) - * 50 = Letter extra paper (9.275 in. by 12 in.) - * 51 = Legal extra paper (9.275 in. by 15 in.) - * 52 = Tabloid extra paper (11.69 in. by 18 in.) - * 53 = A4 extra paper (236 mm by 322 mm) - * 54 = Letter transverse paper (8.275 in. by 11 in.) - * 55 = A4 transverse paper (210 mm by 297 mm) - * 56 = Letter extra transverse paper (9.275 in. by 12 in.) - * 57 = SuperA/SuperA/A4 paper (227 mm by 356 mm) - * 58 = SuperB/SuperB/A3 paper (305 mm by 487 mm) - * 59 = Letter plus paper (8.5 in. by 12.69 in.) - * 60 = A4 plus paper (210 mm by 330 mm) - * 61 = A5 transverse paper (148 mm by 210 mm) - * 62 = JIS B5 transverse paper (182 mm by 257 mm) - * 63 = A3 extra paper (322 mm by 445 mm) - * 64 = A5 extra paper (174 mm by 235 mm) - * 65 = ISO B5 extra paper (201 mm by 276 mm) - * 66 = A2 paper (420 mm by 594 mm) - * 67 = A3 transverse paper (297 mm by 420 mm) - * 68 = A3 extra transverse paper (322 mm by 445 mm) - * </code> - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_PageSetup -{ - /* Paper size */ - const PAPERSIZE_LETTER = 1; - const PAPERSIZE_LETTER_SMALL = 2; - const PAPERSIZE_TABLOID = 3; - const PAPERSIZE_LEDGER = 4; - const PAPERSIZE_LEGAL = 5; - const PAPERSIZE_STATEMENT = 6; - const PAPERSIZE_EXECUTIVE = 7; - const PAPERSIZE_A3 = 8; - const PAPERSIZE_A4 = 9; - const PAPERSIZE_A4_SMALL = 10; - const PAPERSIZE_A5 = 11; - const PAPERSIZE_B4 = 12; - const PAPERSIZE_B5 = 13; - const PAPERSIZE_FOLIO = 14; - const PAPERSIZE_QUARTO = 15; - const PAPERSIZE_STANDARD_1 = 16; - const PAPERSIZE_STANDARD_2 = 17; - const PAPERSIZE_NOTE = 18; - const PAPERSIZE_NO9_ENVELOPE = 19; - const PAPERSIZE_NO10_ENVELOPE = 20; - const PAPERSIZE_NO11_ENVELOPE = 21; - const PAPERSIZE_NO12_ENVELOPE = 22; - const PAPERSIZE_NO14_ENVELOPE = 23; - const PAPERSIZE_C = 24; - const PAPERSIZE_D = 25; - const PAPERSIZE_E = 26; - const PAPERSIZE_DL_ENVELOPE = 27; - const PAPERSIZE_C5_ENVELOPE = 28; - const PAPERSIZE_C3_ENVELOPE = 29; - const PAPERSIZE_C4_ENVELOPE = 30; - const PAPERSIZE_C6_ENVELOPE = 31; - const PAPERSIZE_C65_ENVELOPE = 32; - const PAPERSIZE_B4_ENVELOPE = 33; - const PAPERSIZE_B5_ENVELOPE = 34; - const PAPERSIZE_B6_ENVELOPE = 35; - const PAPERSIZE_ITALY_ENVELOPE = 36; - const PAPERSIZE_MONARCH_ENVELOPE = 37; - const PAPERSIZE_6_3_4_ENVELOPE = 38; - const PAPERSIZE_US_STANDARD_FANFOLD = 39; - const PAPERSIZE_GERMAN_STANDARD_FANFOLD = 40; - const PAPERSIZE_GERMAN_LEGAL_FANFOLD = 41; - const PAPERSIZE_ISO_B4 = 42; - const PAPERSIZE_JAPANESE_DOUBLE_POSTCARD = 43; - const PAPERSIZE_STANDARD_PAPER_1 = 44; - const PAPERSIZE_STANDARD_PAPER_2 = 45; - const PAPERSIZE_STANDARD_PAPER_3 = 46; - const PAPERSIZE_INVITE_ENVELOPE = 47; - const PAPERSIZE_LETTER_EXTRA_PAPER = 48; - const PAPERSIZE_LEGAL_EXTRA_PAPER = 49; - const PAPERSIZE_TABLOID_EXTRA_PAPER = 50; - const PAPERSIZE_A4_EXTRA_PAPER = 51; - const PAPERSIZE_LETTER_TRANSVERSE_PAPER = 52; - const PAPERSIZE_A4_TRANSVERSE_PAPER = 53; - const PAPERSIZE_LETTER_EXTRA_TRANSVERSE_PAPER = 54; - const PAPERSIZE_SUPERA_SUPERA_A4_PAPER = 55; - const PAPERSIZE_SUPERB_SUPERB_A3_PAPER = 56; - const PAPERSIZE_LETTER_PLUS_PAPER = 57; - const PAPERSIZE_A4_PLUS_PAPER = 58; - const PAPERSIZE_A5_TRANSVERSE_PAPER = 59; - const PAPERSIZE_JIS_B5_TRANSVERSE_PAPER = 60; - const PAPERSIZE_A3_EXTRA_PAPER = 61; - const PAPERSIZE_A5_EXTRA_PAPER = 62; - const PAPERSIZE_ISO_B5_EXTRA_PAPER = 63; - const PAPERSIZE_A2_PAPER = 64; - const PAPERSIZE_A3_TRANSVERSE_PAPER = 65; - const PAPERSIZE_A3_EXTRA_TRANSVERSE_PAPER = 66; - - /* Page orientation */ - const ORIENTATION_DEFAULT = 'default'; - const ORIENTATION_LANDSCAPE = 'landscape'; - const ORIENTATION_PORTRAIT = 'portrait'; - - /* Print Range Set Method */ - const SETPRINTRANGE_OVERWRITE = 'O'; - const SETPRINTRANGE_INSERT = 'I'; - - - /** - * Paper size - * - * @var int - */ - private $_paperSize = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER; - - /** - * Orientation - * - * @var string - */ - private $_orientation = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT; - - /** - * Scale (Print Scale) - * - * Print scaling. Valid values range from 10 to 400 - * This setting is overridden when fitToWidth and/or fitToHeight are in use - * - * @var int? - */ - private $_scale = 100; - - /** - * Fit To Page - * Whether scale or fitToWith / fitToHeight applies - * - * @var boolean - */ - private $_fitToPage = FALSE; - - /** - * Fit To Height - * Number of vertical pages to fit on - * - * @var int? - */ - private $_fitToHeight = 1; - - /** - * Fit To Width - * Number of horizontal pages to fit on - * - * @var int? - */ - private $_fitToWidth = 1; - - /** - * Columns to repeat at left - * - * @var array Containing start column and end column, empty array if option unset - */ - private $_columnsToRepeatAtLeft = array('', ''); - - /** - * Rows to repeat at top - * - * @var array Containing start row number and end row number, empty array if option unset - */ - private $_rowsToRepeatAtTop = array(0, 0); - - /** - * Center page horizontally - * - * @var boolean - */ - private $_horizontalCentered = FALSE; - - /** - * Center page vertically - * - * @var boolean - */ - private $_verticalCentered = FALSE; - - /** - * Print area - * - * @var string - */ - private $_printArea = NULL; - - /** - * First page number - * - * @var int - */ - private $_firstPageNumber = NULL; - - /** - * Create a new PHPExcel_Worksheet_PageSetup - */ - public function __construct() - { - } - - /** - * Get Paper Size - * - * @return int - */ - public function getPaperSize() { - return $this->_paperSize; - } - - /** - * Set Paper Size - * - * @param int $pValue - * @return PHPExcel_Worksheet_PageSetup - */ - public function setPaperSize($pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER) { - $this->_paperSize = $pValue; - return $this; - } - - /** - * Get Orientation - * - * @return string - */ - public function getOrientation() { - return $this->_orientation; - } - - /** - * Set Orientation - * - * @param string $pValue - * @return PHPExcel_Worksheet_PageSetup - */ - public function setOrientation($pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) { - $this->_orientation = $pValue; - return $this; - } - - /** - * Get Scale - * - * @return int? - */ - public function getScale() { - return $this->_scale; - } - - /** - * Set Scale - * - * Print scaling. Valid values range from 10 to 400 - * This setting is overridden when fitToWidth and/or fitToHeight are in use - * - * @param int? $pValue - * @param boolean $pUpdate Update fitToPage so scaling applies rather than fitToHeight / fitToWidth - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function setScale($pValue = 100, $pUpdate = true) { - // Microsoft Office Excel 2007 only allows setting a scale between 10 and 400 via the user interface, - // but it is apparently still able to handle any scale >= 0, where 0 results in 100 - if (($pValue >= 0) || is_null($pValue)) { - $this->_scale = $pValue; - if ($pUpdate) { - $this->_fitToPage = false; - } - } else { - throw new PHPExcel_Exception("Scale must not be negative"); - } - return $this; - } - - /** - * Get Fit To Page - * - * @return boolean - */ - public function getFitToPage() { - return $this->_fitToPage; - } - - /** - * Set Fit To Page - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_PageSetup - */ - public function setFitToPage($pValue = TRUE) { - $this->_fitToPage = $pValue; - return $this; - } - - /** - * Get Fit To Height - * - * @return int? - */ - public function getFitToHeight() { - return $this->_fitToHeight; - } - - /** - * Set Fit To Height - * - * @param int? $pValue - * @param boolean $pUpdate Update fitToPage so it applies rather than scaling - * @return PHPExcel_Worksheet_PageSetup - */ - public function setFitToHeight($pValue = 1, $pUpdate = TRUE) { - $this->_fitToHeight = $pValue; - if ($pUpdate) { - $this->_fitToPage = TRUE; - } - return $this; - } - - /** - * Get Fit To Width - * - * @return int? - */ - public function getFitToWidth() { - return $this->_fitToWidth; - } - - /** - * Set Fit To Width - * - * @param int? $pValue - * @param boolean $pUpdate Update fitToPage so it applies rather than scaling - * @return PHPExcel_Worksheet_PageSetup - */ - public function setFitToWidth($pValue = 1, $pUpdate = TRUE) { - $this->_fitToWidth = $pValue; - if ($pUpdate) { - $this->_fitToPage = TRUE; - } - return $this; - } - - /** - * Is Columns to repeat at left set? - * - * @return boolean - */ - public function isColumnsToRepeatAtLeftSet() { - if (is_array($this->_columnsToRepeatAtLeft)) { - if ($this->_columnsToRepeatAtLeft[0] != '' && $this->_columnsToRepeatAtLeft[1] != '') { - return true; - } - } - - return false; - } - - /** - * Get Columns to repeat at left - * - * @return array Containing start column and end column, empty array if option unset - */ - public function getColumnsToRepeatAtLeft() { - return $this->_columnsToRepeatAtLeft; - } - - /** - * Set Columns to repeat at left - * - * @param array $pValue Containing start column and end column, empty array if option unset - * @return PHPExcel_Worksheet_PageSetup - */ - public function setColumnsToRepeatAtLeft($pValue = null) { - if (is_array($pValue)) { - $this->_columnsToRepeatAtLeft = $pValue; - } - return $this; - } - - /** - * Set Columns to repeat at left by start and end - * - * @param string $pStart - * @param string $pEnd - * @return PHPExcel_Worksheet_PageSetup - */ - public function setColumnsToRepeatAtLeftByStartAndEnd($pStart = 'A', $pEnd = 'A') { - $this->_columnsToRepeatAtLeft = array($pStart, $pEnd); - return $this; - } - - /** - * Is Rows to repeat at top set? - * - * @return boolean - */ - public function isRowsToRepeatAtTopSet() { - if (is_array($this->_rowsToRepeatAtTop)) { - if ($this->_rowsToRepeatAtTop[0] != 0 && $this->_rowsToRepeatAtTop[1] != 0) { - return true; - } - } - - return false; - } - - /** - * Get Rows to repeat at top - * - * @return array Containing start column and end column, empty array if option unset - */ - public function getRowsToRepeatAtTop() { - return $this->_rowsToRepeatAtTop; - } - - /** - * Set Rows to repeat at top - * - * @param array $pValue Containing start column and end column, empty array if option unset - * @return PHPExcel_Worksheet_PageSetup - */ - public function setRowsToRepeatAtTop($pValue = null) { - if (is_array($pValue)) { - $this->_rowsToRepeatAtTop = $pValue; - } - return $this; - } - - /** - * Set Rows to repeat at top by start and end - * - * @param int $pStart - * @param int $pEnd - * @return PHPExcel_Worksheet_PageSetup - */ - public function setRowsToRepeatAtTopByStartAndEnd($pStart = 1, $pEnd = 1) { - $this->_rowsToRepeatAtTop = array($pStart, $pEnd); - return $this; - } - - /** - * Get center page horizontally - * - * @return bool - */ - public function getHorizontalCentered() { - return $this->_horizontalCentered; - } - - /** - * Set center page horizontally - * - * @param bool $value - * @return PHPExcel_Worksheet_PageSetup - */ - public function setHorizontalCentered($value = false) { - $this->_horizontalCentered = $value; - return $this; - } - - /** - * Get center page vertically - * - * @return bool - */ - public function getVerticalCentered() { - return $this->_verticalCentered; - } - - /** - * Set center page vertically - * - * @param bool $value - * @return PHPExcel_Worksheet_PageSetup - */ - public function setVerticalCentered($value = false) { - $this->_verticalCentered = $value; - return $this; - } - - /** - * Get print area - * - * @param int $index Identifier for a specific print area range if several ranges have been set - * Default behaviour, or a index value of 0, will return all ranges as a comma-separated string - * Otherwise, the specific range identified by the value of $index will be returned - * Print areas are numbered from 1 - * @throws PHPExcel_Exception - * @return string - */ - public function getPrintArea($index = 0) { - if ($index == 0) { - return $this->_printArea; - } - $printAreas = explode(',',$this->_printArea); - if (isset($printAreas[$index-1])) { - return $printAreas[$index-1]; - } - throw new PHPExcel_Exception("Requested Print Area does not exist"); - } - - /** - * Is print area set? - * - * @param int $index Identifier for a specific print area range if several ranges have been set - * Default behaviour, or an index value of 0, will identify whether any print range is set - * Otherwise, existence of the range identified by the value of $index will be returned - * Print areas are numbered from 1 - * @return boolean - */ - public function isPrintAreaSet($index = 0) { - if ($index == 0) { - return !is_null($this->_printArea); - } - $printAreas = explode(',',$this->_printArea); - return isset($printAreas[$index-1]); - } - - /** - * Clear a print area - * - * @param int $index Identifier for a specific print area range if several ranges have been set - * Default behaviour, or an index value of 0, will clear all print ranges that are set - * Otherwise, the range identified by the value of $index will be removed from the series - * Print areas are numbered from 1 - * @return PHPExcel_Worksheet_PageSetup - */ - public function clearPrintArea($index = 0) { - if ($index == 0) { - $this->_printArea = NULL; - } else { - $printAreas = explode(',',$this->_printArea); - if (isset($printAreas[$index-1])) { - unset($printAreas[$index-1]); - $this->_printArea = implode(',',$printAreas); - } - } - - return $this; - } - - /** - * Set print area. e.g. 'A1:D10' or 'A1:D10,G5:M20' - * - * @param string $value - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * When the method is "O"verwrite, then a positive integer index will overwrite that indexed - * entry in the print areas list; a negative index value will identify which entry to - * overwrite working bacward through the print area to the list, with the last entry as -1. - * Specifying an index value of 0, will overwrite <b>all</b> existing print ranges. - * When the method is "I"nsert, then a positive index will insert after that indexed entry in - * the print areas list, while a negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @param string $method Determines the method used when setting multiple print areas - * Default behaviour, or the "O" method, overwrites existing print area - * The "I" method, inserts the new print area before any specified index, or at the end of the list - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function setPrintArea($value, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE) { - if (strpos($value,'!') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not specify a worksheet.'); - } elseif (strpos($value,':') === false) { - throw new PHPExcel_Exception('Cell coordinate must be a range of cells.'); - } elseif (strpos($value,'$') !== false) { - throw new PHPExcel_Exception('Cell coordinate must not be absolute.'); - } - $value = strtoupper($value); - - if ($method == self::SETPRINTRANGE_OVERWRITE) { - if ($index == 0) { - $this->_printArea = $value; - } else { - $printAreas = explode(',',$this->_printArea); - if($index < 0) { - $index = count($printAreas) - abs($index) + 1; - } - if (($index <= 0) || ($index > count($printAreas))) { - throw new PHPExcel_Exception('Invalid index for setting print range.'); - } - $printAreas[$index-1] = $value; - $this->_printArea = implode(',',$printAreas); - } - } elseif($method == self::SETPRINTRANGE_INSERT) { - if ($index == 0) { - $this->_printArea .= ($this->_printArea == '') ? $value : ','.$value; - } else { - $printAreas = explode(',',$this->_printArea); - if($index < 0) { - $index = abs($index) - 1; - } - if ($index > count($printAreas)) { - throw new PHPExcel_Exception('Invalid index for setting print range.'); - } - $printAreas = array_merge(array_slice($printAreas,0,$index),array($value),array_slice($printAreas,$index)); - $this->_printArea = implode(',',$printAreas); - } - } else { - throw new PHPExcel_Exception('Invalid method for setting print range.'); - } - - return $this; - } - - /** - * Add a new print area (e.g. 'A1:D10' or 'A1:D10,G5:M20') to the list of print areas - * - * @param string $value - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * A positive index will insert after that indexed entry in the print areas list, while a - * negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function addPrintArea($value, $index = -1) { - return $this->setPrintArea($value, $index, self::SETPRINTRANGE_INSERT); - } - - /** - * Set print area - * - * @param int $column1 Column 1 - * @param int $row1 Row 1 - * @param int $column2 Column 2 - * @param int $row2 Row 2 - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * When the method is "O"verwrite, then a positive integer index will overwrite that indexed - * entry in the print areas list; a negative index value will identify which entry to - * overwrite working bacward through the print area to the list, with the last entry as -1. - * Specifying an index value of 0, will overwrite <b>all</b> existing print ranges. - * When the method is "I"nsert, then a positive index will insert after that indexed entry in - * the print areas list, while a negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @param string $method Determines the method used when setting multiple print areas - * Default behaviour, or the "O" method, overwrites existing print area - * The "I" method, inserts the new print area before any specified index, or at the end of the list - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function setPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = 0, $method = self::SETPRINTRANGE_OVERWRITE) - { - return $this->setPrintArea(PHPExcel_Cell::stringFromColumnIndex($column1) . $row1 . ':' . PHPExcel_Cell::stringFromColumnIndex($column2) . $row2, $index, $method); - } - - /** - * Add a new print area to the list of print areas - * - * @param int $column1 Start Column for the print area - * @param int $row1 Start Row for the print area - * @param int $column2 End Column for the print area - * @param int $row2 End Row for the print area - * @param int $index Identifier for a specific print area range allowing several ranges to be set - * A positive index will insert after that indexed entry in the print areas list, while a - * negative index will insert before the indexed entry. - * Specifying an index value of 0, will always append the new print range at the end of the - * list. - * Print areas are numbered from 1 - * @return PHPExcel_Worksheet_PageSetup - * @throws PHPExcel_Exception - */ - public function addPrintAreaByColumnAndRow($column1, $row1, $column2, $row2, $index = -1) - { - return $this->setPrintArea(PHPExcel_Cell::stringFromColumnIndex($column1) . $row1 . ':' . PHPExcel_Cell::stringFromColumnIndex($column2) . $row2, $index, self::SETPRINTRANGE_INSERT); - } - - /** - * Get first page number - * - * @return int - */ - public function getFirstPageNumber() { - return $this->_firstPageNumber; - } - - /** - * Set first page number - * - * @param int $value - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function setFirstPageNumber($value = null) { - $this->_firstPageNumber = $value; - return $this; - } - - /** - * Reset first page number - * - * @return PHPExcel_Worksheet_HeaderFooter - */ - public function resetFirstPageNumber() { - return $this->setFirstPageNumber(null); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Protection.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Protection.php deleted file mode 100644 index da66bf763..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Protection.php +++ /dev/null @@ -1,545 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Protection - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Protection -{ - /** - * Sheet - * - * @var boolean - */ - private $_sheet = false; - - /** - * Objects - * - * @var boolean - */ - private $_objects = false; - - /** - * Scenarios - * - * @var boolean - */ - private $_scenarios = false; - - /** - * Format cells - * - * @var boolean - */ - private $_formatCells = false; - - /** - * Format columns - * - * @var boolean - */ - private $_formatColumns = false; - - /** - * Format rows - * - * @var boolean - */ - private $_formatRows = false; - - /** - * Insert columns - * - * @var boolean - */ - private $_insertColumns = false; - - /** - * Insert rows - * - * @var boolean - */ - private $_insertRows = false; - - /** - * Insert hyperlinks - * - * @var boolean - */ - private $_insertHyperlinks = false; - - /** - * Delete columns - * - * @var boolean - */ - private $_deleteColumns = false; - - /** - * Delete rows - * - * @var boolean - */ - private $_deleteRows = false; - - /** - * Select locked cells - * - * @var boolean - */ - private $_selectLockedCells = false; - - /** - * Sort - * - * @var boolean - */ - private $_sort = false; - - /** - * AutoFilter - * - * @var boolean - */ - private $_autoFilter = false; - - /** - * Pivot tables - * - * @var boolean - */ - private $_pivotTables = false; - - /** - * Select unlocked cells - * - * @var boolean - */ - private $_selectUnlockedCells = false; - - /** - * Password - * - * @var string - */ - private $_password = ''; - - /** - * Create a new PHPExcel_Worksheet_Protection - */ - public function __construct() - { - } - - /** - * Is some sort of protection enabled? - * - * @return boolean - */ - function isProtectionEnabled() { - return $this->_sheet || - $this->_objects || - $this->_scenarios || - $this->_formatCells || - $this->_formatColumns || - $this->_formatRows || - $this->_insertColumns || - $this->_insertRows || - $this->_insertHyperlinks || - $this->_deleteColumns || - $this->_deleteRows || - $this->_selectLockedCells || - $this->_sort || - $this->_autoFilter || - $this->_pivotTables || - $this->_selectUnlockedCells; - } - - /** - * Get Sheet - * - * @return boolean - */ - function getSheet() { - return $this->_sheet; - } - - /** - * Set Sheet - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSheet($pValue = false) { - $this->_sheet = $pValue; - return $this; - } - - /** - * Get Objects - * - * @return boolean - */ - function getObjects() { - return $this->_objects; - } - - /** - * Set Objects - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setObjects($pValue = false) { - $this->_objects = $pValue; - return $this; - } - - /** - * Get Scenarios - * - * @return boolean - */ - function getScenarios() { - return $this->_scenarios; - } - - /** - * Set Scenarios - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setScenarios($pValue = false) { - $this->_scenarios = $pValue; - return $this; - } - - /** - * Get FormatCells - * - * @return boolean - */ - function getFormatCells() { - return $this->_formatCells; - } - - /** - * Set FormatCells - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setFormatCells($pValue = false) { - $this->_formatCells = $pValue; - return $this; - } - - /** - * Get FormatColumns - * - * @return boolean - */ - function getFormatColumns() { - return $this->_formatColumns; - } - - /** - * Set FormatColumns - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setFormatColumns($pValue = false) { - $this->_formatColumns = $pValue; - return $this; - } - - /** - * Get FormatRows - * - * @return boolean - */ - function getFormatRows() { - return $this->_formatRows; - } - - /** - * Set FormatRows - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setFormatRows($pValue = false) { - $this->_formatRows = $pValue; - return $this; - } - - /** - * Get InsertColumns - * - * @return boolean - */ - function getInsertColumns() { - return $this->_insertColumns; - } - - /** - * Set InsertColumns - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setInsertColumns($pValue = false) { - $this->_insertColumns = $pValue; - return $this; - } - - /** - * Get InsertRows - * - * @return boolean - */ - function getInsertRows() { - return $this->_insertRows; - } - - /** - * Set InsertRows - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setInsertRows($pValue = false) { - $this->_insertRows = $pValue; - return $this; - } - - /** - * Get InsertHyperlinks - * - * @return boolean - */ - function getInsertHyperlinks() { - return $this->_insertHyperlinks; - } - - /** - * Set InsertHyperlinks - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setInsertHyperlinks($pValue = false) { - $this->_insertHyperlinks = $pValue; - return $this; - } - - /** - * Get DeleteColumns - * - * @return boolean - */ - function getDeleteColumns() { - return $this->_deleteColumns; - } - - /** - * Set DeleteColumns - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setDeleteColumns($pValue = false) { - $this->_deleteColumns = $pValue; - return $this; - } - - /** - * Get DeleteRows - * - * @return boolean - */ - function getDeleteRows() { - return $this->_deleteRows; - } - - /** - * Set DeleteRows - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setDeleteRows($pValue = false) { - $this->_deleteRows = $pValue; - return $this; - } - - /** - * Get SelectLockedCells - * - * @return boolean - */ - function getSelectLockedCells() { - return $this->_selectLockedCells; - } - - /** - * Set SelectLockedCells - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSelectLockedCells($pValue = false) { - $this->_selectLockedCells = $pValue; - return $this; - } - - /** - * Get Sort - * - * @return boolean - */ - function getSort() { - return $this->_sort; - } - - /** - * Set Sort - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSort($pValue = false) { - $this->_sort = $pValue; - return $this; - } - - /** - * Get AutoFilter - * - * @return boolean - */ - function getAutoFilter() { - return $this->_autoFilter; - } - - /** - * Set AutoFilter - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setAutoFilter($pValue = false) { - $this->_autoFilter = $pValue; - return $this; - } - - /** - * Get PivotTables - * - * @return boolean - */ - function getPivotTables() { - return $this->_pivotTables; - } - - /** - * Set PivotTables - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setPivotTables($pValue = false) { - $this->_pivotTables = $pValue; - return $this; - } - - /** - * Get SelectUnlockedCells - * - * @return boolean - */ - function getSelectUnlockedCells() { - return $this->_selectUnlockedCells; - } - - /** - * Set SelectUnlockedCells - * - * @param boolean $pValue - * @return PHPExcel_Worksheet_Protection - */ - function setSelectUnlockedCells($pValue = false) { - $this->_selectUnlockedCells = $pValue; - return $this; - } - - /** - * Get Password (hashed) - * - * @return string - */ - function getPassword() { - return $this->_password; - } - - /** - * Set Password - * - * @param string $pValue - * @param boolean $pAlreadyHashed If the password has already been hashed, set this to true - * @return PHPExcel_Worksheet_Protection - */ - function setPassword($pValue = '', $pAlreadyHashed = false) { - if (!$pAlreadyHashed) { - $pValue = PHPExcel_Shared_PasswordHasher::hashPassword($pValue); - } - $this->_password = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Row.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Row.php deleted file mode 100644 index df16d33c2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/Row.php +++ /dev/null @@ -1,90 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_Row - * - * Represents a row in PHPExcel_Worksheet, used by PHPExcel_Worksheet_RowIterator - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_Row -{ - /** - * PHPExcel_Worksheet - * - * @var PHPExcel_Worksheet - */ - private $_parent; - - /** - * Row index - * - * @var int - */ - private $_rowIndex = 0; - - /** - * Create a new row - * - * @param PHPExcel_Worksheet $parent - * @param int $rowIndex - */ - public function __construct(PHPExcel_Worksheet $parent = null, $rowIndex = 1) { - // Set parent and row index - $this->_parent = $parent; - $this->_rowIndex = $rowIndex; - } - - /** - * Destructor - */ - public function __destruct() { - unset($this->_parent); - } - - /** - * Get row index - * - * @return int - */ - public function getRowIndex() { - return $this->_rowIndex; - } - - /** - * Get cell iterator - * - * @return PHPExcel_Worksheet_CellIterator - */ - public function getCellIterator() { - return new PHPExcel_Worksheet_CellIterator($this->_parent, $this->_rowIndex); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/RowDimension.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/RowDimension.php deleted file mode 100644 index bff89a080..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/RowDimension.php +++ /dev/null @@ -1,265 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_RowDimension - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_RowDimension -{ - /** - * Row index - * - * @var int - */ - private $_rowIndex; - - /** - * Row height (in pt) - * - * When this is set to a negative value, the row height should be ignored by IWriter - * - * @var double - */ - private $_rowHeight = -1; - - /** - * ZeroHeight for Row? - * - * @var bool - */ - private $_zeroHeight = false; - - /** - * Visible? - * - * @var bool - */ - private $_visible = true; - - /** - * Outline level - * - * @var int - */ - private $_outlineLevel = 0; - - /** - * Collapsed - * - * @var bool - */ - private $_collapsed = false; - - /** - * Index to cellXf. Null value means row has no explicit cellXf format. - * - * @var int|null - */ - private $_xfIndex; - - /** - * Create a new PHPExcel_Worksheet_RowDimension - * - * @param int $pIndex Numeric row index - */ - public function __construct($pIndex = 0) - { - // Initialise values - $this->_rowIndex = $pIndex; - - // set row dimension as unformatted by default - $this->_xfIndex = null; - } - - /** - * Get Row Index - * - * @return int - */ - public function getRowIndex() { - return $this->_rowIndex; - } - - /** - * Set Row Index - * - * @param int $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setRowIndex($pValue) { - $this->_rowIndex = $pValue; - return $this; - } - - /** - * Get Row Height - * - * @return double - */ - public function getRowHeight() { - return $this->_rowHeight; - } - - /** - * Set Row Height - * - * @param double $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setRowHeight($pValue = -1) { - $this->_rowHeight = $pValue; - return $this; - } - - /** - * Get ZeroHeight - * - * @return bool - */ - public function getZeroHeight() { - return $this->_zeroHeight; - } - - /** - * Set ZeroHeight - * - * @param bool $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setZeroHeight($pValue = false) { - $this->_zeroHeight = $pValue; - return $this; - } - - /** - * Get Visible - * - * @return bool - */ - public function getVisible() { - return $this->_visible; - } - - /** - * Set Visible - * - * @param bool $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setVisible($pValue = true) { - $this->_visible = $pValue; - return $this; - } - - /** - * Get Outline Level - * - * @return int - */ - public function getOutlineLevel() { - return $this->_outlineLevel; - } - - /** - * Set Outline Level - * - * Value must be between 0 and 7 - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_RowDimension - */ - public function setOutlineLevel($pValue) { - if ($pValue < 0 || $pValue > 7) { - throw new PHPExcel_Exception("Outline level must range between 0 and 7."); - } - - $this->_outlineLevel = $pValue; - return $this; - } - - /** - * Get Collapsed - * - * @return bool - */ - public function getCollapsed() { - return $this->_collapsed; - } - - /** - * Set Collapsed - * - * @param bool $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setCollapsed($pValue = true) { - $this->_collapsed = $pValue; - return $this; - } - - /** - * Get index to cellXf - * - * @return int - */ - public function getXfIndex() - { - return $this->_xfIndex; - } - - /** - * Set index to cellXf - * - * @param int $pValue - * @return PHPExcel_Worksheet_RowDimension - */ - public function setXfIndex($pValue = 0) - { - $this->_xfIndex = $pValue; - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/RowIterator.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/RowIterator.php deleted file mode 100644 index 642ec763d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/RowIterator.php +++ /dev/null @@ -1,148 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_RowIterator - * - * Used to iterate rows in a PHPExcel_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_RowIterator implements Iterator -{ - /** - * PHPExcel_Worksheet to iterate - * - * @var PHPExcel_Worksheet - */ - private $_subject; - - /** - * Current iterator position - * - * @var int - */ - private $_position = 1; - - /** - * Start position - * - * @var int - */ - private $_startRow = 1; - - - /** - * Create a new row iterator - * - * @param PHPExcel_Worksheet $subject The worksheet to iterate over - * @param integer $startRow The row number at which to start iterating - */ - public function __construct(PHPExcel_Worksheet $subject = null, $startRow = 1) { - // Set subject - $this->_subject = $subject; - $this->resetStart($startRow); - } - - /** - * Destructor - */ - public function __destruct() { - unset($this->_subject); - } - - /** - * (Re)Set the start row and the current row pointer - * - * @param integer $startRow The row number at which to start iterating - */ - public function resetStart($startRow = 1) { - $this->_startRow = $startRow; - $this->seek($startRow); - } - - /** - * Set the row pointer to the selected row - * - * @param integer $row The row number to set the current pointer at - */ - public function seek($row = 1) { - $this->_position = $row; - } - - /** - * Rewind the iterator to the starting row - */ - public function rewind() { - $this->_position = $this->_startRow; - } - - /** - * Return the current row in this worksheet - * - * @return PHPExcel_Worksheet_Row - */ - public function current() { - return new PHPExcel_Worksheet_Row($this->_subject, $this->_position); - } - - /** - * Return the current iterator key - * - * @return int - */ - public function key() { - return $this->_position; - } - - /** - * Set the iterator to its next value - */ - public function next() { - ++$this->_position; - } - - /** - * Set the iterator to its previous value - */ - public function prev() { - if ($this->_position > 1) - --$this->_position; - } - - /** - * Indicate if more rows exist in the worksheet - * - * @return boolean - */ - public function valid() { - return $this->_position <= $this->_subject->getHighestRow(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/SheetView.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/SheetView.php deleted file mode 100644 index 8ced835dd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/SheetView.php +++ /dev/null @@ -1,188 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Worksheet_SheetView - * - * @category PHPExcel - * @package PHPExcel_Worksheet - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Worksheet_SheetView -{ - - /* Sheet View types */ - const SHEETVIEW_NORMAL = 'normal'; - const SHEETVIEW_PAGE_LAYOUT = 'pageLayout'; - const SHEETVIEW_PAGE_BREAK_PREVIEW = 'pageBreakPreview'; - - private static $_sheetViewTypes = array( - self::SHEETVIEW_NORMAL, - self::SHEETVIEW_PAGE_LAYOUT, - self::SHEETVIEW_PAGE_BREAK_PREVIEW, - ); - - /** - * ZoomScale - * - * Valid values range from 10 to 400. - * - * @var int - */ - private $_zoomScale = 100; - - /** - * ZoomScaleNormal - * - * Valid values range from 10 to 400. - * - * @var int - */ - private $_zoomScaleNormal = 100; - - /** - * View - * - * Valid values range from 10 to 400. - * - * @var string - */ - private $_sheetviewType = self::SHEETVIEW_NORMAL; - - /** - * Create a new PHPExcel_Worksheet_SheetView - */ - public function __construct() - { - } - - /** - * Get ZoomScale - * - * @return int - */ - public function getZoomScale() { - return $this->_zoomScale; - } - - /** - * Set ZoomScale - * - * Valid values range from 10 to 400. - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_SheetView - */ - public function setZoomScale($pValue = 100) { - // Microsoft Office Excel 2007 only allows setting a scale between 10 and 400 via the user interface, - // but it is apparently still able to handle any scale >= 1 - if (($pValue >= 1) || is_null($pValue)) { - $this->_zoomScale = $pValue; - } else { - throw new PHPExcel_Exception("Scale must be greater than or equal to 1."); - } - return $this; - } - - /** - * Get ZoomScaleNormal - * - * @return int - */ - public function getZoomScaleNormal() { - return $this->_zoomScaleNormal; - } - - /** - * Set ZoomScale - * - * Valid values range from 10 to 400. - * - * @param int $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_SheetView - */ - public function setZoomScaleNormal($pValue = 100) { - if (($pValue >= 1) || is_null($pValue)) { - $this->_zoomScaleNormal = $pValue; - } else { - throw new PHPExcel_Exception("Scale must be greater than or equal to 1."); - } - return $this; - } - - /** - * Get View - * - * @return string - */ - public function getView() { - return $this->_sheetviewType; - } - - /** - * Set View - * - * Valid values are - * 'normal' self::SHEETVIEW_NORMAL - * 'pageLayout' self::SHEETVIEW_PAGE_LAYOUT - * 'pageBreakPreview' self::SHEETVIEW_PAGE_BREAK_PREVIEW - * - * @param string $pValue - * @throws PHPExcel_Exception - * @return PHPExcel_Worksheet_SheetView - */ - public function setView($pValue = NULL) { - // MS Excel 2007 allows setting the view to 'normal', 'pageLayout' or 'pageBreakPreview' - // via the user interface - if ($pValue === NULL) - $pValue = self::SHEETVIEW_NORMAL; - if (in_array($pValue, self::$_sheetViewTypes)) { - $this->_sheetviewType = $pValue; - } else { - throw new PHPExcel_Exception("Invalid sheetview layout type."); - } - - return $this; - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Worksheet/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/WorksheetIterator.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/WorksheetIterator.php deleted file mode 100644 index ad17fd903..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/WorksheetIterator.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_WorksheetIterator - * - * Used to iterate worksheets in PHPExcel - * - * @category PHPExcel - * @package PHPExcel - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_WorksheetIterator implements Iterator -{ - /** - * Spreadsheet to iterate - * - * @var PHPExcel - */ - private $_subject; - - /** - * Current iterator position - * - * @var int - */ - private $_position = 0; - - /** - * Create a new worksheet iterator - * - * @param PHPExcel $subject - */ - public function __construct(PHPExcel $subject = null) - { - // Set subject - $this->_subject = $subject; - } - - /** - * Destructor - */ - public function __destruct() - { - unset($this->_subject); - } - - /** - * Rewind iterator - */ - public function rewind() - { - $this->_position = 0; - } - - /** - * Current PHPExcel_Worksheet - * - * @return PHPExcel_Worksheet - */ - public function current() - { - return $this->_subject->getSheet($this->_position); - } - - /** - * Current key - * - * @return int - */ - public function key() - { - return $this->_position; - } - - /** - * Next value - */ - public function next() - { - ++$this->_position; - } - - /** - * More PHPExcel_Worksheet instances available? - * - * @return boolean - */ - public function valid() - { - return $this->_position < $this->_subject->getSheetCount(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Abstract.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Abstract.php deleted file mode 100644 index fca6a60cc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Abstract.php +++ /dev/null @@ -1,158 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Abstract - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * Write charts that are defined in the workbook? - * Identifies whether the Writer should write definitions for any charts that exist in the PHPExcel object; - * - * @var boolean - */ - protected $_includeCharts = FALSE; - - /** - * Pre-calculate formulas - * Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are - * immediately available to MS Excel or other office spreadsheet viewer when opening the file - * - * @var boolean - */ - protected $_preCalculateFormulas = TRUE; - - /** - * Use disk caching where possible? - * - * @var boolean - */ - protected $_useDiskCaching = FALSE; - - /** - * Disk caching directory - * - * @var string - */ - protected $_diskCachingDirectory = './'; - - /** - * Write charts in workbook? - * If this is true, then the Writer will write definitions for any charts that exist in the PHPExcel object. - * If false (the default) it will ignore any charts defined in the PHPExcel object. - * - * @return boolean - */ - public function getIncludeCharts() { - return $this->_includeCharts; - } - - /** - * Set write charts in workbook - * Set to true, to advise the Writer to include any charts that exist in the PHPExcel object. - * Set to false (the default) to ignore charts. - * - * @param boolean $pValue - * @return PHPExcel_Writer_IWriter - */ - public function setIncludeCharts($pValue = FALSE) { - $this->_includeCharts = (boolean) $pValue; - return $this; - } - - /** - * Get Pre-Calculate Formulas flag - * If this is true (the default), then the writer will recalculate all formulae in a workbook when saving, - * so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet - * viewer when opening the file - * If false, then formulae are not calculated on save. This is faster for saving in PHPExcel, but slower - * when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself - * - * @return boolean - */ - public function getPreCalculateFormulas() { - return $this->_preCalculateFormulas; - } - - /** - * Set Pre-Calculate Formulas - * Set to true (the default) to advise the Writer to calculate all formulae on save - * Set to false to prevent precalculation of formulae on save. - * - * @param boolean $pValue Pre-Calculate Formulas? - * @return PHPExcel_Writer_IWriter - */ - public function setPreCalculateFormulas($pValue = TRUE) { - $this->_preCalculateFormulas = (boolean) $pValue; - return $this; - } - - /** - * Get use disk caching where possible? - * - * @return boolean - */ - public function getUseDiskCaching() { - return $this->_useDiskCaching; - } - - /** - * Set use disk caching where possible? - * - * @param boolean $pValue - * @param string $pDirectory Disk caching directory - * @throws PHPExcel_Writer_Exception when directory does not exist - * @return PHPExcel_Writer_Excel2007 - */ - public function setUseDiskCaching($pValue = FALSE, $pDirectory = NULL) { - $this->_useDiskCaching = $pValue; - - if ($pDirectory !== NULL) { - if (is_dir($pDirectory)) { - $this->_diskCachingDirectory = $pDirectory; - } else { - throw new PHPExcel_Writer_Exception("Directory does not exist: $pDirectory"); - } - } - return $this; - } - - /** - * Get disk caching directory - * - * @return string - */ - public function getDiskCachingDirectory() { - return $this->_diskCachingDirectory; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/CSV.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/CSV.php deleted file mode 100644 index 97961ccca..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/CSV.php +++ /dev/null @@ -1,310 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_CSV - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_CSV - * - * @category PHPExcel - * @package PHPExcel_Writer_CSV - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_CSV extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter { - /** - * PHPExcel object - * - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Delimiter - * - * @var string - */ - private $_delimiter = ','; - - /** - * Enclosure - * - * @var string - */ - private $_enclosure = '"'; - - /** - * Line ending - * - * @var string - */ - private $_lineEnding = PHP_EOL; - - /** - * Sheet index to write - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Whether to write a BOM (for UTF8). - * - * @var boolean - */ - private $_useBOM = false; - - /** - * Whether to write a fully Excel compatible CSV file. - * - * @var boolean - */ - private $_excelCompatibility = false; - - /** - * Create a new PHPExcel_Writer_CSV - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) { - $this->_phpExcel = $phpExcel; - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) { - // Fetch sheet - $sheet = $this->_phpExcel->getSheet($this->_sheetIndex); - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog(FALSE); - $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); - PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); - - // Open file - $fileHandle = fopen($pFilename, 'wb+'); - if ($fileHandle === false) { - throw new PHPExcel_Writer_Exception("Could not open file $pFilename for writing."); - } - - if ($this->_excelCompatibility) { - fwrite($fileHandle, "\xEF\xBB\xBF"); // Enforce UTF-8 BOM Header - $this->setEnclosure('"'); // Set enclosure to " - $this->setDelimiter(";"); // Set delimiter to a semi-colon - $this->setLineEnding("\r\n"); - fwrite($fileHandle, 'sep=' . $this->getDelimiter() . $this->_lineEnding); - } elseif ($this->_useBOM) { - // Write the UTF-8 BOM code if required - fwrite($fileHandle, "\xEF\xBB\xBF"); - } - - // Identify the range that we need to extract from the worksheet - $maxCol = $sheet->getHighestDataColumn(); - $maxRow = $sheet->getHighestDataRow(); - - // Write rows to file - for($row = 1; $row <= $maxRow; ++$row) { - // Convert the row to an array... - $cellsArray = $sheet->rangeToArray('A'.$row.':'.$maxCol.$row,'', $this->_preCalculateFormulas); - // ... and write to the file - $this->_writeLine($fileHandle, $cellsArray[0]); - } - - // Close file - fclose($fileHandle); - - PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); - } - - /** - * Get delimiter - * - * @return string - */ - public function getDelimiter() { - return $this->_delimiter; - } - - /** - * Set delimiter - * - * @param string $pValue Delimiter, defaults to , - * @return PHPExcel_Writer_CSV - */ - public function setDelimiter($pValue = ',') { - $this->_delimiter = $pValue; - return $this; - } - - /** - * Get enclosure - * - * @return string - */ - public function getEnclosure() { - return $this->_enclosure; - } - - /** - * Set enclosure - * - * @param string $pValue Enclosure, defaults to " - * @return PHPExcel_Writer_CSV - */ - public function setEnclosure($pValue = '"') { - if ($pValue == '') { - $pValue = null; - } - $this->_enclosure = $pValue; - return $this; - } - - /** - * Get line ending - * - * @return string - */ - public function getLineEnding() { - return $this->_lineEnding; - } - - /** - * Set line ending - * - * @param string $pValue Line ending, defaults to OS line ending (PHP_EOL) - * @return PHPExcel_Writer_CSV - */ - public function setLineEnding($pValue = PHP_EOL) { - $this->_lineEnding = $pValue; - return $this; - } - - /** - * Get whether BOM should be used - * - * @return boolean - */ - public function getUseBOM() { - return $this->_useBOM; - } - - /** - * Set whether BOM should be used - * - * @param boolean $pValue Use UTF-8 byte-order mark? Defaults to false - * @return PHPExcel_Writer_CSV - */ - public function setUseBOM($pValue = false) { - $this->_useBOM = $pValue; - return $this; - } - - /** - * Get whether the file should be saved with full Excel Compatibility - * - * @return boolean - */ - public function getExcelCompatibility() { - return $this->_excelCompatibility; - } - - /** - * Set whether the file should be saved with full Excel Compatibility - * - * @param boolean $pValue Set the file to be written as a fully Excel compatible csv file - * Note that this overrides other settings such as useBOM, enclosure and delimiter - * @return PHPExcel_Writer_CSV - */ - public function setExcelCompatibility($pValue = false) { - $this->_excelCompatibility = $pValue; - return $this; - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Writer_CSV - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - - /** - * Write line to CSV file - * - * @param mixed $pFileHandle PHP filehandle - * @param array $pValues Array containing values in a row - * @throws PHPExcel_Writer_Exception - */ - private function _writeLine($pFileHandle = null, $pValues = null) { - if (is_array($pValues)) { - // No leading delimiter - $writeDelimiter = false; - - // Build the line - $line = ''; - - foreach ($pValues as $element) { - // Escape enclosures - $element = str_replace($this->_enclosure, $this->_enclosure . $this->_enclosure, $element); - - // Add delimiter - if ($writeDelimiter) { - $line .= $this->_delimiter; - } else { - $writeDelimiter = true; - } - - // Add enclosed string - $line .= $this->_enclosure . $element . $this->_enclosure; - } - - // Add line ending - $line .= $this->_lineEnding; - - // Write to file - fwrite($pFileHandle, $line); - } else { - throw new PHPExcel_Writer_Exception("Invalid data row passed to CSV writer."); - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007.php deleted file mode 100644 index 4cf14ac1c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007.php +++ /dev/null @@ -1,532 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007 - * - * @category PHPExcel - * @package PHPExcel_Writer_2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007 extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * Pre-calculate formulas - * Forces PHPExcel to recalculate all formulae in a workbook when saving, so that the pre-calculated values are - * immediately available to MS Excel or other office spreadsheet viewer when opening the file - * - * Overrides the default TRUE for this specific writer for performance reasons - * - * @var boolean - */ - protected $_preCalculateFormulas = FALSE; - - /** - * Office2003 compatibility - * - * @var boolean - */ - private $_office2003compatibility = false; - - /** - * Private writer parts - * - * @var PHPExcel_Writer_Excel2007_WriterPart[] - */ - private $_writerParts = array(); - - /** - * Private PHPExcel - * - * @var PHPExcel - */ - private $_spreadSheet; - - /** - * Private string table - * - * @var string[] - */ - private $_stringTable = array(); - - /** - * Private unique PHPExcel_Style_Conditional HashTable - * - * @var PHPExcel_HashTable - */ - private $_stylesConditionalHashTable; - - /** - * Private unique PHPExcel_Style HashTable - * - * @var PHPExcel_HashTable - */ - private $_styleHashTable; - - /** - * Private unique PHPExcel_Style_Fill HashTable - * - * @var PHPExcel_HashTable - */ - private $_fillHashTable; - - /** - * Private unique PHPExcel_Style_Font HashTable - * - * @var PHPExcel_HashTable - */ - private $_fontHashTable; - - /** - * Private unique PHPExcel_Style_Borders HashTable - * - * @var PHPExcel_HashTable - */ - private $_bordersHashTable ; - - /** - * Private unique PHPExcel_Style_NumberFormat HashTable - * - * @var PHPExcel_HashTable - */ - private $_numFmtHashTable; - - /** - * Private unique PHPExcel_Worksheet_BaseDrawing HashTable - * - * @var PHPExcel_HashTable - */ - private $_drawingHashTable; - - /** - * Create a new PHPExcel_Writer_Excel2007 - * - * @param PHPExcel $pPHPExcel - */ - public function __construct(PHPExcel $pPHPExcel = null) - { - // Assign PHPExcel - $this->setPHPExcel($pPHPExcel); - - $writerPartsArray = array( 'stringtable' => 'PHPExcel_Writer_Excel2007_StringTable', - 'contenttypes' => 'PHPExcel_Writer_Excel2007_ContentTypes', - 'docprops' => 'PHPExcel_Writer_Excel2007_DocProps', - 'rels' => 'PHPExcel_Writer_Excel2007_Rels', - 'theme' => 'PHPExcel_Writer_Excel2007_Theme', - 'style' => 'PHPExcel_Writer_Excel2007_Style', - 'workbook' => 'PHPExcel_Writer_Excel2007_Workbook', - 'worksheet' => 'PHPExcel_Writer_Excel2007_Worksheet', - 'drawing' => 'PHPExcel_Writer_Excel2007_Drawing', - 'comments' => 'PHPExcel_Writer_Excel2007_Comments', - 'chart' => 'PHPExcel_Writer_Excel2007_Chart', - 'relsvba' => 'PHPExcel_Writer_Excel2007_RelsVBA', - 'relsribbonobjects' => 'PHPExcel_Writer_Excel2007_RelsRibbon' - ); - - // Initialise writer parts - // and Assign their parent IWriters - foreach ($writerPartsArray as $writer => $class) { - $this->_writerParts[$writer] = new $class($this); - } - - $hashTablesArray = array( '_stylesConditionalHashTable', '_fillHashTable', '_fontHashTable', - '_bordersHashTable', '_numFmtHashTable', '_drawingHashTable', - '_styleHashTable' - ); - - // Set HashTable variables - foreach ($hashTablesArray as $tableName) { - $this->$tableName = new PHPExcel_HashTable(); - } - } - - /** - * Get writer part - * - * @param string $pPartName Writer part name - * @return PHPExcel_Writer_Excel2007_WriterPart - */ - public function getWriterPart($pPartName = '') { - if ($pPartName != '' && isset($this->_writerParts[strtolower($pPartName)])) { - return $this->_writerParts[strtolower($pPartName)]; - } else { - return null; - } - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) - { - if ($this->_spreadSheet !== NULL) { - // garbage collect - $this->_spreadSheet->garbageCollect(); - - // If $pFilename is php://output or php://stdout, make it a temporary file... - $originalFilename = $pFilename; - if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') { - $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp'); - if ($pFilename == '') { - $pFilename = $originalFilename; - } - } - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->setWriteDebugLog(FALSE); - $saveDateReturnType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - - // Create string lookup table - $this->_stringTable = array(); - for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) { - $this->_stringTable = $this->getWriterPart('StringTable')->createStringTable($this->_spreadSheet->getSheet($i), $this->_stringTable); - } - - // Create styles dictionaries - $this->_styleHashTable->addFromSource( $this->getWriterPart('Style')->allStyles($this->_spreadSheet) ); - $this->_stylesConditionalHashTable->addFromSource( $this->getWriterPart('Style')->allConditionalStyles($this->_spreadSheet) ); - $this->_fillHashTable->addFromSource( $this->getWriterPart('Style')->allFills($this->_spreadSheet) ); - $this->_fontHashTable->addFromSource( $this->getWriterPart('Style')->allFonts($this->_spreadSheet) ); - $this->_bordersHashTable->addFromSource( $this->getWriterPart('Style')->allBorders($this->_spreadSheet) ); - $this->_numFmtHashTable->addFromSource( $this->getWriterPart('Style')->allNumberFormats($this->_spreadSheet) ); - - // Create drawing dictionary - $this->_drawingHashTable->addFromSource( $this->getWriterPart('Drawing')->allDrawings($this->_spreadSheet) ); - - // Create new ZIP file and open it for writing - $zipClass = PHPExcel_Settings::getZipClass(); - $objZip = new $zipClass(); - - // Retrieve OVERWRITE and CREATE constants from the instantiated zip class - // This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP - $ro = new ReflectionObject($objZip); - $zipOverWrite = $ro->getConstant('OVERWRITE'); - $zipCreate = $ro->getConstant('CREATE'); - - if (file_exists($pFilename)) { - unlink($pFilename); - } - // Try opening the ZIP file - if ($objZip->open($pFilename, $zipOverWrite) !== true) { - if ($objZip->open($pFilename, $zipCreate) !== true) { - throw new PHPExcel_Writer_Exception("Could not open " . $pFilename . " for writing."); - } - } - - // Add [Content_Types].xml to ZIP file - $objZip->addFromString('[Content_Types].xml', $this->getWriterPart('ContentTypes')->writeContentTypes($this->_spreadSheet, $this->_includeCharts)); - - //if hasMacros, add the vbaProject.bin file, Certificate file(if exists) - if($this->_spreadSheet->hasMacros()){ - $macrosCode=$this->_spreadSheet->getMacrosCode(); - if(!is_null($macrosCode)){// we have the code ? - $objZip->addFromString('xl/vbaProject.bin', $macrosCode);//allways in 'xl', allways named vbaProject.bin - if($this->_spreadSheet->hasMacrosCertificate()){//signed macros ? - // Yes : add the certificate file and the related rels file - $objZip->addFromString('xl/vbaProjectSignature.bin', $this->_spreadSheet->getMacrosCertificate()); - $objZip->addFromString('xl/_rels/vbaProject.bin.rels', - $this->getWriterPart('RelsVBA')->writeVBARelationships($this->_spreadSheet)); - } - } - } - //a custom UI in this workbook ? add it ("base" xml and additional objects (pictures) and rels) - if($this->_spreadSheet->hasRibbon()){ - $tmpRibbonTarget=$this->_spreadSheet->getRibbonXMLData('target'); - $objZip->addFromString($tmpRibbonTarget, $this->_spreadSheet->getRibbonXMLData('data')); - if($this->_spreadSheet->hasRibbonBinObjects()){ - $tmpRootPath=dirname($tmpRibbonTarget).'/'; - $ribbonBinObjects=$this->_spreadSheet->getRibbonBinObjects('data');//the files to write - foreach($ribbonBinObjects as $aPath=>$aContent){ - $objZip->addFromString($tmpRootPath.$aPath, $aContent); - } - //the rels for files - $objZip->addFromString($tmpRootPath.'_rels/'.basename($tmpRibbonTarget).'.rels', - $this->getWriterPart('RelsRibbonObjects')->writeRibbonRelationships($this->_spreadSheet)); - } - } - - // Add relationships to ZIP file - $objZip->addFromString('_rels/.rels', $this->getWriterPart('Rels')->writeRelationships($this->_spreadSheet)); - $objZip->addFromString('xl/_rels/workbook.xml.rels', $this->getWriterPart('Rels')->writeWorkbookRelationships($this->_spreadSheet)); - - // Add document properties to ZIP file - $objZip->addFromString('docProps/app.xml', $this->getWriterPart('DocProps')->writeDocPropsApp($this->_spreadSheet)); - $objZip->addFromString('docProps/core.xml', $this->getWriterPart('DocProps')->writeDocPropsCore($this->_spreadSheet)); - $customPropertiesPart = $this->getWriterPart('DocProps')->writeDocPropsCustom($this->_spreadSheet); - if ($customPropertiesPart !== NULL) { - $objZip->addFromString('docProps/custom.xml', $customPropertiesPart); - } - - // Add theme to ZIP file - $objZip->addFromString('xl/theme/theme1.xml', $this->getWriterPart('Theme')->writeTheme($this->_spreadSheet)); - - // Add string table to ZIP file - $objZip->addFromString('xl/sharedStrings.xml', $this->getWriterPart('StringTable')->writeStringTable($this->_stringTable)); - - // Add styles to ZIP file - $objZip->addFromString('xl/styles.xml', $this->getWriterPart('Style')->writeStyles($this->_spreadSheet)); - - // Add workbook to ZIP file - $objZip->addFromString('xl/workbook.xml', $this->getWriterPart('Workbook')->writeWorkbook($this->_spreadSheet, $this->_preCalculateFormulas)); - - $chartCount = 0; - // Add worksheets - for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) { - $objZip->addFromString('xl/worksheets/sheet' . ($i + 1) . '.xml', $this->getWriterPart('Worksheet')->writeWorksheet($this->_spreadSheet->getSheet($i), $this->_stringTable, $this->_includeCharts)); - if ($this->_includeCharts) { - $charts = $this->_spreadSheet->getSheet($i)->getChartCollection(); - if (count($charts) > 0) { - foreach($charts as $chart) { - $objZip->addFromString('xl/charts/chart' . ($chartCount + 1) . '.xml', $this->getWriterPart('Chart')->writeChart($chart)); - $chartCount++; - } - } - } - } - - $chartRef1 = $chartRef2 = 0; - // Add worksheet relationships (drawings, ...) - for ($i = 0; $i < $this->_spreadSheet->getSheetCount(); ++$i) { - - // Add relationships - $objZip->addFromString('xl/worksheets/_rels/sheet' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeWorksheetRelationships($this->_spreadSheet->getSheet($i), ($i + 1), $this->_includeCharts)); - - $drawings = $this->_spreadSheet->getSheet($i)->getDrawingCollection(); - $drawingCount = count($drawings); - if ($this->_includeCharts) { - $chartCount = $this->_spreadSheet->getSheet($i)->getChartCount(); - } - - // Add drawing and image relationship parts - if (($drawingCount > 0) || ($chartCount > 0)) { - // Drawing relationships - $objZip->addFromString('xl/drawings/_rels/drawing' . ($i + 1) . '.xml.rels', $this->getWriterPart('Rels')->writeDrawingRelationships($this->_spreadSheet->getSheet($i),$chartRef1, $this->_includeCharts)); - - // Drawings - $objZip->addFromString('xl/drawings/drawing' . ($i + 1) . '.xml', $this->getWriterPart('Drawing')->writeDrawings($this->_spreadSheet->getSheet($i),$chartRef2,$this->_includeCharts)); - } - - // Add comment relationship parts - if (count($this->_spreadSheet->getSheet($i)->getComments()) > 0) { - // VML Comments - $objZip->addFromString('xl/drawings/vmlDrawing' . ($i + 1) . '.vml', $this->getWriterPart('Comments')->writeVMLComments($this->_spreadSheet->getSheet($i))); - - // Comments - $objZip->addFromString('xl/comments' . ($i + 1) . '.xml', $this->getWriterPart('Comments')->writeComments($this->_spreadSheet->getSheet($i))); - } - - // Add header/footer relationship parts - if (count($this->_spreadSheet->getSheet($i)->getHeaderFooter()->getImages()) > 0) { - // VML Drawings - $objZip->addFromString('xl/drawings/vmlDrawingHF' . ($i + 1) . '.vml', $this->getWriterPart('Drawing')->writeVMLHeaderFooterImages($this->_spreadSheet->getSheet($i))); - - // VML Drawing relationships - $objZip->addFromString('xl/drawings/_rels/vmlDrawingHF' . ($i + 1) . '.vml.rels', $this->getWriterPart('Rels')->writeHeaderFooterDrawingRelationships($this->_spreadSheet->getSheet($i))); - - // Media - foreach ($this->_spreadSheet->getSheet($i)->getHeaderFooter()->getImages() as $image) { - $objZip->addFromString('xl/media/' . $image->getIndexedFilename(), file_get_contents($image->getPath())); - } - } - } - - // Add media - for ($i = 0; $i < $this->getDrawingHashTable()->count(); ++$i) { - if ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_Drawing) { - $imageContents = null; - $imagePath = $this->getDrawingHashTable()->getByIndex($i)->getPath(); - if (strpos($imagePath, 'zip://') !== false) { - $imagePath = substr($imagePath, 6); - $imagePathSplitted = explode('#', $imagePath); - - $imageZip = new ZipArchive(); - $imageZip->open($imagePathSplitted[0]); - $imageContents = $imageZip->getFromName($imagePathSplitted[1]); - $imageZip->close(); - unset($imageZip); - } else { - $imageContents = file_get_contents($imagePath); - } - - $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents); - } else if ($this->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_MemoryDrawing) { - ob_start(); - call_user_func( - $this->getDrawingHashTable()->getByIndex($i)->getRenderingFunction(), - $this->getDrawingHashTable()->getByIndex($i)->getImageResource() - ); - $imageContents = ob_get_contents(); - ob_end_clean(); - - $objZip->addFromString('xl/media/' . str_replace(' ', '_', $this->getDrawingHashTable()->getByIndex($i)->getIndexedFilename()), $imageContents); - } - } - - PHPExcel_Calculation_Functions::setReturnDateType($saveDateReturnType); - PHPExcel_Calculation::getInstance($this->_spreadSheet)->getDebugLog()->setWriteDebugLog($saveDebugLog); - - // Close file - if ($objZip->close() === false) { - throw new PHPExcel_Writer_Exception("Could not close zip file $pFilename."); - } - - // If a temporary file was used, copy it to the correct file stream - if ($originalFilename != $pFilename) { - if (copy($pFilename, $originalFilename) === false) { - throw new PHPExcel_Writer_Exception("Could not copy temporary zip file $pFilename to $originalFilename."); - } - @unlink($pFilename); - } - } else { - throw new PHPExcel_Writer_Exception("PHPExcel object unassigned."); - } - } - - /** - * Get PHPExcel object - * - * @return PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function getPHPExcel() { - if ($this->_spreadSheet !== null) { - return $this->_spreadSheet; - } else { - throw new PHPExcel_Writer_Exception("No PHPExcel assigned."); - } - } - - /** - * Set PHPExcel object - * - * @param PHPExcel $pPHPExcel PHPExcel object - * @throws PHPExcel_Writer_Exception - * @return PHPExcel_Writer_Excel2007 - */ - public function setPHPExcel(PHPExcel $pPHPExcel = null) { - $this->_spreadSheet = $pPHPExcel; - return $this; - } - - /** - * Get string table - * - * @return string[] - */ - public function getStringTable() { - return $this->_stringTable; - } - - /** - * Get PHPExcel_Style HashTable - * - * @return PHPExcel_HashTable - */ - public function getStyleHashTable() { - return $this->_styleHashTable; - } - - /** - * Get PHPExcel_Style_Conditional HashTable - * - * @return PHPExcel_HashTable - */ - public function getStylesConditionalHashTable() { - return $this->_stylesConditionalHashTable; - } - - /** - * Get PHPExcel_Style_Fill HashTable - * - * @return PHPExcel_HashTable - */ - public function getFillHashTable() { - return $this->_fillHashTable; - } - - /** - * Get PHPExcel_Style_Font HashTable - * - * @return PHPExcel_HashTable - */ - public function getFontHashTable() { - return $this->_fontHashTable; - } - - /** - * Get PHPExcel_Style_Borders HashTable - * - * @return PHPExcel_HashTable - */ - public function getBordersHashTable() { - return $this->_bordersHashTable; - } - - /** - * Get PHPExcel_Style_NumberFormat HashTable - * - * @return PHPExcel_HashTable - */ - public function getNumFmtHashTable() { - return $this->_numFmtHashTable; - } - - /** - * Get PHPExcel_Worksheet_BaseDrawing HashTable - * - * @return PHPExcel_HashTable - */ - public function getDrawingHashTable() { - return $this->_drawingHashTable; - } - - /** - * Get Office2003 compatibility - * - * @return boolean - */ - public function getOffice2003Compatibility() { - return $this->_office2003compatibility; - } - - /** - * Set Office2003 compatibility - * - * @param boolean $pValue Office2003 compatibility? - * @return PHPExcel_Writer_Excel2007 - */ - public function setOffice2003Compatibility($pValue = false) { - $this->_office2003compatibility = $pValue; - return $this; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Chart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Chart.php deleted file mode 100644 index ceb750ade..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Chart.php +++ /dev/null @@ -1,1606 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -/** - * PHPExcel_Writer_Excel2007_Chart - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Chart extends - PHPExcel_Writer_Excel2007_WriterPart { - - /** - * Write charts to XML format - * - * @param PHPExcel_Chart $pChart - * - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeChart(PHPExcel_Chart $pChart = NULL) { - // Create XML writer - $objWriter = NULL; - if ($this->getParentWriter() - ->getUseDiskCaching() - ) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter() - ->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - // Ensure that data series values are up-to-date before we save - $pChart->refresh(); - - // XML header - $objWriter->startDocument('1.0', 'UTF-8', 'yes'); - - // c:chartSpace - $objWriter->startElement('c:chartSpace'); - $objWriter->writeAttribute('xmlns:c', 'http://schemas.openxmlformats.org/drawingml/2006/chart'); - $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - $objWriter->startElement('c:date1904'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - $objWriter->startElement('c:lang'); - $objWriter->writeAttribute('val', "en-GB"); - $objWriter->endElement(); - $objWriter->startElement('c:roundedCorners'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $this->_writeAlternateContent($objWriter); - - $objWriter->startElement('c:chart'); - - $this->_writeTitle($pChart->getTitle(), $objWriter); - - $objWriter->startElement('c:autoTitleDeleted'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $this->_writePlotArea( - $pChart->getPlotArea(), - $pChart->getXAxisLabel(), - $pChart->getYAxisLabel(), - $objWriter, - $pChart->getWorksheet(), - $pChart->getChartAxisX(), - $pChart->getChartAxisY(), - $pChart->getMajorGridlines(), - $pChart->getMinorGridlines() - ); - - $this->_writeLegend($pChart->getLegend(), $objWriter); - - $objWriter->startElement('c:plotVisOnly'); - $objWriter->writeAttribute('val', 1); - $objWriter->endElement(); - - $objWriter->startElement('c:dispBlanksAs'); - $objWriter->writeAttribute('val', "gap"); - $objWriter->endElement(); - - $objWriter->startElement('c:showDLblsOverMax'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - $this->_writePrintSettings($objWriter); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write Chart Title - * - * @param PHPExcel_Chart_Title $title - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeTitle(PHPExcel_Chart_Title $title = NULL, $objWriter) { - if (is_null($title)) { - return; - } - - $objWriter->startElement('c:title'); - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:rich'); - - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - - $caption = $title->getCaption(); - if ((is_array($caption)) && (count($caption) > 0)) { - $caption = $caption[0]; - } - $this->getParentWriter() - ->getWriterPart('stringtable') - ->writeRichTextForCharts($objWriter, $caption, 'a'); - - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $layout = $title->getLayout(); - $this->_writeLayout($layout, $objWriter); - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Chart Legend - * - * @param PHPExcel_Chart_Legend $legend - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeLegend(PHPExcel_Chart_Legend $legend = NULL, $objWriter) { - if (is_null($legend)) { - return; - } - - $objWriter->startElement('c:legend'); - - $objWriter->startElement('c:legendPos'); - $objWriter->writeAttribute('val', $legend->getPosition()); - $objWriter->endElement(); - - $layout = $legend->getLayout(); - $this->_writeLayout($layout, $objWriter); - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', ($legend->getOverlay()) ? '1' : '0'); - $objWriter->endElement(); - - $objWriter->startElement('c:txPr'); - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - $objWriter->startElement('a:pPr'); - $objWriter->writeAttribute('rtl', 0); - - $objWriter->startElement('a:defRPr'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('a:endParaRPr'); - $objWriter->writeAttribute('lang', "en-US"); - $objWriter->endElement(); - - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Chart Plot Area - * - * @param PHPExcel_Chart_PlotArea $plotArea - * @param PHPExcel_Chart_Title $xAxisLabel - * @param PHPExcel_Chart_Title $yAxisLabel - * @param PHPExcel_Chart_Axis $xAxis - * @param PHPExcel_Chart_Axis $yAxis - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotArea(PHPExcel_Chart_PlotArea $plotArea, - PHPExcel_Chart_Title $xAxisLabel = NULL, - PHPExcel_Chart_Title $yAxisLabel = NULL, - $objWriter, - PHPExcel_Worksheet $pSheet, - PHPExcel_Chart_Axis $xAxis, - PHPExcel_Chart_Axis $yAxis, - PHPExcel_Chart_Gridlines $majorGridlines, - PHPExcel_Chart_Gridlines $minorGridlines - ) { - if (is_null($plotArea)) { - return; - } - - $id1 = $id2 = 0; - $this->_seriesIndex = 0; - $objWriter->startElement('c:plotArea'); - - $layout = $plotArea->getLayout(); - - $this->_writeLayout($layout, $objWriter); - - $chartTypes = self::_getChartType($plotArea); - $catIsMultiLevelSeries = $valIsMultiLevelSeries = FALSE; - $plotGroupingType = ''; - foreach ($chartTypes as $chartType) { - $objWriter->startElement('c:' . $chartType); - - $groupCount = $plotArea->getPlotGroupCount(); - for ($i = 0; $i < $groupCount; ++$i) { - $plotGroup = $plotArea->getPlotGroupByIndex($i); - $groupType = $plotGroup->getPlotType(); - if ($groupType == $chartType) { - - $plotStyle = $plotGroup->getPlotStyle(); - if ($groupType === PHPExcel_Chart_DataSeries::TYPE_RADARCHART) { - $objWriter->startElement('c:radarStyle'); - $objWriter->writeAttribute('val', $plotStyle); - $objWriter->endElement(); - } elseif ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) { - $objWriter->startElement('c:scatterStyle'); - $objWriter->writeAttribute('val', $plotStyle); - $objWriter->endElement(); - } - - $this->_writePlotGroup($plotGroup, $chartType, $objWriter, $catIsMultiLevelSeries, $valIsMultiLevelSeries, $plotGroupingType, $pSheet); - } - } - - $this->_writeDataLbls($objWriter, $layout); - - if ($chartType === PHPExcel_Chart_DataSeries::TYPE_LINECHART) { - // Line only, Line3D can't be smoothed - - $objWriter->startElement('c:smooth'); - $objWriter->writeAttribute('val', (integer) $plotGroup->getSmoothLine()); - $objWriter->endElement(); - } elseif (($chartType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) || - ($chartType === PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) - ) { - - $objWriter->startElement('c:gapWidth'); - $objWriter->writeAttribute('val', 150); - $objWriter->endElement(); - - if ($plotGroupingType == 'percentStacked' || - $plotGroupingType == 'stacked' - ) { - - $objWriter->startElement('c:overlap'); - $objWriter->writeAttribute('val', 100); - $objWriter->endElement(); - } - } elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - - $objWriter->startElement('c:bubbleScale'); - $objWriter->writeAttribute('val', 25); - $objWriter->endElement(); - - $objWriter->startElement('c:showNegBubbles'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } elseif ($chartType === PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) { - - $objWriter->startElement('c:hiLowLines'); - $objWriter->endElement(); - - $objWriter->startElement('c:upDownBars'); - - $objWriter->startElement('c:gapWidth'); - $objWriter->writeAttribute('val', 300); - $objWriter->endElement(); - - $objWriter->startElement('c:upBars'); - $objWriter->endElement(); - - $objWriter->startElement('c:downBars'); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - // Generate 2 unique numbers to use for axId values - // $id1 = $id2 = rand(10000000,99999999); - // do { - // $id2 = rand(10000000,99999999); - // } while ($id1 == $id2); - $id1 = '75091328'; - $id2 = '75089408'; - - if (($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id1); - $objWriter->endElement(); - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - } else { - $objWriter->startElement('c:firstSliceAng'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - if ($chartType === PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) { - - $objWriter->startElement('c:holeSize'); - $objWriter->writeAttribute('val', 50); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } - - if (($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && - ($chartType !== PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - if ($chartType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $this->_writeValAx($objWriter, $plotArea, $xAxisLabel, $chartType, $id1, $id2, $catIsMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines); - } else { - $this->_writeCatAx($objWriter, $plotArea, $xAxisLabel, $chartType, $id1, $id2, $catIsMultiLevelSeries, $xAxis, $yAxis); - } - - $this->_writeValAx($objWriter, $plotArea, $yAxisLabel, $chartType, $id1, $id2, $valIsMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines); - } - - $objWriter->endElement(); - } - - /** - * Write Data Labels - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart_Layout $chartLayout Chart layout - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeDataLbls($objWriter, $chartLayout) { - $objWriter->startElement('c:dLbls'); - - $objWriter->startElement('c:showLegendKey'); - $showLegendKey = (empty($chartLayout)) ? 0 : $chartLayout->getShowLegendKey(); - $objWriter->writeAttribute('val', ((empty($showLegendKey)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showVal'); - $showVal = (empty($chartLayout)) ? 0 : $chartLayout->getShowVal(); - $objWriter->writeAttribute('val', ((empty($showVal)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showCatName'); - $showCatName = (empty($chartLayout)) ? 0 : $chartLayout->getShowCatName(); - $objWriter->writeAttribute('val', ((empty($showCatName)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showSerName'); - $showSerName = (empty($chartLayout)) ? 0 : $chartLayout->getShowSerName(); - $objWriter->writeAttribute('val', ((empty($showSerName)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showPercent'); - $showPercent = (empty($chartLayout)) ? 0 : $chartLayout->getShowPercent(); - $objWriter->writeAttribute('val', ((empty($showPercent)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showBubbleSize'); - $showBubbleSize = (empty($chartLayout)) ? 0 : $chartLayout->getShowBubbleSize(); - $objWriter->writeAttribute('val', ((empty($showBubbleSize)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->startElement('c:showLeaderLines'); - $showLeaderLines = (empty($chartLayout)) ? 1 : $chartLayout->getShowLeaderLines(); - $objWriter->writeAttribute('val', ((empty($showLeaderLines)) ? 0 : 1)); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Category Axis - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart_PlotArea $plotArea - * @param PHPExcel_Chart_Title $xAxisLabel - * @param string $groupType Chart type - * @param string $id1 - * @param string $id2 - * @param boolean $isMultiLevelSeries - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeCatAx($objWriter, PHPExcel_Chart_PlotArea $plotArea, $xAxisLabel, $groupType, $id1, $id2, $isMultiLevelSeries, $xAxis, $yAxis) { - $objWriter->startElement('c:catAx'); - - if ($id1 > 0) { - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id1); - $objWriter->endElement(); - } - - $objWriter->startElement('c:scaling'); - $objWriter->startElement('c:orientation'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('orientation')); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('c:delete'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->startElement('c:axPos'); - $objWriter->writeAttribute('val', "b"); - $objWriter->endElement(); - - if (!is_null($xAxisLabel)) { - $objWriter->startElement('c:title'); - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:rich'); - - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - $objWriter->startElement('a:r'); - - $caption = $xAxisLabel->getCaption(); - if (is_array($caption)) { - $caption = $caption[0]; - } - $objWriter->startElement('a:t'); - // $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($caption)); - $objWriter->endElement(); - - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $layout = $xAxisLabel->getLayout(); - $this->_writeLayout($layout, $objWriter); - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - } - - $objWriter->startElement('c:numFmt'); - $objWriter->writeAttribute('formatCode', $yAxis->getAxisNumberFormat()); - $objWriter->writeAttribute('sourceLinked', $yAxis->getAxisNumberSourceLinked()); - $objWriter->endElement(); - - $objWriter->startElement('c:majorTickMark'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('major_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:minorTickMark'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('minor_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:tickLblPos'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('axis_labels')); - $objWriter->endElement(); - - if ($id2 > 0) { - $objWriter->startElement('c:crossAx'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - - $objWriter->startElement('c:crosses'); - $objWriter->writeAttribute('val', $yAxis->getAxisOptionsProperty('horizontal_crosses')); - $objWriter->endElement(); - } - - $objWriter->startElement('c:auto'); - $objWriter->writeAttribute('val', 1); - $objWriter->endElement(); - - $objWriter->startElement('c:lblAlgn'); - $objWriter->writeAttribute('val', "ctr"); - $objWriter->endElement(); - - $objWriter->startElement('c:lblOffset'); - $objWriter->writeAttribute('val', 100); - $objWriter->endElement(); - - if ($isMultiLevelSeries) { - $objWriter->startElement('c:noMultiLvlLbl'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - $objWriter->endElement(); - } - - /** - * Write Value Axis - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart_PlotArea $plotArea - * @param PHPExcel_Chart_Title $yAxisLabel - * @param string $groupType Chart type - * @param string $id1 - * @param string $id2 - * @param boolean $isMultiLevelSeries - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeValAx($objWriter, PHPExcel_Chart_PlotArea $plotArea, $yAxisLabel, $groupType, $id1, $id2, $isMultiLevelSeries, $xAxis, $yAxis, $majorGridlines, $minorGridlines) { - $objWriter->startElement('c:valAx'); - - if ($id2 > 0) { - $objWriter->startElement('c:axId'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - } - - $objWriter->startElement('c:scaling'); - $objWriter->startElement('c:orientation'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('orientation')); - - if (!is_null($xAxis->getAxisOptionsProperty('maximum'))) { - $objWriter->startElement('c:max'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('maximum')); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getAxisOptionsProperty('minimum'))) { - $objWriter->startElement('c:min'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minimum')); - $objWriter->endElement(); - } - - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('c:delete'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->startElement('c:axPos'); - $objWriter->writeAttribute('val', "l"); - $objWriter->endElement(); - - $objWriter->startElement('c:majorGridlines'); - $objWriter->startElement('c:spPr'); - - if (!is_null($majorGridlines->getLineColorProperty('value'))) { - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', $majorGridlines->getLineStyleProperty('width')); - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:{$majorGridlines->getLineColorProperty('type')}"); - $objWriter->writeAttribute('val', $majorGridlines->getLineColorProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $majorGridlines->getLineColorProperty('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end srgbClr - $objWriter->endElement(); //end solidFill - - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', $majorGridlines->getLineStyleProperty('dash')); - $objWriter->endElement(); - - if ($majorGridlines->getLineStyleProperty('join') == 'miter') { - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - } else { - $objWriter->startElement('a:bevel'); - $objWriter->endElement(); - } - - if (!is_null($majorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')))) { - $objWriter->startElement('a:headEnd'); - $objWriter->writeAttribute('type', $majorGridlines->getLineStyleProperty(array('arrow', 'head', 'type'))); - $objWriter->writeAttribute('w', $majorGridlines->getLineStyleArrowParameters('head', 'w')); - $objWriter->writeAttribute('len', $majorGridlines->getLineStyleArrowParameters('head', 'len')); - $objWriter->endElement(); - } - - if (!is_null($majorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')))) { - $objWriter->startElement('a:tailEnd'); - $objWriter->writeAttribute('type', $majorGridlines->getLineStyleProperty(array('arrow', 'end', 'type'))); - $objWriter->writeAttribute('w', $majorGridlines->getLineStyleArrowParameters('end', 'w')); - $objWriter->writeAttribute('len', $majorGridlines->getLineStyleArrowParameters('end', 'len')); - $objWriter->endElement(); - } - $objWriter->endElement(); //end ln - } - $objWriter->startElement('a:effectLst'); - - if (!is_null($majorGridlines->getGlowSize())) { - $objWriter->startElement('a:glow'); - $objWriter->writeAttribute('rad', $majorGridlines->getGlowSize()); - $objWriter->startElement("a:{$majorGridlines->getGlowColor('type')}"); - $objWriter->writeAttribute('val', $majorGridlines->getGlowColor('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $majorGridlines->getGlowColor('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end schemeClr - $objWriter->endElement(); //end glow - } - - if (!is_null($majorGridlines->getShadowProperty('presets'))) { - $objWriter->startElement("a:{$majorGridlines->getShadowProperty('effect')}"); - if (!is_null($majorGridlines->getShadowProperty('blur'))) { - $objWriter->writeAttribute('blurRad', $majorGridlines->getShadowProperty('blur')); - } - if (!is_null($majorGridlines->getShadowProperty('distance'))) { - $objWriter->writeAttribute('dist', $majorGridlines->getShadowProperty('distance')); - } - if (!is_null($majorGridlines->getShadowProperty('direction'))) { - $objWriter->writeAttribute('dir', $majorGridlines->getShadowProperty('direction')); - } - if (!is_null($majorGridlines->getShadowProperty('algn'))) { - $objWriter->writeAttribute('algn', $majorGridlines->getShadowProperty('algn')); - } - if (!is_null($majorGridlines->getShadowProperty(array('size', 'sx')))) { - $objWriter->writeAttribute('sx', $majorGridlines->getShadowProperty(array('size', 'sx'))); - } - if (!is_null($majorGridlines->getShadowProperty(array('size', 'sy')))) { - $objWriter->writeAttribute('sy', $majorGridlines->getShadowProperty(array('size', 'sy'))); - } - if (!is_null($majorGridlines->getShadowProperty(array('size', 'kx')))) { - $objWriter->writeAttribute('kx', $majorGridlines->getShadowProperty(array('size', 'kx'))); - } - if (!is_null($majorGridlines->getShadowProperty('rotWithShape'))) { - $objWriter->writeAttribute('rotWithShape', $majorGridlines->getShadowProperty('rotWithShape')); - } - $objWriter->startElement("a:{$majorGridlines->getShadowProperty(array('color', 'type'))}"); - $objWriter->writeAttribute('val', $majorGridlines->getShadowProperty(array('color', 'value'))); - - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $majorGridlines->getShadowProperty(array('color', 'alpha'))); - $objWriter->endElement(); //end alpha - - $objWriter->endElement(); //end color:type - $objWriter->endElement(); //end shadow - } - - if (!is_null($majorGridlines->getSoftEdgesSize())) { - $objWriter->startElement('a:softEdge'); - $objWriter->writeAttribute('rad', $majorGridlines->getSoftEdgesSize()); - $objWriter->endElement(); //end softEdge - } - - $objWriter->endElement(); //end effectLst - $objWriter->endElement(); //end spPr - $objWriter->endElement(); //end majorGridLines - - if ($minorGridlines->getObjectState()) { - $objWriter->startElement('c:minorGridlines'); - $objWriter->startElement('c:spPr'); - - if (!is_null($minorGridlines->getLineColorProperty('value'))) { - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', $minorGridlines->getLineStyleProperty('width')); - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:{$minorGridlines->getLineColorProperty('type')}"); - $objWriter->writeAttribute('val', $minorGridlines->getLineColorProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $minorGridlines->getLineColorProperty('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end srgbClr - $objWriter->endElement(); //end solidFill - - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', $minorGridlines->getLineStyleProperty('dash')); - $objWriter->endElement(); - - if ($minorGridlines->getLineStyleProperty('join') == 'miter') { - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - } else { - $objWriter->startElement('a:bevel'); - $objWriter->endElement(); - } - - if (!is_null($minorGridlines->getLineStyleProperty(array('arrow', 'head', 'type')))) { - $objWriter->startElement('a:headEnd'); - $objWriter->writeAttribute('type', $minorGridlines->getLineStyleProperty(array('arrow', 'head', 'type'))); - $objWriter->writeAttribute('w', $minorGridlines->getLineStyleArrowParameters('head', 'w')); - $objWriter->writeAttribute('len', $minorGridlines->getLineStyleArrowParameters('head', 'len')); - $objWriter->endElement(); - } - - if (!is_null($minorGridlines->getLineStyleProperty(array('arrow', 'end', 'type')))) { - $objWriter->startElement('a:tailEnd'); - $objWriter->writeAttribute('type', $minorGridlines->getLineStyleProperty(array('arrow', 'end', 'type'))); - $objWriter->writeAttribute('w', $minorGridlines->getLineStyleArrowParameters('end', 'w')); - $objWriter->writeAttribute('len', $minorGridlines->getLineStyleArrowParameters('end', 'len')); - $objWriter->endElement(); - } - $objWriter->endElement(); //end ln - } - - $objWriter->startElement('a:effectLst'); - - if (!is_null($minorGridlines->getGlowSize())) { - $objWriter->startElement('a:glow'); - $objWriter->writeAttribute('rad', $minorGridlines->getGlowSize()); - $objWriter->startElement("a:{$minorGridlines->getGlowColor('type')}"); - $objWriter->writeAttribute('val', $minorGridlines->getGlowColor('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $minorGridlines->getGlowColor('alpha')); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end schemeClr - $objWriter->endElement(); //end glow - } - - if (!is_null($minorGridlines->getShadowProperty('presets'))) { - $objWriter->startElement("a:{$minorGridlines->getShadowProperty('effect')}"); - if (!is_null($minorGridlines->getShadowProperty('blur'))) { - $objWriter->writeAttribute('blurRad', $minorGridlines->getShadowProperty('blur')); - } - if (!is_null($minorGridlines->getShadowProperty('distance'))) { - $objWriter->writeAttribute('dist', $minorGridlines->getShadowProperty('distance')); - } - if (!is_null($minorGridlines->getShadowProperty('direction'))) { - $objWriter->writeAttribute('dir', $minorGridlines->getShadowProperty('direction')); - } - if (!is_null($minorGridlines->getShadowProperty('algn'))) { - $objWriter->writeAttribute('algn', $minorGridlines->getShadowProperty('algn')); - } - if (!is_null($minorGridlines->getShadowProperty(array('size', 'sx')))) { - $objWriter->writeAttribute('sx', $minorGridlines->getShadowProperty(array('size', 'sx'))); - } - if (!is_null($minorGridlines->getShadowProperty(array('size', 'sy')))) { - $objWriter->writeAttribute('sy', $minorGridlines->getShadowProperty(array('size', 'sy'))); - } - if (!is_null($minorGridlines->getShadowProperty(array('size', 'kx')))) { - $objWriter->writeAttribute('kx', $minorGridlines->getShadowProperty(array('size', 'kx'))); - } - if (!is_null($minorGridlines->getShadowProperty('rotWithShape'))) { - $objWriter->writeAttribute('rotWithShape', $minorGridlines->getShadowProperty('rotWithShape')); - } - $objWriter->startElement("a:{$minorGridlines->getShadowProperty(array('color', 'type'))}"); - $objWriter->writeAttribute('val', $minorGridlines->getShadowProperty(array('color', 'value'))); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $minorGridlines->getShadowProperty(array('color', 'alpha'))); - $objWriter->endElement(); //end alpha - $objWriter->endElement(); //end color:type - $objWriter->endElement(); //end shadow - } - - if (!is_null($minorGridlines->getSoftEdgesSize())) { - $objWriter->startElement('a:softEdge'); - $objWriter->writeAttribute('rad', $minorGridlines->getSoftEdgesSize()); - $objWriter->endElement(); //end softEdge - } - - $objWriter->endElement(); //end effectLst - $objWriter->endElement(); //end spPr - $objWriter->endElement(); //end minorGridLines - } - - if (!is_null($yAxisLabel)) { - - $objWriter->startElement('c:title'); - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:rich'); - - $objWriter->startElement('a:bodyPr'); - $objWriter->endElement(); - - $objWriter->startElement('a:lstStyle'); - $objWriter->endElement(); - - $objWriter->startElement('a:p'); - $objWriter->startElement('a:r'); - - $caption = $yAxisLabel->getCaption(); - if (is_array($caption)) { - $caption = $caption[0]; - } - - $objWriter->startElement('a:t'); - // $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML($caption)); - $objWriter->endElement(); - - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $layout = $yAxisLabel->getLayout(); - $this->_writeLayout($layout, $objWriter); - } - - $objWriter->startElement('c:overlay'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - $objWriter->startElement('c:numFmt'); - $objWriter->writeAttribute('formatCode', $xAxis->getAxisNumberFormat()); - $objWriter->writeAttribute('sourceLinked', $xAxis->getAxisNumberSourceLinked()); - $objWriter->endElement(); - - $objWriter->startElement('c:majorTickMark'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('major_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:minorTickMark'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minor_tick_mark')); - $objWriter->endElement(); - - $objWriter->startElement('c:tickLblPos'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('axis_labels')); - $objWriter->endElement(); - - $objWriter->startElement('c:spPr'); - - if (!is_null($xAxis->getFillProperty('value'))) { - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:" . $xAxis->getFillProperty('type')); - $objWriter->writeAttribute('val', $xAxis->getFillProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getFillProperty('alpha')); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - $objWriter->startElement('a:ln'); - - $objWriter->writeAttribute('w', $xAxis->getLineStyleProperty('width')); - $objWriter->writeAttribute('cap', $xAxis->getLineStyleProperty('cap')); - $objWriter->writeAttribute('cmpd', $xAxis->getLineStyleProperty('compound')); - - if (!is_null($xAxis->getLineProperty('value'))) { - $objWriter->startElement('a:solidFill'); - $objWriter->startElement("a:" . $xAxis->getLineProperty('type')); - $objWriter->writeAttribute('val', $xAxis->getLineProperty('value')); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getLineProperty('alpha')); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', $xAxis->getLineStyleProperty('dash')); - $objWriter->endElement(); - - if ($xAxis->getLineStyleProperty('join') == 'miter') { - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - } else { - $objWriter->startElement('a:bevel'); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getLineStyleProperty(array('arrow', 'head', 'type')))) { - $objWriter->startElement('a:headEnd'); - $objWriter->writeAttribute('type', $xAxis->getLineStyleProperty(array('arrow', 'head', 'type'))); - $objWriter->writeAttribute('w', $xAxis->getLineStyleArrowWidth('head')); - $objWriter->writeAttribute('len', $xAxis->getLineStyleArrowLength('head')); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getLineStyleProperty(array('arrow', 'end', 'type')))) { - $objWriter->startElement('a:tailEnd'); - $objWriter->writeAttribute('type', $xAxis->getLineStyleProperty(array('arrow', 'end', 'type'))); - $objWriter->writeAttribute('w', $xAxis->getLineStyleArrowWidth('end')); - $objWriter->writeAttribute('len', $xAxis->getLineStyleArrowLength('end')); - $objWriter->endElement(); - } - - $objWriter->endElement(); - - $objWriter->startElement('a:effectLst'); - - if (!is_null($xAxis->getGlowProperty('size'))) { - $objWriter->startElement('a:glow'); - $objWriter->writeAttribute('rad', $xAxis->getGlowProperty('size')); - $objWriter->startElement("a:{$xAxis->getGlowProperty(array('color','type'))}"); - $objWriter->writeAttribute('val', $xAxis->getGlowProperty(array('color','value'))); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getGlowProperty(array('color','alpha'))); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getShadowProperty('presets'))) { - $objWriter->startElement("a:{$xAxis->getShadowProperty('effect')}"); - - if (!is_null($xAxis->getShadowProperty('blur'))) { - $objWriter->writeAttribute('blurRad', $xAxis->getShadowProperty('blur')); - } - if (!is_null($xAxis->getShadowProperty('distance'))) { - $objWriter->writeAttribute('dist', $xAxis->getShadowProperty('distance')); - } - if (!is_null($xAxis->getShadowProperty('direction'))) { - $objWriter->writeAttribute('dir', $xAxis->getShadowProperty('direction')); - } - if (!is_null($xAxis->getShadowProperty('algn'))) { - $objWriter->writeAttribute('algn', $xAxis->getShadowProperty('algn')); - } - if (!is_null($xAxis->getShadowProperty(array('size','sx')))) { - $objWriter->writeAttribute('sx', $xAxis->getShadowProperty(array('size','sx'))); - } - if (!is_null($xAxis->getShadowProperty(array('size','sy')))) { - $objWriter->writeAttribute('sy', $xAxis->getShadowProperty(array('size','sy'))); - } - if (!is_null($xAxis->getShadowProperty(array('size','kx')))) { - $objWriter->writeAttribute('kx', $xAxis->getShadowProperty(array('size','kx'))); - } - if (!is_null($xAxis->getShadowProperty('rotWithShape'))) { - $objWriter->writeAttribute('rotWithShape', $xAxis->getShadowProperty('rotWithShape')); - } - - $objWriter->startElement("a:{$xAxis->getShadowProperty(array('color','type'))}"); - $objWriter->writeAttribute('val', $xAxis->getShadowProperty(array('color','value'))); - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $xAxis->getShadowProperty(array('color','alpha'))); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - if (!is_null($xAxis->getSoftEdgesSize())) { - $objWriter->startElement('a:softEdge'); - $objWriter->writeAttribute('rad', $xAxis->getSoftEdgesSize()); - $objWriter->endElement(); - } - - $objWriter->endElement(); //effectList - $objWriter->endElement(); //end spPr - - if ($id1 > 0) { - $objWriter->startElement('c:crossAx'); - $objWriter->writeAttribute('val', $id2); - $objWriter->endElement(); - - if (!is_null($xAxis->getAxisOptionsProperty('horizontal_crosses_value'))) { - $objWriter->startElement('c:crossesAt'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('horizontal_crosses_value')); - $objWriter->endElement(); - } else { - $objWriter->startElement('c:crosses'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('horizontal_crosses')); - $objWriter->endElement(); - } - - $objWriter->startElement('c:crossBetween'); - $objWriter->writeAttribute('val', "midCat"); - $objWriter->endElement(); - - if (!is_null($xAxis->getAxisOptionsProperty('major_unit'))) { - $objWriter->startElement('c:majorUnit'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('major_unit')); - $objWriter->endElement(); - } - - if (!is_null($xAxis->getAxisOptionsProperty('minor_unit'))) { - $objWriter->startElement('c:minorUnit'); - $objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('minor_unit')); - $objWriter->endElement(); - } - - } - - if ($isMultiLevelSeries) { - if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $objWriter->startElement('c:noMultiLvlLbl'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - - } - - /** - * Get the data series type(s) for a chart plot series - * - * @param PHPExcel_Chart_PlotArea $plotArea - * - * @return string|array - * @throws PHPExcel_Writer_Exception - */ - private - static function _getChartType($plotArea) { - $groupCount = $plotArea->getPlotGroupCount(); - - if ($groupCount == 1) { - $chartType = array( - $plotArea->getPlotGroupByIndex(0) - ->getPlotType() - ); - } else { - $chartTypes = array(); - for ($i = 0; $i < $groupCount; ++$i) { - $chartTypes[] = $plotArea->getPlotGroupByIndex($i) - ->getPlotType(); - } - $chartType = array_unique($chartTypes); - if (count($chartTypes) == 0) { - throw new PHPExcel_Writer_Exception('Chart is not yet implemented'); - } - } - - return $chartType; - } - - /** - * Write Plot Group (series of related plots) - * - * @param PHPExcel_Chart_DataSeries $plotGroup - * @param string $groupType Type of plot for dataseries - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param boolean &$catIsMultiLevelSeries Is category a multi-series category - * @param boolean &$valIsMultiLevelSeries Is value set a multi-series set - * @param string &$plotGroupingType Type of grouping for multi-series values - * @param PHPExcel_Worksheet $pSheet - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotGroup($plotGroup, - $groupType, - $objWriter, - &$catIsMultiLevelSeries, - &$valIsMultiLevelSeries, - &$plotGroupingType, - PHPExcel_Worksheet $pSheet - ) { - if (is_null($plotGroup)) { - return; - } - - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_BARCHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) - ) { - $objWriter->startElement('c:barDir'); - $objWriter->writeAttribute('val', $plotGroup->getPlotDirection()); - $objWriter->endElement(); - } - - if (!is_null($plotGroup->getPlotGrouping())) { - $plotGroupingType = $plotGroup->getPlotGrouping(); - $objWriter->startElement('c:grouping'); - $objWriter->writeAttribute('val', $plotGroupingType); - $objWriter->endElement(); - } - - // Get these details before the loop, because we can use the count to check for varyColors - $plotSeriesOrder = $plotGroup->getPlotOrder(); - $plotSeriesCount = count($plotSeriesOrder); - - if (($groupType !== PHPExcel_Chart_DataSeries::TYPE_RADARCHART) && - ($groupType !== PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) - ) { - - if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_LINECHART) { - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) || - ($plotSeriesCount > 1) - ) { - $objWriter->startElement('c:varyColors'); - $objWriter->writeAttribute('val', 1); - $objWriter->endElement(); - } else { - $objWriter->startElement('c:varyColors'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - } - } - - foreach ($plotSeriesOrder as $plotSeriesIdx => $plotSeriesRef) { - $objWriter->startElement('c:ser'); - - $objWriter->startElement('c:idx'); - $objWriter->writeAttribute('val', $this->_seriesIndex + $plotSeriesIdx); - $objWriter->endElement(); - - $objWriter->startElement('c:order'); - $objWriter->writeAttribute('val', $this->_seriesIndex + $plotSeriesRef); - $objWriter->endElement(); - - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - $objWriter->startElement('c:dPt'); - $objWriter->startElement('c:idx'); - $objWriter->writeAttribute('val', 3); - $objWriter->endElement(); - - $objWriter->startElement('c:bubble3D'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - - $objWriter->startElement('c:spPr'); - $objWriter->startElement('a:solidFill'); - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', 'FF9900'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - } - - // Labels - $plotSeriesLabel = $plotGroup->getPlotLabelByIndex($plotSeriesRef); - if ($plotSeriesLabel && ($plotSeriesLabel->getPointCount() > 0)) { - $objWriter->startElement('c:tx'); - $objWriter->startElement('c:strRef'); - $this->_writePlotSeriesLabel($plotSeriesLabel, $objWriter); - $objWriter->endElement(); - $objWriter->endElement(); - } - - // Formatting for the points - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_LINECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) - ) { - $objWriter->startElement('c:spPr'); - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', 12700); - if ($groupType == PHPExcel_Chart_DataSeries::TYPE_STOCKCHART) { - $objWriter->startElement('a:noFill'); - $objWriter->endElement(); - } - $objWriter->endElement(); - $objWriter->endElement(); - } - - $plotSeriesValues = $plotGroup->getPlotValuesByIndex($plotSeriesRef); - if ($plotSeriesValues) { - $plotSeriesMarker = $plotSeriesValues->getPointMarker(); - if ($plotSeriesMarker) { - $objWriter->startElement('c:marker'); - $objWriter->startElement('c:symbol'); - $objWriter->writeAttribute('val', $plotSeriesMarker); - $objWriter->endElement(); - - if ($plotSeriesMarker !== 'none') { - $objWriter->startElement('c:size'); - $objWriter->writeAttribute('val', 3); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) - ) { - - $objWriter->startElement('c:invertIfNegative'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - - // Category Labels - $plotSeriesCategory = $plotGroup->getPlotCategoryByIndex($plotSeriesRef); - if ($plotSeriesCategory && ($plotSeriesCategory->getPointCount() > 0)) { - $catIsMultiLevelSeries = $catIsMultiLevelSeries || $plotSeriesCategory->isMultiLevelSeries(); - - if (($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) || - ($groupType == PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - if (!is_null($plotGroup->getPlotStyle())) { - $plotStyle = $plotGroup->getPlotStyle(); - if ($plotStyle) { - $objWriter->startElement('c:explosion'); - $objWriter->writeAttribute('val', 25); - $objWriter->endElement(); - } - } - } - - if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) - ) { - $objWriter->startElement('c:xVal'); - } else { - $objWriter->startElement('c:cat'); - } - - $this->_writePlotSeriesValues($plotSeriesCategory, $objWriter, $groupType, 'str', $pSheet); - $objWriter->endElement(); - } - - // Values - if ($plotSeriesValues) { - $valIsMultiLevelSeries = $valIsMultiLevelSeries || $plotSeriesValues->isMultiLevelSeries(); - - if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) || - ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) - ) { - $objWriter->startElement('c:yVal'); - } else { - $objWriter->startElement('c:val'); - } - - $this->_writePlotSeriesValues($plotSeriesValues, $objWriter, $groupType, 'num', $pSheet); - $objWriter->endElement(); - } - - if ($groupType === PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { - $this->_writeBubbles($plotSeriesValues, $objWriter, $pSheet); - } - - $objWriter->endElement(); - - } - - $this->_seriesIndex += $plotSeriesIdx + 1; - } - - /** - * Write Plot Series Label - * - * @param PHPExcel_Chart_DataSeriesValues $plotSeriesLabel - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotSeriesLabel($plotSeriesLabel, $objWriter) { - if (is_null($plotSeriesLabel)) { - return; - } - - $objWriter->startElement('c:f'); - $objWriter->writeRawData($plotSeriesLabel->getDataSource()); - $objWriter->endElement(); - - $objWriter->startElement('c:strCache'); - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesLabel->getPointCount()); - $objWriter->endElement(); - - foreach ($plotSeriesLabel->getDataValues() as $plotLabelKey => $plotLabelValue) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotLabelKey); - - $objWriter->startElement('c:v'); - $objWriter->writeRawData($plotLabelValue); - $objWriter->endElement(); - $objWriter->endElement(); - } - $objWriter->endElement(); - - } - - /** - * Write Plot Series Values - * - * @param PHPExcel_Chart_DataSeriesValues $plotSeriesValues - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $groupType Type of plot for dataseries - * @param string $dataType Datatype of series values - * @param PHPExcel_Worksheet $pSheet - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePlotSeriesValues($plotSeriesValues, - $objWriter, - $groupType, - $dataType = 'str', - PHPExcel_Worksheet $pSheet - ) { - if (is_null($plotSeriesValues)) { - return; - } - - if ($plotSeriesValues->isMultiLevelSeries()) { - $levelCount = $plotSeriesValues->multiLevelCount(); - - $objWriter->startElement('c:multiLvlStrRef'); - - $objWriter->startElement('c:f'); - $objWriter->writeRawData($plotSeriesValues->getDataSource()); - $objWriter->endElement(); - - $objWriter->startElement('c:multiLvlStrCache'); - - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount()); - $objWriter->endElement(); - - for ($level = 0; $level < $levelCount; ++$level) { - $objWriter->startElement('c:lvl'); - - foreach ($plotSeriesValues->getDataValues() as $plotSeriesKey => $plotSeriesValue) { - if (isset($plotSeriesValue[$level])) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotSeriesKey); - - $objWriter->startElement('c:v'); - $objWriter->writeRawData($plotSeriesValue[$level]); - $objWriter->endElement(); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } else { - $objWriter->startElement('c:' . $dataType . 'Ref'); - - $objWriter->startElement('c:f'); - $objWriter->writeRawData($plotSeriesValues->getDataSource()); - $objWriter->endElement(); - - $objWriter->startElement('c:' . $dataType . 'Cache'); - - if (($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART) && - ($groupType != PHPExcel_Chart_DataSeries::TYPE_PIECHART_3D) && - ($groupType != PHPExcel_Chart_DataSeries::TYPE_DONUTCHART) - ) { - - if (($plotSeriesValues->getFormatCode() !== NULL) && - ($plotSeriesValues->getFormatCode() !== '') - ) { - $objWriter->startElement('c:formatCode'); - $objWriter->writeRawData($plotSeriesValues->getFormatCode()); - $objWriter->endElement(); - } - } - - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount()); - $objWriter->endElement(); - - $dataValues = $plotSeriesValues->getDataValues(); - if (!empty($dataValues)) { - if (is_array($dataValues)) { - foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotSeriesKey); - - $objWriter->startElement('c:v'); - $objWriter->writeRawData($plotSeriesValue); - $objWriter->endElement(); - $objWriter->endElement(); - } - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Write Bubble Chart Details - * - * @param PHPExcel_Chart_DataSeriesValues $plotSeriesValues - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeBubbles($plotSeriesValues, $objWriter, PHPExcel_Worksheet $pSheet) { - if (is_null($plotSeriesValues)) { - return; - } - - $objWriter->startElement('c:bubbleSize'); - $objWriter->startElement('c:numLit'); - - $objWriter->startElement('c:formatCode'); - $objWriter->writeRawData('General'); - $objWriter->endElement(); - - $objWriter->startElement('c:ptCount'); - $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount()); - $objWriter->endElement(); - - $dataValues = $plotSeriesValues->getDataValues(); - if (!empty($dataValues)) { - if (is_array($dataValues)) { - foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) { - $objWriter->startElement('c:pt'); - $objWriter->writeAttribute('idx', $plotSeriesKey); - $objWriter->startElement('c:v'); - $objWriter->writeRawData(1); - $objWriter->endElement(); - $objWriter->endElement(); - } - } - } - - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('c:bubble3D'); - $objWriter->writeAttribute('val', 0); - $objWriter->endElement(); - } - - /** - * Write Layout - * - * @param PHPExcel_Chart_Layout $layout - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeLayout(PHPExcel_Chart_Layout $layout = NULL, $objWriter) { - $objWriter->startElement('c:layout'); - - if (!is_null($layout)) { - $objWriter->startElement('c:manualLayout'); - - $layoutTarget = $layout->getLayoutTarget(); - if (!is_null($layoutTarget)) { - $objWriter->startElement('c:layoutTarget'); - $objWriter->writeAttribute('val', $layoutTarget); - $objWriter->endElement(); - } - - $xMode = $layout->getXMode(); - if (!is_null($xMode)) { - $objWriter->startElement('c:xMode'); - $objWriter->writeAttribute('val', $xMode); - $objWriter->endElement(); - } - - $yMode = $layout->getYMode(); - if (!is_null($yMode)) { - $objWriter->startElement('c:yMode'); - $objWriter->writeAttribute('val', $yMode); - $objWriter->endElement(); - } - - $x = $layout->getXPosition(); - if (!is_null($x)) { - $objWriter->startElement('c:x'); - $objWriter->writeAttribute('val', $x); - $objWriter->endElement(); - } - - $y = $layout->getYPosition(); - if (!is_null($y)) { - $objWriter->startElement('c:y'); - $objWriter->writeAttribute('val', $y); - $objWriter->endElement(); - } - - $w = $layout->getWidth(); - if (!is_null($w)) { - $objWriter->startElement('c:w'); - $objWriter->writeAttribute('val', $w); - $objWriter->endElement(); - } - - $h = $layout->getHeight(); - if (!is_null($h)) { - $objWriter->startElement('c:h'); - $objWriter->writeAttribute('val', $h); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Alternate Content block - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writeAlternateContent($objWriter) { - $objWriter->startElement('mc:AlternateContent'); - $objWriter->writeAttribute('xmlns:mc', 'http://schemas.openxmlformats.org/markup-compatibility/2006'); - - $objWriter->startElement('mc:Choice'); - $objWriter->writeAttribute('xmlns:c14', 'http://schemas.microsoft.com/office/drawing/2007/8/2/chart'); - $objWriter->writeAttribute('Requires', 'c14'); - - $objWriter->startElement('c14:style'); - $objWriter->writeAttribute('val', '102'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('mc:Fallback'); - $objWriter->startElement('c:style'); - $objWriter->writeAttribute('val', '2'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Printer Settings - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * - * @throws PHPExcel_Writer_Exception - */ - private function _writePrintSettings($objWriter) { - $objWriter->startElement('c:printSettings'); - - $objWriter->startElement('c:headerFooter'); - $objWriter->endElement(); - - $objWriter->startElement('c:pageMargins'); - $objWriter->writeAttribute('footer', 0.3); - $objWriter->writeAttribute('header', 0.3); - $objWriter->writeAttribute('r', 0.7); - $objWriter->writeAttribute('l', 0.7); - $objWriter->writeAttribute('t', 0.75); - $objWriter->writeAttribute('b', 0.75); - $objWriter->endElement(); - - $objWriter->startElement('c:pageSetup'); - $objWriter->writeAttribute('orientation', "portrait"); - $objWriter->endElement(); - - $objWriter->endElement(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Comments.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Comments.php deleted file mode 100644 index dc809fa8e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Comments.php +++ /dev/null @@ -1,268 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Comments - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Comments extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write comments to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeComments(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Comments cache - $comments = $pWorksheet->getComments(); - - // Authors cache - $authors = array(); - $authorId = 0; - foreach ($comments as $comment) { - if (!isset($authors[$comment->getAuthor()])) { - $authors[$comment->getAuthor()] = $authorId++; - } - } - - // comments - $objWriter->startElement('comments'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - - // Loop through authors - $objWriter->startElement('authors'); - foreach ($authors as $author => $index) { - $objWriter->writeElement('author', $author); - } - $objWriter->endElement(); - - // Loop through comments - $objWriter->startElement('commentList'); - foreach ($comments as $key => $value) { - $this->_writeComment($objWriter, $key, $value, $authors); - } - $objWriter->endElement(); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write comment to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pCellReference Cell reference - * @param PHPExcel_Comment $pComment Comment - * @param array $pAuthors Array of authors - * @throws PHPExcel_Writer_Exception - */ - public function _writeComment(PHPExcel_Shared_XMLWriter $objWriter = null, $pCellReference = 'A1', PHPExcel_Comment $pComment = null, $pAuthors = null) - { - // comment - $objWriter->startElement('comment'); - $objWriter->writeAttribute('ref', $pCellReference); - $objWriter->writeAttribute('authorId', $pAuthors[$pComment->getAuthor()]); - - // text - $objWriter->startElement('text'); - $this->getParentWriter()->getWriterPart('stringtable')->writeRichText($objWriter, $pComment->getText()); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write VML comments to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeVMLComments(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Comments cache - $comments = $pWorksheet->getComments(); - - // xml - $objWriter->startElement('xml'); - $objWriter->writeAttribute('xmlns:v', 'urn:schemas-microsoft-com:vml'); - $objWriter->writeAttribute('xmlns:o', 'urn:schemas-microsoft-com:office:office'); - $objWriter->writeAttribute('xmlns:x', 'urn:schemas-microsoft-com:office:excel'); - - // o:shapelayout - $objWriter->startElement('o:shapelayout'); - $objWriter->writeAttribute('v:ext', 'edit'); - - // o:idmap - $objWriter->startElement('o:idmap'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('data', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // v:shapetype - $objWriter->startElement('v:shapetype'); - $objWriter->writeAttribute('id', '_x0000_t202'); - $objWriter->writeAttribute('coordsize', '21600,21600'); - $objWriter->writeAttribute('o:spt', '202'); - $objWriter->writeAttribute('path', 'm,l,21600r21600,l21600,xe'); - - // v:stroke - $objWriter->startElement('v:stroke'); - $objWriter->writeAttribute('joinstyle', 'miter'); - $objWriter->endElement(); - - // v:path - $objWriter->startElement('v:path'); - $objWriter->writeAttribute('gradientshapeok', 't'); - $objWriter->writeAttribute('o:connecttype', 'rect'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // Loop through comments - foreach ($comments as $key => $value) { - $this->_writeVMLComment($objWriter, $key, $value); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write VML comment to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pCellReference Cell reference - * @param PHPExcel_Comment $pComment Comment - * @throws PHPExcel_Writer_Exception - */ - public function _writeVMLComment(PHPExcel_Shared_XMLWriter $objWriter = null, $pCellReference = 'A1', PHPExcel_Comment $pComment = null) - { - // Metadata - list($column, $row) = PHPExcel_Cell::coordinateFromString($pCellReference); - $column = PHPExcel_Cell::columnIndexFromString($column); - $id = 1024 + $column + $row; - $id = substr($id, 0, 4); - - // v:shape - $objWriter->startElement('v:shape'); - $objWriter->writeAttribute('id', '_x0000_s' . $id); - $objWriter->writeAttribute('type', '#_x0000_t202'); - $objWriter->writeAttribute('style', 'position:absolute;margin-left:' . $pComment->getMarginLeft() . ';margin-top:' . $pComment->getMarginTop() . ';width:' . $pComment->getWidth() . ';height:' . $pComment->getHeight() . ';z-index:1;visibility:' . ($pComment->getVisible() ? 'visible' : 'hidden')); - $objWriter->writeAttribute('fillcolor', '#' . $pComment->getFillColor()->getRGB()); - $objWriter->writeAttribute('o:insetmode', 'auto'); - - // v:fill - $objWriter->startElement('v:fill'); - $objWriter->writeAttribute('color2', '#' . $pComment->getFillColor()->getRGB()); - $objWriter->endElement(); - - // v:shadow - $objWriter->startElement('v:shadow'); - $objWriter->writeAttribute('on', 't'); - $objWriter->writeAttribute('color', 'black'); - $objWriter->writeAttribute('obscured', 't'); - $objWriter->endElement(); - - // v:path - $objWriter->startElement('v:path'); - $objWriter->writeAttribute('o:connecttype', 'none'); - $objWriter->endElement(); - - // v:textbox - $objWriter->startElement('v:textbox'); - $objWriter->writeAttribute('style', 'mso-direction-alt:auto'); - - // div - $objWriter->startElement('div'); - $objWriter->writeAttribute('style', 'text-align:left'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // x:ClientData - $objWriter->startElement('x:ClientData'); - $objWriter->writeAttribute('ObjectType', 'Note'); - - // x:MoveWithCells - $objWriter->writeElement('x:MoveWithCells', ''); - - // x:SizeWithCells - $objWriter->writeElement('x:SizeWithCells', ''); - - // x:Anchor - //$objWriter->writeElement('x:Anchor', $column . ', 15, ' . ($row - 2) . ', 10, ' . ($column + 4) . ', 15, ' . ($row + 5) . ', 18'); - - // x:AutoFill - $objWriter->writeElement('x:AutoFill', 'False'); - - // x:Row - $objWriter->writeElement('x:Row', ($row - 1)); - - // x:Column - $objWriter->writeElement('x:Column', ($column - 1)); - - $objWriter->endElement(); - - $objWriter->endElement(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/ContentTypes.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/ContentTypes.php deleted file mode 100644 index 557853654..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/ContentTypes.php +++ /dev/null @@ -1,287 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_ContentTypes - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_ContentTypes extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write content types to XML format - * - * @param PHPExcel $pPHPExcel - * @param boolean $includeCharts Flag indicating if we should include drawing details for charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeContentTypes(PHPExcel $pPHPExcel = null, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Types - $objWriter->startElement('Types'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/content-types'); - - // Theme - $this->_writeOverrideContentType( - $objWriter, '/xl/theme/theme1.xml', 'application/vnd.openxmlformats-officedocument.theme+xml' - ); - - // Styles - $this->_writeOverrideContentType( - $objWriter, '/xl/styles.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml' - ); - - // Rels - $this->_writeDefaultContentType( - $objWriter, 'rels', 'application/vnd.openxmlformats-package.relationships+xml' - ); - - // XML - $this->_writeDefaultContentType( - $objWriter, 'xml', 'application/xml' - ); - - // VML - $this->_writeDefaultContentType( - $objWriter, 'vml', 'application/vnd.openxmlformats-officedocument.vmlDrawing' - ); - - // Workbook - if($pPHPExcel->hasMacros()){ //Macros in workbook ? - // Yes : not standard content but "macroEnabled" - $this->_writeOverrideContentType( - $objWriter, '/xl/workbook.xml', 'application/vnd.ms-excel.sheet.macroEnabled.main+xml' - ); - //... and define a new type for the VBA project - $this->_writeDefaultContentType( - $objWriter, 'bin', 'application/vnd.ms-office.vbaProject' - ); - if($pPHPExcel->hasMacrosCertificate()){// signed macros ? - // Yes : add needed information - $this->_writeOverrideContentType( - $objWriter, '/xl/vbaProjectSignature.bin', 'application/vnd.ms-office.vbaProjectSignature' - ); - } - }else{// no macros in workbook, so standard type - $this->_writeOverrideContentType( - $objWriter, '/xl/workbook.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml' - ); - } - - // DocProps - $this->_writeOverrideContentType( - $objWriter, '/docProps/app.xml', 'application/vnd.openxmlformats-officedocument.extended-properties+xml' - ); - - $this->_writeOverrideContentType( - $objWriter, '/docProps/core.xml', 'application/vnd.openxmlformats-package.core-properties+xml' - ); - - $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties(); - if (!empty($customPropertyList)) { - $this->_writeOverrideContentType( - $objWriter, '/docProps/custom.xml', 'application/vnd.openxmlformats-officedocument.custom-properties+xml' - ); - } - - // Worksheets - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - $this->_writeOverrideContentType( - $objWriter, '/xl/worksheets/sheet' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml' - ); - } - - // Shared strings - $this->_writeOverrideContentType( - $objWriter, '/xl/sharedStrings.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml' - ); - - // Add worksheet relationship content types - $chart = 1; - for ($i = 0; $i < $sheetCount; ++$i) { - $drawings = $pPHPExcel->getSheet($i)->getDrawingCollection(); - $drawingCount = count($drawings); - $chartCount = ($includeCharts) ? $pPHPExcel->getSheet($i)->getChartCount() : 0; - - // We need a drawing relationship for the worksheet if we have either drawings or charts - if (($drawingCount > 0) || ($chartCount > 0)) { - $this->_writeOverrideContentType( - $objWriter, '/xl/drawings/drawing' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.drawing+xml' - ); - } - - // If we have charts, then we need a chart relationship for every individual chart - if ($chartCount > 0) { - for ($c = 0; $c < $chartCount; ++$c) { - $this->_writeOverrideContentType( - $objWriter, '/xl/charts/chart' . $chart++ . '.xml', 'application/vnd.openxmlformats-officedocument.drawingml.chart+xml' - ); - } - } - } - - // Comments - for ($i = 0; $i < $sheetCount; ++$i) { - if (count($pPHPExcel->getSheet($i)->getComments()) > 0) { - $this->_writeOverrideContentType( - $objWriter, '/xl/comments' . ($i + 1) . '.xml', 'application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml' - ); - } - } - - // Add media content-types - $aMediaContentTypes = array(); - $mediaCount = $this->getParentWriter()->getDrawingHashTable()->count(); - for ($i = 0; $i < $mediaCount; ++$i) { - $extension = ''; - $mimeType = ''; - - if ($this->getParentWriter()->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_Drawing) { - $extension = strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getExtension()); - $mimeType = $this->_getImageMimeType( $this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getPath() ); - } else if ($this->getParentWriter()->getDrawingHashTable()->getByIndex($i) instanceof PHPExcel_Worksheet_MemoryDrawing) { - $extension = strtolower($this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getMimeType()); - $extension = explode('/', $extension); - $extension = $extension[1]; - - $mimeType = $this->getParentWriter()->getDrawingHashTable()->getByIndex($i)->getMimeType(); - } - - if (!isset( $aMediaContentTypes[$extension]) ) { - $aMediaContentTypes[$extension] = $mimeType; - - $this->_writeDefaultContentType( - $objWriter, $extension, $mimeType - ); - } - } - if($pPHPExcel->hasRibbonBinObjects()){//Some additional objects in the ribbon ? - //we need to write "Extension" but not already write for media content - $tabRibbonTypes=array_diff($pPHPExcel->getRibbonBinObjects('types'), array_keys($aMediaContentTypes)); - foreach($tabRibbonTypes as $aRibbonType){ - $mimeType='image/.'.$aRibbonType;//we wrote $mimeType like customUI Editor - $this->_writeDefaultContentType( - $objWriter, $aRibbonType, $mimeType - ); - } - } - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - if (count($pPHPExcel->getSheet()->getHeaderFooter()->getImages()) > 0) { - foreach ($pPHPExcel->getSheet()->getHeaderFooter()->getImages() as $image) { - if (!isset( $aMediaContentTypes[strtolower($image->getExtension())]) ) { - $aMediaContentTypes[strtolower($image->getExtension())] = $this->_getImageMimeType( $image->getPath() ); - - $this->_writeDefaultContentType( - $objWriter, strtolower($image->getExtension()), $aMediaContentTypes[strtolower($image->getExtension())] - ); - } - } - } - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Get image mime type - * - * @param string $pFile Filename - * @return string Mime Type - * @throws PHPExcel_Writer_Exception - */ - private function _getImageMimeType($pFile = '') - { - if (PHPExcel_Shared_File::file_exists($pFile)) { - $image = getimagesize($pFile); - return image_type_to_mime_type($image[2]); - } else { - throw new PHPExcel_Writer_Exception("File $pFile does not exist"); - } - } - - /** - * Write Default content type - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pPartname Part name - * @param string $pContentType Content type - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefaultContentType(PHPExcel_Shared_XMLWriter $objWriter = null, $pPartname = '', $pContentType = '') - { - if ($pPartname != '' && $pContentType != '') { - // Write content type - $objWriter->startElement('Default'); - $objWriter->writeAttribute('Extension', $pPartname); - $objWriter->writeAttribute('ContentType', $pContentType); - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Override content type - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pPartname Part name - * @param string $pContentType Content type - * @throws PHPExcel_Writer_Exception - */ - private function _writeOverrideContentType(PHPExcel_Shared_XMLWriter $objWriter = null, $pPartname = '', $pContentType = '') - { - if ($pPartname != '' && $pContentType != '') { - // Write content type - $objWriter->startElement('Override'); - $objWriter->writeAttribute('PartName', $pPartname); - $objWriter->writeAttribute('ContentType', $pContentType); - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/DocProps.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/DocProps.php deleted file mode 100644 index f8821379c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/DocProps.php +++ /dev/null @@ -1,272 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_DocProps - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_DocProps extends PHPExcel_Writer_Excel2007_WriterPart -{ -/** - * Write docProps/app.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDocPropsApp(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Properties - $objWriter->startElement('Properties'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/officeDocument/2006/extended-properties'); - $objWriter->writeAttribute('xmlns:vt', 'http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes'); - - // Application - $objWriter->writeElement('Application', 'Microsoft Excel'); - - // DocSecurity - $objWriter->writeElement('DocSecurity', '0'); - - // ScaleCrop - $objWriter->writeElement('ScaleCrop', 'false'); - - // HeadingPairs - $objWriter->startElement('HeadingPairs'); - - // Vector - $objWriter->startElement('vt:vector'); - $objWriter->writeAttribute('size', '2'); - $objWriter->writeAttribute('baseType', 'variant'); - - // Variant - $objWriter->startElement('vt:variant'); - $objWriter->writeElement('vt:lpstr', 'Worksheets'); - $objWriter->endElement(); - - // Variant - $objWriter->startElement('vt:variant'); - $objWriter->writeElement('vt:i4', $pPHPExcel->getSheetCount()); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // TitlesOfParts - $objWriter->startElement('TitlesOfParts'); - - // Vector - $objWriter->startElement('vt:vector'); - $objWriter->writeAttribute('size', $pPHPExcel->getSheetCount()); - $objWriter->writeAttribute('baseType', 'lpstr'); - - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - $objWriter->writeElement('vt:lpstr', $pPHPExcel->getSheet($i)->getTitle()); - } - - $objWriter->endElement(); - - $objWriter->endElement(); - - // Company - $objWriter->writeElement('Company', $pPHPExcel->getProperties()->getCompany()); - - // Company - $objWriter->writeElement('Manager', $pPHPExcel->getProperties()->getManager()); - - // LinksUpToDate - $objWriter->writeElement('LinksUpToDate', 'false'); - - // SharedDoc - $objWriter->writeElement('SharedDoc', 'false'); - - // HyperlinksChanged - $objWriter->writeElement('HyperlinksChanged', 'false'); - - // AppVersion - $objWriter->writeElement('AppVersion', '12.0000'); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write docProps/core.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDocPropsCore(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // cp:coreProperties - $objWriter->startElement('cp:coreProperties'); - $objWriter->writeAttribute('xmlns:cp', 'http://schemas.openxmlformats.org/package/2006/metadata/core-properties'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:dcterms', 'http://purl.org/dc/terms/'); - $objWriter->writeAttribute('xmlns:dcmitype', 'http://purl.org/dc/dcmitype/'); - $objWriter->writeAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance'); - - // dc:creator - $objWriter->writeElement('dc:creator', $pPHPExcel->getProperties()->getCreator()); - - // cp:lastModifiedBy - $objWriter->writeElement('cp:lastModifiedBy', $pPHPExcel->getProperties()->getLastModifiedBy()); - - // dcterms:created - $objWriter->startElement('dcterms:created'); - $objWriter->writeAttribute('xsi:type', 'dcterms:W3CDTF'); - $objWriter->writeRawData(date(DATE_W3C, $pPHPExcel->getProperties()->getCreated())); - $objWriter->endElement(); - - // dcterms:modified - $objWriter->startElement('dcterms:modified'); - $objWriter->writeAttribute('xsi:type', 'dcterms:W3CDTF'); - $objWriter->writeRawData(date(DATE_W3C, $pPHPExcel->getProperties()->getModified())); - $objWriter->endElement(); - - // dc:title - $objWriter->writeElement('dc:title', $pPHPExcel->getProperties()->getTitle()); - - // dc:description - $objWriter->writeElement('dc:description', $pPHPExcel->getProperties()->getDescription()); - - // dc:subject - $objWriter->writeElement('dc:subject', $pPHPExcel->getProperties()->getSubject()); - - // cp:keywords - $objWriter->writeElement('cp:keywords', $pPHPExcel->getProperties()->getKeywords()); - - // cp:category - $objWriter->writeElement('cp:category', $pPHPExcel->getProperties()->getCategory()); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write docProps/custom.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDocPropsCustom(PHPExcel $pPHPExcel = null) - { - $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties(); - if (empty($customPropertyList)) { - return; - } - - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // cp:coreProperties - $objWriter->startElement('Properties'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/officeDocument/2006/custom-properties'); - $objWriter->writeAttribute('xmlns:vt', 'http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes'); - - - foreach($customPropertyList as $key => $customProperty) { - $propertyValue = $pPHPExcel->getProperties()->getCustomPropertyValue($customProperty); - $propertyType = $pPHPExcel->getProperties()->getCustomPropertyType($customProperty); - - $objWriter->startElement('property'); - $objWriter->writeAttribute('fmtid', '{D5CDD505-2E9C-101B-9397-08002B2CF9AE}'); - $objWriter->writeAttribute('pid', $key+2); - $objWriter->writeAttribute('name', $customProperty); - - switch($propertyType) { - case 'i' : - $objWriter->writeElement('vt:i4', $propertyValue); - break; - case 'f' : - $objWriter->writeElement('vt:r8', $propertyValue); - break; - case 'b' : - $objWriter->writeElement('vt:bool', ($propertyValue) ? 'true' : 'false'); - break; - case 'd' : - $objWriter->startElement('vt:filetime'); - $objWriter->writeRawData(date(DATE_W3C, $propertyValue)); - $objWriter->endElement(); - break; - default : - $objWriter->writeElement('vt:lpwstr', $propertyValue); - break; - } - - $objWriter->endElement(); - } - - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Drawing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Drawing.php deleted file mode 100644 index 1cf971ed4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Drawing.php +++ /dev/null @@ -1,598 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Drawing - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Drawing extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write drawings to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @param int &$chartRef Chart ID - * @param boolean $includeCharts Flag indicating if we should include drawing details for charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDrawings(PHPExcel_Worksheet $pWorksheet = null, &$chartRef, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // xdr:wsDr - $objWriter->startElement('xdr:wsDr'); - $objWriter->writeAttribute('xmlns:xdr', 'http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing'); - $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main'); - - // Loop through images and write drawings - $i = 1; - $iterator = $pWorksheet->getDrawingCollection()->getIterator(); - while ($iterator->valid()) { - $this->_writeDrawing($objWriter, $iterator->current(), $i); - - $iterator->next(); - ++$i; - } - - if ($includeCharts) { - $chartCount = $pWorksheet->getChartCount(); - // Loop through charts and write the chart position - if ($chartCount > 0) { - for ($c = 0; $c < $chartCount; ++$c) { - $this->_writeChart($objWriter, $pWorksheet->getChartByIndex($c), $c+$i); - } - } - } - - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write drawings to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Chart $pChart - * @param int $pRelationId - * @throws PHPExcel_Writer_Exception - */ - public function _writeChart(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Chart $pChart = null, $pRelationId = -1) - { - $tl = $pChart->getTopLeftPosition(); - $tl['colRow'] = PHPExcel_Cell::coordinateFromString($tl['cell']); - $br = $pChart->getBottomRightPosition(); - $br['colRow'] = PHPExcel_Cell::coordinateFromString($br['cell']); - - $objWriter->startElement('xdr:twoCellAnchor'); - - $objWriter->startElement('xdr:from'); - $objWriter->writeElement('xdr:col', PHPExcel_Cell::columnIndexFromString($tl['colRow'][0]) - 1); - $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($tl['xOffset'])); - $objWriter->writeElement('xdr:row', $tl['colRow'][1] - 1); - $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($tl['yOffset'])); - $objWriter->endElement(); - $objWriter->startElement('xdr:to'); - $objWriter->writeElement('xdr:col', PHPExcel_Cell::columnIndexFromString($br['colRow'][0]) - 1); - $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($br['xOffset'])); - $objWriter->writeElement('xdr:row', $br['colRow'][1] - 1); - $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($br['yOffset'])); - $objWriter->endElement(); - - $objWriter->startElement('xdr:graphicFrame'); - $objWriter->writeAttribute('macro', ''); - $objWriter->startElement('xdr:nvGraphicFramePr'); - $objWriter->startElement('xdr:cNvPr'); - $objWriter->writeAttribute('name', 'Chart '.$pRelationId); - $objWriter->writeAttribute('id', 1025 * $pRelationId); - $objWriter->endElement(); - $objWriter->startElement('xdr:cNvGraphicFramePr'); - $objWriter->startElement('a:graphicFrameLocks'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('xdr:xfrm'); - $objWriter->startElement('a:off'); - $objWriter->writeAttribute('x', '0'); - $objWriter->writeAttribute('y', '0'); - $objWriter->endElement(); - $objWriter->startElement('a:ext'); - $objWriter->writeAttribute('cx', '0'); - $objWriter->writeAttribute('cy', '0'); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('a:graphic'); - $objWriter->startElement('a:graphicData'); - $objWriter->writeAttribute('uri', 'http://schemas.openxmlformats.org/drawingml/2006/chart'); - $objWriter->startElement('c:chart'); - $objWriter->writeAttribute('xmlns:c', 'http://schemas.openxmlformats.org/drawingml/2006/chart'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - $objWriter->writeAttribute('r:id', 'rId'.$pRelationId); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - $objWriter->startElement('xdr:clientData'); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write drawings to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet_BaseDrawing $pDrawing - * @param int $pRelationId - * @throws PHPExcel_Writer_Exception - */ - public function _writeDrawing(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet_BaseDrawing $pDrawing = null, $pRelationId = -1) - { - if ($pRelationId >= 0) { - // xdr:oneCellAnchor - $objWriter->startElement('xdr:oneCellAnchor'); - // Image location - $aCoordinates = PHPExcel_Cell::coordinateFromString($pDrawing->getCoordinates()); - $aCoordinates[0] = PHPExcel_Cell::columnIndexFromString($aCoordinates[0]); - - // xdr:from - $objWriter->startElement('xdr:from'); - $objWriter->writeElement('xdr:col', $aCoordinates[0] - 1); - $objWriter->writeElement('xdr:colOff', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getOffsetX())); - $objWriter->writeElement('xdr:row', $aCoordinates[1] - 1); - $objWriter->writeElement('xdr:rowOff', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getOffsetY())); - $objWriter->endElement(); - - // xdr:ext - $objWriter->startElement('xdr:ext'); - $objWriter->writeAttribute('cx', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getWidth())); - $objWriter->writeAttribute('cy', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getHeight())); - $objWriter->endElement(); - - // xdr:pic - $objWriter->startElement('xdr:pic'); - - // xdr:nvPicPr - $objWriter->startElement('xdr:nvPicPr'); - - // xdr:cNvPr - $objWriter->startElement('xdr:cNvPr'); - $objWriter->writeAttribute('id', $pRelationId); - $objWriter->writeAttribute('name', $pDrawing->getName()); - $objWriter->writeAttribute('descr', $pDrawing->getDescription()); - $objWriter->endElement(); - - // xdr:cNvPicPr - $objWriter->startElement('xdr:cNvPicPr'); - - // a:picLocks - $objWriter->startElement('a:picLocks'); - $objWriter->writeAttribute('noChangeAspect', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // xdr:blipFill - $objWriter->startElement('xdr:blipFill'); - - // a:blip - $objWriter->startElement('a:blip'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - $objWriter->writeAttribute('r:embed', 'rId' . $pRelationId); - $objWriter->endElement(); - - // a:stretch - $objWriter->startElement('a:stretch'); - $objWriter->writeElement('a:fillRect', null); - $objWriter->endElement(); - - $objWriter->endElement(); - - // xdr:spPr - $objWriter->startElement('xdr:spPr'); - - // a:xfrm - $objWriter->startElement('a:xfrm'); - $objWriter->writeAttribute('rot', PHPExcel_Shared_Drawing::degreesToAngle($pDrawing->getRotation())); - $objWriter->endElement(); - - // a:prstGeom - $objWriter->startElement('a:prstGeom'); - $objWriter->writeAttribute('prst', 'rect'); - - // a:avLst - $objWriter->writeElement('a:avLst', null); - - $objWriter->endElement(); - -// // a:solidFill -// $objWriter->startElement('a:solidFill'); - -// // a:srgbClr -// $objWriter->startElement('a:srgbClr'); -// $objWriter->writeAttribute('val', 'FFFFFF'); - -///* SHADE -// // a:shade -// $objWriter->startElement('a:shade'); -// $objWriter->writeAttribute('val', '85000'); -// $objWriter->endElement(); -//*/ - -// $objWriter->endElement(); - -// $objWriter->endElement(); -/* - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '88900'); - $objWriter->writeAttribute('cap', 'sq'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', 'FFFFFF'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:miter - $objWriter->startElement('a:miter'); - $objWriter->writeAttribute('lim', '800000'); - $objWriter->endElement(); - - $objWriter->endElement(); -*/ - - if ($pDrawing->getShadow()->getVisible()) { - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getShadow()->getBlurRadius())); - $objWriter->writeAttribute('dist', PHPExcel_Shared_Drawing::pixelsToEMU($pDrawing->getShadow()->getDistance())); - $objWriter->writeAttribute('dir', PHPExcel_Shared_Drawing::degreesToAngle($pDrawing->getShadow()->getDirection())); - $objWriter->writeAttribute('algn', $pDrawing->getShadow()->getAlignment()); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', $pDrawing->getShadow()->getColor()->getRGB()); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', $pDrawing->getShadow()->getAlpha() * 1000); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - } -/* - - // a:scene3d - $objWriter->startElement('a:scene3d'); - - // a:camera - $objWriter->startElement('a:camera'); - $objWriter->writeAttribute('prst', 'orthographicFront'); - $objWriter->endElement(); - - // a:lightRig - $objWriter->startElement('a:lightRig'); - $objWriter->writeAttribute('rig', 'twoPt'); - $objWriter->writeAttribute('dir', 't'); - - // a:rot - $objWriter->startElement('a:rot'); - $objWriter->writeAttribute('lat', '0'); - $objWriter->writeAttribute('lon', '0'); - $objWriter->writeAttribute('rev', '0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); -*/ -/* - // a:sp3d - $objWriter->startElement('a:sp3d'); - - // a:bevelT - $objWriter->startElement('a:bevelT'); - $objWriter->writeAttribute('w', '25400'); - $objWriter->writeAttribute('h', '19050'); - $objWriter->endElement(); - - // a:contourClr - $objWriter->startElement('a:contourClr'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', 'FFFFFF'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); -*/ - $objWriter->endElement(); - - $objWriter->endElement(); - - // xdr:clientData - $objWriter->writeElement('xdr:clientData', null); - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write VML header/footer images to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeVMLHeaderFooterImages(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Header/footer images - $images = $pWorksheet->getHeaderFooter()->getImages(); - - // xml - $objWriter->startElement('xml'); - $objWriter->writeAttribute('xmlns:v', 'urn:schemas-microsoft-com:vml'); - $objWriter->writeAttribute('xmlns:o', 'urn:schemas-microsoft-com:office:office'); - $objWriter->writeAttribute('xmlns:x', 'urn:schemas-microsoft-com:office:excel'); - - // o:shapelayout - $objWriter->startElement('o:shapelayout'); - $objWriter->writeAttribute('v:ext', 'edit'); - - // o:idmap - $objWriter->startElement('o:idmap'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('data', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // v:shapetype - $objWriter->startElement('v:shapetype'); - $objWriter->writeAttribute('id', '_x0000_t75'); - $objWriter->writeAttribute('coordsize', '21600,21600'); - $objWriter->writeAttribute('o:spt', '75'); - $objWriter->writeAttribute('o:preferrelative', 't'); - $objWriter->writeAttribute('path', 'm@4@5l@4@11@9@11@9@5xe'); - $objWriter->writeAttribute('filled', 'f'); - $objWriter->writeAttribute('stroked', 'f'); - - // v:stroke - $objWriter->startElement('v:stroke'); - $objWriter->writeAttribute('joinstyle', 'miter'); - $objWriter->endElement(); - - // v:formulas - $objWriter->startElement('v:formulas'); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'if lineDrawn pixelLineWidth 0'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @0 1 0'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum 0 0 @1'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @2 1 2'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @3 21600 pixelWidth'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @3 21600 pixelHeight'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @0 0 1'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @6 1 2'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @7 21600 pixelWidth'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @8 21600 0'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'prod @7 21600 pixelHeight'); - $objWriter->endElement(); - - // v:f - $objWriter->startElement('v:f'); - $objWriter->writeAttribute('eqn', 'sum @10 21600 0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // v:path - $objWriter->startElement('v:path'); - $objWriter->writeAttribute('o:extrusionok', 'f'); - $objWriter->writeAttribute('gradientshapeok', 't'); - $objWriter->writeAttribute('o:connecttype', 'rect'); - $objWriter->endElement(); - - // o:lock - $objWriter->startElement('o:lock'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('aspectratio', 't'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // Loop through images - foreach ($images as $key => $value) { - $this->_writeVMLHeaderFooterImage($objWriter, $key, $value); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write VML comment to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pReference Reference - * @param PHPExcel_Worksheet_HeaderFooterDrawing $pImage Image - * @throws PHPExcel_Writer_Exception - */ - public function _writeVMLHeaderFooterImage(PHPExcel_Shared_XMLWriter $objWriter = null, $pReference = '', PHPExcel_Worksheet_HeaderFooterDrawing $pImage = null) - { - // Calculate object id - preg_match('{(\d+)}', md5($pReference), $m); - $id = 1500 + (substr($m[1], 0, 2) * 1); - - // Calculate offset - $width = $pImage->getWidth(); - $height = $pImage->getHeight(); - $marginLeft = $pImage->getOffsetX(); - $marginTop = $pImage->getOffsetY(); - - // v:shape - $objWriter->startElement('v:shape'); - $objWriter->writeAttribute('id', $pReference); - $objWriter->writeAttribute('o:spid', '_x0000_s' . $id); - $objWriter->writeAttribute('type', '#_x0000_t75'); - $objWriter->writeAttribute('style', "position:absolute;margin-left:{$marginLeft}px;margin-top:{$marginTop}px;width:{$width}px;height:{$height}px;z-index:1"); - - // v:imagedata - $objWriter->startElement('v:imagedata'); - $objWriter->writeAttribute('o:relid', 'rId' . $pReference); - $objWriter->writeAttribute('o:title', $pImage->getName()); - $objWriter->endElement(); - - // o:lock - $objWriter->startElement('o:lock'); - $objWriter->writeAttribute('v:ext', 'edit'); - $objWriter->writeAttribute('rotation', 't'); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - - /** - * Get an array of all drawings - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Worksheet_Drawing[] All drawings in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allDrawings(PHPExcel $pPHPExcel = null) - { - // Get an array of all drawings - $aDrawings = array(); - - // Loop through PHPExcel - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - // Loop through images and add to array - $iterator = $pPHPExcel->getSheet($i)->getDrawingCollection()->getIterator(); - while ($iterator->valid()) { - $aDrawings[] = $iterator->current(); - - $iterator->next(); - } - } - - return $aDrawings; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Rels.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Rels.php deleted file mode 100644 index a7d36c0a9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Rels.php +++ /dev/null @@ -1,437 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Rels - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Rels extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write relationships to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeRelationships(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - $customPropertyList = $pPHPExcel->getProperties()->getCustomProperties(); - if (!empty($customPropertyList)) { - // Relationship docProps/app.xml - $this->_writeRelationship( - $objWriter, - 4, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties', - 'docProps/custom.xml' - ); - - } - - // Relationship docProps/app.xml - $this->_writeRelationship( - $objWriter, - 3, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties', - 'docProps/app.xml' - ); - - // Relationship docProps/core.xml - $this->_writeRelationship( - $objWriter, - 2, - 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties', - 'docProps/core.xml' - ); - - // Relationship xl/workbook.xml - $this->_writeRelationship( - $objWriter, - 1, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument', - 'xl/workbook.xml' - ); - // a custom UI in workbook ? - if($pPHPExcel->hasRibbon()){ - $this->_writeRelationShip( - $objWriter, - 5, - 'http://schemas.microsoft.com/office/2006/relationships/ui/extensibility', - $pPHPExcel->getRibbonXMLData('target') - ); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write workbook relationships to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorkbookRelationships(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Relationship styles.xml - $this->_writeRelationship( - $objWriter, - 1, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles', - 'styles.xml' - ); - - // Relationship theme/theme1.xml - $this->_writeRelationship( - $objWriter, - 2, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme', - 'theme/theme1.xml' - ); - - // Relationship sharedStrings.xml - $this->_writeRelationship( - $objWriter, - 3, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings', - 'sharedStrings.xml' - ); - - // Relationships with sheets - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - $this->_writeRelationship( - $objWriter, - ($i + 1 + 3), - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet', - 'worksheets/sheet' . ($i + 1) . '.xml' - ); - } - // Relationships for vbaProject if needed - // id : just after the last sheet - if($pPHPExcel->hasMacros()){ - $this->_writeRelationShip( - $objWriter, - ($i + 1 + 3), - 'http://schemas.microsoft.com/office/2006/relationships/vbaProject', - 'vbaProject.bin' - ); - ++$i;//increment i if needed for an another relation - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write worksheet relationships to XML format - * - * Numbering is as follows: - * rId1 - Drawings - * rId_hyperlink_x - Hyperlinks - * - * @param PHPExcel_Worksheet $pWorksheet - * @param int $pWorksheetId - * @param boolean $includeCharts Flag indicating if we should write charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorksheetRelationships(PHPExcel_Worksheet $pWorksheet = null, $pWorksheetId = 1, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Write drawing relationships? - $d = 0; - if ($includeCharts) { - $charts = $pWorksheet->getChartCollection(); - } else { - $charts = array(); - } - if (($pWorksheet->getDrawingCollection()->count() > 0) || - (count($charts) > 0)) { - $this->_writeRelationship( - $objWriter, - ++$d, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing', - '../drawings/drawing' . $pWorksheetId . '.xml' - ); - } - - // Write chart relationships? -// $chartCount = 0; -// $charts = $pWorksheet->getChartCollection(); -// echo 'Chart Rels: ' , count($charts) , '<br />'; -// if (count($charts) > 0) { -// foreach($charts as $chart) { -// $this->_writeRelationship( -// $objWriter, -// ++$d, -// 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart', -// '../charts/chart' . ++$chartCount . '.xml' -// ); -// } -// } -// - // Write hyperlink relationships? - $i = 1; - foreach ($pWorksheet->getHyperlinkCollection() as $hyperlink) { - if (!$hyperlink->isInternal()) { - $this->_writeRelationship( - $objWriter, - '_hyperlink_' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink', - $hyperlink->getUrl(), - 'External' - ); - - ++$i; - } - } - - // Write comments relationship? - $i = 1; - if (count($pWorksheet->getComments()) > 0) { - $this->_writeRelationship( - $objWriter, - '_comments_vml' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing', - '../drawings/vmlDrawing' . $pWorksheetId . '.vml' - ); - - $this->_writeRelationship( - $objWriter, - '_comments' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments', - '../comments' . $pWorksheetId . '.xml' - ); - } - - // Write header/footer relationship? - $i = 1; - if (count($pWorksheet->getHeaderFooter()->getImages()) > 0) { - $this->_writeRelationship( - $objWriter, - '_headerfooter_vml' . $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing', - '../drawings/vmlDrawingHF' . $pWorksheetId . '.vml' - ); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write drawing relationships to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @param int &$chartRef Chart ID - * @param boolean $includeCharts Flag indicating if we should write charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeDrawingRelationships(PHPExcel_Worksheet $pWorksheet = null, &$chartRef, $includeCharts = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Loop through images and write relationships - $i = 1; - $iterator = $pWorksheet->getDrawingCollection()->getIterator(); - while ($iterator->valid()) { - if ($iterator->current() instanceof PHPExcel_Worksheet_Drawing - || $iterator->current() instanceof PHPExcel_Worksheet_MemoryDrawing) { - // Write relationship for image drawing - $this->_writeRelationship( - $objWriter, - $i, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image', - '../media/' . str_replace(' ', '', $iterator->current()->getIndexedFilename()) - ); - } - - $iterator->next(); - ++$i; - } - - if ($includeCharts) { - // Loop through charts and write relationships - $chartCount = $pWorksheet->getChartCount(); - if ($chartCount > 0) { - for ($c = 0; $c < $chartCount; ++$c) { - $this->_writeRelationship( - $objWriter, - $i++, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart', - '../charts/chart' . ++$chartRef . '.xml' - ); - } - } - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write header/footer drawing relationships to XML format - * - * @param PHPExcel_Worksheet $pWorksheet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeHeaderFooterDrawingRelationships(PHPExcel_Worksheet $pWorksheet = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - - // Loop through images and write relationships - foreach ($pWorksheet->getHeaderFooter()->getImages() as $key => $value) { - // Write relationship for image drawing - $this->_writeRelationship( - $objWriter, - $key, - 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image', - '../media/' . $value->getIndexedFilename() - ); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write Override content type - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param int $pId Relationship ID. rId will be prepended! - * @param string $pType Relationship type - * @param string $pTarget Relationship target - * @param string $pTargetMode Relationship target mode - * @throws PHPExcel_Writer_Exception - */ - private function _writeRelationship(PHPExcel_Shared_XMLWriter $objWriter = null, $pId = 1, $pType = '', $pTarget = '', $pTargetMode = '') - { - if ($pType != '' && $pTarget != '') { - // Write relationship - $objWriter->startElement('Relationship'); - $objWriter->writeAttribute('Id', 'rId' . $pId); - $objWriter->writeAttribute('Type', $pType); - $objWriter->writeAttribute('Target', $pTarget); - - if ($pTargetMode != '') { - $objWriter->writeAttribute('TargetMode', $pTargetMode); - } - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/RelsRibbon.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/RelsRibbon.php deleted file mode 100644 index 615f2cbd9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/RelsRibbon.php +++ /dev/null @@ -1,77 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_RelsRibbon - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_RelsRibbon extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write relationships for additional objects of custom UI (ribbon) - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeRibbonRelationships(PHPExcel $pPHPExcel = null){ - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - $localRels=$pPHPExcel->getRibbonBinObjects('names'); - if(is_array($localRels)){ - foreach($localRels as $aId=>$aTarget){ - $objWriter->startElement('Relationship'); - $objWriter->writeAttribute('Id', $aId); - $objWriter->writeAttribute('Type', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image'); - $objWriter->writeAttribute('Target', $aTarget); - $objWriter->endElement();//Relationship - } - } - $objWriter->endElement();//Relationships - - // Return - return $objWriter->getData(); - - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/RelsVBA.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/RelsVBA.php deleted file mode 100644 index 3f87d81f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/RelsVBA.php +++ /dev/null @@ -1,72 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_RelsVBA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_RelsVBA extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write relationships for a signed VBA Project - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeVBARelationships(PHPExcel $pPHPExcel = null){ - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Relationships - $objWriter->startElement('Relationships'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - $objWriter->startElement('Relationship'); - $objWriter->writeAttribute('Id', 'rId1'); - $objWriter->writeAttribute('Type', 'http://schemas.microsoft.com/office/2006/relationships/vbaProjectSignature'); - $objWriter->writeAttribute('Target', 'vbaProjectSignature.bin'); - $objWriter->endElement();//Relationship - $objWriter->endElement();//Relationships - - // Return - return $objWriter->getData(); - - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/StringTable.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/StringTable.php deleted file mode 100644 index e8ca1c5a5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/StringTable.php +++ /dev/null @@ -1,319 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_StringTable - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_StringTable extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Create worksheet stringtable - * - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param string[] $pExistingTable Existing table to eventually merge with - * @return string[] String table for worksheet - * @throws PHPExcel_Writer_Exception - */ - public function createStringTable($pSheet = null, $pExistingTable = null) - { - if ($pSheet !== NULL) { - // Create string lookup table - $aStringTable = array(); - $cellCollection = null; - $aFlippedStringTable = null; // For faster lookup - - // Is an existing table given? - if (($pExistingTable !== NULL) && is_array($pExistingTable)) { - $aStringTable = $pExistingTable; - } - - // Fill index array - $aFlippedStringTable = $this->flipStringTable($aStringTable); - - // Loop through cells - foreach ($pSheet->getCellCollection() as $cellID) { - $cell = $pSheet->getCell($cellID); - $cellValue = $cell->getValue(); - if (!is_object($cellValue) && - ($cellValue !== NULL) && - $cellValue !== '' && - !isset($aFlippedStringTable[$cellValue]) && - ($cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_STRING2 || $cell->getDataType() == PHPExcel_Cell_DataType::TYPE_NULL)) { - $aStringTable[] = $cellValue; - $aFlippedStringTable[$cellValue] = true; - } elseif ($cellValue instanceof PHPExcel_RichText && - ($cellValue !== NULL) && - !isset($aFlippedStringTable[$cellValue->getHashCode()])) { - $aStringTable[] = $cellValue; - $aFlippedStringTable[$cellValue->getHashCode()] = true; - } - } - - // Return - return $aStringTable; - } else { - throw new PHPExcel_Writer_Exception("Invalid PHPExcel_Worksheet object passed."); - } - } - - /** - * Write string table to XML format - * - * @param string[] $pStringTable - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeStringTable($pStringTable = null) - { - if ($pStringTable !== NULL) { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // String table - $objWriter->startElement('sst'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - $objWriter->writeAttribute('uniqueCount', count($pStringTable)); - - // Loop through string table - foreach ($pStringTable as $textElement) { - $objWriter->startElement('si'); - - if (! $textElement instanceof PHPExcel_RichText) { - $textToWrite = PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $textElement ); - $objWriter->startElement('t'); - if ($textToWrite !== trim($textToWrite)) { - $objWriter->writeAttribute('xml:space', 'preserve'); - } - $objWriter->writeRawData($textToWrite); - $objWriter->endElement(); - } else if ($textElement instanceof PHPExcel_RichText) { - $this->writeRichText($objWriter, $textElement); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } else { - throw new PHPExcel_Writer_Exception("Invalid string table array passed."); - } - } - - /** - * Write Rich Text - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_RichText $pRichText Rich text - * @param string $prefix Optional Namespace prefix - * @throws PHPExcel_Writer_Exception - */ - public function writeRichText(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_RichText $pRichText = null, $prefix=NULL) - { - if ($prefix !== NULL) - $prefix .= ':'; - // Loop through rich text elements - $elements = $pRichText->getRichTextElements(); - foreach ($elements as $element) { - // r - $objWriter->startElement($prefix.'r'); - - // rPr - if ($element instanceof PHPExcel_RichText_Run) { - // rPr - $objWriter->startElement($prefix.'rPr'); - - // rFont - $objWriter->startElement($prefix.'rFont'); - $objWriter->writeAttribute('val', $element->getFont()->getName()); - $objWriter->endElement(); - - // Bold - $objWriter->startElement($prefix.'b'); - $objWriter->writeAttribute('val', ($element->getFont()->getBold() ? 'true' : 'false')); - $objWriter->endElement(); - - // Italic - $objWriter->startElement($prefix.'i'); - $objWriter->writeAttribute('val', ($element->getFont()->getItalic() ? 'true' : 'false')); - $objWriter->endElement(); - - // Superscript / subscript - if ($element->getFont()->getSuperScript() || $element->getFont()->getSubScript()) { - $objWriter->startElement($prefix.'vertAlign'); - if ($element->getFont()->getSuperScript()) { - $objWriter->writeAttribute('val', 'superscript'); - } else if ($element->getFont()->getSubScript()) { - $objWriter->writeAttribute('val', 'subscript'); - } - $objWriter->endElement(); - } - - // Strikethrough - $objWriter->startElement($prefix.'strike'); - $objWriter->writeAttribute('val', ($element->getFont()->getStrikethrough() ? 'true' : 'false')); - $objWriter->endElement(); - - // Color - $objWriter->startElement($prefix.'color'); - $objWriter->writeAttribute('rgb', $element->getFont()->getColor()->getARGB()); - $objWriter->endElement(); - - // Size - $objWriter->startElement($prefix.'sz'); - $objWriter->writeAttribute('val', $element->getFont()->getSize()); - $objWriter->endElement(); - - // Underline - $objWriter->startElement($prefix.'u'); - $objWriter->writeAttribute('val', $element->getFont()->getUnderline()); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - // t - $objWriter->startElement($prefix.'t'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $element->getText() )); - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Write Rich Text - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string|PHPExcel_RichText $pRichText text string or Rich text - * @param string $prefix Optional Namespace prefix - * @throws PHPExcel_Writer_Exception - */ - public function writeRichTextForCharts(PHPExcel_Shared_XMLWriter $objWriter = null, $pRichText = null, $prefix=NULL) - { - if (!$pRichText instanceof PHPExcel_RichText) { - $textRun = $pRichText; - $pRichText = new PHPExcel_RichText(); - $pRichText->createTextRun($textRun); - } - - if ($prefix !== NULL) - $prefix .= ':'; - // Loop through rich text elements - $elements = $pRichText->getRichTextElements(); - foreach ($elements as $element) { - // r - $objWriter->startElement($prefix.'r'); - - // rPr - $objWriter->startElement($prefix.'rPr'); - - // Bold - $objWriter->writeAttribute('b', ($element->getFont()->getBold() ? 1 : 0)); - // Italic - $objWriter->writeAttribute('i', ($element->getFont()->getItalic() ? 1 : 0)); - // Underline - $underlineType = $element->getFont()->getUnderline(); - switch($underlineType) { - case 'single' : - $underlineType = 'sng'; - break; - case 'double' : - $underlineType = 'dbl'; - break; - } - $objWriter->writeAttribute('u', $underlineType); - // Strikethrough - $objWriter->writeAttribute('strike', ($element->getFont()->getStrikethrough() ? 'sngStrike' : 'noStrike')); - - // rFont - $objWriter->startElement($prefix.'latin'); - $objWriter->writeAttribute('typeface', $element->getFont()->getName()); - $objWriter->endElement(); - - // Superscript / subscript -// if ($element->getFont()->getSuperScript() || $element->getFont()->getSubScript()) { -// $objWriter->startElement($prefix.'vertAlign'); -// if ($element->getFont()->getSuperScript()) { -// $objWriter->writeAttribute('val', 'superscript'); -// } else if ($element->getFont()->getSubScript()) { -// $objWriter->writeAttribute('val', 'subscript'); -// } -// $objWriter->endElement(); -// } -// - $objWriter->endElement(); - - // t - $objWriter->startElement($prefix.'t'); -// $objWriter->writeAttribute('xml:space', 'preserve'); // Excel2010 accepts, Excel2007 complains - $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $element->getText() )); - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Flip string table (for index searching) - * - * @param array $stringTable Stringtable - * @return array - */ - public function flipStringTable($stringTable = array()) { - // Return value - $returnValue = array(); - - // Loop through stringtable and add flipped items to $returnValue - foreach ($stringTable as $key => $value) { - if (! $value instanceof PHPExcel_RichText) { - $returnValue[$value] = $key; - } else if ($value instanceof PHPExcel_RichText) { - $returnValue[$value->getHashCode()] = $key; - } - } - - // Return - return $returnValue; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Style.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Style.php deleted file mode 100644 index d38c6eacc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Style.php +++ /dev/null @@ -1,707 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Style - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Style extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write styles to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeStyles(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // styleSheet - $objWriter->startElement('styleSheet'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - - // numFmts - $objWriter->startElement('numFmts'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getNumFmtHashTable()->count()); - - // numFmt - for ($i = 0; $i < $this->getParentWriter()->getNumFmtHashTable()->count(); ++$i) { - $this->_writeNumFmt($objWriter, $this->getParentWriter()->getNumFmtHashTable()->getByIndex($i), $i); - } - - $objWriter->endElement(); - - // fonts - $objWriter->startElement('fonts'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getFontHashTable()->count()); - - // font - for ($i = 0; $i < $this->getParentWriter()->getFontHashTable()->count(); ++$i) { - $this->_writeFont($objWriter, $this->getParentWriter()->getFontHashTable()->getByIndex($i)); - } - - $objWriter->endElement(); - - // fills - $objWriter->startElement('fills'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getFillHashTable()->count()); - - // fill - for ($i = 0; $i < $this->getParentWriter()->getFillHashTable()->count(); ++$i) { - $this->_writeFill($objWriter, $this->getParentWriter()->getFillHashTable()->getByIndex($i)); - } - - $objWriter->endElement(); - - // borders - $objWriter->startElement('borders'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getBordersHashTable()->count()); - - // border - for ($i = 0; $i < $this->getParentWriter()->getBordersHashTable()->count(); ++$i) { - $this->_writeBorder($objWriter, $this->getParentWriter()->getBordersHashTable()->getByIndex($i)); - } - - $objWriter->endElement(); - - // cellStyleXfs - $objWriter->startElement('cellStyleXfs'); - $objWriter->writeAttribute('count', 1); - - // xf - $objWriter->startElement('xf'); - $objWriter->writeAttribute('numFmtId', 0); - $objWriter->writeAttribute('fontId', 0); - $objWriter->writeAttribute('fillId', 0); - $objWriter->writeAttribute('borderId', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - // cellXfs - $objWriter->startElement('cellXfs'); - $objWriter->writeAttribute('count', count($pPHPExcel->getCellXfCollection())); - - // xf - foreach ($pPHPExcel->getCellXfCollection() as $cellXf) { - $this->_writeCellStyleXf($objWriter, $cellXf, $pPHPExcel); - } - - $objWriter->endElement(); - - // cellStyles - $objWriter->startElement('cellStyles'); - $objWriter->writeAttribute('count', 1); - - // cellStyle - $objWriter->startElement('cellStyle'); - $objWriter->writeAttribute('name', 'Normal'); - $objWriter->writeAttribute('xfId', 0); - $objWriter->writeAttribute('builtinId', 0); - $objWriter->endElement(); - - $objWriter->endElement(); - - // dxfs - $objWriter->startElement('dxfs'); - $objWriter->writeAttribute('count', $this->getParentWriter()->getStylesConditionalHashTable()->count()); - - // dxf - for ($i = 0; $i < $this->getParentWriter()->getStylesConditionalHashTable()->count(); ++$i) { - $this->_writeCellStyleDxf($objWriter, $this->getParentWriter()->getStylesConditionalHashTable()->getByIndex($i)->getStyle()); - } - - $objWriter->endElement(); - - // tableStyles - $objWriter->startElement('tableStyles'); - $objWriter->writeAttribute('defaultTableStyle', 'TableStyleMedium9'); - $objWriter->writeAttribute('defaultPivotStyle', 'PivotTableStyle1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write Fill - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Fill $pFill Fill style - * @throws PHPExcel_Writer_Exception - */ - private function _writeFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null) - { - // Check if this is a pattern type or gradient type - if ($pFill->getFillType() === PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR || - $pFill->getFillType() === PHPExcel_Style_Fill::FILL_GRADIENT_PATH) { - // Gradient fill - $this->_writeGradientFill($objWriter, $pFill); - } elseif($pFill->getFillType() !== NULL) { - // Pattern fill - $this->_writePatternFill($objWriter, $pFill); - } - } - - /** - * Write Gradient Fill - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Fill $pFill Fill style - * @throws PHPExcel_Writer_Exception - */ - private function _writeGradientFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null) - { - // fill - $objWriter->startElement('fill'); - - // gradientFill - $objWriter->startElement('gradientFill'); - $objWriter->writeAttribute('type', $pFill->getFillType()); - $objWriter->writeAttribute('degree', $pFill->getRotation()); - - // stop - $objWriter->startElement('stop'); - $objWriter->writeAttribute('position', '0'); - - // color - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB()); - $objWriter->endElement(); - - $objWriter->endElement(); - - // stop - $objWriter->startElement('stop'); - $objWriter->writeAttribute('position', '1'); - - // color - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB()); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Pattern Fill - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Fill $pFill Fill style - * @throws PHPExcel_Writer_Exception - */ - private function _writePatternFill(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Fill $pFill = null) - { - // fill - $objWriter->startElement('fill'); - - // patternFill - $objWriter->startElement('patternFill'); - $objWriter->writeAttribute('patternType', $pFill->getFillType()); - - if ($pFill->getFillType() !== PHPExcel_Style_Fill::FILL_NONE) { - // fgColor - if ($pFill->getStartColor()->getARGB()) { - $objWriter->startElement('fgColor'); - $objWriter->writeAttribute('rgb', $pFill->getStartColor()->getARGB()); - $objWriter->endElement(); - } - } - if ($pFill->getFillType() !== PHPExcel_Style_Fill::FILL_NONE) { - // bgColor - if ($pFill->getEndColor()->getARGB()) { - $objWriter->startElement('bgColor'); - $objWriter->writeAttribute('rgb', $pFill->getEndColor()->getARGB()); - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write Font - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Font $pFont Font style - * @throws PHPExcel_Writer_Exception - */ - private function _writeFont(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Font $pFont = null) - { - // font - $objWriter->startElement('font'); - // Weird! The order of these elements actually makes a difference when opening Excel2007 - // files in Excel2003 with the compatibility pack. It's not documented behaviour, - // and makes for a real WTF! - - // Bold. We explicitly write this element also when false (like MS Office Excel 2007 does - // for conditional formatting). Otherwise it will apparently not be picked up in conditional - // formatting style dialog - if ($pFont->getBold() !== NULL) { - $objWriter->startElement('b'); - $objWriter->writeAttribute('val', $pFont->getBold() ? '1' : '0'); - $objWriter->endElement(); - } - - // Italic - if ($pFont->getItalic() !== NULL) { - $objWriter->startElement('i'); - $objWriter->writeAttribute('val', $pFont->getItalic() ? '1' : '0'); - $objWriter->endElement(); - } - - // Strikethrough - if ($pFont->getStrikethrough() !== NULL) { - $objWriter->startElement('strike'); - $objWriter->writeAttribute('val', $pFont->getStrikethrough() ? '1' : '0'); - $objWriter->endElement(); - } - - // Underline - if ($pFont->getUnderline() !== NULL) { - $objWriter->startElement('u'); - $objWriter->writeAttribute('val', $pFont->getUnderline()); - $objWriter->endElement(); - } - - // Superscript / subscript - if ($pFont->getSuperScript() === TRUE || $pFont->getSubScript() === TRUE) { - $objWriter->startElement('vertAlign'); - if ($pFont->getSuperScript() === TRUE) { - $objWriter->writeAttribute('val', 'superscript'); - } else if ($pFont->getSubScript() === TRUE) { - $objWriter->writeAttribute('val', 'subscript'); - } - $objWriter->endElement(); - } - - // Size - if ($pFont->getSize() !== NULL) { - $objWriter->startElement('sz'); - $objWriter->writeAttribute('val', $pFont->getSize()); - $objWriter->endElement(); - } - - // Foreground color - if ($pFont->getColor()->getARGB() !== NULL) { - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pFont->getColor()->getARGB()); - $objWriter->endElement(); - } - - // Name - if ($pFont->getName() !== NULL) { - $objWriter->startElement('name'); - $objWriter->writeAttribute('val', $pFont->getName()); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Border - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_Borders $pBorders Borders style - * @throws PHPExcel_Writer_Exception - */ - private function _writeBorder(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_Borders $pBorders = null) - { - // Write border - $objWriter->startElement('border'); - // Diagonal? - switch ($pBorders->getDiagonalDirection()) { - case PHPExcel_Style_Borders::DIAGONAL_UP: - $objWriter->writeAttribute('diagonalUp', 'true'); - $objWriter->writeAttribute('diagonalDown', 'false'); - break; - case PHPExcel_Style_Borders::DIAGONAL_DOWN: - $objWriter->writeAttribute('diagonalUp', 'false'); - $objWriter->writeAttribute('diagonalDown', 'true'); - break; - case PHPExcel_Style_Borders::DIAGONAL_BOTH: - $objWriter->writeAttribute('diagonalUp', 'true'); - $objWriter->writeAttribute('diagonalDown', 'true'); - break; - } - - // BorderPr - $this->_writeBorderPr($objWriter, 'left', $pBorders->getLeft()); - $this->_writeBorderPr($objWriter, 'right', $pBorders->getRight()); - $this->_writeBorderPr($objWriter, 'top', $pBorders->getTop()); - $this->_writeBorderPr($objWriter, 'bottom', $pBorders->getBottom()); - $this->_writeBorderPr($objWriter, 'diagonal', $pBorders->getDiagonal()); - $objWriter->endElement(); - } - - /** - * Write Cell Style Xf - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style $pStyle Style - * @param PHPExcel $pPHPExcel Workbook - * @throws PHPExcel_Writer_Exception - */ - private function _writeCellStyleXf(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null, PHPExcel $pPHPExcel = null) - { - // xf - $objWriter->startElement('xf'); - $objWriter->writeAttribute('xfId', 0); - $objWriter->writeAttribute('fontId', (int)$this->getParentWriter()->getFontHashTable()->getIndexForHashCode($pStyle->getFont()->getHashCode())); - if ($pStyle->getQuotePrefix()) { - $objWriter->writeAttribute('quotePrefix', 1); - } - - if ($pStyle->getNumberFormat()->getBuiltInFormatCode() === false) { - $objWriter->writeAttribute('numFmtId', (int)($this->getParentWriter()->getNumFmtHashTable()->getIndexForHashCode($pStyle->getNumberFormat()->getHashCode()) + 164) ); - } else { - $objWriter->writeAttribute('numFmtId', (int)$pStyle->getNumberFormat()->getBuiltInFormatCode()); - } - - $objWriter->writeAttribute('fillId', (int)$this->getParentWriter()->getFillHashTable()->getIndexForHashCode($pStyle->getFill()->getHashCode())); - $objWriter->writeAttribute('borderId', (int)$this->getParentWriter()->getBordersHashTable()->getIndexForHashCode($pStyle->getBorders()->getHashCode())); - - // Apply styles? - $objWriter->writeAttribute('applyFont', ($pPHPExcel->getDefaultStyle()->getFont()->getHashCode() != $pStyle->getFont()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyNumberFormat', ($pPHPExcel->getDefaultStyle()->getNumberFormat()->getHashCode() != $pStyle->getNumberFormat()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyFill', ($pPHPExcel->getDefaultStyle()->getFill()->getHashCode() != $pStyle->getFill()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyBorder', ($pPHPExcel->getDefaultStyle()->getBorders()->getHashCode() != $pStyle->getBorders()->getHashCode()) ? '1' : '0'); - $objWriter->writeAttribute('applyAlignment', ($pPHPExcel->getDefaultStyle()->getAlignment()->getHashCode() != $pStyle->getAlignment()->getHashCode()) ? '1' : '0'); - if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT || $pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->writeAttribute('applyProtection', 'true'); - } - - // alignment - $objWriter->startElement('alignment'); - $objWriter->writeAttribute('horizontal', $pStyle->getAlignment()->getHorizontal()); - $objWriter->writeAttribute('vertical', $pStyle->getAlignment()->getVertical()); - - $textRotation = 0; - if ($pStyle->getAlignment()->getTextRotation() >= 0) { - $textRotation = $pStyle->getAlignment()->getTextRotation(); - } else if ($pStyle->getAlignment()->getTextRotation() < 0) { - $textRotation = 90 - $pStyle->getAlignment()->getTextRotation(); - } - $objWriter->writeAttribute('textRotation', $textRotation); - - $objWriter->writeAttribute('wrapText', ($pStyle->getAlignment()->getWrapText() ? 'true' : 'false')); - $objWriter->writeAttribute('shrinkToFit', ($pStyle->getAlignment()->getShrinkToFit() ? 'true' : 'false')); - - if ($pStyle->getAlignment()->getIndent() > 0) { - $objWriter->writeAttribute('indent', $pStyle->getAlignment()->getIndent()); - } - if ($pStyle->getAlignment()->getReadorder() > 0) { - $objWriter->writeAttribute('readingOrder', $pStyle->getAlignment()->getReadorder()); - } - $objWriter->endElement(); - - // protection - if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT || $pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->startElement('protection'); - if ($pStyle->getProtection()->getLocked() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->writeAttribute('locked', ($pStyle->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - if ($pStyle->getProtection()->getHidden() != PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->writeAttribute('hidden', ($pStyle->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Cell Style Dxf - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style $pStyle Style - * @throws PHPExcel_Writer_Exception - */ - private function _writeCellStyleDxf(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style $pStyle = null) - { - // dxf - $objWriter->startElement('dxf'); - - // font - $this->_writeFont($objWriter, $pStyle->getFont()); - - // numFmt - $this->_writeNumFmt($objWriter, $pStyle->getNumberFormat()); - - // fill - $this->_writeFill($objWriter, $pStyle->getFill()); - - // alignment - $objWriter->startElement('alignment'); - if ($pStyle->getAlignment()->getHorizontal() !== NULL) { - $objWriter->writeAttribute('horizontal', $pStyle->getAlignment()->getHorizontal()); - } - if ($pStyle->getAlignment()->getVertical() !== NULL) { - $objWriter->writeAttribute('vertical', $pStyle->getAlignment()->getVertical()); - } - - if ($pStyle->getAlignment()->getTextRotation() !== NULL) { - $textRotation = 0; - if ($pStyle->getAlignment()->getTextRotation() >= 0) { - $textRotation = $pStyle->getAlignment()->getTextRotation(); - } else if ($pStyle->getAlignment()->getTextRotation() < 0) { - $textRotation = 90 - $pStyle->getAlignment()->getTextRotation(); - } - $objWriter->writeAttribute('textRotation', $textRotation); - } - $objWriter->endElement(); - - // border - $this->_writeBorder($objWriter, $pStyle->getBorders()); - - // protection - if (($pStyle->getProtection()->getLocked() !== NULL) || - ($pStyle->getProtection()->getHidden() !== NULL)) { - if ($pStyle->getProtection()->getLocked() !== PHPExcel_Style_Protection::PROTECTION_INHERIT || - $pStyle->getProtection()->getHidden() !== PHPExcel_Style_Protection::PROTECTION_INHERIT) { - $objWriter->startElement('protection'); - if (($pStyle->getProtection()->getLocked() !== NULL) && - ($pStyle->getProtection()->getLocked() !== PHPExcel_Style_Protection::PROTECTION_INHERIT)) { - $objWriter->writeAttribute('locked', ($pStyle->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - if (($pStyle->getProtection()->getHidden() !== NULL) && - ($pStyle->getProtection()->getHidden() !== PHPExcel_Style_Protection::PROTECTION_INHERIT)) { - $objWriter->writeAttribute('hidden', ($pStyle->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED ? 'true' : 'false')); - } - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } - - /** - * Write BorderPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pName Element name - * @param PHPExcel_Style_Border $pBorder Border style - * @throws PHPExcel_Writer_Exception - */ - private function _writeBorderPr(PHPExcel_Shared_XMLWriter $objWriter = null, $pName = 'left', PHPExcel_Style_Border $pBorder = null) - { - // Write BorderPr - if ($pBorder->getBorderStyle() != PHPExcel_Style_Border::BORDER_NONE) { - $objWriter->startElement($pName); - $objWriter->writeAttribute('style', $pBorder->getBorderStyle()); - - // color - $objWriter->startElement('color'); - $objWriter->writeAttribute('rgb', $pBorder->getColor()->getARGB()); - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - - /** - * Write NumberFormat - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Style_NumberFormat $pNumberFormat Number Format - * @param int $pId Number Format identifier - * @throws PHPExcel_Writer_Exception - */ - private function _writeNumFmt(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Style_NumberFormat $pNumberFormat = null, $pId = 0) - { - // Translate formatcode - $formatCode = $pNumberFormat->getFormatCode(); - - // numFmt - if ($formatCode !== NULL) { - $objWriter->startElement('numFmt'); - $objWriter->writeAttribute('numFmtId', ($pId + 164)); - $objWriter->writeAttribute('formatCode', $formatCode); - $objWriter->endElement(); - } - } - - /** - * Get an array of all styles - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style[] All styles in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allStyles(PHPExcel $pPHPExcel = null) - { - $aStyles = $pPHPExcel->getCellXfCollection(); - - return $aStyles; - } - - /** - * Get an array of all conditional styles - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Conditional[] All conditional styles in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allConditionalStyles(PHPExcel $pPHPExcel = null) - { - // Get an array of all styles - $aStyles = array(); - - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - foreach ($pPHPExcel->getSheet($i)->getConditionalStylesCollection() as $conditionalStyles) { - foreach ($conditionalStyles as $conditionalStyle) { - $aStyles[] = $conditionalStyle; - } - } - } - - return $aStyles; - } - - /** - * Get an array of all fills - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Fill[] All fills in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allFills(PHPExcel $pPHPExcel = null) - { - // Get an array of unique fills - $aFills = array(); - - // Two first fills are predefined - $fill0 = new PHPExcel_Style_Fill(); - $fill0->setFillType(PHPExcel_Style_Fill::FILL_NONE); - $aFills[] = $fill0; - - $fill1 = new PHPExcel_Style_Fill(); - $fill1->setFillType(PHPExcel_Style_Fill::FILL_PATTERN_GRAY125); - $aFills[] = $fill1; - // The remaining fills - $aStyles = $this->allStyles($pPHPExcel); - foreach ($aStyles as $style) { - if (!array_key_exists($style->getFill()->getHashCode(), $aFills)) { - $aFills[ $style->getFill()->getHashCode() ] = $style->getFill(); - } - } - - return $aFills; - } - - /** - * Get an array of all fonts - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Font[] All fonts in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allFonts(PHPExcel $pPHPExcel = null) - { - // Get an array of unique fonts - $aFonts = array(); - $aStyles = $this->allStyles($pPHPExcel); - - foreach ($aStyles as $style) { - if (!array_key_exists($style->getFont()->getHashCode(), $aFonts)) { - $aFonts[ $style->getFont()->getHashCode() ] = $style->getFont(); - } - } - - return $aFonts; - } - - /** - * Get an array of all borders - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_Borders[] All borders in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allBorders(PHPExcel $pPHPExcel = null) - { - // Get an array of unique borders - $aBorders = array(); - $aStyles = $this->allStyles($pPHPExcel); - - foreach ($aStyles as $style) { - if (!array_key_exists($style->getBorders()->getHashCode(), $aBorders)) { - $aBorders[ $style->getBorders()->getHashCode() ] = $style->getBorders(); - } - } - - return $aBorders; - } - - /** - * Get an array of all number formats - * - * @param PHPExcel $pPHPExcel - * @return PHPExcel_Style_NumberFormat[] All number formats in PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function allNumberFormats(PHPExcel $pPHPExcel = null) - { - // Get an array of unique number formats - $aNumFmts = array(); - $aStyles = $this->allStyles($pPHPExcel); - - foreach ($aStyles as $style) { - if ($style->getNumberFormat()->getBuiltInFormatCode() === false && !array_key_exists($style->getNumberFormat()->getHashCode(), $aNumFmts)) { - $aNumFmts[ $style->getNumberFormat()->getHashCode() ] = $style->getNumberFormat(); - } - } - - return $aNumFmts; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Theme.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Theme.php deleted file mode 100644 index c67b94816..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Theme.php +++ /dev/null @@ -1,871 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Theme - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Theme extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Map of Major fonts to write - * @static array of string - * - */ - private static $_majorFonts = array( - 'Jpan' => 'MS Pゴシック', - 'Hang' => '맑은 고딕', - 'Hans' => '宋体', - 'Hant' => '新細明體', - 'Arab' => 'Times New Roman', - 'Hebr' => 'Times New Roman', - 'Thai' => 'Tahoma', - 'Ethi' => 'Nyala', - 'Beng' => 'Vrinda', - 'Gujr' => 'Shruti', - 'Khmr' => 'MoolBoran', - 'Knda' => 'Tunga', - 'Guru' => 'Raavi', - 'Cans' => 'Euphemia', - 'Cher' => 'Plantagenet Cherokee', - 'Yiii' => 'Microsoft Yi Baiti', - 'Tibt' => 'Microsoft Himalaya', - 'Thaa' => 'MV Boli', - 'Deva' => 'Mangal', - 'Telu' => 'Gautami', - 'Taml' => 'Latha', - 'Syrc' => 'Estrangelo Edessa', - 'Orya' => 'Kalinga', - 'Mlym' => 'Kartika', - 'Laoo' => 'DokChampa', - 'Sinh' => 'Iskoola Pota', - 'Mong' => 'Mongolian Baiti', - 'Viet' => 'Times New Roman', - 'Uigh' => 'Microsoft Uighur', - 'Geor' => 'Sylfaen', - ); - - /** - * Map of Minor fonts to write - * @static array of string - * - */ - private static $_minorFonts = array( - 'Jpan' => 'MS Pゴシック', - 'Hang' => '맑은 고딕', - 'Hans' => '宋体', - 'Hant' => '新細明體', - 'Arab' => 'Arial', - 'Hebr' => 'Arial', - 'Thai' => 'Tahoma', - 'Ethi' => 'Nyala', - 'Beng' => 'Vrinda', - 'Gujr' => 'Shruti', - 'Khmr' => 'DaunPenh', - 'Knda' => 'Tunga', - 'Guru' => 'Raavi', - 'Cans' => 'Euphemia', - 'Cher' => 'Plantagenet Cherokee', - 'Yiii' => 'Microsoft Yi Baiti', - 'Tibt' => 'Microsoft Himalaya', - 'Thaa' => 'MV Boli', - 'Deva' => 'Mangal', - 'Telu' => 'Gautami', - 'Taml' => 'Latha', - 'Syrc' => 'Estrangelo Edessa', - 'Orya' => 'Kalinga', - 'Mlym' => 'Kartika', - 'Laoo' => 'DokChampa', - 'Sinh' => 'Iskoola Pota', - 'Mong' => 'Mongolian Baiti', - 'Viet' => 'Arial', - 'Uigh' => 'Microsoft Uighur', - 'Geor' => 'Sylfaen', - ); - - /** - * Map of core colours - * @static array of string - * - */ - private static $_colourScheme = array( - 'dk2' => '1F497D', - 'lt2' => 'EEECE1', - 'accent1' => '4F81BD', - 'accent2' => 'C0504D', - 'accent3' => '9BBB59', - 'accent4' => '8064A2', - 'accent5' => '4BACC6', - 'accent6' => 'F79646', - 'hlink' => '0000FF', - 'folHlink' => '800080', - ); - - /** - * Write theme to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeTheme(PHPExcel $pPHPExcel = null) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // a:theme - $objWriter->startElement('a:theme'); - $objWriter->writeAttribute('xmlns:a', 'http://schemas.openxmlformats.org/drawingml/2006/main'); - $objWriter->writeAttribute('name', 'Office Theme'); - - // a:themeElements - $objWriter->startElement('a:themeElements'); - - // a:clrScheme - $objWriter->startElement('a:clrScheme'); - $objWriter->writeAttribute('name', 'Office'); - - // a:dk1 - $objWriter->startElement('a:dk1'); - - // a:sysClr - $objWriter->startElement('a:sysClr'); - $objWriter->writeAttribute('val', 'windowText'); - $objWriter->writeAttribute('lastClr', '000000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lt1 - $objWriter->startElement('a:lt1'); - - // a:sysClr - $objWriter->startElement('a:sysClr'); - $objWriter->writeAttribute('val', 'window'); - $objWriter->writeAttribute('lastClr', 'FFFFFF'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:dk2 - $this->_writeColourScheme($objWriter); - - $objWriter->endElement(); - - // a:fontScheme - $objWriter->startElement('a:fontScheme'); - $objWriter->writeAttribute('name', 'Office'); - - // a:majorFont - $objWriter->startElement('a:majorFont'); - $this->_writeFonts($objWriter, 'Cambria', self::$_majorFonts); - $objWriter->endElement(); - - // a:minorFont - $objWriter->startElement('a:minorFont'); - $this->_writeFonts($objWriter, 'Calibri', self::$_minorFonts); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:fmtScheme - $objWriter->startElement('a:fmtScheme'); - $objWriter->writeAttribute('name', 'Office'); - - // a:fillStyleLst - $objWriter->startElement('a:fillStyleLst'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '50000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '300000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '35000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '37000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '300000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '15000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '350000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lin - $objWriter->startElement('a:lin'); - $objWriter->writeAttribute('ang', '16200000'); - $objWriter->writeAttribute('scaled', '1'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '51000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '130000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '80000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '93000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '130000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '94000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '135000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lin - $objWriter->startElement('a:lin'); - $objWriter->writeAttribute('ang', '16200000'); - $objWriter->writeAttribute('scaled', '0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lnStyleLst - $objWriter->startElement('a:lnStyleLst'); - - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '9525'); - $objWriter->writeAttribute('cap', 'flat'); - $objWriter->writeAttribute('cmpd', 'sng'); - $objWriter->writeAttribute('algn', 'ctr'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '95000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '105000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:prstDash - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', 'solid'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '25400'); - $objWriter->writeAttribute('cap', 'flat'); - $objWriter->writeAttribute('cmpd', 'sng'); - $objWriter->writeAttribute('algn', 'ctr'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:prstDash - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', 'solid'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:ln - $objWriter->startElement('a:ln'); - $objWriter->writeAttribute('w', '38100'); - $objWriter->writeAttribute('cap', 'flat'); - $objWriter->writeAttribute('cmpd', 'sng'); - $objWriter->writeAttribute('algn', 'ctr'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:prstDash - $objWriter->startElement('a:prstDash'); - $objWriter->writeAttribute('val', 'solid'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - - - // a:effectStyleLst - $objWriter->startElement('a:effectStyleLst'); - - // a:effectStyle - $objWriter->startElement('a:effectStyle'); - - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', '40000'); - $objWriter->writeAttribute('dist', '20000'); - $objWriter->writeAttribute('dir', '5400000'); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', '000000'); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', '38000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:effectStyle - $objWriter->startElement('a:effectStyle'); - - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', '40000'); - $objWriter->writeAttribute('dist', '23000'); - $objWriter->writeAttribute('dir', '5400000'); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', '000000'); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', '35000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:effectStyle - $objWriter->startElement('a:effectStyle'); - - // a:effectLst - $objWriter->startElement('a:effectLst'); - - // a:outerShdw - $objWriter->startElement('a:outerShdw'); - $objWriter->writeAttribute('blurRad', '40000'); - $objWriter->writeAttribute('dist', '23000'); - $objWriter->writeAttribute('dir', '5400000'); - $objWriter->writeAttribute('rotWithShape', '0'); - - // a:srgbClr - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', '000000'); - - // a:alpha - $objWriter->startElement('a:alpha'); - $objWriter->writeAttribute('val', '35000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:scene3d - $objWriter->startElement('a:scene3d'); - - // a:camera - $objWriter->startElement('a:camera'); - $objWriter->writeAttribute('prst', 'orthographicFront'); - - // a:rot - $objWriter->startElement('a:rot'); - $objWriter->writeAttribute('lat', '0'); - $objWriter->writeAttribute('lon', '0'); - $objWriter->writeAttribute('rev', '0'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:lightRig - $objWriter->startElement('a:lightRig'); - $objWriter->writeAttribute('rig', 'threePt'); - $objWriter->writeAttribute('dir', 't'); - - // a:rot - $objWriter->startElement('a:rot'); - $objWriter->writeAttribute('lat', '0'); - $objWriter->writeAttribute('lon', '0'); - $objWriter->writeAttribute('rev', '1200000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:sp3d - $objWriter->startElement('a:sp3d'); - - // a:bevelT - $objWriter->startElement('a:bevelT'); - $objWriter->writeAttribute('w', '63500'); - $objWriter->writeAttribute('h', '25400'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:bgFillStyleLst - $objWriter->startElement('a:bgFillStyleLst'); - - // a:solidFill - $objWriter->startElement('a:solidFill'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '40000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '350000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '40000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '45000'); - $objWriter->endElement(); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '99000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '350000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '20000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '255000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:path - $objWriter->startElement('a:path'); - $objWriter->writeAttribute('path', 'circle'); - - // a:fillToRect - $objWriter->startElement('a:fillToRect'); - $objWriter->writeAttribute('l', '50000'); - $objWriter->writeAttribute('t', '-80000'); - $objWriter->writeAttribute('r', '50000'); - $objWriter->writeAttribute('b', '180000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gradFill - $objWriter->startElement('a:gradFill'); - $objWriter->writeAttribute('rotWithShape', '1'); - - // a:gsLst - $objWriter->startElement('a:gsLst'); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '0'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:tint - $objWriter->startElement('a:tint'); - $objWriter->writeAttribute('val', '80000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '300000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:gs - $objWriter->startElement('a:gs'); - $objWriter->writeAttribute('pos', '100000'); - - // a:schemeClr - $objWriter->startElement('a:schemeClr'); - $objWriter->writeAttribute('val', 'phClr'); - - // a:shade - $objWriter->startElement('a:shade'); - $objWriter->writeAttribute('val', '30000'); - $objWriter->endElement(); - - // a:satMod - $objWriter->startElement('a:satMod'); - $objWriter->writeAttribute('val', '200000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:path - $objWriter->startElement('a:path'); - $objWriter->writeAttribute('path', 'circle'); - - // a:fillToRect - $objWriter->startElement('a:fillToRect'); - $objWriter->writeAttribute('l', '50000'); - $objWriter->writeAttribute('t', '50000'); - $objWriter->writeAttribute('r', '50000'); - $objWriter->writeAttribute('b', '50000'); - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - $objWriter->endElement(); - - // a:objectDefaults - $objWriter->writeElement('a:objectDefaults', null); - - // a:extraClrSchemeLst - $objWriter->writeElement('a:extraClrSchemeLst', null); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write fonts to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param string $latinFont - * @param array of string $fontSet - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - private function _writeFonts($objWriter, $latinFont, $fontSet) - { - // a:latin - $objWriter->startElement('a:latin'); - $objWriter->writeAttribute('typeface', $latinFont); - $objWriter->endElement(); - - // a:ea - $objWriter->startElement('a:ea'); - $objWriter->writeAttribute('typeface', ''); - $objWriter->endElement(); - - // a:cs - $objWriter->startElement('a:cs'); - $objWriter->writeAttribute('typeface', ''); - $objWriter->endElement(); - - foreach($fontSet as $fontScript => $typeface) { - $objWriter->startElement('a:font'); - $objWriter->writeAttribute('script', $fontScript); - $objWriter->writeAttribute('typeface', $typeface); - $objWriter->endElement(); - } - - } - - /** - * Write colour scheme to XML format - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - private function _writeColourScheme($objWriter) - { - foreach(self::$_colourScheme as $colourName => $colourValue) { - $objWriter->startElement('a:'.$colourName); - - $objWriter->startElement('a:srgbClr'); - $objWriter->writeAttribute('val', $colourValue); - $objWriter->endElement(); - - $objWriter->endElement(); - } - - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Workbook.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Workbook.php deleted file mode 100644 index f30929476..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Workbook.php +++ /dev/null @@ -1,456 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Workbook - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Workbook extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write workbook to XML format - * - * @param PHPExcel $pPHPExcel - * @param boolean $recalcRequired Indicate whether formulas should be recalculated before writing - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorkbook(PHPExcel $pPHPExcel = null, $recalcRequired = FALSE) - { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // workbook - $objWriter->startElement('workbook'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - // fileVersion - $this->_writeFileVersion($objWriter); - - // workbookPr - $this->_writeWorkbookPr($objWriter); - - // workbookProtection - $this->_writeWorkbookProtection($objWriter, $pPHPExcel); - - // bookViews - if ($this->getParentWriter()->getOffice2003Compatibility() === false) { - $this->_writeBookViews($objWriter, $pPHPExcel); - } - - // sheets - $this->_writeSheets($objWriter, $pPHPExcel); - - // definedNames - $this->_writeDefinedNames($objWriter, $pPHPExcel); - - // calcPr - $this->_writeCalcPr($objWriter,$recalcRequired); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } - - /** - * Write file version - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @throws PHPExcel_Writer_Exception - */ - private function _writeFileVersion(PHPExcel_Shared_XMLWriter $objWriter = null) - { - $objWriter->startElement('fileVersion'); - $objWriter->writeAttribute('appName', 'xl'); - $objWriter->writeAttribute('lastEdited', '4'); - $objWriter->writeAttribute('lowestEdited', '4'); - $objWriter->writeAttribute('rupBuild', '4505'); - $objWriter->endElement(); - } - - /** - * Write WorkbookPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @throws PHPExcel_Writer_Exception - */ - private function _writeWorkbookPr(PHPExcel_Shared_XMLWriter $objWriter = null) - { - $objWriter->startElement('workbookPr'); - - if (PHPExcel_Shared_Date::getExcelCalendar() == PHPExcel_Shared_Date::CALENDAR_MAC_1904) { - $objWriter->writeAttribute('date1904', '1'); - } - - $objWriter->writeAttribute('codeName', 'ThisWorkbook'); - - $objWriter->endElement(); - } - - /** - * Write BookViews - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeBookViews(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - // bookViews - $objWriter->startElement('bookViews'); - - // workbookView - $objWriter->startElement('workbookView'); - - $objWriter->writeAttribute('activeTab', $pPHPExcel->getActiveSheetIndex()); - $objWriter->writeAttribute('autoFilterDateGrouping', '1'); - $objWriter->writeAttribute('firstSheet', '0'); - $objWriter->writeAttribute('minimized', '0'); - $objWriter->writeAttribute('showHorizontalScroll', '1'); - $objWriter->writeAttribute('showSheetTabs', '1'); - $objWriter->writeAttribute('showVerticalScroll', '1'); - $objWriter->writeAttribute('tabRatio', '600'); - $objWriter->writeAttribute('visibility', 'visible'); - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write WorkbookProtection - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeWorkbookProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - if ($pPHPExcel->getSecurity()->isSecurityEnabled()) { - $objWriter->startElement('workbookProtection'); - $objWriter->writeAttribute('lockRevision', ($pPHPExcel->getSecurity()->getLockRevision() ? 'true' : 'false')); - $objWriter->writeAttribute('lockStructure', ($pPHPExcel->getSecurity()->getLockStructure() ? 'true' : 'false')); - $objWriter->writeAttribute('lockWindows', ($pPHPExcel->getSecurity()->getLockWindows() ? 'true' : 'false')); - - if ($pPHPExcel->getSecurity()->getRevisionsPassword() != '') { - $objWriter->writeAttribute('revisionsPassword', $pPHPExcel->getSecurity()->getRevisionsPassword()); - } - - if ($pPHPExcel->getSecurity()->getWorkbookPassword() != '') { - $objWriter->writeAttribute('workbookPassword', $pPHPExcel->getSecurity()->getWorkbookPassword()); - } - - $objWriter->endElement(); - } - } - - /** - * Write calcPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param boolean $recalcRequired Indicate whether formulas should be recalculated before writing - * @throws PHPExcel_Writer_Exception - */ - private function _writeCalcPr(PHPExcel_Shared_XMLWriter $objWriter = null, $recalcRequired = TRUE) - { - $objWriter->startElement('calcPr'); - - // Set the calcid to a higher value than Excel itself will use, otherwise Excel will always recalc - // If MS Excel does do a recalc, then users opening a file in MS Excel will be prompted to save on exit - // because the file has changed - $objWriter->writeAttribute('calcId', '999999'); - $objWriter->writeAttribute('calcMode', 'auto'); - // fullCalcOnLoad isn't needed if we've recalculating for the save - $objWriter->writeAttribute('calcCompleted', ($recalcRequired) ? 1 : 0); - $objWriter->writeAttribute('fullCalcOnLoad', ($recalcRequired) ? 0 : 1); - - $objWriter->endElement(); - } - - /** - * Write sheets - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheets(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - // Write sheets - $objWriter->startElement('sheets'); - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - // sheet - $this->_writeSheet( - $objWriter, - $pPHPExcel->getSheet($i)->getTitle(), - ($i + 1), - ($i + 1 + 3), - $pPHPExcel->getSheet($i)->getSheetState() - ); - } - - $objWriter->endElement(); - } - - /** - * Write sheet - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param string $pSheetname Sheet name - * @param int $pSheetId Sheet id - * @param int $pRelId Relationship ID - * @param string $sheetState Sheet state (visible, hidden, veryHidden) - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheet(PHPExcel_Shared_XMLWriter $objWriter = null, $pSheetname = '', $pSheetId = 1, $pRelId = 1, $sheetState = 'visible') - { - if ($pSheetname != '') { - // Write sheet - $objWriter->startElement('sheet'); - $objWriter->writeAttribute('name', $pSheetname); - $objWriter->writeAttribute('sheetId', $pSheetId); - if ($sheetState != 'visible' && $sheetState != '') { - $objWriter->writeAttribute('state', $sheetState); - } - $objWriter->writeAttribute('r:id', 'rId' . $pRelId); - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Defined Names - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNames(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel = null) - { - // Write defined names - $objWriter->startElement('definedNames'); - - // Named ranges - if (count($pPHPExcel->getNamedRanges()) > 0) { - // Named ranges - $this->_writeNamedRanges($objWriter, $pPHPExcel); - } - - // Other defined names - $sheetCount = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheetCount; ++$i) { - // definedName for autoFilter - $this->_writeDefinedNameForAutofilter($objWriter, $pPHPExcel->getSheet($i), $i); - - // definedName for Print_Titles - $this->_writeDefinedNameForPrintTitles($objWriter, $pPHPExcel->getSheet($i), $i); - - // definedName for Print_Area - $this->_writeDefinedNameForPrintArea($objWriter, $pPHPExcel->getSheet($i), $i); - } - - $objWriter->endElement(); - } - - /** - * Write named ranges - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel $pPHPExcel - * @throws PHPExcel_Writer_Exception - */ - private function _writeNamedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel $pPHPExcel) - { - // Loop named ranges - $namedRanges = $pPHPExcel->getNamedRanges(); - foreach ($namedRanges as $namedRange) { - $this->_writeDefinedNameForNamedRange($objWriter, $namedRange); - } - } - - /** - * Write Defined Name for named range - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_NamedRange $pNamedRange - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForNamedRange(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_NamedRange $pNamedRange) - { - // definedName for named range - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', $pNamedRange->getName()); - if ($pNamedRange->getLocalOnly()) { - $objWriter->writeAttribute('localSheetId', $pNamedRange->getScope()->getParent()->getIndex($pNamedRange->getScope())); - } - - // Create absolute coordinate and write as raw text - $range = PHPExcel_Cell::splitRange($pNamedRange->getRange()); - for ($i = 0; $i < count($range); $i++) { - $range[$i][0] = '\'' . str_replace("'", "''", $pNamedRange->getWorksheet()->getTitle()) . '\'!' . PHPExcel_Cell::absoluteReference($range[$i][0]); - if (isset($range[$i][1])) { - $range[$i][1] = PHPExcel_Cell::absoluteReference($range[$i][1]); - } - } - $range = PHPExcel_Cell::buildRange($range); - - $objWriter->writeRawData($range); - - $objWriter->endElement(); - } - - /** - * Write Defined Name for autoFilter - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet - * @param int $pSheetId - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForAutofilter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0) - { - // definedName for autoFilter - $autoFilterRange = $pSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', '_xlnm._FilterDatabase'); - $objWriter->writeAttribute('localSheetId', $pSheetId); - $objWriter->writeAttribute('hidden', '1'); - - // Create absolute coordinate and write as raw text - $range = PHPExcel_Cell::splitRange($autoFilterRange); - $range = $range[0]; - // Strip any worksheet ref so we can make the cell ref absolute - if (strpos($range[0],'!') !== false) { - list($ws,$range[0]) = explode('!',$range[0]); - } - - $range[0] = PHPExcel_Cell::absoluteCoordinate($range[0]); - $range[1] = PHPExcel_Cell::absoluteCoordinate($range[1]); - $range = implode(':', $range); - - $objWriter->writeRawData('\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!' . $range); - - $objWriter->endElement(); - } - } - - /** - * Write Defined Name for PrintTitles - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet - * @param int $pSheetId - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForPrintTitles(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0) - { - // definedName for PrintTitles - if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet() || $pSheet->getPageSetup()->isRowsToRepeatAtTopSet()) { - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', '_xlnm.Print_Titles'); - $objWriter->writeAttribute('localSheetId', $pSheetId); - - // Setting string - $settingString = ''; - - // Columns to repeat - if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet()) { - $repeat = $pSheet->getPageSetup()->getColumnsToRepeatAtLeft(); - - $settingString .= '\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!$' . $repeat[0] . ':$' . $repeat[1]; - } - - // Rows to repeat - if ($pSheet->getPageSetup()->isRowsToRepeatAtTopSet()) { - if ($pSheet->getPageSetup()->isColumnsToRepeatAtLeftSet()) { - $settingString .= ','; - } - - $repeat = $pSheet->getPageSetup()->getRowsToRepeatAtTop(); - - $settingString .= '\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!$' . $repeat[0] . ':$' . $repeat[1]; - } - - $objWriter->writeRawData($settingString); - - $objWriter->endElement(); - } - } - - /** - * Write Defined Name for PrintTitles - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet - * @param int $pSheetId - * @throws PHPExcel_Writer_Exception - */ - private function _writeDefinedNameForPrintArea(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pSheetId = 0) - { - // definedName for PrintArea - if ($pSheet->getPageSetup()->isPrintAreaSet()) { - $objWriter->startElement('definedName'); - $objWriter->writeAttribute('name', '_xlnm.Print_Area'); - $objWriter->writeAttribute('localSheetId', $pSheetId); - - // Setting string - $settingString = ''; - - // Print area - $printArea = PHPExcel_Cell::splitRange($pSheet->getPageSetup()->getPrintArea()); - - $chunks = array(); - foreach ($printArea as $printAreaRect) { - $printAreaRect[0] = PHPExcel_Cell::absoluteReference($printAreaRect[0]); - $printAreaRect[1] = PHPExcel_Cell::absoluteReference($printAreaRect[1]); - $chunks[] = '\'' . str_replace("'", "''", $pSheet->getTitle()) . '\'!' . implode(':', $printAreaRect); - } - - $objWriter->writeRawData(implode(',', $chunks)); - - $objWriter->endElement(); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Worksheet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Worksheet.php deleted file mode 100644 index 5cb803e52..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/Worksheet.php +++ /dev/null @@ -1,1220 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel2007_Worksheet extends PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Write worksheet to XML format - * - * @param PHPExcel_Worksheet $pSheet - * @param string[] $pStringTable - * @param boolean $includeCharts Flag indicating if we should write charts - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeWorksheet($pSheet = null, $pStringTable = null, $includeCharts = FALSE) - { - if (!is_null($pSheet)) { - // Create XML writer - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0','UTF-8','yes'); - - // Worksheet - $objWriter->startElement('worksheet'); - $objWriter->writeAttribute('xml:space', 'preserve'); - $objWriter->writeAttribute('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); - $objWriter->writeAttribute('xmlns:r', 'http://schemas.openxmlformats.org/officeDocument/2006/relationships'); - - // sheetPr - $this->_writeSheetPr($objWriter, $pSheet); - - // Dimension - $this->_writeDimension($objWriter, $pSheet); - - // sheetViews - $this->_writeSheetViews($objWriter, $pSheet); - - // sheetFormatPr - $this->_writeSheetFormatPr($objWriter, $pSheet); - - // cols - $this->_writeCols($objWriter, $pSheet); - - // sheetData - $this->_writeSheetData($objWriter, $pSheet, $pStringTable); - - // sheetProtection - $this->_writeSheetProtection($objWriter, $pSheet); - - // protectedRanges - $this->_writeProtectedRanges($objWriter, $pSheet); - - // autoFilter - $this->_writeAutoFilter($objWriter, $pSheet); - - // mergeCells - $this->_writeMergeCells($objWriter, $pSheet); - - // conditionalFormatting - $this->_writeConditionalFormatting($objWriter, $pSheet); - - // dataValidations - $this->_writeDataValidations($objWriter, $pSheet); - - // hyperlinks - $this->_writeHyperlinks($objWriter, $pSheet); - - // Print options - $this->_writePrintOptions($objWriter, $pSheet); - - // Page margins - $this->_writePageMargins($objWriter, $pSheet); - - // Page setup - $this->_writePageSetup($objWriter, $pSheet); - - // Header / footer - $this->_writeHeaderFooter($objWriter, $pSheet); - - // Breaks - $this->_writeBreaks($objWriter, $pSheet); - - // Drawings and/or Charts - $this->_writeDrawings($objWriter, $pSheet, $includeCharts); - - // LegacyDrawing - $this->_writeLegacyDrawing($objWriter, $pSheet); - - // LegacyDrawingHF - $this->_writeLegacyDrawingHF($objWriter, $pSheet); - - $objWriter->endElement(); - - // Return - return $objWriter->getData(); - } else { - throw new PHPExcel_Writer_Exception("Invalid PHPExcel_Worksheet object passed."); - } - } - - /** - * Write SheetPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetPr(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // sheetPr - $objWriter->startElement('sheetPr'); - //$objWriter->writeAttribute('codeName', $pSheet->getTitle()); - if($pSheet->getParent()->hasMacros()){//if the workbook have macros, we need to have codeName for the sheet - if($pSheet->hasCodeName()==false){ - $pSheet->setCodeName($pSheet->getTitle()); - } - $objWriter->writeAttribute('codeName', $pSheet->getCodeName()); - } - $autoFilterRange = $pSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - $objWriter->writeAttribute('filterMode', 1); - $pSheet->getAutoFilter()->showHideRows(); - } - - // tabColor - if ($pSheet->isTabColorSet()) { - $objWriter->startElement('tabColor'); - $objWriter->writeAttribute('rgb', $pSheet->getTabColor()->getARGB()); - $objWriter->endElement(); - } - - // outlinePr - $objWriter->startElement('outlinePr'); - $objWriter->writeAttribute('summaryBelow', ($pSheet->getShowSummaryBelow() ? '1' : '0')); - $objWriter->writeAttribute('summaryRight', ($pSheet->getShowSummaryRight() ? '1' : '0')); - $objWriter->endElement(); - - // pageSetUpPr - if ($pSheet->getPageSetup()->getFitToPage()) { - $objWriter->startElement('pageSetUpPr'); - $objWriter->writeAttribute('fitToPage', '1'); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - /** - * Write Dimension - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeDimension(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // dimension - $objWriter->startElement('dimension'); - $objWriter->writeAttribute('ref', $pSheet->calculateWorksheetDimension()); - $objWriter->endElement(); - } - - /** - * Write SheetViews - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetViews(PHPExcel_Shared_XMLWriter $objWriter = NULL, PHPExcel_Worksheet $pSheet = NULL) - { - // sheetViews - $objWriter->startElement('sheetViews'); - - // Sheet selected? - $sheetSelected = false; - if ($this->getParentWriter()->getPHPExcel()->getIndex($pSheet) == $this->getParentWriter()->getPHPExcel()->getActiveSheetIndex()) - $sheetSelected = true; - - - // sheetView - $objWriter->startElement('sheetView'); - $objWriter->writeAttribute('tabSelected', $sheetSelected ? '1' : '0'); - $objWriter->writeAttribute('workbookViewId', '0'); - - // Zoom scales - if ($pSheet->getSheetView()->getZoomScale() != 100) { - $objWriter->writeAttribute('zoomScale', $pSheet->getSheetView()->getZoomScale()); - } - if ($pSheet->getSheetView()->getZoomScaleNormal() != 100) { - $objWriter->writeAttribute('zoomScaleNormal', $pSheet->getSheetView()->getZoomScaleNormal()); - } - - // View Layout Type - if ($pSheet->getSheetView()->getView() !== PHPExcel_Worksheet_SheetView::SHEETVIEW_NORMAL) { - $objWriter->writeAttribute('view', $pSheet->getSheetView()->getView()); - } - - // Gridlines - if ($pSheet->getShowGridlines()) { - $objWriter->writeAttribute('showGridLines', 'true'); - } else { - $objWriter->writeAttribute('showGridLines', 'false'); - } - - // Row and column headers - if ($pSheet->getShowRowColHeaders()) { - $objWriter->writeAttribute('showRowColHeaders', '1'); - } else { - $objWriter->writeAttribute('showRowColHeaders', '0'); - } - - // Right-to-left - if ($pSheet->getRightToLeft()) { - $objWriter->writeAttribute('rightToLeft', 'true'); - } - - $activeCell = $pSheet->getActiveCell(); - - // Pane - $pane = ''; - $topLeftCell = $pSheet->getFreezePane(); - if (($topLeftCell != '') && ($topLeftCell != 'A1')) { - $activeCell = $topLeftCell; - // Calculate freeze coordinates - $xSplit = $ySplit = 0; - - list($xSplit, $ySplit) = PHPExcel_Cell::coordinateFromString($topLeftCell); - $xSplit = PHPExcel_Cell::columnIndexFromString($xSplit); - - // pane - $pane = 'topRight'; - $objWriter->startElement('pane'); - if ($xSplit > 1) - $objWriter->writeAttribute('xSplit', $xSplit - 1); - if ($ySplit > 1) { - $objWriter->writeAttribute('ySplit', $ySplit - 1); - $pane = ($xSplit > 1) ? 'bottomRight' : 'bottomLeft'; - } - $objWriter->writeAttribute('topLeftCell', $topLeftCell); - $objWriter->writeAttribute('activePane', $pane); - $objWriter->writeAttribute('state', 'frozen'); - $objWriter->endElement(); - - if (($xSplit > 1) && ($ySplit > 1)) { - // Write additional selections if more than two panes (ie both an X and a Y split) - $objWriter->startElement('selection'); $objWriter->writeAttribute('pane', 'topRight'); $objWriter->endElement(); - $objWriter->startElement('selection'); $objWriter->writeAttribute('pane', 'bottomLeft'); $objWriter->endElement(); - } - } - - // Selection -// if ($pane != '') { - // Only need to write selection element if we have a split pane - // We cheat a little by over-riding the active cell selection, setting it to the split cell - $objWriter->startElement('selection'); - if ($pane != '') { - $objWriter->writeAttribute('pane', $pane); - } - $objWriter->writeAttribute('activeCell', $activeCell); - $objWriter->writeAttribute('sqref', $activeCell); - $objWriter->endElement(); -// } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - - /** - * Write SheetFormatPr - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetFormatPr(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // sheetFormatPr - $objWriter->startElement('sheetFormatPr'); - - // Default row height - if ($pSheet->getDefaultRowDimension()->getRowHeight() >= 0) { - $objWriter->writeAttribute('customHeight', 'true'); - $objWriter->writeAttribute('defaultRowHeight', PHPExcel_Shared_String::FormatNumber($pSheet->getDefaultRowDimension()->getRowHeight())); - } else { - $objWriter->writeAttribute('defaultRowHeight', '14.4'); - } - - // Set Zero Height row - if ((string)$pSheet->getDefaultRowDimension()->getZeroHeight() == '1' || - strtolower((string)$pSheet->getDefaultRowDimension()->getZeroHeight()) == 'true' ) { - $objWriter->writeAttribute('zeroHeight', '1'); - } - - // Default column width - if ($pSheet->getDefaultColumnDimension()->getWidth() >= 0) { - $objWriter->writeAttribute('defaultColWidth', PHPExcel_Shared_String::FormatNumber($pSheet->getDefaultColumnDimension()->getWidth())); - } - - // Outline level - row - $outlineLevelRow = 0; - foreach ($pSheet->getRowDimensions() as $dimension) { - if ($dimension->getOutlineLevel() > $outlineLevelRow) { - $outlineLevelRow = $dimension->getOutlineLevel(); - } - } - $objWriter->writeAttribute('outlineLevelRow', (int)$outlineLevelRow); - - // Outline level - column - $outlineLevelCol = 0; - foreach ($pSheet->getColumnDimensions() as $dimension) { - if ($dimension->getOutlineLevel() > $outlineLevelCol) { - $outlineLevelCol = $dimension->getOutlineLevel(); - } - } - $objWriter->writeAttribute('outlineLevelCol', (int)$outlineLevelCol); - - $objWriter->endElement(); - } - - /** - * Write Cols - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeCols(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // cols - if (count($pSheet->getColumnDimensions()) > 0) { - $objWriter->startElement('cols'); - - $pSheet->calculateColumnWidths(); - - // Loop through column dimensions - foreach ($pSheet->getColumnDimensions() as $colDimension) { - // col - $objWriter->startElement('col'); - $objWriter->writeAttribute('min', PHPExcel_Cell::columnIndexFromString($colDimension->getColumnIndex())); - $objWriter->writeAttribute('max', PHPExcel_Cell::columnIndexFromString($colDimension->getColumnIndex())); - - if ($colDimension->getWidth() < 0) { - // No width set, apply default of 10 - $objWriter->writeAttribute('width', '9.10'); - } else { - // Width set - $objWriter->writeAttribute('width', PHPExcel_Shared_String::FormatNumber($colDimension->getWidth())); - } - - // Column visibility - if ($colDimension->getVisible() == false) { - $objWriter->writeAttribute('hidden', 'true'); - } - - // Auto size? - if ($colDimension->getAutoSize()) { - $objWriter->writeAttribute('bestFit', 'true'); - } - - // Custom width? - if ($colDimension->getWidth() != $pSheet->getDefaultColumnDimension()->getWidth()) { - $objWriter->writeAttribute('customWidth', 'true'); - } - - // Collapsed - if ($colDimension->getCollapsed() == true) { - $objWriter->writeAttribute('collapsed', 'true'); - } - - // Outline level - if ($colDimension->getOutlineLevel() > 0) { - $objWriter->writeAttribute('outlineLevel', $colDimension->getOutlineLevel()); - } - - // Style - $objWriter->writeAttribute('style', $colDimension->getXfIndex()); - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write SheetProtection - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetProtection(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // sheetProtection - $objWriter->startElement('sheetProtection'); - - if ($pSheet->getProtection()->getPassword() != '') { - $objWriter->writeAttribute('password', $pSheet->getProtection()->getPassword()); - } - - $objWriter->writeAttribute('sheet', ($pSheet->getProtection()->getSheet() ? 'true' : 'false')); - $objWriter->writeAttribute('objects', ($pSheet->getProtection()->getObjects() ? 'true' : 'false')); - $objWriter->writeAttribute('scenarios', ($pSheet->getProtection()->getScenarios() ? 'true' : 'false')); - $objWriter->writeAttribute('formatCells', ($pSheet->getProtection()->getFormatCells() ? 'true' : 'false')); - $objWriter->writeAttribute('formatColumns', ($pSheet->getProtection()->getFormatColumns() ? 'true' : 'false')); - $objWriter->writeAttribute('formatRows', ($pSheet->getProtection()->getFormatRows() ? 'true' : 'false')); - $objWriter->writeAttribute('insertColumns', ($pSheet->getProtection()->getInsertColumns() ? 'true' : 'false')); - $objWriter->writeAttribute('insertRows', ($pSheet->getProtection()->getInsertRows() ? 'true' : 'false')); - $objWriter->writeAttribute('insertHyperlinks', ($pSheet->getProtection()->getInsertHyperlinks() ? 'true' : 'false')); - $objWriter->writeAttribute('deleteColumns', ($pSheet->getProtection()->getDeleteColumns() ? 'true' : 'false')); - $objWriter->writeAttribute('deleteRows', ($pSheet->getProtection()->getDeleteRows() ? 'true' : 'false')); - $objWriter->writeAttribute('selectLockedCells', ($pSheet->getProtection()->getSelectLockedCells() ? 'true' : 'false')); - $objWriter->writeAttribute('sort', ($pSheet->getProtection()->getSort() ? 'true' : 'false')); - $objWriter->writeAttribute('autoFilter', ($pSheet->getProtection()->getAutoFilter() ? 'true' : 'false')); - $objWriter->writeAttribute('pivotTables', ($pSheet->getProtection()->getPivotTables() ? 'true' : 'false')); - $objWriter->writeAttribute('selectUnlockedCells', ($pSheet->getProtection()->getSelectUnlockedCells() ? 'true' : 'false')); - $objWriter->endElement(); - } - - /** - * Write ConditionalFormatting - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeConditionalFormatting(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Conditional id - $id = 1; - - // Loop through styles in the current worksheet - foreach ($pSheet->getConditionalStylesCollection() as $cellCoordinate => $conditionalStyles) { - foreach ($conditionalStyles as $conditional) { - // WHY was this again? - // if ($this->getParentWriter()->getStylesConditionalHashTable()->getIndexForHashCode( $conditional->getHashCode() ) == '') { - // continue; - // } - if ($conditional->getConditionType() != PHPExcel_Style_Conditional::CONDITION_NONE) { - // conditionalFormatting - $objWriter->startElement('conditionalFormatting'); - $objWriter->writeAttribute('sqref', $cellCoordinate); - - // cfRule - $objWriter->startElement('cfRule'); - $objWriter->writeAttribute('type', $conditional->getConditionType()); - $objWriter->writeAttribute('dxfId', $this->getParentWriter()->getStylesConditionalHashTable()->getIndexForHashCode( $conditional->getHashCode() )); - $objWriter->writeAttribute('priority', $id++); - - if (($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS - || - $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT) - && $conditional->getOperatorType() != PHPExcel_Style_Conditional::OPERATOR_NONE) { - $objWriter->writeAttribute('operator', $conditional->getOperatorType()); - } - - if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && !is_null($conditional->getText())) { - $objWriter->writeAttribute('text', $conditional->getText()); - } - - if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_CONTAINSTEXT - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'NOT(ISERROR(SEARCH("' . $conditional->getText() . '",' . $cellCoordinate . ')))'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_BEGINSWITH - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'LEFT(' . $cellCoordinate . ',' . strlen($conditional->getText()) . ')="' . $conditional->getText() . '"'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_ENDSWITH - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'RIGHT(' . $cellCoordinate . ',' . strlen($conditional->getText()) . ')="' . $conditional->getText() . '"'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - && $conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_NOTCONTAINS - && !is_null($conditional->getText())) { - $objWriter->writeElement('formula', 'ISERROR(SEARCH("' . $conditional->getText() . '",' . $cellCoordinate . '))'); - } else if ($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CONTAINSTEXT - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION) { - foreach ($conditional->getConditions() as $formula) { - // Formula - $objWriter->writeElement('formula', $formula); - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - } - } - - /** - * Write DataValidations - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeDataValidations(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Datavalidation collection - $dataValidationCollection = $pSheet->getDataValidationCollection(); - - // Write data validations? - if (!empty($dataValidationCollection)) { - $objWriter->startElement('dataValidations'); - $objWriter->writeAttribute('count', count($dataValidationCollection)); - - foreach ($dataValidationCollection as $coordinate => $dv) { - $objWriter->startElement('dataValidation'); - - if ($dv->getType() != '') { - $objWriter->writeAttribute('type', $dv->getType()); - } - - if ($dv->getErrorStyle() != '') { - $objWriter->writeAttribute('errorStyle', $dv->getErrorStyle()); - } - - if ($dv->getOperator() != '') { - $objWriter->writeAttribute('operator', $dv->getOperator()); - } - - $objWriter->writeAttribute('allowBlank', ($dv->getAllowBlank() ? '1' : '0')); - $objWriter->writeAttribute('showDropDown', (!$dv->getShowDropDown() ? '1' : '0')); - $objWriter->writeAttribute('showInputMessage', ($dv->getShowInputMessage() ? '1' : '0')); - $objWriter->writeAttribute('showErrorMessage', ($dv->getShowErrorMessage() ? '1' : '0')); - - if ($dv->getErrorTitle() !== '') { - $objWriter->writeAttribute('errorTitle', $dv->getErrorTitle()); - } - if ($dv->getError() !== '') { - $objWriter->writeAttribute('error', $dv->getError()); - } - if ($dv->getPromptTitle() !== '') { - $objWriter->writeAttribute('promptTitle', $dv->getPromptTitle()); - } - if ($dv->getPrompt() !== '') { - $objWriter->writeAttribute('prompt', $dv->getPrompt()); - } - - $objWriter->writeAttribute('sqref', $coordinate); - - if ($dv->getFormula1() !== '') { - $objWriter->writeElement('formula1', $dv->getFormula1()); - } - if ($dv->getFormula2() !== '') { - $objWriter->writeElement('formula2', $dv->getFormula2()); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write Hyperlinks - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeHyperlinks(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Hyperlink collection - $hyperlinkCollection = $pSheet->getHyperlinkCollection(); - - // Relation ID - $relationId = 1; - - // Write hyperlinks? - if (!empty($hyperlinkCollection)) { - $objWriter->startElement('hyperlinks'); - - foreach ($hyperlinkCollection as $coordinate => $hyperlink) { - $objWriter->startElement('hyperlink'); - - $objWriter->writeAttribute('ref', $coordinate); - if (!$hyperlink->isInternal()) { - $objWriter->writeAttribute('r:id', 'rId_hyperlink_' . $relationId); - ++$relationId; - } else { - $objWriter->writeAttribute('location', str_replace('sheet://', '', $hyperlink->getUrl())); - } - - if ($hyperlink->getTooltip() != '') { - $objWriter->writeAttribute('tooltip', $hyperlink->getTooltip()); - } - - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write ProtectedRanges - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeProtectedRanges(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - if (count($pSheet->getProtectedCells()) > 0) { - // protectedRanges - $objWriter->startElement('protectedRanges'); - - // Loop protectedRanges - foreach ($pSheet->getProtectedCells() as $protectedCell => $passwordHash) { - // protectedRange - $objWriter->startElement('protectedRange'); - $objWriter->writeAttribute('name', 'p' . md5($protectedCell)); - $objWriter->writeAttribute('sqref', $protectedCell); - if (!empty($passwordHash)) { - $objWriter->writeAttribute('password', $passwordHash); - } - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write MergeCells - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeMergeCells(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - if (count($pSheet->getMergeCells()) > 0) { - // mergeCells - $objWriter->startElement('mergeCells'); - - // Loop mergeCells - foreach ($pSheet->getMergeCells() as $mergeCell) { - // mergeCell - $objWriter->startElement('mergeCell'); - $objWriter->writeAttribute('ref', $mergeCell); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write PrintOptions - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writePrintOptions(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // printOptions - $objWriter->startElement('printOptions'); - - $objWriter->writeAttribute('gridLines', ($pSheet->getPrintGridlines() ? 'true': 'false')); - $objWriter->writeAttribute('gridLinesSet', 'true'); - - if ($pSheet->getPageSetup()->getHorizontalCentered()) { - $objWriter->writeAttribute('horizontalCentered', 'true'); - } - - if ($pSheet->getPageSetup()->getVerticalCentered()) { - $objWriter->writeAttribute('verticalCentered', 'true'); - } - - $objWriter->endElement(); - } - - /** - * Write PageMargins - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writePageMargins(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // pageMargins - $objWriter->startElement('pageMargins'); - $objWriter->writeAttribute('left', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getLeft())); - $objWriter->writeAttribute('right', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getRight())); - $objWriter->writeAttribute('top', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getTop())); - $objWriter->writeAttribute('bottom', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getBottom())); - $objWriter->writeAttribute('header', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getHeader())); - $objWriter->writeAttribute('footer', PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getFooter())); - $objWriter->endElement(); - } - - /** - * Write AutoFilter - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeAutoFilter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - $autoFilterRange = $pSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - // autoFilter - $objWriter->startElement('autoFilter'); - - // Strip any worksheet reference from the filter coordinates - $range = PHPExcel_Cell::splitRange($autoFilterRange); - $range = $range[0]; - // Strip any worksheet ref - if (strpos($range[0],'!') !== false) { - list($ws,$range[0]) = explode('!',$range[0]); - } - $range = implode(':', $range); - - $objWriter->writeAttribute('ref', str_replace('$','',$range)); - - $columns = $pSheet->getAutoFilter()->getColumns(); - if (count($columns > 0)) { - foreach($columns as $columnID => $column) { - $rules = $column->getRules(); - if (count($rules > 0)) { - $objWriter->startElement('filterColumn'); - $objWriter->writeAttribute('colId', $pSheet->getAutoFilter()->getColumnOffset($columnID)); - - $objWriter->startElement( $column->getFilterType()); - if ($column->getJoin() == PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_COLUMN_JOIN_AND) { - $objWriter->writeAttribute('and', 1); - } - - foreach ($rules as $rule) { - if (($column->getFilterType() === PHPExcel_Worksheet_AutoFilter_Column::AUTOFILTER_FILTERTYPE_FILTER) && - ($rule->getOperator() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL) && - ($rule->getValue() === '')) { - // Filter rule for Blanks - $objWriter->writeAttribute('blank', 1); - } elseif($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DYNAMICFILTER) { - // Dynamic Filter Rule - $objWriter->writeAttribute('type', $rule->getGrouping()); - $val = $column->getAttribute('val'); - if ($val !== NULL) { - $objWriter->writeAttribute('val', $val); - } - $maxVal = $column->getAttribute('maxVal'); - if ($maxVal !== NULL) { - $objWriter->writeAttribute('maxVal', $maxVal); - } - } elseif($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_TOPTENFILTER) { - // Top 10 Filter Rule - $objWriter->writeAttribute('val', $rule->getValue()); - $objWriter->writeAttribute('percent', (($rule->getOperator() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_PERCENT) ? '1' : '0')); - $objWriter->writeAttribute('top', (($rule->getGrouping() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_TOPTEN_TOP) ? '1': '0')); - } else { - // Filter, DateGroupItem or CustomFilter - $objWriter->startElement($rule->getRuleType()); - - if ($rule->getOperator() !== PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_COLUMN_RULE_EQUAL) { - $objWriter->writeAttribute('operator', $rule->getOperator()); - } - if ($rule->getRuleType() === PHPExcel_Worksheet_AutoFilter_Column_Rule::AUTOFILTER_RULETYPE_DATEGROUP) { - // Date Group filters - foreach($rule->getValue() as $key => $value) { - if ($value > '') $objWriter->writeAttribute($key, $value); - } - $objWriter->writeAttribute('dateTimeGrouping', $rule->getGrouping()); - } else { - $objWriter->writeAttribute('val', $rule->getValue()); - } - - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - - $objWriter->endElement(); - } - } - } - - $objWriter->endElement(); - } - } - - /** - * Write PageSetup - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writePageSetup(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // pageSetup - $objWriter->startElement('pageSetup'); - $objWriter->writeAttribute('paperSize', $pSheet->getPageSetup()->getPaperSize()); - $objWriter->writeAttribute('orientation', $pSheet->getPageSetup()->getOrientation()); - - if (!is_null($pSheet->getPageSetup()->getScale())) { - $objWriter->writeAttribute('scale', $pSheet->getPageSetup()->getScale()); - } - if (!is_null($pSheet->getPageSetup()->getFitToHeight())) { - $objWriter->writeAttribute('fitToHeight', $pSheet->getPageSetup()->getFitToHeight()); - } else { - $objWriter->writeAttribute('fitToHeight', '0'); - } - if (!is_null($pSheet->getPageSetup()->getFitToWidth())) { - $objWriter->writeAttribute('fitToWidth', $pSheet->getPageSetup()->getFitToWidth()); - } else { - $objWriter->writeAttribute('fitToWidth', '0'); - } - if (!is_null($pSheet->getPageSetup()->getFirstPageNumber())) { - $objWriter->writeAttribute('firstPageNumber', $pSheet->getPageSetup()->getFirstPageNumber()); - $objWriter->writeAttribute('useFirstPageNumber', '1'); - } - - $objWriter->endElement(); - } - - /** - * Write Header / Footer - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeHeaderFooter(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // headerFooter - $objWriter->startElement('headerFooter'); - $objWriter->writeAttribute('differentOddEven', ($pSheet->getHeaderFooter()->getDifferentOddEven() ? 'true' : 'false')); - $objWriter->writeAttribute('differentFirst', ($pSheet->getHeaderFooter()->getDifferentFirst() ? 'true' : 'false')); - $objWriter->writeAttribute('scaleWithDoc', ($pSheet->getHeaderFooter()->getScaleWithDocument() ? 'true' : 'false')); - $objWriter->writeAttribute('alignWithMargins', ($pSheet->getHeaderFooter()->getAlignWithMargins() ? 'true' : 'false')); - - $objWriter->writeElement('oddHeader', $pSheet->getHeaderFooter()->getOddHeader()); - $objWriter->writeElement('oddFooter', $pSheet->getHeaderFooter()->getOddFooter()); - $objWriter->writeElement('evenHeader', $pSheet->getHeaderFooter()->getEvenHeader()); - $objWriter->writeElement('evenFooter', $pSheet->getHeaderFooter()->getEvenFooter()); - $objWriter->writeElement('firstHeader', $pSheet->getHeaderFooter()->getFirstHeader()); - $objWriter->writeElement('firstFooter', $pSheet->getHeaderFooter()->getFirstFooter()); - $objWriter->endElement(); - } - - /** - * Write Breaks - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeBreaks(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // Get row and column breaks - $aRowBreaks = array(); - $aColumnBreaks = array(); - foreach ($pSheet->getBreaks() as $cell => $breakType) { - if ($breakType == PHPExcel_Worksheet::BREAK_ROW) { - $aRowBreaks[] = $cell; - } else if ($breakType == PHPExcel_Worksheet::BREAK_COLUMN) { - $aColumnBreaks[] = $cell; - } - } - - // rowBreaks - if (!empty($aRowBreaks)) { - $objWriter->startElement('rowBreaks'); - $objWriter->writeAttribute('count', count($aRowBreaks)); - $objWriter->writeAttribute('manualBreakCount', count($aRowBreaks)); - - foreach ($aRowBreaks as $cell) { - $coords = PHPExcel_Cell::coordinateFromString($cell); - - $objWriter->startElement('brk'); - $objWriter->writeAttribute('id', $coords[1]); - $objWriter->writeAttribute('man', '1'); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - - // Second, write column breaks - if (!empty($aColumnBreaks)) { - $objWriter->startElement('colBreaks'); - $objWriter->writeAttribute('count', count($aColumnBreaks)); - $objWriter->writeAttribute('manualBreakCount', count($aColumnBreaks)); - - foreach ($aColumnBreaks as $cell) { - $coords = PHPExcel_Cell::coordinateFromString($cell); - - $objWriter->startElement('brk'); - $objWriter->writeAttribute('id', PHPExcel_Cell::columnIndexFromString($coords[0]) - 1); - $objWriter->writeAttribute('man', '1'); - $objWriter->endElement(); - } - - $objWriter->endElement(); - } - } - - /** - * Write SheetData - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param string[] $pStringTable String table - * @throws PHPExcel_Writer_Exception - */ - private function _writeSheetData(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pStringTable = null) - { - if (is_array($pStringTable)) { - // Flipped stringtable, for faster index searching - $aFlippedStringTable = $this->getParentWriter()->getWriterPart('stringtable')->flipStringTable($pStringTable); - - // sheetData - $objWriter->startElement('sheetData'); - - // Get column count - $colCount = PHPExcel_Cell::columnIndexFromString($pSheet->getHighestColumn()); - - // Highest row number - $highestRow = $pSheet->getHighestRow(); - - // Loop through cells - $cellsByRow = array(); - foreach ($pSheet->getCellCollection() as $cellID) { - $cellAddress = PHPExcel_Cell::coordinateFromString($cellID); - $cellsByRow[$cellAddress[1]][] = $cellID; - } - - $currentRow = 0; - while($currentRow++ < $highestRow) { - // Get row dimension - $rowDimension = $pSheet->getRowDimension($currentRow); - - // Write current row? - $writeCurrentRow = isset($cellsByRow[$currentRow]) || - $rowDimension->getRowHeight() >= 0 || - $rowDimension->getVisible() == false || - $rowDimension->getCollapsed() == true || - $rowDimension->getOutlineLevel() > 0 || - $rowDimension->getXfIndex() !== null; - - if ($writeCurrentRow) { - // Start a new row - $objWriter->startElement('row'); - $objWriter->writeAttribute('r', $currentRow); - $objWriter->writeAttribute('spans', '1:' . $colCount); - - // Row dimensions - if ($rowDimension->getRowHeight() >= 0) { - $objWriter->writeAttribute('customHeight', '1'); - $objWriter->writeAttribute('ht', PHPExcel_Shared_String::FormatNumber($rowDimension->getRowHeight())); - } - - // Row visibility - if ($rowDimension->getVisible() == false) { - $objWriter->writeAttribute('hidden', 'true'); - } - - // Collapsed - if ($rowDimension->getCollapsed() == true) { - $objWriter->writeAttribute('collapsed', 'true'); - } - - // Outline level - if ($rowDimension->getOutlineLevel() > 0) { - $objWriter->writeAttribute('outlineLevel', $rowDimension->getOutlineLevel()); - } - - // Style - if ($rowDimension->getXfIndex() !== null) { - $objWriter->writeAttribute('s', $rowDimension->getXfIndex()); - $objWriter->writeAttribute('customFormat', '1'); - } - - // Write cells - if (isset($cellsByRow[$currentRow])) { - foreach($cellsByRow[$currentRow] as $cellAddress) { - // Write cell - $this->_writeCell($objWriter, $pSheet, $cellAddress, $pStringTable, $aFlippedStringTable); - } - } - - // End row - $objWriter->endElement(); - } - } - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Cell - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param PHPExcel_Cell $pCellAddress Cell Address - * @param string[] $pStringTable String table - * @param string[] $pFlippedStringTable String table (flipped), for faster index searching - * @throws PHPExcel_Writer_Exception - */ - private function _writeCell(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $pCellAddress = null, $pStringTable = null, $pFlippedStringTable = null) - { - if (is_array($pStringTable) && is_array($pFlippedStringTable)) { - // Cell - $pCell = $pSheet->getCell($pCellAddress); - $objWriter->startElement('c'); - $objWriter->writeAttribute('r', $pCellAddress); - - // Sheet styles - if ($pCell->getXfIndex() != '') { - $objWriter->writeAttribute('s', $pCell->getXfIndex()); - } - - // If cell value is supplied, write cell value - $cellValue = $pCell->getValue(); - if (is_object($cellValue) || $cellValue !== '') { - // Map type - $mappedType = $pCell->getDataType(); - - // Write data type depending on its type - switch (strtolower($mappedType)) { - case 'inlinestr': // Inline string - case 's': // String - case 'b': // Boolean - $objWriter->writeAttribute('t', $mappedType); - break; - case 'f': // Formula - $calculatedValue = ($this->getParentWriter()->getPreCalculateFormulas()) ? - $pCell->getCalculatedValue() : - $cellValue; - if (is_string($calculatedValue)) { - $objWriter->writeAttribute('t', 'str'); - } - break; - case 'e': // Error - $objWriter->writeAttribute('t', $mappedType); - } - - // Write data depending on its type - switch (strtolower($mappedType)) { - case 'inlinestr': // Inline string - if (! $cellValue instanceof PHPExcel_RichText) { - $objWriter->writeElement('t', PHPExcel_Shared_String::ControlCharacterPHP2OOXML( htmlspecialchars($cellValue) ) ); - } else if ($cellValue instanceof PHPExcel_RichText) { - $objWriter->startElement('is'); - $this->getParentWriter()->getWriterPart('stringtable')->writeRichText($objWriter, $cellValue); - $objWriter->endElement(); - } - - break; - case 's': // String - if (! $cellValue instanceof PHPExcel_RichText) { - if (isset($pFlippedStringTable[$cellValue])) { - $objWriter->writeElement('v', $pFlippedStringTable[$cellValue]); - } - } else if ($cellValue instanceof PHPExcel_RichText) { - $objWriter->writeElement('v', $pFlippedStringTable[$cellValue->getHashCode()]); - } - - break; - case 'f': // Formula - $attributes = $pCell->getFormulaAttributes(); - if($attributes['t'] == 'array') { - $objWriter->startElement('f'); - $objWriter->writeAttribute('t', 'array'); - $objWriter->writeAttribute('ref', $pCellAddress); - $objWriter->writeAttribute('aca', '1'); - $objWriter->writeAttribute('ca', '1'); - $objWriter->text(substr($cellValue, 1)); - $objWriter->endElement(); - } else { - $objWriter->writeElement('f', substr($cellValue, 1)); - } - if ($this->getParentWriter()->getOffice2003Compatibility() === false) { - if ($this->getParentWriter()->getPreCalculateFormulas()) { -// $calculatedValue = $pCell->getCalculatedValue(); - if (!is_array($calculatedValue) && substr($calculatedValue, 0, 1) != '#') { - $objWriter->writeElement('v', PHPExcel_Shared_String::FormatNumber($calculatedValue)); - } else { - $objWriter->writeElement('v', '0'); - } - } else { - $objWriter->writeElement('v', '0'); - } - } - break; - case 'n': // Numeric - // force point as decimal separator in case current locale uses comma - $objWriter->writeElement('v', str_replace(',', '.', $cellValue)); - break; - case 'b': // Boolean - $objWriter->writeElement('v', ($cellValue ? '1' : '0')); - break; - case 'e': // Error - if (substr($cellValue, 0, 1) == '=') { - $objWriter->writeElement('f', substr($cellValue, 1)); - $objWriter->writeElement('v', substr($cellValue, 1)); - } else { - $objWriter->writeElement('v', $cellValue); - } - - break; - } - } - - $objWriter->endElement(); - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Write Drawings - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @param boolean $includeCharts Flag indicating if we should include drawing details for charts - * @throws PHPExcel_Writer_Exception - */ - private function _writeDrawings(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null, $includeCharts = FALSE) - { - $chartCount = ($includeCharts) ? $pSheet->getChartCollection()->count() : 0; - // If sheet contains drawings, add the relationships - if (($pSheet->getDrawingCollection()->count() > 0) || - ($chartCount > 0)) { - $objWriter->startElement('drawing'); - $objWriter->writeAttribute('r:id', 'rId1'); - $objWriter->endElement(); - } - } - - /** - * Write LegacyDrawing - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeLegacyDrawing(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // If sheet contains comments, add the relationships - if (count($pSheet->getComments()) > 0) { - $objWriter->startElement('legacyDrawing'); - $objWriter->writeAttribute('r:id', 'rId_comments_vml1'); - $objWriter->endElement(); - } - } - - /** - * Write LegacyDrawingHF - * - * @param PHPExcel_Shared_XMLWriter $objWriter XML Writer - * @param PHPExcel_Worksheet $pSheet Worksheet - * @throws PHPExcel_Writer_Exception - */ - private function _writeLegacyDrawingHF(PHPExcel_Shared_XMLWriter $objWriter = null, PHPExcel_Worksheet $pSheet = null) - { - // If sheet contains images, add the relationships - if (count($pSheet->getHeaderFooter()->getImages()) > 0) { - $objWriter->startElement('legacyDrawingHF'); - $objWriter->writeAttribute('r:id', 'rId_headerfooter_vml1'); - $objWriter->endElement(); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/WriterPart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/WriterPart.php deleted file mode 100644 index 68b1124fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/WriterPart.php +++ /dev/null @@ -1,81 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel2007_WriterPart - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel2007 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_Excel2007_WriterPart -{ - /** - * Parent IWriter object - * - * @var PHPExcel_Writer_IWriter - */ - private $_parentWriter; - - /** - * Set parent IWriter object - * - * @param PHPExcel_Writer_IWriter $pWriter - * @throws PHPExcel_Writer_Exception - */ - public function setParentWriter(PHPExcel_Writer_IWriter $pWriter = null) { - $this->_parentWriter = $pWriter; - } - - /** - * Get parent IWriter object - * - * @return PHPExcel_Writer_IWriter - * @throws PHPExcel_Writer_Exception - */ - public function getParentWriter() { - if (!is_null($this->_parentWriter)) { - return $this->_parentWriter; - } else { - throw new PHPExcel_Writer_Exception("No parent PHPExcel_Writer_IWriter assigned."); - } - } - - /** - * Set parent IWriter object - * - * @param PHPExcel_Writer_IWriter $pWriter - * @throws PHPExcel_Writer_Exception - */ - public function __construct(PHPExcel_Writer_IWriter $pWriter = null) { - if (!is_null($pWriter)) { - $this->_parentWriter = $pWriter; - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel2007/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5.php deleted file mode 100644 index 1a990d045..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5.php +++ /dev/null @@ -1,935 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel5 - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5 extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * PHPExcel object - * - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Total number of shared strings in workbook - * - * @var int - */ - private $_str_total = 0; - - /** - * Number of unique shared strings in workbook - * - * @var int - */ - private $_str_unique = 0; - - /** - * Array of unique shared strings in workbook - * - * @var array - */ - private $_str_table = array(); - - /** - * Color cache. Mapping between RGB value and color index. - * - * @var array - */ - private $_colors; - - /** - * Formula parser - * - * @var PHPExcel_Writer_Excel5_Parser - */ - private $_parser; - - /** - * Identifier clusters for drawings. Used in MSODRAWINGGROUP record. - * - * @var array - */ - private $_IDCLs; - - /** - * Basic OLE object summary information - * - * @var array - */ - private $_summaryInformation; - - /** - * Extended OLE object document summary information - * - * @var array - */ - private $_documentSummaryInformation; - - /** - * Create a new PHPExcel_Writer_Excel5 - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) { - $this->_phpExcel = $phpExcel; - - $this->_parser = new PHPExcel_Writer_Excel5_Parser(); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) { - - // garbage collect - $this->_phpExcel->garbageCollect(); - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog(FALSE); - $saveDateReturnType = PHPExcel_Calculation_Functions::getReturnDateType(); - PHPExcel_Calculation_Functions::setReturnDateType(PHPExcel_Calculation_Functions::RETURNDATE_EXCEL); - - // initialize colors array - $this->_colors = array(); - - // Initialise workbook writer - $this->_writerWorkbook = new PHPExcel_Writer_Excel5_Workbook($this->_phpExcel, - $this->_str_total, $this->_str_unique, $this->_str_table, - $this->_colors, $this->_parser); - - // Initialise worksheet writers - $countSheets = $this->_phpExcel->getSheetCount(); - for ($i = 0; $i < $countSheets; ++$i) { - $this->_writerWorksheets[$i] = new PHPExcel_Writer_Excel5_Worksheet($this->_str_total, $this->_str_unique, - $this->_str_table, $this->_colors, - $this->_parser, - $this->_preCalculateFormulas, - $this->_phpExcel->getSheet($i)); - } - - // build Escher objects. Escher objects for workbooks needs to be build before Escher object for workbook. - $this->_buildWorksheetEschers(); - $this->_buildWorkbookEscher(); - - // add 15 identical cell style Xfs - // for now, we use the first cellXf instead of cellStyleXf - $cellXfCollection = $this->_phpExcel->getCellXfCollection(); - for ($i = 0; $i < 15; ++$i) { - $this->_writerWorkbook->addXfWriter($cellXfCollection[0], true); - } - - // add all the cell Xfs - foreach ($this->_phpExcel->getCellXfCollection() as $style) { - $this->_writerWorkbook->addXfWriter($style, false); - } - - // add fonts from rich text eleemnts - for ($i = 0; $i < $countSheets; ++$i) { - foreach ($this->_writerWorksheets[$i]->_phpSheet->getCellCollection() as $cellID) { - $cell = $this->_writerWorksheets[$i]->_phpSheet->getCell($cellID); - $cVal = $cell->getValue(); - if ($cVal instanceof PHPExcel_RichText) { - $elements = $cVal->getRichTextElements(); - foreach ($elements as $element) { - if ($element instanceof PHPExcel_RichText_Run) { - $font = $element->getFont(); - $this->_writerWorksheets[$i]->_fntHashIndex[$font->getHashCode()] = $this->_writerWorkbook->_addFont($font); - } - } - } - } - } - - // initialize OLE file - $workbookStreamName = 'Workbook'; - $OLE = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs($workbookStreamName)); - - // Write the worksheet streams before the global workbook stream, - // because the byte sizes of these are needed in the global workbook stream - $worksheetSizes = array(); - for ($i = 0; $i < $countSheets; ++$i) { - $this->_writerWorksheets[$i]->close(); - $worksheetSizes[] = $this->_writerWorksheets[$i]->_datasize; - } - - // add binary data for global workbook stream - $OLE->append($this->_writerWorkbook->writeWorkbook($worksheetSizes)); - - // add binary data for sheet streams - for ($i = 0; $i < $countSheets; ++$i) { - $OLE->append($this->_writerWorksheets[$i]->getData()); - } - - $this->_documentSummaryInformation = $this->_writeDocumentSummaryInformation(); - // initialize OLE Document Summary Information - if(isset($this->_documentSummaryInformation) && !empty($this->_documentSummaryInformation)){ - $OLE_DocumentSummaryInformation = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs(chr(5) . 'DocumentSummaryInformation')); - $OLE_DocumentSummaryInformation->append($this->_documentSummaryInformation); - } - - $this->_summaryInformation = $this->_writeSummaryInformation(); - // initialize OLE Summary Information - if(isset($this->_summaryInformation) && !empty($this->_summaryInformation)){ - $OLE_SummaryInformation = new PHPExcel_Shared_OLE_PPS_File(PHPExcel_Shared_OLE::Asc2Ucs(chr(5) . 'SummaryInformation')); - $OLE_SummaryInformation->append($this->_summaryInformation); - } - - // define OLE Parts - $arrRootData = array($OLE); - // initialize OLE Properties file - if(isset($OLE_SummaryInformation)){ - $arrRootData[] = $OLE_SummaryInformation; - } - // initialize OLE Extended Properties file - if(isset($OLE_DocumentSummaryInformation)){ - $arrRootData[] = $OLE_DocumentSummaryInformation; - } - - $root = new PHPExcel_Shared_OLE_PPS_Root(time(), time(), $arrRootData); - // save the OLE file - $res = $root->save($pFilename); - - PHPExcel_Calculation_Functions::setReturnDateType($saveDateReturnType); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); - } - - /** - * Set temporary storage directory - * - * @deprecated - * @param string $pValue Temporary storage directory - * @throws PHPExcel_Writer_Exception when directory does not exist - * @return PHPExcel_Writer_Excel5 - */ - public function setTempDir($pValue = '') { - return $this; - } - - /** - * Build the Worksheet Escher objects - * - */ - private function _buildWorksheetEschers() - { - // 1-based index to BstoreContainer - $blipIndex = 0; - $lastReducedSpId = 0; - $lastSpId = 0; - - foreach ($this->_phpExcel->getAllsheets() as $sheet) { - // sheet index - $sheetIndex = $sheet->getParent()->getIndex($sheet); - - $escher = null; - - // check if there are any shapes for this sheet - $filterRange = $sheet->getAutoFilter()->getRange(); - if (count($sheet->getDrawingCollection()) == 0 && empty($filterRange)) { - continue; - } - - // create intermediate Escher object - $escher = new PHPExcel_Shared_Escher(); - - // dgContainer - $dgContainer = new PHPExcel_Shared_Escher_DgContainer(); - - // set the drawing index (we use sheet index + 1) - $dgId = $sheet->getParent()->getIndex($sheet) + 1; - $dgContainer->setDgId($dgId); - $escher->setDgContainer($dgContainer); - - // spgrContainer - $spgrContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer(); - $dgContainer->setSpgrContainer($spgrContainer); - - // add one shape which is the group shape - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - $spContainer->setSpgr(true); - $spContainer->setSpType(0); - $spContainer->setSpId(($sheet->getParent()->getIndex($sheet) + 1) << 10); - $spgrContainer->addChild($spContainer); - - // add the shapes - - $countShapes[$sheetIndex] = 0; // count number of shapes (minus group shape), in sheet - - foreach ($sheet->getDrawingCollection() as $drawing) { - ++$blipIndex; - - ++$countShapes[$sheetIndex]; - - // add the shape - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - - // set the shape type - $spContainer->setSpType(0x004B); - // set the shape flag - $spContainer->setSpFlag(0x02); - - // set the shape index (we combine 1-based sheet index and $countShapes to create unique shape index) - $reducedSpId = $countShapes[$sheetIndex]; - $spId = $reducedSpId - | ($sheet->getParent()->getIndex($sheet) + 1) << 10; - $spContainer->setSpId($spId); - - // keep track of last reducedSpId - $lastReducedSpId = $reducedSpId; - - // keep track of last spId - $lastSpId = $spId; - - // set the BLIP index - $spContainer->setOPT(0x4104, $blipIndex); - - // set coordinates and offsets, client anchor - $coordinates = $drawing->getCoordinates(); - $offsetX = $drawing->getOffsetX(); - $offsetY = $drawing->getOffsetY(); - $width = $drawing->getWidth(); - $height = $drawing->getHeight(); - - $twoAnchor = PHPExcel_Shared_Excel5::oneAnchor2twoAnchor($sheet, $coordinates, $offsetX, $offsetY, $width, $height); - - $spContainer->setStartCoordinates($twoAnchor['startCoordinates']); - $spContainer->setStartOffsetX($twoAnchor['startOffsetX']); - $spContainer->setStartOffsetY($twoAnchor['startOffsetY']); - $spContainer->setEndCoordinates($twoAnchor['endCoordinates']); - $spContainer->setEndOffsetX($twoAnchor['endOffsetX']); - $spContainer->setEndOffsetY($twoAnchor['endOffsetY']); - - $spgrContainer->addChild($spContainer); - } - - // AutoFilters - if(!empty($filterRange)){ - $rangeBounds = PHPExcel_Cell::rangeBoundaries($filterRange); - $iNumColStart = $rangeBounds[0][0]; - $iNumColEnd = $rangeBounds[1][0]; - - $iInc = $iNumColStart; - while($iInc <= $iNumColEnd){ - ++$countShapes[$sheetIndex]; - - // create an Drawing Object for the dropdown - $oDrawing = new PHPExcel_Worksheet_BaseDrawing(); - // get the coordinates of drawing - $cDrawing = PHPExcel_Cell::stringFromColumnIndex($iInc - 1) . $rangeBounds[0][1]; - $oDrawing->setCoordinates($cDrawing); - $oDrawing->setWorksheet($sheet); - - // add the shape - $spContainer = new PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer(); - // set the shape type - $spContainer->setSpType(0x00C9); - // set the shape flag - $spContainer->setSpFlag(0x01); - - // set the shape index (we combine 1-based sheet index and $countShapes to create unique shape index) - $reducedSpId = $countShapes[$sheetIndex]; - $spId = $reducedSpId - | ($sheet->getParent()->getIndex($sheet) + 1) << 10; - $spContainer->setSpId($spId); - - // keep track of last reducedSpId - $lastReducedSpId = $reducedSpId; - - // keep track of last spId - $lastSpId = $spId; - - $spContainer->setOPT(0x007F, 0x01040104); // Protection -> fLockAgainstGrouping - $spContainer->setOPT(0x00BF, 0x00080008); // Text -> fFitTextToShape - $spContainer->setOPT(0x01BF, 0x00010000); // Fill Style -> fNoFillHitTest - $spContainer->setOPT(0x01FF, 0x00080000); // Line Style -> fNoLineDrawDash - $spContainer->setOPT(0x03BF, 0x000A0000); // Group Shape -> fPrint - - // set coordinates and offsets, client anchor - $endCoordinates = PHPExcel_Cell::stringFromColumnIndex(PHPExcel_Cell::stringFromColumnIndex($iInc - 1)); - $endCoordinates .= $rangeBounds[0][1] + 1; - - $spContainer->setStartCoordinates($cDrawing); - $spContainer->setStartOffsetX(0); - $spContainer->setStartOffsetY(0); - $spContainer->setEndCoordinates($endCoordinates); - $spContainer->setEndOffsetX(0); - $spContainer->setEndOffsetY(0); - - $spgrContainer->addChild($spContainer); - $iInc++; - } - } - - // identifier clusters, used for workbook Escher object - $this->_IDCLs[$dgId] = $lastReducedSpId; - - // set last shape index - $dgContainer->setLastSpId($lastSpId); - - // set the Escher object - $this->_writerWorksheets[$sheetIndex]->setEscher($escher); - } - } - - /** - * Build the Escher object corresponding to the MSODRAWINGGROUP record - */ - private function _buildWorkbookEscher() - { - $escher = null; - - // any drawings in this workbook? - $found = false; - foreach ($this->_phpExcel->getAllSheets() as $sheet) { - if (count($sheet->getDrawingCollection()) > 0) { - $found = true; - break; - } - } - - // nothing to do if there are no drawings - if (!$found) { - return; - } - - // if we reach here, then there are drawings in the workbook - $escher = new PHPExcel_Shared_Escher(); - - // dggContainer - $dggContainer = new PHPExcel_Shared_Escher_DggContainer(); - $escher->setDggContainer($dggContainer); - - // set IDCLs (identifier clusters) - $dggContainer->setIDCLs($this->_IDCLs); - - // this loop is for determining maximum shape identifier of all drawing - $spIdMax = 0; - $totalCountShapes = 0; - $countDrawings = 0; - - foreach ($this->_phpExcel->getAllsheets() as $sheet) { - $sheetCountShapes = 0; // count number of shapes (minus group shape), in sheet - - if (count($sheet->getDrawingCollection()) > 0) { - ++$countDrawings; - - foreach ($sheet->getDrawingCollection() as $drawing) { - ++$sheetCountShapes; - ++$totalCountShapes; - - $spId = $sheetCountShapes - | ($this->_phpExcel->getIndex($sheet) + 1) << 10; - $spIdMax = max($spId, $spIdMax); - } - } - } - - $dggContainer->setSpIdMax($spIdMax + 1); - $dggContainer->setCDgSaved($countDrawings); - $dggContainer->setCSpSaved($totalCountShapes + $countDrawings); // total number of shapes incl. one group shapes per drawing - - // bstoreContainer - $bstoreContainer = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer(); - $dggContainer->setBstoreContainer($bstoreContainer); - - // the BSE's (all the images) - foreach ($this->_phpExcel->getAllsheets() as $sheet) { - foreach ($sheet->getDrawingCollection() as $drawing) { - if ($drawing instanceof PHPExcel_Worksheet_Drawing) { - - $filename = $drawing->getPath(); - - list($imagesx, $imagesy, $imageFormat) = getimagesize($filename); - - switch ($imageFormat) { - - case 1: // GIF, not supported by BIFF8, we convert to PNG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - ob_start(); - imagepng(imagecreatefromgif($filename)); - $blipData = ob_get_contents(); - ob_end_clean(); - break; - - case 2: // JPEG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG; - $blipData = file_get_contents($filename); - break; - - case 3: // PNG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - $blipData = file_get_contents($filename); - break; - - case 6: // Windows DIB (BMP), we convert to PNG - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - ob_start(); - imagepng(PHPExcel_Shared_Drawing::imagecreatefrombmp($filename)); - $blipData = ob_get_contents(); - ob_end_clean(); - break; - - default: continue 2; - - } - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($blipData); - - $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE(); - $BSE->setBlipType($blipType); - $BSE->setBlip($blip); - - $bstoreContainer->addBSE($BSE); - - } else if ($drawing instanceof PHPExcel_Worksheet_MemoryDrawing) { - - switch ($drawing->getRenderingFunction()) { - - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_JPEG: - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG; - $renderingFunction = 'imagejpeg'; - break; - - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_GIF: - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_PNG: - case PHPExcel_Worksheet_MemoryDrawing::RENDERING_DEFAULT: - $blipType = PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG; - $renderingFunction = 'imagepng'; - break; - - } - - ob_start(); - call_user_func($renderingFunction, $drawing->getImageResource()); - $blipData = ob_get_contents(); - ob_end_clean(); - - $blip = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip(); - $blip->setData($blipData); - - $BSE = new PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE(); - $BSE->setBlipType($blipType); - $BSE->setBlip($blip); - - $bstoreContainer->addBSE($BSE); - } - } - } - - // Set the Escher object - $this->_writerWorkbook->setEscher($escher); - } - - /** - * Build the OLE Part for DocumentSummary Information - * @return string - */ - private function _writeDocumentSummaryInformation(){ - - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - $data = pack('v', 0xFFFE); - // offset: 2; size: 2; - $data .= pack('v', 0x0000); - // offset: 4; size: 2; OS version - $data .= pack('v', 0x0106); - // offset: 6; size: 2; OS indicator - $data .= pack('v', 0x0002); - // offset: 8; size: 16 - $data .= pack('VVVV', 0x00, 0x00, 0x00, 0x00); - // offset: 24; size: 4; section count - $data .= pack('V', 0x0001); - - // offset: 28; size: 16; first section's class id: 02 d5 cd d5 9c 2e 1b 10 93 97 08 00 2b 2c f9 ae - $data .= pack('vvvvvvvv', 0xD502, 0xD5CD, 0x2E9C, 0x101B, 0x9793, 0x0008, 0x2C2B, 0xAEF9); - // offset: 44; size: 4; offset of the start - $data .= pack('V', 0x30); - - // SECTION - $dataSection = array(); - $dataSection_NumProps = 0; - $dataSection_Summary = ''; - $dataSection_Content = ''; - - // GKPIDDSI_CODEPAGE: CodePage - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x01), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x02), // 2 byte signed integer - 'data' => array('data' => 1252)); - $dataSection_NumProps++; - - // GKPIDDSI_CATEGORY : Category - if($this->_phpExcel->getProperties()->getCategory()){ - $dataProp = $this->_phpExcel->getProperties()->getCategory(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // GKPIDDSI_VERSION :Version of the application that wrote the property storage - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x17), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x03), - 'data' => array('pack' => 'V', 'data' => 0x000C0000)); - $dataSection_NumProps++; - // GKPIDDSI_SCALE : FALSE - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0B), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - // GKPIDDSI_LINKSDIRTY : True if any of the values for the linked properties have changed outside of the application - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x10), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - // GKPIDDSI_SHAREDOC : FALSE - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x13), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - // GKPIDDSI_HYPERLINKSCHANGED : True if any of the values for the _PID_LINKS (hyperlink text) have changed outside of the application - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x16), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x0B), - 'data' => array('data' => false)); - $dataSection_NumProps++; - - // GKPIDDSI_DOCSPARTS - // MS-OSHARED p75 (2.3.3.2.2.1) - // Structure is VtVecUnalignedLpstrValue (2.3.3.1.9) - // cElements - $dataProp = pack('v', 0x0001); - $dataProp .= pack('v', 0x0000); - // array of UnalignedLpstr - // cch - $dataProp .= pack('v', 0x000A); - $dataProp .= pack('v', 0x0000); - // value - $dataProp .= 'Worksheet'.chr(0); - - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0D), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x101E), - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - - // GKPIDDSI_HEADINGPAIR - // VtVecHeadingPairValue - // cElements - $dataProp = pack('v', 0x0002); - $dataProp .= pack('v', 0x0000); - // Array of vtHeadingPair - // vtUnalignedString - headingString - // stringType - $dataProp .= pack('v', 0x001E); - // padding - $dataProp .= pack('v', 0x0000); - // UnalignedLpstr - // cch - $dataProp .= pack('v', 0x0013); - $dataProp .= pack('v', 0x0000); - // value - $dataProp .= 'Feuilles de calcul'; - // vtUnalignedString - headingParts - // wType : 0x0003 = 32 bit signed integer - $dataProp .= pack('v', 0x0300); - // padding - $dataProp .= pack('v', 0x0000); - // value - $dataProp .= pack('v', 0x0100); - $dataProp .= pack('v', 0x0000); - $dataProp .= pack('v', 0x0000); - $dataProp .= pack('v', 0x0000); - - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0C), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x100C), - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - - // 4 Section Length - // 4 Property count - // 8 * $dataSection_NumProps (8 = ID (4) + OffSet(4)) - $dataSection_Content_Offset = 8 + $dataSection_NumProps * 8; - foreach ($dataSection as $dataProp){ - // Summary - $dataSection_Summary .= pack($dataProp['summary']['pack'], $dataProp['summary']['data']); - // Offset - $dataSection_Summary .= pack($dataProp['offset']['pack'], $dataSection_Content_Offset); - // DataType - $dataSection_Content .= pack($dataProp['type']['pack'], $dataProp['type']['data']); - // Data - if($dataProp['type']['data'] == 0x02){ // 2 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x03){ // 4 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x0B){ // Boolean - if($dataProp['data']['data'] == false){ - $dataSection_Content .= pack('V', 0x0000); - } else { - $dataSection_Content .= pack('V', 0x0001); - } - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x1E){ // null-terminated string prepended by dword string length - // Null-terminated string - $dataProp['data']['data'] .= chr(0); - $dataProp['data']['length'] += 1; - // Complete the string with null string for being a %4 - $dataProp['data']['length'] = $dataProp['data']['length'] + ((4 - $dataProp['data']['length'] % 4)==4 ? 0 : (4 - $dataProp['data']['length'] % 4)); - $dataProp['data']['data'] = str_pad($dataProp['data']['data'], $dataProp['data']['length'], chr(0), STR_PAD_RIGHT); - - $dataSection_Content .= pack('V', $dataProp['data']['length']); - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 4 + strlen($dataProp['data']['data']); - } - elseif($dataProp['type']['data'] == 0x40){ // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 8; - } - else { - // Data Type Not Used at the moment - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + $dataProp['data']['length']; - } - } - // Now $dataSection_Content_Offset contains the size of the content - - // section header - // offset: $secOffset; size: 4; section length - // + x Size of the content (summary + content) - $data .= pack('V', $dataSection_Content_Offset); - // offset: $secOffset+4; size: 4; property count - $data .= pack('V', $dataSection_NumProps); - // Section Summary - $data .= $dataSection_Summary; - // Section Content - $data .= $dataSection_Content; - - return $data; - } - - /** - * Build the OLE Part for Summary Information - * @return string - */ - private function _writeSummaryInformation(){ - // offset: 0; size: 2; must be 0xFE 0xFF (UTF-16 LE byte order mark) - $data = pack('v', 0xFFFE); - // offset: 2; size: 2; - $data .= pack('v', 0x0000); - // offset: 4; size: 2; OS version - $data .= pack('v', 0x0106); - // offset: 6; size: 2; OS indicator - $data .= pack('v', 0x0002); - // offset: 8; size: 16 - $data .= pack('VVVV', 0x00, 0x00, 0x00, 0x00); - // offset: 24; size: 4; section count - $data .= pack('V', 0x0001); - - // offset: 28; size: 16; first section's class id: e0 85 9f f2 f9 4f 68 10 ab 91 08 00 2b 27 b3 d9 - $data .= pack('vvvvvvvv', 0x85E0, 0xF29F, 0x4FF9, 0x1068, 0x91AB, 0x0008, 0x272B, 0xD9B3); - // offset: 44; size: 4; offset of the start - $data .= pack('V', 0x30); - - // SECTION - $dataSection = array(); - $dataSection_NumProps = 0; - $dataSection_Summary = ''; - $dataSection_Content = ''; - - // CodePage : CP-1252 - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x01), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x02), // 2 byte signed integer - 'data' => array('data' => 1252)); - $dataSection_NumProps++; - - // Title - if($this->_phpExcel->getProperties()->getTitle()){ - $dataProp = $this->_phpExcel->getProperties()->getTitle(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x02), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Subject - if($this->_phpExcel->getProperties()->getSubject()){ - $dataProp = $this->_phpExcel->getProperties()->getSubject(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x03), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Author (Creator) - if($this->_phpExcel->getProperties()->getCreator()){ - $dataProp = $this->_phpExcel->getProperties()->getCreator(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x04), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Keywords - if($this->_phpExcel->getProperties()->getKeywords()){ - $dataProp = $this->_phpExcel->getProperties()->getKeywords(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x05), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Comments (Description) - if($this->_phpExcel->getProperties()->getDescription()){ - $dataProp = $this->_phpExcel->getProperties()->getDescription(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x06), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Last Saved By (LastModifiedBy) - if($this->_phpExcel->getProperties()->getLastModifiedBy()){ - $dataProp = $this->_phpExcel->getProperties()->getLastModifiedBy(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x08), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x1E), // null-terminated string prepended by dword string length - 'data' => array('data' => $dataProp, 'length' => strlen($dataProp))); - $dataSection_NumProps++; - } - // Created Date/Time - if($this->_phpExcel->getProperties()->getCreated()){ - $dataProp = $this->_phpExcel->getProperties()->getCreated(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0C), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x40), // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - 'data' => array('data' => PHPExcel_Shared_OLE::LocalDate2OLE($dataProp))); - $dataSection_NumProps++; - } - // Modified Date/Time - if($this->_phpExcel->getProperties()->getModified()){ - $dataProp = $this->_phpExcel->getProperties()->getModified(); - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x0D), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x40), // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - 'data' => array('data' => PHPExcel_Shared_OLE::LocalDate2OLE($dataProp))); - $dataSection_NumProps++; - } - // Security - $dataSection[] = array('summary'=> array('pack' => 'V', 'data' => 0x13), - 'offset' => array('pack' => 'V'), - 'type' => array('pack' => 'V', 'data' => 0x03), // 4 byte signed integer - 'data' => array('data' => 0x00)); - $dataSection_NumProps++; - - - // 4 Section Length - // 4 Property count - // 8 * $dataSection_NumProps (8 = ID (4) + OffSet(4)) - $dataSection_Content_Offset = 8 + $dataSection_NumProps * 8; - foreach ($dataSection as $dataProp){ - // Summary - $dataSection_Summary .= pack($dataProp['summary']['pack'], $dataProp['summary']['data']); - // Offset - $dataSection_Summary .= pack($dataProp['offset']['pack'], $dataSection_Content_Offset); - // DataType - $dataSection_Content .= pack($dataProp['type']['pack'], $dataProp['type']['data']); - // Data - if($dataProp['type']['data'] == 0x02){ // 2 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x03){ // 4 byte signed integer - $dataSection_Content .= pack('V', $dataProp['data']['data']); - - $dataSection_Content_Offset += 4 + 4; - } - elseif($dataProp['type']['data'] == 0x1E){ // null-terminated string prepended by dword string length - // Null-terminated string - $dataProp['data']['data'] .= chr(0); - $dataProp['data']['length'] += 1; - // Complete the string with null string for being a %4 - $dataProp['data']['length'] = $dataProp['data']['length'] + ((4 - $dataProp['data']['length'] % 4)==4 ? 0 : (4 - $dataProp['data']['length'] % 4)); - $dataProp['data']['data'] = str_pad($dataProp['data']['data'], $dataProp['data']['length'], chr(0), STR_PAD_RIGHT); - - $dataSection_Content .= pack('V', $dataProp['data']['length']); - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 4 + strlen($dataProp['data']['data']); - } - elseif($dataProp['type']['data'] == 0x40){ // Filetime (64-bit value representing the number of 100-nanosecond intervals since January 1, 1601) - $dataSection_Content .= $dataProp['data']['data']; - - $dataSection_Content_Offset += 4 + 8; - } - else { - // Data Type Not Used at the moment - } - } - // Now $dataSection_Content_Offset contains the size of the content - - // section header - // offset: $secOffset; size: 4; section length - // + x Size of the content (summary + content) - $data .= pack('V', $dataSection_Content_Offset); - // offset: $secOffset+4; size: 4; property count - $data .= pack('V', $dataSection_NumProps); - // Section Summary - $data .= $dataSection_Summary; - // Section Content - $data .= $dataSection_Content; - - return $data; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/BIFFwriter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/BIFFwriter.php deleted file mode 100644 index 86201134d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/BIFFwriter.php +++ /dev/null @@ -1,255 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_BIFFwriter (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_BIFFwriter - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_BIFFwriter -{ - /** - * The byte order of this architecture. 0 => little endian, 1 => big endian - * @var integer - */ - private static $_byte_order; - - /** - * The string containing the data of the BIFF stream - * @var string - */ - public $_data; - - /** - * The size of the data in bytes. Should be the same as strlen($this->_data) - * @var integer - */ - public $_datasize; - - /** - * The maximum length for a BIFF record (excluding record header and length field). See _addContinue() - * @var integer - * @see _addContinue() - */ - public $_limit = 8224; - - /** - * Constructor - */ - public function __construct() - { - $this->_data = ''; - $this->_datasize = 0; -// $this->_limit = 8224; - } - - /** - * Determine the byte order and store it as class data to avoid - * recalculating it for each call to new(). - * - * @return int - */ - public static function getByteOrder() - { - if (!isset(self::$_byte_order)) { - // Check if "pack" gives the required IEEE 64bit float - $teststr = pack("d", 1.2345); - $number = pack("C8", 0x8D, 0x97, 0x6E, 0x12, 0x83, 0xC0, 0xF3, 0x3F); - if ($number == $teststr) { - $byte_order = 0; // Little Endian - } elseif ($number == strrev($teststr)){ - $byte_order = 1; // Big Endian - } else { - // Give up. I'll fix this in a later version. - throw new PHPExcel_Writer_Exception("Required floating point format not supported on this platform."); - } - self::$_byte_order = $byte_order; - } - - return self::$_byte_order; - } - - /** - * General storage function - * - * @param string $data binary data to append - * @access private - */ - function _append($data) - { - if (strlen($data) - 4 > $this->_limit) { - $data = $this->_addContinue($data); - } - $this->_data .= $data; - $this->_datasize += strlen($data); - } - - /** - * General storage function like _append, but returns string instead of modifying $this->_data - * - * @param string $data binary data to write - * @return string - */ - public function writeData($data) - { - if (strlen($data) - 4 > $this->_limit) { - $data = $this->_addContinue($data); - } - $this->_datasize += strlen($data); - - return $data; - } - - /** - * Writes Excel BOF record to indicate the beginning of a stream or - * sub-stream in the BIFF file. - * - * @param integer $type Type of BIFF file to write: 0x0005 Workbook, - * 0x0010 Worksheet. - * @access private - */ - function _storeBof($type) - { - $record = 0x0809; // Record identifier (BIFF5-BIFF8) - $length = 0x0010; - - // by inspection of real files, MS Office Excel 2007 writes the following - $unknown = pack("VV", 0x000100D1, 0x00000406); - - $build = 0x0DBB; // Excel 97 - $year = 0x07CC; // Excel 97 - - $version = 0x0600; // BIFF8 - - $header = pack("vv", $record, $length); - $data = pack("vvvv", $version, $type, $build, $year); - $this->_append($header . $data . $unknown); - } - - /** - * Writes Excel EOF record to indicate the end of a BIFF stream. - * - * @access private - */ - function _storeEof() - { - $record = 0x000A; // Record identifier - $length = 0x0000; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $this->_append($header); - } - - /** - * Writes Excel EOF record to indicate the end of a BIFF stream. - * - * @access private - */ - public function writeEof() - { - $record = 0x000A; // Record identifier - $length = 0x0000; // Number of bytes to follow - $header = pack("vv", $record, $length); - return $this->writeData($header); - } - - /** - * Excel limits the size of BIFF records. In Excel 5 the limit is 2084 bytes. In - * Excel 97 the limit is 8228 bytes. Records that are longer than these limits - * must be split up into CONTINUE blocks. - * - * This function takes a long BIFF record and inserts CONTINUE records as - * necessary. - * - * @param string $data The original binary data to be written - * @return string A very convenient string of continue blocks - * @access private - */ - function _addContinue($data) - { - $limit = $this->_limit; - $record = 0x003C; // Record identifier - - // The first 2080/8224 bytes remain intact. However, we have to change - // the length field of the record. - $tmp = substr($data, 0, 2) . pack("v", $limit) . substr($data, 4, $limit); - - $header = pack("vv", $record, $limit); // Headers for continue records - - // Retrieve chunks of 2080/8224 bytes +4 for the header. - $data_length = strlen($data); - for ($i = $limit + 4; $i < ($data_length - $limit); $i += $limit) { - $tmp .= $header; - $tmp .= substr($data, $i, $limit); - } - - // Retrieve the last chunk of data - $header = pack("vv", $record, strlen($data) - $i); - $tmp .= $header; - $tmp .= substr($data, $i, strlen($data) - $i); - - return $tmp; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Escher.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Escher.php deleted file mode 100644 index 92e6a8d88..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Escher.php +++ /dev/null @@ -1,537 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Shared_Escher_DggContainer_BstoreContainer - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Escher -{ - /** - * The object we are writing - */ - private $_object; - - /** - * The written binary data - */ - private $_data; - - /** - * Shape offsets. Positions in binary stream where a new shape record begins - * - * @var array - */ - private $_spOffsets; - - /** - * Shape types. - * - * @var array - */ - private $_spTypes; - - /** - * Constructor - * - * @param mixed - */ - public function __construct($object) - { - $this->_object = $object; - } - - /** - * Process the object to be written - */ - public function close() - { - // initialize - $this->_data = ''; - - switch (get_class($this->_object)) { - - case 'PHPExcel_Shared_Escher': - if ($dggContainer = $this->_object->getDggContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($dggContainer); - $this->_data = $writer->close(); - } else if ($dgContainer = $this->_object->getDgContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($dgContainer); - $this->_data = $writer->close(); - $this->_spOffsets = $writer->getSpOffsets(); - $this->_spTypes = $writer->getSpTypes(); - } - break; - - case 'PHPExcel_Shared_Escher_DggContainer': - // this is a container record - - // initialize - $innerData = ''; - - // write the dgg - $recVer = 0x0; - $recInstance = 0x0000; - $recType = 0xF006; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - // dgg data - $dggData = - pack('VVVV' - , $this->_object->getSpIdMax() // maximum shape identifier increased by one - , $this->_object->getCDgSaved() + 1 // number of file identifier clusters increased by one - , $this->_object->getCSpSaved() - , $this->_object->getCDgSaved() // count total number of drawings saved - ); - - // add file identifier clusters (one per drawing) - $IDCLs = $this->_object->getIDCLs(); - - foreach ($IDCLs as $dgId => $maxReducedSpId) { - $dggData .= pack('VV', $dgId, $maxReducedSpId + 1); - } - - $header = pack('vvV', $recVerInstance, $recType, strlen($dggData)); - $innerData .= $header . $dggData; - - // write the bstoreContainer - if ($bstoreContainer = $this->_object->getBstoreContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($bstoreContainer); - $innerData .= $writer->close(); - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF000; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - break; - - case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer': - // this is a container record - - // initialize - $innerData = ''; - - // treat the inner data - if ($BSECollection = $this->_object->getBSECollection()) { - foreach ($BSECollection as $BSE) { - $writer = new PHPExcel_Writer_Excel5_Escher($BSE); - $innerData .= $writer->close(); - } - } - - // write the record - $recVer = 0xF; - $recInstance = count($this->_object->getBSECollection()); - $recType = 0xF001; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - break; - - case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE': - // this is a semi-container record - - // initialize - $innerData = ''; - - // here we treat the inner data - if ($blip = $this->_object->getBlip()) { - $writer = new PHPExcel_Writer_Excel5_Escher($blip); - $innerData .= $writer->close(); - } - - // initialize - $data = ''; - - $btWin32 = $this->_object->getBlipType(); - $btMacOS = $this->_object->getBlipType(); - $data .= pack('CC', $btWin32, $btMacOS); - - $rgbUid = pack('VVVV', 0,0,0,0); // todo - $data .= $rgbUid; - - $tag = 0; - $size = strlen($innerData); - $cRef = 1; - $foDelay = 0; //todo - $unused1 = 0x0; - $cbName = 0x0; - $unused2 = 0x0; - $unused3 = 0x0; - $data .= pack('vVVVCCCC', $tag, $size, $cRef, $foDelay, $unused1, $cbName, $unused2, $unused3); - - $data .= $innerData; - - // write the record - $recVer = 0x2; - $recInstance = $this->_object->getBlipType(); - $recType = 0xF007; - $length = strlen($data); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header; - - $this->_data .= $data; - break; - - case 'PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE_Blip': - // this is an atom record - - // write the record - switch ($this->_object->getParent()->getBlipType()) { - - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_JPEG: - // initialize - $innerData = ''; - - $rgbUid1 = pack('VVVV', 0,0,0,0); // todo - $innerData .= $rgbUid1; - - $tag = 0xFF; // todo - $innerData .= pack('C', $tag); - - $innerData .= $this->_object->getData(); - - $recVer = 0x0; - $recInstance = 0x46A; - $recType = 0xF01D; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header; - - $this->_data .= $innerData; - break; - - case PHPExcel_Shared_Escher_DggContainer_BstoreContainer_BSE::BLIPTYPE_PNG: - // initialize - $innerData = ''; - - $rgbUid1 = pack('VVVV', 0,0,0,0); // todo - $innerData .= $rgbUid1; - - $tag = 0xFF; // todo - $innerData .= pack('C', $tag); - - $innerData .= $this->_object->getData(); - - $recVer = 0x0; - $recInstance = 0x6E0; - $recType = 0xF01E; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header; - - $this->_data .= $innerData; - break; - - } - break; - - case 'PHPExcel_Shared_Escher_DgContainer': - // this is a container record - - // initialize - $innerData = ''; - - // write the dg - $recVer = 0x0; - $recInstance = $this->_object->getDgId(); - $recType = 0xF008; - $length = 8; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - // number of shapes in this drawing (including group shape) - $countShapes = count($this->_object->getSpgrContainer()->getChildren()); - $innerData .= $header . pack('VV', $countShapes, $this->_object->getLastSpId()); - //$innerData .= $header . pack('VV', 0, 0); - - // write the spgrContainer - if ($spgrContainer = $this->_object->getSpgrContainer()) { - $writer = new PHPExcel_Writer_Excel5_Escher($spgrContainer); - $innerData .= $writer->close(); - - // get the shape offsets relative to the spgrContainer record - $spOffsets = $writer->getSpOffsets(); - $spTypes = $writer->getSpTypes(); - - // save the shape offsets relative to dgContainer - foreach ($spOffsets as & $spOffset) { - $spOffset += 24; // add length of dgContainer header data (8 bytes) plus dg data (16 bytes) - } - - $this->_spOffsets = $spOffsets; - $this->_spTypes = $spTypes; - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF002; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - break; - - case 'PHPExcel_Shared_Escher_DgContainer_SpgrContainer': - // this is a container record - - // initialize - $innerData = ''; - - // initialize spape offsets - $totalSize = 8; - $spOffsets = array(); - $spTypes = array(); - - // treat the inner data - foreach ($this->_object->getChildren() as $spContainer) { - $writer = new PHPExcel_Writer_Excel5_Escher($spContainer); - $spData = $writer->close(); - $innerData .= $spData; - - // save the shape offsets (where new shape records begin) - $totalSize += strlen($spData); - $spOffsets[] = $totalSize; - - $spTypes = array_merge($spTypes, $writer->getSpTypes()); - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF003; - $length = strlen($innerData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $innerData; - $this->_spOffsets = $spOffsets; - $this->_spTypes = $spTypes; - break; - - case 'PHPExcel_Shared_Escher_DgContainer_SpgrContainer_SpContainer': - // initialize - $data = ''; - - // build the data - - // write group shape record, if necessary? - if ($this->_object->getSpgr()) { - $recVer = 0x1; - $recInstance = 0x0000; - $recType = 0xF009; - $length = 0x00000010; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $data .= $header . pack('VVVV', 0,0,0,0); - } - $this->_spTypes[] = ($this->_object->getSpType()); - - // write the shape record - $recVer = 0x2; - $recInstance = $this->_object->getSpType(); // shape type - $recType = 0xF00A; - $length = 0x00000008; - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $data .= $header . pack('VV', $this->_object->getSpId(), $this->_object->getSpgr() ? 0x0005 : 0x0A00); - - - // the options - if ($this->_object->getOPTCollection()) { - $optData = ''; - - $recVer = 0x3; - $recInstance = count($this->_object->getOPTCollection()); - $recType = 0xF00B; - foreach ($this->_object->getOPTCollection() as $property => $value) { - $optData .= pack('vV', $property, $value); - } - $length = strlen($optData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - $data .= $header . $optData; - } - - // the client anchor - if ($this->_object->getStartCoordinates()) { - $clientAnchorData = ''; - - $recVer = 0x0; - $recInstance = 0x0; - $recType = 0xF010; - - // start coordinates - list($column, $row) = PHPExcel_Cell::coordinateFromString($this->_object->getStartCoordinates()); - $c1 = PHPExcel_Cell::columnIndexFromString($column) - 1; - $r1 = $row - 1; - - // start offsetX - $startOffsetX = $this->_object->getStartOffsetX(); - - // start offsetY - $startOffsetY = $this->_object->getStartOffsetY(); - - // end coordinates - list($column, $row) = PHPExcel_Cell::coordinateFromString($this->_object->getEndCoordinates()); - $c2 = PHPExcel_Cell::columnIndexFromString($column) - 1; - $r2 = $row - 1; - - // end offsetX - $endOffsetX = $this->_object->getEndOffsetX(); - - // end offsetY - $endOffsetY = $this->_object->getEndOffsetY(); - - $clientAnchorData = pack('vvvvvvvvv', $this->_object->getSpFlag(), - $c1, $startOffsetX, $r1, $startOffsetY, - $c2, $endOffsetX, $r2, $endOffsetY); - - $length = strlen($clientAnchorData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - $data .= $header . $clientAnchorData; - } - - // the client data, just empty for now - if (!$this->_object->getSpgr()) { - $clientDataData = ''; - - $recVer = 0x0; - $recInstance = 0x0; - $recType = 0xF011; - - $length = strlen($clientDataData); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - $data .= $header . $clientDataData; - } - - // write the record - $recVer = 0xF; - $recInstance = 0x0000; - $recType = 0xF004; - $length = strlen($data); - - $recVerInstance = $recVer; - $recVerInstance |= $recInstance << 4; - - $header = pack('vvV', $recVerInstance, $recType, $length); - - $this->_data = $header . $data; - break; - - } - - return $this->_data; - } - - /** - * Gets the shape offsets - * - * @return array - */ - public function getSpOffsets() - { - return $this->_spOffsets; - } - - /** - * Gets the shape types - * - * @return array - */ - public function getSpTypes() - { - return $this->_spTypes; - } - - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Font.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Font.php deleted file mode 100644 index 0df194382..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Font.php +++ /dev/null @@ -1,165 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Excel5_Font - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Font -{ - /** - * Color index - * - * @var int - */ - private $_colorIndex; - - /** - * Font - * - * @var PHPExcel_Style_Font - */ - private $_font; - - /** - * Constructor - * - * @param PHPExcel_Style_Font $font - */ - public function __construct(PHPExcel_Style_Font $font = null) - { - $this->_colorIndex = 0x7FFF; - $this->_font = $font; - } - - /** - * Set the color index - * - * @param int $colorIndex - */ - public function setColorIndex($colorIndex) - { - $this->_colorIndex = $colorIndex; - } - - /** - * Get font record data - * - * @return string - */ - public function writeFont() - { - $font_outline = 0; - $font_shadow = 0; - - $icv = $this->_colorIndex; // Index to color palette - if ($this->_font->getSuperScript()) { - $sss = 1; - } else if ($this->_font->getSubScript()) { - $sss = 2; - } else { - $sss = 0; - } - $bFamily = 0; // Font family - $bCharSet = PHPExcel_Shared_Font::getCharsetFromFontName($this->_font->getName()); // Character set - - $record = 0x31; // Record identifier - $reserved = 0x00; // Reserved - $grbit = 0x00; // Font attributes - if ($this->_font->getItalic()) { - $grbit |= 0x02; - } - if ($this->_font->getStrikethrough()) { - $grbit |= 0x08; - } - if ($font_outline) { - $grbit |= 0x10; - } - if ($font_shadow) { - $grbit |= 0x20; - } - - $data = pack("vvvvvCCCC", - $this->_font->getSize() * 20, // Fontsize (in twips) - $grbit, - $icv, // Colour - self::_mapBold($this->_font->getBold()), // Font weight - $sss, // Superscript/Subscript - self::_mapUnderline($this->_font->getUnderline()), - $bFamily, - $bCharSet, - $reserved - ); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($this->_font->getName()); - - $length = strlen($data); - $header = pack("vv", $record, $length); - - return($header . $data); - } - - /** - * Map to BIFF5-BIFF8 codes for bold - * - * @param boolean $bold - * @return int - */ - private static function _mapBold($bold) { - if ($bold) { - return 0x2BC; // 700 = Bold font weight - } - return 0x190; // 400 = Normal font weight - } - - /** - * Map of BIFF2-BIFF8 codes for underline styles - * @static array of int - * - */ - private static $_mapUnderline = array( PHPExcel_Style_Font::UNDERLINE_NONE => 0x00, - PHPExcel_Style_Font::UNDERLINE_SINGLE => 0x01, - PHPExcel_Style_Font::UNDERLINE_DOUBLE => 0x02, - PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING => 0x21, - PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING => 0x22, - ); - /** - * Map underline - * - * @param string - * @return int - */ - private static function _mapUnderline($underline) { - if (isset(self::$_mapUnderline[$underline])) - return self::$_mapUnderline[$underline]; - return 0x00; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Parser.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Parser.php deleted file mode 100644 index bc6ddb132..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Parser.php +++ /dev/null @@ -1,1583 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Parser (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// * Class for parsing Excel formulas -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Parser - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Parser -{ - /** Constants */ - // Sheet title in unquoted form - // Invalid sheet title characters cannot occur in the sheet title: - // *:/\?[] - // Moreover, there are valid sheet title characters that cannot occur in unquoted form (there may be more?) - // +-% '^&<>=,;#()"{} - const REGEX_SHEET_TITLE_UNQUOTED = '[^\*\:\/\\\\\?\[\]\+\-\% \\\'\^\&\<\>\=\,\;\#\(\)\"\{\}]+'; - - // Sheet title in quoted form (without surrounding quotes) - // Invalid sheet title characters cannot occur in the sheet title: - // *:/\?[] (usual invalid sheet title characters) - // Single quote is represented as a pair '' - const REGEX_SHEET_TITLE_QUOTED = '(([^\*\:\/\\\\\?\[\]\\\'])+|(\\\'\\\')+)+'; - - /** - * The index of the character we are currently looking at - * @var integer - */ - public $_current_char; - - /** - * The token we are working on. - * @var string - */ - public $_current_token; - - /** - * The formula to parse - * @var string - */ - public $_formula; - - /** - * The character ahead of the current char - * @var string - */ - public $_lookahead; - - /** - * The parse tree to be generated - * @var string - */ - public $_parse_tree; - - /** - * Array of external sheets - * @var array - */ - public $_ext_sheets; - - /** - * Array of sheet references in the form of REF structures - * @var array - */ - public $_references; - - /** - * The class constructor - * - */ - public function __construct() - { - $this->_current_char = 0; - $this->_current_token = ''; // The token we are working on. - $this->_formula = ''; // The formula to parse. - $this->_lookahead = ''; // The character ahead of the current char. - $this->_parse_tree = ''; // The parse tree to be generated. - $this->_initializeHashes(); // Initialize the hashes: ptg's and function's ptg's - $this->_ext_sheets = array(); - $this->_references = array(); - } - - /** - * Initialize the ptg and function hashes. - * - * @access private - */ - function _initializeHashes() - { - // The Excel ptg indices - $this->ptg = array( - 'ptgExp' => 0x01, - 'ptgTbl' => 0x02, - 'ptgAdd' => 0x03, - 'ptgSub' => 0x04, - 'ptgMul' => 0x05, - 'ptgDiv' => 0x06, - 'ptgPower' => 0x07, - 'ptgConcat' => 0x08, - 'ptgLT' => 0x09, - 'ptgLE' => 0x0A, - 'ptgEQ' => 0x0B, - 'ptgGE' => 0x0C, - 'ptgGT' => 0x0D, - 'ptgNE' => 0x0E, - 'ptgIsect' => 0x0F, - 'ptgUnion' => 0x10, - 'ptgRange' => 0x11, - 'ptgUplus' => 0x12, - 'ptgUminus' => 0x13, - 'ptgPercent' => 0x14, - 'ptgParen' => 0x15, - 'ptgMissArg' => 0x16, - 'ptgStr' => 0x17, - 'ptgAttr' => 0x19, - 'ptgSheet' => 0x1A, - 'ptgEndSheet' => 0x1B, - 'ptgErr' => 0x1C, - 'ptgBool' => 0x1D, - 'ptgInt' => 0x1E, - 'ptgNum' => 0x1F, - 'ptgArray' => 0x20, - 'ptgFunc' => 0x21, - 'ptgFuncVar' => 0x22, - 'ptgName' => 0x23, - 'ptgRef' => 0x24, - 'ptgArea' => 0x25, - 'ptgMemArea' => 0x26, - 'ptgMemErr' => 0x27, - 'ptgMemNoMem' => 0x28, - 'ptgMemFunc' => 0x29, - 'ptgRefErr' => 0x2A, - 'ptgAreaErr' => 0x2B, - 'ptgRefN' => 0x2C, - 'ptgAreaN' => 0x2D, - 'ptgMemAreaN' => 0x2E, - 'ptgMemNoMemN' => 0x2F, - 'ptgNameX' => 0x39, - 'ptgRef3d' => 0x3A, - 'ptgArea3d' => 0x3B, - 'ptgRefErr3d' => 0x3C, - 'ptgAreaErr3d' => 0x3D, - 'ptgArrayV' => 0x40, - 'ptgFuncV' => 0x41, - 'ptgFuncVarV' => 0x42, - 'ptgNameV' => 0x43, - 'ptgRefV' => 0x44, - 'ptgAreaV' => 0x45, - 'ptgMemAreaV' => 0x46, - 'ptgMemErrV' => 0x47, - 'ptgMemNoMemV' => 0x48, - 'ptgMemFuncV' => 0x49, - 'ptgRefErrV' => 0x4A, - 'ptgAreaErrV' => 0x4B, - 'ptgRefNV' => 0x4C, - 'ptgAreaNV' => 0x4D, - 'ptgMemAreaNV' => 0x4E, - 'ptgMemNoMemN' => 0x4F, - 'ptgFuncCEV' => 0x58, - 'ptgNameXV' => 0x59, - 'ptgRef3dV' => 0x5A, - 'ptgArea3dV' => 0x5B, - 'ptgRefErr3dV' => 0x5C, - 'ptgAreaErr3d' => 0x5D, - 'ptgArrayA' => 0x60, - 'ptgFuncA' => 0x61, - 'ptgFuncVarA' => 0x62, - 'ptgNameA' => 0x63, - 'ptgRefA' => 0x64, - 'ptgAreaA' => 0x65, - 'ptgMemAreaA' => 0x66, - 'ptgMemErrA' => 0x67, - 'ptgMemNoMemA' => 0x68, - 'ptgMemFuncA' => 0x69, - 'ptgRefErrA' => 0x6A, - 'ptgAreaErrA' => 0x6B, - 'ptgRefNA' => 0x6C, - 'ptgAreaNA' => 0x6D, - 'ptgMemAreaNA' => 0x6E, - 'ptgMemNoMemN' => 0x6F, - 'ptgFuncCEA' => 0x78, - 'ptgNameXA' => 0x79, - 'ptgRef3dA' => 0x7A, - 'ptgArea3dA' => 0x7B, - 'ptgRefErr3dA' => 0x7C, - 'ptgAreaErr3d' => 0x7D - ); - - // Thanks to Michael Meeks and Gnumeric for the initial arg values. - // - // The following hash was generated by "function_locale.pl" in the distro. - // Refer to function_locale.pl for non-English function names. - // - // The array elements are as follow: - // ptg: The Excel function ptg code. - // args: The number of arguments that the function takes: - // >=0 is a fixed number of arguments. - // -1 is a variable number of arguments. - // class: The reference, value or array class of the function args. - // vol: The function is volatile. - // - $this->_functions = array( - // function ptg args class vol - 'COUNT' => array( 0, -1, 0, 0 ), - 'IF' => array( 1, -1, 1, 0 ), - 'ISNA' => array( 2, 1, 1, 0 ), - 'ISERROR' => array( 3, 1, 1, 0 ), - 'SUM' => array( 4, -1, 0, 0 ), - 'AVERAGE' => array( 5, -1, 0, 0 ), - 'MIN' => array( 6, -1, 0, 0 ), - 'MAX' => array( 7, -1, 0, 0 ), - 'ROW' => array( 8, -1, 0, 0 ), - 'COLUMN' => array( 9, -1, 0, 0 ), - 'NA' => array( 10, 0, 0, 0 ), - 'NPV' => array( 11, -1, 1, 0 ), - 'STDEV' => array( 12, -1, 0, 0 ), - 'DOLLAR' => array( 13, -1, 1, 0 ), - 'FIXED' => array( 14, -1, 1, 0 ), - 'SIN' => array( 15, 1, 1, 0 ), - 'COS' => array( 16, 1, 1, 0 ), - 'TAN' => array( 17, 1, 1, 0 ), - 'ATAN' => array( 18, 1, 1, 0 ), - 'PI' => array( 19, 0, 1, 0 ), - 'SQRT' => array( 20, 1, 1, 0 ), - 'EXP' => array( 21, 1, 1, 0 ), - 'LN' => array( 22, 1, 1, 0 ), - 'LOG10' => array( 23, 1, 1, 0 ), - 'ABS' => array( 24, 1, 1, 0 ), - 'INT' => array( 25, 1, 1, 0 ), - 'SIGN' => array( 26, 1, 1, 0 ), - 'ROUND' => array( 27, 2, 1, 0 ), - 'LOOKUP' => array( 28, -1, 0, 0 ), - 'INDEX' => array( 29, -1, 0, 1 ), - 'REPT' => array( 30, 2, 1, 0 ), - 'MID' => array( 31, 3, 1, 0 ), - 'LEN' => array( 32, 1, 1, 0 ), - 'VALUE' => array( 33, 1, 1, 0 ), - 'TRUE' => array( 34, 0, 1, 0 ), - 'FALSE' => array( 35, 0, 1, 0 ), - 'AND' => array( 36, -1, 0, 0 ), - 'OR' => array( 37, -1, 0, 0 ), - 'NOT' => array( 38, 1, 1, 0 ), - 'MOD' => array( 39, 2, 1, 0 ), - 'DCOUNT' => array( 40, 3, 0, 0 ), - 'DSUM' => array( 41, 3, 0, 0 ), - 'DAVERAGE' => array( 42, 3, 0, 0 ), - 'DMIN' => array( 43, 3, 0, 0 ), - 'DMAX' => array( 44, 3, 0, 0 ), - 'DSTDEV' => array( 45, 3, 0, 0 ), - 'VAR' => array( 46, -1, 0, 0 ), - 'DVAR' => array( 47, 3, 0, 0 ), - 'TEXT' => array( 48, 2, 1, 0 ), - 'LINEST' => array( 49, -1, 0, 0 ), - 'TREND' => array( 50, -1, 0, 0 ), - 'LOGEST' => array( 51, -1, 0, 0 ), - 'GROWTH' => array( 52, -1, 0, 0 ), - 'PV' => array( 56, -1, 1, 0 ), - 'FV' => array( 57, -1, 1, 0 ), - 'NPER' => array( 58, -1, 1, 0 ), - 'PMT' => array( 59, -1, 1, 0 ), - 'RATE' => array( 60, -1, 1, 0 ), - 'MIRR' => array( 61, 3, 0, 0 ), - 'IRR' => array( 62, -1, 0, 0 ), - 'RAND' => array( 63, 0, 1, 1 ), - 'MATCH' => array( 64, -1, 0, 0 ), - 'DATE' => array( 65, 3, 1, 0 ), - 'TIME' => array( 66, 3, 1, 0 ), - 'DAY' => array( 67, 1, 1, 0 ), - 'MONTH' => array( 68, 1, 1, 0 ), - 'YEAR' => array( 69, 1, 1, 0 ), - 'WEEKDAY' => array( 70, -1, 1, 0 ), - 'HOUR' => array( 71, 1, 1, 0 ), - 'MINUTE' => array( 72, 1, 1, 0 ), - 'SECOND' => array( 73, 1, 1, 0 ), - 'NOW' => array( 74, 0, 1, 1 ), - 'AREAS' => array( 75, 1, 0, 1 ), - 'ROWS' => array( 76, 1, 0, 1 ), - 'COLUMNS' => array( 77, 1, 0, 1 ), - 'OFFSET' => array( 78, -1, 0, 1 ), - 'SEARCH' => array( 82, -1, 1, 0 ), - 'TRANSPOSE' => array( 83, 1, 1, 0 ), - 'TYPE' => array( 86, 1, 1, 0 ), - 'ATAN2' => array( 97, 2, 1, 0 ), - 'ASIN' => array( 98, 1, 1, 0 ), - 'ACOS' => array( 99, 1, 1, 0 ), - 'CHOOSE' => array( 100, -1, 1, 0 ), - 'HLOOKUP' => array( 101, -1, 0, 0 ), - 'VLOOKUP' => array( 102, -1, 0, 0 ), - 'ISREF' => array( 105, 1, 0, 0 ), - 'LOG' => array( 109, -1, 1, 0 ), - 'CHAR' => array( 111, 1, 1, 0 ), - 'LOWER' => array( 112, 1, 1, 0 ), - 'UPPER' => array( 113, 1, 1, 0 ), - 'PROPER' => array( 114, 1, 1, 0 ), - 'LEFT' => array( 115, -1, 1, 0 ), - 'RIGHT' => array( 116, -1, 1, 0 ), - 'EXACT' => array( 117, 2, 1, 0 ), - 'TRIM' => array( 118, 1, 1, 0 ), - 'REPLACE' => array( 119, 4, 1, 0 ), - 'SUBSTITUTE' => array( 120, -1, 1, 0 ), - 'CODE' => array( 121, 1, 1, 0 ), - 'FIND' => array( 124, -1, 1, 0 ), - 'CELL' => array( 125, -1, 0, 1 ), - 'ISERR' => array( 126, 1, 1, 0 ), - 'ISTEXT' => array( 127, 1, 1, 0 ), - 'ISNUMBER' => array( 128, 1, 1, 0 ), - 'ISBLANK' => array( 129, 1, 1, 0 ), - 'T' => array( 130, 1, 0, 0 ), - 'N' => array( 131, 1, 0, 0 ), - 'DATEVALUE' => array( 140, 1, 1, 0 ), - 'TIMEVALUE' => array( 141, 1, 1, 0 ), - 'SLN' => array( 142, 3, 1, 0 ), - 'SYD' => array( 143, 4, 1, 0 ), - 'DDB' => array( 144, -1, 1, 0 ), - 'INDIRECT' => array( 148, -1, 1, 1 ), - 'CALL' => array( 150, -1, 1, 0 ), - 'CLEAN' => array( 162, 1, 1, 0 ), - 'MDETERM' => array( 163, 1, 2, 0 ), - 'MINVERSE' => array( 164, 1, 2, 0 ), - 'MMULT' => array( 165, 2, 2, 0 ), - 'IPMT' => array( 167, -1, 1, 0 ), - 'PPMT' => array( 168, -1, 1, 0 ), - 'COUNTA' => array( 169, -1, 0, 0 ), - 'PRODUCT' => array( 183, -1, 0, 0 ), - 'FACT' => array( 184, 1, 1, 0 ), - 'DPRODUCT' => array( 189, 3, 0, 0 ), - 'ISNONTEXT' => array( 190, 1, 1, 0 ), - 'STDEVP' => array( 193, -1, 0, 0 ), - 'VARP' => array( 194, -1, 0, 0 ), - 'DSTDEVP' => array( 195, 3, 0, 0 ), - 'DVARP' => array( 196, 3, 0, 0 ), - 'TRUNC' => array( 197, -1, 1, 0 ), - 'ISLOGICAL' => array( 198, 1, 1, 0 ), - 'DCOUNTA' => array( 199, 3, 0, 0 ), - 'USDOLLAR' => array( 204, -1, 1, 0 ), - 'FINDB' => array( 205, -1, 1, 0 ), - 'SEARCHB' => array( 206, -1, 1, 0 ), - 'REPLACEB' => array( 207, 4, 1, 0 ), - 'LEFTB' => array( 208, -1, 1, 0 ), - 'RIGHTB' => array( 209, -1, 1, 0 ), - 'MIDB' => array( 210, 3, 1, 0 ), - 'LENB' => array( 211, 1, 1, 0 ), - 'ROUNDUP' => array( 212, 2, 1, 0 ), - 'ROUNDDOWN' => array( 213, 2, 1, 0 ), - 'ASC' => array( 214, 1, 1, 0 ), - 'DBCS' => array( 215, 1, 1, 0 ), - 'RANK' => array( 216, -1, 0, 0 ), - 'ADDRESS' => array( 219, -1, 1, 0 ), - 'DAYS360' => array( 220, -1, 1, 0 ), - 'TODAY' => array( 221, 0, 1, 1 ), - 'VDB' => array( 222, -1, 1, 0 ), - 'MEDIAN' => array( 227, -1, 0, 0 ), - 'SUMPRODUCT' => array( 228, -1, 2, 0 ), - 'SINH' => array( 229, 1, 1, 0 ), - 'COSH' => array( 230, 1, 1, 0 ), - 'TANH' => array( 231, 1, 1, 0 ), - 'ASINH' => array( 232, 1, 1, 0 ), - 'ACOSH' => array( 233, 1, 1, 0 ), - 'ATANH' => array( 234, 1, 1, 0 ), - 'DGET' => array( 235, 3, 0, 0 ), - 'INFO' => array( 244, 1, 1, 1 ), - 'DB' => array( 247, -1, 1, 0 ), - 'FREQUENCY' => array( 252, 2, 0, 0 ), - 'ERROR.TYPE' => array( 261, 1, 1, 0 ), - 'REGISTER.ID' => array( 267, -1, 1, 0 ), - 'AVEDEV' => array( 269, -1, 0, 0 ), - 'BETADIST' => array( 270, -1, 1, 0 ), - 'GAMMALN' => array( 271, 1, 1, 0 ), - 'BETAINV' => array( 272, -1, 1, 0 ), - 'BINOMDIST' => array( 273, 4, 1, 0 ), - 'CHIDIST' => array( 274, 2, 1, 0 ), - 'CHIINV' => array( 275, 2, 1, 0 ), - 'COMBIN' => array( 276, 2, 1, 0 ), - 'CONFIDENCE' => array( 277, 3, 1, 0 ), - 'CRITBINOM' => array( 278, 3, 1, 0 ), - 'EVEN' => array( 279, 1, 1, 0 ), - 'EXPONDIST' => array( 280, 3, 1, 0 ), - 'FDIST' => array( 281, 3, 1, 0 ), - 'FINV' => array( 282, 3, 1, 0 ), - 'FISHER' => array( 283, 1, 1, 0 ), - 'FISHERINV' => array( 284, 1, 1, 0 ), - 'FLOOR' => array( 285, 2, 1, 0 ), - 'GAMMADIST' => array( 286, 4, 1, 0 ), - 'GAMMAINV' => array( 287, 3, 1, 0 ), - 'CEILING' => array( 288, 2, 1, 0 ), - 'HYPGEOMDIST' => array( 289, 4, 1, 0 ), - 'LOGNORMDIST' => array( 290, 3, 1, 0 ), - 'LOGINV' => array( 291, 3, 1, 0 ), - 'NEGBINOMDIST' => array( 292, 3, 1, 0 ), - 'NORMDIST' => array( 293, 4, 1, 0 ), - 'NORMSDIST' => array( 294, 1, 1, 0 ), - 'NORMINV' => array( 295, 3, 1, 0 ), - 'NORMSINV' => array( 296, 1, 1, 0 ), - 'STANDARDIZE' => array( 297, 3, 1, 0 ), - 'ODD' => array( 298, 1, 1, 0 ), - 'PERMUT' => array( 299, 2, 1, 0 ), - 'POISSON' => array( 300, 3, 1, 0 ), - 'TDIST' => array( 301, 3, 1, 0 ), - 'WEIBULL' => array( 302, 4, 1, 0 ), - 'SUMXMY2' => array( 303, 2, 2, 0 ), - 'SUMX2MY2' => array( 304, 2, 2, 0 ), - 'SUMX2PY2' => array( 305, 2, 2, 0 ), - 'CHITEST' => array( 306, 2, 2, 0 ), - 'CORREL' => array( 307, 2, 2, 0 ), - 'COVAR' => array( 308, 2, 2, 0 ), - 'FORECAST' => array( 309, 3, 2, 0 ), - 'FTEST' => array( 310, 2, 2, 0 ), - 'INTERCEPT' => array( 311, 2, 2, 0 ), - 'PEARSON' => array( 312, 2, 2, 0 ), - 'RSQ' => array( 313, 2, 2, 0 ), - 'STEYX' => array( 314, 2, 2, 0 ), - 'SLOPE' => array( 315, 2, 2, 0 ), - 'TTEST' => array( 316, 4, 2, 0 ), - 'PROB' => array( 317, -1, 2, 0 ), - 'DEVSQ' => array( 318, -1, 0, 0 ), - 'GEOMEAN' => array( 319, -1, 0, 0 ), - 'HARMEAN' => array( 320, -1, 0, 0 ), - 'SUMSQ' => array( 321, -1, 0, 0 ), - 'KURT' => array( 322, -1, 0, 0 ), - 'SKEW' => array( 323, -1, 0, 0 ), - 'ZTEST' => array( 324, -1, 0, 0 ), - 'LARGE' => array( 325, 2, 0, 0 ), - 'SMALL' => array( 326, 2, 0, 0 ), - 'QUARTILE' => array( 327, 2, 0, 0 ), - 'PERCENTILE' => array( 328, 2, 0, 0 ), - 'PERCENTRANK' => array( 329, -1, 0, 0 ), - 'MODE' => array( 330, -1, 2, 0 ), - 'TRIMMEAN' => array( 331, 2, 0, 0 ), - 'TINV' => array( 332, 2, 1, 0 ), - 'CONCATENATE' => array( 336, -1, 1, 0 ), - 'POWER' => array( 337, 2, 1, 0 ), - 'RADIANS' => array( 342, 1, 1, 0 ), - 'DEGREES' => array( 343, 1, 1, 0 ), - 'SUBTOTAL' => array( 344, -1, 0, 0 ), - 'SUMIF' => array( 345, -1, 0, 0 ), - 'COUNTIF' => array( 346, 2, 0, 0 ), - 'COUNTBLANK' => array( 347, 1, 0, 0 ), - 'ISPMT' => array( 350, 4, 1, 0 ), - 'DATEDIF' => array( 351, 3, 1, 0 ), - 'DATESTRING' => array( 352, 1, 1, 0 ), - 'NUMBERSTRING' => array( 353, 2, 1, 0 ), - 'ROMAN' => array( 354, -1, 1, 0 ), - 'GETPIVOTDATA' => array( 358, -1, 0, 0 ), - 'HYPERLINK' => array( 359, -1, 1, 0 ), - 'PHONETIC' => array( 360, 1, 0, 0 ), - 'AVERAGEA' => array( 361, -1, 0, 0 ), - 'MAXA' => array( 362, -1, 0, 0 ), - 'MINA' => array( 363, -1, 0, 0 ), - 'STDEVPA' => array( 364, -1, 0, 0 ), - 'VARPA' => array( 365, -1, 0, 0 ), - 'STDEVA' => array( 366, -1, 0, 0 ), - 'VARA' => array( 367, -1, 0, 0 ), - 'BAHTTEXT' => array( 368, 1, 0, 0 ), - ); - } - - /** - * Convert a token to the proper ptg value. - * - * @access private - * @param mixed $token The token to convert. - * @return mixed the converted token on success - */ - function _convert($token) - { - if (preg_match("/\"([^\"]|\"\"){0,255}\"/", $token)) { - return $this->_convertString($token); - - } elseif (is_numeric($token)) { - return $this->_convertNumber($token); - - // match references like A1 or $A$1 - } elseif (preg_match('/^\$?([A-Ia-i]?[A-Za-z])\$?(\d+)$/',$token)) { - return $this->_convertRef2d($token); - - // match external references like Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1 - } elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?(\d+)$/u",$token)) { - return $this->_convertRef3d($token); - - // match external references like 'Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1 - } elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?(\d+)$/u",$token)) { - return $this->_convertRef3d($token); - - // match ranges like A1:B2 or $A$1:$B$2 - } elseif (preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?(\d+)\:(\$)?[A-Ia-i]?[A-Za-z](\$)?(\d+)$/', $token)) { - return $this->_convertRange2d($token); - - // match external ranges like Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2 - } elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)\:\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)$/u",$token)) { - return $this->_convertRange3d($token); - - // match external ranges like 'Sheet1'!A1:B2 or 'Sheet1:Sheet2'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1:Sheet2'!$A$1:$B$2 - } elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)\:\\$?([A-Ia-i]?[A-Za-z])?\\$?(\d+)$/u",$token)) { - return $this->_convertRange3d($token); - - // operators (including parentheses) - } elseif (isset($this->ptg[$token])) { - return pack("C", $this->ptg[$token]); - - // match error codes - } elseif (preg_match("/^#[A-Z0\/]{3,5}[!?]{1}$/", $token) or $token == '#N/A') { - return $this->_convertError($token); - - // commented so argument number can be processed correctly. See toReversePolish(). - /*elseif (preg_match("/[A-Z0-9\xc0-\xdc\.]+/",$token)) - { - return($this->_convertFunction($token,$this->_func_args)); - }*/ - - // if it's an argument, ignore the token (the argument remains) - } elseif ($token == 'arg') { - return ''; - } - - // TODO: use real error codes - throw new PHPExcel_Writer_Exception("Unknown token $token"); - } - - /** - * Convert a number token to ptgInt or ptgNum - * - * @access private - * @param mixed $num an integer or double for conversion to its ptg value - */ - function _convertNumber($num) - { - // Integer in the range 0..2**16-1 - if ((preg_match("/^\d+$/", $num)) and ($num <= 65535)) { - return pack("Cv", $this->ptg['ptgInt'], $num); - } else { // A float - if (PHPExcel_Writer_Excel5_BIFFwriter::getByteOrder()) { // if it's Big Endian - $num = strrev($num); - } - return pack("Cd", $this->ptg['ptgNum'], $num); - } - } - - /** - * Convert a string token to ptgStr - * - * @access private - * @param string $string A string for conversion to its ptg value. - * @return mixed the converted token on success - */ - function _convertString($string) - { - // chop away beggining and ending quotes - $string = substr($string, 1, strlen($string) - 2); - if (strlen($string) > 255) { - throw new PHPExcel_Writer_Exception("String is too long"); - } - - return pack('C', $this->ptg['ptgStr']) . PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($string); - } - - /** - * Convert a function to a ptgFunc or ptgFuncVarV depending on the number of - * args that it takes. - * - * @access private - * @param string $token The name of the function for convertion to ptg value. - * @param integer $num_args The number of arguments the function receives. - * @return string The packed ptg for the function - */ - function _convertFunction($token, $num_args) - { - $args = $this->_functions[$token][1]; -// $volatile = $this->_functions[$token][3]; - - // Fixed number of args eg. TIME($i,$j,$k). - if ($args >= 0) { - return pack("Cv", $this->ptg['ptgFuncV'], $this->_functions[$token][0]); - } - // Variable number of args eg. SUM($i,$j,$k, ..). - if ($args == -1) { - return pack("CCv", $this->ptg['ptgFuncVarV'], $num_args, $this->_functions[$token][0]); - } - } - - /** - * Convert an Excel range such as A1:D4 to a ptgRefV. - * - * @access private - * @param string $range An Excel range in the A1:A2 - * @param int $class - */ - function _convertRange2d($range, $class=0) - { - - // TODO: possible class value 0,1,2 check Formula.pm - // Split the range into 2 cell refs - if (preg_match('/^(\$)?([A-Ia-i]?[A-Za-z])(\$)?(\d+)\:(\$)?([A-Ia-i]?[A-Za-z])(\$)?(\d+)$/', $range)) { - list($cell1, $cell2) = explode(':', $range); - } else { - // TODO: use real error codes - throw new PHPExcel_Writer_Exception("Unknown range separator"); - } - - // Convert the cell references - list($row1, $col1) = $this->_cellToPackedRowcol($cell1); - list($row2, $col2) = $this->_cellToPackedRowcol($cell2); - - // The ptg value depends on the class of the ptg. - if ($class == 0) { - $ptgArea = pack("C", $this->ptg['ptgArea']); - } elseif ($class == 1) { - $ptgArea = pack("C", $this->ptg['ptgAreaV']); - } elseif ($class == 2) { - $ptgArea = pack("C", $this->ptg['ptgAreaA']); - } else { - // TODO: use real error codes - throw new PHPExcel_Writer_Exception("Unknown class $class"); - } - return $ptgArea . $row1 . $row2 . $col1. $col2; - } - - /** - * Convert an Excel 3d range such as "Sheet1!A1:D4" or "Sheet1:Sheet2!A1:D4" to - * a ptgArea3d. - * - * @access private - * @param string $token An Excel range in the Sheet1!A1:A2 format. - * @return mixed The packed ptgArea3d token on success. - */ - function _convertRange3d($token) - { -// $class = 0; // formulas like Sheet1!$A$1:$A$2 in list type data validation need this class (0x3B) - - // Split the ref at the ! symbol - list($ext_ref, $range) = explode('!', $token); - - // Convert the external reference part (different for BIFF8) - $ext_ref = $this->_getRefIndex($ext_ref); - - // Split the range into 2 cell refs - list($cell1, $cell2) = explode(':', $range); - - // Convert the cell references - if (preg_match("/^(\\$)?[A-Ia-i]?[A-Za-z](\\$)?(\d+)$/", $cell1)) { - list($row1, $col1) = $this->_cellToPackedRowcol($cell1); - list($row2, $col2) = $this->_cellToPackedRowcol($cell2); - } else { // It's a rows range (like 26:27) - list($row1, $col1, $row2, $col2) = $this->_rangeToPackedRange($cell1.':'.$cell2); - } - - // The ptg value depends on the class of the ptg. -// if ($class == 0) { - $ptgArea = pack("C", $this->ptg['ptgArea3d']); -// } elseif ($class == 1) { -// $ptgArea = pack("C", $this->ptg['ptgArea3dV']); -// } elseif ($class == 2) { -// $ptgArea = pack("C", $this->ptg['ptgArea3dA']); -// } else { -// throw new PHPExcel_Writer_Exception("Unknown class $class"); -// } - - return $ptgArea . $ext_ref . $row1 . $row2 . $col1. $col2; - } - - /** - * Convert an Excel reference such as A1, $B2, C$3 or $D$4 to a ptgRefV. - * - * @access private - * @param string $cell An Excel cell reference - * @return string The cell in packed() format with the corresponding ptg - */ - function _convertRef2d($cell) - { -// $class = 2; // as far as I know, this is magick. - - // Convert the cell reference - $cell_array = $this->_cellToPackedRowcol($cell); - list($row, $col) = $cell_array; - - // The ptg value depends on the class of the ptg. -// if ($class == 0) { -// $ptgRef = pack("C", $this->ptg['ptgRef']); -// } elseif ($class == 1) { -// $ptgRef = pack("C", $this->ptg['ptgRefV']); -// } elseif ($class == 2) { - $ptgRef = pack("C", $this->ptg['ptgRefA']); -// } else { -// // TODO: use real error codes -// throw new PHPExcel_Writer_Exception("Unknown class $class"); -// } - return $ptgRef.$row.$col; - } - - /** - * Convert an Excel 3d reference such as "Sheet1!A1" or "Sheet1:Sheet2!A1" to a - * ptgRef3d. - * - * @access private - * @param string $cell An Excel cell reference - * @return mixed The packed ptgRef3d token on success. - */ - function _convertRef3d($cell) - { -// $class = 2; // as far as I know, this is magick. - - // Split the ref at the ! symbol - list($ext_ref, $cell) = explode('!', $cell); - - // Convert the external reference part (different for BIFF8) - $ext_ref = $this->_getRefIndex($ext_ref); - - // Convert the cell reference part - list($row, $col) = $this->_cellToPackedRowcol($cell); - - // The ptg value depends on the class of the ptg. -// if ($class == 0) { -// $ptgRef = pack("C", $this->ptg['ptgRef3d']); -// } elseif ($class == 1) { -// $ptgRef = pack("C", $this->ptg['ptgRef3dV']); -// } elseif ($class == 2) { - $ptgRef = pack("C", $this->ptg['ptgRef3dA']); -// } else { -// throw new PHPExcel_Writer_Exception("Unknown class $class"); -// } - - return $ptgRef . $ext_ref. $row . $col; - } - - /** - * Convert an error code to a ptgErr - * - * @access private - * @param string $errorCode The error code for conversion to its ptg value - * @return string The error code ptgErr - */ - function _convertError($errorCode) - { - switch ($errorCode) { - case '#NULL!': return pack("C", 0x00); - case '#DIV/0!': return pack("C", 0x07); - case '#VALUE!': return pack("C", 0x0F); - case '#REF!': return pack("C", 0x17); - case '#NAME?': return pack("C", 0x1D); - case '#NUM!': return pack("C", 0x24); - case '#N/A': return pack("C", 0x2A); - } - return pack("C", 0xFF); - } - - /** - * Convert the sheet name part of an external reference, for example "Sheet1" or - * "Sheet1:Sheet2", to a packed structure. - * - * @access private - * @param string $ext_ref The name of the external reference - * @return string The reference index in packed() format - */ - function _packExtRef($ext_ref) - { - $ext_ref = preg_replace("/^'/", '', $ext_ref); // Remove leading ' if any. - $ext_ref = preg_replace("/'$/", '', $ext_ref); // Remove trailing ' if any. - - // Check if there is a sheet range eg., Sheet1:Sheet2. - if (preg_match("/:/", $ext_ref)) { - list($sheet_name1, $sheet_name2) = explode(':', $ext_ref); - - $sheet1 = $this->_getSheetIndex($sheet_name1); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name1 in formula"); - } - $sheet2 = $this->_getSheetIndex($sheet_name2); - if ($sheet2 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name2 in formula"); - } - - // Reverse max and min sheet numbers if necessary - if ($sheet1 > $sheet2) { - list($sheet1, $sheet2) = array($sheet2, $sheet1); - } - } else { // Single sheet name only. - $sheet1 = $this->_getSheetIndex($ext_ref); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $ext_ref in formula"); - } - $sheet2 = $sheet1; - } - - // References are stored relative to 0xFFFF. - $offset = -1 - $sheet1; - - return pack('vdvv', $offset, 0x00, $sheet1, $sheet2); - } - - /** - * Look up the REF index that corresponds to an external sheet name - * (or range). If it doesn't exist yet add it to the workbook's references - * array. It assumes all sheet names given must exist. - * - * @access private - * @param string $ext_ref The name of the external reference - * @return mixed The reference index in packed() format on success - */ - function _getRefIndex($ext_ref) - { - $ext_ref = preg_replace("/^'/", '', $ext_ref); // Remove leading ' if any. - $ext_ref = preg_replace("/'$/", '', $ext_ref); // Remove trailing ' if any. - $ext_ref = str_replace('\'\'', '\'', $ext_ref); // Replace escaped '' with ' - - // Check if there is a sheet range eg., Sheet1:Sheet2. - if (preg_match("/:/", $ext_ref)) { - list($sheet_name1, $sheet_name2) = explode(':', $ext_ref); - - $sheet1 = $this->_getSheetIndex($sheet_name1); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name1 in formula"); - } - $sheet2 = $this->_getSheetIndex($sheet_name2); - if ($sheet2 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $sheet_name2 in formula"); - } - - // Reverse max and min sheet numbers if necessary - if ($sheet1 > $sheet2) { - list($sheet1, $sheet2) = array($sheet2, $sheet1); - } - } else { // Single sheet name only. - $sheet1 = $this->_getSheetIndex($ext_ref); - if ($sheet1 == -1) { - throw new PHPExcel_Writer_Exception("Unknown sheet name $ext_ref in formula"); - } - $sheet2 = $sheet1; - } - - // assume all references belong to this document - $supbook_index = 0x00; - $ref = pack('vvv', $supbook_index, $sheet1, $sheet2); - $total_references = count($this->_references); - $index = -1; - for ($i = 0; $i < $total_references; ++$i) { - if ($ref == $this->_references[$i]) { - $index = $i; - break; - } - } - // if REF was not found add it to references array - if ($index == -1) { - $this->_references[$total_references] = $ref; - $index = $total_references; - } - - return pack('v', $index); - } - - /** - * Look up the index that corresponds to an external sheet name. The hash of - * sheet names is updated by the addworksheet() method of the - * PHPExcel_Writer_Excel5_Workbook class. - * - * @access private - * @param string $sheet_name Sheet name - * @return integer The sheet index, -1 if the sheet was not found - */ - function _getSheetIndex($sheet_name) - { - if (!isset($this->_ext_sheets[$sheet_name])) { - return -1; - } else { - return $this->_ext_sheets[$sheet_name]; - } - } - - /** - * This method is used to update the array of sheet names. It is - * called by the addWorksheet() method of the - * PHPExcel_Writer_Excel5_Workbook class. - * - * @access public - * @see PHPExcel_Writer_Excel5_Workbook::addWorksheet() - * @param string $name The name of the worksheet being added - * @param integer $index The index of the worksheet being added - */ - function setExtSheet($name, $index) - { - $this->_ext_sheets[$name] = $index; - } - - /** - * pack() row and column into the required 3 or 4 byte format. - * - * @access private - * @param string $cell The Excel cell reference to be packed - * @return array Array containing the row and column in packed() format - */ - function _cellToPackedRowcol($cell) - { - $cell = strtoupper($cell); - list($row, $col, $row_rel, $col_rel) = $this->_cellToRowcol($cell); - if ($col >= 256) { - throw new PHPExcel_Writer_Exception("Column in: $cell greater than 255"); - } - if ($row >= 65536) { - throw new PHPExcel_Writer_Exception("Row in: $cell greater than 65536 "); - } - - // Set the high bits to indicate if row or col are relative. - $col |= $col_rel << 14; - $col |= $row_rel << 15; - $col = pack('v', $col); - - $row = pack('v', $row); - - return array($row, $col); - } - - /** - * pack() row range into the required 3 or 4 byte format. - * Just using maximum col/rows, which is probably not the correct solution - * - * @access private - * @param string $range The Excel range to be packed - * @return array Array containing (row1,col1,row2,col2) in packed() format - */ - function _rangeToPackedRange($range) - { - preg_match('/(\$)?(\d+)\:(\$)?(\d+)/', $range, $match); - // return absolute rows if there is a $ in the ref - $row1_rel = empty($match[1]) ? 1 : 0; - $row1 = $match[2]; - $row2_rel = empty($match[3]) ? 1 : 0; - $row2 = $match[4]; - // Convert 1-index to zero-index - --$row1; - --$row2; - // Trick poor inocent Excel - $col1 = 0; - $col2 = 65535; // FIXME: maximum possible value for Excel 5 (change this!!!) - - // FIXME: this changes for BIFF8 - if (($row1 >= 65536) or ($row2 >= 65536)) { - throw new PHPExcel_Writer_Exception("Row in: $range greater than 65536 "); - } - - // Set the high bits to indicate if rows are relative. - $col1 |= $row1_rel << 15; - $col2 |= $row2_rel << 15; - $col1 = pack('v', $col1); - $col2 = pack('v', $col2); - - $row1 = pack('v', $row1); - $row2 = pack('v', $row2); - - return array($row1, $col1, $row2, $col2); - } - - /** - * Convert an Excel cell reference such as A1 or $B2 or C$3 or $D$4 to a zero - * indexed row and column number. Also returns two (0,1) values to indicate - * whether the row or column are relative references. - * - * @access private - * @param string $cell The Excel cell reference in A1 format. - * @return array - */ - function _cellToRowcol($cell) - { - preg_match('/(\$)?([A-I]?[A-Z])(\$)?(\d+)/',$cell,$match); - // return absolute column if there is a $ in the ref - $col_rel = empty($match[1]) ? 1 : 0; - $col_ref = $match[2]; - $row_rel = empty($match[3]) ? 1 : 0; - $row = $match[4]; - - // Convert base26 column string to a number. - $expn = strlen($col_ref) - 1; - $col = 0; - $col_ref_length = strlen($col_ref); - for ($i = 0; $i < $col_ref_length; ++$i) { - $col += (ord($col_ref{$i}) - 64) * pow(26, $expn); - --$expn; - } - - // Convert 1-index to zero-index - --$row; - --$col; - - return array($row, $col, $row_rel, $col_rel); - } - - /** - * Advance to the next valid token. - * - * @access private - */ - function _advance() - { - $i = $this->_current_char; - $formula_length = strlen($this->_formula); - // eat up white spaces - if ($i < $formula_length) { - while ($this->_formula{$i} == " ") { - ++$i; - } - - if ($i < ($formula_length - 1)) { - $this->_lookahead = $this->_formula{$i+1}; - } - $token = ''; - } - - while ($i < $formula_length) { - $token .= $this->_formula{$i}; - - if ($i < ($formula_length - 1)) { - $this->_lookahead = $this->_formula{$i+1}; - } else { - $this->_lookahead = ''; - } - - if ($this->_match($token) != '') { - //if ($i < strlen($this->_formula) - 1) { - // $this->_lookahead = $this->_formula{$i+1}; - //} - $this->_current_char = $i + 1; - $this->_current_token = $token; - return 1; - } - - if ($i < ($formula_length - 2)) { - $this->_lookahead = $this->_formula{$i+2}; - } else { // if we run out of characters _lookahead becomes empty - $this->_lookahead = ''; - } - ++$i; - } - //die("Lexical error ".$this->_current_char); - } - - /** - * Checks if it's a valid token. - * - * @access private - * @param mixed $token The token to check. - * @return mixed The checked token or false on failure - */ - function _match($token) - { - switch($token) { - case "+": - case "-": - case "*": - case "/": - case "(": - case ")": - case ",": - case ";": - case ">=": - case "<=": - case "=": - case "<>": - case "^": - case "&": - case "%": - return $token; - break; - case ">": - if ($this->_lookahead == '=') { // it's a GE token - break; - } - return $token; - break; - case "<": - // it's a LE or a NE token - if (($this->_lookahead == '=') or ($this->_lookahead == '>')) { - break; - } - return $token; - break; - default: - // if it's a reference A1 or $A$1 or $A1 or A$1 - if (preg_match('/^\$?[A-Ia-i]?[A-Za-z]\$?[0-9]+$/',$token) and - !preg_match("/[0-9]/",$this->_lookahead) and - ($this->_lookahead != ':') and ($this->_lookahead != '.') and - ($this->_lookahead != '!')) - { - return $token; - } - // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1) - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead) and - ($this->_lookahead != ':') and ($this->_lookahead != '.')) - { - return $token; - } - // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1) - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead) and - ($this->_lookahead != ':') and ($this->_lookahead != '.')) - { - return $token; - } - // if it's a range A1:A2 or $A$1:$A$2 - elseif (preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+:(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+$/', $token) and - !preg_match("/[0-9]/",$this->_lookahead)) - { - return $token; - } - // If it's an external range like Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2 - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead)) - { - return $token; - } - // If it's an external range like 'Sheet1'!A1:B2 or 'Sheet1:Sheet2'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1:Sheet2'!$A$1:$B$2 - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$token) and - !preg_match("/[0-9]/",$this->_lookahead)) - { - return $token; - } - // If it's a number (check that it's not a sheet name or range) - elseif (is_numeric($token) and - (!is_numeric($token.$this->_lookahead) or ($this->_lookahead == '')) and - ($this->_lookahead != '!') and ($this->_lookahead != ':')) - { - return $token; - } - // If it's a string (of maximum 255 characters) - elseif (preg_match("/\"([^\"]|\"\"){0,255}\"/",$token) and $this->_lookahead != '"' and (substr_count($token, '"')%2 == 0)) - { - return $token; - } - // If it's an error code - elseif (preg_match("/^#[A-Z0\/]{3,5}[!?]{1}$/", $token) or $token == '#N/A') - { - return $token; - } - // if it's a function call - elseif (preg_match("/^[A-Z0-9\xc0-\xdc\.]+$/i",$token) and ($this->_lookahead == "(")) - { - return $token; - } - // It's an argument of some description (e.g. a named range), - // precise nature yet to be determined - elseif(substr($token,-1) == ')') { - return $token; - } - return ''; - } - } - - /** - * The parsing method. It parses a formula. - * - * @access public - * @param string $formula The formula to parse, without the initial equal - * sign (=). - * @return mixed true on success - */ - function parse($formula) - { - $this->_current_char = 0; - $this->_formula = $formula; - $this->_lookahead = isset($formula{1}) ? $formula{1} : ''; - $this->_advance(); - $this->_parse_tree = $this->_condition(); - return true; - } - - /** - * It parses a condition. It assumes the following rule: - * Cond -> Expr [(">" | "<") Expr] - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _condition() - { - $result = $this->_expression(); - if ($this->_current_token == "<") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgLT', $result, $result2); - } elseif ($this->_current_token == ">") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgGT', $result, $result2); - } elseif ($this->_current_token == "<=") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgLE', $result, $result2); - } elseif ($this->_current_token == ">=") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgGE', $result, $result2); - } elseif ($this->_current_token == "=") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgEQ', $result, $result2); - } elseif ($this->_current_token == "<>") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgNE', $result, $result2); - } elseif ($this->_current_token == "&") { - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgConcat', $result, $result2); - } - return $result; - } - - /** - * It parses a expression. It assumes the following rule: - * Expr -> Term [("+" | "-") Term] - * -> "string" - * -> "-" Term : Negative value - * -> "+" Term : Positive value - * -> Error code - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _expression() - { - // If it's a string return a string node - if (preg_match("/\"([^\"]|\"\"){0,255}\"/", $this->_current_token)) { - $tmp = str_replace('""', '"', $this->_current_token); - if (($tmp == '"') || ($tmp == '')) $tmp = '""'; // Trap for "" that has been used for an empty string - $result = $this->_createTree($tmp, '', ''); - $this->_advance(); - return $result; - // If it's an error code - } elseif (preg_match("/^#[A-Z0\/]{3,5}[!?]{1}$/", $this->_current_token) or $this->_current_token == '#N/A'){ - $result = $this->_createTree($this->_current_token, 'ptgErr', ''); - $this->_advance(); - return $result; - // If it's a negative value - } elseif ($this->_current_token == "-") { - // catch "-" Term - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgUminus', $result2, ''); - return $result; - // If it's a positive value - } elseif ($this->_current_token == "+") { - // catch "+" Term - $this->_advance(); - $result2 = $this->_expression(); - $result = $this->_createTree('ptgUplus', $result2, ''); - return $result; - } - $result = $this->_term(); - while (($this->_current_token == "+") or - ($this->_current_token == "-") or - ($this->_current_token == "^")) { - /**/ - if ($this->_current_token == "+") { - $this->_advance(); - $result2 = $this->_term(); - $result = $this->_createTree('ptgAdd', $result, $result2); - } elseif ($this->_current_token == "-") { - $this->_advance(); - $result2 = $this->_term(); - $result = $this->_createTree('ptgSub', $result, $result2); - } else { - $this->_advance(); - $result2 = $this->_term(); - $result = $this->_createTree('ptgPower', $result, $result2); - } - } - return $result; - } - - /** - * This function just introduces a ptgParen element in the tree, so that Excel - * doesn't get confused when working with a parenthesized formula afterwards. - * - * @access private - * @see _fact() - * @return array The parsed ptg'd tree - */ - function _parenthesizedExpression() - { - $result = $this->_createTree('ptgParen', $this->_expression(), ''); - return $result; - } - - /** - * It parses a term. It assumes the following rule: - * Term -> Fact [("*" | "/") Fact] - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _term() - { - $result = $this->_fact(); - while (($this->_current_token == "*") or - ($this->_current_token == "/")) { - /**/ - if ($this->_current_token == "*") { - $this->_advance(); - $result2 = $this->_fact(); - $result = $this->_createTree('ptgMul', $result, $result2); - } else { - $this->_advance(); - $result2 = $this->_fact(); - $result = $this->_createTree('ptgDiv', $result, $result2); - } - } - return $result; - } - - /** - * It parses a factor. It assumes the following rule: - * Fact -> ( Expr ) - * | CellRef - * | CellRange - * | Number - * | Function - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _fact() - { - if ($this->_current_token == "(") { - $this->_advance(); // eat the "(" - $result = $this->_parenthesizedExpression(); - if ($this->_current_token != ")") { - throw new PHPExcel_Writer_Exception("')' token expected."); - } - $this->_advance(); // eat the ")" - return $result; - } - // if it's a reference - if (preg_match('/^\$?[A-Ia-i]?[A-Za-z]\$?[0-9]+$/',$this->_current_token)) - { - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1) - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$this->_current_token)) - { - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1) - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u",$this->_current_token)) - { - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // if it's a range A1:B2 or $A$1:$B$2 - elseif (preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+:(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+$/',$this->_current_token) or - preg_match('/^(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+\.\.(\$)?[A-Ia-i]?[A-Za-z](\$)?[0-9]+$/',$this->_current_token)) - { - // must be an error? - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external range (Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2) - elseif (preg_match("/^" . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$this->_current_token)) - { - // must be an error? - //$result = $this->_current_token; - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's an external range ('Sheet1'!A1:B2 or 'Sheet1'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1'!$A$1:$B$2) - elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u",$this->_current_token)) - { - // must be an error? - //$result = $this->_current_token; - $result = $this->_createTree($this->_current_token, '', ''); - $this->_advance(); - return $result; - } - // If it's a number or a percent - elseif (is_numeric($this->_current_token)) - { - if($this->_lookahead == '%'){ - $result = $this->_createTree('ptgPercent', $this->_current_token, ''); - $this->_advance(); // Skip the percentage operator once we've pre-built that tree - } else { - $result = $this->_createTree($this->_current_token, '', ''); - } - $this->_advance(); - return $result; - } - // if it's a function call - elseif (preg_match("/^[A-Z0-9\xc0-\xdc\.]+$/i",$this->_current_token)) - { - $result = $this->_func(); - return $result; - } - throw new PHPExcel_Writer_Exception("Syntax error: ".$this->_current_token. - ", lookahead: ".$this->_lookahead. - ", current char: ".$this->_current_char); - } - - /** - * It parses a function call. It assumes the following rule: - * Func -> ( Expr [,Expr]* ) - * - * @access private - * @return mixed The parsed ptg'd tree on success - */ - function _func() - { - $num_args = 0; // number of arguments received - $function = strtoupper($this->_current_token); - $result = ''; // initialize result - $this->_advance(); - $this->_advance(); // eat the "(" - while ($this->_current_token != ')') { - /**/ - if ($num_args > 0) { - if ($this->_current_token == "," or - $this->_current_token == ";") - { - $this->_advance(); // eat the "," or ";" - } else { - throw new PHPExcel_Writer_Exception("Syntax error: comma expected in ". - "function $function, arg #{$num_args}"); - } - $result2 = $this->_condition(); - $result = $this->_createTree('arg', $result, $result2); - } else { // first argument - $result2 = $this->_condition(); - $result = $this->_createTree('arg', '', $result2); - } - ++$num_args; - } - if (!isset($this->_functions[$function])) { - throw new PHPExcel_Writer_Exception("Function $function() doesn't exist"); - } - $args = $this->_functions[$function][1]; - // If fixed number of args eg. TIME($i,$j,$k). Check that the number of args is valid. - if (($args >= 0) and ($args != $num_args)) { - throw new PHPExcel_Writer_Exception("Incorrect number of arguments in function $function() "); - } - - $result = $this->_createTree($function, $result, $num_args); - $this->_advance(); // eat the ")" - return $result; - } - - /** - * Creates a tree. In fact an array which may have one or two arrays (sub-trees) - * as elements. - * - * @access private - * @param mixed $value The value of this node. - * @param mixed $left The left array (sub-tree) or a final node. - * @param mixed $right The right array (sub-tree) or a final node. - * @return array A tree - */ - function _createTree($value, $left, $right) - { - return array('value' => $value, 'left' => $left, 'right' => $right); - } - - /** - * Builds a string containing the tree in reverse polish notation (What you - * would use in a HP calculator stack). - * The following tree: - * - * + - * / \ - * 2 3 - * - * produces: "23+" - * - * The following tree: - * - * + - * / \ - * 3 * - * / \ - * 6 A1 - * - * produces: "36A1*+" - * - * In fact all operands, functions, references, etc... are written as ptg's - * - * @access public - * @param array $tree The optional tree to convert. - * @return string The tree in reverse polish notation - */ - function toReversePolish($tree = array()) - { - $polish = ""; // the string we are going to return - if (empty($tree)) { // If it's the first call use _parse_tree - $tree = $this->_parse_tree; - } - - if (is_array($tree['left'])) { - $converted_tree = $this->toReversePolish($tree['left']); - $polish .= $converted_tree; - } elseif ($tree['left'] != '') { // It's a final node - $converted_tree = $this->_convert($tree['left']); - $polish .= $converted_tree; - } - if (is_array($tree['right'])) { - $converted_tree = $this->toReversePolish($tree['right']); - $polish .= $converted_tree; - } elseif ($tree['right'] != '') { // It's a final node - $converted_tree = $this->_convert($tree['right']); - $polish .= $converted_tree; - } - // if it's a function convert it here (so we can set it's arguments) - if (preg_match("/^[A-Z0-9\xc0-\xdc\.]+$/",$tree['value']) and - !preg_match('/^([A-Ia-i]?[A-Za-z])(\d+)$/',$tree['value']) and - !preg_match("/^[A-Ia-i]?[A-Za-z](\d+)\.\.[A-Ia-i]?[A-Za-z](\d+)$/",$tree['value']) and - !is_numeric($tree['value']) and - !isset($this->ptg[$tree['value']])) - { - // left subtree for a function is always an array. - if ($tree['left'] != '') { - $left_tree = $this->toReversePolish($tree['left']); - } else { - $left_tree = ''; - } - // add it's left subtree and return. - return $left_tree.$this->_convertFunction($tree['value'], $tree['right']); - } else { - $converted_tree = $this->_convert($tree['value']); - } - $polish .= $converted_tree; - return $polish; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Workbook.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Workbook.php deleted file mode 100644 index ecfac5dc0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Workbook.php +++ /dev/null @@ -1,1450 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Workbook (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// /* -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Workbook - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Workbook extends PHPExcel_Writer_Excel5_BIFFwriter -{ - /** - * Formula parser - * - * @var PHPExcel_Writer_Excel5_Parser - */ - private $_parser; - - /** - * The BIFF file size for the workbook. - * @var integer - * @see _calcSheetOffsets() - */ - public $_biffsize; - - /** - * XF Writers - * @var PHPExcel_Writer_Excel5_Xf[] - */ - private $_xfWriters = array(); - - /** - * Array containing the colour palette - * @var array - */ - public $_palette; - - /** - * The codepage indicates the text encoding used for strings - * @var integer - */ - public $_codepage; - - /** - * The country code used for localization - * @var integer - */ - public $_country_code; - - /** - * Workbook - * @var PHPExcel - */ - private $_phpExcel; - - /** - * Fonts writers - * - * @var PHPExcel_Writer_Excel5_Font[] - */ - private $_fontWriters = array(); - - /** - * Added fonts. Maps from font's hash => index in workbook - * - * @var array - */ - private $_addedFonts = array(); - - /** - * Shared number formats - * - * @var array - */ - private $_numberFormats = array(); - - /** - * Added number formats. Maps from numberFormat's hash => index in workbook - * - * @var array - */ - private $_addedNumberFormats = array(); - - /** - * Sizes of the binary worksheet streams - * - * @var array - */ - private $_worksheetSizes = array(); - - /** - * Offsets of the binary worksheet streams relative to the start of the global workbook stream - * - * @var array - */ - private $_worksheetOffsets = array(); - - /** - * Total number of shared strings in workbook - * - * @var int - */ - private $_str_total; - - /** - * Number of unique shared strings in workbook - * - * @var int - */ - private $_str_unique; - - /** - * Array of unique shared strings in workbook - * - * @var array - */ - private $_str_table; - - /** - * Color cache - */ - private $_colors; - - /** - * Escher object corresponding to MSODRAWINGGROUP - * - * @var PHPExcel_Shared_Escher - */ - private $_escher; - - - /** - * Class constructor - * - * @param PHPExcel $phpExcel The Workbook - * @param int &$str_total Total number of strings - * @param int &$str_unique Total number of unique strings - * @param array &$str_table String Table - * @param array &$colors Colour Table - * @param mixed $parser The formula parser created for the Workbook - */ - public function __construct(PHPExcel $phpExcel = null, - &$str_total, &$str_unique, &$str_table, &$colors, - $parser ) - { - // It needs to call its parent's constructor explicitly - parent::__construct(); - - $this->_parser = $parser; - $this->_biffsize = 0; - $this->_palette = array(); - $this->_country_code = -1; - - $this->_str_total = &$str_total; - $this->_str_unique = &$str_unique; - $this->_str_table = &$str_table; - $this->_colors = &$colors; - $this->_setPaletteXl97(); - - $this->_phpExcel = $phpExcel; - - // set BIFFwriter limit for CONTINUE records - // $this->_limit = 8224; - $this->_codepage = 0x04B0; - - // Add empty sheets and Build color cache - $countSheets = $phpExcel->getSheetCount(); - for ($i = 0; $i < $countSheets; ++$i) { - $phpSheet = $phpExcel->getSheet($i); - - $this->_parser->setExtSheet($phpSheet->getTitle(), $i); // Register worksheet name with parser - - $supbook_index = 0x00; - $ref = pack('vvv', $supbook_index, $i, $i); - $this->_parser->_references[] = $ref; // Register reference with parser - - // Sheet tab colors? - if ($phpSheet->isTabColorSet()) { - $this->_addColor($phpSheet->getTabColor()->getRGB()); - } - } - - } - - /** - * Add a new XF writer - * - * @param PHPExcel_Style - * @param boolean Is it a style XF? - * @return int Index to XF record - */ - public function addXfWriter($style, $isStyleXf = false) - { - $xfWriter = new PHPExcel_Writer_Excel5_Xf($style); - $xfWriter->setIsStyleXf($isStyleXf); - - // Add the font if not already added - $fontIndex = $this->_addFont($style->getFont()); - - // Assign the font index to the xf record - $xfWriter->setFontIndex($fontIndex); - - // Background colors, best to treat these after the font so black will come after white in custom palette - $xfWriter->setFgColor($this->_addColor($style->getFill()->getStartColor()->getRGB())); - $xfWriter->setBgColor($this->_addColor($style->getFill()->getEndColor()->getRGB())); - $xfWriter->setBottomColor($this->_addColor($style->getBorders()->getBottom()->getColor()->getRGB())); - $xfWriter->setTopColor($this->_addColor($style->getBorders()->getTop()->getColor()->getRGB())); - $xfWriter->setRightColor($this->_addColor($style->getBorders()->getRight()->getColor()->getRGB())); - $xfWriter->setLeftColor($this->_addColor($style->getBorders()->getLeft()->getColor()->getRGB())); - $xfWriter->setDiagColor($this->_addColor($style->getBorders()->getDiagonal()->getColor()->getRGB())); - - // Add the number format if it is not a built-in one and not already added - if ($style->getNumberFormat()->getBuiltInFormatCode() === false) { - $numberFormatHashCode = $style->getNumberFormat()->getHashCode(); - - if (isset($this->_addedNumberFormats[$numberFormatHashCode])) { - $numberFormatIndex = $this->_addedNumberFormats[$numberFormatHashCode]; - } else { - $numberFormatIndex = 164 + count($this->_numberFormats); - $this->_numberFormats[$numberFormatIndex] = $style->getNumberFormat(); - $this->_addedNumberFormats[$numberFormatHashCode] = $numberFormatIndex; - } - } else { - $numberFormatIndex = (int) $style->getNumberFormat()->getBuiltInFormatCode(); - } - - // Assign the number format index to xf record - $xfWriter->setNumberFormatIndex($numberFormatIndex); - - $this->_xfWriters[] = $xfWriter; - - $xfIndex = count($this->_xfWriters) - 1; - return $xfIndex; - } - - /** - * Add a font to added fonts - * - * @param PHPExcel_Style_Font $font - * @return int Index to FONT record - */ - public function _addFont(PHPExcel_Style_Font $font) - { - $fontHashCode = $font->getHashCode(); - if(isset($this->_addedFonts[$fontHashCode])){ - $fontIndex = $this->_addedFonts[$fontHashCode]; - } else { - $countFonts = count($this->_fontWriters); - $fontIndex = ($countFonts < 4) ? $countFonts : $countFonts + 1; - - $fontWriter = new PHPExcel_Writer_Excel5_Font($font); - $fontWriter->setColorIndex($this->_addColor($font->getColor()->getRGB())); - $this->_fontWriters[] = $fontWriter; - - $this->_addedFonts[$fontHashCode] = $fontIndex; - } - return $fontIndex; - } - - /** - * Alter color palette adding a custom color - * - * @param string $rgb E.g. 'FF00AA' - * @return int Color index - */ - private function _addColor($rgb) { - if (!isset($this->_colors[$rgb])) { - if (count($this->_colors) < 57) { - // then we add a custom color altering the palette - $colorIndex = 8 + count($this->_colors); - $this->_palette[$colorIndex] = - array( - hexdec(substr($rgb, 0, 2)), - hexdec(substr($rgb, 2, 2)), - hexdec(substr($rgb, 4)), - 0 - ); - $this->_colors[$rgb] = $colorIndex; - } else { - // no room for more custom colors, just map to black - $colorIndex = 0; - } - } else { - // fetch already added custom color - $colorIndex = $this->_colors[$rgb]; - } - - return $colorIndex; - } - - /** - * Sets the colour palette to the Excel 97+ default. - * - * @access private - */ - function _setPaletteXl97() - { - $this->_palette = array( - 0x08 => array(0x00, 0x00, 0x00, 0x00), - 0x09 => array(0xff, 0xff, 0xff, 0x00), - 0x0A => array(0xff, 0x00, 0x00, 0x00), - 0x0B => array(0x00, 0xff, 0x00, 0x00), - 0x0C => array(0x00, 0x00, 0xff, 0x00), - 0x0D => array(0xff, 0xff, 0x00, 0x00), - 0x0E => array(0xff, 0x00, 0xff, 0x00), - 0x0F => array(0x00, 0xff, 0xff, 0x00), - 0x10 => array(0x80, 0x00, 0x00, 0x00), - 0x11 => array(0x00, 0x80, 0x00, 0x00), - 0x12 => array(0x00, 0x00, 0x80, 0x00), - 0x13 => array(0x80, 0x80, 0x00, 0x00), - 0x14 => array(0x80, 0x00, 0x80, 0x00), - 0x15 => array(0x00, 0x80, 0x80, 0x00), - 0x16 => array(0xc0, 0xc0, 0xc0, 0x00), - 0x17 => array(0x80, 0x80, 0x80, 0x00), - 0x18 => array(0x99, 0x99, 0xff, 0x00), - 0x19 => array(0x99, 0x33, 0x66, 0x00), - 0x1A => array(0xff, 0xff, 0xcc, 0x00), - 0x1B => array(0xcc, 0xff, 0xff, 0x00), - 0x1C => array(0x66, 0x00, 0x66, 0x00), - 0x1D => array(0xff, 0x80, 0x80, 0x00), - 0x1E => array(0x00, 0x66, 0xcc, 0x00), - 0x1F => array(0xcc, 0xcc, 0xff, 0x00), - 0x20 => array(0x00, 0x00, 0x80, 0x00), - 0x21 => array(0xff, 0x00, 0xff, 0x00), - 0x22 => array(0xff, 0xff, 0x00, 0x00), - 0x23 => array(0x00, 0xff, 0xff, 0x00), - 0x24 => array(0x80, 0x00, 0x80, 0x00), - 0x25 => array(0x80, 0x00, 0x00, 0x00), - 0x26 => array(0x00, 0x80, 0x80, 0x00), - 0x27 => array(0x00, 0x00, 0xff, 0x00), - 0x28 => array(0x00, 0xcc, 0xff, 0x00), - 0x29 => array(0xcc, 0xff, 0xff, 0x00), - 0x2A => array(0xcc, 0xff, 0xcc, 0x00), - 0x2B => array(0xff, 0xff, 0x99, 0x00), - 0x2C => array(0x99, 0xcc, 0xff, 0x00), - 0x2D => array(0xff, 0x99, 0xcc, 0x00), - 0x2E => array(0xcc, 0x99, 0xff, 0x00), - 0x2F => array(0xff, 0xcc, 0x99, 0x00), - 0x30 => array(0x33, 0x66, 0xff, 0x00), - 0x31 => array(0x33, 0xcc, 0xcc, 0x00), - 0x32 => array(0x99, 0xcc, 0x00, 0x00), - 0x33 => array(0xff, 0xcc, 0x00, 0x00), - 0x34 => array(0xff, 0x99, 0x00, 0x00), - 0x35 => array(0xff, 0x66, 0x00, 0x00), - 0x36 => array(0x66, 0x66, 0x99, 0x00), - 0x37 => array(0x96, 0x96, 0x96, 0x00), - 0x38 => array(0x00, 0x33, 0x66, 0x00), - 0x39 => array(0x33, 0x99, 0x66, 0x00), - 0x3A => array(0x00, 0x33, 0x00, 0x00), - 0x3B => array(0x33, 0x33, 0x00, 0x00), - 0x3C => array(0x99, 0x33, 0x00, 0x00), - 0x3D => array(0x99, 0x33, 0x66, 0x00), - 0x3E => array(0x33, 0x33, 0x99, 0x00), - 0x3F => array(0x33, 0x33, 0x33, 0x00), - ); - } - - /** - * Assemble worksheets into a workbook and send the BIFF data to an OLE - * storage. - * - * @param array $pWorksheetSizes The sizes in bytes of the binary worksheet streams - * @return string Binary data for workbook stream - */ - public function writeWorkbook($pWorksheetSizes = null) - { - $this->_worksheetSizes = $pWorksheetSizes; - - // Calculate the number of selected worksheet tabs and call the finalization - // methods for each worksheet - $total_worksheets = $this->_phpExcel->getSheetCount(); - - // Add part 1 of the Workbook globals, what goes before the SHEET records - $this->_storeBof(0x0005); - $this->_writeCodepage(); - $this->_writeWindow1(); - - $this->_writeDatemode(); - $this->_writeAllFonts(); - $this->_writeAllNumFormats(); - $this->_writeAllXfs(); - $this->_writeAllStyles(); - $this->_writePalette(); - - // Prepare part 3 of the workbook global stream, what goes after the SHEET records - $part3 = ''; - if ($this->_country_code != -1) { - $part3 .= $this->_writeCountry(); - } - $part3 .= $this->_writeRecalcId(); - - $part3 .= $this->_writeSupbookInternal(); - /* TODO: store external SUPBOOK records and XCT and CRN records - in case of external references for BIFF8 */ - $part3 .= $this->_writeExternsheetBiff8(); - $part3 .= $this->_writeAllDefinedNamesBiff8(); - $part3 .= $this->_writeMsoDrawingGroup(); - $part3 .= $this->_writeSharedStringsTable(); - - $part3 .= $this->writeEof(); - - // Add part 2 of the Workbook globals, the SHEET records - $this->_calcSheetOffsets(); - for ($i = 0; $i < $total_worksheets; ++$i) { - $this->_writeBoundsheet($this->_phpExcel->getSheet($i), $this->_worksheetOffsets[$i]); - } - - // Add part 3 of the Workbook globals - $this->_data .= $part3; - - return $this->_data; - } - - /** - * Calculate offsets for Worksheet BOF records. - * - * @access private - */ - function _calcSheetOffsets() - { - $boundsheet_length = 10; // fixed length for a BOUNDSHEET record - - // size of Workbook globals part 1 + 3 - $offset = $this->_datasize; - - // add size of Workbook globals part 2, the length of the SHEET records - $total_worksheets = count($this->_phpExcel->getAllSheets()); - foreach ($this->_phpExcel->getWorksheetIterator() as $sheet) { - $offset += $boundsheet_length + strlen(PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($sheet->getTitle())); - } - - // add the sizes of each of the Sheet substreams, respectively - for ($i = 0; $i < $total_worksheets; ++$i) { - $this->_worksheetOffsets[$i] = $offset; - $offset += $this->_worksheetSizes[$i]; - } - $this->_biffsize = $offset; - } - - /** - * Store the Excel FONT records. - */ - private function _writeAllFonts() - { - foreach ($this->_fontWriters as $fontWriter) { - $this->_append($fontWriter->writeFont()); - } - } - - /** - * Store user defined numerical formats i.e. FORMAT records - */ - private function _writeAllNumFormats() - { - foreach ($this->_numberFormats as $numberFormatIndex => $numberFormat) { - $this->_writeNumFormat($numberFormat->getFormatCode(), $numberFormatIndex); - } - } - - /** - * Write all XF records. - */ - private function _writeAllXfs() - { - foreach ($this->_xfWriters as $xfWriter) { - $this->_append($xfWriter->writeXf()); - } - } - - /** - * Write all STYLE records. - */ - private function _writeAllStyles() - { - $this->_writeStyle(); - } - - /** - * Write the EXTERNCOUNT and EXTERNSHEET records. These are used as indexes for - * the NAME records. - */ - private function _writeExterns() - { - $countSheets = $this->_phpExcel->getSheetCount(); - // Create EXTERNCOUNT with number of worksheets - $this->_writeExterncount($countSheets); - - // Create EXTERNSHEET for each worksheet - for ($i = 0; $i < $countSheets; ++$i) { - $this->_writeExternsheet($this->_phpExcel->getSheet($i)->getTitle()); - } - } - - /** - * Write the NAME record to define the print area and the repeat rows and cols. - */ - private function _writeNames() - { - // total number of sheets - $total_worksheets = $this->_phpExcel->getSheetCount(); - - // Create the print area NAME records - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - // Write a Name record if the print area has been defined - if ($sheetSetup->isPrintAreaSet()) { - // Print area - $printArea = PHPExcel_Cell::splitRange($sheetSetup->getPrintArea()); - $printArea = $printArea[0]; - $printArea[0] = PHPExcel_Cell::coordinateFromString($printArea[0]); - $printArea[1] = PHPExcel_Cell::coordinateFromString($printArea[1]); - - $print_rowmin = $printArea[0][1] - 1; - $print_rowmax = $printArea[1][1] - 1; - $print_colmin = PHPExcel_Cell::columnIndexFromString($printArea[0][0]) - 1; - $print_colmax = PHPExcel_Cell::columnIndexFromString($printArea[1][0]) - 1; - - $this->_writeNameShort( - $i, // sheet index - 0x06, // NAME type - $print_rowmin, - $print_rowmax, - $print_colmin, - $print_colmax - ); - } - } - - // Create the print title NAME records - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - - // simultaneous repeatColumns repeatRows - if ($sheetSetup->isColumnsToRepeatAtLeftSet() && $sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - - $this->_writeNameLong( - $i, // sheet index - 0x07, // NAME type - $rowmin, - $rowmax, - $colmin, - $colmax - ); - - // (exclusive) either repeatColumns or repeatRows - } else if ($sheetSetup->isColumnsToRepeatAtLeftSet() || $sheetSetup->isRowsToRepeatAtTopSet()) { - - // Columns to repeat - if ($sheetSetup->isColumnsToRepeatAtLeftSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - } else { - $colmin = 0; - $colmax = 255; - } - - // Rows to repeat - if ($sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - } else { - $rowmin = 0; - $rowmax = 65535; - } - - $this->_writeNameShort( - $i, // sheet index - 0x07, // NAME type - $rowmin, - $rowmax, - $colmin, - $colmax - ); - } - } - } - - /** - * Writes all the DEFINEDNAME records (BIFF8). - * So far this is only used for repeating rows/columns (print titles) and print areas - */ - private function _writeAllDefinedNamesBiff8() - { - $chunk = ''; - - // Named ranges - if (count($this->_phpExcel->getNamedRanges()) > 0) { - // Loop named ranges - $namedRanges = $this->_phpExcel->getNamedRanges(); - foreach ($namedRanges as $namedRange) { - - // Create absolute coordinate - $range = PHPExcel_Cell::splitRange($namedRange->getRange()); - for ($i = 0; $i < count($range); $i++) { - $range[$i][0] = '\'' . str_replace("'", "''", $namedRange->getWorksheet()->getTitle()) . '\'!' . PHPExcel_Cell::absoluteCoordinate($range[$i][0]); - if (isset($range[$i][1])) { - $range[$i][1] = PHPExcel_Cell::absoluteCoordinate($range[$i][1]); - } - } - $range = PHPExcel_Cell::buildRange($range); // e.g. Sheet1!$A$1:$B$2 - - // parse formula - try { - $error = $this->_parser->parse($range); - $formulaData = $this->_parser->toReversePolish(); - - // make sure tRef3d is of type tRef3dR (0x3A) - if (isset($formulaData{0}) and ($formulaData{0} == "\x7A" or $formulaData{0} == "\x5A")) { - $formulaData = "\x3A" . substr($formulaData, 1); - } - - if ($namedRange->getLocalOnly()) { - // local scope - $scope = $this->_phpExcel->getIndex($namedRange->getScope()) + 1; - } else { - // global scope - $scope = 0; - } - $chunk .= $this->writeData($this->_writeDefinedNameBiff8($namedRange->getName(), $formulaData, $scope, false)); - - } catch(PHPExcel_Exception $e) { - // do nothing - } - } - } - - // total number of sheets - $total_worksheets = $this->_phpExcel->getSheetCount(); - - // write the print titles (repeating rows, columns), if any - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - // simultaneous repeatColumns repeatRows - if ($sheetSetup->isColumnsToRepeatAtLeftSet() && $sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - - // construct formula data manually - $formulaData = pack('Cv', 0x29, 0x17); // tMemFunc - $formulaData .= pack('Cvvvvv', 0x3B, $i, 0, 65535, $colmin, $colmax); // tArea3d - $formulaData .= pack('Cvvvvv', 0x3B, $i, $rowmin, $rowmax, 0, 255); // tArea3d - $formulaData .= pack('C', 0x10); // tList - - // store the DEFINEDNAME record - $chunk .= $this->writeData($this->_writeDefinedNameBiff8(pack('C', 0x07), $formulaData, $i + 1, true)); - - // (exclusive) either repeatColumns or repeatRows - } else if ($sheetSetup->isColumnsToRepeatAtLeftSet() || $sheetSetup->isRowsToRepeatAtTopSet()) { - - // Columns to repeat - if ($sheetSetup->isColumnsToRepeatAtLeftSet()) { - $repeat = $sheetSetup->getColumnsToRepeatAtLeft(); - $colmin = PHPExcel_Cell::columnIndexFromString($repeat[0]) - 1; - $colmax = PHPExcel_Cell::columnIndexFromString($repeat[1]) - 1; - } else { - $colmin = 0; - $colmax = 255; - } - // Rows to repeat - if ($sheetSetup->isRowsToRepeatAtTopSet()) { - $repeat = $sheetSetup->getRowsToRepeatAtTop(); - $rowmin = $repeat[0] - 1; - $rowmax = $repeat[1] - 1; - } else { - $rowmin = 0; - $rowmax = 65535; - } - - // construct formula data manually because parser does not recognize absolute 3d cell references - $formulaData = pack('Cvvvvv', 0x3B, $i, $rowmin, $rowmax, $colmin, $colmax); - - // store the DEFINEDNAME record - $chunk .= $this->writeData($this->_writeDefinedNameBiff8(pack('C', 0x07), $formulaData, $i + 1, true)); - } - } - - // write the print areas, if any - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetSetup = $this->_phpExcel->getSheet($i)->getPageSetup(); - if ($sheetSetup->isPrintAreaSet()) { - // Print area, e.g. A3:J6,H1:X20 - $printArea = PHPExcel_Cell::splitRange($sheetSetup->getPrintArea()); - $countPrintArea = count($printArea); - - $formulaData = ''; - for ($j = 0; $j < $countPrintArea; ++$j) { - $printAreaRect = $printArea[$j]; // e.g. A3:J6 - $printAreaRect[0] = PHPExcel_Cell::coordinateFromString($printAreaRect[0]); - $printAreaRect[1] = PHPExcel_Cell::coordinateFromString($printAreaRect[1]); - - $print_rowmin = $printAreaRect[0][1] - 1; - $print_rowmax = $printAreaRect[1][1] - 1; - $print_colmin = PHPExcel_Cell::columnIndexFromString($printAreaRect[0][0]) - 1; - $print_colmax = PHPExcel_Cell::columnIndexFromString($printAreaRect[1][0]) - 1; - - // construct formula data manually because parser does not recognize absolute 3d cell references - $formulaData .= pack('Cvvvvv', 0x3B, $i, $print_rowmin, $print_rowmax, $print_colmin, $print_colmax); - - if ($j > 0) { - $formulaData .= pack('C', 0x10); // list operator token ',' - } - } - - // store the DEFINEDNAME record - $chunk .= $this->writeData($this->_writeDefinedNameBiff8(pack('C', 0x06), $formulaData, $i + 1, true)); - } - } - - // write autofilters, if any - for ($i = 0; $i < $total_worksheets; ++$i) { - $sheetAutoFilter = $this->_phpExcel->getSheet($i)->getAutoFilter(); - $autoFilterRange = $sheetAutoFilter->getRange(); - if(!empty($autoFilterRange)) { - $rangeBounds = PHPExcel_Cell::rangeBoundaries($autoFilterRange); - - //Autofilter built in name - $name = pack('C', 0x0D); - - $chunk .= $this->writeData($this->_writeShortNameBiff8($name, $i + 1, $rangeBounds, true)); - } - } - - return $chunk; - } - - /** - * Write a DEFINEDNAME record for BIFF8 using explicit binary formula data - * - * @param string $name The name in UTF-8 - * @param string $formulaData The binary formula data - * @param string $sheetIndex 1-based sheet index the defined name applies to. 0 = global - * @param boolean $isBuiltIn Built-in name? - * @return string Complete binary record data - */ - private function _writeDefinedNameBiff8($name, $formulaData, $sheetIndex = 0, $isBuiltIn = false) - { - $record = 0x0018; - - // option flags - $options = $isBuiltIn ? 0x20 : 0x00; - - // length of the name, character count - $nlen = PHPExcel_Shared_String::CountCharacters($name); - - // name with stripped length field - $name = substr(PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($name), 2); - - // size of the formula (in bytes) - $sz = strlen($formulaData); - - // combine the parts - $data = pack('vCCvvvCCCC', $options, 0, $nlen, $sz, 0, $sheetIndex, 0, 0, 0, 0) - . $name . $formulaData; - $length = strlen($data); - - $header = pack('vv', $record, $length); - - return $header . $data; - } - - /** - * Write a short NAME record - * - * @param string $name - * @param string $sheetIndex 1-based sheet index the defined name applies to. 0 = global - * @param integer[][] $rangeBounds range boundaries - * @param boolean $isHidden - * @return string Complete binary record data - * */ - private function _writeShortNameBiff8($name, $sheetIndex = 0, $rangeBounds, $isHidden = false){ - $record = 0x0018; - - // option flags - $options = ($isHidden ? 0x21 : 0x00); - - $extra = pack('Cvvvvv', - 0x3B, - $sheetIndex - 1, - $rangeBounds[0][1] - 1, - $rangeBounds[1][1] - 1, - $rangeBounds[0][0] - 1, - $rangeBounds[1][0] - 1); - - // size of the formula (in bytes) - $sz = strlen($extra); - - // combine the parts - $data = pack('vCCvvvCCCCC', $options, 0, 1, $sz, 0, $sheetIndex, 0, 0, 0, 0, 0) - . $name . $extra; - $length = strlen($data); - - $header = pack('vv', $record, $length); - - return $header . $data; - } - - /** - * Stores the CODEPAGE biff record. - */ - private function _writeCodepage() - { - $record = 0x0042; // Record identifier - $length = 0x0002; // Number of bytes to follow - $cv = $this->_codepage; // The code page - - $header = pack('vv', $record, $length); - $data = pack('v', $cv); - - $this->_append($header . $data); - } - - /** - * Write Excel BIFF WINDOW1 record. - */ - private function _writeWindow1() - { - $record = 0x003D; // Record identifier - $length = 0x0012; // Number of bytes to follow - - $xWn = 0x0000; // Horizontal position of window - $yWn = 0x0000; // Vertical position of window - $dxWn = 0x25BC; // Width of window - $dyWn = 0x1572; // Height of window - - $grbit = 0x0038; // Option flags - - // not supported by PHPExcel, so there is only one selected sheet, the active - $ctabsel = 1; // Number of workbook tabs selected - - $wTabRatio = 0x0258; // Tab to scrollbar ratio - - // not supported by PHPExcel, set to 0 - $itabFirst = 0; // 1st displayed worksheet - $itabCur = $this->_phpExcel->getActiveSheetIndex(); // Active worksheet - - $header = pack("vv", $record, $length); - $data = pack("vvvvvvvvv", $xWn, $yWn, $dxWn, $dyWn, - $grbit, - $itabCur, $itabFirst, - $ctabsel, $wTabRatio); - $this->_append($header . $data); - } - - /** - * Writes Excel BIFF BOUNDSHEET record. - * - * @param PHPExcel_Worksheet $sheet Worksheet name - * @param integer $offset Location of worksheet BOF - */ - private function _writeBoundsheet($sheet, $offset) - { - $sheetname = $sheet->getTitle(); - $record = 0x0085; // Record identifier - - // sheet state - switch ($sheet->getSheetState()) { - case PHPExcel_Worksheet::SHEETSTATE_VISIBLE: $ss = 0x00; break; - case PHPExcel_Worksheet::SHEETSTATE_HIDDEN: $ss = 0x01; break; - case PHPExcel_Worksheet::SHEETSTATE_VERYHIDDEN: $ss = 0x02; break; - default: $ss = 0x00; break; - } - - // sheet type - $st = 0x00; - - $grbit = 0x0000; // Visibility and sheet type - - $data = pack("VCC", $offset, $ss, $st); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($sheetname); - - $length = strlen($data); - $header = pack("vv", $record, $length); - $this->_append($header . $data); - } - - /** - * Write Internal SUPBOOK record - */ - private function _writeSupbookInternal() - { - $record = 0x01AE; // Record identifier - $length = 0x0004; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vv", $this->_phpExcel->getSheetCount(), 0x0401); - return $this->writeData($header . $data); - } - - /** - * Writes the Excel BIFF EXTERNSHEET record. These references are used by - * formulas. - * - */ - private function _writeExternsheetBiff8() - { - $total_references = count($this->_parser->_references); - $record = 0x0017; // Record identifier - $length = 2 + 6 * $total_references; // Number of bytes to follow - - $supbook_index = 0; // FIXME: only using internal SUPBOOK record - $header = pack("vv", $record, $length); - $data = pack('v', $total_references); - for ($i = 0; $i < $total_references; ++$i) { - $data .= $this->_parser->_references[$i]; - } - return $this->writeData($header . $data); - } - - /** - * Write Excel BIFF STYLE records. - */ - private function _writeStyle() - { - $record = 0x0293; // Record identifier - $length = 0x0004; // Bytes to follow - - $ixfe = 0x8000; // Index to cell style XF - $BuiltIn = 0x00; // Built-in style - $iLevel = 0xff; // Outline style level - - $header = pack("vv", $record, $length); - $data = pack("vCC", $ixfe, $BuiltIn, $iLevel); - $this->_append($header . $data); - } - - /** - * Writes Excel FORMAT record for non "built-in" numerical formats. - * - * @param string $format Custom format string - * @param integer $ifmt Format index code - */ - private function _writeNumFormat($format, $ifmt) - { - $record = 0x041E; // Record identifier - - $numberFormatString = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($format); - $length = 2 + strlen($numberFormatString); // Number of bytes to follow - - - $header = pack("vv", $record, $length); - $data = pack("v", $ifmt) . $numberFormatString; - $this->_append($header . $data); - } - - /** - * Write DATEMODE record to indicate the date system in use (1904 or 1900). - */ - private function _writeDatemode() - { - $record = 0x0022; // Record identifier - $length = 0x0002; // Bytes to follow - - $f1904 = (PHPExcel_Shared_Date::getExcelCalendar() == PHPExcel_Shared_Date::CALENDAR_MAC_1904) ? - 1 : 0; // Flag for 1904 date system - - $header = pack("vv", $record, $length); - $data = pack("v", $f1904); - $this->_append($header . $data); - } - - /** - * Write BIFF record EXTERNCOUNT to indicate the number of external sheet - * references in the workbook. - * - * Excel only stores references to external sheets that are used in NAME. - * The workbook NAME record is required to define the print area and the repeat - * rows and columns. - * - * A similar method is used in Worksheet.php for a slightly different purpose. - * - * @param integer $cxals Number of external references - */ - private function _writeExterncount($cxals) - { - $record = 0x0016; // Record identifier - $length = 0x0002; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $cxals); - $this->_append($header . $data); - } - - /** - * Writes the Excel BIFF EXTERNSHEET record. These references are used by - * formulas. NAME record is required to define the print area and the repeat - * rows and columns. - * - * A similar method is used in Worksheet.php for a slightly different purpose. - * - * @param string $sheetname Worksheet name - */ - private function _writeExternsheet($sheetname) - { - $record = 0x0017; // Record identifier - $length = 0x02 + strlen($sheetname); // Number of bytes to follow - - $cch = strlen($sheetname); // Length of sheet name - $rgch = 0x03; // Filename encoding - - $header = pack("vv", $record, $length); - $data = pack("CC", $cch, $rgch); - $this->_append($header . $data . $sheetname); - } - - /** - * Store the NAME record in the short format that is used for storing the print - * area, repeat rows only and repeat columns only. - * - * @param integer $index Sheet index - * @param integer $type Built-in name type - * @param integer $rowmin Start row - * @param integer $rowmax End row - * @param integer $colmin Start colum - * @param integer $colmax End column - */ - private function _writeNameShort($index, $type, $rowmin, $rowmax, $colmin, $colmax) - { - $record = 0x0018; // Record identifier - $length = 0x0024; // Number of bytes to follow - - $grbit = 0x0020; // Option flags - $chKey = 0x00; // Keyboard shortcut - $cch = 0x01; // Length of text name - $cce = 0x0015; // Length of text definition - $ixals = $index + 1; // Sheet index - $itab = $ixals; // Equal to ixals - $cchCustMenu = 0x00; // Length of cust menu text - $cchDescription = 0x00; // Length of description text - $cchHelptopic = 0x00; // Length of help topic text - $cchStatustext = 0x00; // Length of status bar text - $rgch = $type; // Built-in name type - - $unknown03 = 0x3b; - $unknown04 = 0xffff-$index; - $unknown05 = 0x0000; - $unknown06 = 0x0000; - $unknown07 = 0x1087; - $unknown08 = 0x8005; - - $header = pack("vv", $record, $length); - $data = pack("v", $grbit); - $data .= pack("C", $chKey); - $data .= pack("C", $cch); - $data .= pack("v", $cce); - $data .= pack("v", $ixals); - $data .= pack("v", $itab); - $data .= pack("C", $cchCustMenu); - $data .= pack("C", $cchDescription); - $data .= pack("C", $cchHelptopic); - $data .= pack("C", $cchStatustext); - $data .= pack("C", $rgch); - $data .= pack("C", $unknown03); - $data .= pack("v", $unknown04); - $data .= pack("v", $unknown05); - $data .= pack("v", $unknown06); - $data .= pack("v", $unknown07); - $data .= pack("v", $unknown08); - $data .= pack("v", $index); - $data .= pack("v", $index); - $data .= pack("v", $rowmin); - $data .= pack("v", $rowmax); - $data .= pack("C", $colmin); - $data .= pack("C", $colmax); - $this->_append($header . $data); - } - - /** - * Store the NAME record in the long format that is used for storing the repeat - * rows and columns when both are specified. This shares a lot of code with - * _writeNameShort() but we use a separate method to keep the code clean. - * Code abstraction for reuse can be carried too far, and I should know. ;-) - * - * @param integer $index Sheet index - * @param integer $type Built-in name type - * @param integer $rowmin Start row - * @param integer $rowmax End row - * @param integer $colmin Start colum - * @param integer $colmax End column - */ - private function _writeNameLong($index, $type, $rowmin, $rowmax, $colmin, $colmax) - { - $record = 0x0018; // Record identifier - $length = 0x003d; // Number of bytes to follow - $grbit = 0x0020; // Option flags - $chKey = 0x00; // Keyboard shortcut - $cch = 0x01; // Length of text name - $cce = 0x002e; // Length of text definition - $ixals = $index + 1; // Sheet index - $itab = $ixals; // Equal to ixals - $cchCustMenu = 0x00; // Length of cust menu text - $cchDescription = 0x00; // Length of description text - $cchHelptopic = 0x00; // Length of help topic text - $cchStatustext = 0x00; // Length of status bar text - $rgch = $type; // Built-in name type - - $unknown01 = 0x29; - $unknown02 = 0x002b; - $unknown03 = 0x3b; - $unknown04 = 0xffff-$index; - $unknown05 = 0x0000; - $unknown06 = 0x0000; - $unknown07 = 0x1087; - $unknown08 = 0x8008; - - $header = pack("vv", $record, $length); - $data = pack("v", $grbit); - $data .= pack("C", $chKey); - $data .= pack("C", $cch); - $data .= pack("v", $cce); - $data .= pack("v", $ixals); - $data .= pack("v", $itab); - $data .= pack("C", $cchCustMenu); - $data .= pack("C", $cchDescription); - $data .= pack("C", $cchHelptopic); - $data .= pack("C", $cchStatustext); - $data .= pack("C", $rgch); - $data .= pack("C", $unknown01); - $data .= pack("v", $unknown02); - // Column definition - $data .= pack("C", $unknown03); - $data .= pack("v", $unknown04); - $data .= pack("v", $unknown05); - $data .= pack("v", $unknown06); - $data .= pack("v", $unknown07); - $data .= pack("v", $unknown08); - $data .= pack("v", $index); - $data .= pack("v", $index); - $data .= pack("v", 0x0000); - $data .= pack("v", 0x3fff); - $data .= pack("C", $colmin); - $data .= pack("C", $colmax); - // Row definition - $data .= pack("C", $unknown03); - $data .= pack("v", $unknown04); - $data .= pack("v", $unknown05); - $data .= pack("v", $unknown06); - $data .= pack("v", $unknown07); - $data .= pack("v", $unknown08); - $data .= pack("v", $index); - $data .= pack("v", $index); - $data .= pack("v", $rowmin); - $data .= pack("v", $rowmax); - $data .= pack("C", 0x00); - $data .= pack("C", 0xff); - // End of data - $data .= pack("C", 0x10); - $this->_append($header . $data); - } - - /** - * Stores the COUNTRY record for localization - * - * @return string - */ - private function _writeCountry() - { - $record = 0x008C; // Record identifier - $length = 4; // Number of bytes to follow - - $header = pack('vv', $record, $length); - /* using the same country code always for simplicity */ - $data = pack('vv', $this->_country_code, $this->_country_code); - //$this->_append($header . $data); - return $this->writeData($header . $data); - } - - /** - * Write the RECALCID record - * - * @return string - */ - private function _writeRecalcId() - { - $record = 0x01C1; // Record identifier - $length = 8; // Number of bytes to follow - - $header = pack('vv', $record, $length); - - // by inspection of real Excel files, MS Office Excel 2007 writes this - $data = pack('VV', 0x000001C1, 0x00001E667); - - return $this->writeData($header . $data); - } - - /** - * Stores the PALETTE biff record. - */ - private function _writePalette() - { - $aref = $this->_palette; - - $record = 0x0092; // Record identifier - $length = 2 + 4 * count($aref); // Number of bytes to follow - $ccv = count($aref); // Number of RGB values to follow - $data = ''; // The RGB data - - // Pack the RGB data - foreach ($aref as $color) { - foreach ($color as $byte) { - $data .= pack("C",$byte); - } - } - - $header = pack("vvv", $record, $length, $ccv); - $this->_append($header . $data); - } - - /** - * Handling of the SST continue blocks is complicated by the need to include an - * additional continuation byte depending on whether the string is split between - * blocks or whether it starts at the beginning of the block. (There are also - * additional complications that will arise later when/if Rich Strings are - * supported). - * - * The Excel documentation says that the SST record should be followed by an - * EXTSST record. The EXTSST record is a hash table that is used to optimise - * access to SST. However, despite the documentation it doesn't seem to be - * required so we will ignore it. - * - * @return string Binary data - */ - private function _writeSharedStringsTable() - { - // maximum size of record data (excluding record header) - $continue_limit = 8224; - - // initialize array of record data blocks - $recordDatas = array(); - - // start SST record data block with total number of strings, total number of unique strings - $recordData = pack("VV", $this->_str_total, $this->_str_unique); - - // loop through all (unique) strings in shared strings table - foreach (array_keys($this->_str_table) as $string) { - - // here $string is a BIFF8 encoded string - - // length = character count - $headerinfo = unpack("vlength/Cencoding", $string); - - // currently, this is always 1 = uncompressed - $encoding = $headerinfo["encoding"]; - - // initialize finished writing current $string - $finished = false; - - while ($finished === false) { - - // normally, there will be only one cycle, but if string cannot immediately be written as is - // there will be need for more than one cylcle, if string longer than one record data block, there - // may be need for even more cycles - - if (strlen($recordData) + strlen($string) <= $continue_limit) { - // then we can write the string (or remainder of string) without any problems - $recordData .= $string; - - if (strlen($recordData) + strlen($string) == $continue_limit) { - // we close the record data block, and initialize a new one - $recordDatas[] = $recordData; - $recordData = ''; - } - - // we are finished writing this string - $finished = true; - } else { - // special treatment writing the string (or remainder of the string) - // If the string is very long it may need to be written in more than one CONTINUE record. - - // check how many bytes more there is room for in the current record - $space_remaining = $continue_limit - strlen($recordData); - - // minimum space needed - // uncompressed: 2 byte string length length field + 1 byte option flags + 2 byte character - // compressed: 2 byte string length length field + 1 byte option flags + 1 byte character - $min_space_needed = ($encoding == 1) ? 5 : 4; - - // We have two cases - // 1. space remaining is less than minimum space needed - // here we must waste the space remaining and move to next record data block - // 2. space remaining is greater than or equal to minimum space needed - // here we write as much as we can in the current block, then move to next record data block - - // 1. space remaining is less than minimum space needed - if ($space_remaining < $min_space_needed) { - // we close the block, store the block data - $recordDatas[] = $recordData; - - // and start new record data block where we start writing the string - $recordData = ''; - - // 2. space remaining is greater than or equal to minimum space needed - } else { - // initialize effective remaining space, for Unicode strings this may need to be reduced by 1, see below - $effective_space_remaining = $space_remaining; - - // for uncompressed strings, sometimes effective space remaining is reduced by 1 - if ( $encoding == 1 && (strlen($string) - $space_remaining) % 2 == 1 ) { - --$effective_space_remaining; - } - - // one block fininshed, store the block data - $recordData .= substr($string, 0, $effective_space_remaining); - - $string = substr($string, $effective_space_remaining); // for next cycle in while loop - $recordDatas[] = $recordData; - - // start new record data block with the repeated option flags - $recordData = pack('C', $encoding); - } - } - } - } - - // Store the last record data block unless it is empty - // if there was no need for any continue records, this will be the for SST record data block itself - if (strlen($recordData) > 0) { - $recordDatas[] = $recordData; - } - - // combine into one chunk with all the blocks SST, CONTINUE,... - $chunk = ''; - foreach ($recordDatas as $i => $recordData) { - // first block should have the SST record header, remaing should have CONTINUE header - $record = ($i == 0) ? 0x00FC : 0x003C; - - $header = pack("vv", $record, strlen($recordData)); - $data = $header . $recordData; - - $chunk .= $this->writeData($data); - } - - return $chunk; - } - - /** - * Writes the MSODRAWINGGROUP record if needed. Possibly split using CONTINUE records. - */ - private function _writeMsoDrawingGroup() - { - // write the Escher stream if necessary - if (isset($this->_escher)) { - $writer = new PHPExcel_Writer_Excel5_Escher($this->_escher); - $data = $writer->close(); - - $record = 0x00EB; - $length = strlen($data); - $header = pack("vv", $record, $length); - - return $this->writeData($header . $data); - - } else { - return ''; - } - } - - /** - * Get Escher object - * - * @return PHPExcel_Shared_Escher - */ - public function getEscher() - { - return $this->_escher; - } - - /** - * Set Escher object - * - * @param PHPExcel_Shared_Escher $pValue - */ - public function setEscher(PHPExcel_Shared_Escher $pValue = null) - { - $this->_escher = $pValue; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Worksheet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Worksheet.php deleted file mode 100644 index fb75499b1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Worksheet.php +++ /dev/null @@ -1,3681 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Worksheet (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// /* -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Worksheet - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Worksheet extends PHPExcel_Writer_Excel5_BIFFwriter -{ - /** - * Formula parser - * - * @var PHPExcel_Writer_Excel5_Parser - */ - private $_parser; - - /** - * Maximum number of characters for a string (LABEL record in BIFF5) - * @var integer - */ - public $_xls_strmax; - - /** - * Array containing format information for columns - * @var array - */ - public $_colinfo; - - /** - * Array containing the selected area for the worksheet - * @var array - */ - public $_selection; - - /** - * The active pane for the worksheet - * @var integer - */ - public $_active_pane; - - /** - * Whether to use outline. - * @var integer - */ - public $_outline_on; - - /** - * Auto outline styles. - * @var bool - */ - public $_outline_style; - - /** - * Whether to have outline summary below. - * @var bool - */ - public $_outline_below; - - /** - * Whether to have outline summary at the right. - * @var bool - */ - public $_outline_right; - - /** - * Reference to the total number of strings in the workbook - * @var integer - */ - public $_str_total; - - /** - * Reference to the number of unique strings in the workbook - * @var integer - */ - public $_str_unique; - - /** - * Reference to the array containing all the unique strings in the workbook - * @var array - */ - public $_str_table; - - /** - * Color cache - */ - private $_colors; - - /** - * Index of first used row (at least 0) - * @var int - */ - private $_firstRowIndex; - - /** - * Index of last used row. (no used rows means -1) - * @var int - */ - private $_lastRowIndex; - - /** - * Index of first used column (at least 0) - * @var int - */ - private $_firstColumnIndex; - - /** - * Index of last used column (no used columns means -1) - * @var int - */ - private $_lastColumnIndex; - - /** - * Sheet object - * @var PHPExcel_Worksheet - */ - public $_phpSheet; - - /** - * Count cell style Xfs - * - * @var int - */ - private $_countCellStyleXfs; - - /** - * Escher object corresponding to MSODRAWING - * - * @var PHPExcel_Shared_Escher - */ - private $_escher; - - /** - * Array of font hashes associated to FONT records index - * - * @var array - */ - public $_fntHashIndex; - - /** - * Constructor - * - * @param int &$str_total Total number of strings - * @param int &$str_unique Total number of unique strings - * @param array &$str_table String Table - * @param array &$colors Colour Table - * @param mixed $parser The formula parser created for the Workbook - * @param boolean $preCalculateFormulas Flag indicating whether formulas should be calculated or just written - * @param string $phpSheet The worksheet to write - * @param PHPExcel_Worksheet $phpSheet - */ - public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, - $parser, $preCalculateFormulas, $phpSheet) - { - // It needs to call its parent's constructor explicitly - parent::__construct(); - - // change BIFFwriter limit for CONTINUE records -// $this->_limit = 8224; - - - $this->_preCalculateFormulas = $preCalculateFormulas; - $this->_str_total = &$str_total; - $this->_str_unique = &$str_unique; - $this->_str_table = &$str_table; - $this->_colors = &$colors; - $this->_parser = $parser; - - $this->_phpSheet = $phpSheet; - - //$this->ext_sheets = array(); - //$this->offset = 0; - $this->_xls_strmax = 255; - $this->_colinfo = array(); - $this->_selection = array(0,0,0,0); - $this->_active_pane = 3; - - $this->_print_headers = 0; - - $this->_outline_style = 0; - $this->_outline_below = 1; - $this->_outline_right = 1; - $this->_outline_on = 1; - - $this->_fntHashIndex = array(); - - // calculate values for DIMENSIONS record - $minR = 1; - $minC = 'A'; - - $maxR = $this->_phpSheet->getHighestRow(); - $maxC = $this->_phpSheet->getHighestColumn(); - - // Determine lowest and highest column and row -// $this->_firstRowIndex = ($minR > 65535) ? 65535 : $minR; - $this->_lastRowIndex = ($maxR > 65535) ? 65535 : $maxR ; - - $this->_firstColumnIndex = PHPExcel_Cell::columnIndexFromString($minC); - $this->_lastColumnIndex = PHPExcel_Cell::columnIndexFromString($maxC); - -// if ($this->_firstColumnIndex > 255) $this->_firstColumnIndex = 255; - if ($this->_lastColumnIndex > 255) $this->_lastColumnIndex = 255; - - $this->_countCellStyleXfs = count($phpSheet->getParent()->getCellStyleXfCollection()); - } - - /** - * Add data to the beginning of the workbook (note the reverse order) - * and to the end of the workbook. - * - * @access public - * @see PHPExcel_Writer_Excel5_Workbook::storeWorkbook() - */ - function close() - { - $_phpSheet = $this->_phpSheet; - - $num_sheets = $_phpSheet->getParent()->getSheetCount(); - - // Write BOF record - $this->_storeBof(0x0010); - - // Write PRINTHEADERS - $this->_writePrintHeaders(); - - // Write PRINTGRIDLINES - $this->_writePrintGridlines(); - - // Write GRIDSET - $this->_writeGridset(); - - // Calculate column widths - $_phpSheet->calculateColumnWidths(); - - // Column dimensions - if (($defaultWidth = $_phpSheet->getDefaultColumnDimension()->getWidth()) < 0) { - $defaultWidth = PHPExcel_Shared_Font::getDefaultColumnWidthByFont($_phpSheet->getParent()->getDefaultStyle()->getFont()); - } - - $columnDimensions = $_phpSheet->getColumnDimensions(); - $maxCol = $this->_lastColumnIndex -1; - for ($i = 0; $i <= $maxCol; ++$i) { - $hidden = 0; - $level = 0; - $xfIndex = 15; // there are 15 cell style Xfs - - $width = $defaultWidth; - - $columnLetter = PHPExcel_Cell::stringFromColumnIndex($i); - if (isset($columnDimensions[$columnLetter])) { - $columnDimension = $columnDimensions[$columnLetter]; - if ($columnDimension->getWidth() >= 0) { - $width = $columnDimension->getWidth(); - } - $hidden = $columnDimension->getVisible() ? 0 : 1; - $level = $columnDimension->getOutlineLevel(); - $xfIndex = $columnDimension->getXfIndex() + 15; // there are 15 cell style Xfs - } - - // Components of _colinfo: - // $firstcol first column on the range - // $lastcol last column on the range - // $width width to set - // $xfIndex The optional cell style Xf index to apply to the columns - // $hidden The optional hidden atribute - // $level The optional outline level - $this->_colinfo[] = array($i, $i, $width, $xfIndex, $hidden, $level); - } - - // Write GUTS - $this->_writeGuts(); - - // Write DEFAULTROWHEIGHT - $this->_writeDefaultRowHeight(); - - // Write WSBOOL - $this->_writeWsbool(); - - // Write horizontal and vertical page breaks - $this->_writeBreaks(); - - // Write page header - $this->_writeHeader(); - - // Write page footer - $this->_writeFooter(); - - // Write page horizontal centering - $this->_writeHcenter(); - - // Write page vertical centering - $this->_writeVcenter(); - - // Write left margin - $this->_writeMarginLeft(); - - // Write right margin - $this->_writeMarginRight(); - - // Write top margin - $this->_writeMarginTop(); - - // Write bottom margin - $this->_writeMarginBottom(); - - // Write page setup - $this->_writeSetup(); - - // Write sheet protection - $this->_writeProtect(); - - // Write SCENPROTECT - $this->_writeScenProtect(); - - // Write OBJECTPROTECT - $this->_writeObjectProtect(); - - // Write sheet password - $this->_writePassword(); - - // Write DEFCOLWIDTH record - $this->_writeDefcol(); - - // Write the COLINFO records if they exist - if (!empty($this->_colinfo)) { - $colcount = count($this->_colinfo); - for ($i = 0; $i < $colcount; ++$i) { - $this->_writeColinfo($this->_colinfo[$i]); - } - } - $autoFilterRange = $_phpSheet->getAutoFilter()->getRange(); - if (!empty($autoFilterRange)) { - // Write AUTOFILTERINFO - $this->_writeAutoFilterInfo(); - } - - // Write sheet dimensions - $this->_writeDimensions(); - - // Row dimensions - foreach ($_phpSheet->getRowDimensions() as $rowDimension) { - $xfIndex = $rowDimension->getXfIndex() + 15; // there are 15 cellXfs - $this->_writeRow( $rowDimension->getRowIndex() - 1, $rowDimension->getRowHeight(), $xfIndex, ($rowDimension->getVisible() ? '0' : '1'), $rowDimension->getOutlineLevel() ); - } - - // Write Cells - foreach ($_phpSheet->getCellCollection() as $cellID) { - $cell = $_phpSheet->getCell($cellID); - $row = $cell->getRow() - 1; - $column = PHPExcel_Cell::columnIndexFromString($cell->getColumn()) - 1; - - // Don't break Excel! -// if ($row + 1 > 65536 or $column + 1 > 256) { - if ($row > 65535 || $column > 255) { - break; - } - - // Write cell value - $xfIndex = $cell->getXfIndex() + 15; // there are 15 cell style Xfs - - $cVal = $cell->getValue(); - if ($cVal instanceof PHPExcel_RichText) { - // $this->_writeString($row, $column, $cVal->getPlainText(), $xfIndex); - $arrcRun = array(); - $str_len = PHPExcel_Shared_String::CountCharacters($cVal->getPlainText(), 'UTF-8'); - $str_pos = 0; - $elements = $cVal->getRichTextElements(); - foreach ($elements as $element) { - // FONT Index - if ($element instanceof PHPExcel_RichText_Run) { - $str_fontidx = $this->_fntHashIndex[$element->getFont()->getHashCode()]; - } - else { - $str_fontidx = 0; - } - $arrcRun[] = array('strlen' => $str_pos, 'fontidx' => $str_fontidx); - // Position FROM - $str_pos += PHPExcel_Shared_String::CountCharacters($element->getText(), 'UTF-8'); - } - $this->_writeRichTextString($row, $column, $cVal->getPlainText(), $xfIndex, $arrcRun); - } else { - switch ($cell->getDatatype()) { - case PHPExcel_Cell_DataType::TYPE_STRING: - case PHPExcel_Cell_DataType::TYPE_NULL: - if ($cVal === '' || $cVal === null) { - $this->_writeBlank($row, $column, $xfIndex); - } else { - $this->_writeString($row, $column, $cVal, $xfIndex); - } - break; - - case PHPExcel_Cell_DataType::TYPE_NUMERIC: - $this->_writeNumber($row, $column, $cVal, $xfIndex); - break; - - case PHPExcel_Cell_DataType::TYPE_FORMULA: - $calculatedValue = $this->_preCalculateFormulas ? - $cell->getCalculatedValue() : null; - $this->_writeFormula($row, $column, $cVal, $xfIndex, $calculatedValue); - break; - - case PHPExcel_Cell_DataType::TYPE_BOOL: - $this->_writeBoolErr($row, $column, $cVal, 0, $xfIndex); - break; - - case PHPExcel_Cell_DataType::TYPE_ERROR: - $this->_writeBoolErr($row, $column, self::_mapErrorCode($cVal), 1, $xfIndex); - break; - - } - } - } - - // Append - $this->_writeMsoDrawing(); - - // Write WINDOW2 record - $this->_writeWindow2(); - - // Write PLV record - $this->_writePageLayoutView(); - - // Write ZOOM record - $this->_writeZoom(); - if ($_phpSheet->getFreezePane()) { - $this->_writePanes(); - } - - // Write SELECTION record - $this->_writeSelection(); - - // Write MergedCellsTable Record - $this->_writeMergedCells(); - - // Hyperlinks - foreach ($_phpSheet->getHyperLinkCollection() as $coordinate => $hyperlink) { - list($column, $row) = PHPExcel_Cell::coordinateFromString($coordinate); - - $url = $hyperlink->getUrl(); - - if ( strpos($url, 'sheet://') !== false ) { - // internal to current workbook - $url = str_replace('sheet://', 'internal:', $url); - - } else if ( preg_match('/^(http:|https:|ftp:|mailto:)/', $url) ) { - // URL - // $url = $url; - - } else { - // external (local file) - $url = 'external:' . $url; - } - - $this->_writeUrl($row - 1, PHPExcel_Cell::columnIndexFromString($column) - 1, $url); - } - - $this->_writeDataValidity(); - $this->_writeSheetLayout(); - - // Write SHEETPROTECTION record - $this->_writeSheetProtection(); - $this->_writeRangeProtection(); - - $arrConditionalStyles = $_phpSheet->getConditionalStylesCollection(); - if(!empty($arrConditionalStyles)){ - $arrConditional = array(); - // @todo CFRule & CFHeader - // Write CFHEADER record - $this->_writeCFHeader(); - // Write ConditionalFormattingTable records - foreach ($arrConditionalStyles as $cellCoordinate => $conditionalStyles) { - foreach ($conditionalStyles as $conditional) { - if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS){ - if(!in_array($conditional->getHashCode(), $arrConditional)){ - $arrConditional[] = $conditional->getHashCode(); - // Write CFRULE record - $this->_writeCFRule($conditional); - } - } - } - } - } - - $this->_storeEof(); - } - - /** - * Write a cell range address in BIFF8 - * always fixed range - * See section 2.5.14 in OpenOffice.org's Documentation of the Microsoft Excel File Format - * - * @param string $range E.g. 'A1' or 'A1:B6' - * @return string Binary data - */ - private function _writeBIFF8CellRangeAddressFixed($range = 'A1') - { - $explodes = explode(':', $range); - - // extract first cell, e.g. 'A1' - $firstCell = $explodes[0]; - - // extract last cell, e.g. 'B6' - if (count($explodes) == 1) { - $lastCell = $firstCell; - } else { - $lastCell = $explodes[1]; - } - - $firstCellCoordinates = PHPExcel_Cell::coordinateFromString($firstCell); // e.g. array(0, 1) - $lastCellCoordinates = PHPExcel_Cell::coordinateFromString($lastCell); // e.g. array(1, 6) - - return(pack('vvvv', - $firstCellCoordinates[1] - 1, - $lastCellCoordinates[1] - 1, - PHPExcel_Cell::columnIndexFromString($firstCellCoordinates[0]) - 1, - PHPExcel_Cell::columnIndexFromString($lastCellCoordinates[0]) - 1 - )); - } - - /** - * Retrieves data from memory in one chunk, or from disk in $buffer - * sized chunks. - * - * @return string The data - */ - function getData() - { - $buffer = 4096; - - // Return data stored in memory - if (isset($this->_data)) { - $tmp = $this->_data; - unset($this->_data); - return $tmp; - } - // No data to return - return false; - } - - /** - * Set the option to print the row and column headers on the printed page. - * - * @access public - * @param integer $print Whether to print the headers or not. Defaults to 1 (print). - */ - function printRowColHeaders($print = 1) - { - $this->_print_headers = $print; - } - - /** - * This method sets the properties for outlining and grouping. The defaults - * correspond to Excel's defaults. - * - * @param bool $visible - * @param bool $symbols_below - * @param bool $symbols_right - * @param bool $auto_style - */ - function setOutline($visible = true, $symbols_below = true, $symbols_right = true, $auto_style = false) - { - $this->_outline_on = $visible; - $this->_outline_below = $symbols_below; - $this->_outline_right = $symbols_right; - $this->_outline_style = $auto_style; - - // Ensure this is a boolean vale for Window2 - if ($this->_outline_on) { - $this->_outline_on = 1; - } - } - - /** - * Write a double to the specified row and column (zero indexed). - * An integer can be written as a double. Excel will display an - * integer. $format is optional. - * - * Returns 0 : normal termination - * -2 : row or column out of range - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param float $num The number to write - * @param mixed $xfIndex The optional XF format - * @return integer - */ - private function _writeNumber($row, $col, $num, $xfIndex) - { - $record = 0x0203; // Record identifier - $length = 0x000E; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vvv", $row, $col, $xfIndex); - $xl_double = pack("d", $num); - if (self::getByteOrder()) { // if it's Big Endian - $xl_double = strrev($xl_double); - } - - $this->_append($header.$data.$xl_double); - return(0); - } - - /** - * Write a LABELSST record or a LABEL record. Which one depends on BIFF version - * - * @param int $row Row index (0-based) - * @param int $col Column index (0-based) - * @param string $str The string - * @param int $xfIndex Index to XF record - */ - private function _writeString($row, $col, $str, $xfIndex) - { - $this->_writeLabelSst($row, $col, $str, $xfIndex); - } - - /** - * Write a LABELSST record or a LABEL record. Which one depends on BIFF version - * It differs from _writeString by the writing of rich text strings. - * @param int $row Row index (0-based) - * @param int $col Column index (0-based) - * @param string $str The string - * @param mixed $xfIndex The XF format index for the cell - * @param array $arrcRun Index to Font record and characters beginning - */ - private function _writeRichTextString($row, $col, $str, $xfIndex, $arrcRun){ - $record = 0x00FD; // Record identifier - $length = 0x000A; // Bytes to follow - $str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeShort($str, $arrcRun); - - /* check if string is already present */ - if (!isset($this->_str_table[$str])) { - $this->_str_table[$str] = $this->_str_unique++; - } - $this->_str_total++; - - $header = pack('vv', $record, $length); - $data = pack('vvvV', $row, $col, $xfIndex, $this->_str_table[$str]); - $this->_append($header.$data); - } - - /** - * Write a string to the specified row and column (zero indexed). - * NOTE: there is an Excel 5 defined limit of 255 characters. - * $format is optional. - * Returns 0 : normal termination - * -2 : row or column out of range - * -3 : long string truncated to 255 chars - * - * @access public - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $str The string to write - * @param mixed $xfIndex The XF format index for the cell - * @return integer - */ - private function _writeLabel($row, $col, $str, $xfIndex) - { - $strlen = strlen($str); - $record = 0x0204; // Record identifier - $length = 0x0008 + $strlen; // Bytes to follow - - $str_error = 0; - - if ($strlen > $this->_xls_strmax) { // LABEL must be < 255 chars - $str = substr($str, 0, $this->_xls_strmax); - $length = 0x0008 + $this->_xls_strmax; - $strlen = $this->_xls_strmax; - $str_error = -3; - } - - $header = pack("vv", $record, $length); - $data = pack("vvvv", $row, $col, $xfIndex, $strlen); - $this->_append($header . $data . $str); - return($str_error); - } - - /** - * Write a string to the specified row and column (zero indexed). - * This is the BIFF8 version (no 255 chars limit). - * $format is optional. - * Returns 0 : normal termination - * -2 : row or column out of range - * -3 : long string truncated to 255 chars - * - * @access public - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $str The string to write - * @param mixed $xfIndex The XF format index for the cell - * @return integer - */ - private function _writeLabelSst($row, $col, $str, $xfIndex) - { - $record = 0x00FD; // Record identifier - $length = 0x000A; // Bytes to follow - - $str = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($str); - - /* check if string is already present */ - if (!isset($this->_str_table[$str])) { - $this->_str_table[$str] = $this->_str_unique++; - } - $this->_str_total++; - - $header = pack('vv', $record, $length); - $data = pack('vvvV', $row, $col, $xfIndex, $this->_str_table[$str]); - $this->_append($header.$data); - } - - /** - * Writes a note associated with the cell given by the row and column. - * NOTE records don't have a length limit. - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $note The note to write - */ - private function _writeNote($row, $col, $note) - { - $note_length = strlen($note); - $record = 0x001C; // Record identifier - $max_length = 2048; // Maximun length for a NOTE record - - // Length for this record is no more than 2048 + 6 - $length = 0x0006 + min($note_length, 2048); - $header = pack("vv", $record, $length); - $data = pack("vvv", $row, $col, $note_length); - $this->_append($header . $data . substr($note, 0, 2048)); - - for ($i = $max_length; $i < $note_length; $i += $max_length) { - $chunk = substr($note, $i, $max_length); - $length = 0x0006 + strlen($chunk); - $header = pack("vv", $record, $length); - $data = pack("vvv", -1, 0, strlen($chunk)); - $this->_append($header.$data.$chunk); - } - return(0); - } - - /** - * Write a blank cell to the specified row and column (zero indexed). - * A blank cell is used to specify formatting without adding a string - * or a number. - * - * A blank cell without a format serves no purpose. Therefore, we don't write - * a BLANK record unless a format is specified. - * - * Returns 0 : normal termination (including no format) - * -1 : insufficient number of arguments - * -2 : row or column out of range - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param mixed $xfIndex The XF format index - */ - function _writeBlank($row, $col, $xfIndex) - { - $record = 0x0201; // Record identifier - $length = 0x0006; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vvv", $row, $col, $xfIndex); - $this->_append($header . $data); - return 0; - } - - /** - * Write a boolean or an error type to the specified row and column (zero indexed) - * - * @param int $row Row index (0-based) - * @param int $col Column index (0-based) - * @param int $value - * @param boolean $isError Error or Boolean? - * @param int $xfIndex - */ - private function _writeBoolErr($row, $col, $value, $isError, $xfIndex) - { - $record = 0x0205; - $length = 8; - - $header = pack("vv", $record, $length); - $data = pack("vvvCC", $row, $col, $xfIndex, $value, $isError); - $this->_append($header . $data); - return 0; - } - - /** - * Write a formula to the specified row and column (zero indexed). - * The textual representation of the formula is passed to the parser in - * Parser.php which returns a packed binary string. - * - * Returns 0 : normal termination - * -1 : formula errors (bad formula) - * -2 : row or column out of range - * - * @param integer $row Zero indexed row - * @param integer $col Zero indexed column - * @param string $formula The formula text string - * @param mixed $xfIndex The XF format index - * @param mixed $calculatedValue Calculated value - * @return integer - */ - private function _writeFormula($row, $col, $formula, $xfIndex, $calculatedValue) - { - $record = 0x0006; // Record identifier - - // Initialize possible additional value for STRING record that should be written after the FORMULA record? - $stringValue = null; - - // calculated value - if (isset($calculatedValue)) { - // Since we can't yet get the data type of the calculated value, - // we use best effort to determine data type - if (is_bool($calculatedValue)) { - // Boolean value - $num = pack('CCCvCv', 0x01, 0x00, (int)$calculatedValue, 0x00, 0x00, 0xFFFF); - } elseif (is_int($calculatedValue) || is_float($calculatedValue)) { - // Numeric value - $num = pack('d', $calculatedValue); - } elseif (is_string($calculatedValue)) { - if (array_key_exists($calculatedValue, PHPExcel_Cell_DataType::getErrorCodes())) { - // Error value - $num = pack('CCCvCv', 0x02, 0x00, self::_mapErrorCode($calculatedValue), 0x00, 0x00, 0xFFFF); - } elseif ($calculatedValue === '') { - // Empty string (and BIFF8) - $num = pack('CCCvCv', 0x03, 0x00, 0x00, 0x00, 0x00, 0xFFFF); - } else { - // Non-empty string value (or empty string BIFF5) - $stringValue = $calculatedValue; - $num = pack('CCCvCv', 0x00, 0x00, 0x00, 0x00, 0x00, 0xFFFF); - } - } else { - // We are really not supposed to reach here - $num = pack('d', 0x00); - } - } else { - $num = pack('d', 0x00); - } - - $grbit = 0x03; // Option flags - $unknown = 0x0000; // Must be zero - - // Strip the '=' or '@' sign at the beginning of the formula string - if ($formula{0} == '=') { - $formula = substr($formula,1); - } else { - // Error handling - $this->_writeString($row, $col, 'Unrecognised character for formula'); - return -1; - } - - // Parse the formula using the parser in Parser.php - try { - $error = $this->_parser->parse($formula); - $formula = $this->_parser->toReversePolish(); - - $formlen = strlen($formula); // Length of the binary string - $length = 0x16 + $formlen; // Length of the record data - - $header = pack("vv", $record, $length); - - $data = pack("vvv", $row, $col, $xfIndex) - . $num - . pack("vVv", $grbit, $unknown, $formlen); - $this->_append($header . $data . $formula); - - // Append also a STRING record if necessary - if ($stringValue !== null) { - $this->_writeStringRecord($stringValue); - } - - return 0; - - } catch (PHPExcel_Exception $e) { - // do nothing - } - - } - - /** - * Write a STRING record. This - * - * @param string $stringValue - */ - private function _writeStringRecord($stringValue) - { - $record = 0x0207; // Record identifier - $data = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($stringValue); - - $length = strlen($data); - $header = pack('vv', $record, $length); - - $this->_append($header . $data); - } - - /** - * Write a hyperlink. - * This is comprised of two elements: the visible label and - * the invisible link. The visible label is the same as the link unless an - * alternative string is specified. The label is written using the - * _writeString() method. Therefore the 255 characters string limit applies. - * $string and $format are optional. - * - * The hyperlink can be to a http, ftp, mail, internal sheet (not yet), or external - * directory url. - * - * Returns 0 : normal termination - * -2 : row or column out of range - * -3 : long string truncated to 255 chars - * - * @param integer $row Row - * @param integer $col Column - * @param string $url URL string - * @return integer - */ - private function _writeUrl($row, $col, $url) - { - // Add start row and col to arg list - return($this->_writeUrlRange($row, $col, $row, $col, $url)); - } - - /** - * This is the more general form of _writeUrl(). It allows a hyperlink to be - * written to a range of cells. This function also decides the type of hyperlink - * to be written. These are either, Web (http, ftp, mailto), Internal - * (Sheet1!A1) or external ('c:\temp\foo.xls#Sheet1!A1'). - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlRange($row1, $col1, $row2, $col2, $url) - { - // Check for internal/external sheet links or default to web link - if (preg_match('[^internal:]', $url)) { - return($this->_writeUrlInternal($row1, $col1, $row2, $col2, $url)); - } - if (preg_match('[^external:]', $url)) { - return($this->_writeUrlExternal($row1, $col1, $row2, $col2, $url)); - } - return($this->_writeUrlWeb($row1, $col1, $row2, $col2, $url)); - } - - /** - * Used to write http, ftp and mailto hyperlinks. - * The link type ($options) is 0x03 is the same as absolute dir ref without - * sheet. However it is differentiated by the $unknown2 data stream. - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlWeb($row1, $col1, $row2, $col2, $url) - { - $record = 0x01B8; // Record identifier - $length = 0x00000; // Bytes to follow - - // Pack the undocumented parts of the hyperlink stream - $unknown1 = pack("H*", "D0C9EA79F9BACE118C8200AA004BA90B02000000"); - $unknown2 = pack("H*", "E0C9EA79F9BACE118C8200AA004BA90B"); - - // Pack the option flags - $options = pack("V", 0x03); - - // Convert URL to a null terminated wchar string - $url = join("\0", preg_split("''", $url, -1, PREG_SPLIT_NO_EMPTY)); - $url = $url . "\0\0\0"; - - // Pack the length of the URL - $url_len = pack("V", strlen($url)); - - // Calculate the data length - $length = 0x34 + strlen($url); - - // Pack the header data - $header = pack("vv", $record, $length); - $data = pack("vvvv", $row1, $row2, $col1, $col2); - - // Write the packed data - $this->_append($header . $data . - $unknown1 . $options . - $unknown2 . $url_len . $url); - return 0; - } - - /** - * Used to write internal reference hyperlinks such as "Sheet1!A1". - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlInternal($row1, $col1, $row2, $col2, $url) - { - $record = 0x01B8; // Record identifier - $length = 0x00000; // Bytes to follow - - // Strip URL type - $url = preg_replace('/^internal:/', '', $url); - - // Pack the undocumented parts of the hyperlink stream - $unknown1 = pack("H*", "D0C9EA79F9BACE118C8200AA004BA90B02000000"); - - // Pack the option flags - $options = pack("V", 0x08); - - // Convert the URL type and to a null terminated wchar string - $url .= "\0"; - - // character count - $url_len = PHPExcel_Shared_String::CountCharacters($url); - $url_len = pack('V', $url_len); - - $url = PHPExcel_Shared_String::ConvertEncoding($url, 'UTF-16LE', 'UTF-8'); - - // Calculate the data length - $length = 0x24 + strlen($url); - - // Pack the header data - $header = pack("vv", $record, $length); - $data = pack("vvvv", $row1, $row2, $col1, $col2); - - // Write the packed data - $this->_append($header . $data . - $unknown1 . $options . - $url_len . $url); - return 0; - } - - /** - * Write links to external directory names such as 'c:\foo.xls', - * c:\foo.xls#Sheet1!A1', '../../foo.xls'. and '../../foo.xls#Sheet1!A1'. - * - * Note: Excel writes some relative links with the $dir_long string. We ignore - * these cases for the sake of simpler code. - * - * @access private - * @see _writeUrl() - * @param integer $row1 Start row - * @param integer $col1 Start column - * @param integer $row2 End row - * @param integer $col2 End column - * @param string $url URL string - * @return integer - */ - function _writeUrlExternal($row1, $col1, $row2, $col2, $url) - { - // Network drives are different. We will handle them separately - // MS/Novell network drives and shares start with \\ - if (preg_match('[^external:\\\\]', $url)) { - return; //($this->_writeUrlExternal_net($row1, $col1, $row2, $col2, $url, $str, $format)); - } - - $record = 0x01B8; // Record identifier - $length = 0x00000; // Bytes to follow - - // Strip URL type and change Unix dir separator to Dos style (if needed) - // - $url = preg_replace('/^external:/', '', $url); - $url = preg_replace('/\//', "\\", $url); - - // Determine if the link is relative or absolute: - // relative if link contains no dir separator, "somefile.xls" - // relative if link starts with up-dir, "..\..\somefile.xls" - // otherwise, absolute - - $absolute = 0x00; // relative path - if ( preg_match('/^[A-Z]:/', $url) ) { - $absolute = 0x02; // absolute path on Windows, e.g. C:\... - } - $link_type = 0x01 | $absolute; - - // Determine if the link contains a sheet reference and change some of the - // parameters accordingly. - // Split the dir name and sheet name (if it exists) - $dir_long = $url; - if (preg_match("/\#/", $url)) { - $link_type |= 0x08; - } - - - // Pack the link type - $link_type = pack("V", $link_type); - - // Calculate the up-level dir count e.g.. (..\..\..\ == 3) - $up_count = preg_match_all("/\.\.\\\/", $dir_long, $useless); - $up_count = pack("v", $up_count); - - // Store the short dos dir name (null terminated) - $dir_short = preg_replace("/\.\.\\\/", '', $dir_long) . "\0"; - - // Store the long dir name as a wchar string (non-null terminated) - $dir_long = $dir_long . "\0"; - - // Pack the lengths of the dir strings - $dir_short_len = pack("V", strlen($dir_short) ); - $dir_long_len = pack("V", strlen($dir_long) ); - $stream_len = pack("V", 0);//strlen($dir_long) + 0x06); - - // Pack the undocumented parts of the hyperlink stream - $unknown1 = pack("H*",'D0C9EA79F9BACE118C8200AA004BA90B02000000' ); - $unknown2 = pack("H*",'0303000000000000C000000000000046' ); - $unknown3 = pack("H*",'FFFFADDE000000000000000000000000000000000000000'); - $unknown4 = pack("v", 0x03 ); - - // Pack the main data stream - $data = pack("vvvv", $row1, $row2, $col1, $col2) . - $unknown1 . - $link_type . - $unknown2 . - $up_count . - $dir_short_len. - $dir_short . - $unknown3 . - $stream_len ;/*. - $dir_long_len . - $unknown4 . - $dir_long . - $sheet_len . - $sheet ;*/ - - // Pack the header data - $length = strlen($data); - $header = pack("vv", $record, $length); - - // Write the packed data - $this->_append($header. $data); - return 0; - } - - /** - * This method is used to set the height and format for a row. - * - * @param integer $row The row to set - * @param integer $height Height we are giving to the row. - * Use null to set XF without setting height - * @param integer $xfIndex The optional cell style Xf index to apply to the columns - * @param bool $hidden The optional hidden attribute - * @param integer $level The optional outline level for row, in range [0,7] - */ - private function _writeRow($row, $height, $xfIndex, $hidden = false, $level = 0) - { - $record = 0x0208; // Record identifier - $length = 0x0010; // Number of bytes to follow - - $colMic = 0x0000; // First defined column - $colMac = 0x0000; // Last defined column - $irwMac = 0x0000; // Used by Excel to optimise loading - $reserved = 0x0000; // Reserved - $grbit = 0x0000; // Option flags - $ixfe = $xfIndex; - - if ( $height < 0 ){ - $height = null; - } - - // Use _writeRow($row, null, $XF) to set XF format without setting height - if ($height != null) { - $miyRw = $height * 20; // row height - } else { - $miyRw = 0xff; // default row height is 256 - } - - // Set the options flags. fUnsynced is used to show that the font and row - // heights are not compatible. This is usually the case for WriteExcel. - // The collapsed flag 0x10 doesn't seem to be used to indicate that a row - // is collapsed. Instead it is used to indicate that the previous row is - // collapsed. The zero height flag, 0x20, is used to collapse a row. - - $grbit |= $level; - if ($hidden) { - $grbit |= 0x0030; - } - if ($height !== null) { - $grbit |= 0x0040; // fUnsynced - } - if ($xfIndex !== 0xF) { - $grbit |= 0x0080; - } - $grbit |= 0x0100; - - $header = pack("vv", $record, $length); - $data = pack("vvvvvvvv", $row, $colMic, $colMac, $miyRw, - $irwMac,$reserved, $grbit, $ixfe); - $this->_append($header.$data); - } - - /** - * Writes Excel DIMENSIONS to define the area in which there is data. - */ - private function _writeDimensions() - { - $record = 0x0200; // Record identifier - - $length = 0x000E; - $data = pack('VVvvv' - , $this->_firstRowIndex - , $this->_lastRowIndex + 1 - , $this->_firstColumnIndex - , $this->_lastColumnIndex + 1 - , 0x0000 // reserved - ); - - $header = pack("vv", $record, $length); - $this->_append($header.$data); - } - - /** - * Write BIFF record Window2. - */ - private function _writeWindow2() - { - $record = 0x023E; // Record identifier - $length = 0x0012; - - $grbit = 0x00B6; // Option flags - $rwTop = 0x0000; // Top row visible in window - $colLeft = 0x0000; // Leftmost column visible in window - - - // The options flags that comprise $grbit - $fDspFmla = 0; // 0 - bit - $fDspGrid = $this->_phpSheet->getShowGridlines() ? 1 : 0; // 1 - $fDspRwCol = $this->_phpSheet->getShowRowColHeaders() ? 1 : 0; // 2 - $fFrozen = $this->_phpSheet->getFreezePane() ? 1 : 0; // 3 - $fDspZeros = 1; // 4 - $fDefaultHdr = 1; // 5 - $fArabic = $this->_phpSheet->getRightToLeft() ? 1 : 0; // 6 - $fDspGuts = $this->_outline_on; // 7 - $fFrozenNoSplit = 0; // 0 - bit - // no support in PHPExcel for selected sheet, therefore sheet is only selected if it is the active sheet - $fSelected = ($this->_phpSheet === $this->_phpSheet->getParent()->getActiveSheet()) ? 1 : 0; - $fPaged = 1; // 2 - $fPageBreakPreview = $this->_phpSheet->getSheetView()->getView() === PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_BREAK_PREVIEW; - - $grbit = $fDspFmla; - $grbit |= $fDspGrid << 1; - $grbit |= $fDspRwCol << 2; - $grbit |= $fFrozen << 3; - $grbit |= $fDspZeros << 4; - $grbit |= $fDefaultHdr << 5; - $grbit |= $fArabic << 6; - $grbit |= $fDspGuts << 7; - $grbit |= $fFrozenNoSplit << 8; - $grbit |= $fSelected << 9; - $grbit |= $fPaged << 10; - $grbit |= $fPageBreakPreview << 11; - - $header = pack("vv", $record, $length); - $data = pack("vvv", $grbit, $rwTop, $colLeft); - - // FIXME !!! - $rgbHdr = 0x0040; // Row/column heading and gridline color index - $zoom_factor_page_break = ($fPageBreakPreview? $this->_phpSheet->getSheetView()->getZoomScale() : 0x0000); - $zoom_factor_normal = $this->_phpSheet->getSheetView()->getZoomScaleNormal(); - - $data .= pack("vvvvV", $rgbHdr, 0x0000, $zoom_factor_page_break, $zoom_factor_normal, 0x00000000); - - $this->_append($header.$data); - } - - /** - * Write BIFF record DEFAULTROWHEIGHT. - */ - private function _writeDefaultRowHeight() - { - $defaultRowHeight = $this->_phpSheet->getDefaultRowDimension()->getRowHeight(); - - if ($defaultRowHeight < 0) { - return; - } - - // convert to twips - $defaultRowHeight = (int) 20 * $defaultRowHeight; - - $record = 0x0225; // Record identifier - $length = 0x0004; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vv", 1, $defaultRowHeight); - $this->_append($header . $data); - } - - /** - * Write BIFF record DEFCOLWIDTH if COLINFO records are in use. - */ - private function _writeDefcol() - { - $defaultColWidth = 8; - - $record = 0x0055; // Record identifier - $length = 0x0002; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $defaultColWidth); - $this->_append($header . $data); - } - - /** - * Write BIFF record COLINFO to define column widths - * - * Note: The SDK says the record length is 0x0B but Excel writes a 0x0C - * length record. - * - * @param array $col_array This is the only parameter received and is composed of the following: - * 0 => First formatted column, - * 1 => Last formatted column, - * 2 => Col width (8.43 is Excel default), - * 3 => The optional XF format of the column, - * 4 => Option flags. - * 5 => Optional outline level - */ - private function _writeColinfo($col_array) - { - if (isset($col_array[0])) { - $colFirst = $col_array[0]; - } - if (isset($col_array[1])) { - $colLast = $col_array[1]; - } - if (isset($col_array[2])) { - $coldx = $col_array[2]; - } else { - $coldx = 8.43; - } - if (isset($col_array[3])) { - $xfIndex = $col_array[3]; - } else { - $xfIndex = 15; - } - if (isset($col_array[4])) { - $grbit = $col_array[4]; - } else { - $grbit = 0; - } - if (isset($col_array[5])) { - $level = $col_array[5]; - } else { - $level = 0; - } - $record = 0x007D; // Record identifier - $length = 0x000C; // Number of bytes to follow - - $coldx *= 256; // Convert to units of 1/256 of a char - - $ixfe = $xfIndex; - $reserved = 0x0000; // Reserved - - $level = max(0, min($level, 7)); - $grbit |= $level << 8; - - $header = pack("vv", $record, $length); - $data = pack("vvvvvv", $colFirst, $colLast, $coldx, - $ixfe, $grbit, $reserved); - $this->_append($header.$data); - } - - /** - * Write BIFF record SELECTION. - */ - private function _writeSelection() - { - // look up the selected cell range - $selectedCells = $this->_phpSheet->getSelectedCells(); - $selectedCells = PHPExcel_Cell::splitRange($this->_phpSheet->getSelectedCells()); - $selectedCells = $selectedCells[0]; - if (count($selectedCells) == 2) { - list($first, $last) = $selectedCells; - } else { - $first = $selectedCells[0]; - $last = $selectedCells[0]; - } - - list($colFirst, $rwFirst) = PHPExcel_Cell::coordinateFromString($first); - $colFirst = PHPExcel_Cell::columnIndexFromString($colFirst) - 1; // base 0 column index - --$rwFirst; // base 0 row index - - list($colLast, $rwLast) = PHPExcel_Cell::coordinateFromString($last); - $colLast = PHPExcel_Cell::columnIndexFromString($colLast) - 1; // base 0 column index - --$rwLast; // base 0 row index - - // make sure we are not out of bounds - $colFirst = min($colFirst, 255); - $colLast = min($colLast, 255); - - $rwFirst = min($rwFirst, 65535); - $rwLast = min($rwLast, 65535); - - $record = 0x001D; // Record identifier - $length = 0x000F; // Number of bytes to follow - - $pnn = $this->_active_pane; // Pane position - $rwAct = $rwFirst; // Active row - $colAct = $colFirst; // Active column - $irefAct = 0; // Active cell ref - $cref = 1; // Number of refs - - if (!isset($rwLast)) { - $rwLast = $rwFirst; // Last row in reference - } - if (!isset($colLast)) { - $colLast = $colFirst; // Last col in reference - } - - // Swap last row/col for first row/col as necessary - if ($rwFirst > $rwLast) { - list($rwFirst, $rwLast) = array($rwLast, $rwFirst); - } - - if ($colFirst > $colLast) { - list($colFirst, $colLast) = array($colLast, $colFirst); - } - - $header = pack("vv", $record, $length); - $data = pack("CvvvvvvCC", $pnn, $rwAct, $colAct, - $irefAct, $cref, - $rwFirst, $rwLast, - $colFirst, $colLast); - $this->_append($header . $data); - } - - /** - * Store the MERGEDCELLS records for all ranges of merged cells - */ - private function _writeMergedCells() - { - $mergeCells = $this->_phpSheet->getMergeCells(); - $countMergeCells = count($mergeCells); - - if ($countMergeCells == 0) { - return; - } - - // maximum allowed number of merged cells per record - $maxCountMergeCellsPerRecord = 1027; - - // record identifier - $record = 0x00E5; - - // counter for total number of merged cells treated so far by the writer - $i = 0; - - // counter for number of merged cells written in record currently being written - $j = 0; - - // initialize record data - $recordData = ''; - - // loop through the merged cells - foreach ($mergeCells as $mergeCell) { - ++$i; - ++$j; - - // extract the row and column indexes - $range = PHPExcel_Cell::splitRange($mergeCell); - list($first, $last) = $range[0]; - list($firstColumn, $firstRow) = PHPExcel_Cell::coordinateFromString($first); - list($lastColumn, $lastRow) = PHPExcel_Cell::coordinateFromString($last); - - $recordData .= pack('vvvv', $firstRow - 1, $lastRow - 1, PHPExcel_Cell::columnIndexFromString($firstColumn) - 1, PHPExcel_Cell::columnIndexFromString($lastColumn) - 1); - - // flush record if we have reached limit for number of merged cells, or reached final merged cell - if ($j == $maxCountMergeCellsPerRecord or $i == $countMergeCells) { - $recordData = pack('v', $j) . $recordData; - $length = strlen($recordData); - $header = pack('vv', $record, $length); - $this->_append($header . $recordData); - - // initialize for next record, if any - $recordData = ''; - $j = 0; - } - } - } - - /** - * Write SHEETLAYOUT record - */ - private function _writeSheetLayout() - { - if (!$this->_phpSheet->isTabColorSet()) { - return; - } - - $recordData = pack( - 'vvVVVvv' - , 0x0862 - , 0x0000 // unused - , 0x00000000 // unused - , 0x00000000 // unused - , 0x00000014 // size of record data - , $this->_colors[$this->_phpSheet->getTabColor()->getRGB()] // color index - , 0x0000 // unused - ); - - $length = strlen($recordData); - - $record = 0x0862; // Record identifier - $header = pack('vv', $record, $length); - $this->_append($header . $recordData); - } - - /** - * Write SHEETPROTECTION - */ - private function _writeSheetProtection() - { - // record identifier - $record = 0x0867; - - // prepare options - $options = (int) !$this->_phpSheet->getProtection()->getObjects() - | (int) !$this->_phpSheet->getProtection()->getScenarios() << 1 - | (int) !$this->_phpSheet->getProtection()->getFormatCells() << 2 - | (int) !$this->_phpSheet->getProtection()->getFormatColumns() << 3 - | (int) !$this->_phpSheet->getProtection()->getFormatRows() << 4 - | (int) !$this->_phpSheet->getProtection()->getInsertColumns() << 5 - | (int) !$this->_phpSheet->getProtection()->getInsertRows() << 6 - | (int) !$this->_phpSheet->getProtection()->getInsertHyperlinks() << 7 - | (int) !$this->_phpSheet->getProtection()->getDeleteColumns() << 8 - | (int) !$this->_phpSheet->getProtection()->getDeleteRows() << 9 - | (int) !$this->_phpSheet->getProtection()->getSelectLockedCells() << 10 - | (int) !$this->_phpSheet->getProtection()->getSort() << 11 - | (int) !$this->_phpSheet->getProtection()->getAutoFilter() << 12 - | (int) !$this->_phpSheet->getProtection()->getPivotTables() << 13 - | (int) !$this->_phpSheet->getProtection()->getSelectUnlockedCells() << 14 ; - - // record data - $recordData = pack( - 'vVVCVVvv' - , 0x0867 // repeated record identifier - , 0x0000 // not used - , 0x0000 // not used - , 0x00 // not used - , 0x01000200 // unknown data - , 0xFFFFFFFF // unknown data - , $options // options - , 0x0000 // not used - ); - - $length = strlen($recordData); - $header = pack('vv', $record, $length); - - $this->_append($header . $recordData); - } - - /** - * Write BIFF record RANGEPROTECTION - * - * Openoffice.org's Documentaion of the Microsoft Excel File Format uses term RANGEPROTECTION for these records - * Microsoft Office Excel 97-2007 Binary File Format Specification uses term FEAT for these records - */ - private function _writeRangeProtection() - { - foreach ($this->_phpSheet->getProtectedCells() as $range => $password) { - // number of ranges, e.g. 'A1:B3 C20:D25' - $cellRanges = explode(' ', $range); - $cref = count($cellRanges); - - $recordData = pack( - 'vvVVvCVvVv', - 0x0868, - 0x00, - 0x0000, - 0x0000, - 0x02, - 0x0, - 0x0000, - $cref, - 0x0000, - 0x00 - ); - - foreach ($cellRanges as $cellRange) { - $recordData .= $this->_writeBIFF8CellRangeAddressFixed($cellRange); - } - - // the rgbFeat structure - $recordData .= pack( - 'VV', - 0x0000, - hexdec($password) - ); - - $recordData .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong('p' . md5($recordData)); - - $length = strlen($recordData); - - $record = 0x0868; // Record identifier - $header = pack("vv", $record, $length); - $this->_append($header . $recordData); - } - } - - /** - * Write BIFF record EXTERNCOUNT to indicate the number of external sheet - * references in a worksheet. - * - * Excel only stores references to external sheets that are used in formulas. - * For simplicity we store references to all the sheets in the workbook - * regardless of whether they are used or not. This reduces the overall - * complexity and eliminates the need for a two way dialogue between the formula - * parser the worksheet objects. - * - * @param integer $count The number of external sheet references in this worksheet - */ - private function _writeExterncount($count) - { - $record = 0x0016; // Record identifier - $length = 0x0002; // Number of bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $count); - $this->_append($header . $data); - } - - /** - * Writes the Excel BIFF EXTERNSHEET record. These references are used by - * formulas. A formula references a sheet name via an index. Since we store a - * reference to all of the external worksheets the EXTERNSHEET index is the same - * as the worksheet index. - * - * @param string $sheetname The name of a external worksheet - */ - private function _writeExternsheet($sheetname) - { - $record = 0x0017; // Record identifier - - // References to the current sheet are encoded differently to references to - // external sheets. - // - if ($this->_phpSheet->getTitle() == $sheetname) { - $sheetname = ''; - $length = 0x02; // The following 2 bytes - $cch = 1; // The following byte - $rgch = 0x02; // Self reference - } else { - $length = 0x02 + strlen($sheetname); - $cch = strlen($sheetname); - $rgch = 0x03; // Reference to a sheet in the current workbook - } - - $header = pack("vv", $record, $length); - $data = pack("CC", $cch, $rgch); - $this->_append($header . $data . $sheetname); - } - - /** - * Writes the Excel BIFF PANE record. - * The panes can either be frozen or thawed (unfrozen). - * Frozen panes are specified in terms of an integer number of rows and columns. - * Thawed panes are specified in terms of Excel's units for rows and columns. - */ - private function _writePanes() - { - $panes = array(); - if ($freezePane = $this->_phpSheet->getFreezePane()) { - list($column, $row) = PHPExcel_Cell::coordinateFromString($freezePane); - $panes[0] = $row - 1; - $panes[1] = PHPExcel_Cell::columnIndexFromString($column) - 1; - } else { - // thaw panes - return; - } - - $y = isset($panes[0]) ? $panes[0] : null; - $x = isset($panes[1]) ? $panes[1] : null; - $rwTop = isset($panes[2]) ? $panes[2] : null; - $colLeft = isset($panes[3]) ? $panes[3] : null; - if (count($panes) > 4) { // if Active pane was received - $pnnAct = $panes[4]; - } else { - $pnnAct = null; - } - $record = 0x0041; // Record identifier - $length = 0x000A; // Number of bytes to follow - - // Code specific to frozen or thawed panes. - if ($this->_phpSheet->getFreezePane()) { - // Set default values for $rwTop and $colLeft - if (!isset($rwTop)) { - $rwTop = $y; - } - if (!isset($colLeft)) { - $colLeft = $x; - } - } else { - // Set default values for $rwTop and $colLeft - if (!isset($rwTop)) { - $rwTop = 0; - } - if (!isset($colLeft)) { - $colLeft = 0; - } - - // Convert Excel's row and column units to the internal units. - // The default row height is 12.75 - // The default column width is 8.43 - // The following slope and intersection values were interpolated. - // - $y = 20*$y + 255; - $x = 113.879*$x + 390; - } - - - // Determine which pane should be active. There is also the undocumented - // option to override this should it be necessary: may be removed later. - // - if (!isset($pnnAct)) { - if ($x != 0 && $y != 0) { - $pnnAct = 0; // Bottom right - } - if ($x != 0 && $y == 0) { - $pnnAct = 1; // Top right - } - if ($x == 0 && $y != 0) { - $pnnAct = 2; // Bottom left - } - if ($x == 0 && $y == 0) { - $pnnAct = 3; // Top left - } - } - - $this->_active_pane = $pnnAct; // Used in _writeSelection - - $header = pack("vv", $record, $length); - $data = pack("vvvvv", $x, $y, $rwTop, $colLeft, $pnnAct); - $this->_append($header . $data); - } - - /** - * Store the page setup SETUP BIFF record. - */ - private function _writeSetup() - { - $record = 0x00A1; // Record identifier - $length = 0x0022; // Number of bytes to follow - - $iPaperSize = $this->_phpSheet->getPageSetup()->getPaperSize(); // Paper size - - $iScale = $this->_phpSheet->getPageSetup()->getScale() ? - $this->_phpSheet->getPageSetup()->getScale() : 100; // Print scaling factor - - $iPageStart = 0x01; // Starting page number - $iFitWidth = (int) $this->_phpSheet->getPageSetup()->getFitToWidth(); // Fit to number of pages wide - $iFitHeight = (int) $this->_phpSheet->getPageSetup()->getFitToHeight(); // Fit to number of pages high - $grbit = 0x00; // Option flags - $iRes = 0x0258; // Print resolution - $iVRes = 0x0258; // Vertical print resolution - - $numHdr = $this->_phpSheet->getPageMargins()->getHeader(); // Header Margin - - $numFtr = $this->_phpSheet->getPageMargins()->getFooter(); // Footer Margin - $iCopies = 0x01; // Number of copies - - $fLeftToRight = 0x0; // Print over then down - - // Page orientation - $fLandscape = ($this->_phpSheet->getPageSetup()->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) ? - 0x0 : 0x1; - - $fNoPls = 0x0; // Setup not read from printer - $fNoColor = 0x0; // Print black and white - $fDraft = 0x0; // Print draft quality - $fNotes = 0x0; // Print notes - $fNoOrient = 0x0; // Orientation not set - $fUsePage = 0x0; // Use custom starting page - - $grbit = $fLeftToRight; - $grbit |= $fLandscape << 1; - $grbit |= $fNoPls << 2; - $grbit |= $fNoColor << 3; - $grbit |= $fDraft << 4; - $grbit |= $fNotes << 5; - $grbit |= $fNoOrient << 6; - $grbit |= $fUsePage << 7; - - $numHdr = pack("d", $numHdr); - $numFtr = pack("d", $numFtr); - if (self::getByteOrder()) { // if it's Big Endian - $numHdr = strrev($numHdr); - $numFtr = strrev($numFtr); - } - - $header = pack("vv", $record, $length); - $data1 = pack("vvvvvvvv", $iPaperSize, - $iScale, - $iPageStart, - $iFitWidth, - $iFitHeight, - $grbit, - $iRes, - $iVRes); - $data2 = $numHdr.$numFtr; - $data3 = pack("v", $iCopies); - $this->_append($header . $data1 . $data2 . $data3); - } - - /** - * Store the header caption BIFF record. - */ - private function _writeHeader() - { - $record = 0x0014; // Record identifier - - /* removing for now - // need to fix character count (multibyte!) - if (strlen($this->_phpSheet->getHeaderFooter()->getOddHeader()) <= 255) { - $str = $this->_phpSheet->getHeaderFooter()->getOddHeader(); // header string - } else { - $str = ''; - } - */ - - $recordData = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($this->_phpSheet->getHeaderFooter()->getOddHeader()); - $length = strlen($recordData); - - $header = pack("vv", $record, $length); - - $this->_append($header . $recordData); - } - - /** - * Store the footer caption BIFF record. - */ - private function _writeFooter() - { - $record = 0x0015; // Record identifier - - /* removing for now - // need to fix character count (multibyte!) - if (strlen($this->_phpSheet->getHeaderFooter()->getOddFooter()) <= 255) { - $str = $this->_phpSheet->getHeaderFooter()->getOddFooter(); - } else { - $str = ''; - } - */ - - $recordData = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($this->_phpSheet->getHeaderFooter()->getOddFooter()); - $length = strlen($recordData); - - $header = pack("vv", $record, $length); - - $this->_append($header . $recordData); - } - - /** - * Store the horizontal centering HCENTER BIFF record. - * - * @access private - */ - private function _writeHcenter() - { - $record = 0x0083; // Record identifier - $length = 0x0002; // Bytes to follow - - $fHCenter = $this->_phpSheet->getPageSetup()->getHorizontalCentered() ? 1 : 0; // Horizontal centering - - $header = pack("vv", $record, $length); - $data = pack("v", $fHCenter); - - $this->_append($header.$data); - } - - /** - * Store the vertical centering VCENTER BIFF record. - */ - private function _writeVcenter() - { - $record = 0x0084; // Record identifier - $length = 0x0002; // Bytes to follow - - $fVCenter = $this->_phpSheet->getPageSetup()->getVerticalCentered() ? 1 : 0; // Horizontal centering - - $header = pack("vv", $record, $length); - $data = pack("v", $fVCenter); - $this->_append($header . $data); - } - - /** - * Store the LEFTMARGIN BIFF record. - */ - private function _writeMarginLeft() - { - $record = 0x0026; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getLeft(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Store the RIGHTMARGIN BIFF record. - */ - private function _writeMarginRight() - { - $record = 0x0027; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getRight(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Store the TOPMARGIN BIFF record. - */ - private function _writeMarginTop() - { - $record = 0x0028; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getTop(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Store the BOTTOMMARGIN BIFF record. - */ - private function _writeMarginBottom() - { - $record = 0x0029; // Record identifier - $length = 0x0008; // Bytes to follow - - $margin = $this->_phpSheet->getPageMargins()->getBottom(); // Margin in inches - - $header = pack("vv", $record, $length); - $data = pack("d", $margin); - if (self::getByteOrder()) { // if it's Big Endian - $data = strrev($data); - } - - $this->_append($header . $data); - } - - /** - * Write the PRINTHEADERS BIFF record. - */ - private function _writePrintHeaders() - { - $record = 0x002a; // Record identifier - $length = 0x0002; // Bytes to follow - - $fPrintRwCol = $this->_print_headers; // Boolean flag - - $header = pack("vv", $record, $length); - $data = pack("v", $fPrintRwCol); - $this->_append($header . $data); - } - - /** - * Write the PRINTGRIDLINES BIFF record. Must be used in conjunction with the - * GRIDSET record. - */ - private function _writePrintGridlines() - { - $record = 0x002b; // Record identifier - $length = 0x0002; // Bytes to follow - - $fPrintGrid = $this->_phpSheet->getPrintGridlines() ? 1 : 0; // Boolean flag - - $header = pack("vv", $record, $length); - $data = pack("v", $fPrintGrid); - $this->_append($header . $data); - } - - /** - * Write the GRIDSET BIFF record. Must be used in conjunction with the - * PRINTGRIDLINES record. - */ - private function _writeGridset() - { - $record = 0x0082; // Record identifier - $length = 0x0002; // Bytes to follow - - $fGridSet = !$this->_phpSheet->getPrintGridlines(); // Boolean flag - - $header = pack("vv", $record, $length); - $data = pack("v", $fGridSet); - $this->_append($header . $data); - } - - /** - * Write the AUTOFILTERINFO BIFF record. This is used to configure the number of autofilter select used in the sheet. - */ - private function _writeAutoFilterInfo(){ - $record = 0x009D; // Record identifier - $length = 0x0002; // Bytes to follow - - $rangeBounds = PHPExcel_Cell::rangeBoundaries($this->_phpSheet->getAutoFilter()->getRange()); - $iNumFilters = 1 + $rangeBounds[1][0] - $rangeBounds[0][0]; - - $header = pack("vv", $record, $length); - $data = pack("v", $iNumFilters); - $this->_append($header . $data); - } - - /** - * Write the GUTS BIFF record. This is used to configure the gutter margins - * where Excel outline symbols are displayed. The visibility of the gutters is - * controlled by a flag in WSBOOL. - * - * @see _writeWsbool() - */ - private function _writeGuts() - { - $record = 0x0080; // Record identifier - $length = 0x0008; // Bytes to follow - - $dxRwGut = 0x0000; // Size of row gutter - $dxColGut = 0x0000; // Size of col gutter - - // determine maximum row outline level - $maxRowOutlineLevel = 0; - foreach ($this->_phpSheet->getRowDimensions() as $rowDimension) { - $maxRowOutlineLevel = max($maxRowOutlineLevel, $rowDimension->getOutlineLevel()); - } - - $col_level = 0; - - // Calculate the maximum column outline level. The equivalent calculation - // for the row outline level is carried out in _writeRow(). - $colcount = count($this->_colinfo); - for ($i = 0; $i < $colcount; ++$i) { - $col_level = max($this->_colinfo[$i][5], $col_level); - } - - // Set the limits for the outline levels (0 <= x <= 7). - $col_level = max(0, min($col_level, 7)); - - // The displayed level is one greater than the max outline levels - if ($maxRowOutlineLevel) { - ++$maxRowOutlineLevel; - } - if ($col_level) { - ++$col_level; - } - - $header = pack("vv", $record, $length); - $data = pack("vvvv", $dxRwGut, $dxColGut, $maxRowOutlineLevel, $col_level); - - $this->_append($header.$data); - } - - /** - * Write the WSBOOL BIFF record, mainly for fit-to-page. Used in conjunction - * with the SETUP record. - */ - private function _writeWsbool() - { - $record = 0x0081; // Record identifier - $length = 0x0002; // Bytes to follow - $grbit = 0x0000; - - // The only option that is of interest is the flag for fit to page. So we - // set all the options in one go. - // - // Set the option flags - $grbit |= 0x0001; // Auto page breaks visible - if ($this->_outline_style) { - $grbit |= 0x0020; // Auto outline styles - } - if ($this->_phpSheet->getShowSummaryBelow()) { - $grbit |= 0x0040; // Outline summary below - } - if ($this->_phpSheet->getShowSummaryRight()) { - $grbit |= 0x0080; // Outline summary right - } - if ($this->_phpSheet->getPageSetup()->getFitToPage()) { - $grbit |= 0x0100; // Page setup fit to page - } - if ($this->_outline_on) { - $grbit |= 0x0400; // Outline symbols displayed - } - - $header = pack("vv", $record, $length); - $data = pack("v", $grbit); - $this->_append($header . $data); - } - - /** - * Write the HORIZONTALPAGEBREAKS and VERTICALPAGEBREAKS BIFF records. - */ - private function _writeBreaks() - { - // initialize - $vbreaks = array(); - $hbreaks = array(); - - foreach ($this->_phpSheet->getBreaks() as $cell => $breakType) { - // Fetch coordinates - $coordinates = PHPExcel_Cell::coordinateFromString($cell); - - // Decide what to do by the type of break - switch ($breakType) { - case PHPExcel_Worksheet::BREAK_COLUMN: - // Add to list of vertical breaks - $vbreaks[] = PHPExcel_Cell::columnIndexFromString($coordinates[0]) - 1; - break; - - case PHPExcel_Worksheet::BREAK_ROW: - // Add to list of horizontal breaks - $hbreaks[] = $coordinates[1]; - break; - - case PHPExcel_Worksheet::BREAK_NONE: - default: - // Nothing to do - break; - } - } - - //horizontal page breaks - if (!empty($hbreaks)) { - - // Sort and filter array of page breaks - sort($hbreaks, SORT_NUMERIC); - if ($hbreaks[0] == 0) { // don't use first break if it's 0 - array_shift($hbreaks); - } - - $record = 0x001b; // Record identifier - $cbrk = count($hbreaks); // Number of page breaks - $length = 2 + 6 * $cbrk; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $cbrk); - - // Append each page break - foreach ($hbreaks as $hbreak) { - $data .= pack("vvv", $hbreak, 0x0000, 0x00ff); - } - - $this->_append($header . $data); - } - - // vertical page breaks - if (!empty($vbreaks)) { - - // 1000 vertical pagebreaks appears to be an internal Excel 5 limit. - // It is slightly higher in Excel 97/200, approx. 1026 - $vbreaks = array_slice($vbreaks, 0, 1000); - - // Sort and filter array of page breaks - sort($vbreaks, SORT_NUMERIC); - if ($vbreaks[0] == 0) { // don't use first break if it's 0 - array_shift($vbreaks); - } - - $record = 0x001a; // Record identifier - $cbrk = count($vbreaks); // Number of page breaks - $length = 2 + 6 * $cbrk; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("v", $cbrk); - - // Append each page break - foreach ($vbreaks as $vbreak) { - $data .= pack("vvv", $vbreak, 0x0000, 0xffff); - } - - $this->_append($header . $data); - } - } - - /** - * Set the Biff PROTECT record to indicate that the worksheet is protected. - */ - private function _writeProtect() - { - // Exit unless sheet protection has been specified - if (!$this->_phpSheet->getProtection()->getSheet()) { - return; - } - - $record = 0x0012; // Record identifier - $length = 0x0002; // Bytes to follow - - $fLock = 1; // Worksheet is protected - - $header = pack("vv", $record, $length); - $data = pack("v", $fLock); - - $this->_append($header.$data); - } - - /** - * Write SCENPROTECT - */ - private function _writeScenProtect() - { - // Exit if sheet protection is not active - if (!$this->_phpSheet->getProtection()->getSheet()) { - return; - } - - // Exit if scenarios are not protected - if (!$this->_phpSheet->getProtection()->getScenarios()) { - return; - } - - $record = 0x00DD; // Record identifier - $length = 0x0002; // Bytes to follow - - $header = pack('vv', $record, $length); - $data = pack('v', 1); - - $this->_append($header . $data); - } - - /** - * Write OBJECTPROTECT - */ - private function _writeObjectProtect() - { - // Exit if sheet protection is not active - if (!$this->_phpSheet->getProtection()->getSheet()) { - return; - } - - // Exit if objects are not protected - if (!$this->_phpSheet->getProtection()->getObjects()) { - return; - } - - $record = 0x0063; // Record identifier - $length = 0x0002; // Bytes to follow - - $header = pack('vv', $record, $length); - $data = pack('v', 1); - - $this->_append($header . $data); - } - - /** - * Write the worksheet PASSWORD record. - */ - private function _writePassword() - { - // Exit unless sheet protection and password have been specified - if (!$this->_phpSheet->getProtection()->getSheet() || !$this->_phpSheet->getProtection()->getPassword()) { - return; - } - - $record = 0x0013; // Record identifier - $length = 0x0002; // Bytes to follow - - $wPassword = hexdec($this->_phpSheet->getProtection()->getPassword()); // Encoded password - - $header = pack("vv", $record, $length); - $data = pack("v", $wPassword); - - $this->_append($header . $data); - } - - /** - * Insert a 24bit bitmap image in a worksheet. - * - * @access public - * @param integer $row The row we are going to insert the bitmap into - * @param integer $col The column we are going to insert the bitmap into - * @param mixed $bitmap The bitmap filename or GD-image resource - * @param integer $x The horizontal position (offset) of the image inside the cell. - * @param integer $y The vertical position (offset) of the image inside the cell. - * @param float $scale_x The horizontal scale - * @param float $scale_y The vertical scale - */ - function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1) - { - $bitmap_array = (is_resource($bitmap) ? $this->_processBitmapGd($bitmap) : $this->_processBitmap($bitmap)); - list($width, $height, $size, $data) = $bitmap_array; //$this->_processBitmap($bitmap); - - // Scale the frame of the image. - $width *= $scale_x; - $height *= $scale_y; - - // Calculate the vertices of the image and write the OBJ record - $this->_positionImage($col, $row, $x, $y, $width, $height); - - // Write the IMDATA record to store the bitmap data - $record = 0x007f; - $length = 8 + $size; - $cf = 0x09; - $env = 0x01; - $lcb = $size; - - $header = pack("vvvvV", $record, $length, $cf, $env, $lcb); - $this->_append($header.$data); - } - - /** - * Calculate the vertices that define the position of the image as required by - * the OBJ record. - * - * +------------+------------+ - * | A | B | - * +-----+------------+------------+ - * | |(x1,y1) | | - * | 1 |(A1)._______|______ | - * | | | | | - * | | | | | - * +-----+----| BITMAP |-----+ - * | | | | | - * | 2 | |______________. | - * | | | (B2)| - * | | | (x2,y2)| - * +---- +------------+------------+ - * - * Example of a bitmap that covers some of the area from cell A1 to cell B2. - * - * Based on the width and height of the bitmap we need to calculate 8 vars: - * $col_start, $row_start, $col_end, $row_end, $x1, $y1, $x2, $y2. - * The width and height of the cells are also variable and have to be taken into - * account. - * The values of $col_start and $row_start are passed in from the calling - * function. The values of $col_end and $row_end are calculated by subtracting - * the width and height of the bitmap from the width and height of the - * underlying cells. - * The vertices are expressed as a percentage of the underlying cell width as - * follows (rhs values are in pixels): - * - * x1 = X / W *1024 - * y1 = Y / H *256 - * x2 = (X-1) / W *1024 - * y2 = (Y-1) / H *256 - * - * Where: X is distance from the left side of the underlying cell - * Y is distance from the top of the underlying cell - * W is the width of the cell - * H is the height of the cell - * The SDK incorrectly states that the height should be expressed as a - * percentage of 1024. - * - * @access private - * @param integer $col_start Col containing upper left corner of object - * @param integer $row_start Row containing top left corner of object - * @param integer $x1 Distance to left side of object - * @param integer $y1 Distance to top of object - * @param integer $width Width of image frame - * @param integer $height Height of image frame - */ - function _positionImage($col_start, $row_start, $x1, $y1, $width, $height) - { - // Initialise end cell to the same as the start cell - $col_end = $col_start; // Col containing lower right corner of object - $row_end = $row_start; // Row containing bottom right corner of object - - // Zero the specified offset if greater than the cell dimensions - if ($x1 >= PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start))) { - $x1 = 0; - } - if ($y1 >= PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_start + 1)) { - $y1 = 0; - } - - $width = $width + $x1 -1; - $height = $height + $y1 -1; - - // Subtract the underlying cell widths to find the end cell of the image - while ($width >= PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end))) { - $width -= PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end)); - ++$col_end; - } - - // Subtract the underlying cell heights to find the end cell of the image - while ($height >= PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1)) { - $height -= PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1); - ++$row_end; - } - - // Bitmap isn't allowed to start or finish in a hidden cell, i.e. a cell - // with zero eight or width. - // - if (PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) == 0) { - return; - } - if (PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) == 0) { - return; - } - if (PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_start + 1) == 0) { - return; - } - if (PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1) == 0) { - return; - } - - // Convert the pixel values to the percentage value expected by Excel - $x1 = $x1 / PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_start)) * 1024; - $y1 = $y1 / PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_start + 1) * 256; - $x2 = $width / PHPExcel_Shared_Excel5::sizeCol($this->_phpSheet, PHPExcel_Cell::stringFromColumnIndex($col_end)) * 1024; // Distance to right side of object - $y2 = $height / PHPExcel_Shared_Excel5::sizeRow($this->_phpSheet, $row_end + 1) * 256; // Distance to bottom of object - - $this->_writeObjPicture($col_start, $x1, - $row_start, $y1, - $col_end, $x2, - $row_end, $y2); - } - - /** - * Store the OBJ record that precedes an IMDATA record. This could be generalise - * to support other Excel objects. - * - * @param integer $colL Column containing upper left corner of object - * @param integer $dxL Distance from left side of cell - * @param integer $rwT Row containing top left corner of object - * @param integer $dyT Distance from top of cell - * @param integer $colR Column containing lower right corner of object - * @param integer $dxR Distance from right of cell - * @param integer $rwB Row containing bottom right corner of object - * @param integer $dyB Distance from bottom of cell - */ - private function _writeObjPicture($colL,$dxL,$rwT,$dyT,$colR,$dxR,$rwB,$dyB) - { - $record = 0x005d; // Record identifier - $length = 0x003c; // Bytes to follow - - $cObj = 0x0001; // Count of objects in file (set to 1) - $OT = 0x0008; // Object type. 8 = Picture - $id = 0x0001; // Object ID - $grbit = 0x0614; // Option flags - - $cbMacro = 0x0000; // Length of FMLA structure - $Reserved1 = 0x0000; // Reserved - $Reserved2 = 0x0000; // Reserved - - $icvBack = 0x09; // Background colour - $icvFore = 0x09; // Foreground colour - $fls = 0x00; // Fill pattern - $fAuto = 0x00; // Automatic fill - $icv = 0x08; // Line colour - $lns = 0xff; // Line style - $lnw = 0x01; // Line weight - $fAutoB = 0x00; // Automatic border - $frs = 0x0000; // Frame style - $cf = 0x0009; // Image format, 9 = bitmap - $Reserved3 = 0x0000; // Reserved - $cbPictFmla = 0x0000; // Length of FMLA structure - $Reserved4 = 0x0000; // Reserved - $grbit2 = 0x0001; // Option flags - $Reserved5 = 0x0000; // Reserved - - - $header = pack("vv", $record, $length); - $data = pack("V", $cObj); - $data .= pack("v", $OT); - $data .= pack("v", $id); - $data .= pack("v", $grbit); - $data .= pack("v", $colL); - $data .= pack("v", $dxL); - $data .= pack("v", $rwT); - $data .= pack("v", $dyT); - $data .= pack("v", $colR); - $data .= pack("v", $dxR); - $data .= pack("v", $rwB); - $data .= pack("v", $dyB); - $data .= pack("v", $cbMacro); - $data .= pack("V", $Reserved1); - $data .= pack("v", $Reserved2); - $data .= pack("C", $icvBack); - $data .= pack("C", $icvFore); - $data .= pack("C", $fls); - $data .= pack("C", $fAuto); - $data .= pack("C", $icv); - $data .= pack("C", $lns); - $data .= pack("C", $lnw); - $data .= pack("C", $fAutoB); - $data .= pack("v", $frs); - $data .= pack("V", $cf); - $data .= pack("v", $Reserved3); - $data .= pack("v", $cbPictFmla); - $data .= pack("v", $Reserved4); - $data .= pack("v", $grbit2); - $data .= pack("V", $Reserved5); - - $this->_append($header . $data); - } - - /** - * Convert a GD-image into the internal format. - * - * @access private - * @param resource $image The image to process - * @return array Array with data and properties of the bitmap - */ - function _processBitmapGd($image) { - $width = imagesx($image); - $height = imagesy($image); - - $data = pack("Vvvvv", 0x000c, $width, $height, 0x01, 0x18); - for ($j=$height; $j--; ) { - for ($i=0; $i < $width; ++$i) { - $color = imagecolorsforindex($image, imagecolorat($image, $i, $j)); - foreach (array("red", "green", "blue") as $key) { - $color[$key] = $color[$key] + round((255 - $color[$key]) * $color["alpha"] / 127); - } - $data .= chr($color["blue"]) . chr($color["green"]) . chr($color["red"]); - } - if (3*$width % 4) { - $data .= str_repeat("\x00", 4 - 3*$width % 4); - } - } - - return array($width, $height, strlen($data), $data); - } - - /** - * Convert a 24 bit bitmap into the modified internal format used by Windows. - * This is described in BITMAPCOREHEADER and BITMAPCOREINFO structures in the - * MSDN library. - * - * @access private - * @param string $bitmap The bitmap to process - * @return array Array with data and properties of the bitmap - */ - function _processBitmap($bitmap) - { - // Open file. - $bmp_fd = @fopen($bitmap,"rb"); - if (!$bmp_fd) { - throw new PHPExcel_Writer_Exception("Couldn't import $bitmap"); - } - - // Slurp the file into a string. - $data = fread($bmp_fd, filesize($bitmap)); - - // Check that the file is big enough to be a bitmap. - if (strlen($data) <= 0x36) { - throw new PHPExcel_Writer_Exception("$bitmap doesn't contain enough data.\n"); - } - - // The first 2 bytes are used to identify the bitmap. - $identity = unpack("A2ident", $data); - if ($identity['ident'] != "BM") { - throw new PHPExcel_Writer_Exception("$bitmap doesn't appear to be a valid bitmap image.\n"); - } - - // Remove bitmap data: ID. - $data = substr($data, 2); - - // Read and remove the bitmap size. This is more reliable than reading - // the data size at offset 0x22. - // - $size_array = unpack("Vsa", substr($data, 0, 4)); - $size = $size_array['sa']; - $data = substr($data, 4); - $size -= 0x36; // Subtract size of bitmap header. - $size += 0x0C; // Add size of BIFF header. - - // Remove bitmap data: reserved, offset, header length. - $data = substr($data, 12); - - // Read and remove the bitmap width and height. Verify the sizes. - $width_and_height = unpack("V2", substr($data, 0, 8)); - $width = $width_and_height[1]; - $height = $width_and_height[2]; - $data = substr($data, 8); - if ($width > 0xFFFF) { - throw new PHPExcel_Writer_Exception("$bitmap: largest image width supported is 65k.\n"); - } - if ($height > 0xFFFF) { - throw new PHPExcel_Writer_Exception("$bitmap: largest image height supported is 65k.\n"); - } - - // Read and remove the bitmap planes and bpp data. Verify them. - $planes_and_bitcount = unpack("v2", substr($data, 0, 4)); - $data = substr($data, 4); - if ($planes_and_bitcount[2] != 24) { // Bitcount - throw new PHPExcel_Writer_Exception("$bitmap isn't a 24bit true color bitmap.\n"); - } - if ($planes_and_bitcount[1] != 1) { - throw new PHPExcel_Writer_Exception("$bitmap: only 1 plane supported in bitmap image.\n"); - } - - // Read and remove the bitmap compression. Verify compression. - $compression = unpack("Vcomp", substr($data, 0, 4)); - $data = substr($data, 4); - - //$compression = 0; - if ($compression['comp'] != 0) { - throw new PHPExcel_Writer_Exception("$bitmap: compression not supported in bitmap image.\n"); - } - - // Remove bitmap data: data size, hres, vres, colours, imp. colours. - $data = substr($data, 20); - - // Add the BITMAPCOREHEADER data - $header = pack("Vvvvv", 0x000c, $width, $height, 0x01, 0x18); - $data = $header . $data; - - return (array($width, $height, $size, $data)); - } - - /** - * Store the window zoom factor. This should be a reduced fraction but for - * simplicity we will store all fractions with a numerator of 100. - */ - private function _writeZoom() - { - // If scale is 100 we don't need to write a record - if ($this->_phpSheet->getSheetView()->getZoomScale() == 100) { - return; - } - - $record = 0x00A0; // Record identifier - $length = 0x0004; // Bytes to follow - - $header = pack("vv", $record, $length); - $data = pack("vv", $this->_phpSheet->getSheetView()->getZoomScale(), 100); - $this->_append($header . $data); - } - - /** - * Get Escher object - * - * @return PHPExcel_Shared_Escher - */ - public function getEscher() - { - return $this->_escher; - } - - /** - * Set Escher object - * - * @param PHPExcel_Shared_Escher $pValue - */ - public function setEscher(PHPExcel_Shared_Escher $pValue = null) - { - $this->_escher = $pValue; - } - - /** - * Write MSODRAWING record - */ - private function _writeMsoDrawing() - { - // write the Escher stream if necessary - if (isset($this->_escher)) { - $writer = new PHPExcel_Writer_Excel5_Escher($this->_escher); - $data = $writer->close(); - $spOffsets = $writer->getSpOffsets(); - $spTypes = $writer->getSpTypes(); - // write the neccesary MSODRAWING, OBJ records - - // split the Escher stream - $spOffsets[0] = 0; - $nm = count($spOffsets) - 1; // number of shapes excluding first shape - for ($i = 1; $i <= $nm; ++$i) { - // MSODRAWING record - $record = 0x00EC; // Record identifier - - // chunk of Escher stream for one shape - $dataChunk = substr($data, $spOffsets[$i -1], $spOffsets[$i] - $spOffsets[$i - 1]); - - $length = strlen($dataChunk); - $header = pack("vv", $record, $length); - - $this->_append($header . $dataChunk); - - // OBJ record - $record = 0x005D; // record identifier - $objData = ''; - - // ftCmo - if($spTypes[$i] == 0x00C9){ - // Add ftCmo (common object data) subobject - $objData .= - pack('vvvvvVVV' - , 0x0015 // 0x0015 = ftCmo - , 0x0012 // length of ftCmo data - , 0x0014 // object type, 0x0014 = filter - , $i // object id number, Excel seems to use 1-based index, local for the sheet - , 0x2101 // option flags, 0x2001 is what OpenOffice.org uses - , 0 // reserved - , 0 // reserved - , 0 // reserved - ); - - // Add ftSbs Scroll bar subobject - $objData .= pack('vv', 0x00C, 0x0014); - $objData .= pack('H*', '0000000000000000640001000A00000010000100'); - // Add ftLbsData (List box data) subobject - $objData .= pack('vv', 0x0013, 0x1FEE); - $objData .= pack('H*', '00000000010001030000020008005700'); - } - else { - // Add ftCmo (common object data) subobject - $objData .= - pack('vvvvvVVV' - , 0x0015 // 0x0015 = ftCmo - , 0x0012 // length of ftCmo data - , 0x0008 // object type, 0x0008 = picture - , $i // object id number, Excel seems to use 1-based index, local for the sheet - , 0x6011 // option flags, 0x6011 is what OpenOffice.org uses - , 0 // reserved - , 0 // reserved - , 0 // reserved - ); - } - - // ftEnd - $objData .= - pack('vv' - , 0x0000 // 0x0000 = ftEnd - , 0x0000 // length of ftEnd data - ); - - $length = strlen($objData); - $header = pack('vv', $record, $length); - $this->_append($header . $objData); - } - } - } - - /** - * Store the DATAVALIDATIONS and DATAVALIDATION records. - */ - private function _writeDataValidity() - { - // Datavalidation collection - $dataValidationCollection = $this->_phpSheet->getDataValidationCollection(); - - // Write data validations? - if (!empty($dataValidationCollection)) { - - // DATAVALIDATIONS record - $record = 0x01B2; // Record identifier - $length = 0x0012; // Bytes to follow - - $grbit = 0x0000; // Prompt box at cell, no cached validity data at DV records - $horPos = 0x00000000; // Horizontal position of prompt box, if fixed position - $verPos = 0x00000000; // Vertical position of prompt box, if fixed position - $objId = 0xFFFFFFFF; // Object identifier of drop down arrow object, or -1 if not visible - - $header = pack('vv', $record, $length); - $data = pack('vVVVV', $grbit, $horPos, $verPos, $objId, - count($dataValidationCollection)); - $this->_append($header.$data); - - // DATAVALIDATION records - $record = 0x01BE; // Record identifier - - foreach ($dataValidationCollection as $cellCoordinate => $dataValidation) { - // initialize record data - $data = ''; - - // options - $options = 0x00000000; - - // data type - $type = $dataValidation->getType(); - switch ($type) { - case PHPExcel_Cell_DataValidation::TYPE_NONE: $type = 0x00; break; - case PHPExcel_Cell_DataValidation::TYPE_WHOLE: $type = 0x01; break; - case PHPExcel_Cell_DataValidation::TYPE_DECIMAL: $type = 0x02; break; - case PHPExcel_Cell_DataValidation::TYPE_LIST: $type = 0x03; break; - case PHPExcel_Cell_DataValidation::TYPE_DATE: $type = 0x04; break; - case PHPExcel_Cell_DataValidation::TYPE_TIME: $type = 0x05; break; - case PHPExcel_Cell_DataValidation::TYPE_TEXTLENGTH: $type = 0x06; break; - case PHPExcel_Cell_DataValidation::TYPE_CUSTOM: $type = 0x07; break; - } - $options |= $type << 0; - - // error style - $errorStyle = $dataValidation->getType(); - switch ($errorStyle) { - case PHPExcel_Cell_DataValidation::STYLE_STOP: $errorStyle = 0x00; break; - case PHPExcel_Cell_DataValidation::STYLE_WARNING: $errorStyle = 0x01; break; - case PHPExcel_Cell_DataValidation::STYLE_INFORMATION: $errorStyle = 0x02; break; - } - $options |= $errorStyle << 4; - - // explicit formula? - if ($type == 0x03 && preg_match('/^\".*\"$/', $dataValidation->getFormula1())) { - $options |= 0x01 << 7; - } - - // empty cells allowed - $options |= $dataValidation->getAllowBlank() << 8; - - // show drop down - $options |= (!$dataValidation->getShowDropDown()) << 9; - - // show input message - $options |= $dataValidation->getShowInputMessage() << 18; - - // show error message - $options |= $dataValidation->getShowErrorMessage() << 19; - - // condition operator - $operator = $dataValidation->getOperator(); - switch ($operator) { - case PHPExcel_Cell_DataValidation::OPERATOR_BETWEEN: $operator = 0x00 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_NOTBETWEEN: $operator = 0x01 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_EQUAL: $operator = 0x02 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_NOTEQUAL: $operator = 0x03 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHAN: $operator = 0x04 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_LESSTHAN: $operator = 0x05 ; break; - case PHPExcel_Cell_DataValidation::OPERATOR_GREATERTHANOREQUAL: $operator = 0x06; break; - case PHPExcel_Cell_DataValidation::OPERATOR_LESSTHANOREQUAL: $operator = 0x07 ; break; - } - $options |= $operator << 20; - - $data = pack('V', $options); - - // prompt title - $promptTitle = $dataValidation->getPromptTitle() !== '' ? - $dataValidation->getPromptTitle() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($promptTitle); - - // error title - $errorTitle = $dataValidation->getErrorTitle() !== '' ? - $dataValidation->getErrorTitle() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($errorTitle); - - // prompt text - $prompt = $dataValidation->getPrompt() !== '' ? - $dataValidation->getPrompt() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($prompt); - - // error text - $error = $dataValidation->getError() !== '' ? - $dataValidation->getError() : chr(0); - $data .= PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($error); - - // formula 1 - try { - $formula1 = $dataValidation->getFormula1(); - if ($type == 0x03) { // list type - $formula1 = str_replace(',', chr(0), $formula1); - } - $this->_parser->parse($formula1); - $formula1 = $this->_parser->toReversePolish(); - $sz1 = strlen($formula1); - - } catch(PHPExcel_Exception $e) { - $sz1 = 0; - $formula1 = ''; - } - $data .= pack('vv', $sz1, 0x0000); - $data .= $formula1; - - // formula 2 - try { - $formula2 = $dataValidation->getFormula2(); - if ($formula2 === '') { - throw new PHPExcel_Writer_Exception('No formula2'); - } - $this->_parser->parse($formula2); - $formula2 = $this->_parser->toReversePolish(); - $sz2 = strlen($formula2); - - } catch(PHPExcel_Exception $e) { - $sz2 = 0; - $formula2 = ''; - } - $data .= pack('vv', $sz2, 0x0000); - $data .= $formula2; - - // cell range address list - $data .= pack('v', 0x0001); - $data .= $this->_writeBIFF8CellRangeAddressFixed($cellCoordinate); - - $length = strlen($data); - $header = pack("vv", $record, $length); - - $this->_append($header . $data); - } - } - } - - /** - * Map Error code - * - * @param string $errorCode - * @return int - */ - private static function _mapErrorCode($errorCode) { - switch ($errorCode) { - case '#NULL!': return 0x00; - case '#DIV/0!': return 0x07; - case '#VALUE!': return 0x0F; - case '#REF!': return 0x17; - case '#NAME?': return 0x1D; - case '#NUM!': return 0x24; - case '#N/A': return 0x2A; - } - - return 0; - } - - /** - * Write PLV Record - */ - private function _writePageLayoutView(){ - $record = 0x088B; // Record identifier - $length = 0x0010; // Bytes to follow - - $rt = 0x088B; // 2 - $grbitFrt = 0x0000; // 2 - $reserved = 0x0000000000000000; // 8 - $wScalvePLV = $this->_phpSheet->getSheetView()->getZoomScale(); // 2 - - // The options flags that comprise $grbit - if($this->_phpSheet->getSheetView()->getView() == PHPExcel_Worksheet_SheetView::SHEETVIEW_PAGE_LAYOUT){ - $fPageLayoutView = 1; - } else { - $fPageLayoutView = 0; - } - $fRulerVisible = 0; - $fWhitespaceHidden = 0; - - $grbit = $fPageLayoutView; // 2 - $grbit |= $fRulerVisible << 1; - $grbit |= $fWhitespaceHidden << 3; - - $header = pack("vv", $record, $length); - $data = pack("vvVVvv", $rt, $grbitFrt, 0x00000000, 0x00000000, $wScalvePLV, $grbit); - $this->_append($header . $data); - } - - /** - * Write CFRule Record - * @param PHPExcel_Style_Conditional $conditional - */ - private function _writeCFRule(PHPExcel_Style_Conditional $conditional){ - $record = 0x01B1; // Record identifier - - // $type : Type of the CF - // $operatorType : Comparison operator - if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION){ - $type = 0x02; - $operatorType = 0x00; - } else if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS){ - $type = 0x01; - - switch ($conditional->getOperatorType()){ - case PHPExcel_Style_Conditional::OPERATOR_NONE: - $operatorType = 0x00; - break; - case PHPExcel_Style_Conditional::OPERATOR_EQUAL: - $operatorType = 0x03; - break; - case PHPExcel_Style_Conditional::OPERATOR_GREATERTHAN: - $operatorType = 0x05; - break; - case PHPExcel_Style_Conditional::OPERATOR_GREATERTHANOREQUAL: - $operatorType = 0x07; - break; - case PHPExcel_Style_Conditional::OPERATOR_LESSTHAN: - $operatorType = 0x06; - break; - case PHPExcel_Style_Conditional::OPERATOR_LESSTHANOREQUAL: - $operatorType = 0x08; - break; - case PHPExcel_Style_Conditional::OPERATOR_NOTEQUAL: - $operatorType = 0x04; - break; - case PHPExcel_Style_Conditional::OPERATOR_BETWEEN: - $operatorType = 0x01; - break; - // not OPERATOR_NOTBETWEEN 0x02 - } - } - - // $szValue1 : size of the formula data for first value or formula - // $szValue2 : size of the formula data for second value or formula - $arrConditions = $conditional->getConditions(); - $numConditions = sizeof($arrConditions); - if($numConditions == 1){ - $szValue1 = ($arrConditions[0] <= 65535 ? 3 : 0x0000); - $szValue2 = 0x0000; - $operand1 = pack('Cv', 0x1E, $arrConditions[0]); - $operand2 = null; - } else if($numConditions == 2 && ($conditional->getOperatorType() == PHPExcel_Style_Conditional::OPERATOR_BETWEEN)){ - $szValue1 = ($arrConditions[0] <= 65535 ? 3 : 0x0000); - $szValue2 = ($arrConditions[1] <= 65535 ? 3 : 0x0000); - $operand1 = pack('Cv', 0x1E, $arrConditions[0]); - $operand2 = pack('Cv', 0x1E, $arrConditions[1]); - } else { - $szValue1 = 0x0000; - $szValue2 = 0x0000; - $operand1 = null; - $operand2 = null; - } - - // $flags : Option flags - // Alignment - $bAlignHz = ($conditional->getStyle()->getAlignment()->getHorizontal() == null ? 1 : 0); - $bAlignVt = ($conditional->getStyle()->getAlignment()->getVertical() == null ? 1 : 0); - $bAlignWrapTx = ($conditional->getStyle()->getAlignment()->getWrapText() == false ? 1 : 0); - $bTxRotation = ($conditional->getStyle()->getAlignment()->getTextRotation() == null ? 1 : 0); - $bIndent = ($conditional->getStyle()->getAlignment()->getIndent() == 0 ? 1 : 0); - $bShrinkToFit = ($conditional->getStyle()->getAlignment()->getShrinkToFit() == false ? 1 : 0); - if($bAlignHz == 0 || $bAlignVt == 0 || $bAlignWrapTx == 0 || $bTxRotation == 0 || $bIndent == 0 || $bShrinkToFit == 0){ - $bFormatAlign = 1; - } else { - $bFormatAlign = 0; - } - // Protection - $bProtLocked = ($conditional->getStyle()->getProtection()->getLocked() == null ? 1 : 0); - $bProtHidden = ($conditional->getStyle()->getProtection()->getHidden() == null ? 1 : 0); - if($bProtLocked == 0 || $bProtHidden == 0){ - $bFormatProt = 1; - } else { - $bFormatProt = 0; - } - // Border - $bBorderLeft = ($conditional->getStyle()->getBorders()->getLeft()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getLeft()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - $bBorderRight = ($conditional->getStyle()->getBorders()->getRight()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getRight()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - $bBorderTop = ($conditional->getStyle()->getBorders()->getTop()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getTop()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - $bBorderBottom = ($conditional->getStyle()->getBorders()->getBottom()->getColor()->getARGB() == PHPExcel_Style_Color::COLOR_BLACK - && $conditional->getStyle()->getBorders()->getBottom()->getBorderStyle() == PHPExcel_Style_Border::BORDER_NONE ? 1 : 0); - if($bBorderLeft == 0 || $bBorderRight == 0 || $bBorderTop == 0 || $bBorderBottom == 0){ - $bFormatBorder = 1; - } else { - $bFormatBorder = 0; - } - // Pattern - $bFillStyle = ($conditional->getStyle()->getFill()->getFillType() == null ? 0 : 1); - $bFillColor = ($conditional->getStyle()->getFill()->getStartColor()->getARGB() == null ? 0 : 1); - $bFillColorBg = ($conditional->getStyle()->getFill()->getEndColor()->getARGB() == null ? 0 : 1); - if($bFillStyle == 0 || $bFillColor == 0 || $bFillColorBg == 0){ - $bFormatFill = 1; - } else { - $bFormatFill = 0; - } - // Font - if($conditional->getStyle()->getFont()->getName() != null - || $conditional->getStyle()->getFont()->getSize() != null - || $conditional->getStyle()->getFont()->getBold() != null - || $conditional->getStyle()->getFont()->getItalic() != null - || $conditional->getStyle()->getFont()->getSuperScript() != null - || $conditional->getStyle()->getFont()->getSubScript() != null - || $conditional->getStyle()->getFont()->getUnderline() != null - || $conditional->getStyle()->getFont()->getStrikethrough() != null - || $conditional->getStyle()->getFont()->getColor()->getARGB() != null){ - $bFormatFont = 1; - } else { - $bFormatFont = 0; - } - // Alignment - $flags = 0; - $flags |= (1 == $bAlignHz ? 0x00000001 : 0); - $flags |= (1 == $bAlignVt ? 0x00000002 : 0); - $flags |= (1 == $bAlignWrapTx ? 0x00000004 : 0); - $flags |= (1 == $bTxRotation ? 0x00000008 : 0); - // Justify last line flag - $flags |= (1 == 1 ? 0x00000010 : 0); - $flags |= (1 == $bIndent ? 0x00000020 : 0); - $flags |= (1 == $bShrinkToFit ? 0x00000040 : 0); - // Default - $flags |= (1 == 1 ? 0x00000080 : 0); - // Protection - $flags |= (1 == $bProtLocked ? 0x00000100 : 0); - $flags |= (1 == $bProtHidden ? 0x00000200 : 0); - // Border - $flags |= (1 == $bBorderLeft ? 0x00000400 : 0); - $flags |= (1 == $bBorderRight ? 0x00000800 : 0); - $flags |= (1 == $bBorderTop ? 0x00001000 : 0); - $flags |= (1 == $bBorderBottom ? 0x00002000 : 0); - $flags |= (1 == 1 ? 0x00004000 : 0); // Top left to Bottom right border - $flags |= (1 == 1 ? 0x00008000 : 0); // Bottom left to Top right border - // Pattern - $flags |= (1 == $bFillStyle ? 0x00010000 : 0); - $flags |= (1 == $bFillColor ? 0x00020000 : 0); - $flags |= (1 == $bFillColorBg ? 0x00040000 : 0); - $flags |= (1 == 1 ? 0x00380000 : 0); - // Font - $flags |= (1 == $bFormatFont ? 0x04000000 : 0); - // Alignment : - $flags |= (1 == $bFormatAlign ? 0x08000000 : 0); - // Border - $flags |= (1 == $bFormatBorder ? 0x10000000 : 0); - // Pattern - $flags |= (1 == $bFormatFill ? 0x20000000 : 0); - // Protection - $flags |= (1 == $bFormatProt ? 0x40000000 : 0); - // Text direction - $flags |= (1 == 0 ? 0x80000000 : 0); - - // Data Blocks - if($bFormatFont == 1){ - // Font Name - if($conditional->getStyle()->getFont()->getName() == null){ - $dataBlockFont = pack('VVVVVVVV', 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000); - $dataBlockFont .= pack('VVVVVVVV', 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000); - } else { - $dataBlockFont = PHPExcel_Shared_String::UTF8toBIFF8UnicodeLong($conditional->getStyle()->getFont()->getName()); - } - // Font Size - if($conditional->getStyle()->getFont()->getSize() == null){ - $dataBlockFont .= pack('V', 20 * 11); - } else { - $dataBlockFont .= pack('V', 20 * $conditional->getStyle()->getFont()->getSize()); - } - // Font Options - $dataBlockFont .= pack('V', 0); - // Font weight - if($conditional->getStyle()->getFont()->getBold() == true){ - $dataBlockFont .= pack('v', 0x02BC); - } else { - $dataBlockFont .= pack('v', 0x0190); - } - // Escapement type - if($conditional->getStyle()->getFont()->getSubScript() == true){ - $dataBlockFont .= pack('v', 0x02); - $fontEscapement = 0; - } else if($conditional->getStyle()->getFont()->getSuperScript() == true){ - $dataBlockFont .= pack('v', 0x01); - $fontEscapement = 0; - } else { - $dataBlockFont .= pack('v', 0x00); - $fontEscapement = 1; - } - // Underline type - switch ($conditional->getStyle()->getFont()->getUnderline()){ - case PHPExcel_Style_Font::UNDERLINE_NONE : $dataBlockFont .= pack('C', 0x00); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_DOUBLE : $dataBlockFont .= pack('C', 0x02); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_DOUBLEACCOUNTING : $dataBlockFont .= pack('C', 0x22); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_SINGLE : $dataBlockFont .= pack('C', 0x01); $fontUnderline = 0; break; - case PHPExcel_Style_Font::UNDERLINE_SINGLEACCOUNTING : $dataBlockFont .= pack('C', 0x21); $fontUnderline = 0; break; - default : $dataBlockFont .= pack('C', 0x00); $fontUnderline = 1; break; - } - // Not used (3) - $dataBlockFont .= pack('vC', 0x0000, 0x00); - // Font color index - switch ($conditional->getStyle()->getFont()->getColor()->getRGB()) { - case '000000': $colorIdx = 0x08; break; - case 'FFFFFF': $colorIdx = 0x09; break; - case 'FF0000': $colorIdx = 0x0A; break; - case '00FF00': $colorIdx = 0x0B; break; - case '0000FF': $colorIdx = 0x0C; break; - case 'FFFF00': $colorIdx = 0x0D; break; - case 'FF00FF': $colorIdx = 0x0E; break; - case '00FFFF': $colorIdx = 0x0F; break; - case '800000': $colorIdx = 0x10; break; - case '008000': $colorIdx = 0x11; break; - case '000080': $colorIdx = 0x12; break; - case '808000': $colorIdx = 0x13; break; - case '800080': $colorIdx = 0x14; break; - case '008080': $colorIdx = 0x15; break; - case 'C0C0C0': $colorIdx = 0x16; break; - case '808080': $colorIdx = 0x17; break; - case '9999FF': $colorIdx = 0x18; break; - case '993366': $colorIdx = 0x19; break; - case 'FFFFCC': $colorIdx = 0x1A; break; - case 'CCFFFF': $colorIdx = 0x1B; break; - case '660066': $colorIdx = 0x1C; break; - case 'FF8080': $colorIdx = 0x1D; break; - case '0066CC': $colorIdx = 0x1E; break; - case 'CCCCFF': $colorIdx = 0x1F; break; - case '000080': $colorIdx = 0x20; break; - case 'FF00FF': $colorIdx = 0x21; break; - case 'FFFF00': $colorIdx = 0x22; break; - case '00FFFF': $colorIdx = 0x23; break; - case '800080': $colorIdx = 0x24; break; - case '800000': $colorIdx = 0x25; break; - case '008080': $colorIdx = 0x26; break; - case '0000FF': $colorIdx = 0x27; break; - case '00CCFF': $colorIdx = 0x28; break; - case 'CCFFFF': $colorIdx = 0x29; break; - case 'CCFFCC': $colorIdx = 0x2A; break; - case 'FFFF99': $colorIdx = 0x2B; break; - case '99CCFF': $colorIdx = 0x2C; break; - case 'FF99CC': $colorIdx = 0x2D; break; - case 'CC99FF': $colorIdx = 0x2E; break; - case 'FFCC99': $colorIdx = 0x2F; break; - case '3366FF': $colorIdx = 0x30; break; - case '33CCCC': $colorIdx = 0x31; break; - case '99CC00': $colorIdx = 0x32; break; - case 'FFCC00': $colorIdx = 0x33; break; - case 'FF9900': $colorIdx = 0x34; break; - case 'FF6600': $colorIdx = 0x35; break; - case '666699': $colorIdx = 0x36; break; - case '969696': $colorIdx = 0x37; break; - case '003366': $colorIdx = 0x38; break; - case '339966': $colorIdx = 0x39; break; - case '003300': $colorIdx = 0x3A; break; - case '333300': $colorIdx = 0x3B; break; - case '993300': $colorIdx = 0x3C; break; - case '993366': $colorIdx = 0x3D; break; - case '333399': $colorIdx = 0x3E; break; - case '333333': $colorIdx = 0x3F; break; - default: $colorIdx = 0x00; break; - } - $dataBlockFont .= pack('V', $colorIdx); - // Not used (4) - $dataBlockFont .= pack('V', 0x00000000); - // Options flags for modified font attributes - $optionsFlags = 0; - $optionsFlagsBold = ($conditional->getStyle()->getFont()->getBold() == null ? 1 : 0); - $optionsFlags |= (1 == $optionsFlagsBold ? 0x00000002 : 0); - $optionsFlags |= (1 == 1 ? 0x00000008 : 0); - $optionsFlags |= (1 == 1 ? 0x00000010 : 0); - $optionsFlags |= (1 == 0 ? 0x00000020 : 0); - $optionsFlags |= (1 == 1 ? 0x00000080 : 0); - $dataBlockFont .= pack('V', $optionsFlags); - // Escapement type - $dataBlockFont .= pack('V', $fontEscapement); - // Underline type - $dataBlockFont .= pack('V', $fontUnderline); - // Always - $dataBlockFont .= pack('V', 0x00000000); - // Always - $dataBlockFont .= pack('V', 0x00000000); - // Not used (8) - $dataBlockFont .= pack('VV', 0x00000000, 0x00000000); - // Always - $dataBlockFont .= pack('v', 0x0001); - } - if($bFormatAlign == 1){ - $blockAlign = 0; - // Alignment and text break - switch ($conditional->getStyle()->getAlignment()->getHorizontal()){ - case PHPExcel_Style_Alignment::HORIZONTAL_GENERAL : $blockAlign = 0; break; - case PHPExcel_Style_Alignment::HORIZONTAL_LEFT : $blockAlign = 1; break; - case PHPExcel_Style_Alignment::HORIZONTAL_RIGHT : $blockAlign = 3; break; - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER : $blockAlign = 2; break; - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS : $blockAlign = 6; break; - case PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY : $blockAlign = 5; break; - } - if($conditional->getStyle()->getAlignment()->getWrapText() == true){ - $blockAlign |= 1 << 3; - } else { - $blockAlign |= 0 << 3; - } - switch ($conditional->getStyle()->getAlignment()->getVertical()){ - case PHPExcel_Style_Alignment::VERTICAL_BOTTOM : $blockAlign = 2 << 4; break; - case PHPExcel_Style_Alignment::VERTICAL_TOP : $blockAlign = 0 << 4; break; - case PHPExcel_Style_Alignment::VERTICAL_CENTER : $blockAlign = 1 << 4; break; - case PHPExcel_Style_Alignment::VERTICAL_JUSTIFY : $blockAlign = 3 << 4; break; - } - $blockAlign |= 0 << 7; - - // Text rotation angle - $blockRotation = $conditional->getStyle()->getAlignment()->getTextRotation(); - - // Indentation - $blockIndent = $conditional->getStyle()->getAlignment()->getIndent(); - if($conditional->getStyle()->getAlignment()->getShrinkToFit() == true){ - $blockIndent |= 1 << 4; - } else { - $blockIndent |= 0 << 4; - } - $blockIndent |= 0 << 6; - - // Relative indentation - $blockIndentRelative = 255; - - $dataBlockAlign = pack('CCvvv', $blockAlign, $blockRotation, $blockIndent, $blockIndentRelative, 0x0000); - } - if($bFormatBorder == 1){ - $blockLineStyle = 0; - switch ($conditional->getStyle()->getBorders()->getLeft()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D; break; - } - switch ($conditional->getStyle()->getBorders()->getRight()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00 << 4; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01 << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02 << 4; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03 << 4; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04 << 4; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05 << 4; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06 << 4; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07 << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08 << 4; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09 << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A << 4; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B << 4; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C << 4; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D << 4; break; - } - switch ($conditional->getStyle()->getBorders()->getTop()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00 << 8; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01 << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02 << 8; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03 << 8; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04 << 8; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05 << 8; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06 << 8; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07 << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08 << 8; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09 << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A << 8; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B << 8; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C << 8; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D << 8; break; - } - switch ($conditional->getStyle()->getBorders()->getBottom()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockLineStyle |= 0x00 << 12; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockLineStyle |= 0x01 << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockLineStyle |= 0x02 << 12; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockLineStyle |= 0x03 << 12; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockLineStyle |= 0x04 << 12; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockLineStyle |= 0x05 << 12; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockLineStyle |= 0x06 << 12; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockLineStyle |= 0x07 << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockLineStyle |= 0x08 << 12; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockLineStyle |= 0x09 << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockLineStyle |= 0x0A << 12; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockLineStyle |= 0x0B << 12; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockLineStyle |= 0x0C << 12; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockLineStyle |= 0x0D << 12; break; - } - //@todo _writeCFRule() => $blockLineStyle => Index Color for left line - //@todo _writeCFRule() => $blockLineStyle => Index Color for right line - //@todo _writeCFRule() => $blockLineStyle => Top-left to bottom-right on/off - //@todo _writeCFRule() => $blockLineStyle => Bottom-left to top-right on/off - $blockColor = 0; - //@todo _writeCFRule() => $blockColor => Index Color for top line - //@todo _writeCFRule() => $blockColor => Index Color for bottom line - //@todo _writeCFRule() => $blockColor => Index Color for diagonal line - switch ($conditional->getStyle()->getBorders()->getDiagonal()->getBorderStyle()){ - case PHPExcel_Style_Border::BORDER_NONE : $blockColor |= 0x00 << 21; break; - case PHPExcel_Style_Border::BORDER_THIN : $blockColor |= 0x01 << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUM : $blockColor |= 0x02 << 21; break; - case PHPExcel_Style_Border::BORDER_DASHED : $blockColor |= 0x03 << 21; break; - case PHPExcel_Style_Border::BORDER_DOTTED : $blockColor |= 0x04 << 21; break; - case PHPExcel_Style_Border::BORDER_THICK : $blockColor |= 0x05 << 21; break; - case PHPExcel_Style_Border::BORDER_DOUBLE : $blockColor |= 0x06 << 21; break; - case PHPExcel_Style_Border::BORDER_HAIR : $blockColor |= 0x07 << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED : $blockColor |= 0x08 << 21; break; - case PHPExcel_Style_Border::BORDER_DASHDOT : $blockColor |= 0x09 << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT : $blockColor |= 0x0A << 21; break; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT : $blockColor |= 0x0B << 21; break; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT : $blockColor |= 0x0C << 21; break; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT : $blockColor |= 0x0D << 21; break; - } - $dataBlockBorder = pack('vv', $blockLineStyle, $blockColor); - } - if($bFormatFill == 1){ - // Fill Patern Style - $blockFillPatternStyle = 0; - switch ($conditional->getStyle()->getFill()->getFillType()){ - case PHPExcel_Style_Fill::FILL_NONE : $blockFillPatternStyle = 0x00; break; - case PHPExcel_Style_Fill::FILL_SOLID : $blockFillPatternStyle = 0x01; break; - case PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY : $blockFillPatternStyle = 0x02; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY : $blockFillPatternStyle = 0x03; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY : $blockFillPatternStyle = 0x04; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL : $blockFillPatternStyle = 0x05; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL : $blockFillPatternStyle = 0x06; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN : $blockFillPatternStyle = 0x07; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKUP : $blockFillPatternStyle = 0x08; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID : $blockFillPatternStyle = 0x09; break; - case PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS : $blockFillPatternStyle = 0x0A; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL : $blockFillPatternStyle = 0x0B; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL : $blockFillPatternStyle = 0x0C; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN : $blockFillPatternStyle = 0x0D; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP : $blockFillPatternStyle = 0x0E; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID : $blockFillPatternStyle = 0x0F; break; - case PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS : $blockFillPatternStyle = 0x10; break; - case PHPExcel_Style_Fill::FILL_PATTERN_GRAY125 : $blockFillPatternStyle = 0x11; break; - case PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625 : $blockFillPatternStyle = 0x12; break; - case PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR : $blockFillPatternStyle = 0x00; break; // does not exist in BIFF8 - case PHPExcel_Style_Fill::FILL_GRADIENT_PATH : $blockFillPatternStyle = 0x00; break; // does not exist in BIFF8 - default : $blockFillPatternStyle = 0x00; break; - } - // Color - switch ($conditional->getStyle()->getFill()->getStartColor()->getRGB()) { - case '000000': $colorIdxBg = 0x08; break; - case 'FFFFFF': $colorIdxBg = 0x09; break; - case 'FF0000': $colorIdxBg = 0x0A; break; - case '00FF00': $colorIdxBg = 0x0B; break; - case '0000FF': $colorIdxBg = 0x0C; break; - case 'FFFF00': $colorIdxBg = 0x0D; break; - case 'FF00FF': $colorIdxBg = 0x0E; break; - case '00FFFF': $colorIdxBg = 0x0F; break; - case '800000': $colorIdxBg = 0x10; break; - case '008000': $colorIdxBg = 0x11; break; - case '000080': $colorIdxBg = 0x12; break; - case '808000': $colorIdxBg = 0x13; break; - case '800080': $colorIdxBg = 0x14; break; - case '008080': $colorIdxBg = 0x15; break; - case 'C0C0C0': $colorIdxBg = 0x16; break; - case '808080': $colorIdxBg = 0x17; break; - case '9999FF': $colorIdxBg = 0x18; break; - case '993366': $colorIdxBg = 0x19; break; - case 'FFFFCC': $colorIdxBg = 0x1A; break; - case 'CCFFFF': $colorIdxBg = 0x1B; break; - case '660066': $colorIdxBg = 0x1C; break; - case 'FF8080': $colorIdxBg = 0x1D; break; - case '0066CC': $colorIdxBg = 0x1E; break; - case 'CCCCFF': $colorIdxBg = 0x1F; break; - case '000080': $colorIdxBg = 0x20; break; - case 'FF00FF': $colorIdxBg = 0x21; break; - case 'FFFF00': $colorIdxBg = 0x22; break; - case '00FFFF': $colorIdxBg = 0x23; break; - case '800080': $colorIdxBg = 0x24; break; - case '800000': $colorIdxBg = 0x25; break; - case '008080': $colorIdxBg = 0x26; break; - case '0000FF': $colorIdxBg = 0x27; break; - case '00CCFF': $colorIdxBg = 0x28; break; - case 'CCFFFF': $colorIdxBg = 0x29; break; - case 'CCFFCC': $colorIdxBg = 0x2A; break; - case 'FFFF99': $colorIdxBg = 0x2B; break; - case '99CCFF': $colorIdxBg = 0x2C; break; - case 'FF99CC': $colorIdxBg = 0x2D; break; - case 'CC99FF': $colorIdxBg = 0x2E; break; - case 'FFCC99': $colorIdxBg = 0x2F; break; - case '3366FF': $colorIdxBg = 0x30; break; - case '33CCCC': $colorIdxBg = 0x31; break; - case '99CC00': $colorIdxBg = 0x32; break; - case 'FFCC00': $colorIdxBg = 0x33; break; - case 'FF9900': $colorIdxBg = 0x34; break; - case 'FF6600': $colorIdxBg = 0x35; break; - case '666699': $colorIdxBg = 0x36; break; - case '969696': $colorIdxBg = 0x37; break; - case '003366': $colorIdxBg = 0x38; break; - case '339966': $colorIdxBg = 0x39; break; - case '003300': $colorIdxBg = 0x3A; break; - case '333300': $colorIdxBg = 0x3B; break; - case '993300': $colorIdxBg = 0x3C; break; - case '993366': $colorIdxBg = 0x3D; break; - case '333399': $colorIdxBg = 0x3E; break; - case '333333': $colorIdxBg = 0x3F; break; - default: $colorIdxBg = 0x41; break; - } - // Fg Color - switch ($conditional->getStyle()->getFill()->getEndColor()->getRGB()) { - case '000000': $colorIdxFg = 0x08; break; - case 'FFFFFF': $colorIdxFg = 0x09; break; - case 'FF0000': $colorIdxFg = 0x0A; break; - case '00FF00': $colorIdxFg = 0x0B; break; - case '0000FF': $colorIdxFg = 0x0C; break; - case 'FFFF00': $colorIdxFg = 0x0D; break; - case 'FF00FF': $colorIdxFg = 0x0E; break; - case '00FFFF': $colorIdxFg = 0x0F; break; - case '800000': $colorIdxFg = 0x10; break; - case '008000': $colorIdxFg = 0x11; break; - case '000080': $colorIdxFg = 0x12; break; - case '808000': $colorIdxFg = 0x13; break; - case '800080': $colorIdxFg = 0x14; break; - case '008080': $colorIdxFg = 0x15; break; - case 'C0C0C0': $colorIdxFg = 0x16; break; - case '808080': $colorIdxFg = 0x17; break; - case '9999FF': $colorIdxFg = 0x18; break; - case '993366': $colorIdxFg = 0x19; break; - case 'FFFFCC': $colorIdxFg = 0x1A; break; - case 'CCFFFF': $colorIdxFg = 0x1B; break; - case '660066': $colorIdxFg = 0x1C; break; - case 'FF8080': $colorIdxFg = 0x1D; break; - case '0066CC': $colorIdxFg = 0x1E; break; - case 'CCCCFF': $colorIdxFg = 0x1F; break; - case '000080': $colorIdxFg = 0x20; break; - case 'FF00FF': $colorIdxFg = 0x21; break; - case 'FFFF00': $colorIdxFg = 0x22; break; - case '00FFFF': $colorIdxFg = 0x23; break; - case '800080': $colorIdxFg = 0x24; break; - case '800000': $colorIdxFg = 0x25; break; - case '008080': $colorIdxFg = 0x26; break; - case '0000FF': $colorIdxFg = 0x27; break; - case '00CCFF': $colorIdxFg = 0x28; break; - case 'CCFFFF': $colorIdxFg = 0x29; break; - case 'CCFFCC': $colorIdxFg = 0x2A; break; - case 'FFFF99': $colorIdxFg = 0x2B; break; - case '99CCFF': $colorIdxFg = 0x2C; break; - case 'FF99CC': $colorIdxFg = 0x2D; break; - case 'CC99FF': $colorIdxFg = 0x2E; break; - case 'FFCC99': $colorIdxFg = 0x2F; break; - case '3366FF': $colorIdxFg = 0x30; break; - case '33CCCC': $colorIdxFg = 0x31; break; - case '99CC00': $colorIdxFg = 0x32; break; - case 'FFCC00': $colorIdxFg = 0x33; break; - case 'FF9900': $colorIdxFg = 0x34; break; - case 'FF6600': $colorIdxFg = 0x35; break; - case '666699': $colorIdxFg = 0x36; break; - case '969696': $colorIdxFg = 0x37; break; - case '003366': $colorIdxFg = 0x38; break; - case '339966': $colorIdxFg = 0x39; break; - case '003300': $colorIdxFg = 0x3A; break; - case '333300': $colorIdxFg = 0x3B; break; - case '993300': $colorIdxFg = 0x3C; break; - case '993366': $colorIdxFg = 0x3D; break; - case '333399': $colorIdxFg = 0x3E; break; - case '333333': $colorIdxFg = 0x3F; break; - default: $colorIdxFg = 0x40; break; - } - $dataBlockFill = pack('v', $blockFillPatternStyle); - $dataBlockFill .= pack('v', $colorIdxFg | ($colorIdxBg << 7)); - } - if($bFormatProt == 1){ - $dataBlockProtection = 0; - if($conditional->getStyle()->getProtection()->getLocked() == PHPExcel_Style_Protection::PROTECTION_PROTECTED){ - $dataBlockProtection = 1; - } - if($conditional->getStyle()->getProtection()->getHidden() == PHPExcel_Style_Protection::PROTECTION_PROTECTED){ - $dataBlockProtection = 1 << 1; - } - } - - $data = pack('CCvvVv', $type, $operatorType, $szValue1, $szValue2, $flags, 0x0000); - if($bFormatFont == 1){ // Block Formatting : OK - $data .= $dataBlockFont; - } - if($bFormatAlign == 1){ - $data .= $dataBlockAlign; - } - if($bFormatBorder == 1){ - $data .= $dataBlockBorder; - } - if($bFormatFill == 1){ // Block Formatting : OK - $data .= $dataBlockFill; - } - if($bFormatProt == 1){ - $data .= $dataBlockProtection; - } - if(!is_null($operand1)){ - $data .= $operand1; - } - if(!is_null($operand2)){ - $data .= $operand2; - } - $header = pack('vv', $record, strlen($data)); - $this->_append($header . $data); - } - - /** - * Write CFHeader record - */ - private function _writeCFHeader(){ - $record = 0x01B0; // Record identifier - $length = 0x0016; // Bytes to follow - - $numColumnMin = null; - $numColumnMax = null; - $numRowMin = null; - $numRowMax = null; - $arrConditional = array(); - foreach ($this->_phpSheet->getConditionalStylesCollection() as $cellCoordinate => $conditionalStyles) { - foreach ($conditionalStyles as $conditional) { - if($conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_EXPRESSION - || $conditional->getConditionType() == PHPExcel_Style_Conditional::CONDITION_CELLIS){ - if(!in_array($conditional->getHashCode(), $arrConditional)){ - $arrConditional[] = $conditional->getHashCode(); - } - // Cells - $arrCoord = PHPExcel_Cell::coordinateFromString($cellCoordinate); - if(!is_numeric($arrCoord[0])){ - $arrCoord[0] = PHPExcel_Cell::columnIndexFromString($arrCoord[0]); - } - if(is_null($numColumnMin) || ($numColumnMin > $arrCoord[0])){ - $numColumnMin = $arrCoord[0]; - } - if(is_null($numColumnMax) || ($numColumnMax < $arrCoord[0])){ - $numColumnMax = $arrCoord[0]; - } - if(is_null($numRowMin) || ($numRowMin > $arrCoord[1])){ - $numRowMin = $arrCoord[1]; - } - if(is_null($numRowMax) || ($numRowMax < $arrCoord[1])){ - $numRowMax = $arrCoord[1]; - } - } - } - } - $needRedraw = 1; - $cellRange = pack('vvvv', $numRowMin-1, $numRowMax-1, $numColumnMin-1, $numColumnMax-1); - - $header = pack('vv', $record, $length); - $data = pack('vv', count($arrConditional), $needRedraw); - $data .= $cellRange; - $data .= pack('v', 0x0001); - $data .= $cellRange; - $this->_append($header . $data); - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Xf.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Xf.php deleted file mode 100644 index 99f1b2a0c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/Xf.php +++ /dev/null @@ -1,547 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - -// Original file header of PEAR::Spreadsheet_Excel_Writer_Format (used as the base for this class): -// ----------------------------------------------------------------------------------------- -// /* -// * Module written/ported by Xavier Noguer <xnoguer@rezebra.com> -// * -// * The majority of this is _NOT_ my code. I simply ported it from the -// * PERL Spreadsheet::WriteExcel module. -// * -// * The author of the Spreadsheet::WriteExcel module is John McNamara -// * <jmcnamara@cpan.org> -// * -// * I _DO_ maintain this code, and John McNamara has nothing to do with the -// * porting of this code to PHP. Any questions directly related to this -// * class library should be directed to me. -// * -// * License Information: -// * -// * Spreadsheet_Excel_Writer: A library for generating Excel Spreadsheets -// * Copyright (c) 2002-2003 Xavier Noguer xnoguer@rezebra.com -// * -// * This library is free software; you can redistribute it and/or -// * modify it under the terms of the GNU Lesser General Public -// * License as published by the Free Software Foundation; either -// * version 2.1 of the License, or (at your option) any later version. -// * -// * This library 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 -// * Lesser General Public License for more details. -// * -// * You should have received a copy of the GNU Lesser General Public -// * License along with this library; if not, write to the Free Software -// * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// */ - - -/** - * PHPExcel_Writer_Excel5_Xf - * - * @category PHPExcel - * @package PHPExcel_Writer_Excel5 - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Excel5_Xf -{ - /** - * Style XF or a cell XF ? - * - * @var boolean - */ - private $_isStyleXf; - - /** - * Index to the FONT record. Index 4 does not exist - * @var integer - */ - private $_fontIndex; - - /** - * An index (2 bytes) to a FORMAT record (number format). - * @var integer - */ - public $_numberFormatIndex; - - /** - * 1 bit, apparently not used. - * @var integer - */ - public $_text_justlast; - - /** - * The cell's foreground color. - * @var integer - */ - public $_fg_color; - - /** - * The cell's background color. - * @var integer - */ - public $_bg_color; - - /** - * Color of the bottom border of the cell. - * @var integer - */ - public $_bottom_color; - - /** - * Color of the top border of the cell. - * @var integer - */ - public $_top_color; - - /** - * Color of the left border of the cell. - * @var integer - */ - public $_left_color; - - /** - * Color of the right border of the cell. - * @var integer - */ - public $_right_color; - - /** - * Constructor - * - * @access public - * @param PHPExcel_Style The XF format - */ - public function __construct(PHPExcel_Style $style = null) - { - $this->_isStyleXf = false; - $this->_fontIndex = 0; - - $this->_numberFormatIndex = 0; - - $this->_text_justlast = 0; - - $this->_fg_color = 0x40; - $this->_bg_color = 0x41; - - $this->_diag = 0; - - $this->_bottom_color = 0x40; - $this->_top_color = 0x40; - $this->_left_color = 0x40; - $this->_right_color = 0x40; - $this->_diag_color = 0x40; - $this->_style = $style; - - } - - - /** - * Generate an Excel BIFF XF record (style or cell). - * - * @return string The XF record - */ - function writeXf() - { - // Set the type of the XF record and some of the attributes. - if ($this->_isStyleXf) { - $style = 0xFFF5; - } else { - $style = self::_mapLocked($this->_style->getProtection()->getLocked()); - $style |= self::_mapHidden($this->_style->getProtection()->getHidden()) << 1; - } - - // Flags to indicate if attributes have been set. - $atr_num = ($this->_numberFormatIndex != 0)?1:0; - $atr_fnt = ($this->_fontIndex != 0)?1:0; - $atr_alc = ((int) $this->_style->getAlignment()->getWrapText()) ? 1 : 0; - $atr_bdr = (self::_mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle()) || - self::_mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle()) || - self::_mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle()) || - self::_mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()))?1:0; - $atr_pat = (($this->_fg_color != 0x40) || - ($this->_bg_color != 0x41) || - self::_mapFillType($this->_style->getFill()->getFillType()))?1:0; - $atr_prot = self::_mapLocked($this->_style->getProtection()->getLocked()) - | self::_mapHidden($this->_style->getProtection()->getHidden()); - - // Zero the default border colour if the border has not been set. - if (self::_mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle()) == 0) { - $this->_bottom_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle()) == 0) { - $this->_top_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()) == 0) { - $this->_right_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle()) == 0) { - $this->_left_color = 0; - } - if (self::_mapBorderStyle($this->_style->getBorders()->getDiagonal()->getBorderStyle()) == 0) { - $this->_diag_color = 0; - } - - $record = 0x00E0; // Record identifier - $length = 0x0014; // Number of bytes to follow - - $ifnt = $this->_fontIndex; // Index to FONT record - $ifmt = $this->_numberFormatIndex; // Index to FORMAT record - - $align = $this->_mapHAlign($this->_style->getAlignment()->getHorizontal()); // Alignment - $align |= (int) $this->_style->getAlignment()->getWrapText() << 3; - $align |= self::_mapVAlign($this->_style->getAlignment()->getVertical()) << 4; - $align |= $this->_text_justlast << 7; - - $used_attrib = $atr_num << 2; - $used_attrib |= $atr_fnt << 3; - $used_attrib |= $atr_alc << 4; - $used_attrib |= $atr_bdr << 5; - $used_attrib |= $atr_pat << 6; - $used_attrib |= $atr_prot << 7; - - $icv = $this->_fg_color; // fg and bg pattern colors - $icv |= $this->_bg_color << 7; - - $border1 = self::_mapBorderStyle($this->_style->getBorders()->getLeft()->getBorderStyle()); // Border line style and color - $border1 |= self::_mapBorderStyle($this->_style->getBorders()->getRight()->getBorderStyle()) << 4; - $border1 |= self::_mapBorderStyle($this->_style->getBorders()->getTop()->getBorderStyle()) << 8; - $border1 |= self::_mapBorderStyle($this->_style->getBorders()->getBottom()->getBorderStyle()) << 12; - $border1 |= $this->_left_color << 16; - $border1 |= $this->_right_color << 23; - - $diagonalDirection = $this->_style->getBorders()->getDiagonalDirection(); - $diag_tl_to_rb = $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_BOTH - || $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_DOWN; - $diag_tr_to_lb = $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_BOTH - || $diagonalDirection == PHPExcel_Style_Borders::DIAGONAL_UP; - $border1 |= $diag_tl_to_rb << 30; - $border1 |= $diag_tr_to_lb << 31; - - $border2 = $this->_top_color; // Border color - $border2 |= $this->_bottom_color << 7; - $border2 |= $this->_diag_color << 14; - $border2 |= self::_mapBorderStyle($this->_style->getBorders()->getDiagonal()->getBorderStyle()) << 21; - $border2 |= self::_mapFillType($this->_style->getFill()->getFillType()) << 26; - - $header = pack("vv", $record, $length); - - //BIFF8 options: identation, shrinkToFit and text direction - $biff8_options = $this->_style->getAlignment()->getIndent(); - $biff8_options |= (int) $this->_style->getAlignment()->getShrinkToFit() << 4; - - $data = pack("vvvC", $ifnt, $ifmt, $style, $align); - $data .= pack("CCC" - , self::_mapTextRotation($this->_style->getAlignment()->getTextRotation()) - , $biff8_options - , $used_attrib - ); - $data .= pack("VVv", $border1, $border2, $icv); - - return($header . $data); - } - - /** - * Is this a style XF ? - * - * @param boolean $value - */ - public function setIsStyleXf($value) - { - $this->_isStyleXf = $value; - } - - /** - * Sets the cell's bottom border color - * - * @access public - * @param int $colorIndex Color index - */ - function setBottomColor($colorIndex) - { - $this->_bottom_color = $colorIndex; - } - - /** - * Sets the cell's top border color - * - * @access public - * @param int $colorIndex Color index - */ - function setTopColor($colorIndex) - { - $this->_top_color = $colorIndex; - } - - /** - * Sets the cell's left border color - * - * @access public - * @param int $colorIndex Color index - */ - function setLeftColor($colorIndex) - { - $this->_left_color = $colorIndex; - } - - /** - * Sets the cell's right border color - * - * @access public - * @param int $colorIndex Color index - */ - function setRightColor($colorIndex) - { - $this->_right_color = $colorIndex; - } - - /** - * Sets the cell's diagonal border color - * - * @access public - * @param int $colorIndex Color index - */ - function setDiagColor($colorIndex) - { - $this->_diag_color = $colorIndex; - } - - - /** - * Sets the cell's foreground color - * - * @access public - * @param int $colorIndex Color index - */ - function setFgColor($colorIndex) - { - $this->_fg_color = $colorIndex; - } - - /** - * Sets the cell's background color - * - * @access public - * @param int $colorIndex Color index - */ - function setBgColor($colorIndex) - { - $this->_bg_color = $colorIndex; - } - - /** - * Sets the index to the number format record - * It can be date, time, currency, etc... - * - * @access public - * @param integer $numberFormatIndex Index to format record - */ - function setNumberFormatIndex($numberFormatIndex) - { - $this->_numberFormatIndex = $numberFormatIndex; - } - - /** - * Set the font index. - * - * @param int $value Font index, note that value 4 does not exist - */ - public function setFontIndex($value) - { - $this->_fontIndex = $value; - } - - /** - * Map of BIFF2-BIFF8 codes for border styles - * @static array of int - * - */ - private static $_mapBorderStyle = array ( PHPExcel_Style_Border::BORDER_NONE => 0x00, - PHPExcel_Style_Border::BORDER_THIN => 0x01, - PHPExcel_Style_Border::BORDER_MEDIUM => 0x02, - PHPExcel_Style_Border::BORDER_DASHED => 0x03, - PHPExcel_Style_Border::BORDER_DOTTED => 0x04, - PHPExcel_Style_Border::BORDER_THICK => 0x05, - PHPExcel_Style_Border::BORDER_DOUBLE => 0x06, - PHPExcel_Style_Border::BORDER_HAIR => 0x07, - PHPExcel_Style_Border::BORDER_MEDIUMDASHED => 0x08, - PHPExcel_Style_Border::BORDER_DASHDOT => 0x09, - PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT => 0x0A, - PHPExcel_Style_Border::BORDER_DASHDOTDOT => 0x0B, - PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT => 0x0C, - PHPExcel_Style_Border::BORDER_SLANTDASHDOT => 0x0D, - ); - - /** - * Map border style - * - * @param string $borderStyle - * @return int - */ - private static function _mapBorderStyle($borderStyle) { - if (isset(self::$_mapBorderStyle[$borderStyle])) - return self::$_mapBorderStyle[$borderStyle]; - return 0x00; - } - - /** - * Map of BIFF2-BIFF8 codes for fill types - * @static array of int - * - */ - private static $_mapFillType = array( PHPExcel_Style_Fill::FILL_NONE => 0x00, - PHPExcel_Style_Fill::FILL_SOLID => 0x01, - PHPExcel_Style_Fill::FILL_PATTERN_MEDIUMGRAY => 0x02, - PHPExcel_Style_Fill::FILL_PATTERN_DARKGRAY => 0x03, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRAY => 0x04, - PHPExcel_Style_Fill::FILL_PATTERN_DARKHORIZONTAL => 0x05, - PHPExcel_Style_Fill::FILL_PATTERN_DARKVERTICAL => 0x06, - PHPExcel_Style_Fill::FILL_PATTERN_DARKDOWN => 0x07, - PHPExcel_Style_Fill::FILL_PATTERN_DARKUP => 0x08, - PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID => 0x09, - PHPExcel_Style_Fill::FILL_PATTERN_DARKTRELLIS => 0x0A, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTHORIZONTAL => 0x0B, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTVERTICAL => 0x0C, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTDOWN => 0x0D, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTUP => 0x0E, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTGRID => 0x0F, - PHPExcel_Style_Fill::FILL_PATTERN_LIGHTTRELLIS => 0x10, - PHPExcel_Style_Fill::FILL_PATTERN_GRAY125 => 0x11, - PHPExcel_Style_Fill::FILL_PATTERN_GRAY0625 => 0x12, - PHPExcel_Style_Fill::FILL_GRADIENT_LINEAR => 0x00, // does not exist in BIFF8 - PHPExcel_Style_Fill::FILL_GRADIENT_PATH => 0x00, // does not exist in BIFF8 - ); - /** - * Map fill type - * - * @param string $fillType - * @return int - */ - private static function _mapFillType($fillType) { - if (isset(self::$_mapFillType[$fillType])) - return self::$_mapFillType[$fillType]; - return 0x00; - } - - /** - * Map of BIFF2-BIFF8 codes for horizontal alignment - * @static array of int - * - */ - private static $_mapHAlign = array( PHPExcel_Style_Alignment::HORIZONTAL_GENERAL => 0, - PHPExcel_Style_Alignment::HORIZONTAL_LEFT => 1, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER => 2, - PHPExcel_Style_Alignment::HORIZONTAL_RIGHT => 3, - PHPExcel_Style_Alignment::HORIZONTAL_FILL => 4, - PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY => 5, - PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS => 6, - ); - /** - * Map to BIFF2-BIFF8 codes for horizontal alignment - * - * @param string $hAlign - * @return int - */ - private function _mapHAlign($hAlign) - { - if (isset(self::$_mapHAlign[$hAlign])) - return self::$_mapHAlign[$hAlign]; - return 0; - } - - /** - * Map of BIFF2-BIFF8 codes for vertical alignment - * @static array of int - * - */ - private static $_mapVAlign = array( PHPExcel_Style_Alignment::VERTICAL_TOP => 0, - PHPExcel_Style_Alignment::VERTICAL_CENTER => 1, - PHPExcel_Style_Alignment::VERTICAL_BOTTOM => 2, - PHPExcel_Style_Alignment::VERTICAL_JUSTIFY => 3, - ); - /** - * Map to BIFF2-BIFF8 codes for vertical alignment - * - * @param string $vAlign - * @return int - */ - private static function _mapVAlign($vAlign) { - if (isset(self::$_mapVAlign[$vAlign])) - return self::$_mapVAlign[$vAlign]; - return 2; - } - - /** - * Map to BIFF8 codes for text rotation angle - * - * @param int $textRotation - * @return int - */ - private static function _mapTextRotation($textRotation) { - if ($textRotation >= 0) { - return $textRotation; - } - if ($textRotation == -165) { - return 255; - } - if ($textRotation < 0) { - return 90 - $textRotation; - } - } - - /** - * Map locked - * - * @param string - * @return int - */ - private static function _mapLocked($locked) { - switch ($locked) { - case PHPExcel_Style_Protection::PROTECTION_INHERIT: return 1; - case PHPExcel_Style_Protection::PROTECTION_PROTECTED: return 1; - case PHPExcel_Style_Protection::PROTECTION_UNPROTECTED: return 0; - default: return 1; - } - } - - /** - * Map hidden - * - * @param string - * @return int - */ - private static function _mapHidden($hidden) { - switch ($hidden) { - case PHPExcel_Style_Protection::PROTECTION_INHERIT: return 0; - case PHPExcel_Style_Protection::PROTECTION_PROTECTED: return 1; - case PHPExcel_Style_Protection::PROTECTION_UNPROTECTED: return 0; - default: return 0; - } - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Excel5/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Exception.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Exception.php deleted file mode 100644 index 1715587a2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/Exception.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_Exception - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_Exception extends PHPExcel_Exception { - /** - * Error handler callback - * - * @param mixed $code - * @param mixed $string - * @param mixed $file - * @param mixed $line - * @param mixed $context - */ - public static function errorHandlerCallback($code, $string, $file, $line, $context) { - $e = new self($string, $code); - $e->line = $line; - $e->file = $file; - throw $e; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/HTML.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/HTML.php deleted file mode 100644 index 63c5d4787..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/HTML.php +++ /dev/null @@ -1,1548 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_HTML - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_HTML - * - * @category PHPExcel - * @package PHPExcel_Writer_HTML - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_HTML extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter { - /** - * PHPExcel object - * - * @var PHPExcel - */ - protected $_phpExcel; - - /** - * Sheet index to write - * - * @var int - */ - private $_sheetIndex = 0; - - /** - * Images root - * - * @var string - */ - private $_imagesRoot = '.'; - - /** - * embed images, or link to images - * - * @var boolean - */ - private $_embedImages = FALSE; - - /** - * Use inline CSS? - * - * @var boolean - */ - private $_useInlineCss = false; - - /** - * Array of CSS styles - * - * @var array - */ - private $_cssStyles = null; - - /** - * Array of column widths in points - * - * @var array - */ - private $_columnWidths = null; - - /** - * Default font - * - * @var PHPExcel_Style_Font - */ - private $_defaultFont; - - /** - * Flag whether spans have been calculated - * - * @var boolean - */ - private $_spansAreCalculated = false; - - /** - * Excel cells that should not be written as HTML cells - * - * @var array - */ - private $_isSpannedCell = array(); - - /** - * Excel cells that are upper-left corner in a cell merge - * - * @var array - */ - private $_isBaseCell = array(); - - /** - * Excel rows that should not be written as HTML rows - * - * @var array - */ - private $_isSpannedRow = array(); - - /** - * Is the current writer creating PDF? - * - * @var boolean - */ - protected $_isPdf = false; - - /** - * Generate the Navigation block - * - * @var boolean - */ - private $_generateSheetNavigationBlock = true; - - /** - * Create a new PHPExcel_Writer_HTML - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) { - $this->_phpExcel = $phpExcel; - $this->_defaultFont = $this->_phpExcel->getDefaultStyle()->getFont(); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = null) { - // garbage collect - $this->_phpExcel->garbageCollect(); - - $saveDebugLog = PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->getWriteDebugLog(); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog(FALSE); - $saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); - PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); - - // Build CSS - $this->buildCSS(!$this->_useInlineCss); - - // Open file - $fileHandle = fopen($pFilename, 'wb+'); - if ($fileHandle === false) { - throw new PHPExcel_Writer_Exception("Could not open file $pFilename for writing."); - } - - // Write headers - fwrite($fileHandle, $this->generateHTMLHeader(!$this->_useInlineCss)); - - // Write navigation (tabs) - if ((!$this->_isPdf) && ($this->_generateSheetNavigationBlock)) { - fwrite($fileHandle, $this->generateNavigation()); - } - - // Write data - fwrite($fileHandle, $this->generateSheetData()); - - // Write footer - fwrite($fileHandle, $this->generateHTMLFooter()); - - // Close file - fclose($fileHandle); - - PHPExcel_Calculation::setArrayReturnType($saveArrayReturnType); - PHPExcel_Calculation::getInstance($this->_phpExcel)->getDebugLog()->setWriteDebugLog($saveDebugLog); - } - - /** - * Map VAlign - * - * @param string $vAlign Vertical alignment - * @return string - */ - private function _mapVAlign($vAlign) { - switch ($vAlign) { - case PHPExcel_Style_Alignment::VERTICAL_BOTTOM: return 'bottom'; - case PHPExcel_Style_Alignment::VERTICAL_TOP: return 'top'; - case PHPExcel_Style_Alignment::VERTICAL_CENTER: - case PHPExcel_Style_Alignment::VERTICAL_JUSTIFY: return 'middle'; - default: return 'baseline'; - } - } - - /** - * Map HAlign - * - * @param string $hAlign Horizontal alignment - * @return string|false - */ - private function _mapHAlign($hAlign) { - switch ($hAlign) { - case PHPExcel_Style_Alignment::HORIZONTAL_GENERAL: return false; - case PHPExcel_Style_Alignment::HORIZONTAL_LEFT: return 'left'; - case PHPExcel_Style_Alignment::HORIZONTAL_RIGHT: return 'right'; - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER: - case PHPExcel_Style_Alignment::HORIZONTAL_CENTER_CONTINUOUS: return 'center'; - case PHPExcel_Style_Alignment::HORIZONTAL_JUSTIFY: return 'justify'; - default: return false; - } - } - - /** - * Map border style - * - * @param int $borderStyle Sheet index - * @return string - */ - private function _mapBorderStyle($borderStyle) { - switch ($borderStyle) { - case PHPExcel_Style_Border::BORDER_NONE: return 'none'; - case PHPExcel_Style_Border::BORDER_DASHDOT: return '1px dashed'; - case PHPExcel_Style_Border::BORDER_DASHDOTDOT: return '1px dotted'; - case PHPExcel_Style_Border::BORDER_DASHED: return '1px dashed'; - case PHPExcel_Style_Border::BORDER_DOTTED: return '1px dotted'; - case PHPExcel_Style_Border::BORDER_DOUBLE: return '3px double'; - case PHPExcel_Style_Border::BORDER_HAIR: return '1px solid'; - case PHPExcel_Style_Border::BORDER_MEDIUM: return '2px solid'; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOT: return '2px dashed'; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHDOTDOT: return '2px dotted'; - case PHPExcel_Style_Border::BORDER_MEDIUMDASHED: return '2px dashed'; - case PHPExcel_Style_Border::BORDER_SLANTDASHDOT: return '2px dashed'; - case PHPExcel_Style_Border::BORDER_THICK: return '3px solid'; - case PHPExcel_Style_Border::BORDER_THIN: return '1px solid'; - default: return '1px solid'; // map others to thin - } - } - - /** - * Get sheet index - * - * @return int - */ - public function getSheetIndex() { - return $this->_sheetIndex; - } - - /** - * Set sheet index - * - * @param int $pValue Sheet index - * @return PHPExcel_Writer_HTML - */ - public function setSheetIndex($pValue = 0) { - $this->_sheetIndex = $pValue; - return $this; - } - - /** - * Get sheet index - * - * @return boolean - */ - public function getGenerateSheetNavigationBlock() { - return $this->_generateSheetNavigationBlock; - } - - /** - * Set sheet index - * - * @param boolean $pValue Flag indicating whether the sheet navigation block should be generated or not - * @return PHPExcel_Writer_HTML - */ - public function setGenerateSheetNavigationBlock($pValue = true) { - $this->_generateSheetNavigationBlock = (bool) $pValue; - return $this; - } - - /** - * Write all sheets (resets sheetIndex to NULL) - */ - public function writeAllSheets() { - $this->_sheetIndex = null; - return $this; - } - - /** - * Generate HTML header - * - * @param boolean $pIncludeStyles Include styles? - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateHTMLHeader($pIncludeStyles = false) { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Construct HTML - $properties = $this->_phpExcel->getProperties(); - $html = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">' . PHP_EOL; - $html .= '<!-- Generated by PHPExcel - http://www.phpexcel.net -->' . PHP_EOL; - $html .= '<html>' . PHP_EOL; - $html .= ' <head>' . PHP_EOL; - $html .= ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8">' . PHP_EOL; - if ($properties->getTitle() > '') - $html .= ' <title>' . htmlspecialchars($properties->getTitle()) . '</title>' . PHP_EOL; - - if ($properties->getCreator() > '') - $html .= ' <meta name="author" content="' . htmlspecialchars($properties->getCreator()) . '" />' . PHP_EOL; - if ($properties->getTitle() > '') - $html .= ' <meta name="title" content="' . htmlspecialchars($properties->getTitle()) . '" />' . PHP_EOL; - if ($properties->getDescription() > '') - $html .= ' <meta name="description" content="' . htmlspecialchars($properties->getDescription()) . '" />' . PHP_EOL; - if ($properties->getSubject() > '') - $html .= ' <meta name="subject" content="' . htmlspecialchars($properties->getSubject()) . '" />' . PHP_EOL; - if ($properties->getKeywords() > '') - $html .= ' <meta name="keywords" content="' . htmlspecialchars($properties->getKeywords()) . '" />' . PHP_EOL; - if ($properties->getCategory() > '') - $html .= ' <meta name="category" content="' . htmlspecialchars($properties->getCategory()) . '" />' . PHP_EOL; - if ($properties->getCompany() > '') - $html .= ' <meta name="company" content="' . htmlspecialchars($properties->getCompany()) . '" />' . PHP_EOL; - if ($properties->getManager() > '') - $html .= ' <meta name="manager" content="' . htmlspecialchars($properties->getManager()) . '" />' . PHP_EOL; - - if ($pIncludeStyles) { - $html .= $this->generateStyles(true); - } - - $html .= ' </head>' . PHP_EOL; - $html .= '' . PHP_EOL; - $html .= ' <body>' . PHP_EOL; - - // Return - return $html; - } - - /** - * Generate sheet data - * - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateSheetData() { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Ensure that Spans have been calculated? - if (!$this->_spansAreCalculated) { - $this->_calculateSpans(); - } - - // Fetch sheets - $sheets = array(); - if (is_null($this->_sheetIndex)) { - $sheets = $this->_phpExcel->getAllSheets(); - } else { - $sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex); - } - - // Construct HTML - $html = ''; - - // Loop all sheets - $sheetId = 0; - foreach ($sheets as $sheet) { - // Write table header - $html .= $this->_generateTableHeader($sheet); - - // Get worksheet dimension - $dimension = explode(':', $sheet->calculateWorksheetDimension()); - $dimension[0] = PHPExcel_Cell::coordinateFromString($dimension[0]); - $dimension[0][0] = PHPExcel_Cell::columnIndexFromString($dimension[0][0]) - 1; - $dimension[1] = PHPExcel_Cell::coordinateFromString($dimension[1]); - $dimension[1][0] = PHPExcel_Cell::columnIndexFromString($dimension[1][0]) - 1; - - // row min,max - $rowMin = $dimension[0][1]; - $rowMax = $dimension[1][1]; - - // calculate start of <tbody>, <thead> - $tbodyStart = $rowMin; - $theadStart = $theadEnd = 0; // default: no <thead> no </thead> - if ($sheet->getPageSetup()->isRowsToRepeatAtTopSet()) { - $rowsToRepeatAtTop = $sheet->getPageSetup()->getRowsToRepeatAtTop(); - - // we can only support repeating rows that start at top row - if ($rowsToRepeatAtTop[0] == 1) { - $theadStart = $rowsToRepeatAtTop[0]; - $theadEnd = $rowsToRepeatAtTop[1]; - $tbodyStart = $rowsToRepeatAtTop[1] + 1; - } - } - - // Loop through cells - $row = $rowMin-1; - while($row++ < $rowMax) { - // <thead> ? - if ($row == $theadStart) { - $html .= ' <thead>' . PHP_EOL; - $cellType = 'th'; - } - - // <tbody> ? - if ($row == $tbodyStart) { - $html .= ' <tbody>' . PHP_EOL; - $cellType = 'td'; - } - - // Write row if there are HTML table cells in it - if ( !isset($this->_isSpannedRow[$sheet->getParent()->getIndex($sheet)][$row]) ) { - // Start a new rowData - $rowData = array(); - // Loop through columns - $column = $dimension[0][0] - 1; - while($column++ < $dimension[1][0]) { - // Cell exists? - if ($sheet->cellExistsByColumnAndRow($column, $row)) { - $rowData[$column] = PHPExcel_Cell::stringFromColumnIndex($column) . $row; - } else { - $rowData[$column] = ''; - } - } - $html .= $this->_generateRow($sheet, $rowData, $row - 1, $cellType); - } - - // </thead> ? - if ($row == $theadEnd) { - $html .= ' </thead>' . PHP_EOL; - } - } - $html .= $this->_extendRowsForChartsAndImages($sheet, $row); - - // Close table body. - $html .= ' </tbody>' . PHP_EOL; - - // Write table footer - $html .= $this->_generateTableFooter(); - - // Writing PDF? - if ($this->_isPdf) { - if (is_null($this->_sheetIndex) && $sheetId + 1 < $this->_phpExcel->getSheetCount()) { - $html .= '<div style="page-break-before:always" />'; - } - } - - // Next sheet - ++$sheetId; - } - - // Return - return $html; - } - - /** - * Generate sheet tabs - * - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateNavigation() - { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Fetch sheets - $sheets = array(); - if (is_null($this->_sheetIndex)) { - $sheets = $this->_phpExcel->getAllSheets(); - } else { - $sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex); - } - - // Construct HTML - $html = ''; - - // Only if there are more than 1 sheets - if (count($sheets) > 1) { - // Loop all sheets - $sheetId = 0; - - $html .= '<ul class="navigation">' . PHP_EOL; - - foreach ($sheets as $sheet) { - $html .= ' <li class="sheet' . $sheetId . '"><a href="#sheet' . $sheetId . '">' . $sheet->getTitle() . '</a></li>' . PHP_EOL; - ++$sheetId; - } - - $html .= '</ul>' . PHP_EOL; - } - - return $html; - } - - private function _extendRowsForChartsAndImages(PHPExcel_Worksheet $pSheet, $row) { - $rowMax = $row; - $colMax = 'A'; - if ($this->_includeCharts) { - foreach ($pSheet->getChartCollection() as $chart) { - if ($chart instanceof PHPExcel_Chart) { - $chartCoordinates = $chart->getTopLeftPosition(); - $chartTL = PHPExcel_Cell::coordinateFromString($chartCoordinates['cell']); - $chartCol = PHPExcel_Cell::columnIndexFromString($chartTL[0]); - if ($chartTL[1] > $rowMax) { - $rowMax = $chartTL[1]; - if ($chartCol > PHPExcel_Cell::columnIndexFromString($colMax)) { - $colMax = $chartTL[0]; - } - } - } - } - } - - foreach ($pSheet->getDrawingCollection() as $drawing) { - if ($drawing instanceof PHPExcel_Worksheet_Drawing) { - $imageTL = PHPExcel_Cell::coordinateFromString($drawing->getCoordinates()); - $imageCol = PHPExcel_Cell::columnIndexFromString($imageTL[0]); - if ($imageTL[1] > $rowMax) { - $rowMax = $imageTL[1]; - if ($imageCol > PHPExcel_Cell::columnIndexFromString($colMax)) { - $colMax = $imageTL[0]; - } - } - } - } - $html = ''; - $colMax++; - while ($row < $rowMax) { - $html .= '<tr>'; - for ($col = 'A'; $col != $colMax; ++$col) { - $html .= '<td>'; - $html .= $this->_writeImageInCell($pSheet, $col.$row); - if ($this->_includeCharts) { - $html .= $this->_writeChartInCell($pSheet, $col.$row); - } - $html .= '</td>'; - } - ++$row; - $html .= '</tr>'; - } - return $html; - } - - - /** - * Generate image tag in cell - * - * @param PHPExcel_Worksheet $pSheet PHPExcel_Worksheet - * @param string $coordinates Cell coordinates - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _writeImageInCell(PHPExcel_Worksheet $pSheet, $coordinates) { - // Construct HTML - $html = ''; - - // Write images - foreach ($pSheet->getDrawingCollection() as $drawing) { - if ($drawing instanceof PHPExcel_Worksheet_Drawing) { - if ($drawing->getCoordinates() == $coordinates) { - $filename = $drawing->getPath(); - - // Strip off eventual '.' - if (substr($filename, 0, 1) == '.') { - $filename = substr($filename, 1); - } - - // Prepend images root - $filename = $this->getImagesRoot() . $filename; - - // Strip off eventual '.' - if (substr($filename, 0, 1) == '.' && substr($filename, 0, 2) != './') { - $filename = substr($filename, 1); - } - - // Convert UTF8 data to PCDATA - $filename = htmlspecialchars($filename); - - $html .= PHP_EOL; - if ((!$this->_embedImages) || ($this->_isPdf)) { - $imageData = $filename; - } else { - $imageDetails = getimagesize($filename); - if ($fp = fopen($filename,"rb", 0)) { - $picture = fread($fp,filesize($filename)); - fclose($fp); - // base64 encode the binary data, then break it - // into chunks according to RFC 2045 semantics - $base64 = chunk_split(base64_encode($picture)); - $imageData = 'data:'.$imageDetails['mime'].';base64,' . $base64; - } else { - $imageData = $filename; - } - } - - $html .= '<div style="position: relative;">'; - $html .= '<img style="position: absolute; z-index: 1; left: ' . - $drawing->getOffsetX() . 'px; top: ' . $drawing->getOffsetY() . 'px; width: ' . - $drawing->getWidth() . 'px; height: ' . $drawing->getHeight() . 'px;" src="' . - $imageData . '" border="0" />'; - $html .= '</div>'; - } - } - } - - // Return - return $html; - } - - /** - * Generate chart tag in cell - * - * @param PHPExcel_Worksheet $pSheet PHPExcel_Worksheet - * @param string $coordinates Cell coordinates - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _writeChartInCell(PHPExcel_Worksheet $pSheet, $coordinates) { - // Construct HTML - $html = ''; - - // Write charts - foreach ($pSheet->getChartCollection() as $chart) { - if ($chart instanceof PHPExcel_Chart) { - $chartCoordinates = $chart->getTopLeftPosition(); - if ($chartCoordinates['cell'] == $coordinates) { - $chartFileName = PHPExcel_Shared_File::sys_get_temp_dir().'/'.uniqid().'.png'; - if (!$chart->render($chartFileName)) { - return; - } - - $html .= PHP_EOL; - $imageDetails = getimagesize($chartFileName); - if ($fp = fopen($chartFileName,"rb", 0)) { - $picture = fread($fp,filesize($chartFileName)); - fclose($fp); - // base64 encode the binary data, then break it - // into chunks according to RFC 2045 semantics - $base64 = chunk_split(base64_encode($picture)); - $imageData = 'data:'.$imageDetails['mime'].';base64,' . $base64; - - $html .= '<div style="position: relative;">'; - $html .= '<img style="position: absolute; z-index: 1; left: ' . $chartCoordinates['xOffset'] . 'px; top: ' . $chartCoordinates['yOffset'] . 'px; width: ' . $imageDetails[0] . 'px; height: ' . $imageDetails[1] . 'px;" src="' . $imageData . '" border="0" />' . PHP_EOL; - $html .= '</div>'; - - unlink($chartFileName); - } - } - } - } - - // Return - return $html; - } - - /** - * Generate CSS styles - * - * @param boolean $generateSurroundingHTML Generate surrounding HTML tags? (&lt;style&gt; and &lt;/style&gt;) - * @return string - * @throws PHPExcel_Writer_Exception - */ - public function generateStyles($generateSurroundingHTML = true) { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Build CSS - $css = $this->buildCSS($generateSurroundingHTML); - - // Construct HTML - $html = ''; - - // Start styles - if ($generateSurroundingHTML) { - $html .= ' <style type="text/css">' . PHP_EOL; - $html .= ' html { ' . $this->_assembleCSS($css['html']) . ' }' . PHP_EOL; - } - - // Write all other styles - foreach ($css as $styleName => $styleDefinition) { - if ($styleName != 'html') { - $html .= ' ' . $styleName . ' { ' . $this->_assembleCSS($styleDefinition) . ' }' . PHP_EOL; - } - } - - // End styles - if ($generateSurroundingHTML) { - $html .= ' </style>' . PHP_EOL; - } - - // Return - return $html; - } - - /** - * Build CSS styles - * - * @param boolean $generateSurroundingHTML Generate surrounding HTML style? (html { }) - * @return array - * @throws PHPExcel_Writer_Exception - */ - public function buildCSS($generateSurroundingHTML = true) { - // PHPExcel object known? - if (is_null($this->_phpExcel)) { - throw new PHPExcel_Writer_Exception('Internal PHPExcel object not set to an instance of an object.'); - } - - // Cached? - if (!is_null($this->_cssStyles)) { - return $this->_cssStyles; - } - - // Ensure that spans have been calculated - if (!$this->_spansAreCalculated) { - $this->_calculateSpans(); - } - - // Construct CSS - $css = array(); - - // Start styles - if ($generateSurroundingHTML) { - // html { } - $css['html']['font-family'] = 'Calibri, Arial, Helvetica, sans-serif'; - $css['html']['font-size'] = '11pt'; - $css['html']['background-color'] = 'white'; - } - - - // table { } - $css['table']['border-collapse'] = 'collapse'; - if (!$this->_isPdf) { - $css['table']['page-break-after'] = 'always'; - } - - // .gridlines td { } - $css['.gridlines td']['border'] = '1px dotted black'; - $css['.gridlines th']['border'] = '1px dotted black'; - - // .b {} - $css['.b']['text-align'] = 'center'; // BOOL - - // .e {} - $css['.e']['text-align'] = 'center'; // ERROR - - // .f {} - $css['.f']['text-align'] = 'right'; // FORMULA - - // .inlineStr {} - $css['.inlineStr']['text-align'] = 'left'; // INLINE - - // .n {} - $css['.n']['text-align'] = 'right'; // NUMERIC - - // .s {} - $css['.s']['text-align'] = 'left'; // STRING - - // Calculate cell style hashes - foreach ($this->_phpExcel->getCellXfCollection() as $index => $style) { - $css['td.style' . $index] = $this->_createCSSStyle( $style ); - $css['th.style' . $index] = $this->_createCSSStyle( $style ); - } - - // Fetch sheets - $sheets = array(); - if (is_null($this->_sheetIndex)) { - $sheets = $this->_phpExcel->getAllSheets(); - } else { - $sheets[] = $this->_phpExcel->getSheet($this->_sheetIndex); - } - - // Build styles per sheet - foreach ($sheets as $sheet) { - // Calculate hash code - $sheetIndex = $sheet->getParent()->getIndex($sheet); - - // Build styles - // Calculate column widths - $sheet->calculateColumnWidths(); - - // col elements, initialize - $highestColumnIndex = PHPExcel_Cell::columnIndexFromString($sheet->getHighestColumn()) - 1; - $column = -1; - while($column++ < $highestColumnIndex) { - $this->_columnWidths[$sheetIndex][$column] = 42; // approximation - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = '42pt'; - } - - // col elements, loop through columnDimensions and set width - foreach ($sheet->getColumnDimensions() as $columnDimension) { - if (($width = PHPExcel_Shared_Drawing::cellDimensionToPixels($columnDimension->getWidth(), $this->_defaultFont)) >= 0) { - $width = PHPExcel_Shared_Drawing::pixelsToPoints($width); - $column = PHPExcel_Cell::columnIndexFromString($columnDimension->getColumnIndex()) - 1; - $this->_columnWidths[$sheetIndex][$column] = $width; - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['width'] = $width . 'pt'; - - if ($columnDimension->getVisible() === false) { - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['visibility'] = 'collapse'; - $css['table.sheet' . $sheetIndex . ' col.col' . $column]['*display'] = 'none'; // target IE6+7 - } - } - } - - // Default row height - $rowDimension = $sheet->getDefaultRowDimension(); - - // table.sheetN tr { } - $css['table.sheet' . $sheetIndex . ' tr'] = array(); - - if ($rowDimension->getRowHeight() == -1) { - $pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->_phpExcel->getDefaultStyle()->getFont()); - } else { - $pt_height = $rowDimension->getRowHeight(); - } - $css['table.sheet' . $sheetIndex . ' tr']['height'] = $pt_height . 'pt'; - if ($rowDimension->getVisible() === false) { - $css['table.sheet' . $sheetIndex . ' tr']['display'] = 'none'; - $css['table.sheet' . $sheetIndex . ' tr']['visibility'] = 'hidden'; - } - - // Calculate row heights - foreach ($sheet->getRowDimensions() as $rowDimension) { - $row = $rowDimension->getRowIndex() - 1; - - // table.sheetN tr.rowYYYYYY { } - $css['table.sheet' . $sheetIndex . ' tr.row' . $row] = array(); - - if ($rowDimension->getRowHeight() == -1) { - $pt_height = PHPExcel_Shared_Font::getDefaultRowHeightByFont($this->_phpExcel->getDefaultStyle()->getFont()); - } else { - $pt_height = $rowDimension->getRowHeight(); - } - $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['height'] = $pt_height . 'pt'; - if ($rowDimension->getVisible() === false) { - $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['display'] = 'none'; - $css['table.sheet' . $sheetIndex . ' tr.row' . $row]['visibility'] = 'hidden'; - } - } - } - - // Cache - if (is_null($this->_cssStyles)) { - $this->_cssStyles = $css; - } - - // Return - return $css; - } - - /** - * Create CSS style - * - * @param PHPExcel_Style $pStyle PHPExcel_Style - * @return array - */ - private function _createCSSStyle(PHPExcel_Style $pStyle) { - // Construct CSS - $css = ''; - - // Create CSS - $css = array_merge( - $this->_createCSSStyleAlignment($pStyle->getAlignment()) - , $this->_createCSSStyleBorders($pStyle->getBorders()) - , $this->_createCSSStyleFont($pStyle->getFont()) - , $this->_createCSSStyleFill($pStyle->getFill()) - ); - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Alignment) - * - * @param PHPExcel_Style_Alignment $pStyle PHPExcel_Style_Alignment - * @return array - */ - private function _createCSSStyleAlignment(PHPExcel_Style_Alignment $pStyle) { - // Construct CSS - $css = array(); - - // Create CSS - $css['vertical-align'] = $this->_mapVAlign($pStyle->getVertical()); - if ($textAlign = $this->_mapHAlign($pStyle->getHorizontal())) { - $css['text-align'] = $textAlign; - if(in_array($textAlign,array('left','right'))) - $css['padding-'.$textAlign] = (string)((int)$pStyle->getIndent() * 9).'px'; - } - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Font) - * - * @param PHPExcel_Style_Font $pStyle PHPExcel_Style_Font - * @return array - */ - private function _createCSSStyleFont(PHPExcel_Style_Font $pStyle) { - // Construct CSS - $css = array(); - - // Create CSS - if ($pStyle->getBold()) { - $css['font-weight'] = 'bold'; - } - if ($pStyle->getUnderline() != PHPExcel_Style_Font::UNDERLINE_NONE && $pStyle->getStrikethrough()) { - $css['text-decoration'] = 'underline line-through'; - } else if ($pStyle->getUnderline() != PHPExcel_Style_Font::UNDERLINE_NONE) { - $css['text-decoration'] = 'underline'; - } else if ($pStyle->getStrikethrough()) { - $css['text-decoration'] = 'line-through'; - } - if ($pStyle->getItalic()) { - $css['font-style'] = 'italic'; - } - - $css['color'] = '#' . $pStyle->getColor()->getRGB(); - $css['font-family'] = '\'' . $pStyle->getName() . '\''; - $css['font-size'] = $pStyle->getSize() . 'pt'; - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Borders) - * - * @param PHPExcel_Style_Borders $pStyle PHPExcel_Style_Borders - * @return array - */ - private function _createCSSStyleBorders(PHPExcel_Style_Borders $pStyle) { - // Construct CSS - $css = array(); - - // Create CSS - $css['border-bottom'] = $this->_createCSSStyleBorder($pStyle->getBottom()); - $css['border-top'] = $this->_createCSSStyleBorder($pStyle->getTop()); - $css['border-left'] = $this->_createCSSStyleBorder($pStyle->getLeft()); - $css['border-right'] = $this->_createCSSStyleBorder($pStyle->getRight()); - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Border) - * - * @param PHPExcel_Style_Border $pStyle PHPExcel_Style_Border - * @return string - */ - private function _createCSSStyleBorder(PHPExcel_Style_Border $pStyle) { - // Create CSS -// $css = $this->_mapBorderStyle($pStyle->getBorderStyle()) . ' #' . $pStyle->getColor()->getRGB(); - // Create CSS - add !important to non-none border styles for merged cells - $borderStyle = $this->_mapBorderStyle($pStyle->getBorderStyle()); - $css = $borderStyle . ' #' . $pStyle->getColor()->getRGB() . (($borderStyle == 'none') ? '' : ' !important'); - - // Return - return $css; - } - - /** - * Create CSS style (PHPExcel_Style_Fill) - * - * @param PHPExcel_Style_Fill $pStyle PHPExcel_Style_Fill - * @return array - */ - private function _createCSSStyleFill(PHPExcel_Style_Fill $pStyle) { - // Construct HTML - $css = array(); - - // Create CSS - $value = $pStyle->getFillType() == PHPExcel_Style_Fill::FILL_NONE ? - 'white' : '#' . $pStyle->getStartColor()->getRGB(); - $css['background-color'] = $value; - - // Return - return $css; - } - - /** - * Generate HTML footer - */ - public function generateHTMLFooter() { - // Construct HTML - $html = ''; - $html .= ' </body>' . PHP_EOL; - $html .= '</html>' . PHP_EOL; - - // Return - return $html; - } - - /** - * Generate table header - * - * @param PHPExcel_Worksheet $pSheet The worksheet for the table we are writing - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _generateTableHeader($pSheet) { - $sheetIndex = $pSheet->getParent()->getIndex($pSheet); - - // Construct HTML - $html = ''; - $html .= $this->_setMargins($pSheet); - - if (!$this->_useInlineCss) { - $gridlines = $pSheet->getShowGridlines() ? ' gridlines' : ''; - $html .= ' <table border="0" cellpadding="0" cellspacing="0" id="sheet' . $sheetIndex . '" class="sheet' . $sheetIndex . $gridlines . '">' . PHP_EOL; - } else { - $style = isset($this->_cssStyles['table']) ? - $this->_assembleCSS($this->_cssStyles['table']) : ''; - - if ($this->_isPdf && $pSheet->getShowGridlines()) { - $html .= ' <table border="1" cellpadding="1" id="sheet' . $sheetIndex . '" cellspacing="1" style="' . $style . '">' . PHP_EOL; - } else { - $html .= ' <table border="0" cellpadding="1" id="sheet' . $sheetIndex . '" cellspacing="0" style="' . $style . '">' . PHP_EOL; - } - } - - // Write <col> elements - $highestColumnIndex = PHPExcel_Cell::columnIndexFromString($pSheet->getHighestColumn()) - 1; - $i = -1; - while($i++ < $highestColumnIndex) { - if (!$this->_isPdf) { - if (!$this->_useInlineCss) { - $html .= ' <col class="col' . $i . '">' . PHP_EOL; - } else { - $style = isset($this->_cssStyles['table.sheet' . $sheetIndex . ' col.col' . $i]) ? - $this->_assembleCSS($this->_cssStyles['table.sheet' . $sheetIndex . ' col.col' . $i]) : ''; - $html .= ' <col style="' . $style . '">' . PHP_EOL; - } - } - } - - // Return - return $html; - } - - /** - * Generate table footer - * - * @throws PHPExcel_Writer_Exception - */ - private function _generateTableFooter() { - // Construct HTML - $html = ''; - $html .= ' </table>' . PHP_EOL; - - // Return - return $html; - } - - /** - * Generate row - * - * @param PHPExcel_Worksheet $pSheet PHPExcel_Worksheet - * @param array $pValues Array containing cells in a row - * @param int $pRow Row number (0-based) - * @return string - * @throws PHPExcel_Writer_Exception - */ - private function _generateRow(PHPExcel_Worksheet $pSheet, $pValues = null, $pRow = 0, $cellType = 'td') { - if (is_array($pValues)) { - // Construct HTML - $html = ''; - - // Sheet index - $sheetIndex = $pSheet->getParent()->getIndex($pSheet); - - // DomPDF and breaks - if ($this->_isPdf && count($pSheet->getBreaks()) > 0) { - $breaks = $pSheet->getBreaks(); - - // check if a break is needed before this row - if (isset($breaks['A' . $pRow])) { - // close table: </table> - $html .= $this->_generateTableFooter(); - - // insert page break - $html .= '<div style="page-break-before:always" />'; - - // open table again: <table> + <col> etc. - $html .= $this->_generateTableHeader($pSheet); - } - } - - // Write row start - if (!$this->_useInlineCss) { - $html .= ' <tr class="row' . $pRow . '">' . PHP_EOL; - } else { - $style = isset($this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]) - ? $this->_assembleCSS($this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]) : ''; - - $html .= ' <tr style="' . $style . '">' . PHP_EOL; - } - - // Write cells - $colNum = 0; - foreach ($pValues as $cellAddress) { - $cell = ($cellAddress > '') ? $pSheet->getCell($cellAddress) : ''; - $coordinate = PHPExcel_Cell::stringFromColumnIndex($colNum) . ($pRow + 1); - if (!$this->_useInlineCss) { - $cssClass = ''; - $cssClass = 'column' . $colNum; - } else { - $cssClass = array(); - if ($cellType == 'th') { - if (isset($this->_cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum])) { - $this->_cssStyles['table.sheet' . $sheetIndex . ' th.column' . $colNum]; - } - } else { - if (isset($this->_cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum])) { - $this->_cssStyles['table.sheet' . $sheetIndex . ' td.column' . $colNum]; - } - } - } - $colSpan = 1; - $rowSpan = 1; - - // initialize - $cellData = '&nbsp;'; - - // PHPExcel_Cell - if ($cell instanceof PHPExcel_Cell) { - $cellData = ''; - if (is_null($cell->getParent())) { - $cell->attach($pSheet); - } - // Value - if ($cell->getValue() instanceof PHPExcel_RichText) { - // Loop through rich text elements - $elements = $cell->getValue()->getRichTextElements(); - foreach ($elements as $element) { - // Rich text start? - if ($element instanceof PHPExcel_RichText_Run) { - $cellData .= '<span style="' . $this->_assembleCSS($this->_createCSSStyleFont($element->getFont())) . '">'; - - if ($element->getFont()->getSuperScript()) { - $cellData .= '<sup>'; - } else if ($element->getFont()->getSubScript()) { - $cellData .= '<sub>'; - } - } - - // Convert UTF8 data to PCDATA - $cellText = $element->getText(); - $cellData .= htmlspecialchars($cellText); - - if ($element instanceof PHPExcel_RichText_Run) { - if ($element->getFont()->getSuperScript()) { - $cellData .= '</sup>'; - } else if ($element->getFont()->getSubScript()) { - $cellData .= '</sub>'; - } - - $cellData .= '</span>'; - } - } - } else { - if ($this->_preCalculateFormulas) { - $cellData = PHPExcel_Style_NumberFormat::toFormattedString( - $cell->getCalculatedValue(), - $pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getNumberFormat()->getFormatCode(), - array($this, 'formatColor') - ); - } else { - $cellData = PHPExcel_Style_NumberFormat::toFormattedString( - $cell->getValue(), - $pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getNumberFormat()->getFormatCode(), - array($this, 'formatColor') - ); - } - $cellData = htmlspecialchars($cellData); - if ($pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getFont()->getSuperScript()) { - $cellData = '<sup>'.$cellData.'</sup>'; - } elseif ($pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() )->getFont()->getSubScript()) { - $cellData = '<sub>'.$cellData.'</sub>'; - } - } - - // Converts the cell content so that spaces occuring at beginning of each new line are replaced by &nbsp; - // Example: " Hello\n to the world" is converted to "&nbsp;&nbsp;Hello\n&nbsp;to the world" - $cellData = preg_replace("/(?m)(?:^|\\G) /", '&nbsp;', $cellData); - - // convert newline "\n" to '<br>' - $cellData = nl2br($cellData); - - // Extend CSS class? - if (!$this->_useInlineCss) { - $cssClass .= ' style' . $cell->getXfIndex(); - $cssClass .= ' ' . $cell->getDataType(); - } else { - if ($cellType == 'th') { - if (isset($this->_cssStyles['th.style' . $cell->getXfIndex()])) { - $cssClass = array_merge($cssClass, $this->_cssStyles['th.style' . $cell->getXfIndex()]); - } - } else { - if (isset($this->_cssStyles['td.style' . $cell->getXfIndex()])) { - $cssClass = array_merge($cssClass, $this->_cssStyles['td.style' . $cell->getXfIndex()]); - } - } - - // General horizontal alignment: Actual horizontal alignment depends on dataType - $sharedStyle = $pSheet->getParent()->getCellXfByIndex( $cell->getXfIndex() ); - if ($sharedStyle->getAlignment()->getHorizontal() == PHPExcel_Style_Alignment::HORIZONTAL_GENERAL - && isset($this->_cssStyles['.' . $cell->getDataType()]['text-align'])) - { - $cssClass['text-align'] = $this->_cssStyles['.' . $cell->getDataType()]['text-align']; - } - } - } - - // Hyperlink? - if ($pSheet->hyperlinkExists($coordinate) && !$pSheet->getHyperlink($coordinate)->isInternal()) { - $cellData = '<a href="' . htmlspecialchars($pSheet->getHyperlink($coordinate)->getUrl()) . '" title="' . htmlspecialchars($pSheet->getHyperlink($coordinate)->getTooltip()) . '">' . $cellData . '</a>'; - } - - // Should the cell be written or is it swallowed by a rowspan or colspan? - $writeCell = ! ( isset($this->_isSpannedCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum]) - && $this->_isSpannedCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum] ); - - // Colspan and Rowspan - $colspan = 1; - $rowspan = 1; - if (isset($this->_isBaseCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum])) { - $spans = $this->_isBaseCell[$pSheet->getParent()->getIndex($pSheet)][$pRow + 1][$colNum]; - $rowSpan = $spans['rowspan']; - $colSpan = $spans['colspan']; - - // Also apply style from last cell in merge to fix borders - - // relies on !important for non-none border declarations in _createCSSStyleBorder - $endCellCoord = PHPExcel_Cell::stringFromColumnIndex($colNum + $colSpan - 1) . ($pRow + $rowSpan); - if (!$this->_useInlineCss) { - $cssClass .= ' style' . $pSheet->getCell($endCellCoord)->getXfIndex(); - } - } - - // Write - if ($writeCell) { - // Column start - $html .= ' <' . $cellType; - if (!$this->_useInlineCss) { - $html .= ' class="' . $cssClass . '"'; - } else { - //** Necessary redundant code for the sake of PHPExcel_Writer_PDF ** - // We must explicitly write the width of the <td> element because TCPDF - // does not recognize e.g. <col style="width:42pt"> - $width = 0; - $i = $colNum - 1; - $e = $colNum + $colSpan - 1; - while($i++ < $e) { - if (isset($this->_columnWidths[$sheetIndex][$i])) { - $width += $this->_columnWidths[$sheetIndex][$i]; - } - } - $cssClass['width'] = $width . 'pt'; - - // We must also explicitly write the height of the <td> element because TCPDF - // does not recognize e.g. <tr style="height:50pt"> - if (isset($this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]['height'])) { - $height = $this->_cssStyles['table.sheet' . $sheetIndex . ' tr.row' . $pRow]['height']; - $cssClass['height'] = $height; - } - //** end of redundant code ** - - $html .= ' style="' . $this->_assembleCSS($cssClass) . '"'; - } - if ($colSpan > 1) { - $html .= ' colspan="' . $colSpan . '"'; - } - if ($rowSpan > 1) { - $html .= ' rowspan="' . $rowSpan . '"'; - } - $html .= '>'; - - // Image? - $html .= $this->_writeImageInCell($pSheet, $coordinate); - - // Chart? - if ($this->_includeCharts) { - $html .= $this->_writeChartInCell($pSheet, $coordinate); - } - - // Cell data - $html .= $cellData; - - // Column end - $html .= '</'.$cellType.'>' . PHP_EOL; - } - - // Next column - ++$colNum; - } - - // Write row end - $html .= ' </tr>' . PHP_EOL; - - // Return - return $html; - } else { - throw new PHPExcel_Writer_Exception("Invalid parameters passed."); - } - } - - /** - * Takes array where of CSS properties / values and converts to CSS string - * - * @param array - * @return string - */ - private function _assembleCSS($pValue = array()) - { - $pairs = array(); - foreach ($pValue as $property => $value) { - $pairs[] = $property . ':' . $value; - } - $string = implode('; ', $pairs); - - return $string; - } - - /** - * Get images root - * - * @return string - */ - public function getImagesRoot() { - return $this->_imagesRoot; - } - - /** - * Set images root - * - * @param string $pValue - * @return PHPExcel_Writer_HTML - */ - public function setImagesRoot($pValue = '.') { - $this->_imagesRoot = $pValue; - return $this; - } - - /** - * Get embed images - * - * @return boolean - */ - public function getEmbedImages() { - return $this->_embedImages; - } - - /** - * Set embed images - * - * @param boolean $pValue - * @return PHPExcel_Writer_HTML - */ - public function setEmbedImages($pValue = '.') { - $this->_embedImages = $pValue; - return $this; - } - - /** - * Get use inline CSS? - * - * @return boolean - */ - public function getUseInlineCss() { - return $this->_useInlineCss; - } - - /** - * Set use inline CSS? - * - * @param boolean $pValue - * @return PHPExcel_Writer_HTML - */ - public function setUseInlineCss($pValue = false) { - $this->_useInlineCss = $pValue; - return $this; - } - - /** - * Add color to formatted string as inline style - * - * @param string $pValue Plain formatted value without color - * @param string $pFormat Format code - * @return string - */ - public function formatColor($pValue, $pFormat) - { - // Color information, e.g. [Red] is always at the beginning - $color = null; // initialize - $matches = array(); - - $color_regex = '/^\\[[a-zA-Z]+\\]/'; - if (preg_match($color_regex, $pFormat, $matches)) { - $color = str_replace('[', '', $matches[0]); - $color = str_replace(']', '', $color); - $color = strtolower($color); - } - - // convert to PCDATA - $value = htmlspecialchars($pValue); - - // color span tag - if ($color !== null) { - $value = '<span style="color:' . $color . '">' . $value . '</span>'; - } - - return $value; - } - - /** - * Calculate information about HTML colspan and rowspan which is not always the same as Excel's - */ - private function _calculateSpans() - { - // Identify all cells that should be omitted in HTML due to cell merge. - // In HTML only the upper-left cell should be written and it should have - // appropriate rowspan / colspan attribute - $sheetIndexes = $this->_sheetIndex !== null ? - array($this->_sheetIndex) : range(0, $this->_phpExcel->getSheetCount() - 1); - - foreach ($sheetIndexes as $sheetIndex) { - $sheet = $this->_phpExcel->getSheet($sheetIndex); - - $candidateSpannedRow = array(); - - // loop through all Excel merged cells - foreach ($sheet->getMergeCells() as $cells) { - list($cells, ) = PHPExcel_Cell::splitRange($cells); - $first = $cells[0]; - $last = $cells[1]; - - list($fc, $fr) = PHPExcel_Cell::coordinateFromString($first); - $fc = PHPExcel_Cell::columnIndexFromString($fc) - 1; - - list($lc, $lr) = PHPExcel_Cell::coordinateFromString($last); - $lc = PHPExcel_Cell::columnIndexFromString($lc) - 1; - - // loop through the individual cells in the individual merge - $r = $fr - 1; - while($r++ < $lr) { - // also, flag this row as a HTML row that is candidate to be omitted - $candidateSpannedRow[$r] = $r; - - $c = $fc - 1; - while($c++ < $lc) { - if ( !($c == $fc && $r == $fr) ) { - // not the upper-left cell (should not be written in HTML) - $this->_isSpannedCell[$sheetIndex][$r][$c] = array( - 'baseCell' => array($fr, $fc), - ); - } else { - // upper-left is the base cell that should hold the colspan/rowspan attribute - $this->_isBaseCell[$sheetIndex][$r][$c] = array( - 'xlrowspan' => $lr - $fr + 1, // Excel rowspan - 'rowspan' => $lr - $fr + 1, // HTML rowspan, value may change - 'xlcolspan' => $lc - $fc + 1, // Excel colspan - 'colspan' => $lc - $fc + 1, // HTML colspan, value may change - ); - } - } - } - } - - // Identify which rows should be omitted in HTML. These are the rows where all the cells - // participate in a merge and the where base cells are somewhere above. - $countColumns = PHPExcel_Cell::columnIndexFromString($sheet->getHighestColumn()); - foreach ($candidateSpannedRow as $rowIndex) { - if (isset($this->_isSpannedCell[$sheetIndex][$rowIndex])) { - if (count($this->_isSpannedCell[$sheetIndex][$rowIndex]) == $countColumns) { - $this->_isSpannedRow[$sheetIndex][$rowIndex] = $rowIndex; - }; - } - } - - // For each of the omitted rows we found above, the affected rowspans should be subtracted by 1 - if ( isset($this->_isSpannedRow[$sheetIndex]) ) { - foreach ($this->_isSpannedRow[$sheetIndex] as $rowIndex) { - $adjustedBaseCells = array(); - $c = -1; - $e = $countColumns - 1; - while($c++ < $e) { - $baseCell = $this->_isSpannedCell[$sheetIndex][$rowIndex][$c]['baseCell']; - - if ( !in_array($baseCell, $adjustedBaseCells) ) { - // subtract rowspan by 1 - --$this->_isBaseCell[$sheetIndex][ $baseCell[0] ][ $baseCell[1] ]['rowspan']; - $adjustedBaseCells[] = $baseCell; - } - } - } - } - - // TODO: Same for columns - } - - // We have calculated the spans - $this->_spansAreCalculated = true; - } - - private function _setMargins(PHPExcel_Worksheet $pSheet) { - $htmlPage = '@page { '; - $htmlBody = 'body { '; - - $left = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getLeft()) . 'in; '; - $htmlPage .= 'left-margin: ' . $left; - $htmlBody .= 'left-margin: ' . $left; - $right = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getRight()) . 'in; '; - $htmlPage .= 'right-margin: ' . $right; - $htmlBody .= 'right-margin: ' . $right; - $top = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getTop()) . 'in; '; - $htmlPage .= 'top-margin: ' . $top; - $htmlBody .= 'top-margin: ' . $top; - $bottom = PHPExcel_Shared_String::FormatNumber($pSheet->getPageMargins()->getBottom()) . 'in; '; - $htmlPage .= 'bottom-margin: ' . $bottom; - $htmlBody .= 'bottom-margin: ' . $bottom; - - $htmlPage .= "}\n"; - $htmlBody .= "}\n"; - - return "<style>\n" . $htmlPage . $htmlBody . "</style>\n"; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/IWriter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/IWriter.php deleted file mode 100644 index f0b94b9e9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/IWriter.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_IWriter - * - * @category PHPExcel - * @package PHPExcel_Writer - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -interface PHPExcel_Writer_IWriter -{ - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL); - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument.php deleted file mode 100644 index 2cbe6f904..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument.php +++ /dev/null @@ -1,200 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - * @link http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os.html - */ -class PHPExcel_Writer_OpenDocument extends PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter -{ - /** - * Private writer parts - * - * @var PHPExcel_Writer_OpenDocument_WriterPart[] - */ - private $_writerParts = array(); - - /** - * Private PHPExcel - * - * @var PHPExcel - */ - private $_spreadSheet; - - /** - * Create a new PHPExcel_Writer_OpenDocument - * - * @param PHPExcel $pPHPExcel - */ - public function __construct(PHPExcel $pPHPExcel = null) - { - $this->setPHPExcel($pPHPExcel); - - $writerPartsArray = array( - 'content' => 'PHPExcel_Writer_OpenDocument_Content', - 'meta' => 'PHPExcel_Writer_OpenDocument_Meta', - 'meta_inf' => 'PHPExcel_Writer_OpenDocument_MetaInf', - 'mimetype' => 'PHPExcel_Writer_OpenDocument_Mimetype', - 'settings' => 'PHPExcel_Writer_OpenDocument_Settings', - 'styles' => 'PHPExcel_Writer_OpenDocument_Styles', - 'thumbnails' => 'PHPExcel_Writer_OpenDocument_Thumbnails' - ); - - foreach ($writerPartsArray as $writer => $class) { - $this->_writerParts[$writer] = new $class($this); - } - } - - /** - * Get writer part - * - * @param string $pPartName Writer part name - * @return PHPExcel_Writer_Excel2007_WriterPart - */ - public function getWriterPart($pPartName = '') - { - if ($pPartName != '' && isset($this->_writerParts[strtolower($pPartName)])) { - return $this->_writerParts[strtolower($pPartName)]; - } else { - return null; - } - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - if (!$this->_spreadSheet) { - throw new PHPExcel_Writer_Exception('PHPExcel object unassigned.'); - } - - // garbage collect - $this->_spreadSheet->garbageCollect(); - - // If $pFilename is php://output or php://stdout, make it a temporary file... - $originalFilename = $pFilename; - if (strtolower($pFilename) == 'php://output' || strtolower($pFilename) == 'php://stdout') { - $pFilename = @tempnam(PHPExcel_Shared_File::sys_get_temp_dir(), 'phpxltmp'); - if ($pFilename == '') { - $pFilename = $originalFilename; - } - } - - $objZip = $this->_createZip($pFilename); - - $objZip->addFromString('META-INF/manifest.xml', $this->getWriterPart('meta_inf')->writeManifest()); - $objZip->addFromString('Thumbnails/thumbnail.png', $this->getWriterPart('thumbnails')->writeThumbnail()); - $objZip->addFromString('content.xml', $this->getWriterPart('content')->write()); - $objZip->addFromString('meta.xml', $this->getWriterPart('meta')->write()); - $objZip->addFromString('mimetype', $this->getWriterPart('mimetype')->write()); - $objZip->addFromString('settings.xml', $this->getWriterPart('settings')->write()); - $objZip->addFromString('styles.xml', $this->getWriterPart('styles')->write()); - - // Close file - if ($objZip->close() === false) { - throw new PHPExcel_Writer_Exception("Could not close zip file $pFilename."); - } - - // If a temporary file was used, copy it to the correct file stream - if ($originalFilename != $pFilename) { - if (copy($pFilename, $originalFilename) === false) { - throw new PHPExcel_Writer_Exception("Could not copy temporary zip file $pFilename to $originalFilename."); - } - @unlink($pFilename); - } - } - - /** - * Create zip object - * - * @param string $pFilename - * @throws PHPExcel_Writer_Exception - * @return ZipArchive - */ - private function _createZip($pFilename) - { - // Create new ZIP file and open it for writing - $zipClass = PHPExcel_Settings::getZipClass(); - $objZip = new $zipClass(); - - // Retrieve OVERWRITE and CREATE constants from the instantiated zip class - // This method of accessing constant values from a dynamic class should work with all appropriate versions of PHP - $ro = new ReflectionObject($objZip); - $zipOverWrite = $ro->getConstant('OVERWRITE'); - $zipCreate = $ro->getConstant('CREATE'); - - if (file_exists($pFilename)) { - unlink($pFilename); - } - // Try opening the ZIP file - if ($objZip->open($pFilename, $zipOverWrite) !== true) { - if ($objZip->open($pFilename, $zipCreate) !== true) { - throw new PHPExcel_Writer_Exception("Could not open $pFilename for writing."); - } - } - - return $objZip; - } - - /** - * Get PHPExcel object - * - * @return PHPExcel - * @throws PHPExcel_Writer_Exception - */ - public function getPHPExcel() - { - if ($this->_spreadSheet !== null) { - return $this->_spreadSheet; - } else { - throw new PHPExcel_Writer_Exception('No PHPExcel assigned.'); - } - } - - /** - * Set PHPExcel object - * - * @param PHPExcel $pPHPExcel PHPExcel object - * @throws PHPExcel_Writer_Exception - * @return PHPExcel_Writer_Excel2007 - */ - public function setPHPExcel(PHPExcel $pPHPExcel = null) - { - $this->_spreadSheet = $pPHPExcel; - return $this; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Cell/Comment.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Cell/Comment.php deleted file mode 100644 index 88406ed1a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Cell/Comment.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Cell_Comment - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Cell_Comment -{ - public static function write(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Cell $cell) - { - $comments = $cell->getWorksheet()->getComments(); - if (!isset($comments[$cell->getCoordinate()])) { - return; - } - $comment = $comments[$cell->getCoordinate()]; - - $objWriter->startElement('office:annotation'); - //$objWriter->writeAttribute('draw:style-name', 'gr1'); - //$objWriter->writeAttribute('draw:text-style-name', 'P1'); - $objWriter->writeAttribute('svg:width', $comment->getWidth()); - $objWriter->writeAttribute('svg:height', $comment->getHeight()); - $objWriter->writeAttribute('svg:x', $comment->getMarginLeft()); - $objWriter->writeAttribute('svg:y', $comment->getMarginTop()); - //$objWriter->writeAttribute('draw:caption-point-x', $comment->getMarginLeft()); - //$objWriter->writeAttribute('draw:caption-point-y', $comment->getMarginTop()); - $objWriter->writeElement('dc:creator', $comment->getAuthor()); - // TODO: Not realized in PHPExcel_Comment yet. - //$objWriter->writeElement('dc:date', $comment->getDate()); - $objWriter->writeElement('text:p', $comment->getText()->getPlainText()); - //$objWriter->writeAttribute('draw:text-style-name', 'P1'); - $objWriter->endElement(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Content.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Content.php deleted file mode 100644 index 625b35417..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Content.php +++ /dev/null @@ -1,272 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Content - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Content extends PHPExcel_Writer_OpenDocument_WriterPart -{ - const NUMBER_COLS_REPEATED_MAX = 1024; - const NUMBER_ROWS_REPEATED_MAX = 1048576; - - /** - * Write content.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); /* @var $pPHPExcel PHPExcel */ - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Content - $objWriter->startElement('office:document-content'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:style', 'urn:oasis:names:tc:opendocument:xmlns:style:1.0'); - $objWriter->writeAttribute('xmlns:text', 'urn:oasis:names:tc:opendocument:xmlns:text:1.0'); - $objWriter->writeAttribute('xmlns:table', 'urn:oasis:names:tc:opendocument:xmlns:table:1.0'); - $objWriter->writeAttribute('xmlns:draw', 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0'); - $objWriter->writeAttribute('xmlns:fo', 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'); - $objWriter->writeAttribute('xmlns:number', 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0'); - $objWriter->writeAttribute('xmlns:presentation', 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0'); - $objWriter->writeAttribute('xmlns:svg', 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0'); - $objWriter->writeAttribute('xmlns:chart', 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0'); - $objWriter->writeAttribute('xmlns:dr3d', 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0'); - $objWriter->writeAttribute('xmlns:math', 'http://www.w3.org/1998/Math/MathML'); - $objWriter->writeAttribute('xmlns:form', 'urn:oasis:names:tc:opendocument:xmlns:form:1.0'); - $objWriter->writeAttribute('xmlns:script', 'urn:oasis:names:tc:opendocument:xmlns:script:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('xmlns:ooow', 'http://openoffice.org/2004/writer'); - $objWriter->writeAttribute('xmlns:oooc', 'http://openoffice.org/2004/calc'); - $objWriter->writeAttribute('xmlns:dom', 'http://www.w3.org/2001/xml-events'); - $objWriter->writeAttribute('xmlns:xforms', 'http://www.w3.org/2002/xforms'); - $objWriter->writeAttribute('xmlns:xsd', 'http://www.w3.org/2001/XMLSchema'); - $objWriter->writeAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance'); - $objWriter->writeAttribute('xmlns:rpt', 'http://openoffice.org/2005/report'); - $objWriter->writeAttribute('xmlns:of', 'urn:oasis:names:tc:opendocument:xmlns:of:1.2'); - $objWriter->writeAttribute('xmlns:xhtml', 'http://www.w3.org/1999/xhtml'); - $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#'); - $objWriter->writeAttribute('xmlns:tableooo', 'http://openoffice.org/2009/table'); - $objWriter->writeAttribute('xmlns:field', 'urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0'); - $objWriter->writeAttribute('xmlns:formx', 'urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0'); - $objWriter->writeAttribute('xmlns:css3t', 'http://www.w3.org/TR/css3-text/'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->writeElement('office:scripts'); - $objWriter->writeElement('office:font-face-decls'); - $objWriter->writeElement('office:automatic-styles'); - - $objWriter->startElement('office:body'); - $objWriter->startElement('office:spreadsheet'); - $objWriter->writeElement('table:calculation-settings'); - $this->_writeSheets($objWriter); - $objWriter->writeElement('table:named-expressions'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } - - /** - * Write sheets - * - * @param PHPExcel_Shared_XMLWriter $objWriter - */ - private function _writeSheets(PHPExcel_Shared_XMLWriter $objWriter) - { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); /* @var $pPHPExcel PHPExcel */ - - $sheet_count = $pPHPExcel->getSheetCount(); - for ($i = 0; $i < $sheet_count; $i++) { - //$this->getWriterPart('Worksheet')->writeWorksheet()); - $objWriter->startElement('table:table'); - $objWriter->writeAttribute('table:name', $pPHPExcel->getSheet($i)->getTitle()); - $objWriter->writeElement('office:forms'); - $objWriter->startElement('table:table-column'); - $objWriter->writeAttribute('table:number-columns-repeated', self::NUMBER_COLS_REPEATED_MAX); - $objWriter->endElement(); - $this->_writeRows($objWriter, $pPHPExcel->getSheet($i)); - $objWriter->endElement(); - } - } - - /** - * Write rows of the specified sheet - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param PHPExcel_Worksheet $sheet - */ - private function _writeRows(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Worksheet $sheet) - { - $number_rows_repeated = self::NUMBER_ROWS_REPEATED_MAX; - $span_row = 0; - $rows = $sheet->getRowIterator(); - while ($rows->valid()) { - $number_rows_repeated--; - $row = $rows->current(); - if ($row->getCellIterator()->valid()) { - if ($span_row) { - $objWriter->startElement('table:table-row'); - if ($span_row > 1) { - $objWriter->writeAttribute('table:number-rows-repeated', $span_row); - } - $objWriter->startElement('table:table-cell'); - $objWriter->writeAttribute('table:number-columns-repeated', self::NUMBER_COLS_REPEATED_MAX); - $objWriter->endElement(); - $objWriter->endElement(); - $span_row = 0; - } - $objWriter->startElement('table:table-row'); - $this->_writeCells($objWriter, $row); - $objWriter->endElement(); - } else { - $span_row++; - } - $rows->next(); - } - } - - /** - * Write cells of the specified row - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param PHPExcel_Worksheet_Row $row - * @throws PHPExcel_Writer_Exception - */ - private function _writeCells(PHPExcel_Shared_XMLWriter $objWriter, PHPExcel_Worksheet_Row $row) - { - $number_cols_repeated = self::NUMBER_COLS_REPEATED_MAX; - $prev_column = -1; - $cells = $row->getCellIterator(); - while ($cells->valid()) { - $cell = $cells->current(); - $column = PHPExcel_Cell::columnIndexFromString($cell->getColumn()) - 1; - - $this->_writeCellSpan($objWriter, $column, $prev_column); - $objWriter->startElement('table:table-cell'); - - switch ($cell->getDataType()) { - case PHPExcel_Cell_DataType::TYPE_BOOL: - $objWriter->writeAttribute('office:value-type', 'boolean'); - $objWriter->writeAttribute('office:value', $cell->getValue()); - $objWriter->writeElement('text:p', $cell->getValue()); - break; - - case PHPExcel_Cell_DataType::TYPE_ERROR: - throw new PHPExcel_Writer_Exception('Writing of error not implemented yet.'); - break; - - case PHPExcel_Cell_DataType::TYPE_FORMULA: - try { - $formula_value = $cell->getCalculatedValue(); - } catch (Exception $e) { - $formula_value = $cell->getValue(); - } - $objWriter->writeAttribute('table:formula', 'of:' . $cell->getValue()); - if (is_numeric($formula_value)) { - $objWriter->writeAttribute('office:value-type', 'float'); - } else { - $objWriter->writeAttribute('office:value-type', 'string'); - } - $objWriter->writeAttribute('office:value', $formula_value); - $objWriter->writeElement('text:p', $formula_value); - break; - - case PHPExcel_Cell_DataType::TYPE_INLINE: - throw new PHPExcel_Writer_Exception('Writing of inline not implemented yet.'); - break; - - case PHPExcel_Cell_DataType::TYPE_NUMERIC: - $objWriter->writeAttribute('office:value-type', 'float'); - $objWriter->writeAttribute('office:value', $cell->getValue()); - $objWriter->writeElement('text:p', $cell->getValue()); - break; - - case PHPExcel_Cell_DataType::TYPE_STRING: - $objWriter->writeAttribute('office:value-type', 'string'); - $objWriter->writeElement('text:p', $cell->getValue()); - break; - } - PHPExcel_Writer_OpenDocument_Cell_Comment::write($objWriter, $cell); - $objWriter->endElement(); - $prev_column = $column; - $cells->next(); - } - $number_cols_repeated = $number_cols_repeated - $prev_column - 1; - if ($number_cols_repeated > 0) { - if ($number_cols_repeated > 1) { - $objWriter->startElement('table:table-cell'); - $objWriter->writeAttribute('table:number-columns-repeated', $number_cols_repeated); - $objWriter->endElement(); - } else { - $objWriter->writeElement('table:table-cell'); - } - } - } - - /** - * Write span - * - * @param PHPExcel_Shared_XMLWriter $objWriter - * @param integer $curColumn - * @param integer $prevColumn - */ - private function _writeCellSpan(PHPExcel_Shared_XMLWriter $objWriter, $curColumn, $prevColumn) - { - $diff = $curColumn - $prevColumn - 1; - if (1 === $diff) { - $objWriter->writeElement('table:table-cell'); - } elseif ($diff > 1) { - $objWriter->startElement('table:table-cell'); - $objWriter->writeAttribute('table:number-columns-repeated', $diff); - $objWriter->endElement(); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Meta.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Meta.php deleted file mode 100644 index 7f39e5589..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Meta.php +++ /dev/null @@ -1,98 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Meta - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Meta extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write meta.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Meta - $objWriter->startElement('office:document-meta'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->startElement('office:meta'); - $objWriter->writeElement('meta:initial-creator', $pPHPExcel->getProperties()->getCreator()); - $objWriter->writeElement('dc:creator', $pPHPExcel->getProperties()->getCreator()); - $objWriter->writeElement('meta:creation-date', date(DATE_W3C, $pPHPExcel->getProperties()->getCreated())); - $objWriter->writeElement('dc:date', date(DATE_W3C, $pPHPExcel->getProperties()->getCreated())); - $objWriter->writeElement('dc:title', $pPHPExcel->getProperties()->getTitle()); - $objWriter->writeElement('dc:description', $pPHPExcel->getProperties()->getDescription()); - $objWriter->writeElement('dc:subject', $pPHPExcel->getProperties()->getSubject()); - $keywords = explode(' ', $pPHPExcel->getProperties()->getKeywords()); - foreach ($keywords as $keyword) { - $objWriter->writeElement('meta:keyword', $keyword); - } - //<meta:document-statistic meta:table-count="XXX" meta:cell-count="XXX" meta:object-count="XXX"/> - $objWriter->startElement('meta:user-defined'); - $objWriter->writeAttribute('meta:name', 'Company'); - $objWriter->writeRaw($pPHPExcel->getProperties()->getCompany()); - $objWriter->endElement(); - $objWriter->startElement('meta:user-defined'); - $objWriter->writeAttribute('meta:name', 'category'); - $objWriter->writeRaw($pPHPExcel->getProperties()->getCategory()); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/MetaInf.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/MetaInf.php deleted file mode 100644 index 301d39db9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/MetaInf.php +++ /dev/null @@ -1,96 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_MetaInf - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_MetaInf extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write META-INF/manifest.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeManifest(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Manifest - $objWriter->startElement('manifest:manifest'); - $objWriter->writeAttribute('xmlns:manifest', 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0'); - $objWriter->writeAttribute('manifest:version', '1.2'); - - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', '/'); - $objWriter->writeAttribute('manifest:version', '1.2'); - $objWriter->writeAttribute('manifest:media-type', 'application/vnd.oasis.opendocument.spreadsheet'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'meta.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'settings.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'content.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'Thumbnails/thumbnail.png'); - $objWriter->writeAttribute('manifest:media-type', 'image/png'); - $objWriter->endElement(); - $objWriter->startElement('manifest:file-entry'); - $objWriter->writeAttribute('manifest:full-path', 'styles.xml'); - $objWriter->writeAttribute('manifest:media-type', 'text/xml'); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Mimetype.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Mimetype.php deleted file mode 100644 index 99ff638a9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Mimetype.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Mimetype - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Mimetype extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write mimetype to plain text format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - return 'application/vnd.oasis.opendocument.spreadsheet'; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Settings.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Settings.php deleted file mode 100644 index 557e748d4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Settings.php +++ /dev/null @@ -1,85 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Settings - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Settings extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write settings.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Settings - $objWriter->startElement('office:document-settings'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:config', 'urn:oasis:names:tc:opendocument:xmlns:config:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->startElement('office:settings'); - $objWriter->startElement('config:config-item-set'); - $objWriter->writeAttribute('config:name', 'ooo:view-settings'); - $objWriter->startElement('config:config-item-map-indexed'); - $objWriter->writeAttribute('config:name', 'Views'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->startElement('config:config-item-set'); - $objWriter->writeAttribute('config:name', 'ooo:configuration-settings'); - $objWriter->endElement(); - $objWriter->endElement(); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Styles.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Styles.php deleted file mode 100644 index d88673632..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Styles.php +++ /dev/null @@ -1,101 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Styles - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Styles extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write styles.xml to XML format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function write(PHPExcel $pPHPExcel = null) - { - if (!$pPHPExcel) { - $pPHPExcel = $this->getParentWriter()->getPHPExcel(); - } - - $objWriter = null; - if ($this->getParentWriter()->getUseDiskCaching()) { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); - } else { - $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); - } - - // XML header - $objWriter->startDocument('1.0', 'UTF-8'); - - // Content - $objWriter->startElement('office:document-styles'); - $objWriter->writeAttribute('xmlns:office', 'urn:oasis:names:tc:opendocument:xmlns:office:1.0'); - $objWriter->writeAttribute('xmlns:style', 'urn:oasis:names:tc:opendocument:xmlns:style:1.0'); - $objWriter->writeAttribute('xmlns:text', 'urn:oasis:names:tc:opendocument:xmlns:text:1.0'); - $objWriter->writeAttribute('xmlns:table', 'urn:oasis:names:tc:opendocument:xmlns:table:1.0'); - $objWriter->writeAttribute('xmlns:draw', 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0'); - $objWriter->writeAttribute('xmlns:fo', 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0'); - $objWriter->writeAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink'); - $objWriter->writeAttribute('xmlns:dc', 'http://purl.org/dc/elements/1.1/'); - $objWriter->writeAttribute('xmlns:meta', 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0'); - $objWriter->writeAttribute('xmlns:number', 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0'); - $objWriter->writeAttribute('xmlns:presentation', 'urn:oasis:names:tc:opendocument:xmlns:presentation:1.0'); - $objWriter->writeAttribute('xmlns:svg', 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0'); - $objWriter->writeAttribute('xmlns:chart', 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0'); - $objWriter->writeAttribute('xmlns:dr3d', 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0'); - $objWriter->writeAttribute('xmlns:math', 'http://www.w3.org/1998/Math/MathML'); - $objWriter->writeAttribute('xmlns:form', 'urn:oasis:names:tc:opendocument:xmlns:form:1.0'); - $objWriter->writeAttribute('xmlns:script', 'urn:oasis:names:tc:opendocument:xmlns:script:1.0'); - $objWriter->writeAttribute('xmlns:ooo', 'http://openoffice.org/2004/office'); - $objWriter->writeAttribute('xmlns:ooow', 'http://openoffice.org/2004/writer'); - $objWriter->writeAttribute('xmlns:oooc', 'http://openoffice.org/2004/calc'); - $objWriter->writeAttribute('xmlns:dom', 'http://www.w3.org/2001/xml-events'); - $objWriter->writeAttribute('xmlns:rpt', 'http://openoffice.org/2005/report'); - $objWriter->writeAttribute('xmlns:of', 'urn:oasis:names:tc:opendocument:xmlns:of:1.2'); - $objWriter->writeAttribute('xmlns:xhtml', 'http://www.w3.org/1999/xhtml'); - $objWriter->writeAttribute('xmlns:grddl', 'http://www.w3.org/2003/g/data-view#'); - $objWriter->writeAttribute('xmlns:tableooo', 'http://openoffice.org/2009/table'); - $objWriter->writeAttribute('xmlns:css3t', 'http://www.w3.org/TR/css3-text/'); - $objWriter->writeAttribute('office:version', '1.2'); - - $objWriter->writeElement('office:font-face-decls'); - $objWriter->writeElement('office:styles'); - $objWriter->writeElement('office:automatic-styles'); - $objWriter->writeElement('office:master-styles'); - $objWriter->endElement(); - - return $objWriter->getData(); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Thumbnails.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Thumbnails.php deleted file mode 100644 index a7e85c456..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/Thumbnails.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_Thumbnails - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @author Alexander Pervakov <frost-nzcr4@jagmort.com> - */ -class PHPExcel_Writer_OpenDocument_Thumbnails extends PHPExcel_Writer_OpenDocument_WriterPart -{ - /** - * Write Thumbnails/thumbnail.png to PNG format - * - * @param PHPExcel $pPHPExcel - * @return string XML Output - * @throws PHPExcel_Writer_Exception - */ - public function writeThumbnail(PHPExcel $pPHPExcel = null) - { - return ''; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/WriterPart.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/WriterPart.php deleted file mode 100644 index e6e713a1b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/OpenDocument/WriterPart.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_OpenDocument_WriterPart - * - * @category PHPExcel - * @package PHPExcel_Writer_OpenDocument - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_OpenDocument_WriterPart extends PHPExcel_Writer_Excel2007_WriterPart -{ -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF.php deleted file mode 100644 index 4111f8bd9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF.php +++ /dev/null @@ -1,90 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_PDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF -{ - - /** - * The wrapper for the requested PDF rendering engine - * - * @var PHPExcel_Writer_PDF_Core - */ - private $_renderer = NULL; - - /** - * Instantiate a new renderer of the configured type within this container class - * - * @param PHPExcel $phpExcel PHPExcel object - * @throws PHPExcel_Writer_Exception when PDF library is not configured - */ - public function __construct(PHPExcel $phpExcel) - { - $pdfLibraryName = PHPExcel_Settings::getPdfRendererName(); - if (is_null($pdfLibraryName)) { - throw new PHPExcel_Writer_Exception("PDF Rendering library has not been defined."); - } - - $pdfLibraryPath = PHPExcel_Settings::getPdfRendererPath(); - if (is_null($pdfLibraryName)) { - throw new PHPExcel_Writer_Exception("PDF Rendering library path has not been defined."); - } - $includePath = str_replace('\\', '/', get_include_path()); - $rendererPath = str_replace('\\', '/', $pdfLibraryPath); - if (strpos($rendererPath, $includePath) === false) { - set_include_path(get_include_path() . PATH_SEPARATOR . $pdfLibraryPath); - } - - $rendererName = 'PHPExcel_Writer_PDF_' . $pdfLibraryName; - $this->_renderer = new $rendererName($phpExcel); - } - - - /** - * Magic method to handle direct calls to the configured PDF renderer wrapper class. - * - * @param string $name Renderer library method name - * @param mixed[] $arguments Array of arguments to pass to the renderer method - * @return mixed Returned data from the PDF renderer wrapper method - */ - public function __call($name, $arguments) - { - if ($this->_renderer === NULL) { - throw new PHPExcel_Writer_Exception("PDF Rendering library has not been defined."); - } - - return call_user_func_array(array($this->_renderer, $name), $arguments); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/Core.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/Core.php deleted file mode 100644 index 3842334d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/Core.php +++ /dev/null @@ -1,364 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** - * PHPExcel_Writer_PDF_Core - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -abstract class PHPExcel_Writer_PDF_Core extends PHPExcel_Writer_HTML -{ - /** - * Temporary storage directory - * - * @var string - */ - protected $_tempDir = ''; - - /** - * Font - * - * @var string - */ - protected $_font = 'freesans'; - - /** - * Orientation (Over-ride) - * - * @var string - */ - protected $_orientation = NULL; - - /** - * Paper size (Over-ride) - * - * @var int - */ - protected $_paperSize = NULL; - - - /** - * Temporary storage for Save Array Return type - * - * @var string - */ - private $_saveArrayReturnType; - - /** - * Paper Sizes xRef List - * - * @var array - */ - protected static $_paperSizes = array( - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER - => 'LETTER', // (8.5 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_SMALL - => 'LETTER', // (8.5 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_TABLOID - => array(792.00, 1224.00), // (11 in. by 17 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEDGER - => array(1224.00, 792.00), // (17 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEGAL - => 'LEGAL', // (8.5 in. by 14 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STATEMENT - => array(396.00, 612.00), // (5.5 in. by 8.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_EXECUTIVE - => 'EXECUTIVE', // (7.25 in. by 10.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3 - => 'A3', // (297 mm by 420 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4 - => 'A4', // (210 mm by 297 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_SMALL - => 'A4', // (210 mm by 297 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5 - => 'A5', // (148 mm by 210 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B4 - => 'B4', // (250 mm by 353 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B5 - => 'B5', // (176 mm by 250 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_FOLIO - => 'FOLIO', // (8.5 in. by 13 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_QUARTO - => array(609.45, 779.53), // (215 mm by 275 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_1 - => array(720.00, 1008.00), // (10 in. by 14 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_2 - => array(792.00, 1224.00), // (11 in. by 17 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NOTE - => 'LETTER', // (8.5 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO9_ENVELOPE - => array(279.00, 639.00), // (3.875 in. by 8.875 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO10_ENVELOPE - => array(297.00, 684.00), // (4.125 in. by 9.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO11_ENVELOPE - => array(324.00, 747.00), // (4.5 in. by 10.375 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO12_ENVELOPE - => array(342.00, 792.00), // (4.75 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_NO14_ENVELOPE - => array(360.00, 828.00), // (5 in. by 11.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C - => array(1224.00, 1584.00), // (17 in. by 22 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_D - => array(1584.00, 2448.00), // (22 in. by 34 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_E - => array(2448.00, 3168.00), // (34 in. by 44 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_DL_ENVELOPE - => array(311.81, 623.62), // (110 mm by 220 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C5_ENVELOPE - => 'C5', // (162 mm by 229 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C3_ENVELOPE - => 'C3', // (324 mm by 458 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C4_ENVELOPE - => 'C4', // (229 mm by 324 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C6_ENVELOPE - => 'C6', // (114 mm by 162 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_C65_ENVELOPE - => array(323.15, 649.13), // (114 mm by 229 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B4_ENVELOPE - => 'B4', // (250 mm by 353 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B5_ENVELOPE - => 'B5', // (176 mm by 250 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_B6_ENVELOPE - => array(498.90, 354.33), // (176 mm by 125 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_ITALY_ENVELOPE - => array(311.81, 651.97), // (110 mm by 230 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_MONARCH_ENVELOPE - => array(279.00, 540.00), // (3.875 in. by 7.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_6_3_4_ENVELOPE - => array(261.00, 468.00), // (3.625 in. by 6.5 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_US_STANDARD_FANFOLD - => array(1071.00, 792.00), // (14.875 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_GERMAN_STANDARD_FANFOLD - => array(612.00, 864.00), // (8.5 in. by 12 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_GERMAN_LEGAL_FANFOLD - => 'FOLIO', // (8.5 in. by 13 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_ISO_B4 - => 'B4', // (250 mm by 353 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_JAPANESE_DOUBLE_POSTCARD - => array(566.93, 419.53), // (200 mm by 148 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_1 - => array(648.00, 792.00), // (9 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_2 - => array(720.00, 792.00), // (10 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_STANDARD_PAPER_3 - => array(1080.00, 792.00), // (15 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_INVITE_ENVELOPE - => array(623.62, 623.62), // (220 mm by 220 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_EXTRA_PAPER - => array(667.80, 864.00), // (9.275 in. by 12 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LEGAL_EXTRA_PAPER - => array(667.80, 1080.00), // (9.275 in. by 15 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_TABLOID_EXTRA_PAPER - => array(841.68, 1296.00), // (11.69 in. by 18 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_EXTRA_PAPER - => array(668.98, 912.76), // (236 mm by 322 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_TRANSVERSE_PAPER - => array(595.80, 792.00), // (8.275 in. by 11 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_TRANSVERSE_PAPER - => 'A4', // (210 mm by 297 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_EXTRA_TRANSVERSE_PAPER - => array(667.80, 864.00), // (9.275 in. by 12 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_SUPERA_SUPERA_A4_PAPER - => array(643.46, 1009.13), // (227 mm by 356 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_SUPERB_SUPERB_A3_PAPER - => array(864.57, 1380.47), // (305 mm by 487 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER_PLUS_PAPER - => array(612.00, 913.68), // (8.5 in. by 12.69 in.) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A4_PLUS_PAPER - => array(595.28, 935.43), // (210 mm by 330 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5_TRANSVERSE_PAPER - => 'A5', // (148 mm by 210 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_JIS_B5_TRANSVERSE_PAPER - => array(515.91, 728.50), // (182 mm by 257 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_EXTRA_PAPER - => array(912.76, 1261.42), // (322 mm by 445 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A5_EXTRA_PAPER - => array(493.23, 666.14), // (174 mm by 235 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_ISO_B5_EXTRA_PAPER - => array(569.76, 782.36), // (201 mm by 276 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A2_PAPER - => 'A2', // (420 mm by 594 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_TRANSVERSE_PAPER - => 'A3', // (297 mm by 420 mm) - PHPExcel_Worksheet_PageSetup::PAPERSIZE_A3_EXTRA_TRANSVERSE_PAPER - => array(912.76, 1261.42) // (322 mm by 445 mm) - ); - - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - $this->setUseInlineCss(TRUE); - $this->_tempDir = PHPExcel_Shared_File::sys_get_temp_dir(); - } - - /** - * Get Font - * - * @return string - */ - public function getFont() - { - return $this->_font; - } - - /** - * Set font. Examples: - * 'arialunicid0-chinese-simplified' - * 'arialunicid0-chinese-traditional' - * 'arialunicid0-korean' - * 'arialunicid0-japanese' - * - * @param string $fontName - */ - public function setFont($fontName) - { - $this->_font = $fontName; - return $this; - } - - /** - * Get Paper Size - * - * @return int - */ - public function getPaperSize() - { - return $this->_paperSize; - } - - /** - * Set Paper Size - * - * @param string $pValue Paper size - * @return PHPExcel_Writer_PDF - */ - public function setPaperSize($pValue = PHPExcel_Worksheet_PageSetup::PAPERSIZE_LETTER) - { - $this->_paperSize = $pValue; - return $this; - } - - /** - * Get Orientation - * - * @return string - */ - public function getOrientation() - { - return $this->_orientation; - } - - /** - * Set Orientation - * - * @param string $pValue Page orientation - * @return PHPExcel_Writer_PDF - */ - public function setOrientation($pValue = PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) - { - $this->_orientation = $pValue; - return $this; - } - - /** - * Get temporary storage directory - * - * @return string - */ - public function getTempDir() - { - return $this->_tempDir; - } - - /** - * Set temporary storage directory - * - * @param string $pValue Temporary storage directory - * @throws PHPExcel_Writer_Exception when directory does not exist - * @return PHPExcel_Writer_PDF - */ - public function setTempDir($pValue = '') - { - if (is_dir($pValue)) { - $this->_tempDir = $pValue; - } else { - throw new PHPExcel_Writer_Exception("Directory does not exist: $pValue"); - } - return $this; - } - - /** - * Save PHPExcel to PDF file, pre-save - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - protected function prepareForSave($pFilename = NULL) - { - // garbage collect - $this->_phpExcel->garbageCollect(); - - $this->_saveArrayReturnType = PHPExcel_Calculation::getArrayReturnType(); - PHPExcel_Calculation::setArrayReturnType(PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE); - - // Open file - $fileHandle = fopen($pFilename, 'w'); - if ($fileHandle === FALSE) { - throw new PHPExcel_Writer_Exception("Could not open file $pFilename for writing."); - } - - // Set PDF - $this->_isPdf = TRUE; - // Build CSS - $this->buildCSS(TRUE); - - return $fileHandle; - } - - /** - * Save PHPExcel to PDF file, post-save - * - * @param resource $fileHandle - * @throws PHPExcel_Writer_Exception - */ - protected function restoreStateAfterSave($fileHandle) - { - // Close file - fclose($fileHandle); - - PHPExcel_Calculation::setArrayReturnType($this->_saveArrayReturnType); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/DomPDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/DomPDF.php deleted file mode 100644 index 01e4e0122..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/DomPDF.php +++ /dev/null @@ -1,122 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** Require DomPDF library */ -$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/dompdf_config.inc.php'; -if (file_exists($pdfRendererClassFile)) { - require_once $pdfRendererClassFile; -} else { - throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library'); -} - -/** - * PHPExcel_Writer_PDF_DomPDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF_DomPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter -{ - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - $fileHandle = parent::prepareForSave($pFilename); - - // Default PDF paper size - $paperSize = 'LETTER'; // Letter (8.5 in. by 11 in.) - - // Check for paper size and page orientation - if (is_null($this->getSheetIndex())) { - $orientation = ($this->_phpExcel->getSheet(0)->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet(0)->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet(0)->getPageMargins(); - } else { - $orientation = ($this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageMargins(); - } - - - $orientation = ($orientation == 'L') ? 'landscape' : 'portrait'; - - // Override Page Orientation - if (!is_null($this->getOrientation())) { - $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) - ? PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT - : $this->getOrientation(); - } - // Override Paper Size - if (!is_null($this->getPaperSize())) { - $printPaperSize = $this->getPaperSize(); - } - - if (isset(self::$_paperSizes[$printPaperSize])) { - $paperSize = self::$_paperSizes[$printPaperSize]; - } - - - // Create PDF - $pdf = new DOMPDF(); - $pdf->set_paper(strtolower($paperSize), $orientation); - - $pdf->load_html( - $this->generateHTMLHeader(FALSE) . - $this->generateSheetData() . - $this->generateHTMLFooter() - ); - $pdf->render(); - - // Write to file - fwrite($fileHandle, $pdf->output()); - - parent::restoreStateAfterSave($fileHandle); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/mPDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/mPDF.php deleted file mode 100644 index dddc097d3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/mPDF.php +++ /dev/null @@ -1,130 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** Require mPDF library */ -$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/mpdf.php'; -if (file_exists($pdfRendererClassFile)) { - require_once $pdfRendererClassFile; -} else { - throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library'); -} - -/** - * PHPExcel_Writer_PDF_mPDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF_mPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter -{ - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - $fileHandle = parent::prepareForSave($pFilename); - - // Default PDF paper size - $paperSize = 'LETTER'; // Letter (8.5 in. by 11 in.) - - // Check for paper size and page orientation - if (is_null($this->getSheetIndex())) { - $orientation = ($this->_phpExcel->getSheet(0)->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet(0)->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet(0)->getPageMargins(); - } else { - $orientation = ($this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageMargins(); - } - $this->setOrientation($orientation); - - // Override Page Orientation - if (!is_null($this->getOrientation())) { - $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_DEFAULT) - ? PHPExcel_Worksheet_PageSetup::ORIENTATION_PORTRAIT - : $this->getOrientation(); - } - $orientation = strtoupper($orientation); - - // Override Paper Size - if (!is_null($this->getPaperSize())) { - $printPaperSize = $this->getPaperSize(); - } - - if (isset(self::$_paperSizes[$printPaperSize])) { - $paperSize = self::$_paperSizes[$printPaperSize]; - } - - // Create PDF - $pdf = new mpdf(); - $ortmp = $orientation; - $pdf->_setPageSize(strtoupper($paperSize), $ortmp); - $pdf->DefOrientation = $orientation; - $pdf->AddPage($orientation); - - // Document info - $pdf->SetTitle($this->_phpExcel->getProperties()->getTitle()); - $pdf->SetAuthor($this->_phpExcel->getProperties()->getCreator()); - $pdf->SetSubject($this->_phpExcel->getProperties()->getSubject()); - $pdf->SetKeywords($this->_phpExcel->getProperties()->getKeywords()); - $pdf->SetCreator($this->_phpExcel->getProperties()->getCreator()); - - $pdf->WriteHTML( - $this->generateHTMLHeader(FALSE) . - $this->generateSheetData() . - $this->generateHTMLFooter() - ); - - // Write to file - fwrite($fileHandle, $pdf->Output('', 'S')); - - parent::restoreStateAfterSave($fileHandle); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/tcPDF.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/tcPDF.php deleted file mode 100644 index 4e1937afc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/PDF/tcPDF.php +++ /dev/null @@ -1,136 +0,0 @@ -<?php -/** - * PHPExcel - * - * Copyright (c) 2006 - 2014 PHPExcel - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL - * @version ##VERSION##, ##DATE## - */ - - -/** Require tcPDF library */ -$pdfRendererClassFile = PHPExcel_Settings::getPdfRendererPath() . '/tcpdf.php'; -if (file_exists($pdfRendererClassFile)) { - $k_path_url = PHPExcel_Settings::getPdfRendererPath(); - require_once $pdfRendererClassFile; -} else { - throw new PHPExcel_Writer_Exception('Unable to load PDF Rendering library'); -} - -/** - * PHPExcel_Writer_PDF_tcPDF - * - * @category PHPExcel - * @package PHPExcel_Writer_PDF - * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) - */ -class PHPExcel_Writer_PDF_tcPDF extends PHPExcel_Writer_PDF_Core implements PHPExcel_Writer_IWriter -{ - /** - * Create a new PHPExcel_Writer_PDF - * - * @param PHPExcel $phpExcel PHPExcel object - */ - public function __construct(PHPExcel $phpExcel) - { - parent::__construct($phpExcel); - } - - /** - * Save PHPExcel to file - * - * @param string $pFilename Name of the file to save as - * @throws PHPExcel_Writer_Exception - */ - public function save($pFilename = NULL) - { - $fileHandle = parent::prepareForSave($pFilename); - - // Default PDF paper size - $paperSize = 'LETTER'; // Letter (8.5 in. by 11 in.) - - // Check for paper size and page orientation - if (is_null($this->getSheetIndex())) { - $orientation = ($this->_phpExcel->getSheet(0)->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet(0)->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet(0)->getPageMargins(); - } else { - $orientation = ($this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getOrientation() - == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - $printPaperSize = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageSetup()->getPaperSize(); - $printMargins = $this->_phpExcel->getSheet($this->getSheetIndex())->getPageMargins(); - } - - // Override Page Orientation - if (!is_null($this->getOrientation())) { - $orientation = ($this->getOrientation() == PHPExcel_Worksheet_PageSetup::ORIENTATION_LANDSCAPE) - ? 'L' - : 'P'; - } - // Override Paper Size - if (!is_null($this->getPaperSize())) { - $printPaperSize = $this->getPaperSize(); - } - - if (isset(self::$_paperSizes[$printPaperSize])) { - $paperSize = self::$_paperSizes[$printPaperSize]; - } - - - // Create PDF - $pdf = new TCPDF($orientation, 'pt', $paperSize); - $pdf->setFontSubsetting(FALSE); - // Set margins, converting inches to points (using 72 dpi) - $pdf->SetMargins($printMargins->getLeft() * 72, $printMargins->getTop() * 72, $printMargins->getRight() * 72); - $pdf->SetAutoPageBreak(TRUE, $printMargins->getBottom() * 72); - - $pdf->setPrintHeader(FALSE); - $pdf->setPrintFooter(FALSE); - - $pdf->AddPage(); - - // Set the appropriate font - $pdf->SetFont($this->getFont()); - $pdf->writeHTML( - $this->generateHTMLHeader(FALSE) . - $this->generateSheetData() . - $this->generateHTMLFooter() - ); - - // Document info - $pdf->SetTitle($this->_phpExcel->getProperties()->getTitle()); - $pdf->SetAuthor($this->_phpExcel->getProperties()->getCreator()); - $pdf->SetSubject($this->_phpExcel->getProperties()->getSubject()); - $pdf->SetKeywords($this->_phpExcel->getProperties()->getKeywords()); - $pdf->SetCreator($this->_phpExcel->getProperties()->getCreator()); - - // Write to file - fwrite($fileHandle, $pdf->output($pFilename, 'S')); - - parent::restoreStateAfterSave($fileHandle); - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/Writer/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/bg/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/bg/config deleted file mode 100644 index 4cecddb3c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/bg/config +++ /dev/null @@ -1,49 +0,0 @@ -## -## PHPExcel -## - -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = лв - - -## -## Excel Error Codes (For future use) - -## -NULL = #ПРАЗНО! -DIV0 = #ДЕЛ/0! -VALUE = #СТОЙНОСТ! -REF = #РЕФ! -NAME = #ИМЕ? -NUM = #ЧИСЛО! -NA = #Н/Д diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/config deleted file mode 100644 index 42cdf3267..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = Kč - - -## -## Excel Error Codes (For future use) -## -NULL = #NULL! -DIV0 = #DIV/0! -VALUE = #HODNOTA! -REF = #REF! -NAME = #NÁZEV? -NUM = #NUM! -NA = #N/A diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/functions deleted file mode 100644 index c0a3cbbf9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funkce doplňků a automatizace -## -GETPIVOTDATA = ZÍSKATKONTDATA ## Vrátí data uložená v kontingenční tabulce. Pomocí funkce ZÍSKATKONTDATA můžete načíst souhrnná data z kontingenční tabulky, pokud jsou tato data v kontingenční sestavě zobrazena. - - -## -## Cube functions Funkce pro práci s krychlemi -## -CUBEKPIMEMBER = CUBEKPIMEMBER ## Vrátí název, vlastnost a velikost klíčového ukazatele výkonu (KUV) a zobrazí v buňce název a vlastnost. Klíčový ukazatel výkonu je kvantifikovatelná veličina, například hrubý měsíční zisk nebo čtvrtletní obrat na zaměstnance, která se používá pro sledování výkonnosti organizace. -CUBEMEMBER = CUBEMEMBER ## Vrátí člen nebo n-tici v hierarchii krychle. Slouží k ověření, zda v krychli existuje člen nebo n-tice. -CUBEMEMBERPROPERTY = CUBEMEMBERPROPERTY ## Vrátí hodnotu vlastnosti člena v krychli. Slouží k ověření, zda v krychli existuje člen s daným názvem, a k vrácení konkrétní vlastnosti tohoto člena. -CUBERANKEDMEMBER = CUBERANKEDMEMBER ## Vrátí n-tý nebo pořadový člen sady. Použijte ji pro vrácení jednoho nebo více prvků sady, například obchodníka s nejvyšším obratem nebo deseti nejlepších studentů. -CUBESET = CUBESET ## Definuje vypočtenou sadu členů nebo n-tic odesláním výrazu sady do krychle na serveru, který vytvoří sadu a potom ji vrátí do aplikace Microsoft Office Excel. -CUBESETCOUNT = CUBESETCOUNT ## Vrátí počet položek v množině -CUBEVALUE = CUBEVALUE ## Vrátí úhrnnou hodnotu z krychle. - - -## -## Database functions Funkce databáze -## -DAVERAGE = DPRŮMĚR ## Vrátí průměr vybraných položek databáze. -DCOUNT = DPOČET ## Spočítá buňky databáze obsahující čísla. -DCOUNTA = DPOČET2 ## Spočítá buňky databáze, které nejsou prázdné. -DGET = DZÍSKAT ## Extrahuje z databáze jeden záznam splňující zadaná kritéria. -DMAX = DMAX ## Vrátí maximální hodnotu z vybraných položek databáze. -DMIN = DMIN ## Vrátí minimální hodnotu z vybraných položek databáze. -DPRODUCT = DSOUČIN ## Vynásobí hodnoty určitého pole záznamů v databázi, které splňují daná kritéria. -DSTDEV = DSMODCH.VÝBĚR ## Odhadne směrodatnou odchylku výběru vybraných položek databáze. -DSTDEVP = DSMODCH ## Vypočte směrodatnou odchylku základního souboru vybraných položek databáze. -DSUM = DSUMA ## Sečte čísla ve sloupcovém poli záznamů databáze, která splňují daná kritéria. -DVAR = DVAR.VÝBĚR ## Odhadne rozptyl výběru vybraných položek databáze. -DVARP = DVAR ## Vypočte rozptyl základního souboru vybraných položek databáze. - - -## -## Date and time functions Funkce data a času -## -DATE = DATUM ## Vrátí pořadové číslo určitého data. -DATEVALUE = DATUMHODN ## Převede datum ve formě textu na pořadové číslo. -DAY = DEN ## Převede pořadové číslo na den v měsíci. -DAYS360 = ROK360 ## Vrátí počet dní mezi dvěma daty na základě roku s 360 dny. -EDATE = EDATE ## Vrátí pořadové číslo data, které označuje určený počet měsíců před nebo po počátečním datu. -EOMONTH = EOMONTH ## Vrátí pořadové číslo posledního dne měsíce před nebo po zadaném počtu měsíců. -HOUR = HODINA ## Převede pořadové číslo na hodinu. -MINUTE = MINUTA ## Převede pořadové číslo na minutu. -MONTH = MĚSÍC ## Převede pořadové číslo na měsíc. -NETWORKDAYS = NETWORKDAYS ## Vrátí počet celých pracovních dní mezi dvěma daty. -NOW = NYNÍ ## Vrátí pořadové číslo aktuálního data a času. -SECOND = SEKUNDA ## Převede pořadové číslo na sekundu. -TIME = ČAS ## Vrátí pořadové číslo určitého času. -TIMEVALUE = ČASHODN ## Převede čas ve formě textu na pořadové číslo. -TODAY = DNES ## Vrátí pořadové číslo dnešního data. -WEEKDAY = DENTÝDNE ## Převede pořadové číslo na den v týdnu. -WEEKNUM = WEEKNUM ## Převede pořadové číslo na číslo představující číselnou pozici týdne v roce. -WORKDAY = WORKDAY ## Vrátí pořadové číslo data před nebo po zadaném počtu pracovních dní. -YEAR = ROK ## Převede pořadové číslo na rok. -YEARFRAC = YEARFRAC ## Vrátí část roku vyjádřenou zlomkem a představující počet celých dní mezi počátečním a koncovým datem. - - -## -## Engineering functions Inženýrské funkce (Technické funkce) -## -BESSELI = BESSELI ## Vrátí modifikovanou Besselovu funkci In(x). -BESSELJ = BESSELJ ## Vrátí modifikovanou Besselovu funkci Jn(x). -BESSELK = BESSELK ## Vrátí modifikovanou Besselovu funkci Kn(x). -BESSELY = BESSELY ## Vrátí Besselovu funkci Yn(x). -BIN2DEC = BIN2DEC ## Převede binární číslo na desítkové. -BIN2HEX = BIN2HEX ## Převede binární číslo na šestnáctkové. -BIN2OCT = BIN2OCT ## Převede binární číslo na osmičkové. -COMPLEX = COMPLEX ## Převede reálnou a imaginární část na komplexní číslo. -CONVERT = CONVERT ## Převede číslo do jiného jednotkového měrného systému. -DEC2BIN = DEC2BIN ## Převede desítkového čísla na dvojkové -DEC2HEX = DEC2HEX ## Převede desítkové číslo na šestnáctkové. -DEC2OCT = DEC2OCT ## Převede desítkové číslo na osmičkové. -DELTA = DELTA ## Testuje rovnost dvou hodnot. -ERF = ERF ## Vrátí chybovou funkci. -ERFC = ERFC ## Vrátí doplňkovou chybovou funkci. -GESTEP = GESTEP ## Testuje, zda je číslo větší než mezní hodnota. -HEX2BIN = HEX2BIN ## Převede šestnáctkové číslo na binární. -HEX2DEC = HEX2DEC ## Převede šestnáctkové číslo na desítkové. -HEX2OCT = HEX2OCT ## Převede šestnáctkové číslo na osmičkové. -IMABS = IMABS ## Vrátí absolutní hodnotu (modul) komplexního čísla. -IMAGINARY = IMAGINARY ## Vrátí imaginární část komplexního čísla. -IMARGUMENT = IMARGUMENT ## Vrátí argument théta, úhel vyjádřený v radiánech. -IMCONJUGATE = IMCONJUGATE ## Vrátí komplexně sdružené číslo ke komplexnímu číslu. -IMCOS = IMCOS ## Vrátí kosinus komplexního čísla. -IMDIV = IMDIV ## Vrátí podíl dvou komplexních čísel. -IMEXP = IMEXP ## Vrátí exponenciální tvar komplexního čísla. -IMLN = IMLN ## Vrátí přirozený logaritmus komplexního čísla. -IMLOG10 = IMLOG10 ## Vrátí dekadický logaritmus komplexního čísla. -IMLOG2 = IMLOG2 ## Vrátí logaritmus komplexního čísla při základu 2. -IMPOWER = IMPOWER ## Vrátí komplexní číslo umocněné na celé číslo. -IMPRODUCT = IMPRODUCT ## Vrátí součin komplexních čísel. -IMREAL = IMREAL ## Vrátí reálnou část komplexního čísla. -IMSIN = IMSIN ## Vrátí sinus komplexního čísla. -IMSQRT = IMSQRT ## Vrátí druhou odmocninu komplexního čísla. -IMSUB = IMSUB ## Vrátí rozdíl mezi dvěma komplexními čísly. -IMSUM = IMSUM ## Vrátí součet dvou komplexních čísel. -OCT2BIN = OCT2BIN ## Převede osmičkové číslo na binární. -OCT2DEC = OCT2DEC ## Převede osmičkové číslo na desítkové. -OCT2HEX = OCT2HEX ## Převede osmičkové číslo na šestnáctkové. - - -## -## Financial functions Finanční funkce -## -ACCRINT = ACCRINT ## Vrátí nahromaděný úrok z cenného papíru, ze kterého je úrok placen v pravidelných termínech. -ACCRINTM = ACCRINTM ## Vrátí nahromaděný úrok z cenného papíru, ze kterého je úrok placen k datu splatnosti. -AMORDEGRC = AMORDEGRC ## Vrátí lineární amortizaci v každém účetním období pomocí koeficientu amortizace. -AMORLINC = AMORLINC ## Vrátí lineární amortizaci v každém účetním období. -COUPDAYBS = COUPDAYBS ## Vrátí počet dnů od začátku období placení kupónů do data splatnosti. -COUPDAYS = COUPDAYS ## Vrátí počet dnů v období placení kupónů, které obsahuje den zúčtování. -COUPDAYSNC = COUPDAYSNC ## Vrátí počet dnů od data zúčtování do následujícího data placení kupónu. -COUPNCD = COUPNCD ## Vrátí následující datum placení kupónu po datu zúčtování. -COUPNUM = COUPNUM ## Vrátí počet kupónů splatných mezi datem zúčtování a datem splatnosti. -COUPPCD = COUPPCD ## Vrátí předchozí datum placení kupónu před datem zúčtování. -CUMIPMT = CUMIPMT ## Vrátí kumulativní úrok splacený mezi dvěma obdobími. -CUMPRINC = CUMPRINC ## Vrátí kumulativní jistinu splacenou mezi dvěma obdobími půjčky. -DB = ODPIS.ZRYCH ## Vrátí odpis aktiva za určité období pomocí degresivní metody odpisu s pevným zůstatkem. -DDB = ODPIS.ZRYCH2 ## Vrátí odpis aktiva za určité období pomocí dvojité degresivní metody odpisu nebo jiné metody, kterou zadáte. -DISC = DISC ## Vrátí diskontní sazbu cenného papíru. -DOLLARDE = DOLLARDE ## Převede částku v korunách vyjádřenou zlomkem na částku v korunách vyjádřenou desetinným číslem. -DOLLARFR = DOLLARFR ## Převede částku v korunách vyjádřenou desetinným číslem na částku v korunách vyjádřenou zlomkem. -DURATION = DURATION ## Vrátí roční dobu cenného papíru s pravidelnými úrokovými sazbami. -EFFECT = EFFECT ## Vrátí efektivní roční úrokovou sazbu. -FV = BUDHODNOTA ## Vrátí budoucí hodnotu investice. -FVSCHEDULE = FVSCHEDULE ## Vrátí budoucí hodnotu počáteční jistiny po použití série sazeb složitého úroku. -INTRATE = INTRATE ## Vrátí úrokovou sazbu plně investovaného cenného papíru. -IPMT = PLATBA.ÚROK ## Vrátí výšku úroku investice za dané období. -IRR = MÍRA.VÝNOSNOSTI ## Vrátí vnitřní výnosové procento série peněžních toků. -ISPMT = ISPMT ## Vypočte výši úroku z investice zaplaceného během určitého období. -MDURATION = MDURATION ## Vrátí Macauleyho modifikovanou dobu cenného papíru o nominální hodnotě 100 Kč. -MIRR = MOD.MÍRA.VÝNOSNOSTI ## Vrátí vnitřní sazbu výnosu, přičemž kladné a záporné hodnoty peněžních prostředků jsou financovány podle různých sazeb. -NOMINAL = NOMINAL ## Vrátí nominální roční úrokovou sazbu. -NPER = POČET.OBDOBÍ ## Vrátí počet období pro investici. -NPV = ČISTÁ.SOUČHODNOTA ## Vrátí čistou současnou hodnotu investice vypočítanou na základě série pravidelných peněžních toků a diskontní sazby. -ODDFPRICE = ODDFPRICE ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč s odlišným prvním obdobím. -ODDFYIELD = ODDFYIELD ## Vrátí výnos cenného papíru s odlišným prvním obdobím. -ODDLPRICE = ODDLPRICE ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč s odlišným posledním obdobím. -ODDLYIELD = ODDLYIELD ## Vrátí výnos cenného papíru s odlišným posledním obdobím. -PMT = PLATBA ## Vrátí hodnotu pravidelné splátky anuity. -PPMT = PLATBA.ZÁKLAD ## Vrátí hodnotu splátky jistiny pro zadanou investici za dané období. -PRICE = PRICE ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč, ze kterého je úrok placen v pravidelných termínech. -PRICEDISC = PRICEDISC ## Vrátí cenu diskontního cenného papíru o nominální hodnotě 100 Kč. -PRICEMAT = PRICEMAT ## Vrátí cenu cenného papíru o nominální hodnotě 100 Kč, ze kterého je úrok placen k datu splatnosti. -PV = SOUČHODNOTA ## Vrátí současnou hodnotu investice. -RATE = ÚROKOVÁ.MÍRA ## Vrátí úrokovou sazbu vztaženou na období anuity. -RECEIVED = RECEIVED ## Vrátí částku obdrženou k datu splatnosti plně investovaného cenného papíru. -SLN = ODPIS.LIN ## Vrátí přímé odpisy aktiva pro jedno období. -SYD = ODPIS.NELIN ## Vrátí směrné číslo ročních odpisů aktiva pro zadané období. -TBILLEQ = TBILLEQ ## Vrátí výnos směnky státní pokladny ekvivalentní výnosu obligace. -TBILLPRICE = TBILLPRICE ## Vrátí cenu směnky státní pokladny o nominální hodnotě 100 Kč. -TBILLYIELD = TBILLYIELD ## Vrátí výnos směnky státní pokladny. -VDB = ODPIS.ZA.INT ## Vrátí odpis aktiva pro určité období nebo část období pomocí degresivní metody odpisu. -XIRR = XIRR ## Vrátí vnitřní výnosnost pro harmonogram peněžních toků, který nemusí být nutně periodický. -XNPV = XNPV ## Vrátí čistou současnou hodnotu pro harmonogram peněžních toků, který nemusí být nutně periodický. -YIELD = YIELD ## Vrátí výnos cenného papíru, ze kterého je úrok placen v pravidelných termínech. -YIELDDISC = YIELDDISC ## Vrátí roční výnos diskontního cenného papíru, například směnky státní pokladny. -YIELDMAT = YIELDMAT ## Vrátí roční výnos cenného papíru, ze kterého je úrok placen k datu splatnosti. - - -## -## Information functions Informační funkce -## -CELL = POLÍČKO ## Vrátí informace o formátování, umístění nebo obsahu buňky. -ERROR.TYPE = CHYBA.TYP ## Vrátí číslo odpovídající typu chyby. -INFO = O.PROSTŘEDÍ ## Vrátí informace o aktuálním pracovním prostředí. -ISBLANK = JE.PRÁZDNÉ ## Vrátí hodnotu PRAVDA, pokud se argument hodnota odkazuje na prázdnou buňku. -ISERR = JE.CHYBA ## Vrátí hodnotu PRAVDA, pokud je argument hodnota libovolná chybová hodnota (kromě #N/A). -ISERROR = JE.CHYBHODN ## Vrátí hodnotu PRAVDA, pokud je argument hodnota libovolná chybová hodnota. -ISEVEN = ISEVEN ## Vrátí hodnotu PRAVDA, pokud je číslo sudé. -ISLOGICAL = JE.LOGHODN ## Vrátí hodnotu PRAVDA, pokud je argument hodnota logická hodnota. -ISNA = JE.NEDEF ## Vrátí hodnotu PRAVDA, pokud je argument hodnota chybová hodnota #N/A. -ISNONTEXT = JE.NETEXT ## Vrátí hodnotu PRAVDA, pokud argument hodnota není text. -ISNUMBER = JE.ČÍSLO ## Vrátí hodnotu PRAVDA, pokud je argument hodnota číslo. -ISODD = ISODD ## Vrátí hodnotu PRAVDA, pokud je číslo liché. -ISREF = JE.ODKAZ ## Vrátí hodnotu PRAVDA, pokud je argument hodnota odkaz. -ISTEXT = JE.TEXT ## Vrátí hodnotu PRAVDA, pokud je argument hodnota text. -N = N ## Vrátí hodnotu převedenou na číslo. -NA = NEDEF ## Vrátí chybovou hodnotu #N/A. -TYPE = TYP ## Vrátí číslo označující datový typ hodnoty. - - -## -## Logical functions Logické funkce -## -AND = A ## Vrátí hodnotu PRAVDA, mají-li všechny argumenty hodnotu PRAVDA. -FALSE = NEPRAVDA ## Vrátí logickou hodnotu NEPRAVDA. -IF = KDYŽ ## Určí, který logický test má proběhnout. -IFERROR = IFERROR ## Pokud je vzorec vyhodnocen jako chyba, vrátí zadanou hodnotu. V opačném případě vrátí výsledek vzorce. -NOT = NE ## Provede logickou negaci argumentu funkce. -OR = NEBO ## Vrátí hodnotu PRAVDA, je-li alespoň jeden argument roven hodnotě PRAVDA. -TRUE = PRAVDA ## Vrátí logickou hodnotu PRAVDA. - - -## -## Lookup and reference functions Vyhledávací funkce -## -ADDRESS = ODKAZ ## Vrátí textový odkaz na jednu buňku listu. -AREAS = POČET.BLOKŮ ## Vrátí počet oblastí v odkazu. -CHOOSE = ZVOLIT ## Zvolí hodnotu ze seznamu hodnot. -COLUMN = SLOUPEC ## Vrátí číslo sloupce odkazu. -COLUMNS = SLOUPCE ## Vrátí počet sloupců v odkazu. -HLOOKUP = VVYHLEDAT ## Prohledá horní řádek matice a vrátí hodnotu určené buňky. -HYPERLINK = HYPERTEXTOVÝ.ODKAZ ## Vytvoří zástupce nebo odkaz, který otevře dokument uložený na síťovém serveru, v síti intranet nebo Internet. -INDEX = INDEX ## Pomocí rejstříku zvolí hodnotu z odkazu nebo matice. -INDIRECT = NEPŘÍMÝ.ODKAZ ## Vrátí odkaz určený textovou hodnotou. -LOOKUP = VYHLEDAT ## Vyhledá hodnoty ve vektoru nebo matici. -MATCH = POZVYHLEDAT ## Vyhledá hodnoty v odkazu nebo matici. -OFFSET = POSUN ## Vrátí posun odkazu od zadaného odkazu. -ROW = ŘÁDEK ## Vrátí číslo řádku odkazu. -ROWS = ŘÁDKY ## Vrátí počet řádků v odkazu. -RTD = RTD ## Načte data reálného času z programu, který podporuje automatizaci modelu COM (Automatizace: Způsob práce s objekty určité aplikace z jiné aplikace nebo nástroje pro vývoj. Automatizace (dříve nazývaná automatizace OLE) je počítačovým standardem a je funkcí modelu COM (Component Object Model).). -TRANSPOSE = TRANSPOZICE ## Vrátí transponovanou matici. -VLOOKUP = SVYHLEDAT ## Prohledá první sloupec matice, přesune kurzor v řádku a vrátí hodnotu buňky. - - -## -## Math and trigonometry functions Matematické a trigonometrické funkce -## -ABS = ABS ## Vrátí absolutní hodnotu čísla. -ACOS = ARCCOS ## Vrátí arkuskosinus čísla. -ACOSH = ARCCOSH ## Vrátí hyperbolický arkuskosinus čísla. -ASIN = ARCSIN ## Vrátí arkussinus čísla. -ASINH = ARCSINH ## Vrátí hyperbolický arkussinus čísla. -ATAN = ARCTG ## Vrátí arkustangens čísla. -ATAN2 = ARCTG2 ## Vrátí arkustangens x-ové a y-ové souřadnice. -ATANH = ARCTGH ## Vrátí hyperbolický arkustangens čísla. -CEILING = ZAOKR.NAHORU ## Zaokrouhlí číslo na nejbližší celé číslo nebo na nejbližší násobek zadané hodnoty. -COMBIN = KOMBINACE ## Vrátí počet kombinací pro daný počet položek. -COS = COS ## Vrátí kosinus čísla. -COSH = COSH ## Vrátí hyperbolický kosinus čísla. -DEGREES = DEGREES ## Převede radiány na stupně. -EVEN = ZAOKROUHLIT.NA.SUDÉ ## Zaokrouhlí číslo nahoru na nejbližší celé sudé číslo. -EXP = EXP ## Vrátí základ přirozeného logaritmu e umocněný na zadané číslo. -FACT = FAKTORIÁL ## Vrátí faktoriál čísla. -FACTDOUBLE = FACTDOUBLE ## Vrátí dvojitý faktoriál čísla. -FLOOR = ZAOKR.DOLŮ ## Zaokrouhlí číslo dolů, směrem k nule. -GCD = GCD ## Vrátí největší společný dělitel. -INT = CELÁ.ČÁST ## Zaokrouhlí číslo dolů na nejbližší celé číslo. -LCM = LCM ## Vrátí nejmenší společný násobek. -LN = LN ## Vrátí přirozený logaritmus čísla. -LOG = LOGZ ## Vrátí logaritmus čísla při zadaném základu. -LOG10 = LOG ## Vrátí dekadický logaritmus čísla. -MDETERM = DETERMINANT ## Vrátí determinant matice. -MINVERSE = INVERZE ## Vrátí inverzní matici. -MMULT = SOUČIN.MATIC ## Vrátí součin dvou matic. -MOD = MOD ## Vrátí zbytek po dělení. -MROUND = MROUND ## Vrátí číslo zaokrouhlené na požadovaný násobek. -MULTINOMIAL = MULTINOMIAL ## Vrátí mnohočlen z množiny čísel. -ODD = ZAOKROUHLIT.NA.LICHÉ ## Zaokrouhlí číslo nahoru na nejbližší celé liché číslo. -PI = PI ## Vrátí hodnotu čísla pí. -POWER = POWER ## Umocní číslo na zadanou mocninu. -PRODUCT = SOUČIN ## Vynásobí argumenty funkce. -QUOTIENT = QUOTIENT ## Vrátí celou část dělení. -RADIANS = RADIANS ## Převede stupně na radiány. -RAND = NÁHČÍSLO ## Vrátí náhodné číslo mezi 0 a 1. -RANDBETWEEN = RANDBETWEEN ## Vrátí náhodné číslo mezi zadanými čísly. -ROMAN = ROMAN ## Převede arabskou číslici na římskou ve formátu textu. -ROUND = ZAOKROUHLIT ## Zaokrouhlí číslo na zadaný počet číslic. -ROUNDDOWN = ROUNDDOWN ## Zaokrouhlí číslo dolů, směrem k nule. -ROUNDUP = ROUNDUP ## Zaokrouhlí číslo nahoru, směrem od nuly. -SERIESSUM = SERIESSUM ## Vrátí součet mocninné řady určené podle vzorce. -SIGN = SIGN ## Vrátí znaménko čísla. -SIN = SIN ## Vrátí sinus daného úhlu. -SINH = SINH ## Vrátí hyperbolický sinus čísla. -SQRT = ODMOCNINA ## Vrátí kladnou druhou odmocninu. -SQRTPI = SQRTPI ## Vrátí druhou odmocninu výrazu (číslo * pí). -SUBTOTAL = SUBTOTAL ## Vrátí souhrn v seznamu nebo databázi. -SUM = SUMA ## Sečte argumenty funkce. -SUMIF = SUMIF ## Sečte buňky vybrané podle zadaných kritérií. -SUMIFS = SUMIFS ## Sečte buňky určené více zadanými podmínkami. -SUMPRODUCT = SOUČIN.SKALÁRNÍ ## Vrátí součet součinů odpovídajících prvků matic. -SUMSQ = SUMA.ČTVERCŮ ## Vrátí součet čtverců argumentů. -SUMX2MY2 = SUMX2MY2 ## Vrátí součet rozdílu čtverců odpovídajících hodnot ve dvou maticích. -SUMX2PY2 = SUMX2PY2 ## Vrátí součet součtu čtverců odpovídajících hodnot ve dvou maticích. -SUMXMY2 = SUMXMY2 ## Vrátí součet čtverců rozdílů odpovídajících hodnot ve dvou maticích. -TAN = TGTG ## Vrátí tangens čísla. -TANH = TGH ## Vrátí hyperbolický tangens čísla. -TRUNC = USEKNOUT ## Zkrátí číslo na celé číslo. - - -## -## Statistical functions Statistické funkce -## -AVEDEV = PRŮMODCHYLKA ## Vrátí průměrnou hodnotu absolutních odchylek datových bodů od jejich střední hodnoty. -AVERAGE = PRŮMĚR ## Vrátí průměrnou hodnotu argumentů. -AVERAGEA = AVERAGEA ## Vrátí průměrnou hodnotu argumentů včetně čísel, textu a logických hodnot. -AVERAGEIF = AVERAGEIF ## Vrátí průměrnou hodnotu (aritmetický průměr) všech buněk v oblasti, které vyhovují příslušné podmínce. -AVERAGEIFS = AVERAGEIFS ## Vrátí průměrnou hodnotu (aritmetický průměr) všech buněk vyhovujících několika podmínkám. -BETADIST = BETADIST ## Vrátí hodnotu součtového rozdělení beta. -BETAINV = BETAINV ## Vrátí inverzní hodnotu součtového rozdělení pro zadané rozdělení beta. -BINOMDIST = BINOMDIST ## Vrátí hodnotu binomického rozdělení pravděpodobnosti jednotlivých veličin. -CHIDIST = CHIDIST ## Vrátí jednostrannou pravděpodobnost rozdělení chí-kvadrát. -CHIINV = CHIINV ## Vrátí hodnotu funkce inverzní k distribuční funkci jednostranné pravděpodobnosti rozdělení chí-kvadrát. -CHITEST = CHITEST ## Vrátí test nezávislosti. -CONFIDENCE = CONFIDENCE ## Vrátí interval spolehlivosti pro střední hodnotu základního souboru. -CORREL = CORREL ## Vrátí korelační koeficient mezi dvěma množinami dat. -COUNT = POČET ## Vrátí počet čísel v seznamu argumentů. -COUNTA = POČET2 ## Vrátí počet hodnot v seznamu argumentů. -COUNTBLANK = COUNTBLANK ## Spočítá počet prázdných buněk v oblasti. -COUNTIF = COUNTIF ## Spočítá buňky v oblasti, které odpovídají zadaným kritériím. -COUNTIFS = COUNTIFS ## Spočítá buňky v oblasti, které odpovídají více kritériím. -COVAR = COVAR ## Vrátí hodnotu kovariance, průměrnou hodnotu součinů párových odchylek -CRITBINOM = CRITBINOM ## Vrátí nejmenší hodnotu, pro kterou má součtové binomické rozdělení hodnotu větší nebo rovnu hodnotě kritéria. -DEVSQ = DEVSQ ## Vrátí součet čtverců odchylek. -EXPONDIST = EXPONDIST ## Vrátí hodnotu exponenciálního rozdělení. -FDIST = FDIST ## Vrátí hodnotu rozdělení pravděpodobnosti F. -FINV = FINV ## Vrátí hodnotu inverzní funkce k distribuční funkci rozdělení F. -FISHER = FISHER ## Vrátí hodnotu Fisherovy transformace. -FISHERINV = FISHERINV ## Vrátí hodnotu inverzní funkce k Fisherově transformaci. -FORECAST = FORECAST ## Vrátí hodnotu lineárního trendu. -FREQUENCY = ČETNOSTI ## Vrátí četnost rozdělení jako svislou matici. -FTEST = FTEST ## Vrátí výsledek F-testu. -GAMMADIST = GAMMADIST ## Vrátí hodnotu rozdělení gama. -GAMMAINV = GAMMAINV ## Vrátí hodnotu inverzní funkce k distribuční funkci součtového rozdělení gama. -GAMMALN = GAMMALN ## Vrátí přirozený logaritmus funkce gama, Γ(x). -GEOMEAN = GEOMEAN ## Vrátí geometrický průměr. -GROWTH = LOGLINTREND ## Vrátí hodnoty exponenciálního trendu. -HARMEAN = HARMEAN ## Vrátí harmonický průměr. -HYPGEOMDIST = HYPGEOMDIST ## Vrátí hodnotu hypergeometrického rozdělení. -INTERCEPT = INTERCEPT ## Vrátí úsek lineární regresní čáry. -KURT = KURT ## Vrátí hodnotu excesu množiny dat. -LARGE = LARGE ## Vrátí k-tou největší hodnotu množiny dat. -LINEST = LINREGRESE ## Vrátí parametry lineárního trendu. -LOGEST = LOGLINREGRESE ## Vrátí parametry exponenciálního trendu. -LOGINV = LOGINV ## Vrátí inverzní funkci k distribuční funkci logaritmicko-normálního rozdělení. -LOGNORMDIST = LOGNORMDIST ## Vrátí hodnotu součtového logaritmicko-normálního rozdělení. -MAX = MAX ## Vrátí maximální hodnotu seznamu argumentů. -MAXA = MAXA ## Vrátí maximální hodnotu seznamu argumentů včetně čísel, textu a logických hodnot. -MEDIAN = MEDIAN ## Vrátí střední hodnotu zadaných čísel. -MIN = MIN ## Vrátí minimální hodnotu seznamu argumentů. -MINA = MINA ## Vrátí nejmenší hodnotu v seznamu argumentů včetně čísel, textu a logických hodnot. -MODE = MODE ## Vrátí hodnotu, která se v množině dat vyskytuje nejčastěji. -NEGBINOMDIST = NEGBINOMDIST ## Vrátí hodnotu negativního binomického rozdělení. -NORMDIST = NORMDIST ## Vrátí hodnotu normálního součtového rozdělení. -NORMINV = NORMINV ## Vrátí inverzní funkci k funkci normálního součtového rozdělení. -NORMSDIST = NORMSDIST ## Vrátí hodnotu standardního normálního součtového rozdělení. -NORMSINV = NORMSINV ## Vrátí inverzní funkci k funkci standardního normálního součtového rozdělení. -PEARSON = PEARSON ## Vrátí Pearsonův výsledný momentový korelační koeficient. -PERCENTILE = PERCENTIL ## Vrátí hodnotu k-tého percentilu hodnot v oblasti. -PERCENTRANK = PERCENTRANK ## Vrátí pořadí hodnoty v množině dat vyjádřené procentuální částí množiny dat. -PERMUT = PERMUTACE ## Vrátí počet permutací pro zadaný počet objektů. -POISSON = POISSON ## Vrátí hodnotu distribuční funkce Poissonova rozdělení. -PROB = PROB ## Vrátí pravděpodobnost výskytu hodnot v oblasti mezi dvěma mezními hodnotami. -QUARTILE = QUARTIL ## Vrátí hodnotu kvartilu množiny dat. -RANK = RANK ## Vrátí pořadí čísla v seznamu čísel. -RSQ = RKQ ## Vrátí druhou mocninu Pearsonova výsledného momentového korelačního koeficientu. -SKEW = SKEW ## Vrátí zešikmení rozdělení. -SLOPE = SLOPE ## Vrátí směrnici lineární regresní čáry. -SMALL = SMALL ## Vrátí k-tou nejmenší hodnotu množiny dat. -STANDARDIZE = STANDARDIZE ## Vrátí normalizovanou hodnotu. -STDEV = SMODCH.VÝBĚR ## Vypočte směrodatnou odchylku výběru. -STDEVA = STDEVA ## Vypočte směrodatnou odchylku výběru včetně čísel, textu a logických hodnot. -STDEVP = SMODCH ## Vypočte směrodatnou odchylku základního souboru. -STDEVPA = STDEVPA ## Vypočte směrodatnou odchylku základního souboru včetně čísel, textu a logických hodnot. -STEYX = STEYX ## Vrátí standardní chybu předpovězené hodnoty y pro každou hodnotu x v regresi. -TDIST = TDIST ## Vrátí hodnotu Studentova t-rozdělení. -TINV = TINV ## Vrátí inverzní funkci k distribuční funkci Studentova t-rozdělení. -TREND = LINTREND ## Vrátí hodnoty lineárního trendu. -TRIMMEAN = TRIMMEAN ## Vrátí střední hodnotu vnitřní části množiny dat. -TTEST = TTEST ## Vrátí pravděpodobnost spojenou se Studentovým t-testem. -VAR = VAR.VÝBĚR ## Vypočte rozptyl výběru. -VARA = VARA ## Vypočte rozptyl výběru včetně čísel, textu a logických hodnot. -VARP = VAR ## Vypočte rozptyl základního souboru. -VARPA = VARPA ## Vypočte rozptyl základního souboru včetně čísel, textu a logických hodnot. -WEIBULL = WEIBULL ## Vrátí hodnotu Weibullova rozdělení. -ZTEST = ZTEST ## Vrátí jednostrannou P-hodnotu z-testu. - - -## -## Text functions Textové funkce -## -ASC = ASC ## Změní znaky s plnou šířkou (dvoubajtové)v řetězci znaků na znaky s poloviční šířkou (jednobajtové). -BAHTTEXT = BAHTTEXT ## Převede číslo na text ve formátu, měny ß (baht). -CHAR = ZNAK ## Vrátí znak určený číslem kódu. -CLEAN = VYČISTIT ## Odebere z textu všechny netisknutelné znaky. -CODE = KÓD ## Vrátí číselný kód prvního znaku zadaného textového řetězce. -CONCATENATE = CONCATENATE ## Spojí několik textových položek do jedné. -DOLLAR = KČ ## Převede číslo na text ve formátu měny Kč (česká koruna). -EXACT = STEJNÉ ## Zkontroluje, zda jsou dvě textové hodnoty shodné. -FIND = NAJÍT ## Nalezne textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena). -FINDB = FINDB ## Nalezne textovou hodnotu uvnitř jiné (rozlišuje malá a velká písmena). -FIXED = ZAOKROUHLIT.NA.TEXT ## Zformátuje číslo jako text s pevným počtem desetinných míst. -JIS = JIS ## Změní znaky s poloviční šířkou (jednobajtové) v řetězci znaků na znaky s plnou šířkou (dvoubajtové). -LEFT = ZLEVA ## Vrátí první znaky textové hodnoty umístěné nejvíce vlevo. -LEFTB = LEFTB ## Vrátí první znaky textové hodnoty umístěné nejvíce vlevo. -LEN = DÉLKA ## Vrátí počet znaků textového řetězce. -LENB = LENB ## Vrátí počet znaků textového řetězce. -LOWER = MALÁ ## Převede text na malá písmena. -MID = ČÁST ## Vrátí určitý počet znaků textového řetězce počínaje zadaným místem. -MIDB = MIDB ## Vrátí určitý počet znaků textového řetězce počínaje zadaným místem. -PHONETIC = ZVUKOVÉ ## Extrahuje fonetické znaky (furigana) z textového řetězce. -PROPER = VELKÁ2 ## Převede první písmeno každého slova textové hodnoty na velké. -REPLACE = NAHRADIT ## Nahradí znaky uvnitř textu. -REPLACEB = NAHRADITB ## Nahradí znaky uvnitř textu. -REPT = OPAKOVAT ## Zopakuje text podle zadaného počtu opakování. -RIGHT = ZPRAVA ## Vrátí první znaky textové hodnoty umístěné nejvíce vpravo. -RIGHTB = RIGHTB ## Vrátí první znaky textové hodnoty umístěné nejvíce vpravo. -SEARCH = HLEDAT ## Nalezne textovou hodnotu uvnitř jiné (malá a velká písmena nejsou rozlišována). -SEARCHB = SEARCHB ## Nalezne textovou hodnotu uvnitř jiné (malá a velká písmena nejsou rozlišována). -SUBSTITUTE = DOSADIT ## V textovém řetězci nahradí starý text novým. -T = T ## Převede argumenty na text. -TEXT = HODNOTA.NA.TEXT ## Zformátuje číslo a převede ho na text. -TRIM = PROČISTIT ## Odstraní z textu mezery. -UPPER = VELKÁ ## Převede text na velká písmena. -VALUE = HODNOTA ## Převede textový argument na číslo. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/cs/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/config deleted file mode 100644 index ae5900311..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/config +++ /dev/null @@ -1,48 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = kr - - - -## -## Excel Error Codes (For future use) -## -NULL = #NUL! -DIV0 = #DIVISION/0! -VALUE = #VÆRDI! -REF = #REFERENCE! -NAME = #NAVN? -NUM = #NUM! -NA = #I/T diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/functions deleted file mode 100644 index 26e0310c1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Tilføjelsesprogram- og automatiseringsfunktioner -## -GETPIVOTDATA = HENTPIVOTDATA ## Returnerer data, der er lagret i en pivottabelrapport - - -## -## Cube functions Kubefunktioner -## -CUBEKPIMEMBER = KUBE.KPI.MEDLEM ## Returnerer navn, egenskab og mål for en KPI-indikator og viser navnet og egenskaben i cellen. En KPI-indikator er en målbar størrelse, f.eks. bruttooverskud pr. måned eller personaleudskiftning pr. kvartal, der bruges til at overvåge en organisations præstationer. -CUBEMEMBER = KUBE.MEDLEM ## Returnerer et medlem eller en tupel fra kubehierarkiet. Bruges til at validere, om et medlem eller en tupel findes i kuben. -CUBEMEMBERPROPERTY = KUBEMEDLEM.EGENSKAB ## Returnerer værdien af en egenskab for et medlem i kuben. Bruges til at validere, om et medlemsnavn findes i kuben, og returnere den angivne egenskab for medlemmet. -CUBERANKEDMEMBER = KUBEMEDLEM.RANG ## Returnerer det n'te eller rangordnede medlem i et sæt. Bruges til at returnere et eller flere elementer i et sæt, f.eks. topsælgere eller de 10 bedste elever. -CUBESET = KUBESÆT ## Definerer et beregnet sæt medlemmer eller tupler ved at sende et sætudtryk til kuben på serveren, som opretter sættet og returnerer det til Microsoft Office Excel. -CUBESETCOUNT = KUBESÆT.TÆL ## Returnerer antallet af elementer i et sæt. -CUBEVALUE = KUBEVÆRDI ## Returnerer en sammenlagt (aggregeret) værdi fra en kube. - - -## -## Database functions Databasefunktioner -## -DAVERAGE = DMIDDEL ## Returnerer gennemsnittet af markerede databaseposter -DCOUNT = DTÆL ## Tæller de celler, der indeholder tal, i en database -DCOUNTA = DTÆLV ## Tæller udfyldte celler i en database -DGET = DHENT ## Uddrager en enkelt post, der opfylder de angivne kriterier, fra en database -DMAX = DMAKS ## Returnerer den største værdi blandt markerede databaseposter -DMIN = DMIN ## Returnerer den mindste værdi blandt markerede databaseposter -DPRODUCT = DPRODUKT ## Ganger værdierne i et bestemt felt med poster, der opfylder kriterierne i en database -DSTDEV = DSTDAFV ## Beregner et skøn over standardafvigelsen baseret på en stikprøve af markerede databaseposter -DSTDEVP = DSTDAFVP ## Beregner standardafvigelsen baseret på hele populationen af markerede databaseposter -DSUM = DSUM ## Sammenlægger de tal i feltkolonnen i databasen, der opfylder kriterierne -DVAR = DVARIANS ## Beregner varians baseret på en stikprøve af markerede databaseposter -DVARP = DVARIANSP ## Beregner varians baseret på hele populationen af markerede databaseposter - - -## -## Date and time functions Dato- og klokkeslætsfunktioner -## -DATE = DATO ## Returnerer serienummeret for en bestemt dato -DATEVALUE = DATOVÆRDI ## Konverterer en dato i form af tekst til et serienummer -DAY = DAG ## Konverterer et serienummer til en dag i måneden -DAYS360 = DAGE360 ## Beregner antallet af dage mellem to datoer på grundlag af et år med 360 dage -EDATE = EDATO ## Returnerer serienummeret for den dato, der ligger det angivne antal måneder før eller efter startdatoen -EOMONTH = SLUT.PÅ.MÅNED ## Returnerer serienummeret på den sidste dag i måneden før eller efter et angivet antal måneder -HOUR = TIME ## Konverterer et serienummer til en time -MINUTE = MINUT ## Konverterer et serienummer til et minut -MONTH = MÅNED ## Konverterer et serienummer til en måned -NETWORKDAYS = ANTAL.ARBEJDSDAGE ## Returnerer antallet af hele arbejdsdage mellem to datoer -NOW = NU ## Returnerer serienummeret for den aktuelle dato eller det aktuelle klokkeslæt -SECOND = SEKUND ## Konverterer et serienummer til et sekund -TIME = KLOKKESLÆT ## Returnerer serienummeret for et bestemt klokkeslæt -TIMEVALUE = TIDSVÆRDI ## Konverterer et klokkeslæt i form af tekst til et serienummer -TODAY = IDAG ## Returnerer serienummeret for dags dato -WEEKDAY = UGEDAG ## Konverterer et serienummer til en ugedag -WEEKNUM = UGE.NR ## Konverterer et serienummer til et tal, der angiver ugenummeret i året -WORKDAY = ARBEJDSDAG ## Returnerer serienummeret for dagen før eller efter det angivne antal arbejdsdage -YEAR = ÅR ## Konverterer et serienummer til et år -YEARFRAC = ÅR.BRØK ## Returnerer årsbrøken, der repræsenterer antallet af hele dage mellem startdato og slutdato - - -## -## Engineering functions Tekniske funktioner -## -BESSELI = BESSELI ## Returnerer den modificerede Bessel-funktion In(x) -BESSELJ = BESSELJ ## Returnerer Bessel-funktionen Jn(x) -BESSELK = BESSELK ## Returnerer den modificerede Bessel-funktion Kn(x) -BESSELY = BESSELY ## Returnerer Bessel-funktionen Yn(x) -BIN2DEC = BIN.TIL.DEC ## Konverterer et binært tal til et decimaltal -BIN2HEX = BIN.TIL.HEX ## Konverterer et binært tal til et heksadecimalt tal -BIN2OCT = BIN.TIL.OKT ## Konverterer et binært tal til et oktaltal. -COMPLEX = KOMPLEKS ## Konverterer reelle og imaginære koefficienter til et komplekst tal -CONVERT = KONVERTER ## Konverterer et tal fra én måleenhed til en anden -DEC2BIN = DEC.TIL.BIN ## Konverterer et decimaltal til et binært tal -DEC2HEX = DEC.TIL.HEX ## Konverterer et decimaltal til et heksadecimalt tal -DEC2OCT = DEC.TIL.OKT ## Konverterer et decimaltal til et oktaltal -DELTA = DELTA ## Tester, om to værdier er ens -ERF = FEJLFUNK ## Returner fejlfunktionen -ERFC = FEJLFUNK.KOMP ## Returnerer den komplementære fejlfunktion -GESTEP = GETRIN ## Tester, om et tal er større end en grænseværdi -HEX2BIN = HEX.TIL.BIN ## Konverterer et heksadecimalt tal til et binært tal -HEX2DEC = HEX.TIL.DEC ## Konverterer et decimaltal til et heksadecimalt tal -HEX2OCT = HEX.TIL.OKT ## Konverterer et heksadecimalt tal til et oktaltal -IMABS = IMAGABS ## Returnerer den absolutte værdi (modulus) for et komplekst tal -IMAGINARY = IMAGINÆR ## Returnerer den imaginære koefficient for et komplekst tal -IMARGUMENT = IMAGARGUMENT ## Returnerer argumentet theta, en vinkel udtrykt i radianer -IMCONJUGATE = IMAGKONJUGERE ## Returnerer den komplekse konjugation af et komplekst tal -IMCOS = IMAGCOS ## Returnerer et komplekst tals cosinus -IMDIV = IMAGDIV ## Returnerer kvotienten for to komplekse tal -IMEXP = IMAGEKSP ## Returnerer et komplekst tals eksponentialfunktion -IMLN = IMAGLN ## Returnerer et komplekst tals naturlige logaritme -IMLOG10 = IMAGLOG10 ## Returnerer et komplekst tals sædvanlige logaritme (titalslogaritme) -IMLOG2 = IMAGLOG2 ## Returnerer et komplekst tals sædvanlige logaritme (totalslogaritme) -IMPOWER = IMAGPOTENS ## Returnerer et komplekst tal opløftet i en heltalspotens -IMPRODUCT = IMAGPRODUKT ## Returnerer produktet af komplekse tal -IMREAL = IMAGREELT ## Returnerer den reelle koefficient for et komplekst tal -IMSIN = IMAGSIN ## Returnerer et komplekst tals sinus -IMSQRT = IMAGKVROD ## Returnerer et komplekst tals kvadratrod -IMSUB = IMAGSUB ## Returnerer forskellen mellem to komplekse tal -IMSUM = IMAGSUM ## Returnerer summen af komplekse tal -OCT2BIN = OKT.TIL.BIN ## Konverterer et oktaltal til et binært tal -OCT2DEC = OKT.TIL.DEC ## Konverterer et oktaltal til et decimaltal -OCT2HEX = OKT.TIL.HEX ## Konverterer et oktaltal til et heksadecimalt tal - - -## -## Financial functions Finansielle funktioner -## -ACCRINT = PÅLØBRENTE ## Returnerer den påløbne rente for et værdipapir med periodiske renteudbetalinger -ACCRINTM = PÅLØBRENTE.UDLØB ## Returnerer den påløbne rente for et værdipapir, hvor renteudbetalingen finder sted ved papirets udløb -AMORDEGRC = AMORDEGRC ## Returnerer afskrivningsbeløbet for hver regnskabsperiode ved hjælp af en afskrivningskoefficient -AMORLINC = AMORLINC ## Returnerer afskrivningsbeløbet for hver regnskabsperiode -COUPDAYBS = KUPONDAGE.SA ## Returnerer antallet af dage fra starten af kuponperioden til afregningsdatoen -COUPDAYS = KUPONDAGE.A ## Returnerer antallet af dage fra begyndelsen af kuponperioden til afregningsdatoen -COUPDAYSNC = KUPONDAGE.ANK ## Returnerer antallet af dage i den kuponperiode, der indeholder afregningsdatoen -COUPNCD = KUPONDAG.NÆSTE ## Returnerer den næste kupondato efter afregningsdatoen -COUPNUM = KUPONBETALINGER ## Returnerer antallet af kuponudbetalinger mellem afregnings- og udløbsdatoen -COUPPCD = KUPONDAG.FORRIGE ## Returnerer den forrige kupondato før afregningsdatoen -CUMIPMT = AKKUM.RENTE ## Returnerer den akkumulerede rente, der betales på et lån mellem to perioder -CUMPRINC = AKKUM.HOVEDSTOL ## Returnerer den akkumulerede nedbringelse af hovedstol mellem to perioder -DB = DB ## Returnerer afskrivningen på et aktiv i en angivet periode ved anvendelse af saldometoden -DDB = DSA ## Returnerer afskrivningsbeløbet for et aktiv over en bestemt periode ved anvendelse af dobbeltsaldometoden eller en anden afskrivningsmetode, som du angiver -DISC = DISKONTO ## Returnerer et værdipapirs diskonto -DOLLARDE = KR.DECIMAL ## Konverterer en kronepris udtrykt som brøk til en kronepris udtrykt som decimaltal -DOLLARFR = KR.BRØK ## Konverterer en kronepris udtrykt som decimaltal til en kronepris udtrykt som brøk -DURATION = VARIGHED ## Returnerer den årlige løbetid for et værdipapir med periodiske renteudbetalinger -EFFECT = EFFEKTIV.RENTE ## Returnerer den årlige effektive rente -FV = FV ## Returnerer fremtidsværdien af en investering -FVSCHEDULE = FVTABEL ## Returnerer den fremtidige værdi af en hovedstol, når der er tilskrevet rente og rentes rente efter forskellige rentesatser -INTRATE = RENTEFOD ## Returnerer renten på et fuldt ud investeret værdipapir -IPMT = R.YDELSE ## Returnerer renten fra en investering for en given periode -IRR = IA ## Returnerer den interne rente for en række pengestrømme -ISPMT = ISPMT ## Beregner den betalte rente i løbet af en bestemt investeringsperiode -MDURATION = MVARIGHED ## Returnerer Macauleys modificerede løbetid for et værdipapir med en formodet pari på kr. 100 -MIRR = MIA ## Returnerer den interne forrentning, hvor positive og negative pengestrømme finansieres til forskellig rente -NOMINAL = NOMINEL ## Returnerer den årlige nominelle rente -NPER = NPER ## Returnerer antallet af perioder for en investering -NPV = NUTIDSVÆRDI ## Returnerer nettonutidsværdien for en investering baseret på en række periodiske pengestrømme og en diskonteringssats -ODDFPRICE = ULIGE.KURS.PÅLYDENDE ## Returnerer kursen pr. kr. 100 nominel værdi for et værdipapir med en ulige (kort eller lang) første periode -ODDFYIELD = ULIGE.FØRSTE.AFKAST ## Returnerer afkastet for et værdipapir med ulige første periode -ODDLPRICE = ULIGE.SIDSTE.KURS ## Returnerer kursen pr. kr. 100 nominel værdi for et værdipapir med ulige sidste periode -ODDLYIELD = ULIGE.SIDSTE.AFKAST ## Returnerer afkastet for et værdipapir med ulige sidste periode -PMT = YDELSE ## Returnerer renten fra en investering for en given periode -PPMT = H.YDELSE ## Returnerer ydelsen på hovedstolen for en investering i en given periode -PRICE = KURS ## Returnerer kursen pr. kr 100 nominel værdi for et værdipapir med periodiske renteudbetalinger -PRICEDISC = KURS.DISKONTO ## Returnerer kursen pr. kr 100 nominel værdi for et diskonteret værdipapir -PRICEMAT = KURS.UDLØB ## Returnerer kursen pr. kr 100 nominel værdi for et værdipapir, hvor renten udbetales ved papirets udløb -PV = NV ## Returnerer den nuværende værdi af en investering -RATE = RENTE ## Returnerer renten i hver periode for en annuitet -RECEIVED = MODTAGET.VED.UDLØB ## Returnerer det beløb, der modtages ved udløbet af et fuldt ud investeret værdipapir -SLN = LA ## Returnerer den lineære afskrivning for et aktiv i en enkelt periode -SYD = ÅRSAFSKRIVNING ## Returnerer den årlige afskrivning på et aktiv i en bestemt periode -TBILLEQ = STATSOBLIGATION ## Returnerer det obligationsækvivalente afkast for en statsobligation -TBILLPRICE = STATSOBLIGATION.KURS ## Returnerer kursen pr. kr 100 nominel værdi for en statsobligation -TBILLYIELD = STATSOBLIGATION.AFKAST ## Returnerer en afkastet på en statsobligation -VDB = VSA ## Returnerer afskrivningen på et aktiv i en angivet periode, herunder delperioder, ved brug af dobbeltsaldometoden -XIRR = INTERN.RENTE ## Returnerer den interne rente for en plan over pengestrømme, der ikke behøver at være periodiske -XNPV = NETTO.NUTIDSVÆRDI ## Returnerer nutidsværdien for en plan over pengestrømme, der ikke behøver at være periodiske -YIELD = AFKAST ## Returnerer afkastet for et værdipapir med periodiske renteudbetalinger -YIELDDISC = AFKAST.DISKONTO ## Returnerer det årlige afkast for et diskonteret værdipapir, f.eks. en statsobligation -YIELDMAT = AFKAST.UDLØBSDATO ## Returnerer det årlige afkast for et værdipapir, hvor renten udbetales ved papirets udløb - - -## -## Information functions Informationsfunktioner -## -CELL = CELLE ## Returnerer oplysninger om formatering, placering eller indhold af en celle -ERROR.TYPE = FEJLTYPE ## Returnerer et tal, der svarer til en fejltype -INFO = INFO ## Returnerer oplysninger om det aktuelle operativmiljø -ISBLANK = ER.TOM ## Returnerer SAND, hvis værdien er tom -ISERR = ER.FJL ## Returnerer SAND, hvis værdien er en fejlværdi undtagen #I/T -ISERROR = ER.FEJL ## Returnerer SAND, hvis værdien er en fejlværdi -ISEVEN = ER.LIGE ## Returnerer SAND, hvis tallet er lige -ISLOGICAL = ER.LOGISK ## Returnerer SAND, hvis værdien er en logisk værdi -ISNA = ER.IKKE.TILGÆNGELIG ## Returnerer SAND, hvis værdien er fejlværdien #I/T -ISNONTEXT = ER.IKKE.TEKST ## Returnerer SAND, hvis værdien ikke er tekst -ISNUMBER = ER.TAL ## Returnerer SAND, hvis værdien er et tal -ISODD = ER.ULIGE ## Returnerer SAND, hvis tallet er ulige -ISREF = ER.REFERENCE ## Returnerer SAND, hvis værdien er en reference -ISTEXT = ER.TEKST ## Returnerer SAND, hvis værdien er tekst -N = TAL ## Returnerer en værdi konverteret til et tal -NA = IKKE.TILGÆNGELIG ## Returnerer fejlværdien #I/T -TYPE = VÆRDITYPE ## Returnerer et tal, der angiver datatypen for en værdi - - -## -## Logical functions Logiske funktioner -## -AND = OG ## Returnerer SAND, hvis alle argumenterne er sande -FALSE = FALSK ## Returnerer den logiske værdi FALSK -IF = HVIS ## Angiver en logisk test, der skal udføres -IFERROR = HVIS.FEJL ## Returnerer en værdi, du angiver, hvis en formel evauleres som en fejl. Returnerer i modsat fald resultatet af formlen -NOT = IKKE ## Vender argumentets logik om -OR = ELLER ## Returneret værdien SAND, hvis mindst ét argument er sandt -TRUE = SAND ## Returnerer den logiske værdi SAND - - -## -## Lookup and reference functions Opslags- og referencefunktioner -## -ADDRESS = ADRESSE ## Returnerer en reference som tekst til en enkelt celle i et regneark -AREAS = OMRÅDER ## Returnerer antallet af områder i en reference -CHOOSE = VÆLG ## Vælger en værdi på en liste med værdier -COLUMN = KOLONNE ## Returnerer kolonnenummeret i en reference -COLUMNS = KOLONNER ## Returnerer antallet af kolonner i en reference -HLOOKUP = VOPSLAG ## Søger i den øverste række af en matrix og returnerer værdien af den angivne celle -HYPERLINK = HYPERLINK ## Opretter en genvej kaldet et hyperlink, der åbner et dokument, som er lagret på en netværksserver, på et intranet eller på internettet -INDEX = INDEKS ## Anvender et indeks til at vælge en værdi fra en reference eller en matrix -INDIRECT = INDIREKTE ## Returnerer en reference, der er angivet af en tekstværdi -LOOKUP = SLÅ.OP ## Søger værdier i en vektor eller en matrix -MATCH = SAMMENLIGN ## Søger værdier i en reference eller en matrix -OFFSET = FORSKYDNING ## Returnerer en reference forskudt i forhold til en given reference -ROW = RÆKKE ## Returnerer rækkenummeret for en reference -ROWS = RÆKKER ## Returnerer antallet af rækker i en reference -RTD = RTD ## Henter realtidsdata fra et program, der understøtter COM-automatisering (Automation: En metode til at arbejde med objekter fra et andet program eller udviklingsværktøj. Automation, som tidligere blev kaldt OLE Automation, er en industristandard og en funktion i COM (Component Object Model).) -TRANSPOSE = TRANSPONER ## Returnerer en transponeret matrix -VLOOKUP = LOPSLAG ## Søger i øverste række af en matrix og flytter på tværs af rækken for at returnere en celleværdi - - -## -## Math and trigonometry functions Matematiske og trigonometriske funktioner -## -ABS = ABS ## Returnerer den absolutte værdi af et tal -ACOS = ARCCOS ## Returnerer et tals arcus cosinus -ACOSH = ARCCOSH ## Returnerer den inverse hyperbolske cosinus af tal -ASIN = ARCSIN ## Returnerer et tals arcus sinus -ASINH = ARCSINH ## Returnerer den inverse hyperbolske sinus for tal -ATAN = ARCTAN ## Returnerer et tals arcus tangens -ATAN2 = ARCTAN2 ## Returnerer de angivne x- og y-koordinaters arcus tangens -ATANH = ARCTANH ## Returnerer et tals inverse hyperbolske tangens -CEILING = AFRUND.LOFT ## Afrunder et tal til nærmeste heltal eller til nærmeste multiplum af betydning -COMBIN = KOMBIN ## Returnerer antallet af kombinationer for et givet antal objekter -COS = COS ## Returnerer et tals cosinus -COSH = COSH ## Returnerer den inverse hyperbolske cosinus af et tal -DEGREES = GRADER ## Konverterer radianer til grader -EVEN = LIGE ## Runder et tal op til nærmeste lige heltal -EXP = EKSP ## Returnerer e opløftet til en potens af et angivet tal -FACT = FAKULTET ## Returnerer et tals fakultet -FACTDOUBLE = DOBBELT.FAKULTET ## Returnerer et tals dobbelte fakultet -FLOOR = AFRUND.GULV ## Runder et tal ned mod nul -GCD = STØRSTE.FÆLLES.DIVISOR ## Returnerer den største fælles divisor -INT = HELTAL ## Nedrunder et tal til det nærmeste heltal -LCM = MINDSTE.FÆLLES.MULTIPLUM ## Returnerer det mindste fælles multiplum -LN = LN ## Returnerer et tals naturlige logaritme -LOG = LOG ## Returnerer logaritmen for et tal på grundlag af et angivet grundtal -LOG10 = LOG10 ## Returnerer titalslogaritmen af et tal -MDETERM = MDETERM ## Returnerer determinanten for en matrix -MINVERSE = MINVERT ## Returnerer den inverse matrix for en matrix -MMULT = MPRODUKT ## Returnerer matrixproduktet af to matrixer -MOD = REST ## Returnerer restværdien fra division -MROUND = MAFRUND ## Returnerer et tal afrundet til det ønskede multiplum -MULTINOMIAL = MULTINOMIAL ## Returnerer et multinomialt talsæt -ODD = ULIGE ## Runder et tal op til nærmeste ulige heltal -PI = PI ## Returnerer værdien af pi -POWER = POTENS ## Returnerer resultatet af et tal opløftet til en potens -PRODUCT = PRODUKT ## Multiplicerer argumenterne -QUOTIENT = KVOTIENT ## Returnerer heltalsdelen ved division -RADIANS = RADIANER ## Konverterer grader til radianer -RAND = SLUMP ## Returnerer et tilfældigt tal mellem 0 og 1 -RANDBETWEEN = SLUMP.MELLEM ## Returnerer et tilfældigt tal mellem de tal, der angives -ROMAN = ROMERTAL ## Konverterer et arabertal til romertal som tekst -ROUND = AFRUND ## Afrunder et tal til et angivet antal decimaler -ROUNDDOWN = RUND.NED ## Runder et tal ned mod nul -ROUNDUP = RUND.OP ## Runder et tal op, væk fra 0 (nul) -SERIESSUM = SERIESUM ## Returnerer summen af en potensserie baseret på en formel -SIGN = FORTEGN ## Returnerer et tals fortegn -SIN = SIN ## Returnerer en given vinkels sinusværdi -SINH = SINH ## Returnerer den hyperbolske sinus af et tal -SQRT = KVROD ## Returnerer en positiv kvadratrod -SQRTPI = KVRODPI ## Returnerer kvadratroden af (tal * pi;) -SUBTOTAL = SUBTOTAL ## Returnerer en subtotal på en liste eller i en database -SUM = SUM ## Lægger argumenterne sammen -SUMIF = SUM.HVIS ## Lægger de celler sammen, der er specificeret af et givet kriterium. -SUMIFS = SUM.HVISER ## Lægger de celler i et område sammen, der opfylder flere kriterier. -SUMPRODUCT = SUMPRODUKT ## Returnerer summen af produkter af ens matrixkomponenter -SUMSQ = SUMKV ## Returnerer summen af argumenternes kvadrater -SUMX2MY2 = SUMX2MY2 ## Returnerer summen af differensen mellem kvadrater af ens værdier i to matrixer -SUMX2PY2 = SUMX2PY2 ## Returnerer summen af summen af kvadrater af tilsvarende værdier i to matrixer -SUMXMY2 = SUMXMY2 ## Returnerer summen af kvadrater af differenser mellem ens værdier i to matrixer -TAN = TAN ## Returnerer et tals tangens -TANH = TANH ## Returnerer et tals hyperbolske tangens -TRUNC = AFKORT ## Afkorter et tal til et heltal - - -## -## Statistical functions Statistiske funktioner -## -AVEDEV = MAD ## Returnerer den gennemsnitlige numeriske afvigelse fra stikprøvens middelværdi -AVERAGE = MIDDEL ## Returnerer middelværdien af argumenterne -AVERAGEA = MIDDELV ## Returnerer middelværdien af argumenterne og medtager tal, tekst og logiske værdier -AVERAGEIF = MIDDEL.HVIS ## Returnerer gennemsnittet (den aritmetiske middelværdi) af alle de celler, der opfylder et givet kriterium, i et område -AVERAGEIFS = MIDDEL.HVISER ## Returnerer gennemsnittet (den aritmetiske middelværdi) af alle de celler, der opfylder flere kriterier. -BETADIST = BETAFORDELING ## Returnerer den kumulative betafordelingsfunktion -BETAINV = BETAINV ## Returnerer den inverse kumulative fordelingsfunktion for en angivet betafordeling -BINOMDIST = BINOMIALFORDELING ## Returnerer punktsandsynligheden for binomialfordelingen -CHIDIST = CHIFORDELING ## Returnerer fraktilsandsynligheden for en chi2-fordeling -CHIINV = CHIINV ## Returnerer den inverse fraktilsandsynlighed for en chi2-fordeling -CHITEST = CHITEST ## Foretager en test for uafhængighed -CONFIDENCE = KONFIDENSINTERVAL ## Returnerer et konfidensinterval for en population -CORREL = KORRELATION ## Returnerer korrelationskoefficienten mellem to datasæt -COUNT = TÆL ## Tæller antallet af tal på en liste med argumenter -COUNTA = TÆLV ## Tæller antallet af værdier på en liste med argumenter -COUNTBLANK = ANTAL.BLANKE ## Tæller antallet af tomme celler i et område -COUNTIF = TÆLHVIS ## Tæller antallet af celler, som opfylder de givne kriterier, i et område -COUNTIFS = TÆL.HVISER ## Tæller antallet af de celler, som opfylder flere kriterier, i et område -COVAR = KOVARIANS ## Beregner kovariansen mellem to stokastiske variabler -CRITBINOM = KRITBINOM ## Returnerer den mindste værdi for x, for hvilken det gælder, at fordelingsfunktionen er mindre end eller lig med kriterieværdien. -DEVSQ = SAK ## Returnerer summen af de kvadrerede afvigelser fra middelværdien -EXPONDIST = EKSPFORDELING ## Returnerer eksponentialfordelingen -FDIST = FFORDELING ## Returnerer fraktilsandsynligheden for F-fordelingen -FINV = FINV ## Returnerer den inverse fraktilsandsynlighed for F-fordelingen -FISHER = FISHER ## Returnerer Fisher-transformationen -FISHERINV = FISHERINV ## Returnerer den inverse Fisher-transformation -FORECAST = PROGNOSE ## Returnerer en prognoseværdi baseret på lineær tendens -FREQUENCY = FREKVENS ## Returnerer en frekvensfordeling i en søjlevektor -FTEST = FTEST ## Returnerer resultatet af en F-test til sammenligning af varians -GAMMADIST = GAMMAFORDELING ## Returnerer fordelingsfunktionen for gammafordelingen -GAMMAINV = GAMMAINV ## Returnerer den inverse fordelingsfunktion for gammafordelingen -GAMMALN = GAMMALN ## Returnerer den naturlige logaritme til gammafordelingen, G(x) -GEOMEAN = GEOMIDDELVÆRDI ## Returnerer det geometriske gennemsnit -GROWTH = FORØGELSE ## Returnerer værdier langs en eksponentiel tendens -HARMEAN = HARMIDDELVÆRDI ## Returnerer det harmoniske gennemsnit -HYPGEOMDIST = HYPGEOFORDELING ## Returnerer punktsandsynligheden i en hypergeometrisk fordeling -INTERCEPT = SKÆRING ## Returnerer afskæringsværdien på y-aksen i en lineær regression -KURT = TOPSTEJL ## Returnerer kurtosisværdien for en stokastisk variabel -LARGE = STOR ## Returnerer den k'te største værdi i et datasæt -LINEST = LINREGR ## Returnerer parameterestimaterne for en lineær tendens -LOGEST = LOGREGR ## Returnerer parameterestimaterne for en eksponentiel tendens -LOGINV = LOGINV ## Returnerer den inverse fordelingsfunktion for lognormalfordelingen -LOGNORMDIST = LOGNORMFORDELING ## Returnerer fordelingsfunktionen for lognormalfordelingen -MAX = MAKS ## Returnerer den maksimale værdi på en liste med argumenter. -MAXA = MAKSV ## Returnerer den maksimale værdi på en liste med argumenter og medtager tal, tekst og logiske værdier -MEDIAN = MEDIAN ## Returnerer medianen for de angivne tal -MIN = MIN ## Returnerer den mindste værdi på en liste med argumenter. -MINA = MINV ## Returnerer den mindste værdi på en liste med argumenter og medtager tal, tekst og logiske værdier -MODE = HYPPIGST ## Returnerer den hyppigste værdi i et datasæt -NEGBINOMDIST = NEGBINOMFORDELING ## Returnerer den negative binomialfordeling -NORMDIST = NORMFORDELING ## Returnerer fordelingsfunktionen for normalfordelingen -NORMINV = NORMINV ## Returnerer den inverse fordelingsfunktion for normalfordelingen -NORMSDIST = STANDARDNORMFORDELING ## Returnerer fordelingsfunktionen for standardnormalfordelingen -NORMSINV = STANDARDNORMINV ## Returnerer den inverse fordelingsfunktion for standardnormalfordelingen -PEARSON = PEARSON ## Returnerer Pearsons korrelationskoefficient -PERCENTILE = FRAKTIL ## Returnerer den k'te fraktil for datasættet -PERCENTRANK = PROCENTPLADS ## Returnerer den procentuelle rang for en given værdi i et datasæt -PERMUT = PERMUT ## Returnerer antallet af permutationer for et givet sæt objekter -POISSON = POISSON ## Returnerer fordelingsfunktionen for en Poisson-fordeling -PROB = SANDSYNLIGHED ## Returnerer intervalsandsynligheden -QUARTILE = KVARTIL ## Returnerer kvartilen i et givet datasæt -RANK = PLADS ## Returnerer rangen for et tal på en liste med tal -RSQ = FORKLARINGSGRAD ## Returnerer R2-værdien fra en simpel lineær regression -SKEW = SKÆVHED ## Returnerer skævheden for en stokastisk variabel -SLOPE = HÆLDNING ## Returnerer estimatet på hældningen fra en simpel lineær regression -SMALL = MINDSTE ## Returnerer den k'te mindste værdi i datasættet -STANDARDIZE = STANDARDISER ## Returnerer en standardiseret værdi -STDEV = STDAFV ## Estimerer standardafvigelsen på basis af en stikprøve -STDEVA = STDAFVV ## Beregner standardafvigelsen på basis af en prøve og medtager tal, tekst og logiske værdier -STDEVP = STDAFVP ## Beregner standardafvigelsen på basis af en hel population -STDEVPA = STDAFVPV ## Beregner standardafvigelsen på basis af en hel population og medtager tal, tekst og logiske værdier -STEYX = STFYX ## Returnerer standardafvigelsen for de estimerede y-værdier i den simple lineære regression -TDIST = TFORDELING ## Returnerer fordelingsfunktionen for Student's t-fordeling -TINV = TINV ## Returnerer den inverse fordelingsfunktion for Student's t-fordeling -TREND = TENDENS ## Returnerer værdi under antagelse af en lineær tendens -TRIMMEAN = TRIMMIDDELVÆRDI ## Returnerer den trimmede middelværdi for datasættet -TTEST = TTEST ## Returnerer den sandsynlighed, der er forbundet med Student's t-test -VAR = VARIANS ## Beregner variansen på basis af en prøve -VARA = VARIANSV ## Beregner variansen på basis af en prøve og medtager tal, tekst og logiske værdier -VARP = VARIANSP ## Beregner variansen på basis af hele populationen -VARPA = VARIANSPV ## Beregner variansen på basis af hele populationen og medtager tal, tekst og logiske værdier -WEIBULL = WEIBULL ## Returnerer fordelingsfunktionen for Weibull-fordelingen -ZTEST = ZTEST ## Returnerer sandsynlighedsværdien ved en en-sidet z-test - - -## -## Text functions Tekstfunktioner -## -ASC = ASC ## Ændrer engelske tegn i fuld bredde (dobbelt-byte) eller katakana i en tegnstreng til tegn i halv bredde (enkelt-byte) -BAHTTEXT = BAHTTEKST ## Konverterer et tal til tekst ved hjælp af valutaformatet ß (baht) -CHAR = TEGN ## Returnerer det tegn, der svarer til kodenummeret -CLEAN = RENS ## Fjerner alle tegn, der ikke kan udskrives, fra tekst -CODE = KODE ## Returnerer en numerisk kode for det første tegn i en tekststreng -CONCATENATE = SAMMENKÆDNING ## Sammenkæder adskillige tekstelementer til ét tekstelement -DOLLAR = KR ## Konverterer et tal til tekst ved hjælp af valutaformatet kr. (kroner) -EXACT = EKSAKT ## Kontrollerer, om to tekstværdier er identiske -FIND = FIND ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes mellem store og små bogstaver) -FINDB = FINDB ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes mellem store og små bogstaver) -FIXED = FAST ## Formaterer et tal som tekst med et fast antal decimaler -JIS = JIS ## Ændrer engelske tegn i halv bredde (enkelt-byte) eller katakana i en tegnstreng til tegn i fuld bredde (dobbelt-byte) -LEFT = VENSTRE ## Returnerer tegnet længst til venstre i en tekstværdi -LEFTB = VENSTREB ## Returnerer tegnet længst til venstre i en tekstværdi -LEN = LÆNGDE ## Returnerer antallet af tegn i en tekststreng -LENB = LÆNGDEB ## Returnerer antallet af tegn i en tekststreng -LOWER = SMÅ.BOGSTAVER ## Konverterer tekst til små bogstaver -MID = MIDT ## Returnerer et bestemt antal tegn fra en tekststreng fra og med den angivne startposition -MIDB = MIDTB ## Returnerer et bestemt antal tegn fra en tekststreng fra og med den angivne startposition -PHONETIC = FONETISK ## Uddrager de fonetiske (furigana) tegn fra en tekststreng -PROPER = STORT.FORBOGSTAV ## Konverterer første bogstav i hvert ord i teksten til stort bogstav -REPLACE = ERSTAT ## Erstatter tegn i tekst -REPLACEB = ERSTATB ## Erstatter tegn i tekst -REPT = GENTAG ## Gentager tekst et givet antal gange -RIGHT = HØJRE ## Returnerer tegnet længste til højre i en tekstværdi -RIGHTB = HØJREB ## Returnerer tegnet længste til højre i en tekstværdi -SEARCH = SØG ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes ikke mellem store og små bogstaver) -SEARCHB = SØGB ## Søger efter en tekstværdi i en anden tekstværdi (der skelnes ikke mellem store og små bogstaver) -SUBSTITUTE = UDSKIFT ## Udskifter gammel tekst med ny tekst i en tekststreng -T = T ## Konverterer argumenterne til tekst -TEXT = TEKST ## Formaterer et tal og konverterer det til tekst -TRIM = FJERN.OVERFLØDIGE.BLANKE ## Fjerner mellemrum fra tekst -UPPER = STORE.BOGSTAVER ## Konverterer tekst til store bogstaver -VALUE = VÆRDI ## Konverterer et tekstargument til et tal diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/da/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/config deleted file mode 100644 index aa0228e7f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NULL! -DIV0 = #DIV/0! -VALUE = #WERT! -REF = #BEZUG! -NAME = #NAME? -NUM = #ZAHL! -NA = #NV diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/functions deleted file mode 100644 index 3147f9c8b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Add-In- und Automatisierungsfunktionen -## -GETPIVOTDATA = PIVOTDATENZUORDNEN ## In einem PivotTable-Bericht gespeicherte Daten werden zurückgegeben. - - -## -## Cube functions Cubefunktionen -## -CUBEKPIMEMBER = CUBEKPIELEMENT ## Gibt Name, Eigenschaft und Measure eines Key Performance Indicators (KPI) zurück und zeigt den Namen und die Eigenschaft in der Zelle an. Ein KPI ist ein quantifizierbares Maß, wie z. B. der monatliche Bruttogewinn oder die vierteljährliche Mitarbeiterfluktuation, mit dessen Hilfe das Leistungsverhalten eines Unternehmens überwacht werden kann. -CUBEMEMBER = CUBEELEMENT ## Gibt ein Element oder ein Tuple in einer Cubehierarchie zurück. Wird verwendet, um zu überprüfen, ob das Element oder Tuple im Cube vorhanden ist. -CUBEMEMBERPROPERTY = CUBEELEMENTEIGENSCHAFT ## Gibt den Wert einer Elementeigenschaft im Cube zurück. Wird verwendet, um zu überprüfen, ob ein Elementname im Cube vorhanden ist, und um die für dieses Element angegebene Eigenschaft zurückzugeben. -CUBERANKEDMEMBER = CUBERANGELEMENT ## Gibt das n-te oder n-rangige Element in einer Menge zurück. Wird verwendet, um mindestens ein Element in einer Menge zurückzugeben, wie z. B. bester Vertriebsmitarbeiter oder 10 beste Kursteilnehmer. -CUBESET = CUBEMENGE ## Definiert eine berechnete Menge Elemente oder Tuples durch Senden eines Mengenausdrucks an den Cube auf dem Server, der die Menge erstellt und an Microsoft Office Excel zurückgibt. -CUBESETCOUNT = CUBEMENGENANZAHL ## Gibt die Anzahl der Elemente in einer Menge zurück. -CUBEVALUE = CUBEWERT ## Gibt einen Aggregatwert aus einem Cube zurück. - - -## -## Database functions Datenbankfunktionen -## -DAVERAGE = DBMITTELWERT ## Gibt den Mittelwert der ausgewählten Datenbankeinträge zurück -DCOUNT = DBANZAHL ## Zählt die Zellen mit Zahlen in einer Datenbank -DCOUNTA = DBANZAHL2 ## Zählt nicht leere Zellen in einer Datenbank -DGET = DBAUSZUG ## Extrahiert aus einer Datenbank einen einzelnen Datensatz, der den angegebenen Kriterien entspricht -DMAX = DBMAX ## Gibt den größten Wert aus ausgewählten Datenbankeinträgen zurück -DMIN = DBMIN ## Gibt den kleinsten Wert aus ausgewählten Datenbankeinträgen zurück -DPRODUCT = DBPRODUKT ## Multipliziert die Werte in einem bestimmten Feld mit Datensätzen, die den Kriterien in einer Datenbank entsprechen -DSTDEV = DBSTDABW ## Schätzt die Standardabweichung auf der Grundlage einer Stichprobe aus ausgewählten Datenbankeinträgen -DSTDEVP = DBSTDABWN ## Berechnet die Standardabweichung auf der Grundlage der Grundgesamtheit ausgewählter Datenbankeinträge -DSUM = DBSUMME ## Addiert die Zahlen in der Feldspalte mit Datensätzen in der Datenbank, die den Kriterien entsprechen -DVAR = DBVARIANZ ## Schätzt die Varianz auf der Grundlage ausgewählter Datenbankeinträge -DVARP = DBVARIANZEN ## Berechnet die Varianz auf der Grundlage der Grundgesamtheit ausgewählter Datenbankeinträge - - -## -## Date and time functions Datums- und Zeitfunktionen -## -DATE = DATUM ## Gibt die fortlaufende Zahl eines bestimmten Datums zurück -DATEVALUE = DATWERT ## Wandelt ein Datum in Form von Text in eine fortlaufende Zahl um -DAY = TAG ## Wandelt eine fortlaufende Zahl in den Tag des Monats um -DAYS360 = TAGE360 ## Berechnet die Anzahl der Tage zwischen zwei Datumsangaben ausgehend von einem Jahr, das 360 Tage hat -EDATE = EDATUM ## Gibt die fortlaufende Zahl des Datums zurück, bei dem es sich um die angegebene Anzahl von Monaten vor oder nach dem Anfangstermin handelt -EOMONTH = MONATSENDE ## Gibt die fortlaufende Zahl des letzten Tags des Monats vor oder nach einer festgelegten Anzahl von Monaten zurück -HOUR = STUNDE ## Wandelt eine fortlaufende Zahl in eine Stunde um -MINUTE = MINUTE ## Wandelt eine fortlaufende Zahl in eine Minute um -MONTH = MONAT ## Wandelt eine fortlaufende Zahl in einen Monat um -NETWORKDAYS = NETTOARBEITSTAGE ## Gibt die Anzahl von ganzen Arbeitstagen zwischen zwei Datumswerten zurück -NOW = JETZT ## Gibt die fortlaufende Zahl des aktuellen Datums und der aktuellen Uhrzeit zurück -SECOND = SEKUNDE ## Wandelt eine fortlaufende Zahl in eine Sekunde um -TIME = ZEIT ## Gibt die fortlaufende Zahl einer bestimmten Uhrzeit zurück -TIMEVALUE = ZEITWERT ## Wandelt eine Uhrzeit in Form von Text in eine fortlaufende Zahl um -TODAY = HEUTE ## Gibt die fortlaufende Zahl des heutigen Datums zurück -WEEKDAY = WOCHENTAG ## Wandelt eine fortlaufende Zahl in den Wochentag um -WEEKNUM = KALENDERWOCHE ## Wandelt eine fortlaufende Zahl in eine Zahl um, die angibt, in welche Woche eines Jahres das angegebene Datum fällt -WORKDAY = ARBEITSTAG ## Gibt die fortlaufende Zahl des Datums vor oder nach einer bestimmten Anzahl von Arbeitstagen zurück -YEAR = JAHR ## Wandelt eine fortlaufende Zahl in ein Jahr um -YEARFRAC = BRTEILJAHRE ## Gibt die Anzahl der ganzen Tage zwischen Ausgangsdatum und Enddatum in Bruchteilen von Jahren zurück - - -## -## Engineering functions Konstruktionsfunktionen -## -BESSELI = BESSELI ## Gibt die geänderte Besselfunktion In(x) zurück -BESSELJ = BESSELJ ## Gibt die Besselfunktion Jn(x) zurück -BESSELK = BESSELK ## Gibt die geänderte Besselfunktion Kn(x) zurück -BESSELY = BESSELY ## Gibt die Besselfunktion Yn(x) zurück -BIN2DEC = BININDEZ ## Wandelt eine binäre Zahl (Dualzahl) in eine dezimale Zahl um -BIN2HEX = BININHEX ## Wandelt eine binäre Zahl (Dualzahl) in eine hexadezimale Zahl um -BIN2OCT = BININOKT ## Wandelt eine binäre Zahl (Dualzahl) in eine oktale Zahl um -COMPLEX = KOMPLEXE ## Wandelt den Real- und Imaginärteil in eine komplexe Zahl um -CONVERT = UMWANDELN ## Wandelt eine Zahl von einem Maßsystem in ein anderes um -DEC2BIN = DEZINBIN ## Wandelt eine dezimale Zahl in eine binäre Zahl (Dualzahl) um -DEC2HEX = DEZINHEX ## Wandelt eine dezimale Zahl in eine hexadezimale Zahl um -DEC2OCT = DEZINOKT ## Wandelt eine dezimale Zahl in eine oktale Zahl um -DELTA = DELTA ## Überprüft, ob zwei Werte gleich sind -ERF = GAUSSFEHLER ## Gibt die Gauss'sche Fehlerfunktion zurück -ERFC = GAUSSFKOMPL ## Gibt das Komplement zur Gauss'schen Fehlerfunktion zurück -GESTEP = GGANZZAHL ## Überprüft, ob eine Zahl größer als ein gegebener Schwellenwert ist -HEX2BIN = HEXINBIN ## Wandelt eine hexadezimale Zahl in eine Binärzahl um -HEX2DEC = HEXINDEZ ## Wandelt eine hexadezimale Zahl in eine dezimale Zahl um -HEX2OCT = HEXINOKT ## Wandelt eine hexadezimale Zahl in eine Oktalzahl um -IMABS = IMABS ## Gibt den Absolutbetrag (Modulo) einer komplexen Zahl zurück -IMAGINARY = IMAGINÄRTEIL ## Gibt den Imaginärteil einer komplexen Zahl zurück -IMARGUMENT = IMARGUMENT ## Gibt das Argument Theta zurück, einen Winkel, der als Bogenmaß ausgedrückt wird -IMCONJUGATE = IMKONJUGIERTE ## Gibt die konjugierte komplexe Zahl zu einer komplexen Zahl zurück -IMCOS = IMCOS ## Gibt den Kosinus einer komplexen Zahl zurück -IMDIV = IMDIV ## Gibt den Quotienten zweier komplexer Zahlen zurück -IMEXP = IMEXP ## Gibt die algebraische Form einer in exponentieller Schreibweise vorliegenden komplexen Zahl zurück -IMLN = IMLN ## Gibt den natürlichen Logarithmus einer komplexen Zahl zurück -IMLOG10 = IMLOG10 ## Gibt den Logarithmus einer komplexen Zahl zur Basis 10 zurück -IMLOG2 = IMLOG2 ## Gibt den Logarithmus einer komplexen Zahl zur Basis 2 zurück -IMPOWER = IMAPOTENZ ## Potenziert eine komplexe Zahl mit einer ganzen Zahl -IMPRODUCT = IMPRODUKT ## Gibt das Produkt von komplexen Zahlen zurück -IMREAL = IMREALTEIL ## Gibt den Realteil einer komplexen Zahl zurück -IMSIN = IMSIN ## Gibt den Sinus einer komplexen Zahl zurück -IMSQRT = IMWURZEL ## Gibt die Quadratwurzel einer komplexen Zahl zurück -IMSUB = IMSUB ## Gibt die Differenz zwischen zwei komplexen Zahlen zurück -IMSUM = IMSUMME ## Gibt die Summe von komplexen Zahlen zurück -OCT2BIN = OKTINBIN ## Wandelt eine oktale Zahl in eine binäre Zahl (Dualzahl) um -OCT2DEC = OKTINDEZ ## Wandelt eine oktale Zahl in eine dezimale Zahl um -OCT2HEX = OKTINHEX ## Wandelt eine oktale Zahl in eine hexadezimale Zahl um - - -## -## Financial functions Finanzmathematische Funktionen -## -ACCRINT = AUFGELZINS ## Gibt die aufgelaufenen Zinsen (Stückzinsen) eines Wertpapiers mit periodischen Zinszahlungen zurück -ACCRINTM = AUFGELZINSF ## Gibt die aufgelaufenen Zinsen (Stückzinsen) eines Wertpapiers zurück, die bei Fälligkeit ausgezahlt werden -AMORDEGRC = AMORDEGRK ## Gibt die Abschreibung für die einzelnen Abschreibungszeiträume mithilfe eines Abschreibungskoeffizienten zurück -AMORLINC = AMORLINEARK ## Gibt die Abschreibung für die einzelnen Abschreibungszeiträume zurück -COUPDAYBS = ZINSTERMTAGVA ## Gibt die Anzahl der Tage vom Anfang des Zinstermins bis zum Abrechnungstermin zurück -COUPDAYS = ZINSTERMTAGE ## Gibt die Anzahl der Tage der Zinsperiode zurück, die den Abrechnungstermin einschließt -COUPDAYSNC = ZINSTERMTAGNZ ## Gibt die Anzahl der Tage vom Abrechnungstermin bis zum nächsten Zinstermin zurück -COUPNCD = ZINSTERMNZ ## Gibt das Datum des ersten Zinstermins nach dem Abrechnungstermin zurück -COUPNUM = ZINSTERMZAHL ## Gibt die Anzahl der Zinstermine zwischen Abrechnungs- und Fälligkeitsdatum zurück -COUPPCD = ZINSTERMVZ ## Gibt das Datum des letzten Zinstermins vor dem Abrechnungstermin zurück -CUMIPMT = KUMZINSZ ## Berechnet die kumulierten Zinsen, die zwischen zwei Perioden zu zahlen sind -CUMPRINC = KUMKAPITAL ## Berechnet die aufgelaufene Tilgung eines Darlehens, die zwischen zwei Perioden zu zahlen ist -DB = GDA2 ## Gibt die geometrisch-degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode zurück -DDB = GDA ## Gibt die Abschreibung eines Anlageguts für einen angegebenen Zeitraum unter Verwendung der degressiven Doppelraten-Abschreibung oder eines anderen von Ihnen angegebenen Abschreibungsverfahrens zurück -DISC = DISAGIO ## Gibt den in Prozent ausgedrückten Abzinsungssatz eines Wertpapiers zurück -DOLLARDE = NOTIERUNGDEZ ## Wandelt eine Notierung, die als Dezimalbruch ausgedrückt wurde, in eine Dezimalzahl um -DOLLARFR = NOTIERUNGBRU ## Wandelt eine Notierung, die als Dezimalzahl ausgedrückt wurde, in einen Dezimalbruch um -DURATION = DURATION ## Gibt die jährliche Duration eines Wertpapiers mit periodischen Zinszahlungen zurück -EFFECT = EFFEKTIV ## Gibt die jährliche Effektivverzinsung zurück -FV = ZW ## Gibt den zukünftigen Wert (Endwert) einer Investition zurück -FVSCHEDULE = ZW2 ## Gibt den aufgezinsten Wert des Anfangskapitals für eine Reihe periodisch unterschiedlicher Zinssätze zurück -INTRATE = ZINSSATZ ## Gibt den Zinssatz eines voll investierten Wertpapiers zurück -IPMT = ZINSZ ## Gibt die Zinszahlung einer Investition für die angegebene Periode zurück -IRR = IKV ## Gibt den internen Zinsfuß einer Investition ohne Finanzierungskosten oder Reinvestitionsgewinne zurück -ISPMT = ISPMT ## Berechnet die während eines bestimmten Zeitraums für eine Investition gezahlten Zinsen -MDURATION = MDURATION ## Gibt die geänderte Dauer für ein Wertpapier mit einem angenommenen Nennwert von 100 € zurück -MIRR = QIKV ## Gibt den internen Zinsfuß zurück, wobei positive und negative Zahlungen zu unterschiedlichen Sätzen finanziert werden -NOMINAL = NOMINAL ## Gibt die jährliche Nominalverzinsung zurück -NPER = ZZR ## Gibt die Anzahl der Zahlungsperioden einer Investition zurück -NPV = NBW ## Gibt den Nettobarwert einer Investition auf Basis periodisch anfallender Zahlungen und eines Abzinsungsfaktors zurück -ODDFPRICE = UNREGER.KURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers mit einem unregelmäßigen ersten Zinstermin zurück -ODDFYIELD = UNREGER.REND ## Gibt die Rendite eines Wertpapiers mit einem unregelmäßigen ersten Zinstermin zurück -ODDLPRICE = UNREGLE.KURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers mit einem unregelmäßigen letzten Zinstermin zurück -ODDLYIELD = UNREGLE.REND ## Gibt die Rendite eines Wertpapiers mit einem unregelmäßigen letzten Zinstermin zurück -PMT = RMZ ## Gibt die periodische Zahlung für eine Annuität zurück -PPMT = KAPZ ## Gibt die Kapitalrückzahlung einer Investition für eine angegebene Periode zurück -PRICE = KURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück, das periodisch Zinsen auszahlt -PRICEDISC = KURSDISAGIO ## Gibt den Kurs pro 100 € Nennwert eines unverzinslichen Wertpapiers zurück -PRICEMAT = KURSFÄLLIG ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück, das Zinsen am Fälligkeitsdatum auszahlt -PV = BW ## Gibt den Barwert einer Investition zurück -RATE = ZINS ## Gibt den Zinssatz pro Zeitraum einer Annuität zurück -RECEIVED = AUSZAHLUNG ## Gibt den Auszahlungsbetrag eines voll investierten Wertpapiers am Fälligkeitstermin zurück -SLN = LIA ## Gibt die lineare Abschreibung eines Wirtschaftsguts pro Periode zurück -SYD = DIA ## Gibt die arithmetisch-degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode zurück -TBILLEQ = TBILLÄQUIV ## Gibt die Rendite für ein Wertpapier zurück -TBILLPRICE = TBILLKURS ## Gibt den Kurs pro 100 € Nennwert eines Wertpapiers zurück -TBILLYIELD = TBILLRENDITE ## Gibt die Rendite für ein Wertpapier zurück -VDB = VDB ## Gibt die degressive Abschreibung eines Wirtschaftsguts für eine bestimmte Periode oder Teilperiode zurück -XIRR = XINTZINSFUSS ## Gibt den internen Zinsfuß einer Reihe nicht periodisch anfallender Zahlungen zurück -XNPV = XKAPITALWERT ## Gibt den Nettobarwert (Kapitalwert) einer Reihe nicht periodisch anfallender Zahlungen zurück -YIELD = RENDITE ## Gibt die Rendite eines Wertpapiers zurück, das periodisch Zinsen auszahlt -YIELDDISC = RENDITEDIS ## Gibt die jährliche Rendite eines unverzinslichen Wertpapiers zurück -YIELDMAT = RENDITEFÄLL ## Gibt die jährliche Rendite eines Wertpapiers zurück, das Zinsen am Fälligkeitsdatum auszahlt - - -## -## Information functions Informationsfunktionen -## -CELL = ZELLE ## Gibt Informationen zu Formatierung, Position oder Inhalt einer Zelle zurück -ERROR.TYPE = FEHLER.TYP ## Gibt eine Zahl zurück, die einem Fehlertyp entspricht -INFO = INFO ## Gibt Informationen zur aktuellen Betriebssystemumgebung zurück -ISBLANK = ISTLEER ## Gibt WAHR zurück, wenn der Wert leer ist -ISERR = ISTFEHL ## Gibt WAHR zurück, wenn der Wert ein beliebiger Fehlerwert außer #N/V ist -ISERROR = ISTFEHLER ## Gibt WAHR zurück, wenn der Wert ein beliebiger Fehlerwert ist -ISEVEN = ISTGERADE ## Gibt WAHR zurück, wenn es sich um eine gerade Zahl handelt -ISLOGICAL = ISTLOG ## Gibt WAHR zurück, wenn der Wert ein Wahrheitswert ist -ISNA = ISTNV ## Gibt WAHR zurück, wenn der Wert der Fehlerwert #N/V ist -ISNONTEXT = ISTKTEXT ## Gibt WAHR zurück, wenn der Wert ein Element ist, das keinen Text enthält -ISNUMBER = ISTZAHL ## Gibt WAHR zurück, wenn der Wert eine Zahl ist -ISODD = ISTUNGERADE ## Gibt WAHR zurück, wenn es sich um eine ungerade Zahl handelt -ISREF = ISTBEZUG ## Gibt WAHR zurück, wenn der Wert ein Bezug ist -ISTEXT = ISTTEXT ## Gibt WAHR zurück, wenn der Wert ein Element ist, das Text enthält -N = N ## Gibt den in eine Zahl umgewandelten Wert zurück -NA = NV ## Gibt den Fehlerwert #NV zurück -TYPE = TYP ## Gibt eine Zahl zurück, die den Datentyp des angegebenen Werts anzeigt - - -## -## Logical functions Logische Funktionen -## -AND = UND ## Gibt WAHR zurück, wenn alle zugehörigen Argumente WAHR sind -FALSE = FALSCH ## Gibt den Wahrheitswert FALSCH zurück -IF = WENN ## Gibt einen logischen Test zum Ausführen an -IFERROR = WENNFEHLER ## Gibt einen von Ihnen festgelegten Wert zurück, wenn die Auswertung der Formel zu einem Fehler führt; andernfalls wird das Ergebnis der Formel zurückgegeben -NOT = NICHT ## Kehrt den Wahrheitswert der zugehörigen Argumente um -OR = ODER ## Gibt WAHR zurück, wenn ein Argument WAHR ist -TRUE = WAHR ## Gibt den Wahrheitswert WAHR zurück - - -## -## Lookup and reference functions Nachschlage- und Verweisfunktionen -## -ADDRESS = ADRESSE ## Gibt einen Bezug auf eine einzelne Zelle in einem Tabellenblatt als Text zurück -AREAS = BEREICHE ## Gibt die Anzahl der innerhalb eines Bezugs aufgeführten Bereiche zurück -CHOOSE = WAHL ## Wählt einen Wert aus eine Liste mit Werten aus -COLUMN = SPALTE ## Gibt die Spaltennummer eines Bezugs zurück -COLUMNS = SPALTEN ## Gibt die Anzahl der Spalten in einem Bezug zurück -HLOOKUP = HVERWEIS ## Sucht in der obersten Zeile einer Matrix und gibt den Wert der angegebenen Zelle zurück -HYPERLINK = HYPERLINK ## Erstellt eine Verknüpfung, über die ein auf einem Netzwerkserver, in einem Intranet oder im Internet gespeichertes Dokument geöffnet wird -INDEX = INDEX ## Verwendet einen Index, um einen Wert aus einem Bezug oder einer Matrix auszuwählen -INDIRECT = INDIREKT ## Gibt einen Bezug zurück, der von einem Textwert angegeben wird -LOOKUP = LOOKUP ## Sucht Werte in einem Vektor oder einer Matrix -MATCH = VERGLEICH ## Sucht Werte in einem Bezug oder einer Matrix -OFFSET = BEREICH.VERSCHIEBEN ## Gibt einen Bezugoffset aus einem gegebenen Bezug zurück -ROW = ZEILE ## Gibt die Zeilennummer eines Bezugs zurück -ROWS = ZEILEN ## Gibt die Anzahl der Zeilen in einem Bezug zurück -RTD = RTD ## Ruft Echtzeitdaten von einem Programm ab, das die COM-Automatisierung (Automatisierung: Ein Verfahren, bei dem aus einer Anwendung oder einem Entwicklungstool heraus mit den Objekten einer anderen Anwendung gearbeitet wird. Die früher als OLE-Automatisierung bezeichnete Automatisierung ist ein Industriestandard und eine Funktion von COM (Component Object Model).) unterstützt -TRANSPOSE = MTRANS ## Gibt die transponierte Matrix einer Matrix zurück -VLOOKUP = SVERWEIS ## Sucht in der ersten Spalte einer Matrix und arbeitet sich durch die Zeile, um den Wert einer Zelle zurückzugeben - - -## -## Math and trigonometry functions Mathematische und trigonometrische Funktionen -## -ABS = ABS ## Gibt den Absolutwert einer Zahl zurück -ACOS = ARCCOS ## Gibt den Arkuskosinus einer Zahl zurück -ACOSH = ARCCOSHYP ## Gibt den umgekehrten hyperbolischen Kosinus einer Zahl zurück -ASIN = ARCSIN ## Gibt den Arkussinus einer Zahl zurück -ASINH = ARCSINHYP ## Gibt den umgekehrten hyperbolischen Sinus einer Zahl zurück -ATAN = ARCTAN ## Gibt den Arkustangens einer Zahl zurück -ATAN2 = ARCTAN2 ## Gibt den Arkustangens einer x- und einer y-Koordinate zurück -ATANH = ARCTANHYP ## Gibt den umgekehrten hyperbolischen Tangens einer Zahl zurück -CEILING = OBERGRENZE ## Rundet eine Zahl auf die nächste ganze Zahl oder das nächste Vielfache von Schritt -COMBIN = KOMBINATIONEN ## Gibt die Anzahl der Kombinationen für eine bestimmte Anzahl von Objekten zurück -COS = COS ## Gibt den Kosinus einer Zahl zurück -COSH = COSHYP ## Gibt den hyperbolischen Kosinus einer Zahl zurück -DEGREES = GRAD ## Wandelt Bogenmaß (Radiant) in Grad um -EVEN = GERADE ## Rundet eine Zahl auf die nächste gerade ganze Zahl auf -EXP = EXP ## Potenziert die Basis e mit der als Argument angegebenen Zahl -FACT = FAKULTÄT ## Gibt die Fakultät einer Zahl zurück -FACTDOUBLE = ZWEIFAKULTÄT ## Gibt die Fakultät zu Zahl mit Schrittlänge 2 zurück -FLOOR = UNTERGRENZE ## Rundet die Zahl auf Anzahl_Stellen ab -GCD = GGT ## Gibt den größten gemeinsamen Teiler zurück -INT = GANZZAHL ## Rundet eine Zahl auf die nächstkleinere ganze Zahl ab -LCM = KGV ## Gibt das kleinste gemeinsame Vielfache zurück -LN = LN ## Gibt den natürlichen Logarithmus einer Zahl zurück -LOG = LOG ## Gibt den Logarithmus einer Zahl zu der angegebenen Basis zurück -LOG10 = LOG10 ## Gibt den Logarithmus einer Zahl zur Basis 10 zurück -MDETERM = MDET ## Gibt die Determinante einer Matrix zurück -MINVERSE = MINV ## Gibt die inverse Matrix einer Matrix zurück -MMULT = MMULT ## Gibt das Produkt zweier Matrizen zurück -MOD = REST ## Gibt den Rest einer Division zurück -MROUND = VRUNDEN ## Gibt eine auf das gewünschte Vielfache gerundete Zahl zurück -MULTINOMIAL = POLYNOMIAL ## Gibt den Polynomialkoeffizienten einer Gruppe von Zahlen zurück -ODD = UNGERADE ## Rundet eine Zahl auf die nächste ungerade ganze Zahl auf -PI = PI ## Gibt den Wert Pi zurück -POWER = POTENZ ## Gibt als Ergebnis eine potenzierte Zahl zurück -PRODUCT = PRODUKT ## Multipliziert die zugehörigen Argumente -QUOTIENT = QUOTIENT ## Gibt den ganzzahligen Anteil einer Division zurück -RADIANS = BOGENMASS ## Wandelt Grad in Bogenmaß (Radiant) um -RAND = ZUFALLSZAHL ## Gibt eine Zufallszahl zwischen 0 und 1 zurück -RANDBETWEEN = ZUFALLSBEREICH ## Gibt eine Zufallszahl aus dem festgelegten Bereich zurück -ROMAN = RÖMISCH ## Wandelt eine arabische Zahl in eine römische Zahl als Text um -ROUND = RUNDEN ## Rundet eine Zahl auf eine bestimmte Anzahl von Dezimalstellen -ROUNDDOWN = ABRUNDEN ## Rundet die Zahl auf Anzahl_Stellen ab -ROUNDUP = AUFRUNDEN ## Rundet die Zahl auf Anzahl_Stellen auf -SERIESSUM = POTENZREIHE ## Gibt die Summe von Potenzen (zur Berechnung von Potenzreihen und dichotomen Wahrscheinlichkeiten) zurück -SIGN = VORZEICHEN ## Gibt das Vorzeichen einer Zahl zurück -SIN = SIN ## Gibt den Sinus einer Zahl zurück -SINH = SINHYP ## Gibt den hyperbolischen Sinus einer Zahl zurück -SQRT = WURZEL ## Gibt die Quadratwurzel einer Zahl zurück -SQRTPI = WURZELPI ## Gibt die Wurzel aus der mit Pi (pi) multiplizierten Zahl zurück -SUBTOTAL = TEILERGEBNIS ## Gibt ein Teilergebnis in einer Liste oder Datenbank zurück -SUM = SUMME ## Addiert die zugehörigen Argumente -SUMIF = SUMMEWENN ## Addiert Zahlen, die mit den Suchkriterien übereinstimmen -SUMIFS = SUMMEWENNS ## Die Zellen, die mehrere Kriterien erfüllen, werden in einem Bereich hinzugefügt -SUMPRODUCT = SUMMENPRODUKT ## Gibt die Summe der Produkte zusammengehöriger Matrixkomponenten zurück -SUMSQ = QUADRATESUMME ## Gibt die Summe der quadrierten Argumente zurück -SUMX2MY2 = SUMMEX2MY2 ## Gibt die Summe der Differenzen der Quadrate für zusammengehörige Komponenten zweier Matrizen zurück -SUMX2PY2 = SUMMEX2PY2 ## Gibt die Summe der Quadrate für zusammengehörige Komponenten zweier Matrizen zurück -SUMXMY2 = SUMMEXMY2 ## Gibt die Summe der quadrierten Differenzen für zusammengehörige Komponenten zweier Matrizen zurück -TAN = TAN ## Gibt den Tangens einer Zahl zurück -TANH = TANHYP ## Gibt den hyperbolischen Tangens einer Zahl zurück -TRUNC = KÜRZEN ## Schneidet die Kommastellen einer Zahl ab und gibt als Ergebnis eine ganze Zahl zurück - - -## -## Statistical functions Statistische Funktionen -## -AVEDEV = MITTELABW ## Gibt die durchschnittliche absolute Abweichung einer Reihe von Merkmalsausprägungen und ihrem Mittelwert zurück -AVERAGE = MITTELWERT ## Gibt den Mittelwert der zugehörigen Argumente zurück -AVERAGEA = MITTELWERTA ## Gibt den Mittelwert der zugehörigen Argumente, die Zahlen, Text und Wahrheitswerte enthalten, zurück -AVERAGEIF = MITTELWERTWENN ## Der Durchschnittswert (arithmetisches Mittel) für alle Zellen in einem Bereich, die einem angegebenen Kriterium entsprechen, wird zurückgegeben -AVERAGEIFS = MITTELWERTWENNS ## Gibt den Durchschnittswert (arithmetisches Mittel) aller Zellen zurück, die mehreren Kriterien entsprechen -BETADIST = BETAVERT ## Gibt die Werte der kumulierten Betaverteilungsfunktion zurück -BETAINV = BETAINV ## Gibt das Quantil der angegebenen Betaverteilung zurück -BINOMDIST = BINOMVERT ## Gibt Wahrscheinlichkeiten einer binomialverteilten Zufallsvariablen zurück -CHIDIST = CHIVERT ## Gibt Werte der Verteilungsfunktion (1-Alpha) einer Chi-Quadrat-verteilten Zufallsgröße zurück -CHIINV = CHIINV ## Gibt Quantile der Verteilungsfunktion (1-Alpha) der Chi-Quadrat-Verteilung zurück -CHITEST = CHITEST ## Gibt die Teststatistik eines Unabhängigkeitstests zurück -CONFIDENCE = KONFIDENZ ## Ermöglicht die Berechnung des 1-Alpha Konfidenzintervalls für den Erwartungswert einer Zufallsvariablen -CORREL = KORREL ## Gibt den Korrelationskoeffizienten zweier Reihen von Merkmalsausprägungen zurück -COUNT = ANZAHL ## Gibt die Anzahl der Zahlen in der Liste mit Argumenten an -COUNTA = ANZAHL2 ## Gibt die Anzahl der Werte in der Liste mit Argumenten an -COUNTBLANK = ANZAHLLEEREZELLEN ## Gibt die Anzahl der leeren Zellen in einem Bereich an -COUNTIF = ZÄHLENWENN ## Gibt die Anzahl der Zellen in einem Bereich an, deren Inhalte mit den Suchkriterien übereinstimmen -COUNTIFS = ZÄHLENWENNS ## Gibt die Anzahl der Zellen in einem Bereich an, deren Inhalte mit mehreren Suchkriterien übereinstimmen -COVAR = KOVAR ## Gibt die Kovarianz zurück, den Mittelwert der für alle Datenpunktpaare gebildeten Produkte der Abweichungen -CRITBINOM = KRITBINOM ## Gibt den kleinsten Wert zurück, für den die kumulierten Wahrscheinlichkeiten der Binomialverteilung kleiner oder gleich einer Grenzwahrscheinlichkeit sind -DEVSQ = SUMQUADABW ## Gibt die Summe der quadrierten Abweichungen der Datenpunkte von ihrem Stichprobenmittelwert zurück -EXPONDIST = EXPONVERT ## Gibt Wahrscheinlichkeiten einer exponential verteilten Zufallsvariablen zurück -FDIST = FVERT ## Gibt Werte der Verteilungsfunktion (1-Alpha) einer F-verteilten Zufallsvariablen zurück -FINV = FINV ## Gibt Quantile der F-Verteilung zurück -FISHER = FISHER ## Gibt die Fisher-Transformation zurück -FISHERINV = FISHERINV ## Gibt die Umkehrung der Fisher-Transformation zurück -FORECAST = PROGNOSE ## Gibt einen Wert zurück, der sich aus einem linearen Trend ergibt -FREQUENCY = HÄUFIGKEIT ## Gibt eine Häufigkeitsverteilung als vertikale Matrix zurück -FTEST = FTEST ## Gibt die Teststatistik eines F-Tests zurück -GAMMADIST = GAMMAVERT ## Gibt Wahrscheinlichkeiten einer gammaverteilten Zufallsvariablen zurück -GAMMAINV = GAMMAINV ## Gibt Quantile der Gammaverteilung zurück -GAMMALN = GAMMALN ## Gibt den natürlichen Logarithmus der Gammafunktion zurück, Γ(x) -GEOMEAN = GEOMITTEL ## Gibt das geometrische Mittel zurück -GROWTH = VARIATION ## Gibt Werte zurück, die sich aus einem exponentiellen Trend ergeben -HARMEAN = HARMITTEL ## Gibt das harmonische Mittel zurück -HYPGEOMDIST = HYPGEOMVERT ## Gibt Wahrscheinlichkeiten einer hypergeometrisch-verteilten Zufallsvariablen zurück -INTERCEPT = ACHSENABSCHNITT ## Gibt den Schnittpunkt der Regressionsgeraden zurück -KURT = KURT ## Gibt die Kurtosis (Exzess) einer Datengruppe zurück -LARGE = KGRÖSSTE ## Gibt den k-größten Wert einer Datengruppe zurück -LINEST = RGP ## Gibt die Parameter eines linearen Trends zurück -LOGEST = RKP ## Gibt die Parameter eines exponentiellen Trends zurück -LOGINV = LOGINV ## Gibt Quantile der Lognormalverteilung zurück -LOGNORMDIST = LOGNORMVERT ## Gibt Werte der Verteilungsfunktion einer lognormalverteilten Zufallsvariablen zurück -MAX = MAX ## Gibt den Maximalwert einer Liste mit Argumenten zurück -MAXA = MAXA ## Gibt den Maximalwert einer Liste mit Argumenten zurück, die Zahlen, Text und Wahrheitswerte enthalten -MEDIAN = MEDIAN ## Gibt den Median der angegebenen Zahlen zurück -MIN = MIN ## Gibt den Minimalwert einer Liste mit Argumenten zurück -MINA = MINA ## Gibt den kleinsten Wert einer Liste mit Argumenten zurück, die Zahlen, Text und Wahrheitswerte enthalten -MODE = MODALWERT ## Gibt den am häufigsten vorkommenden Wert in einer Datengruppe zurück -NEGBINOMDIST = NEGBINOMVERT ## Gibt Wahrscheinlichkeiten einer negativen, binominal verteilten Zufallsvariablen zurück -NORMDIST = NORMVERT ## Gibt Wahrscheinlichkeiten einer normal verteilten Zufallsvariablen zurück -NORMINV = NORMINV ## Gibt Quantile der Normalverteilung zurück -NORMSDIST = STANDNORMVERT ## Gibt Werte der Verteilungsfunktion einer standardnormalverteilten Zufallsvariablen zurück -NORMSINV = STANDNORMINV ## Gibt Quantile der Standardnormalverteilung zurück -PEARSON = PEARSON ## Gibt den Pearsonschen Korrelationskoeffizienten zurück -PERCENTILE = QUANTIL ## Gibt das Alpha-Quantil einer Gruppe von Daten zurück -PERCENTRANK = QUANTILSRANG ## Gibt den prozentualen Rang (Alpha) eines Werts in einer Datengruppe zurück -PERMUT = VARIATIONEN ## Gibt die Anzahl der Möglichkeiten zurück, um k Elemente aus einer Menge von n Elementen ohne Zurücklegen zu ziehen -POISSON = POISSON ## Gibt Wahrscheinlichkeiten einer poissonverteilten Zufallsvariablen zurück -PROB = WAHRSCHBEREICH ## Gibt die Wahrscheinlichkeit für ein von zwei Werten eingeschlossenes Intervall zurück -QUARTILE = QUARTILE ## Gibt die Quartile der Datengruppe zurück -RANK = RANG ## Gibt den Rang zurück, den eine Zahl innerhalb einer Liste von Zahlen einnimmt -RSQ = BESTIMMTHEITSMASS ## Gibt das Quadrat des Pearsonschen Korrelationskoeffizienten zurück -SKEW = SCHIEFE ## Gibt die Schiefe einer Verteilung zurück -SLOPE = STEIGUNG ## Gibt die Steigung der Regressionsgeraden zurück -SMALL = KKLEINSTE ## Gibt den k-kleinsten Wert einer Datengruppe zurück -STANDARDIZE = STANDARDISIERUNG ## Gibt den standardisierten Wert zurück -STDEV = STABW ## Schätzt die Standardabweichung ausgehend von einer Stichprobe -STDEVA = STABWA ## Schätzt die Standardabweichung ausgehend von einer Stichprobe, die Zahlen, Text und Wahrheitswerte enthält -STDEVP = STABWN ## Berechnet die Standardabweichung ausgehend von der Grundgesamtheit -STDEVPA = STABWNA ## Berechnet die Standardabweichung ausgehend von der Grundgesamtheit, die Zahlen, Text und Wahrheitswerte enthält -STEYX = STFEHLERYX ## Gibt den Standardfehler der geschätzten y-Werte für alle x-Werte der Regression zurück -TDIST = TVERT ## Gibt Werte der Verteilungsfunktion (1-Alpha) einer (Student) t-verteilten Zufallsvariablen zurück -TINV = TINV ## Gibt Quantile der t-Verteilung zurück -TREND = TREND ## Gibt Werte zurück, die sich aus einem linearen Trend ergeben -TRIMMEAN = GESTUTZTMITTEL ## Gibt den Mittelwert einer Datengruppe zurück, ohne die Randwerte zu berücksichtigen -TTEST = TTEST ## Gibt die Teststatistik eines Student'schen t-Tests zurück -VAR = VARIANZ ## Schätzt die Varianz ausgehend von einer Stichprobe -VARA = VARIANZA ## Schätzt die Varianz ausgehend von einer Stichprobe, die Zahlen, Text und Wahrheitswerte enthält -VARP = VARIANZEN ## Berechnet die Varianz ausgehend von der Grundgesamtheit -VARPA = VARIANZENA ## Berechnet die Varianz ausgehend von der Grundgesamtheit, die Zahlen, Text und Wahrheitswerte enthält -WEIBULL = WEIBULL ## Gibt Wahrscheinlichkeiten einer weibullverteilten Zufallsvariablen zurück -ZTEST = GTEST ## Gibt den einseitigen Wahrscheinlichkeitswert für einen Gausstest (Normalverteilung) zurück - - -## -## Text functions Textfunktionen -## -ASC = ASC ## Konvertiert DB-Text in einer Zeichenfolge (lateinische Buchstaben oder Katakana) in SB-Text -BAHTTEXT = BAHTTEXT ## Wandelt eine Zahl in Text im Währungsformat ß (Baht) um -CHAR = ZEICHEN ## Gibt das der Codezahl entsprechende Zeichen zurück -CLEAN = SÄUBERN ## Löscht alle nicht druckbaren Zeichen aus einem Text -CODE = CODE ## Gibt die Codezahl des ersten Zeichens in einem Text zurück -CONCATENATE = VERKETTEN ## Verknüpft mehrere Textelemente zu einem Textelement -DOLLAR = DM ## Wandelt eine Zahl in Text im Währungsformat € (Euro) um -EXACT = IDENTISCH ## Prüft, ob zwei Textwerte identisch sind -FIND = FINDEN ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird unterschieden) -FINDB = FINDENB ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird unterschieden) -FIXED = FEST ## Formatiert eine Zahl als Text mit einer festen Anzahl von Dezimalstellen -JIS = JIS ## Konvertiert SB-Text in einer Zeichenfolge (lateinische Buchstaben oder Katakana) in DB-Text -LEFT = LINKS ## Gibt die Zeichen ganz links in einem Textwert zurück -LEFTB = LINKSB ## Gibt die Zeichen ganz links in einem Textwert zurück -LEN = LÄNGE ## Gibt die Anzahl der Zeichen in einer Zeichenfolge zurück -LENB = LÄNGEB ## Gibt die Anzahl der Zeichen in einer Zeichenfolge zurück -LOWER = KLEIN ## Wandelt Text in Kleinbuchstaben um -MID = TEIL ## Gibt eine bestimmte Anzahl Zeichen aus einer Zeichenfolge ab der von Ihnen angegebenen Stelle zurück -MIDB = TEILB ## Gibt eine bestimmte Anzahl Zeichen aus einer Zeichenfolge ab der von Ihnen angegebenen Stelle zurück -PHONETIC = PHONETIC ## Extrahiert die phonetischen (Furigana-)Zeichen aus einer Textzeichenfolge -PROPER = GROSS2 ## Wandelt den ersten Buchstaben aller Wörter eines Textwerts in Großbuchstaben um -REPLACE = ERSETZEN ## Ersetzt Zeichen in Text -REPLACEB = ERSETZENB ## Ersetzt Zeichen in Text -REPT = WIEDERHOLEN ## Wiederholt einen Text so oft wie angegeben -RIGHT = RECHTS ## Gibt die Zeichen ganz rechts in einem Textwert zurück -RIGHTB = RECHTSB ## Gibt die Zeichen ganz rechts in einem Textwert zurück -SEARCH = SUCHEN ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird nicht unterschieden) -SEARCHB = SUCHENB ## Sucht nach einem Textwert, der in einem anderen Textwert enthalten ist (Groß-/Kleinschreibung wird nicht unterschieden) -SUBSTITUTE = WECHSELN ## Ersetzt in einer Zeichenfolge neuen Text gegen alten -T = T ## Wandelt die zugehörigen Argumente in Text um -TEXT = TEXT ## Formatiert eine Zahl und wandelt sie in Text um -TRIM = GLÄTTEN ## Entfernt Leerzeichen aus Text -UPPER = GROSS ## Wandelt Text in Großbuchstaben um -VALUE = WERT ## Wandelt ein Textargument in eine Zahl um diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/de/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/uk/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/uk/config deleted file mode 100644 index 532080b57..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/uk/config +++ /dev/null @@ -1,32 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -## -## (For future use) -## -currencySymbol = £ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/uk/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/uk/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/en/uk/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/config deleted file mode 100644 index 96cfa69db..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = $ ## I'm surprised that the Excel Documentation suggests $ rather than € - - -## -## Excel Error Codes (For future use) -## -NULL = #¡NULO! -DIV0 = #¡DIV/0! -VALUE = #¡VALOR! -REF = #¡REF! -NAME = #¿NOMBRE? -NUM = #¡NÚM! -NA = #N/A diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/functions deleted file mode 100644 index 48762695b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funciones de complementos y automatización -## -GETPIVOTDATA = IMPORTARDATOSDINAMICOS ## Devuelve los datos almacenados en un informe de tabla dinámica. - - -## -## Cube functions Funciones de cubo -## -CUBEKPIMEMBER = MIEMBROKPICUBO ## Devuelve un nombre, propiedad y medida de indicador de rendimiento clave (KPI) y muestra el nombre y la propiedad en la celda. Un KPI es una medida cuantificable, como los beneficios brutos mensuales o la facturación trimestral por empleado, que se usa para supervisar el rendimiento de una organización. -CUBEMEMBER = MIEMBROCUBO ## Devuelve un miembro o tupla en una jerarquía de cubo. Se usa para validar la existencia del miembro o la tupla en el cubo. -CUBEMEMBERPROPERTY = PROPIEDADMIEMBROCUBO ## Devuelve el valor de una propiedad de miembro del cubo Se usa para validar la existencia de un nombre de miembro en el cubo y para devolver la propiedad especificada para este miembro. -CUBERANKEDMEMBER = MIEMBRORANGOCUBO ## Devuelve el miembro n, o clasificado, de un conjunto. Se usa para devolver uno o más elementos de un conjunto, por ejemplo, el representante con mejores ventas o los diez mejores alumnos. -CUBESET = CONJUNTOCUBO ## Define un conjunto calculado de miembros o tuplas mediante el envío de una expresión de conjunto al cubo en el servidor, lo que crea el conjunto y, después, devuelve dicho conjunto a Microsoft Office Excel. -CUBESETCOUNT = RECUENTOCONJUNTOCUBO ## Devuelve el número de elementos de un conjunto. -CUBEVALUE = VALORCUBO ## Devuelve un valor agregado de un cubo. - - -## -## Database functions Funciones de base de datos -## -DAVERAGE = BDPROMEDIO ## Devuelve el promedio de las entradas seleccionadas en la base de datos. -DCOUNT = BDCONTAR ## Cuenta el número de celdas que contienen números en una base de datos. -DCOUNTA = BDCONTARA ## Cuenta el número de celdas no vacías en una base de datos. -DGET = BDEXTRAER ## Extrae de una base de datos un único registro que cumple los criterios especificados. -DMAX = BDMAX ## Devuelve el valor máximo de las entradas seleccionadas de la base de datos. -DMIN = BDMIN ## Devuelve el valor mínimo de las entradas seleccionadas de la base de datos. -DPRODUCT = BDPRODUCTO ## Multiplica los valores de un campo concreto de registros de una base de datos que cumplen los criterios especificados. -DSTDEV = BDDESVEST ## Calcula la desviación estándar a partir de una muestra de entradas seleccionadas en la base de datos. -DSTDEVP = BDDESVESTP ## Calcula la desviación estándar en función de la población total de las entradas seleccionadas de la base de datos. -DSUM = BDSUMA ## Suma los números de la columna de campo de los registros de la base de datos que cumplen los criterios. -DVAR = BDVAR ## Calcula la varianza a partir de una muestra de entradas seleccionadas de la base de datos. -DVARP = BDVARP ## Calcula la varianza a partir de la población total de entradas seleccionadas de la base de datos. - - -## -## Date and time functions Funciones de fecha y hora -## -DATE = FECHA ## Devuelve el número de serie correspondiente a una fecha determinada. -DATEVALUE = FECHANUMERO ## Convierte una fecha con formato de texto en un valor de número de serie. -DAY = DIA ## Convierte un número de serie en un valor de día del mes. -DAYS360 = DIAS360 ## Calcula el número de días entre dos fechas a partir de un año de 360 días. -EDATE = FECHA.MES ## Devuelve el número de serie de la fecha equivalente al número indicado de meses anteriores o posteriores a la fecha inicial. -EOMONTH = FIN.MES ## Devuelve el número de serie correspondiente al último día del mes anterior o posterior a un número de meses especificado. -HOUR = HORA ## Convierte un número de serie en un valor de hora. -MINUTE = MINUTO ## Convierte un número de serie en un valor de minuto. -MONTH = MES ## Convierte un número de serie en un valor de mes. -NETWORKDAYS = DIAS.LAB ## Devuelve el número de todos los días laborables existentes entre dos fechas. -NOW = AHORA ## Devuelve el número de serie correspondiente a la fecha y hora actuales. -SECOND = SEGUNDO ## Convierte un número de serie en un valor de segundo. -TIME = HORA ## Devuelve el número de serie correspondiente a una hora determinada. -TIMEVALUE = HORANUMERO ## Convierte una hora con formato de texto en un valor de número de serie. -TODAY = HOY ## Devuelve el número de serie correspondiente al día actual. -WEEKDAY = DIASEM ## Convierte un número de serie en un valor de día de la semana. -WEEKNUM = NUM.DE.SEMANA ## Convierte un número de serie en un número que representa el lugar numérico correspondiente a una semana de un año. -WORKDAY = DIA.LAB ## Devuelve el número de serie de la fecha que tiene lugar antes o después de un número determinado de días laborables. -YEAR = AÑO ## Convierte un número de serie en un valor de año. -YEARFRAC = FRAC.AÑO ## Devuelve la fracción de año que representa el número total de días existentes entre el valor de fecha_inicial y el de fecha_final. - - -## -## Engineering functions Funciones de ingeniería -## -BESSELI = BESSELI ## Devuelve la función Bessel In(x) modificada. -BESSELJ = BESSELJ ## Devuelve la función Bessel Jn(x). -BESSELK = BESSELK ## Devuelve la función Bessel Kn(x) modificada. -BESSELY = BESSELY ## Devuelve la función Bessel Yn(x). -BIN2DEC = BIN.A.DEC ## Convierte un número binario en decimal. -BIN2HEX = BIN.A.HEX ## Convierte un número binario en hexadecimal. -BIN2OCT = BIN.A.OCT ## Convierte un número binario en octal. -COMPLEX = COMPLEJO ## Convierte coeficientes reales e imaginarios en un número complejo. -CONVERT = CONVERTIR ## Convierte un número de un sistema de medida a otro. -DEC2BIN = DEC.A.BIN ## Convierte un número decimal en binario. -DEC2HEX = DEC.A.HEX ## Convierte un número decimal en hexadecimal. -DEC2OCT = DEC.A.OCT ## Convierte un número decimal en octal. -DELTA = DELTA ## Comprueba si dos valores son iguales. -ERF = FUN.ERROR ## Devuelve la función de error. -ERFC = FUN.ERROR.COMPL ## Devuelve la función de error complementario. -GESTEP = MAYOR.O.IGUAL ## Comprueba si un número es mayor que un valor de umbral. -HEX2BIN = HEX.A.BIN ## Convierte un número hexadecimal en binario. -HEX2DEC = HEX.A.DEC ## Convierte un número hexadecimal en decimal. -HEX2OCT = HEX.A.OCT ## Convierte un número hexadecimal en octal. -IMABS = IM.ABS ## Devuelve el valor absoluto (módulo) de un número complejo. -IMAGINARY = IMAGINARIO ## Devuelve el coeficiente imaginario de un número complejo. -IMARGUMENT = IM.ANGULO ## Devuelve el argumento theta, un ángulo expresado en radianes. -IMCONJUGATE = IM.CONJUGADA ## Devuelve la conjugada compleja de un número complejo. -IMCOS = IM.COS ## Devuelve el coseno de un número complejo. -IMDIV = IM.DIV ## Devuelve el cociente de dos números complejos. -IMEXP = IM.EXP ## Devuelve el valor exponencial de un número complejo. -IMLN = IM.LN ## Devuelve el logaritmo natural (neperiano) de un número complejo. -IMLOG10 = IM.LOG10 ## Devuelve el logaritmo en base 10 de un número complejo. -IMLOG2 = IM.LOG2 ## Devuelve el logaritmo en base 2 de un número complejo. -IMPOWER = IM.POT ## Devuelve un número complejo elevado a una potencia entera. -IMPRODUCT = IM.PRODUCT ## Devuelve el producto de números complejos. -IMREAL = IM.REAL ## Devuelve el coeficiente real de un número complejo. -IMSIN = IM.SENO ## Devuelve el seno de un número complejo. -IMSQRT = IM.RAIZ2 ## Devuelve la raíz cuadrada de un número complejo. -IMSUB = IM.SUSTR ## Devuelve la diferencia entre dos números complejos. -IMSUM = IM.SUM ## Devuelve la suma de números complejos. -OCT2BIN = OCT.A.BIN ## Convierte un número octal en binario. -OCT2DEC = OCT.A.DEC ## Convierte un número octal en decimal. -OCT2HEX = OCT.A.HEX ## Convierte un número octal en hexadecimal. - - -## -## Financial functions Funciones financieras -## -ACCRINT = INT.ACUM ## Devuelve el interés acumulado de un valor bursátil con pagos de interés periódicos. -ACCRINTM = INT.ACUM.V ## Devuelve el interés acumulado de un valor bursátil con pagos de interés al vencimiento. -AMORDEGRC = AMORTIZ.PROGRE ## Devuelve la amortización de cada período contable mediante el uso de un coeficiente de amortización. -AMORLINC = AMORTIZ.LIN ## Devuelve la amortización de cada uno de los períodos contables. -COUPDAYBS = CUPON.DIAS.L1 ## Devuelve el número de días desde el principio del período de un cupón hasta la fecha de liquidación. -COUPDAYS = CUPON.DIAS ## Devuelve el número de días del período (entre dos cupones) donde se encuentra la fecha de liquidación. -COUPDAYSNC = CUPON.DIAS.L2 ## Devuelve el número de días desde la fecha de liquidación hasta la fecha del próximo cupón. -COUPNCD = CUPON.FECHA.L2 ## Devuelve la fecha del próximo cupón después de la fecha de liquidación. -COUPNUM = CUPON.NUM ## Devuelve el número de pagos de cupón entre la fecha de liquidación y la fecha de vencimiento. -COUPPCD = CUPON.FECHA.L1 ## Devuelve la fecha de cupón anterior a la fecha de liquidación. -CUMIPMT = PAGO.INT.ENTRE ## Devuelve el interés acumulado pagado entre dos períodos. -CUMPRINC = PAGO.PRINC.ENTRE ## Devuelve el capital acumulado pagado de un préstamo entre dos períodos. -DB = DB ## Devuelve la amortización de un bien durante un período específico a través del método de amortización de saldo fijo. -DDB = DDB ## Devuelve la amortización de un bien durante un período específico a través del método de amortización por doble disminución de saldo u otro método que se especifique. -DISC = TASA.DESC ## Devuelve la tasa de descuento de un valor bursátil. -DOLLARDE = MONEDA.DEC ## Convierte una cotización de un valor bursátil expresada en forma fraccionaria en una cotización de un valor bursátil expresada en forma decimal. -DOLLARFR = MONEDA.FRAC ## Convierte una cotización de un valor bursátil expresada en forma decimal en una cotización de un valor bursátil expresada en forma fraccionaria. -DURATION = DURACION ## Devuelve la duración anual de un valor bursátil con pagos de interés periódico. -EFFECT = INT.EFECTIVO ## Devuelve la tasa de interés anual efectiva. -FV = VF ## Devuelve el valor futuro de una inversión. -FVSCHEDULE = VF.PLAN ## Devuelve el valor futuro de un capital inicial después de aplicar una serie de tasas de interés compuesto. -INTRATE = TASA.INT ## Devuelve la tasa de interés para la inversión total de un valor bursátil. -IPMT = PAGOINT ## Devuelve el pago de intereses de una inversión durante un período determinado. -IRR = TIR ## Devuelve la tasa interna de retorno para una serie de flujos de efectivo periódicos. -ISPMT = INT.PAGO.DIR ## Calcula el interés pagado durante un período específico de una inversión. -MDURATION = DURACION.MODIF ## Devuelve la duración de Macauley modificada de un valor bursátil con un valor nominal supuesto de 100 $. -MIRR = TIRM ## Devuelve la tasa interna de retorno donde se financian flujos de efectivo positivos y negativos a tasas diferentes. -NOMINAL = TASA.NOMINAL ## Devuelve la tasa nominal de interés anual. -NPER = NPER ## Devuelve el número de períodos de una inversión. -NPV = VNA ## Devuelve el valor neto actual de una inversión en función de una serie de flujos periódicos de efectivo y una tasa de descuento. -ODDFPRICE = PRECIO.PER.IRREGULAR.1 ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil con un primer período impar. -ODDFYIELD = RENDTO.PER.IRREGULAR.1 ## Devuelve el rendimiento de un valor bursátil con un primer período impar. -ODDLPRICE = PRECIO.PER.IRREGULAR.2 ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil con un último período impar. -ODDLYIELD = RENDTO.PER.IRREGULAR.2 ## Devuelve el rendimiento de un valor bursátil con un último período impar. -PMT = PAGO ## Devuelve el pago periódico de una anualidad. -PPMT = PAGOPRIN ## Devuelve el pago de capital de una inversión durante un período determinado. -PRICE = PRECIO ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil que paga una tasa de interés periódico. -PRICEDISC = PRECIO.DESCUENTO ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil con descuento. -PRICEMAT = PRECIO.VENCIMIENTO ## Devuelve el precio por un valor nominal de 100 $ de un valor bursátil que paga interés a su vencimiento. -PV = VALACT ## Devuelve el valor actual de una inversión. -RATE = TASA ## Devuelve la tasa de interés por período de una anualidad. -RECEIVED = CANTIDAD.RECIBIDA ## Devuelve la cantidad recibida al vencimiento de un valor bursátil completamente invertido. -SLN = SLN ## Devuelve la amortización por método directo de un bien en un período dado. -SYD = SYD ## Devuelve la amortización por suma de dígitos de los años de un bien durante un período especificado. -TBILLEQ = LETRA.DE.TES.EQV.A.BONO ## Devuelve el rendimiento de un bono equivalente a una letra del Tesoro (de EE.UU.) -TBILLPRICE = LETRA.DE.TES.PRECIO ## Devuelve el precio por un valor nominal de 100 $ de una letra del Tesoro (de EE.UU.) -TBILLYIELD = LETRA.DE.TES.RENDTO ## Devuelve el rendimiento de una letra del Tesoro (de EE.UU.) -VDB = DVS ## Devuelve la amortización de un bien durante un período específico o parcial a través del método de cálculo del saldo en disminución. -XIRR = TIR.NO.PER ## Devuelve la tasa interna de retorno para un flujo de efectivo que no es necesariamente periódico. -XNPV = VNA.NO.PER ## Devuelve el valor neto actual para un flujo de efectivo que no es necesariamente periódico. -YIELD = RENDTO ## Devuelve el rendimiento de un valor bursátil que paga intereses periódicos. -YIELDDISC = RENDTO.DESC ## Devuelve el rendimiento anual de un valor bursátil con descuento; por ejemplo, una letra del Tesoro (de EE.UU.) -YIELDMAT = RENDTO.VENCTO ## Devuelve el rendimiento anual de un valor bursátil que paga intereses al vencimiento. - - -## -## Information functions Funciones de información -## -CELL = CELDA ## Devuelve información acerca del formato, la ubicación o el contenido de una celda. -ERROR.TYPE = TIPO.DE.ERROR ## Devuelve un número que corresponde a un tipo de error. -INFO = INFO ## Devuelve información acerca del entorno operativo en uso. -ISBLANK = ESBLANCO ## Devuelve VERDADERO si el valor está en blanco. -ISERR = ESERR ## Devuelve VERDADERO si el valor es cualquier valor de error excepto #N/A. -ISERROR = ESERROR ## Devuelve VERDADERO si el valor es cualquier valor de error. -ISEVEN = ES.PAR ## Devuelve VERDADERO si el número es par. -ISLOGICAL = ESLOGICO ## Devuelve VERDADERO si el valor es un valor lógico. -ISNA = ESNOD ## Devuelve VERDADERO si el valor es el valor de error #N/A. -ISNONTEXT = ESNOTEXTO ## Devuelve VERDADERO si el valor no es texto. -ISNUMBER = ESNUMERO ## Devuelve VERDADERO si el valor es un número. -ISODD = ES.IMPAR ## Devuelve VERDADERO si el número es impar. -ISREF = ESREF ## Devuelve VERDADERO si el valor es una referencia. -ISTEXT = ESTEXTO ## Devuelve VERDADERO si el valor es texto. -N = N ## Devuelve un valor convertido en un número. -NA = ND ## Devuelve el valor de error #N/A. -TYPE = TIPO ## Devuelve un número que indica el tipo de datos de un valor. - - -## -## Logical functions Funciones lógicas -## -AND = Y ## Devuelve VERDADERO si todos sus argumentos son VERDADERO. -FALSE = FALSO ## Devuelve el valor lógico FALSO. -IF = SI ## Especifica una prueba lógica que realizar. -IFERROR = SI.ERROR ## Devuelve un valor que se especifica si una fórmula lo evalúa como un error; de lo contrario, devuelve el resultado de la fórmula. -NOT = NO ## Invierte el valor lógico del argumento. -OR = O ## Devuelve VERDADERO si cualquier argumento es VERDADERO. -TRUE = VERDADERO ## Devuelve el valor lógico VERDADERO. - - -## -## Lookup and reference functions Funciones de búsqueda y referencia -## -ADDRESS = DIRECCION ## Devuelve una referencia como texto a una sola celda de una hoja de cálculo. -AREAS = AREAS ## Devuelve el número de áreas de una referencia. -CHOOSE = ELEGIR ## Elige un valor de una lista de valores. -COLUMN = COLUMNA ## Devuelve el número de columna de una referencia. -COLUMNS = COLUMNAS ## Devuelve el número de columnas de una referencia. -HLOOKUP = BUSCARH ## Busca en la fila superior de una matriz y devuelve el valor de la celda indicada. -HYPERLINK = HIPERVINCULO ## Crea un acceso directo o un salto que abre un documento almacenado en un servidor de red, en una intranet o en Internet. -INDEX = INDICE ## Usa un índice para elegir un valor de una referencia o matriz. -INDIRECT = INDIRECTO ## Devuelve una referencia indicada por un valor de texto. -LOOKUP = BUSCAR ## Busca valores de un vector o una matriz. -MATCH = COINCIDIR ## Busca valores de una referencia o matriz. -OFFSET = DESREF ## Devuelve un desplazamiento de referencia respecto a una referencia dada. -ROW = FILA ## Devuelve el número de fila de una referencia. -ROWS = FILAS ## Devuelve el número de filas de una referencia. -RTD = RDTR ## Recupera datos en tiempo real desde un programa compatible con la automatización COM (automatización: modo de trabajar con los objetos de una aplicación desde otra aplicación o herramienta de entorno. La automatización, antes denominada automatización OLE, es un estándar de la industria y una función del Modelo de objetos componentes (COM).). -TRANSPOSE = TRANSPONER ## Devuelve la transposición de una matriz. -VLOOKUP = BUSCARV ## Busca en la primera columna de una matriz y se mueve en horizontal por la fila para devolver el valor de una celda. - - -## -## Math and trigonometry functions Funciones matemáticas y trigonométricas -## -ABS = ABS ## Devuelve el valor absoluto de un número. -ACOS = ACOS ## Devuelve el arcocoseno de un número. -ACOSH = ACOSH ## Devuelve el coseno hiperbólico inverso de un número. -ASIN = ASENO ## Devuelve el arcoseno de un número. -ASINH = ASENOH ## Devuelve el seno hiperbólico inverso de un número. -ATAN = ATAN ## Devuelve la arcotangente de un número. -ATAN2 = ATAN2 ## Devuelve la arcotangente de las coordenadas "x" e "y". -ATANH = ATANH ## Devuelve la tangente hiperbólica inversa de un número. -CEILING = MULTIPLO.SUPERIOR ## Redondea un número al entero más próximo o al múltiplo significativo más cercano. -COMBIN = COMBINAT ## Devuelve el número de combinaciones para un número determinado de objetos. -COS = COS ## Devuelve el coseno de un número. -COSH = COSH ## Devuelve el coseno hiperbólico de un número. -DEGREES = GRADOS ## Convierte radianes en grados. -EVEN = REDONDEA.PAR ## Redondea un número hasta el entero par más próximo. -EXP = EXP ## Devuelve e elevado a la potencia de un número dado. -FACT = FACT ## Devuelve el factorial de un número. -FACTDOUBLE = FACT.DOBLE ## Devuelve el factorial doble de un número. -FLOOR = MULTIPLO.INFERIOR ## Redondea un número hacia abajo, en dirección hacia cero. -GCD = M.C.D ## Devuelve el máximo común divisor. -INT = ENTERO ## Redondea un número hacia abajo hasta el entero más próximo. -LCM = M.C.M ## Devuelve el mínimo común múltiplo. -LN = LN ## Devuelve el logaritmo natural (neperiano) de un número. -LOG = LOG ## Devuelve el logaritmo de un número en una base especificada. -LOG10 = LOG10 ## Devuelve el logaritmo en base 10 de un número. -MDETERM = MDETERM ## Devuelve la determinante matricial de una matriz. -MINVERSE = MINVERSA ## Devuelve la matriz inversa de una matriz. -MMULT = MMULT ## Devuelve el producto de matriz de dos matrices. -MOD = RESIDUO ## Devuelve el resto de la división. -MROUND = REDOND.MULT ## Devuelve un número redondeado al múltiplo deseado. -MULTINOMIAL = MULTINOMIAL ## Devuelve el polinomio de un conjunto de números. -ODD = REDONDEA.IMPAR ## Redondea un número hacia arriba hasta el entero impar más próximo. -PI = PI ## Devuelve el valor de pi. -POWER = POTENCIA ## Devuelve el resultado de elevar un número a una potencia. -PRODUCT = PRODUCTO ## Multiplica sus argumentos. -QUOTIENT = COCIENTE ## Devuelve la parte entera de una división. -RADIANS = RADIANES ## Convierte grados en radianes. -RAND = ALEATORIO ## Devuelve un número aleatorio entre 0 y 1. -RANDBETWEEN = ALEATORIO.ENTRE ## Devuelve un número aleatorio entre los números que especifique. -ROMAN = NUMERO.ROMANO ## Convierte un número arábigo en número romano, con formato de texto. -ROUND = REDONDEAR ## Redondea un número al número de decimales especificado. -ROUNDDOWN = REDONDEAR.MENOS ## Redondea un número hacia abajo, en dirección hacia cero. -ROUNDUP = REDONDEAR.MAS ## Redondea un número hacia arriba, en dirección contraria a cero. -SERIESSUM = SUMA.SERIES ## Devuelve la suma de una serie de potencias en función de la fórmula. -SIGN = SIGNO ## Devuelve el signo de un número. -SIN = SENO ## Devuelve el seno de un ángulo determinado. -SINH = SENOH ## Devuelve el seno hiperbólico de un número. -SQRT = RAIZ ## Devuelve la raíz cuadrada positiva de un número. -SQRTPI = RAIZ2PI ## Devuelve la raíz cuadrada de un número multiplicado por PI (número * pi). -SUBTOTAL = SUBTOTALES ## Devuelve un subtotal en una lista o base de datos. -SUM = SUMA ## Suma sus argumentos. -SUMIF = SUMAR.SI ## Suma las celdas especificadas que cumplen unos criterios determinados. -SUMIFS = SUMAR.SI.CONJUNTO ## Suma las celdas de un rango que cumplen varios criterios. -SUMPRODUCT = SUMAPRODUCTO ## Devuelve la suma de los productos de los correspondientes componentes de matriz. -SUMSQ = SUMA.CUADRADOS ## Devuelve la suma de los cuadrados de los argumentos. -SUMX2MY2 = SUMAX2MENOSY2 ## Devuelve la suma de la diferencia de los cuadrados de los valores correspondientes de dos matrices. -SUMX2PY2 = SUMAX2MASY2 ## Devuelve la suma de la suma de los cuadrados de los valores correspondientes de dos matrices. -SUMXMY2 = SUMAXMENOSY2 ## Devuelve la suma de los cuadrados de las diferencias de los valores correspondientes de dos matrices. -TAN = TAN ## Devuelve la tangente de un número. -TANH = TANH ## Devuelve la tangente hiperbólica de un número. -TRUNC = TRUNCAR ## Trunca un número a un entero. - - -## -## Statistical functions Funciones estadísticas -## -AVEDEV = DESVPROM ## Devuelve el promedio de las desviaciones absolutas de la media de los puntos de datos. -AVERAGE = PROMEDIO ## Devuelve el promedio de sus argumentos. -AVERAGEA = PROMEDIOA ## Devuelve el promedio de sus argumentos, incluidos números, texto y valores lógicos. -AVERAGEIF = PROMEDIO.SI ## Devuelve el promedio (media aritmética) de todas las celdas de un rango que cumplen unos criterios determinados. -AVERAGEIFS = PROMEDIO.SI.CONJUNTO ## Devuelve el promedio (media aritmética) de todas las celdas que cumplen múltiples criterios. -BETADIST = DISTR.BETA ## Devuelve la función de distribución beta acumulativa. -BETAINV = DISTR.BETA.INV ## Devuelve la función inversa de la función de distribución acumulativa de una distribución beta especificada. -BINOMDIST = DISTR.BINOM ## Devuelve la probabilidad de una variable aleatoria discreta siguiendo una distribución binomial. -CHIDIST = DISTR.CHI ## Devuelve la probabilidad de una variable aleatoria continua siguiendo una distribución chi cuadrado de una sola cola. -CHIINV = PRUEBA.CHI.INV ## Devuelve la función inversa de la probabilidad de una variable aleatoria continua siguiendo una distribución chi cuadrado de una sola cola. -CHITEST = PRUEBA.CHI ## Devuelve la prueba de independencia. -CONFIDENCE = INTERVALO.CONFIANZA ## Devuelve el intervalo de confianza de la media de una población. -CORREL = COEF.DE.CORREL ## Devuelve el coeficiente de correlación entre dos conjuntos de datos. -COUNT = CONTAR ## Cuenta cuántos números hay en la lista de argumentos. -COUNTA = CONTARA ## Cuenta cuántos valores hay en la lista de argumentos. -COUNTBLANK = CONTAR.BLANCO ## Cuenta el número de celdas en blanco de un rango. -COUNTIF = CONTAR.SI ## Cuenta el número de celdas, dentro del rango, que cumplen el criterio especificado. -COUNTIFS = CONTAR.SI.CONJUNTO ## Cuenta el número de celdas, dentro del rango, que cumplen varios criterios. -COVAR = COVAR ## Devuelve la covarianza, que es el promedio de los productos de las desviaciones para cada pareja de puntos de datos. -CRITBINOM = BINOM.CRIT ## Devuelve el menor valor cuya distribución binomial acumulativa es menor o igual a un valor de criterio. -DEVSQ = DESVIA2 ## Devuelve la suma de los cuadrados de las desviaciones. -EXPONDIST = DISTR.EXP ## Devuelve la distribución exponencial. -FDIST = DISTR.F ## Devuelve la distribución de probabilidad F. -FINV = DISTR.F.INV ## Devuelve la función inversa de la distribución de probabilidad F. -FISHER = FISHER ## Devuelve la transformación Fisher. -FISHERINV = PRUEBA.FISHER.INV ## Devuelve la función inversa de la transformación Fisher. -FORECAST = PRONOSTICO ## Devuelve un valor en una tendencia lineal. -FREQUENCY = FRECUENCIA ## Devuelve una distribución de frecuencia como una matriz vertical. -FTEST = PRUEBA.F ## Devuelve el resultado de una prueba F. -GAMMADIST = DISTR.GAMMA ## Devuelve la distribución gamma. -GAMMAINV = DISTR.GAMMA.INV ## Devuelve la función inversa de la distribución gamma acumulativa. -GAMMALN = GAMMA.LN ## Devuelve el logaritmo natural de la función gamma, G(x). -GEOMEAN = MEDIA.GEOM ## Devuelve la media geométrica. -GROWTH = CRECIMIENTO ## Devuelve valores en una tendencia exponencial. -HARMEAN = MEDIA.ARMO ## Devuelve la media armónica. -HYPGEOMDIST = DISTR.HIPERGEOM ## Devuelve la distribución hipergeométrica. -INTERCEPT = INTERSECCION.EJE ## Devuelve la intersección de la línea de regresión lineal. -KURT = CURTOSIS ## Devuelve la curtosis de un conjunto de datos. -LARGE = K.ESIMO.MAYOR ## Devuelve el k-ésimo mayor valor de un conjunto de datos. -LINEST = ESTIMACION.LINEAL ## Devuelve los parámetros de una tendencia lineal. -LOGEST = ESTIMACION.LOGARITMICA ## Devuelve los parámetros de una tendencia exponencial. -LOGINV = DISTR.LOG.INV ## Devuelve la función inversa de la distribución logarítmico-normal. -LOGNORMDIST = DISTR.LOG.NORM ## Devuelve la distribución logarítmico-normal acumulativa. -MAX = MAX ## Devuelve el valor máximo de una lista de argumentos. -MAXA = MAXA ## Devuelve el valor máximo de una lista de argumentos, incluidos números, texto y valores lógicos. -MEDIAN = MEDIANA ## Devuelve la mediana de los números dados. -MIN = MIN ## Devuelve el valor mínimo de una lista de argumentos. -MINA = MINA ## Devuelve el valor mínimo de una lista de argumentos, incluidos números, texto y valores lógicos. -MODE = MODA ## Devuelve el valor más común de un conjunto de datos. -NEGBINOMDIST = NEGBINOMDIST ## Devuelve la distribución binomial negativa. -NORMDIST = DISTR.NORM ## Devuelve la distribución normal acumulativa. -NORMINV = DISTR.NORM.INV ## Devuelve la función inversa de la distribución normal acumulativa. -NORMSDIST = DISTR.NORM.ESTAND ## Devuelve la distribución normal estándar acumulativa. -NORMSINV = DISTR.NORM.ESTAND.INV ## Devuelve la función inversa de la distribución normal estándar acumulativa. -PEARSON = PEARSON ## Devuelve el coeficiente de momento de correlación de producto Pearson. -PERCENTILE = PERCENTIL ## Devuelve el k-ésimo percentil de los valores de un rango. -PERCENTRANK = RANGO.PERCENTIL ## Devuelve el rango porcentual de un valor de un conjunto de datos. -PERMUT = PERMUTACIONES ## Devuelve el número de permutaciones de un número determinado de objetos. -POISSON = POISSON ## Devuelve la distribución de Poisson. -PROB = PROBABILIDAD ## Devuelve la probabilidad de que los valores de un rango se encuentren entre dos límites. -QUARTILE = CUARTIL ## Devuelve el cuartil de un conjunto de datos. -RANK = JERARQUIA ## Devuelve la jerarquía de un número en una lista de números. -RSQ = COEFICIENTE.R2 ## Devuelve el cuadrado del coeficiente de momento de correlación de producto Pearson. -SKEW = COEFICIENTE.ASIMETRIA ## Devuelve la asimetría de una distribución. -SLOPE = PENDIENTE ## Devuelve la pendiente de la línea de regresión lineal. -SMALL = K.ESIMO.MENOR ## Devuelve el k-ésimo menor valor de un conjunto de datos. -STANDARDIZE = NORMALIZACION ## Devuelve un valor normalizado. -STDEV = DESVEST ## Calcula la desviación estándar a partir de una muestra. -STDEVA = DESVESTA ## Calcula la desviación estándar a partir de una muestra, incluidos números, texto y valores lógicos. -STDEVP = DESVESTP ## Calcula la desviación estándar en función de toda la población. -STDEVPA = DESVESTPA ## Calcula la desviación estándar en función de toda la población, incluidos números, texto y valores lógicos. -STEYX = ERROR.TIPICO.XY ## Devuelve el error estándar del valor de "y" previsto para cada "x" de la regresión. -TDIST = DISTR.T ## Devuelve la distribución de t de Student. -TINV = DISTR.T.INV ## Devuelve la función inversa de la distribución de t de Student. -TREND = TENDENCIA ## Devuelve valores en una tendencia lineal. -TRIMMEAN = MEDIA.ACOTADA ## Devuelve la media del interior de un conjunto de datos. -TTEST = PRUEBA.T ## Devuelve la probabilidad asociada a una prueba t de Student. -VAR = VAR ## Calcula la varianza en función de una muestra. -VARA = VARA ## Calcula la varianza en función de una muestra, incluidos números, texto y valores lógicos. -VARP = VARP ## Calcula la varianza en función de toda la población. -VARPA = VARPA ## Calcula la varianza en función de toda la población, incluidos números, texto y valores lógicos. -WEIBULL = DIST.WEIBULL ## Devuelve la distribución de Weibull. -ZTEST = PRUEBA.Z ## Devuelve el valor de una probabilidad de una cola de una prueba z. - - -## -## Text functions Funciones de texto -## -ASC = ASC ## Convierte las letras inglesas o katakana de ancho completo (de dos bytes) dentro de una cadena de caracteres en caracteres de ancho medio (de un byte). -BAHTTEXT = TEXTOBAHT ## Convierte un número en texto, con el formato de moneda ß (Baht). -CHAR = CARACTER ## Devuelve el carácter especificado por el número de código. -CLEAN = LIMPIAR ## Quita del texto todos los caracteres no imprimibles. -CODE = CODIGO ## Devuelve un código numérico del primer carácter de una cadena de texto. -CONCATENATE = CONCATENAR ## Concatena varios elementos de texto en uno solo. -DOLLAR = MONEDA ## Convierte un número en texto, con el formato de moneda $ (dólar). -EXACT = IGUAL ## Comprueba si dos valores de texto son idénticos. -FIND = ENCONTRAR ## Busca un valor de texto dentro de otro (distingue mayúsculas de minúsculas). -FINDB = ENCONTRARB ## Busca un valor de texto dentro de otro (distingue mayúsculas de minúsculas). -FIXED = DECIMAL ## Da formato a un número como texto con un número fijo de decimales. -JIS = JIS ## Convierte las letras inglesas o katakana de ancho medio (de un byte) dentro de una cadena de caracteres en caracteres de ancho completo (de dos bytes). -LEFT = IZQUIERDA ## Devuelve los caracteres del lado izquierdo de un valor de texto. -LEFTB = IZQUIERDAB ## Devuelve los caracteres del lado izquierdo de un valor de texto. -LEN = LARGO ## Devuelve el número de caracteres de una cadena de texto. -LENB = LARGOB ## Devuelve el número de caracteres de una cadena de texto. -LOWER = MINUSC ## Pone el texto en minúsculas. -MID = EXTRAE ## Devuelve un número específico de caracteres de una cadena de texto que comienza en la posición que se especifique. -MIDB = EXTRAEB ## Devuelve un número específico de caracteres de una cadena de texto que comienza en la posición que se especifique. -PHONETIC = FONETICO ## Extrae los caracteres fonéticos (furigana) de una cadena de texto. -PROPER = NOMPROPIO ## Pone en mayúscula la primera letra de cada palabra de un valor de texto. -REPLACE = REEMPLAZAR ## Reemplaza caracteres de texto. -REPLACEB = REEMPLAZARB ## Reemplaza caracteres de texto. -REPT = REPETIR ## Repite el texto un número determinado de veces. -RIGHT = DERECHA ## Devuelve los caracteres del lado derecho de un valor de texto. -RIGHTB = DERECHAB ## Devuelve los caracteres del lado derecho de un valor de texto. -SEARCH = HALLAR ## Busca un valor de texto dentro de otro (no distingue mayúsculas de minúsculas). -SEARCHB = HALLARB ## Busca un valor de texto dentro de otro (no distingue mayúsculas de minúsculas). -SUBSTITUTE = SUSTITUIR ## Sustituye texto nuevo por texto antiguo en una cadena de texto. -T = T ## Convierte sus argumentos a texto. -TEXT = TEXTO ## Da formato a un número y lo convierte en texto. -TRIM = ESPACIOS ## Quita los espacios del texto. -UPPER = MAYUSC ## Pone el texto en mayúsculas. -VALUE = VALOR ## Convierte un argumento de texto en un número. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/es/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/config deleted file mode 100644 index 498cf4ceb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = $ # Symbol not known, should it be a € (Euro)? - - -## -## Excel Error Codes (For future use) -## -NULL = #TYHJÄ! -DIV0 = #JAKO/0! -VALUE = #ARVO! -REF = #VIITTAUS! -NAME = #NIMI? -NUM = #LUKU! -NA = #PUUTTUU diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/functions deleted file mode 100644 index 6a7c2b36f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Apuohjelma- ja automaatiofunktiot -## -GETPIVOTDATA = NOUDA.PIVOT.TIEDOT ## Palauttaa pivot-taulukkoraporttiin tallennettuja tietoja. - - -## -## Cube functions Kuutiofunktiot -## -CUBEKPIMEMBER = KUUTIOKPIJÄSEN ## Palauttaa suorituskykyilmaisimen (KPI) nimen, ominaisuuden sekä mitan ja näyttää nimen sekä ominaisuuden solussa. KPI on mitattavissa oleva suure, kuten kuukauden bruttotuotto tai vuosineljänneksen työntekijäkohtainen liikevaihto, joiden avulla tarkkaillaan organisaation suorituskykyä. -CUBEMEMBER = KUUTIONJÄSEN ## Palauttaa kuutiohierarkian jäsenen tai monikon. Tällä funktiolla voit tarkistaa, että jäsen tai monikko on olemassa kuutiossa. -CUBEMEMBERPROPERTY = KUUTIONJÄSENENOMINAISUUS ## Palauttaa kuution jäsenominaisuuden arvon. Tällä funktiolla voit tarkistaa, että nimi on olemassa kuutiossa, ja palauttaa tämän jäsenen määritetyn ominaisuuden. -CUBERANKEDMEMBER = KUUTIONLUOKITELTUJÄSEN ## Palauttaa joukon n:nnen jäsenen. Tällä funktiolla voit palauttaa joukosta elementtejä, kuten parhaan myyjän tai 10 parasta opiskelijaa. -CUBESET = KUUTIOJOUKKO ## Määrittää lasketun jäsen- tai monikkojoukon lähettämällä joukon lausekkeita palvelimessa olevalle kuutiolle. Palvelin luo joukon ja palauttaa sen Microsoft Office Excelille. -CUBESETCOUNT = KUUTIOJOUKKOJENMÄÄRÄ ## Palauttaa joukon kohteiden määrän. -CUBEVALUE = KUUTIONARVO ## Palauttaa koostetun arvon kuutiosta. - - -## -## Database functions Tietokantafunktiot -## -DAVERAGE = TKESKIARVO ## Palauttaa valittujen tietokantamerkintöjen keskiarvon. -DCOUNT = TLASKE ## Laskee tietokannan lukuja sisältävien solujen määrän. -DCOUNTA = TLASKEA ## Laskee tietokannan tietoja sisältävien solujen määrän. -DGET = TNOUDA ## Hakee määritettyjä ehtoja vastaavan tietueen tietokannasta. -DMAX = TMAKS ## Palauttaa suurimman arvon tietokannasta valittujen arvojen joukosta. -DMIN = TMIN ## Palauttaa pienimmän arvon tietokannasta valittujen arvojen joukosta. -DPRODUCT = TTULO ## Kertoo määritetyn ehdon täyttävien tietokannan tietueiden tietyssä kentässä olevat arvot. -DSTDEV = TKESKIHAJONTA ## Laskee keskihajonnan tietokannasta valituista arvoista muodostuvan otoksen perusteella. -DSTDEVP = TKESKIHAJONTAP ## Laskee keskihajonnan tietokannasta valittujen arvojen koko populaation perusteella. -DSUM = TSUMMA ## Lisää luvut määritetyn ehdon täyttävien tietokannan tietueiden kenttäsarakkeeseen. -DVAR = TVARIANSSI ## Laskee varianssin tietokannasta valittujen arvojen otoksen perusteella. -DVARP = TVARIANSSIP ## Laskee varianssin tietokannasta valittujen arvojen koko populaation perusteella. - - -## -## Date and time functions Päivämäärä- ja aikafunktiot -## -DATE = PÄIVÄYS ## Palauttaa annetun päivämäärän järjestysluvun. -DATEVALUE = PÄIVÄYSARVO ## Muuntaa tekstimuodossa olevan päivämäärän järjestysluvuksi. -DAY = PÄIVÄ ## Muuntaa järjestysluvun kuukauden päiväksi. -DAYS360 = PÄIVÄT360 ## Laskee kahden päivämäärän välisten päivien määrän käyttäen perustana 360-päiväistä vuotta. -EDATE = PÄIVÄ.KUUKAUSI ## Palauttaa järjestyslukuna päivämäärän, joka poikkeaa aloituspäivän päivämäärästä annetun kuukausimäärän verran joko eteen- tai taaksepäin. -EOMONTH = KUUKAUSI.LOPPU ## Palauttaa järjestyslukuna sen kuukauden viimeisen päivämäärän, joka poikkeaa annetun kuukausimäärän verran eteen- tai taaksepäin. -HOUR = TUNNIT ## Muuntaa järjestysluvun tunneiksi. -MINUTE = MINUUTIT ## Muuntaa järjestysluvun minuuteiksi. -MONTH = KUUKAUSI ## Muuntaa järjestysluvun kuukausiksi. -NETWORKDAYS = TYÖPÄIVÄT ## Palauttaa kahden päivämäärän välissä olevien täysien työpäivien määrän. -NOW = NYT ## Palauttaa kuluvan päivämäärän ja ajan järjestysnumeron. -SECOND = SEKUNNIT ## Muuntaa järjestysluvun sekunneiksi. -TIME = AIKA ## Palauttaa annetun kellonajan järjestysluvun. -TIMEVALUE = AIKA_ARVO ## Muuntaa tekstimuodossa olevan kellonajan järjestysluvuksi. -TODAY = TÄMÄ.PÄIVÄ ## Palauttaa kuluvan päivän päivämäärän järjestysluvun. -WEEKDAY = VIIKONPÄIVÄ ## Muuntaa järjestysluvun viikonpäiväksi. -WEEKNUM = VIIKKO.NRO ## Muuntaa järjestysluvun luvuksi, joka ilmaisee viikon järjestysluvun vuoden alusta laskettuna. -WORKDAY = TYÖPÄIVÄ ## Palauttaa järjestysluvun päivämäärälle, joka sijaitsee annettujen työpäivien verran eteen tai taaksepäin. -YEAR = VUOSI ## Muuntaa järjestysluvun vuosiksi. -YEARFRAC = VUOSI.OSA ## Palauttaa määritettyjen päivämäärien (aloituspäivä ja lopetuspäivä) välisen osan vuodesta. - - -## -## Engineering functions Tekniset funktiot -## -BESSELI = BESSELI ## Palauttaa muunnetun Bessel-funktion In(x). -BESSELJ = BESSELJ ## Palauttaa Bessel-funktion Jn(x). -BESSELK = BESSELK ## Palauttaa muunnetun Bessel-funktion Kn(x). -BESSELY = BESSELY ## Palauttaa Bessel-funktion Yn(x). -BIN2DEC = BINDES ## Muuntaa binaariluvun desimaaliluvuksi. -BIN2HEX = BINHEKSA ## Muuntaa binaariluvun heksadesimaaliluvuksi. -BIN2OCT = BINOKT ## Muuntaa binaariluvun oktaaliluvuksi. -COMPLEX = KOMPLEKSI ## Muuntaa reaali- ja imaginaariosien kertoimet kompleksiluvuksi. -CONVERT = MUUNNA ## Muuntaa luvun toisen mittajärjestelmän mukaiseksi. -DEC2BIN = DESBIN ## Muuntaa desimaaliluvun binaariluvuksi. -DEC2HEX = DESHEKSA ## Muuntaa kymmenjärjestelmän luvun heksadesimaaliluvuksi. -DEC2OCT = DESOKT ## Muuntaa kymmenjärjestelmän luvun oktaaliluvuksi. -DELTA = SAMA.ARVO ## Tarkistaa, ovatko kaksi arvoa yhtä suuria. -ERF = VIRHEFUNKTIO ## Palauttaa virhefunktion. -ERFC = VIRHEFUNKTIO.KOMPLEMENTTI ## Palauttaa komplementtivirhefunktion. -GESTEP = RAJA ## Testaa, onko luku suurempi kuin kynnysarvo. -HEX2BIN = HEKSABIN ## Muuntaa heksadesimaaliluvun binaariluvuksi. -HEX2DEC = HEKSADES ## Muuntaa heksadesimaaliluvun desimaaliluvuksi. -HEX2OCT = HEKSAOKT ## Muuntaa heksadesimaaliluvun oktaaliluvuksi. -IMABS = KOMPLEKSI.ITSEISARVO ## Palauttaa kompleksiluvun itseisarvon (moduluksen). -IMAGINARY = KOMPLEKSI.IMAG ## Palauttaa kompleksiluvun imaginaariosan kertoimen. -IMARGUMENT = KOMPLEKSI.ARG ## Palauttaa theeta-argumentin, joka on radiaaneina annettu kulma. -IMCONJUGATE = KOMPLEKSI.KONJ ## Palauttaa kompleksiluvun konjugaattiluvun. -IMCOS = KOMPLEKSI.COS ## Palauttaa kompleksiluvun kosinin. -IMDIV = KOMPLEKSI.OSAM ## Palauttaa kahden kompleksiluvun osamäärän. -IMEXP = KOMPLEKSI.EKSP ## Palauttaa kompleksiluvun eksponentin. -IMLN = KOMPLEKSI.LN ## Palauttaa kompleksiluvun luonnollisen logaritmin. -IMLOG10 = KOMPLEKSI.LOG10 ## Palauttaa kompleksiluvun kymmenkantaisen logaritmin. -IMLOG2 = KOMPLEKSI.LOG2 ## Palauttaa kompleksiluvun kaksikantaisen logaritmin. -IMPOWER = KOMPLEKSI.POT ## Palauttaa kokonaislukupotenssiin korotetun kompleksiluvun. -IMPRODUCT = KOMPLEKSI.TULO ## Palauttaa kompleksilukujen tulon. -IMREAL = KOMPLEKSI.REAALI ## Palauttaa kompleksiluvun reaaliosan kertoimen. -IMSIN = KOMPLEKSI.SIN ## Palauttaa kompleksiluvun sinin. -IMSQRT = KOMPLEKSI.NELIÖJ ## Palauttaa kompleksiluvun neliöjuuren. -IMSUB = KOMPLEKSI.EROTUS ## Palauttaa kahden kompleksiluvun erotuksen. -IMSUM = KOMPLEKSI.SUM ## Palauttaa kompleksilukujen summan. -OCT2BIN = OKTBIN ## Muuntaa oktaaliluvun binaariluvuksi. -OCT2DEC = OKTDES ## Muuntaa oktaaliluvun desimaaliluvuksi. -OCT2HEX = OKTHEKSA ## Muuntaa oktaaliluvun heksadesimaaliluvuksi. - - -## -## Financial functions Rahoitusfunktiot -## -ACCRINT = KERTYNYT.KORKO ## Laskee arvopaperille kertyneen koron, kun korko kertyy säännöllisin väliajoin. -ACCRINTM = KERTYNYT.KORKO.LOPUSSA ## Laskee arvopaperille kertyneen koron, kun korko maksetaan eräpäivänä. -AMORDEGRC = AMORDEGRC ## Laskee kunkin laskentakauden poiston poistokerrointa käyttämällä. -AMORLINC = AMORLINC ## Palauttaa kunkin laskentakauden poiston. -COUPDAYBS = KORKOPÄIVÄT.ALUSTA ## Palauttaa koronmaksukauden aloituspäivän ja tilityspäivän välisen ajanjakson päivien määrän. -COUPDAYS = KORKOPÄIVÄT ## Palauttaa päivien määrän koronmaksukaudelta, johon tilityspäivä kuuluu. -COUPDAYSNC = KORKOPÄIVÄT.SEURAAVA ## Palauttaa tilityspäivän ja seuraavan koronmaksupäivän välisen ajanjakson päivien määrän. -COUPNCD = KORKOMAKSU.SEURAAVA ## Palauttaa tilityspäivän jälkeisen seuraavan koronmaksupäivän. -COUPNUM = KORKOPÄIVÄJAKSOT ## Palauttaa arvopaperin ostopäivän ja erääntymispäivän välisten koronmaksupäivien määrän. -COUPPCD = KORKOPÄIVÄ.EDELLINEN ## Palauttaa tilityspäivää edeltävän koronmaksupäivän. -CUMIPMT = MAKSETTU.KORKO ## Palauttaa kahden jakson välisenä aikana kertyneen koron. -CUMPRINC = MAKSETTU.LYHENNYS ## Palauttaa lainalle kahden jakson välisenä aikana kertyneen lyhennyksen. -DB = DB ## Palauttaa kauden kirjanpidollisen poiston amerikkalaisen DB-menetelmän (Fixed-declining balance) mukaan. -DDB = DDB ## Palauttaa kauden kirjanpidollisen poiston amerikkalaisen DDB-menetelmän (Double-Declining Balance) tai jonkin muun määrittämäsi menetelmän mukaan. -DISC = DISKONTTOKORKO ## Palauttaa arvopaperin diskonttokoron. -DOLLARDE = VALUUTTA.DES ## Muuntaa murtolukuna ilmoitetun valuuttamäärän desimaaliluvuksi. -DOLLARFR = VALUUTTA.MURTO ## Muuntaa desimaalilukuna ilmaistun valuuttamäärän murtoluvuksi. -DURATION = KESTO ## Palauttaa keston arvopaperille, jonka koronmaksu tapahtuu säännöllisesti. -EFFECT = KORKO.EFEKT ## Palauttaa todellisen vuosikoron. -FV = TULEVA.ARVO ## Palauttaa sijoituksen tulevan arvon. -FVSCHEDULE = TULEVA.ARVO.ERIKORKO ## Palauttaa pääoman tulevan arvon, kun pääomalle on kertynyt korkoa vaihtelevasti. -INTRATE = KORKO.ARVOPAPERI ## Palauttaa arvopaperin korkokannan täysin sijoitetulle arvopaperille. -IPMT = IPMT ## Laskee sijoitukselle tai lainalle tiettynä ajanjaksona kertyvän koron. -IRR = SISÄINEN.KORKO ## Laskee sisäisen korkokannan kassavirrasta muodostuvalle sarjalle. -ISPMT = ONMAKSU ## Laskee sijoituksen maksetun koron tietyllä jaksolla. -MDURATION = KESTO.MUUNN ## Palauttaa muunnetun Macauley-keston arvopaperille, jonka oletettu nimellisarvo on 100 euroa. -MIRR = MSISÄINEN ## Palauttaa sisäisen korkokannan, kun positiivisten ja negatiivisten kassavirtojen rahoituskorko on erilainen. -NOMINAL = KORKO.VUOSI ## Palauttaa vuosittaisen nimelliskoron. -NPER = NJAKSO ## Palauttaa sijoituksen jaksojen määrän. -NPV = NNA ## Palauttaa sijoituksen nykyarvon toistuvista kassavirroista muodostuvan sarjan ja diskonttokoron perusteella. -ODDFPRICE = PARITON.ENS.NIMELLISARVO ## Palauttaa arvopaperin hinnan tilanteessa, jossa ensimmäinen jakso on pariton. -ODDFYIELD = PARITON.ENS.TUOTTO ## Palauttaa arvopaperin tuoton tilanteessa, jossa ensimmäinen jakso on pariton. -ODDLPRICE = PARITON.VIIM.NIMELLISARVO ## Palauttaa arvopaperin hinnan tilanteessa, jossa viimeinen jakso on pariton. -ODDLYIELD = PARITON.VIIM.TUOTTO ## Palauttaa arvopaperin tuoton tilanteessa, jossa viimeinen jakso on pariton. -PMT = MAKSU ## Palauttaa annuiteetin kausittaisen maksuerän. -PPMT = PPMT ## Laskee sijoitukselle tai lainalle tiettynä ajanjaksona maksettavan lyhennyksen. -PRICE = HINTA ## Palauttaa hinnan 100 euron nimellisarvoa kohden arvopaperille, jonka korko maksetaan säännöllisin väliajoin. -PRICEDISC = HINTA.DISK ## Palauttaa diskontatun arvopaperin hinnan 100 euron nimellisarvoa kohden. -PRICEMAT = HINTA.LUNASTUS ## Palauttaa hinnan 100 euron nimellisarvoa kohden arvopaperille, jonka korko maksetaan erääntymispäivänä. -PV = NA ## Palauttaa sijoituksen nykyarvon. -RATE = KORKO ## Palauttaa annuiteetin kausittaisen korkokannan. -RECEIVED = SAATU.HINTA ## Palauttaa arvopaperin tuoton erääntymispäivänä kokonaan maksetulle sijoitukselle. -SLN = STP ## Palauttaa sijoituksen tasapoiston yhdeltä jaksolta. -SYD = VUOSIPOISTO ## Palauttaa sijoituksen vuosipoiston annettuna kautena amerikkalaisen SYD-menetelmän (Sum-of-Year's Digits) avulla. -TBILLEQ = OBLIG.TUOTTOPROS ## Palauttaa valtion obligaation tuoton vastaavana joukkovelkakirjan tuottona. -TBILLPRICE = OBLIG.HINTA ## Palauttaa obligaation hinnan 100 euron nimellisarvoa kohden. -TBILLYIELD = OBLIG.TUOTTO ## Palauttaa obligaation tuoton. -VDB = VDB ## Palauttaa annetun kauden tai kauden osan kirjanpidollisen poiston amerikkalaisen DB-menetelmän (Fixed-declining balance) mukaan. -XIRR = SISÄINEN.KORKO.JAKSOTON ## Palauttaa sisäisen korkokannan kassavirtojen sarjoille, jotka eivät välttämättä ole säännöllisiä. -XNPV = NNA.JAKSOTON ## Palauttaa nettonykyarvon kassavirtasarjalle, joka ei välttämättä ole kausittainen. -YIELD = TUOTTO ## Palauttaa tuoton arvopaperille, jonka korko maksetaan säännöllisin väliajoin. -YIELDDISC = TUOTTO.DISK ## Palauttaa diskontatun arvopaperin, kuten obligaation, vuosittaisen tuoton. -YIELDMAT = TUOTTO.ERÄP ## Palauttaa erääntymispäivänään korkoa tuottavan arvopaperin vuosittaisen tuoton. - - -## -## Information functions Erikoisfunktiot -## -CELL = SOLU ## Palauttaa tietoja solun muotoilusta, sijainnista ja sisällöstä. -ERROR.TYPE = VIRHEEN.LAJI ## Palauttaa virhetyyppiä vastaavan luvun. -INFO = KUVAUS ## Palauttaa tietoja nykyisestä käyttöympäristöstä. -ISBLANK = ONTYHJÄ ## Palauttaa arvon TOSI, jos arvo on tyhjä. -ISERR = ONVIRH ## Palauttaa arvon TOSI, jos arvo on mikä tahansa virhearvo paitsi arvo #PUUTTUU!. -ISERROR = ONVIRHE ## Palauttaa arvon TOSI, jos arvo on mikä tahansa virhearvo. -ISEVEN = ONPARILLINEN ## Palauttaa arvon TOSI, jos arvo on parillinen. -ISLOGICAL = ONTOTUUS ## Palauttaa arvon TOSI, jos arvo on mikä tahansa looginen arvo. -ISNA = ONPUUTTUU ## Palauttaa arvon TOSI, jos virhearvo on #PUUTTUU!. -ISNONTEXT = ONEI_TEKSTI ## Palauttaa arvon TOSI, jos arvo ei ole teksti. -ISNUMBER = ONLUKU ## Palauttaa arvon TOSI, jos arvo on luku. -ISODD = ONPARITON ## Palauttaa arvon TOSI, jos arvo on pariton. -ISREF = ONVIITT ## Palauttaa arvon TOSI, jos arvo on viittaus. -ISTEXT = ONTEKSTI ## Palauttaa arvon TOSI, jos arvo on teksti. -N = N ## Palauttaa arvon luvuksi muunnettuna. -NA = PUUTTUU ## Palauttaa virhearvon #PUUTTUU!. -TYPE = TYYPPI ## Palauttaa luvun, joka ilmaisee arvon tietotyypin. - - -## -## Logical functions Loogiset funktiot -## -AND = JA ## Palauttaa arvon TOSI, jos kaikkien argumenttien arvo on TOSI. -FALSE = EPÄTOSI ## Palauttaa totuusarvon EPÄTOSI. -IF = JOS ## Määrittää suoritettavan loogisen testin. -IFERROR = JOSVIRHE ## Palauttaa määrittämäsi arvon, jos kaavan tulos on virhe; muussa tapauksessa palauttaa kaavan tuloksen. -NOT = EI ## Kääntää argumentin loogisen arvon. -OR = TAI ## Palauttaa arvon TOSI, jos minkä tahansa argumentin arvo on TOSI. -TRUE = TOSI ## Palauttaa totuusarvon TOSI. - - -## -## Lookup and reference functions Haku- ja viitefunktiot -## -ADDRESS = OSOITE ## Palauttaa laskentataulukon soluun osoittavan viittauksen tekstinä. -AREAS = ALUEET ## Palauttaa viittauksessa olevien alueiden määrän. -CHOOSE = VALITSE.INDEKSI ## Valitsee arvon arvoluettelosta. -COLUMN = SARAKE ## Palauttaa viittauksen sarakenumeron. -COLUMNS = SARAKKEET ## Palauttaa viittauksessa olevien sarakkeiden määrän. -HLOOKUP = VHAKU ## Suorittaa haun matriisin ylimmältä riviltä ja palauttaa määritetyn solun arvon. -HYPERLINK = HYPERLINKKI ## Luo pikakuvakkeen tai tekstin, joka avaa verkkopalvelimeen, intranetiin tai Internetiin tallennetun tiedoston. -INDEX = INDEKSI ## Valitsee arvon viittauksesta tai matriisista indeksin mukaan. -INDIRECT = EPÄSUORA ## Palauttaa tekstiarvona ilmaistun viittauksen. -LOOKUP = HAKU ## Etsii arvoja vektorista tai matriisista. -MATCH = VASTINE ## Etsii arvoja viittauksesta tai matriisista. -OFFSET = SIIRTYMÄ ## Palauttaa annetun viittauksen siirtymän. -ROW = RIVI ## Palauttaa viittauksen rivinumeron. -ROWS = RIVIT ## Palauttaa viittauksessa olevien rivien määrän. -RTD = RTD ## Noutaa COM-automaatiota (automaatio: Tapa käsitellä sovelluksen objekteja toisesta sovelluksesta tai kehitystyökalusta. Automaatio, jota aiemmin kutsuttiin OLE-automaatioksi, on teollisuusstandardi ja COM-mallin (Component Object Model) ominaisuus.) tukevasta ohjelmasta reaaliaikaisia tietoja. -TRANSPOSE = TRANSPONOI ## Palauttaa matriisin käänteismatriisin. -VLOOKUP = PHAKU ## Suorittaa haun matriisin ensimmäisestä sarakkeesta ja palauttaa rivillä olevan solun arvon. - - -## -## Math and trigonometry functions Matemaattiset ja trigonometriset funktiot -## -ABS = ITSEISARVO ## Palauttaa luvun itseisarvon. -ACOS = ACOS ## Palauttaa luvun arkuskosinin. -ACOSH = ACOSH ## Palauttaa luvun käänteisen hyperbolisen kosinin. -ASIN = ASIN ## Palauttaa luvun arkussinin. -ASINH = ASINH ## Palauttaa luvun käänteisen hyperbolisen sinin. -ATAN = ATAN ## Palauttaa luvun arkustangentin. -ATAN2 = ATAN2 ## Palauttaa arkustangentin x- ja y-koordinaatin perusteella. -ATANH = ATANH ## Palauttaa luvun käänteisen hyperbolisen tangentin. -CEILING = PYÖRISTÄ.KERR.YLÖS ## Pyöristää luvun lähimpään kokonaislukuun tai tarkkuusargumentin lähimpään kerrannaiseen. -COMBIN = KOMBINAATIO ## Palauttaa mahdollisten kombinaatioiden määrän annetulle objektien määrälle. -COS = COS ## Palauttaa luvun kosinin. -COSH = COSH ## Palauttaa luvun hyperbolisen kosinin. -DEGREES = ASTEET ## Muuntaa radiaanit asteiksi. -EVEN = PARILLINEN ## Pyöristää luvun ylöspäin lähimpään parilliseen kokonaislukuun. -EXP = EKSPONENTTI ## Palauttaa e:n korotettuna annetun luvun osoittamaan potenssiin. -FACT = KERTOMA ## Palauttaa luvun kertoman. -FACTDOUBLE = KERTOMA.OSA ## Palauttaa luvun osakertoman. -FLOOR = PYÖRISTÄ.KERR.ALAS ## Pyöristää luvun alaspäin (nollaa kohti). -GCD = SUURIN.YHT.TEKIJÄ ## Palauttaa suurimman yhteisen tekijän. -INT = KOKONAISLUKU ## Pyöristää luvun alaspäin lähimpään kokonaislukuun. -LCM = PIENIN.YHT.JAETTAVA ## Palauttaa pienimmän yhteisen tekijän. -LN = LUONNLOG ## Palauttaa luvun luonnollisen logaritmin. -LOG = LOG ## Laskee luvun logaritmin käyttämällä annettua kantalukua. -LOG10 = LOG10 ## Palauttaa luvun kymmenkantaisen logaritmin. -MDETERM = MDETERM ## Palauttaa matriisin matriisideterminantin. -MINVERSE = MKÄÄNTEINEN ## Palauttaa matriisin käänteismatriisin. -MMULT = MKERRO ## Palauttaa kahden matriisin tulon. -MOD = JAKOJ ## Palauttaa jakolaskun jäännöksen. -MROUND = PYÖRISTÄ.KERR ## Palauttaa luvun pyöristettynä annetun luvun kerrannaiseen. -MULTINOMIAL = MULTINOMI ## Palauttaa lukujoukon multinomin. -ODD = PARITON ## Pyöristää luvun ylöspäin lähimpään parittomaan kokonaislukuun. -PI = PII ## Palauttaa piin arvon. -POWER = POTENSSI ## Palauttaa luvun korotettuna haluttuun potenssiin. -PRODUCT = TULO ## Kertoo annetut argumentit. -QUOTIENT = OSAMÄÄRÄ ## Palauttaa osamäärän kokonaislukuosan. -RADIANS = RADIAANIT ## Muuntaa asteet radiaaneiksi. -RAND = SATUNNAISLUKU ## Palauttaa satunnaisluvun väliltä 0–1. -RANDBETWEEN = SATUNNAISLUKU.VÄLILTÄ ## Palauttaa satunnaisluvun määritettyjen lukujen väliltä. -ROMAN = ROMAN ## Muuntaa arabialaisen numeron tekstimuotoiseksi roomalaiseksi numeroksi. -ROUND = PYÖRISTÄ ## Pyöristää luvun annettuun määrään desimaaleja. -ROUNDDOWN = PYÖRISTÄ.DES.ALAS ## Pyöristää luvun alaspäin (nollaa kohti). -ROUNDUP = PYÖRISTÄ.DES.YLÖS ## Pyöristää luvun ylöspäin (poispäin nollasta). -SERIESSUM = SARJA.SUMMA ## Palauttaa kaavaan perustuvan potenssisarjan arvon. -SIGN = ETUMERKKI ## Palauttaa luvun etumerkin. -SIN = SIN ## Palauttaa annetun kulman sinin. -SINH = SINH ## Palauttaa luvun hyperbolisen sinin. -SQRT = NELIÖJUURI ## Palauttaa positiivisen neliöjuuren. -SQRTPI = NELIÖJUURI.PII ## Palauttaa tulon (luku * pii) neliöjuuren. -SUBTOTAL = VÄLISUMMA ## Palauttaa luettelon tai tietokannan välisumman. -SUM = SUMMA ## Laskee yhteen annetut argumentit. -SUMIF = SUMMA.JOS ## Laskee ehdot täyttävien solujen summan. -SUMIFS = SUMMA.JOS.JOUKKO ## Laskee yhteen solualueen useita ehtoja vastaavat solut. -SUMPRODUCT = TULOJEN.SUMMA ## Palauttaa matriisin toisiaan vastaavien osien tulojen summan. -SUMSQ = NELIÖSUMMA ## Palauttaa argumenttien neliöiden summan. -SUMX2MY2 = NELIÖSUMMIEN.EROTUS ## Palauttaa kahden matriisin toisiaan vastaavien arvojen laskettujen neliösummien erotuksen. -SUMX2PY2 = NELIÖSUMMIEN.SUMMA ## Palauttaa kahden matriisin toisiaan vastaavien arvojen neliösummien summan. -SUMXMY2 = EROTUSTEN.NELIÖSUMMA ## Palauttaa kahden matriisin toisiaan vastaavien arvojen erotusten neliösumman. -TAN = TAN ## Palauttaa luvun tangentin. -TANH = TANH ## Palauttaa luvun hyperbolisen tangentin. -TRUNC = KATKAISE ## Katkaisee luvun kokonaisluvuksi. - - -## -## Statistical functions Tilastolliset funktiot -## -AVEDEV = KESKIPOIKKEAMA ## Palauttaa hajontojen itseisarvojen keskiarvon. -AVERAGE = KESKIARVO ## Palauttaa argumenttien keskiarvon. -AVERAGEA = KESKIARVOA ## Palauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, keskiarvon. -AVERAGEIF = KESKIARVO.JOS ## Palauttaa alueen niiden solujen keskiarvon (aritmeettisen keskiarvon), jotka täyttävät annetut ehdot. -AVERAGEIFS = KESKIARVO.JOS.JOUKKO ## Palauttaa niiden solujen keskiarvon (aritmeettisen keskiarvon), jotka vastaavat useita ehtoja. -BETADIST = BEETAJAKAUMA ## Palauttaa kumulatiivisen beetajakaumafunktion arvon. -BETAINV = BEETAJAKAUMA.KÄÄNT ## Palauttaa määritetyn beetajakauman käänteisen kumulatiivisen jakaumafunktion arvon. -BINOMDIST = BINOMIJAKAUMA ## Palauttaa yksittäisen termin binomijakaumatodennäköisyyden. -CHIDIST = CHIJAKAUMA ## Palauttaa yksisuuntaisen chi-neliön jakauman todennäköisyyden. -CHIINV = CHIJAKAUMA.KÄÄNT ## Palauttaa yksisuuntaisen chi-neliön jakauman todennäköisyyden käänteisarvon. -CHITEST = CHITESTI ## Palauttaa riippumattomuustestin tuloksen. -CONFIDENCE = LUOTTAMUSVÄLI ## Palauttaa luottamusvälin populaation keskiarvolle. -CORREL = KORRELAATIO ## Palauttaa kahden arvojoukon korrelaatiokertoimen. -COUNT = LASKE ## Laskee argumenttiluettelossa olevien lukujen määrän. -COUNTA = LASKE.A ## Laskee argumenttiluettelossa olevien arvojen määrän. -COUNTBLANK = LASKE.TYHJÄT ## Laskee alueella olevien tyhjien solujen määrän. -COUNTIF = LASKE.JOS ## Laskee alueella olevien sellaisten solujen määrän, joiden sisältö vastaa annettuja ehtoja. -COUNTIFS = LASKE.JOS.JOUKKO ## Laskee alueella olevien sellaisten solujen määrän, joiden sisältö vastaa useita ehtoja. -COVAR = KOVARIANSSI ## Palauttaa kovarianssin, joka on keskiarvo havaintoaineiston kunkin pisteparin poikkeamien tuloista. -CRITBINOM = BINOMIJAKAUMA.KRIT ## Palauttaa pienimmän arvon, jossa binomijakauman kertymäfunktion arvo on pienempi tai yhtä suuri kuin vertailuarvo. -DEVSQ = OIKAISTU.NELIÖSUMMA ## Palauttaa keskipoikkeamien neliösumman. -EXPONDIST = EKSPONENTIAALIJAKAUMA ## Palauttaa eksponentiaalijakauman. -FDIST = FJAKAUMA ## Palauttaa F-todennäköisyysjakauman. -FINV = FJAKAUMA.KÄÄNT ## Palauttaa F-todennäköisyysjakauman käänteisfunktion. -FISHER = FISHER ## Palauttaa Fisher-muunnoksen. -FISHERINV = FISHER.KÄÄNT ## Palauttaa käänteisen Fisher-muunnoksen. -FORECAST = ENNUSTE ## Palauttaa lineaarisen trendin arvon. -FREQUENCY = TAAJUUS ## Palauttaa frekvenssijakautuman pystysuuntaisena matriisina. -FTEST = FTESTI ## Palauttaa F-testin tuloksen. -GAMMADIST = GAMMAJAKAUMA ## Palauttaa gammajakauman. -GAMMAINV = GAMMAJAKAUMA.KÄÄNT ## Palauttaa käänteisen gammajakauman kertymäfunktion. -GAMMALN = GAMMALN ## Palauttaa gammafunktion luonnollisen logaritmin G(x). -GEOMEAN = KESKIARVO.GEOM ## Palauttaa geometrisen keskiarvon. -GROWTH = KASVU ## Palauttaa eksponentiaalisen trendin arvon. -HARMEAN = KESKIARVO.HARM ## Palauttaa harmonisen keskiarvon. -HYPGEOMDIST = HYPERGEOM.JAKAUMA ## Palauttaa hypergeometrisen jakauman. -INTERCEPT = LEIKKAUSPISTE ## Palauttaa lineaarisen regressiosuoran leikkauspisteen. -KURT = KURT ## Palauttaa tietoalueen vinous-arvon eli huipukkuuden. -LARGE = SUURI ## Palauttaa tietojoukon k:nneksi suurimman arvon. -LINEST = LINREGR ## Palauttaa lineaarisen trendin parametrit. -LOGEST = LOGREGR ## Palauttaa eksponentiaalisen trendin parametrit. -LOGINV = LOGNORM.JAKAUMA.KÄÄNT ## Palauttaa lognormeeratun jakauman käänteisfunktion. -LOGNORMDIST = LOGNORM.JAKAUMA ## Palauttaa lognormaalisen jakauman kertymäfunktion. -MAX = MAKS ## Palauttaa suurimman arvon argumenttiluettelosta. -MAXA = MAKSA ## Palauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, suurimman arvon. -MEDIAN = MEDIAANI ## Palauttaa annettujen lukujen mediaanin. -MIN = MIN ## Palauttaa pienimmän arvon argumenttiluettelosta. -MINA = MINA ## Palauttaa argumenttien, mukaan lukien lukujen, tekstin ja loogisten arvojen, pienimmän arvon. -MODE = MOODI ## Palauttaa tietojoukossa useimmin esiintyvän arvon. -NEGBINOMDIST = BINOMIJAKAUMA.NEG ## Palauttaa negatiivisen binomijakauman. -NORMDIST = NORM.JAKAUMA ## Palauttaa normaalijakauman kertymäfunktion. -NORMINV = NORM.JAKAUMA.KÄÄNT ## Palauttaa käänteisen normaalijakauman kertymäfunktion. -NORMSDIST = NORM.JAKAUMA.NORMIT ## Palauttaa normitetun normaalijakauman kertymäfunktion. -NORMSINV = NORM.JAKAUMA.NORMIT.KÄÄNT ## Palauttaa normitetun normaalijakauman kertymäfunktion käänteisarvon. -PEARSON = PEARSON ## Palauttaa Pearsonin tulomomenttikorrelaatiokertoimen. -PERCENTILE = PROSENTTIPISTE ## Palauttaa alueen arvojen k:nnen prosenttipisteen. -PERCENTRANK = PROSENTTIJÄRJESTYS ## Palauttaa tietojoukon arvon prosentuaalisen järjestysluvun. -PERMUT = PERMUTAATIO ## Palauttaa mahdollisten permutaatioiden määrän annetulle objektien määrälle. -POISSON = POISSON ## Palauttaa Poissonin todennäköisyysjakauman. -PROB = TODENNÄKÖISYYS ## Palauttaa todennäköisyyden sille, että arvot ovat tietyltä väliltä. -QUARTILE = NELJÄNNES ## Palauttaa tietoalueen neljänneksen. -RANK = ARVON.MUKAAN ## Palauttaa luvun paikan lukuarvoluettelossa. -RSQ = PEARSON.NELIÖ ## Palauttaa Pearsonin tulomomenttikorrelaatiokertoimen neliön. -SKEW = JAKAUMAN.VINOUS ## Palauttaa jakauman vinouden. -SLOPE = KULMAKERROIN ## Palauttaa lineaarisen regressiosuoran kulmakertoimen. -SMALL = PIENI ## Palauttaa tietojoukon k:nneksi pienimmän arvon. -STANDARDIZE = NORMITA ## Palauttaa normitetun arvon. -STDEV = KESKIHAJONTA ## Laskee populaation keskihajonnan otoksen perusteella. -STDEVA = KESKIHAJONTAA ## Laskee populaation keskihajonnan otoksen perusteella, mukaan lukien luvut, tekstin ja loogiset arvot. -STDEVP = KESKIHAJONTAP ## Laskee normaalijakautuman koko populaation perusteella. -STDEVPA = KESKIHAJONTAPA ## Laskee populaation keskihajonnan koko populaation perusteella, mukaan lukien luvut, tekstin ja totuusarvot. -STEYX = KESKIVIRHE ## Palauttaa regression kutakin x-arvoa vastaavan ennustetun y-arvon keskivirheen. -TDIST = TJAKAUMA ## Palauttaa t-jakautuman. -TINV = TJAKAUMA.KÄÄNT ## Palauttaa käänteisen t-jakauman. -TREND = SUUNTAUS ## Palauttaa lineaarisen trendin arvoja. -TRIMMEAN = KESKIARVO.TASATTU ## Palauttaa tietojoukon tasatun keskiarvon. -TTEST = TTESTI ## Palauttaa t-testiin liittyvän todennäköisyyden. -VAR = VAR ## Arvioi populaation varianssia otoksen perusteella. -VARA = VARA ## Laskee populaation varianssin otoksen perusteella, mukaan lukien luvut, tekstin ja loogiset arvot. -VARP = VARP ## Laskee varianssin koko populaation perusteella. -VARPA = VARPA ## Laskee populaation varianssin koko populaation perusteella, mukaan lukien luvut, tekstin ja totuusarvot. -WEIBULL = WEIBULL ## Palauttaa Weibullin jakauman. -ZTEST = ZTESTI ## Palauttaa z-testin yksisuuntaisen todennäköisyysarvon. - - -## -## Text functions Tekstifunktiot -## -ASC = ASC ## Muuntaa merkkijonossa olevat englanninkieliset DBCS- tai katakana-merkit SBCS-merkeiksi. -BAHTTEXT = BAHTTEKSTI ## Muuntaa luvun tekstiksi ß (baht) -valuuttamuotoa käyttämällä. -CHAR = MERKKI ## Palauttaa koodin lukua vastaavan merkin. -CLEAN = SIIVOA ## Poistaa tekstistä kaikki tulostumattomat merkit. -CODE = KOODI ## Palauttaa tekstimerkkijonon ensimmäisen merkin numerokoodin. -CONCATENATE = KETJUTA ## Yhdistää useat merkkijonot yhdeksi merkkijonoksi. -DOLLAR = VALUUTTA ## Muuntaa luvun tekstiksi $ (dollari) -valuuttamuotoa käyttämällä. -EXACT = VERTAA ## Tarkistaa, ovatko kaksi tekstiarvoa samanlaiset. -FIND = ETSI ## Etsii tekstiarvon toisen tekstin sisältä (tunnistaa isot ja pienet kirjaimet). -FINDB = ETSIB ## Etsii tekstiarvon toisen tekstin sisältä (tunnistaa isot ja pienet kirjaimet). -FIXED = KIINTEÄ ## Muotoilee luvun tekstiksi, jossa on kiinteä määrä desimaaleja. -JIS = JIS ## Muuntaa merkkijonossa olevat englanninkieliset SBCS- tai katakana-merkit DBCS-merkeiksi. -LEFT = VASEN ## Palauttaa tekstiarvon vasemmanpuoliset merkit. -LEFTB = VASENB ## Palauttaa tekstiarvon vasemmanpuoliset merkit. -LEN = PITUUS ## Palauttaa tekstimerkkijonon merkkien määrän. -LENB = PITUUSB ## Palauttaa tekstimerkkijonon merkkien määrän. -LOWER = PIENET ## Muuntaa tekstin pieniksi kirjaimiksi. -MID = POIMI.TEKSTI ## Palauttaa määritetyn määrän merkkejä merkkijonosta alkaen annetusta kohdasta. -MIDB = POIMI.TEKSTIB ## Palauttaa määritetyn määrän merkkejä merkkijonosta alkaen annetusta kohdasta. -PHONETIC = FONEETTINEN ## Hakee foneettiset (furigana) merkit merkkijonosta. -PROPER = ERISNIMI ## Muuttaa merkkijonon kunkin sanan ensimmäisen kirjaimen isoksi. -REPLACE = KORVAA ## Korvaa tekstissä olevat merkit. -REPLACEB = KORVAAB ## Korvaa tekstissä olevat merkit. -REPT = TOISTA ## Toistaa tekstin annetun määrän kertoja. -RIGHT = OIKEA ## Palauttaa tekstiarvon oikeanpuoliset merkit. -RIGHTB = OIKEAB ## Palauttaa tekstiarvon oikeanpuoliset merkit. -SEARCH = KÄY.LÄPI ## Etsii tekstiarvon toisen tekstin sisältä (isot ja pienet kirjaimet tulkitaan samoiksi merkeiksi). -SEARCHB = KÄY.LÄPIB ## Etsii tekstiarvon toisen tekstin sisältä (isot ja pienet kirjaimet tulkitaan samoiksi merkeiksi). -SUBSTITUTE = VAIHDA ## Korvaa merkkijonossa olevan tekstin toisella. -T = T ## Muuntaa argumentit tekstiksi. -TEXT = TEKSTI ## Muotoilee luvun ja muuntaa sen tekstiksi. -TRIM = POISTA.VÄLIT ## Poistaa välilyönnit tekstistä. -UPPER = ISOT ## Muuntaa tekstin isoiksi kirjaimiksi. -VALUE = ARVO ## Muuntaa tekstiargumentin luvuksi. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fi/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/config deleted file mode 100644 index 1f5db88c4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NUL! -DIV0 = #DIV/0! -VALUE = #VALEUR! -REF = #REF! -NAME = #NOM? -NUM = #NOMBRE! -NA = #N/A diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/functions deleted file mode 100644 index 03b80e5a4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Fonctions de complément et d’automatisation -## -GETPIVOTDATA = LIREDONNEESTABCROISDYNAMIQUE ## Renvoie les données stockées dans un rapport de tableau croisé dynamique. - - -## -## Cube functions Fonctions Cube -## -CUBEKPIMEMBER = MEMBREKPICUBE ## Renvoie un nom, une propriété et une mesure d’indicateur de performance clé et affiche le nom et la propriété dans la cellule. Un indicateur de performance clé est une mesure quantifiable, telle que la marge bénéficiaire brute mensuelle ou la rotation trimestrielle du personnel, utilisée pour évaluer les performances d’une entreprise. -CUBEMEMBER = MEMBRECUBE ## Renvoie un membre ou un uplet dans une hiérarchie de cubes. Utilisez cette fonction pour valider l’existence du membre ou de l’uplet dans le cube. -CUBEMEMBERPROPERTY = PROPRIETEMEMBRECUBE ## Renvoie la valeur d’une propriété de membre du cube. Utilisez cette fonction pour valider l’existence d’un nom de membre dans le cube et pour renvoyer la propriété spécifiée pour ce membre. -CUBERANKEDMEMBER = RANGMEMBRECUBE ## Renvoie le nième membre ou le membre placé à un certain rang dans un ensemble. Utilisez cette fonction pour renvoyer un ou plusieurs éléments d’un ensemble, tels que les meilleurs vendeurs ou les 10 meilleurs étudiants. -CUBESET = JEUCUBE ## Définit un ensemble calculé de membres ou d’uplets en envoyant une expression définie au cube sur le serveur qui crée l’ensemble et le renvoie à Microsoft Office Excel. -CUBESETCOUNT = NBJEUCUBE ## Renvoie le nombre d’éléments dans un jeu. -CUBEVALUE = VALEURCUBE ## Renvoie une valeur d’agrégation issue d’un cube. - - -## -## Database functions Fonctions de base de données -## -DAVERAGE = BDMOYENNE ## Renvoie la moyenne des entrées de base de données sélectionnées. -DCOUNT = BCOMPTE ## Compte le nombre de cellules d’une base de données qui contiennent des nombres. -DCOUNTA = BDNBVAL ## Compte les cellules non vides d’une base de données. -DGET = BDLIRE ## Extrait d’une base de données un enregistrement unique répondant aux critères spécifiés. -DMAX = BDMAX ## Renvoie la valeur maximale des entrées de base de données sélectionnées. -DMIN = BDMIN ## Renvoie la valeur minimale des entrées de base de données sélectionnées. -DPRODUCT = BDPRODUIT ## Multiplie les valeurs d’un champ particulier des enregistrements d’une base de données, qui répondent aux critères spécifiés. -DSTDEV = BDECARTYPE ## Calcule l’écart type pour un échantillon d’entrées de base de données sélectionnées. -DSTDEVP = BDECARTYPEP ## Calcule l’écart type pour l’ensemble d’une population d’entrées de base de données sélectionnées. -DSUM = BDSOMME ## Ajoute les nombres dans la colonne de champ des enregistrements de la base de données, qui répondent aux critères. -DVAR = BDVAR ## Calcule la variance pour un échantillon d’entrées de base de données sélectionnées. -DVARP = BDVARP ## Calcule la variance pour l’ensemble d’une population d’entrées de base de données sélectionnées. - - -## -## Date and time functions Fonctions de date et d’heure -## -DATE = DATE ## Renvoie le numéro de série d’une date précise. -DATEVALUE = DATEVAL ## Convertit une date représentée sous forme de texte en numéro de série. -DAY = JOUR ## Convertit un numéro de série en jour du mois. -DAYS360 = JOURS360 ## Calcule le nombre de jours qui séparent deux dates sur la base d’une année de 360 jours. -EDATE = MOIS.DECALER ## Renvoie le numéro séquentiel de la date qui représente une date spécifiée (l’argument date_départ), corrigée en plus ou en moins du nombre de mois indiqué. -EOMONTH = FIN.MOIS ## Renvoie le numéro séquentiel de la date du dernier jour du mois précédant ou suivant la date_départ du nombre de mois indiqué. -HOUR = HEURE ## Convertit un numéro de série en heure. -MINUTE = MINUTE ## Convertit un numéro de série en minute. -MONTH = MOIS ## Convertit un numéro de série en mois. -NETWORKDAYS = NB.JOURS.OUVRES ## Renvoie le nombre de jours ouvrés entiers compris entre deux dates. -NOW = MAINTENANT ## Renvoie le numéro de série de la date et de l’heure du jour. -SECOND = SECONDE ## Convertit un numéro de série en seconde. -TIME = TEMPS ## Renvoie le numéro de série d’une heure précise. -TIMEVALUE = TEMPSVAL ## Convertit une date représentée sous forme de texte en numéro de série. -TODAY = AUJOURDHUI ## Renvoie le numéro de série de la date du jour. -WEEKDAY = JOURSEM ## Convertit un numéro de série en jour de la semaine. -WEEKNUM = NO.SEMAINE ## Convertit un numéro de série en un numéro représentant l’ordre de la semaine dans l’année. -WORKDAY = SERIE.JOUR.OUVRE ## Renvoie le numéro de série de la date avant ou après le nombre de jours ouvrés spécifiés. -YEAR = ANNEE ## Convertit un numéro de série en année. -YEARFRAC = FRACTION.ANNEE ## Renvoie la fraction de l’année représentant le nombre de jours entre la date de début et la date de fin. - - -## -## Engineering functions Fonctions d’ingénierie -## -BESSELI = BESSELI ## Renvoie la fonction Bessel modifiée In(x). -BESSELJ = BESSELJ ## Renvoie la fonction Bessel Jn(x). -BESSELK = BESSELK ## Renvoie la fonction Bessel modifiée Kn(x). -BESSELY = BESSELY ## Renvoie la fonction Bessel Yn(x). -BIN2DEC = BINDEC ## Convertit un nombre binaire en nombre décimal. -BIN2HEX = BINHEX ## Convertit un nombre binaire en nombre hexadécimal. -BIN2OCT = BINOCT ## Convertit un nombre binaire en nombre octal. -COMPLEX = COMPLEXE ## Convertit des coefficients réel et imaginaire en un nombre complexe. -CONVERT = CONVERT ## Convertit un nombre d’une unité de mesure à une autre. -DEC2BIN = DECBIN ## Convertit un nombre décimal en nombre binaire. -DEC2HEX = DECHEX ## Convertit un nombre décimal en nombre hexadécimal. -DEC2OCT = DECOCT ## Convertit un nombre décimal en nombre octal. -DELTA = DELTA ## Teste l’égalité de deux nombres. -ERF = ERF ## Renvoie la valeur de la fonction d’erreur. -ERFC = ERFC ## Renvoie la valeur de la fonction d’erreur complémentaire. -GESTEP = SUP.SEUIL ## Teste si un nombre est supérieur à une valeur de seuil. -HEX2BIN = HEXBIN ## Convertit un nombre hexadécimal en nombre binaire. -HEX2DEC = HEXDEC ## Convertit un nombre hexadécimal en nombre décimal. -HEX2OCT = HEXOCT ## Convertit un nombre hexadécimal en nombre octal. -IMABS = COMPLEXE.MODULE ## Renvoie la valeur absolue (module) d’un nombre complexe. -IMAGINARY = COMPLEXE.IMAGINAIRE ## Renvoie le coefficient imaginaire d’un nombre complexe. -IMARGUMENT = COMPLEXE.ARGUMENT ## Renvoie l’argument thêta, un angle exprimé en radians. -IMCONJUGATE = COMPLEXE.CONJUGUE ## Renvoie le nombre complexe conjugué d’un nombre complexe. -IMCOS = IMCOS ## Renvoie le cosinus d’un nombre complexe. -IMDIV = COMPLEXE.DIV ## Renvoie le quotient de deux nombres complexes. -IMEXP = COMPLEXE.EXP ## Renvoie la fonction exponentielle d’un nombre complexe. -IMLN = COMPLEXE.LN ## Renvoie le logarithme népérien d’un nombre complexe. -IMLOG10 = COMPLEXE.LOG10 ## Calcule le logarithme en base 10 d’un nombre complexe. -IMLOG2 = COMPLEXE.LOG2 ## Calcule le logarithme en base 2 d’un nombre complexe. -IMPOWER = COMPLEXE.PUISSANCE ## Renvoie un nombre complexe élevé à une puissance entière. -IMPRODUCT = COMPLEXE.PRODUIT ## Renvoie le produit de plusieurs nombres complexes. -IMREAL = COMPLEXE.REEL ## Renvoie le coefficient réel d’un nombre complexe. -IMSIN = COMPLEXE.SIN ## Renvoie le sinus d’un nombre complexe. -IMSQRT = COMPLEXE.RACINE ## Renvoie la racine carrée d’un nombre complexe. -IMSUB = COMPLEXE.DIFFERENCE ## Renvoie la différence entre deux nombres complexes. -IMSUM = COMPLEXE.SOMME ## Renvoie la somme de plusieurs nombres complexes. -OCT2BIN = OCTBIN ## Convertit un nombre octal en nombre binaire. -OCT2DEC = OCTDEC ## Convertit un nombre octal en nombre décimal. -OCT2HEX = OCTHEX ## Convertit un nombre octal en nombre hexadécimal. - - -## -## Financial functions Fonctions financières -## -ACCRINT = INTERET.ACC ## Renvoie l’intérêt couru non échu d’un titre dont l’intérêt est perçu périodiquement. -ACCRINTM = INTERET.ACC.MAT ## Renvoie l’intérêt couru non échu d’un titre dont l’intérêt est perçu à l’échéance. -AMORDEGRC = AMORDEGRC ## Renvoie l’amortissement correspondant à chaque période comptable en utilisant un coefficient d’amortissement. -AMORLINC = AMORLINC ## Renvoie l’amortissement d’un bien à la fin d’une période fiscale donnée. -COUPDAYBS = NB.JOURS.COUPON.PREC ## Renvoie le nombre de jours entre le début de la période de coupon et la date de liquidation. -COUPDAYS = NB.JOURS.COUPONS ## Renvoie le nombre de jours pour la période du coupon contenant la date de liquidation. -COUPDAYSNC = NB.JOURS.COUPON.SUIV ## Renvoie le nombre de jours entre la date de liquidation et la date du coupon suivant la date de liquidation. -COUPNCD = DATE.COUPON.SUIV ## Renvoie la première date de coupon ultérieure à la date de règlement. -COUPNUM = NB.COUPONS ## Renvoie le nombre de coupons dus entre la date de règlement et la date d’échéance. -COUPPCD = DATE.COUPON.PREC ## Renvoie la date de coupon précédant la date de règlement. -CUMIPMT = CUMUL.INTER ## Renvoie l’intérêt cumulé payé sur un emprunt entre deux périodes. -CUMPRINC = CUMUL.PRINCPER ## Renvoie le montant cumulé des remboursements du capital d’un emprunt effectués entre deux périodes. -DB = DB ## Renvoie l’amortissement d’un bien pour une période spécifiée en utilisant la méthode de l’amortissement dégressif à taux fixe. -DDB = DDB ## Renvoie l’amortissement d’un bien pour toute période spécifiée, en utilisant la méthode de l’amortissement dégressif à taux double ou selon un coefficient à spécifier. -DISC = TAUX.ESCOMPTE ## Calcule le taux d’escompte d’une transaction. -DOLLARDE = PRIX.DEC ## Convertit un prix en euros, exprimé sous forme de fraction, en un prix en euros exprimé sous forme de nombre décimal. -DOLLARFR = PRIX.FRAC ## Convertit un prix en euros, exprimé sous forme de nombre décimal, en un prix en euros exprimé sous forme de fraction. -DURATION = DUREE ## Renvoie la durée, en années, d’un titre dont l’intérêt est perçu périodiquement. -EFFECT = TAUX.EFFECTIF ## Renvoie le taux d’intérêt annuel effectif. -FV = VC ## Renvoie la valeur future d’un investissement. -FVSCHEDULE = VC.PAIEMENTS ## Calcule la valeur future d’un investissement en appliquant une série de taux d’intérêt composites. -INTRATE = TAUX.INTERET ## Affiche le taux d’intérêt d’un titre totalement investi. -IPMT = INTPER ## Calcule le montant des intérêts d’un investissement pour une période donnée. -IRR = TRI ## Calcule le taux de rentabilité interne d’un investissement pour une succession de trésoreries. -ISPMT = ISPMT ## Calcule le montant des intérêts d’un investissement pour une période donnée. -MDURATION = DUREE.MODIFIEE ## Renvoie la durée de Macauley modifiée pour un titre ayant une valeur nominale hypothétique de 100_euros. -MIRR = TRIM ## Calcule le taux de rentabilité interne lorsque les paiements positifs et négatifs sont financés à des taux différents. -NOMINAL = TAUX.NOMINAL ## Calcule le taux d’intérêt nominal annuel. -NPER = NPM ## Renvoie le nombre de versements nécessaires pour rembourser un emprunt. -NPV = VAN ## Calcule la valeur actuelle nette d’un investissement basé sur une série de décaissements et un taux d’escompte. -ODDFPRICE = PRIX.PCOUPON.IRREG ## Renvoie le prix par tranche de valeur nominale de 100 euros d’un titre dont la première période de coupon est irrégulière. -ODDFYIELD = REND.PCOUPON.IRREG ## Renvoie le taux de rendement d’un titre dont la première période de coupon est irrégulière. -ODDLPRICE = PRIX.DCOUPON.IRREG ## Renvoie le prix par tranche de valeur nominale de 100 euros d’un titre dont la première période de coupon est irrégulière. -ODDLYIELD = REND.DCOUPON.IRREG ## Renvoie le taux de rendement d’un titre dont la dernière période de coupon est irrégulière. -PMT = VPM ## Calcule le paiement périodique d’un investissement donné. -PPMT = PRINCPER ## Calcule, pour une période donnée, la part de remboursement du principal d’un investissement. -PRICE = PRIX.TITRE ## Renvoie le prix d’un titre rapportant des intérêts périodiques, pour une valeur nominale de 100 euros. -PRICEDISC = VALEUR.ENCAISSEMENT ## Renvoie la valeur d’encaissement d’un escompte commercial, pour une valeur nominale de 100 euros. -PRICEMAT = PRIX.TITRE.ECHEANCE ## Renvoie le prix d’un titre dont la valeur nominale est 100 euros et qui rapporte des intérêts à l’échéance. -PV = PV ## Calcule la valeur actuelle d’un investissement. -RATE = TAUX ## Calcule le taux d’intérêt par période pour une annuité. -RECEIVED = VALEUR.NOMINALE ## Renvoie la valeur nominale à échéance d’un effet de commerce. -SLN = AMORLIN ## Calcule l’amortissement linéaire d’un bien pour une période donnée. -SYD = SYD ## Calcule l’amortissement d’un bien pour une période donnée sur la base de la méthode américaine Sum-of-Years Digits (amortissement dégressif à taux décroissant appliqué à une valeur constante). -TBILLEQ = TAUX.ESCOMPTE.R ## Renvoie le taux d’escompte rationnel d’un bon du Trésor. -TBILLPRICE = PRIX.BON.TRESOR ## Renvoie le prix d’un bon du Trésor d’une valeur nominale de 100 euros. -TBILLYIELD = RENDEMENT.BON.TRESOR ## Calcule le taux de rendement d’un bon du Trésor. -VDB = VDB ## Renvoie l’amortissement d’un bien pour une période spécifiée ou partielle en utilisant une méthode de l’amortissement dégressif à taux fixe. -XIRR = TRI.PAIEMENTS ## Calcule le taux de rentabilité interne d’un ensemble de paiements non périodiques. -XNPV = VAN.PAIEMENTS ## Renvoie la valeur actuelle nette d’un ensemble de paiements non périodiques. -YIELD = RENDEMENT.TITRE ## Calcule le rendement d’un titre rapportant des intérêts périodiquement. -YIELDDISC = RENDEMENT.SIMPLE ## Calcule le taux de rendement d’un emprunt à intérêt simple (par exemple, un bon du Trésor). -YIELDMAT = RENDEMENT.TITRE.ECHEANCE ## Renvoie le rendement annuel d’un titre qui rapporte des intérêts à l’échéance. - - -## -## Information functions Fonctions d’information -## -CELL = CELLULE ## Renvoie des informations sur la mise en forme, l’emplacement et le contenu d’une cellule. -ERROR.TYPE = TYPE.ERREUR ## Renvoie un nombre correspondant à un type d’erreur. -INFO = INFORMATIONS ## Renvoie des informations sur l’environnement d’exploitation actuel. -ISBLANK = ESTVIDE ## Renvoie VRAI si l’argument valeur est vide. -ISERR = ESTERR ## Renvoie VRAI si l’argument valeur fait référence à une valeur d’erreur, sauf #N/A. -ISERROR = ESTERREUR ## Renvoie VRAI si l’argument valeur fait référence à une valeur d’erreur. -ISEVEN = EST.PAIR ## Renvoie VRAI si le chiffre est pair. -ISLOGICAL = ESTLOGIQUE ## Renvoie VRAI si l’argument valeur fait référence à une valeur logique. -ISNA = ESTNA ## Renvoie VRAI si l’argument valeur fait référence à la valeur d’erreur #N/A. -ISNONTEXT = ESTNONTEXTE ## Renvoie VRAI si l’argument valeur ne se présente pas sous forme de texte. -ISNUMBER = ESTNUM ## Renvoie VRAI si l’argument valeur représente un nombre. -ISODD = EST.IMPAIR ## Renvoie VRAI si le chiffre est impair. -ISREF = ESTREF ## Renvoie VRAI si l’argument valeur est une référence. -ISTEXT = ESTTEXTE ## Renvoie VRAI si l’argument valeur se présente sous forme de texte. -N = N ## Renvoie une valeur convertie en nombre. -NA = NA ## Renvoie la valeur d’erreur #N/A. -TYPE = TYPE ## Renvoie un nombre indiquant le type de données d’une valeur. - - -## -## Logical functions Fonctions logiques -## -AND = ET ## Renvoie VRAI si tous ses arguments sont VRAI. -FALSE = FAUX ## Renvoie la valeur logique FAUX. -IF = SI ## Spécifie un test logique à effectuer. -IFERROR = SIERREUR ## Renvoie une valeur que vous spécifiez si une formule génère une erreur ; sinon, elle renvoie le résultat de la formule. -NOT = NON ## Inverse la logique de cet argument. -OR = OU ## Renvoie VRAI si un des arguments est VRAI. -TRUE = VRAI ## Renvoie la valeur logique VRAI. - - -## -## Lookup and reference functions Fonctions de recherche et de référence -## -ADDRESS = ADRESSE ## Renvoie une référence sous forme de texte à une seule cellule d’une feuille de calcul. -AREAS = ZONES ## Renvoie le nombre de zones dans une référence. -CHOOSE = CHOISIR ## Choisit une valeur dans une liste. -COLUMN = COLONNE ## Renvoie le numéro de colonne d’une référence. -COLUMNS = COLONNES ## Renvoie le nombre de colonnes dans une référence. -HLOOKUP = RECHERCHEH ## Effectue une recherche dans la première ligne d’une matrice et renvoie la valeur de la cellule indiquée. -HYPERLINK = LIEN_HYPERTEXTE ## Crée un raccourci ou un renvoi qui ouvre un document stocké sur un serveur réseau, sur un réseau Intranet ou sur Internet. -INDEX = INDEX ## Utilise un index pour choisir une valeur provenant d’une référence ou d’une matrice. -INDIRECT = INDIRECT ## Renvoie une référence indiquée par une valeur de texte. -LOOKUP = RECHERCHE ## Recherche des valeurs dans un vecteur ou une matrice. -MATCH = EQUIV ## Recherche des valeurs dans une référence ou une matrice. -OFFSET = DECALER ## Renvoie une référence décalée par rapport à une référence donnée. -ROW = LIGNE ## Renvoie le numéro de ligne d’une référence. -ROWS = LIGNES ## Renvoie le nombre de lignes dans une référence. -RTD = RTD ## Extrait les données en temps réel à partir d’un programme prenant en charge l’automation COM (Automation : utilisation des objets d'une application à partir d'une autre application ou d'un autre outil de développement. Autrefois appelée OLE Automation, Automation est une norme industrielle et une fonctionnalité du modèle d'objet COM (Component Object Model).). -TRANSPOSE = TRANSPOSE ## Renvoie la transposition d’une matrice. -VLOOKUP = RECHERCHEV ## Effectue une recherche dans la première colonne d’une matrice et se déplace sur la ligne pour renvoyer la valeur d’une cellule. - - -## -## Math and trigonometry functions Fonctions mathématiques et trigonométriques -## -ABS = ABS ## Renvoie la valeur absolue d’un nombre. -ACOS = ACOS ## Renvoie l’arccosinus d’un nombre. -ACOSH = ACOSH ## Renvoie le cosinus hyperbolique inverse d’un nombre. -ASIN = ASIN ## Renvoie l’arcsinus d’un nombre. -ASINH = ASINH ## Renvoie le sinus hyperbolique inverse d’un nombre. -ATAN = ATAN ## Renvoie l’arctangente d’un nombre. -ATAN2 = ATAN2 ## Renvoie l’arctangente des coordonnées x et y. -ATANH = ATANH ## Renvoie la tangente hyperbolique inverse d’un nombre. -CEILING = PLAFOND ## Arrondit un nombre au nombre entier le plus proche ou au multiple le plus proche de l’argument précision en s’éloignant de zéro. -COMBIN = COMBIN ## Renvoie le nombre de combinaisons que l’on peut former avec un nombre donné d’objets. -COS = COS ## Renvoie le cosinus d’un nombre. -COSH = COSH ## Renvoie le cosinus hyperbolique d’un nombre. -DEGREES = DEGRES ## Convertit des radians en degrés. -EVEN = PAIR ## Arrondit un nombre au nombre entier pair le plus proche en s’éloignant de zéro. -EXP = EXP ## Renvoie e élevé à la puissance d’un nombre donné. -FACT = FACT ## Renvoie la factorielle d’un nombre. -FACTDOUBLE = FACTDOUBLE ## Renvoie la factorielle double d’un nombre. -FLOOR = PLANCHER ## Arrondit un nombre en tendant vers 0 (zéro). -GCD = PGCD ## Renvoie le plus grand commun diviseur. -INT = ENT ## Arrondit un nombre à l’entier immédiatement inférieur. -LCM = PPCM ## Renvoie le plus petit commun multiple. -LN = LN ## Renvoie le logarithme népérien d’un nombre. -LOG = LOG ## Renvoie le logarithme d’un nombre dans la base spécifiée. -LOG10 = LOG10 ## Calcule le logarithme en base 10 d’un nombre. -MDETERM = DETERMAT ## Renvoie le déterminant d’une matrice. -MINVERSE = INVERSEMAT ## Renvoie la matrice inverse d’une matrice. -MMULT = PRODUITMAT ## Renvoie le produit de deux matrices. -MOD = MOD ## Renvoie le reste d’une division. -MROUND = ARRONDI.AU.MULTIPLE ## Donne l’arrondi d’un nombre au multiple spécifié. -MULTINOMIAL = MULTINOMIALE ## Calcule la multinomiale d’un ensemble de nombres. -ODD = IMPAIR ## Renvoie le nombre, arrondi à la valeur du nombre entier impair le plus proche en s’éloignant de zéro. -PI = PI ## Renvoie la valeur de pi. -POWER = PUISSANCE ## Renvoie la valeur du nombre élevé à une puissance. -PRODUCT = PRODUIT ## Multiplie ses arguments. -QUOTIENT = QUOTIENT ## Renvoie la partie entière du résultat d’une division. -RADIANS = RADIANS ## Convertit des degrés en radians. -RAND = ALEA ## Renvoie un nombre aléatoire compris entre 0 et 1. -RANDBETWEEN = ALEA.ENTRE.BORNES ## Renvoie un nombre aléatoire entre les nombres que vous spécifiez. -ROMAN = ROMAIN ## Convertit des chiffres arabes en chiffres romains, sous forme de texte. -ROUND = ARRONDI ## Arrondit un nombre au nombre de chiffres indiqué. -ROUNDDOWN = ARRONDI.INF ## Arrondit un nombre en tendant vers 0 (zéro). -ROUNDUP = ARRONDI.SUP ## Arrondit un nombre à l’entier supérieur, en s’éloignant de zéro. -SERIESSUM = SOMME.SERIES ## Renvoie la somme d’une série géométrique en s’appuyant sur la formule suivante : -SIGN = SIGNE ## Renvoie le signe d’un nombre. -SIN = SIN ## Renvoie le sinus d’un angle donné. -SINH = SINH ## Renvoie le sinus hyperbolique d’un nombre. -SQRT = RACINE ## Renvoie la racine carrée d’un nombre. -SQRTPI = RACINE.PI ## Renvoie la racine carrée de (nombre * pi). -SUBTOTAL = SOUS.TOTAL ## Renvoie un sous-total dans une liste ou une base de données. -SUM = SOMME ## Calcule la somme de ses arguments. -SUMIF = SOMME.SI ## Additionne les cellules spécifiées si elles répondent à un critère donné. -SUMIFS = SOMME.SI.ENS ## Ajoute les cellules d’une plage qui répondent à plusieurs critères. -SUMPRODUCT = SOMMEPROD ## Multiplie les valeurs correspondantes des matrices spécifiées et calcule la somme de ces produits. -SUMSQ = SOMME.CARRES ## Renvoie la somme des carrés des arguments. -SUMX2MY2 = SOMME.X2MY2 ## Renvoie la somme de la différence des carrés des valeurs correspondantes de deux matrices. -SUMX2PY2 = SOMME.X2PY2 ## Renvoie la somme de la somme des carrés des valeurs correspondantes de deux matrices. -SUMXMY2 = SOMME.XMY2 ## Renvoie la somme des carrés des différences entre les valeurs correspondantes de deux matrices. -TAN = TAN ## Renvoie la tangente d’un nombre. -TANH = TANH ## Renvoie la tangente hyperbolique d’un nombre. -TRUNC = TRONQUE ## Renvoie la partie entière d’un nombre. - - -## -## Statistical functions Fonctions statistiques -## -AVEDEV = ECART.MOYEN ## Renvoie la moyenne des écarts absolus observés dans la moyenne des points de données. -AVERAGE = MOYENNE ## Renvoie la moyenne de ses arguments. -AVERAGEA = AVERAGEA ## Renvoie la moyenne de ses arguments, nombres, texte et valeurs logiques inclus. -AVERAGEIF = MOYENNE.SI ## Renvoie la moyenne (arithmétique) de toutes les cellules d’une plage qui répondent à des critères donnés. -AVERAGEIFS = MOYENNE.SI.ENS ## Renvoie la moyenne (arithmétique) de toutes les cellules qui répondent à plusieurs critères. -BETADIST = LOI.BETA ## Renvoie la fonction de distribution cumulée. -BETAINV = BETA.INVERSE ## Renvoie l’inverse de la fonction de distribution cumulée pour une distribution bêta spécifiée. -BINOMDIST = LOI.BINOMIALE ## Renvoie la probabilité d’une variable aléatoire discrète suivant la loi binomiale. -CHIDIST = LOI.KHIDEUX ## Renvoie la probabilité unilatérale de la distribution khi-deux. -CHIINV = KHIDEUX.INVERSE ## Renvoie l’inverse de la probabilité unilatérale de la distribution khi-deux. -CHITEST = TEST.KHIDEUX ## Renvoie le test d’indépendance. -CONFIDENCE = INTERVALLE.CONFIANCE ## Renvoie l’intervalle de confiance pour une moyenne de population. -CORREL = COEFFICIENT.CORRELATION ## Renvoie le coefficient de corrélation entre deux séries de données. -COUNT = NB ## Détermine les nombres compris dans la liste des arguments. -COUNTA = NBVAL ## Détermine le nombre de valeurs comprises dans la liste des arguments. -COUNTBLANK = NB.VIDE ## Compte le nombre de cellules vides dans une plage. -COUNTIF = NB.SI ## Compte le nombre de cellules qui répondent à un critère donné dans une plage. -COUNTIFS = NB.SI.ENS ## Compte le nombre de cellules à l’intérieur d’une plage qui répondent à plusieurs critères. -COVAR = COVARIANCE ## Renvoie la covariance, moyenne des produits des écarts pour chaque série d’observations. -CRITBINOM = CRITERE.LOI.BINOMIALE ## Renvoie la plus petite valeur pour laquelle la distribution binomiale cumulée est inférieure ou égale à une valeur de critère. -DEVSQ = SOMME.CARRES.ECARTS ## Renvoie la somme des carrés des écarts. -EXPONDIST = LOI.EXPONENTIELLE ## Renvoie la distribution exponentielle. -FDIST = LOI.F ## Renvoie la distribution de probabilité F. -FINV = INVERSE.LOI.F ## Renvoie l’inverse de la distribution de probabilité F. -FISHER = FISHER ## Renvoie la transformation de Fisher. -FISHERINV = FISHER.INVERSE ## Renvoie l’inverse de la transformation de Fisher. -FORECAST = PREVISION ## Calcule une valeur par rapport à une tendance linéaire. -FREQUENCY = FREQUENCE ## Calcule la fréquence d’apparition des valeurs dans une plage de valeurs, puis renvoie des nombres sous forme de matrice verticale. -FTEST = TEST.F ## Renvoie le résultat d’un test F. -GAMMADIST = LOI.GAMMA ## Renvoie la probabilité d’une variable aléatoire suivant une loi Gamma. -GAMMAINV = LOI.GAMMA.INVERSE ## Renvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi Gamma. -GAMMALN = LNGAMMA ## Renvoie le logarithme népérien de la fonction Gamma, G(x) -GEOMEAN = MOYENNE.GEOMETRIQUE ## Renvoie la moyenne géométrique. -GROWTH = CROISSANCE ## Calcule des valeurs par rapport à une tendance exponentielle. -HARMEAN = MOYENNE.HARMONIQUE ## Renvoie la moyenne harmonique. -HYPGEOMDIST = LOI.HYPERGEOMETRIQUE ## Renvoie la probabilité d’une variable aléatoire discrète suivant une loi hypergéométrique. -INTERCEPT = ORDONNEE.ORIGINE ## Renvoie l’ordonnée à l’origine d’une droite de régression linéaire. -KURT = KURTOSIS ## Renvoie le kurtosis d’une série de données. -LARGE = GRANDE.VALEUR ## Renvoie la k-ième plus grande valeur d’une série de données. -LINEST = DROITEREG ## Renvoie les paramètres d’une tendance linéaire. -LOGEST = LOGREG ## Renvoie les paramètres d’une tendance exponentielle. -LOGINV = LOI.LOGNORMALE.INVERSE ## Renvoie l’inverse de la probabilité pour une variable aléatoire suivant la loi lognormale. -LOGNORMDIST = LOI.LOGNORMALE ## Renvoie la probabilité d’une variable aléatoire continue suivant une loi lognormale. -MAX = MAX ## Renvoie la valeur maximale contenue dans une liste d’arguments. -MAXA = MAXA ## Renvoie la valeur maximale d’une liste d’arguments, nombres, texte et valeurs logiques inclus. -MEDIAN = MEDIANE ## Renvoie la valeur médiane des nombres donnés. -MIN = MIN ## Renvoie la valeur minimale contenue dans une liste d’arguments. -MINA = MINA ## Renvoie la plus petite valeur d’une liste d’arguments, nombres, texte et valeurs logiques inclus. -MODE = MODE ## Renvoie la valeur la plus courante d’une série de données. -NEGBINOMDIST = LOI.BINOMIALE.NEG ## Renvoie la probabilité d’une variable aléatoire discrète suivant une loi binomiale négative. -NORMDIST = LOI.NORMALE ## Renvoie la probabilité d’une variable aléatoire continue suivant une loi normale. -NORMINV = LOI.NORMALE.INVERSE ## Renvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi normale standard. -NORMSDIST = LOI.NORMALE.STANDARD ## Renvoie la probabilité d’une variable aléatoire continue suivant une loi normale standard. -NORMSINV = LOI.NORMALE.STANDARD.INVERSE ## Renvoie l’inverse de la distribution cumulée normale standard. -PEARSON = PEARSON ## Renvoie le coefficient de corrélation d’échantillonnage de Pearson. -PERCENTILE = CENTILE ## Renvoie le k-ième centile des valeurs d’une plage. -PERCENTRANK = RANG.POURCENTAGE ## Renvoie le rang en pourcentage d’une valeur d’une série de données. -PERMUT = PERMUTATION ## Renvoie le nombre de permutations pour un nombre donné d’objets. -POISSON = LOI.POISSON ## Renvoie la probabilité d’une variable aléatoire suivant une loi de Poisson. -PROB = PROBABILITE ## Renvoie la probabilité que des valeurs d’une plage soient comprises entre deux limites. -QUARTILE = QUARTILE ## Renvoie le quartile d’une série de données. -RANK = RANG ## Renvoie le rang d’un nombre contenu dans une liste. -RSQ = COEFFICIENT.DETERMINATION ## Renvoie la valeur du coefficient de détermination R^2 d’une régression linéaire. -SKEW = COEFFICIENT.ASYMETRIE ## Renvoie l’asymétrie d’une distribution. -SLOPE = PENTE ## Renvoie la pente d’une droite de régression linéaire. -SMALL = PETITE.VALEUR ## Renvoie la k-ième plus petite valeur d’une série de données. -STANDARDIZE = CENTREE.REDUITE ## Renvoie une valeur centrée réduite. -STDEV = ECARTYPE ## Évalue l’écart type d’une population en se basant sur un échantillon de cette population. -STDEVA = STDEVA ## Évalue l’écart type d’une population en se basant sur un échantillon de cette population, nombres, texte et valeurs logiques inclus. -STDEVP = ECARTYPEP ## Calcule l’écart type d’une population à partir de la population entière. -STDEVPA = STDEVPA ## Calcule l’écart type d’une population à partir de l’ensemble de la population, nombres, texte et valeurs logiques inclus. -STEYX = ERREUR.TYPE.XY ## Renvoie l’erreur type de la valeur y prévue pour chaque x de la régression. -TDIST = LOI.STUDENT ## Renvoie la probabilité d’une variable aléatoire suivant une loi T de Student. -TINV = LOI.STUDENT.INVERSE ## Renvoie, pour une probabilité donnée, la valeur d’une variable aléatoire suivant une loi T de Student. -TREND = TENDANCE ## Renvoie des valeurs par rapport à une tendance linéaire. -TRIMMEAN = MOYENNE.REDUITE ## Renvoie la moyenne de l’intérieur d’une série de données. -TTEST = TEST.STUDENT ## Renvoie la probabilité associée à un test T de Student. -VAR = VAR ## Calcule la variance sur la base d’un échantillon. -VARA = VARA ## Estime la variance d’une population en se basant sur un échantillon de cette population, nombres, texte et valeurs logiques incluses. -VARP = VAR.P ## Calcule la variance sur la base de l’ensemble de la population. -VARPA = VARPA ## Calcule la variance d’une population en se basant sur la population entière, nombres, texte et valeurs logiques inclus. -WEIBULL = LOI.WEIBULL ## Renvoie la probabilité d’une variable aléatoire suivant une loi de Weibull. -ZTEST = TEST.Z ## Renvoie la valeur de probabilité unilatérale d’un test z. - - -## -## Text functions Fonctions de texte -## -ASC = ASC ## Change les caractères anglais ou katakana à pleine chasse (codés sur deux octets) à l’intérieur d’une chaîne de caractères en caractères à demi-chasse (codés sur un octet). -BAHTTEXT = BAHTTEXT ## Convertit un nombre en texte en utilisant le format monétaire ß (baht). -CHAR = CAR ## Renvoie le caractère spécifié par le code numérique. -CLEAN = EPURAGE ## Supprime tous les caractères de contrôle du texte. -CODE = CODE ## Renvoie le numéro de code du premier caractère du texte. -CONCATENATE = CONCATENER ## Assemble plusieurs éléments textuels de façon à n’en former qu’un seul. -DOLLAR = EURO ## Convertit un nombre en texte en utilisant le format monétaire € (euro). -EXACT = EXACT ## Vérifie si deux valeurs de texte sont identiques. -FIND = TROUVE ## Trouve un valeur textuelle dans une autre, en respectant la casse. -FINDB = TROUVERB ## Trouve un valeur textuelle dans une autre, en respectant la casse. -FIXED = CTXT ## Convertit un nombre au format texte avec un nombre de décimales spécifié. -JIS = JIS ## Change les caractères anglais ou katakana à demi-chasse (codés sur un octet) à l’intérieur d’une chaîne de caractères en caractères à à pleine chasse (codés sur deux octets). -LEFT = GAUCHE ## Renvoie des caractères situés à l’extrême gauche d’une chaîne de caractères. -LEFTB = GAUCHEB ## Renvoie des caractères situés à l’extrême gauche d’une chaîne de caractères. -LEN = NBCAR ## Renvoie le nombre de caractères contenus dans une chaîne de texte. -LENB = LENB ## Renvoie le nombre de caractères contenus dans une chaîne de texte. -LOWER = MINUSCULE ## Convertit le texte en minuscules. -MID = STXT ## Renvoie un nombre déterminé de caractères d’une chaîne de texte à partir de la position que vous indiquez. -MIDB = STXTB ## Renvoie un nombre déterminé de caractères d’une chaîne de texte à partir de la position que vous indiquez. -PHONETIC = PHONETIQUE ## Extrait les caractères phonétiques (furigana) d’une chaîne de texte. -PROPER = NOMPROPRE ## Met en majuscules la première lettre de chaque mot dans une chaîne textuelle. -REPLACE = REMPLACER ## Remplace des caractères dans un texte. -REPLACEB = REMPLACERB ## Remplace des caractères dans un texte. -REPT = REPT ## Répète un texte un certain nombre de fois. -RIGHT = DROITE ## Renvoie des caractères situés à l’extrême droite d’une chaîne de caractères. -RIGHTB = DROITEB ## Renvoie des caractères situés à l’extrême droite d’une chaîne de caractères. -SEARCH = CHERCHE ## Trouve un texte dans un autre texte (sans respecter la casse). -SEARCHB = CHERCHERB ## Trouve un texte dans un autre texte (sans respecter la casse). -SUBSTITUTE = SUBSTITUE ## Remplace l’ancien texte d’une chaîne de caractères par un nouveau. -T = T ## Convertit ses arguments en texte. -TEXT = TEXTE ## Convertit un nombre au format texte. -TRIM = SUPPRESPACE ## Supprime les espaces du texte. -UPPER = MAJUSCULE ## Convertit le texte en majuscules. -VALUE = CNUM ## Convertit un argument textuel en nombre diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/fr/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/config deleted file mode 100644 index 080b2018f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = Ft - - -## -## Excel Error Codes (For future use) -## -NULL = #NULLA! -DIV0 = #ZÉRÓOSZTÓ! -VALUE = #ÉRTÉK! -REF = #HIV! -NAME = #NÉV? -NUM = #SZÁM! -NA = #HIÁNYZIK diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/functions deleted file mode 100644 index 200d3f71f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Bővítmények és automatizálási függvények -## -GETPIVOTDATA = KIMUTATÁSADATOT.VESZ ## A kimutatásokban tárolt adatok visszaadására használható. - - -## -## Cube functions Kockafüggvények -## -CUBEKPIMEMBER = KOCKA.FŐTELJMUT ## Egy fő teljesítménymutató (KPI) nevét, tulajdonságát és mértékegységét adja eredményül, a nevet és a tulajdonságot megjeleníti a cellában. A KPI-k számszerűsíthető mérési lehetőséget jelentenek – ilyen mutató például a havi bruttó nyereség vagy az egy alkalmazottra jutó negyedéves forgalom –, egy szervezet teljesítményének nyomonkövetésére használhatók. -CUBEMEMBER = KOCKA.TAG ## Kockahierachia tagját vagy rekordját adja eredményül. Ellenőrizhető vele, hogy szerepel-e a kockában az adott tag vagy rekord. -CUBEMEMBERPROPERTY = KOCKA.TAG.TUL ## A kocka egyik tagtulajdonságának értékét adja eredményül. Használatával ellenőrizhető, hogy szerepel-e egy tagnév a kockában, eredménye pedig az erre a tagra vonatkozó, megadott tulajdonság. -CUBERANKEDMEMBER = KOCKA.HALM.ELEM ## Egy halmaz rangsor szerinti n-edik tagját adja eredményül. Használatával egy halmaz egy vagy több elemét kaphatja meg, például a legnagyobb teljesítményű üzletkötőt vagy a 10 legjobb tanulót. -CUBESET = KOCKA.HALM ## Számított tagok vagy rekordok halmazát adja eredményül, ehhez egy beállított kifejezést elküld a kiszolgálón található kockának, majd ezt a halmazt adja vissza a Microsoft Office Excel alkalmazásnak. -CUBESETCOUNT = KOCKA.HALM.DB ## Egy halmaz elemszámát adja eredményül. -CUBEVALUE = KOCKA.ÉRTÉK ## Kockából összesített értéket ad eredményül. - - -## -## Database functions Adatbázis-kezelő függvények -## -DAVERAGE = AB.ÁTLAG ## A kijelölt adatbáziselemek átlagát számítja ki. -DCOUNT = AB.DARAB ## Megszámolja, hogy az adatbázisban hány cella tartalmaz számokat. -DCOUNTA = AB.DARAB2 ## Megszámolja az adatbázisban lévő nem üres cellákat. -DGET = AB.MEZŐ ## Egy adatbázisból egyetlen olyan rekordot ad vissza, amely megfelel a megadott feltételeknek. -DMAX = AB.MAX ## A kiválasztott adatbáziselemek közül a legnagyobb értéket adja eredményül. -DMIN = AB.MIN ## A kijelölt adatbáziselemek közül a legkisebb értéket adja eredményül. -DPRODUCT = AB.SZORZAT ## Az adatbázis megadott feltételeknek eleget tevő rekordjaira összeszorozza a megadott mezőben található számértékeket, és eredményül ezt a szorzatot adja. -DSTDEV = AB.SZÓRÁS ## A kijelölt adatbáziselemek egy mintája alapján megbecsüli a szórást. -DSTDEVP = AB.SZÓRÁS2 ## A kijelölt adatbáziselemek teljes sokasága alapján kiszámítja a szórást. -DSUM = AB.SZUM ## Összeadja a feltételnek megfelelő adatbázisrekordok mezőoszlopában a számokat. -DVAR = AB.VAR ## A kijelölt adatbáziselemek mintája alapján becslést ad a szórásnégyzetre. -DVARP = AB.VAR2 ## A kijelölt adatbáziselemek teljes sokasága alapján kiszámítja a szórásnégyzetet. - - -## -## Date and time functions Dátumfüggvények -## -DATE = DÁTUM ## Adott dátum dátumértékét adja eredményül. -DATEVALUE = DÁTUMÉRTÉK ## Szövegként megadott dátumot dátumértékké alakít át. -DAY = NAP ## Dátumértéket a hónap egy napjává (0-31) alakít. -DAYS360 = NAP360 ## Két dátum közé eső napok számát számítja ki a 360 napos év alapján. -EDATE = EDATE ## Adott dátumnál adott számú hónappal korábbi vagy későbbi dátum dátumértékét adja eredményül. -EOMONTH = EOMONTH ## Adott dátumnál adott számú hónappal korábbi vagy későbbi hónap utolsó napjának dátumértékét adja eredményül. -HOUR = ÓRA ## Időértéket órákká alakít. -MINUTE = PERC ## Időértéket percekké alakít. -MONTH = HÓNAP ## Időértéket hónapokká alakít. -NETWORKDAYS = NETWORKDAYS ## Két dátum között a teljes munkanapok számát adja meg. -NOW = MOST ## A napi dátum dátumértékét és a pontos idő időértékét adja eredményül. -SECOND = MPERC ## Időértéket másodpercekké alakít át. -TIME = IDŐ ## Adott időpont időértékét adja meg. -TIMEVALUE = IDŐÉRTÉK ## Szövegként megadott időpontot időértékké alakít át. -TODAY = MA ## A napi dátum dátumértékét adja eredményül. -WEEKDAY = HÉT.NAPJA ## Dátumértéket a hét napjává alakítja át. -WEEKNUM = WEEKNUM ## Visszatérési értéke egy szám, amely azt mutatja meg, hogy a megadott dátum az év hányadik hetére esik. -WORKDAY = WORKDAY ## Adott dátumnál adott munkanappal korábbi vagy későbbi dátum dátumértékét adja eredményül. -YEAR = ÉV ## Sorszámot évvé alakít át. -YEARFRAC = YEARFRAC ## Az adott dátumok közötti teljes napok számát törtévként adja meg. - - -## -## Engineering functions Mérnöki függvények -## -BESSELI = BESSELI ## Az In(x) módosított Bessel-függvény értékét adja eredményül. -BESSELJ = BESSELJ ## A Jn(x) Bessel-függvény értékét adja eredményül. -BESSELK = BESSELK ## A Kn(x) módosított Bessel-függvény értékét adja eredményül. -BESSELY = BESSELY ## Az Yn(x) módosított Bessel-függvény értékét adja eredményül. -BIN2DEC = BIN2DEC ## Bináris számot decimálissá alakít át. -BIN2HEX = BIN2HEX ## Bináris számot hexadecimálissá alakít át. -BIN2OCT = BIN2OCT ## Bináris számot oktálissá alakít át. -COMPLEX = COMPLEX ## Valós és képzetes részből komplex számot képez. -CONVERT = CONVERT ## Mértékegységeket vált át. -DEC2BIN = DEC2BIN ## Decimális számot binárissá alakít át. -DEC2HEX = DEC2HEX ## Decimális számot hexadecimálissá alakít át. -DEC2OCT = DEC2OCT ## Decimális számot oktálissá alakít át. -DELTA = DELTA ## Azt vizsgálja, hogy két érték egyenlő-e. -ERF = ERF ## A hibafüggvény értékét adja eredményül. -ERFC = ERFC ## A kiegészített hibafüggvény értékét adja eredményül. -GESTEP = GESTEP ## Azt vizsgálja, hogy egy szám nagyobb-e adott küszöbértéknél. -HEX2BIN = HEX2BIN ## Hexadecimális számot binárissá alakít át. -HEX2DEC = HEX2DEC ## Hexadecimális számot decimálissá alakít át. -HEX2OCT = HEX2OCT ## Hexadecimális számot oktálissá alakít át. -IMABS = IMABS ## Komplex szám abszolút értékét (modulusát) adja eredményül. -IMAGINARY = IMAGINARY ## Komplex szám képzetes részét adja eredményül. -IMARGUMENT = IMARGUMENT ## A komplex szám radiánban kifejezett théta argumentumát adja eredményül. -IMCONJUGATE = IMCONJUGATE ## Komplex szám komplex konjugáltját adja eredményül. -IMCOS = IMCOS ## Komplex szám koszinuszát adja eredményül. -IMDIV = IMDIV ## Két komplex szám hányadosát adja eredményül. -IMEXP = IMEXP ## Az e szám komplex kitevőjű hatványát adja eredményül. -IMLN = IMLN ## Komplex szám természetes logaritmusát adja eredményül. -IMLOG10 = IMLOG10 ## Komplex szám tízes alapú logaritmusát adja eredményül. -IMLOG2 = IMLOG2 ## Komplex szám kettes alapú logaritmusát adja eredményül. -IMPOWER = IMPOWER ## Komplex szám hatványát adja eredményül. -IMPRODUCT = IMPRODUCT ## Komplex számok szorzatát adja eredményül. -IMREAL = IMREAL ## Komplex szám valós részét adja eredményül. -IMSIN = IMSIN ## Komplex szám szinuszát adja eredményül. -IMSQRT = IMSQRT ## Komplex szám négyzetgyökét adja eredményül. -IMSUB = IMSUB ## Két komplex szám különbségét adja eredményül. -IMSUM = IMSUM ## Komplex számok összegét adja eredményül. -OCT2BIN = OCT2BIN ## Oktális számot binárissá alakít át. -OCT2DEC = OCT2DEC ## Oktális számot decimálissá alakít át. -OCT2HEX = OCT2HEX ## Oktális számot hexadecimálissá alakít át. - - -## -## Financial functions Pénzügyi függvények -## -ACCRINT = ACCRINT ## Periodikusan kamatozó értékpapír felszaporodott kamatát adja eredményül. -ACCRINTM = ACCRINTM ## Lejáratkor kamatozó értékpapír felszaporodott kamatát adja eredményül. -AMORDEGRC = AMORDEGRC ## Állóeszköz lineáris értékcsökkenését adja meg az egyes könyvelési időszakokra vonatkozóan. -AMORLINC = AMORLINC ## Az egyes könyvelési időszakokban az értékcsökkenést adja meg. -COUPDAYBS = COUPDAYBS ## A szelvényidőszak kezdetétől a kifizetés időpontjáig eltelt napokat adja vissza. -COUPDAYS = COUPDAYS ## A kifizetés időpontját magában foglaló szelvényperiódus hosszát adja meg napokban. -COUPDAYSNC = COUPDAYSNC ## A kifizetés időpontja és a legközelebbi szelvénydátum közötti napok számát adja meg. -COUPNCD = COUPNCD ## A kifizetést követő legelső szelvénydátumot adja eredményül. -COUPNUM = COUPNUM ## A kifizetés és a lejárat időpontja között kifizetendő szelvények számát adja eredményül. -COUPPCD = COUPPCD ## A kifizetés előtti utolsó szelvénydátumot adja eredményül. -CUMIPMT = CUMIPMT ## Két fizetési időszak között kifizetett kamat halmozott értékét adja eredményül. -CUMPRINC = CUMPRINC ## Két fizetési időszak között kifizetett részletek halmozott (kamatot nem tartalmazó) értékét adja eredményül. -DB = KCS2 ## Eszköz adott időszak alatti értékcsökkenését számítja ki a lineáris leírási modell alkalmazásával. -DDB = KCSA ## Eszköz értékcsökkenését számítja ki adott időszakra vonatkozóan a progresszív vagy egyéb megadott leírási modell alkalmazásával. -DISC = DISC ## Értékpapír leszámítolási kamatlábát adja eredményül. -DOLLARDE = DOLLARDE ## Egy közönséges törtként megadott számot tizedes törtté alakít át. -DOLLARFR = DOLLARFR ## Tizedes törtként megadott számot közönséges törtté alakít át. -DURATION = DURATION ## Periodikus kamatfizetésű értékpapír éves kamatérzékenységét adja eredményül. -EFFECT = EFFECT ## Az éves tényleges kamatláb értékét adja eredményül. -FV = JBÉ ## Befektetés jövőbeli értékét számítja ki. -FVSCHEDULE = FVSCHEDULE ## A kezdőtőke adott kamatlábak szerint megnövelt jövőbeli értékét adja eredményül. -INTRATE = INTRATE ## A lejáratig teljesen lekötött értékpapír kamatrátáját adja eredményül. -IPMT = RRÉSZLET ## Hiteltörlesztésen belül a tőketörlesztés nagyságát számítja ki adott időszakra. -IRR = BMR ## A befektetés belső megtérülési rátáját számítja ki pénzáramláshoz. -ISPMT = LRÉSZLETKAMAT ## A befektetés adott időszakára fizetett kamatot számítja ki. -MDURATION = MDURATION ## Egy 100 Ft névértékű értékpapír Macauley-féle módosított kamatérzékenységét adja eredményül. -MIRR = MEGTÉRÜLÉS ## A befektetés belső megtérülési rátáját számítja ki a költségek és a bevételek különböző kamatlába mellett. -NOMINAL = NOMINAL ## Az éves névleges kamatláb értékét adja eredményül. -NPER = PER.SZÁM ## A törlesztési időszakok számát adja meg. -NPV = NMÉ ## Befektetéshez kapcsolódó pénzáramlás nettó jelenértékét számítja ki ismert pénzáramlás és kamatláb mellett. -ODDFPRICE = ODDFPRICE ## Egy 100 Ft névértékű, a futamidő elején töredék-időszakos értékpapír árát adja eredményül. -ODDFYIELD = ODDFYIELD ## A futamidő elején töredék-időszakos értékpapír hozamát adja eredményül. -ODDLPRICE = ODDLPRICE ## Egy 100 Ft névértékű, a futamidő végén töredék-időszakos értékpapír árát adja eredményül. -ODDLYIELD = ODDLYIELD ## A futamidő végén töredék-időszakos értékpapír hozamát adja eredményül. -PMT = RÉSZLET ## A törlesztési időszakra vonatkozó törlesztési összeget számítja ki. -PPMT = PRÉSZLET ## Hiteltörlesztésen belül a tőketörlesztés nagyságát számítja ki adott időszakra. -PRICE = PRICE ## Egy 100 Ft névértékű, periodikusan kamatozó értékpapír árát adja eredményül. -PRICEDISC = PRICEDISC ## Egy 100 Ft névértékű leszámítolt értékpapír árát adja eredményül. -PRICEMAT = PRICEMAT ## Egy 100 Ft névértékű, a lejáratkor kamatozó értékpapír árát adja eredményül. -PV = MÉ ## Befektetés jelenlegi értékét számítja ki. -RATE = RÁTA ## Egy törlesztési időszakban az egy időszakra eső kamatláb nagyságát számítja ki. -RECEIVED = RECEIVED ## A lejáratig teljesen lekötött értékpapír lejáratakor kapott összegét adja eredményül. -SLN = LCSA ## Tárgyi eszköz egy időszakra eső amortizációját adja meg bruttó érték szerinti lineáris leírási kulcsot alkalmazva. -SYD = SYD ## Tárgyi eszköz értékcsökkenését számítja ki adott időszakra az évek számjegyösszegével dolgozó módszer alapján. -TBILLEQ = TBILLEQ ## Kincstárjegy kötvény-egyenértékű hozamát adja eredményül. -TBILLPRICE = TBILLPRICE ## Egy 100 Ft névértékű kincstárjegy árát adja eredményül. -TBILLYIELD = TBILLYIELD ## Kincstárjegy hozamát adja eredményül. -VDB = ÉCSRI ## Tárgyi eszköz amortizációját számítja ki megadott vagy részidőszakra a csökkenő egyenleg módszerének alkalmazásával. -XIRR = XIRR ## Ütemezett készpénzforgalom (cash flow) belső megtérülési kamatrátáját adja eredményül. -XNPV = XNPV ## Ütemezett készpénzforgalom (cash flow) nettó jelenlegi értékét adja eredményül. -YIELD = YIELD ## Periodikusan kamatozó értékpapír hozamát adja eredményül. -YIELDDISC = YIELDDISC ## Leszámítolt értékpapír (például kincstárjegy) éves hozamát adja eredményül. -YIELDMAT = YIELDMAT ## Lejáratkor kamatozó értékpapír éves hozamát adja eredményül. - - -## -## Information functions Információs függvények -## -CELL = CELLA ## Egy cella formátumára, elhelyezkedésére vagy tartalmára vonatkozó adatokat ad eredményül. -ERROR.TYPE = HIBA.TÍPUS ## Egy hibatípushoz tartozó számot ad eredményül. -INFO = INFÓ ## A rendszer- és munkakörnyezet pillanatnyi állapotáról ad felvilágosítást. -ISBLANK = ÜRES ## Eredménye IGAZ, ha az érték üres. -ISERR = HIBA ## Eredménye IGAZ, ha az érték valamelyik hibaérték a #HIÁNYZIK kivételével. -ISERROR = HIBÁS ## Eredménye IGAZ, ha az érték valamelyik hibaérték. -ISEVEN = ISEVEN ## Eredménye IGAZ, ha argumentuma páros szám. -ISLOGICAL = LOGIKAI ## Eredménye IGAZ, ha az érték logikai érték. -ISNA = NINCS ## Eredménye IGAZ, ha az érték a #HIÁNYZIK hibaérték. -ISNONTEXT = NEM.SZÖVEG ## Eredménye IGAZ, ha az érték nem szöveg. -ISNUMBER = SZÁM ## Eredménye IGAZ, ha az érték szám. -ISODD = ISODD ## Eredménye IGAZ, ha argumentuma páratlan szám. -ISREF = HIVATKOZÁS ## Eredménye IGAZ, ha az érték hivatkozás. -ISTEXT = SZÖVEG.E ## Eredménye IGAZ, ha az érték szöveg. -N = N ## Argumentumának értékét számmá alakítja. -NA = HIÁNYZIK ## Eredménye a #HIÁNYZIK hibaérték. -TYPE = TÍPUS ## Érték adattípusának azonosítószámát adja eredményül. - - -## -## Logical functions Logikai függvények -## -AND = ÉS ## Eredménye IGAZ, ha minden argumentuma IGAZ. -FALSE = HAMIS ## A HAMIS logikai értéket adja eredményül. -IF = HA ## Logikai vizsgálatot hajt végre. -IFERROR = HAHIBA ## A megadott értéket adja vissza, ha egy képlet hibához vezet; más esetben a képlet értékét adja eredményül. -NOT = NEM ## Argumentuma értékének ellentettjét adja eredményül. -OR = VAGY ## Eredménye IGAZ, ha bármely argumentuma IGAZ. -TRUE = IGAZ ## Az IGAZ logikai értéket adja eredményül. - - -## -## Lookup and reference functions Keresési és hivatkozási függvények -## -ADDRESS = CÍM ## A munkalap egy cellájára való hivatkozást adja szövegként eredményül. -AREAS = TERÜLET ## Hivatkozásban a területek számát adja eredményül. -CHOOSE = VÁLASZT ## Értékek listájából választ ki egy elemet. -COLUMN = OSZLOP ## Egy hivatkozás oszlopszámát adja eredményül. -COLUMNS = OSZLOPOK ## A hivatkozásban található oszlopok számát adja eredményül. -HLOOKUP = VKERES ## A megadott tömb felső sorában adott értékű elemet keres, és a megtalált elem oszlopából adott sorban elhelyezkedő értékkel tér vissza. -HYPERLINK = HIPERHIVATKOZÁS ## Hálózati kiszolgálón, intraneten vagy az interneten tárolt dokumentumot megnyitó parancsikont vagy hivatkozást hoz létre. -INDEX = INDEX ## Tömb- vagy hivatkozás indexszel megadott értékét adja vissza. -INDIRECT = INDIREKT ## Szöveg megadott hivatkozást ad eredményül. -LOOKUP = KERES ## Vektorban vagy tömbben keres meg értékeket. -MATCH = HOL.VAN ## Hivatkozásban vagy tömbben értékeket keres. -OFFSET = OFSZET ## Hivatkozás egy másik hivatkozástól számított távolságát adja meg. -ROW = SOR ## Egy hivatkozás sorának számát adja meg. -ROWS = SOROK ## Egy hivatkozás sorainak számát adja meg. -RTD = RTD ## Valós idejű adatokat keres vissza a COM automatizmust (automatizálás: Egy alkalmazás objektumaival való munka másik alkalmazásból vagy fejlesztőeszközből. A korábban OLE automatizmusnak nevezett automatizálás iparági szabvány, a Component Object Model (COM) szolgáltatása.) támogató programból. -TRANSPOSE = TRANSZPONÁLÁS ## Egy tömb transzponáltját adja eredményül. -VLOOKUP = FKERES ## A megadott tömb bal szélső oszlopában megkeres egy értéket, majd annak sora és a megadott oszlop metszéspontjában levő értéked adja eredményül. - - -## -## Math and trigonometry functions Matematikai és trigonometrikus függvények -## -ABS = ABS ## Egy szám abszolút értékét adja eredményül. -ACOS = ARCCOS ## Egy szám arkusz koszinuszát számítja ki. -ACOSH = ACOSH ## Egy szám inverz koszinusz hiperbolikuszát számítja ki. -ASIN = ARCSIN ## Egy szám arkusz szinuszát számítja ki. -ASINH = ASINH ## Egy szám inverz szinusz hiperbolikuszát számítja ki. -ATAN = ARCTAN ## Egy szám arkusz tangensét számítja ki. -ATAN2 = ARCTAN2 ## X és y koordináták alapján számítja ki az arkusz tangens értéket. -ATANH = ATANH ## A szám inverz tangens hiperbolikuszát számítja ki. -CEILING = PLAFON ## Egy számot a legközelebbi egészre vagy a pontosságként megadott érték legközelebb eső többszörösére kerekít. -COMBIN = KOMBINÁCIÓK ## Adott számú objektum összes lehetséges kombinációinak számát számítja ki. -COS = COS ## Egy szám koszinuszát számítja ki. -COSH = COSH ## Egy szám koszinusz hiperbolikuszát számítja ki. -DEGREES = FOK ## Radiánt fokká alakít át. -EVEN = PÁROS ## Egy számot a legközelebbi páros egész számra kerekít. -EXP = KITEVŐ ## Az e adott kitevőjű hatványát adja eredményül. -FACT = FAKT ## Egy szám faktoriálisát számítja ki. -FACTDOUBLE = FACTDOUBLE ## Egy szám dupla faktoriálisát adja eredményül. -FLOOR = PADLÓ ## Egy számot lefelé, a nulla felé kerekít. -GCD = GCD ## A legnagyobb közös osztót adja eredményül. -INT = INT ## Egy számot lefelé kerekít a legközelebbi egészre. -LCM = LCM ## A legkisebb közös többszöröst adja eredményül. -LN = LN ## Egy szám természetes logaritmusát számítja ki. -LOG = LOG ## Egy szám adott alapú logaritmusát számítja ki. -LOG10 = LOG10 ## Egy szám 10-es alapú logaritmusát számítja ki. -MDETERM = MDETERM ## Egy tömb mátrix-determinánsát számítja ki. -MINVERSE = INVERZ.MÁTRIX ## Egy tömb mátrix inverzét adja eredményül. -MMULT = MSZORZAT ## Két tömb mátrix-szorzatát adja meg. -MOD = MARADÉK ## Egy szám osztási maradékát adja eredményül. -MROUND = MROUND ## A kívánt többszörösére kerekített értéket ad eredményül. -MULTINOMIAL = MULTINOMIAL ## Számhalmaz multinomiálisát adja eredményül. -ODD = PÁRATLAN ## Egy számot a legközelebbi páratlan számra kerekít. -PI = PI ## A pi matematikai állandót adja vissza. -POWER = HATVÁNY ## Egy szám adott kitevőjű hatványát számítja ki. -PRODUCT = SZORZAT ## Argumentumai szorzatát számítja ki. -QUOTIENT = QUOTIENT ## Egy hányados egész részét adja eredményül. -RADIANS = RADIÁN ## Fokot radiánná alakít át. -RAND = VÉL ## Egy 0 és 1 közötti véletlen számot ad eredményül. -RANDBETWEEN = RANDBETWEEN ## Megadott számok közé eső véletlen számot állít elő. -ROMAN = RÓMAI ## Egy számot római számokkal kifejezve szövegként ad eredményül. -ROUND = KEREKÍTÉS ## Egy számot adott számú számjegyre kerekít. -ROUNDDOWN = KEREKÍTÉS.LE ## Egy számot lefelé, a nulla felé kerekít. -ROUNDUP = KEREKÍTÉS.FEL ## Egy számot felfelé, a nullától távolabbra kerekít. -SERIESSUM = SERIESSUM ## Hatványsor összegét adja eredményül. -SIGN = ELŐJEL ## Egy szám előjelét adja meg. -SIN = SIN ## Egy szög szinuszát számítja ki. -SINH = SINH ## Egy szám szinusz hiperbolikuszát számítja ki. -SQRT = GYÖK ## Egy szám pozitív négyzetgyökét számítja ki. -SQRTPI = SQRTPI ## A (szám*pi) négyzetgyökét adja eredményül. -SUBTOTAL = RÉSZÖSSZEG ## Lista vagy adatbázis részösszegét adja eredményül. -SUM = SZUM ## Összeadja az argumentumlistájában lévő számokat. -SUMIF = SZUMHA ## A megadott feltételeknek eleget tevő cellákban található értékeket adja össze. -SUMIFS = SZUMHATÖBB ## Több megadott feltételnek eleget tévő tartománycellák összegét adja eredményül. -SUMPRODUCT = SZORZATÖSSZEG ## A megfelelő tömbelemek szorzatának összegét számítja ki. -SUMSQ = NÉGYZETÖSSZEG ## Argumentumai négyzetének összegét számítja ki. -SUMX2MY2 = SZUMX2BŐLY2 ## Két tömb megfelelő elemei négyzetének különbségét összegzi. -SUMX2PY2 = SZUMX2MEGY2 ## Két tömb megfelelő elemei négyzetének összegét összegzi. -SUMXMY2 = SZUMXBŐLY2 ## Két tömb megfelelő elemei különbségének négyzetösszegét számítja ki. -TAN = TAN ## Egy szám tangensét számítja ki. -TANH = TANH ## Egy szám tangens hiperbolikuszát számítja ki. -TRUNC = CSONK ## Egy számot egésszé csonkít. - - -## -## Statistical functions Statisztikai függvények -## -AVEDEV = ÁTL.ELTÉRÉS ## Az adatpontoknak átlaguktól való átlagos abszolút eltérését számítja ki. -AVERAGE = ÁTLAG ## Argumentumai átlagát számítja ki. -AVERAGEA = ÁTLAGA ## Argumentumai átlagát számítja ki (beleértve a számokat, szöveget és logikai értékeket). -AVERAGEIF = ÁTLAGHA ## A megadott feltételnek eleget tévő tartomány celláinak átlagát (számtani közepét) adja eredményül. -AVERAGEIFS = ÁTLAGHATÖBB ## A megadott feltételeknek eleget tévő cellák átlagát (számtani közepét) adja eredményül. -BETADIST = BÉTA.ELOSZLÁS ## A béta-eloszlás függvényt számítja ki. -BETAINV = INVERZ.BÉTA ## Adott béta-eloszláshoz kiszámítja a béta eloszlásfüggvény inverzét. -BINOMDIST = BINOM.ELOSZLÁS ## A diszkrét binomiális eloszlás valószínűségértékét számítja ki. -CHIDIST = KHI.ELOSZLÁS ## A khi-négyzet-eloszlás egyszélű valószínűségértékét számítja ki. -CHIINV = INVERZ.KHI ## A khi-négyzet-eloszlás egyszélű valószínűségértékének inverzét számítja ki. -CHITEST = KHI.PRÓBA ## Függetlenségvizsgálatot hajt végre. -CONFIDENCE = MEGBÍZHATÓSÁG ## Egy statisztikai sokaság várható értékének megbízhatósági intervallumát adja eredményül. -CORREL = KORREL ## Két adathalmaz korrelációs együtthatóját számítja ki. -COUNT = DARAB ## Megszámolja, hogy argumentumlistájában hány szám található. -COUNTA = DARAB2 ## Megszámolja, hogy argumentumlistájában hány érték található. -COUNTBLANK = DARABÜRES ## Egy tartományban összeszámolja az üres cellákat. -COUNTIF = DARABTELI ## Egy tartományban összeszámolja azokat a cellákat, amelyek eleget tesznek a megadott feltételnek. -COUNTIFS = DARABHATÖBB ## Egy tartományban összeszámolja azokat a cellákat, amelyek eleget tesznek több feltételnek. -COVAR = KOVAR ## A kovarianciát, azaz a páronkénti eltérések szorzatának átlagát számítja ki. -CRITBINOM = KRITBINOM ## Azt a legkisebb számot adja eredményül, amelyre a binomiális eloszlásfüggvény értéke nem kisebb egy adott határértéknél. -DEVSQ = SQ ## Az átlagtól való eltérések négyzetének összegét számítja ki. -EXPONDIST = EXP.ELOSZLÁS ## Az exponenciális eloszlás értékét számítja ki. -FDIST = F.ELOSZLÁS ## Az F-eloszlás értékét számítja ki. -FINV = INVERZ.F ## Az F-eloszlás inverzének értékét számítja ki. -FISHER = FISHER ## Fisher-transzformációt hajt végre. -FISHERINV = INVERZ.FISHER ## A Fisher-transzformáció inverzét hajtja végre. -FORECAST = ELŐREJELZÉS ## Az ismert értékek alapján lineáris regresszióval becsült értéket ad eredményül. -FREQUENCY = GYAKORISÁG ## A gyakorisági vagy empirikus eloszlás értékét függőleges tömbként adja eredményül. -FTEST = F.PRÓBA ## Az F-próba értékét adja eredményül. -GAMMADIST = GAMMA.ELOSZLÁS ## A gamma-eloszlás értékét számítja ki. -GAMMAINV = INVERZ.GAMMA ## A gamma-eloszlás eloszlásfüggvénye inverzének értékét számítja ki. -GAMMALN = GAMMALN ## A gamma-függvény természetes logaritmusát számítja ki. -GEOMEAN = MÉRTANI.KÖZÉP ## Argumentumai mértani középértékét számítja ki. -GROWTH = NÖV ## Exponenciális regresszió alapján ad becslést. -HARMEAN = HARM.KÖZÉP ## Argumentumai harmonikus átlagát számítja ki. -HYPGEOMDIST = HIPERGEOM.ELOSZLÁS ## A hipergeometriai eloszlás értékét számítja ki. -INTERCEPT = METSZ ## A regressziós egyenes y tengellyel való metszéspontját határozza meg. -KURT = CSÚCSOSSÁG ## Egy adathalmaz csúcsosságát számítja ki. -LARGE = NAGY ## Egy adathalmaz k-adik legnagyobb elemét adja eredményül. -LINEST = LIN.ILL ## A legkisebb négyzetek módszerével az adatokra illesztett egyenes paramétereit határozza meg. -LOGEST = LOG.ILL ## Az adatokra illesztett exponenciális görbe paramétereit határozza meg. -LOGINV = INVERZ.LOG.ELOSZLÁS ## A lognormális eloszlás inverzét számítja ki. -LOGNORMDIST = LOG.ELOSZLÁS ## A lognormális eloszlásfüggvény értékét számítja ki. -MAX = MAX ## Az argumentumai között szereplő legnagyobb számot adja meg. -MAXA = MAX2 ## Az argumentumai között szereplő legnagyobb számot adja meg (beleértve a számokat, szöveget és logikai értékeket). -MEDIAN = MEDIÁN ## Adott számhalmaz mediánját számítja ki. -MIN = MIN ## Az argumentumai között szereplő legkisebb számot adja meg. -MINA = MIN2 ## Az argumentumai között szereplő legkisebb számot adja meg, beleértve a számokat, szöveget és logikai értékeket. -MODE = MÓDUSZ ## Egy adathalmazból kiválasztja a leggyakrabban előforduló számot. -NEGBINOMDIST = NEGBINOM.ELOSZL ## A negatív binomiális eloszlás értékét számítja ki. -NORMDIST = NORM.ELOSZL ## A normális eloszlás értékét számítja ki. -NORMINV = INVERZ.NORM ## A normális eloszlás eloszlásfüggvénye inverzének értékét számítja ki. -NORMSDIST = STNORMELOSZL ## A standard normális eloszlás eloszlásfüggvényének értékét számítja ki. -NORMSINV = INVERZ.STNORM ## A standard normális eloszlás eloszlásfüggvénye inverzének értékét számítja ki. -PEARSON = PEARSON ## A Pearson-féle korrelációs együtthatót számítja ki. -PERCENTILE = PERCENTILIS ## Egy tartományban található értékek k-adik percentilisét, azaz százalékosztályát adja eredményül. -PERCENTRANK = SZÁZALÉKRANG ## Egy értéknek egy adathalmazon belül vett százalékos rangját (elhelyezkedését) számítja ki. -PERMUT = VARIÁCIÓK ## Adott számú objektum k-ad osztályú ismétlés nélküli variációinak számát számítja ki. -POISSON = POISSON ## A Poisson-eloszlás értékét számítja ki. -PROB = VALÓSZÍNŰSÉG ## Annak valószínűségét számítja ki, hogy adott értékek két határérték közé esnek. -QUARTILE = KVARTILIS ## Egy adathalmaz kvartilisét (negyedszintjét) számítja ki. -RANK = SORSZÁM ## Kiszámítja, hogy egy szám hányadik egy számsorozatban. -RSQ = RNÉGYZET ## Kiszámítja a Pearson-féle szorzatmomentum korrelációs együtthatójának négyzetét. -SKEW = FERDESÉG ## Egy eloszlás ferdeségét határozza meg. -SLOPE = MEREDEKSÉG ## Egy lineáris regressziós egyenes meredekségét számítja ki. -SMALL = KICSI ## Egy adathalmaz k-adik legkisebb elemét adja meg. -STANDARDIZE = NORMALIZÁLÁS ## Normalizált értéket ad eredményül. -STDEV = SZÓRÁS ## Egy statisztikai sokaság mintájából kiszámítja annak szórását. -STDEVA = SZÓRÁSA ## Egy statisztikai sokaság mintájából kiszámítja annak szórását (beleértve a számokat, szöveget és logikai értékeket). -STDEVP = SZÓRÁSP ## Egy statisztikai sokaság egészéből kiszámítja annak szórását. -STDEVPA = SZÓRÁSPA ## Egy statisztikai sokaság egészéből kiszámítja annak szórását (beleértve számokat, szöveget és logikai értékeket). -STEYX = STHIBAYX ## Egy regresszió esetén az egyes x-értékek alapján meghatározott y-értékek standard hibáját számítja ki. -TDIST = T.ELOSZLÁS ## A Student-féle t-eloszlás értékét számítja ki. -TINV = INVERZ.T ## A Student-féle t-eloszlás inverzét számítja ki. -TREND = TREND ## Lineáris trend értékeit számítja ki. -TRIMMEAN = RÉSZÁTLAG ## Egy adathalmaz középső részének átlagát számítja ki. -TTEST = T.PRÓBA ## A Student-féle t-próbához tartozó valószínűséget számítja ki. -VAR = VAR ## Minta alapján becslést ad a varianciára. -VARA = VARA ## Minta alapján becslést ad a varianciára (beleértve számokat, szöveget és logikai értékeket). -VARP = VARP ## Egy statisztikai sokaság varianciáját számítja ki. -VARPA = VARPA ## Egy statisztikai sokaság varianciáját számítja ki (beleértve számokat, szöveget és logikai értékeket). -WEIBULL = WEIBULL ## A Weibull-féle eloszlás értékét számítja ki. -ZTEST = Z.PRÓBA ## Az egyszélű z-próbával kapott valószínűségértéket számítja ki. - - -## -## Text functions Szövegműveletekhez használható függvények -## -ASC = ASC ## Szöveg teljes szélességű (kétbájtos) latin és katakana karaktereit félszélességű (egybájtos) karakterekké alakítja. -BAHTTEXT = BAHTSZÖVEG ## Számot szöveggé alakít a ß (baht) pénznemformátum használatával. -CHAR = KARAKTER ## A kódszámmal meghatározott karaktert adja eredményül. -CLEAN = TISZTÍT ## A szövegből eltávolítja az összes nem nyomtatható karaktert. -CODE = KÓD ## Karaktersorozat első karakterének numerikus kódját adja eredményül. -CONCATENATE = ÖSSZEFŰZ ## Több szövegelemet egyetlen szöveges elemmé fűz össze. -DOLLAR = FORINT ## Számot pénznem formátumú szöveggé alakít át. -EXACT = AZONOS ## Megvizsgálja, hogy két érték azonos-e. -FIND = SZÖVEG.TALÁL ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk megkülönböztetésével). -FINDB = SZÖVEG.TALÁL2 ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk megkülönböztetésével). -FIXED = FIX ## Számot szöveges formátumúra alakít adott számú tizedesjegyre kerekítve. -JIS = JIS ## A félszélességű (egybájtos) latin és a katakana karaktereket teljes szélességű (kétbájtos) karakterekké alakítja. -LEFT = BAL ## Szöveg bal szélső karaktereit adja eredményül. -LEFTB = BAL2 ## Szöveg bal szélső karaktereit adja eredményül. -LEN = HOSSZ ## Szöveg karakterekben mért hosszát adja eredményül. -LENB = HOSSZ2 ## Szöveg karakterekben mért hosszát adja eredményül. -LOWER = KISBETŰ ## Szöveget kisbetűssé alakít át. -MID = KÖZÉP ## A szöveg adott pozíciójától kezdve megadott számú karaktert ad vissza eredményként. -MIDB = KÖZÉP2 ## A szöveg adott pozíciójától kezdve megadott számú karaktert ad vissza eredményként. -PHONETIC = PHONETIC ## Szöveg furigana (fonetikus) karaktereit adja vissza. -PROPER = TNÉV ## Szöveg minden szavának kezdőbetűjét nagybetűsre cseréli. -REPLACE = CSERE ## A szövegen belül karaktereket cserél. -REPLACEB = CSERE2 ## A szövegen belül karaktereket cserél. -REPT = SOKSZOR ## Megadott számú alkalommal megismétel egy szövegrészt. -RIGHT = JOBB ## Szövegrész jobb szélső karaktereit adja eredményül. -RIGHTB = JOBB2 ## Szövegrész jobb szélső karaktereit adja eredményül. -SEARCH = SZÖVEG.KERES ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk között nem tesz különbséget). -SEARCHB = SZÖVEG.KERES2 ## Karaktersorozatot keres egy másikban (a kis- és nagybetűk között nem tesz különbséget). -SUBSTITUTE = HELYETTE ## Szövegben adott karaktereket másikra cserél. -T = T ## Argumentumát szöveggé alakítja át. -TEXT = SZÖVEG ## Számértéket alakít át adott számformátumú szöveggé. -TRIM = TRIM ## A szövegből eltávolítja a szóközöket. -UPPER = NAGYBETŰS ## Szöveget nagybetűssé alakít át. -VALUE = ÉRTÉK ## Szöveget számmá alakít át. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/hu/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/config deleted file mode 100644 index c3afa754b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NULLO! -DIV0 = #DIV/0! -VALUE = #VALORE! -REF = #RIF! -NAME = #NOME? -NUM = #NUM! -NA = #N/D diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/functions deleted file mode 100644 index fa290febf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/functions +++ /dev/null @@ -1,439 +0,0 @@ -## -## PHPExcel -## - -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funzioni di automazione e dei componenti aggiuntivi -## -GETPIVOTDATA = INFO.DATI.TAB.PIVOT ## Restituisce i dati memorizzati in un rapporto di tabella pivot - - -## -## Cube functions Funzioni cubo -## -CUBEKPIMEMBER = MEMBRO.KPI.CUBO ## Restituisce il nome, la proprietà e la misura di un indicatore di prestazioni chiave (KPI) e visualizza il nome e la proprietà nella cella. Un KPI è una misura quantificabile, ad esempio l'utile lordo mensile o il fatturato trimestrale dei dipendenti, utilizzata per il monitoraggio delle prestazioni di un'organizzazione. -CUBEMEMBER = MEMBRO.CUBO ## Restituisce un membro o una tupla in una gerarchia di cubi. Consente di verificare l'esistenza del membro o della tupla nel cubo. -CUBEMEMBERPROPERTY = PROPRIETÀ.MEMBRO.CUBO ## Restituisce il valore di una proprietà di un membro del cubo. Consente di verificare l'esistenza di un nome di membro all'interno del cubo e di restituire la proprietà specificata per tale membro. -CUBERANKEDMEMBER = MEMBRO.CUBO.CON.RANGO ## Restituisce l'n-esimo membro o il membro ordinato di un insieme. Consente di restituire uno o più elementi in un insieme, ad esempio l'agente di vendita migliore o i primi 10 studenti. -CUBESET = SET.CUBO ## Definisce un insieme di tuple o membri calcolati mediante l'invio di un'espressione di insieme al cubo sul server. In questo modo l'insieme viene creato e restituito a Microsoft Office Excel. -CUBESETCOUNT = CONTA.SET.CUBO ## Restituisce il numero di elementi di un insieme. -CUBEVALUE = VALORE.CUBO ## Restituisce un valore aggregato da un cubo. - - -## -## Database functions Funzioni di database -## -DAVERAGE = DB.MEDIA ## Restituisce la media di voci del database selezionate -DCOUNT = DB.CONTA.NUMERI ## Conta le celle di un database contenenti numeri -DCOUNTA = DB.CONTA.VALORI ## Conta le celle non vuote in un database -DGET = DB.VALORI ## Estrae da un database un singolo record che soddisfa i criteri specificati -DMAX = DB.MAX ## Restituisce il valore massimo dalle voci selezionate in un database -DMIN = DB.MIN ## Restituisce il valore minimo dalle voci di un database selezionate -DPRODUCT = DB.PRODOTTO ## Moltiplica i valori in un determinato campo di record che soddisfano i criteri del database -DSTDEV = DB.DEV.ST ## Restituisce una stima della deviazione standard sulla base di un campione di voci di un database selezionate -DSTDEVP = DB.DEV.ST.POP ## Calcola la deviazione standard sulla base di tutte le voci di un database selezionate -DSUM = DB.SOMMA ## Aggiunge i numeri nel campo colonna di record del database che soddisfa determinati criteri -DVAR = DB.VAR ## Restituisce una stima della varianza sulla base di un campione da voci di un database selezionate -DVARP = DB.VAR.POP ## Calcola la varianza sulla base di tutte le voci di un database selezionate - - -## -## Date and time functions Funzioni data e ora -## -DATE = DATA ## Restituisce il numero seriale di una determinata data -DATEVALUE = DATA.VALORE ## Converte una data sotto forma di testo in un numero seriale -DAY = GIORNO ## Converte un numero seriale in un giorno del mese -DAYS360 = GIORNO360 ## Calcola il numero di giorni compreso tra due date basandosi su un anno di 360 giorni -EDATE = DATA.MESE ## Restituisce il numero seriale della data che rappresenta il numero di mesi prima o dopo la data di inizio -EOMONTH = FINE.MESE ## Restituisce il numero seriale dell'ultimo giorno del mese, prima o dopo un determinato numero di mesi -HOUR = ORA ## Converte un numero seriale in un'ora -MINUTE = MINUTO ## Converte un numero seriale in un minuto -MONTH = MESE ## Converte un numero seriale in un mese -NETWORKDAYS = GIORNI.LAVORATIVI.TOT ## Restituisce il numero di tutti i giorni lavorativi compresi fra due date -NOW = ADESSO ## Restituisce il numero seriale della data e dell'ora corrente -SECOND = SECONDO ## Converte un numero seriale in un secondo -TIME = ORARIO ## Restituisce il numero seriale di una determinata ora -TIMEVALUE = ORARIO.VALORE ## Converte un orario in forma di testo in un numero seriale -TODAY = OGGI ## Restituisce il numero seriale relativo alla data odierna -WEEKDAY = GIORNO.SETTIMANA ## Converte un numero seriale in un giorno della settimana -WEEKNUM = NUM.SETTIMANA ## Converte un numero seriale in un numero che rappresenta la posizione numerica di una settimana nell'anno -WORKDAY = GIORNO.LAVORATIVO ## Restituisce il numero della data prima o dopo un determinato numero di giorni lavorativi -YEAR = ANNO ## Converte un numero seriale in un anno -YEARFRAC = FRAZIONE.ANNO ## Restituisce la frazione dell'anno che rappresenta il numero dei giorni compresi tra una data_ iniziale e una data_finale - - -## -## Engineering functions Funzioni ingegneristiche -## -BESSELI = BESSEL.I ## Restituisce la funzione di Bessel modificata In(x) -BESSELJ = BESSEL.J ## Restituisce la funzione di Bessel Jn(x) -BESSELK = BESSEL.K ## Restituisce la funzione di Bessel modificata Kn(x) -BESSELY = BESSEL.Y ## Restituisce la funzione di Bessel Yn(x) -BIN2DEC = BINARIO.DECIMALE ## Converte un numero binario in decimale -BIN2HEX = BINARIO.HEX ## Converte un numero binario in esadecimale -BIN2OCT = BINARIO.OCT ## Converte un numero binario in ottale -COMPLEX = COMPLESSO ## Converte i coefficienti reali e immaginari in numeri complessi -CONVERT = CONVERTI ## Converte un numero da un sistema di misura in un altro -DEC2BIN = DECIMALE.BINARIO ## Converte un numero decimale in binario -DEC2HEX = DECIMALE.HEX ## Converte un numero decimale in esadecimale -DEC2OCT = DECIMALE.OCT ## Converte un numero decimale in ottale -DELTA = DELTA ## Verifica se due valori sono uguali -ERF = FUNZ.ERRORE ## Restituisce la funzione di errore -ERFC = FUNZ.ERRORE.COMP ## Restituisce la funzione di errore complementare -GESTEP = SOGLIA ## Verifica se un numero è maggiore del valore di soglia -HEX2BIN = HEX.BINARIO ## Converte un numero esadecimale in binario -HEX2DEC = HEX.DECIMALE ## Converte un numero esadecimale in decimale -HEX2OCT = HEX.OCT ## Converte un numero esadecimale in ottale -IMABS = COMP.MODULO ## Restituisce il valore assoluto (modulo) di un numero complesso -IMAGINARY = COMP.IMMAGINARIO ## Restituisce il coefficiente immaginario di un numero complesso -IMARGUMENT = COMP.ARGOMENTO ## Restituisce l'argomento theta, un angolo espresso in radianti -IMCONJUGATE = COMP.CONIUGATO ## Restituisce il complesso coniugato del numero complesso -IMCOS = COMP.COS ## Restituisce il coseno di un numero complesso -IMDIV = COMP.DIV ## Restituisce il quoziente di due numeri complessi -IMEXP = COMP.EXP ## Restituisce il valore esponenziale di un numero complesso -IMLN = COMP.LN ## Restituisce il logaritmo naturale di un numero complesso -IMLOG10 = COMP.LOG10 ## Restituisce il logaritmo in base 10 di un numero complesso -IMLOG2 = COMP.LOG2 ## Restituisce un logaritmo in base 2 di un numero complesso -IMPOWER = COMP.POTENZA ## Restituisce il numero complesso elevato a una potenza intera -IMPRODUCT = COMP.PRODOTTO ## Restituisce il prodotto di numeri complessi compresi tra 2 e 29 -IMREAL = COMP.PARTE.REALE ## Restituisce il coefficiente reale di un numero complesso -IMSIN = COMP.SEN ## Restituisce il seno di un numero complesso -IMSQRT = COMP.RADQ ## Restituisce la radice quadrata di un numero complesso -IMSUB = COMP.DIFF ## Restituisce la differenza fra due numeri complessi -IMSUM = COMP.SOMMA ## Restituisce la somma di numeri complessi -OCT2BIN = OCT.BINARIO ## Converte un numero ottale in binario -OCT2DEC = OCT.DECIMALE ## Converte un numero ottale in decimale -OCT2HEX = OCT.HEX ## Converte un numero ottale in esadecimale - - -## -## Financial functions Funzioni finanziarie -## -ACCRINT = INT.MATURATO.PER ## Restituisce l'interesse maturato di un titolo che paga interessi periodici -ACCRINTM = INT.MATURATO.SCAD ## Restituisce l'interesse maturato di un titolo che paga interessi alla scadenza -AMORDEGRC = AMMORT.DEGR ## Restituisce l'ammortamento per ogni periodo contabile utilizzando un coefficiente di ammortamento -AMORLINC = AMMORT.PER ## Restituisce l'ammortamento per ogni periodo contabile -COUPDAYBS = GIORNI.CED.INIZ.LIQ ## Restituisce il numero dei giorni che vanno dall'inizio del periodo di durata della cedola alla data di liquidazione -COUPDAYS = GIORNI.CED ## Restituisce il numero dei giorni relativi al periodo della cedola che contiene la data di liquidazione -COUPDAYSNC = GIORNI.CED.NUOVA ## Restituisce il numero di giorni che vanno dalla data di liquidazione alla data della cedola successiva -COUPNCD = DATA.CED.SUCC ## Restituisce un numero che rappresenta la data della cedola successiva alla data di liquidazione -COUPNUM = NUM.CED ## Restituisce il numero di cedole pagabili fra la data di liquidazione e la data di scadenza -COUPPCD = DATA.CED.PREC ## Restituisce un numero che rappresenta la data della cedola precedente alla data di liquidazione -CUMIPMT = INT.CUMUL ## Restituisce l'interesse cumulativo pagato fra due periodi -CUMPRINC = CAP.CUM ## Restituisce il capitale cumulativo pagato per estinguere un debito fra due periodi -DB = DB ## Restituisce l'ammortamento di un bene per un periodo specificato utilizzando il metodo di ammortamento a quote fisse decrescenti -DDB = AMMORT ## Restituisce l'ammortamento di un bene per un periodo specificato utilizzando il metodo di ammortamento a doppie quote decrescenti o altri metodi specificati -DISC = TASSO.SCONTO ## Restituisce il tasso di sconto per un titolo -DOLLARDE = VALUTA.DEC ## Converte un prezzo valuta, espresso come frazione, in prezzo valuta, espresso come numero decimale -DOLLARFR = VALUTA.FRAZ ## Converte un prezzo valuta, espresso come numero decimale, in prezzo valuta, espresso come frazione -DURATION = DURATA ## Restituisce la durata annuale di un titolo con i pagamenti di interesse periodico -EFFECT = EFFETTIVO ## Restituisce l'effettivo tasso di interesse annuo -FV = VAL.FUT ## Restituisce il valore futuro di un investimento -FVSCHEDULE = VAL.FUT.CAPITALE ## Restituisce il valore futuro di un capitale iniziale dopo aver applicato una serie di tassi di interesse composti -INTRATE = TASSO.INT ## Restituisce il tasso di interesse per un titolo interamente investito -IPMT = INTERESSI ## Restituisce il valore degli interessi per un investimento relativo a un periodo specifico -IRR = TIR.COST ## Restituisce il tasso di rendimento interno per una serie di flussi di cassa -ISPMT = INTERESSE.RATA ## Calcola l'interesse di un investimento pagato durante un periodo specifico -MDURATION = DURATA.M ## Restituisce la durata Macauley modificata per un titolo con un valore presunto di € 100 -MIRR = TIR.VAR ## Restituisce il tasso di rendimento interno in cui i flussi di cassa positivi e negativi sono finanziati a tassi differenti -NOMINAL = NOMINALE ## Restituisce il tasso di interesse nominale annuale -NPER = NUM.RATE ## Restituisce un numero di periodi relativi a un investimento -NPV = VAN ## Restituisce il valore attuale netto di un investimento basato su una serie di flussi di cassa periodici e sul tasso di sconto -ODDFPRICE = PREZZO.PRIMO.IRR ## Restituisce il prezzo di un titolo dal valore nominale di € 100 avente il primo periodo di durata irregolare -ODDFYIELD = REND.PRIMO.IRR ## Restituisce il rendimento di un titolo avente il primo periodo di durata irregolare -ODDLPRICE = PREZZO.ULTIMO.IRR ## Restituisce il prezzo di un titolo dal valore nominale di € 100 avente l'ultimo periodo di durata irregolare -ODDLYIELD = REND.ULTIMO.IRR ## Restituisce il rendimento di un titolo avente l'ultimo periodo di durata irregolare -PMT = RATA ## Restituisce il pagamento periodico di una rendita annua -PPMT = P.RATA ## Restituisce il pagamento sul capitale di un investimento per un dato periodo -PRICE = PREZZO ## Restituisce il prezzo di un titolo dal valore nominale di € 100 che paga interessi periodici -PRICEDISC = PREZZO.SCONT ## Restituisce il prezzo di un titolo scontato dal valore nominale di € 100 -PRICEMAT = PREZZO.SCAD ## Restituisce il prezzo di un titolo dal valore nominale di € 100 che paga gli interessi alla scadenza -PV = VA ## Restituisce il valore attuale di un investimento -RATE = TASSO ## Restituisce il tasso di interesse per un periodo di un'annualità -RECEIVED = RICEV.SCAD ## Restituisce l'ammontare ricevuto alla scadenza di un titolo interamente investito -SLN = AMMORT.COST ## Restituisce l'ammortamento a quote costanti di un bene per un singolo periodo -SYD = AMMORT.ANNUO ## Restituisce l'ammortamento a somma degli anni di un bene per un periodo specificato -TBILLEQ = BOT.EQUIV ## Restituisce il rendimento equivalente ad un'obbligazione per un Buono ordinario del Tesoro -TBILLPRICE = BOT.PREZZO ## Restituisce il prezzo di un Buono del Tesoro dal valore nominale di € 100 -TBILLYIELD = BOT.REND ## Restituisce il rendimento di un Buono del Tesoro -VDB = AMMORT.VAR ## Restituisce l'ammortamento di un bene per un periodo specificato o parziale utilizzando il metodo a doppie quote proporzionali ai valori residui -XIRR = TIR.X ## Restituisce il tasso di rendimento interno di un impiego di flussi di cassa -XNPV = VAN.X ## Restituisce il valore attuale netto di un impiego di flussi di cassa non necessariamente periodici -YIELD = REND ## Restituisce il rendimento di un titolo che frutta interessi periodici -YIELDDISC = REND.TITOLI.SCONT ## Restituisce il rendimento annuale di un titolo scontato, ad esempio un Buono del Tesoro -YIELDMAT = REND.SCAD ## Restituisce il rendimento annuo di un titolo che paga interessi alla scadenza - - -## -## Information functions Funzioni relative alle informazioni -## -CELL = CELLA ## Restituisce le informazioni sulla formattazione, la posizione o i contenuti di una cella -ERROR.TYPE = ERRORE.TIPO ## Restituisce un numero che corrisponde a un tipo di errore -INFO = INFO ## Restituisce le informazioni sull'ambiente operativo corrente -ISBLANK = VAL.VUOTO ## Restituisce VERO se il valore è vuoto -ISERR = VAL.ERR ## Restituisce VERO se il valore è un valore di errore qualsiasi tranne #N/D -ISERROR = VAL.ERRORE ## Restituisce VERO se il valore è un valore di errore qualsiasi -ISEVEN = VAL.PARI ## Restituisce VERO se il numero è pari -ISLOGICAL = VAL.LOGICO ## Restituisce VERO se il valore è un valore logico -ISNA = VAL.NON.DISP ## Restituisce VERO se il valore è un valore di errore #N/D -ISNONTEXT = VAL.NON.TESTO ## Restituisce VERO se il valore non è in formato testo -ISNUMBER = VAL.NUMERO ## Restituisce VERO se il valore è un numero -ISODD = VAL.DISPARI ## Restituisce VERO se il numero è dispari -ISREF = VAL.RIF ## Restituisce VERO se il valore è un riferimento -ISTEXT = VAL.TESTO ## Restituisce VERO se il valore è in formato testo -N = NUM ## Restituisce un valore convertito in numero -NA = NON.DISP ## Restituisce il valore di errore #N/D -TYPE = TIPO ## Restituisce un numero che indica il tipo di dati relativi a un valore - - -## -## Logical functions Funzioni logiche -## -AND = E ## Restituisce VERO se tutti gli argomenti sono VERO -FALSE = FALSO ## Restituisce il valore logico FALSO -IF = SE ## Specifica un test logico da eseguire -IFERROR = SE.ERRORE ## Restituisce un valore specificato se una formula fornisce un errore come risultato; in caso contrario, restituisce il risultato della formula -NOT = NON ## Inverte la logica degli argomenti -OR = O ## Restituisce VERO se un argomento qualsiasi è VERO -TRUE = VERO ## Restituisce il valore logico VERO - - -## -## Lookup and reference functions Funzioni di ricerca e di riferimento -## -ADDRESS = INDIRIZZO ## Restituisce un riferimento come testo in una singola cella di un foglio di lavoro -AREAS = AREE ## Restituisce il numero di aree in un riferimento -CHOOSE = SCEGLI ## Sceglie un valore da un elenco di valori -COLUMN = RIF.COLONNA ## Restituisce il numero di colonna di un riferimento -COLUMNS = COLONNE ## Restituisce il numero di colonne in un riferimento -HLOOKUP = CERCA.ORIZZ ## Effettua una ricerca nella riga superiore di una matrice e restituisce il valore della cella specificata -HYPERLINK = COLLEG.IPERTESTUALE ## Crea un collegamento che apre un documento memorizzato in un server di rete, una rete Intranet o Internet -INDEX = INDICE ## Utilizza un indice per scegliere un valore da un riferimento o da una matrice -INDIRECT = INDIRETTO ## Restituisce un riferimento specificato da un valore testo -LOOKUP = CERCA ## Ricerca i valori in un vettore o in una matrice -MATCH = CONFRONTA ## Ricerca i valori in un riferimento o in una matrice -OFFSET = SCARTO ## Restituisce uno scarto di riferimento da un riferimento dato -ROW = RIF.RIGA ## Restituisce il numero di riga di un riferimento -ROWS = RIGHE ## Restituisce il numero delle righe in un riferimento -RTD = DATFIELDPOREALE ## Recupera dati in tempo reale da un programma che supporta l'automazione COM (automazione: Metodo per utilizzare gli oggetti di un'applicazione da un'altra applicazione o da un altro strumento di sviluppo. Precedentemente nota come automazione OLE, l'automazione è uno standard del settore e una caratteristica del modello COM (Component Object Model).) -TRANSPOSE = MATR.TRASPOSTA ## Restituisce la trasposizione di una matrice -VLOOKUP = CERCA.VERT ## Effettua una ricerca nella prima colonna di una matrice e si sposta attraverso la riga per restituire il valore di una cella - - -## -## Math and trigonometry functions Funzioni matematiche e trigonometriche -## -ABS = ASS ## Restituisce il valore assoluto di un numero. -ACOS = ARCCOS ## Restituisce l'arcocoseno di un numero -ACOSH = ARCCOSH ## Restituisce l'inverso del coseno iperbolico di un numero -ASIN = ARCSEN ## Restituisce l'arcoseno di un numero -ASINH = ARCSENH ## Restituisce l'inverso del seno iperbolico di un numero -ATAN = ARCTAN ## Restituisce l'arcotangente di un numero -ATAN2 = ARCTAN.2 ## Restituisce l'arcotangente delle coordinate x e y specificate -ATANH = ARCTANH ## Restituisce l'inverso della tangente iperbolica di un numero -CEILING = ARROTONDA.ECCESSO ## Arrotonda un numero per eccesso all'intero più vicino o al multiplo più vicino a peso -COMBIN = COMBINAZIONE ## Restituisce il numero di combinazioni possibili per un numero assegnato di elementi -COS = COS ## Restituisce il coseno dell'angolo specificato -COSH = COSH ## Restituisce il coseno iperbolico di un numero -DEGREES = GRADI ## Converte i radianti in gradi -EVEN = PARI ## Arrotonda il valore assoluto di un numero per eccesso al più vicino intero pari -EXP = ESP ## Restituisce il numero e elevato alla potenza di num -FACT = FATTORIALE ## Restituisce il fattoriale di un numero -FACTDOUBLE = FATT.DOPPIO ## Restituisce il fattoriale doppio di un numero -FLOOR = ARROTONDA.DIFETTO ## Arrotonda un numero per difetto al multiplo più vicino a zero -GCD = MCD ## Restituisce il massimo comune divisore -INT = INT ## Arrotonda un numero per difetto al numero intero più vicino -LCM = MCM ## Restituisce il minimo comune multiplo -LN = LN ## Restituisce il logaritmo naturale di un numero -LOG = LOG ## Restituisce il logaritmo di un numero in una specificata base -LOG10 = LOG10 ## Restituisce il logaritmo in base 10 di un numero -MDETERM = MATR.DETERM ## Restituisce il determinante di una matrice -MINVERSE = MATR.INVERSA ## Restituisce l'inverso di una matrice -MMULT = MATR.PRODOTTO ## Restituisce il prodotto di due matrici -MOD = RESTO ## Restituisce il resto della divisione -MROUND = ARROTONDA.MULTIPLO ## Restituisce un numero arrotondato al multiplo desiderato -MULTINOMIAL = MULTINOMIALE ## Restituisce il multinomiale di un insieme di numeri -ODD = DISPARI ## Arrotonda un numero per eccesso al più vicino intero dispari -PI = PI.GRECO ## Restituisce il valore di pi greco -POWER = POTENZA ## Restituisce il risultato di un numero elevato a potenza -PRODUCT = PRODOTTO ## Moltiplica i suoi argomenti -QUOTIENT = QUOZIENTE ## Restituisce la parte intera di una divisione -RADIANS = RADIANTI ## Converte i gradi in radianti -RAND = CASUALE ## Restituisce un numero casuale compreso tra 0 e 1 -RANDBETWEEN = CASUALE.TRA ## Restituisce un numero casuale compreso tra i numeri specificati -ROMAN = ROMANO ## Restituisce il numero come numero romano sotto forma di testo -ROUND = ARROTONDA ## Arrotonda il numero al numero di cifre specificato -ROUNDDOWN = ARROTONDA.PER.DIF ## Arrotonda il valore assoluto di un numero per difetto -ROUNDUP = ARROTONDA.PER.ECC ## Arrotonda il valore assoluto di un numero per eccesso -SERIESSUM = SOMMA.SERIE ## Restituisce la somma di una serie di potenze in base alla formula -SIGN = SEGNO ## Restituisce il segno di un numero -SIN = SEN ## Restituisce il seno di un dato angolo -SINH = SENH ## Restituisce il seno iperbolico di un numero -SQRT = RADQ ## Restituisce una radice quadrata -SQRTPI = RADQ.PI.GRECO ## Restituisce la radice quadrata di un numero (numero * pi greco) -SUBTOTAL = SUBTOTALE ## Restituisce un subtotale in un elenco o in un database -SUM = SOMMA ## Somma i suoi argomenti -SUMIF = SOMMA.SE ## Somma le celle specificate da un dato criterio -SUMIFS = SOMMA.PIÙ.SE ## Somma le celle in un intervallo che soddisfano più criteri -SUMPRODUCT = MATR.SOMMA.PRODOTTO ## Restituisce la somma dei prodotti dei componenti corrispondenti della matrice -SUMSQ = SOMMA.Q ## Restituisce la somma dei quadrati degli argomenti -SUMX2MY2 = SOMMA.DIFF.Q ## Restituisce la somma della differenza dei quadrati dei corrispondenti elementi in due matrici -SUMX2PY2 = SOMMA.SOMMA.Q ## Restituisce la somma della somma dei quadrati dei corrispondenti elementi in due matrici -SUMXMY2 = SOMMA.Q.DIFF ## Restituisce la somma dei quadrati delle differenze dei corrispondenti elementi in due matrici -TAN = TAN ## Restituisce la tangente di un numero -TANH = TANH ## Restituisce la tangente iperbolica di un numero -TRUNC = TRONCA ## Tronca la parte decimale di un numero - - -## -## Statistical functions Funzioni statistiche -## -AVEDEV = MEDIA.DEV ## Restituisce la media delle deviazioni assolute delle coordinate rispetto alla loro media -AVERAGE = MEDIA ## Restituisce la media degli argomenti -AVERAGEA = MEDIA.VALORI ## Restituisce la media degli argomenti, inclusi i numeri, il testo e i valori logici -AVERAGEIF = MEDIA.SE ## Restituisce la media aritmetica di tutte le celle in un intervallo che soddisfano un determinato criterio -AVERAGEIFS = MEDIA.PIÙ.SE ## Restituisce la media aritmetica di tutte le celle che soddisfano più criteri -BETADIST = DISTRIB.BETA ## Restituisce la funzione di distribuzione cumulativa beta -BETAINV = INV.BETA ## Restituisce l'inverso della funzione di distribuzione cumulativa per una distribuzione beta specificata -BINOMDIST = DISTRIB.BINOM ## Restituisce la distribuzione binomiale per il termine individuale -CHIDIST = DISTRIB.CHI ## Restituisce la probabilità a una coda per la distribuzione del chi quadrato -CHIINV = INV.CHI ## Restituisce l'inverso della probabilità ad una coda per la distribuzione del chi quadrato -CHITEST = TEST.CHI ## Restituisce il test per l'indipendenza -CONFIDENCE = CONFIDENZA ## Restituisce l'intervallo di confidenza per una popolazione -CORREL = CORRELAZIONE ## Restituisce il coefficiente di correlazione tra due insiemi di dati -COUNT = CONTA.NUMERI ## Conta la quantità di numeri nell'elenco di argomenti -COUNTA = CONTA.VALORI ## Conta il numero di valori nell'elenco di argomenti -COUNTBLANK = CONTA.VUOTE ## Conta il numero di celle vuote all'interno di un intervallo -COUNTIF = CONTA.SE ## Conta il numero di celle all'interno di un intervallo che soddisfa i criteri specificati -COUNTIFS = CONTA.PIÙ.SE ## Conta il numero di celle in un intervallo che soddisfano più criteri. -COVAR = COVARIANZA ## Calcola la covarianza, la media dei prodotti delle deviazioni accoppiate -CRITBINOM = CRIT.BINOM ## Restituisce il più piccolo valore per il quale la distribuzione cumulativa binomiale risulta maggiore o uguale ad un valore di criterio -DEVSQ = DEV.Q ## Restituisce la somma dei quadrati delle deviazioni -EXPONDIST = DISTRIB.EXP ## Restituisce la distribuzione esponenziale -FDIST = DISTRIB.F ## Restituisce la distribuzione di probabilità F -FINV = INV.F ## Restituisce l'inverso della distribuzione della probabilità F -FISHER = FISHER ## Restituisce la trasformazione di Fisher -FISHERINV = INV.FISHER ## Restituisce l'inverso della trasformazione di Fisher -FORECAST = PREVISIONE ## Restituisce i valori lungo una tendenza lineare -FREQUENCY = FREQUENZA ## Restituisce la distribuzione di frequenza come matrice verticale -FTEST = TEST.F ## Restituisce il risultato di un test F -GAMMADIST = DISTRIB.GAMMA ## Restituisce la distribuzione gamma -GAMMAINV = INV.GAMMA ## Restituisce l'inverso della distribuzione cumulativa gamma -GAMMALN = LN.GAMMA ## Restituisce il logaritmo naturale della funzione gamma, G(x) -GEOMEAN = MEDIA.GEOMETRICA ## Restituisce la media geometrica -GROWTH = CRESCITA ## Restituisce i valori lungo una linea di tendenza esponenziale -HARMEAN = MEDIA.ARMONICA ## Restituisce la media armonica -HYPGEOMDIST = DISTRIB.IPERGEOM ## Restituisce la distribuzione ipergeometrica -INTERCEPT = INTERCETTA ## Restituisce l'intercetta della retta di regressione lineare -KURT = CURTOSI ## Restituisce la curtosi di un insieme di dati -LARGE = GRANDE ## Restituisce il k-esimo valore più grande in un insieme di dati -LINEST = REGR.LIN ## Restituisce i parametri di una tendenza lineare -LOGEST = REGR.LOG ## Restituisce i parametri di una linea di tendenza esponenziale -LOGINV = INV.LOGNORM ## Restituisce l'inverso di una distribuzione lognormale -LOGNORMDIST = DISTRIB.LOGNORM ## Restituisce la distribuzione lognormale cumulativa -MAX = MAX ## Restituisce il valore massimo in un elenco di argomenti -MAXA = MAX.VALORI ## Restituisce il valore massimo in un elenco di argomenti, inclusi i numeri, il testo e i valori logici -MEDIAN = MEDIANA ## Restituisce la mediana dei numeri specificati -MIN = MIN ## Restituisce il valore minimo in un elenco di argomenti -MINA = MIN.VALORI ## Restituisce il più piccolo valore in un elenco di argomenti, inclusi i numeri, il testo e i valori logici -MODE = MODA ## Restituisce il valore più comune in un insieme di dati -NEGBINOMDIST = DISTRIB.BINOM.NEG ## Restituisce la distribuzione binomiale negativa -NORMDIST = DISTRIB.NORM ## Restituisce la distribuzione cumulativa normale -NORMINV = INV.NORM ## Restituisce l'inverso della distribuzione cumulativa normale standard -NORMSDIST = DISTRIB.NORM.ST ## Restituisce la distribuzione cumulativa normale standard -NORMSINV = INV.NORM.ST ## Restituisce l'inverso della distribuzione cumulativa normale -PEARSON = PEARSON ## Restituisce il coefficiente del momento di correlazione di Pearson -PERCENTILE = PERCENTILE ## Restituisce il k-esimo dato percentile di valori in un intervallo -PERCENTRANK = PERCENT.RANGO ## Restituisce il rango di un valore in un insieme di dati come percentuale -PERMUT = PERMUTAZIONE ## Restituisce il numero delle permutazioni per un determinato numero di oggetti -POISSON = POISSON ## Restituisce la distribuzione di Poisson -PROB = PROBABILITÀ ## Calcola la probabilità che dei valori in un intervallo siano compresi tra due limiti -QUARTILE = QUARTILE ## Restituisce il quartile di un insieme di dati -RANK = RANGO ## Restituisce il rango di un numero in un elenco di numeri -RSQ = RQ ## Restituisce la radice quadrata del coefficiente di momento di correlazione di Pearson -SKEW = ASIMMETRIA ## Restituisce il grado di asimmetria di una distribuzione -SLOPE = PENDENZA ## Restituisce la pendenza di una retta di regressione lineare -SMALL = PICCOLO ## Restituisce il k-esimo valore più piccolo in un insieme di dati -STANDARDIZE = NORMALIZZA ## Restituisce un valore normalizzato -STDEV = DEV.ST ## Restituisce una stima della deviazione standard sulla base di un campione -STDEVA = DEV.ST.VALORI ## Restituisce una stima della deviazione standard sulla base di un campione, inclusi i numeri, il testo e i valori logici -STDEVP = DEV.ST.POP ## Calcola la deviazione standard sulla base di un'intera popolazione -STDEVPA = DEV.ST.POP.VALORI ## Calcola la deviazione standard sulla base sull'intera popolazione, inclusi i numeri, il testo e i valori logici -STEYX = ERR.STD.YX ## Restituisce l'errore standard del valore previsto per y per ogni valore x nella regressione -TDIST = DISTRIB.T ## Restituisce la distribuzione t di Student -TINV = INV.T ## Restituisce l'inversa della distribuzione t di Student -TREND = TENDENZA ## Restituisce i valori lungo una linea di tendenza lineare -TRIMMEAN = MEDIA.TRONCATA ## Restituisce la media della parte interna di un insieme di dati -TTEST = TEST.T ## Restituisce la probabilità associata ad un test t di Student -VAR = VAR ## Stima la varianza sulla base di un campione -VARA = VAR.VALORI ## Stima la varianza sulla base di un campione, inclusi i numeri, il testo e i valori logici -VARP = VAR.POP ## Calcola la varianza sulla base dell'intera popolazione -VARPA = VAR.POP.VALORI ## Calcola la deviazione standard sulla base sull'intera popolazione, inclusi i numeri, il testo e i valori logici -WEIBULL = WEIBULL ## Restituisce la distribuzione di Weibull -ZTEST = TEST.Z ## Restituisce il valore di probabilità a una coda per un test z - - -## -## Text functions Funzioni di testo -## -ASC = ASC ## Modifica le lettere inglesi o il katakana a doppio byte all'interno di una stringa di caratteri in caratteri a singolo byte -BAHTTEXT = BAHTTESTO ## Converte un numero in testo, utilizzando il formato valuta ß (baht) -CHAR = CODICE.CARATT ## Restituisce il carattere specificato dal numero di codice -CLEAN = LIBERA ## Elimina dal testo tutti i caratteri che non è possibile stampare -CODE = CODICE ## Restituisce il codice numerico del primo carattere di una stringa di testo -CONCATENATE = CONCATENA ## Unisce diversi elementi di testo in un unico elemento di testo -DOLLAR = VALUTA ## Converte un numero in testo, utilizzando il formato valuta € (euro) -EXACT = IDENTICO ## Verifica se due valori di testo sono uguali -FIND = TROVA ## Rileva un valore di testo all'interno di un altro (distinzione tra maiuscole e minuscole) -FINDB = TROVA.B ## Rileva un valore di testo all'interno di un altro (distinzione tra maiuscole e minuscole) -FIXED = FISSO ## Formatta un numero come testo con un numero fisso di decimali -JIS = ORDINAMENTO.JIS ## Modifica le lettere inglesi o i caratteri katakana a byte singolo all'interno di una stringa di caratteri in caratteri a byte doppio. -LEFT = SINISTRA ## Restituisce il carattere più a sinistra di un valore di testo -LEFTB = SINISTRA.B ## Restituisce il carattere più a sinistra di un valore di testo -LEN = LUNGHEZZA ## Restituisce il numero di caratteri di una stringa di testo -LENB = LUNB ## Restituisce il numero di caratteri di una stringa di testo -LOWER = MINUSC ## Converte il testo in lettere minuscole -MID = MEDIA ## Restituisce un numero specifico di caratteri di una stringa di testo a partire dalla posizione specificata -MIDB = MEDIA.B ## Restituisce un numero specifico di caratteri di una stringa di testo a partire dalla posizione specificata -PHONETIC = FURIGANA ## Estrae i caratteri fonetici (furigana) da una stringa di testo. -PROPER = MAIUSC.INIZ ## Converte in maiuscolo la prima lettera di ogni parola di un valore di testo -REPLACE = RIMPIAZZA ## Sostituisce i caratteri all'interno di un testo -REPLACEB = SOSTITUISCI.B ## Sostituisce i caratteri all'interno di un testo -REPT = RIPETI ## Ripete un testo per un dato numero di volte -RIGHT = DESTRA ## Restituisce il carattere più a destra di un valore di testo -RIGHTB = DESTRA.B ## Restituisce il carattere più a destra di un valore di testo -SEARCH = RICERCA ## Rileva un valore di testo all'interno di un altro (non è sensibile alle maiuscole e minuscole) -SEARCHB = CERCA.B ## Rileva un valore di testo all'interno di un altro (non è sensibile alle maiuscole e minuscole) -SUBSTITUTE = SOSTITUISCI ## Sostituisce il nuovo testo al testo contenuto in una stringa -T = T ## Converte gli argomenti in testo -TEXT = TESTO ## Formatta un numero e lo converte in testo -TRIM = ANNULLA.SPAZI ## Elimina gli spazi dal testo -UPPER = MAIUSC ## Converte il testo in lettere maiuscole -VALUE = VALORE ## Converte un argomento di testo in numero diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/it/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/config deleted file mode 100644 index 48dcc15b5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #LEEG! -DIV0 = #DEEL/0! -VALUE = #WAARDE! -REF = #VERW! -NAME = #NAAM? -NUM = #GETAL! -NA = #N/B diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/functions deleted file mode 100644 index 573600aca..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Automatiseringsfuncties en functies in invoegtoepassingen -## -GETPIVOTDATA = DRAAITABEL.OPHALEN ## Geeft gegevens uit een draaitabelrapport als resultaat - - -## -## Cube functions Kubusfuncties -## -CUBEKPIMEMBER = KUBUSKPILID ## Retourneert de naam, eigenschap en waarde van een KPI (prestatie-indicator) en geeft de naam en de eigenschap in de cel weer. Een KPI is een meetbare waarde, zoals de maandelijkse brutowinst of de omzet per kwartaal per werknemer, die wordt gebruikt om de prestaties van een organisatie te bewaken -CUBEMEMBER = KUBUSLID ## Retourneert een lid of tupel in een kubushiërarchie. Wordt gebruikt om te controleren of het lid of de tupel in de kubus aanwezig is -CUBEMEMBERPROPERTY = KUBUSLIDEIGENSCHAP ## Retourneert de waarde van een lideigenschap in de kubus. Wordt gebruikt om te controleren of de lidnaam in de kubus bestaat en retourneert de opgegeven eigenschap voor dit lid -CUBERANKEDMEMBER = KUBUSGERANGCHIKTLID ## Retourneert het zoveelste, gerangschikte lid in een set. Wordt gebruikt om een of meer elementen in een set te retourneren, zoals de tien beste verkopers of de tien beste studenten -CUBESET = KUBUSSET ## Definieert een berekende set leden of tupels door een ingestelde expressie naar de kubus op de server te sturen, alwaar de set wordt gemaakt en vervolgens wordt geretourneerd naar Microsoft Office Excel -CUBESETCOUNT = KUBUSSETAANTAL ## Retourneert het aantal onderdelen in een set -CUBEVALUE = KUBUSWAARDE ## Retourneert een samengestelde waarde van een kubus - - -## -## Database functions Databasefuncties -## -DAVERAGE = DBGEMIDDELDE ## Berekent de gemiddelde waarde in geselecteerde databasegegevens -DCOUNT = DBAANTAL ## Telt de cellen met getallen in een database -DCOUNTA = DBAANTALC ## Telt de niet-lege cellen in een database -DGET = DBLEZEN ## Retourneert één record dat voldoet aan de opgegeven criteria uit een database -DMAX = DBMAX ## Retourneert de maximumwaarde in de geselecteerde databasegegevens -DMIN = DBMIN ## Retourneert de minimumwaarde in de geselecteerde databasegegevens -DPRODUCT = DBPRODUCT ## Vermenigvuldigt de waarden in een bepaald veld van de records die voldoen aan de criteria in een database -DSTDEV = DBSTDEV ## Maakt een schatting van de standaarddeviatie op basis van een steekproef uit geselecteerde databasegegevens -DSTDEVP = DBSTDEVP ## Berekent de standaarddeviatie op basis van de volledige populatie van geselecteerde databasegegevens -DSUM = DBSOM ## Telt de getallen uit een kolom records in de database op die voldoen aan de criteria -DVAR = DBVAR ## Maakt een schatting van de variantie op basis van een steekproef uit geselecteerde databasegegevens -DVARP = DBVARP ## Berekent de variantie op basis van de volledige populatie van geselecteerde databasegegevens - - -## -## Date and time functions Datum- en tijdfuncties -## -DATE = DATUM ## Geeft als resultaat het seriële getal van een opgegeven datum -DATEVALUE = DATUMWAARDE ## Converteert een datum in de vorm van tekst naar een serieel getal -DAY = DAG ## Converteert een serieel getal naar een dag van de maand -DAYS360 = DAGEN360 ## Berekent het aantal dagen tussen twee datums op basis van een jaar met 360 dagen -EDATE = ZELFDE.DAG ## Geeft als resultaat het seriële getal van een datum die het opgegeven aantal maanden voor of na de begindatum ligt -EOMONTH = LAATSTE.DAG ## Geeft als resultaat het seriële getal van de laatste dag van de maand voor of na het opgegeven aantal maanden -HOUR = UUR ## Converteert een serieel getal naar uren -MINUTE = MINUUT ## Converteert een serieel naar getal minuten -MONTH = MAAND ## Converteert een serieel getal naar een maand -NETWORKDAYS = NETTO.WERKDAGEN ## Geeft als resultaat het aantal hele werkdagen tussen twee datums -NOW = NU ## Geeft als resultaat het seriële getal van de huidige datum en tijd -SECOND = SECONDE ## Converteert een serieel getal naar seconden -TIME = TIJD ## Geeft als resultaat het seriële getal van een bepaald tijdstip -TIMEVALUE = TIJDWAARDE ## Converteert de tijd in de vorm van tekst naar een serieel getal -TODAY = VANDAAG ## Geeft als resultaat het seriële getal van de huidige datum -WEEKDAY = WEEKDAG ## Converteert een serieel getal naar een weekdag -WEEKNUM = WEEKNUMMER ## Converteert een serieel getal naar een weeknummer -WORKDAY = WERKDAG ## Geeft als resultaat het seriële getal van de datum voor of na een bepaald aantal werkdagen -YEAR = JAAR ## Converteert een serieel getal naar een jaar -YEARFRAC = JAAR.DEEL ## Geeft als resultaat het gedeelte van het jaar, uitgedrukt in het aantal hele dagen tussen begindatum en einddatum - - -## -## Engineering functions Technische functies -## -BESSELI = BESSEL.Y ## Geeft als resultaat de gewijzigde Bessel-functie In(x) -BESSELJ = BESSEL.J ## Geeft als resultaat de Bessel-functie Jn(x) -BESSELK = BESSEL.K ## Geeft als resultaat de gewijzigde Bessel-functie Kn(x) -BESSELY = BESSEL.Y ## Geeft als resultaat de gewijzigde Bessel-functie Yn(x) -BIN2DEC = BIN.N.DEC ## Converteert een binair getal naar een decimaal getal -BIN2HEX = BIN.N.HEX ## Converteert een binair getal naar een hexadecimaal getal -BIN2OCT = BIN.N.OCT ## Converteert een binair getal naar een octaal getal -COMPLEX = COMPLEX ## Converteert reële en imaginaire coëfficiënten naar een complex getal -CONVERT = CONVERTEREN ## Converteert een getal in de ene maateenheid naar een getal in een andere maateenheid -DEC2BIN = DEC.N.BIN ## Converteert een decimaal getal naar een binair getal -DEC2HEX = DEC.N.HEX ## Converteert een decimaal getal naar een hexadecimaal getal -DEC2OCT = DEC.N.OCT ## Converteert een decimaal getal naar een octaal getal -DELTA = DELTA ## Test of twee waarden gelijk zijn -ERF = FOUTFUNCTIE ## Geeft als resultaat de foutfunctie -ERFC = FOUT.COMPLEMENT ## Geeft als resultaat de complementaire foutfunctie -GESTEP = GROTER.DAN ## Test of een getal groter is dan de drempelwaarde -HEX2BIN = HEX.N.BIN ## Converteert een hexadecimaal getal naar een binair getal -HEX2DEC = HEX.N.DEC ## Converteert een hexadecimaal getal naar een decimaal getal -HEX2OCT = HEX.N.OCT ## Converteert een hexadecimaal getal naar een octaal getal -IMABS = C.ABS ## Geeft als resultaat de absolute waarde (modulus) van een complex getal -IMAGINARY = C.IM.DEEL ## Geeft als resultaat de imaginaire coëfficiënt van een complex getal -IMARGUMENT = C.ARGUMENT ## Geeft als resultaat het argument thèta, een hoek uitgedrukt in radialen -IMCONJUGATE = C.TOEGEVOEGD ## Geeft als resultaat het complexe toegevoegde getal van een complex getal -IMCOS = C.COS ## Geeft als resultaat de cosinus van een complex getal -IMDIV = C.QUOTIENT ## Geeft als resultaat het quotiënt van twee complexe getallen -IMEXP = C.EXP ## Geeft als resultaat de exponent van een complex getal -IMLN = C.LN ## Geeft als resultaat de natuurlijke logaritme van een complex getal -IMLOG10 = C.LOG10 ## Geeft als resultaat de logaritme met grondtal 10 van een complex getal -IMLOG2 = C.LOG2 ## Geeft als resultaat de logaritme met grondtal 2 van een complex getal -IMPOWER = C.MACHT ## Geeft als resultaat een complex getal dat is verheven tot de macht van een geheel getal -IMPRODUCT = C.PRODUCT ## Geeft als resultaat het product van complexe getallen -IMREAL = C.REEEL.DEEL ## Geeft als resultaat de reële coëfficiënt van een complex getal -IMSIN = C.SIN ## Geeft als resultaat de sinus van een complex getal -IMSQRT = C.WORTEL ## Geeft als resultaat de vierkantswortel van een complex getal -IMSUB = C.VERSCHIL ## Geeft als resultaat het verschil tussen twee complexe getallen -IMSUM = C.SOM ## Geeft als resultaat de som van complexe getallen -OCT2BIN = OCT.N.BIN ## Converteert een octaal getal naar een binair getal -OCT2DEC = OCT.N.DEC ## Converteert een octaal getal naar een decimaal getal -OCT2HEX = OCT.N.HEX ## Converteert een octaal getal naar een hexadecimaal getal - - -## -## Financial functions Financiële functies -## -ACCRINT = SAMENG.RENTE ## Berekent de opgelopen rente voor een waardepapier waarvan de rente periodiek wordt uitgekeerd -ACCRINTM = SAMENG.RENTE.V ## Berekent de opgelopen rente voor een waardepapier waarvan de rente op de vervaldatum wordt uitgekeerd -AMORDEGRC = AMORDEGRC ## Geeft als resultaat de afschrijving voor elke boekingsperiode door een afschrijvingscoëfficiënt toe te passen -AMORLINC = AMORLINC ## Berekent de afschrijving voor elke boekingsperiode -COUPDAYBS = COUP.DAGEN.BB ## Berekent het aantal dagen vanaf het begin van de coupontermijn tot de stortingsdatum -COUPDAYS = COUP.DAGEN ## Geeft als resultaat het aantal dagen in de coupontermijn waarin de stortingsdatum valt -COUPDAYSNC = COUP.DAGEN.VV ## Geeft als resultaat het aantal dagen vanaf de stortingsdatum tot de volgende couponvervaldatum -COUPNCD = COUP.DATUM.NB ## Geeft als resultaat de volgende coupondatum na de stortingsdatum -COUPNUM = COUP.AANTAL ## Geeft als resultaat het aantal coupons dat nog moet worden uitbetaald tussen de stortingsdatum en de vervaldatum -COUPPCD = COUP.DATUM.VB ## Geeft als resultaat de vorige couponvervaldatum vóór de stortingsdatum -CUMIPMT = CUM.RENTE ## Geeft als resultaat de cumulatieve rente die tussen twee termijnen is uitgekeerd -CUMPRINC = CUM.HOOFDSOM ## Geeft als resultaat de cumulatieve hoofdsom van een lening die tussen twee termijnen is terugbetaald -DB = DB ## Geeft als resultaat de afschrijving van activa voor een bepaalde periode met behulp van de 'fixed declining balance'-methode -DDB = DDB ## Geeft als resultaat de afschrijving van activa over een bepaalde termijn met behulp van de 'double declining balance'-methode of een andere methode die u opgeeft -DISC = DISCONTO ## Geeft als resultaat het discontopercentage voor een waardepapier -DOLLARDE = EURO.DE ## Converteert een prijs in euro's, uitgedrukt in een breuk, naar een prijs in euro's, uitgedrukt in een decimaal getal -DOLLARFR = EURO.BR ## Converteert een prijs in euro's, uitgedrukt in een decimaal getal, naar een prijs in euro's, uitgedrukt in een breuk -DURATION = DUUR ## Geeft als resultaat de gewogen gemiddelde looptijd voor een waardepapier met periodieke rentebetalingen -EFFECT = EFFECT.RENTE ## Geeft als resultaat het effectieve jaarlijkse rentepercentage -FV = TW ## Geeft als resultaat de toekomstige waarde van een investering -FVSCHEDULE = TOEK.WAARDE2 ## Geeft als resultaat de toekomstige waarde van een bepaalde hoofdsom na het toepassen van een reeks samengestelde rentepercentages -INTRATE = RENTEPERCENTAGE ## Geeft als resultaat het rentepercentage voor een volgestort waardepapier -IPMT = IBET ## Geeft als resultaat de te betalen rente voor een investering over een bepaalde termijn -IRR = IR ## Geeft als resultaat de interne rentabiliteit voor een reeks cashflows -ISPMT = ISBET ## Geeft als resultaat de rente die is betaald tijdens een bepaalde termijn van een investering -MDURATION = AANG.DUUR ## Geeft als resultaat de aangepaste Macauley-looptijd voor een waardepapier, aangenomen dat de nominale waarde € 100 bedraagt -MIRR = GIR ## Geeft als resultaat de interne rentabiliteit voor een serie cashflows, waarbij voor betalingen een ander rentepercentage geldt dan voor inkomsten -NOMINAL = NOMINALE.RENTE ## Geeft als resultaat het nominale jaarlijkse rentepercentage -NPER = NPER ## Geeft als resultaat het aantal termijnen van een investering -NPV = NHW ## Geeft als resultaat de netto huidige waarde van een investering op basis van een reeks periodieke cashflows en een discontopercentage -ODDFPRICE = AFW.ET.PRIJS ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier met een afwijkende eerste termijn -ODDFYIELD = AFW.ET.REND ## Geeft als resultaat het rendement voor een waardepapier met een afwijkende eerste termijn -ODDLPRICE = AFW.LT.PRIJS ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier met een afwijkende laatste termijn -ODDLYIELD = AFW.LT.REND ## Geeft als resultaat het rendement voor een waardepapier met een afwijkende laatste termijn -PMT = BET ## Geeft als resultaat de periodieke betaling voor een annuïteit -PPMT = PBET ## Geeft als resultaat de afbetaling op de hoofdsom voor een bepaalde termijn -PRICE = PRIJS.NOM ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier waarvan de rente periodiek wordt uitgekeerd -PRICEDISC = PRIJS.DISCONTO ## Geeft als resultaat de prijs per € 100 nominale waarde voor een verdisconteerd waardepapier -PRICEMAT = PRIJS.VERVALDAG ## Geeft als resultaat de prijs per € 100 nominale waarde voor een waardepapier waarvan de rente wordt uitgekeerd op de vervaldatum -PV = HW ## Geeft als resultaat de huidige waarde van een investering -RATE = RENTE ## Geeft als resultaat het periodieke rentepercentage voor een annuïteit -RECEIVED = OPBRENGST ## Geeft als resultaat het bedrag dat op de vervaldatum wordt uitgekeerd voor een volgestort waardepapier -SLN = LIN.AFSCHR ## Geeft als resultaat de lineaire afschrijving van activa over één termijn -SYD = SYD ## Geeft als resultaat de afschrijving van activa over een bepaalde termijn met behulp van de 'Sum-Of-Years-Digits'-methode -TBILLEQ = SCHATK.OBL ## Geeft als resultaat het rendement op schatkistpapier, dat op dezelfde manier wordt berekend als het rendement op obligaties -TBILLPRICE = SCHATK.PRIJS ## Bepaalt de prijs per € 100 nominale waarde voor schatkistpapier -TBILLYIELD = SCHATK.REND ## Berekent het rendement voor schatkistpapier -VDB = VDB ## Geeft als resultaat de afschrijving van activa over een gehele of gedeeltelijke termijn met behulp van de 'declining balance'-methode -XIRR = IR.SCHEMA ## Berekent de interne rentabiliteit voor een betalingsschema van cashflows -XNPV = NHW2 ## Berekent de huidige nettowaarde voor een betalingsschema van cashflows -YIELD = RENDEMENT ## Geeft als resultaat het rendement voor een waardepapier waarvan de rente periodiek wordt uitgekeerd -YIELDDISC = REND.DISCONTO ## Geeft als resultaat het jaarlijkse rendement voor een verdisconteerd waardepapier, bijvoorbeeld schatkistpapier -YIELDMAT = REND.VERVAL ## Geeft als resultaat het jaarlijkse rendement voor een waardepapier waarvan de rente wordt uitgekeerd op de vervaldatum - - -## -## Information functions Informatiefuncties -## -CELL = CEL ## Geeft als resultaat informatie over de opmaak, locatie of inhoud van een cel -ERROR.TYPE = TYPE.FOUT ## Geeft als resultaat een getal dat overeenkomt met een van de foutwaarden van Microsoft Excel -INFO = INFO ## Geeft als resultaat informatie over de huidige besturingsomgeving -ISBLANK = ISLEEG ## Geeft als resultaat WAAR als de waarde leeg is -ISERR = ISFOUT2 ## Geeft als resultaat WAAR als de waarde een foutwaarde is, met uitzondering van #N/B -ISERROR = ISFOUT ## Geeft als resultaat WAAR als de waarde een foutwaarde is -ISEVEN = IS.EVEN ## Geeft als resultaat WAAR als het getal even is -ISLOGICAL = ISLOGISCH ## Geeft als resultaat WAAR als de waarde een logische waarde is -ISNA = ISNB ## Geeft als resultaat WAAR als de waarde de foutwaarde #N/B is -ISNONTEXT = ISGEENTEKST ## Geeft als resultaat WAAR als de waarde geen tekst is -ISNUMBER = ISGETAL ## Geeft als resultaat WAAR als de waarde een getal is -ISODD = IS.ONEVEN ## Geeft als resultaat WAAR als het getal oneven is -ISREF = ISVERWIJZING ## Geeft als resultaat WAAR als de waarde een verwijzing is -ISTEXT = ISTEKST ## Geeft als resultaat WAAR als de waarde tekst is -N = N ## Geeft als resultaat een waarde die is geconverteerd naar een getal -NA = NB ## Geeft als resultaat de foutwaarde #N/B -TYPE = TYPE ## Geeft als resultaat een getal dat het gegevenstype van een waarde aangeeft - - -## -## Logical functions Logische functies -## -AND = EN ## Geeft als resultaat WAAR als alle argumenten WAAR zijn -FALSE = ONWAAR ## Geeft als resultaat de logische waarde ONWAAR -IF = ALS ## Geeft een logische test aan -IFERROR = ALS.FOUT ## Retourneert een waarde die u opgeeft als een formule een fout oplevert, anders wordt het resultaat van de formule geretourneerd -NOT = NIET ## Keert de logische waarde van het argument om -OR = OF ## Geeft als resultaat WAAR als minimaal een van de argumenten WAAR is -TRUE = WAAR ## Geeft als resultaat de logische waarde WAAR - - -## -## Lookup and reference functions Zoek- en verwijzingsfuncties -## -ADDRESS = ADRES ## Geeft als resultaat een verwijzing, in de vorm van tekst, naar één bepaalde cel in een werkblad -AREAS = BEREIKEN ## Geeft als resultaat het aantal bereiken in een verwijzing -CHOOSE = KIEZEN ## Kiest een waarde uit een lijst met waarden -COLUMN = KOLOM ## Geeft als resultaat het kolomnummer van een verwijzing -COLUMNS = KOLOMMEN ## Geeft als resultaat het aantal kolommen in een verwijzing -HLOOKUP = HORIZ.ZOEKEN ## Zoekt in de bovenste rij van een matrix naar een bepaalde waarde en geeft als resultaat de gevonden waarde in de opgegeven cel -HYPERLINK = HYPERLINK ## Maakt een snelkoppeling of een sprong waarmee een document wordt geopend dat is opgeslagen op een netwerkserver, een intranet of op internet -INDEX = INDEX ## Kiest met een index een waarde uit een verwijzing of een matrix -INDIRECT = INDIRECT ## Geeft als resultaat een verwijzing die wordt aangegeven met een tekstwaarde -LOOKUP = ZOEKEN ## Zoekt naar bepaalde waarden in een vector of een matrix -MATCH = VERGELIJKEN ## Zoekt naar bepaalde waarden in een verwijzing of een matrix -OFFSET = VERSCHUIVING ## Geeft als resultaat een nieuwe verwijzing die is verschoven ten opzichte van een bepaalde verwijzing -ROW = RIJ ## Geeft als resultaat het rijnummer van een verwijzing -ROWS = RIJEN ## Geeft als resultaat het aantal rijen in een verwijzing -RTD = RTG ## Haalt realtimegegevens op uit een programma dat COM-automatisering (automatisering: een methode waarmee de ene toepassing objecten van een andere toepassing of ontwikkelprogramma kan besturen. Automatisering werd vroeger OLE-automatisering genoemd. Automatisering is een industrienorm die deel uitmaakt van het Component Object Model (COM).) ondersteunt -TRANSPOSE = TRANSPONEREN ## Geeft als resultaat de getransponeerde van een matrix -VLOOKUP = VERT.ZOEKEN ## Zoekt in de meest linkse kolom van een matrix naar een bepaalde waarde en geeft als resultaat de waarde in de opgegeven cel - - -## -## Math and trigonometry functions Wiskundige en trigonometrische functies -## -ABS = ABS ## Geeft als resultaat de absolute waarde van een getal -ACOS = BOOGCOS ## Geeft als resultaat de boogcosinus van een getal -ACOSH = BOOGCOSH ## Geeft als resultaat de inverse cosinus hyperbolicus van een getal -ASIN = BOOGSIN ## Geeft als resultaat de boogsinus van een getal -ASINH = BOOGSINH ## Geeft als resultaat de inverse sinus hyperbolicus van een getal -ATAN = BOOGTAN ## Geeft als resultaat de boogtangens van een getal -ATAN2 = BOOGTAN2 ## Geeft als resultaat de boogtangens van de x- en y-coördinaten -ATANH = BOOGTANH ## Geeft als resultaat de inverse tangens hyperbolicus van een getal -CEILING = AFRONDEN.BOVEN ## Rondt de absolute waarde van een getal naar boven af op het dichtstbijzijnde gehele getal of het dichtstbijzijnde significante veelvoud -COMBIN = COMBINATIES ## Geeft als resultaat het aantal combinaties voor een bepaald aantal objecten -COS = COS ## Geeft als resultaat de cosinus van een getal -COSH = COSH ## Geeft als resultaat de cosinus hyperbolicus van een getal -DEGREES = GRADEN ## Converteert radialen naar graden -EVEN = EVEN ## Rondt het getal af op het dichtstbijzijnde gehele even getal -EXP = EXP ## Verheft e tot de macht van een bepaald getal -FACT = FACULTEIT ## Geeft als resultaat de faculteit van een getal -FACTDOUBLE = DUBBELE.FACULTEIT ## Geeft als resultaat de dubbele faculteit van een getal -FLOOR = AFRONDEN.BENEDEN ## Rondt de absolute waarde van een getal naar beneden af -GCD = GGD ## Geeft als resultaat de grootste gemene deler -INT = INTEGER ## Rondt een getal naar beneden af op het dichtstbijzijnde gehele getal -LCM = KGV ## Geeft als resultaat het kleinste gemene veelvoud -LN = LN ## Geeft als resultaat de natuurlijke logaritme van een getal -LOG = LOG ## Geeft als resultaat de logaritme met het opgegeven grondtal van een getal -LOG10 = LOG10 ## Geeft als resultaat de logaritme met grondtal 10 van een getal -MDETERM = DETERMINANTMAT ## Geeft als resultaat de determinant van een matrix -MINVERSE = INVERSEMAT ## Geeft als resultaat de inverse van een matrix -MMULT = PRODUCTMAT ## Geeft als resultaat het product van twee matrices -MOD = REST ## Geeft als resultaat het restgetal van een deling -MROUND = AFRONDEN.N.VEELVOUD ## Geeft als resultaat een getal afgerond op het gewenste veelvoud -MULTINOMIAL = MULTINOMIAAL ## Geeft als resultaat de multinomiaalcoëfficiënt van een reeks getallen -ODD = ONEVEN ## Rondt de absolute waarde van het getal naar boven af op het dichtstbijzijnde gehele oneven getal -PI = PI ## Geeft als resultaat de waarde van pi -POWER = MACHT ## Verheft een getal tot een macht -PRODUCT = PRODUCT ## Vermenigvuldigt de argumenten met elkaar -QUOTIENT = QUOTIENT ## Geeft als resultaat de uitkomst van een deling als geheel getal -RADIANS = RADIALEN ## Converteert graden naar radialen -RAND = ASELECT ## Geeft als resultaat een willekeurig getal tussen 0 en 1 -RANDBETWEEN = ASELECTTUSSEN ## Geeft een willekeurig getal tussen de getallen die u hebt opgegeven -ROMAN = ROMEINS ## Converteert een Arabisch getal naar een Romeins getal en geeft het resultaat weer in de vorm van tekst -ROUND = AFRONDEN ## Rondt een getal af op het opgegeven aantal decimalen -ROUNDDOWN = AFRONDEN.NAAR.BENEDEN ## Rondt de absolute waarde van een getal naar beneden af -ROUNDUP = AFRONDEN.NAAR.BOVEN ## Rondt de absolute waarde van een getal naar boven af -SERIESSUM = SOM.MACHTREEKS ## Geeft als resultaat de som van een machtreeks die is gebaseerd op de formule -SIGN = POS.NEG ## Geeft als resultaat het teken van een getal -SIN = SIN ## Geeft als resultaat de sinus van de opgegeven hoek -SINH = SINH ## Geeft als resultaat de sinus hyperbolicus van een getal -SQRT = WORTEL ## Geeft als resultaat de positieve vierkantswortel van een getal -SQRTPI = WORTEL.PI ## Geeft als resultaat de vierkantswortel van (getal * pi) -SUBTOTAL = SUBTOTAAL ## Geeft als resultaat een subtotaal voor een bereik -SUM = SOM ## Telt de argumenten op -SUMIF = SOM.ALS ## Telt de getallen bij elkaar op die voldoen aan een bepaald criterium -SUMIFS = SOMMEN.ALS ## Telt de cellen in een bereik op die aan meerdere criteria voldoen -SUMPRODUCT = SOMPRODUCT ## Geeft als resultaat de som van de producten van de corresponderende matrixelementen -SUMSQ = KWADRATENSOM ## Geeft als resultaat de som van de kwadraten van de argumenten -SUMX2MY2 = SOM.X2MINY2 ## Geeft als resultaat de som van het verschil tussen de kwadraten van corresponderende waarden in twee matrices -SUMX2PY2 = SOM.X2PLUSY2 ## Geeft als resultaat de som van de kwadratensom van corresponderende waarden in twee matrices -SUMXMY2 = SOM.XMINY.2 ## Geeft als resultaat de som van de kwadraten van de verschillen tussen de corresponderende waarden in twee matrices -TAN = TAN ## Geeft als resultaat de tangens van een getal -TANH = TANH ## Geeft als resultaat de tangens hyperbolicus van een getal -TRUNC = GEHEEL ## Kapt een getal af tot een geheel getal - - -## -## Statistical functions Statistische functies -## -AVEDEV = GEM.DEVIATIE ## Geeft als resultaat het gemiddelde van de absolute deviaties van gegevenspunten ten opzichte van hun gemiddelde waarde -AVERAGE = GEMIDDELDE ## Geeft als resultaat het gemiddelde van de argumenten -AVERAGEA = GEMIDDELDEA ## Geeft als resultaat het gemiddelde van de argumenten, inclusief getallen, tekst en logische waarden -AVERAGEIF = GEMIDDELDE.ALS ## Geeft het gemiddelde (rekenkundig gemiddelde) als resultaat van alle cellen in een bereik die voldoen aan de opgegeven criteria -AVERAGEIFS = GEMIDDELDEN.ALS ## Geeft het gemiddelde (rekenkundig gemiddelde) als resultaat van alle cellen die aan meerdere criteria voldoen -BETADIST = BETA.VERD ## Geeft als resultaat de cumulatieve bèta-verdelingsfunctie -BETAINV = BETA.INV ## Geeft als resultaat de inverse van de cumulatieve verdelingsfunctie voor een gegeven bèta-verdeling -BINOMDIST = BINOMIALE.VERD ## Geeft als resultaat de binomiale verdeling -CHIDIST = CHI.KWADRAAT ## Geeft als resultaat de eenzijdige kans van de chi-kwadraatverdeling -CHIINV = CHI.KWADRAAT.INV ## Geeft als resultaat de inverse van een eenzijdige kans van de chi-kwadraatverdeling -CHITEST = CHI.TOETS ## Geeft als resultaat de onafhankelijkheidstoets -CONFIDENCE = BETROUWBAARHEID ## Geeft als resultaat het betrouwbaarheidsinterval van een gemiddelde waarde voor de elementen van een populatie -CORREL = CORRELATIE ## Geeft als resultaat de correlatiecoëfficiënt van twee gegevensverzamelingen -COUNT = AANTAL ## Telt het aantal getallen in de argumentenlijst -COUNTA = AANTALARG ## Telt het aantal waarden in de argumentenlijst -COUNTBLANK = AANTAL.LEGE.CELLEN ## Telt het aantal lege cellen in een bereik -COUNTIF = AANTAL.ALS ## Telt in een bereik het aantal cellen die voldoen aan een bepaald criterium -COUNTIFS = AANTALLEN.ALS ## Telt in een bereik het aantal cellen die voldoen aan meerdere criteria -COVAR = COVARIANTIE ## Geeft als resultaat de covariantie, het gemiddelde van de producten van de gepaarde deviaties -CRITBINOM = CRIT.BINOM ## Geeft als resultaat de kleinste waarde waarvoor de binomiale verdeling kleiner is dan of gelijk is aan het criterium -DEVSQ = DEV.KWAD ## Geeft als resultaat de som van de deviaties in het kwadraat -EXPONDIST = EXPON.VERD ## Geeft als resultaat de exponentiële verdeling -FDIST = F.VERDELING ## Geeft als resultaat de F-verdeling -FINV = F.INVERSE ## Geeft als resultaat de inverse van de F-verdeling -FISHER = FISHER ## Geeft als resultaat de Fisher-transformatie -FISHERINV = FISHER.INV ## Geeft als resultaat de inverse van de Fisher-transformatie -FORECAST = VOORSPELLEN ## Geeft als resultaat een waarde op basis van een lineaire trend -FREQUENCY = FREQUENTIE ## Geeft als resultaat een frequentieverdeling in de vorm van een verticale matrix -FTEST = F.TOETS ## Geeft als resultaat een F-toets -GAMMADIST = GAMMA.VERD ## Geeft als resultaat de gamma-verdeling -GAMMAINV = GAMMA.INV ## Geeft als resultaat de inverse van de cumulatieve gamma-verdeling -GAMMALN = GAMMA.LN ## Geeft als resultaat de natuurlijke logaritme van de gamma-functie, G(x) -GEOMEAN = MEETK.GEM ## Geeft als resultaat het meetkundige gemiddelde -GROWTH = GROEI ## Geeft als resultaat de waarden voor een exponentiële trend -HARMEAN = HARM.GEM ## Geeft als resultaat het harmonische gemiddelde -HYPGEOMDIST = HYPERGEO.VERD ## Geeft als resultaat de hypergeometrische verdeling -INTERCEPT = SNIJPUNT ## Geeft als resultaat het snijpunt van de lineaire regressielijn met de y-as -KURT = KURTOSIS ## Geeft als resultaat de kurtosis van een gegevensverzameling -LARGE = GROOTSTE ## Geeft als resultaat de op k-1 na grootste waarde in een gegevensverzameling -LINEST = LIJNSCH ## Geeft als resultaat de parameters van een lineaire trend -LOGEST = LOGSCH ## Geeft als resultaat de parameters van een exponentiële trend -LOGINV = LOG.NORM.INV ## Geeft als resultaat de inverse van de logaritmische normale verdeling -LOGNORMDIST = LOG.NORM.VERD ## Geeft als resultaat de cumulatieve logaritmische normale verdeling -MAX = MAX ## Geeft als resultaat de maximumwaarde in een lijst met argumenten -MAXA = MAXA ## Geeft als resultaat de maximumwaarde in een lijst met argumenten, inclusief getallen, tekst en logische waarden -MEDIAN = MEDIAAN ## Geeft als resultaat de mediaan van de opgegeven getallen -MIN = MIN ## Geeft als resultaat de minimumwaarde in een lijst met argumenten -MINA = MINA ## Geeft als resultaat de minimumwaarde in een lijst met argumenten, inclusief getallen, tekst en logische waarden -MODE = MODUS ## Geeft als resultaat de meest voorkomende waarde in een gegevensverzameling -NEGBINOMDIST = NEG.BINOM.VERD ## Geeft als resultaat de negatieve binomiaalverdeling -NORMDIST = NORM.VERD ## Geeft als resultaat de cumulatieve normale verdeling -NORMINV = NORM.INV ## Geeft als resultaat de inverse van de cumulatieve standaardnormale verdeling -NORMSDIST = STAND.NORM.VERD ## Geeft als resultaat de cumulatieve standaardnormale verdeling -NORMSINV = STAND.NORM.INV ## Geeft als resultaat de inverse van de cumulatieve normale verdeling -PEARSON = PEARSON ## Geeft als resultaat de correlatiecoëfficiënt van Pearson -PERCENTILE = PERCENTIEL ## Geeft als resultaat het k-de percentiel van waarden in een bereik -PERCENTRANK = PERCENT.RANG ## Geeft als resultaat de positie, in procenten uitgedrukt, van een waarde in de rangorde van een gegevensverzameling -PERMUT = PERMUTATIES ## Geeft als resultaat het aantal permutaties voor een gegeven aantal objecten -POISSON = POISSON ## Geeft als resultaat de Poisson-verdeling -PROB = KANS ## Geeft als resultaat de kans dat waarden zich tussen twee grenzen bevinden -QUARTILE = KWARTIEL ## Geeft als resultaat het kwartiel van een gegevensverzameling -RANK = RANG ## Geeft als resultaat het rangnummer van een getal in een lijst getallen -RSQ = R.KWADRAAT ## Geeft als resultaat het kwadraat van de Pearson-correlatiecoëfficiënt -SKEW = SCHEEFHEID ## Geeft als resultaat de mate van asymmetrie van een verdeling -SLOPE = RICHTING ## Geeft als resultaat de richtingscoëfficiënt van een lineaire regressielijn -SMALL = KLEINSTE ## Geeft als resultaat de op k-1 na kleinste waarde in een gegevensverzameling -STANDARDIZE = NORMALISEREN ## Geeft als resultaat een genormaliseerde waarde -STDEV = STDEV ## Maakt een schatting van de standaarddeviatie op basis van een steekproef -STDEVA = STDEVA ## Maakt een schatting van de standaarddeviatie op basis van een steekproef, inclusief getallen, tekst en logische waarden -STDEVP = STDEVP ## Berekent de standaarddeviatie op basis van de volledige populatie -STDEVPA = STDEVPA ## Berekent de standaarddeviatie op basis van de volledige populatie, inclusief getallen, tekst en logische waarden -STEYX = STAND.FOUT.YX ## Geeft als resultaat de standaardfout in de voorspelde y-waarde voor elke x in een regressie -TDIST = T.VERD ## Geeft als resultaat de Student T-verdeling -TINV = T.INV ## Geeft als resultaat de inverse van de Student T-verdeling -TREND = TREND ## Geeft als resultaat de waarden voor een lineaire trend -TRIMMEAN = GETRIMD.GEM ## Geeft als resultaat het gemiddelde van waarden in een gegevensverzameling -TTEST = T.TOETS ## Geeft als resultaat de kans met behulp van de Student T-toets -VAR = VAR ## Maakt een schatting van de variantie op basis van een steekproef -VARA = VARA ## Maakt een schatting van de variantie op basis van een steekproef, inclusief getallen, tekst en logische waarden -VARP = VARP ## Berekent de variantie op basis van de volledige populatie -VARPA = VARPA ## Berekent de standaarddeviatie op basis van de volledige populatie, inclusief getallen, tekst en logische waarden -WEIBULL = WEIBULL ## Geeft als resultaat de Weibull-verdeling -ZTEST = Z.TOETS ## Geeft als resultaat de eenzijdige kanswaarde van een Z-toets - - -## -## Text functions Tekstfuncties -## -ASC = ASC ## Wijzigt Nederlandse letters of katakanatekens over de volle breedte (dubbel-bytetekens) binnen een tekenreeks in tekens over de halve breedte (enkel-bytetekens) -BAHTTEXT = BAHT.TEKST ## Converteert een getal naar tekst met de valutanotatie ß (baht) -CHAR = TEKEN ## Geeft als resultaat het teken dat hoort bij de opgegeven code -CLEAN = WISSEN.CONTROL ## Verwijdert alle niet-afdrukbare tekens uit een tekst -CODE = CODE ## Geeft als resultaat de numerieke code voor het eerste teken in een tekenreeks -CONCATENATE = TEKST.SAMENVOEGEN ## Voegt verschillende tekstfragmenten samen tot één tekstfragment -DOLLAR = EURO ## Converteert een getal naar tekst met de valutanotatie € (euro) -EXACT = GELIJK ## Controleert of twee tekenreeksen identiek zijn -FIND = VIND.ALLES ## Zoekt een bepaalde tekenreeks in een tekst (waarbij onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -FINDB = VIND.ALLES.B ## Zoekt een bepaalde tekenreeks in een tekst (waarbij onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -FIXED = VAST ## Maakt een getal als tekst met een vast aantal decimalen op -JIS = JIS ## Wijzigt Nederlandse letters of katakanatekens over de halve breedte (enkel-bytetekens) binnen een tekenreeks in tekens over de volle breedte (dubbel-bytetekens) -LEFT = LINKS ## Geeft als resultaat de meest linkse tekens in een tekenreeks -LEFTB = LINKSB ## Geeft als resultaat de meest linkse tekens in een tekenreeks -LEN = LENGTE ## Geeft als resultaat het aantal tekens in een tekenreeks -LENB = LENGTEB ## Geeft als resultaat het aantal tekens in een tekenreeks -LOWER = KLEINE.LETTERS ## Zet tekst om in kleine letters -MID = MIDDEN ## Geeft als resultaat een bepaald aantal tekens van een tekenreeks vanaf de positie die u opgeeft -MIDB = DEELB ## Geeft als resultaat een bepaald aantal tekens van een tekenreeks vanaf de positie die u opgeeft -PHONETIC = FONETISCH ## Haalt de fonetische tekens (furigana) uit een tekenreeks op -PROPER = BEGINLETTERS ## Zet de eerste letter van elk woord in een tekst om in een hoofdletter -REPLACE = VERVANG ## Vervangt tekens binnen een tekst -REPLACEB = VERVANGENB ## Vervangt tekens binnen een tekst -REPT = HERHALING ## Herhaalt een tekst een aantal malen -RIGHT = RECHTS ## Geeft als resultaat de meest rechtse tekens in een tekenreeks -RIGHTB = RECHTSB ## Geeft als resultaat de meest rechtse tekens in een tekenreeks -SEARCH = VIND.SPEC ## Zoekt een bepaalde tekenreeks in een tekst (waarbij geen onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -SEARCHB = VIND.SPEC.B ## Zoekt een bepaalde tekenreeks in een tekst (waarbij geen onderscheid wordt gemaakt tussen hoofdletters en kleine letters) -SUBSTITUTE = SUBSTITUEREN ## Vervangt oude tekst door nieuwe tekst in een tekenreeks -T = T ## Converteert de argumenten naar tekst -TEXT = TEKST ## Maakt een getal op en converteert het getal naar tekst -TRIM = SPATIES.WISSEN ## Verwijdert de spaties uit een tekst -UPPER = HOOFDLETTERS ## Zet tekst om in hoofdletters -VALUE = WAARDE ## Converteert tekst naar een getal diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/nl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/config deleted file mode 100644 index bf2d34a7f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = kr - - -## -## Excel Error Codes (For future use) -## -NULL = #NULL! -DIV0 = #DIV/0! -VALUE = #VERDI! -REF = #REF! -NAME = #NAVN? -NUM = #NUM! -NA = #I/T diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/functions deleted file mode 100644 index 10d0a2076..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funksjonene Tillegg og Automatisering -## -GETPIVOTDATA = HENTPIVOTDATA ## Returnerer data som er lagret i en pivottabellrapport - - -## -## Cube functions Kubefunksjoner -## -CUBEKPIMEMBER = KUBEKPIMEDLEM ## Returnerer navnet, egenskapen og målet for en viktig ytelsesindikator (KPI), og viser navnet og egenskapen i cellen. En KPI er en målbar enhet, for eksempel månedlig bruttoinntjening eller kvartalsvis inntjening per ansatt, og brukes til å overvåke ytelsen i en organisasjon. -CUBEMEMBER = KUBEMEDLEM ## Returnerer et medlem eller en tuppel i et kubehierarki. Brukes til å validere at medlemmet eller tuppelen finnes i kuben. -CUBEMEMBERPROPERTY = KUBEMEDLEMEGENSKAP ## Returnerer verdien til en medlemsegenskap i kuben. Brukes til å validere at et medlemsnavn finnes i kuben, og til å returnere den angitte egenskapen for dette medlemmet. -CUBERANKEDMEMBER = KUBERANGERTMEDLEM ## Returnerer det n-te, eller rangerte, medlemmet i et sett. Brukes til å returnere ett eller flere elementer i et sett, for eksempel de 10 beste studentene. -CUBESET = KUBESETT ## Definerer et beregnet sett av medlemmer eller tuppeler ved å sende et settuttrykk til kuben på serveren, noe som oppretter settet og deretter returnerer dette settet til Microsoft Office Excel. -CUBESETCOUNT = KUBESETTANTALL ## Returnerer antallet elementer i et sett. -CUBEVALUE = KUBEVERDI ## Returnerer en aggregert verdi fra en kube. - - -## -## Database functions Databasefunksjoner -## -DAVERAGE = DGJENNOMSNITT ## Returnerer gjennomsnittet av merkede databaseposter -DCOUNT = DANTALL ## Teller celler som inneholder tall i en database -DCOUNTA = DANTALLA ## Teller celler som ikke er tomme i en database -DGET = DHENT ## Trekker ut fra en database en post som oppfyller angitte vilkår -DMAX = DMAKS ## Returnerer maksimumsverdien fra merkede databaseposter -DMIN = DMIN ## Returnerer minimumsverdien fra merkede databaseposter -DPRODUCT = DPRODUKT ## Multipliserer verdiene i et bestemt felt med poster som oppfyller vilkårene i en database -DSTDEV = DSTDAV ## Estimerer standardavviket basert på et utvalg av merkede databaseposter -DSTDEVP = DSTAVP ## Beregner standardavviket basert på at merkede databaseposter utgjør hele populasjonen -DSUM = DSUMMER ## Legger til tallene i feltkolonnen med poster, i databasen som oppfyller vilkårene -DVAR = DVARIANS ## Estimerer variansen basert på et utvalg av merkede databaseposter -DVARP = DVARIANSP ## Beregner variansen basert på at merkede databaseposter utgjør hele populasjonen - - -## -## Date and time functions Dato- og tidsfunksjoner -## -DATE = DATO ## Returnerer serienummeret som svarer til en bestemt dato -DATEVALUE = DATOVERDI ## Konverterer en dato med tekstformat til et serienummer -DAY = DAG ## Konverterer et serienummer til en dag i måneden -DAYS360 = DAGER360 ## Beregner antall dager mellom to datoer basert på et år med 360 dager -EDATE = DAG.ETTER ## Returnerer serienummeret som svarer til datoen som er det indikerte antall måneder før eller etter startdatoen -EOMONTH = MÅNEDSSLUTT ## Returnerer serienummeret som svarer til siste dag i måneden, før eller etter et angitt antall måneder -HOUR = TIME ## Konverterer et serienummer til en time -MINUTE = MINUTT ## Konverterer et serienummer til et minutt -MONTH = MÅNED ## Konverterer et serienummer til en måned -NETWORKDAYS = NETT.ARBEIDSDAGER ## Returnerer antall hele arbeidsdager mellom to datoer -NOW = NÅ ## Returnerer serienummeret som svarer til gjeldende dato og klokkeslett -SECOND = SEKUND ## Konverterer et serienummer til et sekund -TIME = TID ## Returnerer serienummeret som svarer til et bestemt klokkeslett -TIMEVALUE = TIDSVERDI ## Konverterer et klokkeslett i tekstformat til et serienummer -TODAY = IDAG ## Returnerer serienummeret som svarer til dagens dato -WEEKDAY = UKEDAG ## Konverterer et serienummer til en ukedag -WEEKNUM = UKENR ## Konverterer et serienummer til et tall som representerer hvilket nummer uken har i et år -WORKDAY = ARBEIDSDAG ## Returnerer serienummeret som svarer til datoen før eller etter et angitt antall arbeidsdager -YEAR = ÅR ## Konverterer et serienummer til et år -YEARFRAC = ÅRDEL ## Returnerer brøkdelen for året, som svarer til antall hele dager mellom startdato og sluttdato - - -## -## Engineering functions Tekniske funksjoner -## -BESSELI = BESSELI ## Returnerer den endrede Bessel-funksjonen In(x) -BESSELJ = BESSELJ ## Returnerer Bessel-funksjonen Jn(x) -BESSELK = BESSELK ## Returnerer den endrede Bessel-funksjonen Kn(x) -BESSELY = BESSELY ## Returnerer Bessel-funksjonen Yn(x) -BIN2DEC = BINTILDES ## Konverterer et binært tall til et desimaltall -BIN2HEX = BINTILHEKS ## Konverterer et binært tall til et heksadesimaltall -BIN2OCT = BINTILOKT ## Konverterer et binært tall til et oktaltall -COMPLEX = KOMPLEKS ## Konverterer reelle og imaginære koeffisienter til et komplekst tall -CONVERT = KONVERTER ## Konverterer et tall fra ett målsystem til et annet -DEC2BIN = DESTILBIN ## Konverterer et desimaltall til et binærtall -DEC2HEX = DESTILHEKS ## Konverterer et heltall i 10-tallsystemet til et heksadesimalt tall -DEC2OCT = DESTILOKT ## Konverterer et heltall i 10-tallsystemet til et oktaltall -DELTA = DELTA ## Undersøker om to verdier er like -ERF = FEILF ## Returnerer feilfunksjonen -ERFC = FEILFK ## Returnerer den komplementære feilfunksjonen -GESTEP = GRENSEVERDI ## Tester om et tall er større enn en terskelverdi -HEX2BIN = HEKSTILBIN ## Konverterer et heksadesimaltall til et binært tall -HEX2DEC = HEKSTILDES ## Konverterer et heksadesimalt tall til et heltall i 10-tallsystemet -HEX2OCT = HEKSTILOKT ## Konverterer et heksadesimalt tall til et oktaltall -IMABS = IMABS ## Returnerer absoluttverdien (koeffisienten) til et komplekst tall -IMAGINARY = IMAGINÆR ## Returnerer den imaginære koeffisienten til et komplekst tall -IMARGUMENT = IMARGUMENT ## Returnerer argumentet theta, som er en vinkel uttrykt i radianer -IMCONJUGATE = IMKONJUGERT ## Returnerer den komplekse konjugaten til et komplekst tall -IMCOS = IMCOS ## Returnerer cosinus til et komplekst tall -IMDIV = IMDIV ## Returnerer kvotienten til to komplekse tall -IMEXP = IMEKSP ## Returnerer eksponenten til et komplekst tall -IMLN = IMLN ## Returnerer den naturlige logaritmen for et komplekst tall -IMLOG10 = IMLOG10 ## Returnerer logaritmen med grunntall 10 for et komplekst tall -IMLOG2 = IMLOG2 ## Returnerer logaritmen med grunntall 2 for et komplekst tall -IMPOWER = IMOPPHØY ## Returnerer et komplekst tall opphøyd til en heltallspotens -IMPRODUCT = IMPRODUKT ## Returnerer produktet av komplekse tall -IMREAL = IMREELL ## Returnerer den reelle koeffisienten til et komplekst tall -IMSIN = IMSIN ## Returnerer sinus til et komplekst tall -IMSQRT = IMROT ## Returnerer kvadratroten av et komplekst tall -IMSUB = IMSUB ## Returnerer differansen mellom to komplekse tall -IMSUM = IMSUMMER ## Returnerer summen av komplekse tall -OCT2BIN = OKTTILBIN ## Konverterer et oktaltall til et binært tall -OCT2DEC = OKTTILDES ## Konverterer et oktaltall til et desimaltall -OCT2HEX = OKTTILHEKS ## Konverterer et oktaltall til et heksadesimaltall - - -## -## Financial functions Økonomiske funksjoner -## -ACCRINT = PÅLØPT.PERIODISK.RENTE ## Returnerer påløpte renter for et verdipapir som betaler periodisk rente -ACCRINTM = PÅLØPT.FORFALLSRENTE ## Returnerer den påløpte renten for et verdipapir som betaler rente ved forfall -AMORDEGRC = AMORDEGRC ## Returnerer avskrivningen for hver regnskapsperiode ved hjelp av en avskrivingskoeffisient -AMORLINC = AMORLINC ## Returnerer avskrivingen for hver regnskapsperiode -COUPDAYBS = OBLIG.DAGER.FF ## Returnerer antall dager fra begynnelsen av den rentebærende perioden til innløsningsdatoen -COUPDAYS = OBLIG.DAGER ## Returnerer antall dager i den rentebærende perioden som inneholder innløsningsdatoen -COUPDAYSNC = OBLIG.DAGER.NF ## Returnerer antall dager fra betalingsdato til neste renteinnbetalingsdato -COUPNCD = OBLIG.DAGER.EF ## Returnerer obligasjonsdatoen som kommer etter oppgjørsdatoen -COUPNUM = OBLIG.ANTALL ## Returnerer antall obligasjoner som skal betales mellom oppgjørsdatoen og forfallsdatoen -COUPPCD = OBLIG.DAG.FORRIGE ## Returnerer obligasjonsdatoen som kommer før oppgjørsdatoen -CUMIPMT = SAMLET.RENTE ## Returnerer den kumulative renten som er betalt mellom to perioder -CUMPRINC = SAMLET.HOVEDSTOL ## Returnerer den kumulative hovedstolen som er betalt for et lån mellom to perioder -DB = DAVSKR ## Returnerer avskrivningen for et aktivum i en angitt periode, foretatt med fast degressiv avskrivning -DDB = DEGRAVS ## Returnerer avskrivningen for et aktivum for en gitt periode, ved hjelp av dobbel degressiv avskrivning eller en metode som du selv angir -DISC = DISKONTERT ## Returnerer diskonteringsraten for et verdipapir -DOLLARDE = DOLLARDE ## Konverterer en valutapris uttrykt som en brøk, til en valutapris uttrykt som et desimaltall -DOLLARFR = DOLLARBR ## Konverterer en valutapris uttrykt som et desimaltall, til en valutapris uttrykt som en brøk -DURATION = VARIGHET ## Returnerer årlig varighet for et verdipapir med renter som betales periodisk -EFFECT = EFFEKTIV.RENTE ## Returnerer den effektive årlige rentesatsen -FV = SLUTTVERDI ## Returnerer fremtidig verdi for en investering -FVSCHEDULE = SVPLAN ## Returnerer den fremtidige verdien av en inngående hovedstol etter å ha anvendt en serie med sammensatte rentesatser -INTRATE = RENTESATS ## Returnerer rentefoten av et fullfinansiert verdipapir -IPMT = RAVDRAG ## Returnerer betalte renter på en investering for en gitt periode -IRR = IR ## Returnerer internrenten for en serie kontantstrømmer -ISPMT = ER.AVDRAG ## Beregner renten som er betalt for en investering i løpet av en bestemt periode -MDURATION = MVARIGHET ## Returnerer Macauleys modifiserte varighet for et verdipapir med en antatt pålydende verdi på kr 100,00 -MIRR = MODIR ## Returnerer internrenten der positive og negative kontantstrømmer finansieres med forskjellige satser -NOMINAL = NOMINELL ## Returnerer årlig nominell rentesats -NPER = PERIODER ## Returnerer antall perioder for en investering -NPV = NNV ## Returnerer netto nåverdi for en investering, basert på en serie periodiske kontantstrømmer og en rentesats -ODDFPRICE = AVVIKFP.PRIS ## Returnerer pris pålydende kr 100 for et verdipapir med en odde første periode -ODDFYIELD = AVVIKFP.AVKASTNING ## Returnerer avkastingen for et verdipapir med en odde første periode -ODDLPRICE = AVVIKSP.PRIS ## Returnerer pris pålydende kr 100 for et verdipapir med en odde siste periode -ODDLYIELD = AVVIKSP.AVKASTNING ## Returnerer avkastingen for et verdipapir med en odde siste periode -PMT = AVDRAG ## Returnerer periodisk betaling for en annuitet -PPMT = AMORT ## Returnerer betalingen på hovedstolen for en investering i en gitt periode -PRICE = PRIS ## Returnerer prisen per pålydende kr 100 for et verdipapir som gir periodisk avkastning -PRICEDISC = PRIS.DISKONTERT ## Returnerer prisen per pålydende kr 100 for et diskontert verdipapir -PRICEMAT = PRIS.FORFALL ## Returnerer prisen per pålydende kr 100 av et verdipapir som betaler rente ved forfall -PV = NÅVERDI ## Returnerer nåverdien av en investering -RATE = RENTE ## Returnerer rentesatsen per periode for en annuitet -RECEIVED = MOTTATT.AVKAST ## Returnerer summen som mottas ved forfallsdato for et fullinvestert verdipapir -SLN = LINAVS ## Returnerer den lineære avskrivningen for et aktivum i én periode -SYD = ÅRSAVS ## Returnerer årsavskrivningen for et aktivum i en angitt periode -TBILLEQ = TBILLEKV ## Returnerer den obligasjonsekvivalente avkastningen for en statsobligasjon -TBILLPRICE = TBILLPRIS ## Returnerer prisen per pålydende kr 100 for en statsobligasjon -TBILLYIELD = TBILLAVKASTNING ## Returnerer avkastningen til en statsobligasjon -VDB = VERDIAVS ## Returnerer avskrivningen for et aktivum i en angitt periode eller delperiode, ved hjelp av degressiv avskrivning -XIRR = XIR ## Returnerer internrenten for en serie kontantstrømmer som ikke nødvendigvis er periodiske -XNPV = XNNV ## Returnerer netto nåverdi for en serie kontantstrømmer som ikke nødvendigvis er periodiske -YIELD = AVKAST ## Returnerer avkastningen på et verdipapir som betaler periodisk rente -YIELDDISC = AVKAST.DISKONTERT ## Returnerer årlig avkastning for et diskontert verdipapir, for eksempel en statskasseveksel -YIELDMAT = AVKAST.FORFALL ## Returnerer den årlige avkastningen for et verdipapir som betaler rente ved forfallsdato - - -## -## Information functions Informasjonsfunksjoner -## -CELL = CELLE ## Returnerer informasjon om formatering, plassering eller innholdet til en celle -ERROR.TYPE = FEIL.TYPE ## Returnerer et tall som svarer til en feiltype -INFO = INFO ## Returnerer informasjon om gjeldende operativmiljø -ISBLANK = ERTOM ## Returnerer SANN hvis verdien er tom -ISERR = ERFEIL ## Returnerer SANN hvis verdien er en hvilken som helst annen feilverdi enn #I/T -ISERROR = ERFEIL ## Returnerer SANN hvis verdien er en hvilken som helst feilverdi -ISEVEN = ERPARTALL ## Returnerer SANN hvis tallet er et partall -ISLOGICAL = ERLOGISK ## Returnerer SANN hvis verdien er en logisk verdi -ISNA = ERIT ## Returnerer SANN hvis verdien er feilverdien #I/T -ISNONTEXT = ERIKKETEKST ## Returnerer SANN hvis verdien ikke er tekst -ISNUMBER = ERTALL ## Returnerer SANN hvis verdien er et tall -ISODD = ERODDETALL ## Returnerer SANN hvis tallet er et oddetall -ISREF = ERREF ## Returnerer SANN hvis verdien er en referanse -ISTEXT = ERTEKST ## Returnerer SANN hvis verdien er tekst -N = N ## Returnerer en verdi som er konvertert til et tall -NA = IT ## Returnerer feilverdien #I/T -TYPE = VERDITYPE ## Returnerer et tall som indikerer datatypen til en verdi - - -## -## Logical functions Logiske funksjoner -## -AND = OG ## Returnerer SANN hvis alle argumentene er lik SANN -FALSE = USANN ## Returnerer den logiske verdien USANN -IF = HVIS ## Angir en logisk test som skal utføres -IFERROR = HVISFEIL ## Returnerer en verdi du angir hvis en formel evaluerer til en feil. Ellers returnerer den resultatet av formelen. -NOT = IKKE ## Reverserer logikken til argumentet -OR = ELLER ## Returnerer SANN hvis ett eller flere argumenter er lik SANN -TRUE = SANN ## Returnerer den logiske verdien SANN - - -## -## Lookup and reference functions Oppslag- og referansefunksjoner -## -ADDRESS = ADRESSE ## Returnerer en referanse som tekst til en enkelt celle i et regneark -AREAS = OMRÅDER ## Returnerer antall områder i en referanse -CHOOSE = VELG ## Velger en verdi fra en liste med verdier -COLUMN = KOLONNE ## Returnerer kolonnenummeret for en referanse -COLUMNS = KOLONNER ## Returnerer antall kolonner i en referanse -HLOOKUP = FINN.KOLONNE ## Leter i den øverste raden i en matrise og returnerer verdien for den angitte cellen -HYPERLINK = HYPERKOBLING ## Oppretter en snarvei eller et hopp som åpner et dokument som er lagret på en nettverksserver, et intranett eller Internett -INDEX = INDEKS ## Bruker en indeks til å velge en verdi fra en referanse eller matrise -INDIRECT = INDIREKTE ## Returnerer en referanse angitt av en tekstverdi -LOOKUP = SLÅ.OPP ## Slår opp verdier i en vektor eller matrise -MATCH = SAMMENLIGNE ## Slår opp verdier i en referanse eller matrise -OFFSET = FORSKYVNING ## Returnerer en referanseforskyvning fra en gitt referanse -ROW = RAD ## Returnerer radnummeret for en referanse -ROWS = RADER ## Returnerer antall rader i en referanse -RTD = RTD ## Henter sanntidsdata fra et program som støtter COM-automatisering (automatisering: En måte å arbeide på med programobjekter fra et annet program- eller utviklingsverktøy. Tidligere kalt OLE-automatisering. Automatisering er en bransjestandard og en funksjon i Component Object Model (COM).) -TRANSPOSE = TRANSPONER ## Returnerer transponeringen av en matrise -VLOOKUP = FINN.RAD ## Leter i den første kolonnen i en matrise og flytter bortover raden for å returnere verdien til en celle - - -## -## Math and trigonometry functions Matematikk- og trigonometrifunksjoner -## -ABS = ABS ## Returnerer absoluttverdien til et tall -ACOS = ARCCOS ## Returnerer arcus cosinus til et tall -ACOSH = ARCCOSH ## Returnerer den inverse hyperbolske cosinus til et tall -ASIN = ARCSIN ## Returnerer arcus sinus til et tall -ASINH = ARCSINH ## Returnerer den inverse hyperbolske sinus til et tall -ATAN = ARCTAN ## Returnerer arcus tangens til et tall -ATAN2 = ARCTAN2 ## Returnerer arcus tangens fra x- og y-koordinater -ATANH = ARCTANH ## Returnerer den inverse hyperbolske tangens til et tall -CEILING = AVRUND.GJELDENDE.MULTIPLUM ## Runder av et tall til nærmeste heltall eller til nærmeste signifikante multiplum -COMBIN = KOMBINASJON ## Returnerer antall kombinasjoner for ett gitt antall objekter -COS = COS ## Returnerer cosinus til et tall -COSH = COSH ## Returnerer den hyperbolske cosinus til et tall -DEGREES = GRADER ## Konverterer radianer til grader -EVEN = AVRUND.TIL.PARTALL ## Runder av et tall oppover til nærmeste heltall som er et partall -EXP = EKSP ## Returnerer e opphøyd i en angitt potens -FACT = FAKULTET ## Returnerer fakultet til et tall -FACTDOUBLE = DOBBELFAKT ## Returnerer et talls doble fakultet -FLOOR = AVRUND.GJELDENDE.MULTIPLUM.NED ## Avrunder et tall nedover, mot null -GCD = SFF ## Returnerer høyeste felles divisor -INT = HELTALL ## Avrunder et tall nedover til nærmeste heltall -LCM = MFM ## Returnerer minste felles multiplum -LN = LN ## Returnerer den naturlige logaritmen til et tall -LOG = LOG ## Returnerer logaritmen for et tall til et angitt grunntall -LOG10 = LOG10 ## Returnerer logaritmen med grunntall 10 for et tall -MDETERM = MDETERM ## Returnerer matrisedeterminanten til en matrise -MINVERSE = MINVERS ## Returnerer den inverse matrisen til en matrise -MMULT = MMULT ## Returnerer matriseproduktet av to matriser -MOD = REST ## Returnerer resten fra en divisjon -MROUND = MRUND ## Returnerer et tall avrundet til det ønskede multiplum -MULTINOMIAL = MULTINOMINELL ## Returnerer det multinominelle for et sett med tall -ODD = AVRUND.TIL.ODDETALL ## Runder av et tall oppover til nærmeste heltall som er et oddetall -PI = PI ## Returnerer verdien av pi -POWER = OPPHØYD.I ## Returnerer resultatet av et tall opphøyd i en potens -PRODUCT = PRODUKT ## Multipliserer argumentene -QUOTIENT = KVOTIENT ## Returnerer heltallsdelen av en divisjon -RADIANS = RADIANER ## Konverterer grader til radianer -RAND = TILFELDIG ## Returnerer et tilfeldig tall mellom 0 og 1 -RANDBETWEEN = TILFELDIGMELLOM ## Returnerer et tilfeldig tall innenfor et angitt område -ROMAN = ROMERTALL ## Konverterer vanlige tall til romertall, som tekst -ROUND = AVRUND ## Avrunder et tall til et angitt antall sifre -ROUNDDOWN = AVRUND.NED ## Avrunder et tall nedover, mot null -ROUNDUP = AVRUND.OPP ## Runder av et tall oppover, bort fra null -SERIESSUM = SUMMER.REKKE ## Returnerer summen av en geometrisk rekke, basert på formelen -SIGN = FORTEGN ## Returnerer fortegnet for et tall -SIN = SIN ## Returnerer sinus til en gitt vinkel -SINH = SINH ## Returnerer den hyperbolske sinus til et tall -SQRT = ROT ## Returnerer en positiv kvadratrot -SQRTPI = ROTPI ## Returnerer kvadratroten av (tall * pi) -SUBTOTAL = DELSUM ## Returnerer en delsum i en liste eller database -SUM = SUMMER ## Legger sammen argumentene -SUMIF = SUMMERHVIS ## Legger sammen cellene angitt ved et gitt vilkår -SUMIFS = SUMMER.HVIS.SETT ## Legger sammen cellene i et område som oppfyller flere vilkår -SUMPRODUCT = SUMMERPRODUKT ## Returnerer summen av produktene av tilsvarende matrisekomponenter -SUMSQ = SUMMERKVADRAT ## Returnerer kvadratsummen av argumentene -SUMX2MY2 = SUMMERX2MY2 ## Returnerer summen av differansen av kvadratene for tilsvarende verdier i to matriser -SUMX2PY2 = SUMMERX2PY2 ## Returnerer summen av kvadratsummene for tilsvarende verdier i to matriser -SUMXMY2 = SUMMERXMY2 ## Returnerer summen av kvadratene av differansen for tilsvarende verdier i to matriser -TAN = TAN ## Returnerer tangens for et tall -TANH = TANH ## Returnerer den hyperbolske tangens for et tall -TRUNC = AVKORT ## Korter av et tall til et heltall - - -## -## Statistical functions Statistiske funksjoner -## -AVEDEV = GJENNOMSNITTSAVVIK ## Returnerer datapunktenes gjennomsnittlige absoluttavvik fra middelverdien -AVERAGE = GJENNOMSNITT ## Returnerer gjennomsnittet for argumentene -AVERAGEA = GJENNOMSNITTA ## Returnerer gjennomsnittet for argumentene, inkludert tall, tekst og logiske verdier -AVERAGEIF = GJENNOMSNITTHVIS ## Returnerer gjennomsnittet (aritmetisk gjennomsnitt) av alle cellene i et område som oppfyller et bestemt vilkår -AVERAGEIFS = GJENNOMSNITT.HVIS.SETT ## Returnerer gjennomsnittet (aritmetisk middelverdi) av alle celler som oppfyller flere vilkår. -BETADIST = BETA.FORDELING ## Returnerer den kumulative betafordelingsfunksjonen -BETAINV = INVERS.BETA.FORDELING ## Returnerer den inverse verdien til fordelingsfunksjonen for en angitt betafordeling -BINOMDIST = BINOM.FORDELING ## Returnerer den individuelle binomiske sannsynlighetsfordelingen -CHIDIST = KJI.FORDELING ## Returnerer den ensidige sannsynligheten for en kjikvadrert fordeling -CHIINV = INVERS.KJI.FORDELING ## Returnerer den inverse av den ensidige sannsynligheten for den kjikvadrerte fordelingen -CHITEST = KJI.TEST ## Utfører testen for uavhengighet -CONFIDENCE = KONFIDENS ## Returnerer konfidensintervallet til gjennomsnittet for en populasjon -CORREL = KORRELASJON ## Returnerer korrelasjonskoeffisienten mellom to datasett -COUNT = ANTALL ## Teller hvor mange tall som er i argumentlisten -COUNTA = ANTALLA ## Teller hvor mange verdier som er i argumentlisten -COUNTBLANK = TELLBLANKE ## Teller antall tomme celler i et område. -COUNTIF = ANTALL.HVIS ## Teller antall celler i et område som oppfyller gitte vilkår -COUNTIFS = ANTALL.HVIS.SETT ## Teller antallet ikke-tomme celler i et område som oppfyller flere vilkår -COVAR = KOVARIANS ## Returnerer kovariansen, gjennomsnittet av produktene av parvise avvik -CRITBINOM = GRENSE.BINOM ## Returnerer den minste verdien der den kumulative binomiske fordelingen er mindre enn eller lik en vilkårsverdi -DEVSQ = AVVIK.KVADRERT ## Returnerer summen av kvadrerte avvik -EXPONDIST = EKSP.FORDELING ## Returnerer eksponentialfordelingen -FDIST = FFORDELING ## Returnerer F-sannsynlighetsfordelingen -FINV = FFORDELING.INVERS ## Returnerer den inverse av den sannsynlige F-fordelingen -FISHER = FISHER ## Returnerer Fisher-transformasjonen -FISHERINV = FISHERINV ## Returnerer den inverse av Fisher-transformasjonen -FORECAST = PROGNOSE ## Returnerer en verdi langs en lineær trend -FREQUENCY = FREKVENS ## Returnerer en frekvensdistribusjon som en loddrett matrise -FTEST = FTEST ## Returnerer resultatet av en F-test -GAMMADIST = GAMMAFORDELING ## Returnerer gammafordelingen -GAMMAINV = GAMMAINV ## Returnerer den inverse av den gammakumulative fordelingen -GAMMALN = GAMMALN ## Returnerer den naturlige logaritmen til gammafunksjonen G(x) -GEOMEAN = GJENNOMSNITT.GEOMETRISK ## Returnerer den geometriske middelverdien -GROWTH = VEKST ## Returnerer verdier langs en eksponentiell trend -HARMEAN = GJENNOMSNITT.HARMONISK ## Returnerer den harmoniske middelverdien -HYPGEOMDIST = HYPGEOM.FORDELING ## Returnerer den hypergeometriske fordelingen -INTERCEPT = SKJÆRINGSPUNKT ## Returnerer skjæringspunktet til den lineære regresjonslinjen -KURT = KURT ## Returnerer kurtosen til et datasett -LARGE = N.STØRST ## Returnerer den n-te største verdien i et datasett -LINEST = RETTLINJE ## Returnerer parameterne til en lineær trend -LOGEST = KURVE ## Returnerer parameterne til en eksponentiell trend -LOGINV = LOGINV ## Returnerer den inverse lognormale fordelingen -LOGNORMDIST = LOGNORMFORD ## Returnerer den kumulative lognormale fordelingen -MAX = STØRST ## Returnerer maksimumsverdien i en argumentliste -MAXA = MAKSA ## Returnerer maksimumsverdien i en argumentliste, inkludert tall, tekst og logiske verdier -MEDIAN = MEDIAN ## Returnerer medianen til tallene som er gitt -MIN = MIN ## Returnerer minimumsverdien i en argumentliste -MINA = MINA ## Returnerer den minste verdien i en argumentliste, inkludert tall, tekst og logiske verdier -MODE = MODUS ## Returnerer den vanligste verdien i et datasett -NEGBINOMDIST = NEGBINOM.FORDELING ## Returnerer den negative binomiske fordelingen -NORMDIST = NORMALFORDELING ## Returnerer den kumulative normalfordelingen -NORMINV = NORMINV ## Returnerer den inverse kumulative normalfordelingen -NORMSDIST = NORMSFORDELING ## Returnerer standard kumulativ normalfordeling -NORMSINV = NORMSINV ## Returnerer den inverse av den den kumulative standard normalfordelingen -PEARSON = PEARSON ## Returnerer produktmomentkorrelasjonskoeffisienten, Pearson -PERCENTILE = PERSENTIL ## Returnerer den n-te persentil av verdiene i et område -PERCENTRANK = PROSENTDEL ## Returnerer prosentrangeringen av en verdi i et datasett -PERMUT = PERMUTER ## Returnerer antall permutasjoner for et gitt antall objekter -POISSON = POISSON ## Returnerer Poissons sannsynlighetsfordeling -PROB = SANNSYNLIG ## Returnerer sannsynligheten for at verdier i et område ligger mellom to grenser -QUARTILE = KVARTIL ## Returnerer kvartilen til et datasett -RANK = RANG ## Returnerer rangeringen av et tall, eller plassen tallet har i en rekke -RSQ = RKVADRAT ## Returnerer kvadratet av produktmomentkorrelasjonskoeffisienten (Pearsons r) -SKEW = SKJEVFORDELING ## Returnerer skjevheten i en fordeling -SLOPE = STIGNINGSTALL ## Returnerer stigningtallet for den lineære regresjonslinjen -SMALL = N.MINST ## Returnerer den n-te minste verdien i et datasett -STANDARDIZE = NORMALISER ## Returnerer en normalisert verdi -STDEV = STDAV ## Estimere standardavvik på grunnlag av et utvalg -STDEVA = STDAVVIKA ## Estimerer standardavvik basert på et utvalg, inkludert tall, tekst og logiske verdier -STDEVP = STDAVP ## Beregner standardavvik basert på hele populasjonen -STDEVPA = STDAVVIKPA ## Beregner standardavvik basert på hele populasjonen, inkludert tall, tekst og logiske verdier -STEYX = STANDARDFEIL ## Returnerer standardfeilen for den predikerte y-verdien for hver x i regresjonen -TDIST = TFORDELING ## Returnerer en Student t-fordeling -TINV = TINV ## Returnerer den inverse Student t-fordelingen -TREND = TREND ## Returnerer verdier langs en lineær trend -TRIMMEAN = TRIMMET.GJENNOMSNITT ## Returnerer den interne middelverdien til et datasett -TTEST = TTEST ## Returnerer sannsynligheten assosiert med en Student t-test -VAR = VARIANS ## Estimerer varians basert på et utvalg -VARA = VARIANSA ## Estimerer varians basert på et utvalg, inkludert tall, tekst og logiske verdier -VARP = VARIANSP ## Beregner varians basert på hele populasjonen -VARPA = VARIANSPA ## Beregner varians basert på hele populasjonen, inkludert tall, tekst og logiske verdier -WEIBULL = WEIBULL.FORDELING ## Returnerer Weibull-fordelingen -ZTEST = ZTEST ## Returnerer den ensidige sannsynlighetsverdien for en z-test - - -## -## Text functions Tekstfunksjoner -## -ASC = STIGENDE ## Endrer fullbreddes (dobbeltbyte) engelske bokstaver eller katakana i en tegnstreng, til halvbreddes (enkeltbyte) tegn -BAHTTEXT = BAHTTEKST ## Konverterer et tall til tekst, og bruker valutaformatet ß (baht) -CHAR = TEGNKODE ## Returnerer tegnet som svarer til kodenummeret -CLEAN = RENSK ## Fjerner alle tegn som ikke kan skrives ut, fra teksten -CODE = KODE ## Returnerer en numerisk kode for det første tegnet i en tekststreng -CONCATENATE = KJEDE.SAMMEN ## Slår sammen flere tekstelementer til ett tekstelement -DOLLAR = VALUTA ## Konverterer et tall til tekst, og bruker valutaformatet $ (dollar) -EXACT = EKSAKT ## Kontrollerer om to tekstverdier er like -FIND = FINN ## Finner en tekstverdi inne i en annen (skiller mellom store og små bokstaver) -FINDB = FINNB ## Finner en tekstverdi inne i en annen (skiller mellom store og små bokstaver) -FIXED = FASTSATT ## Formaterer et tall som tekst med et bestemt antall desimaler -JIS = JIS ## Endrer halvbreddes (enkeltbyte) engelske bokstaver eller katakana i en tegnstreng, til fullbreddes (dobbeltbyte) tegn -LEFT = VENSTRE ## Returnerer tegnene lengst til venstre i en tekstverdi -LEFTB = VENSTREB ## Returnerer tegnene lengst til venstre i en tekstverdi -LEN = LENGDE ## Returnerer antall tegn i en tekststreng -LENB = LENGDEB ## Returnerer antall tegn i en tekststreng -LOWER = SMÅ ## Konverterer tekst til små bokstaver -MID = DELTEKST ## Returnerer et angitt antall tegn fra en tekststreng, og begynner fra posisjonen du angir -MIDB = DELTEKSTB ## Returnerer et angitt antall tegn fra en tekststreng, og begynner fra posisjonen du angir -PHONETIC = FURIGANA ## Trekker ut fonetiske tegn (furigana) fra en tekststreng -PROPER = STOR.FORBOKSTAV ## Gir den første bokstaven i hvert ord i en tekstverdi stor forbokstav -REPLACE = ERSTATT ## Erstatter tegn i en tekst -REPLACEB = ERSTATTB ## Erstatter tegn i en tekst -REPT = GJENTA ## Gjentar tekst et gitt antall ganger -RIGHT = HØYRE ## Returnerer tegnene lengst til høyre i en tekstverdi -RIGHTB = HØYREB ## Returnerer tegnene lengst til høyre i en tekstverdi -SEARCH = SØK ## Finner en tekstverdi inne i en annen (skiller ikke mellom store og små bokstaver) -SEARCHB = SØKB ## Finner en tekstverdi inne i en annen (skiller ikke mellom store og små bokstaver) -SUBSTITUTE = BYTT.UT ## Bytter ut gammel tekst med ny tekst i en tekststreng -T = T ## Konverterer argumentene til tekst -TEXT = TEKST ## Formaterer et tall og konverterer det til tekst -TRIM = TRIMME ## Fjerner mellomrom fra tekst -UPPER = STORE ## Konverterer tekst til store bokstaver -VALUE = VERDI ## Konverterer et tekstargument til et tall diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/no/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/config deleted file mode 100644 index 4dd75bee6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = zł - - -## -## Excel Error Codes (For future use) -## -NULL = #ZERO! -DIV0 = #DZIEL/0! -VALUE = #ARG! -REF = #ADR! -NAME = #NAZWA? -NUM = #LICZBA! -NA = #N/D! diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/functions deleted file mode 100644 index 1881a71e5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Funkcje dodatków i automatyzacji -## -GETPIVOTDATA = WEŹDANETABELI ## Zwraca dane przechowywane w raporcie tabeli przestawnej. - - -## -## Cube functions Funkcje modułów -## -CUBEKPIMEMBER = ELEMENT.KPI.MODUŁU ## Zwraca nazwę, właściwość i miarę kluczowego wskaźnika wydajności (KPI) oraz wyświetla nazwę i właściwość w komórce. Wskaźnik KPI jest miarą ilościową, taką jak miesięczny zysk brutto lub kwartalna fluktuacja pracowników, używaną do monitorowania wydajności organizacji. -CUBEMEMBER = ELEMENT.MODUŁU ## Zwraca element lub krotkę z hierarchii modułu. Służy do sprawdzania, czy element lub krotka istnieje w module. -CUBEMEMBERPROPERTY = WŁAŚCIWOŚĆ.ELEMENTU.MODUŁU ## Zwraca wartość właściwości elementu w module. Służy do sprawdzania, czy nazwa elementu istnieje w module, i zwracania określonej właściwości dla tego elementu. -CUBERANKEDMEMBER = USZEREGOWANY.ELEMENT.MODUŁU ## Zwraca n-ty (albo uszeregowany) element zestawu. Służy do zwracania elementu lub elementów zestawu, na przykład najlepszego sprzedawcy lub 10 najlepszych studentów. -CUBESET = ZESTAW.MODUŁÓW ## Definiuje obliczony zestaw elementów lub krotek, wysyłając wyrażenie zestawu do serwera modułu, który tworzy zestaw i zwraca go do programu Microsoft Office Excel. -CUBESETCOUNT = LICZNIK.MODUŁÓW.ZESTAWU ## Zwraca liczbę elementów zestawu. -CUBEVALUE = WARTOŚĆ.MODUŁU ## Zwraca zagregowaną wartość z modułu. - - -## -## Database functions Funkcje baz danych -## -DAVERAGE = BD.ŚREDNIA ## Zwraca wartość średniej wybranych wpisów bazy danych. -DCOUNT = BD.ILE.REKORDÓW ## Zlicza komórki zawierające liczby w bazie danych. -DCOUNTA = BD.ILE.REKORDÓW.A ## Zlicza niepuste komórki w bazie danych. -DGET = BD.POLE ## Wyodrębnia z bazy danych jeden rekord spełniający określone kryteria. -DMAX = BD.MAX ## Zwraca wartość maksymalną z wybranych wpisów bazy danych. -DMIN = BD.MIN ## Zwraca wartość minimalną z wybranych wpisów bazy danych. -DPRODUCT = BD.ILOCZYN ## Mnoży wartości w konkretnym, spełniającym kryteria polu rekordów bazy danych. -DSTDEV = BD.ODCH.STANDARD ## Szacuje odchylenie standardowe na podstawie próbki z wybranych wpisów bazy danych. -DSTDEVP = BD.ODCH.STANDARD.POPUL ## Oblicza odchylenie standardowe na podstawie całej populacji wybranych wpisów bazy danych. -DSUM = BD.SUMA ## Dodaje liczby w kolumnie pól rekordów bazy danych, które spełniają kryteria. -DVAR = BD.WARIANCJA ## Szacuje wariancję na podstawie próbki z wybranych wpisów bazy danych. -DVARP = BD.WARIANCJA.POPUL ## Oblicza wariancję na podstawie całej populacji wybranych wpisów bazy danych. - - -## -## Date and time functions Funkcje dat, godzin i czasu -## -DATE = DATA ## Zwraca liczbę seryjną dla wybranej daty. -DATEVALUE = DATA.WARTOŚĆ ## Konwertuje datę w formie tekstu na liczbę seryjną. -DAY = DZIEŃ ## Konwertuje liczbę seryjną na dzień miesiąca. -DAYS360 = DNI.360 ## Oblicza liczbę dni między dwiema datami na podstawie roku 360-dniowego. -EDATE = UPŁDNI ## Zwraca liczbę seryjną daty jako wskazaną liczbę miesięcy przed określoną datą początkową lub po niej. -EOMONTH = EOMONTH ## Zwraca liczbę seryjną ostatniego dnia miesiąca przed określoną liczbą miesięcy lub po niej. -HOUR = GODZINA ## Konwertuje liczbę seryjną na godzinę. -MINUTE = MINUTA ## Konwertuje liczbę seryjną na minutę. -MONTH = MIESIĄC ## Konwertuje liczbę seryjną na miesiąc. -NETWORKDAYS = NETWORKDAYS ## Zwraca liczbę pełnych dni roboczych między dwiema datami. -NOW = TERAZ ## Zwraca liczbę seryjną bieżącej daty i godziny. -SECOND = SEKUNDA ## Konwertuje liczbę seryjną na sekundę. -TIME = CZAS ## Zwraca liczbę seryjną określonego czasu. -TIMEVALUE = CZAS.WARTOŚĆ ## Konwertuje czas w formie tekstu na liczbę seryjną. -TODAY = DZIŚ ## Zwraca liczbę seryjną dla daty bieżącej. -WEEKDAY = DZIEŃ.TYG ## Konwertuje liczbę seryjną na dzień tygodnia. -WEEKNUM = WEEKNUM ## Konwertuje liczbę seryjną na liczbę reprezentującą numer tygodnia w roku. -WORKDAY = WORKDAY ## Zwraca liczbę seryjną dla daty przed określoną liczbą dni roboczych lub po niej. -YEAR = ROK ## Konwertuje liczbę seryjną na rok. -YEARFRAC = YEARFRAC ## Zwraca część roku reprezentowaną przez pełną liczbę dni między datą początkową a datą końcową. - - -## -## Engineering functions Funkcje inżynierskie -## -BESSELI = BESSELI ## Zwraca wartość zmodyfikowanej funkcji Bessela In(x). -BESSELJ = BESSELJ ## Zwraca wartość funkcji Bessela Jn(x). -BESSELK = BESSELK ## Zwraca wartość zmodyfikowanej funkcji Bessela Kn(x). -BESSELY = BESSELY ## Zwraca wartość funkcji Bessela Yn(x). -BIN2DEC = BIN2DEC ## Konwertuje liczbę w postaci dwójkowej na liczbę w postaci dziesiętnej. -BIN2HEX = BIN2HEX ## Konwertuje liczbę w postaci dwójkowej na liczbę w postaci szesnastkowej. -BIN2OCT = BIN2OCT ## Konwertuje liczbę w postaci dwójkowej na liczbę w postaci ósemkowej. -COMPLEX = COMPLEX ## Konwertuje część rzeczywistą i urojoną na liczbę zespoloną. -CONVERT = CONVERT ## Konwertuje liczbę z jednego systemu miar na inny. -DEC2BIN = DEC2BIN ## Konwertuje liczbę w postaci dziesiętnej na postać dwójkową. -DEC2HEX = DEC2HEX ## Konwertuje liczbę w postaci dziesiętnej na liczbę w postaci szesnastkowej. -DEC2OCT = DEC2OCT ## Konwertuje liczbę w postaci dziesiętnej na liczbę w postaci ósemkowej. -DELTA = DELTA ## Sprawdza, czy dwie wartości są równe. -ERF = ERF ## Zwraca wartość funkcji błędu. -ERFC = ERFC ## Zwraca wartość komplementarnej funkcji błędu. -GESTEP = GESTEP ## Sprawdza, czy liczba jest większa niż wartość progowa. -HEX2BIN = HEX2BIN ## Konwertuje liczbę w postaci szesnastkowej na liczbę w postaci dwójkowej. -HEX2DEC = HEX2DEC ## Konwertuje liczbę w postaci szesnastkowej na liczbę w postaci dziesiętnej. -HEX2OCT = HEX2OCT ## Konwertuje liczbę w postaci szesnastkowej na liczbę w postaci ósemkowej. -IMABS = IMABS ## Zwraca wartość bezwzględną (moduł) liczby zespolonej. -IMAGINARY = IMAGINARY ## Zwraca wartość części urojonej liczby zespolonej. -IMARGUMENT = IMARGUMENT ## Zwraca wartość argumentu liczby zespolonej, przy czym kąt wyrażony jest w radianach. -IMCONJUGATE = IMCONJUGATE ## Zwraca wartość liczby sprzężonej danej liczby zespolonej. -IMCOS = IMCOS ## Zwraca wartość cosinusa liczby zespolonej. -IMDIV = IMDIV ## Zwraca wartość ilorazu dwóch liczb zespolonych. -IMEXP = IMEXP ## Zwraca postać wykładniczą liczby zespolonej. -IMLN = IMLN ## Zwraca wartość logarytmu naturalnego liczby zespolonej. -IMLOG10 = IMLOG10 ## Zwraca wartość logarytmu dziesiętnego liczby zespolonej. -IMLOG2 = IMLOG2 ## Zwraca wartość logarytmu liczby zespolonej przy podstawie 2. -IMPOWER = IMPOWER ## Zwraca wartość liczby zespolonej podniesionej do potęgi całkowitej. -IMPRODUCT = IMPRODUCT ## Zwraca wartość iloczynu liczb zespolonych. -IMREAL = IMREAL ## Zwraca wartość części rzeczywistej liczby zespolonej. -IMSIN = IMSIN ## Zwraca wartość sinusa liczby zespolonej. -IMSQRT = IMSQRT ## Zwraca wartość pierwiastka kwadratowego z liczby zespolonej. -IMSUB = IMSUB ## Zwraca wartość różnicy dwóch liczb zespolonych. -IMSUM = IMSUM ## Zwraca wartość sumy liczb zespolonych. -OCT2BIN = OCT2BIN ## Konwertuje liczbę w postaci ósemkowej na liczbę w postaci dwójkowej. -OCT2DEC = OCT2DEC ## Konwertuje liczbę w postaci ósemkowej na liczbę w postaci dziesiętnej. -OCT2HEX = OCT2HEX ## Konwertuje liczbę w postaci ósemkowej na liczbę w postaci szesnastkowej. - - -## -## Financial functions Funkcje finansowe -## -ACCRINT = ACCRINT ## Zwraca narosłe odsetki dla papieru wartościowego z oprocentowaniem okresowym. -ACCRINTM = ACCRINTM ## Zwraca narosłe odsetki dla papieru wartościowego z oprocentowaniem w terminie wykupu. -AMORDEGRC = AMORDEGRC ## Zwraca amortyzację dla każdego okresu rozliczeniowego z wykorzystaniem współczynnika amortyzacji. -AMORLINC = AMORLINC ## Zwraca amortyzację dla każdego okresu rozliczeniowego. -COUPDAYBS = COUPDAYBS ## Zwraca liczbę dni od początku okresu dywidendy do dnia rozliczeniowego. -COUPDAYS = COUPDAYS ## Zwraca liczbę dni w okresie dywidendy, z uwzględnieniem dnia rozliczeniowego. -COUPDAYSNC = COUPDAYSNC ## Zwraca liczbę dni od dnia rozliczeniowego do daty następnego dnia dywidendy. -COUPNCD = COUPNCD ## Zwraca dzień następnej dywidendy po dniu rozliczeniowym. -COUPNUM = COUPNUM ## Zwraca liczbę dywidend płatnych między dniem rozliczeniowym a dniem wykupu. -COUPPCD = COUPPCD ## Zwraca dzień poprzedniej dywidendy przed dniem rozliczeniowym. -CUMIPMT = CUMIPMT ## Zwraca wartość procentu składanego płatnego między dwoma okresami. -CUMPRINC = CUMPRINC ## Zwraca wartość kapitału skumulowanego spłaty pożyczki między dwoma okresami. -DB = DB ## Zwraca amortyzację środka trwałego w danym okresie metodą degresywną z zastosowaniem stałej bazowej. -DDB = DDB ## Zwraca amortyzację środka trwałego za podany okres metodą degresywną z zastosowaniem podwójnej bazowej lub metodą określoną przez użytkownika. -DISC = DISC ## Zwraca wartość stopy dyskontowej papieru wartościowego. -DOLLARDE = DOLLARDE ## Konwertuje cenę w postaci ułamkowej na cenę wyrażoną w postaci dziesiętnej. -DOLLARFR = DOLLARFR ## Konwertuje cenę wyrażoną w postaci dziesiętnej na cenę wyrażoną w postaci ułamkowej. -DURATION = DURATION ## Zwraca wartość rocznego przychodu z papieru wartościowego o okresowych wypłatach oprocentowania. -EFFECT = EFFECT ## Zwraca wartość efektywnej rocznej stopy procentowej. -FV = FV ## Zwraca przyszłą wartość lokaty. -FVSCHEDULE = FVSCHEDULE ## Zwraca przyszłą wartość kapitału początkowego wraz z szeregiem procentów składanych. -INTRATE = INTRATE ## Zwraca wartość stopy procentowej papieru wartościowego całkowicie ulokowanego. -IPMT = IPMT ## Zwraca wysokość spłaty oprocentowania lokaty za dany okres. -IRR = IRR ## Zwraca wartość wewnętrznej stopy zwrotu dla serii przepływów gotówkowych. -ISPMT = ISPMT ## Oblicza wysokość spłaty oprocentowania za dany okres lokaty. -MDURATION = MDURATION ## Zwraca wartość zmodyfikowanego okresu Macauleya dla papieru wartościowego o założonej wartości nominalnej 100 zł. -MIRR = MIRR ## Zwraca wartość wewnętrznej stopy zwrotu dla przypadku, gdy dodatnie i ujemne przepływy gotówkowe mają różne stopy. -NOMINAL = NOMINAL ## Zwraca wysokość nominalnej rocznej stopy procentowej. -NPER = NPER ## Zwraca liczbę okresów dla lokaty. -NPV = NPV ## Zwraca wartość bieżącą netto lokaty na podstawie szeregu okresowych przepływów gotówkowych i stopy dyskontowej. -ODDFPRICE = ODDFPRICE ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z nietypowym pierwszym okresem. -ODDFYIELD = ODDFYIELD ## Zwraca rentowność papieru wartościowego z nietypowym pierwszym okresem. -ODDLPRICE = ODDLPRICE ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z nietypowym ostatnim okresem. -ODDLYIELD = ODDLYIELD ## Zwraca rentowność papieru wartościowego z nietypowym ostatnim okresem. -PMT = PMT ## Zwraca wartość okresowej płatności raty rocznej. -PPMT = PPMT ## Zwraca wysokość spłaty kapitału w przypadku lokaty dla danego okresu. -PRICE = PRICE ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z oprocentowaniem okresowym. -PRICEDISC = PRICEDISC ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego zdyskontowanego. -PRICEMAT = PRICEMAT ## Zwraca cenę za 100 zł wartości nominalnej papieru wartościowego z oprocentowaniem w terminie wykupu. -PV = PV ## Zwraca wartość bieżącą lokaty. -RATE = RATE ## Zwraca wysokość stopy procentowej w okresie raty rocznej. -RECEIVED = RECEIVED ## Zwraca wartość kapitału otrzymanego przy wykupie papieru wartościowego całkowicie ulokowanego. -SLN = SLN ## Zwraca amortyzację środka trwałego za jeden okres metodą liniową. -SYD = SYD ## Zwraca amortyzację środka trwałego za dany okres metodą sumy cyfr lat amortyzacji. -TBILLEQ = TBILLEQ ## Zwraca rentowność ekwiwalentu obligacji dla bonu skarbowego. -TBILLPRICE = TBILLPRICE ## Zwraca cenę za 100 zł wartości nominalnej bonu skarbowego. -TBILLYIELD = TBILLYIELD ## Zwraca rentowność bonu skarbowego. -VDB = VDB ## Oblicza amortyzację środka trwałego w danym okresie lub jego części metodą degresywną. -XIRR = XIRR ## Zwraca wartość wewnętrznej stopy zwrotu dla serii rozłożonych w czasie przepływów gotówkowych, niekoniecznie okresowych. -XNPV = XNPV ## Zwraca wartość bieżącą netto dla serii rozłożonych w czasie przepływów gotówkowych, niekoniecznie okresowych. -YIELD = YIELD ## Zwraca rentowność papieru wartościowego z oprocentowaniem okresowym. -YIELDDISC = YIELDDISC ## Zwraca roczną rentowność zdyskontowanego papieru wartościowego, na przykład bonu skarbowego. -YIELDMAT = YIELDMAT ## Zwraca roczną rentowność papieru wartościowego oprocentowanego przy wykupie. - - -## -## Information functions Funkcje informacyjne -## -CELL = KOMÓRKA ## Zwraca informacje o formacie, położeniu lub zawartości komórki. -ERROR.TYPE = NR.BŁĘDU ## Zwraca liczbę odpowiadającą typowi błędu. -INFO = INFO ## Zwraca informację o aktualnym środowisku pracy. -ISBLANK = CZY.PUSTA ## Zwraca wartość PRAWDA, jeśli wartość jest pusta. -ISERR = CZY.BŁ ## Zwraca wartość PRAWDA, jeśli wartość jest dowolną wartością błędu, z wyjątkiem #N/D!. -ISERROR = CZY.BŁĄD ## Zwraca wartość PRAWDA, jeśli wartość jest dowolną wartością błędu. -ISEVEN = ISEVEN ## Zwraca wartość PRAWDA, jeśli liczba jest parzysta. -ISLOGICAL = CZY.LOGICZNA ## Zwraca wartość PRAWDA, jeśli wartość jest wartością logiczną. -ISNA = CZY.BRAK ## Zwraca wartość PRAWDA, jeśli wartość jest wartością błędu #N/D!. -ISNONTEXT = CZY.NIE.TEKST ## Zwraca wartość PRAWDA, jeśli wartość nie jest tekstem. -ISNUMBER = CZY.LICZBA ## Zwraca wartość PRAWDA, jeśli wartość jest liczbą. -ISODD = ISODD ## Zwraca wartość PRAWDA, jeśli liczba jest nieparzysta. -ISREF = CZY.ADR ## Zwraca wartość PRAWDA, jeśli wartość jest odwołaniem. -ISTEXT = CZY.TEKST ## Zwraca wartość PRAWDA, jeśli wartość jest tekstem. -N = L ## Zwraca wartość przekonwertowaną na postać liczbową. -NA = BRAK ## Zwraca wartość błędu #N/D!. -TYPE = TYP ## Zwraca liczbę wskazującą typ danych wartości. - - -## -## Logical functions Funkcje logiczne -## -AND = ORAZ ## Zwraca wartość PRAWDA, jeśli wszystkie argumenty mają wartość PRAWDA. -FALSE = FAŁSZ ## Zwraca wartość logiczną FAŁSZ. -IF = JEŻELI ## Określa warunek logiczny do sprawdzenia. -IFERROR = JEŻELI.BŁĄD ## Zwraca określoną wartość, jeśli wynikiem obliczenia formuły jest błąd; w przeciwnym przypadku zwraca wynik formuły. -NOT = NIE ## Odwraca wartość logiczną argumentu. -OR = LUB ## Zwraca wartość PRAWDA, jeśli co najmniej jeden z argumentów ma wartość PRAWDA. -TRUE = PRAWDA ## Zwraca wartość logiczną PRAWDA. - - -## -## Lookup and reference functions Funkcje wyszukiwania i odwołań -## -ADDRESS = ADRES ## Zwraca odwołanie do jednej komórki w arkuszu jako wartość tekstową. -AREAS = OBSZARY ## Zwraca liczbę obszarów występujących w odwołaniu. -CHOOSE = WYBIERZ ## Wybiera wartość z listy wartości. -COLUMN = NR.KOLUMNY ## Zwraca numer kolumny z odwołania. -COLUMNS = LICZBA.KOLUMN ## Zwraca liczbę kolumn dla danego odwołania. -HLOOKUP = WYSZUKAJ.POZIOMO ## Przegląda górny wiersz tablicy i zwraca wartość wskazanej komórki. -HYPERLINK = HIPERŁĄCZE ## Tworzy skrót lub skok, który pozwala otwierać dokument przechowywany na serwerze sieciowym, w sieci intranet lub w Internecie. -INDEX = INDEKS ## Używa indeksu do wybierania wartości z odwołania lub tablicy. -INDIRECT = ADR.POŚR ## Zwraca odwołanie określone przez wartość tekstową. -LOOKUP = WYSZUKAJ ## Wyszukuje wartości w wektorze lub tablicy. -MATCH = PODAJ.POZYCJĘ ## Wyszukuje wartości w odwołaniu lub w tablicy. -OFFSET = PRZESUNIĘCIE ## Zwraca adres przesunięty od danego odwołania. -ROW = WIERSZ ## Zwraca numer wiersza odwołania. -ROWS = ILE.WIERSZY ## Zwraca liczbę wierszy dla danego odwołania. -RTD = RTD ## Pobiera dane w czasie rzeczywistym z programu obsługującego automatyzację COM (Automatyzacja: Sposób pracy z obiektami aplikacji pochodzącymi z innej aplikacji lub narzędzia projektowania. Nazywana wcześniej Automatyzacją OLE, Automatyzacja jest standardem przemysłowym i funkcją obiektowego modelu składników (COM, Component Object Model).). -TRANSPOSE = TRANSPONUJ ## Zwraca transponowaną tablicę. -VLOOKUP = WYSZUKAJ.PIONOWO ## Przeszukuje pierwszą kolumnę tablicy i przechodzi wzdłuż wiersza, aby zwrócić wartość komórki. - - -## -## Math and trigonometry functions Funkcje matematyczne i trygonometryczne -## -ABS = MODUŁ.LICZBY ## Zwraca wartość absolutną liczby. -ACOS = ACOS ## Zwraca arcus cosinus liczby. -ACOSH = ACOSH ## Zwraca arcus cosinus hiperboliczny liczby. -ASIN = ASIN ## Zwraca arcus sinus liczby. -ASINH = ASINH ## Zwraca arcus sinus hiperboliczny liczby. -ATAN = ATAN ## Zwraca arcus tangens liczby. -ATAN2 = ATAN2 ## Zwraca arcus tangens liczby na podstawie współrzędnych x i y. -ATANH = ATANH ## Zwraca arcus tangens hiperboliczny liczby. -CEILING = ZAOKR.W.GÓRĘ ## Zaokrągla liczbę do najbliższej liczby całkowitej lub do najbliższej wielokrotności dokładności. -COMBIN = KOMBINACJE ## Zwraca liczbę kombinacji dla danej liczby obiektów. -COS = COS ## Zwraca cosinus liczby. -COSH = COSH ## Zwraca cosinus hiperboliczny liczby. -DEGREES = STOPNIE ## Konwertuje radiany na stopnie. -EVEN = ZAOKR.DO.PARZ ## Zaokrągla liczbę w górę do najbliższej liczby parzystej. -EXP = EXP ## Zwraca wartość liczby e podniesionej do potęgi określonej przez podaną liczbę. -FACT = SILNIA ## Zwraca silnię liczby. -FACTDOUBLE = FACTDOUBLE ## Zwraca podwójną silnię liczby. -FLOOR = ZAOKR.W.DÓŁ ## Zaokrągla liczbę w dół, w kierunku zera. -GCD = GCD ## Zwraca największy wspólny dzielnik. -INT = ZAOKR.DO.CAŁK ## Zaokrągla liczbę w dół do najbliższej liczby całkowitej. -LCM = LCM ## Zwraca najmniejszą wspólną wielokrotność. -LN = LN ## Zwraca logarytm naturalny podanej liczby. -LOG = LOG ## Zwraca logarytm danej liczby przy zadanej podstawie. -LOG10 = LOG10 ## Zwraca logarytm dziesiętny liczby. -MDETERM = WYZNACZNIK.MACIERZY ## Zwraca wyznacznik macierzy tablicy. -MINVERSE = MACIERZ.ODW ## Zwraca odwrotność macierzy tablicy. -MMULT = MACIERZ.ILOCZYN ## Zwraca iloczyn macierzy dwóch tablic. -MOD = MOD ## Zwraca resztę z dzielenia. -MROUND = MROUND ## Zwraca liczbę zaokrągloną do żądanej wielokrotności. -MULTINOMIAL = MULTINOMIAL ## Zwraca wielomian dla zbioru liczb. -ODD = ZAOKR.DO.NPARZ ## Zaokrągla liczbę w górę do najbliższej liczby nieparzystej. -PI = PI ## Zwraca wartość liczby Pi. -POWER = POTĘGA ## Zwraca liczbę podniesioną do potęgi. -PRODUCT = ILOCZYN ## Mnoży argumenty. -QUOTIENT = QUOTIENT ## Zwraca iloraz (całkowity). -RADIANS = RADIANY ## Konwertuje stopnie na radiany. -RAND = LOS ## Zwraca liczbę pseudolosową z zakresu od 0 do 1. -RANDBETWEEN = RANDBETWEEN ## Zwraca liczbę pseudolosową z zakresu określonego przez podane argumenty. -ROMAN = RZYMSKIE ## Konwertuje liczbę arabską na rzymską jako tekst. -ROUND = ZAOKR ## Zaokrągla liczbę do określonej liczby cyfr. -ROUNDDOWN = ZAOKR.DÓŁ ## Zaokrągla liczbę w dół, w kierunku zera. -ROUNDUP = ZAOKR.GÓRA ## Zaokrągla liczbę w górę, w kierunku od zera. -SERIESSUM = SERIESSUM ## Zwraca sumę szeregu potęgowego na podstawie wzoru. -SIGN = ZNAK.LICZBY ## Zwraca znak liczby. -SIN = SIN ## Zwraca sinus danego kąta. -SINH = SINH ## Zwraca sinus hiperboliczny liczby. -SQRT = PIERWIASTEK ## Zwraca dodatni pierwiastek kwadratowy. -SQRTPI = SQRTPI ## Zwraca pierwiastek kwadratowy iloczynu (liczba * Pi). -SUBTOTAL = SUMY.POŚREDNIE ## Zwraca sumę częściową listy lub bazy danych. -SUM = SUMA ## Dodaje argumenty. -SUMIF = SUMA.JEŻELI ## Dodaje komórki określone przez podane kryterium. -SUMIFS = SUMA.WARUNKÓW ## Dodaje komórki w zakresie, które spełniają wiele kryteriów. -SUMPRODUCT = SUMA.ILOCZYNÓW ## Zwraca sumę iloczynów odpowiednich elementów tablicy. -SUMSQ = SUMA.KWADRATÓW ## Zwraca sumę kwadratów argumentów. -SUMX2MY2 = SUMA.X2.M.Y2 ## Zwraca sumę różnic kwadratów odpowiednich wartości w dwóch tablicach. -SUMX2PY2 = SUMA.X2.P.Y2 ## Zwraca sumę sum kwadratów odpowiednich wartości w dwóch tablicach. -SUMXMY2 = SUMA.XMY.2 ## Zwraca sumę kwadratów różnic odpowiednich wartości w dwóch tablicach. -TAN = TAN ## Zwraca tangens liczby. -TANH = TANH ## Zwraca tangens hiperboliczny liczby. -TRUNC = LICZBA.CAŁK ## Przycina liczbę do wartości całkowitej. - - -## -## Statistical functions Funkcje statystyczne -## -AVEDEV = ODCH.ŚREDNIE ## Zwraca średnią wartość odchyleń absolutnych punktów danych od ich wartości średniej. -AVERAGE = ŚREDNIA ## Zwraca wartość średnią argumentów. -AVERAGEA = ŚREDNIA.A ## Zwraca wartość średnią argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych. -AVERAGEIF = ŚREDNIA.JEŻELI ## Zwraca średnią (średnią arytmetyczną) wszystkich komórek w zakresie, które spełniają podane kryteria. -AVERAGEIFS = ŚREDNIA.WARUNKÓW ## Zwraca średnią (średnią arytmetyczną) wszystkich komórek, które spełniają jedno lub więcej kryteriów. -BETADIST = ROZKŁAD.BETA ## Zwraca skumulowaną funkcję gęstości prawdopodobieństwa beta. -BETAINV = ROZKŁAD.BETA.ODW ## Zwraca odwrotność skumulowanej funkcji gęstości prawdopodobieństwa beta. -BINOMDIST = ROZKŁAD.DWUM ## Zwraca pojedynczy składnik dwumianowego rozkładu prawdopodobieństwa. -CHIDIST = ROZKŁAD.CHI ## Zwraca wartość jednostronnego prawdopodobieństwa rozkładu chi-kwadrat. -CHIINV = ROZKŁAD.CHI.ODW ## Zwraca odwrotność wartości jednostronnego prawdopodobieństwa rozkładu chi-kwadrat. -CHITEST = TEST.CHI ## Zwraca test niezależności. -CONFIDENCE = UFNOŚĆ ## Zwraca interwał ufności dla średniej populacji. -CORREL = WSP.KORELACJI ## Zwraca współczynnik korelacji dwóch zbiorów danych. -COUNT = ILE.LICZB ## Zlicza liczby znajdujące się na liście argumentów. -COUNTA = ILE.NIEPUSTYCH ## Zlicza wartości znajdujące się na liście argumentów. -COUNTBLANK = LICZ.PUSTE ## Zwraca liczbę pustych komórek w pewnym zakresie. -COUNTIF = LICZ.JEŻELI ## Zlicza komórki wewnątrz zakresu, które spełniają podane kryteria. -COUNTIFS = LICZ.WARUNKI ## Zlicza komórki wewnątrz zakresu, które spełniają wiele kryteriów. -COVAR = KOWARIANCJA ## Zwraca kowariancję, czyli średnią wartość iloczynów odpowiednich odchyleń. -CRITBINOM = PRÓG.ROZKŁAD.DWUM ## Zwraca najmniejszą wartość, dla której skumulowany rozkład dwumianowy jest mniejszy niż wartość kryterium lub równy jej. -DEVSQ = ODCH.KWADRATOWE ## Zwraca sumę kwadratów odchyleń. -EXPONDIST = ROZKŁAD.EXP ## Zwraca rozkład wykładniczy. -FDIST = ROZKŁAD.F ## Zwraca rozkład prawdopodobieństwa F. -FINV = ROZKŁAD.F.ODW ## Zwraca odwrotność rozkładu prawdopodobieństwa F. -FISHER = ROZKŁAD.FISHER ## Zwraca transformację Fishera. -FISHERINV = ROZKŁAD.FISHER.ODW ## Zwraca odwrotność transformacji Fishera. -FORECAST = REGLINX ## Zwraca wartość trendu liniowego. -FREQUENCY = CZĘSTOŚĆ ## Zwraca rozkład częstotliwości jako tablicę pionową. -FTEST = TEST.F ## Zwraca wynik testu F. -GAMMADIST = ROZKŁAD.GAMMA ## Zwraca rozkład gamma. -GAMMAINV = ROZKŁAD.GAMMA.ODW ## Zwraca odwrotność skumulowanego rozkładu gamma. -GAMMALN = ROZKŁAD.LIN.GAMMA ## Zwraca logarytm naturalny funkcji gamma, Γ(x). -GEOMEAN = ŚREDNIA.GEOMETRYCZNA ## Zwraca średnią geometryczną. -GROWTH = REGEXPW ## Zwraca wartości trendu wykładniczego. -HARMEAN = ŚREDNIA.HARMONICZNA ## Zwraca średnią harmoniczną. -HYPGEOMDIST = ROZKŁAD.HIPERGEOM ## Zwraca rozkład hipergeometryczny. -INTERCEPT = ODCIĘTA ## Zwraca punkt przecięcia osi pionowej z linią regresji liniowej. -KURT = KURTOZA ## Zwraca kurtozę zbioru danych. -LARGE = MAX.K ## Zwraca k-tą największą wartość ze zbioru danych. -LINEST = REGLINP ## Zwraca parametry trendu liniowego. -LOGEST = REGEXPP ## Zwraca parametry trendu wykładniczego. -LOGINV = ROZKŁAD.LOG.ODW ## Zwraca odwrotność rozkładu logarytmu naturalnego. -LOGNORMDIST = ROZKŁAD.LOG ## Zwraca skumulowany rozkład logarytmu naturalnego. -MAX = MAX ## Zwraca maksymalną wartość listy argumentów. -MAXA = MAX.A ## Zwraca maksymalną wartość listy argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych. -MEDIAN = MEDIANA ## Zwraca medianę podanych liczb. -MIN = MIN ## Zwraca minimalną wartość listy argumentów. -MINA = MIN.A ## Zwraca najmniejszą wartość listy argumentów, z uwzględnieniem liczb, tekstów i wartości logicznych. -MODE = WYST.NAJCZĘŚCIEJ ## Zwraca wartość najczęściej występującą w zbiorze danych. -NEGBINOMDIST = ROZKŁAD.DWUM.PRZEC ## Zwraca ujemny rozkład dwumianowy. -NORMDIST = ROZKŁAD.NORMALNY ## Zwraca rozkład normalny skumulowany. -NORMINV = ROZKŁAD.NORMALNY.ODW ## Zwraca odwrotność rozkładu normalnego skumulowanego. -NORMSDIST = ROZKŁAD.NORMALNY.S ## Zwraca standardowy rozkład normalny skumulowany. -NORMSINV = ROZKŁAD.NORMALNY.S.ODW ## Zwraca odwrotność standardowego rozkładu normalnego skumulowanego. -PEARSON = PEARSON ## Zwraca współczynnik korelacji momentu iloczynu Pearsona. -PERCENTILE = PERCENTYL ## Wyznacza k-ty percentyl wartości w zakresie. -PERCENTRANK = PROCENT.POZYCJA ## Zwraca procentową pozycję wartości w zbiorze danych. -PERMUT = PERMUTACJE ## Zwraca liczbę permutacji dla danej liczby obiektów. -POISSON = ROZKŁAD.POISSON ## Zwraca rozkład Poissona. -PROB = PRAWDPD ## Zwraca prawdopodobieństwo, że wartości w zakresie leżą pomiędzy dwiema granicami. -QUARTILE = KWARTYL ## Wyznacza kwartyl zbioru danych. -RANK = POZYCJA ## Zwraca pozycję liczby na liście liczb. -RSQ = R.KWADRAT ## Zwraca kwadrat współczynnika korelacji momentu iloczynu Pearsona. -SKEW = SKOŚNOŚĆ ## Zwraca skośność rozkładu. -SLOPE = NACHYLENIE ## Zwraca nachylenie linii regresji liniowej. -SMALL = MIN.K ## Zwraca k-tą najmniejszą wartość ze zbioru danych. -STANDARDIZE = NORMALIZUJ ## Zwraca wartość znormalizowaną. -STDEV = ODCH.STANDARDOWE ## Szacuje odchylenie standardowe na podstawie próbki. -STDEVA = ODCH.STANDARDOWE.A ## Szacuje odchylenie standardowe na podstawie próbki, z uwzględnieniem liczb, tekstów i wartości logicznych. -STDEVP = ODCH.STANDARD.POPUL ## Oblicza odchylenie standardowe na podstawie całej populacji. -STDEVPA = ODCH.STANDARD.POPUL.A ## Oblicza odchylenie standardowe na podstawie całej populacji, z uwzględnieniem liczb, teksów i wartości logicznych. -STEYX = REGBŁSTD ## Zwraca błąd standardowy przewidzianej wartości y dla każdej wartości x w regresji. -TDIST = ROZKŁAD.T ## Zwraca rozkład t-Studenta. -TINV = ROZKŁAD.T.ODW ## Zwraca odwrotność rozkładu t-Studenta. -TREND = REGLINW ## Zwraca wartości trendu liniowego. -TRIMMEAN = ŚREDNIA.WEWN ## Zwraca średnią wartość dla wnętrza zbioru danych. -TTEST = TEST.T ## Zwraca prawdopodobieństwo związane z testem t-Studenta. -VAR = WARIANCJA ## Szacuje wariancję na podstawie próbki. -VARA = WARIANCJA.A ## Szacuje wariancję na podstawie próbki, z uwzględnieniem liczb, tekstów i wartości logicznych. -VARP = WARIANCJA.POPUL ## Oblicza wariancję na podstawie całej populacji. -VARPA = WARIANCJA.POPUL.A ## Oblicza wariancję na podstawie całej populacji, z uwzględnieniem liczb, tekstów i wartości logicznych. -WEIBULL = ROZKŁAD.WEIBULL ## Zwraca rozkład Weibulla. -ZTEST = TEST.Z ## Zwraca wartość jednostronnego prawdopodobieństwa testu z. - - -## -## Text functions Funkcje tekstowe -## -ASC = ASC ## Zamienia litery angielskie lub katakana o pełnej szerokości (dwubajtowe) w ciągu znaków na znaki o szerokości połówkowej (jednobajtowe). -BAHTTEXT = BAHTTEXT ## Konwertuje liczbę na tekst, stosując format walutowy ß (baht). -CHAR = ZNAK ## Zwraca znak o podanym numerze kodu. -CLEAN = OCZYŚĆ ## Usuwa z tekstu wszystkie znaki, które nie mogą być drukowane. -CODE = KOD ## Zwraca kod numeryczny pierwszego znaku w ciągu tekstowym. -CONCATENATE = ZŁĄCZ.TEKSTY ## Łączy kilka oddzielnych tekstów w jeden tekst. -DOLLAR = KWOTA ## Konwertuje liczbę na tekst, stosując format walutowy $ (dolar). -EXACT = PORÓWNAJ ## Sprawdza identyczność dwóch wartości tekstowych. -FIND = ZNAJDŹ ## Znajduje jedną wartość tekstową wewnątrz innej (z uwzględnieniem wielkich i małych liter). -FINDB = ZNAJDŹB ## Znajduje jedną wartość tekstową wewnątrz innej (z uwzględnieniem wielkich i małych liter). -FIXED = ZAOKR.DO.TEKST ## Formatuje liczbę jako tekst przy stałej liczbie miejsc dziesiętnych. -JIS = JIS ## Zmienia litery angielskie lub katakana o szerokości połówkowej (jednobajtowe) w ciągu znaków na znaki o pełnej szerokości (dwubajtowe). -LEFT = LEWY ## Zwraca skrajne lewe znaki z wartości tekstowej. -LEFTB = LEWYB ## Zwraca skrajne lewe znaki z wartości tekstowej. -LEN = DŁ ## Zwraca liczbę znaków ciągu tekstowego. -LENB = DŁ.B ## Zwraca liczbę znaków ciągu tekstowego. -LOWER = LITERY.MAŁE ## Konwertuje wielkie litery tekstu na małe litery. -MID = FRAGMENT.TEKSTU ## Zwraca określoną liczbę znaków z ciągu tekstowego, zaczynając od zadanej pozycji. -MIDB = FRAGMENT.TEKSTU.B ## Zwraca określoną liczbę znaków z ciągu tekstowego, zaczynając od zadanej pozycji. -PHONETIC = PHONETIC ## Wybiera znaki fonetyczne (furigana) z ciągu tekstowego. -PROPER = Z.WIELKIEJ.LITERY ## Zastępuje pierwszą literę każdego wyrazu tekstu wielką literą. -REPLACE = ZASTĄP ## Zastępuje znaki w tekście. -REPLACEB = ZASTĄP.B ## Zastępuje znaki w tekście. -REPT = POWT ## Powiela tekst daną liczbę razy. -RIGHT = PRAWY ## Zwraca skrajne prawe znaki z wartości tekstowej. -RIGHTB = PRAWYB ## Zwraca skrajne prawe znaki z wartości tekstowej. -SEARCH = SZUKAJ.TEKST ## Wyszukuje jedną wartość tekstową wewnątrz innej (bez uwzględniania wielkości liter). -SEARCHB = SZUKAJ.TEKST.B ## Wyszukuje jedną wartość tekstową wewnątrz innej (bez uwzględniania wielkości liter). -SUBSTITUTE = PODSTAW ## Podstawia nowy tekst w miejsce poprzedniego tekstu w ciągu tekstowym. -T = T ## Konwertuje argumenty na tekst. -TEXT = TEKST ## Formatuje liczbę i konwertuje ją na tekst. -TRIM = USUŃ.ZBĘDNE.ODSTĘPY ## Usuwa spacje z tekstu. -UPPER = LITERY.WIELKIE ## Konwertuje znaki tekstu na wielkie litery. -VALUE = WARTOŚĆ ## Konwertuje argument tekstowy na liczbę. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/config deleted file mode 100644 index 45b6fbd92..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = R$ - - -## -## Excel Error Codes (For future use) -## -NULL = #NULO! -DIV0 = #DIV/0! -VALUE = #VALOR! -REF = #REF! -NAME = #NOME? -NUM = #NÚM! -NA = #N/D diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/functions deleted file mode 100644 index f3ba3a352..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/functions +++ /dev/null @@ -1,408 +0,0 @@ -## -## Add-in and Automation functions Funções Suplemento e Automação -## -GETPIVOTDATA = INFODADOSTABELADINÂMICA ## Retorna os dados armazenados em um relatório de tabela dinâmica - - -## -## Cube functions Funções de Cubo -## -CUBEKPIMEMBER = MEMBROKPICUBO ## Retorna o nome de um KPI (indicador de desempenho-chave), uma propriedade e uma medida e exibe o nome e a propriedade na célula. Um KPI é uma medida quantificável, como o lucro bruto mensal ou a rotatividade trimestral dos funcionários, usada para monitorar o desempenho de uma organização. -CUBEMEMBER = MEMBROCUBO ## Retorna um membro ou tupla em uma hierarquia de cubo. Use para validar se o membro ou tupla existe no cubo. -CUBEMEMBERPROPERTY = PROPRIEDADEMEMBROCUBO ## Retorna o valor da propriedade de um membro no cubo. Usada para validar a existência do nome do membro no cubo e para retornar a propriedade especificada para esse membro. -CUBERANKEDMEMBER = MEMBROCLASSIFICADOCUBO ## Retorna o enésimo membro, ou o membro ordenado, em um conjunto. Use para retornar um ou mais elementos em um conjunto, assim como o melhor vendedor ou os dez melhores alunos. -CUBESET = CONJUNTOCUBO ## Define um conjunto calculado de membros ou tuplas enviando uma expressão do conjunto para o cubo no servidor, que cria o conjunto e o retorna para o Microsoft Office Excel. -CUBESETCOUNT = CONTAGEMCONJUNTOCUBO ## Retorna o número de itens em um conjunto. -CUBEVALUE = VALORCUBO ## Retorna um valor agregado de um cubo. - - -## -## Database functions Funções de banco de dados -## -DAVERAGE = BDMÉDIA ## Retorna a média das entradas selecionadas de um banco de dados -DCOUNT = BDCONTAR ## Conta as células que contêm números em um banco de dados -DCOUNTA = BDCONTARA ## Conta células não vazias em um banco de dados -DGET = BDEXTRAIR ## Extrai de um banco de dados um único registro que corresponde a um critério específico -DMAX = BDMÁX ## Retorna o valor máximo de entradas selecionadas de um banco de dados -DMIN = BDMÍN ## Retorna o valor mínimo de entradas selecionadas de um banco de dados -DPRODUCT = BDMULTIPL ## Multiplica os valores em um campo específico de registros que correspondem ao critério em um banco de dados -DSTDEV = BDEST ## Estima o desvio padrão com base em uma amostra de entradas selecionadas de um banco de dados -DSTDEVP = BDDESVPA ## Calcula o desvio padrão com base na população inteira de entradas selecionadas de um banco de dados -DSUM = BDSOMA ## Adiciona os números à coluna de campos de registros do banco de dados que correspondem ao critério -DVAR = BDVAREST ## Estima a variância com base em uma amostra de entradas selecionadas de um banco de dados -DVARP = BDVARP ## Calcula a variância com base na população inteira de entradas selecionadas de um banco de dados - - -## -## Date and time functions Funções de data e hora -## -DATE = DATA ## Retorna o número de série de uma data específica -DATEVALUE = DATA.VALOR ## Converte uma data na forma de texto para um número de série -DAY = DIA ## Converte um número de série em um dia do mês -DAYS360 = DIAS360 ## Calcula o número de dias entre duas datas com base em um ano de 360 dias -EDATE = DATAM ## Retorna o número de série da data que é o número indicado de meses antes ou depois da data inicial -EOMONTH = FIMMÊS ## Retorna o número de série do último dia do mês antes ou depois de um número especificado de meses -HOUR = HORA ## Converte um número de série em uma hora -MINUTE = MINUTO ## Converte um número de série em um minuto -MONTH = MÊS ## Converte um número de série em um mês -NETWORKDAYS = DIATRABALHOTOTAL ## Retorna o número de dias úteis inteiros entre duas datas -NOW = AGORA ## Retorna o número de série seqüencial da data e hora atuais -SECOND = SEGUNDO ## Converte um número de série em um segundo -TIME = HORA ## Retorna o número de série de uma hora específica -TIMEVALUE = VALOR.TEMPO ## Converte um horário na forma de texto para um número de série -TODAY = HOJE ## Retorna o número de série da data de hoje -WEEKDAY = DIA.DA.SEMANA ## Converte um número de série em um dia da semana -WEEKNUM = NÚMSEMANA ## Converte um número de série em um número que representa onde a semana cai numericamente em um ano -WORKDAY = DIATRABALHO ## Retorna o número de série da data antes ou depois de um número específico de dias úteis -YEAR = ANO ## Converte um número de série em um ano -YEARFRAC = FRAÇÃOANO ## Retorna a fração do ano que representa o número de dias entre data_inicial e data_final - - -## -## Engineering functions Funções de engenharia -## -BESSELI = BESSELI ## Retorna a função de Bessel In(x) modificada -BESSELJ = BESSELJ ## Retorna a função de Bessel Jn(x) -BESSELK = BESSELK ## Retorna a função de Bessel Kn(x) modificada -BESSELY = BESSELY ## Retorna a função de Bessel Yn(x) -BIN2DEC = BIN2DEC ## Converte um número binário em decimal -BIN2HEX = BIN2HEX ## Converte um número binário em hexadecimal -BIN2OCT = BIN2OCT ## Converte um número binário em octal -COMPLEX = COMPLEX ## Converte coeficientes reais e imaginários e um número complexo -CONVERT = CONVERTER ## Converte um número de um sistema de medida para outro -DEC2BIN = DECABIN ## Converte um número decimal em binário -DEC2HEX = DECAHEX ## Converte um número decimal em hexadecimal -DEC2OCT = DECAOCT ## Converte um número decimal em octal -DELTA = DELTA ## Testa se dois valores são iguais -ERF = FUNERRO ## Retorna a função de erro -ERFC = FUNERROCOMPL ## Retorna a função de erro complementar -GESTEP = DEGRAU ## Testa se um número é maior do que um valor limite -HEX2BIN = HEXABIN ## Converte um número hexadecimal em binário -HEX2DEC = HEXADEC ## Converte um número hexadecimal em decimal -HEX2OCT = HEXAOCT ## Converte um número hexadecimal em octal -IMABS = IMABS ## Retorna o valor absoluto (módulo) de um número complexo -IMAGINARY = IMAGINÁRIO ## Retorna o coeficiente imaginário de um número complexo -IMARGUMENT = IMARG ## Retorna o argumento teta, um ângulo expresso em radianos -IMCONJUGATE = IMCONJ ## Retorna o conjugado complexo de um número complexo -IMCOS = IMCOS ## Retorna o cosseno de um número complexo -IMDIV = IMDIV ## Retorna o quociente de dois números complexos -IMEXP = IMEXP ## Retorna o exponencial de um número complexo -IMLN = IMLN ## Retorna o logaritmo natural de um número complexo -IMLOG10 = IMLOG10 ## Retorna o logaritmo de base 10 de um número complexo -IMLOG2 = IMLOG2 ## Retorna o logaritmo de base 2 de um número complexo -IMPOWER = IMPOT ## Retorna um número complexo elevado a uma potência inteira -IMPRODUCT = IMPROD ## Retorna o produto de números complexos -IMREAL = IMREAL ## Retorna o coeficiente real de um número complexo -IMSIN = IMSENO ## Retorna o seno de um número complexo -IMSQRT = IMRAIZ ## Retorna a raiz quadrada de um número complexo -IMSUB = IMSUBTR ## Retorna a diferença entre dois números complexos -IMSUM = IMSOMA ## Retorna a soma de números complexos -OCT2BIN = OCTABIN ## Converte um número octal em binário -OCT2DEC = OCTADEC ## Converte um número octal em decimal -OCT2HEX = OCTAHEX ## Converte um número octal em hexadecimal - - -## -## Financial functions Funções financeiras -## -ACCRINT = JUROSACUM ## Retorna a taxa de juros acumulados de um título que paga uma taxa periódica de juros -ACCRINTM = JUROSACUMV ## Retorna os juros acumulados de um título que paga juros no vencimento -AMORDEGRC = AMORDEGRC ## Retorna a depreciação para cada período contábil usando o coeficiente de depreciação -AMORLINC = AMORLINC ## Retorna a depreciação para cada período contábil -COUPDAYBS = CUPDIASINLIQ ## Retorna o número de dias do início do período de cupom até a data de liquidação -COUPDAYS = CUPDIAS ## Retorna o número de dias no período de cupom que contém a data de quitação -COUPDAYSNC = CUPDIASPRÓX ## Retorna o número de dias da data de liquidação até a data do próximo cupom -COUPNCD = CUPDATAPRÓX ## Retorna a próxima data de cupom após a data de quitação -COUPNUM = CUPNÚM ## Retorna o número de cupons pagáveis entre as datas de quitação e vencimento -COUPPCD = CUPDATAANT ## Retorna a data de cupom anterior à data de quitação -CUMIPMT = PGTOJURACUM ## Retorna os juros acumulados pagos entre dois períodos -CUMPRINC = PGTOCAPACUM ## Retorna o capital acumulado pago sobre um empréstimo entre dois períodos -DB = BD ## Retorna a depreciação de um ativo para um período especificado, usando o método de balanço de declínio fixo -DDB = BDD ## Retorna a depreciação de um ativo com relação a um período especificado usando o método de saldos decrescentes duplos ou qualquer outro método especificado por você -DISC = DESC ## Retorna a taxa de desconto de um título -DOLLARDE = MOEDADEC ## Converte um preço em formato de moeda, na forma fracionária, em um preço na forma decimal -DOLLARFR = MOEDAFRA ## Converte um preço, apresentado na forma decimal, em um preço apresentado na forma fracionária -DURATION = DURAÇÃO ## Retorna a duração anual de um título com pagamentos de juros periódicos -EFFECT = EFETIVA ## Retorna a taxa de juros anual efetiva -FV = VF ## Retorna o valor futuro de um investimento -FVSCHEDULE = VFPLANO ## Retorna o valor futuro de um capital inicial após a aplicação de uma série de taxas de juros compostas -INTRATE = TAXAJUROS ## Retorna a taxa de juros de um título totalmente investido -IPMT = IPGTO ## Retorna o pagamento de juros para um investimento em um determinado período -IRR = TIR ## Retorna a taxa interna de retorno de uma série de fluxos de caixa -ISPMT = ÉPGTO ## Calcula os juros pagos durante um período específico de um investimento -MDURATION = MDURAÇÃO ## Retorna a duração de Macauley modificada para um título com um valor de paridade equivalente a R$ 100 -MIRR = MTIR ## Calcula a taxa interna de retorno em que fluxos de caixa positivos e negativos são financiados com diferentes taxas -NOMINAL = NOMINAL ## Retorna a taxa de juros nominal anual -NPER = NPER ## Retorna o número de períodos de um investimento -NPV = VPL ## Retorna o valor líquido atual de um investimento com base em uma série de fluxos de caixa periódicos e em uma taxa de desconto -ODDFPRICE = PREÇOPRIMINC ## Retorna o preço por R$ 100 de valor nominal de um título com um primeiro período indefinido -ODDFYIELD = LUCROPRIMINC ## Retorna o rendimento de um título com um primeiro período indefinido -ODDLPRICE = PREÇOÚLTINC ## Retorna o preço por R$ 100 de valor nominal de um título com um último período de cupom indefinido -ODDLYIELD = LUCROÚLTINC ## Retorna o rendimento de um título com um último período indefinido -PMT = PGTO ## Retorna o pagamento periódico de uma anuidade -PPMT = PPGTO ## Retorna o pagamento de capital para determinado período de investimento -PRICE = PREÇO ## Retorna a preço por R$ 100,00 de valor nominal de um título que paga juros periódicos -PRICEDISC = PREÇODESC ## Retorna o preço por R$ 100,00 de valor nominal de um título descontado -PRICEMAT = PREÇOVENC ## Retorna o preço por R$ 100,00 de valor nominal de um título que paga juros no vencimento -PV = VP ## Retorna o valor presente de um investimento -RATE = TAXA ## Retorna a taxa de juros por período de uma anuidade -RECEIVED = RECEBER ## Retorna a quantia recebida no vencimento de um título totalmente investido -SLN = DPD ## Retorna a depreciação em linha reta de um ativo durante um período -SYD = SDA ## Retorna a depreciação dos dígitos da soma dos anos de um ativo para um período especificado -TBILLEQ = OTN ## Retorna o rendimento de um título equivalente a uma obrigação do Tesouro -TBILLPRICE = OTNVALOR ## Retorna o preço por R$ 100,00 de valor nominal de uma obrigação do Tesouro -TBILLYIELD = OTNLUCRO ## Retorna o rendimento de uma obrigação do Tesouro -VDB = BDV ## Retorna a depreciação de um ativo para um período especificado ou parcial usando um método de balanço declinante -XIRR = XTIR ## Fornece a taxa interna de retorno para um programa de fluxos de caixa que não é necessariamente periódico -XNPV = XVPL ## Retorna o valor presente líquido de um programa de fluxos de caixa que não é necessariamente periódico -YIELD = LUCRO ## Retorna o lucro de um título que paga juros periódicos -YIELDDISC = LUCRODESC ## Retorna o rendimento anual de um título descontado. Por exemplo, uma obrigação do Tesouro -YIELDMAT = LUCROVENC ## Retorna o lucro anual de um título que paga juros no vencimento - - -## -## Information functions Funções de informação -## -CELL = CÉL ## Retorna informações sobre formatação, localização ou conteúdo de uma célula -ERROR.TYPE = TIPO.ERRO ## Retorna um número correspondente a um tipo de erro -INFO = INFORMAÇÃO ## Retorna informações sobre o ambiente operacional atual -ISBLANK = ÉCÉL.VAZIA ## Retorna VERDADEIRO se o valor for vazio -ISERR = ÉERRO ## Retorna VERDADEIRO se o valor for um valor de erro diferente de #N/D -ISERROR = ÉERROS ## Retorna VERDADEIRO se o valor for um valor de erro -ISEVEN = ÉPAR ## Retorna VERDADEIRO se o número for par -ISLOGICAL = ÉLÓGICO ## Retorna VERDADEIRO se o valor for um valor lógico -ISNA = É.NÃO.DISP ## Retorna VERDADEIRO se o valor for o valor de erro #N/D -ISNONTEXT = É.NÃO.TEXTO ## Retorna VERDADEIRO se o valor for diferente de texto -ISNUMBER = ÉNÚM ## Retorna VERDADEIRO se o valor for um número -ISODD = ÉIMPAR ## Retorna VERDADEIRO se o número for ímpar -ISREF = ÉREF ## Retorna VERDADEIRO se o valor for uma referência -ISTEXT = ÉTEXTO ## Retorna VERDADEIRO se o valor for texto -N = N ## Retorna um valor convertido em um número -NA = NÃO.DISP ## Retorna o valor de erro #N/D -TYPE = TIPO ## Retorna um número indicando o tipo de dados de um valor - - -## -## Logical functions Funções lógicas -## -AND = E ## Retorna VERDADEIRO se todos os seus argumentos forem VERDADEIROS -FALSE = FALSO ## Retorna o valor lógico FALSO -IF = SE ## Especifica um teste lógico a ser executado -IFERROR = SEERRO ## Retornará um valor que você especifica se uma fórmula for avaliada para um erro; do contrário, retornará o resultado da fórmula -NOT = NÃO ## Inverte o valor lógico do argumento -OR = OU ## Retorna VERDADEIRO se um dos argumentos for VERDADEIRO -TRUE = VERDADEIRO ## Retorna o valor lógico VERDADEIRO - - -## -## Lookup and reference functions Funções de pesquisa e referência -## -ADDRESS = ENDEREÇO ## Retorna uma referência como texto para uma única célula em uma planilha -AREAS = ÁREAS ## Retorna o número de áreas em uma referência -CHOOSE = ESCOLHER ## Escolhe um valor a partir de uma lista de valores -COLUMN = COL ## Retorna o número da coluna de uma referência -COLUMNS = COLS ## Retorna o número de colunas em uma referência -HLOOKUP = PROCH ## Procura na linha superior de uma matriz e retorna o valor da célula especificada -HYPERLINK = HYPERLINK ## Cria um atalho ou salto que abre um documento armazenado em um servidor de rede, uma intranet ou na Internet -INDEX = ÍNDICE ## Usa um índice para escolher um valor de uma referência ou matriz -INDIRECT = INDIRETO ## Retorna uma referência indicada por um valor de texto -LOOKUP = PROC ## Procura valores em um vetor ou em uma matriz -MATCH = CORRESP ## Procura valores em uma referência ou em uma matriz -OFFSET = DESLOC ## Retorna um deslocamento de referência com base em uma determinada referência -ROW = LIN ## Retorna o número da linha de uma referência -ROWS = LINS ## Retorna o número de linhas em uma referência -RTD = RTD ## Recupera dados em tempo real de um programa que ofereça suporte a automação COM (automação: uma forma de trabalhar com objetos de um aplicativo a partir de outro aplicativo ou ferramenta de desenvolvimento. Chamada inicialmente de automação OLE, a automação é um padrão industrial e um recurso do modelo de objeto componente (COM).) -TRANSPOSE = TRANSPOR ## Retorna a transposição de uma matriz -VLOOKUP = PROCV ## Procura na primeira coluna de uma matriz e move ao longo da linha para retornar o valor de uma célula - - -## -## Math and trigonometry functions Funções matemáticas e trigonométricas -## -ABS = ABS ## Retorna o valor absoluto de um número -ACOS = ACOS ## Retorna o arco cosseno de um número -ACOSH = ACOSH ## Retorna o cosseno hiperbólico inverso de um número -ASIN = ASEN ## Retorna o arco seno de um número -ASINH = ASENH ## Retorna o seno hiperbólico inverso de um número -ATAN = ATAN ## Retorna o arco tangente de um número -ATAN2 = ATAN2 ## Retorna o arco tangente das coordenadas x e y especificadas -ATANH = ATANH ## Retorna a tangente hiperbólica inversa de um número -CEILING = TETO ## Arredonda um número para o inteiro mais próximo ou para o múltiplo mais próximo de significância -COMBIN = COMBIN ## Retorna o número de combinações de um determinado número de objetos -COS = COS ## Retorna o cosseno de um número -COSH = COSH ## Retorna o cosseno hiperbólico de um número -DEGREES = GRAUS ## Converte radianos em graus -EVEN = PAR ## Arredonda um número para cima até o inteiro par mais próximo -EXP = EXP ## Retorna e elevado à potência de um número especificado -FACT = FATORIAL ## Retorna o fatorial de um número -FACTDOUBLE = FATDUPLO ## Retorna o fatorial duplo de um número -FLOOR = ARREDMULTB ## Arredonda um número para baixo até zero -GCD = MDC ## Retorna o máximo divisor comum -INT = INT ## Arredonda um número para baixo até o número inteiro mais próximo -LCM = MMC ## Retorna o mínimo múltiplo comum -LN = LN ## Retorna o logaritmo natural de um número -LOG = LOG ## Retorna o logaritmo de um número de uma base especificada -LOG10 = LOG10 ## Retorna o logaritmo de base 10 de um número -MDETERM = MATRIZ.DETERM ## Retorna o determinante de uma matriz de uma variável do tipo matriz -MINVERSE = MATRIZ.INVERSO ## Retorna a matriz inversa de uma matriz -MMULT = MATRIZ.MULT ## Retorna o produto de duas matrizes -MOD = RESTO ## Retorna o resto da divisão -MROUND = MARRED ## Retorna um número arredondado ao múltiplo desejado -MULTINOMIAL = MULTINOMIAL ## Retorna o multinomial de um conjunto de números -ODD = ÍMPAR ## Arredonda um número para cima até o inteiro ímpar mais próximo -PI = PI ## Retorna o valor de Pi -POWER = POTÊNCIA ## Fornece o resultado de um número elevado a uma potência -PRODUCT = MULT ## Multiplica seus argumentos -QUOTIENT = QUOCIENTE ## Retorna a parte inteira de uma divisão -RADIANS = RADIANOS ## Converte graus em radianos -RAND = ALEATÓRIO ## Retorna um número aleatório entre 0 e 1 -RANDBETWEEN = ALEATÓRIOENTRE ## Retorna um número aleatório entre os números especificados -ROMAN = ROMANO ## Converte um algarismo arábico em romano, como texto -ROUND = ARRED ## Arredonda um número até uma quantidade especificada de dígitos -ROUNDDOWN = ARREDONDAR.PARA.BAIXO ## Arredonda um número para baixo até zero -ROUNDUP = ARREDONDAR.PARA.CIMA ## Arredonda um número para cima, afastando-o de zero -SERIESSUM = SOMASEQÜÊNCIA ## Retorna a soma de uma série polinomial baseada na fórmula -SIGN = SINAL ## Retorna o sinal de um número -SIN = SEN ## Retorna o seno de um ângulo dado -SINH = SENH ## Retorna o seno hiperbólico de um número -SQRT = RAIZ ## Retorna uma raiz quadrada positiva -SQRTPI = RAIZPI ## Retorna a raiz quadrada de (núm* pi) -SUBTOTAL = SUBTOTAL ## Retorna um subtotal em uma lista ou em um banco de dados -SUM = SOMA ## Soma seus argumentos -SUMIF = SOMASE ## Adiciona as células especificadas por um determinado critério -SUMIFS = SOMASE ## Adiciona as células em um intervalo que atende a vários critérios -SUMPRODUCT = SOMARPRODUTO ## Retorna a soma dos produtos de componentes correspondentes de matrizes -SUMSQ = SOMAQUAD ## Retorna a soma dos quadrados dos argumentos -SUMX2MY2 = SOMAX2DY2 ## Retorna a soma da diferença dos quadrados dos valores correspondentes em duas matrizes -SUMX2PY2 = SOMAX2SY2 ## Retorna a soma da soma dos quadrados dos valores correspondentes em duas matrizes -SUMXMY2 = SOMAXMY2 ## Retorna a soma dos quadrados das diferenças dos valores correspondentes em duas matrizes -TAN = TAN ## Retorna a tangente de um número -TANH = TANH ## Retorna a tangente hiperbólica de um número -TRUNC = TRUNCAR ## Trunca um número para um inteiro - - -## -## Statistical functions Funções estatísticas -## -AVEDEV = DESV.MÉDIO ## Retorna a média aritmética dos desvios médios dos pontos de dados a partir de sua média -AVERAGE = MÉDIA ## Retorna a média dos argumentos -AVERAGEA = MÉDIAA ## Retorna a média dos argumentos, inclusive números, texto e valores lógicos -AVERAGEIF = MÉDIASE ## Retorna a média (média aritmética) de todas as células em um intervalo que atendem a um determinado critério -AVERAGEIFS = MÉDIASES ## Retorna a média (média aritmética) de todas as células que atendem a múltiplos critérios. -BETADIST = DISTBETA ## Retorna a função de distribuição cumulativa beta -BETAINV = BETA.ACUM.INV ## Retorna o inverso da função de distribuição cumulativa para uma distribuição beta especificada -BINOMDIST = DISTRBINOM ## Retorna a probabilidade de distribuição binomial do termo individual -CHIDIST = DIST.QUI ## Retorna a probabilidade unicaudal da distribuição qui-quadrada -CHIINV = INV.QUI ## Retorna o inverso da probabilidade uni-caudal da distribuição qui-quadrada -CHITEST = TESTE.QUI ## Retorna o teste para independência -CONFIDENCE = INT.CONFIANÇA ## Retorna o intervalo de confiança para uma média da população -CORREL = CORREL ## Retorna o coeficiente de correlação entre dois conjuntos de dados -COUNT = CONT.NÚM ## Calcula quantos números há na lista de argumentos -COUNTA = CONT.VALORES ## Calcula quantos valores há na lista de argumentos -COUNTBLANK = CONTAR.VAZIO ## Conta o número de células vazias no intervalo especificado -COUNTIF = CONT.SE ## Calcula o número de células não vazias em um intervalo que corresponde a determinados critérios -COUNTIFS = CONT.SES ## Conta o número de células dentro de um intervalo que atende a múltiplos critérios -COVAR = COVAR ## Retorna a covariância, a média dos produtos dos desvios pares -CRITBINOM = CRIT.BINOM ## Retorna o menor valor para o qual a distribuição binomial cumulativa é menor ou igual ao valor padrão -DEVSQ = DESVQ ## Retorna a soma dos quadrados dos desvios -EXPONDIST = DISTEXPON ## Retorna a distribuição exponencial -FDIST = DISTF ## Retorna a distribuição de probabilidade F -FINV = INVF ## Retorna o inverso da distribuição de probabilidades F -FISHER = FISHER ## Retorna a transformação Fisher -FISHERINV = FISHERINV ## Retorna o inverso da transformação Fisher -FORECAST = PREVISÃO ## Retorna um valor ao longo de uma linha reta -FREQUENCY = FREQÜÊNCIA ## Retorna uma distribuição de freqüência como uma matriz vertical -FTEST = TESTEF ## Retorna o resultado de um teste F -GAMMADIST = DISTGAMA ## Retorna a distribuição gama -GAMMAINV = INVGAMA ## Retorna o inverso da distribuição cumulativa gama -GAMMALN = LNGAMA ## Retorna o logaritmo natural da função gama, G(x) -GEOMEAN = MÉDIA.GEOMÉTRICA ## Retorna a média geométrica -GROWTH = CRESCIMENTO ## Retorna valores ao longo de uma tendência exponencial -HARMEAN = MÉDIA.HARMÔNICA ## Retorna a média harmônica -HYPGEOMDIST = DIST.HIPERGEOM ## Retorna a distribuição hipergeométrica -INTERCEPT = INTERCEPÇÃO ## Retorna a intercepção da linha de regressão linear -KURT = CURT ## Retorna a curtose de um conjunto de dados -LARGE = MAIOR ## Retorna o maior valor k-ésimo de um conjunto de dados -LINEST = PROJ.LIN ## Retorna os parâmetros de uma tendência linear -LOGEST = PROJ.LOG ## Retorna os parâmetros de uma tendência exponencial -LOGINV = INVLOG ## Retorna o inverso da distribuição lognormal -LOGNORMDIST = DIST.LOGNORMAL ## Retorna a distribuição lognormal cumulativa -MAX = MÁXIMO ## Retorna o valor máximo em uma lista de argumentos -MAXA = MÁXIMOA ## Retorna o maior valor em uma lista de argumentos, inclusive números, texto e valores lógicos -MEDIAN = MED ## Retorna a mediana dos números indicados -MIN = MÍNIMO ## Retorna o valor mínimo em uma lista de argumentos -MINA = MÍNIMOA ## Retorna o menor valor em uma lista de argumentos, inclusive números, texto e valores lógicos -MODE = MODO ## Retorna o valor mais comum em um conjunto de dados -NEGBINOMDIST = DIST.BIN.NEG ## Retorna a distribuição binomial negativa -NORMDIST = DIST.NORM ## Retorna a distribuição cumulativa normal -NORMINV = INV.NORM ## Retorna o inverso da distribuição cumulativa normal -NORMSDIST = DIST.NORMP ## Retorna a distribuição cumulativa normal padrão -NORMSINV = INV.NORMP ## Retorna o inverso da distribuição cumulativa normal padrão -PEARSON = PEARSON ## Retorna o coeficiente de correlação do momento do produto Pearson -PERCENTILE = PERCENTIL ## Retorna o k-ésimo percentil de valores em um intervalo -PERCENTRANK = ORDEM.PORCENTUAL ## Retorna a ordem percentual de um valor em um conjunto de dados -PERMUT = PERMUT ## Retorna o número de permutações de um determinado número de objetos -POISSON = POISSON ## Retorna a distribuição Poisson -PROB = PROB ## Retorna a probabilidade de valores em um intervalo estarem entre dois limites -QUARTILE = QUARTIL ## Retorna o quartil do conjunto de dados -RANK = ORDEM ## Retorna a posição de um número em uma lista de números -RSQ = RQUAD ## Retorna o quadrado do coeficiente de correlação do momento do produto de Pearson -SKEW = DISTORÇÃO ## Retorna a distorção de uma distribuição -SLOPE = INCLINAÇÃO ## Retorna a inclinação da linha de regressão linear -SMALL = MENOR ## Retorna o menor valor k-ésimo do conjunto de dados -STANDARDIZE = PADRONIZAR ## Retorna um valor normalizado -STDEV = DESVPAD ## Estima o desvio padrão com base em uma amostra -STDEVA = DESVPADA ## Estima o desvio padrão com base em uma amostra, inclusive números, texto e valores lógicos -STDEVP = DESVPADP ## Calcula o desvio padrão com base na população total -STDEVPA = DESVPADPA ## Calcula o desvio padrão com base na população total, inclusive números, texto e valores lógicos -STEYX = EPADYX ## Retorna o erro padrão do valor-y previsto para cada x da regressão -TDIST = DISTT ## Retorna a distribuição t de Student -TINV = INVT ## Retorna o inverso da distribuição t de Student -TREND = TENDÊNCIA ## Retorna valores ao longo de uma tendência linear -TRIMMEAN = MÉDIA.INTERNA ## Retorna a média do interior de um conjunto de dados -TTEST = TESTET ## Retorna a probabilidade associada ao teste t de Student -VAR = VAR ## Estima a variância com base em uma amostra -VARA = VARA ## Estima a variância com base em uma amostra, inclusive números, texto e valores lógicos -VARP = VARP ## Calcula a variância com base na população inteira -VARPA = VARPA ## Calcula a variância com base na população total, inclusive números, texto e valores lógicos -WEIBULL = WEIBULL ## Retorna a distribuição Weibull -ZTEST = TESTEZ ## Retorna o valor de probabilidade uni-caudal de um teste-z - - -## -## Text functions Funções de texto -## -ASC = ASC ## Altera letras do inglês ou katakana de largura total (bytes duplos) dentro de uma seqüência de caracteres para caracteres de meia largura (byte único) -BAHTTEXT = BAHTTEXT ## Converte um número em um texto, usando o formato de moeda ß (baht) -CHAR = CARACT ## Retorna o caractere especificado pelo número de código -CLEAN = TIRAR ## Remove todos os caracteres do texto que não podem ser impressos -CODE = CÓDIGO ## Retorna um código numérico para o primeiro caractere de uma seqüência de caracteres de texto -CONCATENATE = CONCATENAR ## Agrupa vários itens de texto em um único item de texto -DOLLAR = MOEDA ## Converte um número em texto, usando o formato de moeda $ (dólar) -EXACT = EXATO ## Verifica se dois valores de texto são idênticos -FIND = PROCURAR ## Procura um valor de texto dentro de outro (diferencia maiúsculas de minúsculas) -FINDB = PROCURARB ## Procura um valor de texto dentro de outro (diferencia maiúsculas de minúsculas) -FIXED = DEF.NÚM.DEC ## Formata um número como texto com um número fixo de decimais -JIS = JIS ## Altera letras do inglês ou katakana de meia largura (byte único) dentro de uma seqüência de caracteres para caracteres de largura total (bytes duplos) -LEFT = ESQUERDA ## Retorna os caracteres mais à esquerda de um valor de texto -LEFTB = ESQUERDAB ## Retorna os caracteres mais à esquerda de um valor de texto -LEN = NÚM.CARACT ## Retorna o número de caracteres em uma seqüência de texto -LENB = NÚM.CARACTB ## Retorna o número de caracteres em uma seqüência de texto -LOWER = MINÚSCULA ## Converte texto para minúsculas -MID = EXT.TEXTO ## Retorna um número específico de caracteres de uma seqüência de texto começando na posição especificada -MIDB = EXT.TEXTOB ## Retorna um número específico de caracteres de uma seqüência de texto começando na posição especificada -PHONETIC = FONÉTICA ## Extrai os caracteres fonéticos (furigana) de uma seqüência de caracteres de texto -PROPER = PRI.MAIÚSCULA ## Coloca a primeira letra de cada palavra em maiúscula em um valor de texto -REPLACE = MUDAR ## Muda os caracteres dentro do texto -REPLACEB = MUDARB ## Muda os caracteres dentro do texto -REPT = REPT ## Repete o texto um determinado número de vezes -RIGHT = DIREITA ## Retorna os caracteres mais à direita de um valor de texto -RIGHTB = DIREITAB ## Retorna os caracteres mais à direita de um valor de texto -SEARCH = LOCALIZAR ## Localiza um valor de texto dentro de outro (não diferencia maiúsculas de minúsculas) -SEARCHB = LOCALIZARB ## Localiza um valor de texto dentro de outro (não diferencia maiúsculas de minúsculas) -SUBSTITUTE = SUBSTITUIR ## Substitui um novo texto por um texto antigo em uma seqüência de texto -T = T ## Converte os argumentos em texto -TEXT = TEXTO ## Formata um número e o converte em texto -TRIM = ARRUMAR ## Remove espaços do texto -UPPER = MAIÚSCULA ## Converte o texto em maiúsculas -VALUE = VALOR ## Converte um argumento de texto em um número diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/br/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/config deleted file mode 100644 index 8bb8d8b8e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = € - - -## -## Excel Error Codes (For future use) -## -NULL = #NULO! -DIV0 = #DIV/0! -VALUE = #VALOR! -REF = #REF! -NAME = #NOME? -NUM = #NÚM! -NA = #N/D diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/functions deleted file mode 100644 index 7fe9e3b58..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/functions +++ /dev/null @@ -1,408 +0,0 @@ -## -## Add-in and Automation functions Funções de Suplemento e Automatização -## -GETPIVOTDATA = OBTERDADOSDIN ## Devolve dados armazenados num relatório de Tabela Dinâmica - - -## -## Cube functions Funções de cubo -## -CUBEKPIMEMBER = MEMBROKPICUBO ## Devolve o nome, propriedade e medição de um KPI (key performance indicator) e apresenta o nome e a propriedade na célula. Um KPI é uma medida quantificável, como, por exemplo, o lucro mensal bruto ou a rotatividade trimestral de pessoal, utilizada para monitorizar o desempenho de uma organização. -CUBEMEMBER = MEMBROCUBO ## Devolve um membro ou cadeia de identificação numa hierarquia de cubo. Utilizada para validar a existência do membro ou cadeia de identificação no cubo. -CUBEMEMBERPROPERTY = PROPRIEDADEMEMBROCUBO ## Devolve o valor de uma propriedade de membro no cubo. Utilizada para validar a existência de um nome de membro no cubo e para devolver a propriedade especificada para esse membro. -CUBERANKEDMEMBER = MEMBROCLASSIFICADOCUBO ## Devolve o enésimo ou a classificação mais alta num conjunto. Utilizada para devolver um ou mais elementos num conjunto, tal como o melhor vendedor ou os 10 melhores alunos. -CUBESET = CONJUNTOCUBO ## Define um conjunto calculado de membros ou cadeias de identificação enviando uma expressão de conjunto para o cubo no servidor, que cria o conjunto e, em seguida, devolve o conjunto ao Microsoft Office Excel. -CUBESETCOUNT = CONTARCONJUNTOCUBO ## Devolve o número de itens num conjunto. -CUBEVALUE = VALORCUBO ## Devolve um valor agregado do cubo. - - -## -## Database functions Funções de base de dados -## -DAVERAGE = BDMÉDIA ## Devolve a média das entradas da base de dados seleccionadas -DCOUNT = BDCONTAR ## Conta as células que contêm números numa base de dados -DCOUNTA = BDCONTAR.VAL ## Conta as células que não estejam em branco numa base de dados -DGET = BDOBTER ## Extrai de uma base de dados um único registo que corresponde aos critérios especificados -DMAX = BDMÁX ## Devolve o valor máximo das entradas da base de dados seleccionadas -DMIN = BDMÍN ## Devolve o valor mínimo das entradas da base de dados seleccionadas -DPRODUCT = BDMULTIPL ## Multiplica os valores de um determinado campo de registos que correspondem aos critérios numa base de dados -DSTDEV = BDDESVPAD ## Calcula o desvio-padrão com base numa amostra de entradas da base de dados seleccionadas -DSTDEVP = BDDESVPADP ## Calcula o desvio-padrão com base na população total das entradas da base de dados seleccionadas -DSUM = BDSOMA ## Adiciona os números na coluna de campo dos registos de base de dados que correspondem aos critérios -DVAR = BDVAR ## Calcula a variância com base numa amostra das entradas de base de dados seleccionadas -DVARP = BDVARP ## Calcula a variância com base na população total das entradas de base de dados seleccionadas - - -## -## Date and time functions Funções de data e hora -## -DATE = DATA ## Devolve o número de série de uma determinada data -DATEVALUE = DATA.VALOR ## Converte uma data em forma de texto num número de série -DAY = DIA ## Converte um número de série num dia do mês -DAYS360 = DIAS360 ## Calcula o número de dias entre duas datas com base num ano com 360 dias -EDATE = DATAM ## Devolve um número de série de data que corresponde ao número de meses indicado antes ou depois da data de início -EOMONTH = FIMMÊS ## Devolve o número de série do último dia do mês antes ou depois de um número de meses especificado -HOUR = HORA ## Converte um número de série numa hora -MINUTE = MINUTO ## Converte um número de série num minuto -MONTH = MÊS ## Converte um número de série num mês -NETWORKDAYS = DIATRABALHOTOTAL ## Devolve o número total de dias úteis entre duas datas -NOW = AGORA ## Devolve o número de série da data e hora actuais -SECOND = SEGUNDO ## Converte um número de série num segundo -TIME = TEMPO ## Devolve o número de série de um determinado tempo -TIMEVALUE = VALOR.TEMPO ## Converte um tempo em forma de texto num número de série -TODAY = HOJE ## Devolve o número de série da data actual -WEEKDAY = DIA.SEMANA ## Converte um número de série num dia da semana -WEEKNUM = NÚMSEMANA ## Converte um número de série num número que representa o número da semana num determinado ano -WORKDAY = DIA.TRABALHO ## Devolve o número de série da data antes ou depois de um número de dias úteis especificado -YEAR = ANO ## Converte um número de série num ano -YEARFRAC = FRACÇÃOANO ## Devolve a fracção de ano que representa o número de dias inteiros entre a data_de_início e a data_de_fim - - -## -## Engineering functions Funções de engenharia -## -BESSELI = BESSELI ## Devolve a função de Bessel modificada In(x) -BESSELJ = BESSELJ ## Devolve a função de Bessel Jn(x) -BESSELK = BESSELK ## Devolve a função de Bessel modificada Kn(x) -BESSELY = BESSELY ## Devolve a função de Bessel Yn(x) -BIN2DEC = BINADEC ## Converte um número binário em decimal -BIN2HEX = BINAHEX ## Converte um número binário em hexadecimal -BIN2OCT = BINAOCT ## Converte um número binário em octal -COMPLEX = COMPLEXO ## Converte coeficientes reais e imaginários num número complexo -CONVERT = CONVERTER ## Converte um número de um sistema de medida noutro -DEC2BIN = DECABIN ## Converte um número decimal em binário -DEC2HEX = DECAHEX ## Converte um número decimal em hexadecimal -DEC2OCT = DECAOCT ## Converte um número decimal em octal -DELTA = DELTA ## Testa se dois valores são iguais -ERF = FUNCERRO ## Devolve a função de erro -ERFC = FUNCERROCOMPL ## Devolve a função de erro complementar -GESTEP = DEGRAU ## Testa se um número é maior do que um valor limite -HEX2BIN = HEXABIN ## Converte um número hexadecimal em binário -HEX2DEC = HEXADEC ## Converte um número hexadecimal em decimal -HEX2OCT = HEXAOCT ## Converte um número hexadecimal em octal -IMABS = IMABS ## Devolve o valor absoluto (módulo) de um número complexo -IMAGINARY = IMAGINÁRIO ## Devolve o coeficiente imaginário de um número complexo -IMARGUMENT = IMARG ## Devolve o argumento Teta, um ângulo expresso em radianos -IMCONJUGATE = IMCONJ ## Devolve o conjugado complexo de um número complexo -IMCOS = IMCOS ## Devolve o co-seno de um número complexo -IMDIV = IMDIV ## Devolve o quociente de dois números complexos -IMEXP = IMEXP ## Devolve o exponencial de um número complexo -IMLN = IMLN ## Devolve o logaritmo natural de um número complexo -IMLOG10 = IMLOG10 ## Devolve o logaritmo de base 10 de um número complexo -IMLOG2 = IMLOG2 ## Devolve o logaritmo de base 2 de um número complexo -IMPOWER = IMPOT ## Devolve um número complexo elevado a uma potência inteira -IMPRODUCT = IMPROD ## Devolve o produto de números complexos -IMREAL = IMREAL ## Devolve o coeficiente real de um número complexo -IMSIN = IMSENO ## Devolve o seno de um número complexo -IMSQRT = IMRAIZ ## Devolve a raiz quadrada de um número complexo -IMSUB = IMSUBTR ## Devolve a diferença entre dois números complexos -IMSUM = IMSOMA ## Devolve a soma de números complexos -OCT2BIN = OCTABIN ## Converte um número octal em binário -OCT2DEC = OCTADEC ## Converte um número octal em decimal -OCT2HEX = OCTAHEX ## Converte um número octal em hexadecimal - - -## -## Financial functions Funções financeiras -## -ACCRINT = JUROSACUM ## Devolve os juros acumulados de um título que paga juros periódicos -ACCRINTM = JUROSACUMV ## Devolve os juros acumulados de um título que paga juros no vencimento -AMORDEGRC = AMORDEGRC ## Devolve a depreciação correspondente a cada período contabilístico utilizando um coeficiente de depreciação -AMORLINC = AMORLINC ## Devolve a depreciação correspondente a cada período contabilístico -COUPDAYBS = CUPDIASINLIQ ## Devolve o número de dias entre o início do período do cupão e a data de regularização -COUPDAYS = CUPDIAS ## Devolve o número de dias no período do cupão que contém a data de regularização -COUPDAYSNC = CUPDIASPRÓX ## Devolve o número de dias entre a data de regularização e a data do cupão seguinte -COUPNCD = CUPDATAPRÓX ## Devolve a data do cupão seguinte após a data de regularização -COUPNUM = CUPNÚM ## Devolve o número de cupões a serem pagos entre a data de regularização e a data de vencimento -COUPPCD = CUPDATAANT ## Devolve a data do cupão anterior antes da data de regularização -CUMIPMT = PGTOJURACUM ## Devolve os juros cumulativos pagos entre dois períodos -CUMPRINC = PGTOCAPACUM ## Devolve o capital cumulativo pago a título de empréstimo entre dois períodos -DB = BD ## Devolve a depreciação de um activo relativo a um período especificado utilizando o método das quotas degressivas fixas -DDB = BDD ## Devolve a depreciação de um activo relativo a um período especificado utilizando o método das quotas degressivas duplas ou qualquer outro método especificado -DISC = DESC ## Devolve a taxa de desconto de um título -DOLLARDE = MOEDADEC ## Converte um preço em unidade monetária, expresso como uma fracção, num preço em unidade monetária, expresso como um número decimal -DOLLARFR = MOEDAFRA ## Converte um preço em unidade monetária, expresso como um número decimal, num preço em unidade monetária, expresso como uma fracção -DURATION = DURAÇÃO ## Devolve a duração anual de um título com pagamentos de juros periódicos -EFFECT = EFECTIVA ## Devolve a taxa de juros anual efectiva -FV = VF ## Devolve o valor futuro de um investimento -FVSCHEDULE = VFPLANO ## Devolve o valor futuro de um capital inicial após a aplicação de uma série de taxas de juro compostas -INTRATE = TAXAJUROS ## Devolve a taxa de juros de um título investido na totalidade -IPMT = IPGTO ## Devolve o pagamento dos juros de um investimento durante um determinado período -IRR = TIR ## Devolve a taxa de rentabilidade interna para uma série de fluxos monetários -ISPMT = É.PGTO ## Calcula os juros pagos durante um período específico de um investimento -MDURATION = MDURAÇÃO ## Devolve a duração modificada de Macauley de um título com um valor de paridade equivalente a € 100 -MIRR = MTIR ## Devolve a taxa interna de rentabilidade em que os fluxos monetários positivos e negativos são financiados com taxas diferentes -NOMINAL = NOMINAL ## Devolve a taxa de juros nominal anual -NPER = NPER ## Devolve o número de períodos de um investimento -NPV = VAL ## Devolve o valor actual líquido de um investimento com base numa série de fluxos monetários periódicos e numa taxa de desconto -ODDFPRICE = PREÇOPRIMINC ## Devolve o preço por € 100 do valor nominal de um título com um período inicial incompleto -ODDFYIELD = LUCROPRIMINC ## Devolve o lucro de um título com um período inicial incompleto -ODDLPRICE = PREÇOÚLTINC ## Devolve o preço por € 100 do valor nominal de um título com um período final incompleto -ODDLYIELD = LUCROÚLTINC ## Devolve o lucro de um título com um período final incompleto -PMT = PGTO ## Devolve o pagamento periódico de uma anuidade -PPMT = PPGTO ## Devolve o pagamento sobre o capital de um investimento num determinado período -PRICE = PREÇO ## Devolve o preço por € 100 do valor nominal de um título que paga juros periódicos -PRICEDISC = PREÇODESC ## Devolve o preço por € 100 do valor nominal de um título descontado -PRICEMAT = PREÇOVENC ## Devolve o preço por € 100 do valor nominal de um título que paga juros no vencimento -PV = VA ## Devolve o valor actual de um investimento -RATE = TAXA ## Devolve a taxa de juros por período de uma anuidade -RECEIVED = RECEBER ## Devolve o montante recebido no vencimento de um título investido na totalidade -SLN = AMORT ## Devolve uma depreciação linear de um activo durante um período -SYD = AMORTD ## Devolve a depreciação por algarismos da soma dos anos de um activo durante um período especificado -TBILLEQ = OTN ## Devolve o lucro de um título equivalente a uma Obrigação do Tesouro -TBILLPRICE = OTNVALOR ## Devolve o preço por € 100 de valor nominal de uma Obrigação do Tesouro -TBILLYIELD = OTNLUCRO ## Devolve o lucro de uma Obrigação do Tesouro -VDB = BDV ## Devolve a depreciação de um activo relativo a um período específico ou parcial utilizando um método de quotas degressivas -XIRR = XTIR ## Devolve a taxa interna de rentabilidade de um plano de fluxos monetários que não seja necessariamente periódica -XNPV = XVAL ## Devolve o valor actual líquido de um plano de fluxos monetários que não seja necessariamente periódico -YIELD = LUCRO ## Devolve o lucro de um título que paga juros periódicos -YIELDDISC = LUCRODESC ## Devolve o lucro anual de um título emitido abaixo do valor nominal, por exemplo, uma Obrigação do Tesouro -YIELDMAT = LUCROVENC ## Devolve o lucro anual de um título que paga juros na data de vencimento - - -## -## Information functions Funções de informação -## -CELL = CÉL ## Devolve informações sobre a formatação, localização ou conteúdo de uma célula -ERROR.TYPE = TIPO.ERRO ## Devolve um número correspondente a um tipo de erro -INFO = INFORMAÇÃO ## Devolve informações sobre o ambiente de funcionamento actual -ISBLANK = É.CÉL.VAZIA ## Devolve VERDADEIRO se o valor estiver em branco -ISERR = É.ERROS ## Devolve VERDADEIRO se o valor for um valor de erro diferente de #N/D -ISERROR = É.ERRO ## Devolve VERDADEIRO se o valor for um valor de erro -ISEVEN = ÉPAR ## Devolve VERDADEIRO se o número for par -ISLOGICAL = É.LÓGICO ## Devolve VERDADEIRO se o valor for lógico -ISNA = É.NÃO.DISP ## Devolve VERDADEIRO se o valor for o valor de erro #N/D -ISNONTEXT = É.NÃO.TEXTO ## Devolve VERDADEIRO se o valor não for texto -ISNUMBER = É.NÚM ## Devolve VERDADEIRO se o valor for um número -ISODD = ÉÍMPAR ## Devolve VERDADEIRO se o número for ímpar -ISREF = É.REF ## Devolve VERDADEIRO se o valor for uma referência -ISTEXT = É.TEXTO ## Devolve VERDADEIRO se o valor for texto -N = N ## Devolve um valor convertido num número -NA = NÃO.DISP ## Devolve o valor de erro #N/D -TYPE = TIPO ## Devolve um número que indica o tipo de dados de um valor - - -## -## Logical functions Funções lógicas -## -AND = E ## Devolve VERDADEIRO se todos os respectivos argumentos corresponderem a VERDADEIRO -FALSE = FALSO ## Devolve o valor lógico FALSO -IF = SE ## Especifica um teste lógico a ser executado -IFERROR = SE.ERRO ## Devolve um valor definido pelo utilizador se ocorrer um erro na fórmula, e devolve o resultado da fórmula se não ocorrer nenhum erro -NOT = NÃO ## Inverte a lógica do respectivo argumento -OR = OU ## Devolve VERDADEIRO se qualquer argumento for VERDADEIRO -TRUE = VERDADEIRO ## Devolve o valor lógico VERDADEIRO - - -## -## Lookup and reference functions Funções de pesquisa e referência -## -ADDRESS = ENDEREÇO ## Devolve uma referência a uma única célula numa folha de cálculo como texto -AREAS = ÁREAS ## Devolve o número de áreas numa referência -CHOOSE = SELECCIONAR ## Selecciona um valor a partir de uma lista de valores -COLUMN = COL ## Devolve o número da coluna de uma referência -COLUMNS = COLS ## Devolve o número de colunas numa referência -HLOOKUP = PROCH ## Procura na linha superior de uma matriz e devolve o valor da célula indicada -HYPERLINK = HIPERLIGAÇÃO ## Cria um atalho ou hiperligação que abre um documento armazenado num servidor de rede, numa intranet ou na Internet -INDEX = ÍNDICE ## Utiliza um índice para escolher um valor de uma referência ou de uma matriz -INDIRECT = INDIRECTO ## Devolve uma referência indicada por um valor de texto -LOOKUP = PROC ## Procura valores num vector ou numa matriz -MATCH = CORRESP ## Procura valores numa referência ou numa matriz -OFFSET = DESLOCAMENTO ## Devolve o deslocamento de referência de uma determinada referência -ROW = LIN ## Devolve o número da linha de uma referência -ROWS = LINS ## Devolve o número de linhas numa referência -RTD = RTD ## Obtém dados em tempo real a partir de um programa que suporte automatização COM (automatização: modo de trabalhar com objectos de uma aplicação a partir de outra aplicação ou ferramenta de desenvolvimento. Anteriormente conhecida como automatização OLE, a automatização é uma norma da indústria de software e uma funcionalidade COM (Component Object Model).) -TRANSPOSE = TRANSPOR ## Devolve a transposição de uma matriz -VLOOKUP = PROCV ## Procura na primeira coluna de uma matriz e percorre a linha para devolver o valor de uma célula - - -## -## Math and trigonometry functions Funções matemáticas e trigonométricas -## -ABS = ABS ## Devolve o valor absoluto de um número -ACOS = ACOS ## Devolve o arco de co-seno de um número -ACOSH = ACOSH ## Devolve o co-seno hiperbólico inverso de um número -ASIN = ASEN ## Devolve o arco de seno de um número -ASINH = ASENH ## Devolve o seno hiperbólico inverso de um número -ATAN = ATAN ## Devolve o arco de tangente de um número -ATAN2 = ATAN2 ## Devolve o arco de tangente das coordenadas x e y -ATANH = ATANH ## Devolve a tangente hiperbólica inversa de um número -CEILING = ARRED.EXCESSO ## Arredonda um número para o número inteiro mais próximo ou para o múltiplo de significância mais próximo -COMBIN = COMBIN ## Devolve o número de combinações de um determinado número de objectos -COS = COS ## Devolve o co-seno de um número -COSH = COSH ## Devolve o co-seno hiperbólico de um número -DEGREES = GRAUS ## Converte radianos em graus -EVEN = PAR ## Arredonda um número por excesso para o número inteiro mais próximo -EXP = EXP ## Devolve e elevado à potência de um determinado número -FACT = FACTORIAL ## Devolve o factorial de um número -FACTDOUBLE = FACTDUPLO ## Devolve o factorial duplo de um número -FLOOR = ARRED.DEFEITO ## Arredonda um número por defeito até zero -GCD = MDC ## Devolve o maior divisor comum -INT = INT ## Arredonda um número por defeito para o número inteiro mais próximo -LCM = MMC ## Devolve o mínimo múltiplo comum -LN = LN ## Devolve o logaritmo natural de um número -LOG = LOG ## Devolve o logaritmo de um número com uma base especificada -LOG10 = LOG10 ## Devolve o logaritmo de base 10 de um número -MDETERM = MATRIZ.DETERM ## Devolve o determinante matricial de uma matriz -MINVERSE = MATRIZ.INVERSA ## Devolve o inverso matricial de uma matriz -MMULT = MATRIZ.MULT ## Devolve o produto matricial de duas matrizes -MOD = RESTO ## Devolve o resto da divisão -MROUND = MARRED ## Devolve um número arredondado para o múltiplo pretendido -MULTINOMIAL = POLINOMIAL ## Devolve o polinomial de um conjunto de números -ODD = ÍMPAR ## Arredonda por excesso um número para o número inteiro ímpar mais próximo -PI = PI ## Devolve o valor de pi -POWER = POTÊNCIA ## Devolve o resultado de um número elevado a uma potência -PRODUCT = PRODUTO ## Multiplica os respectivos argumentos -QUOTIENT = QUOCIENTE ## Devolve a parte inteira de uma divisão -RADIANS = RADIANOS ## Converte graus em radianos -RAND = ALEATÓRIO ## Devolve um número aleatório entre 0 e 1 -RANDBETWEEN = ALEATÓRIOENTRE ## Devolve um número aleatório entre os números especificados -ROMAN = ROMANO ## Converte um número árabe em romano, como texto -ROUND = ARRED ## Arredonda um número para um número de dígitos especificado -ROUNDDOWN = ARRED.PARA.BAIXO ## Arredonda um número por defeito até zero -ROUNDUP = ARRED.PARA.CIMA ## Arredonda um número por excesso, afastando-o de zero -SERIESSUM = SOMASÉRIE ## Devolve a soma de uma série de potências baseada na fórmula -SIGN = SINAL ## Devolve o sinal de um número -SIN = SEN ## Devolve o seno de um determinado ângulo -SINH = SENH ## Devolve o seno hiperbólico de um número -SQRT = RAIZQ ## Devolve uma raiz quadrada positiva -SQRTPI = RAIZPI ## Devolve a raiz quadrada de (núm * pi) -SUBTOTAL = SUBTOTAL ## Devolve um subtotal numa lista ou base de dados -SUM = SOMA ## Adiciona os respectivos argumentos -SUMIF = SOMA.SE ## Adiciona as células especificadas por um determinado critério -SUMIFS = SOMA.SE.S ## Adiciona as células num intervalo que cumpre vários critérios -SUMPRODUCT = SOMARPRODUTO ## Devolve a soma dos produtos de componentes de matrizes correspondentes -SUMSQ = SOMARQUAD ## Devolve a soma dos quadrados dos argumentos -SUMX2MY2 = SOMAX2DY2 ## Devolve a soma da diferença dos quadrados dos valores correspondentes em duas matrizes -SUMX2PY2 = SOMAX2SY2 ## Devolve a soma da soma dos quadrados dos valores correspondentes em duas matrizes -SUMXMY2 = SOMAXMY2 ## Devolve a soma dos quadrados da diferença dos valores correspondentes em duas matrizes -TAN = TAN ## Devolve a tangente de um número -TANH = TANH ## Devolve a tangente hiperbólica de um número -TRUNC = TRUNCAR ## Trunca um número para um número inteiro - - -## -## Statistical functions Funções estatísticas -## -AVEDEV = DESV.MÉDIO ## Devolve a média aritmética dos desvios absolutos à média dos pontos de dados -AVERAGE = MÉDIA ## Devolve a média dos respectivos argumentos -AVERAGEA = MÉDIAA ## Devolve uma média dos respectivos argumentos, incluindo números, texto e valores lógicos -AVERAGEIF = MÉDIA.SE ## Devolve a média aritmética de todas as células num intervalo que cumprem determinado critério -AVERAGEIFS = MÉDIA.SE.S ## Devolve a média aritmética de todas as células que cumprem múltiplos critérios -BETADIST = DISTBETA ## Devolve a função de distribuição cumulativa beta -BETAINV = BETA.ACUM.INV ## Devolve o inverso da função de distribuição cumulativa relativamente a uma distribuição beta específica -BINOMDIST = DISTRBINOM ## Devolve a probabilidade de distribuição binomial de termo individual -CHIDIST = DIST.CHI ## Devolve a probabilidade unicaudal da distribuição qui-quadrada -CHIINV = INV.CHI ## Devolve o inverso da probabilidade unicaudal da distribuição qui-quadrada -CHITEST = TESTE.CHI ## Devolve o teste para independência -CONFIDENCE = INT.CONFIANÇA ## Devolve o intervalo de confiança correspondente a uma média de população -CORREL = CORREL ## Devolve o coeficiente de correlação entre dois conjuntos de dados -COUNT = CONTAR ## Conta os números que existem na lista de argumentos -COUNTA = CONTAR.VAL ## Conta os valores que existem na lista de argumentos -COUNTBLANK = CONTAR.VAZIO ## Conta o número de células em branco num intervalo -COUNTIF = CONTAR.SE ## Calcula o número de células num intervalo que corresponde aos critérios determinados -COUNTIFS = CONTAR.SE.S ## Conta o número de células num intervalo que cumprem múltiplos critérios -COVAR = COVAR ## Devolve a covariância, que é a média dos produtos de desvios de pares -CRITBINOM = CRIT.BINOM ## Devolve o menor valor em que a distribuição binomial cumulativa é inferior ou igual a um valor de critério -DEVSQ = DESVQ ## Devolve a soma dos quadrados dos desvios -EXPONDIST = DISTEXPON ## Devolve a distribuição exponencial -FDIST = DISTF ## Devolve a distribuição da probabilidade F -FINV = INVF ## Devolve o inverso da distribuição da probabilidade F -FISHER = FISHER ## Devolve a transformação Fisher -FISHERINV = FISHERINV ## Devolve o inverso da transformação Fisher -FORECAST = PREVISÃO ## Devolve um valor ao longo de uma tendência linear -FREQUENCY = FREQUÊNCIA ## Devolve uma distribuição de frequência como uma matriz vertical -FTEST = TESTEF ## Devolve o resultado de um teste F -GAMMADIST = DISTGAMA ## Devolve a distribuição gama -GAMMAINV = INVGAMA ## Devolve o inverso da distribuição gama cumulativa -GAMMALN = LNGAMA ## Devolve o logaritmo natural da função gama, Γ(x) -GEOMEAN = MÉDIA.GEOMÉTRICA ## Devolve a média geométrica -GROWTH = CRESCIMENTO ## Devolve valores ao longo de uma tendência exponencial -HARMEAN = MÉDIA.HARMÓNICA ## Devolve a média harmónica -HYPGEOMDIST = DIST.HIPERGEOM ## Devolve a distribuição hipergeométrica -INTERCEPT = INTERCEPTAR ## Devolve a intercepção da linha de regressão linear -KURT = CURT ## Devolve a curtose de um conjunto de dados -LARGE = MAIOR ## Devolve o maior valor k-ésimo de um conjunto de dados -LINEST = PROJ.LIN ## Devolve os parâmetros de uma tendência linear -LOGEST = PROJ.LOG ## Devolve os parâmetros de uma tendência exponencial -LOGINV = INVLOG ## Devolve o inverso da distribuição normal logarítmica -LOGNORMDIST = DIST.NORMALLOG ## Devolve a distribuição normal logarítmica cumulativa -MAX = MÁXIMO ## Devolve o valor máximo numa lista de argumentos -MAXA = MÁXIMOA ## Devolve o valor máximo numa lista de argumentos, incluindo números, texto e valores lógicos -MEDIAN = MED ## Devolve a mediana dos números indicados -MIN = MÍNIMO ## Devolve o valor mínimo numa lista de argumentos -MINA = MÍNIMOA ## Devolve o valor mínimo numa lista de argumentos, incluindo números, texto e valores lógicos -MODE = MODA ## Devolve o valor mais comum num conjunto de dados -NEGBINOMDIST = DIST.BIN.NEG ## Devolve a distribuição binominal negativa -NORMDIST = DIST.NORM ## Devolve a distribuição cumulativa normal -NORMINV = INV.NORM ## Devolve o inverso da distribuição cumulativa normal -NORMSDIST = DIST.NORMP ## Devolve a distribuição cumulativa normal padrão -NORMSINV = INV.NORMP ## Devolve o inverso da distribuição cumulativa normal padrão -PEARSON = PEARSON ## Devolve o coeficiente de correlação momento/produto de Pearson -PERCENTILE = PERCENTIL ## Devolve o k-ésimo percentil de valores num intervalo -PERCENTRANK = ORDEM.PERCENTUAL ## Devolve a ordem percentual de um valor num conjunto de dados -PERMUT = PERMUTAR ## Devolve o número de permutações de um determinado número de objectos -POISSON = POISSON ## Devolve a distribuição de Poisson -PROB = PROB ## Devolve a probabilidade dos valores num intervalo se encontrarem entre dois limites -QUARTILE = QUARTIL ## Devolve o quartil de um conjunto de dados -RANK = ORDEM ## Devolve a ordem de um número numa lista numérica -RSQ = RQUAD ## Devolve o quadrado do coeficiente de correlação momento/produto de Pearson -SKEW = DISTORÇÃO ## Devolve a distorção de uma distribuição -SLOPE = DECLIVE ## Devolve o declive da linha de regressão linear -SMALL = MENOR ## Devolve o menor valor de k-ésimo de um conjunto de dados -STANDARDIZE = NORMALIZAR ## Devolve um valor normalizado -STDEV = DESVPAD ## Calcula o desvio-padrão com base numa amostra -STDEVA = DESVPADA ## Calcula o desvio-padrão com base numa amostra, incluindo números, texto e valores lógicos -STDEVP = DESVPADP ## Calcula o desvio-padrão com base na população total -STDEVPA = DESVPADPA ## Calcula o desvio-padrão com base na população total, incluindo números, texto e valores lógicos -STEYX = EPADYX ## Devolve o erro-padrão do valor de y previsto para cada x na regressão -TDIST = DISTT ## Devolve a distribuição t de Student -TINV = INVT ## Devolve o inverso da distribuição t de Student -TREND = TENDÊNCIA ## Devolve valores ao longo de uma tendência linear -TRIMMEAN = MÉDIA.INTERNA ## Devolve a média do interior de um conjunto de dados -TTEST = TESTET ## Devolve a probabilidade associada ao teste t de Student -VAR = VAR ## Calcula a variância com base numa amostra -VARA = VARA ## Calcula a variância com base numa amostra, incluindo números, texto e valores lógicos -VARP = VARP ## Calcula a variância com base na população total -VARPA = VARPA ## Calcula a variância com base na população total, incluindo números, texto e valores lógicos -WEIBULL = WEIBULL ## Devolve a distribuição Weibull -ZTEST = TESTEZ ## Devolve o valor de probabilidade unicaudal de um teste-z - - -## -## Text functions Funções de texto -## -ASC = ASC ## Altera letras ou katakana de largura total (byte duplo) numa cadeia de caracteres para caracteres de largura média (byte único) -BAHTTEXT = TEXTO.BAHT ## Converte um número em texto, utilizando o formato monetário ß (baht) -CHAR = CARÁCT ## Devolve o carácter especificado pelo número de código -CLEAN = LIMPAR ## Remove do texto todos os caracteres não imprimíveis -CODE = CÓDIGO ## Devolve um código numérico correspondente ao primeiro carácter numa cadeia de texto -CONCATENATE = CONCATENAR ## Agrupa vários itens de texto num único item de texto -DOLLAR = MOEDA ## Converte um número em texto, utilizando o formato monetário € (Euro) -EXACT = EXACTO ## Verifica se dois valores de texto são idênticos -FIND = LOCALIZAR ## Localiza um valor de texto dentro de outro (sensível às maiúsculas e minúsculas) -FINDB = LOCALIZARB ## Localiza um valor de texto dentro de outro (sensível às maiúsculas e minúsculas) -FIXED = FIXA ## Formata um número como texto com um número fixo de decimais -JIS = JIS ## Altera letras ou katakana de largura média (byte único) numa cadeia de caracteres para caracteres de largura total (byte duplo) -LEFT = ESQUERDA ## Devolve os caracteres mais à esquerda de um valor de texto -LEFTB = ESQUERDAB ## Devolve os caracteres mais à esquerda de um valor de texto -LEN = NÚM.CARACT ## Devolve o número de caracteres de uma cadeia de texto -LENB = NÚM.CARACTB ## Devolve o número de caracteres de uma cadeia de texto -LOWER = MINÚSCULAS ## Converte o texto em minúsculas -MID = SEG.TEXTO ## Devolve um número específico de caracteres de uma cadeia de texto, a partir da posição especificada -MIDB = SEG.TEXTOB ## Devolve um número específico de caracteres de uma cadeia de texto, a partir da posição especificada -PHONETIC = FONÉTICA ## Retira os caracteres fonéticos (furigana) de uma cadeia de texto -PROPER = INICIAL.MAIÚSCULA ## Coloca em maiúsculas a primeira letra de cada palavra de um valor de texto -REPLACE = SUBSTITUIR ## Substitui caracteres no texto -REPLACEB = SUBSTITUIRB ## Substitui caracteres no texto -REPT = REPETIR ## Repete texto um determinado número de vezes -RIGHT = DIREITA ## Devolve os caracteres mais à direita de um valor de texto -RIGHTB = DIREITAB ## Devolve os caracteres mais à direita de um valor de texto -SEARCH = PROCURAR ## Localiza um valor de texto dentro de outro (não sensível a maiúsculas e minúsculas) -SEARCHB = PROCURARB ## Localiza um valor de texto dentro de outro (não sensível a maiúsculas e minúsculas) -SUBSTITUTE = SUBST ## Substitui texto novo por texto antigo numa cadeia de texto -T = T ## Converte os respectivos argumentos em texto -TEXT = TEXTO ## Formata um número e converte-o em texto -TRIM = COMPACTAR ## Remove espaços do texto -UPPER = MAIÚSCULAS ## Converte texto em maiúsculas -VALUE = VALOR ## Converte um argumento de texto num número diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/pt/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/config deleted file mode 100644 index 56e45bfda..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = р - - -## -## Excel Error Codes (For future use) -## -NULL = #ПУСТО! -DIV0 = #ДЕЛ/0! -VALUE = #ЗНАЧ! -REF = #ССЫЛ! -NAME = #ИМЯ? -NUM = #ЧИСЛО! -NA = #Н/Д diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/functions deleted file mode 100644 index 5ff6d4fbf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from information provided by web-junior (http://www.web-junior.net/) -## -## - - -## -## Add-in and Automation functions Функции надстроек и автоматизации -## -GETPIVOTDATA = ПОЛУЧИТЬ.ДАННЫЕ.СВОДНОЙ.ТАБЛИЦЫ ## Возвращает данные, хранящиеся в отчете сводной таблицы. - - -## -## Cube functions Функции Куб -## -CUBEKPIMEMBER = КУБЭЛЕМЕНТКИП ## Возвращает свойство ключевого индикатора производительности «(КИП)» и отображает имя «КИП» в ячейке. «КИП» представляет собой количественную величину, такую как ежемесячная валовая прибыль или ежеквартальная текучесть кадров, используемой для контроля эффективности работы организации. -CUBEMEMBER = КУБЭЛЕМЕНТ ## Возвращает элемент или кортеж из куба. Используется для проверки существования элемента или кортежа в кубе. -CUBEMEMBERPROPERTY = КУБСВОЙСТВОЭЛЕМЕНТА ## Возвращает значение свойства элемента из куба. Используется для проверки существования имени элемента в кубе и возвращает указанное свойство для этого элемента. -CUBERANKEDMEMBER = КУБПОРЭЛЕМЕНТ ## Возвращает n-ый или ранжированный элемент в множество. Используется для возвращения одного или нескольких элементов в множество, например, лучшего продавца или 10 лучших студентов. -CUBESET = КУБМНОЖ ## Определяет вычислительное множество элементов или кортежей, отправляя на сервер выражение, которое создает множество, а затем возвращает его в Microsoft Office Excel. -CUBESETCOUNT = КУБЧИСЛОЭЛМНОЖ ## Возвращает число элементов множества. -CUBEVALUE = КУБЗНАЧЕНИЕ ## Возвращает обобщенное значение из куба. - - -## -## Database functions Функции для работы с базами данных -## -DAVERAGE = ДСРЗНАЧ ## Возвращает среднее значение выбранных записей базы данных. -DCOUNT = БСЧЁТ ## Подсчитывает количество числовых ячеек в базе данных. -DCOUNTA = БСЧЁТА ## Подсчитывает количество непустых ячеек в базе данных. -DGET = БИЗВЛЕЧЬ ## Извлекает из базы данных одну запись, удовлетворяющую заданному условию. -DMAX = ДМАКС ## Возвращает максимальное значение среди выделенных записей базы данных. -DMIN = ДМИН ## Возвращает минимальное значение среди выделенных записей базы данных. -DPRODUCT = БДПРОИЗВЕД ## Перемножает значения определенного поля в записях базы данных, удовлетворяющих условию. -DSTDEV = ДСТАНДОТКЛ ## Оценивает стандартное отклонение по выборке для выделенных записей базы данных. -DSTDEVP = ДСТАНДОТКЛП ## Вычисляет стандартное отклонение по генеральной совокупности для выделенных записей базы данных -DSUM = БДСУММ ## Суммирует числа в поле для записей базы данных, удовлетворяющих условию. -DVAR = БДДИСП ## Оценивает дисперсию по выборке из выделенных записей базы данных -DVARP = БДДИСПП ## Вычисляет дисперсию по генеральной совокупности для выделенных записей базы данных - - -## -## Date and time functions Функции даты и времени -## -DATE = ДАТА ## Возвращает заданную дату в числовом формате. -DATEVALUE = ДАТАЗНАЧ ## Преобразует дату из текстового формата в числовой формат. -DAY = ДЕНЬ ## Преобразует дату в числовом формате в день месяца. -DAYS360 = ДНЕЙ360 ## Вычисляет количество дней между двумя датами на основе 360-дневного года. -EDATE = ДАТАМЕС ## Возвращает дату в числовом формате, отстоящую на заданное число месяцев вперед или назад от начальной даты. -EOMONTH = КОНМЕСЯЦА ## Возвращает дату в числовом формате для последнего дня месяца, отстоящего вперед или назад на заданное число месяцев. -HOUR = ЧАС ## Преобразует дату в числовом формате в часы. -MINUTE = МИНУТЫ ## Преобразует дату в числовом формате в минуты. -MONTH = МЕСЯЦ ## Преобразует дату в числовом формате в месяцы. -NETWORKDAYS = ЧИСТРАБДНИ ## Возвращает количество рабочих дней между двумя датами. -NOW = ТДАТА ## Возвращает текущую дату и время в числовом формате. -SECOND = СЕКУНДЫ ## Преобразует дату в числовом формате в секунды. -TIME = ВРЕМЯ ## Возвращает заданное время в числовом формате. -TIMEVALUE = ВРЕМЗНАЧ ## Преобразует время из текстового формата в числовой формат. -TODAY = СЕГОДНЯ ## Возвращает текущую дату в числовом формате. -WEEKDAY = ДЕНЬНЕД ## Преобразует дату в числовом формате в день недели. -WEEKNUM = НОМНЕДЕЛИ ## Преобразует числовое представление в число, которое указывает, на какую неделю года приходится указанная дата. -WORKDAY = РАБДЕНЬ ## Возвращает дату в числовом формате, отстоящую вперед или назад на заданное количество рабочих дней. -YEAR = ГОД ## Преобразует дату в числовом формате в год. -YEARFRAC = ДОЛЯГОДА ## Возвращает долю года, которую составляет количество дней между начальной и конечной датами. - - -## -## Engineering functions Инженерные функции -## -BESSELI = БЕССЕЛЬ.I ## Возвращает модифицированную функцию Бесселя In(x). -BESSELJ = БЕССЕЛЬ.J ## Возвращает функцию Бесселя Jn(x). -BESSELK = БЕССЕЛЬ.K ## Возвращает модифицированную функцию Бесселя Kn(x). -BESSELY = БЕССЕЛЬ.Y ## Возвращает функцию Бесселя Yn(x). -BIN2DEC = ДВ.В.ДЕС ## Преобразует двоичное число в десятичное. -BIN2HEX = ДВ.В.ШЕСТН ## Преобразует двоичное число в шестнадцатеричное. -BIN2OCT = ДВ.В.ВОСЬМ ## Преобразует двоичное число в восьмеричное. -COMPLEX = КОМПЛЕКСН ## Преобразует коэффициенты при вещественной и мнимой частях комплексного числа в комплексное число. -CONVERT = ПРЕОБР ## Преобразует число из одной системы единиц измерения в другую. -DEC2BIN = ДЕС.В.ДВ ## Преобразует десятичное число в двоичное. -DEC2HEX = ДЕС.В.ШЕСТН ## Преобразует десятичное число в шестнадцатеричное. -DEC2OCT = ДЕС.В.ВОСЬМ ## Преобразует десятичное число в восьмеричное. -DELTA = ДЕЛЬТА ## Проверяет равенство двух значений. -ERF = ФОШ ## Возвращает функцию ошибки. -ERFC = ДФОШ ## Возвращает дополнительную функцию ошибки. -GESTEP = ПОРОГ ## Проверяет, не превышает ли данное число порогового значения. -HEX2BIN = ШЕСТН.В.ДВ ## Преобразует шестнадцатеричное число в двоичное. -HEX2DEC = ШЕСТН.В.ДЕС ## Преобразует шестнадцатеричное число в десятичное. -HEX2OCT = ШЕСТН.В.ВОСЬМ ## Преобразует шестнадцатеричное число в восьмеричное. -IMABS = МНИМ.ABS ## Возвращает абсолютную величину (модуль) комплексного числа. -IMAGINARY = МНИМ.ЧАСТЬ ## Возвращает коэффициент при мнимой части комплексного числа. -IMARGUMENT = МНИМ.АРГУМЕНТ ## Возвращает значение аргумента комплексного числа (тета) — угол, выраженный в радианах. -IMCONJUGATE = МНИМ.СОПРЯЖ ## Возвращает комплексно-сопряженное комплексное число. -IMCOS = МНИМ.COS ## Возвращает косинус комплексного числа. -IMDIV = МНИМ.ДЕЛ ## Возвращает частное от деления двух комплексных чисел. -IMEXP = МНИМ.EXP ## Возвращает экспоненту комплексного числа. -IMLN = МНИМ.LN ## Возвращает натуральный логарифм комплексного числа. -IMLOG10 = МНИМ.LOG10 ## Возвращает обычный (десятичный) логарифм комплексного числа. -IMLOG2 = МНИМ.LOG2 ## Возвращает двоичный логарифм комплексного числа. -IMPOWER = МНИМ.СТЕПЕНЬ ## Возвращает комплексное число, возведенное в целую степень. -IMPRODUCT = МНИМ.ПРОИЗВЕД ## Возвращает произведение от 2 до 29 комплексных чисел. -IMREAL = МНИМ.ВЕЩ ## Возвращает коэффициент при вещественной части комплексного числа. -IMSIN = МНИМ.SIN ## Возвращает синус комплексного числа. -IMSQRT = МНИМ.КОРЕНЬ ## Возвращает значение квадратного корня из комплексного числа. -IMSUB = МНИМ.РАЗН ## Возвращает разность двух комплексных чисел. -IMSUM = МНИМ.СУММ ## Возвращает сумму комплексных чисел. -OCT2BIN = ВОСЬМ.В.ДВ ## Преобразует восьмеричное число в двоичное. -OCT2DEC = ВОСЬМ.В.ДЕС ## Преобразует восьмеричное число в десятичное. -OCT2HEX = ВОСЬМ.В.ШЕСТН ## Преобразует восьмеричное число в шестнадцатеричное. - - -## -## Financial functions Финансовые функции -## -ACCRINT = НАКОПДОХОД ## Возвращает накопленный процент по ценным бумагам с периодической выплатой процентов. -ACCRINTM = НАКОПДОХОДПОГАШ ## Возвращает накопленный процент по ценным бумагам, проценты по которым выплачиваются в срок погашения. -AMORDEGRC = АМОРУМ ## Возвращает величину амортизации для каждого периода, используя коэффициент амортизации. -AMORLINC = АМОРУВ ## Возвращает величину амортизации для каждого периода. -COUPDAYBS = ДНЕЙКУПОНДО ## Возвращает количество дней от начала действия купона до даты соглашения. -COUPDAYS = ДНЕЙКУПОН ## Возвращает число дней в периоде купона, содержащем дату соглашения. -COUPDAYSNC = ДНЕЙКУПОНПОСЛЕ ## Возвращает число дней от даты соглашения до срока следующего купона. -COUPNCD = ДАТАКУПОНПОСЛЕ ## Возвращает следующую дату купона после даты соглашения. -COUPNUM = ЧИСЛКУПОН ## Возвращает количество купонов, которые могут быть оплачены между датой соглашения и сроком вступления в силу. -COUPPCD = ДАТАКУПОНДО ## Возвращает предыдущую дату купона перед датой соглашения. -CUMIPMT = ОБЩПЛАТ ## Возвращает общую выплату, произведенную между двумя периодическими выплатами. -CUMPRINC = ОБЩДОХОД ## Возвращает общую выплату по займу между двумя периодами. -DB = ФУО ## Возвращает величину амортизации актива для заданного периода, рассчитанную методом фиксированного уменьшения остатка. -DDB = ДДОБ ## Возвращает величину амортизации актива за данный период, используя метод двойного уменьшения остатка или иной явно указанный метод. -DISC = СКИДКА ## Возвращает норму скидки для ценных бумаг. -DOLLARDE = РУБЛЬ.ДЕС ## Преобразует цену в рублях, выраженную в виде дроби, в цену в рублях, выраженную десятичным числом. -DOLLARFR = РУБЛЬ.ДРОБЬ ## Преобразует цену в рублях, выраженную десятичным числом, в цену в рублях, выраженную в виде дроби. -DURATION = ДЛИТ ## Возвращает ежегодную продолжительность действия ценных бумаг с периодическими выплатами по процентам. -EFFECT = ЭФФЕКТ ## Возвращает действующие ежегодные процентные ставки. -FV = БС ## Возвращает будущую стоимость инвестиции. -FVSCHEDULE = БЗРАСПИС ## Возвращает будущую стоимость первоначальной основной суммы после начисления ряда сложных процентов. -INTRATE = ИНОРМА ## Возвращает процентную ставку для полностью инвестированных ценных бумаг. -IPMT = ПРПЛТ ## Возвращает величину выплаты прибыли на вложения за данный период. -IRR = ВСД ## Возвращает внутреннюю ставку доходности для ряда потоков денежных средств. -ISPMT = ПРОЦПЛАТ ## Вычисляет выплаты за указанный период инвестиции. -MDURATION = МДЛИТ ## Возвращает модифицированную длительность Маколея для ценных бумаг с предполагаемой номинальной стоимостью 100 рублей. -MIRR = МВСД ## Возвращает внутреннюю ставку доходности, при которой положительные и отрицательные денежные потоки имеют разные значения ставки. -NOMINAL = НОМИНАЛ ## Возвращает номинальную годовую процентную ставку. -NPER = КПЕР ## Возвращает общее количество периодов выплаты для данного вклада. -NPV = ЧПС ## Возвращает чистую приведенную стоимость инвестиции, основанной на серии периодических денежных потоков и ставке дисконтирования. -ODDFPRICE = ЦЕНАПЕРВНЕРЕГ ## Возвращает цену за 100 рублей нарицательной стоимости ценных бумаг с нерегулярным первым периодом. -ODDFYIELD = ДОХОДПЕРВНЕРЕГ ## Возвращает доход по ценным бумагам с нерегулярным первым периодом. -ODDLPRICE = ЦЕНАПОСЛНЕРЕГ ## Возвращает цену за 100 рублей нарицательной стоимости ценных бумаг с нерегулярным последним периодом. -ODDLYIELD = ДОХОДПОСЛНЕРЕГ ## Возвращает доход по ценным бумагам с нерегулярным последним периодом. -PMT = ПЛТ ## Возвращает величину выплаты за один период аннуитета. -PPMT = ОСПЛТ ## Возвращает величину выплат в погашение основной суммы по инвестиции за заданный период. -PRICE = ЦЕНА ## Возвращает цену за 100 рублей нарицательной стоимости ценных бумаг, по которым производится периодическая выплата процентов. -PRICEDISC = ЦЕНАСКИДКА ## Возвращает цену за 100 рублей номинальной стоимости ценных бумаг, на которые сделана скидка. -PRICEMAT = ЦЕНАПОГАШ ## Возвращает цену за 100 рублей номинальной стоимости ценных бумаг, проценты по которым выплачиваются в срок погашения. -PV = ПС ## Возвращает приведенную (к текущему моменту) стоимость инвестиции. -RATE = СТАВКА ## Возвращает процентную ставку по аннуитету за один период. -RECEIVED = ПОЛУЧЕНО ## Возвращает сумму, полученную к сроку погашения полностью обеспеченных ценных бумаг. -SLN = АПЛ ## Возвращает величину линейной амортизации актива за один период. -SYD = АСЧ ## Возвращает величину амортизации актива за данный период, рассчитанную методом суммы годовых чисел. -TBILLEQ = РАВНОКЧЕК ## Возвращает эквивалентный облигации доход по казначейскому чеку. -TBILLPRICE = ЦЕНАКЧЕК ## Возвращает цену за 100 рублей нарицательной стоимости для казначейского чека. -TBILLYIELD = ДОХОДКЧЕК ## Возвращает доход по казначейскому чеку. -VDB = ПУО ## Возвращает величину амортизации актива для указанного или частичного периода при использовании метода сокращающегося баланса. -XIRR = ЧИСТВНДОХ ## Возвращает внутреннюю ставку доходности для графика денежных потоков, которые не обязательно носят периодический характер. -XNPV = ЧИСТНЗ ## Возвращает чистую приведенную стоимость для денежных потоков, которые не обязательно являются периодическими. -YIELD = ДОХОД ## Возвращает доход от ценных бумаг, по которым производятся периодические выплаты процентов. -YIELDDISC = ДОХОДСКИДКА ## Возвращает годовой доход по ценным бумагам, на которые сделана скидка (пример — казначейские чеки). -YIELDMAT = ДОХОДПОГАШ ## Возвращает годовой доход от ценных бумаг, проценты по которым выплачиваются в срок погашения. - - -## -## Information functions Информационные функции -## -CELL = ЯЧЕЙКА ## Возвращает информацию о формате, расположении или содержимом ячейки. -ERROR.TYPE = ТИП.ОШИБКИ ## Возвращает числовой код, соответствующий типу ошибки. -INFO = ИНФОРМ ## Возвращает информацию о текущей операционной среде. -ISBLANK = ЕПУСТО ## Возвращает значение ИСТИНА, если аргумент является ссылкой на пустую ячейку. -ISERR = ЕОШ ## Возвращает значение ИСТИНА, если аргумент ссылается на любое значение ошибки, кроме #Н/Д. -ISERROR = ЕОШИБКА ## Возвращает значение ИСТИНА, если аргумент ссылается на любое значение ошибки. -ISEVEN = ЕЧЁТН ## Возвращает значение ИСТИНА, если значение аргумента является четным числом. -ISLOGICAL = ЕЛОГИЧ ## Возвращает значение ИСТИНА, если аргумент ссылается на логическое значение. -ISNA = ЕНД ## Возвращает значение ИСТИНА, если аргумент ссылается на значение ошибки #Н/Д. -ISNONTEXT = ЕНЕТЕКСТ ## Возвращает значение ИСТИНА, если значение аргумента не является текстом. -ISNUMBER = ЕЧИСЛО ## Возвращает значение ИСТИНА, если аргумент ссылается на число. -ISODD = ЕНЕЧЁТ ## Возвращает значение ИСТИНА, если значение аргумента является нечетным числом. -ISREF = ЕССЫЛКА ## Возвращает значение ИСТИНА, если значение аргумента является ссылкой. -ISTEXT = ЕТЕКСТ ## Возвращает значение ИСТИНА, если значение аргумента является текстом. -N = Ч ## Возвращает значение, преобразованное в число. -NA = НД ## Возвращает значение ошибки #Н/Д. -TYPE = ТИП ## Возвращает число, обозначающее тип данных значения. - - -## -## Logical functions Логические функции -## -AND = И ## Renvoie VRAI si tous ses arguments sont VRAI. -FALSE = ЛОЖЬ ## Возвращает логическое значение ЛОЖЬ. -IF = ЕСЛИ ## Выполняет проверку условия. -IFERROR = ЕСЛИОШИБКА ## Возвращает введённое значение, если вычисление по формуле вызывает ошибку; в противном случае функция возвращает результат вычисления. -NOT = НЕ ## Меняет логическое значение своего аргумента на противоположное. -OR = ИЛИ ## Возвращает значение ИСТИНА, если хотя бы один аргумент имеет значение ИСТИНА. -TRUE = ИСТИНА ## Возвращает логическое значение ИСТИНА. - - -## -## Lookup and reference functions Функции ссылки и поиска -## -ADDRESS = АДРЕС ## Возвращает ссылку на отдельную ячейку листа в виде текста. -AREAS = ОБЛАСТИ ## Возвращает количество областей в ссылке. -CHOOSE = ВЫБОР ## Выбирает значение из списка значений по индексу. -COLUMN = СТОЛБЕЦ ## Возвращает номер столбца, на который указывает ссылка. -COLUMNS = ЧИСЛСТОЛБ ## Возвращает количество столбцов в ссылке. -HLOOKUP = ГПР ## Ищет в первой строке массива и возвращает значение отмеченной ячейки -HYPERLINK = ГИПЕРССЫЛКА ## Создает ссылку, открывающую документ, который находится на сервере сети, в интрасети или в Интернете. -INDEX = ИНДЕКС ## Использует индекс для выбора значения из ссылки или массива. -INDIRECT = ДВССЫЛ ## Возвращает ссылку, заданную текстовым значением. -LOOKUP = ПРОСМОТР ## Ищет значения в векторе или массиве. -MATCH = ПОИСКПОЗ ## Ищет значения в ссылке или массиве. -OFFSET = СМЕЩ ## Возвращает смещение ссылки относительно заданной ссылки. -ROW = СТРОКА ## Возвращает номер строки, определяемой ссылкой. -ROWS = ЧСТРОК ## Возвращает количество строк в ссылке. -RTD = ДРВ ## Извлекает данные реального времени из программ, поддерживающих автоматизацию COM (Программирование объектов. Стандартное средство для работы с объектами некоторого приложения из другого приложения или средства разработки. Программирование объектов (ранее называемое программированием OLE) является функцией модели COM (Component Object Model, модель компонентных объектов).). -TRANSPOSE = ТРАНСП ## Возвращает транспонированный массив. -VLOOKUP = ВПР ## Ищет значение в первом столбце массива и возвращает значение из ячейки в найденной строке и указанном столбце. - - -## -## Math and trigonometry functions Математические и тригонометрические функции -## -ABS = ABS ## Возвращает модуль (абсолютную величину) числа. -ACOS = ACOS ## Возвращает арккосинус числа. -ACOSH = ACOSH ## Возвращает гиперболический арккосинус числа. -ASIN = ASIN ## Возвращает арксинус числа. -ASINH = ASINH ## Возвращает гиперболический арксинус числа. -ATAN = ATAN ## Возвращает арктангенс числа. -ATAN2 = ATAN2 ## Возвращает арктангенс для заданных координат x и y. -ATANH = ATANH ## Возвращает гиперболический арктангенс числа. -CEILING = ОКРВВЕРХ ## Округляет число до ближайшего целого или до ближайшего кратного указанному значению. -COMBIN = ЧИСЛКОМБ ## Возвращает количество комбинаций для заданного числа объектов. -COS = COS ## Возвращает косинус числа. -COSH = COSH ## Возвращает гиперболический косинус числа. -DEGREES = ГРАДУСЫ ## Преобразует радианы в градусы. -EVEN = ЧЁТН ## Округляет число до ближайшего четного целого. -EXP = EXP ## Возвращает число e, возведенное в указанную степень. -FACT = ФАКТР ## Возвращает факториал числа. -FACTDOUBLE = ДВФАКТР ## Возвращает двойной факториал числа. -FLOOR = ОКРВНИЗ ## Округляет число до ближайшего меньшего по модулю значения. -GCD = НОД ## Возвращает наибольший общий делитель. -INT = ЦЕЛОЕ ## Округляет число до ближайшего меньшего целого. -LCM = НОК ## Возвращает наименьшее общее кратное. -LN = LN ## Возвращает натуральный логарифм числа. -LOG = LOG ## Возвращает логарифм числа по заданному основанию. -LOG10 = LOG10 ## Возвращает десятичный логарифм числа. -MDETERM = МОПРЕД ## Возвращает определитель матрицы массива. -MINVERSE = МОБР ## Возвращает обратную матрицу массива. -MMULT = МУМНОЖ ## Возвращает произведение матриц двух массивов. -MOD = ОСТАТ ## Возвращает остаток от деления. -MROUND = ОКРУГЛТ ## Возвращает число, округленное с требуемой точностью. -MULTINOMIAL = МУЛЬТИНОМ ## Возвращает мультиномиальный коэффициент множества чисел. -ODD = НЕЧЁТ ## Округляет число до ближайшего нечетного целого. -PI = ПИ ## Возвращает число пи. -POWER = СТЕПЕНЬ ## Возвращает результат возведения числа в степень. -PRODUCT = ПРОИЗВЕД ## Возвращает произведение аргументов. -QUOTIENT = ЧАСТНОЕ ## Возвращает целую часть частного при делении. -RADIANS = РАДИАНЫ ## Преобразует градусы в радианы. -RAND = СЛЧИС ## Возвращает случайное число в интервале от 0 до 1. -RANDBETWEEN = СЛУЧМЕЖДУ ## Возвращает случайное число в интервале между двумя заданными числами. -ROMAN = РИМСКОЕ ## Преобразует арабские цифры в римские в виде текста. -ROUND = ОКРУГЛ ## Округляет число до указанного количества десятичных разрядов. -ROUNDDOWN = ОКРУГЛВНИЗ ## Округляет число до ближайшего меньшего по модулю значения. -ROUNDUP = ОКРУГЛВВЕРХ ## Округляет число до ближайшего большего по модулю значения. -SERIESSUM = РЯД.СУММ ## Возвращает сумму степенного ряда, вычисленную по формуле. -SIGN = ЗНАК ## Возвращает знак числа. -SIN = SIN ## Возвращает синус заданного угла. -SINH = SINH ## Возвращает гиперболический синус числа. -SQRT = КОРЕНЬ ## Возвращает положительное значение квадратного корня. -SQRTPI = КОРЕНЬПИ ## Возвращает квадратный корень из значения выражения (число * ПИ). -SUBTOTAL = ПРОМЕЖУТОЧНЫЕ.ИТОГИ ## Возвращает промежуточный итог в списке или базе данных. -SUM = СУММ ## Суммирует аргументы. -SUMIF = СУММЕСЛИ ## Суммирует ячейки, удовлетворяющие заданному условию. -SUMIFS = СУММЕСЛИМН ## Суммирует диапазон ячеек, удовлетворяющих нескольким условиям. -SUMPRODUCT = СУММПРОИЗВ ## Возвращает сумму произведений соответствующих элементов массивов. -SUMSQ = СУММКВ ## Возвращает сумму квадратов аргументов. -SUMX2MY2 = СУММРАЗНКВ ## Возвращает сумму разностей квадратов соответствующих значений в двух массивах. -SUMX2PY2 = СУММСУММКВ ## Возвращает сумму сумм квадратов соответствующих элементов двух массивов. -SUMXMY2 = СУММКВРАЗН ## Возвращает сумму квадратов разностей соответствующих значений в двух массивах. -TAN = TAN ## Возвращает тангенс числа. -TANH = TANH ## Возвращает гиперболический тангенс числа. -TRUNC = ОТБР ## Отбрасывает дробную часть числа. - - -## -## Statistical functions Статистические функции -## -AVEDEV = СРОТКЛ ## Возвращает среднее арифметическое абсолютных значений отклонений точек данных от среднего. -AVERAGE = СРЗНАЧ ## Возвращает среднее арифметическое аргументов. -AVERAGEA = СРЗНАЧА ## Возвращает среднее арифметическое аргументов, включая числа, текст и логические значения. -AVERAGEIF = СРЗНАЧЕСЛИ ## Возвращает среднее значение (среднее арифметическое) всех ячеек в диапазоне, которые удовлетворяют данному условию. -AVERAGEIFS = СРЗНАЧЕСЛИМН ## Возвращает среднее значение (среднее арифметическое) всех ячеек, которые удовлетворяют нескольким условиям. -BETADIST = БЕТАРАСП ## Возвращает интегральную функцию бета-распределения. -BETAINV = БЕТАОБР ## Возвращает обратную интегральную функцию указанного бета-распределения. -BINOMDIST = БИНОМРАСП ## Возвращает отдельное значение биномиального распределения. -CHIDIST = ХИ2РАСП ## Возвращает одностороннюю вероятность распределения хи-квадрат. -CHIINV = ХИ2ОБР ## Возвращает обратное значение односторонней вероятности распределения хи-квадрат. -CHITEST = ХИ2ТЕСТ ## Возвращает тест на независимость. -CONFIDENCE = ДОВЕРИТ ## Возвращает доверительный интервал для среднего значения по генеральной совокупности. -CORREL = КОРРЕЛ ## Возвращает коэффициент корреляции между двумя множествами данных. -COUNT = СЧЁТ ## Подсчитывает количество чисел в списке аргументов. -COUNTA = СЧЁТЗ ## Подсчитывает количество значений в списке аргументов. -COUNTBLANK = СЧИТАТЬПУСТОТЫ ## Подсчитывает количество пустых ячеек в диапазоне -COUNTIF = СЧЁТЕСЛИ ## Подсчитывает количество ячеек в диапазоне, удовлетворяющих заданному условию -COUNTIFS = СЧЁТЕСЛИМН ## Подсчитывает количество ячеек внутри диапазона, удовлетворяющих нескольким условиям. -COVAR = КОВАР ## Возвращает ковариацию, среднее произведений парных отклонений -CRITBINOM = КРИТБИНОМ ## Возвращает наименьшее значение, для которого интегральное биномиальное распределение меньше или равно заданному критерию. -DEVSQ = КВАДРОТКЛ ## Возвращает сумму квадратов отклонений. -EXPONDIST = ЭКСПРАСП ## Возвращает экспоненциальное распределение. -FDIST = FРАСП ## Возвращает F-распределение вероятности. -FINV = FРАСПОБР ## Возвращает обратное значение для F-распределения вероятности. -FISHER = ФИШЕР ## Возвращает преобразование Фишера. -FISHERINV = ФИШЕРОБР ## Возвращает обратное преобразование Фишера. -FORECAST = ПРЕДСКАЗ ## Возвращает значение линейного тренда. -FREQUENCY = ЧАСТОТА ## Возвращает распределение частот в виде вертикального массива. -FTEST = ФТЕСТ ## Возвращает результат F-теста. -GAMMADIST = ГАММАРАСП ## Возвращает гамма-распределение. -GAMMAINV = ГАММАОБР ## Возвращает обратное гамма-распределение. -GAMMALN = ГАММАНЛОГ ## Возвращает натуральный логарифм гамма функции, Γ(x). -GEOMEAN = СРГЕОМ ## Возвращает среднее геометрическое. -GROWTH = РОСТ ## Возвращает значения в соответствии с экспоненциальным трендом. -HARMEAN = СРГАРМ ## Возвращает среднее гармоническое. -HYPGEOMDIST = ГИПЕРГЕОМЕТ ## Возвращает гипергеометрическое распределение. -INTERCEPT = ОТРЕЗОК ## Возвращает отрезок, отсекаемый на оси линией линейной регрессии. -KURT = ЭКСЦЕСС ## Возвращает эксцесс множества данных. -LARGE = НАИБОЛЬШИЙ ## Возвращает k-ое наибольшее значение в множестве данных. -LINEST = ЛИНЕЙН ## Возвращает параметры линейного тренда. -LOGEST = ЛГРФПРИБЛ ## Возвращает параметры экспоненциального тренда. -LOGINV = ЛОГНОРМОБР ## Возвращает обратное логарифмическое нормальное распределение. -LOGNORMDIST = ЛОГНОРМРАСП ## Возвращает интегральное логарифмическое нормальное распределение. -MAX = МАКС ## Возвращает наибольшее значение в списке аргументов. -MAXA = МАКСА ## Возвращает наибольшее значение в списке аргументов, включая числа, текст и логические значения. -MEDIAN = МЕДИАНА ## Возвращает медиану заданных чисел. -MIN = МИН ## Возвращает наименьшее значение в списке аргументов. -MINA = МИНА ## Возвращает наименьшее значение в списке аргументов, включая числа, текст и логические значения. -MODE = МОДА ## Возвращает значение моды множества данных. -NEGBINOMDIST = ОТРБИНОМРАСП ## Возвращает отрицательное биномиальное распределение. -NORMDIST = НОРМРАСП ## Возвращает нормальную функцию распределения. -NORMINV = НОРМОБР ## Возвращает обратное нормальное распределение. -NORMSDIST = НОРМСТРАСП ## Возвращает стандартное нормальное интегральное распределение. -NORMSINV = НОРМСТОБР ## Возвращает обратное значение стандартного нормального распределения. -PEARSON = ПИРСОН ## Возвращает коэффициент корреляции Пирсона. -PERCENTILE = ПЕРСЕНТИЛЬ ## Возвращает k-ую персентиль для значений диапазона. -PERCENTRANK = ПРОЦЕНТРАНГ ## Возвращает процентную норму значения в множестве данных. -PERMUT = ПЕРЕСТ ## Возвращает количество перестановок для заданного числа объектов. -POISSON = ПУАССОН ## Возвращает распределение Пуассона. -PROB = ВЕРОЯТНОСТЬ ## Возвращает вероятность того, что значение из диапазона находится внутри заданных пределов. -QUARTILE = КВАРТИЛЬ ## Возвращает квартиль множества данных. -RANK = РАНГ ## Возвращает ранг числа в списке чисел. -RSQ = КВПИРСОН ## Возвращает квадрат коэффициента корреляции Пирсона. -SKEW = СКОС ## Возвращает асимметрию распределения. -SLOPE = НАКЛОН ## Возвращает наклон линии линейной регрессии. -SMALL = НАИМЕНЬШИЙ ## Возвращает k-ое наименьшее значение в множестве данных. -STANDARDIZE = НОРМАЛИЗАЦИЯ ## Возвращает нормализованное значение. -STDEV = СТАНДОТКЛОН ## Оценивает стандартное отклонение по выборке. -STDEVA = СТАНДОТКЛОНА ## Оценивает стандартное отклонение по выборке, включая числа, текст и логические значения. -STDEVP = СТАНДОТКЛОНП ## Вычисляет стандартное отклонение по генеральной совокупности. -STDEVPA = СТАНДОТКЛОНПА ## Вычисляет стандартное отклонение по генеральной совокупности, включая числа, текст и логические значения. -STEYX = СТОШYX ## Возвращает стандартную ошибку предсказанных значений y для каждого значения x в регрессии. -TDIST = СТЬЮДРАСП ## Возвращает t-распределение Стьюдента. -TINV = СТЬЮДРАСПОБР ## Возвращает обратное t-распределение Стьюдента. -TREND = ТЕНДЕНЦИЯ ## Возвращает значения в соответствии с линейным трендом. -TRIMMEAN = УРЕЗСРЕДНЕЕ ## Возвращает среднее внутренности множества данных. -TTEST = ТТЕСТ ## Возвращает вероятность, соответствующую критерию Стьюдента. -VAR = ДИСП ## Оценивает дисперсию по выборке. -VARA = ДИСПА ## Оценивает дисперсию по выборке, включая числа, текст и логические значения. -VARP = ДИСПР ## Вычисляет дисперсию для генеральной совокупности. -VARPA = ДИСПРА ## Вычисляет дисперсию для генеральной совокупности, включая числа, текст и логические значения. -WEIBULL = ВЕЙБУЛЛ ## Возвращает распределение Вейбулла. -ZTEST = ZТЕСТ ## Возвращает двустороннее P-значение z-теста. - - -## -## Text functions Текстовые функции -## -ASC = ASC ## Для языков с двухбайтовыми наборами знаков (например, катакана) преобразует полноширинные (двухбайтовые) знаки в полуширинные (однобайтовые). -BAHTTEXT = БАТТЕКСТ ## Преобразует число в текст, используя денежный формат ß (БАТ). -CHAR = СИМВОЛ ## Возвращает знак с заданным кодом. -CLEAN = ПЕЧСИМВ ## Удаляет все непечатаемые знаки из текста. -CODE = КОДСИМВ ## Возвращает числовой код первого знака в текстовой строке. -CONCATENATE = СЦЕПИТЬ ## Объединяет несколько текстовых элементов в один. -DOLLAR = РУБЛЬ ## Преобразует число в текст, используя денежный формат. -EXACT = СОВПАД ## Проверяет идентичность двух текстовых значений. -FIND = НАЙТИ ## Ищет вхождения одного текстового значения в другом (с учетом регистра). -FINDB = НАЙТИБ ## Ищет вхождения одного текстового значения в другом (с учетом регистра). -FIXED = ФИКСИРОВАННЫЙ ## Форматирует число и преобразует его в текст с заданным числом десятичных знаков. -JIS = JIS ## Для языков с двухбайтовыми наборами знаков (например, катакана) преобразует полуширинные (однобайтовые) знаки в текстовой строке в полноширинные (двухбайтовые). -LEFT = ЛЕВСИМВ ## Возвращает крайние слева знаки текстового значения. -LEFTB = ЛЕВБ ## Возвращает крайние слева знаки текстового значения. -LEN = ДЛСТР ## Возвращает количество знаков в текстовой строке. -LENB = ДЛИНБ ## Возвращает количество знаков в текстовой строке. -LOWER = СТРОЧН ## Преобразует все буквы текста в строчные. -MID = ПСТР ## Возвращает заданное число знаков из строки текста, начиная с указанной позиции. -MIDB = ПСТРБ ## Возвращает заданное число знаков из строки текста, начиная с указанной позиции. -PHONETIC = PHONETIC ## Извлекает фонетические (фуригана) знаки из текстовой строки. -PROPER = ПРОПНАЧ ## Преобразует первую букву в каждом слове текста в прописную. -REPLACE = ЗАМЕНИТЬ ## Заменяет знаки в тексте. -REPLACEB = ЗАМЕНИТЬБ ## Заменяет знаки в тексте. -REPT = ПОВТОР ## Повторяет текст заданное число раз. -RIGHT = ПРАВСИМВ ## Возвращает крайние справа знаки текстовой строки. -RIGHTB = ПРАВБ ## Возвращает крайние справа знаки текстовой строки. -SEARCH = ПОИСК ## Ищет вхождения одного текстового значения в другом (без учета регистра). -SEARCHB = ПОИСКБ ## Ищет вхождения одного текстового значения в другом (без учета регистра). -SUBSTITUTE = ПОДСТАВИТЬ ## Заменяет в текстовой строке старый текст новым. -T = Т ## Преобразует аргументы в текст. -TEXT = ТЕКСТ ## Форматирует число и преобразует его в текст. -TRIM = СЖПРОБЕЛЫ ## Удаляет из текста пробелы. -UPPER = ПРОПИСН ## Преобразует все буквы текста в прописные. -VALUE = ЗНАЧЕН ## Преобразует текстовый аргумент в число. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/ru/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/config deleted file mode 100644 index 726f77164..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = kr - - -## -## Excel Error Codes (For future use) -## -NULL = #Skärning! -DIV0 = #Division/0! -VALUE = #Värdefel! -REF = #Referens! -NAME = #Namn? -NUM = #Ogiltigt! -NA = #Saknas! diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/functions deleted file mode 100644 index 9af37d8e4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/functions +++ /dev/null @@ -1,408 +0,0 @@ -## -## Add-in and Automation functions Tilläggs- och automatiseringsfunktioner -## -GETPIVOTDATA = HÄMTA.PIVOTDATA ## Returnerar data som lagrats i en pivottabellrapport - - -## -## Cube functions Kubfunktioner -## -CUBEKPIMEMBER = KUBKPIMEDLEM ## Returnerar namn, egenskap och mått för en KPI och visar namnet och egenskapen i cellen. En KPI, eller prestandaindikator, är ett kvantifierbart mått, t.ex. månatlig bruttovinst eller personalomsättning per kvartal, som används för att analysera ett företags resultat. -CUBEMEMBER = KUBMEDLEM ## Returnerar en medlem eller ett par i en kubhierarki. Används för att verifiera att medlemmen eller paret finns i kuben. -CUBEMEMBERPROPERTY = KUBMEDLEMSEGENSKAP ## Returnerar värdet för en medlemsegenskap i kuben. Används för att verifiera att ett medlemsnamn finns i kuben, samt för att returnera den angivna egenskapen för medlemmen. -CUBERANKEDMEMBER = KUBRANGORDNADMEDLEM ## Returnerar den n:te, eller rangordnade, medlemmen i en uppsättning. Används för att returnera ett eller flera element i en uppsättning, till exempelvis den bästa försäljaren eller de tio bästa eleverna. -CUBESET = KUBINSTÄLLNING ## Definierar en beräknad uppsättning medlemmar eller par genom att skicka ett bestämt uttryck till kuben på servern, som skapar uppsättningen och sedan returnerar den till Microsoft Office Excel. -CUBESETCOUNT = KUBINSTÄLLNINGANTAL ## Returnerar antalet objekt i en uppsättning. -CUBEVALUE = KUBVÄRDE ## Returnerar ett mängdvärde från en kub. - - -## -## Database functions Databasfunktioner -## -DAVERAGE = DMEDEL ## Returnerar medelvärdet av databasposterna -DCOUNT = DANTAL ## Räknar antalet celler som innehåller tal i en databas -DCOUNTA = DANTALV ## Räknar ifyllda celler i en databas -DGET = DHÄMTA ## Hämtar en enstaka post från en databas som uppfyller de angivna villkoren -DMAX = DMAX ## Returnerar det största värdet från databasposterna -DMIN = DMIN ## Returnerar det minsta värdet från databasposterna -DPRODUCT = DPRODUKT ## Multiplicerar värdena i ett visst fält i poster som uppfyller villkoret -DSTDEV = DSTDAV ## Uppskattar standardavvikelsen baserat på ett urval av databasposterna -DSTDEVP = DSTDAVP ## Beräknar standardavvikelsen utifrån hela populationen av valda databasposter -DSUM = DSUMMA ## Summerar talen i kolumnfält i databasposter som uppfyller villkoret -DVAR = DVARIANS ## Uppskattar variansen baserat på ett urval av databasposterna -DVARP = DVARIANSP ## Beräknar variansen utifrån hela populationen av valda databasposter - - -## -## Date and time functions Tid- och datumfunktioner -## -DATE = DATUM ## Returnerar ett serienummer för ett visst datum -DATEVALUE = DATUMVÄRDE ## Konverterar ett datum i textformat till ett serienummer -DAY = DAG ## Konverterar ett serienummer till dag i månaden -DAYS360 = DAGAR360 ## Beräknar antalet dagar mellan två datum baserat på ett 360-dagarsår -EDATE = EDATUM ## Returnerar serienumret för ett datum som infaller ett visst antal månader före eller efter startdatumet -EOMONTH = SLUTMÅNAD ## Returnerar serienumret för sista dagen i månaden ett visst antal månader tidigare eller senare -HOUR = TIMME ## Konverterar ett serienummer till en timme -MINUTE = MINUT ## Konverterar ett serienummer till en minut -MONTH = MÅNAD ## Konverterar ett serienummer till en månad -NETWORKDAYS = NETTOARBETSDAGAR ## Returnerar antalet hela arbetsdagar mellan två datum -NOW = NU ## Returnerar serienumret för dagens datum och aktuell tid -SECOND = SEKUND ## Konverterar ett serienummer till en sekund -TIME = KLOCKSLAG ## Returnerar serienumret för en viss tid -TIMEVALUE = TIDVÄRDE ## Konverterar en tid i textformat till ett serienummer -TODAY = IDAG ## Returnerar serienumret för dagens datum -WEEKDAY = VECKODAG ## Konverterar ett serienummer till en dag i veckan -WEEKNUM = VECKONR ## Konverterar ett serienummer till ett veckonummer -WORKDAY = ARBETSDAGAR ## Returnerar serienumret för ett datum ett visst antal arbetsdagar tidigare eller senare -YEAR = ÅR ## Konverterar ett serienummer till ett år -YEARFRAC = ÅRDEL ## Returnerar en del av ett år som representerar antalet hela dagar mellan start- och slutdatum - - -## -## Engineering functions Tekniska funktioner -## -BESSELI = BESSELI ## Returnerar den modifierade Bessel-funktionen In(x) -BESSELJ = BESSELJ ## Returnerar Bessel-funktionen Jn(x) -BESSELK = BESSELK ## Returnerar den modifierade Bessel-funktionen Kn(x) -BESSELY = BESSELY ## Returnerar Bessel-funktionen Yn(x) -BIN2DEC = BIN.TILL.DEC ## Omvandlar ett binärt tal till decimalt -BIN2HEX = BIN.TILL.HEX ## Omvandlar ett binärt tal till hexadecimalt -BIN2OCT = BIN.TILL.OKT ## Omvandlar ett binärt tal till oktalt -COMPLEX = KOMPLEX ## Omvandlar reella och imaginära koefficienter till ett komplext tal -CONVERT = KONVERTERA ## Omvandlar ett tal från ett måttsystem till ett annat -DEC2BIN = DEC.TILL.BIN ## Omvandlar ett decimalt tal till binärt -DEC2HEX = DEC.TILL.HEX ## Omvandlar ett decimalt tal till hexadecimalt -DEC2OCT = DEC.TILL.OKT ## Omvandlar ett decimalt tal till oktalt -DELTA = DELTA ## Testar om två värden är lika -ERF = FELF ## Returnerar felfunktionen -ERFC = FELFK ## Returnerar den komplementära felfunktionen -GESTEP = SLSTEG ## Testar om ett tal är större än ett tröskelvärde -HEX2BIN = HEX.TILL.BIN ## Omvandlar ett hexadecimalt tal till binärt -HEX2DEC = HEX.TILL.DEC ## Omvandlar ett hexadecimalt tal till decimalt -HEX2OCT = HEX.TILL.OKT ## Omvandlar ett hexadecimalt tal till oktalt -IMABS = IMABS ## Returnerar absolutvärdet (modulus) för ett komplext tal -IMAGINARY = IMAGINÄR ## Returnerar den imaginära koefficienten för ett komplext tal -IMARGUMENT = IMARGUMENT ## Returnerar det komplexa talets argument, en vinkel uttryckt i radianer -IMCONJUGATE = IMKONJUGAT ## Returnerar det komplexa talets konjugat -IMCOS = IMCOS ## Returnerar cosinus för ett komplext tal -IMDIV = IMDIV ## Returnerar kvoten för två komplexa tal -IMEXP = IMEUPPHÖJT ## Returnerar exponenten för ett komplext tal -IMLN = IMLN ## Returnerar den naturliga logaritmen för ett komplext tal -IMLOG10 = IMLOG10 ## Returnerar 10-logaritmen för ett komplext tal -IMLOG2 = IMLOG2 ## Returnerar 2-logaritmen för ett komplext tal -IMPOWER = IMUPPHÖJT ## Returnerar ett komplext tal upphöjt till en exponent -IMPRODUCT = IMPRODUKT ## Returnerar produkten av komplexa tal -IMREAL = IMREAL ## Returnerar den reella koefficienten för ett komplext tal -IMSIN = IMSIN ## Returnerar sinus för ett komplext tal -IMSQRT = IMROT ## Returnerar kvadratroten av ett komplext tal -IMSUB = IMDIFF ## Returnerar differensen mellan två komplexa tal -IMSUM = IMSUM ## Returnerar summan av komplexa tal -OCT2BIN = OKT.TILL.BIN ## Omvandlar ett oktalt tal till binärt -OCT2DEC = OKT.TILL.DEC ## Omvandlar ett oktalt tal till decimalt -OCT2HEX = OKT.TILL.HEX ## Omvandlar ett oktalt tal till hexadecimalt - - -## -## Financial functions Finansiella funktioner -## -ACCRINT = UPPLRÄNTA ## Returnerar den upplupna räntan för värdepapper med periodisk ränta -ACCRINTM = UPPLOBLRÄNTA ## Returnerar den upplupna räntan för ett värdepapper som ger avkastning på förfallodagen -AMORDEGRC = AMORDEGRC ## Returnerar avskrivningen för varje redovisningsperiod med hjälp av en avskrivningskoefficient -AMORLINC = AMORLINC ## Returnerar avskrivningen för varje redovisningsperiod -COUPDAYBS = KUPDAGBB ## Returnerar antal dagar från början av kupongperioden till likviddagen -COUPDAYS = KUPDAGARS ## Returnerar antalet dagar i kupongperioden som innehåller betalningsdatumet -COUPDAYSNC = KUPDAGNK ## Returnerar antalet dagar från betalningsdatumet till nästa kupongdatum -COUPNCD = KUPNKD ## Returnerar nästa kupongdatum efter likviddagen -COUPNUM = KUPANT ## Returnerar kuponger som förfaller till betalning mellan likviddagen och förfallodagen -COUPPCD = KUPFKD ## Returnerar föregående kupongdatum före likviddagen -CUMIPMT = KUMRÄNTA ## Returnerar den ackumulerade räntan som betalats mellan två perioder -CUMPRINC = KUMPRIS ## Returnerar det ackumulerade kapitalbeloppet som betalats på ett lån mellan två perioder -DB = DB ## Returnerar avskrivningen för en tillgång under en angiven tid enligt metoden för fast degressiv avskrivning -DDB = DEGAVSKR ## Returnerar en tillgångs värdeminskning under en viss period med hjälp av dubbel degressiv avskrivning eller någon annan metod som du anger -DISC = DISK ## Returnerar diskonteringsräntan för ett värdepapper -DOLLARDE = DECTAL ## Omvandlar ett pris uttryckt som ett bråk till ett decimaltal -DOLLARFR = BRÅK ## Omvandlar ett pris i kronor uttryckt som ett decimaltal till ett bråk -DURATION = LÖPTID ## Returnerar den årliga löptiden för en säkerhet med periodiska räntebetalningar -EFFECT = EFFRÄNTA ## Returnerar den årliga effektiva räntesatsen -FV = SLUTVÄRDE ## Returnerar det framtida värdet på en investering -FVSCHEDULE = FÖRRÄNTNING ## Returnerar det framtida värdet av ett begynnelsekapital beräknat på olika räntenivåer -INTRATE = ÅRSRÄNTA ## Returnerar räntesatsen för ett betalt värdepapper -IPMT = RBETALNING ## Returnerar räntedelen av en betalning för en given period -IRR = IR ## Returnerar internräntan för en serie betalningar -ISPMT = RALÅN ## Beräknar räntan som har betalats under en specifik betalningsperiod -MDURATION = MLÖPTID ## Returnerar den modifierade Macauley-löptiden för ett värdepapper med det antagna nominella värdet 100 kr -MIRR = MODIR ## Returnerar internräntan där positiva och negativa betalningar finansieras med olika räntor -NOMINAL = NOMRÄNTA ## Returnerar den årliga nominella räntesatsen -NPER = PERIODER ## Returnerar antalet perioder för en investering -NPV = NETNUVÄRDE ## Returnerar nuvärdet av en serie periodiska betalningar vid en given diskonteringsränta -ODDFPRICE = UDDAFPRIS ## Returnerar priset per 100 kr nominellt värde för ett värdepapper med en udda första period -ODDFYIELD = UDDAFAVKASTNING ## Returnerar avkastningen för en säkerhet med en udda första period -ODDLPRICE = UDDASPRIS ## Returnerar priset per 100 kr nominellt värde för ett värdepapper med en udda sista period -ODDLYIELD = UDDASAVKASTNING ## Returnerar avkastningen för en säkerhet med en udda sista period -PMT = BETALNING ## Returnerar den periodiska betalningen för en annuitet -PPMT = AMORT ## Returnerar amorteringsdelen av en annuitetsbetalning för en given period -PRICE = PRIS ## Returnerar priset per 100 kr nominellt värde för ett värdepapper som ger periodisk ränta -PRICEDISC = PRISDISK ## Returnerar priset per 100 kr nominellt värde för ett diskonterat värdepapper -PRICEMAT = PRISFÖRF ## Returnerar priset per 100 kr nominellt värde för ett värdepapper som ger ränta på förfallodagen -PV = PV ## Returnerar nuvärdet av en serie lika stora periodiska betalningar -RATE = RÄNTA ## Returnerar räntesatsen per period i en annuitet -RECEIVED = BELOPP ## Returnerar beloppet som utdelas på förfallodagen för ett betalat värdepapper -SLN = LINAVSKR ## Returnerar den linjära avskrivningen för en tillgång under en period -SYD = ÅRSAVSKR ## Returnerar den årliga avskrivningssumman för en tillgång under en angiven period -TBILLEQ = SSVXEKV ## Returnerar avkastningen motsvarande en obligation för en statsskuldväxel -TBILLPRICE = SSVXPRIS ## Returnerar priset per 100 kr nominellt värde för en statsskuldväxel -TBILLYIELD = SSVXRÄNTA ## Returnerar avkastningen för en statsskuldväxel -VDB = VDEGRAVSKR ## Returnerar avskrivningen för en tillgång under en angiven period (med degressiv avskrivning) -XIRR = XIRR ## Returnerar internräntan för en serie betalningar som inte nödvändigtvis är periodiska -XNPV = XNUVÄRDE ## Returnerar det nuvarande nettovärdet för en serie betalningar som inte nödvändigtvis är periodiska -YIELD = NOMAVK ## Returnerar avkastningen för ett värdepapper som ger periodisk ränta -YIELDDISC = NOMAVKDISK ## Returnerar den årliga avkastningen för diskonterade värdepapper, exempelvis en statsskuldväxel -YIELDMAT = NOMAVKFÖRF ## Returnerar den årliga avkastningen för ett värdepapper som ger ränta på förfallodagen - - -## -## Information functions Informationsfunktioner -## -CELL = CELL ## Returnerar information om formatering, plats och innehåll i en cell -ERROR.TYPE = FEL.TYP ## Returnerar ett tal som motsvarar ett felvärde -INFO = INFO ## Returnerar information om operativsystemet -ISBLANK = ÄRREF ## Returnerar SANT om värdet är tomt -ISERR = Ä ## Returnerar SANT om värdet är ett felvärde annat än #SAKNAS! -ISERROR = ÄRFEL ## Returnerar SANT om värdet är ett felvärde -ISEVEN = ÄRJÄMN ## Returnerar SANT om talet är jämnt -ISLOGICAL = ÄREJTEXT ## Returnerar SANT om värdet är ett logiskt värde -ISNA = ÄRLOGISK ## Returnerar SANT om värdet är felvärdet #SAKNAS! -ISNONTEXT = ÄRSAKNAD ## Returnerar SANT om värdet inte är text -ISNUMBER = ÄRTAL ## Returnerar SANT om värdet är ett tal -ISODD = ÄRUDDA ## Returnerar SANT om talet är udda -ISREF = ÄRTOM ## Returnerar SANT om värdet är en referens -ISTEXT = ÄRTEXT ## Returnerar SANT om värdet är text -N = N ## Returnerar ett värde omvandlat till ett tal -NA = SAKNAS ## Returnerar felvärdet #SAKNAS! -TYPE = VÄRDETYP ## Returnerar ett tal som anger värdets datatyp - - -## -## Logical functions Logiska funktioner -## -AND = OCH ## Returnerar SANT om alla argument är sanna -FALSE = FALSKT ## Returnerar det logiska värdet FALSKT -IF = OM ## Anger vilket logiskt test som ska utföras -IFERROR = OMFEL ## Returnerar ett värde som du anger om en formel utvärderar till ett fel; annars returneras resultatet av formeln -NOT = ICKE ## Inverterar logiken för argumenten -OR = ELLER ## Returnerar SANT om något argument är SANT -TRUE = SANT ## Returnerar det logiska värdet SANT - - -## -## Lookup and reference functions Sök- och referensfunktioner -## -ADDRESS = ADRESS ## Returnerar en referens som text till en enstaka cell i ett kalkylblad -AREAS = OMRÅDEN ## Returnerar antalet områden i en referens -CHOOSE = VÄLJ ## Väljer ett värde i en lista över värden -COLUMN = KOLUMN ## Returnerar kolumnnumret för en referens -COLUMNS = KOLUMNER ## Returnerar antalet kolumner i en referens -HLOOKUP = LETAKOLUMN ## Söker i den översta raden i en matris och returnerar värdet för angiven cell -HYPERLINK = HYPERLÄNK ## Skapar en genväg eller ett hopp till ett dokument i nätverket, i ett intranät eller på Internet -INDEX = INDEX ## Använder ett index för ett välja ett värde i en referens eller matris -INDIRECT = INDIREKT ## Returnerar en referens som anges av ett textvärde -LOOKUP = LETAUPP ## Letar upp värden i en vektor eller matris -MATCH = PASSA ## Letar upp värden i en referens eller matris -OFFSET = FÖRSKJUTNING ## Returnerar en referens förskjuten i förhållande till en given referens -ROW = RAD ## Returnerar radnumret för en referens -ROWS = RADER ## Returnerar antalet rader i en referens -RTD = RTD ## Hämtar realtidsdata från ett program som stöder COM-automation (Automation: Ett sätt att arbeta med ett programs objekt från ett annat program eller utvecklingsverktyg. Detta kallades tidigare för OLE Automation, och är en branschstandard och ingår i Component Object Model (COM).) -TRANSPOSE = TRANSPONERA ## Transponerar en matris -VLOOKUP = LETARAD ## Letar i den första kolumnen i en matris och flyttar över raden för att returnera värdet för en cell - - -## -## Math and trigonometry functions Matematiska och trigonometriska funktioner -## -ABS = ABS ## Returnerar absolutvärdet av ett tal -ACOS = ARCCOS ## Returnerar arcus cosinus för ett tal -ACOSH = ARCCOSH ## Returnerar inverterad hyperbolisk cosinus för ett tal -ASIN = ARCSIN ## Returnerar arcus cosinus för ett tal -ASINH = ARCSINH ## Returnerar hyperbolisk arcus sinus för ett tal -ATAN = ARCTAN ## Returnerar arcus tangens för ett tal -ATAN2 = ARCTAN2 ## Returnerar arcus tangens för en x- och en y- koordinat -ATANH = ARCTANH ## Returnerar hyperbolisk arcus tangens för ett tal -CEILING = RUNDA.UPP ## Avrundar ett tal till närmaste heltal eller närmaste signifikanta multipel -COMBIN = KOMBIN ## Returnerar antalet kombinationer för ett givet antal objekt -COS = COS ## Returnerar cosinus för ett tal -COSH = COSH ## Returnerar hyperboliskt cosinus för ett tal -DEGREES = GRADER ## Omvandlar radianer till grader -EVEN = JÄMN ## Avrundar ett tal uppåt till närmaste heltal -EXP = EXP ## Returnerar e upphöjt till ett givet tal -FACT = FAKULTET ## Returnerar fakulteten för ett tal -FACTDOUBLE = DUBBELFAKULTET ## Returnerar dubbelfakulteten för ett tal -FLOOR = RUNDA.NED ## Avrundar ett tal nedåt mot noll -GCD = SGD ## Returnerar den största gemensamma nämnaren -INT = HELTAL ## Avrundar ett tal nedåt till närmaste heltal -LCM = MGM ## Returnerar den minsta gemensamma multipeln -LN = LN ## Returnerar den naturliga logaritmen för ett tal -LOG = LOG ## Returnerar logaritmen för ett tal för en given bas -LOG10 = LOG10 ## Returnerar 10-logaritmen för ett tal -MDETERM = MDETERM ## Returnerar matrisen som är avgörandet av en matris -MINVERSE = MINVERT ## Returnerar matrisinversen av en matris -MMULT = MMULT ## Returnerar matrisprodukten av två matriser -MOD = REST ## Returnerar resten vid en division -MROUND = MAVRUNDA ## Returnerar ett tal avrundat till en given multipel -MULTINOMIAL = MULTINOMIAL ## Returnerar multinomialen för en uppsättning tal -ODD = UDDA ## Avrundar ett tal uppåt till närmaste udda heltal -PI = PI ## Returnerar värdet pi -POWER = UPPHÖJT.TILL ## Returnerar resultatet av ett tal upphöjt till en exponent -PRODUCT = PRODUKT ## Multiplicerar argumenten -QUOTIENT = KVOT ## Returnerar heltalsdelen av en division -RADIANS = RADIANER ## Omvandlar grader till radianer -RAND = SLUMP ## Returnerar ett slumptal mellan 0 och 1 -RANDBETWEEN = SLUMP.MELLAN ## Returnerar ett slumptal mellan de tal som du anger -ROMAN = ROMERSK ## Omvandlar vanliga (arabiska) siffror till romerska som text -ROUND = AVRUNDA ## Avrundar ett tal till ett angivet antal siffror -ROUNDDOWN = AVRUNDA.NEDÅT ## Avrundar ett tal nedåt mot noll -ROUNDUP = AVRUNDA.UPPÅT ## Avrundar ett tal uppåt, från noll -SERIESSUM = SERIESUMMA ## Returnerar summan av en potensserie baserat på formeln -SIGN = TECKEN ## Returnerar tecknet för ett tal -SIN = SIN ## Returnerar sinus för en given vinkel -SINH = SINH ## Returnerar hyperbolisk sinus för ett tal -SQRT = ROT ## Returnerar den positiva kvadratroten -SQRTPI = ROTPI ## Returnerar kvadratroten för (tal * pi) -SUBTOTAL = DELSUMMA ## Returnerar en delsumma i en lista eller databas -SUM = SUMMA ## Summerar argumenten -SUMIF = SUMMA.OM ## Summerar celler enligt ett angivet villkor -SUMIFS = SUMMA.OMF ## Lägger till cellerna i ett område som uppfyller flera kriterier -SUMPRODUCT = PRODUKTSUMMA ## Returnerar summan av produkterna i motsvarande matriskomponenter -SUMSQ = KVADRATSUMMA ## Returnerar summan av argumentens kvadrater -SUMX2MY2 = SUMMAX2MY2 ## Returnerar summan av differensen mellan kvadraterna för motsvarande värden i två matriser -SUMX2PY2 = SUMMAX2PY2 ## Returnerar summan av summan av kvadraterna av motsvarande värden i två matriser -SUMXMY2 = SUMMAXMY2 ## Returnerar summan av kvadraten av skillnaden mellan motsvarande värden i två matriser -TAN = TAN ## Returnerar tangens för ett tal -TANH = TANH ## Returnerar hyperbolisk tangens för ett tal -TRUNC = AVKORTA ## Avkortar ett tal till ett heltal - - -## -## Statistical functions Statistiska funktioner -## -AVEDEV = MEDELAVV ## Returnerar medelvärdet för datapunkters absoluta avvikelse från deras medelvärde -AVERAGE = MEDEL ## Returnerar medelvärdet av argumenten -AVERAGEA = AVERAGEA ## Returnerar medelvärdet av argumenten, inklusive tal, text och logiska värden -AVERAGEIF = MEDELOM ## Returnerar medelvärdet (aritmetiskt medelvärde) för alla celler i ett område som uppfyller ett givet kriterium -AVERAGEIFS = MEDELOMF ## Returnerar medelvärdet (det aritmetiska medelvärdet) för alla celler som uppfyller flera villkor. -BETADIST = BETAFÖRD ## Returnerar den kumulativa betafördelningsfunktionen -BETAINV = BETAINV ## Returnerar inversen till den kumulativa fördelningsfunktionen för en viss betafördelning -BINOMDIST = BINOMFÖRD ## Returnerar den individuella binomialfördelningen -CHIDIST = CHI2FÖRD ## Returnerar den ensidiga sannolikheten av c2-fördelningen -CHIINV = CHI2INV ## Returnerar inversen av chi2-fördelningen -CHITEST = CHI2TEST ## Returnerar oberoendetesten -CONFIDENCE = KONFIDENS ## Returnerar konfidensintervallet för en populations medelvärde -CORREL = KORREL ## Returnerar korrelationskoefficienten mellan två datamängder -COUNT = ANTAL ## Räknar hur många tal som finns bland argumenten -COUNTA = ANTALV ## Räknar hur många värden som finns bland argumenten -COUNTBLANK = ANTAL.TOMMA ## Räknar antalet tomma celler i ett område -COUNTIF = ANTAL.OM ## Räknar antalet celler i ett område som uppfyller angivna villkor. -COUNTIFS = ANTAL.OMF ## Räknar antalet celler i ett område som uppfyller flera villkor. -COVAR = KOVAR ## Returnerar kovariansen, d.v.s. medelvärdet av produkterna för parade avvikelser -CRITBINOM = KRITBINOM ## Returnerar det minsta värdet för vilket den kumulativa binomialfördelningen är mindre än eller lika med ett villkorsvärde -DEVSQ = KVADAVV ## Returnerar summan av kvadrater på avvikelser -EXPONDIST = EXPONFÖRD ## Returnerar exponentialfördelningen -FDIST = FFÖRD ## Returnerar F-sannolikhetsfördelningen -FINV = FINV ## Returnerar inversen till F-sannolikhetsfördelningen -FISHER = FISHER ## Returnerar Fisher-transformationen -FISHERINV = FISHERINV ## Returnerar inversen till Fisher-transformationen -FORECAST = PREDIKTION ## Returnerar ett värde längs en linjär trendlinje -FREQUENCY = FREKVENS ## Returnerar en frekvensfördelning som en lodrät matris -FTEST = FTEST ## Returnerar resultatet av en F-test -GAMMADIST = GAMMAFÖRD ## Returnerar gammafördelningen -GAMMAINV = GAMMAINV ## Returnerar inversen till den kumulativa gammafördelningen -GAMMALN = GAMMALN ## Returnerar den naturliga logaritmen för gammafunktionen, G(x) -GEOMEAN = GEOMEDEL ## Returnerar det geometriska medelvärdet -GROWTH = EXPTREND ## Returnerar värden längs en exponentiell trend -HARMEAN = HARMMEDEL ## Returnerar det harmoniska medelvärdet -HYPGEOMDIST = HYPGEOMFÖRD ## Returnerar den hypergeometriska fördelningen -INTERCEPT = SKÄRNINGSPUNKT ## Returnerar skärningspunkten för en linjär regressionslinje -KURT = TOPPIGHET ## Returnerar toppigheten av en mängd data -LARGE = STÖRSTA ## Returnerar det n:te största värdet i en mängd data -LINEST = REGR ## Returnerar parametrar till en linjär trendlinje -LOGEST = EXPREGR ## Returnerar parametrarna i en exponentiell trend -LOGINV = LOGINV ## Returnerar inversen till den lognormala fördelningen -LOGNORMDIST = LOGNORMFÖRD ## Returnerar den kumulativa lognormala fördelningen -MAX = MAX ## Returnerar det största värdet i en lista av argument -MAXA = MAXA ## Returnerar det största värdet i en lista av argument, inklusive tal, text och logiska värden -MEDIAN = MEDIAN ## Returnerar medianen för angivna tal -MIN = MIN ## Returnerar det minsta värdet i en lista med argument -MINA = MINA ## Returnerar det minsta värdet i en lista över argument, inklusive tal, text och logiska värden -MODE = TYPVÄRDE ## Returnerar det vanligaste värdet i en datamängd -NEGBINOMDIST = NEGBINOMFÖRD ## Returnerar den negativa binomialfördelningen -NORMDIST = NORMFÖRD ## Returnerar den kumulativa normalfördelningen -NORMINV = NORMINV ## Returnerar inversen till den kumulativa normalfördelningen -NORMSDIST = NORMSFÖRD ## Returnerar den kumulativa standardnormalfördelningen -NORMSINV = NORMSINV ## Returnerar inversen till den kumulativa standardnormalfördelningen -PEARSON = PEARSON ## Returnerar korrelationskoefficienten till Pearsons momentprodukt -PERCENTILE = PERCENTIL ## Returnerar den n:te percentilen av värden i ett område -PERCENTRANK = PROCENTRANG ## Returnerar procentrangen för ett värde i en datamängd -PERMUT = PERMUT ## Returnerar antal permutationer för ett givet antal objekt -POISSON = POISSON ## Returnerar Poisson-fördelningen -PROB = SANNOLIKHET ## Returnerar sannolikheten att värden i ett område ligger mellan två gränser -QUARTILE = KVARTIL ## Returnerar kvartilen av en mängd data -RANK = RANG ## Returnerar rangordningen för ett tal i en lista med tal -RSQ = RKV ## Returnerar kvadraten av Pearsons produktmomentkorrelationskoefficient -SKEW = SNEDHET ## Returnerar snedheten för en fördelning -SLOPE = LUTNING ## Returnerar lutningen på en linjär regressionslinje -SMALL = MINSTA ## Returnerar det n:te minsta värdet i en mängd data -STANDARDIZE = STANDARDISERA ## Returnerar ett normaliserat värde -STDEV = STDAV ## Uppskattar standardavvikelsen baserat på ett urval -STDEVA = STDEVA ## Uppskattar standardavvikelsen baserat på ett urval, inklusive tal, text och logiska värden -STDEVP = STDAVP ## Beräknar standardavvikelsen baserat på hela populationen -STDEVPA = STDEVPA ## Beräknar standardavvikelsen baserat på hela populationen, inklusive tal, text och logiska värden -STEYX = STDFELYX ## Returnerar standardfelet för ett förutspått y-värde för varje x-värde i regressionen -TDIST = TFÖRD ## Returnerar Students t-fördelning -TINV = TINV ## Returnerar inversen till Students t-fördelning -TREND = TREND ## Returnerar värden längs en linjär trend -TRIMMEAN = TRIMMEDEL ## Returnerar medelvärdet av mittpunkterna i en datamängd -TTEST = TTEST ## Returnerar sannolikheten beräknad ur Students t-test -VAR = VARIANS ## Uppskattar variansen baserat på ett urval -VARA = VARA ## Uppskattar variansen baserat på ett urval, inklusive tal, text och logiska värden -VARP = VARIANSP ## Beräknar variansen baserat på hela populationen -VARPA = VARPA ## Beräknar variansen baserat på hela populationen, inklusive tal, text och logiska värden -WEIBULL = WEIBULL ## Returnerar Weibull-fördelningen -ZTEST = ZTEST ## Returnerar det ensidiga sannolikhetsvärdet av ett z-test - - -## -## Text functions Textfunktioner -## -ASC = ASC ## Ändrar helbredds (dubbel byte) engelska bokstäver eller katakana inom en teckensträng till tecken med halvt breddsteg (enkel byte) -BAHTTEXT = BAHTTEXT ## Omvandlar ett tal till text med valutaformatet ß (baht) -CHAR = TECKENKOD ## Returnerar tecknet som anges av kod -CLEAN = STÄDA ## Tar bort alla icke utskrivbara tecken i en text -CODE = KOD ## Returnerar en numerisk kod för det första tecknet i en textsträng -CONCATENATE = SAMMANFOGA ## Sammanfogar flera textdelar till en textsträng -DOLLAR = VALUTA ## Omvandlar ett tal till text med valutaformat -EXACT = EXAKT ## Kontrollerar om två textvärden är identiska -FIND = HITTA ## Hittar en text i en annan (skiljer på gemener och versaler) -FINDB = HITTAB ## Hittar en text i en annan (skiljer på gemener och versaler) -FIXED = FASTTAL ## Formaterar ett tal som text med ett fast antal decimaler -JIS = JIS ## Ändrar halvbredds (enkel byte) engelska bokstäver eller katakana inom en teckensträng till tecken med helt breddsteg (dubbel byte) -LEFT = VÄNSTER ## Returnerar tecken längst till vänster i en sträng -LEFTB = VÄNSTERB ## Returnerar tecken längst till vänster i en sträng -LEN = LÄNGD ## Returnerar antalet tecken i en textsträng -LENB = LÄNGDB ## Returnerar antalet tecken i en textsträng -LOWER = GEMENER ## Omvandlar text till gemener -MID = EXTEXT ## Returnerar angivet antal tecken från en text med början vid den position som du anger -MIDB = EXTEXTB ## Returnerar angivet antal tecken från en text med början vid den position som du anger -PHONETIC = PHONETIC ## Returnerar de fonetiska (furigana) tecknen i en textsträng -PROPER = INITIAL ## Ändrar första bokstaven i varje ord i ett textvärde till versal -REPLACE = ERSÄTT ## Ersätter tecken i text -REPLACEB = ERSÄTTB ## Ersätter tecken i text -REPT = REP ## Upprepar en text ett bestämt antal gånger -RIGHT = HÖGER ## Returnerar tecken längst till höger i en sträng -RIGHTB = HÖGERB ## Returnerar tecken längst till höger i en sträng -SEARCH = SÖK ## Hittar ett textvärde i ett annat (skiljer inte på gemener och versaler) -SEARCHB = SÖKB ## Hittar ett textvärde i ett annat (skiljer inte på gemener och versaler) -SUBSTITUTE = BYT.UT ## Ersätter gammal text med ny text i en textsträng -T = T ## Omvandlar argumenten till text -TEXT = TEXT ## Formaterar ett tal och omvandlar det till text -TRIM = RENSA ## Tar bort blanksteg från text -UPPER = VERSALER ## Omvandlar text till versaler -VALUE = TEXTNUM ## Omvandlar ett textargument till ett tal diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/sv/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/config b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/config deleted file mode 100644 index b69d4257a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/config +++ /dev/null @@ -1,47 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Settings -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## - - -ArgumentSeparator = ; - - -## -## (For future use) -## -currencySymbol = YTL - - -## -## Excel Error Codes (For future use) -## -NULL = #BOŞ! -DIV0 = #SAYI/0! -VALUE = #DEĞER! -REF = #BAŞV! -NAME = #AD? -NUM = #SAYI! -NA = #YOK diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/functions b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/functions deleted file mode 100644 index 45d7df1fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/functions +++ /dev/null @@ -1,438 +0,0 @@ -## -## PHPExcel -## -## Copyright (c) 2006 - 2013 PHPExcel -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library; if not, write to the Free Software -## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -## -## @category PHPExcel -## @package PHPExcel_Calculation -## @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) -## @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL -## @version ##VERSION##, ##DATE## -## -## Data in this file derived from http://www.piuha.fi/excel-function-name-translation/ -## -## - - -## -## Add-in and Automation functions Eklenti ve Otomasyon fonksiyonları -## -GETPIVOTDATA = ÖZETVERİAL ## Bir Özet Tablo raporunda saklanan verileri verir. - - -## -## Cube functions Küp işlevleri -## -CUBEKPIMEMBER = KÜPKPIÜYE ## Kilit performans göstergesi (KPI-Key Performance Indicator) adını, özelliğini ve ölçüsünü verir ve hücredeki ad ve özelliği gösterir. KPI, bir kurumun performansını izlemek için kullanılan aylık brüt kâr ya da üç aylık çalışan giriş çıkışları gibi ölçülebilen bir birimdir. -CUBEMEMBER = KÜPÜYE ## Bir küp hiyerarşisinde bir üyeyi veya kaydı verir. Üye veya kaydın küpte varolduğunu doğrulamak için kullanılır. -CUBEMEMBERPROPERTY = KÜPÜYEÖZELLİĞİ ## Bir küpte bir üyenin özelliğinin değerini verir. Küp içinde üye adının varlığını doğrulamak ve bu üyenin belli özelliklerini getirmek için kullanılır. -CUBERANKEDMEMBER = KÜPÜYESIRASI ## Bir küme içindeki üyenin derecesini veya kaçıncı olduğunu verir. En iyi satış elemanı, veya en iyi on öğrenci gibi bir kümedeki bir veya daha fazla öğeyi getirmek için kullanılır. -CUBESET = KÜPKÜME ## Kümeyi oluşturan ve ardından bu kümeyi Microsoft Office Excel'e getiren sunucudaki küpe küme ifadelerini göndererek hesaplanan üye veya kayıt kümesini tanımlar. -CUBESETCOUNT = KÜPKÜMESAY ## Bir kümedeki öğelerin sayısını getirir. -CUBEVALUE = KÜPDEĞER ## Bir küpten toplam değeri getirir. - - -## -## Database functions Veritabanı işlevleri -## -DAVERAGE = VSEÇORT ## Seçili veritabanı girdilerinin ortalamasını verir. -DCOUNT = VSEÇSAY ## Veritabanında sayı içeren hücre sayısını hesaplar. -DCOUNTA = VSEÇSAYDOLU ## Veritabanındaki boş olmayan hücreleri sayar. -DGET = VAL ## Veritabanından, belirtilen ölçütlerle eşleşen tek bir rapor çıkarır. -DMAX = VSEÇMAK ## Seçili veritabanı girişlerinin en yüksek değerini verir. -DMIN = VSEÇMİN ## Seçili veritabanı girişlerinin en düşük değerini verir. -DPRODUCT = VSEÇÇARP ## Kayıtların belli bir alanında bulunan, bir veritabanındaki ölçütlerle eşleşen değerleri çarpar. -DSTDEV = VSEÇSTDSAPMA ## Seçili veritabanı girişlerinden oluşan bir örneğe dayanarak, standart sapmayı tahmin eder. -DSTDEVP = VSEÇSTDSAPMAS ## Standart sapmayı, seçili veritabanı girişlerinin tüm popülasyonunu esas alarak hesaplar. -DSUM = VSEÇTOPLA ## Kayıtların alan sütununda bulunan, ölçütle eşleşen sayıları toplar. -DVAR = VSEÇVAR ## Seçili veritabanı girişlerinden oluşan bir örneği esas alarak farkı tahmin eder. -DVARP = VSEÇVARS ## Seçili veritabanı girişlerinin tüm popülasyonunu esas alarak farkı hesaplar. - - -## -## Date and time functions Tarih ve saat işlevleri -## -DATE = TARİH ## Belirli bir tarihin seri numarasını verir. -DATEVALUE = TARİHSAYISI ## Metin biçimindeki bir tarihi seri numarasına dönüştürür. -DAY = GÜN ## Seri numarasını, ayın bir gününe dönüştürür. -DAYS360 = GÜN360 ## İki tarih arasındaki gün sayısını, 360 günlük yılı esas alarak hesaplar. -EDATE = SERİTARİH ## Başlangıç tarihinden itibaren, belirtilen ay sayısından önce veya sonraki tarihin seri numarasını verir. -EOMONTH = SERİAY ## Belirtilen sayıda ay önce veya sonraki ayın son gününün seri numarasını verir. -HOUR = SAAT ## Bir seri numarasını saate dönüştürür. -MINUTE = DAKİKA ## Bir seri numarasını dakikaya dönüştürür. -MONTH = AY ## Bir seri numarasını aya dönüştürür. -NETWORKDAYS = TAMİŞGÜNÜ ## İki tarih arasındaki tam çalışma günlerinin sayısını verir. -NOW = ŞİMDİ ## Geçerli tarihin ve saatin seri numarasını verir. -SECOND = SANİYE ## Bir seri numarasını saniyeye dönüştürür. -TIME = ZAMAN ## Belirli bir zamanın seri numarasını verir. -TIMEVALUE = ZAMANSAYISI ## Metin biçimindeki zamanı seri numarasına dönüştürür. -TODAY = BUGÜN ## Bugünün tarihini seri numarasına dönüştürür. -WEEKDAY = HAFTANINGÜNÜ ## Bir seri numarasını, haftanın gününe dönüştürür. -WEEKNUM = HAFTASAY ## Dizisel değerini, haftanın yıl içinde bulunduğu konumu sayısal olarak gösteren sayıya dönüştürür. -WORKDAY = İŞGÜNÜ ## Belirtilen sayıda çalışma günü öncesinin ya da sonrasının tarihinin seri numarasını verir. -YEAR = YIL ## Bir seri numarasını yıla dönüştürür. -YEARFRAC = YILORAN ## Başlangıç_tarihi ve bitiş_tarihi arasındaki tam günleri gösteren yıl kesrini verir. - - -## -## Engineering functions Mühendislik işlevleri -## -BESSELI = BESSELI ## Değiştirilmiş Bessel fonksiyonu In(x)'i verir. -BESSELJ = BESSELJ ## Bessel fonksiyonu Jn(x)'i verir. -BESSELK = BESSELK ## Değiştirilmiş Bessel fonksiyonu Kn(x)'i verir. -BESSELY = BESSELY ## Bessel fonksiyonu Yn(x)'i verir. -BIN2DEC = BIN2DEC ## İkili bir sayıyı, ondalık sayıya dönüştürür. -BIN2HEX = BIN2HEX ## İkili bir sayıyı, onaltılıya dönüştürür. -BIN2OCT = BIN2OCT ## İkili bir sayıyı, sekizliye dönüştürür. -COMPLEX = KARMAŞIK ## Gerçek ve sanal katsayıları, karmaşık sayıya dönüştürür. -CONVERT = ÇEVİR ## Bir sayıyı, bir ölçüm sisteminden bir başka ölçüm sistemine dönüştürür. -DEC2BIN = DEC2BIN ## Ondalık bir sayıyı, ikiliye dönüştürür. -DEC2HEX = DEC2HEX ## Ondalık bir sayıyı, onaltılıya dönüştürür. -DEC2OCT = DEC2OCT ## Ondalık bir sayıyı sekizliğe dönüştürür. -DELTA = DELTA ## İki değerin eşit olup olmadığını sınar. -ERF = HATAİŞLEV ## Hata işlevini verir. -ERFC = TÜMHATAİŞLEV ## Tümleyici hata işlevini verir. -GESTEP = BESINIR ## Bir sayının eşik değerinden büyük olup olmadığını sınar. -HEX2BIN = HEX2BIN ## Onaltılı bir sayıyı ikiliye dönüştürür. -HEX2DEC = HEX2DEC ## Onaltılı bir sayıyı ondalığa dönüştürür. -HEX2OCT = HEX2OCT ## Onaltılı bir sayıyı sekizliğe dönüştürür. -IMABS = SANMUTLAK ## Karmaşık bir sayının mutlak değerini (modül) verir. -IMAGINARY = SANAL ## Karmaşık bir sayının sanal katsayısını verir. -IMARGUMENT = SANBAĞ_DEĞİŞKEN ## Radyanlarla belirtilen bir açı olan teta bağımsız değişkenini verir. -IMCONJUGATE = SANEŞLENEK ## Karmaşık bir sayının karmaşık eşleniğini verir. -IMCOS = SANCOS ## Karmaşık bir sayının kosinüsünü verir. -IMDIV = SANBÖL ## İki karmaşık sayının bölümünü verir. -IMEXP = SANÜS ## Karmaşık bir sayının üssünü verir. -IMLN = SANLN ## Karmaşık bir sayının doğal logaritmasını verir. -IMLOG10 = SANLOG10 ## Karmaşık bir sayının, 10 tabanında logaritmasını verir. -IMLOG2 = SANLOG2 ## Karmaşık bir sayının 2 tabanında logaritmasını verir. -IMPOWER = SANÜSSÜ ## Karmaşık bir sayıyı, bir tamsayı üssüne yükseltilmiş olarak verir. -IMPRODUCT = SANÇARP ## Karmaşık sayıların çarpımını verir. -IMREAL = SANGERÇEK ## Karmaşık bir sayının, gerçek katsayısını verir. -IMSIN = SANSIN ## Karmaşık bir sayının sinüsünü verir. -IMSQRT = SANKAREKÖK ## Karmaşık bir sayının karekökünü verir. -IMSUB = SANÇIKAR ## İki karmaşık sayının farkını verir. -IMSUM = SANTOPLA ## Karmaşık sayıların toplamını verir. -OCT2BIN = OCT2BIN ## Sekizli bir sayıyı ikiliye dönüştürür. -OCT2DEC = OCT2DEC ## Sekizli bir sayıyı ondalığa dönüştürür. -OCT2HEX = OCT2HEX ## Sekizli bir sayıyı onaltılıya dönüştürür. - - -## -## Financial functions Finansal fonksiyonlar -## -ACCRINT = GERÇEKFAİZ ## Dönemsel faiz ödeyen hisse senedine ilişkin tahakkuk eden faizi getirir. -ACCRINTM = GERÇEKFAİZV ## Vadesinde ödeme yapan bir tahvilin tahakkuk etmiş faizini verir. -AMORDEGRC = AMORDEGRC ## Yıpranma katsayısı kullanarak her hesap döneminin değer kaybını verir. -AMORLINC = AMORLINC ## Her hesap dönemi içindeki yıpranmayı verir. -COUPDAYBS = KUPONGÜNBD ## Kupon süresinin başlangıcından alış tarihine kadar olan süredeki gün sayısını verir. -COUPDAYS = KUPONGÜN ## Kupon süresindeki, gün sayısını, alış tarihini de içermek üzere, verir. -COUPDAYSNC = KUPONGÜNDSK ## Alış tarihinden bir sonraki kupon tarihine kadar olan gün sayısını verir. -COUPNCD = KUPONGÜNSKT ## Alış tarihinden bir sonraki kupon tarihini verir. -COUPNUM = KUPONSAYI ## Alış tarihiyle vade tarihi arasında ödenecek kuponların sayısını verir. -COUPPCD = KUPONGÜNÖKT ## Alış tarihinden bir önceki kupon tarihini verir. -CUMIPMT = AİÇVERİMORANI ## İki dönem arasında ödenen kümülatif faizi verir. -CUMPRINC = ANA_PARA_ÖDEMESİ ## İki dönem arasında bir borç üzerine ödenen birikimli temeli verir. -DB = AZALANBAKİYE ## Bir malın belirtilen bir süre içindeki yıpranmasını, sabit azalan bakiye yöntemini kullanarak verir. -DDB = ÇİFTAZALANBAKİYE ## Bir malın belirtilen bir süre içindeki yıpranmasını, çift azalan bakiye yöntemi ya da sizin belirttiğiniz başka bir yöntemi kullanarak verir. -DISC = İNDİRİM ## Bir tahvilin indirim oranını verir. -DOLLARDE = LİRAON ## Kesir olarak tanımlanmış lira fiyatını, ondalık sayı olarak tanımlanmış lira fiyatına dönüştürür. -DOLLARFR = LİRAKES ## Ondalık sayı olarak tanımlanmış lira fiyatını, kesir olarak tanımlanmış lira fiyatına dönüştürür. -DURATION = SÜRE ## Belli aralıklarla faiz ödemesi yapan bir tahvilin yıllık süresini verir. -EFFECT = ETKİN ## Efektif yıllık faiz oranını verir. -FV = ANBD ## Bir yatırımın gelecekteki değerini verir. -FVSCHEDULE = GDPROGRAM ## Bir seri birleşik faiz oranı uyguladıktan sonra, bir başlangıçtaki anaparanın gelecekteki değerini verir. -INTRATE = FAİZORANI ## Tam olarak yatırım yapılmış bir tahvilin faiz oranını verir. -IPMT = FAİZTUTARI ## Bir yatırımın verilen bir süre için faiz ödemesini verir. -IRR = İÇ_VERİM_ORANI ## Bir para akışı serisi için, iç verim oranını verir. -ISPMT = ISPMT ## Yatırımın belirli bir dönemi boyunca ödenen faizi hesaplar. -MDURATION = MSÜRE ## Varsayılan par değeri 10.000.000 lira olan bir tahvil için Macauley değiştirilmiş süreyi verir. -MIRR = D_İÇ_VERİM_ORANI ## Pozitif ve negatif para akışlarının farklı oranlarda finanse edildiği durumlarda, iç verim oranını verir. -NOMINAL = NOMİNAL ## Yıllık nominal faiz oranını verir. -NPER = DÖNEM_SAYISI ## Bir yatırımın dönem sayısını verir. -NPV = NBD ## Bir yatırımın bugünkü net değerini, bir dönemsel para akışları serisine ve bir indirim oranına bağlı olarak verir. -ODDFPRICE = TEKYDEĞER ## Tek bir ilk dönemi olan bir tahvilin değerini, her 100.000.000 lirada bir verir. -ODDFYIELD = TEKYÖDEME ## Tek bir ilk dönemi olan bir tahvilin ödemesini verir. -ODDLPRICE = TEKSDEĞER ## Tek bir son dönemi olan bir tahvilin fiyatını her 10.000.000 lirada bir verir. -ODDLYIELD = TEKSÖDEME ## Tek bir son dönemi olan bir tahvilin ödemesini verir. -PMT = DEVRESEL_ÖDEME ## Bir yıllık dönemsel ödemeyi verir. -PPMT = ANA_PARA_ÖDEMESİ ## Verilen bir süre için, bir yatırımın anaparasına dayanan ödemeyi verir. -PRICE = DEĞER ## Dönemsel faiz ödeyen bir tahvilin fiyatını 10.000.00 liralık değer başına verir. -PRICEDISC = DEĞERİND ## İndirimli bir tahvilin fiyatını 10.000.000 liralık nominal değer başına verir. -PRICEMAT = DEĞERVADE ## Faizini vade sonunda ödeyen bir tahvilin fiyatını 10.000.000 nominal değer başına verir. -PV = BD ## Bir yatırımın bugünkü değerini verir. -RATE = FAİZ_ORANI ## Bir yıllık dönem başına düşen faiz oranını verir. -RECEIVED = GETİRİ ## Tam olarak yatırılmış bir tahvilin vadesinin bitiminde alınan miktarı verir. -SLN = DA ## Bir malın bir dönem içindeki doğrusal yıpranmasını verir. -SYD = YAT ## Bir malın belirli bir dönem için olan amortismanını verir. -TBILLEQ = HTAHEŞ ## Bir Hazine bonosunun bono eşdeğeri ödemesini verir. -TBILLPRICE = HTAHDEĞER ## Bir Hazine bonosunun değerini, 10.000.000 liralık nominal değer başına verir. -TBILLYIELD = HTAHÖDEME ## Bir Hazine bonosunun ödemesini verir. -VDB = DAB ## Bir malın amortismanını, belirlenmiş ya da kısmi bir dönem için, bir azalan bakiye yöntemi kullanarak verir. -XIRR = AİÇVERİMORANI ## Dönemsel olması gerekmeyen bir para akışları programı için, iç verim oranını verir. -XNPV = ANBD ## Dönemsel olması gerekmeyen bir para akışları programı için, bugünkü net değeri verir. -YIELD = ÖDEME ## Belirli aralıklarla faiz ödeyen bir tahvilin ödemesini verir. -YIELDDISC = ÖDEMEİND ## İndirimli bir tahvilin yıllık ödemesini verir; örneğin, bir Hazine bonosunun. -YIELDMAT = ÖDEMEVADE ## Vadesinin bitiminde faiz ödeyen bir tahvilin yıllık ödemesini verir. - - -## -## Information functions Bilgi fonksiyonları -## -CELL = HÜCRE ## Bir hücrenin biçimlendirmesi, konumu ya da içeriği hakkında bilgi verir. -ERROR.TYPE = HATA.TİPİ ## Bir hata türüne ilişkin sayıları verir. -INFO = BİLGİ ## Geçerli işletim ortamı hakkında bilgi verir. -ISBLANK = EBOŞSA ## Değer boşsa, DOĞRU verir. -ISERR = EHATA ## Değer, #YOK dışındaki bir hata değeriyse, DOĞRU verir. -ISERROR = EHATALIYSA ## Değer, herhangi bir hata değeriyse, DOĞRU verir. -ISEVEN = ÇİFTTİR ## Sayı çiftse, DOĞRU verir. -ISLOGICAL = EMANTIKSALSA ## Değer, mantıksal bir değerse, DOĞRU verir. -ISNA = EYOKSA ## Değer, #YOK hata değeriyse, DOĞRU verir. -ISNONTEXT = EMETİNDEĞİLSE ## Değer, metin değilse, DOĞRU verir. -ISNUMBER = ESAYIYSA ## Değer, bir sayıysa, DOĞRU verir. -ISODD = TEKTİR ## Sayı tekse, DOĞRU verir. -ISREF = EREFSE ## Değer bir başvuruysa, DOĞRU verir. -ISTEXT = EMETİNSE ## Değer bir metinse DOĞRU verir. -N = N ## Sayıya dönüştürülmüş bir değer verir. -NA = YOKSAY ## #YOK hata değerini verir. -TYPE = TİP ## Bir değerin veri türünü belirten bir sayı verir. - - -## -## Logical functions Mantıksal fonksiyonlar -## -AND = VE ## Bütün bağımsız değişkenleri DOĞRU ise, DOĞRU verir. -FALSE = YANLIŞ ## YANLIŞ mantıksal değerini verir. -IF = EĞER ## Gerçekleştirilecek bir mantıksal sınama belirtir. -IFERROR = EĞERHATA ## Formül hatalıysa belirttiğiniz değeri verir; bunun dışındaki durumlarda formülün sonucunu verir. -NOT = DEĞİL ## Bağımsız değişkeninin mantığını tersine çevirir. -OR = YADA ## Bağımsız değişkenlerden herhangi birisi DOĞRU ise, DOĞRU verir. -TRUE = DOĞRU ## DOĞRU mantıksal değerini verir. - - -## -## Lookup and reference functions Arama ve Başvuru fonksiyonları -## -ADDRESS = ADRES ## Bir başvuruyu, çalışma sayfasındaki tek bir hücreye metin olarak verir. -AREAS = ALANSAY ## Renvoie le nombre de zones dans une référence. -CHOOSE = ELEMAN ## Değerler listesinden bir değer seçer. -COLUMN = SÜTUN ## Bir başvurunun sütun sayısını verir. -COLUMNS = SÜTUNSAY ## Bir başvurudaki sütunların sayısını verir. -HLOOKUP = YATAYARA ## Bir dizinin en üst satırına bakar ve belirtilen hücrenin değerini verir. -HYPERLINK = KÖPRÜ ## Bir ağ sunucusunda, bir intranette ya da Internet'te depolanan bir belgeyi açan bir kısayol ya da atlama oluşturur. -INDEX = İNDİS ## Başvurudan veya diziden bir değer seçmek için, bir dizin kullanır. -INDIRECT = DOLAYLI ## Metin değeriyle belirtilen bir başvuru verir. -LOOKUP = ARA ## Bir vektördeki veya dizideki değerleri arar. -MATCH = KAÇINCI ## Bir başvurudaki veya dizideki değerleri arar. -OFFSET = KAYDIR ## Verilen bir başvurudan, bir başvuru kaydırmayı verir. -ROW = SATIR ## Bir başvurunun satır sayısını verir. -ROWS = SATIRSAY ## Bir başvurudaki satırların sayısını verir. -RTD = RTD ## COM otomasyonunu destekleyen programdan gerçek zaman verileri alır. -TRANSPOSE = DEVRİK_DÖNÜŞÜM ## Bir dizinin devrik dönüşümünü verir. -VLOOKUP = DÜŞEYARA ## Bir dizinin ilk sütununa bakar ve bir hücrenin değerini vermek için satır boyunca hareket eder. - - -## -## Math and trigonometry functions Matematik ve trigonometri fonksiyonları -## -ABS = MUTLAK ## Bir sayının mutlak değerini verir. -ACOS = ACOS ## Bir sayının ark kosinüsünü verir. -ACOSH = ACOSH ## Bir sayının ters hiperbolik kosinüsünü verir. -ASIN = ASİN ## Bir sayının ark sinüsünü verir. -ASINH = ASİNH ## Bir sayının ters hiperbolik sinüsünü verir. -ATAN = ATAN ## Bir sayının ark tanjantını verir. -ATAN2 = ATAN2 ## Ark tanjantı, x- ve y- koordinatlarından verir. -ATANH = ATANH ## Bir sayının ters hiperbolik tanjantını verir. -CEILING = TAVANAYUVARLA ## Bir sayıyı, en yakın tamsayıya ya da en yakın katına yuvarlar. -COMBIN = KOMBİNASYON ## Verilen sayıda öğenin kombinasyon sayısını verir. -COS = COS ## Bir sayının kosinüsünü verir. -COSH = COSH ## Bir sayının hiperbolik kosinüsünü verir. -DEGREES = DERECE ## Radyanları dereceye dönüştürür. -EVEN = ÇİFT ## Bir sayıyı, en yakın daha büyük çift tamsayıya yuvarlar. -EXP = ÜS ## e'yi, verilen bir sayının üssüne yükseltilmiş olarak verir. -FACT = ÇARPINIM ## Bir sayının faktörünü verir. -FACTDOUBLE = ÇİFTFAKTÖR ## Bir sayının çift çarpınımını verir. -FLOOR = TABANAYUVARLA ## Bir sayıyı, daha küçük sayıya, sıfıra yakınsayarak yuvarlar. -GCD = OBEB ## En büyük ortak böleni verir. -INT = TAMSAYI ## Bir sayıyı aşağıya doğru en yakın tamsayıya yuvarlar. -LCM = OKEK ## En küçük ortak katı verir. -LN = LN ## Bir sayının doğal logaritmasını verir. -LOG = LOG ## Bir sayının, belirtilen bir tabandaki logaritmasını verir. -LOG10 = LOG10 ## Bir sayının 10 tabanında logaritmasını verir. -MDETERM = DETERMİNANT ## Bir dizinin dizey determinantını verir. -MINVERSE = DİZEY_TERS ## Bir dizinin dizey tersini verir. -MMULT = DÇARP ## İki dizinin dizey çarpımını verir. -MOD = MODÜLO ## Bölmeden kalanı verir. -MROUND = KYUVARLA ## İstenen kata yuvarlanmış bir sayı verir. -MULTINOMIAL = ÇOKTERİMLİ ## Bir sayılar kümesinin çok terimlisini verir. -ODD = TEK ## Bir sayıyı en yakın daha büyük tek sayıya yuvarlar. -PI = Pİ ## Pi değerini verir. -POWER = KUVVET ## Bir üsse yükseltilmiş sayının sonucunu verir. -PRODUCT = ÇARPIM ## Bağımsız değişkenlerini çarpar. -QUOTIENT = BÖLÜM ## Bir bölme işleminin tamsayı kısmını verir. -RADIANS = RADYAN ## Dereceleri radyanlara dönüştürür. -RAND = S_SAYI_ÜRET ## 0 ile 1 arasında rastgele bir sayı verir. -RANDBETWEEN = RASTGELEARALIK ## Belirttiğiniz sayılar arasında rastgele bir sayı verir. -ROMAN = ROMEN ## Bir normal rakamı, metin olarak, romen rakamına çevirir. -ROUND = YUVARLA ## Bir sayıyı, belirtilen basamak sayısına yuvarlar. -ROUNDDOWN = AŞAĞIYUVARLA ## Bir sayıyı, daha küçük sayıya, sıfıra yakınsayarak yuvarlar. -ROUNDUP = YUKARIYUVARLA ## Bir sayıyı daha büyük sayıya, sıfırdan ıraksayarak yuvarlar. -SERIESSUM = SERİTOPLA ## Bir üs serisinin toplamını, formüle bağlı olarak verir. -SIGN = İŞARET ## Bir sayının işaretini verir. -SIN = SİN ## Verilen bir açının sinüsünü verir. -SINH = SİNH ## Bir sayının hiperbolik sinüsünü verir. -SQRT = KAREKÖK ## Pozitif bir karekök verir. -SQRTPI = KAREKÖKPİ ## (* Pi sayısının) kare kökünü verir. -SUBTOTAL = ALTTOPLAM ## Bir listedeki ya da veritabanındaki bir alt toplamı verir. -SUM = TOPLA ## Bağımsız değişkenlerini toplar. -SUMIF = ETOPLA ## Verilen ölçütle belirlenen hücreleri toplar. -SUMIFS = SUMIFS ## Bir aralıktaki, birden fazla ölçüte uyan hücreleri ekler. -SUMPRODUCT = TOPLA.ÇARPIM ## İlişkili dizi bileşenlerinin çarpımlarının toplamını verir. -SUMSQ = TOPKARE ## Bağımsız değişkenlerin karelerinin toplamını verir. -SUMX2MY2 = TOPX2EY2 ## İki dizideki ilişkili değerlerin farkının toplamını verir. -SUMX2PY2 = TOPX2AY2 ## İki dizideki ilişkili değerlerin karelerinin toplamının toplamını verir. -SUMXMY2 = TOPXEY2 ## İki dizideki ilişkili değerlerin farklarının karelerinin toplamını verir. -TAN = TAN ## Bir sayının tanjantını verir. -TANH = TANH ## Bir sayının hiperbolik tanjantını verir. -TRUNC = NSAT ## Bir sayının, tamsayı durumuna gelecek şekilde, fazlalıklarını atar. - - -## -## Statistical functions İstatistiksel fonksiyonlar -## -AVEDEV = ORTSAP ## Veri noktalarının ortalamalarından mutlak sapmalarının ortalamasını verir. -AVERAGE = ORTALAMA ## Bağımsız değişkenlerinin ortalamasını verir. -AVERAGEA = ORTALAMAA ## Bağımsız değişkenlerinin, sayılar, metin ve mantıksal değerleri içermek üzere ortalamasını verir. -AVERAGEIF = EĞERORTALAMA ## Verili ölçütü karşılayan bir aralıktaki bütün hücrelerin ortalamasını (aritmetik ortalama) hesaplar. -AVERAGEIFS = EĞERLERORTALAMA ## Birden çok ölçüte uyan tüm hücrelerin ortalamasını (aritmetik ortalama) hesaplar. -BETADIST = BETADAĞ ## Beta birikimli dağılım fonksiyonunu verir. -BETAINV = BETATERS ## Belirli bir beta dağılımı için birikimli dağılım fonksiyonunun tersini verir. -BINOMDIST = BİNOMDAĞ ## Tek terimli binom dağılımı olasılığını verir. -CHIDIST = KİKAREDAĞ ## Kikare dağılımın tek kuyruklu olasılığını verir. -CHIINV = KİKARETERS ## Kikare dağılımın kuyruklu olasılığının tersini verir. -CHITEST = KİKARETEST ## Bağımsızlık sınamalarını verir. -CONFIDENCE = GÜVENİRLİK ## Bir popülasyon ortalaması için güvenirlik aralığını verir. -CORREL = KORELASYON ## İki veri kümesi arasındaki bağlantı katsayısını verir. -COUNT = BAĞ_DEĞ_SAY ## Bağımsız değişkenler listesinde kaç tane sayı bulunduğunu sayar. -COUNTA = BAĞ_DEĞ_DOLU_SAY ## Bağımsız değişkenler listesinde kaç tane değer bulunduğunu sayar. -COUNTBLANK = BOŞLUKSAY ## Aralıktaki boş hücre sayısını hesaplar. -COUNTIF = EĞERSAY ## Verilen ölçütlere uyan bir aralık içindeki hücreleri sayar. -COUNTIFS = ÇOKEĞERSAY ## Birden çok ölçüte uyan bir aralık içindeki hücreleri sayar. -COVAR = KOVARYANS ## Eşleştirilmiş sapmaların ortalaması olan kovaryansı verir. -CRITBINOM = KRİTİKBİNOM ## Birikimli binom dağılımının bir ölçüt değerinden küçük veya ölçüt değerine eşit olduğu en küçük değeri verir. -DEVSQ = SAPKARE ## Sapmaların karelerinin toplamını verir. -EXPONDIST = ÜSTELDAĞ ## Üstel dağılımı verir. -FDIST = FDAĞ ## F olasılık dağılımını verir. -FINV = FTERS ## F olasılık dağılımının tersini verir. -FISHER = FISHER ## Fisher dönüşümünü verir. -FISHERINV = FISHERTERS ## Fisher dönüşümünün tersini verir. -FORECAST = TAHMİN ## Bir doğrusal eğilim boyunca bir değer verir. -FREQUENCY = SIKLIK ## Bir sıklık dağılımını, dikey bir dizi olarak verir. -FTEST = FTEST ## Bir F-test'in sonucunu verir. -GAMMADIST = GAMADAĞ ## Gama dağılımını verir. -GAMMAINV = GAMATERS ## Gama kümülatif dağılımının tersini verir. -GAMMALN = GAMALN ## Gama fonksiyonunun (?(x)) doğal logaritmasını verir. -GEOMEAN = GEOORT ## Geometrik ortayı verir. -GROWTH = BÜYÜME ## Üstel bir eğilim boyunca değerler verir. -HARMEAN = HARORT ## Harmonik ortayı verir. -HYPGEOMDIST = HİPERGEOMDAĞ ## Hipergeometrik dağılımı verir. -INTERCEPT = KESMENOKTASI ## Doğrusal çakıştırma çizgisinin kesişme noktasını verir. -KURT = BASIKLIK ## Bir veri kümesinin basıklığını verir. -LARGE = BÜYÜK ## Bir veri kümesinde k. en büyük değeri verir. -LINEST = DOT ## Doğrusal bir eğilimin parametrelerini verir. -LOGEST = LOT ## Üstel bir eğilimin parametrelerini verir. -LOGINV = LOGTERS ## Bir lognormal dağılımının tersini verir. -LOGNORMDIST = LOGNORMDAĞ ## Birikimli lognormal dağılımını verir. -MAX = MAK ## Bir bağımsız değişkenler listesindeki en büyük değeri verir. -MAXA = MAKA ## Bir bağımsız değişkenler listesindeki, sayılar, metin ve mantıksal değerleri içermek üzere, en büyük değeri verir. -MEDIAN = ORTANCA ## Belirtilen sayıların orta değerini verir. -MIN = MİN ## Bir bağımsız değişkenler listesindeki en küçük değeri verir. -MINA = MİNA ## Bir bağımsız değişkenler listesindeki, sayılar, metin ve mantıksal değerleri de içermek üzere, en küçük değeri verir. -MODE = ENÇOK_OLAN ## Bir veri kümesindeki en sık rastlanan değeri verir. -NEGBINOMDIST = NEGBİNOMDAĞ ## Negatif binom dağılımını verir. -NORMDIST = NORMDAĞ ## Normal birikimli dağılımı verir. -NORMINV = NORMTERS ## Normal kümülatif dağılımın tersini verir. -NORMSDIST = NORMSDAĞ ## Standart normal birikimli dağılımı verir. -NORMSINV = NORMSTERS ## Standart normal birikimli dağılımın tersini verir. -PEARSON = PEARSON ## Pearson çarpım moment korelasyon katsayısını verir. -PERCENTILE = YÜZDEBİRLİK ## Bir aralık içerisinde bulunan değerlerin k. frekans toplamını verir. -PERCENTRANK = YÜZDERANK ## Bir veri kümesindeki bir değerin yüzde mertebesini verir. -PERMUT = PERMÜTASYON ## Verilen sayıda nesne için permütasyon sayısını verir. -POISSON = POISSON ## Poisson dağılımını verir. -PROB = OLASILIK ## Bir aralıktaki değerlerin iki sınır arasında olması olasılığını verir. -QUARTILE = DÖRTTEBİRLİK ## Bir veri kümesinin dörtte birliğini verir. -RANK = RANK ## Bir sayılar listesinde bir sayının mertebesini verir. -RSQ = RKARE ## Pearson çarpım moment korelasyon katsayısının karesini verir. -SKEW = ÇARPIKLIK ## Bir dağılımın çarpıklığını verir. -SLOPE = EĞİM ## Doğrusal çakışma çizgisinin eğimini verir. -SMALL = KÜÇÜK ## Bir veri kümesinde k. en küçük değeri verir. -STANDARDIZE = STANDARTLAŞTIRMA ## Normalleştirilmiş bir değer verir. -STDEV = STDSAPMA ## Bir örneğe dayanarak standart sapmayı tahmin eder. -STDEVA = STDSAPMAA ## Standart sapmayı, sayılar, metin ve mantıksal değerleri içermek üzere, bir örneğe bağlı olarak tahmin eder. -STDEVP = STDSAPMAS ## Standart sapmayı, tüm popülasyona bağlı olarak hesaplar. -STDEVPA = STDSAPMASA ## Standart sapmayı, sayılar, metin ve mantıksal değerleri içermek üzere, tüm popülasyona bağlı olarak hesaplar. -STEYX = STHYX ## Regresyondaki her x için tahmini y değerinin standart hatasını verir. -TDIST = TDAĞ ## T-dağılımını verir. -TINV = TTERS ## T-dağılımının tersini verir. -TREND = EĞİLİM ## Doğrusal bir eğilim boyunca değerler verir. -TRIMMEAN = KIRPORTALAMA ## Bir veri kümesinin içinin ortalamasını verir. -TTEST = TTEST ## T-test'le ilişkilendirilmiş olasılığı verir. -VAR = VAR ## Varyansı, bir örneğe bağlı olarak tahmin eder. -VARA = VARA ## Varyansı, sayılar, metin ve mantıksal değerleri içermek üzere, bir örneğe bağlı olarak tahmin eder. -VARP = VARS ## Varyansı, tüm popülasyona dayanarak hesaplar. -VARPA = VARSA ## Varyansı, sayılar, metin ve mantıksal değerleri içermek üzere, tüm popülasyona bağlı olarak hesaplar. -WEIBULL = WEIBULL ## Weibull dağılımını hesaplar. -ZTEST = ZTEST ## Z-testinin tek kuyruklu olasılık değerini hesaplar. - - -## -## Text functions Metin fonksiyonları -## -ASC = ASC ## Bir karakter dizesindeki çift enli (iki bayt) İngilizce harfleri veya katakanayı yarım enli (tek bayt) karakterlerle değiştirir. -BAHTTEXT = BAHTTEXT ## Sayıyı, ß (baht) para birimi biçimini kullanarak metne dönüştürür. -CHAR = DAMGA ## Kod sayısıyla belirtilen karakteri verir. -CLEAN = TEMİZ ## Metindeki bütün yazdırılamaz karakterleri kaldırır. -CODE = KOD ## Bir metin dizesindeki ilk karakter için sayısal bir kod verir. -CONCATENATE = BİRLEŞTİR ## Pek çok metin öğesini bir metin öğesi olarak birleştirir. -DOLLAR = LİRA ## Bir sayıyı YTL (yeni Türk lirası) para birimi biçimini kullanarak metne dönüştürür. -EXACT = ÖZDEŞ ## İki metin değerinin özdeş olup olmadığını anlamak için, değerleri denetler. -FIND = BUL ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlıdır). -FINDB = BULB ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlıdır). -FIXED = SAYIDÜZENLE ## Bir sayıyı, sabit sayıda ondalıkla, metin olarak biçimlendirir. -JIS = JIS ## Bir karakter dizesindeki tek enli (tek bayt) İngilizce harfleri veya katakanayı çift enli (iki bayt) karakterlerle değiştirir. -LEFT = SOL ## Bir metin değerinden en soldaki karakterleri verir. -LEFTB = SOLB ## Bir metin değerinden en soldaki karakterleri verir. -LEN = UZUNLUK ## Bir metin dizesindeki karakter sayısını verir. -LENB = UZUNLUKB ## Bir metin dizesindeki karakter sayısını verir. -LOWER = KÜÇÜKHARF ## Metni küçük harfe çevirir. -MID = ORTA ## Bir metin dizesinden belirli sayıda karakteri, belirttiğiniz konumdan başlamak üzere verir. -MIDB = ORTAB ## Bir metin dizesinden belirli sayıda karakteri, belirttiğiniz konumdan başlamak üzere verir. -PHONETIC = SES ## Metin dizesinden ses (furigana) karakterlerini ayıklar. -PROPER = YAZIM.DÜZENİ ## Bir metin değerinin her bir sözcüğünün ilk harfini büyük harfe çevirir. -REPLACE = DEĞİŞTİR ## Metnin içindeki karakterleri değiştirir. -REPLACEB = DEĞİŞTİRB ## Metnin içindeki karakterleri değiştirir. -REPT = YİNELE ## Metni belirtilen sayıda yineler. -RIGHT = SAĞ ## Bir metin değerinden en sağdaki karakterleri verir. -RIGHTB = SAĞB ## Bir metin değerinden en sağdaki karakterleri verir. -SEARCH = BUL ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlı değildir). -SEARCHB = BULB ## Bir metin değerini, bir başkasının içinde bulur (büyük küçük harf duyarlı değildir). -SUBSTITUTE = YERİNEKOY ## Bir metin dizesinde, eski metnin yerine yeni metin koyar. -T = M ## Bağımsız değerlerini metne dönüştürür. -TEXT = METNEÇEVİR ## Bir sayıyı biçimlendirir ve metne dönüştürür. -TRIM = KIRP ## Metindeki boşlukları kaldırır. -UPPER = BÜYÜKHARF ## Metni büyük harfe çevirir. -VALUE = SAYIYAÇEVİR ## Bir metin bağımsız değişkenini sayıya dönüştürür. diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/PHPExcel/locale/tr/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/compiler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/compiler.php deleted file mode 100644 index fda63a7ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/compiler.php +++ /dev/null @@ -1,17601 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.0.8 - @build 30th January, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage compiler.php - @author Llewellyn van der Merwe <http://www.vdm.io> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); -// include class to minify js -require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/js.php'; - -// import the Joomla librarys -jimport('joomla.application.component.modellist'); -jimport('joomla.application'); -jimport('joomla.filesystem.file'); -jimport('joomla.filesystem.folder'); -jimport('joomla.filesystem.archive'); - -/** - * Compiler class - */ -class Compiler -{ - public $folderCount = 0; - public $fileCount = 0; - public $lineCount = 0; - public $filepath = ''; - public $componentFolderName = ''; - // fixed pathes - protected $compilerPath; - protected $templatePath; - protected $bomPath; - protected $componentPath; - protected $tempPath; - protected $add2SalesServer = false; - protected $backupPath = false; - protected $gitPath = false; - // data sets - protected $params; - protected $componentCodeName; - protected $componentData; - protected $joomlaVersion; - protected $joomlaVersionData; - protected $loadLineNr = false; - protected $addEximport = false; - protected $googlechart = false; - // new - protected $newFiles = array(); - protected $codes = array(); - protected $notNew = array(); - protected $langContent = array(); - protected $placeholders = array(); - protected $addCheckin = false; - protected $addContributors = false; - protected $addAjax = false; - protected $theContributors = ''; - protected $fileContentStatic = array(); - protected $fileContentDynamic = array(); - protected $langPrefix = 'COM_'; - protected $lang = 'admin'; - protected $queryBuilder = array(); - protected $dbUniqueKeys = array(); - protected $dbKeys = array(); - protected $customScriptBuilder = array(); - protected $uninstallBuilder = array(); - protected $listBuilder = array(); - protected $listColnrBuilder = array(); - protected $sortBuilder = array(); - protected $searchBuilder = array(); - protected $filterBuilder = array(); - protected $layoutBuilder = array(); - protected $permissionBuilder = array(); - protected $permissionDashboard = array(); - protected $permissionCore = array(); - protected $customFieldBuilder = array(); - protected $aliasBuilder = array(); - protected $catCodeBuilder = array(); - protected $titleBuilder = array(); - protected $buildCategories = array(); - protected $iconBuilder = array(); - protected $hiddenFieldsBuilder = array(); - protected $dynamicfieldsBuilder = array(); - protected $intFieldsBuilder = array(); - protected $customFieldLinksBuilder = array(); - protected $tabCounter = array(); - protected $tagsBuilder = array(); - protected $historyBuilder = array(); - protected $checkboxBuilder = array(); - protected $jsonItemBuilder = array(); - protected $jsonStringBuilder = array(); - protected $base64Builder = array(); - protected $basicEncryptionBuilder = array(); - protected $advancedEncryptionBuilder = array(); - protected $customBuilder = array(); - protected $selectionTranslationFixBuilder = array(); - protected $validationFixBuilder = array(); - protected $customBuilderList = array(); - protected $setTagHistory = false; - protected $editBodyViewScriptBuilder = array(); - protected $targetRelationControl = array(); - protected $targetControlsScriptChecker = array(); - protected $setScriptUserSwitch = array(); - protected $setScriptMediaSwitch = array(); - protected $setGroupControl = array(); - protected $footableScripts = array(); - protected $doNotEscape = array(); - protected $setRouterHelpDone = array(); - // front new - protected $uikit = false; - protected $uikitComp = array(); - protected $templateData = array(); - protected $layoutData = array(); - protected $getAsLookup = array(); - protected $otherWhere = array(); - protected $target; - protected $_adminViewData; - protected $DashboardGetCustomData = array(); - - /** - * Constructor - */ - public function __construct($config = array ()) - { - if (isset($config) && count($config)) - { - $this->params = JComponentHelper::getParams('com_componentbuilder'); - $this->compilerPath = $this->params->get('compiler_folder_path', JPATH_COMPONENT_ADMINISTRATOR.'/compiler'); - $this->joomlaVersion = $config['joomlaVersion']; - $this->templatePath = $this->compilerPath.'/joomla_'.$config['joomlaVersion']; - $this->templatePathCustom = $this->params->get('custom_folder_path', JPATH_COMPONENT_ADMINISTRATOR.'/custom'); - $this->componentData = $this->getComponentData($config['componentId']); // get the version settings - $this->loadLineNr = ($this->componentData->debug_linenr) ? true:false; - $this->joomlaVersionData = $this->setJoomlaVersionData(); - $this->componentSalesName = 'com_'.$this->componentData->sales_name.'__J'.$this->joomlaVersion; - $this->componentBackupName = 'com_'.$this->componentData->sales_name.'_v'.str_replace('.','_',$this->componentData->component_version).'__J'.$this->joomlaVersion; - $this->componentFolderName = 'com_'.$this->componentData->name_code.'_v'.str_replace('.','_',$this->componentData->component_version).'__J'.$this->joomlaVersion; - $this->componentPath = $this->compilerPath.'/'.$this->componentFolderName; - // set temp directory - $comConfig = JFactory::getConfig(); - $this->tempPath = $comConfig->get('tmp_path'); - // set some folder paths in relation to distribution - if ($config['addBackup']) - { - $this->backupPath = $this->params->get('backup_folder_path', $this->tempPath).'/'.$this->componentBackupName.'.zip'; - $this->add2SalesServer = true; - } - if ($config['addGit']) - { - $this->gitPath = $this->params->get('git_folder_path', null); - } - // build the component - return $this->buildComponent(); - } - return false; - } - - protected function setLine($nr) - { - if ($this->loadLineNr) - { - return ' ['.$nr.']'; - } - return ''; - } - - protected function buildComponent() - { - // make sure there is no old build - $this->removeFolder($this->componentPath); - // set all the needed folders - if ($this->buildFolders()) - { - // build the static files - if ($this->setStatic()) - { - // build the dynamique files - if ($this->dynamique()) - { - // build the update to update all content in all files - if ($this->buildFileContent()) - { - // now update the files - if ($this->updateFiles()) - { - // zip the component - if ($this->zipComponent()) - { - // done - return true; - } - } - } - } - } - } - return false; - } - - protected function buildFileContent() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - // ###COMPONENT### - $this->fileContentStatic['###COMPONENT###'] = ComponentbuilderHelper::safeString($this->componentData->name_code, 'U'); - - // ###Component### - $this->fileContentStatic['###Component###'] = ComponentbuilderHelper::safeString($this->componentData->name_code, 'F'); - - // ###component### - $this->fileContentStatic['###component###'] = ComponentbuilderHelper::safeString($this->componentData->name_code); - - // ###COMPANYNAME### - $this->fileContentStatic['###COMPANYNAME###'] = trim($this->componentData->companyname); - - // ###CREATIONDATE### - $this->fileContentStatic['###CREATIONDATE###'] = JFactory::getDate($this->componentData->created)->format('jS F, Y'); - - // ###BUILDDATE### - $this->fileContentStatic['###BUILDDATE###'] = JFactory::getDate()->format('jS F, Y'); - - // ###AUTHOR### - $this->fileContentStatic['###AUTHOR###'] = trim($this->componentData->author); - - // ###AUTHOREMAIL### - $this->fileContentStatic['###AUTHOREMAIL###'] = trim($this->componentData->email); - - // ###AUTHORWEBSITE### - $this->fileContentStatic['###AUTHORWEBSITE###'] = trim($this->componentData->website); - - // ###COPYRIGHT### - $this->fileContentStatic['###COPYRIGHT###'] = trim($this->componentData->copyright); - - // ###LICENSE### - $this->fileContentStatic['###LICENSE###'] = trim($this->componentData->license); - - // ###VERSION### - $this->fileContentStatic['###VERSION###'] = trim($this->componentData->component_version); - - // ###Component_name### - $this->fileContentStatic['###Component_name###'] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - - // ###SHORT_DISCRIPTION### - $this->fileContentStatic['###SHORT_DESCRIPTION###'] = trim($this->componentData->short_description); - - // ###DESCRIPTION### - $this->fileContentStatic['###DESCRIPTION###'] = trim($this->componentData->description); - - // ###COMP_IMAGE_TYPE### - $this->fileContentStatic['###COMP_IMAGE_TYPE###'] = $this->setComponentImageType($this->componentData->image); - - // ###ACCESS_SECTIONS### - $this->fileContentStatic['###ACCESS_SECTIONS###'] = $this->setAccessSections(); - - // set component place holders - $this->placeholders = array( - '###Component###' => $this->fileContentStatic['###Component###'], - '###component###' => $this->fileContentStatic['###component###'], - '###COMPONENT###' => $this->fileContentStatic['###COMPONENT###'], - '[[[Component]]]' => $this->fileContentStatic['###Component###'], - '[[[component]]]' => $this->fileContentStatic['###component###'], - '[[[COMPONENT]]]' => $this->fileContentStatic['###COMPONENT###'] - ); - - // ###CONFIG_FIELDSETS### - $keepLang = $this->lang; - $this->lang = 'admin'; - // run the field sets for first time - $this->setConfigFieldsets(1); - $this->lang = $keepLang; - - // ###ADMINCSS### - $this->fileContentStatic['###ADMINCSS###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_css']); - // ###SITECSS### - $this->fileContentStatic['###SITECSS###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_css']); - - // ###CUSTOM_HELPER_SCRIPT### - $this->fileContentStatic['###CUSTOM_HELPER_SCRIPT###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_helper_admin']); - - // ###ADMIN_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] = ''; - - // ###ADMIN_GLOBAL_EVENT### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT###'] = ''; - // now load the data for the global event if needed - if ($this->componentData->add_admin_event == 1) - { - // ###ADMIN_GLOBAL_EVENT### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT###'] = "\n\n".'// Triger the Global Admin Event'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT###'] .= "\n".$this->fileContentStatic['###Component###'].'Helper::globalEvent($document);'; - // ###ADMIN_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] = "\n\n\t".'/**'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'* The Global Admin Event Method.'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'**/'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'public static function globalEvent($document)'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'{'; - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_admin_event']); - $this->fileContentStatic['###ADMIN_GLOBAL_EVENT_HELPER###'] .= "\n\t".'}'; - } - - // ###HELPER_CREATEUSER### - $this->fileContentStatic['###HELPER_CREATEUSER###'] = $this->setCreateUserHelperMethod($this->componentData->creatuserhelper); - - // ###HELP### - $this->fileContentStatic['###HELP###'] = $this->noHelp(); - // ###HELP_SITE### - $this->fileContentStatic['###HELP_SITE###'] = $this->noHelp(); - // ###UPDATE_VERSION_MYSQL### - $this->setVersionController(); - - // build route parse switch - $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] = ''; - // build route views - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = ''; - - // setup back-views and all needed stuff for the admin - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - // reset view array - $viewarray = array(); - $site_edit_view_array = array(); - // start dynamic build - foreach ($this->componentData->admin_views as $view) - { - $this->lang = 'admin'; - // set main keys - $viewName_single = ComponentbuilderHelper::safeString($view['settings']->name_single); - $viewName_list = ComponentbuilderHelper::safeString($view['settings']->name_list); - // set site edit view array - if ($view['edit_create_site_view']) - { - $site_edit_view_array[] = "\t\t\t\t'".$viewName_single."'"; - $this->lang = 'both'; - } - // set the export/import option - if ($view['port']) - { - $this->eximportView[$viewName_list] = true; - } - else - { - $this->eximportView[$viewName_list] = false; - } - // check if help is being loaded - $this->checkHelp($viewName_single); - // set custom admin view list links - $this->setCustomAdminViewListLink($view,$viewName_list); - - // set view array - $viewarray[] = "\t\t\t\t'".$viewName_single."' => '".$viewName_list."'"; - // set the view names - if ($view['settings']->name_single != 'null') - { - // ###VIEW### <<<DYNAMIC>>> - $viewName_u = ComponentbuilderHelper::safeString($view['settings']->name_single,'U'); - $this->fileContentDynamic[$viewName_single]['###VIEW###'] = $viewName_u; - $this->fileContentDynamic[$viewName_list]['###VIEW###'] = $viewName_u; - - // ###View### <<<DYNAMIC>>> - $viewName_f = ComponentbuilderHelper::safeString($view['settings']->name_single,'F'); - $this->fileContentDynamic[$viewName_single]['###View###'] = $viewName_f; - $this->fileContentDynamic[$viewName_list]['###View###'] = $viewName_f; - - // ###view### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###view###'] = $viewName_single; - $this->fileContentDynamic[$viewName_list]['###view###'] = $viewName_single; - - // set some place holder for the views - $this->placeholders['###view###'] = $viewName_single; - - // set license per view if needed - $this->setLockLicensePer($viewName_single); - $this->setLockLicensePer($viewName_list); - - // ###FIELDSETS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###FIELDSETS###'] = $this->setFieldSet($view, $this->fileContentStatic['###component###']); - - // ###ACCESSCONTROL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###ACCESSCONTROL###'] = $this->setFieldSetAccessControl($viewName_single); - - // ###LINKEDVIEWITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWITEMS###'] = ''; - - // ###ADDTOOLBAR### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###ADDTOOLBAR###'] = $this->setAddToolBar($view); - - // set the script for this view - $this->buildTheViewScript($view, $this->fileContentStatic['###component###']); - - // ###VIEW_SCRIPT### - $this->fileContentDynamic[$viewName_single]['###VIEW_SCRIPT###'] = $this->setViewScript($viewName_single); - - // ###EDITBODYSCRIPT### - $this->fileContentDynamic[$viewName_single]['###EDITBODYSCRIPT###'] = $this->setEditBodyScript($viewName_single); - - // ###AJAXTOKE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###AJAXTOKE###'] = $this->setAjaxToke($viewName_single); - - // ###LINKEDVIEWTABLESCRIPTS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWTABLESCRIPTS###'] = ''; - - // ###VALIDATEFIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###VALIDATIONFIX###'] = $this->setValidationFix($viewName_single, $this->fileContentStatic['###Component###']); - - // ###EDITBODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###EDITBODY###'] = $this->setEditBody($view); - - // ###JTABLECONSTRUCTOR### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JTABLECONSTRUCTOR###'] = $this->setJtableConstructor($viewName_single); - - // ###JTABLEALIASCATEGORY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JTABLEALIASCATEGORY###'] = $this->setJtableAliasCategory($viewName_single); - - // ###METHOD_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###METHOD_GET_ITEM###'] = $this->setMethodGetItem($viewName_single); - - // ###LINKEDVIEWGLOBAL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWGLOBAL###'] = ''; - - // ###LINKEDVIEWMETHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWMETHODS###'] = ''; - - // ###JMODELADMIN_BEFORE_DELETE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_BEFORE_DELETE###'] = $this->setJmodelAdminBeforeDelete($viewName_single); - - // ###JMODELADMIN_AFTER_DELETE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_AFTER_DELETE###'] = $this->setJmodelAdminAfterDelete($viewName_single); - - // ###CHECKBOX_SAVE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###CHECKBOX_SAVE###'] = $this->setCheckboxSave($viewName_single); - - // ###METHOD_ITEM_SAVE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###METHOD_ITEM_SAVE###'] = $this->setMethodItemSave($viewName_single); - - // ###POSTSAVEHOOK### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###POSTSAVEHOOK###'] = $this->setPostSaveHook($viewName_single); - - if (isset($this->customScriptBuilder['css_view'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['css_view'][$viewName_single])) - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###VIEWCSS###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['css_view'][$viewName_single]); - // clear some memory - unset($this->customScriptBuilder['css_view'][$viewName_single]); - } - else - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###VIEWCSS###'] = ''; - } - // add css to front end - if ($view['edit_create_site_view']) - { - $this->fileContentDynamic[$viewName_single]['###SITE_VIEWCSS###'] = $this->fileContentDynamic[$viewName_single]['###VIEWCSS###']; - } - } - // set the views names - if ($view['settings']->name_list != 'null') - { - $this->lang = 'admin'; - // ###VIEWS### <<<DYNAMIC>>> - $viewsName_u = ComponentbuilderHelper::safeString($view['settings']->name_list,'U'); - $this->fileContentDynamic[$viewName_list]['###VIEWS###'] = $viewsName_u; - $this->fileContentDynamic[$viewName_single]['###VIEWS###'] = $viewsName_u; - - // ###Views### <<<DYNAMIC>>> - $viewsName_f = ComponentbuilderHelper::safeString($view['settings']->name_list,'F'); - $this->fileContentDynamic[$viewName_list]['###Views###'] = $viewsName_f; - $this->fileContentDynamic[$viewName_single]['###Views###'] = $viewsName_f; - - // ###views### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###views###'] = $viewName_list; - $this->fileContentDynamic[$viewName_single]['###views###'] = $viewName_list; - // ###ICOMOON### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###ICOMOON###'] = $view['icomoon']; - - // set some place holder for the views - $this->placeholders['###views###'] = $viewName_list; - - // set Autocheckin function - if ($view['checkin'] == 1) - { - // ###AUTOCHECKIN### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###AUTOCHECKIN###'] = $this->setAutoCheckin($viewName_single,$this->fileContentStatic['###component###']); - // ###CHECKINCALL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CHECKINCALL###'] = $this->setCheckinCall(); - } - else - { - // ###AUTOCHECKIN### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###AUTOCHECKIN###'] = ''; - // ###CHECKINCALL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CHECKINCALL###'] = ''; - } - - // ###STORE_METHOD_FIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###GET_ITEMS_METHOD_STRING_FIX###'] = $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###']); - - // ###SELECTIONTRANSLATIONFIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###SELECTIONTRANSLATIONFIX###'] = $this->setSelectionTranslationFix($viewName_list,$this->fileContentStatic['###Component###']); - - // ###SELECTIONTRANSLATIONFIXFUNC### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###SELECTIONTRANSLATIONFIXFUNC###'] = $this->setSelectionTranslationFixFunc($viewName_list,$this->fileContentStatic['###Component###']); - - // ###FILTER_FIELDS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###FILTER_FIELDS###'] = $this->setFilterFields($viewName_list); - - // ###STOREDID### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###STOREDID###'] = $this->setStoredId($viewName_list); - - // ###POPULATESTATE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###POPULATESTATE###'] = $this->setPopulateState($viewName_list); - - // ###SORTFIELDS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###SORTFIELDS###'] = $this->setSortFields($viewName_list); - - // ###CATEGORYFILTER### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CATEGORYFILTER###'] = $this->setCategoryFilter($viewName_list); - - // ###CATEGORY_VIEWS### - if (!isset($this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'])) - { - $this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'] = ''; - } - $this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'] .= $this->setRouterCategoryViews($viewName_single,$viewName_list); - - // ###OTHERFILTERS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###OTHERFILTERS###'] = $this->setOtherFilter($viewName_list); - - // ###FILTERFUNCTIONS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###FILTERFUNCTIONS###'] = $this->setFilterFunctions($viewName_single,$viewName_list); - - // ###LISTQUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTQUERY###'] = $this->setListQuery($viewName_single,$viewName_list); - - // ###MODELEXPORTMETHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###MODELEXPORTMETHOD###'] = $this->setModelExportMethod($viewName_single, $viewName_list); - - // ###MODELEXIMPORTMETHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CONTROLLEREXIMPORTMETHOD###'] = $this->setControllerEximportMethod($viewName_single, $viewName_list); - - // ###EXPORTBUTTON### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###EXPORTBUTTON###'] = $this->setExportButton($viewName_single, $viewName_list); - - // ###IMPORTBUTTON### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###IMPORTBUTTON###'] = $this->setImportButton($viewName_single, $viewName_list); - - // ###LISTHEAD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTHEAD###'] = $this->setListHead($viewName_single,$viewName_list); - - // ###LISTBODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTBODY###'] = $this->setListBody($viewName_single,$viewName_list); - - // ###LISTCOLNR### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###LISTCOLNR###'] = $this->setListColnr($viewName_list); - - // ###JVIEWLISTCANDO### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###JVIEWLISTCANDO###'] = $this->setJviewListCanDo($viewName_single,$viewName_list); - - if (isset($this->customScriptBuilder['css_views'][$viewName_list]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['css_views'][$viewName_list])) - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###VIEWSCSS###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['css_views'][$viewName_list]); - // clear some memory - unset($this->customScriptBuilder['css_views'][$viewName_list]); - } - else - { - // ###VIEWCSS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###VIEWSCSS###'] = ''; - } - } - - // set u fields used in batch - $this->fileContentDynamic[$viewName_single]['###UNIQUEFIELDS###'] = $this->setUniqueFields($viewName_single); - - // ###TITLEALIASFIX### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###TITLEALIASFIX###'] = $this->setAliasTitleFix($viewName_single); - - // ###GENERATENEWTITLE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###GENERATENEWTITLE###'] = $this->setGenerateNewTitle($viewName_single); - - // ###MODEL_BATCH_COPY### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###MODEL_BATCH_COPY###'] = $this->setBatchCopy($viewName_single); - - // ###MODEL_BATCH_MOVE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###MODEL_BATCH_MOVE###'] = $this->setBatchMove($viewName_single); - - // ###JCONTROLLERFORM_ALLOWADD### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JCONTROLLERFORM_ALLOWADD###'] = $this->setJcontrollerAllowAdd($viewName_single,$viewName_list); - - // ###JCONTROLLERFORM_ALLOWEDIT### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JCONTROLLERFORM_ALLOWEDIT###'] = $this->setJcontrollerAllowEdit($viewName_single,$viewName_list); - - // ###JMODELADMIN_GETFORM### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_GETFORM###'] = $this->setJmodelAdminGetForm($viewName_single,$viewName_list); - - // ###JMODELADMIN_ALLOWEDIT### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_ALLOWEDIT###'] = $this->setJmodelAdminAllowEdit($viewName_single,$viewName_list); - - // ###JMODELADMIN_CANDELETE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_CANDELETE###'] = $this->setJmodelAdminCanDelete($viewName_single,$viewName_list); - - // ###JMODELADMIN_CANEDITSTATE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###JMODELADMIN_CANEDITSTATE###'] = $this->setJmodelAdminCanEditState($viewName_single,$viewName_list); - - // set custom admin view Toolbare buttons - // ###CUSTOM_ADMIN_DYNAMIC_BUTTONS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CUSTOM_ADMIN_DYNAMIC_BUTTONS###'] = $this->setCustomAdminDynamicButton($viewName_list); - // ###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_list]['###CUSTOM_ADMIN_DYNAMIC_BUTTONS_CONTROLLER###'] = $this->setCustomAdminDynamicButtonController($viewName_list); - - // set helper router - if (!isset($this->fileContentStatic['###ROUTEHELPER###'])) - { - $this->fileContentStatic['###ROUTEHELPER###'] = ''; - } - $this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($viewName_single, $viewName_list); - - if ($view['edit_create_site_view']) - { - // add needed router stuff for front edit views - $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($viewName_single); - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($viewName_single); - } - - // ###ACCESS_SECTIONS### - if (!isset($this->fileContentStatic['###ACCESS_SECTIONS###'])) - { - $this->fileContentStatic['###ACCESS_SECTIONS###'] = ''; - } - $this->fileContentStatic['###ACCESS_SECTIONS###'] .= $this->setAccessSectionsCategory($viewName_single, $viewName_list); - - // ###HELPER_EXEL### - $this->fileContentStatic['###HELPER_EXEL###'] = $this->setExelHelperMethods(); - - } - - // setup custom_admin_views and all needed stuff for the site - if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) - { - $this->target = 'custom_admin'; - $this->lang = 'admin'; - // var_dump($this->componentData->custom_admin_views);exit; - // start dynamic build - foreach ($this->componentData->custom_admin_views as $view) - { - // for single views - $this->fileContentDynamic[$view['settings']->code]['###SView###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sview###'] = $view['settings']->code; - $this->fileContentDynamic[$view['settings']->code]['###SVIEW###'] = $view['settings']->CODE; - // for list views - $this->fileContentDynamic[$view['settings']->code]['###SViews###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sviews###'] = $view['settings']->code; - $this->fileContentDynamic[$view['settings']->code]['###SVIEWS###'] = $view['settings']->CODE; - // add to lang array - if (!isset($this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE])) - { - $this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE] = $view['settings']->name; - } - if (!isset($this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'])) - { - $this->langContent[$this->lang][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'] = $view['settings']->description; - } - // ###ICOMOON### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###ICOMOON###'] = $view['icomoon']; - - // set placeholders - $this->placeholders['###SView###'] = $view['settings']->Code; - $this->placeholders['###sview###'] = $view['settings']->code; - $this->placeholders['###SVIEW###'] = $view['settings']->CODE; - $this->placeholders['[[[SView]]]'] = $view['settings']->Code; - $this->placeholders['[[[sview]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEW]]]'] = $view['settings']->CODE; - $this->placeholders['###SViews###'] = $view['settings']->Code; - $this->placeholders['###sviews###'] = $view['settings']->code; - $this->placeholders['###SVIEWS###'] = $view['settings']->CODE; - $this->placeholders['[[[SViews]]]'] = $view['settings']->Code; - $this->placeholders['[[[sviews]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE; - - // set license per view if needed - $this->setLockLicensePer($view['settings']->code); - - if ($view['settings']->main_get->gettype == 1) - { - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEM###'] = ''; - } - - // ###CUSTOM_ADMIN_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_GET_ITEM###'] = $this->setCustomViewGetItem($view['settings']->main_get, $view['settings']->code,"\t\t"); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEM###'] = ''; - } - } - elseif ($view['settings']->main_get->gettype == 2) - { - // ###CUSTOM_ADMIN_GET_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_GET_LIST_QUERY###'] = $this->setCustomViewListQuery($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_BEFORE_LIST_QUERY###'] = ''; - } - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BEFORE_GET_ITEMS###'] = ''; - } - - // ###CUSTOM_ADMIN_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_GET_ITEMS###'] = $this->setCustomViewGetItems($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code])) - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - } - else - { - // ###CUSTOM_ADMIN_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_AFTER_GET_ITEMS###'] = ''; - } - } - - // ###CUSTOM_ADMIN_CUSTOM_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_METHODS###'] = $this->setCustomViewCustomItemMethods($view['settings']->main_get, $view['settings']->code); - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CUSTOM_METHODS###'] .= $this->setCustomViewCustomMethods($view, $view['settings']->code); - // ###CUSTOM_ADMIN_DIPLAY_METHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_DIPLAY_METHOD###'] = $this->setCustomViewDisplayMethod($view); - // set document details - $this->setPrepareDocument($view); - // ###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_EXTRA_DIPLAY_METHODS###'] = $this->setCustomViewExtraDisplayMethods($view); - // ###CUSTOM_ADMIN_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_CODE_BODY###'] = $this->setCustomViewCodeBody($view); - // ###CUSTOM_ADMIN_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###CUSTOM_ADMIN_BODY###'] = $this->setCustomViewBody($view); - - // setup the templates - $this->setCustomViewTemplateBody($view); - } - - // setup the layouts - $this->setCustomViewLayouts(); - } - - // ###VIEWARRAY### - $this->fileContentStatic['###VIEWARRAY###'] = "\n".implode(",\n",$viewarray); - - // ###CUSTOM_ADMIN_EDIT_VIEW_ARRAY### - $this->fileContentStatic['###SITE_EDIT_VIEW_ARRAY###'] = "\n".implode(",\n",$site_edit_view_array); - - // ###MAINMENUS### - $this->fileContentStatic['###MAINMENUS###'] = $this->setMainMenus(); - - // ###SUBMENU### - $this->fileContentStatic['###SUBMENU###'] = $this->setSubMenus(); - - // ###GET_CRYPT_KEY### - $this->fileContentStatic['###GET_CRYPT_KEY###'] = $this->setGetCryptKey(); - - // set the license locker - $this->setLockLicense(); - - // ###CONTRIBUTORS### - $this->fileContentStatic['###CONTRIBUTORS###'] = $this->theContributors; - - // ###INSTALL### - $this->fileContentStatic['###INSTALL###'] = $this->setInstall(); - - // ###UNINSTALL### - $this->fileContentStatic['###UNINSTALL###'] = $this->setUninstall(); - - // ###DASHBOARDICONS### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASHBOARDICONS###'] = $this->setDashboardIcons(); - - // ###DASHBOARDICONACCESS### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASHBOARDICONACCESS###'] = $this->setDashboardIconAccess(); - - // ###DASH_MODEL_METHODS### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_MODEL_METHODS###'] = $this->setDashboardModelMethods(); - - // ###DASH_GET_CUSTOM_DATA### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_GET_CUSTOM_DATA###'] = $this->setDashboardGetCustomData(); - - // ###DASH_DISPLAY_DATA### - $this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_DISPLAY_DATA###'] = $this->setDashboardDisplayData(); - - // add import - if (isset($this->addEximport) && $this->addEximport) - { - // setup import files - $target = array('admin' => 'import'); - $this->buildDynamique($target,'import'); - // set the controller - $this->fileContentDynamic['import']['###BLABLABLA###'] = ''; - } - - // ensure that the ajax model and controller is set if needed - if (isset($this->addAjax) && $this->addAjax) - { - // setup Ajax files - $target = array('admin' => 'ajax'); - $this->buildDynamique($target,'ajax'); - // set the controller - $this->fileContentDynamic['ajax']['###REGISTER_AJAX_TASK###'] = $this->setRegisterAjaxTask('admin'); - $this->fileContentDynamic['ajax']['###AJAX_INPUT_RETURN###'] = $this->setAjaxInputReturn('admin'); - // set the module - $this->fileContentDynamic['ajax']['###AJAX_MODEL_METHODS###'] = $this->setAjaxModelMethods('admin'); - } - - // ensure that the site ajax model and controller is set if needed - if (isset($this->addSiteAjax) && $this->addSiteAjax) - { - // setup Ajax files - $target = array('site' => 'ajax'); - $this->buildDynamique($target,'ajax'); - // set the controller - $this->fileContentDynamic['ajax']['###REGISTER_SITE_AJAX_TASK###'] = $this->setRegisterAjaxTask('site' ); - $this->fileContentDynamic['ajax']['###AJAX_SITE_INPUT_RETURN###'] = $this->setAjaxInputReturn('site' ); - // set the module - $this->fileContentDynamic['ajax']['###AJAX_SITE_MODEL_METHODS###'] = $this->setAjaxModelMethods('site'); - } - - // run the second run if needed - if (isset($this->secondRunAdmin) && ComponentbuilderHelper::checkArray($this->secondRunAdmin)) - { - // start dynamic build - foreach ($this->secondRunAdmin as $function => $arrays) - { - if (ComponentbuilderHelper::checkArray($arrays) && ComponentbuilderHelper::checkString($function)) - { - foreach ($arrays as $array) - { - $this->{$function}($array); - } - } - } - - } - - // ###CONFIG_FIELDSETS### - $keepLang = $this->lang; - $this->lang = 'admin'; - // run field sets for second time - $this->setConfigFieldsets(2); - $this->lang = $keepLang; - } - - // setup front-views and all needed stuff for the site - if (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views)) - { - $this->target = 'site'; - // var_dump($this->componentData->site_views);exit; - // start dynamic build - foreach ($this->componentData->site_views as $view) - { - // for list views - $this->fileContentDynamic[$view['settings']->code]['###SViews###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sviews###'] = $view['settings']->code; - // for single views - $this->fileContentDynamic[$view['settings']->code]['###SView###'] = $view['settings']->Code; - $this->fileContentDynamic[$view['settings']->code]['###sview###'] = $view['settings']->code; - - // set placeholder - $this->placeholders['###SView###'] = $view['settings']->Code; - $this->placeholders['###sview###'] = $view['settings']->code; - $this->placeholders['###SVIEW###'] = $view['settings']->CODE; - $this->placeholders['[[[SView]]]'] = $view['settings']->Code; - $this->placeholders['[[[sview]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEW]]]'] = $view['settings']->CODE; - $this->placeholders['###SViews###'] = $view['settings']->Code; - $this->placeholders['###sviews###'] = $view['settings']->code; - $this->placeholders['###SVIEWS###'] = $view['settings']->CODE; - $this->placeholders['[[[SViews]]]'] = $view['settings']->Code; - $this->placeholders['[[[sviews]]]'] = $view['settings']->code; - $this->placeholders['[[[SVIEWS]]]'] = $view['settings']->CODE; - - // set license per view if needed - $this->setLockLicensePer($view['settings']->code); - - // set the site default view - if ($view['default_view'] == 1) - { - $this->fileContentStatic['###SITE_DEFAULT_VIEW###'] = $view['settings']->code; - } - // add site menu - if ($view['menu'] == 1) - { - // ###SITE_MENU_XML### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_MENU_XML###'] = $this->setCustomViewMenu($view); - } - - // insure the needed route helper is loaded - $this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($view['settings']->code,$view['settings']->code, true); - // build route details - $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($view['settings']->code); - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] .= $this->routerBuildViews($view['settings']->code); - - if ($view['settings']->main_get->gettype == 1) - { - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code])) - { - // ###SITE_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view['settings']->code]); - } - else - { - // ###SITE_BEFORE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEM###'] = ''; - } - - // ###SITE_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_GET_ITEM###'] = $this->setCustomViewGetItem($view['settings']->main_get, $view['settings']->code,"\t\t"); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code])) - { - // ###SITE_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEM###'] - = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view['settings']->code]); - } - else - { - // ###SITE_AFTER_GET_ITEM### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEM###'] = ''; - } - } - elseif ($view['settings']->main_get->gettype == 2) - { - // ###SITE_GET_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_GET_LIST_QUERY###'] = $this->setCustomViewListQuery($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code])) - { - // ###SITE_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_BEFORE_LIST_QUERY###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view['settings']->code]); - } - else - { - // ###SITE_CUSTOM_BEFORE_LIST_QUERY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_BEFORE_LIST_QUERY###'] = ''; - } - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code])) - { - // ###SITE_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view['settings']->code]); - } - else - { - // ###SITE_BEFORE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BEFORE_GET_ITEMS###'] = ''; - } - - // ###SITE_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_GET_ITEMS###'] = $this->setCustomViewGetItems($view['settings']->main_get, $view['settings']->code); - - // check if there is any custom script - if (isset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]) && ComponentbuilderHelper::checkString($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code])) - { - // ###SITE_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEMS###'] - = "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - // clear some memory - unset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view['settings']->code]); - } - else - { - // ###SITE_AFTER_GET_ITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_AFTER_GET_ITEMS###'] = ''; - } - } - // add to lang array - if (!isset($this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE])) - { - $this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE] = $view['settings']->name; - } - if (!isset($this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'])) - { - $this->langContent['site'][$this->langPrefix.'_'.$view['settings']->CODE.'_DESC'] = $view['settings']->description; - } - // ###SITE_CUSTOM_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_METHODS###'] = $this->setCustomViewCustomItemMethods($view['settings']->main_get, $view['settings']->code); - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_METHODS###'] .= $this->setCustomViewCustomMethods($view, $view['settings']->code); - // ###SITE_DIPLAY_METHOD### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_DIPLAY_METHOD###'] = $this->setCustomViewDisplayMethod($view); - // set document details - $this->setPrepareDocument($view); - // ###SITE_EXTRA_DIPLAY_METHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_EXTRA_DIPLAY_METHODS###'] = $this->setCustomViewExtraDisplayMethods($view); - // ###SITE_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_CODE_BODY###'] = $this->setCustomViewCodeBody($view); - // ###SITE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code]['###SITE_BODY###'] = $this->setCustomViewBody($view); - - // setup the templates - $this->setCustomViewTemplateBody($view); - } - // set site custom script to helper class - // ###SITE_CUSTOM_HELPER_SCRIPT### - $this->fileContentStatic['###SITE_CUSTOM_HELPER_SCRIPT###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_helper_site']); - // ###SITE_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] = ''; - // ###SITE_GLOBAL_EVENT### - $this->fileContentStatic['###SITE_GLOBAL_EVENT###'] = ''; - // now load the data for the global event if needed - if ($this->componentData->add_site_event == 1) - { - $this->fileContentStatic['###SITE_GLOBAL_EVENT###'] = "\n\n".'// Triger the Global Site Event'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT###'] .= "\n".$this->fileContentStatic['###Component###'].'Helper::globalEvent($document);'; - // ###SITE_GLOBAL_EVENT_HELPER### - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] = "\n\n\t".'/**'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'* The Global Site Event Method.'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'**/'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'public static function globalEvent($document)'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'{'; - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['component_php_site_event']); - $this->fileContentStatic['###SITE_GLOBAL_EVENT_HELPER###'] .= "\n\t".'}'; - } - // setup the layouts - $this->setCustomViewLayouts(); - } - - // ###LANG_ADMIN### - $this->fileContentStatic['###LANG_ADMIN###'] = $this->setLangAdmin(); - - // ###LANG_ADMIN_SYS### - $this->fileContentStatic['###LANG_ADMIN_SYS###'] = $this->setLangAdminSys(); - - // ###LANG_SITE### - $this->fileContentStatic['###LANG_SITE###'] = $this->setLangSite(); - - // ###LANG_SITE_SYS### - $this->fileContentStatic['###LANG_SITE_SYS###'] = $this->setLangSiteSys(); - - // ###INSTALLSCRIPT### - $this->fileContentStatic['###INSTALLSCRIPT###'] = $this->setInstallScript(); - - // ###UPDATESCRIPT### - $this->fileContentStatic['###UPDATESCRIPT###'] = $this->setUpdateScript(); - - // ###UNINSTALLSCRIPT### - $this->fileContentStatic['###UNINSTALLSCRIPT###'] = $this->setUninstallScript(); - - // ###HELPER_UIKIT### - $this->fileContentStatic['###HELPER_UIKIT###'] = $this->setUikitHelperMethods(); - - // ###CONFIG_FIELDSETS### - $this->fileContentStatic['###CONFIG_FIELDSETS###'] = implode("\n",$this->configFieldSets); - - // check if this has been set - if (!isset($this->fileContentStatic['###ROUTER_BUILD_VIEWS###']) || !ComponentbuilderHelper::checkString($this->fileContentStatic['###ROUTER_BUILD_VIEWS###'])) - { - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = 0; - } - else - { - $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = '('.$this->fileContentStatic['###ROUTER_BUILD_VIEWS###'].')'; - } - - // ###README### - if ($this->componentData->addreadme) - { - $this->fileContentStatic['###README###'] = $this->componentData->readme; - } - return true; - } - return false; - } - - protected function setLockLicense() - { - if ($this->componentData->add_license && $this->componentData->license_type == 3) - { - $_VDM = '_'.ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(10),'U'); - // add it to the system - $this->fileContentStatic['###HELPER_SITE_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'site'); - $this->fileContentStatic['###HELPER_LICENSE_LOCK###'] = $this->setHelperLincenseLock($_VDM,'admin'); - $this->fileContentStatic['###LICENSE_LOCKED_INT###'] = $this->setInitLincenseLock($_VDM); - $this->fileContentStatic['###LICENSE_LOCKED_DEFINED###'] = "\n\n".'defined(\''.$_VDM.'\') or die(JText::_(\'NIE_REG_NIE\'));'; - } - else - { - // don't add it to the system - $this->fileContentStatic['###HELPER_SITE_LICENSE_LOCK###'] = ''; - $this->fileContentStatic['###HELPER_LICENSE_LOCK###'] = ''; - $this->fileContentStatic['###LICENSE_LOCKED_INT###'] = ''; - $this->fileContentStatic['###LICENSE_LOCKED_DEFINED###'] = ''; - } - } - - protected function setLockLicensePer($view) - { - if ($this->componentData->add_license && $this->componentData->license_type == 3) - { - $boolMethod = 'isHonest'; - $globalbool = ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(4)); - // add it to the system - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = $this->setBoolLincenseLock($boolMethod,$globalbool); - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = $this->checkStatmentLicenseLocked(); - } - else - { - // don't add it to the system - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_SET_BOOL###'] = ''; - $this->fileContentDynamic[$view]['###LICENSE_LOCKED_CHECK###'] = ''; - } - } - - protected function checkStatmentLicenseLocked($boolMethod,$globalbool) - { - $statment[] = "\n\t\tif (!\$this->isHonest())"; - $statment[] = "\t\t{"; - $statment[] = "\t\t\tJError::raiseWarning(500, JText::_('NIE_REG_NIE'));"; - $statment[] = "\t\t\tJFactory::getApplication()->redirect('index.php');"; - $statment[] = "\t\t\treturn false;"; - $statment[] = "\t\t}"; - // return the genuine mentod statement - return implode("\n", $statment); - } - - protected function setBoolLincenseLock($boolMethod,$globalbool) - { - $bool[] = "\n\n\t/**"; - $bool[] = "\t* Check if this install has a license."; - $bool[] = "\t**/"; - $bool[] = "\tprivate function ".$boolMethod."()"; - $bool[] = "\t{"; - $bool[] = "\t\tif(isset(\$this->".$globalbool."))"; - $bool[] = "\t\t{"; - $bool[] = "\t\t\treturn \$this->".$globalbool.";"; - $bool[] = "\t\t}"; - $bool[] = "\t\t//".$this->setLine(__LINE__)." Get the global params"; - $bool[] = "\t\t\$params = JComponentHelper::getParams('com_".$this->fileContentStatic['###component###']."', true);"; - $bool[] = "\t\t\$license_key = \$params->get('license_key', null);"; - $bool[] = "\t\tif (\$license_key)"; - $bool[] = "\t\t{"; - $bool[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; - $bool[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $bool[] = "\t\t\t\$the = new VDM(\$license_key);"; - $bool[] = "\t\t\t\$this->".$globalbool." = \$the->_is;"; - $bool[] = "\t\t\treturn \$this->".$globalbool.";"; - $bool[] = "\t\t}"; - $bool[] = "\t\treturn false;"; - $bool[] = "\t}"; - // return the genuine mentod statement - return implode("\n", $bool); - } - - protected function setHelperLincenseLock($_VDM,$target) - { - $helper[] = "\n\n\t/**"; - $helper[] = "\t* Check if this install has a license."; - $helper[] = "\t**/"; - $helper[] = "\tpublic static function isGenuine()"; - $helper[] = "\t{"; - $helper[] = "\t\t//".$this->setLine(__LINE__)." Get the global params"; - $helper[] = "\t\t\$params = JComponentHelper::getParams('com_".$this->fileContentStatic['###component###']."', true);"; - $helper[] = "\t\t\$license_key = \$params->get('license_key', null);"; - $helper[] = "\t\tif (\$license_key)"; - $helper[] = "\t\t{"; - $helper[] = "\t\t\t//".$this->setLine(__LINE__)." load the file"; - $helper[] = "\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $helper[] = "\t\t\t\$the = new VDM(\$license_key);"; - $helper[] = "\t\t\treturn \$the->_is;"; - $helper[] = "\t\t}"; - $helper[] = "\t\treturn false;"; - $helper[] = "\t}"; - // return the genuine mentod statement - return implode("\n", $helper); - } - - protected function setInitLincenseLock($_VDM) - { - $init[] = "\nif (!defined('".$_VDM."'))"; - $init[] = "{"; - $init[] = "\t\$allow = ".$this->fileContentStatic['###Component###']."Helper::isGenuine();"; - $init[] = "\tif (\$allow)"; - $init[] = "\t{"; - $init[] = "\t\tdefine('".$_VDM."', 1);"; - $init[] = "\t}"; - $init[] = "}"; - // return the initializing statement - return implode("\n", $init); - } - - protected function setVDMCryption() - { - // make sure we have the correct file - if (isset($this->componentData->whmcs_key) && ComponentbuilderHelper::checkString($this->componentData->whmcs_key)) - { - // Get the basic encription. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - if (!empty($this->componentData->whmcs_key) && $basickey && !is_numeric($this->componentData->whmcs_key) && $this->componentData->whmcs_key === base64_encode(base64_decode($this->componentData->whmcs_key, true))) - { - // basic decript data whmcs_key. - $this->componentData->whmcs_key = rtrim($basic->decryptString($this->componentData->whmcs_key), "\0"); - // set the needed string to connect to whmcs - $key["kasier"] = $this->componentData->whmcs_url; - $key["geheim"] = $this->componentData->whmcs_key; - $key["onthou"] = 1; - // prep the call info - $theKey = base64_encode(serialize($key)); - // set the script - $encrypt[] = "/**"; - $encrypt[] = "* ".$this->setLine(__LINE__)."VDM Class "; - $encrypt[] = "**/"; - $encrypt[] = "\nclass VDM"; - $encrypt[] = "{"; - $encrypt[] = "\tpublic \$_key = false;"; - $encrypt[] = "\tpublic \$_is = false;"; - $encrypt[] = "\t"; - $encrypt[] = "\tpublic function __construct(\$Vk5smi0wjnjb)"; - $encrypt[] = "\t{"; - $encrypt[] = "\t\t// get the session"; - $encrypt[] = "\t\t\$session = JFactory::getSession();"; - $encrypt[] = "\t\t\$V2uekt2wcgwk = \$session->get(\$Vk5smi0wjnjb, null);"; - $encrypt[] = "\t\t\$h4sgrGsqq = \$this->get(\$Vk5smi0wjnjb,\$V2uekt2wcgwk);"; - $encrypt[] = "\t\tif (isset(\$h4sgrGsqq['nuut']) && \$h4sgrGsqq['nuut'] && (isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['eiegrendel']) && strlen(\$h4sgrGsqq['eiegrendel']) > 300)"; - $encrypt[] = "\t\t{"; - $encrypt[] = "\t\t\t\$session->set(\$Vk5smi0wjnjb, \$h4sgrGsqq['eiegrendel']);"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tif ((isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 && isset(\$h4sgrGsqq['customfields']) && strlen(\$h4sgrGsqq['customfields']) > 4)"; - $encrypt[] = "\t\t{"; - $encrypt[] = "\t\t\t\$this->_key = md5(\$h4sgrGsqq['customfields']);"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tif ((isset(\$h4sgrGsqq['status']) && 'Active' == \$h4sgrGsqq['status']) && isset(\$h4sgrGsqq['md5hash']) && strlen(\$h4sgrGsqq['md5hash']) == 32 )"; - $encrypt[] = "\t\t{"; - $encrypt[] = "\t\t\t\$this->_is = true;"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t}"; - $encrypt[] = "\t"; - $encrypt[] = "\tprivate function get(\$Vk5smi0wjnjb,\$V2uekt2wcgwk)"; - $encrypt[] = "\t{"; - $encrypt[] = "\t\t\$Viioj50xuqu2 = unserialize(base64_decode('".$theKey."'));"; - $encrypt[] = "\t\t\$Visqfrd1caus = time() . md5(mt_rand(1000000000, 9999999999) . \$Vk5smi0wjnjb);"; - $encrypt[] = "\t\t\$Vo4tezfgcf3e = date(\"Ymd\");"; - $encrypt[] = "\t\t\$Vozblwvfym2f = \$_SERVER['SERVER_NAME'];"; - $encrypt[] = "\t\t\$Vozblwvfym2fdie = isset(\$_SERVER['SERVER_ADDR']) ? \$_SERVER['SERVER_ADDR'] : \$_SERVER['LOCAL_ADDR'];"; - $encrypt[] = "\t\t\$V343jp03dxco = dirname(__FILE__);"; - $encrypt[] = "\t\t\$Vc2rayehw4f0 = unserialize(base64_decode('czozNjoibW9kdWxlcy9zZXJ2ZXJzL2xpY2Vuc2luZy92ZXJpZnkucGhwIjs='));"; - $encrypt[] = "\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\tif (\$V2uekt2wcgwk) {"; - $encrypt[] = "\t\t\t\$V2uekt2wcgwk = str_replace(\"".'\n'."\", '', \$V2uekt2wcgwk);"; - $encrypt[] = "\t\t\t\$Vm5cxjdc43g4 = substr(\$V2uekt2wcgwk, 0, strlen(\$V2uekt2wcgwk) - 32);"; - $encrypt[] = "\t\t\t\$Vbgx0efeu2sy = substr(\$V2uekt2wcgwk, strlen(\$V2uekt2wcgwk) - 32);"; - $encrypt[] = "\t\t\tif (\$Vbgx0efeu2sy == md5(\$Vm5cxjdc43g4 . \$Viioj50xuqu2['geheim'])) {"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4 = strrev(\$Vm5cxjdc43g4);"; - $encrypt[] = "\t\t\t\t\$Vbgx0efeu2sy = substr(\$Vm5cxjdc43g4, 0, 32);"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4 = substr(\$Vm5cxjdc43g4, 32);"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4 = base64_decode(\$Vm5cxjdc43g4);"; - $encrypt[] = "\t\t\t\t\$Vm5cxjdc43g4finding = unserialize(\$Vm5cxjdc43g4);"; - $encrypt[] = "\t\t\t\t\$V3qqz0p00fbq = \$Vm5cxjdc43g4finding['dan'];"; - $encrypt[] = "\t\t\t\tif (\$Vbgx0efeu2sy == md5(\$V3qqz0p00fbq . \$Viioj50xuqu2['geheim'])) {"; - $encrypt[] = "\t\t\t\t\t\$Vbfbwv2y4kre = date(\"Ymd\", mktime(0, 0, 0, date(\"m\"), date(\"d\") - \$Viioj50xuqu2['onthou'], date(\"Y\")));"; - $encrypt[] = "\t\t\t\t\tif (\$V3qqz0p00fbq > \$Vbfbwv2y4kre) {"; - $encrypt[] = "\t\t\t\t\t\t\$Vlpolphukogz = true;"; - $encrypt[] = "\t\t\t\t\t\t\$Vwasqoybpyed = \$Vm5cxjdc43g4finding;"; - $encrypt[] = "\t\t\t\t\t\t\$Vcixw3trerrt = explode(',', \$Vwasqoybpyed['validdomain']);"; - $encrypt[] = "\t\t\t\t\t\tif (!in_array(\$_SERVER['SERVER_NAME'], \$Vcixw3trerrt)) {"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vm5cxjdc43g4finding['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t\t\$Vkni3xyhkqzv = explode(',', \$Vwasqoybpyed['validip']);"; - $encrypt[] = "\t\t\t\t\t\tif (!in_array(\$Vozblwvfym2fdie, \$Vkni3xyhkqzv)) {"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vm5cxjdc43g4finding['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t\t\$Vckfvnepoaxj = explode(',', \$Vwasqoybpyed['validdirectory']);"; - $encrypt[] = "\t\t\t\t\t\tif (!in_array(\$V343jp03dxco, \$Vckfvnepoaxj)) {"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vlpolphukogz = false;"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vm5cxjdc43g4finding['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tif (!\$Vlpolphukogz) {"; - $encrypt[] = "\t\t\t\$V1u0c4dl3ehp = array("; - $encrypt[] = "\t\t\t\t'licensekey' => \$Vk5smi0wjnjb,"; - $encrypt[] = "\t\t\t\t'domain' => \$Vozblwvfym2f,"; - $encrypt[] = "\t\t\t\t'ip' => \$Vozblwvfym2fdie,"; - $encrypt[] = "\t\t\t\t'dir' => \$V343jp03dxco,"; - $encrypt[] = "\t\t\t);"; - $encrypt[] = "\t\t\tif (\$Visqfrd1caus) \$V1u0c4dl3ehp['check_token'] = \$Visqfrd1caus;"; - $encrypt[] = "\t\t\t\$Vdsjeyjmpq2o = '';"; - $encrypt[] = "\t\t\tforeach (\$V1u0c4dl3ehp AS \$V2sgyscukmgi=>\$V1u00zkzmb1d) {"; - $encrypt[] = "\t\t\t\t\$Vdsjeyjmpq2o .= \$V2sgyscukmgi.'='.urlencode(\$V1u00zkzmb1d).'&';"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (function_exists('curl_exec')) {"; - $encrypt[] = "\t\t\t\t\$Vdathuqgjyf0 = curl_init();"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_URL, \$Viioj50xuqu2['kasier'] . \$Vc2rayehw4f0);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_POST, 1);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_POSTFIELDS, \$Vdsjeyjmpq2o);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_TIMEOUT, 30);"; - $encrypt[] = "\t\t\t\tcurl_setopt(\$Vdathuqgjyf0, CURLOPT_RETURNTRANSFER, 1);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5 = curl_exec(\$Vdathuqgjyf0);"; - $encrypt[] = "\t\t\t\tcurl_close(\$Vdathuqgjyf0);"; - $encrypt[] = "\t\t\t} else {"; - $encrypt[] = "\t\t\t\t\$Vrpmu4bvnmkp = fsockopen(\$Viioj50xuqu2['kasier'], 80, \$Vc0t5kmpwkwk, \$Va3g41fnofhu, 5);"; - $encrypt[] = "\t\t\t\tif (\$Vrpmu4bvnmkp) {"; - $encrypt[] = "\t\t\t\t\t\$Vznkm0a0me1y = \"\r\n\";"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop = \"POST \".\$Viioj50xuqu2['kasier'] . \$Vc2rayehw4f0 . \" HTTP/1.0\" . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Host: \".\$Viioj50xuqu2['kasier'] . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Content-type: application/x-www-form-urlencoded\" . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Content-length: \".@strlen(\$Vdsjeyjmpq2o) . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \"Connection: close\" . \$Vznkm0a0me1y . \$Vznkm0a0me1y;"; - $encrypt[] = "\t\t\t\t\t\$V2sgyscukmgiop .= \$Vdsjeyjmpq2o;"; - $encrypt[] = "\t\t\t\t\t\$Vqojefyeohg5 = '';"; - $encrypt[] = "\t\t\t\t\t@stream_set_timeout(\$Vrpmu4bvnmkp, 20);"; - $encrypt[] = "\t\t\t\t\t@fputs(\$Vrpmu4bvnmkp, \$V2sgyscukmgiop);"; - $encrypt[] = "\t\t\t\t\t\$V2czq24pjexf = @socket_get_status(\$Vrpmu4bvnmkp);"; - $encrypt[] = "\t\t\t\t\twhile (!@feof(\$Vrpmu4bvnmkp)&&\$V2czq24pjexf) {"; - $encrypt[] = "\t\t\t\t\t\t\$Vqojefyeohg5 .= @fgets(\$Vrpmu4bvnmkp, 1024);"; - $encrypt[] = "\t\t\t\t\t\t\$V2czq24pjexf = @socket_get_status(\$Vrpmu4bvnmkp);"; - $encrypt[] = "\t\t\t\t\t}"; - $encrypt[] = "\t\t\t\t\t@fclose (\$Vqojefyeohg5);"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (!\$Vqojefyeohg5) {"; - $encrypt[] = "\t\t\t\t\$Vbfbwv2y4kre = date(\"Ymd\", mktime(0, 0, 0, date(\"m\"), date(\"d\") - \$Viioj50xuqu2['onthou'], date(\"Y\")));"; - $encrypt[] = "\t\t\t\tif (isset(\$V3qqz0p00fbq) && \$V3qqz0p00fbq > \$Vbfbwv2y4kre) {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed = \$Vm5cxjdc43g4finding;"; - $encrypt[] = "\t\t\t\t} else {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['description'] = \"Remote Check Failed\";"; - $encrypt[] = "\t\t\t\t\treturn \$Vwasqoybpyed;"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t} else {"; - $encrypt[] = "\t\t\t\tpreg_match_all('".'/<(.*?)>([^<]+)<\/\\1>/i'."', \$Vqojefyeohg5, \$V1ot20wob03f);"; - $encrypt[] = "\t\t\t\t\$Vwasqoybpyed = array();"; - $encrypt[] = "\t\t\t\tforeach (\$V1ot20wob03f[1] AS \$V2sgyscukmgi=>\$V1u00zkzmb1d) {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed[\$V1u00zkzmb1d] = \$V1ot20wob03f[2][\$V2sgyscukmgi];"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (!is_array(\$Vwasqoybpyed)) {"; - $encrypt[] = "\t\t\t\tdie(\"Invalid License Server Response\");"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (isset(\$Vwasqoybpyed['md5hash']) && \$Vwasqoybpyed['md5hash']) {"; - $encrypt[] = "\t\t\t\tif (\$Vwasqoybpyed['md5hash'] != md5(\$Viioj50xuqu2['geheim'] . \$Visqfrd1caus)) {"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['status'] = \"sleg\";"; - $encrypt[] = "\t\t\t\t\t\$Vwasqoybpyed['description'] = \"MD5 Checksum Verification Failed\";"; - $encrypt[] = "\t\t\t\t\treturn \$Vwasqoybpyed;"; - $encrypt[] = "\t\t\t\t}"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\tif (isset(\$Vwasqoybpyed['status']) && \$Vwasqoybpyed['status'] == \"Active\") {"; - $encrypt[] = "\t\t\t\t\$Vwasqoybpyed['dan'] = \$Vo4tezfgcf3e;"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = serialize(\$Vwasqoybpyed);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = base64_encode(\$Vqojefyeohg5ing);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = md5(\$Vo4tezfgcf3e . \$Viioj50xuqu2['geheim']) . \$Vqojefyeohg5ing;"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = strrev(\$Vqojefyeohg5ing);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = \$Vqojefyeohg5ing . md5(\$Vqojefyeohg5ing . \$Viioj50xuqu2['geheim']);"; - $encrypt[] = "\t\t\t\t\$Vqojefyeohg5ing = wordwrap(\$Vqojefyeohg5ing, 80, \"".'\n'."\", true);"; - $encrypt[] = "\t\t\t\t\$Vwasqoybpyed['eiegrendel'] = \$Vqojefyeohg5ing;"; - $encrypt[] = "\t\t\t}"; - $encrypt[] = "\t\t\t\$Vwasqoybpyed['nuut'] = true;"; - $encrypt[] = "\t\t}"; - $encrypt[] = "\t\tunset(\$V1u0c4dl3ehp,\$Vqojefyeohg5,\$V1ot20wob03f,\$Viioj50xuqu2['kasier'],\$Viioj50xuqu2['geheim'],\$Vo4tezfgcf3e,\$Vozblwvfym2fdie,\$Viioj50xuqu2['onthou'],\$Vbgx0efeu2sy);"; - $encrypt[] = "\t\treturn \$Vwasqoybpyed;"; - $encrypt[] = "\t}"; - $encrypt[] = "}"; - - // return the help methods - return implode("\n",$encrypt); - } - } - return ''; - } - - protected function setGetCryptKey() - { - // ###ENCRYPT_FILE### - $this->fileContentStatic['###ENCRYPT_FILE###'] = ''; - if ((isset($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder)) || (isset($this->advancedEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder)) || $this->componentData->add_license) - { - if (isset($this->advancedEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder) || $this->componentData->add_license) - { - // set advanced encrypt file into place - $target = array('admin' => 'encrypt'); - $done = $this->buildDynamique($target,'encrypt'); - // the text for the file ###VDM_ENCRYPTION_BODY### - $this->fileContentDynamic['encrypt']['###VDM_ENCRYPTION_BODY###'] = $this->setVDMCryption(); - // ###ENCRYPT_FILE### - $this->fileContentStatic['###ENCRYPT_FILE###'] = "\n\t\t\t<filename>vdm.php</filename>"; - } - // get component name - $component = $this->fileContentStatic['###component###']; - // set the getCryptKey function to the helper class - $function = array(); - if (isset($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder)) - { - $function[] = "\n\n\tpublic static function getCryptKey(\$type)"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get the global params"; - $function[] = "\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; - $function[] = "\t\tif ('advanced' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$advanced_key = \$params->get('advanced_key', null);"; - $function[] = "\t\t\tif (\$advanced_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." load the file"; - $function[] = "\t\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $function[] = "\n\t\t\t\t\$the = new VDM(\$advanced_key);"; - $function[] = "\n\t\t\t\treturn \$the->_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\telseif ('basic' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$basic_key = \$params->get('basic_key', null);"; - $function[] = "\t\t\tif (\$basic_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\treturn \$basic_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - elseif (isset($this->advancedEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder)) - { - $function[] = "\n\n\tpublic static function getCryptKey(\$type)"; - $function[] = "\t{"; - $function[] = "\t\tif ('advanced' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params"; - $function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; - $function[] = "\t\t\t\$advanced_key = \$params->get('advanced_key', null);"; - $function[] = "\t\t\tif (\$advanced_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." load the file"; - $function[] = "\t\t\t\tJLoader::import( 'vdm', JPATH_COMPONENT_ADMINISTRATOR);"; - $function[] = "\n\t\t\t\t\$the = new VDM(\$advanced_key);"; - $function[] = "\n\t\t\t\treturn \$the->_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - elseif (isset($this->basicEncryptionBuilder) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder)) - { - $function[] = "\n\n\tpublic static function getCryptKey(\$type)"; - $function[] = "\t{"; - $function[] = "\t\tif ('basic' == \$type)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t//".$this->setLine(__LINE__)." Get the global params"; - $function[] = "\t\t\t\$params = JComponentHelper::getParams('com_".$component."', true);"; - $function[] = "\t\t\t\$basic_key = \$params->get('basic_key', null);"; - $function[] = "\t\t\tif (\$basic_key)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\treturn \$basic_key;"; - $function[] = "\t\t\t}"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - // return the help methods - return implode("\n",$function); - } - return ''; - } - - protected function setVersionController() - { - $updateServer = ''; - if (ComponentbuilderHelper::checkArray($this->componentData->version_update)) - { - $updateXML = array(); - // add the update server - if ($this->componentData->add_update_server) - { - $updateXML[] = '<updates>'; - } - // add the update sql - $addSQL = true; - foreach ($this->componentData->version_update as $update) - { - // ensure version naming is correct - $update['version'] = preg_replace('/[^0-9.]+/', '', $update['version']); - // check if the sql should be added - if ($update['version'] == $this->componentData->component_version) - { - $addSQL = false; - } - // setup import files - if ($addSQL) - { - $name = ComponentbuilderHelper::safeString($update['version']); - $target = array('admin' => $name); - $this->buildDynamique($target,'sql_update',$update['version']); - $this->fileContentDynamic[$name.'_'.$update['version']]['###UPDATE_VERSION_MYSQL###'] = $update['mysql']; - } - // add the update server - if ($this->componentData->add_update_server) - { - // build update xml - $updateXML[] = "\t<update>"; - $updateXML[] = "\t\t<name>".$this->fileContentStatic['###Component_name###']."</name>"; - $updateXML[] = "\t\t<description>".$this->fileContentStatic['###SHORT_DESCRIPTION###']."</description>"; - $updateXML[] = "\t\t<element>com_".$this->fileContentStatic['###component###']."</element>"; - $updateXML[] = "\t\t<type>component</type>"; - $updateXML[] = "\t\t<version>".$update['version']."</version>"; - $updateXML[] = "\t\t".'<infourl title="'.$this->fileContentStatic['###Component_name###'].'!">'.$this->fileContentStatic['###AUTHORWEBSITE###'].'</infourl>'; - $updateXML[] = "\t\t<downloads>"; - if (!isset($update['url'])) - { - $update['url'] = 'http://domain.com/demo.xml'; - } - $updateXML[] = "\t\t\t".'<downloadurl type="full" format="zip">'.$update['url'].'</downloadurl>'; - $updateXML[] = "\t\t</downloads>"; - $updateXML[] = "\t\t<tags>"; - $updateXML[] = "\t\t\t<tag>stable</tag>"; - $updateXML[] = "\t\t</tags>"; - $updateXML[] = "\t\t<maintainer>".$this->fileContentStatic['###AUTHOR###']."</maintainer>"; - $updateXML[] = "\t\t<maintainerurl>".$this->fileContentStatic['###AUTHORWEBSITE###']."</maintainerurl>"; - $updateXML[] = "\t\t".'<targetplatform name="joomla" version="3.*"/>'; - $updateXML[] = "\t</update>"; - } - } - // add the update server - if ($this->componentData->add_update_server) - { - $updateXML[] = '</updates>'; - // ###UPDATE_SERVER_XML### - $name = str_replace('.xml', '', substr($this->componentData->update_server, strrpos($this->componentData->update_server, '/') + 1)); - $target = array('admin' => $name); - $this->buildDynamique($target,'update_server'); - $this->fileContentDynamic[$name]['###UPDATE_SERVER_XML###'] = implode("\n", $updateXML); - - // set the Update server file name - $this->updateServerFileName = $name; - - // ###UPDATESERVER### - $updateServer = array(); - $updateServer[] = "\n\t<updateservers>"; - $updateServer[] = "\t\t".'<server type="extension" enabled="1" element="com_'.$this->fileContentStatic['###component###'].'" name="'.$this->fileContentStatic['###Component_name###'].'">'.$this->componentData->update_server.'</server>'; - $updateServer[] = "\t</updateservers>"; - // return the array to string - $updateServer = implode("\n", $updateServer); - } - } - // add update server details to component XML file - $this->fileContentStatic['###UPDATESERVER###'] = $updateServer; - } - - protected function noHelp() - { - $help = array(); - $help[] = "\n\n\t/**"; - $help[] = "\t* Can be used to build help urls."; - $help[] = "\t**/"; - $help[] = "\tpublic static function getHelpUrl(\$view)"; - $help[] = "\t{"; - $help[] = "\t\treturn false;"; - $help[] = "\t}"; - // return the no help method - return implode("\n",$help); - } - - protected function checkHelp($viewName_single) - { - if ($viewName_single == "help_document") - { - // set help file into admin place - $target = array('admin' => 'help'); - $admindone = $this->buildDynamique($target,'help'); - // set the help file into site place - $target = array('site' => 'help'); - $sitedone = $this->buildDynamique($target,'help'); - if ($admindone && $sitedone) - { - // ###HELP### - $this->fileContentStatic['###HELP###'] = $this->setHelp(1); - // ###HELP_SITE### - $this->fileContentStatic['###HELP_SITE###'] = $this->setHelp(2); - // to make sure the file is updated TODO - $this->fileContentDynamic['help']['###BLABLA###'] = 'blabla'; - return true; - } - } - return false; - } - - protected function setHelp($location) - { - // set hte help function to the helper class - $target = 'admin_view'; - if ($location == 2) - { - $target = 'site_view'; - } - $help = array(); - $help[] = "\n\n\t/**"; - $help[] = "\t* Load the Component Help URLs."; - $help[] = "\t**/"; - $help[] = "\tpublic static function getHelpUrl(\$view)"; - $help[] = "\t{"; - $help[] = "\t\t\$user = JFactory::getUser();"; - $help[] = "\t\t\$groups = \$user->get('groups');"; - $help[] = "\t\t\$db = JFactory::getDbo();"; - $help[] = "\t\t\$query = \$db->getQuery(true);"; - $help[] = "\t\t\$query->select(array('a.id','a.groups','a.target','a.type','a.article','a.url'));"; - $help[] = "\t\t\$query->from('#__".$this->fileContentStatic['###component###']."_help_document AS a');"; - $help[] = "\t\t\$query->where('a.".$target." = '.\$db->quote(\$view));"; - $help[] = "\t\t\$query->where('a.location = ".(int) $location."');"; - $help[] = "\t\t\$query->where('a.published = 1');"; - $help[] = "\t\t\$db->setQuery(\$query);"; - $help[] = "\t\t\$db->execute();"; - $help[] = "\t\tif(\$db->getNumRows())"; - $help[] = "\t\t{"; - $help[] = "\t\t\t\$helps = \$db->loadObjectList();"; - $help[] = "\t\t\tif (self::checkArray(\$helps))"; - $help[] = "\t\t\t{"; - $help[] = "\t\t\t\tforeach (\$helps as \$nr => \$help)"; - $help[] = "\t\t\t\t{"; - $help[] = "\t\t\t\t\tif (\$help->target == 1)"; - $help[] = "\t\t\t\t\t{"; - $help[] = "\t\t\t\t\t\t\$targetgroups = json_decode(\$help->groups, true);"; - $help[] = "\t\t\t\t\t\tif (!array_intersect(\$targetgroups, \$groups))"; - $help[] = "\t\t\t\t\t\t{"; - $help[] = "\t\t\t\t\t\t\t//".$this->setLine(__LINE__)." if user not in those target groups then remove the item"; - $help[] = "\t\t\t\t\t\t\tunset(\$helps[\$nr]);"; - $help[] = "\t\t\t\t\t\t\tcontinue;"; - $help[] = "\t\t\t\t\t\t}"; - $help[] = "\t\t\t\t\t}"; - $help[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." set the return type"; - $help[] = "\t\t\t\t\tswitch (\$help->type)"; - $help[] = "\t\t\t\t\t{"; - $help[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." set joomla article"; - $help[] = "\t\t\t\t\t\tcase 1:"; - $help[] = "\t\t\t\t\t\t\treturn self::loadArticleLink(\$help->article);"; - $help[] = "\t\t\t\t\t\tbreak;"; - $help[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." set help text"; - $help[] = "\t\t\t\t\t\tcase 2:"; - $help[] = "\t\t\t\t\t\t\treturn self::loadHelpTextLink(\$help->id);"; - $help[] = "\t\t\t\t\t\tbreak;"; - $help[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." set Link"; - $help[] = "\t\t\t\t\t\tcase 3:"; - $help[] = "\t\t\t\t\t\t\treturn \$help->url;"; - $help[] = "\t\t\t\t\t\tbreak;"; - $help[] = "\t\t\t\t\t}"; - $help[] = "\t\t\t\t}"; - $help[] = "\t\t\t}"; - $help[] = "\t\t}"; - $help[] = "\t\treturn false;"; - $help[] = "\t}"; - $help[] = "\n\t/**"; - $help[] = "\t* Get the Article Link."; - $help[] = "\t**/"; - $help[] = "\tprotected static function loadArticleLink(\$id)"; - $help[] = "\t{"; - $help[] = "\t\treturn JURI::root().'index.php?option=com_content&view=article&id='.\$id.'&tmpl=component&layout=modal';"; - $help[] = "\t}"; - $help[] = "\n\t/**"; - $help[] = "\t* Get the Help Text Link."; - $help[] = "\t**/"; - $help[] = "\tprotected static function loadHelpTextLink(\$id)"; - $help[] = "\t{"; - $help[] = "\t\t\$token = JSession::getFormToken();"; - $help[] = "\t\treturn 'index.php?option=com_".$this->fileContentStatic['###component###']."&task=help.getText&id=' . (int) \$id . '&token=' . \$token;"; - $help[] = "\t}"; - // return the help methods - return implode("\n",$help); - } - - protected function setExelHelperMethods() - { - if ($this->addEximport) - { - $exel = array(); - $exel[] = "\n\n\t/**"; - $exel[] = "\t * Prepares the xml document"; - $exel[] = "\t */"; - $exel[] = "\tpublic static function xls(\$rows,\$fileName = null,\$title = null,\$subjectTab = null,\$creator = '".$this->fileContentStatic['###COMPANYNAME###']."',\$description = null,\$category = null,\$keywords = null,\$modified = null)"; - $exel[] = "\t{"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set the user"; - $exel[] = "\t\t\$user = JFactory::getUser();"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set fieldname if not set"; - $exel[] = "\t\tif (!\$fileName)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$fileName = 'exported_'.JFactory::getDate()->format('jS_F_Y');"; - $exel[] = "\t\t}"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set modiefied if not set"; - $exel[] = "\t\tif (!\$modified)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$modified = \$user->name;"; - $exel[] = "\t\t}"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set title if not set"; - $exel[] = "\t\tif (!\$title)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$title = 'Book1';"; - $exel[] = "\t\t}"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set tab name if not set"; - $exel[] = "\t\tif (!\$subjectTab)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$subjectTab = 'Sheet1';"; - $exel[] = "\t\t}"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." make sure the file is loaded\t\t"; - $exel[] = "\t\tJLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers');"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Create new PHPExcel object"; - $exel[] = "\t\t\$objPHPExcel = new PHPExcel();"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Set document properties"; - $exel[] = "\t\t\$objPHPExcel->getProperties()->setCreator(\$creator)"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setCompany('".$this->fileContentStatic['###COMPANYNAME###']."')"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setLastModifiedBy(\$modified)"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setTitle(\$title)"; - $exel[] = "\t\t\t\t\t\t\t\t\t ->setSubject(\$subjectTab);"; - $exel[] = "\t\tif (!\$description)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$objPHPExcel->getProperties()->setDescription(\$description);"; - $exel[] = "\t\t}"; - $exel[] = "\t\tif (!\$keywords)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$objPHPExcel->getProperties()->setKeywords(\$keywords);"; - $exel[] = "\t\t}"; - $exel[] = "\t\tif (!\$category)"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$objPHPExcel->getProperties()->setCategory(\$category);"; - $exel[] = "\t\t}"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Some styles"; - $exel[] = "\t\t\$headerStyles = array("; - $exel[] = "\t\t\t'font' => array("; - $exel[] = "\t\t\t\t'bold' => true,"; - $exel[] = "\t\t\t\t'color' => array('rgb' => '1171A3'),"; - $exel[] = "\t\t\t\t'size' => 12,"; - $exel[] = "\t\t\t\t'name' => 'Verdana'"; - $exel[] = "\t\t));"; - $exel[] = "\t\t\$sideStyles = array("; - $exel[] = "\t\t\t'font' => array("; - $exel[] = "\t\t\t\t'bold' => true,"; - $exel[] = "\t\t\t\t'color' => array('rgb' => '444444'),"; - $exel[] = "\t\t\t\t'size' => 11,"; - $exel[] = "\t\t\t\t'name' => 'Verdana'"; - $exel[] = "\t\t));"; - $exel[] = "\t\t\$normalStyles = array("; - $exel[] = "\t\t\t'font' => array("; - $exel[] = "\t\t\t\t'color' => array('rgb' => '444444'),"; - $exel[] = "\t\t\t\t'size' => 11,"; - $exel[] = "\t\t\t\t'name' => 'Verdana'"; - $exel[] = "\t\t));"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Add some data"; - $exel[] = "\t\tif (self::checkArray(\$rows))"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$i = 1;"; - $exel[] = "\t\t\tforeach (\$rows as \$array){"; - $exel[] = "\t\t\t\t\$a = 'A';"; - $exel[] = "\t\t\t\tforeach (\$array as \$value){"; - $exel[] = "\t\t\t\t\t\$objPHPExcel->setActiveSheetIndex(0)->setCellValue(\$a.\$i, \$value);"; - $exel[] = "\t\t\t\t\tif (\$i == 1){"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getColumnDimension(\$a)->setAutoSize(true);"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->applyFromArray(\$headerStyles);"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);"; - $exel[] = "\t\t\t\t\t} elseif (\$a == 'A'){"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->applyFromArray(\$sideStyles);"; - $exel[] = "\t\t\t\t\t} else {"; - $exel[] = "\t\t\t\t\t\t\$objPHPExcel->getActiveSheet()->getStyle(\$a.\$i)->applyFromArray(\$normalStyles);"; - $exel[] = "\t\t\t\t\t}"; - $exel[] = "\t\t\t\t\t\$a++;"; - $exel[] = "\t\t\t\t}"; - $exel[] = "\t\t\t\t\$i++;"; - $exel[] = "\t\t\t}"; - $exel[] = "\t\t}"; - $exel[] = "\t\telse"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\treturn false;"; - $exel[] = "\t\t}"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Rename worksheet"; - $exel[] = "\t\t\$objPHPExcel->getActiveSheet()->setTitle(\$subjectTab);"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Set active sheet index to the first sheet, so Excel opens this as the first sheet"; - $exel[] = "\t\t\$objPHPExcel->setActiveSheetIndex(0);"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." Redirect output to a client's web browser (Excel5)"; - $exel[] = "\t\theader('Content-Type: application/vnd.ms-excel');"; - $exel[] = "\t\theader('Content-Disposition: attachment;filename=\"'.\$fileName.'.xls\"');"; - $exel[] = "\t\theader('Cache-Control: max-age=0');"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." If you're serving to IE 9, then the following may be needed"; - $exel[] = "\t\theader('Cache-Control: max-age=1');"; - $exel[] = "\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." If you're serving to IE over SSL, then the following may be needed"; - $exel[] = "\t\theader ('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past"; - $exel[] = "\t\theader ('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); // always modified"; - $exel[] = "\t\theader ('Cache-Control: cache, must-revalidate'); // HTTP/1.1"; - $exel[] = "\t\theader ('Pragma: public'); // HTTP/1.0"; - $exel[] = "\t\t"; - $exel[] = "\t\t\$objWriter = PHPExcel_IOFactory::createWriter(\$objPHPExcel, 'Excel5');"; - $exel[] = "\t\t\$objWriter->save('php://output');"; - $exel[] = "\t\tjexit();"; - $exel[] = "\t}"; - $exel[] = "\t"; - $exel[] = "\t/**"; - $exel[] = "\t* Get CSV Headers"; - $exel[] = "\t*/"; - $exel[] = "\tpublic static function getFileHeaders(\$dataType)"; - $exel[] = "\t{\t\t"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." make sure the file is loaded\t\t"; - $exel[] = "\t\tJLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers');"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." get session object"; - $exel[] = "\t\t\$session \t= JFactory::getSession();"; - $exel[] = "\t\t\$package\t= \$session->get('package', null);"; - $exel[] = "\t\t\$package\t= json_decode(\$package, true);"; - $exel[] = "\t\t//".$this->setLine(__LINE__)." set the headers"; - $exel[] = "\t\tif(isset(\$package['dir']))"; - $exel[] = "\t\t{"; - $exel[] = "\t\t\t\$inputFileType = PHPExcel_IOFactory::identify(\$package['dir']);"; - $exel[] = "\t\t\t\$excelReader = PHPExcel_IOFactory::createReader(\$inputFileType);"; - $exel[] = "\t\t\t\$excelReader->setReadDataOnly(true);"; - $exel[] = "\t\t\t\$excelObj = \$excelReader->load(\$package['dir']);"; - $exel[] = "\t\t\t\$headers = array();"; - $exel[] = "\t\t\tforeach (\$excelObj->getActiveSheet()->getRowIterator() as \$row)"; - $exel[] = "\t\t\t{"; - $exel[] = "\t\t\t\tif(\$row->getRowIndex() == 1)"; - $exel[] = "\t\t\t\t{"; - $exel[] = "\t\t\t\t\t\$cellIterator = \$row->getCellIterator();"; - $exel[] = "\t\t\t\t\t\$cellIterator->setIterateOnlyExistingCells(false);"; - $exel[] = "\t\t\t\t\tforeach (\$cellIterator as \$cell)"; - $exel[] = "\t\t\t\t\t{"; - $exel[] = "\t\t\t\t\t\tif (!is_null(\$cell))"; - $exel[] = "\t\t\t\t\t\t{"; - $exel[] = "\t\t\t\t\t\t\t\$headers[\$cell->getColumn()] = \$cell->getValue();"; - $exel[] = "\t\t\t\t\t\t}"; - $exel[] = "\t\t\t\t\t}"; - $exel[] = "\t\t\t\t\t\$excelObj->disconnectWorksheets();"; - $exel[] = "\t\t\t\t\tunset(\$excelObj);"; - $exel[] = "\t\t\t\t\tbreak;"; - $exel[] = "\t\t\t\t}"; - $exel[] = "\t\t\t}"; - $exel[] = "\t\t\treturn \$headers;"; - $exel[] = "\t\t}"; - $exel[] = "\t\treturn false;"; - $exel[] = "\t}"; - // return the help methods - return implode("\n",$exel); - } - return ''; - } - - protected function setCreateUserHelperMethod($add) - { - if ($add) - { - $method = array(); - $method[] = "\n\n\t/**"; - $method[] = "\t* Greate user and update given table"; - $method[] = "\t*/"; - $method[] = "\tpublic static function createUser(\$new)"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." load the user component language files if there is an error."; - $method[] = "\t\t\$lang = JFactory::getLanguage();"; - $method[] = "\t\t\$extension = 'com_users';"; - $method[] = "\t\t\$base_dir = JPATH_SITE;"; - $method[] = "\t\t\$language_tag = 'en-GB';"; - $method[] = "\t\t\$reload = true;"; - $method[] = "\t\t\$lang->load(\$extension, \$base_dir, \$language_tag, \$reload);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." load the user regestration model"; - $method[] = "\t\t\$model = self::getModel('registration', JPATH_ROOT. '/components/com_users', 'Users');"; - $method[] = "\t\t//".$this->setLine(__LINE__)." make sure no activation is needed"; - $method[] = "\t\t\$useractivation = self::setParams('com_users','useractivation',0);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." make sure password is send"; - $method[] = "\t\t\$sendpassword = self::setParams('com_users','sendpassword',1);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check if password was set"; - $method[] = "\t\tif (isset(\$new['password']) && isset(\$new['password2']) && self::checkString(\$new['password']) && self::checkString(\$new['password2']))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Use the users passwords"; - $method[] = "\t\t\t\$password = \$new['password'];"; - $method[] = "\t\t\t\$password2 = \$new['password2'];"; - $method[] = "\t\t}"; - $method[] = "\t\telse"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Set random password"; - $method[] = "\t\t\t\$password = self::randomkey(8);"; - $method[] = "\t\t\t\$password2 = \$password;"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." set username"; - $method[] = "\t\tif (isset(\$new['username']) && self::checkString(\$new['username']))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t\$new['username'] = self::safeString(\$new['username']);"; - $method[] = "\t\t}"; - $method[] = "\t\telse"; - $method[] = "\t\t{"; - $method[] = "\t\t\t\$new['username'] = self::safeString(\$new['name']);\t\t\t"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." linup new user data"; - $method[] = "\t\t\$data = array("; - $method[] = "\t\t\t'username' => \$new['username'],"; - $method[] = "\t\t\t'name' => \$new['name'],"; - $method[] = "\t\t\t'email1' => \$new['email'],"; - $method[] = "\t\t\t'password1' => \$password, // First password field"; - $method[] = "\t\t\t'password2' => \$password2, // Confirm password field"; - $method[] = "\t\t\t'block' => 0 );"; - $method[] = "\t\t//".$this->setLine(__LINE__)." register the new user"; - $method[] = "\t\t\$userId = \$model->register(\$data);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." set activation back to default"; - $method[] = "\t\tself::setParams('com_users','useractivation',\$useractivation);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." set send password back to default"; - $method[] = "\t\tself::setParams('com_users','sendpassword',\$sendpassword);"; - $method[] = "\t\t//".$this->setLine(__LINE__)." if user is created"; - $method[] = "\t\tif (\$userId > 0)"; - $method[] = "\t\t{"; - $method[] = "\t\t\treturn \$userId;"; - $method[] = "\t\t}"; - $method[] = "\t\treturn \$model->getError();"; - $method[] = "\t}"; - - $method[] = "\n\tprotected static function setParams(\$component,\$target,\$value)"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Get the params and set the new values"; - $method[] = "\t\t\$params = JComponentHelper::getParams(\$component);"; - $method[] = "\t\t\$was = \$params->get(\$target, null);"; - $method[] = "\t\tif (\$was != \$value)"; - $method[] = "\t\t{"; - $method[] = "\t\t\t\$params->set(\$target, \$value);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get a new database query instance"; - $method[] = "\t\t\t\$db = JFactory::getDBO();"; - $method[] = "\t\t\t\$query = \$db->getQuery(true);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Build the query"; - $method[] = "\t\t\t\$query->update('#__extensions AS a');"; - $method[] = "\t\t\t\$query->set('a.params = ' . \$db->quote((string)\$params));"; - $method[] = "\t\t\t\$query->where('a.element = ' . \$db->quote((string)\$component));"; - $method[] = "\t\t\t"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Execute the query"; - $method[] = "\t\t\t\$db->setQuery(\$query);"; - $method[] = "\t\t\t\$db->query();"; - $method[] = "\t\t}"; - $method[] = "\t\treturn \$was;"; - $method[] = "\t}"; - - // return the help method - return implode("\n",$method); - } - return ''; - } - - protected function setCustomViewMenu($view) - { - $xml = ''; - // build the file - $target = array('site' => $view['settings']->code); - $done = $this->buildDynamique($target,'menu'); - if ($done) - { - // set the lang - $lang = ComponentbuilderHelper::safeString('com_'.$this->fileContentStatic['###component###'].'_menu_'.$view['settings']->code, 'U'); - $this->langContent['adminsys'][$lang.'_TITLE'] = $view['settings']->name; - $this->langContent['adminsys'][$lang.'_OPTION'] = $view['settings']->name; - $this->langContent['adminsys'][$lang.'_DESC'] = $view['settings']->description; - //start loading xml - $xml = '<?xml version="1.0" encoding="utf-8" ?>'; - $xml .= "\n".'<metadata>'; - $xml .= "\n\t".'<layout title="'.$lang.'_TITLE" option="'.$lang.'_OPTION">'; - $xml .= "\n\t\t".'<message>'; - $xml .= "\n\t\t\t".'<![CDATA['.$lang.'_DESC]]>'; - $xml .= "\n\t\t".'</message>'; - $xml .= "\n\t".'</layout>'; - if (isset($this->hasIdRequest[$view['settings']->code])) - { - $requestField = str_replace($view['settings']->code.'_request_id', 'id', $this->hasIdRequest[$view['settings']->code]); - - $xml .= "\n\t".'<!--'.$this->setLine(__LINE__).' Add fields to the request variables for the layout. -->'; - $xml .= "\n\t".'<fields name="request">'; - $xml .= "\n\t\t".'<fieldset name="request"'; - $xml .= "\n\t\t\t".'addfieldpath="/administrator/components/com_'.$this->fileContentStatic['###component###'].'/models/fields">'; - $xml .= "\n\t\t\t".$requestField; - $xml .= "\n\t\t".'</fieldset>'; - $xml .= "\n\t".'</fields>'; - } - if (isset($this->frontEndParams) && isset($this->frontEndParams[$view['settings']->name])) - { - // first we must setup the fields for the page use - $params = $this->setupFrontendParamFields($this->frontEndParams[$view['settings']->name],$view['settings']->code); - // now load the fields - if (ComponentbuilderHelper::checkArray($params)) - { - $xml .= "\n\t".'<!--'.$this->setLine(__LINE__).' Adding page parameters -->'; - $xml .= "\n\t".'<fields name="params">'; - $xml .= "\n\t\t".'<fieldset name="basic" label="COM_'.$this->fileContentStatic['###COMPONENT###'].'">'; - $xml .= implode("\t\t\t",$params); - $xml .= "\n\t\t".'</fieldset>'; - $xml .= "\n\t".'</fields>'; - } - } - $xml .= "\n".'</metadata>'; - } - return $xml; - } - - protected function setupFrontendParamFields($params,$view) - { - $keep = array(); - $menuSetter = $view.'_menu'; - foreach ($params as $field) - { - // we load fields that have options - if (strpos($field,'Option Set. -->') !== false && strpos($field,$menuSetter) === false) - { - // we add the global option - $field = str_replace('Option Set. -->', $this->setLine(__LINE__).' Global & Option Set. -->'."\n\t\t\t".'<option value="">'."\n\t\t\t\t".'JGLOBAL_USE_GLOBAL</option>', $field); - // update the default to be global - $field = preg_replace('/default=".+"/', 'default=""', $field); - // update the default to be filter - $field = preg_replace('/filter=".+"/', 'filter="string"', $field); - // update required - $field = str_replace('required="true"', 'required="false"', $field); - // add to keeper array - $keep[] = $field; - } - else - { - // TODO add convetion to filter fields that we should not load - $keep[] = $field; - } - } - return $keep; - } - - protected function setCustomViewQuery(&$gets,&$code,$tab = '',$type = 'main') - { - $query = ''; - if (ComponentbuilderHelper::checkArray($gets)) - { - $mainAsArray = array(); - $check = 'zzz'; - foreach ($gets as $nr => $the_get) - { - // to insure that there be no double entries of a call - $checker = md5(serialize($the_get).$code); - if (!isset($this->customViewQueryChecker[$this->target]) || !in_array($checker,$this->customViewQueryChecker[$this->target])) - { - // load this unuiqe key - $this->customViewQueryChecker[$this->target][] = $checker; - if (ComponentbuilderHelper::checkString($the_get['selection']['type'])) - { - $getItem = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get from ".$the_get['selection']['table']." as ".$the_get['as']; - } - else - { - $getItem = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get data"; - } - // set the selection - $getItem .= "\n\t".$tab."\t".$the_get['selection']['select']; - if (($nr == 0 && (!isset($the_get['join_field']) || !ComponentbuilderHelper::checkString($the_get['join_field'])) && (isset($the_get['selection']['type']) && ComponentbuilderHelper::checkString($the_get['selection']['type']))) || - ($type == 'custom' && (isset($the_get['selection']['type']) && ComponentbuilderHelper::checkString($the_get['selection']['type'])))) - { - $getItem .= "\n\t".$tab."\t".'$query->from('.$the_get['selection']['from'].');'; - } - elseif (isset($the_get['join_field']) && ComponentbuilderHelper::checkString($the_get['join_field']) && isset($the_get['selection']['type']) && ComponentbuilderHelper::checkString($the_get['selection']['type'])) - { - $getItem .= "\n\t".$tab."\t\$query->join('".$the_get['type']; - $getItem .= "', (".$the_get['selection']['from']; - $getItem .= ") . ' ON (' . \$db->quoteName('".$the_get['on_field']; - $getItem .= "') . ' ".$the_get['operator']; - $getItem .= " ' . \$db->quoteName('".$the_get['join_field']."') . ')');"; - - $check = current(explode(".", $the_get['on_field'])); - } - - // set the method defaults - $default = $this->setCustomViewMethodDefaults($the_get,$code); - if (isset($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]) && ComponentbuilderHelper::checkString($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]) && !in_array($check,$mainAsArray)) - { - // load to other query - if (!isset($this->otherQuery[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']])) - { - $this->otherQuery[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] = ''; - } - $this->otherQuery[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] .= $getItem; - } - else - { - $mainAsArray[] = $default['as']; - $query .= $getItem; - } - } - } - } - return $query; - } - - protected function setCustomViewFieldDecodeFilter(&$get,&$filters,$string,$removeString,$code,$tab) - { - $filter = ''; - // check if filter is set for this field - if (ComponentbuilderHelper::checkArray($filters)) - { - foreach ($filters as $field => $ter) - { - if (strpos($get['selection']['select'], $ter['table_key']) !== false) - { - $as = ''; - $felt = ''; - list($as,$felt) = array_map('trim', explode('.',$ter['table_key'])); - if ($get['as'] == $as) - { - switch ($ter['filter_type']) - { - case 4: - // COM_COMPONENTBUILDER_DYNAMIC_GET_USER_GROUPS - $filter .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." filter ".$as." based on user groups"; - $filter .= "\n\t".$tab."\t\$remove = (count(array_intersect((array) \$this->groups, (array) ".$string."->".$field."))) ? false : true;"; - $filter .= "\n\t".$tab."\tif (\$remove)"; - $filter .= "\n\t".$tab."\t{"; - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Remove ".$string." if user not in groups"; - $filter .= "\n\t".$tab."\t\t".$string." = null;"; - $filter .= "\n\t".$tab."\t\treturn false;"; - } - else - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Unset ".$string." if user not in groups"; - $filter .= "\n\t".$tab."\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\tcontinue;"; - } - $filter .= "\n\t".$tab."\t}"; - break; - case 9: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ARRAY_VALUE - - $filter .= "\n\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(".$string."->".$field."))"; - $filter .= "\n\t".$tab."\t{"; - - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." do your thing here"; - - $filter .= "\n\t".$tab."\t}"; - $filter .= "\n\t".$tab."\telse"; - $filter .= "\n\t".$tab."\t{"; - - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Remove ".$string." if not array."; - $filter .= "\n\t".$tab."\t\t".$string." = null;"; - } - else - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Unset ".$string." if not array."; - $filter .= "\n\t".$tab."\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\tcontinue;"; - } - - $filter .= "\n\t".$tab."\t}"; - break; - case 10: - // COM_COMPONENTBUILDER_DYNAMIC_GET_REPEATABLE_VALUE - $filter .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." filter ".$as." based on repeatable value"; - $filter .= "\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(".$string."->".$field."))"; - $filter .= "\n\t".$tab."\t{"; - - $filter .= "\n\t\t".$tab."\t\$array = json_decode(".$string."->".$field.",true);"; - $filter .= "\n\t\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array))"; - $filter .= "\n\t\t".$tab."\t{"; - - $filter .= "\n\t\t".$tab."\t\t//".$this->setLine(__LINE__)." do your thing here"; - - $filter .= "\n\t\t".$tab."\t}"; - $filter .= "\n\t".$tab."\t\telse"; - $filter .= "\n\t".$tab."\t\t{"; - - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." Remove ".$string." if not array."; - $filter .= "\n\t".$tab."\t\t\t".$string." = null;"; - } - else - { - $filter .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." Unset ".$string." if not array."; - $filter .= "\n\t".$tab."\t\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\t\tcontinue;"; - } - - $filter .= "\n\t".$tab."\t\t}"; - - $filter .= "\n\t".$tab."\t}"; - $filter .= "\n\t".$tab."\telse"; - $filter .= "\n\t".$tab."\t{"; - - if ($removeString == $string) - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Remove ".$string." if not string."; - $filter .= "\n\t".$tab."\t\t".$string." = null;"; - } - else - { - $filter .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Unset ".$string." if not string."; - $filter .= "\n\t".$tab."\t\tunset(".$removeString.");"; - $filter .= "\n\t".$tab."\t\tcontinue;"; - } - - $filter .= "\n\t".$tab."\t}"; - break; - } - } - } - } - } - return $filter; - } - - protected function setCustomViewFieldDecode(&$get,$checker,$string,$code,$tab = '') - { - $fieldDecode = ''; - foreach ($checker as $field => $array) - { - if (strpos($get['selection']['select'], $field) !== false) - { - if ($array['decode'] == 'json') - { - $if = "\n\t".$tab."\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(".$string."->".$field."))\n\t".$tab."\t{"; - // json_decode - $decoder = $string."->".$field." = json_decode(".$string."->".$field.", true);"; - // TODO Use the type of field to prepare it even more for use in the view - } - elseif ($array['decode'] == 'base64') - { - $if = "\n\t".$tab."\tif (!empty(".$string."->".$field.") && ".$string."->".$field." === base64_encode(base64_decode(".$string."->".$field.")))\n\t".$tab."\t{"; - // base64_decode - $decoder = $string."->".$field." = base64_decode(".$string."->".$field.");"; - // TODO Use the type of field to prepare it even more for use in the view - } - elseif ($array['decode'] == 'basic_encryption') - { - $if = "\n\t".$tab."\tif (!empty(".$string."->".$field.") && \$basickey && !is_numeric(".$string."->".$field.") && ".$string."->".$field." === base64_encode(base64_decode(".$string."->".$field.", true)))\n\t".$tab."\t{"; - // basic decryption - $decoder = $string."->".$field." = rtrim(\$basic->decryptString(".$string."->".$field."), ".'"\0"'.");"; - $this->siteDecrypt['basic'][$code] = true; - } - elseif ($array['decode'] == 'advance_encryption') - { - $if = "\n\t".$tab."\tif (!empty(".$string."->".$field.") && \$advancedkey && !is_numeric(".$string."->".$field.") && ".$string."->".$field." === base64_encode(base64_decode(".$string."->".$field.", true)))\n\t".$tab."\t{"; - // advanced decryption - $decoder = $string."->".$field." = rtrim(\$advanced->decryptString(".$string."->".$field."), ".'"\0"'.");"; - $this->siteDecrypt['advanced'][$code] = true; - } - - // build decoder string - $fieldDecode .= $if."\n\t".$tab."\t\t//".$this->setLine(__LINE__)." Decode ".$field; - $fieldDecode .= "\n\t".$tab."\t\t".$decoder."\n\t".$tab."\t}"; - } - } - return $fieldDecode; - } - - protected function setCustomViewFieldUikitChecker(&$get,$checker,$string,$code,$tab = '') - { - $fieldUikit = ''; - foreach ($checker as $field => $array) - { - if (strpos($get['selection']['select'], $field) !== false) - { - // build decoder string - $fieldUikit .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Make sure the content prepare plugins fire on ".$field."."; - $fieldUikit .= "\n\t".$tab."\t".$string."->".$field." = JHtml::_('content.prepare',".$string."->".$field.");"; - $fieldUikit .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Checking if ".$field." has uikit components that must be loaded."; - $fieldUikit .= "\n\t".$tab."\t\$this->uikitComp = ".$this->fileContentStatic['###Component###']."Helper::getUikitComp(".$string."->".$field.",\$this->uikitComp);"; - } - } - return $fieldUikit; - } - - protected function setCustomViewCustomJoin(&$gets,$string,$code,&$asBucket,$tab = '') - { - if (ComponentbuilderHelper::checkArray($gets)) - { - $customJoin = ''; - foreach ($gets as $get) - { - // set the value name $default - $default = $this->setCustomViewMethodDefaults($get,$code); - if ($this->checkJoint($default,$get,$asBucket)) - { - // build custom join string - $otherJoin = "\n\t###TAB###\t//".$this->setLine(__LINE__)." set ".$default['valueName']." to the ###STRING### object."; - $otherJoin .= "\n\t###TAB###\t###STRING###->".$default['valueName']." = \$this->get".$default['methodName']."(###STRING###->".$this->getAsLookup[$get['key']][$get['on_field']].");"; - // load to other join - if (!isset($this->otherJoin[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']])) - { - $this->otherJoin[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] = ''; - } - $this->otherJoin[$this->target][$default['code']][$this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]][$default['valueName']] .= $otherJoin; - } - else - { - // build custom join string - $customJoin .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." set ".$default['valueName']." to the ".$string." object."; - $customJoin .= "\n\t".$tab."\t".$string."->".$default['valueName']." = \$this->get".$default['methodName']."(".$string."->".$this->getAsLookup[$get['key']][$get['on_field']].");"; - } - } - return $customJoin; - } - return ''; - } - - protected function checkJoint(&$default,&$get,&$asBucket) - { - // check if this function is not linked to the main call - list($aJoin) = explode('.',$get['on_field']); - if (ComponentbuilderHelper::checkArray($asBucket) && in_array($aJoin,$asBucket)) - { - return false; - } - // default fallback - elseif (isset($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']]) && ComponentbuilderHelper::checkString($this->siteDynamicGet[$this->target][$default['code']][$default['as']][$default['join_field']])) - { - return true; - } - return false; - } - - protected function setCustomViewFilter(&$filter,&$code,$tab = '') - { - $filters = ''; - if (ComponentbuilderHelper::checkArray($filter)) - { - foreach ($filter as $ter) - { - $as = ''; - $field = ''; - $string = ''; - if (strpos($ter['table_key'],'.') !== false) - { - list($as,$field) = array_map('trim', explode('.',$ter['table_key'])); - } - switch ($ter['filter_type']) - { - case 1: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ID - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . (int) \$pk);"; - break; - case 2: - // COM_COMPONENTBUILDER_DYNAMIC_GET_USER - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . (int) \$this->userId);"; - break; - case 3: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ACCESS_LEVEL - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " (' . implode(',', \$this->levels) . ')');"; - break; - case 4: - // COM_COMPONENTBUILDER_DYNAMIC_GET_USER_GROUPS - $decodeChecker = $this->siteFieldData['decode'][$code][$ter['key']][$as][$field]; - if (ComponentbuilderHelper::checkArray($decodeChecker) || $ter['state_key'] == 'array') - { - // set needed fields to filter after query - $this->siteFieldDecodeFilter[$this->target][$code][$ter['key']][$as][$field] = $ter; - } - else - { - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " (' . implode(',', \$this->groups) . ')');"; - } - break; - case 5: - // COM_COMPONENTBUILDER_DYNAMIC_GET_CATEGORIES - $string = ""; - break; - case 6: - // COM_COMPONENTBUILDER_DYNAMIC_GET_TAGS - $string = ""; - break; - case 7: - // COM_COMPONENTBUILDER_DYNAMIC_GET_DATE - $string = ""; - break; - case 8: - // COM_COMPONENTBUILDER_DYNAMIC_GET_FUNCTIONVAR - if ($ter['operator'] == 'IN' || $ter['operator'] == 'NOT IN') - { - $string = "\n\t\t".$tab."//".$this->setLine(__LINE__)." Check if " . $ter['state_key'] . " is an array with values."; - $string .= "\n\t\t".$tab."\$array = " . $ter['state_key'].";"; - $string .= "\n\t\t".$tab."if (isset(\$array) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array))"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " (' . implode(',', \$array) . ')');"; - $string .= "\n\t\t".$tab."}"; - $string .= "\n\t\t".$tab."else"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\treturn false;"; - $string .= "\n\t\t".$tab."}"; - } - else - { - $string = "\n\t\t".$tab."//".$this->setLine(__LINE__)." Check if " . $ter['state_key'] . " is a string or numeric value."; - $string .= "\n\t\t".$tab."\$checkValue = " . $ter['state_key'].";"; - $string .= "\n\t\t".$tab."if (isset(\$checkValue) && ".$this->fileContentStatic['###Component###']."Helper::checkString(\$checkValue))"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . \$db->quote(\$checkValue));"; - $string .= "\n\t\t".$tab."}"; - $string .= "\n\t\t".$tab."elseif (is_numeric(\$checkValue))"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ' . \$checkValue);"; - $string .= "\n\t\t".$tab."}"; - $string .= "\n\t\t".$tab."else"; - $string .= "\n\t\t".$tab."{"; - $string .= "\n\t\t".$tab."\treturn false;"; - $string .= "\n\t\t".$tab."}"; - } - break; - case 9: - // COM_COMPONENTBUILDER_DYNAMIC_GET_ARRAY_VALUE - $string = ""; - // set needed fields to filter after query - $this->siteFieldDecodeFilter[$this->target][$code][$ter['key']][$as][$field] = $ter; - break; - case 10: - // COM_COMPONENTBUILDER_DYNAMIC_GET_REPEATABLE_VALUE - $string = ""; - // set needed fields to filter after query - $this->siteFieldDecodeFilter[$this->target][$code][$ter['key']][$as][$field] = $ter; - break; - case 11: - // COM_COMPONENTBUILDER_DYNAMIC_GET_OTHER - if (strpos($as,'(') !== false) - { - // TODO (for now we only fix extra sql methods here) - list($dump,$as) = array_map('trim', explode('(',$as)); - $field = trim(str_replace(')', '', $field)); - } - $string = "\n\t".$tab."\t\$query->where('".$ter['table_key'] . " " . $ter['operator'] . " ". $ter['state_key']."');"; - break; - } - // only add if the filter is set - if (ComponentbuilderHelper::checkString($string)) - { - // sort where - if ($as == 'a' || (isset($this->siteMainGet[$this->target][$code][$as]) && ComponentbuilderHelper::checkString($this->siteMainGet[$this->target][$code][$as]))) - { - $filters .= $string; - } - elseif($as != 'a') - { - $this->otherFilter[$this->target][$code][$as][$field] = $string; - } - } - } - } - return $filters; - } - - protected function setCustomViewOrder(&$order,&$code,$tab = '') - { - $ordering = ''; - if (ComponentbuilderHelper::checkArray($order)) - { - foreach ($order as $or) - { - list($as,$field) = array_map('trim', explode('.',$or['table_key'])); - - // set the string - $string = "\$query->order('".$or['table_key']." ".$or['direction']."');"; - // sort where - if ($as == 'a' || (isset($this->siteMainGet[$this->target][$code][$as]) && ComponentbuilderHelper::checkString($this->siteMainGet[$this->target][$code][$as]))) - { - $ordering .= "\n\t".$tab."\t".$string; - } - else - { - $this->otherOrder[$this->target][$code][$as][$field] = "\n\t\t".$string; - } - } - } - return $ordering; - } - - protected function setCustomViewWhere(&$where,&$code,$tab = '') - { - $wheres = ''; - if (ComponentbuilderHelper::checkArray($where)) - { - foreach ($where as $whe) - { - $as = ''; - $field = ''; - $value = ''; - list($as,$field) = array_map('trim', explode('.',$whe['table_key'])); - if (is_numeric($whe['value_key'])) - { - $value = " ".$whe['value_key']."');"; - - } - elseif (strpos($whe['value_key'],'$this->') !== false) - { - if ($whe['operator'] == 'IN' || $whe['operator'] == 'NOT IN') - { - $value = " (' . implode(',', " . $whe['value_key'] . ") . ')');"; - } - else - { - $value = " ' . \$db->quote(".$whe['value_key']."));"; - } - } - elseif (strpos($whe['value_key'],'.') !== false) - { - $value = " ".$whe['value_key']."');"; - } - // only load if there is a value - if (ComponentbuilderHelper::checkString($value)) - { - // set the string - if ($whe['operator'] == 'IN' || $whe['operator'] == 'NOT IN') - { - $tabe = ''; - if ($as == 'a') - { - $tabe = $tab; - } - $string = "if (isset(" . $whe['value_key']. ") && ".$this->fileContentStatic['###Component###']."Helper::checkArray(" . $whe['value_key']. "))"; - $string .= "\n\t".$tabe."\t{"; - $string .= "\n\t".$tabe."\t\t\$query->where('".$whe['table_key']." ".$whe['operator'].$value; - $string .= "\n\t".$tabe."\t}"; - $string .= "\n\t".$tabe."\telse"; - $string .= "\n\t".$tabe."\t{"; - $string .= "\n\t".$tabe."\t\treturn false;"; - $string .= "\n\t".$tabe."\t}"; - - } - else - { - $string = "\$query->where('".$whe['table_key']." ".$whe['operator'].$value; - } - // sort where - if ($as == 'a' || (isset($this->siteMainGet[$this->target][$code][$as]) && ComponentbuilderHelper::checkString($this->siteMainGet[$this->target][$code][$as]))) - { - $wheres .= "\n\t".$tab."\t".$string; - } - elseif ($as != 'a') - { - $this->otherWhere[$this->target][$code][$as][$field] = "\n\t\t".$string; - } - } - } - } - return $wheres; - } - - protected function setCustomViewGlobals(&$global,$string,$as,$tab = '') - { - $globals = ''; - if (ComponentbuilderHelper::checkArray($global)) - { - $as = array_unique($as); - foreach ($global as $glo) - { - if (in_array($glo['as'],$as)) - { - switch ($glo['type']) - { - case 1: - // SET STATE - $value = "\$this->setState('" . $glo['as'] . "." . $glo['name'] . "', " . $string . "->" . $glo['key'] . ");"; - break; - case 2: - // SET THIS - $value = "\$this->" . $glo['as'] . "_" . $glo['name'] . " = " . $string . "->" . $glo['key'] . ";"; - break; - } - // only add if the filter is set - if (ComponentbuilderHelper::checkString($value)) - { - $globals .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." set the global " . $glo['name'] . " value.\n\t".$tab."\t".$value; - } - } - } - } - return $globals; - } - - protected function removeAsDot($string,$type = '') - { - if (strpos($string,'.') !== false) - { - list($dump,$field) = array_map('trim', explode('.',$string)); - } - else - { - $field = $string; - } - return $field; - } - - protected function setCustomViewGetItem(&$get,&$code,$tab = '',$type = 'main') - { - if (ComponentbuilderHelper::checkObject($get)) - { - $this->siteDecrypt['basic'][$code] = false; - $this->siteDecrypt['advanced'][$code] = false; - - $getItem = "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get a db connection."; - $getItem .= "\n\t".$tab."\t\$db = JFactory::getDbo();"; - $getItem .= "\n\n".$tab."\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $getItem .= "\n\t".$tab."\t\$query = \$db->getQuery(true);"; - // set main get query - $getItem .= $this->setCustomViewQuery($get->main_get,$code,$tab); - // setup filters - $getItem .= $this->setCustomViewFilter($get->filter,$code,$tab); - // setup Where - $getItem .= $this->setCustomViewWhere($get->where,$code,$tab); - // setup ordering - $getItem .= $this->setCustomViewOrder($get->order,$code,$tab); - // get ready to get query - $getItem .= "\n\n".$tab."\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $getItem .= "\n\t".$tab."\t\$db->setQuery(\$query);"; - $getItem .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Load the results as a stdClass object."; - $getItem .= "\n\t".$tab."\t\$data = \$db->loadObject();"; - $getItem .= "\n\n".$tab."\t\tif (empty(\$data))"; - $getItem .= "\n\t".$tab."\t{"; - if ($type == 'main') - { - $langKeyWord = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Not found or access denied','U'); - if (!isset($this->langContent[$this->lang][$langKeyWord])) - { - $this->langContent[$this->lang][$langKeyWord] = 'Not found, or access denied.'; - } - $getItem .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." If no data is found redirect to default page and show warning."; - $getItem .= "\n\t".$tab."\t\tJError::raiseWarning(500, JText::_('".$langKeyWord."'));"; - if ('site' == $this->target) - { - $getItem .= "\n\t".$tab."\t\tJFactory::getApplication()->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$this->fileContentStatic['###SITE_DEFAULT_VIEW###']."');"; - } - else - { - $getItem .= "\n\t".$tab."\t\tJFactory::getApplication()->redirect('index.php?option=com_".$this->fileContentStatic['###component###']."');"; - } - $getItem .= "\n\t".$tab."\t\treturn false;"; - } - else - { - $getItem .= "\n\t".$tab."\t\treturn false;"; - } - $getItem .= "\n\t".$tab."\t}"; - if (ComponentbuilderHelper::checkArray($get->main_get)) - { - $asBucket = array(); - foreach ($get->main_get as $main_get) - { - if (isset($this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']])) - { - $decodeChecker = $this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeChecker)) - { - // set decoding of needed fields - $getItem .= $this->setCustomViewFieldDecode($main_get,$decodeChecker,'$data',$code,$tab); - } - } - - if (isset ($this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']])) - { - $decodeFilter = $this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeFilter)) - { - // also filter fields if needed - $getItem .= $this->setCustomViewFieldDecodeFilter($main_get,$decodeFilter,'$data','$data',$code,$tab); - } - } - - if (isset($this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']])) - { - $uikitChecker = $this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($uikitChecker)) - { - // set uikit checkers on needed fields - $getItem .= $this->setCustomViewFieldUikitChecker($main_get,$uikitChecker,'$data',$code,$tab); - } - } - $asBucket[] = $main_get['as']; - } - } - - if ((isset($this->siteDecrypt['basic'][$code]) && $this->siteDecrypt['basic'][$code]) || (isset($this->siteDecrypt['advanced'][$code]) && $this->siteDecrypt['advanced'][$code])) - { - $Component = $this->fileContentStatic['###Component###']; - $script = ''; - if (isset($this->siteDecrypt['basic'][$code]) && $this->siteDecrypt['basic'][$code]) - { - $script .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t".$tab."\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - } - if (isset($this->siteDecrypt['advanced'][$code]) && $this->siteDecrypt['advanced'][$code]) - { - $script .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the advanced encription."; - $script .= "\n\t".$tab."\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - } - $getItem = $script . $getItem; - } - // setup Globals - $getItem .= $this->setCustomViewGlobals($get->global,'$data',$asBucket,$tab); - // setup the custom gets that returns multipal values - $getItem .= $this->setCustomViewCustomJoin($get->custom_get,'$data',$code,$asBucket,$tab); - // set calculations - if ($get->addcalculation == 1) - { - $get->php_calculation = (array) explode("\n",$get->php_calculation); - $getItem .= "\n\t".$tab."\t".implode("\n\t".$tab."\t",$get->php_calculation); - } - if ($type == 'custom') - { - // return the object - $getItem .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." return data object."; - $getItem .= "\n\t".$tab."\treturn \$data;"; - } - else - { - // set the object - $getItem .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set data object to item."; - $getItem .= "\n\t".$tab."\t\$this->_item[\$pk] = \$data;"; - } - return $getItem; - } - return "\n\t".$tab."\t//".$this->setLine(__LINE__)."add your custom code here."; - } - - protected function setCustomViewCustomMethods($main_view,$code) - { - $methods = ''; - // then set the needed custom methods - if (ComponentbuilderHelper::checkArray($main_view['settings']->custom_get)) - { - // start dynamic build - foreach ($main_view['settings']->custom_get as $view) - { - // fix alias to use in code - $view->code = ComponentbuilderHelper::safeString($code); - $view->Code = ComponentbuilderHelper::safeString($view->code, 'F'); - $view->CODE = ComponentbuilderHelper::safeString($view->code, 'U'); - $main = ''; - if ($view->gettype == 3) - { - // ###SITE_GET_ITEM### <<<DYNAMIC>>> - $main .= "\n\n\t\tif (!isset(\$this->initSet) || !\$this->initSet)"; - $main .= "\n\t\t{"; - $main .= "\n\t\t\t\$this->user\t\t= JFactory::getUser();"; - $main .= "\n\t\t\t\$this->userId\t\t= \$this->user->get('id');"; - $main .= "\n\t\t\t\$this->guest\t\t= \$this->user->get('guest');"; - $main .= "\n\t\t\t\$this->groups\t\t= \$this->user->get('groups');"; - $main .= "\n\t\t\t\$this->authorisedGroups\t= \$this->user->getAuthorisedGroups();"; - $main .= "\n\t\t\t\$this->levels\t\t= \$this->user->getAuthorisedViewLevels();"; - $main .= "\n\t\t\t\$this->initSet\t\t= true;"; - $main .= "\n\t\t}"; - $main .= $this->setCustomViewGetItem($view, $view->code,'','custom'); - $type = 'mixed item data object on success, false on failure.'; - } - elseif ($view->gettype == 4) - { - $main .= "\n\n\t\tif (!isset(\$this->initSet) || !\$this->initSet)"; - $main .= "\n\t\t{"; - $main .= "\n\t\t\t\$this->user\t\t= JFactory::getUser();"; - $main .= "\n\t\t\t\$this->userId\t\t= \$this->user->get('id');"; - $main .= "\n\t\t\t\$this->guest\t\t= \$this->user->get('guest');"; - $main .= "\n\t\t\t\$this->groups\t\t= \$this->user->get('groups');"; - $main .= "\n\t\t\t\$this->authorisedGroups\t= \$this->user->getAuthorisedGroups();"; - $main .= "\n\t\t\t\$this->levels\t\t= \$this->user->getAuthorisedViewLevels();"; - $main .= "\n\t\t\t\$this->initSet\t\t= true;"; - $main .= "\n\t\t}"; - $main .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the global params"; - $main .= "\n\t\t\$globalParams = JComponentHelper::getParams('com_".$this->fileContentStatic['###component###']."', true);"; - // ###SITE_GET_LIST_QUERY### <<<DYNAMIC>>> - $main .= $this->setCustomViewListQuery($view, $view->code, false); - // load the object list - $main .= "\n\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $main .= "\n\t\t\$db->setQuery(\$query);"; - $main .= "\n\t\t\$items = \$db->loadObjectList();"; - $main .= "\n\n\t\tif (empty(\$items))"; - $main .= "\n\t\t{"; - $main .= "\n\t\t\treturn false;"; - $main .= "\n\t\t}"; - // ###SITE_GET_ITEMS### <<<DYNAMIC>>> - $main .= $this->setCustomViewGetItems($view,$view->code); - $main .= "\n\t\t//".$this->setLine(__LINE__)." return items"; - $main .= "\n\t\treturn \$items;"; - $type = 'mixed An array of objects on success, false on failure.'; - } - // load the main mehtod - $methods .= $this->setMainCustomMehtod($main,$view->getcustom,$type); - // ###SITE_CUSTOM_METHODS### <<<DYNAMIC>>> - $methods .= $this->setCustomViewCustomItemMethods($view, $view->code); - } - } - // load uikit get method - $methods .= $this->setUikitGetMethod(); - - return $methods; - } - - protected function setUikitHelperMethods() - { - if ($this->uikit) - { - // build uikit get method - $ukit = array(); - $ukit[] = "\n\n\t/**"; - $ukit[] = "\t* \tUIKIT Component Classes"; - $ukit[] = "\t**/"; - $ukit[] = "\tpublic static \$uk_components = array("; - $ukit[] = "\t\t\t'data-uk-grid' => array("; - $ukit[] = "\t\t\t\t'grid' ),"; - $ukit[] = "\t\t\t'uk-accordion' => array("; - $ukit[] = "\t\t\t\t'accordion' ),"; - $ukit[] = "\t\t\t'uk-autocomplete' => array("; - $ukit[] = "\t\t\t\t'autocomplete' ),"; - $ukit[] = "\t\t\t'data-uk-datepicker' => array("; - $ukit[] = "\t\t\t\t'datepicker' ),"; - $ukit[] = "\t\t\t'uk-form-password' => array("; - $ukit[] = "\t\t\t\t'form-password' ),"; - $ukit[] = "\t\t\t'uk-form-select' => array("; - $ukit[] = "\t\t\t\t'form-select' ),"; - $ukit[] = "\t\t\t'data-uk-htmleditor' => array("; - $ukit[] = "\t\t\t\t'htmleditor' ),"; - $ukit[] = "\t\t\t'data-uk-lightbox' => array("; - $ukit[] = "\t\t\t\t'lightbox' ),"; - $ukit[] = "\t\t\t'uk-nestable' => array("; - $ukit[] = "\t\t\t\t'nestable' ),"; - $ukit[] = "\t\t\t'UIkit.notify' => array("; - $ukit[] = "\t\t\t\t'notify' ),"; - $ukit[] = "\t\t\t'data-uk-parallax' => array("; - $ukit[] = "\t\t\t\t'parallax' ),"; - $ukit[] = "\t\t\t'uk-search' => array("; - $ukit[] = "\t\t\t\t'search' ),"; - $ukit[] = "\t\t\t'uk-slider' => array("; - $ukit[] = "\t\t\t\t'slider' ),"; - $ukit[] = "\t\t\t'uk-slideset' => array("; - $ukit[] = "\t\t\t\t'slideset' ),"; - $ukit[] = "\t\t\t'uk-slideshow' => array("; - $ukit[] = "\t\t\t\t'slideshow',"; - $ukit[] = "\t\t\t\t'slideshow-fx' ),"; - $ukit[] = "\t\t\t'uk-sortable' => array("; - $ukit[] = "\t\t\t\t'sortable' ),"; - $ukit[] = "\t\t\t'data-uk-sticky' => array("; - $ukit[] = "\t\t\t\t'sticky' ),"; - $ukit[] = "\t\t\t'data-uk-timepicker' => array("; - $ukit[] = "\t\t\t\t'timepicker' ),"; - $ukit[] = "\t\t\t'data-uk-tooltip' => array("; - $ukit[] = "\t\t\t\t'tooltip' ),"; - $ukit[] = "\t\t\t'uk-placeholder' => array("; - $ukit[] = "\t\t\t\t'placeholder' ),"; - $ukit[] = "\t\t\t'uk-dotnav' => array("; - $ukit[] = "\t\t\t\t'dotnav' ),"; - $ukit[] = "\t\t\t'uk-slidenav' => array("; - $ukit[] = "\t\t\t\t'slidenav' ),"; - $ukit[] = "\t\t\t'uk-form' => array("; - $ukit[] = "\t\t\t\t'form-advanced' ),"; - $ukit[] = "\t\t\t'uk-progress' => array("; - $ukit[] = "\t\t\t\t'progress' ),"; - $ukit[] = "\t\t\t'upload-drop' => array("; - $ukit[] = "\t\t\t\t'upload', 'form-file' )"; - $ukit[] = "\t\t\t);"; - $ukit[] = "\t"; - $ukit[] = "\t/**"; - $ukit[] = "\t* \tAdd UIKIT Components"; - $ukit[] = "\t**/"; - $ukit[] = "\tpublic static \$uikit = false;"; - $ukit[] = ""; - $ukit[] = "\t/**"; - $ukit[] = "\t* \tGet UIKIT Components"; - $ukit[] = "\t**/"; - $ukit[] = "\tpublic static function getUikitComp(\$content,\$classes = array())"; - $ukit[] = "\t{"; - $ukit[] = "\t\tif (strpos(\$content,'class=\"uk-') !== false)"; - $ukit[] = "\t\t{"; - $ukit[] = "\t\t\t//".$this->setLine(__LINE__)." reset"; - $ukit[] = "\t\t\t\$temp = array();"; - $ukit[] = "\t\t\tforeach (self::\$uk_components as \$looking => \$add)"; - $ukit[] = "\t\t\t{"; - $ukit[] = "\t\t\t\tif (strpos(\$content,\$looking) !== false)"; - $ukit[] = "\t\t\t\t{"; - $ukit[] = "\t\t\t\t\t\$temp[] = \$looking;"; - $ukit[] = "\t\t\t\t}"; - $ukit[] = "\t\t\t}"; - $ukit[] = "\t\t\t//".$this->setLine(__LINE__)." make sure uikit is loaded to config"; - $ukit[] = "\t\t\tif (strpos(\$content,'class=\"uk-') !== false)"; - $ukit[] = "\t\t\t{"; - $ukit[] = "\t\t\t\tself::\$uikit = true;"; - $ukit[] = "\t\t\t}"; - $ukit[] = "\t\t\t//".$this->setLine(__LINE__)." sorter"; - $ukit[] = "\t\t\tif (self::checkArray(\$temp))"; - $ukit[] = "\t\t\t{"; - $ukit[] = "\t\t\t\t//".$this->setLine(__LINE__)." merger"; - $ukit[] = "\t\t\t\tif (self::checkArray(\$classes))"; - $ukit[] = "\t\t\t\t{"; - $ukit[] = "\t\t\t\t\t\$newTemp = array_merge(\$temp,\$classes);"; - $ukit[] = "\t\t\t\t\t\$temp = array_unique(\$newTemp);"; - $ukit[] = "\t\t\t\t}"; - $ukit[] = "\t\t\t\treturn \$temp;"; - $ukit[] = "\t\t\t}"; - $ukit[] = "\t\t}\t"; - $ukit[] = "\t\tif (self::checkArray(\$classes))"; - $ukit[] = "\t\t{"; - $ukit[] = "\t\t\treturn \$classes;"; - $ukit[] = "\t\t}"; - $ukit[] = "\t\treturn false;"; - $ukit[] = "\t}"; - - // return the help methods - return implode("\n",$ukit); - } - return ''; - } - - protected function setUikitGetMethod() - { - $method = ''; - if ($this->uikit) - { - // build uikit get method - $method .= "\n\n\t/**"; - $method .= "\n\t* Get the uikit needed components"; - $method .= "\n\t*"; - $method .= "\n\t* @return mixed An array of objects on success."; - $method .= "\n\t*"; - $method .= "\n\t*/"; - $method .= "\n\tpublic function getUikitComp()"; - $method .= "\n\t{"; - $method .= "\n\t\tif (isset(\$this->uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$this->uikitComp))"; - $method .= "\n\t\t{"; - $method .= "\n\t\t\treturn \$this->uikitComp;"; - $method .= "\n\t\t}"; - $method .= "\n\t\treturn false;"; - $method .= "\n\t}"; - } - return $method; - } - - protected function setMainCustomMehtod(&$body,$nAme,$type) - { - $method = ''; - if (ComponentbuilderHelper::checkString($body)) - { - // build custom method - $method .= "\n\n\t/**"; - $method .= "\n\t* Custom Method"; - $method .= "\n\t*"; - $method .= "\n\t* @return ".$type; - $method .= "\n\t*"; - $method .= "\n\t*/"; - $method .= "\n\tpublic function ".$nAme."()"; - $method .= "\n\t{".$body; - $method .= "\n\t}"; - } - return $method; - } - - protected function setCustomViewCustomItemMethods(&$main_get,$code) - { - $methods = ''; - // first set the needed item/s methods - if (ComponentbuilderHelper::checkObject($main_get)) - { - if (isset($main_get->custom_get) && ComponentbuilderHelper::checkArray($main_get->custom_get)) - { - foreach ($main_get->custom_get as $get) - { - $this->siteDecrypt['basic'][$code] = false; - $this->siteDecrypt['advanced'][$code] = false; - // set the method defaults - $default = $this->setCustomViewMethodDefaults($get,$code); - // build custom method - $methods .= "\n\n\t/**"; - $methods .= "\n\t* Method to get an array of ".$default['name']." Objects."; - $methods .= "\n\t*"; - $methods .= "\n\t* @return mixed An array of ".$default['name']." Objects on success, false on failure."; - $methods .= "\n\t*"; - $methods .= "\n\t*/"; - $methods .= "\n\tpublic function get".$default['methodName']."(\$".$default['on_field'].")"; - $methods .= "\n\t{###CRYPT###"; - $methods .= "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $methods .= "\n\t\t\$db = JFactory::getDbo();"; - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $methods .= "\n\t\t\$query = \$db->getQuery(true);"; - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Get from ".$get['selection']['table']." as ".$default['as']; - $methods .= "\n\t\t".$get['selection']['select']; - $methods .= "\n\t\t".'$query->from('.$get['selection']['from'].');'; - // set the string - if ($get['operator'] == 'IN' || $get['operator'] == 'NOT IN') - { - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Check if \$" . $default['on_field'] . " is an array with values."; - $methods .= "\n\t\t\$array = \$" . $default['on_field'] . ";"; - $methods .= "\n\t\tif (isset(\$array) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$array))"; - $methods .= "\n\t\t{"; - $methods .= "\n\t\t\t\$query->where('".$get['join_field']." ".$get['operator']." (' . implode(',', \$array) . ')');"; - $methods .= "\n\t\t}"; - $methods .= "\n\t\telse"; - $methods .= "\n\t\t{"; - $methods .= "\n\t\t\treturn false;"; - $methods .= "\n\t\t}"; - } - else - { - $methods .= "\n\t\t\$query->where('".$get['join_field']." ".$get['operator']." ' . \$db->quote(\$".$default['on_field']."));"; - } - // check if other queries should be loaded - $queryChecker = (isset($this->otherQuery[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherQuery[$this->target][$default['code']][$default['as']])) ? $this->otherQuery[$this->target][$default['code']][$default['as']] : ''; - if (ComponentbuilderHelper::checkArray($queryChecker)) - { - foreach ($queryChecker as $query) - { - $methods .= $query; - } - } - // add any other filter that was set - if (isset($this->otherFilter[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherFilter[$this->target][$default['code']][$default['as']])) - { - foreach ($this->otherFilter[$this->target][$default['code']][$default['as']] as $field => $string) - { - $methods .= $string; - } - } - // add any other where that was set - if (isset($this->otherWhere[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherWhere[$this->target][$default['code']][$default['as']])) - { - foreach ($this->otherWhere[$this->target][$default['code']][$default['as']] as $field => $string) - { - $methods .= $string; - } - } - // add any other order that was set - if (isset($this->otherOrder[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherOrder[$this->target][$default['code']][$default['as']])) - { - foreach ($this->otherOrder[$this->target][$default['code']][$default['as']] as $field => $string) - { - $methods .= $string; - } - } - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $methods .= "\n\t\t\$db->setQuery(\$query);"; - $methods .= "\n\t\t\$db->execute();"; - $methods .= "\n\n\t\t//".$this->setLine(__LINE__)." check if there was data returned"; - $methods .= "\n\t\tif (\$db->getNumRows())"; - $methods .= "\n\t\t{"; - // set decoding of needed fields - if (isset($this->siteFieldData['decode'][$default['code']][$get['key']][$default['as']])) - { - $decodeChecker = $this->siteFieldData['decode'][$default['code']][$get['key']][$default['as']]; - } - // also filter fields if needed - if (isset($this->siteFieldDecodeFilter[$this->target][$default['code']][$get['key']][$default['as']])) - { - $decodeFilter = $this->siteFieldDecodeFilter[$this->target][$default['code']][$get['key']][$default['as']]; - } - // set uikit checkers on needed fields - if (isset($this->siteFieldData['uikit'][$default['code']][$get['key']][$default['as']])) - { - $uikitChecker = $this->siteFieldData['uikit'][$default['code']][$get['key']][$default['as']]; - } - // set joined values - $placeholders = array('###TAB###' => "\t\t", '###STRING###' => '$item'); - $joinedChecker = (isset($this->otherJoin[$this->target][$default['code']][$default['as']]) && ComponentbuilderHelper::checkArray($this->otherJoin[$this->target][$default['code']][$default['as']])) ? $this->otherJoin[$this->target][$default['code']][$default['as']] : ''; - if ( (isset($decodeChecker) && ComponentbuilderHelper::checkArray($decodeChecker)) || - (isset($uikitChecker) && ComponentbuilderHelper::checkArray($uikitChecker)) || - (isset($decodeFilter) && ComponentbuilderHelper::checkArray($decodeFilter)) || - ComponentbuilderHelper::checkArray($joinedChecker)) - { - $decoder = ''; - if (isset($decodeChecker) && ComponentbuilderHelper::checkArray($decodeChecker)) - { - // also filter fields if needed - $decoder = $this->setCustomViewFieldDecode($get,$decodeChecker,'$item',$default['code'],"\t\t"); - } - $decoder_filter = ''; - if (isset($decodeFilter) && ComponentbuilderHelper::checkArray($decodeFilter)) - { - $decoder_filter = $this->setCustomViewFieldDecodeFilter($get,$decodeFilter,'$item','$items[$nr]',$default['code'],"\t\t"); - } - $uikit = ''; - if (isset($uikitChecker) && ComponentbuilderHelper::checkArray($uikitChecker)) - { - $uikit = $this->setCustomViewFieldUikitChecker($get,$uikitChecker,'$item',$default['code'],"\t\t"); - } - $joine = ''; - if (ComponentbuilderHelper::checkArray($joinedChecker)) - { - foreach ($joinedChecker as $joinedString) - { - $joine .= str_replace(array_keys($placeholders),array_values($placeholders),$joinedString); - } - } - if (ComponentbuilderHelper::checkString($decoder) || ComponentbuilderHelper::checkString($uikit) || ComponentbuilderHelper::checkString($decoder_filter) || ComponentbuilderHelper::checkString($joine)) - { - $methods .= "\n\t\t\t\$items = \$db->loadObjectList();"; - $methods .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Convert the parameter fields into objects."; - $methods .= "\n\t\t\tforeach (\$items as \$nr => &\$item)"; - $methods .= "\n\t\t\t{"; - if (ComponentbuilderHelper::checkString($decoder)) - { - $methods .= $decoder; - } - if (ComponentbuilderHelper::checkString($decoder_filter)) - { - $methods .= $decoder_filter; - } - if (ComponentbuilderHelper::checkString($uikit)) - { - $methods .= $uikit; - } - if (ComponentbuilderHelper::checkString($joine)) - { - $methods .= $joine; - } - $methods .= "\n\t\t\t}"; - $methods .= "\n\t\t\treturn \$items;"; - } - else - { - $methods .= "\n\t\t\treturn \$db->loadObjectList();"; - } - } - else - { - $methods .= "\n\t\t\treturn \$db->loadObjectList();"; - } - $methods .= "\n\t\t}"; - $methods .= "\n\t\treturn false;"; - $methods .= "\n\t}"; - - if ((isset($this->siteDecrypt['basic'][$code]) && $this->siteDecrypt['basic'][$code]) || (isset($this->siteDecrypt['advanced'][$code]) && $this->siteDecrypt['advanced'][$code])) - { - $Component = $this->fileContentStatic['###Component###']; - $script = ''; - if ($this->siteDecrypt['basic'][$code]) - { - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$basic = new FOFEncryptAes(\$basickey, 128);\n"; - } - if ($this->siteDecrypt['advanced'][$code]) - { - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the advanced encription."; - $script .= "\n\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);\n"; - } - $methods = str_replace('###CRYPT###',$script,$methods); - } - } - $methods = str_replace('###CRYPT###','',$methods); - } - } - return $methods."\n"; - } - - protected function setCustomViewMethodDefaults($get,$code) - { - $key = substr(ComponentbuilderHelper::safeString(preg_replace('/[0-9]+/', '', md5($get['key'])),'F'), 0, 4); - $method['on_field'] = (isset($get['on_field'])) ? $this->removeAsDot($get['on_field']):null; - $method['join_field'] = (isset($get['join_field'])) ? ComponentbuilderHelper::safeString($this->removeAsDot($get['join_field'])):null; - $method['Join_field'] = (isset($method['join_field'])) ? ComponentbuilderHelper::safeString($method['join_field'],'F'):null; - $method['name'] = ComponentbuilderHelper::safeString($get['selection']['name'],'F'); - $method['code'] = ComponentbuilderHelper::safeString($code); - $method['AS'] = ComponentbuilderHelper::safeString($get['as'],'U'); - $method['as'] = ComponentbuilderHelper::safeString($get['as']); - $method['valueName'] = $method['on_field'] . $method['Join_field'] . $method['name'] . $method['AS']; - $method['methodName'] = ComponentbuilderHelper::safeString($method['on_field'],'F') . $method['Join_field'] . $method['name'] . $key .'_'. $method['AS']; - // return - return $method; - } - - protected function setCustomViewListQuery(&$get,$code,$return = true) - { - if (ComponentbuilderHelper::checkObject($get)) - { - if ($get->pagination == 1) - { - $getItem = "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - } - else - { - $getItem = "\n\t\t//".$this->setLine(__LINE__)." Make sure all records load, since no pagination allowed."; - $getItem .= "\n\t\t\$this->setState('list.limit', 0);"; - $getItem .= "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - } - $getItem .= "\n\t\t\$db = JFactory::getDbo();"; - $getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $getItem .= "\n\t\t\$query = \$db->getQuery(true);"; - // set main get query - $getItem .= $this->setCustomViewQuery($get->main_get,$code); - // setup filters - $getItem .= $this->setCustomViewFilter($get->filter,$code); - // setup where - $getItem .= $this->setCustomViewWhere($get->where,$code); - // setup ordering - $getItem .= $this->setCustomViewOrder($get->order,$code); - if ($return) - { - // return the query object - $getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." return the query object\n\t\treturn \$query;"; - } - - return $getItem; - } - return "\n\t\t//".$this->setLine(__LINE__)."add your custom code here."; - } - - protected function setCustomViewGetItems(&$get,$code) - { - $getItem = ''; - $this->siteDecrypt['basic'][$code] = false; - $this->siteDecrypt['advanced'][$code] = false; - if (ComponentbuilderHelper::checkObject($get)) - { - $getItem .= "\n\n\t\t//".$this->setLine(__LINE__)." Convert the parameter fields into objects."; - $getItem .= "\n\t\tforeach (\$items as \$nr => &\$item)"; - $getItem .= "\n\t\t{"; - $getItem .= "\n\t\t\t//".$this->setLine(__LINE__)." Always create a slug for sef URL's"; - $getItem .= "\n\t\t\t\$item->slug = (isset(\$item->alias)) ? \$item->id.':'.\$item->alias : \$item->id;"; - if (isset($get->main_get) && ComponentbuilderHelper::checkArray($get->main_get)) - { - $asBucket = array(); - foreach ($get->main_get as $main_get) - { - if (isset($this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']])) - { - $decodeChecker = $this->siteFieldData['decode'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeChecker)) - { - // set decoding of needed fields - $getItem .= $this->setCustomViewFieldDecode($main_get,$decodeChecker,"\$item",$code,"\t"); - } - } - // also filter fields if needed - if (isset($this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']])) - { - $decodeFilter = $this->siteFieldDecodeFilter[$this->target][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($decodeFilter)) - { - $getItem .= $this->setCustomViewFieldDecodeFilter($main_get,$decodeFilter,"\$item",'$items[$nr]',$code,"\t"); - } - } - if (isset($this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']])) - { - $uikitChecker = $this->siteFieldData['uikit'][$code][$main_get['key']][$main_get['as']]; - if (ComponentbuilderHelper::checkArray($uikitChecker)) - { - // set uikit checkers on needed fields - $getItem .= $this->setCustomViewFieldUikitChecker($main_get,$uikitChecker,"\$item",$code,"\t"); - } - } - $asBucket[] = $main_get['as']; - } - } - // setup Globals - $getItem .= $this->setCustomViewGlobals($get->global,'$item',$asBucket,"\t"); - // setup the custom gets that returns multipal values - $getItem .= $this->setCustomViewCustomJoin($get->custom_get,"\$item",$code,$asBucket,"\t"); - // set calculations - if ($get->addcalculation == 1) - { - $get->php_calculation = (array) explode("\n",$get->php_calculation); - if (ComponentbuilderHelper::checkArray($get->php_calculation)) - { - $getItem .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t".implode("\n\t\t\t",$get->php_calculation)); - } - } - $getItem .= "\n\t\t}"; - // remove empty foreach - if (strlen($getItem) <= 100) - { - $getItem = "\n"; - } - } - - if ($this->siteDecrypt['basic'][$code] || $this->siteDecrypt['advanced'][$code]) - { - $Component = $this->fileContentStatic['###Component###']; - $script = ''; - if ($this->siteDecrypt['basic'][$code]) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - } - if ($this->siteDecrypt['advanced'][$code]) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the advanced encription."; - $script .= "\n\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - } - $getItem = $script . $getItem; - } - return $getItem; - } - - protected function setCustomViewDisplayMethod(&$view) - { - $method = ''; - if (isset($view['settings']->main_get) && ComponentbuilderHelper::checkObject($view['settings']->main_get)) - { - if ($view['settings']->main_get->gettype == 1) - { - // for single views - $method .= "\n\t\t//".$this->setLine(__LINE__)." Initialise variables."; - $method .= "\n\t\t\$this->item\t= \$this->get('Item');"; - } - elseif ($view['settings']->main_get->gettype == 2) - { - // for list views - $method .= "\n\t\t//".$this->setLine(__LINE__)." Initialise variables."; - $method .= "\n\t\t\$this->items\t= \$this->get('Items');"; - // only add if pagination is requered - if ($view['settings']->main_get->pagination == 1) - { - $method .= "\n\t\t\$this->pagination\t= \$this->get('Pagination');"; - } - // add id to list view - if (isset($this->customAdminViewListId[$view['settings']->code])) - { - // ###HIDDEN_INPUT_VALUES### - $this->fileContentDynamic[$view['settings']->code]['###HIDDEN_INPUT_VALUES###'] = "\n\t".'<input type="hidden" name="id" value="<?php echo $this->app->input->getInt(\'id\', 0); ?>" />'; - } - else - { - // also set the input value ###HIDDEN_INPUT_VALUES### - $this->fileContentDynamic[$view['settings']->code]['###HIDDEN_INPUT_VALUES###'] = ''; - } - } - // add the custom get methods - if (isset($view['settings']->custom_get) && ComponentbuilderHelper::checkArray($view['settings']->custom_get)) - { - foreach ($view['settings']->custom_get as $custom_get) - { - $custom_get_name = str_replace('get','',$custom_get->getcustom); - $method .= "\n\t\t\$this->".ComponentbuilderHelper::safeString($custom_get_name)."\t= \$this->get('".$custom_get_name."');"; - } - } - - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." Check for errors."; - $method .= "\n\t\tif (count(\$errors = \$this->get('Errors')))"; - $method .= "\n\t\t{"; - $method .= "\n\t\t\tJError::raiseWarning(500, ".'implode("\n", $errors));'; - $method .= "\n\t\t\treturn false;"; - $method .= "\n\t\t}"; - // add custom script - if ($view['settings']->add_php_jview_display == 1) - { - $view['settings']->php_jview_display = (array) explode("\n",$view['settings']->php_jview_display); - if (ComponentbuilderHelper::checkArray($view['settings']->php_jview_display)) - { - $method .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t".implode("\n\t\t",$view['settings']->php_jview_display)); - } - } - if ('site' == $this->target) - { - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the toolbar"; - $method .= "\n\t\t\$this->addToolBar();"; - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." set the document"; - $method .= "\n\t\t\$this->_prepareDocument();"; - } - elseif ('custom_admin' == $this->target) - { - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." We don't need toolbar in the modal window."; - $method .= "\n\t\tif (\$this->getLayout() !== 'modal')"; - $method .= "\n\t\t{"; - $method .= "\n\t\t\t//".$this->setLine(__LINE__)." add the tool bar"; - $method .= "\n\t\t\t\$this->addToolBar();"; - $method .= "\n\t\t}"; - $method .= "\n\n\t\t//".$this->setLine(__LINE__)." set the document"; - $method .= "\n\t\t\$this->setDocument();"; - } - $method .= "\n\n\t\tparent::display(\$tpl);"; - } - return $method; - } - - protected function setPrepareDocument($view) - { - // ensure correct target is set - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // set uikit ###'.$TARGET.'_UIKIT_LOADER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_UIKIT_LOADER###'] = $this->setUikitLoader($view); - - // set uikit ###'.$TARGET.'_GOOGLECHART_LOADER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GOOGLECHART_LOADER###'] = $this->setGoogleChartLoader($view); - - // set uikit ###FOOTABLE_LOADER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_FOOTABLE_LOADER###'] = $this->setFootableScriptsLoader($view); - - // set metadata ###DOCUMENT_METADATA### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_METADATA###'] = $this->setDocumentMetadata($view); - - // set custom php scripting ###DOCUMENT_CUSTOM_PHP### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_CUSTOM_PHP###'] = $this->setDocumentCustomPHP($view); - - // set custom css ###DOCUMENT_CUSTOM_CSS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_CUSTOM_CSS###'] = $this->setDocumentCustomCSS($view); - - // set custom javascript ###DOCUMENT_CUSTOM_JS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_DOCUMENT_CUSTOM_JS###'] = $this->setDocumentCustomJS($view); - - // set custom css file ###VIEWCSS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_VIEWCSS###'] = $this->setCustomCSS($view); - - // set the custom buttons ###CUSTOM_BUTTONS### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS###'] = $this->setCustomButtons($view); - - // only set the custom get form method if site target - if ('site' == $this->target) - { - // set the custom get form method ###SITE_CUSTOM_GET_FORM_METHOD### - $this->fileContentDynamic[$view['settings']->code]['###SITE_CUSTOM_GET_FORM_METHOD###'] = $this->setCustomGetForm($view); - } - - // see if we should add get modules to the view.html - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GET_MODULE###'] = $this->setGetModules($view,$TARGET); - - } - - protected function setGetModules($view,$TARGET) - { - if (isset($this->getModule[$this->target][$view['settings']->code]) && $this->getModule[$this->target][$view['settings']->code]) - { - $addModule = array(); - $addModule[] = "\n\n\t/**"; - $addModule[] = "\t * Get the modules published in a position"; - $addModule[] = "\t */"; - $addModule[] = "\tpublic function getModules(\$position, \$seperator = '', \$class = '')"; - $addModule[] = "\t{"; - $addModule[] = "\t\t//".$this->setLine(__LINE__)." set default"; - $addModule[] = "\t\t\$found = false;"; - $addModule[] = "\t\t//".$this->setLine(__LINE__)." check if we aleady have these modules loaded"; - $addModule[] = "\t\tif (isset(\$this->setModules[\$position]))"; - $addModule[] = "\t\t{"; - $addModule[] = "\t\t\t\$found = true;"; - $addModule[] = "\t\t}"; - $addModule[] = "\t\telse"; - $addModule[] = "\t\t{"; - $addModule[] = "\t\t\t//".$this->setLine(__LINE__)." this is where you want to load your module position"; - $addModule[] = "\t\t\t\$modules = JModuleHelper::getModules(\$position);"; - $addModule[] = "\t\t\tif (\$modules)"; - $addModule[] = "\t\t\t{"; - $addModule[] = "\t\t\t\t//".$this->setLine(__LINE__)." set the place holder"; - $addModule[] = "\t\t\t\t\$this->setModules[\$position] = array();"; - $addModule[] = "\t\t\t\tforeach(\$modules as \$module)"; - $addModule[] = "\t\t\t\t{"; - $addModule[] = "\t\t\t\t\t\$this->setModules[\$position][] = JModuleHelper::renderModule(\$module);"; - $addModule[] = "\t\t\t\t}"; - $addModule[] = "\t\t\t\t\$found = true;"; - $addModule[] = "\t\t\t}"; - $addModule[] = "\t\t}"; - $addModule[] = "\t\t//".$this->setLine(__LINE__)." check if modules were found"; - $addModule[] = "\t\tif (\$found && isset(\$this->setModules[\$position]) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$this->setModules[\$position]))"; - $addModule[] = "\t\t{"; - $addModule[] = "\t\t\t//".$this->setLine(__LINE__)." set class"; - $addModule[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(\$class))"; - $addModule[] = "\t\t\t{"; - $addModule[] = "\t\t\t\t\$class = ' class=\"'.\$class.'\" ';"; - $addModule[] = "\t\t\t}"; - $addModule[] = "\t\t\t//".$this->setLine(__LINE__)." set seperating return values"; - $addModule[] = "\t\t\tswitch(\$seperator)"; - $addModule[] = "\t\t\t{"; - $addModule[] = "\t\t\t\tcase 'none':"; - $addModule[] = "\t\t\t\t\treturn implode('', \$this->setModules[\$position]);"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tcase 'div':"; - $addModule[] = "\t\t\t\t\treturn '<div'.\$class.'>'.implode('</div><div'.\$class.'>', \$this->setModules[\$position]).'</div>';"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tcase 'list':"; - $addModule[] = "\t\t\t\t\treturn '<ul'.\$class.'><li>'.implode('</li><li>', \$this->setModules[\$position]).'</li></ul>';"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tcase 'array':"; - $addModule[] = "\t\t\t\tcase 'Array':"; - $addModule[] = "\t\t\t\t\treturn \$this->setModules[\$position];"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\tdefault:"; - $addModule[] = "\t\t\t\t\treturn implode('<br />', \$this->setModules[\$position]);"; - $addModule[] = "\t\t\t\t\tbreak;"; - $addModule[] = "\t\t\t\t"; - $addModule[] = "\t\t\t}"; - $addModule[] = "\t\t}"; - $addModule[] = "\t\treturn false;"; - $addModule[] = "\t}"; - - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GET_MODULE_JIMPORT###'] = "\njimport('joomla.application.module.helper');"; - - return implode("\n",$addModule); - } - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_GET_MODULE_JIMPORT###'] = ''; - return ''; - } - - protected function setCustomGetForm($view) - { - return ''; - } - - protected function setDocumentCustomPHP($view) - { - if ($view['settings']->add_php_document == 1) - { - $view['settings']->php_document = (array) explode("\n",$view['settings']->php_document); - if (ComponentbuilderHelper::checkArray($view['settings']->php_document)) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t".implode("\n\t\t",$view['settings']->php_document)); - } - } - return ''; - } - - protected function setCustomButtons($view) - { - // ensure correct target is set - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // set the custom buttons ###CUSTOM_BUTTONS_CONTROLLER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_CONTROLLER###'] = ''; - // set the custom buttons ###CUSTOM_BUTTONS_METHOD### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_METHOD###'] = ''; - // if site add buttons to view - if ($this->target == 'site') - { - // set the custom buttons ###SITE_TOP_BUTTON### - $this->fileContentDynamic[$view['settings']->code]['###SITE_TOP_BUTTON###'] = ''; - // set the custom buttons ###SITE_BOTTOM_BUTTON### - $this->fileContentDynamic[$view['settings']->code]['###SITE_BOTTOM_BUTTON###'] = ''; - // load into place - switch ($view['settings']->button_position) - { - case 1: - // set buttons to top right of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_TOP_BUTTON###'] = '<div class="uk-clearfix"><div class="uk-float-right"><?php echo $this->toolbar->render(); ?></div></div>'; - break; - case 2: - // set buttons to top left of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_TOP_BUTTON###'] = '<?php echo $this->toolbar->render(); ?>'; - break; - case 3: - // set buttons to buttom right of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_BOTTOM_BUTTON###'] = '<div class="uk-clearfix"><div class="uk-float-right"><?php echo $this->toolbar->render(); ?></div></div>'; - break; - case 4: - // set buttons to buttom left of the view - $this->fileContentDynamic[$view['settings']->code]['###SITE_BOTTOM_BUTTON###'] = '<?php echo $this->toolbar->render(); ?>'; - break; - case 5: - // set buttons to buttom left of the view - $this->placeholders['[[[SITE_TOOLBAR]]]'] = '<?php echo $this->toolbar->render(); ?>'; - break; - - } - - } - // check if custom button should be added - if (isset($view['settings']->add_custom_button) && $view['settings']->add_custom_button == 1) - { - if (ComponentbuilderHelper::checkArray($view['settings']->custom_buttons)) - { - $buttons = array(); - foreach ($view['settings']->custom_buttons as $custom_button) - { - if ($custom_button['target'] != 2 || $this->target == 'site') - { - // Load to lang - $keyLang = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($custom_button['name'],'U'); - $keyCode = ComponentbuilderHelper::safeString($custom_button['name']); - $this->langContent[$this->lang][$keyLang] = trim($custom_button['name']); - // add cpanel button - $buttons[] = "\t\tif (\$this->canDo->get('".$view['settings']->code.".".$keyCode."'))"; - $buttons[] = "\t\t{"; - $buttons[] = "\t\t\t//".$this->setLine(__LINE__)." add ".$custom_button['name']." button."; - $buttons[] = "\t\t\tJToolBarHelper::custom('".$view['settings']->code.".".$custom_button['method']."', '".$custom_button['icomoon']."', '', '".$keyLang."', false);"; - $buttons[] = "\t\t}"; - } - } - if (ComponentbuilderHelper::checkArray($buttons)) - { - if (ComponentbuilderHelper::checkString($view['settings']->php_controller)) - { - // set the custom buttons ###CUSTOM_BUTTONS_CONTROLLER### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_CONTROLLER###'] = - "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->php_controller); - if ('site' == $this->target) - { - // add the controller for this view - // build the file - $target = array($this->target => $view['settings']->code); - $this->buildDynamique($target,'custom_form'); - ###GET_FORM_CUSTOM### - } - } - if (ComponentbuilderHelper::checkString($view['settings']->php_model)) - { - // set the custom buttons ###CUSTOM_BUTTONS_METHOD### - $this->fileContentDynamic[$view['settings']->code]['###'.$TARGET.'_CUSTOM_BUTTONS_METHOD###'] = - "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->php_model); - } - - return "\n".implode("\n",$buttons); - } - } - } - return ''; - } - - protected function setCustomCSS($view) - { - if ($view['settings']->add_css == 1) - { - if (ComponentbuilderHelper::checkString($view['settings']->css)) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->css); - } - } - return ''; - } - - protected function setDocumentCustomCSS($view) - { - if ($view['settings']->add_css_document == 1) - { - $view['settings']->css_document = (array) explode("\n",$view['settings']->css_document); - if (ComponentbuilderHelper::checkArray($view['settings']->css_document)) - { - $script = "\n\t\t//".$this->setLine(__LINE__)." Set the Custom CSS script to view\n\t\t".'$this->document->addStyleDeclaration("'; - $cssDocument = str_replace('"', '\"', implode("\n\t\t\t",$view['settings']->css_document)); - return $script.str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t".$cssDocument)."\n\t\t".'");'; - } - } - return ''; - } - - protected function setDocumentCustomJS($view) - { - if ($view['settings']->add_js_document == 1) - { - $view['settings']->js_document = (array) explode("\n",$view['settings']->js_document); - if (ComponentbuilderHelper::checkArray($view['settings']->js_document)) - { - $script = "\n\t\t//".$this->setLine(__LINE__)." Set the Custom JS script to view\n\t\t".'$this->document->addScriptDeclaration("'; - $jsDocument = str_replace('"', '\"', implode("\n\t\t\t",$view['settings']->js_document)); - return $script.str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\t\t\t".$jsDocument)."\n\t\t".'");'; - } - } - return ''; - } - - protected function setFootableScriptsLoader($view) - { - if (isset($this->footableScripts[$this->target][$view['settings']->code]) && $this->footableScripts[$this->target][$view['settings']->code]) - { - return $this->setFootableScripts(false,'$this->document'); - } - return ''; - } - - protected function setDocumentMetadata($view) - { - if ($view['settings']->main_get->gettype == 1 && $view['metadata'] == 1) - { - return $this->setMetadataItem(); - } - elseif ($view['metadata'] == 1) - { - // lets check if we have a custom get method that has the same name as the view - // if we do then it posibly can be that the metadata is loaded via that method - // and we can load the full metadata structure with its vars - if (isset($view['settings']->custom_get) && ComponentbuilderHelper::checkArray($view['settings']->custom_get)) - { - $found = false; - $searchFor = 'get'.$view['settings']->Code; - foreach ($view['settings']->custom_get as $custom_get) - { - if ($searchFor == $custom_get->getcustom) - { - $found = true; - break; - } - } - // now lets see - if ($found) - { - return $this->setMetadataItem($view['settings']->code); - } - else - { - return $this->setMetadataList(); - } - } - else - { - return $this->setMetadataList(); - } - } - return ''; - } - - protected function setMetadataItem($item = 'item') - { - $meta = array(); - $meta[] = "\n\t\t//".$this->setLine(__LINE__)." load the meta description"; - $meta[] = "\t\tif (isset(\$this->".$item."->metadesc) && \$this->".$item."->metadesc)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setDescription(\$this->".$item."->metadesc);"; - $meta[] = "\t\t}"; - $meta[] = "\t\telseif (\$this->params->get('menu-meta_description'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setDescription(\$this->params->get('menu-meta_description'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." load the key words if set"; - $meta[] = "\t\tif (isset(\$this->".$item."->metakey) && \$this->".$item."->metakey)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('keywords', \$this->".$item."->metakey);"; - $meta[] = "\t\t}"; - $meta[] = "\t\telseif (\$this->params->get('menu-meta_keywords'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('keywords', \$this->params->get('menu-meta_keywords'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check the robot params"; - $meta[] = "\t\tif (isset(\$this->".$item."->robots) && \$this->".$item."->robots)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('robots', \$this->".$item."->robots);"; - $meta[] = "\t\t}"; - $meta[] = "\t\telseif (\$this->params->get('robots'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('robots', \$this->params->get('robots'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check if autor is to be set"; - $meta[] = "\t\tif (isset(\$this->".$item."->created_by) && \$this->params->get('MetaAuthor') == '1')"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetaData('author', \$this->".$item."->created_by);"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check if metadata is available"; - $meta[] = "\t\tif (isset(\$this->".$item."->metadata) && \$this->".$item."->metadata)"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$mdata = json_decode(\$this->".$item."->metadata,true);"; - $meta[] = "\t\t\tforeach (\$mdata as \$k => \$v)"; - $meta[] = "\t\t\t{"; - $meta[] = "\t\t\t\tif (\$v)"; - $meta[] = "\t\t\t\t{"; - $meta[] = "\t\t\t\t\t\$this->document->setMetadata(\$k, \$v);"; - $meta[] = "\t\t\t\t}"; - $meta[] = "\t\t\t}"; - $meta[] = "\t\t}"; - - return implode("\n",$meta); - } - - protected function setMetadataList() - { - $meta = array(); - $meta[] = "\n\t\t//".$this->setLine(__LINE__)." load the meta description"; - $meta[] = "\t\tif (\$this->params->get('menu-meta_description'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setDescription(\$this->params->get('menu-meta_description'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." load the key words if set"; - $meta[] = "\t\tif (\$this->params->get('menu-meta_keywords'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('keywords', \$this->params->get('menu-meta_keywords'));"; - $meta[] = "\t\t}"; - $meta[] = "\t\t//".$this->setLine(__LINE__)." check the robot params"; - $meta[] = "\t\tif (\$this->params->get('robots'))"; - $meta[] = "\t\t{"; - $meta[] = "\t\t\t\$this->document->setMetadata('robots', \$this->params->get('robots'));"; - $meta[] = "\t\t}"; - - return implode("\n",$meta); - } - - protected function setGoogleChartLoader($view) - { - if (isset($this->googleChart[$this->target][$view['settings']->code]) && $this->googleChart[$this->target][$view['settings']->code]) - { - $chart = array(); - $chart[] = "\n\n\t\t//".$this->setLine(__LINE__)." add the google chart builder class."; - $chart[] = "\t\trequire_once JPATH_COMPONENT_ADMINISTRATOR.'/helpers/chartbuilder.php';"; - $chart[] = "\t\t//".$this->setLine(__LINE__)." load the google chart js."; - $chart[] = "\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/js/google.jsapi.js');"; - $chart[] = "\t\t\$this->document->addScript('https://canvg.googlecode.com/svn/trunk/rgbcolor.js');"; - $chart[] = "\t\t\$this->document->addScript('https://canvg.googlecode.com/svn/trunk/canvg.js');"; - return implode("\n",$chart); - } - return ''; - } - - protected function setUikitLoader($view) - { - // reset buktes - $setter = ''; - $loader['css'] = array(); - $loader['js'] = array(); - // allways load these in - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." always make sure jquery is loaded."; - $setter .= "\n\t\tJHtml::_('jquery.framework');"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Load the header checker class."; - $setter .= "\n\t\trequire_once( JPATH_COMPONENT_SITE.'/helpers/headercheck.php' );"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Initialize the header checker."; - $setter .= "\n\t\t\$HeaderCheck = new HeaderCheck;"; - // load the defaults needed - if ($this->uikit) - { - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load uikit options."; - $setter .= "\n\t\t\$uikit = \$this->params->get('uikit_load');"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Set script size."; - $setter .= "\n\t\t\$size = \$this->params->get('uikit_min');"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." Set css style."; - $setter .= "\n\t\t\$style = \$this->params->get('uikit_style');"; - - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." The uikit css."; - $setter .= "\n\t\tif ((!\$HeaderCheck->css_loaded('uikit.min') || \$uikit == 1) && \$uikit != 2 && \$uikit != 3)"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t\$this->document->addStyleSheet(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/uikit'.\$style.\$size.'.css');"; - $setter .= "\n\t\t}"; - $setter .= "\n\t\t//".$this->setLine(__LINE__)." The uikit js."; - $setter .= "\n\t\tif ((!\$HeaderCheck->js_loaded('uikit.min') || \$uikit == 1) && \$uikit != 2 && \$uikit != 3)"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/uikit'.\$size.'.js');"; - $setter .= "\n\t\t}"; - } - // load the components need - if ($this->uikit && isset($this->uikitComp[$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->uikitComp[$view['settings']->code])) - { - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the script to find all uikit components needed."; - $setter .= "\n\t\tif (\$uikit != 2)"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." Set the default uikit components in this view."; - $setter .= "\n\t\t\t\$uikitComp = array();"; - foreach ($this->uikitComp[$view['settings']->code] as $class) - { - $setter .= "\n\t\t\t\$uikitComp[] = '".$class."';"; - } - // check content for more needed components - if (isset($this->siteFieldData['uikit'][$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->siteFieldData['uikit'][$view['settings']->code])) - { - $setter .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get field uikit components needed in this view."; - $setter .= "\n\t\t\t\$uikitFieldComp = \$this->get('UikitComp');"; - $setter .= "\n\t\t\tif (isset(\$uikitFieldComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitFieldComp))"; - $setter .= "\n\t\t\t{"; - $setter .= "\n\t\t\t\tif (isset(\$uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitComp))"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\$uikitComp = array_merge(\$uikitComp, \$uikitFieldComp);"; - $setter .= "\n\t\t\t\t\t\$uikitComp = array_unique(\$uikitComp);"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t\telse"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\$uikitComp = \$uikitFieldComp;"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t}"; - } - $setter .= "\n\t\t}"; - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the needed uikit components in this view."; - $setter .= "\n\t\tif (\$uikit != 2 && isset(\$uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitComp))"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." load just in case."; - $setter .= "\n\t\t\tjimport('joomla.filesystem.file');"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." loading..."; - $setter .= "\n\t\t\tforeach (\$uikitComp as \$class)"; - $setter .= "\n\t\t\t{"; - $setter .= "\n\t\t\t\tforeach (".$this->fileContentStatic['###Component###']."Helper::\$uk_components[\$class] as \$name)"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the CSS file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the css."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addStyleSheet(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the JavaScript file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the js."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t}"; - $setter .= "\n\t\t}"; - } - elseif ($this->uikit && ComponentbuilderHelper::checkArray($this->siteFieldData['uikit'][$view['settings']->code])) - { - $setter .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the needed uikit components in this view."; - $setter .= "\n\t\t\$uikitComp = \$this->get('UikitComp');"; - $setter .= "\n\t\tif (\$uikit != 2 && isset(\$uikitComp) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uikitComp))"; - $setter .= "\n\t\t{"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." load just in case."; - $setter .= "\n\t\t\tjimport('joomla.filesystem.file');"; - $setter .= "\n\t\t\t//".$this->setLine(__LINE__)." loading..."; - $setter .= "\n\t\t\tforeach (\$uikitComp as \$class)"; - $setter .= "\n\t\t\t{"; - $setter .= "\n\t\t\t\tforeach (".$this->fileContentStatic['###Component###']."Helper::\$uk_components[\$class] as \$name)"; - $setter .= "\n\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the CSS file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the css."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addStyleSheet(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/css/components/'.\$name.\$style.\$size.'.css');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." check if the JavaScript file exists."; - $setter .= "\n\t\t\t\t\tif (JFile::exists(JPATH_ROOT.'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js'))"; - $setter .= "\n\t\t\t\t\t{"; - $setter .= "\n\t\t\t\t\t\t//".$this->setLine(__LINE__)." load the js."; - $setter .= "\n\t\t\t\t\t\t\$this->document->addScript(JURI::root(true) .'/media/com_".$this->fileContentStatic['###component###']."/uikit/js/components/'.\$name.\$size.'.js');"; - $setter .= "\n\t\t\t\t\t}"; - $setter .= "\n\t\t\t\t}"; - $setter .= "\n\t\t\t}"; - $setter .= "\n\t\t}"; - } - return $setter; - } - - protected function setCustomViewExtraDisplayMethods(&$view) - { - if ($view['settings']->add_php_jview == 1) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\n".$view['settings']->php_jview); - } - return ''; - } - - protected function setCustomViewBody(&$view) - { - if (ComponentbuilderHelper::checkString($view['settings']->default)) - { - if ($view['settings']->main_get->gettype == 2 && $view['settings']->main_get->pagination == 1) - { - // build body - $body = array(); - // add limit box - if (strpos($view['settings']->default, '[[[LIMITBOX]]]') !== false) - { - $this->placeholders['[[[LIMITBOX]]]'] = '<?php echo $this->pagination->getLimitBox(); ?>'; - } - $body[] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->default); - $body[] = "\n".'<?php if (isset($this->items) && '.$this->fileContentStatic['###component###'].'Helper::checkArray($this->items) && count($this->items) > 4): ?>'; - $body[] = '<form name="adminForm" method="post">'; - $body[] = "\t".'<div class="pagination">'; - $body[] = "\t\t".'<?php if ($this->params->def(\'show_pagination_results\', 1)) : ?>'; - - if (strpos($view['settings']->default, '[[[LIMITBOX]]]') === false) - { - $body[] = "\t\t\t".'<p class="counter pull-right"> <?php echo $this->pagination->getPagesCounter(); ?> <?php echo $this->pagination->getLimitBox(); ?></p>'; - } - else - { - $body[] = "\t\t\t".'<p class="counter pull-right"> <?php echo $this->pagination->getPagesCounter(); ?> </p>'; - } - $body[] = "\t\t".'<?php endif; ?>'; - $body[] = "\t\t".'<?php echo $this->pagination->getPagesLinks(); ?>'; - $body[] = "\t".'</div>'; - $body[] = '</form>'; - $body[] = '<?php endif; ?>'; - - return implode("\n",$body); - } - else - { - return "\n". str_replace(array_keys($this->placeholders),array_values($this->placeholders),$view['settings']->default); - } - - } - return ''; - } - - protected function setCustomViewCodeBody(&$view) - { - if ($view['settings']->add_php_view == 1) - { - $view['settings']->php_view = (array) explode("\n",$view['settings']->php_view); - if (ComponentbuilderHelper::checkArray($view['settings']->php_view)) - { - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),"\n\n".implode("\n",$view['settings']->php_view)); - } - } - return ''; - } - - protected function setCustomViewTemplateBody(&$view) - { - if (isset($this->templateData[$this->target][$view['settings']->code]) && ComponentbuilderHelper::checkArray($this->templateData[$this->target][$view['settings']->code])) - { - foreach ($this->templateData[$this->target][$view['settings']->code] as $template => $data) - { - // build the file - $target = array($this->target => $view['settings']->code); - $this->buildDynamique($target,'template',$template); - // set the file data - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // ###SITE_TEMPLATE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code.'_'.$template]['###'.$TARGET.'_TEMPLATE_BODY###'] = "\n" . str_replace(array_keys($this->placeholders),array_values($this->placeholders),$data['html']); - // ###SITE_TEMPLATE_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$view['settings']->code.'_'.$template]['###'.$TARGET.'_TEMPLATE_CODE_BODY###'] = $this->setCustomViewTemplateCode($data['php_view']); - } - } - } - - protected function setCustomViewTemplateCode(&$php) - { - if (ComponentbuilderHelper::checkString($php)) - { - $php_view = (array) explode("\n",$php); - if (ComponentbuilderHelper::checkArray($php_view)) - { - $php_view = "\n\n".implode("\n",$php_view); - return str_replace(array_keys($this->placeholders),array_values($this->placeholders),$php_view); - } - } - return ''; - } - - protected function setCustomViewLayouts() - { - if (isset($this->layoutData[$this->target]) && ComponentbuilderHelper::checkArray($this->layoutData[$this->target])) - { - foreach ($this->layoutData[$this->target] as $layout => $data) - { - // build the file - $target = array($this->target => $layout); - $this->buildDynamique($target,'layout'); - // set the file data - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // ###SITE_LAYOUT_CODE### <<<DYNAMIC>>> - $php_view = (array) explode("\n",$data['php_view']); - if (ComponentbuilderHelper::checkArray($php_view)) - { - $php_view = "\n\n".implode("\n",$php_view); - $this->fileContentDynamic[$layout]['###'.$TARGET.'_LAYOUT_CODE###'] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$php_view); - } - else - { - $this->fileContentDynamic[$layout]['###'.$TARGET.'_LAYOUT_CODE###'] = ''; - } - // ###SITE_LAYOUT_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$layout]['###'.$TARGET.'_LAYOUT_BODY###'] = "\n" . str_replace(array_keys($this->placeholders),array_values($this->placeholders),$data['html']); - - } - } - } - - protected function getReplacementNames() - { - foreach ($this->newFiles as $type => $files) - { - foreach ($files as $view => $file) - { - if (isset($file['path']) && ComponentbuilderHelper::checkArray($file)) - { - if (JFile::exists($file['path'])) - { - $string = file_get_contents($file['path']); - $buket['static'][] = $this->getInbetweenStrings($string); - } - } - elseif (ComponentbuilderHelper::checkArray($file)) - { - foreach ($file as $nr => $doc) - { - if (ComponentbuilderHelper::checkArray($doc)) - { - if (JFile::exists($doc['path'])) - { - $string = file_get_contents($doc['path']); - $buket[$view][] = $this->getInbetweenStrings($string); - } - } - } - } - } - } - foreach ($buket as $type => $array) - { - foreach ($array as $replacments) - { - $replacments = array_unique($replacments); - foreach ($replacments as $replacment) - { - if ($type != 'static') - { - //var_dump($replacment); echo "\n"; - $echos[$replacment] = "###".$replacment."###<br />"; - } - elseif ($type == 'static') - { - //var_dump($replacment); echo "\n"; - $echos[$replacment] = "###".$replacment."###<br />"; - } - } - } - } - - foreach ($echos as $echo) - { - echo $echo.'<br />'; - } - } - - protected function updateFiles() - { - if (isset($this->newFiles['static']) && ComponentbuilderHelper::checkArray($this->newFiles['static']) && isset($this->newFiles['dynamic']) && ComponentbuilderHelper::checkArray($this->newFiles['dynamic'])) - { - // get the bom file - $bom = JFile::read($this->bomPath); - // first we do the static files - foreach ($this->newFiles['static'] as $static) - { - if (JFile::exists($static['path'])) - { - $this->fileContentStatic['###FILENAME###'] = $static['name']; - $php = ''; - if (ComponentbuilderHelper::checkFileType($static['name'],'php')) - { - $php = "<?php\n"; - } - $string = JFile::read($static['path']); - if (strpos($string,'###BOM###') !== false) - { - list($wast,$code) = explode('###BOM###',$string); - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$php.$bom.$code); - // add to zip array - $this->writeFile($static['path'],$answer); - } - else - { - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$string); - // add to zip array - $this->writeFile($static['path'],$answer); - } - $this->lineCount = $this->lineCount + substr_count($answer, PHP_EOL ); - } - } - // now we do the dynamic files - foreach ($this->newFiles['dynamic'] as $view => $files) - { - if (isset($this->fileContentDynamic[$view]) && ComponentbuilderHelper::checkArray($this->fileContentDynamic[$view])) - { - foreach ($files as $file) - { - if ($file['view'] == $view) - { - if (JFile::exists($file['path'])) - { - $this->fileContentStatic['###FILENAME###'] = $file['name']; - $php = ''; - if (ComponentbuilderHelper::checkFileType($file['name'],'php')) - { - $php = "<?php\n"; - } - $string = JFile::read($file['path']); - if (strpos($string,'###BOM###') !== false) - { - list($bin,$code) = explode('###BOM###',$string); - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$php.$bom.$code); - $answer = str_replace(array_keys($this->fileContentDynamic[$view]),array_values($this->fileContentDynamic[$view]),$answer); - // add to zip array - $this->writeFile($file['path'],$answer); - } - else - { - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$string); - $answer = str_replace(array_keys($this->fileContentDynamic[$view]),array_values($this->fileContentDynamic[$view]),$answer); - // add to zip array - $this->writeFile($file['path'],$answer); - } - $this->lineCount = $this->lineCount + substr_count($answer, PHP_EOL ); - } - } - } - } - } - // do a final run to update the readme file - foreach ($this->newFiles['static'] as $static) - { - if ($this->componentData->addreadme && 'README.md' == $static['name'] && JFile::exists($static['path'])) - { - $this->buildReadMe($static['path']); - break; - } - } - // move the update server to host - if ($this->componentData->add_update_server && isset($this->updateServerFileName) && $this->add2SalesServer) - { - $xml_update_server_path = $this->componentPath.'/'.$this->updateServerFileName.'.xml'; - // make sure we have the correct file - if (JFile::exists($xml_update_server_path) && isset($this->componentData->update_server_ftp)) - { - // Get the basic encription. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - if (!empty($this->componentData->update_server_ftp) && $basickey && !is_numeric($this->componentData->update_server_ftp) && $this->componentData->update_server_ftp === base64_encode(base64_decode($this->componentData->update_server_ftp, true))) - { - // basic decript data update_server_ftp. - $this->componentData->update_server_ftp = rtrim($basic->decryptString($this->componentData->update_server_ftp), "\0"); - } - // now move the file - $this->moveFileToFtpServer($xml_update_server_path,$this->componentData->update_server_ftp); - } - } - return true; - } - return false; - } - - protected function moveFileToFtpServer($localPath, $clientInput, $remote = null, $removeLocal = true) - { - // get the ftp opbject - $ftp = $this->getFTP($clientInput); - // chack if we are conected - if ($ftp instanceof JClientFtp && $ftp->isConnected()) - { - // move the file - if ($ftp->store($localPath,$remote)) - { - // if moved then remove the file from repository - if ($removeLocal) - { - JFile::delete($localPath); - } - } - // at the end close the conection - $ftp->quit(); - } - } - - protected function getFTP($clientInput) - { - $signature = md5($clientInput); - if (isset($this->FTP[$signature]) && $this->FTP[$signature] instanceof JClientFtp) - { - return $this->FTP[$signature]; - } - else - { - // make sure we have a string and it is not default or empty - if (ComponentbuilderHelper::checkString($clientInput)) - { - // turn into vars - parse_str($clientInput); - // set options - if (isset($options) && ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option => $value) - { - if ('timeout' == $option) - { - $options[$option] = (int) $value; - } - if ('type' == $option) - { - $options[$option] = (string) $value; - } - } - } - else - { - $options = array(); - } - // get ftp object - if (isset($host) && $host != 'HOSTNAME' && isset($port) && $port != 'PORT_INT' && isset($username) && $username != 'user@name.com' && isset($password) && $password != 'password') - { - // load for reuse - $this->FTP[$signature] = JClientFtp::getInstance($host, $port, $options, $username, $password); - return $this->FTP[$signature]; - } - } - } - return false; - } - - protected function buildReadMe($path) - { - // setup the unrealistic numbers - $folders = $this->folderCount * 5; - $files = $this->fileCount * 5; - $lines = $this->lineCount * 10; - $seconds = $folders + $files + $lines; - $totalHours = round($seconds / 3600); - $totalDays = round($totalHours / 8); - // setup the more realistic numbers - $debugging = $seconds / 4; - $planning = $seconds / 7; - $mapping = $seconds / 10; - $office = $seconds / 6; - $seconds = $folders + $files + $lines + $debugging + $planning + $mapping + $office; - $actualTotalHours = round($seconds / 3600); - $actualTotalDays = round($actualTotalHours / 8); - $debuggingHours = round($debugging / 3600); - $planningHours = round($planning / 3600); - $mappingHours = round($mapping / 3600); - $officeHours = round($office / 3600); - // the actual time spent - $actualHoursSpent = $actualTotalHours - $totalHours; - $actualDaysSpent = $actualTotalDays - $totalDays; - // calculate the projects actual time frame of completion - $projectWeekTime = round($actualTotalDays / 5,1); - $projectMonthTime = round($actualTotalDays / 24,1); - // set some defaults - $this->fileContentStatic['###LINE_COUNT###'] = $this->lineCount; - $this->fileContentStatic['###FILE_COUNT###'] = $this->fileCount; - $this->fileContentStatic['###FOLDER_COUNT###'] = $this->folderCount; - $this->fileContentStatic['###folders###'] = $folders; - $this->fileContentStatic['###files###'] = $files; - $this->fileContentStatic['###lines###'] = $lines; - $this->fileContentStatic['###seconds###'] = $seconds; - $this->fileContentStatic['###totalHours###'] = $totalHours; - $this->fileContentStatic['###totalDays###'] = $totalDays; - $this->fileContentStatic['###debugging###'] = $debugging; - $this->fileContentStatic['###planning###'] = $planning; - $this->fileContentStatic['###mapping###'] = $mapping; - $this->fileContentStatic['###office###'] = $office; - $this->fileContentStatic['###actualTotalHours###'] = $actualTotalHours; - $this->fileContentStatic['###actualTotalDays###'] = $actualTotalDays; - $this->fileContentStatic['###debuggingHours###'] = $debuggingHours; - $this->fileContentStatic['###planningHours###'] = $planningHours; - $this->fileContentStatic['###mappingHours###'] = $mappingHours; - $this->fileContentStatic['###officeHours###'] = $officeHours; - $this->fileContentStatic['###actualHoursSpent###'] = $actualHoursSpent; - $this->fileContentStatic['###actualDaysSpent###'] = $actualDaysSpent; - $this->fileContentStatic['###projectWeekTime###'] = $projectWeekTime; - $this->fileContentStatic['###projectMonthTime###'] = $projectMonthTime; - // get the file - $string = JFile::read($path); - // update the file - $answer = str_replace(array_keys($this->fileContentStatic),array_values($this->fileContentStatic),$string); - // add to zip array - $this->writeFile($path,$answer); - } - - protected function zipComponent() - { - // before we zip the component we first need to move it to the git folder if set - if (ComponentbuilderHelper::checkString($this->gitPath)) - { - // set the git path - $this->gitPath = $this->gitPath.'/com_'.$this->componentData->sales_name.'__joomla_'.$this->joomlaVersion; - // remove old data - $this->removeFolder($this->gitPath,true); - // set the new data - JFolder::copy($this->componentPath, $this->gitPath, '', true); - } - // the name of the zip file to create - $this->filepath = $this->tempPath.'/'.$this->componentFolderName.'.zip'; - // store the current joomla working directory - $joomla = getcwd(); - - // we are changing the working directory to the componet temp folder - chdir($this->componentPath); - - // the full file path of the zip file - $this->filepath = JPath::clean($this->filepath); - - // delete an existing zip file (or use an exclusion parameter in JFolder::files() - JFile::delete($this->filepath); - - // get a list of files in the current directory tree - $files = JFolder::files('.', '', true, true); - $zipArray = array(); - // setup the zip array - foreach ($files as $file) - { - $tmp = array(); - $tmp['name'] = str_replace('./', '', $file); - $tmp['data'] = JFile::read($file); - $tmp['time'] = filemtime($file); - $zipArray[] = $tmp; - } - - // change back to joomla working directory - chdir($joomla); - - // get the zip adapter - $zip = JArchive::getAdapter('zip'); - - //create the zip file - if ($zip->create($this->filepath, $zipArray)) - { - // now move to backup if zip was made and backup is requered - if ($this->backupPath) - { - JFile::copy($this->filepath, $this->backupPath); - } - // move to sales server host - if ($this->componentData->add_sales_server) - { - // make sure we have the correct file - if (isset($this->componentData->sales_server_ftp)) - { - // Get the basic encription. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - if (!empty($this->componentData->sales_server_ftp) && $basickey && !is_numeric($this->componentData->sales_server_ftp) && $this->componentData->sales_server_ftp === base64_encode(base64_decode($this->componentData->sales_server_ftp, true))) - { - // basic decript data update_server_ftp. - $this->componentData->sales_server_ftp = rtrim($basic->decryptString($this->componentData->sales_server_ftp), "\0"); - } - // now move the file - $this->moveFileToFtpServer($this->filepath, $this->componentData->sales_server_ftp, $this->componentSalesName.'.zip',false); - } - } - // remove the component folder since we are done - if ($this->removeFolder($this->componentPath)) - { - return true; - } - } - return false; - } - - protected function removeFolder($dir, $git = false) - { - if (JFolder::exists($dir)) - { - $it = new RecursiveDirectoryIterator($dir); - $it = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); - foreach ($it as $file) - { - if ('.' === $file->getBasename() || '..' === $file->getBasename()) continue; - if ($file->isDir()) - { - if ($git && strpos($file->getPathname(), $dir.'/.git') !== false) continue; - JFolder::delete($file->getPathname()); - } - else - { - if ($git && strpos($file->getPathname(), $dir.'/.git') !== false) continue; - JFile::delete($file->getPathname()); - } - } - if (!$git && JFolder::delete($dir)) - { - return true; - } - } - return false; - } - - protected function writeFile($path,$data) - { - $fh = fopen($path, "w"); - if (!is_resource($fh)) - { - return false; - } - if (fwrite($fh, $data)) - { - // close file. - fclose($fh); - return true; - } - // close file. - fclose($fh); - return false; - } - - protected function setMethodGetItem($view) - { - $script = ''; - // go from json to array - if(isset($this->jsonItemBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonItemBuilder[$view])) - { - foreach ($this->jsonItemBuilder[$view] as $jsonItem) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$jsonItem."))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Convert the ".$jsonItem." field to an array."; - $script .= "\n\t\t\t\t\$".$jsonItem." = new Registry;"; - $script .= "\n\t\t\t\t\$".$jsonItem."->loadString(\$item->".$jsonItem.");"; - $script .= "\n\t\t\t\t\$item->".$jsonItem." = \$".$jsonItem."->toArray();"; - $script .= "\n\t\t\t}"; - } - } - // go from json to string - if (isset($this->jsonStringBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonStringBuilder[$view])) - { - $makeArray = ''; - foreach ($this->jsonStringBuilder[$view] as $jsonString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$jsonString."))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." JSON Decode ".$jsonString."."; - if (strpos($jsonString, 'group') !== false) - { - $makeArray = ',true'; - } - $script .= "\n\t\t\t\t\$item->".$jsonString." = json_decode(\$item->".$jsonString.$makeArray.");"; - $script .= "\n\t\t\t}"; - } - } - // go from base64 to string - if (isset($this->base64Builder[$view]) && ComponentbuilderHelper::checkArray($this->base64Builder[$view])) - { - foreach ($this->base64Builder[$view] as $baseString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$baseString."))"; // TODO && base64_encode(base64_decode(\$item->".$baseString.", true)) === \$item->".$baseString.")"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." base64 Decode ".$baseString."."; - $script .= "\n\t\t\t\t\$item->".$baseString." = base64_decode(\$item->".$baseString.");"; - $script .= "\n\t\t\t}"; - } - } - // decryption - if ((isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) || (isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view]))) - { - $Component = $this->fileContentStatic['###Component###']; - if (isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get the basic encription."; - $script .= "\n\t\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - foreach ($this->basicEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$baseString.") && \$basickey && !is_numeric(\$item->".$baseString.") && \$item->".$baseString." === base64_encode(base64_decode(\$item->".$baseString.", true)))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." basic decript data ".$baseString."."; - $script .= "\n\t\t\t\t\$item->".$baseString." = rtrim(\$basic->decryptString(\$item->".$baseString."), ".'"\0"'.");"; - $script .= "\n\t\t\t}"; - } - } - if (isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get the advanced encription key."; - $script .= "\n\t\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - foreach ($this->advancedEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t\tif (!empty(\$item->".$baseString.") && \$advancedkey && !is_numeric(\$item->".$baseString.") && \$item->".$baseString." === base64_encode(base64_decode(\$item->".$baseString.", true)))"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." advanced decript data ".$baseString."."; - $script .= "\n\t\t\t\t\$item->".$baseString." = rtrim(\$advanced->decryptString(\$item->".$baseString."), ".'"\0"'.");"; - $script .= "\n\t\t\t}"; - } - } - } - - // add custom php to getitem method - if (isset($this->customScriptBuilder['php_getitem'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getitem'][$view])) - { - $script .= "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getitem'][$view]); - } - - return $script; - } - - protected function setCheckboxSave($view) - { - $script = ''; - if(isset($this->checkboxBuilder[$view]) && ComponentbuilderHelper::checkArray($this->checkboxBuilder[$view])) - { - foreach ($this->checkboxBuilder[$view] as $checkbox) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the empty ".$checkbox." item to data"; - $script .= "\n\t\tif (!isset(\$data['".$checkbox."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$checkbox."'] = '';"; - $script .= "\n\t\t}"; - } - } - return $script; - } - - protected function setMethodItemSave($view) - { - $script = ''; - // turn array into JSON string - if(isset($this->jsonItemBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonItemBuilder[$view])) - { - foreach ($this->jsonItemBuilder[$view] as $jsonItem) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the ".$jsonItem." items to data."; - $script .= "\n\t\tif (isset(\$data['".$jsonItem."']) && is_array(\$data['".$jsonItem."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$".$jsonItem." = new JRegistry;"; - $script .= "\n\t\t\t\$".$jsonItem."->loadArray(\$data['".$jsonItem."']);"; - $script .= "\n\t\t\t\$data['".$jsonItem."'] = (string) \$".$jsonItem.";"; - $script .= "\n\t\t}"; - $script .= "\n\t\telseif (!isset(\$data['".$jsonItem."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Set the empty ".$jsonItem." to data"; - $script .= "\n\t\t\t\$data['".$jsonItem."'] = '';"; - $script .= "\n\t\t}"; - } - } - // turn string into json string - if(isset($this->jsonStringBuilder[$view]) && ComponentbuilderHelper::checkArray($this->jsonStringBuilder[$view])) - { - foreach ($this->jsonStringBuilder[$view] as $jsonString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the ".$jsonString." string to JSON string."; - $script .= "\n\t\tif (isset(\$data['".$jsonString."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$jsonString."'] = (string) json_encode(\$data['".$jsonString."']);"; - $script .= "\n\t\t}"; - } - } - // turn string into base 64 string - if(isset($this->base64Builder[$view]) && ComponentbuilderHelper::checkArray($this->base64Builder[$view])) - { - foreach ($this->base64Builder[$view] as $baseString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Set the ".$baseString." string to base64 string."; - $script .= "\n\t\tif (isset(\$data['".$baseString."']))"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$baseString."'] = base64_encode(\$data['".$baseString."']);"; - $script .= "\n\t\t}"; - } - } - // turn string into encrypted string - if((isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) || (isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view]))) - { - $Component = $this->fileContentStatic['###Component###']; - if(isset($this->basicEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->basicEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the basic encription key."; - $script .= "\n\t\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object"; - $script .= "\n\t\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - foreach ($this->basicEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Encript data ".$baseString."."; - $script .= "\n\t\tif (isset(\$data['".$baseString."']) && \$basickey)"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$baseString."'] = \$basic->encryptString(\$data['".$baseString."']);"; - $script .= "\n\t\t}"; - } - } - if(isset($this->advancedEncryptionBuilder[$view]) && ComponentbuilderHelper::checkArray($this->advancedEncryptionBuilder[$view])) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get the advanced encription key."; - $script .= "\n\t\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get the encription object"; - $script .= "\n\t\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - foreach ($this->advancedEncryptionBuilder[$view] as $baseString) - { - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Encript data ".$baseString."."; - $script .= "\n\t\tif (isset(\$data['".$baseString."']) && \$advancedkey)"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t\$data['".$baseString."'] = \$advanced->encryptString(\$data['".$baseString."']);"; - $script .= "\n\t\t}"; - } - } - } - // add custom PHP to the save method - if(isset($this->customScriptBuilder['php_save'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_save'][$view])) - { - $script .= "\n\n" . str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_save'][$view]); - } - return $script; - } - - protected function setJmodelAdminBeforeDelete($view) - { - // add custom PHP to the delete Method - if(isset($this->customScriptBuilder['php_before_delete'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_before_delete'][$view])) - { - return "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_before_delete'][$view]); - } - return ""; - } - - protected function setJmodelAdminAfterDelete($view) - { - // add custom PHP to the delete Method - if(isset($this->customScriptBuilder['php_after_delete'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_after_delete'][$view])) - { - return "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_after_delete'][$view]); - } - return ""; - } - - protected function setPostSaveHook($view) - { - // add custom PHP to the post save hook Method - if(isset($this->customScriptBuilder['php_postsavehook'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_postsavehook'][$view])) - { - return "\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_postsavehook'][$view])."\n\n\t\treturn;"; - } - return "\n\t\treturn;"; - - } - - protected function setJtableConstructor($view) - { - // reset - $oserver = ""; - // set component name - $component = $this->fileContentStatic['###component###']; - // add the tags observer - if (isset($this->tagsBuilder[$view]) && ComponentbuilderHelper::checkString($this->tagsBuilder[$view])) - { - $oserver .= "\n\n\t\t//".$this->setLine(__LINE__)." Adding Tag Options"; - $oserver .= "\n\t\tJTableObserverTags::createObserver(\$this, array('typeAlias' => 'com_".$component.".".$view."'));"; - } - // add the history/version observer - if (isset($this->historyBuilder[$view]) && ComponentbuilderHelper::checkString($this->historyBuilder[$view])) - { - $oserver .= "\n\n\t\t//".$this->setLine(__LINE__)." Adding History Options"; - $oserver .= "\n\t\tJTableObserverContenthistory::createObserver(\$this, array('typeAlias' => 'com_".$component.".".$view."'));"; - } - return $oserver; - } - - protected function setJtableAliasCategory($view) - { - // only add Observers if both title, alias and category is availabe in view - if (array_key_exists($view, $this->catCodeBuilder)) - { - $code = $this->catCodeBuilder[$view]['code']; - return ", '".$code."' => \$this->".$code; - } - return ''; - } - - protected function setUninstallScript() - { - // reset script - $script = ''; - if (isset($this->uninstallScriptBuilder) && ComponentbuilderHelper::checkArray($this->uninstallScriptBuilder)) - { - $component = $this->fileContentStatic['###component###']; - // start loading the data to delet - $script .= "\n\t\t//".$this->setLine(__LINE__)." Get Application object"; - $script .= "\n\t\t\$app = JFactory::getApplication();"; - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Get The Database object"; - $script .= "\n\t\t\$db = JFactory::getDbo();"; - - foreach ($this->uninstallScriptBuilder as $viewName => $typeAlias) - { - // set a var value - $view = ComponentbuilderHelper::safeString($viewName); - - // First check if data is till in table - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Select id from content type table"; - $script .= "\n\t\t\$query->select(\$db->quoteName('type_id'));"; - $script .= "\n\t\t\$query->from(\$db->quoteName('#__content_types'));"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Where ".$viewName." alias is found"; - $script .= "\n\t\t\$query->where( \$db->quoteName('type_alias') . ' = '. \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Execute query to see if alias is found"; - $script .= "\n\t\t\$db->execute();"; - $script .= "\n\t\t\$".$view."_found = \$db->getNumRows();"; - $script .= "\n\t\t//".$this->setLine(__LINE__)." Now check if there were any rows"; - $script .= "\n\t\tif (\$".$view."_found)"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Since there are load the needed ".$view." type ids"; - $script .= "\n\t\t\t\$".$view."_ids = \$db->loadColumn();"; - - // Now remove the actual type entry - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." from the content type table"; - $script .= "\n\t\t\t\$".$view."_condition = array( \$db->quoteName('type_alias') . ' = '. \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->delete(\$db->quoteName('#__content_types'));"; - $script .= "\n\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\t\tif (\$".$view."_done);"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$viewName." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\t\$app->enqueueMessage(JText::_('The (".$typeAlias.") type alias was removed from the <b>#__content_type</b> table'));"; - $script .= "\n\t\t\t}"; - - // Now remove the related items from contentitem tag map table - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the contentitem tag map table"; - $script .= "\n\t\t\t\$".$view."_condition = array( \$db->quoteName('type_alias') . ' = '. \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->delete(\$db->quoteName('#__contentitem_tag_map'));"; - $script .= "\n\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\t\tif (\$".$view."_done);"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$viewName." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\t\$app->enqueueMessage(JText::_('The (".$typeAlias.") type alias was removed from the <b>#__contentitem_tag_map</b> table'));"; - $script .= "\n\t\t\t}"; - - // Now remove the related items from ucm content table - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the ucm content table"; - $script .= "\n\t\t\t\$".$view."_condition = array( \$db->quoteName('core_type_alias') . ' = ' . \$db->quote('".$typeAlias."') );"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->delete(\$db->quoteName('#__ucm_content'));"; - $script .= "\n\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\t\tif (\$".$view."_done);"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$viewName." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\t\$app->enqueueMessage(JText::_('The (".$typeAlias.") type alias was removed from the <b>#__ucm_content</b> table'));"; - $script .= "\n\t\t\t}"; - - // setup the foreach loop of ids - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Make sure that all the ".$viewName." items are cleared from DB"; - $script .= "\n\t\t\tforeach (\$".$view."_ids as \$".$view."_id)"; - $script .= "\n\t\t\t{"; - - // Now remove the related items from ucm base table - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the ucm base table"; - $script .= "\n\t\t\t\t\$".$view."_condition = array( \$db->quoteName('ucm_type_id') . ' = ' . \$".$view."_id);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\t\$query->delete(\$db->quoteName('#__ucm_base'));"; - $script .= "\n\t\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\t\$db->execute();"; - - // Now remove the related items from ucm history table - $script .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Remove ".$viewName." items from the ucm history table"; - $script .= "\n\t\t\t\t\$".$view."_condition = array( \$db->quoteName('ucm_type_id') . ' = ' . \$".$view."_id);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\t\$query->delete(\$db->quoteName('#__ucm_history'));"; - $script .= "\n\t\t\t\t\$query->where(\$".$view."_condition);"; - $script .= "\n\t\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Execute the query to remove ".$viewName." items"; - $script .= "\n\t\t\t\t\$db->execute();"; - - $script .= "\n\t\t\t}"; - - $script .= "\n\t\t}"; - } - - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." If All related items was removed queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\$app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_base</b> table'));"; - $script .= "\n\t\t\$app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_history</b> table'));"; - // finaly remove the assets from the assets table - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Remove ".$component." assets from the assets table"; - $script .= "\n\t\t\$".$component."_condition = array( \$db->quoteName('name') . ' LIKE ' . \$db->quote('com_".$component."%') );"; - $script .= "\n\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $script .= "\n\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\$query->delete(\$db->quoteName('#__assets'));"; - $script .= "\n\t\t\$query->where(\$".$component."_condition);"; - $script .= "\n\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\$".$view."_done = \$db->execute();"; - $script .= "\n\t\tif (\$".$view."_done);"; - $script .= "\n\t\t{"; - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." If succesfully remove ".$component." add queued success message."; - // TODO lang is not translated - $script .= "\n\t\t\t\$app->enqueueMessage(JText::_('All related items was removed from the <b>#__assets</b> table'));"; - $script .= "\n\t\t}"; - // done - $script .= "\n"; - - } - return $script; - } - - protected function setComponentToContentTypes($action) - { - $script = ''; - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - // set component name - $component = $this->fileContentStatic['###component###']; - // reset - $dbStuff = array(); - // start loading the content type data - foreach ($this->componentData->admin_views as $viewData) - { - // set main keys - $view = ComponentbuilderHelper::safeString($viewData['settings']->name_single); - // set list view keys - $views = ComponentbuilderHelper::safeString($viewData['settings']->name_list); - // get this views content type data - $dbStuff[$view] = $this->getContentType($view, $component); - // get the correct views name - $checkViews = (isset($this->catCodeBuilder[$view]['views']) && ComponentbuilderHelper::checkString($this->catCodeBuilder[$view]['views'])) ? $this->catCodeBuilder[$view]['views'] : $views; - if (ComponentbuilderHelper::checkArray($dbStuff[$view]) && array_key_exists($view, $this->catCodeBuilder) && ($checkViews == $views)) - { - $dbStuff[$view.' catagory'] = $this->getCategoryContentType($view, $views, $component); - } - elseif(!isset($dbStuff[$view]) || !ComponentbuilderHelper::checkArray($dbStuff[$view])) - { - // remove if not array - unset($dbStuff[$view]); - } - - } - // build the db insert query - if (ComponentbuilderHelper::checkArray($dbStuff)) - { - $taabb = ''; - if ($action == 'update') - { - $taabb = "\t"; - } - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get The Database object"; - $script .= "\n\t\t\t\$db = JFactory::getDbo();"; - foreach ($dbStuff as $name => $tables) - { - if (ComponentbuilderHelper::checkArray($tables)) - { - $code = ComponentbuilderHelper::safeString($name); - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Create the ".$name." content type object."; - $script .= "\n\t\t\t\$".$code." = new stdClass();"; - foreach ($tables as $table => $data) - { - $script .= "\n\t\t\t\$".$code."->".$table." = '".$data."';"; - } - if ($action == 'update') - { - // we first load script to check if data exist - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Check if ".$name." type is already in content_type DB."; - $script .= "\n\t\t\t\$".$code."_id = null;"; - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\t\t\t\$query->select(\$db->quoteName(array('type_id')));"; - $script .= "\n\t\t\t\$query->from(\$db->quoteName('#__content_types'));"; - $script .= "\n\t\t\t\$query->where(\$db->quoteName('type_alias') . ' LIKE '. \$db->quote($".$code."->type_alias));"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\$db->execute();"; - } - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Set the object into the content types table."; - if ($action == 'update') - { - $script .= "\n\t\t\tif (\$db->getNumRows())"; - $script .= "\n\t\t\t{"; - $script .= "\n\t\t\t\t\$".$code."->type_id = \$db->loadResult();"; - $script .= "\n\t\t\t\t\$".$code."_Updated = \$db->updateObject('#__content_types', \$".$code.", 'type_id');"; - $script .= "\n\t\t\t}"; - $script .= "\n\t\t\telse"; - $script .= "\n\t\t\t{"; - } - $script .= "\n\t\t\t".$taabb."\$".$code."_Inserted = \$db->insertObject('#__content_types', \$".$code.");"; - if ($action == 'update') - { - $script .= "\n\t\t\t}"; - } - } - } - $script .= "\n\n"; - } - } - return $script; - } - - protected function setInstallScript() - { - // reset script - $script = $this->setComponentToContentTypes('install'); - - if (isset($this->paramsBuilder) && ComponentbuilderHelper::checkString($this->paramsBuilder)) - { - if (ComponentbuilderHelper::checkString($script)) - { - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Install the global extenstion params."; - } - else - { - $script .= "\n\t\t\t//".$this->setLine(__LINE__)." Install the global extenstion params."; - $script .= "\n\t\t\t\$db = JFactory::getDbo();"; - } - $script .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Field to update."; - $script .= "\n\t\t\t\$fields = array("; - $script .= "\n\t\t\t\t\$db->quoteName('params') . ' = ' . \$db->quote('{".$this->paramsBuilder."}'),"; - $script .= "\n\t\t\t);"; - $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Condition."; - $script .= "\n\t\t\t\$conditions = array("; - $script .= "\n\t\t\t\t\$db->quoteName('element') . ' = ' . \$db->quote('com_".$component."')"; - $script .= "\n\t\t\t);"; - $script .= "\n\n\t\t\t\$query->update(\$db->quoteName('#__extensions'))->set(\$fields)->where(\$conditions);"; - $script .= "\n\t\t\t\$db->setQuery(\$query);"; - $script .= "\n\t\t\t\$allDone = \$db->execute();"; - } - - if (ComponentbuilderHelper::checkString($script)) - { - $script .= "\n\t\t\t".'echo \'<a target="_blank" href="'.$this->fileContentStatic['###AUTHORWEBSITE###'].'" title="'.$this->fileContentStatic['###Component_name###'].'">'; - $script .= "\n\t\t\t\t".'<img src="components/com_'.$component.'/assets/images/component-300.'.$this->componentImageType.'"/>'; - $script .= "\n\t\t\t\t".'</a>\';'; - - return $script; - } - return "\n\t\t\t//".$this->setLine(__LINE__)." noting to install."; - } - - protected function setUpdateScript() - { - // reset script - $script = $this->setComponentToContentTypes('update'); - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $script .= "\n\t\t\t".'echo \'<a target="_blank" href="'.$this->fileContentStatic['###AUTHORWEBSITE###'].'" title="'.$this->fileContentStatic['###Component_name###'].'">'; - $script .= "\n\t\t\t\t".'<img src="components/com_'.$this->fileContentStatic['###component###'].'/assets/images/component-300.'.$this->componentImageType.'"/>'; - $script .= "\n\t\t\t\t".'</a>'; - $script .= "\n\t\t\t\t<h3>Upgrade to Version ".$this->fileContentStatic['###VERSION###']." Was Successful! Let us know if anything is not working as expected.</h3>';"; - } - - if (ComponentbuilderHelper::checkString($script)) - { - return $script; - } - return "\n\t\t\t//".$this->setLine(__LINE__)." noting to update."; - } - - protected function getContentType($view, $component) - { - // add if history is to be kept or if tags is added - if ((isset($this->historyBuilder[$view]) && ComponentbuilderHelper::checkString($this->historyBuilder[$view])) || (isset($this->tagsBuilder[$view]) && ComponentbuilderHelper::checkString($this->tagsBuilder[$view]))) - { - // reset array - $array = array(); - // set needed defaults - $alias = (array_key_exists($view, $this->aliasBuilder)) ? $this->aliasBuilder[$view] : 'null'; - $title = (array_key_exists($view, $this->titleBuilder)) ? $this->titleBuilder[$view] : 'null'; - $category = (array_key_exists($view, $this->catCodeBuilder)) ? $this->catCodeBuilder[$view]['code'] : 'null'; - $categoryHistory = (array_key_exists($view, $this->catCodeBuilder)) ? - '{"sourceColumn": "'.$category.'","targetTable": "#__categories","targetColumn": "id","displayColumn": "title"},': ''; - $Component = ComponentbuilderHelper::safeString($component, 'F'); - $View = ComponentbuilderHelper::safeString($view, 'F'); - $maintext = (isset($this->maintextBuilder[$view]) && ComponentbuilderHelper::checkString($this->maintextBuilder[$view])) ? $this->maintextBuilder[$view] : 'null'; - $hiddenFields = (isset($this->hiddenFieldsBuilder[$view]) && ComponentbuilderHelper::checkString($this->hiddenFieldsBuilder[$view])) ? $this->hiddenFieldsBuilder[$view]: ''; - $dynamicfields = (isset($this->dynamicfieldsBuilder[$view]) && ComponentbuilderHelper::checkString($this->dynamicfieldsBuilder[$view])) ? $this->dynamicfieldsBuilder[$view] : ''; - $intFields = (isset($this->intFieldsBuilder[$view]) && ComponentbuilderHelper::checkString($this->intFieldsBuilder[$view])) ? $this->intFieldsBuilder[$view] : ''; - $customfieldlinks = (isset($this->customFieldLinksBuilder[$view]) && ComponentbuilderHelper::checkString($this->customFieldLinksBuilder[$view])) ? $this->customFieldLinksBuilder[$view] : ''; - // build uninstall script for content types - $this->uninstallScriptBuilder[$View] = 'com_'.$component.'.'.$view; - // check if this view has metadata - if (isset($this->metadataBuilder[$view]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$view])) - { - $core_metadata = 'metadata'; - $core_metakey = 'metakey'; - $core_metadesc = 'metadesc'; - } - else - { - $core_metadata = 'null'; - $core_metakey = 'null'; - $core_metadesc = 'null'; - } - // check if view has access - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $core_access = 'access'; - $accessHistory = ',{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"}'; - } - else - { - $core_access = 'null'; - $accessHistory = ''; - } - // set the title - $array['type_title'] = $Component.' '.$View; - // set the alias - $array['type_alias'] = 'com_'.$component.'.'.$view; - // set the table - $array['table'] = '{"special": {"dbtable": "#__'.$component.'_'.$view.'","key": "id","type": "'.$View.'","prefix": "'.$component.'Table","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - // set field map - $array['field_mappings'] = '{"common": {"core_content_item_id": "id","core_title": "'.$title.'","core_state": "published","core_alias": "'.$alias.'","core_created_time": "created","core_modified_time": "modified","core_body": "'.$maintext.'","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "'.$core_access.'","core_params": "params","core_featured": "null","core_metadata": "'.$core_metadata.'","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "'.$core_metakey.'","core_metadesc": "'.$core_metadesc.'","core_catid": "'.$category.'","core_xreference": "null","asset_id": "asset_id"},"special": {'.$dynamicfields.'}}'; - // set the router class method - $array['router'] = $Component.'HelperRoute::get'.$View.'Route'; - // set content history - $array['content_history_options'] = '{"formFile": "administrator/components/com_'.$component.'/models/forms/'.$view.'.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"'.$hiddenFields.'],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering"'.$intFields.'],"displayLookup": ['.$categoryHistory.'{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}'.$accessHistory.',{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}'.$customfieldlinks.']}'; - - return $array; - } - return false; - } - - protected function getCategoryContentType($view, $views, $component) - { - $category = $this->catCodeBuilder[$view]['code']; - $Component = ComponentbuilderHelper::safeString($component, 'F'); - $View = ComponentbuilderHelper::safeString($view, 'F'); - // build uninstall script for content types - $this->uninstallScriptBuilder[$View.' '.$category] = 'com_'.$component.'.'.$views.'.category'; - // set the title - $array['type_title'] = $Component.' '.$View.' '.ComponentbuilderHelper::safeString($category, 'F'); - // set the alias - $array['type_alias'] = 'com_'.$component.'.'.$views.'.category'; - // set the table - $array['table'] = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}'; - // set field map - $array['field_mappings'] = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special":{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}'; - // set the router class method - $array['router'] = $Component.'HelperRoute::getCategoryRoute'; - // set content history - $array['content_history_options'] = '{"formFile":"administrator\/components\/com_categories\/models\/forms\/category.xml", "hideFields":["asset_id","checked_out","checked_out_time","version","lft","rgt","level","path","extension"], "ignoreChanges":["modified_user_id", "modified_time", "checked_out", "checked_out_time", "version", "hits", "path"],"convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"created_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"access","targetTable":"#__viewlevels","targetColumn":"id","displayColumn":"title"},{"sourceColumn":"modified_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"parent_id","targetTable":"#__categories","targetColumn":"id","displayColumn":"title"}]}'; - - return $array; - } - - protected function setRouterHelp($viewName_single, $viewName_list, $front = false) - { - // add if tags is added, also for all front item views - if (((isset($this->tagsBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->tagsBuilder[$viewName_single])) || $front) && (!in_array($viewName_single,$this->setRouterHelpDone))) - { - // insure we load a view only once - $this->setRouterHelpDone[] = $viewName_single; - // build view route helper - $View = ComponentbuilderHelper::safeString($viewName_single, 'F'); - $routeHelper = array(); - $routeHelper[] = "\n\n\t/**"; - $routeHelper[] = "\t* @param int The route of the ".$View; - $routeHelper[] = "\t*/"; - if ('category' == $viewName_single || 'categories' == $viewName_single) - { - $routeHelper[] = "\tpublic static function get".$View."Route(\$id = 0)"; - } - else - { - $routeHelper[] = "\tpublic static function get".$View."Route(\$id = 0, \$catid = 0)"; - } - $routeHelper[] = "\t{"; - $routeHelper[] = "\t\tif (\$id > 0)"; - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)." Initialize the needel array."; - $routeHelper[] = "\t\t\t\$needles = array("; - $routeHelper[] = "\t\t\t\t'".$viewName_single."' => array((int) \$id)"; - $routeHelper[] = "\t\t\t);"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)." Create the link"; - $routeHelper[] = "\t\t\t\$link = 'index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_single."&id='. \$id;"; - $routeHelper[] = "\t\t}"; - $routeHelper[] = "\t\telse"; - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)." Initialize the needel array."; - $routeHelper[] = "\t\t\t\$needles = array();"; - $routeHelper[] = "\t\t\t//".$this->setLine(__LINE__)."Create the link but don't add the id."; - $routeHelper[] = "\t\t\t\$link = 'index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_single."';"; - $routeHelper[] = "\t\t}"; - if ('category' != $viewName_single && 'categories' != $viewName_single) - { - $routeHelper[] = "\t\tif (\$catid > 1)"; - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t\$categories = JCategories::getInstance('".$this->fileContentStatic['###component###'].".".$viewName_list."');"; - $routeHelper[] = "\t\t\t\$category = \$categories->get(\$catid);"; - $routeHelper[] = "\t\t\tif (\$category)"; - $routeHelper[] = "\t\t\t{"; - $routeHelper[] = "\t\t\t\t\$needles['category'] = array_reverse(\$category->getPath());"; - $routeHelper[] = "\t\t\t\t\$needles['categories'] = \$needles['category'];"; - $routeHelper[] = "\t\t\t\t\$link .= '&catid='.\$catid;"; - $routeHelper[] = "\t\t\t}"; - $routeHelper[] = "\t\t}"; - } - if (isset($this->hasMenuGlobal[$viewName_single])) - { - $routeHelper[] = "\n\t\tif (\$item = self::_findItem(\$needles, '".$viewName_single."'))"; - } - else - { - $routeHelper[] = "\n\t\tif (\$item = self::_findItem(\$needles))"; - } - $routeHelper[] = "\t\t{"; - $routeHelper[] = "\t\t\t\$link .= '&Itemid='.\$item;"; - $routeHelper[] = "\t\t}"; - $routeHelper[] = "\n\t\treturn \$link;"; - $routeHelper[] = "\t}"; - - return implode("\n",$routeHelper); - } - return ''; - } - - protected function routerParseSwitch($view) - { - // add if tags is added, also for all front item views - if (1) - { - // build view route switch - $routerSwitch = array(); - - $routerSwitch[] = "\n\t\t\tcase '".$view."':"; - $routerSwitch[] = "\t\t\t\t\$vars['view'] = '".$view."';"; - $routerSwitch[] = "\t\t\t\tif (is_numeric(\$segments[\$count-1]))"; - $routerSwitch[] = "\t\t\t\t{"; - $routerSwitch[] = "\t\t\t\t\t\$vars['id'] = (int) \$segments[\$count-1];"; - $routerSwitch[] = "\t\t\t\t}"; - $routerSwitch[] = "\t\t\t\telse"; - $routerSwitch[] = "\t\t\t\t{"; - $routerSwitch[] = "\t\t\t\t\t\$id = \$this->getVar('".$view."', \$segments[\$count-1], 'alias', 'id');"; - $routerSwitch[] = "\t\t\t\t\tif(\$id)"; - $routerSwitch[] = "\t\t\t\t\t{"; - $routerSwitch[] = "\t\t\t\t\t\t\$vars['id'] = \$id;"; - $routerSwitch[] = "\t\t\t\t\t}"; - $routerSwitch[] = "\t\t\t\t}"; - $routerSwitch[] = "\t\t\t\tbreak;"; - - return implode("\n",$routerSwitch); - } - elseif (0) - { - // build view route switch - $routerSwitch = array(); - - $routerSwitch[] = "\n\t\t\tcase '".$view."':"; - $routerSwitch[] = "\t\t\t\t\$vars['view'] = '".$view."';"; - $routerSwitch[] = "\t\t\t\tbreak;"; - - return implode("\n",$routerSwitch); - } - return ''; - } - - protected function routerBuildViews($view) - { - if (isset($this->fileContentStatic['###ROUTER_BUILD_VIEWS###']) && ComponentbuilderHelper::checkString($this->fileContentStatic['###ROUTER_BUILD_VIEWS###'])) - { - return " || \$view == '".$view."'"; - } - else - { - return "\$view == '".$view."'"; - } - } - - protected function setBatchMove($viewName_single) - { - // set needed defaults - $title = false; - $alias = false; - $category = false; - $batchmove = array(); - $VIEW = ComponentbuilderHelper::safeString($viewName_single, 'U'); - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // only load category if set in this view - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $category = $this->catCodeBuilder[$viewName_single]['code']; - } - // only load alias if set in this view - if (array_key_exists($viewName_single, $this->aliasBuilder)) - { - $alias = $this->aliasBuilder[$viewName_single]; - } - // only load title if set in this view - if (array_key_exists($viewName_single, $this->titleBuilder)) - { - $title = $this->titleBuilder[$viewName_single]; - } - // prepare custom script - if (isset($this->customScriptBuilder['php_batchmove'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_batchmove'][$viewName_single])) - { - $customScript = "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_batchmove'][$viewName_single]); - } - else - { - $customScript = ''; - } - - $batchmove[] = "\n\t/**"; - $batchmove[] = "\t * Batch move items to a new category"; - $batchmove[] = "\t *"; - $batchmove[] = "\t * @param integer \$value The new category ID."; - $batchmove[] = "\t * @param array \$pks An array of row IDs."; - $batchmove[] = "\t * @param array \$contexts An array of item contexts."; - $batchmove[] = "\t *"; - $batchmove[] = "\t * @return boolean True if successful, false otherwise and internal error is set."; - $batchmove[] = "\t *"; - $batchmove[] = "\t * @since\t12.2"; - $batchmove[] = "\t */"; - $batchmove[] = "\tprotected function batchMove(\$values, \$pks, \$contexts)"; - $batchmove[] = "\t{"; - $batchmove[] = "\t\tif (empty(\$this->batchSet))"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\t//".$this->setLine(__LINE__)." Set some needed variables."; - $batchmove[] = "\t\t\t\$this->user = JFactory::getUser();"; - $batchmove[] = "\t\t\t\$this->table = \$this->getTable();"; - $batchmove[] = "\t\t\t\$this->tableClassName = get_class(\$this->table);"; - $batchmove[] = "\t\t\t\$this->contentType = new JUcmType;"; - $batchmove[] = "\t\t\t\$this->type = \$this->contentType->getTypeByTable(\$this->tableClassName);"; - $batchmove[] = "\t\t\t\$this->canDo = ".$Helper."::getActions('".$viewName_single."');"; - $batchmove[] = "\t\t}"; - - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $batchmove[] = "\n\t\tif (!\$this->canDo->get('".$core['core.edit']."') && !\$this->canDo->get('".$core['core.batch']."'))"; - } - else - { - $batchmove[] = "\n\t\tif (!\$this->canDo->get('core.edit') && !\$this->canDo->get('core.batch'))"; - } - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\t\$this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT'));"; - $batchmove[] = "\t\t\treturn false;"; - $batchmove[] = "\t\t}".$customScript; - - $batchmove[] = "\n\t\t//".$this->setLine(__LINE__)." make sure published only updates if user has the permission."; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $batchmove[] = "\t\tif (isset(\$values['published']) && !\$this->canDo->get('".$core['core.edit.state']."'))"; - } - else - { - $batchmove[] = "\t\tif (isset(\$values['published']) && !\$this->canDo->get('core.edit.state'))"; - } - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\tunset(\$values['published']);"; - $batchmove[] = "\t\t}"; - - $batchmove[] = "\t\t//".$this->setLine(__LINE__)." remove move_copy from array"; - $batchmove[] = "\t\tunset(\$values['move_copy']);"; - - if ($category) - { - $batchmove[] = "\n\t\tif (isset(\$values['category']) && (int) \$values['category'] > 0 && !static::checkCategoryId(\$values['category']))"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\treturn false;"; - $batchmove[] = "\t\t}"; - $batchmove[] = "\t\telseif (isset(\$values['category']) && (int) \$values['category'] > 0)"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\t//".$this->setLine(__LINE__)." move the category value to correct field name"; - $batchmove[] = "\t\t\t\$values['".$category."'] = \$values['category'];"; - $batchmove[] = "\t\t\tunset(\$values['category']);"; - $batchmove[] = "\t\t}"; - $batchmove[] = "\t\telseif (isset(\$values['category']))"; - $batchmove[] = "\t\t{"; - $batchmove[] = "\t\t\tunset(\$values['category']);"; - $batchmove[] = "\t\t}\n"; - } - - $batchmove[] = "\n\t\t//".$this->setLine(__LINE__)." Parent exists so we proceed"; - $batchmove[] = "\t\tforeach (\$pks as \$pk)"; - $batchmove[] = "\t\t{"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $batchmove[] = "\t\t\tif (!\$this->user->authorise('".$core['core.edit']."', \$contexts[\$pk]))"; - } - else - { - $batchmove[] = "\t\t\tif (!\$this->user->authorise('core.edit', \$contexts[\$pk]))"; - } - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT'));"; - - $batchmove[] = "\n\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check that the row actually exists"; - $batchmove[] = "\t\t\tif (!\$this->table->load(\$pk))"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\tif (\$error = \$this->table->getError())"; - $batchmove[] = "\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Fatal error"; - $batchmove[] = "\t\t\t\t\t\$this->setError(\$error);"; - - $batchmove[] = "\n\t\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t\t}"; - $batchmove[] = "\t\t\t\telse"; - $batchmove[] = "\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Not fatal error"; - $batchmove[] = "\t\t\t\t\t\$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', \$pk));"; - $batchmove[] = "\t\t\t\t\tcontinue;"; - $batchmove[] = "\t\t\t\t}"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." insert all set values."; - $batchmove[] = "\t\t\tif (".$Helper."::checkArray(\$values))"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\tforeach (\$values as \$key => \$value)"; - $batchmove[] = "\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Do special action for access."; - $batchmove[] = "\t\t\t\t\tif ('access' == \$key && strlen(\$value) > 0)"; - $batchmove[] = "\t\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;"; - $batchmove[] = "\t\t\t\t\t}"; - $batchmove[] = "\t\t\t\t\telseif (strlen(\$value) > 0 && isset(\$this->table->\$key))"; - $batchmove[] = "\t\t\t\t\t{"; - $batchmove[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;"; - $batchmove[] = "\t\t\t\t\t}"; - $batchmove[] = "\t\t\t\t}"; - $batchmove[] = "\t\t\t}\n"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check the row."; - $batchmove[] = "\t\t\tif (!\$this->table->check())"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchmove[] = "\n\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\tif (!empty(\$this->type))"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->createTagsHelper(\$this->tagsObserver, \$this->type, \$pk, \$this->typeAlias, \$this->table);"; - $batchmove[] = "\t\t\t}"; - - $batchmove[] = "\n\t\t\t//".$this->setLine(__LINE__)." Store the row."; - $batchmove[] = "\t\t\tif (!\$this->table->store())"; - $batchmove[] = "\t\t\t{"; - $batchmove[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchmove[] = "\n\t\t\t\treturn false;"; - $batchmove[] = "\t\t\t}"; - $batchmove[] = "\t\t}"; - - $batchmove[] = "\n\t\t//".$this->setLine(__LINE__)." Clean the cache"; - $batchmove[] = "\t\t\$this->cleanCache();"; - - $batchmove[] = "\n\t\treturn true;"; - $batchmove[] = "\t}"; - - return "\n".implode("\n",$batchmove); - } - - protected function setBatchCopy($viewName_single) - { - // set needed defaults - $title = false; - $alias = false; - $category = false; - $batchcopy = array(); - $VIEW = ComponentbuilderHelper::safeString($viewName_single, 'U'); - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // only load category if set in this view - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $category = $this->catCodeBuilder[$viewName_single]['code']; - } - - // only load alias if set in this view - if (array_key_exists($viewName_single, $this->aliasBuilder)) - { - $alias = $this->aliasBuilder[$viewName_single]; - } - // only load title if set in this view - if (array_key_exists($viewName_single, $this->titleBuilder)) - { - $title = $this->titleBuilder[$viewName_single]; - } - // prepare custom script - if (isset($this->customScriptBuilder['php_batchcopy'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_batchcopy'][$viewName_single])) - { - $customScript = "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_batchcopy'][$viewName_single]); - } - else - { - $customScript = ''; - } - - $batchcopy[] = "\n\t/**"; - $batchcopy[] = "\t * Batch copy items to a new category or current."; - $batchcopy[] = "\t *"; - $batchcopy[] = "\t * @param integer \$values The new values."; - $batchcopy[] = "\t * @param array \$pks An array of row IDs."; - $batchcopy[] = "\t * @param array \$contexts An array of item contexts."; - $batchcopy[] = "\t *"; - $batchcopy[] = "\t * @return mixed An array of new IDs on success, boolean false on failure."; - $batchcopy[] = "\t *"; - $batchcopy[] = "\t * @since\t12.2"; - $batchcopy[] = "\t */"; - $batchcopy[] = "\tprotected function batchCopy(\$values, \$pks, \$contexts)"; - $batchcopy[] = "\t{"; - - $batchcopy[] = "\t\tif (empty(\$this->batchSet))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." Set some needed variables."; - $batchcopy[] = "\t\t\t\$this->user = JFactory::getUser();"; - $batchcopy[] = "\t\t\t\$this->table = \$this->getTable();"; - $batchcopy[] = "\t\t\t\$this->tableClassName = get_class(\$this->table);"; - $batchcopy[] = "\t\t\t\$this->contentType = new JUcmType;"; - $batchcopy[] = "\t\t\t\$this->type = \$this->contentType->getTypeByTable(\$this->tableClassName);"; - $batchcopy[] = "\t\t\t\$this->canDo = ".$Helper."::getActions('".$viewName_single."');"; - $batchcopy[] = "\t\t}"; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - $batchcopy[] = "\n\t\tif (!\$this->canDo->get('".$core['core.create']."') && !\$this->canDo->get('".$core['core.batch']."'))"; - } - else - { - $batchcopy[] = "\n\t\tif (!\$this->canDo->get('core.create') || !\$this->canDo->get('core.batch'))"; - } - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\treturn false;"; - $batchcopy[] = "\t\t}".$customScript; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." get list of uniqe fields"; - $batchcopy[] = "\t\t\$uniqeFields = \$this->getUniqeFields();"; - $batchcopy[] = "\t\t//".$this->setLine(__LINE__)." remove move_copy from array"; - $batchcopy[] = "\t\tunset(\$values['move_copy']);"; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." make sure published is set"; - $batchcopy[] = "\t\tif (!isset(\$values['published']))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t\$values['published'] = 0;"; - $batchcopy[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $batchcopy[] = "\t\telseif (isset(\$values['published']) && !\$this->canDo->get('".$core['core.edit.state']."'))"; - } - else - { - $batchcopy[] = "\t\telseif (isset(\$values['published']) && !\$this->canDo->get('core.edit.state'))"; - } - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t\t\$values['published'] = 0;"; - $batchcopy[] = "\t\t}"; - - if ($category) - { - $batchcopy[] = "\n\t\tif (isset(\$values['category']) && (int) \$values['category'] > 0 && !static::checkCategoryId(\$values['category']))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\treturn false;"; - $batchcopy[] = "\t\t}"; - $batchcopy[] = "\t\telseif (isset(\$values['category']) && (int) \$values['category'] > 0)"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." move the category value to correct field name"; - $batchcopy[] = "\t\t\t\$values['".$category."'] = \$values['category'];"; - $batchcopy[] = "\t\t\tunset(\$values['category']);"; - $batchcopy[] = "\t\t}"; - $batchcopy[] = "\t\telseif (isset(\$values['category']))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\tunset(\$values['category']);"; - $batchcopy[] = "\t\t}"; - } - - $batchcopy[] = "\n\t\t\$newIds = array();"; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." Parent exists so let's proceed"; - $batchcopy[] = "\t\twhile (!empty(\$pks))"; - $batchcopy[] = "\t\t{"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." Pop the first ID off the stack"; - $batchcopy[] = "\t\t\t\$pk = array_shift(\$pks);"; - - $batchcopy[] = "\n\t\t\t\$this->table->reset();"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." only allow copy if user may edit this item."; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $batchcopy[] = "\n\t\t\tif (!\$this->user->authorise('".$core['core.edit']."', \$contexts[\$pk]))"; - } - else - { - $batchcopy[] = "\n\t\t\tif (!\$this->user->authorise('core.edit', \$contexts[\$pk]))"; - } - $batchcopy[] = "\n\t\t\t{"; - $batchcopy[] = "\n\t\t\t\t//".$this->setLine(__LINE__)." Not fatal error"; - $batchcopy[] = "\n\t\t\t\t\$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', \$pk));"; - $batchcopy[] = "\n\t\t\t\tcontinue;"; - $batchcopy[] = "\n\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check that the row actually exists"; - $batchcopy[] = "\t\t\tif (!\$this->table->load(\$pk))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tif (\$error = \$this->table->getError())"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Fatal error"; - $batchcopy[] = "\t\t\t\t\t\$this->setError(\$error);"; - - $batchcopy[] = "\n\t\t\t\t\treturn false;"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t\telse"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Not fatal error"; - $batchcopy[] = "\t\t\t\t\t\$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', \$pk));"; - $batchcopy[] = "\t\t\t\t\tcontinue;"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t}"; - if ($category && $alias == 'alias' && $title == 'title') - { - $batchcopy[] = "\n\t\t\tif (isset(\$values['".$category."']))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tstatic::generateTitle((int) \$values['".$category."'], \$this->table);"; - $batchcopy[] = "\t\t\t}"; - $batchcopy[] = "\t\t\telse"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tstatic::generateTitle((int) \$this->table->".$category.", \$this->table);"; - $batchcopy[] = "\t\t\t}"; - } - elseif ($category && $alias && $title) - { - $batchcopy[] = "\n\t\t\tif (isset(\$values['".$category."']))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tlist(\$this->table->".$title.", \$this->table->".$alias.") = \$this->generateNewTitle(\$values['".$category."'], \$this->table->".$alias.", \$this->table->".$title.");"; - $batchcopy[] = "\t\t\t}"; - $batchcopy[] = "\t\t\telse"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tlist(\$this->table->".$title.", \$this->table->".$alias.") = \$this->generateNewTitle(\$this->table->".$category.", \$this->table->".$alias.", \$this->table->".$title.");"; - $batchcopy[] = "\t\t\t}"; - } - elseif (!$category && $alias && $title) - { - $batchcopy[] = "\n\t\t\tlist(\$this->table->".$title.", \$this->table->".$alias.") = \$this->_generateNewTitle(\$this->table->".$alias.", \$this->table->".$title.");"; - } - elseif (!$category && !$alias && $title && $title != 'user') - { - $batchcopy[] = "\n\t\t\t\$this->table->".$title." = \$this->generateUniqe('".$title."',\$this->table->".$title.");"; - } - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." insert all set values"; - $batchcopy[] = "\t\t\tif (".$Helper."::checkArray(\$values))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tforeach (\$values as \$key => \$value)"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\tif (strlen(\$value) > 0 && isset(\$this->table->\$key))"; - $batchcopy[] = "\t\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t\t\$this->table->\$key = \$value;"; - $batchcopy[] = "\t\t\t\t\t}"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t}\n"; - - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." update all uniqe fields"; - $batchcopy[] = "\t\t\tif (".$Helper."::checkArray(\$uniqeFields))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\tforeach (\$uniqeFields as \$uniqeField)"; - $batchcopy[] = "\t\t\t\t{"; - $batchcopy[] = "\t\t\t\t\t\$this->table->\$uniqeField = \$this->generateUniqe(\$uniqeField,\$this->table->\$uniqeField);"; - $batchcopy[] = "\t\t\t\t}"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Reset the ID because we are making a copy"; - $batchcopy[] = "\t\t\t\$this->table->id = 0;"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." TODO: Deal with ordering?"; - $batchcopy[] = "\t\t\t//".$this->setLine(__LINE__)." \$this->table->ordering\t= 1;"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Check the row."; - $batchcopy[] = "\t\t\tif (!\$this->table->check())"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchcopy[] = "\n\t\t\t\treturn false;"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\tif (!empty(\$this->type))"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\t\$this->createTagsHelper(\$this->tagsObserver, \$this->type, \$pk, \$this->typeAlias, \$this->table);"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Store the row."; - $batchcopy[] = "\t\t\tif (!\$this->table->store())"; - $batchcopy[] = "\t\t\t{"; - $batchcopy[] = "\t\t\t\t\$this->setError(\$this->table->getError());"; - - $batchcopy[] = "\n\t\t\t\treturn false;"; - $batchcopy[] = "\t\t\t}"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Get the new item ID"; - $batchcopy[] = "\t\t\t\$newId = \$this->table->get('id');"; - - $batchcopy[] = "\n\t\t\t//".$this->setLine(__LINE__)." Add the new ID to the array"; - $batchcopy[] = "\t\t\t\$newIds[\$pk] = \$newId;"; - $batchcopy[] = "\t\t}"; - - $batchcopy[] = "\n\t\t//".$this->setLine(__LINE__)." Clean the cache"; - $batchcopy[] = "\t\t\$this->cleanCache();"; - - $batchcopy[] = "\n\t\treturn \$newIds;"; - $batchcopy[] = "\t}"; - - return "\n".implode("\n",$batchcopy); - } - - protected function setAliasTitleFix($viewName_single) - { - $fixUniqe = array(); - // only load this if these two items are set - if (array_key_exists($viewName_single, $this->aliasBuilder) && array_key_exists($viewName_single, $this->titleBuilder)) - { - // set needed defaults - $setCategory = false; - $alias = $this->aliasBuilder[$viewName_single]; - $title = $this->titleBuilder[$viewName_single]; - $VIEW = ComponentbuilderHelper::safeString($viewName_single, 'U'); - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $category = $this->catCodeBuilder[$viewName_single]['code']; - $setCategory = true; - } - // start building the fix - $fixUniqe[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the ".$title." for save as copy"; - $fixUniqe[] = "\t\tif (\$input->get('task') == 'save2copy')"; - $fixUniqe[] = "\t\t{"; - $fixUniqe[] = "\t\t\t\$origTable = clone \$this->getTable();"; - $fixUniqe[] = "\t\t\t\$origTable->load(\$input->getInt('id'));"; - $fixUniqe[] = "\n\t\t\tif (\$data['".$title."'] == \$origTable->".$title.")"; - $fixUniqe[] = "\t\t\t{"; - if ($setCategory) - { - $fixUniqe[] = "\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->generateNewTitle(\$data['".$category."'], \$data['".$alias."'], \$data['".$title."']);"; - } - else - { - $fixUniqe[] = "\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->_generateNewTitle(\$data['".$alias."'], \$data['".$title."']);"; - } - $fixUniqe[] = "\t\t\t\t\$data['".$title."'] = \$".$title.";"; - $fixUniqe[] = "\t\t\t\t\$data['".$alias."'] = \$".$alias.";"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\t\t\telse"; - $fixUniqe[] = "\t\t\t{"; - $fixUniqe[] = "\t\t\t\tif (\$data['".$alias."'] == \$origTable->".$alias.")"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data['".$alias."'] = '';"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\$data['published'] = 0;"; - $fixUniqe[] = "\t\t}"; - $fixUniqe[] = "\n\t\t//".$this->setLine(__LINE__)." Automatic handling of ".$alias." for empty fields"; - $fixUniqe[] = "\t\tif (in_array(\$input->get('task'), array('apply', 'save', 'save2new')) && (int) \$input->get('id') == 0)"; - $fixUniqe[] = "\t\t{"; - $fixUniqe[] = "\t\t\tif (\$data['".$alias."'] == null)"; - $fixUniqe[] = "\t\t\t{"; - $fixUniqe[] = "\t\t\t\tif (JFactory::getConfig()->get('unicodeslugs') == 1)"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data['".$alias."'] = JFilterOutput::stringURLUnicodeSlug(\$data['".$title."']);"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t\telse"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data['".$alias."'] = JFilterOutput::stringURLSafe(\$data['".$title."']);"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\t\$table = JTable::getInstance('".$viewName_single."', '".$this->fileContentStatic['###component###']."Table');"; - if ($setCategory) - { - $fixUniqe[] = "\n\t\t\t\tif (\$table->load(array('".$alias."' => \$data['".$alias."'], '".$category."' => \$data['".$category."'])) && (\$table->id != \$data['id'] || \$data['id'] == 0))"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$msg = JText::_('COM_".$this->fileContentStatic['###COMPONENT###']."_".$VIEW."_SAVE_WARNING');"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->generateNewTitle(\$data['".$category."'], \$data['".$alias."'], \$data['".$title."']);"; - } - else - { - $fixUniqe[] = "\n\t\t\t\tif (\$table->load(array('".$alias."' => \$data['".$alias."'])) && (\$table->id != \$data['id'] || \$data['id'] == 0))"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$msg = JText::_('COM_".$this->fileContentStatic['###COMPONENT###']."_".$VIEW."_SAVE_WARNING');"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\n\t\t\t\tlist(\$".$title.", \$".$alias.") = \$this->_generateNewTitle(\$data['".$alias."'], \$data['".$title."']);"; - } - $fixUniqe[] = "\t\t\t\t\$data['".$alias."'] = \$".$alias.";"; - $fixUniqe[] = "\n\t\t\t\tif (isset(\$msg))"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\tJFactory::getApplication()->enqueueMessage(\$msg, 'warning');"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\t\t}"; - } - // handel other uniqe fields - $fixUniqe[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the uniqe field for save as copy"; - $fixUniqe[] = "\t\tif (\$input->get('task') == 'save2copy')"; - $fixUniqe[] = "\t\t{"; - $fixUniqe[] = "\t\t\t//".$this->setLine(__LINE__)." Automatic handling of other uniqe fields"; - $fixUniqe[] = "\t\t\t\$uniqeFields = \$this->getUniqeFields();"; - $fixUniqe[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$uniqeFields))"; - $fixUniqe[] = "\t\t\t{"; - $fixUniqe[] = "\t\t\t\tforeach (\$uniqeFields as \$uniqeField)"; - $fixUniqe[] = "\t\t\t\t{"; - $fixUniqe[] = "\t\t\t\t\t\$data[\$uniqeField] = \$this->generateUniqe(\$uniqeField,\$data[\$uniqeField]);"; - $fixUniqe[] = "\t\t\t\t}"; - $fixUniqe[] = "\t\t\t}"; - $fixUniqe[] = "\t\t}"; - - return "\n".implode("\n",$fixUniqe); - } - - protected function setGenerateNewTitle($viewName_single) - { - // if category is added to this view then do nothing - if (array_key_exists($viewName_single, $this->aliasBuilder) && array_key_exists($viewName_single, $this->titleBuilder)) - { - $newFunction = array(); - $newFunction[] = "\n\n\t/**"; - $newFunction[] = "\t* Method to change the title & alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @param string \$alias The alias."; - $newFunction[] = "\t* @param string \$title The title."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @return array Contains the modified title and alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t*/"; - $newFunction[] = "\tprotected function _generateNewTitle(\$alias, \$title)"; - $newFunction[] = "\t{"; - $newFunction[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the title & alias"; - $newFunction[] = "\t\t\$table = \$this->getTable();"; - $newFunction[] = "\n\t\twhile (\$table->load(array('alias' => \$alias)))"; - $newFunction[] = "\t\t{"; - $newFunction[] = "\t\t\t\$title = JString::increment(\$title);"; - $newFunction[] = "\t\t\t\$alias = JString::increment(\$alias, 'dash');"; - $newFunction[] = "\t\t}"; - $newFunction[] = "\n\t\treturn array(\$title, \$alias);"; - $newFunction[] = "\t}"; - return implode("\n",$newFunction); - } - elseif (array_key_exists($viewName_single, $this->titleBuilder)) - { - $newFunction = array(); - $newFunction[] = "\n\n\t/**"; - $newFunction[] = "\t* Method to change the title & alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @param string \$title The title."; - $newFunction[] = "\t*"; - $newFunction[] = "\t* @return array Contains the modified title and alias."; - $newFunction[] = "\t*"; - $newFunction[] = "\t*/"; - $newFunction[] = "\tprotected function _generateNewTitle(\$title)"; - $newFunction[] = "\t{"; - $newFunction[] = "\n\t\t//".$this->setLine(__LINE__)." Alter the title"; - $newFunction[] = "\t\t\$table = \$this->getTable();"; - $newFunction[] = "\n\t\twhile (\$table->load(array('title' => \$title)))"; - $newFunction[] = "\t\t{"; - $newFunction[] = "\t\t\t\$title = JString::increment(\$title);"; - $newFunction[] = "\t\t}"; - $newFunction[] = "\n\t\treturn \$title;"; - $newFunction[] = "\t}"; - return implode("\n",$newFunction); - } - return ''; - } - - protected function setInstall() - { - if (isset($this->queryBuilder) && ComponentbuilderHelper::checkArray($this->queryBuilder)) - { - // set the main db prefix - $component = $this->fileContentStatic['###component###']; - // start building the db - - $db = ''; - foreach ($this->queryBuilder as $view => $fields) - { - // build the uninstall array - $this->uninstallBuilder[] = "DROP TABLE IF EXISTS `#__".$component."_".$view."`;"; - - // setup the tables - $db .= "CREATE TABLE IF NOT EXISTS `#__".$component."_".$view."` ("; - $db .= "\n\t`id` int(11) NOT NULL AUTO_INCREMENT,"; - $db .= "\n\t`asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0',"; - ksort($fields); - foreach ($fields as $field => $data) - { - // set default - $default = $data['default']; - if ( $default == 'Other' ) - { - $default = $data['other']; - } - if ($default == 'DATETIME' || $default == 'CURRENT_TIMESTAMP') - { - $default = $default.' '.$data['null_switch']; - } - elseif ($default == 0 || $default) - { - $default = $data['null_switch']." DEFAULT '".$default."'"; - } - elseif ($data['null_switch'] == 'NULL') - { - $default = "DEFAULT NULL"; - } - else - { - $default = $data['null_switch']." DEFAULT ''"; - } - // set the lenght - $lenght = ''; - if (isset($data['lenght']) && $data['lenght'] > 0) - { - $lenght = '('.$data['lenght'].')'; - } - // set the field to db - $db .= "\n\t`".$field."` ".$data['type'].$lenght." ".$default.","; - } - $db .= "\n\t`params` TEXT NOT NULL DEFAULT '',"; - $db .= "\n\t`published` tinyint(1) NOT NULL DEFAULT '1',"; - $db .= "\n\t`created_by` int(11) NOT NULL DEFAULT '0',"; - $db .= "\n\t`modified_by` int(11) NOT NULL DEFAULT '0',"; - $db .= "\n\t`created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',"; - $db .= "\n\t`modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',"; - $db .= "\n\t`checked_out` int(11) NOT NULL,"; - $db .= "\n\t`checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',"; - $db .= "\n\t`version` int(11) NOT NULL DEFAULT '1',"; - $db .= "\n\t`hits` int(11) NOT NULL DEFAULT '0',"; - // check if view has access - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $db .= "\n\t`access` int(11) DEFAULT NULL,"; - } - $db .= "\n\t`ordering` int(11) NOT NULL DEFAULT '0',"; - // check if metadata is added to this view - if (isset($this->metadataBuilder[$view]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$view])) - { - $db .= "\n\t`metakey` TEXT NOT NULL DEFAULT '',"; - $db .= "\n\t`metadesc` TEXT NOT NULL DEFAULT '',"; - $db .= "\n\t`metadata` TEXT NOT NULL DEFAULT '',"; - } - $db .= "\n\tPRIMARY KEY (`id`)"; - if (isset($this->dbUniqueKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbUniqueKeys[$view])) - { - foreach ($this->dbUniqueKeys[$view] as $nr => $key) - { - $db .= ",\n\tUNIQUE KEY `idx_".$key."` (`".$key."`)"; - } - } - // check if view has access - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $db .= ",\n\tKEY `idx_access` (`access`)"; - } - $db .= ",\n\tKEY `idx_checkout` (`checked_out`)"; - $db .= ",\n\tKEY `idx_createdby` (`created_by`)"; - $db .= ",\n\tKEY `idx_modifiedby` (`modified_by`)"; - $db .= ",\n\tKEY `idx_state` (`published`)"; - if (isset($this->dbKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbKeys[$view])) - { - foreach ($this->dbKeys[$view] as $nr => $key) - { - $db .= ",\n\tKEY `idx_".$key."` (`".$key."`)"; - } - } - $db .= "\n) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;\n\n"; - } - // add custom sql dump to the file - if (isset($this->customScriptBuilder['sql']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder['sql'])) - { - foreach ($this->customScriptBuilder['sql'] as $for => $customSql) - { - $placeholders = array('[[[component]]]' => $component, '[[[view]]]' => $for); - $db .= "\n\n".str_replace(array_keys($placeholders),array_values($placeholders),$customSql); - } - - } - return $db; - } - return ''; - } - - protected function setUninstall() - { - if (isset($this->queryBuilder) && ComponentbuilderHelper::checkArray($this->queryBuilder)) - { - $bd = ''; - foreach ($this->uninstallBuilder as $line) - { - $bd .= $line."\n"; - } - return $bd; - } - return ''; - } - - protected function setLangAdmin() - { - // add final list of needed lang strings - $this->langContent['adminsys'][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - $this->langContent['adminsys'][$this->langPrefix.'_CONFIGURATION'] = ComponentbuilderHelper::safeString($this->componentData->name,'W').' Configuration'; - $this->langContent[$this->lang][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - $this->langContent['admin'][$this->langPrefix.'_BACK'] = 'Back'; - $this->langContent['admin'][$this->langPrefix.'_DASH'] = 'Dashboard'; - $this->langContent['admin'][$this->langPrefix.'_VERSION'] = 'Version'; - $this->langContent['admin'][$this->langPrefix.'_DATE'] = 'Date'; - $this->langContent['admin'][$this->langPrefix.'_AUTHOR'] = 'Author'; - $this->langContent['admin'][$this->langPrefix.'_WEBSITE'] = 'Website'; - $this->langContent['admin'][$this->langPrefix.'_LICENSE'] = 'License'; - $this->langContent['admin'][$this->langPrefix.'_CONTRIBUTORS'] = 'Contributors'; - $this->langContent['admin'][$this->langPrefix.'_CONTRIBUTOR'] = 'Contributor'; - $this->langContent['admin'][$this->langPrefix.'_DASHBOARD'] = ComponentbuilderHelper::safeString($this->componentData->name,'W').' Dashboard'; - $this->langContent['admin'][$this->langPrefix.'_SAVE_SUCCESS'] = "Great! Item successfully saved."; - $this->langContent['admin'][$this->langPrefix.'_SAVE_WARNING'] = "The value already existed so please select another."; - $this->langContent['admin'][$this->langPrefix.'_HELP_MANAGER'] = "Help"; - $this->langContent['admin'][$this->langPrefix.'_NEW'] = "New"; - $this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_STATE'] = "- Keep Original State -"; - $this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_ACCESS'] = "- Keep Original Access -"; - $this->langContent['admin'][$this->langPrefix.'_KEEP_ORIGINAL_CATEGORY'] = "- Keep Original Category -"; - if ($this->componentData->add_license && $this->componentData->license_type == 3) - { - $this->langContent['admin']['NIE_REG_NIE'] = "<br /><br /><center><h1>Lincense not set for ".$this->componentData->name.".</h1><p>Notify your administrator!<br />The lincense can be obtained from ".$this->componentData->companyname.".</p></center>"; - } - // add the langug files needed to import and export data - if ($this->addEximport) - { - $this->langContent['admin'][$this->langPrefix.'_EXPORT_FAILED'] = "Export Failed"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FAILED'] = "Import Failed"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_TITLE'] = "Data Importer"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_NO_IMPORT_TYPE_FOUND'] = "Import type not found."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE'] = "Package to import not found."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_ERROR'] = "Import error."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SUCCESS'] = "Great! Import successful."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_WARNIMPORTFILE'] = "Warning, import file error."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_NO_FILE_SELECTED'] = "No import file selected."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_SELECT_A_FILE'] = "Please select a file to import."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_SELECT_ALL_COLUMNS'] = "Please link all columns."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_SELECT_A_DIRECTORY'] = "Please enter the file directory."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_WARNIMPORTUPLOADERROR'] = "Warning, import upload error."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY'] = "Please enter the file directory."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE'] = "Path does not have a valid file."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE'] = "Does not have a valid file type."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_ENTER_A_URL'] = "Please enter a url."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_MSG_INVALID_URL'] = "Invalid url."; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_CONTINUE'] = "Continue"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FROM_UPLOAD'] = "Upload"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SELECT_FILE'] = "Select File"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_UPLOAD_BOTTON'] = "Upload File"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FROM_DIRECTORY'] = "Directory"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SELECT_FILE_DIRECTORY'] = "Set the path to file"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_GET_BOTTON'] = "Get File"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FROM_URL'] = "URL"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_SELECT_FILE_URL'] = "Enter file URL"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_UPDATE_DATA'] = "Import Data"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FORMATS_ACCEPTED'] = "formats accepted"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_LINK_FILE_TO_TABLE_COLUMNS'] = "Link File to Table Columns"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_TABLE_COLUMNS'] = "Table Columns"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_FILE_COLUMNS'] = "File Columns"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_PLEASE_SELECT_COLUMN'] = "-- Please Select Column --"; - $this->langContent['admin'][$this->langPrefix.'_IMPORT_IGNORE_COLUMN'] = "-- Ignore This Column --"; - $this->langContent['admin'][$this->langPrefix.'_NO_ACCESS_GRANTED'] = "No Access Granted!"; - } - // check if the both array is set - if (isset($this->langContent['both']) && ComponentbuilderHelper::checkArray($this->langContent['both'])) - { - foreach ($this->langContent['both'] as $keylang => $langval) - { - $this->langContent['admin'][$keylang] = $langval; - } - } - - if (isset($this->langContent['admin']) && ComponentbuilderHelper::checkArray($this->langContent['admin'])) - { - ksort($this->langContent['admin']); - foreach ($this->langContent['admin'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setLangSite() - { - // add final list of needed lang strings - $this->langContent['site'][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - // some more defaults - $this->langContent['site']['JTOOLBAR_APPLY'] = "Save"; - $this->langContent['site']['JTOOLBAR_SAVE_AS_COPY'] = "Save as Copy"; - $this->langContent['site']['JTOOLBAR_SAVE'] = "Save & Close"; - $this->langContent['site']['JTOOLBAR_SAVE_AND_NEW'] = "Save & New"; - $this->langContent['site']['JTOOLBAR_CANCEL'] = "Cancel"; - $this->langContent['site']['JTOOLBAR_CLOSE'] = "Close"; - $this->langContent['site']['JTOOLBAR_HELP'] = "Help"; - $this->langContent['site']['JGLOBAL_FIELD_ID_LABEL'] = "ID"; - $this->langContent['site']['JGLOBAL_FIELD_ID_DESC'] = "Record number in the database."; - $this->langContent['site']['JGLOBAL_FIELD_MODIFIED_LABEL'] = "Modified Date"; - $this->langContent['site']['COM_CONTENT_FIELD_MODIFIED_DESC'] = "The last date this item was modified."; - $this->langContent['site']['JGLOBAL_FIELD_MODIFIED_BY_LABEL'] = "Modified By"; - $this->langContent['site']['JGLOBAL_FIELD_MODIFIED_BY_DESC'] = "The user who did the last modification."; - - // check if the both array is set - if (isset($this->langContent['both']) && ComponentbuilderHelper::checkArray($this->langContent['both'])) - { - foreach ($this->langContent[$this->lang] as $keylang => $langval) - { - $this->langContent['site'][$keylang] = $langval; - } - } - if (isset($this->langContent['site']) && ComponentbuilderHelper::checkArray($this->langContent['site'])) - { - ksort($this->langContent['site']); - foreach ($this->langContent['site'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setLangSiteSys() - { - // add final list of needed lang strings - $this->langContent['sitesys'][$this->langPrefix] = ComponentbuilderHelper::safeString($this->componentData->name,'W'); - - if (isset($this->langContent['sitesys']) && ComponentbuilderHelper::checkArray($this->langContent['sitesys'])) - { - ksort($this->langContent['sitesys']); - foreach ($this->langContent['sitesys'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setLangAdminSys() - { - if (isset($this->langContent['adminsys']) && ComponentbuilderHelper::checkArray($this->langContent['adminsys'])) - { - ksort($this->langContent['adminsys']); - foreach ($this->langContent['adminsys'] as $key => $value) - { - if (strlen($key) > 0) - { - if (!isset($lang)) - { - $lang = ''; - } - $lang .= $key.'="'.$value.'"'."\n"; - } - } - return $lang; - } - return ''; - } - - protected function setCustomAdminViewListLink($view,$viewName_list) - { - if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) - { - foreach ($this->componentData->custom_admin_views as $custom_admin_view) - { - if (ComponentbuilderHelper::checkArray($custom_admin_view['adminviews'])) - { - foreach ($custom_admin_view['adminviews'] as $adminview) - { - if ($view['adminview'] == $adminview) - { - // set the needed keys - $setId = false; - if (ComponentbuilderHelper::checkArray($custom_admin_view['settings']->main_get->filter)) - { - foreach ($custom_admin_view['settings']->main_get->filter as $filter) - { - if ($filter['filter_type'] == 1 || '$id' == $filter['state_key']) - { - $setId = true; - } - } - } - // set the needed array values - $set = array( - 'icon' => $custom_admin_view['icomoon'], - 'link' => $custom_admin_view['settings']->code, - 'NAME' => $custom_admin_view['settings']->CODE, - 'name' => $custom_admin_view['settings']->name); - // only load to list if it has id filter - if ($setId) - { - // now load it to the global object for items list - $this->customAdminViewListLink[$viewName_list][] = $set; - // add to set id for list view if needed - $this->customAdminViewListId[$custom_admin_view['settings']->code] = true; - } - else - { - // now load it to the global object for tool bar - $this->customAdminDynamicButtons[$viewName_list][] = $set; - } - } - } - } - } - } - } - - protected function setListBody($viewName_single,$viewName_list) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // make sure the custom links are only added once - $firstTimeBeingAdded = true; - // add the default - $body = "<?php foreach (\$this->items as \$i => \$item): ?>"; - $body .= "\n\t<?php"; - $body .= "\n\t\t\$canCheckin = \$this->user->authorise('core.manage', 'com_checkin') || \$item->checked_out == \$this->user->id || \$item->checked_out == 0;"; - $body .= "\n\t\t\$userChkOut = JFactory::getUser(\$item->checked_out);"; - $body .= "\n\t\t\$canDo = ".$Helper."::getActions('".$viewName_single."',\$item,'".$viewName_list."');"; - $body .= "\n\t?>"; - $body .= "\n\t".'<tr class="row<?php echo $i % 2; ?>">'; - $body .= "\n\t\t".'<td class="order nowrap center hidden-phone">'; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $body .= "\n\t\t<?php if (\$canDo->get('".$core['core.edit.state']."')): ?>"; - } - else - { - $body .= "\n\t\t<?php if (\$canDo->get('core.edit.state')): ?>"; - } - $body .= "\n\t\t\t<?php"; - $body .= "\n\t\t\t\tif (\$this->saveOrder)"; - $body .= "\n\t\t\t\t{"; - $body .= "\n\t\t\t\t\t\$iconClass = ' inactive';"; - $body .= "\n\t\t\t\t}"; - $body .= "\n\t\t\t\telse"; - $body .= "\n\t\t\t\t{"; - $body .= "\n\t\t\t\t\t\$iconClass = ' inactive tip-top".'" hasTooltip" title="'."' . JHtml::tooltipText('JORDERINGDISABLED');"; - $body .= "\n\t\t\t\t}"; - $body .= "\n\t\t\t?>"; - $body .= "\n\t\t\t".'<span class="sortable-handler<?php echo $iconClass; ?>">'; - $body .= "\n\t\t\t\t".'<i class="icon-menu"></i>'; - $body .= "\n\t\t\t</span>"; - $body .= "\n\t\t\t<?php if (\$this->saveOrder) : ?>"; - $body .= "\n\t\t\t\t".'<input type="text" style="display:none" name="order[]" size="5"'; - $body .= "\n\t\t\t\t".'value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " />'; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t<?php else: ?>"; - $body .= "\n\t\t\t&#8942;"; - $body .= "\n\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t\t".'<td class="nowrap center">'; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $body .= "\n\t\t<?php if (\$canDo->get('".$core['core.edit']."')): ?>"; - } - else - { - $body .= "\n\t\t<?php if (\$canDo->get('core.edit')): ?>"; - } - $body .= "\n\t\t\t\t<?php if (\$item->checked_out) : ?>"; - $body .= "\n\t\t\t\t\t<?php if (\$canCheckin) : ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('grid.id', \$i, \$item->id); ?>"; - $body .= "\n\t\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t\t&#9633;"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t<?php echo JHtml::_('grid.id', \$i, \$item->id); ?>"; - $body .= "\n\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t<?php else: ?>"; - $body .= "\n\t\t\t&#9633;"; - $body .= "\n\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - // check if this view has fields that should not be escaped - $doNotEscape = false; - if (isset($this->doNotEscape[$viewName_list])) - { - $doNotEscape = true; - } - // start adding the dynamic - foreach ($this->listBuilder[$viewName_list] as $item) - { - $checkoutTriger = false; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom'])) - { - $item['id'] = $item['code']; - $item['code'] = $item['code'].'_'.$item['custom']['text']; - } - // check if translated vlaue is used - if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list]) - && array_key_exists($item['code'],$this->selectionTranslationFixBuilder[$viewName_list])) - { - $itemCode = '<?php echo JText::_($item->'.$item['code'].'); ?>'; - } - elseif ($item['custom']['text'] == 'user') - { - $itemCode = '<?php echo JFactory::getUser((int)$item->'.$item['code'].')->name; ?>'; - } - elseif ($doNotEscape) - { - if (in_array($item['code'], $this->doNotEscape[$viewName_list])) - { - $itemCode = '<?php echo $item->'.$item['code'].'; ?>'; - } - else - { - $itemCode = '<?php echo $this->escape($item->'.$item['code'].'); ?>'; - } - } - else - { - $itemCode = '<?php echo $this->escape($item->'.$item['code'].'); ?>'; - } - if ($item['link']) - { - // allways rest custom links - $customAdminView = ''; - // if to be linked - if ($item['type'] == 'category' && !$item['title']) - { - $otherViews = $this->catCodeBuilder[$viewName_single]['views']; - // category and linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$otherViews.".category.' . (int)\$item->".$item['code'].")): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->'.$item['code'].'; ?>&extension=com_'.$this->fileContentStatic['###component###'].'.'.$otherViews.'"><?php echo $this->escape($item->category_title); ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$this->escape(\$item->category_title); ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - elseif ($item['type'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$itemUser = JFactory::getUser(\$item->user); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->user ?>"><?php echo $itemUser->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$itemUser->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - $add = true; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] != 'user' && !$item['title']) - { - // link to that item instead - $link = 'index.php?option='.$item['custom']['component'].'&view='.$item['custom']['views'].'&task='.$item['custom']['view'].'.edit&id=<?php echo $item->'.$item['id'].'; ?>&ref='.$viewName_list; - - $coreLoadLink = false; - if (isset($this->permissionCore[$item['custom']['view']])) - { - $coreLink = $this->permissionCore[$item['custom']['view']]; - $coreLoadLink = true; - } - // check if the item has permissions. - if ($coreLoadLink && isset($this->permissionBuilder[$coreLink['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$coreLink['core.edit']]) && in_array($item['custom']['view'],$this->permissionBuilder[$coreLink['core.edit']])) - { - $accessCheck = "\$this->user->authorise('".$coreLink['core.edit']."', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - else - { - $accessCheck = "\$this->user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - } - elseif (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$".$item['id']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $'.$item['id'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$".$item['id']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - - $add = false; - } - else - { - // start building the links - $link = '<?php echo $edit; ?>&id=<?php echo $item->id; ?>'; - // check if custom links should be added to this list views - if (isset($this->customAdminViewListLink[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminViewListLink[$viewName_list]) && $firstTimeBeingAdded) - { - // make sure the custom links are only added once - $firstTimeBeingAdded = false; - // start building the links - $customAdminView = "\n\t\t\t".'<div class="btn-group">'; - foreach ($this->customAdminViewListLink[$viewName_list] as $customLinkView) - { - $customAdminView .= "\n\t\t\t<?php if (\$canDo->get('".$customLinkView['link'].".access')): ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini" href="index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$customLinkView['link'].'&id=<?php echo $item->id; ?>" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>" ><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php else: ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini disabled" href="#" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>"><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php endif; ?>"; - } - $customAdminView .= "\n\t\t\t".'</div>'; - - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - // set permissions. - $accessCheck = "\$canDo->get('".$core['core.edit']."')"; - } - else - { - // set permissions. - $accessCheck = "\$canDo->get('core.edit')"; - } - // triger the checked out script to be added - $checkoutTriger = true; - } - - if ($add) - { - // set as linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (".$accessCheck."): ?>"; - $body .= "\n\t\t\t\t".'<div class="name">'."\n\t\t\t\t\t".'<a href="'.$link.'">'.$itemCode.'</a>'; - if ($checkoutTriger) - { - $body .= "\n\t\t\t\t\t<?php if (\$item->checked_out): ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.checkedout', \$i, \$userChkOut->name, \$item->checked_out_time, '".$viewName_list.".', \$canCheckin); ?>"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - } - $body .= "\n\t\t\t\t".'</div>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t".'<div class="name">'.$itemCode.'</div>'; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= $customAdminView; - $body .= "\n\t\t</td>"; - } - } - } - else - { - if ($item['type'] == 'category') - { - $body .= "\n\t\t<td class=\"hidden-phone\">"; - $body .= "\n\t\t\t<?php echo \$this->escape(\$item->category_title); ?>"; - $body .= "\n\t\t</td>"; - } - elseif (ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user') - { - // custom user and linked - $body .= "\n\t\t<?php \$".$item['code']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td class="nowrap hidden-phone">'; - $body .= "\n\t\t\t<?php if (\$this->user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $'.$item['code'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$".$item['code']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - // normal not linked - $body .= "\n\t\t<td class=\"hidden-phone\">"; - $body .= "\n\t\t\t".$itemCode; - $body .= "\n\t\t</td>"; - } - } - } - // add the defaults - $body .= "\n\t\t".'<td class="center">'; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $body .= "\n\t\t<?php if (\$canDo->get('".$core['core.edit.state']."')) : ?>"; - } - else - { - $body .= "\n\t\t<?php if (\$canDo->get('core.edit.state')) : ?>"; - } - $body .= "\n\t\t\t\t<?php if (\$item->checked_out) : ?>"; - $body .= "\n\t\t\t\t\t<?php if (\$canCheckin) : ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', true, 'cb'); ?>"; - $body .= "\n\t\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', false, 'cb'); ?>"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', true, 'cb'); ?>"; - $body .= "\n\t\t\t\t<?php endif; ?>"; - $body .= "\n\t\t<?php else: ?>"; - $body .= "\n\t\t\t<?php echo JHtml::_('jgrid.published', \$item->published, \$i, '".$viewName_list.".', false, 'cb'); ?>"; - $body .= "\n\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t\t".'<td class="nowrap center hidden-phone">'; - $body .= "\n\t\t\t<?php echo \$item->id; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t</tr>"; - $body .= "\n<?php endforeach; ?>"; - // return the build - return $body; - } - return ''; - } - - protected function setListHead($viewName_single,$viewName_list) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($viewName_single,'U'); - // set status lang - $statusLangName = $langView.'_STATUS'; - // set id lang - $idLangName = $langView.'_ID'; - // add to lang array - if (!isset($this->langContent[$this->lang][$statusLangName])) - { - $this->langContent[$this->lang][$statusLangName] = 'Status'; - } - // add to lang array - if (!isset($this->langContent[$this->lang][$idLangName ])) - { - $this->langContent[$this->lang][$idLangName] = 'Id'; - } - // set default - $head = '<tr>'; - $head .= "\n\t<?php if (\$this->canEdit&& \$this->canState): ?>"; - $head .= "\n\t\t".'<th width="1%" class="nowrap center hidden-phone">'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.sort', '".'<i class="icon-menu-2"></i>'."', 'ordering', \$this->listDirn, \$this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t\t".'<th width="20" class="nowrap center">'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.checkall'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php else: ?>"; - $head .= "\n\t\t".'<th width="20" class="nowrap center hidden-phone">'; - $head .= "\n\t\t\t&#9662;"; - $head .= "\n\t\t</th>"; - $head .= "\n\t\t".'<th width="20" class="nowrap center">'; - $head .= "\n\t\t\t&#9632;"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php endif; ?>"; - // set footer Column number - $this->listColnrBuilder[$viewName_list] = 4; - // build the dynamic fields - foreach ($this->listBuilder[$viewName_list] as $item) - { - if (ComponentbuilderHelper::checkArray($item['custom'])) - { - $item['code'] = $item['code'].'_'.$item['custom']['text']; - } - $class = 'nowrap hidden-phone'; - if ($item['link']) - { - $class = 'nowrap'; - } - $title = "<?php echo JText::_('".$item['lang']."'); ?>"; - if ($item['sort']) - { - $title = "<?php echo JHtml::_('grid.sort', '".$item['lang']."', '".$item['code']."', \$this->listDirn, \$this->listOrder); ?>"; - } - $head .= "\n\t".'<th class="'.$class.'" >'; - $head .= "\n\t\t\t".$title; - $head .= "\n\t</th>"; - $this->listColnrBuilder[$viewName_list]++; - } - // set default - $head .= "\n\t<?php if (\$this->canState): ?>"; - $head .= "\n\t\t".'<th width="10" class="nowrap center" >'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.sort', '".$statusLangName."', 'published', \$this->listDirn, \$this->listOrder); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php else: ?>"; - $head .= "\n\t\t".'<th width="10" class="nowrap center" >'; - $head .= "\n\t\t\t<?php echo JText::_('".$statusLangName."'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t<?php endif; ?>"; - $head .= "\n\t".'<th width="5" class="nowrap center hidden-phone" >'; - $head .= "\n\t\t\t<?php echo JHtml::_('grid.sort', '".$idLangName."', 'id', \$this->listDirn, \$this->listOrder); ?>"; - $head .= "\n\t</th>"; - $head .= "\n</tr>"; - - return $head; - } - return ''; - } - - protected function setListColnr($viewName_list) - { - if (isset($this->listColnrBuilder[$viewName_list])) - { - return $this->listColnrBuilder[$viewName_list]; - } - return ''; - } - - protected function setEditBody(&$view) - { - // set view name - $viewName_single = ComponentbuilderHelper::safeString($view['settings']->name_single); - // alignment - $alignmentNames = array(1 => 'left', 2 => 'right', 3 => 'fullwidth', 4 => 'above', 5 => 'under', 6 => 'leftside', 7 => 'rightside'); - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($viewName_single,'U'); - - if (isset($this->layoutBuilder[$viewName_single]) && ComponentbuilderHelper::checkArray($this->layoutBuilder[$viewName_single])) - { - // set the linked view tabs - $linkedTab = array(); - $keys = array(); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if (isset($this->linkedAdminViews[$viewName_single]) && ComponentbuilderHelper::checkArray($this->linkedAdminViews[$viewName_single])) - { - foreach ($this->linkedAdminViews[$viewName_single] as $linkedView) - { - $tabName = $view['settings']->tabs[(int) $linkedView['tab']]; - $this->tabCounter[$viewName_single][$linkedView['tab']] = $tabName; - $linkedTab[$linkedView['adminview']] = $linkedView['tab']; - if (ComponentbuilderHelper::checkString($linkedView['key']) && ComponentbuilderHelper::checkString($linkedView['parentkey'])) - { - $keys[$linkedView['adminview']] = array( 'key' => $linkedView['key'], 'parentKey' => $linkedView['parentkey']); - } - else - { - $keys[$linkedView['adminview']] = array( 'key' => null, 'parentKey' => null); - } - if (isset($linkedView['addnew'])) - { - $keys[$linkedView['adminview']]['addNewButton'] = (int) $linkedView['addnew']; - } - else - { - $keys[$linkedView['adminview']]['addNewButton'] = 0; - } - } - } - // start tab set - $bucket = array(); - $leftside = ''; - $rightside = ''; - $footer = ''; - $header = ''; - $mainwidth = 12; - $sidewidth = 0; - ksort($this->tabCounter[$viewName_single]); - foreach ($this->tabCounter[$viewName_single] as $tabNr => $tabName) - { - $tabWidth = 12; - $lrCounter = 0; - // set tab lang - $tabLangName = $langView.'_'.ComponentbuilderHelper::safeString($tabName,'U'); - // set tab code name - $tabCodeName = ComponentbuilderHelper::safeString($tabName); - // add to lang array - if (!isset($this->langContent[$this->lang][$tabLangName])) - { - $this->langContent[$this->lang][$tabLangName] = $tabName; - } - // check if linked view belongs to this tab - $buildLayout = true; - $linkedViewId = ''; - if (ComponentbuilderHelper::checkArray($linkedTab)) - { - $linkedViewId = array_search($tabNr,$linkedTab); - if ($linkedViewId) - { - // don't build - $buildLayout = false; - } - } - if ($buildLayout) - { - // sort to make sure it loads left first - $alignments = $this->layoutBuilder[$viewName_single][$tabName]; - ksort($alignments); - foreach ($alignments as $alignment => $names) - { - // set layout code name - $layoutCodeName = $tabCodeName.'_'.$alignmentNames[$alignment]; - // reset each time - $items = ''; - $itemCounter = 0; - ksort($names); - foreach ($names as $nr => $name) - { - if ($itemCounter == 0) - { - $items .= "'".$name."'"; - } - else - { - $items .= ",\n\t'".$name."'"; - } - $itemCounter++; - } - switch($alignment) - { - case 1: // left - case 2: // right - // count - $lrCounter++; - // set as items layout - $this->setLayout($viewName_single,$layoutCodeName,$items,'layoutitems'); - // set the lang to tab - $bucket[$tabCodeName]['lang'] = $tabLangName; - // load the body - if (!isset($bucket[$tabCodeName][(int) $alignment])) - { - $bucket[$tabCodeName][(int) $alignment] = ''; - } - $bucket[$tabCodeName][(int) $alignment] .= "<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 3: // fullwidth - // set as items layout - $this->setLayout($viewName_single,$layoutCodeName,$items,'layoutfull'); - // set the lang to tab - $bucket[$tabCodeName]['lang'] = $tabLangName; - // load the body - if (!isset($bucket[$tabCodeName][(int) $alignment])) - { - $bucket[$tabCodeName][(int) $alignment] = ''; - } - $bucket[$tabCodeName][(int) $alignment] .= "<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 4: // above - // set as title layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layouttitle'); - // load to header - $header .= "\n\t<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 5: // under - // set as title layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layouttitle'); - // load to footer - $footer .= "\n\n<div class=\"clearfix\"></div>\n<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 6: // left side - $tabWidth = $tabWidth - 2; - // set as items layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layoutitems'); - // load the body - $leftside .= "\n\t<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - case 7: // right side - $tabWidth = $tabWidth - 2; - // set as items layout - $this->setLayout($viewName_single, $layoutCodeName, $items, 'layoutitems'); - // load the body - $rightside .= "\n\t<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - break; - } - } - } - else - { - // set layout code name - $layoutCodeName = $tabCodeName.'_fullwidth'; - // set identifiers - $linkedViewIdentifier[$linkedViewId] = $tabCodeName; - //set function name - $codeName = ComponentbuilderHelper::safeString(ComponentbuilderHelper::randomkey(3).$tabCodeName); - // set as items layout - $this->setLayout($viewName_single,$layoutCodeName,$codeName,'layoutlinkedview'); - // set the lang to tab - $bucket[$tabCodeName]['lang'] = $tabLangName; - // set all the linked view stuff - $this->secondRunAdmin['setLinkedView'][] = array( - 'viewId' => $linkedViewId, - 'viewName_single' => $viewName_single, - 'codeName' => $codeName, - 'layoutCodeName' => $layoutCodeName, - 'key' => $keys[$linkedViewId]['key'], - 'parentKey' => $keys[$linkedViewId]['parentKey'], - 'addNewButon' => $keys[$linkedViewId]['addNewButton']); - // load the body - if (!isset($bucket[$tabCodeName][3])) - { - $bucket[$tabCodeName][3] = ''; - } - $bucket[$tabCodeName][3] .= "<?php echo JLayoutHelper::render('".$viewName_single.".".$layoutCodeName."', \$this); ?>"; - } - // width calculator :) - if ($tabWidth == 8) - { - $mainwidth = 8; - $sidewidth = 2; - } - elseif ($tabWidth == 10 && $mainwidth != 8) - { - $mainwidth = 9; - $sidewidth = 3; - } - $bucket[$tabCodeName]['lr'] = $lrCounter; - } - // tab counter - $tabCounter = 0; - // check if width is still 12 - $span = ''; - if ($mainwidth != 12) - { - $span = ' span'.$mainwidth; - } - // start building body - $body = '<div class="form-horizontal'.$span.'">'; - // now build the template - foreach ($bucket as $tabCodeName => $posions) - { - // check main if both left and right is set - $lrCounter = $posions['lr']; - // get lang string - $tabLangName = $posions['lang']; - // build main center - $main = ''; - $mainbottom = ''; - foreach ($posions as $posion => $string) - { - if ($lrCounter == 2) - { - switch($posion) - { - case 1: // left - case 2: // right - $main .= "\n\t\t\t".'<div class="span6">'; - $main .= "\n\t\t\t\t".$string; - $main .= "\n\t\t\t".'</div>'; - break; - } - } - else - { - switch($posion) - { - case 1: // left - case 2: // right - $main .= "\n\t\t\t".'<div class="span12">'; - $main .= "\n\t\t\t\t".$string; - $main .= "\n\t\t\t".'</div>'; - break; - } - } - switch($posion) - { - case 3: // fullwidth - $mainbottom .= "\n\t\t\t".'<div class="span12">'; - $mainbottom .= "\n\t\t\t\t".$string; - $mainbottom .= "\n\t\t\t".'</div>'; - break; - } - } - // set acctive tab - if ($tabCounter == 0) - { - $body .= "\n\n\t<?php echo JHtml::_('bootstrap.startTabSet', '".$viewName_single."Tab', array('active' => '".$tabCodeName."')); ?>"; - } - // if this is a linked view set permissions - $closeIT = false; - if(isset($linkedViewIdentifier) && ComponentbuilderHelper::checkArray($linkedViewIdentifier) && in_array($tabCodeName,$linkedViewIdentifier)) - { - // get view name - $linkedViewId = array_search($tabCodeName,$linkedViewIdentifier); - $linkedViewData = $this->getAdminViewData($linkedViewId); - $linkedCodeName = ComponentbuilderHelper::safeString($linkedViewData->name_single); - // setup correct core target - $coreLoadLinked = false; - if (isset($this->permissionCore[$linkedCodeName])) - { - $coreLinked = $this->permissionCore[$linkedCodeName]; - $coreLoadLinked = true; - } - // check if the item has permissions. - if ($coreLoadLinked && isset($coreLinked['core.access']) && isset($this->permissionBuilder['global'][$coreLinked['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$coreLinked['core.access']]) && in_array($linkedCodeName,$this->permissionBuilder['global'][$coreLinked['core.access']])) - { - $body .= "\n\n\t<?php if (\$this->canDo->get('".$coreLinked['core.access']."')) : ?>"; - $closeIT = true; - } - else - { - $body .= "\n"; - } - // insure clear - unset($coreLoadLinked,$coreLinked,$linkedViewData); - } - else - { - $body .= "\n"; - } - // start tab - $body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeName."', JText::_('".$tabLangName."', true)); ?>"; - // add the main - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= $main; - $body .= "\n\t\t</div>"; - if (strlen($mainbottom) > 0) - { - // add the main bottom - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= $mainbottom; - $body .= "\n\t\t</div>"; - } - $body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - if($closeIT) - { - $body .= "\n\t<?php endif; ?>"; - } - // set counter - $tabCounter++; - } - // set default publishing tab lang - $tabLangName = $langView.'_PUBLISHING'; - // add to lang array - if (!isset($this->langContent[$this->lang][$tabLangName])) - { - $this->langContent[$this->lang][$tabLangName] = 'Publishing'; - } - // check if access is added to this view - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $addAccess = ",\n\t'access'"; - } - else - { - $addAccess = ""; - } - // check if metadata is added to this view - if (isset($this->metadataBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName_single])) - { - // set default publishing tab code name - $tabCodeNameLeft = 'publishing'; - $tabCodeNameRight = 'metadata'; - // the default publishing tiems - $items = "'created',\n\t'created_by',\n\t'modified',\n\t'modified_by',\n\t'published',\n\t'ordering'".$addAccess.",\n\t'version',\n\t'hits',\n\t'id'"; - // set the publishing layout - $this->setLayout($viewName_single, $tabCodeNameLeft, $items, 'layoutpublished'); - $this->setLayout($viewName_single, $tabCodeNameRight, false, 'layoutmetadata'); - } - else - { - // set default publishing tab code name - $tabCodeNameLeft = 'publishing'; - $tabCodeNameRight = 'publlshing'; - // the default publishing tiems - $items_one = "'created',\n\t'created_by',\n\t'modified',\n\t'modified_by'"; - $items_two = "'published',\n\t'ordering'".$addAccess.",\n\t'version',\n\t'hits',\n\t'id'"; - // set the publishing layout - $this->setLayout($viewName_single, $tabCodeNameLeft, $items_one, 'layoutpublished'); - $this->setLayout($viewName_single, $tabCodeNameRight, $items_two, 'layoutpublished'); - } - // check if the item has permissions. - $publishingPer = array(); - $allToBeChekced = array('core.delete','core.edit.created_by','core.edit.state','core.edit.created'); - foreach ($allToBeChekced as $core_permission) - { - if ($coreLoad && isset($core[$core_permission]) && isset($this->permissionBuilder['global'][$core[$core_permission]]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core[$core_permission]]) && in_array($viewName_single,$this->permissionBuilder['global'][$core[$core_permission]])) - { - // set permissions. - $publishingPer[] = "\$this->canDo->get('".$core[$core_permission]."')"; - } - else - { - // set permissions. - $publishingPer[] = "\$this->canDo->get('".$core_permission."')"; - } - } - $body .= "\n\n\t<?php if (".implode(' || ', $publishingPer).") : ?>"; - // set the default publishing tab - $body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeNameLeft."', JText::_('".$tabLangName."', true)); ?>"; - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= "\n\t\t\t".'<div class="span6">'; - $body .= "\n\t\t\t\t<?php echo JLayoutHelper::render('".$viewName_single.".".$tabCodeNameLeft."', \$this); ?>"; - $body .= "\n\t\t\t</div>"; - $body .= "\n\t\t\t".'<div class="span6">'; - $body .= "\n\t\t\t\t<?php echo JLayoutHelper::render('".$viewName_single.".".$tabCodeNameRight."', \$this); ?>"; - $body .= "\n\t\t\t</div>"; - $body .= "\n\t\t</div>"; - $body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - $body .= "\n\t<?php endif; ?>"; - // make sure we dont load it to a view with the name component - if ($viewName_single != 'component') - { - // set permissions tab lang - $tabLangName = $langView.'_PERMISSION'; - // set permissions tab code name - $tabCodeName = 'permissions'; - // add to lang array - if (!isset($this->langContent[$this->lang][$tabLangName])) - { - $this->langContent[$this->lang][$tabLangName] = 'Permissions'; - } - // set the permissions tab - $body .= "\n\n\t<?php if (\$this->canDo->get('core.admin')) : ?>"; - $body .= "\n\t<?php echo JHtml::_('bootstrap.addTab', '".$viewName_single."Tab', '".$tabCodeName."', JText::_('".$tabLangName."', true)); ?>"; - $body .= "\n\t\t".'<div class="row-fluid form-horizontal-desktop">'; - $body .= "\n\t\t\t".'<div class="span12">'; - $body .= "\n\t\t\t\t".'<fieldset class="adminform">'; - $body .= "\n\t\t\t\t\t".'<div class="adminformlist">'; - $body .= "\n\t\t\t\t\t<?php foreach (\$this->form->getFieldset('accesscontrol') as \$field): ?>"; - $body .= "\n\t\t\t\t\t\t<div>"; - $body .= "\n\t\t\t\t\t\t\t<?php echo \$field->label; echo \$field->input;?>"; - $body .= "\n\t\t\t\t\t\t</div>"; - $body .= "\n\t\t\t\t\t\t".'<div class="clearfix"></div>'; - $body .= "\n\t\t\t\t\t<?php endforeach; ?>"; - $body .= "\n\t\t\t\t\t</div>"; - $body .= "\n\t\t\t\t</fieldset>"; - $body .= "\n\t\t\t</div>"; - $body .= "\n\t\t</div>"; - $body .= "\n\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - $body .= "\n\t<?php endif; ?>"; - } - // end the tab set - $body .= "\n\n\t<?php echo JHtml::_('bootstrap.endTabSet'); ?>"; - $body .= "\n\n\t<div>"; - $body .= "\n\t\t".'<input type="hidden" name="task" value="'.$viewName_single.'.edit" />'; - $body .= "\n\t\t<?php echo JHtml::_('form.token'); ?>"; - $body .= "\n\t</div>"; - $body .= "\n</div>"; - // check if left has been set - if (strlen($leftside) > 0 ) - { - $left = '<div class="span'.$sidewidth.'">'.$leftside."\n</div>"; - } - else - { - $left = ''; - } - // check if right has been set - if (strlen($rightside) > 0 ) - { - $right = '<div class="span'.$sidewidth.'">'.$rightside."\n</div>"; - } - else - { - $right = ''; - } - // set active tab and return - return $header.$left.$body.$right.$footer; - } - return ''; - } - - protected function setLayout($viewName_single, $layoutName, $items, $type) - { - // first build the layout file - $target = array('admin' => $viewName_single); - $this->buildDynamique($target,$type,$layoutName); - // add to front if needed - if ($this->lang == 'both') - { - $target = array('site' => $viewName_single); - $this->buildDynamique($target,$type,$layoutName); - } - if (ComponentbuilderHelper::checkString($items)) - { - // ###LAYOUTITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single.'_'.$layoutName]['###LAYOUTITEMS###'] = $items; - } - else - { - // ###LAYOUTITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single.'_'.$layoutName]['###bogus###'] = 'boom'; - } - } - - protected function setLinkedView($args) - { - extract($args, EXTR_PREFIX_SAME, "oops"); - $single = ''; - $list = ''; - foreach ($this->componentData->admin_views as $array) - { - if ($array['adminview'] == $viewId) - { - $single = ComponentbuilderHelper::safeString($array['settings']->name_single); - $list = ComponentbuilderHelper::safeString($array['settings']->name_list); - break; - } - } - if (ComponentbuilderHelper::checkString($single) && ComponentbuilderHelper::checkString($list)) - { - $head = $this->setListHeadLinked($single,$list,$addNewButon); - $body = $this->setListBodyLinked($single,$list,$viewName_single); - $functionName = ComponentbuilderHelper::safeString($codeName,'F'); - // ###LAYOUTITEMSTABLE### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSTABLE###'] = $head.$body; - // ###LAYOUTITEMSHEADER### <<<DYNAMIC>>> - $headerscript = '$edit = "index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$list.'&task='.$single.'.edit";'; - if ($addNewButon) - { - $headerscript .= "\n".'$ref = ($id) ? "&ref='.$viewName_single.'&refid=".$id : "";'; - $headerscript .= "\n".'$new = "index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$single.'&layout=edit".$ref;'; - $headerscript .= "\n".'$can = '.$this->fileContentStatic['###Component###'].'Helper::getActions('."'".$single."'".');'; - } - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSHEADER###'] = $headerscript; - // ###LINKEDVIEWITEMS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWITEMS###'] .= "\n\n\t\t//".$this->setLine(__LINE__)." Get Linked view data\n\t\t\$this->".$codeName."\t\t= \$this->get('".$functionName."');"; - // ###LINKEDVIEWTABLESCRIPTS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWTABLESCRIPTS###'] = $this->setFootableScripts(); - if(strpos($parentKey, '-R>') !== false || strpos($parentKey, '-A>') !== false) - { - list($parent_key) = explode('-',$parentKey); - } - else - { - $parent_key = $parentKey; - } - if(strpos($key, '-R>') !== false || strpos($key, '-A>') !== false) - { - list($_key) = explode('-',$key); - } - else - { - $_key = $key; - } - // set the global key - $globalKey = ComponentbuilderHelper::safeString($_key.ComponentbuilderHelper::randomkey(4)); - // ###LINKEDVIEWGLOBAL### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWGLOBAL###'] .= "\n\t\t\$this->".$globalKey." = \$item->".$parent_key.";"; - // ###LINKEDVIEWMETHODS### <<<DYNAMIC>>> - $this->fileContentDynamic[$viewName_single]['###LINKEDVIEWMETHODS###'] .= $this->setListQueryLinked($single, $list, $functionName, $key, $_key, $parentKey, $parent_key, $globalKey); - } - else - { - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSTABLE###'] = 'oops! error.....'; - $this->fileContentDynamic[$viewName_single.'_'.$layoutCodeName]['###LAYOUTITEMSHEADER###'] = ''; - } - } - - protected function setFootableScripts($init = true, $document = '$document') - { - $foo = "\n\n\t\t//".$this->setLine(__LINE__)." Add the CSS for Footable."; - $foo .= "\n\t\t".$document."->addStyleSheet(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/css/footable.core.min.css');"; - $foo .= "\n\n\t\t//".$this->setLine(__LINE__)." Use the Metro Style"; - $foo .= "\n\t\tif (!isset(\$this->fooTableStyle) || 0 == \$this->fooTableStyle)"; - $foo .= "\n\t\t{"; - $foo .= "\n\t\t\t".$document."->addStyleSheet(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/css/footable.metro.min.css');"; - $foo .= "\n\t\t}"; - $foo .= "\n\t\t//".$this->setLine(__LINE__)." Use the Legacy Style."; - $foo .= "\n\t\telseif (isset(\$this->fooTableStyle) && 1 == \$this->fooTableStyle)"; - $foo .= "\n\t\t{"; - $foo .= "\n\t\t\t".$document."->addStyleSheet(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/css/footable.standalone.min.css');"; - $foo .= "\n\t\t}"; - $foo .= "\n\n\t\t//".$this->setLine(__LINE__)." Add the JavaScript for Footable"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.js');"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.sort.js');"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.filter.js');"; - $foo .= "\n\t\t".$document."->addScript(JURI::root() .'media/com_".$this->fileContentStatic['###component###']."/footable/js/footable.paginate.js');"; - if ($init) - { - $foo .= "\n\n\t\t".'$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('."'.footable'".').footable(); }); jQuery('."'.nav-tabs'".').on('."'click'".', '."'li'".', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('."'.footable'".').trigger('."'footable_resize'".'); }";'; - $foo .= "\n\t\t\$document->addScriptDeclaration(\$footable);\n"; - } - return $foo; - } - - protected function setListBodyLinked($viewName_single,$viewName_list,$refview) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - // make sure the custom links are only added once - $firstTimeBeingAdded = true; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - $counter = 0; - // add the default - $body = "\n<tbody>"; - $body .= "\n<?php foreach (\$items as \$i => \$item): ?>"; - $body .= "\n\t<?php"; - $body .= "\n\t\t\$canCheckin = \$user->authorise('core.manage', 'com_checkin') || \$item->checked_out == \$user->id || \$item->checked_out == 0;"; - $body .= "\n\t\t\$userChkOut = JFactory::getUser(\$item->checked_out);"; - $body .= "\n\t\t\$canDo = ".$Helper."::getActions('".$viewName_single."',\$item,'".$viewName_list."');"; - $body .= "\n\t?>"; - $body .= "\n\t".'<tr>'; - // check if this view has fields that should not be escaped - $doNotEscape = false; - if (isset($this->doNotEscape[$viewName_list])) - { - $doNotEscape = true; - } - // start adding the dynamic - foreach ($this->listBuilder[$viewName_list] as $item) - { - $counter++; - $checkoutTriger = false; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom'])) - { - $item['id'] = $item['code']; - $item['code'] = $item['code'].'_'.$item['custom']['text']; - } - // check if translated vlaue is used - if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list]) - && array_key_exists($item['code'],$this->selectionTranslationFixBuilder[$viewName_list])) - { - $itemCode = '<?php echo JText::_($item->'.$item['code'].'); ?>'; - } - elseif ($item['custom']['text'] == 'user') - { - $itemCode = '<?php echo JFactory::getUser((int)$item->'.$item['code'].')->name; ?>'; - } - elseif ($doNotEscape) - { - if (in_array($item['code'], $this->doNotEscape[$viewName_list])) - { - $itemCode = '<?php echo $item->'.$item['code'].'; ?>'; - } - else - { - $itemCode = '<?php echo $displayData->escape($item->'.$item['code'].'); ?>'; - } - } - else - { - $itemCode = '<?php echo $displayData->escape($item->'.$item['code'].'); ?>'; - } - - if ($item['link']) - { - // allways rest custom links - $customAdminView = ''; - // if to be linked - if ($item['type'] == 'category' && !$item['title']) - { - $otherViews = $this->catCodeBuilder[$viewName_single]['views']; - // category and linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$otherViews.".category.' . (int)\$item->".$item['code'].")): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->'.$item['code'].'; ?>&extension=com_'.$this->fileContentStatic['###component###'].'.'.$otherViews.'"><?php echo $displayData->escape($item->category_title); ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$displayData->escape(\$item->category_title); ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - elseif ($item['type'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$itemUser = JFactory::getUser(\$item->user); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->user ?>"><?php echo $itemUser->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$itemUser->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - $add = true; - if (isset($item['custom']) && ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] != 'user' && !$item['title']) - { - if ($refview == $item['custom']['view']) - { - // normal not linked - $body .= "\n\t\t<td>"; - $body .= "\n\t\t\t".$itemCode; - $body .= "\n\t\t</td>"; - - $add = false; - } - else - { - // link to that item instead - $link = 'index.php?option='.$item['custom']['component'].'&view='.$item['custom']['views'].'&task='.$item['custom']['view'].'.edit&id=<?php echo $item->'.$item['id'].'; ?>&ref='.$refview.'&refid=<?php echo $id; ?>'; - - - $coreLoadLink = false; - if (isset($this->permissionCore[$item['custom']['view']])) - { - $coreLink = $this->permissionCore[$item['custom']['view']]; - $coreLoadLink = true; - } - // check if the item has permissions. - if ($coreLoadLink && isset($this->permissionBuilder[$coreLink['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$coreLink['core.edit']]) && in_array($item['custom']['view'],$this->permissionBuilder[$coreLink['core.edit']])) - { - $accessCheck = "\$user->authorise('".$coreLink['core.edit']."', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - else - { - $accessCheck = "\$user->authorise('core.edit', 'com_".$this->fileContentStatic['###component###'].".".$item['custom']['view'].".' . (int)\$item->".$item['id'].")"; - } - } - } - elseif (ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user' && !$item['title']) - { - // user and linked - $body .= "\n\t\t<?php \$_".$item['id']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $_'.$item['id'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$_".$item['id']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - - $add = false; - } - else - { - $link = '<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref='.$refview.'&refid=<?php echo $id; ?>'; - // check if custom links should be added to this list views - if (isset($this->customAdminViewListLink[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminViewListLink[$viewName_list]) && $firstTimeBeingAdded) - { - // make sure the custom links are only added once - $firstTimeBeingAdded = false; - // start building the links - $customAdminView = "\n\t\t\t".'<div class="btn-group">'; - foreach ($this->customAdminViewListLink[$viewName_list] as $customLinkView) - { - $customAdminView .= "\n\t\t\t<?php if (\$canDo->get('".$customLinkView['link'].".access')): ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini" href="index.php?option=com_'.$this->fileContentStatic['###component###'].'&view='.$customLinkView['link'].'&id=<?php echo $item->id; ?>&ref='.$refview.'&refid=<?php echo $id; ?>" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>" ><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php else: ?>"; - $customAdminView .= "\n\t\t\t\t".'<a class="hasTooltip btn btn-mini disabled" href="#" title="<?php echo JText::_('."'COM_".$this->fileContentStatic['###COMPONENT###'].'_'.$customLinkView['NAME']."'".'); ?>"><span class="icon-'.$customLinkView['icon'].'"></span></a>'; - $customAdminView .= "\n\t\t\t<?php endif; ?>"; - } - $customAdminView .= "\n\t\t\t".'</div>'; - - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - // set permissions. - $accessCheck = "\$canDo->get('".$core['core.edit']."')"; - } - else - { - // set permissions. - $accessCheck = "\$canDo->get('core.edit')"; - } - // triger the checked out script to be added - $checkoutTriger = true; - } - - if ($add) - { - // set as linked - $body .= "\n\t\t".'<td class="nowrap">'; - $body .= "\n\t\t\t<?php if (".$accessCheck."): ?>"; - $body .= "\n\t\t\t\t".'<a href="'.$link.'">'.$itemCode.'</a>'; - if ($checkoutTriger) - { - $body .= "\n\t\t\t\t\t<?php if (\$item->checked_out): ?>"; - $body .= "\n\t\t\t\t\t\t<?php echo JHtml::_('jgrid.checkedout', \$i, \$userChkOut->name, \$item->checked_out_time, '".$viewName_list.".', \$canCheckin); ?>"; - $body .= "\n\t\t\t\t\t<?php endif; ?>"; - } - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t".'<div class="name">'.$itemCode.'</div>'; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= $customAdminView; - $body .= "\n\t\t</td>"; - } - } - } - else - { - if ($item['type'] == 'category') - { - $body .= "\n\t\t<td>"; - $body .= "\n\t\t\t<?php echo \$displayData->escape(\$item->category_title); ?>"; - $body .= "\n\t\t</td>"; - } - elseif (ComponentbuilderHelper::checkArray($item['custom']) && $item['custom']['extends'] == 'user') - { - // custom user and linked - $body .= "\n\t\t<?php \$_".$item['code']." = JFactory::getUser(\$item->".$item['id']."); ?>"; - $body .= "\n\t\t".'<td>'; - $body .= "\n\t\t\t<?php if (\$user->authorise('core.edit', 'com_users')): ?>"; - $body .= "\n\t\t\t\t".'<a href="index.php?option=com_users&task=user.edit&id=<?php echo (int) $item->'.$item['id'].' ?>"><?php echo $_'.$item['code'].'->name; ?></a>'; - $body .= "\n\t\t\t<?php else: ?>"; - $body .= "\n\t\t\t\t<?php echo \$_".$item['code']."->name; ?>"; - $body .= "\n\t\t\t<?php endif; ?>"; - $body .= "\n\t\t</td>"; - } - else - { - // normal not linked - $body .= "\n\t\t<td>"; - $body .= "\n\t\t\t".$itemCode; - $body .= "\n\t\t</td>"; - } - } - } - $counter = $counter + 2; - // add the defaults - $body .= "\n\t\t<?php if (\$item->published == 1):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="1">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-published" title="<?php echo JText::_('."'PUBLISHED'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'PUBLISHED'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - - $body .= "\n\t\t<?php elseif (\$item->published == 0):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="2">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-inactive" title="<?php echo JText::_('."'INACTIVE'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'INACTIVE'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - - $body .= "\n\t\t<?php elseif (\$item->published == 2):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="3">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-archived" title="<?php echo JText::_('."'ARCHIVED'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'ARCHIVED'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - - $body .= "\n\t\t<?php elseif (\$item->published == -2):?>"; - $body .= "\n\t\t\t".'<td class="center" data-value="4">'; - $body .= "\n\t\t\t\t".'<span class="status-metro status-trashed" title="<?php echo JText::_('."'ARCHIVED'".'); ?>">'; - $body .= "\n\t\t\t\t\t".'<?php echo JText::_('."'ARCHIVED'".'); ?>'; - $body .= "\n\t\t\t\t".'</span>'; - $body .= "\n\t\t\t".'</td>'; - $body .= "\n\t\t".'<?php endif; ?>'; - - $body .= "\n\t\t".'<td class="nowrap center hidden-phone">'; - $body .= "\n\t\t\t<?php echo \$item->id; ?>"; - $body .= "\n\t\t</td>"; - $body .= "\n\t</tr>"; - $body .= "\n<?php endforeach; ?>"; - $body .= "\n</tbody>"; - $body .= "\n".'<tfoot class="hide-if-no-paging">'; - $body .= "\n\t".'<tr>'; - $body .= "\n\t\t".'<td colspan="'.$counter.'">'; - $body .= "\n\t\t\t".'<div class="pagination pagination-centered"></div>'; - $body .= "\n\t\t".'</td>'; - $body .= "\n\t".'</tr>'; - $body .= "\n".'</tfoot>'; - $body .= "\n".'</table>'; - $body .= "\n".'<?php else: ?>'; - $body .= "\n\t".'<div class="alert alert-no-items">'; - $body .= "\n\t\t".'<?php echo JText::_('."'JGLOBAL_NO_MATCHING_RESULTS'".'); ?>'; - $body .= "\n\t".'</div>'; - $body .= "\n".'<?php endif; ?>'; - // return the build - return $body; - } - return ''; - } - - protected function setListHeadLinked($viewName_single,$viewName_list,$addNewButon) - { - if (isset($this->listBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->listBuilder[$viewName_list])) - { - // component helper name - $Helper = $this->fileContentStatic['###Component###'].'Helper'; - $head = ''; - // only add new button if set - if ($addNewButon) - { - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - // set permissions. - $accessCheck = "\$can->get('".$core['core.create']."')"; - } - else - { - // set permissions. - $accessCheck = "\$can->get('core.create')"; - } - // add a button for new - $head = '<?php if ('.$accessCheck.'): ?>'; - $head .= "\n\t".'<a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('."'".$this->langPrefix."_NEW'".'); ?></a><br /><br />'; - $head .= "\n".'<?php endif; ?>'."\n"; - } - $head .= '<?php if ('.$Helper.'::checkArray($items)): ?>'; - // add some filters - - $head .= "\n".'<table class="footable table data '.$viewName_list.' metro-blue" data-filter="#filter_'.$viewName_list.'" data-page-size="20">'; - $head .= "\n<thead>"; - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($viewName_single,'U'); - // set status lang - $statusLangName = $langView.'_STATUS'; - // set id lang - $idLangName = $langView.'_ID'; - // make sure only first link is used as togeler - $firstLink = true; - // add to lang array - if (!isset($this->langContent[$this->lang][$statusLangName])) - { - $this->langContent[$this->lang][$statusLangName] = 'Status'; - } - // add to lang array - if (!isset($this->langContent[$this->lang][$idLangName ])) - { - $this->langContent[$this->lang][$idLangName] = 'Id'; - } - $head .= "\n\t<tr>"; - // set controller for data hiding options - $controller = 1; - // build the dynamic fields - foreach ($this->listBuilder[$viewName_list] as $item) - { - $setin = 'data-hide="phone"'; - if ($controller > 3) - { - $setin = 'data-hide="phone,tablet"'; - } - - if ($controller > 6) - { - $setin = 'data-hide="all"'; - } - - if ($item['link'] && $firstLink) - { - $setin = 'data-toggle="true"'; - $firstLink = false; - } - $head .= "\n\t\t<th ".$setin.">"; - $head .= "\n\t\t\t<?php echo JText::_('".$item['lang']."'); ?>"; - $head .= "\n\t\t</th>"; - $controller++; - } - // set default - $head .= "\n\t\t".'<th width="10" data-hide="phone,tablet">'; - $head .= "\n\t\t\t<?php echo JText::_('".$statusLangName."'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t\t".'<th width="5" data-type="numeric" data-hide="phone,tablet">'; - $head .= "\n\t\t\t<?php echo JText::_('".$idLangName."'); ?>"; - $head .= "\n\t\t</th>"; - $head .= "\n\t</tr>"; - $head .= "\n</thead>"; - - return $head; - } - return ''; - } - - protected function setListQueryLinked($viewName_single, $viewName_list, $functionName, $key, $_key, $parentKey, $parent_key, $globalKey) - { - // check if this view has category added - if (isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])) - { - $categoryCodeName = $this->categoryBuilder[$viewName_list]['code']; - $addCategory = true; - } - else - { - $addCategory = false; - } - $query = "\n\n\t/**"; - $query .= "\n\t* Method to get list data."; - $query .= "\n\t*"; - $query .= "\n\t* @return mixed An array of data items on success, false on failure."; - $query .= "\n\t*/"; - $query .= "\n\tpublic function get".$functionName."()"; - $query .= "\n\t{"; - // setup the query - $query .= "\n\t\t//".$this->setLine(__LINE__)." Get the user object."; - $query .= "\n\t\t\$user = JFactory::getUser();"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $query .= "\n\t\t\$db = JFactory::getDBO();"; - $query .= "\n\t\t\$query = \$db->getQuery(true);"; - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Select some fields"; - $query .= "\n\t\t\$query->select('a.*');"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->select(\$db->quoteName('c.title','category_title'));"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." From the ".$this->fileContentStatic['###component###']."_".$viewName_single." table"; - $query .= "\n\t\t\$query->from(\$db->quoteName('#__".$this->fileContentStatic['###component###']."_".$viewName_single."', 'a'));"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->join('LEFT', \$db->quoteName('#__categories', 'c') . ' ON (' . \$db->quoteName('a.".$categoryCodeName."') . ' = ' . \$db->quoteName('c.id') . ')');"; - } - // add custom filtering php - if (isset($this->customScriptBuilder['php_getlistquery'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getlistquery'][$viewName_single])) - { - $query .= "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getlistquery'][$viewName_single]); - } - // add the custom fields query - $query .= $this->setCustomQuery($viewName_list, $viewName_single); - if ($key && strpos($key,'-R>') === false && strpos($key,'-A>') === false && strpos($parentKey,'-R>') === false && strpos($parentKey,'-A>') === false) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." global."; - $query .= "\n\t\t\$".$globalKey." = \$this->".$globalKey.";"; - $query .= "\n\t\tif (is_numeric(\$".$globalKey." ))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.".$key." = ' . (int) \$".$globalKey." );"; - $query .= "\n\t\t}"; - $query .= "\n\t\telseif (is_string(\$".$globalKey."))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.".$key." = ' . \$db->quote(\$".$globalKey."));"; - $query .= "\n\t\t}"; - $query .= "\n\t\telse"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.".$key." = -5');"; - $query .= "\n\t\t}"; - } - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Join over the asset groups."; - $query .= "\n\t\t\$query->select('ag.title AS access_level');"; - $query .= "\n\t\t\$query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Filter by access level."; - $query .= "\n\t\tif (\$access = \$this->getState('filter.access'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.access = ' . (int) \$access);"; - $query .= "\n\t\t}"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Implement View Level Access"; - $query .= "\n\t\tif (!\$user->authorise('core.options', 'com_".$this->fileContentStatic['###component###']."'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$groups = implode(',', \$user->getAuthorisedViewLevels());"; - $query .= "\n\t\t\t\$query->where('a.access IN (' . \$groups . ')');"; - $query .= "\n\t\t}"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Order the results by ordering"; - $query .= "\n\t\t\$query->order('a.ordering ASC');"; - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Load the items"; - $query .= "\n\t\t\$db->setQuery(\$query);"; - $query .= "\n\t\t\$db->execute();"; - $query .= "\n\t\tif (\$db->getNumRows())"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$items = \$db->loadObjectList();"; - // ###STORE_METHOD_FIX### <<<DYNAMIC>>> - $query .= $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###'],"\t"); - // ###SELECTIONTRANSLATIONFIX### <<<DYNAMIC>>> - $query .= $this->setSelectionTranslationFix($viewName_list,$this->fileContentStatic['###Component###'],"\t"); - - // filter by child repetable field values - if ($key && strpos($key,'-R>') !== false && strpos($key,'-A>') === false) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." Repetable Field"; - $query .= "\n\t\t\$".$globalKey." = \$this->".$globalKey.";"; - } - // filter by child array field values - if ($key && strpos($key,'-R>') === false && strpos($key,'-A>') !== false) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." Array Field"; - $query .= "\n\t\t\$".$globalKey." = \$this->".$globalKey.";"; - - } - // filter by parent repetable field values - if ($key && strpos($parentKey,'-R>') !== false && strpos($parentKey,'-A>') === false) - { - list($bin,$target) = explode('-R>',$parentKey); - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Filter by ".$_key." Repetable Field"; - $query .= "\n\t\t\t\$".$globalKey." = json_decode(\$this->".$globalKey.",true);"; - $query .= "\n\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$items) && isset(\$".$globalKey.") && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."))"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\tforeach (\$items as \$nr => &\$item)"; - $query .= "\n\t\t\t\t{"; - $query .= "\n\t\t\t\t\tif (\$item->".$_key." && isset(\$".$globalKey."['".$target."']) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."['".$target."']))"; - $query .= "\n\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\tif (!in_array(\$item->".$_key.",\$".$globalKey."['".$target."']))"; - $query .= "\n\t\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\t\tunset(\$items[\$nr]);"; - $query .= "\n\t\t\t\t\t\t\tcontinue;"; - $query .= "\n\t\t\t\t\t\t}"; - $query .= "\n\t\t\t\t\t}"; - $query .= "\n\t\t\t\t}"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\telse"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\treturn false;"; - $query .= "\n\t\t\t}"; - } - // filter by parent array field values - if ($key && strpos($parentKey,'-R>') === false && strpos($parentKey,'-A>') !== false) - { - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Filter by ".$globalKey." Array Field"; - $query .= "\n\t\t\t\$".$globalKey." = \$this->".$globalKey.";"; - $query .= "\n\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$items) && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."))"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\tforeach (\$items as \$nr => &\$item)"; - $query .= "\n\t\t\t\t{"; - list($bin,$target) = explode('-A>',$parentKey); - if (ComponentbuilderHelper::checkString($target)) - { - $query .= "\n\t\t\t\t\tif (\$item->".$_key." && ".$this->fileContentStatic['###Component###']."Helper::checkArray(\$".$globalKey."['".$target."']))"; - $query .= "\n\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\tif (!in_array(\$item->".$_key.",\$".$globalKey."['".$target."']))"; - } - else - { - $query .= "\n\t\t\t\t\tif (\$item->".$_key.")"; - $query .= "\n\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\tif (!in_array(\$item->".$_key.",\$".$globalKey."))"; - } - $query .= "\n\t\t\t\t\t\t{"; - $query .= "\n\t\t\t\t\t\t\tunset(\$items[\$nr]);"; - $query .= "\n\t\t\t\t\t\t\tcontinue;"; - $query .= "\n\t\t\t\t\t\t}"; - $query .= "\n\t\t\t\t\t}"; - $query .= "\n\t\t\t\t}"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\telse"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\treturn false;"; - $query .= "\n\t\t\t}"; - } - - $query .= "\n\t\t\treturn \$items;"; - $query .= "\n\t\t}"; - $query .= "\n\t\treturn false;"; - $query .= "\n\t}"; - // ###SELECTIONTRANSLATIONFIXFUNC###<<<DYNAMIC>>> - $query .= $this->setSelectionTranslationFixFunc($viewName_list,$this->fileContentStatic['###Component###']); - - // fixe mothod name clash - $query = str_replace('selectionTranslation(','selectionTranslation'.$functionName.'(',$query); - - return $query; - } - - protected function setCustomAdminDynamicButton($viewName_list) - { - $buttons = ''; - if (isset($this->customAdminDynamicButtons[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminDynamicButtons[$viewName_list])) - { - $buttons = array(); - foreach ($this->customAdminDynamicButtons[$viewName_list] as $custom_button) - { - // Load to lang - $keyLang = $this->langPrefix.'_'.$custom_button['NAME']; - $this->langContent[$this->lang][$keyLang] = ComponentbuilderHelper::safeString($custom_button['name'],'Ww'); - // add cpanel button - $buttons[] = "\t\tif (\$this->canDo->get('".$custom_button['link'].".access'))"; - $buttons[] = "\t\t{"; - $buttons[] = "\t\t\t//".$this->setLine(__LINE__)." add ".$custom_button['name']." button."; - $buttons[] = "\t\t\tJToolBarHelper::custom('".$viewName_list.".redirectTo".ComponentbuilderHelper::safeString($custom_button['link'],'F')."', '".$custom_button['icon']."', '', '".$keyLang."', true);"; - $buttons[] = "\t\t}"; - } - if (ComponentbuilderHelper::checkArray($buttons)) - { - return implode("\n",$buttons); - } - } - return $buttons; - } - - protected function setCustomAdminDynamicButtonController($viewName_list) - { - $method = ''; - if (isset($this->customAdminDynamicButtons[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminDynamicButtons[$viewName_list])) - { - $method = array(); - foreach ($this->customAdminDynamicButtons[$viewName_list] as $custom_button) - { - // add the custom redirect method - $method[] = "\n\n\tpublic function redirectTo".ComponentbuilderHelper::safeString($custom_button['link'],'F')."()"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check for request forgeries"; - $method[] = "\t\tJSession::checkToken() or die(JText::_('JINVALID_TOKEN'));"; - $method[] = "\t\t//".$this->setLine(__LINE__)." check if export is allowed for this user."; - $method[] = "\t\t\$user = JFactory::getUser();"; - $method[] = "\t\tif (\$user->authorise('".$custom_button['link'].".access', 'com_".$this->fileContentStatic['###component###']."'))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the input"; - $method[] = "\t\t\t\$input = JFactory::getApplication()->input;"; - $method[] = "\t\t\t\$pks = \$input->post->get('cid', array(), 'array');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Sanitize the input"; - $method[] = "\t\t\tJArrayHelper::toInteger(\$pks);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." convert to string"; - $method[] = "\t\t\t\$ids = implode('_', \$pks);"; - $method[] = "\t\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$custom_button['link']."&cid='.\$ids, false));"; - $method[] = "\t\t\treturn;"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Redirect to the list screen with error."; - $method[] = "\t\t\$message = JText::_('".$this->langPrefix."_ACCESS_TO_".$custom_button['NAME']."_FAILED');"; - $method[] = "\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_list."', false), \$message, 'error');"; - $method[] = "\t\treturn;"; - $method[] = "\t}"; - // add to lang array - $lankey = $this->langPrefix."_ACCESS_TO_".$custom_button['NAME']."_FAILED"; - if (!isset($this->langContent[$this->lang][$lankey])) - { - $this->langContent[$this->lang][$lankey] = 'Access to '.$custom_button['link'].' was denied.'; - } - } - - return implode("\n",$method); - } - return $method; - } - - protected function setModelExportMethod($viewName_single, $viewName_list) - { - $query = ''; - if ($this->eximportView[$viewName_list]) - { - $query = "\n\n\t/**"; - $query .= "\n\t* Method to get list export data."; - $query .= "\n\t*"; - $query .= "\n\t* @return mixed An array of data items on success, false on failure."; - $query .= "\n\t*/"; - $query .= "\n\tpublic function getExportData(\$pks)"; - $query .= "\n\t{"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." setup the query"; - $query .= "\n\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$pks))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." Get the user object."; - $query .= "\n\t\t\t\$user = JFactory::getUser();"; - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $query .= "\n\t\t\t\$db = JFactory::getDBO();"; - $query .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Select some fields"; - $query .= "\n\t\t\t\$query->select('a.*');"; - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." From the ".$this->fileContentStatic['###component###']."_".$viewName_single." table"; - $query .= "\n\t\t\t\$query->from(\$db->quoteName('#__".$this->fileContentStatic['###component###']."_".$viewName_single."', 'a'));"; - $query .= "\n\t\t\t\$query->where('a.id IN (' . implode(',',\$pks) . ')');"; - // add custom filtering php - if (isset($this->customScriptBuilder['php_getlistquery'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getlistquery'][$viewName_single])) - { - $query .= "\n\n\t".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getlistquery'][$viewName_single]); - } - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." Implement View Level Access"; - $query .= "\n\t\t\tif (!\$user->authorise('core.options', 'com_".$this->fileContentStatic['###component###']."'))"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$groups = implode(',', \$user->getAuthorisedViewLevels());"; - $query .= "\n\t\t\t\t\$query->where('a.access IN (' . \$groups . ')');"; - $query .= "\n\t\t\t}"; - } - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Order the results by ordering"; - $query .= "\n\t\t\t\$query->order('a.ordering ASC');"; - $query .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Load the items"; - $query .= "\n\t\t\t\$db->setQuery(\$query);"; - $query .= "\n\t\t\t\$db->execute();"; - $query .= "\n\t\t\tif (\$db->getNumRows())"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$items = \$db->loadObjectList();"; - $query .= $this->setGetItemsMethodStringFix($viewName_single,$this->fileContentStatic['###Component###'],"\t\t",true); - $query .= "\n\t\t\t\treturn \$items;"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t}"; - $query .= "\n\t\treturn false;"; - $query .= "\n\t}"; - - $query .= "\n\n\t/**"; - $query .= "\n\t* Method to get header."; - $query .= "\n\t*"; - $query .= "\n\t* @return mixed An array of data items on success, false on failure."; - $query .= "\n\t*/"; - $query .= "\n\tpublic function getExImPortHeaders()"; - $query .= "\n\t{"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $query .= "\n\t\t\$db = JFactory::getDbo();"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." get the columns"; - $query .= "\n\t\t\$columns = \$db->getTableColumns(".'"#__'.$this->fileContentStatic['###component###'].'_'.$viewName_single.'");'; - $query .= "\n\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$columns))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t//".$this->setLine(__LINE__)." remove the headers you don't import/export."; - $query .= "\n\t\t\tunset(\$columns['asset_id']);"; - $query .= "\n\t\t\tunset(\$columns['checked_out']);"; - $query .= "\n\t\t\tunset(\$columns['checked_out_time']);"; - $query .= "\n\t\t\t\$headers = new stdClass();"; - $query .= "\n\t\t\tforeach (\$columns as \$column => \$type)"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$headers->{\$column} = \$column;"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\treturn \$headers;"; - $query .= "\n\t\t}"; - $query .= "\n\t\treturn false;"; - $query .= "\n\t}"; - } - return $query; - } - - protected function setControllerEximportMethod($viewName_single, $viewName_list) - { - $method = ''; - if (isset($this->eximportView[$viewName_list]) && $this->eximportView[$viewName_list]) - { - $method = array(); - - // add the export method - $method[] = "\n\n\tpublic function exportData()"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check for request forgeries"; - $method[] = "\t\tJSession::checkToken() or die(JText::_('JINVALID_TOKEN'));"; - $method[] = "\t\t//".$this->setLine(__LINE__)." check if export is allowed for this user."; - $method[] = "\t\t\$user = JFactory::getUser();"; - $method[] = "\t\tif (\$user->authorise('".$viewName_single.".export', 'com_".$this->fileContentStatic['###component###']."') && \$user->authorise('core.export', 'com_".$this->fileContentStatic['###component###']."'))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the input"; - $method[] = "\t\t\t\$input = JFactory::getApplication()->input;"; - $method[] = "\t\t\t\$pks = \$input->post->get('cid', array(), 'array');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Sanitize the input"; - $method[] = "\t\t\tJArrayHelper::toInteger(\$pks);"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the model"; - $method[] = "\t\t\t\$model = \$this->getModel('".ComponentbuilderHelper::safeString($viewName_list,'F')."');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." get the data to export"; - $method[] = "\t\t\t\$data = \$model->getExportData(\$pks);"; - $method[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkArray(\$data))"; - $method[] = "\t\t\t{"; - $method[] = "\t\t\t\t//".$this->setLine(__LINE__)." now set the data to the spreadsheet"; - $method[] = "\t\t\t\t\$date = JFactory::getDate();"; - $method[] = "\t\t\t\t".$this->fileContentStatic['###Component###']."Helper::xls(\$data,'".ComponentbuilderHelper::safeString($viewName_list,'F')."_'.\$date->format('jS_F_Y'),'".ComponentbuilderHelper::safeString($viewName_list,'Ww')." exported ('.\$date->format('jS F, Y').')','".ComponentbuilderHelper::safeString($viewName_list,'w')."');"; - $method[] = "\t\t\t}"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Redirect to the list screen with error."; - $method[] = "\t\t\$message = JText::_('".$this->langPrefix."_EXPORT_FAILED');"; - $method[] = "\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_list."', false), \$message, 'error');"; - $method[] = "\t\treturn;"; - $method[] = "\t}"; - - // add the import method - $method[] = "\n\n\tpublic function importData()"; - $method[] = "\t{"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Check for request forgeries"; - $method[] = "\t\tJSession::checkToken() or die(JText::_('JINVALID_TOKEN'));"; - $method[] = "\t\t//".$this->setLine(__LINE__)." check if import is allowed for this user."; - $method[] = "\t\t\$user = JFactory::getUser();"; - $method[] = "\t\tif (\$user->authorise('".$viewName_single.".import', 'com_".$this->fileContentStatic['###component###']."') && \$user->authorise('core.import', 'com_".$this->fileContentStatic['###component###']."'))"; - $method[] = "\t\t{"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." Get the import model"; - $method[] = "\t\t\t\$model = \$this->getModel('".ComponentbuilderHelper::safeString($viewName_list,'F')."');"; - $method[] = "\t\t\t//".$this->setLine(__LINE__)." get the headers to import"; - $method[] = "\t\t\t\$headers = \$model->getExImPortHeaders();"; - $method[] = "\t\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkObject(\$headers))"; - $method[] = "\t\t\t{"; - $method[] = "\t\t\t\t//".$this->setLine(__LINE__)." Load headers to session."; - $method[] = "\t\t\t\t\$session = JFactory::getSession();"; - $method[] = "\t\t\t\t\$headers = json_encode(\$headers);"; - $method[] = "\t\t\t\t\$session->set('".$viewName_single."_VDM_IMPORTHEADERS', \$headers);"; - $method[] = "\t\t\t\t\$session->set('backto_VDM_IMPORT', '".$viewName_list."');"; - $method[] = "\t\t\t\t\$session->set('dataType_VDM_IMPORTINTO', '".$viewName_single."');"; - $method[] = "\t\t\t\t//".$this->setLine(__LINE__)." Redirect to import view."; - // add to lang array - $selectImportFileNote = $this->langPrefix."_IMPORT_SELECT_FILE_FOR_".ComponentbuilderHelper::safeString($viewName_list,'U'); - if (!isset($this->langContent[$this->lang][$selectImportFileNote])) - { - $this->langContent[$this->lang][$selectImportFileNote] = 'Select the file to import data to '.$viewName_list.'.'; - } - $method[] = "\t\t\t\t\$message = JText::_('".$selectImportFileNote."');"; - $method[] = "\t\t\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=import', false), \$message);"; - $method[] = "\t\t\t\treturn;"; - $method[] = "\t\t\t}"; - $method[] = "\t\t}"; - $method[] = "\t\t//".$this->setLine(__LINE__)." Redirect to the list screen with error."; - $method[] = "\t\t\$message = JText::_('".$this->langPrefix."_IMPORT_FAILED');"; - $method[] = "\t\t\$this->setRedirect(JRoute::_('index.php?option=com_".$this->fileContentStatic['###component###']."&view=".$viewName_list."', false), \$message, 'error');"; - $method[] = "\t\treturn;"; - $method[] = "\t}"; - return implode("\n",$method); - } - return $method; - } - - protected function setExportButton($viewName_single, $viewName_list) - { - $button = ''; - if (isset($this->eximportView[$viewName_list]) && $this->eximportView[$viewName_list]) - { - // main lang prefix - $langExport = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Export Data','U'); - // add to lang array - if (!isset($this->langContent[$this->lang][$langExport])) - { - $this->langContent[$this->lang][$langExport] = 'Export Data'; - } - $button = array(); - $button[] = "\n\n\t\t\tif (\$this->canDo->get('core.export') && \$this->canDo->get('".$viewName_single.".export'))"; - $button[] = "\t\t\t{"; - $button[] = "\t\t\t\tJToolBarHelper::custom('".$viewName_list.".exportData', 'download', '', '".$langExport."', true);"; - $button[] = "\t\t\t}"; - return implode("\n",$button); - } - return $button; - } - - protected function setImportButton($viewName_single, $viewName_list) - { - $button = ''; - if (isset($this->eximportView[$viewName_list]) && $this->eximportView[$viewName_list]) - { - // main lang prefix - $langImport = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Import Data','U'); - // add to lang array - if (!isset($this->langContent[$this->lang][$langImport])) - { - $this->langContent[$this->lang][$langImport] = 'Import Data'; - } - $button = array(); - $button[] = "\n\n\t\tif (\$this->canDo->get('core.import') && \$this->canDo->get('".$viewName_single.".import'))"; - $button[] = "\t\t{"; - $button[] = "\t\t\tJToolBarHelper::custom('".$viewName_list.".importData', 'upload', '', '".$langImport."', false);"; - $button[] = "\t\t}"; - return implode("\n",$button); - } - return $button; - } - - protected function setListQuery($viewName_single, $viewName_list) - { - // check if this view has category added - if (isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])) - { - $categoryCodeName = $this->categoryBuilder[$viewName_list]['code']; - $addCategory = true; - } - else - { - $addCategory = false; - } - // setup the query - $query = "//".$this->setLine(__LINE__)." Get the user object."; - $query .= "\n\t\t\$user = JFactory::getUser();"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $query .= "\n\t\t\$db = JFactory::getDBO();"; - $query .= "\n\t\t\$query = \$db->getQuery(true);"; - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Select some fields"; - $query .= "\n\t\t\$query->select('a.*');"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->select(\$db->quoteName('c.title','category_title'));"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." From the ".$this->fileContentStatic['###component###']."_item table"; - $query .= "\n\t\t\$query->from(\$db->quoteName('#__".$this->fileContentStatic['###component###']."_".$viewName_single."', 'a'));"; - // add the category - if ($addCategory) - { - $query .= "\n\t\t\$query->join('LEFT', \$db->quoteName('#__categories', 'c') . ' ON (' . \$db->quoteName('a.".$categoryCodeName."') . ' = ' . \$db->quoteName('c.id') . ')');"; - } - // add custom filtering php - if (isset($this->customScriptBuilder['php_getlistquery'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getlistquery'][$viewName_single])) - { - $query .= "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getlistquery'][$viewName_single]); - } - // add the custom fields query - $query .= $this->setCustomQuery($viewName_list, $viewName_single); - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by published state"; - $query .= "\n\t\t\$published = \$this->getState('filter.published');"; - $query .= "\n\t\tif (is_numeric(\$published))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.published = ' . (int) \$published);"; - $query .= "\n\t\t}"; - $query .= "\n\t\telseif (\$published === '')"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('(a.published = 0 OR a.published = 1)');"; - $query .= "\n\t\t}"; - if (isset($this->accessBuilder[$viewName_single]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName_single])) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Join over the asset groups."; - $query .= "\n\t\t\$query->select('ag.title AS access_level');"; - $query .= "\n\t\t\$query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Filter by access level."; - $query .= "\n\t\tif (\$access = \$this->getState('filter.access'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->where('a.access = ' . (int) \$access);"; - $query .= "\n\t\t}"; - $query .= "\n\t\t//".$this->setLine(__LINE__)." Implement View Level Access"; - $query .= "\n\t\tif (!\$user->authorise('core.options', 'com_".$this->fileContentStatic['###component###']."'))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$groups = implode(',', \$user->getAuthorisedViewLevels());"; - $query .= "\n\t\t\t\$query->where('a.access IN (' . \$groups . ')');"; - $query .= "\n\t\t}"; - } - // set the search query - $query .= $this->setSearchQuery($viewName_list); - // set other filters - $query .= $this->setFilterQuery($viewName_list); - // add the category - if ($addCategory) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Filter by a single or group of categories."; - $query .= "\n\t\t\$baselevel = 1;"; - $query .= "\n\t\t\$categoryId = \$this->getState('filter.category_id');"; - $query .= "\n"; - $query .= "\n\t\tif (is_numeric(\$categoryId))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$cat_tbl = JTable::getInstance('Category', 'JTable');"; - $query .= "\n\t\t\t\$cat_tbl->load(\$categoryId);"; - $query .= "\n\t\t\t\$rgt = \$cat_tbl->rgt;"; - $query .= "\n\t\t\t\$lft = \$cat_tbl->lft;"; - $query .= "\n\t\t\t\$baselevel = (int) \$cat_tbl->level;"; - $query .= "\n\t\t\t\$query->where('c.lft >= ' . (int) \$lft)"; - $query .= "\n\t\t\t\t->where('c.rgt <= ' . (int) \$rgt);"; - $query .= "\n\t\t}"; - $query .= "\n\t\telseif (is_array(\$categoryId))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\tJArrayHelper::toInteger(\$categoryId);"; - $query .= "\n\t\t\t\$categoryId = implode(',', \$categoryId);"; - $query .= "\n\t\t\t\$query->where('a.category IN (' . \$categoryId . ')');"; - $query .= "\n\t\t}"; - $query .= "\n"; - } - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." Add the list ordering clause."; - $query .= "\n\t\t\$orderCol = \$this->state->get('list.ordering', 'a.id');"; - $query .= "\n\t\t\$orderDirn = \$this->state->get('list.direction', 'asc'); "; - $query .= "\n\t\tif (\$orderCol != '')"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\t\$query->order(\$db->escape(\$orderCol . ' ' . \$orderDirn));"; - $query .= "\n\t\t}"; - $query .= "\n"; - $query .= "\n\t\treturn \$query;"; - - return $query; - } - - protected function setSearchQuery($viewName_list) - { - if (isset($this->searchBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->searchBuilder[$viewName_list])) - { - // setup the searh options - $search = "'("; - foreach ($this->searchBuilder[$viewName_list] as $nr => $array) - { - // array( 'type' => $typeName, 'code' => $name, 'custom' => $custom, 'list' => $field['list']); - if ($nr == 0) - { - $search .= "a.".$array['code']." LIKE '.\$search.'"; - if (ComponentbuilderHelper::checkArray($array['custom']) && 1 == $array['list']) - { - $search .= " OR ".$array['custom']['db'].".".$array['custom']['text']." LIKE '.\$search.'"; - } - } - else - { - $search .= " OR a.".$array['code']." LIKE '.\$search.'"; - if (ComponentbuilderHelper::checkArray($array['custom']) && 1 == $array['list']) - { - $search .= " OR ".$array['custom']['db'].".".$array['custom']['text']." LIKE '.\$search.'"; - } - } - } - $search .= ")'"; - // now setup query - $query = "\n\t\t//".$this->setLine(__LINE__)." Filter by search."; - $query .= "\n\t\t\$search = \$this->getState('filter.search');"; - $query .= "\n\t\tif (!empty(\$search))"; - $query .= "\n\t\t{"; - $query .= "\n\t\t\tif (stripos(\$search, 'id:') === 0)"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$query->where('a.id = ' . (int) substr(\$search, 3));"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t\telse"; - $query .= "\n\t\t\t{"; - $query .= "\n\t\t\t\t\$search = \$db->quote('%' . \$db->escape(\$search, true) . '%');"; - $query .= "\n\t\t\t\t\$query->where(".$search.");"; - $query .= "\n\t\t\t}"; - $query .= "\n\t\t}"; - $query .= "\n"; - - return $query; - } - return ''; - } - - protected function setCustomQuery($viewName_list, $viewName_single) - { - if (isset($this->customBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customBuilder[$viewName_list])) - { - $query = ""; - foreach ($this->customBuilder[$viewName_list] as $filter) - { - if (isset($this->customBuilderList[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customBuilderList[$viewName_list]) && in_array($filter['code'],$this->customBuilderList[$viewName_list])) - { - $query .= "\n\n\t\t//".$this->setLine(__LINE__)." From the ".ComponentbuilderHelper::safeString(ComponentbuilderHelper::safeString($filter['custom']['table'],'w'))." table."; - $query .= "\n\t\t\$query->select(\$db->quoteName('".$filter['custom']['db'].".".$filter['custom']['text']."','".$filter['code']."_".$filter['custom']['text']."'));"; - $query .= "\n\t\t\$query->join('LEFT', \$db->quoteName('".$filter['custom']['table']."', '".$filter['custom']['db']."') . ' ON (' . \$db->quoteName('a.".$filter['code']."') . ' = ' . \$db->quoteName('".$filter['custom']['db'].".".$filter['custom']['id']."') . ')');"; - } - // build the field type file - $this->setCustomFieldTypeFile($filter, $viewName_list, $viewName_single); - } - return $query; - } - } - - protected function setCustomFieldTypeFile($data, $viewName_list, $viewName_single) - { - // make sure it is not already been build - if (!isset($this->fileContentDynamic['customfield_'.$data['type']]) || !ComponentbuilderHelper::checkArray($this->fileContentDynamic['customfield_'.$data['type']])) - { - // first build the custom field type file - $target = array('admin' => 'customfield'); - $this->buildDynamique($target,'field'.$data['custom']['extends'],$data['custom']['type']); - // set tab and break replacements - $tabBreak = array( - '\t' => "\t", - '\n' => "\n" - ); - // make field dynamic - $replace = array( - '###TABLE###' => $data['custom']['table'], - '###ID###' => $data['custom']['id'], - '###TEXT###' => $data['custom']['text'], - '###CODE_TEXT###' => $data['code'].'_'.$data['custom']['text'], - '###CODE###' => $data['code'], - '###component###' => $this->fileContentStatic['###component###'], - '###Component###' => $this->fileContentStatic['###Component###'], - '###view_type###' => $viewName_single.'_'.$data['type'], - '###type###' => $data['type'], - '###view###' => $viewName_single, - '###views###' => $viewName_list - ); - // now load the php script - if (isset($data['custom']['php']) && ComponentbuilderHelper::checkArray($data['custom']['php'])) - { - // make sure the ar is reset - $phpCode = ''; - foreach ($data['custom']['php'] as $line => $code) - { - if (ComponentbuilderHelper::checkString($code)) - { - if ($line == 1) - { - $phpCode .= str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - else - { - $phpCode .= "\n\t\t".str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - } - } - // replace the placholders - $phpCode = str_replace(array_keys($replace),array_values($replace),$phpCode); - } - else - { - $phpCode = 'return null;'; - } - if (!ComponentbuilderHelper::checkString($phpCode)) - { - $phpCode = 'return null;'; - } - - if ($data['custom']['extends'] == 'user') - { - // now load the php xclude script - if (ComponentbuilderHelper::checkArray($data['custom']['phpx'])) - { - // make sure the ar is reset - $phpxCode = ''; - foreach ($data['custom']['phpx'] as $line => $code) - { - if (ComponentbuilderHelper::checkString($code)) - { - if ($line == 1) - { - $phpxCode .= str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - else - { - $phpxCode .= "\n\t\t".str_replace(array_keys($tabBreak),array_values($tabBreak),$code); - } - } - } - // replace the placholders - $phpxCode = str_replace(array_keys($replace),array_values($replace),$phpxCode); - } - else - { - $phpxCode = 'return null;'; - } - if (!ComponentbuilderHelper::checkString($phpxCode)) - { - $phpxCode = 'return null;'; - } - // temp holder for name - $tempName = $data['custom']['label'].' Group'; - // set lang - $groupLangName = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($tempName,'U'); - // add to lang array - $this->langContent[$this->lang][$groupLangName] = ComponentbuilderHelper::safeString($tempName,'W'); - // build the Group Control - $this->setGroupControl[$data['type']] = $groupLangName; - // ###JFORM_GETGROUPS_PHP### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###JFORM_GETGROUPS_PHP###'] = $phpCode; - - // ###JFORM_GETEXCLUDED_PHP### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###JFORM_GETEXCLUDED_PHP###'] = $phpxCode; - } - else - { - // ###JFORM_GETOPTIONS_PHP### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###JFORM_GETOPTIONS_PHP###'] = $phpCode; - } - // ###Type### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###Type###'] = ComponentbuilderHelper::safeString($data['custom']['type'],'F'); - // ###type### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###type###'] = $data['custom']['type']; - // ###type### <<<DYNAMIC>>> - $this->fileContentDynamic['customfield_'.$data['type']]['###ADD_BUTTON###'] = $this->setAddButttonToListField($data['custom']['view']); - } - } - - protected function setAddButttonToListField($targetView) - { - $addButton = array(); - $addButton[] = "\n\t/**"; - $addButton[] = "\t * Override to add new button"; - $addButton[] = "\t *"; - $addButton[] = "\t * @return string The field input markup."; - $addButton[] = "\t *"; - $addButton[] = "\t * @since 3.2"; - $addButton[] = "\t */"; - $addButton[] = "\tprotected function getInput()"; - $addButton[] = "\t{"; - $addButton[] = "\t\t//".$this->setLine(__LINE__)." see if we should add buttons"; - $addButton[] = "\t\t\$setButton = \$this->getAttribute('button');"; - $addButton[] = "\t\t//".$this->setLine(__LINE__)." get html"; - $addButton[] = "\t\t\$html = parent::getInput();"; - $addButton[] = "\t\t//".$this->setLine(__LINE__)." if true set button"; - $addButton[] = "\t\tif (\$setButton === 'true')"; - $addButton[] = "\t\t{"; - $addButton[] = "\t\t\t\$user = JFactory::getUser();"; - $addButton[] = "\t\t\t//".$this->setLine(__LINE__)." only add if user allowed to create " . $targetView; - // get core permissions - $coreLoad = false; - if (isset($this->permissionCore[$targetView])) - { - $core = $this->permissionCore[$targetView]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($targetView,$this->permissionBuilder['global'][$core['core.create']])) - { - $addButton[] = "\t\t\tif (\$user->authorise('".$core['core.create']."', 'com_".$this->fileContentStatic['###component###']."'))"; - } - else - { - $addButton[] = "\t\t\tif (\$user->authorise('core.create', 'com_".$this->fileContentStatic['###component###']."'))"; - } - $addButton[] = "\t\t\t{"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." get the input from url"; - $addButton[] = "\t\t\t\t\$jinput = JFactory::getApplication()->input;"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." get the view name & id"; - $addButton[] = "\t\t\t\t\$values = \$jinput->getArray(array("; - $addButton[] = "\t\t\t\t\t'id' => 'int',"; - $addButton[] = "\t\t\t\t\t'view' => 'word'"; - $addButton[] = "\t\t\t\t));"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." check if new item"; - $addButton[] = "\t\t\t\t\$ref = '';"; - $addButton[] = "\t\t\t\tif (!is_null(\$values['id']) && strlen(\$values['view']))"; - $addButton[] = "\t\t\t\t{"; - $addButton[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." only load referal if not new item."; - $addButton[] = "\t\t\t\t\t\$ref = '&amp;ref=' . \$values['view'] . '&amp;refid=' . \$values['id'];"; - $addButton[] = "\t\t\t\t}"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." build the button"; - $addButton[] = "\t\t\t\t\$button = '<a class=\"btn btn-small btn-success\""; - $addButton[] = "\t\t\t\t\thref=\"index.php?option=com_" . $this->fileContentStatic['###component###'] . "&amp;view=" . $targetView . "&amp;layout=edit'.\$ref.'\" >"; - $addButton[] = "\t\t\t\t\t<span class=\"icon-new icon-white\"></span>' . JText::_('COM_".$this->fileContentStatic['###COMPONENT###']."_NEW') . '</a>';"; - $addButton[] = "\t\t\t\t//".$this->setLine(__LINE__)." return the button attached to input field"; - $addButton[] = "\t\t\t\treturn \$html . \$button;"; - $addButton[] = "\t\t\t}"; - $addButton[] = "\t\t}"; - $addButton[] = "\t\treturn \$html;"; - $addButton[] = "\t}"; - - return implode("\n",$addButton); - } - - protected function setFilterQuery($viewName_list) - { - if (isset($this->filterBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$viewName_list])) - { - $filterQuery = ""; - foreach ($this->filterBuilder[$viewName_list] as $filter) - { - if ($filter['type'] != 'category' && ComponentbuilderHelper::checkArray($filter['custom'])) - { - $filterQuery .= "\n\t\t//".$this->setLine(__LINE__)." Filter by ".$filter['code']."."; - $filterQuery .= "\n\t\tif (\$".$filter['code']." = \$this->getState('filter.".$filter['code']."'))"; - $filterQuery .= "\n\t\t{"; - $filterQuery .= "\n\t\t\t\$query->where('a.".$filter['code']." = ' . \$db->quote(\$db->escape(\$".$filter['code'].", true)));"; - $filterQuery .= "\n\t\t}"; - - } - elseif ($filter['type'] != 'category') - { - $filterQuery .= "\n\t\t//".$this->setLine(__LINE__)." Filter by ".ucwords($filter['code'])."."; - $filterQuery .= "\n\t\tif (\$".$filter['code']." = \$this->getState('filter.".$filter['code']."'))"; - $filterQuery .= "\n\t\t{"; - $filterQuery .= "\n\t\t\t\$query->where('a.".$filter['code']." = ' . \$db->quote(\$db->escape(\$".$filter['code'].", true)));"; - $filterQuery .= "\n\t\t}"; - } - } - return $filterQuery; - } - return ''; - } - - protected function buildTheViewScript($viewArray, $component) - { - // set the view name - $viewName = ComponentbuilderHelper::safeString($viewArray['settings']->name_single); - // setup the str_replace values - $placeholders = array('[[[component]]]' => $component, '[[[view]]]' => $viewName); - // add conditions to this view - if (isset($viewArray['settings']->conditions) && ComponentbuilderHelper::checkArray($viewArray['settings']->conditions)) - { - // reset defaults - $getValue = array(); - $ifValue = array(); - $targetControls = array(); - $functions = array(); - foreach ($viewArray['settings']->conditions as $condition) - { - if (isset($condition['match_name']) && ComponentbuilderHelper::checkString($condition['match_name'])) - { - $uniqueVar = ComponentbuilderHelper::randomkey(7); - $matchName = $condition['match_name'].'_'.$uniqueVar; - $targetBehavior = ($condition['target_behavior'] == 1) ? 'show' : 'hide'; - $targetDefault = ($condition['target_behavior'] == 1) ? 'hide' : 'show'; - - // make sure only one relation is set - $firstTime = true; - // set the realtation if any - if ($condition['target_relation'] && $firstTime) - { - // chain to other items of the same target - $relations = $this->getTargetRelationScript($viewArray['settings']->conditions,$condition,$viewName); - if (ComponentbuilderHelper::checkArray($relations)) - { - // set behavior and default array - $behaviors[$matchName] = $targetBehavior; - $defaults[$matchName] = $targetDefault; - // set the type buket - $typeBuket[$matchName] = $condition['match_type']; - // set function array - $functions[$uniqueVar][0] = $matchName; - $matchNames[$matchName] = $condition['match_name']; - // get the select value - $getValue[$matchName] = $this->getValueScript($condition['match_type'],$condition['match_name'],$uniqueVar); - // get the options - $options = $this->getOptionsScript($condition['match_type'],$condition['match_options']); - // set the if values - $ifValue[$matchName] = $this->ifValueScript($matchName,$condition['match_behavior'],$condition['match_type'],$options); - // set the target controls - $targetControls[$matchName] = $this->setTargetControlsScript($condition['target_field'],$targetBehavior,$targetDefault,$uniqueVar,$viewName); - - $firstTime = false; - foreach($relations as $relation) - { - if (ComponentbuilderHelper::checkString($relation['match_name'])) - { - $relationName = $relation['match_name'].'_'.$uniqueVar; - // set the type buket - $typeBuket[$relationName] = $relation['match_type']; - // set function array - $functions[$uniqueVar][] = $relationName; - $matchNames[$relationName] = $relation['match_name']; - // get the relation option - $relationOptions = $this->getOptionsScript($relation['match_type'],$relation['match_options']); - $getValue[$relationName] = $this->getValueScript($relation['match_type'],$relation['match_name'],$uniqueVar); - $ifValue[$relationName] = $this->ifValueScript($relationName,$relation['match_behavior'],$relation['match_type'],$relationOptions); - } - } - } - } - else - { - // set behavior and default array - $behaviors[$matchName] = $targetBehavior; - $defaults[$matchName] = $targetDefault; - // set the type buket - $typeBuket[$matchName] = $condition['match_type']; - // set function array - $functions[$uniqueVar][0] = $matchName; - $matchNames[$matchName] = $condition['match_name']; - // get the select value - $getValue[$matchName] = $this->getValueScript($condition['match_type'],$condition['match_name'],$uniqueVar); - // get the options - $options = $this->getOptionsScript($condition['match_type'],$condition['match_options']); - // set the if values - $ifValue[$matchName] = $this->ifValueScript($matchName,$condition['match_behavior'],$condition['match_type'],$options); - // set the target controls - $targetControls[$matchName] = $this->setTargetControlsScript($condition['target_field'],$targetBehavior,$targetDefault,$uniqueVar,$viewName); - } - } - } - // reset buckets - $initial = ''; - $func = ''; - $validation = ''; - $isSet = ''; - $listener = ''; - if (ComponentbuilderHelper::checkArray($functions)) - { - // now build the initial script - $initial .= "// Initial Script\njQuery(document).ready(function()"; - $initial .= "\n{"; - foreach ($functions as $function => $matchKeys) - { - $func_call = $this->buildFunctionCall($function,$matchKeys,$getValue); - $initial .= $func_call['code']; - } - $initial .= "});\n"; - // for modal fields - $modal = ''; - // now build the listener scripts - foreach ($functions as $l_function => $l_matchKeys) - { - $funcCall = ''; - foreach ($l_matchKeys as $l_matchKey) - { - $name = $matchNames[$l_matchKey]; - $matchTypeKey = $typeBuket[$l_matchKey]; - $funcCall = $this->buildFunctionCall($l_function,$l_matchKeys,$getValue); - if (isset($this->setScriptUserSwitch) && ComponentbuilderHelper::checkArray($this->setScriptUserSwitch) && in_array($matchTypeKey,$this->setScriptUserSwitch)) - { - $modal .= $funcCall['code']; - } - elseif(isset($this->setScriptMediaSwitch) && ComponentbuilderHelper::checkArray($this->setScriptMediaSwitch) && in_array($matchTypeKey,$this->setScriptMediaSwitch)) - { - $modal .= $funcCall['code']; - } - else - { - $listener .= "\n// #jform_".$name." listeners for ".$l_matchKey." function"; - $listener .= "\njQuery('#jform_".$name."').on('keyup',function()"; - $listener .= "\n{"; - $listener .= $funcCall['code']; - $listener .= "\n});"; - $listener .= "\njQuery('#adminForm').on('change', '#jform_".$name."',function (e)"; - $listener .= "\n{"; - $listener .= "\n\te.preventDefault();"; - $listener .= $funcCall['code']; - $listener .= "\n});\n"; - } - } - } - if (ComponentbuilderHelper::checkString($modal)) - { - $listener .= "\nwindow.SqueezeBox.initialize({"; - $listener .= "\n\tonClose:function(){"; - $listener .= $modal; - $listener .= "\n\t}"; - $listener .= "\n});\n"; - } - - // now build the function - $func = ''; - $head = ''; - foreach ($functions as $f_function => $f_matchKeys) - { - $map = ''; - // does this function require an array - $addArray = false; - $func_ = $this->buildFunctionCall($f_function,$f_matchKeys,$getValue); - // set array switch - if ($func_['array']) - { - $addArray = true; - } - $func .= "\n// the ".$f_function." function"; - $func .= "\nfunction ".$f_function."("; - $fucounter = 0; - foreach ($f_matchKeys as $fu_matchKey) - { - if (ComponentbuilderHelper::checkString($fu_matchKey)) - { - if ($fucounter == 0) - { - $func .= $fu_matchKey; - } - else - { - $func .= ','.$fu_matchKey; - } - $fucounter++; - } - } - $func .= ")"; - $func .= "\n{"; - if ($addArray) - { - foreach ($f_matchKeys as $a_matchKey) - { - $name = $matchNames[$a_matchKey]; - $func .= "\n\tif (isSet(".$a_matchKey.") && ".$a_matchKey.".constructor !== Array)\n\t{\n\t\tvar temp_".$f_function." = ".$a_matchKey.";\n\t\tvar ".$a_matchKey." = [];\n\t\t".$a_matchKey.".push(temp_".$f_function.");\n\t}"; - $func .= "\n\telse if (!isSet(".$a_matchKey."))\n\t{"; - $func .= "\n\t\tvar ".$a_matchKey." = [];"; - $func .= "\n\t}"; - $func .= "\n\tvar ".$name." = ".$a_matchKey.".some(".$a_matchKey."_SomeFunc);\n"; - - // setup the map function - $map .= "\n// the ".$f_function." Some function"; - $map .= "\nfunction ".$a_matchKey."_SomeFunc(".$a_matchKey.")"; - $map .= "\n{"; - $map .= "\n\t//".$this->setLine(__LINE__)." set the function logic"; - $map .= "\n\tif ("; - $if = $ifValue[$a_matchKey]; - if (ComponentbuilderHelper::checkString($if)) - { - $map .= $if; - } - $map .= ")"; - $map .= "\n\t{"; - $map .= "\n\t\treturn true;"; - $map .= "\n\t}\n\treturn false;"; - $map .= "\n}\n"; - } - $func .= "\n\n\t//".$this->setLine(__LINE__)." set this function logic"; - $func .= "\n\tif ("; - // set if counter - $aifcounter = 0; - foreach ($f_matchKeys as $af_matchKey) - { - $name = $matchNames[$af_matchKey]; - if ($aifcounter == 0) - { - $func .= $name; - } - else - { - $func .= ' && '.$name; - } - $aifcounter++; - } - $func .= ")\n\t{"; - - } - else - { - $func .= "\n\t//".$this->setLine(__LINE__)." set the function logic"; - $func .= "\n\tif ("; - // set if counter - $ifcounter = 0; - foreach ($f_matchKeys as $f_matchKey) - { - $if = $ifValue[$f_matchKey]; - if (ComponentbuilderHelper::checkString($if)) - { - if ($ifcounter == 0) - { - $func .= $if; - } - else - { - $func .= ' && '.$if; - } - $ifcounter++; - } - } - $func .= ")\n\t{"; - } - // get the controles - $controls = $targetControls[$f_matchKeys[0]]; - // get target behavior and default - $targetBehavior = $behaviors[$f_matchKeys[0]]; - $targetDefault = $defaults[$f_matchKeys[0]]; - // load the target behavior - foreach($controls as $target => $action) - { - $func .= $action['behavior']; - if (ComponentbuilderHelper::checkString($action['hide'])) - { - $func .= $action[$targetBehavior]; - $head .= $action['requiredVar']; - } - } - $func .= "\n\t}\n\telse\n\t{"; - foreach($controls as $target => $action) - { - $func .= $action['default']; - if (ComponentbuilderHelper::checkString($action['hide'])) - { - $func .= $action[$targetDefault]; - } - } - $func .= "\n\t}\n}\n".$map; - } - // add the needed validation to file - if (isset($this->validationFixBuilder[$viewName]) && ComponentbuilderHelper::checkArray($this->validationFixBuilder[$viewName])) - { - $validation .= "\n// update required fields"; - $validation .= "\nfunction updateFieldRequired(name,status)"; - $validation .= "\n{"; - $validation .= "\n\tvar not_required = jQuery('#jform_not_required').val();"; - $validation .= "\n\n\tif(status == 1)"; - $validation .= "\n\t{"; - $validation .= "\n\t\tif (isSet(not_required) && not_required != 0)"; - $validation .= "\n\t\t{"; - $validation .= "\n\t\t\tnot_required = not_required+','+name;"; - $validation .= "\n\t\t}"; - $validation .= "\n\t\telse"; - $validation .= "\n\t\t{"; - $validation .= "\n\t\t\tnot_required = ','+name;"; - $validation .= "\n\t\t}"; - $validation .= "\n\t}"; - $validation .= "\n\telse"; - $validation .= "\n\t{"; - $validation .= "\n\t\tif (isSet(not_required) && not_required != 0)"; - $validation .= "\n\t\t{"; - $validation .= "\n\t\t\tnot_required = not_required.replace(','+name,'');"; - $validation .= "\n\t\t}"; - $validation .= "\n\t}"; - $validation .= "\n\n\tjQuery('#jform_not_required').val(not_required);"; - $validation .= "\n}\n"; - } - // set the isSet function - $isSet = "\n// the isSet function"; - $isSet .= "\nfunction isSet(val)"; - $isSet .= "\n{"; - $isSet .= "\n\tif ((val != undefined) && (val != null) && 0 !== val.length){"; - $isSet .= "\n\t\treturn true;"; - $isSet .= "\n\t}"; - $isSet .= "\n\treturn false;"; - $isSet .= "\n}"; - } - // load to this buket - $fileScript = $initial.$func.$validation.$isSet; - $footerScript = $listener; - } - // add custom script to file - if (isset($this->customScriptBuilder['view_file'][$viewName]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['view_file'][$viewName])) - { - if (!isset($fileScript)) - { - $fileScript = ''; - } - $fileScript .= "\n\n".str_replace(array_keys($placeholders),array_values($placeholders),$this->customScriptBuilder['view_file'][$viewName]); - } - // add custom script to footer - if (isset($this->customScriptBuilder['view_footer'][$viewName]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['view_footer'][$viewName])) - { - $customFooterScript = "\n\n".str_replace(array_keys($placeholders),array_values($placeholders),$this->customScriptBuilder['view_footer'][$viewName]); - if (strpos($customFooterScript,'<?php') === false) - { - // only add now if no php is added to the footer script - if (!isset($footerScript)) - { - $footerScript = ''; - } - $footerScript .= $customFooterScript; - unset($customFooterScript); - } - - } - // minfy the script - if ($this->params->get('minify') && isset($fileScript) && ComponentbuilderHelper::checkString($fileScript)) - { - // minify the fielScript javscript - $minifier = new JS; - $minifier->add($fileScript); - $fileScript = $minifier->minify(); - } - // minfy the script - if ($this->params->get('minify') && isset($footerScript) && ComponentbuilderHelper::checkString($footerScript)) - { - // minify the footerScript javscript - $minifier = new JS; - $minifier->add($footerScript); - $footerScript = $minifier->minify(); - } - // make sure there is script to add - if (isset($fileScript) && ComponentbuilderHelper::checkString($fileScript)) - { - // add the head script if set - if (isset($head) && ComponentbuilderHelper::checkString($head)) - { - $fileScript = "// Some Global Values\n".$head."\n".$fileScript; - } - // load the script - $this->editBodyViewScriptBuilder[$viewName]['fileScript'] = $fileScript; - } - // make sure to add custom footer script if php was found in it, since we canot minfy it with php - if (isset($customFooterScript) && ComponentbuilderHelper::checkString($customFooterScript)) - { - if (!isset($footerScript)) - { - $footerScript = ''; - } - $footerScript .= $customFooterScript; - } - // make sure there is script to add - if (isset($footerScript) && ComponentbuilderHelper::checkString($footerScript)) - { - // add the needed script tags - $footerScript = "\n\n".'<script type="text/javascript">'."\n".$footerScript."\n</script>"; - $this->editBodyViewScriptBuilder[$viewName]['footerScript'] = $footerScript; - } - } - - protected function buildFunctionCall($function,$matchKeys,$getValue) - { - $initial = ''; - $funcsets = array(); - $array = false; - foreach ($matchKeys as $matchKey) - { - $value = $getValue[$matchKey]; - if ($value['isArray']) - { - $initial .= "\n\t".$value['get']; - $funcsets[] = $matchKey; - $array = true; - } - else - { - $initial .= "\n\t".$value['get']; - $funcsets[] = $matchKey; - } - } - - // make sure that the function is loaded only once - if (ComponentbuilderHelper::checkArray($funcsets)) - { - $initial .= "\n\t".$function."("; - $initial .= implode(',',$funcsets); - $initial .= ");\n"; - } - return array('code' => $initial, 'array' => $array); - } - - protected function getTargetRelationScript($relations,$condition,$view) - { - // reset the buket - $buket = array(); - // convert to name array - foreach ($condition['target_field'] as $targetField) - { - if (ComponentbuilderHelper::checkArray($targetField)) - { - $currentTargets[] = $targetField['name']; - } - } - // start the search - foreach($relations as $relation) - { - // reset found - $found = false; - if ($relation['match_field'] != $condition['match_field']) - { - if (ComponentbuilderHelper::checkArray($relation['target_field'])) - { - foreach($relation['target_field'] as $target) - { - if (ComponentbuilderHelper::checkArray($target) && $this->checkRelationControl($target['name'],$relation['match_name'],$condition['match_name'],$view)) - { - if (in_array($target['name'],$currentTargets)) - { - $this->targetRelationControl[$view][$target['name']] = array($relation['match_name'],$condition['match_name']); - $found = true; - break; - } - } - } - if ($found) - { - $buket[] = $relation; - } - } - } - } - return $buket; - } - - protected function checkRelationControl($targetName,$relationMatchName,$conditionMatchName,$view) - { - if(isset($this->targetRelationControl[$view]) && ComponentbuilderHelper::checkArray($this->targetRelationControl[$view])) - { - if(isset($this->targetRelationControl[$view][$targetName]) && ComponentbuilderHelper::checkArray($this->targetRelationControl[$view][$targetName])) - { - if (!in_array($relationMatchName,$this->targetRelationControl[$view][$targetName]) || !in_array($conditionMatchName,$this->targetRelationControl[$view][$targetName])) - { - return true; - } - } - else - { - return true; - } - } - elseif (!isset($this->targetRelationControl[$view]) || !ComponentbuilderHelper::checkArray($this->targetRelationControl[$view])) - { - return true; - } - return false; - } - - protected function setTargetControlsScript($targets,$targetBehavior,$targetDefault,$uniqueVar,$viewName) - { - $bucket = array(); - if (ComponentbuilderHelper::checkArray($targets) && !in_array($uniqueVar,$this->targetControlsScriptChecker)) - { - foreach($targets as $target) - { - if (ComponentbuilderHelper::checkArray($target)) - { - // set the required var - if($target['required'] == 'yes') - { - $unique = $uniqueVar.ComponentbuilderHelper::randomkey(3); - $bucket[$target['name']]['requiredVar'] = "jform_".$unique."_required = false;\n"; - } - else - { - $bucket[$target['name']]['requiredVar'] = ''; - } - // set target type - $targetTypeSufix = ""; - if ($this->defaultField($target['type'], 'spacer')) - { - // target a class if this is a note or spacer - $targetType = "."; - } - elseif ($target['type'] == 'editor') - { - // target the label if editor field - $targetType = "#jform_"; - // since the id is not alway accessable we use the lable TODO (not best way) - $targetTypeSufix = "-lbl"; - } - else - { - // target an id if this is a field - $targetType = "#jform_"; - } - // set the target behavior - $bucket[$target['name']]['behavior'] = "\n\t\tjQuery('".$targetType.$target['name'].$targetTypeSufix."').closest('.control-group').".$targetBehavior."();"; - // set the target default - $bucket[$target['name']]['default'] = "\n\t\tjQuery('".$targetType.$target['name'].$targetTypeSufix."').closest('.control-group').".$targetDefault."();"; - // the hide required function - if($target['required'] == 'yes') - { - $hide = "\n\t\tif (!jform_".$unique."_required)"; - $hide .= "\n\t\t{"; - $hide .= "\n\t\t\tupdateFieldRequired('".$target['name']."',1);"; - $hide .= "\n\t\t\tjQuery('#jform_".$target['name']."').removeAttr('required');"; - $hide .= "\n\t\t\tjQuery('#jform_".$target['name']."').removeAttr('aria-required');"; - $hide .= "\n\t\t\tjQuery('#jform_".$target['name']."').removeClass('required');"; - $hide .= "\n\t\t\tjform_".$unique."_required = true;"; - $hide .= "\n\t\t}"; - $bucket[$target['name']]['hide'] = $hide; - // the show required function - $show = "\n\t\tif (jform_".$unique."_required)"; - $show .= "\n\t\t{"; - $show .= "\n\t\t\tupdateFieldRequired('".$target['name']."',0);"; - $show .= "\n\t\t\tjQuery('#jform_".$target['name']."').prop('required','required');"; - $show .= "\n\t\t\tjQuery('#jform_".$target['name']."').attr('aria-required',true);"; - $show .= "\n\t\t\tjQuery('#jform_".$target['name']."').addClass('required');"; - $show .= "\n\t\t\tjform_".$unique."_required = false;"; - $show .= "\n\t\t}\n"; - $bucket[$target['name']]['show'] = $show; - // make sure that the axaj and other needed things for this view is loaded - $this->validationFixBuilder[$viewName][] = $target['name']; - } - else - { - $bucket[$target['name']]['hide'] = ''; - $bucket[$target['name']]['show'] = ''; - } - } - } - $this->targetControlsScriptChecker[] = $uniqueVar; - } - return $bucket; - } - - - protected function ifValueScript($value,$behavior,$type,$options) - { - // reset string - $string = ''; - switch ($behavior) - { - case 1: // Is - // only 4 list/radio/checkboxes - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - if (ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option) - { - if (!is_numeric($option)) - { - if($option != 'true' && $option != 'false') - { - $option = "'".$option."'"; - } - } - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.' == '.$option; - } - else - { - $string .= $value.' == '.$option; - } - } - } - else - { - $string .= 'isSet('.$value.')'; - } - } - break; - case 2: // Is Not - // only 4 list/radio/checkboxes - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - if (ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option) - { - if (!is_numeric($option)) - { - if($option != 'true' && $option != 'false') - { - $option = "'".$option."'"; - } - } - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.' != '.$option; - } - else - { - $string .= $value.' != '.$option; - } - } - } - else - { - $string .= '!isSet('.$value.')'; - } - } - break; - case 3: // Any Selection - // only 4 list/radio/checkboxes/dynamic_list - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - if (ComponentbuilderHelper::checkArray($options)) - { - foreach ($options as $option) - { - if (!is_numeric($option)) - { - if($option != 'true' && $option != 'false') - { - $option = "'".$option."'"; - } - } - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.' == '.$option; - } - else - { - $string .= $value.' == '.$option; - } - } - } - else - { - $userFix = ''; - if (isset($this->setScriptUserSwitch) && ComponentbuilderHelper::checkArray($this->setScriptUserSwitch) && in_array($type,$this->setScriptUserSwitch)) - { - // TODO this needs a closer look, a bit buggy - $userFix = " && ".$value." != 'Select a User.'"; - } - //echo '<pre>'; var_dump($type);exit; - $string .= 'isSet('.$value.')'.$userFix; - } - } - break; - case 4: // Active (not empty) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - $string .= 'isSet('.$value.')'; - } - break; - case 5: // Unactive (empty) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - $string .= '!isSet('.$value.')'; - } - break; - case 6: // Key Word All (case-sensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' && '.$value.'.indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 7: // Key Word Any (case-sensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.'.indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 8: // Key Word All (case-insensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - $keyword = ComponentbuilderHelper::safeString($keyword, 'w'); - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' && '.$value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 9: // Key Word Any (case-insensitive) - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options['keywords'])) - { - foreach ($options['keywords'] as $keyword) - { - $keyword = ComponentbuilderHelper::safeString($keyword, 'w'); - if(ComponentbuilderHelper::checkString($string)) - { - $string .= ' || '.$value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - else - { - $string .= $value.'.toLowerCase().indexOf("'.$keyword.'") >= 0'; - } - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.' == "error"'; - } - } - break; - case 10: // Min Length - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options)) - { - if ($options['length']) - { - $string .= $value.'.length >= '.(int) $options['length']; - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.'.length >= 5'; - } - } - break; - case 11: // Max Length - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - - { - if (ComponentbuilderHelper::checkArray($options)) - { - if ($options['length']) - { - $string .= $value.'.length <= '.(int) $options['length']; - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.'.length <= 5'; - } - } - break; - case 12: // Exact Length - // only 4 text_field - if(ComponentbuilderHelper::typeField($type, 'text')) - { - if (ComponentbuilderHelper::checkArray($options)) - { - if ($options['length']) - { - $string .= $value.'.length == '.(int) $options['length']; - } - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string .= $value.'.length == 5'; - } - } - break; - } - if(!ComponentbuilderHelper::checkString($string)) - { - $string = 0; - } - return $string; - } - - protected function getOptionsScript($type,$options) - { - $buket = array(); - if(ComponentbuilderHelper::checkString($options)) - { - if(ComponentbuilderHelper::typeField($type, 'list') || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - $optionsArray = explode(PHP_EOL, $options); - if (!ComponentbuilderHelper::checkArray($optionsArray)) - { - $optionsArray[] = $optionsArray; - } - foreach($optionsArray as $option) - { - if (strpos($option,'|') !== false) - { - list($option) = explode('|', $option); - } - if ($option != 'dynamic_list') - { - // add option to return buket - $buket[] = $option; - } - } - } - elseif(ComponentbuilderHelper::typeField($type, 'text')) - { - // check to get the key words if set - $keywords = ComponentbuilderHelper::getBetween($options,'keywords="','"'); - if (ComponentbuilderHelper::checkString($keywords)) - { - if (strpos($keywords,',') !== false) - { - $keywords = explode(',', $keywords); - foreach($keywords as $keyword) - { - $buket['keywords'][] = trim($keyword); - } - - } - else - { - $buket['keywords'][] = trim($keywords); - } - } - // check to ket string length if set - $length = ComponentbuilderHelper::getBetween($options,'length="','"'); - if (ComponentbuilderHelper::checkString($length)) - { - $buket['length'] = $length; - } else { - $buket['length'] = false; - } - } - } - - return $buket; - } - - protected function getValueScript($type,$name,$unique) - { - $select = ''; - $isArray = false; - $keyName = $name.'_'.$unique; - if ($type == 'checkboxes') - { - $select = "var ".$keyName." = [];\n\tjQuery('#jform_".$name." input[type=checkbox]').each(function()\n\t{\n\t\tif (jQuery(this).is(':checked'))\n\t\t{\n\t\t\t".$keyName.".push(jQuery(this).prop('value'));\n\t\t}\n\t});"; - $isArray = true; - } - elseif($type == 'checkbox') - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.'").prop(\'checked\');'; - } - elseif ($type == 'radio') - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.' input[type=\'radio\']:checked").val();'; - } - elseif ($type == 'list' || ComponentbuilderHelper::typeField($type, 'dynamic') || !ComponentbuilderHelper::typeField($type)) - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.'").val();'; - $isArray = true; - } - elseif(ComponentbuilderHelper::typeField($type, 'text')) - { - $select = 'var '.$keyName.' = jQuery("#jform_'.$name.'").val();'; - } - return array( 'get' => $select, 'isArray' => $isArray); - } - - protected function clearValueScript($type,$name,$unique) - { - $clear = ''; - $isArray = false; - $keyName = $name.'_'.$unique; - if($type == 'text' || $type == 'password' || $type == 'textarea') - { - $clear = "jQuery('#jform_".$name."').value = '';"; - } - elseif($type == 'radio') - { - $clear = "jQuery('#jform_".$name."').checked = false;"; - } - elseif($type == 'checkboxes' || $type == 'checkbox' || $type == 'checkbox') - { - $clear = "jQuery('#jform_".$name."').selectedIndex = -1;"; - } - return $clear; - } - - protected function setViewScript($view) - { - if (isset($this->editBodyViewScriptBuilder[$view]) && isset($this->editBodyViewScriptBuilder[$view]['fileScript'])) - { - return $this->editBodyViewScriptBuilder[$view]['fileScript']; - } - return ''; - } - - protected function setEditBodyScript($view) - { - if (isset($this->editBodyViewScriptBuilder[$view]) && isset($this->editBodyViewScriptBuilder[$view]['footerScript'])) - { - return $this->editBodyViewScriptBuilder[$view]['footerScript']; - } - return ''; - } - - protected function setValidationFix($view,$Component) - { - $fix = ''; - if (isset($this->validationFixBuilder[$view]) && ComponentbuilderHelper::checkArray($this->validationFixBuilder[$view])) - { - $fix .= "\n\n\t/**"; - $fix .= "\n\t* Method to validate the form data."; - $fix .= "\n\t*"; - $fix .= "\n\t* @param JForm \$form The form to validate against."; - $fix .= "\n\t* @param array \$data The data to validate."; - $fix .= "\n\t* @param string \$group The name of the field group to validate."; - $fix .= "\n\t*"; - $fix .= "\n\t* @return mixed Array of filtered data if valid, false otherwise."; - $fix .= "\n\t*"; - $fix .= "\n\t* @see JFormRule"; - $fix .= "\n\t* @see JFilterInput"; - $fix .= "\n\t* @since 12.2"; - $fix .= "\n\t*/"; - $fix .= "\n\tpublic function validate(\$form, \$data, \$group = null)"; - $fix .= "\n\t{"; - $fix .= "\n\t\t//".$this->setLine(__LINE__)." check if the not_required field is set"; - $fix .= "\n\t\tif (".$Component."Helper::checkString(\$data['not_required']))"; - $fix .= "\n\t\t{"; - $fix .= "\n\t\t\t\$requiredFields = (array) explode(',',(string) \$data['not_required']);"; - $fix .= "\n\t\t\t\$requiredFields = array_unique(\$requiredFields);"; - $fix .= "\n\t\t\t//".$this->setLine(__LINE__)." now change the required field attributes value"; - $fix .= "\n\t\t\tforeach (\$requiredFields as \$requiredField)"; - $fix .= "\n\t\t\t{"; - $fix .= "\n\t\t\t\t//".$this->setLine(__LINE__)." make sure there is a string value"; - $fix .= "\n\t\t\t\tif (".$Component."Helper::checkString(\$requiredField))"; - $fix .= "\n\t\t\t\t{"; - $fix .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." change to false"; - $fix .= "\n\t\t\t\t\t\$form->setFieldAttribute(\$requiredField, 'required', 'false');"; - $fix .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." also clear the data set"; - $fix .= "\n\t\t\t\t\t\$data[\$requiredField] = '';"; - $fix .= "\n\t\t\t\t}"; - $fix .= "\n\t\t\t}"; - $fix .= "\n\t\t}"; - $fix .= "\n\t\treturn parent::validate(\$form, \$data, \$group);"; - $fix .= "\n\t}"; - } - return $fix; - } - - protected function setAjaxToke($view) - { - $fix = ''; - if (isset($this->customScriptBuilder['token'][$view]) && $this->customScriptBuilder['token'][$view]) - { - $fix .= "\n\t\t//".$this->setLine(__LINE__)." Add Ajax Token"; - $fix .= "\n\t\t\$document->addScriptDeclaration(\"var token = '\".JSession::getFormToken().\"';\");"; - } - return $fix; - } - - protected function setRegisterAjaxTask($target) - { - $tasks = ''; - if (isset($this->customScriptBuilder[$target]['ajax_controller']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder[$target]['ajax_controller'])) - { - $taskArray = array(); - foreach ($this->customScriptBuilder[$target]['ajax_controller'] as $view) - { - foreach ($view as $task) - { - $taskArray[$task['task_name']] = $task['task_name']; - } - } - if (ComponentbuilderHelper::checkArray($taskArray)) - { - foreach ($taskArray as $name) - { - $tasks .= "\n\t\t\$this->registerTask('".$name."', 'ajax');"; - } - } - } - return $tasks; - } - - protected function setAjaxInputReturn($target) - { - $cases = ''; - if (isset($this->customScriptBuilder[$target]['ajax_controller']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder[$target]['ajax_controller'])) - { - $input = array(); - $valueArray = array(); - $getModel = array(); - foreach ($this->customScriptBuilder[$target]['ajax_controller'] as $view) - { - foreach ($view as $task) - { - $input[$task['task_name']][] = "\n\t\t\t\t\t\t\$".$task['value_name']."Value = \$jinput->get('".$task['value_name']."', ".$task['input_default'].", '".$task['input_filter']."');"; - $valueArray[$task['task_name']][] = "\$".$task['value_name']."Value"; - $getModel[$task['task_name']] = "\n\t\t\t\t\t\t\t\$result = \$this->getModel('ajax')->".$task['method_name']."([[[valueArray]]]);"; - - // see user check is needed - if (!isset($task['user_check']) || 1 == $task['user_check']) - { - // add it since this means it was not set, and in the old method we assumed it was inplace - // or it is set and 1 means we still want it inplace - $userCheck[$task['task_name']] = ' && $user->id != 0'; - } - else - { - $userCheck[$task['task_name']] = ''; - } - } - } - if (ComponentbuilderHelper::checkArray($getModel)) - { - foreach ($getModel as $task => $getMethod) - { - $cases .= "\n\t\t\t\tcase '".$task."':"; - $cases .= "\n\t\t\t\t\ttry"; - $cases .= "\n\t\t\t\t\t{"; - foreach ($input[$task] as $string) - { - $cases .= $string; - } - // set the values - $values = implode(', ',$valueArray[$task]); - $ifvalues = implode(' && ',$valueArray[$task]); - // set the values to method - $getMethod = str_replace('[[[valueArray]]]',$values,$getMethod); - $cases .= "\n\t\t\t\t\t\tif(".$ifvalues.$userCheck[$task].")"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= $getMethod; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\telse"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\t\$result = false;"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\tif(array_key_exists('callback',\$_GET))"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \$_GET['callback'] . \"(\".json_encode(\$result).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\telse"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \"(\".json_encode(\$result).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\tcatch(Exception \$e)"; - $cases .= "\n\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\tif(array_key_exists('callback',\$_GET))"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \$_GET['callback'].\"(\".json_encode(\$e).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t\telse"; - $cases .= "\n\t\t\t\t\t\t{"; - $cases .= "\n\t\t\t\t\t\t\techo \"(\".json_encode(\$e).\");\";"; - $cases .= "\n\t\t\t\t\t\t}"; - $cases .= "\n\t\t\t\t\t}"; - $cases .= "\n\t\t\t\tbreak;"; - } - } - } - return $cases; - } - - protected function setAjaxModelMethods($target) - { - $methods = ''; - if (isset($this->customScriptBuilder[$target]['ajax_model']) && ComponentbuilderHelper::checkArray($this->customScriptBuilder[$target]['ajax_model'])) - { - foreach ($this->customScriptBuilder[$target]['ajax_model'] as $view => $method) - { - $methods .= "\n\n\t//".$this->setLine(__LINE__)." Used in ".$view."\n"; - $methods .= str_replace(array_keys($this->placeholders),array_values($this->placeholders),$method); - } - } - return $methods; - } - - - protected function setFilterFunctions($viewName_single,$viewName_list) - { - if (isset($this->filterBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$viewName_list])) - { - $function = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - foreach ($this->filterBuilder[$viewName_list] as $filter) - { - if ($filter['type'] != 'category' && ComponentbuilderHelper::checkArray($filter['custom']) && $filter['custom']['extends'] == 'user') - { - $function[] = "\n\tprotected function getThe".$filter['function'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F')."Selections()"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $function[] = "\t\t\$db = JFactory::getDbo();"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $function[] = "\t\t\$query = \$db->getQuery(true);"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query->select(\$db->quoteName(array('a.".$filter['custom']['id']."','a.".$filter['custom']['text']."')));"; - $function[] = "\t\t\$query->from(\$db->quoteName('".$filter['custom']['table']."', 'a'));"; - $function[] = "\t\t//".$this->setLine(__LINE__)." get the targeted groups"; - $function[] = "\t\t\$groups= JComponentHelper::getParams('com_".$component."')->get('".$filter['type']."');"; - $function[] = "\t\tif (count(\$groups) > 0)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$query->join('LEFT', \$db->quoteName('#__user_usergroup_map', 'group') . ' ON (' . \$db->quoteName('group.user_id') . ' = ' . \$db->quoteName('a.id') . ')');"; - $function[] = "\t\t\t\$query->where('group.group_id IN (' . implode(',', \$groups) . ')');"; - $function[] = "\t\t}"; - $function[] = "\t\t\$query->order('a.".$filter['custom']['text']." ASC');"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $function[] = "\t\t\$db->setQuery(\$query);"; - $function[] = "\n\t\t\$results = \$db->loadObjectList();"; - $function[] = "\t\tif (\$results)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$filter = array();"; - $function[] = "\t\t\t\$batch = array();"; - $function[] = "\t\t\tforeach (\$results as \$result)"; - $function[] = "\t\t\t{"; - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$result->".$filter['custom']['id'].", \$result->".$filter['custom']['text'].");"; - $function[] = "\t\t\t}"; - $function[] = "\t\t\treturn \$filter;"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - - /* else - { - $function[] = "\n\tprotected function getThe".$filter['function'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F')."Selections()"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $function[] = "\t\t\$db = JFactory::getDbo();"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query = \$db->getQuery(true);"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query->select(\$db->quoteName(array('".$filter['custom']['id']."','".$filter['custom']['text']."')));"; - $function[] = "\t\t\$query->from(\$db->quoteName('".$filter['custom']['table']."'));"; - $function[] = "\t\t\$query->where(\$db->quoteName('published') . ' = 1');"; - $function[] = "\t\t\$query->order(\$db->quoteName('".$filter['custom']['text']."') . ' ASC');"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $function[] = "\t\t\$db->setQuery(\$query);"; - $function[] = "\n\t\t\$results = \$db->loadObjectList();"; - $function[] = "\n\t\tif (\$results)"; - $function[] = "\t\t{"; - $function[] = "\t\t\t\$filter = array();"; - $function[] = "\t\t\t\$batch = array();"; - $function[] = "\t\t\tforeach (\$results as \$result)"; - $function[] = "\t\t\t{"; - if ($filter['custom']['text'] == 'user') - { - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$result->".$filter['custom']['text'].", JFactory::getUser(\$result->".$filter['custom']['text'].")->name);"; - $function[] = "\t\t\t\t\$batch[] = JHtml::_('select.option', \$result->".$filter['custom']['id'].", JFactory::getUser(\$result->".$filter['custom']['text'].")->name);"; - } - else - { - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$result->".$filter['custom']['text'].", \$result->".$filter['custom']['text'].");"; - $function[] = "\t\t\t\t\$batch[] = JHtml::_('select.option', \$result->".$filter['custom']['id'].", \$result->".$filter['custom']['text'].");"; - } - $function[] = "\t\t\t}"; - $function[] = "\t\t\treturn array('filter' => \$filter, 'batch' => \$batch);"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - }*/ - } - elseif ($filter['type'] != 'category' && !ComponentbuilderHelper::checkArray($filter['custom'])) - { - $translation = false; - if (isset($this->selectionTranslationFixBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$viewName_list]) - && array_key_exists($filter['code'],$this->selectionTranslationFixBuilder[$viewName_list])) - { - $translation = true; - } - $function[] = "\n\tprotected function getThe".$filter['function']."Selections()"; - $function[] = "\t{"; - $function[] = "\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $function[] = "\t\t\$db = JFactory::getDbo();"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Create a new query object."; - $function[] = "\t\t\$query = \$db->getQuery(true);"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Select the text."; - $function[] = "\t\t\$query->select(\$db->quoteName('".$filter['code']."'));"; - $function[] = "\t\t\$query->from(\$db->quoteName('#__".$component."_".$filter['database']."'));"; - $function[] = "\t\t\$query->order(\$db->quoteName('".$filter['code']."') . ' ASC');"; - $function[] = "\n\t\t//".$this->setLine(__LINE__)." Reset the query using our newly populated query object."; - $function[] = "\t\t\$db->setQuery(\$query);"; - $function[] = "\n\t\t\$results = \$db->loadColumn();"; - $function[] = "\n\t\tif (\$results)"; - $function[] = "\t\t{"; - // check if translated vlaue is used - if ($translation) - { - $function[] = "\t\t\t//".$this->setLine(__LINE__)." get model"; - $function[] = "\t\t\t\$model = \$this->getModel();"; - } - $function[] = "\t\t\t\$results = array_unique(\$results);"; - $function[] = "\t\t\t\$filter = array();"; - $function[] = "\t\t\tforeach (\$results as \$".$filter['code'].")"; - $function[] = "\t\t\t{"; - - // check if translated vlaue is used - if ($translation) - { - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." Translate the ".$filter['code']." selection"; - $function[] = "\t\t\t\t\$text = \$model->selectionTranslation(\$".$filter['code'].",'".$filter['code']."');"; - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." Now add the ".$filter['code']." and its text to the options array"; - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$".$filter['code'].", JText::_(\$text));"; - } - else - { - $function[] = "\t\t\t\t//".$this->setLine(__LINE__)." Now add the ".$filter['code']." and its text to the options array"; - $function[] = "\t\t\t\t\$filter[] = JHtml::_('select.option', \$".$filter['code'].", \$".$filter['code'].");"; - } - $function[] = "\t\t\t}"; - $function[] = "\t\t\treturn \$filter;"; - $function[] = "\t\t}"; - $function[] = "\t\treturn false;"; - $function[] = "\t}"; - } - } - if (ComponentbuilderHelper::checkArray($function)) - { - // return the function - return "\n".implode("\n",$function); - } - } - return ''; - } - - protected function setUniqueFields($view) - { - $fields = array(); - $fields[] = "\n\n\t/**"; - $fields[] = "\t * Method to get the unique fields of this table."; - $fields[] = "\t *"; - $fields[] = "\t * @return mixed An array of field names, boolean false if none is set."; - $fields[] = "\t *"; - $fields[] = "\t * @since 3.0"; - $fields[] = "\t */"; - $fields[] = "\tprotected function getUniqeFields()"; - $fields[] = "\t{"; - if (isset($this->dbUniqueKeys[$view]) && ComponentbuilderHelper::checkArray($this->dbUniqueKeys[$view])) - { - $fields[] = "\t\treturn array('".implode("','",$this->dbUniqueKeys[$view])."');"; - } - else - { - $fields[] = "\t\treturn false;"; - } - $fields[] = "\t}"; - // return the unique fields - return implode("\n",$fields); - } - - protected function setOtherFilter($view) - { - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - $otherFilter = array(); - foreach ($this->filterBuilder[$view] as $filter) - { - if ($filter['type'] != 'category' && ComponentbuilderHelper::checkArray($filter['custom']) && $filter['custom']['extends'] !== 'user') - { - $CodeName = ComponentbuilderHelper::safeString($filter['code'].' '.$filter['custom']['text'],'W'); - $codeName = $filter['code'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F'); - $type = ComponentbuilderHelper::safeString($filter['custom']['type'],'F'); - $otherFilter[] = "\n\t\t//".$this->setLine(__LINE__)." Set ".$CodeName." Selection"; - $otherFilter[] = "\t\t\$this->".$codeName."Options = JFormHelper::loadFieldType('".$type."')->getOptions();"; - $otherFilter[] = "\t\tif (\$this->".$codeName."Options)"; - $otherFilter[] = "\t\t{"; - $otherFilter[] = "\t\t\t//".$this->setLine(__LINE__)." ".$CodeName." Filter"; - $otherFilter[] = "\t\t\tJHtmlSidebar::addFilter("; - $otherFilter[] = "\t\t\t\t'- Select '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t'filter_".$filter['code']."',"; - $otherFilter[] = "\t\t\t\tJHtml::_('select.options', \$this->".$codeName."Options, 'value', 'text', \$this->state->get('filter.".$filter['code']."'))"; - $otherFilter[] = "\t\t\t);"; - - $otherFilter[] = "\n\t\t\tif (\$this->canBatch && \$this->canCreate && \$this->canEdit)"; - $otherFilter[] = "\t\t\t{"; - $otherFilter[] = "\t\t\t\t//".$this->setLine(__LINE__)." ".$CodeName." Batch Selection"; - $otherFilter[] = "\t\t\t\tJHtmlBatch_::addListSelection("; - $otherFilter[] = "\t\t\t\t\t'- Keep Original '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t\t'batch[".$filter['code']."]',"; - $otherFilter[] = "\t\t\t\t\tJHtml::_('select.options', \$this->".$codeName."Options, 'value', 'text')"; - $otherFilter[] = "\t\t\t\t);"; - $otherFilter[] = "\t\t\t}"; - - $otherFilter[] = "\t\t}"; - } - elseif ($filter['type'] != 'category') - { - $Codename = ComponentbuilderHelper::safeString($filter['code'],'W'); - if (isset($filter['custom']) && ComponentbuilderHelper::checkArray($filter['custom']) && $filter['custom']['extends'] === 'user') - { - $functionName = "\$this->getThe".$filter['function'].ComponentbuilderHelper::safeString($filter['custom']['text'],'F')."Selections();"; - } - else - { - $functionName = "\$this->getThe".$filter['function']."Selections();"; - } - $otherFilter[] = "\n\t\t//".$this->setLine(__LINE__)." Set ".$Codename." Selection"; - $otherFilter[] = "\t\t\$this->".$filter['code']."Options = ".$functionName; - $otherFilter[] = "\t\tif (\$this->".$filter['code']."Options)"; - $otherFilter[] = "\t\t{"; - $otherFilter[] = "\t\t\t//".$this->setLine(__LINE__)." ".$Codename." Filter"; - $otherFilter[] = "\t\t\tJHtmlSidebar::addFilter("; - $otherFilter[] = "\t\t\t\t'- Select '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t'filter_".$filter['code']."',"; - $otherFilter[] = "\t\t\t\tJHtml::_('select.options', \$this->".$filter['code']."Options, 'value', 'text', \$this->state->get('filter.".$filter['code']."'))"; - $otherFilter[] = "\t\t\t);"; - - $otherFilter[] = "\n\t\t\tif (\$this->canBatch && \$this->canCreate && \$this->canEdit)"; - $otherFilter[] = "\t\t\t{"; - $otherFilter[] = "\t\t\t\t//".$this->setLine(__LINE__)." ".$Codename." Batch Selection"; - $otherFilter[] = "\t\t\t\tJHtmlBatch_::addListSelection("; - $otherFilter[] = "\t\t\t\t\t'- Keep Original '.JText::_('".$filter['lang']."').' -',"; - $otherFilter[] = "\t\t\t\t\t'batch[".$filter['code']."]',"; - $otherFilter[] = "\t\t\t\t\tJHtml::_('select.options', \$this->".$filter['code']."Options, 'value', 'text')"; - $otherFilter[] = "\t\t\t\t);"; - $otherFilter[] = "\t\t\t}"; - - $otherFilter[] = "\t\t}"; - } - } - if (ComponentbuilderHelper::checkArray($otherFilter)) - { - // return the filter - return "\n".implode("\n",$otherFilter); - } - } - return ''; - } - - protected function setCategoryFilter($viewName_list) - { - if (isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])) - { - // check if category has another name - if (isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - } - else - { - $otherViews = $viewName_list; - } - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - $COMONENT = ComponentbuilderHelper::safeString($this->componentData->name_code,'U'); - // set filter - $filter = array(); - $filter[] = "\n\n\t\t//".$this->setLine(__LINE__)." Category Filter."; - $filter[] = "\t\tJHtmlSidebar::addFilter("; - $filter[] = "\t\t\tJText::_('JOPTION_SELECT_CATEGORY'),"; - $filter[] = "\t\t\t'filter_category_id',"; - $filter[] = "\t\t\tJHtml::_('select.options', JHtml::_('category.options', 'com_".$component.".".$otherViews."'), 'value', 'text', \$this->state->get('filter.category_id'))"; - $filter[] = "\t\t);"; - - - $filter[] = "\n\t\tif (\$this->canBatch && \$this->canCreate && \$this->canEdit)"; - $filter[] = "\t\t{"; - $filter[] = "\t\t\t//".$this->setLine(__LINE__)." Category Batch selection."; - $filter[] = "\t\t\tJHtmlBatch_::addListSelection("; - $filter[] = "\t\t\t\tJText::_('COM_".$COMONENT."_KEEP_ORIGINAL_CATEGORY'),"; - $filter[] = "\t\t\t\t'batch[category]',"; - $filter[] = "\t\t\t\tJHtml::_('select.options', JHtml::_('category.options', 'com_".$component.".".$otherViews."'), 'value', 'text')"; - $filter[] = "\t\t\t);"; - $filter[] = "\t\t}"; - - // return the filter - return implode("\n",$filter); - } - return ''; - } - - - - protected function setRouterCategoryViews($viewName_single,$viewName_list) - { - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // check if category has another name - if (isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // return category view string - if (isset($this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###']) && ComponentbuilderHelper::checkString($this->fileContentStatic['###ROUTER_CATEGORY_VIEWS###'])) - { - return ",\n\t\t\t".'"com_'.$component.'.'.$otherViews.'" => "'.$otherView.'"'; - } - else - { - return "\n\t\t\t".'"com_'.$component.'.'.$otherViews.'" => "'.$otherView.'"'; - } - } - return ''; - - } - - protected function setJcontrollerAllowAdd($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if item has category - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." get the user object"; - $allow[] = "\t\t\$user = JFactory::getUser();"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = \$user->authorise('".$core['core.access']."', 'com_".$component."');"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - $allow[] = "\t\t\$categoryId = JArrayHelper::getValue(\$data, 'catid', \$this->input->getInt('filter_category_id'), 'int');"; - $allow[] = "\t\t\$allow = null;"; - $allow[] = "\n\t\tif (\$categoryId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." If the category has been passed in the URL check it."; - $allow[] = "\t\t\t\$allow = \$user->authorise('core.create', \$this->option . '.".$otherViews.".category.' . \$categoryId);"; - $allow[] = "\t\t}"; - $allow[] = "\n\t\tif (\$allow === null)"; - $allow[] = "\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - // setup the default script - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\t\treturn \$user->authorise('".$core['core.create']."', \$this->option);"; - } - else - { - // setup the default script - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\t\treturn parent::allowAdd(\$data);"; - } - $allow[] = "\t\t}"; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn \$allow;"; - $allow[] = "\t\t}"; - } - else - { - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = JFactory::getUser()->authorise('".$core['core.access']."', 'com_".$component."');"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - // setup the default script - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn JFactory::getUser()->authorise('".$core['core.create']."', \$this->option);"; - } - else - { - // setup the default script - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn parent::allowAdd(\$data);"; - } - } - return implode("\n",$allow); - } - - protected function setJcontrollerAllowEdit($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // prepare custom permission script - if (isset($this->customScriptBuilder['php_allowedit'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_allowedit'][$viewName_single])) - { - $customAllow = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_allowedit'][$viewName_single]); - } - else - { - $customAllow = ''; - } - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\t\t//".$this->setLine(__LINE__)." get user object."; - $allow[] = "\t\t\$user\t\t= JFactory::getUser();"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." get record id."; - $allow[] = "\t\t\$recordId\t= (int) isset(\$data[\$key]) ? \$data[\$key] : 0;"; - // load custom permission script - $allow[] = $customAllow; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = (\$user->authorise('".$core['core.access']."', 'com_".$component.".".$otherView.".' . (int) \$recordId) && \$user->authorise('".$core['core.access']."', 'com_".$component."'));"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($otherView,$this->permissionBuilder[$core['core.edit']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit']."', 'com_".$component.".".$otherView.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$otherView.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($otherView,$this->permissionBuilder[$core['core.edit.own']])) - { - $allow[] = "\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component.".".$otherView.".' . \$recordId))"; - } - else - { - $allow[] = "\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component.".".$otherView.".' . \$recordId))"; - } - $allow[] = "\t\t\t\t{"; - $allow[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Fallback on edit.own. Now test the owner is the user."; - $allow[] = "\t\t\t\t\t\$ownerId = (int) isset(\$data['created_by']) ? \$data['created_by'] : 0;"; - $allow[] = "\t\t\t\t\tif (empty(\$ownerId))"; - $allow[] = "\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." Need to do a lookup from the model."; - $allow[] = "\t\t\t\t\t\t\$record = \$this->getModel()->getItem(\$recordId);"; - $allow[] = "\n\t\t\t\t\t\tif (empty(\$record))"; - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn false;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t\t\$ownerId = \$record->created_by;"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\n\t\t\t\t\t//".$this->setLine(__LINE__)." If the owner matches 'me' then do the test."; - $allow[] = "\t\t\t\t\tif (\$ownerId == \$user->id)"; - $allow[] = "\t\t\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder['global'][$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.own']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.edit.own']])) - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component."'))"; - } - else - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component."'))"; - } - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn true;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\t\t\t\t}"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\n\t\t\t\$categoryId = (int) isset(\$data['catid']) ? \$data['catid']: \$this->getModel()->getItem(\$recordId)->catid;"; - $allow[] = "\n\t\t\tif (\$categoryId)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." The category has been set. Check the category permissions."; - $allow[] = "\t\t\t\t\$catpermission = \$user->authorise('core.edit', \$this->option . '.".$otherViews.".category.' . \$categoryId);"; - $allow[] = "\t\t\t\tif (!\$catpermission && !is_null(\$catpermission))"; - $allow[] = "\t\t\t\t{"; - $allow[] = "\t\t\t\t\treturn false;"; - $allow[] = "\t\t\t\t}"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($otherView,$this->permissionBuilder['global'][$core['core.edit']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit']."', \$this->option);"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn parent::allowEdit(\$data, \$key);"; - } - } - else - { - // setup the category script - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." get user object."; - $allow[] = "\t\t\$user\t\t= JFactory::getUser();"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." get record id."; - $allow[] = "\t\t\$recordId\t= (int) isset(\$data[\$key]) ? \$data[\$key] : 0;"; - // load custom permission script - $allow[] = $customAllow; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder[$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.access']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.access']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Access check."; - $allow[] = "\t\t\$access = (\$user->authorise('".$core['core.access']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId) && \$user->authorise('".$core['core.access']."', 'com_".$component."'));"; - $allow[] = "\t\tif (!\$access)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - } - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder[$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.own']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.own']])) - { - $allow[] = "\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component.".".$viewName_single.".' . \$recordId))"; - } - else - { - $allow[] = "\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component.".".$viewName_single.".' . \$recordId))"; - } - $allow[] = "\t\t\t\t{"; - $allow[] = "\t\t\t\t\t//".$this->setLine(__LINE__)." Now test the owner is the user."; - $allow[] = "\t\t\t\t\t\$ownerId = (int) isset(\$data['created_by']) ? \$data['created_by'] : 0;"; - $allow[] = "\t\t\t\t\tif (empty(\$ownerId))"; - $allow[] = "\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t//".$this->setLine(__LINE__)." Need to do a lookup from the model."; - $allow[] = "\t\t\t\t\t\t\$record = \$this->getModel()->getItem(\$recordId);"; - $allow[] = "\n\t\t\t\t\t\tif (empty(\$record))"; - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn false;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t\t\$ownerId = \$record->created_by;"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\n\t\t\t\t\t//".$this->setLine(__LINE__)." If the owner matches 'me' then allow."; - $allow[] = "\t\t\t\t\tif (\$ownerId == \$user->id)"; - $allow[] = "\t\t\t\t\t{"; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.own']) && isset($this->permissionBuilder['global'][$core['core.edit.own']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.own']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.own']])) - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('".$core['core.edit.own']."', 'com_".$component."'))"; - } - else - { - $allow[] = "\t\t\t\t\t\tif (\$user->authorise('core.edit.own', 'com_".$component."'))"; - } - $allow[] = "\t\t\t\t\t\t{"; - $allow[] = "\t\t\t\t\t\t\treturn true;"; - $allow[] = "\t\t\t\t\t\t}"; - $allow[] = "\t\t\t\t\t}"; - $allow[] = "\t\t\t\t}"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit']."', \$this->option);"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Since there is no permission, revert to the component permissions."; - $allow[] = "\t\treturn parent::allowEdit(\$data, \$key);"; - } - } - - return implode("\n",$allow); - } - - protected function setJmodelAdminGetForm($viewName_single,$viewName_list) - { - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // allways load these - $allow = array(); - $allow[] = "\t\t//".$this->setLine(__LINE__)." Get the form."; - $allow[] = "\t\t\$form = \$this->loadForm('com_".$component.".".$viewName_single."', '".$viewName_single."', array('control' => 'jform', 'load_data' => \$loadData));"; - $allow[] = "\n\t\tif (empty(\$form))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\treturn false;"; - $allow[] = "\t\t}"; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\n\t\t\$jinput = JFactory::getApplication()->input;"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." The front end calls this model and uses a_id to avoid id clashes so we need to check for that first."; - $allow[] = "\t\tif (\$jinput->get('a_id'))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('a_id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." The back end uses id so we use that the rest of the time and set it to 0 by default."; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Determine correct permissions to check."; - $allow[] = "\t\tif (\$this->getState('".$viewName_single.".id'))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$this->getState('".$viewName_single.".id');"; - $allow[] = "\n\t\t\t\$catid = 0;"; - $allow[] = "\t\t\tif (isset(\$this->getItem(\$id)->catid))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." set catagory id"; - $allow[] = "\t\t\t\t\$catid = \$this->getItem(\$id)->catid;"; - $allow[] = "\n\t\t\t\t//".$this->setLine(__LINE__)." Existing record. Can only edit in selected categories."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('catid', 'action', 'core.edit');"; - $allow[] = "\n\t\t\t\t//".$this->setLine(__LINE__)." Existing record. Can only edit own items in selected categories."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('catid', 'action', 'core.edit.own');"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." New record. Can only create in selected categories."; - $allow[] = "\t\t\t\$form->setFieldAttribute('catid', 'action', 'core.create');"; - $allow[] = "\t\t}"; - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check for existing item."; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit State access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (isset(\$catid) && \$catid != 0 && !\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_list.".category.' . (int) \$catid))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.state']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (isset(\$catid) && \$catid != 0 && !\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_list.".category.' . (int) \$catid))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('core.edit.state', 'com_".$component."')))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'disabled', 'true');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'disabled', 'true');"; - $allow[] = "\n\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'filter', 'unset');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'filter', 'unset');"; - $allow[] = "\t\t}"; - } - else - { - $allow[] = "\n\t\t\$jinput = JFactory::getApplication()->input;"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." The front end calls this model and uses a_id to avoid id clashes so we need to check for that first."; - $allow[] = "\t\tif (\$jinput->get('a_id'))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('a_id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." The back end uses id so we use that the rest of the time and set it to 0 by default."; - $allow[] = "\t\telse"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$id = \$jinput->get('id', 0, 'INT');"; - $allow[] = "\t\t}"; - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check for existing item."; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit State access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.state']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('core.edit.state', 'com_".$component."')))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'disabled', 'true');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('ordering', 'filter', 'unset');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('published', 'filter', 'unset');"; - $allow[] = "\t\t}"; - } - $allow[] = "\t\t//".$this->setLine(__LINE__)." If this is a new item insure the greated by is set"; - $allow[] = "\t\tif (0 == \$id)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Set the created_by to this user"; - $allow[] = "\t\t\t\$form->setValue('created_by', null, \$user->id);"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit Creaded By access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.created_by']) && isset($this->permissionBuilder[$core['core.edit.created_by']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.created_by']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.created_by']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.created_by']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.created_by']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (!\$user->authorise('core.edit.created_by', 'com_".$component."'))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created_by', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created_by', 'readonly', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created_by', 'filter', 'unset');"; - $allow[] = "\t\t}"; - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit Creaded Date access controls."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.created']) && isset($this->permissionBuilder[$core['core.edit.created']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.created']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.created']])) - { - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$core['core.edit.created']."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$core['core.edit.created']."', 'com_".$component."')))"; - } - else - { - $allow[] = "\t\tif (!\$user->authorise('core.edit.created', 'com_".$component."'))"; - } - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\$form->setFieldAttribute('created', 'filter', 'unset');"; - $allow[] = "\t\t}"; - // handel the fields permissions - if (isset($this->permissionFields[$viewName_single]) && ComponentbuilderHelper::checkArray($this->permissionFields[$viewName_single])) - { - foreach ($this->permissionFields[$viewName_single] as $fieldName => $fieldType) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." Modify the form based on Edit ".ComponentbuilderHelper::safeString($fieldName, 'W')." access controls."; - $allow[] = "\t\tif (\$id != 0 && (!\$user->authorise('".$viewName_single.".edit.".$fieldName."', 'com_".$component.".".$viewName_single.".' . (int) \$id))"; - $allow[] = "\t\t\t|| (\$id == 0 && !\$user->authorise('".$viewName_single.".edit.".$fieldName."', 'com_".$component."')))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'disabled', 'true');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable fields for display."; - $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'readonly', 'true');"; - if ('radio' == $fieldType || 'repeatable' == $fieldType) - { - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Disable radio button for display."; - $allow[] = "\t\t\t\$class = \$form->getFieldAttribute('".$fieldName."', 'class', '');"; - $allow[] = "\t\t\t\$form->setFieldAttribute('".$fieldName."', 'class', \$class.' disabled no-click');"; - } - $allow[] = "\t\t\tif (!\$form->getValue('".$fieldName."'))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('".$fieldName."', 'filter', 'unset');"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." Disable fields while saving."; - $allow[] = "\t\t\t\t\$form->setFieldAttribute('".$fieldName."', 'required', 'false');"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - } - } - // add the redirect trick to set the field of origin - $allow[] = "\t\t//".$this->setLine(__LINE__)." Only load these values if no id is found"; - $allow[] = "\t\tif (0 == \$id)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Set redirected field name"; - $allow[] = "\t\t\t\$redirectedField = \$jinput->get('ref', null, 'STRING');"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." Set redirected field value"; - $allow[] = "\t\t\t\$redirectedValue = \$jinput->get('refid', 0, 'INT');"; - $allow[] = "\t\t\tif (0 != \$redirectedValue && \$redirectedField)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." Now set the local-redirected field default value"; - $allow[] = "\t\t\t\t\$form->setValue(\$redirectedField, null, \$redirectedValue);"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - // setup the default script - $allow[] = "\n\t\treturn \$form;"; - - return implode("\n",$allow); - } - - protected function setJmodelAdminAllowEdit($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // prepare custom permission script - if (isset($this->customScriptBuilder['php_allowedit'][$viewName_single]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_allowedit'][$viewName_single])) - { - $customAllow = "\t\t\$recordId\t= (int) isset(\$data[\$key]) ? \$data[\$key] : 0;\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_allowedit'][$viewName_single]); - } - else - { - $customAllow = ''; - } - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder[$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit']])) - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check specific edit permission then general edit permission."; - $allow[] = "\t\t\$user = JFactory::getUser();"; - // load custom permission script - $allow[] = $customAllow; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit']."', 'com_".$component.".".$viewName_single.".'. ((int) isset(\$data[\$key]) ? \$data[\$key] : 0)) or \$user->authorise('".$core['core.edit']."', 'com_".$component."');"; - } - else - { - $allow[] = "\n\t\t//".$this->setLine(__LINE__)." Check specific edit permission then general edit permission."; - if (ComponentbuilderHelper::checkString($customAllow)) - { - $allow[] = "\t\t\$user = JFactory::getUser();"; - } - // load custom permission script - $allow[] = $customAllow; - $allow[] = "\t\treturn JFactory::getUser()->authorise('core.edit', 'com_".$component.".".$viewName_single.".'. ((int) isset(\$data[\$key]) ? \$data[\$key] : 0)) or parent::allowEdit(\$data, \$key);"; - } - - return implode("\n",$allow); - } - - protected function setJmodelAdminCanDelete($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if ($coreLoad && isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - // setup the category script - $allow[] = "\n\t\tif (!empty(\$record->id))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\tif (\$record->published != -2)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn;"; - $allow[] = "\t\t\t}"; - $allow[] = "\n\t\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\t\$allow = \$user->authorise('core.delete', 'com_".$component.".".$otherViews.".category.' . (int) \$record->catid);"; - // check if the item has permissions. - if ($coreLoad && isset($this->permissionBuilder[$core['core.delete']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.delete']]) && in_array($otherView,$this->permissionBuilder[$core['core.delete']])) - { - $allow[] = "\n\t\t\tif (\$allow)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\t\treturn \$user->authorise('".$core['core.delete']."', 'com_".$component.".".$otherView.".' . (int) \$record->id);"; - $allow[] = "\t\t\t}"; - } - else - { - $allow[] = "\n\t\t\tif (\$allow)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\t\treturn \$user->authorise('core.delete', 'com_".$component.".".$otherView.".' . (int) \$record->id);"; - $allow[] = "\t\t\t}"; - } - $allow[] = "\t\t\treturn \$allow;"; - $allow[] = "\t\t}"; - $allow[] = "\t\treturn false;"; - } - else - { - // setup the default script - $allow[] = "\n\t\tif (!empty(\$record->id))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\tif (\$record->published != -2)"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn;"; - $allow[] = "\t\t\t}"; - // check if the item has permissions. - if ($coreLoad && isset($this->permissionBuilder[$core['core.delete']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.delete']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.delete']])) - { - $allow[] = "\n\t\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\treturn \$user->authorise('".$core['core.delete']."', 'com_".$component.".".$viewName_single.".' . (int) \$record->id);"; - } - else - { - $allow[] = "\n\t\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - $allow[] = "\t\t\treturn \$user->authorise('core.delete', 'com_".$component.".".$viewName_single.".' . (int) \$record->id);"; - } - $allow[] = "\t\t}"; - $allow[] = "\t\treturn false;"; - } - - return implode("\n",$allow); - } - - protected function setJmodelAdminCanEditState($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - if(isset($this->categoryBuilder[$viewName_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$viewName_list])){ - // check if category has another name - if (isset($this->catOtherName[$viewName_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$viewName_list])) - { - $otherViews = $this->catOtherName[$viewName_list]['views']; - $otherView = $this->catOtherName[$viewName_list]['view']; - } - else - { - $otherViews = $viewName_list; - $otherView = $viewName_single; - } - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\$recordId\t= (!empty(\$record->id)) ? \$record->id : 0;"; - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - // setup the category script - $allow[] = "\t\t//".$this->setLine(__LINE__)." Check against the category."; - $allow[] = "\t\tif (!empty(\$record->catid))"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t\$catpermission = \$user->authorise('core.edit.state', 'com_".$component.".".$otherViews.".category.' . (int) \$record->catid);"; - $allow[] = "\t\t\tif (!\$catpermission && !is_null(\$catpermission))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit.state']."', 'com_".$component."');"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn parent::canEditState(\$record);"; - } - } - else - { - // setup the default script - $allow[] = "\n\t\t\$user = JFactory::getUser();"; - $allow[] = "\t\t\$recordId\t= (!empty(\$record->id)) ? \$record->id : 0;"; - $allow[] = "\n\t\tif (\$recordId)"; - $allow[] = "\t\t{"; - $allow[] = "\t\t\t//".$this->setLine(__LINE__)." The record has been set. Check the record permissions."; - // check if the item has permissions. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder[$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder[$core['core.edit.state']])) - { - $allow[] = "\t\t\t\$permission = \$user->authorise('".$core['core.edit.state']."', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - else - { - $allow[] = "\t\t\t\$permission = \$user->authorise('core.edit.state', 'com_".$component.".".$viewName_single.".' . (int) \$recordId);"; - } - $allow[] = "\t\t\tif (!\$permission && !is_null(\$permission))"; - $allow[] = "\t\t\t{"; - $allow[] = "\t\t\t\treturn false;"; - $allow[] = "\t\t\t}"; - $allow[] = "\t\t}"; - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn \$user->authorise('".$core['core.edit.state']."', 'com_".$component."');"; - } - else - { - $allow[] = "\t\t//".$this->setLine(__LINE__)." In the absense of better information, revert to the component permissions."; - $allow[] = "\t\treturn parent::canEditState(\$record);"; - } - } - return implode("\n",$allow); - } - - - - protected function setJviewListCanDo($viewName_single,$viewName_list) - { - $allow = array(); - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName_single])) - { - $core = $this->permissionCore[$viewName_single]; - $coreLoad = true; - } - // check if the item has permissions for edit. - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit']])) - { - $allow[] = "\n\t\t\$this->canEdit\t\t= \$this->canDo->get('".$core['core.edit']."');"; - } - else - { - $allow[] = "\n\t\t\$this->canEdit\t\t= \$this->canDo->get('core.edit');"; - } - // check if the item has permissions for edit state. - if ($coreLoad && isset($core['core.edit.state']) && isset($this->permissionBuilder['global'][$core['core.edit.state']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit.state']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.edit.state']])) - { - $allow[] = "\t\t\$this->canState\t\t= \$this->canDo->get('".$core['core.edit.state']."');"; - } - else - { - $allow[] = "\t\t\$this->canState\t\t= \$this->canDo->get('core.edit.state');"; - } - // check if the item has permissions for create. - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.create']])) - { - $allow[] = "\t\t\$this->canCreate\t= \$this->canDo->get('".$core['core.create']."');"; - } - else - { - $allow[] = "\t\t\$this->canCreate\t= \$this->canDo->get('core.create');"; - } - // check if the item has permissions for delete. - if ($coreLoad && isset($core['core.delete']) && isset($this->permissionBuilder['global'][$core['core.delete']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.delete']]) && in_array($viewName_single,$this->permissionBuilder['global'][$core['core.delete']])) - { - $allow[] = "\t\t\$this->canDelete\t= \$this->canDo->get('".$core['core.delete']."');"; - } - else - { - $allow[] = "\t\t\$this->canDelete\t= \$this->canDo->get('core.delete');"; - } - // check if the item has permissions for batch. - if ($coreLoad && isset($core['core.batch']) && isset($this->permissionBuilder['global']['global'][$core['core.batch']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global']['global'][$core['core.batch']]) && in_array($viewName_single,$this->permissionBuilder['global']['global'][$core['core.delete']])) - { - $allow[] = "\t\t\$this->canBatch\t= (\$this->canDo->get('".$core['core.batch']."') && \$this->canDo->get('core.batch'));"; - } - else - { - $allow[] = "\t\t\$this->canBatch\t= \$this->canDo->get('core.batch');"; - } - - return implode("\n",$allow); - } - - protected function setFieldSetAccessControl($view) - { - $access = ''; - if ($view != 'component') - { - // set component name - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - // set label - $label = 'Permissions in relation to this '.$view; - // set the access fieldset - $access = "<!--".$this->setLine(__LINE__)." Access Control Fields. -->"; - $access .= "\n\t".'<fieldset name="accesscontrol">'; - $access .= "\n\t\t<!--".$this->setLine(__LINE__)." Asset Id Field. Type: Hidden (joomla) -->"; - $access .= "\n\t\t".'<field'; - $access .= "\n\t\t\t".'name="asset_id"'; - $access .= "\n\t\t\t".'type="hidden"'; - $access .= "\n\t\t\t".'filter="unset"'; - $access .= "\n\t\t".'/>'; - $access .= "\n\t\t<!--".$this->setLine(__LINE__)." Rules Field. Type: Rules (joomla) -->"; - $access .= "\n\t\t".'<field'; - $access .= "\n\t\t\t".'name="rules"'; - $access .= "\n\t\t\t".'type="rules"'; - $access .= "\n\t\t\t".'label="'.$label.'"'; - $access .= "\n\t\t\t".'translate_label="false"'; - $access .= "\n\t\t\t".'filter="rules"'; - $access .= "\n\t\t\t".'validate="rules"'; - $access .= "\n\t\t\t".'class="inputbox"'; - $access .= "\n\t\t\t".'component="com_'.$component.'"'; - $access .= "\n\t\t\t".'section="'.$view.'"'; - $access .= "\n\t\t".'/>'; - $access .= "\n\t".'</fieldset>'; - } - // return access field set - return $access; - } - - protected function setFilterFields($view) - { - // keep track of all fields already added - $donelist = array('id','search','published','access','created_by','modified_by'); - // default filter fields - $fields = "'a.id','id'"; - $fields .= ",\n\t\t\t\t'a.published','published'"; - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $fields .= ",\n\t\t\t\t'a.access','access'"; - } - $fields .= ",\n\t\t\t\t'a.ordering','ordering'"; - $fields .= ",\n\t\t\t\t'a.created_by','created_by'"; - $fields .= ",\n\t\t\t\t'a.modified_by','modified_by'"; - - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $fields .= ",\n\t\t\t\t'c.title','category_title'"; - $fields .= ",\n\t\t\t\t'c.id', 'category_id'"; - if ($filter['code'] != 'category') - { - $fields .= ",\n\t\t\t\t'a.".$filter['code']."', '".$filter['code']."'"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $fields .= ",\n\t\t\t\t'".$filter['custom']['db'].".".$filter['custom']['text']."','".$filter['code']."_".$filter['custom']['text']."'"; - }*/ - $fields .= ",\n\t\t\t\t'a.".$filter['code']."','".$filter['code']."'"; - } - $donelist[] = $filter['code']; - } - } - } - // add the rest of the set filters - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - foreach ($this->filterBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $fields .= ",\n\t\t\t\t'c.title','category_title'"; - $fields .= ",\n\t\t\t\t'c.id', 'category_id'"; - if ($filter['code'] != 'category') - { - $fields .= ",\n\t\t\t\t'a.".$filter['code']."', '".$filter['code']."'"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $fields .= ",\n\t\t\t\t'".$filter['custom']['db'].".".$filter['custom']['text']."','".$filter['code']."_".$filter['custom']['text']."'"; - }*/ - $fields .= ",\n\t\t\t\t'a.".$filter['code']."','".$filter['code']."'"; - } - $donelist[] = $filter['code']; - } - } - } - return $fields; - } - - protected function setStoredId($view) - { - // keep track of all fields already added - $donelist = array('id','search','published','access','created_by','modified_by'); - // set the defaults first - $stored = "//".$this->setLine(__LINE__)." Compile the store id."; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.id');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.search');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.published');"; - if (isset($this->accessBuilder[$view]) && ComponentbuilderHelper::checkString($this->accessBuilder[$view])) - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.access');"; - } - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.ordering');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.created_by');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.modified_by');"; - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category_id');"; - if ($filter['code'] != 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."_".$filter['custom']['text']."');"; - }*/ - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - $donelist[] = $filter['code']; - } - } - } - // add the rest of the set filters - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - foreach ($this->filterBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category');"; - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.category_id');"; - if ($filter['code'] != 'category') - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - } - else - { - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."_".$filter['custom']['text']."');"; - }*/ - $stored .= "\n\t\t\$id .= ':' . \$this->getState('filter.".$filter['code']."');"; - } - $donelist[] = $filter['code']; - } - } - } - return $stored; - } - - protected function setAddToolBar($view) - { - // set view name - $viewName = ComponentbuilderHelper::safeString($view['settings']->name_single); - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$viewName])) - { - $core = $this->permissionCore[$viewName]; - $coreLoad = true; - } - // check type - if ($view['settings']->type == 2) - { - // set lang strings - $viewNameLang_readonly = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single.' readonly','U'); - // load to lang - $this->langContent[$this->lang][$viewNameLang_readonly] = $view['settings']->name_single.' :: Readonly'; - - // build toolbar - $toolBar = "JFactory::getApplication()->input->set('hidemainmenu', true);"; - $toolBar .= "\n\t\tJToolBarHelper::title(JText::_('".$viewNameLang_readonly."'), '".$viewName."');"; - $toolBar .= "\n\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CLOSE');"; - } - else - { - // set lang strings - $viewNameLang_new = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single.' New','U'); - $viewNameLang_edit = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single.' Edit','U'); - // load to lang - $this->langContent[$this->lang][$viewNameLang_new] = 'A New '.$view['settings']->name_single; - $this->langContent[$this->lang][$viewNameLang_edit] = 'Editing the '.$view['settings']->name_single; - // build toolbar - $toolBar = "JFactory::getApplication()->input->set('hidemainmenu', true);"; - $toolBar .= "\n\t\t\$user = JFactory::getUser();"; - $toolBar .= "\n\t\t\$userId = \$user->id;"; - $toolBar .= "\n\t\t\$isNew = \$this->item->id == 0;"; - $toolBar .= "\n\n\t\tJToolbarHelper::title( JText::_(\$isNew ? '".$viewNameLang_new."' : '".$viewNameLang_edit."'), 'pencil-2 article-add');"; - $toolBar .= "\n\t\t//".$this->setLine(__LINE__)." Built the actions for new and existing records."; - $toolBar .= "\n\t\tif (\$this->refid || \$this->ref)"; - $toolBar .= "\n\t\t{"; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\tif (\$this->canDo->get('".$core['core.create']."') && \$isNew)"; - } - else - { - $toolBar .= "\n\t\t\tif (\$this->canDo->get('core.create') && \$isNew)"; - } - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." We can create the record."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t}"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.edit']])) - { - $toolBar .= "\n\t\t\telseif (\$this->canDo->get('".$core['core.edit']."'))"; - } - else - { - $toolBar .= "\n\t\t\telseif (\$this->canDo->get('core.edit'))"; - } - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." We can save the record."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t\tif (\$isNew)"; - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Do not creat but cancel."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CANCEL');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t\telse"; - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." We can close it."; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CLOSE');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t}"; - $toolBar .= "\n\t\telse"; - $toolBar .= "\n\t\t{"; - $toolBar .= "\n\t\t\tif (\$isNew)"; - $toolBar .= "\n\t\t\t{"; - $toolBar .= "\n\t\t\t\t//".$this->setLine(__LINE__)." For new records, check the create permission."; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('".$core['core.create']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('core.create'))"; - } - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::apply('".$viewName.".apply', 'JTOOLBAR_APPLY');"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::custom('".$viewName.".save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);"; - $toolBar .= "\n\t\t\t\t};"; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CANCEL');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t\telse"; - $toolBar .= "\n\t\t\t{"; - if ($coreLoad && isset($core['core.edit']) && isset($this->permissionBuilder['global'][$core['core.edit']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.edit']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.edit']])) - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('".$core['core.edit']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('core.edit'))"; - } - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." We can save the new record"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::apply('".$viewName.".apply', 'JTOOLBAR_APPLY');"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::save('".$viewName.".save', 'JTOOLBAR_SAVE');"; - $toolBar .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." We can save this record, but check the create permission to see"; - $toolBar .= "\n\t\t\t\t\t//".$this->setLine(__LINE__)." if we can return to make a new one."; - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\t\t\tif (\$this->canDo->get('".$core['core.create']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\t\tif (\$this->canDo->get('core.create'))"; - } - $toolBar .= "\n\t\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\t\tJToolBarHelper::custom('".$viewName.".save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);"; - $toolBar .= "\n\t\t\t\t\t}"; - $toolBar .= "\n\t\t\t\t}"; - if ($coreLoad && isset($this->historyBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->historyBuilder[$viewName])) - { - $toolBar .= "\n\t\t\t\t\$canVersion = (\$this->canDo->get('core.version') && \$this->canDo->get('".$core['core.version']."'));"; - $toolBar .= "\n\t\t\t\tif (\$this->state->params->get('save_history', 1) && \$this->canDo->get('".$core['core.edit']."') && \$canVersion)"; - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\tJToolbarHelper::versions('com_".$this->fileContentStatic['###component###'].".".$viewName."', \$this->item->id);"; - $toolBar .= "\n\t\t\t\t}"; - } - if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName,$this->permissionBuilder['global'][$core['core.create']])) - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('".$core['core.create']."'))"; - } - else - { - $toolBar .= "\n\t\t\t\tif (\$this->canDo->get('core.create'))"; - } - $toolBar .= "\n\t\t\t\t{"; - $toolBar .= "\n\t\t\t\t\tJToolBarHelper::custom('".$viewName.".save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false);"; - $toolBar .= "\n\t\t\t\t}"; - $toolBar .= "\n\t\t\t\tJToolBarHelper::cancel('".$viewName.".cancel', 'JTOOLBAR_CLOSE');"; - $toolBar .= "\n\t\t\t}"; - $toolBar .= "\n\t\t}"; - $toolBar .= "\n\t\tJToolbarHelper::divider();"; - $toolBar .= "\n\t\t//".$this->setLine(__LINE__)." set help url for this view if found"; - $toolBar .= "\n\t\t\$help_url = ".$this->fileContentStatic['###Component###']."Helper::getHelpUrl('".$viewName."');"; - $toolBar .= "\n\t\tif (".$this->fileContentStatic['###Component###']."Helper::checkString(\$help_url))"; - $toolBar .= "\n\t\t{"; - $toolBar .= "\n\t\t\tJToolbarHelper::help('".$this->langPrefix."_HELP_MANAGER', false, \$help_url);"; - $toolBar .= "\n\t\t}"; - } - return $toolBar; - } - - protected function setPopulateState($view) - { - // rest buket - $state = ''; - // keep track of all fields already added - $donelist = array(); - - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - $state .= $spacer."\$category = \$app->getUserStateFromRequest(\$this->context . '.filter.category', 'filter_category');"; - $state .= "\n\t\t\$this->setState('filter.category', \$category);"; - $state .= "\n\n\t\t\$categoryId = \$this->getUserStateFromRequest(\$this->context . '.filter.category_id', 'filter_category_id');"; - $state .= "\n\t\t\$this->setState('filter.category_id', \$categoryId);"; - if ($filter['code'] != 'category') - { - $state .= "\n\n\t\t\$".$filter['code']." = \$app->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - } - else - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $state .= $spacer."\$".$filter['code']."_".$filter['custom']['text']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."_".$filter['custom']['text']."', 'filter_".$filter['code']."_".$filter['custom']['text']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."_".$filter['custom']['text']."', \$".$filter['code']."_".$filter['custom']['text'].");"; - $spacer = "\n\n\t\t"; - }*/ - $state .= $spacer."\$".$filter['code']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - $donelist[] = $filter['code']; - } - } - } - // add the rest of the set filters - if (isset($this->filterBuilder[$view]) && ComponentbuilderHelper::checkArray($this->filterBuilder[$view])) - { - foreach ($this->filterBuilder[$view] as $filter) - { - if (!in_array($filter['code'],$donelist)) - { - if ($filter['type'] == 'category') - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - $state .= $spacer."\$category = \$app->getUserStateFromRequest(\$this->context . '.filter.category', 'filter_category');"; - $state .= "\n\t\t\$this->setState('filter.category', \$category);"; - $state .= "\n\n\t\t\$categoryId = \$this->getUserStateFromRequest(\$this->context . '.filter.category_id', 'filter_category_id');"; - $state .= "\n\t\t\$this->setState('filter.category_id', \$categoryId);"; - if ($filter['code'] != 'category') - { - $state .= "\n\n\t\t\$".$filter['code']." = \$app->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - } - else - { - if (strlen($state) == 0) - { - $spacer = ""; - } - else - { - $spacer = "\n\n\t\t"; - } - // check if custom field is set - /*if (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $state .= $spacer."\$".$filter['custom']['text']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['custom']['text']."', 'filter_".$filter['custom']['text']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['custom']['text']."', \$".$filter['custom']['text'].");"; - $state .= "\n\t\t\$".$filter['code']."_".$filter['custom']['text']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."_".$filter['custom']['text']."', 'filter_".$filter['code']."_".$filter['custom']['text']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."_".$filter['custom']['text']."', \$".$filter['code']."_".$filter['custom']['text'].");"; - $spacer = "\n\n\t\t"; - }*/ - $state .= $spacer."\$".$filter['code']." = \$this->getUserStateFromRequest(\$this->context . '.filter.".$filter['code']."', 'filter_".$filter['code']."');"; - $state .= "\n\t\t\$this->setState('filter.".$filter['code']."', \$".$filter['code'].");"; - } - $donelist[] = $filter['code']; - } - } - } - return $state; - } - - protected function setSortFields($view) - { - // set the default first - $fields = "return array("; - $fields .= "\n\t\t\t'a.sorting' => JText::_('JGRID_HEADING_ORDERING')"; - $fields .= ",\n\t\t\t'a.published' => JText::_('JSTATUS')"; - - // add the rest of the set filters - if (isset($this->sortBuilder[$view]) && ComponentbuilderHelper::checkArray($this->sortBuilder[$view])) - { - foreach ($this->sortBuilder[$view] as $filter) - { - if ($filter['type'] == 'category') - { - $fields .= ",\n\t\t\t'c.category_title' => JText::_('".$filter['lang']."')"; - } - elseif (ComponentbuilderHelper::checkArray($filter['custom'])) - { - $fields .= ",\n\t\t\t'".$filter['custom']['db'].".".$filter['custom']['text']."' => JText::_('".$filter['lang']."')"; - } - else - { - $fields .= ",\n\t\t\t'a.".$filter['code']."' => JText::_('".$filter['lang']."')"; - } - } - } - $fields .= ",\n\t\t\t'a.id' => JText::_('JGRID_HEADING_ID')"; - $fields .= "\n\t\t);"; - // return fields - return $fields; - } - - protected function setCheckinCall() - { - $call = "\n\t\t//".$this->setLine(__LINE__)." check in items"; - $call .= "\n\t\t\$this->checkInNow();\n"; - - return $call; - } - - protected function setAutoCheckin($view,$component) - { - $checkin = "\n\n\t/**"; - $checkin .= "\n\t* Build an SQL query to checkin all items left checked out longer then a set time."; - $checkin .= "\n\t*"; - $checkin .= "\n\t* @return a bool"; - $checkin .= "\n\t*"; - $checkin .= "\n\t*/"; - $checkin .= "\n\tprotected function checkInNow()"; - $checkin .= "\n\t{"; - $checkin .= "\n\t\t//".$this->setLine(__LINE__)." Get set check in time"; - $checkin .= "\n\t\t\$time = JComponentHelper::getParams('com_".$component."')->get('check_in');"; - $checkin .= "\n\t\t"; - $checkin .= "\n\t\tif (\$time)"; - $checkin .= "\n\t\t{"; - $checkin .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get a db connection."; - $checkin .= "\n\t\t\t\$db = JFactory::getDbo();"; - $checkin .= "\n\t\t\t//".$this->setLine(__LINE__)." reset query"; - $checkin .= "\n\t\t\t\$query = \$db->getQuery(true);"; - $checkin .= "\n\t\t\t\$query->select('*');"; - $checkin .= "\n\t\t\t\$query->from(\$db->quoteName('#__".$component."_".$view."'));"; - $checkin .= "\n\t\t\t\$db->setQuery(\$query);"; - $checkin .= "\n\t\t\t\$db->execute();"; - $checkin .= "\n\t\t\tif (\$db->getNumRows())"; - $checkin .= "\n\t\t\t{"; - $checkin .= "\n\t\t\t\t//".$this->setLine(__LINE__)." Get Yesterdays date"; - $checkin .= "\n\t\t\t\t\$date = JFactory::getDate()->modify(\$time)->toSql();"; - $checkin .= "\n\t\t\t\t//".$this->setLine(__LINE__)." reset query"; - $checkin .= "\n\t\t\t\t\$query = \$db->getQuery(true);"; - $checkin .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Fields to update."; - $checkin .= "\n\t\t\t\t\$fields = array("; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'',"; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out') . '=0'"; - $checkin .= "\n\t\t\t\t);"; - $checkin .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Conditions for which records should be updated."; - $checkin .= "\n\t\t\t\t\$conditions = array("; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out') . '!=0', "; - $checkin .= "\n\t\t\t\t\t\$db->quoteName('checked_out_time') . '<\''.\$date.'\''"; - $checkin .= "\n\t\t\t\t);"; - $checkin .= "\n\n\t\t\t\t//".$this->setLine(__LINE__)." Check table"; - $checkin .= "\n\t\t\t\t\$query->update(\$db->quoteName('#__".$component."_".$view."'))->set(\$fields)->where(\$conditions); "; - $checkin .= "\n\n\t\t\t\t\$db->setQuery(\$query);"; - $checkin .= "\n\n\t\t\t\t\$db->execute();"; - $checkin .= "\n\t\t\t}"; - $checkin .= "\n\t\t}"; - $checkin .= "\n\n\t\treturn false;"; - $checkin .= "\n\t}"; - - return $checkin; - } - - protected function setGetItemsMethodStringFix($view,$Component,$tab = '',$export = false) - { - // add the fix if this view has the need for it - $fix = ''; - // encription switches - $basicCrypt = false; - $advancedCrypt = false; - // setup correct core target - $coreLoad = false; - if (isset($this->permissionCore[$view])) - { - $core = $this->permissionCore[$view]; - $coreLoad = true; - } - $component = ComponentbuilderHelper::safeString($Component); - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder[$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder[$core['core.access']]) && in_array($view,$this->permissionBuilder[$core['core.access']])) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set values to display correctly."; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\t//".$this->setLine(__LINE__)." get user object."; - $fix .= "\n\t".$tab."\t\t\$user = JFactory::getUser();"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\$access = (\$user->authorise('".$core['core.access']."', 'com_".$component.".".$view.".' . (int) \$item->id) && \$user->authorise('".$core['core.access']."', 'com_".$component."'));"; - $fix .= "\n\t".$tab."\t\t\tif (!\$access)"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\tunset(\$items[\$nr]);"; - $fix .= "\n\t".$tab."\t\t\t\tcontinue;"; - $fix .= "\n\t".$tab."\t\t\t}\n"; - - } - - if (!$export) - { - $methodName = 'getItemsMethodListStringFixBuilder'; - } - else - { - $methodName = 'getItemsMethodEximportStringFixBuilder'; - } - - if (isset($this->{$methodName}[$view]) && ComponentbuilderHelper::checkArray($this->{$methodName}[$view])) - { - if (!ComponentbuilderHelper::checkString($fix)) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set values to display correctly."; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - } - - foreach ($this->{$methodName}[$view] as $item) - { - switch ($item['method']) - { - case 1: - // JSON_STRING_ENCODE - $decode = 'json_decode'; - $suffix_decode = ', true'; - break; - case 2: - // BASE_SIXTY_FOUR - $decode = 'base64_decode'; - $suffix_decode = ''; - break; - case 3: - // BASIC_ENCRYPTION_LOCALKEY - $decode = '$basic->decryptString'; - $basicCrypt = true; - $suffix_decode = ''; - break; - case 4: - // ADVANCE_ENCRYPTION_VDMKEY - $decode = '$advanced->decryptString'; - $advancedCrypt = true; - $suffix_decode = ''; - break; - default: - // JSON_ARRAY_ENCODE - $decode = 'json_decode'; - $suffix_decode = ', true'; - break; - } - - if ($item['type'] == 'usergroup' && !$export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." decode ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$".$item['name']."Names = '';"; - $fix .= "\n\t".$tab."\t\t\t\t\$counter = 0;"; - $fix .= "\n\t".$tab."\t\t\t\tforeach (\$".$item['name']."Array as \$".$item['name'].")"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\tif (\$counter == 0)"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= ".$Component."Helper::getGroupName(\$".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\telse"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= ', '.".$Component."Helper::getGroupName(\$".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\t\$counter++;"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\$item->".$item['name']." = \$".$item['name']."Names;"; - $fix .= "\n\t".$tab."\t\t\t}"; - } - /*elseif ($item['type'] == 'usergroup' && $export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." decode ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$item->".$item['name']." = implode('|',\$".$item['name']."Array);"; - $fix .= "\n\t".$tab."\t\t\t}"; - }*/ - elseif ($item['translation'] && !$export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$".$item['name']."Names = '';"; - $fix .= "\n\t".$tab."\t\t\t\t\$counter = 0;"; - $fix .= "\n\t".$tab."\t\t\t\tforeach (\$".$item['name']."Array as \$".$item['name'].")"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\tif (\$counter == 0)"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= JText::_(\$this->selectionTranslation(\$".$item['name'].", '".$item['name']."'));"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\telse"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$".$item['name']."Names .= ', '.JText::_(\$this->selectionTranslation(\$".$item['name'].", '".$item['name']."'));"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\t\$counter++;"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t\$item->".$item['name']." = \$".$item['name']."Names;"; - $fix .= "\n\t".$tab."\t\t\t}"; - } - else - { - if ($item['method'] == 2 || $item['method'] == 3 || $item['method'] == 4) - { - $taber = ''; - if ($item['method'] == 3) - { - $taber = "\t"; - $fix .= "\n\t".$tab."\t\t\tif (\$basickey && !is_numeric(\$item->".$item['name'].") && \$item->".$item['name']." === base64_encode(base64_decode(\$item->".$item['name'].", true)))"; - $fix .= "\n\t".$tab."\t\t\t{"; - } - if ($item['method'] == 4) - { - $taber = "\t"; - $fix .= "\n\t".$tab."\t\t\tif (\$advancedkey && !is_numeric(\$item->".$item['name'].") && \$item->".$item['name']." === base64_encode(base64_decode(\$item->".$item['name'].", true)))"; - $fix .= "\n\t".$tab."\t\t\t{"; - } - if ($item['method'] == 3 || $item['method'] == 4) - { - $fix .= "\n\t".$tab."\t\t\t\t//".$this->setLine(__LINE__)." decrypt ".$item['name']; - } - else - { - $fix .= "\n\t".$tab.$taber."\t\t\t//".$this->setLine(__LINE__)." decode ".$item['name']; - } - $fix .= "\n\t".$tab.$taber."\t\t\t\$item->".$item['name']." = ".$decode."(\$item->".$item['name'].");"; - - if ($item['method'] == 3 || $item['method'] == 4) - { - $fix .= "\n\t".$tab."\t\t\t}"; - } - } - else - { - if ($export && $item['type'] == 'repeatable') - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." decode repeatable ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$".$item['name']."Array = ".$decode."(\$item->".$item['name'].$suffix_decode.");"; - $fix .= "\n\t".$tab."\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."Array))"; - $fix .= "\n\t".$tab."\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\$bucket".$item['name']." = array();"; - $fix .= "\n\t".$tab."\t\t\t\tforeach (\$".$item['name']."Array as \$".$item['name']."FieldName => \$".$item['name'].")"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\tif (".$Component."Helper::checkArray(\$".$item['name']."))"; - $fix .= "\n\t".$tab."\t\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t\t\$bucket".$item['name']."[] = \$".$item['name']."FieldName . '<||VDM||>' . implode('<|VDM|>',\$".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t\t//".$this->setLine(__LINE__)." make sure the bucket has values."; - $fix .= "\n\t".$tab."\t\t\t\tif (".$Component."Helper::checkArray(\$bucket".$item['name']."))"; - $fix .= "\n\t".$tab."\t\t\t\t{"; - $fix .= "\n\t".$tab."\t\t\t\t\t//".$this->setLine(__LINE__)." clear the repeatable field."; - $fix .= "\n\t".$tab."\t\t\t\t\tunset(\$item->".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t//".$this->setLine(__LINE__)." set repeatable field for export."; - $fix .= "\n\t".$tab."\t\t\t\t\t\$item->".$item['name']." = implode('<|||VDM|||>',\$bucket".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t\t//".$this->setLine(__LINE__)." unset the bucket."; - $fix .= "\n\t".$tab."\t\t\t\t\tunset(\$bucket".$item['name'].");"; - $fix .= "\n\t".$tab."\t\t\t\t}"; - $fix .= "\n\t".$tab."\t\t\t}"; - } - else - { - if (!$export) - { - // TODO we must add options for multi custom selection. - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$item['name']; - $fix .= "\n\t".$tab."\t\t\t\$item->".$item['name']." = ".$Component."Helper::jsonToString(\$item->".$item['name'].");"; - } - } - } - } - } - } - - // close the foreach if needed - if (!ComponentbuilderHelper::checkString($fix) && $export) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set values to display correctly."; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - } - // close the foreach if needed - if (ComponentbuilderHelper::checkString($fix)) - { - // remove these values if export - if ($export) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." unset the values we don't want exported."; - $fix .= "\n\t".$tab."\t\t\tunset(\$item->asset_id);"; - $fix .= "\n\t".$tab."\t\t\tunset(\$item->checked_out);"; - $fix .= "\n\t".$tab."\t\t\tunset(\$item->checked_out_time);"; - } - $fix .= "\n\t".$tab."\t\t}"; - $fix .= "\n\t".$tab."\t}"; - if ($export) - { - $fix .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Add headers to items array."; - $fix .= "\n\t".$tab."\t\$headers = \$this->getExImPortHeaders();"; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkObject(\$headers))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tarray_unshift(\$items,\$headers);"; - $fix .= "\n\t".$tab."\t}"; - } - } - - // add custom php to getitems method - if (isset($this->customScriptBuilder['php_getitems'][$view]) && ComponentbuilderHelper::checkString($this->customScriptBuilder['php_getitems'][$view])) - { - $fix .= "\n\n".$tab."".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->customScriptBuilder['php_getitems'][$view]); - } - - if ($basicCrypt) - { - $script = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the basic encription key."; - $script .= "\n\t".$tab."\t\$basickey = ".$Component."Helper::getCryptKey('basic');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$basic = new FOFEncryptAes(\$basickey, 128);"; - // add the encryption script - $fix = $script . $fix; - } - - if ($advancedCrypt) - { - $script = "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the advanced encription key."; - $script .= "\n\t".$tab."\t\$advancedkey = ".$Component."Helper::getCryptKey('advanced');"; - $script .= "\n\t".$tab."\t//".$this->setLine(__LINE__)." Get the encription object."; - $script .= "\n\t".$tab."\t\$advanced = new FOFEncryptAes(\$advancedkey, 256);"; - // add the encryption script - $fix = $script . $fix; - } - - return $fix; - } - - protected function setSelectionTranslationFix($views,$Component,$tab = '') - { - // add the fix if this view has the need for it - $fix = ''; - if (isset($this->selectionTranslationFixBuilder[$views]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$views])) - { - $fix .= "\n\n\t".$tab."\t//".$this->setLine(__LINE__)." set selection value to a translatable value"; - $fix .= "\n\t".$tab."\tif (".$Component."Helper::checkArray(\$items))"; - $fix .= "\n\t".$tab."\t{"; - $fix .= "\n\t".$tab."\t\tforeach (\$items as \$nr => &\$item)"; - $fix .= "\n\t".$tab."\t\t{"; - foreach ($this->selectionTranslationFixBuilder[$views] as $name => $values) - { - $fix .= "\n\t".$tab."\t\t\t//".$this->setLine(__LINE__)." convert ".$name; - $fix .= "\n\t".$tab."\t\t\t\$item->".$name." = \$this->selectionTranslation(\$item->".$name.", '".$name."');"; - } - $fix .= "\n\t".$tab."\t\t}"; - $fix .= "\n\t".$tab."\t}\n"; - } - return $fix; - } - - protected function setSelectionTranslationFixFunc($views,$Component) - { - // add the fix if this view has the need for it - $fix = ''; - if (isset( $this->selectionTranslationFixBuilder[$views]) && ComponentbuilderHelper::checkArray($this->selectionTranslationFixBuilder[$views])) - { - $fix .= "\n\n\t/**"; - $fix .= "\n\t* Method to convert selection values to translatable string."; - $fix .= "\n\t*"; - $fix .= "\n\t* @return translatable string"; - $fix .= "\n\t*/"; - $fix .= "\n\tpublic function selectionTranslation(\$value,\$name)"; - $fix .= "\n\t{"; - foreach ($this->selectionTranslationFixBuilder[$views] as $name => $values) - { - if (ComponentbuilderHelper::checkArray($values)) - { - $fix .= "\n\t\t//".$this->setLine(__LINE__)." Array of ".$name." language strings"; - $fix .= "\n\t\tif (\$name == '".$name."')"; - $fix .= "\n\t\t{"; - $fix .= "\n\t\t\t\$".$name."Array = array("; - $counter = 0; - foreach ($values as $value => $translang) - { - // only add quotes to strings - if (ComponentbuilderHelper::checkString($value)) - { - $key = "'".$value."'"; - } - else - { - if ($value == '') - { - $value = 0; - } - $key = $value; - } - if ($counter == 0) - { - $fix .= "\n\t\t\t\t".$key." => '".$translang."'"; - } - else - { - $fix .= ",\n\t\t\t\t".$key." => '".$translang."'"; - } - $counter++; - } - $fix .= "\n\t\t\t);"; - $fix .= "\n\t\t\t//".$this->setLine(__LINE__)." Now check if value is found in this array"; - $fix .= "\n\t\t\tif (isset(\$".$name."Array[\$value]) && ".$Component."Helper::checkString(\$".$name."Array[\$value]))"; - $fix .= "\n\t\t\t{"; - $fix .= "\n\t\t\t\treturn \$".$name."Array[\$value];"; - $fix .= "\n\t\t\t}"; - $fix .= "\n\t\t}"; - } - } - $fix .= "\n\t\treturn \$value;"; - $fix .= "\n\t}"; - } - return $fix; - } - - protected function setFieldSet($view,$component) - { - // setup the fieldset of this view - if (isset($view['settings']->fields) && ComponentbuilderHelper::checkArray($view['settings']->fields)) - { - // setup the list view and single view name - $listViewName = ComponentbuilderHelper::safeString($view['settings']->name_list); - $viewName = ComponentbuilderHelper::safeString($view['settings']->name_single); - // add metadata to the view - if ($view['metadata']) - { - $this->metadataBuilder[$viewName] = $viewName; - } - // add access to the view - if ($view['access']) - { - $this->accessBuilder[$viewName] = $viewName; - } - // set the read only - $readOnly = ""; - if ($view['settings']->type == 2) - { - $readOnly = "\n\t\t\t".'readonly="true"'."\n\t\t\t".'disabled="true"'; - } - // main lang prefix - $langView = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_single,'U'); - $langViews = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($view['settings']->name_list,'U'); - // set default lang - $this->langContent[$this->lang][$langView] = $view['settings']->name_single; - $this->langContent[$this->lang][$langViews] = $view['settings']->name_list; - // set the singel name - $viewSingleName = ComponentbuilderHelper::safeString($view['settings']->name_single,'W'); - // set global item strings - $this->langContent[$this->lang][$langViews.'_N_ITEMS_ARCHIVED'] = "%s ".$view['settings']->name_list." archived."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_ARCHIVED_1'] = "%s ".$view['settings']->name_single." archived."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_CHECKED_IN_0'] = "No ".$view['settings']->name_single." successfully checked in."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_CHECKED_IN_1'] = "%d ".$view['settings']->name_single." successfully checked in."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_CHECKED_IN_MORE'] = "%d ".$view['settings']->name_list." successfully checked in."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_DELETED'] = "%s ".$view['settings']->name_list." deleted."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_DELETED_1'] = "%s ".$view['settings']->name_single." deleted."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_FEATURED'] = "%s ".$view['settings']->name_list." featured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_FEATURED_1'] = "%s ".$view['settings']->name_single." featured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_PUBLISHED'] = "%s ".$view['settings']->name_list." published."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_PUBLISHED_1'] = "%s ".$view['settings']->name_single." published."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_TRASHED'] = "%s ".$view['settings']->name_list." trashed."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_TRASHED_1'] = "%s ".$view['settings']->name_single." trashed."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNFEATURED'] = "%s ".$view['settings']->name_list." unfeatured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNFEATURED_1'] = "%s ".$view['settings']->name_single." unfeatured."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNPUBLISHED'] = "%s ".$view['settings']->name_list." unpublished."; - $this->langContent[$this->lang][$langViews.'_N_ITEMS_UNPUBLISHED_1'] = "%s ".$view['settings']->name_single." unpublished."; - $this->langContent[$this->lang][$langViews.'_BATCH_OPTIONS'] = "Batch process the selected ".$view['settings']->name_list; - $this->langContent[$this->lang][$langViews.'_BATCH_TIP'] = "All changes will be applied to all selected ".$view['settings']->name_list; - // set some basic defaults - $this->langContent[$this->lang][$langView.'_ERROR_UNIQUE_ALIAS'] = "Another ".$view['settings']->name_single." has the same alias."; - $this->langContent[$this->lang][$langView.'_CREATED_DATE_LABEL'] = "Created date"; - $this->langContent[$this->lang][$langView.'_CREATED_DATE_DESC'] = "The date ".$view['settings']->name_single." was created."; - $this->langContent[$this->lang][$langView.'_CREATED_BY_LABEL'] = "Created by"; - $this->langContent[$this->lang][$langView.'_CREATED_BY_DESC'] = "The user that created the ".$view['settings']->name_single."."; - $this->langContent[$this->lang][$langView.'_ORDERING_LABEL'] = "Ordering"; - $this->langContent[$this->lang][$langView.'_VERSION_LABEL'] = "Revision"; - $this->langContent[$this->lang][$langView.'_VERSION_DESC'] = "A count of the number of times this ".$view['settings']->name_single." has been revised."; - $this->langContent[$this->lang][$langView.'_SAVE_WARNING'] = "Alias already existed so a number was added at the end. You can re-edit the ".$view['settings']->name_single." to customise the alias."; - // set the defautl fields - $fieldSet = '<fieldset name="details">'; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Default Fields. -->"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Id Field. Type: Text (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\tname=".'"id"'; - $fieldSet .= "\n\t\t\t".'type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"'; - $fieldSet .= "\n\t\t\t".'description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"'; - $fieldSet .= "\n\t\t\t".'readonly="true"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Date Created Field. Type: Calendar (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\tname=".'"created"'; - $fieldSet .= "\n\t\t\ttype=".'"calendar"'; - $fieldSet .= "\n\t\t\tlabel=".'"'.$langView.'_CREATED_DATE_LABEL"'; - $fieldSet .= "\n\t\t\tdescription=".'"'.$langView.'_CREATED_DATE_DESC"'; - $fieldSet .= "\n\t\t\tsize=".'"22"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\tformat=".'"%Y-%m-%d %H:%M:%S"'; - $fieldSet .= "\n\t\t\tfilter=".'"user_utc"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." User Created Field. Type: User (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\tname=".'"created_by"'; - $fieldSet .= "\n\t\t\ttype=".'"user"'; - $fieldSet .= "\n\t\t\tlabel=".'"'.$langView.'_CREATED_BY_LABEL"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\tdescription=".'"'.$langView.'_CREATED_BY_DESC"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Published Field. Type: List (joomla) -->"; - $fieldSet .= "\n\t\t<field name=".'"published" type="list" label="JSTATUS"'; - $fieldSet .= "\n\t\t\tdescription=".'"JFIELD_PUBLISHED_DESC" class="chzn-color-state"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\tfilter=".'"intval" size="1" default="1" >'; - - $fieldSet .= "\n\t\t\t<option value=".'"1">'; - $fieldSet .= "\n\t\t\t\tJPUBLISHED</option>"; - $fieldSet .= "\n\t\t\t<option value=".'"0">'; - $fieldSet .= "\n\t\t\t\tJUNPUBLISHED</option>"; - $fieldSet .= "\n\t\t\t<option value=".'"2">'; - $fieldSet .= "\n\t\t\t\tJARCHIVED</option>"; - $fieldSet .= "\n\t\t\t<option value=".'"-2">'; - $fieldSet .= "\n\t\t\t\tJTRASHED</option>"; - $fieldSet .= "\n\t\t</field>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Date Modified Field. Type: Calendar (joomla) -->"; - $fieldSet .= "\n\t\t".'<field name="modified" type="calendar" class="readonly"'; - $fieldSet .= "\n\t\t\t".'label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC"'; - $fieldSet .= "\n\t\t\t".'size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />'; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." User Modified Field. Type: User (joomla) -->"; - $fieldSet .= "\n\t\t".'<field name="modified_by" type="user"'; - $fieldSet .= "\n\t\t\t".'label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"'; - $fieldSet .= "\n\t\t\t".'class="readonly"'; - $fieldSet .= "\n\t\t\t".'readonly="true"'; - $fieldSet .= "\n\t\t\t".'filter="unset"'; - $fieldSet .= "\n\t\t/>"; - // check if view has access - if (isset($this->accessBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->accessBuilder[$viewName])) - { - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Access Field. Type: Accesslevel (joomla) -->"; - $fieldSet .= "\n\t\t".'<field name="access"'; - $fieldSet .= "\n\t\t\t".'type="accesslevel"'; - $fieldSet .= "\n\t\t\t".'label="JFIELD_ACCESS_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="JFIELD_ACCESS_DESC"'; - $fieldSet .= "\n\t\t\t".'default="1"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\t".'required="false"'; - $fieldSet .= "\n\t\t/>"; - } - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Ordering Field. Type: Numbers (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="ordering"'; - $fieldSet .= "\n\t\t\t".'type="number"'; - $fieldSet .= "\n\t\t\t".'class="inputbox validate-ordering"'; - $fieldSet .= "\n\t\t\t".'label="'.$langView.'_ORDERING_LABEL'.'"'; - $fieldSet .= "\n\t\t\t".'description=""'; - $fieldSet .= "\n\t\t\t".'default="0"'; - $fieldSet .= "\n\t\t\t".'size="6"'; - $fieldSet .= $readOnly; - $fieldSet .= "\n\t\t\t".'required="false"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Version Field. Type: Text (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="version"'; - $fieldSet .= "\n\t\t\t".'type="text"'; - $fieldSet .= "\n\t\t\t".'class="readonly"'; - $fieldSet .= "\n\t\t\t".'label="'.$langView.'_VERSION_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="'.$langView.'_VERSION_DESC"'; - $fieldSet .= "\n\t\t\t".'size="6"'; - $fieldSet .= "\n\t\t\t".'readonly="true"'; - $fieldSet .= "\n\t\t\t".'filter="unset"'; - $fieldSet .= "\n\t\t/>"; - // check if metadata is added to this view - if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName])) - { - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Metakey Field. Type: Textarea (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="metakey"'; - $fieldSet .= "\n\t\t\t".'type="textarea"'; - $fieldSet .= "\n\t\t\t".'label="JFIELD_META_KEYWORDS_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="JFIELD_META_KEYWORDS_DESC"'; - $fieldSet .= "\n\t\t\t".'rows="3"'; - $fieldSet .= "\n\t\t\t".'cols="30"'; - $fieldSet .= "\n\t\t/>"; - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Metadesc Field. Type: Textarea (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldSet .= "\n\t\t\t".'name="metadesc"'; - $fieldSet .= "\n\t\t\t".'type="textarea"'; - $fieldSet .= "\n\t\t\t".'label="JFIELD_META_DESCRIPTION_LABEL"'; - $fieldSet .= "\n\t\t\t".'description="JFIELD_META_DESCRIPTION_DESC"'; - $fieldSet .= "\n\t\t\t".'rows="3"'; - $fieldSet .= "\n\t\t\t".'cols="30"'; - $fieldSet .= "\n\t\t/>"; - } - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." Dynamic Fields. -->"; - // start adding dynamc fields - $placeholders = array( - '###component###' => $component, - '###view###' => $viewName, - '###views###' => $listViewName); - $spacerCounter = 'a'; - // set the custom table key - $dbkey = 'g'; - // TODO we should add the global and local view switch if field for front end - foreach ($view['settings']->fields as $field) - { - $fieldSet .= $this->setDynamicField($field,$view,$view['settings']->type,$langView,$viewName,$listViewName,$spacerCounter,$placeholders,$dbkey,true); - } - - $fieldSet .= "\n\t</fieldset>"; - // check if metadata is added to this view - if (isset($this->metadataBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->metadataBuilder[$viewName])) - { - $fieldSet .= "\n\n\t<!--".$this->setLine(__LINE__)." Metadata Fields. -->"; - $fieldSet .= "\n\t<fields".' name="metadata" label="JGLOBAL_FIELDSET_METADATA_OPTIONS">'; - $fieldSet .= "\n\t\t".'<fieldset name="vdmmetadata"'; - $fieldSet .= "\n\t\t\t".'label="JGLOBAL_FIELDSET_METADATA_OPTIONS">'; - $fieldSet .= "\n\t\t\t<!--".$this->setLine(__LINE__)." Robots Field. Type: List (joomla) -->"; - $fieldSet .= "\n\t\t\t".'<field name="robots"'; - $fieldSet .= "\n\t\t\t\t".'type="list"'; - $fieldSet .= "\n\t\t\t\t".'label="JFIELD_METADATA_ROBOTS_LABEL"'; - $fieldSet .= "\n\t\t\t\t".'description="JFIELD_METADATA_ROBOTS_DESC" >'; - $fieldSet .= "\n\t\t\t\t".'<option value="">JGLOBAL_USE_GLOBAL</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="index, follow">JGLOBAL_INDEX_FOLLOW</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="noindex, follow">JGLOBAL_NOINDEX_FOLLOW</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="index, nofollow">JGLOBAL_INDEX_NOFOLLOW</option>'; - $fieldSet .= "\n\t\t\t\t".'<option value="noindex, nofollow">JGLOBAL_NOINDEX_NOFOLLOW</option>'; - $fieldSet .= "\n\t\t\t".'</field>'; - $fieldSet .= "\n\t\t\t<!--".$this->setLine(__LINE__)." Author Field. Type: Text (joomla) -->"; - $fieldSet .= "\n\t\t\t".'<field name="author"'; - $fieldSet .= "\n\t\t\t\t".'type="text"'; - $fieldSet .= "\n\t\t\t\t".'label="JAUTHOR" description="JFIELD_METADATA_AUTHOR_DESC"'; - $fieldSet .= "\n\t\t\t\t".'size="20"'; - $fieldSet .= "\n\t\t\t/>"; - $fieldSet .= "\n\t\t\t<!--".$this->setLine(__LINE__)." Rights Field. Type: Textarea (joomla) -->"; - $fieldSet .= "\n\t\t\t".'<field name="rights" type="textarea" label="JFIELD_META_RIGHTS_LABEL"'; - $fieldSet .= "\n\t\t\t\t".'description="JFIELD_META_RIGHTS_DESC" required="false" filter="string"'; - $fieldSet .= "\n\t\t\t\t".'cols="30" rows="2"'; - $fieldSet .= "\n\t\t\t/>"; - $fieldSet .= "\n\t\t</fieldset>"; - $fieldSet .= "\n\t</fields>"; - } - // retunr the set - return $fieldSet; - } - return ''; - } - - protected function setDynamicField(&$field,&$view,&$viewType, &$langView,&$viewName,&$listViewName,&$spacerCounter,&$placeholders,&$dbkey,$build) - { - $name = ComponentbuilderHelper::safeString($field['settings']->name); - $typeName = ComponentbuilderHelper::safeString($field['settings']->type_name); - $multiple = false; - $langLabel = ''; - $taber = ''; - $fieldSet = ''; - // get field values - $fieldValues = $this->setFieldValues($field,$viewType,$name,$typeName,$multiple,$langLabel,$langView,$spacerCounter,$listViewName,$viewName,$placeholders); - // check if values were set - if (ComponentbuilderHelper::checkArray($fieldValues)) - { - if ($this->defaultField($typeName, 'option')) - { - //reset options array - $optionArray = array(); - // now add to the field set - $fieldSet .= $this->setField('option',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - if ($build) - { - // set builders - $this->setBuilders($langLabel, $langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,false,$optionArray); - } - } - elseif ($this->defaultField($typeName, 'plain')) - { - if ($build) - { - // set builders - $this->setBuilders($langLabel, $langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple); - } - // now add to the field set - $fieldSet .= $this->setField('plain',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - } - elseif ($this->defaultField($typeName, 'spacer')) - { - if ($build) - { - // make sure spacers gets loaded to layout - $tabName = ''; - if (isset($view['settings']->tabs) && isset($view['settings']->tabs[(int) $field['tab']])) - { - $tabName = $view['settings']->tabs[(int) $field['tab']]; - } - $this->setLayoutBuilder($viewName,$tabName,$name,$field); - } - // now add to the field set - $fieldSet .= $this->setField('spacer',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - // increment spacer counter - if ($typeName == 'spacer') - { - $spacerCounter++; - } - } - elseif($this->defaultField($typeName, 'special')) - { - // set the repeatable field - if ($typeName == 'repeatable') - { - if ($build) - { - // set builders - $this->setBuilders($langLabel,$langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,false); - } - // now add to the field set - $fieldSet .= $this->setField('special',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - } - } - elseif (ComponentbuilderHelper::checkArray($fieldValues['custom'])) - { - // set the custom array - $custom = $fieldValues['custom']; - unset($fieldValues['custom']); - // set db key - $custom['db'] = $dbkey; - // increment the db key - $dbkey++; - if ($build) - { - // set builders - $this->setBuilders($langLabel,$langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,$custom); - } - // now add to the field set - $fieldSet .= $this->setField('custom',$taber,$fieldValues,$name,$typeName,$langView,$viewName,$listViewName,$placeholders,$optionArray); - } - } - return $fieldSet; - } - - protected function setField($setType,$taber,&$fieldValues,&$name,&$typeName,&$langView,&$viewName,&$listViewName,$placeholders,&$optionArray) - { - $fieldSet = ''; - if ($setType == 'option') - { - // now add to the field set - $fieldSet .= "\n\t".$taber."\t<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (joomla) -->"; - $fieldSet .= "\n\t".$taber."\t<field"; - $optionSet = ''; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= "\n\t\t".$taber."\t".$property.'="'.$value.'"'; - } - elseif ($property == 'option') - { - $optionSet = ''; - if (strpos($value,',') !== false) - { - // mulitpal options - $options = explode(',',$value); - foreach ($options as $option) - { - if (strpos($option,'|') !== false) - { - // has other value then text - list($v,$t) = explode('|',$option); - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($t,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $t; - // no add to option set - $optionSet .= "\n\t".$taber."\t\t".'<option value="'.$v.'">'."\n\t".$taber."\t\t\t".$langValue.'</option>'; - $optionArray[$v] = $langValue; - } - else - { - // text is also the value - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($option,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $option; - // no add to option set - $optionSet .= "\n\t\t".$taber."\t".'<option value="'.$option.'">'."\n\t\t".$taber."\t\t".$langValue.'</option>'; - $optionArray[$option] = $langValue; - } - } - } - else - { - // one option - if (strpos($value,'|') !== false) - { - // has other value then text - list($v,$t) = explode('|',$value); - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($t,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $t; - // no add to option set - $optionSet .= "\n\t\t".$taber."\t".'<option value="'.$v.'">'."\n\t\t".$taber."\t\t".$langValue.'</option>'; - $optionArray[$v] = $langValue; - } - else - { - // text is also the value - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($value,'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $value; - // no add to option set - $optionSet .= "\n\t\t".$taber."\t".'<option value="'.$value.'">'."\n\t\t".$taber."\t\t".$langValue.'</option>'; - $optionArray[$value] = $langValue; - } - - } - } - } - if (ComponentbuilderHelper::checkString($optionSet)) - { - $fieldSet .= '>'; - $fieldSet .= "\n\t\t\t".$taber."<!--".$this->setLine(__LINE__)." Option Set. -->"; - $fieldSet .= $optionSet; - $fieldSet .= "\n\t\t".$taber."</field>"; - } - else - { - $optionArray = false; - $fieldSet .= "\n\t\t\t".$taber."<!--".$this->setLine(__LINE__)." No Manual Options Were Added In Field Settings. -->"; - $fieldSet .= "\n\t\t".$taber."/>"; - } - } - elseif ($setType == 'plain') - { - // now add to the field set - $fieldSet .= "\n\t\t".$taber."<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (joomla) -->"; - $fieldSet .= "\n\t\t".$taber."<field"; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= "\n\t\t".$taber."\t".$property.'="'.$value.'"'; - } - } - $fieldSet .= "\n\t\t".$taber."/>"; - } - elseif ($setType == 'spacer') - { - // now add to the field set - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". A None Database Field. (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= " ".$property.'="'.$value.'"'; - } - } - $fieldSet .= " />"; - } - elseif ($setType == 'special') - { - // set the repeatable field - if ($typeName == 'repeatable') - { - // now add to the field set - $fieldSet .= "\n\t\t<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (joomla) -->"; - $fieldSet .= "\n\t\t<field"; - $fieldsSet = array(); - foreach ($fieldValues as $property => $value) - { - if ($property != 'fields') - { - $fieldSet .= "\n\t\t\t".$property.'="'.$value.'"'; - } - } - $fieldSet .= ">"; - $fieldSet .= "\n\t\t\t".'<fields name="'.$fieldValues['name'].'_fields" label="">'; - $fieldSet .= "\n\t\t\t\t".'<fieldset hidden="true" name="'.$fieldValues['name'].'_modal" repeat="true">'; - if (strpos($fieldValues['fields'],',') !== false) - { - // mulitpal fields - $fieldsSets = explode(',',$fieldValues['fields']); - } - else - { - // single field - $fieldsSets[] = $fieldValues['fields']; - } - // only continue if we have a field set - if (ComponentbuilderHelper::checkArray($fieldsSets)) - { - foreach ($fieldsSets as $fieldId) - { - // get the field data - $fieldData['settings'] = $this->getFieldData($fieldId,$viewName); - if (ComponentbuilderHelper::checkObject($fieldData['settings'])) - { - $r_name = ComponentbuilderHelper::safeString($fieldData['settings']->name); - $r_typeName = ComponentbuilderHelper::safeString($fieldData['settings']->type_name); - $r_multiple = false; - $r_langLabel = ''; - // make sure that these fields are not required - $fieldData['settings']->xml = str_replace('required="','requirenot="',$fieldData['settings']->xml); - // add the tabs needed - $taber = "\t\t\t"; - // get field values - $r_fieldValues = $this->setFieldValues($fieldData,$view,$r_name,$r_typeName,$r_multiple,$r_langLabel,$langView,$spacerCounter,$listViewName,$viewName,$placeholders,true); - // check if values were set - if (ComponentbuilderHelper::checkArray($r_fieldValues)) - { - //reset options array - $r_optionArray = array(); - if ($this->defaultField($r_typeName, 'option')) - { - // now add to the field set - $fieldSet .= $this->setField('option',$taber,$r_fieldValues,$r_name,$r_typeName,$langView,$viewName,$listViewName,$placeholders,$r_optionArray); - } - elseif ($this->defaultField($r_typeName, 'plain')) - { - // now add to the field set - $fieldSet .= $this->setField('plain',$taber,$r_fieldValues,$r_name,$r_typeName,$langView,$viewName,$listViewName,$placeholders,$r_optionArray); - } - elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom'])) - { - // add to custom - $custom = $r_fieldValues['custom']; - unset($r_fieldValues['custom']); - // now add to the field set - $fieldSet .= $this->setField('custom',$taber,$r_fieldValues,$r_name,$r_typeName,$langView,$viewName,$listViewName,$placeholders,$r_optionArray); - // set lang (just incase) - $r_listLangName = $langView.'_'.ComponentbuilderHelper::safeString($r_name,'U'); - // add to lang array - $this->langContent[$this->lang][$r_listLangName] = ComponentbuilderHelper::safeString($r_name,'W'); - // if label was set use instead - if (ComponentbuilderHelper::checkString($r_langLabel)) - { - $r_listLangName = $r_langLabel; - } - // set the custom array - $data = array( 'type' => $r_typeName, 'code' => $r_name, 'lang' => $r_listLangName, 'custom' => $custom); - // set the custom field file - $this->setCustomFieldTypeFile($data,$listViewName,$viewName); - } - } - } - } - } - $fieldSet .= "\n\t\t\t\t</fieldset>"; - $fieldSet .= "\n\t\t\t</fields>"; - $fieldSet .= "\n\t\t</field>"; - } - } - elseif ($setType == 'custom') - { - // now add to the field set - $fieldSet .= "\n\t\t".$taber."<!--".$this->setLine(__LINE__)." ".ComponentbuilderHelper::safeString($name, 'F')." Field. Type: ".ComponentbuilderHelper::safeString($typeName, 'F').". (custom) -->"; - $fieldSet .= "\n\t\t".$taber."<field"; - foreach ($fieldValues as $property => $value) - { - if ($property != 'option') - { - $fieldSet .= "\n\t\t".$taber."\t".$property.'="'.$value.'"'; - } - } - $fieldSet .= "\n\t\t".$taber."/>"; - - } - return $fieldSet; - } - - protected function setFieldValues(&$field,&$viewType,&$name,&$typeName,&$multiple,&$langLabel,$langView,&$spacerCounter,$listViewName,$viewName,$placeholders,$repeatable = false) - { - // reset array` - $fieldValues = array(); - $setCustom = false; - // setup joomla default fields - if (!$this->defaultField($typeName)) - { - $fieldValues['custom'] = array(); - $setCustom = true; - } - // setup a default field - if (ComponentbuilderHelper::checkArray($field['settings']->properties)) - { - foreach ($field['settings']->properties as $property) - { - // reset - $xmlValue = ''; - $langValue = ''; - if ($property['name'] == 'type') - { - if ($typeName == 'custom' || $typeName == 'customuser') - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'type="','"')); - } - // use field core type only if not found - elseif (ComponentbuilderHelper::checkString($typeName)) - { - $xmlValue = $typeName; - } - // make sure none adjustable fields are set - elseif (isset($property['example']) && ComponentbuilderHelper::checkString($property['example']) && $property['adjustable'] == 0) - { - $xmlValue = $property['example']; - } - // fall back on the xml settings - else - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'type="','"')); - } - - // check if the value is set - if (ComponentbuilderHelper::checkString($xmlValue)) - { - // add the value - $typeName = $xmlValue; - } - else - { - // fall back to text - $xmlValue = 'text'; - $typeName = $xmlValue; - } - - // add to custom if it is custom - if ($setCustom) - - { - // set the type just to make sure. - $fieldValues['custom']['type'] = $typeName; - } - } - elseif ($property['name'] == 'name') - { - // if category then name must be catid (only one per view) - if ($typeName == 'category') - { - // quick check if this is a category linked to view page - $requeSt_id = ComponentbuilderHelper::getBetween($field['settings']->xml,'name="','"'); - if (strpos($requeSt_id, '_request_id') !== false) - { - // keep it then, don't change - $xmlValue = $requeSt_id; - } - else - { - $xmlValue = 'catid'; - } - // check if we should use another Text Name as this views name - $otherName = ComponentbuilderHelper::getBetween($field['settings']->xml,'othername="','"'); - $otherViews = ComponentbuilderHelper::getBetween($field['settings']->xml,'views="','"'); - $otherView = ComponentbuilderHelper::getBetween($field['settings']->xml,'view="','"'); - if (ComponentbuilderHelper::checkString($otherName) && ComponentbuilderHelper::checkString($otherViews) && ComponentbuilderHelper::checkString($otherView)) - { - $this->catOtherName[$listViewName] = array( - 'name' => ComponentbuilderHelper::safeString($otherName), - 'views' => ComponentbuilderHelper::safeString($otherViews), - 'view' => ComponentbuilderHelper::safeString($otherView) - ); - } - - } - // if tag is set then enable all tag options for this view (only one per view) - elseif ($typeName == 'tag') - { - $xmlValue = 'tags'; - } - // if the field is set as alias it must be called alias - elseif (isset($field['alias']) && $field['alias']) - { - $xmlValue = 'alias'; - } - elseif ($typeName == 'spacer') - { - // make sure the name is unique - $xmlValue = $name.'_'.$spacerCounter; - } - else - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'name="','"')); - } - - // use field core name only if not found in xml - if (!ComponentbuilderHelper::checkString($xmlValue)) - { - $xmlValue = $name; - } - // set the name if found - else - { - $name = $xmlValue; - } - } - elseif ($property['name'] == 'extension' || $property['name'] == 'directory') - { - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - // replace the placeholders - $xmlValue = str_replace(array_keys($placeholders),array_values($placeholders),$xmlValue); - } - elseif (strpos($property['name'],'type_php_') !== false && $setCustom) - { - // set the line number - $phpLine = (int) str_replace('type_php_','',$property['name']); - // load the php for the custom field file - $fieldValues['custom']['php'][$phpLine] = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - } - elseif (strpos($property['name'],'type_phpx_') !== false && $setCustom) - { - // set the line number - $phpLine = (int) str_replace('type_phpx_','',$property['name']); - // load the php for the custom field file - $fieldValues['custom']['phpx'][$phpLine] = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - } - elseif ($property['name'] == 'extends' && $setCustom) - { - // load the class that is being extended - $fieldValues['custom']['extends'] = ComponentbuilderHelper::getBetween($field['settings']->xml,'extends="','"'); - } - elseif ($property['name'] == 'view' && $setCustom) - { - // load the view name - $fieldValues['custom']['view'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'view="','"')); - } - elseif ($property['name'] == 'views' && $setCustom) - { - // load the views name - $fieldValues['custom']['views'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'views="','"')); - } - elseif ($property['name'] == 'component' && $setCustom) - { - // load the component name - $fieldValues['custom']['component'] = ComponentbuilderHelper::getBetween($field['settings']->xml,'component="','"'); - // replace the placeholders - $fieldValues['custom']['component'] = str_replace(array_keys($placeholders),array_values($placeholders),$fieldValues['custom']['component']); - } - elseif ($property['name'] == 'table' && $setCustom) - { - // load the main table that is queried - $fieldValues['custom']['table'] = ComponentbuilderHelper::getBetween($field['settings']->xml,'table="','"'); - // replace the placeholders - $fieldValues['custom']['table'] = str_replace(array_keys($placeholders),array_values($placeholders),$fieldValues['custom']['table']); - } - elseif ($property['name'] == 'value_field' && $setCustom) - { - // load the text key - $fieldValues['custom']['text'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'value_field="','"')); - } - elseif ($property['name'] == 'key_field' && $setCustom) - { - // load the id key - $fieldValues['custom']['id'] = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field['settings']->xml,'key_field="','"')); - } - elseif ($property['name'] == 'button' && $repeatable && $setCustom) - { - // dont load the button to repeatable - $xmlValue = 'false'; - } - elseif ($viewType == 2 && ($property['name'] == 'readonly' || $property['name'] == 'disabled')) - { - // set read only - $xmlValue = 'true'; - } - elseif ($property['name'] == 'multiple') - { - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - // add the multipal - if ('true' == $xmlValue) - { - $multiple = true; - } - } - // make sure the name is added as a cless name for use in javascript - elseif ($property['name'] == 'class' && ($typeName == 'note' || $typeName == 'spacer')) - { - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml, 'class="','"'); - // add the type class - if (ComponentbuilderHelper::checkString($xmlValue)) - { - if (strpos($xmlValue,$name) === false) - { - $xmlValue = $xmlValue.' '.$name; - } - } - else - { - $xmlValue = $name; - } - } - else - { - // set the rest of the fields - $xmlValue = ComponentbuilderHelper::getBetween($field['settings']->xml,$property['name'].'="','"'); - } - - // check if translatable - if (ComponentbuilderHelper::checkString($xmlValue) && $property['translatable'] == 1) - { - // replace placeholders - $xmlValue = str_replace(array_keys($placeholders),array_values($placeholders),$xmlValue); - // insure custom lables dont get messed up - if ($setCustom) - { - $customLabel = $xmlValue; - } - // set lang key - $langValue = $langView.'_'.ComponentbuilderHelper::safeString($name.' '.$property['name'],'U'); - // add to lang array - $this->langContent[$this->lang][$langValue] = $xmlValue; - // use lang value - $xmlValue = $langValue; - - } - elseif (isset($field['alias']) && $field['alias'] && $property['translatable'] == 1) - { - if ($property['name'] == 'label') - { - $xmlValue = 'JFIELD_ALIAS_LABEL'; - } - elseif ($property['name'] == 'description') - { - $xmlValue = 'JFIELD_ALIAS_DESC'; - } - elseif ($property['name'] == 'hint') - { - $xmlValue = 'JFIELD_ALIAS_PLACEHOLDER'; - } - } - elseif (isset($field['title']) && $field['title'] && $property['translatable'] == 1) - { - if ($property['name'] == 'label') - { - $xmlValue = 'JGLOBAL_TITLE'; - } - elseif ($property['name'] == 'description') - { - $xmlValue = 'JFIELD_TITLE_DESC'; - } - } - // only load value if found or is mandatory - if (ComponentbuilderHelper::checkString($xmlValue) || ($property['mandatory'] == 1 && !$setCustom)) - { - // make sure mantory fields are added - if (!ComponentbuilderHelper::checkString($xmlValue)) - { - if (isset($property['example']) && ComponentbuilderHelper::checkString($property['example'])) - { - $xmlValue = $property['example']; - } - } - - $fieldValues[$property['name']] = $xmlValue; - - // load to langBuilder down the line - if ($property['name'] == 'label') - { - $langLabel = $xmlValue; - if ($setCustom) - { - $fieldValues['custom']['label'] = $customLabel; - } - } - } - } - // do some nice twigs beyond the default - if (isset($fieldValues['name'])) - { - // check if we find reason to remove this field from being escaped - $escaped = ComponentbuilderHelper::getBetween($field['settings']->xml,'escape="','"'); - if (ComponentbuilderHelper::checkString($escaped)) - { - $this->doNotEscape[$listViewName][] = $fieldValues['name']; - } - } - } - return $fieldValues; - } - - protected function setBuilders($langLabel, $langView,$viewName,$listViewName,$name,$view,$field,$typeName,$multiple,$custom = false,$options = false) - { - if ($typeName == 'tag') - { - // set tags for this view but don't load to DB - $this->tagsBuilder[$viewName] = $viewName; - } - else - { - // insure default not none if number type - $intKeys = array('INT','TINYINT','BIGINT','FLOAT','DECIMAL','DOUBLE'); - if (in_array($field['settings']->datatype,$intKeys)) - { - if ($field['settings']->datadefault == 'Other') - { - if (!is_numeric($field['settings']->datadefault_other) || $field['settings']->datadefault_other !== '0000-00-00 00:00:00') - { - $field['settings']->datadefault_other = '0'; - } - } - elseif (!is_numeric($field['settings']->datadefault)) - { - $field['settings']->datadefault = '0'; - } - } - // build the query values - $this->queryBuilder[$viewName][$name] = array( - 'type' => $field['settings']->datatype, - 'lenght' => $field['settings']->datalenght, - 'default' => $field['settings']->datadefault, - 'other' => $field['settings']->datadefault_other, - 'null_switch' => $field['settings']->null_switch); - // don't use these as index or uniqe keys - $notKeys = array('TEXT','TINYTEXT','MEDIUMTEXT','LONGTEXT','BLOB','TINYBLOB','MEDIUMBLOB','LONGBLOB'); - // set index types - if ($field['settings']->indexes == 1 && !in_array($field['settings']->datatype,$notKeys)) - { - // build unique keys of this view for db - $this->dbUniqueKeys[$viewName][] = $name; - } - elseif(($field['settings']->indexes == 2 || $field['alias'] || $field['title'] || $typeName == 'category') && !in_array($field['settings']->datatype,$notKeys)) - { - // build keys of this view for db - $this->dbKeys[$viewName][] = $name; - } - - } - // add history to this view - if ($view['history']) - { - $this->historyBuilder[$viewName] = $viewName; - } - // set Alias (only one title per view) - if ($field['alias']) - { - $this->aliasBuilder[$viewName] = $name; - } - // set Titles (only one title per view) - if ($field['title']) - { - $this->titleBuilder[$viewName] = $name; - } - // category name fix - if ($typeName == 'category') - { - if (isset($this->catOtherName[$listViewName]) && ComponentbuilderHelper::checkArray($this->catOtherName[$listViewName])) - { - $tempName = $this->catOtherName[$listViewName]['name']; - } - else - { - $tempName = $viewName.' category'; - } - // set lang - $listLangName = $langView.'_'.ComponentbuilderHelper::safeString($tempName,'U'); - // add to lang array - $this->langContent[$this->lang][$listLangName] = ComponentbuilderHelper::safeString($tempName,'W'); - } - else - { - // set lang (just incase) - $listLangName = $langView.'_'.ComponentbuilderHelper::safeString($name,'U'); - // add to lang array - $this->langContent[$this->lang][$listLangName] = ComponentbuilderHelper::safeString($name,'W'); - // if label was set use instead - if (ComponentbuilderHelper::checkString($langLabel)) - { - $listLangName = $langLabel; - } - } - // build the list values - if ($field['list'] == 1 && $typeName != 'repeatable') - { - // load to list builder - $this->listBuilder[$listViewName][] = array( - 'type' => $typeName, - 'code' => $name, - 'lang' => $listLangName, - 'title' => ($field['title']) ? true:false, - 'alias' => ($field['alias']) ? true:false, - 'link' => ($field['link']) ? true:false, - 'sort' => ($field['sort']) ? true:false, - 'custom' => $custom, - 'options' => $options ); - - $this->customBuilderList[$listViewName][] = $name; - } - // set the hidden field of this view - if ($typeName == 'hidden') - { - if (!isset($this->hiddenFieldsBuilder[$viewName])) - { - $this->hiddenFieldsBuilder[$viewName] = ''; - } - $this->hiddenFieldsBuilder[$viewName] .= ',"'.$name.'"'; - } - // set all int fields of this view - if ($field['settings']->datatype == 'INT' || $field['settings']->datatype == 'TINYINT' || $field['settings']->datatype == 'BIGINT' ) - { - if (!isset($this->intFieldsBuilder[$viewName])) - { - $this->intFieldsBuilder[$viewName] = ''; - } - $this->intFieldsBuilder[$viewName] .= ',"'.$name.'"'; - } - // set all dynamic field of this view - if ($typeName != 'category' && $typeName != 'repeatable') - { - if (!isset($this->dynamicfieldsBuilder[$viewName])) - { - $this->dynamicfieldsBuilder[$viewName] = ''; - } - if (isset($this->dynamicfieldsBuilder[$viewName]) && ComponentbuilderHelper::checkString($this->dynamicfieldsBuilder[$viewName])) - { - $this->dynamicfieldsBuilder[$viewName] .= ',"'.$name.'":"'.$name.'"'; - } - else - { - $this->dynamicfieldsBuilder[$viewName] .= '"'.$name.'":"'.$name.'"'; - } - } - // TODO we may need to add a switch instead (since now it uses the first editor field) - // set the main(biggest) text field of this view - if ($typeName == 'editor') - { - if (!isset($this->maintextBuilder[$viewName]) || !ComponentbuilderHelper::checkString($this->maintextBuilder[$viewName])) - { - $this->maintextBuilder[$viewName] = $name; - } - } - // set the custom builder - if (ComponentbuilderHelper::checkArray($custom) && $typeName != 'category' && $typeName != 'repeatable') - { - $this->customBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'lang' => $listLangName, 'custom' => $custom); - // set the custom fields needed in content type data - if (!isset($this->customFieldLinksBuilder[$viewName])) - { - $this->customFieldLinksBuilder[$viewName] = ''; - } - $this->customFieldLinksBuilder[$viewName] .= ',{"sourceColumn": "'.$name.'","targetTable": "'.$custom['table'].'","targetColumn": "'.$custom['id'].'","displayColumn": "'.$custom['text'].'"}'; - // build script switch for user - if ($custom['extends'] == 'user') - { - $this->setScriptUserSwitch[$typeName] = $typeName; - } - } - if ($typeName == 'media') - { - $this->setScriptMediaSwitch[$typeName] = $typeName; - } - // setup gategory for this view - if ($typeName == 'category') - { - if (isset($this->catOtherName[$listViewName]) && ComponentbuilderHelper::checkArray($this->catOtherName[$listViewName])) - { - $otherViews = $this->catOtherName[$listViewName]['views']; - $otherView = $this->catOtherName[$listViewName]['view']; - } - else - { - $otherViews = $listViewName; - $otherView = $viewName; - } - $this->categoryBuilder[$listViewName] = array('code' => $name, 'name' => $listLangName); - // also set code name for title alias fix - $this->catCodeBuilder[$viewName] = array('code' => $name, 'views' => $otherViews, 'view' => $otherView); - } - // setup checkbox for this view - if ($typeName == 'checkbox') - { - $this->checkboxBuilder[$viewName][] = $name; - } - // setup checkboxes and other json items for this view - if (($typeName == 'checkboxes' || $multiple || $field['settings']->store != 0) && $typeName != 'tag') - { - switch ($field['settings']->store) - { - case 1: - // JSON_STRING_ENCODE - $this->jsonStringBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'json',$typeName); - break; - case 2: - // BASE_SIXTY_FOUR - $this->base64Builder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'base64',$typeName); - break; - case 3: - // BASIC_ENCRYPTION_LOCALKEY - $this->basicEncryptionBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'basic_encryption',$typeName); - break; - case 4: - // ADVANCE_ENCRYPTION_VDMKEY - $this->advancedEncryptionBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'advance_encryption',$typeName); - break; - default: - // JSON_ARRAY_ENCODE - $this->jsonItemBuilder[$viewName][] = $name; - // Site settings of each field if needed - $this->buildSiteFieldData($viewName,$name,'json',$typeName); - break; - } - // just a heads-up for usergroups set to multiple - if ($typeName == 'usergroup') - { - $this->buildSiteFieldData($viewName,$name,'json',$typeName); - } - - // load the json list display fix - if ($field['list'] == 1 && $typeName != 'repeatable') - { - if (ComponentbuilderHelper::checkArray($options)) - { - $this->getItemsMethodListStringFixBuilder[$viewName][] = array('name' => $name, 'type' => $typeName, 'translation' => true, 'custom' => $custom, 'method' => $field['settings']->store); - } - else - { - $this->getItemsMethodListStringFixBuilder[$viewName][] = array('name' => $name, 'type' => $typeName, 'translation' => false, 'custom' => $custom, 'method' => $field['settings']->store); - } - } - } - // build the data for the export & import methods $typeName == 'repeatable' || - if (($typeName == 'checkboxes' || $multiple || $field['settings']->store != 0) && !ComponentbuilderHelper::checkArray($options)) - { - $this->getItemsMethodEximportStringFixBuilder[$viewName][] = array('name' => $name, 'type' => $typeName, 'translation' => false, 'custom' => $custom, 'method' => $field['settings']->store); - } - - // check if field should be added to uikit - $this->buildSiteFieldData($viewName,$name,'uikit',$typeName); - // load the selection translation fix - if (ComponentbuilderHelper::checkArray($options) && $field['list'] == 1 && $typeName != 'repeatable') - { - $this->selectionTranslationFixBuilder[$listViewName][$name] = $options; - } - // build the sort values - if ($field['sort'] == 1 && $field['list'] == 1 && (!$multiple && $typeName != 'checkbox' && $typeName != 'checkboxes' && $typeName != 'repeatable')) - { - $this->sortBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'lang' => $listLangName, 'custom' => $custom, 'options' => $options); - } - // build the search values - if ($field['search'] == 1) - { - $this->searchBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'custom' => $custom, 'list' => $field['list']); - } - // build the filter values - if ($field['filter'] == 1 && $field['list'] == 1 && (!$multiple && $typeName != 'checkbox' && $typeName != 'checkboxes' && $typeName != 'repeatable')) - { - $this->filterBuilder[$listViewName][] = array( 'type' => $typeName, 'code' => $name, 'lang' => $listLangName, 'database' => $viewName, 'function' => ComponentbuilderHelper::safeString($name,'F'), 'custom' => $custom, 'options' => $options); - } - - // build the layout - $tabName = ''; - if (isset($view['settings']->tabs) && isset($view['settings']->tabs[(int) $field['tab']])) - { - $tabName = $view['settings']->tabs[(int) $field['tab']]; - } - $this->setLayoutBuilder($viewName,$tabName,$name,$field); - - } - - protected function setLayoutBuilder(&$viewName,&$tabName,&$name,&$field) - { - if (ComponentbuilderHelper::checkString($tabName)) - { - $this->tabCounter[$viewName][(int) $field['tab']] = $tabName; - if (isset($this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']])) - { - $size = count($this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']]) + 1; - $this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][$size] = $name; - } - else - { - $this->layoutBuilder[$viewName][$tabName][(int) $field['alignment']][(int) $field['order_edit']] = $name; - } - } - else - { - $this->tabCounter[$viewName][1] = 'Details'; - if (isset($this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']])) - { - $size = count($this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']]) + 1; - $this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][$size] = $name; - } - else - { - $this->layoutBuilder[$viewName]['Details'][(int) $field['alignment']][(int) $field['order_edit']] = $name; - } - } - } - - protected function buildSiteFieldData($view,$field,$set,$type) - { - $decode = array('json','base64','basic_encryption','advance_encryption'); - $uikit = array('textarea','editor'); - if (isset($this->siteFields[$view][$field]) && ComponentbuilderHelper::checkArray($this->siteFields[$view][$field])) - { - foreach ($this->siteFields[$view][$field] as $code => $array) - { - // set the decoding methods - if (in_array($set,$decode)) - { - $this->siteFieldData['decode'][$array['site']][$code][$array['as']][$array['key']] = array('decode' => $set, 'type' => $type); - } - // set the uikit checker - if (in_array($type,$uikit)) - { - $this->siteFieldData['uikit'][$array['site']][$code][$array['as']][$array['key']] = $array; - } - } - } - } - - protected function setRouterCase($viewName) - { - if (strlen($viewName) > 0) - { - $router = "\n\t\tcase '".$viewName."':"; - $router .= "\n\t\t\t\$id = explode(':', \$segments[$count-1]);"; - $router .= "\n\t\t\t\$vars['id'] = (int) \$id[0];"; - $router .= "\n\t\t\t\$vars['view'] = '".$viewName."';"; - $router .= "\n\t\tbreak;"; - - return $router; - } - return ''; - - } - - protected function setComponentImageType($path) - { - $type = ComponentbuilderHelper::imageInfo($path); - if ($type) - { - $imagePath = $this->componentPath.'/admin/assets/images'; - // move the image to its place - JFile::copy(JPATH_SITE.'/'.$path, $imagePath.'/component-300.'.$type,'',true); - // now set the type to global for re-use - $this->componentImageType = $type; - // return image type - return $type; - } - $this->componentImageType = 'jpg'; - return 'jpg'; - } - - protected function setDashboardIconAccess() - { - if (isset($this->permissionDashboard) && ComponentbuilderHelper::checkArray($this->permissionDashboard)) - { - $this->permissionDashboard = array_unique($this->permissionDashboard); - return "\n\t\t//".$this->setLine(__LINE__)." view access array\n\t\t\$viewAccess = array(\n\t\t\t".implode(",\n\t\t\t",$this->permissionDashboard).");"; - } - return ''; - - } - - protected function setDashboardIcons() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $icons = ''; - $counter = 0; - $catArray = array(); - foreach ($this->componentData->admin_views as $view) - { - $name_single = ComponentbuilderHelper::safeString($view['settings']->name_single); - $name_list = ComponentbuilderHelper::safeString($view['settings']->name_list); - - $icons .= $this->addCustomDashboardIcons($view,$counter); - if ($view['dashboard_add'] == 1) - { - $type = ComponentbuilderHelper::imageInfo($view['settings']->icon_add); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$name_single.".add"] = $view['settings']->icon_add; - } - else - { - $type = 'png.'; - } - if ($counter == 0) - { - $icons .= "'".$type.$name_single.".add'"; - } - else - { - $icons .= ", '".$type.$name_single.".add'"; - } - // build lang - $langName = 'Add&nbsp;'.ComponentbuilderHelper::safeString($view['settings']->name_single, 'W').'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.ComponentbuilderHelper::safeString($view['settings']->name_single,'U').'_ADD'; - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - $counter++; - } - if ($view['dashboard_list'] == 1) - { - $type = ComponentbuilderHelper::imageInfo($view['settings']->icon); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$name_list] = $view['settings']->icon; - } - else - { - $type = 'png.'; - } - if ($counter == 0) - { - $icons .= "'".$type.$name_list."'"; - } - else - { - $icons .= ", '".$type.$name_list."'"; - } - // build lang - $langName = ComponentbuilderHelper::safeString($view['settings']->name_list, 'W').'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.ComponentbuilderHelper::safeString($view['settings']->name_list,'U'); - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - $counter++; - } - if (isset($this->categoryBuilder[$name_list]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$name_list])) - { - $catCode = $this->categoryBuilder[$name_list]['code']; - - // check if category has another name - if (isset($this->catOtherName[$name_list]) && ComponentbuilderHelper::checkArray($this->catOtherName[$name_list])) - { - $otherViews = $this->catOtherName[$name_list]['views']; - $otherNames = $this->catOtherName[$name_list]['name']; - // build lang - $langName = ComponentbuilderHelper::safeString($otherNames, 'W'); - } - else - { - $otherViews = $name_list; - // build lang - $langName = 'Catagory &nbsp;For<br />'.ComponentbuilderHelper::safeString($otherViews, 'W'); - } - if(!in_array($otherViews,$catArray)) - { - // add to lang - $langKey = $this->langPrefix.'_DASHBOARD_'.ComponentbuilderHelper::safeString($otherViews,'U').'_'.ComponentbuilderHelper::safeString($catCode,'U'); - $this->langContent[$this->lang][$langKey] = $langName; - // get image type - $type = ComponentbuilderHelper::imageInfo($view['settings']->icon_category); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$otherViews.".".$catCode] = $view['settings']->icon_category; - } - else - { - $type = 'png.'; - } - if ($counter == 0) - { - $icons .= "'".$type.$otherViews.".".$catCode."'"; - } - else - { - $icons .= ", '".$type.$otherViews.".".$catCode."'"; - } - $counter++; - // make sure we add a category only once - $catArray[] = $otherViews; - } - } - } - if (isset($this->lastCustomDashboardIcon) && ComponentbuilderHelper::checkArray($this->lastCustomDashboardIcon)) - { - foreach ($this->lastCustomDashboardIcon as $icon) - { - $icons .= $icon; - } - unset($this->lastCustomDashboardIcon); - } - if (isset($this->iconBuilder) && ComponentbuilderHelper::checkArray($this->iconBuilder)) - { - $imagePath = $this->componentPath.'/admin/assets/images/icons'; - foreach ($this->iconBuilder as $icon => $path) - { - $array_buket = explode('.', $icon); - if (count($array_buket) == 3) - { - list($type, $name, $action) = $array_buket; - } - else - { - list($type, $name) = $array_buket; - $action = false; - } - // set the new image name - if ($action) - { - $imageName = $name.'_'.$action.'.'.$type; - } - else - { - $imageName = $name.'.'.$type; - } - // move the image to its place - JFile::copy(JPATH_SITE.'/'.$path, $imagePath.'/'.$imageName,'',true); - } - } - return $icons; - } - return false; - } - - protected function setDashboardModelMethods() - { - if ($this->componentData->add_php_dashboard_methods) - { - // get all the mothods that should load date to the view - $this->DashboardGetCustomData = ComponentbuilderHelper::getAllBetween($this->componentData->php_dashboard_methods,'public function get','()'); - - // return the methods - return "\n\n".str_replace(array_keys($this->placeholders),array_values($this->placeholders),$this->componentData->php_dashboard_methods); - } - return ''; - } - - protected function setDashboardGetCustomData() - { - if (ComponentbuilderHelper::checkArray($this->DashboardGetCustomData)) - { - // gets array reset - $gets = array(); - // set dashboard gets - foreach($this->DashboardGetCustomData as $get) - { - $string = ComponentbuilderHelper::safeString($get); - $tabs = (\strlen($string) < 8) ? "\t\t\t" : (\strlen($string) < 16) ? "\t\t" : (\strlen($string) < 24) ? "\t" : ' '; - $gets[] = "\$this->".$string.$tabs."= \$this->get('".$get."');"; - } - // return the gets - return "\n\t\t".implode("\n\t\t",$gets); - } - return ''; - } - - protected function setDashboardDisplayData() - { - // display array reset - $display = array(); - $mainAccordianName = 'cPanel'; - $builder = array(); - $tab = "\t"; - $loadTabs = false; - // check if we have custom tabs - if ($this->componentData->add_php_dashboard_methods && ComponentbuilderHelper::checkArray($this->componentData->dashboard_tab)) - { - // build the tabs and accordians - foreach ($this->componentData->dashboard_tab as $data) - { - $builder[$data['name']][$data['header']] = str_replace(array_keys($this->placeholders),array_values($this->placeholders),$data['html']); - } - // since we have custom tabs we must load the tab structure around the cpanel - $display[] = '<div id="j-main-container" class="span12">'; - $display[] = "\t".'<div class="form-horizontal">'; - $display[] = "\t<?php echo JHtml::_('bootstrap.startTabSet', 'cpanel_tab', array('active' => 'cpanel')); ?>"; - $display[] = "\n\t\t<?php echo JHtml::_('bootstrap.addTab', 'cpanel_tab', 'cpanel', JText::_('cPanel', true)); ?>"; - $display[] = "\t\t".'<div class="row-fluid">'; - // set the tab to insure correct spacing - $tab = "\t\t\t"; - // change the name of the main tab - $mainAccordianName = 'Control Panel'; - $loadTabs = true; - } - else - { - $display[] = '<div id="j-main-container">'; - } - // set dashboard display - $display[] = $tab.'<div class="span9">'; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_left', array('active' => 'main')); ?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_left', '".$mainAccordianName."', 'main'); ?>"; - $display[] = $tab."\t\t\t<?php echo \$this->loadTemplate('main');?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.endSlide'); ?>"; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.endAccordion'); ?>"; - $display[] = $tab."</div>"; - $display[] = $tab.'<div class="span3">'; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_right', array('active' => 'vdm')); ?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_right', '".$this->fileContentStatic['###COMPANYNAME###']."', 'vdm'); ?>"; - $display[] = $tab."\t\t\t<?php echo \$this->loadTemplate('vdm');?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.endSlide'); ?>"; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.endAccordion'); ?>"; - $display[] = $tab."</div>"; - - if ($loadTabs) - { - $display[] = "\t\t</div>"; - $display[] = "\t\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - // load the new tabs - foreach($builder as $tabname => $accordians) - { - $alias = ComponentbuilderHelper::safeString($tabname); - $display[] = "\n\t\t<?php echo JHtml::_('bootstrap.addTab', 'cpanel_tab', '".$alias."', JText::_('".$tabname."', true)); ?>"; - $display[] = "\t\t".'<div class="row-fluid">'; - $display[] = $tab.'<div class="span12">'; - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.startAccordion', '".$alias."_accordian', array('active' => 'one')); ?>"; - $slidecounter = 1; - foreach($accordians as $accordianname => $html) - { - $ac_alias = ComponentbuilderHelper::safeString($accordianname); - $counterName = ComponentbuilderHelper::safeString($slidecounter); - $tempName = $alias.'_'.$ac_alias; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.addSlide', '".$alias."_accordian', '".$accordianname."', '".$counterName."'); ?>"; - $display[] = $tab."\t\t\t<?php echo \$this->loadTemplate('".$tempName."');?>"; - $display[] = $tab."\t\t<?php echo JHtml::_('bootstrap.endSlide'); ?>"; - $slidecounter++; - // build the template file - $target = array('custom_admin' => $this->fileContentStatic['###component###']); - $this->buildDynamique($target,'template',$tempName); - // set the file data - $TARGET = ComponentbuilderHelper::safeString($this->target,'U'); - // ###SITE_TEMPLATE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$this->fileContentStatic['###component###'].'_'.$tempName]['###CUSTOM_ADMIN_TEMPLATE_BODY###'] = "\n".$html; - // ###SITE_TEMPLATE_CODE_BODY### <<<DYNAMIC>>> - $this->fileContentDynamic[$this->fileContentStatic['###component###'].'_'.$tempName]['###CUSTOM_ADMIN_TEMPLATE_CODE_BODY###'] = ''; - } - $display[] = $tab."\t<?php echo JHtml::_('bootstrap.endAccordion'); ?>"; - $display[] = $tab."</div>"; - $display[] = "\t\t</div>"; - $display[] = "\t\t<?php echo JHtml::_('bootstrap.endTab'); ?>"; - } - - $display[] = "\n\t<?php echo JHtml::_('bootstrap.endTabSet'); ?>"; - $display[] = "\t</div>"; - } - $display[] = "</div>"; - // return the display - return "\n".implode("\n",$display); - } - - protected function addCustomDashboardIcons(&$view,&$counter) - { - // see if we should have custom menus - if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) - { - foreach ($this->componentData->custommenus as $nr => $menu) - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - if ($menu['dashboard_list'] == 1 && $view['adminview'] == $menu['before']) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - // TODO must look at adding custom links to icons aswell - return ''; - } - else - { - $type = ComponentbuilderHelper::imageInfo('images/'.$menu['icon']); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$nameList] = 'images/'.$menu['icon']; - } - else - { - $type = 'png.'; - } - // build lang - $langName = $menu['name'].'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.$nameUpper; - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - // set icon - if ($counter == 0) - { - $counter++; - return "'".$type.$nameList."'"; - } - else - { - $counter++; - return ", '".$type.$nameList."'"; - } - } - } - elseif($menu['dashboard_list'] == 1 && empty($menu['before'])) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - // TODO must look at adding custom links to icons aswell - return ''; - } - else - { - $type = ComponentbuilderHelper::imageInfo('images/'.$menu['icon']); - if ($type) - { - $type = $type."."; - // icon builder loader - $this->iconBuilder[$type.$nameList] = 'images/'.$menu['icon']; - } - else - { - $type = 'png.'; - } - // build lang - $langName = $menu['name'].'<br /><br />'; - $langKey = $this->langPrefix.'_DASHBOARD_'.$nameUpper; - // add to lang - $this->langContent[$this->lang][$langKey] = $langName; - // set icon - $this->lastCustomDashboardIcon[$nr] = ", '".$type.$nameList."'"; - } - } - } - } - return ''; - } - - protected function setSubMenus() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $menus = ''; - // main lang prefix - $lang = $this->langPrefix.'_SUBMENU'; - // set the code name - $codeName = ComponentbuilderHelper::safeString($this->componentData->name_code); - // set dashboard - $menus .= "JHtmlSidebar::addEntry(JText::_('".$lang."_DASHBOARD'), 'index.php?option=com_".$codeName."&view=".$codeName."', \$submenu == '".$codeName."');"; - $this->langContent[$this->lang][$lang.'_DASHBOARD'] = 'Dashboard'; - $catArray = array(); - foreach ($this->componentData->admin_views as $view) - { - // set custom menu - $menus .= $this->addCustomSubMenu($view,$codeName,$lang); - if ($view['submenu'] == 1) - { - // setup access defaults - $tab = ""; - $nameSingle = ComponentbuilderHelper::safeString($view['settings']->name_single); - $coreLoad = false; - if (isset($this->permissionCore[$nameSingle])) - { - $core = $this->permissionCore[$nameSingle]; - $coreLoad = true; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $menus .= "\n\t\tif (\$user->authorise('".$core['core.access']."', 'com_".$codeName."') && \$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $menus .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - $nameList = ComponentbuilderHelper::safeString($view['settings']->name_list); - $nameUpper = ComponentbuilderHelper::safeString($view['settings']->name_list, 'U'); - $menus .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), 'index.php?option=com_".$codeName."&view=".$nameList."', \$submenu == '".$nameList."');"; - $this->langContent[$this->lang][$lang."_".$nameUpper] = $view['settings']->name_list; - // check if category has another name - if (isset($this->catOtherName[$nameList]) && ComponentbuilderHelper::checkArray($this->catOtherName[$nameList])) - { - $otherViews = $this->catOtherName[$nameList]['views']; - } - else - { - $otherViews = $nameList; - } - if (isset($this->categoryBuilder[$nameList]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$nameList]) && !in_array($otherViews,$catArray)) - { - $menus .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$this->categoryBuilder[$nameList]['name']."'), 'index.php?option=com_categories&view=categories&extension=com_".$codeName.".".$otherViews."', \$submenu == 'categories.".$otherViews."');"; - // make sure we add a category only once - $catArray[] = $otherViews; - } - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $menus .= "\n\t\t}"; - } - } - } - if (isset($this->lastCustomSubMenu) && ComponentbuilderHelper::checkArray($this->lastCustomSubMenu)) - { - foreach ($this->lastCustomSubMenu as $menu) - { - $menus .= $menu; - } - unset($this->lastCustomSubMenu); - } - return $menus; - } - return false; - } - - protected function addCustomSubMenu(&$view,&$codeName,&$lang) - { - // see if we should have custom menus - if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) - { - foreach ($this->componentData->custommenus as $nr => $menu) - { - if ($menu['submenu'] == 1 && $view['adminview'] == $menu['before']) - { - // setup access defaults - $tab = ""; - $nameSingle = ComponentbuilderHelper::safeString($menu['name']); - $coreLoad = false; - if (isset($this->permissionCore[$nameSingle])) - { - $core = $this->permissionCore[$nameSingle]; - $coreLoad = true; - } - $custom = ''; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $custom .= "\n\t\t//".$this->setLine(__LINE__)." Access control (".$core['core.access']." && ".$nameSingle.".submenu)."; - $custom .= "\n\t\tif (\$user->authorise('".$core['core.access']."', 'com_".$codeName."') && \$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $custom .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - else - { - $custom .= "\n\t\t//".$this->setLine(__LINE__)." Access control (".$nameSingle.".submenu)."; - $custom .= "\n\t\tif (\$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $custom .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $custom .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), '".$menu['link']."', \$submenu == '".$nameList."');"; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $custom .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), 'index.php?option=com_".$codeName."&view=".$nameList."', \$submenu == '".$nameList."');"; - } - // check if the item has permissions. - $custom .= "\n\t\t}"; - - return $custom; - } - elseif($menu['submenu'] == 1 && empty($menu['before'])) - { - // setup access defaults - $tab = ""; - $nameSingle = ComponentbuilderHelper::safeString($menu['name']); - $coreLoad = false; - if (isset($this->permissionCore[$nameSingle])) - { - $core = $this->permissionCore[$nameSingle]; - $coreLoad = true; - } - $this->lastCustomSubMenu[$nr] = ''; - // check if the item has permissions. - if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($nameSingle,$this->permissionBuilder['global'][$core['core.access']])) - { - $this->lastCustomSubMenu[$nr] .= "\n\t\tif (\$user->authorise('".$core['core.access']."', 'com_".$codeName."') && \$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $this->lastCustomSubMenu[$nr] .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - else - { - $this->lastCustomSubMenu[$nr] .= "\n\t\tif (\$user->authorise('".$nameSingle.".submenu', 'com_".$codeName."'))"; - $this->lastCustomSubMenu[$nr] .= "\n\t\t{"; - // add tab to lines to follow - $tab = "\t"; - } - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomSubMenu[$nr] .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), '".$menu['link']."', \$submenu == '".$nameList."');"; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent[$this->lang][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomSubMenu[$nr] .= "\n\t\t".$tab."JHtmlSidebar::addEntry(JText::_('".$lang."_".$nameUpper."'), 'index.php?option=com_".$codeName."&view=".$nameList."', \$submenu == '".$nameList."');"; - } - // check if the item has permissions. - $this->lastCustomSubMenu[$nr] .= "\n\t\t}"; - } - } - } - return ''; - - } - - protected function setMainMenus() - { - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - $menus = ''; - // main lang prefix - $lang = $this->langPrefix.'_MENU'; - // set the code name - $codeName = ComponentbuilderHelper::safeString($this->componentData->name_code); - // set main menu name to lang - $this->langContent['adminsys'][$lang] = '&#187; '.$this->componentData->name; - foreach ($this->componentData->admin_views as $view) - { - // set custom menu - $menus .= $this->addCustomMainMenu($view,$codeName,$lang); - if ($view['mainmenu'] == 1) - { - $nameList = ComponentbuilderHelper::safeString($view['settings']->name_list); - $nameUpper = ComponentbuilderHelper::safeString($view['settings']->name_list, 'U'); - $menus .= "\n\t\t\t".'<menu option="com_'.$codeName.'" view="'.$nameList.'">'.$lang.'_'.$nameUpper.'</menu>'; - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $view['settings']->name_list; - } - } - if (isset($this->lastCustomMainMenu) && ComponentbuilderHelper::checkArray($this->lastCustomMainMenu)) - { - foreach ($this->lastCustomMainMenu as $menu) - { - $menus .= $menu; - } - unset($this->lastCustomMainMenu); - } - return $menus; - } - return false; - } - - protected function addCustomMainMenu(&$view,&$codeName,&$lang) - { - // see if we should have custom menus - if (isset($this->componentData->custommenus) && ComponentbuilderHelper::checkArray($this->componentData->custommenus)) - { - foreach ($this->componentData->custommenus as $nr => $menu) - { - if ($menu['mainmenu'] == 1 && $view['adminview'] == $menu['before']) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - return "\n\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>'; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - return "\n\t\t\t".'<menu option="com_'.$codeName.'" view="'.$nameList.'">'.$lang.'_'.$nameUpper.'</menu>'; - } - } - elseif($menu['mainmenu'] == 1 && empty($menu['before'])) - { - if (isset($menu['link']) && ComponentbuilderHelper::checkString($menu['link'])) - { - $nameList = ComponentbuilderHelper::safeString($menu['name']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomMainMenu[$nr] = "\n\t\t\t".'<menu link="'.$menu['link'].'">'.$lang.'_'.$nameUpper.'</menu>'; - } - else - { - $nameList = ComponentbuilderHelper::safeString($menu['name_code']); - $nameUpper = ComponentbuilderHelper::safeString($menu['name_code'], 'U'); - $this->langContent['adminsys'][$lang.'_'.$nameUpper] = $menu['name']; - // add custom menu - $this->lastCustomMainMenu[$nr] = "\n\t\t\t".'<menu option="com_'.$codeName.'" view="'.$nameList.'">'.$lang.'_'.$nameUpper.'</menu>'; - } - } - } - } - return ''; - - } - - protected function setConfigFieldsets($timer = 0) - { - // main lang prefix - $lang = $this->langPrefix.'_CONFIG'; - if (1 == $timer) // this is before the admin views are build - { - // start loading Global params - $autorName = ComponentbuilderHelper::htmlEscape($this->componentData->author); - $autorEmail = ComponentbuilderHelper::htmlEscape($this->componentData->email); - $this->paramsBuilder = '"autorName":"'.$autorName.'","autorEmail":"'.$autorEmail.'"'; - // set the custom fields - if (isset($this->componentData->config) && ComponentbuilderHelper::checkArray($this->componentData->config)) - { - $component = ComponentbuilderHelper::safeString($this->componentData->name_code); - $viewName = 'config'; - $listViewName = 'configs'; - $placeholders = array( - '###component###' => $component, - '###view###' => $viewName, - '###views###' => $listViewName); - $spacerCounter = 'a'; - $view = ''; - $viewType = 0; - // set the custom table key - $dbkey = 'g'; - foreach ($this->componentData->config as $field) - { - $xmlField = $this->setDynamicField($field, $view, $viewType, $lang, $viewName, $listViewName, $spacerCounter, $placeholders, $dbkey, false); - if (ComponentbuilderHelper::checkString($xmlField)) - { - $this->configFieldSetsCustomField[$field['tabname']][] = $xmlField; - // set global params to db on install - $fieldName = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xmlField,'name="','"')); - $fieldDefault = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xmlField,'default="','"')); - if (isset($field['custom_value']) && ComponentbuilderHelper::checkString($field['custom_value'])) - { - // load the Global checkin defautls - $this->paramsBuilder .= ',"'.$fieldName.'":"'.$field['custom_value'].'"'; - } - elseif (ComponentbuilderHelper::checkString($fieldDefault)) - { - // load the Global checkin defautls - $this->paramsBuilder .= ',"'.$fieldName.'":"'.$fieldDefault.'"'; - } - } - } - } - // first run we must set the globals - $this->setGlobalConfigFieldsets($lang,$autorName,$autorEmail); - $this->setSiteControlConfigFieldsets($lang); - - } - elseif (2 == $timer) // this is after the admin views are build - { - // these field sets can only be added after admin view is build - $this->setGroupControlConfigFieldsets($lang); - // these can be added anytime really (but looks best after groups - $this->setUikitConfigFieldsets($lang); - $this->setGooglechartConfigFieldsets($lang); - $this->setEncryptionConfigFieldsets($lang); - // these are the coustom settings - $this->setCustomControlConfigFieldsets($lang); - } - // we cad add more event (timers as we need) - } - - protected function setSiteControlConfigFieldsets($lang) - { - $front_end = array(); - // do quick build of front-end views - if (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views)) - { - // load the names only to link the page params - foreach ($this->componentData->site_views as $siteView) - { - // now load the view name to the front-end array - $front_end[] = $siteView['settings']->name; - } - } - - // add frontend view stuff including menus - if (isset($this->configFieldSetsCustomField) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField)) - { - foreach ($this->configFieldSetsCustomField as $tab => &$tabFields) - { - $tabCode = ComponentbuilderHelper::safeString($tab).'_custom_config'; - $tabUpper = ComponentbuilderHelper::safeString($tab,'U'); - $tabLower = ComponentbuilderHelper::safeString($tab); - // load the regust id setters for menu views - $viewRequest = 'name="'.$tabLower.'_request_id"'; - foreach($tabFields as $et => $id_field) - { - if(strpos($id_field,$viewRequest) !== false) - { - // set the values needed to insure route is done correclty - $this->hasIdRequest[$tabLower] = $id_field; - unset($tabFields[$et]); - } - elseif (strpos($id_field,'_request_id"') !== false) - { - // not loaded to a tab "view" name - $_viewRequest = ComponentbuilderHelper::getBetween($id_field,'name="','_request_id"'); - // set the values needed to insure route is done correclty - $this->hasIdRequest[$_viewRequest] = $id_field; - unset($tabFields[$et]); - } - } - // load the global menu setters for single fields - $menuSetter = $tabLower.'_menu'; - $pageSettings = array(); - foreach($tabFields as $ct => $field) - { - if(strpos($field,$menuSetter) !== false) - { - // set the values needed to insure route is done correclty - $this->hasMenuGlobal[$tabLower] = $menuSetter; - } - elseif (strpos($field,'_menu"') !== false) - { - // not loaded to a tab "view" name - $_tabLower = ComponentbuilderHelper::getBetween($field,'name="','_menu"'); - // set the values needed to insure route is done correclty - $this->hasMenuGlobal[$_tabLower] = $_tabLower.'_menu'; - } - else - { - $pageSettings[$ct] = $field; - } - } - // insure we load the needed params - if (in_array($tab,$front_end)) - { - $this->frontEndParams[$tab] = $pageSettings; - } - } - } - } - - protected function setCustomControlConfigFieldsets($lang) - { - // add custom new global fields set - if (isset($this->configFieldSetsCustomField) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField)) - { - foreach ($this->configFieldSetsCustomField as $tab => $tabFields) - { - $tabCode = ComponentbuilderHelper::safeString($tab).'_custom_config'; - $tabUpper = ComponentbuilderHelper::safeString($tab,'U'); - $tabLower = ComponentbuilderHelper::safeString($tab); - // setup lang - $this->langContent[$this->lang][$lang.'_'.$tabUpper] = $tab; - // start field set - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="'.$tabCode.'"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_'.$tabUpper.'">'; - // set the fields - $this->configFieldSets[] = implode("\t\t",$tabFields); - // close field set - $this->configFieldSets[] = "\t</fieldset>"; - // remove after loading - unset($this->configFieldSetsCustomField[$tab]); - } - } - } - - protected function setGroupControlConfigFieldsets($lang) - { - // start loading Group control params if needed - if (isset($this->setGroupControl) && ComponentbuilderHelper::checkArray($this->setGroupControl)) - { - // start building field set for config - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="group_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_GROUPS_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_GROUPS_DESC">'; - // setup lang - $this->langContent[$this->lang][$lang.'_GROUPS_LABEL'] = "Target Groups"; - $this->langContent[$this->lang][$lang.'_GROUPS_DESC'] = "The Parameters for the targeted groups are set here."; - $this->langContent[$this->lang][$lang.'_TARGET_GROUP_DESC'] = "Set the group/s being targeted by this user type."; - - foreach ($this->setGroupControl as $selector => $label) - { - $this->configFieldSets[] = "\t\t".'<field name="'.$selector.'"'; - $this->configFieldSets[] = "\t\t\t".'type="usergroup"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$label.'"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_TARGET_GROUP_DESC"'; - $this->configFieldSets[] = "\t\t\t".'multiple="true"'; - $this->configFieldSets[] = "\t\t/>"; - // set params defaults - $this->paramsBuilder .= ',"'.$selector.'":["2"]'; - } - // add custom Target Groups fields - if (isset($this->configFieldSetsCustomField['Target Groups']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Target Groups'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Target Groups']); - unset($this->configFieldSetsCustomField['Target Groups']); - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - } - - protected function setGlobalConfigFieldsets($lang,$autorName,$autorEmail) - { - // start building field set for config - $this->configFieldSets[] = '<fieldset'; - $this->configFieldSets[] = "\t\t".'name="global_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_GLOBAL_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_GLOBAL_DESC">'; - // set application update License Key - if ($this->componentData->add_license && 1 != $this->componentData->license_type) - { - // set licence type switch - switch ($this->componentData->license_type) - { - case 2: - // for updates - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_LABEL']= "Your License Key"; - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_DESC'] = "To get updates you must add the license key here that you recieved from ".$this->componentData->companyname; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="license_key_note" class="alert alert-info" label="'.$lang.'_LICENSE_KEY_NOTE_LABEL" description="'.$lang.'_LICENSE_KEY_NOTE_DESC" />'; - break; - case 3: - // with vdm to lock down ownership - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_LABEL']= "Your License Key"; - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_NOTE_DESC'] = "To use this component you must add the license key here that you recieved from ".$this->componentData->companyname; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="license_key_note" class="alert alert-info" label="'.$lang.'_LICENSE_KEY_NOTE_LABEL" description="'.$lang.'_LICENSE_KEY_NOTE_DESC" />'; - break; - } - // setup lang - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_LABEL'] = "License Key"; - $this->langContent[$this->lang][$lang.'_LICENSE_KEY_DESC'] = "Add your license key here."; - // add the field - $this->configFieldSets[] = "\t\t".'<field name="license_key"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_LICENSE_KEY_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_LICENSE_KEY_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerLicense" hr="true" />'; - } - // setup lang - $this->langContent[$this->lang][$lang.'_GLOBAL_LABEL'] = "Global"; - $this->langContent[$this->lang][$lang.'_GLOBAL_DESC'] = "The Global Parameters"; - // add auto checin if required - if ($this->addCheckin) - { - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\t".'name="check_in"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_CHECK_TIMER_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_CHECK_TIMER_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-5 hours">'.$lang.'_CHECK_TIMER_OPTION_ONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-12 hours">'.$lang.'_CHECK_TIMER_OPTION_TWO</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-1 day">'.$lang.'_CHECK_TIMER_OPTION_THREE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-2 day">'.$lang.'_CHECK_TIMER_OPTION_FOUR</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="-1 week">'.$lang.'_CHECK_TIMER_OPTION_FIVE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option'; - $this->configFieldSets[] = "\t\t\t\t".'value="0">'.$lang.'_CHECK_TIMER_OPTION_SIX</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerAuthor" hr="true" />'; - // setup lang - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_LABEL'] = "Check in timer"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_DESC'] = "Set the intervals for the auto checkin fuction of tables that checks out the items to an user."; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_ONE'] = "Every five hours"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_TWO'] = "Every twelve hours"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_THREE'] = "Once a day"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_FOUR'] = "Every second day"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_FIVE'] = "Once a week"; - $this->langContent[$this->lang][$lang.'_CHECK_TIMER_OPTION_SIX'] = "Never"; - // load the Global checkin defautls - $this->paramsBuilder .= ',"check_in":"-1 day"'; - } - // set history control - if ($this->setTagHistory) - { - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\t".'name="save_history"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="JGLOBAL_SAVE_HISTORY_OPTIONS_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="JGLOBAL_SAVE_HISTORY_OPTIONS_DESC"'; - $this->configFieldSets[] = "\t\t\t>"; - $this->configFieldSets[] = "\t\t\t".'<option value="1">JYES</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">JNO</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\t".'name="history_limit"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'filter="integer"'; - $this->configFieldSets[] = "\t\t\t".'label="JGLOBAL_HISTORY_LIMIT_OPTIONS_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="JGLOBAL_HISTORY_LIMIT_OPTIONS_DESC"'; - $this->configFieldSets[] = "\t\t\t".'default="10"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerHistory" hr="true" />'; - // load the Global checkin defautls - $this->paramsBuilder .= ',"save_history":"1","history_limit":"10"'; - } - // add custom global fields - if (isset($this->configFieldSetsCustomField['Global']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Global'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Global']); - unset($this->configFieldSetsCustomField['Global']); - } - // set the author details - $this->configFieldSets[] = "\t\t".'<field name="autorTitle"'; - $this->configFieldSets[] = "\t\t\t".'type="spacer"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_AUTHOR"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="autorName"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_AUTHOR_NAME_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_AUTHOR_NAME_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$autorName.'"'; - $this->configFieldSets[] = "\t\t\t".'readonly="true"'; - $this->configFieldSets[] = "\t\t\t".'class="readonly"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="autorEmail"'; - $this->configFieldSets[] = "\t\t\t".'type="email"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_AUTHOR_EMAIL_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_AUTHOR_EMAIL_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$autorEmail.'"'; - $this->configFieldSets[] = "\t\t\t".'readonly="true"'; - $this->configFieldSets[] = "\t\t\t".'class="readonly"'; - $this->configFieldSets[] = "\t\t/>"; - // setup lang - $this->langContent[$this->lang][$lang.'_AUTHOR'] = "Author Info"; - $this->langContent[$this->lang][$lang.'_AUTHOR_NAME_LABEL'] = "Author Name"; - $this->langContent[$this->lang][$lang.'_AUTHOR_NAME_DESC'] = "The name of the author of this component."; - $this->langContent[$this->lang][$lang.'_AUTHOR_EMAIL_LABEL'] = "Author Email"; - $this->langContent[$this->lang][$lang.'_AUTHOR_EMAIL_DESC'] = "The email address of the author of this component."; - // set if contributors were added - $langCont = $lang.'_CONTRIBUTOR'; - if (isset($this->addContributors) && $this->addContributors && isset($this->componentData->contributors) && ComponentbuilderHelper::checkArray($this->componentData->contributors)) - { - foreach ($this->componentData->contributors as $counter => $contributor) - { - // make sure we dont use 0 - $counter++; - // get the word for this number - $COUNTER = ComponentbuilderHelper::safeString($counter,'U'); - // set the dynamic values - $cbTitle = htmlspecialchars($contributor['title'], ENT_XML1, 'UTF-8'); - $cbName = htmlspecialchars($contributor['name'], ENT_XML1, 'UTF-8'); - $cbEmail = htmlspecialchars($contributor['email'], ENT_XML1, 'UTF-8'); - $cbWebsite = htmlspecialchars($contributor['website'], ENT_XML1, 'UTF-8'); // ComponentbuilderHelper::htmlEscape($contributor['website']); - // load to the $fieldsets - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerContributor'.$counter.'" hr="true" />'; - $this->configFieldSets[] = "\t\t".'<field name="contributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="spacer"'; - $this->configFieldSets[] = "\t\t\t".'class="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_'.$COUNTER.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="titleContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_TITLE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_TITLE_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbTitle.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="nameContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_NAME_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_NAME_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbName.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="emailContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="email"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_EMAIL_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_EMAIL_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbEmail.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="linkContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="url"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_LINK_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_LINK_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default="'.$cbWebsite.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="useContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="'.(int) $contributor['use'].'"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_USE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_USE_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_USE_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_USE_EMAIL</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_USE_WWW</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t".'<field name="showContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="'.(int) $contributor['show'].'"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_SHOW_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_SHOW_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_SHOW_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_SHOW_BACK</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_SHOW_FRONT</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="3">'.$langCont.'_SHOW_ALL</option>'; - $this->configFieldSets[] = "\t\t</field>"; - // add the contributor - $this->theContributors .= "\n\t@".strtolower($contributor['title'])."\t\t".$contributor['name'].' <'.$contributor['website'].'>'; - // setup lang - $Counter = ComponentbuilderHelper::safeString($counter,'Ww'); - $this->langContent[$this->lang][$langCont.'_'.$COUNTER] = "Contributor ".$Counter; - // load the Global checkin defautls - $this->paramsBuilder .= ',"titleContributor'.$counter.'":"'.$cbTitle.'"'; - $this->paramsBuilder .= ',"nameContributor'.$counter.'":"'.$cbName.'"'; - $this->paramsBuilder .= ',"emailContributor'.$counter.'":"'.$cbEmail.'"'; - $this->paramsBuilder .= ',"linkContributor'.$counter.'":"'.$cbWebsite.'"'; - $this->paramsBuilder .= ',"useContributor'.$counter.'":"'.(int) $contributor['use'].'"'; - $this->paramsBuilder .= ',"showContributor'.$counter.'":"'.(int) $contributor['show'].'"'; - } - } - // add more contributors if required - if (1 == $this->componentData->emptycontributors) - { - if (isset($counter)){ - $min = $counter + 1; - unset($counter); - } - else - { - $min = 1; - } - $max = $min + $this->componentData->number - 1; - $moreContributerFields = range($min,$max, 1); - foreach ($moreContributerFields as $counter) - { - $COUNTER = ComponentbuilderHelper::safeString($counter,'U'); - - $this->configFieldSets[] = "\t\t".'<field type="spacer" name="spacerContributor'.$counter.'" hr="true" />'; - $this->configFieldSets[] = "\t\t".'<field name="contributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="spacer"'; - $this->configFieldSets[] = "\t\t\t".'class="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_'.$COUNTER.'"'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="titleContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_TITLE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_TITLE_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="nameContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_NAME_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_NAME_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="emailContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="email"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_EMAIL_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_EMAIL_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="linkContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="url"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_LINK_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_LINK_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t".'<field name="useContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_USE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_USE_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_USE_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_USE_EMAIL</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_USE_WWW</option>'; - $this->configFieldSets[] = "\t\t</field>"; - $this->configFieldSets[] = "\t\t".'<field name="showContributor'.$counter.'"'; - $this->configFieldSets[] = "\t\t\t".'type="list"'; - $this->configFieldSets[] = "\t\t\t".'default="0"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$langCont.'_SHOW_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$langCont.'_SHOW_DESC">'; - $this->configFieldSets[] = "\t\t\t".'<option value="0">'.$langCont.'_SHOW_NONE</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'.$langCont.'_SHOW_BACK</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'.$langCont.'_SHOW_FRONT</option>'; - $this->configFieldSets[] = "\t\t\t".'<option value="3">'.$langCont.'_SHOW_ALL</option>'; - $this->configFieldSets[] = "\t\t</field>"; - // setup lang - $Counter = ComponentbuilderHelper::safeString($counter,'Ww'); - $this->langContent[$this->lang][$langCont.'_'.$COUNTER] = "Contributor ".$Counter; - } - } - if ($this->addContributors || $this->componentData->emptycontributors == 1) - { - // setup lang - $this->langContent[$this->lang][$langCont.'_TITLE_LABEL'] = "Contributor Job Title"; - $this->langContent[$this->lang][$langCont.'_TITLE_DESC'] = "The job title that best describes the contributor's relationship to this component."; - $this->langContent[$this->lang][$langCont.'_NAME_LABEL'] = "Contributor Name"; - $this->langContent[$this->lang][$langCont.'_NAME_DESC'] = "The name of this contributor."; - $this->langContent[$this->lang][$langCont.'_EMAIL_LABEL'] = "Contributor Email"; - $this->langContent[$this->lang][$langCont.'_EMAIL_DESC'] = "The email of this contributor."; - $this->langContent[$this->lang][$langCont.'_LINK_LABEL'] = "Contributor Website"; - $this->langContent[$this->lang][$langCont.'_LINK_DESC'] = "The link to this contributor's website."; - $this->langContent[$this->lang][$langCont.'_USE_LABEL'] = "Use"; - $this->langContent[$this->lang][$langCont.'_USE_DESC'] = "How should we link to this contributor."; - $this->langContent[$this->lang][$langCont.'_USE_NONE'] = "None"; - $this->langContent[$this->lang][$langCont.'_USE_EMAIL'] = "Email"; - $this->langContent[$this->lang][$langCont.'_USE_WWW'] = "Website"; - $this->langContent[$this->lang][$langCont.'_SHOW_LABEL'] = "Show"; - $this->langContent[$this->lang][$langCont.'_SHOW_DESC'] = "Select where you want this contributor's details to show in the component."; - $this->langContent[$this->lang][$langCont.'_SHOW_NONE'] = "Hide"; - $this->langContent[$this->lang][$langCont.'_SHOW_BACK'] = "Back-end"; - $this->langContent[$this->lang][$langCont.'_SHOW_FRONT'] = "Front-end"; - $this->langContent[$this->lang][$langCont.'_SHOW_ALL'] = "Both Front & Back-end"; - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - - protected function setUikitConfigFieldsets($lang) - { - if ($this->uikit) - { - // main lang prefix - $lang = $lang.''; - // start building field set for uikit functions - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="uikit_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_UIKIT_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_UIKIT_DESC">'; - // set tab lang - $this->langContent[$this->lang][$lang.'_UIKIT_LABEL'] = "Uikit Settings"; - $this->langContent[$this->lang][$lang.'_UIKIT_DESC'] = "<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework -for developing fast and powerful web interfaces. For more info visit <a href=\"http://getuikit.com/\" >http://getuikit.com/</a>"; - - // set field lang - $this->langContent[$this->lang][$lang.'_UIKIT_LOAD_LABEL'] = "Loading Options"; - $this->langContent[$this->lang][$lang.'_UIKIT_LOAD_DESC'] = "Set the uikit loading option."; - $this->langContent[$this->lang][$lang.'_AUTO_LOAD'] = "Auto"; - $this->langContent[$this->lang][$lang.'_FORCE_LOAD'] = "Force"; - $this->langContent[$this->lang][$lang.'_DONT_LOAD'] = "Not"; - $this->langContent[$this->lang][$lang.'_ONLY_EXTRA'] = "Only Extra"; - // set the field - $this->configFieldSets[] = "\t\t".'<field name="uikit_load"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_UIKIT_LOAD_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_UIKIT_LOAD_DESC"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="">'; - $this->configFieldSets[] = "\t\t\t".'<!--'.$this->setLine(__LINE__).' Option Set. -->'; - $this->configFieldSets[] = "\t\t\t".'<option value="">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_AUTO_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value="1">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_FORCE_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value="3">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_ONLY_EXTRA</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value="2">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_DONT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t</field>"; - // set params defaults - $this->paramsBuilder .= ',"uikit_load":"1"'; - - // set field lang - $this->langContent[$this->lang][$lang.'_UIKIT_MIN_LABEL'] = "Load Minified"; - $this->langContent[$this->lang][$lang.'_UIKIT_MIN_DESC'] = "Should the minified version of uikit files be loaded?"; - $this->langContent[$this->lang][$lang.'_YES'] = "Yes"; - $this->langContent[$this->lang][$lang.'_NO'] = "No"; - // set the field - $this->configFieldSets[] = "\t\t".'<field name="uikit_min"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_UIKIT_MIN_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_UIKIT_MIN_DESC"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="">'; - $this->configFieldSets[] = "\t\t\t".'<!--'.$this->setLine(__LINE__).' Option Set. -->'; - $this->configFieldSets[] = "\t\t\t".'<option value="">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_NO</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value=".min">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_YES</option>"'; - $this->configFieldSets[] = "\t\t</field>"; - // set params defaults - $this->paramsBuilder .= ',"uikit_min":""'; - // set field lang - $this->langContent[$this->lang][$lang.'_UIKIT_STYLE_LABEL'] = "css Style"; - $this->langContent[$this->lang][$lang.'_UIKIT_STYLE_DESC'] = "Set the css style that should be used."; - $this->langContent[$this->lang][$lang.'_FLAT_LOAD'] = "Flat"; - $this->langContent[$this->lang][$lang.'_ALMOST_FLAT_LOAD'] = "Almost Flat"; - $this->langContent[$this->lang][$lang.'_GRADIANT_LOAD'] = "Gradient"; - // set the field - $this->configFieldSets[] = "\t\t".'<field name="uikit_style"'; - $this->configFieldSets[] = "\t\t\t".'type="radio"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_UIKIT_STYLE_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_UIKIT_STYLE_DESC"'; - $this->configFieldSets[] = "\t\t\t".'class="btn-group btn-group-yesno"'; - $this->configFieldSets[] = "\t\t\t".'default="">'; - $this->configFieldSets[] = "\t\t\t".'<!--'.$this->setLine(__LINE__).' Option Set. -->'; - $this->configFieldSets[] = "\t\t\t".'<option value="">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_FLAT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value=".almost-flat">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_ALMOST_FLAT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t\t".'<option value=".gradient">'; - $this->configFieldSets[] = "\t\t\t\t".$lang.'_GRADIANT_LOAD</option>"'; - $this->configFieldSets[] = "\t\t</field>"; - // set params defaults - $this->paramsBuilder .= ',"uikit_style":""'; - // add custom Uikit Settings fields - if (isset($this->configFieldSetsCustomField['Uikit Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Uikit Settings'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Uikit Settings']); - unset($this->configFieldSetsCustomField['Uikit Settings']); - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - - } - - protected function setGooglechartConfigFieldsets($lang) - { - if ($this->googlechart) - { - $this->configFieldSets[] = "\n\t<fieldset"; - $this->configFieldSets[] = "\t\tname=\"googlechart_config\""; - $this->configFieldSets[] = "\t\tlabel=\"".$lang."_CHART_SETTINGS_LABEL\""; - $this->configFieldSets[] = "\t\tdescription=\"".$lang."_CHART_SETTINGS_DESC\">"; - $this->configFieldSets[] = "\t\t"; - $this->configFieldSets[] = "\t\t<field type=\"note\" name=\"chart_admin_naote\" class=\"alert alert-info\" label=\"".$lang."_ADMIN_CHART_NOTE_LABEL\" description=\"".$lang."_ADMIN_CHART_NOTE_DESC\" />"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartbackground Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartbackground\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#F7F7FA\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTBACKGROUND_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTBACKGROUND_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_mainwidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_mainwidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_MAINWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_MAINWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add area width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_MAINWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_a Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_a\" hr=\"true\" class=\"spacer_chartadmin_hr_a\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartareatop Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartareatop\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREATOP_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREATOP_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add top spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREATOP_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartarealeft Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartarealeft\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREALEFT_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREALEFT_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add left spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREALEFT_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_chartareawidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_chartareawidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREAWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREAWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add chart width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREAWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_b Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_b\" hr=\"true\" class=\"spacer_chartadmin_hr_b\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_legendtextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_legendtextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_legendtextstylefontsize Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_legendtextstylefontsize\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add size of the legend here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_c Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_c\" hr=\"true\" class=\"spacer_chartadmin_hr_c\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_vaxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_vaxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartadmin_hr_d Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartadmin_hr_d\" hr=\"true\" class=\"spacer_chartadmin_hr_d\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_haxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_haxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Admin_haxistitletextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"admin_haxistitletextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>"; - $this->configFieldSets[] = "\t\t"; - $this->configFieldSets[] = "\t\t<field type=\"note\" name=\"chart_site_note\" class=\"alert alert-info\" label=\"".$lang."_SITE_CHART_NOTE_LABEL\" description=\"".$lang."_SITE_CHART_NOTE_DESC\" />"; - $this->configFieldSets[] = "\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartbackground Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartbackground\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#F7F7FA\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTBACKGROUND_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTBACKGROUND_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_mainwidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_mainwidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_MAINWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_MAINWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add area width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_MAINWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_a Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_a\" hr=\"true\" class=\"spacer_chartsite_hr_a\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartareatop Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartareatop\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREATOP_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREATOP_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add top spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREATOP_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartarealeft Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartarealeft\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREALEFT_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREALEFT_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add left spacing here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREALEFT_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_chartareawidth Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_chartareawidth\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_CHARTAREAWIDTH_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_CHARTAREAWIDTH_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add chart width here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_CHARTAREAWIDTH_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_b Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_b\" hr=\"true\" class=\"spacer_chartsite_hr_b\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_legendtextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_legendtextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_legendtextstylefontsize Field. Type: Text. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"text\""; - $this->configFieldSets[] = "\t\t\tname=\"site_legendtextstylefontsize\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_LABEL\""; - $this->configFieldSets[] = "\t\t\tsize=\"20\""; - $this->configFieldSets[] = "\t\t\tmaxlength=\"50\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_DESC\""; - $this->configFieldSets[] = "\t\t\tclass=\"text_area\""; - $this->configFieldSets[] = "\t\t\tfilter=\"INT\""; - $this->configFieldSets[] = "\t\t\tmessage=\"Error! Please add size of the legend here.\""; - $this->configFieldSets[] = "\t\t\thint=\"".$lang."_LEGENDTEXTSTYLEFONTSIZE_HINT\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_c Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_c\" hr=\"true\" class=\"spacer_chartsite_hr_c\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_vaxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_vaxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_VAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Spacer_chartsite_hr_d Field. Type: Spacer. A None Database Field. -->"; - $this->configFieldSets[] = "\t\t<field type=\"spacer\" name=\"spacer_chartsite_hr_d\" hr=\"true\" class=\"spacer_chartsite_hr_d\" />\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_haxistextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_haxistextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>\t\t"; - $this->configFieldSets[] = "\t\t<!--".$this->setLine(__LINE__)." Site_haxistitletextstylefontcolor Field. Type: Color. -->"; - $this->configFieldSets[] = "\t\t<field"; - $this->configFieldSets[] = "\t\t\ttype=\"color\""; - $this->configFieldSets[] = "\t\t\tname=\"site_haxistitletextstylefontcolor\""; - $this->configFieldSets[] = "\t\t\tdefault=\"#63B1F2\""; - $this->configFieldSets[] = "\t\t\tlabel=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_LABEL\""; - $this->configFieldSets[] = "\t\t\tdescription=\"".$lang."_HAXISTITLETEXTSTYLEFONTCOLOR_DESC\""; - $this->configFieldSets[] = "\t\t/>"; - - // add custom Encryption Settings fields - if (isset($this->configFieldSetsCustomField['Chart Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Chart Settings'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Chart Settings']); - unset($this->configFieldSetsCustomField['Chart Settings']); - } - - $this->configFieldSets[] = "\t</fieldset>"; - - // set params defaults - $this->paramsBuilder .= ',"admin_chartbackground":"#F7F7FA","admin_mainwidth":"1000","admin_chartareatop":"20","admin_chartarealeft":"20","admin_chartareawidth":"170","admin_legendtextstylefontcolor":"10","admin_legendtextstylefontsize":"20","admin_vaxistextstylefontcolor":"#63B1F2","admin_haxistextstylefontcolor":"#63B1F2","admin_haxistitletextstylefontcolor":"#63B1F2","site_chartbackground":"#F7F7FA","site_mainwidth":"1000","site_chartareatop":"20","site_chartarealeft":"20","site_chartareawidth":"170","site_legendtextstylefontcolor":"10","site_legendtextstylefontsize":"20","site_vaxistextstylefontcolor":"#63B1F2","site_haxistextstylefontcolor":"#63B1F2","site_haxistitletextstylefontcolor":"#63B1F2"'; - - // set field lang - $this->langContent[$this->lang][$lang.'_CHART_SETTINGS_LABEL'] = "Chart Settings"; - $this->langContent[$this->lang][$lang.'_CHART_SETTINGS_DESC'] = "The Google Chart Display Settings Are Made Here."; - $this->langContent[$this->lang][$lang.'_ADMIN_CHART_NOTE_LABEL'] = "Admin Settings"; - $this->langContent[$this->lang][$lang.'_ADMIN_CHART_NOTE_DESC'] = "The following settings are used on the back-end of the site called (admin)."; - $this->langContent[$this->lang][$lang.'_SITE_CHART_NOTE_LABEL'] = "Site Settings"; - $this->langContent[$this->lang][$lang.'_SITE_CHART_NOTE_DESC'] = "The following settings are used on the front-end of the site called (site)."; - - $this->langContent[$this->lang][$lang.'_CHARTAREALEFT_DESC'] = "Set in pixels the spacing from the left of the chart area to the beginning of the chart it self. Please don't add the px sign"; - $this->langContent[$this->lang][$lang.'_CHARTAREALEFT_HINT'] = "170"; - $this->langContent[$this->lang][$lang.'_CHARTAREALEFT_LABEL'] = "Left Spacing"; - $this->langContent[$this->lang][$lang.'_CHARTAREATOP_DESC'] = "Set in pixels the spacing from the top of the chart area to the beginning of the chart it self. Please don't add the px sign"; - $this->langContent[$this->lang][$lang.'_CHARTAREATOP_HINT'] = "20"; - $this->langContent[$this->lang][$lang.'_CHARTAREATOP_LABEL'] = "Top Spacing"; - $this->langContent[$this->lang][$lang.'_CHARTAREAWIDTH_DESC'] = "Set in % the width of the chart it self inside the chart area. Please don't add the % sign"; - $this->langContent[$this->lang][$lang.'_CHARTAREAWIDTH_HINT'] = "60"; - $this->langContent[$this->lang][$lang.'_CHARTAREAWIDTH_LABEL'] = "Chart Width"; - $this->langContent[$this->lang][$lang.'_CHARTBACKGROUND_DESC'] = "Select the chart background color here."; - $this->langContent[$this->lang][$lang.'_CHARTBACKGROUND_LABEL'] = "Chart Background"; - $this->langContent[$this->lang][$lang.'_HAXISTEXTSTYLEFONTCOLOR_DESC'] = "Select the horizontal axis font color."; - $this->langContent[$this->lang][$lang.'_HAXISTEXTSTYLEFONTCOLOR_LABEL'] = "hAxis Font Color"; - $this->langContent[$this->lang][$lang.'_HAXISTITLETEXTSTYLEFONTCOLOR_DESC'] = "Select the horizontal axis title's font color."; - $this->langContent[$this->lang][$lang.'_HAXISTITLETEXTSTYLEFONTCOLOR_LABEL'] = "hAxis Title Font Color"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTCOLOR_DESC'] = "Select the legend font color."; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTCOLOR_LABEL'] = "Legend Font Color"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTSIZE_DESC'] = "Set in pixels the font size of the legend"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTSIZE_HINT'] = "10"; - $this->langContent[$this->lang][$lang.'_LEGENDTEXTSTYLEFONTSIZE_LABEL'] = "Legend Font Size"; - $this->langContent[$this->lang][$lang.'_MAINWIDTH_DESC'] = "Set the width of the entire chart area"; - $this->langContent[$this->lang][$lang.'_MAINWIDTH_HINT'] = "1000"; - $this->langContent[$this->lang][$lang.'_MAINWIDTH_LABEL'] = "Chart Area Width"; - $this->langContent[$this->lang][$lang.'_VAXISTEXTSTYLEFONTCOLOR_DESC'] = "Select the vertical axis font color."; - $this->langContent[$this->lang][$lang.'_VAXISTEXTSTYLEFONTCOLOR_LABEL'] = "vAxis Font Color"; - } - } - - protected function setEncryptionConfigFieldsets($lang) - { - // Add encryption if needed - if ((isset($this->basicEncryption) && $this->basicEncryption) || (isset($this->advancedEncryption) && $this->advancedEncryption)) - { - // start building field set for uikit functions - $this->configFieldSets[] = "\t<fieldset"; - $this->configFieldSets[] = "\t\t".'name="encryption_config"'; - $this->configFieldSets[] = "\t\t".'label="'.$lang.'_ENCRYPTION_LABEL"'; - $this->configFieldSets[] = "\t\t".'description="'.$lang.'_ENCRYPTION_DESC">'; - // set tab lang - $this->langContent[$this->lang][$lang.'_ENCRYPTION_LABEL'] = "Encryption Settings"; - $this->langContent[$this->lang][$lang.'_ENCRYPTION_DESC'] = "The encription key for the field encryption is set here."; - - if (isset($this->basicEncryption) && $this->basicEncryption) - { - // set field lang - $this->langContent[$this->lang][$lang.'_BASIC_KEY_LABEL'] = "Basic Key <small>(basic encryption)</small>"; - $this->langContent[$this->lang][$lang.'_BASIC_KEY_DESC'] = "Set the basic local key here."; - $this->langContent[$this->lang][$lang.'_BASIC_KEY_NOTE_LABEL'] = "Basic Encryption"; - $this->langContent[$this->lang][$lang.'_BASIC_KEY_NOTE_DESC'] = "When using the basic encryption please use a 32 character passphrase.<br />Never change this passphrase once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>"; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="basic_key_note" class="alert alert-info" label="'.$lang.'_BASIC_KEY_NOTE_LABEL" description="'.$lang.'_BASIC_KEY_NOTE_DESC" />'; - $this->configFieldSets[] = "\t\t".'<field name="basic_key"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_BASIC_KEY_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_BASIC_KEY_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - } - - if (isset($this->advancedEncryption) && $this->advancedEncryption) - { - // set field lang - $this->langContent[$this->lang][$lang.'_VDM_KEY_LABEL'] = "Advanced Key <small>(advanced encryption)</small>"; - $this->langContent[$this->lang][$lang.'_VDM_KEY_DESC'] = "Add the advanced key here."; - $this->langContent[$this->lang][$lang.'_VDM_KEY_NOTE_LABEL'] = "Advanced Encryption"; - $this->langContent[$this->lang][$lang.'_VDM_KEY_NOTE_DESC'] = "When using the advanced encryption you need to get an advanced key from ".$this->componentData->companyname.".<br />Never change this advanced key once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>"; - // set the field - $this->configFieldSets[] = "\t\t".'<field type="note" name="vdm_key_note" class="alert alert-info" label="'.$lang.'_VDM_KEY_NOTE_LABEL" description="'.$lang.'_VDM_KEY_NOTE_DESC" />'; - $this->configFieldSets[] = "\t\t".'<field name="advanced_key"'; - $this->configFieldSets[] = "\t\t\t".'type="text"'; - $this->configFieldSets[] = "\t\t\t".'label="'.$lang.'_VDM_KEY_LABEL"'; - $this->configFieldSets[] = "\t\t\t".'description="'.$lang.'_VDM_KEY_DESC"'; - $this->configFieldSets[] = "\t\t\t".'size="60"'; - $this->configFieldSets[] = "\t\t\t".'default=""'; - $this->configFieldSets[] = "\t\t/>"; - } - // add custom Encryption Settings fields - if (isset($this->configFieldSetsCustomField['Encryption Settings']) && ComponentbuilderHelper::checkArray($this->configFieldSetsCustomField['Encryption Settings'])) - { - $this->configFieldSets[] = implode("\t\t",$this->configFieldSetsCustomField['Encryption Settings']); - unset($this->configFieldSetsCustomField['Encryption Settings']); - } - // close that fieldset - $this->configFieldSets[] = "\t</fieldset>"; - } - } - - protected function setAccessSectionsCategory($viewName_single, $viewName_list) - { - $component = ''; - // check if view has category - if (array_key_exists($viewName_single, $this->catCodeBuilder)) - { - $otherViews = $this->catCodeBuilder[$viewName_single]['views']; - if ($otherViews == $viewName_list) - { - $component .= "\n\t".'<section name="category.'.$otherViews.'">'; - $component .= "\n\t\t".'<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />'; - $component .= "\n\t\t".'<action name="core.delete" title="JACTION_DELETE" description="COM_CATEGORIES_ACCESS_DELETE_DESC" />'; - $component .= "\n\t\t".'<action name="core.edit" title="JACTION_EDIT" description="COM_CATEGORIES_ACCESS_EDIT_DESC" />'; - $component .= "\n\t\t".'<action name="core.edit.state" title="JACTION_EDITSTATE" description="COM_CATEGORIES_ACCESS_EDITSTATE_DESC" />'; - $component .= "\n\t\t".'<action name="core.edit.own" title="JACTION_EDITOWN" description="COM_CATEGORIES_ACCESS_EDITOWN_DESC" />'; - $component .= "\n\t</section>"; - } - } - return $component; - } - - protected function setAccessSections() - { - // set the default component access values - $componentHead = array(); - $componentHead[] = '<section name="component">'; - $componentHead[] = "\t\t".'<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.options" title="JACTION_OPTIONS" description="JACTION_OPTIONS_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />'; - if ($this->addEximport) - { - $exportTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Export Data','U'); - $exportDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Export Data','U').'_DESC'; - $this->langContent['admin'][$exportTitle] = 'Export Data'; - $this->langContent['admin'][$exportDesc] = ' Allows users in this group to export data.'; - $componentHead[] = "\t\t".'<action name="core.export" title="'.$exportTitle.'" description="'.$exportDesc.'" />'; - - $importTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Import Data','U'); - $importDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Import Data','U').'_DESC'; - $this->langContent['admin'][$importTitle] = 'Import Data'; - $this->langContent['admin'][$importDesc] = ' Allows users in this group to import data.'; - $componentHead[] = "\t\t".'<action name="core.import" title="'.$importTitle.'" description="'.$importDesc.'" />'; - } - // version permission - $batchTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Use Batch','U'); - $batchDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Use Batch','U').'_DESC'; - $this->langContent['admin'][$batchTitle] = 'Use Batch'; - $this->langContent['admin'][$batchDesc] = ' Allows users in this group to use batch copy/update method.'; - $componentHead[] = "\t\t".'<action name="core.batch" title="'.$batchTitle.'" description="'.$batchDesc.'" />'; - // version permission - $importTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Versions','U'); - $importDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Versions','U').'_DESC'; - $this->langContent['admin'][$importTitle] = 'Edit Version'; - $this->langContent['admin'][$importDesc] = ' Allows users in this group to edit versions.'; - $componentHead[] = "\t\t".'<action name="core.version" title="'.$importTitle.'" description="'.$importDesc.'" />'; - // set the defaults - $componentHead[] = "\t\t".'<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_ACCESS_EDITSTATE_DESC" />'; - $componentHead[] = "\t\t".'<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />'; - // new custom created by permissions - $created_byTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created By','U'); - $created_byDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created By','U').'_DESC'; - $this->langContent['admin'][$created_byTitle] = 'Edit Created By'; - $this->langContent['admin'][$created_byDesc] = ' Allows users in this group to edit created by.'; - $componentHead[] = "\t\t".'<action name="core.edit.created_by" title="'.$created_byTitle.'" description="'.$created_byDesc.'" />'; - // new custom created date permissions - $createdTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created Date','U'); - $createdDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString('Edit Created Date','U').'_DESC'; - $this->langContent['admin'][$createdTitle] = 'Edit Created Date'; - $this->langContent['admin'][$createdDesc] = ' Allows users in this group to edit created date.'; - $componentHead[] = "\t\t".'<action name="core.edit.created" title="'.$createdTitle.'" description="'.$createdDesc.'" />'; - // setup the view array - $views = array(); - $componentGlobal = array(); - // set the menu controller lookup - $menuControllers = array('submenu','dashboard_list','dashboard_add'); - // set the custom admin views permissions - if (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views)) - { - foreach ($this->componentData->custom_admin_views as $custom_admin_view) - { - // new custom permissions to access this view - $customAdminName = $custom_admin_view['settings']->name; - $customAdminCode = $custom_admin_view['settings']->code; - $customAdminTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' Access','U'); - $customAdminDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' Access','U').'_DESC'; - $sortKey = ComponentbuilderHelper::safeString($customAdminName.' Access'); - $this->langContent['admin'][$customAdminTitle] = $customAdminName.' Access'; - $this->langContent['admin'][$customAdminDesc] = ' Allows the users in this group to access '.ComponentbuilderHelper::safeString($customAdminName,'w').'.'; - $componentGlobal[$sortKey] = "\t\t".'<action name="'.$customAdminCode.'.access" title="'.$customAdminTitle.'" description="'.$customAdminDesc.'" />'; - // add the custom permissions to use the buttons of this view - if (ComponentbuilderHelper::checkArray($custom_admin_view['settings']->custom_buttons)) - { - foreach ($custom_admin_view['settings']->custom_buttons as $custom_buttons) - { - $customAdminButtonName = $custom_buttons['name']; - $customAdminButtonCode = ComponentbuilderHelper::safeString($customAdminButtonName); - $customAdminButtonTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' '.$customAdminButtonName.' Button Access','U'); - $customAdminButtonDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($customAdminName.' '.$customAdminButtonName.' Button Access','U').'_DESC'; - $sortButtonKey = ComponentbuilderHelper::safeString($customAdminName.' '.$customAdminButtonName.' Button Access'); - $this->langContent['admin'][$customAdminButtonTitle] = $customAdminName.' '.$customAdminButtonName.' Button Access'; - $this->langContent['admin'][$customAdminButtonDesc] = ' Allows the users in this group to access the '.ComponentbuilderHelper::safeString($customAdminButtonName,'w').' button.'; - $componentGlobal[$sortButtonKey] = "\t\t".'<action name="'.$customAdminCode.'.'.$customAdminButtonCode.'" title="'.$customAdminButtonTitle.'" description="'.$customAdminButtonDesc.'" />'; - } - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - // add menu controll view that has menus options - if (isset($custom_admin_view[$menuController]) && $custom_admin_view[$menuController]) - { - // TODO for CUSTOM MENUS!!! - } - } - } - } - // set the site views permissions - if (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views)) - { - foreach ($this->componentData->site_views as $site_view) - { - // new custom permissions to access this view - $siteName = $site_view['settings']->name; - $siteCode = $site_view['settings']->code; - $siteTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' Access Site','U'); - $siteDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' Access Site','U').'_DESC'; - $sortKey = ComponentbuilderHelper::safeString($siteName.' Access Site'); - $this->langContent['admin'][$siteTitle] = $siteName.' (Site) Access'; - $this->langContent['admin'][$siteDesc] = ' Allows the users in this group to access site '.ComponentbuilderHelper::safeString($siteName,'w').'.'; - $componentGlobal[$sortKey] = "\t\t".'<action name="site.'.$siteCode.'.access" title="'.$siteTitle.'" description="'.$siteDesc.'" />'; - // add the custom permissions to use the buttons of this view - /* if (ComponentbuilderHelper::checkArray($site_view['settings']->custom_buttons)) - { - foreach ($site_view['settings']->custom_buttons as $custom_buttons) - { - $siteButtonName = $custom_buttons['name']; - $siteButtonCode = ComponentbuilderHelper::safeString($siteButtonName); - $siteButtonTitle = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' '.$siteButtonName.' Button Access','U'); - $siteButtonDesc = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($siteName.' '.$siteButtonName.' Button Access','U').'_DESC'; - $sortButtonKey = ComponentbuilderHelper::safeString($siteButtonTitle); - $this->langContent['admin'][$siteButtonTitle] = $siteName.' '.$siteButtonName.' Button Access'; - $this->langContent['admin'][$siteButtonDesc] = ' Allows the users in this group to access the '.ComponentbuilderHelper::safeString($siteButtonName,'w').' button.'; - $componentGlobal[$sortButtonKey] = "\t\t".'<action name="'.$siteCode.'.'.$siteButtonCode.'" title="'.$siteButtonTitle.'" description="'.$siteButtonDesc.'" />'; - } - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - // add menu controll view that has menus options - if ($site_view[$menuController]) - { - // TODO for CUSTOM MENUS!!! - } - } */ - } - } - if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views)) - { - foreach ($this->componentData->admin_views as $view) - { - // set view name - $nameView = ComponentbuilderHelper::safeString($view['settings']->name_single); - $nameViews = ComponentbuilderHelper::safeString($view['settings']->name_list); - if ($nameView != 'component') - { - - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - // add menu controll view that has menus options - if ($view[$menuController]) - { - $targetView_ = 'views.'; - if ($menuController == 'dashboard_add') - { - $targetView_ = 'view.'; - } - // menucontroller - $menucontrollerView['action'] = $targetView_.$menuController; - $menucontrollerView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$menucontrollerView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $menucontrollerView; - } - unset($menucontrollerView); - } - } - // check if there are fields - if (ComponentbuilderHelper::checkArray($view['settings']->fields)) - { - // check the fields for their permission settings - foreach($view['settings']->fields as $field) - { - // see if field require permissions to be set - if (isset($field['permission']) && $field['permission']) - { - if (ComponentbuilderHelper::checkArray($field['settings']->properties)) - { - foreach ($field['settings']->properties as $property) - { - if ($property['name'] == 'type') - { - $propertyType = $property; - } - } - $fieldType = $this->getFieldType($field['settings']->type_name,$field['settings']->xml,$propertyType); - $fieldName = $this->getFieldName($fieldType,$field['settings']->xml,$field['alias']); - $fieldView = array(); - // set the permission for this field - $fieldView['action'] = 'view.edit.'.$fieldName; - $fieldView['implementation'] = '3'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$fieldView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $fieldView; - } - // load to global field permission set - $this->permissionFields[$nameView][$fieldName] = $fieldType; - } - } - } - } - if (ComponentbuilderHelper::checkArray($view['settings']->permissions) || $view['port'] || $view['history']) - { - // add export/import permissions to each view that has export/import options - if ($view['port']) - { - // export - $exportView['action'] = 'view.export'; - $exportView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$exportView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $exportView; - } - // import - $importView['action'] = 'view.import'; - $importView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$importView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $importView; - } - } - // add version opstions to each view that has it added - if ($view['history']) - { - // set version control - $versionView['action'] = 'view.version'; - $versionView['implementation'] = '3'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$versionView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $versionView; - } - } - // set batch control - $batchView['action'] = 'view.batch'; - $batchView['implementation'] = '2'; - if (ComponentbuilderHelper::checkArray($view['settings']->permissions)) - { - array_push($view['settings']->permissions,$batchView); - } - else - { - $view['settings']->permissions = array(); - $view['settings']->permissions[] = $batchView; - } - - foreach ($view['settings']->permissions as $permission) - { - // set acction name - $arr = explode('.',trim($permission['action'])); - if ($arr[0] != 'core' || $arr[0] == 'view') - { - array_shift($arr); - $actionMain = implode('.',$arr); - $action = $nameView.'.'.$actionMain; - } - else - { - if ($arr[0] == 'core') - { - // core is already set in global access - $permission['implementation'] = 1; - } - $action = $permission['action']; - } - // build action name - $actionNameBuilder = explode('.',trim($permission['action'])); - array_shift($actionNameBuilder); - $nameBuilder = trim(implode('___',$actionNameBuilder)); - $customName = trim(implode(' ',$actionNameBuilder)); - $W_NameList = ComponentbuilderHelper::safeString($view['settings']->name_list, 'W'); - $w_NameList = ComponentbuilderHelper::safeString($customName.' '.$view['settings']->name_list, 'w'); - $w_NameSingle = ComponentbuilderHelper::safeString($view['settings']->name_single, 'w'); - switch ($nameBuilder) - { - case 'edit': - // set edit title - $permission['title'] = $W_NameList . ' Edit'; - // set edit description - $permission['description'] = ' Allows the users in this group to edit the ' . $w_NameSingle; - break; - case 'edit___own': - // set edit title - $permission['title'] = $W_NameList . ' Edit Own'; - // set edit description - $permission['description'] = ' Allows the users in this group to edit ' . $w_NameList . ' created by them'; - break; - case 'edit___state': - // set edit title - $permission['title'] = $W_NameList . ' Edit State'; - // set edit description - $permission['description'] = ' Allows the users in this group to update the state of the ' . $w_NameSingle; - break; - case 'edit___created_by': - // set edit title - $permission['title'] = $W_NameList . ' Edit Created By'; - // set edit description - $permission['description'] = ' Allows the users in this group to update the created by of the ' . $w_NameList; - break; - case 'edit___created': - // set edit title - $permission['title'] = $W_NameList . ' Edit Created Date'; - // set edit description - $permission['description'] = ' Allows the users in this group to update the created date of the ' . $w_NameList; - break; - case 'create': - // set edit title - $permission['title'] = $W_NameList . ' Create'; - // set edit description - $permission['description'] = ' Allows the users in this group to create ' . $w_NameList; - break; - case 'delete': - // set edit title - $permission['title'] = $W_NameList . ' Delete'; - // set edit description - $permission['description'] = ' Allows the users in this group to delete ' . $w_NameList; - break; - case 'access': - // set edit title - $permission['title'] = $W_NameList . ' Access'; - // set edit description - $permission['description'] = ' Allows the users in this group to access ' . $w_NameList; - break; - case 'export': - // set edit title - $permission['title'] = $W_NameList . ' Export'; - // set edit description - $permission['description'] = ' Allows the users in this group to export ' . $w_NameList; - break; - case 'import': - // set edit title - $permission['title'] = $W_NameList . ' Import'; - // set edit description - $permission['description'] = ' Allows the users in this group to import ' . $w_NameList; - break; - case 'version': - // set edit title - $permission['title'] = $W_NameList . ' Edit Version'; - // set edit description - $permission['description'] = ' Allows users in this group to edit versions of ' . $w_NameList; - break; - case 'batch': - // set edit title - $permission['title'] = $W_NameList . ' Batch Use'; - // set edit description - $permission['description'] = ' Allows users in this group to use batch copy/update method of ' . $w_NameList; - break; - default: - // set edit title - $permission['title'] = $W_NameList . ' ' . ComponentbuilderHelper::safeString($customName, 'W'); - // set edit description - $permission['description'] = ' Allows the users in this group to update the ' . ComponentbuilderHelper::safeString($customName, 'w') . ' of the ' . $w_NameSingle; - break; - } - // if core is not used update all core strings - $coreCheck = explode('.',$action); - $coreCheck[0] = 'core'; - $coreTarget = implode('.',$coreCheck); - $this->permissionCore[$nameView][$coreTarget] = $action; - // set array sort name - $sortKey = ComponentbuilderHelper::safeString($permission['title']); - // set title - $title = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($permission['title'],'U'); - // load the actions - if ($permission['implementation'] == 1) - { - // only related to view - $views[$nameView][] = '<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // load permission to action - $this->permissionBuilder[$action][$nameView] = $nameView; - } - elseif ($permission['implementation'] == 2) - { - // relation to whole component - $componentGlobal[$sortKey] = "\t\t".'<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // build permission switch - $this->permissionBuilder['global'][$action][$nameView] = $nameView; - // dashboard icon checker - if ($coreTarget == 'core.access') - { - $this->permissionDashboard[] = "'" . $nameViews . ".access' => '" . $action . "'"; - $this->permissionDashboard[] = "'" . $nameView . ".access' => '" . $action . "'"; - } - if ($coreTarget == 'core.create') - { - $this->permissionDashboard[] = "'" . $nameView . ".create' => '" . $action . "'"; - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - if ($coreTarget == 'core.'.$menuController) - { - if ($menuController == 'dashboard_add') - { - $this->permissionDashboard[] = "'" . $nameView . ".".$menuController."' => '" . $action . "'"; - } - else - { - $this->permissionDashboard[] = "'" . $nameViews . ".".$menuController."' => '" . $action . "'"; - } - } - } - } - elseif ($permission['implementation'] == 3) - { - // only related to view - $views[$nameView][] = '<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // load permission to action - $this->permissionBuilder[$action][$nameView] = $nameView; - // relation to whole component - $componentGlobal[$sortKey] = "\t\t".'<action name="'.$action.'" title="'.$title.'" description="'.$title.'_DESC" />'; - // build permission switch - $this->permissionBuilder['global'][$action][$nameView] = $nameView; - // dashboard icon checker - if ($coreTarget == 'core.access') - { - $this->permissionDashboard[] = "'" . $nameViews . ".access' => '" . $action . "'"; - $this->permissionDashboard[] = "'" . $nameView . ".access' => '" . $action . "'"; - } - if ($coreTarget == 'core.create') - { - $this->permissionDashboard[] = "'" . $nameView . ".create' => '" . $action . "'"; - } - // add menu controll view that has menus options - foreach ($menuControllers as $menuController) - { - if ($coreTarget == 'core.'.$menuController) - { - if ($menuController == 'dashboard_add') - { - $this->permissionDashboard[] = "'" . $nameView . ".".$menuController."' => '" . $action . "'"; - } - else - { - $this->permissionDashboard[] = "'" . $nameViews . ".".$menuController."' => '" . $action . "'"; - } - } - } - } - // set to language file - $this->langContent['admin'][$title] = trim($permission['title']); - $this->langContent['admin'][$title.'_DESC'] = trim($permission['description']); - } - } - } - } - // set the views permissions now - if (ComponentbuilderHelper::checkArray($views)) - { - foreach ($views as $viewName => $actions) - { - $componentViews[] = "\t".'<section name="'.$viewName.'">'; - foreach ($actions as $action) - { - $componentViews[] = "\t\t".$action; - } - $componentViews[] = "\t</section>"; - } - } - /// now build the section - $component = implode("\n",$componentHead); - // sort the array to insure easy search - ksort($componentGlobal,SORT_STRING); - // add global to the compnent section - $component .= "\n".implode("\n",$componentGlobal)."\n\t</section>"; - // add views to the compnent section - $component .= "\n".implode("\n",$componentViews); - // return the build - return $component; - } - return false; - } - - protected function getFieldName($typeName,$xml,$alias) - { - // if category then name must be catid (only one per view) - if ($typeName == 'category') - { - return 'catid'; - - } - // if tag is set then enable all tag options for this view (only one per view) - elseif ($typeName == 'tag') - { - return 'tags'; - } - // if the field is set as alias it must be called alias - elseif ($alias) - { - return 'alias'; - } - elseif ($typeName == 'spacer') - { - // make sure the name is unique - return false; - } - else - { - return ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml,'name="','"')); - } - } - - protected function getFieldType($typeName,$xml,$property) - { - // make sure its lower case - $typeName = ComponentbuilderHelper::safeString($typeName); - - if ($typeName == 'custom' || $typeName == 'customuser') - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml,'type="','"')); - } - // use field core type only if not found - elseif (ComponentbuilderHelper::checkString($typeName)) - { - $xmlValue = $typeName; - } - // make sure none adjustable fields are set - elseif (isset($property['example']) && ComponentbuilderHelper::checkString($property['example']) && $property['adjustable'] == 0) - { - $xmlValue = $property['example']; - } - // fall back on the xml settings - else - { - $xmlValue = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($xml,'type="','"')); - } - - // check if the value is set - if (ComponentbuilderHelper::checkString($xmlValue)) - { - // add the value - return $xmlValue; - } - else - { - // fall back to text - return 'text'; - } - } - - protected function setJoomlaVersionData() - { - // set the version data - $versionData = json_decode(file_get_contents($this->templatePath.'/settings.json')); - // add custom folders - if ((isset($this->componentData->folders) && ComponentbuilderHelper::checkArray($this->componentData->folders)) || $this->addEximport || $this->uikit || $this->footable) - { - if ($this->addEximport) - { - // move the import view folder in place - $importView = array( 'folder' => 'importViews', 'path' => 'admin/views/import', 'rename' => 1); - $this->componentData->folders[] = $importView; - // move the PHPExel Folder - $PHPExcel = array( 'folder' => 'PHPExcel', 'path' => 'admin/helpers', 'rename' => 0); - $this->componentData->folders[] = $PHPExcel; - } - if ($this->uikit) - { - // move the UIKIT Folder into place - $uikit = array( 'folder' => 'uikit', 'path' => 'media', 'rename' => 0); - $this->componentData->folders[] = $uikit; - } - if ($this->footable) - { - // move the footable folder into place - $footable = array( 'folder' => 'footable', 'path' => 'media', 'rename' => 0); - $this->componentData->folders[] = $footable; - - } - - // pointer tracker - $pointer_tracker = 'h'; - foreach ($this->componentData->folders as $custom) - { - // fix path - $custom['path'] = rtrim($custom['path'], '/'); - $custom['path'] = ltrim($custom['path'], '/'); - // make sure we use the correct name - $pathArray = (array) explode('/',$custom['path']); - $firstFolder = array_values($pathArray)[0]; - $lastFolder = end($pathArray); - // only rename folder if last has folder name - if ($custom['rename'] == 1) - { - $custom['path'] = str_replace('/'.$lastFolder,'',$custom['path']); - $rename = 'new'; - $newname = $lastFolder; - if(($tkey = array_search($lastFolder, $pathArray)) !== false) - { - unset($pathArray[$tkey]); - } - } - else - { - $lastFolder = $custom['folder']; - $rename = false; - $newname = ''; - } - // check if we sould add it to the media xml list - if (!isset($this->fileContentStatic['###EXSTRA_MEDIA_FOLDERS###'])) - { - $this->fileContentStatic['###EXSTRA_MEDIA_FOLDERS###'] = ''; - } - if (count($pathArray) == 1 && $firstFolder == 'media') - { - $this->fileContentStatic['###EXSTRA_MEDIA_FOLDERS###'] .= "\n\t\t<folder>".$lastFolder."</folder>"; - } - // check if we sould add it to the site xml list - if (!isset($this->fileContentStatic['###EXSTRA_SITE_FOLDERS###'])) - { - $this->fileContentStatic['###EXSTRA_SITE_FOLDERS###'] = ''; - } - if (count($pathArray) == 1 && $firstFolder == 'site') - { - $this->fileContentStatic['###EXSTRA_SITE_FOLDERS###'] .= "\n\t\t<folder>".$lastFolder."</folder>"; - } - // check if we sould add it to the admin xml list - if (!isset($this->fileContentStatic['###EXSTRA_ADMIN_FOLDERS###'])) - { - $this->fileContentStatic['###EXSTRA_ADMIN_FOLDERS###'] = ''; - } - if (count($pathArray) == 1 && $firstFolder == 'admin') - { - $this->fileContentStatic['###EXSTRA_ADMIN_FOLDERS###'] .= "\n\t\t\t<folder>".$lastFolder."</folder>"; - } - // make we have not duplicates - $key_pointer = ComponentbuilderHelper::safeString($custom['folder']).'_f'.$pointer_tracker; - $pointer_tracker++; - // set new folder to object - $versionData->move->static->$key_pointer = new stdClass(); - $versionData->move->static->$key_pointer->naam = $custom['folder']; - $versionData->move->static->$key_pointer->path = 'c0mp0n3nt/'.$custom['path']; - $versionData->move->static->$key_pointer->rename = $rename; - $versionData->move->static->$key_pointer->newName = $newname; - $versionData->move->static->$key_pointer->type = 'folder'; - $versionData->move->static->$key_pointer->custom = true; - } - unset($this->componentData->folders); - unset($custom); - } - // add custom files - if ((isset($this->componentData->files) && ComponentbuilderHelper::checkArray($this->componentData->files)) || $this->addEximport || $this->googlechart) - { - if ($this->addEximport) - { - // move the PHPExel main file - $PHPExcel = array( 'file' => 'PHPExcel.php', 'path' => 'admin/helpers', 'rename' => 0); - $this->componentData->files[] = $PHPExcel; - } - if ($this->googlechart) - { - // move the google chart files - $googleChart = array( 'file' => 'google.jsapi.js', 'path' => 'media/js', 'rename' => 0); - $this->componentData->files[] = $googleChart; - $googleChart = array( 'file' => 'chartbuilder.php', 'path' => 'admin/helpers', 'rename' => 0); - $this->componentData->files[] = $googleChart; - } - - // pointer tracker - $pointer_tracker = 'h'; - foreach ($this->componentData->files as $custom) - { - // make we have not duplicates - $key_pointer = ComponentbuilderHelper::safeString($custom['file']).'_g'.$pointer_tracker; - $pointer_tracker++; - // set new file to object - $versionData->move->static->$key_pointer = new stdClass(); - $versionData->move->static->$key_pointer->naam = $custom['file']; - // get the path info - $pathInfo = pathinfo($custom['path']); - if (isset($pathInfo['extension']) && $pathInfo['extension']) - { - $pathInfo['dirname'] = rtrim($pathInfo['dirname'], '/'); - $pathInfo['dirname'] = ltrim($pathInfo['dirname'], '/'); - $versionData->move->static->$key_pointer->path = 'c0mp0n3nt/'.$pathInfo['dirname']; - $versionData->move->static->$key_pointer->rename = 'new'; - $versionData->move->static->$key_pointer->newName = $pathInfo['basename']; - // set the name - $name = $pathInfo['basename']; - } - else - { - $custom['path'] = rtrim($custom['path'], '/'); - $custom['path'] = ltrim($custom['path'], '/'); - $versionData->move->static->$key_pointer->path = 'c0mp0n3nt/'.$custom['path']; - $versionData->move->static->$key_pointer->rename = false; - // set the name - $name = $custom['file']; - } - // check if file should be updated - if (isset($custom['notnew']) && $custom['notnew'] == 0) - { - $this->notNew[] = $key_pointer; - } - $versionData->move->static->$key_pointer->type = 'file'; - $versionData->move->static->$key_pointer->custom = true; - } - unset($this->componentData->files); - unset($custom); - } - return $versionData; - } - - protected function dynamique() - { - $back = false; - $front = false; - if ((isset($this->joomlaVersionData->move->dynamic) && ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->dynamic)) && (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views))) - { - // setup dashboard - $target = array('admin' => $this->componentData->name_code); - $this->buildDynamique($target,'dashboard'); - // now the rest of the views - foreach ($this->componentData->admin_views as $nr => $view) - { - if (ComponentbuilderHelper::checkObject($view['settings'])) - { - if ($view['settings']->name_list != 'null') - { - $target = array('admin' => $view['settings']->name_list); - $this->buildDynamique($target,'list'); - } - if ($view['settings']->name_single != 'null') - { - $target = array('admin' => $view['settings']->name_single); - $this->buildDynamique($target,'single'); - } - if($view['edit_create_site_view']) - { - // setup the front site edit-view files - $target = array('site' => $view['settings']->name_single); - $this->buildDynamique($target,'edit'); - } - } - // quick set of checkin once - if ($view['checkin'] == 1 && !$this->addCheckin) - { - // swtich to add checking to config - $this->addCheckin = true; - } - } - $back = true; - } - if ((isset($this->joomlaVersionData->move->dynamic) && ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->dynamic)) && (isset($this->componentData->site_views) && ComponentbuilderHelper::checkArray($this->componentData->site_views))) - { - - foreach ($this->componentData->site_views as $nr => $view) - { - if ($view['settings']->main_get->gettype == 2) - { - // set list view - $target = array('site' => $view['settings']->code); - $this->buildDynamique($target,'list'); - } - elseif ($view['settings']->main_get->gettype == 1) - { - // set single view - $target = array('site' => $view['settings']->code); - $this->buildDynamique($target,'single'); - } - } - $front = true; - } - if ((isset($this->joomlaVersionData->move->dynamic) && ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->dynamic)) && (isset($this->componentData->custom_admin_views) && ComponentbuilderHelper::checkArray($this->componentData->custom_admin_views))) - { - foreach ($this->componentData->custom_admin_views as $nr => $view) - { - if ($view['settings']->main_get->gettype == 2) - { - // set list view - $target = array('custom_admin' => $view['settings']->code); - $this->buildDynamique($target,'list'); - } - elseif ($view['settings']->main_get->gettype == 1) - { - // set single view - $target = array('custom_admin' => $view['settings']->code); - $this->buildDynamique($target,'single'); - } - } - $back = true; - } - // chekc if we had success - if ($back || $front) - { - return true; - } - return false; - } - - protected function buildDynamique($target,$type,$fileName = false) - { - if (ComponentbuilderHelper::checkArray($target)) - { - foreach ($target as $main => $name) - { - // make sure it is lower case - $name = ComponentbuilderHelper::safeString($name); - // setup the files - foreach ($this->joomlaVersionData->move->dynamic->{$main} as $item => $details) - { - if ($details->type == $type) - { - // set destination path - $path = ''; - if (strpos($details->path,'VIEW') !== false) - { - $path = str_replace('VIEW',$name,$details->path); - } - else - { - $path = $details->path; - } - $zipPath = str_replace('c0mp0n3nt/','', $path); - $path = str_replace('c0mp0n3nt/',$this->componentPath.'/', $path); - - // setup the folder - if (!JFolder::exists($path)) - { - JFolder::create($path); - $this->indexHTML($zipPath); - // count the folder created - $this->folderCount++; - } - // do the file renaming - if ($details->rename) - { - if ($fileName) - { - $new = str_replace($details->rename, $fileName, $item); - $name = $name.'_'.$fileName; - } - elseif ($details->rename == 'new') - { - $new = $details->newName; - } - else - { - $new = str_replace($details->rename, $name, $item); - } - } - else - { - $new = $item; - } - if (!JFile::exists($path.'/'.$new)) - { - // move the file to its place - JFile::copy($this->templatePath.'/'.$item, $path.'/'.$new,'',true); - // count the file created - $this->fileCount++; - } - // store the new files - $this->newFiles['dynamic'][$name][] = array( 'path' => $path.'/'.$new, 'name' => $new , 'view' => $name, 'zip' => $zipPath.'/'.$new); - } - } - } - return true; - } - return false; - } - - protected function setStatic() - { - if (ComponentbuilderHelper::checkObject($this->joomlaVersionData->move->static)) - { - // TODO needs more looking at this must be dynamic actualy - $codeName = ComponentbuilderHelper::safeString($this->componentData->name_code); - $this->notNew[] = 'PHPExcel.php'; - $this->notNew[] = 'LICENSE.txt'; - // do license check - $LICENSE = false; - $licenseChecker = strtolower($this->componentData->license); - if (strpos($licenseChecker,'gnu') !== false && strpos($licenseChecker,'gpl') !== false) - { - $LICENSE = true; - } - // do README check - $README = false; - // add the README file if needed - if ($this->componentData->addreadme) - { - $README = true; - } - // start moving - foreach ($this->joomlaVersionData->move->static as $ftem => $details) - { - // set item - $item = $details->naam; - // do the file renaming - if ($details->rename) - { - if ($details->rename == 'new') - { - $new = $details->newName; - } - else - { - $new = str_replace($details->rename, $codeName, $item); - } - } - else - { - $new = $item; - } - // if not gnu/gpl license dont add the LICENSE.txt file - if ($item == 'LICENSE.txt' && !$LICENSE) - { - continue; - } - // if not needed do not add - if ($item == 'README.md' && !$README) - { - continue; - } - // set destination path - $zipPath = str_replace('c0mp0n3nt/','', $details->path); - $path = str_replace('c0mp0n3nt/',$this->componentPath.'/', $details->path); - // set the template folder path - $templatePath = (isset($details->custom) && $details->custom) ? $this->templatePathCustom : $this->templatePath; - // now mov the file - if ($details->type == 'file') - { - // move the file to its place - JFile::copy($templatePath.'/'.$item, $path.'/'.$new); - // count the file created - $this->fileCount++; - // store the new files - if (!in_array($ftem,$this->notNew)) - { - $this->newFiles['static'][] = array( 'path' => $path.'/'.$new, 'name' => $new, 'zip' => $zipPath.'/'.$new ); - } - } - elseif ($details->type == 'folder') - { - // move the folder to its place - JFolder::copy($templatePath.'/'.$item, $path.'/'.$new); - // count the folder created - $this->folderCount++; - } - } - return true; - } - return false; - } - - protected function getComponentData($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - $query->select('a.*'); - $query->from('#__componentbuilder_component AS a'); - $query->where($db->quoteName('a.id') . ' = '. $db->quote($id)); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects - $component = $db->loadObject(); - // set lang prefix - $this->langPrefix .= ComponentbuilderHelper::safeString($component->name_code,'U'); - // set component code name - $this->componentCodeName = ComponentbuilderHelper::safeString($component->name_code); - // set component sales name - $component->sales_name = ComponentbuilderHelper::safeString($component->system_name); - // ensure version naming is correct - $this->component_version = preg_replace('/[^0-9.]+/', '', $component->component_version); - // ser the addfolders data - $addfolders = json_decode($component->addfolders,true); - if (ComponentbuilderHelper::checkArray($addfolders)) - { - foreach ($addfolders as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->folders[$nr][$option] = $value; - } - } - unset($component->addfolders); - } - // ser the addfiles data - $addfiles = json_decode($component->addfiles,true); - if (ComponentbuilderHelper::checkArray($addfiles)) - { - foreach ($addfiles as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->files[$nr][$option] = $value; - } - } - unset($component->addfiles); - } - // set the uikit switch - if ($component->adduikit) - { - $this->uikit = true; - } - // set the footable switch - if ($component->addfootable) - { - $this->footable = true; - } - - // ser the addcustommenu data - $addcustommenus = json_decode($component->addcustommenus,true); - if (ComponentbuilderHelper::checkArray($addcustommenus)) - { - foreach ($addcustommenus as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->custommenus[$nr][$option] = $value; - } - } - unset($component->addcustommenus); - } - - // tweak the mysql dump settings if needed - $sql_tweak = json_decode($component->sql_tweak,true); - if (ComponentbuilderHelper::checkArray($sql_tweak)) - { - $component->sql_tweak = array(); - foreach ($sql_tweak as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->sql_tweak[$nr][$option] = (int) $value; - } - else - { - $component->sql_tweak[$nr][$option] = $value; - } - } - } - // build the tweak settings - $this->setSqlTweaking($component->sql_tweak); - unset($component->sql_tweak); - } - - // set the admin_view data - $admin_views = json_decode($component->addadmin_views,true); - if (ComponentbuilderHelper::checkArray($admin_views)) - { - foreach ($admin_views as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->admin_views[$nr][$option] = (int) $value; - } - else - { - $component->admin_views[$nr][$option] = $value; - } - } - } - unset($component->addadmin_views); - // sort the views acording to order - usort($component->admin_views, function($a, $b) - { - if ($a['order'] != 0 && $b['order'] != 0) - { - return $a['order'] - $b['order']; - } - elseif ($b['order'] != 0 && $a['order'] == 0) - { - return 1; - } - elseif ($a['order'] != 0 && $b['order'] == 0) - { - return 0; - } - return 1; - }); - // load the view and field data - foreach ($component->admin_views as $key => &$view) - { - if ($view['port'] && !$this->addEximport) - { - $this->addEximport = true; - } - if ($view['history'] && !$this->setTagHistory) - { - $this->setTagHistory = true; - } - if ($view['edit_create_site_view']) - { - $this->siteEditView[$view['adminview']] = true; - } - // TODO this is a temp fix until front view is added - $view['view'] = $view['adminview']; - $view['settings'] = $this->getAdminViewData($view['view']); - } - unset($component->addadmin_view); - } - - // set the site_view data - $site_views = json_decode($component->addsite_views,true); - if (ComponentbuilderHelper::checkArray($site_views)) - { - foreach ($site_views as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->site_views[$nr][$option] = (int) $value; - } - else - { - $component->site_views[$nr][$option] = $value; - } - } - } - unset($component->addsite_views); - $this->lang = 'site'; - $this->target = 'site'; - // load the view and field data - foreach ($component->site_views as $key => &$view) - { - // TODO this is a temp fix until front view is added - $view['view'] = $view['siteview']; - $view['settings'] = $this->getCustomViewData($view['view']); - } - } - - // set the custom_admin_views data - $custom_admin_views = json_decode($component->addcustom_admin_views,true); - if (ComponentbuilderHelper::checkArray($custom_admin_views)) - { - foreach ($custom_admin_views as $option => $values) - { - foreach ($values as $nr => $value) - { - if ((string)(int)$value == $value) - { - $component->custom_admin_views[$nr][$option] = (int) $value; - } - else - { - $component->custom_admin_views[$nr][$option] = $value; - } - } - } - unset($component->addcustom_admin_views); - $this->lang = 'admin'; - $this->target = 'custom_admin'; - // load the view and field data - foreach ($component->custom_admin_views as $key => &$view) - { - // TODO this is a temp fix until front view is added - $view['view'] = $view['customadminview']; - $view['settings'] = $this->getCustomViewData($view['view'], 'custom_admin_view'); - } - } - - // ser the config data - $addconfig = json_decode($component->addconfig,true); - if (ComponentbuilderHelper::checkArray($addconfig)) - { - foreach ($addconfig as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->config[$nr]['alias'] = 0; - $component->config[$nr]['title'] = 0; - if ($option == 'field') - { - // load the field data - $component->config[$nr]['settings'] = $this->getFieldData($value); - } - else - { - $component->config[$nr][$option] = $value; - } - } - } - unset($component->addconfig); - } - - // check if any contributors is to be added - $contributors = json_decode($component->addcontributors,true); - if (ComponentbuilderHelper::checkArray($contributors)) - { - $this->addContributors = true; - foreach ($contributors as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->contributors[$nr][$option] = $value; - } - } - unset($component->addcontributors); - } - - // check if version updating is set - $version_update = json_decode($component->version_update,true); - if (ComponentbuilderHelper::checkArray($version_update)) - { - $component->version_update = array(); - foreach ($version_update as $option => $values) - { - foreach ($values as $nr => $value) - { - $component->version_update[$nr][$option] = $value; - } - } - } - - // add_css - if ($component->add_css == 1) - { - $this->customScriptBuilder['component_css'] = base64_decode($component->css); - unset($component->css); - } - else - { - $this->customScriptBuilder['component_css'] = ''; - } - // add_php_helper - if ($component->add_php_helper_admin == 1) - { - $this->lang = 'admin'; - $this->customScriptBuilder['component_php_helper_admin'] = "\n\n".$this->setCustomContentLang(base64_decode($component->php_helper_admin)); - unset($component->php_helper); - } - else - { - $this->customScriptBuilder['component_php_helper_admin'] = ''; - } - // add_admin_event - if ($component->add_admin_event == 1) - { - $this->lang = 'admin'; - $this->customScriptBuilder['component_php_admin_event'] = $this->setCustomContentLang(base64_decode($component->php_admin_event)); - unset($component->php_admin_event); - } - else - { - $this->customScriptBuilder['component_php_admin_event'] = ''; - } - // add_php_helper_site - if ($component->add_php_helper_site == 1) - { - $this->lang = 'site'; - $this->customScriptBuilder['component_php_helper_site'] = "\n\n".$this->setCustomContentLang(base64_decode($component->php_helper_site)); - unset($component->php_helper); - } - else - { - $this->customScriptBuilder['component_php_helper_site'] = ''; - } - // add_site_event - if ($component->add_site_event == 1) - { - $this->lang = 'site'; - $this->customScriptBuilder['component_php_site_event'] = $this->setCustomContentLang(base64_decode($component->php_site_event)); - unset($component->php_site_event); - } - else - { - $this->customScriptBuilder['component_php_site_event'] = ''; - } - // add_sql - if ($component->add_sql == 1) - { - $this->customScriptBuilder['sql']['component_sql'] = base64_decode($component->sql); - unset($component->sql); - } - // bom - if (ComponentbuilderHelper::checkString($component->bom)) - { - $this->bomPath = $this->compilerPath.'/'.$component->bom; - unset($component->bom); - } - else - { - $this->bomPath = $this->compilerPath.'/default.txt'; - } - // README - if ($component->addreadme) - { - $component->readme = base64_decode($component->readme); - } - else - { - $component->readme = ''; - } - - // dashboard methods - if ($component->add_php_dashboard_methods) - { - // load the php for the dashboard model - $component->php_dashboard_methods = base64_decode($component->php_dashboard_methods); - // check if dashboard_tab is set - $dashboard_tab = json_decode($component->dashboard_tab,true); - if (ComponentbuilderHelper::checkArray($dashboard_tab)) - { - $component->dashboard_tab = array(); - $nowLang = $this->lang; - $this->lang = 'admin'; - foreach ($dashboard_tab as $option => $values) - { - foreach ($values as $nr => $value) - { - if ('html' == $option) - { - $value = $this->setCustomContentLang($value); - } - $component->dashboard_tab[$nr][$option] = $value; - } - } - $this->lang = $nowLang; - } - else - { - $component->dashboard_tab = ''; - } - } - else - { - $component->php_dashboard_methods = ''; - $component->dashboard_tab = ''; - } - - // return the found component data - return $component; - } - - protected function setSqlTweaking($settings) - { - if (ComponentbuilderHelper::checkArray($settings)) - { - foreach($settings as $setting) - { - // should sql dump be added - if (1 == $setting['add_sql']) - { - // add sql (by option) - if (2 == $setting['add_sql_options']) - { - // rest always - $id_array = array(); - // by id (first remove backups) - $ids = $setting['ids']; - // now get the ids - if (strpos($ids, ',') !== false) - { - $id_array = (array) array_map('trim',explode(',', $ids)); - } - else - { - $id_array[] = trim($ids); - } - $id_array_new = array(); - // check for ranges - foreach ($id_array as $key => $id) - { - if (strpos($id, '=>') !== false) - { - $id_range = (array) array_map('trim', explode('=>', $id)); - unset($id_array[$key]); - // build range - if (count($id_range) == 2) - { - $range = range($id_range[0],$id_range[1]); - $id_array_new = array_merge($id_array_new,$range); - } - } - } - if (ComponentbuilderHelper::checkArray($id_array_new)) - { - $id_array = array_merge($id_array_new, $id_array); - } - // final fixing to array - if (ComponentbuilderHelper::checkArray($id_array)) - { - // uniqe - $id_array = array_unique($id_array, SORT_NUMERIC); - // sort - sort($id_array, SORT_NUMERIC); - // now set it to global - $this->sqlTweak[ (int) $setting['adminview']]['where'] = implode(',', $id_array); - } - } - } - else - { - // remove all sql dump options - $this->sqlTweak[ (int) $setting['adminview']]['remove'] = true; - - } - } - } - } - - protected function getAdminViewData($id) - { - if (!isset($this->_adminViewData[$id])) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - $query->select('a.*'); - $query->from('#__componentbuilder_admin_view AS a'); - $query->where($db->quoteName('a.id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects (see later for more options on retrieving data). - $view = $db->loadObject(); - // reset fields - $view->fields = array(); - // setup view name to use in storing the data - $name_single = ComponentbuilderHelper::safeString($view->name_single); - $name_list = ComponentbuilderHelper::safeString($view->name_list); - // setup token check - $this->customScriptBuilder['token'][$name_single] = false; - $this->customScriptBuilder['token'][$name_list] = false; - // load the values form params - $permissions = json_decode($view->addpermissions,true); - unset($view->addpermissions); - $tabs = json_decode($view->addtabs,true); - unset($view->addtabs); - $fields = json_decode($view->addfields,true); - unset($view->addfields); - $conditions = json_decode($view->addconditions,true); - unset($view->addconditions); - $linked_views = json_decode($view->addlinked_views,true); - unset($view->addlinked_views); - $tables = json_decode($view->addtables,true); - unset($view->addtables); - // sort the values - if (ComponentbuilderHelper::checkArray($tables)) - { - foreach ($tables as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->tables[$nr][$option] = $value; - } - } - } - if (ComponentbuilderHelper::checkArray($tabs)) - { - foreach ($tabs as $option => $values) - { - foreach ($values as $nr => $value) - { - $fix = $nr+1; - $view->tabs[$fix] = $value; - } - } - } - if (ComponentbuilderHelper::checkArray($permissions)) - { - foreach ($permissions as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->permissions[$nr][$option] = $value; - } - } - } - if (ComponentbuilderHelper::checkArray($fields)) - { - foreach ($fields as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->fields[$nr][$option] = (int) $value; - } - } - // sort the fields acording to order - usort($view->fields, function($a, $b) - { - if ($a['order_list'] != 0 && $b['order_list'] != 0) - { - return $a['order_list'] - $b['order_list']; - } - elseif ($b['order_list'] != 0 && $a['order_list'] == 0) - { - return 1; - } - elseif ($a['order_list'] != 0 && $b['order_list'] == 0) - { - return 0; - } - return 1; - }); - // load the field data - foreach ($view->fields as $key => &$field) - { - $field['settings'] = $this->getFieldData($field['field'],$name_single,$name_list); - } - } - if (ComponentbuilderHelper::checkArray($conditions)) - { - foreach ($conditions as $condition => $conditionValues) - { - foreach ($conditionValues as $nr => $conditionValue) - { - if ($condition == 'target_field') - { - if (ComponentbuilderHelper::checkArray($conditionValue) && ComponentbuilderHelper::checkArray($view->fields)) - { - foreach ($conditionValue as $fieldKey => $fieldId) - { - foreach ($view->fields as $fieldValues) - { - if ((int) $fieldValues['field'] == (int) $fieldId) - { - // load the field details - $required = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'required="','"'); - $required = ($required == true) ? 'yes' : 'no'; - $filter = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'filter="','"'); - $filter = ComponentbuilderHelper::checkString($filter) ? $filter : 'none'; - // get name - $name = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'name="','"'); - $name = ComponentbuilderHelper::checkString($name) ? $name : $fieldValues['settings']->name; - // get type - $type = ComponentbuilderHelper::getBetween($fieldValues['settings']->xml,'type="','"'); - $type = ComponentbuilderHelper::checkString($type) ? $type : $fieldValues['settings']->type_name; - // set the field name - $conditionValue[$fieldKey] = array( - 'name' => ComponentbuilderHelper::safeString($name), - 'type' => ComponentbuilderHelper::safeString($type), - 'required' => $required, - 'filter' => $filter - ); - break; - } - } - } - } - } - if ($condition == 'match_field') - { - foreach ($view->fields as $fieldValue) - { - if ((int) $fieldValue['field'] == (int) $conditionValue) - { - // get name - $name = ComponentbuilderHelper::getBetween($fieldValue['settings']->xml,'name="','"'); - $name = ComponentbuilderHelper::checkString($name) ? $name : $fieldValue['settings']->name; - // get type - $type = ComponentbuilderHelper::getBetween($fieldValue['settings']->xml,'type="','"'); - $type = ComponentbuilderHelper::checkString($type) ? $type : $fieldValue['settings']->type_name; - // set the field details - $view->conditions[$nr]['match_name'] = ComponentbuilderHelper::safeString($name); - $view->conditions[$nr]['match_type'] = ComponentbuilderHelper::safeString($type); - $view->conditions[$nr]['match_xml'] = $fieldValue['settings']->xml; - break; - } - } - } - // set condition values - $view->conditions[$nr][$condition] = $conditionValue; - } - } - } - // set linked views - $linked_views_sorted = null; - if (ComponentbuilderHelper::checkArray($linked_views)) - { - $linked_views_sorted = array(); - foreach ($linked_views as $option => $values) - { - foreach ($values as $nr => $value) - { - $linked_views_sorted[$nr][$option] = $value; - } - } - } - unset($linked_views); - // setup linked views to global data sets - $this->linkedAdminViews[$name_single] = $linked_views_sorted; - unset($linked_views_sorted); - // add_javascript_view_file - if ($view->add_javascript_view_file == 1) - { - $view->javascript_view_file = base64_decode($view->javascript_view_file); - $this->customScriptBuilder['view_file'][$name_single] = $view->javascript_view_file; - if (strpos($view->javascript_view_file,"token") !== false && strpos($view->javascript_view_file,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_single]) - { - $this->customScriptBuilder['token'][$name_single] = true; - } - } - unset($view->javascript_view_file); - } - // add_javascript_view_footer - if ($view->add_javascript_view_footer == 1) - { - $view->javascript_view_footer = base64_decode($view->javascript_view_footer); - if (!isset($this->customScriptBuilder['view_footer'][$name_single])) - { - $this->customScriptBuilder['view_footer'][$name_single] = ''; - } - $this->customScriptBuilder['view_footer'][$name_single] .= $view->javascript_view_footer; - if (strpos($view->javascript_view_footer,"token") !== false && strpos($view->javascript_view_footer,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_single]) - { - $this->customScriptBuilder['token'][$name_single] = true; - } - } - unset($view->javascript_view_footer); - } - // add_javascript_view_file - if ($view->add_javascript_views_file == 1) - { - $view->javascript_views_file = base64_decode($view->javascript_views_file); - $this->customScriptBuilder['views_file'][$name_list] = $view->javascript_views_file; - if (strpos($view->javascript_views_file,"token") !== false && strpos($view->javascript_views_file,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_list]) - { - $this->customScriptBuilder['token'][$name_list] = true; - } - } - unset($view->javascript_views_file); - } - // add_javascript_views_footer - if ($view->add_javascript_views_footer == 1) - { - $view->javascript_views_footer = base64_decode($view->javascript_views_footer); - $this->customScriptBuilder['views_footer'][$name_list] .= $view->javascript_views_footer; - if (strpos($view->javascript_views_footer,"token") !== false && strpos($view->javascript_views_footer,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_list]) - { - $this->customScriptBuilder['token'][$name_list] = true; - } - } - unset($view->javascript_views_footer); - } - // add_css_view - if ($view->add_css_view == 1) - { - $this->customScriptBuilder['css_view'][$name_single] .= base64_decode($view->css_view); - unset($view->css_view); - } - // add_css_views - if ($view->add_css_views == 1) - { - $this->customScriptBuilder['css_views'][$name_list] .= base64_decode($view->css_views); - unset($view->css_views); - } - - $this->lang = 'admin'; - $addArray = array('php_getitem','php_save','php_postsavehook','php_getitems','php_getlistquery','php_allowedit','php_before_delete','php_after_delete','php_batchcopy','php_batchmove'); - foreach ($addArray as $scripter) - { - if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1) - { - $this->customScriptBuilder[$scripter][$name_single] = $this->setCustomContentLang(base64_decode($view->$scripter)); - unset($view->$scripter); - } - } - - // add_Ajax for this view - if ($view->add_php_ajax == 1) - { - $addAjaxSite = false; - if (isset($this->siteEditView[$id]) && $this->siteEditView[$id]) - { - // we should add this site ajax to fron ajax - $addAjaxSite = true; - if (!isset($this->addSiteAjax) || !$this->addSiteAjax) - { - $this->addSiteAjax = true; - } - } - // check if controller input as been set - $ajax_input = json_decode($view->ajax_input,true); - if (ComponentbuilderHelper::checkArray($ajax_input)) - { - foreach ($ajax_input as $option => $values) - { - foreach ($values as $nr => $value) - { - if ($addAjaxSite) - { - $this->customScriptBuilder['site']['ajax_controller'][$name_single][$nr][$option] = $value; - } - $this->customScriptBuilder['admin']['ajax_controller'][$name_single][$nr][$option] = $value; - } - } - if ($addAjaxSite) - { - $this->customScriptBuilder['site']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod)); - } - $this->customScriptBuilder['admin']['ajax_model'][$name_single] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod)); - $this->addAjax = true; - unset($view->ajax_input); - } - // unset anyway - unset($view->php_ajaxmethod); - } - // add_sql - if ($view->add_sql == 1) - { - if ($view->source == 1) - { - // build and add the SQL dump - $this->customScriptBuilder['sql'][$name_single] = $this->buildSqlDump($view->tables,$name_single, $id); - unset($view->tables); - } - elseif ($view->source == 2) - { - // add the SQL dump string - $this->customScriptBuilder['sql'][$name_single] = base64_decode($view->sql); - unset($view->sql); - } - } - $this->_adminViewData[$id] = $view; - } - // return the found view data - return $this->_adminViewData[$id]; - } - - protected function uniqueCode($code) - { - if (!isset($this->codes[$this->target]) || !in_array($code,$this->codes[$this->target])) - { - $this->codes[$this->target][] = $code; - return $code; - } - // make sure it is unique - return $this->uniqueCode($code.ComponentbuilderHelper::randomkey(1)); - } - - protected function getCustomViewData($id, $table = 'site_view') - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - $query->select('a.*'); - $query->from('#__componentbuilder_'.$table.' AS a'); - $query->where($db->quoteName('a.id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects (see later for more options on retrieving data). - $view = $db->loadObject(); - if ($table == 'site_view') - { - $this->lang = 'site'; - } - else - { - $this->lang = 'admin'; - } - // set the default data - $view->default = base64_decode($view->default); - $view->default = $this->setCustomContentLang($view->default); - // fix alias to use in code - $view->code = $this->uniqueCode(ComponentbuilderHelper::safeString($view->alias)); - $view->Code = ComponentbuilderHelper::safeString($view->code, 'F'); - $view->CODE = ComponentbuilderHelper::safeString($view->code, 'U'); - // insure the uikit components are loaded - if (!isset($this->uikitComp[$view->code])) - { - $this->uikitComp[$view->code] = array(); - } - $this->uikitComp[$view->code] = ComponentbuilderHelper::getUikitComp($view->default,$this->uikitComp[$view->code]); - // check for footable - if (!isset($this->footableScripts[$this->target][$view->code]) || !$this->footableScripts[$this->target][$view->code]) - { - $foundFoo = $this->getFootableScripts($view->default); - if ($foundFoo) - { - $this->footableScripts[$this->target][$view->code] = true; - } - if ($foundFoo && !$this->footableScripts) - { - $this->footable = true; - } - } - // check for get module - if (!isset($this->getModule[$this->target][$view->code]) || !$this->getModule[$this->target][$view->code]) - { - $found = $this->getGetModule($view->default); - if ($found) - { - $this->getModule[$this->target][$view->code] = true; - } - } - // setup template array - $this->templateData[$this->target][$view->code] = array(); - // setup template and layout data - $this->setTemplateAndLayoutData($view->default,$view->code); - // set the main get data - $main_get = $this->setGetData(array($view->main_get),$view->code); - $view->main_get = $main_get[0]; - // set the custom_get data - $view->custom_get = $this->setGetData(json_decode($view->custom_get,true),$view->code); - // set array adding array of scripts - $addArray = array('php_view','php_jview','php_jview_display','php_document','js_document','css_document','css'); - foreach ($addArray as $scripter) - { - if (isset($view->{'add_'.$scripter}) && $view->{'add_'.$scripter} == 1) - { - $view->$scripter = base64_decode($view->$scripter); - $view->$scripter = $this->setCustomContentLang($view->$scripter); - // set uikit to views - $this->uikitComp[$view->code] = ComponentbuilderHelper::getUikitComp($view->$scripter,$this->uikitComp[$view->code]); - - $this->setTemplateAndLayoutData($view->$scripter,$view->code); - - // check for footable - if (!isset($this->footableScripts[$this->target][$view->code]) || !$this->footableScripts[$this->target][$view->code]) - { - $foundFoo = $this->getFootableScripts($view->$scripter); - if ($foundFoo) - { - $this->footableScripts[$this->target][$view->code] = true; - } - if ($foundFoo && !$this->footable) - { - $this->footable = true; - } - } - // check for google chart - if (!isset($this->googleChart[$this->target][$view->code]) || !$this->googleChart[$this->target][$view->code]) - { - $found = $this->getGoogleChart($view->$scripter); - if ($found) - { - $this->googleChart[$this->target][$view->code] = true; - } - if ($found && !$this->googlechart) - { - $this->googlechart = true; - } - } - // check for get module - if (!isset($this->getModule[$this->target][$view->code]) || !$this->getModule[$this->target][$view->code]) - { - $found = $this->getGetModule($view->$scripter); - if ($found) - { - $this->getModule[$this->target][$view->code] = true; - } - } - } - } - // add_Ajax for this view - if (isset($view->add_php_ajax) && $view->add_php_ajax == 1) - { - // check if controller input as been set - $ajax_input = json_decode($view->ajax_input,true); - if (ComponentbuilderHelper::checkArray($ajax_input)) - { - foreach ($ajax_input as $option => $values) - { - foreach ($values as $nr => $value) - { - $this->customScriptBuilder[$this->target]['ajax_controller'][$view->code][$nr][$option] = $value; - } - } - $this->customScriptBuilder[$this->target]['ajax_model'][$view->code] = $this->setCustomContentLang(base64_decode($view->php_ajaxmethod)); - $this->addSiteAjax = true; - unset($view->ajax_input); - } - // unset anyway - unset($view->php_ajaxmethod); - } - // add the custom buttons - if (isset($view->add_custom_button) && $view->add_custom_button == 1) - { - if (ComponentbuilderHelper::checkString($view->php_model)) - { - $view->php_model = base64_decode($view->php_model); - $view->php_model = $this->setCustomContentLang($view->php_model); - } - $view->php_controller = base64_decode($view->php_controller); - $view->php_controller = $this->setCustomContentLang($view->php_controller); - // set the button array - $buttons = json_decode($view->custom_button,true); - unset($view->custom_button); - // sort the values - if (ComponentbuilderHelper::checkArray($buttons)) - { - foreach ($buttons as $option => $values) - { - foreach ($values as $nr => $value) - { - $view->custom_buttons[$nr][$option] = $value; - } - } - } - } - // return the found view data - return $view; - } - - protected function setCustomContentLang($content) - { - // set language data - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, "JText::_('","')"); - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, 'JText::_("','")'); - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, "JText::sprintf('","'"); - $langCheck[] = ComponentbuilderHelper::getAllBetween($content, 'JText::sprintf("','"'); - $langHolders = array(); - $lang = array(); - foreach ($langCheck as $langChecked) - { - if (ComponentbuilderHelper::checkArray($langChecked)) - { - $lang = array_merge($lang,$langChecked); - } - } - if (ComponentbuilderHelper::checkArray($lang)) - { - foreach ($lang as $string) - { - if (ComponentbuilderHelper::safeString($string,'U') == $string) - { - continue; - } - // only load if string is not already set - $keyLang = $this->langPrefix.'_'.ComponentbuilderHelper::safeString($string,'U'); - $this->langContent[$this->lang][$keyLang] = trim($string); - $langHolders["JText::_('".$string."')"] = "JText::_('".$keyLang."')"; - $langHolders['JText::_("'.$string.'")'] = 'JText::_("'.$keyLang.'")'; - $langHolders["JText::sprintf('".$string."',"] = "JText::sprintf('".$keyLang."',"; - $langHolders['JText::sprintf("'.$string.'",'] = 'JText::sprintf("'.$keyLang.'",'; - } - $content = str_replace(array_keys($langHolders),array_values($langHolders),$content); - } - return $content; - } - - protected function setTemplateAndLayoutData($default,$view) - { - // set the Tempale date - $temp1 = ComponentbuilderHelper::getAllBetween($default, "\$this->loadTemplate('","')"); - $temp2 = ComponentbuilderHelper::getAllBetween($default, '$this->loadTemplate("','")'); - $templates = array(); - $again = array(); - if (ComponentbuilderHelper::checkArray($temp1) && ComponentbuilderHelper::checkArray($temp2)) - { - $templates = array_merge($temp1,$temp2); - } - else - { - if (ComponentbuilderHelper::checkArray($temp1)) - { - $templates = $temp1; - } - elseif (ComponentbuilderHelper::checkArray($temp2)) - { - $templates = $temp2; - } - } - if (ComponentbuilderHelper::checkArray($templates)) - { - foreach ($templates as $template) - { - if (!isset($this->templateData[$this->target][$view]) || !array_key_exists($template,$this->templateData[$this->target][$view])) - { - $data = $this->getDataWithAlias($template,'template',$view); - if (ComponentbuilderHelper::checkArray($data)) - { - $this->templateData[$this->target][$view][$template] = $data; - // call self to get child data - $again[] = array($data['html'],$view); - $again[] = array($data['php_view'],$view); - } - } - } - } - // set the layout data - $lay1 = ComponentbuilderHelper::getAllBetween($default, "JLayoutHelper::render('","',"); - $lay2 = ComponentbuilderHelper::getAllBetween($default, 'JLayoutHelper::render("','",');; - if (ComponentbuilderHelper::checkArray($lay1) && ComponentbuilderHelper::checkArray($lay2)) - { - $layouts = array_merge($lay1,$lay2); - } - else - { - if (ComponentbuilderHelper::checkArray($lay1)) - { - $layouts = $lay1; - } - elseif (ComponentbuilderHelper::checkArray($lay2)) - { - $layouts = $lay2; - } - } - if (isset($layouts) && ComponentbuilderHelper::checkArray($layouts)) - { - foreach ($layouts as $layout) - { - if (!isset($this->layoutData[$this->target]) || !ComponentbuilderHelper::checkArray($this->layoutData[$this->target]) || !array_key_exists($layout,$this->layoutData[$this->target])) - { - $data = $this->getDataWithAlias($layout,'layout',$view); - if (ComponentbuilderHelper::checkArray($data)) - { - $this->layoutData[$this->target][$layout] = $data; - // call self to get child data - $again[] = array($data['html'],$view); - $again[] = array($data['php_view'],$view); - } - } - } - } - if (ComponentbuilderHelper::checkArray($again)) - { - foreach ($again as $go) - { - $this->setTemplateAndLayoutData($go[0],$go[1]); - } - } - } - - protected function getDataWithAlias($n_ame,$table,$view) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - $query->select('a.*'); - $query->from('#__componentbuilder_'.$table.' AS a'); - $db->setQuery($query); - $rows = $db->loadObjectList(); - foreach ($rows as $row) - { - $k_ey = ComponentbuilderHelper::safeString($row->alias); - $key = preg_replace("/[^A-Za-z]/", '', $k_ey); - $name = preg_replace("/[^A-Za-z]/", '', $n_ame); - if ($k_ey == $n_ame || $key == $name) - { - $php_view = ''; - if ($row->add_php_view == 1) - { - $php_view = base64_decode($row->php_view); - $php_view = $this->setCustomContentLang($php_view); - } - $contnent = base64_decode($row->{$table}); - $contnent = $this->setCustomContentLang($contnent); - // set uikit to views - $this->uikitComp[$view] = ComponentbuilderHelper::getUikitComp($contnent,$this->uikitComp[$view]); - // set footable to views and turn it on - if (!isset($this->footableScripts[$this->target][$view]) || !$this->footableScripts[$this->target][$view]) - { - $foundFoo = $this->getFootableScripts($contnent); - if ($foundFoo) - { - $this->footableScripts[$this->target][$view] = true; - } - if ($foundFoo && !$this->footable) - { - $this->footable = true; - } - } - // set google charts to views and turn it on - if (!isset($this->googleChart[$this->target][$view]) || !$this->googleChart[$this->target][$view]) - { - $foundA = $this->getGoogleChart($php_view); - $foundB = $this->getGoogleChart($contnent); - if ($foundA || $foundB) - { - $this->googleChart[$this->target][$view] = true; - } - if ($foundA || $foundB && !$this->googlechart) - { - $this->googlechart = true; - } - } - // check for get module - if (!isset($this->getModule[$this->target][$view]) || !$this->getModule[$this->target][$view]) - { - $foundA = $this->getGetModule($php_view); - $foundB = $this->getGetModule($contnent); - if ($foundA || $foundB) - { - $this->getModule[$this->target][$view] = true; - } - } - return array('id' => $row->id, 'html' => $contnent, 'php_view' => $php_view); - } - } - return false; - } - - /** - * Get Google Chart class name - **/ - protected function getFootableScripts($content) - { - if (strpos($content,'footable') !== false) - { - return true; - } - return false; - } - - /** - * Ge Get Module class name - **/ - protected function getGetModule($content) - { - if (strpos($content,'this->getModules(') !== false) - { - return true; - } - return false; - } - - /** - * Get Google Chart class name - **/ - protected function getGoogleChart($content) - { - if (strpos($content,'Chartbuilder(') !== false) - { - return true; - } - return false; - } - - protected function setGetData($ids,$view_code) - { - if (ComponentbuilderHelper::checkArray($ids)) - { - $ids = implode(',', $ids); - if (ComponentbuilderHelper::checkString($ids)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - $query->select('a.*'); - $query->from('#__componentbuilder_dynamic_get AS a'); - $query->where('a.id IN (' . $ids . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $results = $db->loadObjectList(); - $typeArray = array(1 => 'LEFT', 2 => 'LEFT OUTER', 3 => 'INNER', 4 => 'RIGHT', 5 => 'RIGHT OUTER'); - $operatorArray = array(1 => '=', 2 => '!=', 3 => '<>', 4 => '>', 5 => '<', 6 => '>=', 7 => '<=', 8 => '!<', 9 => '!>', 10 => 'IN', 11 => 'NOT IN'); - foreach ($results as $nr => &$result) - { - // add calculations if set - if($result->addcalculation == 1) - { - $result->php_calculation = base64_decode($result->php_calculation); - } - // add php custom scripting (php_before_getitem) - if($result->add_php_before_getitem == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_before_getitem'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_before_getitem'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_before_getitem'][$view_code] .= "\n\n".base64_decode($result->php_before_getitem); - unset($result->php_before_getitem); - } - // add php custom scripting (php_after_getitem) - if($result->add_php_after_getitem == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_after_getitem'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_after_getitem'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_after_getitem'][$view_code] .= "\n\n".base64_decode($result->php_after_getitem); - unset($result->php_after_getitem); - } - // add php custom scripting (php_before_getitems) - if($result->add_php_before_getitems == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_before_getitems'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_before_getitems'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_before_getitems'][$view_code] .= "\n\n".base64_decode($result->php_before_getitems); - unset($result->php_before_getitems); - } - // add php custom scripting (php_after_getitems) - if($result->add_php_after_getitems == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_after_getitems'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_after_getitems'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_after_getitems'][$view_code] .= "\n\n".base64_decode($result->php_after_getitems); - unset($result->php_after_getitems); - } - // add php custom scripting (php_getlistquery) - if($result->add_php_getlistquery == 1) - { - if (!isset($this->customScriptBuilder[$this->target.'_php_getlistquery'][$view_code])) - { - $this->customScriptBuilder[$this->target.'_php_getlistquery'][$view_code] = ''; - } - $this->customScriptBuilder[$this->target.'_php_getlistquery'][$view_code] .= "\n\n".base64_decode($result->php_getlistquery); - unset($result->php_getlistquery); - } - // set the getmethod code name - $result->key = ComponentbuilderHelper::safeString($view_code. ' ' .$result->name . ' ' .$result->id); - // reset buckets - $result->main_get = array(); - $result->custom_get = array(); - // set source data - switch ($result->main_source) - { - case 1: - // set the view data - $result->main_get[0]['selection'] = $this->setDataSelection($result->key,$view_code,$result->view_selection,$result->view_table_main,'a','','view'); - $result->main_get[0]['as'] = 'a'; - $result->main_get[0]['key'] = $result->key; - unset($result->view_selection); - break; - case 2: - // set the database data - $result->main_get[0]['selection'] = $this->setDataSelection($result->key,$view_code,$result->db_selection,$result->db_table_main,'a','','db'); - $result->main_get[0]['as'] = 'a'; - $result->main_get[0]['key'] = $result->key; - unset($result->db_selection); - break; - case 3: - // set custom script - $result->main_get[0]['selection'] = array( - 'select' => base64_decode($result->php_custom_get), - 'from' => '', 'table' => '', 'type' => ''); - break; - } - // set join_view_table details - $join_view_table = json_decode($result->join_view_table,true); - unset($result->join_view_table); - $result->join_view_table = array(); - if (ComponentbuilderHelper::checkArray($join_view_table)) - { - foreach ($join_view_table as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'selection') - { - $on_field_as = ''; - $on_field = ''; - list($on_field_as,$on_field) = array_map('trim', explode('.',$result->join_view_table[$nr]['on_field'])); - $join_field_as = ''; - $join_field = ''; - list($join_field_as,$join_field) = array_map('trim', explode('.',$result->join_view_table[$nr]['join_field'])); - $result->join_view_table[$nr][$option] = - $this->setDataSelection($result->key,$view_code,$value,$result->join_view_table[$nr]['view_table'],$result->join_view_table[$nr]['as'],$result->join_view_table[$nr]['row_type'],'view'); - $result->join_view_table[$nr]['key'] = $result->key; - if ($result->join_view_table[$nr]['row_type'] == 1) - { - $result->main_get[] = $result->join_view_table[$nr]; - if ($on_field_as == 'a') - { - $this->siteMainGet[$this->target][$view_code][$result->join_view_table[$nr]['as']] = $result->join_view_table[$nr]['as']; - } - else - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_view_table[$nr]['as']][$join_field] = $on_field_as; - } - } - elseif ($result->join_view_table[$nr]['row_type'] == 2) - { - $result->custom_get[] = $result->join_view_table[$nr]; - if ($on_field_as != 'a') - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_view_table[$nr]['as']][$join_field] = $on_field_as; - } - } - unset($result->join_view_table[$nr]); - } - else - { - if ($option == 'type') - { - $value = $typeArray[$value]; - } - if ($option == 'operator') - { - $value = $operatorArray[$value]; - } - $result->join_view_table[$nr][$option] = $value; - } - } - } - } - } - unset($result->join_view_table); - // set join_db_table details - $join_db_table = json_decode($result->join_db_table,true); - unset($result->join_db_table); - $result->join_db_table = array(); - if (ComponentbuilderHelper::checkArray($join_db_table)) - { - foreach ($join_db_table as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'selection') - { - $on_field_as = ''; - $on_field = ''; - list($on_field_as,$on_field) = array_map('trim', explode('.',$result->join_db_table[$nr]['on_field'])); - $join_field_as = ''; - $join_field = ''; - list($join_field_as,$join_field) = array_map('trim', explode('.',$result->join_db_table[$nr]['join_field'])); - $result->join_db_table[$nr][$option] = - $this->setDataSelection($result->key,$view_code,$value,$result->join_db_table[$nr]['db_table'],$result->join_db_table[$nr]['as'],$result->join_db_table[$nr]['row_type'],'db'); - $result->join_db_table[$nr]['key'] = $result->key; - if ($result->join_db_table[$nr]['row_type'] == 1) - { - $result->main_get[] = $result->join_db_table[$nr]; - if ($on_field_as == 'a') - { - $this->siteMainGet[$this->target][$view_code][$result->join_db_table[$nr]['as']] = $result->join_db_table[$nr]['as']; - } - else - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_db_table[$nr]['as']][$join_field] = $on_field_as; - } - } - elseif ($result->join_db_table[$nr]['row_type'] == 2) - { - $result->custom_get[] = $result->join_db_table[$nr]; - if ($on_field_as != 'a') - { - $this->siteDynamicGet[$this->target][$view_code][$result->join_db_table[$nr]['as']][$join_field] = $on_field_as; - } - } - unset($result->join_db_table[$nr]); - } - else - { - if ($option == 'type') - { - $value = $typeArray[$value]; - } - if ($option == 'operator') - { - $value = $operatorArray[$value]; - } - $result->join_db_table[$nr][$option] = $value; - } - } - } - } - } - unset($result->join_db_table); - // set filter details - $filter = json_decode($result->filter,true); - unset($result->filter); - $result->filter = array(); - if (ComponentbuilderHelper::checkArray($filter)) - { - foreach ($filter as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'operator') - { - $value = $operatorArray[$value]; - $result->filter[$nr]['key'] = $result->key; - } - $result->filter[$nr][$option] = $value; - } - } - } - } - // set global details - $global = json_decode($result->global,true); - unset($result->global); - $result->global = array(); - if (ComponentbuilderHelper::checkArray($global)) - { - foreach ($global as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - $result->global[$nr][$option] = $value; - } - } - } - } - // set order details - $order = json_decode($result->order,true); - unset($result->order); - $result->order = array(); - if (ComponentbuilderHelper::checkArray($order)) - { - foreach ($order as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - $result->order[$nr][$option] = $value; - } - } - } - } - // set where details - $where = json_decode($result->where,true); - unset($result->where); - $result->where = array(); - if (ComponentbuilderHelper::checkArray($where)) - { - foreach ($where as $option => $values) - { - foreach ($values as $nr => $value) - { - if (ComponentbuilderHelper::checkString($value)) - { - if ($option == 'operator') - { - $value = $operatorArray[$value]; - } - $result->where[$nr][$option] = $value; - } - } - } - } - } - return $results; - } - } - } - return false; - } - - protected function setDataSelection($method_key,$view_code,$string,$asset,$as,$row_type,$type) - { - if (ComponentbuilderHelper::checkString($string)) - { - $lines = explode(PHP_EOL,$string); - if (ComponentbuilderHelper::checkArray($lines)) - { - $db = JFactory::getDbo(); - if ('db' == $type) - { - $table = '#__'.$asset; - $queryName = $asset; - $view = ''; - } - elseif ('view' == $type) - { - $view = $this->getViewTableName($asset); - $table = '#__'.$this->componentCodeName.'_'.$view; - $queryName = $view; - } - $gets = array(); - $keys = array(); - foreach ($lines as $line) - { - if (strpos($line,'AS') !== false) - { - list($get,$key) = explode("AS",$line); - } - elseif (strpos($line,'as') !== false) - { - list($get,$key) = explode("as",$line); - } - else - { - $get = $line; - $key = null; - } - $get = trim($get); - $key = trim($key); - // only add the view - if ('a' != $as && 1 == $row_type && 'view' == $type && strpos('#'.$key,'#'.$view.'_') === false) - { - $key = $view.'_'.trim($key); - } - if (ComponentbuilderHelper::checkString($get)) - { - $gets[] = $db->quote($get); - if (ComponentbuilderHelper::checkString($key)) - { - $this->getAsLookup[$method_key][$get] = $key; - $keys[] = $db->quote($key); - } - else - { - $key = str_replace($as.'.','',$get); - $this->getAsLookup[$method_key][$get] = $key; - $keys[] = $db->quote($key); - } - if (ComponentbuilderHelper::checkString($view)) - { - $field = str_replace($as.'.','',$get); - $this->siteFields[$view][$field][$method_key] = array('site' => $view_code, 'get' => $get, 'as' => $as, 'key' => $key); - } - } - } - if (ComponentbuilderHelper::checkArray($gets) && ComponentbuilderHelper::checkArray($keys)) - { - $querySelect = '$query->select($db->quoteName('."\n\t\t\t".'array('.implode(',',$gets).'),'."\n\t\t\t".'array('.implode(',',$keys).')));'; - $queryFrom = '$db->quoteName('.$db->quote($table).', '.$db->quote($as).')'; - // return the select query - return array('select' => $querySelect, 'from' => $queryFrom, 'name' => $queryName, 'table' => $table, 'type' => $type, 'select_gets' => $gets, 'select_keys' => $keys); - } - } - } - return false; - } - - protected function getViewTableName($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.name_single'))); - $query->from($db->quoteName('#__componentbuilder_admin_view','a')); - $query->where($db->quoteName('a.id') . ' = '. (int) $id); - $db->setQuery($query); - return ComponentbuilderHelper::safeString($db->loadResult()); - - } - - protected function buildSqlDump($tables,$view,$view_id) - { - // first build a query statment to get all the data (insure it must be added - check the tweaking) - if (ComponentbuilderHelper::checkArray($tables) && (!isset($this->sqlTweak[$view_id]['remove']) || !$this->sqlTweak[$view_id]['remove'])) - { - $counter = 'a'; - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - foreach ($tables as $table) - { - if ($counter == 'a') - { - // the main table fields - if (strpos($table['sourcemap'],PHP_EOL) !== false) - { - $fields = explode(PHP_EOL,$table['sourcemap']); - if (ComponentbuilderHelper::checkArray($fields)) - { - // reset array buckets - $sourceArray = array(); - $targetArray = array(); - foreach ($fields as $field) - { - if (strpos($field,"=>") !== false) - { - list($source,$target) = explode("=>",$field); - $sourceArray[] = $counter.'.'.trim($source); - $targetArray[] = trim($target); - } - } - if (ComponentbuilderHelper::checkArray($sourceArray) && ComponentbuilderHelper::checkArray($targetArray)) - { - // add to query - $query->select($db->quoteName($sourceArray,$targetArray)); - $query->from('#__'.$table['table'].' AS a'); - } - // we may need to filter the selection - if (isset($this->sqlTweak[$view_id]['where'])) - { - // add to query the where filter - $query->where('a.id IN (' . $this->sqlTweak[$view_id]['where'] . ')'); - } - } - } - } - else - { - // the other tables - if (strpos($table['sourcemap'],PHP_EOL) !== false) - { - $fields = explode(PHP_EOL,$table['sourcemap']); - if (ComponentbuilderHelper::checkArray($fields)) - { - // reset array buckets - $sourceArray = array(); - $targetArray = array(); - foreach ($fields as $field) - { - if (strpos($field,"=>") !== false) - { - list($source,$target) = explode("=>",$field); - $sourceArray[] = $counter.'.'.trim($source); - $targetArray[] = trim($target); - } - if (strpos($field,"==") !== false) - { - list($aKey,$bKey) = explode("==",$field); - // add to query - $query->join('LEFT', $db->quoteName('#__'.$table['table'], $counter) . ' ON (' . $db->quoteName('a.'.trim($aKey)) . ' = ' . $db->quoteName($counter.'.'.trim($bKey)) . ')'); - } - } - if (ComponentbuilderHelper::checkArray($sourceArray) && ComponentbuilderHelper::checkArray($targetArray)) - { - // add to query - $query->select($db->quoteName($sourceArray,$targetArray)); - } - } - } - } - $counter++; - } - // now get the data - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // get the data - $data = $db->loadObjectList(); - // echo'<pre>';var_dump($data);exit; - // start building the MySql dump - $dump = "--"; - $dump .= "\n-- Dumping data for table `#__[[[component]]]_".$view."`"; - $dump .= "\n--"; - $dump .= "\n\nINSERT INTO `#__[[[component]]]_".$view."` ("; - foreach ($data as $line) - { - $comaSet = 0; - foreach($line as $fieldName => $fieldValue) - { - if ($comaSet == 0) - { - $dump .= $db->quoteName($fieldName); - } - else - { - $dump .= ", ".$db->quoteName($fieldName); - } - $comaSet++; - } - break; - } - $dump .= ") VALUES"; - $coma = 0; - foreach ($data as $line) - { - if ($coma == 0) - { - $dump .= "\n("; - } - else - { - $dump .= ",\n("; - } - $comaSet = 0; - foreach($line as $fieldName => $fieldValue) - { - if ($comaSet == 0) - { - $dump .= $this->mysql_escape($fieldValue); - } - else - { - $dump .= ", ". $this->mysql_escape($fieldValue); - } - $comaSet++; - } - $dump .= ")"; - $coma++; - } - $dump .= ";"; - // return build dump query - return $dump; - } - } - return false; - } - - protected function mysql_escape($value) - { - // if array then return maped - if(ComponentbuilderHelper::checkArray($value)) - { - return array_map(__METHOD__, $value); - } - // if string make sure it is correctly escaped - if(ComponentbuilderHelper::checkString($value) && !is_numeric($value)) - { - // Get a db connection. - $db = JFactory::getDbo(); - return $db->quote($value); - } - // if empty value return place holder - if(empty($value)) - { - return "''"; - } - // if not array or string then return number - return $value; - } - - protected function getFieldData($id,$name_single = null,$name_list = null) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Order it by the ordering field. - $query->select('a.*'); - $query->select($db->quoteName(array('c.name', 'c.properties'),array('type_name','type_properties'))); - $query->from('#__componentbuilder_field AS a'); - $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'c') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('c.id') . ')'); - $query->where($db->quoteName('a.id') . ' = '. $db->quote($id)); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - // Load the results as a list of stdClass objects (see later for more options on retrieving data). - $field = $db->loadObject(); - - // load the values form params - $field->xml = json_decode($field->xml); - - // load the type values form type params - $properties = json_decode($field->type_properties,true); - unset($field->type_properties); - - if (ComponentbuilderHelper::checkArray($properties)) - { - foreach ($properties as $option => $values) - { - foreach ($values as $nr => $value) - { - $field->properties[$nr][$option] = $value; - } - } - } - // check if we have advanced encryption - if (4 == $field->store && (!isset($this->advancedEncryption) || !$this->advancedEncryption)) - { - $this->advancedEncryption = true; - } - // check if we have basic encryption - elseif (3 == $field->store && (!isset($this->basicEncryption) || !$this->basicEncryption)) - { - $this->basicEncryption = true; - } - - // check if we should load scripts for single view - if (ComponentbuilderHelper::checkString($name_single) && !isset($this->customFieldScript[$name_single][$id])) - { - // add_javascript_view_footer - if ($field->add_javascript_view_footer == 1) - { - if(!isset($this->customScriptBuilder['view_footer'])) - { - $this->customScriptBuilder['view_footer'] = array(); - } - if (!isset($this->customScriptBuilder['view_footer'][$name_single])) - { - $this->customScriptBuilder['view_footer'][$name_single] = ''; - } - $this->customScriptBuilder['view_footer'][$name_single] .= "\n".base64_decode($field->javascript_view_footer); - if (strpos($field->javascript_view_footer,"token") !== false && strpos($field->javascript_view_footer,"task=ajax") !== false) - { - if (!isset($this->customScriptBuilder['token'][$name_single]) || !$this->customScriptBuilder['token'][$name_single]) - { - if(!isset($this->customScriptBuilder['token'])) - { - $this->customScriptBuilder['token'] = array(); - } - $this->customScriptBuilder['token'][$name_single] = true; - } - } - unset($field->javascript_view_footer); - } - - // add_css_view - if ($field->add_css_view == 1) - { - if (!isset($this->customScriptBuilder['css_view'][$name_single])) - { - $this->customScriptBuilder['css_view'][$name_single] = ''; - } - $this->customScriptBuilder['css_view'][$name_single] .= "\n".base64_decode($field->css_view); - unset($field->css_view); - } - - // add this only once to view. - $this->customFieldScript[$name_single][$id] = true; - } - else - { - // unset if not needed - unset($field->javascript_view_footer); - unset($field->css_view); - } - // check if we should load scripts for list views - if (ComponentbuilderHelper::checkString($name_list)) - { - // add_javascript_views_footer - if ($field->add_javascript_views_footer == 1) - { - $field->javascript_views_footer = base64_decode($field->javascript_views_footer); - $this->customScriptBuilder['views_footer'][$name_list] .= $field->javascript_views_footer; - if (strpos($field->javascript_views_footer,"token") !== false && strpos($field->javascript_views_footer,"task=ajax") !== false) - { - if (!$this->customScriptBuilder['token'][$name_list]) - { - $this->customScriptBuilder['token'][$name_list] = true; - } - } - unset($field->javascript_views_footer); - } - // add_css_views - if ($field->add_css_views == 1) - { - if (!isset($this->customScriptBuilder['css_views'][$name_list])) - { - $this->customScriptBuilder['css_views'][$name_list] = ''; - } - $this->customScriptBuilder['css_views'][$name_list] .= base64_decode($field->css_views); - unset($field->css_views); - } - } - else - { - // unset if not needed - unset($field->javascript_views_footer); - unset($field->css_views); - - } - // return the found field data - return $field; - } - - protected function defaultField($type,$option = 'default') - { - // list of default fields - // https://docs.joomla.org/Form_field - $defaults = array( - 'default' => array( - 'accesslevel','cachehandler','calendar','captcha','category','checkbox', - 'checkboxes','color','combo','componentlayout','contentlanguage','editor', - 'chromestyle','contenttype','databaseconnection','editors','email','file', - 'filelist','folderlist','groupedlist','hidden','file','headertag','helpsite', - 'imagelist','integer','language','list','media','menu','note','number','password', - 'plugins','radio','repeatable','range','rules','sessionhandler','spacer','sql','tag', - 'tel','menuitem','meter','modulelayout','moduleorder','moduleposition','moduletag', - 'templatestyle','text','textarea','timezone','url','user','usergroup' - ), - 'plain' => array( - 'accesslevel','checkbox','cachehandler','calendar','category','chromestyle','color', - 'contenttype','combo','componentlayout','databaseconnection','editor','editors', - 'email','file','filelist','folderlist','headertag','helpsite', - 'hidden','imagelist','integer','language','media','menu', - 'menuitem','meter','modulelayout','moduleorder','moduletag','number','password','range','rules', - 'sessionhandler','tag','tel','text','textarea', - 'timezone','url','user','usergroup' - ), - 'spacer' => array( - 'note','spacer' - ), - 'option' => array( - 'plugins','checkboxes','contentlanguage','list','radio','sql' - ), - 'special' => array( - 'contentlanguage','groupedlist','moduleposition','plugin', - 'repeatable','templatestyle' - ) - ); - - if (in_array($type,$defaults[$option])) - { - return true; - } - return false; - } - - protected function buildFolders() - { - if (ComponentbuilderHelper::checkObject($this->joomlaVersionData->create)) - { - // creat the main componet folder - if (!JFolder::exists($this->componentPath)) - { - JFolder::create($this->componentPath); - // count the folder created - $this->folderCount++; - $this->indexHTML(''); - } - // now build all folders needed for this component - foreach ($this->joomlaVersionData->create as $main => $folders) - { - if (!JFolder::exists($this->componentPath.'/'.$main)) - { - JFolder::create($this->componentPath.'/'.$main); - // count the folder created - $this->folderCount++; - $this->indexHTML($main); - } - if (ComponentbuilderHelper::checkObject($folders)) - { - foreach ($folders as $sub => $subFolders) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub); - } - if (ComponentbuilderHelper::checkObject($subFolders)) - { - foreach ($subFolders as $sub_2 => $subFolders_2) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2); - } - if (ComponentbuilderHelper::checkObject($subFolders_2)) - { - foreach ($subFolders_2 as $sub_3 => $subFolders_3) - { - - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3); - } - if (ComponentbuilderHelper::checkObject($subFolders_3)) - { - foreach ($subFolders_3 as $sub_4 => $subFolders_4) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4); - } - if (ComponentbuilderHelper::checkObject($subFolders_4)) - { - foreach ($subFolders_4 as $sub_5 => $subFolders_5) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5); - } - if (ComponentbuilderHelper::checkObject($subFolders_5)) - { - foreach ($subFolders_5 as $sub_6 => $subFolders_6) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6); - } - if (ComponentbuilderHelper::checkObject($subFolders_6)) - { - foreach ($subFolders_6 as $sub_7 => $subFolders_7) - { - if (!JFolder::exists($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6.'/'.$sub_7)) - { - JFolder::create($this->componentPath.'/'.$main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6.'/'.$sub_7); - // count the folder created - $this->folderCount++; - $this->indexHTML($main.'/'.$sub.'/'.$sub_2.'/'.$sub_3.'/'.$sub_4.'/'.$sub_5.'/'.$sub_6.'/'.$sub_7); - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - return true; - } - return false; - } - - protected function getInbetweenStrings($str, $start = '###', $end = '###') - { - $matches = array(); - $regex = "/$start([a-zA-Z0-9_]*)$end/"; - preg_match_all($regex, $str, $matches); - return $matches[1]; - } - - protected function indexHTML($path) - { - if (strlen($path) > 0) - { - JFile::copy($this->templatePath.'/index.html', $this->componentPath.'/'.$path.'/index.html'); - // count the file created - $this->fileCount++; - } - else - { - JFile::copy($this->templatePath.'/index.html', $this->componentPath.'/index.html'); - // count the file created - $this->fileCount++; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/componentbuilder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/componentbuilder.php deleted file mode 100644 index 7dc55d246..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/componentbuilder.php +++ /dev/null @@ -1,1403 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Componentbuilder component helper. - */ -abstract class ComponentbuilderHelper -{ - - /** - * indent HTML - */ - public static function indent($html) - { - // load the class - require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/indenter.php'; - // set new indenter - $indenter = new Indenter(); - // return indented html - return $indenter->indent($html); - } - - public static function checkFileType($file, $sufix) { - // now check if the file ends with the sufix - return $sufix === "" || ($sufix == substr(strrchr($file, "."), -strlen($sufix))); - } - - public static function imageInfo($path,$request = 'type') - { - // set image - $image = JPATH_SITE.'/'.$path; - // chack if exists - if (file_exists($image)) - { - // get image info - $result = getimagesize($image); - // return type request - switch ($request) - { - case 'width': - return $result[0]; - break; - case 'height': - return $result[1]; - break; - case 'type': - $extensions = array( - IMAGETYPE_GIF => "gif", - IMAGETYPE_JPEG => "jpg", - IMAGETYPE_PNG => "png", - IMAGETYPE_SWF => "swf", - IMAGETYPE_PSD => "psd", - IMAGETYPE_BMP => "bmp", - IMAGETYPE_TIFF_II => "tiff", - IMAGETYPE_TIFF_MM => "tiff", - IMAGETYPE_JPC => "jpc", - IMAGETYPE_JP2 => "jp2", - IMAGETYPE_JPX => "jpx", - IMAGETYPE_JB2 => "jb2", - IMAGETYPE_SWC => "swc", - IMAGETYPE_IFF => "iff", - IMAGETYPE_WBMP => "wbmp", - IMAGETYPE_XBM => "xbm", - IMAGETYPE_ICO => "ico" - ); - return $extensions[$result[2]]; - break; - case 'attr': - return $result[3]; - break; - case 'all': - default: - return $result; - break; - } - } - return false; - } - - public static function getBetween($content,$start,$end) - { - $r = explode($start, $content); - if (isset($r[1])) - { - $r = explode($end, $r[1]); - return $r[0]; - } - return ''; - } - - public static function getAllBetween($content,$start,$end) - { - $buket = array(); - for ($i = 0; ; $i++) - { - $found = self::getBetween($content,$start,$end); - if (self::checkString($found)) - { - $buket[] = $found; - $remove = $start.$found.$end; - $content = str_replace($remove,'',$content); - } - else - { - break; - } - // safety catch - if ($i == 500) - { - break; - } - } - return array_unique($buket); - } - - public static function typeField($type,$option = 'default') - { - // list of default fields - // https://docs.joomla.org/Form_field - $fields = array( - 'default' => array( - 'accesslevel','cachehandler','calendar','captcha','category','checkbox', - 'checkboxes','color','combo','componentlayout','contentlanguage','editor', - 'chromestyle','contenttype','databaseconnection','editors','email','file', - 'filelist','folderlist','groupedlist','hidden','file','headertag','helpsite', - 'imagelist','integer','language','list','media','menu','note','password', - 'plugins','range','radio','repeatable','rules','sessionhandler','spacer','sql','tag', - 'tel','menuitem','modulelayout','meter','moduleorder','moduleposition','moduletag', - 'templatestyle','text','textarea','timezone','url','user','usergroup' - ), - 'text' => array( - 'calendar','color','editor','email','password','tel','text','textarea','url','number','range' - ), - 'list' => array( - 'checkboxes','checkbox','list','radio' - ), - 'dynamic' => array( - 'category','headertag','tag','rules','user','file','filelist','folderlist','imagelist','integer','timezone','media','meter' - ) - ); - - if (in_array($type,$fields[$option])) - { - return true; - } - return false; - } - /** - * Load the Component xml manifest. - **/ - public static function manifest() - { - $manifestUrl = JPATH_ADMINISTRATOR."/components/com_componentbuilder/componentbuilder.xml"; - return simplexml_load_file($manifestUrl); - } - - /** - * Load the Contributors details. - **/ - public static function getContributors() - { - // get params - $params = JComponentHelper::getParams('com_componentbuilder'); - // start contributors array - $contributors = array(); - // get all Contributors (max 20) - $searchArray = range('0','20'); - foreach($searchArray as $nr) - { - if ((NULL !== $params->get("showContributor".$nr)) && ($params->get("showContributor".$nr) == 1 || $params->get("showContributor".$nr) == 3)) - { - // set link based of selected option - if($params->get("useContributor".$nr) == 1) - { - $link_front = '<a href="mailto:'.$params->get("emailContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - elseif($params->get("useContributor".$nr) == 2) - { - $link_front = '<a href="'.$params->get("linkContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - else - { - $link_front = ''; - $link_back = ''; - } - $contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr)); - $contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back; - } - } - return $contributors; - } - - /** - * Load the Component Help URLs. - **/ - public static function getHelpUrl($view) - { - $user = JFactory::getUser(); - $groups = $user->get('groups'); - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.id','a.groups','a.target','a.type','a.article','a.url')); - $query->from('#__componentbuilder_help_document AS a'); - $query->where('a.admin_view = '.$db->quote($view)); - $query->where('a.location = 1'); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $helps = $db->loadObjectList(); - if (self::checkArray($helps)) - { - foreach ($helps as $nr => $help) - { - if ($help->target == 1) - { - $targetgroups = json_decode($help->groups, true); - if (!array_intersect($targetgroups, $groups)) - { - // if user not in those target groups then remove the item - unset($helps[$nr]); - continue; - } - } - // set the return type - switch ($help->type) - { - // set joomla article - case 1: - return self::loadArticleLink($help->article); - break; - // set help text - case 2: - return self::loadHelpTextLink($help->id); - break; - // set Link - case 3: - return $help->url; - break; - } - } - } - } - return false; - } - - /** - * Get the Article Link. - **/ - protected static function loadArticleLink($id) - { - return JURI::root().'index.php?option=com_content&view=article&id='.$id.'&tmpl=component&layout=modal'; - } - - /** - * Get the Help Text Link. - **/ - protected static function loadHelpTextLink($id) - { - $token = JSession::getFormToken(); - return 'index.php?option=com_componentbuilder&task=help.getText&id=' . (int) $id . '&token=' . $token; - } - - /** - * Configure the Linkbar. - **/ - public static function addSubmenu($submenu) - { - // load user for access menus - $user = JFactory::getUser(); - // load the submenus to sidebar - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_DASHBOARD'), 'index.php?option=com_componentbuilder&view=componentbuilder', $submenu == 'componentbuilder'); - // Access control (compiler.submenu). - if ($user->authorise('compiler.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_COMPILER'), 'index.php?option=com_componentbuilder&view=compiler', $submenu == 'compiler'); - } - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_COMPONENTS'), 'index.php?option=com_componentbuilder&view=components', $submenu == 'components'); - if ($user->authorise('admin_view.access', 'com_componentbuilder') && $user->authorise('admin_view.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_ADMIN_VIEWS'), 'index.php?option=com_componentbuilder&view=admin_views', $submenu == 'admin_views'); - } - if ($user->authorise('custom_admin_view.access', 'com_componentbuilder') && $user->authorise('custom_admin_view.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_CUSTOM_ADMIN_VIEWS'), 'index.php?option=com_componentbuilder&view=custom_admin_views', $submenu == 'custom_admin_views'); - } - if ($user->authorise('site_view.access', 'com_componentbuilder') && $user->authorise('site_view.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_SITE_VIEWS'), 'index.php?option=com_componentbuilder&view=site_views', $submenu == 'site_views'); - } - if ($user->authorise('template.access', 'com_componentbuilder') && $user->authorise('template.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_TEMPLATES'), 'index.php?option=com_componentbuilder&view=templates', $submenu == 'templates'); - } - if ($user->authorise('layout.access', 'com_componentbuilder') && $user->authorise('layout.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_LAYOUTS'), 'index.php?option=com_componentbuilder&view=layouts', $submenu == 'layouts'); - } - if ($user->authorise('dynamic_get.access', 'com_componentbuilder') && $user->authorise('dynamic_get.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_DYNAMIC_GETS'), 'index.php?option=com_componentbuilder&view=dynamic_gets', $submenu == 'dynamic_gets'); - } - if ($user->authorise('snippet.access', 'com_componentbuilder') && $user->authorise('snippet.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_SNIPPETS'), 'index.php?option=com_componentbuilder&view=snippets', $submenu == 'snippets'); - } - if ($user->authorise('field.access', 'com_componentbuilder') && $user->authorise('field.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_FIELDS'), 'index.php?option=com_componentbuilder&view=fields', $submenu == 'fields'); - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_FIELD_FIELD_CATEGORY'), 'index.php?option=com_categories&view=categories&extension=com_componentbuilder.fields', $submenu == 'categories.fields'); - } - if ($user->authorise('fieldtype.access', 'com_componentbuilder') && $user->authorise('fieldtype.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_FIELDTYPES'), 'index.php?option=com_componentbuilder&view=fieldtypes', $submenu == 'fieldtypes'); - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_FIELDTYPE_FIELDTYPE_CATEGORY'), 'index.php?option=com_categories&view=categories&extension=com_componentbuilder.fieldtypes', $submenu == 'categories.fieldtypes'); - } - if ($user->authorise('help_document.access', 'com_componentbuilder') && $user->authorise('help_document.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_HELP_DOCUMENTS'), 'index.php?option=com_componentbuilder&view=help_documents', $submenu == 'help_documents'); - } - } - - /** - * UIKIT Component Classes - **/ - public static $uk_components = array( - 'data-uk-grid' => array( - 'grid' ), - 'uk-accordion' => array( - 'accordion' ), - 'uk-autocomplete' => array( - 'autocomplete' ), - 'data-uk-datepicker' => array( - 'datepicker' ), - 'uk-form-password' => array( - 'form-password' ), - 'uk-form-select' => array( - 'form-select' ), - 'data-uk-htmleditor' => array( - 'htmleditor' ), - 'data-uk-lightbox' => array( - 'lightbox' ), - 'uk-nestable' => array( - 'nestable' ), - 'UIkit.notify' => array( - 'notify' ), - 'data-uk-parallax' => array( - 'parallax' ), - 'uk-search' => array( - 'search' ), - 'uk-slider' => array( - 'slider' ), - 'uk-slideset' => array( - 'slideset' ), - 'uk-slideshow' => array( - 'slideshow', - 'slideshow-fx' ), - 'uk-sortable' => array( - 'sortable' ), - 'data-uk-sticky' => array( - 'sticky' ), - 'data-uk-timepicker' => array( - 'timepicker' ), - 'data-uk-tooltip' => array( - 'tooltip' ), - 'uk-placeholder' => array( - 'placeholder' ), - 'uk-dotnav' => array( - 'dotnav' ), - 'uk-slidenav' => array( - 'slidenav' ), - 'uk-form' => array( - 'form-advanced' ), - 'uk-progress' => array( - 'progress' ), - 'upload-drop' => array( - 'upload', 'form-file' ) - ); - - /** - * Add UIKIT Components - **/ - public static $uikit = false; - - /** - * Get UIKIT Components - **/ - public static function getUikitComp($content,$classes = array()) - { - if (strpos($content,'class="uk-') !== false) - { - // reset - $temp = array(); - foreach (self::$uk_components as $looking => $add) - { - if (strpos($content,$looking) !== false) - { - $temp[] = $looking; - } - } - // make sure uikit is loaded to config - if (strpos($content,'class="uk-') !== false) - { - self::$uikit = true; - } - // sorter - if (self::checkArray($temp)) - { - // merger - if (self::checkArray($classes)) - { - $newTemp = array_merge($temp,$classes); - $temp = array_unique($newTemp); - } - return $temp; - } - } - if (self::checkArray($classes)) - { - return $classes; - } - return false; - } - - /** - * Prepares the xml document - */ - public static function xls($rows,$fileName = null,$title = null,$subjectTab = null,$creator = 'Vast Development Method',$description = null,$category = null,$keywords = null,$modified = null) - { - // set the user - $user = JFactory::getUser(); - - // set fieldname if not set - if (!$fileName) - { - $fileName = 'exported_'.JFactory::getDate()->format('jS_F_Y'); - } - // set modiefied if not set - if (!$modified) - { - $modified = $user->name; - } - // set title if not set - if (!$title) - { - $title = 'Book1'; - } - // set tab name if not set - if (!$subjectTab) - { - $subjectTab = 'Sheet1'; - } - - // make sure the file is loaded - JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers'); - - // Create new PHPExcel object - $objPHPExcel = new PHPExcel(); - - // Set document properties - $objPHPExcel->getProperties()->setCreator($creator) - ->setCompany('Vast Development Method') - ->setLastModifiedBy($modified) - ->setTitle($title) - ->setSubject($subjectTab); - if (!$description) - { - $objPHPExcel->getProperties()->setDescription($description); - } - if (!$keywords) - { - $objPHPExcel->getProperties()->setKeywords($keywords); - } - if (!$category) - { - $objPHPExcel->getProperties()->setCategory($category); - } - - // Some styles - $headerStyles = array( - 'font' => array( - 'bold' => true, - 'color' => array('rgb' => '1171A3'), - 'size' => 12, - 'name' => 'Verdana' - )); - $sideStyles = array( - 'font' => array( - 'bold' => true, - 'color' => array('rgb' => '444444'), - 'size' => 11, - 'name' => 'Verdana' - )); - $normalStyles = array( - 'font' => array( - 'color' => array('rgb' => '444444'), - 'size' => 11, - 'name' => 'Verdana' - )); - - // Add some data - if (self::checkArray($rows)) - { - $i = 1; - foreach ($rows as $array){ - $a = 'A'; - foreach ($array as $value){ - $objPHPExcel->setActiveSheetIndex(0)->setCellValue($a.$i, $value); - if ($i == 1){ - $objPHPExcel->getActiveSheet()->getColumnDimension($a)->setAutoSize(true); - $objPHPExcel->getActiveSheet()->getStyle($a.$i)->applyFromArray($headerStyles); - $objPHPExcel->getActiveSheet()->getStyle($a.$i)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER); - } elseif ($a == 'A'){ - $objPHPExcel->getActiveSheet()->getStyle($a.$i)->applyFromArray($sideStyles); - } else { - $objPHPExcel->getActiveSheet()->getStyle($a.$i)->applyFromArray($normalStyles); - } - $a++; - } - $i++; - } - } - else - { - return false; - } - - // Rename worksheet - $objPHPExcel->getActiveSheet()->setTitle($subjectTab); - - // Set active sheet index to the first sheet, so Excel opens this as the first sheet - $objPHPExcel->setActiveSheetIndex(0); - - // Redirect output to a client's web browser (Excel5) - header('Content-Type: application/vnd.ms-excel'); - header('Content-Disposition: attachment;filename="'.$fileName.'.xls"'); - header('Cache-Control: max-age=0'); - // If you're serving to IE 9, then the following may be needed - header('Cache-Control: max-age=1'); - - // If you're serving to IE over SSL, then the following may be needed - header ('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past - header ('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); // always modified - header ('Cache-Control: cache, must-revalidate'); // HTTP/1.1 - header ('Pragma: public'); // HTTP/1.0 - - $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5'); - $objWriter->save('php://output'); - jexit(); - } - - /** - * Get CSV Headers - */ - public static function getFileHeaders($dataType) - { - // make sure the file is loaded - JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers'); - // get session object - $session = JFactory::getSession(); - $package = $session->get('package', null); - $package = json_decode($package, true); - // set the headers - if(isset($package['dir'])) - { - $inputFileType = PHPExcel_IOFactory::identify($package['dir']); - $excelReader = PHPExcel_IOFactory::createReader($inputFileType); - $excelReader->setReadDataOnly(true); - $excelObj = $excelReader->load($package['dir']); - $headers = array(); - foreach ($excelObj->getActiveSheet()->getRowIterator() as $row) - { - if($row->getRowIndex() == 1) - { - $cellIterator = $row->getCellIterator(); - $cellIterator->setIterateOnlyExistingCells(false); - foreach ($cellIterator as $cell) - { - if (!is_null($cell)) - { - $headers[$cell->getColumn()] = $cell->getValue(); - } - } - $excelObj->disconnectWorksheets(); - unset($excelObj); - break; - } - } - return $headers; - } - return false; - } - - public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = 'componentbuilder') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } - - public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = 'componentbuilder', $unique = true) - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - - if (!self::checkArray($where) && $where > 0) - { - $where = array($where); - } - - if (self::checkArray($where)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - $query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - if ($unique) - { - return array_unique($db->loadColumn()); - } - return $db->loadColumn(); - } - } - return false; - } - - public static function jsonToString($value, $sperator = ", ") - { - // check if string is JSON - $result = json_decode($value, true); - if (json_last_error() === JSON_ERROR_NONE) { - // is JSON - if (self::checkArray($result)) - { - $value = ''; - $counter = 0; - foreach ($result as $string) - { - if ($counter) - { - $value .= $sperator.$string; - } - else - { - $value .= $string; - } - $counter++; - } - return $value; - } - return json_decode($value); - } - return $value; - } - - public static function isPublished($id,$type) - { - if ($type == 'raw') - { - $type = 'item'; - } - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.published')); - $query->from('#__componentbuilder_'.$type.' AS a'); - $query->where('a.id = '.$id); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - if($found) - { - return true; - } - return false; - } - - public static function getGroupName($id) - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select(array('a.title')); - $query->from('#__usergroups AS a'); - $query->where('a.id = '.$id); - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - if($found) - { - return $db->loadResult(); - } - return $id; - } - - /** - * Get the actions permissions - **/ - public static function getActions($view,&$record = null,$views = null) - { - jimport('joomla.access.access'); - - $user = JFactory::getUser(); - $result = new JObject; - $view = self::safeString($view); - if (self::checkString($views)) - { - $views = self::safeString($views); - } - // get all actions from component - $actions = JAccess::getActions('com_componentbuilder', 'component'); - // set acctions only set in component settiongs - $componentActions = array('core.admin','core.manage','core.options','core.export'); - // loop the actions and set the permissions - foreach ($actions as $action) - { - // set to use component default - $fallback= true; - if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions)) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise($action->name, 'com_componentbuilder.'.$view.'.' . (int) $record->id); - if (!$permission && !is_null($permission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - } - } - elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0) - { - // make sure we use the core. action check for the categories - if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) { - $coreCheck = explode('.',$action->name); - $coreCheck[0] = 'core'; - $categoryCheck = implode('.',$coreCheck); - } - else - { - $categoryCheck = $action->name; - } - // The record has a category. Check the category permissions. - $catpermission = $user->authorise($categoryCheck, 'com_componentbuilder.'.$views.'.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback= false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback= false; - } - } - } - } - } - } - // if allowed then fallback on component global settings - if ($fallback) - { - $result->set($action->name, $user->authorise($action->name, 'com_componentbuilder')); - } - } - return $result; - } - - /** - * Get any component's model - **/ - public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $component = 'componentbuilder') - { - // load some joomla helpers - JLoader::import('joomla.application.component.model'); - // load the model file - JLoader::import( $name, $path . '/models' ); - // return instance - return JModelLegacy::getInstance( $name, $component.'Model' ); - } - - /** - * Add to asset Table - */ - public static function setAsset($id,$table) - { - $parent = JTable::getInstance('Asset'); - $parent->loadByName('com_componentbuilder'); - - $parentId = $parent->id; - $name = 'com_componentbuilder.'.$table.'.'.$id; - $title = ''; - - $asset = JTable::getInstance('Asset'); - $asset->loadByName($name); - - // Check for an error. - $error = $asset->getError(); - - if ($error) - { - return false; - } - else - { - // Specify how a new or moved node asset is inserted into the tree. - if ($asset->parent_id != $parentId) - { - $asset->setLocation($parentId, 'last-child'); - } - - // Prepare the asset to be stored. - $asset->parent_id = $parentId; - $asset->name = $name; - $asset->title = $title; - // get the default asset rules - $rules = self::getDefaultAssetRules('com_componentbuilder',$table); - if ($rules instanceof JAccessRules) - { - $asset->rules = (string) $rules; - } - - if (!$asset->check() || !$asset->store()) - { - JError::raiseWarning(500, $asset->getError()); - return false; - } - else - { - // Create an asset_id or heal one that is corrupted. - $object = new stdClass(); - - // Must be a valid primary key value. - $object->id = $id; - $object->asset_id = (int) $asset->id; - - // Update their asset_id to link to the asset table. - return JFactory::getDbo()->updateObject('#__componentbuilder_'.$table, $object, 'id'); - } - } - return false; - } - - /** - * Gets the default asset Rules for a component/view. - */ - protected static function getDefaultAssetRules($component,$view) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - $result = JAccess::getAssetRules($assetId); - if ($result instanceof JAccessRules) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($view !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules($_result); - - return $rules; - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - public static function renderBoolButton() - { - $args = func_get_args(); - - // get the radio element - $button = JFormHelper::loadFieldType('radio'); - - // setup the properties - $name = self::htmlEscape($args[0]); - $additional = isset($args[1]) ? (string) $args[1] : ''; - $value = $args[2]; - $yes = isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES'; - $no = isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO'; - - // prepare the xml - $element = new SimpleXMLElement('<field name="'.$name.'" type="radio" class="btn-group"><option '.$additional.' value="0">'.$no.'</option><option '.$additional.' value="1">'.$yes.'</option></field>'); - - // run - $button->setup($element, $value); - - return $button->input; - - } - - public static function checkObject($object) - { - if (isset($object) && is_object($object) && count($object) > 0) - { - return true; - } - return false; - } - - public static function checkArray($array) - { - if (isset($array) && is_array($array) && count($array) > 0) - { - return true; - } - return false; - } - - public static function checkString($string) - { - if (isset($string) && is_string($string) && strlen($string) > 0) - { - return true; - } - return false; - } - - public static function mergeArrays($arrays) - { - if(self::checkArray($arrays)) - { - $arrayBuket = array(); - foreach ($arrays as $array) - { - if (self::checkArray($array)) - { - $arrayBuket = array_merge($arrayBuket, $array); - } - } - return $arrayBuket; - } - return false; - } - - public static function sorten($string, $length = 40, $addTip = true) - { - if (self::checkString($string)) - { - $initial = strlen($string); - $words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE); - $words_count = count($words); - - $word_length = 0; - $last_word = 0; - for (; $last_word < $words_count; ++$last_word) - { - $word_length += strlen($words[$last_word]); - if ($word_length > $length) - { - break; - } - } - - $newString = implode(array_slice($words, 0, $last_word)); - $final = strlen($newString); - if ($initial != $final && $addTip) - { - $title = self::sorten($string, 400 , false); - return '<span class="hasTip" title="'.$title.'" style="cursor:help">'.trim($newString).'...</span>'; - } - elseif ($initial != $final && !$addTip) - { - return trim($newString).'...'; - } - } - return $string; - } - - public static function safeString($string, $type = 'L', $spacer = '_') - { - // remove all numbers and replace with english text version (works well only up to a thousand) - $string = self::replaceNumbers($string); - - if (self::checkString($string)) - { - // remove all other characters - $string = trim($string); - $string = preg_replace('/'.$spacer.'+/', ' ', $string); - $string = preg_replace('/\s+/', ' ', $string); - $string = preg_replace("/[^A-Za-z ]/", '', $string); - // return a string with all first letter of each word uppercase(no undersocre) - if ($type == 'W') - { - return ucwords(strtolower($string)); - } - elseif ($type == 'w') - { - return strtolower($string); - } - elseif ($type == 'Ww') - { - return ucfirst(strtolower($string)); - } - elseif ($type == 'WW') - { - return strtoupper($string); - } - elseif ($type == 'U') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return all upper - return strtoupper($string); - } - elseif ($type == 'F') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return with first caracter to upper - return ucfirst(strtolower($string)); - } - elseif ($type == 'L') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // default is to return lower - return strtolower($string); - } - - // return string - return $string; - } - // not a string - return ''; - } - - public static function htmlEscape($var, $charset = 'UTF-8', $sorten = false, $length = 40) - { - if (self::checkString($var)) - { - $filter = new JFilterInput(); - $string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML'); - if ($sorten) - { - return self::sorten($string,$length); - } - return $string; - } - else - { - return ''; - } - } - - public static function replaceNumbers($string) - { - // set numbers array - $numbers = array(); - // first get all numbers - preg_match_all('!\d+!', $string, $numbers); - // check if we have any numbers - if (isset($numbers[0]) && self::checkArray($numbers[0])) - { - foreach ($numbers[0] as $number) - { - $searchReplace[$number] = self::numberToString((int)$number); - } - // now replace numbers in string - $string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string); - // check if we missed any, strange if we did. - return self::replaceNumbers($string); - } - // return the string with no numbers remaining. - return $string; - } - - /** - * Convert an integer into an English word string - * Thanks to Tom Nicholson <http://php.net/manual/en/function.strval.php#41988> - * - * @input an int - * @returns a string - **/ - public static function numberToString($x) - { - $nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven", - "eight", "nine", "ten", "eleven", "twelve", "thirteen", - "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", - "nineteen", "twenty", 30 => "thirty", 40 => "forty", - 50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty", - 90 => "ninety" ); - - if(!is_numeric($x)) - { - $w = $x; - } - elseif(fmod($x, 1) != 0) - { - $w = $x; - } - else - { - if($x < 0) - { - $w = 'minus '; - $x = -$x; - } - else - { - $w = ''; - // ... now $x is a non-negative integer. - } - - if($x < 21) // 0 to 20 - { - $w .= $nwords[$x]; - } - elseif($x < 100) // 21 to 99 - { - $w .= $nwords[10 * floor($x/10)]; - $r = fmod($x, 10); - if($r > 0) - { - $w .= ' '. $nwords[$r]; - } - } - elseif($x < 1000) // 100 to 999 - { - $w .= $nwords[floor($x/100)] .' hundred'; - $r = fmod($x, 100); - if($r > 0) - { - $w .= ' and '. self::numberToString($r); - } - } - elseif($x < 1000000) // 1000 to 999999 - { - $w .= self::numberToString(floor($x/1000)) .' thousand'; - $r = fmod($x, 1000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $w .= 'and '; - } - $w .= self::numberToString($r); - } - } - else // millions - { - $w .= self::numberToString(floor($x/1000000)) .' million'; - $r = fmod($x, 1000000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $word .= 'and '; - } - $w .= self::numberToString($r); - } - } - } - return $w; - } - - /** - * Random Key - * - * @returns a string - **/ - public static function randomkey($size) - { - $bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ"; - $key = array(); - $bagsize = strlen($bag) - 1; - for ($i = 0; $i < $size; $i++) - { - $get = rand(0, $bagsize); - $key[] = $bag[$get]; - } - return implode($key); - } - - public static function getCryptKey($type) - { - if ('basic' == $type) - { - // Get the global params - $params = JComponentHelper::getParams('com_componentbuilder', true); - $basic_key = $params->get('basic_key', null); - if ($basic_key) - { - return $basic_key; - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/html/batch_.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/html/batch_.php deleted file mode 100644 index 6b33d8545..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/html/batch_.php +++ /dev/null @@ -1,93 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage batch_.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('JPATH_PLATFORM') or die; - -/** - * Utility class to render a list view batch selection options - * - * @since 3.0 - */ -abstract class JHtmlBatch_ -{ - /** - * ListSelection - * - * @var array - * @since 3.0 - */ - protected static $ListSelection = array(); - - /** - * Render the batch selection options. - * - * @return string The necessary HTML to display the batch selection options - * - * @since 3.0 - */ - public static function render() - { - // Collect display data - $data = new stdClass; - $data->ListSelection = static::getListSelection(); - - // Create a layout object and ask it to render the batch selection options - $layout = new JLayoutFile('batchselection'); - $batchHtml = $layout->render($data); - - return $batchHtml; - } - - /** - * Method to add a list selection to the batch modal - * - * @param string $label Label for the menu item. - * @param string $name Name for the filter. Also used as id. - * @param string $options Options for the select field. - * @param bool $noDefault Don't the label as the empty option - * - * @return void - * - * @since 3.0 - */ - public static function addListSelection($label, $name, $options, $noDefault = false) - { - array_push(static::$ListSelection, array('label' => $label, 'name' => $name, 'options' => $options, 'noDefault' => $noDefault)); - } - - /** - * Returns an array of all ListSelection - * - * @return array - * - * @since 3.0 - */ - public static function getListSelection() - { - return static::$ListSelection; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/html/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/html/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/html/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/indenter.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/indenter.php deleted file mode 100644 index 3bdacc402..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/indenter.php +++ /dev/null @@ -1,205 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage indenter.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * @link https://github.com/gajus/dindent for the canonical source repository - * @license https://github.com/gajus/dindent/blob/master/LICENSE BSD 3-Clause - */ -class Indenter { - private - $log = array(), - $options = array( - 'indentation_character' => ' ' - ), - $inline_elements = array('b', 'big', 'i', 'small', 'tt', 'abbr', 'acronym', 'cite', 'code', 'dfn', 'em', 'kbd', 'strong', 'samp', 'var', 'a', 'bdo', 'br', 'img', 'span', 'sub', 'sup'), - $temporary_replacements_script = array(), - $temporary_replacements_inline = array(); - - const ELEMENT_TYPE_BLOCK = 0; - const ELEMENT_TYPE_INLINE = 1; - - const MATCH_INDENT_NO = 0; - const MATCH_INDENT_DECREASE = 1; - const MATCH_INDENT_INCREASE = 2; - const MATCH_DISCARD = 3; - - /** - * @param array $options - */ - public function __construct (array $options = array()) { - foreach ($options as $name => $value) { - if (!array_key_exists($name, $this->options)) { - throw new Exception\InvalidArgumentException('Unrecognized option.'); - } - - $this->options[$name] = $value; - } - } - - /** - * @param string $element_name Element name, e.g. "b". - * @param ELEMENT_TYPE_BLOCK|ELEMENT_TYPE_INLINE $type - * @return null - */ - public function setElementType ($element_name, $type) { - if ($type === static::ELEMENT_TYPE_BLOCK) { - $this->inline_elements = array_diff($this->inline_elements, array($element_name)); - } else if ($type === static::ELEMENT_TYPE_INLINE) { - $this->inline_elements[] = $element_name; - } else { - throw new Exception\InvalidArgumentException('Unrecognized element type.'); - } - - $this->inline_elements = array_unique($this->inline_elements); - } - - /** - * @param string $input HTML input. - * @return string Indented HTML. - */ - public function indent ($input) { - $this->log = array(); - - // Dindent does not indent <script> body. Instead, it temporary removes it from the code, indents the input, and restores the script body. - if (preg_match_all('/<script\b[^>]*>([\s\S]*?)<\/script>/mi', $input, $matches)) { - $this->temporary_replacements_script = $matches[0]; - foreach ($matches[0] as $i => $match) { - $input = str_replace($match, '<script>' . ($i + 1) . '</script>', $input); - } - } - - // Removing double whitespaces to make the source code easier to read. - // With exception of <pre>/ CSS white-space changing the default behaviour, double whitespace is meaningless in HTML output. - // This reason alone is sufficient not to use Dindent in production. - $input = str_replace("\t", '', $input); - $input = preg_replace('/\s{2,}/', ' ', $input); - - // Remove inline elements and replace them with text entities. - if (preg_match_all('/<(' . implode('|', $this->inline_elements) . ')[^>]*>(?:[^<]*)<\/\1>/', $input, $matches)) { - $this->temporary_replacements_inline = $matches[0]; - foreach ($matches[0] as $i => $match) { - $input = str_replace($match, 'ᐃ' . ($i + 1) . 'ᐃ', $input); - } - } - - $subject = $input; - - $output = ''; - - $next_line_indentation_level = 0; - - do { - $indentation_level = $next_line_indentation_level; - - $patterns = array( - // block tag - '/^(<([a-z]+)(?:[^>]*)>(?:[^<]*)<\/(?:\2)>)/' => static::MATCH_INDENT_NO, - // DOCTYPE - '/^<!([^>]*)>/' => static::MATCH_INDENT_NO, - // tag with implied closing - '/^<(input|link|meta|base|br|img|hr)([^>]*)>/' => static::MATCH_INDENT_NO, - // opening tag - '/^<[^\/]([^>]*)>/' => static::MATCH_INDENT_INCREASE, - // closing tag - '/^<\/([^>]*)>/' => static::MATCH_INDENT_DECREASE, - // self-closing tag - '/^<(.+)\/>/' => static::MATCH_INDENT_DECREASE, - // whitespace - '/^(\s+)/' => static::MATCH_DISCARD, - // text node - '/([^<]+)/' => static::MATCH_INDENT_NO - ); - $rules = array('NO', 'DECREASE', 'INCREASE', 'DISCARD'); - - foreach ($patterns as $pattern => $rule) { - if ($match = preg_match($pattern, $subject, $matches)) { - $this->log[] = array( - 'rule' => $rules[$rule], - 'pattern' => $pattern, - 'subject' => $subject, - 'match' => $matches[0] - ); - - $subject = mb_substr($subject, mb_strlen($matches[0])); - - if ($rule === static::MATCH_DISCARD) { - break; - } - - if ($rule === static::MATCH_INDENT_NO) { - - } else if ($rule === static::MATCH_INDENT_DECREASE) { - $next_line_indentation_level--; - $indentation_level--; - } else { - $next_line_indentation_level++; - } - - if ($indentation_level < 0) { - $indentation_level = 0; - } - - $output .= str_repeat($this->options['indentation_character'], $indentation_level) . $matches[0] . "\n"; - - break; - } - } - } while ($match); - - $interpreted_input = ''; - foreach ($this->log as $e) { - $interpreted_input .= $e['match']; - } - - if ($interpreted_input !== $input) { - throw new Exception\RuntimeException('Did not reproduce the exact input.'); - } - - $output = preg_replace('/(<(\w+)[^>]*>)\s*(<\/\2>)/', '\\1\\3', $output); - - foreach ($this->temporary_replacements_script as $i => $original) { - $output = str_replace('<script>' . ($i + 1) . '</script>', $original, $output); - } - - foreach ($this->temporary_replacements_inline as $i => $original) { - $output = str_replace('ᐃ' . ($i + 1) . 'ᐃ', $original, $output); - } - - return trim($output); - } - - /** - * Debugging utility. Get log for the last indent operation. - * - * @return array - */ - public function getLog () { - return $this->log; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/js.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/js.php deleted file mode 100644 index 5b58953fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/js.php +++ /dev/null @@ -1,452 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage js.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/minify.php'; - -/** - * JavaScript minifier. - * - * Please report bugs on https://github.com/matthiasmullie/minify/issues - * - * @author Matthias Mullie <minify@mullie.eu> - * @author Tijs Verkoyen <minify@verkoyen.eu> - * - * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved. - * @license MIT License - */ -class JS extends Minify -{ - /** - * Var-matching regex based on http://stackoverflow.com/a/9337047/802993 - * - * Note that regular expressions using that bit must have the PCRE_UTF8 - * pattern modifier (/u) set. - * - * @var string - */ - const REGEX_VARIABLE = '\b[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\x{02c1}\x{02c6}-\x{02d1}\x{02e0}-\x{02e4}\x{02ec}\x{02ee}\x{0370}-\x{0374}\x{0376}\x{0377}\x{037a}-\x{037d}\x{0386}\x{0388}-\x{038a}\x{038c}\x{038e}-\x{03a1}\x{03a3}-\x{03f5}\x{03f7}-\x{0481}\x{048a}-\x{0527}\x{0531}-\x{0556}\x{0559}\x{0561}-\x{0587}\x{05d0}-\x{05ea}\x{05f0}-\x{05f2}\x{0620}-\x{064a}\x{066e}\x{066f}\x{0671}-\x{06d3}\x{06d5}\x{06e5}\x{06e6}\x{06ee}\x{06ef}\x{06fa}-\x{06fc}\x{06ff}\x{0710}\x{0712}-\x{072f}\x{074d}-\x{07a5}\x{07b1}\x{07ca}-\x{07ea}\x{07f4}\x{07f5}\x{07fa}\x{0800}-\x{0815}\x{081a}\x{0824}\x{0828}\x{0840}-\x{0858}\x{08a0}\x{08a2}-\x{08ac}\x{0904}-\x{0939}\x{093d}\x{0950}\x{0958}-\x{0961}\x{0971}-\x{0977}\x{0979}-\x{097f}\x{0985}-\x{098c}\x{098f}\x{0990}\x{0993}-\x{09a8}\x{09aa}-\x{09b0}\x{09b2}\x{09b6}-\x{09b9}\x{09bd}\x{09ce}\x{09dc}\x{09dd}\x{09df}-\x{09e1}\x{09f0}\x{09f1}\x{0a05}-\x{0a0a}\x{0a0f}\x{0a10}\x{0a13}-\x{0a28}\x{0a2a}-\x{0a30}\x{0a32}\x{0a33}\x{0a35}\x{0a36}\x{0a38}\x{0a39}\x{0a59}-\x{0a5c}\x{0a5e}\x{0a72}-\x{0a74}\x{0a85}-\x{0a8d}\x{0a8f}-\x{0a91}\x{0a93}-\x{0aa8}\x{0aaa}-\x{0ab0}\x{0ab2}\x{0ab3}\x{0ab5}-\x{0ab9}\x{0abd}\x{0ad0}\x{0ae0}\x{0ae1}\x{0b05}-\x{0b0c}\x{0b0f}\x{0b10}\x{0b13}-\x{0b28}\x{0b2a}-\x{0b30}\x{0b32}\x{0b33}\x{0b35}-\x{0b39}\x{0b3d}\x{0b5c}\x{0b5d}\x{0b5f}-\x{0b61}\x{0b71}\x{0b83}\x{0b85}-\x{0b8a}\x{0b8e}-\x{0b90}\x{0b92}-\x{0b95}\x{0b99}\x{0b9a}\x{0b9c}\x{0b9e}\x{0b9f}\x{0ba3}\x{0ba4}\x{0ba8}-\x{0baa}\x{0bae}-\x{0bb9}\x{0bd0}\x{0c05}-\x{0c0c}\x{0c0e}-\x{0c10}\x{0c12}-\x{0c28}\x{0c2a}-\x{0c33}\x{0c35}-\x{0c39}\x{0c3d}\x{0c58}\x{0c59}\x{0c60}\x{0c61}\x{0c85}-\x{0c8c}\x{0c8e}-\x{0c90}\x{0c92}-\x{0ca8}\x{0caa}-\x{0cb3}\x{0cb5}-\x{0cb9}\x{0cbd}\x{0cde}\x{0ce0}\x{0ce1}\x{0cf1}\x{0cf2}\x{0d05}-\x{0d0c}\x{0d0e}-\x{0d10}\x{0d12}-\x{0d3a}\x{0d3d}\x{0d4e}\x{0d60}\x{0d61}\x{0d7a}-\x{0d7f}\x{0d85}-\x{0d96}\x{0d9a}-\x{0db1}\x{0db3}-\x{0dbb}\x{0dbd}\x{0dc0}-\x{0dc6}\x{0e01}-\x{0e30}\x{0e32}\x{0e33}\x{0e40}-\x{0e46}\x{0e81}\x{0e82}\x{0e84}\x{0e87}\x{0e88}\x{0e8a}\x{0e8d}\x{0e94}-\x{0e97}\x{0e99}-\x{0e9f}\x{0ea1}-\x{0ea3}\x{0ea5}\x{0ea7}\x{0eaa}\x{0eab}\x{0ead}-\x{0eb0}\x{0eb2}\x{0eb3}\x{0ebd}\x{0ec0}-\x{0ec4}\x{0ec6}\x{0edc}-\x{0edf}\x{0f00}\x{0f40}-\x{0f47}\x{0f49}-\x{0f6c}\x{0f88}-\x{0f8c}\x{1000}-\x{102a}\x{103f}\x{1050}-\x{1055}\x{105a}-\x{105d}\x{1061}\x{1065}\x{1066}\x{106e}-\x{1070}\x{1075}-\x{1081}\x{108e}\x{10a0}-\x{10c5}\x{10c7}\x{10cd}\x{10d0}-\x{10fa}\x{10fc}-\x{1248}\x{124a}-\x{124d}\x{1250}-\x{1256}\x{1258}\x{125a}-\x{125d}\x{1260}-\x{1288}\x{128a}-\x{128d}\x{1290}-\x{12b0}\x{12b2}-\x{12b5}\x{12b8}-\x{12be}\x{12c0}\x{12c2}-\x{12c5}\x{12c8}-\x{12d6}\x{12d8}-\x{1310}\x{1312}-\x{1315}\x{1318}-\x{135a}\x{1380}-\x{138f}\x{13a0}-\x{13f4}\x{1401}-\x{166c}\x{166f}-\x{167f}\x{1681}-\x{169a}\x{16a0}-\x{16ea}\x{16ee}-\x{16f0}\x{1700}-\x{170c}\x{170e}-\x{1711}\x{1720}-\x{1731}\x{1740}-\x{1751}\x{1760}-\x{176c}\x{176e}-\x{1770}\x{1780}-\x{17b3}\x{17d7}\x{17dc}\x{1820}-\x{1877}\x{1880}-\x{18a8}\x{18aa}\x{18b0}-\x{18f5}\x{1900}-\x{191c}\x{1950}-\x{196d}\x{1970}-\x{1974}\x{1980}-\x{19ab}\x{19c1}-\x{19c7}\x{1a00}-\x{1a16}\x{1a20}-\x{1a54}\x{1aa7}\x{1b05}-\x{1b33}\x{1b45}-\x{1b4b}\x{1b83}-\x{1ba0}\x{1bae}\x{1baf}\x{1bba}-\x{1be5}\x{1c00}-\x{1c23}\x{1c4d}-\x{1c4f}\x{1c5a}-\x{1c7d}\x{1ce9}-\x{1cec}\x{1cee}-\x{1cf1}\x{1cf5}\x{1cf6}\x{1d00}-\x{1dbf}\x{1e00}-\x{1f15}\x{1f18}-\x{1f1d}\x{1f20}-\x{1f45}\x{1f48}-\x{1f4d}\x{1f50}-\x{1f57}\x{1f59}\x{1f5b}\x{1f5d}\x{1f5f}-\x{1f7d}\x{1f80}-\x{1fb4}\x{1fb6}-\x{1fbc}\x{1fbe}\x{1fc2}-\x{1fc4}\x{1fc6}-\x{1fcc}\x{1fd0}-\x{1fd3}\x{1fd6}-\x{1fdb}\x{1fe0}-\x{1fec}\x{1ff2}-\x{1ff4}\x{1ff6}-\x{1ffc}\x{2071}\x{207f}\x{2090}-\x{209c}\x{2102}\x{2107}\x{210a}-\x{2113}\x{2115}\x{2119}-\x{211d}\x{2124}\x{2126}\x{2128}\x{212a}-\x{212d}\x{212f}-\x{2139}\x{213c}-\x{213f}\x{2145}-\x{2149}\x{214e}\x{2160}-\x{2188}\x{2c00}-\x{2c2e}\x{2c30}-\x{2c5e}\x{2c60}-\x{2ce4}\x{2ceb}-\x{2cee}\x{2cf2}\x{2cf3}\x{2d00}-\x{2d25}\x{2d27}\x{2d2d}\x{2d30}-\x{2d67}\x{2d6f}\x{2d80}-\x{2d96}\x{2da0}-\x{2da6}\x{2da8}-\x{2dae}\x{2db0}-\x{2db6}\x{2db8}-\x{2dbe}\x{2dc0}-\x{2dc6}\x{2dc8}-\x{2dce}\x{2dd0}-\x{2dd6}\x{2dd8}-\x{2dde}\x{2e2f}\x{3005}-\x{3007}\x{3021}-\x{3029}\x{3031}-\x{3035}\x{3038}-\x{303c}\x{3041}-\x{3096}\x{309d}-\x{309f}\x{30a1}-\x{30fa}\x{30fc}-\x{30ff}\x{3105}-\x{312d}\x{3131}-\x{318e}\x{31a0}-\x{31ba}\x{31f0}-\x{31ff}\x{3400}-\x{4db5}\x{4e00}-\x{9fcc}\x{a000}-\x{a48c}\x{a4d0}-\x{a4fd}\x{a500}-\x{a60c}\x{a610}-\x{a61f}\x{a62a}\x{a62b}\x{a640}-\x{a66e}\x{a67f}-\x{a697}\x{a6a0}-\x{a6ef}\x{a717}-\x{a71f}\x{a722}-\x{a788}\x{a78b}-\x{a78e}\x{a790}-\x{a793}\x{a7a0}-\x{a7aa}\x{a7f8}-\x{a801}\x{a803}-\x{a805}\x{a807}-\x{a80a}\x{a80c}-\x{a822}\x{a840}-\x{a873}\x{a882}-\x{a8b3}\x{a8f2}-\x{a8f7}\x{a8fb}\x{a90a}-\x{a925}\x{a930}-\x{a946}\x{a960}-\x{a97c}\x{a984}-\x{a9b2}\x{a9cf}\x{aa00}-\x{aa28}\x{aa40}-\x{aa42}\x{aa44}-\x{aa4b}\x{aa60}-\x{aa76}\x{aa7a}\x{aa80}-\x{aaaf}\x{aab1}\x{aab5}\x{aab6}\x{aab9}-\x{aabd}\x{aac0}\x{aac2}\x{aadb}-\x{aadd}\x{aae0}-\x{aaea}\x{aaf2}-\x{aaf4}\x{ab01}-\x{ab06}\x{ab09}-\x{ab0e}\x{ab11}-\x{ab16}\x{ab20}-\x{ab26}\x{ab28}-\x{ab2e}\x{abc0}-\x{abe2}\x{ac00}-\x{d7a3}\x{d7b0}-\x{d7c6}\x{d7cb}-\x{d7fb}\x{f900}-\x{fa6d}\x{fa70}-\x{fad9}\x{fb00}-\x{fb06}\x{fb13}-\x{fb17}\x{fb1d}\x{fb1f}-\x{fb28}\x{fb2a}-\x{fb36}\x{fb38}-\x{fb3c}\x{fb3e}\x{fb40}\x{fb41}\x{fb43}\x{fb44}\x{fb46}-\x{fbb1}\x{fbd3}-\x{fd3d}\x{fd50}-\x{fd8f}\x{fd92}-\x{fdc7}\x{fdf0}-\x{fdfb}\x{fe70}-\x{fe74}\x{fe76}-\x{fefc}\x{ff21}-\x{ff3a}\x{ff41}-\x{ff5a}\x{ff66}-\x{ffbe}\x{ffc2}-\x{ffc7}\x{ffca}-\x{ffcf}\x{ffd2}-\x{ffd7}\x{ffda}-\x{ffdc}][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\x{02c1}\x{02c6}-\x{02d1}\x{02e0}-\x{02e4}\x{02ec}\x{02ee}\x{0370}-\x{0374}\x{0376}\x{0377}\x{037a}-\x{037d}\x{0386}\x{0388}-\x{038a}\x{038c}\x{038e}-\x{03a1}\x{03a3}-\x{03f5}\x{03f7}-\x{0481}\x{048a}-\x{0527}\x{0531}-\x{0556}\x{0559}\x{0561}-\x{0587}\x{05d0}-\x{05ea}\x{05f0}-\x{05f2}\x{0620}-\x{064a}\x{066e}\x{066f}\x{0671}-\x{06d3}\x{06d5}\x{06e5}\x{06e6}\x{06ee}\x{06ef}\x{06fa}-\x{06fc}\x{06ff}\x{0710}\x{0712}-\x{072f}\x{074d}-\x{07a5}\x{07b1}\x{07ca}-\x{07ea}\x{07f4}\x{07f5}\x{07fa}\x{0800}-\x{0815}\x{081a}\x{0824}\x{0828}\x{0840}-\x{0858}\x{08a0}\x{08a2}-\x{08ac}\x{0904}-\x{0939}\x{093d}\x{0950}\x{0958}-\x{0961}\x{0971}-\x{0977}\x{0979}-\x{097f}\x{0985}-\x{098c}\x{098f}\x{0990}\x{0993}-\x{09a8}\x{09aa}-\x{09b0}\x{09b2}\x{09b6}-\x{09b9}\x{09bd}\x{09ce}\x{09dc}\x{09dd}\x{09df}-\x{09e1}\x{09f0}\x{09f1}\x{0a05}-\x{0a0a}\x{0a0f}\x{0a10}\x{0a13}-\x{0a28}\x{0a2a}-\x{0a30}\x{0a32}\x{0a33}\x{0a35}\x{0a36}\x{0a38}\x{0a39}\x{0a59}-\x{0a5c}\x{0a5e}\x{0a72}-\x{0a74}\x{0a85}-\x{0a8d}\x{0a8f}-\x{0a91}\x{0a93}-\x{0aa8}\x{0aaa}-\x{0ab0}\x{0ab2}\x{0ab3}\x{0ab5}-\x{0ab9}\x{0abd}\x{0ad0}\x{0ae0}\x{0ae1}\x{0b05}-\x{0b0c}\x{0b0f}\x{0b10}\x{0b13}-\x{0b28}\x{0b2a}-\x{0b30}\x{0b32}\x{0b33}\x{0b35}-\x{0b39}\x{0b3d}\x{0b5c}\x{0b5d}\x{0b5f}-\x{0b61}\x{0b71}\x{0b83}\x{0b85}-\x{0b8a}\x{0b8e}-\x{0b90}\x{0b92}-\x{0b95}\x{0b99}\x{0b9a}\x{0b9c}\x{0b9e}\x{0b9f}\x{0ba3}\x{0ba4}\x{0ba8}-\x{0baa}\x{0bae}-\x{0bb9}\x{0bd0}\x{0c05}-\x{0c0c}\x{0c0e}-\x{0c10}\x{0c12}-\x{0c28}\x{0c2a}-\x{0c33}\x{0c35}-\x{0c39}\x{0c3d}\x{0c58}\x{0c59}\x{0c60}\x{0c61}\x{0c85}-\x{0c8c}\x{0c8e}-\x{0c90}\x{0c92}-\x{0ca8}\x{0caa}-\x{0cb3}\x{0cb5}-\x{0cb9}\x{0cbd}\x{0cde}\x{0ce0}\x{0ce1}\x{0cf1}\x{0cf2}\x{0d05}-\x{0d0c}\x{0d0e}-\x{0d10}\x{0d12}-\x{0d3a}\x{0d3d}\x{0d4e}\x{0d60}\x{0d61}\x{0d7a}-\x{0d7f}\x{0d85}-\x{0d96}\x{0d9a}-\x{0db1}\x{0db3}-\x{0dbb}\x{0dbd}\x{0dc0}-\x{0dc6}\x{0e01}-\x{0e30}\x{0e32}\x{0e33}\x{0e40}-\x{0e46}\x{0e81}\x{0e82}\x{0e84}\x{0e87}\x{0e88}\x{0e8a}\x{0e8d}\x{0e94}-\x{0e97}\x{0e99}-\x{0e9f}\x{0ea1}-\x{0ea3}\x{0ea5}\x{0ea7}\x{0eaa}\x{0eab}\x{0ead}-\x{0eb0}\x{0eb2}\x{0eb3}\x{0ebd}\x{0ec0}-\x{0ec4}\x{0ec6}\x{0edc}-\x{0edf}\x{0f00}\x{0f40}-\x{0f47}\x{0f49}-\x{0f6c}\x{0f88}-\x{0f8c}\x{1000}-\x{102a}\x{103f}\x{1050}-\x{1055}\x{105a}-\x{105d}\x{1061}\x{1065}\x{1066}\x{106e}-\x{1070}\x{1075}-\x{1081}\x{108e}\x{10a0}-\x{10c5}\x{10c7}\x{10cd}\x{10d0}-\x{10fa}\x{10fc}-\x{1248}\x{124a}-\x{124d}\x{1250}-\x{1256}\x{1258}\x{125a}-\x{125d}\x{1260}-\x{1288}\x{128a}-\x{128d}\x{1290}-\x{12b0}\x{12b2}-\x{12b5}\x{12b8}-\x{12be}\x{12c0}\x{12c2}-\x{12c5}\x{12c8}-\x{12d6}\x{12d8}-\x{1310}\x{1312}-\x{1315}\x{1318}-\x{135a}\x{1380}-\x{138f}\x{13a0}-\x{13f4}\x{1401}-\x{166c}\x{166f}-\x{167f}\x{1681}-\x{169a}\x{16a0}-\x{16ea}\x{16ee}-\x{16f0}\x{1700}-\x{170c}\x{170e}-\x{1711}\x{1720}-\x{1731}\x{1740}-\x{1751}\x{1760}-\x{176c}\x{176e}-\x{1770}\x{1780}-\x{17b3}\x{17d7}\x{17dc}\x{1820}-\x{1877}\x{1880}-\x{18a8}\x{18aa}\x{18b0}-\x{18f5}\x{1900}-\x{191c}\x{1950}-\x{196d}\x{1970}-\x{1974}\x{1980}-\x{19ab}\x{19c1}-\x{19c7}\x{1a00}-\x{1a16}\x{1a20}-\x{1a54}\x{1aa7}\x{1b05}-\x{1b33}\x{1b45}-\x{1b4b}\x{1b83}-\x{1ba0}\x{1bae}\x{1baf}\x{1bba}-\x{1be5}\x{1c00}-\x{1c23}\x{1c4d}-\x{1c4f}\x{1c5a}-\x{1c7d}\x{1ce9}-\x{1cec}\x{1cee}-\x{1cf1}\x{1cf5}\x{1cf6}\x{1d00}-\x{1dbf}\x{1e00}-\x{1f15}\x{1f18}-\x{1f1d}\x{1f20}-\x{1f45}\x{1f48}-\x{1f4d}\x{1f50}-\x{1f57}\x{1f59}\x{1f5b}\x{1f5d}\x{1f5f}-\x{1f7d}\x{1f80}-\x{1fb4}\x{1fb6}-\x{1fbc}\x{1fbe}\x{1fc2}-\x{1fc4}\x{1fc6}-\x{1fcc}\x{1fd0}-\x{1fd3}\x{1fd6}-\x{1fdb}\x{1fe0}-\x{1fec}\x{1ff2}-\x{1ff4}\x{1ff6}-\x{1ffc}\x{2071}\x{207f}\x{2090}-\x{209c}\x{2102}\x{2107}\x{210a}-\x{2113}\x{2115}\x{2119}-\x{211d}\x{2124}\x{2126}\x{2128}\x{212a}-\x{212d}\x{212f}-\x{2139}\x{213c}-\x{213f}\x{2145}-\x{2149}\x{214e}\x{2160}-\x{2188}\x{2c00}-\x{2c2e}\x{2c30}-\x{2c5e}\x{2c60}-\x{2ce4}\x{2ceb}-\x{2cee}\x{2cf2}\x{2cf3}\x{2d00}-\x{2d25}\x{2d27}\x{2d2d}\x{2d30}-\x{2d67}\x{2d6f}\x{2d80}-\x{2d96}\x{2da0}-\x{2da6}\x{2da8}-\x{2dae}\x{2db0}-\x{2db6}\x{2db8}-\x{2dbe}\x{2dc0}-\x{2dc6}\x{2dc8}-\x{2dce}\x{2dd0}-\x{2dd6}\x{2dd8}-\x{2dde}\x{2e2f}\x{3005}-\x{3007}\x{3021}-\x{3029}\x{3031}-\x{3035}\x{3038}-\x{303c}\x{3041}-\x{3096}\x{309d}-\x{309f}\x{30a1}-\x{30fa}\x{30fc}-\x{30ff}\x{3105}-\x{312d}\x{3131}-\x{318e}\x{31a0}-\x{31ba}\x{31f0}-\x{31ff}\x{3400}-\x{4db5}\x{4e00}-\x{9fcc}\x{a000}-\x{a48c}\x{a4d0}-\x{a4fd}\x{a500}-\x{a60c}\x{a610}-\x{a61f}\x{a62a}\x{a62b}\x{a640}-\x{a66e}\x{a67f}-\x{a697}\x{a6a0}-\x{a6ef}\x{a717}-\x{a71f}\x{a722}-\x{a788}\x{a78b}-\x{a78e}\x{a790}-\x{a793}\x{a7a0}-\x{a7aa}\x{a7f8}-\x{a801}\x{a803}-\x{a805}\x{a807}-\x{a80a}\x{a80c}-\x{a822}\x{a840}-\x{a873}\x{a882}-\x{a8b3}\x{a8f2}-\x{a8f7}\x{a8fb}\x{a90a}-\x{a925}\x{a930}-\x{a946}\x{a960}-\x{a97c}\x{a984}-\x{a9b2}\x{a9cf}\x{aa00}-\x{aa28}\x{aa40}-\x{aa42}\x{aa44}-\x{aa4b}\x{aa60}-\x{aa76}\x{aa7a}\x{aa80}-\x{aaaf}\x{aab1}\x{aab5}\x{aab6}\x{aab9}-\x{aabd}\x{aac0}\x{aac2}\x{aadb}-\x{aadd}\x{aae0}-\x{aaea}\x{aaf2}-\x{aaf4}\x{ab01}-\x{ab06}\x{ab09}-\x{ab0e}\x{ab11}-\x{ab16}\x{ab20}-\x{ab26}\x{ab28}-\x{ab2e}\x{abc0}-\x{abe2}\x{ac00}-\x{d7a3}\x{d7b0}-\x{d7c6}\x{d7cb}-\x{d7fb}\x{f900}-\x{fa6d}\x{fa70}-\x{fad9}\x{fb00}-\x{fb06}\x{fb13}-\x{fb17}\x{fb1d}\x{fb1f}-\x{fb28}\x{fb2a}-\x{fb36}\x{fb38}-\x{fb3c}\x{fb3e}\x{fb40}\x{fb41}\x{fb43}\x{fb44}\x{fb46}-\x{fbb1}\x{fbd3}-\x{fd3d}\x{fd50}-\x{fd8f}\x{fd92}-\x{fdc7}\x{fdf0}-\x{fdfb}\x{fe70}-\x{fe74}\x{fe76}-\x{fefc}\x{ff21}-\x{ff3a}\x{ff41}-\x{ff5a}\x{ff66}-\x{ffbe}\x{ffc2}-\x{ffc7}\x{ffca}-\x{ffcf}\x{ffd2}-\x{ffd7}\x{ffda}-\x{ffdc}0-9\x{0300}-\x{036f}\x{0483}-\x{0487}\x{0591}-\x{05bd}\x{05bf}\x{05c1}\x{05c2}\x{05c4}\x{05c5}\x{05c7}\x{0610}-\x{061a}\x{064b}-\x{0669}\x{0670}\x{06d6}-\x{06dc}\x{06df}-\x{06e4}\x{06e7}\x{06e8}\x{06ea}-\x{06ed}\x{06f0}-\x{06f9}\x{0711}\x{0730}-\x{074a}\x{07a6}-\x{07b0}\x{07c0}-\x{07c9}\x{07eb}-\x{07f3}\x{0816}-\x{0819}\x{081b}-\x{0823}\x{0825}-\x{0827}\x{0829}-\x{082d}\x{0859}-\x{085b}\x{08e4}-\x{08fe}\x{0900}-\x{0903}\x{093a}-\x{093c}\x{093e}-\x{094f}\x{0951}-\x{0957}\x{0962}\x{0963}\x{0966}-\x{096f}\x{0981}-\x{0983}\x{09bc}\x{09be}-\x{09c4}\x{09c7}\x{09c8}\x{09cb}-\x{09cd}\x{09d7}\x{09e2}\x{09e3}\x{09e6}-\x{09ef}\x{0a01}-\x{0a03}\x{0a3c}\x{0a3e}-\x{0a42}\x{0a47}\x{0a48}\x{0a4b}-\x{0a4d}\x{0a51}\x{0a66}-\x{0a71}\x{0a75}\x{0a81}-\x{0a83}\x{0abc}\x{0abe}-\x{0ac5}\x{0ac7}-\x{0ac9}\x{0acb}-\x{0acd}\x{0ae2}\x{0ae3}\x{0ae6}-\x{0aef}\x{0b01}-\x{0b03}\x{0b3c}\x{0b3e}-\x{0b44}\x{0b47}\x{0b48}\x{0b4b}-\x{0b4d}\x{0b56}\x{0b57}\x{0b62}\x{0b63}\x{0b66}-\x{0b6f}\x{0b82}\x{0bbe}-\x{0bc2}\x{0bc6}-\x{0bc8}\x{0bca}-\x{0bcd}\x{0bd7}\x{0be6}-\x{0bef}\x{0c01}-\x{0c03}\x{0c3e}-\x{0c44}\x{0c46}-\x{0c48}\x{0c4a}-\x{0c4d}\x{0c55}\x{0c56}\x{0c62}\x{0c63}\x{0c66}-\x{0c6f}\x{0c82}\x{0c83}\x{0cbc}\x{0cbe}-\x{0cc4}\x{0cc6}-\x{0cc8}\x{0cca}-\x{0ccd}\x{0cd5}\x{0cd6}\x{0ce2}\x{0ce3}\x{0ce6}-\x{0cef}\x{0d02}\x{0d03}\x{0d3e}-\x{0d44}\x{0d46}-\x{0d48}\x{0d4a}-\x{0d4d}\x{0d57}\x{0d62}\x{0d63}\x{0d66}-\x{0d6f}\x{0d82}\x{0d83}\x{0dca}\x{0dcf}-\x{0dd4}\x{0dd6}\x{0dd8}-\x{0ddf}\x{0df2}\x{0df3}\x{0e31}\x{0e34}-\x{0e3a}\x{0e47}-\x{0e4e}\x{0e50}-\x{0e59}\x{0eb1}\x{0eb4}-\x{0eb9}\x{0ebb}\x{0ebc}\x{0ec8}-\x{0ecd}\x{0ed0}-\x{0ed9}\x{0f18}\x{0f19}\x{0f20}-\x{0f29}\x{0f35}\x{0f37}\x{0f39}\x{0f3e}\x{0f3f}\x{0f71}-\x{0f84}\x{0f86}\x{0f87}\x{0f8d}-\x{0f97}\x{0f99}-\x{0fbc}\x{0fc6}\x{102b}-\x{103e}\x{1040}-\x{1049}\x{1056}-\x{1059}\x{105e}-\x{1060}\x{1062}-\x{1064}\x{1067}-\x{106d}\x{1071}-\x{1074}\x{1082}-\x{108d}\x{108f}-\x{109d}\x{135d}-\x{135f}\x{1712}-\x{1714}\x{1732}-\x{1734}\x{1752}\x{1753}\x{1772}\x{1773}\x{17b4}-\x{17d3}\x{17dd}\x{17e0}-\x{17e9}\x{180b}-\x{180d}\x{1810}-\x{1819}\x{18a9}\x{1920}-\x{192b}\x{1930}-\x{193b}\x{1946}-\x{194f}\x{19b0}-\x{19c0}\x{19c8}\x{19c9}\x{19d0}-\x{19d9}\x{1a17}-\x{1a1b}\x{1a55}-\x{1a5e}\x{1a60}-\x{1a7c}\x{1a7f}-\x{1a89}\x{1a90}-\x{1a99}\x{1b00}-\x{1b04}\x{1b34}-\x{1b44}\x{1b50}-\x{1b59}\x{1b6b}-\x{1b73}\x{1b80}-\x{1b82}\x{1ba1}-\x{1bad}\x{1bb0}-\x{1bb9}\x{1be6}-\x{1bf3}\x{1c24}-\x{1c37}\x{1c40}-\x{1c49}\x{1c50}-\x{1c59}\x{1cd0}-\x{1cd2}\x{1cd4}-\x{1ce8}\x{1ced}\x{1cf2}-\x{1cf4}\x{1dc0}-\x{1de6}\x{1dfc}-\x{1dff}\x{200c}\x{200d}\x{203f}\x{2040}\x{2054}\x{20d0}-\x{20dc}\x{20e1}\x{20e5}-\x{20f0}\x{2cef}-\x{2cf1}\x{2d7f}\x{2de0}-\x{2dff}\x{302a}-\x{302f}\x{3099}\x{309a}\x{a620}-\x{a629}\x{a66f}\x{a674}-\x{a67d}\x{a69f}\x{a6f0}\x{a6f1}\x{a802}\x{a806}\x{a80b}\x{a823}-\x{a827}\x{a880}\x{a881}\x{a8b4}-\x{a8c4}\x{a8d0}-\x{a8d9}\x{a8e0}-\x{a8f1}\x{a900}-\x{a909}\x{a926}-\x{a92d}\x{a947}-\x{a953}\x{a980}-\x{a983}\x{a9b3}-\x{a9c0}\x{a9d0}-\x{a9d9}\x{aa29}-\x{aa36}\x{aa43}\x{aa4c}\x{aa4d}\x{aa50}-\x{aa59}\x{aa7b}\x{aab0}\x{aab2}-\x{aab4}\x{aab7}\x{aab8}\x{aabe}\x{aabf}\x{aac1}\x{aaeb}-\x{aaef}\x{aaf5}\x{aaf6}\x{abe3}-\x{abea}\x{abec}\x{abed}\x{abf0}-\x{abf9}\x{fb1e}\x{fe00}-\x{fe0f}\x{fe20}-\x{fe26}\x{fe33}\x{fe34}\x{fe4d}-\x{fe4f}\x{ff10}-\x{ff19}\x{ff3f}]*\b'; - - /** - * Full list of JavaScript reserved words. - * Will be loaded from /data/js/keywords_reserved.txt - * - * @see https://mathiasbynens.be/notes/reserved-keywords - * @var string[] - */ - protected $keywordsReserved = array(); - - /** - * List of JavaScript reserved words that accept a <variable, value, ...> - * after them. Some end of lines are not the end of a statement, like with - * these keywords. - * - * E.g.: we shouldn't insert a ; after this else - * else - * console.log('this is quite fine') - * - * Will be loaded from /data/js/keywords_before.txt - * - * @var string[] - */ - protected $keywordsBefore = array(); - - /** - * List of JavaScript reserved words that accept a <variable, value, ...> - * before them. Some end of lines are not the end of a statement, like when - * continued by one of these keywords on the newline. - * - * E.g.: we shouldn't insert a ; before this instanceof - * variable - * instanceof String - * - * Will be loaded from /data/js/keywords_after.txt - * - * @var string[] - */ - protected $keywordsAfter = array(); - - /** - * List of JavaScript operators that accept a <variable, value, ...> after - * them. Some end of lines are not the end of a statement, like with these - * operators. - - * - * Note: Most operators are fine, we've only removed !, ++ and --. - * There can't be a newline separating ! and whatever it is negating. - * ++ & -- have to be joined with the value they're in-/decrementing. - * - * Will be loaded from /data/js/operators_before.txt - * - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators - * @var string[] - */ - protected $operatorsBefore = array(); - - /** - * List of JavaScript operators that accept a <variable, value, ...> before - * them. Some end of lines are not the end of a statement, like when - * continued by one of these operators on the newline. - * - * Note: Most operators are fine, we've only removed ), ], ++ and --. - * ++ & -- have to be joined with the value they're in-/decrementing. - * ) & ] are "special" in that they have lots or usecases. () for example - * is used for function calls, for grouping, in if () and for (), ... - * - * Will be loaded from /data/js/operators_after.txt - * - * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators - * @var string[] - */ - protected $operatorsAfter = array(); - - /** - * {@inheritDoc} - */ - public function __construct() - { - call_user_func_array(array('parent', '__construct'), func_get_args()); - - $dataDir = JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/'; - $options = FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES; - $this->keywordsReserved = file($dataDir.'keywords_reserved.txt', $options); - $this->keywordsBefore = file($dataDir.'keywords_before.txt', $options); - $this->keywordsAfter = file($dataDir.'keywords_after.txt', $options); - $this->operatorsBefore = file($dataDir.'operators_before.txt', $options); - $this->operatorsAfter = file($dataDir.'operators_after.txt', $options); - } - - /** - * Minify the data. - * Perform JS optimizations. - * - * @param string[optional] $path Path to write the data to. - * @return string The minified data. - */ - public function execute($path = null) - { - $content = ''; - - // loop files - foreach ($this->data as $source => $js) { - /* - * Combine js: separating the scripts by a ; - * I'm also adding a newline: it will be eaten when whitespace is - * stripped, but we need to make sure we're not just appending - * a new script right after a previous script that ended with a - * singe-line comment on the last line (in which case it would also - * be seen as part of that comment) - */ - $content .= $js."\n;"; - } - - /* - * Let's first take out strings, comments and regular expressions. - * All of these can contain JS code-like characters, and we should make - * sure any further magic ignores anything inside of these. - * - * Consider this example, where we should not strip any whitespace: - * var str = "a test"; - * - * Comments will be removed altogether, strings and regular expressions - * will be replaced by placeholder text, which we'll restore later. - */ - $this->extractStrings('\'"`'); - $this->stripComments(); - $this->extractRegex(); - $content = $this->replace($content); - - $content = $this->stripWhitespace($content); - $content = $this->propertyNotation($content); - $content = $this->shortenBools($content); - - /* - * Earlier, we extracted strings & regular expressions and replaced them - * with placeholder text. This will restore them. - */ - $content = $this->restoreExtractedData($content); - - return $content; - } - - /** - * Strip comments from source code. - */ - protected function stripComments() - { - // single-line comments - $this->registerPattern('/\/\/.*$/m', ''); - - // multi-line comments - $this->registerPattern('/\/\*.*?\*\//s', ''); - } - - /** - * JS can have /-delimited regular expressions, like: /ab+c/.match(string) - * - * The content inside the regex can contain characters that may be confused - * for JS code: e.g. it could contain whitespace it needs to match & we - * don't want to strip whitespace in there. - * - * The regex can be pretty simple: we don't have to care about comments, - * (which also use slashes) because stripComments() will have stripped those - * already. - * - * This method will replace all string content with simple REGEX# - * placeholder text, so we've rid all regular expressions from characters - * that may be misinterpreted. Original regex content will be saved in - * $this->extracted and after doing all other minifying, we can restore the - * original content via restoreRegex() - */ - protected function extractRegex() - { - // PHP only supports $this inside anonymous functions since 5.4 - $minifier = $this; - $callback = function ($match) use ($minifier) { - $count = count($minifier->extracted); - $placeholder = '/'.$count.'/'; - $minifier->extracted[$placeholder] = '/'.$match[1].'/'; - - return $placeholder; - }; - - // it's a regex if we can find an opening (not preceded by variable, - // value or similar) & (non-escaped) closing /, - $before = $this->getOperatorsForRegex($this->operatorsBefore, '/'); - $this->registerPattern('/^\s*+\K\/(.*?(?<!\\\\)(\\\\\\\\)*+)\//', $callback); - $this->registerPattern('/(?:'.implode('|', $before).')\s*+\K\/(.*?(?<!\\\\)(\\\\\\\\)*+)\//', $callback); - } - - /** - * Strip whitespace. - * - * We won't strip *all* whitespace, but as much as possible. The thing that - * we'll preserve are newlines we're unsure about. - * JavaScript doesn't require statements to be terminated with a semicolon. - * It will automatically fix missing semicolons with ASI (automatic semi- - * colon insertion) at the end of line causing errors (without semicolon.) - * - * Because it's sometimes hard to tell if a newline is part of a statement - * that should be terminated or not, we'll just leave some of them alone. - * - * @param string $content The content to strip the whitespace for. - * @return string - */ - protected function stripWhitespace($content) - { - // uniform line endings, make them all line feed - $content = str_replace(array("\r\n", "\r"), "\n", $content); - - // collapse all non-line feed whitespace into a single space - $content = preg_replace('/[^\S\n]+/', ' ', $content); - - // strip leading & trailing whitespace - $content = str_replace(array(" \n", "\n "), "\n", $content); - - // collapse consecutive line feeds into just 1 - $content = preg_replace('/\n+/', "\n", $content); - - // strip whitespace that ends in (or next line begin with) an operator - // that allows statements to be broken up over multiple lines - $before = $this->getOperatorsForRegex($this->operatorsBefore, '/'); - $after = $this->getOperatorsForRegex($this->operatorsAfter, '/'); - $content = preg_replace('/('.implode('|', $before).')\s+/', '\\1', $content); - $content = preg_replace('/\s+('.implode('|', $after).')/', '\\1', $content); - - // make sure + and - can't be mistaken for, or joined into ++ and -- - $content = preg_replace('/(?<![\+\-])\s*([\+\-])(?![\+\-])/', '\\1', $content); - $content = preg_replace('/(?<![\+\-])([\+\-])\s*(?![\+\-])/', '\\1', $content); - - /* - * We didn't strip whitespace after a couple of operators because they - * could be used in different contexts and we can't be sure it's ok to - * strip the newlines. However, we can safely strip any non-line feed - * whitespace that follows them. - */ - $operators = $this->getOperatorsForRegex($this->operatorsBefore + $this->operatorsAfter, '/'); - $content = preg_replace('/([\}\)\]])[^\S\n]+(?!'.implode('|', $operators).')/', '\\1', $content); - - // collapse whitespace around reserved words into single space - $before = $this->getKeywordsForRegex($this->keywordsBefore, '/'); - $after = $this->getKeywordsForRegex($this->keywordsAfter, '/'); - $content = preg_replace('/(^|[;\}\s])\K('.implode('|', $before).')\s+/', '\\2 ', $content); - $content = preg_replace('/\s+('.implode('|', $after).')(?=([;\{\s]|$))/', ' \\1', $content); - - // get rid of double semicolons, except when followed by closing-), - // where semicolons can be used like: "for(v=1,_=b;;)" - $content = preg_replace('/;+(?!\))/', ';', $content); - - /* - * Next, we'll be removing all semicolons where ASI kicks in. - * for-loops however, can have an empty body (ending in only a - * semicolon), like: `for(i=1;i<3;i++);` - * Here, nothing happens during the loop; it's just used to keep - * increasing `i`. With that ; omitted, the next line would be expected - * to be the for-loop's body... - * I'm going to double that semicolon (if any) so after the next line, - * which strips semicolons here & there, we're still left with this one. - */ - $content = preg_replace('/(for\([^;]*;[^;]*;[^;\{]*\));(\}|$)/s', '\\1;;\\2', $content); - - /* - * We also don't really want to terminate statements followed by closing - * curly braces (which we've ignored completely up until now) or end-of- - * script: ASI will kick in here & we're all about minifying. - * Semicolons at beginning of the file don't make any sense either. - */ - $content = preg_replace('/;(\}|$)/s', '\\1', $content); - $content = ltrim($content, ';'); - - // get rid of remaining whitespace af beginning/end - return trim($content); - } - - /** - * We'll strip whitespace around certain operators with regular expressions. - * This will prepare the given array by escaping all characters. - * - * @param string[] $operators - * @param string $delimiter - * @return string[] - */ - protected function getOperatorsForRegex(array $operators, $delimiter = '/') - { - // escape operators for use in regex - $delimiter = array_fill(0, count($operators), $delimiter); - $escaped = array_map('preg_quote', $operators, $delimiter); - - $operators = array_combine($operators, $escaped); - - // ignore + & - for now, they'll get special treatment - unset($operators['+'], $operators['-']); - - // dot can not just immediately follow a number; it can be confused for - // decimal point, or calling a method on it, e.g. 42 .toString() - $operators['.'] = '(?<![0-9]\s)\.'; - - return $operators; - } - - /** - * We'll strip whitespace around certain keywords with regular expressions. - * This will prepare the given array by escaping all characters. - * - * @param string[] $keywords - * @param string $delimiter - * @return string[] - */ - protected function getKeywordsForRegex(array $keywords, $delimiter = '/') - { - // escape keywords for use in regex - $delimiter = array_fill(0, count($keywords), $delimiter); - $escaped = array_map('preg_quote', $keywords, $delimiter); - - // add word boundaries - array_walk($keywords, function ($value) { - return '\b'.$value.'\b'; - }); - - $keywords = array_combine($keywords, $escaped); - - return $keywords; - } - - /** - * Replaces all occurrences of array['key'] by array.key - * - * @param string $content - * @return string - */ - protected function propertyNotation($content) - { - // PHP only supports $this inside anonymous functions since 5.4 - $minifier = $this; - $keywords = $this->keywordsReserved; - $callback = function ($match) use ($minifier, $keywords) { - $property = trim($minifier->extracted[$match[1]], '\'"'); - - /* - * Check if the property is a reserved keyword. In this context (as - * property of an object literal/array) it shouldn't matter, but IE8 - * freaks out with "Expected identifier". - */ - if (in_array($property, $keywords)) { - return $match[0]; - } - - /* - * See if the property is in a variable-like format (e.g. - * array['key-here'] can't be replaced by array.key-here since '-' - * is not a valid character there. - */ - if (!preg_match('/^'.$minifier::REGEX_VARIABLE.'$/u', $property)) { - return $match[0]; - } - - return '.'.$property; - }; - - /* - * Figure out if previous character is a variable name (of the array - * we want to use property notation on) - this is to make sure - * standalone ['value'] arrays aren't confused for keys-of-an-array. - * We can (and only have to) check the last character, because PHP's - * regex implementation doesn't allow un-fixed-length lookbehind - * assertions. - */ - preg_match('/(\[[^\]]+\])[^\]]*$/', static::REGEX_VARIABLE, $previousChar); - $previousChar = $previousChar[1]; - - /* - * Make sure word preceding the ['value'] is not a keyword, e.g. - * return['x']. Because -again- PHP's regex implementation doesn't allow - * un-fixed-length lookbehind assertions, I'm just going to do a lot of - * separate lookbehind assertions, one for each keyword. - */ - $keywords = $this->getKeywordsForRegex($keywords); - $keywords = '(?<!'.implode(')(?<!', $keywords).')'; - return preg_replace_callback('/(?<='.$previousChar.'|\])'.$keywords.'\[(([\'"])[0-9]+\\2)\]/u', $callback, $content); - } - - /** - * Replaces true & false by !0 and !1. - * - * @param string $content - * @return string - */ - protected function shortenBools($content) - { - $content = preg_replace('/\btrue\b/', '!0', $content); - $content = preg_replace('/\bfalse\b/', '!1', $content); - - // for(;;) is exactly the same as while(true) - $content = preg_replace('/\bwhile\(!0\)/', 'for(;;)', $content); - - return $content; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_after.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_after.txt deleted file mode 100644 index 7ad651f54..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_after.txt +++ /dev/null @@ -1,7 +0,0 @@ -in -public -extends -private -protected -implements -instanceof \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_before.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_before.txt deleted file mode 100644 index c63026039..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_before.txt +++ /dev/null @@ -1,28 +0,0 @@ -do -in -let -new -var -case -else -enum -void -with -class -const -yield -delete -export -import -public -return -static -typeof -extends -package -private -continue -function -protected -implements -instanceof \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_reserved.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_reserved.txt deleted file mode 100644 index 626306fe5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/keywords_reserved.txt +++ /dev/null @@ -1,47 +0,0 @@ -do -if -in -for -let -new -try -var -case -else -enum -eval -null -this -true -void -with -break -catch -class -const -false -super -throw -while -yield -delete -export -import -public -return -static -switch -typeof -default -extends -finally -package -private -continue -debugger -function -arguments -interface -protected -implements -instanceof \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/minify.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/minify.php deleted file mode 100644 index a49b1e9e4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/minify.php +++ /dev/null @@ -1,382 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage minify.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Abstract minifier class. - * - * Please report bugs on https://github.com/matthiasmullie/minify/issues - * - * @author Matthias Mullie <minify@mullie.eu> - * - * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved. - * @license MIT License - */ -abstract class Minify -{ - /** - * The data to be minified - * - * @var string[] - */ - protected $data = array(); - - /** - * Array of patterns to match. - * - * @var string[] - */ - protected $patterns = array(); - - /** - * This array will hold content of strings and regular expressions that have - * been extracted from the JS source code, so we can reliably match "code", - * without having to worry about potential "code-like" characters inside. - * - * @var string[] - */ - public $extracted = array(); - - /** - * Init the minify class - optionally, code may be passed along already. - */ - public function __construct(/* $data = null, ... */) - { - // it's possible to add the source through the constructor as well ;) - if (func_num_args()) { - call_user_func_array(array($this, 'add'), func_get_args()); - } - } - - /** - * Add a file or straight-up code to be minified. - * - * @param string $data - */ - public function add($data /* $data = null, ... */) - { - // bogus "usage" of parameter $data: scrutinizer warns this variable is - // not used (we're using func_get_args instead to support overloading), - // but it still needs to be defined because it makes no sense to have - // this function without argument :) - $args = array($data) + func_get_args(); - - // this method can be overloaded - foreach ($args as $data) { - // redefine var - $data = (string) $data; - - // load data - $value = $this->load($data); - $key = ($data != $value) ? $data : count($this->data); - - // store data - $this->data[$key] = $value; - } - } - - /** - * Load data. - * - * @param string $data Either a path to a file or the content itself. - * @return string - */ - protected function load($data) - { - // check if the data is a file - if (@file_exists($data) && is_file($data)) { - $data = @file_get_contents($data); - - // strip BOM, if any - if (substr($data, 0, 3) == "\xef\xbb\xbf") { - $data = substr($data, 3); - } - } - - return $data; - } - - /** - * Save to file - * - * @param string $content The minified data. - * @param string $path The path to save the minified data to. - * @throws Exception - */ - protected function save($content, $path) - { - // create file & open for writing - if (($handler = @fopen($path, 'w')) === false) { - throw new Exception('The file "'.$path.'" could not be opened. Check if PHP has enough permissions.'); - } - - // write to file - if (@fwrite($handler, $content) === false) { - throw new Exception('The file "'.$path.'" could not be written to. Check if PHP has enough permissions.'); - } - - // close the file - @fclose($handler); - } - - /** - * Minify the data & (optionally) saves it to a file. - * - * @param string[optional] $path Path to write the data to. - * @return string The minified data. - */ - public function minify($path = null) - { - $content = $this->execute($path); - - // save to path - if ($path !== null) { - $this->save($content, $path); - } - - return $content; - } - - /** - * Minify & gzip the data & (optionally) saves it to a file. - * - * @param string[optional] $path Path to write the data to. - * @param int[optional] $level Compression level, from 0 to 9. - * @return string The minified & gzipped data. - */ - public function gzip($path = null, $level = 9) - { - $content = $this->execute($path); - $content = gzencode($content, $level, FORCE_GZIP); - - // save to path - if ($path !== null) { - $this->save($content, $path); - } - - return $content; - } - - /** - * Minify the data. - * - * @param string[optional] $path Path to write the data to. - * @return string The minified data. - */ - abstract protected function execute($path = null); - - /** - * Register a pattern to execute against the source content. - * - * @param string $pattern PCRE pattern. - * @param string|callable $replacement Replacement value for matched pattern. - * @throws Exception - */ - protected function registerPattern($pattern, $replacement = '') - { - // study the pattern, we'll execute it more than once - $pattern .= 'S'; - - $this->patterns[] = array($pattern, $replacement); - } - - /** - * We can't "just" run some regular expressions against JavaScript: it's a - * complex language. E.g. having an occurrence of // xyz would be a comment, - * unless it's used within a string. Of you could have something that looks - * like a 'string', but inside a comment. - * The only way to accurately replace these pieces is to traverse the JS one - * character at a time and try to find whatever starts first. - * - * @param string $content The content to replace patterns in. - * @return string The (manipulated) content. - */ - protected function replace($content) - { - $processed = ''; - $positions = array_fill(0, count($this->patterns), -1); - $matches = array(); - - while ($content) { - // find first match for all patterns - foreach ($this->patterns as $i => $pattern) { - list($pattern, $replacement) = $pattern; - - // no need to re-run matches that are still in the part of the - // content that hasn't been processed - if ($positions[$i] >= 0) { - continue; - } - - $match = null; - if (preg_match($pattern, $content, $match)) { - $matches[$i] = $match; - - // we'll store the match position as well; that way, we - // don't have to redo all preg_matches after changing only - // the first (we'll still know where those others are) - $positions[$i] = strpos($content, $match[0]); - } else { - // if the pattern couldn't be matched, there's no point in - // executing it again in later runs on this same content; - // ignore this one until we reach end of content - unset($matches[$i]); - $positions[$i] = strlen($content); - } - } - - // no more matches to find: everything's been processed, break out - if (!$matches) { - $processed .= $content; - break; - } - - // see which of the patterns actually found the first thing (we'll - // only want to execute that one, since we're unsure if what the - // other found was not inside what the first found) - $discardLength = min($positions); - $firstPattern = array_search($discardLength, $positions); - $match = $matches[$firstPattern][0]; - - // execute the pattern that matches earliest in the content string - list($pattern, $replacement) = $this->patterns[$firstPattern]; - $replacement = $this->replacePattern($pattern, $replacement, $content); - - // figure out which part of the string was unmatched; that's the - // part we'll execute the patterns on again next - $content = substr($content, $discardLength); - $unmatched = (string) substr($content, strpos($content, $match) + strlen($match)); - - // move the replaced part to $processed and prepare $content to - // again match batch of patterns against - $processed .= substr($replacement, 0, strlen($replacement) - strlen($unmatched)); - $content = $unmatched; - - // first match has been replaced & that content is to be left alone, - // the next matches will start after this replacement, so we should - // fix their offsets - foreach ($positions as $i => $position) { - $positions[$i] -= $discardLength + strlen($match); - } - } - - return $processed; - } - - /** - * This is where a pattern is matched against $content and the matches - * are replaced by their respective value. - * This function will be called plenty of times, where $content will always - * move up 1 character. - * - * @param string $pattern Pattern to match. - * @param string|callable $replacement Replacement value. - * @param string $content Content to match pattern against. - * @return string - */ - protected function replacePattern($pattern, $replacement, $content) - { - if (is_callable($replacement)) { - return preg_replace_callback($pattern, $replacement, $content, 1, $count); - } else { - return preg_replace($pattern, $replacement, $content, 1, $count); - } - } - - /** - * Strings are a pattern we need to match, in order to ignore potential - * code-like content inside them, but we just want all of the string - * content to remain untouched. - * - * This method will replace all string content with simple STRING# - * placeholder text, so we've rid all strings from characters that may be - * misinterpreted. Original string content will be saved in $this->extracted - * and after doing all other minifying, we can restore the original content - * via restoreStrings() - * - * @param string[optional] $chars - */ - protected function extractStrings($chars = '\'"') - { - // PHP only supports $this inside anonymous functions since 5.4 - $minifier = $this; - $callback = function ($match) use ($minifier) { - if (!$match[1]) { - /* - * Empty strings need no placeholder; they can't be confused for - * anything else anyway. - * But we still needed to match them, for the extraction routine - * to skip over this particular string. - */ - return $match[0]; - } - - $count = count($minifier->extracted); - $placeholder = $match[1].$count.$match[1]; - $minifier->extracted[$placeholder] = $match[1].$match[2].$match[1]; - - return $placeholder; - }; - - /* - * The \\ messiness explained: - * * Don't count ' or " as end-of-string if it's escaped (has backslash - * in front of it) - * * Unless... that backslash itself is escaped (another leading slash), - * in which case it's no longer escaping the ' or " - * * So there can be either no backslash, or an even number - * * multiply all of that times 4, to account for the escaping that has - * to be done to pass the backslash into the PHP string without it being - * considered as escape-char (times 2) and to get it in the regex, - * escaped (times 2) - */ - $this->registerPattern('/(['.$chars.'])(.*?((?<!\\\\)|\\\\\\\\+))\\1/s', $callback); - } - - /** - * This method will restore all extracted data (strings, regexes) that were - * replaced with placeholder text in extract*(). The original content was - * saved in $this->extracted. - * - * @param string $content - * @return string - */ - protected function restoreExtractedData($content) - { - if (!$this->extracted) { - // nothing was extracted, nothing to restore - return $content; - } - - $content = strtr($content, $this->extracted); - - $this->extracted = array(); - - return $content; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/operators_after.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/operators_after.txt deleted file mode 100644 index 68b7943d3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/operators_after.txt +++ /dev/null @@ -1,45 +0,0 @@ -+ -- -* -/ -% -= -+= --= -*= -/= -%= -<<= ->>= ->>>= -&= -^= -|= -& -| -^ -~ -<< ->> ->>> -== -=== -!= -!== -> -< ->= -<= -&& -|| -. -[ -] -? -: -, -; -( -) -{ -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/operators_before.txt b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/operators_before.txt deleted file mode 100644 index 3bc220ac7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/helpers/operators_before.txt +++ /dev/null @@ -1,43 +0,0 @@ -+ -- -* -/ -% -= -+= --= -*= -/= -%= -<<= ->>= ->>>= -&= -^= -|= -& -| -^ -~ -<< ->> ->>> -== -=== -!= -!== -> -< ->= -<= -&& -|| -! -. -[ -? -: -, -; -( -{ \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/en-GB.com_componentbuilder.ini deleted file mode 100644 index 2c60704f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ /dev/null @@ -1,2941 +0,0 @@ -COM_COMPONENTBUILDER="Component Builder" -COM_COMPONENTBUILDER_ADMIN_VIEW="Admin View" -COM_COMPONENTBUILDER_ADMIN_VIEWS="Admin Views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS="Admin Views Access" -COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access admin views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_OPTIONS="Batch process the selected Admin Views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_TIP="All changes will be applied to all selected Admin Views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE="Admin Views Batch Use" -COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch admin views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE="Admin Views Create" -COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create admin views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_DASHBOARD_ADD="Admin Views Dashboard Add" -COM_COMPONENTBUILDER_ADMIN_VIEWS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the admin view" -COM_COMPONENTBUILDER_ADMIN_VIEWS_DASHBOARD_LIST="Admin Views Dashboard List" -COM_COMPONENTBUILDER_ADMIN_VIEWS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the admin view" -COM_COMPONENTBUILDER_ADMIN_VIEWS_DELETE="Admin Views Delete" -COM_COMPONENTBUILDER_ADMIN_VIEWS_DELETE_DESC="Allows the users in this group to delete delete admin views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT="Admin Views Edit" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_DESC="Allows the users in this group to edit the admin view" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_OWN="Admin Views Edit Own" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_OWN_DESC="Allows the users in this group to edit edit own admin views created by them" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_STATE="Admin Views Edit State" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin view" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION="Admin Views Edit Version" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version admin views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT="Admin Views Export" -COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT_DESC="Allows the users in this group to export export admin views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT="Admin Views Import" -COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT_DESC="Allows the users in this group to import import admin views" -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_ARCHIVED="%s Admin Views archived." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_ARCHIVED_1="%s Admin View archived." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_CHECKED_IN_0="No Admin View successfully checked in." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_CHECKED_IN_1="%d Admin View successfully checked in." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_CHECKED_IN_MORE="%d Admin Views successfully checked in." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_DELETED="%s Admin Views deleted." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_DELETED_1="%s Admin View deleted." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_FEATURED="%s Admin Views featured." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_FEATURED_1="%s Admin View featured." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_PUBLISHED="%s Admin Views published." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_PUBLISHED_1="%s Admin View published." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_TRASHED="%s Admin Views trashed." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_TRASHED_1="%s Admin View trashed." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_UNFEATURED="%s Admin Views unfeatured." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_UNFEATURED_1="%s Admin View unfeatured." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_UNPUBLISHED="%s Admin Views unpublished." -COM_COMPONENTBUILDER_ADMIN_VIEWS_N_ITEMS_UNPUBLISHED_1="%s Admin View unpublished." -COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU="Admin Views Submenu" -COM_COMPONENTBUILDER_ADMIN_VIEWS_SUBMENU_DESC="Allows the users in this group to update the submenu of the admin view" -COM_COMPONENTBUILDER_ADMIN_VIEW_ABOVE_TABS="Above Tabs" -COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_DESCRIPTION="Enter Action Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_LABEL="Action Name" -COM_COMPONENTBUILDER_ADMIN_VIEW_ACTIVE_ONLY_FOUR_TEXT_FIELD="Active (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS="Addconditions" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_DESCRIPTION="Conditional setup for the above fields." -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_SELECT="Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDFIELDS="Addfields" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDFIELDS_DESCRIPTION="Setup fields for this view." -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDFIELDS_SELECT="Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDLINKED_VIEWS="Addlinked Views" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDLINKED_VIEWS_DESCRIPTION="Setup the linked views for this view." -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDLINKED_VIEWS_SELECT="Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDNEW_LABEL="Add New Button" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDPERMISSIONS="Addpermissions" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDPERMISSIONS_DESCRIPTION="Set permissions for this view" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDPERMISSIONS_SELECT="Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES="Addtables" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_SELECT="Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABS="Addtabs" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABS_DESCRIPTION="Setup tabs for this view." -COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABS_SELECT="Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CSS_VIEW="Add Css View" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CSS_VIEWS="Add Css Views" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CSS_VIEWS_LABEL="Add CSS (views)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CSS_VIEW_LABEL="Add CSS (view)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FILE="Add Javascript Views File" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FILE_LABEL="Add JavaScript (views-file)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FOOTER="Add Javascript Views Footer" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL="Add JavaScript (views-footer)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FILE="Add Javascript View File" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FILE_LABEL="Add JavaScript (view-file)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FOOTER="Add Javascript View Footer" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL="Add JavaScript (view-footer)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE="Add Php After Delete" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL="Add PHP (script - after delete)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX="Add Php Ajax" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX_LABEL="Add PHP (AJAX)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT="Add Php Allowedit" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL="Add PHP (allowEdit Method)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY="Add Php Batchcopy" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL="Add PHP (batchCopy Method)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE="Add Php Batchmove" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL="Add PHP (batchMove Method)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE="Add Php Before Delete" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL="Add PHP (script - before delete)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM="Add Php Getitem" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS="Add Php Getitems" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL="Add PHP (getItems Method)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM_LABEL="Add PHP (getItem Method)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY="Add Php Getlistquery" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL="Add PHP (getListQuery - JModelList)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK="Add Php Postsavehook" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL="Add PHP (postSaveHook Method)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE="Add Php Save" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL="Add PHP (save Method)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL="Add Sql" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL="Add MySQL (to view table)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW="Adminview" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_DESCRIPTION="Select an admin view" -COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_LABEL="View" -COM_COMPONENTBUILDER_ADMIN_VIEW_AJAX_INPUT="Ajax Input" -COM_COMPONENTBUILDER_ADMIN_VIEW_AJAX_INPUT_SELECT="Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_DESCRIPTION="Select if the field is the alias field." -COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_LABEL="Alias" -COM_COMPONENTBUILDER_ADMIN_VIEW_ALIGNMENT_DESCRIPTION="Select the field alignment inside a tab/view." -COM_COMPONENTBUILDER_ADMIN_VIEW_ALIGNMENT_LABEL="Alignment" -COM_COMPONENTBUILDER_ADMIN_VIEW_ALNUM="ALNUM" -COM_COMPONENTBUILDER_ADMIN_VIEW_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST="Any Selection (only 4 list/radio/checkboxes/dynamic_list)" -COM_COMPONENTBUILDER_ADMIN_VIEW_ARRAY="ARRAY" -COM_COMPONENTBUILDER_ADMIN_VIEW_BASESIXTY_FOUR="BASE64" -COM_COMPONENTBUILDER_ADMIN_VIEW_BOOLEAN="BOOLEAN" -COM_COMPONENTBUILDER_ADMIN_VIEW_BOTH="Both" -COM_COMPONENTBUILDER_ADMIN_VIEW_CHAIN="Chain" -COM_COMPONENTBUILDER_ADMIN_VIEW_CMD="CMD" -COM_COMPONENTBUILDER_ADMIN_VIEW_CORECREATE="core.create" -COM_COMPONENTBUILDER_ADMIN_VIEW_COREDELETE="core.delete" -COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDIT="core.edit" -COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITCREATED="core.edit.created" -COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITCREATED_BY="core.edit.created_by" -COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITOWN="core.edit.own" -COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITSTATE="core.edit.state" -COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_DESC="The user that created the Admin View." -COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_DESC="The date Admin View was created." -COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS="CSS" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW="Css View" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS="Css Views" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_DESCRIPTION="Add your CSS here! [Do not add the style tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_HINT="// CSS for the list view" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_LABEL="CSS" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_DESCRIPTION="Add your CSS here! [Do not add the style tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_HINT="// CSS for the edit view" -COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_LABEL="CSS" -COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION="Description" -COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_DESCRIPTION="Add Description Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_HINT="Add Description Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP="Dump" -COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT="Editing the Admin View" -COM_COMPONENTBUILDER_ADMIN_VIEW_ERROR_UNIQUE_ALIAS="Another Admin View has the same alias." -COM_COMPONENTBUILDER_ADMIN_VIEW_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD="Exact Length (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_FIELD="Field" -COM_COMPONENTBUILDER_ADMIN_VIEW_FIELDS="Fields" -COM_COMPONENTBUILDER_ADMIN_VIEW_FIELD_DESCRIPTION="Select a field" -COM_COMPONENTBUILDER_ADMIN_VIEW_FIELD_LABEL="Field" -COM_COMPONENTBUILDER_ADMIN_VIEW_FILTER_DESCRIPTION="Select if the field is to be used as a filter in list view, if shown." -COM_COMPONENTBUILDER_ADMIN_VIEW_FILTER_LABEL="Filter" -COM_COMPONENTBUILDER_ADMIN_VIEW_FLOAT="FLOAT" -COM_COMPONENTBUILDER_ADMIN_VIEW_FULL_WIDTH_IN_TAB="Full Width in Tab" -COM_COMPONENTBUILDER_ADMIN_VIEW_HIDE="Hide" -COM_COMPONENTBUILDER_ADMIN_VIEW_HTML="HTML" -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON="Icon" -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD="Icon Add" -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION="Must be 128px x 128px and a png format.." -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_LABEL="Add Icon" -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY="Icon Category" -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION="Must be 128px x 128px and a png format.." -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_LABEL="Category Icon" -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION="Must be 128px x 128px and a png format." -COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL="Icon" -COM_COMPONENTBUILDER_ADMIN_VIEW_ID="Id" -COM_COMPONENTBUILDER_ADMIN_VIEW_IMPLEMENTATION_DESCRIPTION="Select applicable implementation." -COM_COMPONENTBUILDER_ADMIN_VIEW_IMPLEMENTATION_LABEL="Implementation" -COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_DEFAULT_DESCRIPTION="Enter default input value" -COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_DEFAULT_HINT="Default Value Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_DEFAULT_LABEL="Default" -COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_FILTER_DESCRIPTION="Select the filter used to sanitized the input value." -COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_FILTER_LABEL="Select a Filter" -COM_COMPONENTBUILDER_ADMIN_VIEW_INT="INT" -COM_COMPONENTBUILDER_ADMIN_VIEW_IN_RELATION_TO_EACH_RECORD="In Relation to each Record" -COM_COMPONENTBUILDER_ADMIN_VIEW_IN_RELATION_TO_THE_WHOLE_VIEW="In Relation to the Whole View" -COM_COMPONENTBUILDER_ADMIN_VIEW_ISOLATE="Isolate" -COM_COMPONENTBUILDER_ADMIN_VIEW_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES="Is Not (only 4 list/radio/checkboxes)" -COM_COMPONENTBUILDER_ADMIN_VIEW_IS_ONLY_FOUR_LISTRADIOCHECKBOXES="Is (only 4 list/radio/checkboxes)" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT="JavaScript" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE="Javascript Views File" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_HINT="// JavaScript for the list view that is loaded in the header via a JS file" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_LABEL="Javascript" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER="Javascript Views Footer" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT="// JavaScript for the list view that is loaded in the footer inside script tags" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_LABEL="Javascript" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE="Javascript View File" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_HINT="// JavaScript for the edit view that is loaded in the header via a JS file" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_LABEL="Javascript" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER="Javascript View Footer" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_HINT="// JavaScript for the edit view that is loaded in the footer inside script tags" -COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_LABEL="Javascript" -COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_DESCRIPTION="The key to use to link the child view." -COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_HINT="country" -COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_LABEL="Child Key" -COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD="Key Word All case-insensitive (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD="Key Word All case-sensitive (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD="Key Word Any case-insensitive (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD="Key Word Any case-sensitive (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_LEFT_IN_TAB="Left in Tab" -COM_COMPONENTBUILDER_ADMIN_VIEW_LEFT_OF_TABS="Left of Tabs" -COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_DESCRIPTION="Select if the field is to be used as a link to a single record, if shown." -COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_LABEL="Link" -COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_DESCRIPTION="Select if the field it to show in the list view." -COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_LABEL="Admin List" -COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_BEHAVIOR_DESCRIPTION="Select the match behavior." -COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_BEHAVIOR_LABEL="Match Behavior" -COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_FIELD="Match Field" -COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_FIELD_DESCRIPTION="Select the match field." -COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_FIELD_LABEL="Match Field" -COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_OPTIONS_HINT="Options here" -COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_OPTIONS_LABEL="Match Options" -COM_COMPONENTBUILDER_ADMIN_VIEW_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD="Max Length (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_DESCRIPTION="Enter method name." -COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_HINT="Method Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_LABEL="Method Name" -COM_COMPONENTBUILDER_ADMIN_VIEW_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD="Min Length (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL="MySQL" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LABEL="Name" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST="Name List" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_DESCRIPTION="The name of the list of records in this view" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_HINT="List of Records Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_LABEL="Name (list of records)" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE="Name Single" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_DESCRIPTION="Type null if single record view is not to be set" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_HINT="Single Record Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_LABEL="Name (single record)" -COM_COMPONENTBUILDER_ADMIN_VIEW_NEW="A New Admin View" -COM_COMPONENTBUILDER_ADMIN_VIEW_NO="No" -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_DESCRIPTION="Here you can add conditional field settings" -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_LABEL="Condition Implementation" -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_DESCRIPTION="Only if you add permissions here will this view have permissions." -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_LABEL="Permission Implementation" -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION="If no tabs has been set all fields will be displayed together in one tab." -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL="Tab Setup Options" -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_DESCRIPTION="id, asset_id, state, access, ordering, created_by, date_created, modified_by, date_modified, checked_out, checked_out_time, version, hits, metakey, metadesc, metadata (you don't need to add them again)" -COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_LABEL="The following fields are added by default to all views" -COM_COMPONENTBUILDER_ADMIN_VIEW_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_ADMIN_VIEW_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_EDIT_DESCRIPTION="Order in relation to tab &amp; alignment of admin and site." -COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_EDIT_LABEL="Order in Edit" -COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_LIST_DESCRIPTION="Ordering in relation to list view of admin and site" -COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_LIST_LABEL="Order in list views" -COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_DESCRIPTION="The key to use to link the parent view." -COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_HINT="id" -COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_LABEL="Parent Key" -COM_COMPONENTBUILDER_ADMIN_VIEW_PATH="PATH" -COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION="Permissions" -COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION_DESCRIPTION="Should permission be used." -COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION_LABEL="Permissions" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE="Php After Delete" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT="// PHP Here that should run in the delete Method after items were deleted. Array $pks is an array of record primary keys." -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD="Php Ajaxmethod" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_HINT="// PHP Method that should run in the AJAX Model" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL="php Ajax Method" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT="Php Allowedit" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT="// PHP Here that should run in the allowEdit Method (to add custom access control)" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY="Php Batchcopy" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_HINT="// PHP Here that should run in the batchCopy Method (submitted values are in $values, id's are in $pks)" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE="Php Batchmove" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT="// PHP Here that should run in the batchMove Method (submitted values are in $values, id's are in $pks)" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE="Php Before Delete" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT="// PHP Here that should run in the delete Method before items are deleted. Array $pks is an array of record primary keys." -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM="Php Getitem" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS="Php Getitems" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_HINT="// PHP Here that should run in the getItem Method (object) $item is where all values are" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY="Php Getlistquery" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT="// PHP Here that should run in the getlistquery Method (to add custom filtering)" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK="Php Postsavehook" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_HINT="// PHP Here that should run in the postSaveHook Method (object) $model is the data model object and (array) $validData is the validated data." -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE="Php Save" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT="// PHP Here that should run in the save Method (array) $data is where all values are" -COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL="PHP" -COM_COMPONENTBUILDER_ADMIN_VIEW_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_ADMIN_VIEW_RAW="RAW" -COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY="readonly" -COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE="read/write" -COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_IN_TAB="Right in Tab" -COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_OF_TABS="Right of Tabs" -COM_COMPONENTBUILDER_ADMIN_VIEW_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Admin View to customise the alias." -COM_COMPONENTBUILDER_ADMIN_VIEW_SEARCH_DESCRIPTION="Select if the field is to be searchable in list view, if shown." -COM_COMPONENTBUILDER_ADMIN_VIEW_SEARCH_LABEL="Searchable" -COM_COMPONENTBUILDER_ADMIN_VIEW_SETTINGS="Settings" -COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION="Short Description" -COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_DESCRIPTION="Enter short description" -COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT="Your Short Description Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_LABEL="Short Description" -COM_COMPONENTBUILDER_ADMIN_VIEW_SHOW="Show" -COM_COMPONENTBUILDER_ADMIN_VIEW_SORT_DESCRIPTION="Select if the field it to be sortable in list view, if shown." -COM_COMPONENTBUILDER_ADMIN_VIEW_SORT_LABEL="Sortable" -COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE="Source" -COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION="Map the Source to this view's fields.<br /><b>// First Table Map.</b><br />SourceField => viewField<br /><b>// Other Tables Map.</b><br />firstTableKeySourceField == keySourceField<br />SourceField => viewField" -COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT="SourceField => viewField" -COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL="Source Map" -COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL="Select MySql Source" -COM_COMPONENTBUILDER_ADMIN_VIEW_SQL="Sql" -COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_DESCRIPTION="Add your MySQL here!" -COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT="// Add MySQL Table Dump Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_LABEL="MySQL" -COM_COMPONENTBUILDER_ADMIN_VIEW_STATUS="Status" -COM_COMPONENTBUILDER_ADMIN_VIEW_STRING="STRING" -COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME="System Name" -COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_DESCRIPTION="Used only in the system." -COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_HINT="The System Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_LABEL="System Name" -COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE="Table" -COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL="Select a Table" -COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_DESCRIPTION="Select the tab this field belongs to." -COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_LABEL="Tab" -COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_BEHAVIOR_DESCRIPTION="Select the target field/s behavior." -COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_BEHAVIOR_LABEL="Target Behavior" -COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_FIELD="Target Field" -COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_FIELD_DESCRIPTION="Select the target field/s." -COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_FIELD_LABEL="Target Field/s" -COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_RELATION_DESCRIPTION="Select the target field/s relation to other of the same target field/s." -COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_RELATION_LABEL="Target Relation" -COM_COMPONENTBUILDER_ADMIN_VIEW_TASK_NAME_DESCRIPTION="Enter Task Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_TASK_NAME_HINT="Task Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_TASK_NAME_LABEL="Task Name" -COM_COMPONENTBUILDER_ADMIN_VIEW_TITLE_DESCRIPTION="Select if the field is the title field." -COM_COMPONENTBUILDER_ADMIN_VIEW_TITLE_LABEL="Title" -COM_COMPONENTBUILDER_ADMIN_VIEW_TYPE="Type" -COM_COMPONENTBUILDER_ADMIN_VIEW_TYPE_DESCRIPTION="Set the type of view" -COM_COMPONENTBUILDER_ADMIN_VIEW_TYPE_LABEL="Type" -COM_COMPONENTBUILDER_ADMIN_VIEW_UINT="UINT" -COM_COMPONENTBUILDER_ADMIN_VIEW_UNACTIVE_ONLY_FOUR_TEXT_FIELD="Unactive (only 4 text_field)" -COM_COMPONENTBUILDER_ADMIN_VIEW_UNDERNEATH_TABS="Underneath Tabs" -COM_COMPONENTBUILDER_ADMIN_VIEW_UNKNOWN="unknown" -COM_COMPONENTBUILDER_ADMIN_VIEW_USERNAME="USERNAME" -COM_COMPONENTBUILDER_ADMIN_VIEW_USER_CHECK_DESCRIPTION="Allow only users." -COM_COMPONENTBUILDER_ADMIN_VIEW_USER_CHECK_LABEL="User Check" -COM_COMPONENTBUILDER_ADMIN_VIEW_VALUE_NAME_DESCRIPTION="Enter Value Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_VALUE_NAME_HINT="Value Name Here" -COM_COMPONENTBUILDER_ADMIN_VIEW_VALUE_NAME_LABEL="Value Name" -COM_COMPONENTBUILDER_ADMIN_VIEW_VERSION_DESC="A count of the number of times this Admin View has been revised." -COM_COMPONENTBUILDER_ADMIN_VIEW_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWACCESS="view.access" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWCREATE="view.create" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWDELETE="view.delete" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDIT="view.edit" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITCREATED="view.edit.created" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITCREATED_BY="view.edit.created_by" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITOWN="view.edit.own" -COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITSTATE="view.edit.state" -COM_COMPONENTBUILDER_ADMIN_VIEW_WORD="WORD" -COM_COMPONENTBUILDER_ADMIN_VIEW_YES="Yes" -COM_COMPONENTBUILDER_AUTHOR="Author" -COM_COMPONENTBUILDER_BACK="Back" -COM_COMPONENTBUILDER_COMPONENT="Component" -COM_COMPONENTBUILDER_COMPONENTS="Components" -COM_COMPONENTBUILDER_COMPONENTS_BATCH_OPTIONS="Batch process the selected Components" -COM_COMPONENTBUILDER_COMPONENTS_BATCH_TIP="All changes will be applied to all selected Components" -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_ARCHIVED="%s Components archived." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_ARCHIVED_1="%s Component archived." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_CHECKED_IN_0="No Component successfully checked in." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_CHECKED_IN_1="%d Component successfully checked in." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_CHECKED_IN_MORE="%d Components successfully checked in." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_DELETED="%s Components deleted." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_DELETED_1="%s Component deleted." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_FEATURED="%s Components featured." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_FEATURED_1="%s Component featured." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_PUBLISHED="%s Components published." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_PUBLISHED_1="%s Component published." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_TRASHED="%s Components trashed." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_TRASHED_1="%s Component trashed." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_UNFEATURED="%s Components unfeatured." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_UNFEATURED_1="%s Component unfeatured." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_UNPUBLISHED="%s Components unpublished." -COM_COMPONENTBUILDER_COMPONENTS_N_ITEMS_UNPUBLISHED_1="%s Component unpublished." -COM_COMPONENTBUILDER_COMPONENT_ACCESS_DESCRIPTION="Select if this view should use access." -COM_COMPONENTBUILDER_COMPONENT_ACCESS_LABEL="Add Access" -COM_COMPONENTBUILDER_COMPONENT_ADDADMIN_VIEWS="Addadmin Views" -COM_COMPONENTBUILDER_COMPONENT_ADDADMIN_VIEWS_DESCRIPTION="Setup the admin views for this component." -COM_COMPONENTBUILDER_COMPONENT_ADDADMIN_VIEWS_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDCONFIG="Addconfig" -COM_COMPONENTBUILDER_COMPONENT_ADDCONFIG_DESCRIPTION="Setup config fields." -COM_COMPONENTBUILDER_COMPONENT_ADDCONFIG_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDCONTRIBUTORS="Addcontributors" -COM_COMPONENTBUILDER_COMPONENT_ADDCONTRIBUTORS_DESCRIPTION="Setup contributors for the component." -COM_COMPONENTBUILDER_COMPONENT_ADDCONTRIBUTORS_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDCUSTOMMENUS="Addcustommenus" -COM_COMPONENTBUILDER_COMPONENT_ADDCUSTOMMENUS_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDCUSTOM_ADMIN_VIEWS="Addcustom Admin Views" -COM_COMPONENTBUILDER_COMPONENT_ADDCUSTOM_ADMIN_VIEWS_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDFILES="Addfiles" -COM_COMPONENTBUILDER_COMPONENT_ADDFILES_DESCRIPTION="Add custom files to this component." -COM_COMPONENTBUILDER_COMPONENT_ADDFILES_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS="Addfolders" -COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_DESCRIPTION="Add custom folder to this component." -COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDFOOTABLE="Addfootable" -COM_COMPONENTBUILDER_COMPONENT_ADDFOOTABLE_LABEL="Add FooTable" -COM_COMPONENTBUILDER_COMPONENT_ADDREADME="Addreadme" -COM_COMPONENTBUILDER_COMPONENT_ADDREADME_LABEL="Add README" -COM_COMPONENTBUILDER_COMPONENT_ADDRESS="Address" -COM_COMPONENTBUILDER_COMPONENT_ADDSITE_VIEWS="Addsite Views" -COM_COMPONENTBUILDER_COMPONENT_ADDSITE_VIEWS_DESCRIPTION="Setup the site views for this component." -COM_COMPONENTBUILDER_COMPONENT_ADDSITE_VIEWS_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_ADDUIKIT="Adduikit" -COM_COMPONENTBUILDER_COMPONENT_ADDUIKIT_LABEL="Add Uikit" -COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT="Add Admin Event" -COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT_LABEL="Add Global Admin Event" -COM_COMPONENTBUILDER_COMPONENT_ADD_CSS="Add Css" -COM_COMPONENTBUILDER_COMPONENT_ADD_CSS_LABEL="Add CSS" -COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE="Add License" -COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_DESCRIPTION="Add the option to use a license in the component." -COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_LABEL="Add License (whmcs)" -COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_DASHBOARD_METHODS="Add Php Dashboard Methods" -COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_DASHBOARD_METHODS_LABEL="Add PHP (dashboard Methods)" -COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN="Add Php Helper Admin" -COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN_LABEL="Add PHP (helper_admin Class)" -COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE="Add Php Helper Site" -COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE_LABEL="Add PHP (helper_site Class)" -COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER="Add Sales Server" -COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER_LABEL="Add Sales Server" -COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT="Add Site Event" -COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT_LABEL="Add Global Site Event" -COM_COMPONENTBUILDER_COMPONENT_ADD_SQL="Add Sql" -COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_DESCRIPTION="if set in view" -COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL="Add MySQL (to view table)" -COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION="if being added" -COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_LABEL="Options" -COM_COMPONENTBUILDER_COMPONENT_ADD_UPDATE_SERVER="Add Update Server" -COM_COMPONENTBUILDER_COMPONENT_ADD_UPDATE_SERVER_LABEL="Add Update Server" -COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW="Adminview" -COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS="Adminviews" -COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_DESCRIPTION="Add a link to any list admin view" -COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_LABEL="Views" -COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_DESCRIPTION="Select an admin view" -COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_LABEL="View" -COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS="Admin Views" -COM_COMPONENTBUILDER_COMPONENT_ADVANCED_ENCRYPTION_ONLY_TO_LOCK_DATA="Advanced encryption (only to lock data)" -COM_COMPONENTBUILDER_COMPONENT_ALL="All" -COM_COMPONENTBUILDER_COMPONENT_ARCHIVE="Archive" -COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN="Arrow Down" -COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_FOUR="Arrow Down 4" -COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_THREE="Arrow Down 3" -COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_TWO="Arrow Down 2" -COM_COMPONENTBUILDER_COMPONENT_ARROW_FIRST="Arrow First" -COM_COMPONENTBUILDER_COMPONENT_ARROW_LAST="Arrow Last" -COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT="Arrow Left" -COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_FOUR="Arrow Left 4" -COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_THREE="Arrow Left 3" -COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_TWO="Arrow Left 2" -COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT="Arrow Right" -COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_FOUR="Arrow Right 4" -COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_THREE="Arrow Right 3" -COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_TWO="Arrow Right 2" -COM_COMPONENTBUILDER_COMPONENT_ARROW_UP="Arrow Up" -COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_FOUR="Arrow Up 4" -COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_THREE="Arrow Up 3" -COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_TWO="Arrow Up 2" -COM_COMPONENTBUILDER_COMPONENT_ATTACHMENT="Attachment" -COM_COMPONENTBUILDER_COMPONENT_AUTHOR="Author" -COM_COMPONENTBUILDER_COMPONENT_AUTHOR_DESCRIPTION="The Author's Name &amp; Surname." -COM_COMPONENTBUILDER_COMPONENT_AUTHOR_HINT="Author Name &amp; Surname Here" -COM_COMPONENTBUILDER_COMPONENT_AUTHOR_LABEL="Author" -COM_COMPONENTBUILDER_COMPONENT_BACK="Back" -COM_COMPONENTBUILDER_COMPONENT_BACKWARD_CIRCLE="Backward Circle" -COM_COMPONENTBUILDER_COMPONENT_BAN_CIRCLE="Ban Circle" -COM_COMPONENTBUILDER_COMPONENT_BARS="Bars" -COM_COMPONENTBUILDER_COMPONENT_BASKET="Basket" -COM_COMPONENTBUILDER_COMPONENT_BEFORE="Before" -COM_COMPONENTBUILDER_COMPONENT_BEFORE_DESCRIPTION="Select before what admin view this one should be placed" -COM_COMPONENTBUILDER_COMPONENT_BEFORE_LABEL="Order Before" -COM_COMPONENTBUILDER_COMPONENT_BOM="Bom" -COM_COMPONENTBUILDER_COMPONENT_BOM_DESCRIPTION="Select the file that should be used for licensing all files (files found in: administrator/components/com_componentbuilder/compiler)" -COM_COMPONENTBUILDER_COMPONENT_BOM_LABEL="Licensing Template" -COM_COMPONENTBUILDER_COMPONENT_BOOK="Book" -COM_COMPONENTBUILDER_COMPONENT_BOOKMARK="Bookmark" -COM_COMPONENTBUILDER_COMPONENT_BOOKMARK_TWO="Bookmark 2" -COM_COMPONENTBUILDER_COMPONENT_BOTH="Both" -COM_COMPONENTBUILDER_COMPONENT_BOX_ADD="Box Add" -COM_COMPONENTBUILDER_COMPONENT_BOX_REMOVE="Box Remove" -COM_COMPONENTBUILDER_COMPONENT_BRIEFCASE="Briefcase" -COM_COMPONENTBUILDER_COMPONENT_BRUSH="Brush" -COM_COMPONENTBUILDER_COMPONENT_BUBBLE_QUOTE="Bubble Quote" -COM_COMPONENTBUILDER_COMPONENT_CALENDAR="Calendar" -COM_COMPONENTBUILDER_COMPONENT_CALENDAR_THREE="Calendar 3" -COM_COMPONENTBUILDER_COMPONENT_CALENDAR_TWO="Calendar 2" -COM_COMPONENTBUILDER_COMPONENT_CAMERA="Camera" -COM_COMPONENTBUILDER_COMPONENT_CAMERA_TWO_VIDEO="Camera 2 / Video" -COM_COMPONENTBUILDER_COMPONENT_CANCEL_CIRCLE="Cancel Circle" -COM_COMPONENTBUILDER_COMPONENT_CART="Cart" -COM_COMPONENTBUILDER_COMPONENT_CHART="Chart" -COM_COMPONENTBUILDER_COMPONENT_CHECKBOX="Checkbox" -COM_COMPONENTBUILDER_COMPONENT_CHECKBOX_PARTIAL="Checkbox Partial" -COM_COMPONENTBUILDER_COMPONENT_CHECKBOX_UNCHECKED="Checkbox Unchecked" -COM_COMPONENTBUILDER_COMPONENT_CHECKIN_DESCRIPTION="Select if the items of this view should automatically be checked in." -COM_COMPONENTBUILDER_COMPONENT_CHECKIN_LABEL="Auto Check-in" -COM_COMPONENTBUILDER_COMPONENT_CHECKMARK_CIRCLE="Checkmark Circle" -COM_COMPONENTBUILDER_COMPONENT_CHECKMARK_TWO="Checkmark 2" -COM_COMPONENTBUILDER_COMPONENT_CIRCLE="Circle" -COM_COMPONENTBUILDER_COMPONENT_CLOCK="Clock" -COM_COMPONENTBUILDER_COMPONENT_COG="Cog" -COM_COMPONENTBUILDER_COMPONENT_COGS="Cogs" -COM_COMPONENTBUILDER_COMPONENT_COMMENT="Comment" -COM_COMPONENTBUILDER_COMPONENT_COMMENTS_TWO="Comments 2" -COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME="Companyname" -COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_DESCRIPTION="Enter Company Name Here" -COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_HINT="Company Name Here" -COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_LABEL="Company Name" -COM_COMPONENTBUILDER_COMPONENT_COMPASS="Compass" -COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION="Component Version" -COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_DESCRIPTION="Add Version Number Here" -COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_HINT="1.0.0" -COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_LABEL="Version" -COM_COMPONENTBUILDER_COMPONENT_CONTRACT="Contract" -COM_COMPONENTBUILDER_COMPONENT_CONTRACT_TWO="Contract 2" -COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT="Copyright" -COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_DESCRIPTION="Add Copyright Here" -COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_HINT="Add Copyright Here" -COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_LABEL="Copyright" -COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_DESC="The user that created the Component." -COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_DESC="The date Component was created." -COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_COMPONENT_CREATUSERHELPER="Creatuserhelper" -COM_COMPONENTBUILDER_COMPONENT_CREATUSERHELPER_LABEL="Add Create User Helper Method" -COM_COMPONENTBUILDER_COMPONENT_CREDIT="Credit" -COM_COMPONENTBUILDER_COMPONENT_CREDIT_TWO="Credit 2" -COM_COMPONENTBUILDER_COMPONENT_CSS="Css" -COM_COMPONENTBUILDER_COMPONENT_CSS_DESCRIPTION="Add your CSS here! [Do not add the style tags]" -COM_COMPONENTBUILDER_COMPONENT_CSS_HINT="// CSS for the entire back-end" -COM_COMPONENTBUILDER_COMPONENT_CSS_LABEL="CSS" -COM_COMPONENTBUILDER_COMPONENT_CUBE="Cube" -COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW="Customadminview" -COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW_DESCRIPTION="Select a custom admin view" -COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW_LABEL="View" -COM_COMPONENTBUILDER_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE="Custom (used in custom code)" -COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_DESCRIPTION="Enter custom value in needed" -COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_HINT="Custom Value Here" -COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_LABEL="Custom Value" -COM_COMPONENTBUILDER_COMPONENT_DASHBOARD="Dashboard" -COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_DESCRIPTION="Select if the view should show on the dashboard." -COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_LABEL="Dashboard (add record)" -COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION="Select if the view should show on the dashboard." -COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL="Dashboard (list of records)" -COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_TAB="Dashboard Tab" -COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_TAB_SELECT="Add" -COM_COMPONENTBUILDER_COMPONENT_DATABASE="Database" -COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR="Debug Linenr" -COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_DESCRIPTION="Add corresponding line numbers, so to see where in the compiler the line of code was build." -COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_LABEL="Debug (line numbers)" -COM_COMPONENTBUILDER_COMPONENT_DEFAULT_VIEW_DESCRIPTION="Select only one." -COM_COMPONENTBUILDER_COMPONENT_DEFAULT_VIEW_LABEL="Default View" -COM_COMPONENTBUILDER_COMPONENT_DELETE="Delete" -COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION="Description" -COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_DESCRIPTION="Add Description Here" -COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_HINT="Add Description Here" -COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_COMPONENT_DETAILS="Details" -COM_COMPONENTBUILDER_COMPONENT_DOWNLOAD="Download" -COM_COMPONENTBUILDER_COMPONENT_EDIT="Editing the Component" -COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_DESCRIPTION="add site edit & create view for this admin view" -COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_LABEL="Edit/Create Site View" -COM_COMPONENTBUILDER_COMPONENT_EMAIL="Email" -COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION="Enter Email" -COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT="demo@example.com" -COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL="Email" -COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS="Emptycontributors" -COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_DESCRIPTION="Set if a list of empty contributor fields should be added." -COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_LABEL="Empty Contributor Fields" -COM_COMPONENTBUILDER_COMPONENT_ENTER="Enter" -COM_COMPONENTBUILDER_COMPONENT_ENVELOPE="Envelope" -COM_COMPONENTBUILDER_COMPONENT_ENVELOPE_OPENED="Envelope Opened" -COM_COMPONENTBUILDER_COMPONENT_EQUALIZER="Equalizer" -COM_COMPONENTBUILDER_COMPONENT_ERROR_UNIQUE_ALIAS="Another Component has the same alias." -COM_COMPONENTBUILDER_COMPONENT_EXIT="Exit" -COM_COMPONENTBUILDER_COMPONENT_EXPAND="Expand" -COM_COMPONENTBUILDER_COMPONENT_EXPAND_TWO="Expand 2" -COM_COMPONENTBUILDER_COMPONENT_EXPIRED="Expired" -COM_COMPONENTBUILDER_COMPONENT_EYE_CLOSE="Eye Close" -COM_COMPONENTBUILDER_COMPONENT_EYE_OPEN="Eye Open" -COM_COMPONENTBUILDER_COMPONENT_FEATURED="Featured" -COM_COMPONENTBUILDER_COMPONENT_FEED="Feed" -COM_COMPONENTBUILDER_COMPONENT_FIELD="Field" -COM_COMPONENTBUILDER_COMPONENT_FIELD_DESCRIPTION="Select a field" -COM_COMPONENTBUILDER_COMPONENT_FIELD_LABEL="Field" -COM_COMPONENTBUILDER_COMPONENT_FILE="File" -COM_COMPONENTBUILDER_COMPONENT_FILE_ADD="File Add" -COM_COMPONENTBUILDER_COMPONENT_FILE_CHECK="File Check" -COM_COMPONENTBUILDER_COMPONENT_FILE_DESCRIPTION="Add the files to custom folder" -COM_COMPONENTBUILDER_COMPONENT_FILE_LABEL="File" -COM_COMPONENTBUILDER_COMPONENT_FILE_MINUS="File Minus" -COM_COMPONENTBUILDER_COMPONENT_FILE_REMOVE="File Remove" -COM_COMPONENTBUILDER_COMPONENT_FILE_TWO="File 2" -COM_COMPONENTBUILDER_COMPONENT_FILTER="Filter" -COM_COMPONENTBUILDER_COMPONENT_FIRST="First" -COM_COMPONENTBUILDER_COMPONENT_FLAG="Flag" -COM_COMPONENTBUILDER_COMPONENT_FLAG_THREE="Flag 3" -COM_COMPONENTBUILDER_COMPONENT_FLASH="Flash" -COM_COMPONENTBUILDER_COMPONENT_FOLDER="Folder" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_CLOSE="Folder Close" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_DESCRIPTION="Add the folder to custom folder" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_LABEL="Folder" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_MINUS="Folder Minus" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_OPEN="Folder Open" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_PLUS="Folder Plus" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_PLUS_TWO="Folder Plus 2" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_REMOVE="Folder Remove" -COM_COMPONENTBUILDER_COMPONENT_FOLDER_THREE="Folder 3" -COM_COMPONENTBUILDER_COMPONENT_FORWARD_CIRCLE="Forward Circle" -COM_COMPONENTBUILDER_COMPONENT_FORWARD_TWO="Forward 2" -COM_COMPONENTBUILDER_COMPONENT_FRONT="Front" -COM_COMPONENTBUILDER_COMPONENT_FTP_SERVERS="FTP Servers" -COM_COMPONENTBUILDER_COMPONENT_GENERIC="Generic" -COM_COMPONENTBUILDER_COMPONENT_GRID="Grid" -COM_COMPONENTBUILDER_COMPONENT_GRID_TWO="Grid 2" -COM_COMPONENTBUILDER_COMPONENT_HEADER_DESCRIPTION="Enter Header Here" -COM_COMPONENTBUILDER_COMPONENT_HEADER_HINT="Header Here" -COM_COMPONENTBUILDER_COMPONENT_HEADER_LABEL="Header" -COM_COMPONENTBUILDER_COMPONENT_HEALTH="Health" -COM_COMPONENTBUILDER_COMPONENT_HEART="Heart" -COM_COMPONENTBUILDER_COMPONENT_HEART_TWO="Heart 2" -COM_COMPONENTBUILDER_COMPONENT_HISTORY_DESCRIPTION="Select if the items of this view should keep a history of item changes." -COM_COMPONENTBUILDER_COMPONENT_HISTORY_LABEL="Keep History" -COM_COMPONENTBUILDER_COMPONENT_HOME="Home" -COM_COMPONENTBUILDER_COMPONENT_HOME_TWO="Home 2" -COM_COMPONENTBUILDER_COMPONENT_HTML_HINT="// Add the tab HTML here. To access php values <?php echo $this->methodname->value; ?>" -COM_COMPONENTBUILDER_COMPONENT_HTML_LABEL="HTML" -COM_COMPONENTBUILDER_COMPONENT_ICOMOON_DESCRIPTION="Joomla Standard Icomoon Fonts" -COM_COMPONENTBUILDER_COMPONENT_ICOMOON_LABEL="Icon" -COM_COMPONENTBUILDER_COMPONENT_ICON_DESCRIPTION="Add the icon to the image folder and select it here (128 x 128px)" -COM_COMPONENTBUILDER_COMPONENT_ICON_LABEL="Icon" -COM_COMPONENTBUILDER_COMPONENT_ID="Id" -COM_COMPONENTBUILDER_COMPONENT_IDS_DESCRIPTION="if id option selected" -COM_COMPONENTBUILDER_COMPONENT_IDS_HINT="// 1 => 500 or 1,2,3,4 or 1 => 4,20,40 => 90" -COM_COMPONENTBUILDER_COMPONENT_IDS_LABEL="ID's" -COM_COMPONENTBUILDER_COMPONENT_ID_BASED="ID Based" -COM_COMPONENTBUILDER_COMPONENT_IMAGE="Image" -COM_COMPONENTBUILDER_COMPONENT_IMAGES="Images" -COM_COMPONENTBUILDER_COMPONENT_IMAGE_DESCRIPTION="The component image (product box) for the dashboard and install page, must be 300px X 300px." -COM_COMPONENTBUILDER_COMPONENT_IMAGE_LABEL="Component Image" -COM_COMPONENTBUILDER_COMPONENT_INFO="Info" -COM_COMPONENTBUILDER_COMPONENT_INFO_CIRCLE="Info Circle" -COM_COMPONENTBUILDER_COMPONENT_JOOMLA="Joomla" -COM_COMPONENTBUILDER_COMPONENT_KEY="Key" -COM_COMPONENTBUILDER_COMPONENT_LAMP="Lamp" -COM_COMPONENTBUILDER_COMPONENT_LAST="Last" -COM_COMPONENTBUILDER_COMPONENT_LICENSE="License" -COM_COMPONENTBUILDER_COMPONENT_LICENSE_DESCRIPTION="Add License Here" -COM_COMPONENTBUILDER_COMPONENT_LICENSE_HINT="Add License Here" -COM_COMPONENTBUILDER_COMPONENT_LICENSE_LABEL="License" -COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE="License Type" -COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE_DESCRIPTION="How should the license be implemented." -COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE_LABEL="Implementation" -COM_COMPONENTBUILDER_COMPONENT_LINK="Link" -COM_COMPONENTBUILDER_COMPONENT_LINK_DESCRIPTION="Enter menu link" -COM_COMPONENTBUILDER_COMPONENT_LINK_HINT="Menu Link Here" -COM_COMPONENTBUILDER_COMPONENT_LINK_LABEL="Link" -COM_COMPONENTBUILDER_COMPONENT_LIST="List" -COM_COMPONENTBUILDER_COMPONENT_LIST_TWO="List 2" -COM_COMPONENTBUILDER_COMPONENT_LOCATION="Location" -COM_COMPONENTBUILDER_COMPONENT_LOCK="Lock" -COM_COMPONENTBUILDER_COMPONENT_LOCK_DOWN_USE_USED_TO_VERIFY_OWNERSHIP="Lock Down Use (used to verify ownership)" -COM_COMPONENTBUILDER_COMPONENT_LOOP="Loop" -COM_COMPONENTBUILDER_COMPONENT_MAINMENU_DESCRIPTION="Select if the view should show in the main menu." -COM_COMPONENTBUILDER_COMPONENT_MAINMENU_LABEL="Main Menu" -COM_COMPONENTBUILDER_COMPONENT_MENU="Menu" -COM_COMPONENTBUILDER_COMPONENT_MENU_DESCRIPTION="Select if the view should show have a menu link." -COM_COMPONENTBUILDER_COMPONENT_MENU_LABEL="Add Menu" -COM_COMPONENTBUILDER_COMPONENT_MENU_THREE="Menu 3" -COM_COMPONENTBUILDER_COMPONENT_MENU_TWO="Menu 2" -COM_COMPONENTBUILDER_COMPONENT_METADATA_DESCRIPTION="Select if this view should have metadata." -COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL="Has Metadata" -COM_COMPONENTBUILDER_COMPONENT_MINUS="Minus" -COM_COMPONENTBUILDER_COMPONENT_MINUS_SIGN="Minus Sign" -COM_COMPONENTBUILDER_COMPONENT_MOBILE="Mobile" -COM_COMPONENTBUILDER_COMPONENT_MOVE="Move" -COM_COMPONENTBUILDER_COMPONENT_MUSIC="Music" -COM_COMPONENTBUILDER_COMPONENT_MYSQL_DESCRIPTION="Update Dump" -COM_COMPONENTBUILDER_COMPONENT_MYSQL_HINT="// MySQL for update or blank for none" -COM_COMPONENTBUILDER_COMPONENT_MYSQL_LABEL="MySQL" -COM_COMPONENTBUILDER_COMPONENT_NAME="Name" -COM_COMPONENTBUILDER_COMPONENT_NAME_CODE="Name Code" -COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_DESCRIPTION="Add Name in Code Here" -COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_HINT="codename" -COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_LABEL="Name in Code" -COM_COMPONENTBUILDER_COMPONENT_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_COMPONENT_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_COMPONENT_NAME_LABEL="Name" -COM_COMPONENTBUILDER_COMPONENT_NEW="A New Component" -COM_COMPONENTBUILDER_COMPONENT_NEW_TAB="New Tab" -COM_COMPONENTBUILDER_COMPONENT_NEW_TAB_TWO="New Tab 2" -COM_COMPONENTBUILDER_COMPONENT_NEXT="Next" -COM_COMPONENTBUILDER_COMPONENT_NO="No" -COM_COMPONENTBUILDER_COMPONENT_NONE="None" -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_DESCRIPTION="You can add custom config fields to the component here. The normal Global config is already being added so only add custom fields that you would like to use in custom scripts." -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_LABEL="Adding Custom Config Fields" -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_DESCRIPTION="You can add custom menus to the component here. The normal Menus are already being added so only add custom Menus that you would like to use for custom scripts." -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_LABEL="Adding Custom Menus" -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_DESCRIPTION="You can add custom files to the component, simply add the files to the administrator/components/com_componentbuilder/compiler/custom folder and then select them here." -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_LABEL="Adding Custom Files" -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/compiler/custom folder and then select them here." -COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders" -COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_DESCRIPTION="Only add contributors if you would like them listed on the component dashboard." -COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_LABEL="Setting Contributors" -COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_VIEWS_DESCRIPTION="Do not add the same view twice it will not work." -COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_VIEWS_LABEL="Setting Views" -COM_COMPONENTBUILDER_COMPONENT_NOTE_README_DESCRIPTION="<div style='margin: 10px'><p> Need help, visit <a href='https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet' target='_blank'>Markdown-Cheatsheet</a></p> -<code style='padding: 10px; width: 100%; height: 1140px;'> -# ###Component_name### (###VERSION###)<br /> -<br /> -###DESCRIPTION###<br /> -<br /> -# Build Details<br /> -<br /> -+ *Company*: [###COMPANYNAME###] (###AUTHORWEBSITE###)<br /> -+ *Author*: [###AUTHOR###] (mailto:###AUTHOREMAIL###)<br /> -+ *Name*: [###Component_name###] (###AUTHORWEBSITE###)<br /> -+ *First Build*: ###CREATIONDATE###<br /> -+ *Last Build*: ###BUILDDATE###<br /> -+ *Version*: ###VERSION###<br /> -+ *Copyright*: ###COPYRIGHT###<br /> -+ *License*: ###LICENSE###<br /> -<br /> -## Build Time<br /> -<br /> -**###totalHours### Hours** or **###totalDays### Eight Hour Days** (actual time the author saved - <br /> -due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builder))<br /> -<br /> -> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,<br /> -> never making one mistake or taking any coffee break.)<br /> -<br /> -+ *Line count*: **###LINE_COUNT###**<br /> -+ *File count*: **###FILE_COUNT###**<br /> -+ *Folder count*: **###FOLDER_COUNT###**<br /> -<br /> -**###actualHoursSpent### Hours** or **###actualDaysSpent### Eight Hour Days** (the actual time the author spent)<br /> -<br /> -> (with the following break down:<br /> -> **debugging @###debuggingHours###hours** = codingtime / 4;<br /> -> **planning @###planningHours###hours** = codingtime / 7;<br /> -> **mapping @###mappingHours###hours** = codingtime / 10;<br /> -> **office @###officeHours###hours** = codingtime / 6;)<br /> -<br /> -**###actualTotalHours### Hours** or **###actualTotalDays### Eight Hour Days**<br /> -(a total of the realistic time frame for this project)<br /> -<br /> -> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,<br /> -> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)<br /> -<br /> -Project duration: **###projectWeekTime### weeks** or **###projectMonthTime### months**<br /> -<br /> -> This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder).<br /> -> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)<br /> -</code></div>" -COM_COMPONENTBUILDER_COMPONENT_NOTE_README_LABEL="Demo README (with all place-holders)" -COM_COMPONENTBUILDER_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION="You can use WHMCS licensing addon in your component<br /><strong>Helpful Links</strong><br /><a href='https://www.whmcs.com/addons/licensing-addon/' target='_blank'>https://www.whmcs.com/addons/licensing-addon/</a><br /><a href='http://docs.whmcs.com/Licensing_Addon' target='_blank'>http://docs.whmcs.com/Licensing_Addon</a>" -COM_COMPONENTBUILDER_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_LABEL="Licensing addon module for WHMCS" -COM_COMPONENTBUILDER_COMPONENT_NOTIFICATION="Notification" -COM_COMPONENTBUILDER_COMPONENT_NOTIFICATION_CIRCLE="Notification Circle" -COM_COMPONENTBUILDER_COMPONENT_NOTNEW_DESCRIPTION="Should file be updated." -COM_COMPONENTBUILDER_COMPONENT_NOTNEW_LABEL="Update" -COM_COMPONENTBUILDER_COMPONENT_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_COMPONENT_NUMBER="Number" -COM_COMPONENTBUILDER_COMPONENT_NUMBER_LABEL="Number" -COM_COMPONENTBUILDER_COMPONENT_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_COMPONENT_ORDER_DESCRIPTION="Overide the default order" -COM_COMPONENTBUILDER_COMPONENT_ORDER_LABEL="Order" -COM_COMPONENTBUILDER_COMPONENT_PALETTE="Palette" -COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_CENTER="Paragraph Center" -COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_JUSTIFY="Paragraph Justify" -COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_LEFT="Paragraph Left" -COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_RIGHT="Paragraph Right" -COM_COMPONENTBUILDER_COMPONENT_PATH_DESCRIPTION="Path in relation to the folder structure in the install package, unzip the compiled file to see the structure. " -COM_COMPONENTBUILDER_COMPONENT_PATH_HINT="Target Path Here" -COM_COMPONENTBUILDER_COMPONENT_PATH_LABEL="Target Path" -COM_COMPONENTBUILDER_COMPONENT_PAUSE="Pause" -COM_COMPONENTBUILDER_COMPONENT_PAUSE_CIRCLE="Pause Circle" -COM_COMPONENTBUILDER_COMPONENT_PENCIL="Pencil" -COM_COMPONENTBUILDER_COMPONENT_PENCIL_TWO="Pencil 2" -COM_COMPONENTBUILDER_COMPONENT_PHONE="Phone" -COM_COMPONENTBUILDER_COMPONENT_PHONE_TWO="Phone 2" -COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT="Php Admin Event" -COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION="PHP script for the global helper admin event method." -COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_HINT="// add custom PHP script to the global helper admin event method." -COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_LABEL="Global Helper Admin Event" -COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS="Php Dashboard Methods" -COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_DESCRIPTION="PHP methods to place in the dashboard model." -COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_HINT="// add custom PHP methods to dashboard model. Use the [public function getMethodname()] to insure the data is set to the view, note the convention [public function get...()] replace the .... with the unique method name." -COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_LABEL="PHP Dashboard Methods" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN="Php Helper Admin" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_HINT="// The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_LABEL="PHP" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE="Php Helper Site" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_HINT="// The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!" -COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_LABEL="PHP" -COM_COMPONENTBUILDER_COMPONENT_PHP_SITE_EVENT="Php Site Event" -COM_COMPONENTBUILDER_COMPONENT_PHP_SITE_EVENT_DESCRIPTION="PHP script for the global helper site event method." -COM_COMPONENTBUILDER_COMPONENT_PHP_SITE_EVENT_HINT="// add custom PHP script to the global helper site event method." -COM_COMPONENTBUILDER_COMPONENT_PHP_SITE_EVENT_LABEL="Global Helper Site Event" -COM_COMPONENTBUILDER_COMPONENT_PIE="Pie" -COM_COMPONENTBUILDER_COMPONENT_PIN="Pin" -COM_COMPONENTBUILDER_COMPONENT_PLAY="Play" -COM_COMPONENTBUILDER_COMPONENT_PLAY_CIRCLE="Play Circle" -COM_COMPONENTBUILDER_COMPONENT_PLUS="Plus" -COM_COMPONENTBUILDER_COMPONENT_PLUS_CIRCLE="Plus Circle" -COM_COMPONENTBUILDER_COMPONENT_PORT_DESCRIPTION="add import/export option to this admin view." -COM_COMPONENTBUILDER_COMPONENT_PORT_LABEL="Export/Import Data" -COM_COMPONENTBUILDER_COMPONENT_POWER_CORD="Power Cord" -COM_COMPONENTBUILDER_COMPONENT_PREVIOUS="Previous" -COM_COMPONENTBUILDER_COMPONENT_PRINT="Print" -COM_COMPONENTBUILDER_COMPONENT_PUBLISH="Publish" -COM_COMPONENTBUILDER_COMPONENT_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_COMPONENT_PURGE="Purge" -COM_COMPONENTBUILDER_COMPONENT_PUZZLE="Puzzle" -COM_COMPONENTBUILDER_COMPONENT_QUESTION="Question" -COM_COMPONENTBUILDER_COMPONENT_QUESTION_TWO="Question 2" -COM_COMPONENTBUILDER_COMPONENT_QUOTES_LEFT="Quotes Left" -COM_COMPONENTBUILDER_COMPONENT_QUOTES_RIGHT="Quotes Right" -COM_COMPONENTBUILDER_COMPONENT_RADIO_UNCHECKED="Radio Unchecked" -COM_COMPONENTBUILDER_COMPONENT_README="Readme" -COM_COMPONENTBUILDER_COMPONENT_README_LABEL="README.md" -COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL="Rename" -COM_COMPONENTBUILDER_COMPONENT_REPLY="Reply" -COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP="Sales Server Ftp" -COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_DESCRIPTION="The FTP details for the update server XML location. (string $host = '127.0.0.1', string $port = '21', array $options = array(), string $user = null, string $pass = null) OPTIONS = Array with any of these options: type=>[FTP_AUTOASCII|FTP_ASCII|FTP_BINARY], timeout=>(int)" -COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_HINT="host=HOSTNAME&port=PORT_INT&options[type]=FTP_BINARY&options[timeout]=15&username=user@name.com&password=password" -COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_LABEL="Sales Server FTP <br /><small>(encrypted field)</small>" -COM_COMPONENTBUILDER_COMPONENT_SAVE_COPY="Save Copy" -COM_COMPONENTBUILDER_COMPONENT_SAVE_NEW="Save New" -COM_COMPONENTBUILDER_COMPONENT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Component to customise the alias." -COM_COMPONENTBUILDER_COMPONENT_SCISSORS="Scissors" -COM_COMPONENTBUILDER_COMPONENT_SCREEN="Screen" -COM_COMPONENTBUILDER_COMPONENT_SCREWDRIVER="Screwdriver" -COM_COMPONENTBUILDER_COMPONENT_SCRIPTS="Scripts" -COM_COMPONENTBUILDER_COMPONENT_SEARCH="Search" -COM_COMPONENTBUILDER_COMPONENT_SELECT_AN_OPTION="Select an option" -COM_COMPONENTBUILDER_COMPONENT_SETTINGS="Settings" -COM_COMPONENTBUILDER_COMPONENT_SHARE="Share" -COM_COMPONENTBUILDER_COMPONENT_SHARE_ALT="Share Alt" -COM_COMPONENTBUILDER_COMPONENT_SHIELD="Shield" -COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION="Short Description" -COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_DESCRIPTION="Enter short description" -COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_HINT="Your Short Description Here" -COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_LABEL="Short Description" -COM_COMPONENTBUILDER_COMPONENT_SHOW_DESCRIPTION="Select where you want this contributor to show in the component." -COM_COMPONENTBUILDER_COMPONENT_SHOW_LABEL="Show" -COM_COMPONENTBUILDER_COMPONENT_SHUFFLE="Shuffle" -COM_COMPONENTBUILDER_COMPONENT_SIGNUP="Signup" -COM_COMPONENTBUILDER_COMPONENT_SITEVIEW="Siteview" -COM_COMPONENTBUILDER_COMPONENT_SITEVIEW_DESCRIPTION="Select a site view" -COM_COMPONENTBUILDER_COMPONENT_SITEVIEW_LABEL="View" -COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS="Site Views" -COM_COMPONENTBUILDER_COMPONENT_SMILEY="Smiley" -COM_COMPONENTBUILDER_COMPONENT_SMILEY_NEUTRAL="Smiley Neutral" -COM_COMPONENTBUILDER_COMPONENT_SMILEY_NEUTRAL_TWO="Smiley Neutral 2" -COM_COMPONENTBUILDER_COMPONENT_SMILEY_SAD="Smiley Sad" -COM_COMPONENTBUILDER_COMPONENT_SMILEY_SAD_TWO="Smiley Sad 2" -COM_COMPONENTBUILDER_COMPONENT_SMILEY_TWO="Smiley 2" -COM_COMPONENTBUILDER_COMPONENT_SQL="Sql" -COM_COMPONENTBUILDER_COMPONENT_SQL_DESCRIPTION="Add your MySQL here!" -COM_COMPONENTBUILDER_COMPONENT_SQL_HINT="// Add MySQL Table Dump Here" -COM_COMPONENTBUILDER_COMPONENT_SQL_LABEL="MySQL" -COM_COMPONENTBUILDER_COMPONENT_SQL_TWEAK="Sql Tweak" -COM_COMPONENTBUILDER_COMPONENT_SQL_TWEAK_DESCRIPTION="Tweak the view MySql dump settings." -COM_COMPONENTBUILDER_COMPONENT_SQL_TWEAK_SELECT="Open" -COM_COMPONENTBUILDER_COMPONENT_SQUARE="Square" -COM_COMPONENTBUILDER_COMPONENT_STACK="Stack" -COM_COMPONENTBUILDER_COMPONENT_STAR_TWO="Star 2" -COM_COMPONENTBUILDER_COMPONENT_STATUS="Status" -COM_COMPONENTBUILDER_COMPONENT_STOP="Stop" -COM_COMPONENTBUILDER_COMPONENT_STOP_CIRCLE="Stop Circle" -COM_COMPONENTBUILDER_COMPONENT_SUBMENU_DESCRIPTION="Select if the view should show in the submenu." -COM_COMPONENTBUILDER_COMPONENT_SUBMENU_LABEL="Submenu" -COM_COMPONENTBUILDER_COMPONENT_SUPPORT="Support" -COM_COMPONENTBUILDER_COMPONENT_SWITCH="Switch" -COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME="System Name" -COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_DESCRIPTION="Used only in the system." -COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_HINT="The System Name Here" -COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_LABEL="System Name" -COM_COMPONENTBUILDER_COMPONENT_TABLET="Tablet" -COM_COMPONENTBUILDER_COMPONENT_TABNAME_DESCRIPTION="The name of the tab this field belongs to." -COM_COMPONENTBUILDER_COMPONENT_TABNAME_HINT="Global" -COM_COMPONENTBUILDER_COMPONENT_TABNAME_LABEL="Tab Name" -COM_COMPONENTBUILDER_COMPONENT_TAG="Tag" -COM_COMPONENTBUILDER_COMPONENT_TAGS="Tags" -COM_COMPONENTBUILDER_COMPONENT_TAGS_TWO="Tags 2" -COM_COMPONENTBUILDER_COMPONENT_TAG_TWO="Tag 2" -COM_COMPONENTBUILDER_COMPONENT_THUMBS_DOWN="Thumbs Down" -COM_COMPONENTBUILDER_COMPONENT_THUMBS_UP="Thumbs Up" -COM_COMPONENTBUILDER_COMPONENT_TITLE_DESCRIPTION="Enter contributor's title in relation to this component" -COM_COMPONENTBUILDER_COMPONENT_TITLE_HINT="Contributor's Role" -COM_COMPONENTBUILDER_COMPONENT_TITLE_LABEL="Job Title" -COM_COMPONENTBUILDER_COMPONENT_TREE="Tree" -COM_COMPONENTBUILDER_COMPONENT_TREE_TWO="Tree 2" -COM_COMPONENTBUILDER_COMPONENT_UNARCHIVE="Unarchive" -COM_COMPONENTBUILDER_COMPONENT_UNBLOCK="Unblock" -COM_COMPONENTBUILDER_COMPONENT_UNDO="Undo" -COM_COMPONENTBUILDER_COMPONENT_UNDO_TWO="Undo 2" -COM_COMPONENTBUILDER_COMPONENT_UNFEATURED="Unfeatured" -COM_COMPONENTBUILDER_COMPONENT_UNLOCK="Unlock" -COM_COMPONENTBUILDER_COMPONENT_UNPUBLISH="Unpublish" -COM_COMPONENTBUILDER_COMPONENT_UPDATES_USED_IN_JOOMLA_UPDATER="Updates (used in Joomla updater)" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER="Update Server" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_DESCRIPTION="Enter Update Server URL" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP="Update Server Ftp" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_DESCRIPTION="The FTP details for the update server XML location. (string $host = '127.0.0.1', string $port = '21', array $options = array(), string $user = null, string $pass = null) OPTIONS = Array with any of these options: type=>[FTP_AUTOASCII|FTP_ASCII|FTP_BINARY], timeout=>(int)" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_HINT="host=HOSTNAME&port=PORT_INT&options[type]=FTP_BINARY&options[timeout]=15&username=user@name.com&password=password" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_LABEL="Update Server FTP <br /><small>(encrypted field)</small>" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_HINT="http://www.example.com/update/component.xml" -COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_LABEL="Update Server" -COM_COMPONENTBUILDER_COMPONENT_UPLOAD="Upload" -COM_COMPONENTBUILDER_COMPONENT_URL_DESCRIPTION="Enter Download Link" -COM_COMPONENTBUILDER_COMPONENT_URL_HINT="http://www.example.com/file.zip" -COM_COMPONENTBUILDER_COMPONENT_URL_LABEL="Version URL" -COM_COMPONENTBUILDER_COMPONENT_USER="User" -COM_COMPONENTBUILDER_COMPONENT_USERS="Users" -COM_COMPONENTBUILDER_COMPONENT_USE_DESCRIPTION="How should we link to this contributor." -COM_COMPONENTBUILDER_COMPONENT_USE_LABEL="Use" -COM_COMPONENTBUILDER_COMPONENT_VCARD="Vcard" -COM_COMPONENTBUILDER_COMPONENT_VERSION_DESC="A count of the number of times this Component has been revised." -COM_COMPONENTBUILDER_COMPONENT_VERSION_DESCRIPTION="1.0.0" -COM_COMPONENTBUILDER_COMPONENT_VERSION_HINT="1.0.0" -COM_COMPONENTBUILDER_COMPONENT_VERSION_LABEL="SQL Update Version" -COM_COMPONENTBUILDER_COMPONENT_VERSION_UPDATE="Version Update" -COM_COMPONENTBUILDER_COMPONENT_VERSION_UPDATE_DESCRIPTION="Add Version Updates Here!" -COM_COMPONENTBUILDER_COMPONENT_VERSION_UPDATE_SELECT="Add Update SQL" -COM_COMPONENTBUILDER_COMPONENT_WAND="Wand" -COM_COMPONENTBUILDER_COMPONENT_WARNING="Warning" -COM_COMPONENTBUILDER_COMPONENT_WARNING_CIRCLE="Warning Circle" -COM_COMPONENTBUILDER_COMPONENT_WEBSITE="Website" -COM_COMPONENTBUILDER_COMPONENT_WEBSITE_DESCRIPTION="Enter website address" -COM_COMPONENTBUILDER_COMPONENT_WEBSITE_HINT="http://www.example.com" -COM_COMPONENTBUILDER_COMPONENT_WEBSITE_LABEL="Website" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY="Whmcs Key" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_DESCRIPTION="Add your WHMCS Secret Key here that is needed for this license" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_HINT="Secret Key" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_LABEL="WHMCS Secret Key<br /><small>(encrypted field)</small>" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_URL="Whmcs Url" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_URL_DESCRIPTION="Enter whmcs address" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_URL_HINT="http://www.yoursite.com/whmcs" -COM_COMPONENTBUILDER_COMPONENT_WHMCS_URL_LABEL="URL to your WHMCS install" -COM_COMPONENTBUILDER_COMPONENT_WIFI="Wifi" -COM_COMPONENTBUILDER_COMPONENT_WRENCH="Wrench" -COM_COMPONENTBUILDER_COMPONENT_YES="Yes" -COM_COMPONENTBUILDER_COMPONENT_YOUTUBE="Youtube" -COM_COMPONENTBUILDER_COMPONENT_ZOOM_IN="Zoom In" -COM_COMPONENTBUILDER_COMPONENT_ZOOM_OUT="Zoom Out" -COM_COMPONENTBUILDER_CONFIG_ALMOST_FLAT_LOAD="Almost Flat" -COM_COMPONENTBUILDER_CONFIG_AUTHOR="Author Info" -COM_COMPONENTBUILDER_CONFIG_AUTHOR_EMAIL_DESC="The email address of the author of this component." -COM_COMPONENTBUILDER_CONFIG_AUTHOR_EMAIL_LABEL="Author Email" -COM_COMPONENTBUILDER_CONFIG_AUTHOR_NAME_DESC="The name of the author of this component." -COM_COMPONENTBUILDER_CONFIG_AUTHOR_NAME_LABEL="Author Name" -COM_COMPONENTBUILDER_CONFIG_AUTO_LOAD="Auto" -COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_DESCRIPTION="Here you can set the path to the backup folder." -COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_HINT="/home/user/backup" -COM_COMPONENTBUILDER_CONFIG_BACKUP_FOLDER_PATH_LABEL="Backup Folder Path" -COM_COMPONENTBUILDER_CONFIG_BASIC_KEY_DESC="Set the basic local key here." -COM_COMPONENTBUILDER_CONFIG_BASIC_KEY_LABEL="Basic Key <small>(basic encryption)</small>" -COM_COMPONENTBUILDER_CONFIG_BASIC_KEY_NOTE_DESC="When using the basic encryption please use a 32 character passphrase.<br />Never change this passphrase once it is set! <b>DATA WILL GET CORRUPTED IF YOU DO!</b>" -COM_COMPONENTBUILDER_CONFIG_BASIC_KEY_NOTE_LABEL="Basic Encryption" -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_DESC="Set the intervals for the auto checkin fuction of tables that checks out the items to an user." -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_LABEL="Check in timer" -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_FIVE="Once a week" -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_FOUR="Every second day" -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_ONE="Every five hours" -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_SIX="Never" -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_THREE="Once a day" -COM_COMPONENTBUILDER_CONFIG_CHECK_TIMER_OPTION_TWO="Every twelve hours" -COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_DESCRIPTION="Here you can set the path to the compiler folder" -COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_HINT="/home/user/compiler" -COM_COMPONENTBUILDER_CONFIG_COMPILER_FOLDER_PATH_LABEL="Compiler Folder Path" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_EMAIL_DESC="The email of this contributor." -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_EMAIL_LABEL="Contributor Email" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_FIVE="Contributor Five" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_FOUR="Contributor Four" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_LINK_DESC="The link to this contributor's website." -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_LINK_LABEL="Contributor Website" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_NAME_DESC="The name of this contributor." -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_NAME_LABEL="Contributor Name" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_ONE="Contributor One" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_SHOW_ALL="Both Front & Back-end" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_SHOW_BACK="Back-end" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_SHOW_DESC="Select where you want this contributor's details to show in the component." -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_SHOW_FRONT="Front-end" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_SHOW_LABEL="Show" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_SHOW_NONE="Hide" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_THREE="Contributor Three" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_TITLE_DESC="The job title that best describes the contributor's relationship to this component." -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_TITLE_LABEL="Contributor Job Title" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_TWO="Contributor Two" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_USE_DESC="How should we link to this contributor." -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_USE_EMAIL="Email" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_USE_LABEL="Use" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_USE_NONE="None" -COM_COMPONENTBUILDER_CONFIG_CONTRIBUTOR_USE_WWW="Website" -COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_DESCRIPTION="Here you can set the path to the custom folder" -COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_HINT="/home/user/custom" -COM_COMPONENTBUILDER_CONFIG_CUSTOM_FOLDER_PATH_LABEL="Custom Folder Path" -COM_COMPONENTBUILDER_CONFIG_DONT_LOAD="Not" -COM_COMPONENTBUILDER_CONFIG_ENCRYPTION_DESC="The encription key for the field encryption is set here." -COM_COMPONENTBUILDER_CONFIG_ENCRYPTION_LABEL="Encryption Settings" -COM_COMPONENTBUILDER_CONFIG_FLAT_LOAD="Flat" -COM_COMPONENTBUILDER_CONFIG_FOLDER_PATHS="Folder Paths" -COM_COMPONENTBUILDER_CONFIG_FORCE_LOAD="Force" -COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_DESCRIPTION="Here you can set the path to the git folder." -COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_HINT="/home/user/git" -COM_COMPONENTBUILDER_CONFIG_GIT_FOLDER_PATH_LABEL="Git Folder Path" -COM_COMPONENTBUILDER_CONFIG_GLOBAL_DESC="The Global Parameters" -COM_COMPONENTBUILDER_CONFIG_GLOBAL_LABEL="Global" -COM_COMPONENTBUILDER_CONFIG_GRADIANT_LOAD="Gradient" -COM_COMPONENTBUILDER_CONFIG_MINIFY_DESCRIPTION="Should the JavaScript be minified when compiled." -COM_COMPONENTBUILDER_CONFIG_MINIFY_LABEL="Minify JS" -COM_COMPONENTBUILDER_CONFIG_NO="No" -COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_DESCRIPTION="You components will be placed as zip files inside this folder." -COM_COMPONENTBUILDER_CONFIG_NOTE_BACKUP_FOLDER_PATH_LABEL="Adding a backup folder export option" -COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_DESCRIPTION="The compiler folder is where all files and folders that is used to build your component is stored, the default location is [administrator/components/com_componentbuilder/compiler]. You can move this folder by adding your own path here. Remember to move all the content of the compiler folder to this new location or it will not work." -COM_COMPONENTBUILDER_CONFIG_NOTE_COMPILER_FOLDER_PATH_LABEL="Moving The Compiler Folder" -COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_DESCRIPTION="The custom folder is where all files and folders that you would like to include in your components are stored, the default location is [administrator/components/com_componentbuilder/custom]. You can move this folder by adding your own path here. Remember to move the content of the default custom folder to this new location." -COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_FOLDER_PATH_LABEL="Moving The Custom Folder" -COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_DESCRIPTION="You must set the folder where all the components should be deployed for git. You will have to still do your git commit and other git commands yourself. Each component will create their own folder inside this git folder." -COM_COMPONENTBUILDER_CONFIG_NOTE_GIT_FOLDER_PATH_LABEL="Adding git to your compiler method" -COM_COMPONENTBUILDER_CONFIG_ONLY_EXTRA="Only Extra" -COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC="<b>The Parameters for the uikit are set here.</b><br />Uikit is a lightweight and modular front-end framework -for developing fast and powerful web interfaces. For more info visit <a href="http://getuikit.com/" >http://getuikit.com/</a>" -COM_COMPONENTBUILDER_CONFIG_UIKIT_LABEL="Uikit Settings" -COM_COMPONENTBUILDER_CONFIG_UIKIT_LOAD_DESC="Set the uikit loading option." -COM_COMPONENTBUILDER_CONFIG_UIKIT_LOAD_LABEL="Loading Options" -COM_COMPONENTBUILDER_CONFIG_UIKIT_MIN_DESC="Should the minified version of uikit files be loaded?" -COM_COMPONENTBUILDER_CONFIG_UIKIT_MIN_LABEL="Load Minified" -COM_COMPONENTBUILDER_CONFIG_UIKIT_STYLE_DESC="Set the css style that should be used." -COM_COMPONENTBUILDER_CONFIG_UIKIT_STYLE_LABEL="css Style" -COM_COMPONENTBUILDER_CONFIG_YES="Yes" -COM_COMPONENTBUILDER_CONTRIBUTOR="Contributor" -COM_COMPONENTBUILDER_CONTRIBUTORS="Contributors" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW="Custom Admin View" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS="Custom Admin Views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS="Custom Admin Views Access" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access custom admin views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_OPTIONS="Batch process the selected Custom Admin Views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_TIP="All changes will be applied to all selected Custom Admin Views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE="Custom Admin Views Batch Use" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch custom admin views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_CREATE="Custom Admin Views Create" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create custom admin views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_ADD="Custom Admin Views Dashboard Add" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the custom admin view" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_LIST="Custom Admin Views Dashboard List" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the custom admin view" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DELETE="Custom Admin Views Delete" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DELETE_DESC="Allows the users in this group to delete delete custom admin views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT="Custom Admin Views Edit" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_DESC="Allows the users in this group to edit the custom admin view" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_OWN="Custom Admin Views Edit Own" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_OWN_DESC="Allows the users in this group to edit edit own custom admin views created by them" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_STATE="Custom Admin Views Edit State" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the custom admin view" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_VERSION="Custom Admin Views Edit Version" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version custom admin views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EXPORT="Custom Admin Views Export" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EXPORT_DESC="Allows the users in this group to export export custom admin views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_IMPORT="Custom Admin Views Import" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_IMPORT_DESC="Allows the users in this group to import import custom admin views" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_ARCHIVED="%s Custom Admin Views archived." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_ARCHIVED_1="%s Custom Admin View archived." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_CHECKED_IN_0="No Custom Admin View successfully checked in." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_CHECKED_IN_1="%d Custom Admin View successfully checked in." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_CHECKED_IN_MORE="%d Custom Admin Views successfully checked in." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_DELETED="%s Custom Admin Views deleted." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_DELETED_1="%s Custom Admin View deleted." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_FEATURED="%s Custom Admin Views featured." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_FEATURED_1="%s Custom Admin View featured." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_PUBLISHED="%s Custom Admin Views published." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_PUBLISHED_1="%s Custom Admin View published." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_TRASHED="%s Custom Admin Views trashed." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_TRASHED_1="%s Custom Admin View trashed." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_UNFEATURED="%s Custom Admin Views unfeatured." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_UNFEATURED_1="%s Custom Admin View unfeatured." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_UNPUBLISHED="%s Custom Admin Views unpublished." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_N_ITEMS_UNPUBLISHED_1="%s Custom Admin View unpublished." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_SUBMENU="Custom Admin Views Submenu" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_SUBMENU_DESC="Allows the users in this group to update the submenu of the custom admin view" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADDRESS="Address" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS="Add Css" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_DOCUMENT="Add Css Document" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_DOCUMENT_LABEL="Add CSS (custom document script)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_LABEL="Add CSS" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CUSTOM_BUTTON="Add Custom Button" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CUSTOM_BUTTON_LABEL="Add Custom Button" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_JS_DOCUMENT="Add Js Document" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_JS_DOCUMENT_LABEL="Add JS (custom document script)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_DOCUMENT="Add Php Document" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL="Add PHP (custom document script)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW="Add Php Jview" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_DISPLAY="Add Php Jview Display" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL="Add PHP (custom JViewLegacy display)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_LABEL="Add PHP (custom JViewLegacy methods)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW="Add Php View" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW_LABEL="Add PHP (custom view script)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS="Alias" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_DESCRIPTION="Add Name in Code Here" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_HINT="codename" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL="Name in Code" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARCHIVE="Archive" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN="Arrow Down" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_FOUR="Arrow Down 4" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_THREE="Arrow Down 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_TWO="Arrow Down 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_FIRST="Arrow First" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LAST="Arrow Last" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT="Arrow Left" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT_FOUR="Arrow Left 4" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT_THREE="Arrow Left 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT_TWO="Arrow Left 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT="Arrow Right" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT_FOUR="Arrow Right 4" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT_THREE="Arrow Right 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT_TWO="Arrow Right 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP="Arrow Up" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP_FOUR="Arrow Up 4" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP_THREE="Arrow Up 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP_TWO="Arrow Up 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ATTACHMENT="Attachment" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BACKWARD_CIRCLE="Backward Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BAN_CIRCLE="Ban Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BARS="Bars" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BASKET="Basket" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOOK="Book" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOOKMARK="Bookmark" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOOKMARK_TWO="Bookmark 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOTH="Both" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOX_ADD="Box Add" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOX_REMOVE="Box Remove" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BRIEFCASE="Briefcase" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BRUSH="Brush" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BUBBLE_QUOTE="Bubble Quote" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CALENDAR="Calendar" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CALENDAR_THREE="Calendar 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CALENDAR_TWO="Calendar 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CAMERA="Camera" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CAMERA_TWO_VIDEO="Camera 2 / Video" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CANCEL_CIRCLE="Cancel Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CART="Cart" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHART="Chart" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKBOX="Checkbox" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKBOX_PARTIAL="Checkbox Partial" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKBOX_UNCHECKED="Checkbox Unchecked" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKMARK_CIRCLE="Checkmark Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKMARK_TWO="Checkmark 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CIRCLE="Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CLOCK="Clock" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COG="Cog" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COGS="Cogs" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMMENT="Comment" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMMENTS_TWO="Comments 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMPASS="Compass" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT="Contract" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT_TWO="Contract 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_DESC="The user that created the Custom Admin View." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_DESC="The date Custom Admin View was created." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT="Credit" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT_TWO="Credit 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS="Css" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DESCRIPTION="Add your CSS here! [Do not add the style tags]" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT="Css Document" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_DESCRIPTION="CSS script to the document method." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_HINT="// add custom CSS script to the document method. You can add in PHP like this: &quot;.$var.&quot; " -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_LABEL="Custom Script (Document)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_HINT="// CSS to the view.css" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_LABEL="CSS" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUBE="Cube" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_BUTTON="Custom Button" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_BUTTONS="Custom Buttons" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_BUTTON_SELECT="Add" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET="Custom Get" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_DESCRIPTION="Select the custom get methods" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_LABEL="Custom Gets" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_SCRIPT="Custom Script" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DASHBOARD="Dashboard" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DATABASE="Database" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT="Default" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_HINT="// Add the code here." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_LABEL="Default View" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DELETE="Delete" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION="Description" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_DESCRIPTION="Enter some description" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_HINT="Description Here" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DETAILS="Details" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DOWNLOAD="Download" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET="Dynamic Get" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_DESCRIPTION="Select a dynamic get" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_LABEL="Dynamic Get (snippet)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_VALUES_DESCRIPTION="Only use dynamic get values that is linked to the same component." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_VALUES_LABEL="Dynamic Values" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EDIT="Editing the Custom Admin View" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ENTER="Enter" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ENVELOPE="Envelope" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ENVELOPE_OPENED="Envelope Opened" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EQUALIZER="Equalizer" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ERROR_UNIQUE_ALIAS="Another Custom Admin View has the same alias." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXIT="Exit" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXPAND="Expand" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXPAND_TWO="Expand 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXPIRED="Expired" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EYE_CLOSE="Eye Close" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EYE_OPEN="Eye Open" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FEATURED="Featured" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FEED="Feed" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE="File" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_ADD="File Add" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_CHECK="File Check" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_MINUS="File Minus" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_REMOVE="File Remove" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_TWO="File 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILTER="Filter" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FIRST="First" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FLAG="Flag" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FLAG_THREE="Flag 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FLASH="Flash" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_CLOSE="Folder Close" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_MINUS="Folder Minus" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_OPEN="Folder Open" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_PLUS="Folder Plus" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_PLUS_TWO="Folder Plus 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_REMOVE="Folder Remove" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_THREE="Folder 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FORWARD_CIRCLE="Forward Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FORWARD_TWO="Forward 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_GENERIC="Generic" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_GRID="Grid" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_GRID_TWO="Grid 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HEALTH="Health" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HEART="Heart" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HEART_TWO="Heart 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME="Home" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME_TWO="Home 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION="Joomla Standard Icomoon Fonts" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL="Icon" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ID="Id" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGE="Image" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGES="Images" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_INFO="Info" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_INFO_CIRCLE="Info Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JOOMLA="Joomla" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT="Js Document" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_DESCRIPTION="JS script to the document method." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_HINT="// add custom JS script to the document method. You can add in PHP like this: &quot;.$var.&quot; " -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_LABEL="Custom Script (Document)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_KEY="Key" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAMP="Lamp" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAST="Last" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LINK="Link" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIST="List" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIST_TWO="List 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LOCATION="Location" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LOCK="Lock" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LOOP="Loop" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET="Main Get" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_DESCRIPTION="Select a main get" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_LABEL="Main Get" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MENU="Menu" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MENU_THREE="Menu 3" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MENU_TWO="Menu 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_DESCRIPTION="Add Controller Method Name Here" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_HINT="methodName" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_LABEL="Target Controller Method" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS="Minus" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS_SIGN="Minus Sign" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOBILE="Mobile" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOVE="Move" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MUSIC="Music" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME="Name" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL="Name" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW="A New Custom Admin View" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW_TAB="New Tab" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW_TAB_TWO="New Tab 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEXT="Next" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO="No" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION="<code>&lt;?php echo JText::_('Text'); ?&gt;</code>" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_LABEL="Add Language String" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_SNIPPET_USAGE_LABEL="Snippet Usage" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_UIKIT_SNIPPET_LABEL="Snippet Details" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTIFICATION="Notification" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTIFICATION_CIRCLE="Notification Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PALETTE="Palette" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_CENTER="Paragraph Center" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_JUSTIFY="Paragraph Justify" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_LEFT="Paragraph Left" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_RIGHT="Paragraph Right" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PAUSE="Pause" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PAUSE_CIRCLE="Pause Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PENCIL="Pencil" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PENCIL_TWO="Pencil 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PERMISSION="Permissions" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHONE="Phone" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHONE_TWO="Phone 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER="Php Controller" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_HINT="// PHP methods for the controller that the button will target" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_LABEL="PHP (controller methods)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT="Php Document" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION="PHP script to the document method." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_HINT="// add custom PHP script to the document method." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_LABEL="Custom Script (Document)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW="Php Jview" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DESCRIPTION="PHP methods for the JViewLegacy class." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY="Php Jview Display" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION="PHP script for the JViewLegacy display method." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_HINT="// add custom PHP script to the JViewLegacy display method." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_LABEL="Custom Script (JViewLegacy display)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_HINT="// add custom PHP methods to the JViewLegacy class." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_LABEL="Custom Script (JViewLegacy)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL="Php Model" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_HINT="// PHP methods for the model that the controller will use" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_LABEL="PHP (model methods)" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW="Php View" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_HINT="// add custom PHP script to head of the file." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_LABEL="Custom Script" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PIE="Pie" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PIN="Pin" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLAY="Play" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLAY_CIRCLE="Play Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLUS="Plus" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLUS_CIRCLE="Plus Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_POWER_CORD="Power Cord" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PREVIOUS="Previous" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PRINT="Print" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PUBLISH="Publish" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PURGE="Purge" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PUZZLE="Puzzle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUESTION="Question" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUESTION_TWO="Question 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUOTES_LEFT="Quotes Left" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUOTES_RIGHT="Quotes Right" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_RADIO_UNCHECKED="Radio Unchecked" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_REPLY="Reply" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SAVE_COPY="Save Copy" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SAVE_NEW="Save New" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Custom Admin View to customise the alias." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SCISSORS="Scissors" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SCREEN="Screen" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SCREWDRIVER="Screwdriver" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SEARCH="Search" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHARE="Share" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHARE_ALT="Share Alt" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHIELD="Shield" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHUFFLE="Shuffle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SIGNUP="Signup" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SINGLE="Single" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY="Smiley" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_NEUTRAL="Smiley Neutral" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_NEUTRAL_TWO="Smiley Neutral 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_SAD="Smiley Sad" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_SAD_TWO="Smiley Sad 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_TWO="Smiley 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SNIPPET="Snippet" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SNIPPET_LABEL="Select a Snippet" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SQUARE="Square" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STACK="Stack" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STAR_TWO="Star 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STATUS="Status" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STOP="Stop" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STOP_CIRCLE="Stop Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SUPPORT="Support" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SWITCH="Switch" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME="System Name" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_DESCRIPTION="Used only in the system." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_HINT="The System Name Here" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_LABEL="System Name" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TABLET="Tablet" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAG="Tag" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAGS="Tags" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAGS_TWO="Tags 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAG_TWO="Tag 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TARGET_DESCRIPTION="Set the target view type" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TARGET_LABEL="Target" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_THUMBS_DOWN="Thumbs Down" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_THUMBS_UP="Thumbs Up" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TREE="Tree" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TREE_TWO="Tree 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNARCHIVE="Unarchive" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNBLOCK="Unblock" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNDO="Undo" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNDO_TWO="Undo 2" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNFEATURED="Unfeatured" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNLOCK="Unlock" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNPUBLISH="Unpublish" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UPLOAD="Upload" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_USER="User" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_USERS="Users" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_VCARD="Vcard" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_VERSION_DESC="A count of the number of times this Custom Admin View has been revised." -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WAND="Wand" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WARNING="Warning" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WARNING_CIRCLE="Warning Circle" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WIFI="Wifi" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WRENCH="Wrench" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES="Yes" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YOUTUBE="Youtube" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ZOOM_IN="Zoom In" -COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ZOOM_OUT="Zoom Out" -COM_COMPONENTBUILDER_DASH="Dashboard" -COM_COMPONENTBUILDER_DASHBOARD="Component Builder Dashboard" -COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEWS="Admin Views<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEW_ADD="Add&nbsp;Admin View<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_COMPILER="Compiler<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_COMPONENTS="Components<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_COMPONENT_ADD="Add&nbsp;Component<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEWS="Custom Admin Views<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEW_ADD="Add&nbsp;Custom Admin View<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_DYNAMIC_GETS="Dynamic Gets<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_DYNAMIC_GET_ADD="Add&nbsp;Dynamic Get<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_FIELDS="Fields<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_FIELDS_CATID="Catagory &nbsp;For<br />Fields" -COM_COMPONENTBUILDER_DASHBOARD_FIELDTYPES="Fieldtypes<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_FIELDTYPES_CATID="Catagory &nbsp;For<br />Fieldtypes" -COM_COMPONENTBUILDER_DASHBOARD_FIELDTYPE_ADD="Add&nbsp;Fieldtype<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_FIELD_ADD="Add&nbsp;Field<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_HELP_DOCUMENTS="Help Documents<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_HELP_DOCUMENT_ADD="Add&nbsp;Help Document<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_LAYOUTS="Layouts<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_LAYOUT_ADD="Add&nbsp;Layout<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_SITE_VIEWS="Site Views<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_SITE_VIEW_ADD="Add&nbsp;Site View<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_SNIPPETS="Snippets<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_SNIPPET_ADD="Add&nbsp;Snippet<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_TEMPLATES="Templates<br /><br />" -COM_COMPONENTBUILDER_DASHBOARD_TEMPLATE_ADD="Add&nbsp;Template<br /><br />" -COM_COMPONENTBUILDER_DATE="Date" -COM_COMPONENTBUILDER_DYNAMIC_GET="Dynamic Get" -COM_COMPONENTBUILDER_DYNAMIC_GETS="Dynamic Gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS="Dynamic Gets Access" -COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS_DESC="Allows the users in this group to access access dynamic gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_OPTIONS="Batch process the selected Dynamic Gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_TIP="All changes will be applied to all selected Dynamic Gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE="Dynamic Gets Batch Use" -COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch dynamic gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE="Dynamic Gets Create" -COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE_DESC="Allows the users in this group to create create dynamic gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_DASHBOARD_ADD="Dynamic Gets Dashboard Add" -COM_COMPONENTBUILDER_DYNAMIC_GETS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the dynamic get" -COM_COMPONENTBUILDER_DYNAMIC_GETS_DASHBOARD_LIST="Dynamic Gets Dashboard List" -COM_COMPONENTBUILDER_DYNAMIC_GETS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the dynamic get" -COM_COMPONENTBUILDER_DYNAMIC_GETS_DELETE="Dynamic Gets Delete" -COM_COMPONENTBUILDER_DYNAMIC_GETS_DELETE_DESC="Allows the users in this group to delete delete dynamic gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT="Dynamic Gets Edit" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_DESC="Allows the users in this group to edit the dynamic get" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_OWN="Dynamic Gets Edit Own" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_OWN_DESC="Allows the users in this group to edit edit own dynamic gets created by them" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE="Dynamic Gets Edit State" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE_DESC="Allows the users in this group to update the state of the dynamic get" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION="Dynamic Gets Edit Version" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version dynamic gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EXPORT="Dynamic Gets Export" -COM_COMPONENTBUILDER_DYNAMIC_GETS_EXPORT_DESC="Allows the users in this group to export export dynamic gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_IMPORT="Dynamic Gets Import" -COM_COMPONENTBUILDER_DYNAMIC_GETS_IMPORT_DESC="Allows the users in this group to import import dynamic gets" -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_ARCHIVED="%s Dynamic Gets archived." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_ARCHIVED_1="%s Dynamic Get archived." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_CHECKED_IN_0="No Dynamic Get successfully checked in." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_CHECKED_IN_1="%d Dynamic Get successfully checked in." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_CHECKED_IN_MORE="%d Dynamic Gets successfully checked in." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_DELETED="%s Dynamic Gets deleted." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_DELETED_1="%s Dynamic Get deleted." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_FEATURED="%s Dynamic Gets featured." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_FEATURED_1="%s Dynamic Get featured." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_PUBLISHED="%s Dynamic Gets published." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_PUBLISHED_1="%s Dynamic Get published." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_TRASHED="%s Dynamic Gets trashed." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_TRASHED_1="%s Dynamic Get trashed." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_UNFEATURED="%s Dynamic Gets unfeatured." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_UNFEATURED_1="%s Dynamic Get unfeatured." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_UNPUBLISHED="%s Dynamic Gets unpublished." -COM_COMPONENTBUILDER_DYNAMIC_GETS_N_ITEMS_UNPUBLISHED_1="%s Dynamic Get unpublished." -COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU="Dynamic Gets Submenu" -COM_COMPONENTBUILDER_DYNAMIC_GETS_SUBMENU_DESC="Allows the users in this group to update the submenu of the dynamic get" -COM_COMPONENTBUILDER_DYNAMIC_GET_A="a" -COM_COMPONENTBUILDER_DYNAMIC_GET_AA="aa" -COM_COMPONENTBUILDER_DYNAMIC_GET_ABACUS="Abacus" -COM_COMPONENTBUILDER_DYNAMIC_GET_ACCESS_LEVEL="Access Level" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION="Addcalculation" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION="Do you want to add custom calculation to the get method" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL="Add Calculation" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEM="Add Php After Getitem" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEMS="Add Php After Getitems" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEMS_LABEL="Add PHP (after getting the Items)" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEM_LABEL="Add PHP (after getting the Item)" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEM="Add Php Before Getitem" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEMS="Add Php Before Getitems" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEMS_LABEL="Add PHP (before getting the Items)" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEM_LABEL="Add PHP (before getting the Item)" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_GETLISTQUERY="Add Php Getlistquery" -COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_GETLISTQUERY_LABEL="Add PHP (getListQuery - JModelList)" -COM_COMPONENTBUILDER_DYNAMIC_GET_ARRAY_VALUE="Array Value" -COM_COMPONENTBUILDER_DYNAMIC_GET_ASCENDING="Ascending" -COM_COMPONENTBUILDER_DYNAMIC_GET_AS_LABEL="AS" -COM_COMPONENTBUILDER_DYNAMIC_GET_B="b" -COM_COMPONENTBUILDER_DYNAMIC_GET_BACKEND_VIEW="Back-end View" -COM_COMPONENTBUILDER_DYNAMIC_GET_BB="bb" -COM_COMPONENTBUILDER_DYNAMIC_GET_C="c" -COM_COMPONENTBUILDER_DYNAMIC_GET_CATEGORIES="Categories" -COM_COMPONENTBUILDER_DYNAMIC_GET_CC="cc" -COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_DESC="The user that created the Dynamic Get." -COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_DESC="The date Dynamic Get was created." -COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM="Custom" -COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM_SCRIPT="Custom Script" -COM_COMPONENTBUILDER_DYNAMIC_GET_D="d" -COM_COMPONENTBUILDER_DYNAMIC_GET_DATE="Date" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION="Db Selection" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_DESCRIPTION="Fields to be selected from table." -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_HINT="n.field AS field" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_LABEL="Selection" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE="Db Table" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_DESCRIPTION="Select a database table" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_LABEL="DB Table" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN="Db Table Main" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_DESCRIPTION="Select a database table" -COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_LABEL="DB Table (main)" -COM_COMPONENTBUILDER_DYNAMIC_GET_DD="dd" -COM_COMPONENTBUILDER_DYNAMIC_GET_DESCENDING="Descending" -COM_COMPONENTBUILDER_DYNAMIC_GET_DIRECTION_LABEL="Ordering Direction" -COM_COMPONENTBUILDER_DYNAMIC_GET_E="e" -COM_COMPONENTBUILDER_DYNAMIC_GET_EDIT="Editing the Dynamic Get" -COM_COMPONENTBUILDER_DYNAMIC_GET_EE="ee" -COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL="equal" -COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL_OR_NOT="equal or not" -COM_COMPONENTBUILDER_DYNAMIC_GET_ERROR_UNIQUE_ALIAS="Another Dynamic Get has the same alias." -COM_COMPONENTBUILDER_DYNAMIC_GET_F="f" -COM_COMPONENTBUILDER_DYNAMIC_GET_FF="ff" -COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER="Filter" -COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_DESCRIPTION="Here you can add filters to the query." -COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_SELECT="Add" -COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_TYPE_DESCRIPTION="The type of filter you want to setup." -COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_TYPE_LABEL="Filter Type" -COM_COMPONENTBUILDER_DYNAMIC_GET_FUNCTIONVAR="FunctionVar" -COM_COMPONENTBUILDER_DYNAMIC_GET_G="g" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM="Getcustom" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOMS="getCustoms" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_DESCRIPTION="Set the Method name for this dynamic get." -COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_HINT="getMethodName" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_LABEL="Custom Name" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETITEM="getItem" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETLISTQUERY="getListQuery" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETTABLE="getTable" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE="Gettype" -COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_DESCRIPTION="Set the type of get method." -COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_LABEL="getType" -COM_COMPONENTBUILDER_DYNAMIC_GET_GG="gg" -COM_COMPONENTBUILDER_DYNAMIC_GET_GLOBAL="Global" -COM_COMPONENTBUILDER_DYNAMIC_GET_GLOBAL_DESCRIPTION="Here you can add global variables." -COM_COMPONENTBUILDER_DYNAMIC_GET_GLOBAL_SELECT="Add" -COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN="greater than" -COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN_OR_EQUAL="greater than or equal" -COM_COMPONENTBUILDER_DYNAMIC_GET_H="h" -COM_COMPONENTBUILDER_DYNAMIC_GET_HH="hh" -COM_COMPONENTBUILDER_DYNAMIC_GET_I="i" -COM_COMPONENTBUILDER_DYNAMIC_GET_ID="ID" -COM_COMPONENTBUILDER_DYNAMIC_GET_II="ii" -COM_COMPONENTBUILDER_DYNAMIC_GET_IN="IN" -COM_COMPONENTBUILDER_DYNAMIC_GET_J="j" -COM_COMPONENTBUILDER_DYNAMIC_GET_JJ="jj" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_DB_TABLE="Join Db Table" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_DB_TABLE_DESCRIPTION="Here you can add more table data to the query from other databases." -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_DB_TABLE_SELECT="Add" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_DESCRIPTION="Name of the field" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_HINT="b.field" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_LABEL="Join Field" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_INNER="Join INNER" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT="Join LEFT" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT_OUTER="Join LEFT OUTER" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT="Join RIGHT" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT_OUTER="Join RIGHT OUTER" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE="Join View Table" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_DESCRIPTION="Here you can add more tables to the query from the views of this component." -COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_SELECT="Add" -COM_COMPONENTBUILDER_DYNAMIC_GET_JOOMLA_DATABASE="Joomla Database" -COM_COMPONENTBUILDER_DYNAMIC_GET_K="k" -COM_COMPONENTBUILDER_DYNAMIC_GET_KEY_DESCRIPTION="The table as name." -COM_COMPONENTBUILDER_DYNAMIC_GET_KEY_HINT="key" -COM_COMPONENTBUILDER_DYNAMIC_GET_KEY_LABEL="Table Key/As Name" -COM_COMPONENTBUILDER_DYNAMIC_GET_KK="kk" -COM_COMPONENTBUILDER_DYNAMIC_GET_L="l" -COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN="less than" -COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN_OR_EQUAL_TO="less than or equal to" -COM_COMPONENTBUILDER_DYNAMIC_GET_LL="ll" -COM_COMPONENTBUILDER_DYNAMIC_GET_M="m" -COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE="Main Source" -COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_DESCRIPTION="Select the main source of this dynamic get method." -COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL="Main Source" -COM_COMPONENTBUILDER_DYNAMIC_GET_MM="mm" -COM_COMPONENTBUILDER_DYNAMIC_GET_MULTIPLE="Multiple" -COM_COMPONENTBUILDER_DYNAMIC_GET_N="n" -COM_COMPONENTBUILDER_DYNAMIC_GET_NAME="Name" -COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_DESCRIPTION="The variable name." -COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_HINT="variableName" -COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_LABEL="Name" -COM_COMPONENTBUILDER_DYNAMIC_GET_NEW="A New Dynamic Get" -COM_COMPONENTBUILDER_DYNAMIC_GET_NN="nn" -COM_COMPONENTBUILDER_DYNAMIC_GET_NO="No" -COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION="Fields are in the $item Object." -COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEM_DESCRIPTION="Fields are in the $data Object." -COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_EQUAL="not equal" -COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_GREATER_THAN="not greater than" -COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_IN="NOT IN" -COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_LESS_THAN="not less than" -COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_DYNAMIC_GET_O="o" -COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_DESCRIPTION="Name of the field" -COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_HINT="a.mainfield" -COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_LABEL="On Field" -COM_COMPONENTBUILDER_DYNAMIC_GET_OO="oo" -COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_DESCRIPTION="Select the operator" -COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_LABEL="Comparison Operators" -COM_COMPONENTBUILDER_DYNAMIC_GET_ORDER="Order" -COM_COMPONENTBUILDER_DYNAMIC_GET_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_DYNAMIC_GET_ORDER_DESCRIPTION="Here you can set the ordering per data set." -COM_COMPONENTBUILDER_DYNAMIC_GET_ORDER_SELECT="Add" -COM_COMPONENTBUILDER_DYNAMIC_GET_OTHER="Other" -COM_COMPONENTBUILDER_DYNAMIC_GET_P="p" -COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION="Pagination" -COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_DESCRIPTION="Set if the query and its related views should use pagination." -COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_LABEL="Add Pagination" -COM_COMPONENTBUILDER_DYNAMIC_GET_PERMISSION="Permissions" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM="Php After Getitem" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS="Php After Getitems" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_LABEL="PHP" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_HINT="// PHP Here that should run in the getItem Method (Object) $this->_item[$pk] is the item" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_LABEL="PHP" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM="Php Before Getitem" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS="Php Before Getitems" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_HINT="// PHP Here that should run in the getItems Method before the items are loaded." -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_LABEL="PHP" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_HINT="// PHP Here that should run in the getItem Method (int) $pk is the item id" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_LABEL="PHP" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION="Php Calculation" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_HINT="// PHP to do the calculation on any field." -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_LABEL="get Calculation (Place all calculated/new values in variables with the following naming convention $cal__xxxxxxx)" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET="Php Custom Get" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_HINT="// Custom PHP that will be added to the method selected above as type." -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_LABEL="Custom get" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY="Php Getlistquery" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_HINT="// PHP Here that should run in the getlistquery Method (to add custom filtering)" -COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_LABEL="PHP" -COM_COMPONENTBUILDER_DYNAMIC_GET_PLEASE_SELECT="Please select" -COM_COMPONENTBUILDER_DYNAMIC_GET_PP="pp" -COM_COMPONENTBUILDER_DYNAMIC_GET_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_DYNAMIC_GET_Q="q" -COM_COMPONENTBUILDER_DYNAMIC_GET_QQ="qq" -COM_COMPONENTBUILDER_DYNAMIC_GET_R="r" -COM_COMPONENTBUILDER_DYNAMIC_GET_REPEATABLE_VALUE="Repeatable Value" -COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_DESCRIPTION="Single row or Multiple rows" -COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_LABEL="Return Row Type" -COM_COMPONENTBUILDER_DYNAMIC_GET_RR="rr" -COM_COMPONENTBUILDER_DYNAMIC_GET_S="s" -COM_COMPONENTBUILDER_DYNAMIC_GET_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Dynamic Get to customise the alias." -COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION="Fields to be selected from table." -COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT="b.field AS field" -COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_LABEL="Selection" -COM_COMPONENTBUILDER_DYNAMIC_GET_SINGLE="Single" -COM_COMPONENTBUILDER_DYNAMIC_GET_SS="ss" -COM_COMPONENTBUILDER_DYNAMIC_GET_STATE="State" -COM_COMPONENTBUILDER_DYNAMIC_GET_STATE_KEY_DESCRIPTION="The key to use to get state value or the var name." -COM_COMPONENTBUILDER_DYNAMIC_GET_STATE_KEY_HINT="id" -COM_COMPONENTBUILDER_DYNAMIC_GET_STATE_KEY_LABEL="State Key" -COM_COMPONENTBUILDER_DYNAMIC_GET_STATUS="Status" -COM_COMPONENTBUILDER_DYNAMIC_GET_T="t" -COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_DESCRIPTION="The key to use to get table value." -COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_HINT="a.id" -COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_LABEL="Table Key" -COM_COMPONENTBUILDER_DYNAMIC_GET_TAGS="Tags" -COM_COMPONENTBUILDER_DYNAMIC_GET_THIS="This" -COM_COMPONENTBUILDER_DYNAMIC_GET_TT="tt" -COM_COMPONENTBUILDER_DYNAMIC_GET_TYPE_LABEL="Set Type" -COM_COMPONENTBUILDER_DYNAMIC_GET_U="u" -COM_COMPONENTBUILDER_DYNAMIC_GET_USER="User" -COM_COMPONENTBUILDER_DYNAMIC_GET_USER_GROUPS="User Groups" -COM_COMPONENTBUILDER_DYNAMIC_GET_UU="uu" -COM_COMPONENTBUILDER_DYNAMIC_GET_V="v" -COM_COMPONENTBUILDER_DYNAMIC_GET_VALUE_KEY_DESCRIPTION="The key to use to set value." -COM_COMPONENTBUILDER_DYNAMIC_GET_VALUE_KEY_HINT="b.field or $this->fieldvalue" -COM_COMPONENTBUILDER_DYNAMIC_GET_VALUE_KEY_LABEL="Value Key" -COM_COMPONENTBUILDER_DYNAMIC_GET_VERSION_DESC="A count of the number of times this Dynamic Get has been revised." -COM_COMPONENTBUILDER_DYNAMIC_GET_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION="View Selection" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_DESCRIPTION="Fields to be selected from table." -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_HINT="a.field AS field" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_LABEL="Selection" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE="View Table" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_DESCRIPTION="Select a back-end view" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_LABEL="View Table" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN="View Table Main" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION="Select a back-end view" -COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL="View Table (main)" -COM_COMPONENTBUILDER_DYNAMIC_GET_VV="vv" -COM_COMPONENTBUILDER_DYNAMIC_GET_W="w" -COM_COMPONENTBUILDER_DYNAMIC_GET_WHERE="Where" -COM_COMPONENTBUILDER_DYNAMIC_GET_WHERE_DESCRIPTION="Here you can add where to the query." -COM_COMPONENTBUILDER_DYNAMIC_GET_WHERE_SELECT="Add" -COM_COMPONENTBUILDER_DYNAMIC_GET_WW="ww" -COM_COMPONENTBUILDER_DYNAMIC_GET_X="x" -COM_COMPONENTBUILDER_DYNAMIC_GET_XX="xx" -COM_COMPONENTBUILDER_DYNAMIC_GET_Y="y" -COM_COMPONENTBUILDER_DYNAMIC_GET_YES="Yes" -COM_COMPONENTBUILDER_DYNAMIC_GET_YY="yy" -COM_COMPONENTBUILDER_DYNAMIC_GET_Z="z" -COM_COMPONENTBUILDER_DYNAMIC_GET_ZZ="zz" -COM_COMPONENTBUILDER_EDIT_CREATED_BY="Edit Created By" -COM_COMPONENTBUILDER_EDIT_CREATED_BY_DESC=" Allows users in this group to edit created by." -COM_COMPONENTBUILDER_EDIT_CREATED_DATE="Edit Created Date" -COM_COMPONENTBUILDER_EDIT_CREATED_DATE_DESC=" Allows users in this group to edit created date." -COM_COMPONENTBUILDER_EDIT_VERSIONS="Edit Version" -COM_COMPONENTBUILDER_EDIT_VERSIONS_DESC=" Allows users in this group to edit versions." -COM_COMPONENTBUILDER_EXPORT_DATA="Export Data" -COM_COMPONENTBUILDER_EXPORT_DATA_DESC=" Allows users in this group to export data." -COM_COMPONENTBUILDER_EXPORT_FAILED="Export Failed" -COM_COMPONENTBUILDER_FIELD="Field" -COM_COMPONENTBUILDER_FIELDS="Fields" -COM_COMPONENTBUILDER_FIELDS_ACCESS="Fields Access" -COM_COMPONENTBUILDER_FIELDS_ACCESS_DESC="Allows the users in this group to access access fields" -COM_COMPONENTBUILDER_FIELDS_BATCH_OPTIONS="Batch process the selected Fields" -COM_COMPONENTBUILDER_FIELDS_BATCH_TIP="All changes will be applied to all selected Fields" -COM_COMPONENTBUILDER_FIELDS_BATCH_USE="Fields Batch Use" -COM_COMPONENTBUILDER_FIELDS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch fields" -COM_COMPONENTBUILDER_FIELDS_CREATE="Fields Create" -COM_COMPONENTBUILDER_FIELDS_CREATE_DESC="Allows the users in this group to create create fields" -COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD="Fields Dashboard Add" -COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the field" -COM_COMPONENTBUILDER_FIELDS_DASHBOARD_LIST="Fields Dashboard List" -COM_COMPONENTBUILDER_FIELDS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the field" -COM_COMPONENTBUILDER_FIELDS_DELETE="Fields Delete" -COM_COMPONENTBUILDER_FIELDS_DELETE_DESC="Allows the users in this group to delete delete fields" -COM_COMPONENTBUILDER_FIELDS_EDIT="Fields Edit" -COM_COMPONENTBUILDER_FIELDS_EDIT_DESC="Allows the users in this group to edit the field" -COM_COMPONENTBUILDER_FIELDS_EDIT_OWN="Fields Edit Own" -COM_COMPONENTBUILDER_FIELDS_EDIT_OWN_DESC="Allows the users in this group to edit edit own fields created by them" -COM_COMPONENTBUILDER_FIELDS_EDIT_STATE="Fields Edit State" -COM_COMPONENTBUILDER_FIELDS_EDIT_STATE_DESC="Allows the users in this group to update the state of the field" -COM_COMPONENTBUILDER_FIELDS_EDIT_VERSION="Fields Edit Version" -COM_COMPONENTBUILDER_FIELDS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version fields" -COM_COMPONENTBUILDER_FIELDS_EXPORT="Fields Export" -COM_COMPONENTBUILDER_FIELDS_EXPORT_DESC="Allows the users in this group to export export fields" -COM_COMPONENTBUILDER_FIELDS_IMPORT="Fields Import" -COM_COMPONENTBUILDER_FIELDS_IMPORT_DESC="Allows the users in this group to import import fields" -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_ARCHIVED="%s Fields archived." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_ARCHIVED_1="%s Field archived." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_CHECKED_IN_0="No Field successfully checked in." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_CHECKED_IN_1="%d Field successfully checked in." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_CHECKED_IN_MORE="%d Fields successfully checked in." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_DELETED="%s Fields deleted." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_DELETED_1="%s Field deleted." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_FEATURED="%s Fields featured." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_FEATURED_1="%s Field featured." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_PUBLISHED="%s Fields published." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_PUBLISHED_1="%s Field published." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_TRASHED="%s Fields trashed." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_TRASHED_1="%s Field trashed." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_UNFEATURED="%s Fields unfeatured." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_UNFEATURED_1="%s Field unfeatured." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_UNPUBLISHED="%s Fields unpublished." -COM_COMPONENTBUILDER_FIELDS_N_ITEMS_UNPUBLISHED_1="%s Field unpublished." -COM_COMPONENTBUILDER_FIELDS_SUBMENU="Fields Submenu" -COM_COMPONENTBUILDER_FIELDS_SUBMENU_DESC="Allows the users in this group to update the submenu of the field" -COM_COMPONENTBUILDER_FIELDTYPE="Fieldtype" -COM_COMPONENTBUILDER_FIELDTYPES="Fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_ACCESS="Fieldtypes Access" -COM_COMPONENTBUILDER_FIELDTYPES_ACCESS_DESC="Allows the users in this group to access access fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_BATCH_OPTIONS="Batch process the selected Fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_BATCH_TIP="All changes will be applied to all selected Fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_BATCH_USE="Fieldtypes Batch Use" -COM_COMPONENTBUILDER_FIELDTYPES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_CREATE="Fieldtypes Create" -COM_COMPONENTBUILDER_FIELDTYPES_CREATE_DESC="Allows the users in this group to create create fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_DASHBOARD_ADD="Fieldtypes Dashboard Add" -COM_COMPONENTBUILDER_FIELDTYPES_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the fieldtype" -COM_COMPONENTBUILDER_FIELDTYPES_DASHBOARD_LIST="Fieldtypes Dashboard List" -COM_COMPONENTBUILDER_FIELDTYPES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the fieldtype" -COM_COMPONENTBUILDER_FIELDTYPES_DELETE="Fieldtypes Delete" -COM_COMPONENTBUILDER_FIELDTYPES_DELETE_DESC="Allows the users in this group to delete delete fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT="Fieldtypes Edit" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT_DESC="Allows the users in this group to edit the fieldtype" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT_OWN="Fieldtypes Edit Own" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT_OWN_DESC="Allows the users in this group to edit edit own fieldtypes created by them" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT_STATE="Fieldtypes Edit State" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the fieldtype" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION="Fieldtypes Edit Version" -COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_EXPORT="Fieldtypes Export" -COM_COMPONENTBUILDER_FIELDTYPES_EXPORT_DESC="Allows the users in this group to export export fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_IMPORT="Fieldtypes Import" -COM_COMPONENTBUILDER_FIELDTYPES_IMPORT_DESC="Allows the users in this group to import import fieldtypes" -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_ARCHIVED="%s Fieldtypes archived." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_ARCHIVED_1="%s Fieldtype archived." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_CHECKED_IN_0="No Fieldtype successfully checked in." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_CHECKED_IN_1="%d Fieldtype successfully checked in." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_CHECKED_IN_MORE="%d Fieldtypes successfully checked in." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_DELETED="%s Fieldtypes deleted." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_DELETED_1="%s Fieldtype deleted." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_FEATURED="%s Fieldtypes featured." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_FEATURED_1="%s Fieldtype featured." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_PUBLISHED="%s Fieldtypes published." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_PUBLISHED_1="%s Fieldtype published." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_TRASHED="%s Fieldtypes trashed." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_TRASHED_1="%s Fieldtype trashed." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_UNFEATURED="%s Fieldtypes unfeatured." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_UNFEATURED_1="%s Fieldtype unfeatured." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_UNPUBLISHED="%s Fieldtypes unpublished." -COM_COMPONENTBUILDER_FIELDTYPES_N_ITEMS_UNPUBLISHED_1="%s Fieldtype unpublished." -COM_COMPONENTBUILDER_FIELDTYPES_SUBMENU="Fieldtypes Submenu" -COM_COMPONENTBUILDER_FIELDTYPES_SUBMENU_DESC="Allows the users in this group to update the submenu of the fieldtype" -COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION="Select if the value is adjustable. If not the Value/Example will be enforced." -COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL="Adjustable" -COM_COMPONENTBUILDER_FIELDTYPE_CATID_DESCRIPTION="select one of the following categories" -COM_COMPONENTBUILDER_FIELDTYPE_CATID_LABEL="Category" -COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_DESC="The user that created the Fieldtype." -COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_DESC="The date Fieldtype was created." -COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION="Description" -COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION="Add Description Here" -COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT="Add Description Here" -COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_FIELDTYPE_DETAILS="Details" -COM_COMPONENTBUILDER_FIELDTYPE_EDIT="Editing the Fieldtype" -COM_COMPONENTBUILDER_FIELDTYPE_ERROR_UNIQUE_ALIAS="Another Fieldtype has the same alias." -COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_HINT="Value/Example Here" -COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_LABEL="Value/Example" -COM_COMPONENTBUILDER_FIELDTYPE_FIELDS="Fields" -COM_COMPONENTBUILDER_FIELDTYPE_FIELDTYPE_CATEGORY="Fieldtype Category" -COM_COMPONENTBUILDER_FIELDTYPE_ID="Id" -COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION="Select if the property is mandatory." -COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL="Mandatory" -COM_COMPONENTBUILDER_FIELDTYPE_NAME="Name" -COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL="Name" -COM_COMPONENTBUILDER_FIELDTYPE_NEW="A New Fieldtype" -COM_COMPONENTBUILDER_FIELDTYPE_NO="No" -COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_DESCRIPTION="To get more form field settings go to https://docs.joomla.org/Form_field" -COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_LABEL="More Standard form field types" -COM_COMPONENTBUILDER_FIELDTYPE_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_FIELDTYPE_PERMISSION="Permissions" -COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES="Properties" -COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_DESCRIPTION="Options for this field" -COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_SELECT="Add" -COM_COMPONENTBUILDER_FIELDTYPE_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_FIELDTYPE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Fieldtype to customise the alias." -COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION="Short Description" -COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_DESCRIPTION="Enter short description" -COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_HINT="Your Short Description Here" -COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_LABEL="Short Description" -COM_COMPONENTBUILDER_FIELDTYPE_STATUS="Status" -COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_DESCRIPTION="Select if the property is translatable." -COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_LABEL="Translatable" -COM_COMPONENTBUILDER_FIELDTYPE_VERSION_DESC="A count of the number of times this Fieldtype has been revised." -COM_COMPONENTBUILDER_FIELDTYPE_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_FIELDTYPE_YES="Yes" -COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW="Add Css View" -COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS="Add Css Views" -COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL="Add CSS (views)" -COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL="Add CSS (view)" -COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER="Add Javascript Views Footer" -COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL="Add JavaScript (views-footer)" -COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER="Add Javascript View Footer" -COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL="Add JavaScript (view-footer)" -COM_COMPONENTBUILDER_FIELD_ADVANCE_ENCRYPTION_WHMCSKEY="Advance Encryption (WHMCS-key)" -COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR="base64" -COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALKEY="Basic Encryption (local-key)" -COM_COMPONENTBUILDER_FIELD_BIGINT="BIGINT" -COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION="select one of the following categories" -COM_COMPONENTBUILDER_FIELD_CATID_LABEL="Category" -COM_COMPONENTBUILDER_FIELD_CHAR="CHAR" -COM_COMPONENTBUILDER_FIELD_CREATED_BY_DESC="The user that created the Field." -COM_COMPONENTBUILDER_FIELD_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_FIELD_CREATED_DATE_DESC="The date Field was created." -COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_FIELD_CSS_VIEW="Css View" -COM_COMPONENTBUILDER_FIELD_CSS_VIEWS="Css Views" -COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION="Add your CSS here! [Do not add the style tags]" -COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_HINT="// CSS for the list view" -COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL="CSS" -COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION="Add your CSS here! [Do not add the style tags]" -COM_COMPONENTBUILDER_FIELD_CSS_VIEW_HINT="// CSS for the edit view" -COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL="CSS" -COM_COMPONENTBUILDER_FIELD_CURRENT_TIMESTAMP="CURRENT_TIMESTAMP" -COM_COMPONENTBUILDER_FIELD_DATADEFAULT="Datadefault" -COM_COMPONENTBUILDER_FIELD_DATADEFAULT_DESCRIPTION="The data default value for mysql" -COM_COMPONENTBUILDER_FIELD_DATADEFAULT_LABEL="Data Default" -COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER="Datadefault Other" -COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_DESCRIPTION="The other default data for mysql" -COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_HINT="Other Default Here" -COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_LABEL="Other Default" -COM_COMPONENTBUILDER_FIELD_DATALENGHT="Datalenght" -COM_COMPONENTBUILDER_FIELD_DATALENGHT_DESCRIPTION="The data length or value for mysql (size)" -COM_COMPONENTBUILDER_FIELD_DATALENGHT_LABEL="Data Length/Values" -COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER="Datalenght Other" -COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_DESCRIPTION="The other data length/values for mysql" -COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_HINT="Other Here" -COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_LABEL="Other" -COM_COMPONENTBUILDER_FIELD_DATATYPE="Datatype" -COM_COMPONENTBUILDER_FIELD_DATATYPE_DESCRIPTION="The data type for mysql" -COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL="Data Type" -COM_COMPONENTBUILDER_FIELD_DATE="DATE" -COM_COMPONENTBUILDER_FIELD_DATETIME="DATETIME" -COM_COMPONENTBUILDER_FIELD_DECIMAL="DECIMAL" -COM_COMPONENTBUILDER_FIELD_DEFAULT="Default" -COM_COMPONENTBUILDER_FIELD_DETAILS="Details" -COM_COMPONENTBUILDER_FIELD_DOUBLE="DOUBLE" -COM_COMPONENTBUILDER_FIELD_EDIT="Editing the Field" -COM_COMPONENTBUILDER_FIELD_ELEVEN="11" -COM_COMPONENTBUILDER_FIELD_ERROR_UNIQUE_ALIAS="Another Field has the same alias." -COM_COMPONENTBUILDER_FIELD_FIELD_CATEGORY="Field Category" -COM_COMPONENTBUILDER_FIELD_FIFTY="50" -COM_COMPONENTBUILDER_FIELD_FLOAT="FLOAT" -COM_COMPONENTBUILDER_FIELD_HELPNOTE_LABEL="Field Information" -COM_COMPONENTBUILDER_FIELD_ID="Id" -COM_COMPONENTBUILDER_FIELD_INDEXES="Indexes" -COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL="Indexes Type" -COM_COMPONENTBUILDER_FIELD_INT="INT" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER="Javascript Views Footer" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_HINT="// JavaScript for the list view that is loaded in the footer inside script tags" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_LABEL="Javascript" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER="Javascript View Footer" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_HINT="// JavaScript for the edit view that is loaded in the footer inside script tags" -COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL="Javascript" -COM_COMPONENTBUILDER_FIELD_JSON="JSON" -COM_COMPONENTBUILDER_FIELD_KEY="KEY" -COM_COMPONENTBUILDER_FIELD_LONGTEXT="LONGTEXT" -COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT="MEDIUMTEXT" -COM_COMPONENTBUILDER_FIELD_NAME="Name" -COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_FIELD_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_FIELD_NAME_LABEL="Name" -COM_COMPONENTBUILDER_FIELD_NEW="A New Field" -COM_COMPONENTBUILDER_FIELD_NO="No" -COM_COMPONENTBUILDER_FIELD_NONE="None" -COM_COMPONENTBUILDER_FIELD_NONE_SET="None Set" -COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION="<b>The available values for the filter attribute are:</b><br /> - <p> - <code>INT</code> - An integer,<br /> - <code>UINT</code> - An unsigned integer,<br /> - <code>FLOAT</code> - A floating point number,<br /> - <code>BOOLEAN</code> - A boolean value,<br /> - <code>WORD</code> - A string containing A-Z or underscores only (not case sensitive),<br /> - <code>ALNUM</code> - A string containing A-Z or 0-9 only (not case sensitive),<br /> - <code>CMD</code> - A string containing A-Z, 0-9, underscores, periods or hyphens (not case sensitive),<br /> - <code>BASE64</code> - A string containing A-Z, 0-9, forward slashes, plus or equals (not case sensitive),<br /> - <code>STRING</code> - A fully decoded and sanitized string (default),<br /> - <code>HTML</code> - A sanitized string,<br /> - <code>ARRAY</code> - An array,<br /> - <code>PATH</code> - A sanitized file path,<br /> - <code>USERNAME</code> - Do not use (use an application specific filter),<br /> - <code>RAW</code> - The raw string is returned with no filtering,<br /> - <code>unknown</code> - An unknown filter will act like STRING. If the input is an array it will return an array of fully decoded and sanitized strings. - </p>" -COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_LABEL="Filter Information" -COM_COMPONENTBUILDER_FIELD_NOTE_VDM_ENCRYPTION_DESCRIPTION="When using the VDM encryption you need to get a VDM public key from https://www.vdm.io/ " -COM_COMPONENTBUILDER_FIELD_NOTE_VDM_ENCRYPTION_LABEL="The VDM Encryption" -COM_COMPONENTBUILDER_FIELD_NOT_NULL="NOT NULL" -COM_COMPONENTBUILDER_FIELD_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_FIELD_NULL="NULL" -COM_COMPONENTBUILDER_FIELD_NULL_SWITCH="Null Switch" -COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL="Null Switch" -COM_COMPONENTBUILDER_FIELD_ONE="1" -COM_COMPONENTBUILDER_FIELD_ONE_HUNDRED="100" -COM_COMPONENTBUILDER_FIELD_ONE_THOUSAND_AND_TWENTY_FOUR="1024" -COM_COMPONENTBUILDER_FIELD_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_FIELD_OTHER="Other" -COM_COMPONENTBUILDER_FIELD_PERMISSION="Permissions" -COM_COMPONENTBUILDER_FIELD_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_FIELD_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Field to customise the alias." -COM_COMPONENTBUILDER_FIELD_SCRIPTS="Scripts" -COM_COMPONENTBUILDER_FIELD_SEVEN="7" -COM_COMPONENTBUILDER_FIELD_SIXTY_FOUR="64" -COM_COMPONENTBUILDER_FIELD_STATUS="Status" -COM_COMPONENTBUILDER_FIELD_STORE="Store" -COM_COMPONENTBUILDER_FIELD_STORE_DESCRIPTION="How should the data be stored." -COM_COMPONENTBUILDER_FIELD_STORE_LABEL="Store Method" -COM_COMPONENTBUILDER_FIELD_TEN="10" -COM_COMPONENTBUILDER_FIELD_TEXT="TEXT" -COM_COMPONENTBUILDER_FIELD_TINYINT="TINYINT" -COM_COMPONENTBUILDER_FIELD_TWO_HUNDRED_AND_FIFTY_FIVE="255" -COM_COMPONENTBUILDER_FIELD_TWO_THOUSAND_AND_FORTY_EIGHT="2048" -COM_COMPONENTBUILDER_FIELD_TYPE="Type" -COM_COMPONENTBUILDER_FIELD_TYPE_DESCRIPTION="Set the field type" -COM_COMPONENTBUILDER_FIELD_TYPE_LABEL="Type" -COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY="UNIQUE KEY" -COM_COMPONENTBUILDER_FIELD_VARCHAR="VARCHAR" -COM_COMPONENTBUILDER_FIELD_VERSION_DESC="A count of the number of times this Field has been revised." -COM_COMPONENTBUILDER_FIELD_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_FIELD_XML="Xml" -COM_COMPONENTBUILDER_FIELD_XML_DESCRIPTION="Text Area" -COM_COMPONENTBUILDER_FIELD_XML_HINT="Field XML Go Here" -COM_COMPONENTBUILDER_FIELD_XML_LABEL="XML field definition (Please set the field details here to fit your needs)" -COM_COMPONENTBUILDER_FIELD_YES="Yes" -COM_COMPONENTBUILDER_FIELD_ZERO="0" -COM_COMPONENTBUILDER_HELP_DOCUMENT="Help Document" -COM_COMPONENTBUILDER_HELP_DOCUMENTS="Help Documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_ACCESS="Help Documents Access" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_ACCESS_DESC="Allows the users in this group to access access help documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_OPTIONS="Batch process the selected Help Documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_TIP="All changes will be applied to all selected Help Documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_USE="Help Documents Batch Use" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch help documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_CREATE="Help Documents Create" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_DASHBOARD_ADD="Help Documents Dashboard Add" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the help document" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the help document" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_DELETE="Help Documents Delete" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_DELETE_DESC="Allows the users in this group to delete delete help documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT="Help Documents Edit" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_DESC="Allows the users in this group to edit the help document" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_OWN="Help Documents Edit Own" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own help documents created by them" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version help documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EXPORT="Help Documents Export" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_IMPORT="Help Documents Import" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_IMPORT_DESC="Allows the users in this group to import import help documents" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_ARCHIVED="%s Help Documents archived." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_ARCHIVED_1="%s Help Document archived." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_CHECKED_IN_0="No Help Document successfully checked in." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_CHECKED_IN_1="%d Help Document successfully checked in." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_CHECKED_IN_MORE="%d Help Documents successfully checked in." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_DELETED="%s Help Documents deleted." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_DELETED_1="%s Help Document deleted." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_FEATURED="%s Help Documents featured." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_FEATURED_1="%s Help Document featured." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_PUBLISHED="%s Help Documents published." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_PUBLISHED_1="%s Help Document published." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_TRASHED="%s Help Documents trashed." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_TRASHED_1="%s Help Document trashed." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_UNFEATURED="%s Help Documents unfeatured." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_UNFEATURED_1="%s Help Document unfeatured." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_UNPUBLISHED="%s Help Documents unpublished." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_N_ITEMS_UNPUBLISHED_1="%s Help Document unpublished." -COM_COMPONENTBUILDER_HELP_DOCUMENTS_SUBMENU="Help Documents Submenu" -COM_COMPONENTBUILDER_HELP_DOCUMENTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the help document" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN="Admin" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW="Admin View" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION="Select the view being targeted" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL="Admin Views" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS="Alias" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_HINT="Auto-generated from name" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ALL="All" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE="Article" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL="Article" -COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT="Content" -COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL="Content" -COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_DESC="The user that created the Help Document." -COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_DESC="The date Help Document was created." -COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_HELP_DOCUMENT_DETAILS="Details" -COM_COMPONENTBUILDER_HELP_DOCUMENT_EDIT="Editing the Help Document" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS="Another Help Document has the same alias." -COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS="Groups" -COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_DESCRIPTION="Select a group/s" -COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_LABEL="Group/s" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ID="Id" -COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE="Joomla Article" -COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION="Location" -COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION="Select the help target location." -COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL="Location" -COM_COMPONENTBUILDER_HELP_DOCUMENT_NEW="A New Help Document" -COM_COMPONENTBUILDER_HELP_DOCUMENT_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_HELP_DOCUMENT_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_HELP_DOCUMENT_PERMISSION="Permissions" -COM_COMPONENTBUILDER_HELP_DOCUMENT_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_HELP_DOCUMENT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Help Document to customise the alias." -COM_COMPONENTBUILDER_HELP_DOCUMENT_SELECT_AN_OPTION="Select an option" -COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE="Site" -COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW="Site View" -COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION="Select the view being targeted" -COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL="Site Views" -COM_COMPONENTBUILDER_HELP_DOCUMENT_SOME="Some" -COM_COMPONENTBUILDER_HELP_DOCUMENT_STATUS="Status" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET="Target" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_DESCRIPTION="Select the target option in relation to groups." -COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_LABEL="Target Groups" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TEXT="Text" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE="Title" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_DESCRIPTION="Enter Title Here" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_HINT="Title Here" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL="Title" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE="Type" -COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_DESCRIPTION="Select the help type." -COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL="Type" -COM_COMPONENTBUILDER_HELP_DOCUMENT_URL="Url" -COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_DESCRIPTION="Enter url" -COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_HINT="http://www.example.com" -COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_LABEL="URL" -COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_DESC="A count of the number of times this Help Document has been revised." -COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_HELP_MANAGER="Help" -COM_COMPONENTBUILDER_IMPORT_CONTINUE="Continue" -COM_COMPONENTBUILDER_IMPORT_DATA="Import Data" -COM_COMPONENTBUILDER_IMPORT_DATA_DESC=" Allows users in this group to import data." -COM_COMPONENTBUILDER_IMPORT_ERROR="Import error." -COM_COMPONENTBUILDER_IMPORT_FAILED="Import Failed" -COM_COMPONENTBUILDER_IMPORT_FILE_COLUMNS="File Columns" -COM_COMPONENTBUILDER_IMPORT_FORMATS_ACCEPTED="formats accepted" -COM_COMPONENTBUILDER_IMPORT_FROM_DIRECTORY="Directory" -COM_COMPONENTBUILDER_IMPORT_FROM_UPLOAD="Upload" -COM_COMPONENTBUILDER_IMPORT_FROM_URL="URL" -COM_COMPONENTBUILDER_IMPORT_GET_BOTTON="Get File" -COM_COMPONENTBUILDER_IMPORT_IGNORE_COLUMN="-- Ignore This Column --" -COM_COMPONENTBUILDER_IMPORT_LINK_FILE_TO_TABLE_COLUMNS="Link File to Table Columns" -COM_COMPONENTBUILDER_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE="Does not have a valid file type." -COM_COMPONENTBUILDER_IMPORT_MSG_ENTER_A_URL="Please enter a url." -COM_COMPONENTBUILDER_IMPORT_MSG_INVALID_URL="Invalid url." -COM_COMPONENTBUILDER_IMPORT_MSG_NO_FILE_SELECTED="No import file selected." -COM_COMPONENTBUILDER_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE="Path does not have a valid file." -COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY="Please enter the file directory." -COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_SELECT_ALL_COLUMNS="Please link all columns." -COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_SELECT_A_DIRECTORY="Please enter the file directory." -COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_SELECT_A_FILE="Please select a file to import." -COM_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTFILE="Warning, import file error." -COM_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTUPLOADERROR="Warning, import upload error." -COM_COMPONENTBUILDER_IMPORT_NO_IMPORT_TYPE_FOUND="Import type not found." -COM_COMPONENTBUILDER_IMPORT_PLEASE_SELECT_COLUMN="-- Please Select Column --" -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE="Select File" -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_DIRECTORY="Set the path to file" -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_ADMIN_VIEWS="Select the file to import data to admin_views." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_COMPONENTS="Select the file to import data to components." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_CUSTOM_ADMIN_VIEWS="Select the file to import data to custom_admin_views." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_DYNAMIC_GETS="Select the file to import data to dynamic_gets." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDS="Select the file to import data to fields." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_FIELDTYPES="Select the file to import data to fieldtypes." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_HELP_DOCUMENTS="Select the file to import data to help_documents." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_LAYOUTS="Select the file to import data to layouts." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_SITE_VIEWS="Select the file to import data to site_views." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_SNIPPETS="Select the file to import data to snippets." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_FOR_TEMPLATES="Select the file to import data to templates." -COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_URL="Enter file URL" -COM_COMPONENTBUILDER_IMPORT_SUCCESS="Great! Import successful." -COM_COMPONENTBUILDER_IMPORT_TABLE_COLUMNS="Table Columns" -COM_COMPONENTBUILDER_IMPORT_TITLE="Data Importer" -COM_COMPONENTBUILDER_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE="Package to import not found." -COM_COMPONENTBUILDER_IMPORT_UPDATE_DATA="Import Data" -COM_COMPONENTBUILDER_IMPORT_UPLOAD_BOTTON="Upload File" -COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS="- Keep Original Access -" -COM_COMPONENTBUILDER_KEEP_ORIGINAL_CATEGORY="- Keep Original Category -" -COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE="- Keep Original State -" -COM_COMPONENTBUILDER_LAYOUT="Layout" -COM_COMPONENTBUILDER_LAYOUTS="Layouts" -COM_COMPONENTBUILDER_LAYOUTS_ACCESS="Layouts Access" -COM_COMPONENTBUILDER_LAYOUTS_ACCESS_DESC="Allows the users in this group to access access layouts" -COM_COMPONENTBUILDER_LAYOUTS_BATCH_OPTIONS="Batch process the selected Layouts" -COM_COMPONENTBUILDER_LAYOUTS_BATCH_TIP="All changes will be applied to all selected Layouts" -COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE="Layouts Batch Use" -COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch layouts" -COM_COMPONENTBUILDER_LAYOUTS_CREATE="Layouts Create" -COM_COMPONENTBUILDER_LAYOUTS_CREATE_DESC="Allows the users in this group to create create layouts" -COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD="Layouts Dashboard Add" -COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the layout" -COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST="Layouts Dashboard List" -COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the layout" -COM_COMPONENTBUILDER_LAYOUTS_DELETE="Layouts Delete" -COM_COMPONENTBUILDER_LAYOUTS_DELETE_DESC="Allows the users in this group to delete delete layouts" -COM_COMPONENTBUILDER_LAYOUTS_EDIT="Layouts Edit" -COM_COMPONENTBUILDER_LAYOUTS_EDIT_DESC="Allows the users in this group to edit the layout" -COM_COMPONENTBUILDER_LAYOUTS_EDIT_OWN="Layouts Edit Own" -COM_COMPONENTBUILDER_LAYOUTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own layouts created by them" -COM_COMPONENTBUILDER_LAYOUTS_EDIT_STATE="Layouts Edit State" -COM_COMPONENTBUILDER_LAYOUTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the layout" -COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION="Layouts Edit Version" -COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version layouts" -COM_COMPONENTBUILDER_LAYOUTS_EXPORT="Layouts Export" -COM_COMPONENTBUILDER_LAYOUTS_EXPORT_DESC="Allows the users in this group to export export layouts" -COM_COMPONENTBUILDER_LAYOUTS_IMPORT="Layouts Import" -COM_COMPONENTBUILDER_LAYOUTS_IMPORT_DESC="Allows the users in this group to import import layouts" -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_ARCHIVED="%s Layouts archived." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_ARCHIVED_1="%s Layout archived." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_CHECKED_IN_0="No Layout successfully checked in." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_CHECKED_IN_1="%d Layout successfully checked in." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_CHECKED_IN_MORE="%d Layouts successfully checked in." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_DELETED="%s Layouts deleted." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_DELETED_1="%s Layout deleted." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_FEATURED="%s Layouts featured." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_FEATURED_1="%s Layout featured." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_PUBLISHED="%s Layouts published." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_PUBLISHED_1="%s Layout published." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_TRASHED="%s Layouts trashed." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_TRASHED_1="%s Layout trashed." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_UNFEATURED="%s Layouts unfeatured." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_UNFEATURED_1="%s Layout unfeatured." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_UNPUBLISHED="%s Layouts unpublished." -COM_COMPONENTBUILDER_LAYOUTS_N_ITEMS_UNPUBLISHED_1="%s Layout unpublished." -COM_COMPONENTBUILDER_LAYOUTS_SUBMENU="Layouts Submenu" -COM_COMPONENTBUILDER_LAYOUTS_SUBMENU_DESC="Allows the users in this group to update the submenu of the layout" -COM_COMPONENTBUILDER_LAYOUT_ADD_PHP_VIEW="Add Php View" -COM_COMPONENTBUILDER_LAYOUT_ADD_PHP_VIEW_LABEL="Add PHP (custom view script)" -COM_COMPONENTBUILDER_LAYOUT_ALIAS="Alias" -COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION="Add Name in Code Here" -COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT="codename" -COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL="Name in Code" -COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_DESC="The user that created the Layout." -COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_DESC="The date Layout was created." -COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_LAYOUT_CUSTOM_SCRIPT="Custom Script" -COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION="Description" -COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION="Enter some description" -COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_HINT="Description Here" -COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_LAYOUT_DETAILS="Details" -COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET="Dynamic Get" -COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_DESCRIPTION="Select a dynamic get" -COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL="Dynamic Get" -COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_DESCRIPTION="Only use dynamic get values that is linked to the same component." -COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_LABEL="Dynamic Values" -COM_COMPONENTBUILDER_LAYOUT_EDIT="Editing the Layout" -COM_COMPONENTBUILDER_LAYOUT_ERROR_UNIQUE_ALIAS="Another Layout has the same alias." -COM_COMPONENTBUILDER_LAYOUT_ID="Id" -COM_COMPONENTBUILDER_LAYOUT_LAYOUT="Layout" -COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT="// Add the layout code here. $displayData is the Object that is used inside the layout file to build displayed output" -COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL="Layout" -COM_COMPONENTBUILDER_LAYOUT_NAME="Name" -COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_LAYOUT_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL="Name" -COM_COMPONENTBUILDER_LAYOUT_NEW="A New Layout" -COM_COMPONENTBUILDER_LAYOUT_NO="No" -COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION="<code>&lt;?php echo JText::_('Text'); ?&gt;</code>" -COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_LABEL="Add Language String" -COM_COMPONENTBUILDER_LAYOUT_NOTE_SNIPPET_USAGE_LABEL="Snippet Usage" -COM_COMPONENTBUILDER_LAYOUT_NOTE_UIKIT_SNIPPET_LABEL="Snippet Details" -COM_COMPONENTBUILDER_LAYOUT_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_LAYOUT_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_LAYOUT_PERMISSION="Permissions" -COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW="Php View" -COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file." -COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT="// add custom PHP script to head of the file." -COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL="Custom Script" -COM_COMPONENTBUILDER_LAYOUT_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_LAYOUT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Layout to customise the alias." -COM_COMPONENTBUILDER_LAYOUT_SNIPPET="Snippet" -COM_COMPONENTBUILDER_LAYOUT_SNIPPET_LABEL="Select a Snippet" -COM_COMPONENTBUILDER_LAYOUT_STATUS="Status" -COM_COMPONENTBUILDER_LAYOUT_VERSION_DESC="A count of the number of times this Layout has been revised." -COM_COMPONENTBUILDER_LAYOUT_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_LAYOUT_YES="Yes" -COM_COMPONENTBUILDER_LICENSE="License" -COM_COMPONENTBUILDER_NEW="New" -COM_COMPONENTBUILDER_NO_ACCESS_GRANTED="No Access Granted!" -COM_COMPONENTBUILDER_SAVE_SUCCESS="Great! Item successfully saved." -COM_COMPONENTBUILDER_SAVE_WARNING="The value already existed so please select another." -COM_COMPONENTBUILDER_SITE_VIEW="Site View" -COM_COMPONENTBUILDER_SITE_VIEWS="Site Views" -COM_COMPONENTBUILDER_SITE_VIEWS_ACCESS="Site Views Access" -COM_COMPONENTBUILDER_SITE_VIEWS_ACCESS_DESC="Allows the users in this group to access access site views" -COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_OPTIONS="Batch process the selected Site Views" -COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_TIP="All changes will be applied to all selected Site Views" -COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_USE="Site Views Batch Use" -COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch site views" -COM_COMPONENTBUILDER_SITE_VIEWS_CREATE="Site Views Create" -COM_COMPONENTBUILDER_SITE_VIEWS_CREATE_DESC="Allows the users in this group to create create site views" -COM_COMPONENTBUILDER_SITE_VIEWS_DASHBOARD_ADD="Site Views Dashboard Add" -COM_COMPONENTBUILDER_SITE_VIEWS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the site view" -COM_COMPONENTBUILDER_SITE_VIEWS_DASHBOARD_LIST="Site Views Dashboard List" -COM_COMPONENTBUILDER_SITE_VIEWS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the site view" -COM_COMPONENTBUILDER_SITE_VIEWS_DELETE="Site Views Delete" -COM_COMPONENTBUILDER_SITE_VIEWS_DELETE_DESC="Allows the users in this group to delete delete site views" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT="Site Views Edit" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_DESC="Allows the users in this group to edit the site view" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_OWN="Site Views Edit Own" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_OWN_DESC="Allows the users in this group to edit edit own site views created by them" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_STATE="Site Views Edit State" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the site view" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_VERSION="Site Views Edit Version" -COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version site views" -COM_COMPONENTBUILDER_SITE_VIEWS_EXPORT="Site Views Export" -COM_COMPONENTBUILDER_SITE_VIEWS_EXPORT_DESC="Allows the users in this group to export export site views" -COM_COMPONENTBUILDER_SITE_VIEWS_IMPORT="Site Views Import" -COM_COMPONENTBUILDER_SITE_VIEWS_IMPORT_DESC="Allows the users in this group to import import site views" -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_ARCHIVED="%s Site Views archived." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_ARCHIVED_1="%s Site View archived." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_CHECKED_IN_0="No Site View successfully checked in." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_CHECKED_IN_1="%d Site View successfully checked in." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_CHECKED_IN_MORE="%d Site Views successfully checked in." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_DELETED="%s Site Views deleted." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_DELETED_1="%s Site View deleted." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_FEATURED="%s Site Views featured." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_FEATURED_1="%s Site View featured." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_PUBLISHED="%s Site Views published." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_PUBLISHED_1="%s Site View published." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_TRASHED="%s Site Views trashed." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_TRASHED_1="%s Site View trashed." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_UNFEATURED="%s Site Views unfeatured." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_UNFEATURED_1="%s Site View unfeatured." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_UNPUBLISHED="%s Site Views unpublished." -COM_COMPONENTBUILDER_SITE_VIEWS_N_ITEMS_UNPUBLISHED_1="%s Site View unpublished." -COM_COMPONENTBUILDER_SITE_VIEWS_SUBMENU="Site Views Submenu" -COM_COMPONENTBUILDER_SITE_VIEWS_SUBMENU_DESC="Allows the users in this group to update the submenu of the site view" -COM_COMPONENTBUILDER_SITE_VIEW_ADDRESS="Address" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS="Add Css" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS_DOCUMENT="Add Css Document" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS_DOCUMENT_LABEL="Add CSS (custom document script)" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS_LABEL="Add CSS" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_CUSTOM_BUTTON="Add Custom Button" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_CUSTOM_BUTTON_LABEL="Add Custom Button" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_JS_DOCUMENT="Add Js Document" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_JS_DOCUMENT_LABEL="Add JS (custom document script)" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_AJAX="Add Php Ajax" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_AJAX_LABEL="Add PHP (AJAX)" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_DOCUMENT="Add Php Document" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_DOCUMENT_LABEL="Add PHP (custom document script)" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW="Add Php Jview" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW_DISPLAY="Add Php Jview Display" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL="Add PHP (custom JViewLegacy display)" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW_LABEL="Add PHP (custom JViewLegacy methods)" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_VIEW="Add Php View" -COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_VIEW_LABEL="Add PHP (custom view script)" -COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT="Ajax Input" -COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT_SELECT="Add" -COM_COMPONENTBUILDER_SITE_VIEW_ALIAS="Alias" -COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_DESCRIPTION="Add Name in Code Here" -COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_HINT="codename" -COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_LABEL="Name in Code" -COM_COMPONENTBUILDER_SITE_VIEW_ALNUM="ALNUM" -COM_COMPONENTBUILDER_SITE_VIEW_ARCHIVE="Archive" -COM_COMPONENTBUILDER_SITE_VIEW_ARRAY="ARRAY" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN="Arrow Down" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_FOUR="Arrow Down 4" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_THREE="Arrow Down 3" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_TWO="Arrow Down 2" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_FIRST="Arrow First" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LAST="Arrow Last" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT="Arrow Left" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_FOUR="Arrow Left 4" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_THREE="Arrow Left 3" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_TWO="Arrow Left 2" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT="Arrow Right" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_FOUR="Arrow Right 4" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_THREE="Arrow Right 3" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_TWO="Arrow Right 2" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP="Arrow Up" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_FOUR="Arrow Up 4" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_THREE="Arrow Up 3" -COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_TWO="Arrow Up 2" -COM_COMPONENTBUILDER_SITE_VIEW_ATTACHMENT="Attachment" -COM_COMPONENTBUILDER_SITE_VIEW_BACKWARD_CIRCLE="Backward Circle" -COM_COMPONENTBUILDER_SITE_VIEW_BAN_CIRCLE="Ban Circle" -COM_COMPONENTBUILDER_SITE_VIEW_BARS="Bars" -COM_COMPONENTBUILDER_SITE_VIEW_BASESIXTY_FOUR="BASE64" -COM_COMPONENTBUILDER_SITE_VIEW_BASKET="Basket" -COM_COMPONENTBUILDER_SITE_VIEW_BOOK="Book" -COM_COMPONENTBUILDER_SITE_VIEW_BOOKMARK="Bookmark" -COM_COMPONENTBUILDER_SITE_VIEW_BOOKMARK_TWO="Bookmark 2" -COM_COMPONENTBUILDER_SITE_VIEW_BOOLEAN="BOOLEAN" -COM_COMPONENTBUILDER_SITE_VIEW_BOTH="Both" -COM_COMPONENTBUILDER_SITE_VIEW_BOTTOM_LEFT="Bottom Left" -COM_COMPONENTBUILDER_SITE_VIEW_BOTTOM_RIGHT="Bottom Right" -COM_COMPONENTBUILDER_SITE_VIEW_BOX_ADD="Box Add" -COM_COMPONENTBUILDER_SITE_VIEW_BOX_REMOVE="Box Remove" -COM_COMPONENTBUILDER_SITE_VIEW_BRIEFCASE="Briefcase" -COM_COMPONENTBUILDER_SITE_VIEW_BRUSH="Brush" -COM_COMPONENTBUILDER_SITE_VIEW_BUBBLE_QUOTE="Bubble Quote" -COM_COMPONENTBUILDER_SITE_VIEW_BUTTON_POSITION="Button Position" -COM_COMPONENTBUILDER_SITE_VIEW_BUTTON_POSITION_DESCRIPTION="Select the button position of buttons in the view. You can with [[[SITE_TOOLBAR]]] add the toolbar anywhere in the site view, select custom in that case." -COM_COMPONENTBUILDER_SITE_VIEW_BUTTON_POSITION_LABEL="Button Position" -COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR="Calendar" -COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR_THREE="Calendar 3" -COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR_TWO="Calendar 2" -COM_COMPONENTBUILDER_SITE_VIEW_CAMERA="Camera" -COM_COMPONENTBUILDER_SITE_VIEW_CAMERA_TWO_VIDEO="Camera 2 / Video" -COM_COMPONENTBUILDER_SITE_VIEW_CANCEL_CIRCLE="Cancel Circle" -COM_COMPONENTBUILDER_SITE_VIEW_CART="Cart" -COM_COMPONENTBUILDER_SITE_VIEW_CHART="Chart" -COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX="Checkbox" -COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX_PARTIAL="Checkbox Partial" -COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX_UNCHECKED="Checkbox Unchecked" -COM_COMPONENTBUILDER_SITE_VIEW_CHECKMARK_CIRCLE="Checkmark Circle" -COM_COMPONENTBUILDER_SITE_VIEW_CHECKMARK_TWO="Checkmark 2" -COM_COMPONENTBUILDER_SITE_VIEW_CIRCLE="Circle" -COM_COMPONENTBUILDER_SITE_VIEW_CLOCK="Clock" -COM_COMPONENTBUILDER_SITE_VIEW_CMD="CMD" -COM_COMPONENTBUILDER_SITE_VIEW_COG="Cog" -COM_COMPONENTBUILDER_SITE_VIEW_COGS="Cogs" -COM_COMPONENTBUILDER_SITE_VIEW_COMMENT="Comment" -COM_COMPONENTBUILDER_SITE_VIEW_COMMENTS_TWO="Comments 2" -COM_COMPONENTBUILDER_SITE_VIEW_COMPASS="Compass" -COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT="Contract" -COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT_TWO="Contract 2" -COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_DESC="The user that created the Site View." -COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_DESC="The date Site View was created." -COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_SITE_VIEW_CREDIT="Credit" -COM_COMPONENTBUILDER_SITE_VIEW_CREDIT_TWO="Credit 2" -COM_COMPONENTBUILDER_SITE_VIEW_CSS="Css" -COM_COMPONENTBUILDER_SITE_VIEW_CSS_DESCRIPTION="Add your CSS here! [Do not add the style tags]" -COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT="Css Document" -COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_DESCRIPTION="CSS script to the document method." -COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_HINT="// add custom CSS script to the document method. You can add in PHP like this: &quot;.$var.&quot; " -COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_LABEL="Custom Script (Document)" -COM_COMPONENTBUILDER_SITE_VIEW_CSS_HINT="// CSS to the view.css" -COM_COMPONENTBUILDER_SITE_VIEW_CSS_LABEL="CSS" -COM_COMPONENTBUILDER_SITE_VIEW_CUBE="Cube" -COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM="Custom" -COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_BUTTON="Custom Button" -COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_BUTTONS="Custom Buttons" -COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_BUTTON_SELECT="Add" -COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET="Custom Get" -COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET_DESCRIPTION="Select the custom get methods" -COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET_LABEL="Custom Gets" -COM_COMPONENTBUILDER_SITE_VIEW_DASHBOARD="Dashboard" -COM_COMPONENTBUILDER_SITE_VIEW_DATABASE="Database" -COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT="Default" -COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_HINT="// Add the code here." -COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_LABEL="Default View" -COM_COMPONENTBUILDER_SITE_VIEW_DELETE="Delete" -COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION="Description" -COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_DESCRIPTION="Enter some description" -COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_HINT="Description Here" -COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_SITE_VIEW_DETAILS="Details" -COM_COMPONENTBUILDER_SITE_VIEW_DOWNLOAD="Download" -COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_GET="Dynamic Get" -COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_GET_DESCRIPTION="Select a dynamic get" -COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_GET_LABEL="Dynamic Get (snippet)" -COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_VALUES_DESCRIPTION="Only use dynamic get values that is linked to the same component." -COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_VALUES_LABEL="Dynamic Values" -COM_COMPONENTBUILDER_SITE_VIEW_EDIT="Editing the Site View" -COM_COMPONENTBUILDER_SITE_VIEW_ENTER="Enter" -COM_COMPONENTBUILDER_SITE_VIEW_ENVELOPE="Envelope" -COM_COMPONENTBUILDER_SITE_VIEW_ENVELOPE_OPENED="Envelope Opened" -COM_COMPONENTBUILDER_SITE_VIEW_EQUALIZER="Equalizer" -COM_COMPONENTBUILDER_SITE_VIEW_ERROR_UNIQUE_ALIAS="Another Site View has the same alias." -COM_COMPONENTBUILDER_SITE_VIEW_EXIT="Exit" -COM_COMPONENTBUILDER_SITE_VIEW_EXPAND="Expand" -COM_COMPONENTBUILDER_SITE_VIEW_EXPAND_TWO="Expand 2" -COM_COMPONENTBUILDER_SITE_VIEW_EXPIRED="Expired" -COM_COMPONENTBUILDER_SITE_VIEW_EYE_CLOSE="Eye Close" -COM_COMPONENTBUILDER_SITE_VIEW_EYE_OPEN="Eye Open" -COM_COMPONENTBUILDER_SITE_VIEW_FEATURED="Featured" -COM_COMPONENTBUILDER_SITE_VIEW_FEED="Feed" -COM_COMPONENTBUILDER_SITE_VIEW_FILE="File" -COM_COMPONENTBUILDER_SITE_VIEW_FILE_ADD="File Add" -COM_COMPONENTBUILDER_SITE_VIEW_FILE_CHECK="File Check" -COM_COMPONENTBUILDER_SITE_VIEW_FILE_MINUS="File Minus" -COM_COMPONENTBUILDER_SITE_VIEW_FILE_REMOVE="File Remove" -COM_COMPONENTBUILDER_SITE_VIEW_FILE_TWO="File 2" -COM_COMPONENTBUILDER_SITE_VIEW_FILTER="Filter" -COM_COMPONENTBUILDER_SITE_VIEW_FIRST="First" -COM_COMPONENTBUILDER_SITE_VIEW_FLAG="Flag" -COM_COMPONENTBUILDER_SITE_VIEW_FLAG_THREE="Flag 3" -COM_COMPONENTBUILDER_SITE_VIEW_FLASH="Flash" -COM_COMPONENTBUILDER_SITE_VIEW_FLOAT="FLOAT" -COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_CLOSE="Folder Close" -COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_MINUS="Folder Minus" -COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_OPEN="Folder Open" -COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_PLUS="Folder Plus" -COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_PLUS_TWO="Folder Plus 2" -COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_REMOVE="Folder Remove" -COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_THREE="Folder 3" -COM_COMPONENTBUILDER_SITE_VIEW_FORWARD_CIRCLE="Forward Circle" -COM_COMPONENTBUILDER_SITE_VIEW_FORWARD_TWO="Forward 2" -COM_COMPONENTBUILDER_SITE_VIEW_GENERIC="Generic" -COM_COMPONENTBUILDER_SITE_VIEW_GRID="Grid" -COM_COMPONENTBUILDER_SITE_VIEW_GRID_TWO="Grid 2" -COM_COMPONENTBUILDER_SITE_VIEW_HEALTH="Health" -COM_COMPONENTBUILDER_SITE_VIEW_HEART="Heart" -COM_COMPONENTBUILDER_SITE_VIEW_HEART_TWO="Heart 2" -COM_COMPONENTBUILDER_SITE_VIEW_HOME="Home" -COM_COMPONENTBUILDER_SITE_VIEW_HOME_TWO="Home 2" -COM_COMPONENTBUILDER_SITE_VIEW_HTML="HTML" -COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_DESCRIPTION="Joomla Standard Icomoon Fonts" -COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_LABEL="Icon" -COM_COMPONENTBUILDER_SITE_VIEW_ID="Id" -COM_COMPONENTBUILDER_SITE_VIEW_IMAGE="Image" -COM_COMPONENTBUILDER_SITE_VIEW_IMAGES="Images" -COM_COMPONENTBUILDER_SITE_VIEW_INFO="Info" -COM_COMPONENTBUILDER_SITE_VIEW_INFO_CIRCLE="Info Circle" -COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_DESCRIPTION="Enter default input value" -COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_HINT="Default Value Here" -COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_LABEL="Default" -COM_COMPONENTBUILDER_SITE_VIEW_INPUT_FILTER_DESCRIPTION="Select the filter used to sanitized the input value." -COM_COMPONENTBUILDER_SITE_VIEW_INPUT_FILTER_LABEL="Select a Filter" -COM_COMPONENTBUILDER_SITE_VIEW_INT="INT" -COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_CSS="JavaScript & CSS" -COM_COMPONENTBUILDER_SITE_VIEW_JOOMLA="Joomla" -COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT="Js Document" -COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_DESCRIPTION="JS script to the document method." -COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_HINT="// add custom JS script to the document method. You can add in PHP like this: &quot;.$var.&quot; " -COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_LABEL="Custom Script (Document)" -COM_COMPONENTBUILDER_SITE_VIEW_KEY="Key" -COM_COMPONENTBUILDER_SITE_VIEW_LAMP="Lamp" -COM_COMPONENTBUILDER_SITE_VIEW_LAST="Last" -COM_COMPONENTBUILDER_SITE_VIEW_LINK="Link" -COM_COMPONENTBUILDER_SITE_VIEW_LIST="List" -COM_COMPONENTBUILDER_SITE_VIEW_LIST_TWO="List 2" -COM_COMPONENTBUILDER_SITE_VIEW_LOCATION="Location" -COM_COMPONENTBUILDER_SITE_VIEW_LOCK="Lock" -COM_COMPONENTBUILDER_SITE_VIEW_LOOP="Loop" -COM_COMPONENTBUILDER_SITE_VIEW_MAIN_GET="Main Get" -COM_COMPONENTBUILDER_SITE_VIEW_MAIN_GET_DESCRIPTION="Select a main get" -COM_COMPONENTBUILDER_SITE_VIEW_MAIN_GET_LABEL="Main Get" -COM_COMPONENTBUILDER_SITE_VIEW_MENU="Menu" -COM_COMPONENTBUILDER_SITE_VIEW_MENU_THREE="Menu 3" -COM_COMPONENTBUILDER_SITE_VIEW_MENU_TWO="Menu 2" -COM_COMPONENTBUILDER_SITE_VIEW_METHOD_DESCRIPTION="Add Controller Method Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_METHOD_HINT="methodName" -COM_COMPONENTBUILDER_SITE_VIEW_METHOD_LABEL="Target Controller Method" -COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_DESCRIPTION="Enter method name." -COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_HINT="Method Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_LABEL="Method Name" -COM_COMPONENTBUILDER_SITE_VIEW_MINUS="Minus" -COM_COMPONENTBUILDER_SITE_VIEW_MINUS_SIGN="Minus Sign" -COM_COMPONENTBUILDER_SITE_VIEW_MOBILE="Mobile" -COM_COMPONENTBUILDER_SITE_VIEW_MOVE="Move" -COM_COMPONENTBUILDER_SITE_VIEW_MUSIC="Music" -COM_COMPONENTBUILDER_SITE_VIEW_NAME="Name" -COM_COMPONENTBUILDER_SITE_VIEW_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL="Name" -COM_COMPONENTBUILDER_SITE_VIEW_NEW="A New Site View" -COM_COMPONENTBUILDER_SITE_VIEW_NEW_TAB="New Tab" -COM_COMPONENTBUILDER_SITE_VIEW_NEW_TAB_TWO="New Tab 2" -COM_COMPONENTBUILDER_SITE_VIEW_NEXT="Next" -COM_COMPONENTBUILDER_SITE_VIEW_NO="No" -COM_COMPONENTBUILDER_SITE_VIEW_NONE="None" -COM_COMPONENTBUILDER_SITE_VIEW_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION="<code>&lt;?php echo JText::_('Text'); ?&gt;</code>" -COM_COMPONENTBUILDER_SITE_VIEW_NOTE_ADD_LANGUAGE_STRING_LABEL="Add Language String" -COM_COMPONENTBUILDER_SITE_VIEW_NOTE_SNIPPET_USAGE_LABEL="Snippet Usage" -COM_COMPONENTBUILDER_SITE_VIEW_NOTE_UIKIT_SNIPPET_LABEL="Snippet Details" -COM_COMPONENTBUILDER_SITE_VIEW_NOTIFICATION="Notification" -COM_COMPONENTBUILDER_SITE_VIEW_NOTIFICATION_CIRCLE="Notification Circle" -COM_COMPONENTBUILDER_SITE_VIEW_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_SITE_VIEW_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_SITE_VIEW_PALETTE="Palette" -COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_CENTER="Paragraph Center" -COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_JUSTIFY="Paragraph Justify" -COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_LEFT="Paragraph Left" -COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_RIGHT="Paragraph Right" -COM_COMPONENTBUILDER_SITE_VIEW_PATH="PATH" -COM_COMPONENTBUILDER_SITE_VIEW_PAUSE="Pause" -COM_COMPONENTBUILDER_SITE_VIEW_PAUSE_CIRCLE="Pause Circle" -COM_COMPONENTBUILDER_SITE_VIEW_PENCIL="Pencil" -COM_COMPONENTBUILDER_SITE_VIEW_PENCIL_TWO="Pencil 2" -COM_COMPONENTBUILDER_SITE_VIEW_PERMISSION="Permissions" -COM_COMPONENTBUILDER_SITE_VIEW_PHONE="Phone" -COM_COMPONENTBUILDER_SITE_VIEW_PHONE_TWO="Phone 2" -COM_COMPONENTBUILDER_SITE_VIEW_PHP="PHP" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD="Php Ajaxmethod" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_HINT="// PHP Method that should run in the AJAX Model" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_LABEL="php Ajax Method" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER="Php Controller" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_HINT="// PHP methods for the controller that the button will target" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_LABEL="PHP (controller methods)" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT="Php Document" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_DESCRIPTION="PHP script to the document method." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_HINT="// add custom PHP script to the document method." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_LABEL="Custom Script (Document)" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW="Php Jview" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DESCRIPTION="PHP methods for the JViewLegacy class." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY="Php Jview Display" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION="PHP script for the JViewLegacy display method." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_HINT="// add custom PHP script to the JViewLegacy display method." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_LABEL="Custom Script (JViewLegacy display)" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_HINT="// add custom PHP methods to the JViewLegacy class." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_LABEL="Custom Script (JViewLegacy)" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL="Php Model" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_DESCRIPTION="Add your PHP here! [Do not add the php tags]" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_HINT="// PHP methods for the model that the controller will use" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_LABEL="PHP (model methods)" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW="Php View" -COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_HINT="// add custom PHP script to head of the file." -COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_LABEL="Custom Script" -COM_COMPONENTBUILDER_SITE_VIEW_PIE="Pie" -COM_COMPONENTBUILDER_SITE_VIEW_PIN="Pin" -COM_COMPONENTBUILDER_SITE_VIEW_PLAY="Play" -COM_COMPONENTBUILDER_SITE_VIEW_PLAY_CIRCLE="Play Circle" -COM_COMPONENTBUILDER_SITE_VIEW_PLUS="Plus" -COM_COMPONENTBUILDER_SITE_VIEW_PLUS_CIRCLE="Plus Circle" -COM_COMPONENTBUILDER_SITE_VIEW_POWER_CORD="Power Cord" -COM_COMPONENTBUILDER_SITE_VIEW_PREVIOUS="Previous" -COM_COMPONENTBUILDER_SITE_VIEW_PRINT="Print" -COM_COMPONENTBUILDER_SITE_VIEW_PUBLISH="Publish" -COM_COMPONENTBUILDER_SITE_VIEW_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_SITE_VIEW_PURGE="Purge" -COM_COMPONENTBUILDER_SITE_VIEW_PUZZLE="Puzzle" -COM_COMPONENTBUILDER_SITE_VIEW_QUESTION="Question" -COM_COMPONENTBUILDER_SITE_VIEW_QUESTION_TWO="Question 2" -COM_COMPONENTBUILDER_SITE_VIEW_QUOTES_LEFT="Quotes Left" -COM_COMPONENTBUILDER_SITE_VIEW_QUOTES_RIGHT="Quotes Right" -COM_COMPONENTBUILDER_SITE_VIEW_RADIO_UNCHECKED="Radio Unchecked" -COM_COMPONENTBUILDER_SITE_VIEW_RAW="RAW" -COM_COMPONENTBUILDER_SITE_VIEW_REPLY="Reply" -COM_COMPONENTBUILDER_SITE_VIEW_SAVE_COPY="Save Copy" -COM_COMPONENTBUILDER_SITE_VIEW_SAVE_NEW="Save New" -COM_COMPONENTBUILDER_SITE_VIEW_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Site View to customise the alias." -COM_COMPONENTBUILDER_SITE_VIEW_SCISSORS="Scissors" -COM_COMPONENTBUILDER_SITE_VIEW_SCREEN="Screen" -COM_COMPONENTBUILDER_SITE_VIEW_SCREWDRIVER="Screwdriver" -COM_COMPONENTBUILDER_SITE_VIEW_SEARCH="Search" -COM_COMPONENTBUILDER_SITE_VIEW_SHARE="Share" -COM_COMPONENTBUILDER_SITE_VIEW_SHARE_ALT="Share Alt" -COM_COMPONENTBUILDER_SITE_VIEW_SHIELD="Shield" -COM_COMPONENTBUILDER_SITE_VIEW_SHUFFLE="Shuffle" -COM_COMPONENTBUILDER_SITE_VIEW_SIGNUP="Signup" -COM_COMPONENTBUILDER_SITE_VIEW_SINGLE="Single" -COM_COMPONENTBUILDER_SITE_VIEW_SMILEY="Smiley" -COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_NEUTRAL="Smiley Neutral" -COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_NEUTRAL_TWO="Smiley Neutral 2" -COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_SAD="Smiley Sad" -COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_SAD_TWO="Smiley Sad 2" -COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_TWO="Smiley 2" -COM_COMPONENTBUILDER_SITE_VIEW_SNIPPET="Snippet" -COM_COMPONENTBUILDER_SITE_VIEW_SNIPPET_LABEL="Select a Snippet" -COM_COMPONENTBUILDER_SITE_VIEW_SQUARE="Square" -COM_COMPONENTBUILDER_SITE_VIEW_STACK="Stack" -COM_COMPONENTBUILDER_SITE_VIEW_STAR_TWO="Star 2" -COM_COMPONENTBUILDER_SITE_VIEW_STATUS="Status" -COM_COMPONENTBUILDER_SITE_VIEW_STOP="Stop" -COM_COMPONENTBUILDER_SITE_VIEW_STOP_CIRCLE="Stop Circle" -COM_COMPONENTBUILDER_SITE_VIEW_STRING="STRING" -COM_COMPONENTBUILDER_SITE_VIEW_SUPPORT="Support" -COM_COMPONENTBUILDER_SITE_VIEW_SWITCH="Switch" -COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME="System Name" -COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_DESCRIPTION="Used only in the system." -COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_HINT="The System Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_LABEL="System Name" -COM_COMPONENTBUILDER_SITE_VIEW_TABLET="Tablet" -COM_COMPONENTBUILDER_SITE_VIEW_TAG="Tag" -COM_COMPONENTBUILDER_SITE_VIEW_TAGS="Tags" -COM_COMPONENTBUILDER_SITE_VIEW_TAGS_TWO="Tags 2" -COM_COMPONENTBUILDER_SITE_VIEW_TAG_TWO="Tag 2" -COM_COMPONENTBUILDER_SITE_VIEW_TARGET_DESCRIPTION="Set the target view type" -COM_COMPONENTBUILDER_SITE_VIEW_TARGET_LABEL="Target" -COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_DESCRIPTION="Enter Task Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_HINT="Task Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_LABEL="Task Name" -COM_COMPONENTBUILDER_SITE_VIEW_THUMBS_DOWN="Thumbs Down" -COM_COMPONENTBUILDER_SITE_VIEW_THUMBS_UP="Thumbs Up" -COM_COMPONENTBUILDER_SITE_VIEW_TOP_LEFT="Top Left" -COM_COMPONENTBUILDER_SITE_VIEW_TOP_RIGHT="Top Right" -COM_COMPONENTBUILDER_SITE_VIEW_TREE="Tree" -COM_COMPONENTBUILDER_SITE_VIEW_TREE_TWO="Tree 2" -COM_COMPONENTBUILDER_SITE_VIEW_UINT="UINT" -COM_COMPONENTBUILDER_SITE_VIEW_UNARCHIVE="Unarchive" -COM_COMPONENTBUILDER_SITE_VIEW_UNBLOCK="Unblock" -COM_COMPONENTBUILDER_SITE_VIEW_UNDO="Undo" -COM_COMPONENTBUILDER_SITE_VIEW_UNDO_TWO="Undo 2" -COM_COMPONENTBUILDER_SITE_VIEW_UNFEATURED="Unfeatured" -COM_COMPONENTBUILDER_SITE_VIEW_UNKNOWN="unknown" -COM_COMPONENTBUILDER_SITE_VIEW_UNLOCK="Unlock" -COM_COMPONENTBUILDER_SITE_VIEW_UNPUBLISH="Unpublish" -COM_COMPONENTBUILDER_SITE_VIEW_UPLOAD="Upload" -COM_COMPONENTBUILDER_SITE_VIEW_USER="User" -COM_COMPONENTBUILDER_SITE_VIEW_USERNAME="USERNAME" -COM_COMPONENTBUILDER_SITE_VIEW_USERS="Users" -COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_DESCRIPTION="Allow only users." -COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_LABEL="User Check" -COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_DESCRIPTION="Enter Value Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_HINT="Value Name Here" -COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_LABEL="Value Name" -COM_COMPONENTBUILDER_SITE_VIEW_VCARD="Vcard" -COM_COMPONENTBUILDER_SITE_VIEW_VERSION_DESC="A count of the number of times this Site View has been revised." -COM_COMPONENTBUILDER_SITE_VIEW_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_SITE_VIEW_WAND="Wand" -COM_COMPONENTBUILDER_SITE_VIEW_WARNING="Warning" -COM_COMPONENTBUILDER_SITE_VIEW_WARNING_CIRCLE="Warning Circle" -COM_COMPONENTBUILDER_SITE_VIEW_WIFI="Wifi" -COM_COMPONENTBUILDER_SITE_VIEW_WORD="WORD" -COM_COMPONENTBUILDER_SITE_VIEW_WRENCH="Wrench" -COM_COMPONENTBUILDER_SITE_VIEW_YES="Yes" -COM_COMPONENTBUILDER_SITE_VIEW_YOUTUBE="Youtube" -COM_COMPONENTBUILDER_SITE_VIEW_ZOOM_IN="Zoom In" -COM_COMPONENTBUILDER_SITE_VIEW_ZOOM_OUT="Zoom Out" -COM_COMPONENTBUILDER_SNIPPET="Snippet" -COM_COMPONENTBUILDER_SNIPPETS="Snippets" -COM_COMPONENTBUILDER_SNIPPETS_ACCESS="Snippets Access" -COM_COMPONENTBUILDER_SNIPPETS_ACCESS_DESC="Allows the users in this group to access access snippets" -COM_COMPONENTBUILDER_SNIPPETS_BATCH_OPTIONS="Batch process the selected Snippets" -COM_COMPONENTBUILDER_SNIPPETS_BATCH_TIP="All changes will be applied to all selected Snippets" -COM_COMPONENTBUILDER_SNIPPETS_BATCH_USE="Snippets Batch Use" -COM_COMPONENTBUILDER_SNIPPETS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch snippets" -COM_COMPONENTBUILDER_SNIPPETS_CREATE="Snippets Create" -COM_COMPONENTBUILDER_SNIPPETS_CREATE_DESC="Allows the users in this group to create create snippets" -COM_COMPONENTBUILDER_SNIPPETS_DASHBOARD_ADD="Snippets Dashboard Add" -COM_COMPONENTBUILDER_SNIPPETS_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the snippet" -COM_COMPONENTBUILDER_SNIPPETS_DASHBOARD_LIST="Snippets Dashboard List" -COM_COMPONENTBUILDER_SNIPPETS_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the snippet" -COM_COMPONENTBUILDER_SNIPPETS_DELETE="Snippets Delete" -COM_COMPONENTBUILDER_SNIPPETS_DELETE_DESC="Allows the users in this group to delete delete snippets" -COM_COMPONENTBUILDER_SNIPPETS_EDIT="Snippets Edit" -COM_COMPONENTBUILDER_SNIPPETS_EDIT_DESC="Allows the users in this group to edit the snippet" -COM_COMPONENTBUILDER_SNIPPETS_EDIT_OWN="Snippets Edit Own" -COM_COMPONENTBUILDER_SNIPPETS_EDIT_OWN_DESC="Allows the users in this group to edit edit own snippets created by them" -COM_COMPONENTBUILDER_SNIPPETS_EDIT_STATE="Snippets Edit State" -COM_COMPONENTBUILDER_SNIPPETS_EDIT_STATE_DESC="Allows the users in this group to update the state of the snippet" -COM_COMPONENTBUILDER_SNIPPETS_EDIT_VERSION="Snippets Edit Version" -COM_COMPONENTBUILDER_SNIPPETS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version snippets" -COM_COMPONENTBUILDER_SNIPPETS_EXPORT="Snippets Export" -COM_COMPONENTBUILDER_SNIPPETS_EXPORT_DESC="Allows the users in this group to export export snippets" -COM_COMPONENTBUILDER_SNIPPETS_IMPORT="Snippets Import" -COM_COMPONENTBUILDER_SNIPPETS_IMPORT_DESC="Allows the users in this group to import import snippets" -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_ARCHIVED="%s Snippets archived." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_ARCHIVED_1="%s Snippet archived." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_CHECKED_IN_0="No Snippet successfully checked in." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_CHECKED_IN_1="%d Snippet successfully checked in." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_CHECKED_IN_MORE="%d Snippets successfully checked in." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_DELETED="%s Snippets deleted." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_DELETED_1="%s Snippet deleted." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_FEATURED="%s Snippets featured." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_FEATURED_1="%s Snippet featured." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_PUBLISHED="%s Snippets published." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_PUBLISHED_1="%s Snippet published." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_TRASHED="%s Snippets trashed." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_TRASHED_1="%s Snippet trashed." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_UNFEATURED="%s Snippets unfeatured." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_UNFEATURED_1="%s Snippet unfeatured." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_UNPUBLISHED="%s Snippets unpublished." -COM_COMPONENTBUILDER_SNIPPETS_N_ITEMS_UNPUBLISHED_1="%s Snippet unpublished." -COM_COMPONENTBUILDER_SNIPPETS_SUBMENU="Snippets Submenu" -COM_COMPONENTBUILDER_SNIPPETS_SUBMENU_DESC="Allows the users in this group to update the submenu of the snippet" -COM_COMPONENTBUILDER_SNIPPET_CHARTS="Charts" -COM_COMPONENTBUILDER_SNIPPET_COMMON="Common" -COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_DESC="The user that created the Snippet." -COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_DESC="The date Snippet was created." -COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION="Description" -COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_DESCRIPTION="Add Description Here" -COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_HINT="Add Description Here" -COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_SNIPPET_DETAILS="Details" -COM_COMPONENTBUILDER_SNIPPET_EDIT="Editing the Snippet" -COM_COMPONENTBUILDER_SNIPPET_ELEMENTS="Elements" -COM_COMPONENTBUILDER_SNIPPET_ERROR_UNIQUE_ALIAS="Another Snippet has the same alias." -COM_COMPONENTBUILDER_SNIPPET_HEADING="Heading" -COM_COMPONENTBUILDER_SNIPPET_HEADING_DESCRIPTION="Enter short heading" -COM_COMPONENTBUILDER_SNIPPET_HEADING_HINT="Your Heading Here" -COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL="Heading" -COM_COMPONENTBUILDER_SNIPPET_ID="Id" -COM_COMPONENTBUILDER_SNIPPET_JAVASCRIPT="JavaScript" -COM_COMPONENTBUILDER_SNIPPET_LAYOUT="Layout" -COM_COMPONENTBUILDER_SNIPPET_NAME="Name" -COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_SNIPPET_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL="Name" -COM_COMPONENTBUILDER_SNIPPET_NAVIGATIONS="Navigations" -COM_COMPONENTBUILDER_SNIPPET_NEW="A New Snippet" -COM_COMPONENTBUILDER_SNIPPET_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_SNIPPET_PERMISSION="Permissions" -COM_COMPONENTBUILDER_SNIPPET_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_SNIPPET_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Snippet to customise the alias." -COM_COMPONENTBUILDER_SNIPPET_SNIPPET="Snippet" -COM_COMPONENTBUILDER_SNIPPET_SNIPPET_HINT="// Add the snippets code here" -COM_COMPONENTBUILDER_SNIPPET_SNIPPET_LABEL="Snippet" -COM_COMPONENTBUILDER_SNIPPET_STATUS="Status" -COM_COMPONENTBUILDER_SNIPPET_TYPE="Type" -COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION="Snippet Types" -COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL="Type" -COM_COMPONENTBUILDER_SNIPPET_URL="Url" -COM_COMPONENTBUILDER_SNIPPET_URL_DESCRIPTION="Enter url" -COM_COMPONENTBUILDER_SNIPPET_URL_HINT="http://www.example.com" -COM_COMPONENTBUILDER_SNIPPET_URL_LABEL="URL" -COM_COMPONENTBUILDER_SNIPPET_USAGE="Usage" -COM_COMPONENTBUILDER_SNIPPET_USAGE_DESCRIPTION="Add Usage Here" -COM_COMPONENTBUILDER_SNIPPET_USAGE_HINT="Add Usage Here" -COM_COMPONENTBUILDER_SNIPPET_USAGE_LABEL="Usage" -COM_COMPONENTBUILDER_SNIPPET_VERSION_DESC="A count of the number of times this Snippet has been revised." -COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_SUBMENU_ADMIN_VIEWS="Admin Views" -COM_COMPONENTBUILDER_SUBMENU_COMPILER="Compiler" -COM_COMPONENTBUILDER_SUBMENU_COMPONENTS="Components" -COM_COMPONENTBUILDER_SUBMENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views" -COM_COMPONENTBUILDER_SUBMENU_DASHBOARD="Dashboard" -COM_COMPONENTBUILDER_SUBMENU_DYNAMIC_GETS="Dynamic Gets" -COM_COMPONENTBUILDER_SUBMENU_FIELDS="Fields" -COM_COMPONENTBUILDER_SUBMENU_FIELDTYPES="Fieldtypes" -COM_COMPONENTBUILDER_SUBMENU_HELP_DOCUMENTS="Help Documents" -COM_COMPONENTBUILDER_SUBMENU_LAYOUTS="Layouts" -COM_COMPONENTBUILDER_SUBMENU_SITE_VIEWS="Site Views" -COM_COMPONENTBUILDER_SUBMENU_SNIPPETS="Snippets" -COM_COMPONENTBUILDER_SUBMENU_TEMPLATES="Templates" -COM_COMPONENTBUILDER_TEMPLATE="Template" -COM_COMPONENTBUILDER_TEMPLATES="Templates" -COM_COMPONENTBUILDER_TEMPLATES_ACCESS="Templates Access" -COM_COMPONENTBUILDER_TEMPLATES_ACCESS_DESC="Allows the users in this group to access access templates" -COM_COMPONENTBUILDER_TEMPLATES_BATCH_OPTIONS="Batch process the selected Templates" -COM_COMPONENTBUILDER_TEMPLATES_BATCH_TIP="All changes will be applied to all selected Templates" -COM_COMPONENTBUILDER_TEMPLATES_BATCH_USE="Templates Batch Use" -COM_COMPONENTBUILDER_TEMPLATES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch templates" -COM_COMPONENTBUILDER_TEMPLATES_CREATE="Templates Create" -COM_COMPONENTBUILDER_TEMPLATES_CREATE_DESC="Allows the users in this group to create create templates" -COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_ADD="Templates Dashboard Add" -COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_ADD_DESC="Allows the users in this group to update the dashboard add of the template" -COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_LIST="Templates Dashboard List" -COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_LIST_DESC="Allows the users in this group to update the dashboard list of the template" -COM_COMPONENTBUILDER_TEMPLATES_DELETE="Templates Delete" -COM_COMPONENTBUILDER_TEMPLATES_DELETE_DESC="Allows the users in this group to delete delete templates" -COM_COMPONENTBUILDER_TEMPLATES_EDIT="Templates Edit" -COM_COMPONENTBUILDER_TEMPLATES_EDIT_DESC="Allows the users in this group to edit the template" -COM_COMPONENTBUILDER_TEMPLATES_EDIT_OWN="Templates Edit Own" -COM_COMPONENTBUILDER_TEMPLATES_EDIT_OWN_DESC="Allows the users in this group to edit edit own templates created by them" -COM_COMPONENTBUILDER_TEMPLATES_EDIT_STATE="Templates Edit State" -COM_COMPONENTBUILDER_TEMPLATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the template" -COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION="Templates Edit Version" -COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version templates" -COM_COMPONENTBUILDER_TEMPLATES_EXPORT="Templates Export" -COM_COMPONENTBUILDER_TEMPLATES_EXPORT_DESC="Allows the users in this group to export export templates" -COM_COMPONENTBUILDER_TEMPLATES_IMPORT="Templates Import" -COM_COMPONENTBUILDER_TEMPLATES_IMPORT_DESC="Allows the users in this group to import import templates" -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_ARCHIVED="%s Templates archived." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_ARCHIVED_1="%s Template archived." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_CHECKED_IN_0="No Template successfully checked in." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_CHECKED_IN_1="%d Template successfully checked in." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_CHECKED_IN_MORE="%d Templates successfully checked in." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_DELETED="%s Templates deleted." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_DELETED_1="%s Template deleted." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_FEATURED="%s Templates featured." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_FEATURED_1="%s Template featured." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_PUBLISHED="%s Templates published." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_PUBLISHED_1="%s Template published." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_TRASHED="%s Templates trashed." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_TRASHED_1="%s Template trashed." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_UNFEATURED="%s Templates unfeatured." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_UNFEATURED_1="%s Template unfeatured." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_UNPUBLISHED="%s Templates unpublished." -COM_COMPONENTBUILDER_TEMPLATES_N_ITEMS_UNPUBLISHED_1="%s Template unpublished." -COM_COMPONENTBUILDER_TEMPLATES_SUBMENU="Templates Submenu" -COM_COMPONENTBUILDER_TEMPLATES_SUBMENU_DESC="Allows the users in this group to update the submenu of the template" -COM_COMPONENTBUILDER_TEMPLATE_ADD_PHP_VIEW="Add Php View" -COM_COMPONENTBUILDER_TEMPLATE_ADD_PHP_VIEW_LABEL="Add PHP (custom view script)" -COM_COMPONENTBUILDER_TEMPLATE_ALIAS="Alias" -COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION="Add Name in Code Here" -COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT="codename" -COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL="Name in Code" -COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_DESC="The user that created the Template." -COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_LABEL="Created by" -COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_DESC="The date Template was created." -COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_LABEL="Created date" -COM_COMPONENTBUILDER_TEMPLATE_CUSTOM_SCRIPT="Custom Script" -COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION="Description" -COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION="Enter some description" -COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_HINT="Description Here" -COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL="Description" -COM_COMPONENTBUILDER_TEMPLATE_DETAILS="Details" -COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET="Dynamic Get" -COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_DESCRIPTION="Select a dynamic get" -COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_LABEL="Dynamic Get" -COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_DESCRIPTION="Only use dynamic get values that is linked to the same component." -COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_LABEL="Dynamic Values" -COM_COMPONENTBUILDER_TEMPLATE_EDIT="Editing the Template" -COM_COMPONENTBUILDER_TEMPLATE_ERROR_UNIQUE_ALIAS="Another Template has the same alias." -COM_COMPONENTBUILDER_TEMPLATE_ID="Id" -COM_COMPONENTBUILDER_TEMPLATE_NAME="Name" -COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION="Enter Name Here" -COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT="Name Here" -COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL="Name" -COM_COMPONENTBUILDER_TEMPLATE_NEW="A New Template" -COM_COMPONENTBUILDER_TEMPLATE_NO="No" -COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION="<code>&lt;?php echo JText::_('Text'); ?&gt;</code>" -COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_LABEL="Add Language String" -COM_COMPONENTBUILDER_TEMPLATE_NOTE_SNIPPET_USAGE_LABEL="Snippet Usage" -COM_COMPONENTBUILDER_TEMPLATE_NOTE_UIKIT_SNIPPET_LABEL="Snippet Details" -COM_COMPONENTBUILDER_TEMPLATE_NOT_REQUIRED="Not Required" -COM_COMPONENTBUILDER_TEMPLATE_ORDERING_LABEL="Ordering" -COM_COMPONENTBUILDER_TEMPLATE_PERMISSION="Permissions" -COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW="Php View" -COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file." -COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_HINT="// add custom PHP script to head of the file." -COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_LABEL="Custom Script" -COM_COMPONENTBUILDER_TEMPLATE_PUBLISHING="Publishing" -COM_COMPONENTBUILDER_TEMPLATE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Template to customise the alias." -COM_COMPONENTBUILDER_TEMPLATE_SNIPPET="Snippet" -COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL="Select a Snippet" -COM_COMPONENTBUILDER_TEMPLATE_STATUS="Status" -COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE="Template" -COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_HINT="// Add the Template code here." -COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_LABEL="Template" -COM_COMPONENTBUILDER_TEMPLATE_VERSION_DESC="A count of the number of times this Template has been revised." -COM_COMPONENTBUILDER_TEMPLATE_VERSION_LABEL="Revision" -COM_COMPONENTBUILDER_TEMPLATE_YES="Yes" -COM_COMPONENTBUILDER_USE_BATCH="Use Batch" -COM_COMPONENTBUILDER_USE_BATCH_DESC=" Allows users in this group to use batch copy/update method." -COM_COMPONENTBUILDER_VERSION="Version" -COM_COMPONENTBUILDER_WEBSITE="Website" diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini deleted file mode 100644 index fdeb4f482..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini +++ /dev/null @@ -1,15 +0,0 @@ -COM_COMPONENTBUILDER="Component Builder" -COM_COMPONENTBUILDER_CONFIGURATION="Component Builder Configuration" -COM_COMPONENTBUILDER_MENU="&#187; Component Builder" -COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS="Admin Views" -COM_COMPONENTBUILDER_MENU_COMPILER="Compiler" -COM_COMPONENTBUILDER_MENU_COMPONENTS="Components" -COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views" -COM_COMPONENTBUILDER_MENU_DYNAMIC_GETS="Dynamic Gets" -COM_COMPONENTBUILDER_MENU_FIELDS="Fields" -COM_COMPONENTBUILDER_MENU_FIELDTYPES="Fieldtypes" -COM_COMPONENTBUILDER_MENU_HELP_DOCUMENTS="Help Documents" -COM_COMPONENTBUILDER_MENU_LAYOUTS="Layouts" -COM_COMPONENTBUILDER_MENU_SITE_VIEWS="Site Views" -COM_COMPONENTBUILDER_MENU_SNIPPETS="Snippets" -COM_COMPONENTBUILDER_MENU_TEMPLATES="Templates" diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/en-GB/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/language/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/css_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/css_fullwidth.php deleted file mode 100644 index 5552f1001..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/css_fullwidth.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage css_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_css_view', - 'css_view', - 'add_css_views', - 'css_views' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/fields_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/fields_fullwidth.php deleted file mode 100644 index f55f635ce..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/fields_fullwidth.php +++ /dev/null @@ -1,166 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fields_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -// set the defaults -$items = $displayData->bbhfields; -$user = JFactory::getUser(); -$id = $displayData->item->id; -$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; -$ref = ($id) ? "&ref=admin_view&refid=".$id : ""; -$new = "index.php?option=com_componentbuilder&view=field&layout=edit".$ref; -$can = ComponentbuilderHelper::getActions('field'); - -?> -<div class="form-vertical"> -<?php if ($can->get('field.create')): ?> - <a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('COM_COMPONENTBUILDER_NEW'); ?></a><br /><br /> -<?php endif; ?> -<?php if (ComponentbuilderHelper::checkArray($items)): ?> -<table class="footable table data fields metro-blue" data-filter="#filter_fields" data-page-size="20"> -<thead> - <tr> - <th data-toggle="true"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_NAME_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_TYPE_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_FIELD_CATEGORY'); ?> - </th> - <th data-hide="all"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_STORE_LABEL'); ?> - </th> - <th width="10" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_STATUS'); ?> - </th> - <th width="5" data-type="numeric" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_ID'); ?> - </th> - </tr> -</thead> -<tbody> -<?php foreach ($items as $i => $item): ?> - <?php - $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('field',$item,'fields'); - ?> - <tr> - <td class="nowrap"> - <?php if ($canDo->get('field.edit')): ?> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=admin_view&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'fields.', $canCheckin); ?> - <?php endif; ?> - <?php else: ?> - <div class="name"><?php echo $displayData->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($user->authorise('fieldtype.edit', 'com_componentbuilder.fieldtype.' . (int)$item->type)): ?> - <a href="index.php?option=com_componentbuilder&view=fieldtypes&task=fieldtype.edit&id=<?php echo $item->type; ?>&ref=admin_view&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->type_name); ?></a> - <?php else: ?> - <div class="name"><?php echo $displayData->escape($item->type_name); ?></div> - <?php endif; ?> - </td> - <td> - <?php echo JText::_($item->datatype); ?> - </td> - <td> - <?php echo JText::_($item->indexes); ?> - </td> - <td> - <?php echo JText::_($item->null_switch); ?> - </td> - <td class="nowrap"> - <?php if ($user->authorise('core.edit', 'com_componentbuilder.fields.category.' . (int)$item->catid)): ?> - <a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->catid; ?>&extension=com_componentbuilder.fields"><?php echo $displayData->escape($item->category_title); ?></a> - <?php else: ?> - <?php echo $displayData->escape($item->category_title); ?> - <?php endif; ?> - </td> - <td> - <?php echo JText::_($item->store); ?> - </td> - <?php if ($item->published == 1):?> - <td class="center" data-value="1"> - <span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>"> - <?php echo JText::_('PUBLISHED'); ?> - </span> - </td> - <?php elseif ($item->published == 0):?> - <td class="center" data-value="2"> - <span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>"> - <?php echo JText::_('INACTIVE'); ?> - </span> - </td> - <?php elseif ($item->published == 2):?> - <td class="center" data-value="3"> - <span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php elseif ($item->published == -2):?> - <td class="center" data-value="4"> - <span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php endif; ?> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> -</tbody> -<tfoot class="hide-if-no-paging"> - <tr> - <td colspan="9"> - <div class="pagination pagination-centered"></div> - </td> - </tr> -</tfoot> -</table> -<?php else: ?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php endif; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/javascript_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/javascript_fullwidth.php deleted file mode 100644 index 54511392c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/javascript_fullwidth.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage javascript_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_javascript_view_file', - 'javascript_view_file', - 'add_javascript_view_footer', - 'javascript_view_footer', - 'add_javascript_views_file', - 'javascript_views_file', - 'add_javascript_views_footer', - 'javascript_views_footer' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/mysql_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/mysql_fullwidth.php deleted file mode 100644 index b527d978a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/mysql_fullwidth.php +++ /dev/null @@ -1,49 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage mysql_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'sql' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/mysql_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/mysql_left.php deleted file mode 100644 index f012d8cb4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/mysql_left.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage mysql_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_sql', - 'source', - 'addtables' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/php_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/php_fullwidth.php deleted file mode 100644 index 64f1c572c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/php_fullwidth.php +++ /dev/null @@ -1,71 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage php_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_php_ajax', - 'php_ajaxmethod', - 'ajax_input', - 'add_php_getitem', - 'php_getitem', - 'add_php_getitems', - 'php_getitems', - 'add_php_getlistquery', - 'php_getlistquery', - 'add_php_save', - 'php_save', - 'add_php_postsavehook', - 'php_postsavehook', - 'add_php_allowedit', - 'php_allowedit', - 'add_php_batchcopy', - 'php_batchcopy', - 'add_php_batchmove', - 'php_batchmove', - 'add_php_before_delete', - 'php_before_delete', - 'add_php_after_delete', - 'php_after_delete' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_above.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_above.php deleted file mode 100644 index cc1a8775f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_above.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage settings_above.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'system_name' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_left.php deleted file mode 100644 index f43ffbd20..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_left.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage settings_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'name_single', - 'name_list', - 'type', - 'short_description', - 'description', - 'icon', - 'icon_add', - 'icon_category' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_right.php deleted file mode 100644 index 7fd074e19..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_right.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage settings_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_on_permissions', - 'addpermissions', - 'note_on_tabs', - 'addtabs', - 'note_on_views', - 'addfields', - 'note_on_conditions', - 'addconditions', - 'addlinked_views' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_under.php deleted file mode 100644 index 6a14417ce..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/admin_view/settings_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage settings_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/batchselection.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/batchselection.php deleted file mode 100644 index 48d7bd78d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/batchselection.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage batchselection.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('JPATH_BASE') or die; - -JHtmlBehavior::core(); -$divWrapper = range(1,120,2); -$counter = 0; -?> -<?php if ($displayData->ListSelection) : ?> -<div class="row-fluid"> - <?php foreach ($displayData->ListSelection as $ListSelection) : ?> - <div class="control-group span6"> - <div class="controls"> - <label for="<?php echo $ListSelection['name']; ?>" class="element-invisible"><?php echo $ListSelection['label']; ?></label> - <select name="<?php echo $ListSelection['name']; ?>" id="<?php echo $ListSelection['name']; ?>" class="span12 small"> - <?php if (!$ListSelection['noDefault']) : ?> - <option value=""><?php echo $ListSelection['label']; ?></option> - <?php endif; ?> - <?php echo $ListSelection['options']; ?> - </select> - </div> - </div> - <?php if (in_array($counter,$divWrapper)) : ?> -</div> -<div class="row-fluid"> - <?php endif; ?> - <?php $counter++; ?> - <?php endforeach; ?> -</div> -<div class="control-group radio" id="batch-move-copy"> - <div class="controls"> - <label class="radio" id="batch[move_copy]c-lbl" for="batch[move_copy]c"> - <input type="radio" value="c" id="batch[move_copy]c" name="batch[move_copy]"><?php echo JText::_('Copy'); ?></label> - <label class="radio" id="batch[move_copy]m-lbl" for="batch[move_copy]m"> - <input type="radio" checked="checked" value="m" id="batch[move_copy]m" name="batch[move_copy]"><?php echo JText::_('Update'); ?></label> - </div> -</div> -<?php endif; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/admin_views_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/admin_views_fullwidth.php deleted file mode 100644 index 23d6fe6b9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/admin_views_fullwidth.php +++ /dev/null @@ -1,140 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin_views_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -// set the defaults -$items = $displayData->lugadmin_views; -$user = JFactory::getUser(); -$id = $displayData->item->id; -$edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit"; -$ref = ($id) ? "&ref=component&refid=".$id : ""; -$new = "index.php?option=com_componentbuilder&view=admin_view&layout=edit".$ref; -$can = ComponentbuilderHelper::getActions('admin_view'); - -?> -<div class="form-vertical"> -<?php if ($can->get('core.create')): ?> - <a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('COM_COMPONENTBUILDER_NEW'); ?></a><br /><br /> -<?php endif; ?> -<?php if (ComponentbuilderHelper::checkArray($items)): ?> -<table class="footable table data admin_views metro-blue" data-filter="#filter_admin_views" data-page-size="20"> -<thead> - <tr> - <th data-toggle="true"> - <?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_LABEL'); ?> - </th> - <th width="10" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_STATUS'); ?> - </th> - <th width="5" data-type="numeric" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_ID'); ?> - </th> - </tr> -</thead> -<tbody> -<?php foreach ($items as $i => $item): ?> - <?php - $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('admin_view',$item,'admin_views'); - ?> - <tr> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=component&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->system_name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'admin_views.', $canCheckin); ?> - <?php endif; ?> - <?php else: ?> - <div class="name"><?php echo $displayData->escape($item->system_name); ?></div> - <?php endif; ?> - </td> - <td> - <?php echo $displayData->escape($item->name_single); ?> - </td> - <td> - <?php echo $displayData->escape($item->name_list); ?> - </td> - <td> - <?php echo $displayData->escape($item->short_description); ?> - </td> - <?php if ($item->published == 1):?> - <td class="center" data-value="1"> - <span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>"> - <?php echo JText::_('PUBLISHED'); ?> - </span> - </td> - <?php elseif ($item->published == 0):?> - <td class="center" data-value="2"> - <span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>"> - <?php echo JText::_('INACTIVE'); ?> - </span> - </td> - <?php elseif ($item->published == 2):?> - <td class="center" data-value="3"> - <span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php elseif ($item->published == -2):?> - <td class="center" data-value="4"> - <span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php endif; ?> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> -</tbody> -<tfoot class="hide-if-no-paging"> - <tr> - <td colspan="6"> - <div class="pagination pagination-centered"></div> - </td> - </tr> -</tfoot> -</table> -<?php else: ?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php endif; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_above.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_above.php deleted file mode 100644 index 78f1ba6ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_above.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_above.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'system_name' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_left.php deleted file mode 100644 index a873ab760..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_left.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'name', - 'name_code', - 'component_version', - 'version_update', - 'debug_linenr', - 'short_description', - 'description', - 'copyright' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_right.php deleted file mode 100644 index a37eda9e5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_right.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'companyname', - 'author', - 'email', - 'website', - 'add_license', - 'license_type', - 'note_whmcs_lisencing_note', - 'whmcs_key', - 'whmcs_url', - 'license', - 'bom', - 'image' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_under.php deleted file mode 100644 index a4a496134..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/details_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/ftp_servers_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/ftp_servers_fullwidth.php deleted file mode 100644 index 031b8d93d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/ftp_servers_fullwidth.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage ftp_servers_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_update_server', - 'update_server', - 'update_server_ftp', - 'add_sales_server', - 'sales_server_ftp' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/readme_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/readme_left.php deleted file mode 100644 index 055f0728f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/readme_left.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage readme_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'addreadme', - 'readme' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/readme_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/readme_right.php deleted file mode 100644 index ecd4d29aa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/readme_right.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage readme_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_readme' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/scripts_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/scripts_fullwidth.php deleted file mode 100644 index 4278159b9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/scripts_fullwidth.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage scripts_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'creatuserhelper', - 'adduikit', - 'addfootable', - 'add_css', - 'css', - 'add_php_helper_admin', - 'php_helper_admin', - 'add_admin_event', - 'php_admin_event', - 'add_php_helper_site', - 'php_helper_site', - 'add_site_event', - 'php_site_event', - 'add_sql', - 'sql', - 'add_php_dashboard_methods', - 'php_dashboard_methods', - 'dashboard_tab' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/settings_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/settings_left.php deleted file mode 100644 index 0f1c75e23..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/settings_left.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage settings_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_on_views', - 'addadmin_views', - 'addcustom_admin_views', - 'addsite_views', - 'spacer_hr_c', - 'sql_tweak', - 'spacer_hr_d', - 'note_add_custom_menus', - 'addcustommenus', - 'spacer_hr_e', - 'note_add_config', - 'addconfig' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/settings_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/settings_right.php deleted file mode 100644 index 2741056bd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/settings_right.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage settings_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_on_contributors', - 'addcontributors', - 'emptycontributors', - 'number', - 'spacer_hr_a', - 'note_add_files', - 'addfiles', - 'spacer_hr_b', - 'note_add_folders', - 'addfolders' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/site_views_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/site_views_fullwidth.php deleted file mode 100644 index d6d489347..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/component/site_views_fullwidth.php +++ /dev/null @@ -1,146 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site_views_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -// set the defaults -$items = $displayData->nzfsite_views; -$user = JFactory::getUser(); -$id = $displayData->item->id; -$edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit"; -$ref = ($id) ? "&ref=component&refid=".$id : ""; -$new = "index.php?option=com_componentbuilder&view=site_view&layout=edit".$ref; -$can = ComponentbuilderHelper::getActions('site_view'); - -?> -<div class="form-vertical"> -<?php if ($can->get('core.create')): ?> - <a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('COM_COMPONENTBUILDER_NEW'); ?></a><br /><br /> -<?php endif; ?> -<?php if (ComponentbuilderHelper::checkArray($items)): ?> -<table class="footable table data site_views metro-blue" data-filter="#filter_site_views" data-page-size="20"> -<thead> - <tr> - <th data-toggle="true"> - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_SNIPPET_LABEL'); ?> - </th> - <th width="10" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_STATUS'); ?> - </th> - <th width="5" data-type="numeric" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_ID'); ?> - </th> - </tr> -</thead> -<tbody> -<?php foreach ($items as $i => $item): ?> - <?php - $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('site_view',$item,'site_views'); - ?> - <tr> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=component&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->system_name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'site_views.', $canCheckin); ?> - <?php endif; ?> - <?php else: ?> - <div class="name"><?php echo $displayData->escape($item->system_name); ?></div> - <?php endif; ?> - </td> - <td> - <?php echo $displayData->escape($item->name); ?> - </td> - <td> - <?php echo $displayData->escape($item->alias); ?> - </td> - <td> - <?php echo $displayData->escape($item->description); ?> - </td> - <td> - <?php echo $displayData->escape($item->snippet_name); ?> - </td> - <?php if ($item->published == 1):?> - <td class="center" data-value="1"> - <span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>"> - <?php echo JText::_('PUBLISHED'); ?> - </span> - </td> - <?php elseif ($item->published == 0):?> - <td class="center" data-value="2"> - <span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>"> - <?php echo JText::_('INACTIVE'); ?> - </span> - </td> - <?php elseif ($item->published == 2):?> - <td class="center" data-value="3"> - <span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php elseif ($item->published == -2):?> - <td class="center" data-value="4"> - <span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php endif; ?> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> -</tbody> -<tfoot class="hide-if-no-paging"> - <tr> - <td colspan="7"> - <div class="pagination pagination-centered"></div> - </td> - </tr> -</tfoot> -</table> -<?php else: ?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php endif; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php deleted file mode 100644 index 6b95d17ab..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_buttons_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'php_controller', - 'php_model' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_buttons_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_buttons_left.php deleted file mode 100644 index 8aa3cab99..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_buttons_left.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_buttons_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_custom_button', - 'custom_button' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_script_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_script_fullwidth.php deleted file mode 100644 index ebc2a66c6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/custom_script_fullwidth.php +++ /dev/null @@ -1,62 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_script_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_php_document', - 'php_document', - 'add_php_view', - 'php_view', - 'add_php_jview_display', - 'php_jview_display', - 'add_php_jview', - 'php_jview', - 'add_js_document', - 'js_document', - 'add_css_document', - 'css_document', - 'add_css', - 'css' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_above.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_above.php deleted file mode 100644 index 78f1ba6ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_above.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_above.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'system_name' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_fullwidth.php deleted file mode 100644 index 1317d20c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_add_language_string', - 'default' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_left.php deleted file mode 100644 index ba9adf2ed..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_left.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'name', - 'alias', - 'description', - 'snippet', - 'note_snippet_usage' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_right.php deleted file mode 100644 index efb2593fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_right.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_uikit_snippet' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_rightside.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_rightside.php deleted file mode 100644 index a30b44440..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_rightside.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_rightside.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'custom_get', - 'main_get', - 'dynamic_get', - 'dynamic_values' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_under.php deleted file mode 100644 index a4a496134..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/details_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/custom_admin_view/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/abacus_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/abacus_fullwidth.php deleted file mode 100644 index 597ad0974..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/abacus_fullwidth.php +++ /dev/null @@ -1,51 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage abacus_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_calculation_item', - 'note_calculation_items', - 'php_calculation' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/abacus_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/abacus_left.php deleted file mode 100644 index 63e664f45..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/abacus_left.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage abacus_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'addcalculation' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/custom_script_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/custom_script_fullwidth.php deleted file mode 100644 index a3851095c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/custom_script_fullwidth.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_script_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_php_before_getitem', - 'php_before_getitem', - 'add_php_after_getitem', - 'php_after_getitem', - 'add_php_getlistquery', - 'php_getlistquery', - 'add_php_before_getitems', - 'php_before_getitems', - 'add_php_after_getitems', - 'php_after_getitems' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_above.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_above.php deleted file mode 100644 index db25ea95d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_above.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage gettable_above.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'name', - 'gettype', - 'getcustom', - 'pagination' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_fullwidth.php deleted file mode 100644 index b14f4dff3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_fullwidth.php +++ /dev/null @@ -1,49 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage gettable_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'php_custom_get' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_left.php deleted file mode 100644 index 558aa70ef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_left.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage gettable_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'main_source', - 'view_table_main', - 'view_selection', - 'db_table_main', - 'db_selection' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_right.php deleted file mode 100644 index d253f18f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_right.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage gettable_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'join_view_table', - 'join_db_table', - 'filter', - 'where', - 'order', - 'global' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_under.php deleted file mode 100644 index e7d04d6f5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/gettable_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage gettable_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/dynamic_get/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_fullwidth.php deleted file mode 100644 index 6ef576cde..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'xml', - 'note_filter_information' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_left.php deleted file mode 100644 index 73b9fb791..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_left.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'type', - 'name', - 'catid', - 'datatype', - 'datalenght', - 'datalenght_other', - 'datadefault', - 'datadefault_other', - 'indexes', - 'null_switch', - 'store', - 'note_vdm_encryption' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_right.php deleted file mode 100644 index 8b26e7ac9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_right.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'helpnote' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_under.php deleted file mode 100644 index a4a496134..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/details_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/scripts_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/scripts_left.php deleted file mode 100644 index 91445d85a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/scripts_left.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage scripts_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_css_view', - 'css_view', - 'add_css_views', - 'css_views' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/scripts_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/scripts_right.php deleted file mode 100644 index 88c945fd8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/field/scripts_right.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage scripts_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_javascript_view_footer', - 'javascript_view_footer', - 'add_javascript_views_footer', - 'javascript_views_footer' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/details_left.php deleted file mode 100644 index 4b28d1150..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/details_left.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'name', - 'catid', - 'short_description', - 'description' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/details_right.php deleted file mode 100644 index 1a6713fb2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/details_right.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_on_fields', - 'properties' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/fields_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/fields_fullwidth.php deleted file mode 100644 index 5390fe777..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/fields_fullwidth.php +++ /dev/null @@ -1,162 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fields_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -// set the defaults -$items = $displayData->alofields; -$user = JFactory::getUser(); -$id = $displayData->item->id; -$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; -$ref = ($id) ? "&ref=fieldtype&refid=".$id : ""; -$new = "index.php?option=com_componentbuilder&view=field&layout=edit".$ref; -$can = ComponentbuilderHelper::getActions('field'); - -?> -<div class="form-vertical"> -<?php if ($can->get('field.create')): ?> - <a class="btn btn-small btn-success" href="<?php echo $new; ?>"><span class="icon-new icon-white"></span> <?php echo JText::_('COM_COMPONENTBUILDER_NEW'); ?></a><br /><br /> -<?php endif; ?> -<?php if (ComponentbuilderHelper::checkArray($items)): ?> -<table class="footable table data fields metro-blue" data-filter="#filter_fields" data-page-size="20"> -<thead> - <tr> - <th data-toggle="true"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_NAME_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_TYPE_LABEL'); ?> - </th> - <th data-hide="phone"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL'); ?> - </th> - <th data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_FIELD_CATEGORY'); ?> - </th> - <th data-hide="all"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_STORE_LABEL'); ?> - </th> - <th width="10" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_STATUS'); ?> - </th> - <th width="5" data-type="numeric" data-hide="phone,tablet"> - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_ID'); ?> - </th> - </tr> -</thead> -<tbody> -<?php foreach ($items as $i => $item): ?> - <?php - $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('field',$item,'fields'); - ?> - <tr> - <td class="nowrap"> - <?php if ($canDo->get('field.edit')): ?> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=fieldtype&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'fields.', $canCheckin); ?> - <?php endif; ?> - <?php else: ?> - <div class="name"><?php echo $displayData->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td> - <?php echo $displayData->escape($item->type_name); ?> - </td> - <td> - <?php echo JText::_($item->datatype); ?> - </td> - <td> - <?php echo JText::_($item->indexes); ?> - </td> - <td> - <?php echo JText::_($item->null_switch); ?> - </td> - <td class="nowrap"> - <?php if ($user->authorise('core.edit', 'com_componentbuilder.fields.category.' . (int)$item->catid)): ?> - <a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->catid; ?>&extension=com_componentbuilder.fields"><?php echo $displayData->escape($item->category_title); ?></a> - <?php else: ?> - <?php echo $displayData->escape($item->category_title); ?> - <?php endif; ?> - </td> - <td> - <?php echo JText::_($item->store); ?> - </td> - <?php if ($item->published == 1):?> - <td class="center" data-value="1"> - <span class="status-metro status-published" title="<?php echo JText::_('PUBLISHED'); ?>"> - <?php echo JText::_('PUBLISHED'); ?> - </span> - </td> - <?php elseif ($item->published == 0):?> - <td class="center" data-value="2"> - <span class="status-metro status-inactive" title="<?php echo JText::_('INACTIVE'); ?>"> - <?php echo JText::_('INACTIVE'); ?> - </span> - </td> - <?php elseif ($item->published == 2):?> - <td class="center" data-value="3"> - <span class="status-metro status-archived" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php elseif ($item->published == -2):?> - <td class="center" data-value="4"> - <span class="status-metro status-trashed" title="<?php echo JText::_('ARCHIVED'); ?>"> - <?php echo JText::_('ARCHIVED'); ?> - </span> - </td> - <?php endif; ?> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> -</tbody> -<tfoot class="hide-if-no-paging"> - <tr> - <td colspan="9"> - <div class="pagination pagination-centered"></div> - </td> - </tr> -</tfoot> -</table> -<?php else: ?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php endif; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/fieldtype/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_above.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_above.php deleted file mode 100644 index 914f5da3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_above.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_above.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'title', - 'alias' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_fullwidth.php deleted file mode 100644 index 544b2b049..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_fullwidth.php +++ /dev/null @@ -1,49 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'content' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_left.php deleted file mode 100644 index 5a4943a48..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_left.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'target', - 'groups', - 'location', - 'admin_view', - 'site_view' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_right.php deleted file mode 100644 index ad76b2369..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_right.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'type', - 'url', - 'article' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_under.php deleted file mode 100644 index a4a496134..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/details_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/publlshing.php deleted file mode 100644 index 5bcc38c74..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/help_document/publlshing.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/custom_script_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/custom_script_fullwidth.php deleted file mode 100644 index c9ed5f908..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/custom_script_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_script_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_php_view', - 'php_view' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_fullwidth.php deleted file mode 100644 index 892eecf9e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_add_language_string', - 'layout' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_left.php deleted file mode 100644 index ba9adf2ed..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_left.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'name', - 'alias', - 'description', - 'snippet', - 'note_snippet_usage' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_right.php deleted file mode 100644 index efb2593fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_right.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_uikit_snippet' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_rightside.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_rightside.php deleted file mode 100644 index e1efba509..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_rightside.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_rightside.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'dynamic_get', - 'dynamic_values' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_under.php deleted file mode 100644 index a4a496134..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/details_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/layout/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/custom_buttons_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/custom_buttons_fullwidth.php deleted file mode 100644 index e4e1e348f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/custom_buttons_fullwidth.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_buttons_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'button_position', - 'add_custom_button', - 'custom_button', - 'php_controller', - 'php_model' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_above.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_above.php deleted file mode 100644 index 78f1ba6ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_above.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_above.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'system_name' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_fullwidth.php deleted file mode 100644 index 1317d20c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_add_language_string', - 'default' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_left.php deleted file mode 100644 index ba9adf2ed..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_left.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'name', - 'alias', - 'description', - 'snippet', - 'note_snippet_usage' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_right.php deleted file mode 100644 index efb2593fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_right.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_uikit_snippet' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_rightside.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_rightside.php deleted file mode 100644 index a30b44440..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_rightside.php +++ /dev/null @@ -1,58 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_rightside.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'custom_get', - 'main_get', - 'dynamic_get', - 'dynamic_values' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_under.php deleted file mode 100644 index a4a496134..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/details_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/javascript_css_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/javascript_css_fullwidth.php deleted file mode 100644 index e31836487..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/javascript_css_fullwidth.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage javascript_css_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_js_document', - 'js_document', - 'add_css_document', - 'css_document', - 'add_css', - 'css' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/php_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/php_fullwidth.php deleted file mode 100644 index b682f904f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/php_fullwidth.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage php_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_php_ajax', - 'php_ajaxmethod', - 'ajax_input', - 'add_php_document', - 'php_document', - 'add_php_view', - 'php_view', - 'add_php_jview_display', - 'php_jview_display', - 'add_php_jview', - 'php_jview' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/site_view/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_above.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_above.php deleted file mode 100644 index 2479194c3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_above.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_above.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'name', - 'url', - 'type' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_left.php deleted file mode 100644 index 7b7ffd575..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_left.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'heading', - 'description', - 'usage' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_right.php deleted file mode 100644 index 5ed051802..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/details_right.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'snippet' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/snippet/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/custom_script_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/custom_script_fullwidth.php deleted file mode 100644 index c9ed5f908..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/custom_script_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_script_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'add_php_view', - 'php_view' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_fullwidth.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_fullwidth.php deleted file mode 100644 index 244cf3c30..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_fullwidth.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_fullwidth.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_add_language_string', - 'template' -); - -?> -<div class="form-vertical"> -<?php foreach($fields as $field): ?> - <div class="control-group"> - <div class="control-label"> - <?php echo $form->getLabel($field); ?> - </div> - <div class="controls"> - <?php echo $form->getInput($field); ?> - </div> - </div> -<?php endforeach; ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_left.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_left.php deleted file mode 100644 index ba9adf2ed..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_left.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_left.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'name', - 'alias', - 'description', - 'snippet', - 'note_snippet_usage' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_right.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_right.php deleted file mode 100644 index efb2593fd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_right.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_right.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'note_uikit_snippet' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_rightside.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_rightside.php deleted file mode 100644 index e1efba509..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_rightside.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_rightside.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'dynamic_get', - 'dynamic_values' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_under.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_under.php deleted file mode 100644 index a4a496134..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/details_under.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage details_under.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$form = $displayData->getForm(); - -$fields = array( - 'not_required' -); - -?> -<div class="form-inline form-inline-header"> - <?php foreach($fields as $field){ - echo $form->renderField($field); - } ?> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/publishing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/publishing.php deleted file mode 100644 index 4cb7cced9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/publishing.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publishing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'created', - 'created_by', - 'modified', - 'modified_by' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/publlshing.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/publlshing.php deleted file mode 100644 index 4d82291af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/layouts/template/publlshing.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage publlshing.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file - -defined('_JEXEC') or die('Restricted access'); - -$app = JFactory::getApplication(); -$form = $displayData->getForm(); - -$fields = $displayData->get('fields') ?: array( - 'published', - 'ordering', - 'access', - 'version', - 'hits', - 'id' -); - -$hiddenFields = $displayData->get('hidden_fields') ?: array(); - -foreach ($fields as $field) -{ - $field = is_array($field) ? $field : array($field); - foreach ($field as $f) - { - if ($form->getField($f)) - { - if (in_array($f, $hiddenFields)) - { - $form->setFieldAttribute($f, 'type', 'hidden'); - } - - echo $form->renderField($f); - break; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/admin_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/admin_view.php deleted file mode 100644 index 694b1867a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/admin_view.php +++ /dev/null @@ -1,1254 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin_view.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Admin_view Model - */ -class ComponentbuilderModelAdmin_view extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.admin_view'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'admin_view', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->php_getitem)) - { - // base64 Decode php_getitem. - $item->php_getitem = base64_decode($item->php_getitem); - } - - if (!empty($item->php_before_delete)) - { - // base64 Decode php_before_delete. - $item->php_before_delete = base64_decode($item->php_before_delete); - } - - if (!empty($item->php_postsavehook)) - { - // base64 Decode php_postsavehook. - $item->php_postsavehook = base64_decode($item->php_postsavehook); - } - - if (!empty($item->php_getlistquery)) - { - // base64 Decode php_getlistquery. - $item->php_getlistquery = base64_decode($item->php_getlistquery); - } - - if (!empty($item->php_batchcopy)) - { - // base64 Decode php_batchcopy. - $item->php_batchcopy = base64_decode($item->php_batchcopy); - } - - if (!empty($item->php_getitems)) - { - // base64 Decode php_getitems. - $item->php_getitems = base64_decode($item->php_getitems); - } - - if (!empty($item->php_save)) - { - // base64 Decode php_save. - $item->php_save = base64_decode($item->php_save); - } - - if (!empty($item->php_allowedit)) - { - // base64 Decode php_allowedit. - $item->php_allowedit = base64_decode($item->php_allowedit); - } - - if (!empty($item->php_batchmove)) - { - // base64 Decode php_batchmove. - $item->php_batchmove = base64_decode($item->php_batchmove); - } - - if (!empty($item->php_after_delete)) - { - // base64 Decode php_after_delete. - $item->php_after_delete = base64_decode($item->php_after_delete); - } - - if (!empty($item->sql)) - { - // base64 Decode sql. - $item->sql = base64_decode($item->sql); - } - - if (!empty($item->javascript_views_footer)) - { - // base64 Decode javascript_views_footer. - $item->javascript_views_footer = base64_decode($item->javascript_views_footer); - } - - if (!empty($item->php_ajaxmethod)) - { - // base64 Decode php_ajaxmethod. - $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); - } - - if (!empty($item->css_view)) - { - // base64 Decode css_view. - $item->css_view = base64_decode($item->css_view); - } - - if (!empty($item->css_views)) - { - // base64 Decode css_views. - $item->css_views = base64_decode($item->css_views); - } - - if (!empty($item->javascript_view_file)) - { - // base64 Decode javascript_view_file. - $item->javascript_view_file = base64_decode($item->javascript_view_file); - } - - if (!empty($item->javascript_view_footer)) - { - // base64 Decode javascript_view_footer. - $item->javascript_view_footer = base64_decode($item->javascript_view_footer); - } - - if (!empty($item->javascript_views_file)) - { - // base64 Decode javascript_views_file. - $item->javascript_views_file = base64_decode($item->javascript_views_file); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.admin_view'); - } - } - $this->idgayn = $item->addfields; - - return $item; - } - - /** - * Method to get list data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getBbhfields() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - $query->select($db->quoteName('c.title','category_title')); - - // From the componentbuilder_field table - $query->from($db->quoteName('#__componentbuilder_field', 'a')); - $query->join('LEFT', $db->quoteName('#__categories', 'c') . ' ON (' . $db->quoteName('a.catid') . ' = ' . $db->quoteName('c.id') . ')'); - - // From the componentbuilder_fieldtype table. - $query->select($db->quoteName('g.name','type_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'g') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('g.id') . ')'); - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('field.access', 'com_componentbuilder.field.' . (int) $item->id) && $user->authorise('field.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // set selection value to a translatable value - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - // convert datatype - $item->datatype = $this->selectionTranslationBbhfields($item->datatype, 'datatype'); - // convert indexes - $item->indexes = $this->selectionTranslationBbhfields($item->indexes, 'indexes'); - // convert null_switch - $item->null_switch = $this->selectionTranslationBbhfields($item->null_switch, 'null_switch'); - // convert store - $item->store = $this->selectionTranslationBbhfields($item->store, 'store'); - } - } - - - // Filter by id Repetable Field - $idgayn = json_decode($this->idgayn,true); - if (ComponentbuilderHelper::checkArray($items) && isset($idgayn) && ComponentbuilderHelper::checkArray($idgayn)) - { - foreach ($items as $nr => &$item) - { - if ($item->id && isset($idgayn['field']) && ComponentbuilderHelper::checkArray($idgayn['field'])) - { - if (!in_array($item->id,$idgayn['field'])) - { - unset($items[$nr]); - continue; - } - } - } - } - else - { - return false; - } - return $items; - } - return false; - } - - /** - * Method to convert selection values to translatable string. - * - * @return translatable string - */ - public function selectionTranslationBbhfields($value,$name) - { - // Array of datatype language strings - if ($name == 'datatype') - { - $datatypeArray = array( - 'CHAR' => 'COM_COMPONENTBUILDER_FIELD_CHAR', - 'VARCHAR' => 'COM_COMPONENTBUILDER_FIELD_VARCHAR', - 'TEXT' => 'COM_COMPONENTBUILDER_FIELD_TEXT', - 'MEDIUMTEXT' => 'COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT', - 'LONGTEXT' => 'COM_COMPONENTBUILDER_FIELD_LONGTEXT', - 'DATETIME' => 'COM_COMPONENTBUILDER_FIELD_DATETIME', - 'DATE' => 'COM_COMPONENTBUILDER_FIELD_DATE', - 'INT' => 'COM_COMPONENTBUILDER_FIELD_INT', - 'TINYINT' => 'COM_COMPONENTBUILDER_FIELD_TINYINT', - 'BIGINT' => 'COM_COMPONENTBUILDER_FIELD_BIGINT', - 'FLOAT' => 'COM_COMPONENTBUILDER_FIELD_FLOAT', - 'DECIMAL' => 'COM_COMPONENTBUILDER_FIELD_DECIMAL', - 'DOUBLE' => 'COM_COMPONENTBUILDER_FIELD_DOUBLE' - ); - // Now check if value is found in this array - if (isset($datatypeArray[$value]) && ComponentbuilderHelper::checkString($datatypeArray[$value])) - { - return $datatypeArray[$value]; - } - } - // Array of indexes language strings - if ($name == 'indexes') - { - $indexesArray = array( - 1 => 'COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY', - 2 => 'COM_COMPONENTBUILDER_FIELD_KEY', - 0 => 'COM_COMPONENTBUILDER_FIELD_NONE' - ); - // Now check if value is found in this array - if (isset($indexesArray[$value]) && ComponentbuilderHelper::checkString($indexesArray[$value])) - { - return $indexesArray[$value]; - } - } - // Array of null_switch language strings - if ($name == 'null_switch') - { - $null_switchArray = array( - 'NULL' => 'COM_COMPONENTBUILDER_FIELD_NULL', - 'NOT NULL' => 'COM_COMPONENTBUILDER_FIELD_NOT_NULL' - ); - // Now check if value is found in this array - if (isset($null_switchArray[$value]) && ComponentbuilderHelper::checkString($null_switchArray[$value])) - { - return $null_switchArray[$value]; - } - } - // Array of store language strings - if ($name == 'store') - { - $storeArray = array( - 0 => 'COM_COMPONENTBUILDER_FIELD_DEFAULT', - 1 => 'COM_COMPONENTBUILDER_FIELD_JSON', - 2 => 'COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR', - 3 => 'COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALKEY', - 4 => 'COM_COMPONENTBUILDER_FIELD_ADVANCE_ENCRYPTION_WHMCSKEY' - ); - // Now check if value is found in this array - if (isset($storeArray[$value]) && ComponentbuilderHelper::checkString($storeArray[$value])) - { - return $storeArray[$value]; - } - } - return $value; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.admin_view', 'admin_view', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('core.edit.state', 'com_componentbuilder.admin_view.' . (int) $id)) - || ($id == 0 && !$user->authorise('core.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/admin_view.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('core.delete', 'com_componentbuilder.admin_view.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit.state', 'com_componentbuilder.admin_view.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return parent::canEditState($record); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('core.edit', 'com_componentbuilder.admin_view.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('core.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_admin_view')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.admin_view.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('admin_view'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('admin_view'); - } - - if (!$this->canDo->get('core.create') || !$this->canDo->get('core.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('core.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('admin_view'); - } - - if (!$this->canDo->get('core.edit') && !$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('core.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the php_getitem string to base64 string. - if (isset($data['php_getitem'])) - { - $data['php_getitem'] = base64_encode($data['php_getitem']); - } - - // Set the php_before_delete string to base64 string. - if (isset($data['php_before_delete'])) - { - $data['php_before_delete'] = base64_encode($data['php_before_delete']); - } - - // Set the php_postsavehook string to base64 string. - if (isset($data['php_postsavehook'])) - { - $data['php_postsavehook'] = base64_encode($data['php_postsavehook']); - } - - // Set the php_getlistquery string to base64 string. - if (isset($data['php_getlistquery'])) - { - $data['php_getlistquery'] = base64_encode($data['php_getlistquery']); - } - - // Set the php_batchcopy string to base64 string. - if (isset($data['php_batchcopy'])) - { - $data['php_batchcopy'] = base64_encode($data['php_batchcopy']); - } - - // Set the php_getitems string to base64 string. - if (isset($data['php_getitems'])) - { - $data['php_getitems'] = base64_encode($data['php_getitems']); - } - - // Set the php_save string to base64 string. - if (isset($data['php_save'])) - { - $data['php_save'] = base64_encode($data['php_save']); - } - - // Set the php_allowedit string to base64 string. - if (isset($data['php_allowedit'])) - { - $data['php_allowedit'] = base64_encode($data['php_allowedit']); - } - - // Set the php_batchmove string to base64 string. - if (isset($data['php_batchmove'])) - { - $data['php_batchmove'] = base64_encode($data['php_batchmove']); - } - - // Set the php_after_delete string to base64 string. - if (isset($data['php_after_delete'])) - { - $data['php_after_delete'] = base64_encode($data['php_after_delete']); - } - - // Set the sql string to base64 string. - if (isset($data['sql'])) - { - $data['sql'] = base64_encode($data['sql']); - } - - // Set the javascript_views_footer string to base64 string. - if (isset($data['javascript_views_footer'])) - { - $data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']); - } - - // Set the php_ajaxmethod string to base64 string. - if (isset($data['php_ajaxmethod'])) - { - $data['php_ajaxmethod'] = base64_encode($data['php_ajaxmethod']); - } - - // Set the css_view string to base64 string. - if (isset($data['css_view'])) - { - $data['css_view'] = base64_encode($data['css_view']); - } - - // Set the css_views string to base64 string. - if (isset($data['css_views'])) - { - $data['css_views'] = base64_encode($data['css_views']); - } - - // Set the javascript_view_file string to base64 string. - if (isset($data['javascript_view_file'])) - { - $data['javascript_view_file'] = base64_encode($data['javascript_view_file']); - } - - // Set the javascript_view_footer string to base64 string. - if (isset($data['javascript_view_footer'])) - { - $data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']); - } - - // Set the javascript_views_file string to base64 string. - if (isset($data['javascript_views_file'])) - { - $data['javascript_views_file'] = base64_encode($data['javascript_views_file']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/admin_views.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/admin_views.php deleted file mode 100644 index e9af1612f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/admin_views.php +++ /dev/null @@ -1,420 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin_views.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Admin_views Model - */ -class ComponentbuilderModelAdmin_views extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.system_name','system_name', - 'a.name_single','name_single', - 'a.name_list','name_list', - 'a.short_description','short_description' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $system_name = $this->getUserStateFromRequest($this->context . '.filter.system_name', 'filter_system_name'); - $this->setState('filter.system_name', $system_name); - - $name_single = $this->getUserStateFromRequest($this->context . '.filter.name_single', 'filter_name_single'); - $this->setState('filter.name_single', $name_single); - - $name_list = $this->getUserStateFromRequest($this->context . '.filter.name_list', 'filter_name_list'); - $this->setState('filter.name_list', $name_list); - - $short_description = $this->getUserStateFromRequest($this->context . '.filter.short_description', 'filter_short_description'); - $this->setState('filter.short_description', $short_description); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('admin_view.access', 'com_componentbuilder.admin_view.' . (int) $item->id) && $user->authorise('admin_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // return items - return $items; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_admin_view', 'a')); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.system_name LIKE '.$search.' OR a.name_single LIKE '.$search.' OR a.name_list LIKE '.$search.' OR a.short_description LIKE '.$search.' OR a.type LIKE '.$search.' OR a.description LIKE '.$search.')'); - } - } - - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_admin_view table - $query->from($db->quoteName('#__componentbuilder_admin_view', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('admin_view.access', 'com_componentbuilder.admin_view.' . (int) $item->id) && $user->authorise('admin_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode php_getitem - $item->php_getitem = base64_decode($item->php_getitem); - // decode php_before_delete - $item->php_before_delete = base64_decode($item->php_before_delete); - // decode php_postsavehook - $item->php_postsavehook = base64_decode($item->php_postsavehook); - // decode php_getlistquery - $item->php_getlistquery = base64_decode($item->php_getlistquery); - // decode php_batchcopy - $item->php_batchcopy = base64_decode($item->php_batchcopy); - // decode php_getitems - $item->php_getitems = base64_decode($item->php_getitems); - // decode php_save - $item->php_save = base64_decode($item->php_save); - // decode php_allowedit - $item->php_allowedit = base64_decode($item->php_allowedit); - // decode php_batchmove - $item->php_batchmove = base64_decode($item->php_batchmove); - // decode php_after_delete - $item->php_after_delete = base64_decode($item->php_after_delete); - // decode sql - $item->sql = base64_decode($item->sql); - // decode javascript_views_footer - $item->javascript_views_footer = base64_decode($item->javascript_views_footer); - // decode php_ajaxmethod - $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); - // decode css_view - $item->css_view = base64_decode($item->css_view); - // decode css_views - $item->css_views = base64_decode($item->css_views); - // decode javascript_view_file - $item->javascript_view_file = base64_decode($item->javascript_view_file); - // decode javascript_view_footer - $item->javascript_view_footer = base64_decode($item->javascript_view_footer); - // decode javascript_views_file - $item->javascript_views_file = base64_decode($item->javascript_views_file); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_admin_view"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.system_name'); - $id .= ':' . $this->getState('filter.name_single'); - $id .= ':' . $this->getState('filter.name_list'); - $id .= ':' . $this->getState('filter.short_description'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_admin_view')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_admin_view'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/ajax.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/ajax.php deleted file mode 100644 index 8cca143d1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/ajax.php +++ /dev/null @@ -1,801 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage ajax.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -jimport('joomla.application.component.helper'); - -/** - * Componentbuilder Ajax Model - */ -class ComponentbuilderModelAjax extends JModelList -{ - protected $app_params; - - public function __construct() - { - parent::__construct(); - // get params - $this->app_params = JComponentHelper::getParams('com_componentbuilder'); - - } - - // Used in admin_view - public function getFieldSelectOptions($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.xml', 'b.name'))); - $query->from($db->quoteName('#__componentbuilder_field', 'a')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'b') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('b.id') . ')'); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->where($db->quoteName('a.id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $result = $db->loadObject(); - $result->name = strtolower($result->name); - if (ComponentbuilderHelper::typeField($result->name,'list')) - { - // load the values form params - $xml = json_decode($result->xml); - - $xmlOptions = ComponentbuilderHelper::getBetween($xml,'option="','"'); - - $optionSet = ''; - if (strpos($xmlOptions,',') !== false) - { - // mulitpal options - $options = explode(',',$xmlOptions); - foreach ($options as $option) - { - // return both value and text - if (ComponentbuilderHelper::checkString($optionSet)) - { - // no add to option set - $optionSet .= "\n".$option; - } - else - { - // no add to option set - $optionSet .= $option; - } - } - } - else - { - // return both value and text - if (ComponentbuilderHelper::checkString($optionSet)) - { - // no add to option set - $optionSet .= "\n".$xmlOptions; - } - else - { - // no add to option set - $optionSet .= $xmlOptions; - } - } - // return found field options - return $optionSet; - } - elseif (ComponentbuilderHelper::typeField($result->name,'text')) - { - return "keywords=\"\"\nlength=\"\""; - } - elseif (ComponentbuilderHelper::typeField($result->name,'dynamic')) - { - return 'dynamic_list'; - } - elseif (ComponentbuilderHelper::typeField($result->name)) - { - return 'match field type not supported. Select another!'; - } - else - { - return 'dynamic_list'; - } - - } - return false; - } - - public function getTableColumns($tableName) - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__".$tableName); - if (ComponentbuilderHelper::checkArray($columns)) - { - // build the return string - $tableColumns = array(); - foreach ($columns as $column => $type) - { - $tableColumns[] = $column . ' => ' . $column; - } - return implode("\n",$tableColumns); - } - return false; - } - - // Used in template - public function getTemplateDetails($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.alias','a.template','b.name'))); - $query->from($db->quoteName('#__componentbuilder_template', 'a')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_dynamic_get', 'b') . ' ON (' . $db->quoteName('b.id') . ' = ' . $db->quoteName('a.dynamic_get') . ')'); - $query->where($db->quoteName('a.id') . ' != '.(int) $id); - $query->where($db->quoteName('a.published') . ' = 1'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $results = $db->loadObjectList(); - $templateString = array('<h3>Template Code Snippets</h3><div class="row-fluid form-horizontal-desktop">'); - foreach ($results as $result) - { - $templateString[] = "<div>dynamicGet: <b>".$result->name."</b><br /><code>&lt;?php echo \$this->loadTemplate('".ComponentbuilderHelper::safeString($result->alias)."'); ?&gt;</code></div>"; - } - $templateString[] = "</div><hr />"; - return implode("\n",$templateString); - } - return false; - } - - // Used in layout - public function getSnippetDetails($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('name', 'heading', 'usage', 'description', 'type', 'snippet', 'url'))); - $query->from($db->quoteName('#__componentbuilder_snippet')); - $query->where($db->quoteName('published') . ' = 1'); - $query->where($db->quoteName('id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $model = ComponentbuilderHelper::getModel('snippets'); - $snippet = $db->loadObject(); - $snippet->type = JText::_($model->selectionTranslation($snippet->type,'type')); - $snippet->snippet = base64_decode($snippet->snippet); - // return found snippet settings - return $snippet; - } - return false; - } - - public function getDynamicValues($id,$view) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('getcustom', 'gettype', 'main_source', 'view_selection', 'db_selection', 'join_view_table', 'join_db_table', 'addcalculation', 'php_calculation'))); - $query->from($db->quoteName('#__componentbuilder_dynamic_get')); - $query->where($db->quoteName('published') . ' = 1'); - $query->where($db->quoteName('id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $result = $db->loadObject(); - // reset buket - $selections = array(); - $selectionsList = array(); - // get the main values (name) - if ($result->main_source == 1) - { - $selections[] = explode("\n",$result->view_selection); - } - elseif ($result->main_source == 2) - { - $selections[] = explode("\n",$result->db_selection); - } - elseif ($result->main_source == 3) - { - return '<br /><br /><h2>Custom get source! You will need to transpose the variables manually.</h2>'; - } - // get the joined values (name) - $join_view_table = json_decode($result->join_view_table,true); - unset($result->join_view_table); - if (ComponentbuilderHelper::checkArray($join_view_table)) - { - foreach ($join_view_table as $option => $values) - { - foreach ($values as $nr => $value) - { - $result->join_view_table[$nr][$option] = $value; - } - } - } - unset($join_view_table); - $join_db_table = json_decode($result->join_db_table,true); - unset($result->join_db_table); - if (ComponentbuilderHelper::checkArray($join_db_table)) - { - foreach ($join_db_table as $option => $values) - { - foreach ($values as $nr => $value) - { - $result->join_db_table[$nr][$option] = $value; - } - } - } - unset($join_db_table); - // now load the joined values to the selection set - if (isset($result->join_view_table) && ComponentbuilderHelper::checkArray($result->join_view_table)) - { - foreach ($result->join_view_table as $join_view_table) - { - if ($join_view_table['row_type'] == '1') - { - $selections[] = explode("\n",$join_view_table['selection']); - } - elseif ($join_view_table['row_type'] == '2') - { - $names = $this->setListMethodName(array($join_view_table['on_field'],$join_view_table['join_field']),$join_view_table['view_table'],$join_view_table['as'],1); - $selectionsList[implode('',$names)] = explode("\n",$join_view_table['selection']); - } - } - unset($result->join_view_table); - } - if (isset($result->join_db_table) && ComponentbuilderHelper::checkArray($result->join_db_table)) - { - foreach ($result->join_db_table as $join_db_table) - { - if ($join_db_table['row_type'] == '1') - { - $selections[] = explode("\n",$join_db_table['selection']); - } - elseif ($join_db_table['row_type'] == '2') - { - $names = $this->setListMethodName(array($join_db_table['on_field'],$join_db_table['join_field']),$join_db_table['db_table'],$join_db_table['as'],2); - $selectionsList[implode('',$names)] = explode("\n",$join_db_table['selection']); - } - } - unset($result->join_db_table); - } - // get the calculation reult values (name) - if ($result->addcalculation == 1) - { - $php_calculation = base64_decode($result->php_calculation); - $phpSelections = ComponentbuilderHelper::getAllBetween($php_calculation,'cal__',' '); - $selections[] = array_unique($phpSelections); - unset($php_calculation); - unset($phpSelections); - unset($result->php_calculation); - } - // name the main var based on view - if ($view == 'template') - { - switch ($result->gettype) - { - case 1: - // single - $buketName = 'this->item'; - break; - case 2: - // list - $buketName = 'this->items'; - break; - case 3: - case 4: - // custom - $result->getcustom = ComponentbuilderHelper::safeString($result->getcustom); - if (substr($result->getcustom, 0, strlen('get')) == 'get') - { - $varName = substr($result->getcustom, strlen('get')); - } - else - { - $varName = $result->getcustom; - } - $buketName = 'this->'.$varName; - break; - } - } - elseif ($view == 'layout') - { - $buketName = 'displayData'; - } - // now build the return values - if (ComponentbuilderHelper::checkArray($selections)) - { - $buket = array(); - switch ($result->gettype) - { - case 1: - case 3: - // single - $ur = '&lt;?php echo $'.$buketName; - $cf = '; ?&gt;'; - break; - case 2: - case 4: - // list - $ur = '&lt;?php echo $item'; - $cf = '; ?&gt;'; - $buket[] = '<code>&lt;?php foreach ($'.$buketName.' as $item): ?&gt;</code><br />'; - break; - } - foreach ($selections as $selection) - { - if (ComponentbuilderHelper::checkArray($selection)) - { - foreach ($selection as $value) - { - if (strpos($value,'AS') !== false) - { - list($table,$key) = explode('AS',$value); - $buket[] = '<code>'.$ur.'->'.trim($key).$cf.'</code>'; - } - else - { - $buket[] = '<code>'.$ur.'->'.trim($value).$cf.'</code>'; - } - } - } - } - if (ComponentbuilderHelper::checkArray($selectionsList)) - { - $buket[] = '<hr />'; - foreach ($selectionsList as $name => $selectionList) - { - if (ComponentbuilderHelper::checkArray($selectionList)) - { - $ur = '&lt;?php echo $'.$name; - $cf = '; ?&gt;'; - $buket[] = '<code>&lt;?php foreach ($item->'.$name.' as $'.$name.'): ?&gt;</code><br />'; - foreach ($selectionList as $value) - { - if (strpos($value,'AS') !== false) - { - list($table,$key) = explode('AS',$value); - $buket[] = '<code>'.$ur.'->'.trim($key).$cf.'</code>'; - } - else - { - $buket[] = '<code>'.$ur.'->'.trim($value).$cf.'</code>'; - } - } - $buket[] = '<br /><code>&lt;?php endforeach; ?&gt;</code><hr />'; - } - } - } - switch ($result->gettype) - { - case 2: - case 4: - // list - $buket[] = '<br /><code>&lt;?php endforeach; ?&gt;</code>'; - break; - } - return implode('&nbsp;',$buket); - } - } - return false; - } - - public function getLayoutDetails($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.alias','a.layout','b.getcustom','b.gettype','b.name'))); - $query->from($db->quoteName('#__componentbuilder_layout', 'a')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_dynamic_get', 'b') . ' ON (' . $db->quoteName('b.id') . ' = ' . $db->quoteName('a.dynamic_get') . ')'); - $query->where($db->quoteName('a.id') . ' != '.(int) $id); - $query->where($db->quoteName('a.published') . ' = 1'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $results = $db->loadObjectList(); - $layoutString = array('<h3>Layout Code Snippets</h3><div class="row-fluid form-horizontal-desktop">'); - foreach ($results as $result) - { - switch ($result->gettype) - { - case 1: - // single - $layoutString[] = "<div>dynamicGet: <b>".$result->name."</b><br /><code>&lt;?php echo JLayoutHelper::render('".ComponentbuilderHelper::safeString($result->alias)."', \$this->item); ?&gt;</code></div>"; - break; - case 2: - // list - $layoutString[] = "<div>dynamicGet: <b>".$result->name."</b><br /><code>&lt;?php echo JLayoutHelper::render('".ComponentbuilderHelper::safeString($result->alias)."', \$this->items); ?&gt;</code></div>"; - break; - case 3: - case 4: - // custom - $result->getcustom = ComponentbuilderHelper::safeString($result->getcustom); - if (substr($result->getcustom, 0, strlen('get')) == 'get') - { - $varName = substr($result->getcustom, strlen('get')); - } - else - { - $varName = $result->getcustom; - } - $layoutString[] = "<div>dynamicGet: <b>".$result->name."</b><br /><code>&lt;?php echo JLayoutHelper::render('".ComponentbuilderHelper::safeString($result->alias)."', \$this->".$varName."); ?&gt;</code></div>"; - break; - } - } - $layoutString[] = "</div><hr />"; - return implode("\n",$layoutString); - } - return false; - } - - public function getDynamicFormDetails($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.name','a.name_code','a.filterbuilder_map'))); - $query->from($db->quoteName('#__componentbuilder_dynamic_form', 'a')); - $query->where($db->quoteName('a.id') . ' != '.(int) $id); - $query->where($db->quoteName('a.published') . ' = 1'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $results = $db->loadObjectList(); - $string = array('<h3>Dynamic Form Links</h3><div class="row-fluid form-horizontal-desktop">'); - foreach ($results as $result) - { - $dynamicIds = array(); - $result->filterbuilder_map = base64_decode($result->filterbuilder_map); - if (ComponentbuilderHelper::checkString($result->filterbuilder_map) && strpos($result->filterbuilder_map, PHP_EOL) !== false) - { - $filters = explode(PHP_EOL, $result->filterbuilder_map); - if (ComponentbuilderHelper::checkArray($filters)) - { - foreach ($filters as $filter) - { - if (strpos($filter, 'Id') !== false || strpos($filter, 'id') !== false) - { - list($idkey, $dump) = explode('=>', $filter); - $dynamicIds[] = "&".trim($idkey)."=&lt;?php echo \$displayData->".trim($idkey)."; ?&gt;"; - } - } - } - } - $string[] = "<div>dynamicForm: <b>".$result->name."</b><br /><code>&lt;a href=\"index.php?option=com_&#91;&#91;&#91;component&#93;&#93;&#93;&task=form." . $result->name_code . implode('',$dynamicIds) ."&ref=[[[sview]]]\"&gt;" . $result->name . "&lt;/a&gt;</code></div>"; - } - $string[] = "</div><hr />"; - return implode("\n",$string); - } - return false; - } - - protected function setListMethodName($names,$table,$as,$type) - { - $methodNames = array(); - if (ComponentbuilderHelper::checkArray($names)) - { - foreach ($names as $nr => $name) - { - if (ComponentbuilderHelper::checkString($name)) - { - if (strpos($name,'.') !== false) - { - list($dump,$var) = explode('.',$name); - } - else - { - $var = $name; - } - if ($nr > 0) - { - $methodNames[] = ComponentbuilderHelper::safeString($var,'F'); - } - else - { - $methodNames[] = ComponentbuilderHelper::safeString($var); - } - } - } - } - switch ($type) - { - // set view name - case 1: - $methodNames[] = ComponentbuilderHelper::safeString($this->getViewName($table),'F'); - break; - // set db name - case 2: - $methodNames[] = ComponentbuilderHelper::safeString($table,'F'); - break; - - } - // make sure there is uniqe method names - $methodNames[] = ComponentbuilderHelper::safeString($as,'U'); - return $methodNames; - } - - protected function getViewName($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('name_single'))); - $query->from($db->quoteName('#__componentbuilder_admin_view')); - $query->where($db->quoteName('id') . ' = '. (int) $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return ''; - } - - protected function splitAtUpperCase($s) { - return preg_split('/(?=[A-Z])/', $s, -1, PREG_SPLIT_NO_EMPTY); - } - - // Used in dynamic_get - public function getViewTableColumns($id,$as,$type) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('addfields','name_single'))); - $query->from($db->quoteName('#__componentbuilder_admin_view')); - $query->where($db->quoteName('published') . ' = 1'); - $query->where($db->quoteName('id') . ' = '. $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $result = $db->loadObject(); - $description = ''; - if (1 == $type) - { - $tableName = ComponentbuilderHelper::safeString($result->name_single).'_'; - } - else - { - $tableName = ''; - } - $addfields = json_decode($result->addfields,true); - if (ComponentbuilderHelper::checkArray($addfields)) - { - $fields = array(); - // get data - foreach ($addfields as $option => $values) - { - foreach ($values as $nr => $value) - { - if ($option == 'field') - { - $value = $this->getFieldData((int) $value); - if (ComponentbuilderHelper::checkArray($value)) - { - $field[$nr] = $value; - } - } - elseif ($option == 'alias') - { - if ($value == 1) - { - $name[$nr] = 'alias'; - } - else - { - $name[$nr] = ''; - } - } - } - } - // add the basic defaults - $fields[] = $as.".id AS ".$tableName."id"; - $fields[] = $as.".asset_id AS ".$tableName."asset_id"; - // load data - foreach ($field as $n => $f) - { - if (ComponentbuilderHelper::checkArray($f)) - { - if (ComponentbuilderHelper::checkString($name[$n])) - { - $f['name'] = $name[$n]; - } - $fields[] = $as.".".$f['name']." AS ".$tableName.$f['name']; - } - } - // add the basic defaults - $fields[] = $as.".published AS ".$tableName."published"; - $fields[] = $as.".created_by AS ".$tableName."created_by"; - $fields[] = $as.".modified_by AS ".$tableName."modified_by"; - $fields[] = $as.".created AS ".$tableName."created"; - $fields[] = $as.".modified AS ".$tableName."modified"; - $fields[] = $as.".version AS ".$tableName."version"; - $fields[] = $as.".hits AS ".$tableName."hits"; - if (0) - { - $fields[] = $as.".access AS ".$tableName."access"; - } - $fields[] = $as.".ordering AS ".$tableName."ordering"; - $viewFields = $description.implode("\n",$fields); - } - return $viewFields; - } - return false; - } - - protected function getFieldData($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Order it by the ordering field. - $query->select($db->quoteName(array('a.name','a.xml'))); - $query->select($db->quoteName(array('c.name'),array('type_name'))); - $query->from('#__componentbuilder_field AS a'); - $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'c') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('c.id') . ')'); - $query->where($db->quoteName('a.id') . ' = '. $db->quote($id)); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Load the results as a list of stdClass objects (see later for more options on retrieving data). - $field = $db->loadObject(); - // load the values form params - $field->xml = json_decode($field->xml); - $field->type_name = ComponentbuilderHelper::safeString($field->type_name); - $load = true; - // if category then name must be catid (only one per view) - if ($field->type_name == 'category') - { - $name = 'catid'; - - } - // if tag is set then enable all tag options for this view (only one per view) - elseif ($field->type_name == 'tag') - { - $name = 'tags'; - } - // don't add spacers or notes - elseif ($field->type_name == 'spacer' || $field->type_name == 'note') - { - // make sure the name is unique - return false; - } - else - { - $name = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field->xml,'name="','"')); - } - - // use field core name only if not found in xml - if (!ComponentbuilderHelper::checkString($name)) - { - $name = ComponentbuilderHelper::safeString($field->name);; - } - return array('name' => $name, 'type' => $field->type_name); - } - return false; - } - - public function getDbTableColumns($tableName,$as,$type) - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__".$tableName); - if (ComponentbuilderHelper::checkArray($columns)) - { - // build the return string - $tableColumns = array(); - foreach ($columns as $column => $type) - { - $tableColumns[] = $as.".".$column . ' AS ' . $column; - } - return implode("\n",$tableColumns); - } - return false; - } - - // Used in field - public function getFieldOptions($id) - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('properties', 'short_description', 'description'))); - $query->from($db->quoteName('#__componentbuilder_fieldtype')); - $query->where($db->quoteName('published') . ' = 1'); - $query->where($db->quoteName('id') . ' = '. $id); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $result = $db->loadObject(); - $properties = json_decode($result->properties,true); - $pointer = 0; - $field = array('values' => "<field ", 'values_description' => '<ul>', 'short_description' => $result->short_description, 'description' => $result->description); - foreach ($properties['name'] as $line) - { - $field['values_description'] .= '<li><b>'.$properties['name'][$pointer].'</b> '.$properties['description'][$pointer].'</li>'; - $field['values'] .= "\n\t".$properties['name'][$pointer].'="'.$properties['example'][$pointer].'" '; - $pointer++; - } - $field['values'] .= "\n/>"; - $field['values_description'] .= '</ul>'; - // return found field options - return $field; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/compiler.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/compiler.php deleted file mode 100644 index 705a474e8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/compiler.php +++ /dev/null @@ -1,217 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage compiler.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -// include component compiler -require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/compiler.php'; - -/** - * Componentbuilder Model - */ -class ComponentbuilderModelCompiler extends JModelList -{ - protected $compiler; - - public function getComponents() - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - // Order it by the ordering field. - $query->select($db->quoteName(array('id', 'system_name'),array('id', 'name'))); - $query->from($db->quoteName('#__componentbuilder_component')); - $query->where($db->quoteName('published') . ' = 1'); - $query->order('ordering ASC'); - // Reset the query using our newly populated query object. - $db->setQuery($query); - // return the result - return $db->loadObjectList(); - } - - public function builder($version,$id,$backup,$git) - { - $set['joomlaVersion'] = $version; - $set['componentId'] = $id; - $set['addBackup'] = $backup; - $set['addGit'] = $git; - // start up Compiler - $this->compiler = new Compiler($set); - if($this->compiler){ - return true; - } - return false; - } - - public function getCount() - { - return array( - 'lines' => $this->compiler->lineCount, - 'files' => $this->compiler->fileCount, - 'folders' => $this->compiler->folderCount, - 'filePath' => $this->compiler->filepath, - 'filename' => $this->compiler->componentFolderName - ); - } - - public function emptyFolder($dir, $removeDir = false) - { - jimport('joomla.filesystem.folder'); - jimport('joomla.filesystem.file'); - - if (JFolder::exists($dir)) - { - $it = new RecursiveDirectoryIterator($dir); - $it = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); - foreach ($it as $file) - { - if ('.' === $file->getBasename() || '..' === $file->getBasename()) continue; - if ($file->isDir()) - { - JFolder::delete($file->getPathname()); - } - else - { - if ($file->getBasename() !== 'index.html') - { - JFile::delete($file->getPathname()); - } - } - } - if ($removeDir) - { - if (JFolder::delete($dir)) - { - return true; - } - } - else - { - return true; - } - } - return false; - } - - public function install($p_file) - { - // Set FTP credentials, if given. - JClientHelper::setCredentialsFromRequest('ftp'); - $app = JFactory::getApplication(); - - // Load installer plugins for assistance if required: - JPluginHelper::importPlugin('installer'); - $dispatcher = JEventDispatcher::getInstance(); - - $package = null; - - // This event allows an input pre-treatment, a custom pre-packing or custom installation. - // (e.g. from a JSON description). - $results = $dispatcher->trigger('onInstallerBeforeInstallation', array($this, &$package)); - - if (in_array(true, $results, true)) - { - return true; - } - elseif (in_array(false, $results, true)) - { - return false; - } - - $config = JFactory::getConfig(); - $tmp_dest = $config->get('tmp_path'); - - // Unpack the downloaded package file. - $package = JInstallerHelper::unpack($tmp_dest . '/' . $p_file, true); - // insure the install type is folder - $installType = 'folder'; - // This event allows a custom installation of the package or a customization of the package: - $results = $dispatcher->trigger('onInstallerBeforeInstaller', array($this, &$package)); - - if (in_array(true, $results, true)) - { - return true; - } - elseif (in_array(false, $results, true)) - { - return false; - } - - // Was the package unpacked? - if (!$package || !$package['type']) - { - $app->enqueueMessage(JText::_('COM_INSTALLER_UNABLE_TO_FIND_INSTALL_PACKAGE'), 'error'); - return false; - } - - // Get an installer instance. - $installer = JInstaller::getInstance(); - - // Install the package. - if (!$installer->install($package['dir'])) - { - // There was an error installing the package. - $msg = JText::sprintf('COM_INSTALLER_INSTALL_ERROR', JText::_('COM_INSTALLER_TYPE_TYPE_' . strtoupper($package['type']))); - $result = false; - $msgType = 'error'; - } - else - { - // Package installed sucessfully. - $msg = JText::sprintf('COM_INSTALLER_INSTALL_SUCCESS', JText::_('COM_INSTALLER_TYPE_TYPE_' . strtoupper($package['type']))); - $result = true; - $msgType = 'message'; - } - - // This event allows a custom a post-flight: - $dispatcher->trigger('onInstallerAfterInstaller', array($this, &$package, $installer, &$result, &$msg)); - - // Set some model state values. - $app = JFactory::getApplication(); - $app->enqueueMessage($msg, $msgType); - $this->setState('name', $installer->get('name')); - $this->setState('result', $result); - $app->setUserState('com_componentbuilder.message', $installer->message); - $app->setUserState('com_componentbuilder.extension_message', $installer->get('extension_message')); - $app->setUserState('com_componentbuilder.redirect_url', $installer->get('redirect_url')); - - // Cleanup the install files. - if (!is_file($package['packagefile'])) - { - $config = JFactory::getConfig(); - $package['packagefile'] = $config->get('tmp_path') . '/' . $package['packagefile']; - } - - JInstallerHelper::cleanupInstall($package['packagefile'], $package['extractdir']); - - return $result; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/component.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/component.php deleted file mode 100644 index 8dff818bc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/component.php +++ /dev/null @@ -1,1194 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage component.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Component Model - */ -class ComponentbuilderModelComponent extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.component'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'component', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->php_site_event)) - { - // base64 Decode php_site_event. - $item->php_site_event = base64_decode($item->php_site_event); - } - - if (!empty($item->css)) - { - // base64 Decode css. - $item->css = base64_decode($item->css); - } - - if (!empty($item->php_admin_event)) - { - // base64 Decode php_admin_event. - $item->php_admin_event = base64_decode($item->php_admin_event); - } - - if (!empty($item->php_dashboard_methods)) - { - // base64 Decode php_dashboard_methods. - $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods); - } - - if (!empty($item->php_helper_admin)) - { - // base64 Decode php_helper_admin. - $item->php_helper_admin = base64_decode($item->php_helper_admin); - } - - if (!empty($item->php_helper_site)) - { - // base64 Decode php_helper_site. - $item->php_helper_site = base64_decode($item->php_helper_site); - } - - if (!empty($item->sql)) - { - // base64 Decode sql. - $item->sql = base64_decode($item->sql); - } - - if (!empty($item->readme)) - { - // base64 Decode readme. - $item->readme = base64_decode($item->readme); - } - - // Get the basic encription. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - - if (!empty($item->update_server_ftp) && $basickey && !is_numeric($item->update_server_ftp) && $item->update_server_ftp === base64_encode(base64_decode($item->update_server_ftp, true))) - { - // basic decript data update_server_ftp. - $item->update_server_ftp = rtrim($basic->decryptString($item->update_server_ftp), "\0"); - } - - if (!empty($item->whmcs_key) && $basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true))) - { - // basic decript data whmcs_key. - $item->whmcs_key = rtrim($basic->decryptString($item->whmcs_key), "\0"); - } - - if (!empty($item->sales_server_ftp) && $basickey && !is_numeric($item->sales_server_ftp) && $item->sales_server_ftp === base64_encode(base64_decode($item->sales_server_ftp, true))) - { - // basic decript data sales_server_ftp. - $item->sales_server_ftp = rtrim($basic->decryptString($item->sales_server_ftp), "\0"); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.component'); - } - } - $this->iddrjs = $item->addadmin_views; - $this->idezco = $item->addsite_views; - - return $item; - } - - /** - * Method to get list data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getLugadmin_views() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_admin_view table - $query->from($db->quoteName('#__componentbuilder_admin_view', 'a')); - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('admin_view.access', 'com_componentbuilder.admin_view.' . (int) $item->id) && $user->authorise('admin_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // Filter by id Repetable Field - $iddrjs = json_decode($this->iddrjs,true); - if (ComponentbuilderHelper::checkArray($items) && isset($iddrjs) && ComponentbuilderHelper::checkArray($iddrjs)) - { - foreach ($items as $nr => &$item) - { - if ($item->id && isset($iddrjs['adminview']) && ComponentbuilderHelper::checkArray($iddrjs['adminview'])) - { - if (!in_array($item->id,$iddrjs['adminview'])) - { - unset($items[$nr]); - continue; - } - } - } - } - else - { - return false; - } - return $items; - } - return false; - } - - /** - * Method to get list data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getNzfsite_views() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_site_view table - $query->from($db->quoteName('#__componentbuilder_site_view', 'a')); - - // From the componentbuilder_snippet table. - $query->select($db->quoteName('g.name','snippet_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_snippet', 'g') . ' ON (' . $db->quoteName('a.snippet') . ' = ' . $db->quoteName('g.id') . ')'); - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('site_view.access', 'com_componentbuilder.site_view.' . (int) $item->id) && $user->authorise('site_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // Filter by id Repetable Field - $idezco = json_decode($this->idezco,true); - if (ComponentbuilderHelper::checkArray($items) && isset($idezco) && ComponentbuilderHelper::checkArray($idezco)) - { - foreach ($items as $nr => &$item) - { - if ($item->id && isset($idezco['siteview']) && ComponentbuilderHelper::checkArray($idezco['siteview'])) - { - if (!in_array($item->id,$idezco['siteview'])) - { - unset($items[$nr]); - continue; - } - } - } - } - else - { - return false; - } - return $items; - } - return false; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.component', 'component', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('core.edit.state', 'com_componentbuilder.component.' . (int) $id)) - || ($id == 0 && !$user->authorise('core.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/component.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('core.delete', 'com_componentbuilder.component.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit.state', 'com_componentbuilder.component.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return parent::canEditState($record); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - - return JFactory::getUser()->authorise('core.edit', 'com_componentbuilder.component.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or parent::allowEdit($data, $key); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_component')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.component.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('component'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('component'); - } - - if (!$this->canDo->get('core.create') || !$this->canDo->get('core.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('core.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - $this->table->name = $this->generateUniqe('name',$this->table->name); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('component'); - } - - if (!$this->canDo->get('core.edit') && !$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('core.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the php_site_event string to base64 string. - if (isset($data['php_site_event'])) - { - $data['php_site_event'] = base64_encode($data['php_site_event']); - } - - // Set the css string to base64 string. - if (isset($data['css'])) - { - $data['css'] = base64_encode($data['css']); - } - - // Set the php_admin_event string to base64 string. - if (isset($data['php_admin_event'])) - { - $data['php_admin_event'] = base64_encode($data['php_admin_event']); - } - - // Set the php_dashboard_methods string to base64 string. - if (isset($data['php_dashboard_methods'])) - { - $data['php_dashboard_methods'] = base64_encode($data['php_dashboard_methods']); - } - - // Set the php_helper_admin string to base64 string. - if (isset($data['php_helper_admin'])) - { - $data['php_helper_admin'] = base64_encode($data['php_helper_admin']); - } - - // Set the php_helper_site string to base64 string. - if (isset($data['php_helper_site'])) - { - $data['php_helper_site'] = base64_encode($data['php_helper_site']); - } - - // Set the sql string to base64 string. - if (isset($data['sql'])) - { - $data['sql'] = base64_encode($data['sql']); - } - - // Set the readme string to base64 string. - if (isset($data['readme'])) - { - $data['readme'] = base64_encode($data['readme']); - } - - // Get the basic encription key. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object - $basic = new FOFEncryptAes($basickey, 128); - - // Encript data update_server_ftp. - if (isset($data['update_server_ftp']) && $basickey) - { - $data['update_server_ftp'] = $basic->encryptString($data['update_server_ftp']); - } - - // Encript data whmcs_key. - if (isset($data['whmcs_key']) && $basickey) - { - $data['whmcs_key'] = $basic->encryptString($data['whmcs_key']); - } - - // Encript data sales_server_ftp. - if (isset($data['sales_server_ftp']) && $basickey) - { - $data['sales_server_ftp'] = $basic->encryptString($data['sales_server_ftp']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($title) - { - - // Alter the title - $table = $this->getTable(); - - while ($table->load(array('title' => $title))) - { - $title = JString::increment($title); - } - - return $title; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/componentbuilder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/componentbuilder.php deleted file mode 100644 index 6ea0f4727..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/componentbuilder.php +++ /dev/null @@ -1,264 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); -jimport('joomla.application.component.helper'); - -/** - * Componentbuilder Model - */ -class ComponentbuilderModelComponentbuilder extends JModelList -{ - public function getIcons() - { - // load user for access menus - $user = JFactory::getUser(); - // reset icon array - $icons = array(); - // view groups array - $viewGroups = array( - 'main' => array('png.compiler', 'png.component.add', 'png.components', 'png.admin_view.add', 'png.admin_views', 'png.custom_admin_view.add', 'png.custom_admin_views', 'png.site_view.add', 'png.site_views', 'png.template.add', 'png.templates', 'png.layout.add', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.snippet.add', 'png.snippets', 'png.field.add', 'png.fields', 'png.fields.catid', 'png.fieldtype.add', 'png.fieldtypes', 'png.fieldtypes.catid', 'png.help_document.add', 'png.help_documents') - ); - // view access array - $viewAccess = array( - 'admin_views.access' => 'admin_view.access', - 'admin_view.access' => 'admin_view.access', - 'admin_views.submenu' => 'admin_view.submenu', - 'admin_views.dashboard_list' => 'admin_view.dashboard_list', - 'admin_view.dashboard_add' => 'admin_view.dashboard_add', - 'custom_admin_views.access' => 'custom_admin_view.access', - 'custom_admin_view.access' => 'custom_admin_view.access', - 'custom_admin_views.submenu' => 'custom_admin_view.submenu', - 'custom_admin_views.dashboard_list' => 'custom_admin_view.dashboard_list', - 'custom_admin_view.dashboard_add' => 'custom_admin_view.dashboard_add', - 'site_views.access' => 'site_view.access', - 'site_view.access' => 'site_view.access', - 'site_views.submenu' => 'site_view.submenu', - 'site_views.dashboard_list' => 'site_view.dashboard_list', - 'site_view.dashboard_add' => 'site_view.dashboard_add', - 'templates.access' => 'template.access', - 'template.access' => 'template.access', - 'templates.submenu' => 'template.submenu', - 'templates.dashboard_list' => 'template.dashboard_list', - 'template.dashboard_add' => 'template.dashboard_add', - 'layouts.access' => 'layout.access', - 'layout.access' => 'layout.access', - 'layouts.submenu' => 'layout.submenu', - 'layouts.dashboard_list' => 'layout.dashboard_list', - 'layout.dashboard_add' => 'layout.dashboard_add', - 'dynamic_get.create' => 'dynamic_get.create', - 'dynamic_gets.access' => 'dynamic_get.access', - 'dynamic_get.access' => 'dynamic_get.access', - 'dynamic_gets.submenu' => 'dynamic_get.submenu', - 'dynamic_gets.dashboard_list' => 'dynamic_get.dashboard_list', - 'dynamic_get.dashboard_add' => 'dynamic_get.dashboard_add', - 'snippets.access' => 'snippet.access', - 'snippet.access' => 'snippet.access', - 'snippets.submenu' => 'snippet.submenu', - 'snippets.dashboard_list' => 'snippet.dashboard_list', - 'snippet.dashboard_add' => 'snippet.dashboard_add', - 'field.create' => 'field.create', - 'fields.access' => 'field.access', - 'field.access' => 'field.access', - 'fields.submenu' => 'field.submenu', - 'fields.dashboard_list' => 'field.dashboard_list', - 'field.dashboard_add' => 'field.dashboard_add', - 'fieldtype.create' => 'fieldtype.create', - 'fieldtypes.access' => 'fieldtype.access', - 'fieldtype.access' => 'fieldtype.access', - 'fieldtypes.submenu' => 'fieldtype.submenu', - 'fieldtypes.dashboard_list' => 'fieldtype.dashboard_list', - 'fieldtype.dashboard_add' => 'fieldtype.dashboard_add', - 'help_document.create' => 'help_document.create', - 'help_documents.access' => 'help_document.access', - 'help_document.access' => 'help_document.access', - 'help_documents.submenu' => 'help_document.submenu', - 'help_documents.dashboard_list' => 'help_document.dashboard_list', - 'help_document.dashboard_add' => 'help_document.dashboard_add'); - foreach($viewGroups as $group => $views) - { - $i = 0; - if (ComponentbuilderHelper::checkArray($views)) - { - foreach($views as $view) - { - $add = false; - if (strpos($view,'.') !== false) - { - $dwd = explode('.', $view); - if (count($dwd) == 3) - { - list($type, $name, $action) = $dwd; - } - elseif (count($dwd) == 2) - { - list($type, $name) = $dwd; - $action = false; - } - if ($action) - { - $viewName = $name; - switch($action) - { - case 'add': - $url ='index.php?option=com_componentbuilder&view='.$name.'&layout=edit'; - $image = $name.'_'.$action.'.'.$type; - $alt = $name.'&nbsp;'.$action; - $name = 'COM_COMPONENTBUILDER_DASHBOARD_'.ComponentbuilderHelper::safeString($name,'U').'_ADD'; - $add = true; - break; - default: - $url = 'index.php?option=com_categories&view=categories&extension=com_componentbuilder.'.$name; - $image = $name.'_'.$action.'.'.$type; - $alt = $name.'&nbsp;'.$action; - $name = 'COM_COMPONENTBUILDER_DASHBOARD_'.ComponentbuilderHelper::safeString($name,'U').'_'.ComponentbuilderHelper::safeString($action,'U'); - break; - } - } - else - { - $viewName = $name; - $alt = $name; - $url = 'index.php?option=com_componentbuilder&view='.$name; - $image = $name.'.'.$type; - $name = 'COM_COMPONENTBUILDER_DASHBOARD_'.ComponentbuilderHelper::safeString($name,'U'); - $hover = false; - } - } - else - { - $viewName = $view; - $alt = $view; - $url = 'index.php?option=com_componentbuilder&view='.$view; - $image = $view.'.png'; - $name = ucwords($view).'<br /><br />'; - $hover = false; - } - // first make sure the view access is set - if (ComponentbuilderHelper::checkArray($viewAccess)) - { - // setup some defaults - $dashboard_add = false; - $dashboard_list = false; - $accessTo = ''; - $accessAdd = ''; - // acces checking start - $accessCreate = (isset($viewAccess[$viewName.'.create'])) ? ComponentbuilderHelper::checkString($viewAccess[$viewName.'.create']):false; - $accessAccess = (isset($viewAccess[$viewName.'.access'])) ? ComponentbuilderHelper::checkString($viewAccess[$viewName.'.access']):false; - // set main controllers - $accessDashboard_add = (isset($viewAccess[$viewName.'.dashboard_add'])) ? ComponentbuilderHelper::checkString($viewAccess[$viewName.'.dashboard_add']):false; - $accessDashboard_list = (isset($viewAccess[$viewName.'.dashboard_list'])) ? ComponentbuilderHelper::checkString($viewAccess[$viewName.'.dashboard_list']):false; - // check for adding access - if ($add && $accessCreate) - { - $accessAdd = $viewAccess[$viewName.'.create']; - } - elseif ($add) - { - $accessAdd = 'core.create'; - } - // check if acces to view is set - if ($accessAccess) - { - $accessTo = $viewAccess[$viewName.'.access']; - } - // set main access controllers - if ($accessDashboard_add) - { - $dashboard_add = $user->authorise($viewAccess[$viewName.'.dashboard_add'], 'com_componentbuilder'); - } - if ($accessDashboard_list) - { - $dashboard_list = $user->authorise($viewAccess[$viewName.'.dashboard_list'], 'com_componentbuilder'); - } - if (ComponentbuilderHelper::checkString($accessAdd) && ComponentbuilderHelper::checkString($accessTo)) - { - // check access - if($user->authorise($accessAdd, 'com_componentbuilder') && $user->authorise($accessTo, 'com_componentbuilder') && $dashboard_add) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - elseif (ComponentbuilderHelper::checkString($accessTo)) - { - // check access - if($user->authorise($accessTo, 'com_componentbuilder') && $dashboard_list) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - elseif (ComponentbuilderHelper::checkString($accessAdd)) - { - // check access - if($user->authorise($accessAdd, 'com_componentbuilder') && $dashboard_add) - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - else - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - } - else - { - $icons[$group][$i] = new StdClass; - $icons[$group][$i]->url = $url; - $icons[$group][$i]->name = $name; - $icons[$group][$i]->image = $image; - $icons[$group][$i]->alt = $alt; - } - $i++; - } - } - else - { - $icons[$group][$i] = false; - } - } - return $icons; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/components.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/components.php deleted file mode 100644 index 3e42f7404..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/components.php +++ /dev/null @@ -1,414 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage components.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Components Model - */ -class ComponentbuilderModelComponents extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.system_name','system_name', - 'a.name_code','name_code', - 'a.component_version','component_version', - 'a.short_description','short_description', - 'a.companyname','companyname', - 'a.author','author' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $system_name = $this->getUserStateFromRequest($this->context . '.filter.system_name', 'filter_system_name'); - $this->setState('filter.system_name', $system_name); - - $name_code = $this->getUserStateFromRequest($this->context . '.filter.name_code', 'filter_name_code'); - $this->setState('filter.name_code', $name_code); - - $component_version = $this->getUserStateFromRequest($this->context . '.filter.component_version', 'filter_component_version'); - $this->setState('filter.component_version', $component_version); - - $short_description = $this->getUserStateFromRequest($this->context . '.filter.short_description', 'filter_short_description'); - $this->setState('filter.short_description', $short_description); - - $companyname = $this->getUserStateFromRequest($this->context . '.filter.companyname', 'filter_companyname'); - $this->setState('filter.companyname', $companyname); - - $author = $this->getUserStateFromRequest($this->context . '.filter.author', 'filter_author'); - $this->setState('filter.author', $author); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // return items - return $items; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_component', 'a')); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.system_name LIKE '.$search.' OR a.name_code LIKE '.$search.' OR a.short_description LIKE '.$search.' OR a.companyname LIKE '.$search.' OR a.author LIKE '.$search.' OR a.name LIKE '.$search.')'); - } - } - - // Filter by Companyname. - if ($companyname = $this->getState('filter.companyname')) - { - $query->where('a.companyname = ' . $db->quote($db->escape($companyname, true))); - } - // Filter by Author. - if ($author = $this->getState('filter.author')) - { - $query->where('a.author = ' . $db->quote($db->escape($author, true))); - } - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_component table - $query->from($db->quoteName('#__componentbuilder_component', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // Get the basic encription key. - $basickey = ComponentbuilderHelper::getCryptKey('basic'); - // Get the encription object. - $basic = new FOFEncryptAes($basickey, 128); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - // decode php_site_event - $item->php_site_event = base64_decode($item->php_site_event); - // decode css - $item->css = base64_decode($item->css); - // decode php_admin_event - $item->php_admin_event = base64_decode($item->php_admin_event); - if ($basickey && !is_numeric($item->update_server_ftp) && $item->update_server_ftp === base64_encode(base64_decode($item->update_server_ftp, true))) - { - // decrypt update_server_ftp - $item->update_server_ftp = $basic->decryptString($item->update_server_ftp); - } - // decode php_dashboard_methods - $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods); - // decode php_helper_admin - $item->php_helper_admin = base64_decode($item->php_helper_admin); - // decode php_helper_site - $item->php_helper_site = base64_decode($item->php_helper_site); - // decode sql - $item->sql = base64_decode($item->sql); - if ($basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true))) - { - // decrypt whmcs_key - $item->whmcs_key = $basic->decryptString($item->whmcs_key); - } - // decode readme - $item->readme = base64_decode($item->readme); - if ($basickey && !is_numeric($item->sales_server_ftp) && $item->sales_server_ftp === base64_encode(base64_decode($item->sales_server_ftp, true))) - { - // decrypt sales_server_ftp - $item->sales_server_ftp = $basic->decryptString($item->sales_server_ftp); - } - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_component"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.system_name'); - $id .= ':' . $this->getState('filter.name_code'); - $id .= ':' . $this->getState('filter.component_version'); - $id .= ':' . $this->getState('filter.short_description'); - $id .= ':' . $this->getState('filter.companyname'); - $id .= ':' . $this->getState('filter.author'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_component')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_component'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/custom_admin_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/custom_admin_view.php deleted file mode 100644 index 026f4ccd3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/custom_admin_view.php +++ /dev/null @@ -1,1072 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_admin_view.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Custom_admin_view Model - */ -class ComponentbuilderModelCustom_admin_view extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.custom_admin_view'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'custom_admin_view', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->custom_get)) - { - // Convert the custom_get field to an array. - $custom_get = new Registry; - $custom_get->loadString($item->custom_get); - $item->custom_get = $custom_get->toArray(); - } - - if (!empty($item->php_view)) - { - // base64 Decode php_view. - $item->php_view = base64_decode($item->php_view); - } - - if (!empty($item->php_jview)) - { - // base64 Decode php_jview. - $item->php_jview = base64_decode($item->php_jview); - } - - if (!empty($item->css_document)) - { - // base64 Decode css_document. - $item->css_document = base64_decode($item->css_document); - } - - if (!empty($item->php_document)) - { - // base64 Decode php_document. - $item->php_document = base64_decode($item->php_document); - } - - if (!empty($item->php_jview_display)) - { - // base64 Decode php_jview_display. - $item->php_jview_display = base64_decode($item->php_jview_display); - } - - if (!empty($item->js_document)) - { - // base64 Decode js_document. - $item->js_document = base64_decode($item->js_document); - } - - if (!empty($item->php_model)) - { - // base64 Decode php_model. - $item->php_model = base64_decode($item->php_model); - } - - if (!empty($item->css)) - { - // base64 Decode css. - $item->css = base64_decode($item->css); - } - - if (!empty($item->default)) - { - // base64 Decode default. - $item->default = base64_decode($item->default); - } - - if (!empty($item->php_controller)) - { - // base64 Decode php_controller. - $item->php_controller = base64_decode($item->php_controller); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.custom_admin_view'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.custom_admin_view', 'custom_admin_view', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('core.edit.state', 'com_componentbuilder.custom_admin_view.' . (int) $id)) - || ($id == 0 && !$user->authorise('core.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/custom_admin_view.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('core.delete', 'com_componentbuilder.custom_admin_view.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit.state', 'com_componentbuilder.custom_admin_view.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return parent::canEditState($record); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('core.edit', 'com_componentbuilder.custom_admin_view.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('core.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_custom_admin_view')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.custom_admin_view.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('custom_admin_view'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('custom_admin_view'); - } - - if (!$this->canDo->get('core.create') || !$this->canDo->get('core.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('core.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - list($this->table->name, $this->table->alias) = $this->_generateNewTitle($this->table->alias, $this->table->name); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('custom_admin_view'); - } - - if (!$this->canDo->get('core.edit') && !$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('core.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the custom_get items to data. - if (isset($data['custom_get']) && is_array($data['custom_get'])) - { - $custom_get = new JRegistry; - $custom_get->loadArray($data['custom_get']); - $data['custom_get'] = (string) $custom_get; - } - elseif (!isset($data['custom_get'])) - { - // Set the empty custom_get to data - $data['custom_get'] = ''; - } - - // Set the php_view string to base64 string. - if (isset($data['php_view'])) - { - $data['php_view'] = base64_encode($data['php_view']); - } - - // Set the php_jview string to base64 string. - if (isset($data['php_jview'])) - { - $data['php_jview'] = base64_encode($data['php_jview']); - } - - // Set the css_document string to base64 string. - if (isset($data['css_document'])) - { - $data['css_document'] = base64_encode($data['css_document']); - } - - // Set the php_document string to base64 string. - if (isset($data['php_document'])) - { - $data['php_document'] = base64_encode($data['php_document']); - } - - // Set the php_jview_display string to base64 string. - if (isset($data['php_jview_display'])) - { - $data['php_jview_display'] = base64_encode($data['php_jview_display']); - } - - // Set the js_document string to base64 string. - if (isset($data['js_document'])) - { - $data['js_document'] = base64_encode($data['js_document']); - } - - // Set the php_model string to base64 string. - if (isset($data['php_model'])) - { - $data['php_model'] = base64_encode($data['php_model']); - } - - // Set the css string to base64 string. - if (isset($data['css'])) - { - $data['css'] = base64_encode($data['css']); - } - - // Set the default string to base64 string. - if (isset($data['default'])) - { - $data['default'] = base64_encode($data['default']); - } - - // Set the php_controller string to base64 string. - if (isset($data['php_controller'])) - { - $data['php_controller'] = base64_encode($data['php_controller']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the name for save as copy - if ($input->get('task') == 'save2copy') - { - $origTable = clone $this->getTable(); - $origTable->load($input->getInt('id')); - - if ($data['name'] == $origTable->name) - { - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['name'] = $name; - $data['alias'] = $alias; - } - else - { - if ($data['alias'] == $origTable->alias) - { - $data['alias'] = ''; - } - } - - $data['published'] = 0; - } - - // Automatic handling of alias for empty fields - if (in_array($input->get('task'), array('apply', 'save', 'save2new')) && (int) $input->get('id') == 0) - { - if ($data['alias'] == null) - { - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $data['alias'] = JFilterOutput::stringURLUnicodeSlug($data['name']); - } - else - { - $data['alias'] = JFilterOutput::stringURLSafe($data['name']); - } - - $table = JTable::getInstance('custom_admin_view', 'componentbuilderTable'); - - if ($table->load(array('alias' => $data['alias'])) && ($table->id != $data['id'] || $data['id'] == 0)) - { - $msg = JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SAVE_WARNING'); - } - - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['alias'] = $alias; - - if (isset($msg)) - { - JFactory::getApplication()->enqueueMessage($msg, 'warning'); - } - } - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $alias The alias. - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($alias, $title) - { - - // Alter the title & alias - $table = $this->getTable(); - - while ($table->load(array('alias' => $alias))) - { - $title = JString::increment($title); - $alias = JString::increment($alias, 'dash'); - } - - return array($title, $alias); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/custom_admin_views.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/custom_admin_views.php deleted file mode 100644 index c492f80ab..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/custom_admin_views.php +++ /dev/null @@ -1,408 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_admin_views.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Custom_admin_views Model - */ -class ComponentbuilderModelCustom_admin_views extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.system_name','system_name', - 'a.name','name', - 'a.alias','alias', - 'a.description','description' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $system_name = $this->getUserStateFromRequest($this->context . '.filter.system_name', 'filter_system_name'); - $this->setState('filter.system_name', $system_name); - - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $alias = $this->getUserStateFromRequest($this->context . '.filter.alias', 'filter_alias'); - $this->setState('filter.alias', $alias); - - $description = $this->getUserStateFromRequest($this->context . '.filter.description', 'filter_description'); - $this->setState('filter.description', $description); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('custom_admin_view.access', 'com_componentbuilder.custom_admin_view.' . (int) $item->id) && $user->authorise('custom_admin_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // return items - return $items; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_custom_admin_view', 'a')); - - // From the componentbuilder_snippet table. - $query->select($db->quoteName('g.name','snippet_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_snippet', 'g') . ' ON (' . $db->quoteName('a.snippet') . ' = ' . $db->quoteName('g.id') . ')'); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.system_name LIKE '.$search.' OR a.name LIKE '.$search.' OR a.alias LIKE '.$search.' OR a.description LIKE '.$search.')'); - } - } - - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_custom_admin_view table - $query->from($db->quoteName('#__componentbuilder_custom_admin_view', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('custom_admin_view.access', 'com_componentbuilder.custom_admin_view.' . (int) $item->id) && $user->authorise('custom_admin_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode php_view - $item->php_view = base64_decode($item->php_view); - // decode php_jview - $item->php_jview = base64_decode($item->php_jview); - // decode css_document - $item->css_document = base64_decode($item->css_document); - // decode php_document - $item->php_document = base64_decode($item->php_document); - // decode php_jview_display - $item->php_jview_display = base64_decode($item->php_jview_display); - // decode js_document - $item->js_document = base64_decode($item->js_document); - // decode php_model - $item->php_model = base64_decode($item->php_model); - // decode css - $item->css = base64_decode($item->css); - // decode default - $item->default = base64_decode($item->default); - // decode php_controller - $item->php_controller = base64_decode($item->php_controller); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_custom_admin_view"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.system_name'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.alias'); - $id .= ':' . $this->getState('filter.description'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_custom_admin_view')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_custom_admin_view'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/dynamic_get.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/dynamic_get.php deleted file mode 100644 index 50efc756f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/dynamic_get.php +++ /dev/null @@ -1,959 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dynamic_get.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Dynamic_get Model - */ -class ComponentbuilderModelDynamic_get extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.dynamic_get'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'dynamic_get', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->php_after_getitem)) - { - // base64 Decode php_after_getitem. - $item->php_after_getitem = base64_decode($item->php_after_getitem); - } - - if (!empty($item->php_before_getitems)) - { - // base64 Decode php_before_getitems. - $item->php_before_getitems = base64_decode($item->php_before_getitems); - } - - if (!empty($item->php_before_getitem)) - { - // base64 Decode php_before_getitem. - $item->php_before_getitem = base64_decode($item->php_before_getitem); - } - - if (!empty($item->php_getlistquery)) - { - // base64 Decode php_getlistquery. - $item->php_getlistquery = base64_decode($item->php_getlistquery); - } - - if (!empty($item->php_after_getitems)) - { - // base64 Decode php_after_getitems. - $item->php_after_getitems = base64_decode($item->php_after_getitems); - } - - if (!empty($item->php_calculation)) - { - // base64 Decode php_calculation. - $item->php_calculation = base64_decode($item->php_calculation); - } - - if (!empty($item->php_custom_get)) - { - // base64 Decode php_custom_get. - $item->php_custom_get = base64_decode($item->php_custom_get); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.dynamic_get'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.dynamic_get', 'dynamic_get', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('dynamic_get.edit.state', 'com_componentbuilder.dynamic_get.' . (int) $id)) - || ($id == 0 && !$user->authorise('dynamic_get.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/dynamic_get.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('dynamic_get.delete', 'com_componentbuilder.dynamic_get.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('dynamic_get.edit.state', 'com_componentbuilder.dynamic_get.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return $user->authorise('dynamic_get.edit.state', 'com_componentbuilder'); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('dynamic_get.edit', 'com_componentbuilder.dynamic_get.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('dynamic_get.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_dynamic_get')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.dynamic_get.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('dynamic_get'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('dynamic_get'); - } - - if (!$this->canDo->get('dynamic_get.create') && !$this->canDo->get('dynamic_get.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('dynamic_get.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('dynamic_get.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - $this->table->name = $this->generateUniqe('name',$this->table->name); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('dynamic_get'); - } - - if (!$this->canDo->get('dynamic_get.edit') && !$this->canDo->get('dynamic_get.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('dynamic_get.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('dynamic_get.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the php_after_getitem string to base64 string. - if (isset($data['php_after_getitem'])) - { - $data['php_after_getitem'] = base64_encode($data['php_after_getitem']); - } - - // Set the php_before_getitems string to base64 string. - if (isset($data['php_before_getitems'])) - { - $data['php_before_getitems'] = base64_encode($data['php_before_getitems']); - } - - // Set the php_before_getitem string to base64 string. - if (isset($data['php_before_getitem'])) - { - $data['php_before_getitem'] = base64_encode($data['php_before_getitem']); - } - - // Set the php_getlistquery string to base64 string. - if (isset($data['php_getlistquery'])) - { - $data['php_getlistquery'] = base64_encode($data['php_getlistquery']); - } - - // Set the php_after_getitems string to base64 string. - if (isset($data['php_after_getitems'])) - { - $data['php_after_getitems'] = base64_encode($data['php_after_getitems']); - } - - // Set the php_calculation string to base64 string. - if (isset($data['php_calculation'])) - { - $data['php_calculation'] = base64_encode($data['php_calculation']); - } - - // Set the php_custom_get string to base64 string. - if (isset($data['php_custom_get'])) - { - $data['php_custom_get'] = base64_encode($data['php_custom_get']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($title) - { - - // Alter the title - $table = $this->getTable(); - - while ($table->load(array('title' => $title))) - { - $title = JString::increment($title); - } - - return $title; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/dynamic_gets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/dynamic_gets.php deleted file mode 100644 index 17958f528..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/dynamic_gets.php +++ /dev/null @@ -1,456 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dynamic_gets.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Dynamic_gets Model - */ -class ComponentbuilderModelDynamic_gets extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.name','name', - 'a.main_source','main_source', - 'a.gettype','gettype' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $main_source = $this->getUserStateFromRequest($this->context . '.filter.main_source', 'filter_main_source'); - $this->setState('filter.main_source', $main_source); - - $gettype = $this->getUserStateFromRequest($this->context . '.filter.gettype', 'filter_gettype'); - $this->setState('filter.gettype', $gettype); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('dynamic_get.access', 'com_componentbuilder.dynamic_get.' . (int) $item->id) && $user->authorise('dynamic_get.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // set selection value to a translatable value - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - // convert main_source - $item->main_source = $this->selectionTranslation($item->main_source, 'main_source'); - // convert gettype - $item->gettype = $this->selectionTranslation($item->gettype, 'gettype'); - } - } - - - // return items - return $items; - } - - /** - * Method to convert selection values to translatable string. - * - * @return translatable string - */ - public function selectionTranslation($value,$name) - { - // Array of main_source language strings - if ($name == 'main_source') - { - $main_sourceArray = array( - 0 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_PLEASE_SELECT', - 1 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_BACKEND_VIEW', - 2 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_JOOMLA_DATABASE', - 3 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM' - ); - // Now check if value is found in this array - if (isset($main_sourceArray[$value]) && ComponentbuilderHelper::checkString($main_sourceArray[$value])) - { - return $main_sourceArray[$value]; - } - } - // Array of gettype language strings - if ($name == 'gettype') - { - $gettypeArray = array( - 1 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_GETITEM', - 2 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_GETLISTQUERY', - 3 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM', - 4 => 'COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOMS' - ); - // Now check if value is found in this array - if (isset($gettypeArray[$value]) && ComponentbuilderHelper::checkString($gettypeArray[$value])) - { - return $gettypeArray[$value]; - } - } - return $value; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.main_source LIKE '.$search.' OR a.gettype LIKE '.$search.')'); - } - } - - // Filter by Main_source. - if ($main_source = $this->getState('filter.main_source')) - { - $query->where('a.main_source = ' . $db->quote($db->escape($main_source, true))); - } - // Filter by Gettype. - if ($gettype = $this->getState('filter.gettype')) - { - $query->where('a.gettype = ' . $db->quote($db->escape($gettype, true))); - } - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_dynamic_get table - $query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('dynamic_get.access', 'com_componentbuilder.dynamic_get.' . (int) $item->id) && $user->authorise('dynamic_get.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode php_after_getitem - $item->php_after_getitem = base64_decode($item->php_after_getitem); - // decode php_before_getitems - $item->php_before_getitems = base64_decode($item->php_before_getitems); - // decode php_before_getitem - $item->php_before_getitem = base64_decode($item->php_before_getitem); - // decode php_getlistquery - $item->php_getlistquery = base64_decode($item->php_getlistquery); - // decode php_after_getitems - $item->php_after_getitems = base64_decode($item->php_after_getitems); - // decode php_calculation - $item->php_calculation = base64_decode($item->php_calculation); - // decode php_custom_get - $item->php_custom_get = base64_decode($item->php_custom_get); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_dynamic_get"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.main_source'); - $id .= ':' . $this->getState('filter.gettype'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_dynamic_get')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_dynamic_get'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/field.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/field.php deleted file mode 100644 index 641655616..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/field.php +++ /dev/null @@ -1,1004 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage field.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Field Model - */ -class ComponentbuilderModelField extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.field'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'field', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->xml)) - { - // JSON Decode xml. - $item->xml = json_decode($item->xml); - } - - if (!empty($item->css_view)) - { - // base64 Decode css_view. - $item->css_view = base64_decode($item->css_view); - } - - if (!empty($item->css_views)) - { - // base64 Decode css_views. - $item->css_views = base64_decode($item->css_views); - } - - if (!empty($item->javascript_view_footer)) - { - // base64 Decode javascript_view_footer. - $item->javascript_view_footer = base64_decode($item->javascript_view_footer); - } - - if (!empty($item->javascript_views_footer)) - { - // base64 Decode javascript_views_footer. - $item->javascript_views_footer = base64_decode($item->javascript_views_footer); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.field'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.field', 'field', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - // Determine correct permissions to check. - if ($this->getState('field.id')) - { - $id = $this->getState('field.id'); - - $catid = 0; - if (isset($this->getItem($id)->catid)) - { - // set catagory id - $catid = $this->getItem($id)->catid; - - // Existing record. Can only edit in selected categories. - $form->setFieldAttribute('catid', 'action', 'core.edit'); - - // Existing record. Can only edit own items in selected categories. - $form->setFieldAttribute('catid', 'action', 'core.edit.own'); - } - } - else - { - // New record. Can only create in selected categories. - $form->setFieldAttribute('catid', 'action', 'core.create'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('field.edit.state', 'com_componentbuilder.field.' . (int) $id)) - || (isset($catid) && $catid != 0 && !$user->authorise('core.edit.state', 'com_componentbuilder.fields.category.' . (int) $catid)) - || ($id == 0 && !$user->authorise('field.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/field.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - $allow = $user->authorise('core.delete', 'com_componentbuilder.fields.category.' . (int) $record->catid); - - if ($allow) - { - // The record has been set. Check the record permissions. - return $user->authorise('field.delete', 'com_componentbuilder.field.' . (int) $record->id); - } - return $allow; - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('field.edit.state', 'com_componentbuilder.field.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // Check against the category. - if (!empty($record->catid)) - { - $catpermission = $user->authorise('core.edit.state', 'com_componentbuilder.fields.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return $user->authorise('field.edit.state', 'com_componentbuilder'); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('field.edit', 'com_componentbuilder.field.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('field.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_field')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.field.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('field'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('field'); - } - - if (!$this->canDo->get('field.create') && !$this->canDo->get('field.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('field.edit.state')) - { - $values['published'] = 0; - } - - if (isset($values['category']) && (int) $values['category'] > 0 && !static::checkCategoryId($values['category'])) - { - return false; - } - elseif (isset($values['category']) && (int) $values['category'] > 0) - { - // move the category value to correct field name - $values['catid'] = $values['category']; - unset($values['category']); - } - elseif (isset($values['category'])) - { - unset($values['category']); - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('field.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('field'); - } - - if (!$this->canDo->get('field.edit') && !$this->canDo->get('field.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('field.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - if (isset($values['category']) && (int) $values['category'] > 0 && !static::checkCategoryId($values['category'])) - { - return false; - } - elseif (isset($values['category']) && (int) $values['category'] > 0) - { - // move the category value to correct field name - $values['catid'] = $values['category']; - unset($values['category']); - } - elseif (isset($values['category'])) - { - unset($values['category']); - } - - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('field.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the xml string to JSON string. - if (isset($data['xml'])) - { - $data['xml'] = (string) json_encode($data['xml']); - } - - // Set the css_view string to base64 string. - if (isset($data['css_view'])) - { - $data['css_view'] = base64_encode($data['css_view']); - } - - // Set the css_views string to base64 string. - if (isset($data['css_views'])) - { - $data['css_views'] = base64_encode($data['css_views']); - } - - // Set the javascript_view_footer string to base64 string. - if (isset($data['javascript_view_footer'])) - { - $data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']); - } - - // Set the javascript_views_footer string to base64 string. - if (isset($data['javascript_views_footer'])) - { - $data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($title) - { - - // Alter the title - $table = $this->getTable(); - - while ($table->load(array('title' => $title))) - { - $title = JString::increment($title); - } - - return $title; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields.php deleted file mode 100644 index ccd4f2344..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields.php +++ /dev/null @@ -1,564 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fields.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Fields Model - */ -class ComponentbuilderModelFields extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.name','name', - 'a.type','type', - 'a.datatype','datatype', - 'a.indexes','indexes', - 'a.null_switch','null_switch', - 'c.title','category_title', - 'c.id', 'category_id', - 'a.catid', 'catid', - 'a.store','store' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type'); - $this->setState('filter.type', $type); - - $datatype = $this->getUserStateFromRequest($this->context . '.filter.datatype', 'filter_datatype'); - $this->setState('filter.datatype', $datatype); - - $indexes = $this->getUserStateFromRequest($this->context . '.filter.indexes', 'filter_indexes'); - $this->setState('filter.indexes', $indexes); - - $null_switch = $this->getUserStateFromRequest($this->context . '.filter.null_switch', 'filter_null_switch'); - $this->setState('filter.null_switch', $null_switch); - - $category = $app->getUserStateFromRequest($this->context . '.filter.category', 'filter_category'); - $this->setState('filter.category', $category); - - $categoryId = $this->getUserStateFromRequest($this->context . '.filter.category_id', 'filter_category_id'); - $this->setState('filter.category_id', $categoryId); - - $catid = $app->getUserStateFromRequest($this->context . '.filter.catid', 'filter_catid'); - $this->setState('filter.catid', $catid); - - $store = $this->getUserStateFromRequest($this->context . '.filter.store', 'filter_store'); - $this->setState('filter.store', $store); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('field.access', 'com_componentbuilder.field.' . (int) $item->id) && $user->authorise('field.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // set selection value to a translatable value - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - // convert datatype - $item->datatype = $this->selectionTranslation($item->datatype, 'datatype'); - // convert indexes - $item->indexes = $this->selectionTranslation($item->indexes, 'indexes'); - // convert null_switch - $item->null_switch = $this->selectionTranslation($item->null_switch, 'null_switch'); - // convert store - $item->store = $this->selectionTranslation($item->store, 'store'); - } - } - - - // return items - return $items; - } - - /** - * Method to convert selection values to translatable string. - * - * @return translatable string - */ - public function selectionTranslation($value,$name) - { - // Array of datatype language strings - if ($name == 'datatype') - { - $datatypeArray = array( - 'CHAR' => 'COM_COMPONENTBUILDER_FIELD_CHAR', - 'VARCHAR' => 'COM_COMPONENTBUILDER_FIELD_VARCHAR', - 'TEXT' => 'COM_COMPONENTBUILDER_FIELD_TEXT', - 'MEDIUMTEXT' => 'COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT', - 'LONGTEXT' => 'COM_COMPONENTBUILDER_FIELD_LONGTEXT', - 'DATETIME' => 'COM_COMPONENTBUILDER_FIELD_DATETIME', - 'DATE' => 'COM_COMPONENTBUILDER_FIELD_DATE', - 'INT' => 'COM_COMPONENTBUILDER_FIELD_INT', - 'TINYINT' => 'COM_COMPONENTBUILDER_FIELD_TINYINT', - 'BIGINT' => 'COM_COMPONENTBUILDER_FIELD_BIGINT', - 'FLOAT' => 'COM_COMPONENTBUILDER_FIELD_FLOAT', - 'DECIMAL' => 'COM_COMPONENTBUILDER_FIELD_DECIMAL', - 'DOUBLE' => 'COM_COMPONENTBUILDER_FIELD_DOUBLE' - ); - // Now check if value is found in this array - if (isset($datatypeArray[$value]) && ComponentbuilderHelper::checkString($datatypeArray[$value])) - { - return $datatypeArray[$value]; - } - } - // Array of indexes language strings - if ($name == 'indexes') - { - $indexesArray = array( - 1 => 'COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY', - 2 => 'COM_COMPONENTBUILDER_FIELD_KEY', - 0 => 'COM_COMPONENTBUILDER_FIELD_NONE' - ); - // Now check if value is found in this array - if (isset($indexesArray[$value]) && ComponentbuilderHelper::checkString($indexesArray[$value])) - { - return $indexesArray[$value]; - } - } - // Array of null_switch language strings - if ($name == 'null_switch') - { - $null_switchArray = array( - 'NULL' => 'COM_COMPONENTBUILDER_FIELD_NULL', - 'NOT NULL' => 'COM_COMPONENTBUILDER_FIELD_NOT_NULL' - ); - // Now check if value is found in this array - if (isset($null_switchArray[$value]) && ComponentbuilderHelper::checkString($null_switchArray[$value])) - { - return $null_switchArray[$value]; - } - } - // Array of store language strings - if ($name == 'store') - { - $storeArray = array( - 0 => 'COM_COMPONENTBUILDER_FIELD_DEFAULT', - 1 => 'COM_COMPONENTBUILDER_FIELD_JSON', - 2 => 'COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR', - 3 => 'COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALKEY', - 4 => 'COM_COMPONENTBUILDER_FIELD_ADVANCE_ENCRYPTION_WHMCSKEY' - ); - // Now check if value is found in this array - if (isset($storeArray[$value]) && ComponentbuilderHelper::checkString($storeArray[$value])) - { - return $storeArray[$value]; - } - } - return $value; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - $query->select($db->quoteName('c.title','category_title')); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_field', 'a')); - $query->join('LEFT', $db->quoteName('#__categories', 'c') . ' ON (' . $db->quoteName('a.catid') . ' = ' . $db->quoteName('c.id') . ')'); - - // From the componentbuilder_fieldtype table. - $query->select($db->quoteName('g.name','type_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'g') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('g.id') . ')'); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.type LIKE '.$search.' OR g.name LIKE '.$search.' OR a.datatype LIKE '.$search.' OR a.indexes LIKE '.$search.' OR a.null_switch LIKE '.$search.' OR a.xml LIKE '.$search.' OR a.catid LIKE '.$search.' OR a.store LIKE '.$search.')'); - } - } - - // Filter by type. - if ($type = $this->getState('filter.type')) - { - $query->where('a.type = ' . $db->quote($db->escape($type, true))); - } - // Filter by Datatype. - if ($datatype = $this->getState('filter.datatype')) - { - $query->where('a.datatype = ' . $db->quote($db->escape($datatype, true))); - } - // Filter by Indexes. - if ($indexes = $this->getState('filter.indexes')) - { - $query->where('a.indexes = ' . $db->quote($db->escape($indexes, true))); - } - // Filter by Null_switch. - if ($null_switch = $this->getState('filter.null_switch')) - { - $query->where('a.null_switch = ' . $db->quote($db->escape($null_switch, true))); - } - // Filter by Store. - if ($store = $this->getState('filter.store')) - { - $query->where('a.store = ' . $db->quote($db->escape($store, true))); - } - - // Filter by a single or group of categories. - $baselevel = 1; - $categoryId = $this->getState('filter.category_id'); - - if (is_numeric($categoryId)) - { - $cat_tbl = JTable::getInstance('Category', 'JTable'); - $cat_tbl->load($categoryId); - $rgt = $cat_tbl->rgt; - $lft = $cat_tbl->lft; - $baselevel = (int) $cat_tbl->level; - $query->where('c.lft >= ' . (int) $lft) - ->where('c.rgt <= ' . (int) $rgt); - } - elseif (is_array($categoryId)) - { - JArrayHelper::toInteger($categoryId); - $categoryId = implode(',', $categoryId); - $query->where('a.category IN (' . $categoryId . ')'); - } - - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_field table - $query->from($db->quoteName('#__componentbuilder_field', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('field.access', 'com_componentbuilder.field.' . (int) $item->id) && $user->authorise('field.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode css_view - $item->css_view = base64_decode($item->css_view); - // decode css_views - $item->css_views = base64_decode($item->css_views); - // decode javascript_view_footer - $item->javascript_view_footer = base64_decode($item->javascript_view_footer); - // decode javascript_views_footer - $item->javascript_views_footer = base64_decode($item->javascript_views_footer); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_field"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.type'); - $id .= ':' . $this->getState('filter.datatype'); - $id .= ':' . $this->getState('filter.indexes'); - $id .= ':' . $this->getState('filter.null_switch'); - $id .= ':' . $this->getState('filter.category'); - $id .= ':' . $this->getState('filter.category_id'); - $id .= ':' . $this->getState('filter.catid'); - $id .= ':' . $this->getState('filter.store'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_field')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_field'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/adminviews.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/adminviews.php deleted file mode 100644 index a5a3f433b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/adminviews.php +++ /dev/null @@ -1,116 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage adminviews.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Adminviews Form Field class for the Componentbuilder component - */ -class JFormFieldAdminviews extends JFormFieldList -{ - /** - * The adminviews field type. - * - * @var string - */ - public $type = 'adminviews'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create admin_view - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=admin_view&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.system_name'),array('id','adminview_system_name'))); - $query->from($db->quoteName('#__componentbuilder_admin_view', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->order('a.system_name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->adminview_system_name); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/articles.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/articles.php deleted file mode 100644 index d6b6c8ed0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/articles.php +++ /dev/null @@ -1,116 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage articles.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Articles Form Field class for the Componentbuilder component - */ -class JFormFieldArticles extends JFormFieldList -{ - /** - * The articles field type. - * - * @var string - */ - public $type = 'articles'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create article - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=article&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.title','a.alias'),array('id','article_title','alias'))); - $query->from($db->quoteName('#__content', 'a')); - $query->where($db->quoteName('a.state') . ' = 1'); - $query->order('a.title ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an Article'); - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->article_title . ' (' . $item->alias . ')'); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customadminviews.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customadminviews.php deleted file mode 100644 index 4bdbe69e7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customadminviews.php +++ /dev/null @@ -1,115 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage customadminviews.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Customadminviews Form Field class for the Componentbuilder component - */ -class JFormFieldCustomadminviews extends JFormFieldList -{ - /** - * The customadminviews field type. - * - * @var string - */ - public $type = 'customadminviews'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create custom_admin_view - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=custom_admin_view&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.system_name'),array('id','customadminview_system_name'))); - $query->from($db->quoteName('#__componentbuilder_custom_admin_view', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->order('a.system_name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->customadminview_system_name); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customfilelist.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customfilelist.php deleted file mode 100644 index 5739092c6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customfilelist.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage customfilelist.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Customfilelist Form Field class for the Componentbuilder component - */ -class JFormFieldCustomfilelist extends JFormFieldList -{ - /** - * The customfilelist field type. - * - * @var string - */ - public $type = 'customfilelist'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - // get custom folder files - $localfolder = JComponentHelper::getParams('com_componentbuilder')->get('custom_folder_path', JPATH_COMPONENT_ADMINISTRATOR.'/custom'); - // set the default - $options[] = JHtml::_('select.option', '', JText::sprintf('Please add files to (%s)',$localfolder)); - // inport all needed classes - jimport('joomla.filesystem.file'); - jimport('joomla.filesystem.folder'); - // setup the folder if it does not exist - if (!JFolder::exists($localfolder)) - { - JFolder::create($localfolder); - } - // now check if there are files in the folder - if ($files = JFolder::files($localfolder)) - { - $options = array(); - foreach ($files as $file) - { - $options[] = JHtml::_('select.option', $file, $file); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customfolderlist.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customfolderlist.php deleted file mode 100644 index cb48ef268..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customfolderlist.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage customfolderlist.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Customfolderlist Form Field class for the Componentbuilder component - */ -class JFormFieldCustomfolderlist extends JFormFieldList -{ - /** - * The customfolderlist field type. - * - * @var string - */ - public $type = 'customfolderlist'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - // get custom folder folder - $localfolder = JComponentHelper::getParams('com_componentbuilder')->get('custom_folder_path', JPATH_COMPONENT_ADMINISTRATOR.'/custom'); - // set the default - $options[] = JHtml::_('select.option', '', JText::sprintf('Please add folders to (%s)',$localfolder)); - // import all needed classes - jimport('joomla.filesystem.file'); - jimport('joomla.filesystem.folder'); - // setup the folder if it does not exist - if (!JFolder::exists($localfolder)) - { - JFolder::create($localfolder); - } - // now check if there are files in the folder - if ($folders = JFolder::folders($localfolder)) - { - $options = array(); - foreach ($folders as $folder) - { - $options[] = JHtml::_('select.option', $folder, $folder); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customgets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customgets.php deleted file mode 100644 index f1f036140..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/customgets.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage customgets.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Customgets Form Field class for the Componentbuilder component - */ -class JFormFieldCustomgets extends JFormFieldList -{ - /** - * The customgets field type. - * - * @var string - */ - public $type = 'customgets'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create dynamic_get - if ($user->authorise('dynamic_get.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=dynamic_get&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','custom_get_name','type'))); - $query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->where('( '.$db->quoteName('a.gettype') . ' = 3 OR ' . $db->quoteName('a.gettype') . ' = 4 )'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $model = ComponentbuilderHelper::getModel('dynamic_gets'); - foreach($items as $item) - { - $type = $model->selectionTranslation($item->type,'gettype'); - $options[] = JHtml::_('select.option', $item->id, $item->custom_get_name . ' (' . JText::_($type) . ')' ); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/dbtables.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/dbtables.php deleted file mode 100644 index 4b3e738d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/dbtables.php +++ /dev/null @@ -1,116 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dbtables.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Dbtables Form Field class for the Componentbuilder component - */ -class JFormFieldDbtables extends JFormFieldList -{ - /** - * The dbtables field type. - * - * @var string - */ - public $type = 'dbtables'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $tables= $db->getTableList(); - $config = JFactory::getConfig(); - $options = array(); - $db = JFactory::getDBO(); $options[] = JHtml::_('select.option', '', 'Select an option'); - for ($i=0; $i < count($tables); $i++) - { - //only tables with primary key - $db->setQuery('SHOW FIELDS FROM `'.$tables[$i].'` WHERE LOWER( `Key` ) = \'pri\''); - if ($db->loadResult()) - { - $dbprefix = version_compare(JVERSION,'3.0','lt') ? $config->getValue('config.dbprefix') : $config->get('dbprefix'); $key = $i+1; - $options[$key] = new stdClass; - $options[$key]->value = str_replace($dbprefix, '', $tables[$i]); - $options[$key]->text = $tables[$i]; - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/dynamicgets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/dynamicgets.php deleted file mode 100644 index b2cb0f2f3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/dynamicgets.php +++ /dev/null @@ -1,117 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dynamicgets.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Dynamicgets Form Field class for the Componentbuilder component - */ -class JFormFieldDynamicgets extends JFormFieldList -{ - /** - * The dynamicgets field type. - * - * @var string - */ - public $type = 'dynamicgets'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create dynamic_get - if ($user->authorise('dynamic_get.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=dynamic_get&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','dynamic_get_name','type'))); - $query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); -$query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $model = ComponentbuilderHelper::getModel('dynamic_gets'); - foreach($items as $item) - { - $type = $model->selectionTranslation($item->type,'gettype'); - $options[] = JHtml::_('select.option', $item->id, $item->dynamic_get_name . ' (' . JText::_($type) . ')' ); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fields.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fields.php deleted file mode 100644 index ea4bf40b8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fields.php +++ /dev/null @@ -1,116 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fields.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Fields Form Field class for the Componentbuilder component - */ -class JFormFieldFields extends JFormFieldList -{ - /** - * The fields field type. - * - * @var string - */ - public $type = 'fields'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create field - if ($user->authorise('field.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=field&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name'),array('id','field_name'))); - $query->from($db->quoteName('#__componentbuilder_field', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->field_name); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fieldsmulti.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fieldsmulti.php deleted file mode 100644 index 6674c905a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fieldsmulti.php +++ /dev/null @@ -1,116 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldsmulti.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Fieldsmulti Form Field class for the Componentbuilder component - */ -class JFormFieldFieldsmulti extends JFormFieldList -{ - /** - * The fieldsmulti field type. - * - * @var string - */ - public $type = 'fieldsmulti'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create field - if ($user->authorise('field.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=field&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name'),array('id','target_field_name'))); - $query->from($db->quoteName('#__componentbuilder_field', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->target_field_name); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fieldtypes.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fieldtypes.php deleted file mode 100644 index 75909e2c0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/fieldtypes.php +++ /dev/null @@ -1,116 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldtypes.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Fieldtypes Form Field class for the Componentbuilder component - */ -class JFormFieldFieldtypes extends JFormFieldList -{ - /** - * The fieldtypes field type. - * - * @var string - */ - public $type = 'fieldtypes'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create fieldtype - if ($user->authorise('fieldtype.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=fieldtype&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name'),array('id','type_name'))); - $query->from($db->quoteName('#__componentbuilder_fieldtype', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->type_name); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/maingets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/maingets.php deleted file mode 100644 index 1e72c33a9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/maingets.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage maingets.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Maingets Form Field class for the Componentbuilder component - */ -class JFormFieldMaingets extends JFormFieldList -{ - /** - * The maingets field type. - * - * @var string - */ - public $type = 'maingets'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create dynamic_get - if ($user->authorise('dynamic_get.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=dynamic_get&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','a.gettype'),array('id','main_get_name','type'))); - $query->from($db->quoteName('#__componentbuilder_dynamic_get', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->where('( '.$db->quoteName('a.gettype') . ' = 1 OR ' . $db->quoteName('a.gettype') . ' = 2 )'); - $query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $model = ComponentbuilderHelper::getModel('dynamic_gets'); - foreach($items as $item) - { - $type = $model->selectionTranslation($item->type,'gettype'); - $options[] = JHtml::_('select.option', $item->id, $item->main_get_name . ' (' . JText::_($type) . ')' ); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/siteviews.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/siteviews.php deleted file mode 100644 index e6b379777..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/siteviews.php +++ /dev/null @@ -1,115 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage siteviews.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Siteviews Form Field class for the Componentbuilder component - */ -class JFormFieldSiteviews extends JFormFieldList -{ - /** - * The siteviews field type. - * - * @var string - */ - public $type = 'siteviews'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create site_view - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=site_view&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.system_name'),array('id','siteview_system_name'))); - $query->from($db->quoteName('#__componentbuilder_site_view', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); - $query->order('a.system_name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - foreach($items as $item) - { - $options[] = JHtml::_('select.option', $item->id, $item->siteview_system_name); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/snippets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/snippets.php deleted file mode 100644 index 5df12f1b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fields/snippets.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage snippets.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the list field type -jimport('joomla.form.helper'); -JFormHelper::loadFieldClass('list'); - -/** - * Snippets Form Field class for the Componentbuilder component - */ -class JFormFieldSnippets extends JFormFieldList -{ - /** - * The snippets field type. - * - * @var string - */ - public $type = 'snippets'; - /** - * Override to add new button - * - * @return string The field input markup. - * - * @since 3.2 - */ - protected function getInput() - { - // see if we should add buttons - $setButton = $this->getAttribute('button'); - // get html - $html = parent::getInput(); - // if true set button - if ($setButton === 'true') - { - $user = JFactory::getUser(); - // only add if user allowed to create snippet - if ($user->authorise('core.create', 'com_componentbuilder')) - { - // get the input from url - $jinput = JFactory::getApplication()->input; - // get the view name & id - $values = $jinput->getArray(array( - 'id' => 'int', - 'view' => 'word' - )); - // check if new item - $ref = ''; - if (!is_null($values['id']) && strlen($values['view'])) - { - // only load referal if not new item. - $ref = '&amp;ref=' . $values['view'] . '&amp;refid=' . $values['id']; - } - // build the button - $button = '<a class="btn btn-small btn-success" - href="index.php?option=com_componentbuilder&amp;view=snippet&amp;layout=edit'.$ref.'" > - <span class="icon-new icon-white"></span>' . JText::_('COM_COMPONENTBUILDER_NEW') . '</a>'; - // return the button attached to input field - return $html . $button; - } - } - return $html; - } - - /** - * Method to get a list of options for a list input. - * - * @return array An array of JHtml options. - */ - public function getOptions() - { - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - $query->select($db->quoteName(array('a.id','a.name','a.type'),array('id','snippet_name','type'))); - $query->from($db->quoteName('#__componentbuilder_snippet', 'a')); - $query->where($db->quoteName('a.published') . ' = 1'); -$query->order('a.name ASC'); - $db->setQuery((string)$query); - $items = $db->loadObjectList(); - $options = array(); - if ($items) - { - $options[] = JHtml::_('select.option', '', 'Select an option'); - $model = ComponentbuilderHelper::getModel('snippets'); - foreach($items as $item) - { - $type = $model->selectionTranslation($item->type,'type'); - $options[] = JHtml::_('select.option', $item->id, $item->snippet_name . ' (' . JText::_($type) . ')' ); - } - } - return $options; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fieldtype.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fieldtype.php deleted file mode 100644 index cffc85a93..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fieldtype.php +++ /dev/null @@ -1,1089 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldtype.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Fieldtype Model - */ -class ComponentbuilderModelFieldtype extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.fieldtype'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'fieldtype', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.fieldtype'); - } - } - $this->typeeguk = $item->id; - - return $item; - } - - /** - * Method to get list data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getAlofields() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - $query->select($db->quoteName('c.title','category_title')); - - // From the componentbuilder_field table - $query->from($db->quoteName('#__componentbuilder_field', 'a')); - $query->join('LEFT', $db->quoteName('#__categories', 'c') . ' ON (' . $db->quoteName('a.catid') . ' = ' . $db->quoteName('c.id') . ')'); - - // From the componentbuilder_fieldtype table. - $query->select($db->quoteName('g.name','type_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'g') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('g.id') . ')'); - - // Filter by typeeguk global. - $typeeguk = $this->typeeguk; - if (is_numeric($typeeguk )) - { - $query->where('a.type = ' . (int) $typeeguk ); - } - elseif (is_string($typeeguk)) - { - $query->where('a.type = ' . $db->quote($typeeguk)); - } - else - { - $query->where('a.type = -5'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('field.access', 'com_componentbuilder.field.' . (int) $item->id) && $user->authorise('field.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // set selection value to a translatable value - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - // convert datatype - $item->datatype = $this->selectionTranslationAlofields($item->datatype, 'datatype'); - // convert indexes - $item->indexes = $this->selectionTranslationAlofields($item->indexes, 'indexes'); - // convert null_switch - $item->null_switch = $this->selectionTranslationAlofields($item->null_switch, 'null_switch'); - // convert store - $item->store = $this->selectionTranslationAlofields($item->store, 'store'); - } - } - - return $items; - } - return false; - } - - /** - * Method to convert selection values to translatable string. - * - * @return translatable string - */ - public function selectionTranslationAlofields($value,$name) - { - // Array of datatype language strings - if ($name == 'datatype') - { - $datatypeArray = array( - 'CHAR' => 'COM_COMPONENTBUILDER_FIELD_CHAR', - 'VARCHAR' => 'COM_COMPONENTBUILDER_FIELD_VARCHAR', - 'TEXT' => 'COM_COMPONENTBUILDER_FIELD_TEXT', - 'MEDIUMTEXT' => 'COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT', - 'LONGTEXT' => 'COM_COMPONENTBUILDER_FIELD_LONGTEXT', - 'DATETIME' => 'COM_COMPONENTBUILDER_FIELD_DATETIME', - 'DATE' => 'COM_COMPONENTBUILDER_FIELD_DATE', - 'INT' => 'COM_COMPONENTBUILDER_FIELD_INT', - 'TINYINT' => 'COM_COMPONENTBUILDER_FIELD_TINYINT', - 'BIGINT' => 'COM_COMPONENTBUILDER_FIELD_BIGINT', - 'FLOAT' => 'COM_COMPONENTBUILDER_FIELD_FLOAT', - 'DECIMAL' => 'COM_COMPONENTBUILDER_FIELD_DECIMAL', - 'DOUBLE' => 'COM_COMPONENTBUILDER_FIELD_DOUBLE' - ); - // Now check if value is found in this array - if (isset($datatypeArray[$value]) && ComponentbuilderHelper::checkString($datatypeArray[$value])) - { - return $datatypeArray[$value]; - } - } - // Array of indexes language strings - if ($name == 'indexes') - { - $indexesArray = array( - 1 => 'COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY', - 2 => 'COM_COMPONENTBUILDER_FIELD_KEY', - 0 => 'COM_COMPONENTBUILDER_FIELD_NONE' - ); - // Now check if value is found in this array - if (isset($indexesArray[$value]) && ComponentbuilderHelper::checkString($indexesArray[$value])) - { - return $indexesArray[$value]; - } - } - // Array of null_switch language strings - if ($name == 'null_switch') - { - $null_switchArray = array( - 'NULL' => 'COM_COMPONENTBUILDER_FIELD_NULL', - 'NOT NULL' => 'COM_COMPONENTBUILDER_FIELD_NOT_NULL' - ); - // Now check if value is found in this array - if (isset($null_switchArray[$value]) && ComponentbuilderHelper::checkString($null_switchArray[$value])) - { - return $null_switchArray[$value]; - } - } - // Array of store language strings - if ($name == 'store') - { - $storeArray = array( - 0 => 'COM_COMPONENTBUILDER_FIELD_DEFAULT', - 1 => 'COM_COMPONENTBUILDER_FIELD_JSON', - 2 => 'COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR', - 3 => 'COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALKEY', - 4 => 'COM_COMPONENTBUILDER_FIELD_ADVANCE_ENCRYPTION_WHMCSKEY' - ); - // Now check if value is found in this array - if (isset($storeArray[$value]) && ComponentbuilderHelper::checkString($storeArray[$value])) - { - return $storeArray[$value]; - } - } - return $value; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.fieldtype', 'fieldtype', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - // Determine correct permissions to check. - if ($this->getState('fieldtype.id')) - { - $id = $this->getState('fieldtype.id'); - - $catid = 0; - if (isset($this->getItem($id)->catid)) - { - // set catagory id - $catid = $this->getItem($id)->catid; - - // Existing record. Can only edit in selected categories. - $form->setFieldAttribute('catid', 'action', 'core.edit'); - - // Existing record. Can only edit own items in selected categories. - $form->setFieldAttribute('catid', 'action', 'core.edit.own'); - } - } - else - { - // New record. Can only create in selected categories. - $form->setFieldAttribute('catid', 'action', 'core.create'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('fieldtype.edit.state', 'com_componentbuilder.fieldtype.' . (int) $id)) - || (isset($catid) && $catid != 0 && !$user->authorise('core.edit.state', 'com_componentbuilder.fieldtypes.category.' . (int) $catid)) - || ($id == 0 && !$user->authorise('fieldtype.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/fieldtype.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - $allow = $user->authorise('core.delete', 'com_componentbuilder.fieldtypes.category.' . (int) $record->catid); - - if ($allow) - { - // The record has been set. Check the record permissions. - return $user->authorise('fieldtype.delete', 'com_componentbuilder.fieldtype.' . (int) $record->id); - } - return $allow; - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('fieldtype.edit.state', 'com_componentbuilder.fieldtype.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // Check against the category. - if (!empty($record->catid)) - { - $catpermission = $user->authorise('core.edit.state', 'com_componentbuilder.fieldtypes.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return $user->authorise('fieldtype.edit.state', 'com_componentbuilder'); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('fieldtype.edit', 'com_componentbuilder.fieldtype.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('fieldtype.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_fieldtype')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.fieldtype.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('fieldtype'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('fieldtype'); - } - - if (!$this->canDo->get('fieldtype.create') && !$this->canDo->get('fieldtype.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('fieldtype.edit.state')) - { - $values['published'] = 0; - } - - if (isset($values['category']) && (int) $values['category'] > 0 && !static::checkCategoryId($values['category'])) - { - return false; - } - elseif (isset($values['category']) && (int) $values['category'] > 0) - { - // move the category value to correct field name - $values['catid'] = $values['category']; - unset($values['category']); - } - elseif (isset($values['category'])) - { - unset($values['category']); - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('fieldtype.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('fieldtype'); - } - - if (!$this->canDo->get('fieldtype.edit') && !$this->canDo->get('fieldtype.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('fieldtype.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - if (isset($values['category']) && (int) $values['category'] > 0 && !static::checkCategoryId($values['category'])) - { - return false; - } - elseif (isset($values['category']) && (int) $values['category'] > 0) - { - // move the category value to correct field name - $values['catid'] = $values['category']; - unset($values['category']); - } - elseif (isset($values['category'])) - { - unset($values['category']); - } - - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('fieldtype.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($title) - { - - // Alter the title - $table = $this->getTable(); - - while ($table->load(array('title' => $title))) - { - $title = JString::increment($title); - } - - return $title; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fieldtypes.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fieldtypes.php deleted file mode 100644 index 0c0a2da3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/fieldtypes.php +++ /dev/null @@ -1,413 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldtypes.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Fieldtypes Model - */ -class ComponentbuilderModelFieldtypes extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.name','name', - 'c.title','category_title', - 'c.id', 'category_id', - 'a.catid', 'catid', - 'a.short_description','short_description' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $category = $app->getUserStateFromRequest($this->context . '.filter.category', 'filter_category'); - $this->setState('filter.category', $category); - - $categoryId = $this->getUserStateFromRequest($this->context . '.filter.category_id', 'filter_category_id'); - $this->setState('filter.category_id', $categoryId); - - $catid = $app->getUserStateFromRequest($this->context . '.filter.catid', 'filter_catid'); - $this->setState('filter.catid', $catid); - - $short_description = $this->getUserStateFromRequest($this->context . '.filter.short_description', 'filter_short_description'); - $this->setState('filter.short_description', $short_description); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('fieldtype.access', 'com_componentbuilder.fieldtype.' . (int) $item->id) && $user->authorise('fieldtype.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // return items - return $items; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - $query->select($db->quoteName('c.title','category_title')); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_fieldtype', 'a')); - $query->join('LEFT', $db->quoteName('#__categories', 'c') . ' ON (' . $db->quoteName('a.catid') . ' = ' . $db->quoteName('c.id') . ')'); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.catid LIKE '.$search.' OR a.description LIKE '.$search.' OR a.short_description LIKE '.$search.')'); - } - } - - - // Filter by a single or group of categories. - $baselevel = 1; - $categoryId = $this->getState('filter.category_id'); - - if (is_numeric($categoryId)) - { - $cat_tbl = JTable::getInstance('Category', 'JTable'); - $cat_tbl->load($categoryId); - $rgt = $cat_tbl->rgt; - $lft = $cat_tbl->lft; - $baselevel = (int) $cat_tbl->level; - $query->where('c.lft >= ' . (int) $lft) - ->where('c.rgt <= ' . (int) $rgt); - } - elseif (is_array($categoryId)) - { - JArrayHelper::toInteger($categoryId); - $categoryId = implode(',', $categoryId); - $query->where('a.category IN (' . $categoryId . ')'); - } - - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_fieldtype table - $query->from($db->quoteName('#__componentbuilder_fieldtype', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('fieldtype.access', 'com_componentbuilder.fieldtype.' . (int) $item->id) && $user->authorise('fieldtype.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_fieldtype"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.category'); - $id .= ':' . $this->getState('filter.category_id'); - $id .= ':' . $this->getState('filter.catid'); - $id .= ':' . $this->getState('filter.short_description'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_fieldtype')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_fieldtype'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/admin_view.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/admin_view.js deleted file mode 100644 index f2c11fdfa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/admin_view.js +++ /dev/null @@ -1,804 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin_view.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_tKvLPytvkT_required = false; -jform_wgyuFZCBod_required = false; -jform_SHLEEpZeLY_required = false; -jform_EfCfOzxnTH_required = false; -jform_frTDIrvkRG_required = false; -jform_lLrWkRmjUX_required = false; -jform_kzcOMQnoZf_required = false; -jform_UdvPAikcqb_required = false; -jform_NJMbGWQRgJ_required = false; -jform_PnnReaLnoF_required = false; -jform_riOUVueert_required = false; -jform_fieRhKOZDW_required = false; -jform_NtqckpeSLr_required = false; -jform_DfzlXoBaAa_required = false; -jform_BzgEtthknF_required = false; -jform_jcZzgjNkZB_required = false; -jform_BwEUOvnxDK_required = false; -jform_qXoDvESLUi_required = false; -jform_ucntutCkDv_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var add_css_view_tKvLPyt = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - tKvLPyt(add_css_view_tKvLPyt); - - var add_css_views_wgyuFZC = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - wgyuFZC(add_css_views_wgyuFZC); - - var add_javascript_view_file_SHLEEpZ = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - SHLEEpZ(add_javascript_view_file_SHLEEpZ); - - var add_javascript_views_file_EfCfOzx = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - EfCfOzx(add_javascript_views_file_EfCfOzx); - - var add_javascript_view_footer_frTDIrv = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - frTDIrv(add_javascript_view_footer_frTDIrv); - - var add_javascript_views_footer_lLrWkRm = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - lLrWkRm(add_javascript_views_footer_lLrWkRm); - - var add_php_ajax_kzcOMQn = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - kzcOMQn(add_php_ajax_kzcOMQn); - - var add_php_getitem_UdvPAik = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - UdvPAik(add_php_getitem_UdvPAik); - - var add_php_getitems_NJMbGWQ = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - NJMbGWQ(add_php_getitems_NJMbGWQ); - - var add_php_getlistquery_PnnReaL = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - PnnReaL(add_php_getlistquery_PnnReaL); - - var add_php_save_riOUVue = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - riOUVue(add_php_save_riOUVue); - - var add_php_postsavehook_fieRhKO = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - fieRhKO(add_php_postsavehook_fieRhKO); - - var add_php_allowedit_Ntqckpe = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - Ntqckpe(add_php_allowedit_Ntqckpe); - - var add_php_batchcopy_DfzlXoB = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - DfzlXoB(add_php_batchcopy_DfzlXoB); - - var add_php_batchmove_BzgEtth = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - BzgEtth(add_php_batchmove_BzgEtth); - - var add_php_before_delete_jcZzgjN = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - jcZzgjN(add_php_before_delete_jcZzgjN); - - var add_php_after_delete_BwEUOvn = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - BwEUOvn(add_php_after_delete_BwEUOvn); - - var add_sql_qXoDvES = jQuery("#jform_add_sql input[type='radio']:checked").val(); - qXoDvES(add_sql_qXoDvES); - - var source_ucntutC = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_ucntutC = jQuery("#jform_add_sql input[type='radio']:checked").val(); - ucntutC(source_ucntutC,add_sql_ucntutC); - - var source_agkLvgV = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_agkLvgV = jQuery("#jform_add_sql input[type='radio']:checked").val(); - agkLvgV(source_agkLvgV,add_sql_agkLvgV); -}); - -// the tKvLPyt function -function tKvLPyt(add_css_view_tKvLPyt) -{ - // set the function logic - if (add_css_view_tKvLPyt == 1) - { - jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_tKvLPytvkT_required) - { - updateFieldRequired('css_view',0); - jQuery('#jform_css_view').prop('required','required'); - jQuery('#jform_css_view').attr('aria-required',true); - jQuery('#jform_css_view').addClass('required'); - jform_tKvLPytvkT_required = false; - } - - } - else - { - jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_tKvLPytvkT_required) - { - updateFieldRequired('css_view',1); - jQuery('#jform_css_view').removeAttr('required'); - jQuery('#jform_css_view').removeAttr('aria-required'); - jQuery('#jform_css_view').removeClass('required'); - jform_tKvLPytvkT_required = true; - } - } -} - -// the wgyuFZC function -function wgyuFZC(add_css_views_wgyuFZC) -{ - // set the function logic - if (add_css_views_wgyuFZC == 1) - { - jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_wgyuFZCBod_required) - { - updateFieldRequired('css_views',0); - jQuery('#jform_css_views').prop('required','required'); - jQuery('#jform_css_views').attr('aria-required',true); - jQuery('#jform_css_views').addClass('required'); - jform_wgyuFZCBod_required = false; - } - - } - else - { - jQuery('#jform_css_views').closest('.control-group').hide(); - if (!jform_wgyuFZCBod_required) - { - updateFieldRequired('css_views',1); - jQuery('#jform_css_views').removeAttr('required'); - jQuery('#jform_css_views').removeAttr('aria-required'); - jQuery('#jform_css_views').removeClass('required'); - jform_wgyuFZCBod_required = true; - } - } -} - -// the SHLEEpZ function -function SHLEEpZ(add_javascript_view_file_SHLEEpZ) -{ - // set the function logic - if (add_javascript_view_file_SHLEEpZ == 1) - { - jQuery('#jform_javascript_view_file').closest('.control-group').show(); - if (jform_SHLEEpZeLY_required) - { - updateFieldRequired('javascript_view_file',0); - jQuery('#jform_javascript_view_file').prop('required','required'); - jQuery('#jform_javascript_view_file').attr('aria-required',true); - jQuery('#jform_javascript_view_file').addClass('required'); - jform_SHLEEpZeLY_required = false; - } - - } - else - { - jQuery('#jform_javascript_view_file').closest('.control-group').hide(); - if (!jform_SHLEEpZeLY_required) - { - updateFieldRequired('javascript_view_file',1); - jQuery('#jform_javascript_view_file').removeAttr('required'); - jQuery('#jform_javascript_view_file').removeAttr('aria-required'); - jQuery('#jform_javascript_view_file').removeClass('required'); - jform_SHLEEpZeLY_required = true; - } - } -} - -// the EfCfOzx function -function EfCfOzx(add_javascript_views_file_EfCfOzx) -{ - // set the function logic - if (add_javascript_views_file_EfCfOzx == 1) - { - jQuery('#jform_javascript_views_file').closest('.control-group').show(); - if (jform_EfCfOzxnTH_required) - { - updateFieldRequired('javascript_views_file',0); - jQuery('#jform_javascript_views_file').prop('required','required'); - jQuery('#jform_javascript_views_file').attr('aria-required',true); - jQuery('#jform_javascript_views_file').addClass('required'); - jform_EfCfOzxnTH_required = false; - } - - } - else - { - jQuery('#jform_javascript_views_file').closest('.control-group').hide(); - if (!jform_EfCfOzxnTH_required) - { - updateFieldRequired('javascript_views_file',1); - jQuery('#jform_javascript_views_file').removeAttr('required'); - jQuery('#jform_javascript_views_file').removeAttr('aria-required'); - jQuery('#jform_javascript_views_file').removeClass('required'); - jform_EfCfOzxnTH_required = true; - } - } -} - -// the frTDIrv function -function frTDIrv(add_javascript_view_footer_frTDIrv) -{ - // set the function logic - if (add_javascript_view_footer_frTDIrv == 1) - { - jQuery('#jform_javascript_view_footer').closest('.control-group').show(); - if (jform_frTDIrvkRG_required) - { - updateFieldRequired('javascript_view_footer',0); - jQuery('#jform_javascript_view_footer').prop('required','required'); - jQuery('#jform_javascript_view_footer').attr('aria-required',true); - jQuery('#jform_javascript_view_footer').addClass('required'); - jform_frTDIrvkRG_required = false; - } - - } - else - { - jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); - if (!jform_frTDIrvkRG_required) - { - updateFieldRequired('javascript_view_footer',1); - jQuery('#jform_javascript_view_footer').removeAttr('required'); - jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); - jQuery('#jform_javascript_view_footer').removeClass('required'); - jform_frTDIrvkRG_required = true; - } - } -} - -// the lLrWkRm function -function lLrWkRm(add_javascript_views_footer_lLrWkRm) -{ - // set the function logic - if (add_javascript_views_footer_lLrWkRm == 1) - { - jQuery('#jform_javascript_views_footer').closest('.control-group').show(); - if (jform_lLrWkRmjUX_required) - { - updateFieldRequired('javascript_views_footer',0); - jQuery('#jform_javascript_views_footer').prop('required','required'); - jQuery('#jform_javascript_views_footer').attr('aria-required',true); - jQuery('#jform_javascript_views_footer').addClass('required'); - jform_lLrWkRmjUX_required = false; - } - - } - else - { - jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); - if (!jform_lLrWkRmjUX_required) - { - updateFieldRequired('javascript_views_footer',1); - jQuery('#jform_javascript_views_footer').removeAttr('required'); - jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); - jQuery('#jform_javascript_views_footer').removeClass('required'); - jform_lLrWkRmjUX_required = true; - } - } -} - -// the kzcOMQn function -function kzcOMQn(add_php_ajax_kzcOMQn) -{ - // set the function logic - if (add_php_ajax_kzcOMQn == 1) - { - jQuery('#jform_ajax_input').closest('.control-group').show(); - jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_kzcOMQnoZf_required) - { - updateFieldRequired('php_ajaxmethod',0); - jQuery('#jform_php_ajaxmethod').prop('required','required'); - jQuery('#jform_php_ajaxmethod').attr('aria-required',true); - jQuery('#jform_php_ajaxmethod').addClass('required'); - jform_kzcOMQnoZf_required = false; - } - - } - else - { - jQuery('#jform_ajax_input').closest('.control-group').hide(); - jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_kzcOMQnoZf_required) - { - updateFieldRequired('php_ajaxmethod',1); - jQuery('#jform_php_ajaxmethod').removeAttr('required'); - jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); - jQuery('#jform_php_ajaxmethod').removeClass('required'); - jform_kzcOMQnoZf_required = true; - } - } -} - -// the UdvPAik function -function UdvPAik(add_php_getitem_UdvPAik) -{ - // set the function logic - if (add_php_getitem_UdvPAik == 1) - { - jQuery('#jform_php_getitem').closest('.control-group').show(); - if (jform_UdvPAikcqb_required) - { - updateFieldRequired('php_getitem',0); - jQuery('#jform_php_getitem').prop('required','required'); - jQuery('#jform_php_getitem').attr('aria-required',true); - jQuery('#jform_php_getitem').addClass('required'); - jform_UdvPAikcqb_required = false; - } - - } - else - { - jQuery('#jform_php_getitem').closest('.control-group').hide(); - if (!jform_UdvPAikcqb_required) - { - updateFieldRequired('php_getitem',1); - jQuery('#jform_php_getitem').removeAttr('required'); - jQuery('#jform_php_getitem').removeAttr('aria-required'); - jQuery('#jform_php_getitem').removeClass('required'); - jform_UdvPAikcqb_required = true; - } - } -} - -// the NJMbGWQ function -function NJMbGWQ(add_php_getitems_NJMbGWQ) -{ - // set the function logic - if (add_php_getitems_NJMbGWQ == 1) - { - jQuery('#jform_php_getitems').closest('.control-group').show(); - if (jform_NJMbGWQRgJ_required) - { - updateFieldRequired('php_getitems',0); - jQuery('#jform_php_getitems').prop('required','required'); - jQuery('#jform_php_getitems').attr('aria-required',true); - jQuery('#jform_php_getitems').addClass('required'); - jform_NJMbGWQRgJ_required = false; - } - - } - else - { - jQuery('#jform_php_getitems').closest('.control-group').hide(); - if (!jform_NJMbGWQRgJ_required) - { - updateFieldRequired('php_getitems',1); - jQuery('#jform_php_getitems').removeAttr('required'); - jQuery('#jform_php_getitems').removeAttr('aria-required'); - jQuery('#jform_php_getitems').removeClass('required'); - jform_NJMbGWQRgJ_required = true; - } - } -} - -// the PnnReaL function -function PnnReaL(add_php_getlistquery_PnnReaL) -{ - // set the function logic - if (add_php_getlistquery_PnnReaL == 1) - { - jQuery('#jform_php_getlistquery').closest('.control-group').show(); - if (jform_PnnReaLnoF_required) - { - updateFieldRequired('php_getlistquery',0); - jQuery('#jform_php_getlistquery').prop('required','required'); - jQuery('#jform_php_getlistquery').attr('aria-required',true); - jQuery('#jform_php_getlistquery').addClass('required'); - jform_PnnReaLnoF_required = false; - } - - } - else - { - jQuery('#jform_php_getlistquery').closest('.control-group').hide(); - if (!jform_PnnReaLnoF_required) - { - updateFieldRequired('php_getlistquery',1); - jQuery('#jform_php_getlistquery').removeAttr('required'); - jQuery('#jform_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_php_getlistquery').removeClass('required'); - jform_PnnReaLnoF_required = true; - } - } -} - -// the riOUVue function -function riOUVue(add_php_save_riOUVue) -{ - // set the function logic - if (add_php_save_riOUVue == 1) - { - jQuery('#jform_php_save').closest('.control-group').show(); - if (jform_riOUVueert_required) - { - updateFieldRequired('php_save',0); - jQuery('#jform_php_save').prop('required','required'); - jQuery('#jform_php_save').attr('aria-required',true); - jQuery('#jform_php_save').addClass('required'); - jform_riOUVueert_required = false; - } - - } - else - { - jQuery('#jform_php_save').closest('.control-group').hide(); - if (!jform_riOUVueert_required) - { - updateFieldRequired('php_save',1); - jQuery('#jform_php_save').removeAttr('required'); - jQuery('#jform_php_save').removeAttr('aria-required'); - jQuery('#jform_php_save').removeClass('required'); - jform_riOUVueert_required = true; - } - } -} - -// the fieRhKO function -function fieRhKO(add_php_postsavehook_fieRhKO) -{ - // set the function logic - if (add_php_postsavehook_fieRhKO == 1) - { - jQuery('#jform_php_postsavehook').closest('.control-group').show(); - if (jform_fieRhKOZDW_required) - { - updateFieldRequired('php_postsavehook',0); - jQuery('#jform_php_postsavehook').prop('required','required'); - jQuery('#jform_php_postsavehook').attr('aria-required',true); - jQuery('#jform_php_postsavehook').addClass('required'); - jform_fieRhKOZDW_required = false; - } - - } - else - { - jQuery('#jform_php_postsavehook').closest('.control-group').hide(); - if (!jform_fieRhKOZDW_required) - { - updateFieldRequired('php_postsavehook',1); - jQuery('#jform_php_postsavehook').removeAttr('required'); - jQuery('#jform_php_postsavehook').removeAttr('aria-required'); - jQuery('#jform_php_postsavehook').removeClass('required'); - jform_fieRhKOZDW_required = true; - } - } -} - -// the Ntqckpe function -function Ntqckpe(add_php_allowedit_Ntqckpe) -{ - // set the function logic - if (add_php_allowedit_Ntqckpe == 1) - { - jQuery('#jform_php_allowedit').closest('.control-group').show(); - if (jform_NtqckpeSLr_required) - { - updateFieldRequired('php_allowedit',0); - jQuery('#jform_php_allowedit').prop('required','required'); - jQuery('#jform_php_allowedit').attr('aria-required',true); - jQuery('#jform_php_allowedit').addClass('required'); - jform_NtqckpeSLr_required = false; - } - - } - else - { - jQuery('#jform_php_allowedit').closest('.control-group').hide(); - if (!jform_NtqckpeSLr_required) - { - updateFieldRequired('php_allowedit',1); - jQuery('#jform_php_allowedit').removeAttr('required'); - jQuery('#jform_php_allowedit').removeAttr('aria-required'); - jQuery('#jform_php_allowedit').removeClass('required'); - jform_NtqckpeSLr_required = true; - } - } -} - -// the DfzlXoB function -function DfzlXoB(add_php_batchcopy_DfzlXoB) -{ - // set the function logic - if (add_php_batchcopy_DfzlXoB == 1) - { - jQuery('#jform_php_batchcopy').closest('.control-group').show(); - if (jform_DfzlXoBaAa_required) - { - updateFieldRequired('php_batchcopy',0); - jQuery('#jform_php_batchcopy').prop('required','required'); - jQuery('#jform_php_batchcopy').attr('aria-required',true); - jQuery('#jform_php_batchcopy').addClass('required'); - jform_DfzlXoBaAa_required = false; - } - - } - else - { - jQuery('#jform_php_batchcopy').closest('.control-group').hide(); - if (!jform_DfzlXoBaAa_required) - { - updateFieldRequired('php_batchcopy',1); - jQuery('#jform_php_batchcopy').removeAttr('required'); - jQuery('#jform_php_batchcopy').removeAttr('aria-required'); - jQuery('#jform_php_batchcopy').removeClass('required'); - jform_DfzlXoBaAa_required = true; - } - } -} - -// the BzgEtth function -function BzgEtth(add_php_batchmove_BzgEtth) -{ - // set the function logic - if (add_php_batchmove_BzgEtth == 1) - { - jQuery('#jform_php_batchmove').closest('.control-group').show(); - if (jform_BzgEtthknF_required) - { - updateFieldRequired('php_batchmove',0); - jQuery('#jform_php_batchmove').prop('required','required'); - jQuery('#jform_php_batchmove').attr('aria-required',true); - jQuery('#jform_php_batchmove').addClass('required'); - jform_BzgEtthknF_required = false; - } - - } - else - { - jQuery('#jform_php_batchmove').closest('.control-group').hide(); - if (!jform_BzgEtthknF_required) - { - updateFieldRequired('php_batchmove',1); - jQuery('#jform_php_batchmove').removeAttr('required'); - jQuery('#jform_php_batchmove').removeAttr('aria-required'); - jQuery('#jform_php_batchmove').removeClass('required'); - jform_BzgEtthknF_required = true; - } - } -} - -// the jcZzgjN function -function jcZzgjN(add_php_before_delete_jcZzgjN) -{ - // set the function logic - if (add_php_before_delete_jcZzgjN == 1) - { - jQuery('#jform_php_before_delete').closest('.control-group').show(); - if (jform_jcZzgjNkZB_required) - { - updateFieldRequired('php_before_delete',0); - jQuery('#jform_php_before_delete').prop('required','required'); - jQuery('#jform_php_before_delete').attr('aria-required',true); - jQuery('#jform_php_before_delete').addClass('required'); - jform_jcZzgjNkZB_required = false; - } - - } - else - { - jQuery('#jform_php_before_delete').closest('.control-group').hide(); - if (!jform_jcZzgjNkZB_required) - { - updateFieldRequired('php_before_delete',1); - jQuery('#jform_php_before_delete').removeAttr('required'); - jQuery('#jform_php_before_delete').removeAttr('aria-required'); - jQuery('#jform_php_before_delete').removeClass('required'); - jform_jcZzgjNkZB_required = true; - } - } -} - -// the BwEUOvn function -function BwEUOvn(add_php_after_delete_BwEUOvn) -{ - // set the function logic - if (add_php_after_delete_BwEUOvn == 1) - { - jQuery('#jform_php_after_delete').closest('.control-group').show(); - if (jform_BwEUOvnxDK_required) - { - updateFieldRequired('php_after_delete',0); - jQuery('#jform_php_after_delete').prop('required','required'); - jQuery('#jform_php_after_delete').attr('aria-required',true); - jQuery('#jform_php_after_delete').addClass('required'); - jform_BwEUOvnxDK_required = false; - } - - } - else - { - jQuery('#jform_php_after_delete').closest('.control-group').hide(); - if (!jform_BwEUOvnxDK_required) - { - updateFieldRequired('php_after_delete',1); - jQuery('#jform_php_after_delete').removeAttr('required'); - jQuery('#jform_php_after_delete').removeAttr('aria-required'); - jQuery('#jform_php_after_delete').removeClass('required'); - jform_BwEUOvnxDK_required = true; - } - } -} - -// the qXoDvES function -function qXoDvES(add_sql_qXoDvES) -{ - // set the function logic - if (add_sql_qXoDvES == 1) - { - jQuery('#jform_source').closest('.control-group').show(); - if (jform_qXoDvESLUi_required) - { - updateFieldRequired('source',0); - jQuery('#jform_source').prop('required','required'); - jQuery('#jform_source').attr('aria-required',true); - jQuery('#jform_source').addClass('required'); - jform_qXoDvESLUi_required = false; - } - - } - else - { - jQuery('#jform_source').closest('.control-group').hide(); - if (!jform_qXoDvESLUi_required) - { - updateFieldRequired('source',1); - jQuery('#jform_source').removeAttr('required'); - jQuery('#jform_source').removeAttr('aria-required'); - jQuery('#jform_source').removeClass('required'); - jform_qXoDvESLUi_required = true; - } - } -} - -// the ucntutC function -function ucntutC(source_ucntutC,add_sql_ucntutC) -{ - // set the function logic - if (source_ucntutC == 2 && add_sql_ucntutC == 1) - { - jQuery('#jform_sql').closest('.control-group').show(); - if (jform_ucntutCkDv_required) - { - updateFieldRequired('sql',0); - jQuery('#jform_sql').prop('required','required'); - jQuery('#jform_sql').attr('aria-required',true); - jQuery('#jform_sql').addClass('required'); - jform_ucntutCkDv_required = false; - } - - } - else - { - jQuery('#jform_sql').closest('.control-group').hide(); - if (!jform_ucntutCkDv_required) - { - updateFieldRequired('sql',1); - jQuery('#jform_sql').removeAttr('required'); - jQuery('#jform_sql').removeAttr('aria-required'); - jQuery('#jform_sql').removeClass('required'); - jform_ucntutCkDv_required = true; - } - } -} - -// the agkLvgV function -function agkLvgV(source_agkLvgV,add_sql_agkLvgV) -{ - // set the function logic - if (source_agkLvgV == 1 && add_sql_agkLvgV == 1) - { - jQuery('#jform_addtables').closest('.control-group').show(); - } - else - { - jQuery('#jform_addtables').closest('.control-group').hide(); - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} - -function getFieldSelectOptions_server(fieldId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.fieldSelectOptions&format=json"; - if(token.length > 0 && fieldId > 0){ - var request = 'token='+token+'&id='+fieldId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getFieldSelectOptions(id,fieldKey){ - getFieldSelectOptions_server(id).done(function(result) { - if(result){ - jQuery('textarea#jform_addconditions_fields_match_options-'+fieldKey).val(result); - } - else - { - jQuery('textarea#jform_addconditions_fields_match_options-'+fieldKey).val(''); - } - }) -} - -function getTableColumns_server(tableName){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.tableColumns&format=json"; - if(token.length > 0 && tableName.length > 0){ - var request = 'token='+token+'&table='+tableName; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getTableColumns(tableName,fieldKey){ - getTableColumns_server(tableName).done(function(result) { - if(result){ - jQuery('textarea#jform_addtables_fields_sourcemap-'+fieldKey).val(result); - } - else - { - jQuery('textarea#jform_addtables_fields_sourcemap-'+fieldKey).val(''); - } - }) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/admin_view.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/admin_view.xml deleted file mode 100644 index 68528d94d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/admin_view.xml +++ /dev/null @@ -1,1421 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_VERSION_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- System_name Field. Type: Text. (joomla) --> - <field - type="text" - name="system_name" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_DESCRIPTION" - class="text_area" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_HINT" - /> - <!-- Name_single Field. Type: Text. (joomla) --> - <field - type="text" - name="name_single" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_DESCRIPTION" - class="inputbox" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add single record name here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_HINT" - /> - <!-- Name_list Field. Type: Text. (joomla) --> - <field - type="text" - name="name_list" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_DESCRIPTION" - class="inputbox" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add list of records name here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_HINT" - /> - <!-- Short_description Field. Type: Text. (joomla) --> - <field - type="text" - name="short_description" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_DESCRIPTION" - class="text_area" - required="true" - filter="HTML" - message="Error! Please add some short description here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT" - /> - <!-- Php_getitem Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_getitem" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_HINT" - required="true" - /> - <!-- Php_before_delete Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_before_delete" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT" - required="true" - /> - <!-- Php_postsavehook Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_postsavehook" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_HINT" - required="true" - /> - <!-- Type Field. Type: List. (joomla) --> - <field - type="list" - name="type" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TYPE_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TYPE_DESCRIPTION" - class="btn-group" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE</option> - <option value="2"> - COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY</option> - </field> - <!-- Php_getlistquery Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_getlistquery" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT" - required="true" - /> - <!-- Description Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="description" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_LABEL" - rows="11" - cols="10" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_HINT" - /> - <!-- Php_batchcopy Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_batchcopy" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_HINT" - required="true" - /> - <!-- Add_php_ajax Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_ajax" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Source Field. Type: Radio. (joomla) --> - <field - type="radio" - name="source" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL" - class="btn-group btn-group-yesno" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE</option> - <option value="2"> - COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option> - </field> - <!-- Icon Field. Type: Media. (joomla) --> - <field - type="media" - name="icon" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION" - directory="" - /> - <!-- Icon_add Field. Type: Media. (joomla) --> - <field - type="media" - name="icon_add" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION" - directory="" - /> - <!-- Ajax_input Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="ajax_input" - label="Ajax Input" - id="ajax_input" - class="ajax_inputs" - select="COM_COMPONENTBUILDER_ADMIN_VIEW_AJAX_INPUT_SELECT" - icon="list" - maximum="150"> - <fields name="ajax_input_fields" label=""> - <fieldset hidden="true" name="ajax_input_modal" repeat="true"> - <!-- Value_name Field. Type: Text. (joomla) --> - <field - type="text" - name="value_name" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_VALUE_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_VALUE_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add value name here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_VALUE_NAME_HINT" - /> - <!-- Task_name Field. Type: Text. (joomla) --> - <field - type="text" - name="task_name" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TASK_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TASK_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="WORD" - message="Error! Please add task name here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_TASK_NAME_HINT" - /> - <!-- Input_default Field. Type: Text. (joomla) --> - <field - type="text" - name="input_default" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_DEFAULT_LABEL" - size="40" - maxlength="150" - default="NULL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_DEFAULT_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add default input value here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_DEFAULT_HINT" - /> - <!-- Input_filter Field. Type: List. (joomla) --> - <field - type="list" - name="input_filter" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_FILTER_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_INPUT_FILTER_DESCRIPTION" - class="list_class" - multiple="false" - filter="WORD" - default="INT"> - <!-- Option Set. --> - <option value="INT"> - COM_COMPONENTBUILDER_ADMIN_VIEW_INT</option> - <option value="UINT"> - COM_COMPONENTBUILDER_ADMIN_VIEW_UINT</option> - <option value="FLOAT"> - COM_COMPONENTBUILDER_ADMIN_VIEW_FLOAT</option> - <option value="BOOLEAN"> - COM_COMPONENTBUILDER_ADMIN_VIEW_BOOLEAN</option> - <option value="WORD"> - COM_COMPONENTBUILDER_ADMIN_VIEW_WORD</option> - <option value="ALNUM"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ALNUM</option> - <option value="CMD"> - COM_COMPONENTBUILDER_ADMIN_VIEW_CMD</option> - <option value="BASE64"> - COM_COMPONENTBUILDER_ADMIN_VIEW_BASESIXTY_FOUR</option> - <option value="STRING"> - COM_COMPONENTBUILDER_ADMIN_VIEW_STRING</option> - <option value="HTML"> - COM_COMPONENTBUILDER_ADMIN_VIEW_HTML</option> - <option value="ARRAY"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ARRAY</option> - <option value="PATH"> - COM_COMPONENTBUILDER_ADMIN_VIEW_PATH</option> - <option value="USERNAME"> - COM_COMPONENTBUILDER_ADMIN_VIEW_USERNAME</option> - <option value="RAW"> - COM_COMPONENTBUILDER_ADMIN_VIEW_RAW</option> - <option value="unknown"> - COM_COMPONENTBUILDER_ADMIN_VIEW_UNKNOWN</option> - </field> - <!-- Method_name Field. Type: Text. (joomla) --> - <field - type="text" - name="method_name" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_LABEL" - size="40" - maxlength="150" - default="getValueNow" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="WORD" - message="Error! Please add method name here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_METHOD_NAME_HINT" - /> - <!-- User_check Field. Type: Radio. (joomla) --> - <field - type="radio" - name="user_check" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_USER_CHECK_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_USER_CHECK_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - </fieldset> - </fields> - </field> - <!-- Icon_category Field. Type: Media. (joomla) --> - <field - type="media" - name="icon_category" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION" - directory="" - /> - <!-- Php_getitems Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_getitems" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT" - required="true" - /> - <!-- Note_on_permissions Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_on_permissions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_permissions" close="true" /> - <!-- Php_save Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_save" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT" - required="true" - /> - <!-- Addpermissions Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addpermissions" - label="Permissions" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDPERMISSIONS_DESCRIPTION" - id="addpermissions" - class="addpermission" - select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDPERMISSIONS_SELECT" - icon="list" - maximum="20"> - <fields name="addpermissions_fields" label=""> - <fieldset hidden="true" name="addpermissions_modal" repeat="true"> - <!-- Action Field. Type: List. (joomla) --> - <field - type="list" - name="action" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ACTION_DESCRIPTION" - class="list_class" - multiple="false" - filter="CMD"> - <!-- Option Set. --> - <option value="core.edit"> - COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDIT</option> - <option value="core.edit.own"> - COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITOWN</option> - <option value="core.edit.state"> - COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITSTATE</option> - <option value="core.edit.created_by"> - COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITCREATED_BY</option> - <option value="core.edit.created"> - COM_COMPONENTBUILDER_ADMIN_VIEW_COREEDITCREATED</option> - <option value="core.create"> - COM_COMPONENTBUILDER_ADMIN_VIEW_CORECREATE</option> - <option value="core.delete"> - COM_COMPONENTBUILDER_ADMIN_VIEW_COREDELETE</option> - <option value="view.edit"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDIT</option> - <option value="view.edit.own"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITOWN</option> - <option value="view.edit.state"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITSTATE</option> - <option value="view.edit.created_by"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITCREATED_BY</option> - <option value="view.edit.created"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWEDITCREATED</option> - <option value="view.create"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWCREATE</option> - <option value="view.delete"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWDELETE</option> - <option value="view.access"> - COM_COMPONENTBUILDER_ADMIN_VIEW_VIEWACCESS</option> - </field> - <!-- Implementation Field. Type: Radio. (joomla) --> - <field - type="radio" - name="implementation" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_IMPLEMENTATION_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_IMPLEMENTATION_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_IN_RELATION_TO_EACH_RECORD</option> - <option value="2"> - COM_COMPONENTBUILDER_ADMIN_VIEW_IN_RELATION_TO_THE_WHOLE_VIEW</option> - <option value="3"> - COM_COMPONENTBUILDER_ADMIN_VIEW_BOTH</option> - </field> - </fieldset> - </fields> - </field> - <!-- Php_allowedit Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_allowedit" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT" - required="true" - /> - <!-- Note_on_tabs Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_on_tabs" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION" heading="h4" class="alert alert-info note_on_tabs" close="true" /> - <!-- Php_batchmove Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_batchmove" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT" - required="true" - /> - <!-- Addtabs Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addtabs" - label="Tabs" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABS_DESCRIPTION" - id="addtabs" - class="addtab" - select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABS_SELECT" - icon="list" - maximum="15"> - <fields name="addtabs_fields" label=""> - <fieldset hidden="true" name="addtabs_modal" repeat="true"> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Php_after_delete Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_after_delete" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT" - required="true" - /> - <!-- Note_on_views Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_on_views" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_views" close="true" /> - <!-- Sql Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="sql" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT" - required="true" - /> - <!-- Addfields Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addfields" - label="Fields" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDFIELDS_DESCRIPTION" - id="addfields" - class="addfield" - select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDFIELDS_SELECT" - icon="list" - maximum="800"> - <fields name="addfields_fields" label=""> - <fieldset hidden="true" name="addfields_modal" repeat="true"> - <!-- Field Field. Type: Fields. (custom) --> - <field - type="fields" - name="field" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_FIELD_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_FIELD_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - <!-- List Field. Type: Radio. (joomla) --> - <field - type="radio" - name="list" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_SHOW</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_HIDE</option> - </field> - <!-- Order_list Field. Type: Integer. (joomla) --> - <field - type="integer" - name="order_list" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_LIST_LABEL" - default="0" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_LIST_DESCRIPTION" - class="fieldSmall" - first="0" - last="100" - step="1" - /> - <!-- Title Field. Type: Radio. (joomla) --> - <field - type="radio" - name="title" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TITLE_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TITLE_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Alias Field. Type: Radio. (joomla) --> - <field - type="radio" - name="alias" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Sort Field. Type: Radio. (joomla) --> - <field - type="radio" - name="sort" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_SORT_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_SORT_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Search Field. Type: Radio. (joomla) --> - <field - type="radio" - name="search" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_SEARCH_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_SEARCH_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Filter Field. Type: Radio. (joomla) --> - <field - type="radio" - name="filter" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_FILTER_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_FILTER_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Link Field. Type: Radio. (joomla) --> - <field - type="radio" - name="link" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_LINK_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Tab Field. Type: Integer. (joomla) --> - <field - type="integer" - name="tab" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_LABEL" - default="1" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_DESCRIPTION" - class="fieldSmall" - first="1" - last="15" - step="1" - /> - <!-- Alignment Field. Type: List. (joomla) --> - <field - type="list" - name="alignment" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ALIGNMENT_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ALIGNMENT_DESCRIPTION" - class="fieldMedium" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_LEFT_IN_TAB</option> - <option value="2"> - COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_IN_TAB</option> - <option value="3"> - COM_COMPONENTBUILDER_ADMIN_VIEW_FULL_WIDTH_IN_TAB</option> - <option value="4"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ABOVE_TABS</option> - <option value="5"> - COM_COMPONENTBUILDER_ADMIN_VIEW_UNDERNEATH_TABS</option> - <option value="6"> - COM_COMPONENTBUILDER_ADMIN_VIEW_LEFT_OF_TABS</option> - <option value="7"> - COM_COMPONENTBUILDER_ADMIN_VIEW_RIGHT_OF_TABS</option> - </field> - <!-- Order_edit Field. Type: Integer. (joomla) --> - <field - type="integer" - name="order_edit" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_EDIT_LABEL" - default="0" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ORDER_EDIT_DESCRIPTION" - class="fieldSmall" - first="0" - last="100" - step="1" - /> - <!-- Permission Field. Type: Radio. (joomla) --> - <field - type="radio" - name="permission" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - </fieldset> - </fields> - </field> - <!-- Javascript_views_footer Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="javascript_views_footer" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT" - required="true" - /> - <!-- Note_on_conditions Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_on_conditions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_CONDITIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_conditions" close="true" /> - <!-- Php_ajaxmethod Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_ajaxmethod" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_HINT" - required="true" - /> - <!-- Addconditions Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addconditions" - label="Conditions" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_DESCRIPTION" - id="addconditions" - class="addcondition" - select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDCONDITIONS_SELECT" - icon="list" - maximum="500"> - <fields name="addconditions_fields" label=""> - <fieldset hidden="true" name="addconditions_modal" repeat="true"> - <!-- Target_field Field. Type: Fieldsmulti. (custom) --> - <field - type="fieldsmulti" - name="target_field" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_FIELD_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_FIELD_DESCRIPTION" - class="fieldMedium" - multiple="true" - button="false" - /> - <!-- Target_behavior Field. Type: Radio. (joomla) --> - <field - type="radio" - name="target_behavior" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_BEHAVIOR_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_BEHAVIOR_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_SHOW</option> - <option value="2"> - COM_COMPONENTBUILDER_ADMIN_VIEW_HIDE</option> - </field> - <!-- Target_relation Field. Type: Radio. (joomla) --> - <field - type="radio" - name="target_relation" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_RELATION_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TARGET_RELATION_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ISOLATE</option> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_CHAIN</option> - </field> - <!-- Match_field Field. Type: Fields. (custom) --> - <field - type="fields" - name="match_field" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_FIELD_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_FIELD_DESCRIPTION" - multiple="false" - button="false" - /> - <!-- Match_behavior Field. Type: List. (joomla) --> - <field - type="list" - name="match_behavior" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_BEHAVIOR_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_BEHAVIOR_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option> - <option value="2"> - COM_COMPONENTBUILDER_ADMIN_VIEW_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option> - <option value="3"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option> - <option value="4"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ACTIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="5"> - COM_COMPONENTBUILDER_ADMIN_VIEW_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="6"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="7"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="8"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="9"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="10"> - COM_COMPONENTBUILDER_ADMIN_VIEW_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option> - <option value="11"> - COM_COMPONENTBUILDER_ADMIN_VIEW_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option> - <option value="12"> - COM_COMPONENTBUILDER_ADMIN_VIEW_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option> - </field> - <!-- Match_behavior Field. Type: List. (joomla) --> - <field - type="list" - name="match_behavior" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_BEHAVIOR_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_BEHAVIOR_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_IS_ONLY_FOUR_LISTRADIOCHECKBOXES</option> - <option value="2"> - COM_COMPONENTBUILDER_ADMIN_VIEW_IS_NOT_ONLY_FOUR_LISTRADIOCHECKBOXES</option> - <option value="3"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ANY_SELECTION_ONLY_FOUR_LISTRADIOCHECKBOXESDYNAMIC_LIST</option> - <option value="4"> - COM_COMPONENTBUILDER_ADMIN_VIEW_ACTIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="5"> - COM_COMPONENTBUILDER_ADMIN_VIEW_UNACTIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="6"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ALL_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="7"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ANY_CASESENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="8"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ALL_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="9"> - COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_WORD_ANY_CASEINSENSITIVE_ONLY_FOUR_TEXT_FIELD</option> - <option value="10"> - COM_COMPONENTBUILDER_ADMIN_VIEW_MIN_LENGTH_ONLY_FOUR_TEXT_FIELD</option> - <option value="11"> - COM_COMPONENTBUILDER_ADMIN_VIEW_MAX_LENGTH_ONLY_FOUR_TEXT_FIELD</option> - <option value="12"> - COM_COMPONENTBUILDER_ADMIN_VIEW_EXACT_LENGTH_ONLY_FOUR_TEXT_FIELD</option> - </field> - <!-- Match_options Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="match_options" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_OPTIONS_LABEL" - rows="10" - cols="5" - class="text_area" - filter="STRING" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_MATCH_OPTIONS_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_php_getitem Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_getitem" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Addlinked_views Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addlinked_views" - label="Linked Views" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDLINKED_VIEWS_DESCRIPTION" - id="addlinked_views" - class="addlinked_view" - select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDLINKED_VIEWS_SELECT" - icon="list" - maximum="500"> - <fields name="addlinked_views_fields" label=""> - <fieldset hidden="true" name="addlinked_views_modal" repeat="true"> - <!-- Adminview Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="adminview" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_LABEL" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADMINVIEW_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - <!-- Tab Field. Type: Integer. (joomla) --> - <field - type="integer" - name="tab" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_LABEL" - default="1" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_TAB_DESCRIPTION" - class="fieldSmall" - first="1" - last="15" - step="1" - /> - <!-- Key Field. Type: Text. (joomla) --> - <field - type="text" - name="key" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="WORD" - message="Error! Please add key here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_HINT" - /> - <!-- Parentkey Field. Type: Text. (joomla) --> - <field - type="text" - name="parentkey" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="WORD" - message="Error! Please add key here." - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PARENTKEY_HINT" - /> - <!-- Addnew Field. Type: Radio. (joomla) --> - <field - type="radio" - name="addnew" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDNEW_LABEL" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - </fieldset> - </fields> - </field> - <!-- Add_php_getitems Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_getitems" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_css_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css_view" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CSS_VIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_php_getlistquery Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_getlistquery" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Css_view Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css_view" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_HINT" - required="true" - /> - <!-- Add_php_save Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_save" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_css_views Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css_views" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CSS_VIEWS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_php_postsavehook Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_postsavehook" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Css_views Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css_views" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_HINT" - required="true" - /> - <!-- Add_php_allowedit Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_allowedit" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_javascript_view_file Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_javascript_view_file" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FILE_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_php_batchcopy Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_batchcopy" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Javascript_view_file Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="javascript_view_file" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_HINT" - required="true" - /> - <!-- Add_php_batchmove Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_batchmove" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_javascript_view_footer Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_javascript_view_footer" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_php_before_delete Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_before_delete" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Javascript_view_footer Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="javascript_view_footer" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_HINT" - required="true" - /> - <!-- Add_php_after_delete Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_after_delete" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_javascript_views_file Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_javascript_views_file" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FILE_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Add_sql Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_sql" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Javascript_views_file Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="javascript_views_file" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_HINT" - required="true" - /> - <!-- Addtables Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addtables" - label="Tables" - id="addtables" - class="addtable" - select="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_SELECT" - icon="list" - maximum="50"> - <fields name="addtables_fields" label=""> - <fieldset hidden="true" name="addtables_modal" repeat="true"> - <!-- Table Field. Type: Dbtables. (custom) --> - <field - type="dbtables" - name="table" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL" - class="list_class" - multiple="false" - default="0" - button="false" - /> - <!-- Sourcemap Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="sourcemap" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL" - rows="22" - cols="30" - description="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION" - class="text_area span4" - filter="HTML" - hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_javascript_views_footer Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_javascript_views_footer" - label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option> - </field> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this admin_view" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="admin_view" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/component.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/component.js deleted file mode 100644 index 7e64fc7fc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/component.js +++ /dev/null @@ -1,459 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage component.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_yZoKbtNIRJ_required = false; -jform_LrnMZHaREL_required = false; -jform_RWqVUxBLwo_required = false; -jform_rTuBFxbzfV_required = false; -jform_DfGhWDETze_required = false; -jform_BdzNovgXfC_required = false; -jform_ZxGUGnhbRA_required = false; -jform_fnEKCCganz_required = false; -jform_HiUlIxxBHW_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var add_php_helper_admin_yZoKbtN = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); - yZoKbtN(add_php_helper_admin_yZoKbtN); - - var add_php_helper_site_LrnMZHa = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); - LrnMZHa(add_php_helper_site_LrnMZHa); - - var add_css_RWqVUxB = jQuery("#jform_add_css input[type='radio']:checked").val(); - RWqVUxB(add_css_RWqVUxB); - - var add_sql_rTuBFxb = jQuery("#jform_add_sql input[type='radio']:checked").val(); - rTuBFxb(add_sql_rTuBFxb); - - var emptycontributors_jOrwvlc = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); - jOrwvlc(emptycontributors_jOrwvlc); - - var add_license_DfGhWDE = jQuery("#jform_add_license input[type='radio']:checked").val(); - DfGhWDE(add_license_DfGhWDE); - - var add_admin_event_BdzNovg = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); - BdzNovg(add_admin_event_BdzNovg); - - var add_site_event_ZxGUGnh = jQuery("#jform_add_site_event input[type='radio']:checked").val(); - ZxGUGnh(add_site_event_ZxGUGnh); - - var addreadme_fnEKCCg = jQuery("#jform_addreadme input[type='radio']:checked").val(); - fnEKCCg(addreadme_fnEKCCg); - - var add_update_server_dKJKyYg = jQuery("#jform_add_update_server input[type='radio']:checked").val(); - dKJKyYg(add_update_server_dKJKyYg); - - var add_sales_server_FWlhVPM = jQuery("#jform_add_sales_server input[type='radio']:checked").val(); - FWlhVPM(add_sales_server_FWlhVPM); - - var add_license_OCbXDSr = jQuery("#jform_add_license input[type='radio']:checked").val(); - OCbXDSr(add_license_OCbXDSr); - - var add_php_dashboard_methods_HiUlIxx = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); - HiUlIxx(add_php_dashboard_methods_HiUlIxx); -}); - -// the yZoKbtN function -function yZoKbtN(add_php_helper_admin_yZoKbtN) -{ - // set the function logic - if (add_php_helper_admin_yZoKbtN == 1) - { - jQuery('#jform_php_helper_admin').closest('.control-group').show(); - if (jform_yZoKbtNIRJ_required) - { - updateFieldRequired('php_helper_admin',0); - jQuery('#jform_php_helper_admin').prop('required','required'); - jQuery('#jform_php_helper_admin').attr('aria-required',true); - jQuery('#jform_php_helper_admin').addClass('required'); - jform_yZoKbtNIRJ_required = false; - } - - } - else - { - jQuery('#jform_php_helper_admin').closest('.control-group').hide(); - if (!jform_yZoKbtNIRJ_required) - { - updateFieldRequired('php_helper_admin',1); - jQuery('#jform_php_helper_admin').removeAttr('required'); - jQuery('#jform_php_helper_admin').removeAttr('aria-required'); - jQuery('#jform_php_helper_admin').removeClass('required'); - jform_yZoKbtNIRJ_required = true; - } - } -} - -// the LrnMZHa function -function LrnMZHa(add_php_helper_site_LrnMZHa) -{ - // set the function logic - if (add_php_helper_site_LrnMZHa == 1) - { - jQuery('#jform_php_helper_site').closest('.control-group').show(); - if (jform_LrnMZHaREL_required) - { - updateFieldRequired('php_helper_site',0); - jQuery('#jform_php_helper_site').prop('required','required'); - jQuery('#jform_php_helper_site').attr('aria-required',true); - jQuery('#jform_php_helper_site').addClass('required'); - jform_LrnMZHaREL_required = false; - } - - } - else - { - jQuery('#jform_php_helper_site').closest('.control-group').hide(); - if (!jform_LrnMZHaREL_required) - { - updateFieldRequired('php_helper_site',1); - jQuery('#jform_php_helper_site').removeAttr('required'); - jQuery('#jform_php_helper_site').removeAttr('aria-required'); - jQuery('#jform_php_helper_site').removeClass('required'); - jform_LrnMZHaREL_required = true; - } - } -} - -// the RWqVUxB function -function RWqVUxB(add_css_RWqVUxB) -{ - // set the function logic - if (add_css_RWqVUxB == 1) - { - jQuery('#jform_css').closest('.control-group').show(); - if (jform_RWqVUxBLwo_required) - { - updateFieldRequired('css',0); - jQuery('#jform_css').prop('required','required'); - jQuery('#jform_css').attr('aria-required',true); - jQuery('#jform_css').addClass('required'); - jform_RWqVUxBLwo_required = false; - } - - } - else - { - jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_RWqVUxBLwo_required) - { - updateFieldRequired('css',1); - jQuery('#jform_css').removeAttr('required'); - jQuery('#jform_css').removeAttr('aria-required'); - jQuery('#jform_css').removeClass('required'); - jform_RWqVUxBLwo_required = true; - } - } -} - -// the rTuBFxb function -function rTuBFxb(add_sql_rTuBFxb) -{ - // set the function logic - if (add_sql_rTuBFxb == 1) - { - jQuery('#jform_sql').closest('.control-group').show(); - if (jform_rTuBFxbzfV_required) - { - updateFieldRequired('sql',0); - jQuery('#jform_sql').prop('required','required'); - jQuery('#jform_sql').attr('aria-required',true); - jQuery('#jform_sql').addClass('required'); - jform_rTuBFxbzfV_required = false; - } - - } - else - { - jQuery('#jform_sql').closest('.control-group').hide(); - if (!jform_rTuBFxbzfV_required) - { - updateFieldRequired('sql',1); - jQuery('#jform_sql').removeAttr('required'); - jQuery('#jform_sql').removeAttr('aria-required'); - jQuery('#jform_sql').removeClass('required'); - jform_rTuBFxbzfV_required = true; - } - } -} - -// the jOrwvlc function -function jOrwvlc(emptycontributors_jOrwvlc) -{ - // set the function logic - if (emptycontributors_jOrwvlc == 1) - { - jQuery('#jform_number').closest('.control-group').show(); - } - else - { - jQuery('#jform_number').closest('.control-group').hide(); - } -} - -// the DfGhWDE function -function DfGhWDE(add_license_DfGhWDE) -{ - // set the function logic - if (add_license_DfGhWDE == 1) - { - jQuery('#jform_license_type').closest('.control-group').show(); - if (jform_DfGhWDETze_required) - { - updateFieldRequired('license_type',0); - jQuery('#jform_license_type').prop('required','required'); - jQuery('#jform_license_type').attr('aria-required',true); - jQuery('#jform_license_type').addClass('required'); - jform_DfGhWDETze_required = false; - } - - } - else - { - jQuery('#jform_license_type').closest('.control-group').hide(); - if (!jform_DfGhWDETze_required) - { - updateFieldRequired('license_type',1); - jQuery('#jform_license_type').removeAttr('required'); - jQuery('#jform_license_type').removeAttr('aria-required'); - jQuery('#jform_license_type').removeClass('required'); - jform_DfGhWDETze_required = true; - } - } -} - -// the BdzNovg function -function BdzNovg(add_admin_event_BdzNovg) -{ - // set the function logic - if (add_admin_event_BdzNovg == 1) - { - jQuery('#jform_php_admin_event').closest('.control-group').show(); - if (jform_BdzNovgXfC_required) - { - updateFieldRequired('php_admin_event',0); - jQuery('#jform_php_admin_event').prop('required','required'); - jQuery('#jform_php_admin_event').attr('aria-required',true); - jQuery('#jform_php_admin_event').addClass('required'); - jform_BdzNovgXfC_required = false; - } - - } - else - { - jQuery('#jform_php_admin_event').closest('.control-group').hide(); - if (!jform_BdzNovgXfC_required) - { - updateFieldRequired('php_admin_event',1); - jQuery('#jform_php_admin_event').removeAttr('required'); - jQuery('#jform_php_admin_event').removeAttr('aria-required'); - jQuery('#jform_php_admin_event').removeClass('required'); - jform_BdzNovgXfC_required = true; - } - } -} - -// the ZxGUGnh function -function ZxGUGnh(add_site_event_ZxGUGnh) -{ - // set the function logic - if (add_site_event_ZxGUGnh == 1) - { - jQuery('#jform_php_site_event').closest('.control-group').show(); - if (jform_ZxGUGnhbRA_required) - { - updateFieldRequired('php_site_event',0); - jQuery('#jform_php_site_event').prop('required','required'); - jQuery('#jform_php_site_event').attr('aria-required',true); - jQuery('#jform_php_site_event').addClass('required'); - jform_ZxGUGnhbRA_required = false; - } - - } - else - { - jQuery('#jform_php_site_event').closest('.control-group').hide(); - if (!jform_ZxGUGnhbRA_required) - { - updateFieldRequired('php_site_event',1); - jQuery('#jform_php_site_event').removeAttr('required'); - jQuery('#jform_php_site_event').removeAttr('aria-required'); - jQuery('#jform_php_site_event').removeClass('required'); - jform_ZxGUGnhbRA_required = true; - } - } -} - -// the fnEKCCg function -function fnEKCCg(addreadme_fnEKCCg) -{ - // set the function logic - if (addreadme_fnEKCCg == 1) - { - jQuery('.note_readme').closest('.control-group').show(); - jQuery('#jform_readme-lbl').closest('.control-group').show(); - if (jform_fnEKCCganz_required) - { - updateFieldRequired('readme',0); - jQuery('#jform_readme').prop('required','required'); - jQuery('#jform_readme').attr('aria-required',true); - jQuery('#jform_readme').addClass('required'); - jform_fnEKCCganz_required = false; - } - - } - else - { - jQuery('.note_readme').closest('.control-group').hide(); - jQuery('#jform_readme-lbl').closest('.control-group').hide(); - if (!jform_fnEKCCganz_required) - { - updateFieldRequired('readme',1); - jQuery('#jform_readme').removeAttr('required'); - jQuery('#jform_readme').removeAttr('aria-required'); - jQuery('#jform_readme').removeClass('required'); - jform_fnEKCCganz_required = true; - } - } -} - -// the dKJKyYg function -function dKJKyYg(add_update_server_dKJKyYg) -{ - // set the function logic - if (add_update_server_dKJKyYg == 1) - { - jQuery('#jform_update_server_ftp').closest('.control-group').show(); - jQuery('#jform_update_server').closest('.control-group').show(); - } - else - { - jQuery('#jform_update_server_ftp').closest('.control-group').hide(); - jQuery('#jform_update_server').closest('.control-group').hide(); - } -} - -// the FWlhVPM function -function FWlhVPM(add_sales_server_FWlhVPM) -{ - // set the function logic - if (add_sales_server_FWlhVPM == 1) - { - jQuery('#jform_sales_server_ftp').closest('.control-group').show(); - } - else - { - jQuery('#jform_sales_server_ftp').closest('.control-group').hide(); - } -} - -// the OCbXDSr function -function OCbXDSr(add_license_OCbXDSr) -{ - // set the function logic - if (add_license_OCbXDSr == 1) - { - jQuery('.note_whmcs_lisencing_note').closest('.control-group').show(); - jQuery('#jform_whmcs_key').closest('.control-group').show(); - jQuery('#jform_whmcs_url').closest('.control-group').show(); - } - else - { - jQuery('.note_whmcs_lisencing_note').closest('.control-group').hide(); - jQuery('#jform_whmcs_key').closest('.control-group').hide(); - jQuery('#jform_whmcs_url').closest('.control-group').hide(); - } -} - -// the HiUlIxx function -function HiUlIxx(add_php_dashboard_methods_HiUlIxx) -{ - // set the function logic - if (add_php_dashboard_methods_HiUlIxx == 1) - { - jQuery('#jform_dashboard_tab').closest('.control-group').show(); - jQuery('#jform_php_dashboard_methods').closest('.control-group').show(); - if (jform_HiUlIxxBHW_required) - { - updateFieldRequired('php_dashboard_methods',0); - jQuery('#jform_php_dashboard_methods').prop('required','required'); - jQuery('#jform_php_dashboard_methods').attr('aria-required',true); - jQuery('#jform_php_dashboard_methods').addClass('required'); - jform_HiUlIxxBHW_required = false; - } - - } - else - { - jQuery('#jform_dashboard_tab').closest('.control-group').hide(); - jQuery('#jform_php_dashboard_methods').closest('.control-group').hide(); - if (!jform_HiUlIxxBHW_required) - { - updateFieldRequired('php_dashboard_methods',1); - jQuery('#jform_php_dashboard_methods').removeAttr('required'); - jQuery('#jform_php_dashboard_methods').removeAttr('aria-required'); - jQuery('#jform_php_dashboard_methods').removeClass('required'); - jform_HiUlIxxBHW_required = true; - } - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/component.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/component.xml deleted file mode 100644 index 8f3a68b43..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/component.xml +++ /dev/null @@ -1,2532 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_COMPONENT_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_COMPONENT_VERSION_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- System_name Field. Type: Text. (joomla) --> - <field - type="text" - name="system_name" - label="COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_DESCRIPTION" - class="text_area" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_HINT" - /> - <!-- Name_code Field. Type: Text. (joomla) --> - <field - type="text" - name="name_code" - label="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_DESCRIPTION" - class="text_area" - required="true" - filter="CMD" - message="Error! Please add name in code here." - hint="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_HINT" - /> - <!-- Component_version Field. Type: Text. (joomla) --> - <field - type="text" - name="component_version" - label="COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_LABEL" - size="40" - maxlength="50" - default="1.0.0" - description="COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_DESCRIPTION" - class="text_area" - required="true" - filter="CMD" - message="Error! Please add version here." - hint="COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_HINT" - /> - <!-- Short_description Field. Type: Text. (joomla) --> - <field - type="text" - name="short_description" - label="COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_DESCRIPTION" - class="text_area" - required="true" - filter="HTML" - message="Error! Please add some short description here." - hint="COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_HINT" - /> - <!-- Companyname Field. Type: Text. (joomla) --> - <field - type="text" - name="companyname" - label="COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add company name here." - hint="COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_HINT" - /> - <!-- Author Field. Type: Text. (joomla) --> - <field - type="text" - name="author" - label="COM_COMPONENTBUILDER_COMPONENT_AUTHOR_LABEL" - size="10" - maxlength="120" - description="COM_COMPONENTBUILDER_COMPONENT_AUTHOR_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="HTML" - message="Error! Please add author name here." - hint="COM_COMPONENTBUILDER_COMPONENT_AUTHOR_HINT" - /> - <!-- Addfiles Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addfiles" - label="Files" - description="COM_COMPONENTBUILDER_COMPONENT_ADDFILES_DESCRIPTION" - id="addfiles" - class="addfile" - select="COM_COMPONENTBUILDER_COMPONENT_ADDFILES_SELECT" - icon="list" - maximum="500"> - <fields name="addfiles_fields" label=""> - <fieldset hidden="true" name="addfiles_modal" repeat="true"> - <!-- File Field. Type: Customfilelist. (custom) --> - <field - type="customfilelist" - name="file" - label="COM_COMPONENTBUILDER_COMPONENT_FILE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_FILE_DESCRIPTION" - class="list_class" - multiple="false" - default="0" - button="false" - /> - <!-- Path Field. Type: Text. (joomla) --> - <field - type="text" - name="path" - label="COM_COMPONENTBUILDER_COMPONENT_PATH_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_PATH_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="PATH" - message="Error! Please add target path." - hint="COM_COMPONENTBUILDER_COMPONENT_PATH_HINT" - /> - <!-- Notnew Field. Type: Radio. (joomla) --> - <field - type="radio" - name="notnew" - label="COM_COMPONENTBUILDER_COMPONENT_NOTNEW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_NOTNEW_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - </fieldset> - </fields> - </field> - <!-- Php_site_event Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_site_event" - label="COM_COMPONENTBUILDER_COMPONENT_PHP_SITE_EVENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_COMPONENT_PHP_SITE_EVENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_PHP_SITE_EVENT_HINT" - required="true" - /> - <!-- Version_update Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="version_update" - label="Version Updates" - description="COM_COMPONENTBUILDER_COMPONENT_VERSION_UPDATE_DESCRIPTION" - id="aid" - select="COM_COMPONENTBUILDER_COMPONENT_VERSION_UPDATE_SELECT" - icon="list" - maximum="300"> - <fields name="version_update_fields" label=""> - <fieldset hidden="true" name="version_update_modal" repeat="true"> - <!-- Version Field. Type: Text. (joomla) --> - <field - type="text" - name="version" - label="COM_COMPONENTBUILDER_COMPONENT_VERSION_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_COMPONENT_VERSION_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_COMPONENT_VERSION_HINT" - /> - <!-- Mysql Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="mysql" - label="COM_COMPONENTBUILDER_COMPONENT_MYSQL_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_COMPONENT_MYSQL_DESCRIPTION" - class="text_area span6" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_MYSQL_HINT" - /> - <!-- Url Field. Type: Url. (joomla) --> - <field - type="url" - name="url" - label="COM_COMPONENTBUILDER_COMPONENT_URL_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_URL_DESCRIPTION" - class="text_area" - filter="raw" - validated="url" - message="Error! Please add url here." - hint="COM_COMPONENTBUILDER_COMPONENT_URL_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Css Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css" - label="COM_COMPONENTBUILDER_COMPONENT_CSS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_COMPONENT_CSS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_CSS_HINT" - required="true" - /> - <!-- Debug_linenr Field. Type: Radio. (joomla) --> - <field - type="radio" - name="debug_linenr" - label="COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_DEBUG_LINENR_DESCRIPTION" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Emptycontributors Field. Type: Radio. (joomla) --> - <field - type="radio" - name="emptycontributors" - label="COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_EMPTYCONTRIBUTORS_DESCRIPTION" - class="btn-group btn-group-yesno" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Update_server Field. Type: Url. (joomla) --> - <field - type="url" - name="update_server" - label="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_DESCRIPTION" - class="text_area span12" - filter="url" - validated="url" - message="Error! Please add url here." - hint="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_HINT" - /> - <!-- Creatuserhelper Field. Type: Radio. (joomla) --> - <field - type="radio" - name="creatuserhelper" - label="COM_COMPONENTBUILDER_COMPONENT_CREATUSERHELPER_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Description Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="description" - label="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_LABEL" - rows="11" - cols="10" - description="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_HINT" - /> - <!-- Php_admin_event Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_admin_event" - label="COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_PHP_ADMIN_EVENT_HINT" - required="true" - /> - <!-- Bom Field. Type: Filelist. (joomla) --> - <field - type="filelist" - name="bom" - label="COM_COMPONENTBUILDER_COMPONENT_BOM_LABEL" - directory="administrator/components/com_componentbuilder/compiler" - default="default.txt" - description="COM_COMPONENTBUILDER_COMPONENT_BOM_DESCRIPTION" - hide_default="true" - /> - <!-- Update_server_ftp Field. Type: Text. (joomla) --> - <field - type="text" - name="update_server_ftp" - label="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_LABEL" - size="150" - maxlength="150" - default="host=HOSTNAME&amp;port=PORT_INT&amp;options[type]=FTP_BINARY&amp;options[timeout]=15&amp;username=user@name.com&amp;password=password" - description="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_DESCRIPTION" - class="text_area span12" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_HINT" - /> - <!-- Image Field. Type: Media. (joomla) --> - <field - type="media" - name="image" - label="COM_COMPONENTBUILDER_COMPONENT_IMAGE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_IMAGE_DESCRIPTION" - directory="" - /> - <!-- Spacer_hr_a Field. Type: Spacer. A None Database Field. (joomla) --> - <field type="spacer" name="spacer_hr_a" hr="true" class="spacer_hr_a" /> - <!-- Add_update_server Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_update_server" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_UPDATE_SERVER_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_folders" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FOLDERS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FOLDERS_DESCRIPTION" heading="h4" class="alert alert-info note_add_folders" close="false" /> - <!-- Php_dashboard_methods Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_dashboard_methods" - label="COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_PHP_DASHBOARD_METHODS_HINT" - required="true" - /> - <!-- Addfootable Field. Type: Radio. (joomla) --> - <field - type="radio" - name="addfootable" - label="COM_COMPONENTBUILDER_COMPONENT_ADDFOOTABLE_LABEL" - class="btn-group btn-group-yesno" - default="1" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Note_readme Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_readme" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_README_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_README_DESCRIPTION" heading="h4" class="note_readme" /> - <!-- Php_helper_admin Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_helper_admin" - label="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_LABEL" - rows="80" - cols="15" - description="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_ADMIN_HINT" - required="true" - /> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_COMPONENT_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add component name here." - hint="COM_COMPONENTBUILDER_COMPONENT_NAME_HINT" - /> - <!-- Php_helper_site Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_helper_site" - label="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_LABEL" - rows="80" - cols="15" - description="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_PHP_HELPER_SITE_HINT" - required="true" - /> - <!-- Note_on_contributors Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_on_contributors" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_DESCRIPTION" heading="h4" class="alert alert-info note_on_contributors" close="false" /> - <!-- Sql Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="sql" - label="COM_COMPONENTBUILDER_COMPONENT_SQL_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_COMPONENT_SQL_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_SQL_HINT" - required="true" - /> - <!-- Email Field. Type: Text. (joomla) --> - <field - type="text" - name="email" - label="COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION" - class="text_area" - required="true" - filter="STRING" - validate="email" - message="Error! Please author email address here." - hint="COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT" - /> - <!-- Addreadme Field. Type: Radio. (joomla) --> - <field - type="radio" - name="addreadme" - label="COM_COMPONENTBUILDER_COMPONENT_ADDREADME_LABEL" - class="btn-group btn-group-yesno" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Website Field. Type: Url. (joomla) --> - <field - type="url" - name="website" - label="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_DESCRIPTION" - class="text_area" - required="true" - filter="url" - validated="url" - message="Error! Please add website here." - hint="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_HINT" - /> - <!-- Add_sales_server Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_sales_server" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Copyright Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="copyright" - label="COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_LABEL" - rows="7" - cols="10" - default="Copyright (C) 2015. All Rights Reserved" - description="COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_COMPONENT_COPYRIGHT_HINT" - required="true" - /> - <!-- Addconfig Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addconfig" - label="Config" - description="COM_COMPONENTBUILDER_COMPONENT_ADDCONFIG_DESCRIPTION" - id="addconfigs" - class="addconfig" - select="COM_COMPONENTBUILDER_COMPONENT_ADDCONFIG_SELECT" - icon="list" - maximum="500"> - <fields name="addconfig_fields" label=""> - <fieldset hidden="true" name="addconfig_modal" repeat="true"> - <!-- Field Field. Type: Fields. (custom) --> - <field - type="fields" - name="field" - label="COM_COMPONENTBUILDER_COMPONENT_FIELD_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_FIELD_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - <!-- Custom_value Field. Type: Text. (joomla) --> - <field - type="text" - name="custom_value" - label="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - hint="COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_HINT" - /> - <!-- Tabname Field. Type: Text. (joomla) --> - <field - type="text" - name="tabname" - label="COM_COMPONENTBUILDER_COMPONENT_TABNAME_LABEL" - size="40" - maxlength="150" - default="Global" - description="COM_COMPONENTBUILDER_COMPONENT_TABNAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add tab name here." - hint="COM_COMPONENTBUILDER_COMPONENT_TABNAME_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_license Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_license" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ADD_LICENSE_DESCRIPTION" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Addcontributors Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addcontributors" - label="Contributors" - description="COM_COMPONENTBUILDER_COMPONENT_ADDCONTRIBUTORS_DESCRIPTION" - id="addcontributors" - class="addcontributor" - select="COM_COMPONENTBUILDER_COMPONENT_ADDCONTRIBUTORS_SELECT" - icon="list" - maximum="500"> - <fields name="addcontributors_fields" label=""> - <fieldset hidden="true" name="addcontributors_modal" repeat="true"> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_COMPONENT_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_COMPONENT_NAME_HINT" - /> - <!-- Title Field. Type: Text. (joomla) --> - <field - type="text" - name="title" - label="COM_COMPONENTBUILDER_COMPONENT_TITLE_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_TITLE_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_COMPONENT_TITLE_HINT" - /> - <!-- Email Field. Type: Text. (joomla) --> - <field - type="text" - name="email" - label="COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_COMPONENT_EMAIL_DESCRIPTION" - class="text_area" - filter="STRING" - validate="email" - message="Error! Please add email address here." - hint="COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT" - /> - <!-- Website Field. Type: Url. (joomla) --> - <field - type="url" - name="website" - label="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_DESCRIPTION" - class="text_area" - filter="url" - validated="url" - message="Error! Please add website here." - hint="COM_COMPONENTBUILDER_COMPONENT_WEBSITE_HINT" - /> - <!-- Use Field. Type: List. (joomla) --> - <field - type="list" - name="use" - label="COM_COMPONENTBUILDER_COMPONENT_USE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_USE_DESCRIPTION" - class="fieldMedium" - multiple="false" - default="2"> - <!-- Option Set. --> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NONE</option> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_EMAIL</option> - <option value="2"> - COM_COMPONENTBUILDER_COMPONENT_WEBSITE</option> - </field> - <!-- Show Field. Type: List. (joomla) --> - <field - type="list" - name="show" - label="COM_COMPONENTBUILDER_COMPONENT_SHOW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_SHOW_DESCRIPTION" - class="fieldMedium" - multiple="false" - default="3"> - <!-- Option Set. --> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NONE</option> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_BACK</option> - <option value="2"> - COM_COMPONENTBUILDER_COMPONENT_FRONT</option> - <option value="3"> - COM_COMPONENTBUILDER_COMPONENT_BOTH</option> - </field> - </fieldset> - </fields> - </field> - <!-- License_type Field. Type: List. (joomla) --> - <field - type="list" - name="license_type" - label="COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_LICENSE_TYPE_DESCRIPTION" - class="list_class" - multiple="false" - filter="int" - required="true" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_ADVANCED_ENCRYPTION_ONLY_TO_LOCK_DATA</option> - <option value="2"> - COM_COMPONENTBUILDER_COMPONENT_UPDATES_USED_IN_JOOMLA_UPDATER</option> - <option value="3"> - COM_COMPONENTBUILDER_COMPONENT_LOCK_DOWN_USE_USED_TO_VERIFY_OWNERSHIP</option> - <option value="4"> - COM_COMPONENTBUILDER_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE</option> - </field> - <!-- Number Field. Type: Number. (joomla) --> - <field - type="number" - name="number" - label="COM_COMPONENTBUILDER_COMPONENT_NUMBER_LABEL" - default="4" - class="text_area" - min="1" - max="40" - step="1" - /> - <!-- Note_whmcs_lisencing_note Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_whmcs_lisencing_note" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION" heading="h4" class="alert alert-success note_whmcs_lisencing_note" /> - <!-- Note_add_files Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_files" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_DESCRIPTION" heading="h4" class="alert alert-info note_add_files" close="false" /> - <!-- Whmcs_key Field. Type: Text. (joomla) --> - <field - type="text" - name="whmcs_key" - label="COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_DESCRIPTION" - class="text_area" - filter="STRING" - message="Error! Please add some secret key here." - hint="COM_COMPONENTBUILDER_COMPONENT_WHMCS_KEY_HINT" - /> - <!-- Spacer_hr_b Field. Type: Spacer. A None Database Field. (joomla) --> - <field type="spacer" name="spacer_hr_b" hr="true" class="spacer_hr_b" /> - <!-- Whmcs_url Field. Type: Url. (joomla) --> - <field - type="url" - name="whmcs_url" - label="COM_COMPONENTBUILDER_COMPONENT_WHMCS_URL_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_WHMCS_URL_DESCRIPTION" - class="text_area" - filter="url" - validated="url" - message="Error! Please add website here." - hint="COM_COMPONENTBUILDER_COMPONENT_WHMCS_URL_HINT" - /> - <!-- Addfolders Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addfolders" - label="Folder" - description="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_DESCRIPTION" - id="addfolders" - class="addfolder" - select="COM_COMPONENTBUILDER_COMPONENT_ADDFOLDERS_SELECT" - icon="list" - maximum="500"> - <fields name="addfolders_fields" label=""> - <fieldset hidden="true" name="addfolders_modal" repeat="true"> - <!-- Folder Field. Type: Customfolderlist. (custom) --> - <field - type="customfolderlist" - name="folder" - label="COM_COMPONENTBUILDER_COMPONENT_FOLDER_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_FOLDER_DESCRIPTION" - class="list_class" - multiple="false" - default="0" - button="false" - /> - <!-- Path Field. Type: Text. (joomla) --> - <field - type="text" - name="path" - label="COM_COMPONENTBUILDER_COMPONENT_PATH_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_PATH_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="PATH" - message="Error! Please add target path." - hint="COM_COMPONENTBUILDER_COMPONENT_PATH_HINT" - /> - <!-- Rename Field. Type: Radio. (joomla) --> - <field - type="radio" - name="rename" - label="COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - </fieldset> - </fields> - </field> - <!-- License Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="license" - label="COM_COMPONENTBUILDER_COMPONENT_LICENSE_LABEL" - rows="7" - cols="10" - default="GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html" - description="COM_COMPONENTBUILDER_COMPONENT_LICENSE_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_COMPONENT_LICENSE_HINT" - required="true" - /> - <!-- Adduikit Field. Type: Radio. (joomla) --> - <field - type="radio" - name="adduikit" - label="COM_COMPONENTBUILDER_COMPONENT_ADDUIKIT_LABEL" - class="btn-group btn-group-yesno" - default="1" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Note_on_views Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_on_views" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_VIEWS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_views" close="false" /> - <!-- Add_css Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_CSS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Addadmin_views Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addadmin_views" - label="Admin Views" - description="COM_COMPONENTBUILDER_COMPONENT_ADDADMIN_VIEWS_DESCRIPTION" - id="addadmin_views" - class="addadmin_view" - select="COM_COMPONENTBUILDER_COMPONENT_ADDADMIN_VIEWS_SELECT" - icon="list" - maximum="500"> - <fields name="addadmin_views_fields" label=""> - <fieldset hidden="true" name="addadmin_views_modal" repeat="true"> - <!-- Adminview Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="adminview" - label="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - <!-- Icomoon Field. Type: List. (joomla) --> - <field - type="list" - name="icomoon" - label="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_DESCRIPTION" - class="list_class fieldMedium" - multiple="false"> - <!-- Option Set. --> - <option value="joomla"> - COM_COMPONENTBUILDER_COMPONENT_JOOMLA</option> - <option value="address"> - COM_COMPONENTBUILDER_COMPONENT_ADDRESS</option> - <option value="pencil"> - COM_COMPONENTBUILDER_COMPONENT_PENCIL</option> - <option value="archive"> - COM_COMPONENTBUILDER_COMPONENT_ARCHIVE</option> - <option value="arrow-down-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_TWO</option> - <option value="arrow-down-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_THREE</option> - <option value="arrow-down-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_FOUR</option> - <option value="arrow-first"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_FIRST</option> - <option value="arrow-last"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LAST</option> - <option value="arrow-left-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_TWO</option> - <option value="arrow-left-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_THREE</option> - <option value="arrow-left-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_FOUR</option> - <option value="arrow-right-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_TWO</option> - <option value="arrow-right-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_THREE</option> - <option value="arrow-right-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_FOUR</option> - <option value="arrow-up-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_TWO</option> - <option value="arrow-up-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_THREE</option> - <option value="arrow-up-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_FOUR</option> - <option value="attachment"> - COM_COMPONENTBUILDER_COMPONENT_ATTACHMENT</option> - <option value="reply"> - COM_COMPONENTBUILDER_COMPONENT_REPLY</option> - <option value="backward-circle"> - COM_COMPONENTBUILDER_COMPONENT_BACKWARD_CIRCLE</option> - <option value="ban-circle"> - COM_COMPONENTBUILDER_COMPONENT_BAN_CIRCLE</option> - <option value="bars"> - COM_COMPONENTBUILDER_COMPONENT_BARS</option> - <option value="basket"> - COM_COMPONENTBUILDER_COMPONENT_BASKET</option> - <option value="book"> - COM_COMPONENTBUILDER_COMPONENT_BOOK</option> - <option value="bookmark"> - COM_COMPONENTBUILDER_COMPONENT_BOOKMARK</option> - <option value="bookmark-2"> - COM_COMPONENTBUILDER_COMPONENT_BOOKMARK_TWO</option> - <option value="box-add"> - COM_COMPONENTBUILDER_COMPONENT_BOX_ADD</option> - <option value="box-remove"> - COM_COMPONENTBUILDER_COMPONENT_BOX_REMOVE</option> - <option value="briefcase"> - COM_COMPONENTBUILDER_COMPONENT_BRIEFCASE</option> - <option value="wifi"> - COM_COMPONENTBUILDER_COMPONENT_WIFI</option> - <option value="brush"> - COM_COMPONENTBUILDER_COMPONENT_BRUSH</option> - <option value="calendar"> - COM_COMPONENTBUILDER_COMPONENT_CALENDAR</option> - <option value="calendar-2"> - COM_COMPONENTBUILDER_COMPONENT_CALENDAR_TWO</option> - <option value="calendar-3"> - COM_COMPONENTBUILDER_COMPONENT_CALENDAR_THREE</option> - <option value="camera"> - COM_COMPONENTBUILDER_COMPONENT_CAMERA</option> - <option value="camera-2 / video"> - COM_COMPONENTBUILDER_COMPONENT_CAMERA_TWO_VIDEO</option> - <option value="cancel-circle"> - COM_COMPONENTBUILDER_COMPONENT_CANCEL_CIRCLE</option> - <option value="cart"> - COM_COMPONENTBUILDER_COMPONENT_CART</option> - <option value="chart"> - COM_COMPONENTBUILDER_COMPONENT_CHART</option> - <option value="checkbox-partial"> - COM_COMPONENTBUILDER_COMPONENT_CHECKBOX_PARTIAL</option> - <option value="checkbox-unchecked"> - COM_COMPONENTBUILDER_COMPONENT_CHECKBOX_UNCHECKED</option> - <option value="lock"> - COM_COMPONENTBUILDER_COMPONENT_LOCK</option> - <option value="checkbox"> - COM_COMPONENTBUILDER_COMPONENT_CHECKBOX</option> - <option value="checkmark-2"> - COM_COMPONENTBUILDER_COMPONENT_CHECKMARK_TWO</option> - <option value="checkmark-circle"> - COM_COMPONENTBUILDER_COMPONENT_CHECKMARK_CIRCLE</option> - <option value="arrow-down"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN</option> - <option value="arrow-left"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT</option> - <option value="arrow-right"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT</option> - <option value="arrow-up"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP</option> - <option value="circle"> - COM_COMPONENTBUILDER_COMPONENT_CIRCLE</option> - <option value="clock"> - COM_COMPONENTBUILDER_COMPONENT_CLOCK</option> - <option value="cogs"> - COM_COMPONENTBUILDER_COMPONENT_COGS</option> - <option value="comment"> - COM_COMPONENTBUILDER_COMPONENT_COMMENT</option> - <option value="comments-2"> - COM_COMPONENTBUILDER_COMPONENT_COMMENTS_TWO</option> - <option value="compass"> - COM_COMPONENTBUILDER_COMPONENT_COMPASS</option> - <option value="contract"> - COM_COMPONENTBUILDER_COMPONENT_CONTRACT</option> - <option value="contract-2"> - COM_COMPONENTBUILDER_COMPONENT_CONTRACT_TWO</option> - <option value="credit"> - COM_COMPONENTBUILDER_COMPONENT_CREDIT</option> - <option value="credit-2"> - COM_COMPONENTBUILDER_COMPONENT_CREDIT_TWO</option> - <option value="cube"> - COM_COMPONENTBUILDER_COMPONENT_CUBE</option> - <option value="dashboard"> - COM_COMPONENTBUILDER_COMPONENT_DASHBOARD</option> - <option value="database"> - COM_COMPONENTBUILDER_COMPONENT_DATABASE</option> - <option value="delete"> - COM_COMPONENTBUILDER_COMPONENT_DELETE</option> - <option value="download"> - COM_COMPONENTBUILDER_COMPONENT_DOWNLOAD</option> - <option value="enter"> - COM_COMPONENTBUILDER_COMPONENT_ENTER</option> - <option value="envelope"> - COM_COMPONENTBUILDER_COMPONENT_ENVELOPE</option> - <option value="envelope-opened"> - COM_COMPONENTBUILDER_COMPONENT_ENVELOPE_OPENED</option> - <option value="equalizer"> - COM_COMPONENTBUILDER_COMPONENT_EQUALIZER</option> - <option value="exit"> - COM_COMPONENTBUILDER_COMPONENT_EXIT</option> - <option value="expand"> - COM_COMPONENTBUILDER_COMPONENT_EXPAND</option> - <option value="expand-2"> - COM_COMPONENTBUILDER_COMPONENT_EXPAND_TWO</option> - <option value="expired"> - COM_COMPONENTBUILDER_COMPONENT_EXPIRED</option> - <option value="eye-close"> - COM_COMPONENTBUILDER_COMPONENT_EYE_CLOSE</option> - <option value="eye-open"> - COM_COMPONENTBUILDER_COMPONENT_EYE_OPEN</option> - <option value="featured"> - COM_COMPONENTBUILDER_COMPONENT_FEATURED</option> - <option value="feed"> - COM_COMPONENTBUILDER_COMPONENT_FEED</option> - <option value="file"> - COM_COMPONENTBUILDER_COMPONENT_FILE</option> - <option value="file-2"> - COM_COMPONENTBUILDER_COMPONENT_FILE_TWO</option> - <option value="file-add"> - COM_COMPONENTBUILDER_COMPONENT_FILE_ADD</option> - <option value="file-check"> - COM_COMPONENTBUILDER_COMPONENT_FILE_CHECK</option> - <option value="file-minus"> - COM_COMPONENTBUILDER_COMPONENT_FILE_MINUS</option> - <option value="file-remove"> - COM_COMPONENTBUILDER_COMPONENT_FILE_REMOVE</option> - <option value="filter"> - COM_COMPONENTBUILDER_COMPONENT_FILTER</option> - <option value="first"> - COM_COMPONENTBUILDER_COMPONENT_FIRST</option> - <option value="flag"> - COM_COMPONENTBUILDER_COMPONENT_FLAG</option> - <option value="flag-3"> - COM_COMPONENTBUILDER_COMPONENT_FLAG_THREE</option> - <option value="folder-3"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_THREE</option> - <option value="folder-close"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_CLOSE</option> - <option value="folder-minus"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_MINUS</option> - <option value="folder-open"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_OPEN</option> - <option value="folder-plus"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_PLUS</option> - <option value="folder-plus-2"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_PLUS_TWO</option> - <option value="folder-remove"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_REMOVE</option> - <option value="forward-2"> - COM_COMPONENTBUILDER_COMPONENT_FORWARD_TWO</option> - <option value="forward-circle"> - COM_COMPONENTBUILDER_COMPONENT_FORWARD_CIRCLE</option> - <option value="grid"> - COM_COMPONENTBUILDER_COMPONENT_GRID</option> - <option value="grid-2"> - COM_COMPONENTBUILDER_COMPONENT_GRID_TWO</option> - <option value="health"> - COM_COMPONENTBUILDER_COMPONENT_HEALTH</option> - <option value="heart"> - COM_COMPONENTBUILDER_COMPONENT_HEART</option> - <option value="heart-2"> - COM_COMPONENTBUILDER_COMPONENT_HEART_TWO</option> - <option value="home"> - COM_COMPONENTBUILDER_COMPONENT_HOME</option> - <option value="home-2"> - COM_COMPONENTBUILDER_COMPONENT_HOME_TWO</option> - <option value="info"> - COM_COMPONENTBUILDER_COMPONENT_INFO</option> - <option value="info-circle"> - COM_COMPONENTBUILDER_COMPONENT_INFO_CIRCLE</option> - <option value="key"> - COM_COMPONENTBUILDER_COMPONENT_KEY</option> - <option value="lamp"> - COM_COMPONENTBUILDER_COMPONENT_LAMP</option> - <option value="last"> - COM_COMPONENTBUILDER_COMPONENT_LAST</option> - <option value="flash"> - COM_COMPONENTBUILDER_COMPONENT_FLASH</option> - <option value="link"> - COM_COMPONENTBUILDER_COMPONENT_LINK</option> - <option value="list"> - COM_COMPONENTBUILDER_COMPONENT_LIST</option> - <option value="list-2"> - COM_COMPONENTBUILDER_COMPONENT_LIST_TWO</option> - <option value="location"> - COM_COMPONENTBUILDER_COMPONENT_LOCATION</option> - <option value="loop"> - COM_COMPONENTBUILDER_COMPONENT_LOOP</option> - <option value="menu"> - COM_COMPONENTBUILDER_COMPONENT_MENU</option> - <option value="menu-2"> - COM_COMPONENTBUILDER_COMPONENT_MENU_TWO</option> - <option value="menu-3"> - COM_COMPONENTBUILDER_COMPONENT_MENU_THREE</option> - <option value="minus"> - COM_COMPONENTBUILDER_COMPONENT_MINUS</option> - <option value="minus-sign"> - COM_COMPONENTBUILDER_COMPONENT_MINUS_SIGN</option> - <option value="mobile"> - COM_COMPONENTBUILDER_COMPONENT_MOBILE</option> - <option value="move"> - COM_COMPONENTBUILDER_COMPONENT_MOVE</option> - <option value="music"> - COM_COMPONENTBUILDER_COMPONENT_MUSIC</option> - <option value="plus"> - COM_COMPONENTBUILDER_COMPONENT_PLUS</option> - <option value="next"> - COM_COMPONENTBUILDER_COMPONENT_NEXT</option> - <option value="notification"> - COM_COMPONENTBUILDER_COMPONENT_NOTIFICATION</option> - <option value="notification-circle"> - COM_COMPONENTBUILDER_COMPONENT_NOTIFICATION_CIRCLE</option> - <option value="cog"> - COM_COMPONENTBUILDER_COMPONENT_COG</option> - <option value="new-tab"> - COM_COMPONENTBUILDER_COMPONENT_NEW_TAB</option> - <option value="new-tab-2"> - COM_COMPONENTBUILDER_COMPONENT_NEW_TAB_TWO</option> - <option value="palette"> - COM_COMPONENTBUILDER_COMPONENT_PALETTE</option> - <option value="paragraph-center"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_CENTER</option> - <option value="paragraph-justify"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_JUSTIFY</option> - <option value="paragraph-left"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_LEFT</option> - <option value="paragraph-right"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_RIGHT</option> - <option value="pause"> - COM_COMPONENTBUILDER_COMPONENT_PAUSE</option> - <option value="pause-circle"> - COM_COMPONENTBUILDER_COMPONENT_PAUSE_CIRCLE</option> - <option value="pencil-2"> - COM_COMPONENTBUILDER_COMPONENT_PENCIL_TWO</option> - <option value="warning"> - COM_COMPONENTBUILDER_COMPONENT_WARNING</option> - <option value="phone"> - COM_COMPONENTBUILDER_COMPONENT_PHONE</option> - <option value="phone-2"> - COM_COMPONENTBUILDER_COMPONENT_PHONE_TWO</option> - <option value="image"> - COM_COMPONENTBUILDER_COMPONENT_IMAGE</option> - <option value="images"> - COM_COMPONENTBUILDER_COMPONENT_IMAGES</option> - <option value="pie"> - COM_COMPONENTBUILDER_COMPONENT_PIE</option> - <option value="pin"> - COM_COMPONENTBUILDER_COMPONENT_PIN</option> - <option value="play"> - COM_COMPONENTBUILDER_COMPONENT_PLAY</option> - <option value="youtube"> - COM_COMPONENTBUILDER_COMPONENT_YOUTUBE</option> - <option value="play-circle"> - COM_COMPONENTBUILDER_COMPONENT_PLAY_CIRCLE</option> - <option value="plus-circle"> - COM_COMPONENTBUILDER_COMPONENT_PLUS_CIRCLE</option> - <option value="power-cord"> - COM_COMPONENTBUILDER_COMPONENT_POWER_CORD</option> - <option value="previous"> - COM_COMPONENTBUILDER_COMPONENT_PREVIOUS</option> - <option value="print"> - COM_COMPONENTBUILDER_COMPONENT_PRINT</option> - <option value="publish"> - COM_COMPONENTBUILDER_COMPONENT_PUBLISH</option> - <option value="purge"> - COM_COMPONENTBUILDER_COMPONENT_PURGE</option> - <option value="puzzle"> - COM_COMPONENTBUILDER_COMPONENT_PUZZLE</option> - <option value="question"> - COM_COMPONENTBUILDER_COMPONENT_QUESTION</option> - <option value="question-2"> - COM_COMPONENTBUILDER_COMPONENT_QUESTION_TWO</option> - <option value="quotes-left"> - COM_COMPONENTBUILDER_COMPONENT_QUOTES_LEFT</option> - <option value="quotes-right"> - COM_COMPONENTBUILDER_COMPONENT_QUOTES_RIGHT</option> - <option value="bubble-quote"> - COM_COMPONENTBUILDER_COMPONENT_BUBBLE_QUOTE</option> - <option value="generic"> - COM_COMPONENTBUILDER_COMPONENT_GENERIC</option> - <option value="radio-unchecked"> - COM_COMPONENTBUILDER_COMPONENT_RADIO_UNCHECKED</option> - <option value="save-copy"> - COM_COMPONENTBUILDER_COMPONENT_SAVE_COPY</option> - <option value="save-new"> - COM_COMPONENTBUILDER_COMPONENT_SAVE_NEW</option> - <option value="scissors"> - COM_COMPONENTBUILDER_COMPONENT_SCISSORS</option> - <option value="screen"> - COM_COMPONENTBUILDER_COMPONENT_SCREEN</option> - <option value="screwdriver"> - COM_COMPONENTBUILDER_COMPONENT_SCREWDRIVER</option> - <option value="search"> - COM_COMPONENTBUILDER_COMPONENT_SEARCH</option> - <option value="share"> - COM_COMPONENTBUILDER_COMPONENT_SHARE</option> - <option value="share-alt"> - COM_COMPONENTBUILDER_COMPONENT_SHARE_ALT</option> - <option value="shield"> - COM_COMPONENTBUILDER_COMPONENT_SHIELD</option> - <option value="shuffle"> - COM_COMPONENTBUILDER_COMPONENT_SHUFFLE</option> - <option value="signup"> - COM_COMPONENTBUILDER_COMPONENT_SIGNUP</option> - <option value="smiley"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY</option> - <option value="smiley-2"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_TWO</option> - <option value="smiley-neutral"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_NEUTRAL</option> - <option value="smiley-neutral-2"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_NEUTRAL_TWO</option> - <option value="smiley-sad"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_SAD</option> - <option value="smiley-sad-2"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_SAD_TWO</option> - <option value="square"> - COM_COMPONENTBUILDER_COMPONENT_SQUARE</option> - <option value="stack"> - COM_COMPONENTBUILDER_COMPONENT_STACK</option> - <option value="star-2"> - COM_COMPONENTBUILDER_COMPONENT_STAR_TWO</option> - <option value="stop"> - COM_COMPONENTBUILDER_COMPONENT_STOP</option> - <option value="stop-circle"> - COM_COMPONENTBUILDER_COMPONENT_STOP_CIRCLE</option> - <option value="support"> - COM_COMPONENTBUILDER_COMPONENT_SUPPORT</option> - <option value="switch"> - COM_COMPONENTBUILDER_COMPONENT_SWITCH</option> - <option value="tablet"> - COM_COMPONENTBUILDER_COMPONENT_TABLET</option> - <option value="tag"> - COM_COMPONENTBUILDER_COMPONENT_TAG</option> - <option value="tag-2"> - COM_COMPONENTBUILDER_COMPONENT_TAG_TWO</option> - <option value="tags"> - COM_COMPONENTBUILDER_COMPONENT_TAGS</option> - <option value="tags-2"> - COM_COMPONENTBUILDER_COMPONENT_TAGS_TWO</option> - <option value="thumbs-down"> - COM_COMPONENTBUILDER_COMPONENT_THUMBS_DOWN</option> - <option value="thumbs-up"> - COM_COMPONENTBUILDER_COMPONENT_THUMBS_UP</option> - <option value="tree"> - COM_COMPONENTBUILDER_COMPONENT_TREE</option> - <option value="tree-2"> - COM_COMPONENTBUILDER_COMPONENT_TREE_TWO</option> - <option value="unarchive"> - COM_COMPONENTBUILDER_COMPONENT_UNARCHIVE</option> - <option value="unblock"> - COM_COMPONENTBUILDER_COMPONENT_UNBLOCK</option> - <option value="undo"> - COM_COMPONENTBUILDER_COMPONENT_UNDO</option> - <option value="undo-2"> - COM_COMPONENTBUILDER_COMPONENT_UNDO_TWO</option> - <option value="unfeatured"> - COM_COMPONENTBUILDER_COMPONENT_UNFEATURED</option> - <option value="unlock"> - COM_COMPONENTBUILDER_COMPONENT_UNLOCK</option> - <option value="unpublish"> - COM_COMPONENTBUILDER_COMPONENT_UNPUBLISH</option> - <option value="upload"> - COM_COMPONENTBUILDER_COMPONENT_UPLOAD</option> - <option value="user"> - COM_COMPONENTBUILDER_COMPONENT_USER</option> - <option value="users"> - COM_COMPONENTBUILDER_COMPONENT_USERS</option> - <option value="vcard"> - COM_COMPONENTBUILDER_COMPONENT_VCARD</option> - <option value="wand"> - COM_COMPONENTBUILDER_COMPONENT_WAND</option> - <option value="warning-circle"> - COM_COMPONENTBUILDER_COMPONENT_WARNING_CIRCLE</option> - <option value="wrench"> - COM_COMPONENTBUILDER_COMPONENT_WRENCH</option> - <option value="zoom-in"> - COM_COMPONENTBUILDER_COMPONENT_ZOOM_IN</option> - <option value="zoom-out"> - COM_COMPONENTBUILDER_COMPONENT_ZOOM_OUT</option> - </field> - <!-- Mainmenu Field. Type: Radio. (joomla) --> - <field - type="radio" - name="mainmenu" - label="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Dashboard_add Field. Type: Radio. (joomla) --> - <field - type="radio" - name="dashboard_add" - label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_ADD_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Dashboard_list Field. Type: Radio. (joomla) --> - <field - type="radio" - name="dashboard_list" - label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Submenu Field. Type: Radio. (joomla) --> - <field - type="radio" - name="submenu" - label="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Checkin Field. Type: Radio. (joomla) --> - <field - type="radio" - name="checkin" - label="COM_COMPONENTBUILDER_COMPONENT_CHECKIN_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_CHECKIN_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- History Field. Type: Radio. (joomla) --> - <field - type="radio" - name="history" - label="COM_COMPONENTBUILDER_COMPONENT_HISTORY_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_HISTORY_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Metadata Field. Type: Radio. (joomla) --> - <field - type="radio" - name="metadata" - label="COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_METADATA_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Access Field. Type: Radio. (joomla) --> - <field - type="radio" - name="access" - label="COM_COMPONENTBUILDER_COMPONENT_ACCESS_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ACCESS_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Port Field. Type: Radio. (joomla) --> - <field - type="radio" - name="port" - label="COM_COMPONENTBUILDER_COMPONENT_PORT_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_PORT_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Edit_create_site_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="edit_create_site_view" - label="COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Order Field. Type: Integer. (joomla) --> - <field - type="integer" - name="order" - label="COM_COMPONENTBUILDER_COMPONENT_ORDER_LABEL" - default="0" - description="COM_COMPONENTBUILDER_COMPONENT_ORDER_DESCRIPTION" - class="fieldSmall" - first="0" - last="400" - step="1" - /> - </fieldset> - </fields> - </field> - <!-- Add_php_helper_admin Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_helper_admin" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Addcustom_admin_views Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addcustom_admin_views" - label="Custom Admin Views" - id="addcustom_admin_views" - class="addcustom_admin_view" - select="COM_COMPONENTBUILDER_COMPONENT_ADDCUSTOM_ADMIN_VIEWS_SELECT" - icon="list" - maximum="50"> - <fields name="addcustom_admin_views_fields" label=""> - <fieldset hidden="true" name="addcustom_admin_views_modal" repeat="true"> - <!-- Customadminview Field. Type: Customadminviews. (custom) --> - <field - type="customadminviews" - name="customadminview" - label="COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - <!-- Icomoon Field. Type: List. (joomla) --> - <field - type="list" - name="icomoon" - label="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ICOMOON_DESCRIPTION" - class="list_class fieldMedium" - multiple="false"> - <!-- Option Set. --> - <option value="joomla"> - COM_COMPONENTBUILDER_COMPONENT_JOOMLA</option> - <option value="address"> - COM_COMPONENTBUILDER_COMPONENT_ADDRESS</option> - <option value="pencil"> - COM_COMPONENTBUILDER_COMPONENT_PENCIL</option> - <option value="archive"> - COM_COMPONENTBUILDER_COMPONENT_ARCHIVE</option> - <option value="arrow-down-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_TWO</option> - <option value="arrow-down-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_THREE</option> - <option value="arrow-down-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN_FOUR</option> - <option value="arrow-first"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_FIRST</option> - <option value="arrow-last"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LAST</option> - <option value="arrow-left-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_TWO</option> - <option value="arrow-left-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_THREE</option> - <option value="arrow-left-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT_FOUR</option> - <option value="arrow-right-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_TWO</option> - <option value="arrow-right-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_THREE</option> - <option value="arrow-right-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT_FOUR</option> - <option value="arrow-up-2"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_TWO</option> - <option value="arrow-up-3"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_THREE</option> - <option value="arrow-up-4"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP_FOUR</option> - <option value="attachment"> - COM_COMPONENTBUILDER_COMPONENT_ATTACHMENT</option> - <option value="reply"> - COM_COMPONENTBUILDER_COMPONENT_REPLY</option> - <option value="backward-circle"> - COM_COMPONENTBUILDER_COMPONENT_BACKWARD_CIRCLE</option> - <option value="ban-circle"> - COM_COMPONENTBUILDER_COMPONENT_BAN_CIRCLE</option> - <option value="bars"> - COM_COMPONENTBUILDER_COMPONENT_BARS</option> - <option value="basket"> - COM_COMPONENTBUILDER_COMPONENT_BASKET</option> - <option value="book"> - COM_COMPONENTBUILDER_COMPONENT_BOOK</option> - <option value="bookmark"> - COM_COMPONENTBUILDER_COMPONENT_BOOKMARK</option> - <option value="bookmark-2"> - COM_COMPONENTBUILDER_COMPONENT_BOOKMARK_TWO</option> - <option value="box-add"> - COM_COMPONENTBUILDER_COMPONENT_BOX_ADD</option> - <option value="box-remove"> - COM_COMPONENTBUILDER_COMPONENT_BOX_REMOVE</option> - <option value="briefcase"> - COM_COMPONENTBUILDER_COMPONENT_BRIEFCASE</option> - <option value="wifi"> - COM_COMPONENTBUILDER_COMPONENT_WIFI</option> - <option value="brush"> - COM_COMPONENTBUILDER_COMPONENT_BRUSH</option> - <option value="calendar"> - COM_COMPONENTBUILDER_COMPONENT_CALENDAR</option> - <option value="calendar-2"> - COM_COMPONENTBUILDER_COMPONENT_CALENDAR_TWO</option> - <option value="calendar-3"> - COM_COMPONENTBUILDER_COMPONENT_CALENDAR_THREE</option> - <option value="camera"> - COM_COMPONENTBUILDER_COMPONENT_CAMERA</option> - <option value="camera-2 / video"> - COM_COMPONENTBUILDER_COMPONENT_CAMERA_TWO_VIDEO</option> - <option value="cancel-circle"> - COM_COMPONENTBUILDER_COMPONENT_CANCEL_CIRCLE</option> - <option value="cart"> - COM_COMPONENTBUILDER_COMPONENT_CART</option> - <option value="chart"> - COM_COMPONENTBUILDER_COMPONENT_CHART</option> - <option value="checkbox-partial"> - COM_COMPONENTBUILDER_COMPONENT_CHECKBOX_PARTIAL</option> - <option value="checkbox-unchecked"> - COM_COMPONENTBUILDER_COMPONENT_CHECKBOX_UNCHECKED</option> - <option value="lock"> - COM_COMPONENTBUILDER_COMPONENT_LOCK</option> - <option value="checkbox"> - COM_COMPONENTBUILDER_COMPONENT_CHECKBOX</option> - <option value="checkmark-2"> - COM_COMPONENTBUILDER_COMPONENT_CHECKMARK_TWO</option> - <option value="checkmark-circle"> - COM_COMPONENTBUILDER_COMPONENT_CHECKMARK_CIRCLE</option> - <option value="arrow-down"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_DOWN</option> - <option value="arrow-left"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_LEFT</option> - <option value="arrow-right"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_RIGHT</option> - <option value="arrow-up"> - COM_COMPONENTBUILDER_COMPONENT_ARROW_UP</option> - <option value="circle"> - COM_COMPONENTBUILDER_COMPONENT_CIRCLE</option> - <option value="clock"> - COM_COMPONENTBUILDER_COMPONENT_CLOCK</option> - <option value="cogs"> - COM_COMPONENTBUILDER_COMPONENT_COGS</option> - <option value="comment"> - COM_COMPONENTBUILDER_COMPONENT_COMMENT</option> - <option value="comments-2"> - COM_COMPONENTBUILDER_COMPONENT_COMMENTS_TWO</option> - <option value="compass"> - COM_COMPONENTBUILDER_COMPONENT_COMPASS</option> - <option value="contract"> - COM_COMPONENTBUILDER_COMPONENT_CONTRACT</option> - <option value="contract-2"> - COM_COMPONENTBUILDER_COMPONENT_CONTRACT_TWO</option> - <option value="credit"> - COM_COMPONENTBUILDER_COMPONENT_CREDIT</option> - <option value="credit-2"> - COM_COMPONENTBUILDER_COMPONENT_CREDIT_TWO</option> - <option value="cube"> - COM_COMPONENTBUILDER_COMPONENT_CUBE</option> - <option value="dashboard"> - COM_COMPONENTBUILDER_COMPONENT_DASHBOARD</option> - <option value="database"> - COM_COMPONENTBUILDER_COMPONENT_DATABASE</option> - <option value="delete"> - COM_COMPONENTBUILDER_COMPONENT_DELETE</option> - <option value="download"> - COM_COMPONENTBUILDER_COMPONENT_DOWNLOAD</option> - <option value="enter"> - COM_COMPONENTBUILDER_COMPONENT_ENTER</option> - <option value="envelope"> - COM_COMPONENTBUILDER_COMPONENT_ENVELOPE</option> - <option value="envelope-opened"> - COM_COMPONENTBUILDER_COMPONENT_ENVELOPE_OPENED</option> - <option value="equalizer"> - COM_COMPONENTBUILDER_COMPONENT_EQUALIZER</option> - <option value="exit"> - COM_COMPONENTBUILDER_COMPONENT_EXIT</option> - <option value="expand"> - COM_COMPONENTBUILDER_COMPONENT_EXPAND</option> - <option value="expand-2"> - COM_COMPONENTBUILDER_COMPONENT_EXPAND_TWO</option> - <option value="expired"> - COM_COMPONENTBUILDER_COMPONENT_EXPIRED</option> - <option value="eye-close"> - COM_COMPONENTBUILDER_COMPONENT_EYE_CLOSE</option> - <option value="eye-open"> - COM_COMPONENTBUILDER_COMPONENT_EYE_OPEN</option> - <option value="featured"> - COM_COMPONENTBUILDER_COMPONENT_FEATURED</option> - <option value="feed"> - COM_COMPONENTBUILDER_COMPONENT_FEED</option> - <option value="file"> - COM_COMPONENTBUILDER_COMPONENT_FILE</option> - <option value="file-2"> - COM_COMPONENTBUILDER_COMPONENT_FILE_TWO</option> - <option value="file-add"> - COM_COMPONENTBUILDER_COMPONENT_FILE_ADD</option> - <option value="file-check"> - COM_COMPONENTBUILDER_COMPONENT_FILE_CHECK</option> - <option value="file-minus"> - COM_COMPONENTBUILDER_COMPONENT_FILE_MINUS</option> - <option value="file-remove"> - COM_COMPONENTBUILDER_COMPONENT_FILE_REMOVE</option> - <option value="filter"> - COM_COMPONENTBUILDER_COMPONENT_FILTER</option> - <option value="first"> - COM_COMPONENTBUILDER_COMPONENT_FIRST</option> - <option value="flag"> - COM_COMPONENTBUILDER_COMPONENT_FLAG</option> - <option value="flag-3"> - COM_COMPONENTBUILDER_COMPONENT_FLAG_THREE</option> - <option value="folder-3"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_THREE</option> - <option value="folder-close"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_CLOSE</option> - <option value="folder-minus"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_MINUS</option> - <option value="folder-open"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_OPEN</option> - <option value="folder-plus"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_PLUS</option> - <option value="folder-plus-2"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_PLUS_TWO</option> - <option value="folder-remove"> - COM_COMPONENTBUILDER_COMPONENT_FOLDER_REMOVE</option> - <option value="forward-2"> - COM_COMPONENTBUILDER_COMPONENT_FORWARD_TWO</option> - <option value="forward-circle"> - COM_COMPONENTBUILDER_COMPONENT_FORWARD_CIRCLE</option> - <option value="grid"> - COM_COMPONENTBUILDER_COMPONENT_GRID</option> - <option value="grid-2"> - COM_COMPONENTBUILDER_COMPONENT_GRID_TWO</option> - <option value="health"> - COM_COMPONENTBUILDER_COMPONENT_HEALTH</option> - <option value="heart"> - COM_COMPONENTBUILDER_COMPONENT_HEART</option> - <option value="heart-2"> - COM_COMPONENTBUILDER_COMPONENT_HEART_TWO</option> - <option value="home"> - COM_COMPONENTBUILDER_COMPONENT_HOME</option> - <option value="home-2"> - COM_COMPONENTBUILDER_COMPONENT_HOME_TWO</option> - <option value="info"> - COM_COMPONENTBUILDER_COMPONENT_INFO</option> - <option value="info-circle"> - COM_COMPONENTBUILDER_COMPONENT_INFO_CIRCLE</option> - <option value="key"> - COM_COMPONENTBUILDER_COMPONENT_KEY</option> - <option value="lamp"> - COM_COMPONENTBUILDER_COMPONENT_LAMP</option> - <option value="last"> - COM_COMPONENTBUILDER_COMPONENT_LAST</option> - <option value="flash"> - COM_COMPONENTBUILDER_COMPONENT_FLASH</option> - <option value="link"> - COM_COMPONENTBUILDER_COMPONENT_LINK</option> - <option value="list"> - COM_COMPONENTBUILDER_COMPONENT_LIST</option> - <option value="list-2"> - COM_COMPONENTBUILDER_COMPONENT_LIST_TWO</option> - <option value="location"> - COM_COMPONENTBUILDER_COMPONENT_LOCATION</option> - <option value="loop"> - COM_COMPONENTBUILDER_COMPONENT_LOOP</option> - <option value="menu"> - COM_COMPONENTBUILDER_COMPONENT_MENU</option> - <option value="menu-2"> - COM_COMPONENTBUILDER_COMPONENT_MENU_TWO</option> - <option value="menu-3"> - COM_COMPONENTBUILDER_COMPONENT_MENU_THREE</option> - <option value="minus"> - COM_COMPONENTBUILDER_COMPONENT_MINUS</option> - <option value="minus-sign"> - COM_COMPONENTBUILDER_COMPONENT_MINUS_SIGN</option> - <option value="mobile"> - COM_COMPONENTBUILDER_COMPONENT_MOBILE</option> - <option value="move"> - COM_COMPONENTBUILDER_COMPONENT_MOVE</option> - <option value="music"> - COM_COMPONENTBUILDER_COMPONENT_MUSIC</option> - <option value="plus"> - COM_COMPONENTBUILDER_COMPONENT_PLUS</option> - <option value="next"> - COM_COMPONENTBUILDER_COMPONENT_NEXT</option> - <option value="notification"> - COM_COMPONENTBUILDER_COMPONENT_NOTIFICATION</option> - <option value="notification-circle"> - COM_COMPONENTBUILDER_COMPONENT_NOTIFICATION_CIRCLE</option> - <option value="cog"> - COM_COMPONENTBUILDER_COMPONENT_COG</option> - <option value="new-tab"> - COM_COMPONENTBUILDER_COMPONENT_NEW_TAB</option> - <option value="new-tab-2"> - COM_COMPONENTBUILDER_COMPONENT_NEW_TAB_TWO</option> - <option value="palette"> - COM_COMPONENTBUILDER_COMPONENT_PALETTE</option> - <option value="paragraph-center"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_CENTER</option> - <option value="paragraph-justify"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_JUSTIFY</option> - <option value="paragraph-left"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_LEFT</option> - <option value="paragraph-right"> - COM_COMPONENTBUILDER_COMPONENT_PARAGRAPH_RIGHT</option> - <option value="pause"> - COM_COMPONENTBUILDER_COMPONENT_PAUSE</option> - <option value="pause-circle"> - COM_COMPONENTBUILDER_COMPONENT_PAUSE_CIRCLE</option> - <option value="pencil-2"> - COM_COMPONENTBUILDER_COMPONENT_PENCIL_TWO</option> - <option value="warning"> - COM_COMPONENTBUILDER_COMPONENT_WARNING</option> - <option value="phone"> - COM_COMPONENTBUILDER_COMPONENT_PHONE</option> - <option value="phone-2"> - COM_COMPONENTBUILDER_COMPONENT_PHONE_TWO</option> - <option value="image"> - COM_COMPONENTBUILDER_COMPONENT_IMAGE</option> - <option value="images"> - COM_COMPONENTBUILDER_COMPONENT_IMAGES</option> - <option value="pie"> - COM_COMPONENTBUILDER_COMPONENT_PIE</option> - <option value="pin"> - COM_COMPONENTBUILDER_COMPONENT_PIN</option> - <option value="play"> - COM_COMPONENTBUILDER_COMPONENT_PLAY</option> - <option value="youtube"> - COM_COMPONENTBUILDER_COMPONENT_YOUTUBE</option> - <option value="play-circle"> - COM_COMPONENTBUILDER_COMPONENT_PLAY_CIRCLE</option> - <option value="plus-circle"> - COM_COMPONENTBUILDER_COMPONENT_PLUS_CIRCLE</option> - <option value="power-cord"> - COM_COMPONENTBUILDER_COMPONENT_POWER_CORD</option> - <option value="previous"> - COM_COMPONENTBUILDER_COMPONENT_PREVIOUS</option> - <option value="print"> - COM_COMPONENTBUILDER_COMPONENT_PRINT</option> - <option value="publish"> - COM_COMPONENTBUILDER_COMPONENT_PUBLISH</option> - <option value="purge"> - COM_COMPONENTBUILDER_COMPONENT_PURGE</option> - <option value="puzzle"> - COM_COMPONENTBUILDER_COMPONENT_PUZZLE</option> - <option value="question"> - COM_COMPONENTBUILDER_COMPONENT_QUESTION</option> - <option value="question-2"> - COM_COMPONENTBUILDER_COMPONENT_QUESTION_TWO</option> - <option value="quotes-left"> - COM_COMPONENTBUILDER_COMPONENT_QUOTES_LEFT</option> - <option value="quotes-right"> - COM_COMPONENTBUILDER_COMPONENT_QUOTES_RIGHT</option> - <option value="bubble-quote"> - COM_COMPONENTBUILDER_COMPONENT_BUBBLE_QUOTE</option> - <option value="generic"> - COM_COMPONENTBUILDER_COMPONENT_GENERIC</option> - <option value="radio-unchecked"> - COM_COMPONENTBUILDER_COMPONENT_RADIO_UNCHECKED</option> - <option value="save-copy"> - COM_COMPONENTBUILDER_COMPONENT_SAVE_COPY</option> - <option value="save-new"> - COM_COMPONENTBUILDER_COMPONENT_SAVE_NEW</option> - <option value="scissors"> - COM_COMPONENTBUILDER_COMPONENT_SCISSORS</option> - <option value="screen"> - COM_COMPONENTBUILDER_COMPONENT_SCREEN</option> - <option value="screwdriver"> - COM_COMPONENTBUILDER_COMPONENT_SCREWDRIVER</option> - <option value="search"> - COM_COMPONENTBUILDER_COMPONENT_SEARCH</option> - <option value="share"> - COM_COMPONENTBUILDER_COMPONENT_SHARE</option> - <option value="share-alt"> - COM_COMPONENTBUILDER_COMPONENT_SHARE_ALT</option> - <option value="shield"> - COM_COMPONENTBUILDER_COMPONENT_SHIELD</option> - <option value="shuffle"> - COM_COMPONENTBUILDER_COMPONENT_SHUFFLE</option> - <option value="signup"> - COM_COMPONENTBUILDER_COMPONENT_SIGNUP</option> - <option value="smiley"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY</option> - <option value="smiley-2"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_TWO</option> - <option value="smiley-neutral"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_NEUTRAL</option> - <option value="smiley-neutral-2"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_NEUTRAL_TWO</option> - <option value="smiley-sad"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_SAD</option> - <option value="smiley-sad-2"> - COM_COMPONENTBUILDER_COMPONENT_SMILEY_SAD_TWO</option> - <option value="square"> - COM_COMPONENTBUILDER_COMPONENT_SQUARE</option> - <option value="stack"> - COM_COMPONENTBUILDER_COMPONENT_STACK</option> - <option value="star-2"> - COM_COMPONENTBUILDER_COMPONENT_STAR_TWO</option> - <option value="stop"> - COM_COMPONENTBUILDER_COMPONENT_STOP</option> - <option value="stop-circle"> - COM_COMPONENTBUILDER_COMPONENT_STOP_CIRCLE</option> - <option value="support"> - COM_COMPONENTBUILDER_COMPONENT_SUPPORT</option> - <option value="switch"> - COM_COMPONENTBUILDER_COMPONENT_SWITCH</option> - <option value="tablet"> - COM_COMPONENTBUILDER_COMPONENT_TABLET</option> - <option value="tag"> - COM_COMPONENTBUILDER_COMPONENT_TAG</option> - <option value="tag-2"> - COM_COMPONENTBUILDER_COMPONENT_TAG_TWO</option> - <option value="tags"> - COM_COMPONENTBUILDER_COMPONENT_TAGS</option> - <option value="tags-2"> - COM_COMPONENTBUILDER_COMPONENT_TAGS_TWO</option> - <option value="thumbs-down"> - COM_COMPONENTBUILDER_COMPONENT_THUMBS_DOWN</option> - <option value="thumbs-up"> - COM_COMPONENTBUILDER_COMPONENT_THUMBS_UP</option> - <option value="tree"> - COM_COMPONENTBUILDER_COMPONENT_TREE</option> - <option value="tree-2"> - COM_COMPONENTBUILDER_COMPONENT_TREE_TWO</option> - <option value="unarchive"> - COM_COMPONENTBUILDER_COMPONENT_UNARCHIVE</option> - <option value="unblock"> - COM_COMPONENTBUILDER_COMPONENT_UNBLOCK</option> - <option value="undo"> - COM_COMPONENTBUILDER_COMPONENT_UNDO</option> - <option value="undo-2"> - COM_COMPONENTBUILDER_COMPONENT_UNDO_TWO</option> - <option value="unfeatured"> - COM_COMPONENTBUILDER_COMPONENT_UNFEATURED</option> - <option value="unlock"> - COM_COMPONENTBUILDER_COMPONENT_UNLOCK</option> - <option value="unpublish"> - COM_COMPONENTBUILDER_COMPONENT_UNPUBLISH</option> - <option value="upload"> - COM_COMPONENTBUILDER_COMPONENT_UPLOAD</option> - <option value="user"> - COM_COMPONENTBUILDER_COMPONENT_USER</option> - <option value="users"> - COM_COMPONENTBUILDER_COMPONENT_USERS</option> - <option value="vcard"> - COM_COMPONENTBUILDER_COMPONENT_VCARD</option> - <option value="wand"> - COM_COMPONENTBUILDER_COMPONENT_WAND</option> - <option value="warning-circle"> - COM_COMPONENTBUILDER_COMPONENT_WARNING_CIRCLE</option> - <option value="wrench"> - COM_COMPONENTBUILDER_COMPONENT_WRENCH</option> - <option value="zoom-in"> - COM_COMPONENTBUILDER_COMPONENT_ZOOM_IN</option> - <option value="zoom-out"> - COM_COMPONENTBUILDER_COMPONENT_ZOOM_OUT</option> - </field> - <!-- Mainmenu Field. Type: Radio. (joomla) --> - <field - type="radio" - name="mainmenu" - label="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Dashboard_list Field. Type: Radio. (joomla) --> - <field - type="radio" - name="dashboard_list" - label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Submenu Field. Type: Radio. (joomla) --> - <field - type="radio" - name="submenu" - label="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Metadata Field. Type: Radio. (joomla) --> - <field - type="radio" - name="metadata" - label="COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_METADATA_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Access Field. Type: Radio. (joomla) --> - <field - type="radio" - name="access" - label="COM_COMPONENTBUILDER_COMPONENT_ACCESS_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ACCESS_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Adminviews Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="adminviews" - label="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_DESCRIPTION" - class="fieldMedium" - multiple="true" - button="false" - /> - <!-- Before Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="before" - label="COM_COMPONENTBUILDER_COMPONENT_BEFORE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_BEFORE_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - </fieldset> - </fields> - </field> - <!-- Add_admin_event Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_admin_event" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_ADMIN_EVENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Addsite_views Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addsite_views" - label="Site Views" - description="COM_COMPONENTBUILDER_COMPONENT_ADDSITE_VIEWS_DESCRIPTION" - id="addsite_views" - class="addsite_view" - select="COM_COMPONENTBUILDER_COMPONENT_ADDSITE_VIEWS_SELECT" - icon="list" - maximum="500"> - <fields name="addsite_views_fields" label=""> - <fieldset hidden="true" name="addsite_views_modal" repeat="true"> - <!-- Siteview Field. Type: Siteviews. (custom) --> - <field - type="siteviews" - name="siteview" - label="COM_COMPONENTBUILDER_COMPONENT_SITEVIEW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_SITEVIEW_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - <!-- Menu Field. Type: Radio. (joomla) --> - <field - type="radio" - name="menu" - label="COM_COMPONENTBUILDER_COMPONENT_MENU_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_MENU_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Metadata Field. Type: Radio. (joomla) --> - <field - type="radio" - name="metadata" - label="COM_COMPONENTBUILDER_COMPONENT_METADATA_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_METADATA_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Default_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="default_view" - label="COM_COMPONENTBUILDER_COMPONENT_DEFAULT_VIEW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_DEFAULT_VIEW_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Access Field. Type: Radio. (joomla) --> - <field - type="radio" - name="access" - label="COM_COMPONENTBUILDER_COMPONENT_ACCESS_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ACCESS_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - </fieldset> - </fields> - </field> - <!-- Add_php_helper_site Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_helper_site" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Spacer_hr_c Field. Type: Spacer. A None Database Field. (joomla) --> - <field type="spacer" name="spacer_hr_c" hr="true" class="spacer_hr_c" /> - <!-- Add_site_event Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_site_event" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Sql_tweak Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="sql_tweak" - label="MySql (tweak)" - description="COM_COMPONENTBUILDER_COMPONENT_SQL_TWEAK_DESCRIPTION" - id="sql_tweaks" - class="sql_tweak" - select="COM_COMPONENTBUILDER_COMPONENT_SQL_TWEAK_SELECT" - icon="list" - maximum="500"> - <fields name="sql_tweak_fields" label=""> - <fieldset hidden="true" name="sql_tweak_modal" repeat="true"> - <!-- Adminview Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="adminview" - label="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - <!-- Add_sql Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_sql" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Add_sql_options Field. Type: List. (joomla) --> - <field - type="list" - name="add_sql_options" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT"> - <!-- Option Set. --> - <option value=""> - COM_COMPONENTBUILDER_COMPONENT_SELECT_AN_OPTION</option> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_ALL</option> - <option value="2"> - COM_COMPONENTBUILDER_COMPONENT_ID_BASED</option> - </field> - <!-- Ids Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="ids" - label="COM_COMPONENTBUILDER_COMPONENT_IDS_LABEL" - rows="20" - cols="10" - description="COM_COMPONENTBUILDER_COMPONENT_IDS_DESCRIPTION" - class="text_area span6" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_IDS_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_sql Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_sql" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Spacer_hr_d Field. Type: Spacer. A None Database Field. (joomla) --> - <field type="spacer" name="spacer_hr_d" hr="true" class="spacer_hr_d" /> - <!-- Add_php_dashboard_methods Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_dashboard_methods" - label="COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_DASHBOARD_METHODS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Note_add_custom_menus Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_custom_menus" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CUSTOM_MENUS_DESCRIPTION" heading="h4" class="alert alert-info note_add_custom_menus" close="false" /> - <!-- Dashboard_tab Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="dashboard_tab" - label="Dashboard Tabs" - id="dashboard_tab" - class="dashboard_tabs" - select="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_TAB_SELECT" - icon="list" - maximum="5" - filter="raw"> - <fields name="dashboard_tab_fields" label=""> - <fieldset hidden="true" name="dashboard_tab_modal" repeat="true"> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_COMPONENT_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_COMPONENT_NAME_HINT" - /> - <!-- Header Field. Type: Text. (joomla) --> - <field - type="text" - name="header" - label="COM_COMPONENTBUILDER_COMPONENT_HEADER_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_HEADER_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add header here." - hint="COM_COMPONENTBUILDER_COMPONENT_HEADER_HINT" - /> - <!-- Html Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="html" - label="COM_COMPONENTBUILDER_COMPONENT_HTML_LABEL" - rows="20" - cols="15" - class="text_area span6" - filter="raw" - hint="COM_COMPONENTBUILDER_COMPONENT_HTML_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Addcustommenus Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="addcustommenus" - label="Custom Admin Menus" - id="addcustommenus" - class="addcustommenu" - select="COM_COMPONENTBUILDER_COMPONENT_ADDCUSTOMMENUS_SELECT" - icon="list" - maximum="50"> - <fields name="addcustommenus_fields" label=""> - <fieldset hidden="true" name="addcustommenus_modal" repeat="true"> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_COMPONENT_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_COMPONENT_NAME_HINT" - /> - <!-- Name_code Field. Type: Text. (joomla) --> - <field - type="text" - name="name_code" - label="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_DESCRIPTION" - class="text_area" - filter="CMD" - message="Error! Please add name in code here." - hint="COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_HINT" - /> - <!-- Link Field. Type: Text. (joomla) --> - <field - type="text" - name="link" - label="COM_COMPONENTBUILDER_COMPONENT_LINK_LABEL" - size="50" - maxlength="150" - description="COM_COMPONENTBUILDER_COMPONENT_LINK_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add menu link." - hint="COM_COMPONENTBUILDER_COMPONENT_LINK_HINT" - /> - <!-- Icon Field. Type: Filelist. (joomla) --> - <field - type="filelist" - name="icon" - label="COM_COMPONENTBUILDER_COMPONENT_ICON_LABEL" - directory="images" - description="COM_COMPONENTBUILDER_COMPONENT_ICON_DESCRIPTION" - hide_default="true" - /> - <!-- Mainmenu Field. Type: Radio. (joomla) --> - <field - type="radio" - name="mainmenu" - label="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_MAINMENU_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Dashboard_list Field. Type: Radio. (joomla) --> - <field - type="radio" - name="dashboard_list" - label="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_DASHBOARD_LIST_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Submenu Field. Type: Radio. (joomla) --> - <field - type="radio" - name="submenu" - label="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_SUBMENU_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_COMPONENT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_COMPONENT_NO</option> - </field> - <!-- Before Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="before" - label="COM_COMPONENTBUILDER_COMPONENT_BEFORE_LABEL" - description="COM_COMPONENTBUILDER_COMPONENT_BEFORE_DESCRIPTION" - class="fieldMedium" - multiple="false" - button="false" - /> - </fieldset> - </fields> - </field> - <!-- Readme Field. Type: Editor. (joomla) --> - <field - type="editor" - name="readme" - label="COM_COMPONENTBUILDER_COMPONENT_README_LABEL" - default="You can use all the normal markdown, including the place-holders." - width="100%" - height="1200px" - buttons="false" - editor="none" - filter="raw" - required="true" - /> - <!-- Spacer_hr_e Field. Type: Spacer. A None Database Field. (joomla) --> - <field type="spacer" name="spacer_hr_e" hr="true" class="spacer_hr_e" /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - <!-- Note_add_config Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_config" label="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_LABEL" description="COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_CONFIG_DESCRIPTION" heading="h4" class="alert alert-info note_add_config" close="false" /> - <!-- Sales_server_ftp Field. Type: Text. (joomla) --> - <field - type="text" - name="sales_server_ftp" - label="COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_LABEL" - size="150" - maxlength="150" - default="host=HOSTNAME&amp;port=PORT_INT&amp;options[type]=FTP_BINARY&amp;options[timeout]=15&amp;username=user@name.com&amp;password=password" - description="COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_DESCRIPTION" - class="text_area span12" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_HINT" - /> - </fieldset> - - -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/custom_admin_view.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/custom_admin_view.js deleted file mode 100644 index b6302f9d4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/custom_admin_view.js +++ /dev/null @@ -1,519 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_admin_view.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_UUvygXSRVS_required = false; -jform_aMHMMMUrka_required = false; -jform_rkKRbUpZxM_required = false; -jform_huIKQJIIGv_required = false; -jform_FzngrWQgtb_required = false; -jform_hIoOslIFll_required = false; -jform_xzMZcFNEqm_required = false; -jform_xzMZcFNgRU_required = false; -jform_pXgrNrIOuj_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var add_php_view_UUvygXS = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - UUvygXS(add_php_view_UUvygXS); - - var add_php_jview_display_aMHMMMU = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - aMHMMMU(add_php_jview_display_aMHMMMU); - - var add_php_jview_rkKRbUp = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - rkKRbUp(add_php_jview_rkKRbUp); - - var add_php_document_huIKQJI = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - huIKQJI(add_php_document_huIKQJI); - - var add_css_document_FzngrWQ = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - FzngrWQ(add_css_document_FzngrWQ); - - var add_js_document_hIoOslI = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - hIoOslI(add_js_document_hIoOslI); - - var add_custom_button_xzMZcFN = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - xzMZcFN(add_custom_button_xzMZcFN); - - var add_css_pXgrNrI = jQuery("#jform_add_css input[type='radio']:checked").val(); - pXgrNrI(add_css_pXgrNrI); -}); - -// the UUvygXS function -function UUvygXS(add_php_view_UUvygXS) -{ - // set the function logic - if (add_php_view_UUvygXS == 1) - { - jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_UUvygXSRVS_required) - { - updateFieldRequired('php_view',0); - jQuery('#jform_php_view').prop('required','required'); - jQuery('#jform_php_view').attr('aria-required',true); - jQuery('#jform_php_view').addClass('required'); - jform_UUvygXSRVS_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_UUvygXSRVS_required) - { - updateFieldRequired('php_view',1); - jQuery('#jform_php_view').removeAttr('required'); - jQuery('#jform_php_view').removeAttr('aria-required'); - jQuery('#jform_php_view').removeClass('required'); - jform_UUvygXSRVS_required = true; - } - } -} - -// the aMHMMMU function -function aMHMMMU(add_php_jview_display_aMHMMMU) -{ - // set the function logic - if (add_php_jview_display_aMHMMMU == 1) - { - jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_aMHMMMUrka_required) - { - updateFieldRequired('php_jview_display',0); - jQuery('#jform_php_jview_display').prop('required','required'); - jQuery('#jform_php_jview_display').attr('aria-required',true); - jQuery('#jform_php_jview_display').addClass('required'); - jform_aMHMMMUrka_required = false; - } - - } - else - { - jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_aMHMMMUrka_required) - { - updateFieldRequired('php_jview_display',1); - jQuery('#jform_php_jview_display').removeAttr('required'); - jQuery('#jform_php_jview_display').removeAttr('aria-required'); - jQuery('#jform_php_jview_display').removeClass('required'); - jform_aMHMMMUrka_required = true; - } - } -} - -// the rkKRbUp function -function rkKRbUp(add_php_jview_rkKRbUp) -{ - // set the function logic - if (add_php_jview_rkKRbUp == 1) - { - jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_rkKRbUpZxM_required) - { - updateFieldRequired('php_jview',0); - jQuery('#jform_php_jview').prop('required','required'); - jQuery('#jform_php_jview').attr('aria-required',true); - jQuery('#jform_php_jview').addClass('required'); - jform_rkKRbUpZxM_required = false; - } - - } - else - { - jQuery('#jform_php_jview').closest('.control-group').hide(); - if (!jform_rkKRbUpZxM_required) - { - updateFieldRequired('php_jview',1); - jQuery('#jform_php_jview').removeAttr('required'); - jQuery('#jform_php_jview').removeAttr('aria-required'); - jQuery('#jform_php_jview').removeClass('required'); - jform_rkKRbUpZxM_required = true; - } - } -} - -// the huIKQJI function -function huIKQJI(add_php_document_huIKQJI) -{ - // set the function logic - if (add_php_document_huIKQJI == 1) - { - jQuery('#jform_php_document').closest('.control-group').show(); - if (jform_huIKQJIIGv_required) - { - updateFieldRequired('php_document',0); - jQuery('#jform_php_document').prop('required','required'); - jQuery('#jform_php_document').attr('aria-required',true); - jQuery('#jform_php_document').addClass('required'); - jform_huIKQJIIGv_required = false; - } - - } - else - { - jQuery('#jform_php_document').closest('.control-group').hide(); - if (!jform_huIKQJIIGv_required) - { - updateFieldRequired('php_document',1); - jQuery('#jform_php_document').removeAttr('required'); - jQuery('#jform_php_document').removeAttr('aria-required'); - jQuery('#jform_php_document').removeClass('required'); - jform_huIKQJIIGv_required = true; - } - } -} - -// the FzngrWQ function -function FzngrWQ(add_css_document_FzngrWQ) -{ - // set the function logic - if (add_css_document_FzngrWQ == 1) - { - jQuery('#jform_css_document').closest('.control-group').show(); - if (jform_FzngrWQgtb_required) - { - updateFieldRequired('css_document',0); - jQuery('#jform_css_document').prop('required','required'); - jQuery('#jform_css_document').attr('aria-required',true); - jQuery('#jform_css_document').addClass('required'); - jform_FzngrWQgtb_required = false; - } - - } - else - { - jQuery('#jform_css_document').closest('.control-group').hide(); - if (!jform_FzngrWQgtb_required) - { - updateFieldRequired('css_document',1); - jQuery('#jform_css_document').removeAttr('required'); - jQuery('#jform_css_document').removeAttr('aria-required'); - jQuery('#jform_css_document').removeClass('required'); - jform_FzngrWQgtb_required = true; - } - } -} - -// the hIoOslI function -function hIoOslI(add_js_document_hIoOslI) -{ - // set the function logic - if (add_js_document_hIoOslI == 1) - { - jQuery('#jform_js_document').closest('.control-group').show(); - if (jform_hIoOslIFll_required) - { - updateFieldRequired('js_document',0); - jQuery('#jform_js_document').prop('required','required'); - jQuery('#jform_js_document').attr('aria-required',true); - jQuery('#jform_js_document').addClass('required'); - jform_hIoOslIFll_required = false; - } - - } - else - { - jQuery('#jform_js_document').closest('.control-group').hide(); - if (!jform_hIoOslIFll_required) - { - updateFieldRequired('js_document',1); - jQuery('#jform_js_document').removeAttr('required'); - jQuery('#jform_js_document').removeAttr('aria-required'); - jQuery('#jform_js_document').removeClass('required'); - jform_hIoOslIFll_required = true; - } - } -} - -// the xzMZcFN function -function xzMZcFN(add_custom_button_xzMZcFN) -{ - // set the function logic - if (add_custom_button_xzMZcFN == 1) - { - jQuery('#jform_custom_button').closest('.control-group').show(); - jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_xzMZcFNEqm_required) - { - updateFieldRequired('php_controller',0); - jQuery('#jform_php_controller').prop('required','required'); - jQuery('#jform_php_controller').attr('aria-required',true); - jQuery('#jform_php_controller').addClass('required'); - jform_xzMZcFNEqm_required = false; - } - - jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_xzMZcFNgRU_required) - { - updateFieldRequired('php_model',0); - jQuery('#jform_php_model').prop('required','required'); - jQuery('#jform_php_model').attr('aria-required',true); - jQuery('#jform_php_model').addClass('required'); - jform_xzMZcFNgRU_required = false; - } - - } - else - { - jQuery('#jform_custom_button').closest('.control-group').hide(); - jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_xzMZcFNEqm_required) - { - updateFieldRequired('php_controller',1); - jQuery('#jform_php_controller').removeAttr('required'); - jQuery('#jform_php_controller').removeAttr('aria-required'); - jQuery('#jform_php_controller').removeClass('required'); - jform_xzMZcFNEqm_required = true; - } - jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_xzMZcFNgRU_required) - { - updateFieldRequired('php_model',1); - jQuery('#jform_php_model').removeAttr('required'); - jQuery('#jform_php_model').removeAttr('aria-required'); - jQuery('#jform_php_model').removeClass('required'); - jform_xzMZcFNgRU_required = true; - } - } -} - -// the pXgrNrI function -function pXgrNrI(add_css_pXgrNrI) -{ - // set the function logic - if (add_css_pXgrNrI == 1) - { - jQuery('#jform_css').closest('.control-group').show(); - if (jform_pXgrNrIOuj_required) - { - updateFieldRequired('css',0); - jQuery('#jform_css').prop('required','required'); - jQuery('#jform_css').attr('aria-required',true); - jQuery('#jform_css').addClass('required'); - jform_pXgrNrIOuj_required = false; - } - - } - else - { - jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_pXgrNrIOuj_required) - { - updateFieldRequired('css',1); - jQuery('#jform_css').removeAttr('required'); - jQuery('#jform_css').removeAttr('aria-required'); - jQuery('#jform_css').removeClass('required'); - jform_pXgrNrIOuj_required = true; - } - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} - -function getSnippetDetails_server(snippetId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.snippetDetails&format=json"; - if(token.length > 0 && snippetId > 0){ - var request = 'token='+token+'&id='+snippetId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getSnippetDetails(id){ - getSnippetDetails_server(id).done(function(result) { - if(result.snippet){ - var description = ''; - if (result.description.length > 0) - { - description = '<p>'+result.description+'</p>'; - } - var code = '<div id="snippet-code"><b>'+result.name+' ('+result.type+')</b> <a href="'+result.url+'" target="_blank" >see more details</a><br /><em>'+result.heading+'</em><br /><textarea id="snippet" class="span12" rows="11">'+result.snippet+'</textarea></div>'; - jQuery('#snippet-code').remove(); - jQuery('.snippet-code').append(code); - // make sure the code block is active - jQuery("#snippet").focus(function() { - var jQuerythis = jQuery(this); - jQuerythis.select(); - - // Work around Chrome's little problem - jQuerythis.mouseup(function() { - // Prevent further mouseup intervention - jQuerythis.unbind("mouseup"); - return false; - }); - }); - } - if(result.usage){ - var usage = '<div id="snippet-usage"><p>'+result.usage+'</p></div>'; - jQuery('#snippet-usage').remove(); - jQuery('.snippet-usage').append(usage); - } - }) -} - -function getDynamicValues_server(dynamicId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicValues&format=json"; - if(token.length > 0 && dynamicId > 0){ - var request = 'token='+token+'&view=template&id='+dynamicId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicValues(id){ - getDynamicValues_server(id).done(function(result) { - if(result){ - jQuery('#dynamic_values').remove(); - jQuery('.dynamic_values').append('<div id="dynamic_values">'+result+'</div>'); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getLayoutDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.layoutDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getLayoutDetails(id){ - getLayoutDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getTemplateDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.templateDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getTemplateDetails(id){ - getTemplateDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getDynamicFormDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicFormDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicFormDetails(id){ - getTemplateDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/custom_admin_view.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/custom_admin_view.xml deleted file mode 100644 index 4f4189f3f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/custom_admin_view.xml +++ /dev/null @@ -1,950 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_VERSION_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- System_name Field. Type: Text. (joomla) --> - <field - type="text" - name="system_name" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_DESCRIPTION" - class="text_area" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_HINT" - /> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_HINT" - /> - <!-- Alias Field. Type: Text. (joomla) --> - <field - type="text" - name="alias" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_DESCRIPTION" - class="text_area" - filter="CMD" - message="Error! Please add name in code here." - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_HINT" - /> - <!-- Description Field. Type: Text. (joomla) --> - <field - type="text" - name="description" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL" - size="80" - maxlength="150" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add description here." - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_HINT" - /> - <!-- Snippet Field. Type: Snippets. (custom) --> - <field - type="snippets" - name="snippet" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SNIPPET_LABEL" - class="list_class" - multiple="false" - required="false" - button="true" - /> - <!-- Php_view Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_view" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_HINT" - required="true" - /> - <!-- Php_jview Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_jview" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_HINT" - required="true" - /> - <!-- Css_document Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css_document" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_HINT" - required="true" - /> - <!-- Php_document Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_document" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_HINT" - required="true" - /> - <!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" /> - <!-- Php_jview_display Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_jview_display" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_HINT" - required="true" - /> - <!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_uikit_snippet" label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" /> - <!-- Js_document Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="js_document" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_HINT" - required="true" - /> - <!-- Php_model Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_model" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_HINT" - required="flase" - /> - <!-- Css Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_HINT" - required="true" - /> - <!-- Custom_get Field. Type: Customgets. (custom) --> - <field - type="customgets" - name="custom_get" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_DESCRIPTION" - multiple="true" - /> - <!-- Main_get Field. Type: Maingets. (custom) --> - <field - type="maingets" - name="main_get" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MAIN_GET_DESCRIPTION" - multiple="false" - required="true" - button="true" - /> - <!-- Add_php_document Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_document" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Dynamic_get Field. Type: Dynamicgets. (custom) --> - <field - type="dynamicgets" - name="dynamic_get" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_GET_DESCRIPTION" - multiple="false" - required="false" - /> - <!-- Add_php_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_view" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_VIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="dynamic_values" label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_VALUES_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DYNAMIC_VALUES_DESCRIPTION" heading="h4" class="dynamic_values" /> - <!-- Add_php_jview_display Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_jview_display" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_language_string" label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_LABEL" description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" heading="h4" class="note_add_language_string" /> - <!-- Add_php_jview Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_jview" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_PHP_JVIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Default Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="default" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_LABEL" - rows="20" - cols="15" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_HINT" - required="true" - /> - <!-- Add_js_document Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_js_document" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_JS_DOCUMENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Add_custom_button Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_custom_button" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CUSTOM_BUTTON_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Add_css_document Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css_document" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_DOCUMENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Custom_button Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="custom_button" - label="Custom Buttons" - id="custom_button" - class="custom_buttons" - select="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_BUTTON_SELECT" - icon="list" - maximum="7"> - <fields name="custom_button_fields" label=""> - <fieldset hidden="true" name="custom_button_modal" repeat="true"> - <!-- Icomoon Field. Type: List. (joomla) --> - <field - type="list" - name="icomoon" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICOMOON_DESCRIPTION" - class="list_class fieldMedium" - multiple="false"> - <!-- Option Set. --> - <option value="joomla"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JOOMLA</option> - <option value="address"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADDRESS</option> - <option value="pencil"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PENCIL</option> - <option value="archive"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARCHIVE</option> - <option value="arrow-down-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_TWO</option> - <option value="arrow-down-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_THREE</option> - <option value="arrow-down-4"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN_FOUR</option> - <option value="arrow-first"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_FIRST</option> - <option value="arrow-last"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LAST</option> - <option value="arrow-left-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT_TWO</option> - <option value="arrow-left-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT_THREE</option> - <option value="arrow-left-4"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT_FOUR</option> - <option value="arrow-right-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT_TWO</option> - <option value="arrow-right-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT_THREE</option> - <option value="arrow-right-4"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT_FOUR</option> - <option value="arrow-up-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP_TWO</option> - <option value="arrow-up-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP_THREE</option> - <option value="arrow-up-4"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP_FOUR</option> - <option value="attachment"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ATTACHMENT</option> - <option value="reply"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_REPLY</option> - <option value="backward-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BACKWARD_CIRCLE</option> - <option value="ban-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BAN_CIRCLE</option> - <option value="bars"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BARS</option> - <option value="basket"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BASKET</option> - <option value="book"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOOK</option> - <option value="bookmark"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOOKMARK</option> - <option value="bookmark-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOOKMARK_TWO</option> - <option value="box-add"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOX_ADD</option> - <option value="box-remove"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOX_REMOVE</option> - <option value="briefcase"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BRIEFCASE</option> - <option value="wifi"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WIFI</option> - <option value="brush"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BRUSH</option> - <option value="calendar"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CALENDAR</option> - <option value="calendar-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CALENDAR_TWO</option> - <option value="calendar-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CALENDAR_THREE</option> - <option value="camera"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CAMERA</option> - <option value="camera-2 / video"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CAMERA_TWO_VIDEO</option> - <option value="cancel-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CANCEL_CIRCLE</option> - <option value="cart"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CART</option> - <option value="chart"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHART</option> - <option value="checkbox-partial"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKBOX_PARTIAL</option> - <option value="checkbox-unchecked"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKBOX_UNCHECKED</option> - <option value="lock"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LOCK</option> - <option value="checkbox"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKBOX</option> - <option value="checkmark-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKMARK_TWO</option> - <option value="checkmark-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CHECKMARK_CIRCLE</option> - <option value="arrow-down"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_DOWN</option> - <option value="arrow-left"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_LEFT</option> - <option value="arrow-right"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_RIGHT</option> - <option value="arrow-up"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ARROW_UP</option> - <option value="circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CIRCLE</option> - <option value="clock"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CLOCK</option> - <option value="cogs"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COGS</option> - <option value="comment"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMMENT</option> - <option value="comments-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMMENTS_TWO</option> - <option value="compass"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COMPASS</option> - <option value="contract"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT</option> - <option value="contract-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CONTRACT_TWO</option> - <option value="credit"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT</option> - <option value="credit-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT_TWO</option> - <option value="cube"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUBE</option> - <option value="dashboard"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DASHBOARD</option> - <option value="database"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DATABASE</option> - <option value="delete"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DELETE</option> - <option value="download"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DOWNLOAD</option> - <option value="enter"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ENTER</option> - <option value="envelope"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ENVELOPE</option> - <option value="envelope-opened"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ENVELOPE_OPENED</option> - <option value="equalizer"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EQUALIZER</option> - <option value="exit"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXIT</option> - <option value="expand"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXPAND</option> - <option value="expand-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXPAND_TWO</option> - <option value="expired"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EXPIRED</option> - <option value="eye-close"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EYE_CLOSE</option> - <option value="eye-open"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EYE_OPEN</option> - <option value="featured"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FEATURED</option> - <option value="feed"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FEED</option> - <option value="file"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE</option> - <option value="file-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_TWO</option> - <option value="file-add"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_ADD</option> - <option value="file-check"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_CHECK</option> - <option value="file-minus"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_MINUS</option> - <option value="file-remove"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILE_REMOVE</option> - <option value="filter"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FILTER</option> - <option value="first"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FIRST</option> - <option value="flag"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FLAG</option> - <option value="flag-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FLAG_THREE</option> - <option value="folder-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_THREE</option> - <option value="folder-close"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_CLOSE</option> - <option value="folder-minus"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_MINUS</option> - <option value="folder-open"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_OPEN</option> - <option value="folder-plus"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_PLUS</option> - <option value="folder-plus-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_PLUS_TWO</option> - <option value="folder-remove"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FOLDER_REMOVE</option> - <option value="forward-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FORWARD_TWO</option> - <option value="forward-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FORWARD_CIRCLE</option> - <option value="grid"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_GRID</option> - <option value="grid-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_GRID_TWO</option> - <option value="health"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HEALTH</option> - <option value="heart"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HEART</option> - <option value="heart-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HEART_TWO</option> - <option value="home"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME</option> - <option value="home-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_HOME_TWO</option> - <option value="info"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_INFO</option> - <option value="info-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_INFO_CIRCLE</option> - <option value="key"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_KEY</option> - <option value="lamp"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAMP</option> - <option value="last"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAST</option> - <option value="flash"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_FLASH</option> - <option value="link"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LINK</option> - <option value="list"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIST</option> - <option value="list-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIST_TWO</option> - <option value="location"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LOCATION</option> - <option value="loop"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LOOP</option> - <option value="menu"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MENU</option> - <option value="menu-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MENU_TWO</option> - <option value="menu-3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MENU_THREE</option> - <option value="minus"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS</option> - <option value="minus-sign"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MINUS_SIGN</option> - <option value="mobile"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOBILE</option> - <option value="move"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MOVE</option> - <option value="music"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_MUSIC</option> - <option value="plus"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLUS</option> - <option value="next"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEXT</option> - <option value="notification"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTIFICATION</option> - <option value="notification-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NOTIFICATION_CIRCLE</option> - <option value="cog"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_COG</option> - <option value="new-tab"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW_TAB</option> - <option value="new-tab-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW_TAB_TWO</option> - <option value="palette"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PALETTE</option> - <option value="paragraph-center"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_CENTER</option> - <option value="paragraph-justify"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_JUSTIFY</option> - <option value="paragraph-left"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_LEFT</option> - <option value="paragraph-right"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PARAGRAPH_RIGHT</option> - <option value="pause"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PAUSE</option> - <option value="pause-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PAUSE_CIRCLE</option> - <option value="pencil-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PENCIL_TWO</option> - <option value="warning"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WARNING</option> - <option value="phone"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHONE</option> - <option value="phone-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHONE_TWO</option> - <option value="image"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGE</option> - <option value="images"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_IMAGES</option> - <option value="pie"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PIE</option> - <option value="pin"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PIN</option> - <option value="play"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLAY</option> - <option value="youtube"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YOUTUBE</option> - <option value="play-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLAY_CIRCLE</option> - <option value="plus-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PLUS_CIRCLE</option> - <option value="power-cord"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_POWER_CORD</option> - <option value="previous"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PREVIOUS</option> - <option value="print"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PRINT</option> - <option value="publish"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PUBLISH</option> - <option value="purge"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PURGE</option> - <option value="puzzle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PUZZLE</option> - <option value="question"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUESTION</option> - <option value="question-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUESTION_TWO</option> - <option value="quotes-left"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUOTES_LEFT</option> - <option value="quotes-right"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_QUOTES_RIGHT</option> - <option value="bubble-quote"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BUBBLE_QUOTE</option> - <option value="generic"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_GENERIC</option> - <option value="radio-unchecked"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_RADIO_UNCHECKED</option> - <option value="save-copy"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SAVE_COPY</option> - <option value="save-new"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SAVE_NEW</option> - <option value="scissors"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SCISSORS</option> - <option value="screen"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SCREEN</option> - <option value="screwdriver"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SCREWDRIVER</option> - <option value="search"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SEARCH</option> - <option value="share"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHARE</option> - <option value="share-alt"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHARE_ALT</option> - <option value="shield"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHIELD</option> - <option value="shuffle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SHUFFLE</option> - <option value="signup"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SIGNUP</option> - <option value="smiley"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY</option> - <option value="smiley-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_TWO</option> - <option value="smiley-neutral"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_NEUTRAL</option> - <option value="smiley-neutral-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_NEUTRAL_TWO</option> - <option value="smiley-sad"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_SAD</option> - <option value="smiley-sad-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SMILEY_SAD_TWO</option> - <option value="square"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SQUARE</option> - <option value="stack"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STACK</option> - <option value="star-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STAR_TWO</option> - <option value="stop"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STOP</option> - <option value="stop-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STOP_CIRCLE</option> - <option value="support"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SUPPORT</option> - <option value="switch"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SWITCH</option> - <option value="tablet"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TABLET</option> - <option value="tag"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAG</option> - <option value="tag-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAG_TWO</option> - <option value="tags"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAGS</option> - <option value="tags-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TAGS_TWO</option> - <option value="thumbs-down"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_THUMBS_DOWN</option> - <option value="thumbs-up"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_THUMBS_UP</option> - <option value="tree"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TREE</option> - <option value="tree-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TREE_TWO</option> - <option value="unarchive"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNARCHIVE</option> - <option value="unblock"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNBLOCK</option> - <option value="undo"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNDO</option> - <option value="undo-2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNDO_TWO</option> - <option value="unfeatured"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNFEATURED</option> - <option value="unlock"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNLOCK</option> - <option value="unpublish"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UNPUBLISH</option> - <option value="upload"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_UPLOAD</option> - <option value="user"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_USER</option> - <option value="users"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_USERS</option> - <option value="vcard"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_VCARD</option> - <option value="wand"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WAND</option> - <option value="warning-circle"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WARNING_CIRCLE</option> - <option value="wrench"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_WRENCH</option> - <option value="zoom-in"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ZOOM_IN</option> - <option value="zoom-out"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ZOOM_OUT</option> - </field> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_HINT" - /> - <!-- Method Field. Type: Text. (joomla) --> - <field - type="text" - name="method" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_DESCRIPTION" - class="text_area" - filter="CMD" - message="Error! Please add controller method name here." - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_METHOD_HINT" - /> - <!-- Target Field. Type: List. (joomla) --> - <field - type="list" - name="target" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TARGET_LABEL" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_TARGET_DESCRIPTION" - class="list_class fieldMedium" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SINGLE</option> - <option value="2"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LIST</option> - <option value="3"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_BOTH</option> - </field> - </fieldset> - </fields> - </field> - <!-- Add_css Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ADD_CSS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO</option> - </field> - <!-- Php_controller Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_controller" - label="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_HINT" - required="true" - /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this custom_admin_view" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="custom_admin_view" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/dynamic_get.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/dynamic_get.js deleted file mode 100644 index 78c89f10e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/dynamic_get.js +++ /dev/null @@ -1,1367 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dynamic_get.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_FgGYZgQnXK_required = false; -jform_sfdMRPFhzU_required = false; -jform_CkHaVTIATr_required = false; -jform_ODFnDxCtSs_required = false; -jform_XgvcRpSxvy_required = false; -jform_zeHggvaMdT_required = false; -jform_lwVqorbDin_required = false; -jform_IqvJWRbUla_required = false; -jform_WOCZdYTAnk_required = false; -jform_aelJLJgmyW_required = false; -jform_aelJLJgsAk_required = false; -jform_tpZPucOpve_required = false; -jform_AXROJKrDOu_required = false; -jform_JrgxvrWAGw_required = false; -jform_xrgAMeuuIj_required = false; -jform_xrgAMeuToY_required = false; -jform_xrgAMeusYp_required = false; -jform_yuTNrmvJSv_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var gettype_FgGYZgQ = jQuery("#jform_gettype").val(); - FgGYZgQ(gettype_FgGYZgQ); - - var main_source_sfdMRPF = jQuery("#jform_main_source").val(); - sfdMRPF(main_source_sfdMRPF); - - var main_source_CkHaVTI = jQuery("#jform_main_source").val(); - CkHaVTI(main_source_CkHaVTI); - - var main_source_ODFnDxC = jQuery("#jform_main_source").val(); - ODFnDxC(main_source_ODFnDxC); - - var main_source_XgvcRpS = jQuery("#jform_main_source").val(); - XgvcRpS(main_source_XgvcRpS); - - var addcalculation_zeHggva = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - zeHggva(addcalculation_zeHggva); - - var addcalculation_gPqKgRk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_gPqKgRk = jQuery("#jform_gettype").val(); - gPqKgRk(addcalculation_gPqKgRk,gettype_gPqKgRk); - - var addcalculation_BjabfiD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_BjabfiD = jQuery("#jform_gettype").val(); - BjabfiD(addcalculation_BjabfiD,gettype_BjabfiD); - - var main_source_lwVqorb = jQuery("#jform_main_source").val(); - lwVqorb(main_source_lwVqorb); - - var main_source_fsketqC = jQuery("#jform_main_source").val(); - fsketqC(main_source_fsketqC); - - var add_php_before_getitem_IqvJWRb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_IqvJWRb = jQuery("#jform_gettype").val(); - IqvJWRb(add_php_before_getitem_IqvJWRb,gettype_IqvJWRb); - - var add_php_after_getitem_WOCZdYT = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_WOCZdYT = jQuery("#jform_gettype").val(); - WOCZdYT(add_php_after_getitem_WOCZdYT,gettype_WOCZdYT); - - var gettype_aelJLJg = jQuery("#jform_gettype").val(); - aelJLJg(gettype_aelJLJg); - - var add_php_getlistquery_tpZPucO = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_tpZPucO = jQuery("#jform_gettype").val(); - tpZPucO(add_php_getlistquery_tpZPucO,gettype_tpZPucO); - - var add_php_before_getitems_AXROJKr = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_AXROJKr = jQuery("#jform_gettype").val(); - AXROJKr(add_php_before_getitems_AXROJKr,gettype_AXROJKr); - - var add_php_after_getitems_JrgxvrW = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_JrgxvrW = jQuery("#jform_gettype").val(); - JrgxvrW(add_php_after_getitems_JrgxvrW,gettype_JrgxvrW); - - var gettype_xrgAMeu = jQuery("#jform_gettype").val(); - xrgAMeu(gettype_xrgAMeu); - - var gettype_yuTNrmv = jQuery("#jform_gettype").val(); - yuTNrmv(gettype_yuTNrmv); -}); - -// the FgGYZgQ function -function FgGYZgQ(gettype_FgGYZgQ) -{ - if (isSet(gettype_FgGYZgQ) && gettype_FgGYZgQ.constructor !== Array) - { - var temp_FgGYZgQ = gettype_FgGYZgQ; - var gettype_FgGYZgQ = []; - gettype_FgGYZgQ.push(temp_FgGYZgQ); - } - else if (!isSet(gettype_FgGYZgQ)) - { - var gettype_FgGYZgQ = []; - } - var gettype = gettype_FgGYZgQ.some(gettype_FgGYZgQ_SomeFunc); - - - // set this function logic - if (gettype) - { - jQuery('#jform_getcustom').closest('.control-group').show(); - if (jform_FgGYZgQnXK_required) - { - updateFieldRequired('getcustom',0); - jQuery('#jform_getcustom').prop('required','required'); - jQuery('#jform_getcustom').attr('aria-required',true); - jQuery('#jform_getcustom').addClass('required'); - jform_FgGYZgQnXK_required = false; - } - - } - else - { - jQuery('#jform_getcustom').closest('.control-group').hide(); - if (!jform_FgGYZgQnXK_required) - { - updateFieldRequired('getcustom',1); - jQuery('#jform_getcustom').removeAttr('required'); - jQuery('#jform_getcustom').removeAttr('aria-required'); - jQuery('#jform_getcustom').removeClass('required'); - jform_FgGYZgQnXK_required = true; - } - } -} - -// the FgGYZgQ Some function -function gettype_FgGYZgQ_SomeFunc(gettype_FgGYZgQ) -{ - // set the function logic - if (gettype_FgGYZgQ == 3 || gettype_FgGYZgQ == 4) - { - return true; - } - return false; -} - -// the sfdMRPF function -function sfdMRPF(main_source_sfdMRPF) -{ - if (isSet(main_source_sfdMRPF) && main_source_sfdMRPF.constructor !== Array) - { - var temp_sfdMRPF = main_source_sfdMRPF; - var main_source_sfdMRPF = []; - main_source_sfdMRPF.push(temp_sfdMRPF); - } - else if (!isSet(main_source_sfdMRPF)) - { - var main_source_sfdMRPF = []; - } - var main_source = main_source_sfdMRPF.some(main_source_sfdMRPF_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_table_main').closest('.control-group').show(); - if (jform_sfdMRPFhzU_required) - { - updateFieldRequired('view_table_main',0); - jQuery('#jform_view_table_main').prop('required','required'); - jQuery('#jform_view_table_main').attr('aria-required',true); - jQuery('#jform_view_table_main').addClass('required'); - jform_sfdMRPFhzU_required = false; - } - - } - else - { - jQuery('#jform_view_table_main').closest('.control-group').hide(); - if (!jform_sfdMRPFhzU_required) - { - updateFieldRequired('view_table_main',1); - jQuery('#jform_view_table_main').removeAttr('required'); - jQuery('#jform_view_table_main').removeAttr('aria-required'); - jQuery('#jform_view_table_main').removeClass('required'); - jform_sfdMRPFhzU_required = true; - } - } -} - -// the sfdMRPF Some function -function main_source_sfdMRPF_SomeFunc(main_source_sfdMRPF) -{ - // set the function logic - if (main_source_sfdMRPF == 1) - { - return true; - } - return false; -} - -// the CkHaVTI function -function CkHaVTI(main_source_CkHaVTI) -{ - if (isSet(main_source_CkHaVTI) && main_source_CkHaVTI.constructor !== Array) - { - var temp_CkHaVTI = main_source_CkHaVTI; - var main_source_CkHaVTI = []; - main_source_CkHaVTI.push(temp_CkHaVTI); - } - else if (!isSet(main_source_CkHaVTI)) - { - var main_source_CkHaVTI = []; - } - var main_source = main_source_CkHaVTI.some(main_source_CkHaVTI_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_selection').closest('.control-group').show(); - if (jform_CkHaVTIATr_required) - { - updateFieldRequired('view_selection',0); - jQuery('#jform_view_selection').prop('required','required'); - jQuery('#jform_view_selection').attr('aria-required',true); - jQuery('#jform_view_selection').addClass('required'); - jform_CkHaVTIATr_required = false; - } - - } - else - { - jQuery('#jform_view_selection').closest('.control-group').hide(); - if (!jform_CkHaVTIATr_required) - { - updateFieldRequired('view_selection',1); - jQuery('#jform_view_selection').removeAttr('required'); - jQuery('#jform_view_selection').removeAttr('aria-required'); - jQuery('#jform_view_selection').removeClass('required'); - jform_CkHaVTIATr_required = true; - } - } -} - -// the CkHaVTI Some function -function main_source_CkHaVTI_SomeFunc(main_source_CkHaVTI) -{ - // set the function logic - if (main_source_CkHaVTI == 1) - { - return true; - } - return false; -} - -// the ODFnDxC function -function ODFnDxC(main_source_ODFnDxC) -{ - if (isSet(main_source_ODFnDxC) && main_source_ODFnDxC.constructor !== Array) - { - var temp_ODFnDxC = main_source_ODFnDxC; - var main_source_ODFnDxC = []; - main_source_ODFnDxC.push(temp_ODFnDxC); - } - else if (!isSet(main_source_ODFnDxC)) - { - var main_source_ODFnDxC = []; - } - var main_source = main_source_ODFnDxC.some(main_source_ODFnDxC_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_db_table_main').closest('.control-group').show(); - if (jform_ODFnDxCtSs_required) - { - updateFieldRequired('db_table_main',0); - jQuery('#jform_db_table_main').prop('required','required'); - jQuery('#jform_db_table_main').attr('aria-required',true); - jQuery('#jform_db_table_main').addClass('required'); - jform_ODFnDxCtSs_required = false; - } - - } - else - { - jQuery('#jform_db_table_main').closest('.control-group').hide(); - if (!jform_ODFnDxCtSs_required) - { - updateFieldRequired('db_table_main',1); - jQuery('#jform_db_table_main').removeAttr('required'); - jQuery('#jform_db_table_main').removeAttr('aria-required'); - jQuery('#jform_db_table_main').removeClass('required'); - jform_ODFnDxCtSs_required = true; - } - } -} - -// the ODFnDxC Some function -function main_source_ODFnDxC_SomeFunc(main_source_ODFnDxC) -{ - // set the function logic - if (main_source_ODFnDxC == 2) - { - return true; - } - return false; -} - -// the XgvcRpS function -function XgvcRpS(main_source_XgvcRpS) -{ - if (isSet(main_source_XgvcRpS) && main_source_XgvcRpS.constructor !== Array) - { - var temp_XgvcRpS = main_source_XgvcRpS; - var main_source_XgvcRpS = []; - main_source_XgvcRpS.push(temp_XgvcRpS); - } - else if (!isSet(main_source_XgvcRpS)) - { - var main_source_XgvcRpS = []; - } - var main_source = main_source_XgvcRpS.some(main_source_XgvcRpS_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_db_selection').closest('.control-group').show(); - if (jform_XgvcRpSxvy_required) - { - updateFieldRequired('db_selection',0); - jQuery('#jform_db_selection').prop('required','required'); - jQuery('#jform_db_selection').attr('aria-required',true); - jQuery('#jform_db_selection').addClass('required'); - jform_XgvcRpSxvy_required = false; - } - - } - else - { - jQuery('#jform_db_selection').closest('.control-group').hide(); - if (!jform_XgvcRpSxvy_required) - { - updateFieldRequired('db_selection',1); - jQuery('#jform_db_selection').removeAttr('required'); - jQuery('#jform_db_selection').removeAttr('aria-required'); - jQuery('#jform_db_selection').removeClass('required'); - jform_XgvcRpSxvy_required = true; - } - } -} - -// the XgvcRpS Some function -function main_source_XgvcRpS_SomeFunc(main_source_XgvcRpS) -{ - // set the function logic - if (main_source_XgvcRpS == 2) - { - return true; - } - return false; -} - -// the zeHggva function -function zeHggva(addcalculation_zeHggva) -{ - // set the function logic - if (addcalculation_zeHggva == 1) - { - jQuery('#jform_php_calculation').closest('.control-group').show(); - if (jform_zeHggvaMdT_required) - { - updateFieldRequired('php_calculation',0); - jQuery('#jform_php_calculation').prop('required','required'); - jQuery('#jform_php_calculation').attr('aria-required',true); - jQuery('#jform_php_calculation').addClass('required'); - jform_zeHggvaMdT_required = false; - } - - } - else - { - jQuery('#jform_php_calculation').closest('.control-group').hide(); - if (!jform_zeHggvaMdT_required) - { - updateFieldRequired('php_calculation',1); - jQuery('#jform_php_calculation').removeAttr('required'); - jQuery('#jform_php_calculation').removeAttr('aria-required'); - jQuery('#jform_php_calculation').removeClass('required'); - jform_zeHggvaMdT_required = true; - } - } -} - -// the gPqKgRk function -function gPqKgRk(addcalculation_gPqKgRk,gettype_gPqKgRk) -{ - if (isSet(addcalculation_gPqKgRk) && addcalculation_gPqKgRk.constructor !== Array) - { - var temp_gPqKgRk = addcalculation_gPqKgRk; - var addcalculation_gPqKgRk = []; - addcalculation_gPqKgRk.push(temp_gPqKgRk); - } - else if (!isSet(addcalculation_gPqKgRk)) - { - var addcalculation_gPqKgRk = []; - } - var addcalculation = addcalculation_gPqKgRk.some(addcalculation_gPqKgRk_SomeFunc); - - if (isSet(gettype_gPqKgRk) && gettype_gPqKgRk.constructor !== Array) - { - var temp_gPqKgRk = gettype_gPqKgRk; - var gettype_gPqKgRk = []; - gettype_gPqKgRk.push(temp_gPqKgRk); - } - else if (!isSet(gettype_gPqKgRk)) - { - var gettype_gPqKgRk = []; - } - var gettype = gettype_gPqKgRk.some(gettype_gPqKgRk_SomeFunc); - - - // set this function logic - if (addcalculation && gettype) - { - jQuery('.note_calculation_item').closest('.control-group').show(); - } - else - { - jQuery('.note_calculation_item').closest('.control-group').hide(); - } -} - -// the gPqKgRk Some function -function addcalculation_gPqKgRk_SomeFunc(addcalculation_gPqKgRk) -{ - // set the function logic - if (addcalculation_gPqKgRk == 1) - { - return true; - } - return false; -} - -// the gPqKgRk Some function -function gettype_gPqKgRk_SomeFunc(gettype_gPqKgRk) -{ - // set the function logic - if (gettype_gPqKgRk == 1 || gettype_gPqKgRk == 3) - { - return true; - } - return false; -} - -// the BjabfiD function -function BjabfiD(addcalculation_BjabfiD,gettype_BjabfiD) -{ - if (isSet(addcalculation_BjabfiD) && addcalculation_BjabfiD.constructor !== Array) - { - var temp_BjabfiD = addcalculation_BjabfiD; - var addcalculation_BjabfiD = []; - addcalculation_BjabfiD.push(temp_BjabfiD); - } - else if (!isSet(addcalculation_BjabfiD)) - { - var addcalculation_BjabfiD = []; - } - var addcalculation = addcalculation_BjabfiD.some(addcalculation_BjabfiD_SomeFunc); - - if (isSet(gettype_BjabfiD) && gettype_BjabfiD.constructor !== Array) - { - var temp_BjabfiD = gettype_BjabfiD; - var gettype_BjabfiD = []; - gettype_BjabfiD.push(temp_BjabfiD); - } - else if (!isSet(gettype_BjabfiD)) - { - var gettype_BjabfiD = []; - } - var gettype = gettype_BjabfiD.some(gettype_BjabfiD_SomeFunc); - - - // set this function logic - if (addcalculation && gettype) - { - jQuery('.note_calculation_items').closest('.control-group').show(); - } - else - { - jQuery('.note_calculation_items').closest('.control-group').hide(); - } -} - -// the BjabfiD Some function -function addcalculation_BjabfiD_SomeFunc(addcalculation_BjabfiD) -{ - // set the function logic - if (addcalculation_BjabfiD == 1) - { - return true; - } - return false; -} - -// the BjabfiD Some function -function gettype_BjabfiD_SomeFunc(gettype_BjabfiD) -{ - // set the function logic - if (gettype_BjabfiD == 2 || gettype_BjabfiD == 4) - { - return true; - } - return false; -} - -// the lwVqorb function -function lwVqorb(main_source_lwVqorb) -{ - if (isSet(main_source_lwVqorb) && main_source_lwVqorb.constructor !== Array) - { - var temp_lwVqorb = main_source_lwVqorb; - var main_source_lwVqorb = []; - main_source_lwVqorb.push(temp_lwVqorb); - } - else if (!isSet(main_source_lwVqorb)) - { - var main_source_lwVqorb = []; - } - var main_source = main_source_lwVqorb.some(main_source_lwVqorb_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_php_custom_get').closest('.control-group').show(); - if (jform_lwVqorbDin_required) - { - updateFieldRequired('php_custom_get',0); - jQuery('#jform_php_custom_get').prop('required','required'); - jQuery('#jform_php_custom_get').attr('aria-required',true); - jQuery('#jform_php_custom_get').addClass('required'); - jform_lwVqorbDin_required = false; - } - - } - else - { - jQuery('#jform_php_custom_get').closest('.control-group').hide(); - if (!jform_lwVqorbDin_required) - { - updateFieldRequired('php_custom_get',1); - jQuery('#jform_php_custom_get').removeAttr('required'); - jQuery('#jform_php_custom_get').removeAttr('aria-required'); - jQuery('#jform_php_custom_get').removeClass('required'); - jform_lwVqorbDin_required = true; - } - } -} - -// the lwVqorb Some function -function main_source_lwVqorb_SomeFunc(main_source_lwVqorb) -{ - // set the function logic - if (main_source_lwVqorb == 3) - { - return true; - } - return false; -} - -// the fsketqC function -function fsketqC(main_source_fsketqC) -{ - if (isSet(main_source_fsketqC) && main_source_fsketqC.constructor !== Array) - { - var temp_fsketqC = main_source_fsketqC; - var main_source_fsketqC = []; - main_source_fsketqC.push(temp_fsketqC); - } - else if (!isSet(main_source_fsketqC)) - { - var main_source_fsketqC = []; - } - var main_source = main_source_fsketqC.some(main_source_fsketqC_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_filter').closest('.control-group').show(); - jQuery('#jform_global').closest('.control-group').show(); - jQuery('#jform_where').closest('.control-group').show(); - jQuery('#jform_join_db_table').closest('.control-group').show(); - jQuery('#jform_join_view_table').closest('.control-group').show(); - } - else - { - jQuery('#jform_filter').closest('.control-group').hide(); - jQuery('#jform_global').closest('.control-group').hide(); - jQuery('#jform_where').closest('.control-group').hide(); - jQuery('#jform_join_db_table').closest('.control-group').hide(); - jQuery('#jform_join_view_table').closest('.control-group').hide(); - } -} - -// the fsketqC Some function -function main_source_fsketqC_SomeFunc(main_source_fsketqC) -{ - // set the function logic - if (main_source_fsketqC == 1 || main_source_fsketqC == 2) - { - return true; - } - return false; -} - -// the IqvJWRb function -function IqvJWRb(add_php_before_getitem_IqvJWRb,gettype_IqvJWRb) -{ - if (isSet(add_php_before_getitem_IqvJWRb) && add_php_before_getitem_IqvJWRb.constructor !== Array) - { - var temp_IqvJWRb = add_php_before_getitem_IqvJWRb; - var add_php_before_getitem_IqvJWRb = []; - add_php_before_getitem_IqvJWRb.push(temp_IqvJWRb); - } - else if (!isSet(add_php_before_getitem_IqvJWRb)) - { - var add_php_before_getitem_IqvJWRb = []; - } - var add_php_before_getitem = add_php_before_getitem_IqvJWRb.some(add_php_before_getitem_IqvJWRb_SomeFunc); - - if (isSet(gettype_IqvJWRb) && gettype_IqvJWRb.constructor !== Array) - { - var temp_IqvJWRb = gettype_IqvJWRb; - var gettype_IqvJWRb = []; - gettype_IqvJWRb.push(temp_IqvJWRb); - } - else if (!isSet(gettype_IqvJWRb)) - { - var gettype_IqvJWRb = []; - } - var gettype = gettype_IqvJWRb.some(gettype_IqvJWRb_SomeFunc); - - - // set this function logic - if (add_php_before_getitem && gettype) - { - jQuery('#jform_php_before_getitem').closest('.control-group').show(); - if (jform_IqvJWRbUla_required) - { - updateFieldRequired('php_before_getitem',0); - jQuery('#jform_php_before_getitem').prop('required','required'); - jQuery('#jform_php_before_getitem').attr('aria-required',true); - jQuery('#jform_php_before_getitem').addClass('required'); - jform_IqvJWRbUla_required = false; - } - - } - else - { - jQuery('#jform_php_before_getitem').closest('.control-group').hide(); - if (!jform_IqvJWRbUla_required) - { - updateFieldRequired('php_before_getitem',1); - jQuery('#jform_php_before_getitem').removeAttr('required'); - jQuery('#jform_php_before_getitem').removeAttr('aria-required'); - jQuery('#jform_php_before_getitem').removeClass('required'); - jform_IqvJWRbUla_required = true; - } - } -} - -// the IqvJWRb Some function -function add_php_before_getitem_IqvJWRb_SomeFunc(add_php_before_getitem_IqvJWRb) -{ - // set the function logic - if (add_php_before_getitem_IqvJWRb == 1) - { - return true; - } - return false; -} - -// the IqvJWRb Some function -function gettype_IqvJWRb_SomeFunc(gettype_IqvJWRb) -{ - // set the function logic - if (gettype_IqvJWRb == 1 || gettype_IqvJWRb == 3) - { - return true; - } - return false; -} - -// the WOCZdYT function -function WOCZdYT(add_php_after_getitem_WOCZdYT,gettype_WOCZdYT) -{ - if (isSet(add_php_after_getitem_WOCZdYT) && add_php_after_getitem_WOCZdYT.constructor !== Array) - { - var temp_WOCZdYT = add_php_after_getitem_WOCZdYT; - var add_php_after_getitem_WOCZdYT = []; - add_php_after_getitem_WOCZdYT.push(temp_WOCZdYT); - } - else if (!isSet(add_php_after_getitem_WOCZdYT)) - { - var add_php_after_getitem_WOCZdYT = []; - } - var add_php_after_getitem = add_php_after_getitem_WOCZdYT.some(add_php_after_getitem_WOCZdYT_SomeFunc); - - if (isSet(gettype_WOCZdYT) && gettype_WOCZdYT.constructor !== Array) - { - var temp_WOCZdYT = gettype_WOCZdYT; - var gettype_WOCZdYT = []; - gettype_WOCZdYT.push(temp_WOCZdYT); - } - else if (!isSet(gettype_WOCZdYT)) - { - var gettype_WOCZdYT = []; - } - var gettype = gettype_WOCZdYT.some(gettype_WOCZdYT_SomeFunc); - - - // set this function logic - if (add_php_after_getitem && gettype) - { - jQuery('#jform_php_after_getitem').closest('.control-group').show(); - if (jform_WOCZdYTAnk_required) - { - updateFieldRequired('php_after_getitem',0); - jQuery('#jform_php_after_getitem').prop('required','required'); - jQuery('#jform_php_after_getitem').attr('aria-required',true); - jQuery('#jform_php_after_getitem').addClass('required'); - jform_WOCZdYTAnk_required = false; - } - - } - else - { - jQuery('#jform_php_after_getitem').closest('.control-group').hide(); - if (!jform_WOCZdYTAnk_required) - { - updateFieldRequired('php_after_getitem',1); - jQuery('#jform_php_after_getitem').removeAttr('required'); - jQuery('#jform_php_after_getitem').removeAttr('aria-required'); - jQuery('#jform_php_after_getitem').removeClass('required'); - jform_WOCZdYTAnk_required = true; - } - } -} - -// the WOCZdYT Some function -function add_php_after_getitem_WOCZdYT_SomeFunc(add_php_after_getitem_WOCZdYT) -{ - // set the function logic - if (add_php_after_getitem_WOCZdYT == 1) - { - return true; - } - return false; -} - -// the WOCZdYT Some function -function gettype_WOCZdYT_SomeFunc(gettype_WOCZdYT) -{ - // set the function logic - if (gettype_WOCZdYT == 1 || gettype_WOCZdYT == 3) - { - return true; - } - return false; -} - -// the aelJLJg function -function aelJLJg(gettype_aelJLJg) -{ - if (isSet(gettype_aelJLJg) && gettype_aelJLJg.constructor !== Array) - { - var temp_aelJLJg = gettype_aelJLJg; - var gettype_aelJLJg = []; - gettype_aelJLJg.push(temp_aelJLJg); - } - else if (!isSet(gettype_aelJLJg)) - { - var gettype_aelJLJg = []; - } - var gettype = gettype_aelJLJg.some(gettype_aelJLJg_SomeFunc); - - - // set this function logic - if (gettype) - { - jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); - if (jform_aelJLJgmyW_required) - { - updateFieldRequired('add_php_after_getitem',0); - jQuery('#jform_add_php_after_getitem').prop('required','required'); - jQuery('#jform_add_php_after_getitem').attr('aria-required',true); - jQuery('#jform_add_php_after_getitem').addClass('required'); - jform_aelJLJgmyW_required = false; - } - - jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); - if (jform_aelJLJgsAk_required) - { - updateFieldRequired('add_php_before_getitem',0); - jQuery('#jform_add_php_before_getitem').prop('required','required'); - jQuery('#jform_add_php_before_getitem').attr('aria-required',true); - jQuery('#jform_add_php_before_getitem').addClass('required'); - jform_aelJLJgsAk_required = false; - } - - } - else - { - jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); - if (!jform_aelJLJgmyW_required) - { - updateFieldRequired('add_php_after_getitem',1); - jQuery('#jform_add_php_after_getitem').removeAttr('required'); - jQuery('#jform_add_php_after_getitem').removeAttr('aria-required'); - jQuery('#jform_add_php_after_getitem').removeClass('required'); - jform_aelJLJgmyW_required = true; - } - jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); - if (!jform_aelJLJgsAk_required) - { - updateFieldRequired('add_php_before_getitem',1); - jQuery('#jform_add_php_before_getitem').removeAttr('required'); - jQuery('#jform_add_php_before_getitem').removeAttr('aria-required'); - jQuery('#jform_add_php_before_getitem').removeClass('required'); - jform_aelJLJgsAk_required = true; - } - } -} - -// the aelJLJg Some function -function gettype_aelJLJg_SomeFunc(gettype_aelJLJg) -{ - // set the function logic - if (gettype_aelJLJg == 1 || gettype_aelJLJg == 3) - { - return true; - } - return false; -} - -// the tpZPucO function -function tpZPucO(add_php_getlistquery_tpZPucO,gettype_tpZPucO) -{ - if (isSet(add_php_getlistquery_tpZPucO) && add_php_getlistquery_tpZPucO.constructor !== Array) - { - var temp_tpZPucO = add_php_getlistquery_tpZPucO; - var add_php_getlistquery_tpZPucO = []; - add_php_getlistquery_tpZPucO.push(temp_tpZPucO); - } - else if (!isSet(add_php_getlistquery_tpZPucO)) - { - var add_php_getlistquery_tpZPucO = []; - } - var add_php_getlistquery = add_php_getlistquery_tpZPucO.some(add_php_getlistquery_tpZPucO_SomeFunc); - - if (isSet(gettype_tpZPucO) && gettype_tpZPucO.constructor !== Array) - { - var temp_tpZPucO = gettype_tpZPucO; - var gettype_tpZPucO = []; - gettype_tpZPucO.push(temp_tpZPucO); - } - else if (!isSet(gettype_tpZPucO)) - { - var gettype_tpZPucO = []; - } - var gettype = gettype_tpZPucO.some(gettype_tpZPucO_SomeFunc); - - - // set this function logic - if (add_php_getlistquery && gettype) - { - jQuery('#jform_php_getlistquery').closest('.control-group').show(); - if (jform_tpZPucOpve_required) - { - updateFieldRequired('php_getlistquery',0); - jQuery('#jform_php_getlistquery').prop('required','required'); - jQuery('#jform_php_getlistquery').attr('aria-required',true); - jQuery('#jform_php_getlistquery').addClass('required'); - jform_tpZPucOpve_required = false; - } - - } - else - { - jQuery('#jform_php_getlistquery').closest('.control-group').hide(); - if (!jform_tpZPucOpve_required) - { - updateFieldRequired('php_getlistquery',1); - jQuery('#jform_php_getlistquery').removeAttr('required'); - jQuery('#jform_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_php_getlistquery').removeClass('required'); - jform_tpZPucOpve_required = true; - } - } -} - -// the tpZPucO Some function -function add_php_getlistquery_tpZPucO_SomeFunc(add_php_getlistquery_tpZPucO) -{ - // set the function logic - if (add_php_getlistquery_tpZPucO == 1) - { - return true; - } - return false; -} - -// the tpZPucO Some function -function gettype_tpZPucO_SomeFunc(gettype_tpZPucO) -{ - // set the function logic - if (gettype_tpZPucO == 2 || gettype_tpZPucO == 4) - { - return true; - } - return false; -} - -// the AXROJKr function -function AXROJKr(add_php_before_getitems_AXROJKr,gettype_AXROJKr) -{ - if (isSet(add_php_before_getitems_AXROJKr) && add_php_before_getitems_AXROJKr.constructor !== Array) - { - var temp_AXROJKr = add_php_before_getitems_AXROJKr; - var add_php_before_getitems_AXROJKr = []; - add_php_before_getitems_AXROJKr.push(temp_AXROJKr); - } - else if (!isSet(add_php_before_getitems_AXROJKr)) - { - var add_php_before_getitems_AXROJKr = []; - } - var add_php_before_getitems = add_php_before_getitems_AXROJKr.some(add_php_before_getitems_AXROJKr_SomeFunc); - - if (isSet(gettype_AXROJKr) && gettype_AXROJKr.constructor !== Array) - { - var temp_AXROJKr = gettype_AXROJKr; - var gettype_AXROJKr = []; - gettype_AXROJKr.push(temp_AXROJKr); - } - else if (!isSet(gettype_AXROJKr)) - { - var gettype_AXROJKr = []; - } - var gettype = gettype_AXROJKr.some(gettype_AXROJKr_SomeFunc); - - - // set this function logic - if (add_php_before_getitems && gettype) - { - jQuery('#jform_php_before_getitems').closest('.control-group').show(); - if (jform_AXROJKrDOu_required) - { - updateFieldRequired('php_before_getitems',0); - jQuery('#jform_php_before_getitems').prop('required','required'); - jQuery('#jform_php_before_getitems').attr('aria-required',true); - jQuery('#jform_php_before_getitems').addClass('required'); - jform_AXROJKrDOu_required = false; - } - - } - else - { - jQuery('#jform_php_before_getitems').closest('.control-group').hide(); - if (!jform_AXROJKrDOu_required) - { - updateFieldRequired('php_before_getitems',1); - jQuery('#jform_php_before_getitems').removeAttr('required'); - jQuery('#jform_php_before_getitems').removeAttr('aria-required'); - jQuery('#jform_php_before_getitems').removeClass('required'); - jform_AXROJKrDOu_required = true; - } - } -} - -// the AXROJKr Some function -function add_php_before_getitems_AXROJKr_SomeFunc(add_php_before_getitems_AXROJKr) -{ - // set the function logic - if (add_php_before_getitems_AXROJKr == 1) - { - return true; - } - return false; -} - -// the AXROJKr Some function -function gettype_AXROJKr_SomeFunc(gettype_AXROJKr) -{ - // set the function logic - if (gettype_AXROJKr == 2 || gettype_AXROJKr == 4) - { - return true; - } - return false; -} - -// the JrgxvrW function -function JrgxvrW(add_php_after_getitems_JrgxvrW,gettype_JrgxvrW) -{ - if (isSet(add_php_after_getitems_JrgxvrW) && add_php_after_getitems_JrgxvrW.constructor !== Array) - { - var temp_JrgxvrW = add_php_after_getitems_JrgxvrW; - var add_php_after_getitems_JrgxvrW = []; - add_php_after_getitems_JrgxvrW.push(temp_JrgxvrW); - } - else if (!isSet(add_php_after_getitems_JrgxvrW)) - { - var add_php_after_getitems_JrgxvrW = []; - } - var add_php_after_getitems = add_php_after_getitems_JrgxvrW.some(add_php_after_getitems_JrgxvrW_SomeFunc); - - if (isSet(gettype_JrgxvrW) && gettype_JrgxvrW.constructor !== Array) - { - var temp_JrgxvrW = gettype_JrgxvrW; - var gettype_JrgxvrW = []; - gettype_JrgxvrW.push(temp_JrgxvrW); - } - else if (!isSet(gettype_JrgxvrW)) - { - var gettype_JrgxvrW = []; - } - var gettype = gettype_JrgxvrW.some(gettype_JrgxvrW_SomeFunc); - - - // set this function logic - if (add_php_after_getitems && gettype) - { - jQuery('#jform_php_after_getitems').closest('.control-group').show(); - if (jform_JrgxvrWAGw_required) - { - updateFieldRequired('php_after_getitems',0); - jQuery('#jform_php_after_getitems').prop('required','required'); - jQuery('#jform_php_after_getitems').attr('aria-required',true); - jQuery('#jform_php_after_getitems').addClass('required'); - jform_JrgxvrWAGw_required = false; - } - - } - else - { - jQuery('#jform_php_after_getitems').closest('.control-group').hide(); - if (!jform_JrgxvrWAGw_required) - { - updateFieldRequired('php_after_getitems',1); - jQuery('#jform_php_after_getitems').removeAttr('required'); - jQuery('#jform_php_after_getitems').removeAttr('aria-required'); - jQuery('#jform_php_after_getitems').removeClass('required'); - jform_JrgxvrWAGw_required = true; - } - } -} - -// the JrgxvrW Some function -function add_php_after_getitems_JrgxvrW_SomeFunc(add_php_after_getitems_JrgxvrW) -{ - // set the function logic - if (add_php_after_getitems_JrgxvrW == 1) - { - return true; - } - return false; -} - -// the JrgxvrW Some function -function gettype_JrgxvrW_SomeFunc(gettype_JrgxvrW) -{ - // set the function logic - if (gettype_JrgxvrW == 2 || gettype_JrgxvrW == 4) - { - return true; - } - return false; -} - -// the xrgAMeu function -function xrgAMeu(gettype_xrgAMeu) -{ - if (isSet(gettype_xrgAMeu) && gettype_xrgAMeu.constructor !== Array) - { - var temp_xrgAMeu = gettype_xrgAMeu; - var gettype_xrgAMeu = []; - gettype_xrgAMeu.push(temp_xrgAMeu); - } - else if (!isSet(gettype_xrgAMeu)) - { - var gettype_xrgAMeu = []; - } - var gettype = gettype_xrgAMeu.some(gettype_xrgAMeu_SomeFunc); - - - // set this function logic - if (gettype) - { - jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); - if (jform_xrgAMeuuIj_required) - { - updateFieldRequired('add_php_after_getitems',0); - jQuery('#jform_add_php_after_getitems').prop('required','required'); - jQuery('#jform_add_php_after_getitems').attr('aria-required',true); - jQuery('#jform_add_php_after_getitems').addClass('required'); - jform_xrgAMeuuIj_required = false; - } - - jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); - if (jform_xrgAMeuToY_required) - { - updateFieldRequired('add_php_before_getitems',0); - jQuery('#jform_add_php_before_getitems').prop('required','required'); - jQuery('#jform_add_php_before_getitems').attr('aria-required',true); - jQuery('#jform_add_php_before_getitems').addClass('required'); - jform_xrgAMeuToY_required = false; - } - - jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); - if (jform_xrgAMeusYp_required) - { - updateFieldRequired('add_php_getlistquery',0); - jQuery('#jform_add_php_getlistquery').prop('required','required'); - jQuery('#jform_add_php_getlistquery').attr('aria-required',true); - jQuery('#jform_add_php_getlistquery').addClass('required'); - jform_xrgAMeusYp_required = false; - } - - } - else - { - jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); - if (!jform_xrgAMeuuIj_required) - { - updateFieldRequired('add_php_after_getitems',1); - jQuery('#jform_add_php_after_getitems').removeAttr('required'); - jQuery('#jform_add_php_after_getitems').removeAttr('aria-required'); - jQuery('#jform_add_php_after_getitems').removeClass('required'); - jform_xrgAMeuuIj_required = true; - } - jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); - if (!jform_xrgAMeuToY_required) - { - updateFieldRequired('add_php_before_getitems',1); - jQuery('#jform_add_php_before_getitems').removeAttr('required'); - jQuery('#jform_add_php_before_getitems').removeAttr('aria-required'); - jQuery('#jform_add_php_before_getitems').removeClass('required'); - jform_xrgAMeuToY_required = true; - } - jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); - if (!jform_xrgAMeusYp_required) - { - updateFieldRequired('add_php_getlistquery',1); - jQuery('#jform_add_php_getlistquery').removeAttr('required'); - jQuery('#jform_add_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_add_php_getlistquery').removeClass('required'); - jform_xrgAMeusYp_required = true; - } - } -} - -// the xrgAMeu Some function -function gettype_xrgAMeu_SomeFunc(gettype_xrgAMeu) -{ - // set the function logic - if (gettype_xrgAMeu == 2 || gettype_xrgAMeu == 4) - { - return true; - } - return false; -} - -// the yuTNrmv function -function yuTNrmv(gettype_yuTNrmv) -{ - if (isSet(gettype_yuTNrmv) && gettype_yuTNrmv.constructor !== Array) - { - var temp_yuTNrmv = gettype_yuTNrmv; - var gettype_yuTNrmv = []; - gettype_yuTNrmv.push(temp_yuTNrmv); - } - else if (!isSet(gettype_yuTNrmv)) - { - var gettype_yuTNrmv = []; - } - var gettype = gettype_yuTNrmv.some(gettype_yuTNrmv_SomeFunc); - - - // set this function logic - if (gettype) - { - jQuery('#jform_pagination').closest('.control-group').show(); - if (jform_yuTNrmvJSv_required) - { - updateFieldRequired('pagination',0); - jQuery('#jform_pagination').prop('required','required'); - jQuery('#jform_pagination').attr('aria-required',true); - jQuery('#jform_pagination').addClass('required'); - jform_yuTNrmvJSv_required = false; - } - - } - else - { - jQuery('#jform_pagination').closest('.control-group').hide(); - if (!jform_yuTNrmvJSv_required) - { - updateFieldRequired('pagination',1); - jQuery('#jform_pagination').removeAttr('required'); - jQuery('#jform_pagination').removeAttr('aria-required'); - jQuery('#jform_pagination').removeClass('required'); - jform_yuTNrmvJSv_required = true; - } - } -} - -// the yuTNrmv Some function -function gettype_yuTNrmv_SomeFunc(gettype_yuTNrmv) -{ - // set the function logic - if (gettype_yuTNrmv == 2) - { - return true; - } - return false; -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} - -function getViewTableColumns_server(viewId,asKey,rowType) -{ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.viewTableColumns&format=json"; - if (token.length > 0 && viewId > 0 && asKey.length > 0) - { - var request = 'token='+token+'&as='+asKey+'&type='+rowType+'&id='+viewId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getViewTableColumns(id,asKey,key,rowType,main) -{ - getViewTableColumns_server(id,asKey,rowType).done(function(result) { - if (result) - { - loadSelectionData(result,'view',key,main); - } - else - { - loadSelectionData(false,'view',key,main); - } - }) -} - -function getDbTableColumns_server(name,asKey,rowType) -{ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dbTableColumns&format=json"; - if (token.length > 0 && name.length > 0 && asKey.length > 0) - { - var request = 'token='+token+'&as='+asKey+'&type='+rowType+'&name='+name; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDbTableColumns(name,asKey,key,rowType,main) -{ - getDbTableColumns_server(name,asKey,rowType).done(function(result) { - if (result) - { - loadSelectionData(result,'db',key,main); - } - else - { - loadSelectionData(false,'db',key,main); - } - }) -} - -function loadSelectionData(result,type,key,main) -{ - if (main) - { - var textArea = 'textarea#jform_'+key+'_selection'; - } - else - { - var textArea = 'textarea#jform_join_'+type+'_table_fields_selection-'+key; - } - // no update the text area - if (result) - { - jQuery(textArea).val(result); - } - else - { - jQuery(textArea).val(''); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/dynamic_get.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/dynamic_get.xml deleted file mode 100644 index eeadf4b16..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/dynamic_get.xml +++ /dev/null @@ -1,1344 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_VERSION_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_HINT" - /> - <!-- Main_source Field. Type: List. (joomla) --> - <field - type="list" - name="main_source" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - required="true"> - <!-- Option Set. --> - <option value=""> - COM_COMPONENTBUILDER_DYNAMIC_GET_PLEASE_SELECT</option> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_BACKEND_VIEW</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOOMLA_DATABASE</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM</option> - </field> - <!-- Gettype Field. Type: List. (joomla) --> - <field - type="list" - name="gettype" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - required="true" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GETITEM</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GETLISTQUERY</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOMS</option> - </field> - <!-- Getcustom Field. Type: Text. (joomla) --> - <field - type="text" - name="getcustom" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="WORD" - message="Error! Please add method name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOM_HINT" - /> - <!-- Pagination Field. Type: Radio. (joomla) --> - <field - type="radio" - name="pagination" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_DESCRIPTION" - class="btn-group btn-group-yesno" - default="1" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option> - </field> - <!-- Php_after_getitem Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_after_getitem" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_HINT" - required="true" - /> - <!-- Note_calculation_item Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_calculation_item" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEM_DESCRIPTION" class="note_calculation_item" /> - <!-- Php_before_getitems Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_before_getitems" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_HINT" - required="true" - /> - <!-- Php_before_getitem Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_before_getitem" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_HINT" - required="true" - /> - <!-- View_table_main Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="view_table_main" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION" - multiple="false" - required="true" - /> - <!-- Php_getlistquery Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_getlistquery" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_HINT" - required="true" - /> - <!-- View_selection Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="view_selection" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_LABEL" - rows="22" - cols="30" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_HINT" - required="true" - /> - <!-- Php_after_getitems Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_after_getitems" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_HINT" - required="true" - /> - <!-- Db_table_main Field. Type: Dbtables. (custom) --> - <field - type="dbtables" - name="db_table_main" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_DESCRIPTION" - class="list_class" - multiple="false" - required="true" - /> - <!-- Php_calculation Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_calculation" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_HINT" - required="true" - /> - <!-- Db_selection Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="db_selection" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_LABEL" - rows="22" - cols="30" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_HINT" - required="true" - /> - <!-- Add_php_before_getitem Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_before_getitem" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEM_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option> - </field> - <!-- Join_view_table Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="join_view_table" - label="Join View Tables" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_DESCRIPTION" - id="join_view_table" - class="join_view_tables" - select="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_SELECT" - icon="list" - maximum="50"> - <fields name="join_view_table_fields" label=""> - <fieldset hidden="true" name="join_view_table_modal" repeat="true"> - <!-- View_table Field. Type: Adminviews. (custom) --> - <field - type="adminviews" - name="view_table" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_DESCRIPTION" - multiple="false" - button="false" - /> - <!-- Row_type Field. Type: List. (joomla) --> - <field - type="list" - name="row_type" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_DESCRIPTION" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_SINGLE</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_MULTIPLE</option> - </field> - <!-- As Field. Type: List. (joomla) --> - <field - type="list" - name="as" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_AS_LABEL" - class="list_class fieldSmall" - multiple="false" - filter="WORD" - default="b"> - <!-- Option Set. --> - <option value="b"> - COM_COMPONENTBUILDER_DYNAMIC_GET_B</option> - <option value="c"> - COM_COMPONENTBUILDER_DYNAMIC_GET_C</option> - <option value="d"> - COM_COMPONENTBUILDER_DYNAMIC_GET_D</option> - <option value="e"> - COM_COMPONENTBUILDER_DYNAMIC_GET_E</option> - <option value="f"> - COM_COMPONENTBUILDER_DYNAMIC_GET_F</option> - <option value="g"> - COM_COMPONENTBUILDER_DYNAMIC_GET_G</option> - <option value="h"> - COM_COMPONENTBUILDER_DYNAMIC_GET_H</option> - <option value="i"> - COM_COMPONENTBUILDER_DYNAMIC_GET_I</option> - <option value="j"> - COM_COMPONENTBUILDER_DYNAMIC_GET_J</option> - <option value="k"> - COM_COMPONENTBUILDER_DYNAMIC_GET_K</option> - <option value="l"> - COM_COMPONENTBUILDER_DYNAMIC_GET_L</option> - <option value="m"> - COM_COMPONENTBUILDER_DYNAMIC_GET_M</option> - <option value="n"> - COM_COMPONENTBUILDER_DYNAMIC_GET_N</option> - <option value="o"> - COM_COMPONENTBUILDER_DYNAMIC_GET_O</option> - <option value="p"> - COM_COMPONENTBUILDER_DYNAMIC_GET_P</option> - <option value="q"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Q</option> - <option value="r"> - COM_COMPONENTBUILDER_DYNAMIC_GET_R</option> - <option value="s"> - COM_COMPONENTBUILDER_DYNAMIC_GET_S</option> - <option value="t"> - COM_COMPONENTBUILDER_DYNAMIC_GET_T</option> - <option value="u"> - COM_COMPONENTBUILDER_DYNAMIC_GET_U</option> - <option value="v"> - COM_COMPONENTBUILDER_DYNAMIC_GET_V</option> - <option value="w"> - COM_COMPONENTBUILDER_DYNAMIC_GET_W</option> - <option value="x"> - COM_COMPONENTBUILDER_DYNAMIC_GET_X</option> - <option value="y"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Y</option> - <option value="z"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Z</option> - <option value="aa"> - COM_COMPONENTBUILDER_DYNAMIC_GET_AA</option> - <option value="bb"> - COM_COMPONENTBUILDER_DYNAMIC_GET_BB</option> - <option value="cc"> - COM_COMPONENTBUILDER_DYNAMIC_GET_CC</option> - <option value="dd"> - COM_COMPONENTBUILDER_DYNAMIC_GET_DD</option> - <option value="ee"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EE</option> - <option value="ff"> - COM_COMPONENTBUILDER_DYNAMIC_GET_FF</option> - <option value="gg"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GG</option> - <option value="hh"> - COM_COMPONENTBUILDER_DYNAMIC_GET_HH</option> - <option value="ii"> - COM_COMPONENTBUILDER_DYNAMIC_GET_II</option> - <option value="jj"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JJ</option> - <option value="kk"> - COM_COMPONENTBUILDER_DYNAMIC_GET_KK</option> - <option value="ll"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LL</option> - <option value="mm"> - COM_COMPONENTBUILDER_DYNAMIC_GET_MM</option> - <option value="nn"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NN</option> - <option value="oo"> - COM_COMPONENTBUILDER_DYNAMIC_GET_OO</option> - <option value="pp"> - COM_COMPONENTBUILDER_DYNAMIC_GET_PP</option> - <option value="qq"> - COM_COMPONENTBUILDER_DYNAMIC_GET_QQ</option> - <option value="rr"> - COM_COMPONENTBUILDER_DYNAMIC_GET_RR</option> - <option value="ss"> - COM_COMPONENTBUILDER_DYNAMIC_GET_SS</option> - <option value="tt"> - COM_COMPONENTBUILDER_DYNAMIC_GET_TT</option> - <option value="uu"> - COM_COMPONENTBUILDER_DYNAMIC_GET_UU</option> - <option value="vv"> - COM_COMPONENTBUILDER_DYNAMIC_GET_VV</option> - <option value="ww"> - COM_COMPONENTBUILDER_DYNAMIC_GET_WW</option> - <option value="xx"> - COM_COMPONENTBUILDER_DYNAMIC_GET_XX</option> - <option value="yy"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YY</option> - <option value="zz"> - COM_COMPONENTBUILDER_DYNAMIC_GET_ZZ</option> - </field> - <!-- Type Field. Type: List. (joomla) --> - <field - type="list" - name="type" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_TYPE_LABEL" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT_OUTER</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_INNER</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT</option> - <option value="5"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT_OUTER</option> - </field> - <!-- On_field Field. Type: Text. (joomla) --> - <field - type="text" - name="on_field" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_DESCRIPTION" - class="text_area fieldMedium" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add field name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_HINT" - /> - <!-- Operator Field. Type: List. (joomla) --> - <field - type="list" - name="operator" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_DESCRIPTION" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_EQUAL</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL_OR_NOT</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN</option> - <option value="5"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN</option> - <option value="6"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN_OR_EQUAL</option> - <option value="7"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN_OR_EQUAL_TO</option> - <option value="8"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_LESS_THAN</option> - <option value="9"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_GREATER_THAN</option> - <option value="10"> - COM_COMPONENTBUILDER_DYNAMIC_GET_IN</option> - <option value="11"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_IN</option> - </field> - <!-- Join_field Field. Type: Text. (joomla) --> - <field - type="text" - name="join_field" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_DESCRIPTION" - class="text_area fieldMedium" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add field name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_HINT" - /> - <!-- Selection Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="selection" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_LABEL" - rows="22" - cols="30" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION" - class="text_area span4" - filter="HTML" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_php_after_getitem Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_after_getitem" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEM_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option> - </field> - <!-- Join_db_table Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="join_db_table" - label="Join DB Tables" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_DB_TABLE_DESCRIPTION" - id="join_db_table" - class="join_db_tables" - select="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_DB_TABLE_SELECT" - icon="list" - maximum="50"> - <fields name="join_db_table_fields" label=""> - <fieldset hidden="true" name="join_db_table_modal" repeat="true"> - <!-- Db_table Field. Type: Dbtables. (custom) --> - <field - type="dbtables" - name="db_table" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_DESCRIPTION" - class="list_class" - multiple="false" - button="false" - /> - <!-- Row_type Field. Type: List. (joomla) --> - <field - type="list" - name="row_type" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_DESCRIPTION" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_SINGLE</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_MULTIPLE</option> - </field> - <!-- As Field. Type: List. (joomla) --> - <field - type="list" - name="as" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_AS_LABEL" - class="list_class fieldSmall" - multiple="false" - filter="WORD" - default="b"> - <!-- Option Set. --> - <option value="b"> - COM_COMPONENTBUILDER_DYNAMIC_GET_B</option> - <option value="c"> - COM_COMPONENTBUILDER_DYNAMIC_GET_C</option> - <option value="d"> - COM_COMPONENTBUILDER_DYNAMIC_GET_D</option> - <option value="e"> - COM_COMPONENTBUILDER_DYNAMIC_GET_E</option> - <option value="f"> - COM_COMPONENTBUILDER_DYNAMIC_GET_F</option> - <option value="g"> - COM_COMPONENTBUILDER_DYNAMIC_GET_G</option> - <option value="h"> - COM_COMPONENTBUILDER_DYNAMIC_GET_H</option> - <option value="i"> - COM_COMPONENTBUILDER_DYNAMIC_GET_I</option> - <option value="j"> - COM_COMPONENTBUILDER_DYNAMIC_GET_J</option> - <option value="k"> - COM_COMPONENTBUILDER_DYNAMIC_GET_K</option> - <option value="l"> - COM_COMPONENTBUILDER_DYNAMIC_GET_L</option> - <option value="m"> - COM_COMPONENTBUILDER_DYNAMIC_GET_M</option> - <option value="n"> - COM_COMPONENTBUILDER_DYNAMIC_GET_N</option> - <option value="o"> - COM_COMPONENTBUILDER_DYNAMIC_GET_O</option> - <option value="p"> - COM_COMPONENTBUILDER_DYNAMIC_GET_P</option> - <option value="q"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Q</option> - <option value="r"> - COM_COMPONENTBUILDER_DYNAMIC_GET_R</option> - <option value="s"> - COM_COMPONENTBUILDER_DYNAMIC_GET_S</option> - <option value="t"> - COM_COMPONENTBUILDER_DYNAMIC_GET_T</option> - <option value="u"> - COM_COMPONENTBUILDER_DYNAMIC_GET_U</option> - <option value="v"> - COM_COMPONENTBUILDER_DYNAMIC_GET_V</option> - <option value="w"> - COM_COMPONENTBUILDER_DYNAMIC_GET_W</option> - <option value="x"> - COM_COMPONENTBUILDER_DYNAMIC_GET_X</option> - <option value="y"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Y</option> - <option value="z"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Z</option> - <option value="aa"> - COM_COMPONENTBUILDER_DYNAMIC_GET_AA</option> - <option value="bb"> - COM_COMPONENTBUILDER_DYNAMIC_GET_BB</option> - <option value="cc"> - COM_COMPONENTBUILDER_DYNAMIC_GET_CC</option> - <option value="dd"> - COM_COMPONENTBUILDER_DYNAMIC_GET_DD</option> - <option value="ee"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EE</option> - <option value="ff"> - COM_COMPONENTBUILDER_DYNAMIC_GET_FF</option> - <option value="gg"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GG</option> - <option value="hh"> - COM_COMPONENTBUILDER_DYNAMIC_GET_HH</option> - <option value="ii"> - COM_COMPONENTBUILDER_DYNAMIC_GET_II</option> - <option value="jj"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JJ</option> - <option value="kk"> - COM_COMPONENTBUILDER_DYNAMIC_GET_KK</option> - <option value="ll"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LL</option> - <option value="mm"> - COM_COMPONENTBUILDER_DYNAMIC_GET_MM</option> - <option value="nn"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NN</option> - <option value="oo"> - COM_COMPONENTBUILDER_DYNAMIC_GET_OO</option> - <option value="pp"> - COM_COMPONENTBUILDER_DYNAMIC_GET_PP</option> - <option value="qq"> - COM_COMPONENTBUILDER_DYNAMIC_GET_QQ</option> - <option value="rr"> - COM_COMPONENTBUILDER_DYNAMIC_GET_RR</option> - <option value="ss"> - COM_COMPONENTBUILDER_DYNAMIC_GET_SS</option> - <option value="tt"> - COM_COMPONENTBUILDER_DYNAMIC_GET_TT</option> - <option value="uu"> - COM_COMPONENTBUILDER_DYNAMIC_GET_UU</option> - <option value="vv"> - COM_COMPONENTBUILDER_DYNAMIC_GET_VV</option> - <option value="ww"> - COM_COMPONENTBUILDER_DYNAMIC_GET_WW</option> - <option value="xx"> - COM_COMPONENTBUILDER_DYNAMIC_GET_XX</option> - <option value="yy"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YY</option> - <option value="zz"> - COM_COMPONENTBUILDER_DYNAMIC_GET_ZZ</option> - </field> - <!-- Type Field. Type: List. (joomla) --> - <field - type="list" - name="type" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_TYPE_LABEL" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT_OUTER</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_INNER</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT</option> - <option value="5"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT_OUTER</option> - </field> - <!-- On_field Field. Type: Text. (joomla) --> - <field - type="text" - name="on_field" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_DESCRIPTION" - class="text_area fieldMedium" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add field name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_HINT" - /> - <!-- Operator Field. Type: List. (joomla) --> - <field - type="list" - name="operator" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_DESCRIPTION" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_EQUAL</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL_OR_NOT</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN</option> - <option value="5"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN</option> - <option value="6"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN_OR_EQUAL</option> - <option value="7"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN_OR_EQUAL_TO</option> - <option value="8"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_LESS_THAN</option> - <option value="9"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_GREATER_THAN</option> - <option value="10"> - COM_COMPONENTBUILDER_DYNAMIC_GET_IN</option> - <option value="11"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_IN</option> - </field> - <!-- Join_field Field. Type: Text. (joomla) --> - <field - type="text" - name="join_field" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_DESCRIPTION" - class="text_area fieldMedium" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add field name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_HINT" - /> - <!-- Selection Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="selection" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_LABEL" - rows="22" - cols="30" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION" - class="text_area span4" - filter="HTML" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_php_getlistquery Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_getlistquery" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_GETLISTQUERY_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option> - </field> - <!-- Filter Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="filter" - label="Filter" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_DESCRIPTION" - id="filter" - class="filters" - select="COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_SELECT" - icon="list" - maximum="50"> - <fields name="filter_fields" label=""> - <fieldset hidden="true" name="filter_modal" repeat="true"> - <!-- Filter_type Field. Type: List. (joomla) --> - <field - type="list" - name="filter_type" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_TYPE_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_FILTER_TYPE_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_ID</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_USER</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_ACCESS_LEVEL</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_USER_GROUPS</option> - <option value="5"> - COM_COMPONENTBUILDER_DYNAMIC_GET_CATEGORIES</option> - <option value="6"> - COM_COMPONENTBUILDER_DYNAMIC_GET_TAGS</option> - <option value="7"> - COM_COMPONENTBUILDER_DYNAMIC_GET_DATE</option> - <option value="8"> - COM_COMPONENTBUILDER_DYNAMIC_GET_FUNCTIONVAR</option> - <option value="9"> - COM_COMPONENTBUILDER_DYNAMIC_GET_ARRAY_VALUE</option> - <option value="10"> - COM_COMPONENTBUILDER_DYNAMIC_GET_REPEATABLE_VALUE</option> - <option value="11"> - COM_COMPONENTBUILDER_DYNAMIC_GET_OTHER</option> - </field> - <!-- State_key Field. Type: Text. (joomla) --> - <field - type="text" - name="state_key" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_STATE_KEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_STATE_KEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add state key here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_STATE_KEY_HINT" - /> - <!-- Operator Field. Type: List. (joomla) --> - <field - type="list" - name="operator" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_DESCRIPTION" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_EQUAL</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL_OR_NOT</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN</option> - <option value="5"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN</option> - <option value="6"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN_OR_EQUAL</option> - <option value="7"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN_OR_EQUAL_TO</option> - <option value="8"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_LESS_THAN</option> - <option value="9"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_GREATER_THAN</option> - <option value="10"> - COM_COMPONENTBUILDER_DYNAMIC_GET_IN</option> - <option value="11"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_IN</option> - </field> - <!-- Table_key Field. Type: Text. (joomla) --> - <field - type="text" - name="table_key" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add table key here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_php_before_getitems Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_before_getitems" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEMS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option> - </field> - <!-- Where Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="where" - label="Where" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_WHERE_DESCRIPTION" - id="where" - class="wheres" - select="COM_COMPONENTBUILDER_DYNAMIC_GET_WHERE_SELECT" - icon="list" - maximum="50"> - <fields name="where_fields" label=""> - <fieldset hidden="true" name="where_modal" repeat="true"> - <!-- Table_key Field. Type: Text. (joomla) --> - <field - type="text" - name="table_key" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add table key here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_HINT" - /> - <!-- Operator Field. Type: List. (joomla) --> - <field - type="list" - name="operator" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_DESCRIPTION" - class="list_class fieldMedium" - multiple="false" - filter="INT" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_EQUAL</option> - <option value="3"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL_OR_NOT</option> - <option value="4"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN</option> - <option value="5"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN</option> - <option value="6"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN_OR_EQUAL</option> - <option value="7"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN_OR_EQUAL_TO</option> - <option value="8"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_LESS_THAN</option> - <option value="9"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_GREATER_THAN</option> - <option value="10"> - COM_COMPONENTBUILDER_DYNAMIC_GET_IN</option> - <option value="11"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_IN</option> - </field> - <!-- Value_key Field. Type: Text. (joomla) --> - <field - type="text" - name="value_key" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_VALUE_KEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_VALUE_KEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add value key here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VALUE_KEY_HINT" - /> - </fieldset> - </fields> - </field> - <!-- Add_php_after_getitems Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_after_getitems" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEMS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option> - </field> - <!-- Order Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="order" - label="Ordering" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_ORDER_DESCRIPTION" - id="order" - class="ordering" - select="COM_COMPONENTBUILDER_DYNAMIC_GET_ORDER_SELECT" - icon="list" - maximum="50"> - <fields name="order_fields" label=""> - <fieldset hidden="true" name="order_modal" repeat="true"> - <!-- Table_key Field. Type: Text. (joomla) --> - <field - type="text" - name="table_key" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add table key here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_TABLE_KEY_HINT" - /> - <!-- Direction Field. Type: List. (joomla) --> - <field - type="list" - name="direction" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_DIRECTION_LABEL" - class="list_class" - multiple="false" - filter="WORD"> - <!-- Option Set. --> - <option value="ASC"> - COM_COMPONENTBUILDER_DYNAMIC_GET_ASCENDING</option> - <option value="DESC"> - COM_COMPONENTBUILDER_DYNAMIC_GET_DESCENDING</option> - </field> - </fieldset> - </fields> - </field> - <!-- Addcalculation Field. Type: Radio. (joomla) --> - <field - type="radio" - name="addcalculation" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option> - </field> - <!-- Global Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="global" - label="Set Global" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_GLOBAL_DESCRIPTION" - id="global" - class="globals" - select="COM_COMPONENTBUILDER_DYNAMIC_GET_GLOBAL_SELECT" - icon="list" - maximum="500"> - <fields name="global_fields" label=""> - <fieldset hidden="true" name="global_modal" repeat="true"> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="CMD" - message="Error! Please add variable name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_HINT" - /> - <!-- Key Field. Type: Text. (joomla) --> - <field - type="text" - name="key" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_KEY_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_KEY_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add table as name here." - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_KEY_HINT" - /> - <!-- As Field. Type: List. (joomla) --> - <field - type="list" - name="as" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_AS_LABEL" - class="list_class fieldSmall" - multiple="false" - filter="WORD" - default="a"> - <!-- Option Set. --> - <option value="a"> - COM_COMPONENTBUILDER_DYNAMIC_GET_A</option> - <option value="b"> - COM_COMPONENTBUILDER_DYNAMIC_GET_B</option> - <option value="c"> - COM_COMPONENTBUILDER_DYNAMIC_GET_C</option> - <option value="d"> - COM_COMPONENTBUILDER_DYNAMIC_GET_D</option> - <option value="e"> - COM_COMPONENTBUILDER_DYNAMIC_GET_E</option> - <option value="f"> - COM_COMPONENTBUILDER_DYNAMIC_GET_F</option> - <option value="g"> - COM_COMPONENTBUILDER_DYNAMIC_GET_G</option> - <option value="h"> - COM_COMPONENTBUILDER_DYNAMIC_GET_H</option> - <option value="i"> - COM_COMPONENTBUILDER_DYNAMIC_GET_I</option> - <option value="j"> - COM_COMPONENTBUILDER_DYNAMIC_GET_J</option> - <option value="k"> - COM_COMPONENTBUILDER_DYNAMIC_GET_K</option> - <option value="l"> - COM_COMPONENTBUILDER_DYNAMIC_GET_L</option> - <option value="m"> - COM_COMPONENTBUILDER_DYNAMIC_GET_M</option> - <option value="n"> - COM_COMPONENTBUILDER_DYNAMIC_GET_N</option> - <option value="o"> - COM_COMPONENTBUILDER_DYNAMIC_GET_O</option> - <option value="p"> - COM_COMPONENTBUILDER_DYNAMIC_GET_P</option> - <option value="q"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Q</option> - <option value="r"> - COM_COMPONENTBUILDER_DYNAMIC_GET_R</option> - <option value="s"> - COM_COMPONENTBUILDER_DYNAMIC_GET_S</option> - <option value="t"> - COM_COMPONENTBUILDER_DYNAMIC_GET_T</option> - <option value="u"> - COM_COMPONENTBUILDER_DYNAMIC_GET_U</option> - <option value="v"> - COM_COMPONENTBUILDER_DYNAMIC_GET_V</option> - <option value="w"> - COM_COMPONENTBUILDER_DYNAMIC_GET_W</option> - <option value="x"> - COM_COMPONENTBUILDER_DYNAMIC_GET_X</option> - <option value="y"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Y</option> - <option value="z"> - COM_COMPONENTBUILDER_DYNAMIC_GET_Z</option> - <option value="aa"> - COM_COMPONENTBUILDER_DYNAMIC_GET_AA</option> - <option value="bb"> - COM_COMPONENTBUILDER_DYNAMIC_GET_BB</option> - <option value="cc"> - COM_COMPONENTBUILDER_DYNAMIC_GET_CC</option> - <option value="dd"> - COM_COMPONENTBUILDER_DYNAMIC_GET_DD</option> - <option value="ee"> - COM_COMPONENTBUILDER_DYNAMIC_GET_EE</option> - <option value="ff"> - COM_COMPONENTBUILDER_DYNAMIC_GET_FF</option> - <option value="gg"> - COM_COMPONENTBUILDER_DYNAMIC_GET_GG</option> - <option value="hh"> - COM_COMPONENTBUILDER_DYNAMIC_GET_HH</option> - <option value="ii"> - COM_COMPONENTBUILDER_DYNAMIC_GET_II</option> - <option value="jj"> - COM_COMPONENTBUILDER_DYNAMIC_GET_JJ</option> - <option value="kk"> - COM_COMPONENTBUILDER_DYNAMIC_GET_KK</option> - <option value="ll"> - COM_COMPONENTBUILDER_DYNAMIC_GET_LL</option> - <option value="mm"> - COM_COMPONENTBUILDER_DYNAMIC_GET_MM</option> - <option value="nn"> - COM_COMPONENTBUILDER_DYNAMIC_GET_NN</option> - <option value="oo"> - COM_COMPONENTBUILDER_DYNAMIC_GET_OO</option> - <option value="pp"> - COM_COMPONENTBUILDER_DYNAMIC_GET_PP</option> - <option value="qq"> - COM_COMPONENTBUILDER_DYNAMIC_GET_QQ</option> - <option value="rr"> - COM_COMPONENTBUILDER_DYNAMIC_GET_RR</option> - <option value="ss"> - COM_COMPONENTBUILDER_DYNAMIC_GET_SS</option> - <option value="tt"> - COM_COMPONENTBUILDER_DYNAMIC_GET_TT</option> - <option value="uu"> - COM_COMPONENTBUILDER_DYNAMIC_GET_UU</option> - <option value="vv"> - COM_COMPONENTBUILDER_DYNAMIC_GET_VV</option> - <option value="ww"> - COM_COMPONENTBUILDER_DYNAMIC_GET_WW</option> - <option value="xx"> - COM_COMPONENTBUILDER_DYNAMIC_GET_XX</option> - <option value="yy"> - COM_COMPONENTBUILDER_DYNAMIC_GET_YY</option> - <option value="zz"> - COM_COMPONENTBUILDER_DYNAMIC_GET_ZZ</option> - </field> - <!-- Type Field. Type: Radio. (joomla) --> - <field - type="radio" - name="type" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_TYPE_LABEL" - default="2"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_DYNAMIC_GET_STATE</option> - <option value="2"> - COM_COMPONENTBUILDER_DYNAMIC_GET_THIS</option> - </field> - </fieldset> - </fields> - </field> - <!-- Note_calculation_items Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_calculation_items" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION" class="note_calculation_items" /> - <!-- Php_custom_get Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_custom_get" - label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_HINT" - required="true" - /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this dynamic_get" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="dynamic_get" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/field.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/field.js deleted file mode 100644 index 1fbb3c777..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/field.js +++ /dev/null @@ -1,474 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage field.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_tCpxhKKmop_required = false; -jform_xQRgZFuYXs_required = false; -jform_nwKjhVuBxn_required = false; -jform_HiMbhLuCbZ_required = false; -jform_KhTfPtsQmk_required = false; -jform_gxgnzwHLXN_required = false; -jform_IEYBGhgbIj_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var datalenght_tCpxhKK = jQuery("#jform_datalenght").val(); - tCpxhKK(datalenght_tCpxhKK); - - var datadefault_xQRgZFu = jQuery("#jform_datadefault").val(); - xQRgZFu(datadefault_xQRgZFu); - - var datatype_nwKjhVu = jQuery("#jform_datatype").val(); - nwKjhVu(datatype_nwKjhVu); - - var store_dROmpWc = jQuery("#jform_store").val(); - var datatype_dROmpWc = jQuery("#jform_datatype").val(); - dROmpWc(store_dROmpWc,datatype_dROmpWc); - - var add_css_view_HiMbhLu = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - HiMbhLu(add_css_view_HiMbhLu); - - var add_css_views_KhTfPts = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - KhTfPts(add_css_views_KhTfPts); - - var add_javascript_view_footer_gxgnzwH = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - gxgnzwH(add_javascript_view_footer_gxgnzwH); - - var add_javascript_views_footer_IEYBGhg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - IEYBGhg(add_javascript_views_footer_IEYBGhg); -}); - -// the tCpxhKK function -function tCpxhKK(datalenght_tCpxhKK) -{ - if (isSet(datalenght_tCpxhKK) && datalenght_tCpxhKK.constructor !== Array) - { - var temp_tCpxhKK = datalenght_tCpxhKK; - var datalenght_tCpxhKK = []; - datalenght_tCpxhKK.push(temp_tCpxhKK); - } - else if (!isSet(datalenght_tCpxhKK)) - { - var datalenght_tCpxhKK = []; - } - var datalenght = datalenght_tCpxhKK.some(datalenght_tCpxhKK_SomeFunc); - - - // set this function logic - if (datalenght) - { - jQuery('#jform_datalenght_other').closest('.control-group').show(); - if (jform_tCpxhKKmop_required) - { - updateFieldRequired('datalenght_other',0); - jQuery('#jform_datalenght_other').prop('required','required'); - jQuery('#jform_datalenght_other').attr('aria-required',true); - jQuery('#jform_datalenght_other').addClass('required'); - jform_tCpxhKKmop_required = false; - } - - } - else - { - jQuery('#jform_datalenght_other').closest('.control-group').hide(); - if (!jform_tCpxhKKmop_required) - { - updateFieldRequired('datalenght_other',1); - jQuery('#jform_datalenght_other').removeAttr('required'); - jQuery('#jform_datalenght_other').removeAttr('aria-required'); - jQuery('#jform_datalenght_other').removeClass('required'); - jform_tCpxhKKmop_required = true; - } - } -} - -// the tCpxhKK Some function -function datalenght_tCpxhKK_SomeFunc(datalenght_tCpxhKK) -{ - // set the function logic - if (datalenght_tCpxhKK == 'Other') - { - return true; - } - return false; -} - -// the xQRgZFu function -function xQRgZFu(datadefault_xQRgZFu) -{ - if (isSet(datadefault_xQRgZFu) && datadefault_xQRgZFu.constructor !== Array) - { - var temp_xQRgZFu = datadefault_xQRgZFu; - var datadefault_xQRgZFu = []; - datadefault_xQRgZFu.push(temp_xQRgZFu); - } - else if (!isSet(datadefault_xQRgZFu)) - { - var datadefault_xQRgZFu = []; - } - var datadefault = datadefault_xQRgZFu.some(datadefault_xQRgZFu_SomeFunc); - - - // set this function logic - if (datadefault) - { - jQuery('#jform_datadefault_other').closest('.control-group').show(); - if (jform_xQRgZFuYXs_required) - { - updateFieldRequired('datadefault_other',0); - jQuery('#jform_datadefault_other').prop('required','required'); - jQuery('#jform_datadefault_other').attr('aria-required',true); - jQuery('#jform_datadefault_other').addClass('required'); - jform_xQRgZFuYXs_required = false; - } - - } - else - { - jQuery('#jform_datadefault_other').closest('.control-group').hide(); - if (!jform_xQRgZFuYXs_required) - { - updateFieldRequired('datadefault_other',1); - jQuery('#jform_datadefault_other').removeAttr('required'); - jQuery('#jform_datadefault_other').removeAttr('aria-required'); - jQuery('#jform_datadefault_other').removeClass('required'); - jform_xQRgZFuYXs_required = true; - } - } -} - -// the xQRgZFu Some function -function datadefault_xQRgZFu_SomeFunc(datadefault_xQRgZFu) -{ - // set the function logic - if (datadefault_xQRgZFu == 'Other') - { - return true; - } - return false; -} - -// the nwKjhVu function -function nwKjhVu(datatype_nwKjhVu) -{ - if (isSet(datatype_nwKjhVu) && datatype_nwKjhVu.constructor !== Array) - { - var temp_nwKjhVu = datatype_nwKjhVu; - var datatype_nwKjhVu = []; - datatype_nwKjhVu.push(temp_nwKjhVu); - } - else if (!isSet(datatype_nwKjhVu)) - { - var datatype_nwKjhVu = []; - } - var datatype = datatype_nwKjhVu.some(datatype_nwKjhVu_SomeFunc); - - - // set this function logic - if (datatype) - { - jQuery('#jform_store').closest('.control-group').show(); - if (jform_nwKjhVuBxn_required) - { - updateFieldRequired('store',0); - jQuery('#jform_store').prop('required','required'); - jQuery('#jform_store').attr('aria-required',true); - jQuery('#jform_store').addClass('required'); - jform_nwKjhVuBxn_required = false; - } - - } - else - { - jQuery('#jform_store').closest('.control-group').hide(); - if (!jform_nwKjhVuBxn_required) - { - updateFieldRequired('store',1); - jQuery('#jform_store').removeAttr('required'); - jQuery('#jform_store').removeAttr('aria-required'); - jQuery('#jform_store').removeClass('required'); - jform_nwKjhVuBxn_required = true; - } - } -} - -// the nwKjhVu Some function -function datatype_nwKjhVu_SomeFunc(datatype_nwKjhVu) -{ - // set the function logic - if (datatype_nwKjhVu == 'CHAR' || datatype_nwKjhVu == 'VARCHAR' || datatype_nwKjhVu == 'TEXT' || datatype_nwKjhVu == 'MEDIUMTEXT' || datatype_nwKjhVu == 'LONGTEXT') - { - return true; - } - return false; -} - -// the dROmpWc function -function dROmpWc(store_dROmpWc,datatype_dROmpWc) -{ - if (isSet(store_dROmpWc) && store_dROmpWc.constructor !== Array) - { - var temp_dROmpWc = store_dROmpWc; - var store_dROmpWc = []; - store_dROmpWc.push(temp_dROmpWc); - } - else if (!isSet(store_dROmpWc)) - { - var store_dROmpWc = []; - } - var store = store_dROmpWc.some(store_dROmpWc_SomeFunc); - - if (isSet(datatype_dROmpWc) && datatype_dROmpWc.constructor !== Array) - { - var temp_dROmpWc = datatype_dROmpWc; - var datatype_dROmpWc = []; - datatype_dROmpWc.push(temp_dROmpWc); - } - else if (!isSet(datatype_dROmpWc)) - { - var datatype_dROmpWc = []; - } - var datatype = datatype_dROmpWc.some(datatype_dROmpWc_SomeFunc); - - - // set this function logic - if (store && datatype) - { - jQuery('.note_vdm_encryption').closest('.control-group').show(); - } - else - { - jQuery('.note_vdm_encryption').closest('.control-group').hide(); - } -} - -// the dROmpWc Some function -function store_dROmpWc_SomeFunc(store_dROmpWc) -{ - // set the function logic - if (store_dROmpWc == 4) - { - return true; - } - return false; -} - -// the dROmpWc Some function -function datatype_dROmpWc_SomeFunc(datatype_dROmpWc) -{ - // set the function logic - if (datatype_dROmpWc == 'CHAR' || datatype_dROmpWc == 'VARCHAR' || datatype_dROmpWc == 'TEXT' || datatype_dROmpWc == 'MEDIUMTEXT' || datatype_dROmpWc == 'LONGTEXT') - { - return true; - } - return false; -} - -// the HiMbhLu function -function HiMbhLu(add_css_view_HiMbhLu) -{ - // set the function logic - if (add_css_view_HiMbhLu == 1) - { - jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_HiMbhLuCbZ_required) - { - updateFieldRequired('css_view',0); - jQuery('#jform_css_view').prop('required','required'); - jQuery('#jform_css_view').attr('aria-required',true); - jQuery('#jform_css_view').addClass('required'); - jform_HiMbhLuCbZ_required = false; - } - - } - else - { - jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_HiMbhLuCbZ_required) - { - updateFieldRequired('css_view',1); - jQuery('#jform_css_view').removeAttr('required'); - jQuery('#jform_css_view').removeAttr('aria-required'); - jQuery('#jform_css_view').removeClass('required'); - jform_HiMbhLuCbZ_required = true; - } - } -} - -// the KhTfPts function -function KhTfPts(add_css_views_KhTfPts) -{ - // set the function logic - if (add_css_views_KhTfPts == 1) - { - jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_KhTfPtsQmk_required) - { - updateFieldRequired('css_views',0); - jQuery('#jform_css_views').prop('required','required'); - jQuery('#jform_css_views').attr('aria-required',true); - jQuery('#jform_css_views').addClass('required'); - jform_KhTfPtsQmk_required = false; - } - - } - else - { - jQuery('#jform_css_views').closest('.control-group').hide(); - if (!jform_KhTfPtsQmk_required) - { - updateFieldRequired('css_views',1); - jQuery('#jform_css_views').removeAttr('required'); - jQuery('#jform_css_views').removeAttr('aria-required'); - jQuery('#jform_css_views').removeClass('required'); - jform_KhTfPtsQmk_required = true; - } - } -} - -// the gxgnzwH function -function gxgnzwH(add_javascript_view_footer_gxgnzwH) -{ - // set the function logic - if (add_javascript_view_footer_gxgnzwH == 1) - { - jQuery('#jform_javascript_view_footer').closest('.control-group').show(); - if (jform_gxgnzwHLXN_required) - { - updateFieldRequired('javascript_view_footer',0); - jQuery('#jform_javascript_view_footer').prop('required','required'); - jQuery('#jform_javascript_view_footer').attr('aria-required',true); - jQuery('#jform_javascript_view_footer').addClass('required'); - jform_gxgnzwHLXN_required = false; - } - - } - else - { - jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); - if (!jform_gxgnzwHLXN_required) - { - updateFieldRequired('javascript_view_footer',1); - jQuery('#jform_javascript_view_footer').removeAttr('required'); - jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); - jQuery('#jform_javascript_view_footer').removeClass('required'); - jform_gxgnzwHLXN_required = true; - } - } -} - -// the IEYBGhg function -function IEYBGhg(add_javascript_views_footer_IEYBGhg) -{ - // set the function logic - if (add_javascript_views_footer_IEYBGhg == 1) - { - jQuery('#jform_javascript_views_footer').closest('.control-group').show(); - if (jform_IEYBGhgbIj_required) - { - updateFieldRequired('javascript_views_footer',0); - jQuery('#jform_javascript_views_footer').prop('required','required'); - jQuery('#jform_javascript_views_footer').attr('aria-required',true); - jQuery('#jform_javascript_views_footer').addClass('required'); - jform_IEYBGhgbIj_required = false; - } - - } - else - { - jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); - if (!jform_IEYBGhgbIj_required) - { - updateFieldRequired('javascript_views_footer',1); - jQuery('#jform_javascript_views_footer').removeAttr('required'); - jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); - jQuery('#jform_javascript_views_footer').removeClass('required'); - jform_IEYBGhgbIj_required = true; - } - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} - -function getFieldOptions_server(fieldId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.fieldOptions&format=json"; - if(token.length > 0 && fieldId > 0){ - var request = 'token='+token+'&id='+fieldId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getFieldOptions(id,setValue){ - getFieldOptions_server(id).done(function(result) { - if(result.values){ - if(setValue){ - jQuery('textarea#jform_xml').val(result.values); - } - jQuery('#help').remove(); - jQuery('.helpNote').append('<div id="help" style="margin: 10px;">'+result.description+'<br />'+result.values_description+'</div>'); - } - }) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/field.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/field.xml deleted file mode 100644 index 6d419e6ce..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/field.xml +++ /dev/null @@ -1,459 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_FIELD_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_FIELD_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_FIELD_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_FIELD_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_FIELD_VERSION_LABEL" - description="COM_COMPONENTBUILDER_FIELD_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_FIELD_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_FIELD_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_FIELD_NAME_HINT" - /> - <!-- Type Field. Type: Fieldtypes. (custom) --> - <field - type="fieldtypes" - name="type" - label="COM_COMPONENTBUILDER_FIELD_TYPE_LABEL" - description="COM_COMPONENTBUILDER_FIELD_TYPE_DESCRIPTION" - class="btn-group" - multiple="false" - required="true" - button="true" - /> - <!-- Datatype Field. Type: List. (joomla) --> - <field - type="list" - name="datatype" - label="COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL" - description="COM_COMPONENTBUILDER_FIELD_DATATYPE_DESCRIPTION" - class="btn-group" - multiple="false" - required="true"> - <!-- Option Set. --> - <option value="CHAR"> - COM_COMPONENTBUILDER_FIELD_CHAR</option> - <option value="VARCHAR"> - COM_COMPONENTBUILDER_FIELD_VARCHAR</option> - <option value="TEXT"> - COM_COMPONENTBUILDER_FIELD_TEXT</option> - <option value="MEDIUMTEXT"> - COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT</option> - <option value="LONGTEXT"> - COM_COMPONENTBUILDER_FIELD_LONGTEXT</option> - <option value="DATETIME"> - COM_COMPONENTBUILDER_FIELD_DATETIME</option> - <option value="DATE"> - COM_COMPONENTBUILDER_FIELD_DATE</option> - <option value="INT"> - COM_COMPONENTBUILDER_FIELD_INT</option> - <option value="TINYINT"> - COM_COMPONENTBUILDER_FIELD_TINYINT</option> - <option value="BIGINT"> - COM_COMPONENTBUILDER_FIELD_BIGINT</option> - <option value="FLOAT"> - COM_COMPONENTBUILDER_FIELD_FLOAT</option> - <option value="DECIMAL"> - COM_COMPONENTBUILDER_FIELD_DECIMAL</option> - <option value="DOUBLE"> - COM_COMPONENTBUILDER_FIELD_DOUBLE</option> - </field> - <!-- Indexes Field. Type: List. (joomla) --> - <field - type="list" - name="indexes" - label="COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL" - class="btn-group" - multiple="false" - filter="INT" - required="true" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_UNIQUE_KEY</option> - <option value="2"> - COM_COMPONENTBUILDER_FIELD_KEY</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELD_NONE</option> - </field> - <!-- Null_switch Field. Type: Radio. (joomla) --> - <field - type="radio" - name="null_switch" - label="COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL" - class="btn-group btn-group-yesno" - default="NOT NULL" - required="true"> - <!-- Option Set. --> - <option value="NULL"> - COM_COMPONENTBUILDER_FIELD_NULL</option> - <option value="NOT NULL"> - COM_COMPONENTBUILDER_FIELD_NOT_NULL</option> - </field> - <!-- Datalenght_other Field. Type: Text. (joomla) --> - <field - type="text" - name="datalenght_other" - label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add other data length/values here." - hint="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_HINT" - /> - <!-- Datadefault Field. Type: List. (joomla) --> - <field - type="list" - name="datadefault" - label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_LABEL" - description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_DESCRIPTION" - class="btn-group" - multiple="false"> - <!-- Option Set. --> - <option value=""> - COM_COMPONENTBUILDER_FIELD_NONE</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELD_ZERO</option> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_ONE</option> - <option value="CURRENT_TIMESTAMP"> - COM_COMPONENTBUILDER_FIELD_CURRENT_TIMESTAMP</option> - <option value="DATETIME"> - COM_COMPONENTBUILDER_FIELD_DATETIME</option> - <option value="Other"> - COM_COMPONENTBUILDER_FIELD_OTHER</option> - </field> - <!-- Css_view Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css_view" - label="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_HINT" - required="true" - /> - <!-- Datadefault_other Field. Type: Text. (joomla) --> - <field - type="text" - name="datadefault_other" - label="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add other default here." - hint="COM_COMPONENTBUILDER_FIELD_DATADEFAULT_OTHER_HINT" - /> - <!-- Note_filter_information Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_filter_information" label="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION" class="note_filter_information" /> - <!-- Datalenght Field. Type: List. (joomla) --> - <field - type="list" - name="datalenght" - label="COM_COMPONENTBUILDER_FIELD_DATALENGHT_LABEL" - description="COM_COMPONENTBUILDER_FIELD_DATALENGHT_DESCRIPTION" - class="btn-group" - multiple="false"> - <!-- Option Set. --> - <option value=""> - COM_COMPONENTBUILDER_FIELD_NONE_SET</option> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_ONE</option> - <option value="7"> - COM_COMPONENTBUILDER_FIELD_SEVEN</option> - <option value="10"> - COM_COMPONENTBUILDER_FIELD_TEN</option> - <option value="11"> - COM_COMPONENTBUILDER_FIELD_ELEVEN</option> - <option value="50"> - COM_COMPONENTBUILDER_FIELD_FIFTY</option> - <option value="64"> - COM_COMPONENTBUILDER_FIELD_SIXTY_FOUR</option> - <option value="100"> - COM_COMPONENTBUILDER_FIELD_ONE_HUNDRED</option> - <option value="255"> - COM_COMPONENTBUILDER_FIELD_TWO_HUNDRED_AND_FIFTY_FIVE</option> - <option value="1024"> - COM_COMPONENTBUILDER_FIELD_ONE_THOUSAND_AND_TWENTY_FOUR</option> - <option value="2048"> - COM_COMPONENTBUILDER_FIELD_TWO_THOUSAND_AND_FORTY_EIGHT</option> - <option value="Other"> - COM_COMPONENTBUILDER_FIELD_OTHER</option> - </field> - <!-- Css_views Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css_views" - label="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_HINT" - required="true" - /> - <!-- Javascript_view_footer Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="javascript_view_footer" - label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_HINT" - required="true" - /> - <!-- Xml Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="xml" - label="COM_COMPONENTBUILDER_FIELD_XML_LABEL" - rows="17" - cols="720" - description="COM_COMPONENTBUILDER_FIELD_XML_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_FIELD_XML_HINT" - required="true" - /> - <!-- Javascript_views_footer Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="javascript_views_footer" - label="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_HINT" - required="true" - /> - <!-- Add_css_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css_view" - label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELD_NO</option> - </field> - <!-- Catid Field. Type: Category. (joomla) --> - <field - type="category" - name="catid" - label="COM_COMPONENTBUILDER_FIELD_CATID_LABEL" - extension="com_componentbuilder.fields" - description="COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION" - class="inputbox" - /> - <!-- Add_css_views Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css_views" - label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELD_NO</option> - </field> - <!-- Helpnote Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="helpnote" label="COM_COMPONENTBUILDER_FIELD_HELPNOTE_LABEL" class="helpNote helpnote" /> - <!-- Add_javascript_view_footer Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_javascript_view_footer" - label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELD_NO</option> - </field> - <!-- Store Field. Type: List. (joomla) --> - <field - type="list" - name="store" - label="COM_COMPONENTBUILDER_FIELD_STORE_LABEL" - description="COM_COMPONENTBUILDER_FIELD_STORE_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - required="true" - default="0"> - <!-- Option Set. --> - <option value="0"> - COM_COMPONENTBUILDER_FIELD_DEFAULT</option> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_JSON</option> - <option value="2"> - COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR</option> - <option value="3"> - COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALKEY</option> - <option value="4"> - COM_COMPONENTBUILDER_FIELD_ADVANCE_ENCRYPTION_WHMCSKEY</option> - </field> - <!-- Add_javascript_views_footer Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_javascript_views_footer" - label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEWS_FOOTER_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELD_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELD_NO</option> - </field> - <!-- Note_vdm_encryption Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_vdm_encryption" label="COM_COMPONENTBUILDER_FIELD_NOTE_VDM_ENCRYPTION_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_VDM_ENCRYPTION_DESCRIPTION" heading="h4" class="alert alert-success note_vdm_encryption" close="true" /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this field" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="field" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/fieldtype.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/fieldtype.js deleted file mode 100644 index 5fae052aa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/fieldtype.js +++ /dev/null @@ -1,26 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldtype.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/fieldtype.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/fieldtype.xml deleted file mode 100644 index 6d6298c16..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/fieldtype.xml +++ /dev/null @@ -1,259 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_FIELDTYPE_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_FIELDTYPE_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_LABEL" - description="COM_COMPONENTBUILDER_FIELDTYPE_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT" - /> - <!-- Note_on_fields Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_on_fields" label="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_LABEL" description="COM_COMPONENTBUILDER_FIELDTYPE_NOTE_ON_FIELDS_DESCRIPTION" heading="h4" class="alert alert-info note_on_fields" close="true" /> - <!-- Catid Field. Type: Category. (joomla) --> - <field - type="category" - name="catid" - label="COM_COMPONENTBUILDER_FIELDTYPE_CATID_LABEL" - extension="com_componentbuilder.fieldtypes" - description="COM_COMPONENTBUILDER_FIELDTYPE_CATID_DESCRIPTION" - class="inputbox" - /> - <!-- Description Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="description" - label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL" - rows="11" - cols="10" - description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT" - /> - <!-- Short_description Field. Type: Text. (joomla) --> - <field - type="text" - name="short_description" - label="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_DESCRIPTION" - class="text_area" - required="true" - filter="HTML" - message="Error! Please add some short description here." - hint="COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_HINT" - /> - <!-- Properties Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="properties" - label="Properties" - description="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_DESCRIPTION" - id="addproperties" - class="addproperty" - select="COM_COMPONENTBUILDER_FIELDTYPE_PROPERTIES_SELECT" - icon="list" - maximum="500"> - <fields name="properties_fields" label=""> - <fieldset hidden="true" name="properties_modal" repeat="true"> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_FIELDTYPE_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_FIELDTYPE_NAME_HINT" - /> - <!-- Example Field. Type: Text. (joomla) --> - <field - type="text" - name="example" - label="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_LABEL" - size="40" - maxlength="150" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add value/example here." - hint="COM_COMPONENTBUILDER_FIELDTYPE_EXAMPLE_HINT" - /> - <!-- Adjustable Field. Type: Radio. (joomla) --> - <field - type="radio" - name="adjustable" - label="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_LABEL" - description="COM_COMPONENTBUILDER_FIELDTYPE_ADJUSTABLE_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELDTYPE_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELDTYPE_NO</option> - </field> - <!-- Mandatory Field. Type: Radio. (joomla) --> - <field - type="radio" - name="mandatory" - label="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_LABEL" - description="COM_COMPONENTBUILDER_FIELDTYPE_MANDATORY_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELDTYPE_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELDTYPE_NO</option> - </field> - <!-- Translatable Field. Type: Radio. (joomla) --> - <field - type="radio" - name="translatable" - label="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_LABEL" - description="COM_COMPONENTBUILDER_FIELDTYPE_TRANSLATABLE_DESCRIPTION" - default="0"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_FIELDTYPE_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_FIELDTYPE_NO</option> - </field> - <!-- Description Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="description" - label="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_LABEL" - rows="5" - cols="8" - description="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_DESCRIPTION" - class="text_area" - filter="HTML" - hint="COM_COMPONENTBUILDER_FIELDTYPE_DESCRIPTION_HINT" - /> - </fieldset> - </fields> - </field> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this fieldtype" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="fieldtype" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/help_document.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/help_document.js deleted file mode 100644 index 8cb6b5b48..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/help_document.js +++ /dev/null @@ -1,312 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage help_document.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_SrsFadKCNO_required = false; -jform_BPqNOIeMXk_required = false; -jform_cLiMKqTJyw_required = false; -jform_jtOIeOFJqz_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var location_VogwNXE = jQuery("#jform_location input[type='radio']:checked").val(); - VogwNXE(location_VogwNXE); - - var location_XdiemBu = jQuery("#jform_location input[type='radio']:checked").val(); - XdiemBu(location_XdiemBu); - - var type_SrsFadK = jQuery("#jform_type").val(); - SrsFadK(type_SrsFadK); - - var type_BPqNOIe = jQuery("#jform_type").val(); - BPqNOIe(type_BPqNOIe); - - var type_cLiMKqT = jQuery("#jform_type").val(); - cLiMKqT(type_cLiMKqT); - - var target_jtOIeOF = jQuery("#jform_target input[type='radio']:checked").val(); - jtOIeOF(target_jtOIeOF); -}); - -// the VogwNXE function -function VogwNXE(location_VogwNXE) -{ - // set the function logic - if (location_VogwNXE == 1) - { - jQuery('#jform_admin_view').closest('.control-group').show(); - } - else - { - jQuery('#jform_admin_view').closest('.control-group').hide(); - } -} - -// the XdiemBu function -function XdiemBu(location_XdiemBu) -{ - // set the function logic - if (location_XdiemBu == 2) - { - jQuery('#jform_site_view').closest('.control-group').show(); - } - else - { - jQuery('#jform_site_view').closest('.control-group').hide(); - } -} - -// the SrsFadK function -function SrsFadK(type_SrsFadK) -{ - if (isSet(type_SrsFadK) && type_SrsFadK.constructor !== Array) - { - var temp_SrsFadK = type_SrsFadK; - var type_SrsFadK = []; - type_SrsFadK.push(temp_SrsFadK); - } - else if (!isSet(type_SrsFadK)) - { - var type_SrsFadK = []; - } - var type = type_SrsFadK.some(type_SrsFadK_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_url').closest('.control-group').show(); - if (jform_SrsFadKCNO_required) - { - updateFieldRequired('url',0); - jQuery('#jform_url').prop('required','required'); - jQuery('#jform_url').attr('aria-required',true); - jQuery('#jform_url').addClass('required'); - jform_SrsFadKCNO_required = false; - } - - } - else - { - jQuery('#jform_url').closest('.control-group').hide(); - if (!jform_SrsFadKCNO_required) - { - updateFieldRequired('url',1); - jQuery('#jform_url').removeAttr('required'); - jQuery('#jform_url').removeAttr('aria-required'); - jQuery('#jform_url').removeClass('required'); - jform_SrsFadKCNO_required = true; - } - } -} - -// the SrsFadK Some function -function type_SrsFadK_SomeFunc(type_SrsFadK) -{ - // set the function logic - if (type_SrsFadK == 3) - { - return true; - } - return false; -} - -// the BPqNOIe function -function BPqNOIe(type_BPqNOIe) -{ - if (isSet(type_BPqNOIe) && type_BPqNOIe.constructor !== Array) - { - var temp_BPqNOIe = type_BPqNOIe; - var type_BPqNOIe = []; - type_BPqNOIe.push(temp_BPqNOIe); - } - else if (!isSet(type_BPqNOIe)) - { - var type_BPqNOIe = []; - } - var type = type_BPqNOIe.some(type_BPqNOIe_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_article').closest('.control-group').show(); - if (jform_BPqNOIeMXk_required) - { - updateFieldRequired('article',0); - jQuery('#jform_article').prop('required','required'); - jQuery('#jform_article').attr('aria-required',true); - jQuery('#jform_article').addClass('required'); - jform_BPqNOIeMXk_required = false; - } - - } - else - { - jQuery('#jform_article').closest('.control-group').hide(); - if (!jform_BPqNOIeMXk_required) - { - updateFieldRequired('article',1); - jQuery('#jform_article').removeAttr('required'); - jQuery('#jform_article').removeAttr('aria-required'); - jQuery('#jform_article').removeClass('required'); - jform_BPqNOIeMXk_required = true; - } - } -} - -// the BPqNOIe Some function -function type_BPqNOIe_SomeFunc(type_BPqNOIe) -{ - // set the function logic - if (type_BPqNOIe == 1) - { - return true; - } - return false; -} - -// the cLiMKqT function -function cLiMKqT(type_cLiMKqT) -{ - if (isSet(type_cLiMKqT) && type_cLiMKqT.constructor !== Array) - { - var temp_cLiMKqT = type_cLiMKqT; - var type_cLiMKqT = []; - type_cLiMKqT.push(temp_cLiMKqT); - } - else if (!isSet(type_cLiMKqT)) - { - var type_cLiMKqT = []; - } - var type = type_cLiMKqT.some(type_cLiMKqT_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_content-lbl').closest('.control-group').show(); - if (jform_cLiMKqTJyw_required) - { - updateFieldRequired('content',0); - jQuery('#jform_content').prop('required','required'); - jQuery('#jform_content').attr('aria-required',true); - jQuery('#jform_content').addClass('required'); - jform_cLiMKqTJyw_required = false; - } - - } - else - { - jQuery('#jform_content-lbl').closest('.control-group').hide(); - if (!jform_cLiMKqTJyw_required) - { - updateFieldRequired('content',1); - jQuery('#jform_content').removeAttr('required'); - jQuery('#jform_content').removeAttr('aria-required'); - jQuery('#jform_content').removeClass('required'); - jform_cLiMKqTJyw_required = true; - } - } -} - -// the cLiMKqT Some function -function type_cLiMKqT_SomeFunc(type_cLiMKqT) -{ - // set the function logic - if (type_cLiMKqT == 2) - { - return true; - } - return false; -} - -// the jtOIeOF function -function jtOIeOF(target_jtOIeOF) -{ - // set the function logic - if (target_jtOIeOF == 1) - { - jQuery('#jform_groups').closest('.control-group').show(); - if (jform_jtOIeOFJqz_required) - { - updateFieldRequired('groups',0); - jQuery('#jform_groups').prop('required','required'); - jQuery('#jform_groups').attr('aria-required',true); - jQuery('#jform_groups').addClass('required'); - jform_jtOIeOFJqz_required = false; - } - - } - else - { - jQuery('#jform_groups').closest('.control-group').hide(); - if (!jform_jtOIeOFJqz_required) - { - updateFieldRequired('groups',1); - jQuery('#jform_groups').removeAttr('required'); - jQuery('#jform_groups').removeAttr('aria-required'); - jQuery('#jform_groups').removeClass('required'); - jform_jtOIeOFJqz_required = true; - } - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/help_document.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/help_document.xml deleted file mode 100644 index 9468c1c7b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/help_document.xml +++ /dev/null @@ -1,245 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_LABEL" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- Title Field. Type: Text. (joomla) --> - <field - type="text" - name="title" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add title here." - hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_HINT" - /> - <!-- Type Field. Type: List. (joomla) --> - <field - type="list" - name="type" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_DESCRIPTION" - class="list_class" - multiple="false" - required="true"> - <!-- Option Set. --> - <option value=""> - COM_COMPONENTBUILDER_HELP_DOCUMENT_SELECT_AN_OPTION</option> - <option value="1"> - COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE</option> - <option value="2"> - COM_COMPONENTBUILDER_HELP_DOCUMENT_TEXT</option> - <option value="3"> - COM_COMPONENTBUILDER_HELP_DOCUMENT_URL</option> - </field> - <!-- Groups Field. Type: Usergroup. (joomla) --> - <field - type="usergroup" - name="groups" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_LABEL" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_DESCRIPTION" - required="true" - multiple="true" - /> - <!-- Location Field. Type: Radio. (joomla) --> - <field - type="radio" - name="location" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_DESCRIPTION" - class="btn-group" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN</option> - <option value="2"> - COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE</option> - </field> - <!-- Admin_view Field. Type: Folderlist. (joomla) --> - <field - type="folderlist" - name="admin_view" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL" - directory="/administrator/components/com_componentbuilder/views" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_DESCRIPTION" - hide_none="true" - hide_default="true" - /> - <!-- Site_view Field. Type: Folderlist. (joomla) --> - <field - type="folderlist" - name="site_view" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL" - directory="/components/com_componentbuilder/views" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_DESCRIPTION" - hide_none="true" - hide_default="true" - /> - <!-- Target Field. Type: Radio. (joomla) --> - <field - type="radio" - name="target" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_LABEL" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_TARGET_DESCRIPTION" - class="btn-group" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_HELP_DOCUMENT_SOME</option> - <option value="2"> - COM_COMPONENTBUILDER_HELP_DOCUMENT_ALL</option> - </field> - <!-- Content Field. Type: Editor. (joomla) --> - <field - type="editor" - name="content" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_CONTENT_LABEL" - width="100%" - height="300 px" - buttons="false" - filter="safehtml" - required="true" - /> - <!-- Alias Field. Type: Text. (joomla) --> - <field - type="text" - name="alias" - label="JFIELD_ALIAS_LABEL" - description="JFIELD_ALIAS_DESC" - filter="STRING" - hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_ALIAS_HINT" - /> - <!-- Article Field. Type: Articles. (custom) --> - <field - type="articles" - name="article" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_ARTICLE_LABEL" - class="list_class" - multiple="false" - default="0" - required="true" - /> - <!-- Url Field. Type: Url. (joomla) --> - <field - type="url" - name="url" - label="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_DESCRIPTION" - class="text_area" - required="true" - filter="url" - validated="url" - message="Error! Please add url here." - hint="COM_COMPONENTBUILDER_HELP_DOCUMENT_URL_HINT" - /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this help_document" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="help_document" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/layout.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/layout.js deleted file mode 100644 index 4a57c1ebe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/layout.js +++ /dev/null @@ -1,226 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage layout.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_JSrMkAMXQh_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var add_php_view_JSrMkAM = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - JSrMkAM(add_php_view_JSrMkAM); -}); - -// the JSrMkAM function -function JSrMkAM(add_php_view_JSrMkAM) -{ - // set the function logic - if (add_php_view_JSrMkAM == 1) - { - jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_JSrMkAMXQh_required) - { - updateFieldRequired('php_view',0); - jQuery('#jform_php_view').prop('required','required'); - jQuery('#jform_php_view').attr('aria-required',true); - jQuery('#jform_php_view').addClass('required'); - jform_JSrMkAMXQh_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_JSrMkAMXQh_required) - { - updateFieldRequired('php_view',1); - jQuery('#jform_php_view').removeAttr('required'); - jQuery('#jform_php_view').removeAttr('aria-required'); - jQuery('#jform_php_view').removeClass('required'); - jform_JSrMkAMXQh_required = true; - } - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} - -function getSnippetDetails_server(snippetId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.snippetDetails&format=json"; - if(token.length > 0 && snippetId > 0){ - var request = 'token='+token+'&id='+snippetId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getSnippetDetails(id){ - getSnippetDetails_server(id).done(function(result) { - if(result.snippet){ - var description = ''; - if (result.description.length > 0) - { - description = '<p>'+result.description+'</p>'; - } - var code = '<div id="snippet-code"><b>'+result.name+' ('+result.type+')</b> <a href="'+result.url+'" target="_blank" >see more details</a><br /><em>'+result.heading+'</em><br /><textarea id="snippet" class="span12" rows="11">'+result.snippet+'</textarea></div>'; - jQuery('#snippet-code').remove(); - jQuery('.snippet-code').append(code); - // make sure the code block is active - jQuery("#snippet").focus(function() { - var jQuerythis = jQuery(this); - jQuerythis.select(); - - // Work around Chrome's little problem - jQuerythis.mouseup(function() { - // Prevent further mouseup intervention - jQuerythis.unbind("mouseup"); - return false; - }); - }); - } - if(result.usage){ - var usage = '<div id="snippet-usage"><p>'+result.usage+'</p></div>'; - jQuery('#snippet-usage').remove(); - jQuery('.snippet-usage').append(usage); - } - }) -} - -function getDynamicValues_server(dynamicId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicValues&format=json"; - if(token.length > 0 && dynamicId > 0){ - var request = 'token='+token+'&view=layout&id='+dynamicId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicValues(id){ - getDynamicValues_server(id).done(function(result) { - if(result){ - jQuery('#dynamic_values').remove(); - jQuery('.dynamic_values').append('<div id="dynamic_values">'+result+'</div>'); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getLayoutDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.layoutDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getLayoutDetails(id){ - getLayoutDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getDynamicFormDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicFormDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicFormDetails(id){ - getDynamicFormDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/layout.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/layout.xml deleted file mode 100644 index f1f2ea3c6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/layout.xml +++ /dev/null @@ -1,228 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_LAYOUT_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_LAYOUT_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_LAYOUT_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_LAYOUT_VERSION_LABEL" - description="COM_COMPONENTBUILDER_LAYOUT_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_LAYOUT_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_LAYOUT_NAME_HINT" - /> - <!-- Alias Field. Type: Text. (joomla) --> - <field - type="text" - name="alias" - label="COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_LAYOUT_ALIAS_DESCRIPTION" - class="text_area" - filter="CMD" - message="Error! Please add name in code here." - hint="COM_COMPONENTBUILDER_LAYOUT_ALIAS_HINT" - /> - <!-- Description Field. Type: Text. (joomla) --> - <field - type="text" - name="description" - label="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL" - size="80" - maxlength="150" - description="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add description here." - hint="COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_HINT" - /> - <!-- Dynamic_get Field. Type: Dynamicgets. (custom) --> - <field - type="dynamicgets" - name="dynamic_get" - label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL" - description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_DESCRIPTION" - multiple="false" - required="true" - button="true" - /> - <!-- Snippet Field. Type: Snippets. (custom) --> - <field - type="snippets" - name="snippet" - label="COM_COMPONENTBUILDER_LAYOUT_SNIPPET_LABEL" - class="list_class" - multiple="false" - required="false" - button="true" - /> - <!-- Php_view Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_view" - label="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT" - required="true" - /> - <!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_uikit_snippet" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" /> - <!-- Layout Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="layout" - label="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL" - rows="20" - cols="15" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT" - required="true" - /> - <!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" /> - <!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="dynamic_values" label="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_VALUES_DESCRIPTION" heading="h4" class="dynamic_values" /> - <!-- Add_php_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_view" - label="COM_COMPONENTBUILDER_LAYOUT_ADD_PHP_VIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_LAYOUT_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_LAYOUT_NO</option> - </field> - <!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_language_string" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_LABEL" description="COM_COMPONENTBUILDER_LAYOUT_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" heading="h4" class="note_add_language_string" /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this layout" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="layout" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/site_view.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/site_view.js deleted file mode 100644 index 18c55e7e2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/site_view.js +++ /dev/null @@ -1,556 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site_view.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_blJlYrDoLV_required = false; -jform_VEXuxBIFNE_required = false; -jform_EgCFxqXYes_required = false; -jform_jfLQoCdQQJ_required = false; -jform_NOqLoJrWrb_required = false; -jform_BWfWBwiyDl_required = false; -jform_YKnCuKlEDd_required = false; -jform_qkRCUepkaO_required = false; -jform_kCMursRGRu_required = false; -jform_kCMursRPRZ_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var add_php_view_blJlYrD = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - blJlYrD(add_php_view_blJlYrD); - - var add_php_jview_display_VEXuxBI = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - VEXuxBI(add_php_jview_display_VEXuxBI); - - var add_php_jview_EgCFxqX = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - EgCFxqX(add_php_jview_EgCFxqX); - - var add_php_document_jfLQoCd = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - jfLQoCd(add_php_document_jfLQoCd); - - var add_css_document_NOqLoJr = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - NOqLoJr(add_css_document_NOqLoJr); - - var add_js_document_BWfWBwi = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - BWfWBwi(add_js_document_BWfWBwi); - - var add_css_YKnCuKl = jQuery("#jform_add_css input[type='radio']:checked").val(); - YKnCuKl(add_css_YKnCuKl); - - var add_php_ajax_qkRCUep = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - qkRCUep(add_php_ajax_qkRCUep); - - var add_custom_button_kCMursR = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - kCMursR(add_custom_button_kCMursR); -}); - -// the blJlYrD function -function blJlYrD(add_php_view_blJlYrD) -{ - // set the function logic - if (add_php_view_blJlYrD == 1) - { - jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_blJlYrDoLV_required) - { - updateFieldRequired('php_view',0); - jQuery('#jform_php_view').prop('required','required'); - jQuery('#jform_php_view').attr('aria-required',true); - jQuery('#jform_php_view').addClass('required'); - jform_blJlYrDoLV_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_blJlYrDoLV_required) - { - updateFieldRequired('php_view',1); - jQuery('#jform_php_view').removeAttr('required'); - jQuery('#jform_php_view').removeAttr('aria-required'); - jQuery('#jform_php_view').removeClass('required'); - jform_blJlYrDoLV_required = true; - } - } -} - -// the VEXuxBI function -function VEXuxBI(add_php_jview_display_VEXuxBI) -{ - // set the function logic - if (add_php_jview_display_VEXuxBI == 1) - { - jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_VEXuxBIFNE_required) - { - updateFieldRequired('php_jview_display',0); - jQuery('#jform_php_jview_display').prop('required','required'); - jQuery('#jform_php_jview_display').attr('aria-required',true); - jQuery('#jform_php_jview_display').addClass('required'); - jform_VEXuxBIFNE_required = false; - } - - } - else - { - jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_VEXuxBIFNE_required) - { - updateFieldRequired('php_jview_display',1); - jQuery('#jform_php_jview_display').removeAttr('required'); - jQuery('#jform_php_jview_display').removeAttr('aria-required'); - jQuery('#jform_php_jview_display').removeClass('required'); - jform_VEXuxBIFNE_required = true; - } - } -} - -// the EgCFxqX function -function EgCFxqX(add_php_jview_EgCFxqX) -{ - // set the function logic - if (add_php_jview_EgCFxqX == 1) - { - jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_EgCFxqXYes_required) - { - updateFieldRequired('php_jview',0); - jQuery('#jform_php_jview').prop('required','required'); - jQuery('#jform_php_jview').attr('aria-required',true); - jQuery('#jform_php_jview').addClass('required'); - jform_EgCFxqXYes_required = false; - } - - } - else - { - jQuery('#jform_php_jview').closest('.control-group').hide(); - if (!jform_EgCFxqXYes_required) - { - updateFieldRequired('php_jview',1); - jQuery('#jform_php_jview').removeAttr('required'); - jQuery('#jform_php_jview').removeAttr('aria-required'); - jQuery('#jform_php_jview').removeClass('required'); - jform_EgCFxqXYes_required = true; - } - } -} - -// the jfLQoCd function -function jfLQoCd(add_php_document_jfLQoCd) -{ - // set the function logic - if (add_php_document_jfLQoCd == 1) - { - jQuery('#jform_php_document').closest('.control-group').show(); - if (jform_jfLQoCdQQJ_required) - { - updateFieldRequired('php_document',0); - jQuery('#jform_php_document').prop('required','required'); - jQuery('#jform_php_document').attr('aria-required',true); - jQuery('#jform_php_document').addClass('required'); - jform_jfLQoCdQQJ_required = false; - } - - } - else - { - jQuery('#jform_php_document').closest('.control-group').hide(); - if (!jform_jfLQoCdQQJ_required) - { - updateFieldRequired('php_document',1); - jQuery('#jform_php_document').removeAttr('required'); - jQuery('#jform_php_document').removeAttr('aria-required'); - jQuery('#jform_php_document').removeClass('required'); - jform_jfLQoCdQQJ_required = true; - } - } -} - -// the NOqLoJr function -function NOqLoJr(add_css_document_NOqLoJr) -{ - // set the function logic - if (add_css_document_NOqLoJr == 1) - { - jQuery('#jform_css_document').closest('.control-group').show(); - if (jform_NOqLoJrWrb_required) - { - updateFieldRequired('css_document',0); - jQuery('#jform_css_document').prop('required','required'); - jQuery('#jform_css_document').attr('aria-required',true); - jQuery('#jform_css_document').addClass('required'); - jform_NOqLoJrWrb_required = false; - } - - } - else - { - jQuery('#jform_css_document').closest('.control-group').hide(); - if (!jform_NOqLoJrWrb_required) - { - updateFieldRequired('css_document',1); - jQuery('#jform_css_document').removeAttr('required'); - jQuery('#jform_css_document').removeAttr('aria-required'); - jQuery('#jform_css_document').removeClass('required'); - jform_NOqLoJrWrb_required = true; - } - } -} - -// the BWfWBwi function -function BWfWBwi(add_js_document_BWfWBwi) -{ - // set the function logic - if (add_js_document_BWfWBwi == 1) - { - jQuery('#jform_js_document').closest('.control-group').show(); - if (jform_BWfWBwiyDl_required) - { - updateFieldRequired('js_document',0); - jQuery('#jform_js_document').prop('required','required'); - jQuery('#jform_js_document').attr('aria-required',true); - jQuery('#jform_js_document').addClass('required'); - jform_BWfWBwiyDl_required = false; - } - - } - else - { - jQuery('#jform_js_document').closest('.control-group').hide(); - if (!jform_BWfWBwiyDl_required) - { - updateFieldRequired('js_document',1); - jQuery('#jform_js_document').removeAttr('required'); - jQuery('#jform_js_document').removeAttr('aria-required'); - jQuery('#jform_js_document').removeClass('required'); - jform_BWfWBwiyDl_required = true; - } - } -} - -// the YKnCuKl function -function YKnCuKl(add_css_YKnCuKl) -{ - // set the function logic - if (add_css_YKnCuKl == 1) - { - jQuery('#jform_css').closest('.control-group').show(); - if (jform_YKnCuKlEDd_required) - { - updateFieldRequired('css',0); - jQuery('#jform_css').prop('required','required'); - jQuery('#jform_css').attr('aria-required',true); - jQuery('#jform_css').addClass('required'); - jform_YKnCuKlEDd_required = false; - } - - } - else - { - jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_YKnCuKlEDd_required) - { - updateFieldRequired('css',1); - jQuery('#jform_css').removeAttr('required'); - jQuery('#jform_css').removeAttr('aria-required'); - jQuery('#jform_css').removeClass('required'); - jform_YKnCuKlEDd_required = true; - } - } -} - -// the qkRCUep function -function qkRCUep(add_php_ajax_qkRCUep) -{ - // set the function logic - if (add_php_ajax_qkRCUep == 1) - { - jQuery('#jform_ajax_input').closest('.control-group').show(); - jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_qkRCUepkaO_required) - { - updateFieldRequired('php_ajaxmethod',0); - jQuery('#jform_php_ajaxmethod').prop('required','required'); - jQuery('#jform_php_ajaxmethod').attr('aria-required',true); - jQuery('#jform_php_ajaxmethod').addClass('required'); - jform_qkRCUepkaO_required = false; - } - - } - else - { - jQuery('#jform_ajax_input').closest('.control-group').hide(); - jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_qkRCUepkaO_required) - { - updateFieldRequired('php_ajaxmethod',1); - jQuery('#jform_php_ajaxmethod').removeAttr('required'); - jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); - jQuery('#jform_php_ajaxmethod').removeClass('required'); - jform_qkRCUepkaO_required = true; - } - } -} - -// the kCMursR function -function kCMursR(add_custom_button_kCMursR) -{ - // set the function logic - if (add_custom_button_kCMursR == 1) - { - jQuery('#jform_custom_button').closest('.control-group').show(); - jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_kCMursRGRu_required) - { - updateFieldRequired('php_controller',0); - jQuery('#jform_php_controller').prop('required','required'); - jQuery('#jform_php_controller').attr('aria-required',true); - jQuery('#jform_php_controller').addClass('required'); - jform_kCMursRGRu_required = false; - } - - jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_kCMursRPRZ_required) - { - updateFieldRequired('php_model',0); - jQuery('#jform_php_model').prop('required','required'); - jQuery('#jform_php_model').attr('aria-required',true); - jQuery('#jform_php_model').addClass('required'); - jform_kCMursRPRZ_required = false; - } - - } - else - { - jQuery('#jform_custom_button').closest('.control-group').hide(); - jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_kCMursRGRu_required) - { - updateFieldRequired('php_controller',1); - jQuery('#jform_php_controller').removeAttr('required'); - jQuery('#jform_php_controller').removeAttr('aria-required'); - jQuery('#jform_php_controller').removeClass('required'); - jform_kCMursRGRu_required = true; - } - jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_kCMursRPRZ_required) - { - updateFieldRequired('php_model',1); - jQuery('#jform_php_model').removeAttr('required'); - jQuery('#jform_php_model').removeAttr('aria-required'); - jQuery('#jform_php_model').removeClass('required'); - jform_kCMursRPRZ_required = true; - } - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} - -function getSnippetDetails_server(snippetId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.snippetDetails&format=json"; - if(token.length > 0 && snippetId > 0){ - var request = 'token='+token+'&id='+snippetId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getSnippetDetails(id){ - getSnippetDetails_server(id).done(function(result) { - if(result.snippet){ - var description = ''; - if (result.description.length > 0) - { - description = '<p>'+result.description+'</p>'; - } - var code = '<div id="snippet-code"><b>'+result.name+' ('+result.type+')</b> <a href="'+result.url+'" target="_blank" >see more details</a><br /><em>'+result.heading+'</em><br /><textarea id="snippet" class="span12" rows="11">'+result.snippet+'</textarea></div>'; - jQuery('#snippet-code').remove(); - jQuery('.snippet-code').append(code); - // make sure the code block is active - jQuery("#snippet").focus(function() { - var jQuerythis = jQuery(this); - jQuerythis.select(); - - // Work around Chrome's little problem - jQuerythis.mouseup(function() { - // Prevent further mouseup intervention - jQuerythis.unbind("mouseup"); - return false; - }); - }); - } - if(result.usage){ - var usage = '<div id="snippet-usage"><p>'+result.usage+'</p></div>'; - jQuery('#snippet-usage').remove(); - jQuery('.snippet-usage').append(usage); - } - }) -} - -function getDynamicValues_server(dynamicId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicValues&format=json"; - if(token.length > 0 && dynamicId > 0){ - var request = 'token='+token+'&view=template&id='+dynamicId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicValues(id){ - getDynamicValues_server(id).done(function(result) { - if(result){ - jQuery('#dynamic_values').remove(); - jQuery('.dynamic_values').append('<div id="dynamic_values">'+result+'</div>'); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getLayoutDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.layoutDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getLayoutDetails(id){ - getLayoutDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getTemplateDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.templateDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getTemplateDetails(id){ - getTemplateDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getDynamicFormDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicFormDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicFormDetails(id){ - getDynamicFormDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/site_view.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/site_view.xml deleted file mode 100644 index 876152f16..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/site_view.xml +++ /dev/null @@ -1,1134 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_SITE_VIEW_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_SITE_VIEW_VERSION_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- System_name Field. Type: Text. (joomla) --> - <field - type="text" - name="system_name" - label="COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_LABEL" - size="10" - maxlength="50" - description="COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_DESCRIPTION" - class="text_area" - filter="STRING" - message="Error! Please add some text here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_HINT" - /> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_SITE_VIEW_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_NAME_HINT" - /> - <!-- Alias Field. Type: Text. (joomla) --> - <field - type="text" - name="alias" - label="COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_DESCRIPTION" - class="text_area" - filter="CMD" - message="Error! Please add name in code here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_HINT" - /> - <!-- Description Field. Type: Text. (joomla) --> - <field - type="text" - name="description" - label="COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL" - size="80" - maxlength="150" - description="COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add description here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_HINT" - /> - <!-- Snippet Field. Type: Snippets. (custom) --> - <field - type="snippets" - name="snippet" - label="COM_COMPONENTBUILDER_SITE_VIEW_SNIPPET_LABEL" - class="list_class" - multiple="false" - required="false" - button="true" - /> - <!-- Css_document Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css_document" - label="COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_HINT" - required="true" - /> - <!-- Php_view Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_view" - label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_HINT" - required="true" - /> - <!-- Php_jview Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_jview" - label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_HINT" - required="true" - /> - <!-- Ajax_input Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="ajax_input" - label="Ajax Input" - id="ajax_input" - class="ajax_inputs" - select="COM_COMPONENTBUILDER_SITE_VIEW_AJAX_INPUT_SELECT" - icon="list" - maximum="150"> - <fields name="ajax_input_fields" label=""> - <fieldset hidden="true" name="ajax_input_modal" repeat="true"> - <!-- Value_name Field. Type: Text. (joomla) --> - <field - type="text" - name="value_name" - label="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add value name here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_VALUE_NAME_HINT" - /> - <!-- Task_name Field. Type: Text. (joomla) --> - <field - type="text" - name="task_name" - label="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="WORD" - message="Error! Please add task name here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_TASK_NAME_HINT" - /> - <!-- Input_default Field. Type: Text. (joomla) --> - <field - type="text" - name="input_default" - label="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_LABEL" - size="40" - maxlength="150" - default="NULL" - description="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add default input value here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_DEFAULT_HINT" - /> - <!-- Input_filter Field. Type: List. (joomla) --> - <field - type="list" - name="input_filter" - label="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_FILTER_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_INPUT_FILTER_DESCRIPTION" - class="list_class" - multiple="false" - filter="WORD" - default="INT"> - <!-- Option Set. --> - <option value="INT"> - COM_COMPONENTBUILDER_SITE_VIEW_INT</option> - <option value="UINT"> - COM_COMPONENTBUILDER_SITE_VIEW_UINT</option> - <option value="FLOAT"> - COM_COMPONENTBUILDER_SITE_VIEW_FLOAT</option> - <option value="BOOLEAN"> - COM_COMPONENTBUILDER_SITE_VIEW_BOOLEAN</option> - <option value="WORD"> - COM_COMPONENTBUILDER_SITE_VIEW_WORD</option> - <option value="ALNUM"> - COM_COMPONENTBUILDER_SITE_VIEW_ALNUM</option> - <option value="CMD"> - COM_COMPONENTBUILDER_SITE_VIEW_CMD</option> - <option value="BASE64"> - COM_COMPONENTBUILDER_SITE_VIEW_BASESIXTY_FOUR</option> - <option value="STRING"> - COM_COMPONENTBUILDER_SITE_VIEW_STRING</option> - <option value="HTML"> - COM_COMPONENTBUILDER_SITE_VIEW_HTML</option> - <option value="ARRAY"> - COM_COMPONENTBUILDER_SITE_VIEW_ARRAY</option> - <option value="PATH"> - COM_COMPONENTBUILDER_SITE_VIEW_PATH</option> - <option value="USERNAME"> - COM_COMPONENTBUILDER_SITE_VIEW_USERNAME</option> - <option value="RAW"> - COM_COMPONENTBUILDER_SITE_VIEW_RAW</option> - <option value="unknown"> - COM_COMPONENTBUILDER_SITE_VIEW_UNKNOWN</option> - </field> - <!-- Method_name Field. Type: Text. (joomla) --> - <field - type="text" - name="method_name" - label="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_LABEL" - size="40" - maxlength="150" - default="getValueNow" - description="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="WORD" - message="Error! Please add method name here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_NAME_HINT" - /> - <!-- User_check Field. Type: Radio. (joomla) --> - <field - type="radio" - name="user_check" - label="COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_USER_CHECK_DESCRIPTION" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - </fieldset> - </fields> - </field> - <!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" /> - <!-- Php_document Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_document" - label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_HINT" - required="true" - /> - <!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_uikit_snippet" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" /> - <!-- Php_jview_display Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_jview_display" - label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_HINT" - required="true" - /> - <!-- Custom_get Field. Type: Customgets. (custom) --> - <field - type="customgets" - name="custom_get" - label="COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET_DESCRIPTION" - multiple="true" - /> - <!-- Js_document Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="js_document" - label="COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_HINT" - required="true" - /> - <!-- Add_php_ajax Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_ajax" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_AJAX_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Css Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="css" - label="COM_COMPONENTBUILDER_SITE_VIEW_CSS_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_SITE_VIEW_CSS_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_CSS_HINT" - required="true" - /> - <!-- Main_get Field. Type: Maingets. (custom) --> - <field - type="maingets" - name="main_get" - label="COM_COMPONENTBUILDER_SITE_VIEW_MAIN_GET_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_MAIN_GET_DESCRIPTION" - multiple="false" - required="true" - button="true" - /> - <!-- Dynamic_get Field. Type: Dynamicgets. (custom) --> - <field - type="dynamicgets" - name="dynamic_get" - label="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_GET_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_GET_DESCRIPTION" - multiple="false" - required="false" - /> - <!-- Php_ajaxmethod Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_ajaxmethod" - label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_HINT" - required="true" - /> - <!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="dynamic_values" label="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_VALUES_LABEL" description="COM_COMPONENTBUILDER_SITE_VIEW_DYNAMIC_VALUES_DESCRIPTION" heading="h4" class="dynamic_values" /> - <!-- Add_php_document Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_document" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_DOCUMENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_language_string" label="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_ADD_LANGUAGE_STRING_LABEL" description="COM_COMPONENTBUILDER_SITE_VIEW_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" heading="h4" class="note_add_language_string" /> - <!-- Add_php_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_view" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_VIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Default Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="default" - label="COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_LABEL" - rows="20" - cols="15" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_HINT" - required="true" - /> - <!-- Add_php_jview_display Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_jview_display" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW_DISPLAY_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Add_custom_button Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_custom_button" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_CUSTOM_BUTTON_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Add_php_jview Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_jview" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_PHP_JVIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Custom_button Field. Type: Repeatable. (joomla) --> - <field - type="repeatable" - name="custom_button" - label="Custom Buttons" - id="custom_button" - class="custom_buttons" - select="COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_BUTTON_SELECT" - icon="list" - maximum="7"> - <fields name="custom_button_fields" label=""> - <fieldset hidden="true" name="custom_button_modal" repeat="true"> - <!-- Icomoon Field. Type: List. (joomla) --> - <field - type="list" - name="icomoon" - label="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_ICOMOON_DESCRIPTION" - class="list_class fieldMedium" - multiple="false"> - <!-- Option Set. --> - <option value="joomla"> - COM_COMPONENTBUILDER_SITE_VIEW_JOOMLA</option> - <option value="address"> - COM_COMPONENTBUILDER_SITE_VIEW_ADDRESS</option> - <option value="pencil"> - COM_COMPONENTBUILDER_SITE_VIEW_PENCIL</option> - <option value="archive"> - COM_COMPONENTBUILDER_SITE_VIEW_ARCHIVE</option> - <option value="arrow-down-2"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_TWO</option> - <option value="arrow-down-3"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_THREE</option> - <option value="arrow-down-4"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN_FOUR</option> - <option value="arrow-first"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_FIRST</option> - <option value="arrow-last"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LAST</option> - <option value="arrow-left-2"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_TWO</option> - <option value="arrow-left-3"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_THREE</option> - <option value="arrow-left-4"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT_FOUR</option> - <option value="arrow-right-2"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_TWO</option> - <option value="arrow-right-3"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_THREE</option> - <option value="arrow-right-4"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT_FOUR</option> - <option value="arrow-up-2"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_TWO</option> - <option value="arrow-up-3"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_THREE</option> - <option value="arrow-up-4"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP_FOUR</option> - <option value="attachment"> - COM_COMPONENTBUILDER_SITE_VIEW_ATTACHMENT</option> - <option value="reply"> - COM_COMPONENTBUILDER_SITE_VIEW_REPLY</option> - <option value="backward-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_BACKWARD_CIRCLE</option> - <option value="ban-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_BAN_CIRCLE</option> - <option value="bars"> - COM_COMPONENTBUILDER_SITE_VIEW_BARS</option> - <option value="basket"> - COM_COMPONENTBUILDER_SITE_VIEW_BASKET</option> - <option value="book"> - COM_COMPONENTBUILDER_SITE_VIEW_BOOK</option> - <option value="bookmark"> - COM_COMPONENTBUILDER_SITE_VIEW_BOOKMARK</option> - <option value="bookmark-2"> - COM_COMPONENTBUILDER_SITE_VIEW_BOOKMARK_TWO</option> - <option value="box-add"> - COM_COMPONENTBUILDER_SITE_VIEW_BOX_ADD</option> - <option value="box-remove"> - COM_COMPONENTBUILDER_SITE_VIEW_BOX_REMOVE</option> - <option value="briefcase"> - COM_COMPONENTBUILDER_SITE_VIEW_BRIEFCASE</option> - <option value="wifi"> - COM_COMPONENTBUILDER_SITE_VIEW_WIFI</option> - <option value="brush"> - COM_COMPONENTBUILDER_SITE_VIEW_BRUSH</option> - <option value="calendar"> - COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR</option> - <option value="calendar-2"> - COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR_TWO</option> - <option value="calendar-3"> - COM_COMPONENTBUILDER_SITE_VIEW_CALENDAR_THREE</option> - <option value="camera"> - COM_COMPONENTBUILDER_SITE_VIEW_CAMERA</option> - <option value="camera-2 / video"> - COM_COMPONENTBUILDER_SITE_VIEW_CAMERA_TWO_VIDEO</option> - <option value="cancel-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_CANCEL_CIRCLE</option> - <option value="cart"> - COM_COMPONENTBUILDER_SITE_VIEW_CART</option> - <option value="chart"> - COM_COMPONENTBUILDER_SITE_VIEW_CHART</option> - <option value="checkbox-partial"> - COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX_PARTIAL</option> - <option value="checkbox-unchecked"> - COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX_UNCHECKED</option> - <option value="lock"> - COM_COMPONENTBUILDER_SITE_VIEW_LOCK</option> - <option value="checkbox"> - COM_COMPONENTBUILDER_SITE_VIEW_CHECKBOX</option> - <option value="checkmark-2"> - COM_COMPONENTBUILDER_SITE_VIEW_CHECKMARK_TWO</option> - <option value="checkmark-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_CHECKMARK_CIRCLE</option> - <option value="arrow-down"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_DOWN</option> - <option value="arrow-left"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_LEFT</option> - <option value="arrow-right"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_RIGHT</option> - <option value="arrow-up"> - COM_COMPONENTBUILDER_SITE_VIEW_ARROW_UP</option> - <option value="circle"> - COM_COMPONENTBUILDER_SITE_VIEW_CIRCLE</option> - <option value="clock"> - COM_COMPONENTBUILDER_SITE_VIEW_CLOCK</option> - <option value="cogs"> - COM_COMPONENTBUILDER_SITE_VIEW_COGS</option> - <option value="comment"> - COM_COMPONENTBUILDER_SITE_VIEW_COMMENT</option> - <option value="comments-2"> - COM_COMPONENTBUILDER_SITE_VIEW_COMMENTS_TWO</option> - <option value="compass"> - COM_COMPONENTBUILDER_SITE_VIEW_COMPASS</option> - <option value="contract"> - COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT</option> - <option value="contract-2"> - COM_COMPONENTBUILDER_SITE_VIEW_CONTRACT_TWO</option> - <option value="credit"> - COM_COMPONENTBUILDER_SITE_VIEW_CREDIT</option> - <option value="credit-2"> - COM_COMPONENTBUILDER_SITE_VIEW_CREDIT_TWO</option> - <option value="cube"> - COM_COMPONENTBUILDER_SITE_VIEW_CUBE</option> - <option value="dashboard"> - COM_COMPONENTBUILDER_SITE_VIEW_DASHBOARD</option> - <option value="database"> - COM_COMPONENTBUILDER_SITE_VIEW_DATABASE</option> - <option value="delete"> - COM_COMPONENTBUILDER_SITE_VIEW_DELETE</option> - <option value="download"> - COM_COMPONENTBUILDER_SITE_VIEW_DOWNLOAD</option> - <option value="enter"> - COM_COMPONENTBUILDER_SITE_VIEW_ENTER</option> - <option value="envelope"> - COM_COMPONENTBUILDER_SITE_VIEW_ENVELOPE</option> - <option value="envelope-opened"> - COM_COMPONENTBUILDER_SITE_VIEW_ENVELOPE_OPENED</option> - <option value="equalizer"> - COM_COMPONENTBUILDER_SITE_VIEW_EQUALIZER</option> - <option value="exit"> - COM_COMPONENTBUILDER_SITE_VIEW_EXIT</option> - <option value="expand"> - COM_COMPONENTBUILDER_SITE_VIEW_EXPAND</option> - <option value="expand-2"> - COM_COMPONENTBUILDER_SITE_VIEW_EXPAND_TWO</option> - <option value="expired"> - COM_COMPONENTBUILDER_SITE_VIEW_EXPIRED</option> - <option value="eye-close"> - COM_COMPONENTBUILDER_SITE_VIEW_EYE_CLOSE</option> - <option value="eye-open"> - COM_COMPONENTBUILDER_SITE_VIEW_EYE_OPEN</option> - <option value="featured"> - COM_COMPONENTBUILDER_SITE_VIEW_FEATURED</option> - <option value="feed"> - COM_COMPONENTBUILDER_SITE_VIEW_FEED</option> - <option value="file"> - COM_COMPONENTBUILDER_SITE_VIEW_FILE</option> - <option value="file-2"> - COM_COMPONENTBUILDER_SITE_VIEW_FILE_TWO</option> - <option value="file-add"> - COM_COMPONENTBUILDER_SITE_VIEW_FILE_ADD</option> - <option value="file-check"> - COM_COMPONENTBUILDER_SITE_VIEW_FILE_CHECK</option> - <option value="file-minus"> - COM_COMPONENTBUILDER_SITE_VIEW_FILE_MINUS</option> - <option value="file-remove"> - COM_COMPONENTBUILDER_SITE_VIEW_FILE_REMOVE</option> - <option value="filter"> - COM_COMPONENTBUILDER_SITE_VIEW_FILTER</option> - <option value="first"> - COM_COMPONENTBUILDER_SITE_VIEW_FIRST</option> - <option value="flag"> - COM_COMPONENTBUILDER_SITE_VIEW_FLAG</option> - <option value="flag-3"> - COM_COMPONENTBUILDER_SITE_VIEW_FLAG_THREE</option> - <option value="folder-3"> - COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_THREE</option> - <option value="folder-close"> - COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_CLOSE</option> - <option value="folder-minus"> - COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_MINUS</option> - <option value="folder-open"> - COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_OPEN</option> - <option value="folder-plus"> - COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_PLUS</option> - <option value="folder-plus-2"> - COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_PLUS_TWO</option> - <option value="folder-remove"> - COM_COMPONENTBUILDER_SITE_VIEW_FOLDER_REMOVE</option> - <option value="forward-2"> - COM_COMPONENTBUILDER_SITE_VIEW_FORWARD_TWO</option> - <option value="forward-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_FORWARD_CIRCLE</option> - <option value="grid"> - COM_COMPONENTBUILDER_SITE_VIEW_GRID</option> - <option value="grid-2"> - COM_COMPONENTBUILDER_SITE_VIEW_GRID_TWO</option> - <option value="health"> - COM_COMPONENTBUILDER_SITE_VIEW_HEALTH</option> - <option value="heart"> - COM_COMPONENTBUILDER_SITE_VIEW_HEART</option> - <option value="heart-2"> - COM_COMPONENTBUILDER_SITE_VIEW_HEART_TWO</option> - <option value="home"> - COM_COMPONENTBUILDER_SITE_VIEW_HOME</option> - <option value="home-2"> - COM_COMPONENTBUILDER_SITE_VIEW_HOME_TWO</option> - <option value="info"> - COM_COMPONENTBUILDER_SITE_VIEW_INFO</option> - <option value="info-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_INFO_CIRCLE</option> - <option value="key"> - COM_COMPONENTBUILDER_SITE_VIEW_KEY</option> - <option value="lamp"> - COM_COMPONENTBUILDER_SITE_VIEW_LAMP</option> - <option value="last"> - COM_COMPONENTBUILDER_SITE_VIEW_LAST</option> - <option value="flash"> - COM_COMPONENTBUILDER_SITE_VIEW_FLASH</option> - <option value="link"> - COM_COMPONENTBUILDER_SITE_VIEW_LINK</option> - <option value="list"> - COM_COMPONENTBUILDER_SITE_VIEW_LIST</option> - <option value="list-2"> - COM_COMPONENTBUILDER_SITE_VIEW_LIST_TWO</option> - <option value="location"> - COM_COMPONENTBUILDER_SITE_VIEW_LOCATION</option> - <option value="loop"> - COM_COMPONENTBUILDER_SITE_VIEW_LOOP</option> - <option value="menu"> - COM_COMPONENTBUILDER_SITE_VIEW_MENU</option> - <option value="menu-2"> - COM_COMPONENTBUILDER_SITE_VIEW_MENU_TWO</option> - <option value="menu-3"> - COM_COMPONENTBUILDER_SITE_VIEW_MENU_THREE</option> - <option value="minus"> - COM_COMPONENTBUILDER_SITE_VIEW_MINUS</option> - <option value="minus-sign"> - COM_COMPONENTBUILDER_SITE_VIEW_MINUS_SIGN</option> - <option value="mobile"> - COM_COMPONENTBUILDER_SITE_VIEW_MOBILE</option> - <option value="move"> - COM_COMPONENTBUILDER_SITE_VIEW_MOVE</option> - <option value="music"> - COM_COMPONENTBUILDER_SITE_VIEW_MUSIC</option> - <option value="plus"> - COM_COMPONENTBUILDER_SITE_VIEW_PLUS</option> - <option value="next"> - COM_COMPONENTBUILDER_SITE_VIEW_NEXT</option> - <option value="notification"> - COM_COMPONENTBUILDER_SITE_VIEW_NOTIFICATION</option> - <option value="notification-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_NOTIFICATION_CIRCLE</option> - <option value="cog"> - COM_COMPONENTBUILDER_SITE_VIEW_COG</option> - <option value="new-tab"> - COM_COMPONENTBUILDER_SITE_VIEW_NEW_TAB</option> - <option value="new-tab-2"> - COM_COMPONENTBUILDER_SITE_VIEW_NEW_TAB_TWO</option> - <option value="palette"> - COM_COMPONENTBUILDER_SITE_VIEW_PALETTE</option> - <option value="paragraph-center"> - COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_CENTER</option> - <option value="paragraph-justify"> - COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_JUSTIFY</option> - <option value="paragraph-left"> - COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_LEFT</option> - <option value="paragraph-right"> - COM_COMPONENTBUILDER_SITE_VIEW_PARAGRAPH_RIGHT</option> - <option value="pause"> - COM_COMPONENTBUILDER_SITE_VIEW_PAUSE</option> - <option value="pause-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_PAUSE_CIRCLE</option> - <option value="pencil-2"> - COM_COMPONENTBUILDER_SITE_VIEW_PENCIL_TWO</option> - <option value="warning"> - COM_COMPONENTBUILDER_SITE_VIEW_WARNING</option> - <option value="phone"> - COM_COMPONENTBUILDER_SITE_VIEW_PHONE</option> - <option value="phone-2"> - COM_COMPONENTBUILDER_SITE_VIEW_PHONE_TWO</option> - <option value="image"> - COM_COMPONENTBUILDER_SITE_VIEW_IMAGE</option> - <option value="images"> - COM_COMPONENTBUILDER_SITE_VIEW_IMAGES</option> - <option value="pie"> - COM_COMPONENTBUILDER_SITE_VIEW_PIE</option> - <option value="pin"> - COM_COMPONENTBUILDER_SITE_VIEW_PIN</option> - <option value="play"> - COM_COMPONENTBUILDER_SITE_VIEW_PLAY</option> - <option value="youtube"> - COM_COMPONENTBUILDER_SITE_VIEW_YOUTUBE</option> - <option value="play-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_PLAY_CIRCLE</option> - <option value="plus-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_PLUS_CIRCLE</option> - <option value="power-cord"> - COM_COMPONENTBUILDER_SITE_VIEW_POWER_CORD</option> - <option value="previous"> - COM_COMPONENTBUILDER_SITE_VIEW_PREVIOUS</option> - <option value="print"> - COM_COMPONENTBUILDER_SITE_VIEW_PRINT</option> - <option value="publish"> - COM_COMPONENTBUILDER_SITE_VIEW_PUBLISH</option> - <option value="purge"> - COM_COMPONENTBUILDER_SITE_VIEW_PURGE</option> - <option value="puzzle"> - COM_COMPONENTBUILDER_SITE_VIEW_PUZZLE</option> - <option value="question"> - COM_COMPONENTBUILDER_SITE_VIEW_QUESTION</option> - <option value="question-2"> - COM_COMPONENTBUILDER_SITE_VIEW_QUESTION_TWO</option> - <option value="quotes-left"> - COM_COMPONENTBUILDER_SITE_VIEW_QUOTES_LEFT</option> - <option value="quotes-right"> - COM_COMPONENTBUILDER_SITE_VIEW_QUOTES_RIGHT</option> - <option value="bubble-quote"> - COM_COMPONENTBUILDER_SITE_VIEW_BUBBLE_QUOTE</option> - <option value="generic"> - COM_COMPONENTBUILDER_SITE_VIEW_GENERIC</option> - <option value="radio-unchecked"> - COM_COMPONENTBUILDER_SITE_VIEW_RADIO_UNCHECKED</option> - <option value="save-copy"> - COM_COMPONENTBUILDER_SITE_VIEW_SAVE_COPY</option> - <option value="save-new"> - COM_COMPONENTBUILDER_SITE_VIEW_SAVE_NEW</option> - <option value="scissors"> - COM_COMPONENTBUILDER_SITE_VIEW_SCISSORS</option> - <option value="screen"> - COM_COMPONENTBUILDER_SITE_VIEW_SCREEN</option> - <option value="screwdriver"> - COM_COMPONENTBUILDER_SITE_VIEW_SCREWDRIVER</option> - <option value="search"> - COM_COMPONENTBUILDER_SITE_VIEW_SEARCH</option> - <option value="share"> - COM_COMPONENTBUILDER_SITE_VIEW_SHARE</option> - <option value="share-alt"> - COM_COMPONENTBUILDER_SITE_VIEW_SHARE_ALT</option> - <option value="shield"> - COM_COMPONENTBUILDER_SITE_VIEW_SHIELD</option> - <option value="shuffle"> - COM_COMPONENTBUILDER_SITE_VIEW_SHUFFLE</option> - <option value="signup"> - COM_COMPONENTBUILDER_SITE_VIEW_SIGNUP</option> - <option value="smiley"> - COM_COMPONENTBUILDER_SITE_VIEW_SMILEY</option> - <option value="smiley-2"> - COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_TWO</option> - <option value="smiley-neutral"> - COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_NEUTRAL</option> - <option value="smiley-neutral-2"> - COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_NEUTRAL_TWO</option> - <option value="smiley-sad"> - COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_SAD</option> - <option value="smiley-sad-2"> - COM_COMPONENTBUILDER_SITE_VIEW_SMILEY_SAD_TWO</option> - <option value="square"> - COM_COMPONENTBUILDER_SITE_VIEW_SQUARE</option> - <option value="stack"> - COM_COMPONENTBUILDER_SITE_VIEW_STACK</option> - <option value="star-2"> - COM_COMPONENTBUILDER_SITE_VIEW_STAR_TWO</option> - <option value="stop"> - COM_COMPONENTBUILDER_SITE_VIEW_STOP</option> - <option value="stop-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_STOP_CIRCLE</option> - <option value="support"> - COM_COMPONENTBUILDER_SITE_VIEW_SUPPORT</option> - <option value="switch"> - COM_COMPONENTBUILDER_SITE_VIEW_SWITCH</option> - <option value="tablet"> - COM_COMPONENTBUILDER_SITE_VIEW_TABLET</option> - <option value="tag"> - COM_COMPONENTBUILDER_SITE_VIEW_TAG</option> - <option value="tag-2"> - COM_COMPONENTBUILDER_SITE_VIEW_TAG_TWO</option> - <option value="tags"> - COM_COMPONENTBUILDER_SITE_VIEW_TAGS</option> - <option value="tags-2"> - COM_COMPONENTBUILDER_SITE_VIEW_TAGS_TWO</option> - <option value="thumbs-down"> - COM_COMPONENTBUILDER_SITE_VIEW_THUMBS_DOWN</option> - <option value="thumbs-up"> - COM_COMPONENTBUILDER_SITE_VIEW_THUMBS_UP</option> - <option value="tree"> - COM_COMPONENTBUILDER_SITE_VIEW_TREE</option> - <option value="tree-2"> - COM_COMPONENTBUILDER_SITE_VIEW_TREE_TWO</option> - <option value="unarchive"> - COM_COMPONENTBUILDER_SITE_VIEW_UNARCHIVE</option> - <option value="unblock"> - COM_COMPONENTBUILDER_SITE_VIEW_UNBLOCK</option> - <option value="undo"> - COM_COMPONENTBUILDER_SITE_VIEW_UNDO</option> - <option value="undo-2"> - COM_COMPONENTBUILDER_SITE_VIEW_UNDO_TWO</option> - <option value="unfeatured"> - COM_COMPONENTBUILDER_SITE_VIEW_UNFEATURED</option> - <option value="unlock"> - COM_COMPONENTBUILDER_SITE_VIEW_UNLOCK</option> - <option value="unpublish"> - COM_COMPONENTBUILDER_SITE_VIEW_UNPUBLISH</option> - <option value="upload"> - COM_COMPONENTBUILDER_SITE_VIEW_UPLOAD</option> - <option value="user"> - COM_COMPONENTBUILDER_SITE_VIEW_USER</option> - <option value="users"> - COM_COMPONENTBUILDER_SITE_VIEW_USERS</option> - <option value="vcard"> - COM_COMPONENTBUILDER_SITE_VIEW_VCARD</option> - <option value="wand"> - COM_COMPONENTBUILDER_SITE_VIEW_WAND</option> - <option value="warning-circle"> - COM_COMPONENTBUILDER_SITE_VIEW_WARNING_CIRCLE</option> - <option value="wrench"> - COM_COMPONENTBUILDER_SITE_VIEW_WRENCH</option> - <option value="zoom-in"> - COM_COMPONENTBUILDER_SITE_VIEW_ZOOM_IN</option> - <option value="zoom-out"> - COM_COMPONENTBUILDER_SITE_VIEW_ZOOM_OUT</option> - </field> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_SITE_VIEW_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_NAME_HINT" - /> - <!-- Method Field. Type: Text. (joomla) --> - <field - type="text" - name="method" - label="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_DESCRIPTION" - class="text_area" - filter="CMD" - message="Error! Please add controller method name here." - hint="COM_COMPONENTBUILDER_SITE_VIEW_METHOD_HINT" - /> - <!-- Target Field. Type: List. (joomla) --> - <field - type="list" - name="target" - label="COM_COMPONENTBUILDER_SITE_VIEW_TARGET_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_TARGET_DESCRIPTION" - class="list_class fieldMedium" - filter="INT" - default="1"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_SINGLE</option> - <option value="2"> - COM_COMPONENTBUILDER_SITE_VIEW_LIST</option> - <option value="3"> - COM_COMPONENTBUILDER_SITE_VIEW_BOTH</option> - </field> - </fieldset> - </fields> - </field> - <!-- Add_js_document Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_js_document" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_JS_DOCUMENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Button_position Field. Type: List. (joomla) --> - <field - type="list" - name="button_position" - label="COM_COMPONENTBUILDER_SITE_VIEW_BUTTON_POSITION_LABEL" - description="COM_COMPONENTBUILDER_SITE_VIEW_BUTTON_POSITION_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - required="true" - default="2"> - <!-- Option Set. --> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NONE</option> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_TOP_RIGHT</option> - <option value="2"> - COM_COMPONENTBUILDER_SITE_VIEW_TOP_LEFT</option> - <option value="3"> - COM_COMPONENTBUILDER_SITE_VIEW_BOTTOM_RIGHT</option> - <option value="4"> - COM_COMPONENTBUILDER_SITE_VIEW_BOTTOM_LEFT</option> - <option value="5"> - COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM</option> - </field> - <!-- Add_css_document Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css_document" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS_DOCUMENT_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Php_controller Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_controller" - label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_HINT" - required="true" - /> - <!-- Add_css Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_css" - label="COM_COMPONENTBUILDER_SITE_VIEW_ADD_CSS_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SITE_VIEW_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_SITE_VIEW_NO</option> - </field> - <!-- Php_model Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_model" - label="COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_LABEL" - rows="30" - cols="15" - description="COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_HINT" - required="flase" - /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this site_view" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="site_view" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/snippet.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/snippet.js deleted file mode 100644 index 6026097ba..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/snippet.js +++ /dev/null @@ -1,26 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage snippet.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/snippet.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/snippet.xml deleted file mode 100644 index 5588f92ef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/snippet.xml +++ /dev/null @@ -1,215 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_SNIPPET_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_SNIPPET_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_SNIPPET_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL" - description="COM_COMPONENTBUILDER_SNIPPET_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_SNIPPET_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_SNIPPET_NAME_HINT" - /> - <!-- Url Field. Type: Url. (joomla) --> - <field - type="url" - name="url" - label="COM_COMPONENTBUILDER_SNIPPET_URL_LABEL" - size="60" - maxlength="150" - description="COM_COMPONENTBUILDER_SNIPPET_URL_DESCRIPTION" - class="text_area" - required="true" - filter="url" - validated="url" - message="Error! Please add url here." - hint="COM_COMPONENTBUILDER_SNIPPET_URL_HINT" - /> - <!-- Type Field. Type: List. (joomla) --> - <field - type="list" - name="type" - label="COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL" - description="COM_COMPONENTBUILDER_SNIPPET_TYPE_DESCRIPTION" - class="list_class" - multiple="false" - filter="INT" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_SNIPPET_LAYOUT</option> - <option value="2"> - COM_COMPONENTBUILDER_SNIPPET_NAVIGATIONS</option> - <option value="3"> - COM_COMPONENTBUILDER_SNIPPET_ELEMENTS</option> - <option value="4"> - COM_COMPONENTBUILDER_SNIPPET_COMMON</option> - <option value="5"> - COM_COMPONENTBUILDER_SNIPPET_JAVASCRIPT</option> - <option value="6"> - COM_COMPONENTBUILDER_SNIPPET_CHARTS</option> - </field> - <!-- Heading Field. Type: Text. (joomla) --> - <field - type="text" - name="heading" - label="COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_SNIPPET_HEADING_DESCRIPTION" - class="text_area" - required="true" - filter="HTML" - message="Error! Please add some short heading here." - hint="COM_COMPONENTBUILDER_SNIPPET_HEADING_HINT" - /> - <!-- Description Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="description" - label="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_LABEL" - rows="11" - cols="10" - description="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_DESCRIPTION" - class="text_area span12" - filter="HTML" - hint="COM_COMPONENTBUILDER_SNIPPET_DESCRIPTION_HINT" - /> - <!-- Usage Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="usage" - label="COM_COMPONENTBUILDER_SNIPPET_USAGE_LABEL" - rows="11" - cols="10" - description="COM_COMPONENTBUILDER_SNIPPET_USAGE_DESCRIPTION" - class="text_area span12" - filter="STRING" - hint="COM_COMPONENTBUILDER_SNIPPET_USAGE_HINT" - /> - <!-- Snippet Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="snippet" - label="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_LABEL" - rows="27" - cols="10" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_SNIPPET_SNIPPET_HINT" - required="true" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this snippet" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="snippet" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/template.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/template.js deleted file mode 100644 index 272f8d832..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/template.js +++ /dev/null @@ -1,267 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage template.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// Some Global Values -jform_fAANGXqPjv_required = false; - -// Initial Script -jQuery(document).ready(function() -{ - var add_php_view_fAANGXq = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - fAANGXq(add_php_view_fAANGXq); -}); - -// the fAANGXq function -function fAANGXq(add_php_view_fAANGXq) -{ - // set the function logic - if (add_php_view_fAANGXq == 1) - { - jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_fAANGXqPjv_required) - { - updateFieldRequired('php_view',0); - jQuery('#jform_php_view').prop('required','required'); - jQuery('#jform_php_view').attr('aria-required',true); - jQuery('#jform_php_view').addClass('required'); - jform_fAANGXqPjv_required = false; - } - - } - else - { - jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_fAANGXqPjv_required) - { - updateFieldRequired('php_view',1); - jQuery('#jform_php_view').removeAttr('required'); - jQuery('#jform_php_view').removeAttr('aria-required'); - jQuery('#jform_php_view').removeClass('required'); - jform_fAANGXqPjv_required = true; - } - } -} - -// update required fields -function updateFieldRequired(name,status) -{ - var not_required = jQuery('#jform_not_required').val(); - - if(status == 1) - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required+','+name; - } - else - { - not_required = ','+name; - } - } - else - { - if (isSet(not_required) && not_required != 0) - { - not_required = not_required.replace(','+name,''); - } - } - - jQuery('#jform_not_required').val(not_required); -} - -// the isSet function -function isSet(val) -{ - if ((val != undefined) && (val != null) && 0 !== val.length){ - return true; - } - return false; -} - -function getSnippetDetails_server(snippetId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.snippetDetails&format=json"; - if(token.length > 0 && snippetId > 0){ - var request = 'token='+token+'&id='+snippetId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getSnippetDetails(id){ - getSnippetDetails_server(id).done(function(result) { - if(result.snippet){ - var description = ''; - if (result.description.length > 0) - { - description = '<p>'+result.description+'</p>'; - } - var code = '<div id="snippet-code"><b>'+result.name+' ('+result.type+')</b> <a href="'+result.url+'" target="_blank" >see more details</a><br /><em>'+result.heading+'</em><br /><textarea id="snippet" class="span12" rows="11">'+result.snippet+'</textarea></div>'; - jQuery('#snippet-code').remove(); - jQuery('.snippet-code').append(code); - // make sure the code block is active - jQuery("#snippet").focus(function() { - var jQuerythis = jQuery(this); - jQuerythis.select(); - - // Work around Chrome's little problem - jQuerythis.mouseup(function() { - // Prevent further mouseup intervention - jQuerythis.unbind("mouseup"); - return false; - }); - }); - } - if(result.usage){ - var usage = '<div id="snippet-usage"><p>'+result.usage+'</p></div>'; - jQuery('#snippet-usage').remove(); - jQuery('.snippet-usage').append(usage); - } - }) -} - -function getDynamicValues_server(dynamicId){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicValues&format=json"; - if(token.length > 0 && dynamicId > 0){ - var request = 'token='+token+'&view=template&id='+dynamicId; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicValues(id){ - getDynamicValues_server(id).done(function(result) { - if(result){ - jQuery('#dynamic_values').remove(); - jQuery('.dynamic_values').append('<div id="dynamic_values">'+result+'</div>'); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getLayoutDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.layoutDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - - -function getLayoutDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.layoutDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getLayoutDetails(id){ - getLayoutDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getTemplateDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.templateDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getTemplateDetails(id){ - getTemplateDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} - -function getDynamicFormDetails_server(id){ - var getUrl = "index.php?option=com_componentbuilder&task=ajax.dynamicFormDetails&format=json"; - if(token.length > 0 && id > 0){ - var request = 'token='+token+'&id='+id; - } - return jQuery.ajax({ - type: 'GET', - url: getUrl, - dataType: 'jsonp', - data: request, - jsonp: 'callback' - }); -} - -function getDynamicFormDetails(id){ - getDynamicFormDetails_server(id).done(function(result) { - if(result){ - jQuery('#details').append(result); - // make sure the code bocks are active - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); - } - }) -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/template.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/template.xml deleted file mode 100644 index a1097694a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/forms/template.xml +++ /dev/null @@ -1,228 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<form - addrulepath="/administrator/components/com_componentbuilder/models/rules" - addfieldpath="/administrator/components/com_componentbuilder/models/fields" -> - <fieldset name="details"> - <!-- Default Fields. --> - <!-- Id Field. Type: Text (joomla) --> - <field - name="id" - type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL" - description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0" - readonly="true" - /> - <!-- Date Created Field. Type: Calendar (joomla) --> - <field - name="created" - type="calendar" - label="COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_LABEL" - description="COM_COMPONENTBUILDER_TEMPLATE_CREATED_DATE_DESC" - size="22" - format="%Y-%m-%d %H:%M:%S" - filter="user_utc" - /> - <!-- User Created Field. Type: User (joomla) --> - <field - name="created_by" - type="user" - label="COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_LABEL" - description="COM_COMPONENTBUILDER_TEMPLATE_CREATED_BY_DESC" - /> - <!-- Published Field. Type: List (joomla) --> - <field name="published" type="list" label="JSTATUS" - description="JFIELD_PUBLISHED_DESC" class="chzn-color-state" - filter="intval" size="1" default="1" > - <option value="1"> - JPUBLISHED</option> - <option value="0"> - JUNPUBLISHED</option> - <option value="2"> - JARCHIVED</option> - <option value="-2"> - JTRASHED</option> - </field> - <!-- Date Modified Field. Type: Calendar (joomla) --> - <field name="modified" type="calendar" class="readonly" - label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC" - size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" /> - <!-- User Modified Field. Type: User (joomla) --> - <field name="modified_by" type="user" - label="JGLOBAL_FIELD_MODIFIED_BY_LABEL" - class="readonly" - readonly="true" - filter="unset" - /> - <!-- Access Field. Type: Accesslevel (joomla) --> - <field name="access" - type="accesslevel" - label="JFIELD_ACCESS_LABEL" - description="JFIELD_ACCESS_DESC" - default="1" - required="false" - /> - <!-- Ordering Field. Type: Numbers (joomla) --> - <field - name="ordering" - type="number" - class="inputbox validate-ordering" - label="COM_COMPONENTBUILDER_TEMPLATE_ORDERING_LABEL" - description="" - default="0" - size="6" - required="false" - /> - <!-- Version Field. Type: Text (joomla) --> - <field - name="version" - type="text" - class="readonly" - label="COM_COMPONENTBUILDER_TEMPLATE_VERSION_LABEL" - description="COM_COMPONENTBUILDER_TEMPLATE_VERSION_DESC" - size="6" - readonly="true" - filter="unset" - /> - <!-- Dynamic Fields. --> - <!-- Name Field. Type: Text. (joomla) --> - <field - type="text" - name="name" - label="COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL" - size="40" - maxlength="150" - description="COM_COMPONENTBUILDER_TEMPLATE_NAME_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add name here." - hint="COM_COMPONENTBUILDER_TEMPLATE_NAME_HINT" - /> - <!-- Alias Field. Type: Text. (joomla) --> - <field - type="text" - name="alias" - label="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL" - size="40" - maxlength="50" - description="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_DESCRIPTION" - class="text_area" - filter="CMD" - message="Error! Please add name in code here." - hint="COM_COMPONENTBUILDER_TEMPLATE_ALIAS_HINT" - /> - <!-- Description Field. Type: Text. (joomla) --> - <field - type="text" - name="description" - label="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL" - size="80" - maxlength="150" - description="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_DESCRIPTION" - class="text_area" - readonly="false" - disabled="false" - required="true" - filter="STRING" - message="Error! Please add description here." - hint="COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_HINT" - /> - <!-- Snippet Field. Type: Snippets. (custom) --> - <field - type="snippets" - name="snippet" - label="COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL" - class="list_class" - multiple="false" - required="false" - button="true" - /> - <!-- Template Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="template" - label="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_LABEL" - rows="20" - cols="15" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_HINT" - required="true" - /> - <!-- Php_view Field. Type: Textarea. (joomla) --> - <field - type="textarea" - name="php_view" - label="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_LABEL" - rows="17" - cols="5" - description="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_DESCRIPTION" - class="text_area span12" - filter="raw" - hint="COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_HINT" - required="true" - /> - <!-- Dynamic_values Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="dynamic_values" label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_VALUES_DESCRIPTION" heading="h4" class="dynamic_values" /> - <!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" /> - <!-- Note_add_language_string Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_add_language_string" label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_LABEL" description="COM_COMPONENTBUILDER_TEMPLATE_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION" heading="h4" class="note_add_language_string" /> - <!-- Note_uikit_snippet Field. Type: Note. A None Database Field. (joomla) --> - <field type="note" name="note_uikit_snippet" label="COM_COMPONENTBUILDER_TEMPLATE_NOTE_UIKIT_SNIPPET_LABEL" heading="h4" class="snippet-code note_uikit_snippet" /> - <!-- Add_php_view Field. Type: Radio. (joomla) --> - <field - type="radio" - name="add_php_view" - label="COM_COMPONENTBUILDER_TEMPLATE_ADD_PHP_VIEW_LABEL" - class="btn-group btn-group-yesno" - default="0" - required="true"> - <!-- Option Set. --> - <option value="1"> - COM_COMPONENTBUILDER_TEMPLATE_YES</option> - <option value="0"> - COM_COMPONENTBUILDER_TEMPLATE_NO</option> - </field> - <!-- Dynamic_get Field. Type: Dynamicgets. (custom) --> - <field - type="dynamicgets" - name="dynamic_get" - label="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_LABEL" - description="COM_COMPONENTBUILDER_TEMPLATE_DYNAMIC_GET_DESCRIPTION" - multiple="false" - required="true" - button="true" - /> - <!-- Not_required Field. Type: Hidden. (joomla) --> - <field - type="hidden" - name="not_required" - default="[]" - /> - </fieldset> - - <!-- Access Control Fields. --> - <fieldset name="accesscontrol"> - <!-- Asset Id Field. Type: Hidden (joomla) --> - <field - name="asset_id" - type="hidden" - filter="unset" - /> - <!-- Rules Field. Type: Rules (joomla) --> - <field - name="rules" - type="rules" - label="Permissions in relation to this template" - translate_label="false" - filter="rules" - validate="rules" - class="inputbox" - component="com_componentbuilder" - section="template" - /> - </fieldset> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/help_document.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/help_document.php deleted file mode 100644 index 85d5da3e0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/help_document.php +++ /dev/null @@ -1,943 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage help_document.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Help_document Model - */ -class ComponentbuilderModelHelp_document extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.help_document'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'help_document', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->groups)) - { - // JSON Decode groups. - $item->groups = json_decode($item->groups,true); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.help_document'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.help_document', 'help_document', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('help_document.edit.state', 'com_componentbuilder.help_document.' . (int) $id)) - || ($id == 0 && !$user->authorise('help_document.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/help_document.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('help_document.delete', 'com_componentbuilder.help_document.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('help_document.edit.state', 'com_componentbuilder.help_document.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return $user->authorise('help_document.edit.state', 'com_componentbuilder'); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('help_document.edit', 'com_componentbuilder.help_document.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('help_document.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_help_document')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.help_document.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('help_document'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('help_document'); - } - - if (!$this->canDo->get('help_document.create') && !$this->canDo->get('help_document.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('help_document.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('help_document.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - list($this->table->title, $this->table->alias) = $this->_generateNewTitle($this->table->alias, $this->table->title); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('help_document'); - } - - if (!$this->canDo->get('help_document.edit') && !$this->canDo->get('help_document.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('help_document.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('help_document.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the groups string to JSON string. - if (isset($data['groups'])) - { - $data['groups'] = (string) json_encode($data['groups']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the title for save as copy - if ($input->get('task') == 'save2copy') - { - $origTable = clone $this->getTable(); - $origTable->load($input->getInt('id')); - - if ($data['title'] == $origTable->title) - { - list($title, $alias) = $this->_generateNewTitle($data['alias'], $data['title']); - $data['title'] = $title; - $data['alias'] = $alias; - } - else - { - if ($data['alias'] == $origTable->alias) - { - $data['alias'] = ''; - } - } - - $data['published'] = 0; - } - - // Automatic handling of alias for empty fields - if (in_array($input->get('task'), array('apply', 'save', 'save2new')) && (int) $input->get('id') == 0) - { - if ($data['alias'] == null) - { - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $data['alias'] = JFilterOutput::stringURLUnicodeSlug($data['title']); - } - else - { - $data['alias'] = JFilterOutput::stringURLSafe($data['title']); - } - - $table = JTable::getInstance('help_document', 'componentbuilderTable'); - - if ($table->load(array('alias' => $data['alias'])) && ($table->id != $data['id'] || $data['id'] == 0)) - { - $msg = JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_SAVE_WARNING'); - } - - list($title, $alias) = $this->_generateNewTitle($data['alias'], $data['title']); - $data['alias'] = $alias; - - if (isset($msg)) - { - JFactory::getApplication()->enqueueMessage($msg, 'warning'); - } - } - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $alias The alias. - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($alias, $title) - { - - // Alter the title & alias - $table = $this->getTable(); - - while ($table->load(array('alias' => $alias))) - { - $title = JString::increment($title); - $alias = JString::increment($alias, 'dash'); - } - - return array($title, $alias); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/help_documents.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/help_documents.php deleted file mode 100644 index baeb26e81..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/help_documents.php +++ /dev/null @@ -1,459 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage help_documents.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Help_documents Model - */ -class ComponentbuilderModelHelp_documents extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.title','title', - 'a.type','type', - 'a.location','location', - 'a.admin_view','admin_view', - 'a.site_view','site_view' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $title = $this->getUserStateFromRequest($this->context . '.filter.title', 'filter_title'); - $this->setState('filter.title', $title); - - $type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type'); - $this->setState('filter.type', $type); - - $location = $this->getUserStateFromRequest($this->context . '.filter.location', 'filter_location'); - $this->setState('filter.location', $location); - - $admin_view = $this->getUserStateFromRequest($this->context . '.filter.admin_view', 'filter_admin_view'); - $this->setState('filter.admin_view', $admin_view); - - $site_view = $this->getUserStateFromRequest($this->context . '.filter.site_view', 'filter_site_view'); - $this->setState('filter.site_view', $site_view); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('help_document.access', 'com_componentbuilder.help_document.' . (int) $item->id) && $user->authorise('help_document.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode groups - $groupsArray = json_decode($item->groups, true); - if (ComponentbuilderHelper::checkArray($groupsArray)) - { - $groupsNames = ''; - $counter = 0; - foreach ($groupsArray as $groups) - { - if ($counter == 0) - { - $groupsNames .= ComponentbuilderHelper::getGroupName($groups); - } - else - { - $groupsNames .= ', '.ComponentbuilderHelper::getGroupName($groups); - } - $counter++; - } - $item->groups = $groupsNames; - } - } - } - - // set selection value to a translatable value - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - // convert type - $item->type = $this->selectionTranslation($item->type, 'type'); - // convert location - $item->location = $this->selectionTranslation($item->location, 'location'); - } - } - - - // return items - return $items; - } - - /** - * Method to convert selection values to translatable string. - * - * @return translatable string - */ - public function selectionTranslation($value,$name) - { - // Array of type language strings - if ($name == 'type') - { - $typeArray = array( - 0 => 'COM_COMPONENTBUILDER_HELP_DOCUMENT_SELECT_AN_OPTION', - 1 => 'COM_COMPONENTBUILDER_HELP_DOCUMENT_JOOMLA_ARTICLE', - 2 => 'COM_COMPONENTBUILDER_HELP_DOCUMENT_TEXT', - 3 => 'COM_COMPONENTBUILDER_HELP_DOCUMENT_URL' - ); - // Now check if value is found in this array - if (isset($typeArray[$value]) && ComponentbuilderHelper::checkString($typeArray[$value])) - { - return $typeArray[$value]; - } - } - // Array of location language strings - if ($name == 'location') - { - $locationArray = array( - 1 => 'COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN', - 2 => 'COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE' - ); - // Now check if value is found in this array - if (isset($locationArray[$value]) && ComponentbuilderHelper::checkString($locationArray[$value])) - { - return $locationArray[$value]; - } - } - return $value; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_help_document', 'a')); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.title LIKE '.$search.' OR a.type LIKE '.$search.' OR a.location LIKE '.$search.' OR a.admin_view LIKE '.$search.' OR a.site_view LIKE '.$search.')'); - } - } - - // Filter by Type. - if ($type = $this->getState('filter.type')) - { - $query->where('a.type = ' . $db->quote($db->escape($type, true))); - } - // Filter by Location. - if ($location = $this->getState('filter.location')) - { - $query->where('a.location = ' . $db->quote($db->escape($location, true))); - } - // Filter by Admin_view. - if ($admin_view = $this->getState('filter.admin_view')) - { - $query->where('a.admin_view = ' . $db->quote($db->escape($admin_view, true))); - } - // Filter by Site_view. - if ($site_view = $this->getState('filter.site_view')) - { - $query->where('a.site_view = ' . $db->quote($db->escape($site_view, true))); - } - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_help_document table - $query->from($db->quoteName('#__componentbuilder_help_document', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('help_document.access', 'com_componentbuilder.help_document.' . (int) $item->id) && $user->authorise('help_document.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_help_document"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.title'); - $id .= ':' . $this->getState('filter.type'); - $id .= ':' . $this->getState('filter.location'); - $id .= ':' . $this->getState('filter.admin_view'); - $id .= ':' . $this->getState('filter.site_view'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_help_document')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_help_document'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/import.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/import.php deleted file mode 100644 index 401be8ff4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/import.php +++ /dev/null @@ -1,733 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage import.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Componentbuilder Import Model - */ -class ComponentbuilderModelImport extends JModelLegacy -{ - /** - * @var object JTable object - */ - protected $_table = null; - - /** - * @var object JTable object - */ - protected $_url = null; - - /** - * Model context string. - * - * @var string - */ - protected $_context = 'com_componentbuilder.import'; - - /** - * Import Settings - */ - protected $getType = NULL; - protected $dataType = NULL; - - /** - * Method to auto-populate the model state. - * - * Note. Calling getState in this method will result in recursion. - * - * @return void - * - */ - protected function populateState() - { - $app = JFactory::getApplication('administrator'); - - $this->setState('message', $app->getUserState('com_componentbuilder.message')); - $app->setUserState('com_componentbuilder.message', ''); - - // Recall the 'Import from Directory' path. - $path = $app->getUserStateFromRequest($this->_context . '.import_directory', 'import_directory', $app->get('tmp_path')); - $this->setState('import.directory', $path); - // set uploading values - $this->use_streams = false; - $this->allow_unsafe = false; - $this->safeFileOptions = array(); - parent::populateState(); - } - - /** - * Import an spreadsheet from either folder, url or upload. - * - * @return boolean result of import - * - */ - public function import() - { - $this->setState('action', 'import'); - $app = JFactory::getApplication(); - $session = JFactory::getSession(); - $package = null; - $continue = false; - // get import type - $this->getType = $app->input->getString('gettype', NULL); - // get import type - $this->dataType = $session->get('dataType_VDM_IMPORTINTO', NULL); - - if ($package === null) - { - switch ($this->getType) - { - case 'folder': - // Remember the 'Import from Directory' path. - $app->getUserStateFromRequest($this->_context . '.import_directory', 'import_directory'); - $package = $this->_getPackageFromFolder(); - break; - - case 'upload': - $package = $this->_getPackageFromUpload(); - break; - - case 'url': - $package = $this->_getPackageFromUrl(); - break; - - case 'continue': - $continue = true; - $package = $session->get('package', null); - $package = json_decode($package, true); - // clear session - $session->clear('package'); - $session->clear('dataType'); - $session->clear('hasPackage'); - break; - - default: - $app->setUserState('com_componentbuilder.message', JText::_('COM_COMPONENTBUILDER_IMPORT_NO_IMPORT_TYPE_FOUND')); - - return false; - break; - } - } - // Was the package valid? - if (!$package || !$package['type']) - { - if (in_array($this->getType, array('upload', 'url'))) - { - $this->remove($package['packagename']); - } - - $app->setUserState('com_componentbuilder.message', JText::_('COM_COMPONENTBUILDER_IMPORT_UNABLE_TO_FIND_IMPORT_PACKAGE')); - return false; - } - - // first link data to table headers - if(!$continue){ - $package = json_encode($package); - $session->set('package', $package); - $session->set('dataType', $this->dataType); - $session->set('hasPackage', true); - return true; - } - - // set the data - $headerList = json_decode($session->get($this->dataType.'_VDM_IMPORTHEADERS', false), true); - if (!$this->setData($package,$this->dataType,$headerList)) - { - // There was an error importing the package - $msg = JText::_('COM_COMPONENTBUILDER_IMPORT_ERROR'); - $back = $session->get('backto_VDM_IMPORT', NULL); - if ($back) - { - $app->setUserState('com_componentbuilder.redirect_url', 'index.php?option=com_componentbuilder&view='.$back); - $session->clear('backto_VDM_IMPORT'); - } - $result = false; - } - else - { - // Package imported sucessfully - $msg = JText::sprintf('COM_COMPONENTBUILDER_IMPORT_SUCCESS', $package['packagename']); - $back = $session->get('backto_VDM_IMPORT', NULL); - if ($back) - { - $app->setUserState('com_componentbuilder.redirect_url', 'index.php?option=com_componentbuilder&view='.$back); - $session->clear('backto_VDM_IMPORT'); - } - $result = true; - } - - // Set some model state values - $app->enqueueMessage($msg); - - // remove file after import - $this->remove($package['packagename']); - $session->clear($this->getType.'_VDM_IMPORTHEADERS'); - - return $result; - } - - /** - * Works out an importation spreadsheet from a HTTP upload - * - * @return spreadsheet definition or false on failure - */ - protected function _getPackageFromUpload() - { - // Get the uploaded file information - $input = JFactory::getApplication()->input; - - // Do not change the filter type 'raw'. We need this to let files containing PHP code to upload. See JInputFiles::get. - $userfile = $input->files->get('import_package', null, 'raw'); - - // Make sure that file uploads are enabled in php - if (!(bool) ini_get('file_uploads')) - { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTFILE')); - return false; - } - - // If there is no uploaded file, we have a problem... - if (!is_array($userfile)) - { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_NO_FILE_SELECTED')); - return false; - } - - // Check if there was a problem uploading the file. - if ($userfile['error'] || $userfile['size'] < 1) - { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_WARNIMPORTUPLOADERROR')); - return false; - } - - // Build the appropriate paths - $config = JFactory::getConfig(); - $tmp_dest = $config->get('tmp_path') . '/' . $userfile['name']; - $tmp_src = $userfile['tmp_name']; - - // Move uploaded file - jimport('joomla.filesystem.file'); - $p_file = JFile::upload($tmp_src, $tmp_dest, $this->use_streams, $this->allow_unsafe, $this->safeFileOptions); - - // Was the package downloaded? - if (!$p_file) - { - $session = JFactory::getSession(); - $session->clear('package'); - $session->clear('dataType'); - $session->clear('hasPackage'); - // was not uploaded - return false; - } - - // check that this is a valid spreadsheet - $package = $this->check($userfile['name']); - - return $package; - } - - /** - * Import an spreadsheet from a directory - * - * @return array Spreadsheet details or false on failure - * - */ - protected function _getPackageFromFolder() - { - $input = JFactory::getApplication()->input; - - // Get the path to the package to import - $p_dir = $input->getString('import_directory'); - $p_dir = JPath::clean($p_dir); - // Did you give us a valid path? - if (!file_exists($p_dir)) - { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_ENTER_A_PACKAGE_DIRECTORY')); - return false; - } - - // Detect the package type - $type = $this->getType; - - // Did you give us a valid package? - if (!$type) - { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PATH_DOES_NOT_HAVE_A_VALID_PACKAGE')); - } - - // check the extention - switch(strtolower(pathinfo($p_dir, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); - return false; - break; - } - - $package['packagename'] = null; - $package['dir'] = $p_dir; - $package['type'] = $type; - - return $package; - } - - /** - * Import an spreadsheet from a URL - * - * @return Package details or false on failure - * - */ - protected function _getPackageFromUrl() - { - $input = JFactory::getApplication()->input; - - // Get the URL of the package to import - $url = $input->getString('import_url'); - - // Did you give us a URL? - if (!$url) - { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_ENTER_A_URL')); - return false; - } - - // Download the package at the URL given - $p_file = JInstallerHelper::downloadPackage($url); - - // Was the package downloaded? - if (!$p_file) - { - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_INVALID_URL')); - return false; - } - - // check that this is a valid spreadsheet - $package = $this->check($p_file); - - return $package; - } - - /** - * Check a file and verifies it as a spreadsheet file - * Supports .csv .xlsx .xls and .ods - * - * @param string $p_filename The uploaded package filename or import directory - * - * @return array of elements - * - */ - protected function check($archivename) - { - // Clean the name - $archivename = JPath::clean($archivename); - - // check the extention - switch(strtolower(pathinfo($archivename, PATHINFO_EXTENSION))){ - case 'xls': - case 'ods': - case 'csv': - break; - - default: - // Cleanup the import files - $this->remove($archivename); - JError::raiseWarning('', JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_DOES_NOT_HAVE_A_VALID_FILE_TYPE')); - return false; - break; - } - - $config = JFactory::getConfig(); - // set Package Name - $check['packagename'] = $archivename; - - // set directory - $check['dir'] = $config->get('tmp_path'). '/' .$archivename; - - // set type - $check['type'] = $this->getType; - - return $check; - } - - /** - * Clean up temporary uploaded spreadsheet - * - * @param string $package Name of the uploaded spreadsheet file - * - * @return boolean True on success - * - */ - protected function remove($package) - { - jimport('joomla.filesystem.file'); - - $config = JFactory::getConfig(); - $package = $config->get('tmp_path'). '/' .$package; - - // Is the package file a valid file? - if (is_file($package)) - { - JFile::delete($package); - } - elseif (is_file(JPath::clean($package))) - { - // It might also be just a base filename - JFile::delete(JPath::clean($package)); - } - } - - /** - * Set the data from the spreadsheet to the database - * - * @param string $package Paths to the uploaded package file - * - * @return boolean false on failure - * - **/ - protected function setData($package,$table,$target_headers) - { - if (ComponentbuilderHelper::checkArray($target_headers)) - { - // make sure the file is loaded - JLoader::import('PHPExcel', JPATH_COMPONENT_ADMINISTRATOR . '/helpers'); - $jinput = JFactory::getApplication()->input; - foreach($target_headers as $header) - { - $data['target_headers'][$header] = $jinput->getString($header, null); - } - // set the data - if(isset($package['dir'])) - { - $inputFileType = PHPExcel_IOFactory::identify($package['dir']); - $excelReader = PHPExcel_IOFactory::createReader($inputFileType); - $excelReader->setReadDataOnly(true); - $excelObj = $excelReader->load($package['dir']); - $data['array'] = $excelObj->getActiveSheet()->toArray(null, true,true,true); - $excelObj->disconnectWorksheets(); - unset($excelObj); - return $this->save($data,$table); - } - } - return false; - } - - /** - * Save the data from the file to the database - * - * @param string $package Paths to the uploaded package file - * - * @return boolean false on failure - * - **/ - protected function save($data,$table) - { - // import the data if there is any - if(ComponentbuilderHelper::checkArray($data['array'])) - { - // get user object - $user = JFactory::getUser(); - // remove header if it has headers - $id_key = $data['target_headers']['id']; - $published_key = $data['target_headers']['published']; - $ordering_key = $data['target_headers']['ordering']; - // get the first array set - $firstSet = reset($data['array']); - - // check if first array is a header array and remove if true - if($firstSet[$id_key] == 'id' || $firstSet[$published_key] == 'published' || $firstSet[$ordering_key] == 'ordering') - { - array_shift($data['array']); - } - - // make sure there is still values in array and that it was not only headers - if(ComponentbuilderHelper::checkArray($data['array']) && $user->authorise($table.'.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder')) - { - // set target. - $target = array_flip($data['target_headers']); - // Get a db connection. - $db = JFactory::getDbo(); - // set some defaults - $todayDate = JFactory::getDate()->toSql(); - // get global action permissions - $canDo = ComponentbuilderHelper::getActions($table); - $canEdit = $canDo->get('core.edit'); - $canState = $canDo->get('core.edit.state'); - $canCreate = $canDo->get('core.create'); - $hasAlias = $this->getAliasesUsed($table); - // prosses the data - foreach($data['array'] as $row) - { - $found = false; - if (isset($row[$id_key]) && is_numeric($row[$id_key]) && $row[$id_key] > 0) - { - // raw items import & update! - $query = $db->getQuery(true); - $query - ->select('version') - ->from($db->quoteName('#__componentbuilder_'.$table)) - ->where($db->quoteName('id') . ' = '. $db->quote($row[$id_key])); - // Reset the query using our newly populated query object. - $db->setQuery($query); - $db->execute(); - $found = $db->getNumRows(); - } - - if($found && $canEdit) - { - // update item - $id = $row[$id_key]; - $version = $db->loadResult(); - // reset all buckets - $query = $db->getQuery(true); - $fields = array(); - $version = false; - // Fields to update. - foreach($row as $key => $cell) - { - // ignore column - if ('IGNORE' == $target[$key]) - { - continue; - } - // update modified - if ('modified_by' == $target[$key]) - { - continue; - } - // update modified - if ('modified' == $target[$key]) - { - continue; - } - // update version - if ('version' == $target[$key]) - { - $cell = (int) $version + 1; - $version = true; - } - // verify publish authority - if ('published' == $target[$key] && !$canState) - { - continue; - } - // set to update array - if(in_array($key, $data['target_headers']) && is_numeric($cell)) - { - $fields[] = $db->quoteName($target[$key]) . ' = ' . $cell; - } - elseif(in_array($key, $data['target_headers']) && is_string($cell)) - { - $fields[] = $db->quoteName($target[$key]) . ' = ' . $db->quote($cell); - } - elseif(in_array($key, $data['target_headers']) && is_null($cell)) - { - // if import data is null then set empty - $fields[] = $db->quoteName($target[$key]) . " = ''"; - } - } - // load the defaults - $fields[] = $db->quoteName('modified_by') . ' = ' . $db->quote($user->id); - $fields[] = $db->quoteName('modified') . ' = ' . $db->quote($todayDate); - if (!$version) - { - $fields[] = $db->quoteName('version') . " = " . (int) $version + 1; - } - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('id') . ' = ' . $id - ); - - $query->update($db->quoteName('#__componentbuilder_'.$table))->set($fields)->where($conditions); - $db->setQuery($query); - $db->execute(); - } - elseif ($canCreate) - { - // insert item - $query = $db->getQuery(true); - // reset all buckets - $columns = array(); - $values = array(); - $version = false; - // Insert columns. Insert values. - foreach($row as $key => $cell) - { - // ignore column - if ('IGNORE' == $target[$key]) - { - continue; - } - // remove id - if ('id' == $target[$key]) - { - continue; - } - // update created - if ('created_by' == $target[$key]) - { - continue; - } - // update created - if ('created' == $target[$key]) - { - continue; - } - // Make sure the alias is incremented - if ('alias' == $target[$key]) - { - $cell = $this->getAlias($cell,$table); - } - // update version - if ('version' == $target[$key]) - { - $cell = 1; - $version = true; - } - // set to insert array - if(in_array($key, $data['target_headers']) && is_numeric($cell)) - { - $columns[] = $target[$key]; - $values[] = $cell; - } - elseif(in_array($key, $data['target_headers']) && is_string($cell)) - { - $columns[] = $target[$key]; - $values[] = $db->quote($cell); - } - elseif(in_array($key, $data['target_headers']) && is_null($cell)) - { - // if import data is null then set empty - $columns[] = $target[$key]; - $values[] = "''"; - } - } - // load the defaults - $columns[] = 'created_by'; - $values[] = $db->quote($user->id); - $columns[] = 'created'; - $values[] = $db->quote($todayDate); - if (!$version) - { - $columns[] = 'version'; - $values[] = 1; - } - // Prepare the insert query. - $query - ->insert($db->quoteName('#__componentbuilder_'.$table)) - ->columns($db->quoteName($columns)) - ->values(implode(',', $values)); - // Set the query using our newly populated query object and execute it. - $db->setQuery($query); - $done = $db->execute(); - if ($done) - { - $aId = $db->insertid(); - // make sure the access of asset is set - ComponentbuilderHelper::setAsset($aId,$table); - } - } - else - { - return false; - } - } - return true; - } - } - return false; - } - - protected function getAlias($name,$type = false) - { - // sanitize the name to an alias - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $alias = JFilterOutput::stringURLUnicodeSlug($name); - } - else - { - $alias = JFilterOutput::stringURLSafe($name); - } - // must be a uniqe alias - if ($type) - { - return $this->getUniqe($alias,'alias',$type); - } - return $alias; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * @param string $type table. - * - * @return string New value. - */ - protected function getUniqe($value,$field,$type) - { - // insure the filed is always uniqe - while (isset($this->uniqeValueArray[$type][$field][$value])) - { - $value = JString::increment($value, 'dash'); - } - $this->uniqeValueArray[$type][$field][$value] = $value; - return $value; - } - - protected function getAliasesUsed($table) - { - // Get a db connection. - $db = JFactory::getDbo(); - // first we check if there is a alias column - $columns = $db->getTableColumns('#__componentbuilder_'.$table); - if(isset($columns['alias'])){ - // Create a new query object. - $query = $db->getQuery(true); - $query->select($db->quoteName(array('alias'))); - $query->from($db->quoteName('#__componentbuilder_'.$table)); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $aliases = $db->loadColumn(); - foreach($aliases as $alias) - { - $this->uniqeValueArray[$table]['alias'][$alias] = $alias; - } - } - return true; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/layout.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/layout.php deleted file mode 100644 index a35f6c42f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/layout.php +++ /dev/null @@ -1,955 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage layout.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Layout Model - */ -class ComponentbuilderModelLayout extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.layout'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'layout', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->php_view)) - { - // base64 Decode php_view. - $item->php_view = base64_decode($item->php_view); - } - - if (!empty($item->layout)) - { - // base64 Decode layout. - $item->layout = base64_decode($item->layout); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.layout'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.layout', 'layout', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('core.edit.state', 'com_componentbuilder.layout.' . (int) $id)) - || ($id == 0 && !$user->authorise('core.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/layout.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('core.delete', 'com_componentbuilder.layout.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit.state', 'com_componentbuilder.layout.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return parent::canEditState($record); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('core.edit', 'com_componentbuilder.layout.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('core.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_layout')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.layout.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('layout'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('layout'); - } - - if (!$this->canDo->get('core.create') || !$this->canDo->get('core.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('core.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - list($this->table->name, $this->table->alias) = $this->_generateNewTitle($this->table->alias, $this->table->name); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('layout'); - } - - if (!$this->canDo->get('core.edit') && !$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('core.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the php_view string to base64 string. - if (isset($data['php_view'])) - { - $data['php_view'] = base64_encode($data['php_view']); - } - - // Set the layout string to base64 string. - if (isset($data['layout'])) - { - $data['layout'] = base64_encode($data['layout']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the name for save as copy - if ($input->get('task') == 'save2copy') - { - $origTable = clone $this->getTable(); - $origTable->load($input->getInt('id')); - - if ($data['name'] == $origTable->name) - { - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['name'] = $name; - $data['alias'] = $alias; - } - else - { - if ($data['alias'] == $origTable->alias) - { - $data['alias'] = ''; - } - } - - $data['published'] = 0; - } - - // Automatic handling of alias for empty fields - if (in_array($input->get('task'), array('apply', 'save', 'save2new')) && (int) $input->get('id') == 0) - { - if ($data['alias'] == null) - { - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $data['alias'] = JFilterOutput::stringURLUnicodeSlug($data['name']); - } - else - { - $data['alias'] = JFilterOutput::stringURLSafe($data['name']); - } - - $table = JTable::getInstance('layout', 'componentbuilderTable'); - - if ($table->load(array('alias' => $data['alias'])) && ($table->id != $data['id'] || $data['id'] == 0)) - { - $msg = JText::_('COM_COMPONENTBUILDER_LAYOUT_SAVE_WARNING'); - } - - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['alias'] = $alias; - - if (isset($msg)) - { - JFactory::getApplication()->enqueueMessage($msg, 'warning'); - } - } - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $alias The alias. - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($alias, $title) - { - - // Alter the title & alias - $table = $this->getTable(); - - while ($table->load(array('alias' => $alias))) - { - $title = JString::increment($title); - $alias = JString::increment($alias, 'dash'); - } - - return array($title, $alias); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/layouts.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/layouts.php deleted file mode 100644 index 118595a25..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/layouts.php +++ /dev/null @@ -1,397 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage layouts.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Layouts Model - */ -class ComponentbuilderModelLayouts extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.name','name', - 'a.alias','alias', - 'a.description','description', - 'a.dynamic_get','dynamic_get' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $alias = $this->getUserStateFromRequest($this->context . '.filter.alias', 'filter_alias'); - $this->setState('filter.alias', $alias); - - $description = $this->getUserStateFromRequest($this->context . '.filter.description', 'filter_description'); - $this->setState('filter.description', $description); - - $dynamic_get = $this->getUserStateFromRequest($this->context . '.filter.dynamic_get', 'filter_dynamic_get'); - $this->setState('filter.dynamic_get', $dynamic_get); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('layout.access', 'com_componentbuilder.layout.' . (int) $item->id) && $user->authorise('layout.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // return items - return $items; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_layout', 'a')); - - // From the componentbuilder_dynamic_get table. - $query->select($db->quoteName('g.name','dynamic_get_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_dynamic_get', 'g') . ' ON (' . $db->quoteName('a.dynamic_get') . ' = ' . $db->quoteName('g.id') . ')'); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.alias LIKE '.$search.' OR a.description LIKE '.$search.' OR a.dynamic_get LIKE '.$search.' OR g.name LIKE '.$search.')'); - } - } - - // Filter by dynamic_get. - if ($dynamic_get = $this->getState('filter.dynamic_get')) - { - $query->where('a.dynamic_get = ' . $db->quote($db->escape($dynamic_get, true))); - } - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_layout table - $query->from($db->quoteName('#__componentbuilder_layout', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('layout.access', 'com_componentbuilder.layout.' . (int) $item->id) && $user->authorise('layout.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode php_view - $item->php_view = base64_decode($item->php_view); - // decode layout - $item->layout = base64_decode($item->layout); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_layout"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.alias'); - $id .= ':' . $this->getState('filter.description'); - $id .= ':' . $this->getState('filter.dynamic_get'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_layout')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_layout'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/rules/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/rules/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/rules/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/site_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/site_view.php deleted file mode 100644 index 476fa25cd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/site_view.php +++ /dev/null @@ -1,1084 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site_view.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Site_view Model - */ -class ComponentbuilderModelSite_view extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.site_view'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'site_view', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->custom_get)) - { - // Convert the custom_get field to an array. - $custom_get = new Registry; - $custom_get->loadString($item->custom_get); - $item->custom_get = $custom_get->toArray(); - } - - if (!empty($item->css_document)) - { - // base64 Decode css_document. - $item->css_document = base64_decode($item->css_document); - } - - if (!empty($item->php_view)) - { - // base64 Decode php_view. - $item->php_view = base64_decode($item->php_view); - } - - if (!empty($item->php_jview)) - { - // base64 Decode php_jview. - $item->php_jview = base64_decode($item->php_jview); - } - - if (!empty($item->php_document)) - { - // base64 Decode php_document. - $item->php_document = base64_decode($item->php_document); - } - - if (!empty($item->php_jview_display)) - { - // base64 Decode php_jview_display. - $item->php_jview_display = base64_decode($item->php_jview_display); - } - - if (!empty($item->js_document)) - { - // base64 Decode js_document. - $item->js_document = base64_decode($item->js_document); - } - - if (!empty($item->css)) - { - // base64 Decode css. - $item->css = base64_decode($item->css); - } - - if (!empty($item->php_ajaxmethod)) - { - // base64 Decode php_ajaxmethod. - $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); - } - - if (!empty($item->default)) - { - // base64 Decode default. - $item->default = base64_decode($item->default); - } - - if (!empty($item->php_controller)) - { - // base64 Decode php_controller. - $item->php_controller = base64_decode($item->php_controller); - } - - if (!empty($item->php_model)) - { - // base64 Decode php_model. - $item->php_model = base64_decode($item->php_model); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.site_view'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.site_view', 'site_view', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('core.edit.state', 'com_componentbuilder.site_view.' . (int) $id)) - || ($id == 0 && !$user->authorise('core.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/site_view.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('core.delete', 'com_componentbuilder.site_view.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit.state', 'com_componentbuilder.site_view.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return parent::canEditState($record); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('core.edit', 'com_componentbuilder.site_view.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('core.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_site_view')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.site_view.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('site_view'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('site_view'); - } - - if (!$this->canDo->get('core.create') || !$this->canDo->get('core.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('core.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - list($this->table->name, $this->table->alias) = $this->_generateNewTitle($this->table->alias, $this->table->name); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('site_view'); - } - - if (!$this->canDo->get('core.edit') && !$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('core.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the custom_get items to data. - if (isset($data['custom_get']) && is_array($data['custom_get'])) - { - $custom_get = new JRegistry; - $custom_get->loadArray($data['custom_get']); - $data['custom_get'] = (string) $custom_get; - } - elseif (!isset($data['custom_get'])) - { - // Set the empty custom_get to data - $data['custom_get'] = ''; - } - - // Set the css_document string to base64 string. - if (isset($data['css_document'])) - { - $data['css_document'] = base64_encode($data['css_document']); - } - - // Set the php_view string to base64 string. - if (isset($data['php_view'])) - { - $data['php_view'] = base64_encode($data['php_view']); - } - - // Set the php_jview string to base64 string. - if (isset($data['php_jview'])) - { - $data['php_jview'] = base64_encode($data['php_jview']); - } - - // Set the php_document string to base64 string. - if (isset($data['php_document'])) - { - $data['php_document'] = base64_encode($data['php_document']); - } - - // Set the php_jview_display string to base64 string. - if (isset($data['php_jview_display'])) - { - $data['php_jview_display'] = base64_encode($data['php_jview_display']); - } - - // Set the js_document string to base64 string. - if (isset($data['js_document'])) - { - $data['js_document'] = base64_encode($data['js_document']); - } - - // Set the css string to base64 string. - if (isset($data['css'])) - { - $data['css'] = base64_encode($data['css']); - } - - // Set the php_ajaxmethod string to base64 string. - if (isset($data['php_ajaxmethod'])) - { - $data['php_ajaxmethod'] = base64_encode($data['php_ajaxmethod']); - } - - // Set the default string to base64 string. - if (isset($data['default'])) - { - $data['default'] = base64_encode($data['default']); - } - - // Set the php_controller string to base64 string. - if (isset($data['php_controller'])) - { - $data['php_controller'] = base64_encode($data['php_controller']); - } - - // Set the php_model string to base64 string. - if (isset($data['php_model'])) - { - $data['php_model'] = base64_encode($data['php_model']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the name for save as copy - if ($input->get('task') == 'save2copy') - { - $origTable = clone $this->getTable(); - $origTable->load($input->getInt('id')); - - if ($data['name'] == $origTable->name) - { - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['name'] = $name; - $data['alias'] = $alias; - } - else - { - if ($data['alias'] == $origTable->alias) - { - $data['alias'] = ''; - } - } - - $data['published'] = 0; - } - - // Automatic handling of alias for empty fields - if (in_array($input->get('task'), array('apply', 'save', 'save2new')) && (int) $input->get('id') == 0) - { - if ($data['alias'] == null) - { - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $data['alias'] = JFilterOutput::stringURLUnicodeSlug($data['name']); - } - else - { - $data['alias'] = JFilterOutput::stringURLSafe($data['name']); - } - - $table = JTable::getInstance('site_view', 'componentbuilderTable'); - - if ($table->load(array('alias' => $data['alias'])) && ($table->id != $data['id'] || $data['id'] == 0)) - { - $msg = JText::_('COM_COMPONENTBUILDER_SITE_VIEW_SAVE_WARNING'); - } - - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['alias'] = $alias; - - if (isset($msg)) - { - JFactory::getApplication()->enqueueMessage($msg, 'warning'); - } - } - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $alias The alias. - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($alias, $title) - { - - // Alter the title & alias - $table = $this->getTable(); - - while ($table->load(array('alias' => $alias))) - { - $title = JString::increment($title); - $alias = JString::increment($alias, 'dash'); - } - - return array($title, $alias); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/site_views.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/site_views.php deleted file mode 100644 index 5d8a1fe9e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/site_views.php +++ /dev/null @@ -1,410 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site_views.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Site_views Model - */ -class ComponentbuilderModelSite_views extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.system_name','system_name', - 'a.name','name', - 'a.alias','alias', - 'a.description','description' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $system_name = $this->getUserStateFromRequest($this->context . '.filter.system_name', 'filter_system_name'); - $this->setState('filter.system_name', $system_name); - - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $alias = $this->getUserStateFromRequest($this->context . '.filter.alias', 'filter_alias'); - $this->setState('filter.alias', $alias); - - $description = $this->getUserStateFromRequest($this->context . '.filter.description', 'filter_description'); - $this->setState('filter.description', $description); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('site_view.access', 'com_componentbuilder.site_view.' . (int) $item->id) && $user->authorise('site_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // return items - return $items; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_site_view', 'a')); - - // From the componentbuilder_snippet table. - $query->select($db->quoteName('g.name','snippet_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_snippet', 'g') . ' ON (' . $db->quoteName('a.snippet') . ' = ' . $db->quoteName('g.id') . ')'); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.system_name LIKE '.$search.' OR a.name LIKE '.$search.' OR a.alias LIKE '.$search.' OR a.description LIKE '.$search.')'); - } - } - - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_site_view table - $query->from($db->quoteName('#__componentbuilder_site_view', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('site_view.access', 'com_componentbuilder.site_view.' . (int) $item->id) && $user->authorise('site_view.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode css_document - $item->css_document = base64_decode($item->css_document); - // decode php_view - $item->php_view = base64_decode($item->php_view); - // decode php_jview - $item->php_jview = base64_decode($item->php_jview); - // decode php_document - $item->php_document = base64_decode($item->php_document); - // decode php_jview_display - $item->php_jview_display = base64_decode($item->php_jview_display); - // decode js_document - $item->js_document = base64_decode($item->js_document); - // decode css - $item->css = base64_decode($item->css); - // decode php_ajaxmethod - $item->php_ajaxmethod = base64_decode($item->php_ajaxmethod); - // decode default - $item->default = base64_decode($item->default); - // decode php_controller - $item->php_controller = base64_decode($item->php_controller); - // decode php_model - $item->php_model = base64_decode($item->php_model); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_site_view"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.system_name'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.alias'); - $id .= ':' . $this->getState('filter.description'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_site_view')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_site_view'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/snippet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/snippet.php deleted file mode 100644 index b3d968537..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/snippet.php +++ /dev/null @@ -1,851 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage snippet.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Snippet Model - */ -class ComponentbuilderModelSnippet extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.snippet'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'snippet', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->snippet)) - { - // base64 Decode snippet. - $item->snippet = base64_decode($item->snippet); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.snippet'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.snippet', 'snippet', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('core.edit.state', 'com_componentbuilder.snippet.' . (int) $id)) - || ($id == 0 && !$user->authorise('core.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/snippet.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('core.delete', 'com_componentbuilder.snippet.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit.state', 'com_componentbuilder.snippet.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return parent::canEditState($record); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('core.edit', 'com_componentbuilder.snippet.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('core.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_snippet')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.snippet.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('snippet'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('snippet'); - } - - if (!$this->canDo->get('core.create') || !$this->canDo->get('core.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('core.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - $this->table->name = $this->generateUniqe('name',$this->table->name); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('snippet'); - } - - if (!$this->canDo->get('core.edit') && !$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('core.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the snippet string to base64 string. - if (isset($data['snippet'])) - { - $data['snippet'] = base64_encode($data['snippet']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($title) - { - - // Alter the title - $table = $this->getTable(); - - while ($table->load(array('title' => $title))) - { - $title = JString::increment($title); - } - - return $title; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/snippets.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/snippets.php deleted file mode 100644 index a2603a5e0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/snippets.php +++ /dev/null @@ -1,429 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage snippets.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Snippets Model - */ -class ComponentbuilderModelSnippets extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.name','name', - 'a.url','url', - 'a.type','type', - 'a.heading','heading' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $url = $this->getUserStateFromRequest($this->context . '.filter.url', 'filter_url'); - $this->setState('filter.url', $url); - - $type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type'); - $this->setState('filter.type', $type); - - $heading = $this->getUserStateFromRequest($this->context . '.filter.heading', 'filter_heading'); - $this->setState('filter.heading', $heading); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('snippet.access', 'com_componentbuilder.snippet.' . (int) $item->id) && $user->authorise('snippet.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // set selection value to a translatable value - if (ComponentbuilderHelper::checkArray($items)) - { - foreach ($items as $nr => &$item) - { - // convert type - $item->type = $this->selectionTranslation($item->type, 'type'); - } - } - - - // return items - return $items; - } - - /** - * Method to convert selection values to translatable string. - * - * @return translatable string - */ - public function selectionTranslation($value,$name) - { - // Array of type language strings - if ($name == 'type') - { - $typeArray = array( - 1 => 'COM_COMPONENTBUILDER_SNIPPET_LAYOUT', - 2 => 'COM_COMPONENTBUILDER_SNIPPET_NAVIGATIONS', - 3 => 'COM_COMPONENTBUILDER_SNIPPET_ELEMENTS', - 4 => 'COM_COMPONENTBUILDER_SNIPPET_COMMON', - 5 => 'COM_COMPONENTBUILDER_SNIPPET_JAVASCRIPT', - 6 => 'COM_COMPONENTBUILDER_SNIPPET_CHARTS' - ); - // Now check if value is found in this array - if (isset($typeArray[$value]) && ComponentbuilderHelper::checkString($typeArray[$value])) - { - return $typeArray[$value]; - } - } - return $value; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_snippet', 'a')); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.url LIKE '.$search.' OR a.type LIKE '.$search.' OR a.heading LIKE '.$search.' OR a.description LIKE '.$search.')'); - } - } - - // Filter by Type. - if ($type = $this->getState('filter.type')) - { - $query->where('a.type = ' . $db->quote($db->escape($type, true))); - } - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_snippet table - $query->from($db->quoteName('#__componentbuilder_snippet', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('snippet.access', 'com_componentbuilder.snippet.' . (int) $item->id) && $user->authorise('snippet.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode snippet - $item->snippet = base64_decode($item->snippet); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_snippet"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.url'); - $id .= ':' . $this->getState('filter.type'); - $id .= ':' . $this->getState('filter.heading'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_snippet')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_snippet'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/template.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/template.php deleted file mode 100644 index 256751195..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/template.php +++ /dev/null @@ -1,955 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage template.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla modelform library -jimport('joomla.application.component.modeladmin'); - -/** - * Componentbuilder Template Model - */ -class ComponentbuilderModelTemplate extends JModelAdmin -{ - /** - * @var string The prefix to use with controller messages. - * @since 1.6 - */ - protected $text_prefix = 'COM_COMPONENTBUILDER'; - - /** - * The type alias for this content type. - * - * @var string - * @since 3.2 - */ - public $typeAlias = 'com_componentbuilder.template'; - - /** - * Returns a Table object, always creating it - * - * @param type $type The table type to instantiate - * @param string $prefix A prefix for the table class name. Optional. - * @param array $config Configuration array for model. Optional. - * - * @return JTable A database object - * - * @since 1.6 - */ - public function getTable($type = 'template', $prefix = 'ComponentbuilderTable', $config = array()) - { - return JTable::getInstance($type, $prefix, $config); - } - - /** - * Method to get a single record. - * - * @param integer $pk The id of the primary key. - * - * @return mixed Object on success, false on failure. - * - * @since 1.6 - */ - public function getItem($pk = null) - { - if ($item = parent::getItem($pk)) - { - if (!empty($item->params)) - { - // Convert the params field to an array. - $registry = new Registry; - $registry->loadString($item->params); - $item->params = $registry->toArray(); - } - - if (!empty($item->metadata)) - { - // Convert the metadata field to an array. - $registry = new Registry; - $registry->loadString($item->metadata); - $item->metadata = $registry->toArray(); - } - - if (!empty($item->template)) - { - // base64 Decode template. - $item->template = base64_decode($item->template); - } - - if (!empty($item->php_view)) - { - // base64 Decode php_view. - $item->php_view = base64_decode($item->php_view); - } - - if (!empty($item->id)) - { - $item->tags = new JHelperTags; - $item->tags->getTagIds($item->id, 'com_componentbuilder.template'); - } - } - - return $item; - } - - /** - * Method to get the record form. - * - * @param array $data Data for the form. - * @param boolean $loadData True if the form is to load its own data (default case), false if not. - * - * @return mixed A JForm object on success, false on failure - * - * @since 1.6 - */ - public function getForm($data = array(), $loadData = true) - { // Get the form. - $form = $this->loadForm('com_componentbuilder.template', 'template', array('control' => 'jform', 'load_data' => $loadData)); - - if (empty($form)) - { - return false; - } - - $jinput = JFactory::getApplication()->input; - - // The front end calls this model and uses a_id to avoid id clashes so we need to check for that first. - if ($jinput->get('a_id')) - { - $id = $jinput->get('a_id', 0, 'INT'); - } - // The back end uses id so we use that the rest of the time and set it to 0 by default. - else - { - $id = $jinput->get('id', 0, 'INT'); - } - - $user = JFactory::getUser(); - - // Check for existing item. - // Modify the form based on Edit State access controls. - if ($id != 0 && (!$user->authorise('core.edit.state', 'com_componentbuilder.template.' . (int) $id)) - || ($id == 0 && !$user->authorise('core.edit.state', 'com_componentbuilder'))) - { - // Disable fields for display. - $form->setFieldAttribute('ordering', 'disabled', 'true'); - $form->setFieldAttribute('published', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('ordering', 'filter', 'unset'); - $form->setFieldAttribute('published', 'filter', 'unset'); - } - // If this is a new item insure the greated by is set - if (0 == $id) - { - // Set the created_by to this user - $form->setValue('created_by', null, $user->id); - } - // Modify the form based on Edit Creaded By access controls. - if (!$user->authorise('core.edit.created_by', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created_by', 'disabled', 'true'); - // Disable fields for display. - $form->setFieldAttribute('created_by', 'readonly', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created_by', 'filter', 'unset'); - } - // Modify the form based on Edit Creaded Date access controls. - if (!$user->authorise('core.edit.created', 'com_componentbuilder')) - { - // Disable fields for display. - $form->setFieldAttribute('created', 'disabled', 'true'); - // Disable fields while saving. - $form->setFieldAttribute('created', 'filter', 'unset'); - } - // Only load these values if no id is found - if (0 == $id) - { - // Set redirected field name - $redirectedField = $jinput->get('ref', null, 'STRING'); - // Set redirected field value - $redirectedValue = $jinput->get('refid', 0, 'INT'); - if (0 != $redirectedValue && $redirectedField) - { - // Now set the local-redirected field default value - $form->setValue($redirectedField, null, $redirectedValue); - } - } - - return $form; - } - - /** - * Method to get the script that have to be included on the form - * - * @return string script files - */ - public function getScript() - { - return 'administrator/components/com_componentbuilder/models/forms/template.js'; - } - - /** - * Method to test whether a record can be deleted. - * - * @param object $record A record object. - * - * @return boolean True if allowed to delete the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canDelete($record) - { - if (!empty($record->id)) - { - if ($record->published != -2) - { - return; - } - - $user = JFactory::getUser(); - // The record has been set. Check the record permissions. - return $user->authorise('core.delete', 'com_componentbuilder.template.' . (int) $record->id); - } - return false; - } - - /** - * Method to test whether a record can have its state edited. - * - * @param object $record A record object. - * - * @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component. - * - * @since 1.6 - */ - protected function canEditState($record) - { - $user = JFactory::getUser(); - $recordId = (!empty($record->id)) ? $record->id : 0; - - if ($recordId) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise('core.edit.state', 'com_componentbuilder.template.' . (int) $recordId); - if (!$permission && !is_null($permission)) - { - return false; - } - } - // In the absense of better information, revert to the component permissions. - return parent::canEditState($record); - } - - /** - * Method override to check if you can edit an existing record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * @since 2.5 - */ - protected function allowEdit($data = array(), $key = 'id') - { - // Check specific edit permission then general edit permission. - $user = JFactory::getUser(); - - return $user->authorise('core.edit', 'com_componentbuilder.template.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('core.edit', 'com_componentbuilder'); - } - - /** - * Prepare and sanitise the table data prior to saving. - * - * @param JTable $table A JTable object. - * - * @return void - * - * @since 1.6 - */ - protected function prepareTable($table) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if (isset($table->name)) - { - $table->name = htmlspecialchars_decode($table->name, ENT_QUOTES); - } - - if (isset($table->alias) && empty($table->alias)) - { - $table->generateAlias(); - } - - if (empty($table->id)) - { - $table->created = $date->toSql(); - // set the user - if ($table->created_by == 0 || empty($table->created_by)) - { - $table->created_by = $user->id; - } - // Set ordering to the last item if not set - if (empty($table->ordering)) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('MAX(ordering)') - ->from($db->quoteName('#__componentbuilder_template')); - $db->setQuery($query); - $max = $db->loadResult(); - - $table->ordering = $max + 1; - } - } - else - { - $table->modified = $date->toSql(); - $table->modified_by = $user->id; - } - - if (!empty($table->id)) - { - // Increment the items version number. - $table->version++; - } - } - - /** - * Method to get the data that should be injected in the form. - * - * @return mixed The data for the form. - * - * @since 1.6 - */ - protected function loadFormData() - { - // Check the session for previously entered form data. - $data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.template.data', array()); - - if (empty($data)) - { - $data = $this->getItem(); - } - - return $data; - } - - /** - * Method to validate the form data. - * - * @param JForm $form The form to validate against. - * @param array $data The data to validate. - * @param string $group The name of the field group to validate. - * - * @return mixed Array of filtered data if valid, false otherwise. - * - * @see JFormRule - * @see JFilterInput - * @since 12.2 - */ - public function validate($form, $data, $group = null) - { - // check if the not_required field is set - if (ComponentbuilderHelper::checkString($data['not_required'])) - { - $requiredFields = (array) explode(',',(string) $data['not_required']); - $requiredFields = array_unique($requiredFields); - // now change the required field attributes value - foreach ($requiredFields as $requiredField) - { - // make sure there is a string value - if (ComponentbuilderHelper::checkString($requiredField)) - { - // change to false - $form->setFieldAttribute($requiredField, 'required', 'false'); - // also clear the data set - $data[$requiredField] = ''; - } - } - } - return parent::validate($form, $data, $group); - } - - /** - * Method to get the unique fields of this table. - * - * @return mixed An array of field names, boolean false if none is set. - * - * @since 3.0 - */ - protected function getUniqeFields() - { - return false; - } - - /** - * Method to delete one or more records. - * - * @param array &$pks An array of record primary keys. - * - * @return boolean True if successful, false if an error occurs. - * - * @since 12.2 - */ - public function delete(&$pks) - { - if (!parent::delete($pks)) - { - return false; - } - - return true; - } - - /** - * Method to perform batch operations on an item or a set of items. - * - * @param array $commands An array of commands to perform. - * @param array $pks An array of item ids. - * @param array $contexts An array of item contexts. - * - * @return boolean Returns true on success, false on failure. - * - * @since 12.2 - */ - public function batch($commands, $pks, $contexts) - { - // Sanitize ids. - $pks = array_unique($pks); - JArrayHelper::toInteger($pks); - - // Remove any values of zero. - if (array_search(0, $pks, true)) - { - unset($pks[array_search(0, $pks, true)]); - } - - if (empty($pks)) - { - $this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED')); - return false; - } - - $done = false; - - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('template'); - $this->batchSet = true; - - if (!$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - return false; - } - - if ($this->type == false) - { - $type = new JUcmType; - $this->type = $type->getTypeByAlias($this->typeAlias); - } - - $this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags'); - - if (!empty($commands['move_copy'])) - { - $cmd = JArrayHelper::getValue($commands, 'move_copy', 'c'); - - if ($cmd == 'c') - { - $result = $this->batchCopy($commands, $pks, $contexts); - - if (is_array($result)) - { - foreach ($result as $old => $new) - { - $contexts[$new] = $contexts[$old]; - } - $pks = array_values($result); - } - else - { - return false; - } - } - elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts)) - { - return false; - } - - $done = true; - } - - if (!$done) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION')); - - return false; - } - - // Clear the cache - $this->cleanCache(); - - return true; - } - - /** - * Batch copy items to a new category or current. - * - * @param integer $values The new values. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return mixed An array of new IDs on success, boolean false on failure. - * - * @since 12.2 - */ - protected function batchCopy($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('template'); - } - - if (!$this->canDo->get('core.create') || !$this->canDo->get('core.batch')) - { - return false; - } - - // get list of uniqe fields - $uniqeFields = $this->getUniqeFields(); - // remove move_copy from array - unset($values['move_copy']); - - // make sure published is set - if (!isset($values['published'])) - { - $values['published'] = 0; - } - elseif (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - $values['published'] = 0; - } - - $newIds = array(); - - // Parent exists so let's proceed - while (!empty($pks)) - { - // Pop the first ID off the stack - $pk = array_shift($pks); - - $this->table->reset(); - - // only allow copy if user may edit this item. - - if (!$this->user->authorise('core.edit', $contexts[$pk])) - - { - - // Not fatal error - - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - - continue; - - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - list($this->table->name, $this->table->alias) = $this->_generateNewTitle($this->table->alias, $this->table->name); - - // insert all set values - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - if (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - // update all uniqe fields - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField); - } - } - - // Reset the ID because we are making a copy - $this->table->id = 0; - - // TODO: Deal with ordering? - // $this->table->ordering = 1; - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - - // Get the new item ID - $newId = $this->table->get('id'); - - // Add the new ID to the array - $newIds[$pk] = $newId; - } - - // Clean the cache - $this->cleanCache(); - - return $newIds; - } - - /** - * Batch move items to a new category - * - * @param integer $value The new category ID. - * @param array $pks An array of row IDs. - * @param array $contexts An array of item contexts. - * - * @return boolean True if successful, false otherwise and internal error is set. - * - * @since 12.2 - */ - protected function batchMove($values, $pks, $contexts) - { - if (empty($this->batchSet)) - { - // Set some needed variables. - $this->user = JFactory::getUser(); - $this->table = $this->getTable(); - $this->tableClassName = get_class($this->table); - $this->contentType = new JUcmType; - $this->type = $this->contentType->getTypeByTable($this->tableClassName); - $this->canDo = ComponentbuilderHelper::getActions('template'); - } - - if (!$this->canDo->get('core.edit') && !$this->canDo->get('core.batch')) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - return false; - } - - // make sure published only updates if user has the permission. - if (isset($values['published']) && !$this->canDo->get('core.edit.state')) - { - unset($values['published']); - } - // remove move_copy from array - unset($values['move_copy']); - - // Parent exists so we proceed - foreach ($pks as $pk) - { - if (!$this->user->authorise('core.edit', $contexts[$pk])) - { - $this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT')); - - return false; - } - - // Check that the row actually exists - if (!$this->table->load($pk)) - { - if ($error = $this->table->getError()) - { - // Fatal error - $this->setError($error); - - return false; - } - else - { - // Not fatal error - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk)); - continue; - } - } - - // insert all set values. - if (ComponentbuilderHelper::checkArray($values)) - { - foreach ($values as $key => $value) - { - // Do special action for access. - if ('access' == $key && strlen($value) > 0) - { - $this->table->$key = $value; - } - elseif (strlen($value) > 0 && isset($this->table->$key)) - { - $this->table->$key = $value; - } - } - } - - - // Check the row. - if (!$this->table->check()) - { - $this->setError($this->table->getError()); - - return false; - } - - if (!empty($this->type)) - { - $this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table); - } - - // Store the row. - if (!$this->table->store()) - { - $this->setError($this->table->getError()); - - return false; - } - } - - // Clean the cache - $this->cleanCache(); - - return true; - } - - /** - * Method to save the form data. - * - * @param array $data The form data. - * - * @return boolean True on success. - * - * @since 1.6 - */ - public function save($data) - { - $input = JFactory::getApplication()->input; - $filter = JFilterInput::getInstance(); - - // set the metadata to the Item Data - if (isset($data['metadata']) && isset($data['metadata']['author'])) - { - $data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM'); - - $metadata = new JRegistry; - $metadata->loadArray($data['metadata']); - $data['metadata'] = (string) $metadata; - } - - // Set the template string to base64 string. - if (isset($data['template'])) - { - $data['template'] = base64_encode($data['template']); - } - - // Set the php_view string to base64 string. - if (isset($data['php_view'])) - { - $data['php_view'] = base64_encode($data['php_view']); - } - - // Set the Params Items to data - if (isset($data['params']) && is_array($data['params'])) - { - $params = new JRegistry; - $params->loadArray($data['params']); - $data['params'] = (string) $params; - } - - // Alter the name for save as copy - if ($input->get('task') == 'save2copy') - { - $origTable = clone $this->getTable(); - $origTable->load($input->getInt('id')); - - if ($data['name'] == $origTable->name) - { - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['name'] = $name; - $data['alias'] = $alias; - } - else - { - if ($data['alias'] == $origTable->alias) - { - $data['alias'] = ''; - } - } - - $data['published'] = 0; - } - - // Automatic handling of alias for empty fields - if (in_array($input->get('task'), array('apply', 'save', 'save2new')) && (int) $input->get('id') == 0) - { - if ($data['alias'] == null) - { - if (JFactory::getConfig()->get('unicodeslugs') == 1) - { - $data['alias'] = JFilterOutput::stringURLUnicodeSlug($data['name']); - } - else - { - $data['alias'] = JFilterOutput::stringURLSafe($data['name']); - } - - $table = JTable::getInstance('template', 'componentbuilderTable'); - - if ($table->load(array('alias' => $data['alias'])) && ($table->id != $data['id'] || $data['id'] == 0)) - { - $msg = JText::_('COM_COMPONENTBUILDER_TEMPLATE_SAVE_WARNING'); - } - - list($name, $alias) = $this->_generateNewTitle($data['alias'], $data['name']); - $data['alias'] = $alias; - - if (isset($msg)) - { - JFactory::getApplication()->enqueueMessage($msg, 'warning'); - } - } - } - - // Alter the uniqe field for save as copy - if ($input->get('task') == 'save2copy') - { - // Automatic handling of other uniqe fields - $uniqeFields = $this->getUniqeFields(); - if (ComponentbuilderHelper::checkArray($uniqeFields)) - { - foreach ($uniqeFields as $uniqeField) - { - $data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]); - } - } - } - - if (parent::save($data)) - { - return true; - } - return false; - } - - /** - * Method to generate a uniqe value. - * - * @param string $field name. - * @param string $value data. - * - * @return string New value. - * - * @since 3.0 - */ - protected function generateUniqe($field,$value) - { - - // set field value uniqe - $table = $this->getTable(); - - while ($table->load(array($field => $value))) - { - $value = JString::increment($value); - } - - return $value; - } - - /** - * Method to change the title & alias. - * - * @param string $alias The alias. - * @param string $title The title. - * - * @return array Contains the modified title and alias. - * - */ - protected function _generateNewTitle($alias, $title) - { - - // Alter the title & alias - $table = $this->getTable(); - - while ($table->load(array('alias' => $alias))) - { - $title = JString::increment($title); - $alias = JString::increment($alias, 'dash'); - } - - return array($title, $alias); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/templates.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/templates.php deleted file mode 100644 index ba1759580..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/models/templates.php +++ /dev/null @@ -1,387 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage templates.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import the Joomla modellist library -jimport('joomla.application.component.modellist'); - -/** - * Templates Model - */ -class ComponentbuilderModelTemplates extends JModelList -{ - public function __construct($config = array()) - { - if (empty($config['filter_fields'])) - { - $config['filter_fields'] = array( - 'a.id','id', - 'a.published','published', - 'a.ordering','ordering', - 'a.created_by','created_by', - 'a.modified_by','modified_by', - 'a.name','name', - 'a.alias','alias', - 'a.description','description' - ); - } - - parent::__construct($config); - } - - /** - * Method to auto-populate the model state. - * - * @return void - */ - protected function populateState($ordering = null, $direction = null) - { - $app = JFactory::getApplication(); - - // Adjust the context to support modal layouts. - if ($layout = $app->input->get('layout')) - { - $this->context .= '.' . $layout; - } - $name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name'); - $this->setState('filter.name', $name); - - $alias = $this->getUserStateFromRequest($this->context . '.filter.alias', 'filter_alias'); - $this->setState('filter.alias', $alias); - - $description = $this->getUserStateFromRequest($this->context . '.filter.description', 'filter_description'); - $this->setState('filter.description', $description); - - $sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int'); - $this->setState('filter.sorting', $sorting); - - $access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int'); - $this->setState('filter.access', $access); - - $search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search'); - $this->setState('filter.search', $search); - - $published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', ''); - $this->setState('filter.published', $published); - - $created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', ''); - $this->setState('filter.created_by', $created_by); - - $created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created'); - $this->setState('filter.created', $created); - - // List state information. - parent::populateState($ordering, $direction); - } - - /** - * Method to get an array of data items. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getItems() - { - // check in items - $this->checkInNow(); - - // load parent items - $items = parent::getItems(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('template.access', 'com_componentbuilder.template.' . (int) $item->id) && $user->authorise('template.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - } - } - - // return items - return $items; - } - - /** - * Method to build an SQL query to load the list data. - * - * @return string An SQL query - */ - protected function getListQuery() - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_item table - $query->from($db->quoteName('#__componentbuilder_template', 'a')); - - // From the componentbuilder_snippet table. - $query->select($db->quoteName('g.name','snippet_name')); - $query->join('LEFT', $db->quoteName('#__componentbuilder_snippet', 'g') . ' ON (' . $db->quoteName('a.snippet') . ' = ' . $db->quoteName('g.id') . ')'); - - // Filter by published state - $published = $this->getState('filter.published'); - if (is_numeric($published)) - { - $query->where('a.published = ' . (int) $published); - } - elseif ($published === '') - { - $query->where('(a.published = 0 OR a.published = 1)'); - } - - // Join over the asset groups. - $query->select('ag.title AS access_level'); - $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access'); - // Filter by access level. - if ($access = $this->getState('filter.access')) - { - $query->where('a.access = ' . (int) $access); - } - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - // Filter by search. - $search = $this->getState('filter.search'); - if (!empty($search)) - { - if (stripos($search, 'id:') === 0) - { - $query->where('a.id = ' . (int) substr($search, 3)); - } - else - { - $search = $db->quote('%' . $db->escape($search, true) . '%'); - $query->where('(a.name LIKE '.$search.' OR a.alias LIKE '.$search.' OR a.description LIKE '.$search.')'); - } - } - - - // Add the list ordering clause. - $orderCol = $this->state->get('list.ordering', 'a.id'); - $orderDirn = $this->state->get('list.direction', 'asc'); - if ($orderCol != '') - { - $query->order($db->escape($orderCol . ' ' . $orderDirn)); - } - - return $query; - } - - /** - * Method to get list export data. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExportData($pks) - { - // setup the query - if (ComponentbuilderHelper::checkArray($pks)) - { - // Get the user object. - $user = JFactory::getUser(); - // Create a new query object. - $db = JFactory::getDBO(); - $query = $db->getQuery(true); - - // Select some fields - $query->select('a.*'); - - // From the componentbuilder_template table - $query->from($db->quoteName('#__componentbuilder_template', 'a')); - $query->where('a.id IN (' . implode(',',$pks) . ')'); - // Implement View Level Access - if (!$user->authorise('core.options', 'com_componentbuilder')) - { - $groups = implode(',', $user->getAuthorisedViewLevels()); - $query->where('a.access IN (' . $groups . ')'); - } - - // Order the results by ordering - $query->order('a.ordering ASC'); - - // Load the items - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - $items = $db->loadObjectList(); - - // set values to display correctly. - if (ComponentbuilderHelper::checkArray($items)) - { - // get user object. - $user = JFactory::getUser(); - foreach ($items as $nr => &$item) - { - $access = ($user->authorise('template.access', 'com_componentbuilder.template.' . (int) $item->id) && $user->authorise('template.access', 'com_componentbuilder')); - if (!$access) - { - unset($items[$nr]); - continue; - } - - // decode template - $item->template = base64_decode($item->template); - // decode php_view - $item->php_view = base64_decode($item->php_view); - // unset the values we don't want exported. - unset($item->asset_id); - unset($item->checked_out); - unset($item->checked_out_time); - } - } - // Add headers to items array. - $headers = $this->getExImPortHeaders(); - if (ComponentbuilderHelper::checkObject($headers)) - { - array_unshift($items,$headers); - } - return $items; - } - } - return false; - } - - /** - * Method to get header. - * - * @return mixed An array of data items on success, false on failure. - */ - public function getExImPortHeaders() - { - // Get a db connection. - $db = JFactory::getDbo(); - // get the columns - $columns = $db->getTableColumns("#__componentbuilder_template"); - if (ComponentbuilderHelper::checkArray($columns)) - { - // remove the headers you don't import/export. - unset($columns['asset_id']); - unset($columns['checked_out']); - unset($columns['checked_out_time']); - $headers = new stdClass(); - foreach ($columns as $column => $type) - { - $headers->{$column} = $column; - } - return $headers; - } - return false; - } - - /** - * Method to get a store id based on model configuration state. - * - * @return string A store id. - * - */ - protected function getStoreId($id = '') - { - // Compile the store id. - $id .= ':' . $this->getState('filter.id'); - $id .= ':' . $this->getState('filter.search'); - $id .= ':' . $this->getState('filter.published'); - $id .= ':' . $this->getState('filter.ordering'); - $id .= ':' . $this->getState('filter.created_by'); - $id .= ':' . $this->getState('filter.modified_by'); - $id .= ':' . $this->getState('filter.name'); - $id .= ':' . $this->getState('filter.alias'); - $id .= ':' . $this->getState('filter.description'); - - return parent::getStoreId($id); - } - - /** - * Build an SQL query to checkin all items left checked out longer then a set time. - * - * @return a bool - * - */ - protected function checkInNow() - { - // Get set check in time - $time = JComponentHelper::getParams('com_componentbuilder')->get('check_in'); - - if ($time) - { - - // Get a db connection. - $db = JFactory::getDbo(); - // reset query - $query = $db->getQuery(true); - $query->select('*'); - $query->from($db->quoteName('#__componentbuilder_template')); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - // Get Yesterdays date - $date = JFactory::getDate()->modify($time)->toSql(); - // reset query - $query = $db->getQuery(true); - - // Fields to update. - $fields = array( - $db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'', - $db->quoteName('checked_out') . '=0' - ); - - // Conditions for which records should be updated. - $conditions = array( - $db->quoteName('checked_out') . '!=0', - $db->quoteName('checked_out_time') . '<\''.$date.'\'' - ); - - // Check table - $query->update($db->quoteName('#__componentbuilder_template'))->set($fields)->where($conditions); - - $db->setQuery($query); - - $db->execute(); - } - } - - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/install.mysql.utf8.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/install.mysql.utf8.sql deleted file mode 100644 index 7cc8fcf21..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/install.mysql.utf8.sql +++ /dev/null @@ -1,1244 +0,0 @@ -CREATE TABLE IF NOT EXISTS `#__componentbuilder_component` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_admin_event` TINYINT(1) NOT NULL DEFAULT '0', - `add_css` TINYINT(1) NOT NULL DEFAULT '0', - `add_license` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_dashboard_methods` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_helper_admin` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_helper_site` TINYINT(1) NOT NULL DEFAULT '0', - `add_sales_server` TINYINT(1) NOT NULL DEFAULT '0', - `add_site_event` TINYINT(1) NOT NULL DEFAULT '0', - `add_sql` TINYINT(1) NOT NULL DEFAULT '0', - `add_update_server` TINYINT(1) NOT NULL DEFAULT '0', - `addadmin_views` TEXT NOT NULL DEFAULT '', - `addconfig` TEXT NOT NULL DEFAULT '', - `addcontributors` TEXT NOT NULL DEFAULT '', - `addcustom_admin_views` TEXT NOT NULL DEFAULT '', - `addcustommenus` TEXT NOT NULL DEFAULT '', - `addfiles` TEXT NOT NULL DEFAULT '', - `addfolders` TEXT NOT NULL DEFAULT '', - `addfootable` TINYINT(1) NOT NULL DEFAULT '0', - `addreadme` TINYINT(1) NOT NULL DEFAULT '0', - `addsite_views` TEXT NOT NULL DEFAULT '', - `adduikit` TINYINT(1) NOT NULL DEFAULT '0', - `author` VARCHAR(255) NOT NULL DEFAULT '', - `bom` CHAR(64) NOT NULL DEFAULT '', - `companyname` CHAR(64) NOT NULL DEFAULT '', - `component_version` CHAR(64) NOT NULL DEFAULT '', - `copyright` VARCHAR(255) NOT NULL DEFAULT '', - `creatuserhelper` TINYINT(1) NOT NULL DEFAULT '0', - `css` TEXT NOT NULL DEFAULT '', - `dashboard_tab` TEXT NOT NULL DEFAULT '', - `debug_linenr` TINYINT(1) NOT NULL DEFAULT '0', - `description` TEXT NOT NULL DEFAULT '', - `email` VARCHAR(255) NOT NULL DEFAULT '', - `emptycontributors` TINYINT(1) NOT NULL DEFAULT '0', - `image` CHAR(64) NOT NULL DEFAULT '', - `license` VARCHAR(255) NOT NULL DEFAULT '', - `license_type` TINYINT(1) NOT NULL DEFAULT '0', - `name` CHAR(64) NOT NULL DEFAULT '', - `name_code` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `number` INT(11) NOT NULL DEFAULT '0', - `php_admin_event` MEDIUMTEXT NOT NULL DEFAULT '', - `php_dashboard_methods` MEDIUMTEXT NOT NULL DEFAULT '', - `php_helper_admin` MEDIUMTEXT NOT NULL DEFAULT '', - `php_helper_site` MEDIUMTEXT NOT NULL DEFAULT '', - `php_site_event` MEDIUMTEXT NOT NULL DEFAULT '', - `readme` TEXT NOT NULL DEFAULT '', - `sales_server_ftp` TEXT NOT NULL DEFAULT '', - `short_description` VARCHAR(255) NOT NULL DEFAULT '', - `sql` MEDIUMTEXT NOT NULL DEFAULT '', - `sql_tweak` TEXT NOT NULL DEFAULT '', - `system_name` VARCHAR(255) NOT NULL DEFAULT '', - `update_server` VARCHAR(255) NOT NULL DEFAULT '', - `update_server_ftp` TEXT NOT NULL DEFAULT '', - `version_update` TEXT NOT NULL DEFAULT '', - `website` CHAR(255) NOT NULL DEFAULT '', - `whmcs_key` VARCHAR(255) NOT NULL DEFAULT '', - `whmcs_url` VARCHAR(255) NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name_code` (`name_code`), - KEY `idx_debug_linenr` (`debug_linenr`), - KEY `idx_emptycontributors` (`emptycontributors`), - KEY `idx_creatuserhelper` (`creatuserhelper`), - KEY `idx_add_update_server` (`add_update_server`), - KEY `idx_addfootable` (`addfootable`), - KEY `idx_name` (`name`), - KEY `idx_addreadme` (`addreadme`), - KEY `idx_add_sales_server` (`add_sales_server`), - KEY `idx_add_license` (`add_license`), - KEY `idx_license_type` (`license_type`), - KEY `idx_adduikit` (`adduikit`), - KEY `idx_add_css` (`add_css`), - KEY `idx_add_php_helper_admin` (`add_php_helper_admin`), - KEY `idx_add_admin_event` (`add_admin_event`), - KEY `idx_add_php_helper_site` (`add_php_helper_site`), - KEY `idx_add_site_event` (`add_site_event`), - KEY `idx_add_sql` (`add_sql`), - KEY `idx_add_php_dashboard_methods` (`add_php_dashboard_methods`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_css_view` TINYINT(1) NOT NULL DEFAULT '0', - `add_css_views` TINYINT(1) NOT NULL DEFAULT '0', - `add_javascript_view_file` TINYINT(1) NOT NULL DEFAULT '0', - `add_javascript_view_footer` TINYINT(1) NOT NULL DEFAULT '0', - `add_javascript_views_file` TINYINT(1) NOT NULL DEFAULT '0', - `add_javascript_views_footer` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_after_delete` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_ajax` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_allowedit` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_batchcopy` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_batchmove` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_before_delete` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_getitem` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_getitems` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_getlistquery` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_postsavehook` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_save` TINYINT(1) NOT NULL DEFAULT '0', - `add_sql` TINYINT(1) NOT NULL DEFAULT '0', - `addconditions` TEXT NOT NULL DEFAULT '', - `addfields` TEXT NOT NULL DEFAULT '', - `addlinked_views` TEXT NOT NULL DEFAULT '', - `addpermissions` TEXT NOT NULL DEFAULT '', - `addtables` TEXT NOT NULL DEFAULT '', - `addtabs` TEXT NOT NULL DEFAULT '', - `ajax_input` TEXT NOT NULL DEFAULT '', - `css_view` TEXT NOT NULL DEFAULT '', - `css_views` TEXT NOT NULL DEFAULT '', - `description` TEXT NOT NULL DEFAULT '', - `icon` CHAR(64) NOT NULL DEFAULT '', - `icon_add` CHAR(64) NOT NULL DEFAULT '', - `icon_category` CHAR(64) NOT NULL DEFAULT '', - `javascript_view_file` TEXT NOT NULL DEFAULT '', - `javascript_view_footer` TEXT NOT NULL DEFAULT '', - `javascript_views_file` TEXT NOT NULL DEFAULT '', - `javascript_views_footer` TEXT NOT NULL DEFAULT '', - `name_list` CHAR(64) NOT NULL DEFAULT '', - `name_single` CHAR(64) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `php_after_delete` MEDIUMTEXT NOT NULL DEFAULT '', - `php_ajaxmethod` MEDIUMTEXT NOT NULL DEFAULT '', - `php_allowedit` MEDIUMTEXT NOT NULL DEFAULT '', - `php_batchcopy` MEDIUMTEXT NOT NULL DEFAULT '', - `php_batchmove` MEDIUMTEXT NOT NULL DEFAULT '', - `php_before_delete` MEDIUMTEXT NOT NULL DEFAULT '', - `php_getitem` MEDIUMTEXT NOT NULL DEFAULT '', - `php_getitems` MEDIUMTEXT NOT NULL DEFAULT '', - `php_getlistquery` MEDIUMTEXT NOT NULL DEFAULT '', - `php_postsavehook` MEDIUMTEXT NOT NULL DEFAULT '', - `php_save` MEDIUMTEXT NOT NULL DEFAULT '', - `short_description` VARCHAR(255) NOT NULL DEFAULT '', - `source` TINYINT(1) NOT NULL DEFAULT '0', - `sql` MEDIUMTEXT NOT NULL DEFAULT '', - `system_name` VARCHAR(255) NOT NULL DEFAULT '', - `type` INT(11) NOT NULL DEFAULT '0', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name_single` (`name_single`), - KEY `idx_name_list` (`name_list`), - KEY `idx_type` (`type`), - KEY `idx_add_php_ajax` (`add_php_ajax`), - KEY `idx_source` (`source`), - KEY `idx_add_php_getitem` (`add_php_getitem`), - KEY `idx_add_php_getitems` (`add_php_getitems`), - KEY `idx_add_css_view` (`add_css_view`), - KEY `idx_add_php_getlistquery` (`add_php_getlistquery`), - KEY `idx_add_php_save` (`add_php_save`), - KEY `idx_add_css_views` (`add_css_views`), - KEY `idx_add_php_postsavehook` (`add_php_postsavehook`), - KEY `idx_add_php_allowedit` (`add_php_allowedit`), - KEY `idx_add_javascript_view_file` (`add_javascript_view_file`), - KEY `idx_add_php_batchcopy` (`add_php_batchcopy`), - KEY `idx_add_php_batchmove` (`add_php_batchmove`), - KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`), - KEY `idx_add_php_before_delete` (`add_php_before_delete`), - KEY `idx_add_php_after_delete` (`add_php_after_delete`), - KEY `idx_add_javascript_views_file` (`add_javascript_views_file`), - KEY `idx_add_sql` (`add_sql`), - KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_css` TINYINT(1) NOT NULL DEFAULT '0', - `add_css_document` TINYINT(1) NOT NULL DEFAULT '0', - `add_custom_button` INT(1) NOT NULL DEFAULT '0', - `add_js_document` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_document` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_jview` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_jview_display` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_view` TINYINT(1) NOT NULL DEFAULT '0', - `alias` VARCHAR(255) NOT NULL DEFAULT '', - `css` TEXT NOT NULL DEFAULT '', - `css_document` TEXT NOT NULL DEFAULT '', - `custom_button` TEXT NOT NULL DEFAULT '', - `custom_get` TEXT NOT NULL DEFAULT '', - `default` TEXT NOT NULL DEFAULT '', - `description` VARCHAR(255) NOT NULL DEFAULT '', - `dynamic_get` INT(11) NOT NULL DEFAULT '0', - `js_document` TEXT NOT NULL DEFAULT '', - `main_get` INT(11) NOT NULL DEFAULT '0', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `php_controller` MEDIUMTEXT NOT NULL DEFAULT '', - `php_document` MEDIUMTEXT NOT NULL DEFAULT '', - `php_jview` MEDIUMTEXT NOT NULL DEFAULT '', - `php_jview_display` MEDIUMTEXT NOT NULL DEFAULT '', - `php_model` MEDIUMTEXT NOT NULL DEFAULT '', - `php_view` MEDIUMTEXT NOT NULL DEFAULT '', - `snippet` INT(11) NOT NULL DEFAULT '0', - `system_name` VARCHAR(255) NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_alias` (`alias`), - KEY `idx_main_get` (`main_get`), - KEY `idx_add_php_document` (`add_php_document`), - KEY `idx_dynamic_get` (`dynamic_get`), - KEY `idx_add_php_view` (`add_php_view`), - KEY `idx_add_php_jview_display` (`add_php_jview_display`), - KEY `idx_add_php_jview` (`add_php_jview`), - KEY `idx_add_js_document` (`add_js_document`), - KEY `idx_add_custom_button` (`add_custom_button`), - KEY `idx_add_css_document` (`add_css_document`), - KEY `idx_add_css` (`add_css`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_css` TINYINT(1) NOT NULL DEFAULT '0', - `add_css_document` TINYINT(1) NOT NULL DEFAULT '0', - `add_custom_button` INT(1) NOT NULL DEFAULT '0', - `add_js_document` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_ajax` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_document` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_jview` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_jview_display` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_view` TINYINT(1) NOT NULL DEFAULT '0', - `ajax_input` TEXT NOT NULL DEFAULT '', - `alias` VARCHAR(255) NOT NULL DEFAULT '', - `button_position` TINYINT(1) NOT NULL DEFAULT '1', - `css` TEXT NOT NULL DEFAULT '', - `css_document` TEXT NOT NULL DEFAULT '', - `custom_button` TEXT NOT NULL DEFAULT '', - `custom_get` TEXT NOT NULL DEFAULT '', - `default` TEXT NOT NULL DEFAULT '', - `description` VARCHAR(255) NOT NULL DEFAULT '', - `dynamic_get` INT(11) NOT NULL DEFAULT '0', - `js_document` TEXT NOT NULL DEFAULT '', - `main_get` INT(11) NOT NULL DEFAULT '0', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `php_ajaxmethod` MEDIUMTEXT NOT NULL DEFAULT '', - `php_controller` MEDIUMTEXT NOT NULL DEFAULT '', - `php_document` MEDIUMTEXT NOT NULL DEFAULT '', - `php_jview` MEDIUMTEXT NOT NULL DEFAULT '', - `php_jview_display` MEDIUMTEXT NOT NULL DEFAULT '', - `php_model` MEDIUMTEXT NOT NULL DEFAULT '', - `php_view` MEDIUMTEXT NOT NULL DEFAULT '', - `snippet` INT(11) NOT NULL DEFAULT '0', - `system_name` VARCHAR(255) NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_alias` (`alias`), - KEY `idx_add_php_ajax` (`add_php_ajax`), - KEY `idx_main_get` (`main_get`), - KEY `idx_dynamic_get` (`dynamic_get`), - KEY `idx_add_php_document` (`add_php_document`), - KEY `idx_add_php_view` (`add_php_view`), - KEY `idx_add_php_jview_display` (`add_php_jview_display`), - KEY `idx_add_custom_button` (`add_custom_button`), - KEY `idx_add_php_jview` (`add_php_jview`), - KEY `idx_add_js_document` (`add_js_document`), - KEY `idx_button_position` (`button_position`), - KEY `idx_add_css_document` (`add_css_document`), - KEY `idx_add_css` (`add_css`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_template` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_php_view` TINYINT(1) NOT NULL DEFAULT '0', - `alias` VARCHAR(255) NOT NULL DEFAULT '', - `description` VARCHAR(255) NOT NULL DEFAULT '', - `dynamic_get` INT(11) NOT NULL DEFAULT '0', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `php_view` MEDIUMTEXT NOT NULL DEFAULT '', - `snippet` INT(11) NOT NULL DEFAULT '0', - `template` TEXT NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_alias` (`alias`), - KEY `idx_add_php_view` (`add_php_view`), - KEY `idx_dynamic_get` (`dynamic_get`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_layout` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_php_view` TINYINT(1) NOT NULL DEFAULT '0', - `alias` VARCHAR(255) NOT NULL DEFAULT '', - `description` VARCHAR(255) NOT NULL DEFAULT '', - `dynamic_get` INT(11) NOT NULL DEFAULT '0', - `layout` TEXT NOT NULL DEFAULT '', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `php_view` MEDIUMTEXT NOT NULL DEFAULT '', - `snippet` INT(11) NOT NULL DEFAULT '0', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_alias` (`alias`), - KEY `idx_dynamic_get` (`dynamic_get`), - KEY `idx_add_php_view` (`add_php_view`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_php_after_getitem` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_after_getitems` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_before_getitem` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_before_getitems` TINYINT(1) NOT NULL DEFAULT '0', - `add_php_getlistquery` TINYINT(1) NOT NULL DEFAULT '0', - `addcalculation` CHAR NOT NULL DEFAULT '', - `db_selection` TEXT NOT NULL DEFAULT '', - `db_table_main` VARCHAR(255) NOT NULL DEFAULT '', - `filter` TEXT NOT NULL DEFAULT '', - `getcustom` VARCHAR(255) NOT NULL DEFAULT '', - `gettype` TINYINT(1) NOT NULL DEFAULT '0', - `global` TEXT NOT NULL DEFAULT '', - `join_db_table` TEXT NOT NULL DEFAULT '', - `join_view_table` TEXT NOT NULL DEFAULT '', - `main_source` TINYINT(1) NOT NULL DEFAULT '0', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `order` TEXT NOT NULL DEFAULT '', - `pagination` TINYINT(1) NOT NULL DEFAULT '1', - `php_after_getitem` MEDIUMTEXT NOT NULL DEFAULT '', - `php_after_getitems` MEDIUMTEXT NOT NULL DEFAULT '', - `php_before_getitem` MEDIUMTEXT NOT NULL DEFAULT '', - `php_before_getitems` MEDIUMTEXT NOT NULL DEFAULT '', - `php_calculation` MEDIUMTEXT NOT NULL DEFAULT '', - `php_custom_get` MEDIUMTEXT NOT NULL DEFAULT '', - `php_getlistquery` MEDIUMTEXT NOT NULL DEFAULT '', - `view_selection` TEXT NOT NULL DEFAULT '', - `view_table_main` INT(11) NOT NULL DEFAULT '0', - `where` TEXT NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_main_source` (`main_source`), - KEY `idx_gettype` (`gettype`), - KEY `idx_getcustom` (`getcustom`), - KEY `idx_pagination` (`pagination`), - KEY `idx_add_php_before_getitem` (`add_php_before_getitem`), - KEY `idx_add_php_after_getitem` (`add_php_after_getitem`), - KEY `idx_add_php_getlistquery` (`add_php_getlistquery`), - KEY `idx_add_php_before_getitems` (`add_php_before_getitems`), - KEY `idx_add_php_after_getitems` (`add_php_after_getitems`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `description` TEXT NOT NULL DEFAULT '', - `heading` VARCHAR(255) NOT NULL DEFAULT '', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `snippet` TEXT NOT NULL DEFAULT '', - `type` INT(11) NOT NULL DEFAULT '0', - `url` VARCHAR(255) NOT NULL DEFAULT '', - `usage` TEXT NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_type` (`type`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `add_css_view` TINYINT(1) NOT NULL DEFAULT '0', - `add_css_views` TINYINT(1) NOT NULL DEFAULT '0', - `add_javascript_view_footer` TINYINT(1) NOT NULL DEFAULT '0', - `add_javascript_views_footer` TINYINT(1) NOT NULL DEFAULT '0', - `catid` INT(11) NOT NULL DEFAULT '0', - `css_view` TEXT NOT NULL DEFAULT '', - `css_views` TEXT NOT NULL DEFAULT '', - `datadefault` CHAR(64) NOT NULL DEFAULT '', - `datadefault_other` CHAR(64) NOT NULL DEFAULT '', - `datalenght` CHAR(64) NOT NULL DEFAULT '', - `datalenght_other` CHAR(64) NOT NULL DEFAULT '', - `datatype` CHAR(64) NOT NULL DEFAULT '', - `indexes` CHAR(64) NOT NULL DEFAULT '', - `javascript_view_footer` TEXT NOT NULL DEFAULT '', - `javascript_views_footer` TEXT NOT NULL DEFAULT '', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `not_required` INT(1) NOT NULL DEFAULT '0', - `null_switch` CHAR(64) NOT NULL DEFAULT '', - `store` INT(11) NOT NULL DEFAULT '0', - `type` INT(11) NOT NULL DEFAULT '0', - `xml` TEXT NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_type` (`type`), - KEY `idx_datatype` (`datatype`), - KEY `idx_indexes` (`indexes`), - KEY `idx_null_switch` (`null_switch`), - KEY `idx_datalenght_other` (`datalenght_other`), - KEY `idx_datadefault` (`datadefault`), - KEY `idx_datadefault_other` (`datadefault_other`), - KEY `idx_datalenght` (`datalenght`), - KEY `idx_add_css_view` (`add_css_view`), - KEY `idx_catid` (`catid`), - KEY `idx_add_css_views` (`add_css_views`), - KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`), - KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_fieldtype` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `catid` INT(11) NOT NULL DEFAULT '0', - `description` TEXT NOT NULL DEFAULT '', - `name` VARCHAR(255) NOT NULL DEFAULT '', - `properties` TEXT NOT NULL DEFAULT '', - `short_description` VARCHAR(255) NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `access` int(11) DEFAULT NULL, - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_access` (`access`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_name` (`name`), - KEY `idx_catid` (`catid`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - -CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `asset_id` INT(255) UNSIGNED NOT NULL DEFAULT '0', - `admin_view` CHAR(255) NOT NULL DEFAULT '', - `alias` CHAR(64) NOT NULL DEFAULT '', - `article` TINYINT(1) NOT NULL DEFAULT '0', - `content` TEXT NOT NULL DEFAULT '', - `groups` TEXT NOT NULL DEFAULT '', - `location` TINYINT(1) NOT NULL DEFAULT '0', - `not_required` INT(1) NOT NULL DEFAULT '0', - `site_view` CHAR(255) NOT NULL DEFAULT '', - `target` TINYINT(1) NOT NULL DEFAULT '0', - `title` CHAR(64) NOT NULL DEFAULT '', - `type` TINYINT(1) NOT NULL DEFAULT '0', - `url` VARCHAR(255) NOT NULL DEFAULT '', - `params` TEXT NOT NULL DEFAULT '', - `published` tinyint(1) NOT NULL DEFAULT '1', - `created_by` int(11) NOT NULL DEFAULT '0', - `modified_by` int(11) NOT NULL DEFAULT '0', - `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `checked_out` int(11) NOT NULL, - `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', - `version` int(11) NOT NULL DEFAULT '1', - `hits` int(11) NOT NULL DEFAULT '0', - `ordering` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`), - KEY `idx_checkout` (`checked_out`), - KEY `idx_createdby` (`created_by`), - KEY `idx_modifiedby` (`modified_by`), - KEY `idx_state` (`published`), - KEY `idx_title` (`title`), - KEY `idx_type` (`type`), - KEY `idx_location` (`location`), - KEY `idx_target` (`target`), - KEY `idx_alias` (`alias`), - KEY `idx_article` (`article`) -) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8; - - - --- --- Dumping data for table `#__componentbuilder_component` --- - -INSERT INTO `#__componentbuilder_component` (`id`, `asset_id`, `add_license`, `license_type`, `add_css`, `add_php_helper_admin`, `add_php_helper_site`, `add_sql`, `addadmin_views`, `addconfig`, `addcontributors`, `addcustom_admin_views`, `addcustommenus`, `addfiles`, `addfolders`, `addfootable`, `adduikit`, `addsite_views`, `add_admin_event`, `add_site_event`, `add_update_server`, `add_sales_server`, `sales_server_ftp`, `update_server_ftp`, `php_admin_event`, `php_site_event`, `addreadme`, `readme`, `author`, `bom`, `companyname`, `component_version`, `update_server`, `copyright`, `creatuserhelper`, `css`, `debug_linenr`, `description`, `email`, `emptycontributors`, `image`, `license`, `name`, `system_name`, `name_code`, `not_required`, `number`, `php_helper_admin`, `php_helper_site`, `short_description`, `sql`, `sql_tweak`, `website`, `version_update`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `checked_out`, `checked_out_time`, `version`, `hits`, `access`, `ordering`) VALUES -(5, 2306, '', 1, '', '', '', '', '{\"adminview\":[\"42\",\"33\"],\"icomoon\":[\"eye-open\",\"support\"],\"mainmenu\":[\"1\",\"1\"],\"dashboard_add\":[\"1\",\"0\"],\"dashboard_list\":[\"1\",\"1\"],\"submenu\":[\"1\",\"1\"],\"checkin\":[\"1\",\"1\"],\"history\":[\"1\",\"1\"],\"metadata\":[\"1\",\"1\"],\"access\":[\"1\",\"1\"],\"port\":[\"1\",\"1\"],\"edit_create_site_view\":[\"0\",\"0\"],\"order\":[\"1\",\"2\"]}', '', '', '', '', '', '', '', '', '', '', '', 1, '', 'QAs9UMgC0ap1YAWfWGQVMLPm0keB6Gz1uO5nU3xwp2NHsX/Dk56f8jCThXxv98+2atniklsnzWSJRPkGMXvSAC1u/750hBXBSDu5htFUOfo362m4UFVA/wk6XlyfXGR8PzsMeZ9P302YtoR1OQ5PePLdfQGIRGI2SZIhnRwp2bMy4H2fsO4qYvsTEoB03pPf', '38EC+yHZUqKtJT28uhk0+VpZ21yNC1Xu7uY93tK0znD1FyjXiYB/yUpJc343W1MV8YeumOxy+WL2fH+t4N1kf9bGRhNepmYPil1oxvMULux7m4z8AQeTL0gJ5ukIs06HN7MkCo1ZycXdBhS3rDEpZu16xr3bv8kooaT6uYIQam/vLGIb0+mfeUYXTHNhqwbl', '', '', 1, 'IyAjIyNDb21wb25lbnRfbmFtZSMjIyAoIyMjVkVSU0lPTiMjIykNCg0KIVsjIyNDb21wb25lbnRfbmFtZSMjIyBpbWFnZV0gKGh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9uYW1pYmlhL2RlbW8tam9vbWxhLTMtY29tcG9uZW50L21hc3Rlci9hZG1pbi9hc3NldHMvaW1hZ2VzL2NvbXBvbmVudC0zMDAuanBnICJUaGUgIyMjQ29tcG9uZW50X25hbWUjIyMiKQ0KDQojIyNERVNDUklQVElPTiMjIw0KDQojIEJ1aWxkIERldGFpbHMNCg0KKyAqQ29tcGFueSo6IFsjIyNDT01QQU5ZTkFNRSMjI10gKCMjI0FVVEhPUldFQlNJVEUjIyMpDQorICpBdXRob3IqOiBbIyMjQVVUSE9SIyMjXSAobWFpbHRvOiMjI0FVVEhPUkVNQUlMIyMjKQ0KKyAqTmFtZSo6IFsjIyNDb21wb25lbnRfbmFtZSMjI10gKCMjI0FVVEhPUldFQlNJVEUjIyMpDQorICpGaXJzdCBCdWlsZCo6ICMjI0NSRUFUSU9OREFURSMjIw0KKyAqTGFzdCBCdWlsZCo6ICMjI0JVSUxEREFURSMjIw0KKyAqVmVyc2lvbio6ICMjI1ZFUlNJT04jIyMNCisgKkNvcHlyaWdodCo6ICMjI0NPUFlSSUdIVCMjIw0KKyAqTGljZW5zZSo6ICMjI0xJQ0VOU0UjIyMNCg0KIyMgQnVpbGQgVGltZQ0KDQoqKiMjI3RvdGFsSG91cnMjIyMgSG91cnMqKiBvciAqKiMjI3RvdGFsRGF5cyMjIyBFaWdodCBIb3VyIERheXMqKiAoYWN0dWFsIHRpbWUgdGhlIGF1dGhvciBzYXZlZCAtDQpkdWUgdG8gW0F1dG9tYXRlZCBDb21wb25lbnQgQnVpbGRlcl0gKGh0dHBzOi8vd3d3LnZkbS5pby9qb29tbGEtY29tcG9uZW50LWJ1aWxkZXIpKQ0KDQo+IChpZiBjcmVhdGluZyBhIGZvbGRlciBhbmQgZmlsZSB0b29rICoqNSBzZWNvbmRzKiogYW5kIHdyaXRpbmcgb25lIGxpbmUgb2YgY29kZSB0b29rICoqMTAgc2Vjb25kcyoqLA0KPiBuZXZlciBtYWtpbmcgb25lIG1pc3Rha2Ugb3IgdGFraW5nIGFueSBjb2ZmZWUgYnJlYWsuKQ0KDQorICpMaW5lIGNvdW50KjogKiojIyNMSU5FX0NPVU5UIyMjKioNCisgKkZpbGUgY291bnQqOiAqKiMjI0ZJTEVfQ09VTlQjIyMqKg0KKyAqRm9sZGVyIGNvdW50KjogKiojIyNGT0xERVJfQ09VTlQjIyMqKg0KDQoqKiMjI2FjdHVhbEhvdXJzU3BlbnQjIyMgSG91cnMqKiBvciAqKiMjI2FjdHVhbERheXNTcGVudCMjIyBFaWdodCBIb3VyIERheXMqKiAodGhlIGFjdHVhbCB0aW1lIHRoZSBhdXRob3Igc3BlbnQpDQoNCj4gKHdpdGggdGhlIGZvbGxvd2luZyBicmVhayBkb3duOg0KPiAqKmRlYnVnZ2luZyBAIyMjZGVidWdnaW5nSG91cnMjIyNob3VycyoqID0gY29kaW5ndGltZSAvIDQ7DQo+ICoqcGxhbm5pbmcgQCMjI3BsYW5uaW5nSG91cnMjIyNob3VycyoqID0gY29kaW5ndGltZSAvIDc7DQo+ICoqbWFwcGluZyBAIyMjbWFwcGluZ0hvdXJzIyMjaG91cnMqKiA9IGNvZGluZ3RpbWUgLyAxMDsNCj4gKipvZmZpY2UgQCMjI29mZmljZUhvdXJzIyMjaG91cnMqKiA9IGNvZGluZ3RpbWUgLyA2OykNCg0KKiojIyNhY3R1YWxUb3RhbEhvdXJzIyMjIEhvdXJzKiogb3IgKiojIyNhY3R1YWxUb3RhbERheXMjIyMgRWlnaHQgSG91ciBEYXlzKioNCihhIHRvdGFsIG9mIHRoZSByZWFsaXN0aWMgdGltZSBmcmFtZSBmb3IgdGhpcyBwcm9qZWN0KQ0KDQo+IChpZiBjcmVhdGluZyBhIGZvbGRlciBhbmQgZmlsZSB0b29rICoqNSBzZWNvbmRzKiogYW5kIHdyaXRpbmcgb25lIGxpbmUgb2YgY29kZSB0b29rICoqMTAgc2Vjb25kcyoqLA0KPiB3aXRoIHRoZSBub3JtYWwgZXZlcnlkYXkgcmVhbGl0aWVzIGF0IHRoZSBvZmZpY2UsIHRoYXQgaW5jbHVkZXMgdGhlIGNvbXBvbmVudCBwbGFubmluZywgbWFwcGluZyAmIGRlYnVnZ2luZy4pDQoNClByb2plY3QgZHVyYXRpb246ICoqIyMjcHJvamVjdFdlZWtUaW1lIyMjIHdlZWtzKiogb3IgKiojIyNwcm9qZWN0TW9udGhUaW1lIyMjIG1vbnRocyoqDQoNCj4gVGhpcyAqKmNvbXBvbmVudCoqIHdhcyBidWlsZCB3aXRoIGEgSm9vbWxhIFtBdXRvbWF0ZWQgQ29tcG9uZW50IEJ1aWxkZXJdIChodHRwczovL3d3dy52ZG0uaW8vam9vbWxhLWNvbXBvbmVudC1idWlsZGVyKS4NCj4gRGV2ZWxvcGVkIGJ5IFtMbGV3ZWxseW4gdmFuIGRlciBNZXJ3ZV0gKG1haWx0bzpqb29tbGFAdmRtLmlvKQ==', 'Llewellyn van der Merwe', 'default.txt', 'Vast Development Method', '1.0.5', 'https://www.vdm.io/updates/demo_update_server.xml', 'Copyright (C) 2015. All Rights Reserved', '', '', '', 'Just a basic demo of the most basic implementations of the [Joomla] (http://www.joomla.org) Component Builder\'s ability.', 'info@vdm.io', '', 'images/demo300.jpg', 'GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html', 'Demo', 'Demo', 'demo', '', 4, '', '', 'Demo Component', '', '', 'https://www.vdm.io/', '{\"version\":[\"1.0.0\",\"1.0.1\",\"1.0.2\",\"1.0.3\",\"1.0.4\",\"1.0.5\"],\"mysql\":[\"\",\"\",\"\",\"\",\"\",\"\"],\"url\":[\"https://github.com/namibia/demo-joomla-3-component/archive/v1.0.3.zip\",\"https://github.com/namibia/demo-joomla-3-component/archive/v1.0.3.zip\",\"https://github.com/namibia/demo-joomla-3-component/archive/v1.0.3.zip\",\"https://github.com/namibia/demo-joomla-3-component/archive/v1.0.3.zip\",\"https://github.com/namibia/demo-joomla-3-component/archive/v1.0.4.zip\",\"https://github.com/namibia/demo-joomla-3-component/archive/v1.0.5.zip\"]}', '', 1, 845, 450, '2015-08-05 00:40:06', '2016-01-10 16:31:05', '', '0000-00-00 00:00:00', 15, '', 1, 3), -(8, 6070, '', 1, '', 1, 1, '', '{\"adminview\":[\"54\",\"55\",\"53\",\"56\",\"33\"],\"icomoon\":[\"user\",\"book\",\"folder-open\",\"bars\",\"support\"],\"mainmenu\":[\"1\",\"1\",\"1\",\"0\",\"0\"],\"dashboard_add\":[\"1\",\"1\",\"1\",\"0\",\"0\"],\"dashboard_list\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"submenu\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"checkin\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"history\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"metadata\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"access\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"port\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"edit_create_site_view\":[\"0\",\"0\",\"0\",\"0\",\"0\"],\"order\":[\"1\",\"2\",\"3\",\"4\",\"0\"]}', '{\"field\":[\"810\",\"836\",\"961\",\"257\",\"821\",\"955\",\"959\",\"957\",\"809\",\"818\",\"819\",\"820\",\"257\",\"822\",\"956\",\"960\",\"958\",\"808\",\"815\",\"816\",\"817\",\"257\",\"840\",\"839\",\"838\",\"841\",\"806\",\"828\",\"257\",\"860\",\"931\",\"861\",\"880\",\"257\",\"851\",\"856\",\"857\",\"855\",\"853\",\"854\",\"852\",\"858\",\"859\",\"920\",\"918\",\"862\",\"915\",\"867\",\"866\",\"864\",\"865\",\"863\",\"870\",\"869\",\"257\",\"871\",\"876\",\"877\",\"875\",\"873\",\"878\",\"879\",\"874\",\"872\",\"900\",\"901\",\"923\",\"928\",\"929\",\"927\",\"925\",\"926\",\"924\",\"953\",\"952\",\"933\",\"951\",\"938\",\"937\",\"935\",\"936\",\"934\",\"257\",\"939\",\"944\",\"945\",\"943\",\"941\",\"946\",\"954\",\"942\",\"940\",\"948\",\"949\",\"842\",\"847\",\"848\",\"846\",\"844\",\"845\",\"843\",\"921\",\"919\",\"881\",\"916\",\"886\",\"885\",\"883\",\"884\",\"882\",\"257\",\"887\",\"892\",\"893\",\"891\",\"889\",\"894\",\"895\",\"890\",\"888\",\"899\",\"902\",\"917\",\"903\",\"914\",\"908\",\"907\",\"905\",\"909\",\"912\",\"912\",\"910\",\"906\",\"904\",\"911\"],\"custom_value\":[\"\",\"0\",\"\",\"\",\"\",\"1\",\"\",\"60\",\"\",\"\",\"\",\"\",\"\",\"\",\"1\",\"\",\"60\",\"\",\"\",\"\",\"\",\"\",\"1\",\"1\",\"1\",\"1\",\"\",\")$KCGiB3BEfDf6kzEWrFnHex5uTJxlQG\",\"\",\"\",\"\",\"\",\"\",\"\",\"2\",\"2\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"\",\"\",\"3\",\"1\",\"3\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"\",\"2\",\"2\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"0\",\"1\",\"1\",\"1\",\"1\",\"\",\"\",\"3\",\"1\",\"3\",\"1\",\"1\",\"1\",\"1\",\"\",\"2\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"0\",\"1\",\"1\",\"1\",\"1\",\"\",\"\",\"3\",\"1\",\"3\",\"1\",\"1\",\"1\",\"1\",\"\",\"2\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"\",\"1\",\"\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"tabname\":[\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Dropbox\",\"Global\",\"Global\",\"Global\",\"Global\",\"Global\",\"Global\",\"Global\",\"Global\",\"Preachers\",\"Preachers\",\"Preachers\",\"Preachers\",\"Preachers\",\"Preachers\",\"Preachers\",\"Preachers\",\"Preachers\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Preacher\",\"Categories\",\"Categories\",\"Categories\",\"Categories\",\"Categories\",\"Categories\",\"Categories\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Category\",\"Series List\",\"Series List\",\"Series List\",\"Series List\",\"Series List\",\"Series List\",\"Series List\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Series\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\",\"Sermon\"]}', '', '', '', '{\"file\":[\"dropbox.php\",\"dropboxupdater.php\",\"downloadController_sermonDistributor.php\"],\"path\":[\"/site/helpers\",\"/site/helpers\",\"/site/controllers/download.php\"],\"notnew\":[\"0\",\"1\",\"1\"]}', '{\"folder\":[\"soundmanager\"],\"path\":[\"/media/\"],\"rename\":[\"0\"]}', 1, 1, '{\"siteview\":[\"12\",\"13\",\"16\",\"17\",\"11\",\"14\",\"15\"],\"menu\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\"],\"metadata\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"default_view\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"access\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"]}', 1, 1, 1, '', 'MiddGSjUsio1rbszxaLBxtYkvzA+a35hAJHYEL2H6Y+j31S3DpNdHfLnLE7ySHofhVArZtgy+sKpxCUgB346qW4BAc55KJGwLSDVgVxgvuypNfqg7a0CCsts+sYOQq1ozyeeOKMXZ6WRxTc59A4hU7RoimAsyGCsEjmy2Ul+8VpgqRUMZTZy1i4PPTqAESpk', 'dDWoCdXPZclG5utF56zWIAipXsT6Q3ho+/eF5COPsjA5QuMZBwlztgfcoRlBgzmq0S0/Sr4gJq1IeYoGnEdlEcxxxJpx2epRkucFwb1pd4cTJWYOaYJvJfrm0BK6Uo5W5BrGfrWLYaaCHxau/DZIEFJlwYSJMg+L7+hNhkv4SYMI55hiW9St266WeKTuI1Gm', 'CQlzZWxmOjpsb2FkRHJvcGJveEFqYXgoJGRvY3VtZW50KTs=', 'CQlzZWxmOjpsb2FkRHJvcGJveEFqYXgoJGRvY3VtZW50KTs=', 1, 'IyAjIyNDb21wb25lbnRfbmFtZSMjIyAoIyMjVkVSU0lPTiMjIykNCg0KICFbIyMjQ29tcG9uZW50X25hbWUjIyMgaW1hZ2VdIChodHRwczovL3Jhdy5naXRodWJ1c2VyY29udGVudC5jb20vU2VybW9uRGlzdHJpYnV0b3IvSm9vbWxhLTMtQ29tcG9uZW50L21hc3Rlci9hZG1pbi9hc3NldHMvaW1hZ2VzL2NvbXBvbmVudC0zMDAuanBnICJUaGUgIyMjQ29tcG9uZW50X25hbWUjIyMiKQ0KDQojIyNERVNDUklQVElPTiMjIw0KDQpUaGUgYmVzdCB3YXkgdG8gc2VlIGFsbCB5b3VyIG9wdGlvbnMgaXMgdG8gaW5zdGFsbCB0aGlzIGNvbXBvbmVudCBvbiB5b3UgSm9vbWxhIHdlYnNpdGUgYW5kIHRlc3QgYWxsIGZlYXR1cmVzIHlvdXJzZWxmLiBIZXJlIGlzIGEgW2RpcmVjdCBkb3dubG9hZCBsaW5rXSAoaHR0cHM6Ly9naXRodWIuY29tL1Nlcm1vbkRpc3RyaWJ1dG9yL0pvb21sYS0zLUNvbXBvbmVudC9hcmNoaXZlL21hc3Rlci56aXApDQoNCiAqKklmIHlvdSBsaWtlIG91ciBjb21wb25lbnQgcGxlYXNlIHJhdGUgaXQgb24gdGhlIFtKb29tbGEgSW5kZXhdIChodHRwOi8vZXh0ZW5zaW9ucy5qb29tbGEub3JnL2V4dGVuc2lvbnMvZXh0ZW5zaW9uL2xpdmluZy9yZWxpZ2lvbi9zZXJtb24tZGlzdHJpYnV0b3IpKioNCg0KIyMjIEV4YW1wbGUgV2Vic2l0ZSwgVGhhdCBIYXMgT3ZlciA2MDAwIEF1ZGlvIEZpbGVzDQoNCltMb3VkVm9pY2Uub3JnXSAoaHR0cDovL3d3dy5sb3Vkdm9pY2Uub3JnKQ0KDQojIyMgU29tZSBWaWRlbyBEZW1vbnN0cmF0aW9ucw0KDQorIFtTZXR1cCBvdmVydmlld10gKGh0dHBzOi8veW91dHUuYmUveU1QcDFDcDNXXzA/dD0yMG04cykNCisgW1NldHVwIERyb3Bib3hdIChodHRwczovL3lvdXR1LmJlL2J0cEtGRGswLWRJKQ0KDQojIEJ1aWxkIERldGFpbHMNCg0KKyAqQ29tcGFueSo6IFsjIyNDT01QQU5ZTkFNRSMjI10gKCMjI0FVVEhPUldFQlNJVEUjIyMpDQorICpBdXRob3IqOiBbIyMjQVVUSE9SIyMjXSAobWFpbHRvOiMjI0FVVEhPUkVNQUlMIyMjKQ0KKyAqTmFtZSo6IFsjIyNDb21wb25lbnRfbmFtZSMjI10gKCMjI0FVVEhPUldFQlNJVEUjIyMpDQorICpGaXJzdCBCdWlsZCo6ICMjI0NSRUFUSU9OREFURSMjIw0KKyAqTGFzdCBCdWlsZCo6ICMjI0JVSUxEREFURSMjIw0KKyAqVmVyc2lvbio6ICMjI1ZFUlNJT04jIyMNCisgKkNvcHlyaWdodCo6ICMjI0NPUFlSSUdIVCMjIw0KKyAqTGljZW5zZSo6ICMjI0xJQ0VOU0UjIyMNCg0KIyMgQnVpbGQgVGltZSA6aG91cmdsYXNzOg0KDQoqKiMjI3RvdGFsSG91cnMjIyMgSG91cnMqKiBvciAqKiMjI3RvdGFsRGF5cyMjIyBFaWdodCBIb3VyIERheXMqKiAoYWN0dWFsIHRpbWUgdGhlIGF1dGhvciBzYXZlZCAtDQpkdWUgdG8gW0F1dG9tYXRlZCBDb21wb25lbnQgQnVpbGRlcl0gKGh0dHBzOi8vd3d3LnZkbS5pby9qb29tbGEtY29tcG9uZW50LWJ1aWxkZXIpKQ0KDQo+IChpZiBjcmVhdGluZyBhIGZvbGRlciBhbmQgZmlsZSB0b29rICoqNSBzZWNvbmRzKiogYW5kIHdyaXRpbmcgb25lIGxpbmUgb2YgY29kZSB0b29rICoqMTAgc2Vjb25kcyoqLA0KPiBuZXZlciBtYWtpbmcgb25lIG1pc3Rha2Ugb3IgdGFraW5nIGFueSBjb2ZmZWUgYnJlYWsuKQ0KDQorICpMaW5lIGNvdW50KjogKiojIyNMSU5FX0NPVU5UIyMjKioNCisgKkZpbGUgY291bnQqOiAqKiMjI0ZJTEVfQ09VTlQjIyMqKg0KKyAqRm9sZGVyIGNvdW50KjogKiojIyNGT0xERVJfQ09VTlQjIyMqKg0KDQoqKiMjI2FjdHVhbEhvdXJzU3BlbnQjIyMgSG91cnMqKiBvciAqKiMjI2FjdHVhbERheXNTcGVudCMjIyBFaWdodCBIb3VyIERheXMqKiAodGhlIGFjdHVhbCB0aW1lIHRoZSBhdXRob3Igc3BlbnQpDQoNCj4gKHdpdGggdGhlIGZvbGxvd2luZyBicmVhayBkb3duOg0KPiAqKmRlYnVnZ2luZyBAIyMjZGVidWdnaW5nSG91cnMjIyNob3VycyoqID0gY29kaW5ndGltZSAvIDQ7DQo+ICoqcGxhbm5pbmcgQCMjI3BsYW5uaW5nSG91cnMjIyNob3VycyoqID0gY29kaW5ndGltZSAvIDc7DQo+ICoqbWFwcGluZyBAIyMjbWFwcGluZ0hvdXJzIyMjaG91cnMqKiA9IGNvZGluZ3RpbWUgLyAxMDsNCj4gKipvZmZpY2UgQCMjI29mZmljZUhvdXJzIyMjaG91cnMqKiA9IGNvZGluZ3RpbWUgLyA2OykNCg0KKiojIyNhY3R1YWxUb3RhbEhvdXJzIyMjIEhvdXJzKiogb3IgKiojIyNhY3R1YWxUb3RhbERheXMjIyMgRWlnaHQgSG91ciBEYXlzKioNCihhIHRvdGFsIG9mIHRoZSByZWFsaXN0aWMgdGltZSBmcmFtZSBmb3IgdGhpcyBwcm9qZWN0KQ0KDQo+IChpZiBjcmVhdGluZyBhIGZvbGRlciBhbmQgZmlsZSB0b29rICoqNSBzZWNvbmRzKiogYW5kIHdyaXRpbmcgb25lIGxpbmUgb2YgY29kZSB0b29rICoqMTAgc2Vjb25kcyoqLA0KPiB3aXRoIHRoZSBub3JtYWwgZXZlcnlkYXkgcmVhbGl0aWVzIGF0IHRoZSBvZmZpY2UsIHRoYXQgaW5jbHVkZXMgdGhlIGNvbXBvbmVudCBwbGFubmluZywgbWFwcGluZyAmIGRlYnVnZ2luZy4pDQoNClByb2plY3QgZHVyYXRpb246ICoqIyMjcHJvamVjdFdlZWtUaW1lIyMjIHdlZWtzKiogb3IgKiojIyNwcm9qZWN0TW9udGhUaW1lIyMjIG1vbnRocyoqDQoNCj4gVGhpcyAqKmNvbXBvbmVudCoqIHdhcyBidWlsZCB3aXRoIGEgSm9vbWxhIFtBdXRvbWF0ZWQgQ29tcG9uZW50IEJ1aWxkZXJdIChodHRwczovL3d3dy52ZG0uaW8vam9vbWxhLWNvbXBvbmVudC1idWlsZGVyKS4NCj4gRGV2ZWxvcGVkIGJ5IFtMbGV3ZWxseW4gdmFuIGRlciBNZXJ3ZV0gKG1haWx0bzpqb29tbGFAdmRtLmlvKQ==', 'Llewellyn van der Merwe', 'vdm.txt', 'Vast Development Method', '1.3.0', 'https://www.vdm.io/updates/sermondistributor_update_server.xml', 'Copyright (C) 2015. All Rights Reserved', '', '', 1, 'Distributor is a highly advanced sermon distributor that runs on the [Joomla 3.x] (http://www.joomla.org) framework. You can link a shared folder from Dropbox to the component and use Dropbox as your file host, not to mention the advanced auto builder that gives you the ability to simply load sermons to your website by only adding them to Dropbox.', 'llewellyn@vdm.io', 1, 'images/sermon-distro.jpg', 'GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html', 'Sermon Distributor', 'SermonDistributor', 'sermondistributor', '', 4, 'CS8qKg0KCSogCUxvYWQgdGhlIERyb3Bib3ggQWpheCB0byBwYWdlDQoJKiovDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBsb2FkRHJvcGJveEFqYXgoJGRvY3VtZW50KQ0KCXsNCgkJJGRvY3VtZW50LT5hZGRTY3JpcHREZWNsYXJhdGlvbigiDQoJCQlqUXVlcnkod2luZG93KS5sb2FkKGZ1bmN0aW9uKCkgew0KCQkJCWNoZWNrRHJvcGJveExpc3RpbmcoMyk7DQoJCQl9KTsNCgkJCQ0KCQkJZnVuY3Rpb24gY2hlY2tEcm9wYm94TGlzdGluZyh2aWV3KXsNCgkJCQl2YXIgZ2V0VXJsID0gJyIuSlJvdXRlOjpfKCdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LmNoZWNrRHJvcGJveExpc3RpbmcmZm9ybWF0PWpzb24nKS4iJzsNCgkJCQlpZih2aWV3ID4gMCl7DQoJCQkJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPSIuSlNlc3Npb246OmdldEZvcm1Ub2tlbigpLiImdmlldz0nK3ZpZXc7DQoJCQkJfQ0KCQkJCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCQkJCXR5cGU6ICdHRVQnLA0KCQkJCQl1cmw6IGdldFVybCwNCgkJCQkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCQkJCWRhdGE6IHJlcXVlc3QsDQoJCQkJCWpzb25wOiAnY2FsbGJhY2snDQoJCQkJfSk7DQoJCQl9DQoJCSIpOw0KCX0NCg0KCS8qKg0KCSogCVRoZSBkcm9wYm94IGxpbmtzIGF1dG8NCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRsaW5rc19kcm9wYm94X2F1dG87DQoJDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggbGlua3MgbWFudWFsDQoJKiovDQoJcHJvdGVjdGVkIHN0YXRpYyAkbGlua3NfZHJvcGJveF9tYW51YWw7DQoNCgkvKioNCgkqIAlUaGUgZHJvcGJveCBpbmZvIEZpbGUgTmFtZQ0KCSoqLw0KCXByb3RlY3RlZCBzdGF0aWMgJGF1dG9wcm9ncmVzcyA9IGZhbHNlOw0KDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggaW5mbyBGaWxlIE5hbWUNCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRtYW51YWxwcm9ncmVzcyA9IGZhbHNlOw0KDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggaW5mbyBGaWxlIE5hbWUNCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRhdXRvbGlzdGluZyA9IGZhbHNlOw0KDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggaW5mbyBGaWxlIE5hbWUNCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRtYW51YWxsaXN0aW5nID0gZmFsc2U7DQoNCgkvKioNCgkqIAljaGVjayBEcm9wYm94IExvY2FsIExpc3RpbmcNCgkqKi8NCglwdWJsaWMgc3RhdGljIGZ1bmN0aW9uIGdldERvd25sb2FkTGlua3MoJiRzZXJtb24pDQoJew0KCQkkbGlua3MgPSBhcnJheSgpOw0KCQkvLyBHZXQgbG9jYWwga2V5DQoJCSRsb2NhbGtleSA9IHNlbGY6OmdldExvY2FsS2V5KCk7DQoJCS8vIGRlY3J5cHQgdGhlIHVybHMNCgkJJHNhZmUgPSBuZXcgRk9GRW5jcnlwdEFlcygkbG9jYWxrZXksIDI1Nik7DQoJCS8vIGludGVybmFsIGRvd25sb2FkIHVybA0KCQkka2V5Q291bnRlciA9IG5ldyBzdGRDbGFzczsNCgkJJGtleUNvdW50ZXItPnNlcm1vbiA9ICRzZXJtb24tPmlkOw0KCQlpZiAoJHNlcm1vbi0+cHJlYWNoZXIpDQoJCXsNCgkJCSRrZXlDb3VudGVyLT5wcmVhY2hlciA9ICRzZXJtb24tPnByZWFjaGVyOw0KCQl9DQoJCWlmICgkc2VybW9uLT5zZXJpZXMpDQoJCXsNCgkJCSRrZXlDb3VudGVyLT5zZXJpZXMgPSAkc2VybW9uLT5zZXJpZXM7DQoJCX0NCgkJJGtleUNvdW50ZXIgPSBiYXNlNjRfZW5jb2RlKCRzYWZlLT5lbmNyeXB0U3RyaW5nKGpzb25fZW5jb2RlKCRrZXlDb3VudGVyKSkpOw0KCQkkdG9rZW4gPSBKU2Vzc2lvbjo6Z2V0Rm9ybVRva2VuKCk7DQoJCSRkb3dubG9hZFVSTCA9ICdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1kb3dubG9hZC5maWxlJmtleT0nLiRrZXlDb3VudGVyLicmdG9rZW49Jy4kdG9rZW47DQoJCS8vIGNoZWNrIGlmIGxvY2FsIC5odGFjY2VzcyBzaG91bGQgYmUgc2V0DQoJCSRzZXRIdGFjY2VzcyA9IGZhbHNlOw0KCQkkb25jbGljayA9ICcgb25jbGljaz0ic2VybW9uQ291bnRlcihcJycuJGtleUNvdW50ZXIuJ1wnLFwnRklMRU5BTUVcJyk7Iic7DQoJCS8vIGNoZWNrIHdoYXQgc291cmNlIG9mIG91ciBsaW5rDQoJCXN3aXRjaCAoJHNlcm1vbi0+c291cmNlKQ0KCQl7DQoJCQljYXNlIDE6DQoJCQkJLy8gbG9jYWwgZmlsZSBnZXQgbG9jYWwgZm9sZGVyIGFuZCBjaGVjayBpZiBvdXRzaWRlIHJvb3QgKGlmIG5vdCB0aGVuIGFsbG93IGRpcmVjdCkNCgkJCQkkbG9jYWxGb2xkZXIgPSBKQ29tcG9uZW50SGVscGVyOjpnZXRQYXJhbXMoJ2NvbV9bW1tjb21wb25lbnRdXV0nKS0+Z2V0KCdsb2NhbGZvbGRlcicsIEpQQVRIX1JPT1QuJy9pbWFnZXMnKS4nLyc7DQoJCQkJLy8gc2hvdWxkIHdlIGFsbG93IGRpcmVjdCBkb3dubG9hZHMNCgkJCQkkYWxsb3dEaXJlY3QgPSBmYWxzZTsNCgkJCQlpZiAoMiA9PSAkc2VybW9uLT5saW5rX3R5cGUgJiYgc3RycG9zKCRsb2NhbEZvbGRlciwgSlBBVEhfUk9PVCkgIT09IGZhbHNlKQ0KCQkJCXsNCgkJCQkJJGFsbG93RGlyZWN0ID0gdHJ1ZTsNCgkJCQkJJGxvY2FsRm9sZGVyVVJMID0gSlVSSTo6cm9vdCgpLnN0cl9yZXBsYWNlKEpQQVRIX1JPT1QsICcnLCAkbG9jYWxGb2xkZXIpOw0KCQkJCQkvLyBpbnN1cmUgbm8gZG91YmxlIC8vIGlzIGluIHRoZSBVUkwNCgkJCQkJJGxvY2FsRm9sZGVyVVJMID0gc3RyX3JlcGxhY2UoJy8vJywgJy8nLCAkbG9jYWxGb2xkZXJVUkwpOw0KCQkJCQkkbG9jYWxGb2xkZXJVUkwgPSBzdHJfcmVwbGFjZSgnOi8nLCAnOi8vJywgJGxvY2FsRm9sZGVyVVJMKTsNCgkJCQl9DQoJCQkJLy8gaW5zdXJlIG5vIGRvdWJsZSAvLyBpcyBpbiB0aGUgcGF0aCBuYW1lDQoJCQkJJGxvY2FsRm9sZGVyID0gc3RyX3JlcGxhY2UoJy8vJywgJy8nLCAkbG9jYWxGb2xkZXIpOw0KCQkJCSRsb2NhbEZvbGRlciA9IHN0cl9yZXBsYWNlKCc6LycsICc6Ly8nLCAkbG9jYWxGb2xkZXIpOw0KCQkJCWlmIChzZWxmOjpjaGVja0FycmF5KCRzZXJtb24tPmxvY2FsX2ZpbGVzKSkNCgkJCQl7DQoJCQkJCWZvcmVhY2goJHNlcm1vbi0+bG9jYWxfZmlsZXMgYXMgJGtleSkNCgkJCQkJew0KCQkJCQkJaWYgKDEgPT0gJHNlcm1vbi0+bGlua190eXBlIHx8ICEkYWxsb3dEaXJlY3QpDQoJCQkJCQl7DQoJCQkJCQkJLy8gZ2V0IHRoZSBmaWxlIG5hbWUgdXNlIHRoZSBzYW1lIG1ldGhvZCBhcyB0aGUgYXV0bw0KCQkJCQkJCSRmaWxlbmFtZSA9IHNlbGY6OmdldERvd25sb2FkRmlsZU5hbWUoJHNlcm1vbiwka2V5LCdsb2NhbCcpOw0KCQkJCQkJCSRsb2NrZWRGb2xkZXJQYXRoID0gYmFzZTY0X2VuY29kZSgkc2FmZS0+ZW5jcnlwdFN0cmluZygkbG9jYWxGb2xkZXIuJGtleSkpOw0KCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRsb2NrZWRGb2xkZXJQYXRoLicmZmlsZW5hbWU9Jy4kZmlsZW5hbWUpOw0KCQkJCQkJCSRzZXJtb24tPm9uY2xpY2tbJGZpbGVuYW1lXSA9ICcnOw0KCQkJCQkJfQ0KCQkJCQkJZWxzZWlmICgyID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkYWxsb3dEaXJlY3QpDQoJCQkJCQl7DQoJCQkJCQkJJGZpbGVuYW1lID0gJGtleTsNCgkJCQkJCQkkc2VybW9uLT5kb3dubG9hZF9saW5rc1skZmlsZW5hbWVdID0gJGxvY2FsRm9sZGVyVVJMLiRrZXk7DQoJCQkJCQkJJHNlcm1vbi0+b25jbGlja1skZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJCQkJJHNldEh0YWNjZXNzID0gdHJ1ZTsNCgkJCQkJCX0NCgkJCQkJfQ0KCQkJCX0NCgkJCQlicmVhazsNCgkJCWNhc2UgMjoNCgkJCQkvLyBEcm9wYm94IGdldCBnbG9iYWwgZHJvcGJveCBzd2l0Y2ggDQoJCQkJJGRyb3Bib3hCdXR0b24gPSBKQ29tcG9uZW50SGVscGVyOjpnZXRQYXJhbXMoJ2NvbV9bW1tjb21wb25lbnRdXV0nKS0+Z2V0KCdhZGRfdG9fZHJvcGJveCcsIDEpOw0KCQkJCWlmICgxID09ICRzZXJtb24tPmJ1aWxkKQ0KCQkJCXsNCgkJCQkJaWYgKHNlbGY6OmNoZWNrQXJyYXkoJHNlcm1vbi0+bWFudWFsX2ZpbGVzKSkNCgkJCQkJew0KCQkJCQkJLy8gbWFudWFsIGRyb3Bib3gNCgkJCQkJCWZvcmVhY2goJHNlcm1vbi0+bWFudWFsX2ZpbGVzIGFzICRrZXkpDQoJCQkJCQl7DQoJCQkJCQkJLy8gZ2V0IHRoZSBsaW5rDQoJCQkJCQkJJGRyb3BVUkwgPSBzZWxmOjpnZXREcm9wYm94TGluaygnbWFudWFsJywxLCRrZXkpOw0KCQkJCQkJCWlmICgxID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCS8vIGdldCB0aGUgZmlsZSBuYW1lIHVzZSB0aGUgc2FtZSBtZXRob2QgYXMgdGhlIGF1dG8NCgkJCQkJCQkJJGZpbGVuYW1lID0gc2VsZjo6Z2V0RG93bmxvYWRGaWxlTmFtZSgkc2VybW9uLCRrZXksJ2Ryb3Bib3hfbWFudWFsJyk7DQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRkcm9wVVJMLicmZmlsZW5hbWU9Jy4kZmlsZW5hbWUpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSAnJzsNCgkJCQkJCQl9DQoJCQkJCQkJZWxzZWlmICgyID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCSRmaWxlbmFtZSA9IHN0cl9yZXBsYWNlKCdWRE1fcExlS19oMHVFci8nLCAnJywgJGtleSk7DQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBydHJpbSgkc2FmZS0+ZGVjcnlwdFN0cmluZyhiYXNlNjRfZGVjb2RlKCRkcm9wVVJMKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSBzdHJfcmVwbGFjZSgnRklMRU5BTUUnLCAkZmlsZW5hbWUsICRvbmNsaWNrKTsNCgkJCQkJCQl9DQoJCQkJCQkJLy8gYnVpbGQgZHJvcGJveCBzd2l0Y2ggaWYgbmVlZGVkDQoJCQkJCQkJaWYgKDEgPT0gJGRyb3Bib3hCdXR0b24gJiYgJGRyb3BVUkwpDQoJCQkJCQkJew0KCQkJCQkJCQkkc2VybW9uLT5kcm9wYm94X2J1dHRvbnNbJGZpbGVuYW1lXSA9IHN0cl9yZXBsYWNlKCc/ZGw9MScsICc/ZGw9MCcsIHJ0cmltKCRzYWZlLT5kZWNyeXB0U3RyaW5nKGJhc2U2NF9kZWNvZGUoJGRyb3BVUkwpKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrX2Ryb2JveFskZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJCQkJfQ0KCQkJCQkJfQ0KCQkJCQl9DQoJCQkJfQ0KCQkJCWVsc2VpZiAoMiA9PSAkc2VybW9uLT5idWlsZCkNCgkJCQl7DQoJCQkJCWlmIChzZWxmOjpjaGVja0FycmF5KCRzZXJtb24tPmF1dG9fc2VybW9ucykpDQoJCQkJCXsNCgkJCQkJCS8vIGF1dG9tYXRpYyBkcm9wYm94DQoJCQkJCQlmb3JlYWNoKCRzZXJtb24tPmF1dG9fc2VybW9ucyBhcyAkZmlsZW5hbWUgPT4gJGtleSkNCgkJCQkJCXsNCgkJCQkJCQkvLyBnZXQgdGhlIGxpbmsNCgkJCQkJCQkkZHJvcFVSTCA9IHNlbGY6OmdldERyb3Bib3hMaW5rKCdhdXRvJywxLCRrZXkpOw0KCQkJCQkJCWlmICgxID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCS8vIGdldCB0aGUgZmlsZSBuYW1lICh1c2UgdGhlIHNhbWUgbWV0aG9kIGFzIHRoZSBhdXRvDQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRkcm9wVVJMLicmZmlsZW5hbWU9Jy4kZmlsZW5hbWUpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSAnJzsNCgkJCQkJCQl9DQoJCQkJCQkJZWxzZWlmICgyID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBydHJpbSgkc2FmZS0+ZGVjcnlwdFN0cmluZyhiYXNlNjRfZGVjb2RlKCRkcm9wVVJMKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSBzdHJfcmVwbGFjZSgnRklMRU5BTUUnLCAkZmlsZW5hbWUsICRvbmNsaWNrKTsNCgkJCQkJCQl9DQoJCQkJCQkJLy8gYnVpbGQgZHJvcGJveCBzd2l0Y2ggaWYgbmVlZGVkDQoJCQkJCQkJaWYgKDEgPT0gJGRyb3Bib3hCdXR0b24gJiYgJGRyb3BVUkwpDQoJCQkJCQkJew0KCQkJCQkJCQkkc2VybW9uLT5kcm9wYm94X2J1dHRvbnNbJGZpbGVuYW1lXSA9IHN0cl9yZXBsYWNlKCc/ZGw9MScsICc/ZGw9MCcsIHJ0cmltKCRzYWZlLT5kZWNyeXB0U3RyaW5nKGJhc2U2NF9kZWNvZGUoJGRyb3BVUkwpKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrX2Ryb2JveFskZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJCQkJfQ0KCQkJCQkJfQ0KCQkJCQl9DQoJCQkJfQ0KCQkJCWJyZWFrOw0KCQkJY2FzZSAzOg0KCQkJCS8vIHVybCBnZXQgdGhlIGZpbGUgbmFtZSB1c2UgdGhlIHNhbWUgbWV0aG9kIGFzIHRoZSBhdXRvDQoJCQkJJGZpbGVuYW1lID0gc2VsZjo6Z2V0RG93bmxvYWRGaWxlTmFtZSgkc2VybW9uLCRzZXJtb24tPnVybCwndXJsJyk7DQoJCQkJaWYgKDEgPT0gJHNlcm1vbi0+bGlua190eXBlKQ0KCQkJCXsNCgkJCQkJJGxvY2tlZFVSTCA9IGJhc2U2NF9lbmNvZGUoJHNhZmUtPmVuY3J5cHRTdHJpbmcoJHNlcm1vbi0+dXJsKSk7DQoJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRsb2NrZWRVUkwuJyZmaWxlbmFtZT0nLiRmaWxlbmFtZSk7DQoJCQkJCSRzZXJtb24tPm9uY2xpY2tbJGZpbGVuYW1lXSA9ICcnOw0KCQkJCX0NCgkJCQllbHNlaWYgKDIgPT0gJHNlcm1vbi0+bGlua190eXBlKQ0KCQkJCXsNCgkJCQkJJHNlcm1vbi0+ZG93bmxvYWRfbGlua3NbJGZpbGVuYW1lXSA9ICRzZXJtb24tPnVybDsNCgkJCQkJJHNlcm1vbi0+b25jbGlja1skZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJfQ0KCQkJCWJyZWFrOw0KCQl9DQoJCS8vIHJlbW92ZSB0aGUgdmFsdWVzIG5vIGxvbmdlciBuZWVkZWQNCgkJdW5zZXQoJHNlcm1vbi0+bG9jYWxfZmlsZXMpOw0KCQl1bnNldCgkc2VybW9uLT5tYW51YWxfZmlsZXMpOw0KCQl1bnNldCgkc2VybW9uLT5hdXRvX3Nlcm1vbnMpOw0KCQl1bnNldCgkc2VybW9uLT51cmwpOw0KCQkvLyBzaG91bGQgd2Ugc2V0IHRoZSBsb2NhbCAuaHRhY2Nlc3MgZm9yIHRoZSBkb3dubG9hZCBmb2xkZXINCgkJaWYgKCRzZXRIdGFjY2VzcykNCgkJew0KCQkJLy8gVE9ETyB3ZSBtYXkgbmVlZCB0byBhZGQgdGhpcyBsYXR0ZXIgdG8gZW5mb3JjZSBkb3dubG9hZCBvZiBmaWxlcy4NCgkJfQ0KCQlyZXR1cm4gdHJ1ZTsNCgl9DQoJDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBnZXREcm9wYm94TGluaygkdHlwZSwgJHJldHVybiA9IGZhbHNlLCAkdGFyZ2V0ID0gZmFsc2UpDQoJew0KCQkvLyBtYWtlIHN1cmUgYWxsIGRlZmF1bHRzIGFyZSBzZXQNCgkJJGZvdW5kID0gc2VsZjo6Y2hlY2tEcm9wYm94TG9jYWxMaXN0aW5nKCR0eXBlKTsNCgkJaWYgKCRmb3VuZCkNCgkJew0KCQkJc3dpdGNoKCRyZXR1cm4pDQoJCQl7DQoJCQkJY2FzZSAxOg0KCQkJCQkvLyByZXR1cm4gYSBsaW5rDQoJCQkJCWlmIChpc3NldChzZWxmOjokeydsaW5rc19kcm9wYm94XycuJHR5cGV9WyR0YXJnZXRdKSkNCgkJCQkJew0KCQkJCQkJcmV0dXJuIHNlbGY6OiR7J2xpbmtzX2Ryb3Bib3hfJy4kdHlwZX1bJHRhcmdldF07DQoJCQkJCX0NCgkJCQkJYnJlYWs7DQoJCQkJY2FzZSAyOg0KCQkJCQkvLyByZXR1cm4gYWxsIGxpbmtzDQoJCQkJCXJldHVybiBzZWxmOjokeydsaW5rc19kcm9wYm94XycuJHR5cGV9Ow0KCQkJCQlicmVhazsNCgkJCQlkZWZhdWx0IDoNCgkJCQkJLy8ganVzdCBjb25maXJtIHRoYXQgaXQgaXMgc2V0DQoJCQkJCXJldHVybiB0cnVlOw0KCQkJCQlicmVhazsNCgkJCX0NCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBjb3VudERvd25sb2FkKCRjb3VudGVyLCRmaWxlbmFtZSkNCgl7DQoJCS8vIEdldCBsb2NhbCBrZXkNCgkJJGxvY2Fsa2V5ID0gc2VsZjo6Z2V0TG9jYWxLZXkoKTsNCgkJJG9wZW5lciA9IG5ldyBGT0ZFbmNyeXB0QWVzKCRsb2NhbGtleSwgMjU2KTsNCgkJJGNvdW50ZXIgPSBqc29uX2RlY29kZShydHJpbSgkb3BlbmVyLT5kZWNyeXB0U3RyaW5nKGJhc2U2NF9kZWNvZGUoJGNvdW50ZXIpKSkpOw0KCQlpZiAoc2VsZjo6Y2hlY2tPYmplY3QoJGNvdW50ZXIpKQ0KCQl7DQoJCQkkY291bnRlci0+ZmlsZW5hbWUgPSAkZmlsZW5hbWU7DQoJCQkvLyBzZXQgdGhlIGRhdGUgb2JqZWN0DQoJCQkkZGF0ZSA9IEpGYWN0b3J5OjpnZXREYXRlKCk7DQoJCQkvLyBmaXJzdCBjaGVjayBpZiB0aGlzIGZpbGUgYWxyZWFkeSBoYXMgc3RhdGlzdGljcw0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdpZCcsJ2NvdW50ZXInKSkpOw0KCQkJJHF1ZXJ5LT5mcm9tKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fc3RhdGlzdGljJykpOw0KCQkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnc2VybW9uJykgLiAnID0gJy4gKGludCkgJGNvdW50ZXItPnNlcm1vbik7DQoJCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdmaWxlbmFtZScpIC4gJyA9ICcuICRkYi0+cXVvdGUoJGNvdW50ZXItPmZpbGVuYW1lKSk7DQoJCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCQkkZGItPmV4ZWN1dGUoKTsNCgkJCWlmICgkZGItPmdldE51bVJvd3MoKSkNCgkJCXsNCgkJCQkkc3RhdGlzdGljID0gJGRiLT5sb2FkT2JqZWN0KCk7DQoJCQkJLy8gYWxyZWFkeSBoYXMgYW4gZW50cnkNCgkJCQkkc3RhdGlzdGljLT5jb3VudGVyKys7DQoJCQkJJHN0YXRpc3RpYy0+bW9kaWZpZWQgPSAkZGF0ZS0+dG9TcWwoKTsNCgkJCQkvLyB1cGRhdGUgdGhlIGVudHJ5DQoJCQkJcmV0dXJuICRkYi0+dXBkYXRlT2JqZWN0KCcjX19bW1tjb21wb25lbnRdXV1fc3RhdGlzdGljJywgJHN0YXRpc3RpYywgJ2lkJyk7DQoJCQl9DQoJCQllbHNlDQoJCQl7DQoJCQkJLy8gc2V0IGEgbmV3IGVudHJ5DQoJCQkJJGNvdW50ZXItPmNvdW50ZXIgPSAxOw0KCQkJCSRjb3VudGVyLT5wdWJsaXNoZWQgPSAxOw0KCQkJCSRjb3VudGVyLT5jcmVhdGVkID0gJGRhdGUtPnRvU3FsKCk7DQoJCQkJJGNvdW50ZXItPmFjY2VzcyA9IDE7DQoJCQkJJGNvdW50ZXItPnZlcnNpb24gPSAxOw0KCQkJCS8vIHNldCBhIG5ldyBlbnRyeQ0KCQkJCSRkb25lID0gJGRiLT5pbnNlcnRPYmplY3QoJyNfX1tbW2NvbXBvbmVudF1dXV9zdGF0aXN0aWMnLCAkY291bnRlcik7DQoJCQkJLy8gaWYgZG9uZSByZXR1cm4gbGFzdCB1c2VkIGlkDQoJCQkJaWYgKCRkb25lKQ0KCQkJCXsNCgkJCQkJJG5ld0lkID0gICRkYi0+aW5zZXJ0aWQoKTsNCgkJCQkJLy8gbWFrZSBzdXJlIHRoZSBhY2Nlc3Mgb2YgYXNzZXQgaXMgc2V0DQoJCQkJCXJldHVybiBzZWxmOjpzZXRBc3NldCgkbmV3SWQsJ3N0YXRpc3RpYycpOw0KCQkJCX0NCgkJCX0NCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KCQ0KCXByb3RlY3RlZCBzdGF0aWMgZnVuY3Rpb24gZ2V0RG93bmxvYWRGaWxlTmFtZSgmJHNlcm1vbiwkZmlsZSwkdHlwZSkNCgl7DQoJCS8vIGZpcnN0IGdldCBmaWxlIG5hbWUgYW5kIGZpbGUgdHlwZQ0KCQkkZmlsZSA9IHN0cl9yZXBsYWNlKCdWRE1fcExlS19oMHVFci8nLCAnJywgJGZpbGUpOw0KCQkkZmlsZVR5cGUgPSBwYXRoaW5mbygkZmlsZSwgUEFUSElORk9fRVhURU5TSU9OKTsNCgkJaWYgKCRmaWxlVHlwZSkNCgkJew0KCQkJJGZpbGUgPSBzdHJfcmVwbGFjZSgnLicuJGZpbGVUeXBlLCAnJywgJGZpbGUpOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJJGZpbGVUeXBlID0gJ2Vycm9yJzsNCgkJfQ0KCQkvLyBub3cgYnVpbGQgZG93bmxvYWQgbmFtZQ0KCQkkZG93bmxvYWROYW1lID0gYXJyYXkoKTsNCgkJLy8gYnVpbGQgdGhlIERvd25sb2FkIEZpbGUgTmFtZSAtIGZpcnN0IGFkZCB0aGUgcHJlYWNoZXIgbmFtZSBpZiBzZXQNCgkJaWYgKCRzZXJtb24tPnByZWFjaGVyKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBzZWxmOjpzYWZlU3RyaW5nKCRzZXJtb24tPnByZWFjaGVyX25hbWUsJ1UnKTsNCgkJfQ0KCQkvLyBhZGQgdGhlIHNlcmllcyBuYW1lIGlmIHNldA0KCQlpZiAoJHNlcm1vbi0+c2VyaWVzKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBzZWxmOjpzYWZlU3RyaW5nKCRzZXJtb24tPnNlcmllc19uYW1lLCdGJyk7DQoJCX0NCgkJLy8gYWRkIHRoZSBjYXRlZ29yeSBuYW1lIGlmIHNldA0KCQlpZiAoJHNlcm1vbi0+Y2F0aWQgJiYgc2VsZjo6Y2hlY2tTdHJpbmcoJHNlcm1vbi0+Y2F0ZWdvcnkpKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBzZWxmOjpzYWZlU3RyaW5nKCRzZXJtb24tPmNhdGVnb3J5LCAnRicpOw0KCQl9DQoJCWlmICgnZHJvcGJveF9tYW51YWwnID09ICR0eXBlIHx8ICdsb2NhbCcgPT0gJHR5cGUpDQoJCXsNCgkJCS8vIGFkZCB0aGUgbWFpbiBmaWxlIG5hbWUNCgkJCSRkb3dubG9hZE5hbWVbXSA9IHNlbGY6OnNhZmVTdHJpbmcoJHNlcm1vbi0+bmFtZSwnRicpOw0KCQkJJGRvd25sb2FkTmFtZVtdID0gc2VsZjo6c2FmZVN0cmluZygkZmlsZSwnRicpOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJJGRvd25sb2FkTmFtZVtdID0gc2VsZjo6c2FmZVN0cmluZygkc2VybW9uLT5uYW1lLCdGJyk7DQoJCQlpZiAoJ2Vycm9yJyA9PSAkZmlsZVR5cGUgfHwgc3RycG9zKCc/JywgJGZpbGVUeXBlKSAhPT0gZmFsc2UgfHwgc3RycG9zKCcmJywgJGZpbGVUeXBlKSAhPT0gZmFsc2UgKQ0KCQkJew0KCQkJCSRmaWxlVHlwZSA9ICdtcDMnOyAvLyBUT0RPIHdlIGRvbid0IGtub3cgdGhlIHVybCBmaWxldHlwZSAoc2V0dGluZyB0byBtcDMgYnV0IHRoaXMgY291bGQgYmUgd3JvbmcpDQoJCQl9DQoJCX0NCgkJLy8gbm93IGJ1aWxkIHRoZSBkb3dubG9hZCBmaWxlIG5hbWUNCgkJcmV0dXJuIGltcGxvZGUoJ19fJywgJGRvd25sb2FkTmFtZSkuJy4nLiRmaWxlVHlwZTsNCgl9DQoNCgkvKioNCgkqIAljaGVjayBEcm9wYm94IExvY2FsIExpc3RpbmcgKGRvIHdlIGhhdmUgdGhlIGZpbGVzKQ0KCSoqLw0KCXB1YmxpYyBzdGF0aWMgZnVuY3Rpb24gY2hlY2tEcm9wYm94TG9jYWxMaXN0aW5nKCR0eXBlKQ0KCXsNCgkJJGZpbGVQYXRoID0gc2VsZjo6Z2V0RmlsZVBhdGgoJHR5cGUpOw0KCQkvLyBnZXQgdGhlIGxvY2FsIGxpbmtzDQoJCWlmIChzZWxmOjpjaGVja0FycmF5KHNlbGY6OiR7J2xpbmtzX2Ryb3Bib3hfJy4kdHlwZX0pKQ0KCQl7DQoJCQkvLyByZXR1cm4gdHJ1ZSB3ZSBoYXZlIGxpbmtzIGxvYWRlZA0KCQkJcmV0dXJuIHRydWU7DQoJCX0NCgkJZWxzZWlmICgoJGpzb25saW5rcyA9IEBmaWxlX2dldF9jb250ZW50cygkZmlsZVBhdGgpKSAhPT0gRkFMU0UpDQoJCXsJCQkNCgkJCWlmIChzZWxmOjpjaGVja1N0cmluZygkanNvbmxpbmtzKSkNCgkJCXsNCgkJCQkvLyBnZXQgc2F2ZWQgbGlua3MNCgkJCQkkc3RvcmVhZ2UgPSBqc29uX2RlY29kZSgkanNvbmxpbmtzLHRydWUpOw0KCQkJCWlmIChzZWxmOjpjaGVja0FycmF5KCRzdG9yZWFnZSkpDQoJCQkJew0KCQkJCQkvLyBsb2FkIHRoZSBzYXZlZCBsaW5rcw0KCQkJCQlzZWxmOjokeydsaW5rc19kcm9wYm94XycuJHR5cGV9ID0gJHN0b3JlYWdlOw0KCQkJCQlyZXR1cm4gdHJ1ZTsNCgkJCQl9DQoJCQl9DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0NCgkNCglwcm90ZWN0ZWQgc3RhdGljIGZ1bmN0aW9uIGdldEZpbGVQYXRoKCR0eXBlLCAkbmFtZSA9ICdsaXN0aW5nJykNCgl7DQoJCWlmICghc2VsZjo6Y2hlY2tTdHJpbmcoc2VsZjo6JHskdHlwZS4kbmFtZX0pKQ0KCQl7DQoJCQkvLyBHZXQgbG9jYWwga2V5DQoJCQkkbG9jYWxrZXkgPSBzZWxmOjpnZXRMb2NhbEtleSgpOw0KCQkJLy8gc2V0IHRoZSBuYW1lDQoJCQkkZmlsZU5hbWUgPSBtZDUoJHR5cGUuJG5hbWUuJGxvY2Fsa2V5KTsNCgkJCS8vIHNldCBmaWxlIHBhdGgJCQkNCgkJCXNlbGY6OiR7JHR5cGUuJG5hbWV9ID0gSlBBVEhfQ09NUE9ORU5UX1NJVEUuJy9oZWxwZXJzLycuJGZpbGVOYW1lLicuanNvbic7DQoJCX0NCgkJLy8gcmV0dXJuIHRoZSBwYXRoDQoJCXJldHVybiBzZWxmOjokeyR0eXBlLiRuYW1lfTsNCgl9DQoNCgkvKioNCgkqIAlnZXQgdGhlIGxvY2Fsa2V5DQoJKiovDQoJcHJvdGVjdGVkIHN0YXRpYyAkbG9jYWxrZXkgPSBmYWxzZTsNCgkNCglwdWJsaWMgc3RhdGljIGZ1bmN0aW9uIGdldExvY2FsS2V5KCkNCgl7DQoJCWlmICghc2VsZjo6JGxvY2Fsa2V5KQ0KCQl7DQoJCQkvLyBnZXQgdGhlIG1haW4ga2V5DQoJCQlzZWxmOjokbG9jYWxrZXkgPSBtZDUoSkNvbXBvbmVudEhlbHBlcjo6Z2V0UGFyYW1zKCdjb21fW1tbY29tcG9uZW50XV1dJyktPmdldCgnbGlua19lbmNyeXB0aW9uJywgJ2xvY2FsS2V5MzRmZFdFa2wnKSk7DQoJCX0NCgkJcmV0dXJuIHNlbGY6OiRsb2NhbGtleTsNCgl9DQoNCglwdWJsaWMgc3RhdGljIGZ1bmN0aW9uIHVwZGF0ZURyb3Bib3goJHR5cGUgPSBmYWxzZSwgJGZvcmNlID0gZmFsc2UpDQoJew0KCQkvLyBsb2FkIHRoZSBmaWxlDQoJCUpMb2FkZXI6OmltcG9ydCgnZHJvcGJveHVwZGF0ZXInLCBKUEFUSF9DT01QT05FTlRfU0lURS4nL2hlbHBlcnMnKTsNCgkJLy8gdXBkYXRlIHR5cGVzDQoJCSR0eXBlcyA9IGFycmF5KCdtYW51YWwnLCdhdXRvJyk7DQoJCS8vIG9rYXkgbm93IHVwZGF0ZSB0aGlzIHR5cGUNCgkJaWYgKHNlbGY6OmNoZWNrU3RyaW5nKCR0eXBlKSAmJiBpbl9hcnJheSgkdHlwZSwkdHlwZXMpKQ0KCQl7DQoJCQkkZHJvcGJveCA9IG5ldyBEcm9wYm94dXBkYXRlcigpOw0KCQkJcmV0dXJuICRkcm9wYm94LT51cGRhdGUoJHR5cGUsJGZvcmNlKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KCQ0KCXB1YmxpYyBzdGF0aWMgZnVuY3Rpb24gZ2V0VXBkYXRlUHJvZ3Jlc3MoJHR5cGUpDQoJew0KCQkkZmlsZVBhdGggPSBzZWxmOjpnZXRGaWxlUGF0aCgkdHlwZSwncHJvZ3Jlc3MnKTsNCgkJLy8gZ2V0IHRoZSBzZXQgcHJvZ3Jlc3MNCgkJaWYgKCgkcHJvZ3Jlc3MgPSBAZmlsZV9nZXRfY29udGVudHMoJGZpbGVQYXRoKSkgIT09IEZBTFNFKQ0KCQl7CQkJDQoJCQlpZiAoc2VsZjo6Y2hlY2tTdHJpbmcoJHByb2dyZXNzKSkNCgkJCXsNCgkJCQkvLyBnZXQgc2V0IHByb2dyZXNzDQoJCQkJJHByb2dyZXNzID0ganNvbl9kZWNvZGUoJHByb2dyZXNzLHRydWUpOw0KCQkJCWlmIChzZWxmOjpjaGVja0FycmF5KCRwcm9ncmVzcykpDQoJCQkJew0KCQkJCQkvLyByZXR1cm4gdGUgcHJvZ3Jlc3MNCgkJCQkJcmV0dXJuICRwcm9ncmVzc1sncmVwb3J0J107DQoJCQkJfQ0KCQkJfQ0KCQl9DQoJCXJldHVybiAwOw0KCX0NCg==', 'CS8qKg0KCSogCUxvYWQgdGhlIERyb3Bib3ggQWpheCB0byBwYWdlDQoJKiovDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBsb2FkRHJvcGJveEFqYXgoJGRvY3VtZW50KQ0KCXsNCgkJJGRvY3VtZW50LT5hZGRTY3JpcHREZWNsYXJhdGlvbigiDQoJCQlqUXVlcnkod2luZG93KS5sb2FkKGZ1bmN0aW9uKCkgew0KCQkJCWNoZWNrRHJvcGJveExpc3RpbmcoMyk7DQoJCQl9KTsNCgkJCQ0KCQkJZnVuY3Rpb24gY2hlY2tEcm9wYm94TGlzdGluZyh2aWV3KXsNCgkJCQl2YXIgZ2V0VXJsID0gJyIuSlJvdXRlOjpfKCdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LmNoZWNrRHJvcGJveExpc3RpbmcmZm9ybWF0PWpzb24nKS4iJzsNCgkJCQlpZih2aWV3ID4gMCl7DQoJCQkJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPSIuSlNlc3Npb246OmdldEZvcm1Ub2tlbigpLiImdmlldz0nK3ZpZXc7DQoJCQkJfQ0KCQkJCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCQkJCXR5cGU6ICdHRVQnLA0KCQkJCQl1cmw6IGdldFVybCwNCgkJCQkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCQkJCWRhdGE6IHJlcXVlc3QsDQoJCQkJCWpzb25wOiAnY2FsbGJhY2snDQoJCQkJfSk7DQoJCQl9DQoJCSIpOw0KCX0NCg0KCS8qKg0KCSogCVRoZSBkcm9wYm94IGxpbmtzIGF1dG8NCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRsaW5rc19kcm9wYm94X2F1dG87DQoJDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggbGlua3MgbWFudWFsDQoJKiovDQoJcHJvdGVjdGVkIHN0YXRpYyAkbGlua3NfZHJvcGJveF9tYW51YWw7DQoNCgkvKioNCgkqIAlUaGUgZHJvcGJveCBpbmZvIEZpbGUgTmFtZQ0KCSoqLw0KCXByb3RlY3RlZCBzdGF0aWMgJGF1dG9wcm9ncmVzcyA9IGZhbHNlOw0KDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggaW5mbyBGaWxlIE5hbWUNCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRtYW51YWxwcm9ncmVzcyA9IGZhbHNlOw0KDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggaW5mbyBGaWxlIE5hbWUNCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRhdXRvbGlzdGluZyA9IGZhbHNlOw0KDQoJLyoqDQoJKiAJVGhlIGRyb3Bib3ggaW5mbyBGaWxlIE5hbWUNCgkqKi8NCglwcm90ZWN0ZWQgc3RhdGljICRtYW51YWxsaXN0aW5nID0gZmFsc2U7DQoNCgkvKioNCgkqIAljaGVjayBEcm9wYm94IExvY2FsIExpc3RpbmcNCgkqKi8NCglwdWJsaWMgc3RhdGljIGZ1bmN0aW9uIGdldERvd25sb2FkTGlua3MoJiRzZXJtb24pDQoJew0KCQkkbGlua3MgPSBhcnJheSgpOw0KCQkvLyBHZXQgbG9jYWwga2V5DQoJCSRsb2NhbGtleSA9IHNlbGY6OmdldExvY2FsS2V5KCk7DQoJCS8vIGRlY3J5cHQgdGhlIHVybHMNCgkJJHNhZmUgPSBuZXcgRk9GRW5jcnlwdEFlcygkbG9jYWxrZXksIDI1Nik7DQoJCS8vIGludGVybmFsIGRvd25sb2FkIHVybA0KCQkka2V5Q291bnRlciA9IG5ldyBzdGRDbGFzczsNCgkJJGtleUNvdW50ZXItPnNlcm1vbiA9ICRzZXJtb24tPmlkOw0KCQlpZiAoJHNlcm1vbi0+cHJlYWNoZXIpDQoJCXsNCgkJCSRrZXlDb3VudGVyLT5wcmVhY2hlciA9ICRzZXJtb24tPnByZWFjaGVyOw0KCQl9DQoJCWlmICgkc2VybW9uLT5zZXJpZXMpDQoJCXsNCgkJCSRrZXlDb3VudGVyLT5zZXJpZXMgPSAkc2VybW9uLT5zZXJpZXM7DQoJCX0NCgkJJGtleUNvdW50ZXIgPSBiYXNlNjRfZW5jb2RlKCRzYWZlLT5lbmNyeXB0U3RyaW5nKGpzb25fZW5jb2RlKCRrZXlDb3VudGVyKSkpOw0KCQkkdG9rZW4gPSBKU2Vzc2lvbjo6Z2V0Rm9ybVRva2VuKCk7DQoJCSRkb3dubG9hZFVSTCA9ICdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1kb3dubG9hZC5maWxlJmtleT0nLiRrZXlDb3VudGVyLicmdG9rZW49Jy4kdG9rZW47DQoJCS8vIGNoZWNrIGlmIGxvY2FsIC5odGFjY2VzcyBzaG91bGQgYmUgc2V0DQoJCSRzZXRIdGFjY2VzcyA9IGZhbHNlOw0KCQkkb25jbGljayA9ICcgb25jbGljaz0ic2VybW9uQ291bnRlcihcJycuJGtleUNvdW50ZXIuJ1wnLFwnRklMRU5BTUVcJyk7Iic7DQoJCS8vIGNoZWNrIHdoYXQgc291cmNlIG9mIG91ciBsaW5rDQoJCXN3aXRjaCAoJHNlcm1vbi0+c291cmNlKQ0KCQl7DQoJCQljYXNlIDE6DQoJCQkJLy8gbG9jYWwgZmlsZSBnZXQgbG9jYWwgZm9sZGVyIGFuZCBjaGVjayBpZiBvdXRzaWRlIHJvb3QgKGlmIG5vdCB0aGVuIGFsbG93IGRpcmVjdCkNCgkJCQkkbG9jYWxGb2xkZXIgPSBKQ29tcG9uZW50SGVscGVyOjpnZXRQYXJhbXMoJ2NvbV9bW1tjb21wb25lbnRdXV0nKS0+Z2V0KCdsb2NhbGZvbGRlcicsIEpQQVRIX1JPT1QuJy9pbWFnZXMnKS4nLyc7DQoJCQkJLy8gc2hvdWxkIHdlIGFsbG93IGRpcmVjdCBkb3dubG9hZHMNCgkJCQkkYWxsb3dEaXJlY3QgPSBmYWxzZTsNCgkJCQlpZiAoMiA9PSAkc2VybW9uLT5saW5rX3R5cGUgJiYgc3RycG9zKCRsb2NhbEZvbGRlciwgSlBBVEhfUk9PVCkgIT09IGZhbHNlKQ0KCQkJCXsNCgkJCQkJJGFsbG93RGlyZWN0ID0gdHJ1ZTsNCgkJCQkJJGxvY2FsRm9sZGVyVVJMID0gSlVSSTo6cm9vdCgpLnN0cl9yZXBsYWNlKEpQQVRIX1JPT1QsICcnLCAkbG9jYWxGb2xkZXIpOw0KCQkJCQkvLyBpbnN1cmUgbm8gZG91YmxlIC8vIGlzIGluIHRoZSBVUkwNCgkJCQkJJGxvY2FsRm9sZGVyVVJMID0gc3RyX3JlcGxhY2UoJy8vJywgJy8nLCAkbG9jYWxGb2xkZXJVUkwpOw0KCQkJCQkkbG9jYWxGb2xkZXJVUkwgPSBzdHJfcmVwbGFjZSgnOi8nLCAnOi8vJywgJGxvY2FsRm9sZGVyVVJMKTsNCgkJCQl9DQoJCQkJLy8gaW5zdXJlIG5vIGRvdWJsZSAvLyBpcyBpbiB0aGUgcGF0aCBuYW1lDQoJCQkJJGxvY2FsRm9sZGVyID0gc3RyX3JlcGxhY2UoJy8vJywgJy8nLCAkbG9jYWxGb2xkZXIpOw0KCQkJCSRsb2NhbEZvbGRlciA9IHN0cl9yZXBsYWNlKCc6LycsICc6Ly8nLCAkbG9jYWxGb2xkZXIpOw0KCQkJCWlmIChzZWxmOjpjaGVja0FycmF5KCRzZXJtb24tPmxvY2FsX2ZpbGVzKSkNCgkJCQl7DQoJCQkJCWZvcmVhY2goJHNlcm1vbi0+bG9jYWxfZmlsZXMgYXMgJGtleSkNCgkJCQkJew0KCQkJCQkJaWYgKDEgPT0gJHNlcm1vbi0+bGlua190eXBlIHx8ICEkYWxsb3dEaXJlY3QpDQoJCQkJCQl7DQoJCQkJCQkJLy8gZ2V0IHRoZSBmaWxlIG5hbWUgdXNlIHRoZSBzYW1lIG1ldGhvZCBhcyB0aGUgYXV0bw0KCQkJCQkJCSRmaWxlbmFtZSA9IHNlbGY6OmdldERvd25sb2FkRmlsZU5hbWUoJHNlcm1vbiwka2V5LCdsb2NhbCcpOw0KCQkJCQkJCSRsb2NrZWRGb2xkZXJQYXRoID0gYmFzZTY0X2VuY29kZSgkc2FmZS0+ZW5jcnlwdFN0cmluZygkbG9jYWxGb2xkZXIuJGtleSkpOw0KCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRsb2NrZWRGb2xkZXJQYXRoLicmZmlsZW5hbWU9Jy4kZmlsZW5hbWUpOw0KCQkJCQkJCSRzZXJtb24tPm9uY2xpY2tbJGZpbGVuYW1lXSA9ICcnOw0KCQkJCQkJfQ0KCQkJCQkJZWxzZWlmICgyID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkYWxsb3dEaXJlY3QpDQoJCQkJCQl7DQoJCQkJCQkJJGZpbGVuYW1lID0gJGtleTsNCgkJCQkJCQkkc2VybW9uLT5kb3dubG9hZF9saW5rc1skZmlsZW5hbWVdID0gJGxvY2FsRm9sZGVyVVJMLiRrZXk7DQoJCQkJCQkJJHNlcm1vbi0+b25jbGlja1skZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJCQkJJHNldEh0YWNjZXNzID0gdHJ1ZTsNCgkJCQkJCX0NCgkJCQkJfQ0KCQkJCX0NCgkJCQlicmVhazsNCgkJCWNhc2UgMjoNCgkJCQkvLyBEcm9wYm94IGdldCBnbG9iYWwgZHJvcGJveCBzd2l0Y2ggDQoJCQkJJGRyb3Bib3hCdXR0b24gPSBKQ29tcG9uZW50SGVscGVyOjpnZXRQYXJhbXMoJ2NvbV9bW1tjb21wb25lbnRdXV0nKS0+Z2V0KCdhZGRfdG9fZHJvcGJveCcsIDEpOw0KCQkJCWlmICgxID09ICRzZXJtb24tPmJ1aWxkKQ0KCQkJCXsNCgkJCQkJaWYgKHNlbGY6OmNoZWNrQXJyYXkoJHNlcm1vbi0+bWFudWFsX2ZpbGVzKSkNCgkJCQkJew0KCQkJCQkJLy8gbWFudWFsIGRyb3Bib3gNCgkJCQkJCWZvcmVhY2goJHNlcm1vbi0+bWFudWFsX2ZpbGVzIGFzICRrZXkpDQoJCQkJCQl7DQoJCQkJCQkJLy8gZ2V0IHRoZSBsaW5rDQoJCQkJCQkJJGRyb3BVUkwgPSBzZWxmOjpnZXREcm9wYm94TGluaygnbWFudWFsJywxLCRrZXkpOw0KCQkJCQkJCWlmICgxID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCS8vIGdldCB0aGUgZmlsZSBuYW1lIHVzZSB0aGUgc2FtZSBtZXRob2QgYXMgdGhlIGF1dG8NCgkJCQkJCQkJJGZpbGVuYW1lID0gc2VsZjo6Z2V0RG93bmxvYWRGaWxlTmFtZSgkc2VybW9uLCRrZXksJ2Ryb3Bib3hfbWFudWFsJyk7DQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRkcm9wVVJMLicmZmlsZW5hbWU9Jy4kZmlsZW5hbWUpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSAnJzsNCgkJCQkJCQl9DQoJCQkJCQkJZWxzZWlmICgyID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCSRmaWxlbmFtZSA9IHN0cl9yZXBsYWNlKCdWRE1fcExlS19oMHVFci8nLCAnJywgJGtleSk7DQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBydHJpbSgkc2FmZS0+ZGVjcnlwdFN0cmluZyhiYXNlNjRfZGVjb2RlKCRkcm9wVVJMKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSBzdHJfcmVwbGFjZSgnRklMRU5BTUUnLCAkZmlsZW5hbWUsICRvbmNsaWNrKTsNCgkJCQkJCQl9DQoJCQkJCQkJLy8gYnVpbGQgZHJvcGJveCBzd2l0Y2ggaWYgbmVlZGVkDQoJCQkJCQkJaWYgKDEgPT0gJGRyb3Bib3hCdXR0b24gJiYgJGRyb3BVUkwpDQoJCQkJCQkJew0KCQkJCQkJCQkkc2VybW9uLT5kcm9wYm94X2J1dHRvbnNbJGZpbGVuYW1lXSA9IHN0cl9yZXBsYWNlKCc/ZGw9MScsICc/ZGw9MCcsIHJ0cmltKCRzYWZlLT5kZWNyeXB0U3RyaW5nKGJhc2U2NF9kZWNvZGUoJGRyb3BVUkwpKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrX2Ryb2JveFskZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJCQkJfQ0KCQkJCQkJfQ0KCQkJCQl9DQoJCQkJfQ0KCQkJCWVsc2VpZiAoMiA9PSAkc2VybW9uLT5idWlsZCkNCgkJCQl7DQoJCQkJCWlmIChzZWxmOjpjaGVja0FycmF5KCRzZXJtb24tPmF1dG9fc2VybW9ucykpDQoJCQkJCXsNCgkJCQkJCS8vIGF1dG9tYXRpYyBkcm9wYm94DQoJCQkJCQlmb3JlYWNoKCRzZXJtb24tPmF1dG9fc2VybW9ucyBhcyAkZmlsZW5hbWUgPT4gJGtleSkNCgkJCQkJCXsNCgkJCQkJCQkvLyBnZXQgdGhlIGxpbmsNCgkJCQkJCQkkZHJvcFVSTCA9IHNlbGY6OmdldERyb3Bib3hMaW5rKCdhdXRvJywxLCRrZXkpOw0KCQkJCQkJCWlmICgxID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCS8vIGdldCB0aGUgZmlsZSBuYW1lICh1c2UgdGhlIHNhbWUgbWV0aG9kIGFzIHRoZSBhdXRvDQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRkcm9wVVJMLicmZmlsZW5hbWU9Jy4kZmlsZW5hbWUpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSAnJzsNCgkJCQkJCQl9DQoJCQkJCQkJZWxzZWlmICgyID09ICRzZXJtb24tPmxpbmtfdHlwZSAmJiAkZHJvcFVSTCkNCgkJCQkJCQl7DQoJCQkJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBydHJpbSgkc2FmZS0+ZGVjcnlwdFN0cmluZyhiYXNlNjRfZGVjb2RlKCRkcm9wVVJMKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrWyRmaWxlbmFtZV0gPSBzdHJfcmVwbGFjZSgnRklMRU5BTUUnLCAkZmlsZW5hbWUsICRvbmNsaWNrKTsNCgkJCQkJCQl9DQoJCQkJCQkJLy8gYnVpbGQgZHJvcGJveCBzd2l0Y2ggaWYgbmVlZGVkDQoJCQkJCQkJaWYgKDEgPT0gJGRyb3Bib3hCdXR0b24gJiYgJGRyb3BVUkwpDQoJCQkJCQkJew0KCQkJCQkJCQkkc2VybW9uLT5kcm9wYm94X2J1dHRvbnNbJGZpbGVuYW1lXSA9IHN0cl9yZXBsYWNlKCc/ZGw9MScsICc/ZGw9MCcsIHJ0cmltKCRzYWZlLT5kZWNyeXB0U3RyaW5nKGJhc2U2NF9kZWNvZGUoJGRyb3BVUkwpKSkpOw0KCQkJCQkJCQkkc2VybW9uLT5vbmNsaWNrX2Ryb2JveFskZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJCQkJfQ0KCQkJCQkJfQ0KCQkJCQl9DQoJCQkJfQ0KCQkJCWJyZWFrOw0KCQkJY2FzZSAzOg0KCQkJCS8vIHVybCBnZXQgdGhlIGZpbGUgbmFtZSB1c2UgdGhlIHNhbWUgbWV0aG9kIGFzIHRoZSBhdXRvDQoJCQkJJGZpbGVuYW1lID0gc2VsZjo6Z2V0RG93bmxvYWRGaWxlTmFtZSgkc2VybW9uLCRzZXJtb24tPnVybCwndXJsJyk7DQoJCQkJaWYgKDEgPT0gJHNlcm1vbi0+bGlua190eXBlKQ0KCQkJCXsNCgkJCQkJJGxvY2tlZFVSTCA9IGJhc2U2NF9lbmNvZGUoJHNhZmUtPmVuY3J5cHRTdHJpbmcoJHNlcm1vbi0+dXJsKSk7DQoJCQkJCSRzZXJtb24tPmRvd25sb2FkX2xpbmtzWyRmaWxlbmFtZV0gPSBKUm91dGU6Ol8oJGRvd25sb2FkVVJMLicmbGluaz0nLiRsb2NrZWRVUkwuJyZmaWxlbmFtZT0nLiRmaWxlbmFtZSk7DQoJCQkJCSRzZXJtb24tPm9uY2xpY2tbJGZpbGVuYW1lXSA9ICcnOw0KCQkJCX0NCgkJCQllbHNlaWYgKDIgPT0gJHNlcm1vbi0+bGlua190eXBlKQ0KCQkJCXsNCgkJCQkJJHNlcm1vbi0+ZG93bmxvYWRfbGlua3NbJGZpbGVuYW1lXSA9ICRzZXJtb24tPnVybDsNCgkJCQkJJHNlcm1vbi0+b25jbGlja1skZmlsZW5hbWVdID0gc3RyX3JlcGxhY2UoJ0ZJTEVOQU1FJywgJGZpbGVuYW1lLCAkb25jbGljayk7DQoJCQkJfQ0KCQkJCWJyZWFrOw0KCQl9DQoJCS8vIHJlbW92ZSB0aGUgdmFsdWVzIG5vIGxvbmdlciBuZWVkZWQNCgkJdW5zZXQoJHNlcm1vbi0+bG9jYWxfZmlsZXMpOw0KCQl1bnNldCgkc2VybW9uLT5tYW51YWxfZmlsZXMpOw0KCQl1bnNldCgkc2VybW9uLT5hdXRvX3Nlcm1vbnMpOw0KCQl1bnNldCgkc2VybW9uLT51cmwpOw0KCQkvLyBzaG91bGQgd2Ugc2V0IHRoZSBsb2NhbCAuaHRhY2Nlc3MgZm9yIHRoZSBkb3dubG9hZCBmb2xkZXINCgkJaWYgKCRzZXRIdGFjY2VzcykNCgkJew0KCQkJLy8gVE9ETyB3ZSBtYXkgbmVlZCB0byBhZGQgdGhpcyBsYXR0ZXIgdG8gZW5mb3JjZSBkb3dubG9hZCBvZiBmaWxlcy4NCgkJfQ0KCQlyZXR1cm4gdHJ1ZTsNCgl9DQoJDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBnZXREcm9wYm94TGluaygkdHlwZSwgJHJldHVybiA9IGZhbHNlLCAkdGFyZ2V0ID0gZmFsc2UpDQoJew0KCQkvLyBtYWtlIHN1cmUgYWxsIGRlZmF1bHRzIGFyZSBzZXQNCgkJJGZvdW5kID0gc2VsZjo6Y2hlY2tEcm9wYm94TG9jYWxMaXN0aW5nKCR0eXBlKTsNCgkJaWYgKCRmb3VuZCkNCgkJew0KCQkJc3dpdGNoKCRyZXR1cm4pDQoJCQl7DQoJCQkJY2FzZSAxOg0KCQkJCQkvLyByZXR1cm4gYSBsaW5rDQoJCQkJCWlmIChpc3NldChzZWxmOjokeydsaW5rc19kcm9wYm94XycuJHR5cGV9WyR0YXJnZXRdKSkNCgkJCQkJew0KCQkJCQkJcmV0dXJuIHNlbGY6OiR7J2xpbmtzX2Ryb3Bib3hfJy4kdHlwZX1bJHRhcmdldF07DQoJCQkJCX0NCgkJCQkJYnJlYWs7DQoJCQkJY2FzZSAyOg0KCQkJCQkvLyByZXR1cm4gYWxsIGxpbmtzDQoJCQkJCXJldHVybiBzZWxmOjokeydsaW5rc19kcm9wYm94XycuJHR5cGV9Ow0KCQkJCQlicmVhazsNCgkJCQlkZWZhdWx0IDoNCgkJCQkJLy8ganVzdCBjb25maXJtIHRoYXQgaXQgaXMgc2V0DQoJCQkJCXJldHVybiB0cnVlOw0KCQkJCQlicmVhazsNCgkJCX0NCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBjb3VudERvd25sb2FkKCRjb3VudGVyLCRmaWxlbmFtZSkNCgl7DQoJCS8vIEdldCBsb2NhbCBrZXkNCgkJJGxvY2Fsa2V5ID0gc2VsZjo6Z2V0TG9jYWxLZXkoKTsNCgkJJG9wZW5lciA9IG5ldyBGT0ZFbmNyeXB0QWVzKCRsb2NhbGtleSwgMjU2KTsNCgkJJGNvdW50ZXIgPSBqc29uX2RlY29kZShydHJpbSgkb3BlbmVyLT5kZWNyeXB0U3RyaW5nKGJhc2U2NF9kZWNvZGUoJGNvdW50ZXIpKSkpOw0KCQlpZiAoc2VsZjo6Y2hlY2tPYmplY3QoJGNvdW50ZXIpKQ0KCQl7DQoJCQkkY291bnRlci0+ZmlsZW5hbWUgPSAkZmlsZW5hbWU7DQoJCQkvLyBzZXQgdGhlIGRhdGUgb2JqZWN0DQoJCQkkZGF0ZSA9IEpGYWN0b3J5OjpnZXREYXRlKCk7DQoJCQkvLyBmaXJzdCBjaGVjayBpZiB0aGlzIGZpbGUgYWxyZWFkeSBoYXMgc3RhdGlzdGljcw0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdpZCcsJ2NvdW50ZXInKSkpOw0KCQkJJHF1ZXJ5LT5mcm9tKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fc3RhdGlzdGljJykpOw0KCQkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnc2VybW9uJykgLiAnID0gJy4gKGludCkgJGNvdW50ZXItPnNlcm1vbik7DQoJCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdmaWxlbmFtZScpIC4gJyA9ICcuICRkYi0+cXVvdGUoJGNvdW50ZXItPmZpbGVuYW1lKSk7DQoJCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCQkkZGItPmV4ZWN1dGUoKTsNCgkJCWlmICgkZGItPmdldE51bVJvd3MoKSkNCgkJCXsNCgkJCQkkc3RhdGlzdGljID0gJGRiLT5sb2FkT2JqZWN0KCk7DQoJCQkJLy8gYWxyZWFkeSBoYXMgYW4gZW50cnkNCgkJCQkkc3RhdGlzdGljLT5jb3VudGVyKys7DQoJCQkJJHN0YXRpc3RpYy0+bW9kaWZpZWQgPSAkZGF0ZS0+dG9TcWwoKTsNCgkJCQkvLyB1cGRhdGUgdGhlIGVudHJ5DQoJCQkJcmV0dXJuICRkYi0+dXBkYXRlT2JqZWN0KCcjX19bW1tjb21wb25lbnRdXV1fc3RhdGlzdGljJywgJHN0YXRpc3RpYywgJ2lkJyk7DQoJCQl9DQoJCQllbHNlDQoJCQl7DQoJCQkJLy8gc2V0IGEgbmV3IGVudHJ5DQoJCQkJJGNvdW50ZXItPmNvdW50ZXIgPSAxOw0KCQkJCSRjb3VudGVyLT5wdWJsaXNoZWQgPSAxOw0KCQkJCSRjb3VudGVyLT5jcmVhdGVkID0gJGRhdGUtPnRvU3FsKCk7DQoJCQkJJGNvdW50ZXItPmFjY2VzcyA9IDE7DQoJCQkJJGNvdW50ZXItPnZlcnNpb24gPSAxOw0KCQkJCS8vIHNldCBhIG5ldyBlbnRyeQ0KCQkJCSRkb25lID0gJGRiLT5pbnNlcnRPYmplY3QoJyNfX1tbW2NvbXBvbmVudF1dXV9zdGF0aXN0aWMnLCAkY291bnRlcik7DQoJCQkJLy8gaWYgZG9uZSByZXR1cm4gbGFzdCB1c2VkIGlkDQoJCQkJaWYgKCRkb25lKQ0KCQkJCXsNCgkJCQkJJG5ld0lkID0gICRkYi0+aW5zZXJ0aWQoKTsNCgkJCQkJLy8gbWFrZSBzdXJlIHRoZSBhY2Nlc3Mgb2YgYXNzZXQgaXMgc2V0DQoJCQkJCXJldHVybiBzZWxmOjpzZXRBc3NldCgkbmV3SWQsJ3N0YXRpc3RpYycpOw0KCQkJCX0NCgkJCX0NCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KCQ0KCXByb3RlY3RlZCBzdGF0aWMgZnVuY3Rpb24gZ2V0RG93bmxvYWRGaWxlTmFtZSgmJHNlcm1vbiwkZmlsZSwkdHlwZSkNCgl7DQoJCS8vIGZpcnN0IGdldCBmaWxlIG5hbWUgYW5kIGZpbGUgdHlwZQ0KCQkkZmlsZSA9IHN0cl9yZXBsYWNlKCdWRE1fcExlS19oMHVFci8nLCAnJywgJGZpbGUpOw0KCQkkZmlsZVR5cGUgPSBwYXRoaW5mbygkZmlsZSwgUEFUSElORk9fRVhURU5TSU9OKTsNCgkJaWYgKCRmaWxlVHlwZSkNCgkJew0KCQkJJGZpbGUgPSBzdHJfcmVwbGFjZSgnLicuJGZpbGVUeXBlLCAnJywgJGZpbGUpOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJJGZpbGVUeXBlID0gJ2Vycm9yJzsNCgkJfQ0KCQkvLyBub3cgYnVpbGQgZG93bmxvYWQgbmFtZQ0KCQkkZG93bmxvYWROYW1lID0gYXJyYXkoKTsNCgkJLy8gYnVpbGQgdGhlIERvd25sb2FkIEZpbGUgTmFtZSAtIGZpcnN0IGFkZCB0aGUgcHJlYWNoZXIgbmFtZSBpZiBzZXQNCgkJaWYgKCRzZXJtb24tPnByZWFjaGVyKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBzZWxmOjpzYWZlU3RyaW5nKCRzZXJtb24tPnByZWFjaGVyX25hbWUsJ1UnKTsNCgkJfQ0KCQkvLyBhZGQgdGhlIHNlcmllcyBuYW1lIGlmIHNldA0KCQlpZiAoJHNlcm1vbi0+c2VyaWVzKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBzZWxmOjpzYWZlU3RyaW5nKCRzZXJtb24tPnNlcmllc19uYW1lLCdGJyk7DQoJCX0NCgkJLy8gYWRkIHRoZSBjYXRlZ29yeSBuYW1lIGlmIHNldA0KCQlpZiAoJHNlcm1vbi0+Y2F0aWQgJiYgc2VsZjo6Y2hlY2tTdHJpbmcoJHNlcm1vbi0+Y2F0ZWdvcnkpKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBzZWxmOjpzYWZlU3RyaW5nKCRzZXJtb24tPmNhdGVnb3J5LCAnRicpOw0KCQl9DQoJCWlmICgnZHJvcGJveF9tYW51YWwnID09ICR0eXBlIHx8ICdsb2NhbCcgPT0gJHR5cGUpDQoJCXsNCgkJCS8vIGFkZCB0aGUgbWFpbiBmaWxlIG5hbWUNCgkJCSRkb3dubG9hZE5hbWVbXSA9IHNlbGY6OnNhZmVTdHJpbmcoJHNlcm1vbi0+bmFtZSwnRicpOw0KCQkJJGRvd25sb2FkTmFtZVtdID0gc2VsZjo6c2FmZVN0cmluZygkZmlsZSwnRicpOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJJGRvd25sb2FkTmFtZVtdID0gc2VsZjo6c2FmZVN0cmluZygkc2VybW9uLT5uYW1lLCdGJyk7DQoJCQlpZiAoJ2Vycm9yJyA9PSAkZmlsZVR5cGUgfHwgc3RycG9zKCc/JywgJGZpbGVUeXBlKSAhPT0gZmFsc2UgfHwgc3RycG9zKCcmJywgJGZpbGVUeXBlKSAhPT0gZmFsc2UgKQ0KCQkJew0KCQkJCSRmaWxlVHlwZSA9ICdtcDMnOyAvLyBUT0RPIHdlIGRvbid0IGtub3cgdGhlIHVybCBmaWxldHlwZSAoc2V0dGluZyB0byBtcDMgYnV0IHRoaXMgY291bGQgYmUgd3JvbmcpDQoJCQl9DQoJCX0NCgkJLy8gbm93IGJ1aWxkIHRoZSBkb3dubG9hZCBmaWxlIG5hbWUNCgkJcmV0dXJuIGltcGxvZGUoJ19fJywgJGRvd25sb2FkTmFtZSkuJy4nLiRmaWxlVHlwZTsNCgl9DQoNCgkvKioNCgkqIAljaGVjayBEcm9wYm94IExvY2FsIExpc3RpbmcgKGRvIHdlIGhhdmUgdGhlIGZpbGVzKQ0KCSoqLw0KCXB1YmxpYyBzdGF0aWMgZnVuY3Rpb24gY2hlY2tEcm9wYm94TG9jYWxMaXN0aW5nKCR0eXBlKQ0KCXsNCgkJJGZpbGVQYXRoID0gc2VsZjo6Z2V0RmlsZVBhdGgoJHR5cGUpOw0KCQkvLyBnZXQgdGhlIGxvY2FsIGxpbmtzDQoJCWlmIChzZWxmOjpjaGVja0FycmF5KHNlbGY6OiR7J2xpbmtzX2Ryb3Bib3hfJy4kdHlwZX0pKQ0KCQl7DQoJCQkvLyByZXR1cm4gdHJ1ZSB3ZSBoYXZlIGxpbmtzIGxvYWRlZA0KCQkJcmV0dXJuIHRydWU7DQoJCX0NCgkJZWxzZWlmICgoJGpzb25saW5rcyA9IEBmaWxlX2dldF9jb250ZW50cygkZmlsZVBhdGgpKSAhPT0gRkFMU0UpDQoJCXsJCQkNCgkJCWlmIChzZWxmOjpjaGVja1N0cmluZygkanNvbmxpbmtzKSkNCgkJCXsNCgkJCQkvLyBnZXQgc2F2ZWQgbGlua3MNCgkJCQkkc3RvcmVhZ2UgPSBqc29uX2RlY29kZSgkanNvbmxpbmtzLHRydWUpOw0KCQkJCWlmIChzZWxmOjpjaGVja0FycmF5KCRzdG9yZWFnZSkpDQoJCQkJew0KCQkJCQkvLyBsb2FkIHRoZSBzYXZlZCBsaW5rcw0KCQkJCQlzZWxmOjokeydsaW5rc19kcm9wYm94XycuJHR5cGV9ID0gJHN0b3JlYWdlOw0KCQkJCQlyZXR1cm4gdHJ1ZTsNCgkJCQl9DQoJCQl9DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0NCgkNCglwcm90ZWN0ZWQgc3RhdGljIGZ1bmN0aW9uIGdldEZpbGVQYXRoKCR0eXBlLCAkbmFtZSA9ICdsaXN0aW5nJykNCgl7DQoJCWlmICghc2VsZjo6Y2hlY2tTdHJpbmcoc2VsZjo6JHskdHlwZS4kbmFtZX0pKQ0KCQl7DQoJCQkvLyBHZXQgbG9jYWwga2V5DQoJCQkkbG9jYWxrZXkgPSBzZWxmOjpnZXRMb2NhbEtleSgpOw0KCQkJLy8gc2V0IHRoZSBuYW1lDQoJCQkkZmlsZU5hbWUgPSBtZDUoJHR5cGUuJG5hbWUuJGxvY2Fsa2V5KTsNCgkJCS8vIHNldCBmaWxlIHBhdGgJCQkNCgkJCXNlbGY6OiR7JHR5cGUuJG5hbWV9ID0gSlBBVEhfQ09NUE9ORU5UX1NJVEUuJy9oZWxwZXJzLycuJGZpbGVOYW1lLicuanNvbic7DQoJCX0NCgkJLy8gcmV0dXJuIHRoZSBwYXRoDQoJCXJldHVybiBzZWxmOjokeyR0eXBlLiRuYW1lfTsNCgl9DQoNCgkvKioNCgkqIAlnZXQgdGhlIGxvY2Fsa2V5DQoJKiovDQoJcHJvdGVjdGVkIHN0YXRpYyAkbG9jYWxrZXkgPSBmYWxzZTsNCgkNCglwdWJsaWMgc3RhdGljIGZ1bmN0aW9uIGdldExvY2FsS2V5KCkNCgl7DQoJCWlmICghc2VsZjo6JGxvY2Fsa2V5KQ0KCQl7DQoJCQkvLyBnZXQgdGhlIG1haW4ga2V5DQoJCQlzZWxmOjokbG9jYWxrZXkgPSBtZDUoSkNvbXBvbmVudEhlbHBlcjo6Z2V0UGFyYW1zKCdjb21fW1tbY29tcG9uZW50XV1dJyktPmdldCgnbGlua19lbmNyeXB0aW9uJywgJ2xvY2FsS2V5MzRmZFdFa2wnKSk7DQoJCX0NCgkJcmV0dXJuIHNlbGY6OiRsb2NhbGtleTsNCgl9DQoNCglwdWJsaWMgc3RhdGljIGZ1bmN0aW9uIHVwZGF0ZURyb3Bib3goJHR5cGUgPSBmYWxzZSwgJGZvcmNlID0gZmFsc2UpDQoJew0KCQkvLyBsb2FkIHRoZSBmaWxlDQoJCUpMb2FkZXI6OmltcG9ydCgnZHJvcGJveHVwZGF0ZXInLCBKUEFUSF9DT01QT05FTlRfU0lURS4nL2hlbHBlcnMnKTsNCgkJLy8gdXBkYXRlIHR5cGVzDQoJCSR0eXBlcyA9IGFycmF5KCdtYW51YWwnLCdhdXRvJyk7DQoJCS8vIG9rYXkgbm93IHVwZGF0ZSB0aGlzIHR5cGUNCgkJaWYgKHNlbGY6OmNoZWNrU3RyaW5nKCR0eXBlKSAmJiBpbl9hcnJheSgkdHlwZSwkdHlwZXMpKQ0KCQl7DQoJCQkkZHJvcGJveCA9IG5ldyBEcm9wYm94dXBkYXRlcigpOw0KCQkJcmV0dXJuICRkcm9wYm94LT51cGRhdGUoJHR5cGUsJGZvcmNlKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ==', 'A sermon distributor that links to Dropbox.', '', '', 'https://www.vdm.io/', '{\"version\":[\"1.0.0\",\"1.2.9\",\"1.3.0\"],\"mysql\":[\"\",\"\",\"\"],\"url\":[\"https://github.com/SermonDistributor/Joomla-3-Component/archive/V1.2.9.zip\",\"https://github.com/SermonDistributor/Joomla-3-Component/archive/V1.2.9.zip\",\"https://github.com/SermonDistributor/Joomla-3-Component/archive/v1.3.0.zip\"]}', '', 1, 450, 450, '2015-10-22 16:59:20', '2016-01-11 20:14:47', '', '0000-00-00 00:00:00', 165, '', 1, 5), -(14, 15605, '', 1, 1, 1, '', '', '{\"adminview\":[\"18\",\"14\",\"43\",\"25\",\"24\",\"20\",\"22\",\"21\",\"13\",\"12\",\"33\"],\"icomoon\":[\"joomla\",\"stack\",\"stack\",\"stack\",\"brush\",\"brush\",\"database\",\"pin\",\"lamp\",\"power-cord\",\"support\"],\"mainmenu\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"dashboard_add\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"dashboard_list\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"submenu\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"checkin\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"history\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"metadata\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"access\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\"],\"port\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"edit_create_site_view\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\"]}', '{\"field\":[\"316\",\"257\",\"969\",\"962\",\"968\",\"963\",\"967\",\"964\",\"966\",\"965\"],\"custom_value\":[\"0\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"tabname\":[\"Global\",\"Global\",\"Folder Paths\",\"Folder Paths\",\"Folder Paths\",\"Folder Paths\",\"Folder Paths\",\"Folder Paths\",\"Folder Paths\",\"Folder Paths\"]}', '{\"name\":[\"Roline van der Merwe\"],\"title\":[\"My Wife\"],\"email\":[\"info@vdm.io\"],\"website\":[\"http://www.vdm.io/\"],\"use\":[\"2\"],\"show\":[\"3\"]}', '', '{\"name\":[\"Compiler\"],\"name_code\":[\"compiler\"],\"link\":[\"\"],\"icon\":[\"gear-4457218834.png\"],\"mainmenu\":[\"1\"],\"dashboard_list\":[\"1\"],\"submenu\":[\"1\"],\"before\":[\"18\"]}', '{\"file\":[\"compilerController.php\",\"compilerController.php\",\"compilerModel.php\",\"compilerModel.php\",\"compiler.php\",\"compiler.php\",\"js.php\",\"js.php\",\"keywords_after.txt\",\"keywords_after.txt\",\"keywords_before.txt\",\"keywords_before.txt\",\"keywords_reserved.txt\",\"keywords_reserved.txt\",\"minify.php\",\"minify.php\",\"operators_after.txt\",\"operators_after.txt\",\"operators_before.txt\",\"operators_before.txt\",\"ajax-loader.gif\",\"ajax-loader.gif\",\"ajax.gif\",\"ajax.gif\",\"grid.png\",\"grid.png\",\"view.htmlCompiler.php\",\"view.htmlCompiler.php\",\"defaultCompiler.php\",\"defaultCompiler.php\",\"indenter.php\",\"indenter.php\",\"PHPExcel.php\",\"base64.js\",\"bootstrap-tab.js\",\"bootstrap.min.js\",\"bootstrapSwitch.js\",\"chartMenu.js\",\"chartbuilder.php\",\"data-generator.js\",\"downloadController.php\",\"downloadController_sermonDistributor.php\",\"dropbox.php\",\"dropboxupdater.php\",\"fb_loader.gif\",\"form.js\",\"form-password.js\",\"form-password.min.js\",\"google.jsapi.js\",\"iframeheight.min.js\",\"index.html\",\"jquery.mockjax.js\",\"mustache.js\",\"offline.min.js\",\"soundmanager2.js\",\"updatedropbox.js\",\"index.html\"],\"path\":[\"admin/controllers/compiler.php\",\"admin/custom\",\"admin/models/compiler.php\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/assets/images\",\"admin/custom\",\"admin/assets/images\",\"admin/custom\",\"admin/assets/images\",\"admin/custom\",\"admin/views/compiler/view.html.php\",\"admin/custom\",\"admin/views/compiler/tmpl/default.php\",\"admin/custom\",\"admin/helpers\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom/custem\"],\"notnew\":[\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '{\"folder\":[\"compilerViews\",\"compiler\",\"custem\",\"compilerViews\",\"compiler\",\"PHPExcel\",\"footable\",\"importViews\",\"soundmanager\",\"uikit\",\"custem\"],\"path\":[\"admin/views/compiler\",\"admin/\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\",\"admin/custom\"],\"rename\":[\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', 1, 1, '', '', '', '', '', 'RjbAylfd/nn8U/XR7UmA0/JAaye3M4ZlmKnA3+wJ2v1RUhiQt5s9thqtp84S2XYTR0yA6/60iPjU7fpVU7s+dX91zGisehmC8VYE7bquQmRHrZR6nNOCctqhCA9V/+Uwd7ALhWg529cmCo1uYacB0hZjN0s4YgH8bg6RKWOO6to1rChzRrrvo4geB6Aiuasg', 'JQjZFnLb2UOE5l8nIkaPRu6AU9GNRkZqc7EaUP4PErW0OVJOgPpf5/vcWjBOwQ160WO/pdUWJYn3Z1f6y5asK3yL+MKMZaVNopmyUhLkwk23b4b5i/gam0ZfhybfnlOFSq/BgEEQyG4E8bdLz5blShdSH2xpTuqndfzv5vIWb82BLEEerf/lGJOwefE/m1Le', '', '', 1, 'IyAjIyNDb21wb25lbnRfbmFtZSMjIyAoIyMjVkVSU0lPTiMjIykNCg0KIyMjREVTQ1JJUFRJT04jIyMNCg0KIyBCdWlsZCBEZXRhaWxzDQoNCisgKkNvbXBhbnkqOiBbIyMjQ09NUEFOWU5BTUUjIyNdICgjIyNBVVRIT1JXRUJTSVRFIyMjKQ0KKyAqQXV0aG9yKjogWyMjI0FVVEhPUiMjI10gKG1haWx0bzojIyNBVVRIT1JFTUFJTCMjIykNCisgKk5hbWUqOiBbIyMjQ29tcG9uZW50X25hbWUjIyNdICgjIyNBVVRIT1JXRUJTSVRFIyMjKQ0KKyAqRmlyc3QgQnVpbGQqOiAjIyNDUkVBVElPTkRBVEUjIyMNCisgKkxhc3QgQnVpbGQqOiAjIyNCVUlMRERBVEUjIyMNCisgKlZlcnNpb24qOiAjIyNWRVJTSU9OIyMjDQorICpDb3B5cmlnaHQqOiAjIyNDT1BZUklHSFQjIyMNCisgKkxpY2Vuc2UqOiAjIyNMSUNFTlNFIyMjDQoNCiMjIEJ1aWxkIFRpbWUNCg0KKiojIyN0b3RhbEhvdXJzIyMjIEhvdXJzKiogb3IgKiojIyN0b3RhbERheXMjIyMgRWlnaHQgSG91ciBEYXlzKiogKGFjdHVhbCB0aW1lIHRoZSBhdXRob3Igc2F2ZWQgLQ0KZHVlIHRvIFtBdXRvbWF0ZWQgQ29tcG9uZW50IEJ1aWxkZXJdIChodHRwczovL3d3dy52ZG0uaW8vam9vbWxhLWNvbXBvbmVudC1idWlsZGVyKSkNCg0KPiAoaWYgY3JlYXRpbmcgYSBmb2xkZXIgYW5kIGZpbGUgdG9vayAqKjUgc2Vjb25kcyoqIGFuZCB3cml0aW5nIG9uZSBsaW5lIG9mIGNvZGUgdG9vayAqKjEwIHNlY29uZHMqKiwNCj4gbmV2ZXIgbWFraW5nIG9uZSBtaXN0YWtlIG9yIHRha2luZyBhbnkgY29mZmVlIGJyZWFrLikNCg0KKyAqTGluZSBjb3VudCo6ICoqIyMjTElORV9DT1VOVCMjIyoqDQorICpGaWxlIGNvdW50KjogKiojIyNGSUxFX0NPVU5UIyMjKioNCisgKkZvbGRlciBjb3VudCo6ICoqIyMjRk9MREVSX0NPVU5UIyMjKioNCg0KKiojIyNhY3R1YWxIb3Vyc1NwZW50IyMjIEhvdXJzKiogb3IgKiojIyNhY3R1YWxEYXlzU3BlbnQjIyMgRWlnaHQgSG91ciBEYXlzKiogKHRoZSBhY3R1YWwgdGltZSB0aGUgYXV0aG9yIHNwZW50KQ0KDQo+ICh3aXRoIHRoZSBmb2xsb3dpbmcgYnJlYWsgZG93bjoNCj4gKipkZWJ1Z2dpbmcgQCMjI2RlYnVnZ2luZ0hvdXJzIyMjaG91cnMqKiA9IGNvZGluZ3RpbWUgLyA0Ow0KPiAqKnBsYW5uaW5nIEAjIyNwbGFubmluZ0hvdXJzIyMjaG91cnMqKiA9IGNvZGluZ3RpbWUgLyA3Ow0KPiAqKm1hcHBpbmcgQCMjI21hcHBpbmdIb3VycyMjI2hvdXJzKiogPSBjb2Rpbmd0aW1lIC8gMTA7DQo+ICoqb2ZmaWNlIEAjIyNvZmZpY2VIb3VycyMjI2hvdXJzKiogPSBjb2Rpbmd0aW1lIC8gNjspDQoNCioqIyMjYWN0dWFsVG90YWxIb3VycyMjIyBIb3VycyoqIG9yICoqIyMjYWN0dWFsVG90YWxEYXlzIyMjIEVpZ2h0IEhvdXIgRGF5cyoqDQooYSB0b3RhbCBvZiB0aGUgcmVhbGlzdGljIHRpbWUgZnJhbWUgZm9yIHRoaXMgcHJvamVjdCkNCg0KPiAoaWYgY3JlYXRpbmcgYSBmb2xkZXIgYW5kIGZpbGUgdG9vayAqKjUgc2Vjb25kcyoqIGFuZCB3cml0aW5nIG9uZSBsaW5lIG9mIGNvZGUgdG9vayAqKjEwIHNlY29uZHMqKiwNCj4gd2l0aCB0aGUgbm9ybWFsIGV2ZXJ5ZGF5IHJlYWxpdGllcyBhdCB0aGUgb2ZmaWNlLCB0aGF0IGluY2x1ZGVzIHRoZSBjb21wb25lbnQgcGxhbm5pbmcsIG1hcHBpbmcgJiBkZWJ1Z2dpbmcuKQ0KDQpQcm9qZWN0IGR1cmF0aW9uOiAqKiMjI3Byb2plY3RXZWVrVGltZSMjIyB3ZWVrcyoqIG9yICoqIyMjcHJvamVjdE1vbnRoVGltZSMjIyBtb250aHMqKg0KDQo+IFRoaXMgKipjb21wb25lbnQqKiB3YXMgYnVpbGQgd2l0aCBhIEpvb21sYSBbQXV0b21hdGVkIENvbXBvbmVudCBCdWlsZGVyXSAoaHR0cHM6Ly93d3cudmRtLmlvL2pvb21sYS1jb21wb25lbnQtYnVpbGRlcikuDQo+IERldmVsb3BlZCBieSBbTGxld2VsbHluIHZhbiBkZXIgTWVyd2VdIChtYWlsdG86am9vbWxhQHZkbS5pbyk=', 'Llewellyn van der Merwe', 'vdm.txt', 'Vast Development Method', '2.1.0', '', 'Copyright (C) 2015. All Rights Reserved', '', 'LmZpZWxkTWVkaXVtIHsgd2lkdGg6IDEzMHB4OyB9DQouZmllbGRTbWFsbCB7IHdpZHRoOiA2MHB4OyB9DQpjb2RlIHsgZGlzcGxheTogaW5saW5lLWJsb2NrOyBtYXJnaW46IDNweDt9', '', 'The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time.', 'info@vdm.io', 1, 'images/component-builder.png', 'GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html', 'Component Builder', 'Component Builder (include)', 'componentbuilder', '', 4, 'CS8qKg0KCSAqCWluZGVudCBIVE1MDQoJICovDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBpbmRlbnQoJGh0bWwpDQoJew0KCQkvLyBsb2FkIHRoZSBjbGFzcw0KCQlyZXF1aXJlX29uY2UgSlBBVEhfQURNSU5JU1RSQVRPUi4nL2NvbXBvbmVudHMvY29tX1tbW2NvbXBvbmVudF1dXS9oZWxwZXJzL2luZGVudGVyLnBocCc7DQoJCS8vIHNldCBuZXcgaW5kZW50ZXINCgkJJGluZGVudGVyID0gbmV3IEluZGVudGVyKCk7DQoJCS8vIHJldHVybiBpbmRlbnRlZCBodG1sDQoJCXJldHVybiAkaW5kZW50ZXItPmluZGVudCgkaHRtbCk7DQoJfQ0KDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBjaGVja0ZpbGVUeXBlKCRmaWxlLCAkc3VmaXgpIHsNCgkJLy8gbm93IGNoZWNrIGlmIHRoZSBmaWxlIGVuZHMgd2l0aCB0aGUgc3VmaXgNCgkJcmV0dXJuICRzdWZpeCA9PT0gIiIgfHwgKCRzdWZpeCA9PSBzdWJzdHIoc3RycmNocigkZmlsZSwgIi4iKSwgLXN0cmxlbigkc3VmaXgpKSk7DQoJfQ0KDQoJcHVibGljIHN0YXRpYyBmdW5jdGlvbiBpbWFnZUluZm8oJHBhdGgsJHJlcXVlc3QgPSAndHlwZScpDQoJew0KCQkvLyBzZXQgaW1hZ2UNCgkJJGltYWdlID0gSlBBVEhfU0lURS4nLycuJHBhdGg7DQoJCS8vIGNoYWNrIGlmIGV4aXN0cw0KCQlpZiAoZmlsZV9leGlzdHMoJGltYWdlKSkNCgkJew0KCQkJLy8gZ2V0IGltYWdlIGluZm8NCgkJCSRyZXN1bHQgPSBnZXRpbWFnZXNpemUoJGltYWdlKTsNCgkJCS8vIHJldHVybiB0eXBlIHJlcXVlc3QNCgkJCXN3aXRjaCAoJHJlcXVlc3QpDQoJCQl7DQoJCQkJY2FzZSAnd2lkdGgnOg0KCQkJCQlyZXR1cm4gJHJlc3VsdFswXTsNCgkJCQkJYnJlYWs7DQoJCQkJY2FzZSAnaGVpZ2h0JzoNCgkJCQkJcmV0dXJuICRyZXN1bHRbMV07DQoJCQkJCWJyZWFrOw0KCQkJCWNhc2UgJ3R5cGUnOg0KCQkJCQkkZXh0ZW5zaW9ucyA9IGFycmF5KA0KCQkJCQkJSU1BR0VUWVBFX0dJRiA9PiAiZ2lmIiwNCgkJCQkJCUlNQUdFVFlQRV9KUEVHID0+ICJqcGciLA0KCQkJCQkJSU1BR0VUWVBFX1BORyA9PiAicG5nIiwNCgkJCQkJCUlNQUdFVFlQRV9TV0YgPT4gInN3ZiIsDQoJCQkJCQlJTUFHRVRZUEVfUFNEID0+ICJwc2QiLA0KCQkJCQkJSU1BR0VUWVBFX0JNUCA9PiAiYm1wIiwNCgkJCQkJCUlNQUdFVFlQRV9USUZGX0lJID0+ICJ0aWZmIiwNCgkJCQkJCUlNQUdFVFlQRV9USUZGX01NID0+ICJ0aWZmIiwNCgkJCQkJCUlNQUdFVFlQRV9KUEMgPT4gImpwYyIsDQoJCQkJCQlJTUFHRVRZUEVfSlAyID0+ICJqcDIiLA0KCQkJCQkJSU1BR0VUWVBFX0pQWCA9PiAianB4IiwNCgkJCQkJCUlNQUdFVFlQRV9KQjIgPT4gImpiMiIsDQoJCQkJCQlJTUFHRVRZUEVfU1dDID0+ICJzd2MiLA0KCQkJCQkJSU1BR0VUWVBFX0lGRiA9PiAiaWZmIiwNCgkJCQkJCUlNQUdFVFlQRV9XQk1QID0+ICJ3Ym1wIiwNCgkJCQkJCUlNQUdFVFlQRV9YQk0gPT4gInhibSIsDQoJCQkJCQlJTUFHRVRZUEVfSUNPID0+ICJpY28iDQoJCQkJCSk7DQoJCQkJCXJldHVybiAkZXh0ZW5zaW9uc1skcmVzdWx0WzJdXTsNCgkJCQkJYnJlYWs7DQoJCQkJY2FzZSAnYXR0cic6DQoJCQkJCXJldHVybiAkcmVzdWx0WzNdOw0KCQkJCQlicmVhazsNCgkJCQljYXNlICdhbGwnOg0KCQkJCWRlZmF1bHQ6DQoJCQkJCXJldHVybiAkcmVzdWx0Ow0KCQkJCQlicmVhazsNCgkJCX0NCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KCQ0KCXB1YmxpYyBzdGF0aWMgZnVuY3Rpb24gZ2V0QmV0d2VlbigkY29udGVudCwkc3RhcnQsJGVuZCkNCgl7DQoJCSRyID0gZXhwbG9kZSgkc3RhcnQsICRjb250ZW50KTsNCgkJaWYgKGlzc2V0KCRyWzFdKSkNCgkJew0KCQkJJHIgPSBleHBsb2RlKCRlbmQsICRyWzFdKTsNCgkJCXJldHVybiAkclswXTsNCgkJfQ0KCQlyZXR1cm4gJyc7DQoJfQ0KCQ0KCXB1YmxpYyBzdGF0aWMgZnVuY3Rpb24gZ2V0QWxsQmV0d2VlbigkY29udGVudCwkc3RhcnQsJGVuZCkNCgl7DQoJCSRidWtldCA9IGFycmF5KCk7DQoJCWZvciAoJGkgPSAwOyA7ICRpKyspDQoJCXsNCgkJCSRmb3VuZCA9IHNlbGY6OmdldEJldHdlZW4oJGNvbnRlbnQsJHN0YXJ0LCRlbmQpOw0KCQkJaWYgKHNlbGY6OmNoZWNrU3RyaW5nKCRmb3VuZCkpDQoJCQl7DQoJCQkJJGJ1a2V0W10gPSAkZm91bmQ7DQoJCQkJJHJlbW92ZSA9ICRzdGFydC4kZm91bmQuJGVuZDsNCgkJCQkkY29udGVudCA9IHN0cl9yZXBsYWNlKCRyZW1vdmUsJycsJGNvbnRlbnQpOw0KCQkJfQ0KCQkJZWxzZQ0KCQkJew0KCQkJCWJyZWFrOw0KCQkJfQ0KCQkJLy8gc2FmZXR5IGNhdGNoDQoJCQlpZiAoJGkgPT0gNTAwKQ0KCQkJew0KCQkJCWJyZWFrOw0KCQkJfQ0KCQl9DQoJCXJldHVybiAgYXJyYXlfdW5pcXVlKCRidWtldCk7DQoJfQ0KCQ0KCXB1YmxpYyBzdGF0aWMgZnVuY3Rpb24gdHlwZUZpZWxkKCR0eXBlLCRvcHRpb24gPSAnZGVmYXVsdCcpDQoJew0KCQkvLyBsaXN0IG9mIGRlZmF1bHQgZmllbGRzDQoJCS8vIGh0dHBzOi8vZG9jcy5qb29tbGEub3JnL0Zvcm1fZmllbGQNCgkJJGZpZWxkcyA9IGFycmF5KA0KCQkJJ2RlZmF1bHQnID0+IGFycmF5KA0KCQkJCSdhY2Nlc3NsZXZlbCcsJ2NhY2hlaGFuZGxlcicsJ2NhbGVuZGFyJywnY2FwdGNoYScsJ2NhdGVnb3J5JywnY2hlY2tib3gnLA0KCQkJCSdjaGVja2JveGVzJywnY29sb3InLCdjb21ibycsJ2NvbXBvbmVudGxheW91dCcsJ2NvbnRlbnRsYW5ndWFnZScsJ2VkaXRvcicsDQoJCQkJJ2Nocm9tZXN0eWxlJywnY29udGVudHR5cGUnLCdkYXRhYmFzZWNvbm5lY3Rpb24nLCdlZGl0b3JzJywnZW1haWwnLCdmaWxlJywNCgkJCQknZmlsZWxpc3QnLCdmb2xkZXJsaXN0JywnZ3JvdXBlZGxpc3QnLCdoaWRkZW4nLCdmaWxlJywnaGVhZGVydGFnJywnaGVscHNpdGUnLA0KCQkJCSdpbWFnZWxpc3QnLCdpbnRlZ2VyJywnbGFuZ3VhZ2UnLCdsaXN0JywnbWVkaWEnLCdtZW51Jywnbm90ZScsJ3Bhc3N3b3JkJywNCgkJCQkncGx1Z2lucycsJ3JhbmdlJywncmFkaW8nLCdyZXBlYXRhYmxlJywncnVsZXMnLCdzZXNzaW9uaGFuZGxlcicsJ3NwYWNlcicsJ3NxbCcsJ3RhZycsDQoJCQkJJ3RlbCcsJ21lbnVpdGVtJywnbW9kdWxlbGF5b3V0JywnbWV0ZXInLCdtb2R1bGVvcmRlcicsJ21vZHVsZXBvc2l0aW9uJywnbW9kdWxldGFnJywNCgkJCQkndGVtcGxhdGVzdHlsZScsJ3RleHQnLCd0ZXh0YXJlYScsJ3RpbWV6b25lJywndXJsJywndXNlcicsJ3VzZXJncm91cCcNCgkJCSksIA0KCQkJJ3RleHQnID0+IGFycmF5KA0KCQkJCSdjYWxlbmRhcicsJ2NvbG9yJywnZWRpdG9yJywnZW1haWwnLCdwYXNzd29yZCcsJ3RlbCcsJ3RleHQnLCd0ZXh0YXJlYScsJ3VybCcsJ251bWJlcicsJ3JhbmdlJw0KCQkJKSwgDQoJCQknbGlzdCcgPT4gYXJyYXkoDQoJCQkJJ2NoZWNrYm94ZXMnLCdjaGVja2JveCcsJ2xpc3QnLCdyYWRpbycNCgkJCSksIA0KCQkJJ2R5bmFtaWMnID0+IGFycmF5KA0KCQkJCSdjYXRlZ29yeScsJ2hlYWRlcnRhZycsJ3RhZycsJ3J1bGVzJywndXNlcicsJ2ZpbGUnLCdmaWxlbGlzdCcsJ2ZvbGRlcmxpc3QnLCdpbWFnZWxpc3QnLCdpbnRlZ2VyJywndGltZXpvbmUnLCdtZWRpYScsJ21ldGVyJw0KCQkJKQ0KCQkpOw0KCQkNCgkJaWYgKGluX2FycmF5KCR0eXBlLCRmaWVsZHNbJG9wdGlvbl0pKQ0KCQl7DQoJCQlyZXR1cm4gdHJ1ZTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7CQkNCgl9', '', 'Builds Complex Joomla Components', '', '{\"adminview\":[\"18\",\"14\",\"43\",\"25\",\"13\",\"24\",\"20\",\"22\"],\"add_sql\":[\"1\",\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"add_sql_options\":[\"2\",\"2\",\"\",\"2\",\"2\",\"2\",\"2\",\"2\"],\"ids\":[\"5,8,14\",\"12=>14,18,20=>22,24,25,33,42,43,53,56,54,55\",\"\",\"11,12,13,14,15,16,17\",\"1,4=>20,23,34=>36,43,46=>48,53,65,66,69=>71,84,85,147=>149,157,160,167,168,172,198=>203,206,210=>216,218,219,225,224,230=>234,238,255,257,258,273,279,280,284,288=>294,297,298,300=>303,307,309,311,312,314,318=>327,330=>333,338,340,342,343,351,376,380,492,530=>532,538=>540,542=>544,546,551=>556,558=>563,565=>569,573=>579,597=>604,662=>665,676,682=>684,691=>694,696,699,701=>705,720=>724,755,756,757,787,789,794,795,799,802,803,804,807=>827,829,830=>835,836,837,838,839,841,845,840,842=>867,869=>897,884,887=>895,899,900=>922,926,931,936,939,940,941,942,943,944,945,946,948,949,953=>961,970,972=>974,1017=>1020,1023,1027,1032,1033,1036,1038=>1041\",\"19 => 48\",\"20 => 46\",\"19 => 35\"]}', 'https://www.vdm.io/joomla-component-builder', '{\"version\":[\"1.0.0\",\"1.0.5\",\"1.1.0\",\"2.0.0\",\"2.0.7\",\"2.0.8\",\"2.0.9\",\"2.1.0\"],\"mysql\":[\"\",\"\",\"\",\"\",\"ALTER TABLE `#__componentbuilder_component`\\nADD `whmcs_key` VARCHAR(255) NOT NULL DEFAULT \'\';\\nALTER TABLE `#__componentbuilder_component`\\nADD `whmcs_url` VARCHAR(255) NOT NULL DEFAULT \'\';\",\"\",\"ALTER TABLE `#__componentbuilder_component` ADD `add_php_dashboard_methods` TINYINT( 1 ) NOT NULL AFTER `add_sales_server` ,\\nADD `php_dashboard_methods` MEDIUMTEXT NOT NULL AFTER `add_php_dashboard_methods` ,\\nADD `dashboard_tab` TEXT NOT NULL AFTER `php_dashboard_methods` ;\",\"\"],\"url\":[\"http://vdm.bz/component-builder-advanced\",\"http://vdm.bz/component-builder-advanced\",\"http://vdm.bz/component-builder-advanced\",\"http://vdm.bz/component-builder-advanced\",\"http://vdm.bz/component-builder-advanced\",\"http://vdm.bz/component-builder-advanced\",\"http://vdm.bz/component-builder-advanced\",\"http://vdm.bz/component-builder-advanced\"]}', '', 1, 845, 450, '2016-01-30 20:46:51', '2016-02-19 11:55:04', '', '0000-00-00 00:00:00', 10, '', 1, 8); - --- --- Dumping data for table `#__componentbuilder_admin_view` --- - -INSERT INTO `#__componentbuilder_admin_view` (`id`, `asset_id`, `add_css_view`, `add_css_views`, `add_javascript_view_file`, `add_javascript_view_footer`, `add_javascript_views_file`, `add_javascript_views_footer`, `add_php_ajax`, `add_php_allowedit`, `add_php_batchcopy`, `add_php_batchmove`, `add_php_getitem`, `add_php_getitems`, `add_php_getlistquery`, `add_php_postsavehook`, `add_php_save`, `add_sql`, `addconditions`, `addfields`, `addlinked_views`, `addpermissions`, `addtables`, `addtabs`, `add_php_before_delete`, `add_php_after_delete`, `php_before_delete`, `php_after_delete`, `ajax_input`, `css_view`, `css_views`, `description`, `icon`, `icon_add`, `icon_category`, `javascript_view_file`, `javascript_view_footer`, `javascript_views_file`, `javascript_views_footer`, `name_list`, `system_name`, `name_single`, `not_required`, `php_ajaxmethod`, `php_allowedit`, `php_batchcopy`, `php_batchmove`, `php_getitem`, `php_getitems`, `php_getlistquery`, `php_postsavehook`, `php_save`, `short_description`, `source`, `sql`, `type`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `checked_out`, `checked_out_time`, `version`, `hits`, `access`, `ordering`) VALUES -(12, 2346, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 1, '', '{\"field\":[\"199\",\"149\",\"255\",\"84\",\"211\",\"238\"],\"list\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\"],\"filter\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"alignment\":[\"1\",\"1\",\"1\",\"1\",\"2\",\"2\"],\"order_edit\":[\"1\",\"2\",\"3\",\"4\",\"1\",\"2\"]}', '{\"adminview\":[\"13\"],\"tab\":[\"2\"],\"key\":[\"type\"],\"parentkey\":[\"id\"],\"addnew\":[\"1\"]}', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[\"componentbuilder_fieldtype\"],\"sourcemap\":[\"id => id\\nasset_id => asset_id\\ncatid => catid\\ndescription => description\\nname => name\\nproperties => properties\\nshort_description => short_description\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nchecked_out => checked_out\\nchecked_out_time => checked_out_time\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Details\",\"Fields\"]}', '', '', '', '', '', '', '', '', 'images/System-icon.png', 'images/System-icon-plus.png', 'images/System-icon-category.png', '', '', '', '', 'Fieldtypes', 'Fieldtype', 'Fieldtype', '', '', '', '', '', '', '', '', '', '', 'Where field types are created', 1, '', 1, '', 1, 845, 450, '2015-04-30 12:07:10', '2016-01-06 14:23:23', '', '0000-00-00 00:00:00', 10, '', 1, ''), -(13, 2347, '', '', 1, 1, '', '', 1, '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"224\"],[\"225\"],[\"258\"],[\"216\"],[\"216\"],[\"65\"],[\"66\"],[\"290\"],[\"291\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"match_field\":[\"70\",\"69\",\"71\",\"258\",\"71\",\"7\",\"8\",\"288\",\"289\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"Other\",\"Other\",\"CHAR\\nVARCHAR\\nTEXT\\nMEDIUMTEXT\\nLONGTEXT\",\"4|Advance Encryption (VDM-key)\",\"CHAR\\nVARCHAR\\nTEXT\\nMEDIUMTEXT\\nLONGTEXT\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\"]}', '{\"field\":[\"148\",\"199\",\"147\",\"71\",\"70\",\"224\",\"69\",\"225\",\"160\",\"218\",\"258\",\"216\",\"302\",\"284\",\"303\",\"7\",\"65\",\"8\",\"66\",\"288\",\"290\",\"289\",\"291\",\"203\"],\"list\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"2\",\"1\",\"0\",\"3\",\"0\",\"0\",\"0\",\"0\",\"4\",\"5\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"1\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"1\"],\"alignment\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"3\",\"3\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"5\"],\"order_edit\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"1\",\"1\",\"2\",\"1\",\"2\",\"3\",\"4\",\"1\",\"2\",\"3\",\"4\",\"1\"]}', '', '{\"action\":[\"view.edit\",\"view.edit.state\",\"view.edit.own\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[\"componentbuilder_field\"],\"sourcemap\":[\"id => id\\nasset_id => asset_id\\nadd_css_view => add_css_view\\nadd_css_views => add_css_views\\nadd_javascript_view_footer => add_javascript_view_footer\\nadd_javascript_views_footer => add_javascript_views_footer\\ncatid => catid\\ncss_view => css_view\\ncss_views => css_views\\ndatadefault => datadefault\\ndatadefault_other => datadefault_other\\ndatalenght => datalenght\\ndatalenght_other => datalenght_other\\ndatatype => datatype\\nindexes => indexes\\njavascript_view_footer => javascript_view_footer\\njavascript_views_footer => javascript_views_footer\\nname => name\\nnot_required => not_required\\nnull_switch => null_switch\\nstore => store\\ntype => type\\nxml => xml\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nchecked_out => checked_out\\nchecked_out_time => checked_out_time\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Details\",\"Scripts\"]}', '', '', '', '', '{\"value_name\":[\"id\"],\"task_name\":[\"fieldOptions\"],\"input_default\":[\"NULL\"],\"input_filter\":[\"INT\"],\"method_name\":[\"getFieldOptions\"]}', '', '', '', 'images/field_add.png', 'images/field_add-plus.png', 'images/fieldtypes_categories.png', 'ZnVuY3Rpb24gZ2V0RmllbGRPcHRpb25zX3NlcnZlcihmaWVsZElkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXguZmllbGRPcHRpb25zJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIGZpZWxkSWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScrZmllbGRJZDsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0RmllbGRPcHRpb25zKGlkLHNldFZhbHVlKXsNCglnZXRGaWVsZE9wdGlvbnNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQudmFsdWVzKXsNCgkJCWlmKHNldFZhbHVlKXsNCgkJCQlqUXVlcnkoJ3RleHRhcmVhI2pmb3JtX3htbCcpLnZhbChyZXN1bHQudmFsdWVzKTsNCgkJCX0NCgkJCWpRdWVyeSgnI2hlbHAnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLmhlbHBOb3RlJykuYXBwZW5kKCc8ZGl2IGlkPSJoZWxwIiBzdHlsZT0ibWFyZ2luOiAxMHB4OyI+JytyZXN1bHQuZGVzY3JpcHRpb24rJzxiciAvPicrcmVzdWx0LnZhbHVlc19kZXNjcmlwdGlvbisnPC9kaXY+Jyk7DQoJCX0NCgl9KQ0KfSA=', 'alF1ZXJ5KGZ1bmN0aW9uKCkgew0KICAgIGpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KICAgICAgICBqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KICAgIH0pOw0KfSk7DQoNCmpRdWVyeS5mbi5zZWxUZXh0ID0gZnVuY3Rpb24oKSB7DQogICAgdmFyIG9iaiA9IHRoaXNbMF07DQogICAgaWYgKGpRdWVyeS5icm93c2VyLm1zaWUpIHsNCiAgICAgICAgdmFyIHJhbmdlID0gb2JqLm9mZnNldFBhcmVudC5jcmVhdGVUZXh0UmFuZ2UoKTsNCiAgICAgICAgcmFuZ2UubW92ZVRvRWxlbWVudFRleHQob2JqKTsNCiAgICAgICAgcmFuZ2Uuc2VsZWN0KCk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5tb3ppbGxhIHx8ICQuYnJvd3Nlci5vcGVyYSkgew0KICAgICAgICB2YXIgc2VsZWN0aW9uID0gb2JqLm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXcuZ2V0U2VsZWN0aW9uKCk7DQogICAgICAgIHZhciByYW5nZSA9IG9iai5vd25lckRvY3VtZW50LmNyZWF0ZVJhbmdlKCk7DQogICAgICAgIHJhbmdlLnNlbGVjdE5vZGVDb250ZW50cyhvYmopOw0KICAgICAgICBzZWxlY3Rpb24ucmVtb3ZlQWxsUmFuZ2VzKCk7DQogICAgICAgIHNlbGVjdGlvbi5hZGRSYW5nZShyYW5nZSk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5zYWZhcmkpIHsNCiAgICAgICAgdmFyIHNlbGVjdGlvbiA9IG9iai5vd25lckRvY3VtZW50LmRlZmF1bHRWaWV3LmdldFNlbGVjdGlvbigpOw0KICAgICAgICBzZWxlY3Rpb24uc2V0QmFzZUFuZEV4dGVudChvYmosIDAsIG9iaiwgMSk7DQogICAgfQ0KICAgIHJldHVybiB0aGlzOw0KfQ0KDQpqUXVlcnkoJyNkZXRhaWxzJykub24oJ2NoYW5nZScsICcjamZvcm1fdHlwZScsZnVuY3Rpb24gKGUpIHsNCgllLnByZXZlbnREZWZhdWx0KCk7DQoJLy8gZ2V0IHR5cGUgdmFsdWUNCgl2YXIgZmllbGRJZCA9IGpRdWVyeSgiI2pmb3JtX3R5cGUgb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJZ2V0RmllbGRPcHRpb25zKGZpZWxkSWQsdHJ1ZSk7DQp9KTsNCg0KalF1ZXJ5KGRvY3VtZW50KS5yZWFkeShmdW5jdGlvbigpIHsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBmaWVsZElkID0galF1ZXJ5KCIjamZvcm1fdHlwZSBvcHRpb246c2VsZWN0ZWQiKS52YWwoKTsNCglpZihqUXVlcnkoJyNqZm9ybV94bWwnKS5sZW5ndGggPT0gMCkgew0KCQlnZXRGaWVsZE9wdGlvbnMoZmllbGRJZCx0cnVlKTsNCgl9IGVsc2Ugew0KCQlnZXRGaWVsZE9wdGlvbnMoZmllbGRJZCxmYWxzZSk7DQoJfQ0KfSk7', '', '', 'Fields', 'Field', 'Field', '', 'CXB1YmxpYyBmdW5jdGlvbiBnZXRGaWVsZE9wdGlvbnMoJGlkKQ0KCXsNCgkJLy8gR2V0IGEgZGIgY29ubmVjdGlvbi4NCgkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkgDQoJCS8vIENyZWF0ZSBhIG5ldyBxdWVyeSBvYmplY3QuDQoJCSRxdWVyeSA9ICRkYi0+Z2V0UXVlcnkodHJ1ZSk7DQoJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdwcm9wZXJ0aWVzJywgJ3Nob3J0X2Rlc2NyaXB0aW9uJywgJ2Rlc2NyaXB0aW9uJykpKTsNCgkJJHF1ZXJ5LT5mcm9tKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fZmllbGR0eXBlJykpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdwdWJsaXNoZWQnKSAuICcgPSAxJyk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2lkJykgLiAnID0gJy4gJGlkKTsNCgkJIA0KCQkvLyBSZXNldCB0aGUgcXVlcnkgdXNpbmcgb3VyIG5ld2x5IHBvcHVsYXRlZCBxdWVyeSBvYmplY3QuDQoJCSRkYi0+c2V0UXVlcnkoJHF1ZXJ5KTsNCgkJJGRiLT5leGVjdXRlKCk7DQoJCWlmICgkZGItPmdldE51bVJvd3MoKSkNCgkJew0KCQkJJHJlc3VsdCA9ICRkYi0+bG9hZE9iamVjdCgpOw0KCQkJJHByb3BlcnRpZXMgPSBqc29uX2RlY29kZSgkcmVzdWx0LT5wcm9wZXJ0aWVzLHRydWUpOw0KCQkJJHBvaW50ZXIgPSAwOw0KCQkJJGZpZWxkID0gYXJyYXkoJ3ZhbHVlcycgPT4gIjxmaWVsZCAiLCAndmFsdWVzX2Rlc2NyaXB0aW9uJyA9PiAnPHVsPicsICdzaG9ydF9kZXNjcmlwdGlvbicgPT4gJHJlc3VsdC0+c2hvcnRfZGVzY3JpcHRpb24sICdkZXNjcmlwdGlvbicgPT4gJHJlc3VsdC0+ZGVzY3JpcHRpb24pOw0KCQkJZm9yZWFjaCAoJHByb3BlcnRpZXNbJ25hbWUnXSBhcyAkbGluZSkNCgkJCXsNCgkJCQkkZmllbGRbJ3ZhbHVlc19kZXNjcmlwdGlvbiddIC49ICc8bGk+PGI+Jy4kcHJvcGVydGllc1snbmFtZSddWyRwb2ludGVyXS4nPC9iPiAnLiRwcm9wZXJ0aWVzWydkZXNjcmlwdGlvbiddWyRwb2ludGVyXS4nPC9saT4nOw0KCQkJCSRmaWVsZFsndmFsdWVzJ10gLj0gIlxuXHQiLiRwcm9wZXJ0aWVzWyduYW1lJ11bJHBvaW50ZXJdLic9IicuJHByb3BlcnRpZXNbJ2V4YW1wbGUnXVskcG9pbnRlcl0uJyIgJzsNCgkJCQkkcG9pbnRlcisrOw0KCQkJfQ0KCQkJJGZpZWxkWyd2YWx1ZXMnXSAuPSAiXG4vPiI7DQoJCQkkZmllbGRbJ3ZhbHVlc19kZXNjcmlwdGlvbiddIC49ICc8L3VsPic7DQoJCQkvLyByZXR1cm4gZm91bmQgZmllbGQgb3B0aW9ucw0KCQkJcmV0dXJuICRmaWVsZDsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ==', '', '', '', '', '', '', '', '', 'Fields used in views are build here', 1, '', 1, '', 1, 845, 450, '2015-04-30 12:08:10', '2016-01-06 14:22:29', '', '0000-00-00 00:00:00', 26, '', 1, ''), -(14, 2302, '', '', 1, 1, '', '', 1, '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"65\"],[\"66\"],[\"167\"],[\"168\"],[\"290\"],[\"291\"],[\"338\",\"333\"],[\"230\"],[\"231\"],[\"663\"],[\"234\"],[\"233\"],[\"665\"],[\"698\"],[\"699\"],[\"1019\"],[\"1020\"],[\"309\"],[\"198\"],[\"198\"],[\"311\"],[\"311\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\"],\"match_field\":[\"7\",\"8\",\"11\",\"12\",\"288\",\"289\",\"332\",\"15\",\"16\",\"662\",\"19\",\"18\",\"664\",\"696\",\"697\",\"1017\",\"1018\",\"13\",\"309\",\"13\",\"309\",\"13\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"2|Dump\",\"1|Yes\",\"1|Table\",\"1|Yes\"]}', '{\"field\":[\"1038\",\"201\",\"200\",\"279\",\"255\",\"84\",\"157\",\"10\",\"43\",\"212\",\"14\",\"215\",\"20\",\"210\",\"9\",\"206\",\"5\",\"676\",\"7\",\"65\",\"8\",\"66\",\"11\",\"167\",\"288\",\"290\",\"12\",\"168\",\"289\",\"291\",\"332\",\"333\",\"338\",\"15\",\"230\",\"16\",\"231\",\"662\",\"663\",\"19\",\"234\",\"18\",\"233\",\"664\",\"665\",\"696\",\"698\",\"697\",\"699\",\"1017\",\"1019\",\"1018\",\"1020\",\"13\",\"309\",\"311\",\"198\",\"203\"],\"list\":[\"1\",\"1\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"2\",\"3\",\"0\",\"4\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"3\",\"3\",\"3\",\"3\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"5\",\"6\",\"6\",\"6\",\"6\",\"1\"],\"alignment\":[\"4\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"1\",\"1\",\"1\",\"3\",\"5\"],\"order_edit\":[\"1\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"1\",\"2\",\"3\",\"4\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"19\",\"20\",\"21\",\"22\",\"23\",\"1\",\"2\",\"3\",\"4\",\"1\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '{\"adminview\":[\"13\"],\"tab\":[\"2\"],\"key\":[\"id\"],\"parentkey\":[\"addfields-R>field\"],\"addnew\":[\"1\"]}', '{\"action\":[\"core.edit\",\"core.edit.state\",\"core.edit.own\",\"core.create\",\"core.delete\",\"view.access\"],\"implementation\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"3\"]}', '{\"table\":[\"componentbuilder_admin_view\"],\"sourcemap\":[\"id => id\\nasset_id => asset_id\\nadd_css_view => add_css_view\\nadd_css_views => add_css_views\\nadd_javascript_view_file => add_javascript_view_file\\nadd_javascript_view_footer => add_javascript_view_footer\\nadd_javascript_views_file => add_javascript_views_file\\nadd_javascript_views_footer => add_javascript_views_footer\\nadd_php_ajax => add_php_ajax\\nadd_php_allowedit => add_php_allowedit\\nadd_php_batchcopy => add_php_batchcopy\\nadd_php_batchmove => add_php_batchmove\\nadd_php_getitem => add_php_getitem\\nadd_php_getitems => add_php_getitems\\nadd_php_getlistquery => add_php_getlistquery\\nadd_php_postsavehook => add_php_postsavehook\\nadd_php_save => add_php_save\\nadd_sql => add_sql\\naddconditions => addconditions\\naddfields => addfields\\naddlinked_views => addlinked_views\\naddpermissions => addpermissions\\naddtables => addtables\\naddtabs => addtabs\\nadd_php_before_delete => add_php_before_delete\\nadd_php_after_delete => add_php_after_delete\\nphp_before_delete => php_before_delete\\nphp_after_delete => php_after_delete\\najax_input => ajax_input\\ncss_view => css_view\\ncss_views => css_views\\ndescription => description\\nicon => icon\\nicon_add => icon_add\\nicon_category => icon_category\\njavascript_view_file => javascript_view_file\\njavascript_view_footer => javascript_view_footer\\njavascript_views_file => javascript_views_file\\njavascript_views_footer => javascript_views_footer\\nname_list => name_list\\nsystem_name => system_name\\nname_single => name_single\\nnot_required => not_required\\nphp_ajaxmethod => php_ajaxmethod\\nphp_allowedit => php_allowedit\\nphp_batchcopy => php_batchcopy\\nphp_batchmove => php_batchmove\\nphp_getitem => php_getitem\\nphp_getitems => php_getitems\\nphp_getlistquery => php_getlistquery\\nphp_postsavehook => php_postsavehook\\nphp_save => php_save\\nshort_description => short_description\\nsource => source\\nsql => sql\\ntype => type\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nchecked_out => checked_out\\nchecked_out_time => checked_out_time\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Settings\",\"Fields\",\"CSS\",\"JavaScript\",\"PHP\",\"MySQL\"]}', '', '', '', '', '{\"value_name\":[\"table\",\"id\"],\"task_name\":[\"tableColumns\",\"fieldSelectOptions\"],\"input_default\":[\"NULL\",\"NULL\"],\"input_filter\":[\"WORD\",\"INT\"],\"method_name\":[\"getTableColumns\",\"getFieldSelectOptions\"]}', '', '', '', 'images/views.png', 'images/view_add.png', '', 'ZnVuY3Rpb24gZ2V0RmllbGRTZWxlY3RPcHRpb25zX3NlcnZlcihmaWVsZElkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXguZmllbGRTZWxlY3RPcHRpb25zJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIGZpZWxkSWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScrZmllbGRJZDsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0RmllbGRTZWxlY3RPcHRpb25zKGlkLGZpZWxkS2V5KXsNCglnZXRGaWVsZFNlbGVjdE9wdGlvbnNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCd0ZXh0YXJlYSNqZm9ybV9hZGRjb25kaXRpb25zX2ZpZWxkc19tYXRjaF9vcHRpb25zLScrZmllbGRLZXkpLnZhbChyZXN1bHQpOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJalF1ZXJ5KCd0ZXh0YXJlYSNqZm9ybV9hZGRjb25kaXRpb25zX2ZpZWxkc19tYXRjaF9vcHRpb25zLScrZmllbGRLZXkpLnZhbCgnJyk7DQoJCX0NCgl9KQ0KfQ0KDQpmdW5jdGlvbiBnZXRUYWJsZUNvbHVtbnNfc2VydmVyKHRhYmxlTmFtZSl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LnRhYmxlQ29sdW1ucyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiB0YWJsZU5hbWUubGVuZ3RoID4gMCl7DQoJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPScrdG9rZW4rJyZ0YWJsZT0nK3RhYmxlTmFtZTsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0VGFibGVDb2x1bW5zKHRhYmxlTmFtZSxmaWVsZEtleSl7DQoJZ2V0VGFibGVDb2x1bW5zX3NlcnZlcih0YWJsZU5hbWUpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdCl7DQoJCQlqUXVlcnkoJ3RleHRhcmVhI2pmb3JtX2FkZHRhYmxlc19maWVsZHNfc291cmNlbWFwLScrZmllbGRLZXkpLnZhbChyZXN1bHQpOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJalF1ZXJ5KCd0ZXh0YXJlYSNqZm9ybV9hZGR0YWJsZXNfZmllbGRzX3NvdXJjZW1hcC0nK2ZpZWxkS2V5KS52YWwoJycpOw0KCQl9DQoJfSkNCn0=', 'PD9waHAgJGZpZWxkTnJzID0gcmFuZ2UoMSw1MDAsMSk7ID8+DQpqUXVlcnkoJyNqZm9ybV9hZGRjb25kaXRpb25zX21vZGFsJykub24oJ3Nob3cuYnMubW9kYWwnLCBmdW5jdGlvbiAoZSkgew0KIAk8P3BocCBmb3JlYWNoKCRmaWVsZE5ycyBhcyAkZmllbGROcik6ID8+alF1ZXJ5KCcjamZvcm1fYWRkY29uZGl0aW9uc19tb2RhbCcpLm9uKCdjaGFuZ2UnLCAnI2pmb3JtX2FkZGNvbmRpdGlvbnNfZmllbGRzX21hdGNoX2ZpZWxkLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4nLGZ1bmN0aW9uIChlKSB7DQoJCWUucHJldmVudERlZmF1bHQoKTsNCgkJLy8gZ2V0IG9wdGlvbnMNCgkJdmFyIGZpZWxkSWRfPD9waHAgZWNobyAkZmllbGROciA/PiA9IGpRdWVyeSgiI2pmb3JtX2FkZGNvbmRpdGlvbnNfZmllbGRzX21hdGNoX2ZpZWxkLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCWdldEZpZWxkU2VsZWN0T3B0aW9ucyhmaWVsZElkXzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4sPD9waHAgZWNobyAkZmllbGROciA/Pik7DQoJfSk7DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCn0pOw0KalF1ZXJ5KCcjamZvcm1fYWRkdGFibGVzX21vZGFsJykub24oJ3Nob3cuYnMubW9kYWwnLCBmdW5jdGlvbiAoZSkgew0KIAk8P3BocCBmb3JlYWNoKCRmaWVsZE5ycyBhcyAkZmllbGROcik6ID8+alF1ZXJ5KCcjamZvcm1fYWRkdGFibGVzX21vZGFsJykub24oJ2NoYW5nZScsICcjamZvcm1fYWRkdGFibGVzX2ZpZWxkc190YWJsZS08P3BocCBlY2hvICRmaWVsZE5yID8+JyxmdW5jdGlvbiAoZSkgew0KCQllLnByZXZlbnREZWZhdWx0KCk7DQoJCS8vIGdldCBvcHRpb25zDQoJCXZhciB0YWJsZU5hbWVfPD9waHAgZWNobyAkZmllbGROciA/PiA9IGpRdWVyeSgiI2pmb3JtX2FkZHRhYmxlc19maWVsZHNfdGFibGUtPD9waHAgZWNobyAkZmllbGROciA/PiBvcHRpb246c2VsZWN0ZWQiKS52YWwoKTsNCgkJZ2V0VGFibGVDb2x1bW5zKHRhYmxlTmFtZV88P3BocCBlY2hvICRmaWVsZE5yID8+LDw/cGhwIGVjaG8gJGZpZWxkTnIgPz4pOw0KCX0pOw0KCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQp9KTsNCg==', '', '', 'Admin Views', 'Admin View', 'Admin View', '', 'CXB1YmxpYyBmdW5jdGlvbiBnZXRGaWVsZFNlbGVjdE9wdGlvbnMoJGlkKQ0KCXsNCgkJLy8gR2V0IGEgZGIgY29ubmVjdGlvbi4NCgkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkgDQoJCS8vIENyZWF0ZSBhIG5ldyBxdWVyeSBvYmplY3QuDQoJCSRxdWVyeSA9ICRkYi0+Z2V0UXVlcnkodHJ1ZSk7DQoJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdhLnhtbCcsICdiLm5hbWUnKSkpOw0KCQkkcXVlcnktPmZyb20oJGRiLT5xdW90ZU5hbWUoJyNfX1tbW2NvbXBvbmVudF1dXV9maWVsZCcsICdhJykpOw0KCQkkcXVlcnktPmpvaW4oJ0xFRlQnLCAkZGItPnF1b3RlTmFtZSgnI19fW1tbY29tcG9uZW50XV1dX2ZpZWxkdHlwZScsICdiJykgLiAnIE9OICgnIC4gJGRiLT5xdW90ZU5hbWUoJ2EudHlwZScpIC4gJyA9ICcgLiAkZGItPnF1b3RlTmFtZSgnYi5pZCcpIC4gJyknKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnYS5wdWJsaXNoZWQnKSAuICcgPSAxJyk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2EuaWQnKSAuICcgPSAnLiAoaW50KSAkaWQpOw0KCQkgDQoJCS8vIFJlc2V0IHRoZSBxdWVyeSB1c2luZyBvdXIgbmV3bHkgcG9wdWxhdGVkIHF1ZXJ5IG9iamVjdC4NCgkJJGRiLT5zZXRRdWVyeSgkcXVlcnkpOw0KCQkkZGItPmV4ZWN1dGUoKTsNCgkJaWYgKCRkYi0+Z2V0TnVtUm93cygpKQ0KCQl7DQoJCQkkcmVzdWx0CQk9ICRkYi0+bG9hZE9iamVjdCgpOw0KCQkJJHJlc3VsdC0+bmFtZQk9IHN0cnRvbG93ZXIoJHJlc3VsdC0+bmFtZSk7DQoJCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjp0eXBlRmllbGQoJHJlc3VsdC0+bmFtZSwnbGlzdCcpKQ0KCQkJew0KCQkJCS8vIGxvYWQgdGhlIHZhbHVlcyBmb3JtIHBhcmFtcw0KCQkJCSR4bWwgPSBqc29uX2RlY29kZSgkcmVzdWx0LT54bWwpOw0KCQkJCQ0KCQkJCSR4bWxPcHRpb25zID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRCZXR3ZWVuKCR4bWwsJ29wdGlvbj0iJywnIicpOw0KCQkJCQ0KCQkJCSRvcHRpb25TZXQgPSAnJzsNCgkJCQlpZiAoc3RycG9zKCR4bWxPcHRpb25zLCcsJykgIT09IGZhbHNlKQ0KCQkJCXsNCgkJCQkJLy8gbXVsaXRwYWwgb3B0aW9ucw0KCQkJCQkkb3B0aW9ucyA9IGV4cGxvZGUoJywnLCR4bWxPcHRpb25zKTsNCgkJCQkJZm9yZWFjaCAoJG9wdGlvbnMgYXMgJG9wdGlvbikNCgkJCQkJew0KCQkJCQkJLy8gcmV0dXJuIGJvdGggdmFsdWUgYW5kIHRleHQNCgkJCQkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCRvcHRpb25TZXQpKQ0KCQkJCQkJew0KCQkJCQkJCS8vIG5vIGFkZCB0byBvcHRpb24gc2V0DQoJCQkJCQkJJG9wdGlvblNldCAuPSAiXG4iLiRvcHRpb247DQoJCQkJCQl9DQoJCQkJCQllbHNlIA0KCQkJCQkJew0KCQkJCQkJCS8vIG5vIGFkZCB0byBvcHRpb24gc2V0DQoJCQkJCQkJJG9wdGlvblNldCAuPSAkb3B0aW9uOw0KCQkJCQkJfQ0KCQkJCQl9DQoJCQkJfQ0KCQkJCWVsc2UNCgkJCQl7DQoJCQkJCS8vIHJldHVybiBib3RoIHZhbHVlIGFuZCB0ZXh0DQoJCQkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCRvcHRpb25TZXQpKQ0KCQkJCQl7DQoJCQkJCQkvLyBubyBhZGQgdG8gb3B0aW9uIHNldA0KCQkJCQkJJG9wdGlvblNldCAuPSAiXG4iLiR4bWxPcHRpb25zOw0KCQkJCQl9DQoJCQkJCWVsc2UgDQoJCQkJCXsNCgkJCQkJCS8vIG5vIGFkZCB0byBvcHRpb24gc2V0DQoJCQkJCQkkb3B0aW9uU2V0IC49ICR4bWxPcHRpb25zOw0KCQkJCQl9DQoJCQkJfQkJCQkNCgkJCQkvLyByZXR1cm4gZm91bmQgZmllbGQgb3B0aW9ucw0KCQkJCXJldHVybiAkb3B0aW9uU2V0Ow0KCQkJfQ0KCQkJZWxzZWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OnR5cGVGaWVsZCgkcmVzdWx0LT5uYW1lLCd0ZXh0JykpDQoJCQl7DQoJCQkJcmV0dXJuICJrZXl3b3Jkcz1cIlwiXG5sZW5ndGg9XCJcIiI7DQoJCQl9DQoJCQllbHNlaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6dHlwZUZpZWxkKCRyZXN1bHQtPm5hbWUsJ2R5bmFtaWMnKSkNCgkJCXsNCgkJCQlyZXR1cm4gJ2R5bmFtaWNfbGlzdCc7DQoJCQl9DQoJCQllbHNlaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6dHlwZUZpZWxkKCRyZXN1bHQtPm5hbWUpKQ0KCQkJew0KCQkJCXJldHVybiAnbWF0Y2ggZmllbGQgdHlwZSBub3Qgc3VwcG9ydGVkLiBTZWxlY3QgYW5vdGhlciEnOw0KCQkJfQ0KCQkJZWxzZQ0KCQkJew0KCQkJCXJldHVybiAnZHluYW1pY19saXN0JzsNCgkJCX0NCgkJCQ0KCQl9DQoJCXJldHVybiBmYWxzZTsNCgl9DQogICAgDQoJcHVibGljIGZ1bmN0aW9uIGdldFRhYmxlQ29sdW1ucygkdGFibGVOYW1lKQ0KCXsNCgkJLy8gR2V0IGEgZGIgY29ubmVjdGlvbi4NCgkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KICAgICAgICAJLy8gZ2V0IHRoZSBjb2x1bW5zDQoJCSRjb2x1bW5zID0gJGRiLT5nZXRUYWJsZUNvbHVtbnMoIiNfXyIuJHRhYmxlTmFtZSk7DQoJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJGNvbHVtbnMpKQ0KCQl7DQogICAgICAgIAkvLyBidWlsZCB0aGUgcmV0dXJuIHN0cmluZw0KCQkJJHRhYmxlQ29sdW1ucyA9IGFycmF5KCk7DQoJCQlmb3JlYWNoICgkY29sdW1ucyBhcyAkY29sdW1uID0+ICR0eXBlKQ0KCQkJew0KCQkJCSR0YWJsZUNvbHVtbnNbXSA9ICRjb2x1bW4gLiAnID0+ICcgLiAkY29sdW1uOw0KCQkJfQ0KCQkJcmV0dXJuIGltcGxvZGUoIlxuIiwkdGFibGVDb2x1bW5zKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ==', '', '', '', '', '', '', '', '', 'The Admin views used in a component is build here', 1, '', 1, '', 1, 845, 450, '2015-04-30 12:08:47', '2016-01-15 11:43:43', '', '0000-00-00 00:00:00', 47, '', 1, ''), -(18, 2335, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"232\"],[\"562\"],[\"293\"],[\"198\"],[\"219\"],[\"795\"],[\"834\"],[\"835\"],[\"974\",\"972\"],[\"1027\",\"1025\"],[\"1032\"],[\"1039\",\"1041\",\"1040\"],[\"1088\",\"1087\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"match_field\":[\"17\",\"563\",\"292\",\"13\",\"318\",\"794\",\"832\",\"833\",\"973\",\"1026\",\"1033\",\"794\",\"1086\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\"]}', '{\"field\":[\"1038\",\"47\",\"202\",\"48\",\"1026\",\"1025\",\"1027\",\"1023\",\"799\",\"255\",\"84\",\"294\",\"46\",\"681\",\"34\",\"35\",\"36\",\"53\",\"794\",\"795\",\"1039\",\"1041\",\"1040\",\"172\",\"214\",\"4\",\"688\",\"556\",\"257\",\"1036\",\"257\",\"315\",\"307\",\"257\",\"314\",\"312\",\"213\",\"6\",\"318\",\"219\",\"257\",\"297\",\"300\",\"257\",\"298\",\"301\",\"692\",\"693\",\"694\",\"292\",\"293\",\"17\",\"232\",\"832\",\"834\",\"563\",\"562\",\"833\",\"835\",\"13\",\"198\",\"1086\",\"1087\",\"1088\",\"973\",\"972\",\"974\",\"203\",\"1033\",\"1032\"],\"list\":[\"1\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"0\",\"2\",\"3\",\"0\",\"0\",\"0\",\"0\",\"0\",\"4\",\"0\",\"0\",\"0\",\"5\",\"6\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"7\",\"7\",\"7\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"4\",\"4\",\"4\",\"1\",\"7\",\"7\"],\"alignment\":[\"4\",\"1\",\"1\",\"1\",\"3\",\"3\",\"3\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"1\",\"1\",\"2\",\"5\",\"3\",\"3\"],\"order_edit\":[\"1\",\"1\",\"2\",\"3\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"11\",\"12\",\"1\",\"2\",\"3\",\"4\",\"8\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\",\"16\",\"17\",\"18\",\"1\",\"2\",\"3\",\"1\",\"4\",\"5\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '{\"adminview\":[\"14\",\"25\"],\"tab\":[\"5\",\"6\"],\"key\":[\"id\",\"id\"],\"parentkey\":[\"addadmin_views-R>adminview\",\"addsite_views-R>siteview\"],\"addnew\":[\"1\",\"1\"]}', '{\"action\":[\"view.access\"],\"implementation\":[\"2\"]}', '{\"table\":[\"componentbuilder_component\"],\"sourcemap\":[\"id => id\\nasset_id => asset_id\\nadd_license => add_license\\nlicense_type => license_type\\nadd_css => add_css\\nadd_php_helper_admin => add_php_helper_admin\\nadd_php_helper_site => add_php_helper_site\\nadd_sql => add_sql\\naddadmin_views => addadmin_views\\naddconfig => addconfig\\naddcontributors => addcontributors\\naddcustom_admin_views => addcustom_admin_views\\naddcustommenus => addcustommenus\\naddfiles => addfiles\\naddfolders => addfolders\\naddfootable => addfootable\\nadduikit => adduikit\\naddsite_views => addsite_views\\nadd_admin_event => add_admin_event\\nadd_site_event => add_site_event\\nadd_update_server => add_update_server\\nadd_sales_server => add_sales_server\\nsales_server_ftp => sales_server_ftp\\nupdate_server_ftp => update_server_ftp\\nphp_admin_event => php_admin_event\\nphp_site_event => php_site_event\\naddreadme => addreadme\\nreadme => readme\\nauthor => author\\nbom => bom\\ncompanyname => companyname\\ncomponent_version => component_version\\nupdate_server => update_server\\ncopyright => copyright\\ncreatuserhelper => creatuserhelper\\ncss => css\\ndebug_linenr => debug_linenr\\ndescription => description\\nemail => email\\nemptycontributors => emptycontributors\\nimage => image\\nlicense => license\\nname => name\\nsystem_name => system_name\\nname_code => name_code\\nnot_required => not_required\\nnumber => number\\nphp_helper_admin => php_helper_admin\\nphp_helper_site => php_helper_site\\nshort_description => short_description\\nsql => sql\\nsql_tweak => sql_tweak\\nwebsite => website\\nversion_update => version_update\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nchecked_out => checked_out\\nchecked_out_time => checked_out_time\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Details\",\"Settings\",\"Scripts\",\"Readme\",\"Admin Views\",\"Site Views\",\"FTP Servers\"]}', '', '', '', '', '', '', '', 'The components list', 'images/components.png', 'images/component_add.png', 'images/components_categories.png', '', '', '', '', 'Components', 'Component', 'Component', '', '', '', '', '', '', '', '', '', '', 'The components list', 1, '', 1, '', 1, 845, 450, '2015-05-06 08:41:03', '2016-02-18 13:31:33', '', '0000-00-00 00:00:00', 48, '', 1, ''), -(20, 2313, '', '', 1, 1, '', '', 1, '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"322\"]],\"target_behavior\":[\"1\"],\"target_relation\":[\"0\"],\"match_field\":[\"565\"],\"match_behavior\":[\"1\"],\"match_options\":[\"1|Yes\"]}', '{\"field\":[\"199\",\"554\",\"85\",\"331\",\"319\",\"330\",\"544\",\"340\",\"561\",\"320\",\"565\",\"322\",\"203\"],\"list\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"2\",\"3\",\"5\",\"0\",\"0\",\"4\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"1\"],\"alignment\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"7\",\"7\",\"3\",\"3\",\"3\",\"3\",\"5\"],\"order_edit\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"1\",\"1\",\"2\",\"1\",\"2\",\"1\",\"2\",\"1\"]}', '', '{\"action\":[\"core.edit\",\"core.edit.state\",\"core.edit.own\",\"core.create\",\"core.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[\"componentbuilder_layout\"],\"sourcemap\":[\"id => id\\nalias => alias\\ndescription => description\\ndynamic_get => dynamic_get\\nlayout => layout\\nname => name\\nsnippet => snippet\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Details\",\"Custom Script\"]}', '', '', '', '', '{\"value_name\":[\"id\",\"id\",\"view\",\"id\"],\"task_name\":[\"snippetDetails\",\"dynamicValues\",\"dynamicValues\",\"dynamicFormDetails\"],\"input_default\":[\"NULL\",\"NULL\",\"NULL\",\"NULL\"],\"input_filter\":[\"INT\",\"INT\",\"WORD\",\"INT\"],\"method_name\":[\"getSnippetDetails\",\"getDynamicValues\",\"getDynamicValues\",\"getDynamicFormDetails\"]}', '', '', '', 'images/Blueprint-Simple-icon.png', 'images/Blueprint-Simple-icon-plus.png', '', 'ZnVuY3Rpb24gZ2V0U25pcHBldERldGFpbHNfc2VydmVyKHNuaXBwZXRJZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LnNuaXBwZXREZXRhaWxzJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIHNuaXBwZXRJZCA+IDApew0KCQl2YXIgcmVxdWVzdCA9ICd0b2tlbj0nK3Rva2VuKycmaWQ9JytzbmlwcGV0SWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldFNuaXBwZXREZXRhaWxzKGlkKXsNCglnZXRTbmlwcGV0RGV0YWlsc19zZXJ2ZXIoaWQpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdC5zbmlwcGV0KXsNCgkJCXZhciBkZXNjcmlwdGlvbiA9ICcnOw0KCQkJaWYgKHJlc3VsdC5kZXNjcmlwdGlvbi5sZW5ndGggPiAwKQ0KCQkJew0KCQkJCWRlc2NyaXB0aW9uID0gJzxwPicrcmVzdWx0LmRlc2NyaXB0aW9uKyc8L3A+JzsNCgkJCX0NCgkJCXZhciBjb2RlID0gJzxkaXYgaWQ9InNuaXBwZXQtY29kZSI+PGI+JytyZXN1bHQubmFtZSsnICgnK3Jlc3VsdC50eXBlKycpPC9iPiA8YSBocmVmPSInK3Jlc3VsdC51cmwrJyIgdGFyZ2V0PSJfYmxhbmsiID5zZWUgbW9yZSBkZXRhaWxzPC9hPjxiciAvPjxlbT4nK3Jlc3VsdC5oZWFkaW5nKyc8L2VtPjxiciAvPjx0ZXh0YXJlYSAgaWQ9InNuaXBwZXQiIGNsYXNzPSJzcGFuMTIiIHJvd3M9IjExIj4nK3Jlc3VsdC5zbmlwcGV0Kyc8L3RleHRhcmVhPjwvZGl2Pic7DQoJCQlqUXVlcnkoJyNzbmlwcGV0LWNvZGUnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtY29kZScpLmFwcGVuZChjb2RlKTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBibG9jayBpcyBhY3RpdmUNCgkJCWpRdWVyeSgiI3NuaXBwZXQiKS5mb2N1cyhmdW5jdGlvbigpIHsNCgkJCQl2YXIgalF1ZXJ5dGhpcyA9IGpRdWVyeSh0aGlzKTsNCgkJCQlqUXVlcnl0aGlzLnNlbGVjdCgpOw0KCQkJDQoJCQkJLy8gV29yayBhcm91bmQgQ2hyb21lJ3MgbGl0dGxlIHByb2JsZW0NCgkJCQlqUXVlcnl0aGlzLm1vdXNldXAoZnVuY3Rpb24oKSB7DQoJCQkJCS8vIFByZXZlbnQgZnVydGhlciBtb3VzZXVwIGludGVydmVudGlvbg0KCQkJCQlqUXVlcnl0aGlzLnVuYmluZCgibW91c2V1cCIpOw0KCQkJCQlyZXR1cm4gZmFsc2U7DQoJCQkJfSk7DQoJCQl9KTsNCgkJfQ0KCQlpZihyZXN1bHQudXNhZ2Upew0KCQkJdmFyIHVzYWdlID0gJzxkaXYgaWQ9InNuaXBwZXQtdXNhZ2UiPjxwPicrcmVzdWx0LnVzYWdlKyc8L3A+PC9kaXY+JzsNCgkJCWpRdWVyeSgnI3NuaXBwZXQtdXNhZ2UnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtdXNhZ2UnKS5hcHBlbmQodXNhZ2UpOw0KCQl9DQoJfSkNCn0NCg0KZnVuY3Rpb24gZ2V0RHluYW1pY1ZhbHVlc19zZXJ2ZXIoZHluYW1pY0lkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXguZHluYW1pY1ZhbHVlcyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiBkeW5hbWljSWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJnZpZXc9bGF5b3V0JmlkPScrZHluYW1pY0lkOw0KCX0NCglyZXR1cm4galF1ZXJ5LmFqYXgoew0KCQl0eXBlOiAnR0VUJywNCgkJdXJsOiBnZXRVcmwsDQoJCWRhdGFUeXBlOiAnanNvbnAnLA0KCQlkYXRhOiByZXF1ZXN0LA0KCQlqc29ucDogJ2NhbGxiYWNrJw0KCX0pOw0KfQ0KDQpmdW5jdGlvbiBnZXREeW5hbWljVmFsdWVzKGlkKXsNCglnZXREeW5hbWljVmFsdWVzX3NlcnZlcihpZCkuZG9uZShmdW5jdGlvbihyZXN1bHQpIHsNCgkJaWYocmVzdWx0KXsNCgkJCWpRdWVyeSgnI2R5bmFtaWNfdmFsdWVzJykucmVtb3ZlKCk7DQoJCQlqUXVlcnkoJy5keW5hbWljX3ZhbHVlcycpLmFwcGVuZCgnPGRpdiBpZD0iZHluYW1pY192YWx1ZXMiPicrcmVzdWx0Kyc8L2Rpdj4nKTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBib2NrcyBhcmUgYWN0aXZlDQoJCQlqUXVlcnkoImNvZGUiKS5jbGljayhmdW5jdGlvbigpIHsNCgkJCQlqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KCQkJfSk7DQoJCX0NCgl9KQ0KfSANCg0KZnVuY3Rpb24gZ2V0TGF5b3V0RGV0YWlsc19zZXJ2ZXIoaWQpew0KCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fY29tcG9uZW50YnVpbGRlciZ0YXNrPWFqYXgubGF5b3V0RGV0YWlscyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiBpZCA+IDApew0KCQl2YXIgcmVxdWVzdCA9ICd0b2tlbj0nK3Rva2VuKycmaWQ9JytpZDsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0TGF5b3V0RGV0YWlscyhpZCl7DQoJZ2V0TGF5b3V0RGV0YWlsc19zZXJ2ZXIoaWQpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdCl7DQoJCQlqUXVlcnkoJyNkZXRhaWxzJykuYXBwZW5kKHJlc3VsdCk7DQoJCQkvLyBtYWtlIHN1cmUgdGhlIGNvZGUgYm9ja3MgYXJlIGFjdGl2ZQ0KCQkJalF1ZXJ5KCJjb2RlIikuY2xpY2soZnVuY3Rpb24oKSB7DQoJCQkJalF1ZXJ5KHRoaXMpLnNlbFRleHQoKS5hZGRDbGFzcygic2VsZWN0ZWQiKTsNCgkJCX0pOw0KCQl9DQoJfSkNCn0gDQoNCmZ1bmN0aW9uIGdldER5bmFtaWNGb3JtRGV0YWlsc19zZXJ2ZXIoaWQpew0KCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fW1tbY29tcG9uZW50XV1dJnRhc2s9YWpheC5keW5hbWljRm9ybURldGFpbHMmZm9ybWF0PWpzb24iOw0KCWlmKHRva2VuLmxlbmd0aCA+IDAgJiYgaWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScraWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldER5bmFtaWNGb3JtRGV0YWlscyhpZCl7DQoJZ2V0RHluYW1pY0Zvcm1EZXRhaWxzX3NlcnZlcihpZCkuZG9uZShmdW5jdGlvbihyZXN1bHQpIHsNCgkJaWYocmVzdWx0KXsNCgkJCWpRdWVyeSgnI2RldGFpbHMnKS5hcHBlbmQocmVzdWx0KTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBib2NrcyBhcmUgYWN0aXZlDQoJCQlqUXVlcnkoImNvZGUiKS5jbGljayhmdW5jdGlvbigpIHsNCgkJCQlqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KCQkJfSk7DQoJCX0NCgl9KQ0KfSA=', 'alF1ZXJ5KGZ1bmN0aW9uKCkgew0KICAgIGpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KICAgICAgICBqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KICAgIH0pOw0KfSk7DQoNCmpRdWVyeS5mbi5zZWxUZXh0ID0gZnVuY3Rpb24oKSB7DQogICAgdmFyIG9iaiA9IHRoaXNbMF07DQogICAgaWYgKGpRdWVyeS5icm93c2VyLm1zaWUpIHsNCiAgICAgICAgdmFyIHJhbmdlID0gb2JqLm9mZnNldFBhcmVudC5jcmVhdGVUZXh0UmFuZ2UoKTsNCiAgICAgICAgcmFuZ2UubW92ZVRvRWxlbWVudFRleHQob2JqKTsNCiAgICAgICAgcmFuZ2Uuc2VsZWN0KCk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5tb3ppbGxhIHx8ICQuYnJvd3Nlci5vcGVyYSkgew0KICAgICAgICB2YXIgc2VsZWN0aW9uID0gb2JqLm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXcuZ2V0U2VsZWN0aW9uKCk7DQogICAgICAgIHZhciByYW5nZSA9IG9iai5vd25lckRvY3VtZW50LmNyZWF0ZVJhbmdlKCk7DQogICAgICAgIHJhbmdlLnNlbGVjdE5vZGVDb250ZW50cyhvYmopOw0KICAgICAgICBzZWxlY3Rpb24ucmVtb3ZlQWxsUmFuZ2VzKCk7DQogICAgICAgIHNlbGVjdGlvbi5hZGRSYW5nZShyYW5nZSk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5zYWZhcmkpIHsNCiAgICAgICAgdmFyIHNlbGVjdGlvbiA9IG9iai5vd25lckRvY3VtZW50LmRlZmF1bHRWaWV3LmdldFNlbGVjdGlvbigpOw0KICAgICAgICBzZWxlY3Rpb24uc2V0QmFzZUFuZEV4dGVudChvYmosIDAsIG9iaiwgMSk7DQogICAgfQ0KICAgIHJldHVybiB0aGlzOw0KfQ0KDQpqUXVlcnkoJyNhZG1pbkZvcm0nKS5vbignY2hhbmdlJywgJyNqZm9ybV9zbmlwcGV0JyxmdW5jdGlvbiAoZSkgew0KCWUucHJldmVudERlZmF1bHQoKTsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KGRvY3VtZW50KS5yZWFkeShmdW5jdGlvbigpIHsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KCcjYWRtaW5Gb3JtJykub24oJ2NoYW5nZScsICcjamZvcm1fZHluYW1pY19nZXQnLGZ1bmN0aW9uIChlKSB7DQoJZS5wcmV2ZW50RGVmYXVsdCgpOw0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQpqUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCkgew0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQpqUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCkgew0KCS8vIGdldCB0eXBlIHZhbHVlDQoJZ2V0RHluYW1pY0Zvcm1EZXRhaWxzKDk5OTkpOw0KCWdldExheW91dERldGFpbHMoPD9waHAgZWNobyAoJHRoaXMtPml0ZW0tPmlkKSA/ICR0aGlzLT5pdGVtLT5pZDo5OTk5OyA/Pik7DQp9KTs=', '', '', 'Layouts', 'Layout', 'Layout', '', 'CXB1YmxpYyBmdW5jdGlvbiBnZXRTbmlwcGV0RGV0YWlscygkaWQpDQoJew0KCQkvLyBHZXQgYSBkYiBjb25uZWN0aW9uLg0KCQkkZGIgPSBKRmFjdG9yeTo6Z2V0RGJvKCk7DQoJCSANCgkJLy8gQ3JlYXRlIGEgbmV3IHF1ZXJ5IG9iamVjdC4NCgkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJJHF1ZXJ5LT5zZWxlY3QoJGRiLT5xdW90ZU5hbWUoYXJyYXkoJ25hbWUnLCAnaGVhZGluZycsICd1c2FnZScsICdkZXNjcmlwdGlvbicsICd0eXBlJywgJ3NuaXBwZXQnLCAndXJsJykpKTsNCgkJJHF1ZXJ5LT5mcm9tKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fc25pcHBldCcpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgncHVibGlzaGVkJykgLiAnID0gMScpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcuIChpbnQpICRpZCk7DQoJCSANCgkJLy8gUmVzZXQgdGhlIHF1ZXJ5IHVzaW5nIG91ciBuZXdseSBwb3B1bGF0ZWQgcXVlcnkgb2JqZWN0Lg0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCSRkYi0+ZXhlY3V0ZSgpOw0KCQlpZiAoJGRiLT5nZXROdW1Sb3dzKCkpDQoJCXsNCgkJCSRtb2RlbCA9IFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Z2V0TW9kZWwoJ3NuaXBwZXRzJyk7DQoJCQkkc25pcHBldCA9ICRkYi0+bG9hZE9iamVjdCgpOw0KCQkJJHNuaXBwZXQtPnR5cGUgPSBKVGV4dDo6XygkbW9kZWwtPnNlbGVjdGlvblRyYW5zbGF0aW9uKCRzbmlwcGV0LT50eXBlLCd0eXBlJykpOw0KCQkJJHNuaXBwZXQtPnNuaXBwZXQgPSBiYXNlNjRfZGVjb2RlKCRzbmlwcGV0LT5zbmlwcGV0KTsJCQkNCgkJCS8vIHJldHVybiBmb3VuZCBzbmlwcGV0IHNldHRpbmdzDQoJCQlyZXR1cm4gJHNuaXBwZXQ7DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0NCgkNCglwdWJsaWMgZnVuY3Rpb24gZ2V0RHluYW1pY1ZhbHVlcygkaWQsJHZpZXcpDQoJew0KCQkvLyBHZXQgYSBkYiBjb25uZWN0aW9uLg0KCQkkZGIgPSBKRmFjdG9yeTo6Z2V0RGJvKCk7DQoJCSANCgkJLy8gQ3JlYXRlIGEgbmV3IHF1ZXJ5IG9iamVjdC4NCgkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJJHF1ZXJ5LT5zZWxlY3QoJGRiLT5xdW90ZU5hbWUoYXJyYXkoJ2dldGN1c3RvbScsICdnZXR0eXBlJywgJ21haW5fc291cmNlJywgJ3ZpZXdfc2VsZWN0aW9uJywgJ2RiX3NlbGVjdGlvbicsICdqb2luX3ZpZXdfdGFibGUnLCAnam9pbl9kYl90YWJsZScsICdhZGRjYWxjdWxhdGlvbicsICdwaHBfY2FsY3VsYXRpb24nKSkpOw0KCQkkcXVlcnktPmZyb20oJGRiLT5xdW90ZU5hbWUoJyNfX1tbW2NvbXBvbmVudF1dXV9keW5hbWljX2dldCcpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgncHVibGlzaGVkJykgLiAnID0gMScpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcuIChpbnQpICRpZCk7DQoJCSANCgkJLy8gUmVzZXQgdGhlIHF1ZXJ5IHVzaW5nIG91ciBuZXdseSBwb3B1bGF0ZWQgcXVlcnkgb2JqZWN0Lg0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCSRkYi0+ZXhlY3V0ZSgpOw0KCQlpZiAoJGRiLT5nZXROdW1Sb3dzKCkpDQoJCXsNCgkJCSRyZXN1bHQgPSAkZGItPmxvYWRPYmplY3QoKTsNCgkJCS8vIHJlc2V0IGJ1a2V0DQoJCQkkc2VsZWN0aW9ucyA9IGFycmF5KCk7DQoJCQkkc2VsZWN0aW9uc0xpc3QgPSBhcnJheSgpOw0KCQkJLy8gZ2V0IHRoZSBtYWluIHZhbHVlcyAobmFtZSkNCgkJCWlmICgkcmVzdWx0LT5tYWluX3NvdXJjZSA9PSAxKQ0KCQkJew0KCQkJCSRzZWxlY3Rpb25zW10gPSBleHBsb2RlKCJcbiIsJHJlc3VsdC0+dmlld19zZWxlY3Rpb24pOw0KCQkJfQ0KCQkJZWxzZWlmICgkcmVzdWx0LT5tYWluX3NvdXJjZSA9PSAyKSANCgkJCXsNCgkJCQkkc2VsZWN0aW9uc1tdID0gZXhwbG9kZSgiXG4iLCRyZXN1bHQtPmRiX3NlbGVjdGlvbik7DQoJCQl9DQoJCQllbHNlaWYgKCRyZXN1bHQtPm1haW5fc291cmNlID09IDMpDQoJCQl7DQoJCQkJcmV0dXJuICc8YnIgLz48YnIgLz48aDI+Q3VzdG9tIGdldCBzb3VyY2UhIFlvdSB3aWxsIG5lZWQgdG8gdHJhbnNwb3NlIHRoZSB2YXJpYWJsZXMgbWFudWFsbHkuPC9oMj4nOw0KCQkJfQ0KCQkJLy8gZ2V0IHRoZSBqb2luZWQgdmFsdWVzIChuYW1lKQ0KCQkJJGpvaW5fdmlld190YWJsZSA9IGpzb25fZGVjb2RlKCRyZXN1bHQtPmpvaW5fdmlld190YWJsZSx0cnVlKTsNCgkJCXVuc2V0KCRyZXN1bHQtPmpvaW5fdmlld190YWJsZSk7DQoJCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCRqb2luX3ZpZXdfdGFibGUpKQ0KCQkJew0KCQkJCWZvcmVhY2ggKCRqb2luX3ZpZXdfdGFibGUgYXMgJG9wdGlvbiA9PiAkdmFsdWVzKQ0KCQkJCXsNCgkJCQkJZm9yZWFjaCAoJHZhbHVlcyBhcyAkbnIgPT4gJHZhbHVlKQ0KCQkJCQl7DQoJCQkJCQkkcmVzdWx0LT5qb2luX3ZpZXdfdGFibGVbJG5yXVskb3B0aW9uXSA9ICR2YWx1ZTsNCgkJCQkJfQ0KCQkJCX0NCgkJCX0NCgkJCXVuc2V0KCRqb2luX3ZpZXdfdGFibGUpOw0KCQkJJGpvaW5fZGJfdGFibGUgPSBqc29uX2RlY29kZSgkcmVzdWx0LT5qb2luX2RiX3RhYmxlLHRydWUpOw0KCQkJdW5zZXQoJHJlc3VsdC0+am9pbl9kYl90YWJsZSk7DQoJCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCRqb2luX2RiX3RhYmxlKSkNCgkJCXsNCgkJCQlmb3JlYWNoICgkam9pbl9kYl90YWJsZSBhcyAkb3B0aW9uID0+ICR2YWx1ZXMpDQoJCQkJew0KCQkJCQlmb3JlYWNoICgkdmFsdWVzIGFzICRuciA9PiAkdmFsdWUpDQoJCQkJCXsNCgkJCQkJCSRyZXN1bHQtPmpvaW5fZGJfdGFibGVbJG5yXVskb3B0aW9uXSA9ICR2YWx1ZTsNCgkJCQkJfQ0KCQkJCX0NCgkJCX0NCgkJCXVuc2V0KCRqb2luX2RiX3RhYmxlKTsNCgkJCS8vIG5vdyBsb2FkIHRoZSBqb2luZWQgdmFsdWVzIHRvIHRoZSBzZWxlY3Rpb24gc2V0DQoJCQlpZiAoaXNzZXQoJHJlc3VsdC0+am9pbl92aWV3X3RhYmxlKSAmJiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJHJlc3VsdC0+am9pbl92aWV3X3RhYmxlKSkNCgkJCXsNCgkJCQlmb3JlYWNoICgkcmVzdWx0LT5qb2luX3ZpZXdfdGFibGUgYXMgJGpvaW5fdmlld190YWJsZSkNCgkJCQl7DQoJCQkJCWlmICgkam9pbl92aWV3X3RhYmxlWydyb3dfdHlwZSddID09ICcxJykNCgkJCQkJew0KCQkJCQkJJHNlbGVjdGlvbnNbXSA9IGV4cGxvZGUoIlxuIiwkam9pbl92aWV3X3RhYmxlWydzZWxlY3Rpb24nXSk7DQoJCQkJCX0NCgkJCQkJZWxzZWlmICgkam9pbl92aWV3X3RhYmxlWydyb3dfdHlwZSddID09ICcyJykNCgkJCQkJew0KCQkJCQkJJG5hbWVzID0gJHRoaXMtPnNldExpc3RNZXRob2ROYW1lKGFycmF5KCRqb2luX3ZpZXdfdGFibGVbJ29uX2ZpZWxkJ10sJGpvaW5fdmlld190YWJsZVsnam9pbl9maWVsZCddKSwkam9pbl92aWV3X3RhYmxlWyd2aWV3X3RhYmxlJ10sJGpvaW5fdmlld190YWJsZVsnYXMnXSwxKTsNCgkJCQkJCSRzZWxlY3Rpb25zTGlzdFtpbXBsb2RlKCcnLCRuYW1lcyldID0gZXhwbG9kZSgiXG4iLCRqb2luX3ZpZXdfdGFibGVbJ3NlbGVjdGlvbiddKTsNCgkJCQkJfQ0KCQkJCX0NCgkJCQl1bnNldCgkcmVzdWx0LT5qb2luX3ZpZXdfdGFibGUpOw0KCQkJfQ0KCQkJaWYgKGlzc2V0KCRyZXN1bHQtPmpvaW5fZGJfdGFibGUpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkcmVzdWx0LT5qb2luX2RiX3RhYmxlKSkNCgkJCXsNCgkJCQlmb3JlYWNoICgkcmVzdWx0LT5qb2luX2RiX3RhYmxlIGFzICRqb2luX2RiX3RhYmxlKQ0KCQkJCXsNCgkJCQkJaWYgKCRqb2luX2RiX3RhYmxlWydyb3dfdHlwZSddID09ICcxJykNCgkJCQkJew0KCQkJCQkJJHNlbGVjdGlvbnNbXSA9IGV4cGxvZGUoIlxuIiwkam9pbl9kYl90YWJsZVsnc2VsZWN0aW9uJ10pOw0KCQkJCQl9DQoJCQkJCWVsc2VpZiAoJGpvaW5fZGJfdGFibGVbJ3Jvd190eXBlJ10gPT0gJzInKQ0KCQkJCQl7DQoJCQkJCQkkbmFtZXMgPSAkdGhpcy0+c2V0TGlzdE1ldGhvZE5hbWUoYXJyYXkoJGpvaW5fZGJfdGFibGVbJ29uX2ZpZWxkJ10sJGpvaW5fZGJfdGFibGVbJ2pvaW5fZmllbGQnXSksJGpvaW5fZGJfdGFibGVbJ2RiX3RhYmxlJ10sJGpvaW5fZGJfdGFibGVbJ2FzJ10sMik7DQoJCQkJCQkkc2VsZWN0aW9uc0xpc3RbaW1wbG9kZSgnJywkbmFtZXMpXSA9IGV4cGxvZGUoIlxuIiwkam9pbl9kYl90YWJsZVsnc2VsZWN0aW9uJ10pOw0KCQkJCQl9DQoJCQkJfQ0KCQkJCXVuc2V0KCRyZXN1bHQtPmpvaW5fZGJfdGFibGUpOw0KCQkJfQ0KCQkJLy8gZ2V0IHRoZSBjYWxjdWxhdGlvbiByZXVsdCB2YWx1ZXMgKG5hbWUpDQoJCQlpZiAoJHJlc3VsdC0+YWRkY2FsY3VsYXRpb24gPT0gMSkNCgkJCXsNCgkJCQkkcGhwX2NhbGN1bGF0aW9uID0gYmFzZTY0X2RlY29kZSgkcmVzdWx0LT5waHBfY2FsY3VsYXRpb24pOw0KCQkJCSRwaHBTZWxlY3Rpb25zID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRBbGxCZXR3ZWVuKCRwaHBfY2FsY3VsYXRpb24sJ2NhbF9fJywnICcpOw0KCQkJCSRzZWxlY3Rpb25zW10gPSBhcnJheV91bmlxdWUoJHBocFNlbGVjdGlvbnMpOw0KCQkJCXVuc2V0KCRwaHBfY2FsY3VsYXRpb24pOw0KCQkJCXVuc2V0KCRwaHBTZWxlY3Rpb25zKTsNCgkJCQl1bnNldCgkcmVzdWx0LT5waHBfY2FsY3VsYXRpb24pOw0KCQkJfQ0KCQkJLy8gbmFtZSB0aGUgbWFpbiB2YXIgYmFzZWQgb24gdmlldw0KCQkJaWYgKCR2aWV3ID09ICd0ZW1wbGF0ZScpDQoJCQl7DQoJCQkJc3dpdGNoICgkcmVzdWx0LT5nZXR0eXBlKQ0KCQkJCXsNCgkJCQkJY2FzZSAxOg0KCQkJCQkvLyBzaW5nbGUNCgkJCQkJJGJ1a2V0TmFtZSA9ICd0aGlzLT5pdGVtJzsNCgkJCQkJYnJlYWs7DQoJCQkJCWNhc2UgMjoNCgkJCQkJLy8gbGlzdA0KCQkJCQkkYnVrZXROYW1lID0gJ3RoaXMtPml0ZW1zJzsNCgkJCQkJYnJlYWs7DQoJCQkJCWNhc2UgMzoNCgkJCQkJY2FzZSA0Og0KCQkJCQkvLyBjdXN0b20NCgkJCQkJJHJlc3VsdC0+Z2V0Y3VzdG9tID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzYWZlU3RyaW5nKCRyZXN1bHQtPmdldGN1c3RvbSk7DQoJCQkJCWlmIChzdWJzdHIoJHJlc3VsdC0+Z2V0Y3VzdG9tLCAwLCBzdHJsZW4oJ2dldCcpKSA9PSAnZ2V0JykNCgkJCQkJew0KCQkJCQkJJHZhck5hbWUgPSBzdWJzdHIoJHJlc3VsdC0+Z2V0Y3VzdG9tLCBzdHJsZW4oJ2dldCcpKTsNCgkJCQkJfQ0KCQkJCQllbHNlDQoJCQkJCXsNCgkJCQkJCSR2YXJOYW1lID0gJHJlc3VsdC0+Z2V0Y3VzdG9tOw0KCQkJCQl9DQoJCQkJCSRidWtldE5hbWUgPSAndGhpcy0+Jy4kdmFyTmFtZTsNCgkJCQkJYnJlYWs7DQoJCQkJfQ0KCQkJfQ0KCQkJZWxzZWlmICgkdmlldyA9PSAnbGF5b3V0JykNCgkJCXsNCgkJCQkkYnVrZXROYW1lID0gJ2Rpc3BsYXlEYXRhJzsNCgkJCX0NCgkJCS8vIG5vdyBidWlsZCB0aGUgcmV0dXJuIHZhbHVlcw0KCQkJaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkc2VsZWN0aW9ucykpDQoJCQl7DQoJCQkJJGJ1a2V0ID0gYXJyYXkoKTsNCgkJCQlzd2l0Y2ggKCRyZXN1bHQtPmdldHR5cGUpDQoJCQkJew0KCQkJCQljYXNlIDE6DQoJCQkJCWNhc2UgMzoNCgkJCQkJLy8gc2luZ2xlDQoJCQkJCSR1ciA9ICcmbHQ7P3BocCBlY2hvICQnLiRidWtldE5hbWU7DQoJCQkJCSRjZiA9ICc7ID8mZ3Q7JzsNCgkJCQkJYnJlYWs7DQoJCQkJCWNhc2UgMjoNCgkJCQkJY2FzZSA0Og0KCQkJCQkvLyBsaXN0DQoJCQkJCSR1ciA9ICcmbHQ7P3BocCBlY2hvICRpdGVtJzsNCgkJCQkJJGNmID0gJzsgPyZndDsnOw0KCQkJCQkkYnVrZXRbXSA9ICc8Y29kZT4mbHQ7P3BocCBmb3JlYWNoICgkJy4kYnVrZXROYW1lLicgYXMgJGl0ZW0pOiA/Jmd0OzwvY29kZT48YnIgLz4nOw0KCQkJCQlicmVhazsNCgkJCQl9DQoJCQkJZm9yZWFjaCAoJHNlbGVjdGlvbnMgYXMgJHNlbGVjdGlvbikNCgkJCQl7DQoJCQkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJHNlbGVjdGlvbikpDQoJCQkJCXsNCgkJCQkJCWZvcmVhY2ggKCRzZWxlY3Rpb24gYXMgJHZhbHVlKQ0KCQkJCQkJew0KCQkJCQkJCWlmIChzdHJwb3MoJHZhbHVlLCdBUycpICE9PSBmYWxzZSkNCgkJCQkJCQl7DQoJCQkJCQkJCWxpc3QoJHRhYmxlLCRrZXkpID0gZXhwbG9kZSgnQVMnLCR2YWx1ZSk7DQoJCQkJCQkJCSRidWtldFtdID0gJzxjb2RlPicuJHVyLictPicudHJpbSgka2V5KS4kY2YuJzwvY29kZT4nOw0KCQkJCQkJCX0NCgkJCQkJCQllbHNlDQoJCQkJCQkJew0KCQkJCQkJCQkkYnVrZXRbXSA9ICc8Y29kZT4nLiR1ci4nLT4nLnRyaW0oJHZhbHVlKS4kY2YuJzwvY29kZT4nOw0KCQkJCQkJCX0NCgkJCQkJCX0NCgkJCQkJfQ0KCQkJCX0NCgkJCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCRzZWxlY3Rpb25zTGlzdCkpDQoJCQkJew0KCQkJCQkkYnVrZXRbXSA9ICc8aHIgLz4nOw0KCQkJCQlmb3JlYWNoICgkc2VsZWN0aW9uc0xpc3QgYXMgJG5hbWUgPT4gJHNlbGVjdGlvbkxpc3QpDQoJCQkJCXsNCgkJCQkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJHNlbGVjdGlvbkxpc3QpKQ0KCQkJCQkJew0KCQkJCQkJCSR1ciA9ICcmbHQ7P3BocCBlY2hvICQnLiRuYW1lOw0KCQkJCQkJCSRjZiA9ICc7ID8mZ3Q7JzsNCgkJCQkJCQkkYnVrZXRbXSA9ICc8Y29kZT4mbHQ7P3BocCBmb3JlYWNoICgkaXRlbS0+Jy4kbmFtZS4nIGFzICQnLiRuYW1lLicpOiA/Jmd0OzwvY29kZT48YnIgLz4nOw0KCQkJCQkJCWZvcmVhY2ggKCRzZWxlY3Rpb25MaXN0IGFzICR2YWx1ZSkNCgkJCQkJCQl7DQoJCQkJCQkJCWlmIChzdHJwb3MoJHZhbHVlLCdBUycpICE9PSBmYWxzZSkNCgkJCQkJCQkJew0KCQkJCQkJCQkJbGlzdCgkdGFibGUsJGtleSkgPSBleHBsb2RlKCdBUycsJHZhbHVlKTsNCgkJCQkJCQkJCSRidWtldFtdID0gJzxjb2RlPicuJHVyLictPicudHJpbSgka2V5KS4kY2YuJzwvY29kZT4nOw0KCQkJCQkJCQl9DQoJCQkJCQkJCWVsc2UNCgkJCQkJCQkJew0KCQkJCQkJCQkJJGJ1a2V0W10gPSAnPGNvZGU+Jy4kdXIuJy0+Jy50cmltKCR2YWx1ZSkuJGNmLic8L2NvZGU+JzsNCgkJCQkJCQkJfQ0KCQkJCQkJCX0NCgkJCQkJCQkkYnVrZXRbXSA9ICc8YnIgLz48Y29kZT4mbHQ7P3BocCBlbmRmb3JlYWNoOyA/Jmd0OzwvY29kZT48aHIgLz4nOw0KCQkJCQkJfQ0KCQkJCQl9DQoJCQkJfQ0KCQkJCXN3aXRjaCAoJHJlc3VsdC0+Z2V0dHlwZSkNCgkJCQl7DQoJCQkJCWNhc2UgMjoNCgkJCQkJY2FzZSA0Og0KCQkJCQkvLyBsaXN0DQoJCQkJCSRidWtldFtdID0gJzxiciAvPjxjb2RlPiZsdDs/cGhwIGVuZGZvcmVhY2g7ID8mZ3Q7PC9jb2RlPic7DQoJCQkJCWJyZWFrOw0KCQkJCX0NCgkJCQlyZXR1cm4gaW1wbG9kZSgnJm5ic3A7JywkYnVrZXQpOw0KCQkJfQkJCQ0KCQl9DQoJCXJldHVybiBmYWxzZTsNCgl9DQoNCglwdWJsaWMgZnVuY3Rpb24gZ2V0TGF5b3V0RGV0YWlscygkaWQpDQoJew0KCQkvLyBHZXQgYSBkYiBjb25uZWN0aW9uLg0KCQkkZGIgPSBKRmFjdG9yeTo6Z2V0RGJvKCk7DQoJCSANCgkJLy8gQ3JlYXRlIGEgbmV3IHF1ZXJ5IG9iamVjdC4NCgkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJJHF1ZXJ5LT5zZWxlY3QoJGRiLT5xdW90ZU5hbWUoYXJyYXkoJ2EuYWxpYXMnLCdhLmxheW91dCcsJ2IuZ2V0Y3VzdG9tJywnYi5nZXR0eXBlJywnYi5uYW1lJykpKTsNCgkJJHF1ZXJ5LT5mcm9tKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fbGF5b3V0JywgJ2EnKSk7DQoJCSRxdWVyeS0+am9pbignTEVGVCcsICRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fZHluYW1pY19nZXQnLCAnYicpIC4gJyBPTiAoJyAuICRkYi0+cXVvdGVOYW1lKCdiLmlkJykgLiAnID0gJyAuICRkYi0+cXVvdGVOYW1lKCdhLmR5bmFtaWNfZ2V0JykgLiAnKScpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdhLmlkJykgLiAnICE9ICcuKGludCkgJGlkKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnYS5wdWJsaXNoZWQnKSAuICcgPSAxJyk7DQoJCSANCgkJLy8gUmVzZXQgdGhlIHF1ZXJ5IHVzaW5nIG91ciBuZXdseSBwb3B1bGF0ZWQgcXVlcnkgb2JqZWN0Lg0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCSRkYi0+ZXhlY3V0ZSgpOw0KCQlpZiAoJGRiLT5nZXROdW1Sb3dzKCkpDQoJCXsgDQoJCQkkcmVzdWx0cyA9ICRkYi0+bG9hZE9iamVjdExpc3QoKTsNCgkJCSRsYXlvdXRTdHJpbmcgPSBhcnJheSgnPGgzPkxheW91dCBDb2RlIFNuaXBwZXRzPC9oMz48ZGl2IGNsYXNzPSJyb3ctZmx1aWQgZm9ybS1ob3Jpem9udGFsLWRlc2t0b3AiPicpOw0KCQkJZm9yZWFjaCAoJHJlc3VsdHMgYXMgJHJlc3VsdCkNCgkJCXsNCgkJCQlzd2l0Y2ggKCRyZXN1bHQtPmdldHR5cGUpDQoJCQkJew0KCQkJCQljYXNlIDE6DQoJCQkJCS8vIHNpbmdsZQ0KCQkJCQkkbGF5b3V0U3RyaW5nW10gPSAiPGRpdj5keW5hbWljR2V0OiA8Yj4iLiRyZXN1bHQtPm5hbWUuIjwvYj48YnIgLz48Y29kZT4mbHQ7P3BocCBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignIi5bW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJHJlc3VsdC0+YWxpYXMpLiInLCBcJHRoaXMtPml0ZW0pOyA/Jmd0OzwvY29kZT48L2Rpdj4iOw0KCQkJCQlicmVhazsNCgkJCQkJY2FzZSAyOg0KCQkJCQkvLyBsaXN0DQoJCQkJCSRsYXlvdXRTdHJpbmdbXSA9ICI8ZGl2PmR5bmFtaWNHZXQ6IDxiPiIuJHJlc3VsdC0+bmFtZS4iPC9iPjxiciAvPjxjb2RlPiZsdDs/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCciLltbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2FmZVN0cmluZygkcmVzdWx0LT5hbGlhcykuIicsIFwkdGhpcy0+aXRlbXMpOyA/Jmd0OzwvY29kZT48L2Rpdj4iOw0KCQkJCQlicmVhazsNCgkJCQkJY2FzZSAzOg0KCQkJCQljYXNlIDQ6DQoJCQkJCS8vIGN1c3RvbQ0KCQkJCQkkcmVzdWx0LT5nZXRjdXN0b20gPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJHJlc3VsdC0+Z2V0Y3VzdG9tKTsNCgkJCQkJaWYgKHN1YnN0cigkcmVzdWx0LT5nZXRjdXN0b20sIDAsIHN0cmxlbignZ2V0JykpID09ICdnZXQnKQ0KCQkJCQl7DQoJCQkJCQkkdmFyTmFtZSA9IHN1YnN0cigkcmVzdWx0LT5nZXRjdXN0b20sIHN0cmxlbignZ2V0JykpOw0KCQkJCQl9DQoJCQkJCWVsc2UNCgkJCQkJew0KCQkJCQkJJHZhck5hbWUgPSAkcmVzdWx0LT5nZXRjdXN0b207DQoJCQkJCX0NCgkJCQkJJGxheW91dFN0cmluZ1tdID0gIjxkaXY+ZHluYW1pY0dldDogPGI+Ii4kcmVzdWx0LT5uYW1lLiI8L2I+PGJyIC8+PGNvZGU+Jmx0Oz9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJyIuW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzYWZlU3RyaW5nKCRyZXN1bHQtPmFsaWFzKS4iJywgXCR0aGlzLT4iLiR2YXJOYW1lLiIpOyA/Jmd0OzwvY29kZT48L2Rpdj4iOw0KCQkJCQlicmVhazsNCgkJCQl9DQoJCQl9DQoJCQkkbGF5b3V0U3RyaW5nW10gPSAiPC9kaXY+PGhyIC8+IjsNCgkJCXJldHVybiBpbXBsb2RlKCJcbiIsJGxheW91dFN0cmluZyk7DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0NCg0KCXB1YmxpYyBmdW5jdGlvbiBnZXREeW5hbWljRm9ybURldGFpbHMoJGlkKQ0KCXsNCgkJLy8gR2V0IGEgZGIgY29ubmVjdGlvbi4NCgkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkgDQoJCS8vIENyZWF0ZSBhIG5ldyBxdWVyeSBvYmplY3QuDQoJCSRxdWVyeSA9ICRkYi0+Z2V0UXVlcnkodHJ1ZSk7DQoJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdhLm5hbWUnLCdhLm5hbWVfY29kZScsJ2EuZmlsdGVyYnVpbGRlcl9tYXAnKSkpOw0KCQkkcXVlcnktPmZyb20oJGRiLT5xdW90ZU5hbWUoJyNfX1tbW2NvbXBvbmVudF1dXV9keW5hbWljX2Zvcm0nLCAnYScpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnYS5pZCcpIC4gJyAhPSAnLihpbnQpICRpZCk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2EucHVibGlzaGVkJykgLiAnID0gMScpOw0KCQkgDQoJCS8vIFJlc2V0IHRoZSBxdWVyeSB1c2luZyBvdXIgbmV3bHkgcG9wdWxhdGVkIHF1ZXJ5IG9iamVjdC4NCgkJJGRiLT5zZXRRdWVyeSgkcXVlcnkpOw0KCQkkZGItPmV4ZWN1dGUoKTsNCgkJaWYgKCRkYi0+Z2V0TnVtUm93cygpKQ0KCQl7IA0KCQkJJHJlc3VsdHMgPSAkZGItPmxvYWRPYmplY3RMaXN0KCk7DQoJCQkkc3RyaW5nID0gYXJyYXkoJzxoMz5EeW5hbWljIEZvcm0gTGlua3M8L2gzPjxkaXYgY2xhc3M9InJvdy1mbHVpZCBmb3JtLWhvcml6b250YWwtZGVza3RvcCI+Jyk7DQoJCQlmb3JlYWNoICgkcmVzdWx0cyBhcyAkcmVzdWx0KQ0KCQkJew0KCQkJCSRkeW5hbWljSWRzID0gYXJyYXkoKTsNCgkJCQkkcmVzdWx0LT5maWx0ZXJidWlsZGVyX21hcCA9IGJhc2U2NF9kZWNvZGUoJHJlc3VsdC0+ZmlsdGVyYnVpbGRlcl9tYXApOw0KCQkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCRyZXN1bHQtPmZpbHRlcmJ1aWxkZXJfbWFwKSAmJiBzdHJwb3MoJHJlc3VsdC0+ZmlsdGVyYnVpbGRlcl9tYXAsIFBIUF9FT0wpICE9PSBmYWxzZSkNCgkJCQl7DQoJCQkJCSRmaWx0ZXJzID0gZXhwbG9kZShQSFBfRU9MLCAkcmVzdWx0LT5maWx0ZXJidWlsZGVyX21hcCk7DQoJCQkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJGZpbHRlcnMpKQ0KCQkJCQl7DQoJCQkJCQlmb3JlYWNoICgkZmlsdGVycyBhcyAkZmlsdGVyKQ0KCQkJCQkJew0KCQkJCQkJCWlmIChzdHJwb3MoJGZpbHRlciwgJ0lkJykgIT09IGZhbHNlIHx8IHN0cnBvcygkZmlsdGVyLCAnaWQnKSAhPT0gZmFsc2UpDQoJCQkJCQkJew0KCQkJCQkJCQlsaXN0KCRpZGtleSwgJGR1bXApID0gZXhwbG9kZSgnPT4nLCAkZmlsdGVyKTsNCgkJCQkJCQkJJGR5bmFtaWNJZHNbXSA9ICImIi50cmltKCRpZGtleSkuIj0mbHQ7P3BocCBlY2hvIFwkZGlzcGxheURhdGEtPiIudHJpbSgkaWRrZXkpLiI7ID8mZ3Q7IjsNCgkJCQkJCQl9DQoJCQkJCQl9DQoJCQkJCX0NCgkJCQl9DQoJCQkJJHN0cmluZ1tdID0gIjxkaXY+ZHluYW1pY0Zvcm06IDxiPiIuJHJlc3VsdC0+bmFtZS4iPC9iPjxiciAvPjxjb2RlPiZsdDthIGhyZWY9XCJpbmRleC5waHA/b3B0aW9uPWNvbV8mIzkxOyYjOTE7JiM5MTtjb21wb25lbnQmIzkzOyYjOTM7JiM5MzsmdGFzaz1mb3JtLiIgLiAkcmVzdWx0LT5uYW1lX2NvZGUgLiBpbXBsb2RlKCcnLCRkeW5hbWljSWRzKSAuIiZyZWY9W1tbc3ZpZXddXV1cIiZndDsiIC4gJHJlc3VsdC0+bmFtZSAuICImbHQ7L2EmZ3Q7PC9jb2RlPjwvZGl2PiI7DQoJCQl9DQoJCQkkc3RyaW5nW10gPSAiPC9kaXY+PGhyIC8+IjsNCgkJCXJldHVybiBpbXBsb2RlKCJcbiIsJHN0cmluZyk7DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0NCgkNCglwcm90ZWN0ZWQgZnVuY3Rpb24gc2V0TGlzdE1ldGhvZE5hbWUoJG5hbWVzLCR0YWJsZSwkYXMsJHR5cGUpDQoJew0KCQkkbWV0aG9kTmFtZXMgPSBhcnJheSgpOw0KCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCRuYW1lcykpDQoJCXsNCgkJCWZvcmVhY2ggKCRuYW1lcyBhcyAkbnIgPT4gJG5hbWUpDQoJCQl7DQoJCQkJaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJG5hbWUpKQ0KCQkJCXsNCgkJCQkJaWYgKHN0cnBvcygkbmFtZSwnLicpICE9PSBmYWxzZSkNCgkJCQkJew0KCQkJCQkJbGlzdCgkZHVtcCwkdmFyKSA9IGV4cGxvZGUoJy4nLCRuYW1lKTsNCgkJCQkJfQ0KCQkJCQllbHNlDQoJCQkJCXsNCgkJCQkJCSR2YXIgPSAkbmFtZTsNCgkJCQkJfQ0KCQkJCQlpZiAoJG5yID4gMCkNCgkJCQkJew0KCQkJCQkJJG1ldGhvZE5hbWVzW10gPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJHZhciwnRicpOw0KCQkJCQl9DQoJCQkJCWVsc2UNCgkJCQkJew0KCQkJCQkJJG1ldGhvZE5hbWVzW10gPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJHZhcik7DQoJCQkJCX0NCgkJCQl9DQoJCQl9DQoJCX0NCgkJc3dpdGNoICgkdHlwZSkNCgkJew0KCQkJLy8gc2V0IHZpZXcgbmFtZQ0KCQkJY2FzZSAxOg0KCQkJJG1ldGhvZE5hbWVzW10gPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJHRoaXMtPmdldFZpZXdOYW1lKCR0YWJsZSksJ0YnKTsNCgkJCWJyZWFrOw0KCQkJLy8gc2V0IGRiIG5hbWUNCgkJCWNhc2UgMjoNCgkJCSRtZXRob2ROYW1lc1tdID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzYWZlU3RyaW5nKCR0YWJsZSwnRicpOw0KCQkJYnJlYWs7DQoJCQkNCgkJfQ0KCQkvLyBtYWtlIHN1cmUgdGhlcmUgaXMgdW5pcWUgbWV0aG9kIG5hbWVzDQoJCSRtZXRob2ROYW1lc1tdID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzYWZlU3RyaW5nKCRhcywnVScpOw0KCQlyZXR1cm4gJG1ldGhvZE5hbWVzOw0KCX0NCgkNCglwcm90ZWN0ZWQgZnVuY3Rpb24gZ2V0Vmlld05hbWUoJGlkKQ0KCXsNCgkJLy8gR2V0IGEgZGIgY29ubmVjdGlvbi4NCgkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkgDQoJCS8vIENyZWF0ZSBhIG5ldyBxdWVyeSBvYmplY3QuDQoJCSRxdWVyeSA9ICRkYi0+Z2V0UXVlcnkodHJ1ZSk7DQoJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCduYW1lX3NpbmdsZScpKSk7DQoJCSRxdWVyeS0+ZnJvbSgkZGItPnF1b3RlTmFtZSgnI19fW1tbY29tcG9uZW50XV1dX2FkbWluX3ZpZXcnKSk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2lkJykgLiAnID0gJy4gKGludCkgJGlkKTsNCgkJIA0KCQkvLyBSZXNldCB0aGUgcXVlcnkgdXNpbmcgb3VyIG5ld2x5IHBvcHVsYXRlZCBxdWVyeSBvYmplY3QuDQoJCSRkYi0+c2V0UXVlcnkoJHF1ZXJ5KTsNCgkJJGRiLT5leGVjdXRlKCk7DQoJCWlmICgkZGItPmdldE51bVJvd3MoKSkNCgkJew0KCQkJcmV0dXJuICRkYi0+bG9hZFJlc3VsdCgpOw0KCQl9DQoJCXJldHVybiAnJzsNCgl9DQoNCglwcm90ZWN0ZWQgZnVuY3Rpb24gc3BsaXRBdFVwcGVyQ2FzZSgkcykgew0KICAgICAgIAkJcmV0dXJuIHByZWdfc3BsaXQoJy8oPz1bQS1aXSkvJywgJHMsIC0xLCBQUkVHX1NQTElUX05PX0VNUFRZKTsNCgl9', '', '', '', '', '', '', '', '', 'The layouts used in the component front-end is build here', 1, '', 1, '', 1, 845, 450, '2015-05-18 16:14:16', '2015-09-24 05:17:11', '', '0000-00-00 00:00:00', 64, '', 1, 1), -(21, 2499, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 1, '{\"target_field\":[],\"target_behavior\":[],\"target_relation\":[],\"match_field\":[],\"match_behavior\":[],\"match_options\":[]}', '{\"field\":[\"199\",\"324\",\"325\",\"327\",\"84\",\"326\",\"323\"],\"list\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"2\",\"3\",\"4\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"alignment\":[\"4\",\"4\",\"4\",\"1\",\"1\",\"1\",\"2\"],\"order_edit\":[\"1\",\"2\",\"3\",\"1\",\"2\",\"3\",\"1\"]}', '', '{\"action\":[\"core.edit\",\"core.edit.state\",\"core.edit.own\",\"core.create\",\"core.delete\",\"view.access\"],\"implementation\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"3\"]}', '{\"table\":[\"componentbuilder_snippet\"],\"sourcemap\":[\"id => id\\ndescription => description\\nheading => heading\\nname => name\\nsnippet => snippet\\ntype => type\\nurl => url\\nusage => usage\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"\"]}', '', '', '', '', '{\"value_name\":[],\"task_name\":[],\"input_default\":[],\"input_filter\":[],\"method_name\":[]}', '', '', '', 'images/pool-boat-icon.png', 'images/pool-boat-icon-plus.png', '', '', '', '', '', 'Snippets', 'Snippet', 'Snippet', '', '', '', '', '', '', '', '', '', '', 'The snippets used in the templates is build here', 1, '', 1, '', 1, 845, 845, '2015-05-19 14:49:08', '2015-08-25 20:43:42', '', '0000-00-00 00:00:00', 15, '', 1, 1), -(22, 2342, '', '', 1, 1, '', '', 1, '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"532\"],[\"343\"],[\"380\"],[\"351\"],[\"492\"],[\"530\"],[\"542\"],[\"543\"],[\"542\"],[\"543\"],[\"552\"],[\"539\",\"551\",\"546\",\"538\",\"376\"],[\"701\"],[\"702\"],[\"702\",\"701\"],[\"704\",\"703\"],[\"663\"],[\"788\"],[\"705\"],[\"705\",\"788\",\"663\"],[\"787\",\"789\",\"662\"],[\"970\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\"],\"match_field\":[\"342\",\"540\",\"540\",\"540\",\"540\",\"531\",\"531\",\"531\",\"342\",\"342\",\"540\",\"540\",\"703\",\"704\",\"342\",\"342\",\"662\",\"789\",\"787\",\"342\",\"342\",\"342\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"3|getCustom\\n4|getCustoms\",\"1|Back-end View\",\"1|Back-end View\",\"2|Joomla Database\",\"2|Joomla Database\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|getItem\\n3|getCustom\",\"2|getListQuery\\n4|getCustoms\",\"3|Custom\",\"1|Back-end View\\n2|Joomla Database\",\"1|Yes\",\"1|Yes\",\"1|getItem\\n3|getCustom\",\"1|getItem\\n3|getCustom\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"2|getListQuery\\n4|getCustoms\",\"2|getListQuery\\n4|getCustoms\",\"2|getListQuery\"]}', '{\"field\":[\"199\",\"342\",\"532\",\"970\",\"540\",\"343\",\"380\",\"351\",\"492\",\"376\",\"538\",\"539\",\"546\",\"573\",\"551\",\"552\",\"703\",\"701\",\"704\",\"702\",\"662\",\"663\",\"789\",\"788\",\"787\",\"705\",\"531\",\"542\",\"543\",\"530\",\"203\"],\"list\":[\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"3\",\"0\",\"0\",\"2\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"3\",\"3\",\"3\",\"3\",\"1\"],\"alignment\":[\"4\",\"4\",\"4\",\"4\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"1\",\"3\",\"3\",\"3\",\"5\"],\"order_edit\":[\"1\",\"2\",\"3\",\"4\",\"1\",\"2\",\"3\",\"4\",\"5\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"1\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"1\",\"1\",\"2\",\"3\",\"1\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[\"componentbuilder_dynamic_get\"],\"sourcemap\":[\"id => id\\nasset_id => asset_id\\nadd_php_after_getitem => add_php_after_getitem\\nadd_php_before_getitem => add_php_before_getitem\\nadd_php_after_getitems => add_php_after_getitems\\nadd_php_before_getitems => add_php_before_getitems\\nadd_php_getlistquery => add_php_getlistquery\\nphp_after_getitem => php_after_getitem\\nphp_before_getitem => php_before_getitem\\nphp_before_getitems => php_before_getitems\\nphp_getlistquery => php_getlistquery\\nphp_after_getitems => php_after_getitems\\npagination => pagination\\naddcalculation => addcalculation\\ndb_selection => db_selection\\ndb_table_main => db_table_main\\nfilter => filter\\ngetcustom => getcustom\\ngettype => gettype\\nglobal => global\\njoin_db_table => join_db_table\\njoin_view_table => join_view_table\\nmain_source => main_source\\nname => name\\nnot_required => not_required\\norder => order\\nphp_calculation => php_calculation\\nphp_custom_get => php_custom_get\\nview_selection => view_selection\\nview_table_main => view_table_main\\nwhere => where\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nchecked_out => checked_out\\nchecked_out_time => checked_out_time\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"getTable\",\"Custom Script\",\"Abacus\"]}', '', '', '', '', '{\"value_name\":[\"name\",\"as\",\"type\",\"id\",\"as\",\"type\"],\"task_name\":[\"dbTableColumns\",\"dbTableColumns\",\"dbTableColumns\",\"viewTableColumns\",\"viewTableColumns\",\"viewTableColumns\"],\"input_default\":[\"NULL\",\"NULL\",\"NULL\",\"NULL\",\"NULL\",\"NULL\"],\"input_filter\":[\"WORD\",\"WORD\",\"INT\",\"INT\",\"WORD\",\"INT\"],\"method_name\":[\"getDbTableColumns\",\"getDbTableColumns\",\"getDbTableColumns\",\"getViewTableColumns\",\"getViewTableColumns\",\"getViewTableColumns\"]}', '', '', '', 'images/message-bottle-icon.png', 'images/message-bottle-icon-plus.png', '', 'ZnVuY3Rpb24gZ2V0Vmlld1RhYmxlQ29sdW1uc19zZXJ2ZXIodmlld0lkLGFzS2V5LHJvd1R5cGUpDQp7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LnZpZXdUYWJsZUNvbHVtbnMmZm9ybWF0PWpzb24iOw0KCWlmICh0b2tlbi5sZW5ndGggPiAwICYmIHZpZXdJZCA+IDAgJiYgYXNLZXkubGVuZ3RoID4gMCkNCgl7DQoJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPScrdG9rZW4rJyZhcz0nK2FzS2V5KycmdHlwZT0nK3Jvd1R5cGUrJyZpZD0nK3ZpZXdJZDsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0Vmlld1RhYmxlQ29sdW1ucyhpZCxhc0tleSxrZXkscm93VHlwZSxtYWluKQ0Kew0KCWdldFZpZXdUYWJsZUNvbHVtbnNfc2VydmVyKGlkLGFzS2V5LHJvd1R5cGUpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmIChyZXN1bHQpDQoJCXsNCgkJCWxvYWRTZWxlY3Rpb25EYXRhKHJlc3VsdCwndmlldycsa2V5LG1haW4pOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJbG9hZFNlbGVjdGlvbkRhdGEoZmFsc2UsJ3ZpZXcnLGtleSxtYWluKTsNCgkJfQ0KCX0pDQp9DQoNCmZ1bmN0aW9uIGdldERiVGFibGVDb2x1bW5zX3NlcnZlcihuYW1lLGFzS2V5LHJvd1R5cGUpDQp7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LmRiVGFibGVDb2x1bW5zJmZvcm1hdD1qc29uIjsNCglpZiAodG9rZW4ubGVuZ3RoID4gMCAmJiBuYW1lLmxlbmd0aCA+IDAgJiYgYXNLZXkubGVuZ3RoID4gMCkNCgl7DQoJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPScrdG9rZW4rJyZhcz0nK2FzS2V5KycmdHlwZT0nK3Jvd1R5cGUrJyZuYW1lPScrbmFtZTsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0RGJUYWJsZUNvbHVtbnMobmFtZSxhc0tleSxrZXkscm93VHlwZSxtYWluKQ0Kew0KCWdldERiVGFibGVDb2x1bW5zX3NlcnZlcihuYW1lLGFzS2V5LHJvd1R5cGUpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmIChyZXN1bHQpDQoJCXsNCgkJCWxvYWRTZWxlY3Rpb25EYXRhKHJlc3VsdCwnZGInLGtleSxtYWluKTsNCgkJfQ0KCQllbHNlDQoJCXsNCgkJCWxvYWRTZWxlY3Rpb25EYXRhKGZhbHNlLCdkYicsa2V5LG1haW4pOw0KCQl9DQoJfSkNCn0NCg0KZnVuY3Rpb24gbG9hZFNlbGVjdGlvbkRhdGEocmVzdWx0LHR5cGUsa2V5LG1haW4pDQp7DQoJaWYgKG1haW4pDQoJew0KCQl2YXIgdGV4dEFyZWEgPSAndGV4dGFyZWEjamZvcm1fJytrZXkrJ19zZWxlY3Rpb24nOw0KCX0NCgllbHNlIA0KCXsNCgkJdmFyIHRleHRBcmVhID0gJ3RleHRhcmVhI2pmb3JtX2pvaW5fJyt0eXBlKydfdGFibGVfZmllbGRzX3NlbGVjdGlvbi0nK2tleTsNCgl9DQoJLy8gbm8gdXBkYXRlIHRoZSB0ZXh0IGFyZWENCglpZiAocmVzdWx0KQ0KCXsNCgkJalF1ZXJ5KHRleHRBcmVhKS52YWwocmVzdWx0KTsNCgl9DQoJZWxzZQ0KCXsNCgkJalF1ZXJ5KHRleHRBcmVhKS52YWwoJycpOw0KCX0NCn0=', 'PD9waHAgJGZpZWxkTnJzID0gcmFuZ2UoMSw1MCwxKTsgPz4NCjw/cGhwICRmaWVsZE5hbWVzID0gYXJyYXkoJ2RiJyA9PiAnRGInLCd2aWV3JyA9PiAnVmlldycpOyA/Pg0KPD9waHAgZm9yZWFjaCgkZmllbGROYW1lcyBhcyAkZmllbGROYW1lID0+ICRmdW5jTmFtZSk6ID8+alF1ZXJ5KCcjamZvcm1fam9pbl88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfbW9kYWwnKS5vbignc2hvdy5icy5tb2RhbCcsIGZ1bmN0aW9uIChlKSB7DQogCTw/cGhwIGZvcmVhY2goJGZpZWxkTnJzIGFzICRmaWVsZE5yKTogPz5qUXVlcnkoJyNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9tb2RhbCcpLm9uKCdjaGFuZ2UnLCAnI2pmb3JtX2pvaW5fPD9waHAgZWNobyAkZmllbGROYW1lID8+X3RhYmxlX2ZpZWxkc188P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGUtPD9waHAgZWNobyAkZmllbGROciA/PicsZnVuY3Rpb24gKGUpIHsNCgkJZS5wcmV2ZW50RGVmYXVsdCgpOw0KCQkvLyBnZXQgb3B0aW9ucw0KCQl2YXIgPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gPSBqUXVlcnkoIiNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfPD9waHAgZWNobyAkZmllbGROYW1lID8+X3RhYmxlLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCXZhciBhc188P3BocCBlY2hvICRmaWVsZE5yID8+ID0galF1ZXJ5KCIjamZvcm1fam9pbl88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfZmllbGRzX2FzLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCXZhciByb3dfPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gPSBqUXVlcnkoIiNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfcm93X3R5cGUtPD9waHAgZWNobyAkZmllbGROciA/PiBvcHRpb246c2VsZWN0ZWQiKS52YWwoKTsNCgkJZ2V0PD9waHAgZWNobyAkZnVuY05hbWUgPz5UYWJsZUNvbHVtbnMoPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4sYXNfPD9waHAgZWNobyAkZmllbGROciA/Piw8P3BocCBlY2hvICRmaWVsZE5yID8+LHJvd188P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fPD9waHAgZWNobyAkZmllbGROciA/PixmYWxzZSk7DQoJfSk7DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCgk8P3BocCBmb3JlYWNoKCRmaWVsZE5ycyBhcyAkZmllbGROcik6ID8+alF1ZXJ5KCcjamZvcm1fam9pbl88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfbW9kYWwnKS5vbignY2hhbmdlJywgJyNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfYXMtPD9waHAgZWNobyAkZmllbGROciA/PicsZnVuY3Rpb24gKGUpIHsNCgkJZS5wcmV2ZW50RGVmYXVsdCgpOw0KCQkvLyBnZXQgb3B0aW9ucw0KCQl2YXIgPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gPSBqUXVlcnkoIiNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfPD9waHAgZWNobyAkZmllbGROYW1lID8+X3RhYmxlLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCXZhciBhc188P3BocCBlY2hvICRmaWVsZE5yID8+ID0galF1ZXJ5KCIjamZvcm1fam9pbl88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfZmllbGRzX2FzLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCXZhciByb3dfPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gPSBqUXVlcnkoIiNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfcm93X3R5cGUtPD9waHAgZWNobyAkZmllbGROciA/PiBvcHRpb246c2VsZWN0ZWQiKS52YWwoKTsNCgkJZ2V0PD9waHAgZWNobyAkZnVuY05hbWUgPz5UYWJsZUNvbHVtbnMoPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4sYXNfPD9waHAgZWNobyAkZmllbGROciA/Piw8P3BocCBlY2hvICRmaWVsZE5yID8+LHJvd188P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fPD9waHAgZWNobyAkZmllbGROciA/PixmYWxzZSk7DQoJfSk7DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCgk8P3BocCBmb3JlYWNoKCRmaWVsZE5ycyBhcyAkZmllbGROcik6ID8+alF1ZXJ5KCcjamZvcm1fam9pbl88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfbW9kYWwnKS5vbignY2hhbmdlJywgJyNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfcm93X3R5cGUtPD9waHAgZWNobyAkZmllbGROciA/PicsZnVuY3Rpb24gKGUpIHsNCgkJZS5wcmV2ZW50RGVmYXVsdCgpOw0KCQkvLyBnZXQgb3B0aW9ucw0KCQl2YXIgPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gPSBqUXVlcnkoIiNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfPD9waHAgZWNobyAkZmllbGROYW1lID8+X3RhYmxlLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCXZhciBhc188P3BocCBlY2hvICRmaWVsZE5yID8+ID0galF1ZXJ5KCIjamZvcm1fam9pbl88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfZmllbGRzX2FzLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCXZhciByb3dfPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gPSBqUXVlcnkoIiNqZm9ybV9qb2luXzw/cGhwIGVjaG8gJGZpZWxkTmFtZSA/Pl90YWJsZV9maWVsZHNfcm93X3R5cGUtPD9waHAgZWNobyAkZmllbGROciA/PiBvcHRpb246c2VsZWN0ZWQiKS52YWwoKTsNCgkJZ2V0PD9waHAgZWNobyAkZnVuY05hbWUgPz5UYWJsZUNvbHVtbnMoPD9waHAgZWNobyAkZmllbGROYW1lID8+Xzw/cGhwIGVjaG8gJGZpZWxkTnIgPz4sYXNfPD9waHAgZWNobyAkZmllbGROciA/Piw8P3BocCBlY2hvICRmaWVsZE5yID8+LHJvd188P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fPD9waHAgZWNobyAkZmllbGROciA/PixmYWxzZSk7DQoJfSk7DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCn0pOw0KPD9waHAgZW5kZm9yZWFjaDsgPz4NCg0KPD9waHAgZm9yZWFjaCgkZmllbGROYW1lcyBhcyAkZmllbGROYW1lID0+ICRmdW5jTmFtZSk6ID8+alF1ZXJ5KCcjZ2V0dGFibGUnKS5vbignY2hhbmdlJywgJyNqZm9ybV88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfbWFpbicsZnVuY3Rpb24gKGUpIHsNCgkvLyBnZXQgb3B0aW9ucw0KCXZhciB2YWx1ZV88P3BocCBlY2hvICRmaWVsZE5hbWUgPz4gPSBqUXVlcnkoIiNqZm9ybV88P3BocCBlY2hvICRmaWVsZE5hbWUgPz5fdGFibGVfbWFpbiBvcHRpb246c2VsZWN0ZWQiKS52YWwoKTsNCglnZXQ8P3BocCBlY2hvICRmdW5jTmFtZTsgPz5UYWJsZUNvbHVtbnModmFsdWVfPD9waHAgZWNobyAkZmllbGROYW1lID8+LCdhJywnPD9waHAgZWNobyAkZmllbGROYW1lID8+JywzLHRydWUpOw0KfSk7DQo8P3BocCBlbmRmb3JlYWNoOyA/Pg==', '', '', 'Dynamic Gets', 'Dynamic Get', 'Dynamic Get', '', 'CXB1YmxpYyBmdW5jdGlvbiBnZXRWaWV3VGFibGVDb2x1bW5zKCRpZCwkYXMsJHR5cGUpDQoJew0KCQkvLyBHZXQgYSBkYiBjb25uZWN0aW9uLg0KCQkkZGIgPSBKRmFjdG9yeTo6Z2V0RGJvKCk7DQoJCSANCgkJLy8gQ3JlYXRlIGEgbmV3IHF1ZXJ5IG9iamVjdC4NCgkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJJHF1ZXJ5LT5zZWxlY3QoJGRiLT5xdW90ZU5hbWUoYXJyYXkoJ2FkZGZpZWxkcycsJ25hbWVfc2luZ2xlJykpKTsNCgkJJHF1ZXJ5LT5mcm9tKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fYWRtaW5fdmlldycpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgncHVibGlzaGVkJykgLiAnID0gMScpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcuICRpZCk7DQoJCSANCgkJLy8gUmVzZXQgdGhlIHF1ZXJ5IHVzaW5nIG91ciBuZXdseSBwb3B1bGF0ZWQgcXVlcnkgb2JqZWN0Lg0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCSRkYi0+ZXhlY3V0ZSgpOw0KCQlpZiAoJGRiLT5nZXROdW1Sb3dzKCkpDQoJCXsNCgkJCSRyZXN1bHQgPSAkZGItPmxvYWRPYmplY3QoKTsNCgkJCSRkZXNjcmlwdGlvbiA9ICcnOw0KCQkJaWYgKDEgPT0gJHR5cGUpDQoJCQl7DQoJCQkJJHRhYmxlTmFtZSA9IFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2FmZVN0cmluZygkcmVzdWx0LT5uYW1lX3NpbmdsZSkuJ18nOw0KCQkJfQ0KCQkJZWxzZQ0KCQkJew0KCQkJCSR0YWJsZU5hbWUgPSAnJzsNCgkJCX0NCgkJCSRhZGRmaWVsZHMgPSBqc29uX2RlY29kZSgkcmVzdWx0LT5hZGRmaWVsZHMsdHJ1ZSk7DQoJCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCRhZGRmaWVsZHMpKQ0KCQkJew0KCQkJCSRmaWVsZHMgPSBhcnJheSgpOw0KCQkJCS8vIGdldCBkYXRhDQoJCQkJZm9yZWFjaCAoJGFkZGZpZWxkcyBhcyAkb3B0aW9uID0+ICR2YWx1ZXMpDQoJCQkJew0KCQkJCQlmb3JlYWNoICgkdmFsdWVzIGFzICRuciA9PiAkdmFsdWUpDQoJCQkJCXsNCgkJCQkJCWlmICgkb3B0aW9uID09ICdmaWVsZCcpDQoJCQkJCQl7DQoJCQkJCQkJJHZhbHVlID0gJHRoaXMtPmdldEZpZWxkRGF0YSgoaW50KSAkdmFsdWUpOw0KCQkJCQkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJHZhbHVlKSkNCgkJCQkJCQl7DQoJCQkJCQkJCSRmaWVsZFskbnJdID0gJHZhbHVlOw0KCQkJCQkJCX0NCgkJCQkJCX0NCgkJCQkJCWVsc2VpZiAoJG9wdGlvbiA9PSAnYWxpYXMnKQ0KCQkJCQkJew0KCQkJCQkJCWlmICgkdmFsdWUgPT0gMSkNCgkJCQkJCQl7DQoJCQkJCQkJCSRuYW1lWyRucl0gPSAnYWxpYXMnOw0KCQkJCQkJCX0NCgkJCQkJCQllbHNlDQoJCQkJCQkJew0KCQkJCQkJCQkkbmFtZVskbnJdID0gJyc7DQoJCQkJCQkJfQ0KCQkJCQkJfQ0KCQkJCQl9DQoJCQkJfQ0KCQkJCS8vIGFkZCB0aGUgYmFzaWMgZGVmYXVsdHMNCgkJCQkkZmllbGRzW10gPSAkYXMuIi5pZCBBUyAiLiR0YWJsZU5hbWUuImlkIjsNCgkJCQkkZmllbGRzW10gPSAkYXMuIi5hc3NldF9pZCBBUyAiLiR0YWJsZU5hbWUuImFzc2V0X2lkIjsNCgkJCQkvLyBsb2FkIGRhdGENCgkJCQlmb3JlYWNoICgkZmllbGQgYXMgJG4gPT4gJGYpDQoJCQkJew0KCQkJCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCRmKSkNCgkJCQkJew0KCQkJCQkJaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJG5hbWVbJG5dKSkNCgkJCQkJCXsNCgkJCQkJCQkkZlsnbmFtZSddID0gJG5hbWVbJG5dOw0KCQkJCQkJfQ0KCQkJCQkJJGZpZWxkc1tdID0gJGFzLiIuIi4kZlsnbmFtZSddLiIgQVMgIi4kdGFibGVOYW1lLiRmWyduYW1lJ107DQoJCQkJCX0NCgkJCQl9DQoJCQkJLy8gYWRkIHRoZSBiYXNpYyBkZWZhdWx0cw0KCQkJCSRmaWVsZHNbXSA9ICRhcy4iLnB1Ymxpc2hlZCBBUyAiLiR0YWJsZU5hbWUuInB1Ymxpc2hlZCI7DQoJCQkJJGZpZWxkc1tdID0gJGFzLiIuY3JlYXRlZF9ieSBBUyAiLiR0YWJsZU5hbWUuImNyZWF0ZWRfYnkiOw0KCQkJCSRmaWVsZHNbXSA9ICRhcy4iLm1vZGlmaWVkX2J5IEFTICIuJHRhYmxlTmFtZS4ibW9kaWZpZWRfYnkiOw0KCQkJCSRmaWVsZHNbXSA9ICRhcy4iLmNyZWF0ZWQgQVMgIi4kdGFibGVOYW1lLiJjcmVhdGVkIjsNCgkJCQkkZmllbGRzW10gPSAkYXMuIi5tb2RpZmllZCBBUyAiLiR0YWJsZU5hbWUuIm1vZGlmaWVkIjsNCgkJCQkkZmllbGRzW10gPSAkYXMuIi52ZXJzaW9uIEFTICIuJHRhYmxlTmFtZS4idmVyc2lvbiI7DQoJCQkJJGZpZWxkc1tdID0gJGFzLiIuaGl0cyBBUyAiLiR0YWJsZU5hbWUuImhpdHMiOw0KCQkJCWlmICgwKQ0KCQkJCXsNCgkJCQkJJGZpZWxkc1tdID0gJGFzLiIuYWNjZXNzIEFTICIuJHRhYmxlTmFtZS4iYWNjZXNzIjsNCgkJCQl9DQoJCQkJJGZpZWxkc1tdID0gJGFzLiIub3JkZXJpbmcgQVMgIi4kdGFibGVOYW1lLiJvcmRlcmluZyI7DQoJCQkJJHZpZXdGaWVsZHMgPSAkZGVzY3JpcHRpb24uaW1wbG9kZSgiXG4iLCRmaWVsZHMpOw0KCQkJfQ0KCQkJcmV0dXJuICR2aWV3RmllbGRzOw0KCQl9DQoJCXJldHVybiBmYWxzZTsNCgl9DQoNCglwcm90ZWN0ZWQgZnVuY3Rpb24gZ2V0RmllbGREYXRhKCRpZCkNCgl7DQoJCS8vIEdldCBhIGRiIGNvbm5lY3Rpb24uDQoJCSRkYiA9IEpGYWN0b3J5OjpnZXREYm8oKTsNCgkJIA0KCQkvLyBDcmVhdGUgYSBuZXcgcXVlcnkgb2JqZWN0Lg0KCQkkcXVlcnkgPSAkZGItPmdldFF1ZXJ5KHRydWUpOw0KCQkNCgkJLy8gT3JkZXIgaXQgYnkgdGhlIG9yZGVyaW5nIGZpZWxkLg0KCQkkcXVlcnktPnNlbGVjdCgkZGItPnF1b3RlTmFtZShhcnJheSgnYS5uYW1lJywnYS54bWwnKSkpOw0KCQkkcXVlcnktPnNlbGVjdCgkZGItPnF1b3RlTmFtZShhcnJheSgnYy5uYW1lJyksYXJyYXkoJ3R5cGVfbmFtZScpKSk7DQoJCSRxdWVyeS0+ZnJvbSgnI19fW1tbY29tcG9uZW50XV1dX2ZpZWxkIEFTIGEnKTsNCgkJJHF1ZXJ5LT5qb2luKCdMRUZUJywgJGRiLT5xdW90ZU5hbWUoJyNfX1tbW2NvbXBvbmVudF1dXV9maWVsZHR5cGUnLCAnYycpIC4gJyBPTiAoJyAuICRkYi0+cXVvdGVOYW1lKCdhLnR5cGUnKSAuICcgPSAnIC4gJGRiLT5xdW90ZU5hbWUoJ2MuaWQnKSAuICcpJyk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2EuaWQnKSAuICcgPSAnLiAkZGItPnF1b3RlKCRpZCkpOw0KCQkgDQoJCS8vIFJlc2V0IHRoZSBxdWVyeSB1c2luZyBvdXIgbmV3bHkgcG9wdWxhdGVkIHF1ZXJ5IG9iamVjdC4NCgkJJGRiLT5zZXRRdWVyeSgkcXVlcnkpOw0KCQkkZGItPmV4ZWN1dGUoKTsNCgkJaWYgKCRkYi0+Z2V0TnVtUm93cygpKQ0KCQl7DQoJCQkvLyBMb2FkIHRoZSByZXN1bHRzIGFzIGEgbGlzdCBvZiBzdGRDbGFzcyBvYmplY3RzIChzZWUgbGF0ZXIgZm9yIG1vcmUgb3B0aW9ucyBvbiByZXRyaWV2aW5nIGRhdGEpLg0KCQkJJGZpZWxkID0gJGRiLT5sb2FkT2JqZWN0KCk7DQoJCQkvLyBsb2FkIHRoZSB2YWx1ZXMgZm9ybSBwYXJhbXMNCgkJCSRmaWVsZC0+eG1sID0ganNvbl9kZWNvZGUoJGZpZWxkLT54bWwpOw0KCQkJJGZpZWxkLT50eXBlX25hbWUgPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJGZpZWxkLT50eXBlX25hbWUpOw0KCQkJJGxvYWQgPSB0cnVlOw0KCQkJLy8gaWYgY2F0ZWdvcnkgdGhlbiBuYW1lIG11c3QgYmUgY2F0aWQgKG9ubHkgb25lIHBlciB2aWV3KQ0KCQkJaWYgKCRmaWVsZC0+dHlwZV9uYW1lID09ICdjYXRlZ29yeScpDQoJCQl7DQoJCQkJJG5hbWUgPSAnY2F0aWQnOw0KCQkJCQ0KCQkJfQ0KCQkJLy8gaWYgdGFnIGlzIHNldCB0aGVuIGVuYWJsZSBhbGwgdGFnIG9wdGlvbnMgZm9yIHRoaXMgdmlldyAob25seSBvbmUgcGVyIHZpZXcpDQoJCQllbHNlaWYgKCRmaWVsZC0+dHlwZV9uYW1lID09ICd0YWcnKQ0KCQkJew0KCQkJCSRuYW1lID0gJ3RhZ3MnOw0KCQkJfQ0KCQkJLy8gZG9uJ3QgYWRkIHNwYWNlcnMgb3Igbm90ZXMNCgkJCWVsc2VpZiAoJGZpZWxkLT50eXBlX25hbWUgPT0gJ3NwYWNlcicgfHwgJGZpZWxkLT50eXBlX25hbWUgPT0gJ25vdGUnKQ0KCQkJew0KCQkJCS8vIG1ha2Ugc3VyZSB0aGUgbmFtZSBpcyB1bmlxdWUNCgkJCQlyZXR1cm4gZmFsc2U7DQoJCQl9DQoJCQllbHNlDQoJCQl7DQoJCQkJJG5hbWUgPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRCZXR3ZWVuKCRmaWVsZC0+eG1sLCduYW1lPSInLCciJykpOw0KCQkJfQ0KCQkJDQoJCQkvLyB1c2UgZmllbGQgY29yZSBuYW1lIG9ubHkgaWYgbm90IGZvdW5kIGluIHhtbA0KCQkJaWYgKCFbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCRuYW1lKSkNCgkJCXsNCgkJCQkkbmFtZSA9IFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2FmZVN0cmluZygkZmllbGQtPm5hbWUpOzsNCgkJCX0NCgkJCXJldHVybiBhcnJheSgnbmFtZScgPT4gJG5hbWUsICd0eXBlJyA9PiAkZmllbGQtPnR5cGVfbmFtZSk7DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0NCiAgICANCglwdWJsaWMgZnVuY3Rpb24gZ2V0RGJUYWJsZUNvbHVtbnMoJHRhYmxlTmFtZSwkYXMsJHR5cGUpDQoJew0KCQkvLyBHZXQgYSBkYiBjb25uZWN0aW9uLg0KCQkkZGIgPSBKRmFjdG9yeTo6Z2V0RGJvKCk7DQogICAgICAgIAkvLyBnZXQgdGhlIGNvbHVtbnMNCgkJJGNvbHVtbnMgPSAkZGItPmdldFRhYmxlQ29sdW1ucygiI19fIi4kdGFibGVOYW1lKTsNCgkJaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkY29sdW1ucykpDQoJCXsNCiAgICAgICAgCS8vIGJ1aWxkIHRoZSByZXR1cm4gc3RyaW5nDQoJCQkkdGFibGVDb2x1bW5zID0gYXJyYXkoKTsNCgkJCWZvcmVhY2ggKCRjb2x1bW5zIGFzICRjb2x1bW4gPT4gJHR5cGUpDQoJCQl7DQoJCQkJJHRhYmxlQ29sdW1uc1tdID0gICRhcy4iLiIuJGNvbHVtbiAuICcgQVMgJyAuICRjb2x1bW47DQoJCQl9DQoJCQlyZXR1cm4gaW1wbG9kZSgiXG4iLCR0YWJsZUNvbHVtbnMpOw0KCQl9DQoJCXJldHVybiBmYWxzZTsNCgl9', '', '', '', '', '', '', '', '', 'To build the front-end get methods', 1, '', 1, '', 1, 845, 450, '2015-05-21 16:05:57', '2016-01-06 14:20:55', '', '0000-00-00 00:00:00', 75, '', 1, 2), -(24, 2500, '', '', 1, 1, '', '', 1, '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"322\"]],\"target_behavior\":[\"1\"],\"target_relation\":[\"0\"],\"match_field\":[\"565\"],\"match_behavior\":[\"1\"],\"match_options\":[\"1|Yes\"]}', '{\"field\":[\"199\",\"554\",\"85\",\"331\",\"319\",\"330\",\"544\",\"340\",\"561\",\"553\",\"565\",\"322\",\"203\"],\"list\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"2\",\"3\",\"4\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"1\"],\"alignment\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"7\",\"7\",\"3\",\"3\",\"3\",\"3\",\"5\"],\"order_edit\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"1\",\"1\",\"2\",\"1\",\"2\",\"1\",\"2\",\"1\"]}', '', '{\"action\":[\"core.edit\",\"core.edit.state\",\"core.edit.own\",\"core.create\",\"core.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[\"componentbuilder_template\"],\"sourcemap\":[\"id => id\\nalias => alias\\ndescription => description\\ndynamic_get => dynamic_get\\nname => name\\nsnippet => snippet\\ntemplate => template\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Details\",\"Custom Script\"]}', '', '', '', '', '{\"value_name\":[\"id\",\"id\"],\"task_name\":[\"layoutDetails\",\"templateDetails\"],\"input_default\":[\"null\",\"null\"],\"input_filter\":[\"INT\",\"INT\"],\"method_name\":[\"getLayoutDetails\",\"getTemplateDetails\"]}', '', '', '', 'images/Drawing-icon (2).png', 'images/Drawing-icon-(2)-plus.png', '', 'ZnVuY3Rpb24gZ2V0U25pcHBldERldGFpbHNfc2VydmVyKHNuaXBwZXRJZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LnNuaXBwZXREZXRhaWxzJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIHNuaXBwZXRJZCA+IDApew0KCQl2YXIgcmVxdWVzdCA9ICd0b2tlbj0nK3Rva2VuKycmaWQ9JytzbmlwcGV0SWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldFNuaXBwZXREZXRhaWxzKGlkKXsNCglnZXRTbmlwcGV0RGV0YWlsc19zZXJ2ZXIoaWQpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdC5zbmlwcGV0KXsNCgkJCXZhciBkZXNjcmlwdGlvbiA9ICcnOw0KCQkJaWYgKHJlc3VsdC5kZXNjcmlwdGlvbi5sZW5ndGggPiAwKQ0KCQkJew0KCQkJCWRlc2NyaXB0aW9uID0gJzxwPicrcmVzdWx0LmRlc2NyaXB0aW9uKyc8L3A+JzsNCgkJCX0NCgkJCXZhciBjb2RlID0gJzxkaXYgaWQ9InNuaXBwZXQtY29kZSI+PGI+JytyZXN1bHQubmFtZSsnICgnK3Jlc3VsdC50eXBlKycpPC9iPiA8YSBocmVmPSInK3Jlc3VsdC51cmwrJyIgdGFyZ2V0PSJfYmxhbmsiID5zZWUgbW9yZSBkZXRhaWxzPC9hPjxiciAvPjxlbT4nK3Jlc3VsdC5oZWFkaW5nKyc8L2VtPjxiciAvPjx0ZXh0YXJlYSAgaWQ9InNuaXBwZXQiIGNsYXNzPSJzcGFuMTIiIHJvd3M9IjExIj4nK3Jlc3VsdC5zbmlwcGV0Kyc8L3RleHRhcmVhPjwvZGl2Pic7DQoJCQlqUXVlcnkoJyNzbmlwcGV0LWNvZGUnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtY29kZScpLmFwcGVuZChjb2RlKTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBibG9jayBpcyBhY3RpdmUNCgkJCWpRdWVyeSgiI3NuaXBwZXQiKS5mb2N1cyhmdW5jdGlvbigpIHsNCgkJCQl2YXIgalF1ZXJ5dGhpcyA9IGpRdWVyeSh0aGlzKTsNCgkJCQlqUXVlcnl0aGlzLnNlbGVjdCgpOw0KCQkJDQoJCQkJLy8gV29yayBhcm91bmQgQ2hyb21lJ3MgbGl0dGxlIHByb2JsZW0NCgkJCQlqUXVlcnl0aGlzLm1vdXNldXAoZnVuY3Rpb24oKSB7DQoJCQkJCS8vIFByZXZlbnQgZnVydGhlciBtb3VzZXVwIGludGVydmVudGlvbg0KCQkJCQlqUXVlcnl0aGlzLnVuYmluZCgibW91c2V1cCIpOw0KCQkJCQlyZXR1cm4gZmFsc2U7DQoJCQkJfSk7DQoJCQl9KTsNCgkJfQ0KCQlpZihyZXN1bHQudXNhZ2Upew0KCQkJdmFyIHVzYWdlID0gJzxkaXYgaWQ9InNuaXBwZXQtdXNhZ2UiPjxwPicrcmVzdWx0LnVzYWdlKyc8L3A+PC9kaXY+JzsNCgkJCWpRdWVyeSgnI3NuaXBwZXQtdXNhZ2UnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtdXNhZ2UnKS5hcHBlbmQodXNhZ2UpOw0KCQl9DQoJfSkNCn0NCg0KZnVuY3Rpb24gZ2V0RHluYW1pY1ZhbHVlc19zZXJ2ZXIoZHluYW1pY0lkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXguZHluYW1pY1ZhbHVlcyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiBkeW5hbWljSWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJnZpZXc9dGVtcGxhdGUmaWQ9JytkeW5hbWljSWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldER5bmFtaWNWYWx1ZXMoaWQpew0KCWdldER5bmFtaWNWYWx1ZXNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZHluYW1pY192YWx1ZXMnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLmR5bmFtaWNfdmFsdWVzJykuYXBwZW5kKCc8ZGl2IGlkPSJkeW5hbWljX3ZhbHVlcyI+JytyZXN1bHQrJzwvZGl2PicpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9IA0KDQpmdW5jdGlvbiBnZXRMYXlvdXREZXRhaWxzX3NlcnZlcihpZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9jb21wb25lbnRidWlsZGVyJnRhc2s9YWpheC5sYXlvdXREZXRhaWxzJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIGlkID4gMCl7DQoJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPScrdG9rZW4rJyZpZD0nK2lkOw0KCX0NCglyZXR1cm4galF1ZXJ5LmFqYXgoew0KCQl0eXBlOiAnR0VUJywNCgkJdXJsOiBnZXRVcmwsDQoJCWRhdGFUeXBlOiAnanNvbnAnLA0KCQlkYXRhOiByZXF1ZXN0LA0KCQlqc29ucDogJ2NhbGxiYWNrJw0KCX0pOw0KfQ0KDQoNCmZ1bmN0aW9uIGdldExheW91dERldGFpbHNfc2VydmVyKGlkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX2NvbXBvbmVudGJ1aWxkZXImdGFzaz1hamF4LmxheW91dERldGFpbHMmZm9ybWF0PWpzb24iOw0KCWlmKHRva2VuLmxlbmd0aCA+IDAgJiYgaWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScraWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldExheW91dERldGFpbHMoaWQpew0KCWdldExheW91dERldGFpbHNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZGV0YWlscycpLmFwcGVuZChyZXN1bHQpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9IA0KDQpmdW5jdGlvbiBnZXRUZW1wbGF0ZURldGFpbHNfc2VydmVyKGlkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX2NvbXBvbmVudGJ1aWxkZXImdGFzaz1hamF4LnRlbXBsYXRlRGV0YWlscyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiBpZCA+IDApew0KCQl2YXIgcmVxdWVzdCA9ICd0b2tlbj0nK3Rva2VuKycmaWQ9JytpZDsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0VGVtcGxhdGVEZXRhaWxzKGlkKXsNCglnZXRUZW1wbGF0ZURldGFpbHNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZGV0YWlscycpLmFwcGVuZChyZXN1bHQpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9DQoNCmZ1bmN0aW9uIGdldER5bmFtaWNGb3JtRGV0YWlsc19zZXJ2ZXIoaWQpew0KCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fW1tbY29tcG9uZW50XV1dJnRhc2s9YWpheC5keW5hbWljRm9ybURldGFpbHMmZm9ybWF0PWpzb24iOw0KCWlmKHRva2VuLmxlbmd0aCA+IDAgJiYgaWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScraWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldER5bmFtaWNGb3JtRGV0YWlscyhpZCl7DQoJZ2V0RHluYW1pY0Zvcm1EZXRhaWxzX3NlcnZlcihpZCkuZG9uZShmdW5jdGlvbihyZXN1bHQpIHsNCgkJaWYocmVzdWx0KXsNCgkJCWpRdWVyeSgnI2RldGFpbHMnKS5hcHBlbmQocmVzdWx0KTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBib2NrcyBhcmUgYWN0aXZlDQoJCQlqUXVlcnkoImNvZGUiKS5jbGljayhmdW5jdGlvbigpIHsNCgkJCQlqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KCQkJfSk7DQoJCX0NCgl9KQ0KfSA=', 'alF1ZXJ5KGZ1bmN0aW9uKCkgew0KICAgIGpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KICAgICAgICBqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KICAgIH0pOw0KfSk7DQoNCmpRdWVyeS5mbi5zZWxUZXh0ID0gZnVuY3Rpb24oKSB7DQogICAgdmFyIG9iaiA9IHRoaXNbMF07DQogICAgaWYgKGpRdWVyeS5icm93c2VyLm1zaWUpIHsNCiAgICAgICAgdmFyIHJhbmdlID0gb2JqLm9mZnNldFBhcmVudC5jcmVhdGVUZXh0UmFuZ2UoKTsNCiAgICAgICAgcmFuZ2UubW92ZVRvRWxlbWVudFRleHQob2JqKTsNCiAgICAgICAgcmFuZ2Uuc2VsZWN0KCk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5tb3ppbGxhIHx8ICQuYnJvd3Nlci5vcGVyYSkgew0KICAgICAgICB2YXIgc2VsZWN0aW9uID0gb2JqLm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXcuZ2V0U2VsZWN0aW9uKCk7DQogICAgICAgIHZhciByYW5nZSA9IG9iai5vd25lckRvY3VtZW50LmNyZWF0ZVJhbmdlKCk7DQogICAgICAgIHJhbmdlLnNlbGVjdE5vZGVDb250ZW50cyhvYmopOw0KICAgICAgICBzZWxlY3Rpb24ucmVtb3ZlQWxsUmFuZ2VzKCk7DQogICAgICAgIHNlbGVjdGlvbi5hZGRSYW5nZShyYW5nZSk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5zYWZhcmkpIHsNCiAgICAgICAgdmFyIHNlbGVjdGlvbiA9IG9iai5vd25lckRvY3VtZW50LmRlZmF1bHRWaWV3LmdldFNlbGVjdGlvbigpOw0KICAgICAgICBzZWxlY3Rpb24uc2V0QmFzZUFuZEV4dGVudChvYmosIDAsIG9iaiwgMSk7DQogICAgfQ0KICAgIHJldHVybiB0aGlzOw0KfQ0KDQpqUXVlcnkoJyNhZG1pbkZvcm0nKS5vbignY2hhbmdlJywgJyNqZm9ybV9zbmlwcGV0JyxmdW5jdGlvbiAoZSkgew0KCWUucHJldmVudERlZmF1bHQoKTsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KGRvY3VtZW50KS5yZWFkeShmdW5jdGlvbigpIHsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KCcjYWRtaW5Gb3JtJykub24oJ2NoYW5nZScsICcjamZvcm1fZHluYW1pY19nZXQnLGZ1bmN0aW9uIChlKSB7DQoJZS5wcmV2ZW50RGVmYXVsdCgpOw0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQpqUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCkgew0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQpqUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCkgew0KCS8vIGdldCB0eXBlIHZhbHVlDQoJZ2V0TGF5b3V0RGV0YWlscyg5OTk5KTsNCglnZXREeW5hbWljRm9ybURldGFpbHMoOTk5OSk7DQoJZ2V0VGVtcGxhdGVEZXRhaWxzKDw/cGhwIGVjaG8gKCR0aGlzLT5pdGVtLT5pZCkgPyAkdGhpcy0+aXRlbS0+aWQ6OTk5OTsgPz4pOw0KfSk7', '', '', 'Templates', 'Template', 'Template', '', 'CXB1YmxpYyBmdW5jdGlvbiBnZXRUZW1wbGF0ZURldGFpbHMoJGlkKQ0KCXsNCgkJLy8gR2V0IGEgZGIgY29ubmVjdGlvbi4NCgkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkgDQoJCS8vIENyZWF0ZSBhIG5ldyBxdWVyeSBvYmplY3QuDQoJCSRxdWVyeSA9ICRkYi0+Z2V0UXVlcnkodHJ1ZSk7DQoJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdhLmFsaWFzJywnYS50ZW1wbGF0ZScsJ2IubmFtZScpKSk7DQoJCSRxdWVyeS0+ZnJvbSgkZGItPnF1b3RlTmFtZSgnI19fW1tbY29tcG9uZW50XV1dX3RlbXBsYXRlJywgJ2EnKSk7DQoJCSRxdWVyeS0+am9pbignTEVGVCcsICRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fZHluYW1pY19nZXQnLCAnYicpIC4gJyBPTiAoJyAuICRkYi0+cXVvdGVOYW1lKCdiLmlkJykgLiAnID0gJyAuICRkYi0+cXVvdGVOYW1lKCdhLmR5bmFtaWNfZ2V0JykgLiAnKScpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdhLmlkJykgLiAnICE9ICcuKGludCkgJGlkKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnYS5wdWJsaXNoZWQnKSAuICcgPSAxJyk7DQoJCSANCgkJLy8gUmVzZXQgdGhlIHF1ZXJ5IHVzaW5nIG91ciBuZXdseSBwb3B1bGF0ZWQgcXVlcnkgb2JqZWN0Lg0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCSRkYi0+ZXhlY3V0ZSgpOw0KCQlpZiAoJGRiLT5nZXROdW1Sb3dzKCkpDQoJCXsgDQoJCQkkcmVzdWx0cyA9ICRkYi0+bG9hZE9iamVjdExpc3QoKTsNCgkJCSR0ZW1wbGF0ZVN0cmluZyA9IGFycmF5KCc8aDM+VGVtcGxhdGUgQ29kZSBTbmlwcGV0czwvaDM+PGRpdiBjbGFzcz0icm93LWZsdWlkIGZvcm0taG9yaXpvbnRhbC1kZXNrdG9wIj4nKTsNCgkJCWZvcmVhY2ggKCRyZXN1bHRzIGFzICRyZXN1bHQpDQoJCQl7DQoJCQkJJHRlbXBsYXRlU3RyaW5nW10gPSAiPGRpdj5keW5hbWljR2V0OiA8Yj4iLiRyZXN1bHQtPm5hbWUuIjwvYj48YnIgLz48Y29kZT4mbHQ7P3BocCBlY2hvIFwkdGhpcy0+bG9hZFRlbXBsYXRlKCciLltbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2FmZVN0cmluZygkcmVzdWx0LT5hbGlhcykuIicpOyA/Jmd0OzwvY29kZT48L2Rpdj4iOw0KCQkJfQ0KCQkJJHRlbXBsYXRlU3RyaW5nW10gPSAiPC9kaXY+PGhyIC8+IjsNCgkJCXJldHVybiBpbXBsb2RlKCJcbiIsJHRlbXBsYXRlU3RyaW5nKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ==', '', '', '', '', '', '', '', '', 'The templates used in the component front-end is build here', 1, '', 1, '', 1, 845, 450, '2015-05-26 23:00:56', '2015-09-10 17:37:57', '', '0000-00-00 00:00:00', 38, '', 1, 1), -(25, 2501, '', '', 1, 1, '', '', '', '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"322\"],[\"568\"],[\"567\"],[\"577\"],[\"578\"],[\"579\"],[\"724\"],[\"338\",\"333\"],[\"720\",\"722\",\"723\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"match_field\":[\"565\",\"566\",\"569\",\"574\",\"575\",\"576\",\"292\",\"332\",\"721\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\"]}', '{\"field\":[\"1038\",\"199\",\"554\",\"85\",\"331\",\"319\",\"330\",\"559\",\"558\",\"560\",\"340\",\"561\",\"555\",\"721\",\"720\",\"802\",\"722\",\"723\",\"332\",\"333\",\"338\",\"574\",\"577\",\"565\",\"322\",\"566\",\"568\",\"569\",\"567\",\"576\",\"579\",\"575\",\"578\",\"292\",\"724\",\"203\"],\"list\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"4\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"1\"],\"alignment\":[\"4\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"7\",\"7\",\"7\",\"7\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"5\"],\"order_edit\":[\"1\",\"1\",\"2\",\"3\",\"4\",\"5\",\"1\",\"1\",\"2\",\"3\",\"4\",\"1\",\"2\",\"2\",\"3\",\"1\",\"4\",\"5\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"1\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '', '{\"action\":[\"core.edit\",\"core.edit.state\",\"core.edit.own\",\"core.create\",\"core.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[\"componentbuilder_site_view\"],\"sourcemap\":[\"id => id\\nasset_id => asset_id\\nadd_css_document => add_css_document\\nadd_css => add_css\\nadd_js_document => add_js_document\\nadd_php_document => add_php_document\\nadd_php_jview => add_php_jview\\nadd_php_jview_display => add_php_jview_display\\nadd_php_view => add_php_view\\nadd_php_ajax => add_php_ajax\\nadd_custom_button => add_custom_button\\ncustom_button => custom_button\\nbutton_position => button_position\\nphp_controller => php_controller\\nphp_model => php_model\\najax_input => ajax_input\\nphp_ajaxmethod => php_ajaxmethod\\nalias => alias\\ncss_document => css_document\\ncss => css\\ncustom_get => custom_get\\ndefault => default\\ndescription => description\\ndynamic_get => dynamic_get\\njs_document => js_document\\nmain_get => main_get\\nname => name\\nsystem_name => system_name\\nnot_required => not_required\\nphp_document => php_document\\nphp_jview => php_jview\\nphp_jview_display => php_jview_display\\nphp_view => php_view\\nsnippet => snippet\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nchecked_out => checked_out\\nchecked_out_time => checked_out_time\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Details\",\"Custom Buttons\",\"JavaScript & CSS\",\"PHP\"]}', '', '', '', '', '{\"value_name\":[],\"task_name\":[],\"input_default\":[],\"input_filter\":[],\"method_name\":[]}', '', '', '', 'images/Red-Seat-icon.png', 'images/Red-Seat-icon-plus.png', '', 'ZnVuY3Rpb24gZ2V0U25pcHBldERldGFpbHNfc2VydmVyKHNuaXBwZXRJZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LnNuaXBwZXREZXRhaWxzJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIHNuaXBwZXRJZCA+IDApew0KCQl2YXIgcmVxdWVzdCA9ICd0b2tlbj0nK3Rva2VuKycmaWQ9JytzbmlwcGV0SWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldFNuaXBwZXREZXRhaWxzKGlkKXsNCglnZXRTbmlwcGV0RGV0YWlsc19zZXJ2ZXIoaWQpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdC5zbmlwcGV0KXsNCgkJCXZhciBkZXNjcmlwdGlvbiA9ICcnOw0KCQkJaWYgKHJlc3VsdC5kZXNjcmlwdGlvbi5sZW5ndGggPiAwKQ0KCQkJew0KCQkJCWRlc2NyaXB0aW9uID0gJzxwPicrcmVzdWx0LmRlc2NyaXB0aW9uKyc8L3A+JzsNCgkJCX0NCgkJCXZhciBjb2RlID0gJzxkaXYgaWQ9InNuaXBwZXQtY29kZSI+PGI+JytyZXN1bHQubmFtZSsnICgnK3Jlc3VsdC50eXBlKycpPC9iPiA8YSBocmVmPSInK3Jlc3VsdC51cmwrJyIgdGFyZ2V0PSJfYmxhbmsiID5zZWUgbW9yZSBkZXRhaWxzPC9hPjxiciAvPjxlbT4nK3Jlc3VsdC5oZWFkaW5nKyc8L2VtPjxiciAvPjx0ZXh0YXJlYSAgaWQ9InNuaXBwZXQiIGNsYXNzPSJzcGFuMTIiIHJvd3M9IjExIj4nK3Jlc3VsdC5zbmlwcGV0Kyc8L3RleHRhcmVhPjwvZGl2Pic7DQoJCQlqUXVlcnkoJyNzbmlwcGV0LWNvZGUnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtY29kZScpLmFwcGVuZChjb2RlKTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBibG9jayBpcyBhY3RpdmUNCgkJCWpRdWVyeSgiI3NuaXBwZXQiKS5mb2N1cyhmdW5jdGlvbigpIHsNCgkJCQl2YXIgalF1ZXJ5dGhpcyA9IGpRdWVyeSh0aGlzKTsNCgkJCQlqUXVlcnl0aGlzLnNlbGVjdCgpOw0KCQkJDQoJCQkJLy8gV29yayBhcm91bmQgQ2hyb21lJ3MgbGl0dGxlIHByb2JsZW0NCgkJCQlqUXVlcnl0aGlzLm1vdXNldXAoZnVuY3Rpb24oKSB7DQoJCQkJCS8vIFByZXZlbnQgZnVydGhlciBtb3VzZXVwIGludGVydmVudGlvbg0KCQkJCQlqUXVlcnl0aGlzLnVuYmluZCgibW91c2V1cCIpOw0KCQkJCQlyZXR1cm4gZmFsc2U7DQoJCQkJfSk7DQoJCQl9KTsNCgkJfQ0KCQlpZihyZXN1bHQudXNhZ2Upew0KCQkJdmFyIHVzYWdlID0gJzxkaXYgaWQ9InNuaXBwZXQtdXNhZ2UiPjxwPicrcmVzdWx0LnVzYWdlKyc8L3A+PC9kaXY+JzsNCgkJCWpRdWVyeSgnI3NuaXBwZXQtdXNhZ2UnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtdXNhZ2UnKS5hcHBlbmQodXNhZ2UpOw0KCQl9DQoJfSkNCn0NCg0KZnVuY3Rpb24gZ2V0RHluYW1pY1ZhbHVlc19zZXJ2ZXIoZHluYW1pY0lkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXguZHluYW1pY1ZhbHVlcyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiBkeW5hbWljSWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJnZpZXc9dGVtcGxhdGUmaWQ9JytkeW5hbWljSWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldER5bmFtaWNWYWx1ZXMoaWQpew0KCWdldER5bmFtaWNWYWx1ZXNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZHluYW1pY192YWx1ZXMnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLmR5bmFtaWNfdmFsdWVzJykuYXBwZW5kKCc8ZGl2IGlkPSJkeW5hbWljX3ZhbHVlcyI+JytyZXN1bHQrJzwvZGl2PicpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9IA0KDQpmdW5jdGlvbiBnZXRMYXlvdXREZXRhaWxzX3NlcnZlcihpZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LmxheW91dERldGFpbHMmZm9ybWF0PWpzb24iOw0KCWlmKHRva2VuLmxlbmd0aCA+IDAgJiYgaWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScraWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldExheW91dERldGFpbHMoaWQpew0KCWdldExheW91dERldGFpbHNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZGV0YWlscycpLmFwcGVuZChyZXN1bHQpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9IA0KDQpmdW5jdGlvbiBnZXRUZW1wbGF0ZURldGFpbHNfc2VydmVyKGlkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXgudGVtcGxhdGVEZXRhaWxzJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIGlkID4gMCl7DQoJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPScrdG9rZW4rJyZpZD0nK2lkOw0KCX0NCglyZXR1cm4galF1ZXJ5LmFqYXgoew0KCQl0eXBlOiAnR0VUJywNCgkJdXJsOiBnZXRVcmwsDQoJCWRhdGFUeXBlOiAnanNvbnAnLA0KCQlkYXRhOiByZXF1ZXN0LA0KCQlqc29ucDogJ2NhbGxiYWNrJw0KCX0pOw0KfQ0KDQpmdW5jdGlvbiBnZXRUZW1wbGF0ZURldGFpbHMoaWQpew0KCWdldFRlbXBsYXRlRGV0YWlsc19zZXJ2ZXIoaWQpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdCl7DQoJCQlqUXVlcnkoJyNkZXRhaWxzJykuYXBwZW5kKHJlc3VsdCk7DQoJCQkvLyBtYWtlIHN1cmUgdGhlIGNvZGUgYm9ja3MgYXJlIGFjdGl2ZQ0KCQkJalF1ZXJ5KCJjb2RlIikuY2xpY2soZnVuY3Rpb24oKSB7DQoJCQkJalF1ZXJ5KHRoaXMpLnNlbFRleHQoKS5hZGRDbGFzcygic2VsZWN0ZWQiKTsNCgkJCX0pOw0KCQl9DQoJfSkNCn0NCg0KZnVuY3Rpb24gZ2V0RHluYW1pY0Zvcm1EZXRhaWxzX3NlcnZlcihpZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LmR5bmFtaWNGb3JtRGV0YWlscyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiBpZCA+IDApew0KCQl2YXIgcmVxdWVzdCA9ICd0b2tlbj0nK3Rva2VuKycmaWQ9JytpZDsNCgl9DQoJcmV0dXJuIGpRdWVyeS5hamF4KHsNCgkJdHlwZTogJ0dFVCcsDQoJCXVybDogZ2V0VXJsLA0KCQlkYXRhVHlwZTogJ2pzb25wJywNCgkJZGF0YTogcmVxdWVzdCwNCgkJanNvbnA6ICdjYWxsYmFjaycNCgl9KTsNCn0NCg0KZnVuY3Rpb24gZ2V0RHluYW1pY0Zvcm1EZXRhaWxzKGlkKXsNCglnZXREeW5hbWljRm9ybURldGFpbHNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZGV0YWlscycpLmFwcGVuZChyZXN1bHQpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9IA==', 'alF1ZXJ5KGZ1bmN0aW9uKCkgew0KICAgIGpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KICAgICAgICBqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KICAgIH0pOw0KfSk7DQoNCmpRdWVyeS5mbi5zZWxUZXh0ID0gZnVuY3Rpb24oKSB7DQogICAgdmFyIG9iaiA9IHRoaXNbMF07DQogICAgaWYgKGpRdWVyeS5icm93c2VyLm1zaWUpIHsNCiAgICAgICAgdmFyIHJhbmdlID0gb2JqLm9mZnNldFBhcmVudC5jcmVhdGVUZXh0UmFuZ2UoKTsNCiAgICAgICAgcmFuZ2UubW92ZVRvRWxlbWVudFRleHQob2JqKTsNCiAgICAgICAgcmFuZ2Uuc2VsZWN0KCk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5tb3ppbGxhIHx8ICQuYnJvd3Nlci5vcGVyYSkgew0KICAgICAgICB2YXIgc2VsZWN0aW9uID0gb2JqLm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXcuZ2V0U2VsZWN0aW9uKCk7DQogICAgICAgIHZhciByYW5nZSA9IG9iai5vd25lckRvY3VtZW50LmNyZWF0ZVJhbmdlKCk7DQogICAgICAgIHJhbmdlLnNlbGVjdE5vZGVDb250ZW50cyhvYmopOw0KICAgICAgICBzZWxlY3Rpb24ucmVtb3ZlQWxsUmFuZ2VzKCk7DQogICAgICAgIHNlbGVjdGlvbi5hZGRSYW5nZShyYW5nZSk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5zYWZhcmkpIHsNCiAgICAgICAgdmFyIHNlbGVjdGlvbiA9IG9iai5vd25lckRvY3VtZW50LmRlZmF1bHRWaWV3LmdldFNlbGVjdGlvbigpOw0KICAgICAgICBzZWxlY3Rpb24uc2V0QmFzZUFuZEV4dGVudChvYmosIDAsIG9iaiwgMSk7DQogICAgfQ0KICAgIHJldHVybiB0aGlzOw0KfQ0KDQpqUXVlcnkoJyNhZG1pbkZvcm0nKS5vbignY2hhbmdlJywgJyNqZm9ybV9zbmlwcGV0JyxmdW5jdGlvbiAoZSkgew0KCWUucHJldmVudERlZmF1bHQoKTsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KGRvY3VtZW50KS5yZWFkeShmdW5jdGlvbigpIHsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KCcjYWRtaW5Gb3JtJykub24oJ2NoYW5nZScsICcjamZvcm1fZHluYW1pY19nZXQnLGZ1bmN0aW9uIChlKSB7DQoJZS5wcmV2ZW50RGVmYXVsdCgpOw0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQpqUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCkgew0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQoNCmpRdWVyeShkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKSB7DQoJLy8gZ2V0IHR5cGUgdmFsdWUNCglnZXRMYXlvdXREZXRhaWxzKDk5OTkpOw0KCWdldFRlbXBsYXRlRGV0YWlscyg5OTk5KTsNCglnZXREeW5hbWljRm9ybURldGFpbHMoOTk5OSk7DQp9KTs=', '', '', 'Site Views', 'Site View', 'Site View', '', '', '', '', '', '', '', '', '', '', 'The Site views used in a component is build here', 1, '', 1, '', 1, 845, 450, '2015-05-29 12:00:43', '2016-01-15 11:44:36', '', '0000-00-00 00:00:00', 39, '', 1, 1), -(33, 2507, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '{\"target_field\":[[\"600\"],[\"601\"],[\"324\"],[\"597\"],[\"598\"],[\"599\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"match_field\":[\"603\",\"603\",\"602\",\"602\",\"602\",\"604\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"1|Admin\",\"2|Site\",\"3|URL\",\"1|Joomla Article\",\"2|Text\",\"1|Some\"]}', '{\"field\":[\"273\",\"23\",\"604\",\"599\",\"603\",\"600\",\"601\",\"602\",\"324\",\"597\",\"598\",\"203\"],\"list\":[\"1\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"0\",\"0\",\"3\",\"4\",\"5\",\"6\",\"2\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"alignment\":[\"4\",\"4\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"3\",\"5\"],\"order_edit\":[\"1\",\"2\",\"1\",\"2\",\"3\",\"4\",\"5\",\"1\",\"2\",\"3\",\"1\",\"1\"]}', '', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '', '', '', '', '', '', '{\"value_name\":[\"\"],\"task_name\":[\"\"],\"input_default\":[\"0\"],\"input_filter\":[\"INT\"],\"method_name\":[\"\"]}', '', '', 'The help documentation of this component', 'images/Life-Saver-icon.png', 'images/Life-Saver-icon-plus.png', '', '', '', '', '', 'Help Documents', 'Help Document', 'Help Document', '', '', '', '', '', '', '', '', '', '', 'The help documentation of this component', '', '', 1, '', 1, 845, 845, '2015-07-13 22:59:22', '2015-08-25 20:43:42', '', '0000-00-00 00:00:00', 18, '', 1, 9), -(42, 2479, '', '', 1, 1, '', '', '', '', '', '', '', '', '', '', '', '', '{\"target_field\":[[\"23\",\"84\"],[\"1\",\"6\",\"280\"]],\"target_behavior\":[\"1\",\"1\"],\"target_relation\":[\"0\",\"0\"],\"match_field\":[\"199\",\"682\"],\"match_behavior\":[\"4\",\"1\"],\"match_options\":[\"keywords=\\\"\\\"\\nlength=\\\"\\\"\",\"1|Yes\"]}', '{\"field\":[\"199\",\"23\",\"84\",\"682\",\"1\",\"280\",\"684\",\"683\",\"203\"],\"list\":[\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"0\",\"2\",\"3\",\"4\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"1\"],\"alignment\":[\"4\",\"4\",\"1\",\"2\",\"2\",\"2\",\"1\",\"2\",\"5\"],\"order_edit\":[\"1\",\"2\",\"1\",\"1\",\"2\",\"3\",\"1\",\"1\",\"1\"],\"permission\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\"]}', '', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.edit.created_by\",\"view.edit.created\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '', '{\"name\":[\"Details\",\"Repetable Numbers\"]}', '', '', '', '', '', '', '', '', 'images/WoodMannequin-icon.png', 'images/WoodMannequin-icon-plus.png', '', 'alF1ZXJ5KGRvY3VtZW50KS5yZWFkeShmdW5jdGlvbigpDQp7ICAgIA0KICAgIHZhciB2YWx1ZXNfYSA9IGpRdWVyeSgnI2pmb3JtX21hbGUnKS52YWwoKTsNCglpZiAodmFsdWVzX2EpDQoJew0KCQl2YWx1ZXNfYSA9IGpRdWVyeS5wYXJzZUpTT04odmFsdWVzX2EpOw0KCQlidWlsZFRhYmxlKHZhbHVlc19hLCdqZm9ybV9tYWxlJyk7DQoJfQ0KDQogICAgdmFyIHZhbHVlc19iID0galF1ZXJ5KCcjamZvcm1fZmVtYWxlJykudmFsKCk7DQogICAgaWYgKHZhbHVlc19iKQ0KCXsNCgkJdmFsdWVzX2IgPSBqUXVlcnkucGFyc2VKU09OKHZhbHVlc19iKTsNCiAgICAJYnVpbGRUYWJsZSh2YWx1ZXNfYiwnamZvcm1fZmVtYWxlJyk7DQoJfQ0KfSk7DQoNCmZ1bmN0aW9uIGJ1aWxkVGFibGUoYXJyYXksaWQpew0KCWpRdWVyeSgnI3RhYmxlXycraWQpLnJlbW92ZSgpOw0KCWpRdWVyeSgnIycraWQpLmNsb3Nlc3QoJy5jb250cm9sLWdyb3VwJykuYXBwZW5kKCc8dGFibGUgc3R5bGU9Im1hcmdpbjogNXB4IDAgMjBweDsiIGNsYXNzPSJ0YWJsZSIgaWQ9InRhYmxlXycraWQrJyI+Jyk7DQoJalF1ZXJ5KCcjdGFibGVfJytpZCkuYXBwZW5kKHRhYmxlSGVhZGVyKGFycmF5KSk7DQoJalF1ZXJ5KCcjdGFibGVfJytpZCkuYXBwZW5kKHRhYmxlQm9keShhcnJheSkpOyAgDQoJalF1ZXJ5KCcjdGFibGVfJytpZCkuYXBwZW5kKCc8L3RhYmxlPicpOw0KfQ0KDQpmdW5jdGlvbiB0YWJsZUhlYWRlcihhcnJheSkNCnsNCiAgdmFyIGhlYWRlciA9ICc8dGhlYWQ+PHRyPic7DQoJalF1ZXJ5LmVhY2goYXJyYXksIGZ1bmN0aW9uKGtleSwgdmFsdWUpIHsNCgkJIGhlYWRlciArPSAnPHRoIHN0eWxlPSJwYWRkaW5nOiAxMHB4OyB0ZXh0LWFsaWduOiBjZW50ZXI7IGJvcmRlcjogMXB4IHNvbGlkIHJnYigyMjEsIDIyMSwgMjIxKTsiPicrY2FwaXRhbGl6ZUZpcnN0TGV0dGVyKGtleSkrJzwvdGg+JzsNCgl9KTsNCgloZWFkZXIgKz0gJzwvdHI+PC90aGVhZD4nOw0KICByZXR1cm4gaGVhZGVyOw0KfQ0KDQpmdW5jdGlvbiB0YWJsZUJvZHkoYXJyYXkpDQp7DQoJdmFyIGJvZHkgPSAnPHRib2R5Pic7DQoJdmFyIHJvd3MgPSBuZXcgQXJyYXkoKTsNCglqUXVlcnkuZWFjaChhcnJheSwgZnVuY3Rpb24oa2V5LCB2YWx1ZSkgew0KCQlqUXVlcnkuZWFjaCh2YWx1ZSwgZnVuY3Rpb24oaSwgbGluZSkgew0KICAgICAgaWYoIHJvd3NbaV0gPT09IHVuZGVmaW5lZCApIHsNCiAgICAgICAgcm93c1tpXSA9ICc8dGQgc3R5bGU9InBhZGRpbmc6IDEwcHg7IHRleHQtYWxpZ246IGNlbnRlcjsgYm9yZGVyOiAxcHggc29saWQgcmdiKDIyMSwgMjIxLCAyMjEpOyI+JyArIGxpbmUgKyAnPC90ZD4nOw0KICAgICAgfQ0KICAgICAgZWxzZQ0KICAgICAgew0KICAgICAgICByb3dzW2ldID0gcm93c1tpXSArICc8dGQgc3R5bGU9InBhZGRpbmc6IDEwcHg7IHRleHQtYWxpZ246IGNlbnRlcjsgYm9yZGVyOiAxcHggc29saWQgcmdiKDIyMSwgMjIxLCAyMjEpOyI+JyArIGxpbmUgKyAnPC90ZD4nOw0KICAgICAgfQ0KCQl9KTsNCgl9KTsNCiAgLy8gbm93IGxvYWQgdG8gYm9keSB0aGUgcm93cw0KICBqUXVlcnkuZWFjaChyb3dzLCBmdW5jdGlvbihhLCByb3cpIHsNCiAgICAgYm9keSArPSAnPHRyPicgKyByb3cgKyAnPC90cj4nOw0KCX0pOw0KICANCglib2R5ICs9ICc8L3Rib2R5Pic7DQogIA0KICByZXR1cm4gYm9keTsNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIA0KfQ0KDQpmdW5jdGlvbiBjYXBpdGFsaXplRmlyc3RMZXR0ZXIoc3RyaW5nKSB7DQogICAgcmV0dXJuIHN0cmluZy5jaGFyQXQoMCkudG9VcHBlckNhc2UoKSArIHN0cmluZy5zbGljZSgxKTsNCn0NCg0KZnVuY3Rpb24gdXBkYXRlU2VsZWN0aW9uKHJvdykNCnsNCgl2YXIgZ3JvdXBJZCA9IGpRdWVyeShyb3cpLmZpbmQoInNlbGVjdDpmaXJzdCIpLmF0dHIoImlkIik7DQoJdmFyIHBlcmNlbnRWYWx1ZSA9IGpRdWVyeShyb3cpLmZpbmQoIi50ZXh0X2FyZWE6Zmlyc3QiKS52YWwoKTsNCgl2YXIgYXJyID0gZ3JvdXBJZC5zcGxpdCgnLScpOw0KCWlmIChhcnJbMV0gIT0gMSkNCgl7DQoJCXZhciBzZWxlY3Rpb24gPSB7fTsNCgkJalF1ZXJ5KHJvdykuZmluZCgic2VsZWN0OmZpcnN0IG9wdGlvbiIpLmVhY2goZnVuY3Rpb24oKQ0KCQl7DQoJCQkvLyBmaXJzdCBnZXQgdGhlIHZhbHVlcyBhbmQgdGV4dA0KCQkJc2VsZWN0aW9uW2pRdWVyeSh0aGlzKS50ZXh0KCldID0galF1ZXJ5KHRoaXMpLnZhbCgpOw0KCQl9KTsNCgkJalF1ZXJ5LmVhY2goQWdlR3JvdXAsIGZ1bmN0aW9uKGksIGdyb3VwKXsNCgkJCWpRdWVyeShyb3cpLmZpbmQoInNlbGVjdDpmaXJzdCBvcHRpb25bdmFsdWU9JyIrZ3JvdXArIiddIikucmVtb3ZlKCk7DQoJCX0pOw0KCQlpZiAocGVyY2VudFZhbHVlKQ0KCQl7DQoJCQl2YXIgdGV4dCA9IGpRdWVyeShyb3cpLmZpbmQoIi5jaHpuLXNpbmdsZTpmaXJzdCBzcGFuIikudGV4dCgpOw0KCQkJalF1ZXJ5KHJvdykuZmluZCgic2VsZWN0OmZpcnN0IikuYXBwZW5kKGpRdWVyeSgnPG9wdGlvbj4nLCB7DQoJCQkJdmFsdWU6IHNlbGVjdGlvblt0ZXh0XSwNCgkJCQl0ZXh0OiB0ZXh0DQoJCQl9KSk7DQoJCX0NCgkJalF1ZXJ5KHJvdykuZmluZCgic2VsZWN0OmZpcnN0IikudHJpZ2dlcigibGlzenQ6dXBkYXRlZCIpOwkNCgkJDQoJCWlmIChwZXJjZW50VmFsdWUpDQoJCXsNCgkJCWpRdWVyeShyb3cpLmZpbmQoInNlbGVjdDpmaXJzdCBvcHRpb246c2VsZWN0ZWQiKS52YWwoc2VsZWN0aW9uW3RleHRdKTsJDQoJCQlqUXVlcnkocm93KS5maW5kKCIuY2h6bi1zaW5nbGU6Zmlyc3Qgc3BhbiIpLnRleHQodGV4dCk7DQoJCX0NCgl9DQp9', 'alF1ZXJ5KCdpbnB1dC5mb3JtLWZpZWxkLXJlcGVhdGFibGUnKS5vbigndmFsdWUtdXBkYXRlJywgZnVuY3Rpb24oZSwgdmFsdWUpew0KCWlmICh2YWx1ZSkNCgl7DQoJCWJ1aWxkVGFibGUodmFsdWUsZS5jdXJyZW50VGFyZ2V0LmlkKTsNCgl9DQp9KTsNCg0KalF1ZXJ5KCdpbnB1dC5mb3JtLWZpZWxkLXJlcGVhdGFibGUnKS5vbigncm93LWFkZCcsIGZ1bmN0aW9uKGUsIHJvdykgew0KCWlmICgiamZvcm1fbWFsZSIgPT0gZS5jdXJyZW50VGFyZ2V0LmlkKQ0KCXsNCgkJc2V0U2VsZWN0aW9uKCdtYWxlJyk7DQoJCXVwZGF0ZVNlbGVjdGlvbihyb3cpOw0KCX0NCgllbHNlIGlmKCJqZm9ybV9mZW1hbGUiID09IGUuY3VycmVudFRhcmdldC5pZCkNCgl7DQoJCXNldFNlbGVjdGlvbignZmVtYWxlJyk7DQoJCXVwZGF0ZVNlbGVjdGlvbihyb3cpOw0KCX0NCn0pOw0KDQp2YXIgQWdlR3JvdXAgPSBuZXcgQXJyYXk7DQpmdW5jdGlvbiBzZXRTZWxlY3Rpb24oZ2VuZGVyKQ0Kew0KCUFnZUdyb3VwLmxlbmd0aCA9IDA7DQoJPD9waHAgJGZpZWxkTnJzID0gcmFuZ2UoMSw5LDEpOyA/Pg0KCTw/cGhwIGZvcmVhY2goJGZpZWxkTnJzIGFzICRmaWVsZE5yKTogPz4NCgkJLy8gZ2V0IG9wdGlvbnMNCgkJdmFyIGFnZV88P3BocCBlY2hvICRmaWVsZE5yID8+ID0galF1ZXJ5KCIjamZvcm1fIitnZW5kZXIrIl9maWVsZHNfYWdlLTw/cGhwIGVjaG8gJGZpZWxkTnIgPz4gb3B0aW9uOnNlbGVjdGVkIikudmFsKCk7DQoJCWlmIChhZ2VfPD9waHAgZWNobyAkZmllbGROciA/PikNCgkJew0KCQkJQWdlR3JvdXAucHVzaChhZ2VfPD9waHAgZWNobyAkZmllbGROciA/Pik7DQoJCX0NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KfQ0K', '', '', 'Looks', 'Look', 'Look', '', '', '', '', '', '', '', '', '', '', 'The demo view', '', '', 1, '', 1, 845, 450, '2015-08-05 01:16:39', '2015-12-03 02:38:09', '', '0000-00-00 00:00:00', 8, '', 1, 16), -(43, 2511, '', '', 1, 1, '', '', '', '', '', '', '', '', '', '', '', 1, '{\"target_field\":[[\"322\"],[\"568\"],[\"567\"],[\"577\"],[\"578\"],[\"579\"],[\"720\",\"722\",\"723\"],[\"724\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"match_field\":[\"565\",\"566\",\"569\",\"574\",\"575\",\"576\",\"721\",\"292\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\",\"1|Yes\"]}', '{\"field\":[\"1038\",\"199\",\"554\",\"85\",\"331\",\"319\",\"330\",\"559\",\"558\",\"560\",\"340\",\"561\",\"555\",\"721\",\"720\",\"722\",\"723\",\"574\",\"577\",\"565\",\"322\",\"566\",\"568\",\"569\",\"567\",\"576\",\"579\",\"575\",\"578\",\"292\",\"724\",\"203\"],\"list\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"2\",\"3\",\"4\",\"5\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"1\"],\"alignment\":[\"4\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"7\",\"7\",\"7\",\"7\",\"3\",\"3\",\"1\",\"1\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"5\"],\"order_edit\":[\"1\",\"1\",\"2\",\"3\",\"4\",\"5\",\"1\",\"1\",\"2\",\"3\",\"4\",\"1\",\"2\",\"1\",\"2\",\"1\",\"2\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"1\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '', '{\"action\":[\"core.edit\",\"core.edit.state\",\"core.edit.own\",\"core.create\",\"core.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[\"componentbuilder_custom_admin_view\"],\"sourcemap\":[\"id => id\\nasset_id => asset_id\\nadd_css => add_css\\nadd_custom_button => add_custom_button\\ncss => css\\ncustom_button => custom_button\\nphp_controller => php_controller\\nphp_model => php_model\\nadd_css_document => add_css_document\\nadd_js_document => add_js_document\\nadd_php_document => add_php_document\\nadd_php_jview => add_php_jview\\nadd_php_jview_display => add_php_jview_display\\nadd_php_view => add_php_view\\nalias => alias\\ncss_document => css_document\\ncustom_get => custom_get\\ndefault => default\\ndescription => description\\ndynamic_get => dynamic_get\\njs_document => js_document\\nmain_get => main_get\\nname => name\\nnot_required => not_required\\nphp_document => php_document\\nphp_jview => php_jview\\nphp_jview_display => php_jview_display\\nphp_view => php_view\\nsnippet => snippet\\nparams => params\\npublished => published\\ncreated_by => created_by\\nmodified_by => modified_by\\ncreated => created\\nmodified => modified\\nchecked_out => checked_out\\nchecked_out_time => checked_out_time\\nversion => version\\nhits => hits\\naccess => access\\nordering => ordering\"]}', '{\"name\":[\"Details\",\"Custom Buttons\",\"Custom Script\"]}', '', '', '', '', '{\"value_name\":[],\"task_name\":[],\"input_default\":[],\"input_filter\":[],\"method_name\":[]}', '', '', 'The custom admin views used in a component is build here', 'images/teddy-icon.png', 'images/teddy-icon-plus.png', '', 'ZnVuY3Rpb24gZ2V0U25pcHBldERldGFpbHNfc2VydmVyKHNuaXBwZXRJZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LnNuaXBwZXREZXRhaWxzJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIHNuaXBwZXRJZCA+IDApew0KCQl2YXIgcmVxdWVzdCA9ICd0b2tlbj0nK3Rva2VuKycmaWQ9JytzbmlwcGV0SWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldFNuaXBwZXREZXRhaWxzKGlkKXsNCglnZXRTbmlwcGV0RGV0YWlsc19zZXJ2ZXIoaWQpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdC5zbmlwcGV0KXsNCgkJCXZhciBkZXNjcmlwdGlvbiA9ICcnOw0KCQkJaWYgKHJlc3VsdC5kZXNjcmlwdGlvbi5sZW5ndGggPiAwKQ0KCQkJew0KCQkJCWRlc2NyaXB0aW9uID0gJzxwPicrcmVzdWx0LmRlc2NyaXB0aW9uKyc8L3A+JzsNCgkJCX0NCgkJCXZhciBjb2RlID0gJzxkaXYgaWQ9InNuaXBwZXQtY29kZSI+PGI+JytyZXN1bHQubmFtZSsnICgnK3Jlc3VsdC50eXBlKycpPC9iPiA8YSBocmVmPSInK3Jlc3VsdC51cmwrJyIgdGFyZ2V0PSJfYmxhbmsiID5zZWUgbW9yZSBkZXRhaWxzPC9hPjxiciAvPjxlbT4nK3Jlc3VsdC5oZWFkaW5nKyc8L2VtPjxiciAvPjx0ZXh0YXJlYSAgaWQ9InNuaXBwZXQiIGNsYXNzPSJzcGFuMTIiIHJvd3M9IjExIj4nK3Jlc3VsdC5zbmlwcGV0Kyc8L3RleHRhcmVhPjwvZGl2Pic7DQoJCQlqUXVlcnkoJyNzbmlwcGV0LWNvZGUnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtY29kZScpLmFwcGVuZChjb2RlKTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBibG9jayBpcyBhY3RpdmUNCgkJCWpRdWVyeSgiI3NuaXBwZXQiKS5mb2N1cyhmdW5jdGlvbigpIHsNCgkJCQl2YXIgalF1ZXJ5dGhpcyA9IGpRdWVyeSh0aGlzKTsNCgkJCQlqUXVlcnl0aGlzLnNlbGVjdCgpOw0KCQkJDQoJCQkJLy8gV29yayBhcm91bmQgQ2hyb21lJ3MgbGl0dGxlIHByb2JsZW0NCgkJCQlqUXVlcnl0aGlzLm1vdXNldXAoZnVuY3Rpb24oKSB7DQoJCQkJCS8vIFByZXZlbnQgZnVydGhlciBtb3VzZXVwIGludGVydmVudGlvbg0KCQkJCQlqUXVlcnl0aGlzLnVuYmluZCgibW91c2V1cCIpOw0KCQkJCQlyZXR1cm4gZmFsc2U7DQoJCQkJfSk7DQoJCQl9KTsNCgkJfQ0KCQlpZihyZXN1bHQudXNhZ2Upew0KCQkJdmFyIHVzYWdlID0gJzxkaXYgaWQ9InNuaXBwZXQtdXNhZ2UiPjxwPicrcmVzdWx0LnVzYWdlKyc8L3A+PC9kaXY+JzsNCgkJCWpRdWVyeSgnI3NuaXBwZXQtdXNhZ2UnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLnNuaXBwZXQtdXNhZ2UnKS5hcHBlbmQodXNhZ2UpOw0KCQl9DQoJfSkNCn0NCg0KZnVuY3Rpb24gZ2V0RHluYW1pY1ZhbHVlc19zZXJ2ZXIoZHluYW1pY0lkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXguZHluYW1pY1ZhbHVlcyZmb3JtYXQ9anNvbiI7DQoJaWYodG9rZW4ubGVuZ3RoID4gMCAmJiBkeW5hbWljSWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJnZpZXc9dGVtcGxhdGUmaWQ9JytkeW5hbWljSWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldER5bmFtaWNWYWx1ZXMoaWQpew0KCWdldER5bmFtaWNWYWx1ZXNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZHluYW1pY192YWx1ZXMnKS5yZW1vdmUoKTsNCgkJCWpRdWVyeSgnLmR5bmFtaWNfdmFsdWVzJykuYXBwZW5kKCc8ZGl2IGlkPSJkeW5hbWljX3ZhbHVlcyI+JytyZXN1bHQrJzwvZGl2PicpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9IA0KDQpmdW5jdGlvbiBnZXRMYXlvdXREZXRhaWxzX3NlcnZlcihpZCl7DQoJdmFyIGdldFVybCA9ICJpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdGFzaz1hamF4LmxheW91dERldGFpbHMmZm9ybWF0PWpzb24iOw0KCWlmKHRva2VuLmxlbmd0aCA+IDAgJiYgaWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScraWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldExheW91dERldGFpbHMoaWQpew0KCWdldExheW91dERldGFpbHNfc2VydmVyKGlkKS5kb25lKGZ1bmN0aW9uKHJlc3VsdCkgew0KCQlpZihyZXN1bHQpew0KCQkJalF1ZXJ5KCcjZGV0YWlscycpLmFwcGVuZChyZXN1bHQpOw0KCQkJLy8gbWFrZSBzdXJlIHRoZSBjb2RlIGJvY2tzIGFyZSBhY3RpdmUNCgkJCWpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KCQkJCWpRdWVyeSh0aGlzKS5zZWxUZXh0KCkuYWRkQ2xhc3MoInNlbGVjdGVkIik7DQoJCQl9KTsNCgkJfQ0KCX0pDQp9IA0KDQpmdW5jdGlvbiBnZXRUZW1wbGF0ZURldGFpbHNfc2VydmVyKGlkKXsNCgl2YXIgZ2V0VXJsID0gImluZGV4LnBocD9vcHRpb249Y29tX1tbW2NvbXBvbmVudF1dXSZ0YXNrPWFqYXgudGVtcGxhdGVEZXRhaWxzJmZvcm1hdD1qc29uIjsNCglpZih0b2tlbi5sZW5ndGggPiAwICYmIGlkID4gMCl7DQoJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPScrdG9rZW4rJyZpZD0nK2lkOw0KCX0NCglyZXR1cm4galF1ZXJ5LmFqYXgoew0KCQl0eXBlOiAnR0VUJywNCgkJdXJsOiBnZXRVcmwsDQoJCWRhdGFUeXBlOiAnanNvbnAnLA0KCQlkYXRhOiByZXF1ZXN0LA0KCQlqc29ucDogJ2NhbGxiYWNrJw0KCX0pOw0KfQ0KDQpmdW5jdGlvbiBnZXRUZW1wbGF0ZURldGFpbHMoaWQpew0KCWdldFRlbXBsYXRlRGV0YWlsc19zZXJ2ZXIoaWQpLmRvbmUoZnVuY3Rpb24ocmVzdWx0KSB7DQoJCWlmKHJlc3VsdCl7DQoJCQlqUXVlcnkoJyNkZXRhaWxzJykuYXBwZW5kKHJlc3VsdCk7DQoJCQkvLyBtYWtlIHN1cmUgdGhlIGNvZGUgYm9ja3MgYXJlIGFjdGl2ZQ0KCQkJalF1ZXJ5KCJjb2RlIikuY2xpY2soZnVuY3Rpb24oKSB7DQoJCQkJalF1ZXJ5KHRoaXMpLnNlbFRleHQoKS5hZGRDbGFzcygic2VsZWN0ZWQiKTsNCgkJCX0pOw0KCQl9DQoJfSkNCn0gDQoNCmZ1bmN0aW9uIGdldER5bmFtaWNGb3JtRGV0YWlsc19zZXJ2ZXIoaWQpew0KCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fW1tbY29tcG9uZW50XV1dJnRhc2s9YWpheC5keW5hbWljRm9ybURldGFpbHMmZm9ybWF0PWpzb24iOw0KCWlmKHRva2VuLmxlbmd0aCA+IDAgJiYgaWQgPiAwKXsNCgkJdmFyIHJlcXVlc3QgPSAndG9rZW49Jyt0b2tlbisnJmlkPScraWQ7DQoJfQ0KCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCXR5cGU6ICdHRVQnLA0KCQl1cmw6IGdldFVybCwNCgkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCWRhdGE6IHJlcXVlc3QsDQoJCWpzb25wOiAnY2FsbGJhY2snDQoJfSk7DQp9DQoNCmZ1bmN0aW9uIGdldER5bmFtaWNGb3JtRGV0YWlscyhpZCl7DQoJZ2V0VGVtcGxhdGVEZXRhaWxzX3NlcnZlcihpZCkuZG9uZShmdW5jdGlvbihyZXN1bHQpIHsNCgkJaWYocmVzdWx0KXsNCgkJCWpRdWVyeSgnI2RldGFpbHMnKS5hcHBlbmQocmVzdWx0KTsNCgkJCS8vIG1ha2Ugc3VyZSB0aGUgY29kZSBib2NrcyBhcmUgYWN0aXZlDQoJCQlqUXVlcnkoImNvZGUiKS5jbGljayhmdW5jdGlvbigpIHsNCgkJCQlqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KCQkJfSk7DQoJCX0NCgl9KQ0KfSA=', 'alF1ZXJ5KGZ1bmN0aW9uKCkgew0KICAgIGpRdWVyeSgiY29kZSIpLmNsaWNrKGZ1bmN0aW9uKCkgew0KICAgICAgICBqUXVlcnkodGhpcykuc2VsVGV4dCgpLmFkZENsYXNzKCJzZWxlY3RlZCIpOw0KICAgIH0pOw0KfSk7DQoNCmpRdWVyeS5mbi5zZWxUZXh0ID0gZnVuY3Rpb24oKSB7DQogICAgdmFyIG9iaiA9IHRoaXNbMF07DQogICAgaWYgKGpRdWVyeS5icm93c2VyLm1zaWUpIHsNCiAgICAgICAgdmFyIHJhbmdlID0gb2JqLm9mZnNldFBhcmVudC5jcmVhdGVUZXh0UmFuZ2UoKTsNCiAgICAgICAgcmFuZ2UubW92ZVRvRWxlbWVudFRleHQob2JqKTsNCiAgICAgICAgcmFuZ2Uuc2VsZWN0KCk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5tb3ppbGxhIHx8ICQuYnJvd3Nlci5vcGVyYSkgew0KICAgICAgICB2YXIgc2VsZWN0aW9uID0gb2JqLm93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXcuZ2V0U2VsZWN0aW9uKCk7DQogICAgICAgIHZhciByYW5nZSA9IG9iai5vd25lckRvY3VtZW50LmNyZWF0ZVJhbmdlKCk7DQogICAgICAgIHJhbmdlLnNlbGVjdE5vZGVDb250ZW50cyhvYmopOw0KICAgICAgICBzZWxlY3Rpb24ucmVtb3ZlQWxsUmFuZ2VzKCk7DQogICAgICAgIHNlbGVjdGlvbi5hZGRSYW5nZShyYW5nZSk7DQogICAgfSBlbHNlIGlmIChqUXVlcnkuYnJvd3Nlci5zYWZhcmkpIHsNCiAgICAgICAgdmFyIHNlbGVjdGlvbiA9IG9iai5vd25lckRvY3VtZW50LmRlZmF1bHRWaWV3LmdldFNlbGVjdGlvbigpOw0KICAgICAgICBzZWxlY3Rpb24uc2V0QmFzZUFuZEV4dGVudChvYmosIDAsIG9iaiwgMSk7DQogICAgfQ0KICAgIHJldHVybiB0aGlzOw0KfQ0KDQpqUXVlcnkoJyNhZG1pbkZvcm0nKS5vbignY2hhbmdlJywgJyNqZm9ybV9zbmlwcGV0JyxmdW5jdGlvbiAoZSkgew0KCWUucHJldmVudERlZmF1bHQoKTsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KGRvY3VtZW50KS5yZWFkeShmdW5jdGlvbigpIHsNCgkvLyBnZXQgdHlwZSB2YWx1ZQ0KCXZhciBzbmlwcGV0SWQgPSBqUXVlcnkoIiNqZm9ybV9zbmlwcGV0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldFNuaXBwZXREZXRhaWxzKHNuaXBwZXRJZCk7DQp9KTsNCg0KalF1ZXJ5KCcjYWRtaW5Gb3JtJykub24oJ2NoYW5nZScsICcjamZvcm1fZHluYW1pY19nZXQnLGZ1bmN0aW9uIChlKSB7DQoJZS5wcmV2ZW50RGVmYXVsdCgpOw0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQpqUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCkgew0KCS8vIGdldCB0eXBlIHZhbHVlDQoJdmFyIGR5bmFtaWNJZCA9IGpRdWVyeSgiI2pmb3JtX2R5bmFtaWNfZ2V0IG9wdGlvbjpzZWxlY3RlZCIpLnZhbCgpOw0KCWdldER5bmFtaWNWYWx1ZXMoZHluYW1pY0lkKTsNCn0pOw0KDQoNCmpRdWVyeShkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKSB7DQoJLy8gZ2V0IHR5cGUgdmFsdWUNCglnZXRMYXlvdXREZXRhaWxzKDk5OTkpOw0KCWdldFRlbXBsYXRlRGV0YWlscyg5OTk5KTsNCglnZXREeW5hbWljRm9ybURldGFpbHMoOTk5OSk7DQp9KTs=', '', '', 'Custom Admin Views', 'Custom Admin View', 'Custom Admin View', '', '', '', '', '', '', '', '', '', '', 'The custom admin views used in a component is build here', 1, '', 1, '', 1, 845, 450, '2015-08-13 21:16:08', '2016-01-10 16:19:57', '', '0000-00-00 00:00:00', 12, '', 1, 1), -(53, 6071, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '{\"field\":[\"199\",\"23\",\"913\",\"850\",\"922\"],\"list\":[\"1\",\"0\",\"1\",\"0\",\"0\"],\"order_list\":[\"1\",\"0\",\"2\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"1\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"0\",\"0\",\"0\",\"1\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"alignment\":[\"4\",\"4\",\"3\",\"1\",\"2\"],\"order_edit\":[\"1\",\"2\",\"1\",\"1\",\"1\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\"]}', '{\"adminview\":[\"55\"],\"tab\":[\"2\"],\"key\":[\"series\"],\"parentkey\":[\"id\"],\"addnew\":[\"1\"]}', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.edit.created_by\",\"view.edit.created\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[],\"sourcemap\":[]}', '{\"name\":[\"Details\",\"Sermons\"]}', '', '', '', '', '', '', '', 'Bundle a number of things of a similar kind or related nature coming one after another.', 'images/Wooden-Folder-5515017801.png', 'images/Wooden-Folder-5515017801-plus.png', '', '', '', '', '', 'Series List', 'Series', 'Series', '', '', '', '', '', '', '', '', '', '', 'Series Manager', '', '', 1, '', 1, 450, 450, '2015-10-22 17:11:32', '2015-11-19 01:40:37', '', '0000-00-00 00:00:00', 15, '', 1, 23), -(54, 6072, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '{\"field\":[\"199\",\"23\",\"850\",\"691\",\"280\",\"913\"],\"list\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"1\"],\"order_list\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"2\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"1\"],\"search\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"1\"],\"filter\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"alignment\":[\"4\",\"4\",\"1\",\"2\",\"2\",\"3\"],\"order_edit\":[\"1\",\"2\",\"1\",\"1\",\"2\",\"1\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '{\"adminview\":[\"55\"],\"tab\":[\"2\"],\"key\":[\"preacher\"],\"parentkey\":[\"id\"],\"addnew\":[\"1\"]}', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.edit.created_by\",\"view.edit.created\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[],\"sourcemap\":[]}', '{\"name\":[\"Details\",\"Sermons\"]}', '', '', '', '', '', '', '', 'The Speakers/Preachers of the audio or video recordings.', 'images/Manager-Suit-Red-Tie-icon.png', 'images/Manager-Suit-Red-Tie-icon-plus.png', '', '', '', '', '', 'Preachers', 'Preacher', 'Preacher', '', '', '', '', '', '', '', '', '', '', 'Speakers/Preachers', '', '', 1, '', 1, 450, 450, '2015-10-22 17:15:50', '2015-11-19 01:40:50', '', '0000-00-00 00:00:00', 13, '', 1, 24), -(55, 6073, '', '', '', '', '', '', 1, '', '', '', '', '', '', '', '', '', '{\"target_field\":[[\"803\"],[\"823\"],[\"823\"],[\"825\",\"824\"],[\"825\",\"824\"],[\"826\"],[\"827\"],[\"897\"],[\"896\"]],\"target_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"target_relation\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"match_field\":[\"804\",\"804\",\"803\",\"804\",\"803\",\"804\",\"804\",\"807\",\"807\"],\"match_behavior\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"match_options\":[\"2|Dropbox\",\"2|Dropbox\",\"2|Automatic\",\"2|Dropbox\",\"1|Manual\",\"1|Local Folder\",\"3|URL\",\"2|Direct\",\"1|Encrypted\"]}', '{\"field\":[\"199\",\"23\",\"814\",\"255\",\"850\",\"922\",\"813\",\"811\",\"812\",\"913\",\"807\",\"897\",\"896\",\"804\",\"803\",\"824\",\"823\",\"825\",\"826\",\"827\",\"203\",\"837\"],\"list\":[\"1\",\"0\",\"1\",\"1\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"order_list\":[\"1\",\"0\",\"2\",\"4\",\"0\",\"0\",\"3\",\"5\",\"0\",\"0\",\"6\",\"0\",\"0\",\"7\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"0\",\"1\",\"1\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"search\":[\"1\",\"0\",\"1\",\"1\",\"0\",\"1\",\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"filter\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"link\":[\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"2\",\"1\",\"1\"],\"alignment\":[\"4\",\"4\",\"4\",\"1\",\"1\",\"1\",\"2\",\"2\",\"2\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"5\",\"5\"],\"order_edit\":[\"1\",\"2\",\"3\",\"2\",\"3\",\"1\",\"2\",\"3\",\"4\",\"1\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"1\",\"2\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"]}', '{\"adminview\":[\"56\"],\"tab\":[\"3\"],\"key\":[\"sermon\"],\"parentkey\":[\"id\"],\"addnew\":[\"0\"]}', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.edit.created_by\",\"view.edit.created\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[],\"sourcemap\":[]}', '{\"name\":[\"Details\",\"Files\",\"Stastics\"]}', '', '', '', '', '{\"value_name\":[\"view\",\"type\",\"type\"],\"task_name\":[\"checkDropboxListing\",\"updateDropboxListing\",\"getUpdateProgress\"],\"input_default\":[\"NULL\",\"NULL\",\"NULL\"],\"input_filter\":[\"INT\",\"INT\",\"INT\"],\"method_name\":[\"dropbox\",\"updateDropbox\",\"updateProgress\"],\"user_check\":[\"1\",\"1\",\"1\"]}', '', '', 'The Sermon details of the audio or video recordings.', 'images/phonograph-icon.png', 'images/phonograph-icon-plus.png', 'images/phonograph-icon-category.png', '', '', '', '', 'Sermons', 'Sermon', 'Sermon', '', 'CS8qKg0KCSogCUNoZWNrIGFuZCBTZXQgRHJvcGJveCBsb2NhbCBsaXN0aW5nDQoJKiovDQoJcHVibGljIGZ1bmN0aW9uIGRyb3Bib3goJHZpZXcpDQoJew0KCQkvLyB3ZSB1cGRhdGUgYm90aCBpZiBwb3NpYmxlDQoJCSR0eXBlcyA9IGFycmF5KCdtYW51YWwnLCdhdXRvJyk7DQoJCWZvcmVhY2ggKCR0eXBlcyBhcyAkdHlwZSkNCgkJew0KCQkJLy8gcnVuIHRoZSB1cGRhdGUNCgkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OnVwZGF0ZURyb3Bib3goJHR5cGUpKQ0KCQkJew0KCQkJCS8vIG5vdyB1cGRhdGUgdGhlIHN5c3RlbSBpZiBuZWVkZWQNCgkJCQlpZiAoJ2F1dG8nID09ICR0eXBlKQ0KCQkJCXsNCgkJCQkJJHRoaXMtPnVwZGF0ZVN5c3RlbVdpdGhEcm9wYm94KCk7DQoJCQkJfQ0KCQkJfQ0KCQl9DQoJCXJldHVybiB0cnVlOw0KCX0NCg0KCS8qKg0KCSogCVVwZGF0ZSBEcm9wYm94IGxvY2FsIGxpc3RpbmcNCgkqKi8NCglwdWJsaWMgZnVuY3Rpb24gdXBkYXRlRHJvcGJveCgkdHlwZSkNCgl7DQoJCWlmICgxID09ICR0eXBlKQ0KCQl7DQoJCQkkdHlwZSA9ICdtYW51YWwnOw0KCQl9DQoJCWVsc2VpZiAoMiA9PSAkdHlwZSkNCgkJew0KCQkJJHR5cGUgPSAnYXV0byc7DQoJCX0NCgkJLy8gdGhlIHR5cGVzIGFsbG93ZWQNCgkJJHR5cGVzID0gYXJyYXkoJ21hbnVhbCcsJ2F1dG8nKTsNCgkJLy8gY2hlY2sgdGhlIHR5cGUNCgkJaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHR5cGUpICYmIGluX2FycmF5KCR0eXBlLCR0eXBlcykpDQoJCXsNCgkJCS8vIHJ1biB0aGUgdXBkYXRlDQoJCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjp1cGRhdGVEcm9wYm94KCR0eXBlLHRydWUpKQ0KCQkJew0KCQkJCS8vIG5vdyB1cGRhdGUgdGhlIHN5c3RlbSBpZiBuZWVkZWQNCgkJCQlpZiAoJ2F1dG8nID09ICR0eXBlKQ0KCQkJCXsNCgkJCQkJJHRoaXMtPnVwZGF0ZVN5c3RlbVdpdGhEcm9wYm94KCk7DQoJCQkJfQ0KCQkJCXJldHVybiB0cnVlOw0KCQkJfQ0KCQl9DQoJCXJldHVybiBmYWxzZTsNCgl9DQoNCgkvKioNCgkqIAlTdGF0dXMgb2YgdXBkYXRlIHByb2dyZXNzIG9mIHRoZSBsb2NhbCBsaXN0aW5nDQoJKiovDQoJcHVibGljIGZ1bmN0aW9uIHVwZGF0ZVByb2dyZXNzKCR0eXBlKQ0KCXsNCgkJaWYgKDEgPT0gJHR5cGUpDQoJCXsNCgkJCSR0eXBlID0gJ21hbnVhbCc7DQoJCX0NCgkJZWxzZWlmICgyID09ICR0eXBlKQ0KCQl7DQoJCQkkdHlwZSA9ICdhdXRvJzsNCgkJfQ0KCQkvLyB0aGUgdHlwZXMgYWxsb3dlZA0KCQkkdHlwZXMgPSBhcnJheSgnbWFudWFsJywnYXV0bycpOw0KCQkvLyBjaGVjayB0aGUgdHlwZQ0KCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja1N0cmluZygkdHlwZSkgJiYgaW5fYXJyYXkoJHR5cGUsJHR5cGVzKSkNCgkJew0KCQkJLy8gcmV0dXJuIHRoZSB1cGRhdGUgcHJvZ3Jlc3MNCgkJCXJldHVybiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmdldFVwZGF0ZVByb2dyZXNzKCR0eXBlKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KDQoJLyoqDQoJKiAJVXBkYXRlIHRoZSBTeXN0ZW0gd2l0aCBEcm9wYm94IGxvY2FsIGxpc3RpbmcNCgkqKi8NCglwcm90ZWN0ZWQgZnVuY3Rpb24gdXBkYXRlU3lzdGVtV2l0aERyb3Bib3goKQ0KCXsNCgkJLy8gY2hlY2sgaWYgd2Ugc2hvdWxkIHVwZGF0ZSB3aXRoIGF1dG8gbGlzdGluZw0KCQkkbGlua3NfZHJvcGJveF9hdXRvID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXREcm9wYm94TGluaygnYXV0bycsIDIpOw0KCQlpZiAoW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCRsaW5rc19kcm9wYm94X2F1dG8pKQ0KCQl7DQoJCQkkYnVja2V0ID0gYXJyYXkoKTsNCgkJCSRkYiA9IEpGYWN0b3J5OjpnZXREYm8oKTsNCgkJCS8vIGxvYWQgc3lzdGVtIGFsaWFzZXMNCgkJCSR0aGlzLT5nZXRTZXJtb25BbGlhc2VzVXNlZCgkZGIpOw0KCQkJLy8gc2V0IHRoZSBjbGFzcyB2YXIgZm9yIHNlcm1vbnMNCgkJCSR0aGlzLT5zZXJtb25zID0gbmV3IHN0ZENsYXNzKCk7DQoJCQkvLyB3ZSBtdXN0IGZpcnN0IGdldCBhbGwgdGhlIHByZWFjaGVyIG5hbWVzDQoJCQlmb3JlYWNoICgkbGlua3NfZHJvcGJveF9hdXRvIGFzICRwbGFjZWhvbGRlciA9PiAkbGluaykNCgkJCXsNCgkJCQkvLyBjb252ZXJ0IHRoZSBuYW1lIHRvIGdldCBuZWVkZWQgaW5mbw0KCQkJCSRuYW1lID0gc3RyX3JlcGxhY2UoJ1ZETV9wTGVLX2gwdUVyLycsICcnLCAkcGxhY2Vob2xkZXIpOw0KCQkJCSRjaHVua3MgPSAoYXJyYXkpIGV4cGxvZGUoJy8nLCAkbmFtZSk7DQoJCQkJLy8gc2V0IHNvbWUgZGVmYXVsdHMNCgkJCQkkcHJlYWNoZXJOYW1lID0gJyc7DQoJCQkJJHNlcmllc05hbWUgPSAnJzsNCgkJCQkkcHJlYWNoZXIgPSAwOw0KCQkJCSRzZXJpZXMgPSAwOw0KCQkJCSRuciA9IDA7DQoJCQkJZm9yZWFjaCAoJGNodW5rcyBhcyAkY2h1bmspDQoJCQkJew0KCQkJCQlpZiAoJG5yID09IDAgJiYgc3RycG9zKCRjaHVuaywnLicpID09PSBmYWxzZSkNCgkJCQkJew0KCQkJCQkJJHByZWFjaGVyTmFtZSA9IHN0cl9yZXBsYWNlKCctJywgJyAnLCBzdHJfcmVwbGFjZSgnXycsICcgJywgJGNodW5rKSk7DQoJCQkJCQkkcHJlYWNoZXJOYW1lID0gdHJpbShwcmVnX3JlcGxhY2UoJy9ccysvJywgJyAnLCB1cmxkZWNvZGUoJHByZWFjaGVyTmFtZSkpKTsNCgkJCQkJCSRwcmVhY2hlciA9ICR0aGlzLT5nZXRJZEJ5TmFtZSgkcHJlYWNoZXJOYW1lLCdwcmVhY2hlcicsJGRiKTsNCgkJCQkJfQ0KCQkJCQllbHNlaWYgKCRuciA9PSAxICYmIHN0cnBvcygkY2h1bmssJy4nKSA9PT0gZmFsc2UpDQoJCQkJCXsNCgkJCQkJCSRzZXJpZXNOYW1lID0gc3RyX3JlcGxhY2UoJy0nLCAnICcsIHN0cl9yZXBsYWNlKCdfJywgJyAnLCAkY2h1bmspKTsNCgkJCQkJCSRzZXJpZXNOYW1lID0gdHJpbShwcmVnX3JlcGxhY2UoJy9ccysvJywgJyAnLCB1cmxkZWNvZGUoJHNlcmllc05hbWUpKSk7DQoJCQkJCQkkc2VyaWVzID0gJHRoaXMtPmdldElkQnlOYW1lKCRzZXJpZXNOYW1lLCdzZXJpZXMnLCRkYik7DQoJCQkJCX0NCgkJCQkJZWxzZWlmICgoJG5yID09IDIgfHwgJG5yID09IDEpICYmIHN0cnBvcygkY2h1bmssJy4nKSAhPT0gZmFsc2UpDQoJCQkJCXsNCgkJCQkJCSRjaHVuayA9IHVybGRlY29kZSgkY2h1bmspOw0KCQkJCQkJLy8gbG9hZCB0aGlzZSBzZXJtb24gZGF0YSB0byB0aGUgZ2xvYmFsIG9iamVjdA0KCQkJCQkJJHRoaXMtPmxvYWRTZXJtb25EYXRhKCRwcmVhY2hlciwkcHJlYWNoZXJOYW1lLCRzZXJpZXMsJHNlcmllc05hbWUsJGNodW5rLCRwbGFjZWhvbGRlciwkZGIpOw0KCQkJCQl9DQoJCQkJCSRucisrOw0KCQkJCX0NCgkJCX0NCgkJCXJldHVybiAkdGhpcy0+c2V0U2VybW9ucygkZGIpOw0KCQl9DQoJCXJldHVybiBmYWxzZTsNCgl9DQoJDQoJcHJvdGVjdGVkIGZ1bmN0aW9uIHNldFNlcm1vbnMoJGRiKQ0KCXsNCgkJLy8gY2hlY2sgaWYgd2UgaGF2ZSB2YWx1ZXMNCgkJaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tPYmplY3QoJHRoaXMtPnNlcm1vbnMpKQ0KCQl7DQoJCQlmb3JlYWNoICgkdGhpcy0+c2VybW9ucyBhcyAkc2VybW9uKQ0KCQkJew0KCQkJCS8vIG1ha2Ugc3VyZSB0aGUgbG9jayBpcyByZW1vdmVkDQoJCQkJdW5zZXQoJHNlcm1vbi0+bG9jayk7DQoJCQkJLy8gY29udmVydCB0aGUgcGxhY2Vob2xkZXJzIHRvIGpzb24gb2JqZWN0DQoJCQkJJHJlZ2lzdHJ5ID0gbmV3IEpSZWdpc3RyeTsNCgkJCQkkcmVnaXN0cnktPmxvYWRBcnJheSgkc2VybW9uLT5hdXRvX3Nlcm1vbnMpOw0KCQkJCSRzZXJtb24tPmF1dG9fc2VybW9ucyA9IChzdHJpbmcpICRyZWdpc3RyeTsNCgkJCQkvLyBhbHdheXMgdGhlIHNhbWUNCgkJCQkkc2VybW9uLT5saW5rX3R5cGUgPSAkdGhpcy0+YXBwX3BhcmFtcy0+Z2V0KCdhdXRvX2xpbmtfdHlwZScsIDEpOw0KCQkJCSRzZXJtb24tPnNvdXJjZSA9IDI7DQoJCQkJJHNlcm1vbi0+YnVpbGQgPSAyOw0KCQkJCS8vIHJlc2V0IGlkDQoJCQkJJGFJZCA9IDA7DQoJCQkJaWYgKGlzc2V0KCRzZXJtb24tPmlkKSAmJiAkc2VybW9uLT5pZCkNCgkJCQl7DQoJCQkJCS8vIGNoYW5nZSB0byBtb2RpZmllZA0KCQkJCQkkc2VybW9uLT5tb2RpZmllZCA9ICRzZXJtb24tPmNyZWF0ZWQ7DQoJCQkJCS8vIG1ha2Ugc3VyZSB3ZSBkb250IGNoYW5nZSB0aGVzZSBpZiANCgkJCQkJLy8gdGhlIHNlcm1vbiBpcyBiZWluZyB1cGRhdGVkDQoJCQkJCXVuc2V0KCRzZXJtb24tPmNyZWF0ZWQpOw0KCQkJCQl1bnNldCgkc2VybW9uLT5tZXRhZGVzYyk7DQoJCQkJCXVuc2V0KCRzZXJtb24tPm1ldGFrZXkpOw0KCQkJCQl1bnNldCgkc2VybW9uLT5tZXRhZGF0YSk7DQoJCQkJCQ0KCQkJCQkvLyB1cGRhdGUNCgkJCQkJJGRvbmUgPSAkZGItPnVwZGF0ZU9iamVjdCgnI19fW1tbY29tcG9uZW50XV1dX3Nlcm1vbicsICRzZXJtb24sICdpZCcpOw0KCQkJCQlpZiAoJGRvbmUpDQoJCQkJCXsNCgkJCQkJCSRhSWQgPSAkc2VybW9uLT5pZDsNCgkJCQkJfQ0KCQkJCX0NCgkJCQllbHNlDQoJCQkJew0KCQkJCQkvLyBhZGQgc29tZSBkZWZhdWx0cw0KCQkJCQkkc2VybW9uLT52ZXJzaW9uID0gMTsNCgkJCQkJJHNlcm1vbi0+cHVibGlzaGVkID0gJHRoaXMtPmFwcF9wYXJhbXMtPmdldCgnc2VybW9uX3N0YXRlJywgMSk7DQoJCQkJCSRzZXJtb24tPmFjY2VzcyA9IDE7IC8vIFRPRE8gbXVzdCB1c2UgYSBnbG9iYWwgc2V0dGluZyBoZXJlDQoJCQkJCSRzZXJtb24tPm1ldGFrZXkgPSBpbXBsb2RlKCcsICcsYXJyYXlfdW5pcXVlKCRzZXJtb24tPm1ldGFrZXkpKTsNCgkJCQkJLy8gaW5zZXJ0DQoJCQkJCSRkb25lID0gJGRiLT5pbnNlcnRPYmplY3QoJyNfX1tbW2NvbXBvbmVudF1dXV9zZXJtb24nLCAkc2VybW9uKTsNCgkJCQkJaWYgKCRkb25lKQ0KCQkJCQl7DQoJCQkJCQkkYUlkID0gICRkYi0+aW5zZXJ0aWQoKTsNCgkJCQkJCS8vIG1ha2Ugc3VyZSB0aGUgYWNjZXNzIG9mIGFzc2V0IGlzIHNldA0KCQkJCQkJW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzZXRBc3NldCgkYUlkLCdzZXJtb24nKTsNCgkJCQkJfQ0KCQkJCX0NCgkJCQkvLyBzZXQgZ2xvYmFsIGlkIGxpc3QNCgkJCQlpZiAoJGFJZCA+IDApDQoJCQkJew0KCQkJCQkkdGhpcy0+YWxsU2VybW9uc1tdID0gJGFJZDsNCgkJCQl9DQoJCQl9DQoJCX0NCgkJcmV0dXJuICR0aGlzLT5hbGxTZXJtb25zQ2hlY2tTdGF0dXMoJGRiKTsNCgl9DQoJDQoJcHJvdGVjdGVkIGZ1bmN0aW9uIGFsbFNlcm1vbnNDaGVja1N0YXR1cygkZGIpDQoJew0KCQkkcXVlcnkgPSAkZGItPmdldFF1ZXJ5KHRydWUpOw0KCQkvLyBGaWVsZHMgdG8gdXBkYXRlLg0KCQkkZmllbGRzID0gYXJyYXkoDQoJCQkkZGItPnF1b3RlTmFtZSgncHVibGlzaGVkJykgLiAnID0gMCcNCgkJKTsNCgkJaWYgKGlzc2V0KCR0aGlzLT5hbGxTZXJtb25zKSAmJiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJHRoaXMtPmFsbFNlcm1vbnMpKQ0KCQl7DQoJCQkvLyB1bnB1Ymxpc2ggdGhvc2UgQVVUTyBzZXJtb25zIG5vdCBmb3VuZCBpbiB0aGlzIGlkIGxpc3QNCgkJCSRjb25kaXRpb25zID0gYXJyYXkoDQoJCQkJJGRiLT5xdW90ZU5hbWUoJ3NvdXJjZScpIC4gJyA9IDInLCANCgkJCQkkZGItPnF1b3RlTmFtZSgnYnVpbGQnKSAuICcgPSAyJywgDQoJCQkJJGRiLT5xdW90ZU5hbWUoJ2lkJykgLiAnIE5PVCBJTiAoJyAuIGltcGxvZGUoJywnLCR0aGlzLT5hbGxTZXJtb25zKSAuICcpJw0KCQkJKTsNCgkJfQ0KCQllbHNlDQoJCXsNCgkJCS8vIHVucHVibGlzaCBhbGwgQVVUTyBzZXJtb25zDQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJCSRkYi0+cXVvdGVOYW1lKCdzb3VyY2UnKSAuICcgPSAyJywgDQoJCQkJJGRiLT5xdW90ZU5hbWUoJ2J1aWxkJykgLiAnID0gMicNCgkJCSk7DQoJCX0NCgkJJHF1ZXJ5LT51cGRhdGUoJGRiLT5xdW90ZU5hbWUoJyNfX1tbW2NvbXBvbmVudF1dXV9zZXJtb24nKSktPnNldCgkZmllbGRzKS0+d2hlcmUoJGNvbmRpdGlvbnMpOw0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCXJldHVybiAkZGItPmV4ZWN1dGUoKTsNCgl9DQoNCg0KCXByb3RlY3RlZCBmdW5jdGlvbiBsb2FkU2VybW9uRGF0YSgkcHJlYWNoZXIsJHByZWFjaGVyTmFtZSwkc2VyaWVzLCRzZXJpZXNOYW1lLCRzZXJtb24sJHBsYWNlaG9sZGVyLCRkYikNCgl7DQoJCS8vIDM0a2V5NTIxX190aGVfZmlsZV9uYW1lX19fdGFnMV90YWctd2l0aDJfdGFnLXRocmVlX19fX1NhbHZhdGlvbl9NZXNzYWdlc19fX19fVGhlX3Nob3J0X2Rlc2NyaXB0aW9uX2Nhbl9vbmx5X2JlX29uZV9zZW50ZW5jZS5tcDMNCgkJJGRlc2NyaXB0aW9uID0gJyc7DQoJCSRjYXRlZ29yeSA9IDA7DQoJCSR0YWdzID0gZmFsc2U7DQoJCSRjb21iaW5lZCA9IGZhbHNlOw0KCQkvLyByZW1vdmUgdGhlIGZpbGUgdHlwZSBmcm9tIHRoZSBzdHJpbmcNCgkJJGZpbGVUeXBlID0gcGF0aGluZm8oJHNlcm1vbiwgUEFUSElORk9fRVhURU5TSU9OKTsNCgkJaWYgKCRmaWxlVHlwZSkNCgkJew0KCQkJJHNlcm1vbiA9IHN0cl9yZXBsYWNlKCcuJy4kZmlsZVR5cGUsICcnLCAkc2VybW9uKTsNCgkJfQ0KCQllbHNlDQoJCXsNCgkJCSRmaWxlVHlwZSA9ICdlcnJvcic7DQoJCX0NCgkJLy8gZmlyc3Qgd2UgY2hlY2sgaWYgdGhpcyBmaWxlIGhhcyBkaXNjcmlwdGlvbg0KCQlpZiAoc3RycG9zKCRzZXJtb24sJ19fX19fJykgIT09IGZhbHNlKQ0KCQl7DQoJCQlsaXN0KCRzZXJtb24sICRkZXNjcmlwdGlvbikgPSBleHBsb2RlKCdfX19fXycsICRzZXJtb24pOw0KCQkJJGRlc2NyaXB0aW9uID0gcHJlZ19yZXBsYWNlKCcvXHMrLycsICcgJywgc3RyX3JlcGxhY2UoJy0nLCAnICcsIHN0cl9yZXBsYWNlKCdfJywgJyAnLCAkZGVzY3JpcHRpb24pKSkuJy4nOw0KCQl9DQoJCS8vIHNlY29uZCB3ZSBjaGVjayBpZiB0aGlzIGZpbGUgaGFzIGNhdGVnb3J5DQoJCWlmIChzdHJwb3MoJHNlcm1vbiwnX19fXycpICE9PSBmYWxzZSkNCgkJew0KCQkJbGlzdCgkc2VybW9uLCAkY2F0ZWdvcnlOYW1lKSA9IGV4cGxvZGUoJ19fX18nLCAkc2VybW9uKTsNCgkJCSRjYXRlZ29yeU5hbWUgPSBwcmVnX3JlcGxhY2UoJy9ccysvJywgJyAnLCBzdHJfcmVwbGFjZSgnLScsICcgJywgc3RyX3JlcGxhY2UoJ18nLCAnICcsJGNhdGVnb3J5TmFtZSkpKTsNCgkJCSRjYXRlZ29yeSA9ICR0aGlzLT5nZXRDYXRvZ29yeUlkKCRjYXRlZ29yeU5hbWUsJGRiKTsNCgkJfQ0KCQkvLyB0aGlyZCB3ZSBjaGVjayBpZiB0aGlzIGZpbGUgaGFzIHRhZ3MNCgkJaWYgKHN0cnBvcygkc2VybW9uLCdfX18nKSAhPT0gZmFsc2UpDQoJCXsNCgkJCWxpc3QoJHNlcm1vbiwgJHRhZ3MpID0gZXhwbG9kZSgnX19fJywgJHNlcm1vbik7IC8vIFRPRE8gbm90IGxvYWRpbmcgdGhlIHRhZ3MgeWV0LCBzb29uLi4uDQoJCX0NCgkJLy8gZm9ydGggd2UgY2hlY2sgaWYgdGhpcyBmaWxlIGlzIGNvbWJpbmVkIHdpdGggYW5vdGhlcg0KCQlpZiAoc3RycG9zKCRzZXJtb24sJ19fJykgIT09IGZhbHNlKQ0KCQl7DQoJCQlsaXN0KCRrZXksJHNlcm1vbikgPSBleHBsb2RlKCdfXycsICRzZXJtb24pOw0KCQkJJGtleSA9IG1kNSgka2V5KTsNCgkJCSRjb21iaW5lZCA9IHRydWU7DQoJCX0NCgkJZWxzZQ0KCQl7DQoJCQkka2V5ID0gbWQ1KCRzZXJtb24uJHByZWFjaGVyLiRzZXJpZXMuJGNhdGVnb3J5KTsNCgkJfQ0KCQkvLyBzZXQgdGhlIG5hbWUgb2YgdGhlIHNlcm1vbg0KCQkkbmFtZSA9IHRyaW0ocHJlZ19yZXBsYWNlKCcvXHMrLycsICcgJywgc3RyX3JlcGxhY2UoJy0nLCAnICcsIHN0cl9yZXBsYWNlKCdfJywgJyAnLCAkc2VybW9uKSkpKTsJCQ0KCQkvLyBjaGVjayBpZiB0aGlzIHNlcm1vbiBoYXMgYmVlbiBzZXQNCgkJaWYgKGlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5KSkNCgkJew0KCQkJJFNFUk1PTiA9IHN0cnRvdXBwZXIoJHNlcm1vbik7DQoJCQlpZiAoJGNvbWJpbmVkICYmICRzZXJtb24gPT0gJFNFUk1PTikNCgkJCXsNCgkJCQkkbmFtZSA9IHVjZmlyc3Qoc3RydG9sb3dlcigkbmFtZSkpOw0KCQkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5uYW1lID0gJG5hbWU7DQoJCQkJLy8gbWFrZSBzdXJlIHdlIGFsd2F5cyB1c2UgdGhlIG5ldyBuYW1lIGFzIGFsaWFzDQoJCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPmFsaWFzID0gJHRoaXMtPmdldEFsaWFzKCRuYW1lLCdzZXJtb24nKTsNCgkJCQkvLyBsb2NrIGl0ZW0gc28gb3RoZXIgd2lsbCBub3QgY2hhbmdlIHRoZSBuYW1lDQoJCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPmxvY2sgPSB0cnVlOw0KCQkJfQ0KCQkJZWxzZWlmICgkY29tYmluZWQgJiYgIWlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5LT5sb2NrKSAmJiBzdHJsZW4oJG5hbWUpID4gc3RybGVuKCR0aGlzLT5zZXJtb25zLT4ka2V5LT5uYW1lKSkNCgkJCXsNCgkJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bmFtZSA9ICRuYW1lOw0KCQkJCS8vIG1ha2Ugc3VyZSB3ZSBhbHdheXMgdXNlIHRoZSBuZXcgbmFtZSBhcyBhbGlhcw0KCQkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5hbGlhcyA9ICR0aGlzLT5nZXRBbGlhcygkbmFtZSwnc2VybW9uJyk7DQoJCQl9DQoJCX0NCgkJZWxzZQ0KCQl7DQoJCQkvLyBsb2FkIHRoZSBzZXJtb24gZGF0YQ0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXkgPSBuZXcgc3RkQ2xhc3MoKTsNCgkJfQ0KCQkvLyBjaGVjayBpZiB0aGlzIHZhbHVlIGhhcyBiZWVuIHNldA0KCQlpZiAoIWlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5LT5hbGlhcykpDQoJCXsNCgkJCS8vIG1ha2Ugc3VyZSB3ZSBhbHdheXMgdXNlIHRoZSBuZXcgbmFtZSBhcyBhbGlhcw0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPmFsaWFzID0gJHRoaXMtPmdldEFsaWFzKCRuYW1lLCdzZXJtb24nKTsNCgkJfQ0KCQkNCgkJLy8gY2hlY2sgaWYgdGhpcyBpdGVtIGV4aXN0ICh1cGRhdGUgaWYgaXQgZG9lcykNCgkJJGlkID0gJHRoaXMtPmdldFNlcm1vbklkKCR0aGlzLT5zZXJtb25zLT4ka2V5LT5hbGlhcywkcHJlYWNoZXIsJGRiKTsNCgkJaWYgKCRpZCkNCgkJew0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPmlkID0gJGlkOw0KCQl9DQoJCS8vIGNoZWNrIGlmIHRoaXMgdmFsdWUgaGFzIGJlZW4gc2V0DQoJCWlmICghaXNzZXQoJHRoaXMtPnNlcm1vbnMtPiRrZXktPm5hbWUpKQ0KCQl7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bmFtZSA9ICRuYW1lOw0KCQl9DQoJCS8vIGNoZWNrIGlmIHRoaXMgdmFsdWUgaGFzIGJlZW4gc2V0DQoJCWlmICghaXNzZXQoJHRoaXMtPnNlcm1vbnMtPiRrZXktPnNob3J0X2Rlc2NyaXB0aW9uKSAmJiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCRkZXNjcmlwdGlvbikpDQoJCXsNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5zaG9ydF9kZXNjcmlwdGlvbiA9ICRkZXNjcmlwdGlvbjsNCgkJfQ0KCQkvLyBjaGVjayBpZiB0aGlzIHZhbHVlIGhhcyBiZWVuIHNldA0KCQlpZiAoIWlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5LT5wcmVhY2hlcikgJiYgJHByZWFjaGVyID4gMCkNCgkJew0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPnByZWFjaGVyID0gJHByZWFjaGVyOw0KCQl9DQoJCS8vIGNoZWNrIGlmIHRoaXMgdmFsdWUgaGFzIGJlZW4gc2V0DQoJCWlmICghaXNzZXQoJHRoaXMtPnNlcm1vbnMtPiRrZXktPnNlcmllcykgJiYgJHNlcmllcyA+IDApDQoJCXsNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5zZXJpZXMgPSAkc2VyaWVzOw0KCQl9DQoJCS8vIGNoZWNrIGlmIHRoaXMgdmFsdWUgaGFzIGJlZW4gc2V0DQoJCWlmICghaXNzZXQoJHRoaXMtPnNlcm1vbnMtPiRrZXktPmNhdGlkKSAmJiAkY2F0ZWdvcnkgPiAwKQ0KCQl7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+Y2F0aWQgPSAkY2F0ZWdvcnk7DQoJCX0NCgkJLy8gY2hlY2sgaWYgdGhpcyB2YWx1ZSBoYXMgYmVlbiBzZXQNCgkJaWYgKCFpc3NldCgkdGhpcy0+c2VybW9ucy0+JGtleS0+Y3JlYXRlZCkpDQoJCXsNCgkJCS8vIHNldCB0aGUgZGF0ZSBvYmplY3QNCgkJCSRkYXRlID0gSkZhY3Rvcnk6OmdldERhdGUoKTsNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5jcmVhdGVkID0gJGRhdGUtPnRvU3FsKCk7DQoJCX0JCQ0KCQkvLyBidWlsZCB0aGUgRG93bmxvYWQgRmlsZSBOQW1lIC0gZmlyc3QgYWRkIHRoZSBwcmVhY2hlciBuYW1lIGlmIHNldA0KCQlpZiAoJHByZWFjaGVyKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJHByZWFjaGVyTmFtZSwnVScpOw0KCQl9DQoJCS8vIGFkZCB0aGUgc2VyaWVzIG5hbWUgaWYgc2V0DQoJCWlmICgkc2VyaWVzKQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJHNlcmllc05hbWUsJ0YnKTsNCgkJfQ0KCQkvLyBhZGQgdGhlIGNhdGVnb3J5IG5hbWUgaWYgc2V0DQoJCWlmICgkY2F0ZWdvcnkpDQoJCXsNCgkJCSRkb3dubG9hZE5hbWVbXSA9IFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2FmZVN0cmluZygkY2F0ZWdvcnlOYW1lLCAnRicpOw0KCQl9DQoJCS8vIGFkZCB0aGUgbWFpbiBmaWxlIG5hbWUNCgkJJGRvd25sb2FkTmFtZVtdID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzYWZlU3RyaW5nKCRuYW1lLCdGJyk7DQoJCS8vIG5vdyBidWlsZCB0aGUgZG93bmxvYWQgZmlsZSBuYW1lDQoJCSRkb3dubG9hZE5hbWUgPSBpbXBsb2RlKCdfXycsICRkb3dubG9hZE5hbWUpLicuJy4kZmlsZVR5cGU7CQkJDQoJCS8vIGxvYWQgdGhlIHBsYWNlaG9sZGVyIHRvIHRoZSBzZXJtb24NCgkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPmF1dG9fc2VybW9uc1skZG93bmxvYWROYW1lXSA9ICRwbGFjZWhvbGRlcjsNCgkJLy8gc2V0IGRlZmF1bHQgbWV0YWRhdGUNCgkJaWYgKCFpc3NldCgkdGhpcy0+c2VybW9ucy0+JGtleS0+bWV0YWRlc2MpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJGRlc2NyaXB0aW9uKSkNCgkJewkNCgkJCS8vIE9ubHkgcHJvY2VzcyBvbmNlIHBlci9zZXJtb24NCgkJCSRiYWRfY2hhcmFjdGVycyA9IGFycmF5KCJcIiIsICI8IiwgIj4iKTsNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5tZXRhZGVzYyA9IEpTdHJpbmc6OnN0cl9pcmVwbGFjZSgkYmFkX2NoYXJhY3RlcnMsICIiLCAkZGVzY3JpcHRpb24pOyAvLyBqdXN0IHRvIGJlIHNhdmUNCgkJfQ0KCQkvLyBBcnJheSBvZiBjaGFyYWN0ZXJzIHRvIHJlbW92ZS4NCgkJJGJhZF9jaGFyYWN0ZXJzID0gYXJyYXkoIlxuIiwgIlxyIiwgIlwiIiwgIjwiLCAiPiIpOw0KCQkvLyBzZXQgdGhlIG1ldGEga2V5IHdvcmRzDQoJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5tZXRha2V5W10gPSB0cmltKEpTdHJpbmc6OnN0cl9pcmVwbGFjZSgkYmFkX2NoYXJhY3RlcnMsICcnLCAkbmFtZSkpOyAvLyBqdXN0IHRvIGJlIHNhdmUNCgkJaWYgKCRzZXJpZXMpDQoJCXsNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5tZXRha2V5W10gPSB0cmltKEpTdHJpbmc6OnN0cl9pcmVwbGFjZSgkYmFkX2NoYXJhY3RlcnMsICcnLCAkc2VyaWVzTmFtZSkpOyAvLyBqdXN0IHRvIGJlIHNhdmUNCgkJfQ0KCQlpZiAoJHByZWFjaGVyKQ0KCQl7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bWV0YWtleVtdID0gdHJpbShKU3RyaW5nOjpzdHJfaXJlcGxhY2UoJGJhZF9jaGFyYWN0ZXJzLCAnJywgJHByZWFjaGVyTmFtZSkpOyAvLyBqdXN0IHRvIGJlIHNhdmUNCgkJfQ0KCQlpZiAoJGNhdGVnb3J5KQ0KCQl7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bWV0YWtleVtdID0gdHJpbShKU3RyaW5nOjpzdHJfaXJlcGxhY2UoJGJhZF9jaGFyYWN0ZXJzLCAnJywgJGNhdGVnb3J5TmFtZSkpOyAvLyBqdXN0IHRvIGJlIHNhdmUNCgkJfQ0KCQkkYXV0aG9yID0gKCRwcmVhY2hlcikgPyB0cmltKCRwcmVhY2hlck5hbWUpOiAnJzsNCgkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPm1ldGFkYXRhID0gJ3sicm9ib3RzIjoiIiwiYXV0aG9yIjoiJy4kYXV0aG9yLiciLCJyaWdodHMiOiJTZWUgb3VyIHNpdGUgdGVybXMuIn0nOw0KCQkNCgkJcmV0dXJuIHRydWU7DQoJfQ0KCQ0KCXByb3RlY3RlZCBmdW5jdGlvbiBnZXRBbGlhcygkbmFtZSwkdHlwZSA9IGZhbHNlKQ0KCXsNCgkJLy8gc2FuaXRpemUgdGhlIG5hbWUgdG8gYW4gYWxpYXMNCgkJaWYgKEpGYWN0b3J5OjpnZXRDb25maWcoKS0+Z2V0KCd1bmljb2Rlc2x1Z3MnKSA9PSAxKQ0KCQl7DQoJCQkkYWxpYXMgPSBKRmlsdGVyT3V0cHV0OjpzdHJpbmdVUkxVbmljb2RlU2x1ZygkbmFtZSk7DQoJCX0NCgkJZWxzZQ0KCQl7DQoJCQkkYWxpYXMgPSBKRmlsdGVyT3V0cHV0OjpzdHJpbmdVUkxTYWZlKCRuYW1lKTsNCgkJfQ0KCQlpZiAoJHR5cGUpDQoJCXsNCgkJCXJldHVybiAkdGhpcy0+Z2V0VW5pcWUoJGFsaWFzLCdhbGlhcycsJHR5cGUpOw0KCQl9DQoJCXJldHVybiAkYWxpYXM7DQoJfQ0KDQoJcHJvdGVjdGVkIGZ1bmN0aW9uIGdldElkQnlOYW1lKCRuYW1lLCR0eXBlLCRkYikNCgl7DQoJCS8vIHNhbml0aXplIHRoZSBuYW1lIHRvIGFuIGFsaWFzDQoJCSRhbGlhcyA9ICR0aGlzLT5nZXRBbGlhcygkbmFtZSk7DQoJCS8vIGNoZWNrIGlmIHRoZXJlIGlzIGEgcmVjb3JlZA0KCQlpZiAoJGlkID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRWYXIoJHR5cGUsICRhbGlhcywgJ2FsaWFzJywgJ2lkJykpDQoJCXsNCgkJCXJldHVybiAkaWQ7DQoJCX0NCgkJZWxzZQ0KCQl7DQoJCQkvLyBjaGVjayBpZiB0aGUgbmFtZSBpcyBhbGwgbG93ZXJjYXNlDQoJCQlpZiAoJG5hbWUgPT0gc3RydG9sb3dlcigkbmFtZSkpDQoJCQl7DQoJCQkJLy8gdGhlIHdob2xlIG5hbWUgaXMgbG93ZXJjYXNlIHRoZW4gZml4DQoJCQkJJG5hbWUgPSB1Y3dvcmRzKCRuYW1lKTsNCgkJCX0NCgkJCS8vIGNyZWF0ZSB0aGUgcmVjb3JkDQoJCQkkb2JqZWN0ID0gbmV3IHN0ZENsYXNzKCk7DQoJCQkvLyBzZXQgdGhlIGRhdGUgb2JqZWN0DQoJCQkkZGF0ZSA9IEpGYWN0b3J5OjpnZXREYXRlKCk7DQoJCQkvLyBidWlsZCB0aGUgb2JqZWN0DQoJCQkkb2JqZWN0LT5uYW1lCQkJPSAkbmFtZTsNCgkJCSRvYmplY3QtPmFsaWFzCQkJPSAkYWxpYXM7DQoJCQkkb2JqZWN0LT5wdWJsaXNoZWQJCT0gJHRoaXMtPmFwcF9wYXJhbXMtPmdldCgkdHlwZS4nX3N0YXRlJywgMSk7DQoJCQkkb2JqZWN0LT5jcmVhdGVkCQk9ICRkYXRlLT50b1NxbCgpOw0KCQkJJG9iamVjdC0+dmVyc2lvbgkJPSAxOw0KCQkJJG9iamVjdC0+YWNjZXNzCQkJPSAxOyAvLyBUT0RPIG11c3QgdXNlIGEgZ2xvYmFsIHNldHRpbmcgaGVyZQ0KCQkJLy8gSW5zZXJ0IHRoZSBvYmplY3QgaW50byB0aGUgdGFibGUuDQoJCQkkZG9uZSA9ICRkYi0+aW5zZXJ0T2JqZWN0KCcjX19bW1tjb21wb25lbnRdXV1fJy4kdHlwZSwgJG9iamVjdCk7DQoJCQkvLyBpZiBkb25lIHJldHVybiBsYXN0IHVzZWQgaWQNCgkJCWlmICgkZG9uZSkNCgkJCXsNCgkJCQkkbmV3SWQgPSAgJGRiLT5pbnNlcnRpZCgpOw0KCQkJCS8vIG1ha2Ugc3VyZSB0aGUgYWNjZXNzIG9mIGFzc2V0IGlzIHNldA0KCQkJCVtbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2V0QXNzZXQoJG5ld0lkLCR0eXBlKTsNCgkJCQlyZXR1cm4gJG5ld0lkOw0KCQkJfQ0KCQl9DQoJCXJldHVybiAwOw0KCX0NCgkNCglwcm90ZWN0ZWQgZnVuY3Rpb24gZ2V0U2VybW9uSWQoJGFsaWFzID0gZmFsc2UsJHByZWFjaGVyLCRkYikNCgl7DQoJCWlmICghJGFsaWFzKQ0KCQl7DQoJCQkvLyBzYW5pdGl6ZSB0aGUgbmFtZSB0byBhbiBhbGlhcw0KCQkJJGFsaWFzID0gJHRoaXMtPmdldEFsaWFzKCRuYW1lLCdzZXJtb24nKTsNCgkJfQ0KCQkvLyBDcmVhdGUgYSBuZXcgcXVlcnkgb2JqZWN0Lg0KCQkkcXVlcnkgPSAkZGItPmdldFF1ZXJ5KHRydWUpOw0KCQkkcXVlcnktPnNlbGVjdCgkZGItPnF1b3RlTmFtZShhcnJheSgnaWQnKSkpOw0KCQkkcXVlcnktPmZyb20oJGRiLT5xdW90ZU5hbWUoJyNfX1tbW2NvbXBvbmVudF1dXV9zZXJtb24nKSk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2FsaWFzJykgLiAnID0gJy4gJGRiLT5xdW90ZSgkYWxpYXMpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgncHJlYWNoZXInKSAuICcgPSAnLiAkcHJlYWNoZXIpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdidWlsZCcpIC4gJyA9ICcuIDIpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdzb3VyY2UnKSAuICcgPSAnLiAyKTsNCgkJJGRiLT5zZXRRdWVyeSgkcXVlcnkpOw0KCQkkZGItPmV4ZWN1dGUoKTsNCgkJaWYgKCRkYi0+Z2V0TnVtUm93cygpKQ0KCQl7DQoJCQlyZXR1cm4gJGRiLT5sb2FkUmVzdWx0KCk7DQoJCX0NCgkJcmV0dXJuIDA7DQoJfQ0KCQ0KCXByb3RlY3RlZCBmdW5jdGlvbiBnZXRDYXRvZ29yeUlkKCRuYW1lLCRkYikNCgl7DQoJCS8vIHNhbml0aXplIHRoZSBuYW1lIHRvIGFuIGFsaWFzDQoJCSRhbGlhcyA9ICR0aGlzLT5nZXRBbGlhcygkbmFtZSk7DQoJCS8vIENyZWF0ZSBhIG5ldyBxdWVyeSBvYmplY3QuDQoJCSRxdWVyeSA9ICRkYi0+Z2V0UXVlcnkodHJ1ZSk7DQoJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdpZCcpKSk7DQoJCSRxdWVyeS0+ZnJvbSgkZGItPnF1b3RlTmFtZSgnI19fY2F0ZWdvcmllcycpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnYWxpYXMnKSAuICcgPSAnLiAkZGItPnF1b3RlKCRhbGlhcykpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdleHRlbnNpb24nKSAuICcgPSAnLiAkZGItPnF1b3RlKCdjb21fW1tbY29tcG9uZW50XV1dLnNlcm1vbnMnKSk7DQoJCSRkYi0+c2V0UXVlcnkoJHF1ZXJ5KTsNCgkJJGRiLT5leGVjdXRlKCk7DQoJCWlmICgkZGItPmdldE51bVJvd3MoKSkNCgkJew0KCQkJcmV0dXJuICRkYi0+bG9hZFJlc3VsdCgpOw0KCQl9DQoJCXJldHVybiAwOyAvLyBUT0RPIGNyZWF0IGEgY2F0ZWdvcnkgaWYgbm90IGZvdW5kDQoJfQ0KCQ0KCS8qKg0KCSAqIE1ldGhvZCB0byBnZW5lcmF0ZSBhIHVuaXFlIHZhbHVlLg0KCSAqDQoJICogQHBhcmFtICAgc3RyaW5nICAkZmllbGQgbmFtZS4NCgkgKiBAcGFyYW0gICBzdHJpbmcgICR2YWx1ZSBkYXRhLg0KCSAqIEBwYXJhbSAgIHN0cmluZyAgJHR5cGUgdGFibGUuDQoJICoNCgkgKiBAcmV0dXJuICBzdHJpbmcgIE5ldyB2YWx1ZS4NCgkgKi8NCglwcm90ZWN0ZWQgZnVuY3Rpb24gZ2V0VW5pcWUoJHZhbHVlLCRmaWVsZCwkdHlwZSkNCgl7DQoJCS8vIGluc3VyZSB0aGUgZmlsZWQgaXMgYWx3YXlzIHVuaXFlDQoJCXdoaWxlIChpc3NldCgkdGhpcy0+dW5pcWVWYWx1ZUFycmF5WyR0eXBlXVskZmllbGRdWyR2YWx1ZV0pKQ0KCQl7DQoJCQkkdmFsdWUgPSBKU3RyaW5nOjppbmNyZW1lbnQoJHZhbHVlLCAnZGFzaCcpOw0KCQl9DQoJCSR0aGlzLT51bmlxZVZhbHVlQXJyYXlbJHR5cGVdWyRmaWVsZF1bJHZhbHVlXSA9ICR2YWx1ZTsNCgkJcmV0dXJuICR2YWx1ZTsNCgl9DQoJDQoJcHJvdGVjdGVkIGZ1bmN0aW9uIGdldFNlcm1vbkFsaWFzZXNVc2VkKCRkYikNCgl7DQoJCS8vIENyZWF0ZSBhIG5ldyBxdWVyeSBvYmplY3QuDQoJCSRxdWVyeSA9ICRkYi0+Z2V0UXVlcnkodHJ1ZSk7DQoJCSRxdWVyeS0+c2VsZWN0KCRkYi0+cXVvdGVOYW1lKGFycmF5KCdhbGlhcycpKSk7DQoJCSRxdWVyeS0+ZnJvbSgkZGItPnF1b3RlTmFtZSgnI19fW1tbY29tcG9uZW50XV1dX3Nlcm1vbicpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnYnVpbGQnKSAuICcgIT0gMicpOw0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCSRkYi0+ZXhlY3V0ZSgpOw0KCQlpZiAoJGRiLT5nZXROdW1Sb3dzKCkpDQoJCXsNCgkJCSRhbGlhc2VzID0gJGRiLT5sb2FkQ29sdW1uKCk7DQoJCQlmb3JlYWNoKCRhbGlhc2VzIGFzICRhbGlhcykNCgkJCXsNCgkJCQkkdGhpcy0+dW5pcWVWYWx1ZUFycmF5WydzZXJtb24nXVsnYWxpYXMnXVskYWxpYXNdID0gJGFsaWFzOw0KCQkJfQ0KCQl9DQoJfQ==', '', '', '', '', '', '', '', '', 'Sermon details', '', '', 1, '', 1, 450, 450, '2015-10-22 17:28:45', '2015-11-21 16:30:36', '', '0000-00-00 00:00:00', 44, '', 1, 24), -(56, 6212, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '{\"field\":[\"829\",\"830\",\"814\",\"813\",\"831\"],\"list\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"order_list\":[\"1\",\"2\",\"3\",\"4\",\"5\"],\"title\":[\"1\",\"0\",\"0\",\"0\",\"0\"],\"alias\":[\"0\",\"0\",\"0\",\"0\",\"0\"],\"sort\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"search\":[\"1\",\"1\",\"1\",\"1\",\"0\"],\"filter\":[\"0\",\"1\",\"1\",\"1\",\"0\"],\"link\":[\"1\",\"1\",\"1\",\"1\",\"0\"],\"tab\":[\"1\",\"1\",\"1\",\"1\",\"1\"],\"alignment\":[\"4\",\"4\",\"1\",\"1\",\"2\"],\"order_edit\":[\"1\",\"2\",\"1\",\"2\",\"1\"],\"permission\":[\"0\",\"0\",\"0\",\"0\",\"0\"]}', '{\"adminview\":[],\"tab\":[],\"key\":[],\"parentkey\":[],\"addnew\":[]}', '{\"action\":[\"view.edit\",\"view.edit.own\",\"view.edit.state\",\"view.edit.created_by\",\"view.edit.created\",\"view.create\",\"view.delete\",\"view.access\"],\"implementation\":[\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\",\"3\"]}', '{\"table\":[],\"sourcemap\":[]}', '{\"name\":[]}', '', '', '', '', '', '', '', 'The data on each file\'s statistics', 'images/Wooden-Monitoring-5515418566.png', '', '', '', '', '', '', 'Statistics', 'Statistic', 'Statistic', '', '', '', '', '', '', '', '', '', '', 'The file statistics', '', '', 1, '', 1, 450, 450, '2015-10-29 22:51:22', '2015-11-19 01:41:19', '', '0000-00-00 00:00:00', 8, '', 1, 23); - - - --- --- Dumping data for table `#__componentbuilder_site_view` --- - -INSERT INTO `#__componentbuilder_site_view` (`id`, `asset_id`, `add_css_document`, `add_css`, `add_js_document`, `add_php_document`, `add_php_jview`, `add_php_jview_display`, `add_php_view`, `add_php_ajax`, `add_custom_button`, `custom_button`, `button_position`, `php_controller`, `php_model`, `ajax_input`, `php_ajaxmethod`, `alias`, `css_document`, `css`, `custom_get`, `default`, `description`, `dynamic_get`, `js_document`, `main_get`, `name`, `system_name`, `not_required`, `php_document`, `php_jview`, `php_jview_display`, `php_view`, `snippet`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `checked_out`, `checked_out_time`, `version`, `hits`, `access`, `ordering`) VALUES -(11, 6218, '', '', '', '', '', 1, 1, '', '', '', '', '', '', '', '', 'series-list', '', '', '', 'PD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2hvd19wYWdlX2hlYWRpbmcnKSk6ID8+DQoJPGgxIGNsYXNzPSJ1ay10ZXh0LXByaW1hcnkiPjw/cGhwIGVjaG8gJGhlYWRpbmc7ID8+PC9oMT4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCR0aGlzLT5pdGVtcyk6ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnbGlzdF9zZXJpZXNfZGlzcGxheScpID09IDEpIDogPz4NCgkJPD9waHAgZWNobyAkdGhpcy0+bG9hZFRlbXBsYXRlKCdzZXJpZXMtdGFibGUnKTsgPz4NCgk8P3BocCBlbHNlaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnbGlzdF9zZXJpZXNfZGlzcGxheScpID09IDIpIDogPz4NCgkJPD9waHAgZWNobyAkdGhpcy0+bG9hZFRlbXBsYXRlKCdzZXJpZXMtZ3JpZCcpOyA/Pg0KCTw/cGhwIGVsc2U6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnc2VyaWVzLWxpc3QnKTsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGVsc2U6ID8+DQoJPGRpdiBjbGFzcz0idWstYWxlcnQgdWstYWxlcnQtd2FybmluZyIgZGF0YS11ay1hbGVydD4NCgkJPGEgaHJlZj0iIiBjbGFzcz0idWstYWxlcnQtY2xvc2UgdWstY2xvc2UiPjwvYT4NCgkJPHA+PD9waHAgZWNobyBKVGV4dDo6XygnTm8gU2VyaWVzIHdlcmUgZm91bmQuJyk7ID8+PC9wPg0KCTwvZGl2Pg0KPD9waHAgZW5kaWY7ID8+', 'All series that are published', 19, '', 19, 'Series List', 'Series List', '', '', '', 'Ly8gZG8gYSBxdWljayBidWlsZCBvZiBhbGwgdGhlIGxpbmtzDQppZiAoJHRoaXMtPml0ZW1zKQ0Kew0KCWZvcmVhY2ggKCR0aGlzLT5pdGVtcyBhcyAkbnIgPT4gJiRpdGVtKQ0KCXsNCgkJJGl0ZW0tPmxpbmsgPSBKUm91dGU6Ol8oW1tbQ29tcG9uZW50XV1dSGVscGVyUm91dGU6OmdldFNlcmllc1JvdXRlKCRpdGVtLT5zbHVnKSk7DQoJfQ0KfQ0KLy8gc2V0IHRoZSBGb29UYWJsZSBzdHlsZQ0KJHN0eWxlID0gJHRoaXMtPnBhcmFtcy0+Z2V0KCdsaXN0X3Nlcmllc190YWJsZV9jb2xvcicsIDApOw0KaWYgKDUgPT0gJHN0eWxlKQ0Kew0KCSR0aGlzLT5mb29UYWJsZVN0eWxlID0gMTsNCn0NCmVsc2VpZiAoJHN0eWxlIDw9IDQpDQp7DQoJJHRoaXMtPmZvb1RhYmxlU3R5bGUgPSAwOw0KfQ0KZWxzZQ0Kew0KCSR0aGlzLT5mb29UYWJsZVN0eWxlID0gMjsNCn0=', 'Ly8gU2V0IHRoZSBoZWFkaW5nIG9mIHRoZSBwYWdlDQokaGVhZGluZyA9ICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3BhZ2VfaGVhZGluZycpKSA/ICR0aGlzLT5wYXJhbXMtPmdldCgncGFnZV9oZWFkaW5nJyk6KGlzc2V0KCR0aGlzLT5tZW51LT50aXRsZSkpID8gJHRoaXMtPm1lbnUtPnRpdGxlOicnOw==', 34, '', 1, 450, 450, '2015-10-30 12:30:26', '2015-11-19 02:17:31', '', '0000-00-00 00:00:00', 26, '', 1, 10), -(12, 6387, '', '', '', '', '', 1, 1, '', '', '', 4, '', '', '', '', 'preachers', '', '', '', 'PD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2hvd19wYWdlX2hlYWRpbmcnKSk6ID8+DQoJPGgxIGNsYXNzPSJ1ay10ZXh0LXByaW1hcnkiPjw/cGhwIGVjaG8gJGhlYWRpbmc7ID8+PC9oMT4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCR0aGlzLT5pdGVtcyk6ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2Rpc3BsYXknKSA9PSAxKSA6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgncHJlYWNoZXJzLXRhYmxlJyk7ID8+DQoJPD9waHAgZWxzZWlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19kaXNwbGF5JykgPT0gMikgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3ByZWFjaGVycy1ncmlkJyk7ID8+DQoJPD9waHAgZWxzZTogPz4NCgkJPD9waHAgZWNobyAkdGhpcy0+bG9hZFRlbXBsYXRlKCdwcmVhY2hlcnMtbGlzdCcpOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgZWxzZTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay1hbGVydCB1ay1hbGVydC13YXJuaW5nIiBkYXRhLXVrLWFsZXJ0Pg0KCQk8YSBocmVmPSIiIGNsYXNzPSJ1ay1hbGVydC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQk8cD48P3BocCBlY2hvIEpUZXh0OjpfKCdObyBwcmVhY2hlcnMgd2VyZSBmb3VuZC4nKTsgPz48L3A+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4=', 'All preachers that are published', 20, '', 20, 'Preachers', 'Preachers', '', '', '', 'Ly8gZG8gYSBxdWljayBidWlsZCBvZiBhbGwgdGhlIGxpbmtzDQppZiAoJHRoaXMtPml0ZW1zKQ0Kew0KCWZvcmVhY2ggKCR0aGlzLT5pdGVtcyBhcyAkbnIgPT4gJiRpdGVtKQ0KCXsNCgkJJGl0ZW0tPmxpbmsgPSBKUm91dGU6Ol8oW1tbQ29tcG9uZW50XV1dSGVscGVyUm91dGU6OmdldFByZWFjaGVyUm91dGUoJGl0ZW0tPnNsdWcpKTsNCgl9DQp9DQovLyBzZXQgdGhlIEZvb1RhYmxlIHN0eWxlDQokc3R5bGUgPSAkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc190YWJsZV9jb2xvcicsIDApOw0KaWYgKDUgPT0gJHN0eWxlKQ0Kew0KCSR0aGlzLT5mb29UYWJsZVN0eWxlID0gMTsNCn0NCmVsc2VpZiAoJHN0eWxlIDw9IDQpDQp7DQoJJHRoaXMtPmZvb1RhYmxlU3R5bGUgPSAwOw0KfQ0KZWxzZQ0Kew0KCSR0aGlzLT5mb29UYWJsZVN0eWxlID0gMjsNCn0=', 'Ly8gU2V0IHRoZSBoZWFkaW5nIG9mIHRoZSBwYWdlDQokaGVhZGluZyA9ICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3BhZ2VfaGVhZGluZycpKSA/ICR0aGlzLT5wYXJhbXMtPmdldCgncGFnZV9oZWFkaW5nJyk6KGlzc2V0KCR0aGlzLT5tZW51LT50aXRsZSkpID8gJHRoaXMtPm1lbnUtPnRpdGxlOicnOw==', '', '', 1, 450, 450, '2015-11-05 15:43:34', '2015-11-19 02:19:20', '', '0000-00-00 00:00:00', 17, '', 1, 11), -(13, 6425, '', '', '', '', 1, 1, '', '', '', '', 4, '', '', '', '', 'preacher', '', '', '{\"0\":\"27\",\"1\":\"29\",\"2\":\"21\"}', 'PD9waHAgaWYgKCR0aGlzLT5wcmVhY2hlcik6ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfZGlzcGxheScpID09IDEpIDogPz4NCgkJPGRpdiBjbGFzcz0idWstZ3JpZCIgZGF0YS11ay1ncmlkLW1hdGNoPSJ7dGFyZ2V0OicudWstcGFuZWwnfSI+PD9waHAgZWNobyAkdGhpcy0+bG9hZFRlbXBsYXRlKCdwcmVhY2hlcnBhbmVsJyk7ID8+PC9kaXY+DQoJPD9waHAgZWxzZWlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2Rpc3BsYXknKSA9PSAyKSA6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgncHJlYWNoZXJib3gnKTsgPz4NCgk8P3BocCBlbHNlOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3ByZWFjaGVyc21hbGwnKTsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGVsc2U6ID8+DQoJPGRpdiBjbGFzcz0idWstYWxlcnQgdWstYWxlcnQtd2FybmluZyIgZGF0YS11ay1hbGVydD4NCgkJPGEgaHJlZj0iIiBjbGFzcz0idWstYWxlcnQtY2xvc2UgdWstY2xvc2UiPjwvYT4NCgkJPHA+PD9waHAgZWNobyBKVGV4dDo6XygnTm8gcHJlYWNoZXIgd2FzIGZvdW5kLicpOyA/PjwvcD4NCgk8L2Rpdj4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCR0aGlzLT5pdGVtcyk6ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19kaXNwbGF5JykgPT0gMSkgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcm1vbnMtdGFibGUnKTsgPz4NCgk8P3BocCBlbHNlaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19kaXNwbGF5JykgPT0gMikgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcm1vbnMtZ3JpZCcpOyA/Pg0KCTw/cGhwIGVsc2U6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnc2VybW9ucy1saXN0Jyk7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPHNjcmlwdD4NCglmdW5jdGlvbiBzZXJtb25Db3VudGVyKGtleSxmaWxlbmFtZSkNCgl7DQoJCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fW1tbY29tcG9uZW50XV1dJnRhc2s9YWpheC5jb3VudERvd25sb2FkJmZvcm1hdD1qc29uIjsNCgkJaWYgKGtleS5sZW5ndGggPiAwICYmIGZpbGVuYW1lLmxlbmd0aCA+IDApDQoJCXsNCgkJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPTw/cGhwIGVjaG8gSlNlc3Npb246OmdldEZvcm1Ub2tlbigpOyA/PiZrZXk9JytrZXkrJyZmaWxlbmFtZT0nK2ZpbGVuYW1lOw0KCQl9DQoJCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCQl0eXBlOiAnR0VUJywNCgkJCXVybDogZ2V0VXJsLA0KCQkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCQlkYXRhOiByZXF1ZXN0LA0KCQkJanNvbnA6ICdjYWxsYmFjaycNCgkJfSk7DQoJfQ0KCTwvc2NyaXB0Pg0KPD9waHAgZWxzZTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay1hbGVydCB1ay1hbGVydC13YXJuaW5nIiBkYXRhLXVrLWFsZXJ0Pg0KCQk8YSBocmVmPSIiIGNsYXNzPSJ1ay1hbGVydC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQk8cD48P3BocCBlY2hvIEpUZXh0OjpfKCdObyBzZXJtb25zIHdlcmUgZm91bmQuJyk7ID8+PC9wPg0KCTwvZGl2Pg0KPD9waHAgZW5kaWY7ID8+DQo=', 'A preacher that is published', 22, '', 22, 'Preacher', 'Preacher', '', '', 'CSAvKioNCgkgKiBJbmNyZW1lbnQgdGhlIGhpdCBjb3VudGVyIGZvciB0aGUgW1tbc3ZpZXddXV0uDQoJICoNCgkgKiBAcGFyYW0gICBpbnRlZ2VyICAkcGsgIFByaW1hcnkga2V5IG9mIHRoZSBbW1tzdmlld11dXSB0byBpbmNyZW1lbnQuDQoJICoNCgkgKiBAcmV0dXJuICBib29sZWFuICBUcnVlIGlmIHN1Y2Nlc3NmdWw7DQoJICovDQoJcHVibGljIGZ1bmN0aW9uIGhpdCgkcGsgPSAwKQ0KCXsNCgkJaWYgKCRwaykNCgkJew0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCg0KCQkJLy8gRmllbGRzIHRvIHVwZGF0ZS4NCgkJCSRmaWVsZHMgPSBhcnJheSgNCgkJCSAgICAkZGItPnF1b3RlTmFtZSgnaGl0cycpIC4gJyA9ICcuJGRiLT5xdW90ZU5hbWUoJ2hpdHMnKS4nICsgMScNCgkJCSk7DQoNCgkJCS8vIENvbmRpdGlvbnMgZm9yIHdoaWNoIHJlY29yZHMgc2hvdWxkIGJlIHVwZGF0ZWQuDQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJICAgICRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcgLiAkcGsNCgkJCSk7DQoNCgkJCSRxdWVyeS0+dXBkYXRlKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fW1tbc3ZpZXddXV0nKSktPnNldCgkZmllbGRzKS0+d2hlcmUoJGNvbmRpdGlvbnMpOw0KDQoJCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCQlyZXR1cm4gJGRiLT5leGVjdXRlKCk7DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0=', 'Ly8gYWRkIGEgaGl0IHRvIHRoZSBbW1tzdmlld11dXQ0KaWYgKCR0aGlzLT5oaXQoJHRoaXMtPnByZWFjaGVyLT5pZCkpDQp7DQoJJHRoaXMtPnByZWFjaGVyLT5oaXRzKys7DQp9DQovLyBzZXQgc29tZSB0b3RhbCBkZWZhdWx0cw0KJHRoaXMtPnNlcm1vblRvdGFsID0gY291bnQoJHRoaXMtPm51bWJlcnNlcm1vbnMpOw0KJHRoaXMtPmRvd25sb2FkVG90YWwgPSAwOw0KaWYgKGlzc2V0KCR0aGlzLT5udW1iZXJkb3dubG9hZHMpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkdGhpcy0+bnVtYmVyZG93bmxvYWRzKSkNCnsNCglmb3JlYWNoICgkdGhpcy0+bnVtYmVyZG93bmxvYWRzIGFzICRkb3dubG9hZCkNCgl7DQoJCSR0aGlzLT5kb3dubG9hZFRvdGFsICs9ICRkb3dubG9hZC0+Y291bnRlcjsNCgl9DQp9DQovLyBzZXQgdGhlIEZvb1RhYmxlIHN0eWxlDQokc3R5bGUgPSAkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfdGFibGVfY29sb3InLCAwKTsNCmlmICg1ID09ICRzdHlsZSkNCnsNCgkkdGhpcy0+Zm9vVGFibGVTdHlsZSA9IDE7DQp9DQplbHNlaWYgKCRzdHlsZSA8PSA0KQ0Kew0KCSR0aGlzLT5mb29UYWJsZVN0eWxlID0gMDsNCn0NCmVsc2UNCnsNCgkkdGhpcy0+Zm9vVGFibGVTdHlsZSA9IDI7DQp9', '', '', '', 1, 450, 450, '2015-11-08 10:02:10', '2015-11-19 20:38:59', '', '0000-00-00 00:00:00', 41, '', 1, 11), -(14, 6457, '', '', '', '', 1, 1, '', '', '', '', 4, '', '', '', '', 'series', '', '', '{\"0\":\"28\",\"1\":\"30\",\"2\":\"24\"}', 'PD9waHAgaWYgKCR0aGlzLT5zZXJpZXMpOiA/Pg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19kaXNwbGF5JykgPT0gMSkgOiA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1ncmlkIiBkYXRhLXVrLWdyaWQtbWF0Y2g9Int0YXJnZXQ6Jy51ay1wYW5lbCd9Ij48P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcmllc3BhbmVsJyk7ID8+PC9kaXY+DQoJPD9waHAgZWxzZWlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19kaXNwbGF5JykgPT0gMikgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcmllc2JveCcpOyA/Pg0KCTw/cGhwIGVsc2U6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnc2VyaWVzc21hbGwnKTsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGVsc2U6ID8+DQoJPGRpdiBjbGFzcz0idWstYWxlcnQgdWstYWxlcnQtd2FybmluZyIgZGF0YS11ay1hbGVydD4NCgkJPGEgaHJlZj0iIiBjbGFzcz0idWstYWxlcnQtY2xvc2UgdWstY2xvc2UiPjwvYT4NCgkJPHA+PD9waHAgZWNobyBKVGV4dDo6XygnTm8gc2VyaWVzIHdhcyBmb3VuZC4nKTsgPz48L3A+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkdGhpcy0+aXRlbXMpOiA/Pg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rpc3BsYXknKSA9PSAxKSA6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnc2VybW9ucy10YWJsZScpOyA/Pg0KCTw/cGhwIGVsc2VpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kaXNwbGF5JykgPT0gMikgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcm1vbnMtZ3JpZCcpOyA/Pg0KCTw/cGhwIGVsc2U6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnc2VybW9ucy1saXN0Jyk7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPHNjcmlwdD4NCglmdW5jdGlvbiBzZXJtb25Db3VudGVyKGtleSxmaWxlbmFtZSkNCgl7DQoJCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fW1tbY29tcG9uZW50XV1dJnRhc2s9YWpheC5jb3VudERvd25sb2FkJmZvcm1hdD1qc29uIjsNCgkJaWYgKGtleS5sZW5ndGggPiAwICYmIGZpbGVuYW1lLmxlbmd0aCA+IDApDQoJCXsNCgkJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPTw/cGhwIGVjaG8gSlNlc3Npb246OmdldEZvcm1Ub2tlbigpOyA/PiZrZXk9JytrZXkrJyZmaWxlbmFtZT0nK2ZpbGVuYW1lOw0KCQl9DQoJCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCQl0eXBlOiAnR0VUJywNCgkJCXVybDogZ2V0VXJsLA0KCQkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCQlkYXRhOiByZXF1ZXN0LA0KCQkJanNvbnA6ICdjYWxsYmFjaycNCgkJfSk7DQoJfQ0KCTwvc2NyaXB0Pg0KPD9waHAgZWxzZTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay1hbGVydCB1ay1hbGVydC13YXJuaW5nIiBkYXRhLXVrLWFsZXJ0Pg0KCQk8YSBocmVmPSIiIGNsYXNzPSJ1ay1hbGVydC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQk8cD48P3BocCBlY2hvIEpUZXh0OjpfKCdObyBzZXJtb25zIHdlcmUgZm91bmQuJyk7ID8+PC9wPg0KCTwvZGl2Pg0KPD9waHAgZW5kaWY7ID8+', 'A series that is published', 22, '', 23, 'Series', 'Series', '', '', 'CSAvKioNCgkgKiBJbmNyZW1lbnQgdGhlIGhpdCBjb3VudGVyIGZvciB0aGUgW1tbc3ZpZXddXV0uDQoJICoNCgkgKiBAcGFyYW0gICBpbnRlZ2VyICAkcGsgIFByaW1hcnkga2V5IG9mIHRoZSBbW1tzdmlld11dXSB0byBpbmNyZW1lbnQuDQoJICoNCgkgKiBAcmV0dXJuICBib29sZWFuICBUcnVlIGlmIHN1Y2Nlc3NmdWw7DQoJICovDQoJcHVibGljIGZ1bmN0aW9uIGhpdCgkcGsgPSAwKQ0KCXsNCgkJaWYgKCRwaykNCgkJew0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCg0KCQkJLy8gRmllbGRzIHRvIHVwZGF0ZS4NCgkJCSRmaWVsZHMgPSBhcnJheSgNCgkJCSAgICAkZGItPnF1b3RlTmFtZSgnaGl0cycpIC4gJyA9ICcuJGRiLT5xdW90ZU5hbWUoJ2hpdHMnKS4nICsgMScNCgkJCSk7DQoNCgkJCS8vIENvbmRpdGlvbnMgZm9yIHdoaWNoIHJlY29yZHMgc2hvdWxkIGJlIHVwZGF0ZWQuDQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJICAgICRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcgLiAkcGsNCgkJCSk7DQoNCgkJCSRxdWVyeS0+dXBkYXRlKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fW1tbc3ZpZXddXV0nKSktPnNldCgkZmllbGRzKS0+d2hlcmUoJGNvbmRpdGlvbnMpOw0KDQoJCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCQlyZXR1cm4gJGRiLT5leGVjdXRlKCk7DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0=', 'Ly8gYWRkIGEgaGl0IHRvIHRoZSBbW1tzdmlld11dXQ0KaWYgKCR0aGlzLT5oaXQoJHRoaXMtPnNlcmllcy0+aWQpKQ0Kew0KCSR0aGlzLT5zZXJpZXMtPmhpdHMrKzsNCn0NCi8vIHNldCBzb21lIHRvdGFsIGRlZmF1bHRzDQokdGhpcy0+c2VybW9uVG90YWwgPSBjb3VudCgkdGhpcy0+bnVtYmVyc2VybW9ucyk7DQokdGhpcy0+ZG93bmxvYWRUb3RhbCA9IDA7DQppZiAoaXNzZXQoJHRoaXMtPm51bWJlcmRvd25sb2FkcykgJiYgW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCR0aGlzLT5udW1iZXJkb3dubG9hZHMpKQ0Kew0KCWZvcmVhY2ggKCR0aGlzLT5udW1iZXJkb3dubG9hZHMgYXMgJGRvd25sb2FkKQ0KCXsNCgkJJHRoaXMtPmRvd25sb2FkVG90YWwgKz0gJGRvd25sb2FkLT5jb3VudGVyOw0KCX0NCn0NCi8vIHNldCB0aGUgRm9vVGFibGUgc3R5bGUNCiRzdHlsZSA9ICR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfdGFibGVfY29sb3InLCAwKTsNCmlmICg1ID09ICRzdHlsZSkNCnsNCgkkdGhpcy0+Zm9vVGFibGVTdHlsZSA9IDE7DQp9DQplbHNlaWYgKCRzdHlsZSA8PSA0KQ0Kew0KCSR0aGlzLT5mb29UYWJsZVN0eWxlID0gMDsNCn0NCmVsc2UNCnsNCgkkdGhpcy0+Zm9vVGFibGVTdHlsZSA9IDI7DQp9', '', '', '', 1, 450, 450, '2015-11-10 04:32:27', '2015-11-19 20:39:28', '', '0000-00-00 00:00:00', 28, '', 1, 11), -(15, 6485, '', '', '', 1, 1, 1, '', 1, '', '', 4, '', '', '{\"value_name\":[\"view\",\"key\",\"filename\"],\"task_name\":[\"checkDropboxListing\",\"countDownload\",\"countDownload\"],\"input_default\":[\"NULL\",\"NULL\",\"NULL\"],\"input_filter\":[\"INT\",\"BASE64\",\"CMD\"],\"method_name\":[\"dropbox\",\"countDownload\",\"countDownload\"],\"user_check\":[\"0\",\"0\",\"0\"]}', 'CS8qKg0KCSogCUNoZWNrIGFuZCBTZXQgRHJvcGJveCBsb2NhbCBsaXN0aW5nDQoJKiovDQoJcHVibGljIGZ1bmN0aW9uIGRyb3Bib3goJHZpZXcpDQoJew0KCQkvLyB3ZSB1cGRhdGUgYm90aCBpZiBwb3NpYmxlDQoJCSR0eXBlcyA9IGFycmF5KCdtYW51YWwnLCdhdXRvJyk7DQoJCWZvcmVhY2ggKCR0eXBlcyBhcyAkdHlwZSkNCgkJew0KCQkJLy8gcnVuIHRoZSB1cGRhdGUNCgkJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OnVwZGF0ZURyb3Bib3goJHR5cGUpKQ0KCQkJew0KCQkJCS8vIG5vdyB1cGRhdGUgdGhlIHN5c3RlbSBpZiBuZWVkZWQNCgkJCQlpZiAoJ2F1dG8nID09ICR0eXBlKQ0KCQkJCXsNCgkJCQkJJHRoaXMtPnVwZGF0ZVN5c3RlbVdpdGhEcm9wYm94KCk7DQoJCQkJfQ0KCQkJfQ0KCQl9DQoJCXJldHVybiB0cnVlOw0KCX0NCg0KCS8qKg0KCSogCVVwZGF0ZSB0aGUgZmlsZSBkb3dubG9hZCBjb3VudGVyDQoJKiovDQoJcHVibGljIGZ1bmN0aW9uIGNvdW50RG93bmxvYWQoJGtleSwkZmlsZW5hbWUpDQoJew0KCQkvLyBub3cgY291bnQgdGhlIGRvd25sb2FkDQoJCXJldHVybiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNvdW50RG93bmxvYWQoJGtleSwkZmlsZW5hbWUpOw0KCX0NCg0KCS8qKg0KCSogCVVwZGF0ZSB0aGUgU3lzdGVtIHdpdGggRHJvcGJveCBsb2NhbCBsaXN0aW5nDQoJKiovDQoJcHJvdGVjdGVkIGZ1bmN0aW9uIHVwZGF0ZVN5c3RlbVdpdGhEcm9wYm94KCkNCgl7DQoJCS8vIGNoZWNrIGlmIHdlIHNob3VsZCB1cGRhdGUgd2l0aCBhdXRvIGxpc3RpbmcNCgkJJGxpbmtzX2Ryb3Bib3hfYXV0byA9IFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Z2V0RHJvcGJveExpbmsoJ2F1dG8nLCAyKTsNCgkJaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkbGlua3NfZHJvcGJveF9hdXRvKSkNCgkJew0KCQkJJGJ1Y2tldCA9IGFycmF5KCk7DQoJCQkkZGIgPSBKRmFjdG9yeTo6Z2V0RGJvKCk7DQoJCQkvLyBsb2FkIHN5c3RlbSBhbGlhc2VzDQoJCQkkdGhpcy0+Z2V0U2VybW9uQWxpYXNlc1VzZWQoJGRiKTsNCgkJCS8vIHNldCB0aGUgY2xhc3MgdmFyIGZvciBzZXJtb25zDQoJCQkkdGhpcy0+c2VybW9ucyA9IG5ldyBzdGRDbGFzcygpOw0KCQkJLy8gd2UgbXVzdCBmaXJzdCBnZXQgYWxsIHRoZSBwcmVhY2hlciBuYW1lcw0KCQkJZm9yZWFjaCAoJGxpbmtzX2Ryb3Bib3hfYXV0byBhcyAkcGxhY2Vob2xkZXIgPT4gJGxpbmspDQoJCQl7DQoJCQkJLy8gY29udmVydCB0aGUgbmFtZSB0byBnZXQgbmVlZGVkIGluZm8NCgkJCQkkbmFtZSA9IHN0cl9yZXBsYWNlKCdWRE1fcExlS19oMHVFci8nLCAnJywgJHBsYWNlaG9sZGVyKTsNCgkJCQkkY2h1bmtzID0gKGFycmF5KSBleHBsb2RlKCcvJywgJG5hbWUpOw0KCQkJCS8vIHNldCBzb21lIGRlZmF1bHRzDQoJCQkJJHByZWFjaGVyTmFtZSA9ICcnOw0KCQkJCSRzZXJpZXNOYW1lID0gJyc7DQoJCQkJJHByZWFjaGVyID0gMDsNCgkJCQkkc2VyaWVzID0gMDsNCgkJCQkkbnIgPSAwOw0KCQkJCWZvcmVhY2ggKCRjaHVua3MgYXMgJGNodW5rKQ0KCQkJCXsNCgkJCQkJaWYgKCRuciA9PSAwICYmIHN0cnBvcygkY2h1bmssJy4nKSA9PT0gZmFsc2UpDQoJCQkJCXsNCgkJCQkJCSRwcmVhY2hlck5hbWUgPSBzdHJfcmVwbGFjZSgnLScsICcgJywgc3RyX3JlcGxhY2UoJ18nLCAnICcsICRjaHVuaykpOw0KCQkJCQkJJHByZWFjaGVyTmFtZSA9IHRyaW0ocHJlZ19yZXBsYWNlKCcvXHMrLycsICcgJywgdXJsZGVjb2RlKCRwcmVhY2hlck5hbWUpKSk7DQoJCQkJCQkkcHJlYWNoZXIgPSAkdGhpcy0+Z2V0SWRCeU5hbWUoJHByZWFjaGVyTmFtZSwncHJlYWNoZXInLCRkYik7DQoJCQkJCX0NCgkJCQkJZWxzZWlmICgkbnIgPT0gMSAmJiBzdHJwb3MoJGNodW5rLCcuJykgPT09IGZhbHNlKQ0KCQkJCQl7DQoJCQkJCQkkc2VyaWVzTmFtZSA9IHN0cl9yZXBsYWNlKCctJywgJyAnLCBzdHJfcmVwbGFjZSgnXycsICcgJywgJGNodW5rKSk7DQoJCQkJCQkkc2VyaWVzTmFtZSA9IHRyaW0ocHJlZ19yZXBsYWNlKCcvXHMrLycsICcgJywgdXJsZGVjb2RlKCRzZXJpZXNOYW1lKSkpOw0KCQkJCQkJJHNlcmllcyA9ICR0aGlzLT5nZXRJZEJ5TmFtZSgkc2VyaWVzTmFtZSwnc2VyaWVzJywkZGIpOw0KCQkJCQl9DQoJCQkJCWVsc2VpZiAoKCRuciA9PSAyIHx8ICRuciA9PSAxKSAmJiBzdHJwb3MoJGNodW5rLCcuJykgIT09IGZhbHNlKQ0KCQkJCQl7DQoJCQkJCQkkY2h1bmsgPSB1cmxkZWNvZGUoJGNodW5rKTsNCgkJCQkJCS8vIGxvYWQgdGhpc2Ugc2VybW9uIGRhdGEgdG8gdGhlIGdsb2JhbCBvYmplY3QNCgkJCQkJCSR0aGlzLT5sb2FkU2VybW9uRGF0YSgkcHJlYWNoZXIsJHByZWFjaGVyTmFtZSwkc2VyaWVzLCRzZXJpZXNOYW1lLCRjaHVuaywkcGxhY2Vob2xkZXIsJGRiKTsNCgkJCQkJfQ0KCQkJCQkkbnIrKzsNCgkJCQl9DQoJCQl9DQoJCQlyZXR1cm4gJHRoaXMtPnNldFNlcm1vbnMoJGRiKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ0KCQ0KCXByb3RlY3RlZCBmdW5jdGlvbiBzZXRTZXJtb25zKCRkYikNCgl7DQoJCS8vIGNoZWNrIGlmIHdlIGhhdmUgdmFsdWVzDQoJCWlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrT2JqZWN0KCR0aGlzLT5zZXJtb25zKSkNCgkJew0KCQkJZm9yZWFjaCAoJHRoaXMtPnNlcm1vbnMgYXMgJHNlcm1vbikNCgkJCXsNCgkJCQkvLyBtYWtlIHN1cmUgdGhlIGxvY2sgaXMgcmVtb3ZlZA0KCQkJCXVuc2V0KCRzZXJtb24tPmxvY2spOw0KCQkJCS8vIGNvbnZlcnQgdGhlIHBsYWNlaG9sZGVycyB0byBqc29uIG9iamVjdA0KCQkJCSRyZWdpc3RyeSA9IG5ldyBKUmVnaXN0cnk7DQoJCQkJJHJlZ2lzdHJ5LT5sb2FkQXJyYXkoJHNlcm1vbi0+YXV0b19zZXJtb25zKTsNCgkJCQkkc2VybW9uLT5hdXRvX3Nlcm1vbnMgPSAoc3RyaW5nKSAkcmVnaXN0cnk7DQoJCQkJLy8gYWx3YXlzIHRoZSBzYW1lDQoJCQkJJHNlcm1vbi0+bGlua190eXBlID0gJHRoaXMtPmFwcF9wYXJhbXMtPmdldCgnYXV0b19saW5rX3R5cGUnLCAxKTsNCgkJCQkkc2VybW9uLT5zb3VyY2UgPSAyOw0KCQkJCSRzZXJtb24tPmJ1aWxkID0gMjsNCgkJCQkvLyByZXNldCBpZA0KCQkJCSRhSWQgPSAwOw0KCQkJCWlmIChpc3NldCgkc2VybW9uLT5pZCkgJiYgJHNlcm1vbi0+aWQpDQoJCQkJew0KCQkJCQkvLyBjaGFuZ2UgdG8gbW9kaWZpZWQNCgkJCQkJJHNlcm1vbi0+bW9kaWZpZWQgPSAkc2VybW9uLT5jcmVhdGVkOw0KCQkJCQkvLyBtYWtlIHN1cmUgd2UgZG9udCBjaGFuZ2UgdGhlc2UgaWYgDQoJCQkJCS8vIHRoZSBzZXJtb24gaXMgYmVpbmcgdXBkYXRlZA0KCQkJCQl1bnNldCgkc2VybW9uLT5jcmVhdGVkKTsNCgkJCQkJdW5zZXQoJHNlcm1vbi0+bWV0YWRlc2MpOw0KCQkJCQl1bnNldCgkc2VybW9uLT5tZXRha2V5KTsNCgkJCQkJdW5zZXQoJHNlcm1vbi0+bWV0YWRhdGEpOw0KCQkJCQkNCgkJCQkJLy8gdXBkYXRlDQoJCQkJCSRkb25lID0gJGRiLT51cGRhdGVPYmplY3QoJyNfX1tbW2NvbXBvbmVudF1dXV9zZXJtb24nLCAkc2VybW9uLCAnaWQnKTsNCgkJCQkJaWYgKCRkb25lKQ0KCQkJCQl7DQoJCQkJCQkkYUlkID0gJHNlcm1vbi0+aWQ7DQoJCQkJCX0NCgkJCQl9DQoJCQkJZWxzZQ0KCQkJCXsNCgkJCQkJLy8gYWRkIHNvbWUgZGVmYXVsdHMNCgkJCQkJJHNlcm1vbi0+dmVyc2lvbiA9IDE7DQoJCQkJCSRzZXJtb24tPnB1Ymxpc2hlZCA9ICR0aGlzLT5hcHBfcGFyYW1zLT5nZXQoJ3Nlcm1vbl9zdGF0ZScsIDEpOw0KCQkJCQkkc2VybW9uLT5hY2Nlc3MgPSAxOyAvLyBUT0RPIG11c3QgdXNlIGEgZ2xvYmFsIHNldHRpbmcgaGVyZQ0KCQkJCQkkc2VybW9uLT5tZXRha2V5ID0gaW1wbG9kZSgnLCAnLGFycmF5X3VuaXF1ZSgkc2VybW9uLT5tZXRha2V5KSk7DQoJCQkJCS8vIGluc2VydA0KCQkJCQkkZG9uZSA9ICRkYi0+aW5zZXJ0T2JqZWN0KCcjX19bW1tjb21wb25lbnRdXV1fc2VybW9uJywgJHNlcm1vbik7DQoJCQkJCWlmICgkZG9uZSkNCgkJCQkJew0KCQkJCQkJJGFJZCA9ICAkZGItPmluc2VydGlkKCk7DQoJCQkJCQkvLyBtYWtlIHN1cmUgdGhlIGFjY2VzcyBvZiBhc3NldCBpcyBzZXQNCgkJCQkJCVtbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2V0QXNzZXQoJGFJZCwnc2VybW9uJyk7DQoJCQkJCX0NCgkJCQl9DQoJCQkJLy8gc2V0IGdsb2JhbCBpZCBsaXN0DQoJCQkJaWYgKCRhSWQgPiAwKQ0KCQkJCXsNCgkJCQkJJHRoaXMtPmFsbFNlcm1vbnNbXSA9ICRhSWQ7DQoJCQkJfQ0KCQkJfQ0KCQl9DQoJCXJldHVybiAkdGhpcy0+YWxsU2VybW9uc0NoZWNrU3RhdHVzKCRkYik7DQoJfQ0KCQ0KCXByb3RlY3RlZCBmdW5jdGlvbiBhbGxTZXJtb25zQ2hlY2tTdGF0dXMoJGRiKQ0KCXsNCgkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJLy8gRmllbGRzIHRvIHVwZGF0ZS4NCgkJJGZpZWxkcyA9IGFycmF5KA0KCQkJJGRiLT5xdW90ZU5hbWUoJ3B1Ymxpc2hlZCcpIC4gJyA9IDAnDQoJCSk7DQoJCWlmIChpc3NldCgkdGhpcy0+YWxsU2VybW9ucykgJiYgW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja0FycmF5KCR0aGlzLT5hbGxTZXJtb25zKSkNCgkJew0KCQkJLy8gdW5wdWJsaXNoIHRob3NlIEFVVE8gc2VybW9ucyBub3QgZm91bmQgaW4gdGhpcyBpZCBsaXN0DQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJCSRkYi0+cXVvdGVOYW1lKCdzb3VyY2UnKSAuICcgPSAyJywgDQoJCQkJJGRiLT5xdW90ZU5hbWUoJ2J1aWxkJykgLiAnID0gMicsIA0KCQkJCSRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyBOT1QgSU4gKCcgLiBpbXBsb2RlKCcsJywkdGhpcy0+YWxsU2VybW9ucykgLiAnKScNCgkJCSk7DQoJCX0NCgkJZWxzZQ0KCQl7DQoJCQkvLyB1bnB1Ymxpc2ggYWxsIEFVVE8gc2VybW9ucw0KCQkJJGNvbmRpdGlvbnMgPSBhcnJheSgNCgkJCQkkZGItPnF1b3RlTmFtZSgnc291cmNlJykgLiAnID0gMicsIA0KCQkJCSRkYi0+cXVvdGVOYW1lKCdidWlsZCcpIC4gJyA9IDInDQoJCQkpOw0KCQl9DQoJCSRxdWVyeS0+dXBkYXRlKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fc2VybW9uJykpLT5zZXQoJGZpZWxkcyktPndoZXJlKCRjb25kaXRpb25zKTsNCgkJJGRiLT5zZXRRdWVyeSgkcXVlcnkpOw0KCQlyZXR1cm4gJGRiLT5leGVjdXRlKCk7DQoJfQ0KDQoNCglwcm90ZWN0ZWQgZnVuY3Rpb24gbG9hZFNlcm1vbkRhdGEoJHByZWFjaGVyLCRwcmVhY2hlck5hbWUsJHNlcmllcywkc2VyaWVzTmFtZSwkc2VybW9uLCRwbGFjZWhvbGRlciwkZGIpDQoJew0KCQkvLyAzNGtleTUyMV9fdGhlX2ZpbGVfbmFtZV9fX3RhZzFfdGFnLXdpdGgyX3RhZy10aHJlZV9fX19TYWx2YXRpb25fTWVzc2FnZXNfX19fX1RoZV9zaG9ydF9kZXNjcmlwdGlvbl9jYW5fb25seV9iZV9vbmVfc2VudGVuY2UubXAzDQoJCSRkZXNjcmlwdGlvbiA9ICcnOw0KCQkkY2F0ZWdvcnkgPSAwOw0KCQkkdGFncyA9IGZhbHNlOw0KCQkkY29tYmluZWQgPSBmYWxzZTsNCgkJLy8gcmVtb3ZlIHRoZSBmaWxlIHR5cGUgZnJvbSB0aGUgc3RyaW5nDQoJCSRmaWxlVHlwZSA9IHBhdGhpbmZvKCRzZXJtb24sIFBBVEhJTkZPX0VYVEVOU0lPTik7DQoJCWlmICgkZmlsZVR5cGUpDQoJCXsNCgkJCSRzZXJtb24gPSBzdHJfcmVwbGFjZSgnLicuJGZpbGVUeXBlLCAnJywgJHNlcm1vbik7DQoJCX0NCgkJZWxzZQ0KCQl7DQoJCQkkZmlsZVR5cGUgPSAnZXJyb3InOw0KCQl9DQoJCS8vIGZpcnN0IHdlIGNoZWNrIGlmIHRoaXMgZmlsZSBoYXMgZGlzY3JpcHRpb24NCgkJaWYgKHN0cnBvcygkc2VybW9uLCdfX19fXycpICE9PSBmYWxzZSkNCgkJew0KCQkJbGlzdCgkc2VybW9uLCAkZGVzY3JpcHRpb24pID0gZXhwbG9kZSgnX19fX18nLCAkc2VybW9uKTsNCgkJCSRkZXNjcmlwdGlvbiA9IHByZWdfcmVwbGFjZSgnL1xzKy8nLCAnICcsIHN0cl9yZXBsYWNlKCctJywgJyAnLCBzdHJfcmVwbGFjZSgnXycsICcgJywgJGRlc2NyaXB0aW9uKSkpLicuJzsNCgkJfQ0KCQkvLyBzZWNvbmQgd2UgY2hlY2sgaWYgdGhpcyBmaWxlIGhhcyBjYXRlZ29yeQ0KCQlpZiAoc3RycG9zKCRzZXJtb24sJ19fX18nKSAhPT0gZmFsc2UpDQoJCXsNCgkJCWxpc3QoJHNlcm1vbiwgJGNhdGVnb3J5TmFtZSkgPSBleHBsb2RlKCdfX19fJywgJHNlcm1vbik7DQoJCQkkY2F0ZWdvcnlOYW1lID0gcHJlZ19yZXBsYWNlKCcvXHMrLycsICcgJywgc3RyX3JlcGxhY2UoJy0nLCAnICcsIHN0cl9yZXBsYWNlKCdfJywgJyAnLCRjYXRlZ29yeU5hbWUpKSk7DQoJCQkkY2F0ZWdvcnkgPSAkdGhpcy0+Z2V0Q2F0b2dvcnlJZCgkY2F0ZWdvcnlOYW1lLCRkYik7DQoJCX0NCgkJLy8gdGhpcmQgd2UgY2hlY2sgaWYgdGhpcyBmaWxlIGhhcyB0YWdzDQoJCWlmIChzdHJwb3MoJHNlcm1vbiwnX19fJykgIT09IGZhbHNlKQ0KCQl7DQoJCQlsaXN0KCRzZXJtb24sICR0YWdzKSA9IGV4cGxvZGUoJ19fXycsICRzZXJtb24pOyAvLyBUT0RPIG5vdCBsb2FkaW5nIHRoZSB0YWdzIHlldCwgc29vbi4uLg0KCQl9DQoJCS8vIGZvcnRoIHdlIGNoZWNrIGlmIHRoaXMgZmlsZSBpcyBjb21iaW5lZCB3aXRoIGFub3RoZXINCgkJaWYgKHN0cnBvcygkc2VybW9uLCdfXycpICE9PSBmYWxzZSkNCgkJew0KCQkJbGlzdCgka2V5LCRzZXJtb24pID0gZXhwbG9kZSgnX18nLCAkc2VybW9uKTsNCgkJCSRrZXkgPSBtZDUoJGtleSk7DQoJCQkkY29tYmluZWQgPSB0cnVlOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJJGtleSA9IG1kNSgkc2VybW9uLiRwcmVhY2hlci4kc2VyaWVzLiRjYXRlZ29yeSk7DQoJCX0NCgkJLy8gc2V0IHRoZSBuYW1lIG9mIHRoZSBzZXJtb24NCgkJJG5hbWUgPSB0cmltKHByZWdfcmVwbGFjZSgnL1xzKy8nLCAnICcsIHN0cl9yZXBsYWNlKCctJywgJyAnLCBzdHJfcmVwbGFjZSgnXycsICcgJywgJHNlcm1vbikpKSk7CQkNCgkJLy8gY2hlY2sgaWYgdGhpcyBzZXJtb24gaGFzIGJlZW4gc2V0DQoJCWlmIChpc3NldCgkdGhpcy0+c2VybW9ucy0+JGtleSkpDQoJCXsNCgkJCSRTRVJNT04gPSBzdHJ0b3VwcGVyKCRzZXJtb24pOw0KCQkJaWYgKCRjb21iaW5lZCAmJiAkc2VybW9uID09ICRTRVJNT04pDQoJCQl7DQoJCQkJJG5hbWUgPSB1Y2ZpcnN0KHN0cnRvbG93ZXIoJG5hbWUpKTsNCgkJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bmFtZSA9ICRuYW1lOw0KCQkJCS8vIG1ha2Ugc3VyZSB3ZSBhbHdheXMgdXNlIHRoZSBuZXcgbmFtZSBhcyBhbGlhcw0KCQkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5hbGlhcyA9ICR0aGlzLT5nZXRBbGlhcygkbmFtZSwnc2VybW9uJyk7DQoJCQkJLy8gbG9jayBpdGVtIHNvIG90aGVyIHdpbGwgbm90IGNoYW5nZSB0aGUgbmFtZQ0KCQkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5sb2NrID0gdHJ1ZTsNCgkJCX0NCgkJCWVsc2VpZiAoJGNvbWJpbmVkICYmICFpc3NldCgkdGhpcy0+c2VybW9ucy0+JGtleS0+bG9jaykgJiYgc3RybGVuKCRuYW1lKSA+IHN0cmxlbigkdGhpcy0+c2VybW9ucy0+JGtleS0+bmFtZSkpDQoJCQl7DQoJCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPm5hbWUgPSAkbmFtZTsNCgkJCQkvLyBtYWtlIHN1cmUgd2UgYWx3YXlzIHVzZSB0aGUgbmV3IG5hbWUgYXMgYWxpYXMNCgkJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+YWxpYXMgPSAkdGhpcy0+Z2V0QWxpYXMoJG5hbWUsJ3Nlcm1vbicpOw0KCQkJfQ0KCQl9DQoJCWVsc2UNCgkJew0KCQkJLy8gbG9hZCB0aGUgc2VybW9uIGRhdGENCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5ID0gbmV3IHN0ZENsYXNzKCk7DQoJCX0NCgkJLy8gY2hlY2sgaWYgdGhpcyB2YWx1ZSBoYXMgYmVlbiBzZXQNCgkJaWYgKCFpc3NldCgkdGhpcy0+c2VybW9ucy0+JGtleS0+YWxpYXMpKQ0KCQl7DQoJCQkvLyBtYWtlIHN1cmUgd2UgYWx3YXlzIHVzZSB0aGUgbmV3IG5hbWUgYXMgYWxpYXMNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5hbGlhcyA9ICR0aGlzLT5nZXRBbGlhcygkbmFtZSwnc2VybW9uJyk7DQoJCX0NCgkJDQoJCS8vIGNoZWNrIGlmIHRoaXMgaXRlbSBleGlzdCAodXBkYXRlIGlmIGl0IGRvZXMpDQoJCSRpZCA9ICR0aGlzLT5nZXRTZXJtb25JZCgkdGhpcy0+c2VybW9ucy0+JGtleS0+YWxpYXMsJHByZWFjaGVyLCRkYik7DQoJCWlmICgkaWQpDQoJCXsNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5pZCA9ICRpZDsNCgkJfQ0KCQkvLyBjaGVjayBpZiB0aGlzIHZhbHVlIGhhcyBiZWVuIHNldA0KCQlpZiAoIWlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5LT5uYW1lKSkNCgkJew0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPm5hbWUgPSAkbmFtZTsNCgkJfQ0KCQkvLyBjaGVjayBpZiB0aGlzIHZhbHVlIGhhcyBiZWVuIHNldA0KCQlpZiAoIWlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5LT5zaG9ydF9kZXNjcmlwdGlvbikgJiYgW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja1N0cmluZygkZGVzY3JpcHRpb24pKQ0KCQl7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+c2hvcnRfZGVzY3JpcHRpb24gPSAkZGVzY3JpcHRpb247DQoJCX0NCgkJLy8gY2hlY2sgaWYgdGhpcyB2YWx1ZSBoYXMgYmVlbiBzZXQNCgkJaWYgKCFpc3NldCgkdGhpcy0+c2VybW9ucy0+JGtleS0+cHJlYWNoZXIpICYmICRwcmVhY2hlciA+IDApDQoJCXsNCgkJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5wcmVhY2hlciA9ICRwcmVhY2hlcjsNCgkJfQ0KCQkvLyBjaGVjayBpZiB0aGlzIHZhbHVlIGhhcyBiZWVuIHNldA0KCQlpZiAoIWlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5LT5zZXJpZXMpICYmICRzZXJpZXMgPiAwKQ0KCQl7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+c2VyaWVzID0gJHNlcmllczsNCgkJfQ0KCQkvLyBjaGVjayBpZiB0aGlzIHZhbHVlIGhhcyBiZWVuIHNldA0KCQlpZiAoIWlzc2V0KCR0aGlzLT5zZXJtb25zLT4ka2V5LT5jYXRpZCkgJiYgJGNhdGVnb3J5ID4gMCkNCgkJew0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPmNhdGlkID0gJGNhdGVnb3J5Ow0KCQl9DQoJCS8vIGNoZWNrIGlmIHRoaXMgdmFsdWUgaGFzIGJlZW4gc2V0DQoJCWlmICghaXNzZXQoJHRoaXMtPnNlcm1vbnMtPiRrZXktPmNyZWF0ZWQpKQ0KCQl7DQoJCQkvLyBzZXQgdGhlIGRhdGUgb2JqZWN0DQoJCQkkZGF0ZSA9IEpGYWN0b3J5OjpnZXREYXRlKCk7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+Y3JlYXRlZCA9ICRkYXRlLT50b1NxbCgpOw0KCQl9CQkNCgkJLy8gYnVpbGQgdGhlIERvd25sb2FkIEZpbGUgTkFtZSAtIGZpcnN0IGFkZCB0aGUgcHJlYWNoZXIgbmFtZSBpZiBzZXQNCgkJaWYgKCRwcmVhY2hlcikNCgkJew0KCQkJJGRvd25sb2FkTmFtZVtdID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzYWZlU3RyaW5nKCRwcmVhY2hlck5hbWUsJ1UnKTsNCgkJfQ0KCQkvLyBhZGQgdGhlIHNlcmllcyBuYW1lIGlmIHNldA0KCQlpZiAoJHNlcmllcykNCgkJew0KCQkJJGRvd25sb2FkTmFtZVtdID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpzYWZlU3RyaW5nKCRzZXJpZXNOYW1lLCdGJyk7DQoJCX0NCgkJLy8gYWRkIHRoZSBjYXRlZ29yeSBuYW1lIGlmIHNldA0KCQlpZiAoJGNhdGVnb3J5KQ0KCQl7DQoJCQkkZG93bmxvYWROYW1lW10gPSBbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNhZmVTdHJpbmcoJGNhdGVnb3J5TmFtZSwgJ0YnKTsNCgkJfQ0KCQkvLyBhZGQgdGhlIG1haW4gZmlsZSBuYW1lDQoJCSRkb3dubG9hZE5hbWVbXSA9IFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6c2FmZVN0cmluZygkbmFtZSwnRicpOw0KCQkvLyBub3cgYnVpbGQgdGhlIGRvd25sb2FkIGZpbGUgbmFtZQ0KCQkkZG93bmxvYWROYW1lID0gaW1wbG9kZSgnX18nLCAkZG93bmxvYWROYW1lKS4nLicuJGZpbGVUeXBlOwkJCQ0KCQkvLyBsb2FkIHRoZSBwbGFjZWhvbGRlciB0byB0aGUgc2VybW9uDQoJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5hdXRvX3Nlcm1vbnNbJGRvd25sb2FkTmFtZV0gPSAkcGxhY2Vob2xkZXI7DQoJCS8vIHNldCBkZWZhdWx0IG1ldGFkYXRlDQoJCWlmICghaXNzZXQoJHRoaXMtPnNlcm1vbnMtPiRrZXktPm1ldGFkZXNjKSAmJiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCRkZXNjcmlwdGlvbikpDQoJCXsJDQoJCQkvLyBPbmx5IHByb2Nlc3Mgb25jZSBwZXIvc2VybW9uDQoJCQkkYmFkX2NoYXJhY3RlcnMgPSBhcnJheSgiXCIiLCAiPCIsICI+Iik7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bWV0YWRlc2MgPSBKU3RyaW5nOjpzdHJfaXJlcGxhY2UoJGJhZF9jaGFyYWN0ZXJzLCAiIiwgJGRlc2NyaXB0aW9uKTsgLy8ganVzdCB0byBiZSBzYXZlDQoJCX0NCgkJLy8gQXJyYXkgb2YgY2hhcmFjdGVycyB0byByZW1vdmUuDQoJCSRiYWRfY2hhcmFjdGVycyA9IGFycmF5KCJcbiIsICJcciIsICJcIiIsICI8IiwgIj4iKTsNCgkJLy8gc2V0IHRoZSBtZXRhIGtleSB3b3Jkcw0KCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bWV0YWtleVtdID0gdHJpbShKU3RyaW5nOjpzdHJfaXJlcGxhY2UoJGJhZF9jaGFyYWN0ZXJzLCAnJywgJG5hbWUpKTsgLy8ganVzdCB0byBiZSBzYXZlDQoJCWlmICgkc2VyaWVzKQ0KCQl7DQoJCQkkdGhpcy0+c2VybW9ucy0+JGtleS0+bWV0YWtleVtdID0gdHJpbShKU3RyaW5nOjpzdHJfaXJlcGxhY2UoJGJhZF9jaGFyYWN0ZXJzLCAnJywgJHNlcmllc05hbWUpKTsgLy8ganVzdCB0byBiZSBzYXZlDQoJCX0NCgkJaWYgKCRwcmVhY2hlcikNCgkJew0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPm1ldGFrZXlbXSA9IHRyaW0oSlN0cmluZzo6c3RyX2lyZXBsYWNlKCRiYWRfY2hhcmFjdGVycywgJycsICRwcmVhY2hlck5hbWUpKTsgLy8ganVzdCB0byBiZSBzYXZlDQoJCX0NCgkJaWYgKCRjYXRlZ29yeSkNCgkJew0KCQkJJHRoaXMtPnNlcm1vbnMtPiRrZXktPm1ldGFrZXlbXSA9IHRyaW0oSlN0cmluZzo6c3RyX2lyZXBsYWNlKCRiYWRfY2hhcmFjdGVycywgJycsICRjYXRlZ29yeU5hbWUpKTsgLy8ganVzdCB0byBiZSBzYXZlDQoJCX0NCgkJJGF1dGhvciA9ICgkcHJlYWNoZXIpID8gdHJpbSgkcHJlYWNoZXJOYW1lKTogJyc7DQoJCSR0aGlzLT5zZXJtb25zLT4ka2V5LT5tZXRhZGF0YSA9ICd7InJvYm90cyI6IiIsImF1dGhvciI6IicuJGF1dGhvci4nIiwicmlnaHRzIjoiU2VlIG91ciBzaXRlIHRlcm1zLiJ9JzsNCgkJDQoJCXJldHVybiB0cnVlOw0KCX0NCgkNCglwcm90ZWN0ZWQgZnVuY3Rpb24gZ2V0QWxpYXMoJG5hbWUsJHR5cGUgPSBmYWxzZSkNCgl7DQoJCS8vIHNhbml0aXplIHRoZSBuYW1lIHRvIGFuIGFsaWFzDQoJCWlmIChKRmFjdG9yeTo6Z2V0Q29uZmlnKCktPmdldCgndW5pY29kZXNsdWdzJykgPT0gMSkNCgkJew0KCQkJJGFsaWFzID0gSkZpbHRlck91dHB1dDo6c3RyaW5nVVJMVW5pY29kZVNsdWcoJG5hbWUpOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJJGFsaWFzID0gSkZpbHRlck91dHB1dDo6c3RyaW5nVVJMU2FmZSgkbmFtZSk7DQoJCX0NCgkJaWYgKCR0eXBlKQ0KCQl7DQoJCQlyZXR1cm4gJHRoaXMtPmdldFVuaXFlKCRhbGlhcywnYWxpYXMnLCR0eXBlKTsNCgkJfQ0KCQlyZXR1cm4gJGFsaWFzOw0KCX0NCg0KCXByb3RlY3RlZCBmdW5jdGlvbiBnZXRJZEJ5TmFtZSgkbmFtZSwkdHlwZSwkZGIpDQoJew0KCQkvLyBzYW5pdGl6ZSB0aGUgbmFtZSB0byBhbiBhbGlhcw0KCQkkYWxpYXMgPSAkdGhpcy0+Z2V0QWxpYXMoJG5hbWUpOw0KCQkvLyBjaGVjayBpZiB0aGVyZSBpcyBhIHJlY29yZWQNCgkJaWYgKCRpZCA9IFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Z2V0VmFyKCR0eXBlLCAkYWxpYXMsICdhbGlhcycsICdpZCcpKQ0KCQl7DQoJCQlyZXR1cm4gJGlkOw0KCQl9DQoJCWVsc2UNCgkJew0KCQkJLy8gY2hlY2sgaWYgdGhlIG5hbWUgaXMgYWxsIGxvd2VyY2FzZQ0KCQkJaWYgKCRuYW1lID09IHN0cnRvbG93ZXIoJG5hbWUpKQ0KCQkJew0KCQkJCS8vIHRoZSB3aG9sZSBuYW1lIGlzIGxvd2VyY2FzZSB0aGVuIGZpeA0KCQkJCSRuYW1lID0gdWN3b3JkcygkbmFtZSk7DQoJCQl9DQoJCQkvLyBjcmVhdGUgdGhlIHJlY29yZA0KCQkJJG9iamVjdCA9IG5ldyBzdGRDbGFzcygpOw0KCQkJLy8gc2V0IHRoZSBkYXRlIG9iamVjdA0KCQkJJGRhdGUgPSBKRmFjdG9yeTo6Z2V0RGF0ZSgpOw0KCQkJLy8gYnVpbGQgdGhlIG9iamVjdA0KCQkJJG9iamVjdC0+bmFtZQkJCT0gJG5hbWU7DQoJCQkkb2JqZWN0LT5hbGlhcwkJCT0gJGFsaWFzOw0KCQkJJG9iamVjdC0+cHVibGlzaGVkCQk9ICR0aGlzLT5hcHBfcGFyYW1zLT5nZXQoJHR5cGUuJ19zdGF0ZScsIDEpOw0KCQkJJG9iamVjdC0+Y3JlYXRlZAkJPSAkZGF0ZS0+dG9TcWwoKTsNCgkJCSRvYmplY3QtPnZlcnNpb24JCT0gMTsNCgkJCSRvYmplY3QtPmFjY2VzcwkJCT0gMTsgLy8gVE9ETyBtdXN0IHVzZSBhIGdsb2JhbCBzZXR0aW5nIGhlcmUNCgkJCS8vIEluc2VydCB0aGUgb2JqZWN0IGludG8gdGhlIHRhYmxlLg0KCQkJJGRvbmUgPSAkZGItPmluc2VydE9iamVjdCgnI19fW1tbY29tcG9uZW50XV1dXycuJHR5cGUsICRvYmplY3QpOw0KCQkJLy8gaWYgZG9uZSByZXR1cm4gbGFzdCB1c2VkIGlkDQoJCQlpZiAoJGRvbmUpDQoJCQl7DQoJCQkJJG5ld0lkID0gICRkYi0+aW5zZXJ0aWQoKTsNCgkJCQkvLyBtYWtlIHN1cmUgdGhlIGFjY2VzcyBvZiBhc3NldCBpcyBzZXQNCgkJCQlbW1tDb21wb25lbnRdXV1IZWxwZXI6OnNldEFzc2V0KCRuZXdJZCwkdHlwZSk7DQoJCQkJcmV0dXJuICRuZXdJZDsNCgkJCX0NCgkJfQ0KCQlyZXR1cm4gMDsNCgl9DQoJDQoJcHJvdGVjdGVkIGZ1bmN0aW9uIGdldFNlcm1vbklkKCRhbGlhcyA9IGZhbHNlLCRwcmVhY2hlciwkZGIpDQoJew0KCQlpZiAoISRhbGlhcykNCgkJew0KCQkJLy8gc2FuaXRpemUgdGhlIG5hbWUgdG8gYW4gYWxpYXMNCgkJCSRhbGlhcyA9ICR0aGlzLT5nZXRBbGlhcygkbmFtZSwnc2VybW9uJyk7DQoJCX0NCgkJLy8gQ3JlYXRlIGEgbmV3IHF1ZXJ5IG9iamVjdC4NCgkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCgkJJHF1ZXJ5LT5zZWxlY3QoJGRiLT5xdW90ZU5hbWUoYXJyYXkoJ2lkJykpKTsNCgkJJHF1ZXJ5LT5mcm9tKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fc2VybW9uJykpOw0KCQkkcXVlcnktPndoZXJlKCRkYi0+cXVvdGVOYW1lKCdhbGlhcycpIC4gJyA9ICcuICRkYi0+cXVvdGUoJGFsaWFzKSk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ3ByZWFjaGVyJykgLiAnID0gJy4gJHByZWFjaGVyKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnYnVpbGQnKSAuICcgPSAnLiAyKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnc291cmNlJykgLiAnID0gJy4gMik7DQoJCSRkYi0+c2V0UXVlcnkoJHF1ZXJ5KTsNCgkJJGRiLT5leGVjdXRlKCk7DQoJCWlmICgkZGItPmdldE51bVJvd3MoKSkNCgkJew0KCQkJcmV0dXJuICRkYi0+bG9hZFJlc3VsdCgpOw0KCQl9DQoJCXJldHVybiAwOw0KCX0NCgkNCglwcm90ZWN0ZWQgZnVuY3Rpb24gZ2V0Q2F0b2dvcnlJZCgkbmFtZSwkZGIpDQoJew0KCQkvLyBzYW5pdGl6ZSB0aGUgbmFtZSB0byBhbiBhbGlhcw0KCQkkYWxpYXMgPSAkdGhpcy0+Z2V0QWxpYXMoJG5hbWUpOw0KCQkvLyBDcmVhdGUgYSBuZXcgcXVlcnkgb2JqZWN0Lg0KCQkkcXVlcnkgPSAkZGItPmdldFF1ZXJ5KHRydWUpOw0KCQkkcXVlcnktPnNlbGVjdCgkZGItPnF1b3RlTmFtZShhcnJheSgnaWQnKSkpOw0KCQkkcXVlcnktPmZyb20oJGRiLT5xdW90ZU5hbWUoJyNfX2NhdGVnb3JpZXMnKSk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2FsaWFzJykgLiAnID0gJy4gJGRiLT5xdW90ZSgkYWxpYXMpKTsNCgkJJHF1ZXJ5LT53aGVyZSgkZGItPnF1b3RlTmFtZSgnZXh0ZW5zaW9uJykgLiAnID0gJy4gJGRiLT5xdW90ZSgnY29tX1tbW2NvbXBvbmVudF1dXS5zZXJtb25zJykpOw0KCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCSRkYi0+ZXhlY3V0ZSgpOw0KCQlpZiAoJGRiLT5nZXROdW1Sb3dzKCkpDQoJCXsNCgkJCXJldHVybiAkZGItPmxvYWRSZXN1bHQoKTsNCgkJfQ0KCQlyZXR1cm4gMDsgLy8gVE9ETyBjcmVhdCBhIGNhdGVnb3J5IGlmIG5vdCBmb3VuZA0KCX0NCgkNCgkvKioNCgkgKiBNZXRob2QgdG8gZ2VuZXJhdGUgYSB1bmlxZSB2YWx1ZS4NCgkgKg0KCSAqIEBwYXJhbSAgIHN0cmluZyAgJGZpZWxkIG5hbWUuDQoJICogQHBhcmFtICAgc3RyaW5nICAkdmFsdWUgZGF0YS4NCgkgKiBAcGFyYW0gICBzdHJpbmcgICR0eXBlIHRhYmxlLg0KCSAqDQoJICogQHJldHVybiAgc3RyaW5nICBOZXcgdmFsdWUuDQoJICovDQoJcHJvdGVjdGVkIGZ1bmN0aW9uIGdldFVuaXFlKCR2YWx1ZSwkZmllbGQsJHR5cGUpDQoJew0KCQkvLyBpbnN1cmUgdGhlIGZpbGVkIGlzIGFsd2F5cyB1bmlxZQ0KCQl3aGlsZSAoaXNzZXQoJHRoaXMtPnVuaXFlVmFsdWVBcnJheVskdHlwZV1bJGZpZWxkXVskdmFsdWVdKSkNCgkJew0KCQkJJHZhbHVlID0gSlN0cmluZzo6aW5jcmVtZW50KCR2YWx1ZSwgJ2Rhc2gnKTsNCgkJfQ0KCQkkdGhpcy0+dW5pcWVWYWx1ZUFycmF5WyR0eXBlXVskZmllbGRdWyR2YWx1ZV0gPSAkdmFsdWU7DQoJCXJldHVybiAkdmFsdWU7DQoJfQ0KCQ0KCXByb3RlY3RlZCBmdW5jdGlvbiBnZXRTZXJtb25BbGlhc2VzVXNlZCgkZGIpDQoJew0KCQkvLyBDcmVhdGUgYSBuZXcgcXVlcnkgb2JqZWN0Lg0KCQkkcXVlcnkgPSAkZGItPmdldFF1ZXJ5KHRydWUpOw0KCQkkcXVlcnktPnNlbGVjdCgkZGItPnF1b3RlTmFtZShhcnJheSgnYWxpYXMnKSkpOw0KCQkkcXVlcnktPmZyb20oJGRiLT5xdW90ZU5hbWUoJyNfX1tbW2NvbXBvbmVudF1dXV9zZXJtb24nKSk7DQoJCSRxdWVyeS0+d2hlcmUoJGRiLT5xdW90ZU5hbWUoJ2J1aWxkJykgLiAnICE9IDInKTsNCgkJJGRiLT5zZXRRdWVyeSgkcXVlcnkpOw0KCQkkZGItPmV4ZWN1dGUoKTsNCgkJaWYgKCRkYi0+Z2V0TnVtUm93cygpKQ0KCQl7DQoJCQkkYWxpYXNlcyA9ICRkYi0+bG9hZENvbHVtbigpOw0KCQkJZm9yZWFjaCgkYWxpYXNlcyBhcyAkYWxpYXMpDQoJCQl7DQoJCQkJJHRoaXMtPnVuaXFlVmFsdWVBcnJheVsnc2VybW9uJ11bJ2FsaWFzJ11bJGFsaWFzXSA9ICRhbGlhczsNCgkJCX0NCgkJfQ0KCX0=', 'sermon', '', '', '', 'PD9waHAgaWYgKCR0aGlzLT5pdGVtKTogPz4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZGlzcGxheScpID09IDEpIDogPz4NCgkJPGRpdiBjbGFzcz0idWstZ3JpZCIgZGF0YS11ay1ncmlkLW1hdGNoPSJ7dGFyZ2V0OicudWstcGFuZWwnfSI+PD9waHAgZWNobyAkdGhpcy0+bG9hZFRlbXBsYXRlKCdzZXJtb25wYW5lbCcpOyA/PjwvZGl2Pg0KCTw/cGhwIGVsc2VpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZGlzcGxheScpID09IDIpIDogPz4NCgkJPD9waHAgZWNobyAkdGhpcy0+bG9hZFRlbXBsYXRlKCdzZXJtb25ib3gnKTsgPz4NCgk8P3BocCBlbHNlOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcm1vbmJpZycpOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmIChpc3NldCgkdGhpcy0+aXRlbS0+c2NyaXB0dXJlKSAmJiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCR0aGlzLT5pdGVtLT5zY3JpcHR1cmUpKTogPz4NCgkJPGRpdj48P3BocCBlY2hvICR0aGlzLT5pdGVtLT5zY3JpcHR1cmU7ID8+PC9kaXY+DQoJPD9waHAgZW5kaWY7ID8+DQoJPHNjcmlwdD4NCglmdW5jdGlvbiBzZXJtb25Db3VudGVyKGtleSxmaWxlbmFtZSkNCgl7DQoJCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fW1tbY29tcG9uZW50XV1dJnRhc2s9YWpheC5jb3VudERvd25sb2FkJmZvcm1hdD1qc29uIjsNCgkJaWYgKGtleS5sZW5ndGggPiAwICYmIGZpbGVuYW1lLmxlbmd0aCA+IDApDQoJCXsNCgkJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPTw/cGhwIGVjaG8gSlNlc3Npb246OmdldEZvcm1Ub2tlbigpOyA/PiZrZXk9JytrZXkrJyZmaWxlbmFtZT0nK2ZpbGVuYW1lOw0KCQl9DQoJCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCQl0eXBlOiAnR0VUJywNCgkJCXVybDogZ2V0VXJsLA0KCQkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCQlkYXRhOiByZXF1ZXN0LA0KCQkJanNvbnA6ICdjYWxsYmFjaycNCgkJfSk7DQoJfQ0KCXNvdW5kTWFuYWdlci5zZXR1cCh7DQoJCXVybDogJzw/cGhwIGVjaG8gSlVSSTo6cm9vdCh0cnVlKTsgPz4vbWVkaWEvY29tX1tbW2NvbXBvbmVudF1dXS9zb3VuZG1hbmFnZXIvc3dmJywNCgkJZmxhc2hWZXJzaW9uOiA5LA0KCQlvbnJlYWR5OiBmdW5jdGlvbigpIHsNCgkJCS8vIFJlYWR5IHRvIHVzZTsgc291bmRNYW5hZ2VyLmNyZWF0ZVNvdW5kKCkgZXRjLiBjYW4gbm93IGJlIGNhbGxlZC4NCgkJfQ0KCX0pOw0KCTwvc2NyaXB0Pg0KPD9waHAgZWxzZTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay1hbGVydCB1ay1hbGVydC13YXJuaW5nIiBkYXRhLXVrLWFsZXJ0Pg0KCQk8YSBocmVmPSIiIGNsYXNzPSJ1ay1hbGVydC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQk8cD48P3BocCBlY2hvIEpUZXh0OjpfKCdObyBzZXJtb24gd2FzIGZvdW5kLicpOyA/PjwvcD4NCgk8L2Rpdj4NCjw/cGhwIGVuZGlmOyA/Pg==', 'A series that is published', 22, '', 25, 'Sermon', 'Sermon', '', 'Ly8gZGVmYXVsdCBmb3Igc291bmQgbWFuYW5nZXIgMg0KJHRoaXMtPmRvY3VtZW50LT5hZGRTY3JpcHQoSlVSSTo6cm9vdCh0cnVlKSAuJy9tZWRpYS9jb21fW1tbY29tcG9uZW50XV1dL3NvdW5kbWFuYWdlci9zY3JpcHQvc291bmRtYW5hZ2VyMi1ub2RlYnVnLWpzbWluLmpzJyk7DQovLyAzNjAtcGxheWVyDQokdGhpcy0+ZG9jdW1lbnQtPmFkZFN0eWxlU2hlZXQoSlVSSTo6cm9vdCh0cnVlKSAuJy9tZWRpYS9jb21fW1tbY29tcG9uZW50XV1dL3NvdW5kbWFuYWdlci9kZW1vLzM2MC1wbGF5ZXIvMzYwcGxheWVyLmNzcycpOw0KJHRoaXMtPmRvY3VtZW50LT5hZGRTdHlsZVNoZWV0KEpVUkk6OnJvb3QodHJ1ZSkgLicvbWVkaWEvY29tX1tbW2NvbXBvbmVudF1dXS9zb3VuZG1hbmFnZXIvZGVtby8zNjAtcGxheWVyLzM2MHBsYXllci12aXN1YWxpemF0aW9uLmNzcycpOw0KLy8gMzYwLXBsYXllcg0KJHRoaXMtPmRvY3VtZW50LT5hZGRTY3JpcHQoSlVSSTo6cm9vdCh0cnVlKSAuJy9tZWRpYS9jb21fW1tbY29tcG9uZW50XV1dL3NvdW5kbWFuYWdlci9kZW1vLzM2MC1wbGF5ZXIvc2NyaXB0L2Jlcm5pZWNvZGUtYW5pbWF0b3IuanMnKTsNCiR0aGlzLT5kb2N1bWVudC0+YWRkU2NyaXB0KEpVUkk6OnJvb3QodHJ1ZSkgLicvbWVkaWEvY29tX1tbW2NvbXBvbmVudF1dXS9zb3VuZG1hbmFnZXIvZGVtby8zNjAtcGxheWVyL3NjcmlwdC9leGNhbnZhcy5qcycpOw0KJHRoaXMtPmRvY3VtZW50LT5hZGRTY3JpcHQoSlVSSTo6cm9vdCh0cnVlKSAuJy9tZWRpYS9jb21fW1tbY29tcG9uZW50XV1dL3NvdW5kbWFuYWdlci9kZW1vLzM2MC1wbGF5ZXIvc2NyaXB0LzM2MHBsYXllci5qcycpOw==', 'CSAvKioNCgkgKiBJbmNyZW1lbnQgdGhlIGhpdCBjb3VudGVyIGZvciB0aGUgW1tbc3ZpZXddXV0uDQoJICoNCgkgKiBAcGFyYW0gICBpbnRlZ2VyICAkcGsgIFByaW1hcnkga2V5IG9mIHRoZSBbW1tzdmlld11dXSB0byBpbmNyZW1lbnQuDQoJICoNCgkgKiBAcmV0dXJuICBib29sZWFuICBUcnVlIGlmIHN1Y2Nlc3NmdWw7DQoJICovDQoJcHVibGljIGZ1bmN0aW9uIGhpdCgkcGsgPSAwKQ0KCXsNCgkJaWYgKCRwaykNCgkJew0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCg0KCQkJLy8gRmllbGRzIHRvIHVwZGF0ZS4NCgkJCSRmaWVsZHMgPSBhcnJheSgNCgkJCSAgICAkZGItPnF1b3RlTmFtZSgnaGl0cycpIC4gJyA9ICcuJGRiLT5xdW90ZU5hbWUoJ2hpdHMnKS4nICsgMScNCgkJCSk7DQoNCgkJCS8vIENvbmRpdGlvbnMgZm9yIHdoaWNoIHJlY29yZHMgc2hvdWxkIGJlIHVwZGF0ZWQuDQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJICAgICRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcgLiAkcGsNCgkJCSk7DQoNCgkJCSRxdWVyeS0+dXBkYXRlKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fW1tbc3ZpZXddXV0nKSktPnNldCgkZmllbGRzKS0+d2hlcmUoJGNvbmRpdGlvbnMpOw0KDQoJCQkkZGItPnNldFF1ZXJ5KCRxdWVyeSk7DQoJCQlyZXR1cm4gJGRiLT5leGVjdXRlKCk7DQoJCX0NCgkJcmV0dXJuIGZhbHNlOw0KCX0=', 'Ly8gYWRkIGEgaGl0IHRvIHRoZSBzZXJtb24NCmlmICgkdGhpcy0+aGl0KCR0aGlzLT5pdGVtLT5pZCkpDQp7DQoJJHRoaXMtPml0ZW0tPmhpdHMrKzsNCn0NCi8vIHNldCB2aWV3IGtleQ0KJHRoaXMtPml0ZW0tPnZpZXdLZXkgPSAnc2VybW9uJzs=', '', '', '', 1, 450, 450, '2015-11-10 07:37:02', '2015-11-25 03:22:59', '', '0000-00-00 00:00:00', 26, '', 1, 11), -(16, 15313, '', '', '', '', '', 1, 1, '', '', '', 4, '', '', '', '', 'categories', '', '', '', 'PD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2hvd19wYWdlX2hlYWRpbmcnKSk6ID8+DQoJPGgxIGNsYXNzPSJ1ay10ZXh0LXByaW1hcnkiPjw/cGhwIGVjaG8gJGhlYWRpbmc7ID8+PC9oMT4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCR0aGlzLT5pdGVtcyk6ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19kaXNwbGF5JykgPT0gMSkgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ2NhdGVnb3JpZXMtdGFibGUnKTsgPz4NCgk8P3BocCBlbHNlaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19kaXNwbGF5JykgPT0gMikgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ2NhdGVnb3JpZXMtZ3JpZCcpOyA/Pg0KCTw/cGhwIGVsc2U6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnY2F0ZWdvcmllcy1saXN0Jyk7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQo8P3BocCBlbHNlOiA/Pg0KCTxkaXYgY2xhc3M9InVrLWFsZXJ0IHVrLWFsZXJ0LXdhcm5pbmciIGRhdGEtdWstYWxlcnQ+DQoJCTxhIGhyZWY9IiIgY2xhc3M9InVrLWFsZXJ0LWNsb3NlIHVrLWNsb3NlIj48L2E+DQoJCTxwPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ05vIGNhdGVnb3JpZXMgd2VyZSBmb3VuZC4nKTsgPz48L3A+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4=', 'All categories that are published', 20, '', 31, 'Categories', 'Categories', '', '', '', 'Ly8gZG8gYSBxdWljayBidWlsZCBvZiBhbGwgdGhlIGxpbmtzDQppZiAoJHRoaXMtPml0ZW1zKQ0Kew0KCWZvcmVhY2ggKCR0aGlzLT5pdGVtcyBhcyAkbnIgPT4gJiRpdGVtKQ0KCXsNCgkJJGl0ZW0tPmxpbmsgPSBKUm91dGU6Ol8oW1tbQ29tcG9uZW50XV1dSGVscGVyUm91dGU6OmdldENhdGVnb3J5Um91dGUoJGl0ZW0tPnNsdWcpKTsNCgl9DQp9DQovLyBzZXQgdGhlIEZvb1RhYmxlIHN0eWxlDQokc3R5bGUgPSAkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3JpZXNfdGFibGVfY29sb3InLCAwKTsNCmlmICg1ID09ICRzdHlsZSkNCnsNCgkkdGhpcy0+Zm9vVGFibGVTdHlsZSA9IDE7DQp9DQplbHNlaWYgKCRzdHlsZSA8PSA0KQ0Kew0KCSR0aGlzLT5mb29UYWJsZVN0eWxlID0gMDsNCn0NCmVsc2UNCnsNCgkkdGhpcy0+Zm9vVGFibGVTdHlsZSA9IDI7DQp9', 'Ly8gU2V0IHRoZSBoZWFkaW5nIG9mIHRoZSBwYWdlDQokaGVhZGluZyA9ICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3BhZ2VfaGVhZGluZycpKSA/ICR0aGlzLT5wYXJhbXMtPmdldCgncGFnZV9oZWFkaW5nJyk6KGlzc2V0KCR0aGlzLT5tZW51LT50aXRsZSkpID8gJHRoaXMtPm1lbnUtPnRpdGxlOicnOw==', '', '', 1, 450, 450, '2015-11-05 15:43:34', '2015-11-20 02:06:19', '', '0000-00-00 00:00:00', 20, '', 1, 11), -(17, 15314, '', '', '', '', 1, 1, '', '', '', '', 4, '', '', '', '', 'category', '', '', '{\"0\":\"35\"}', 'PD9waHAgaWYgKCR0aGlzLT5jYXRlZ29yeSk6ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfZGlzcGxheScpID09IDEpIDogPz4NCgkJPGRpdiBjbGFzcz0idWstZ3JpZCIgZGF0YS11ay1ncmlkLW1hdGNoPSJ7dGFyZ2V0OicudWstcGFuZWwnfSI+PD9waHAgZWNobyAkdGhpcy0+bG9hZFRlbXBsYXRlKCdjYXRlZ29yeXBhbmVsJyk7ID8+PC9kaXY+DQoJPD9waHAgZWxzZWlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2Rpc3BsYXknKSA9PSAyKSA6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnY2F0ZWdvcnlib3gnKTsgPz4NCgk8P3BocCBlbHNlOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ2NhdGVnb3J5c21hbGwnKTsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGVsc2U6ID8+DQoJPGRpdiBjbGFzcz0idWstYWxlcnQgdWstYWxlcnQtd2FybmluZyIgZGF0YS11ay1hbGVydD4NCgkJPGEgaHJlZj0iIiBjbGFzcz0idWstYWxlcnQtY2xvc2UgdWstY2xvc2UiPjwvYT4NCgkJPHA+PD9waHAgZWNobyBKVGV4dDo6XygnTm8gY2F0ZWdvcnkgd2FzIGZvdW5kLicpOyA/PjwvcD4NCgk8L2Rpdj4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCR0aGlzLT5pdGVtcyk6ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfc2VybW9uc19kaXNwbGF5JykgPT0gMSkgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcm1vbnMtdGFibGUnKTsgPz4NCgk8P3BocCBlbHNlaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfc2VybW9uc19kaXNwbGF5JykgPT0gMikgOiA/Pg0KCQk8P3BocCBlY2hvICR0aGlzLT5sb2FkVGVtcGxhdGUoJ3Nlcm1vbnMtZ3JpZCcpOyA/Pg0KCTw/cGhwIGVsc2U6ID8+DQoJCTw/cGhwIGVjaG8gJHRoaXMtPmxvYWRUZW1wbGF0ZSgnc2VybW9ucy1saXN0Jyk7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPHNjcmlwdD4NCglmdW5jdGlvbiBzZXJtb25Db3VudGVyKGtleSxmaWxlbmFtZSkNCgl7DQoJCXZhciBnZXRVcmwgPSAiaW5kZXgucGhwP29wdGlvbj1jb21fW1tbY29tcG9uZW50XV1dJnRhc2s9YWpheC5jb3VudERvd25sb2FkJmZvcm1hdD1qc29uIjsNCgkJaWYgKGtleS5sZW5ndGggPiAwICYmIGZpbGVuYW1lLmxlbmd0aCA+IDApDQoJCXsNCgkJCXZhciByZXF1ZXN0ID0gJ3Rva2VuPTw/cGhwIGVjaG8gSlNlc3Npb246OmdldEZvcm1Ub2tlbigpOyA/PiZrZXk9JytrZXkrJyZmaWxlbmFtZT0nK2ZpbGVuYW1lOw0KCQl9DQoJCXJldHVybiBqUXVlcnkuYWpheCh7DQoJCQl0eXBlOiAnR0VUJywNCgkJCXVybDogZ2V0VXJsLA0KCQkJZGF0YVR5cGU6ICdqc29ucCcsDQoJCQlkYXRhOiByZXF1ZXN0LA0KCQkJanNvbnA6ICdjYWxsYmFjaycNCgkJfSk7DQoJfQ0KCTwvc2NyaXB0Pg0KPD9waHAgZWxzZTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay1hbGVydCB1ay1hbGVydC13YXJuaW5nIiBkYXRhLXVrLWFsZXJ0Pg0KCQk8YSBocmVmPSIiIGNsYXNzPSJ1ay1hbGVydC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQk8cD48P3BocCBlY2hvIEpUZXh0OjpfKCdObyBzZXJtb25zIHdlcmUgZm91bmQuJyk7ID8+PC9wPg0KCTwvZGl2Pg0KPD9waHAgZW5kaWY7ID8+', 'A category that is published', 22, '', 26, 'Category', 'Category', '', '', 'CSAvKioNCgkgKiBJbmNyZW1lbnQgdGhlIGhpdCBjb3VudGVyIGZvciB0aGUgW1tbc3ZpZXddXV0uDQoJICoNCgkgKiBAcGFyYW0gICBpbnRlZ2VyICAkcGsgIFByaW1hcnkga2V5IG9mIHRoZSBbW1tzdmlld11dXSB0byBpbmNyZW1lbnQuDQoJICoNCgkgKiBAcmV0dXJuICBib29sZWFuICBUcnVlIGlmIHN1Y2Nlc3NmdWw7DQoJICovDQoJcHVibGljIGZ1bmN0aW9uIGhpdCgkcGsgPSAwKQ0KCXsNCgkJaWYgKCRwaykNCgkJew0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCg0KCQkJLy8gRmllbGRzIHRvIHVwZGF0ZS4NCgkJCSRmaWVsZHMgPSBhcnJheSgNCgkJCSAgICAkZGItPnF1b3RlTmFtZSgnaGl0cycpIC4gJyA9ICcuJGRiLT5xdW90ZU5hbWUoJ2hpdHMnKS4nICsgMScNCgkJCSk7DQoNCgkJCS8vIENvbmRpdGlvbnMgZm9yIHdoaWNoIHJlY29yZHMgc2hvdWxkIGJlIHVwZGF0ZWQuDQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJICAgICRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcgLiAkcGsNCgkJCSk7DQoNCgkJCSRxdWVyeS0+dXBkYXRlKCRkYi0+cXVvdGVOYW1lKCcjX19jYXRlZ29yaWVzJykpLT5zZXQoJGZpZWxkcyktPndoZXJlKCRjb25kaXRpb25zKTsNCg0KCQkJJGRiLT5zZXRRdWVyeSgkcXVlcnkpOw0KCQkJcmV0dXJuICRkYi0+ZXhlY3V0ZSgpOw0KCQl9DQoJCXJldHVybiBmYWxzZTsNCgl9', 'Ly8gYWRkIGEgaGl0IHRvIHRoZSBbW1tzdmlld11dXQ0KaWYgKCR0aGlzLT5oaXQoJHRoaXMtPmNhdGVnb3J5LT5pZCkpDQp7DQoJJHRoaXMtPmNhdGVnb3J5LT5oaXRzKys7DQp9DQoNCi8vIHNldCBzb21lIHRvdGFsIGRlZmF1bHRzDQokdGhpcy0+c2VybW9uVG90YWwgPSBjb3VudCgkdGhpcy0+Y2F0ZWdvcnktPmlkQ2F0aWRTZXJtb25CKTsNCiR0aGlzLT5kb3dubG9hZFRvdGFsID0gMDsNCmlmICgkdGhpcy0+c2VybW9uVG90YWwgPiAwKQ0Kew0KCWZvcmVhY2ggKCR0aGlzLT5jYXRlZ29yeS0+aWRDYXRpZFNlcm1vbkIgYXMgJHNlcm1vbikNCgl7DQoJCWlmIChpc3NldCgkc2VybW9uLT5pZFNlcm1vblN0YXRpc3RpY0MpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkc2VybW9uLT5pZFNlcm1vblN0YXRpc3RpY0MpKQ0KCQl7DQoJCQlmb3JlYWNoICgkc2VybW9uLT5pZFNlcm1vblN0YXRpc3RpY0MgYXMgJGRvd25sb2FkKQ0KCQkJew0KCQkJCSR0aGlzLT5kb3dubG9hZFRvdGFsICs9ICRkb3dubG9hZC0+Y291bnRlcjsNCgkJCX0NCgkJfQ0KCX0NCn0NCg0KLy8gc2V0IHRoZSBGb29UYWJsZSBzdHlsZQ0KJHN0eWxlID0gJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9zZXJtb25zX3RhYmxlX2NvbG9yJywgMCk7DQppZiAoNSA9PSAkc3R5bGUpDQp7DQoJJHRoaXMtPmZvb1RhYmxlU3R5bGUgPSAxOw0KfQ0KZWxzZWlmICgkc3R5bGUgPD0gNCkNCnsNCgkkdGhpcy0+Zm9vVGFibGVTdHlsZSA9IDA7DQp9DQplbHNlDQp7DQoJJHRoaXMtPmZvb1RhYmxlU3R5bGUgPSAyOw0KfQ==', '', '', '', 1, 450, 450, '2015-11-08 10:02:10', '2015-11-22 19:51:06', '', '0000-00-00 00:00:00', 46, '', 1, 11); - --- --- Dumping data for table `#__componentbuilder_template` --- - -INSERT INTO `#__componentbuilder_template` (`id`, `alias`, `description`, `dynamic_get`, `name`, `snippet`, `template`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `version`, `hits`, `access`, `ordering`) VALUES -(19, 'series-grid', 'All Series in Grid', 20, 'Series Grid', '', 'PHVsIGlkPSJzZXJpZXMtc29ydC1tZW51IiBjbGFzcz0idWstc3VibmF2Ij4NCgk8bGkgZGF0YS11ay1zb3J0PSJzZXJpZXMiPjxhIGhyZWY9IiI+PD9waHAgZWNobyBKVGV4dDo6XygnTmFtZSAoQXNjKScpOyA/PjwvYT48L2xpPg0KCTxsaSBkYXRhLXVrLXNvcnQ9InNlcmllczpkZXNjIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ05hbWUgKERlc2MpJyk7ID8+PC9hPjwvbGk+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnbGlzdF9zZXJpZXNfaGl0cycpKTogPz4NCgkJPGxpIGRhdGEtdWstc29ydD0iaGl0cyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzIChBc2MpJyk7ID8+PC9hPjwvbGk+DQoJCTxsaSBkYXRhLXVrLXNvcnQ9ImhpdHM6ZGVzYyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzIChEZXNjKScpOyA/PjwvYT48L2xpPg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2xpc3Rfc2VyaWVzX3Nlcm1vbl9jb3VudCcpKTogPz4NCgkJPGxpIGRhdGEtdWstc29ydD0ic2VybW9ucyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb25zIENvdW50IChBc2MpJyk7ID8+PC9hPjwvbGk+DQoJCTxsaSBkYXRhLXVrLXNvcnQ9InNlcm1vbnM6ZGVzYyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb25zIENvdW50IChEZXNjKScpOyA/PjwvYT48L2xpPg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC91bD4NCjxkaXYgZGF0YS11ay1jaGVjay1kaXNwbGF5IGNsYXNzPSJ1ay1ncmlkLXdpZHRoLXNtYWxsLTEtMiB1ay1ncmlkLXdpZHRoLW1lZGl1bS0xLTMgdWstZ3JpZC13aWR0aC1sYXJnZS0xLTQiIGRhdGEtdWstZ3JpZD0ie2NvbnRyb2xzOiAnI3Nlcmllcy1zb3J0LW1lbnUnLGd1dHRlcjogMTV9Ij4NCgk8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KCQk8ZGl2IGRhdGEtc2VyaWVzPSI8P3BocCBlY2hvICR0aGlzLT5lc2NhcGUoJGl0ZW0tPm5hbWUpOyA/PiIgZGF0YS1oaXRzPSI8P3BocCBlY2hvIChpbnQpICRpdGVtLT5oaXRzOyA/PiIgZGF0YS1zZXJtb25zPSI8P3BocCBlY2hvIGNvdW50KCRpdGVtLT5pZFNlcmllc1Nlcm1vbkIpOyA/PiI+PD9waHAgJGl0ZW0tPnBhcmFtcyA9ICR0aGlzLT5wYXJhbXM7ICRpdGVtLT5kZXNjID0gJHRoaXMtPmVzY2FwZSgkaXRlbS0+ZGVzY3JpcHRpb24sIHRydWUsIDY1KTsgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ3Nlcmllc3BhbmVsJywgJGl0ZW0pOyA/PjwvZGl2Pg0KCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQo8L2Rpdj4=', '', 1, 450, 450, '2015-11-06 14:34:43', '2015-11-27 14:15:31', 6, '', 1, 10), -(20, 'series-list', 'All Series in List', 20, 'Series List', '', 'PHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPGxpPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCAxNDApOyBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignc2VyaWVzbGlzdGl0ZW0nLCAkaXRlbSk7ID8+PC9saT4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KPC91bD4=', '', 1, 450, 450, '2015-11-07 16:02:27', '2015-11-07 18:20:05', 4, '', 1, 10), -(21, 'series-table', 'All Series in Table', 20, 'Series Table', 89, 'PHRhYmxlIGNsYXNzPSJmb290YWJsZTw/cGhwIGVjaG8gJHRhYmxlQ2xhc3M7ID8+IiBkYXRhLXBhZ2Utc2l6ZT0iMTAwIj4NCgk8dGhlYWQ+DQoJCTx0cj4NCgkJCTx0aCBkYXRhLXRvZ2dsZT0idHJ1ZSI+PD9waHAgZWNobyBKVGV4dDo6XygnTmFtZScpOyA/PjwvdGg+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdsaXN0X3Nlcmllc19kZXNjJykpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9ImFsbCI+PD9waHAgZWNobyBKVGV4dDo6XygnRGVzY3JpcHRpb24nKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2xpc3Rfc2VyaWVzX2hpdHMnKSk6ID8+DQoJCQkJPHRoIGRhdGEtdHlwZT0ibnVtZXJpYyI+PD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyAkY29sdW1uX25yKys7ID8+PC90aD4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnbGlzdF9zZXJpZXNfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJCTx0aCBkYXRhLXR5cGU9Im51bWVyaWMiIGRhdGEtaGlkZT0icGhvbmUsdGFibGV0Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgJGNvbHVtbl9ucisrOz8+PC90aD4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L3RyPg0KCTwvdGhlYWQ+DQoJPHRmb290IGNsYXNzPSJoaWRlLWlmLW5vLXBhZ2luZyI+DQoJCTx0cj4NCgkJCTx0ZCBjb2xzcGFuPSI8P3BocCBlY2hvICRjb2x1bW5fbnI7ID8+Ij4NCgkJCQk8ZGl2IGNsYXNzPSJwYWdpbmF0aW9uIHBhZ2luYXRpb24tY2VudGVyZWQiPjwvZGl2Pg0KCQkJPC90ZD4NCgkJPC90cj4NCgk8L3Rmb290Pg0KCTx0Ym9keT4NCgk8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KCQk8dHI+PD9waHAgJGl0ZW0tPnBhcmFtcyA9ICR0aGlzLT5wYXJhbXM7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdzZXJpZXNyb3cnLCAkaXRlbSk7ID8+PC90cj4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCTwvdGJvZHk+DQo8L3RhYmxlPg0KDQo8c2NyaXB0Pg0KLy8gcGFnZSBsb2FkaW5nIHBhdXNlDQpqUXVlcnkod2luZG93KS5sb2FkKGZ1bmN0aW9uKCkgew0KCS8vIGRvIHNvbWUgc3R1ZmYgb25jZSBwYWdlIGlzIGxvYWRlZA0KCWpRdWVyeSgnLmZvb3RhYmxlJykuZm9vdGFibGUoKTsNCn0pOw0KPC9zY3JpcHQ+', '', 1, 450, 450, '2015-11-07 16:39:34', '2015-11-19 02:27:45', 10, '', 1, 10), -(22, 'preachers-grid', 'All Preachers in Grid', 20, 'Preachers Grid', '', 'PHVsIGlkPSJwcmVhY2hlcnMtc29ydC1tZW51IiBjbGFzcz0idWstc3VibmF2Ij4NCgk8bGkgZGF0YS11ay1zb3J0PSJwcmVhY2hlciI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdOYW1lIChBc2MpJyk7ID8+PC9hPjwvbGk+DQoJPGxpIGRhdGEtdWstc29ydD0icHJlYWNoZXI6ZGVzYyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdOYW1lIChEZXNjKScpOyA/PjwvYT48L2xpPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19oaXRzJykpOiA/Pg0KCQk8bGkgZGF0YS11ay1zb3J0PSJoaXRzIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMgKEFzYyknKTsgPz48L2E+PC9saT4NCgkJPGxpIGRhdGEtdWstc29ydD0iaGl0czpkZXNjIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMgKERlc2MpJyk7ID8+PC9hPjwvbGk+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX3Nlcm1vbl9jb3VudCcpKTogPz4NCgkJPGxpIGRhdGEtdWstc29ydD0ic2VybW9ucyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb25zIENvdW50IChBc2MpJyk7ID8+PC9hPjwvbGk+DQoJCTxsaSBkYXRhLXVrLXNvcnQ9InNlcm1vbnM6ZGVzYyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb25zIENvdW50IChEZXNjKScpOyA/PjwvYT48L2xpPg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC91bD4NCjxkaXYgZGF0YS11ay1jaGVjay1kaXNwbGF5IGNsYXNzPSJ1ay1ncmlkLXdpZHRoLXNtYWxsLTEtMiB1ay1ncmlkLXdpZHRoLW1lZGl1bS0xLTMgdWstZ3JpZC13aWR0aC1sYXJnZS0xLTQiIGRhdGEtdWstZ3JpZD0ie2NvbnRyb2xzOiAnI3ByZWFjaGVycy1zb3J0LW1lbnUnLGd1dHRlcjogMTV9Ij4NCgk8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KCQk8ZGl2IGRhdGEtcHJlYWNoZXI9Ijw/cGhwIGVjaG8gJHRoaXMtPmVzY2FwZSgkaXRlbS0+bmFtZSk7ID8+IiBkYXRhLWhpdHM9Ijw/cGhwIGVjaG8gKGludCkgJGl0ZW0tPmhpdHM7ID8+IiBkYXRhLXNlcm1vbnM9Ijw/cGhwIGVjaG8gY291bnQoJGl0ZW0tPmlkUHJlYWNoZXJTZXJtb25CKTsgPz4iPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA2NSk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdwcmVhY2hlcnNwYW5lbCcsICRpdGVtKTsgPz48L2Rpdj4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KPC9kaXY+', '', 1, 450, 450, '2015-11-06 14:34:43', '2015-11-27 14:15:53', 7, '', 1, 10), -(23, 'preachers-list', 'All Preachers in List', 20, 'Preachers List', '', 'PHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPGxpPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA5MCk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdwcmVhY2hlcnNsaXN0aXRlbScsICRpdGVtKTsgPz48L2xpPg0KCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQo8L3VsPg==', '', 1, 450, 450, '2015-11-07 16:02:27', '2015-11-08 00:09:47', 6, '', 1, 10), -(24, 'preachers-table', 'All Preachers in Table', 20, 'Preachers Table', 89, 'PHRhYmxlIGNsYXNzPSJmb290YWJsZTw/cGhwIGVjaG8gJHRhYmxlQ2xhc3M7ID8+IiBkYXRhLXBhZ2Utc2l6ZT0iMTAwIj4NCgk8dGhlYWQ+DQoJCTx0cj4NCgkJCTx0aCBkYXRhLXRvZ2dsZT0idHJ1ZSI+PD9waHAgZWNobyBKVGV4dDo6XygnTmFtZScpOyA/PjwvdGg+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfZGVzYycpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJhbGwiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0Rlc2NyaXB0aW9uJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfd2Vic2l0ZScpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJhbGwiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1dlYnNpdGUnKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19lbWFpbCcpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJhbGwiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0VtYWlsJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfaGl0cycpKTogPz4NCgkJCQk8dGggZGF0YS10eXBlPSJudW1lcmljIj48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJCTx0aCBkYXRhLXR5cGU9Im51bWVyaWMiIGRhdGEtaGlkZT0icGhvbmUsdGFibGV0Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgJGNvbHVtbl9ucisrOz8+PC90aD4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L3RyPg0KCTwvdGhlYWQ+DQoJPHRmb290IGNsYXNzPSJoaWRlLWlmLW5vLXBhZ2luZyI+DQoJCTx0cj4NCgkJCTx0ZCBjb2xzcGFuPSI8P3BocCBlY2hvICRjb2x1bW5fbnI7ID8+Ij4NCgkJCQk8ZGl2IGNsYXNzPSJwYWdpbmF0aW9uIHBhZ2luYXRpb24tY2VudGVyZWQiPjwvZGl2Pg0KCQkJPC90ZD4NCgkJPC90cj4NCgk8L3Rmb290Pg0KCTx0Ym9keT4NCgk8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KCQk8dHI+PD9waHAgJGl0ZW0tPnBhcmFtcyA9ICR0aGlzLT5wYXJhbXM7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdwcmVhY2hlcnNyb3cnLCAkaXRlbSk7ID8+PC90cj4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCTwvdGJvZHk+DQo8L3RhYmxlPg0KDQo8c2NyaXB0Pg0KLy8gcGFnZSBsb2FkaW5nIHBhdXNlDQpqUXVlcnkod2luZG93KS5sb2FkKGZ1bmN0aW9uKCkgew0KCS8vIGRvIHNvbWUgc3R1ZmYgb25jZSBwYWdlIGlzIGxvYWRlZA0KCWpRdWVyeSgnLmZvb3RhYmxlJykuZm9vdGFibGUoKTsNCn0pOw0KPC9zY3JpcHQ+', '', 1, 450, 450, '2015-11-07 16:39:34', '2015-11-19 02:29:13', 14, '', 1, 10), -(25, 'preacher-panel', 'Preacher Panel', 20, 'Preacher Panel', 88, 'PGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1haW47ID8+Ij4NCgk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2hpdHMnKSk6ID8+DQoJCTw/cGhwDQoJCQkkaGl0c19zdGF0ZQk9ICgkdGhpcy0+cHJlYWNoZXItPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZiA7Pz4NCgk8aDMgY2xhc3M9InVrLXBhbmVsLXRpdGxlIj48P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+bmFtZTsgPz48L2gzPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2ljb24nKSk6ID8+DQoJCTw/cGhwICR0aGlzLT5wcmVhY2hlci0+aWNvbiA9ICgkdGhpcy0+cHJlYWNoZXItPmljb24pID8gJHRoaXMtPnByZWFjaGVyLT5pY29uIDogJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9kZWZhdWx0X2ljb24nKTsgPz4NCgkJPD9waHAgaWYgKCR0aGlzLT5wcmVhY2hlci0+aWNvbik6ID8+DQoJCQk8aW1nIGNsYXNzPSJ1ay10aHVtYm5haWwgdWstdGh1bWJuYWlsLWV4cGFuZCIgc3JjPSI8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+aWNvbjsgPz4iIGFsdD0iPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPm5hbWU7ID8+Ij4NCgkJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPC9kaXY+DQo8L2Rpdj4NCjw/cGhwIGlmICgoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl93ZWJzaXRlJykgJiYgJHRoaXMtPnByZWFjaGVyLT53ZWJzaXRlKSB8fCAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9lbWFpbCcpICYmICR0aGlzLT5wcmVhY2hlci0+ZW1haWwpIHx8ICR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uX2NvdW50JykgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSk6ID8+DQoJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1pZDsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCQkJPHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIENvdW50Jyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5zZXJtb25Ub3RhbDsgPz48L2xpPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1RvdGFsIERvd25sb2FkcycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+ZG93bmxvYWRUb3RhbDsgPz48L2xpPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3dlYnNpdGUnKSAmJiAkdGhpcy0+cHJlYWNoZXItPndlYnNpdGUpOiA/Pg0KCQkJCQk8bGk+PGkgY2xhc3M9InVrLWljb24tZXh0ZXJuYWwtbGluayI+PC9pPiA8YSBocmVmPSI8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+d2Vic2l0ZTsgPz4iIHRhcmdldD0iX2JsYW5rIiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0dvIHRvIHdlYnNpdGUgb2YnKTsgPz4gPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPm5hbWU7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+d2Vic2l0ZTsgPz48L2E+PC9saT4NCgkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9lbWFpbCcpICYmICR0aGlzLT5wcmVhY2hlci0+ZW1haWwpOiA/Pg0KCQkJCQk8bGk+PGkgY2xhc3M9InVrLWljb24tZW52ZWxvcGUtbyI+PC9pPiA8YSBocmVmPSJtYWlsdG86PD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPmVtYWlsOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTZW5kIGVtYWlsIHRvJyk7ID8+IDw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5uYW1lOyA/PiI+PD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPmVtYWlsOyA/PjwvYT48L2xpPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPC91bD4NCgkJPC9kaXY+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2Rlc2MnKSAmJiAkdGhpcy0+cHJlYWNoZXItPmRlc2NyaXB0aW9uKTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtRGVzYzsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCQkJPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPmRlc2NyaXB0aW9uOyA/Pg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCjw/cGhwIGVuZGlmOyA/Pg==', '', 1, 450, 450, '2015-11-06 14:34:43', '2015-11-19 20:41:25', 15, '', 1, 10), -(26, 'preacher-box', 'Preachers Box', 20, 'Preacher Box', '', 'PGRpdiBjbGFzcz0idWstYmxvY2sgdWstYmxvY2stcHJpbWFyeSI+DQoJPGRpdiBjbGFzcz0idWstY29udGFpbmVyIj4NCgk8aDMgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+bmFtZTsgPz48L2gzPg0KCTxkaXYgY2xhc3M9InVrLWdyaWQiIGRhdGEtdWstZ3JpZC1tYXJnaW49Int0YXJnZXQ6Jy51ay1wYW5lbCd9Ij4NCgk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtTWFpbjsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCI+DQoJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2hpdHMnKSk6ID8+DQoJCQk8P3BocA0KCQkJCSRoaXRzX3N0YXRlCT0gKCR0aGlzLT5wcmVhY2hlci0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJCT8+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPmhpdHM7ID8+DQoJCQk8L2Rpdj4NCgkJPD9waHAgZW5kaWYgOz8+DQoJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2ljb24nKSk6ID8+DQoJCQk8P3BocCAkdGhpcy0+cHJlYWNoZXItPmljb24gPSAoJHRoaXMtPnByZWFjaGVyLT5pY29uKSA/ICR0aGlzLT5wcmVhY2hlci0+aWNvbiA6ICR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfZGVmYXVsdF9pY29uJyk7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnByZWFjaGVyLT5pY29uKTogPz4NCgkJCQk8aW1nIGNsYXNzPSJ1ay10aHVtYm5haWwgdWstdGh1bWJuYWlsLWV4cGFuZCIgc3JjPSI8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+aWNvbjsgPz4iIGFsdD0iPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPm5hbWU7ID8+Ij4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8P3BocCBlbmRpZjsgPz4NCgkJPC9kaXY+DQoJPC9kaXY+DQoJPD9waHAgaWYgKCgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3dlYnNpdGUnKSAmJiAkdGhpcy0+cHJlYWNoZXItPndlYnNpdGUpIHx8ICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2VtYWlsJykgJiYgJHRoaXMtPnByZWFjaGVyLT5lbWFpbCkgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbl9jb3VudCcpKTogPz4NCgkJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1pZDsgPz4iPg0KCQkJPGRpdiBjbGFzcz0idWstcGFuZWwiPg0KCQkJCTx1bCBjbGFzcz0idWstbGlzdDw/cGhwIGVjaG8gJGxpc3RDbGFzczsgPz4iPg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25fY291bnQnKSk6ID8+DQoJCQkJCQk8bGkgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPnNlcm1vblRvdGFsOyA/PjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSk6ID8+DQoJCQkJCQk8bGkgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdUb3RhbCBEb3dubG9hZHMnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPmRvd25sb2FkVG90YWw7ID8+PC9saT4NCgkJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3dlYnNpdGUnKSAmJiAkdGhpcy0+cHJlYWNoZXItPndlYnNpdGUpOiA/Pg0KCQkJCQkJPGxpPjxpIGNsYXNzPSJ1ay1pY29uLWV4dGVybmFsLWxpbmsiPjwvaT4gPGEgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+IiBocmVmPSI8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+d2Vic2l0ZTsgPz4iIHRhcmdldD0iX2JsYW5rIiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0dvIHRvIHdlYnNpdGUgb2YnKTsgPz4gPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPm5hbWU7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+d2Vic2l0ZTsgPz48L2E+PC9saT4NCgkJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2VtYWlsJykgJiYgJHRoaXMtPnByZWFjaGVyLT5lbWFpbCk6ID8+DQoJCQkJCQk8bGk+PGkgY2xhc3M9InVrLWljb24tZW52ZWxvcGUtbyI+PC9pPiA8YSBjbGFzcz0iPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iIGhyZWY9Im1haWx0bzo8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+ZW1haWw7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NlbmQgZW1haWwgdG8nKTsgPz4gPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPm5hbWU7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+ZW1haWw7ID8+PC9hPjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTwvdWw+DQoJCQk8L2Rpdj4NCgkJPC9kaXY+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfZGVzYycpICYmICR0aGlzLT5wcmVhY2hlci0+ZGVzY3JpcHRpb24pOiA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtRGVzYzsgPz4iPg0KCQkJPGRpdiBjbGFzcz0idWstcGFuZWwgPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iPg0KCQkJCTw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5kZXNjcmlwdGlvbjsgPz4NCgkJCTwvZGl2Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZjsgPz4NCgk8L2Rpdj4NCgk8L2Rpdj4NCjwvZGl2Pg==', '', 1, 450, 450, '2015-11-07 16:02:27', '2015-11-19 21:20:34', 16, '', 1, 10), -(27, 'preacher-small', 'Preacher in small', 21, 'Preacher Small', 89, 'PGFydGljbGUgY2xhc3M9InVrLWNvbW1lbnQiPg0KICAgIDxoZWFkZXIgY2xhc3M9InVrLWNvbW1lbnQtaGVhZGVyIj4NCgkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfaWNvbicpKTogPz4NCgkJCTw/cGhwICR0aGlzLT5wcmVhY2hlci0+aWNvbiA9ICgkdGhpcy0+cHJlYWNoZXItPmljb24pID8gJHRoaXMtPnByZWFjaGVyLT5pY29uIDogJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9kZWZhdWx0X2ljb24nKTsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cHJlYWNoZXItPmljb24pOiA/Pg0KCQkJCTxpbWcgY2xhc3M9InVrLWNvbW1lbnQtYXZhdGFyIiBzcmM9Ijw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+bmFtZTsgPz4iPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8aDQgY2xhc3M9InVrLWNvbW1lbnQtdGl0bGUiPjw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5uYW1lOyA/PjwvaDQ+DQoJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX2hpdHMnKSANCgkJCQl8fCAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl93ZWJzaXRlJykgJiYgJHRoaXMtPnByZWFjaGVyLT53ZWJzaXRlKSANCgkJCQl8fCAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9lbWFpbCcpICYmICR0aGlzLT5wcmVhY2hlci0+ZW1haWwpIA0KCQkJCXx8ICR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uX2NvdW50JykpOiA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1jb21tZW50LW1ldGEiPg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfaGl0cycpKTogPz4NCgkJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+aGl0czsgPz48YnIgLz4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBDb3VudCcpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+c2VybW9uVG90YWw7ID8+PGJyIC8+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdUb3RhbCBEb3dubG9hZHMnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPmRvd25sb2FkVG90YWw7ID8+PGJyIC8+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3dlYnNpdGUnKSAmJiAkdGhpcy0+cHJlYWNoZXItPndlYnNpdGUpOiA/Pg0KCQkJCTxpIGNsYXNzPSJ1ay1pY29uLWV4dGVybmFsLWxpbmsiPjwvaT4gPGEgaHJlZj0iPD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPndlYnNpdGU7ID8+IiB0YXJnZXQ9Il9ibGFuayIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdHbyB0byB3ZWJzaXRlIG9mJyk7ID8+IDw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5uYW1lOyA/PiI+PD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPndlYnNpdGU7ID8+PC9hPjxiciAvPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9lbWFpbCcpICYmICR0aGlzLT5wcmVhY2hlci0+ZW1haWwpOiA/Pg0KCQkJCTxpIGNsYXNzPSJ1ay1pY29uLWVudmVsb3BlLW8iPjwvaT4gPGEgaHJlZj0ibWFpbHRvOjw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5lbWFpbDsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VuZCBlbWFpbCB0bycpOyA/PiA8P3BocCBlY2hvICR0aGlzLT5wcmVhY2hlci0+bmFtZTsgPz4iPjw/cGhwIGVjaG8gJHRoaXMtPnByZWFjaGVyLT5lbWFpbDsgPz48L2E+PGJyIC8+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPC9kaXY+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCSA8L2hlYWRlcj4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9kZXNjJykgJiYgJHRoaXMtPnByZWFjaGVyLT5kZXNjcmlwdGlvbik6ID8+DQoJCTxkaXYgY2xhc3M9InVrLWNvbW1lbnQtYm9keSI+PD9waHAgZWNobyAkdGhpcy0+cHJlYWNoZXItPmRlc2NyaXB0aW9uOyA/PjwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC9hcnRpY2xlPjxiciAvPg==', '', 1, 450, 450, '2015-11-07 16:39:34', '2015-11-19 20:41:53', 22, '', 1, 10), -(31, 'series-panel', 'Series Panel', 20, 'Series Panel', 88, 'PGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1haW47ID8+Ij4NCgk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19oaXRzJykpOiA/Pg0KCQk8P3BocA0KCQkJJGhpdHNfc3RhdGUJPSAoJHRoaXMtPnNlcmllcy0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCSRiYWRnZV9jbGFzcwk9ICgkaGl0c19zdGF0ZSkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOw0KCQkJJGJhZGdlX2ljb24JPSAoJGhpdHNfc3RhdGUpID8gJ2NoZWNrLWNpcmNsZSc6J21pbnVzLWNpcmNsZSc7DQoJCT8+DQoJCTxkaXYgY2xhc3M9InVrLXBhbmVsLWJhZGdlIHVrLWJhZGdlIDw/cGhwIGVjaG8gJGJhZGdlX2NsYXNzOyA/PiI+DQoJCQk8aSBjbGFzcz0idWstaWNvbi08P3BocCBlY2hvICRiYWRnZV9pY29uOyA/PiI+PC9pPg0KCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZiA7Pz4NCgk8aDMgY2xhc3M9InVrLXBhbmVsLXRpdGxlIj48P3BocCBlY2hvICR0aGlzLT5zZXJpZXMtPm5hbWU7ID8+PC9oMz4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfaWNvbicpKTogPz4NCgkJPD9waHAgJHRoaXMtPnNlcmllcy0+aWNvbiA9ICgkdGhpcy0+c2VyaWVzLT5pY29uKSA/ICR0aGlzLT5zZXJpZXMtPmljb24gOiAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19kZWZhdWx0X2ljb24nKTsgPz4NCgkJPD9waHAgaWYgKCR0aGlzLT5zZXJpZXMtPmljb24pOiA/Pg0KCQkJPGltZyBjbGFzcz0idWstdGh1bWJuYWlsIHVrLXRodW1ibmFpbC1leHBhbmQiIHNyYz0iPD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICR0aGlzLT5zZXJpZXMtPm5hbWU7ID8+Ij4NCgkJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPC9kaXY+DQo8L2Rpdj4NCjw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25fY291bnQnKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSk6ID8+DQoJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1pZDsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCQkJPHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbl9jb3VudCcpKTogPz4NCgkJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBDb3VudCcpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+c2VybW9uVG90YWw7ID8+PC9saT4NCgkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kb3dubG9hZF9jb3VudGVyJykpOiA/Pg0KCQkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnVG90YWwgRG93bmxvYWRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5kb3dubG9hZFRvdGFsOyA/PjwvbGk+DQoJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8L3VsPg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX2Rlc2MnKSAmJiAkdGhpcy0+c2VyaWVzLT5kZXNjcmlwdGlvbik6ID8+DQoJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bURlc2M7ID8+Ij4NCgkJPGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCgkJCTw/cGhwIGVjaG8gJHRoaXMtPnNlcmllcy0+ZGVzY3JpcHRpb247ID8+DQoJCTwvZGl2Pg0KCTwvZGl2Pg0KPD9waHAgZW5kaWY7ID8+', '', 1, 450, 450, '2015-11-06 14:34:43', '2015-11-19 20:42:46', 17, '', 1, 10), -(28, 'preacher-sermons-grid', 'All Sermons in Grid (Preacher)', 20, 'Preacher Sermons Grid', '', 'PGJyIC8+DQo8ZGl2IGRhdGEtdWstY2hlY2stZGlzcGxheSBjbGFzcz0idWstZ3JpZC13aWR0aC1zbWFsbC0xLTIgdWstZ3JpZC13aWR0aC1tZWRpdW0tMS0zIHVrLWdyaWQtd2lkdGgtbGFyZ2UtMS00IiBkYXRhLXVrLWdyaWQ9IntndXR0ZXI6IDE1fSI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPnNlcm1vbnMgYXMgJGl0ZW0pOiA/Pg0KCQk8ZGl2Pjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA2NSk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdwcmVhY2hlcnNlcm1vbnNwYW5lbCcsICRpdGVtKTsgPz48L2Rpdj4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KPC9kaXY+', '', 2, 450, 450, '2015-11-06 14:34:43', '2015-11-09 15:48:49', 11, '', 1, 10), -(29, 'preacher-sermons-list', 'All Sermons in List (preacher)', 20, 'Preacher Sermons List', '', 'PHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPGxpPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA5MCk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdwcmVhY2hlcnNlcm1vbnNsaXN0aXRlbScsICRpdGVtKTsgPz48L2xpPg0KCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQo8L3VsPg==', '', -2, 450, 450, '2015-11-07 16:02:27', '2015-11-19 12:45:02', 11, '', 1, 10), -(30, 'preacher-sermons-table', 'All Sermons in Table (preacher)', 20, 'Preacher Sermons Table', 89, 'PGJyIC8+DQo8dGFibGUgY2xhc3M9ImZvb3RhYmxlPD9waHAgZWNobyAkdGFibGVDbGFzczsgPz4iIGRhdGEtcGFnZS1zaXplPSIyMCI+DQoJPHRoZWFkPg0KCQk8dHI+DQoJCQk8dGggZGF0YS10b2dnbGU9InRydWUiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ05hbWUnKTsgPz48L3RoPg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19kZXNjJykpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9ImFsbCI+PD9waHAgZWNobyBKVGV4dDo6XygnRGVzY3JpcHRpb24nKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfc2VyaWVzJykpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9InBob25lLHRhYmxldCI+PD9waHAgZWNobyBKVGV4dDo6XygnU2VyaWVzJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2NhdGVnb3J5JykpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9InBob25lLHRhYmxldCIgPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0NhdGVnb3J5Jyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rvd25sb2FkcycpKTogPz4NCgkJCQk8dGg+PD9waHAgZWNobyBKVGV4dDo6XygnRmlsZXMnKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJwaG9uZSx0YWJsZXQiIGRhdGEtdHlwZT0ibnVtZXJpYyI+PD9waHAgZWNobyBKVGV4dDo6XygnRG93bmxvYWRzJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2hpdHMnKSk6ID8+DQoJCQkJPHRoIGRhdGEtaGlkZT0icGhvbmUsdGFibGV0IiBkYXRhLXR5cGU9Im51bWVyaWMiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPC90cj4NCgk8L3RoZWFkPg0KCTx0Zm9vdCBjbGFzcz0iaGlkZS1pZi1uby1wYWdpbmciPg0KCQk8dHI+DQoJCQk8dGQgY29sc3Bhbj0iPD9waHAgZWNobyAkY29sdW1uX25yOyA/PiI+DQoJCQkJPGRpdiBjbGFzcz0icGFnaW5hdGlvbiBwYWdpbmF0aW9uLWNlbnRlcmVkIj48L2Rpdj4NCgkJCTwvdGQ+DQoJCTwvdHI+DQoJPC90Zm9vdD4NCgk8dGJvZHk+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPnNlcm1vbnMgYXMgJGl0ZW0pOiA/Pg0KCQk8dHI+PD9waHAgJGl0ZW0tPnBhcmFtcyA9ICR0aGlzLT5wYXJhbXM7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdwcmVhY2hlcnNlcm1vbnNyb3cnLCAkaXRlbSk7ID8+PC90cj4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCTwvdGJvZHk+DQo8L3RhYmxlPg0KDQo8c2NyaXB0Pg0KLy8gcGFnZSBsb2FkaW5nIHBhdXNlDQpqUXVlcnkod2luZG93KS5sb2FkKGZ1bmN0aW9uKCkgew0KCS8vIGRvIHNvbWUgc3R1ZmYgb25jZSBwYWdlIGlzIGxvYWRlZA0KCWpRdWVyeSgnLmZvb3RhYmxlJykuZm9vdGFibGUoKTsNCn0pOw0KPC9zY3JpcHQ+', '', 2, 450, 450, '2015-11-07 16:39:34', '2015-11-11 12:11:19', 17, '', 1, 10), -(32, 'series-box', 'Series Box', 20, 'Series Box', '', 'PGRpdiBjbGFzcz0idWstYmxvY2sgdWstYmxvY2stcHJpbWFyeSI+DQoJPGRpdiBjbGFzcz0idWstY29udGFpbmVyIj4NCgk8aDMgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5zZXJpZXMtPm5hbWU7ID8+PC9oMz4NCgk8ZGl2IGNsYXNzPSJ1ay1ncmlkIiBkYXRhLXVrLWdyaWQtbWFyZ2luPSJ7dGFyZ2V0OicudWstcGFuZWwnfSI+DQoJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1haW47ID8+Ij4NCgkJPGRpdiBjbGFzcz0idWstcGFuZWwiPg0KCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfaGl0cycpKTogPz4NCgkJCTw/cGhwDQoJCQkJJGhpdHNfc3RhdGUJPSAoJHRoaXMtPnNlcmllcy0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJCT8+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5oaXRzOyA/Pg0KCQkJPC9kaXY+DQoJCTw/cGhwIGVuZGlmIDs/Pg0KCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfaWNvbicpKTogPz4NCgkJCTw/cGhwICR0aGlzLT5zZXJpZXMtPmljb24gPSAoJHRoaXMtPnNlcmllcy0+aWNvbikgPyAkdGhpcy0+c2VyaWVzLT5pY29uIDogJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfZGVmYXVsdF9pY29uJyk7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnNlcmllcy0+aWNvbik6ID8+DQoJCQkJPGltZyBjbGFzcz0idWstdGh1bWJuYWlsIHVrLXRodW1ibmFpbC1leHBhbmQiIHNyYz0iPD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICR0aGlzLT5zZXJpZXMtPm5hbWU7ID8+Ij4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8P3BocCBlbmRpZjsgPz4NCgkJPC9kaXY+DQoJPC9kaXY+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbl9jb3VudCcpIHx8ICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSkpOiA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtTWlkOyA/PiI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCI+DQoJCQkJPHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25fY291bnQnKSk6ID8+DQoJCQkJCQk8bGkgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPnNlcm1vblRvdGFsOyA/PjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kb3dubG9hZF9jb3VudGVyJykpOiA/Pg0KCQkJCQkJPGxpIGNsYXNzPSI8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiI+PD9waHAgZWNobyBKVGV4dDo6XygnVG90YWwgRG93bmxvYWRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5kb3dubG9hZFRvdGFsOyA/PjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTwvdWw+DQoJCQk8L2Rpdj4NCgkJPC9kaXY+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX2Rlc2MnKSAmJiAkdGhpcy0+c2VyaWVzLT5kZXNjcmlwdGlvbik6ID8+DQoJCTxkaXYgY2xhc3M9InVrLXdpZHRoLW1lZGl1bS08P3BocCBlY2hvICRtZWRpdW1EZXNjOyA/PiI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCA8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiI+DQoJCQkJPD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5kZXNjcmlwdGlvbjsgPz4NCgkJCTwvZGl2Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZjsgPz4NCgk8L2Rpdj4NCgk8L2Rpdj4NCjwvZGl2Pg==', '', 1, 450, 450, '2015-11-07 16:02:27', '2015-11-19 20:42:55', 17, '', 1, 10), -(33, 'series-small', 'Series in small', 21, 'Series Small', 89, 'PGFydGljbGUgY2xhc3M9InVrLWNvbW1lbnQiPg0KCTxoZWFkZXIgY2xhc3M9InVrLWNvbW1lbnQtaGVhZGVyIj4NCgkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX2ljb24nKSk6ID8+DQoJCQk8P3BocCAkdGhpcy0+c2VyaWVzLT5pY29uID0gKCR0aGlzLT5zZXJpZXMtPmljb24pID8gJHRoaXMtPnNlcmllcy0+aWNvbiA6ICR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX2RlZmF1bHRfaWNvbicpOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5zZXJpZXMtPmljb24pOiA/Pg0KCQkJCTxpbWcgY2xhc3M9InVrLWNvbW1lbnQtYXZhdGFyIiBzcmM9Ijw/cGhwIGVjaG8gJHRoaXMtPnNlcmllcy0+aWNvbjsgPz4iIGFsdD0iPD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5uYW1lOyA/PiI+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPD9waHAgZW5kaWY7ID8+DQoJCTxoNCBjbGFzcz0idWstY29tbWVudC10aXRsZSI+PD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5uYW1lOyA/PjwvaDQ+DQoJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19oaXRzJykgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uX2NvdW50JykgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kb3dubG9hZF9jb3VudGVyJykpOiA/Pg0KCQkJPGRpdiBjbGFzcz0idWstY29tbWVudC1tZXRhIj4NCgkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfaGl0cycpKTogPz4NCgkJCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+c2VyaWVzLT5oaXRzOyA/PjxiciAvPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25fY291bnQnKSk6ID8+DQoJCQkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBDb3VudCcpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+c2VybW9uVG90YWw7ID8+PGJyIC8+DQoJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQkJPD9waHAgZWNobyBKVGV4dDo6XygnVG90YWwgRG93bmxvYWRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5kb3dubG9hZFRvdGFsOyA/PjxiciAvPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPC9kaXY+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCSA8L2hlYWRlcj4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfZGVzYycpICYmICR0aGlzLT5zZXJpZXMtPmRlc2NyaXB0aW9uKTogPz4NCgkJPGRpdiBjbGFzcz0idWstY29tbWVudC1ib2R5Ij48P3BocCBlY2hvICR0aGlzLT5zZXJpZXMtPmRlc2NyaXB0aW9uOyA/PjwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC9hcnRpY2xlPjxiciAvPg==', '', 1, 450, 450, '2015-11-07 16:39:34', '2015-11-19 20:42:37', 22, '', 1, 10), -(34, 'series-sermons-grid', 'All Sermons in Grid (Series)', 20, 'Series Sermons Grid', '', 'PGJyIC8+DQo8ZGl2IGRhdGEtdWstY2hlY2stZGlzcGxheSBjbGFzcz0idWstZ3JpZC13aWR0aC1zbWFsbC0xLTIgdWstZ3JpZC13aWR0aC1tZWRpdW0tMS0zIHVrLWdyaWQtd2lkdGgtbGFyZ2UtMS00IiBkYXRhLXVrLWdyaWQ9IntndXR0ZXI6IDE1fSI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPnNlcm1vbnMgYXMgJGl0ZW0pOiA/Pg0KCQk8ZGl2Pjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA2NSk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdzZXJpZXNzZXJtb25zcGFuZWwnLCAkaXRlbSk7ID8+PC9kaXY+DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCjwvZGl2Pg==', '', 2, 450, 450, '2015-11-06 14:34:43', '2015-11-10 04:48:03', 12, '', 1, 10), -(35, 'series-sermons-list', 'All Sermons in List (series)', 20, 'Series Sermons List', '', 'PHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPGxpPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA5MCk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdzZXJpZXNzZXJtb25zbGlzdGl0ZW0nLCAkaXRlbSk7ID8+PC9saT4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KPC91bD4=', '', -2, 450, 450, '2015-11-07 16:02:27', '2015-11-19 12:44:46', 12, '', 1, 10), -(36, 'series-sermons-table', 'All Sermons in Table (series)', 20, 'Series Sermons Table', 89, 'PGJyIC8+DQo8dGFibGUgY2xhc3M9ImZvb3RhYmxlPD9waHAgZWNobyAkdGFibGVDbGFzczsgPz4iIGRhdGEtcGFnZS1zaXplPSIyMCI+DQoJPHRoZWFkPg0KCQk8dHI+DQoJCQk8dGggZGF0YS10b2dnbGU9InRydWUiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ05hbWUnKTsgPz48L3RoPg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfZGVzYycpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJhbGwiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0Rlc2NyaXB0aW9uJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19wcmVhY2hlcicpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJwaG9uZSx0YWJsZXQiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1ByZWFjaGVyJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19jYXRlZ29yeScpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJwaG9uZSx0YWJsZXQiID48P3BocCBlY2hvIEpUZXh0OjpfKCdDYXRlZ29yeScpOyAkY29sdW1uX25yKys7ID8+PC90aD4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfZG93bmxvYWRzJykpOiA/Pg0KCQkJCTx0aD48P3BocCBlY2hvIEpUZXh0OjpfKCdGaWxlcycpOyAkY29sdW1uX25yKys7ID8+PC90aD4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJwaG9uZSx0YWJsZXQiIGRhdGEtdHlwZT0ibnVtZXJpYyI+PD9waHAgZWNobyBKVGV4dDo6XygnRG93bmxvYWRzJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19oaXRzJykpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9InBob25lLHRhYmxldCIgZGF0YS10eXBlPSJudW1lcmljIj48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCTwvdHI+DQoJPC90aGVhZD4NCgk8dGZvb3QgY2xhc3M9ImhpZGUtaWYtbm8tcGFnaW5nIj4NCgkJPHRyPg0KCQkJPHRkIGNvbHNwYW49Ijw/cGhwIGVjaG8gJGNvbHVtbl9ucjsgPz4iPg0KCQkJCTxkaXYgY2xhc3M9InBhZ2luYXRpb24gcGFnaW5hdGlvbi1jZW50ZXJlZCI+PC9kaXY+DQoJCQk8L3RkPg0KCQk8L3RyPg0KCTwvdGZvb3Q+DQoJPHRib2R5Pg0KCTw/cGhwIGZvcmVhY2ggKCR0aGlzLT5zZXJtb25zIGFzICRpdGVtKTogPz4NCgkJPHRyPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignc2VyaWVzc2VybW9uc3JvdycsICRpdGVtKTsgPz48L3RyPg0KCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQoJPC90Ym9keT4NCjwvdGFibGU+DQoNCjxzY3JpcHQ+DQovLyBwYWdlIGxvYWRpbmcgcGF1c2UNCmpRdWVyeSh3aW5kb3cpLmxvYWQoZnVuY3Rpb24oKSB7DQoJLy8gZG8gc29tZSBzdHVmZiBvbmNlIHBhZ2UgaXMgbG9hZGVkDQoJalF1ZXJ5KCcuZm9vdGFibGUnKS5mb290YWJsZSgpOw0KfSk7DQo8L3NjcmlwdD4=', '', 2, 450, 450, '2015-11-07 16:39:34', '2015-11-11 12:24:40', 18, '', 1, 10), -(37, 'sermon-panel', 'Sermon Panel', 20, 'Sermon Panel', 88, 'PGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1haW47ID8+Ij4NCgk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9oaXRzJykpOiA/Pg0KCQk8P3BocA0KCQkJJGhpdHNfc3RhdGUJPSAoJHRoaXMtPml0ZW0tPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmhpdHM7ID8+DQoJCTwvZGl2Pg0KCTw/cGhwIGVuZGlmIDs/Pg0KCTxoMyBjbGFzcz0idWstcGFuZWwtdGl0bGUiPjw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPm5hbWU7ID8+PC9oMz4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25faWNvbicpKTogPz4NCgkJPD9waHAgJHRoaXMtPml0ZW0tPmljb24gPSAoJHRoaXMtPml0ZW0tPmljb24pID8gJHRoaXMtPml0ZW0tPmljb24gOiAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kZWZhdWx0X2ljb24nKTsgPz4NCgkJPD9waHAgaWYgKCR0aGlzLT5pdGVtLT5pY29uKTogPz4NCgkJCTxpbWcgY2xhc3M9InVrLXRodW1ibmFpbCB1ay10aHVtYm5haWwtZXhwYW5kIiBzcmM9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmljb247ID8+IiBhbHQ9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPm5hbWU7ID8+Ij4NCgkJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPC9kaXY+DQo8L2Rpdj4NCjw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kb3dubG9hZF9jb3VudGVyJykgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fcHJlYWNoZXInKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9zZXJpZXMnKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9jYXRlZ29yeScpIHx8ICR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2Rvd25sb2FkcycpKTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtTWlkOyA/PiI+DQoJCTxkaXYgY2xhc3M9InVrLXBhbmVsIHVrLXBhbmVsLWJveCI+DQoJCQk8dWwgY2xhc3M9InVrLWxpc3Q8P3BocCBlY2hvICRsaXN0Q2xhc3M7ID8+Ij4NCgkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1RvdGFsIERvd25sb2FkcycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c3RhdGlzdGljVG90YWw7ID8+PC9saT4NCgkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fcHJlYWNoZXInKSAmJiAkdGhpcy0+aXRlbS0+cHJlYWNoZXIpOiA/Pg0KCQkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnUHJlYWNoZXInKTsgPz46IDxhIGhyZWY9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPnByZWFjaGVyX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPnByZWFjaGVyX25hbWU7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5pdGVtLT5wcmVhY2hlcl9uYW1lOyA/PjwvYT48L2xpPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9zZXJpZXMnKSAmJiAkdGhpcy0+aXRlbS0+c2VyaWVzKTogPz4NCgkJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NlcmllcycpOyA/PjogPGEgaHJlZj0iPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c2VyaWVzX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPnNlcmllc19uYW1lOyA/PiI+PD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c2VyaWVzX25hbWU7ID8+PC9hPjwvbGk+DQoJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2NhdGVnb3J5JykgJiYgJHRoaXMtPml0ZW0tPmNhdGVnb3J5KTogPz4NCgkJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0NhdGVnb3J5Jyk7ID8+OiA8YSBocmVmPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5jYXRlZ29yeV9saW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5jYXRlZ29yeTsgPz4iPjw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmNhdGVnb3J5OyA/PjwvYT48L2xpPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kb3dubG9hZHMnKSk6ID8+DQoJCQkJCTxsaT48P3BocCBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignZG93bmxvYWRzZXJtb25idXR0b24nLCAkdGhpcy0+aXRlbSk7ID8+PC9saT4NCgkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdhZGRfdG9fZHJvcGJveCcpICYmIGlzc2V0KCR0aGlzLT5pdGVtLT5kcm9wYm94X2J1dHRvbnMpKTogPz4NCgkJCQkJPGxpPjw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdhZGR0b2Ryb3Bib3hidXR0b24nLCAkdGhpcy0+aXRlbSk7ID8+PC9saT4NCgkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQkJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ21lZGlhcGxheWVyJywgJHRoaXMtPml0ZW0pOyA/Pg0KCQkJPC91bD4NCgkJPC9kaXY+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kZXNjJykgJiYgKCR0aGlzLT5pdGVtLT5kZXNjcmlwdGlvbiB8fCAkdGhpcy0+aXRlbS0+c2hvcnRfZGVzY3JpcHRpb24pKTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtRGVzYzsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCQkJPD9waHAgaWYgKCR0aGlzLT5pdGVtLT5kZXNjcmlwdGlvbik6ID8+DQoJCQkJPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+ZGVzY3JpcHRpb247ID8+DQoJCQk8P3BocCBlbHNlaWYgKCR0aGlzLT5pdGVtLT5zaG9ydF9kZXNjcmlwdGlvbik6ID8+DQoJCQkJPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c2hvcnRfZGVzY3JpcHRpb247ID8+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPC9kaXY+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4=', '', 1, 450, 450, '2015-11-06 14:34:43', '2015-11-19 13:11:03', 25, '', 1, 10), -(38, 'sermon-box', 'Sermon Box', 20, 'Sermon Box', '', 'PGRpdiBjbGFzcz0idWstYmxvY2sgdWstYmxvY2stcHJpbWFyeSI+DQoJPGRpdiBjbGFzcz0idWstY29udGFpbmVyIj4NCgk8aDMgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5pdGVtLT5uYW1lOyA/PjwvaDM+DQoJPGRpdiBjbGFzcz0idWstZ3JpZCIgZGF0YS11ay1ncmlkLW1hcmdpbj0ie3RhcmdldDonLnVrLXBhbmVsJ30iPg0KCTxkaXYgY2xhc3M9InVrLXdpZHRoLW1lZGl1bS08P3BocCBlY2hvICRtZWRpdW1NYWluOyA/PiI+DQoJCTxkaXYgY2xhc3M9InVrLXBhbmVsIj4NCgkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2hpdHMnKSk6ID8+DQoJCQk8P3BocA0KCQkJCSRoaXRzX3N0YXRlCT0gKCR0aGlzLT5pdGVtLT5oaXRzID4gMCkgPyB0cnVlOmZhbHNlOw0KCQkJCSRiYWRnZV9jbGFzcwk9ICgkaGl0c19zdGF0ZSkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOw0KCQkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQkJPz4NCgkJCTxkaXYgY2xhc3M9InVrLXBhbmVsLWJhZGdlIHVrLWJhZGdlIDw/cGhwIGVjaG8gJGJhZGdlX2NsYXNzOyA/PiI+DQoJCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5oaXRzOyA/Pg0KCQkJPC9kaXY+DQoJCTw/cGhwIGVuZGlmIDs/Pg0KCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25faWNvbicpKTogPz4NCgkJCTw/cGhwICR0aGlzLT5pdGVtLT5pY29uID0gKCR0aGlzLT5pdGVtLT5pY29uKSA/ICR0aGlzLT5pdGVtLT5pY29uIDogJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZGVmYXVsdF9pY29uJyk7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPml0ZW0tPmljb24pOiA/Pg0KCQkJCTxpbWcgY2xhc3M9InVrLXRodW1ibmFpbCB1ay10aHVtYm5haWwtZXhwYW5kIiBzcmM9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmljb247ID8+IiBhbHQ9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPm5hbWU7ID8+Ij4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8P3BocCBlbmRpZjsgPz4NCgkJPC9kaXY+DQoJPC9kaXY+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2Rvd25sb2FkX2NvdW50ZXInKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9wcmVhY2hlcicpIHx8ICR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX3NlcmllcycpIHx8ICR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2NhdGVnb3J5JykgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZG93bmxvYWRzJykpOiA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtTWlkOyA/PiI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCI+DQoJCQkJPHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kb3dubG9hZF9jb3VudGVyJykpOiA/Pg0KCQkJCQkJPGxpIGNsYXNzPSI8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiI+PD9waHAgZWNobyBKVGV4dDo6XygnVG90YWwgRG93bmxvYWRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5zdGF0aXN0aWNUb3RhbDsgPz48L2xpPg0KCQkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX3ByZWFjaGVyJykgJiYgJHRoaXMtPml0ZW0tPnByZWFjaGVyKTogPz4NCgkJCQkJCTxsaSBjbGFzcz0iPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1ByZWFjaGVyJyk7ID8+OiA8YSAgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+IiBocmVmPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5wcmVhY2hlcl9saW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5wcmVhY2hlcl9uYW1lOyA/PiI+PD9waHAgZWNobyAkdGhpcy0+aXRlbS0+cHJlYWNoZXJfbmFtZTsgPz48L2E+PC9saT4NCgkJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9zZXJpZXMnKSAmJiAkdGhpcy0+aXRlbS0+c2VyaWVzKTogPz4NCgkJCQkJCTxsaSBjbGFzcz0iPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NlcmllcycpOyA/PjogPGEgIGNsYXNzPSI8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiIgaHJlZj0iPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c2VyaWVzX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPnNlcmllc19uYW1lOyA/PiI+PD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c2VyaWVzX25hbWU7ID8+PC9hPjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fY2F0ZWdvcnknKSAmJiAkdGhpcy0+aXRlbS0+Y2F0ZWdvcnkpOiA/Pg0KCQkJCQkJPGxpIGNsYXNzPSI8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiI+PD9waHAgZWNobyBKVGV4dDo6XygnQ2F0ZWdvcnknKTsgPz46IDxhICBjbGFzcz0iPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iIGhyZWY9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmNhdGVnb3J5X2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmNhdGVnb3J5OyA/PiI+PD9waHAgZWNobyAkdGhpcy0+aXRlbS0+Y2F0ZWdvcnk7ID8+PC9hPjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZG93bmxvYWRzJykpOiA/Pg0KCQkJCQkJPGxpPjw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdkb3dubG9hZHNlcm1vbmJ1dHRvbicsICR0aGlzLT5pdGVtKTsgPz48L2xpPg0KCQkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnYWRkX3RvX2Ryb3Bib3gnKSAmJiBpc3NldCgkdGhpcy0+aXRlbS0+ZHJvcGJveF9idXR0b25zKSk6ID8+DQoJCQkJCQk8bGk+PD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ2FkZHRvZHJvcGJveGJ1dHRvbicsICR0aGlzLT5pdGVtKTsgPz48L2xpPg0KCQkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQkJCTw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdtZWRpYXBsYXllcicsICR0aGlzLT5pdGVtKTsgPz4NCgkJCQk8L3VsPg0KCQkJPC9kaXY+DQoJCTwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kZXNjJykgJiYgKCR0aGlzLT5pdGVtLT5kZXNjcmlwdGlvbiB8fCAkdGhpcy0+aXRlbS0+c2hvcnRfZGVzY3JpcHRpb24pKTogPz4NCgkJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bURlc2M7ID8+Ij4NCgkJCTxkaXYgY2xhc3M9InVrLXBhbmVsIDw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij4NCgkJCQk8P3BocCBpZiAoJHRoaXMtPml0ZW0tPmRlc2NyaXB0aW9uKTogPz4NCgkJCQkJPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+ZGVzY3JpcHRpb247ID8+DQoJCQkJPD9waHAgZWxzZWlmICgkdGhpcy0+aXRlbS0+c2hvcnRfZGVzY3JpcHRpb24pOiA/Pg0KCQkJCQk8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5zaG9ydF9kZXNjcmlwdGlvbjsgPz4NCgkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTwvZGl2Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZjsgPz4NCgk8L2Rpdj4NCgk8L2Rpdj4NCjwvZGl2Pg==', '', 1, 450, 450, '2015-11-07 16:02:27', '2015-11-16 03:19:07', 24, '', 1, 10), -(45, 'categories-table', 'All Categories in Table', 20, 'Categories Table', 89, 'PHRhYmxlIGNsYXNzPSJmb290YWJsZTw/cGhwIGVjaG8gJHRhYmxlQ2xhc3M7ID8+IiBkYXRhLXBhZ2Utc2l6ZT0iMTAwIj4NCgk8dGhlYWQ+DQoJCTx0cj4NCgkJCTx0aCBkYXRhLXRvZ2dsZT0idHJ1ZSI+PD9waHAgZWNobyBKVGV4dDo6XygnTmFtZScpOyA/PjwvdGg+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yaWVzX2Rlc2MnKSk6ID8+DQoJCQkJPHRoIGRhdGEtaGlkZT0iYWxsIj48P3BocCBlY2hvIEpUZXh0OjpfKCdEZXNjcmlwdGlvbicpOyAkY29sdW1uX25yKys7ID8+PC90aD4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19oaXRzJykpOiA/Pg0KCQkJCTx0aCBkYXRhLXR5cGU9Im51bWVyaWMiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3JpZXNfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJCTx0aCBkYXRhLXR5cGU9Im51bWVyaWMiIGRhdGEtaGlkZT0icGhvbmUsdGFibGV0Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgJGNvbHVtbl9ucisrOz8+PC90aD4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L3RyPg0KCTwvdGhlYWQ+DQoJPHRmb290IGNsYXNzPSJoaWRlLWlmLW5vLXBhZ2luZyI+DQoJCTx0cj4NCgkJCTx0ZCBjb2xzcGFuPSI8P3BocCBlY2hvICRjb2x1bW5fbnI7ID8+Ij4NCgkJCQk8ZGl2IGNsYXNzPSJwYWdpbmF0aW9uIHBhZ2luYXRpb24tY2VudGVyZWQiPjwvZGl2Pg0KCQkJPC90ZD4NCgkJPC90cj4NCgk8L3Rmb290Pg0KCTx0Ym9keT4NCgk8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KCQk8dHI+PD9waHAgJGl0ZW0tPnBhcmFtcyA9ICR0aGlzLT5wYXJhbXM7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdjYXRlZ29yaWVzcm93JywgJGl0ZW0pOyA/PjwvdHI+DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCgk8L3Rib2R5Pg0KPC90YWJsZT4NCg0KPHNjcmlwdD4NCi8vIHBhZ2UgbG9hZGluZyBwYXVzZQ0KalF1ZXJ5KHdpbmRvdykubG9hZChmdW5jdGlvbigpIHsNCgkvLyBkbyBzb21lIHN0dWZmIG9uY2UgcGFnZSBpcyBsb2FkZWQNCglqUXVlcnkoJy5mb290YWJsZScpLmZvb3RhYmxlKCk7DQp9KTsNCjwvc2NyaXB0Pg==', '', 1, 450, 450, '2015-11-07 16:39:34', '2015-11-19 21:04:41', 15, '', 1, 10), -(39, 'sermon-big', 'Sermon big', 21, 'Sermon Big', 89, 'PGRpdiBjbGFzcz0idWstYmxvY2siPg0KCTxkaXYgY2xhc3M9InVrLWNvbnRhaW5lciI+DQoJPGgzIGNsYXNzPSI8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiI+PD9waHAgZWNobyAkdGhpcy0+aXRlbS0+bmFtZTsgPz48L2gzPg0KCTxkaXYgY2xhc3M9InVrLWdyaWQiIGRhdGEtdWstZ3JpZC1tYXJnaW49Int0YXJnZXQ6Jy51ay1wYW5lbCd9Ij4NCgk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtTWFpbjsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCI+DQoJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9oaXRzJykpOiA/Pg0KCQkJPD9waHANCgkJCQkkaGl0c19zdGF0ZQk9ICgkdGhpcy0+aXRlbS0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJCT8+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+aGl0czsgPz4NCgkJCTwvZGl2Pg0KCQk8P3BocCBlbmRpZiA7Pz4NCgkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2ljb24nKSk6ID8+DQoJCQk8P3BocCAkdGhpcy0+aXRlbS0+aWNvbiA9ICgkdGhpcy0+aXRlbS0+aWNvbikgPyAkdGhpcy0+aXRlbS0+aWNvbiA6ICR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2RlZmF1bHRfaWNvbicpOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5pdGVtLT5pY29uKTogPz4NCgkJCQk8aW1nIGNsYXNzPSJ1ay10aHVtYm5haWwgdWstdGh1bWJuYWlsLWV4cGFuZCIgc3JjPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5uYW1lOyA/PiI+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPD9waHAgZW5kaWY7ID8+DQoJCTwvZGl2Pg0KCTwvZGl2Pg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kb3dubG9hZF9jb3VudGVyJykgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fcHJlYWNoZXInKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9zZXJpZXMnKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9jYXRlZ29yeScpIHx8ICR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2Rvd25sb2FkcycpKTogPz4NCgkJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1pZDsgPz4iPg0KCQkJPGRpdiBjbGFzcz0idWstcGFuZWwiPg0KCQkJCTx1bCBjbGFzcz0idWstbGlzdDw/cGhwIGVjaG8gJGxpc3RDbGFzczsgPz4iPg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQkJCTxsaSBjbGFzcz0iPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1RvdGFsIERvd25sb2FkcycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c3RhdGlzdGljVG90YWw7ID8+PC9saT4NCgkJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9wcmVhY2hlcicpICYmICR0aGlzLT5pdGVtLT5wcmVhY2hlcik6ID8+DQoJCQkJCQk8bGkgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdQcmVhY2hlcicpOyA/PjogPGEgIGNsYXNzPSI8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiIgaHJlZj0iPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+cHJlYWNoZXJfbGluazsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+cHJlYWNoZXJfbmFtZTsgPz4iPjw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPnByZWFjaGVyX25hbWU7ID8+PC9hPjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fc2VyaWVzJykgJiYgJHRoaXMtPml0ZW0tPnNlcmllcyk6ID8+DQoJCQkJCQk8bGkgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJpZXMnKTsgPz46IDxhICBjbGFzcz0iPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iIGhyZWY9Ijw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPnNlcmllc19saW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5zZXJpZXNfbmFtZTsgPz4iPjw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPnNlcmllc19uYW1lOyA/PjwvYT48L2xpPg0KCQkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2NhdGVnb3J5JykgJiYgJHRoaXMtPml0ZW0tPmNhdGVnb3J5KTogPz4NCgkJCQkJCTxsaSBjbGFzcz0iPD9waHAgZWNobyAkY29udHJhc3RDbGFzczsgPz4iPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0NhdGVnb3J5Jyk7ID8+OiA8YSAgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+IiBocmVmPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5jYXRlZ29yeV9saW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5jYXRlZ29yeTsgPz4iPjw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmNhdGVnb3J5OyA/PjwvYT48L2xpPg0KCQkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnc2VybW9uX2Rvd25sb2FkcycpKTogPz4NCgkJCQkJCTxsaT48P3BocCBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignZG93bmxvYWRzZXJtb25idXR0b24nLCAkdGhpcy0+aXRlbSk7ID8+PC9saT4NCgkJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2FkZF90b19kcm9wYm94JykgJiYgaXNzZXQoJHRoaXMtPml0ZW0tPmRyb3Bib3hfYnV0dG9ucykpOiA/Pg0KCQkJCQkJPGxpPjw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdhZGR0b2Ryb3Bib3hidXR0b24nLCAkdGhpcy0+aXRlbSk7ID8+PC9saT4NCgkJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJCQk8P3BocCBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignbWVkaWFwbGF5ZXInLCAkdGhpcy0+aXRlbSk7ID8+DQoJCQkJPC91bD4NCgkJCTwvZGl2Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZjsgPz4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZGVzYycpICYmICgkdGhpcy0+aXRlbS0+ZGVzY3JpcHRpb24gfHwgJHRoaXMtPml0ZW0tPnNob3J0X2Rlc2NyaXB0aW9uKSk6ID8+DQoJCTxkaXYgY2xhc3M9InVrLXdpZHRoLW1lZGl1bS08P3BocCBlY2hvICRtZWRpdW1EZXNjOyA/PiI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCA8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiI+DQoJCQkJPD9waHAgaWYgKCR0aGlzLT5pdGVtLT5kZXNjcmlwdGlvbik6ID8+DQoJCQkJCTw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmRlc2NyaXB0aW9uOyA/Pg0KCQkJCTw/cGhwIGVsc2VpZiAoJHRoaXMtPml0ZW0tPnNob3J0X2Rlc2NyaXB0aW9uKTogPz4NCgkJCQkJPD9waHAgZWNobyAkdGhpcy0+aXRlbS0+c2hvcnRfZGVzY3JpcHRpb247ID8+DQoJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8L2Rpdj4NCgkJPC9kaXY+DQoJPD9waHAgZW5kaWY7ID8+DQoJPC9kaXY+DQoJPC9kaXY+DQo8L2Rpdj4=', '', 1, 450, 450, '2015-11-07 16:39:34', '2015-11-16 03:19:46', 27, '', 1, 10), -(44, 'categories-list', 'All Categories in List', 20, 'Categories List', '', 'PHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPGxpPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA5MCk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdjYXRlZ29yaWVzbGlzdGl0ZW0nLCAkaXRlbSk7ID8+PC9saT4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KPC91bD4=', '', 1, 450, 450, '2015-11-07 16:02:27', '2015-11-19 21:39:36', 9, '', 1, 10), -(42, 'sermons-list', 'All Sermons in a List', 20, 'Sermons List', '', 'PHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPGxpPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA5MCk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdzZXJtb25zbGlzdGl0ZW0nLCAkaXRlbSk7ID8+PC9saT4NCgk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KPC91bD4=', '', 1, 450, 450, '2015-11-19 13:18:42', '2015-11-19 13:19:53', 2, '', 1, 10), -(40, 'sermons-grid', 'All Sermons in Grid', 20, 'Sermons Grid', '', 'PHVsIGlkPSJbW1tzdmlld11dXS1zZXJtb25zLXNvcnQtbWVudSIgY2xhc3M9InVrLXRhYiIgZGF0YS11ay10YWI+DQoJPGxpIGRhdGEtdWstc29ydD0ic2VybW9uIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ05hbWUgKEFzYyknKTsgPz48L2E+PC9saT4NCgk8bGkgZGF0YS11ay1zb3J0PSJzZXJtb246ZGVzYyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdOYW1lIChEZXNjKScpOyA/PjwvYT48L2xpPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ1tbW3N2aWV3XV1dX3Nlcm1vbnNfcHJlYWNoZXInLCAwKSk6ID8+DQoJCTxsaSBkYXRhLXVrLXNvcnQ9InByZWFjaGVyIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1ByZWFjaGVyIChBc2MpJyk7ID8+PC9hPjwvbGk+DQoJCTxsaSBkYXRhLXVrLXNvcnQ9InByZWFjaGVyOmRlc2MiPjxhIGhyZWY9IiI+PD9waHAgZWNobyBKVGV4dDo6XygnUHJlYWNoZXIgKERlc2MpJyk7ID8+PC9hPjwvbGk+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnW1tbc3ZpZXddXV1fc2VybW9uc19jYXRlZ29yeScsIDApKTogPz4NCgkJPGxpIGRhdGEtdWstc29ydD0iY2F0ZWdvcnkiPjxhIGhyZWY9IiI+PD9waHAgZWNobyBKVGV4dDo6XygnQ2F0ZWdvcnkgKEFzYyknKTsgPz48L2E+PC9saT4NCgkJPGxpIGRhdGEtdWstc29ydD0iY2F0ZWdvcnk6ZGVzYyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdDYXRlZ29yeSAoRGVzYyknKTsgPz48L2E+PC9saT4NCgk8P3BocCBlbmRpZjsgPz4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdbW1tzdmlld11dXV9zZXJtb25zX3NlcmllcycsIDApKTogPz4NCgkJPGxpIGRhdGEtdWstc29ydD0ic2VyaWVzIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NlcmllcyAoQXNjKScpOyA/PjwvYT48L2xpPg0KCQk8bGkgZGF0YS11ay1zb3J0PSJzZXJpZXM6ZGVzYyI+PGEgaHJlZj0iIj48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJpZXMgKERlc2MpJyk7ID8+PC9hPjwvbGk+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnW1tbc3ZpZXddXV1fc2VybW9uc19oaXRzJywgMCkpOiA/Pg0KCQk8bGkgZGF0YS11ay1zb3J0PSJoaXRzIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMgKEFzYyknKTsgPz48L2E+PC9saT4NCgkJPGxpIGRhdGEtdWstc29ydD0iaGl0czpkZXNjIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMgKERlc2MpJyk7ID8+PC9hPjwvbGk+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnW1tbc3ZpZXddXV1fc2VybW9uc19kb3dubG9hZF9jb3VudGVyJywgMCkpOiA/Pg0KCQk8bGkgZGF0YS11ay1zb3J0PSJkb3dubG9hZHMiPjxhIGhyZWY9IiI+PD9waHAgZWNobyBKVGV4dDo6XygnRG93bmxvYWRzIChBc2MpJyk7ID8+PC9hPjwvbGk+DQoJCTxsaSBkYXRhLXVrLXNvcnQ9ImRvd25sb2FkczpkZXNjIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0Rvd25sb2FkcyAoRGVzYyknKTsgPz48L2E+PC9saT4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdWw+DQoNCjxkaXYgZGF0YS11ay1jaGVjay1kaXNwbGF5IGNsYXNzPSJ1ay1ncmlkLXdpZHRoLXNtYWxsLTEtMiB1ay1ncmlkLXdpZHRoLW1lZGl1bS0xLTMgdWstZ3JpZC13aWR0aC1sYXJnZS0xLTQiIGRhdGEtdWstZ3JpZD0ie2NvbnRyb2xzOiAnI1tbW3N2aWV3XV1dLXNlcm1vbnMtc29ydC1tZW51JyxndXR0ZXI6IDE1fSI+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPGRpdiBkYXRhLXNlcm1vbj0iPD9waHAgZWNobyAkdGhpcy0+ZXNjYXBlKCRpdGVtLT5uYW1lKTsgPz4iIDw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ1tbW3N2aWV3XV1dX3Nlcm1vbnNfcHJlYWNoZXInKSk6ID8+ZGF0YS1wcmVhY2hlcj0iPD9waHAgZWNobyAkdGhpcy0+ZXNjYXBlKCRpdGVtLT5wcmVhY2hlcl9uYW1lKTsgPz4iIDw/cGhwIGVuZGlmOyA/Pjw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ1tbW3N2aWV3XV1dX3Nlcm1vbnNfY2F0ZWdvcnknKSk6ID8+IGRhdGEtY2F0ZWdvcnk9Ijw/cGhwIGVjaG8gJHRoaXMtPmVzY2FwZSgkaXRlbS0+Y2F0ZWdvcnkpOyA/PiIgPD9waHAgZW5kaWY7ID8+PD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnW1tbc3ZpZXddXV1fc2VybW9uc19zZXJpZXMnKSk6ID8+IGRhdGEtc2VyaWVzPSI8P3BocCBlY2hvICR0aGlzLT5lc2NhcGUoJGl0ZW0tPnNlcmllc19uYW1lKTsgPz4iIDw/cGhwIGVuZGlmOyA/PmRhdGEtaGl0cz0iPD9waHAgZWNobyAoaW50KSAkaXRlbS0+aGl0czsgPz4iIGRhdGEtZG93bmxvYWRzPSI8P3BocCBlY2hvIChpbnQpICRpdGVtLT5zdGF0aXN0aWNUb3RhbDsgPz4iPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA2NSk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdzZXJtb25zcGFuZWwnLCAkaXRlbSk7ID8+PC9kaXY+DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCjwvZGl2Pg==', '', 1, 450, 450, '2015-11-13 00:35:46', '2015-11-27 15:25:28', 6, '', 1, 10), -(41, 'sermons-table', 'All Sermons in Table', 20, 'Sermons Table', 89, 'PGJyIC8+DQo8dGFibGUgY2xhc3M9ImZvb3RhYmxlPD9waHAgZWNobyAkdGFibGVDbGFzczsgPz4iIGRhdGEtcGFnZS1zaXplPSIxMDAiPg0KCTx0aGVhZD4NCgkJPHRyPg0KCQkJPHRoIGRhdGEtdG9nZ2xlPSJ0cnVlIj48P3BocCBlY2hvIEpUZXh0OjpfKCdOYW1lJyk7ID8+PC90aD4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ1tbW3N2aWV3XV1dX3Nlcm1vbnNfZGVzYycpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJhbGwiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0Rlc2NyaXB0aW9uJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdbW1tzdmlld11dXV9zZXJtb25zX3ByZWFjaGVyJywgMCkpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9InBob25lLHRhYmxldCI+PD9waHAgZWNobyBKVGV4dDo6XygnUHJlYWNoZXInKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ1tbW3N2aWV3XV1dX3Nlcm1vbnNfc2VyaWVzJywgMCkpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9InBob25lLHRhYmxldCI+PD9waHAgZWNobyBKVGV4dDo6XygnU2VyaWVzJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdbW1tzdmlld11dXV9zZXJtb25zX2NhdGVnb3J5JywgMCkpOiA/Pg0KCQkJCTx0aCBkYXRhLWhpZGU9InBob25lLHRhYmxldCIgPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0NhdGVnb3J5Jyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdbW1tzdmlld11dXV9zZXJtb25zX2Rvd25sb2FkcycpKTogPz4NCgkJCQk8dGg+PD9waHAgZWNobyBKVGV4dDo6XygnRmlsZXMnKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ1tbW3N2aWV3XV1dX3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQk8dGggZGF0YS1oaWRlPSJwaG9uZSx0YWJsZXQiIGRhdGEtdHlwZT0ibnVtZXJpYyI+PD9waHAgZWNobyBKVGV4dDo6XygnRG93bmxvYWRzJyk7ICRjb2x1bW5fbnIrKzsgPz48L3RoPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdbW1tzdmlld11dXV9zZXJtb25zX2hpdHMnKSk6ID8+DQoJCQkJPHRoIGRhdGEtaGlkZT0icGhvbmUsdGFibGV0IiBkYXRhLXR5cGU9Im51bWVyaWMiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgJGNvbHVtbl9ucisrOyA/PjwvdGg+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPC90cj4NCgk8L3RoZWFkPg0KCTx0Zm9vdCBjbGFzcz0iaGlkZS1pZi1uby1wYWdpbmciPg0KCQk8dHI+DQoJCQk8dGQgY29sc3Bhbj0iPD9waHAgZWNobyAkY29sdW1uX25yOyA/PiI+DQoJCQkJPGRpdiBjbGFzcz0icGFnaW5hdGlvbiBwYWdpbmF0aW9uLWNlbnRlcmVkIj48L2Rpdj4NCgkJCTwvdGQ+DQoJCTwvdHI+DQoJPC90Zm9vdD4NCgk8dGJvZHk+DQoJPD9waHAgZm9yZWFjaCAoJHRoaXMtPml0ZW1zIGFzICRpdGVtKTogPz4NCgkJPHRyPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignc2VybW9uc3JvdycsICRpdGVtKTsgPz48L3RyPg0KCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQoJPC90Ym9keT4NCjwvdGFibGU+DQoNCjxzY3JpcHQ+DQovLyBwYWdlIGxvYWRpbmcgcGF1c2UNCmpRdWVyeSh3aW5kb3cpLmxvYWQoZnVuY3Rpb24oKSB7DQoJLy8gZG8gc29tZSBzdHVmZiBvbmNlIHBhZ2UgaXMgbG9hZGVkDQoJalF1ZXJ5KCcuZm9vdGFibGUnKS5mb290YWJsZSgpOw0KfSk7DQo8L3NjcmlwdD4=', '', 1, 450, 450, '2015-11-13 00:42:11', '2015-11-20 03:05:06', 8, '', 1, 10), -(43, 'categories-grid', 'All Categories in Grid', 20, 'Categories Grid', '', 'PHVsIGlkPSJjYXRlZ29yeS1zb3J0LW1lbnUiIGNsYXNzPSJ1ay1zdWJuYXYiPg0KCTxsaSBkYXRhLXVrLXNvcnQ9ImNhdGVnb3J5Ij48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ05hbWUgKEFzYyknKTsgPz48L2E+PC9saT4NCgk8bGkgZGF0YS11ay1zb3J0PSJjYXRlZ29yeTpkZXNjIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ05hbWUgKERlc2MpJyk7ID8+PC9hPjwvbGk+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19oaXRzJykpOiA/Pg0KCQk8bGkgZGF0YS11ay1zb3J0PSJoaXRzIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMgKEFzYyknKTsgPz48L2E+PC9saT4NCgkJPGxpIGRhdGEtdWstc29ydD0iaGl0czpkZXNjIj48YSBocmVmPSIiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMgKERlc2MpJyk7ID8+PC9hPjwvbGk+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19zZXJtb25fY291bnQnKSk6ID8+DQoJCTxsaSBkYXRhLXVrLXNvcnQ9InNlcm1vbnMiPjxhIGhyZWY9IiI+PD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9ucyBDb3VudCAoQXNjKScpOyA/PjwvYT48L2xpPg0KCQk8bGkgZGF0YS11ay1zb3J0PSJzZXJtb25zOmRlc2MiPjxhIGhyZWY9IiI+PD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9ucyBDb3VudCAoRGVzYyknKTsgPz48L2E+PC9saT4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdWw+DQo8ZGl2IGRhdGEtdWstY2hlY2stZGlzcGxheSBjbGFzcz0idWstZ3JpZC13aWR0aC1zbWFsbC0xLTIgdWstZ3JpZC13aWR0aC1tZWRpdW0tMS0zIHVrLWdyaWQtd2lkdGgtbGFyZ2UtMS00IiBkYXRhLXVrLWdyaWQ9Intjb250cm9sczogJyNjYXRlZ29yeS1zb3J0LW1lbnUnLGd1dHRlcjogMTV9Ij4NCgk8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KCQk8ZGl2IGRhdGEtY2F0ZWdvcnk9Ijw/cGhwIGVjaG8gJHRoaXMtPmVzY2FwZSgkaXRlbS0+bmFtZSk7ID8+IiBkYXRhLWhpdHM9Ijw/cGhwIGVjaG8gKGludCkgJGl0ZW0tPmhpdHM7ID8+IiBkYXRhLXNlcm1vbnM9Ijw/cGhwIGVjaG8gY291bnQoJGl0ZW0tPmlkQ2F0aWRTZXJtb25CKTsgPz4iPjw/cGhwICRpdGVtLT5wYXJhbXMgPSAkdGhpcy0+cGFyYW1zOyAkaXRlbS0+ZGVzYyA9ICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCA2NSk7IGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdjYXRlZ29yaWVzcGFuZWwnLCAkaXRlbSk7ID8+PC9kaXY+DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCjwvZGl2Pg==', '', 1, 450, 450, '2015-11-06 14:34:43', '2015-11-27 14:28:57', 7, '', 1, 10), -(46, 'category-panel', 'Category Panel', 20, 'Category Panel', 88, 'PGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1haW47ID8+Ij4NCgk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2hpdHMnKSk6ID8+DQoJCTw/cGhwDQoJCQkkaGl0c19zdGF0ZQk9ICgkdGhpcy0+Y2F0ZWdvcnktPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPmNhdGVnb3J5LT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZiA7Pz4NCgk8aDMgY2xhc3M9InVrLXBhbmVsLXRpdGxlIj48P3BocCBlY2hvICR0aGlzLT5jYXRlZ29yeS0+bmFtZTsgPz48L2gzPg0KCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2ljb24nKSk6ID8+DQoJCTw/cGhwICR0aGlzLT5jYXRlZ29yeS0+aWNvbiA9IChpc3NldCgkdGhpcy0+Y2F0ZWdvcnktPmljb24pICYmICR0aGlzLT5jYXRlZ29yeS0+aWNvbikgPyAkdGhpcy0+Y2F0ZWdvcnktPmljb24gOiAkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2RlZmF1bHRfaWNvbicpOyA/Pg0KCQk8P3BocCBpZiAoJHRoaXMtPmNhdGVnb3J5LT5pY29uKTogPz4NCgkJCTxpbWcgY2xhc3M9InVrLXRodW1ibmFpbCB1ay10aHVtYm5haWwtZXhwYW5kIiBzcmM9Ijw/cGhwIGVjaG8gJHRoaXMtPmNhdGVnb3J5LT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICR0aGlzLT5jYXRlZ29yeS0+bmFtZTsgPz4iPg0KCQk8P3BocCBlbmRpZjsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCgk8L2Rpdj4NCjwvZGl2Pg0KPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfc2VybW9uX2NvdW50JykgfHwgJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSk6ID8+DQoJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1pZDsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCQkJPHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIENvdW50Jyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5zZXJtb25Ub3RhbDsgPz48L2xpPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1RvdGFsIERvd25sb2FkcycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+ZG93bmxvYWRUb3RhbDsgPz48L2xpPg0KCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPC91bD4NCgkJPC9kaXY+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2Rlc2MnKSAmJiAkdGhpcy0+Y2F0ZWdvcnktPmRlc2NyaXB0aW9uKTogPz4NCgk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtRGVzYzsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KCQkJPD9waHAgZWNobyAkdGhpcy0+Y2F0ZWdvcnktPmRlc2NyaXB0aW9uOyA/Pg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCjw/cGhwIGVuZGlmOyA/Pg==', '', 1, 450, 450, '2015-11-06 14:34:43', '2015-11-19 21:18:33', 17, '', 1, 10), -(47, 'category-box', 'Category Box', 20, 'Category Box', '', 'PGRpdiBjbGFzcz0idWstYmxvY2sgdWstYmxvY2stcHJpbWFyeSI+DQoJPGRpdiBjbGFzcz0idWstY29udGFpbmVyIj4NCgk8aDMgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvICR0aGlzLT5jYXRlZ29yeS0+bmFtZTsgPz48L2gzPg0KCTxkaXYgY2xhc3M9InVrLWdyaWQiIGRhdGEtdWstZ3JpZC1tYXJnaW49Int0YXJnZXQ6Jy51ay1wYW5lbCd9Ij4NCgk8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tPD9waHAgZWNobyAkbWVkaXVtTWFpbjsgPz4iPg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCI+DQoJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2hpdHMnKSk6ID8+DQoJCQk8P3BocA0KCQkJCSRoaXRzX3N0YXRlCT0gKCR0aGlzLT5jYXRlZ29yeS0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJCT8+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+Y2F0ZWdvcnktPmhpdHM7ID8+DQoJCQk8L2Rpdj4NCgkJPD9waHAgZW5kaWYgOz8+DQoJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2ljb24nKSk6ID8+DQoJCQk8P3BocCAkdGhpcy0+Y2F0ZWdvcnktPmljb24gPSAoaXNzZXQoJHRoaXMtPmNhdGVnb3J5LT5pY29uKSAmJiAkdGhpcy0+Y2F0ZWdvcnktPmljb24pID8gJHRoaXMtPmNhdGVnb3J5LT5pY29uIDogJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9kZWZhdWx0X2ljb24nKTsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+Y2F0ZWdvcnktPmljb24pOiA/Pg0KCQkJCTxpbWcgY2xhc3M9InVrLXRodW1ibmFpbCB1ay10aHVtYm5haWwtZXhwYW5kIiBzcmM9Ijw/cGhwIGVjaG8gJHRoaXMtPmNhdGVnb3J5LT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICR0aGlzLT5jYXRlZ29yeS0+bmFtZTsgPz4iPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9zZXJtb25fY291bnQnKSB8fCAkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTw/cGhwIGVjaG8gJG1lZGl1bU1pZDsgPz4iPg0KCQkJPGRpdiBjbGFzcz0idWstcGFuZWwiPg0KCQkJCTx1bCBjbGFzcz0idWstbGlzdDw/cGhwIGVjaG8gJGxpc3RDbGFzczsgPz4iPg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9zZXJtb25fY291bnQnKSk6ID8+DQoJCQkJCQk8bGkgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPnNlcm1vblRvdGFsOyA/PjwvbGk+DQoJCQkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJCQk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSk6ID8+DQoJCQkJCQk8bGkgY2xhc3M9Ijw/cGhwIGVjaG8gJGNvbnRyYXN0Q2xhc3M7ID8+Ij48P3BocCBlY2hvIEpUZXh0OjpfKCdUb3RhbCBEb3dubG9hZHMnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPmRvd25sb2FkVG90YWw7ID8+PC9saT4NCgkJCQkJPD9waHAgZW5kaWY7ID8+DQoJCQkJPC91bD4NCgkJCTwvZGl2Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZjsgPz4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9kZXNjJykgJiYgJHRoaXMtPmNhdGVnb3J5LT5kZXNjcmlwdGlvbik6ID8+DQoJCTxkaXYgY2xhc3M9InVrLXdpZHRoLW1lZGl1bS08P3BocCBlY2hvICRtZWRpdW1EZXNjOyA/PiI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbCA8P3BocCBlY2hvICRjb250cmFzdENsYXNzOyA/PiI+DQoJCQkJPD9waHAgZWNobyAkdGhpcy0+Y2F0ZWdvcnktPmRlc2NyaXB0aW9uOyA/Pg0KCQkJPC9kaXY+DQoJCTwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTwvZGl2Pg0KCTwvZGl2Pg0KPC9kaXY+', '', 1, 450, 450, '2015-11-07 16:02:27', '2015-11-19 21:17:40', 17, '', 1, 10), -(48, 'category-small', 'Category in small', 21, 'Category Small', 89, 'PGFydGljbGUgY2xhc3M9InVrLWNvbW1lbnQiPg0KICAgIDxoZWFkZXIgY2xhc3M9InVrLWNvbW1lbnQtaGVhZGVyIj4NCgkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfaWNvbicpKTogPz4NCgkJCTw/cGhwICR0aGlzLT5jYXRlZ29yeS0+aWNvbiA9IChpc3NldCgkdGhpcy0+Y2F0ZWdvcnktPmljb24pICYmICR0aGlzLT5jYXRlZ29yeS0+aWNvbikgPyAkdGhpcy0+Y2F0ZWdvcnktPmljb24gOiAkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X2RlZmF1bHRfaWNvbicpOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5jYXRlZ29yeS0+aWNvbik6ID8+DQoJCQkJPGltZyBjbGFzcz0idWstY29tbWVudC1hdmF0YXIiIHNyYz0iPD9waHAgZWNobyAkdGhpcy0+Y2F0ZWdvcnktPmljb247ID8+IiBhbHQ9Ijw/cGhwIGVjaG8gJHRoaXMtPmNhdGVnb3J5LT5uYW1lOyA/PiI+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPD9waHAgZW5kaWY7ID8+DQoJCTxoNCBjbGFzcz0idWstY29tbWVudC10aXRsZSI+PD9waHAgZWNobyAkdGhpcy0+Y2F0ZWdvcnktPm5hbWU7ID8+PC9oND4NCgkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfaGl0cycpIHx8ICR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfc2VybW9uX2NvdW50JykpOiA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1jb21tZW50LW1ldGEiPg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfaGl0cycpKTogPz4NCgkJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5jYXRlZ29yeS0+aGl0czsgPz48YnIgLz4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPD9waHAgaWYgKCR0aGlzLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBDb3VudCcpOyA/PjogPD9waHAgZWNobyAkdGhpcy0+c2VybW9uVG90YWw7ID8+PGJyIC8+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkdGhpcy0+cGFyYW1zLT5nZXQoJ2NhdGVnb3J5X3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpKTogPz4NCgkJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdUb3RhbCBEb3dubG9hZHMnKTsgPz46IDw/cGhwIGVjaG8gJHRoaXMtPmRvd25sb2FkVG90YWw7ID8+PGJyIC8+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPC9kaXY+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCSA8L2hlYWRlcj4NCgk8P3BocCBpZiAoJHRoaXMtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yeV9kZXNjJykgJiYgJHRoaXMtPmNhdGVnb3J5LT5kZXNjcmlwdGlvbik6ID8+DQoJCTxkaXYgY2xhc3M9InVrLWNvbW1lbnQtYm9keSI+PD9waHAgZWNobyAkdGhpcy0+Y2F0ZWdvcnktPmRlc2NyaXB0aW9uOyA/PjwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC9hcnRpY2xlPjxiciAvPg==', '', 1, 450, 450, '2015-11-07 16:39:34', '2015-11-19 21:14:58', 23, '', 1, 10); - --- --- Dumping data for table `#__componentbuilder_layout` --- - -INSERT INTO `#__componentbuilder_layout` (`id`, `alias`, `description`, `dynamic_get`, `layout`, `name`, `snippet`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `version`, `hits`, `access`, `ordering`) VALUES -(20, 'seriespanel', 'One Series Panel', 20, 'PGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnbGlzdF9zZXJpZXNfaGl0cycpKTogPz4NCgkJPD9waHANCgkJCSRoaXRzX3N0YXRlCT0gKCRkaXNwbGF5RGF0YS0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCSRiYWRnZV9jbGFzcwk9ICgkaGl0c19zdGF0ZSkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOw0KCQkJJGJhZGdlX2ljb24JPSAoJGhpdHNfc3RhdGUpID8gJ2NoZWNrLWNpcmNsZSc6J21pbnVzLWNpcmNsZSc7DQoJCT8+DQoJCTxkaXYgY2xhc3M9InVrLXBhbmVsLWJhZGdlIHVrLWJhZGdlIDw/cGhwIGVjaG8gJGJhZGdlX2NsYXNzOyA/PiI+DQoJCQk8aSBjbGFzcz0idWstaWNvbi08P3BocCBlY2hvICRiYWRnZV9pY29uOyA/PiI+PC9pPg0KCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmhpdHM7ID8+DQoJCTwvZGl2Pg0KCTw/cGhwIGVuZGlmIDs/Pg0KCTxoMyBjbGFzcz0idWstcGFuZWwtdGl0bGUiPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5uYW1lOyA/PjwvaDM+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2xpc3Rfc2VyaWVzX2ljb24nKSk6ID8+DQoJCTw/cGhwICRkaXNwbGF5RGF0YS0+aWNvbiA9ICgkZGlzcGxheURhdGEtPmljb24pID8gJGRpc3BsYXlEYXRhLT5pY29uIDogJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX2RlZmF1bHRfaWNvbicpOyA/Pg0KCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5pY29uKTogPz4NCgkJCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiI+DQoJCQk8aW1nIGNsYXNzPSJ1ay10aHVtYm5haWwgdWstdGh1bWJuYWlsLWV4cGFuZCIgc3JjPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aWNvbjsgPz4iIGFsdD0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+Ij4NCgkJCTwvYT4NCgkJCTxociAvPg0KCQk8P3BocCBlbmRpZjsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnbGlzdF9zZXJpZXNfZGVzYycpICYmICRkaXNwbGF5RGF0YS0+ZGVzYyk6ID8+DQoJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjOyA/Pg0KCQk8aHIgLz4NCgk8P3BocCBlbmRpZjsgPz4NCgk8YSBjbGFzcz0idWstYnV0dG9uIHVrLXdpZHRoLTEtMSB1ay1tYXJnaW4tc21hbGwtYm90dG9tIHVrLWJ1dHRvbi1zdWNjZXNzIiBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iPg0KCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdPcGVuJyk7ID8+DQoJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdsaXN0X3Nlcmllc19zZXJtb25fY291bnQnKSk6ID8+DQoJCQk8c3BhbiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBDb3VudCcpOyA/PiI+KDw/cGhwIGVjaG8gY291bnQoJGRpc3BsYXlEYXRhLT5pZFNlcmllc1Nlcm1vbkIpOyA/Pik8L3NwYW4+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCTwvYT4NCjwvZGl2Pg==', 'Series Panel', 88, '', 1, 450, 450, '2015-11-06 14:40:04', '2015-11-18 23:42:31', 12, '', 1, 8), -(21, 'serieslistitem', 'One Series List Item', 20, 'PGEgPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2xpc3Rfc2VyaWVzX3Nlcm1vbl9jb3VudCcpKTogPz4gZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgPz46IDw/cGhwIGVjaG8gY291bnQoJGRpc3BsYXlEYXRhLT5pZFNlcmllc1Nlcm1vbkIpOyA/PiIgPD9waHAgZW5kaWY7ID8+aHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmxpbms7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz48L2E+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnbGlzdF9zZXJpZXNfZGVzYycpICYmICRkaXNwbGF5RGF0YS0+ZGVzYyk6ID8+DQoJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmRlc2M7ID8+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdsaXN0X3Nlcmllc19oaXRzJykpOiA/Pg0KCTxlbT48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz48L2VtPg0KPD9waHAgZW5kaWYgOz8+', 'Series List Item', 88, '', 1, 450, 450, '2015-11-07 16:03:24', '2015-11-09 12:51:21', 4, '', 1, 8), -(22, 'seriesrow', 'One Series Table Row', 20, 'PHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5hbGlhczsgPz4iPg0KCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9hPg0KPC90ZD4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdsaXN0X3Nlcmllc19kZXNjJykpOiA/Pg0KPHRkPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPmRlc2NyaXB0aW9uKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmRlc2NyaXB0aW9uOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2xpc3Rfc2VyaWVzX2hpdHMnKSk6ID8+DQo8dGQgZGF0YS12YWx1ZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmhpdHM7ID8+Ij4NCgkJPD9waHANCgkJCSRoaXRzX3N0YXRlCT0gKCRkaXNwbGF5RGF0YS0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCSRiYWRnZV9jbGFzcwk9ICgkaGl0c19zdGF0ZSkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOw0KCQkJJGJhZGdlX2ljb24JPSAoJGhpdHNfc3RhdGUpID8gJ2NoZWNrLWNpcmNsZSc6J21pbnVzLWNpcmNsZSc7DQoJCT8+DQoJCTxkaXYgY2xhc3M9InVrLWJhZGdlIHVrLWJhZGdlIDw/cGhwIGVjaG8gJGJhZGdlX2NsYXNzOyA/PiI+DQoJCQk8aSBjbGFzcz0idWstaWNvbi08P3BocCBlY2hvICRiYWRnZV9pY29uOyA/PiI+PC9pPg0KCQkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmhpdHM7ID8+DQoJCTwvZGl2Pg0KPC90ZD4NCjw/cGhwIGVuZGlmIDs/Pg0KPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2xpc3Rfc2VyaWVzX3Nlcm1vbl9jb3VudCcpKTogPz4NCjx0ZCBkYXRhLXZhbHVlPSI8P3BocCBlY2hvIGNvdW50KCRkaXNwbGF5RGF0YS0+aWRTZXJpZXNTZXJtb25CKTsgPz4iPg0KCQk8P3BocCAkYmFkZ2VfY2xhc3MgPSAoY291bnQoJGRpc3BsYXlEYXRhLT5pZFNlcmllc1Nlcm1vbkIpID4gMCkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOyA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPjw/cGhwIGVjaG8gY291bnQoJGRpc3BsYXlEYXRhLT5pZFNlcmllc1Nlcm1vbkIpOyA/PjwvZGl2Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg==', 'Series Table Row', 88, '', 1, 450, 450, '2015-11-07 16:41:03', '2015-11-07 23:38:12', 4, '', 1, 8), -(23, 'preacherspanel', 'Preachers Panel', 20, 'PGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2hpdHMnKSk6ID8+DQoJCTw/cGhwDQoJCQkkaGl0c19zdGF0ZQk9ICgkZGlzcGxheURhdGEtPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZiA7Pz4NCgk8aDMgY2xhc3M9InVrLXBhbmVsLXRpdGxlIj48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz48L2gzPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfaWNvbicpKTogPz4NCgkJPD9waHAgJGRpc3BsYXlEYXRhLT5pY29uID0gKCRkaXNwbGF5RGF0YS0+aWNvbikgPyAkZGlzcGxheURhdGEtPmljb24gOiAkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9kZWZhdWx0X2ljb24nKTsgPz4NCgkJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+aWNvbik6ID8+DQoJCQk8YSBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdPcGVuJyk7ID8+IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5uYW1lOyA/PiI+DQoJCQk8aW1nIGNsYXNzPSJ1ay10aHVtYm5haWwgdWstdGh1bWJuYWlsLWV4cGFuZCIgc3JjPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aWNvbjsgPz4iIGFsdD0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+Ij4NCgkJCTwvYT4NCgkJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfZGVzYycpICYmICRkaXNwbGF5RGF0YS0+ZGVzYyk6ID8+DQoJCQkJPGhyIC8+DQoJCQk8P3BocCBlbHNlaWYgKCghJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX3dlYnNpdGUnKSB8fCAhJGRpc3BsYXlEYXRhLT53ZWJzaXRlKSAmJiAoISRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19lbWFpbCcpIHx8ICEkZGlzcGxheURhdGEtPmVtYWlsKSk6ID8+DQoJCQkJPGhyIC8+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19kZXNjJykgJiYgJGRpc3BsYXlEYXRhLT5kZXNjKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmRlc2M7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfd2Vic2l0ZScpICYmICRkaXNwbGF5RGF0YS0+d2Vic2l0ZSkgfHwgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19lbWFpbCcpICYmICRkaXNwbGF5RGF0YS0+ZW1haWwpKTogPz4NCgkJPHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX3dlYnNpdGUnKSAmJiAkZGlzcGxheURhdGEtPndlYnNpdGUpOiA/Pg0KCQkJCTxsaT48aSBjbGFzcz0idWstaWNvbi1leHRlcm5hbC1saW5rIj48L2k+IDxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT53ZWJzaXRlOyA/PiIgdGFyZ2V0PSJfYmxhbmsiIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnR28gdG8gd2Vic2l0ZSBvZicpOyA/PiA8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT53ZWJzaXRlOyA/PjwvYT48L2xpPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2VtYWlsJykgJiYgJGRpc3BsYXlEYXRhLT5lbWFpbCk6ID8+DQoJCQkJPGxpPjxpIGNsYXNzPSJ1ay1pY29uLWVudmVsb3BlLW8iPjwvaT4gPGEgaHJlZj0ibWFpbHRvOjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5lbWFpbDsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VuZCBlbWFpbCB0bycpOyA/PiA8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5lbWFpbDsgPz48L2E+PC9saT4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L3VsPg0KCTw/cGhwIGVsc2VpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPmRlc2MpOiA/Pg0KCQk8aHIgLz4NCgk8P3BocCBlbmRpZjsgPz4NCgk8YSBjbGFzcz0idWstYnV0dG9uIHVrLXdpZHRoLTEtMSB1ay1tYXJnaW4tc21hbGwtYm90dG9tIHVrLWJ1dHRvbi1zdWNjZXNzIiBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iIHRpdGxlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz4iPg0KCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdPcGVuJyk7ID8+DQoJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfc2VybW9uX2NvdW50JykpOiA/Pg0KCQkJPHNwYW4gZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gQ291bnQnKTsgPz4iPig8P3BocCBlY2hvIGNvdW50KCRkaXNwbGF5RGF0YS0+aWRQcmVhY2hlclNlcm1vbkIpOyA/Pik8L3NwYW4+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCTwvYT4NCjwvZGl2Pg==', 'Preachers Panel', 88, '', 1, 450, 450, '2015-11-06 14:40:04', '2015-11-18 23:43:07', 18, '', 1, 8), -(24, 'preacherslistitem', 'Preachers List Item', 20, 'PGEgPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19zZXJtb25fY291bnQnKSk6ID8+IGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIENvdW50Jyk7ID8+OiA8P3BocCBlY2hvIGNvdW50KCRkaXNwbGF5RGF0YS0+aWRQcmVhY2hlclNlcm1vbkIpOyA/PiIgPD9waHAgZW5kaWY7ID8+aHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmxpbms7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz48L2E+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX3dlYnNpdGUnKSk6ID8+DQoJPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPndlYnNpdGU7ID8+IiB0YXJnZXQ9Il9ibGFuayIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdHbyB0byB3ZWJzaXRlIG9mJyk7ID8+IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5uYW1lOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPndlYnNpdGU7ID8+PC9hPg0KPD9waHAgZW5kaWYgOz8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2VtYWlsJykpOiA/Pg0KCTxhIGhyZWY9Im1haWx0bzo8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+ZW1haWw7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NlbmQgZW1haWwgdG8nKTsgPz4gPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+ZW1haWw7ID8+PC9hPg0KPD9waHAgZW5kaWYgOz8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPmRlc2MpOiA/Pg0KCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjOyA/Pg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2hpdHMnKSk6ID8+DQoJPGVtPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/PjwvZW0+DQo8P3BocCBlbmRpZiA7Pz4=', 'Preachers List Item', 88, '', 1, 450, 450, '2015-11-07 16:03:24', '2015-11-09 12:51:10', 7, '', 1, 8), -(25, 'preachersrow', 'Preachers Table Row', 20, 'PHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5hbGlhczsgPz4iPg0KCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9hPg0KPC90ZD4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfZGVzYycpKTogPz4NCjx0ZD4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5kZXNjcmlwdGlvbik6ID8+DQoJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjcmlwdGlvbjsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfd2Vic2l0ZScpKTogPz4NCjx0ZD4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT53ZWJzaXRlKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPndlYnNpdGU7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJzX2VtYWlsJykpOiA/Pg0KPHRkPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPmVtYWlsKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmVtYWlsOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyc19oaXRzJykpOiA/Pg0KPHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/PiI+DQoJCTw/cGhwDQoJCQkkaGl0c19zdGF0ZQk9ICgkZGlzcGxheURhdGEtPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCjwvdGQ+DQo8P3BocCBlbmRpZiA7Pz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcnNfc2VybW9uX2NvdW50JykpOiA/Pg0KPHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gY291bnQoJGRpc3BsYXlEYXRhLT5pZFByZWFjaGVyU2VybW9uQik7ID8+Ij4NCgkJPD9waHAgJGJhZGdlX2NsYXNzID0gKGNvdW50KCRkaXNwbGF5RGF0YS0+aWRQcmVhY2hlclNlcm1vbkIpID4gMCkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOyA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPjw/cGhwIGVjaG8gY291bnQoJGRpc3BsYXlEYXRhLT5pZFByZWFjaGVyU2VybW9uQik7ID8+PC9kaXY+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+', 'Preachers Table Row', 88, '', 1, 450, 450, '2015-11-07 16:41:03', '2015-11-08 00:11:20', 7, '', 1, 8), -(26, 'sermonlink', 'The link to a sermon', 20, 'Iw==', 'Sermon Link', '', '', 2, 450, '', '2015-11-07 23:28:12', '0000-00-00 00:00:00', 1, '', 1, 9), -(27, 'serieslink', 'The link to a series', 20, 'Iw==', 'Series Link', '', '', 2, 450, '', '2015-11-07 23:28:33', '0000-00-00 00:00:00', 1, '', 1, 9), -(28, 'preacherlink', 'The link to a preacher', 20, 'Iw==', 'Preacher Link', '', '', 2, 450, '', '2015-11-07 23:29:05', '0000-00-00 00:00:00', 1, '', 1, 9), -(29, 'preachersermonspanel', 'Sermons Panel (preacher)', 20, 'PGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19oaXRzJykpOiA/Pg0KCQk8P3BocA0KCQkJJGhpdHNfc3RhdGUJPSAoJGRpc3BsYXlEYXRhLT5oaXRzID4gMCkgPyB0cnVlOmZhbHNlOw0KCQkJJGJhZGdlX2NsYXNzCT0gKCRoaXRzX3N0YXRlKSA/ICd1ay1iYWRnZS1zdWNjZXNzJzondWstYmFkZ2Utd2FybmluZyc7DQoJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJPz4NCgkJPGRpdiBjbGFzcz0idWstcGFuZWwtYmFkZ2UgdWstYmFkZ2UgPD9waHAgZWNobyAkYmFkZ2VfY2xhc3M7ID8+Ij4NCgkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz4NCgkJPC9kaXY+DQoJPD9waHAgZW5kaWYgOz8+DQoJPGgzIGNsYXNzPSJ1ay1wYW5lbC10aXRsZSI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9oMz4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19pY29uJykpOiA/Pg0KCQk8P3BocCAkZGlzcGxheURhdGEtPmljb24gPSAoJGRpc3BsYXlEYXRhLT5pY29uKSA/ICRkaXNwbGF5RGF0YS0+aWNvbiA6ICRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcm1vbl9kZWZhdWx0X2ljb24nKTsgPz4NCgkJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+aWNvbik6ID8+DQoJCQk8YSBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdPcGVuJyk7ID8+IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5uYW1lOyA/PiI+DQoJCQk8aW1nIGNsYXNzPSJ1ay10aHVtYm5haWwgdWstdGh1bWJuYWlsLWV4cGFuZCIgc3JjPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aWNvbjsgPz4iIGFsdD0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+Ij4NCgkJCTwvYT4NCgkJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rlc2MnKSAmJiAoJGRpc3BsYXlEYXRhLT5kZXNjIHx8ICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb24pKTogPz4NCgkJCQk8aHIgLz4NCgkJCTw/cGhwIGVsc2VpZiAoKCEkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX3NlcmllcycpIHx8ICEkZGlzcGxheURhdGEtPnNlcmllc19uYW1lKSAmJiAoISRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfY2F0ZWdvcnknKSB8fCAhJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSkpOiA/Pg0KCQkJCTxociAvPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPnNob3J0X2Rlc2NyaXB0aW9uKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNob3J0X2Rlc2NyaXB0aW9uOyA/Pg0KCTw/cGhwIGVsc2VpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19kZXNjJykgJiYgJGRpc3BsYXlEYXRhLT5kZXNjKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmRlc2M7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX3NlcmllcycpICYmICRkaXNwbGF5RGF0YS0+c2VyaWVzX25hbWUpIHx8ICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2NhdGVnb3J5JykgJiYgJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSkpOiA/Pg0KCQk8dWwgY2xhc3M9InVrLWxpc3Q8P3BocCBlY2hvICRsaXN0Q2xhc3M7ID8+Ij4NCgkJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX3NlcmllcycpICYmICRkaXNwbGF5RGF0YS0+c2VyaWVzX25hbWUpOiA/Pg0KCQkJCTxsaT48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJpZXMnKTsgPz46IDxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbGluazsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNlcmllc19uYW1lOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNlcmllc19uYW1lOyA/PjwvYT48L2xpPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19jYXRlZ29yeScpICYmICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnkpOiA/Pg0KCQkJCTxsaT48P3BocCBlY2hvIEpUZXh0OjpfKCdDYXRlZ29yeScpOyA/PjogPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmNhdGVnb3J5X2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz48L2E+PC9saT4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L3VsPg0KCTw/cGhwIGVsc2VpZiAoKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfZGVzYycpICYmICgkZGlzcGxheURhdGEtPmRlc2MgfHwgJGRpc3BsYXlEYXRhLT5zaG9ydF9kZXNjcmlwdGlvbikpICYmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX29wZW4nKSB8fCAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19kb3dubG9hZHMnKSAmJiBpc3NldCgkZGlzcGxheURhdGEtPmRvd25sb2FkX2xpbmtzKSkpKTogPz4NCgkJPGhyIC8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfb3BlbicpICYmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rvd25sb2FkcycpICYmIGlzc2V0KCRkaXNwbGF5RGF0YS0+ZG93bmxvYWRfbGlua3MpKSk6ID8+DQoJCTw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdvcGVuc2VybW9uYnV0dG9uJywgJGRpc3BsYXlEYXRhKTsgPz4NCgkJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ2Rvd25sb2Fkc2VybW9uYnV0dG9uJywgJGRpc3BsYXlEYXRhKTsgPz4NCgk8P3BocCBlbHNlaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfb3BlbicpKTogPz4NCgkJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ29wZW5zZXJtb25idXR0b24nLCAkZGlzcGxheURhdGEpOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC9kaXY+DQo=', 'Preacher Sermons Panel', 88, '', 2, 450, 450, '2015-11-06 14:40:04', '2015-11-18 23:41:16', 32, '', 1, 8), -(30, 'preachersermonslistitem', 'Sermons List Item (preacher)', 20, 'PGEgPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfZG93bmxvYWRfY291bnQnKSk6ID8+IGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIERvd25sb2FkIENvdW50Jyk7ID8+OiA8P3BocCBlY2hvIDQ7ID8+IiA8P3BocCBlbmRpZjsgPz5ocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5uYW1lOyA/PjwvYT4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX3NlcmllcycpKTogPz4NCgk8YSBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2VyaWVzX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbmFtZTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbmFtZTsgPz48L2E+DQo8P3BocCBlbmRpZiA7Pz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2NhdGVnb3J5JykpOiA/Pg0KCTxhIGhyZWY9Im1haWx0bzo8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnk7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz48L2E+DQo8P3BocCBlbmRpZiA7Pz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPnNob3J0X2Rlc2NyaXB0aW9uKTogPz4NCgk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb247ID8+DQo8P3BocCBlbHNlaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfZGVzYycpICYmICRkaXNwbGF5RGF0YS0+ZGVzYyk6ID8+DQoJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmRlc2M7ID8+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2hpdHMnKSk6ID8+DQoJPGVtPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/PjwvZW0+DQo8P3BocCBlbmRpZiA7Pz4=', 'Preacher Sermons List Item', 88, '', 2, 450, 450, '2015-11-07 16:03:24', '2015-11-13 00:05:32', 12, '', 1, 8), -(31, 'preachersermonsrow', 'Sermons Table Row (preacher)', 20, 'PHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5hbGlhczsgPz4iPg0KCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9hPg0KPC90ZD4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2Rlc2MnKSk6ID8+DQo8dGQ+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb24pOiA/Pg0KCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb247ID8+DQoJPD9waHAgZWxzZWlmICgkZGlzcGxheURhdGEtPmRlc2NyaXB0aW9uKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmRlc2NyaXB0aW9uOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfc2VyaWVzJykpOiA/Pg0KPHRkPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnNlcmllcyk6ID8+DQoJCTxhIGNsYXNzPSIiIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbGluazsgPz4iIHRpdGxlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2VyaWVzX25hbWUgPz4iPg0KCQkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNlcmllc19uYW1lID8+DQoJCTwvYT4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2NhdGVnb3J5JykpOiA/Pg0KPHRkPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPmNhdGVnb3J5KTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmNhdGVnb3J5OyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3ByZWFjaGVyX3Nlcm1vbnNfZG93bmxvYWRzJykpOiA/Pg0KPHRkPg0KCTw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdkb3dubG9hZHNlcm1vbmJ1dHRvbicsICRkaXNwbGF5RGF0YSk7ID8+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19kb3dubG9hZF9jb3VudGVyJykpOiA/Pg0KPHRkPg0KCTw/cGhwDQoJCSRjb3VudGVyX3N0YXRlCT0gKCRkaXNwbGF5RGF0YS0+c3RhdGlzdGljVG90YWwgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCSRjb3VudGVyX2NsYXNzCT0gKCRjb3VudGVyX3N0YXRlKSA/ICd1ay1iYWRnZS1zdWNjZXNzJzondWstYmFkZ2Utd2FybmluZyc7DQoJCSRjb3VudGVyX2ljb24JPSAoJGNvdW50ZXJfc3RhdGUpID8gJ2NoZWNrLWNpcmNsZSc6J21pbnVzLWNpcmNsZSc7DQoJPz4NCgkNCgk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRjb3VudGVyX2NsYXNzOyA/PiI+DQoJCTxzcGFuIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIFRvdGFsIERvd25sb2FkcycpOyA/PiI+DQoJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGNvdW50ZXJfaWNvbjsgPz4iPjwvaT4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnN0YXRpc3RpY1RvdGFsOyA/Pg0KCQk8L3NwYW4+DQoJPC9kaXY+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgncHJlYWNoZXJfc2VybW9uc19oaXRzJykpOiA/Pg0KPHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/PiI+DQoJCTw/cGhwDQoJCQkkaGl0c19zdGF0ZQk9ICgkZGlzcGxheURhdGEtPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCjwvdGQ+DQo8P3BocCBlbmRpZiA7Pz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdwcmVhY2hlcl9zZXJtb25zX2NvdW50JykpOiA/Pg0KPHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gMjsgPz4iPg0KCQk8P3BocCAkYmFkZ2VfY2xhc3MgPSAoMSkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOyA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPjw/cGhwIGVjaG8gMjsgPz48L2Rpdj4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4=', 'Preacher Sermons Table Row', 88, '', 2, 450, 450, '2015-11-07 16:41:03', '2015-11-13 00:07:29', 16, '', 1, 8), -(32, 'seriessermonspanel', 'Sermons Panel (series)', 20, 'PGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfaGl0cycpKTogPz4NCgkJPD9waHANCgkJCSRoaXRzX3N0YXRlCT0gKCRkaXNwbGF5RGF0YS0+aGl0cyA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJCSRiYWRnZV9jbGFzcwk9ICgkaGl0c19zdGF0ZSkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOw0KCQkJJGJhZGdlX2ljb24JPSAoJGhpdHNfc3RhdGUpID8gJ2NoZWNrLWNpcmNsZSc6J21pbnVzLWNpcmNsZSc7DQoJCT8+DQoJCTxkaXYgY2xhc3M9InVrLXBhbmVsLWJhZGdlIHVrLWJhZGdlIDw/cGhwIGVjaG8gJGJhZGdlX2NsYXNzOyA/PiI+DQoJCQk8aSBjbGFzcz0idWstaWNvbi08P3BocCBlY2hvICRiYWRnZV9pY29uOyA/PiI+PC9pPg0KCQkJPD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmhpdHM7ID8+DQoJCTwvZGl2Pg0KCTw/cGhwIGVuZGlmIDs/Pg0KCTxoMyBjbGFzcz0idWstcGFuZWwtdGl0bGUiPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5uYW1lOyA/PjwvaDM+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2ljb24nKSk6ID8+DQoJCTw/cGhwICRkaXNwbGF5RGF0YS0+aWNvbiA9ICgkZGlzcGxheURhdGEtPmljb24pID8gJGRpc3BsYXlEYXRhLT5pY29uIDogJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VybW9uX2RlZmF1bHRfaWNvbicpOyA/Pg0KCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5pY29uKTogPz4NCgkJCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiIgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ09wZW4nKTsgPz4gPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+Ij4NCgkJCTxpbWcgY2xhc3M9InVrLXRodW1ibmFpbCB1ay10aHVtYm5haWwtZXhwYW5kIiBzcmM9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz4iPg0KCQkJPC9hPg0KCQkJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rlc2MnKSAmJiAoJGRpc3BsYXlEYXRhLT5kZXNjIHx8ICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb24pKTogPz4NCgkJCQk8aHIgLz4NCgkJCTw/cGhwIGVsc2VpZiAoKCEkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19wcmVhY2hlcicpIHx8ICEkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWUpICYmICghJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfY2F0ZWdvcnknKSB8fCAhJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSkpOiA/Pg0KCQkJCTxociAvPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kZXNjJykgJiYgJGRpc3BsYXlEYXRhLT5zaG9ydF9kZXNjcmlwdGlvbik6ID8+DQoJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zaG9ydF9kZXNjcmlwdGlvbjsgPz4NCgk8P3BocCBlbHNlaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPmRlc2MpOiA/Pg0KCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+ZGVzYzsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCgk8P3BocCBpZiAoKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX3ByZWFjaGVyJykgJiYgJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lKSB8fCAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfY2F0ZWdvcnknKSAmJiAkZGlzcGxheURhdGEtPmNhdGVnb3J5KSk6ID8+DQoJCTx1bCBjbGFzcz0idWstbGlzdDw/cGhwIGVjaG8gJGxpc3RDbGFzczsgPz4iPg0KCQkJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX3ByZWFjaGVyJykgJiYgJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lKTogPz4NCgkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnUHJlYWNoZXInKTsgPz46IDxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9saW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+cHJlYWNoZXJfbmFtZTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lOyA/PjwvYT48L2xpPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfY2F0ZWdvcnknKSAmJiAkZGlzcGxheURhdGEtPmNhdGVnb3J5KTogPz4NCgkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnQ2F0ZWdvcnknKTsgPz46IDxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeV9saW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnk7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnk7ID8+PC9hPjwvbGk+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPC91bD4NCgk8P3BocCBlbHNlaWYgKCgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kZXNjJykgJiYgJGRpc3BsYXlEYXRhLT5kZXNjKSAmJiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfb3BlbicpIHx8ICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kb3dubG9hZHMnKSAmJiBpc3NldCgkZGlzcGxheURhdGEtPmRvd25sb2FkX2xpbmtzKSkpKTogPz4NCgkJPGhyIC8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX29wZW4nKSAmJiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfZG93bmxvYWRzJykgJiYgaXNzZXQoJGRpc3BsYXlEYXRhLT5kb3dubG9hZF9saW5rcykpKTogPz4NCgkJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ29wZW5zZXJtb25idXR0b24nLCAkZGlzcGxheURhdGEpOyA/Pg0KCQk8P3BocCBlY2hvIEpMYXlvdXRIZWxwZXI6OnJlbmRlcignZG93bmxvYWRzZXJtb25idXR0b24nLCAkZGlzcGxheURhdGEpOyA/Pg0KCTw/cGhwIGVsc2VpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfb3BlbicpKTogPz4NCgkJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ29wZW5zZXJtb25idXR0b24nLCAkZGlzcGxheURhdGEpOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC9kaXY+', 'Series Sermons Panel', 88, '', 2, 450, 450, '2015-11-06 14:40:04', '2015-11-18 23:43:26', 30, '', 1, 8), -(33, 'sereissermonslistitem', 'Sermons List Item (series)', 20, 'PGEgPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rvd25sb2FkX2NvdW50JykpOiA/PiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBEb3dubG9hZCBDb3VudCcpOyA/PjogPD9waHAgZWNobyA0OyA/PiIgPD9waHAgZW5kaWY7ID8+aHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmxpbms7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz48L2E+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfcHJlYWNoZXInKSk6ID8+DQoJPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWU7ID8+PC9hPg0KPD9waHAgZW5kaWYgOz8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfY2F0ZWdvcnknKSk6ID8+DQoJPGEgaHJlZj0ibWFpbHRvOjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmNhdGVnb3J5OyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPmNhdGVnb3J5OyA/PjwvYT4NCjw/cGhwIGVuZGlmIDs/Pg0KPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPnNob3J0X2Rlc2NyaXB0aW9uKTogPz4NCgk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb247ID8+DQo8P3BocCBlbHNlaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ3Nlcmllc19zZXJtb25zX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPmRlc2MpOiA/Pg0KCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjOyA/Pg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfaGl0cycpKTogPz4NCgk8ZW0+PD9waHAgZWNobyBKVGV4dDo6XygnSGl0cycpOyA/PjogPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmhpdHM7ID8+PC9lbT4NCjw/cGhwIGVuZGlmIDs/Pg==', 'Series Sermons List Item', 88, '', 2, 450, 450, '2015-11-07 16:03:24', '2015-11-10 05:33:26', 11, '', 1, 8), -(34, 'seriessermonsrow', 'Sermons Table Row (series)', 20, 'PHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5hbGlhczsgPz4iPg0KCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9hPg0KPC90ZD4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kZXNjJykpOiA/Pg0KPHRkPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnNob3J0X2Rlc2NyaXB0aW9uKTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNob3J0X2Rlc2NyaXB0aW9uOyA/Pg0KCTw/cGhwIGVsc2VpZiAoJGRpc3BsYXlEYXRhLT5kZXNjcmlwdGlvbik6ID8+DQoJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjcmlwdGlvbjsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19wcmVhY2hlcicpKTogPz4NCjx0ZD4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wcmVhY2hlcik6ID8+DQoJCTxhIGNsYXNzPSIiIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9saW5rOyA/PiIgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lID8+Ij4NCgkJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lID8+DQoJCTwvYT4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19jYXRlZ29yeScpKTogPz4NCjx0ZD4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSk6ID8+DQoJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kb3dubG9hZHMnKSk6ID8+DQo8dGQ+DQoJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ2Rvd25sb2Fkc2VybW9uYnV0dG9uJywgJGRpc3BsYXlEYXRhKTsgPz4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJpZXNfc2VybW9uc19kb3dubG9hZF9jb3VudGVyJykpOiA/Pg0KPHRkPg0KCTw/cGhwDQoJCSRjb3VudGVyX3N0YXRlCT0gKCRkaXNwbGF5RGF0YS0+c3RhdGlzdGljVG90YWwgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCSRjb3VudGVyX2NsYXNzCT0gKCRjb3VudGVyX3N0YXRlKSA/ICd1ay1iYWRnZS1zdWNjZXNzJzondWstYmFkZ2Utd2FybmluZyc7DQoJCSRjb3VudGVyX2ljb24JPSAoJGNvdW50ZXJfc3RhdGUpID8gJ2NoZWNrLWNpcmNsZSc6J21pbnVzLWNpcmNsZSc7DQoJPz4NCgkNCgk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRjb3VudGVyX2NsYXNzOyA/PiI+DQoJCTxzcGFuIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIFRvdGFsIERvd25sb2FkcycpOyA/PiI+DQoJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGNvdW50ZXJfaWNvbjsgPz4iPjwvaT4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnN0YXRpc3RpY1RvdGFsOyA/Pg0KCQk8L3NwYW4+DQoJPC9kaXY+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfaGl0cycpKTogPz4NCjx0ZCBkYXRhLXZhbHVlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz4iPg0KCQk8P3BocA0KCQkJJGhpdHNfc3RhdGUJPSAoJGRpc3BsYXlEYXRhLT5oaXRzID4gMCkgPyB0cnVlOmZhbHNlOw0KCQkJJGJhZGdlX2NsYXNzCT0gKCRoaXRzX3N0YXRlKSA/ICd1ay1iYWRnZS1zdWNjZXNzJzondWstYmFkZ2Utd2FybmluZyc7DQoJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJPz4NCgkJPGRpdiBjbGFzcz0idWstYmFkZ2UgdWstYmFkZ2UgPD9waHAgZWNobyAkYmFkZ2VfY2xhc3M7ID8+Ij4NCgkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz4NCgkJPC9kaXY+DQo8L3RkPg0KPD9waHAgZW5kaWYgOz8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnc2VyaWVzX3Nlcm1vbnNfY291bnQnKSk6ID8+DQo8dGQgZGF0YS12YWx1ZT0iPD9waHAgZWNobyAyOyA/PiI+DQoJCTw/cGhwICRiYWRnZV9jbGFzcyA9ICgxKSA/ICd1ay1iYWRnZS1zdWNjZXNzJzondWstYmFkZ2Utd2FybmluZyc7ID8+DQoJCTxkaXYgY2xhc3M9InVrLWJhZGdlIHVrLWJhZGdlIDw/cGhwIGVjaG8gJGJhZGdlX2NsYXNzOyA/PiI+PD9waHAgZWNobyAyOyA/PjwvZGl2Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg==', 'Series Sermons Table Row', 88, '', 2, 450, 450, '2015-11-07 16:41:03', '2015-11-13 00:16:34', 14, '', 1, 8), -(38, 'sermonsrow', 'Sermons Table Row', 20, 'PHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5hbGlhczsgPz4iPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfb3BlbicpKTogPz4NCgkJPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmxpbms7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz48L2E+DQoJPD9waHAgZWxzZTogPz4NCgkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ2FkZHRvZHJvcGJveGljb24nLCAkZGlzcGxheURhdGEpOyA/Pg0KPC90ZD4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZGVzYycpKTogPz4NCjx0ZD4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5zaG9ydF9kZXNjcmlwdGlvbik6ID8+DQoJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zaG9ydF9kZXNjcmlwdGlvbjsgPz4NCgk8P3BocCBlbHNlaWYgKCRkaXNwbGF5RGF0YS0+ZGVzY3JpcHRpb24pOiA/Pg0KCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+ZGVzY3JpcHRpb247ID8+DQoJPD9waHAgZW5kaWY7ID8+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoKCRkaXNwbGF5RGF0YS0+dmlld0tleSA9PSAnc2VyaWVzJyB8fCAkZGlzcGxheURhdGEtPnZpZXdLZXkgPT0gJ2NhdGVnb3J5JykgJiYgJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX3ByZWFjaGVyJykpOiA/Pg0KPHRkPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnByZWFjaGVyKTogPz4NCgkJPGEgY2xhc3M9IiIgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX2xpbms7ID8+IiB0aXRsZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWUgPz4iPg0KCQkJPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWUgPz4NCgkJPC9hPg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCgkZGlzcGxheURhdGEtPnZpZXdLZXkgPT0gJ3ByZWFjaGVyJyB8fCAkZGlzcGxheURhdGEtPnZpZXdLZXkgPT0gJ2NhdGVnb3J5JykgICYmICRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19zZXJpZXMnKSk6ID8+DQo8dGQ+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+c2VyaWVzKTogPz4NCgkJPGEgY2xhc3M9IiIgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNlcmllc19saW5rOyA/PiIgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbmFtZSA/PiI+DQoJCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2VyaWVzX25hbWUgPz4NCgkJPC9hPg0KCTw/cGhwIGVuZGlmOyA/Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+dmlld0tleSAhPSAnY2F0ZWdvcnknICYmICRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19jYXRlZ29yeScpKTogPz4NCjx0ZD4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSk6ID8+DQoJCTxhIGNsYXNzPSIiIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeV9saW5rOyA/PiIgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSA/PiI+DQoJCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnk7ID8+DQoJCTwvYT4NCgk8P3BocCBlbmRpZjsgPz4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZG93bmxvYWRzJykpOiA/Pg0KPHRkPg0KCTw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdkb3dubG9hZHNlcm1vbmJ1dHRvbicsICRkaXNwbGF5RGF0YSk7ID8+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSk6ID8+DQo8dGQ+DQoJPD9waHANCgkJJGNvdW50ZXJfc3RhdGUJPSAoJGRpc3BsYXlEYXRhLT5zdGF0aXN0aWNUb3RhbCA+IDApID8gdHJ1ZTpmYWxzZTsNCgkJJGNvdW50ZXJfY2xhc3MJPSAoJGNvdW50ZXJfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJJGNvdW50ZXJfaWNvbgk9ICgkY291bnRlcl9zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgk/Pg0KCQ0KCTxkaXYgY2xhc3M9InVrLWJhZGdlIHVrLWJhZGdlIDw/cGhwIGVjaG8gJGNvdW50ZXJfY2xhc3M7ID8+Ij4NCgkJPHNwYW4gZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gVG90YWwgRG93bmxvYWRzJyk7ID8+Ij4NCgkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkY291bnRlcl9pY29uOyA/PiI+PC9pPg0KCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c3RhdGlzdGljVG90YWw7ID8+DQoJCTwvc3Bhbj4NCgk8L2Rpdj4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfaGl0cycpKTogPz4NCjx0ZCBkYXRhLXZhbHVlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz4iPg0KCQk8P3BocA0KCQkJJGhpdHNfc3RhdGUJPSAoJGRpc3BsYXlEYXRhLT5oaXRzID4gMCkgPyB0cnVlOmZhbHNlOw0KCQkJJGJhZGdlX2NsYXNzCT0gKCRoaXRzX3N0YXRlKSA/ICd1ay1iYWRnZS1zdWNjZXNzJzondWstYmFkZ2Utd2FybmluZyc7DQoJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJPz4NCgkJPGRpdiBjbGFzcz0idWstYmFkZ2UgdWstYmFkZ2UgPD9waHAgZWNobyAkYmFkZ2VfY2xhc3M7ID8+Ij4NCgkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz4NCgkJPC9kaXY+DQo8L3RkPg0KPD9waHAgZW5kaWYgOz8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2NvdW50JykpOiA/Pg0KPHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gMjsgPz4iPg0KCQk8P3BocCAkYmFkZ2VfY2xhc3MgPSAoMSkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOyA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPjw/cGhwIGVjaG8gMjsgPz48L2Rpdj4NCjwvdGQ+DQo8P3BocCBlbmRpZjsgPz4=', 'Sermons Table Row', 88, '', 1, 450, 450, '2015-11-13 00:34:02', '2015-11-21 22:39:55', 9, '', 1, 8), -(37, 'sermonspanel', 'Sermons Panel', 20, 'PGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2hpdHMnKSk6ID8+DQoJCTw/cGhwDQoJCQkkaGl0c19zdGF0ZQk9ICgkZGlzcGxheURhdGEtPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1wYW5lbC1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCgk8P3BocCBlbmRpZiA7Pz4NCgk8aDMgY2xhc3M9InVrLXBhbmVsLXRpdGxlIj48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz48L2gzPg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfaWNvbicpKTogPz4NCgkJPD9waHAgJGRpc3BsYXlEYXRhLT5pY29uID0gKCRkaXNwbGF5RGF0YS0+aWNvbikgPyAkZGlzcGxheURhdGEtPmljb24gOiAkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdzZXJtb25fZGVmYXVsdF9pY29uJyk7ID8+DQoJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPmljb24pOiA/Pg0KCQkJPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmxpbms7ID8+IiB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnT3BlbiBTZXJtb24nKTsgPz4gPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+Ij4NCgkJCQk8aW1nIGNsYXNzPSJ1ay10aHVtYm5haWwgdWstdGh1bWJuYWlsLWV4cGFuZCIgc3JjPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aWNvbjsgPz4iIGFsdD0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+Ij4NCgkJCTwvYT4NCgkJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZGVzYycpICYmICgkZGlzcGxheURhdGEtPmRlc2MgfHwgJGRpc3BsYXlEYXRhLT5zaG9ydF9kZXNjcmlwdGlvbikpOiA/Pg0KCQkJCTxociAvPg0KCQkJPD9waHAgZWxzZWlmICgkZGlzcGxheURhdGEtPnZpZXdLZXkgPT0gJ3NlcmllcycgJiYgKCghJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX3ByZWFjaGVyJykgfHwgISRkaXNwbGF5RGF0YS0+cHJlYWNoZXJfbmFtZSkgJiYgKCEkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfY2F0ZWdvcnknKSB8fCAhJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSkpKTogPz4NCgkJCQk8aHIgLz4NCgkJCTw/cGhwIGVsc2VpZiAoJGRpc3BsYXlEYXRhLT52aWV3S2V5ID09ICdwcmVhY2hlcicgJiYgKCghJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX3NlcmllcycpIHx8ICEkZGlzcGxheURhdGEtPnNlcmllc19uYW1lKSAmJiAoISRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19jYXRlZ29yeScpIHx8ICEkZGlzcGxheURhdGEtPmNhdGVnb3J5KSkpOiA/Pg0KCQkJCTxociAvPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZGVzYycpICYmICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb24pOiA/Pg0KCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb247ID8+DQoJPD9waHAgZWxzZWlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZGVzYycpICYmICRkaXNwbGF5RGF0YS0+ZGVzYyk6ID8+DQoJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnZpZXdLZXkgPT0gJ3ByZWFjaGVyJyAmJiAoKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19zZXJpZXMnKSAmJiAkZGlzcGxheURhdGEtPnNlcmllc19uYW1lKSB8fCAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2NhdGVnb3J5JykgJiYgJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSkpKTogPz4NCgkJPHVsIGNsYXNzPSJ1ay1saXN0PD9waHAgZWNobyAkbGlzdENsYXNzOyA/PiI+DQoJCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX3NlcmllcycpICYmICRkaXNwbGF5RGF0YS0+c2VyaWVzX25hbWUpOiA/Pg0KCQkJCTxsaT48P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJpZXMnKTsgPz46IDxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbGluazsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNlcmllc19uYW1lOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPnNlcmllc19uYW1lOyA/PjwvYT48L2xpPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2NhdGVnb3J5JykgJiYgJGRpc3BsYXlEYXRhLT5jYXRlZ29yeSk6ID8+DQoJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0NhdGVnb3J5Jyk7ID8+OiA8YSBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnlfbGluazsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmNhdGVnb3J5OyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPmNhdGVnb3J5OyA/PjwvYT48L2xpPg0KCQkJPD9waHAgZW5kaWY7ID8+DQoJCTwvdWw+CQkJDQoJPD9waHAgZWxzZWlmICgkZGlzcGxheURhdGEtPnZpZXdLZXkgPT0gJ3NlcmllcycgJiYgKCgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfcHJlYWNoZXInKSAmJiAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWUpIHx8ICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfY2F0ZWdvcnknKSAmJiAkZGlzcGxheURhdGEtPmNhdGVnb3J5KSkpOiA/Pg0KCQk8dWwgY2xhc3M9InVrLWxpc3Q8P3BocCBlY2hvICRsaXN0Q2xhc3M7ID8+Ij4NCgkJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfcHJlYWNoZXInKSAmJiAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWUpOiA/Pg0KCQkJCTxsaT48P3BocCBlY2hvIEpUZXh0OjpfKCdQcmVhY2hlcicpOyA/PjogPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWU7ID8+PC9hPjwvbGk+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfY2F0ZWdvcnknKSAmJiAkZGlzcGxheURhdGEtPmNhdGVnb3J5KTogPz4NCgkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnQ2F0ZWdvcnknKTsgPz46IDxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeV9saW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnk7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnk7ID8+PC9hPjwvbGk+DQoJCQk8P3BocCBlbmRpZjsgPz4NCgkJPC91bD4JCQkNCgk8P3BocCBlbHNlaWYgKCRkaXNwbGF5RGF0YS0+dmlld0tleSA9PSAnY2F0ZWdvcnknICYmICgoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX3NlcmllcycpICYmICRkaXNwbGF5RGF0YS0+c2VyaWVzX25hbWUpIHx8ICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfcHJlYWNoZXInKSAmJiAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWUpKSk6ID8+DQoJCTx1bCBjbGFzcz0idWstbGlzdDw/cGhwIGVjaG8gJGxpc3RDbGFzczsgPz4iPg0KCQkJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19wcmVhY2hlcicpICYmICRkaXNwbGF5RGF0YS0+cHJlYWNoZXJfbmFtZSk6ID8+DQoJCQkJPGxpPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1ByZWFjaGVyJyk7ID8+OiA8YSBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+cHJlYWNoZXJfbGluazsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWU7ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+cHJlYWNoZXJfbmFtZTsgPz48L2E+PC9saT4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQkJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19zZXJpZXMnKSAmJiAkZGlzcGxheURhdGEtPnNlcmllc19uYW1lKTogPz4NCgkJCQk8bGk+PD9waHAgZWNobyBKVGV4dDo6XygnU2VyaWVzJyk7ID8+OiA8YSBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2VyaWVzX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbmFtZTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbmFtZTsgPz48L2E+PC9saT4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L3VsPg0KCTw/cGhwIGVsc2VpZiAoKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19kZXNjJykgJiYgKCRkaXNwbGF5RGF0YS0+ZGVzYyB8fCAkZGlzcGxheURhdGEtPnNob3J0X2Rlc2NyaXB0aW9uKSkgJiYgKCgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfb3BlbicpIHx8ICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdhZGRfdG9fZHJvcGJveCcpICYmIGlzc2V0KCRkaXNwbGF5RGF0YS0+ZHJvcGJveF9idXR0b25zKSkpIHx8ICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZG93bmxvYWRzJykgJiYgaXNzZXQoJGRpc3BsYXlEYXRhLT5kb3dubG9hZF9saW5rcykpKSk6ID8+DQoJCTxociAvPg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX29wZW4nKSB8fCAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnYWRkX3RvX2Ryb3Bib3gnKSAmJiBpc3NldCgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucykpKSAmJiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2Rvd25sb2FkcycpICYmIGlzc2V0KCRkaXNwbGF5RGF0YS0+ZG93bmxvYWRfbGlua3MpKSk6ID8+DQoJCTw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdvcGVuc2VybW9uYnV0dG9uJywgJGRpc3BsYXlEYXRhKTsgPz4NCgkJPD9waHAgZWNobyBKTGF5b3V0SGVscGVyOjpyZW5kZXIoJ2Rvd25sb2Fkc2VybW9uYnV0dG9uJywgJGRpc3BsYXlEYXRhKTsgPz4NCgk8P3BocCBlbHNlaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19vcGVuJykgfHwgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2FkZF90b19kcm9wYm94JykgJiYgaXNzZXQoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMpKSk6ID8+DQoJCTw/cGhwIGVjaG8gSkxheW91dEhlbHBlcjo6cmVuZGVyKCdvcGVuc2VybW9uYnV0dG9uJywgJGRpc3BsYXlEYXRhKTsgPz4NCgk8P3BocCBlbmRpZjsgPz4NCjwvZGl2Pg==', 'Sermons Panel', 88, '', 1, 450, 450, '2015-11-13 00:29:54', '2015-11-20 03:10:37', 7, '', 1, 8), -(35, 'downloadsermonbutton', 'Download Sermon Button', 20, 'PD9waHAgaWYgKGlzc2V0KCRkaXNwbGF5RGF0YS0+ZG93bmxvYWRfbGlua3MpICYmIGNvdW50KCRkaXNwbGF5RGF0YS0+ZG93bmxvYWRfbGlua3MpID09IDEpOiA/Pg0KCTw/cGhwIGZvcmVhY2ggKCRkaXNwbGF5RGF0YS0+ZG93bmxvYWRfbGlua3MgYXMgJGZpbGVuYW1lID0+ICRsaW5rKTogPz4NCgkJPGEgY2xhc3M9InVrLWJ1dHRvbiB1ay13aWR0aC0xLTEgdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay1idXR0b24tc3VjY2VzcyI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+b25jbGlja1skZmlsZW5hbWVdOyA/PiBocmVmPSI8P3BocCBlY2hvICRsaW5rOyA/PiIgdGl0bGU9Ijw/cGhwIGVjaG8gJGZpbGVuYW1lOyA/PiI+DQoJCQk8aSBjbGFzcz0idWstaWNvbi1kb3dubG9hZCI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdEb3dubG9hZCcpOyA/Pg0KCQk8L2E+DQoJPD9waHAgZW5kZm9yZWFjaDsgPz4NCjw/cGhwIGVsc2VpZiAoaXNzZXQoJGRpc3BsYXlEYXRhLT5kb3dubG9hZF9saW5rcykgJiYgY291bnQoJGRpc3BsYXlEYXRhLT5kb3dubG9hZF9saW5rcykgPiAxKTogPz4NCgk8P3BocCAkbW9kYWxJZCA9IFNlcm1vbmRpc3RyaWJ1dG9ySGVscGVyOjpyYW5kb21rZXkoNSk7ID8+DQoJPGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLXdpZHRoLTEtMSB1ay1idXR0b24tc3VjY2VzcyIgZGF0YS11ay1tb2RhbD0ie3RhcmdldDonI2Rvd25sb2FkLTw/cGhwIGVjaG8gJG1vZGFsSWQ7ID8+J30iID48aSBjbGFzcz0idWstaWNvbi1kb3dubG9hZCI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdEb3dubG9hZHMnKTsgPz48L2J1dHRvbj4NCgk8ZGl2IGlkPSJkb3dubG9hZC08P3BocCBlY2hvICRtb2RhbElkOyA/PiIgY2xhc3M9InVrLW1vZGFsIj4NCgkJPGRpdiBjbGFzcz0idWstbW9kYWwtZGlhbG9nIj4NCgkJCTxhIGNsYXNzPSJ1ay1tb2RhbC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQkJPHVsIGNsYXNzPSJ1ay1saXN0Ij4NCgkJCTw/cGhwICRudW0gPSAnQSc7IGZvcmVhY2ggKCRkaXNwbGF5RGF0YS0+ZG93bmxvYWRfbGlua3MgYXMgJGZpbGVuYW1lID0+ICRsaW5rKTogPz4NCgkJCQk8bGk+DQoJCQkJCTxhIGNsYXNzPSJ1ay1idXR0b24gdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay13aWR0aC0xLTEgdWstYnV0dG9uLXN1Y2Nlc3MiPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm9uY2xpY2tbJGZpbGVuYW1lXTsgPz4gaHJlZj0iPD9waHAgZWNobyAkbGluazsgPz4iIHRpdGxlPSI8P3BocCBlY2hvICRmaWxlbmFtZTsgPz4iPg0KCQkJCQkJPGkgY2xhc3M9InVrLWljb24tZG93bmxvYWQiPjwvaT4gPD9waHAgZWNobyBKVGV4dDo6XygnRG93bmxvYWQnKS4nICcuJG51bTsgJG51bSsrOz8+DQoJCQkJCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2Rvd25sb2FkX2NvdW50ZXInKSAmJiBpc3NldCgkZGlzcGxheURhdGEtPnN0YXRpc3RpY1skZmlsZW5hbWVdKSk6ID8+DQoJCQkJCQkJPHNwYW4gZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdEb3dubG9hZCBDb3VudGVyJyk7ID8+Ij4oPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnN0YXRpc3RpY1skZmlsZW5hbWVdOyA/Pik8L3NwYW4+DQoJCQkJCQk8P3BocCBlbmRpZjsgPz4NCgkJCQkJPC9hPg0KCQkJCTwvbGk+DQoJCQk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCQkJPC91bD4NCgkJPC9kaXY+DQoJPC9kaXY+DQo8P3BocCBlbmRpZjsgPz4=', 'Download Sermon Button', '', '', 1, 450, 450, '2015-11-12 23:59:09', '2015-11-21 01:20:21', 7, '', 1, 10), -(36, 'opensermonbutton', 'Open Sermon or Dropbox Button', 20, 'PD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19vcGVuJykgJiYgJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnYWRkX3RvX2Ryb3Bib3gnKSAmJiBpc3NldCgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucykpOiA/Pg0KCTxkaXYgY2xhc3M9InVrLWJ1dHRvbi1ncm91cCB1ay13aWR0aC0xLTEiPg0KCQk8YSBjbGFzcz0idWstYnV0dG9uIHVrLW1hcmdpbi1zbWFsbC1ib3R0b20gdWstd2lkdGgtNC01IHVrLWJ1dHRvbi1wcmltYXJ5IiBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iIHRpdGxlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tY2hlY2siPjwvaT4gPD9waHAgZWNobyBKVGV4dDo6XygnT3BlbicpOyA/Pg0KCQkJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19kb3dubG9hZF9jb3VudGVyJykgJiYgaXNzZXQoJGRpc3BsYXlEYXRhLT5zdGF0aXN0aWNUb3RhbCkpOiA/Pg0KCQkJCTxzcGFuIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIERvd25sb2FkIENvdW50ZXIgVG90YWwnKTsgPz4iPig8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c3RhdGlzdGljVG90YWw7ID8+KTwvc3Bhbj4NCgkJCTw/cGhwIGVuZGlmOyA/Pg0KCQk8L2E+DQoJCTw/cGhwIGlmIChjb3VudCgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucykgPT0gMSk6ID8+DQoJCQk8P3BocCBmb3JlYWNoICgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucyBhcyAkZmlsZW5hbWUgPT4gJGxpbmspOiA/Pg0KCQkJCTxhIGNsYXNzPSJ1ay1idXR0b24gdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay13aWR0aC0xLTUiIHRhcmdldD0iX2JsYW5rIjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5vbmNsaWNrX2Ryb2JveFskZmlsZW5hbWVdOyA/PiBocmVmPSI8P3BocCBlY2hvICRsaW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTYXZlIHRvIHlvdXIgRHJvcGJveCcpOyA/PiI+PGkgY2xhc3M9InVrLWljb24tZHJvcGJveCI+PC9pPjwvYT4NCgkJCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQoJCTw/cGhwIGVsc2VpZiAoY291bnQoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMpID4gMSk6ID8+DQoJCQk8P3BocCAkbW9kYWxJZCA9IFNlcm1vbmRpc3RyaWJ1dG9ySGVscGVyOjpyYW5kb21rZXkoNSk7ID8+DQoJCQk8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24gdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay13aWR0aC0xLTUiIGRhdGEtdWstbW9kYWw9Int0YXJnZXQ6JyNkb3dubG9hZC08P3BocCBlY2hvICRtb2RhbElkOyA/Pid9IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NhdmUgdG8geW91ciBEcm9wYm94Jyk7ID8+Ij48aSBjbGFzcz0idWstaWNvbi1kcm9wYm94Ij48L2k+PC9idXR0b24+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCTwvZGl2Pg0KCTw/cGhwIGlmIChjb3VudCgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucykgPiAxKTogPz4NCgkJPGRpdiBpZD0iZG93bmxvYWQtPD9waHAgZWNobyAkbW9kYWxJZDsgPz4iIGNsYXNzPSJ1ay1tb2RhbCI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1tb2RhbC1kaWFsb2ciPg0KCQkJCTxhIGNsYXNzPSJ1ay1tb2RhbC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQkJCTx1bCBjbGFzcz0idWstbGlzdCI+DQoJCQkJPD9waHAgJG51bSA9ICdBJzsgZm9yZWFjaCAoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMgYXMgJGZpbGVuYW1lID0+ICRsaW5rKTogPz4NCgkJCQkJPGxpPg0KCQkJCQkJPGEgY2xhc3M9InVrLWJ1dHRvbiB1ay1tYXJnaW4tc21hbGwtYm90dG9tIHVrLXdpZHRoLTEtMSIgdGFyZ2V0PSJfYmxhbmsiPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm9uY2xpY2tfZHJvYm94WyRmaWxlbmFtZV07ID8+IGhyZWY9Ijw/cGhwIGVjaG8gJGxpbms7ID8+IiAgdGl0bGU9Ijw/cGhwIGVjaG8gJGZpbGVuYW1lOyA/PiI+DQoJCQkJCQkJPGkgY2xhc3M9InVrLWljb24tZHJvcGJveCI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdTYXZlIHRvIHlvdXIgRHJvcGJveCcpLicgJy4kbnVtOyAkbnVtKys7Pz4NCgkJCQkJCTwvYT4NCgkJCQkJPC9saT4NCgkJCQk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCQkJCTwvdWw+DQoJCQk8L2Rpdj4NCgkJIDwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgZWxzZWlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfb3BlbicpKTogPz4NCgk8YSBjbGFzcz0idWstYnV0dG9uIHVrLXdpZHRoLTEtMSB1ay1tYXJnaW4tc21hbGwtYm90dG9tIHVrLWJ1dHRvbi1wcmltYXJ5IiBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iIHRpdGxlPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz4iPg0KCQk8aSBjbGFzcz0idWstaWNvbi1jaGVjayI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdPcGVuJyk7ID8+DQoJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZG93bmxvYWRfY291bnRlcicpICYmIGlzc2V0KCRkaXNwbGF5RGF0YS0+c3RhdGlzdGljVG90YWwpKTogPz4NCgkJCTxzcGFuIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2VybW9uIERvd25sb2FkIENvdW50ZXIgVG90YWwnKTsgPz4iPig8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c3RhdGlzdGljVG90YWw7ID8+KTwvc3Bhbj4NCgkJPD9waHAgZW5kaWY7ID8+DQoJPC9hPg0KPD9waHAgZWxzZWlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdhZGRfdG9fZHJvcGJveCcpICYmIGlzc2V0KCRkaXNwbGF5RGF0YS0+ZHJvcGJveF9idXR0b25zKSk6ID8+DQoJPD9waHAgaWYgKGNvdW50KCRkaXNwbGF5RGF0YS0+ZHJvcGJveF9idXR0b25zKSA9PSAxKTogPz4NCgkJPD9waHAgZm9yZWFjaCAoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMgYXMgJGZpbGVuYW1lID0+ICRsaW5rKTogPz4NCgkJCTxhIGNsYXNzPSJ1ay1idXR0b24gdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay13aWR0aC0xLTEiIHRhcmdldD0iX2JsYW5rIjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5vbmNsaWNrX2Ryb2JveFskZmlsZW5hbWVdOyA/PiBocmVmPSI8P3BocCBlY2hvICRsaW5rOyA/PiIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTYXZlIHRvIHlvdXIgRHJvcGJveCcpOyA/PiI+PGkgY2xhc3M9InVrLWljb24tZHJvcGJveCI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdEcm9wYm94Jyk7ID8+PC9hPg0KCQk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCTw/cGhwIGVsc2VpZiAoY291bnQoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMpID4gMSk6ID8+DQoJCTw/cGhwICRtb2RhbElkID0gU2VybW9uZGlzdHJpYnV0b3JIZWxwZXI6OnJhbmRvbWtleSg1KTsgPz4NCgkJPGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLW1hcmdpbi1zbWFsbC1ib3R0b20gdWstd2lkdGgtMS0xIiBkYXRhLXVrLW1vZGFsPSJ7dGFyZ2V0OicjZG93bmxvYWQtPD9waHAgZWNobyAkbW9kYWxJZDsgPz4nfSIgZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTYXZlIHRvIHlvdXIgRHJvcGJveCcpOyA/PiI+PGkgY2xhc3M9InVrLWljb24tZHJvcGJveCI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdEcm9wYm94Jyk7ID8+PC9idXR0b24+DQoJCTxkaXYgaWQ9ImRvd25sb2FkLTw/cGhwIGVjaG8gJG1vZGFsSWQ7ID8+IiBjbGFzcz0idWstbW9kYWwiPg0KCQkJPGRpdiBjbGFzcz0idWstbW9kYWwtZGlhbG9nIj4NCgkJCQk8YSBjbGFzcz0idWstbW9kYWwtY2xvc2UgdWstY2xvc2UiPjwvYT4NCgkJCQk8dWwgY2xhc3M9InVrLWxpc3QiPg0KCQkJCTw/cGhwICRudW0gPSAnQSc7IGZvcmVhY2ggKCRkaXNwbGF5RGF0YS0+ZHJvcGJveF9idXR0b25zIGFzICRmaWxlbmFtZSA9PiAkbGluayk6ID8+DQoJCQkJCTxsaT4NCgkJCQkJCTxhIGNsYXNzPSJ1ay1idXR0b24gdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay13aWR0aC0xLTEiPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm9uY2xpY2tfZHJvYm94WyRmaWxlbmFtZV07ID8+IHRhcmdldD0iX2JsYW5rIiBocmVmPSI8P3BocCBlY2hvICRsaW5rOyA/PiIgIHRpdGxlPSI8P3BocCBlY2hvICRmaWxlbmFtZTsgPz4iPg0KCQkJCQkJCTxpIGNsYXNzPSJ1ay1pY29uLWRyb3Bib3giPjwvaT4gPD9waHAgZWNobyBKVGV4dDo6XygnU2F2ZSB0byB5b3VyIERyb3Bib3gnKS4nICcuJG51bTsgJG51bSsrOz8+DQoJCQkJCQk8L2E+DQoJCQkJCTwvbGk+DQoJCQkJPD9waHAgZW5kZm9yZWFjaDsgPz4NCgkJCQk8L3VsPg0KCQkJPC9kaXY+DQoJCSA8L2Rpdj4NCgk8P3BocCBlbmRpZjsgPz4NCjw/cGhwIGVuZGlmOyA/Pg==', 'Open Sermon or Dropbox Button', 30, '', 1, 450, 450, '2015-11-13 00:02:08', '2015-11-18 22:49:46', 14, '', 1, 10), -(39, 'addtodropboxicon', 'Add to Dropbox Icon', 20, 'PD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2FkZF90b19kcm9wYm94JykgJiYgaXNzZXQoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMpKTogPz4NCgk8P3BocCBpZiAoY291bnQoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMpID09IDEpOiA/Pg0KCQk8P3BocCBmb3JlYWNoICgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucyBhcyAkZmlsZW5hbWUgPT4gJGxpbmspOiA/Pg0KCQkJPGEgY2xhc3M9InVrLWljb24taG92ZXIgdWstaWNvbi1kcm9wYm94IiB0YXJnZXQ9Il9ibGFuayI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+b25jbGlja19kcm9ib3hbJGZpbGVuYW1lXTsgPz4gaHJlZj0iPD9waHAgZWNobyAkbGluazsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2F2ZSB0byB5b3VyIERyb3Bib3gnKTsgPz4iPjwvYT4NCgkJPD9waHAgZW5kZm9yZWFjaDsgPz4NCgk8P3BocCBlbHNlaWYgKGNvdW50KCRkaXNwbGF5RGF0YS0+ZHJvcGJveF9idXR0b25zKSA+IDEpOiA/Pg0KCQk8P3BocCAkbW9kYWxJZCA9IFNlcm1vbmRpc3RyaWJ1dG9ySGVscGVyOjpyYW5kb21rZXkoNSk7ID8+DQoJCTxhIGNsYXNzPSJ1ay1pY29uLWhvdmVyIHVrLWljb24tZHJvcGJveCIgZGF0YS11ay1tb2RhbCBocmVmPSIjZG93bmxvYWQtPD9waHAgZWNobyAkbW9kYWxJZDsgPz4iIGRhdGEtdWstdG9vbHRpcCB0aXRsZT0iPD9waHAgZWNobyBKVGV4dDo6XygnU2F2ZSB0byB5b3VyIERyb3Bib3gnKTsgPz4iPjwvYT4NCgkJPGRpdiBpZD0iZG93bmxvYWQtPD9waHAgZWNobyAkbW9kYWxJZDsgPz4iIGNsYXNzPSJ1ay1tb2RhbCI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1tb2RhbC1kaWFsb2ciPg0KCQkJCTxhIGNsYXNzPSJ1ay1tb2RhbC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQkJCTx1bCBjbGFzcz0idWstbGlzdCI+DQoJCQkJPD9waHAgJG51bSA9ICdBJzsgZm9yZWFjaCAoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMgYXMgJGZpbGVuYW1lID0+ICRsaW5rKTogPz4NCgkJCQkJPGxpPg0KCQkJCQkJPGEgY2xhc3M9InVrLWJ1dHRvbiB1ay1tYXJnaW4tc21hbGwtYm90dG9tIHVrLXdpZHRoLTEtMSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+b25jbGlja19kcm9ib3hbJGZpbGVuYW1lXTsgPz4gdGFyZ2V0PSJfYmxhbmsiIGhyZWY9Ijw/cGhwIGVjaG8gJGxpbms7ID8+IiAgdGl0bGU9Ijw/cGhwIGVjaG8gJGZpbGVuYW1lOyA/PiI+DQoJCQkJCQkJPGkgY2xhc3M9InVrLWljb24tZHJvcGJveCI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdTYXZlIHRvIHlvdXIgRHJvcGJveCcpLicgJy4kbnVtOyAkbnVtKys7Pz4NCgkJCQkJCTwvYT4NCgkJCQkJPC9saT4NCgkJCQk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCQkJCTwvdWw+DQoJCQk8L2Rpdj4NCgkJIDwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgZW5kaWY7ID8+', 'Add to Dropbox Icon', 32, '', 1, 450, 450, '2015-11-13 01:18:15', '2015-11-16 19:35:08', 8, '', 1, 11), -(41, 'audioplayer', 'Audio player', 20, 'PGRpdiBjbGFzcz0idWkzNjAiPg0KCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhWydsaW5rJ107ID8+IiB0aXRsZT0iPD9waHAgZWNobyAkZGlzcGxheURhdGFbJ2ZpbGVuYW1lJ107ID8+Ij48P3BocCBlY2hvICRkaXNwbGF5RGF0YVsnbmFtZSddOyA/PjwvYT4NCjwvZGl2Pg==', 'player (mp3)', '', '', 1, 450, 450, '2015-11-16 00:42:31', '2015-11-16 15:48:07', 3, '', 1, 12), -(42, 'mediaplayer', 'The media player box', 20, 'PD9waHAgaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkcGxheWVycykpOiA/Pg0KCTxsaT48P3BocCBlY2hvIGltcGxvZGUoJycsJHBsYXllcnMpOyA/PjwvbGk+DQo8P3BocCBlbmRpZjsgPz4=', 'Media Player', '', '', 1, 450, 450, '2015-11-16 01:42:17', '2015-11-25 03:21:17', 13, '', 1, 13), -(40, 'addtodropboxbutton', 'Add to Dropbox Button', 20, 'PD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2FkZF90b19kcm9wYm94JykgJiYgaXNzZXQoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMpKTogPz4NCgk8P3BocCBpZiAoY291bnQoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMpID09IDEpOiA/Pg0KCQk8P3BocCBmb3JlYWNoICgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucyBhcyAkZmlsZW5hbWUgPT4gJGxpbmspOiA/Pg0KCQkJPGEgY2xhc3M9InVrLWJ1dHRvbiB1ay1tYXJnaW4tc21hbGwtYm90dG9tIHVrLXdpZHRoLTEtMSIgdGFyZ2V0PSJfYmxhbmsiPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm9uY2xpY2tfZHJvYm94WyRmaWxlbmFtZV07ID8+IGhyZWY9Ijw/cGhwIGVjaG8gJGxpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NhdmUgdG8geW91ciBEcm9wYm94Jyk7ID8+Ij48aSBjbGFzcz0idWstaWNvbi1kcm9wYm94Ij48L2k+IDw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0Ryb3Bib3gnKTsgPz48L2E+DQoJCTw/cGhwIGVuZGZvcmVhY2g7ID8+DQoJPD9waHAgZWxzZWlmIChjb3VudCgkZGlzcGxheURhdGEtPmRyb3Bib3hfYnV0dG9ucykgPiAxKTogPz4NCgkJPD9waHAgJG1vZGFsSWQgPSBTZXJtb25kaXN0cmlidXRvckhlbHBlcjo6cmFuZG9ta2V5KDUpOyA/Pg0KCQk8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24gdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay13aWR0aC0xLTEiIGRhdGEtdWstbW9kYWw9Int0YXJnZXQ6JyNkb3dubG9hZC08P3BocCBlY2hvICRtb2RhbElkOyA/Pid9IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1NhdmUgdG8geW91ciBEcm9wYm94Jyk7ID8+Ij48aSBjbGFzcz0idWstaWNvbi1kcm9wYm94Ij48L2k+IDw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0Ryb3Bib3gnKTsgPz48L2J1dHRvbj4NCgkJPGRpdiBpZD0iZG93bmxvYWQtPD9waHAgZWNobyAkbW9kYWxJZDsgPz4iIGNsYXNzPSJ1ay1tb2RhbCI+DQoJCQk8ZGl2IGNsYXNzPSJ1ay1tb2RhbC1kaWFsb2ciPg0KCQkJCTxhIGNsYXNzPSJ1ay1tb2RhbC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KCQkJCTx1bCBjbGFzcz0idWstbGlzdCI+DQoJCQkJPD9waHAgJG51bSA9ICdBJzsgZm9yZWFjaCAoJGRpc3BsYXlEYXRhLT5kcm9wYm94X2J1dHRvbnMgYXMgJGZpbGVuYW1lID0+ICRsaW5rKTogPz4NCgkJCQkJPGxpPg0KCQkJCQkJPGEgY2xhc3M9InVrLWJ1dHRvbiB1ay1tYXJnaW4tc21hbGwtYm90dG9tIHVrLXdpZHRoLTEtMSIgdGFyZ2V0PSJfYmxhbmsiPD9waHAgZWNobyAkZGlzcGxheURhdGEtPm9uY2xpY2tfZHJvYm94WyRmaWxlbmFtZV07ID8+IGhyZWY9Ijw/cGhwIGVjaG8gJGxpbms7ID8+IiAgdGl0bGU9Ijw/cGhwIGVjaG8gJGZpbGVuYW1lOyA/PiI+DQoJCQkJCQkJPGkgY2xhc3M9InVrLWljb24tZHJvcGJveCI+PC9pPiA8P3BocCBlY2hvIEpUZXh0OjpfKCdTYXZlIHRvIHlvdXIgRHJvcGJveCcpLicgJy4kbnVtOyAkbnVtKys7Pz4NCgkJCQkJCTwvYT4NCgkJCQkJPC9saT4NCgkJCQk8P3BocCBlbmRmb3JlYWNoOyA/Pg0KCQkJCTwvdWw+DQoJCQk8L2Rpdj4NCgkJIDwvZGl2Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KPD9waHAgZW5kaWY7ID8+', 'Add to Dropbox Button', 32, '', 1, 450, 450, '2015-11-14 03:48:05', '2015-11-16 19:32:24', 4, '', 1, 11), -(43, 'sermonslistitem', 'Sermons List Item', 20, 'PGEgPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJGRpc3BsYXlEYXRhLT52aWV3S2V5Lidfc2VybW9uc19kb3dubG9hZF9jb3VudCcpKTogPz4gZGF0YS11ay10b29sdGlwIHRpdGxlPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdTZXJtb24gRG93bmxvYWQgQ291bnQnKTsgPz46IDw/cGhwIGVjaG8gNDsgPz4iIDw/cGhwIGVuZGlmOyA/PmhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9hPg0KPD9waHAgaWYgKCgncHJlYWNoZXInID09ICRkaXNwbGF5RGF0YS0+dmlld0tleSB8fCAnY2F0ZWdvcnknID09ICRkaXNwbGF5RGF0YS0+dmlld0tleSkgJiYgJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX3NlcmllcycpKTogPz4NCgk8YSBocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+c2VyaWVzX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbmFtZTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zZXJpZXNfbmFtZTsgPz48L2E+DQo8P3BocCBlbmRpZiA7Pz4NCjw/cGhwIGlmICgoJ3NlcmllcycgPT0gJGRpc3BsYXlEYXRhLT52aWV3S2V5IHx8ICdjYXRlZ29yeScgPT0gJGRpc3BsYXlEYXRhLT52aWV3S2V5KSAmJiAkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfcHJlYWNoZXInKSk6ID8+DQoJPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX2xpbms7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5wcmVhY2hlcl9uYW1lOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPnByZWFjaGVyX25hbWU7ID8+PC9hPg0KPD9waHAgZW5kaWYgOz8+DQo8P3BocCBpZiAoJ2NhdGVnb3J5JyAhPSAkZGlzcGxheURhdGEtPnZpZXdLZXkgJiYgJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2NhdGVnb3J5JykpOiA/Pg0KCTxhIGhyZWY9Im1haWx0bzo8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+Y2F0ZWdvcnk7ID8+IiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5jYXRlZ29yeTsgPz48L2E+DQo8P3BocCBlbmRpZiA7Pz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCRkaXNwbGF5RGF0YS0+dmlld0tleS4nX3Nlcm1vbnNfZGVzYycpICYmICRkaXNwbGF5RGF0YS0+c2hvcnRfZGVzY3JpcHRpb24pOiA/Pg0KCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5zaG9ydF9kZXNjcmlwdGlvbjsgPz4NCjw/cGhwIGVsc2VpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPmRlc2MpOiA/Pg0KCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjOyA/Pg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgkZGlzcGxheURhdGEtPnZpZXdLZXkuJ19zZXJtb25zX2hpdHMnKSk6ID8+DQoJPGVtPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0hpdHMnKTsgPz46IDw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/PjwvZW0+DQo8P3BocCBlbmRpZiA7Pz4=', 'Sermons List Item', 88, '', 1, 450, 450, '2015-11-19 13:31:05', '2015-11-20 03:16:35', 2, '', 1, 8), -(44, 'categoriespanel', 'One Category Panel', 20, 'PGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19oaXRzJykpOiA/Pg0KCQk8P3BocA0KCQkJJGhpdHNfc3RhdGUJPSAoJGRpc3BsYXlEYXRhLT5oaXRzID4gMCkgPyB0cnVlOmZhbHNlOw0KCQkJJGJhZGdlX2NsYXNzCT0gKCRoaXRzX3N0YXRlKSA/ICd1ay1iYWRnZS1zdWNjZXNzJzondWstYmFkZ2Utd2FybmluZyc7DQoJCQkkYmFkZ2VfaWNvbgk9ICgkaGl0c19zdGF0ZSkgPyAnY2hlY2stY2lyY2xlJzonbWludXMtY2lyY2xlJzsNCgkJPz4NCgkJPGRpdiBjbGFzcz0idWstcGFuZWwtYmFkZ2UgdWstYmFkZ2UgPD9waHAgZWNobyAkYmFkZ2VfY2xhc3M7ID8+Ij4NCgkJCTxpIGNsYXNzPSJ1ay1pY29uLTw/cGhwIGVjaG8gJGJhZGdlX2ljb247ID8+Ij48L2k+DQoJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz4NCgkJPC9kaXY+DQoJPD9waHAgZW5kaWYgOz8+DQoJPGgzIGNsYXNzPSJ1ay1wYW5lbC10aXRsZSI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9oMz4NCgk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19pY29uJykpOiA/Pg0KCQk8P3BocCAkZGlzcGxheURhdGEtPmljb24gPSAoaXNzZXQoJGRpc3BsYXlEYXRhLT5pY29uKSAmJiAkZGlzcGxheURhdGEtPmljb24pID8gJGRpc3BsYXlEYXRhLT5pY29uIDogJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnY2F0ZWdvcnlfZGVmYXVsdF9pY29uJyk7ID8+DQoJCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPmljb24pOiA/Pg0KCQkJPGEgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmxpbms7ID8+Ij4NCgkJCTxpbWcgY2xhc3M9InVrLXRodW1ibmFpbCB1ay10aHVtYm5haWwtZXhwYW5kIiBzcmM9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5pY29uOyA/PiIgYWx0PSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bmFtZTsgPz4iPg0KCQkJPC9hPg0KCQkJPGhyIC8+DQoJCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGVuZGlmOyA/Pg0KCTw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yaWVzX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPmRlc2MpOiA/Pg0KCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+ZGVzYzsgPz4NCgkJPGhyIC8+DQoJPD9waHAgZW5kaWY7ID8+DQoJPGEgY2xhc3M9InVrLWJ1dHRvbiB1ay13aWR0aC0xLTEgdWstbWFyZ2luLXNtYWxsLWJvdHRvbSB1ay1idXR0b24tc3VjY2VzcyIgaHJlZj0iPD9waHAgZWNobyAkZGlzcGxheURhdGEtPmxpbms7ID8+Ij4NCgkJPD9waHAgZWNobyBKVGV4dDo6XygnT3BlbicpOyA/Pg0KCQk8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19zZXJtb25fY291bnQnKSk6ID8+DQoJCQk8c3BhbiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBDb3VudCcpOyA/PiI+KDw/cGhwIGVjaG8gY291bnQoJGRpc3BsYXlEYXRhLT5pZENhdGlkU2VybW9uQik7ID8+KTwvc3Bhbj4NCgkJPD9waHAgZW5kaWY7ID8+DQoJPC9hPg0KPC9kaXY+', 'Categories Panel', 88, '', 1, 450, 450, '2015-11-06 14:40:04', '2015-11-20 01:47:35', 15, '', 1, 8), -(45, 'categorieslistitem', 'One Category List Item', 20, 'PGEgPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+cGFyYW1zLT5nZXQoJ2NhdGVnb3JpZXNfc2VybW9uX2NvdW50JykpOiA/PiBkYXRhLXVrLXRvb2x0aXAgdGl0bGU9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1Nlcm1vbiBDb3VudCcpOyA/PjogPD9waHAgZWNobyBjb3VudCgkZGlzcGxheURhdGEtPmlkU2VyaWVzU2VybW9uQik7ID8+IiA8P3BocCBlbmRpZjsgPz5ocmVmPSI8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+bGluazsgPz4iPjw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5uYW1lOyA/PjwvYT4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yaWVzX2Rlc2MnKSAmJiAkZGlzcGxheURhdGEtPmRlc2MpOiA/Pg0KCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5kZXNjOyA/Pg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19oaXRzJykpOiA/Pg0KCTxlbT48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+aGl0czsgPz48L2VtPg0KPD9waHAgZW5kaWYgOz8+', 'Categories List Item', 88, '', 1, 450, 450, '2015-11-07 16:03:24', '2015-11-19 21:39:20', 6, '', 1, 8), -(46, 'categoriesrow', 'One Category Table Row', 20, 'PHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5hbGlhczsgPz4iPg0KCTxhIGhyZWY9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5saW5rOyA/PiI+PD9waHAgZWNobyAkZGlzcGxheURhdGEtPm5hbWU7ID8+PC9hPg0KPC90ZD4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yaWVzX2Rlc2MnKSk6ID8+DQo8dGQ+DQoJPD9waHAgaWYgKCRkaXNwbGF5RGF0YS0+ZGVzY3JpcHRpb24pOiA/Pg0KCQk8P3BocCBlY2hvICRkaXNwbGF5RGF0YS0+ZGVzY3JpcHRpb247ID8+DQoJPD9waHAgZW5kaWY7ID8+DQo8L3RkPg0KPD9waHAgZW5kaWY7ID8+DQo8P3BocCBpZiAoJGRpc3BsYXlEYXRhLT5wYXJhbXMtPmdldCgnY2F0ZWdvcmllc19oaXRzJykpOiA/Pg0KPHRkIGRhdGEtdmFsdWU9Ijw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/PiI+DQoJCTw/cGhwDQoJCQkkaGl0c19zdGF0ZQk9ICgkZGlzcGxheURhdGEtPmhpdHMgPiAwKSA/IHRydWU6ZmFsc2U7DQoJCQkkYmFkZ2VfY2xhc3MJPSAoJGhpdHNfc3RhdGUpID8gJ3VrLWJhZGdlLXN1Y2Nlc3MnOid1ay1iYWRnZS13YXJuaW5nJzsNCgkJCSRiYWRnZV9pY29uCT0gKCRoaXRzX3N0YXRlKSA/ICdjaGVjay1jaXJjbGUnOidtaW51cy1jaXJjbGUnOw0KCQk/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPg0KCQkJPGkgY2xhc3M9InVrLWljb24tPD9waHAgZWNobyAkYmFkZ2VfaWNvbjsgPz4iPjwvaT4NCgkJCTw/cGhwIGVjaG8gJGRpc3BsYXlEYXRhLT5oaXRzOyA/Pg0KCQk8L2Rpdj4NCjwvdGQ+DQo8P3BocCBlbmRpZiA7Pz4NCjw/cGhwIGlmICgkZGlzcGxheURhdGEtPnBhcmFtcy0+Z2V0KCdjYXRlZ29yaWVzX3Nlcm1vbl9jb3VudCcpKTogPz4NCjx0ZCBkYXRhLXZhbHVlPSI8P3BocCBlY2hvIGNvdW50KCRkaXNwbGF5RGF0YS0+aWRTZXJpZXNTZXJtb25CKTsgPz4iPg0KCQk8P3BocCAkYmFkZ2VfY2xhc3MgPSAoY291bnQoJGRpc3BsYXlEYXRhLT5pZFNlcmllc1Nlcm1vbkIpID4gMCkgPyAndWstYmFkZ2Utc3VjY2Vzcyc6J3VrLWJhZGdlLXdhcm5pbmcnOyA/Pg0KCQk8ZGl2IGNsYXNzPSJ1ay1iYWRnZSB1ay1iYWRnZSA8P3BocCBlY2hvICRiYWRnZV9jbGFzczsgPz4iPjw/cGhwIGVjaG8gY291bnQoJGRpc3BsYXlEYXRhLT5pZFNlcmllc1Nlcm1vbkIpOyA/PjwvZGl2Pg0KPC90ZD4NCjw/cGhwIGVuZGlmOyA/Pg==', 'Categories Table Row', 88, '', 1, 450, 450, '2015-11-07 16:41:03', '2015-11-19 21:38:26', 5, '', 1, 8); - --- --- Dumping data for table `#__componentbuilder_dynamic_get` --- - -INSERT INTO `#__componentbuilder_dynamic_get` (`id`, `asset_id`, `add_php_after_getitem`, `add_php_before_getitem`, `add_php_after_getitems`, `add_php_before_getitems`, `add_php_getlistquery`, `php_after_getitem`, `php_before_getitem`, `php_before_getitems`, `php_getlistquery`, `php_after_getitems`, `pagination`, `addcalculation`, `db_selection`, `db_table_main`, `filter`, `getcustom`, `gettype`, `global`, `join_db_table`, `join_view_table`, `main_source`, `name`, `not_required`, `order`, `php_calculation`, `php_custom_get`, `view_selection`, `view_table_main`, `where`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `checked_out`, `checked_out_time`, `version`, `hits`, `access`, `ordering`) VALUES -(19, 6217, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"3\",\"3\"],\"state_key\":[\"\",\"\"],\"operator\":[\"10\",\"10\"],\"table_key\":[\"a.access\",\"b.access\"]}', '', 2, '', '', '{\"view_table\":[\"55\"],\"row_type\":[\"2\"],\"as\":[\"b\"],\"type\":[\"2\"],\"on_field\":[\"a.id\"],\"operator\":[\"1\"],\"join_field\":[\"b.series\"],\"selection\":[\"b.id AS id\"]}', 1, 'AllSeries', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.description AS description\r\na.icon AS icon\r\na.hits AS hits\r\na.ordering AS ordering', 53, '{\"table_key\":[\"a.published\",\"b.published\"],\"operator\":[\"1\",\"1\"],\"value_key\":[\"1\",\"1\"]}', '', 1, 450, 450, '2015-10-30 12:28:50', '2015-11-29 01:18:57', '', '0000-00-00 00:00:00', 13, '', 1, 13), -(20, 6386, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"3\",\"3\"],\"state_key\":[\"\",\"\"],\"operator\":[\"10\",\"10\"],\"table_key\":[\"a.access\",\"b.access\"]}', '', 2, '', '', '{\"view_table\":[\"55\"],\"row_type\":[\"2\"],\"as\":[\"b\"],\"type\":[\"2\"],\"on_field\":[\"a.id\"],\"operator\":[\"1\"],\"join_field\":[\"b.preacher\"],\"selection\":[\"b.id AS id\"]}', 1, 'AllPreachers', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.icon AS icon\r\na.email AS email\r\na.website AS website\r\na.description AS description\r\na.hits AS hits\r\na.ordering AS ordering', 54, '{\"table_key\":[\"a.published\",\"b.published\"],\"operator\":[\"1\",\"1\"],\"value_key\":[\"1\",\"1\"]}', '', 1, 450, 450, '2015-11-05 15:39:56', '2015-11-29 01:18:39', '', '0000-00-00 00:00:00', 12, '', 1, 13), -(21, 6424, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"3\",\"8\"],\"state_key\":[\"\",\"JRequest::getInt(\'id\')\"],\"operator\":[\"10\",\"1\"],\"table_key\":[\"a.access\",\"a.id\"]}', 'getPreacher', 3, '{\"name\":[],\"key\":[],\"as\":[],\"type\":[]}', '', '{\"view_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', 1, 'Preacher', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.icon AS icon\r\na.email AS email\r\na.website AS website\r\na.description AS description\r\na.published AS published\r\na.created_by AS created_by\r\na.modified_by AS modified_by\r\na.created AS created\r\na.modified AS modified\r\na.version AS version\r\na.hits AS hits\r\na.ordering AS ordering\r\na.metadesc AS metadesc\r\na.metakey AS metakey\r\na.metadata AS metadata', 54, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-08 10:00:08', '2015-11-20 01:17:28', '', '0000-00-00 00:00:00', 11, '', 1, 13), -(22, 6431, '', '', 1, '', '', '', '', '', '', 'CQkvLyBkbyBhIHF1aWNrIGJ1aWxkIG9mIGFsbCB0aGUgc2VybW9uIGxpbmtzDQoJCWlmIChpc3NldCgkaXRlbXMpICYmICRpdGVtcykNCgkJew0KCQkJZm9yZWFjaCAoJGl0ZW1zIGFzICRuciA9PiAmJGl0ZW0pDQoJCQl7DQoJCQkJJGl0ZW0tPnN0YXRpc3RpY1RvdGFsID0gMDsNCgkJCQlpZiAoaXNzZXQoJGl0ZW0tPmF1dG9fc2VybW9ucykgJiYgW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja1N0cmluZygkaXRlbS0+YXV0b19zZXJtb25zKSkNCgkJCQl7DQoJCQkJCS8vIERlY29kZSB0aGUgYXV0byBmaWxlcw0KCQkJCQkkaXRlbS0+YXV0b19zZXJtb25zID0ganNvbl9kZWNvZGUoJGl0ZW0tPmF1dG9fc2VybW9ucywgdHJ1ZSk7DQoJCQkJfQ0KCQkJCS8vIHNldCBzdGF0aXN0aWMgcGVyIGZpbGVuYW1lIGlmIGZvdW5kDQoJCQkJaWYgKGlzc2V0KCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkaXRlbS0+aWRTZXJtb25TdGF0aXN0aWNFKSkNCgkJCQl7DQoJCQkJCWZvcmVhY2ggKCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UgYXMgJHN0YXRpc3RpYykNCgkJCQkJew0KCQkJCQkJJGl0ZW0tPnN0YXRpc3RpY1skc3RhdGlzdGljLT5maWxlbmFtZV0gPSAkc3RhdGlzdGljLT5jb3VudGVyOw0KCQkJCQl9DQoJCQkJCS8vIHNldCB0aGUgdG90YWwgZG93bmxvYWRzIGZvciB0aGlzIHNlcm1vbg0KCQkJCQkkaXRlbS0+c3RhdGlzdGljVG90YWwgPSBhcnJheV9zdW0oJGl0ZW0tPnN0YXRpc3RpYyk7DQoJCQkJfQ0KCQkJCXVuc2V0KCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UpOw0KCQkJCS8vIGJ1aWxkIHNlcmllcyBzbHVnDQoJCQkJJGl0ZW0tPnNlcmllc19zbHVnID0gKGlzc2V0KCRpdGVtLT5zZXJpZXNfYWxpYXMpKSA/ICRpdGVtLT5zZXJpZXMuJzonLiRpdGVtLT5zZXJpZXNfYWxpYXMgOiAkaXRlbS0+c2VyaWVzOw0KCQkJCS8vIGJ1aWxkIGNhdGVnb3J5IHNsdWcNCgkJCQkkaXRlbS0+Y2F0ZWdvcnlfc2x1ZyA9IChpc3NldCgkaXRlbS0+Y2F0ZWdvcnlfYWxpYXMpKSA/ICRpdGVtLT5jYXRpZC4nOicuJGl0ZW0tPmNhdGVnb3J5X2FsaWFzIDogJGl0ZW0tPmNhdGlkOw0KCQkJCS8vIGJ1aWxkIG5lZWRlZCBsaW5rcw0KCQkJCSRpdGVtLT5saW5rID0gSlJvdXRlOjpfKFtbW0NvbXBvbmVudF1dXUhlbHBlclJvdXRlOjpnZXRTZXJtb25Sb3V0ZSgkaXRlbS0+c2x1ZykpOw0KCQkJCSRpdGVtLT5zZXJpZXNfbGluayA9IEpSb3V0ZTo6XyhbW1tDb21wb25lbnRdXV1IZWxwZXJSb3V0ZTo6Z2V0U2VyaWVzUm91dGUoJGl0ZW0tPnNlcmllc19zbHVnKSk7DQoJCQkJJGl0ZW0tPmNhdGVnb3J5X2xpbmsgPSBKUm91dGU6Ol8oW1tbQ29tcG9uZW50XV1dSGVscGVyUm91dGU6OmdldENhdGVnb3J5Um91dGUoJGl0ZW0tPmNhdGVnb3J5X3NsdWcpKTsNCgkJCQkvLyBzZXQgdmlldyBrZXkNCgkJCQkkaXRlbS0+dmlld0tleSA9ICdwcmVhY2hlcic7DQoJCQkJW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXREb3dubG9hZExpbmtzKCRpdGVtKTsNCgkJCX0NCgkJfQ==', 1, '', '', '', '{\"filter_type\":[\"8\",\"3\"],\"state_key\":[\"JRequest::getInt(\'id\')\",\"\"],\"operator\":[\"1\",\"10\"],\"table_key\":[\"a.preacher\",\"a.access\"]}', '', 2, '', '{\"db_table\":[\"categories\"],\"row_type\":[\"1\"],\"as\":[\"b\"],\"type\":[\"1\"],\"on_field\":[\"a.catid\"],\"operator\":[\"1\"],\"join_field\":[\"b.id\"],\"selection\":[\"b.title AS category\\nb.alias AS category_alias\"]}', '{\"view_table\":[\"53\",\"54\",\"56\"],\"row_type\":[\"1\",\"1\",\"2\"],\"as\":[\"c\",\"d\",\"e\"],\"type\":[\"1\",\"1\",\"2\"],\"on_field\":[\"a.series\",\"a.preacher\",\"a.id\"],\"operator\":[\"1\",\"1\",\"1\"],\"join_field\":[\"c.id\",\"d.id\",\"e.sermon\"],\"selection\":[\"c.name AS series_name\\nc.alias AS series_alias\",\"d.name AS preacher_name\\nd.alias AS preacher_alias\",\"e.filename AS filename\\ne.sermon AS sermon\\ne.preacher AS preacher\\ne.series AS series\\ne.counter AS counter\"]}', 1, 'Sermons (Preacher id)', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.link_type AS link_type\r\na.short_description AS short_description\r\na.icon AS icon\r\na.preacher AS preacher\r\na.series AS series\r\na.catid AS catid\r\na.description AS description\r\na.source AS source\r\na.build AS build\r\na.manual_files AS manual_files\r\na.local_files AS local_files\r\na.url AS url\r\na.auto_sermons AS auto_sermons\r\na.published AS published\r\na.created_by AS created_by\r\na.modified_by AS modified_by\r\na.created AS created\r\na.modified AS modified\r\na.version AS version\r\na.hits AS hits\r\na.ordering AS ordering', 55, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-09 08:20:27', '2015-11-29 01:18:49', '', '0000-00-00 00:00:00', 23, '', 1, 14), -(23, 6458, '', '', 1, '', '', '', '', '', '', 'CQkvLyBkbyBhIHF1aWNrIGJ1aWxkIG9mIGFsbCB0aGUgc2VybW9uIGxpbmtzDQoJCWlmIChpc3NldCgkaXRlbXMpICYmICRpdGVtcykNCgkJew0KCQkJZm9yZWFjaCAoJGl0ZW1zIGFzICRuciA9PiAmJGl0ZW0pDQoJCQl7DQoJCQkJJGl0ZW0tPnN0YXRpc3RpY1RvdGFsID0gMDsNCgkJCQlpZiAoaXNzZXQoJGl0ZW0tPmF1dG9fc2VybW9ucykgJiYgW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja1N0cmluZygkaXRlbS0+YXV0b19zZXJtb25zKSkNCgkJCQl7DQoJCQkJCS8vIERlY29kZSB0aGUgYXV0byBmaWxlcw0KCQkJCQkkaXRlbS0+YXV0b19zZXJtb25zID0ganNvbl9kZWNvZGUoJGl0ZW0tPmF1dG9fc2VybW9ucywgdHJ1ZSk7DQoJCQkJfQ0KCQkJCS8vIHNldCBzdGF0aXN0aWMgcGVyIGZpbGVuYW1lIGlmIGZvdW5kDQoJCQkJaWYgKGlzc2V0KCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkaXRlbS0+aWRTZXJtb25TdGF0aXN0aWNFKSkNCgkJCQl7DQoJCQkJCWZvcmVhY2ggKCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UgYXMgJHN0YXRpc3RpYykNCgkJCQkJew0KCQkJCQkJJGl0ZW0tPnN0YXRpc3RpY1skc3RhdGlzdGljLT5maWxlbmFtZV0gPSAkc3RhdGlzdGljLT5jb3VudGVyOw0KCQkJCQl9DQoJCQkJCS8vIHNldCB0aGUgdG90YWwgZG93bmxvYWRzIGZvciB0aGlzIHNlcm1vbg0KCQkJCQkkaXRlbS0+c3RhdGlzdGljVG90YWwgPSBhcnJheV9zdW0oJGl0ZW0tPnN0YXRpc3RpYyk7DQoJCQkJfQ0KCQkJCXVuc2V0KCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UpOw0KCQkJCS8vIHNldCBwcmVhY2hlciBzbHVnDQoJCQkJJGl0ZW0tPnByZWFjaGVyX3NsdWcgPSAoaXNzZXQoJGl0ZW0tPnByZWFjaGVyX2FsaWFzKSkgPyAkaXRlbS0+cHJlYWNoZXIuJzonLiRpdGVtLT5wcmVhY2hlcl9hbGlhcyA6ICRpdGVtLT5wcmVhY2hlcjsNCgkJCQkvLyBidWlsZCBjYXRlZ29yeSBzbHVnDQoJCQkJJGl0ZW0tPmNhdGVnb3J5X3NsdWcgPSAoaXNzZXQoJGl0ZW0tPmNhdGVnb3J5X2FsaWFzKSkgPyAkaXRlbS0+Y2F0aWQuJzonLiRpdGVtLT5jYXRlZ29yeV9hbGlhcyA6ICRpdGVtLT5jYXRpZDsNCgkJCQkvLyBidWlsZCBuZWVkZWQgbGlua3MNCgkJCQkkaXRlbS0+bGluayA9IEpSb3V0ZTo6XyhbW1tDb21wb25lbnRdXV1IZWxwZXJSb3V0ZTo6Z2V0U2VybW9uUm91dGUoJGl0ZW0tPnNsdWcpKTsNCgkJCQkkaXRlbS0+cHJlYWNoZXJfbGluayA9IEpSb3V0ZTo6XyhbW1tDb21wb25lbnRdXV1IZWxwZXJSb3V0ZTo6Z2V0UHJlYWNoZXJSb3V0ZSgkaXRlbS0+cHJlYWNoZXJfc2x1ZykpOw0KCQkJCSRpdGVtLT5jYXRlZ29yeV9saW5rID0gSlJvdXRlOjpfKFtbW0NvbXBvbmVudF1dXUhlbHBlclJvdXRlOjpnZXRDYXRlZ29yeVJvdXRlKCRpdGVtLT5jYXRlZ29yeV9zbHVnKSk7DQoJCQkJLy8gc2V0IHZpZXcga2V5DQoJCQkJJGl0ZW0tPnZpZXdLZXkgPSAnc2VyaWVzJzsNCgkJCQlbW1tDb21wb25lbnRdXV1IZWxwZXI6OmdldERvd25sb2FkTGlua3MoJGl0ZW0pOw0KCQkJfQ0KCQl9', 1, '', '', '', '{\"filter_type\":[\"3\",\"8\"],\"state_key\":[\"\",\"JRequest::getInt(\'id\')\"],\"operator\":[\"10\",\"1\"],\"table_key\":[\"a.access\",\"a.series\"]}', '', 2, '', '{\"db_table\":[\"categories\"],\"row_type\":[\"1\"],\"as\":[\"b\"],\"type\":[\"1\"],\"on_field\":[\"a.catid\"],\"operator\":[\"1\"],\"join_field\":[\"b.id\"],\"selection\":[\"b.title AS category\\nb.alias AS category_alias\"]}', '{\"view_table\":[\"54\",\"53\",\"56\"],\"row_type\":[\"1\",\"1\",\"2\"],\"as\":[\"c\",\"d\",\"e\"],\"type\":[\"1\",\"1\",\"2\"],\"on_field\":[\"a.preacher\",\"a.series\",\"a.id\"],\"operator\":[\"1\",\"1\",\"1\"],\"join_field\":[\"c.id\",\"d.id\",\"e.sermon\"],\"selection\":[\"c.name AS preacher_name\\nc.alias AS preacher_alias\",\"d.name AS series_name\\nd.alias AS series_alias\",\"e.filename AS filename\\ne.sermon AS sermon\\ne.preacher AS preacher\\ne.series AS series\\ne.counter AS counter\"]}', 1, 'Sermons (Series id)', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.link_type AS link_type\r\na.short_description AS short_description\r\na.icon AS icon\r\na.preacher AS preacher\r\na.series AS series\r\na.catid AS catid\r\na.description AS description\r\na.source AS source\r\na.build AS build\r\na.manual_files AS manual_files\r\na.local_files AS local_files\r\na.url AS url\r\na.auto_sermons AS auto_sermons\r\na.published AS published\r\na.created_by AS created_by\r\na.modified_by AS modified_by\r\na.created AS created\r\na.modified AS modified\r\na.version AS version\r\na.hits AS hits\r\na.ordering AS ordering', 55, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-10 04:35:07', '2015-11-29 00:59:15', '', '0000-00-00 00:00:00', 15, '', 1, 14), -(24, 6459, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"3\",\"8\"],\"state_key\":[\"\",\"JRequest::getInt(\'id\')\"],\"operator\":[\"10\",\"1\"],\"table_key\":[\"a.access\",\"a.id\"]}', 'getSeries', 3, '{\"name\":[],\"key\":[],\"as\":[],\"type\":[]}', '', '{\"view_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', 1, 'Series', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.description AS description\r\na.icon AS icon\r\na.published AS published\r\na.created_by AS created_by\r\na.modified_by AS modified_by\r\na.created AS created\r\na.modified AS modified\r\na.version AS version\r\na.hits AS hits\r\na.ordering AS ordering\r\na.metadesc AS metadesc\r\na.metakey AS metakey\r\na.metadata AS metadata', 53, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-10 04:36:47', '2015-11-20 01:17:15', '', '0000-00-00 00:00:00', 12, '', 1, 13), -(25, 6484, 1, '', '', '', '', 'CQlpZihpc3NldCgkdGhpcy0+X2l0ZW1bJHBrXSkpDQoJCXsNCgkJCS8vIHNldCBzb21lIGRlZmF1bHQgdG90dGFscw0KCQkJJHRoaXMtPl9pdGVtWyRwa10tPnN0YXRpc3RpY1RvdGFsID0gMDsNCgkJCS8vIHNldCB0aGUgYXV0byBsaW5rcyBpZiBmb3VuZA0KCQkJaWYgKGlzc2V0KCR0aGlzLT5faXRlbVskcGtdLT5hdXRvX3Nlcm1vbnMpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHRoaXMtPl9pdGVtWyRwa10tPmF1dG9fc2VybW9ucykpDQoJCQl7DQoJCQkJLy8gRGVjb2RlIHRoZSBhdXRvIGZpbGVzDQoJCQkJJHRoaXMtPl9pdGVtWyRwa10tPmF1dG9fc2VybW9ucyA9IGpzb25fZGVjb2RlKCR0aGlzLT5faXRlbVskcGtdLT5hdXRvX3Nlcm1vbnMsIHRydWUpOw0KCQkJfQ0KCQkJLy8gc2V0IHN0YXRpc3RpYyBwZXIgZmlsZW5hbWUgaWYgZm91bmQNCgkJCWlmIChpc3NldCgkdGhpcy0+X2l0ZW1bJHBrXS0+aWRTZXJtb25TdGF0aXN0aWNEKSAmJiBbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrQXJyYXkoJHRoaXMtPl9pdGVtWyRwa10tPmlkU2VybW9uU3RhdGlzdGljRCkpDQoJCQl7DQoJCQkJZm9yZWFjaCAoJHRoaXMtPl9pdGVtWyRwa10tPmlkU2VybW9uU3RhdGlzdGljRCBhcyAkc3RhdGlzdGljKQ0KCQkJCXsNCgkJCQkJJHRoaXMtPl9pdGVtWyRwa10tPnN0YXRpc3RpY1skc3RhdGlzdGljLT5maWxlbmFtZV0gPSAkc3RhdGlzdGljLT5jb3VudGVyOw0KCQkJCX0NCgkJCQkvLyBzZXQgdGhlIHRvdGFsIGRvd25sb2FkcyBmb3IgdGhpcyBzZXJtb24NCgkJCQkkdGhpcy0+X2l0ZW1bJHBrXS0+c3RhdGlzdGljVG90YWwgPSBhcnJheV9zdW0oJHRoaXMtPl9pdGVtWyRwa10tPnN0YXRpc3RpYyk7DQoJCQl9DQoJCQl1bnNldCgkdGhpcy0+X2l0ZW1bJHBrXS0+aWRTZXJtb25TdGF0aXN0aWNEKTsNCgkJCS8vIGJ1aWxkIG5lZWRlZCBzbHVncw0KCQkJJHRoaXMtPl9pdGVtWyRwa10tPnByZWFjaGVyX3NsdWcgPSAoaXNzZXQoJHRoaXMtPl9pdGVtWyRwa10tPnByZWFjaGVyX2FsaWFzKSkgPyAkdGhpcy0+X2l0ZW1bJHBrXS0+cHJlYWNoZXIuJzonLiR0aGlzLT5faXRlbVskcGtdLT5wcmVhY2hlcl9hbGlhcyA6ICR0aGlzLT5faXRlbVskcGtdLT5wcmVhY2hlcjsNCgkJCSR0aGlzLT5faXRlbVskcGtdLT5zZXJpZXNfc2x1ZyA9IChpc3NldCgkdGhpcy0+X2l0ZW1bJHBrXS0+c2VyaWVzX2FsaWFzKSkgPyAkdGhpcy0+X2l0ZW1bJHBrXS0+c2VyaWVzLic6Jy4kdGhpcy0+X2l0ZW1bJHBrXS0+c2VyaWVzX2FsaWFzIDogJHRoaXMtPl9pdGVtWyRwa10tPnNlcmllczsNCgkJCSR0aGlzLT5faXRlbVskcGtdLT5jYXRlZ29yeV9zbHVnID0gKGlzc2V0KCR0aGlzLT5faXRlbVskcGtdLT5jYXRlZ29yeV9hbGlhcykpID8gJHRoaXMtPl9pdGVtWyRwa10tPmNhdGlkLic6Jy4kdGhpcy0+X2l0ZW1bJHBrXS0+Y2F0ZWdvcnlfYWxpYXMgOiAkdGhpcy0+X2l0ZW1bJHBrXS0+Y2F0aWQ7DQoJCQkvLyBub3cgYnVpbGQgdGhlIGxpbmtzDQoJCQkkdGhpcy0+X2l0ZW1bJHBrXS0+cHJlYWNoZXJfbGluayA9IEpSb3V0ZTo6XyhbW1tDb21wb25lbnRdXV1IZWxwZXJSb3V0ZTo6Z2V0UHJlYWNoZXJSb3V0ZSgkdGhpcy0+X2l0ZW1bJHBrXS0+cHJlYWNoZXJfc2x1ZykpOw0KCQkJJHRoaXMtPl9pdGVtWyRwa10tPnNlcmllc19saW5rID0gSlJvdXRlOjpfKFtbW0NvbXBvbmVudF1dXUhlbHBlclJvdXRlOjpnZXRTZXJpZXNSb3V0ZSgkdGhpcy0+X2l0ZW1bJHBrXS0+c2VyaWVzX3NsdWcpKTsNCgkJCSR0aGlzLT5faXRlbVskcGtdLT5jYXRlZ29yeV9saW5rID0gSlJvdXRlOjpfKFtbW0NvbXBvbmVudF1dXUhlbHBlclJvdXRlOjpnZXRDYXRlZ29yeVJvdXRlKCR0aGlzLT5faXRlbVskcGtdLT5jYXRlZ29yeV9zbHVnKSk7DQoJCQkvLyBidWlsZCB0aGUgZG93bmxvYWQgbGlua3MNCgkJCVtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Z2V0RG93bmxvYWRMaW5rcygkdGhpcy0+X2l0ZW1bJHBrXSk7DQoJCQkvLyBmaXggdGhlIHNjcmlwdHVyZSBsaW5rcyB0aGF0IHRoZXkgd2lsbCBzaG93DQoJCQlpZiAoaXNzZXQoJHRoaXMtPl9pdGVtWyRwa10tPnNjcmlwdHVyZSkgJiYgW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja1N0cmluZygkdGhpcy0+X2l0ZW1bJHBrXS0+c2NyaXB0dXJlKSkNCgkJCXsNCgkJCQlpZiAoc3RycG9zKCIsIiwkdGhpcy0+X2l0ZW1bJHBrXS0+c2NyaXB0dXJlKSAhPT0gZmFsc2UpDQoJCQkJew0KCQkJCQkkc2NyaXB0dXJlID0gKGFycmF5KSBleHBsb2RlKCIsIiwkdGhpcy0+X2l0ZW1bJHBrXS0+c2NyaXB0dXJlKTsNCgkJCQl9DQoJCQkJZWxzZWlmIChzdHJwb3MoIjsiLCR0aGlzLT5faXRlbVskcGtdLT5zY3JpcHR1cmUpICE9PSBmYWxzZSkNCgkJCQl7DQoJCQkJCSRzY3JpcHR1cmUgPSAoYXJyYXkpIGV4cGxvZGUoIjsiLCR0aGlzLT5faXRlbVskcGtdLT5zY3JpcHR1cmUpOw0KCQkJCX0NCgkJCQllbHNlDQoJCQkJew0KCQkJCQkkc2NyaXB0dXJlID0gKGFycmF5KSAkdGhpcy0+X2l0ZW1bJHBrXS0+c2NyaXB0dXJlOw0KCQkJCX0NCgkJCQkvLyBub3cgbG9hZCB0aGUgZ2V0QmlibGUgdGFnaW5nDQoJCQkJJHNjcmlwdHVyZSA9ICc8cD48c3BhbiBjbGFzcz0iZ2V0QmlibGUiPicuaW1wbG9kZSgnIFtpbl08L3NwYW4+PC9wPjxwPjxzcGFuIGNsYXNzPSJnZXRCaWJsZSI+Jywkc2NyaXB0dXJlKS4nIFtpbl08L3NwYW4+PC9wPic7DQoJCQkJJHRoaXMtPl9pdGVtWyRwa10tPnNjcmlwdHVyZSA9IEpIdG1sOjpfKCdjb250ZW50LnByZXBhcmUnLCAkc2NyaXB0dXJlKTsNCgkJCX0NCgkJfQ==', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"3\",\"1\"],\"state_key\":[\"\",\"\"],\"operator\":[\"10\",\"1\"],\"table_key\":[\"a.access\",\"a.id\"]}', '', 1, '{\"name\":[\"sermon\"],\"key\":[\"id\"],\"as\":[\"a\"],\"type\":[\"2\"]}', '{\"db_table\":[\"categories\"],\"row_type\":[\"1\"],\"as\":[\"e\"],\"type\":[\"1\"],\"on_field\":[\"a.catid\"],\"operator\":[\"1\"],\"join_field\":[\"e.id\"],\"selection\":[\"e.alias AS category_alias\\ne.title AS category\"]}', '{\"view_table\":[\"53\",\"54\",\"56\"],\"row_type\":[\"1\",\"1\",\"2\"],\"as\":[\"b\",\"c\",\"d\"],\"type\":[\"1\",\"1\",\"2\"],\"on_field\":[\"a.series\",\"a.preacher\",\"a.id\"],\"operator\":[\"1\",\"1\",\"1\"],\"join_field\":[\"b.id\",\"c.id\",\"d.sermon\"],\"selection\":[\"b.name AS series_name\\nb.alias AS series_alias\",\"c.name AS preacher_name\\nc.alias AS preacher_alias\",\"d.filename AS filename\\nd.counter AS counter\"]}', 1, 'Sermon', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.preacher AS preacher\r\na.short_description AS short_description\r\na.icon AS icon\r\na.scripture AS scripture\r\na.series AS series\r\na.catid AS catid\r\na.description AS description\r\na.link_type AS link_type\r\na.source AS source\r\na.build AS build\r\na.manual_files AS manual_files\r\na.local_files AS local_files\r\na.url AS url\r\na.not_required AS not_required\r\na.auto_sermons AS auto_sermons\r\na.published AS published\r\na.created_by AS created_by\r\na.modified_by AS modified_by\r\na.created AS created\r\na.modified AS modified\r\na.version AS version\r\na.hits AS hits\r\na.ordering AS ordering\r\na.metadesc AS metadesc\r\na.metakey AS metakey\r\na.metadata AS metadata', 55, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-10 07:32:30', '2015-11-21 23:04:49', '', '0000-00-00 00:00:00', 21, '', 1, 13), -(26, 15305, '', '', 1, '', '', '', '', '', '', 'CQkvLyBkbyBhIHF1aWNrIGJ1aWxkIG9mIGFsbCB0aGUgc2VybW9uIGxpbmtzDQoJCWlmIChpc3NldCgkaXRlbXMpICYmICRpdGVtcykNCgkJew0KCQkJZm9yZWFjaCAoJGl0ZW1zIGFzICRuciA9PiAmJGl0ZW0pDQoJCQl7DQoJCQkJJGl0ZW0tPnN0YXRpc3RpY1RvdGFsID0gMDsNCgkJCQlpZiAoaXNzZXQoJGl0ZW0tPmF1dG9fc2VybW9ucykgJiYgW1tbQ29tcG9uZW50XV1dSGVscGVyOjpjaGVja1N0cmluZygkaXRlbS0+YXV0b19zZXJtb25zKSkNCgkJCQl7DQoJCQkJCS8vIERlY29kZSB0aGUgYXV0byBmaWxlcw0KCQkJCQkkaXRlbS0+YXV0b19zZXJtb25zID0ganNvbl9kZWNvZGUoJGl0ZW0tPmF1dG9fc2VybW9ucywgdHJ1ZSk7DQoJCQkJfQ0KCQkJCS8vIHNldCBzdGF0aXN0aWMgcGVyIGZpbGVuYW1lIGlmIGZvdW5kDQoJCQkJaWYgKGlzc2V0KCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UpICYmIFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tBcnJheSgkaXRlbS0+aWRTZXJtb25TdGF0aXN0aWNFKSkNCgkJCQl7DQoJCQkJCWZvcmVhY2ggKCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UgYXMgJHN0YXRpc3RpYykNCgkJCQkJew0KCQkJCQkJJGl0ZW0tPnN0YXRpc3RpY1skc3RhdGlzdGljLT5maWxlbmFtZV0gPSAkc3RhdGlzdGljLT5jb3VudGVyOw0KCQkJCQl9DQoJCQkJCS8vIHNldCB0aGUgdG90YWwgZG93bmxvYWRzIGZvciB0aGlzIHNlcm1vbg0KCQkJCQkkaXRlbS0+c3RhdGlzdGljVG90YWwgPSBhcnJheV9zdW0oJGl0ZW0tPnN0YXRpc3RpYyk7DQoJCQkJfQ0KCQkJCXVuc2V0KCRpdGVtLT5pZFNlcm1vblN0YXRpc3RpY0UpOw0KCQkJCS8vIHNldCBwcmVhY2hlciBzbHVnDQoJCQkJJGl0ZW0tPnByZWFjaGVyX3NsdWcgPSAoaXNzZXQoJGl0ZW0tPnByZWFjaGVyX2FsaWFzKSkgPyAkaXRlbS0+cHJlYWNoZXIuJzonLiRpdGVtLT5wcmVhY2hlcl9hbGlhcyA6ICRpdGVtLT5wcmVhY2hlcjsNCgkJCQkvLyBidWlsZCBzZXJpZXMgc2x1Zw0KCQkJCSRpdGVtLT5zZXJpZXNfc2x1ZyA9IChpc3NldCgkaXRlbS0+c2VyaWVzX2FsaWFzKSkgPyAkaXRlbS0+c2VyaWVzLic6Jy4kaXRlbS0+c2VyaWVzX2FsaWFzIDogJGl0ZW0tPnNlcmllczsNCgkJCQkvLyBidWlsZCBuZWVkZWQgbGlua3MNCgkJCQkkaXRlbS0+bGluayA9IEpSb3V0ZTo6XyhbW1tDb21wb25lbnRdXV1IZWxwZXJSb3V0ZTo6Z2V0U2VybW9uUm91dGUoJGl0ZW0tPnNsdWcpKTsNCgkJCQkkaXRlbS0+cHJlYWNoZXJfbGluayA9IEpSb3V0ZTo6XyhbW1tDb21wb25lbnRdXV1IZWxwZXJSb3V0ZTo6Z2V0UHJlYWNoZXJSb3V0ZSgkaXRlbS0+cHJlYWNoZXJfc2x1ZykpOw0KCQkJCSRpdGVtLT5zZXJpZXNfbGluayA9IEpSb3V0ZTo6XyhbW1tDb21wb25lbnRdXV1IZWxwZXJSb3V0ZTo6Z2V0U2VyaWVzUm91dGUoJGl0ZW0tPnNlcmllc19zbHVnKSk7DQoJCQkJLy8gc2V0IHZpZXcga2V5DQoJCQkJJGl0ZW0tPnZpZXdLZXkgPSAnY2F0ZWdvcnknOw0KCQkJCVtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Z2V0RG93bmxvYWRMaW5rcygkaXRlbSk7DQoJCQl9DQoJCX0=', 1, '', '', '', '{\"filter_type\":[\"3\",\"8\"],\"state_key\":[\"\",\"JRequest::getInt(\'id\')\"],\"operator\":[\"10\",\"1\"],\"table_key\":[\"a.access\",\"a.catid\"]}', '', 2, '', '{\"db_table\":[\"categories\"],\"row_type\":[\"1\"],\"as\":[\"b\"],\"type\":[\"1\"],\"on_field\":[\"a.catid\"],\"operator\":[\"1\"],\"join_field\":[\"b.id\"],\"selection\":[\"b.title AS category\"]}', '{\"view_table\":[\"54\",\"53\",\"56\"],\"row_type\":[\"1\",\"1\",\"2\"],\"as\":[\"c\",\"d\",\"e\"],\"type\":[\"1\",\"1\",\"2\"],\"on_field\":[\"a.preacher\",\"a.series\",\"a.id\"],\"operator\":[\"1\",\"1\",\"1\"],\"join_field\":[\"c.id\",\"d.id\",\"e.sermon\"],\"selection\":[\"c.name AS preacher_name\\nc.alias AS preacher_alias\",\"d.name AS series_name\\nd.alias AS series_alias\",\"e.filename AS filename\\ne.sermon AS sermon\\ne.preacher AS preacher\\ne.series AS series\\ne.counter AS counter\"]}', 1, 'Sermons (Category id)', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.asset_id AS asset_id\r\na.name AS name\r\na.alias AS alias\r\na.link_type AS link_type\r\na.short_description AS short_description\r\na.icon AS icon\r\na.preacher AS preacher\r\na.series AS series\r\na.catid AS catid\r\na.description AS description\r\na.source AS source\r\na.build AS build\r\na.manual_files AS manual_files\r\na.local_files AS local_files\r\na.url AS url\r\na.auto_sermons AS auto_sermons\r\na.published AS published\r\na.created_by AS created_by\r\na.modified_by AS modified_by\r\na.created AS created\r\na.modified AS modified\r\na.version AS version\r\na.hits AS hits\r\na.ordering AS ordering', 55, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-19 12:12:46', '2015-11-29 00:59:21', '', '0000-00-00 00:00:00', 8, '', 1, 14), -(27, 15308, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"8\"],\"state_key\":[\"JRequest::getInt(\'id\')\"],\"operator\":[\"1\"],\"table_key\":[\"a.preacher\"]}', 'getNumberDownloads', 4, '', '{\"db_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', '{\"view_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', 1, 'Number Downloads (Preacher id)', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.counter AS counter', 56, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-19 16:53:37', '2015-11-19 17:56:40', '', '0000-00-00 00:00:00', 4, '', 1, 14), -(28, 15309, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"8\"],\"state_key\":[\"JRequest::getInt(\'id\')\"],\"operator\":[\"1\"],\"table_key\":[\"a.series\"]}', 'getNumberDownloads', 4, '', '{\"db_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', '{\"view_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', 1, 'Number Downloads (Series id)', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.counter AS counter', 56, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-19 16:56:11', '2015-11-19 17:56:30', '', '0000-00-00 00:00:00', 2, '', 1, 14), -(29, 15310, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"8\",\"3\"],\"state_key\":[\"JRequest::getInt(\'id\')\",\"\"],\"operator\":[\"1\",\"10\"],\"table_key\":[\"a.preacher\",\"a.access\"]}', 'getNumberSermons', 4, '', '{\"db_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', '{\"view_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', 1, 'Number Sermons (Preacher id)', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.alias AS alias\r\na.preacher AS preacher', 55, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-19 16:53:37', '2015-11-19 19:44:58', '', '0000-00-00 00:00:00', 7, '', 1, 14), -(30, 15311, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter_type\":[\"8\",\"3\"],\"state_key\":[\"JRequest::getInt(\'id\')\",\"\"],\"operator\":[\"1\",\"10\"],\"table_key\":[\"a.series\",\"a.access\"]}', 'getNumberSermons', 4, '', '{\"db_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', '{\"view_table\":[],\"row_type\":[],\"as\":[],\"type\":[],\"on_field\":[],\"operator\":[],\"join_field\":[],\"selection\":[]}', 1, 'Number Sermons (Series id)', '', '{\"table_key\":[\"a.ordering\"],\"direction\":[\"ASC\"]}', '', '', 'a.id AS id\r\na.alias AS alias\r\na.series AS series', 55, '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-19 16:56:11', '2015-11-19 19:45:17', '', '0000-00-00 00:00:00', 4, '', 1, 14), -(31, 15312, '', '', '', '', '', '', '', '', '', '', 1, '', 'a.id AS id\r\na.title AS name\r\na.alias AS alias\r\na.description AS description\r\na.hits AS hits\r\na.language AS language', 'categories', '{\"filter_type\":[\"3\",\"3\"],\"state_key\":[\"\",\"\"],\"operator\":[\"10\",\"10\"],\"table_key\":[\"a.access\",\"b.access\"]}', '', 2, '', '', '{\"view_table\":[\"55\"],\"row_type\":[\"2\"],\"as\":[\"b\"],\"type\":[\"2\"],\"on_field\":[\"a.id\"],\"operator\":[\"1\"],\"join_field\":[\"b.catid\"],\"selection\":[\"b.id AS id\"]}', 2, 'AllCategories', '', '{\"table_key\":[\"a.title\"],\"direction\":[\"ASC\"]}', '', '', '', '', '{\"table_key\":[\"a.published\",\"b.published\",\"a.extension\"],\"operator\":[\"1\",\"1\",\"1\"],\"value_key\":[\"1\",\"1\",\"\\\"com_sermondistributor.sermons\\\"\"]}', '', 1, 450, 450, '2015-11-19 17:18:16', '2015-11-29 00:59:26', '', '0000-00-00 00:00:00', 8, '', 1, 13), -(35, 15358, '', '', '', '', '', '', '', '', '', '', 1, '', 'a.id AS id\r\na.parent_id AS parent_id\r\na.lft AS lft\r\na.rgt AS rgt\r\na.level AS level\r\na.title AS name\r\na.alias AS alias\r\na.note AS note\r\na.description AS description\r\na.params AS params\r\na.metadesc AS metadesc\r\na.metakey AS metakey\r\na.metadata AS metadata\r\na.hits AS hits\r\na.language AS language\r\na.version AS version', 'categories', '{\"filter_type\":[\"8\"],\"state_key\":[\"JRequest::getInt(\'id\')\"],\"operator\":[\"1\"],\"table_key\":[\"a.id\"]}', 'getCategory', 3, '{\"name\":[],\"key\":[],\"as\":[],\"type\":[]}', '', '{\"view_table\":[\"55\",\"56\"],\"row_type\":[\"2\",\"2\"],\"as\":[\"b\",\"c\"],\"type\":[\"2\",\"2\"],\"on_field\":[\"a.id\",\"b.id\"],\"operator\":[\"1\",\"1\"],\"join_field\":[\"b.catid \",\"c.sermon\"],\"selection\":[\"b.id AS id\",\"c.counter AS counter\"]}', 2, 'Category', '', '{\"table_key\":[\"a.title\"],\"direction\":[\"ASC\"]}', '', '', '', '', '{\"table_key\":[\"a.published\"],\"operator\":[\"1\"],\"value_key\":[\"1\"]}', '', 1, 450, 450, '2015-11-20 01:00:27', '2015-11-22 19:36:50', '', '0000-00-00 00:00:00', 3, '', 1, 13); - --- --- Dumping data for table `#__componentbuilder_snippet` --- - -INSERT INTO `#__componentbuilder_snippet` (`id`, `description`, `heading`, `name`, `snippet`, `type`, `url`, `usage`, `published`, `created_by`, `modified_by`, `created`, `modified`, `version`, `hits`, `access`, `ordering`) VALUES -(1, 'The grid system of UIkit follows the mobile-first approach and accomodates up to 10 grid columns. It uses units with predefined classes inside each grid, which define the column width. It is also possible to combine the grid with classes from the Flex component, although it works only in modern browsers.', 'Create a fully responsive, fluid and nestable grid layout.', 'Grid', 'PGRpdiBkYXRhLXVrLWdyaWQtbWFyZ2luPSIiIGNsYXNzPSJ0bS1ncmlkLXRydW5jYXRlIHVrLWdyaWQgdWstZ3JpZC1kaXZpZGVyIHVrLXRleHQtY2VudGVyIj4NCiAgICA8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tMS0zIj4NCiAgICAJPGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCiAgICAgICAgCXtjb250ZW50fQ0KICAgICAgICA8L2Rpdj4NCiAgICA8L2Rpdj4NCiAgICA8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tMS0zIj4NCiAgICAJPGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCiAgICAgICAgCXtjb250ZW50fQ0KICAgICAgICA8L2Rpdj4NCiAgICA8L2Rpdj4NCiAgICA8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tMS0zIj4NCiAgICAJPGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCiAgICAgICAgCXtjb250ZW50fQ0KICAgICAgICA8L2Rpdj4NCiAgICA8L2Rpdj4NCjwvZGl2Pg==', 1, 'http://getuikit.com/docs/grid.html', 'To create the grid container, add the .uk-grid class to a parent element. Add one of the .uk-width-* classes to child elements to determine, how the units shall be sized. The grid supports 1, 2, 3, 4, 5, 6 and 10 unit divisions. This table gives you an overview of the uk-width-* classes that can be applied to units.', 1, 845, 845, '2015-05-19 17:18:32', '2015-05-19 20:51:43', 3, '', 1, 1), -(2, 'UIkit uses panels to outline certain sections of your content, which can be styled differently. Typically, panels are arranged in grid columns from the Grid component.', 'Create layout boxes with different styles.', 'Panel', 'PGRpdiBkYXRhLXVrLWdyaWQtbWFyZ2luPSIiIGNsYXNzPSJ1ay1ncmlkIj4NCiAgICA8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tMS0yIj4NCiAgICAgICAgPGRpdiBjbGFzcz0idWstcGFuZWwgdWstcGFuZWwtYm94Ij4NCiAgICAgICAgICAgIDxoMyBjbGFzcz0idWstcGFuZWwtdGl0bGUiPnt0aXRsZX08L2gzPg0KICAgICAgICAgICAge2NvbnRlbnR9DQogICAgICAgIDwvZGl2Pg0KICAgIDwvZGl2Pg0KICAgIDxkaXYgY2xhc3M9InVrLXdpZHRoLW1lZGl1bS0xLTIiPg0KICAgICAgICA8ZGl2IGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPg0KICAgICAgICAgICAgPGgzIGNsYXNzPSJ1ay1wYW5lbC10aXRsZSI+e3RpdGxlfTwvaDM+DQogICAgICAgICAgICB7Y29udGVudH0NCiAgICAgICAgPC9kaXY+DQogICAgPC9kaXY+DQo8L2Rpdj4=', 1, 'http://getuikit.com/docs/panel.html', 'The Panel component consists of the panel itself, the panel title and a panel badge. To prevent redundant white space, top and bottom margins are removed from the panel\'s content.', 1, 845, 845, '2015-05-19 20:04:54', '2015-05-19 20:51:59', 3, '', 1, 1), -(3, '', 'Separate content sections by bundling them in blocks with different styles.', 'Block', 'PGRpdiBjbGFzcz0idWstYmxvY2sgdWstYmxvY2stcHJpbWFyeSI+e2NvbnRlbnR9PC9kaXY+', 1, 'http://getuikit.com/docs/block.html', 'To apply this component, just add the .uk-block class to a container element.', 1, 845, 845, '2015-05-19 20:09:41', '2015-05-26 20:29:40', 2, '', 1, 2), -(4, '', 'Create articles within your page.', 'Article', 'PGFydGljbGUgY2xhc3M9InVrLWFydGljbGUiPg0KICAgIDxoMSBjbGFzcz0idWstYXJ0aWNsZS10aXRsZSI+e3RpdGxlfTwvaDE+DQogICAgPHAgY2xhc3M9InVrLWFydGljbGUtbWV0YSI+e21ldGF9PC9wPg0KICAgIDxwIGNsYXNzPSJ1ay1hcnRpY2xlLWxlYWQiPntjb250ZW50fTwvcD4NCiAgICB7Y29udGVudH0NCiAgICA8aHIgY2xhc3M9InVrLWFydGljbGUtZGl2aWRlciI+DQogICAge2NvbnRlbnR9DQo8L2FydGljbGU+', 1, 'http://getuikit.com/docs/article.html', 'The article component consists of the article itself, a title, meta data, an opening paragraph and dividers.', 1, 845, '', '2015-05-19 20:12:06', '0000-00-00 00:00:00', 1, '', 1, 3), -(5, '', 'Create comments, for example about articles.', 'Comment', 'PGFydGljbGUgY2xhc3M9InVrLWNvbW1lbnQiPg0KICAgIDxoZWFkZXIgY2xhc3M9InVrLWNvbW1lbnQtaGVhZGVyIj4NCiAgICAgICAgPGltZyBjbGFzcz0idWstY29tbWVudC1hdmF0YXIiIHNyYz0ie2ltYWdldXJsfSIgYWx0PSIiPg0KICAgICAgICA8aDQgY2xhc3M9InVrLWNvbW1lbnQtdGl0bGUiPnt0aXRsZX08L2g0Pg0KICAgICAgICA8ZGl2IGNsYXNzPSJ1ay1jb21tZW50LW1ldGEiPnttZXRhfTwvZGl2Pg0KICAgIDwvaGVhZGVyPg0KICAgIDxkaXYgY2xhc3M9InVrLWNvbW1lbnQtYm9keSI+e3RpdGxlfTwvZGl2Pg0KPC9hcnRpY2xlPg==', 1, 'http://getuikit.com/docs/comment.html', 'The Comment component consists of a comment header, including an avatar, a title and meta data, and a comment body.', 1, 845, '', '2015-05-19 20:13:53', '0000-00-00 00:00:00', 1, '', 1, 4), -(6, '', 'A collection of useful utility classes to style your content.', 'Utility Container', 'PGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTEtMiB1ay1jb250YWluZXItY2VudGVyIj57Y29udGVudH08L2Rpdj4=', 1, 'http://getuikit.com/docs/utility.html', 'Add the .uk-container class to a block element to give it a max-width and wrap the main content of your website. For large screens it applies a different max-width.\r\n\r\nTo center the container, use the .uk-container-center class. For any other block element, you additionally need to apply a width.', 1, 845, 845, '2015-05-19 20:18:00', '2015-05-19 20:52:48', 2, '', 1, 5), -(7, '', 'A collection of useful utility classes to style your content.', 'Utility Clearing and floating', 'PGRpdiBjbGFzcz0idWstY2xlYXJmaXgiPg0KICAgIDxkaXYgY2xhc3M9InVrLWZsb2F0LXJpZ2h0Ij57Y29udGVudH08L2Rpdj4NCiAgICA8ZGl2IGNsYXNzPSJ1ay1mbG9hdC1sZWZ0Ij57Y29udGVudH08L2Rpdj4NCjwvZGl2Pg==', 1, 'http://getuikit.com/docs/utility.html', 'Floating is fundamental for creating all kinds of layouts. But floats need to be cleared or in the worst case, you might end up with a scrambled site. The following classes will help you to setup basic layouts.', 1, 845, 845, '2015-05-19 20:18:54', '2015-05-19 20:52:58', 2, '', 1, 5), -(8, 'This component uses Flexbox, a concept that is still quite new but extremely powerful for creating layouts.', 'Utilize the power of Flexbox to create a wide range of layouts.', 'Flex', 'PGRpdiBjbGFzcz0idWstZmxleCB1ay1mbGV4LXdyYXAgdWstZmxleC13cmFwLXJldmVyc2UgdWstZmxleC13cmFwLXNwYWNlLWFyb3VuZCI+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtMS0zIHVrLXBhbmVsIHVrLXBhbmVsLWJveCB1ay1wYW5lbC1ib3gtcHJpbWFyeSI+e2NvbnRlbnR9PC9kaXY+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtMS0yIHVrLXBhbmVsIHVrLXBhbmVsLWJveCB1ay1wYW5lbC1ib3gtcHJpbWFyeSB1ay1tYXJnaW4tbGVmdCI+e2NvbnRlbnR9PC9kaXY+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtMS0zIHVrLXBhbmVsIHVrLXBhbmVsLWJveCB1ay1wYW5lbC1ib3gtcHJpbWFyeSI+e2NvbnRlbnR9PC9kaXY+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtMS0zIHVrLXBhbmVsIHVrLXBhbmVsLWJveCB1ay1wYW5lbC1ib3gtcHJpbWFyeSB1ay1tYXJnaW4tbGVmdCI+e2NvbnRlbnR9PC9kaXY+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtMS0yIHVrLXBhbmVsIHVrLXBhbmVsLWJveCB1ay1wYW5lbC1ib3gtcHJpbWFyeSI+e2NvbnRlbnR9PC9kaXY+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtMS0zIHVrLXBhbmVsIHVrLXBhbmVsLWJveCB1ay1wYW5lbC1ib3gtcHJpbWFyeSB1ay1tYXJnaW4tbGVmdCI+e2NvbnRlbnR9PC9kaXY+DQo8L2Rpdj4=', 1, 'http://getuikit.com/docs/flex.html', 'To apply this component, just add the .uk-flex class to a element. This will create the flex container. By default, all flex items will be aligned to the left and equally matched in height and width.', 1, 845, 845, '2015-05-19 20:22:23', '2015-05-19 20:25:58', 3, '', 1, 5), -(9, 'This component allows you to create fullscreen teasers using images, objects or even iframes. Regardless what kind of element, it will always be centered vertically and horizontally and cover its container without losing its proportions. You can also place additional content, like text or an image, on top of the image or video.', 'Expand images or videos to cover their entire container.', 'Cover', 'PGRpdiBjbGFzcz0idWstY292ZXIiPg0KICAgIDx2aWRlbyBjbGFzcz0idWstY292ZXItb2JqZWN0IiB3aWR0aD0iIiBoZWlnaHQ9IiI+DQogICAgICAgIDxzb3VyY2Ugc3JjPSIiIHR5cGU9IiI+DQogICAgPC92aWRlbz4NCjwvZGl2Pg0KDQo8ZGl2IGNsYXNzPSJ1ay1jb3Zlci1iYWNrZ3JvdW5kIj4NCiAgICA8aW1nIGNsYXNzPSJ1ay1pbnZpc2libGUiIHNyYz0iIiB3aWR0aD0iIiBoZWlnaHQ9IiIgYWx0PSIiPg0KPC9kaXY+DQoNCjxkaXYgY2xhc3M9InVrLWNvdmVyIHVrLXBvc2l0aW9uLXJlbGF0aXZlIj4NCiAgICA8aW1nIGNsYXNzPSJ1ay1pbnZpc2libGUiIHNyYz0iIiB3aWR0aD0iIiBoZWlnaHQ9IiIgYWx0PSIiPg0KICAgIDx2aWRlbyBjbGFzcz0idWstY292ZXItb2JqZWN0IHVrLXBvc2l0aW9uLWFic29sdXRlIiB3aWR0aD0iIiBoZWlnaHQ9IiI+DQogICAgICAgIDxzb3VyY2Ugc3JjPSIiIHR5cGU9IiI+DQogICAgPC92aWRlbz4NCjwvZGl2Pg0KDQo8ZGl2IGNsYXNzPSJ1ay1jb3Zlci1iYWNrZ3JvdW5kIHVrLXBvc2l0aW9uLXJlbGF0aXZlIj4NCiAgICA8aW1nIGNsYXNzPSJ1ay1pbnZpc2libGUiIHNyYz0iIiB3aWR0aD0iIiBoZWlnaHQ9IiIgYWx0PSIiPg0KICAgIDxkaXYgY2xhc3M9InVrLXBvc2l0aW9uLWNvdmVyIHVrLWZsZXggdWstZmxleC1jZW50ZXIgdWstZmxleC1taWRkbGUiPntjb250ZW50fTwvZGl2Pg0KPC9kaXY+', 1, 'http://getuikit.com/docs/cover.html', 'The Cover component is applied differently, depending on whether you are using a background image, an object or an iframe. The simplest way is to add the .uk-cover-background class to a element with a background image.', 1, 845, '', '2015-05-19 20:29:57', '2015-05-19 20:25:58', 1, '', 1, 5), -(10, 'The Dynamic Grid component allows you to create a dynamic and responsive grid layout utilizing the Grid component. Grid items will arrange themselves fluently and seamlessly for a gap-free multi-column layout on all device sizes.', 'Create a multi-column, dynamic grid layout whose items can be sorted and filtered.', 'Dynamic Grid', 'PCEtLSBUaGlzIGlzIGEgZ3JpZCB1c2luZyB1ay13aWR0aC0qIG9uIGVhY2ggaXRlbSAtLT4NCjxkaXYgZGF0YS11ay1ncmlkPg0KICAgIDxkaXYgY2xhc3M9InVrLXdpZHRoLXNtYWxsLTEtMiB1ay13aWR0aC1tZWRpdW0tMS00Ij57Y29udGVudH08L2Rpdj4NCiAgICA8ZGl2IGNsYXNzPSJ1ay13aWR0aC1zbWFsbC0xLTIgdWstd2lkdGgtbWVkaXVtLTEtNCI+e2NvbnRlbnR9PC9kaXY+DQo8L2Rpdj4NCg0KPCEtLSBUaGlzIGlzIGEgZ3JpZCB1c2luZyB1ay1ncmlkLXdpZHRoLSogb24gdGhlIGdyaWQgaXRzZWxmIC0tPg0KPGRpdiBjbGFzcz0idWstZ3JpZC13aWR0aC1zbWFsbC0xLTIgdWstZ3JpZC13aWR0aC1tZWRpdW0tMS00IiBkYXRhLXVrLWdyaWQ+DQogICAgPGRpdj57Y29udGVudH08L2Rpdj4NCiAgICA8ZGl2Pntjb250ZW50fTwvZGl2Pg0KPC9kaXY+DQoNCjwhLS0gRmlsdGVyIENvbnRyb2xzIC0tPg0KPHVsIGlkPSJteS1pZCIgY2xhc3M9InVrLXN1Ym5hdiI+DQogICAgPGxpIGRhdGEtdWstZmlsdGVyPSIiPjxhIGhyZWY9IiI+QWxsPC9hPjwvbGk+DQogICAgPGxpIGRhdGEtdWstZmlsdGVyPSJmaWx0ZXItYSI+PGEgaHJlZj0iIj5BIEZpbHRlcjwvYT48L2xpPg0KICAgIDxsaSBkYXRhLXVrLWZpbHRlcj0iZmlsdGVyLWIiPjxhIGhyZWY9IiI+YiBGaWx0ZXI8L2E+PC9saT4NCjwvdWw+DQo8IS0tIER5bmFtaWMgR3JpZCAtLT4NCjxkaXYgZGF0YS11ay1ncmlkPSJ7Y29udHJvbHM6ICcjbXktaWQnfSI+DQogICAgPGRpdiBkYXRhLXVrLWZpbHRlcj0iZmlsdGVyLWEiPntjb250ZW50fTwvZGl2Pg0KICAgIDxkaXYgZGF0YS11ay1maWx0ZXI9ImZpbHRlci1iIj57Y29udGVudH08L2Rpdj4NCjwvZGl2Pg==', 1, 'http://getuikit.com/docs/grid-js.html', 'To apply this component, add the data-uk-grid attribute to the container element. Set the width of the grid items by using the uk-width-* or .uk-grid-width-* classes from the Grid component.', 1, 845, '', '2015-05-19 20:35:29', '2015-05-19 20:25:58', 1, '', 1, 5), -(11, '', 'Defines different styles for list navigations.', 'Nav', 'PHVsIGNsYXNzPSJ1ay1uYXYgdWstbmF2LXNpZGUiPg0KICAgIDxsaSBjbGFzcz0idWstYWN0aXZlIj48YSBocmVmPSIjIj5BY3RpdmU8L2E+PC9saT4NCiAgICA8bGk+PGEgaHJlZj0iIyI+SXRlbTwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIjIj5JdGVtPC9hPjwvbGk+DQo8L3VsPg==', 2, 'http://getuikit.com/docs/nav.html', 'To apply this component, add the .uk-nav class to an element. Use elements as menu items within the list. To apply an active state to a menu item, just add the .uk-active class.', 1, 845, '', '2015-05-19 20:39:09', '0000-00-00 00:00:00', 1, '', 1, 6), -(12, '', 'Defines different styles for the navigation bar.', 'Navbar', 'PG5hdiBjbGFzcz0idWstbmF2YmFyIj4NCiAgICA8dWwgY2xhc3M9InVrLW5hdmJhci1uYXYiPg0KICAgICAgICA8bGkgY2xhc3M9InVrLWFjdGl2ZSI+PGEgaHJlZj0iIj5BY3RpdmU8L2E+PC9saT4NCiAgICAgICAgPGxpPjxhIGhyZWY9IiI+SXRlbTwvYT48L2xpPg0KICAgICAgICA8bGkgZGF0YS11ay1kcm9wZG93bj0iIiBjbGFzcz0idWstcGFyZW50IiBhcmlhLWhhc3BvcHVwPSJ0cnVlIiBhcmlhLWV4cGFuZGVkPSJmYWxzZSI+DQogICAgICAgICAgICA8YSBocmVmPSIiPlBhcmVudDwvYT4NCiAgICANCiAgICAgICAgICAgIDxkaXYgY2xhc3M9InVrLWRyb3Bkb3duIHVrLWRyb3Bkb3duLW5hdmJhciIgc3R5bGU9IiI+DQogICAgICAgICAgICAgICAgPHVsIGNsYXNzPSJ1ay1uYXYgdWstbmF2LW5hdmJhciI+DQogICAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSIjIj5JdGVtPC9hPjwvbGk+DQogICAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSIjIj5Bbm90aGVyIGl0ZW08L2E+PC9saT4NCiAgICAgICAgICAgICAgICAgICAgPGxpIGNsYXNzPSJ1ay1uYXYtaGVhZGVyIj5IZWFkZXI8L2xpPg0KICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iIyI+SXRlbTwvYT48L2xpPg0KICAgICAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iIyI+QW5vdGhlciBpdGVtPC9hPjwvbGk+DQogICAgICAgICAgICAgICAgICAgIDxsaSBjbGFzcz0idWstbmF2LWRpdmlkZXIiPjwvbGk+DQogICAgICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSIjIj5TZXBhcmF0ZWQgaXRlbTwvYT48L2xpPg0KICAgICAgICAgICAgICAgIDwvdWw+DQogICAgICAgICAgICA8L2Rpdj4NCiAgICANCiAgICAgICAgPC9saT4NCiAgICA8L3VsPg0KPC9uYXY+', 2, 'http://getuikit.com/docs/navbar.html', 'The Navbar component consists of the navbar itself and one or more navigations.', 1, 845, '', '2015-05-19 20:41:10', '0000-00-00 00:00:00', 1, '', 1, 6), -(13, '', 'Defines different styles for a sub navigation.', 'Subnav', 'PHVsIGNsYXNzPSJ1ay1zdWJuYXYgdWstc3VibmF2LXBpbGwiPg0KICAgIDxsaSBjbGFzcz0idWstYWN0aXZlIj48YSBocmVmPSIjIj5BY3RpdmU8L2E+PC9saT4NCiAgICA8bGk+PGEgaHJlZj0iIyI+SXRlbTwvYT48L2xpPg0KICAgIDxsaSBjbGFzcz0idWstZGlzYWJsZWQiPjxhIGhyZWY9IiMiPkRpc2FibGVkPC9hPjwvbGk+DQogICAgPGxpIGRhdGEtdWstZHJvcGRvd249Inttb2RlOidjbGljayd9Ij4NCiAgICAgICAgPGEgaHJlZj0iIyI+TW9yZSA8aSBjbGFzcz0idWstaWNvbi1jYXJldC1kb3duIj48L2k+PC9hPg0KICAgICAgICA8ZGl2IGNsYXNzPSJ1ay1kcm9wZG93biB1ay1kcm9wZG93bi1zbWFsbCI+DQogICAgICAgICAgICA8dWwgY2xhc3M9InVrLW5hdiB1ay1uYXYtZHJvcGRvd24iPg0KICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSIjIj5JdGVtPC9hPjwvbGk+DQogICAgICAgICAgICAgICAgPGxpPjxhIGhyZWY9IiMiPkFub3RoZXIgaXRlbTwvYT48L2xpPg0KICAgICAgICAgICAgICAgIDxsaSBjbGFzcz0idWstbmF2LWhlYWRlciI+SGVhZGVyPC9saT4NCiAgICAgICAgICAgICAgICA8bGk+PGEgaHJlZj0iIyI+SXRlbTwvYT48L2xpPg0KICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSIjIj5Bbm90aGVyIGl0ZW08L2E+PC9saT4NCiAgICAgICAgICAgICAgICA8bGkgY2xhc3M9InVrLW5hdi1kaXZpZGVyIj48L2xpPg0KICAgICAgICAgICAgICAgIDxsaT48YSBocmVmPSIjIj5TZXBhcmF0ZWQgaXRlbTwvYT48L2xpPg0KICAgICAgICAgICAgPC91bD4NCiAgICAgICAgPC9kaXY+DQogICAgPC9saT4NCjwvdWw+', 2, 'http://getuikit.com/docs/subnav.html', 'To apply this component, use the following classes. To align a subnav, for example to horizontally center it, you can use the Flex component.', 1, 845, '', '2015-05-19 20:42:37', '0000-00-00 00:00:00', 1, '', 1, 6), -(14, '', 'Create breadcrumbs to show users their location within a website.', 'Breadcrumb', 'PHVsIGNsYXNzPSJ1ay1icmVhZGNydW1iIj4NCiAgICA8bGk+PGEgaHJlZj0iIyI+SG9tZTwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIjIj5CbG9nPC9hPjwvbGk+DQogICAgPGxpPjxzcGFuPkNhdGVnb3J5PC9zcGFuPjwvbGk+DQogICAgPGxpIGNsYXNzPSJ1ay1hY3RpdmUiPjxzcGFuPlBvc3Q8L3NwYW4+PC9saT4NCjwvdWw+', 2, 'http://getuikit.com/docs/breadcrumb.html', 'The Breadcrumb component consists of links which are aligned side by side and separated by a divider.', 1, 845, '', '2015-05-19 20:44:01', '0000-00-00 00:00:00', 1, '', 1, 6), -(15, '', 'Easlily create a nicely looking pagination to navigate through pages.', 'Pagination', 'PHVsIGNsYXNzPSJ1ay1wYWdpbmF0aW9uIj4NCiAgICA8bGk+PGEgaHJlZj0iIyI+MTwvYT48L2xpPg0KICAgIDxsaT48c3Bhbj4uLi48L3NwYW4+PC9saT4NCiAgICA8bGk+PGEgaHJlZj0iIyI+ODwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIjIj45PC9hPjwvbGk+DQogICAgPGxpIGNsYXNzPSJ1ay1hY3RpdmUiPjxzcGFuPjEwPC9zcGFuPjwvbGk+DQogICAgPGxpPjxhIGhyZWY9IiMiPjExPC9hPjwvbGk+DQogICAgPGxpPjxhIGhyZWY9IiMiPjEyPC9hPjwvbGk+DQogICAgPGxpPjxzcGFuPi4uLjwvc3Bhbj48L2xpPg0KICAgIDxsaT48YSBocmVmPSIjIj4yMDwvYT48L2xpPg0KPC91bD4=', 2, 'http://getuikit.com/docs/pagination.html', 'The Pagination component consists of button-like styled links, that are aligned side by side.', 1, 845, '', '2015-05-19 20:45:49', '0000-00-00 00:00:00', 1, '', 1, 6), -(16, '', 'Create a tabbed navigation with different styles.', 'Tab', 'PHVsIGNsYXNzPSJ1ay10YWIiIGRhdGEtdWstdGFiPg0KICAgIDxsaSBjbGFzcz0idWstYWN0aXZlIj48YSBocmVmPSIiPkFjdGl2ZTwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIiPkl0ZW08L2E+PC9saT4NCiAgICA8bGk+PGEgaHJlZj0iIj5JdGVtPC9hPjwvbGk+DQogICAgPGxpIGNsYXNzPSJ1ay1kaXNhYmxlZCI+PGEgaHJlZj0iIj5EaXNhYmxlZDwvYT48L2xpPg0KPC91bD4=', 2, 'http://getuikit.com/docs/tab.html', 'The Tab component consists of clickable tabs, that are aligned side by side.\r\n\r\nThe data-uk-tab attribute is required for two purposes. Firstly, it enables the responsive behaviour. If the parent container is too small to accomodate all tabs, they will be combined into a dropdown, toggled by a single tab, which represents the active tab item. This also requires the Dropdown component in order to work.\r\n\r\nAnd secondly, its functionality is coupled to the Switcher component, which is necessary to dynamically transition through different contents using tabbed navigation.', 1, 845, 845, '2015-05-19 20:47:34', '2015-05-19 20:54:27', 3, '', 1, 6), -(17, '', 'Create a tabbed navigation with different styles.', 'Thumbnav', 'PHVsIGNsYXNzPSJ1ay10aHVtYm5hdiI+DQogICAgPGxpIGNsYXNzPSJ1ay1hY3RpdmUiPjxhIGhyZWY9IiI+PGltZyBzcmM9IiIgYWx0PSIiPjwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIiPjxpbWcgc3JjPSIiIGFsdD0iIj48L2E+PC9saT4NCjwvdWw+', 2, 'http://getuikit.com/docs/thumbnav.html', 'To apply this component, add the .uk-thumbnav class to an element and nest your thumbnail images inside elements within the list items. The thumbnav will wrap into several rows, if it is wider than its container and automatically applies a gutter. Add the .uk-active class to create an active state.\r\n\r\nTo align a subnav, for example to horizontally center it, you can use the Flex component.', 1, 845, 845, '2015-05-19 20:48:42', '2015-05-19 20:55:14', 2, '', 1, 6), -(18, 'Modifiers\r\n\r\nTo display the list in a different style, just add a modifier class to the the .uk-list class. The modifiers of the List component are not combinable with each other.', 'Easily create nicely looking lists, which come in different styles.', 'List', 'PHVsIGNsYXNzPSJ1ay1saXN0IHVrLWxpc3Qtc3RyaXBlZCI+DQogICAgPGxpPi4uLjwvbGk+DQogICAgPGxpPi4uLjwvbGk+DQogICAgPGxpPi4uLjwvbGk+DQo8L3VsPg==', 3, 'http://getuikit.com/docs/list.html', 'To apply this component, add the .uk-list class to an unordered or ordered list. The list will now display without any spacing or list-style. [uk-list-line] [uk-list-space]', 1, 845, 845, '2015-06-01 16:09:04', '2015-06-01 16:09:27', 2, '', 1, 6), -(19, 'Add the .uk-description-list-horizontal class to display terms and descriptions side by side.', 'Easily create nicely looking description lists, which come in different styles.', 'Description list', 'PGRsIGNsYXNzPSJ1ay1kZXNjcmlwdGlvbi1saXN0LWhvcml6b250YWwiPg0KICAgIDxkdD4uLi48L2R0Pg0KICAgIDxkZD4uLi48L2RkPg0KPC9kbD4=', 3, 'http://getuikit.com/docs/description-list.html', 'There is no component class necessary to create a description list, but UIkit provides a couple of modifier classes to display the list in a different style. The modifiers of the Description list component are not combinable with each other. [uk-description-list-line]', 1, 845, '', '2015-06-01 16:10:54', '2015-06-01 16:09:27', 1, '', 1, 6), -(20, '', 'Easily create nicely looking tables, which come in different styles.', 'Table', 'PHRhYmxlIGNsYXNzPSJ1ay10YWJsZSB1ay10YWJsZS1ob3ZlciI+DQogICAgPGNhcHRpb24+Li4uPC9jYXB0aW9uPg0KICAgIDx0aGVhZD4NCiAgICAgICAgPHRyPg0KICAgICAgICAgICAgPHRoPi4uLjwvdGg+DQogICAgICAgIDwvdHI+DQogICAgPC90aGVhZD4NCiAgICA8dGZvb3Q+DQogICAgICAgIDx0cj4NCiAgICAgICAgICAgIDx0ZD4uLi48L3RkPg0KICAgICAgICA8L3RyPg0KICAgIDwvdGZvb3Q+DQogICAgPHRib2R5Pg0KICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGQ+Li4uPC90ZD4NCiAgICAgICAgPC90cj4NCiAgICA8L3Rib2R5Pg0KPC90YWJsZT4=', 3, 'http://getuikit.com/docs/table.html', 'To apply this component, add the .uk-table class to a element.', 1, 845, '', '2015-06-01 16:12:46', '2015-06-01 16:09:27', 1, '', 1, 6), -(21, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button href', 'PGEgY2xhc3M9InVrLWJ1dHRvbiB1ay1idXR0b24tcHJpbWFyeSIgaHJlZj0iIj4uLi48L2E+', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, 845, '2015-06-01 16:17:24', '2015-06-01 16:17:53', 2, '', 1, 7), -(22, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button primary', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLWJ1dHRvbi1wcmltYXJ5IiB0eXBlPSJidXR0b24iPi4uLjwvYnV0dG9uPg==', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:18:37', '2015-06-01 16:17:53', 1, '', 1, 7), -(23, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button disabled', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIiB0eXBlPSJidXR0b24iIGRpc2FibGVkPi4uLjwvYnV0dG9uPg==', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:18:53', '2015-06-01 16:17:53', 1, '', 1, 7), -(24, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button success', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLWJ1dHRvbi1zdWNjZXNzIiB0eXBlPSJidXR0b24iPi4uLjwvYnV0dG9uPg==', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:19:15', '2015-06-01 16:17:53', 1, '', 1, 7), -(25, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button danger', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLWJ1dHRvbi1kYW5nZXIiIHR5cGU9ImJ1dHRvbiI+Li4uPC9idXR0b24+', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:19:28', '2015-06-01 16:17:53', 1, '', 1, 7), -(26, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button mini', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLWJ1dHRvbi1wcmltYXJ5IHVrLWJ1dHRvbi1taW5pIiB0eXBlPSJidXR0b24iPi4uLjwvYnV0dG9uPg==', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:20:06', '2015-06-01 16:17:53', 1, '', 1, 7), -(27, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button small', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLWJ1dHRvbi1zdWNjZXNzIHVrLWJ1dHRvbi1zbWFsbCIgdHlwZT0iYnV0dG9uIj4uLi48L2J1dHRvbj4=', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:20:37', '2015-06-01 16:17:53', 1, '', 1, 7), -(28, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button large', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLWJ1dHRvbi1sYXJnZSIgdHlwZT0iYnV0dG9uIj4uLi48L2J1dHRvbj4=', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:20:58', '2015-06-01 16:17:53', 1, '', 1, 7), -(29, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button full width', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIHVrLXdpZHRoLTEtMSB1ay1tYXJnaW4tc21hbGwtYm90dG9tIiB0eXBlPSJidXR0b24iPi4uLjwvYnV0dG9uPg==', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:21:28', '2015-06-01 16:17:53', 1, '', 1, 7), -(30, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button group', 'PGRpdiBjbGFzcz0idWstYnV0dG9uLWdyb3VwIj4NCiAgICA8YSBjbGFzcz0idWstYnV0dG9uIiBocmVmPSIiPi4uLjwvYT4NCiAgICA8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24iPi4uLjwvYnV0dG9uPg0KICAgIDxidXR0b24gY2xhc3M9InVrLWJ1dHRvbiI+Li4uPC9idXR0b24+DQo8L2Rpdj4=', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:21:42', '2015-06-01 16:17:53', 1, '', 1, 7), -(31, '', 'Easily create nicely looking buttons, which come in different styles.', 'Button dropdowns', 'PCEtLSBUaGlzIGlzIHRoZSBjb250YWluZXIgZW5hYmxpbmcgdGhlIEphdmFTY3JpcHQgLS0+DQo8ZGl2IGNsYXNzPSJ1ay1idXR0b24tZHJvcGRvd24iIGRhdGEtdWstZHJvcGRvd24+DQoNCiAgICA8IS0tIFRoaXMgaXMgdGhlIGJ1dHRvbiB0b2dnbGluZyB0aGUgZHJvcGRvd24gLS0+DQogICAgPGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIj4uLi48L2J1dHRvbj4NCg0KICAgIDwhLS0gVGhpcyBpcyB0aGUgZHJvcGRvd24gLS0+DQogICAgPGRpdiBjbGFzcz0idWstZHJvcGRvd24gdWstZHJvcGRvd24tc21hbGwiPg0KICAgICAgICA8dWwgY2xhc3M9InVrLW5hdiB1ay1uYXYtZHJvcGRvd24iPg0KICAgICAgICAgICAgPGxpPjxhIGhyZWY9IiI+Li4uPC9hPjwvbGk+DQogICAgICAgICAgICA8bGk+PGEgaHJlZj0iIj4uLi48L2E+PC9saT4NCiAgICAgICAgPC91bD4NCiAgICA8L2Rpdj4NCg0KPC9kaXY+', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', 1, 845, '', '2015-06-01 16:22:52', '2015-06-01 16:17:53', 1, '', 1, 7), -(32, 'This component is using the fantastic Font Awesome icon font, a project by Dave Gandy. Altogether Font Awesome provides more than 300 symbols and glyphs for web-related actions. Icon fonts are great, because they enable you to easily change color, size and more via CSS. They are scalable vector graphics, which means that they look great on high-resolution displays.', 'Place vector icons anywhere using an icon font.', 'Icon', 'PGkgY2xhc3M9InVrLWljb24tY29nIj48L2k+', 4, 'http://getuikit.com/docs/icon.html', 'To apply this component, add any .uk-icon-* class to an or element. Et voilà, you have a vector icon, which inherits size and color just like your text does.', 1, 845, '', '2015-06-01 16:24:46', '0000-00-00 00:00:00', 1, '', 1, 8), -(33, '', 'Easlily create nicely looking badges to label and highlight your content.', 'Badge', 'PGRpdiBjbGFzcz0idWstYmFkZ2UiPi4uLjwvZGl2Pg==', 4, 'http://getuikit.com/docs/badge.html', 'To create a badge, just add the .uk-badge class to a or element.', 1, 845, '', '2015-06-01 16:25:53', '0000-00-00 00:00:00', 1, '', 1, 8), -(34, '', 'Defines styles for success, warning and error messages.', 'Alert', 'PGRpdiBjbGFzcz0idWstYWxlcnQgdWstYWxlcnQtc3VjY2VzcyIgZGF0YS11ay1hbGVydD4NCiAgICA8YSBocmVmPSIiIGNsYXNzPSJ1ay1hbGVydC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KICAgIDxwPi4uLjwvcD4NCjwvZGl2Pg==', 4, 'http://getuikit.com/docs/badge.html', 'To apply this component, add the .uk-alert class to a block element.', 1, 845, '', '2015-06-01 16:26:54', '0000-00-00 00:00:00', 1, '', 1, 8), -(35, '', 'A collection of useful text utility classes to style your content.', 'Text small', 'PHNwYW4gY2xhc3M9InVrLXRleHQtc21hbGwiPkFkZCB0aGlzIGNsYXNzIHRvIGRlY3JlYXNlIHRoZSBmb250IHNpemUuPC9zcGFuPg==', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:29:02', '0000-00-00 00:00:00', 1, '', 1, 8), -(36, '', 'A collection of useful text utility classes to style your content.', 'Text large', 'PHNwYW4gY2xhc3M9InVrLXRleHQtbGFyZ2UiPkFkZCB0aGlzIGNsYXNzIHRvIGRlY3JlYXNlIHRoZSBmb250IHNpemUuPC9zcGFuPg==', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:29:14', '0000-00-00 00:00:00', 1, '', 1, 8), -(37, '', 'A collection of useful text utility classes to style your content.', 'Text bold', 'PHNwYW4gY2xhc3M9InVrLXRleHQtYm9sZCI+QWRkIHRoaXMgY2xhc3MgdG8gZGVjcmVhc2UgdGhlIGZvbnQgc2l6ZS48L3NwYW4+', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:29:24', '0000-00-00 00:00:00', 1, '', 1, 8), -(38, '', 'A collection of useful text utility classes to style your content.', 'Text muted', 'PHNwYW4gY2xhc3M9InVrLXRleHQtbXV0ZWQiPkFkZCB0aGlzIGNsYXNzIHRvIGRlY3JlYXNlIHRoZSBmb250IHNpemUuPC9zcGFuPg==', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:29:36', '0000-00-00 00:00:00', 1, '', 1, 8), -(39, '', 'A collection of useful text utility classes to style your content.', 'Text primary', 'PHNwYW4gY2xhc3M9InVrLXRleHQtcHJpbWFyeSI+QWRkIHRoaXMgY2xhc3MgdG8gZGVjcmVhc2UgdGhlIGZvbnQgc2l6ZS48L3NwYW4+', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:29:46', '0000-00-00 00:00:00', 1, '', 1, 8), -(40, '', 'A collection of useful text utility classes to style your content.', 'Text success', 'PHNwYW4gY2xhc3M9InVrLXRleHQtc3VjY2VzcyI+QWRkIHRoaXMgY2xhc3MgdG8gZGVjcmVhc2UgdGhlIGZvbnQgc2l6ZS48L3NwYW4+', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:29:57', '0000-00-00 00:00:00', 1, '', 1, 8), -(41, '', 'A collection of useful text utility classes to style your content.', 'Text warning', 'PHNwYW4gY2xhc3M9InVrLXRleHQtd2FybmluZyI+QWRkIHRoaXMgY2xhc3MgdG8gZGVjcmVhc2UgdGhlIGZvbnQgc2l6ZS48L3NwYW4+', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:30:09', '0000-00-00 00:00:00', 1, '', 1, 8), -(42, '', 'A collection of useful text utility classes to style your content.', 'Text danger', 'PHNwYW4gY2xhc3M9InVrLXRleHQtZGFuZ2VyIj5BZGQgdGhpcyBjbGFzcyB0byBkZWNyZWFzZSB0aGUgZm9udCBzaXplLjwvc3Bhbj4=', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:30:19', '0000-00-00 00:00:00', 1, '', 1, 8), -(43, '', 'A collection of useful text utility classes to style your content.', 'Text contrast', 'PHNwYW4gY2xhc3M9InVrLXRleHQtY29udHJhc3QiPkFkZCB0aGlzIGNsYXNzIHRvIGRlY3JlYXNlIHRoZSBmb250IHNpemUuPC9zcGFuPg==', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:30:31', '0000-00-00 00:00:00', 1, '', 1, 8), -(44, '', 'A collection of useful text utility classes to style your content.', 'Text right', 'PHNwYW4gY2xhc3M9InVrLXRleHQtcmlnaHQiPkFkZCB0aGlzIGNsYXNzIHRvIGRlY3JlYXNlIHRoZSBmb250IHNpemUuPC9zcGFuPg==', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:31:18', '0000-00-00 00:00:00', 1, '', 1, 8), -(45, '', 'A collection of useful text utility classes to style your content.', 'Text center', 'PHNwYW4gY2xhc3M9InVrLXRleHQtY2VudGVyIj5BZGQgdGhpcyBjbGFzcyB0byBkZWNyZWFzZSB0aGUgZm9udCBzaXplLjwvc3Bhbj4=', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:31:30', '0000-00-00 00:00:00', 1, '', 1, 8), -(46, '', 'A collection of useful text utility classes to style your content.', 'Text justify', 'PHNwYW4gY2xhc3M9InVrLXRleHQtanVzdGlmeSI+QWRkIHRoaXMgY2xhc3MgdG8gZGVjcmVhc2UgdGhlIGZvbnQgc2l6ZS48L3NwYW4+', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:31:41', '0000-00-00 00:00:00', 1, '', 1, 8), -(47, '', 'A collection of useful text utility classes to style your content.', 'Text truncate', 'PHNwYW4gY2xhc3M9InVrLXRleHQtdHJ1bmNhdGUiPkFkZCB0aGlzIGNsYXNzIHRvIGRlY3JlYXNlIHRoZSBmb250IHNpemUuPC9zcGFuPg==', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:32:17', '0000-00-00 00:00:00', 1, '', 1, 8), -(48, '', 'A collection of useful text utility classes to style your content.', 'Text nowrap', 'PHNwYW4gY2xhc3M9InVrLXRleHQtbm93cmFwIj5BZGQgdGhpcyBjbGFzcyB0byBkZWNyZWFzZSB0aGUgZm9udCBzaXplLjwvc3Bhbj4=', 4, 'http://getuikit.com/docs/text.html', 'UIkit offers various text utlities to style your text. ', 1, 845, '', '2015-06-01 16:32:30', '0000-00-00 00:00:00', 1, '', 1, 8), -(49, '', 'A basic collection of smooth animations to use within your page.', 'Animation fade', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLWZhZGUiPi4uLjwvZGl2Pg==', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:33:49', '0000-00-00 00:00:00', 1, '', 1, 8), -(50, '', 'A basic collection of smooth animations to use within your page.', 'Animation scale-up', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNjYWxlLXVwIj4uLi48L2Rpdj4=', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:34:02', '0000-00-00 00:00:00', 1, '', 1, 8), -(51, '', 'A basic collection of smooth animations to use within your page.', 'Animation scale-down', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNjYWxlLWRvd24iPi4uLjwvZGl2Pg==', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:34:11', '0000-00-00 00:00:00', 1, '', 1, 8), -(52, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-top', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLXRvcCI+Li4uPC9kaXY+', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:34:22', '0000-00-00 00:00:00', 1, '', 1, 8), -(53, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-bottom', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLWJvdHRvbSI+Li4uPC9kaXY+', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:34:34', '0000-00-00 00:00:00', 1, '', 1, 8), -(54, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-left', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLWxlZnQiPi4uLjwvZGl2Pg==', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:34:46', '0000-00-00 00:00:00', 1, '', 1, 8), -(55, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-right', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLXJpZ2h0Ij4uLi48L2Rpdj4=', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:34:57', '0000-00-00 00:00:00', 1, '', 1, 8), -(56, '', 'A basic collection of smooth animations to use within your page.', 'Animation shake', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNoYWtlIj4uLi48L2Rpdj4=', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:35:08', '0000-00-00 00:00:00', 1, '', 1, 8), -(57, '', 'A basic collection of smooth animations to use within your page.', 'Animation scale', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNjYWxlIj4uLi48L2Rpdj4=', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:35:19', '0000-00-00 00:00:00', 1, '', 1, 8), -(58, '', 'A basic collection of smooth animations to use within your page.', 'Animation fade reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLWZhZGUgdWstYW5pbWF0aW9uLXJldmVyc2UiPi4uLjwvZGl2Pg==', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, 845, '2015-06-01 16:37:24', '2015-06-01 16:40:16', 2, '', 1, 8), -(59, '', 'A basic collection of smooth animations to use within your page.', 'Animation scale-up reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNjYWxlLXVwIHVrLWFuaW1hdGlvbi1yZXZlcnNlIj4uLi48L2Rpdj4=', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:38:33', '0000-00-00 00:00:00', 1, '', 1, 8), -(60, '', 'A basic collection of smooth animations to use within your page.', 'Animation scale-down reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNjYWxlLWRvd24gdWstYW5pbWF0aW9uLXJldmVyc2UiPi4uLjwvZGl2Pg==', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:38:49', '0000-00-00 00:00:00', 1, '', 1, 8), -(61, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-top reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLXRvcCB1ay1hbmltYXRpb24tcmV2ZXJzZSI+Li4uPC9kaXY+', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:39:02', '0000-00-00 00:00:00', 1, '', 1, 8), -(62, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-bottom reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLWJvdHRvbSB1ay1hbmltYXRpb24tcmV2ZXJzZSI+Li4uPC9kaXY+', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:39:13', '0000-00-00 00:00:00', 1, '', 1, 8), -(63, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-left reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLWxlZnQgdWstYW5pbWF0aW9uLXJldmVyc2UiPi4uLjwvZGl2Pg==', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:39:26', '0000-00-00 00:00:00', 1, '', 1, 8), -(64, '', 'A basic collection of smooth animations to use within your page.', 'Animation slide-right reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNsaWRlLXJpZ2h0IHVrLWFuaW1hdGlvbi1yZXZlcnNlIj4uLi48L2Rpdj4=', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:39:38', '0000-00-00 00:00:00', 1, '', 1, 8), -(65, '', 'A basic collection of smooth animations to use within your page.', 'Animation scale reverse', 'PGRpdiBjbGFzcz0idWstYW5pbWF0aW9uLXNjYWxlIHVrLWFuaW1hdGlvbi1yZXZlcnNlIj4uLi48L2Rpdj4=', 4, 'http://getuikit.com/docs/animation.html', 'To apply this component, add any .uk-animation-* class to an element and it will fade in with a nice animation. These classes are commonly set by using JavaScript to apply the animation to specific behaviors.', 1, 845, '', '2015-06-01 16:40:02', '0000-00-00 00:00:00', 1, '', 1, 8), -(66, '', 'Create modal dialogs with different styles and transitions.', 'Modal default', 'PCEtLSBUaGlzIGlzIGEgYnV0dG9uIHRvZ2dsaW5nIHRoZSBtb2RhbCAtLT4NCjxidXR0b24gY2xhc3M9InVrLWJ1dHRvbiIgZGF0YS11ay1tb2RhbD0ie3RhcmdldDonI215LWlkJ30iPi4uLjwvYnV0dG9uPg0KDQo8IS0tIFRoaXMgaXMgdGhlIG1vZGFsIC0tPg0KPGRpdiBpZD0ibXktaWQiIGNsYXNzPSJ1ay1tb2RhbCI+DQogICAgPGRpdiBjbGFzcz0idWstbW9kYWwtZGlhbG9nIj4NCiAgICAgICAgPGEgY2xhc3M9InVrLW1vZGFsLWNsb3NlIHVrLWNsb3NlIj48L2E+DQogICAgICAgIC4uLg0KICAgIDwvZGl2Pg0KPC9kaXY+', 5, 'http://getuikit.com/docs/modal.html', 'The modal component consists of an overlay, a dialog and a close button.', 1, 845, '', '2015-06-01 19:57:08', '0000-00-00 00:00:00', 1, '', 1, 8), -(67, '', 'Create modal dialogs with different styles and transitions.', 'Modal header-footer', 'PCEtLSBUaGlzIGlzIGEgYnV0dG9uIHRvZ2dsaW5nIHRoZSBtb2RhbCAtLT4NCjxidXR0b24gY2xhc3M9InVrLWJ1dHRvbiIgZGF0YS11ay1tb2RhbD0ie3RhcmdldDonI215LWlkJ30iPi4uLjwvYnV0dG9uPg0KDQo8IS0tIFRoaXMgaXMgdGhlIG1vZGFsIC0tPg0KPGRpdiBpZD0ibXktaWQiIGNsYXNzPSJ1ay1tb2RhbCI+DQogICAgPGRpdiBjbGFzcz0idWstbW9kYWwtZGlhbG9nIj4NCiAgICAgICAgPGRpdiBjbGFzcz0idWstbW9kYWwtaGVhZGVyIj4uLi48L2Rpdj4NCiAgICAgICAgLi4uDQogICAgICAgIDxkaXYgY2xhc3M9InVrLW1vZGFsLWZvb3RlciI+Li4uPC9kaXY+DQogICAgPC9kaXY+DQo8L2Rpdj4=', 5, 'http://getuikit.com/docs/modal.html', 'The modal component consists of an overlay, a dialog and a close button.', 1, 845, '', '2015-06-01 19:57:50', '0000-00-00 00:00:00', 1, '', 1, 8), -(68, '', 'Create modal dialogs with different styles and transitions.', 'Modal image', 'PCEtLSBUaGlzIGlzIGEgYnV0dG9uIHRvZ2dsaW5nIHRoZSBtb2RhbCAtLT4NCjxidXR0b24gY2xhc3M9InVrLWJ1dHRvbiIgZGF0YS11ay1tb2RhbD0ie3RhcmdldDonI215LWlkJ30iPi4uLjwvYnV0dG9uPg0KDQo8IS0tIFRoaXMgaXMgdGhlIG1vZGFsIC0tPg0KPGRpdiBpZD0ibXktaWQiIGNsYXNzPSJ1ay1tb2RhbCI+DQogICAgPGRpdiBjbGFzcz0idWstbW9kYWwtZGlhbG9nIHVrLW1vZGFsLWRpYWxvZy1saWdodGJveCI+DQogICAgICAgIDxhIGhyZWY9IiIgY2xhc3M9InVrLW1vZGFsLWNsb3NlIHVrLWNsb3NlIHVrLWNsb3NlLWFsdCI+PC9hPg0KICAgICAgICA8aW1nIHNyYz0iIiBhbHQ9IiI+DQogICAgPC9kaXY+DQo8L2Rpdj4=', 5, 'http://getuikit.com/docs/modal.html', 'The modal component consists of an overlay, a dialog and a close button.', 1, 845, '', '2015-06-01 19:58:26', '0000-00-00 00:00:00', 1, '', 1, 8), -(69, 'The Off-canvas component is perfect for building a mobile navigation, similar to those which are popular with many native mobile apps, where a single button in the upper left corner toggles an off-canvas sidebar with a menu.', 'Create a smooth off-canvas sidebar that slides in and out of the page.', 'Off-canvas default', 'PCEtLSBUaGlzIGlzIGEgYnV0dG9uIHRvZ2dsaW5nIHRoZSBvZmYtY2FudmFzIHNpZGViYXIgLS0+DQo8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24iIGRhdGEtdWstb2ZmY2FudmFzPSJ7dGFyZ2V0OicjbXktaWQnfSI+Li4uPC9idXR0b24+DQoNCjwhLS0gVGhpcyBpcyB0aGUgb2ZmLWNhbnZhcyBzaWRlYmFyIC0tPg0KPGRpdiBpZD0ibXktaWQiIGNsYXNzPSJ1ay1vZmZjYW52YXMiPg0KICAgIDxkaXYgY2xhc3M9InVrLW9mZmNhbnZhcy1iYXIiPi4uLjwvZGl2Pg0KPC9kaXY+', 5, 'http://getuikit.com/docs/offcanvas.html', 'The Off-canvas component consists of an overlay and an off-canvas bar.', 1, 845, '', '2015-06-01 20:00:09', '0000-00-00 00:00:00', 1, '', 1, 8), -(70, 'The Off-canvas component is perfect for building a mobile navigation, similar to those which are popular with many native mobile apps, where a single button in the upper left corner toggles an off-canvas sidebar with a menu.', 'Create a smooth off-canvas sidebar that slides in and out of the page.', 'Off-canvas right', 'PCEtLSBUaGlzIGlzIGEgYnV0dG9uIHRvZ2dsaW5nIHRoZSBvZmYtY2FudmFzIHNpZGViYXIgLS0+DQo8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24iIGRhdGEtdWstb2ZmY2FudmFzPSJ7dGFyZ2V0OicjbXktaWQnfSI+Li4uPC9idXR0b24+DQoNCjwhLS0gVGhpcyBpcyB0aGUgb2ZmLWNhbnZhcyBzaWRlYmFyIC0tPg0KPGRpdiBpZD0ibXktaWQiIGNsYXNzPSJ1ay1vZmZjYW52YXMiPg0KICAgIDxkaXYgY2xhc3M9InVrLW9mZmNhbnZhcy1iYXIgdWstb2ZmY2FudmFzLWJhci1mbGlwIj4uLi48L2Rpdj4NCjwvZGl2Pg==', 5, 'http://getuikit.com/docs/offcanvas.html', 'The Off-canvas component consists of an overlay and an off-canvas bar.', 1, 845, '', '2015-06-01 20:00:37', '0000-00-00 00:00:00', 1, '', 1, 8), -(71, '', 'Dynamically transition through different content panes.', 'Switcher default', 'PCEtLSBUaGlzIGlzIHRoZSBjb250YWluZXIgb2YgdGhlIHRvZ2dsaW5nIGVsZW1lbnRzIC0tPg0KPHVsIGRhdGEtdWstc3dpdGNoZXI9Intjb25uZWN0OicjbXktaWQnfSI+DQogICAgPGxpPjxhIGhyZWY9IiI+Li4uPC9hPjwvbGk+DQo8L3VsPg0KDQo8IS0tIFRoaXMgaXMgdGhlIGNvbnRhaW5lciBvZiB0aGUgY29udGVudCBpdGVtcyAtLT4NCjx1bCBpZD0ibXktaWQiIGNsYXNzPSJ1ay1zd2l0Y2hlciI+DQogICAgPGxpPi4uLjwvbGk+DQo8L3VsPg==', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:02:41', '0000-00-00 00:00:00', 1, '', 1, 8), -(72, 'In some cases you want to switch to another content section from within the active content. This is possible using the data-uk-switcher-item attribute. To target the items, you need to set the data attribute to the number of the respective content item.', 'Dynamically transition through different content panes.', 'Switcher in-content', 'PCEtLSBUaGlzIGlzIHRoZSBuYXYgY29udGFpbmluZyB0aGUgdG9nZ2xpbmcgZWxlbWVudHMgLS0+DQo8dWwgZGF0YS11ay1zd2l0Y2hlcj0ie2Nvbm5lY3Q6JyNteS1pZCd9Ij4NCiAgICA8bGk+PGEgaHJlZj0iIj4uLi48L2E+PC9saT4NCjwvdWw+DQoNCjwhLS0gVGhpcyBpcyB0aGUgY29udGFpbmVyIG9mIHRoZSBjb250ZW50IGl0ZW1zIC0tPg0KPHVsIGlkPSJteS1pZCIgY2xhc3M9InVrLXN3aXRjaGVyIj4NCiAgICA8bGk+IC4uLiA8YSBocmVmPSIiIGRhdGEtdWstc3dpdGNoZXItaXRlbT0iMCI+Li4uPC9hPjwvbGk+DQogICAgPGxpPiAuLi4gPGEgaHJlZj0iIiBkYXRhLXVrLXN3aXRjaGVyLWl0ZW09IjEiPi4uLjwvYT48L2xpPg0KPC91bD4=', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:04:24', '0000-00-00 00:00:00', 1, '', 1, 8), -(73, 'It is also possible to connect multiple content containers. Just extend the connect parameter with the ID of the additional container.', 'Dynamically transition through different content panes.', 'Switcher multiple-items', 'PCEtLSBUaGlzIGlzIHRoZSBuYXYgY29udGFpbmluZyB0aGUgdG9nZ2xpbmcgZWxlbWVudHMgLS0+DQo8dWwgZGF0YS11ay1zd2l0Y2hlcj0ie2Nvbm5lY3Q6JyNteS1pZC1vbmUsICNteS1pZC10d28nfSI+DQogICAgPGxpPjxhIGhyZWY9IiI+Li4uPC9hPjwvbGk+DQo8L3VsPg0KDQo8IS0tIFRoZXNlIGFyZSB0aGUgY29udGFpbmVycyBvZiB0aGUgY29udGVudCBpdGVtcyAtLT4NCjx1bCBpZD0ibXktaWQtb25lIiBjbGFzcz0idWstc3dpdGNoZXIiPg0KICAgIDxsaT4uLi48L2xpPg0KPC91bD4NCg0KPHVsIGlkPSJteS1pZC10d28iIGNsYXNzPSJ1ay1zd2l0Y2hlciI+DQogICAgPGxpPi4uLjwvbGk+DQo8L3VsPg==', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:04:53', '0000-00-00 00:00:00', 1, '', 1, 8), -(74, 'The Switcher component allows you to add different animations to items when toggling between them. All you need to do is add the animation parameter to the data-attribute and define the animation that you want to apply. Check the table below for an overview of the animations provided.\r\n\r\nYou can also apply multiple animations by using the uk-animation-* classes from the Animation component. That way you can even create your own custom class to apply a different transition to the switcher.', 'Dynamically transition through different content panes.', 'Switcher animation', 'PCEtLSBUaGlzIGlzIHRoZSBjb250YWluZXIgb2YgdGhlIHRvZ2dsaW5nIGVsZW1lbnRzIC0tPg0KPHVsIGRhdGEtdWstc3dpdGNoZXI9Intjb25uZWN0OicjbXktaWQnLCBhbmltYXRpb246ICd1ay1hbmltYXRpb24tZmFkZSwgdWstYW5pbWF0aW9uLXNsaWRlLWxlZnQnfSI+DQogICAgPGxpPjxhIGhyZWY9IiI+Li4uPC9hPjwvbGk+DQo8L3VsPg0KDQo8IS0tIFRoaXMgaXMgdGhlIGNvbnRhaW5lciBvZiB0aGUgY29udGVudCBpdGVtcyAtLT4NCjx1bCBpZD0ibXktaWQiIGNsYXNzPSJ1ay1zd2l0Y2hlciI+DQogICAgPGxpPi4uLjwvbGk+DQo8L3VsPg==', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:06:42', '0000-00-00 00:00:00', 1, '', 1, 8), -(75, 'As an exception to the rule, add the data-uk-tab=\"{connect:\'#ID\'}\" attribute, using the parameter \"tab\" instead of \"switcher\", to the tabbed navigation to combine the switcher with the Tab component.', 'Dynamically transition through different content panes.', 'Switcher tabs-horizontal', 'PCEtLSBUaGlzIGlzIHRoZSB0YWJiZWQgbmF2aWdhdGlvbiBjb250YWluaW5nIHRoZSB0b2dnbGluZyBlbGVtZW50cyAtLT4NCjx1bCBjbGFzcz0idWstdGFiIiBkYXRhLXVrLXRhYj0ie2Nvbm5lY3Q6JyNteS1pZCd9Ij4NCiAgICA8bGk+PGEgaHJlZj0iIj4uLi48L2E+PC9saT4NCjwvdWw+DQoNCjwhLS0gVGhpcyBpcyB0aGUgY29udGFpbmVyIG9mIHRoZSBjb250ZW50IGl0ZW1zIC0tPg0KPHVsIGlkPSJteS1pZCIgY2xhc3M9InVrLXN3aXRjaGVyIHVrLW1hcmdpbiI+DQogICAgPGxpPi4uLjwvbGk+DQo8L3VsPg==', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:08:04', '0000-00-00 00:00:00', 1, '', 1, 8), -(76, 'Use the Grid component to display content correctly with a vertical tabbed navigation.', 'Dynamically transition through different content panes.', 'Switcher tabs-vertical', 'PCEtLSBUaGlzIGlzIHRoZSBsZWZ0IHZlcnRpY2FsIHRhYmJlZCBuYXZpZ2F0aW9uIC0tPg0KPGRpdiBjbGFzcz0idWstZ3JpZCI+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTEtMiI+DQogICAgICAgIDwhLS0gVGhpcyBpcyB0aGUgdmVydGljYWwgdGFiYmVkIG5hdmlnYXRpb24gY29udGFpbmluZyB0aGUgdG9nZ2xpbmcgZWxlbWVudHMgLS0+DQogICAgICAgIDx1bCBjbGFzcz0idWstdGFiIHVrLXRhYi1sZWZ0IiBkYXRhLXVrLXRhYj0ie2Nvbm5lY3Q6JyNteS1pZCd9Ij4uLi48L3VsPg0KICAgIDwvZGl2Pg0KICAgIDxkaXYgY2xhc3M9InVrLXdpZHRoLW1lZGl1bS0xLTIiPg0KICAgICAgICA8IS0tIFRoaXMgaXMgdGhlIGNvbnRhaW5lciBvZiB0aGUgY29udGVudCBpdGVtcyAtLT4NCiAgICAgICAgPHVsIGlkPSJteS1pZCIgY2xhc3M9InVrLXN3aXRjaGVyIj4uLi48L3VsPg0KICAgIDwvZGl2Pg0KPC9kaXY+DQoNCjwhLS0gVGhpcyBpcyB0aGUgcmlnaHQgdmVydGljYWwgdGFiYmVkIG5hdmlnYXRpb24gLS0+DQo8ZGl2IGNsYXNzPSJ1ay1ncmlkIj4NCiAgICA8ZGl2IGNsYXNzPSJ1ay13aWR0aC1tZWRpdW0tMS0yIHVrLXB1c2gtMS0yIj4NCiAgICAgICAgPCEtLSBUaGlzIGlzIHRoZSB2ZXJ0aWNhbCB0YWJiZWQgbmF2aWdhdGlvbiBjb250YWluaW5nIHRoZSB0b2dnbGluZyBlbGVtZW50cyAtLT4NCiAgICAgICAgPHVsIGNsYXNzPSJ1ay10YWIgdWstdGFiLXJpZ2h0IiBkYXRhLXVrLXRhYj0ie2Nvbm5lY3Q6JyNteS1pZCd9Ij4uLi48L3VsPg0KICAgIDwvZGl2Pg0KICAgIDxkaXYgY2xhc3M9InVrLXdpZHRoLW1lZGl1bS0xLTIgdWstcHVsbC0xLTIiPg0KICAgICAgICA8IS0tIFRoaXMgaXMgdGhlIGNvbnRhaW5lciBvZiB0aGUgY29udGVudCBpdGVtcyAtLT4NCiAgICAgICAgPHVsIGlkPSJteS1pZCIgY2xhc3M9InVrLXN3aXRjaGVyIj4uLi48L3VsPg0KICAgIDwvZGl2Pg0KPC9kaXY+', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:09:01', '0000-00-00 00:00:00', 1, '', 1, 8), -(77, 'The switcher can also be applied to buttons or button groups from the Button component. Just add the switcher data attribute to a element around a group of buttons or to the element with the .button-group class.', 'Dynamically transition through different content panes.', 'Switcher button-group', 'PCEtLSBUaGlzIGlzIHRoZSBidXR0b24gZ3JvdXAgY29udGFpbmluZyB0aGUgdG9nZ2xpbmcgYnV0dG9ucyAtLT4NCjxkaXYgY2xhc3M9InVrLWJ1dHRvbi1ncm91cCIgZGF0YS11ay1zd2l0Y2hlcj0ie2Nvbm5lY3Q6JyNteS1pZCd9Ij4NCiAgICA8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24iIHR5cGU9ImJ1dHRvbiI+Li4uPC9idXR0b24+DQo8L2Rpdj4NCg0KPCEtLSBUaGlzIGlzIHRoZSBjb250YWluZXIgb2YgdGhlIGNvbnRlbnQgaXRlbXMgLS0+DQo8dWwgaWQ9Im15LWlkIiBjbGFzcz0idWstc3dpdGNoZXIgdWstbWFyZ2luIj4uLi48L3VsPg==', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:10:00', '0000-00-00 00:00:00', 1, '', 1, 8), -(78, 'To apply the switcher to the Nav component, add the data attribute to the nav . Use the Grid component to arrange nav and content in a grid layout.', 'Dynamically transition through different content panes.', 'Switcher navs', 'PGRpdiBjbGFzcz0idWstZ3JpZCI+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTEtNCI+DQoNCiAgICAgICAgPCEtLSBUaGlzIGlzIHRoZSBuYXYgY29udGFpbmluZyB0aGUgdG9nZ2xpbmcgZWxlbWVudHMgLS0+DQogICAgICAgIDx1bCBjbGFzcz0idWstbmF2IHVrLW5hdi1zaWRlIiBkYXRhLXVrLXN3aXRjaGVyPSJ7Y29ubmVjdDonI215LWlkJ30iPg0KICAgICAgICAgICAgPGxpPjxhIGhyZWY9IiI+Li4uPC9hPjwvbGk+DQogICAgICAgIDwvdWw+DQogICAgPC9kaXY+DQogICAgPGRpdiBjbGFzcz0idWstd2lkdGgtbWVkaXVtLTMtNCI+DQoNCiAgICAgICAgPCEtLSBUaGlzIGlzIHRoZSBjb250YWluZXIgb2YgdGhlIGNvbnRlbnQgaXRlbXMgLS0+DQogICAgICAgIDx1bCBpZD0ibXktaWQiIGNsYXNzPSJ1ay1zd2l0Y2hlciI+DQogICAgICAgICAgICA8bGk+Li4uPC9saT4NCiAgICAgICAgPC91bD4NCiAgICA8L2Rpdj4NCjwvZGl2Pg==', 5, 'http://getuikit.com/docs/switcher.html', 'The switcher component consists of a number of toggles and their related content items. Add the data-uk-switcher=\"{connect:\'#ID\'}\" attribute to the element which contains the toggles, targetting the same id as is used on the element containing the content items. Add the .uk-switcher class to the same element. Typically the switcher is combined with other components, some of which will be shown here.', 1, 845, '', '2015-06-01 20:10:30', '0000-00-00 00:00:00', 1, '', 1, 8), -(79, '', 'Hide, switch or change the appearence of different contents through a toggle.', 'Toggle default', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIiBkYXRhLXVrLXRvZ2dsZT0ie3RhcmdldDonI215LWlkJ30iPi4uLjwvYnV0dG9uPg0KDQo8ZGl2IGlkPSJteS1pZCI+Li4uPC9kaXY+', 5, 'http://getuikit.com/docs/toggle.html', 'To apply this component, just add the data-uk-toggle=\"{target: #ID}\" attribute to a or element. You can use any selector with the toggle attribute.\r\n\r\nThe toggle will add or remove a class from the item. By default, it adds the .uk-hidden class to hide the element.', 1, 845, '', '2015-06-01 20:12:07', '0000-00-00 00:00:00', 1, '', 1, 8), -(80, 'You can also toggle multiple items at the same time. Just use the appropriate selector.', 'Hide, switch or change the appearence of different contents through a toggle.', 'Toggle multiple', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIiBkYXRhLXVrLXRvZ2dsZT0ie3RhcmdldDonLm15LWNsYXNzJ30iPi4uLjwvYnV0dG9uPg0KDQo8ZGl2IGNsYXNzPSJteS1jbGFzcyI+Li4uPC9kaXY+DQo8ZGl2IGNsYXNzPSJteS1jbGFzcyB1ay1oaWRkZW4iPi4uLjwvZGl2Pg==', 5, 'http://getuikit.com/docs/toggle.html', 'To apply this component, just add the data-uk-toggle=\"{target: #ID}\" attribute to a or element. You can use any selector with the toggle attribute.\r\n\r\nThe toggle will add or remove a class from the item. By default, it adds the .uk-hidden class to hide the element.', 1, 845, '', '2015-06-01 20:12:34', '0000-00-00 00:00:00', 1, '', 1, 8), -(81, 'You can also toggle multiple items at the same time. Just use the appropriate selector.', 'Hide, switch or change the appearence of different contents through a toggle.', 'Toggle class', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIiBkYXRhLXVrLXRvZ2dsZT0ie3RhcmdldDonI215LWlkJywgY2xzOid1ay1wYW5lbC1ib3gtcHJpbWFyeSd9Ij4uLi48L2J1dHRvbj4NCg0KPGRpdiBpZD0ibXktaWQiIGNsYXNzPSJ1ay1wYW5lbCB1ay1wYW5lbC1ib3giPi4uLjwvZGl2Pg==', 5, 'http://getuikit.com/docs/toggle.html', 'To apply this component, just add the data-uk-toggle=\"{target: #ID}\" attribute to a or element. You can use any selector with the toggle attribute.\r\n\r\nThe toggle will add or remove a class from the item. By default, it adds the .uk-hidden class to hide the element.', 1, 845, '', '2015-06-01 20:13:06', '0000-00-00 00:00:00', 1, '', 1, 8), -(82, 'The Toggle component allows you to add animations to items when toggling between them. Just add one of the .uk-animation-* classes from the Animation component to the animation parameter. The class will be applied to the in as well as the out animation. If you prefer a different out animation, just add another class.', 'Hide, switch or change the appearence of different contents through a toggle.', 'Toggle animations', 'PGJ1dHRvbiBjbGFzcz0idWstYnV0dG9uIiBkYXRhLXVrLXRvZ2dsZT0ie3RhcmdldDonI215LWlkJywgYW5pbWF0aW9uOid1ay1hbmltYXRpb24tc2xpZGUtbGVmdCwgdWstYW5pbWF0aW9uLXNsaWRlLWJvdHRvbSd9Ij4uLi48L2J1dHRvbj4NCg0KPGRpdiBpZD0ibXktaWQiPi4uLjwvZGl2Pg==', 5, 'http://getuikit.com/docs/toggle.html', 'To apply this component, just add the data-uk-toggle=\"{target: #ID}\" attribute to a or element. You can use any selector with the toggle attribute.\r\n\r\nThe toggle will add or remove a class from the item. By default, it adds the .uk-hidden class to hide the element.', 1, 845, '', '2015-06-01 20:13:34', '0000-00-00 00:00:00', 1, '', 1, 8), -(83, '', 'Trigger events and animations while scrolling your page.', 'Scrollspy default', 'PGRpdiBkYXRhLXVrLXNjcm9sbHNweT0ie2NsczondWstYW5pbWF0aW9uLWZhZGUnfSI+Li4uPC9kaXY+DQoNCjxkaXYgZGF0YS11ay1zY3JvbGxzcHk9IntjbHM6J3VrLWFuaW1hdGlvbi1mYWRlJywgcmVwZWF0OiB0cnVlfSI+Li4uPC9kaXY+DQoNCjxkaXYgZGF0YS11ay1zY3JvbGxzcHk9IntjbHM6J3VrLWFuaW1hdGlvbi1mYWRlJywgZGVsYXk6OTAwfSI+Li4uPC9kaXY+', 5, 'http://getuikit.com/docs/scrollspy.html', 'The scrollspy component listens to page scrolling and triggers events based on the scroll position. For example, if you scroll down a page and an element appears the first time in the viewport you can trigger a smooth animation to fade in the element. Just add the data-uk-scrollspy attribute and the following options.', 1, 845, '', '2015-06-01 20:15:00', '0000-00-00 00:00:00', 1, '', 1, 8), -(84, 'You can also group scrollspy elements, so you won\'t have to apply the data attribute to each of them. Just add the data-uk-scollspy\"{target:\'MY-CLASS\'}\" attribute to a container element, targetting the selector the items you want to animate within the container. When using a delay it will be applied cumulatively to the items within the row that scrolls into view. The delay will be resetted for the next row within the group when it scrolls into view.', 'Trigger events and animations while scrolling your page.', 'Scrollspy groups', 'PGRpdiBkYXRhLXVrLXNjcm9sbHNweT0ie2NsczondWstYW5pbWF0aW9uLWZhZGUnLCB0YXJnZXQ6Jy5teS1jbGFzcycsIGRlbGF5OjMwMH0iPg0KDQogICAgPCEtLSBUaGlzIGl0ZW0gaGFzIG5vIGRlbGF5IC0tPg0KICAgIDxkaXYgY2xhc3M9Im15LWNsYXNzIj4uLi48L2Rpdj4NCg0KICAgIDwhLS0gVGhpcyBpdGVtIGhhcyBhIGRlbGF5IG9mIDMwMG1zIC0tPg0KICAgIDxkaXYgY2xhc3M9Im15LWNsYXNzIj4uLi48L2Rpdj4NCg0KICAgIDwhLS0gVGhpcyBpdGVtIGhhcyBhIGRlbGF5IG9mIDYwMG1zIC0tPg0KICAgIDxkaXYgY2xhc3M9Im15LWNsYXNzIj4uLi48L2Rpdj4NCg0KPC9kaXY+', 5, 'http://getuikit.com/docs/scrollspy.html', 'The scrollspy component listens to page scrolling and triggers events based on the scroll position. For example, if you scroll down a page and an element appears the first time in the viewport you can trigger a smooth animation to fade in the element. Just add the data-uk-scrollspy attribute and the following options.', 1, 845, 845, '2015-06-01 20:15:18', '2015-06-01 20:15:32', 2, '', 1, 8), -(85, '', 'Create a fancy lightbox for images and videos utilizing the Modal component.', 'Lightbox single-image', 'PGEgdGl0bGU9IlRpdGxlIiBkYXRhLXVrLWxpZ2h0Ym94PSIiIGhyZWY9IiIgY2xhc3M9InVrLWJ1dHRvbiI+T3BlbiBsaWdodGJveDwvYT4=', 5, 'http://getuikit.com/docs/lightbox.html', 'To apply this component, add the data-uk-lightbox attribute to an anchor linking to the image you wish to display. If a title attribute exists it will be displayed as a caption for the lightbox.', 1, 845, '', '2015-06-01 20:18:50', '0000-00-00 00:00:00', 1, '', 1, 9), -(86, 'You can link multiple images to the same lightbox and switch between them from within the lightbox, thus creating a gallery. Just add the {group:\'my-group\'} option to the data attribute of each item using the same name on all items that you want to group. Make sure to include the CSS from the Slidenav component, so you can navigate between the items.', 'Create a fancy lightbox for images and videos utilizing the Modal component.', 'Lightbox groups-image', 'PGRpdiBkYXRhLXVrLWdyaWQtbWFyZ2luPSIiIGNsYXNzPSJ1ay1ncmlkIHVrLWdyaWQtd2lkdGgtbWVkaXVtLTEtNCI+DQogICAgPGRpdj4NCiAgICAgICAgPGEgdGl0bGU9IlRpdGxlIiBkYXRhLXVrLWxpZ2h0Ym94PSJ7Z3JvdXA6J2dyb3VwMSd9IiBocmVmPSJpbWFnZXMvcGxhY2Vob2xkZXJfODAweDYwMF8xLmpwZyI+DQogICAgICAgICAgICA8aW1nIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBhbHQ9IiIgc3JjPSJpbWFnZXMvcGxhY2Vob2xkZXJfODAweDYwMF8xLmpwZyI+DQogICAgICAgIDwvYT4NCiAgICA8L2Rpdj4NCiAgICA8ZGl2Pg0KICAgICAgICA8YSB0aXRsZT0iVGl0bGUiIGRhdGEtdWstbGlnaHRib3g9Intncm91cDonZ3JvdXAxJ30iIGRhdGEtbGlnaHRib3gtdHlwZT0iaW1hZ2UiIGhyZWY9ImltYWdlcy9wbGFjZWhvbGRlcl84MDB4NjAwXzIuanBnIj4NCiAgICAgICAgICAgIDxpbWcgd2lkdGg9IjgwMCIgaGVpZ2h0PSI2MDAiIGFsdD0iIiBzcmM9ImltYWdlcy9wbGFjZWhvbGRlcl84MDB4NjAwXzIuanBnIj4NCiAgICAgICAgPC9hPg0KICAgIDwvZGl2Pg0KICAgIDxkaXY+DQogICAgICAgIDxhIHRpdGxlPSJUaXRsZSIgZGF0YS11ay1saWdodGJveD0ie2dyb3VwOidncm91cDEnfSIgZGF0YS1saWdodGJveC10eXBlPSJpbWFnZSIgaHJlZj0iaW1hZ2VzL3BsYWNlaG9sZGVyXzgwMHg2MDBfMy5qcGciPg0KICAgICAgICAgICAgPGltZyB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgYWx0PSIiIHNyYz0iaW1hZ2VzL3BsYWNlaG9sZGVyXzgwMHg2MDBfMy5qcGciPg0KICAgICAgICA8L2E+DQogICAgPC9kaXY+DQogICAgPGRpdj4NCiAgICAgICAgPGEgdGl0bGU9IlRpdGxlIiBkYXRhLXVrLWxpZ2h0Ym94PSJ7Z3JvdXA6J2dyb3VwMSd9IiBkYXRhLWxpZ2h0Ym94LXR5cGU9ImltYWdlIiBocmVmPSJpbWFnZXMvcGxhY2Vob2xkZXJfODAweDYwMF80LmpwZyI+DQogICAgICAgICAgICA8aW1nIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBhbHQ9IiIgc3JjPSJpbWFnZXMvcGxhY2Vob2xkZXJfODAweDYwMF80LmpwZyI+DQogICAgICAgIDwvYT4NCiAgICA8L2Rpdj4NCjwvZGl2Pg==', 5, 'http://getuikit.com/docs/lightbox.html', 'To apply this component, add the data-uk-lightbox attribute to an anchor linking to the image you wish to display. If a title attribute exists it will be displayed as a caption for the lightbox.', 1, 845, 845, '2015-06-01 20:21:01', '2015-06-01 20:22:35', 2, '', 1, 9), -(87, 'A lightbox is not restricted to images. Other media, like videos, can be displayed inside a lightbox and it will automatically generate the correct output by evaluating your path.', 'Create a fancy lightbox for images and videos utilizing the Modal component.', 'Lightbox content-sources', 'PHA+DQogICAgPGEgdGl0bGU9IlRpdGxlIiBkYXRhLXVrLWxpZ2h0Ym94PSJ7Z3JvdXA6J2dyb3VwMid9IiBocmVmPSJpbWFnZXMvcGxhY2Vob2xkZXJfODAweDYwMF8xLmpwZyIgY2xhc3M9InVrLWJ1dHRvbiI+SW1hZ2U8L2E+DQogICAgPGEgZGF0YS11ay1saWdodGJveD0ie2dyb3VwOidncm91cDInfSIgaHJlZj0iaHR0cDovL3d3dy5xdWlya3Ntb2RlLm9yZy9odG1sNS92aWRlb3MvYmlnX2J1Y2tfYnVubnkubXA0IiBjbGFzcz0idWstYnV0dG9uIj5NUDQ8L2E+DQogICAgPGEgZGF0YS11ay1saWdodGJveD0ie2dyb3VwOidncm91cDInfSIgaHJlZj0iaHR0cDovL3ZpbWVvLmNvbS8xMDg0NTM3IiBjbGFzcz0idWstYnV0dG9uIj5WaW1lbzwvYT4NCiAgICA8YSBkYXRhLXVrLWxpZ2h0Ym94PSJ7Z3JvdXA6J2dyb3VwMid9IiBocmVmPSJodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PVlFN1Z6bEx0cC00IiBjbGFzcz0idWstYnV0dG9uIj5Zb3VUdWJlPC9hPg0KPC9wPg==', 5, 'http://getuikit.com/docs/lightbox.html', 'To apply this component, add the data-uk-lightbox attribute to an anchor linking to the image you wish to display. If a title attribute exists it will be displayed as a caption for the lightbox.', 1, 845, '', '2015-06-01 20:22:21', '0000-00-00 00:00:00', 1, '', 1, 9), -(88, 'To display multiple content sections at the same time without one collapsing when the other one is opened, add the {collapse: false} option to the date attribute.', 'Create a list of items, allowing each item\'s content to be expanded and collapsed by clicking its header.', 'Accordion', 'PGRpdiBjbGFzcz0idWstYWNjb3JkaW9uIiBkYXRhLXVrLWFjY29yZGlvbj0ie2NvbGxhcHNlOiBmYWxzZX0iPg0KDQogICAgPGgzIGNsYXNzPSJ1ay1hY2NvcmRpb24tdGl0bGUiPi4uLjwvaDM+DQogICAgPGRpdiBjbGFzcz0idWstYWNjb3JkaW9uLWNvbnRlbnQiPi4uLjwvZGl2Pg0KDQogICAgPGgzIGNsYXNzPSJ1ay1hY2NvcmRpb24tdGl0bGUiPi4uLjwvaDM+DQogICAgPGRpdiBjbGFzcz0idWstYWNjb3JkaW9uLWNvbnRlbnQiPi4uLjwvZGl2Pg0KDQogICAgPGgzIGNsYXNzPSJ1ay1hY2NvcmRpb24tdGl0bGUiPi4uLjwvaDM+DQogICAgPGRpdiBjbGFzcz0idWstYWNjb3JkaW9uLWNvbnRlbnQiPi4uLjwvZGl2Pg0KDQo8L2Rpdj4=', 5, 'http://getuikit.com/docs/accordion.html', 'To apply the Accordion component, add the uk-accordion class and the data-uk-accordion attribute to a container element. Add the uk-accordion-content class to each of the content sections within the container. Finally, add the uk-accordion-title class to any element, like a heading, above the content section to create a toggle.', 1, 845, 845, '2015-06-01 20:24:59', '2015-06-01 20:26:11', 2, '', 1, 10), -(89, 'FooTable is a jQuery plugin that aims to make HTML tables on smaller devices look awesome – No matter how many columns of data you may have in them.\r\n\r\nHave you ever wanted to show a lot of data in a table, but hate how badly it scales on smaller mobile devices? The FooTable jQuery plugin solves this problem by allowing you to hide certain columns on smaller devices, but still allowing the user to expand each row to see the columns that were hidden.', 'FooTable', 'FooTable', 'PHRhYmxlIGNsYXNzPSJmb290YWJsZSBtZXRyby1ibHVlIiBkYXRhLWZpbHRlcj0iI2ZpbHRlciIgZGF0YS1wYWdlLXNpemU9IjUiPg0KICA8dGhlYWQ+DQogICAgPHRyPg0KICAgICAgPHRoIGRhdGEtdG9nZ2xlPSJ0cnVlIj5OYW1lPC90aD4NCiAgICAgIDx0aCBkYXRhLWhpZGU9InBob25lLHRhYmxldCI+UGhvbmU8L3RoPg0KICAgICAgPHRoIGRhdGEtaGlkZT0icGhvbmUsdGFibGV0Ij5FbWFpbDwvdGg+DQogICAgPC90cj4NCiAgPC90aGVhZD4NCiAgPHRib2R5Pg0KICAgIDx0cj4NCiAgICAgIDx0ZD5Cb2IgTWFuPC90ZD4NCiAgICAgIDx0ZD41NTUtMTIzNDU8L3RkPg0KICAgICAgPHRkPmJvYkBob21lLmNvbTwvdGQ+DQogICAgPC90cj4NCiAgICA8dHI+DQogICAgICA8dGQ+QnJpZGdldCBKb25lczwvdGQ+DQogICAgICA8dGQ+NTQ0LTc3NjY1NTwvdGQ+DQogICAgICA8dGQ+YmpvbmVzQG15c2l0ZS5jb208L3RkPg0KICAgIDwvdHI+DQogICAgPHRyPg0KICAgICAgPHRkPlRvbSBKb25lczwvdGQ+DQogICAgICA8dGQ+NTU1LTk5OTExPC90ZD4NCiAgICAgIDx0ZD5jcnVpc2UxQGNyYXp5LmNvbTwvdGQ+DQogICAgPC90cj4NCiAgPC90Ym9keT4NCjwvdGFibGU+', 1, 'http://fooplugins.com/footable-demos/', '', 1, 450, '', '2015-09-26 14:07:03', '0000-00-00 00:00:00', 1, '', 1, 11), -(90, 'This is a input field for uikit form', 'Add Input field - row', 'Input field', 'ICAgICAgICA8ZGl2IGNsYXNzPSJ1ay1mb3JtLXJvdyI+DQoJCTxsYWJlbCBjbGFzcz0idWstZm9ybS1sYWJlbCIgPg0KCQkJPD9waHAgZWNobyBKVGV4dDo6XygnTGFiZWwnKTsgPz4NCgkJPC9sYWJlbD4NCgkJPGlucHV0IHR5cGU9InRleHQiIG5hbWU9ImtleSIgcGxhY2Vob2xkZXI9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ2FkZCBzb21lIHRleHQgaGVyZSEnKTsgPz4iPiA8c3BhbiBjbGFzcz0idWstZm9ybS1oZWxwLWlubGluZSI+PD9waHAgZWNobyBKVGV4dDo6XygnaGVscCBuZWVkZWQnKTsgPz48L3NwYW4+DQoJPC9kaXY+', 3, 'http://getuikit.com/docs/form.html', '', 1, 450, 450, '2015-11-29 03:54:40', '2015-11-29 04:07:29', 2, '', 1, 12), -(91, 'This is a textarea field for uikit form', 'Add textarea - row', 'Textarea', 'CTxkaXYgY2xhc3M9InVrLWZvcm0tcm93Ij4NCgkJPGxhYmVsIGNsYXNzPSJ1ay1mb3JtLWxhYmVsIiA+DQoJCQk8P3BocCBlY2hvIEpUZXh0OjpfKCdMYWJlbCcpOyA/Pg0KCQk8L2xhYmVsPg0KCQk8dGV4dGFyZWEgY29scz0iIiByb3dzPSIiICBzdHlsZT0id2lkdGg6IDEwMCU7IGhlaWdodDogMjE2cHg7IiBwbGFjZWhvbGRlcj0iPD9waHAgZWNobyBKVGV4dDo6XygnYWRkIHNvbWUgdGV4dCBoZXJlIScpOyA/PiI+PHx8fHxGSVh8fHx8fHx0ZXh0YXJlYT4NCgkJPHAgY2xhc3M9InVrLWZvcm0taGVscC1ibG9jayI+PD9waHAgZWNobyBKVGV4dDo6XygnaGVscCBuZWVkZWQnKTsgPz48L3A+DQoJPC9kaXY+', 3, 'http://getuikit.com/docs/form.html', '', 1, 450, 450, '2015-11-29 03:55:57', '2015-11-29 04:07:09', 4, '', 1, 12), -(92, 'This is a uikit form', 'Add Form', 'Form', 'PGZvcm0gY2xhc3M9InVrLWZvcm0iPg0KICAgIDxmaWVsZHNldD4NCiAgICAgICAgPGxlZ2VuZD48P3BocCBlY2hvIEpUZXh0OjpfKCdMZWdlbmQnKTsgPz48L2xlZ2VuZD4NCiAgICAgICAgPGRpdiBjbGFzcz0idWstZm9ybS1yb3ciPg0KCQk8bGFiZWwgY2xhc3M9InVrLWZvcm0tbGFiZWwiID4NCgkJCTw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0xhYmVsJyk7ID8+DQoJCTwvbGFiZWw+DQoJCTxpbnB1dCB0eXBlPSJ0ZXh0IiBuYW1lPSJrZXkiIHBsYWNlaG9sZGVyPSI8P3BocCBlY2hvIEpUZXh0OjpfKCdhZGQgc29tZSB0ZXh0IGhlcmUhJyk7ID8+Ij4gPHNwYW4gY2xhc3M9InVrLWZvcm0taGVscC1pbmxpbmUiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ2hlbHAgbmVlZGVkJyk7ID8+PC9zcGFuPg0KCTwvZGl2Pg0KICAgICAgICA8ZGl2IGNsYXNzPSJ1ay1mb3JtLXJvdyI+DQoJCTxsYWJlbCBjbGFzcz0idWstZm9ybS1sYWJlbCIgPg0KCQkJPD9waHAgZWNobyBKVGV4dDo6XygnTGFiZWwnKTsgPz4NCgkJPC9sYWJlbD4NCgkJPHRleHRhcmVhIGNvbHM9IiIgcm93cz0iIiAgc3R5bGU9IndpZHRoOiAxMDAlOyBoZWlnaHQ6IDIxNnB4OyIgcGxhY2Vob2xkZXI9Ijw/cGhwIGVjaG8gSlRleHQ6Ol8oJ2FkZCBzb21lIHRleHQgaGVyZSEnKTsgPz4iPjx8fHx8fEZJWHx8fHx8dGV4dGFyZWE+DQoJCTxwIGNsYXNzPSJ1ay1mb3JtLWhlbHAtYmxvY2siPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ2hlbHAgbmVlZGVkJyk7ID8+PC9wPg0KCTwvZGl2Pg0KICAgIDwvZmllbGRzZXQ+DQo8L2Zvcm0+', 1, 'http://getuikit.com/docs/form.html', '', 1, 450, 450, '2015-11-29 03:57:03', '2015-11-29 04:08:00', 2, '', 1, 12); - --- --- Dumping data for table `#__componentbuilder_field` --- - -INSERT INTO `#__componentbuilder_field` (`id`, `asset_id`, `add_css_view`, `add_css_views`, `add_javascript_view_footer`, `add_javascript_views_footer`, `catid`, `css_view`, `css_views`, `datadefault`, `datadefault_other`, `datalenght`, `datalenght_other`, `datatype`, `indexes`, `javascript_view_footer`, `javascript_views_footer`, `name`, `not_required`, `null_switch`, `store`, `type`, `xml`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `checked_out`, `checked_out_time`, `version`, `hits`, `access`, `ordering`) VALUES -(1, 2514, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 1, '', '', 'Acronym', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"acronym\\\" \\r\\n\\tlabel=\\\"Acronym\\\" \\r\\n\\tdescription=\\\"Enter an acronym\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\tfilter=\\\"WORD\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tmessage=\\\"Error! Please add an acronym here.\\\" \\r\\n\\thint=\\\"Acronym Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-04-24 07:21:57', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 41, '', 1, 198), -(4, 2308, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Admin Views', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addadmin_views\\\" \\r\\n\\tlabel=\\\"Admin Views\\\" \\r\\n\\tdescription=\\\"Setup the admin views for this component.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addadmin_views\\\" \\r\\n\\tclass=\\\"addadmin_view\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"39,690,175,67,68,263,37,169,154,3,680,686,221\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 22:50:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 6, '', 1, 201), -(5, 2516, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Conditions', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addconditions\\\" \\r\\n\\tlabel=\\\"Conditions\\\" \\r\\n\\tdescription=\\\"Conditional setup for the above fields.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addconditions\\\" \\r\\n\\tclass=\\\"addcondition\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"267,266,268,181,179,179,180\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 22:50:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 4, '', 1, 220), -(6, 2517, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Contributors', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addcontributors\\\" \\r\\n\\tlabel=\\\"Contributors\\\" \\r\\n\\tdescription=\\\"Setup contributors for the component.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addcontributors\\\" \\r\\n\\tclass=\\\"addcontributor\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"199,51,100,280,52,50\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 22:50:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 197), -(7, 2518, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add CSS (view)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_css_view\\\" \\r\\n\\tlabel=\\\"Add CSS (view)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 196), -(8, 2519, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add CSS (views)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_css_views\\\" \\r\\n\\tlabel=\\\"Add CSS (views)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 195), -(9, 2473, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Fields (for views)', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addfields\\\" \\r\\n\\tlabel=\\\"Fields\\\" \\r\\n\\tdescription=\\\"Setup fields for this view.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addfields\\\" \\r\\n\\tclass=\\\"addfield\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"800\\\" \\r\\n\\tfields=\\\"143,38,223,166,161,165,164,162,163,243,24,222,700\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 22:50:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 194), -(10, 2520, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Add Icon', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"icon_add\\\" \\r\\n\\tlabel=\\\"Add Icon\\\" \\r\\n\\tdescription=\\\"Must be 128px x 128px and a png format..\\\" \\r\\n\\tdirectory=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-04-29 14:00:56', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 193), -(11, 2521, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Javascript (view-file)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_javascript_view_file\\\" \\r\\n\\tlabel=\\\"Add JavaScript (view-file)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 192), -(12, 2522, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Javascript (views-file)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_javascript_views_file\\\" \\r\\n\\tlabel=\\\"Add JavaScript (views-file)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 191), -(13, 2523, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add MySql', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_sql\\\" \\r\\n\\tlabel=\\\"Add MySQL (to view table)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 190), -(14, 2472, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Permissions (to view)', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addpermissions\\\" \\r\\n\\tlabel=\\\"Permissions\\\" \\r\\n\\tdescription=\\\"Set permissions for this view\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addpermissions\\\" \\r\\n\\tclass=\\\"addpermission\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"20\\\" \\r\\n\\tfields=\\\"2,159\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 22:50:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 189), -(15, 2524, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (getItem Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_getitem\\\" \\r\\n\\tlabel=\\\"Add PHP (getItem Method)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 188), -(16, 2525, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (getItems Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_getitems\\\" \\r\\n\\tlabel=\\\"Add PHP (getItems Method)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-11 12:36:14', '2015-10-04 17:49:32', '', '0000-00-00 00:00:00', 2, '', 1, 187), -(17, 2526, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (helper_admin Class)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_helper_admin\\\" \\r\\n\\tlabel=\\\"Add PHP (helper_admin Class)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 186), -(18, 2527, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (postSaveHook Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_postsavehook\\\" \\r\\n\\tlabel=\\\"Add PHP (postSaveHook Method)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 202), -(19, 2528, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (save Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_save\\\" \\r\\n\\tlabel=\\\"Add PHP (save Method)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 203), -(20, 2529, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Tabs', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addtabs\\\" \\r\\n\\tlabel=\\\"Tabs\\\" \\r\\n\\tdescription=\\\"Setup tabs for this view.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addtabs\\\" \\r\\n\\tclass=\\\"addtab\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"15\\\" \\r\\n\\tfields=\\\"199\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 22:50:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 219), -(23, 2532, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Alias', '', 'NOT NULL', '', 24, '\"<field type=\\\"text\\\" name=\\\"alias\\\" filter=\\\"STRING\\\" hint=\\\"Auto-generated from name\\\"\\/>\"', '', 1, 845, 845, '2015-04-09 13:46:04', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 216), -(34, 2543, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Author', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"author\\\" \\r\\n\\tlabel=\\\"Author\\\" \\r\\n\\tsize=\\\"10\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdescription=\\\"The Author\'s Name &amp; Surname.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\tmessage=\\\"Error! Please add author name here.\\\" \\r\\n\\thint=\\\"Author Name &amp; Surname Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-05 17:06:17', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 205), -(35, 2544, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Author Email', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"email\\\" \\r\\n\\tlabel=\\\"Author Email\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter Author Email\\\" \\r\\n\\tclass=\\\"text_area\\\"\\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tvalidate=\\\"email\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tmessage=\\\"Error! Please author email address here.\\\" \\r\\n\\thint=\\\"Author Email Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-05 23:44:32', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 204), -(36, 2545, '', '', '', '', '', '', '', '', '', 255, '', 'CHAR', '', '', '', 'Author Website', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"website\\\" \\r\\n\\tlabel=\\\"Author Website\\\" \\r\\n\\tsize=\\\"60\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter website address\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add website here.\\\" \\r\\n\\thint=\\\"http:\\/\\/www.example.com\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-04-08 00:36:16', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 185), -(43, 2550, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Category Icon', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"icon_category\\\" \\r\\n\\tlabel=\\\"Category Icon\\\" \\r\\n\\tdescription=\\\"Must be 128px x 128px and a png format..\\\" \\r\\n\\tdirectory=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-04-29 14:00:56', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 160), -(46, 2553, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Component Image', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"image\\\" \\r\\n\\tlabel=\\\"Component Image\\\" \\r\\n\\tdescription=\\\"The component image (product box) for the dashboard and install page, must be 300px X 300px.\\\"\\r\\n\\tdirectory=\\\"\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-04-29 14:00:56', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 157), -(47, 2554, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Component Name', '', 'NOT NULL', '', 24, '\"<field\\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"name\\\" \\r\\n\\tlabel=\\\"Name\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter Name Here\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add component name here.\\\" \\r\\n\\thint=\\\"Component Name\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 17:30:59', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 156), -(48, 2555, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Component Version', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"component_version\\\" \\r\\n\\tlabel=\\\"Version\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"50\\\" \\r\\n\\tdefault=\\\"1.0.0\\\" \\r\\n\\tdescription=\\\"Add Version Number Here\\\" \\r\\n\\tclass=\\\"text_area\\\"\\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"CMD\\\" \\r\\n\\tmessage=\\\"Error! Please add version here.\\\" \\r\\n\\thint=\\\"1.0.0\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-06 08:44:48', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 155), -(53, 2560, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Copyright', '', 'NOT NULL', '', 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"copyright\\\" \\r\\n\\tlabel=\\\"Copyright\\\" \\r\\n\\tdefault=\\\"Copyright (C) 2015. All Rights Reserved\\\"\\r\\n\\trows=\\\"7\\\" \\r\\n\\tcols=\\\"10\\\" \\r\\n\\tdescription=\\\"Add Copyright Here\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\thint=\\\"Add Copyright Here\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 18:20:49', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 150), -(65, 2571, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'CSS (view)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"css_view\\\" \\r\\n\\tlabel=\\\"CSS\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your CSS here! [Do not add the style tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ CSS for the edit view\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 174), -(66, 2572, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'CSS (views)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"css_views\\\" \\r\\n\\tlabel=\\\"CSS\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your CSS here! [Do not add the style tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ CSS for the list view\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 173), -(69, 2575, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Data Default', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"datadefault\\\" \\r\\n\\tlabel=\\\"Data Default\\\" \\r\\n\\tdescription=\\\"The data default value for mysql\\\" \\r\\n\\tclass=\\\"btn-group\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"|None,0,1,CURRENT_TIMESTAMP,DATETIME,Other\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:24:57', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 170), -(70, 2576, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Data Length/Values', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"datalenght\\\" \\r\\n\\tlabel=\\\"Data Length\\/Values\\\" \\r\\n\\tdescription=\\\"The data length or value for mysql (size)\\\" \\r\\n\\tclass=\\\"btn-group\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"|None Set,1,7,10,11,50,64,100,255,1024,2048,Other\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:23:10', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 169), -(71, 2577, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Data Type', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"datatype\\\" \\r\\n\\tlabel=\\\"Data Type\\\" \\r\\n\\tdescription=\\\"The data type for mysql\\\" \\r\\n\\tclass=\\\"btn-group\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"CHAR,VARCHAR,TEXT,MEDIUMTEXT,LONGTEXT,DATETIME,DATE,INT,TINYINT,BIGINT,FLOAT,DECIMAL,DOUBLE\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:23:10', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 168), -(84, 2456, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Description (full width)', '', 'NOT NULL', '', 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"description\\\" \\r\\n\\tlabel=\\\"Description\\\" \\r\\n\\trows=\\\"11\\\" \\r\\n\\tcols=\\\"10\\\" \\r\\n\\tdescription=\\\"Add Description Here\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\thint=\\\"Add Description Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 18:20:49', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 265), -(85, 2589, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Description (one line)', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"description\\\" \\r\\n\\tlabel=\\\"Description\\\" \\r\\n\\tsize=\\\"80\\\" \\r\\n\\tmaxlength=\\\"150\\\"\\r\\n\\tdescription=\\\"Enter some description\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add description here.\\\" \\r\\n\\thint=\\\"Description Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 18:20:49', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 264), -(147, 2648, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Fields (Category)', '', 'NOT NULL', '', 2, '\"<field \\r\\n\\ttype=\\\"category\\\" \\r\\n\\tname=\\\"catid\\\" \\r\\n\\tlabel=\\\"Category\\\" \\r\\n\\textension=\\\"com_###component###.fields\\\"\\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"select one of the following categories\\\" \\r\\n\\tclass=\\\"inputbox\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 23:12:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 147), -(148, 2414, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'FieldType (dynamic)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"fieldtypes\\\" \\r\\n\\tname=\\\"type\\\" \\r\\n\\tlabel=\\\"Type\\\" \\r\\n\\tdescription=\\\"Set the field type\\\" \\r\\n\\tclass=\\\"btn-group\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\tbutton=\\\"true\\\"\\r\\n\\textends=\\\"list\\\" \\r\\n\\ttable=\\\"#__###component###_fieldtype\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"fieldtype\\\" \\r\\n\\tviews=\\\"fieldtypes\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-04-28 10:45:32', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 5, '', 1, 73), -(149, 2649, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Fieldtypes (Category)', '', 'NOT NULL', '', 2, '\"<field \\r\\n\\ttype=\\\"category\\\" \\r\\n\\tname=\\\"catid\\\" \\r\\n\\tlabel=\\\"Category\\\" \\r\\n\\textension=\\\"com_###component###.fieldtypes\\\"\\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"select one of the following categories\\\" \\r\\n\\tclass=\\\"inputbox\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 23:12:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 54), -(157, 2657, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Icon', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"icon\\\" \\r\\n\\tlabel=\\\"Icon\\\" \\r\\n\\tdescription=\\\"Must be 128px x 128px and a png format.\\\" \\r\\n\\tdirectory=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-04-29 14:00:56', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 46), -(160, 2660, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Indexes Type', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"indexes\\\" \\r\\n\\tlabel=\\\"Indexes Type\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"1|UNIQUE KEY,2|KEY,0|None\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:26:50', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 43), -(167, 2667, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Javascript (view-file)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"javascript_view_file\\\" \\r\\n\\tlabel=\\\"Javascript\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your JavaScript here! [Do not add the script tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ JavaScript for the edit view that is loaded in the header via a JS file\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 72), -(168, 2668, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Javascript (views-file)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"javascript_views_file\\\" \\r\\n\\tlabel=\\\"Javascript\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your JavaScript here! [Do not add the script tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ JavaScript for the list view that is loaded in the header via a JS file\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 71), -(172, 2672, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'License', '', 'NOT NULL', '', 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"license\\\" \\r\\n\\tlabel=\\\"License\\\" \\r\\n\\tdefault=\\\"GNU\\/GPL Version 2 or later - http:\\/\\/www.gnu.org\\/licenses\\/gpl-2.0.html\\\"\\r\\n\\trows=\\\"7\\\" \\r\\n\\tcols=\\\"10\\\" \\r\\n\\tdescription=\\\"Add License Here\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\thint=\\\"Add License Here\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 18:20:49', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 67), -(198, 2697, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'MySQL (dump)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"sql\\\" \\r\\n\\tlabel=\\\"MySQL\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your MySQL here!\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ Add MySQL Table Dump Here\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-11 12:36:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 5), -(199, 2698, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', 2, '', '', 'Name', '', 'NOT NULL', '', 24, '\"<field\\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"name\\\" \\r\\n\\tlabel=\\\"Name\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter Name Here\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add name here.\\\" \\r\\n\\thint=\\\"Name Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 17:30:59', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 4), -(200, 2699, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Name (list of records)', '', 'NOT NULL', '', 24, '\"<field\\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"name_list\\\" \\r\\n\\tlabel=\\\"Name (list of records)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"The name of the list of records in this view\\\" \\r\\n\\tclass=\\\"inputbox\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add list of records name here.\\\" \\r\\n\\thint=\\\"List of Records Name Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 17:30:59', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 3), -(201, 2700, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Name (single record)', '', 'NOT NULL', '', 24, '\"<field\\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"name_single\\\" \\r\\n\\tlabel=\\\"Name (single record)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Type null if single record view is not to be set\\\" \\r\\n\\tclass=\\\"inputbox\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add single record name here.\\\" \\r\\n\\thint=\\\"Single Record Name Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 17:30:59', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 2), -(202, 2701, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', 2, '', '', 'Name in Code', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\"\\r\\n\\tname=\\\"name_code\\\"\\r\\n\\tlabel=\\\"Name in Code\\\"\\r\\n\\tsize=\\\"40\\\"\\r\\n\\tmaxlength=\\\"50\\\" \\r\\n\\tdefault=\\\"\\\"\\r\\n\\tdescription=\\\"Add Name in Code Here\\\"\\r\\n\\tclass=\\\"text_area\\\"\\r\\n\\tfilter=\\\"CMD\\\"\\r\\n\\trequired=\\\"true\\\"\\r\\n\\tmessage=\\\"Error! Please add name in code here.\\\"\\r\\n\\thint=\\\"codename\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-06 08:44:48', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 18), -(203, 2702, '', '', '', '', '', '', '', '', '', 1, '', 'INT', '', '', '', 'Not Required', '', 'NOT NULL', '', 9, '\"<field \\r\\n\\ttype=\\\"hidden\\\" \\r\\n\\tname=\\\"not_required\\\" \\r\\n\\tdefault=\\\"[]\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-08 16:19:16', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 19), -(206, 2705, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Condition Implementation', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_on_conditions\\\" \\r\\n\\tlabel=\\\"Condition Implementation\\\" \\r\\n\\tdescription=\\\"Here you can add conditional field settings\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 18:12:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 33), -(210, 2709, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Fields are added', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_on_views\\\" \\r\\n\\tlabel=\\\"The following fields are added by default to all views\\\" \\r\\n\\tdescription=\\\"id, asset_id, state, access, ordering, created_by, date_created, modified_by, date_modified, checked_out, checked_out_time, version, hits, metakey, metadesc, metadata (you don\'t need to add them again)\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 18:12:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 29), -(211, 2710, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - More field types', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_on_fields\\\" \\r\\n\\tlabel=\\\"More Standard form field types\\\" \\r\\n\\tdescription=\\\"To get more form field settings go to https:\\/\\/docs.joomla.org\\/Form_field\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 18:12:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 28), -(212, 2711, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Permission Implementation', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_on_permissions\\\" \\r\\n\\tlabel=\\\"Permission Implementation\\\" \\r\\n\\tdescription=\\\"Only if you add permissions here will this view have permissions.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 18:12:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 27), -(213, 2712, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Setting Contributors', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_on_contributors\\\" \\r\\n\\tlabel=\\\"Setting Contributors\\\" \\r\\n\\tdescription=\\\"Only add contributors if you would like them listed on the component dashboard.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"false\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 18:12:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 26), -(214, 2713, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Setting Views', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_on_views\\\" \\r\\n\\tlabel=\\\"Setting Views\\\" \\r\\n\\tdescription=\\\"Do not add the same view twice it will not work.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"false\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 18:12:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 25), -(215, 2714, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Tab Setup Options', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_on_tabs\\\" \\r\\n\\tlabel=\\\"Tab Setup Options\\\" \\r\\n\\tdescription=\\\"If no tabs has been set all fields will be displayed together in one tab.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 18:12:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 24), -(216, 2715, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - VDM Encryption', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_vdm_encryption\\\" \\r\\n\\tlabel=\\\"The VDM Encryption\\\" \\r\\n\\tdescription=\\\"When using the VDM encryption you need to get a VDM public key from https:\\/\\/www.vdm.io\\/ \\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-success note_vdm_encryption\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-12 13:15:33', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 23), -(218, 2717, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Null Switch', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"null_switch\\\" \\r\\n\\tlabel=\\\"Null Switch\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"NULL,NOT NULL\\\" \\r\\n\\tdefault=\\\"NOT NULL\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:38:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 21), -(219, 2718, '', '', '', '', '', '', '', '', '', 11, '', 'INT', '', '', '', 'Number', '', 'NOT NULL', '', 15, '\"<field \\r\\n\\ttype=\\\"number\\\" \\r\\n\\tname=\\\"number\\\" \\r\\n\\tlabel=\\\"Number\\\" \\r\\n\\tdefault=\\\"4\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\tmin=\\\"1\\\" \\r\\n\\tmax=\\\"40\\\" \\r\\n\\tstep=\\\"1\\\" \\r\\n\\tonchange=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 18:23:27', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 20), -(224, 2723, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Other Data Length/Values', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"datalenght_other\\\" \\r\\n\\tlabel=\\\"Other\\\" \\r\\n\\tsize=\\\"10\\\" \\r\\n\\tmaxlength=\\\"50\\\"\\r\\n\\tdescription=\\\"The other data length\\/values for mysql\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\"\\r\\n\\tmessage=\\\"Error! Please add other data length\\/values here.\\\" \\r\\n\\thint=\\\"Other Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:38:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 125), -(225, 2724, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', 2, '', '', 'Other Default', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"datadefault_other\\\" \\r\\n\\tlabel=\\\"Other Default\\\" \\r\\n\\tsize=\\\"10\\\" \\r\\n\\tmaxlength=\\\"50\\\"\\r\\n\\tdescription=\\\"The other default data for mysql\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\"\\r\\n\\tmessage=\\\"Error! Please add other default here.\\\" \\r\\n\\thint=\\\"Other Default Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:38:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 124), -(230, 2729, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (getItem - JModelForm)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_getitem\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the getItem Method (object) $item is where all values are\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-11 12:36:14', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 119), -(231, 2730, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (getItems - JModelAdmin)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_getitems\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the getItems Method (array) $items is where all values are\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-11 12:36:14', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 3, '', 1, 118), -(232, 2731, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (helper_admin)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_helper_admin\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"80\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-11 12:36:14', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 3, '', 1, 117), -(233, 2732, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (postSaveHook - edit)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_postsavehook\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the postSaveHook Method (object) $model is the data model object and (array) $validData is the validated data.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-11 12:36:14', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 116), -(234, 2733, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (save - edit)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_save\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the save Method (array) $data is where all values are\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-11 12:36:14', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 115), -(699, 2455, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (batchMove)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_batchmove\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the batchMove Method (submitted values are in $values, id\'s are in $pks)\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-08-22 21:05:06', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 118), -(238, 2736, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Properties', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"properties\\\" \\r\\n\\tlabel=\\\"Properties\\\" \\r\\n\\tdescription=\\\"Options for this field\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addproperties\\\" \\r\\n\\tclass=\\\"addproperty\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"199,277,21,176,275,86\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-09 22:50:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 128), -(255, 2751, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Short Description', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"short_description\\\" \\r\\n\\tlabel=\\\"Short Description\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter short description\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tmessage=\\\"Error! Please add some short description here.\\\" \\r\\n\\thint=\\\"Your Short Description Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 18:20:49', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 130), -(257, 2753, '', '', '', '', '', '', '', '', '', 1, '', 'CHAR', '', '', '', 'Spacer hr', '', 'NOT NULL', '', 20, '\"<field name=\\\"spacer_hr\\\" type=\\\"spacer\\\" hr=\\\"true\\\" \\/>\"', '', 1, 845, 845, '2015-04-08 00:33:17', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 110), -(258, 2754, '', '', '', '', '', '', '', '', '', 11, '', 'INT', '', '', '', 'Store Method', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"store\\\" \\r\\n\\tlabel=\\\"Store Method\\\" \\r\\n\\tdescription=\\\"How should the data be stored.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"0|Default,1|JSON,2|base64,3|Basic Encryption (local-key),4|Advance Encryption (WHMCS-key)\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-12 12:40:42', '2016-02-03 22:16:05', '', '0000-00-00 00:00:00', 2, '', 1, 109), -(273, 2768, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Title', '', 'NOT NULL', '', 24, '\"<field\\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"title\\\" \\r\\n\\tlabel=\\\"Title\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter Title Here\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add title here.\\\" \\r\\n\\thint=\\\"Title Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 17:30:59', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 76), -(279, 2774, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'View Type', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"type\\\" \\r\\n\\tlabel=\\\"Type\\\" \\r\\n\\tdescription=\\\"Set the type of view\\\" \\r\\n\\tclass=\\\"btn-group\\\" \\r\\n\\tsize=\\\"1\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"1|read\\/write,2|readonly\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-03-19 18:23:52', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 106), -(280, 2775, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Website', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"website\\\" \\r\\n\\tlabel=\\\"Website\\\" \\r\\n\\tsize=\\\"60\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter website address\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add website here.\\\" \\r\\n\\thint=\\\"http:\\/\\/www.example.com\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-04-08 00:36:16', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 105), -(284, 2779, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'XML Field Definition', '', 'NOT NULL', 1, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"xml\\\" \\r\\n\\tlabel=\\\"XML field definition (Please set the field details here to fit your needs)\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"720\\\" \\r\\n\\tdescription=\\\"Text Area\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"Field XML Go Here\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-10 21:38:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 101), -(291, 2786, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Javascript (views-footer)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"javascript_views_footer\\\" \\r\\n\\tlabel=\\\"Javascript\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your JavaScript here! [Do not add the script tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ JavaScript for the list view that is loaded in the footer inside script tags\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-12 19:38:05', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 297), -(289, 2784, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Javascript (views-footer)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_javascript_views_footer\\\" \\r\\n\\tlabel=\\\"Add JavaScript (views-footer)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-12 19:37:29', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 295), -(288, 2783, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Javascript (view-footer)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_javascript_view_footer\\\" \\r\\n\\tlabel=\\\"Add JavaScript (view-footer)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-12 19:37:16', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 294), -(290, 2785, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Javascript (view-footer)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"javascript_view_footer\\\" \\r\\n\\tlabel=\\\"Javascript\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your JavaScript here! [Do not add the script tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ JavaScript for the edit view that is loaded in the footer inside script tags\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-12 19:37:51', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 296), -(292, 2787, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add CSS (admin)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_css\\\" \\r\\n\\tlabel=\\\"Add CSS\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-12 19:43:43', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 298), -(293, 2788, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'CSS (admin)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"css\\\" \\r\\n\\tlabel=\\\"CSS\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your CSS here! [Do not add the style tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ CSS for the entire back-end\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-12 19:44:54', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 299), -(294, 2789, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Licensing Template', '', 'NOT NULL', '', 30, '\"<field \\r\\n\\ttype=\\\"filelist\\\" \\r\\n\\tname=\\\"bom\\\" \\r\\n\\tlabel=\\\"Licensing Template\\\" \\r\\n\\tdirectory=\\\"administrator\\/components\\/com_###component###\\/compiler\\\" \\r\\n\\tdefault=\\\"default.txt\\\" \\r\\n\\tdescription=\\\"Select the file that should be used for licensing all files (files found in: administrator\\/components\\/com_###component###\\/compiler)\\\" \\r\\n\\tfilter=\\\"\\\" \\r\\n\\texclude=\\\"\\\" \\r\\n\\tstripext=\\\"\\\" \\r\\n\\thide_none=\\\"\\\" \\r\\n\\thide_default=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-13 14:50:23', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 302), -(297, 2792, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Add Files', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_add_files\\\" \\r\\n\\tlabel=\\\"Adding Custom Files\\\" \\r\\n\\tdescription=\\\"You can add custom files to the component, simply add the files to the administrator\\/components\\/com_###component###\\/compiler\\/custom folder and then select them here.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"false\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-13 15:24:04', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 307), -(298, 2793, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Add Folders', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_add_folders\\\" \\r\\n\\tlabel=\\\"Adding Custom Folders\\\" \\r\\n\\tdescription=\\\"You can add custom folders to the component, simply add the folders to the administrator\\/components\\/com_###component###\\/compiler\\/custom folder and then select them here.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"false\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-13 15:25:04', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 306), -(300, 2795, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Files', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addfiles\\\" \\r\\n\\tlabel=\\\"Files\\\" \\r\\n\\tdescription=\\\"Add custom files to this component.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addfiles\\\" \\r\\n\\tclass=\\\"addfile\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"295,296,328\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-13 15:31:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 310), -(301, 2796, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Folder', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addfolders\\\" \\r\\n\\tlabel=\\\"Folder\\\" \\r\\n\\tdescription=\\\"Add custom folder to this component.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addfolders\\\" \\r\\n\\tclass=\\\"addfolder\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"299,296,329\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-13 15:36:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 309), -(302, 2797, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Field Information', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"helpNote\\\" \\r\\n\\tlabel=\\\"Field Information\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\theading=\\\"\\\" \\r\\n\\tclass=\\\"helpNote\\\" \\r\\n\\tclose=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-13 21:22:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 312), -(303, 2798, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Filter Information', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_filter_information\\\" \\r\\n\\tlabel=\\\"Filter Information\\\" \\r\\n\\tdescription=\\\"<b>The available values for the filter attribute are:<\\/b><br \\/>\\r\\n <p>\\r\\n <code>INT<\\/code> - An integer,<br \\/>\\r\\n <code>UINT<\\/code> - An unsigned integer,<br \\/>\\r\\n <code>FLOAT<\\/code> - A floating point number,<br \\/>\\r\\n <code>BOOLEAN<\\/code> - A boolean value,<br \\/>\\r\\n <code>WORD<\\/code> - A string containing A-Z or underscores only (not case sensitive),<br \\/>\\r\\n <code>ALNUM<\\/code> - A string containing A-Z or 0-9 only (not case sensitive),<br \\/>\\r\\n <code>CMD<\\/code> - A string containing A-Z, 0-9, underscores, periods or hyphens (not case sensitive),<br \\/>\\r\\n <code>BASE64<\\/code> - A string containing A-Z, 0-9, forward slashes, plus or equals (not case sensitive),<br \\/>\\r\\n <code>STRING<\\/code> - A fully decoded and sanitized string (default),<br \\/>\\r\\n <code>HTML<\\/code> - A sanitized string,<br \\/>\\r\\n <code>ARRAY<\\/code> - An array,<br \\/>\\r\\n <code>PATH<\\/code> - A sanitized file path,<br \\/>\\r\\n <code>USERNAME<\\/code> - Do not use (use an application specific filter),<br \\/>\\r\\n <code>RAW<\\/code> - The raw string is returned with no filtering,<br \\/>\\r\\n <code>unknown<\\/code> - An unknown filter will act like STRING. If the input is an array it will return an array of fully decoded and sanitized strings.\\r\\n <\\/p>\\\" \\r\\n\\theading=\\\"\\\" \\r\\n\\tclass=\\\"\\\" \\r\\n\\tclose=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-13 21:26:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 311), -(307, 2801, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Custom Admin Menu', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addcustommenus\\\" \\r\\n\\tlabel=\\\"Custom Admin Menus\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addcustommenus\\\" \\r\\n\\tclass=\\\"addcustommenu\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"50\\\"\\r\\n\\tfields=\\\"199,202,304,305,175,68,263,306 \\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-15 12:22:52', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 316), -(311, 2805, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Tables', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addtables\\\" \\r\\n\\tlabel=\\\"Tables\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addtables\\\" \\r\\n\\tclass=\\\"addtable\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"50\\\"\\r\\n\\tfields=\\\"308,310\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-15 15:59:32', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 315), -(309, 2803, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Select MySql Source', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"source\\\" \\r\\n\\tlabel=\\\"Select MySql Source\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Table,2|Dump\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-15 13:31:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 331), -(312, 2806, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Config Fields', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addconfig\\\" \\r\\n\\tlabel=\\\"Config\\\" \\r\\n\\tdescription=\\\"Setup config fields.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addconfigs\\\" \\r\\n\\tclass=\\\"addconfig\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"143,317,313\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-18 12:30:57', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 359), -(314, 2808, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Add Config', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_add_config\\\" \\r\\n\\tlabel=\\\"Adding Custom Config Fields\\\" \\r\\n\\tdescription=\\\"You can add custom config fields to the component here. The normal Global config is already being added so only add custom fields that you would like to use in custom scripts.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"false\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-18 15:53:39', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 305), -(318, 2812, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Empty Contributors', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"emptycontributors\\\" \\r\\n\\tlabel=\\\"Empty Contributor Fields\\\" \\r\\n\\tdescription=\\\"Set if a list of empty contributor fields should be added.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-18 20:32:42', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 363), -(319, 2813, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Snippet Usage', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_snippet_usage\\\" \\r\\n\\tlabel=\\\"Snippet Usage\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"snippet-usage\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 09:27:04', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 364), -(333, 2826, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (AJAX Model Method)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_ajaxmethod\\\" \\r\\n\\tlabel=\\\"php Ajax Method\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Method that should run in the AJAX Model\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-20 08:27:44', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 386), -(320, 2814, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Layout', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"layout\\\" \\r\\n\\tlabel=\\\"Layout\\\" \\r\\n\\trows=\\\"20\\\" \\r\\n\\tcols=\\\"15\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ Add the layout code here. $displayData is the Object that is used inside the layout file to build displayed output\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 09:54:01', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 368), -(321, 2815, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'UIkit Data', '', 'NOT NULL', 1, 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"uk_data\\\" \\r\\n\\tlabel=\\\"UIkit Data\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"margin, grid-match, grid-margin, check-display, observe, smooth-scroll, scrollspy, scrollspy-nav, toggle, alert, button-radio, button-checkbox, button, dropdown, modal, nav, offcanvas, switcher, switcher-item, tab, cover,\\r\\n accordion, autocomplete, datepicker, form-password, form-select, grid, filter, sort, htmleditor, tooltip, lightbox, nestable, pagination, parallax, search, slider, slider-item, slideset, slideset-item, slideshow,\\r\\n slideshow-item, sortable, sticky, timepicker\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 09:57:07', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 369), -(322, 2816, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP site (view)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_view\\\" \\r\\n\\tlabel=\\\"Custom Script\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"the PHP script that must run in the head of the file.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom PHP script to head of the file.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-19 14:20:42', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 5, '', 1, 370), -(566, 2877, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (custom JViewLegacy display)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_jview_display\\\" \\r\\n\\tlabel=\\\"Add PHP (custom JViewLegacy display)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-10 14:54:17', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 4, '', 1, 541), -(569, 2880, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (custom JViewLegacy methods)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_jview\\\" \\r\\n\\tlabel=\\\"Add PHP (custom JViewLegacy methods)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-10 15:02:24', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 542), -(567, 2878, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP site (JViewLegacy)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_jview\\\" \\r\\n\\tlabel=\\\"Custom Script (JViewLegacy)\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"PHP methods for the JViewLegacy class.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom PHP methods to the JViewLegacy class.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-06-10 14:58:22', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 373), -(568, 2879, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP site (JViewLegacy display)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_jview_display\\\" \\r\\n\\tlabel=\\\"Custom Script (JViewLegacy display)\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"PHP script for the JViewLegacy display method.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom PHP script to the JViewLegacy display method.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-06-10 14:59:59', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 374), -(323, 2817, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Snippets', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"snippet\\\" \\r\\n\\tlabel=\\\"Snippet\\\" \\r\\n\\trows=\\\"27\\\" \\r\\n\\tcols=\\\"10\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ Add the snippets code here\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 14:51:31', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 367), -(324, 2818, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'URL', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"url\\\" \\r\\n\\tlabel=\\\"URL\\\" \\r\\n\\tsize=\\\"60\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter url\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add url here.\\\" \\r\\n\\thint=\\\"http:\\/\\/www.example.com\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 16:08:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 378), -(325, 2819, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Snippet Types', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"type\\\" \\r\\n\\tlabel=\\\"Type\\\" \\r\\n\\tdescription=\\\"Snippet Types\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"1|Layout,2|Navigations,3|Elements,4|Common,5|JavaScript,6|Charts\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 16:27:33', '2015-08-25 23:10:27', '', '0000-00-00 00:00:00', 2, '', 1, 379), -(326, 2820, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Usage', '', 'NOT NULL', '', 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"usage\\\" \\r\\n\\tlabel=\\\"Usage\\\" \\r\\n\\trows=\\\"11\\\" \\r\\n\\tcols=\\\"10\\\" \\r\\n\\tdescription=\\\"Add Usage Here\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\thint=\\\"Add Usage Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 16:30:48', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 380), -(327, 2821, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Heading', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"heading\\\" \\r\\n\\tlabel=\\\"Heading\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter short heading\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tmessage=\\\"Error! Please add some short heading here.\\\" \\r\\n\\thint=\\\"Your Heading Here\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 16:51:55', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 381), -(330, 2824, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - UIkit Snippet Details', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_uikit_snippet\\\" \\r\\n\\tlabel=\\\"Snippet Details\\\" \\r\\n\\tclass=\\\"snippet-code\\\"\\r\\n\\theading=\\\"h4\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 21:02:29', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 377), -(331, 2439, '', '', '', '', '', '', '', '', '', 11, '', 'INT', '', '', '', 'Snippet (Dynamic)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"snippets\\\" \\r\\n\\tname=\\\"snippet\\\" \\r\\n\\tlabel=\\\"Select a Snippet\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\trequired=\\\"false\\\"\\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\"\\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"true\\\"\\r\\n\\ttable=\\\"#__###component###_snippet\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"snippet\\\" \\r\\n\\tviews=\\\"snippets\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\',\'a.type\'),array(\'###ID###\',\'###CODE_TEXT###\',\'type\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\\n$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_6=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_7=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_8=\\\"$options = array();\\\" \\r\\n\\ttype_php_9=\\\"if ($items)\\\" \\r\\n\\ttype_php_10=\\\"{\\\" \\r\\n\\ttype_php_11=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\\\\n\\\\t\\\\t\\\\t$model = ###Component###Helper::getModel(\'snippets\');\\\" \\r\\n\\ttype_php_12=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_13=\\\"\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\t$type = $model->selectionTranslation($item->type,\'type\');\\\" \\r\\n\\ttype_php_14=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT### . \' (\' . JText::_($type) . \')\' );\\\" \\r\\n\\ttype_php_15=\\\"\\\\t}\\\" \\r\\n\\ttype_php_16=\\\"}\\\" \\r\\n\\ttype_php_17=\\\"\\\" \\r\\n\\ttype_php_18=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-19 21:43:35', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 4, '', 1, 384), -(332, 2825, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (AJAX)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_ajax\\\" \\r\\n\\tlabel=\\\"Add PHP (AJAX)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-20 08:26:25', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 385), -(338, 2831, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Ajax Input', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"ajax_input\\\" \\r\\n\\tlabel=\\\"Ajax Input\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"ajax_input\\\" \\r\\n\\tclass=\\\"ajax_inputs\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"150\\\" \\r\\n\\tfields=\\\"339,334,336,335,337,898\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-20 09:19:33', '2015-11-10 12:57:12', '', '0000-00-00 00:00:00', 2, '', 1, 392), -(340, 2833, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Dynamic Values', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"dynamic_values\\\" \\r\\n\\tlabel=\\\"Dynamic Values\\\" \\r\\n\\tdescription=\\\"Only use dynamic get values that is linked to the same component.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-21 13:20:01', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 394), -(342, 2834, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Get Type', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"gettype\\\" \\r\\n\\tlabel=\\\"getType\\\" \\r\\n\\tdescription=\\\"Set the type of get method.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"1|getItem,2|getListQuery,3|getCustom,4|getCustoms\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-21 22:04:46', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 414), -(343, 2434, '', '', '', '', '', '', '', '', '', 11, '', 'INT', '', '', '', 'View Table (main)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"adminviews\\\" \\r\\n\\tname=\\\"view_table_main\\\" \\r\\n\\tlabel=\\\"View Table (main)\\\" \\r\\n\\tdescription=\\\"Select a back-end view\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\ttable=\\\"#__###component###_admin_view\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"admin_view\\\" \\r\\n\\tviews=\\\"admin_views\\\" \\r\\n\\tvalue_field=\\\"system_name\\\" \\r\\n\\tkey_field=\\\"id\\\"\\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-21 22:07:44', '2016-01-10 16:40:33', '', '0000-00-00 00:00:00', 5, '', 1, 400), -(351, 2835, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'DB Table (main)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"dbtables\\\" \\r\\n\\tname=\\\"db_table_main\\\" \\r\\n\\tlabel=\\\"DB Table (main)\\\" \\r\\n\\tdescription=\\\"Select a database table\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\ttable=\\\"\\\" \\r\\n\\tcomponent=\\\" \\r\\n\\tview=\\\"\\\" \\r\\n\\tviews=\\\"\\\" \\r\\n\\tvalue_field=\\\"\\\" \\r\\n\\tkey_field=\\\"\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$tables= $db->getTableList();\\\" \\r\\n\\ttype_php_3=\\\"$config = JFactory::getConfig();\\\" \\r\\n\\ttype_php_4=\\\"$options = array();\\\" \\r\\n\\ttype_php_5=\\\"$db = JFactory::getDBO(); $options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\\\" \\r\\n\\ttype_php_6=\\\"for ($i=0; $i < count($tables); $i++)\\\" \\r\\n\\ttype_php_7=\\\"{\\\" \\r\\n\\ttype_php_8=\\\"\\\\t\\/\\/only tables with primary key\\\" \\r\\n\\ttype_php_9=\\\"\\\\t$db->setQuery(\'SHOW FIELDS FROM `\'.$tables[$i].\'` WHERE LOWER( `Key` ) = \\\\\'pri\\\\\'\');\\\" \\r\\n\\ttype_php_10=\\\"\\\\tif ($db->loadResult())\\\" \\r\\n\\ttype_php_11=\\\"\\\\t{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t\\\\t$dbprefix = version_compare(JVERSION,\'3.0\',\'lt\') ? $config->getValue(\'config.dbprefix\') : $config->get(\'dbprefix\'); $key = $i+1;\\\" \\r\\n\\ttype_php_13=\\\"\\\\t\\\\t$options[$key] = new stdClass;\\\" \\r\\n\\ttype_php_14=\\\"\\\\t\\\\t$options[$key]->value = str_replace($dbprefix, \'\', $tables[$i]);\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[$key]->text = $tables[$i];\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-21 22:15:09', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 327), -(376, 2837, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Jount View Table', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"join_view_table\\\" \\r\\n\\tlabel=\\\"Join View Tables\\\" \\r\\n\\tdescription=\\\"Here you can add more tables to the query from the views of this component.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"join_view_table\\\" \\r\\n\\tclass=\\\"join_view_tables\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"50\\\" \\r\\n\\tfields=\\\"381,547,537,505,430,541,455,480\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-21 23:05:08', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 97), -(380, 2838, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'View Select Fields (main)', '', 'NOT NULL', '', 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"view_selection\\\" \\r\\n\\tlabel=\\\"Selection\\\" \\r\\n\\trows=\\\"22\\\" \\r\\n\\tcols=\\\"30\\\"\\r\\n\\tdescription=\\\"Fields to be selected from table.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\thint=\\\"a.field AS field\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-21 23:17:05', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 341), -(530, 2846, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (get Calculation)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_calculation\\\" \\r\\n\\tlabel=\\\"get Calculation (Place all calculated\\/new values in variables with the following naming convention $cal__xxxxxxx)\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP to do the calculation on any field.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-22 14:56:07', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 387), -(492, 2844, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'DB Select Fields (main)', '', 'NOT NULL', '', 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"db_selection\\\" \\r\\n\\tlabel=\\\"Selection\\\" \\r\\n\\trows=\\\"22\\\" \\r\\n\\tcols=\\\"30\\\"\\r\\n\\tdescription=\\\"Fields to be selected from table.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"HTML\\\" \\r\\n\\thint=\\\"n.field AS field\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-22 13:00:45', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 349), -(531, 2847, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Add Calculation', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"addcalculation\\\" \\r\\n\\tlabel=\\\"Add Calculation\\\" \\r\\n\\tdescription=\\\"Do you want to add custom calculation to the get method\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-22 15:05:18', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 516), -(532, 2848, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', 2, '', '', 'get Custom Name', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"getcustom\\\" \\r\\n\\tlabel=\\\"Custom Name\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Set the Method name for this dynamic get.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"WORD\\\" \\r\\n\\tmessage=\\\"Error! Please add method name here.\\\" \\r\\n\\thint=\\\"getMethodName\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-22 20:00:51', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 517), -(538, 2854, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Jount DB Table', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"join_db_table\\\" \\r\\n\\tlabel=\\\"Join DB Tables\\\" \\r\\n\\tdescription=\\\"Here you can add more table data to the query from other databases.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"join_db_table\\\" \\r\\n\\tclass=\\\"join_db_tables\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"50\\\" \\r\\n\\tfields=\\\"393,547,537,505,430,541,455,480\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-23 12:50:59', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 93), -(539, 2855, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Filter Query', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"filter\\\" \\r\\n\\tlabel=\\\"Filter\\\" \\r\\n\\tdescription=\\\"Here you can add filters to the query.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"filter\\\" \\r\\n\\tclass=\\\"filters\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"50\\\" \\r\\n\\tfields=\\\"534,535,541,536\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-23 12:54:41', '2015-12-02 00:51:45', '', '0000-00-00 00:00:00', 3, '', 1, 74), -(540, 2856, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Main Data Source', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"main_source\\\" \\r\\n\\tlabel=\\\"Main Source\\\" \\r\\n\\tdescription=\\\"Select the main source of this dynamic get method.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"|Please select,1|Back-end View,2|Joomla Database,3|Custom\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-23 14:26:09', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 527), -(542, 2858, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Calculation (item)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_calculation_item\\\" \\r\\n\\tlabel=\\\"\\\" \\r\\n\\tdescription=\\\"Fields are in the $data Object.\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-25 13:03:02', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 529), -(543, 2859, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Calculation (items)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_calculation_items\\\" \\r\\n\\tlabel=\\\"\\\" \\r\\n\\tdescription=\\\"Fields are in the $item Object.\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-25 13:05:03', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 530), -(544, 2432, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Dynamic Get (dynamic - not required)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"dynamicgets\\\" \\r\\n\\tname=\\\"dynamic_get\\\" \\r\\n\\tlabel=\\\"Dynamic Get\\\" \\r\\n\\tdescription=\\\"Select a dynamic get\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"true\\\"\\r\\n\\ttable=\\\"#__###component###_dynamic_get\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"dynamic_get\\\" \\r\\n\\tviews=\\\"dynamic_gets\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\',\'a.gettype\'),array(\'###ID###\',\'###CODE_TEXT###\',\'type\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\\n$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_6=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_7=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_8=\\\"$options = array();\\\" \\r\\n\\ttype_php_9=\\\"if ($items)\\\" \\r\\n\\ttype_php_10=\\\"{\\\" \\r\\n\\ttype_php_11=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\\\\n\\\\t\\\\t\\\\t$model = ###Component###Helper::getModel(\'dynamic_gets\');\\\" \\r\\n\\ttype_php_12=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_13=\\\"\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\t$type = $model->selectionTranslation($item->type,\'gettype\');\\\" \\r\\n\\ttype_php_14=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT### . \' (\' . JText::_($type) . \')\' );\\\" \\r\\n\\ttype_php_15=\\\"\\\\t}\\\" \\r\\n\\ttype_php_16=\\\"}\\\" \\r\\n\\ttype_php_17=\\\"\\\" \\r\\n\\ttype_php_18=\\\"return $options;\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-26 12:29:44', '2015-08-26 00:04:34', '', '0000-00-00 00:00:00', 9, '', 1, 410), -(546, 2861, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Where Query', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"where\\\" \\r\\n\\tlabel=\\\"Where\\\" \\r\\n\\tdescription=\\\"Here you can add where to the query.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"where\\\" \\r\\n\\tclass=\\\"wheres\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"50\\\" \\r\\n\\tfields=\\\"536,541,545\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-27 12:59:39', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 532), -(551, 2866, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Globals', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"global\\\" \\r\\n\\tlabel=\\\"Set Global\\\" \\r\\n\\tdescription=\\\"Here you can add global variables.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"global\\\" \\r\\n\\tclass=\\\"globals\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"548,549,571,550\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-27 16:34:43', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 533), -(552, 2867, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (custom get)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_custom_get\\\" \\r\\n\\tlabel=\\\"Custom get\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ Custom PHP that will be added to the method selected above as type.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-05-27 16:49:50', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 535), -(553, 2868, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Template', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"template\\\" \\r\\n\\tlabel=\\\"Template\\\" \\r\\n\\trows=\\\"20\\\" \\r\\n\\tcols=\\\"15\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ Add the Template code here.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-28 19:48:10', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 366), -(554, 2869, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', 2, '', '', 'Name in Code (alias)', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\"\\r\\n\\tname=\\\"name_code\\\"\\r\\n\\tlabel=\\\"Name in Code\\\"\\r\\n\\tsize=\\\"40\\\"\\r\\n\\tmaxlength=\\\"50\\\" \\r\\n\\tdefault=\\\"\\\"\\r\\n\\tdescription=\\\"Add Name in Code Here\\\"\\r\\n\\tclass=\\\"text_area\\\"\\r\\n\\tfilter=\\\"CMD\\\"\\r\\n\\tmessage=\\\"Error! Please add name in code here.\\\"\\r\\n\\thint=\\\"codename\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-05-28 21:14:01', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 536), -(555, 2870, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Default View', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"default\\\" \\r\\n\\tlabel=\\\"Default View\\\" \\r\\n\\trows=\\\"20\\\" \\r\\n\\tcols=\\\"15\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ Add the code here.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-05-29 23:03:51', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 365), -(556, 2871, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Site Views', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addsite_views\\\" \\r\\n\\tlabel=\\\"Site Views\\\" \\r\\n\\tdescription=\\\"Setup the site views for this component.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addsite_views\\\" \\r\\n\\tclass=\\\"addsite_view\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"557,564,154,781,3\\\"\\r\\n\\/>\"', '', 1, 845, 450, '2015-06-01 11:40:11', '2015-09-27 17:50:41', '', '0000-00-00 00:00:00', 6, '', 1, 537), -(558, 2430, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Main Get (dynamic)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"maingets\\\" \\r\\n\\tname=\\\"main_get\\\"\\r\\n\\tlabel=\\\"Main Get\\\" \\r\\n\\tdescription=\\\"Select a main get\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"true\\\"\\r\\n\\ttable=\\\"#__###component###_dynamic_get\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"dynamic_get\\\" \\r\\n\\tviews=\\\"dynamic_gets\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\',\'a.gettype\'),array(\'###ID###\',\'###CODE_TEXT###\',\'type\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\\n\\\\t\\\\t$query->where(\'( \'.$db->quoteName(\'a.gettype\') . \' = 1 OR \' . $db->quoteName(\'a.gettype\') . \' = 2 )\');\\\\n\\\\t\\\\t$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_6=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_7=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_8=\\\"$options = array();\\\" \\r\\n\\ttype_php_9=\\\"if ($items)\\\" \\r\\n\\ttype_php_10=\\\"{\\\" \\r\\n\\ttype_php_11=\\\"\\\\t$model = ###Component###Helper::getModel(\'dynamic_gets\');\\\" \\r\\n\\ttype_php_12=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_13=\\\"\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\t$type = $model->selectionTranslation($item->type,\'gettype\');\\\" \\r\\n\\ttype_php_14=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT### . \' (\' . JText::_($type) . \')\' );\\\" \\r\\n\\ttype_php_15=\\\"\\\\t}\\\" \\r\\n\\ttype_php_16=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"return $options;\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-06-01 22:00:07', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 8, '', 1, 402), -(559, 2429, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Custom Get (dynamic)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"customgets\\\" \\r\\n\\tname=\\\"custom_get\\\"\\r\\n\\tlabel=\\\"Custom Gets\\\" \\r\\n\\tdescription=\\\"Select the custom get methods\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\ttable=\\\"#__###component###_dynamic_get\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"dynamic_get\\\" \\r\\n\\tviews=\\\"dynamic_gets\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\',\'a.gettype\'),array(\'###ID###\',\'###CODE_TEXT###\',\'type\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\\n\\\\t\\\\t$query->where(\'( \'.$db->quoteName(\'a.gettype\') . \' = 3 OR \' . $db->quoteName(\'a.gettype\') . \' = 4 )\');\\\\n\\\\t\\\\t$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_6=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_7=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_8=\\\"$options = array();\\\" \\r\\n\\ttype_php_9=\\\"if ($items)\\\" \\r\\n\\ttype_php_10=\\\"{\\\" \\r\\n\\ttype_php_11=\\\"\\\\t$model = ###Component###Helper::getModel(\'dynamic_gets\');\\\" \\r\\n\\ttype_php_12=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_13=\\\"\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\t$type = $model->selectionTranslation($item->type,\'gettype\');\\\" \\r\\n\\ttype_php_14=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT### . \' (\' . JText::_($type) . \')\' );\\\" \\r\\n\\ttype_php_15=\\\"\\\\t}\\\" \\r\\n\\ttype_php_16=\\\"}\\\" \\r\\n\\ttype_php_17=\\\"\\\" \\r\\n\\ttype_php_18=\\\"return $options;\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-06-01 22:02:10', '2015-08-26 00:05:19', '', '0000-00-00 00:00:00', 10, '', 1, 403), -(561, 2872, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Add Language String', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_add_language_string\\\" \\r\\n\\tlabel=\\\"Add Language String\\\" \\r\\n\\tdescription=\\\"<code>&lt;?php echo JText::_(\'Text\'); ?&gt;<\\/code>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-03 15:23:13', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 539), -(560, 2428, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Dynamic Get (snippet)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"dynamicgets\\\" \\r\\n\\tname=\\\"dynamic_get\\\" \\r\\n\\tlabel=\\\"Dynamic Get (snippet)\\\" \\r\\n\\tdescription=\\\"Select a dynamic get\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\ttable=\\\"#__###component###_dynamic_get\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"dynamic_get\\\" \\r\\n\\tviews=\\\"dynamic_gets\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\',\'a.gettype\'),array(\'###ID###\',\'###CODE_TEXT###\',\'type\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\\n$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_6=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_7=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_8=\\\"$options = array();\\\" \\r\\n\\ttype_php_9=\\\"if ($items)\\\" \\r\\n\\ttype_php_10=\\\"{\\\" \\r\\n\\ttype_php_11=\\\"\\\\t$model = ###Component###Helper::getModel(\'dynamic_gets\');\\\" \\r\\n\\ttype_php_12=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_13=\\\"\\\\t{\\\\n\\\\t\\\\t\\\\t\\\\t$type = $model->selectionTranslation($item->type,\'gettype\');\\\" \\r\\n\\ttype_php_14=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT### . \' (\' . JText::_($type) . \')\' );\\\" \\r\\n\\ttype_php_15=\\\"\\\\t}\\\" \\r\\n\\ttype_php_16=\\\"}\\\" \\r\\n\\ttype_php_17=\\\"\\\" \\r\\n\\ttype_php_18=\\\"return $options;\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-06-01 22:51:20', '2015-08-26 00:05:13', '', '0000-00-00 00:00:00', 5, '', 1, 404), -(562, 2873, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (helper_site)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_helper_site\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"80\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-06-07 22:39:33', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 540), -(563, 2874, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (helper_site Class)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_helper_site\\\" \\r\\n\\tlabel=\\\"Add PHP (helper_site Class)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-07 22:39:54', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 548), -(565, 2876, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (custom view script)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_view\\\" \\r\\n\\tlabel=\\\"Add PHP (custom view script)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-10 14:53:09', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 547), -(573, 2884, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Ordering Query', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"order\\\" \\r\\n\\tlabel=\\\"Ordering\\\" \\r\\n\\tdescription=\\\"Here you can set the ordering per data set.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"order\\\" \\r\\n\\tclass=\\\"ordering\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"50\\\" \\r\\n\\tfields=\\\"536,572\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-17 22:52:36', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 531), -(574, 2885, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (custom document script)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_document\\\" \\r\\n\\tlabel=\\\"Add PHP (custom document script)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-18 23:29:38', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 546), -(575, 2886, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add CSS (custom document script)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_css_document\\\" \\r\\n\\tlabel=\\\"Add CSS (custom document script)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-18 23:30:49', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 545), -(576, 2887, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add JS (custom document script)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_js_document\\\" \\r\\n\\tlabel=\\\"Add JS (custom document script)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-18 23:31:10', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 544), -(577, 2888, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP site (Document)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_document\\\" \\r\\n\\tlabel=\\\"Custom Script (Document)\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"PHP script to the document method.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom PHP script to the document method.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-06-18 23:33:02', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 371), -(578, 2889, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'CSS site (Document)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"css_document\\\" \\r\\n\\tlabel=\\\"Custom Script (Document)\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"CSS script to the document method.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom CSS script to the document method. You can add in PHP like this: &quot;.$var.&quot; \\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-18 23:38:14', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 372), -(579, 2890, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'JS site (Document)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"js_document\\\" \\r\\n\\tlabel=\\\"Custom Script (Document)\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"JS script to the document method.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom JS script to the document method. You can add in PHP like this: &quot;.$var.&quot; \\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-06-18 23:38:47', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 376), -(597, 2425, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Articles (joomla)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"articles\\\" \\r\\n\\tname=\\\"article\\\" \\r\\n\\tlabel=\\\"Article\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\ttable=\\\"#__content\\\" \\r\\n\\tcomponent=\\\"com_content\\\" \\r\\n\\tview=\\\"article\\\" \\r\\n\\tviews=\\\"articles\\\" \\r\\n\\tvalue_field=\\\"title\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\',\'a.alias\'),array(\'###ID###\',\'###CODE_TEXT###\',\'alias\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.state\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an Article\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT### . \' (\' . $item->alias . \')\');\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-07-13 22:43:55', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 5, '', 1, 565), -(598, 2904, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Help Content', '', 'NOT NULL', '', 8, '\"<field \\r\\n\\ttype=\\\"editor\\\" \\r\\n\\tname=\\\"content\\\" \\r\\n\\tlabel=\\\"Content\\\" \\r\\n\\twidth=\\\"100%\\\" \\r\\n\\theight=\\\"300 px\\\" \\r\\n\\tbuttons=\\\"false\\\" \\r\\n\\thide=\\\"\\\" \\r\\n\\teditor=\\\"\\\" \\r\\n\\tfilter=\\\"safehtml\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-07-13 23:06:24', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 122), -(599, 2905, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Groups (multi)', '', 'NOT NULL', 1, 29, '\"<field \\r\\n\\ttype=\\\"usergroup\\\" \\r\\n\\tname=\\\"groups\\\" \\r\\n\\tlabel=\\\"Group\\/s\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tdescription=\\\"Select a group\\/s\\\"\\r\\n\\tmultiple=\\\"true\\\"\\r\\n\\/>\"', '', 1, 845, 450, '2015-07-13 23:10:19', '2015-09-25 17:03:00', '', '0000-00-00 00:00:00', 5, '', 1, 50), -(600, 2906, '', '', '', '', '', '', '', '', '', 255, '', 'CHAR', '', '', '', 'List of Admin Views', '', 'NOT NULL', '', 31, '\"<field \\r\\n\\ttype=\\\"folderlist\\\" \\r\\n\\tname=\\\"admin_view\\\" \\r\\n\\tlabel=\\\"Admin Views\\\" \\r\\n\\tdirectory=\\\"\\/administrator\\/components\\/com_###component###\\/views\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\thide_none=\\\"true\\\"\\r\\n\\thide_default=\\\"true\\\"\\r\\n\\tdescription=\\\"Select the view being targeted\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-07-13 23:21:47', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 566), -(601, 2907, '', '', '', '', '', '', '', '', '', 255, '', 'CHAR', '', '', '', 'List of Site Views', '', 'NOT NULL', '', 31, '\"<field \\r\\n\\ttype=\\\"folderlist\\\" \\r\\n\\tname=\\\"site_view\\\" \\r\\n\\tlabel=\\\"Site Views\\\" \\r\\n\\tdirectory=\\\"\\/components\\/com_###component###\\/views\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\thide_none=\\\"true\\\"\\r\\n\\thide_default=\\\"true\\\"\\r\\n\\tdescription=\\\"Select the view being targeted\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-07-13 23:22:25', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 566), -(602, 2908, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Help Type', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"type\\\" \\r\\n\\tlabel=\\\"Type\\\" \\r\\n\\tdescription=\\\"Select the help type.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\toption=\\\"|Select an option,1|Joomla Article,2|Text,3|URL\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-07-13 23:24:51', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 244), -(603, 2909, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Location (site,admin)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"location\\\" \\r\\n\\tlabel=\\\"Location\\\" \\r\\n\\tdescription=\\\"Select the help target location.\\\" \\r\\n\\tclass=\\\"btn-group\\\" \\r\\n\\toption=\\\"1|Admin,2|Site\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-07-13 23:34:24', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 3, '', 1, 244), -(604, 2910, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Target Options', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"target\\\" \\r\\n\\tlabel=\\\"Target Groups\\\" \\r\\n\\tdescription=\\\"Select the target option in relation to groups.\\\" \\r\\n\\toption=\\\"1|Some,2|All\\\" \\r\\n\\tclass=\\\"btn-group\\\"\\r\\n\\tdefault=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-07-14 20:16:12', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 2, '', 1, 70), -(696, 2452, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (batchCopy Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_batchCopy\\\" \\r\\n\\tlabel=\\\"Add PHP (batchCopy Method)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-22 20:59:55', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 187), -(693, 2340, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Uikit', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"adduikit\\\" \\r\\n\\tlabel=\\\"Add Uikit\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-17 03:38:30', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 591), -(662, 2957, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (getListQuery - JModelList)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_getlistquery\\\" \\r\\n\\tlabel=\\\"Add PHP (getListQuery - JModelList)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-07-27 16:23:49', '2015-10-04 18:01:08', '', '0000-00-00 00:00:00', 2, '', 1, 187), -(663, 2958, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (getListQuery - JModelList)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_getlistquery\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the getlistquery Method (to add custom filtering)\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-07-27 16:25:16', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 118), -(664, 2959, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (allowEdit Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_allowEdit\\\" \\r\\n\\tlabel=\\\"Add PHP (allowEdit Method)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-07-27 23:10:11', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 187), -(665, 2960, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (allowEdit)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_allowedit\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the allowEdit Method (to add custom access control)\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-07-27 23:15:12', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 118), -(676, 2968, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Linked Views', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"addlinked_views\\\" \\r\\n\\tlabel=\\\"Linked Views\\\" \\r\\n\\tdescription=\\\"Setup the linked views for this view.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"addlinked_views\\\" \\r\\n\\tclass=\\\"addlinked_view\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"39,243,677,678,679\\\"\\r\\n\\/>\"', '', 1, 845, 845, '2015-07-31 15:43:43', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 4, '', 1, 201), -(682, 2974, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Custom Stuff', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add\\\" \\r\\n\\tlabel=\\\"Add Custom Stuff\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-05 01:18:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 196), -(683, 2975, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Females (demo)', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"female\\\" \\r\\n\\tlabel=\\\"Set Females\\\" \\r\\n\\tdescription=\\\"Here you can add females data.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"female\\\" \\r\\n\\tclass=\\\"females\\\" \\r\\n\\tselect=\\\"Edit\\/Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"10\\\" \\r\\n\\tfields=\\\"615,616,613\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-05 02:04:27', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 533), -(684, 2976, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Males (demo)', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"male\\\" \\r\\n\\tlabel=\\\"Set Males\\\" \\r\\n\\tdescription=\\\"Here you can add males data.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"male\\\" \\r\\n\\tclass=\\\"males\\\" \\r\\n\\tselect=\\\"Edit\\/Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"10\\\" \\r\\n\\tfields=\\\"615,616,613\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-05 02:05:34', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 533), -(691, 2332, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Email (not required)', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"email\\\" \\r\\n\\tlabel=\\\"Email\\\" \\r\\n\\tsize=\\\"10\\\" \\r\\n\\tmaxlength=\\\"50\\\" \\r\\n\\tdescription=\\\"Enter Email\\\" \\r\\n\\tclass=\\\"text_area\\\"\\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tvalidate=\\\"email\\\" \\r\\n\\trequired=\\\"false\\\"\\r\\n\\tmessage=\\\"Error! Please add email address here.\\\" \\r\\n\\thint=\\\"demo@example.com\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-16 17:21:15', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 285), -(692, 2334, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Create User Helper Method', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"creatuserhelper\\\" \\r\\n\\tlabel=\\\"Add Create User Helper Method\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-16 22:46:48', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 591), -(694, 2341, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add FooTable', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"addfootable\\\" \\r\\n\\tlabel=\\\"Add FooTable\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-08-17 03:39:11', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 591), -(701, 3013, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (before_getItem - JModelItem)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_before_getitem\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the getItem Method (int) $pk is the item id\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-08-26 00:45:53', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 119), -(702, 3014, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (after_getItem - JModelItem)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_after_getitem\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the getItem Method (Object) $this->_item[$pk] is the item\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-08-26 00:59:36', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 119), -(703, 3015, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (before getItem Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_before_getitem\\\" \\r\\n\\tlabel=\\\"Add PHP (before getting the Item)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-08-26 01:02:15', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 188), -(704, 3016, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (after getItem Method)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_after_getitem\\\" \\r\\n\\tlabel=\\\"Add PHP (after getting the Item)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-08-26 01:02:39', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 188), -(705, 3017, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (after getItems - JModelList)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_after_getitems\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the getItems Method (array) $items is where all values are\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-08-26 01:04:20', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 3, '', 1, 118), -(720, 3042, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Custom Buttons', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"custom_button\\\" \\r\\n\\tlabel=\\\"Custom Buttons\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"custom_button\\\" \\r\\n\\tclass=\\\"custom_buttons\\\" \\r\\n\\tselect=\\\"Add\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"7\\\" \\r\\n\\tfields=\\\"690,199,718,719\\\" \\r\\n\\/>\"', '', 1, 845, 845, '2015-09-01 14:33:22', '2015-09-01 16:56:03', '', '0000-00-00 00:00:00', 3, '', 1, 593), -(721, 3043, '', '', '', '', '', '', '', '', '', 1, '', 'INT', 2, '', '', 'Add Custom Button', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_custom_button\\\" \\r\\n\\tlabel=\\\"Add Custom Button\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-09-01 14:43:05', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 587), -(722, 3044, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (controller method)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_controller\\\" \\r\\n\\tlabel=\\\"PHP (controller methods)\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP methods for the controller that the button will target\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-09-01 16:44:15', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 118), -(723, 3045, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (model method)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_model\\\" \\r\\n\\tlabel=\\\"PHP (model methods)\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP methods for the model that the controller will use\\\" \\r\\n\\trequired=\\\"flase\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-09-01 16:45:36', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 2, '', 1, 118), -(724, 3046, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'CSS (custom_admin)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"css\\\" \\r\\n\\tlabel=\\\"CSS\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your CSS here! [Do not add the style tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ CSS to the view.css\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-09-01 16:52:08', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 299), -(755, 4174, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox folder', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"dropbox\\\" \\r\\n\\tlabel=\\\"Dropbox Folder URL\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main Dropbox folder to target, this will link the files to there respected sessions.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/sh\\/gu2sjrm0wx9lktc\\/AAA8eEzq3BkxG0UwEHqjAc84a?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-09-14 03:39:10', '2015-09-14 13:49:32', '', '0000-00-00 00:00:00', 3, '', 1, 601), -(756, 4175, '', '', '', '', '', '', '', '', '', 1, '', 'INT', '', '', '', 'Dropbox Update Timer', '', 'NOT NULL', '', 10, '\"<field \\r\\n\\ttype=\\\"integer\\\" \\r\\n\\tname=\\\"dropbox_timer\\\" \\r\\n\\tlabel=\\\"Dropbox Timer\\\" \\r\\n\\tdefault=\\\"60\\\" \\r\\n\\tdescription=\\\"Set the timer in minutes for updating the Dropbox local listing of files.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\tfirst=\\\"0\\\" \\r\\n\\tlast=\\\"50000\\\" \\r\\n\\tstep=\\\"10\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-09-14 12:31:36', '2015-10-29 21:09:09', '', '0000-00-00 00:00:00', 4, '', 1, 602), -(757, 4176, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Note', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_dropbox\\\" \\r\\n\\tlabel=\\\"Dropbox Integration\\\" \\r\\n\\tdescription=\\\"<b>To integrate Dropbox with you system you need to do the following:<\\/b> <ul>\\r\\n <li>Setup a folder in your dropbox account that map to your structure on Learning Manager\\r\\n\\t <ul>\\r\\n\\t\\t <li>Main\\/first folders will be the <b>acronym<\\/b> of the programs.<\\/li>\\r\\n\\t\\t <li>Then the next set of folders inside the acronym folders will be the <b>alias<\\/b> names of the courses that belong to that program.<\\/li>\\r\\n\\t\\t <li>Then the next set of folders inside the course folders will be the <b>alias<\\/b> names of the sessions that belong to that course.<\\/li>\\r\\n\\t\\t <li>Inside this session folder you can place the documents that must be downloadable in relation to that session when a student has access to it.<\\/li>\\r\\n\\t\\t <li>The naming convention of each file in these session folders require that there be no spaces in the name. (file_name_like_this.ppt)<\\/li>\\r\\n\\t\\t <li>To make a file unique to an event use the same file naming as the original file, but add the event->session date at the end after two underscores. (file_name_like_this__2015-11-24.ppt)<\\/li>\\r\\n\\t <\\/ul>\\r\\n <\\/li>\\r\\n <li>Get the share link to the folder where the program(acronym) folders are found in your Dropbox account. <\\/li>\\r\\n <li>Add this link to the field below called (Dropbox Folder URL)<\\/li>\\r\\n <li>Set the timer that control the how long we wait before checking for updates to the Dropbox folders.<\\/li>\\r\\n<\\/ul>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"false\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-09-14 13:46:08', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 603), -(787, 6020, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (after getItems JModelList)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_after_getitems\\\" \\r\\n\\tlabel=\\\"Add PHP (after getting the Items)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-08-26 01:02:39', '2015-10-04 16:48:23', '', '0000-00-00 00:00:00', 3, '', 1, 188), -(789, 6022, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (before getItems JModelList)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_before_getitems\\\" \\r\\n\\tlabel=\\\"Add PHP (before getting the Items)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-08-26 01:02:15', '2015-10-04 16:48:31', '', '0000-00-00 00:00:00', 3, '', 1, 188), -(794, 6046, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add License Control', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_license\\\" \\r\\n\\tlabel=\\\"Add License (whmcs)\\\" \\r\\n\\tdescription=\\\"Add the option to use a license in the component.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-15 17:02:21', '2016-01-17 20:51:38', '', '0000-00-00 00:00:00', 3, '', 1, 611), -(795, 6047, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'License Control Type', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"license_type\\\" \\r\\n\\tlabel=\\\"Implementation\\\" \\r\\n\\tdescription=\\\"How should the license be implemented.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"int\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"1|Advanced encryption (only to lock data),2|Updates (used in Joomla updater),3|Lock Down Use (used to verify ownership),4|Custom (used in custom code)\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-15 17:13:42', '2016-02-03 19:57:47', '', '0000-00-00 00:00:00', 7, '', 1, 612), -(799, 6059, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Debug Line numbers', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"debug_linenr\\\" \\r\\n\\tlabel=\\\"Debug (line numbers)\\\" \\r\\n\\tdescription=\\\"Add corresponding line numbers, so to see where in the compiler the line of code was build.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-10-20 17:19:55', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 615), -(802, 6080, '', '', '', '', '', '', '', 1, '', 1, '', 'TINYINT', 2, '', '', 'Button Position', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"button_position\\\" \\r\\n\\tlabel=\\\"Button Position\\\" \\r\\n\\tdescription=\\\"Select the button position of buttons in the view. You can with [[[SITE_TOOLBAR]]] add the toolbar anywhere in the site view, select custom in that case.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"0|None,1|Top Right,2|Top Left,3|Bottom Right,4|Bottom Left,5|Custom\\\" \\r\\n\\tdefault=\\\"2\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-26 14:06:04', '2015-12-06 12:53:33', '', '0000-00-00 00:00:00', 4, '', 1, 617), -(803, 6169, '', '', '', '', '', '', '', 1, '', 1, '', 'TINYINT', 2, '', '', 'Build Option (files)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"build\\\" \\r\\n\\tlabel=\\\"Build Option\\\" \\r\\n\\tdescription=\\\"Set the method used to add files to this sermon.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Manual,2|Automatic\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-10-28 07:22:28', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 618), -(804, 6170, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', '', '', '', 'File Source', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"source\\\" \\r\\n\\tlabel=\\\"File Source\\\" \\r\\n\\tdescription=\\\"Select the source of the file.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\toption=\\\"|Select Source,1|Local Folder,2|Dropbox,3|URL\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-28 07:29:46', '2015-10-29 17:46:55', '', '0000-00-00 00:00:00', 2, '', 1, 619), -(807, 6173, '', '', '', '', '', '', '', 1, '', 1, '', 'TINYINT', 2, '', '', 'Download Link Option', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"link_type\\\" \\r\\n\\tlabel=\\\"Download Link Option\\\" \\r\\n\\tdescription=\\\"Set the method used to build download links.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Encrypted,2|Direct\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-28 07:47:50', '2015-11-10 08:40:06', '', '0000-00-00 00:00:00', 4, '', 1, 622), -(808, 6174, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox auto folder 1', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"auto-dropbox-1\\\" \\r\\n\\tlabel=\\\"Dropbox Auto (Folder 1)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-28 19:37:26', '2015-10-29 12:20:12', '', '0000-00-00 00:00:00', 5, '', 1, 601), -(809, 6175, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox manual folder 1', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"manual-dropbox-1\\\" \\r\\n\\tlabel=\\\"Dropbox Manual (Folder 1)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main manual Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-28 19:38:36', '2015-10-29 12:20:25', '', '0000-00-00 00:00:00', 5, '', 1, 601), -(810, 6176, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Note (sermons)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_dropbox\\\" \\r\\n\\tlabel=\\\"Dropbox Integration Made Easy!\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-28 20:15:31', '2015-10-29 21:02:55', '', '0000-00-00 00:00:00', 7, '', 1, 603), -(829, 6213, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'File Name', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"filename\\\" \\r\\n\\tlabel=\\\"File Name\\\" \\r\\n\\tsize=\\\"80\\\" \\r\\n\\tmaxlength=\\\"550\\\" \\r\\nrequired=\\\"true\\\"\\r\\n\\tdescription=\\\"Enter the file name.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\tfilter=\\\"STRING\\\"\\r\\n\\tmessage=\\\"Error! Please add file name here.\\\" \\r\\n\\thint=\\\"the_file_name.mp3\\\" \\r\\n\\tescape=\\\"false\\\"\\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 22:56:18', '2015-11-11 21:53:04', '', '0000-00-00 00:00:00', 4, '', 1, 621), -(830, 6214, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon (dynamic)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"sermon\\\" \\r\\n\\tname=\\\"sermon\\\" \\r\\n\\tlabel=\\\"Sermon\\\" \\r\\n\\tdescription=\\\"Select a sermon.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"true\\\" \\r\\n\\ttable=\\\"#__###component###_sermon\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"sermon\\\" \\r\\n\\tviews=\\\"sermons\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select a sermon\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-10-29 23:03:50', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 630), -(811, 6177, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon Category', '', 'NOT NULL', '', 2, '\"<field \\r\\n\\ttype=\\\"category\\\" \\r\\n\\tname=\\\"cid\\\" \\r\\n\\tlabel=\\\"Category\\\" \\r\\n\\textension=\\\"com_sermondistributor.sermons\\\" \\r\\n\\tscope=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"select one of the following categories\\\" \\r\\n\\tclass=\\\"inputbox\\\" \\r\\n\\tpublished=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-28 21:41:25', '2015-10-29 08:11:00', '', '0000-00-00 00:00:00', 3, '', 1, 623), -(823, 6199, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Auto Note (in sermons)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_auto_dropbox\\\" \\r\\n\\tlabel=\\\"Dropbox Integration\\\" \\r\\n\\tdescription=\\\"<b>To integrate auto Dropbox with your system you need to do the following:<\\/b> <ul>\\r\\n\\t\\t <li>Create main\\/first auto folder in Dropbox. This will be where you create the folders with the preacher\'s name. Using the preacher\'s alias from the system as the folder name will insure no mismatch, if the preacher already exist on the system.<\\/li>\\r\\n\\t\\t <li>You can add files directly to the preacher folder if it is not linked to a series.<\\/li>\\r\\n\\t\\t <li>If you would like the sermon linked to a series, you simply create a folder inside the preacher\'s folder with the series\' name, and place the sermon file inside that series\' folder. Using the series\' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.<\\/li>\\r\\n\\t\\t <li>Adding other preachers to the same series will only require creating a folder inside that preacher\'s folder with the same series\' name and placing his sermons inside that new folder. Using the series\' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.<\\/li>\\r\\n\\t\\t <li>The file name will be used as the sermon name.<\\/li>\\r\\n\\t\\t <li>To ensure that all downloads work well, we need to hold to the following file naming convention:\\r\\n\\t\\t <ul>\\r\\n <li>No spaces in the file name!!<\\/li>\\r\\n <li>No strange characters in the file name only A-z 0-9 underscore and hyphen.<\\/li>\\r\\n <\\/ul> \\r\\n\\t\\t <\\/li>\\r\\n\\t\\t <li>We use naming conventions to add tags, categories, a short description and combine files under one sermon, these conventions are as follow:\\r\\n\\t\\t <ul>\\r\\n <li>To combine files\\r\\n <ul>\\r\\n <li>Use a KEY name with TWO underscores before the actual name, example (34key521__the_file_name.mp3 & 34key521__another_file_of_the_same_sermon.pdf)<\\/li>\\r\\n <li>The KEY may only have alpha numeric characters (A-z 0-9).<\\/li>\\r\\n <li>You can combine as many files as you like under each sermon with the unique KEY.<\\/li>\\r\\n <li>There are two ways to set the sermon name with combined files:\\r\\n <ul>\\r\\n <li>All Uppercase. example (34key521__THE_FILE_NAME.mp3 & 34key521__another_file_of_the_same_sermon.pdf).<\\/li>\\r\\n <li>Longest file name if no all-uppercase file name is found. If two file names are the same length the first one is used.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>Uppercase option is the most trusted method since this will insure you get what you expected.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>To tag files\\r\\n <ul>\\r\\n <li>Directly after the file name add THREE underscores and then set the tags, example (the_file_name___tag1_tag-with2_tag-three.mp3)<\\/li>\\r\\n <li>You can add as many tags to a file as you like separated by one underscore and hyphen for spaces in a tag.<\\/li>\\r\\n <li>Combined files only need to have the tags added to one of the files. If one of the files has a tag that was not already found it will also be added to the sermon as a whole since the combined files are treated as one sermon.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>To add sermons to categories\\r\\n <ul>\\r\\n <li>Directly after the file name add FOUR underscores and then set the category name, example (the_file_name____Salvation_Messages.mp3)<\\/li>\\r\\n <li>You can add only one category per sermon. Combined files only need to have the category name added to one of the files.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>To add a short description\\r\\n <ul>\\r\\n <li>Directly after the file name add FIVE underscores and then set the description, example (the_file_name_____The_short_description_can_only_be_one_sentence.mp3)<\\/li>\\r\\n <li>You can not use any strange characters, only (A-z 0-9) and underscore for spacing.<\\/li>\\r\\n <li>You can add only one short description per sermon. Combined files only need to have the short description added to one of the files.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <\\/ul> \\r\\n\\t\\t <\\/li>\\r\\n\\t\\t <li>When you use all the naming conventions together they should follow the following order:\\r\\n <ul>\\r\\n <li>KEY before the file name with TWO underscores.<\\/li>\\r\\n <li>TAGS must be first after the file name with THREE underscores.<\\/li>\\r\\n <li>CATEGORY must be first after TAGS with FOUR underscores. IF no tags were set then it must be first after the FILE NAME with FOUR underscores.<\\/li>\\r\\n <li>SHORT DESCRIPTION must be first after CATEGORY with FIVE underscores. IF no category was set then it must be first after the TAGS with FIVE underscores. IF no tags were set then it must be first after the FILE NAME with FIVE underscores.<\\/li>\\r\\n <\\/ul>\\r\\n\\t\\t <\\/li>\\r\\n\\t\\t <li>Adding folders and sermons will automatically load them to your sermon distributor on your website, or update the already existing sermons with the new files.<\\/li>\\r\\n\\t <\\/ul><\\/li>\\r\\n<\\/ul><b>Make sure you have at least one auto folder in Dropbox and have added the shared link in the Sermon Distributor<\\/b> <button class=\'btn btn-small options-link\' ><span class=\'icon-options\'><\\/span>Options<\\/button>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 12:33:26', '2015-11-03 22:19:11', '', '0000-00-00 00:00:00', 10, '', 1, 603), -(812, 6178, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Sermon Tags', '', 'NOT NULL', '', 22, '\"<field \\r\\n\\ttype=\\\"tag\\\" \\r\\n\\tname=\\\"tags\\\" \\r\\n\\tmode=\\\"ajax\\\" \\r\\n\\tlabel=\\\"Tags\\\" \\r\\n\\tdescription=\\\"Assign tags to ###VIEW### items. Tag names must be unique.\\\" \\r\\n\\tid=\\\"\\\" \\r\\n\\tclass=\\\"inputbox small\\\" \\r\\n\\tpublished=\\\"true\\\" \\r\\n\\tlanguage=\\\"\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tcustom=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-10-28 21:43:36', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 624), -(813, 6179, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon Series', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"series\\\" \\r\\n\\tname=\\\"series\\\" \\r\\n\\tlabel=\\\"Series\\\" \\r\\n\\tdescription=\\\"Select the series this sermon belongs to.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"true\\\" \\r\\n\\ttable=\\\"#__###component###_series\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"series\\\" \\r\\n\\tviews=\\\"all_series\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select a series\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 00:37:23', '2015-10-29 19:55:29', '', '0000-00-00 00:00:00', 4, '', 1, 625), -(814, 6180, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon Preacher', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"preachers\\\" \\r\\n\\tname=\\\"preacher\\\" \\r\\n\\tlabel=\\\"Preacher\\\" \\r\\n\\tdescription=\\\"Select the preacher this sermon belongs to.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"true\\\" \\r\\n\\ttable=\\\"#__###component###_preacher\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"preacher\\\" \\r\\n\\tviews=\\\"preachers\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select a preacher\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-10-29 00:40:19', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 626), -(815, 6191, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox auto folder 2', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"auto-dropbox-2\\\" \\r\\n\\tlabel=\\\"Dropbox Auto (Folder 2)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 09:52:13', '2015-10-29 12:20:39', '', '0000-00-00 00:00:00', 2, '', 1, 601), -(816, 6192, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox auto folder 3', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"auto-dropbox-3\\\" \\r\\n\\tlabel=\\\"Dropbox Auto (Folder 3)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 09:52:34', '2015-10-29 12:20:52', '', '0000-00-00 00:00:00', 2, '', 1, 601), -(817, 6193, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox auto folder 4', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"auto-dropbox-4\\\" \\r\\n\\tlabel=\\\"Dropbox Auto (Folder 4)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 09:52:52', '2015-10-29 12:21:05', '', '0000-00-00 00:00:00', 2, '', 1, 601), -(818, 6194, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox manual folder 2', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"manual-dropbox-2\\\" \\r\\n\\tlabel=\\\"Dropbox Manual (Folder 2)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main manual Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 09:54:15', '2015-10-29 12:21:19', '', '0000-00-00 00:00:00', 2, '', 1, 601), -(821, 6197, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Note (links manual)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_manual_dropbox\\\" \\r\\n\\tlabel=\\\"Want to use Dropbox Manual links with your system, then you need to do the following:\\\" \\r\\n\\tdescription=\\\"<ul>\\r\\n\\t\\t <li>Create main\\/first manual folder in Dropbox. This will be where all files are placed. No sub folders, just one huge folder with all the files!<\\/li>\\r\\n\\t\\t <li>You will place the file on Dropbox in that main folder first.<\\/li>\\r\\n\\t\\t <li>Then the next step will be to come to Sermon Distributor and create the preacher and series if they do not already exist.<\\/li>\\r\\n\\t\\t <li>Please allow enough time (as set above +) for the local listing of files to update.<\\/li>\\r\\n\\t\\t <li>Then you should create the sermon the file belongs to and select \'Dropbox\' as the source of your file.<\\/li>\\r\\n\\t\\t <li>Next select \'Manual\' as the build option. This will load a drop-down with the file names in the Manual Folder on Dropbox. Should the new file not be seen give it a little more time to update the local listing of files.<\\/li>\\r\\n\\t\\t <li>If the List is very long, you can in the select box type the name of the file and it will shorten the list. Then select your file and continue with the setup of the sermon as usual.<\\/li>\\r\\n\\t\\t <li>To ensure that all downloads work well, we need to hold to the following file naming convention:\\r\\n\\t\\t <ul>\\r\\n <li>No spaces in the file name!!<\\/li>\\r\\n <li>No strange characters in the file name only A-z 0-9 underscore and hyphen.<\\/li>\\r\\n <\\/ul> \\r\\n\\t\\t <\\/li>\\r\\n\\t <\\/ul><b>The links that are required below should be the direct Dropbox shared links to the main manual folder. They should not be the same folder, and not be inside one another. Always totally separate folders! Leave blank to deactivate.<\\/b>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 11:00:56', '2015-10-29 22:27:31', '', '0000-00-00 00:00:00', 5, '', 1, 627), -(819, 6195, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox manual folder 3', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"manual-dropbox-3\\\" \\r\\n\\tlabel=\\\"Dropbox Manual (Folder 3)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main manual Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 09:54:26', '2015-10-29 12:21:34', '', '0000-00-00 00:00:00', 2, '', 1, 601), -(820, 6196, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Dropbox manual folder 4', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"manual-dropbox-4\\\" \\r\\n\\tlabel=\\\"Dropbox Manual (Folder 4)\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"120\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Enter the url of the main manual Dropbox folder to target, this will link the files.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add Dropbox folder url here.\\\" \\r\\n\\thint=\\\"https:\\/\\/www.dropbox.com\\/shared-link-from-dropbox-to-main-folder?dl=0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 09:54:38', '2015-10-29 12:21:49', '', '0000-00-00 00:00:00', 2, '', 1, 601), -(822, 6198, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Note (links auto)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_auto_dropbox\\\" \\r\\n\\tlabel=\\\"Want to use Dropbox Auto links with your system, then you need to do the following:\\\" \\r\\n\\tdescription=\\\"<ul>\\r\\n\\t\\t <li>Create main\\/first auto folder in Dropbox. This will be where you create the folders with the preacher\'s name. Using the preacher\'s alias from the system as the folder name will insure no mismatch, if the preacher already exist on the system.<\\/li>\\r\\n\\t\\t <li>You can add files directly to the preacher folder if it is not linked to a series.<\\/li>\\r\\n\\t\\t <li>If you would like the sermon linked to a series, you simply create a folder inside the preacher\'s folder with the series\' name, and place the sermon file inside that series\' folder. Using the series\' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.<\\/li>\\r\\n\\t\\t <li>Adding other preachers to the same series will only require creating a folder inside that preacher\'s folder with the same series\' name and placing his sermons inside that new folder. Using the series\' alias from the system as the folder name will insure no mismatch, if the series already exist on the system.<\\/li>\\r\\n\\t\\t <li>The file name will be used as the sermon name.<\\/li>\\r\\n\\t\\t <li>To ensure that all downloads work well, we need to hold to the following file naming convention:\\r\\n\\t\\t <ul>\\r\\n <li>No spaces in the file name!!<\\/li>\\r\\n <li>No strange characters in the file name only A-z 0-9 underscore and hyphen.<\\/li>\\r\\n <\\/ul> \\r\\n\\t\\t <\\/li>\\r\\n\\t\\t <li>We use naming conventions to add tags, categories, a short description and combine files under one sermon, these conventions are as follow:\\r\\n\\t\\t <ul>\\r\\n <li>To combine files\\r\\n <ul>\\r\\n <li>Use a KEY name with TWO underscores before the actual name, example (34key521__the_file_name.mp3 & 34key521__another_file_of_the_same_sermon.pdf)<\\/li>\\r\\n <li>The KEY may only have alpha numeric characters (A-z 0-9).<\\/li>\\r\\n <li>You can combine as many files as you like under each sermon with the unique KEY.<\\/li>\\r\\n <li>There are two ways to set the sermon name with combined files:\\r\\n <ul>\\r\\n <li>All Uppercase. example (34key521__THE_FILE_NAME.mp3 & 34key521__another_file_of_the_same_sermon.pdf).<\\/li>\\r\\n <li>Longest file name if no all-uppercase file name is found. If two file names are the same length the first one is used.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>Uppercase option is the most trusted method since this will insure you get what you expected.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>To tag files\\r\\n <ul>\\r\\n <li>Directly after the file name add THREE underscores and then set the tags, example (the_file_name___tag1_tag-with2_tag-three.mp3)<\\/li>\\r\\n <li>You can add as many tags to a file as you like separated by one underscore and hyphen for spaces in a tag.<\\/li>\\r\\n <li>Combined files only need to have the tags added to one of the files. If one of the files has a tag that was not already found it will also be added to the sermon as a whole since the combined files are treated as one sermon.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>To add sermons to categories\\r\\n <ul>\\r\\n <li>Directly after the file name add FOUR underscores and then set the category name, example (the_file_name____Salvation_Messages.mp3)<\\/li>\\r\\n <li>You can add only one category per sermon. Combined files only need to have the category name added to one of the files.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <li>To add a short description\\r\\n <ul>\\r\\n <li>Directly after the file name add FIVE underscores and then set the description, example (the_file_name_____The_short_description_can_only_be_one_sentence.mp3)<\\/li>\\r\\n <li>You can not use any strange characters, only (A-z 0-9) and underscore for spacing.<\\/li>\\r\\n <li>You can add only one short description per sermon. Combined files only need to have the short description added to one of the files.<\\/li>\\r\\n <\\/ul>\\r\\n <\\/li>\\r\\n <\\/ul> \\r\\n\\t\\t <\\/li>\\r\\n\\t\\t <li>When you use all the naming conventions together they should follow the following order:\\r\\n <ul>\\r\\n <li>KEY before the file name with TWO underscores.<\\/li>\\r\\n <li>TAGS must be first after the file name with THREE underscores.<\\/li>\\r\\n <li>CATEGORY must be first after TAGS with FOUR underscores. IF no tags were set then it must be first after the FILE NAME with FOUR underscores.<\\/li>\\r\\n <li>SHORT DESCRIPTION must be first after CATEGORY with FIVE underscores. IF no category was set then it must be first after the TAGS with FIVE underscores. IF no tags were set then it must be first after the FILE NAME with FIVE underscores.<\\/li>\\r\\n <\\/ul>\\r\\n\\t\\t <\\/li>\\r\\n\\t\\t <li>Adding folders and sermons will automatically load them to your sermon distributor on your website, or update the already existing sermons with the new files.<\\/li>\\r\\n\\t <\\/ul><\\/li>\\r\\n<\\/ul><b>The links that are required below should be the direct Dropbox shared links to the auto folder. They should not be the same folder, and not be inside one another. Always totally separate folders! Leave blank to deactivate.<\\/b>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 11:03:02', '2015-10-29 22:27:49', '', '0000-00-00 00:00:00', 6, '', 1, 627), -(824, 6200, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Manual Note (in sermons)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_manual_dropbox\\\" \\r\\n\\tlabel=\\\"Dropbox Integration\\\" \\r\\n\\tdescription=\\\"<b>To integrate manual Dropbox option with your system you need to do the following:<\\/b> \\r\\n\\t <ul>\\r\\n\\t\\t <li>Create main\\/first manual folder in Dropbox. This will be where all files are placed. No sub folders, just one huge folder with all the files!<\\/li>\\r\\n\\t\\t <li>You will place the file on Dropbox in that main folder first.<\\/li>\\r\\n\\t\\t <li>Then the next step will be to come to Sermon Distributor and create the preacher and series if they do not already exist.<\\/li>\\r\\n\\t\\t <li>Please allow enough time (as set in Sermon Distributor Options) for the local listing of files to update.<\\/li>\\r\\n\\t\\t <li>Then you should create the sermon the file belongs to and select \'Dropbox\' as the source of your file.<\\/li>\\r\\n\\t\\t <li>Next select \'Manual\' as the build option. This will load a drop-down with the file names in the Manual Folder on Dropbox. Should the new file not be seen give it a little more time to update the local listing of files.<\\/li>\\r\\n\\t\\t <li>If the List is very long, you can in the select box type the name of the file and it will shorten the list. Then select your file and continue with the setup of the sermon as usual.<\\/li>\\r\\n\\t\\t <li>To ensure that all downloads work well, we need to hold to the following file naming convention:\\r\\n\\t\\t <ul>\\r\\n <li>No spaces in the file name!!<\\/li>\\r\\n <li>No strange characters in the file name only A-z 0-9 underscore and hyphen.<\\/li>\\r\\n <\\/ul> \\r\\n\\t\\t <\\/li>\\r\\n\\t <\\/ul>\\r\\n<b>Make sure you have at least one manual folder in Dropbox and have added the shared link in the Sermon Distributor<\\/b> <button class=\'btn btn-small options-link\' ><span class=\'icon-options\'><\\/span>Options<\\/button>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 12:35:09', '2015-11-03 22:18:45', '', '0000-00-00 00:00:00', 9, '', 1, 603), -(825, 6202, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Dropbox Manual (file list)', '', 'NOT NULL', 1, 6, '\"<field \\r\\n\\ttype=\\\"dropboxfiles\\\" \\r\\n\\tname=\\\"manual_files\\\" \\r\\n\\tlabel=\\\"Files\\\" \\r\\n\\tdescription=\\\"Select the files you would like to add to this sermon.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"false\\\" \\r\\n\\ttype_php_1=\\\"\\/\\/ set the default\\r\\n\\t\\t$options[] = JHtml::_(\'select.option\', \'\', JText::_(\'The local listing of the Manual Dropbox folder is empty.\'));\\r\\n\\t\\t$links = ###Component###Helper::getDropboxLink(\'manual\',2);\\r\\n\\t\\tif (###Component###Helper::checkArray($links))\\r\\n\\t\\t{\\r\\n\\t\\t\\t$options = array();\\r\\n\\t\\t\\tforeach ($links as $file => $link)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\t$name = substr($file, strrpos($file, \'\\/\') + 1);\\r\\n\\t\\t\\t\\t$options[] = JHtml::_(\'select.option\', $file, $name);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn $options;\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 17:30:12', '2015-11-21 01:04:02', '', '0000-00-00 00:00:00', 11, '', 1, 628), -(826, 6203, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Local (file list)', '', 'NOT NULL', 1, 6, '\"<field \\r\\n\\ttype=\\\"localfiles\\\" \\r\\n\\tname=\\\"local_files\\\" \\r\\n\\tlabel=\\\"Files\\\" \\r\\n\\tdescription=\\\"Select the files you would like to add to this sermon.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"false\\\" \\r\\n\\ttype_php_1=\\\"\\/\\/ get local folder\\r\\n\\t\\t$localfolder = JComponentHelper::getParams(\'com_###component###\')->get(\'localfolder\', JPATH_ROOT.\'\\/images\');\\r\\n\\t\\t\\/\\/ set the default\\r\\n\\t\\t$options[] = JHtml::_(\'select.option\', \'\', JText::sprintf(\'Please add files to (%s)\',$localfolder));\\r\\n\\t\\t\\/\\/ inport all needed classes\\r\\n\\t\\tjimport(\'joomla.filesystem.file\');\\r\\n\\t\\tjimport(\'joomla.filesystem.folder\');\\r\\n\\t\\t\\/\\/ setup the folder if it does not exist\\r\\n\\t\\tif (!JFolder::exists($localfolder))\\r\\n\\t\\t{\\r\\n\\t\\t\\tJFolder::create($localfolder);\\r\\n\\t\\t}\\r\\n\\t\\t\\/\\/ now check if there are files in the folder\\r\\n\\t\\tif ($files = JFolder::files($localfolder))\\r\\n\\t\\t{\\r\\n\\t\\t\\t$options = array();\\r\\n\\t\\t\\tforeach ($files as $file)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\t$options[] = JHtml::_(\'select.option\', $file, $file);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn $options;\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-29 17:32:08', '2015-10-31 16:46:53', '', '0000-00-00 00:00:00', 5, '', 1, 628), -(827, 6204, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Sermon URL', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"url\\\" \\r\\n\\tlabel=\\\"File URL\\\" \\r\\n\\tsize=\\\"10\\\" \\r\\n\\tmaxlength=\\\"50\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"The url to download the sermon.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add sermon url here.\\\" \\r\\n\\thint=\\\"http:\\/\\/www.domain.com\\/direct-link-to-download.mp3\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-10-29 17:35:41', '2015-10-29 17:31:20', '', '0000-00-00 00:00:00', 1, '', 1, 628), -(831, 6215, '', '', '', '', '', '', '', '', '', 64, '', 'INT', '', '', '', 'Counter', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"counter\\\" \\r\\n\\tlabel=\\\"Counter\\\" \\r\\n\\tsize=\\\"5\\\" \\r\\n\\tmaxlength=\\\"15\\\" \\r\\nrequired=\\\"true\\\"\\r\\n\\tdescription=\\\"Enter number.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\tmessage=\\\"Error! Please add a number.\\\" \\r\\n\\thint=\\\"Number Here.\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-10-29 23:07:47', '2015-10-29 23:15:13', '', '0000-00-00 00:00:00', 2, '', 1, 104), -(832, 6221, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Global Admin Event', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_admin_event\\\" \\r\\n\\tlabel=\\\"Add Global Admin Event\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-30 12:47:57', '2015-10-30 13:01:42', '', '0000-00-00 00:00:00', 3, '', 1, 631), -(833, 6222, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Global Site Event', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_site_event\\\" \\r\\n\\tlabel=\\\"Add Global Site Event\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-30 12:48:36', '2015-10-30 13:01:58', '', '0000-00-00 00:00:00', 2, '', 1, 631), -(834, 6223, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP Global Helper Admin Event', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_admin_event\\\" \\r\\n\\tlabel=\\\"Global Helper Admin Event\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"PHP script for the global helper admin event method.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom PHP script to the global helper admin event method.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-10-30 12:52:26', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 373), -(835, 6224, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP Global Helper Site Event', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_site_event\\\" \\r\\n\\tlabel=\\\"Global Helper Site Event\\\" \\r\\n\\trows=\\\"17\\\" \\r\\n\\tcols=\\\"5\\\" \\r\\n\\tdescription=\\\"PHP script for the global helper site event method.\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ add custom PHP script to the global helper site event method.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-10-30 12:53:10', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 373), -(836, 6226, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add to Dropbox Button', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_to_dropbox\\\" \\r\\n\\tlabel=\\\"Dropbox Button\\\" \\r\\n\\tdescription=\\\"Allow add to Dropbox button to show, this will expose the Dropbox links.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-10-31 12:59:03', '2015-11-10 14:28:04', '', '0000-00-00 00:00:00', 2, '', 1, 632), -(837, 6255, '', '', 1, '', '', '', '', '', '', '', '', 'TEXT', '', 'PD9waHANCgkvLyBzZXR1cCB0aGUgcmV0dXJuIHVybA0KCSR1cmkgPSAoc3RyaW5nKSBKVXJpOjpnZXRJbnN0YW5jZSgpOw0KCSRyZXR1cm4gPSB1cmxlbmNvZGUoYmFzZTY0X2VuY29kZSgkdXJpKSk7DQoJJG9wdGlvbnNVUkwgPSAnaW5kZXgucGhwP29wdGlvbj1jb21fY29uZmlnJnZpZXc9Y29tcG9uZW50JmNvbXBvbmVudD1jb21fW1tbY29tcG9uZW50XV1dJnJldHVybj0nLiRyZXR1cm47DQo/Pg0KDQpqUXVlcnkoJy5vcHRpb25zLWxpbmsnKS5vbignY2xpY2snLGZ1bmN0aW9uIChlKQ0Kew0KCWUucHJldmVudERlZmF1bHQoKTsNCglsb2NhdGlvbi5ocmVmPSI8P3BocCBlY2hvICRvcHRpb25zVVJMOyA/PiI7DQp9KTsNCg0KLy8gbG9hZCB0aGUgYXV0byBzZXJtb25zIGlmIHNldCBvciBub3RpY2UgaWYgbm9uZSBpcyBmb3VuZA0KdmFyIGF1dG9fc2VybW9ucyA9IGpRdWVyeSgnI2pmb3JtX2F1dG9fc2VybW9ucycpLnZhbCgpOw0KdmFyIGh0bWxEcm9wTm90ZSA9ICc8aDE+PD9waHAgZWNobyBKVGV4dDo6XygnTm8gRmlsZXMgTGlua2VkIFlldCcpOyA/PjwvaDE+JzsNCmh0bWxEcm9wTm90ZSArPSAnPGRpdiBjbGFzcz0iYWxlcnQgYWxlcnQtd2FybmluZyI+PD9waHAgZWNobyBKVGV4dDo6XygnQWx3YXlzIGJldHRlciB0byBhZGQgdGhlIGZpbGVzIHRvIERyb3Bib3ggYW5kIGxldCB0aGUgc3lzdGVtIGNyZWF0ZSB0aGUgc2VybW9uIGZvciB5b3UuIFBsZWFzZSByZWFkIGluc3RydWN0aW9ucyBiZWxvdyBjYXJlZnVsbHkuJyk7ID8+PC9kaXY+JzsNCmlmIChhdXRvX3Nlcm1vbnMgIT0gMSAmJiBhdXRvX3Nlcm1vbnMubGVuZ3RoID4gMCkNCnsNCglodG1sRHJvcE5vdGUgPSAnPGgxPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ1RoZSBGaWxlcyBMaW5rZWQgZnJvbSBEcm9wYm94Jyk7ID8+PC9oMT4nOw0KCWF1dG9fc2VybW9ucyA9IGpRdWVyeS5wYXJzZUpTT04oYXV0b19zZXJtb25zKTsNCglodG1sRHJvcE5vdGUgKz0gJzxkaXYgY2xhc3M9ImFsZXJ0IGFsZXJ0LXN1Y2Nlc3MiPjx1bD4nOw0KCWpRdWVyeS5lYWNoKGF1dG9fc2VybW9ucywgZnVuY3Rpb24oZmlsZW5hbWUsZmlsZUtleSkgew0KCQlodG1sRHJvcE5vdGUgKz0gJzxsaT48Yj48P3BocCBlY2hvIEpUZXh0OjpfKCdEb3dubG9hZCBOYW1lJyk7ID8+OjwvYj4gJzsNCgkJaHRtbERyb3BOb3RlICs9IGZpbGVuYW1lOw0KCQlodG1sRHJvcE5vdGUgKz0gJzxiciAvPjxiPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0Ryb3Bib3ggUmVsYXRpb24nKTsgPz46PC9iPiAnOw0KCQlodG1sRHJvcE5vdGUgKz0gZmlsZUtleS5yZXBsYWNlKCJWRE1fcExlS19oMHVFci8iLCAiIik7DQoJCWh0bWxEcm9wTm90ZSArPSAnPC9saT4nOw0KCX0pOw0KCWh0bWxEcm9wTm90ZSArPSAnPC91bD48L2Rpdj4nOw0KfQ0KalF1ZXJ5KCcubm90ZV9hdXRvX2Ryb3Bib3gnKS5jbG9zZXN0KCcuY29udHJvbC1ncm91cCcpLnByZXBlbmQoaHRtbERyb3BOb3RlKTs=', '', 'Dropbox Auto Sermon Values', '', 'NOT NULL', '', 9, '\"<field \\r\\n\\ttype=\\\"hidden\\\" \\r\\n\\tname=\\\"auto_sermons\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-01 23:02:46', '2015-11-03 22:30:24', '', '0000-00-00 00:00:00', 7, '', 1, 633), -(838, 6257, '', '', '', '', '', '', '', '', '', 1, '', 'INT', 2, '', '', 'Auto Sermons State', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"sermon_state\\\" \\r\\n\\tlabel=\\\"Auto Sermons State\\\" \\r\\n\\tdescription=\\\"Set the state in which sermons so be loaded at initial build.\\\" \\r\\n\\tclass=\\\"chzn-color-state\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"intval\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"1|Published,0|Unpublished,2|Archived,-2|Trashed\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-04 23:41:39', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 634), -(839, 6258, '', '', '', '', '', '', '', '', '', 1, '', 'INT', 2, '', '', 'Auto Series State', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"series_state\\\" \\r\\n\\tlabel=\\\"Auto Series State\\\" \\r\\n\\tdescription=\\\"Set the state in which series so be loaded at initial build.\\\" \\r\\n\\tclass=\\\"chzn-color-state\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"intval\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"1|Published,0|Unpublished,2|Archived,-2|Trashed\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-04 23:42:10', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 634), -(840, 6259, '', '', '', '', '', '', '', '', '', 1, '', 'INT', 2, '', '', 'Auto Preacher State', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"preacher_state\\\" \\r\\n\\tlabel=\\\"Auto Preacher State\\\" \\r\\n\\tdescription=\\\"Set the state in which preacher so be loaded at initial build.\\\" \\r\\n\\tclass=\\\"chzn-color-state\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"intval\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"1|Published,0|Unpublished,2|Archived,-2|Trashed\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-04 23:42:56', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 634), -(841, 6260, '', '', '', '', '', '', '', 1, '', 1, '', 'TINYINT', 2, '', '', 'Auto Download Link Option', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"auto_link_type\\\" \\r\\n\\tlabel=\\\"Auto Download Link Option\\\" \\r\\n\\tdescription=\\\"Set the method used to build download links. Used for the initial build of the sermons.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Encrypted,2|Direct\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-04 23:50:04', '2015-10-29 20:38:05', '', '0000-00-00 00:00:00', 1, '', 1, 622), -(842, 6390, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - Table/Grid', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"list_series_display\\\" \\r\\n\\tlabel=\\\"Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of series.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Table,2|Grid,3|List\\\" \\r\\n\\tdefault=\\\"2\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-07 12:33:22', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(843, 6391, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"list_series_hits\\\" \\r\\n\\tlabel=\\\"Show Hits\\\" \\r\\n\\tdescription=\\\"Set if hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-07 12:33:57', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(844, 6392, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"list_series_desc\\\" \\r\\n\\tlabel=\\\"Show Description\\\" \\r\\n\\tdescription=\\\"Set if description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-07 12:32:24', '', '0000-00-00 00:00:00', 4, '', 1, 635), -(845, 6393, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - Sermon Count', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"list_series_sermon_count\\\" \\r\\n\\tlabel=\\\"Show Sermon Count\\\" \\r\\n\\tdescription=\\\"Set if sermon count should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-07 12:33:40', '', '0000-00-00 00:00:00', 2, '', 1, 635), -(846, 6394, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"list_series_icon\\\" \\r\\n\\tlabel=\\\"Show Icon (grid)\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown in grid display option.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-07 18:02:20', '', '0000-00-00 00:00:00', 2, '', 1, 635), -(847, 6399, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"list_series_list_style\\\" \\r\\n\\tlabel=\\\"List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-07 18:04:57', '', '0000-00-00 00:00:00', 2, '', 1, 635), -(848, 6400, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - Table Color', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"list_series_table_color\\\" \\r\\n\\tlabel=\\\"Table Color\\\" \\r\\n\\tdescription=\\\"Select the color to use for the table display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Blue,1|Red,2|Purple,3|Green,4|Dark Blue,5|Legacy,6|Uikit,7|Custom,8|None\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:01:19', '2015-11-19 02:10:29', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(849, 6401, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch list series - Title', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"list_series_title\\\" \\r\\n\\tlabel=\\\"Show Title\\\" \\r\\n\\tdescription=\\\"Set if title should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-07 18:23:52', '2015-11-07 18:02:20', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(850, 6402, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Icon (sermon distributor)', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"icon\\\" \\r\\n\\tlabel=\\\"Icon\\\" \\r\\n\\tdescription=\\\"Must be 358px x 358px\\\" \\r\\n\\tdirectory=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-11-07 21:16:44', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 46), -(851, 6403, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Table/Grid', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preachers_display\\\" \\r\\n\\tlabel=\\\"Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of preachers.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Table,2|Grid,3|List\\\" \\r\\n\\tdefault=\\\"2\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-07 21:28:07', '', '0000-00-00 00:00:00', 4, '', 1, 635), -(852, 6404, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preachers_hits\\\" \\r\\n\\tlabel=\\\"Show Hits\\\" \\r\\n\\tdescription=\\\"Set if hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-07 21:28:42', '', '0000-00-00 00:00:00', 4, '', 1, 635), -(853, 6405, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preachers_desc\\\" \\r\\n\\tlabel=\\\"Show Description\\\" \\r\\n\\tdescription=\\\"Set if description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-07 21:29:10', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(854, 6406, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Sermon Count', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preachers_sermon_count\\\" \\r\\n\\tlabel=\\\"Show Sermon Count\\\" \\r\\n\\tdescription=\\\"Set if sermon count should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-07 21:31:18', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(855, 6407, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preachers_icon\\\" \\r\\n\\tlabel=\\\"Show Icon (grid)\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown in grid display option.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-07 21:32:44', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(856, 6408, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"preachers_list_style\\\" \\r\\n\\tlabel=\\\"List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-07 21:31:45', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(857, 6409, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Table Color', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"preachers_table_color\\\" \\r\\n\\tlabel=\\\"Table Color\\\" \\r\\n\\tdescription=\\\"Select the color to use for the table display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Blue,1|Red,2|Purple,3|Green,4|Dark Blue,5|Legacy,6|Uikit,7|Custom,8|None\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:01:19', '2015-11-19 02:10:38', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(859, 6417, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Email', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preachers_email\\\" \\r\\n\\tlabel=\\\"Show Email\\\" \\r\\n\\tdescription=\\\"Set if the email should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-07 23:06:11', '2015-11-07 23:05:34', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(858, 6410, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preachers - Website', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preachers_website\\\" \\r\\n\\tlabel=\\\"Show Website\\\" \\r\\n\\tdescription=\\\"Set if the website link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:23:52', '2015-11-07 23:05:34', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(860, 6418, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Preacher Default Icon (sermon distributor)', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"preacher_default_icon\\\" \\r\\n\\tlabel=\\\"Preacher Default Icon \\\" \\r\\n\\tdescription=\\\"Must be 358px x 358px\\\" \\r\\n\\tdirectory=\\\"Set the default icon for preachers.\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-11-07 23:10:54', '2015-11-07 23:12:13', '', '0000-00-00 00:00:00', 2, '', 1, 46), -(861, 6419, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Series Default Icon (sermon distributor)', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"series_default_icon\\\" \\r\\n\\tlabel=\\\"Series Default Icon \\\" \\r\\n\\tdescription=\\\"Must be 358px x 358px\\\" \\r\\n\\tdirectory=\\\"Set the default icon for series.\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-11-07 23:11:59', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 46), -(862, 6438, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Panel/Box/Small', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_display\\\" \\r\\n\\tlabel=\\\"Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of a preacher.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Panel,2|Box,3|Small\\\" \\r\\n\\tdefault=\\\"3\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-09 12:01:13', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(863, 6439, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_hits\\\" \\r\\n\\tlabel=\\\"Show Hits\\\" \\r\\n\\tdescription=\\\"Set if hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-09 12:01:49', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(864, 6440, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_desc\\\" \\r\\n\\tlabel=\\\"Show Description\\\" \\r\\n\\tdescription=\\\"Set if description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-09 12:02:47', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(865, 6441, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Sermon Count', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermon_count\\\" \\r\\n\\tlabel=\\\"Show Sermon Count\\\" \\r\\n\\tdescription=\\\"Set if sermon count should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-09 12:03:16', '', '0000-00-00 00:00:00', 4, '', 1, 635), -(871, 6447, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Table/Grid', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_display\\\" \\r\\n\\tlabel=\\\"Sermons Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of sermons in the preacher layout.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Table,2|Grid,3|List\\\" \\r\\n\\tdefault=\\\"2\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-09 14:11:33', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(866, 6442, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_icon\\\" \\r\\n\\tlabel=\\\"Show Icon\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-10 05:13:04', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(867, 6443, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"preacher_list_style\\\" \\r\\n\\tlabel=\\\"List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-09 14:45:40', '', '0000-00-00 00:00:00', 4, '', 1, 635), -(869, 6445, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Website', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_website\\\" \\r\\n\\tlabel=\\\"Show Website\\\" \\r\\n\\tdescription=\\\"Set if the website link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:23:52', '2015-11-09 12:10:29', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(870, 6446, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Email', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_email\\\" \\r\\n\\tlabel=\\\"Show Email\\\" \\r\\n\\tdescription=\\\"Set if the email should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 23:06:11', '2015-11-09 12:04:26', '', '0000-00-00 00:00:00', 2, '', 1, 635), -(872, 6448, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_hits\\\" \\r\\n\\tlabel=\\\"Show Sermon Hits\\\" \\r\\n\\tdescription=\\\"Set if sermon hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-09 14:11:46', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(873, 6449, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_desc\\\" \\r\\n\\tlabel=\\\"Show Sermons Description\\\" \\r\\n\\tdescription=\\\"Set if sermons description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-09 14:11:56', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(874, 6450, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Sermon Counter', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_download_counter\\\" \\r\\n\\tlabel=\\\"Show Sermons Download Counter\\\" \\r\\n\\tdescription=\\\"Set if sermons download counter should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-09 14:12:07', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(875, 6451, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_icon\\\" \\r\\n\\tlabel=\\\"Show Sermon Icon (grid)\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown in grid display option for sermons.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-09 14:12:24', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(876, 6452, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"preacher_sermons_list_style\\\" \\r\\n\\tlabel=\\\"Sermons List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the sermons list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-09 14:12:35', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(877, 6453, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Table Color', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"preacher_sermons_table_color\\\" \\r\\n\\tlabel=\\\"Sermons Table Color\\\" \\r\\n\\tdescription=\\\"Select the color to use for the sermons table display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Blue,1|Red,2|Purple,3|Green,4|Dark Blue,5|Legacy,6|Uikit,7|Custom,8|None\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:01:19', '2015-11-19 02:10:45', '', '0000-00-00 00:00:00', 10, '', 1, 635), -(878, 6454, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Series', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_series\\\" \\r\\n\\tlabel=\\\"Show Sermon Series\\\" \\r\\n\\tdescription=\\\"Set if the series link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:23:52', '2015-11-09 14:12:54', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(879, 6455, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Category', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_category\\\" \\r\\n\\tlabel=\\\"Show Sermons Category\\\" \\r\\n\\tdescription=\\\"Set if the category link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 23:06:11', '2015-11-09 14:13:08', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(880, 6456, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Sermon Default Icon (sermon distributor)', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"sermon_default_icon\\\" \\r\\n\\tlabel=\\\"Sermon Default Icon \\\" \\r\\n\\tdescription=\\\"Must be 358px x 358px\\\" \\r\\n\\tdirectory=\\\"Set the default icon for sermon.\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-11-09 15:41:02', '2015-11-09 15:41:08', '', '0000-00-00 00:00:00', 2, '', 1, 46), -(881, 6469, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch series - Panel/Box/Small', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_display\\\" \\r\\n\\tlabel=\\\"Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of a series.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Panel,2|Box,3|Small\\\" \\r\\n\\tdefault=\\\"3\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-10 05:10:15', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(882, 6470, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch series - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_hits\\\" \\r\\n\\tlabel=\\\"Show Hits\\\" \\r\\n\\tdescription=\\\"Set if hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-10 05:10:44', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(883, 6471, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch series - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_desc\\\" \\r\\n\\tlabel=\\\"Show Description\\\" \\r\\n\\tdescription=\\\"Set if description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-10 05:11:21', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(884, 6472, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch series - Sermon Count', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermon_count\\\" \\r\\n\\tlabel=\\\"Show Sermon Count\\\" \\r\\n\\tdescription=\\\"Set if sermon count should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-10 05:11:56', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(885, 6473, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch series - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_icon\\\" \\r\\n\\tlabel=\\\"Show Icon\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-10 05:12:41', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(886, 6474, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch series - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"series_list_style\\\" \\r\\n\\tlabel=\\\"List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-10 05:13:33', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(887, 6475, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Table/Grid', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_display\\\" \\r\\n\\tlabel=\\\"Sermons Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of sermons in the series layout.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Table,2|Grid,3|List\\\" \\r\\n\\tdefault=\\\"2\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-10 05:14:48', '', '0000-00-00 00:00:00', 8, '', 1, 635), -(888, 6476, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_hits\\\" \\r\\n\\tlabel=\\\"Show Sermon Hits\\\" \\r\\n\\tdescription=\\\"Set if sermon hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-10 05:15:21', '', '0000-00-00 00:00:00', 8, '', 1, 635), -(889, 6477, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_desc\\\" \\r\\n\\tlabel=\\\"Show Sermons Description\\\" \\r\\n\\tdescription=\\\"Set if sermons description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-10 05:15:48', '', '0000-00-00 00:00:00', 8, '', 1, 635), -(890, 6478, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Sermon Counter', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_download_counter\\\" \\r\\n\\tlabel=\\\"Show Sermons Download Counter\\\" \\r\\n\\tdescription=\\\"Set if sermons download counter should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-10 05:16:19', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(891, 6479, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_icon\\\" \\r\\n\\tlabel=\\\"Show Sermon Icon (grid)\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown in grid display option for sermons.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-10 05:16:45', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(892, 6480, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"series_sermons_list_style\\\" \\r\\n\\tlabel=\\\"Sermons List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the sermons list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-10 05:17:14', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(893, 6481, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Table Color', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"series_sermons_table_color\\\" \\r\\n\\tlabel=\\\"Sermons Table Color\\\" \\r\\n\\tdescription=\\\"Select the color to use for the sermons table display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Blue,1|Red,2|Purple,3|Green,4|Dark Blue,5|Legacy,6|Uikit,7|Custom,8|None\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:01:19', '2015-11-19 02:10:54', '', '0000-00-00 00:00:00', 11, '', 1, 635), -(896, 6486, '', '', '', '', '', '', '', 1, '', 1, '', 'TINYINT', 2, '', '', 'Note - Download Link (Encrypted)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_link_encrypted\\\" \\r\\n\\tlabel=\\\"The Encrypted Link Option\\\" \\r\\n\\tdescription=\\\"This link option allows for counting of all downloads of this file, and secures the download location of this file. The download link also prevents other from reusing the link outside of your website if they are not in the same session.\\\"\\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-10 09:23:41', '2015-11-10 08:40:06', '', '0000-00-00 00:00:00', 1, '', 1, 622), -(894, 6482, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Preacher', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_preacher\\\" \\r\\n\\tlabel=\\\"Show Sermon Preacher\\\" \\r\\n\\tdescription=\\\"Set if the preacher link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:23:52', '2015-11-10 05:18:32', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(895, 6483, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Category', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_category\\\" \\r\\n\\tlabel=\\\"Show Sermons Category\\\" \\r\\n\\tdescription=\\\"Set if the category link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 23:06:11', '2015-11-10 05:18:56', '', '0000-00-00 00:00:00', 4, '', 1, 635), -(897, 6487, '', '', '', '', '', '', '', 1, '', 1, '', 'TINYINT', 2, '', '', 'Note - Download Link (Directed)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_link_directed\\\" \\r\\n\\tlabel=\\\"The Direct Link Option\\\" \\r\\n\\tdescription=\\\"This link option does not allow counting of the downloads of this file, and does not secures the download location of this file. Other can reuse it by adding it to their own websites, this action is called hotlinking, leeching, piggy-backing.\\\"\\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\tclose=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-10 09:31:33', '2015-11-10 08:40:06', '', '0000-00-00 00:00:00', 1, '', 1, 622), -(899, 6492, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Downloads', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_downloads\\\" \\r\\n\\tlabel=\\\"Show Sermon Downloads\\\" \\r\\n\\tdescription=\\\"Set if sermon downloads should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-10 21:55:19', '2015-11-10 05:15:21', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(900, 6493, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Downloads', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_downloads\\\" \\r\\n\\tlabel=\\\"Show Sermon Downloads\\\" \\r\\n\\tdescription=\\\"Set if sermon downloads should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-10 21:55:47', '2015-11-10 05:15:21', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(901, 6494, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Preacher) - Open', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_sermons_open\\\" \\r\\n\\tlabel=\\\"Show Sermon Open\\\" \\r\\n\\tdescription=\\\"Set if sermon open button should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-10 21:58:05', '2015-11-10 05:15:21', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(902, 6495, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Series) - Open', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_sermons_open\\\" \\r\\n\\tlabel=\\\"Show Sermon Open\\\" \\r\\n\\tdescription=\\\"Set if sermon open button should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-10 21:58:23', '2015-11-10 05:15:21', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(903, 6496, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Panel/Box/Small', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_display\\\" \\r\\n\\tlabel=\\\"Sermon Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of a sermon.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Panel,2|Box,3|Big\\\" \\r\\n\\tdefault=\\\"2\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-10 23:02:03', '', '0000-00-00 00:00:00', 9, '', 1, 635), -(904, 6497, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_hits\\\" \\r\\n\\tlabel=\\\"Show Sermon Hits\\\" \\r\\n\\tdescription=\\\"Set if sermon hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-10 23:02:54', '', '0000-00-00 00:00:00', 9, '', 1, 635), -(905, 6498, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_desc\\\" \\r\\n\\tlabel=\\\"Show Sermon Description\\\" \\r\\n\\tdescription=\\\"Set if sermon description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-10 23:04:19', '', '0000-00-00 00:00:00', 9, '', 1, 635), -(906, 6499, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Sermon Counter', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_download_counter\\\" \\r\\n\\tlabel=\\\"Show Sermon Download Counter\\\" \\r\\n\\tdescription=\\\"Set if sermon download counter should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-10 23:04:51', '', '0000-00-00 00:00:00', 8, '', 1, 635), -(907, 6500, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_icon\\\" \\r\\n\\tlabel=\\\"Show Sermon Icon\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-10 23:05:50', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(908, 6501, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"sermon_list_style\\\" \\r\\n\\tlabel=\\\"Sermon List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the sermon list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-10 23:06:22', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(909, 6502, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Preacher', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_preacher\\\" \\r\\n\\tlabel=\\\"Show Sermon Preacher\\\" \\r\\n\\tdescription=\\\"Set if the preacher link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:23:52', '2015-11-10 23:06:54', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(910, 6503, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Category', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_category\\\" \\r\\n\\tlabel=\\\"Show Sermon Category\\\" \\r\\n\\tdescription=\\\"Set if the category link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 23:06:11', '2015-11-10 23:08:12', '', '0000-00-00 00:00:00', 5, '', 1, 635), -(911, 6504, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Downloads', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_downloads\\\" \\r\\n\\tlabel=\\\"Show Sermon Downloads\\\" \\r\\n\\tdescription=\\\"Set if sermon downloads should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-10 21:55:19', '2015-11-10 23:08:50', '', '0000-00-00 00:00:00', 2, '', 1, 635), -(912, 6505, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Series', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_series\\\" \\r\\n\\tlabel=\\\"Show Sermon Series\\\" \\r\\n\\tdescription=\\\"Set if the series link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-10 23:09:13', '2015-11-09 14:12:54', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(913, 6565, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Description - editor (full width)', '', 'NOT NULL', '', 8, '\"<field \\r\\n\\ttype=\\\"editor\\\" \\r\\n\\tname=\\\"description\\\" \\r\\n\\tlabel=\\\"Description\\\" \\r\\n\\twidth=\\\"100%\\\" \\r\\n\\theight=\\\"500\\\" \\r\\n\\tcols=\\\"13\\\" \\r\\n\\trows=\\\"50\\\" \\r\\n\\tbuttons=\\\"false\\\" \\r\\n\\thide=\\\"\\\" \\r\\n\\teditor=\\\"\\\" \\r\\n\\tfilter=\\\"safehtml\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-11-11 21:16:20', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 265), -(914, 6566, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermon - Box Contrast Text', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"sermon_box_contrast\\\" \\r\\n\\tlabel=\\\"Show Contrast Text\\\" \\r\\n\\tdescription=\\\"Set if text should be contrast in box display option.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-11 21:26:37', '2015-11-10 23:04:19', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(915, 6567, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch preacher - Box Contrast Text', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"preacher_box_contrast\\\" \\r\\n\\tlabel=\\\"Show Contrast Text\\\" \\r\\n\\tdescription=\\\"Set if text should be contrast in box display option.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-11 21:27:01', '2015-11-10 23:04:19', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(916, 6568, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch series - Box Contrast Text', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"series_box_contrast\\\" \\r\\n\\tlabel=\\\"Show Contrast Text\\\" \\r\\n\\tdescription=\\\"Set if text should be contrast in box display option.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-11 21:27:19', '2015-11-10 23:04:19', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(917, 6640, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon Menu Item', '', 'NOT NULL', '', 33, '\"<field \\r\\n\\ttype=\\\"menuitem\\\" \\r\\n\\tname=\\\"sermon_menu\\\" \\r\\n\\tlabel=\\\"Sermon Menu Item\\\" \\r\\n\\tdescription=\\\"Select the menu item you would like your sermon view to be linked to.\\\" \\r\\n\\tfilter=\\\"int\\\"\\r\\n\\tpublished=\\\"1\\\"\\r\\n\\/>\"', '', 1, 450, 450, '2015-11-14 14:06:00', '2015-11-14 15:15:03', '', '0000-00-00 00:00:00', 3, '', 1, 637), -(918, 6641, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Preacher Menu Item', '', 'NOT NULL', '', 33, '\"<field \\r\\n\\ttype=\\\"menuitem\\\" \\r\\n\\tname=\\\"preacher_menu\\\" \\r\\n\\tlabel=\\\"Preacher Menu Item\\\" \\r\\n\\tdescription=\\\"Select the menu item you would like your preacher view to be linked to.\\\" \\r\\n\\tfilter=\\\"int\\\" \\r\\n\\tpublished=\\\"1\\\"\\r\\n\\/>\"', '', 1, 450, 450, '2015-11-14 14:06:33', '2015-11-14 15:15:11', '', '0000-00-00 00:00:00', 3, '', 1, 637), -(919, 6642, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Series Menu Item', '', 'NOT NULL', '', 33, '\"<field \\r\\n\\ttype=\\\"menuitem\\\" \\r\\n\\tname=\\\"series_menu\\\" \\r\\n\\tlabel=\\\"Series Menu Item\\\" \\r\\n\\tdescription=\\\"Select the menu item you would like your series view to be linked to.\\\" \\r\\n\\tfilter=\\\"int\\\" \\r\\n\\tpublished=\\\"1\\\"\\r\\n\\/>\"', '', 1, 450, 450, '2015-11-14 14:07:04', '2015-11-14 15:15:18', '', '0000-00-00 00:00:00', 3, '', 1, 637), -(920, 6643, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon Preacher (request_id)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"preachers\\\" \\r\\n\\tname=\\\"preacher_request_id\\\" \\r\\n\\tlabel=\\\"Preacher\\\" \\r\\n\\tdescription=\\\"Select a preacher.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"false\\\" \\r\\n\\ttable=\\\"#__###component###_preacher\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"preacher\\\" \\r\\n\\tviews=\\\"preachers\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select a preacher\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-14 15:40:38', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 626), -(921, 6644, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon Series (request_id)', '', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"series\\\" \\r\\n\\tname=\\\"series_request_id\\\" \\r\\n\\tlabel=\\\"Series\\\" \\r\\n\\tdescription=\\\"Select a series.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"false\\\" \\r\\n\\ttable=\\\"#__###component###_series\\\" \\r\\n\\tcomponent=\\\"com_###component###\\\" \\r\\n\\tview=\\\"series\\\" \\r\\n\\tviews=\\\"all_series\\\" \\r\\n\\tvalue_field=\\\"name\\\" \\r\\n\\tkey_field=\\\"id\\\" \\r\\n\\ttype_php_1=\\\"$db = JFactory::getDBO();\\\" \\r\\n\\ttype_php_2=\\\"$query = $db->getQuery(true);\\\" \\r\\n\\ttype_php_3=\\\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\\\" \\r\\n\\ttype_php_4=\\\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\\\" \\r\\n\\ttype_php_5=\\\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\\\" \\r\\n\\ttype_php_6=\\\"$query->order(\'a.###TEXT### ASC\');\\\" \\r\\n\\ttype_php_7=\\\"$db->setQuery((string)$query);\\\" \\r\\n\\ttype_php_8=\\\"$items = $db->loadObjectList();\\\" \\r\\n\\ttype_php_9=\\\"$options = array();\\\" \\r\\n\\ttype_php_10=\\\"if ($items)\\\" \\r\\n\\ttype_php_11=\\\"{\\\" \\r\\n\\ttype_php_12=\\\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select a series\');\\\" \\r\\n\\ttype_php_13=\\\"\\\\tforeach($items as $item)\\\" \\r\\n\\ttype_php_14=\\\"\\\\t{\\\" \\r\\n\\ttype_php_15=\\\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\\\" \\r\\n\\ttype_php_16=\\\"\\\\t}\\\" \\r\\n\\ttype_php_17=\\\"}\\\" \\r\\n\\ttype_php_18=\\\"\\\" \\r\\n\\ttype_php_19=\\\"return $options;\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-14 15:41:29', '2015-10-29 19:55:29', '', '0000-00-00 00:00:00', 1, '', 1, 625), -(922, 8108, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Scripture ref (sermons)', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"scripture\\\" \\r\\n\\tlabel=\\\"Scripture\\\" \\r\\n\\tsize=\\\"90\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Add scripture reference to this sermon, use comma separation for multiply references.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add some scripture reference here.\\\" \\r\\n\\thint=\\\"1 John 3:16, Psalm 1, James 1:1-5\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-17 17:15:58', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 638), -(926, 15327, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch categories - Sermon Count', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"categories_sermon_count\\\" \\r\\n\\tlabel=\\\"Show Sermon Count\\\" \\r\\n\\tdescription=\\\"Set if sermon count should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-19 21:46:04', '', '0000-00-00 00:00:00', 3, '', 1, 635), -(931, 15332, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Category Default Icon (sermon distributor)', '', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"category_default_icon\\\" \\r\\n\\tlabel=\\\"Category Default Icon \\\" \\r\\n\\tdescription=\\\"Must be 358px x 358px\\\" \\r\\n\\tdirectory=\\\"Set the default icon for categories.\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-11-07 23:11:59', '2015-11-19 21:48:55', '', '0000-00-00 00:00:00', 2, '', 1, 46), -(936, 15337, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch category - Sermon Count', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermon_count\\\" \\r\\n\\tlabel=\\\"Show Sermon Count\\\" \\r\\n\\tdescription=\\\"Set if sermon count should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-19 21:51:56', '', '0000-00-00 00:00:00', 6, '', 1, 635), -(939, 15340, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Table/Grid', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_display\\\" \\r\\n\\tlabel=\\\"Sermons Display\\\" \\r\\n\\tdescription=\\\"Select the option for display of sermons in the category layout.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Table,2|Grid,3|List\\\" \\r\\n\\tdefault=\\\"2\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:19:56', '2015-11-19 21:53:40', '', '0000-00-00 00:00:00', 9, '', 1, 635), -(940, 15341, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Hits', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_hits\\\" \\r\\n\\tlabel=\\\"Show Sermon Hits\\\" \\r\\n\\tdescription=\\\"Set if sermon hits should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:21:34', '2015-11-19 21:54:11', '', '0000-00-00 00:00:00', 9, '', 1, 635), -(941, 15342, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Description', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_desc\\\" \\r\\n\\tlabel=\\\"Show Sermons Description\\\" \\r\\n\\tdescription=\\\"Set if sermons description should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:22:13', '2015-11-19 21:54:44', '', '0000-00-00 00:00:00', 9, '', 1, 635), -(942, 15343, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Sermon Counter', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_download_counter\\\" \\r\\n\\tlabel=\\\"Show Sermons Download Counter\\\" \\r\\n\\tdescription=\\\"Set if sermons download counter should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:23:35', '2015-11-19 21:55:37', '', '0000-00-00 00:00:00', 8, '', 1, 635), -(943, 15344, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Icon', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_icon\\\" \\r\\n\\tlabel=\\\"Show Sermon Icon (grid)\\\" \\r\\n\\tdescription=\\\"Set if icon should be shown in grid display option for sermons.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 12:34:43', '2015-11-19 21:56:43', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(944, 15345, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - List Style', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"category_sermons_list_style\\\" \\r\\n\\tlabel=\\\"Sermons List Style\\\" \\r\\n\\tdescription=\\\"Select the style to use for the sermons list display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Plain,1|Lines,2|Striped,3|Spaced\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 17:59:59', '2015-11-19 21:57:14', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(945, 15346, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Table Color', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"category_sermons_table_color\\\" \\r\\n\\tlabel=\\\"Sermons Table Color\\\" \\r\\n\\tdescription=\\\"Select the color to use for the sermons table display option.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tfilter=\\\"INT\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\"0|Blue,1|Red,2|Purple,3|Green,4|Dark Blue,5|Legacy,6|Uikit,7|Custom,8|None\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:01:19', '2015-11-19 21:57:43', '', '0000-00-00 00:00:00', 12, '', 1, 635), -(946, 15347, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Preacher', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_preacher\\\" \\r\\n\\tlabel=\\\"Show Sermon Preacher\\\" \\r\\n\\tdescription=\\\"Set if the preacher link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-07 18:23:52', '2015-11-19 21:58:13', '', '0000-00-00 00:00:00', 7, '', 1, 635), -(948, 15349, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Downloads', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_downloads\\\" \\r\\n\\tlabel=\\\"Show Sermon Downloads\\\" \\r\\n\\tdescription=\\\"Set if sermon downloads should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-10 21:55:19', '2015-11-19 21:59:10', '', '0000-00-00 00:00:00', 2, '', 1, 635), -(949, 15350, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Open', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_open\\\" \\r\\n\\tlabel=\\\"Show Sermon Open\\\" \\r\\n\\tdescription=\\\"Set if sermon open button should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-10 21:58:23', '2015-11-19 21:59:42', '', '0000-00-00 00:00:00', 2, '', 1, 635), -(953, 15354, '', '', '', '', '', '', '', '', '', 11, '', 'INT', 2, '', '', 'Sermon Category (request_id)', '', 'NOT NULL', '', 2, '\"<field \\r\\n\\ttype=\\\"category\\\" \\r\\n\\tname=\\\"category_request_id\\\" \\r\\n\\tlabel=\\\"Category\\\" \\r\\n\\textension=\\\"com_sermondistributor.sermons\\\" \\r\\n\\tscope=\\\"\\\" \\r\\n\\trequired=\\\"false\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"select one of the following categories\\\" \\r\\n\\tclass=\\\"inputbox\\\" \\r\\n\\tpublished=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-14 15:41:29', '2015-11-20 00:05:20', '', '0000-00-00 00:00:00', 5, '', 1, 625), -(955, 15361, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox update method (manual)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"manual_link_update_method\\\" \\r\\n\\tlabel=\\\"Manual Link Update Method\\\" \\r\\n\\tdescription=\\\"Select the method we should use when updating the manual links\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Manual,2|Automatic\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-20 13:42:20', '2015-11-21 22:11:57', '', '0000-00-00 00:00:00', 2, '', 1, 639), -(956, 15362, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox update method (auto)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"auto_link_update_method\\\" \\r\\n\\tlabel=\\\"Auto Link Update Method\\\" \\r\\n\\tdescription=\\\"Select the method we should use when updating the auto links.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Manual,2|Automatic\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-20 13:42:53', '2015-11-21 22:12:17', '', '0000-00-00 00:00:00', 2, '', 1, 639), -(957, 15363, '', '', '', '', '', '', '', '', '', 1, '', 'INT', '', '', '', 'Dropbox Update Timer (manual)', '', 'NOT NULL', '', 10, '\"<field \\r\\n\\ttype=\\\"integer\\\" \\r\\n\\tname=\\\"manual_dropbox_timer\\\" \\r\\n\\tlabel=\\\"Manual Dropbox Timer\\\" \\r\\n\\tdefault=\\\"60\\\" \\r\\n\\tdescription=\\\"Set the timer in minutes for updating the Dropbox manual local listing of file links.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\tfirst=\\\"0\\\" \\r\\n\\tlast=\\\"50000\\\" \\r\\n\\tstep=\\\"10\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-20 13:44:17', '2015-11-20 13:44:25', '', '0000-00-00 00:00:00', 2, '', 1, 602), -(954, 15360, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Switch sermons (Category) - Series', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"category_sermons_series\\\" \\r\\n\\tlabel=\\\"Show Sermon Series\\\" \\r\\n\\tdescription=\\\"Set if the series link should be shown.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-20 03:19:26', '2015-11-09 14:12:54', '', '0000-00-00 00:00:00', 1, '', 1, 635), -(958, 15364, '', '', '', '', '', '', '', '', '', 1, '', 'INT', '', '', '', 'Dropbox Update Timer (auto)', '', 'NOT NULL', '', 10, '\"<field \\r\\n\\ttype=\\\"integer\\\" \\r\\n\\tname=\\\"auto_dropbox_timer\\\" \\r\\n\\tlabel=\\\"Auto Dropbox Timer\\\" \\r\\n\\tdefault=\\\"60\\\" \\r\\n\\tdescription=\\\"Set the timer in minutes for updating the Dropbox auto local listing of file links.\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\tfirst=\\\"0\\\" \\r\\n\\tlast=\\\"50000\\\" \\r\\n\\tstep=\\\"10\\\" \\r\\n\\/>\"', '', 1, 450, '', '2015-11-20 13:44:58', '2015-11-20 13:44:25', '', '0000-00-00 00:00:00', 1, '', 1, 602), -(959, 15365, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Manual Update Button - (manual)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_update_manual_button_dropbox\\\" \\r\\n\\tdescription=\\\"<div id=\'control-label-manual-update\'>Manual Update Method<\\/div><div id=\'controls-manual-update\'><a class=\'btn btn-small btn-success\' onclick=\'updateLocalLinks(1)\' href=\'javascript:void(0)\'>Update Listing Now!<\\/a> <small>(manual listing)<\\/small> <span class=\'manualTimer\'><\\/span> <span class=\'manual-dots loading-dots\' style=\'display: none;\'><\\/span><\\/div>\\r\\n<script>\\r\\nvar checker = null;\\r\\nvar token = 0;\\r\\njQuery(document).ready(function()\\r\\n{\\r\\n\\t\\/\\/ house cleaning\\r\\n\\tbuildButton(\'manual\');\\r\\n\\tbuildButton(\'auto\');\\r\\n\\tchecker = window.setInterval(function(){getProgress();}, 2000);\\r\\n\\r\\n\\t\\/\\/ nice little dot trick :)\\r\\n\\tvar x=0;\\r\\n\\tsetInterval(function() {\\r\\n\\t\\tvar dots = \'\';\\r\\n\\t\\tx++;\\r\\n\\t\\tfor (var y=0; y < x%11; y++) {\\r\\n\\t\\t\\tdots+=\'.\';\\r\\n\\t\\t}\\r\\n\\t\\tjQuery(\'.loading-dots\').text(dots);\\r\\n\\t} , 500);\\r\\n});\\r\\njQuery(document).ready( function($) {\\r\\n \\r\\n});\\r\\njQuery(\'#component-form\').on(\'change\', \'#jform_manual_link_update_method\',function (e)\\r\\n{\\r\\n\\te.preventDefault();\\r\\n\\tvar value = jQuery(\'#jform_manual_link_update_method input[type=\\\\\'radio\\\\\']:checked\').val();\\r\\n\\tupdateButton(value,\'.note_update_manual_button_dropbox\',\'#jform_manual_dropbox_timer\');\\r\\n\\r\\n});\\r\\njQuery(\'#component-form\').on(\'change\', \'#jform_auto_link_update_method\',function (e)\\r\\n{\\r\\n\\te.preventDefault();\\r\\n\\tvar value = jQuery(\'#jform_auto_link_update_method input[type=\\\\\'radio\\\\\']:checked\').val();\\r\\n\\tupdateButton(value,\'.note_update_auto_button_dropbox\',\'#jform_auto_dropbox_timer\');\\r\\n\\r\\n});\\r\\nfunction buildButton(type)\\r\\n{\\r\\n\\tvar lable = jQuery(\'#control-label-\'+type+\'-update\').html();\\r\\n\\tvar control = jQuery(\'#controls-\'+type+\'-update\').html();\\r\\n\\t\\/\\/ now remove button from page\\r\\n\\tjQuery(\'#control-label-\'+type+\'-update\').remove();\\r\\n\\tjQuery(\'#controls-\'+type+\'-update\').remove();\\r\\n\\t\\/\\/ now add to correct place\\r\\n\\tvar div = jQuery(\'.note_update_\'+type+\'_button_dropbox\').closest(\'.control-group\');\\r\\n\\tjQuery(div).find(\'.control-label\').append(lable);\\r\\n\\tjQuery(div).find(\'.controls\').append(control);\\r\\n\\r\\n\\tvar value = jQuery(\'#jform_\'+type+\'_link_update_method input[type=\\\\\'radio\\\\\']:checked\').val();\\r\\n\\tupdateButton(value,\'.note_update_\'+type+\'_button_dropbox\',\'#jform_\'+type+\'_dropbox_timer\');\\r\\n}\\r\\nfunction updateButton(value,button,timer)\\r\\n{\\r\\n\\tif (1 == value)\\r\\n\\t{\\r\\n\\t\\tjQuery(button).closest(\'.control-group\').show();\\r\\n\\t\\tjQuery(timer).closest(\'.control-group\').hide();\\r\\n\\t}\\r\\n\\telse if (2 == value)\\r\\n\\t{\\r\\n\\t\\tjQuery(button).closest(\'.control-group\').hide();\\r\\n\\t\\tjQuery(timer).closest(\'.control-group\').show();\\r\\n\\t}\\r\\n}\\r\\n\\/\\/ to see if we should start checking progress\\r\\nupdateCounter = new Array();\\r\\nupdateCounter[1] = 0;\\r\\nupdateCounter[2] = 0;\\r\\nfunction getProgress()\\r\\n{\\r\\n\\tif (updateCounter[1] == 1)\\r\\n\\t{\\r\\n\\t\\t\\/\\/ check progress\\r\\n\\t\\tprogress(1);\\r\\n\\t}\\r\\n\\tif (updateCounter[2] == 1)\\r\\n\\t{\\r\\n\\t\\t\\/\\/ check progress\\r\\n\\t\\tprogress(2);\\r\\n\\t}\\r\\n}\\r\\nfunction progress(type)\\r\\n{\\r\\n\\tserver_getProgress(type).done(function(result) {\\r\\n\\t\\tif (result)\\r\\n\\t\\t{\\r\\n\\t\\t\\t\\/\\/ set update timer\\r\\n\\t\\t\\tif (1 == type)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif (result == 100)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tvar color = \'style=\\\\\'color: #3c763d;\\\\\'\';\\r\\n\\t\\t\\t\\t\\tvar note = \'<b>Update Completed:<\\/b>\';\\r\\n\\t\\t\\t\\t\\tjQuery(\'.manual-dots\').hide();\\r\\n\\t\\t\\t\\t\\tupdateCounter[type] = 0;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tvar color = \'style=\\\\\'color: #3C708F;\\\\\'\';\\r\\n\\t\\t\\t\\t\\tvar note = \'<b>Update in Progress:<\\/b>\';\\r\\n\\t\\t\\t\\t\\tjQuery(\'.manual-dots\').show();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\/\\/ manualTimer\\r\\n\\t\\t\\t\\tjQuery(\'.manualTimer\').html(\' <small \'+color+\'>\'+note+\' \'+result+\'%<\\/small>\');\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if (2 == type)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\tif (result == 100)\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tvar color = \'style=\\\\\'color: #3c763d;\\\\\'\';\\r\\n\\t\\t\\t\\t\\tvar note = \'<b>Update Completed:<\\/b>\';\\r\\n\\t\\t\\t\\t\\tjQuery(\'.auto-dots\').hide();\\r\\n\\t\\t\\t\\t\\tupdateCounter[type] = 0;\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tvar color = \'style=\\\\\'color: #3C708F;\\\\\'\';\\r\\n\\t\\t\\t\\t\\tvar note = \'<b>Update in Progress:<\\/b>\';\\r\\n\\t\\t\\t\\t\\tjQuery(\'.auto-dots\').show();\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\/\\/ autoTimer\\r\\n\\t\\t\\t\\tjQuery(\'.autoTimer\').html(\' <small \'+color+\'>\'+note+\' \'+result+\'%<\\/small>\');\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\telse\\r\\n\\t\\t{\\r\\n\\t\\t\\tupdateCounter[type] = 0;\\r\\n\\t\\t}\\r\\n\\t});\\r\\n}\\r\\nfunction server_getProgress(type)\\r\\n{\\r\\n\\tvar getUrl = \'index.php?option=com_sermondistributor&task=ajax.getUpdateProgress&format=json\';\\r\\n\\tif(type > 0 && token.length == 32){\\r\\n\\t\\tvar request = \'token=\'+token+\'&type=\'+type;\\r\\n\\t}\\r\\n\\treturn jQuery.ajax({\\r\\n\\t\\ttype: \'GET\',\\r\\n\\t\\turl: getUrl,\\r\\n\\t\\tdataType: \'jsonp\',\\r\\n\\t\\tdata: request,\\r\\n\\t\\tjsonp: \'callback\'\\r\\n\\t});\\r\\n\\t\\r\\n}\\r\\nfunction updateLocalLinks(type)\\r\\n{\\r\\n\\t\\/\\/ get token from the form\\r\\n\\tjQuery(\'form :input\').each(function(index, elm){\\r\\n\\t\\tif (elm.name.length == 32 && elm.type == \'hidden\')\\r\\n\\t\\t{\\r\\n\\t\\t\\tvalue = jQuery(elm).val();\\r\\n\\t\\t\\tif (1 == value)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\ttoken = elm.name;\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t});\\r\\n\\t\\/\\/ set update timer\\r\\n\\tif (1 == type)\\r\\n\\t{\\r\\n\\t\\tvar typeNote = \'Manual\';\\r\\n\\t\\tvar typenote = \'manual\';\\r\\n\\t}\\r\\n\\telse if (2 == type)\\r\\n\\t{\\r\\n\\t\\tvar typeNote = \'Auto\';\\r\\n\\t\\tvar typenote = \'auto\';\\r\\n\\t}\\r\\n\\tvar message = [\'<h3>\'+typeNote+\' Update Started.<\\/h3><p>The update will continue to run in the background even if you close the page.<\\/p><h4><span class=\\\\\'\'+typenote+\'Timer\\\\\'><\\/span> <span class=\\\\\'\'+typenote+\'-dots loading-dots\\\\\'><\\/span><\\/h4>\'];\\r\\n\\tJoomla.renderMessages({\'info\': message});\\r\\n\\t\\/\\/ start progress checker\\r\\n\\tupdateCounter[type] = 1;\\r\\n\\t\\/\\/ call the server\\r\\n\\tserver_updateLocalLinks(type).done(function(result) {\\r\\n\\t\\tif (result)\\r\\n\\t\\t{\\r\\n\\t\\t\\tvar message = [\'<h3>Successfully Completed \'+typeNote+\' Update.<\\/h3>\'];\\r\\n\\t\\t\\tJoomla.renderMessages({\'success\': message});\\r\\n\\t\\t}\\r\\n\\t\\telse\\r\\n\\t\\t{\\r\\n\\t\\t\\tvar message = [\'<h3>The \'+typenote+\' update is unable to run, this could be bacause following reasonse:<\\/h3><ul><li><b>That an update is already running.<\\/b><\\/li><li>That there is no Dropbox urls set below.<\\/li><li>That the the urls set below are not valid dropbox shared urls.<\\/li><li>That you did not set the needed Dropbox file types.<\\/li><li>The some php methods needed to get the file names from Dropbox are being blocked, make sure that <b>allow_url_fopen<\\/b> is set to <b>on<\\/b> in your php.ini on this server.<\\/li><li>The the system has encountered an error.<\\/li><\\/ul>\'];\\r\\n\\t\\t\\tJoomla.renderMessages({\'error\': message});\\r\\n\\t\\t}\\r\\n\\t});\\r\\n}\\r\\nfunction server_updateLocalLinks(type)\\r\\n{\\r\\n\\tvar getUrl = \'index.php?option=com_sermondistributor&task=ajax.updateDropboxListing&format=json\';\\r\\n\\tif(type > 0 && token.length == 32){\\r\\n\\t\\tvar request = \'token=\'+token+\'&type=\'+type;\\r\\n\\t}\\r\\n\\treturn jQuery.ajax({\\r\\n\\t\\ttype: \'GET\',\\r\\n\\t\\turl: getUrl,\\r\\n\\t\\tdataType: \'jsonp\',\\r\\n\\t\\tdata: request,\\r\\n\\t\\tjsonp: \'callback\'\\r\\n\\t});\\r\\n\\t\\r\\n}\\r\\n<\\/script>\\\" \\r\\n\\tclass=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-20 14:05:06', '2015-11-21 21:24:55', '', '0000-00-00 00:00:00', 7, '', 1, 603), -(960, 15366, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox Manual Update Button - (auto)', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_update_auto_button_dropbox\\\" \\r\\n\\tdescription=\\\"<div id=\'control-label-auto-update\'>Manual Update Method<\\/div><div id=\'controls-auto-update\'><a class=\'btn btn-small btn-success\' onclick=\'updateLocalLinks(2)\' href=\'javascript:void(0)\'>Update Listing Now!<\\/a> <small>(auto listing)<\\/small> <span class=\'autoTimer\'><\\/span> <span class=\'auto-dots loading-dots\' style=\'display: none;\'><\\/span><\\/div>\\\" \\r\\n\\tclass=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-20 15:54:23', '2015-11-21 21:25:40', '', '0000-00-00 00:00:00', 4, '', 1, 603), -(961, 15367, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Dropbox File Types', '', 'NOT NULL', '', 11, '\"<field \\r\\n\\ttype=\\\"list\\\" \\r\\n\\tname=\\\"dropbox_filetypes\\\" \\r\\n\\tlabel=\\\"Dropbox File Types\\\"\\r\\n\\tdescription=\\\"Select the file types you would like to use from Dropbox.\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tfilter=\\\"ARRAY\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\toption=\\\".mp3,.m4a,.ogg,.wav,.mp4,.m4v,.mov,.wmv,.avi,.mpg,.ogv,.3gp,.3g2,.pdf,.doc,.docx,.ppt,.pptx,.pps,.ppsx,.odt,.xls,.xlsx,.zip,.jpg,.jpeg,.png,.gif\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-20 19:50:44', '2015-11-20 20:07:17', '', '0000-00-00 00:00:00', 2, '', 1, 640), -(970, 15384, '', '', '', '', '', '', '', 1, '', 1, '', 'TINYINT', 2, '', '', 'Add Pagination', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"pagination\\\" \\r\\n\\tlabel=\\\"Add Pagination\\\" \\r\\n\\tdescription=\\\"Set if the query and its related views should use pagination.\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"1\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-29 00:44:58', '2015-11-29 01:00:27', '', '0000-00-00 00:00:00', 2, '', 1, 643), -(972, 15390, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Readme (editor)', '', 'NOT NULL', 2, 8, '\"<field \\r\\n\\ttype=\\\"editor\\\" \\r\\n\\tname=\\\"readme\\\" \\r\\n\\tlabel=\\\"README.md\\\" \\r\\n\\twidth=\\\"100%\\\" \\r\\n\\tdefault=\\\"You can use all the normal markdown, including the place-holders.\\\"\\r\\n\\theight=\\\"1200px\\\" \\r\\n\\tcols=\\\"\\\" \\r\\n\\trows=\\\"\\\" \\r\\n\\tbuttons=\\\"false\\\" \\r\\n\\thide=\\\"\\\" \\r\\n\\teditor=\\\"none\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-30 06:29:56', '2015-11-30 08:16:14', '', '0000-00-00 00:00:00', 12, '', 1, 644), -(973, 15391, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'add Readme', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"addReadme\\\" \\r\\n\\tlabel=\\\"Add README\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-30 06:30:34', '2015-11-30 06:30:47', '', '0000-00-00 00:00:00', 2, '', 1, 644), -(974, 15392, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'add Readme Note', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_readme\\\" \\r\\n\\tlabel=\\\"Demo README (with all place-holders)\\\" \\r\\n\\tdescription=\\\"<div style=\'margin: 10px\'><p> Need help, visit <a href=\'https:\\/\\/github.com\\/adam-p\\/markdown-here\\/wiki\\/Markdown-Cheatsheet\' target=\'_blank\'>Markdown-Cheatsheet<\\/a><\\/p>\\r\\n<code style=\'padding: 10px; width: 100%; height: 1140px;\'>\\r\\n# ###Component_name### (###VERSION###)<br \\/>\\r\\n<br \\/>\\r\\n###DESCRIPTION###<br \\/>\\r\\n<br \\/>\\r\\n# Build Details<br \\/>\\r\\n<br \\/>\\r\\n+ *Company*: [###COMPANYNAME###] (###AUTHORWEBSITE###)<br \\/>\\r\\n+ *Author*: [###AUTHOR###] (mailto:###AUTHOREMAIL###)<br \\/>\\r\\n+ *Name*: [###Component_name###] (###AUTHORWEBSITE###)<br \\/>\\r\\n+ *First Build*: ###CREATIONDATE###<br \\/>\\r\\n+ *Last Build*: ###BUILDDATE###<br \\/>\\r\\n+ *Version*: ###VERSION###<br \\/>\\r\\n+ *Copyright*: ###COPYRIGHT###<br \\/>\\r\\n+ *License*: ###LICENSE###<br \\/>\\r\\n<br \\/>\\r\\n## Build Time<br \\/>\\r\\n<br \\/>\\r\\n**###totalHours### Hours** or **###totalDays### Eight Hour Days** (actual time the author saved - <br \\/>\\r\\ndue to [Automated Component Builder] (https:\\/\\/www.vdm.io\\/joomla-component-builder))<br \\/>\\r\\n<br \\/>\\r\\n> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,<br \\/>\\r\\n> never making one mistake or taking any coffee break.)<br \\/>\\r\\n<br \\/>\\r\\n+ *Line count*: **###LINE_COUNT###**<br \\/>\\r\\n+ *File count*: **###FILE_COUNT###**<br \\/>\\r\\n+ *Folder count*: **###FOLDER_COUNT###**<br \\/>\\r\\n<br \\/>\\r\\n**###actualHoursSpent### Hours** or **###actualDaysSpent### Eight Hour Days** (the actual time the author spent)<br \\/>\\r\\n<br \\/>\\r\\n> (with the following break down:<br \\/>\\r\\n> **debugging @###debuggingHours###hours** = codingtime \\/ 4;<br \\/>\\r\\n> **planning @###planningHours###hours** = codingtime \\/ 7;<br \\/>\\r\\n> **mapping @###mappingHours###hours** = codingtime \\/ 10;<br \\/>\\r\\n> **office @###officeHours###hours** = codingtime \\/ 6;)<br \\/>\\r\\n<br \\/>\\r\\n**###actualTotalHours### Hours** or **###actualTotalDays### Eight Hour Days**<br \\/>\\r\\n(a total of the realistic time frame for this project)<br \\/>\\r\\n<br \\/>\\r\\n> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,<br \\/>\\r\\n> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)<br \\/>\\r\\n<br \\/>\\r\\nProject duration: **###projectWeekTime### weeks** or **###projectMonthTime### months**<br \\/>\\r\\n<br \\/>\\r\\n> This **component** was build with a Joomla [Automated Component Builder] (https:\\/\\/www.vdm.io\\/joomla-component-builder).<br \\/>\\r\\n> Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)<br \\/>\\r\\n<\\/code><\\/div>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-11-30 08:06:36', '2015-12-01 00:21:20', '', '0000-00-00 00:00:00', 21, '', 1, 645), -(1017, 15537, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (script - before delete)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_before_delete\\\" \\r\\n\\tlabel=\\\"Add PHP (script - before delete)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-12-09 15:06:22', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 187), -(1018, 15538, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add PHP (script - after delete)', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_php_after_delete\\\" \\r\\n\\tlabel=\\\"Add PHP (script - after delete)\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-12-09 15:06:46', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 187), -(1019, 15539, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (script - before delete)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_before_delete\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the delete Method before items are deleted. Array $pks is an array of record primary keys.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-12-09 15:09:57', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 119), -(1020, 15540, '', '', '', '', '', '', '', '', '', '', '', 'MEDIUMTEXT', '', '', '', 'PHP (script - after delete)', '', 'NOT NULL', 2, 25, '\"<field \\r\\n\\ttype=\\\"textarea\\\" \\r\\n\\tname=\\\"php_after_delete\\\" \\r\\n\\tlabel=\\\"PHP\\\" \\r\\n\\trows=\\\"30\\\" \\r\\n\\tcols=\\\"15\\\"\\r\\n\\tdescription=\\\"Add your PHP here! [Do not add the php tags]\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"raw\\\" \\r\\n\\thint=\\\"\\/\\/ PHP Here that should run in the delete Method after items were deleted. Array $pks is an array of record primary keys.\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2015-12-09 15:10:40', '2015-10-17 18:17:23', '', '0000-00-00 00:00:00', 1, '', 1, 119), -(1023, 15546, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Version Update (controler)', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"version_update\\\" \\r\\n\\tlabel=\\\"Version Updates\\\" \\r\\n\\tdescription=\\\"Add Version Updates Here!\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"aid\\\" \\r\\n\\tclass=\\\"\\\" \\r\\n\\tselect=\\\"Add Update SQL\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"300\\\" \\r\\n\\tfields=\\\"1021,1022,1024\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2015-12-17 17:39:17', '2015-12-22 09:38:09', '', '0000-00-00 00:00:00', 3, '', 1, 653), -(1027, 15550, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Update Server FTP (Signature)', '', 'NOT NULL', 3, 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"update_server_ftp\\\" \\r\\n\\tlabel=\\\"Update Server FTP <br \\/><small>(encrypted field)<\\/small>\\\" \\r\\n\\tsize=\\\"150\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdefault=\\\"host=HOSTNAME&amp;port=PORT_INT&amp;options[type]=FTP_BINARY&amp;options[timeout]=15&amp;username=user@name.com&amp;password=password\\\" \\r\\n\\tdescription=\\\"The FTP details for the update server XML location. (string $host = \'127.0.0.1\', string $port = \'21\', array $options = array(), string $user = null, string $pass = null) OPTIONS = Array with any of these options: type=>[FTP_AUTOASCII|FTP_ASCII|FTP_BINARY], timeout=>(int)\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add some text here.\\\" \\r\\n\\thint=\\\"host=HOSTNAME&port=PORT_INT&options[type]=FTP_BINARY&options[timeout]=15&username=user@name.com&password=password\\\" \\r\\n\\/>\"', '', 1, 845, 450, '2015-12-23 09:26:11', '2015-12-23 12:02:48', '', '0000-00-00 00:00:00', 6, '', 1, 192), -(1032, 15563, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Sales Server FTP (Signature)', '', 'NOT NULL', 3, 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"sales_server_ftp\\\" \\r\\n\\tlabel=\\\"Sales Server FTP <br \\/><small>(encrypted field)<\\/small>\\\" \\r\\n\\tsize=\\\"150\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdefault=\\\"host=HOSTNAME&amp;port=PORT_INT&amp;options[type]=FTP_BINARY&amp;options[timeout]=15&amp;username=user@name.com&amp;password=password\\\" \\r\\n\\tdescription=\\\"The FTP details for the update server XML location. (string $host = \'127.0.0.1\', string $port = \'21\', array $options = array(), string $user = null, string $pass = null) OPTIONS = Array with any of these options: type=>[FTP_AUTOASCII|FTP_ASCII|FTP_BINARY], timeout=>(int)\\\" \\r\\n\\tclass=\\\"text_area span12\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add some text here.\\\" \\r\\n\\thint=\\\"host=HOSTNAME&port=PORT_INT&options[type]=FTP_BINARY&options[timeout]=15&username=user@name.com&password=password\\\" \\r\\n\\/>\"', '', 1, 845, '', '2016-01-06 07:47:20', '2015-12-23 12:02:48', '', '0000-00-00 00:00:00', 1, '', 1, 192), -(1033, 15564, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add Sales Server', '', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add_sales_server\\\" \\r\\n\\tlabel=\\\"Add Sales Server\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', '', 1, 845, '', '2016-01-06 07:52:15', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 192), -(1036, 15569, '', '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'MySql (tweak)', '', 'NOT NULL', '', 19, '\"<field \\r\\n\\ttype=\\\"repeatable\\\" \\r\\n\\tname=\\\"sql_tweak\\\" \\r\\n\\tlabel=\\\"MySql (tweak)\\\" \\r\\n\\tdescription=\\\"Tweak the view MySql dump settings.\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tid=\\\"sql_tweaks\\\" \\r\\n\\tclass=\\\"sql_tweak\\\" \\r\\n\\tselect=\\\"Open\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfields=\\\"39,1034,1035,1037\\\"\\r\\n\\/>\"', '', 1, 845, '', '2016-01-07 08:33:47', '2015-08-25 21:15:22', '', '0000-00-00 00:00:00', 1, '', 1, 201), -(1038, 15571, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'System Name', '', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"system_name\\\" \\r\\n\\tlabel=\\\"System Name\\\" \\r\\n\\tsize=\\\"10\\\" \\r\\n\\tmaxlength=\\\"50\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\tdescription=\\\"Used only in the system.\\\" \\r\\n\\tclass=\\\"text_area\\\"\\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add some text here.\\\" \\r\\n\\thint=\\\"The System Name Here\\\" \\r\\n\\/>\"', '', 1, 450, '', '2016-01-10 16:10:19', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 654), -(1039, 15600, '', '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Lisencing WHMCS - note', '', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_whmcs_lisencing_note\\\" \\r\\n\\tlabel=\\\"Licensing addon module for WHMCS\\\" \\r\\n\\tdescription=\\\"You can use WHMCS licensing addon in your component<br \\/><strong>Helpful Links<\\/strong><br \\/><a href=\'https:\\/\\/www.whmcs.com\\/addons\\/licensing-addon\\/\' target=\'_blank\'>https:\\/\\/www.whmcs.com\\/addons\\/licensing-addon\\/<\\/a><br \\/><a href=\'http:\\/\\/docs.whmcs.com\\/Licensing_Addon\' target=\'_blank\'>http:\\/\\/docs.whmcs.com\\/Licensing_Addon<\\/a>\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-success\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2016-01-17 15:51:54', '2016-01-17 20:48:03', '', '0000-00-00 00:00:00', 5, '', 1, 655), -(1040, 15601, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Lisencing WHMCS - URL', '', 'NOT NULL', '', 27, '\"<field \\r\\n\\ttype=\\\"url\\\" \\r\\n\\tname=\\\"whmcs_url\\\" \\r\\n\\tlabel=\\\"URL to your WHMCS install\\\" \\r\\n\\tsize=\\\"60\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter whmcs address\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\tfilter=\\\"url\\\" \\r\\n\\tvalidated=\\\"url\\\" \\r\\n\\tmessage=\\\"Error! Please add website here.\\\" \\r\\n\\thint=\\\"http:\\/\\/www.yoursite.com\\/whmcs\\\" \\r\\n\\/>\"', '', 1, 450, '', '2016-01-17 17:24:18', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 656), -(1041, 15602, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Lisencing WHMCS - Secret Key', '', 'NOT NULL', 3, 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"whmcs_key\\\" \\r\\n\\tlabel=\\\"WHMCS Secret Key<br \\/><small>(encrypted field)<\\/small>\\\" \\r\\n\\tsize=\\\"60\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Add your WHMCS Secret Key here that is needed for this license\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add some secret key here.\\\" \\r\\n\\thint=\\\"Secret Key\\\" \\r\\n\\/>\"', '', 1, 450, 450, '2016-01-17 17:26:58', '2016-01-17 21:00:03', '', '0000-00-00 00:00:00', 3, '', 1, 657); - --- --- Dumping data for table `#__componentbuilder_fieldtype` --- - -INSERT INTO `#__componentbuilder_fieldtype` (`id`, `asset_id`, `catid`, `description`, `name`, `properties`, `short_description`, `params`, `published`, `created_by`, `modified_by`, `created`, `modified`, `checked_out`, `checked_out_time`, `version`, `hits`, `access`, `ordering`) VALUES -(1, 2983, '', 'The calendar form field type provides a text box for entry of a date. An icon next to the text box provides a link to a pop-up calendar, which can also be used to enter the date value. If the field has a saved value this is shown in the text box. Otherwis', 'Calendar', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"readonly\",\"disabled\",\"class\",\"format\",\"filter\",\"required\"],\"example\":[\"calendar\",\"date\",\"Select a date\",\"NOW\",\"\",\"\",\"\",\"\",\"%d-%m-%Y\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be calendar.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default date. This must be given in the same format as specified by the format argument. You can put \\\"NOW\\\" to have current time.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the text box.\",\"(optional) is whether the text box is read-only (true or false). If the text box is read-only, the date cannot be changed, but can be selected and copied. No calendar icon will be shown.\",\"(optional) is whether the text box is disabled (true or false). If the text box is disabled, the date cannot be changed, selected or copied.\",\"(optional) is a CSS class name for the HTML form field.\",\"(optional) is the date format to be used. This is in the format used by PHP to specify date string formats (see below). If no format argument is given, \'%Y-%m-%d\' is assumed (giving dates like \'2008-04-16\').\",\"(optional) is time zone to be used. There are two values; server_utc and user_utc. The first one is server time zone and the later is user time zone as configured in global configuration and user information respectively.\",\"(optional) The field must be filled before submitting the form.\"]}', 'provides a text box for entry of a date. An icon next to the text box provides a link to a pop-up calendar, which can also be used to enter the date value.', '', 1, 845, 845, '2015-04-28 23:10:00', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(2, 2984, '', 'The category form field type provides a drop down list of all published categories for a certain extension. If the parameter has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected. If the show_root', 'Category', '{\"name\":[\"type\",\"name\",\"label\",\"extension\",\"scope\",\"required\",\"show_root\",\"default\",\"description\",\"class\",\"published\"],\"example\":[\"category\",\"mycategory\",\"Select a category\",\"com_content\",\"\",\"true\",\"false\",\"\",\"select one of the following categories\",\"inputbox\",\"true\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be category.\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the name of the extension for which the categories will be retrieved. For example, to list content categories, use the value \'com_content\'. You can add also target one view, use the value \'com_component.view\'.\",\"(optional) is an alias for extension.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) is whether a choice representing the root category will be shown.\",\"(optional) is the default category ID number.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) (true/false) is whether the drop down will show only published or unpublished categories.\"]}', 'provides a drop down list of categories for an extension.', '', 1, 845, 845, '2015-03-28 06:33:46', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(3, 2985, '', 'The checkbox form field type provides a single checkbox. If the parameter has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Checkbox', '{\"name\":[\"type\",\"name\",\"label\",\"value\",\"default\",\"required\",\"description\",\"class\"],\"example\":[\"checkbox\",\"show_title\",\"Show title\",\"1\",\"\",\"\",\"Show the title of the item\",\"inputbox\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\"],\"description\":[\"(mandatory) must be checkbox\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the value of the parameter if this checkbox is set (usually 1).\",\"(optional) is the default value (usually 0 or 1).\",\"(optional) The field must be filled before submitting the form.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\"]}', 'provides a single checkbox to be checked or unchecked', '', 1, 845, 845, '2015-04-23 20:47:11', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(4, 2986, '', 'The checkboxes form field type provides a set of checkboxes. Note: unlike most standard form field types, such as textfield or checkbox, this field is not an \"out of the box\" solution. It will create checkboxes for you, and submit their values in form of ', 'Checkboxes', '{\"name\":[\"type\",\"name\",\"label\",\"option\",\"default\",\"description\",\"required\",\"class\"],\"example\":[\"checkboxes\",\"toppings\",\"Select Toppings\",\"anch|Anchovies,chor|Chorizo,on|Onions,mush|Mushrooms\",\"\",\"Select the topping of your choice\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be checkboxs\",\"(mandatory) is the unique name of the parameter.\",\"(optional) (translatable) is the descriptive title of the field.\",\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\",\"(optional) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\"]}', 'provides unlimited checkboxes that can be used for multi-select.', '', 1, 845, 845, '2015-04-23 20:47:11', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(5, 2987, '', 'Provides a color picker. Enter the color as #ff00ff or pick it from the palet.', 'Color', '{\"name\":[\"type\",\"name\",\"default\",\"label\",\"description\",\"required\"],\"example\":[\"color\",\"backgroundcolor\",\"#FFFFFF\",\"Background\",\"Select the background color here.\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"0\",\"1\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"0\",\"1\",\"1\",\"0\"],\"description\":[\"(mandatory) must be color.\",\"(mandatory) is the unique name of the parameter.\",\"(optional) provides a color when not set.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) tooltip for the form field.\",\"(optional) The field must be filled before submitting the form.\"]}', 'provides a color picker when clicking the input box.', '', 1, 845, 845, '2015-03-28 06:38:33', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(6, 2410, '', 'The list form field type provides a drop down list or a list box of other current component table entries. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Custom', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"multiple\",\"default\",\"required\",\"readonly\",\"disabled\",\"extends\",\"button\",\"table\",\"component\",\"view\",\"views\",\"value_field\",\"key_field\",\"type_php_1\",\"type_php_2\",\"type_php_3\",\"type_php_4\",\"type_php_5\",\"type_php_6\",\"type_php_7\",\"type_php_8\",\"type_php_9\",\"type_php_10\",\"type_php_11\",\"type_php_12\",\"type_php_13\",\"type_php_14\",\"type_php_15\",\"type_php_16\",\"type_php_17\",\"type_php_18\",\"type_php_19\"],\"example\":[\"subjects\",\"subject\",\"Select a Subject\",\"\",\"list_class\",\"false\",\"0\",\"\",\"\",\"\",\"list\",\"true\",\"#__###component###_subject\",\"com_###component###\",\"subject\",\"subjects\",\"name\",\"id\",\"$db = JFactory::getDBO();\",\"$query = $db->getQuery(true);\",\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\",\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\",\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\",\"$query->order(\'a.###TEXT### ASC\');\",\"$db->setQuery((string)$query);\",\"$items = $db->loadObjectList();\",\"$options = array();\",\"if ($items)\",\"{\",\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\",\"\\\\tforeach($items as $item)\",\"\\\\t{\",\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\",\"\\\\t}\",\"}\",\"\",\"return $options;\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) can be anything, just not the same as any other default Joomla field type.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) is whether multiple items can be selected at the same time (true or false).\",\"(optional) (not translatable) is the default value.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"The JFormField sub class that should be extended. The options are (\'list\',\'radio\',\'checkboxes\')\",\"(optional) to add new button next to field in edit view\",\"(mandatory) The table being linked to. \",\"(mandatory) The name of the component where this table is found. Must be com_users\",\"(mandatory) The single view name if the place this field is added.\",\"(mandatory) The list view name if the place this field is added.\",\"(mandatory) The name of the text field in table linked to.\",\"(mandatory) The field from the linked table to save in this table as the unique key.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\"]}', 'provides a drop down list of items entries.', '', 1, 845, 845, '2015-03-16 18:07:48', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 3, '', 5, ''), -(7, 2988, '', 'The a list of users that can be targeting one or more groups and excluded users that already belongs to an item in a view.', 'CustomUser', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"multiple\",\"required\",\"readonly\",\"disabled\",\"default\",\"hint\",\"extends\",\"table\",\"component\",\"view\",\"views\",\"value_field\",\"key_field\",\"type_php_1\",\"type_php_2\",\"type_php_3\",\"type_phpx_1\",\"type_phpx_2\",\"type_phpx_3\",\"type_phpx_4\",\"type_phpx_5\",\"type_phpx_6\",\"type_phpx_7\",\"type_phpx_8\",\"type_phpx_9\",\"type_phpx_10\",\"type_phpx_11\",\"type_phpx_12\",\"type_phpx_13\",\"type_phpx_14\",\"type_phpx_15\",\"type_phpx_16\",\"type_phpx_17\"],\"example\":[\"staffusers\",\"staff\",\"Staff\",\"\",\"\",\"false\",\"\",\"\",\"\",\"\",\"select a user\",\"user\",\"#__users\",\"com_users\",\"###view###\",\"###views###\",\"name\",\"id\",\"// set the groups array\",\"$groups = JComponentHelper::getParams(\'com_###component###\')->get(\'###type###\');\",\"return $groups;\",\"// To ensure that there is only one record per user\",\"// Get a db connection.\",\"$db = JFactory::getDbo();\",\"// Create a new query object.\",\"$query = $db->getQuery(true);\",\"// Select all records from the #__###component###_###view### table from ###CODE### column\\\".\",\"$query->select($db->quoteName(\'###CODE###\'));\",\"$query->from($db->quoteName(\'#__###component###_###view###\'));\",\"$db->setQuery($query);\",\"$db->execute();\",\"$found = $db->getNumRows();\",\"if ($found)\",\"{\",\"\\\\t// return all users already used\",\"\\\\treturn array_unique($db->loadColumn());\",\"}\",\"return null;\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) can be anything, just not the same as any other default Joomla field type.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) is whether multiple items can be selected at the same time (true or false).\",\"(optional) The field must be filled before submitting the form.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"\",\"\",\"The JFormField sub class that should be extended. The options are (\'list\',\'radio\',\'checkboxes\')\",\"(mandatory) The table being linked to. Must be #__users\",\"(mandatory) The name of the component where this table is found. Must be com_users\",\"(mandatory) The single view name if the place this field is added.\",\"(mandatory) The list view name if the place this field is added.\",\"(mandatory) The name of the text field in table linked to.\",\"(mandatory) The field from the linked table to save in this table as the unique key.\",\"The php for the getGroups method.\",\"The php for the getGroups method.\",\"The php for the getGroups method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\"]}', 'Provides list of users.', '', 1, 845, 845, '2015-03-16 18:07:48', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(8, 2989, '', 'The Editor field type provides a WYSIWYG editor.', 'Editor', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"width\",\"height\",\"cols\",\"rows\",\"buttons\",\"hide\",\"editor\",\"filter\",\"required\"],\"example\":[\"editor\",\"mytextblock\",\"Test Field\",\"Some text\",\"\",\"\",\"\",\"\",\"false\",\"\",\"\",\"safehtml\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be editor.\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (not translatable) is the default value.\",\"(optional) defines the width (in pixels) of the wysiwyg editor and defaults to 100%.\",\"(optional) defines the height (in pixels) of the wysiwyg editor and defaults to 250px.\",\"(optional) defines the width of the editor (in columns).\",\"(optional) defines the height of the editor (in rows).\",\"(optional) can be an array of plugin buttons to be excluded or set to false. The default editors-xtd are: article, image, pagebreak and readmore.\",\"(optional) array of plugin buttons to be hidden. eg... set buttons=\\\"true\\\" hide=\\\"readmore,pagebreak\\\"\",\"specifies the editor to be used and can include two options (editor=\\\"desired|alternative\\\")\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The field must be filled before submitting the form.\"]}', 'provides an editor area field.', '', 1, 845, 450, '2015-03-28 06:44:27', '2015-11-30 06:48:28', '', '0000-00-00 00:00:00', 3, '', 1, ''), -(9, 2990, '', 'The hidden form field type provides a hidden field for saving a field whose value cannot be altered directly by a user in the Administrator (it can be altered in code or by editing the params.ini file). If the parameter has a saved value this is entered i', 'Hidden', '{\"name\":[\"type\",\"name\",\"default\"],\"example\":[\"hidden\",\"mysecretvariable\",\"1\"],\"adjustable\":[\"0\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\"],\"translatable\":[\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be hidden.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) is the data which needs to be collected.\"]}', 'provides a hidden field for saving a form field whose value cannot be altered directly by a user.', '', 1, 845, 845, '2015-05-08 16:17:17', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(10, 2991, '', 'The integer form field type provides a select box with a range of integer values. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Integer', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"class\",\"required\",\"first\",\"last\",\"step\"],\"example\":[\"integer\",\"size\",\"Size\",\"\",\"\",\"text_area\",\"\",\"1\",\"20\",\"5\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be integer.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field must be filled before submitting the form.\",\"(mandatory) this value is the lowest on the list.\",\"(mandatory) this value is the highest on the list.\",\"(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.\"]}', 'provides a drop down list of integers between a minimum and maximum.', '', 1, 845, 845, '2015-04-24 14:22:04', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(11, 2992, '', 'The list form field type provides a drop down list or a list box of custom-defined entries. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'List', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"multiple\",\"filter\",\"required\",\"option\",\"default\"],\"example\":[\"list\",\"mylist\",\"Select an option\",\"\",\"list_class\",\"false\",\"\",\"\",\"0|Option 1,1|Option 2,2|Option 1\",\"0\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be list.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) is whether multiple items can be selected at the same time (true or false).\",\"(optional) filter options\",\"(optional) The field must be filled before submitting the form.\",\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\",\"(optional) is the default list item value.\"]}', 'provides a drop down list of custom-defined entries.', '', 1, 845, 845, '2015-03-16 18:07:48', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(12, 2993, '', 'The media form field type provides modal access to the media manager for the choice of an image. Users with appropriate permissions will be able to upload files.', 'Media', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"directory\",\"preview\"],\"example\":[\"media\",\"media\",\"Media\",\"\",\"\",\"false\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"1\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be media.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(mandatory) is the directory from which the user will be able to choose a file. This attribute should be relative to the top level /images/ folder.\",\"(optional) shows or hides the preview of the currently chosen image. (\\\"true\\\": Show always, \\\"tooltip\\\": Show as tooltip, \\\"false\\\": Show never) (since Joomla! 2.5.5)\"]}', 'provides modal access to the media manager for insertion of images with upload for users with appropriate permissions.', '', 1, 845, 845, '2015-04-24 14:12:43', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(13, 2994, '', 'Provides a meter to show value in a range, updated with jQuery if needed or simply a fixed value.', 'Meter', '{\"name\":[\"type\",\"name\",\"label\",\"width\",\"color\",\"default\",\"animated\",\"active\",\"description\",\"class\",\"min\",\"max\",\"step\"],\"example\":[\"meter\",\"meter\",\"Meter\",\"330px\",\"\",\"9\",\"1\",\"1\",\"Enter some description\",\"\",\"1\",\"20\",\"1\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",null,null,\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",null,null,\"1\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",null,null,\"0\"],\"description\":[\"(mandatory) must be meter.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the width of meter box\",\"(optional) The background color\",\"(optional) (not translatable) is the default value.\",\"(optional) lets the bar have strips\",\"(optional) lets the strips on the bar move\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(mandatory) this value is the min on the meter.\",\"(mandatory) this value is the max on meter.\",\"(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.\"]}', 'Provides a meter to show value in a range.', '', 1, 845, 845, '2015-03-19 14:58:08', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(14, 2995, '', 'This form field makes it possible to create titles, texts, descriptions and even alert boxes. It also allows you to bring order in the settings for extensions, by separating them with useful titles. Or adding descriptions for certain settings (without hav', 'Note', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"heading\",\"class\",\"close\"],\"example\":[\"note\",\"note_one\",\"The notice\",\"The notice description\",\"h4\",\"alert\",\"true\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be note\",\"(mandatory) is the unique name of the field.\",\"(mandatory or optional if using description) (translatable) is the descriptive title of the note \",\"(optional if using label)(translatable) the description/text of the note \",\"(optional) the type of heading element to use for the label (default: h4)\",\"(optional) a class name (or class names), like these examples ( alert, alert alert-info, alert alert-success, alert alert-error )\",\"(optional) a value of \'true\' (for alerts) or the value for the data-dismiss of the bootstrap close icon\"]}', 'supports a one line text field.', '', 1, 845, 845, '2015-04-07 23:16:14', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(15, 2996, '', 'Provides a one line text box with up-down handles to set a number in the field.', 'Number', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"class\",\"required\",\"min\",\"max\",\"step\",\"onchange\"],\"example\":[\"number\",\"number\",\"Number\",\"\",\"\",\"text_area\",\"\",\"1\",\"40\",\"5\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be number.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field must be filled before submitting the form.\",\"(mandatory) this value is the lowest on the list.\",\"(mandatory) this value is the highest on the list.\",\"(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.\",\"(optional) Javascript that should run on changing of the value.\"]}', 'Provides a one line text box with up-down handles to set a number in the field.', '', 1, 845, 845, '2015-04-24 14:22:04', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(16, 2997, '', 'The password form field type provides a text box for entry of a password. The password characters will be obscured as they are entered. If the field has a saved value this is entered (in obscured form) into the text box. If not, the default value (if any)', 'Password', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"message\",\"hint\"],\"example\":[\"password\",\"mypassword\",\"Enter A Password\",\"10\",\"secret\",\"\",\"text_area\",\"false\",\"false\",\"false\",\"raw\",\"Error! Please add password here.\",\"Your Password Here\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be password.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\",\"(optional) is the default password.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\"]}', 'provides a text box for entry of a password. The password characters will be obscured as they are entered.', '', 1, 845, 845, '2015-03-19 14:58:08', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(17, 2998, '', 'The radio form field type provides radio buttons to select different options. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Radio', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"option\",\"default\",\"required\"],\"example\":[\"radio\",\"myradiovalue\",\"Select an option\",\"\",\"btn-group btn-group-yesno\",\"1|Yes,0|No\",\"0\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be radio.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) New in Joomla 3, if set to class=\\\"btn-group btn-group-yesno\\\" will show the nice coloured buttons\",\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\",\"(optional) is the default radio button item value.\",\"(optional) The field must be filled before submitting the form.\"]}', 'provides radio buttons to select different options.', '', 1, 845, 845, '2015-03-16 18:29:51', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(18, 2999, '', 'Provides a horizontal scroll bar to specify a value in a range.', 'Range', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"class\",\"min\",\"max\",\"step\",\"onchange\"],\"example\":[\"range\",\"range\",\"Range\",\"9\",\"Enter some description\",\"\",\"1\",\"20\",\"1\",\"jQuery(\'#jform_range\').closest(\'.controls\').find(\'span\').remove(); var value = jQuery(\'#jform_range\').val();jQuery(\'#jform_range\').closest(\'.controls\').append(\' \'+value+\'\');\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be range.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(mandatory) this value is the min on the meter.\",\"(mandatory) this value is the max on meter.\",\"(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.\",\"(optional) javascript to run when the range is changed\"]}', 'Provides a horizontal scroll bar to specify a value in a range.', '', 1, 845, 845, '2015-03-19 14:58:08', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(19, 3000, '', 'Provides a modal with rows of formfields that you specify. As many options can be added as desired. Note this form field has a jQuery based javascript file as a dependency.', 'Repeatable', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"default\",\"id\",\"class\",\"select\",\"icon\",\"maximum\",\"fields\",\"filter\"],\"example\":[\"repeatable\",\"repeatable_list\",\"The Repeatable List\",\"\",\"\",\"aid\",\"\",\"Click here\",\"list\",\"50\",\"1,2,3\",\"\"],\"adjustable\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\"],\"translatable\":[\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be repeatable.\",\"(mandatory) is the unique name of the parameter\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) description text for the form field. Displays at the top of the modal with the name as well as in the usual position in the form\",\"(optional) The default value for the form field if the field is left empty. Note this has to be a json string compatible with the contents of the form field.\",\"(mandatory) id of the hidden from field. (the modal will have this id with an added suffix of \\\"_modal\\\" and the table within the modal will have this id with a suffix of _modal_table\\\")\",\"(optional) class of the table.\",\"(optional) (translatable) The text to show on the modal button.\",\"(optional) The icon to show on the select button (is prefixed with \\\"icon-\\\").\",\"(optional) The maximum number of rows of fields allowed (by default 999 to be effectively infinite)\",\"(mandatory) The fields to add to the modal. All fields must first be created in component builder as a field before you can add them here, since you must use the id of the field. Separate the field ids with commas. Do not add custom fields that are not also used in this component.\",\"(optional) Use only if you would like to save raw data, since the default is best.\"]}', 'Allows form fields which can have as many options as the user desires.', '', 1, 845, 450, '2015-05-09 16:10:47', '2016-02-18 14:15:08', '', '0000-00-00 00:00:00', 2, '', 1, ''), -(20, 3001, '', 'The spacer form field type provides a visual separator between parameter field elements. It is purely a visual aid and no field value is stored.', 'Spacer', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"hr\",\"class\"],\"example\":[\"spacer\",\"myspacer\",\"The notice\",\"The notice description\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be spacer.\",\"(mandatory) is the unique name of the field.\",\"(optional) (translatable) is the text to use as a spacer.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is whether to display a horizontal rule (\'true\' or \'false\'). If this attribute is \'true\', the label attribute will be ignored.\",\"(optional) is a CSS class name for the HTML form field.\"]}', 'provides a visual separator between form fields. It is purely a visual aid and no value is stored.', '', 1, 845, 845, '2015-04-07 23:16:14', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(21, 3002, '', 'Using this generic form field type forces you to write SQL in an XML file and is rather limited. For more flexibility, consider using Custom FieldType.\r\n\r\nThe sql form field type provides a drop down list of entries obtained by running a query on the Joom', 'SQL', '{\"name\":[\"type\",\"name\",\"label\",\"query\",\"default\",\"required\",\"readonly\",\"disabled\",\"description\",\"key_field\",\"value_field\",\"translate\"],\"example\":[\"sql\",\"title\",\"Select an article\",\"SELECT id, concat( title, \' (\', created, \')\') AS title FROM #__content\",\"10\",\"\",\"\",\"\",\"\",\"id\",\"title\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be sql.\",\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the SQL query which will provide the data for the drop-down list. The query must return two columns; one called \'value\' (unless overridden by the key_field attribute) which will hold the values of the list items; the other called the same as the value of the name attribute (unless overridden by the value_field attribute) containing the text to be shown in the drop-down list.\",\"(optional) is the default value. This is the value of the \'value\' field, unless overridden by the key_field attribute.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is the name of the column that will contain values for the parameter. If omitted then the column called \'value\' will be used, if it exists.\",\"(optional) is the name of the column that will contain values to be shown to the user in the drop-down list. If omitted then the column with the same name as the name attribute will be used, if it exists.\",\"(optional) will translate the output of the value_field if set to true. It defaults to false.\"]}', 'provides a drop down list of entries obtained by running a query on the Joomla Database. The first results column returned by the query provides the values for the drop down box.', '', 1, 845, 845, '2015-04-08 00:23:19', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(22, 3003, '', 'The Tag field type provides a point where you can enter tags - this is either AJAX or nested.', 'Tag', '{\"name\":[\"type\",\"name\",\"mode\",\"label\",\"description\",\"id\",\"class\",\"published\",\"language\",\"multiple\",\"custom\"],\"example\":[\"tag\",\"tags\",\"ajax\",\"Tags\",\"Assign tags to ###VIEW### items. Tag names must be unique.\",\"\",\"inputbox small\",\"\",\"\",\"true\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be tag.\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) is the way the tags will be loaded, the options are ( ajax or nested )\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is the description of the field.\",\"(optional) is the id to add to the field. Note if none is set this will be the name of the field.\",\"(optional) is the class to add to the field.\",\"(optional) determines if non published tags should be allowed.\",\"(optional) is language to filter the existing tags by.\",\"(optional) is the ability to add more than 1 tag to the form field.\",\"(optional) if the ajax mode is chosen setting this to [deny] will prevent users from adding in new tags.\"]}', 'provides an entry point for tags (either AJAX or Nested).', '', 1, 845, 845, '2015-04-12 14:51:34', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(23, 3004, '', 'The tel field type is an alias for a text field. Telephone numbers can be validated using the tel rule and filtered using the tel input filter.', 'Tel', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validated\",\"message\",\"hint\"],\"example\":[\"text\",\"phone\",\"Phone\",\"10\",\"50\",\"\",\"Enter phone number\",\"text_area\",\"false\",\"false\",\"false\",\"tel\",\"tel\",\"Error! Please add phone number here.\",\"Your Phone Number\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\"],\"description\":[\"(mandatory) must be text.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) allow the system to validated the input data.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\"]}', 'provides an input field for a telephone number.', '', 1, 845, 845, '2015-03-19 14:58:08', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(24, 3005, '', 'The text form field type provides a text box for data entry. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Text', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validate\",\"field\",\"message\",\"hint\"],\"example\":[\"text\",\"mytextvalue\",\"Enter some text\",\"10\",\"50\",\"Some text\",\"Enter some description\",\"text_area\",\"false\",\"false\",\"false\",\"STRING\",\"\",\"\",\"Error! Please add some text here.\",\"Your Name Here\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\"],\"description\":[\"(mandatory) must be text.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) makes the system validate the data.\",\"(optional) used in validation of \\\"equals\\\" to link the field to match.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\"]}', 'provides a text box for data entry.', '', 1, 845, 845, '2015-03-19 14:58:08', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(25, 3006, '', 'The textarea form field type provides a text area for entry of multi-line text. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Textarea', '{\"name\":[\"type\",\"name\",\"label\",\"rows\",\"cols\",\"default\",\"description\",\"class\",\"filter\",\"hint\",\"required\"],\"example\":[\"textarea\",\"mytextarea\",\"Enter some text\",\"10\",\"5\",\"default text\",\"Text Area\",\"text_area\",\"raw\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\"],\"description\":[\"(mandatory) must be textarea.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered.\",\"(mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The placeholder to display inside the textarea.\",\"(optional) The field must be filled before submitting the form.\"]}', 'provides a text area for entry of multi-line text.', '', 1, 845, 845, '2015-03-28 06:13:26', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(26, 3007, '', 'The timezones form field type provides a drop down list of time zones. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Timezone', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\"],\"example\":[\"timezone\",\"timezone\",\"Timezone\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\"],\"description\":[\"(mandatory) must be timezone.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default time zone. For example, use \'-10\' for \'(UTC -10:00) Hawaii\'.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"]}', 'provides a drop down list of time zones.', '', 1, 845, 845, '2015-04-24 14:34:46', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(27, 3008, '', 'This field essentially is a text field with the type of url. If a fully qualified url (that is one with a scheme and domain such as http://example.com) is entered and it uses idn (that is uses characters that are non ascii such as ê or Ψ) it will translat', 'URL', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validated\",\"message\",\"hint\"],\"example\":[\"url\",\"website\",\"Website\",\"10\",\"50\",\"\",\"Enter website address\",\"text_area\",\"\",\"\",\"\",\"url\",\"url\",\"Error! Please add website here.\",\"Your Website Here\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\"],\"description\":[\"(mandatory) must be url.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) allow the system to validated the input data.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\"]}', 'provides a URL text input field.', '', 1, 845, 845, '2015-03-19 14:58:08', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 5, ''), -(28, 3009, '', 'The user form field type provides a modal select box of users.', 'User', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"size\",\"required\"],\"example\":[\"user\",\"user\",\"User\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be user.\",\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field.\",\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\",\"(optional) The field must be filled before submitting the form.\"]}', 'provides a modal list of users.', '', 1, 845, 845, '2015-04-24 14:43:52', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(29, 3010, '', 'The usergroup form field type provides a modal select box of user groups.', 'Usergroup', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"size\",\"required\",\"multiple\"],\"example\":[\"usergroup\",\"usergroup\",\"Group\",\"Select a group\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be usergroup.\",\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field.\",\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\",\"(optional) is the field required true if yes.\",\"(optional) If set to multiple then allows more than one usergroup to be selected.\"]}', 'provides a drop down list of user groups.', '', 1, 845, 845, '2015-04-24 07:44:42', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, ''), -(30, 3011, '', 'The filelist form field type provides a drop down list of files from a specified directory. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.\r\n\r\nBy default, the first item on the', 'Filelist', '{\"name\":[\"type\",\"name\",\"label\",\"directory\",\"default\",\"description\",\"filter\",\"exclude\",\"stripext\",\"hide_none\",\"hide_default\"],\"example\":[\"filelist\",\"myfile\",\"Select a file\",\"images/stories\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be filelist.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the filesystem path to the directory containing the files to be listed. If omitted the directory given by JPATH_ROOT is assumed.\",\"(optional) is the default file name.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a regular expression string which is used to filter the list of files selected for inclusion in the drop-down list. If omitted, all files in the directory are included. The filter argument expression is applied before the exclude argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a regular expression string which is used to exclude files from the list. The exclude argument expression is applied after the filter argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a Boolean argument. If true then file name extensions will be stripped from the file names listed. Also note that the file name will be saved without the extension too.\",\"(optional) is a Boolean argument. If true, the \'- Do not use -\' item is omitted from the drop-down list.\",\"(optional) is a Boolean argument. If true, the \'- Use default -\' item is omitted from the drop-down list.\"]}', 'Provides a drop down list of files from a specified directory.', '', 1, 845, 845, '2015-05-13 14:29:36', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, 1), -(31, 3012, '', 'The folderlist form field type provides a drop down list of folders from a specfied directory. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.\r\n\r\nBy default, the first item on ', 'Folderlist', '{\"name\":[\"type\",\"name\",\"label\",\"directory\",\"default\",\"description\",\"filter\",\"exclude\",\"hide_none\",\"hide_default\"],\"example\":[\"folderlist\",\"myfolder\",\"Select a folder\",\"images\",\"\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be folderlist.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the filesystem path to the directory containing the folders to be listed.\",\"(optional) is the default folder name.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a regular expression string which is used to filter the list of folders selected for inclusion in the drop-down list. If omitted, all folders in the directory are included. The filter argument expression is applied before the exclude argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a regular expression string which is used to exclude folders from the list. The exclude argument expression is applied after the filter argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a Boolean argument. If true, the \'- Do not use -\' item is omitted from the drop-down list.\",\"(optional) is a Boolean argument. If true, the \'- Use default -\' item is omitted from the drop-down list.\"]}', 'Provides a drop down list of folders from a specified directory.', '', 1, 845, 845, '2015-05-13 14:35:27', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, 2), -(32, 2333, '', 'Note: When using the file input type you should always add the attribute enctype=\"multipart/form-data\" to your form tag. Otherwise, the uploaded files will not be attached correctly. Note 2: You can put a soft limit file size by adding a hidden field with name=\"MAX_FILE_SIZE\" and value the maximum allowed bytes which is handled by php, but you must also handle it in your code with or without it.', 'File', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"default\",\"size\",\"class\",\"labelclass\",\"disabled\",\"onchange\",\"required\",\"validate\",\"showon\"],\"example\":[\"file\",\"myfilevalue\",\"Enter some text\",\"Choose an image from your computer with maximum 100KB\",\"\",\"10\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be file.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) (not translatable) is the default value, but doesn\'t mean much for a file.\",\"(optional) is the width of the file box in characters.\",\"(optional) is a CSS class name for the HTML form field.\",\"(optional) adds a CSS class for form field\'s label; for Joomla 2.5.4+\",\"(optional) HTML equivalent attribute\",\"(optional) HTML equivalent attribute (javascript use)\",\"(optional) For Joomla form validating it to be filled in\",\"(optional) Whether to Joomla validate the field according to rules\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"]}', 'Provides an input field for files', '', 1, 845, 845, '2015-08-16 17:57:23', '2015-08-25 21:48:33', '', '0000-00-00 00:00:00', 1, '', 1, 3), -(33, 6639, '', 'The menuitem form field type provides a drop down grouped list of the available menu items from your Joomla site.', 'menuitem', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"published\",\"filter\"],\"example\":[\"menuitem\",\"mymenuitem\",\"Select a menu item\",\"\",\"\",\"\",\"int\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"1\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be menuitem.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default menu item. Note that this is the ItemID number of the menu item.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) determines whether all menu items are listed or only published menu items. If state is \'0\' then all menu items will be listed. If state is \'1\' then only published menu items will be listed.\",\"(optional) allow the system to save certain html tags or raw data.\"]}', 'provides a drop down list of the available menu items from your Joomla site.', '', 1, 450, '', '2015-11-14 14:04:11', '0000-00-00 00:00:00', '', '0000-00-00 00:00:00', 1, '', 1, 4); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/uninstall.mysql.utf8.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/uninstall.mysql.utf8.sql deleted file mode 100644 index 3d7b57ac2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/uninstall.mysql.utf8.sql +++ /dev/null @@ -1,11 +0,0 @@ -DROP TABLE IF EXISTS `#__componentbuilder_component`; -DROP TABLE IF EXISTS `#__componentbuilder_admin_view`; -DROP TABLE IF EXISTS `#__componentbuilder_custom_admin_view`; -DROP TABLE IF EXISTS `#__componentbuilder_site_view`; -DROP TABLE IF EXISTS `#__componentbuilder_template`; -DROP TABLE IF EXISTS `#__componentbuilder_layout`; -DROP TABLE IF EXISTS `#__componentbuilder_dynamic_get`; -DROP TABLE IF EXISTS `#__componentbuilder_snippet`; -DROP TABLE IF EXISTS `#__componentbuilder_field`; -DROP TABLE IF EXISTS `#__componentbuilder_fieldtype`; -DROP TABLE IF EXISTS `#__componentbuilder_help_document`; diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.0.0.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.0.0.sql deleted file mode 100644 index d3f5a12fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.0.0.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.0.5.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.0.5.sql deleted file mode 100644 index d3f5a12fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.0.5.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.1.0.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.1.0.sql deleted file mode 100644 index d3f5a12fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/1.1.0.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.0.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.0.sql deleted file mode 100644 index d3f5a12fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.0.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.7.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.7.sql deleted file mode 100644 index 2025d7dba..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.7.sql +++ /dev/null @@ -1,4 +0,0 @@ -ALTER TABLE `#__componentbuilder_component` -ADD `whmcs_key` VARCHAR(255) NOT NULL DEFAULT ''; -ALTER TABLE `#__componentbuilder_component` -ADD `whmcs_url` VARCHAR(255) NOT NULL DEFAULT ''; diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.8.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.8.sql deleted file mode 100644 index d3f5a12fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.8.sql +++ /dev/null @@ -1 +0,0 @@ - diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.9.sql b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.9.sql deleted file mode 100644 index 33af0f956..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/2.0.9.sql +++ /dev/null @@ -1,3 +0,0 @@ -ALTER TABLE `#__componentbuilder_component` ADD `add_php_dashboard_methods` TINYINT( 1 ) NOT NULL AFTER `add_sales_server` , -ADD `php_dashboard_methods` MEDIUMTEXT NOT NULL AFTER `add_php_dashboard_methods` , -ADD `dashboard_tab` TEXT NOT NULL AFTER `php_dashboard_methods` ; diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/sql/updates/mysql/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/admin_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/admin_view.php deleted file mode 100644 index cd7a70482..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/admin_view.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage admin_view.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Admin_views Table class - */ -class ComponentbuilderTableAdmin_view extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_admin_view', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.admin_view')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Admin_view table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New admin_view. A admin_view created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('admin_view', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('admin_view', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.admin_view.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.admin_view.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/component.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/component.php deleted file mode 100644 index 767f1dbdc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/component.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage component.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Components Table class - */ -class ComponentbuilderTableComponent extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_component', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.component')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Component table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New component. A component created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('component', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_COMPONENT_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('component', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.component.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.component.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/custom_admin_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/custom_admin_view.php deleted file mode 100644 index 04d4d35c8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/custom_admin_view.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage custom_admin_view.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Custom_admin_views Table class - */ -class ComponentbuilderTableCustom_admin_view extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_custom_admin_view', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.custom_admin_view')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Custom_admin_view table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New custom_admin_view. A custom_admin_view created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('custom_admin_view', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('custom_admin_view', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.custom_admin_view.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.custom_admin_view.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/dynamic_get.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/dynamic_get.php deleted file mode 100644 index 82d8506bb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/dynamic_get.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage dynamic_get.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Dynamic_gets Table class - */ -class ComponentbuilderTableDynamic_get extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_dynamic_get', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.dynamic_get')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Dynamic_get table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New dynamic_get. A dynamic_get created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('dynamic_get', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('dynamic_get', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.dynamic_get.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.dynamic_get.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/field.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/field.php deleted file mode 100644 index 51853216c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/field.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage field.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Fields Table class - */ -class ComponentbuilderTableField extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_field', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.field')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Field table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New field. A field created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('field', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias, 'catid' => $this->catid)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_FIELD_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('field', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.field.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.field.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/fieldtype.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/fieldtype.php deleted file mode 100644 index 1af4b6362..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/fieldtype.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage fieldtype.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Fieldtypes Table class - */ -class ComponentbuilderTableFieldtype extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_fieldtype', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.fieldtype')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Fieldtype table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New fieldtype. A fieldtype created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('fieldtype', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias, 'catid' => $this->catid)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_FIELDTYPE_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('fieldtype', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.fieldtype.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.fieldtype.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/help_document.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/help_document.php deleted file mode 100644 index a3a124798..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/help_document.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage help_document.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Help_documents Table class - */ -class ComponentbuilderTableHelp_document extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_help_document', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.help_document')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Help_document table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New help_document. A help_document created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('help_document', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('help_document', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.help_document.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.help_document.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/layout.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/layout.php deleted file mode 100644 index dc6aa7ad6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/layout.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage layout.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Layouts Table class - */ -class ComponentbuilderTableLayout extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_layout', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.layout')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Layout table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New layout. A layout created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('layout', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_LAYOUT_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('layout', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.layout.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.layout.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/site_view.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/site_view.php deleted file mode 100644 index 65b4c8af1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/site_view.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site_view.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Site_views Table class - */ -class ComponentbuilderTableSite_view extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_site_view', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.site_view')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Site_view table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New site_view. A site_view created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('site_view', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_SITE_VIEW_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('site_view', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.site_view.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.site_view.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/snippet.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/snippet.php deleted file mode 100644 index e75d09c0d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/snippet.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage snippet.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Snippets Table class - */ -class ComponentbuilderTableSnippet extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_snippet', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.snippet')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Snippet table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New snippet. A snippet created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('snippet', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_SNIPPET_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('snippet', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.snippet.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.snippet.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/template.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/template.php deleted file mode 100644 index 3b530e825..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/tables/template.php +++ /dev/null @@ -1,352 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage template.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -use Joomla\Registry\Registry; - -// import Joomla table library -jimport('joomla.database.table'); - -/** - * Templates Table class - */ -class ComponentbuilderTableTemplate extends JTable -{ - /** - * Ensure the params and metadata in json encoded in the bind method - * - * @var array - * @since 3.3 - */ - protected $_jsonEncode = array('params', 'metadata'); - - /** - * Constructor - * - * @param object Database connector object - */ - function __construct(&$db) - { - parent::__construct('#__componentbuilder_template', 'id', $db); - - // Adding History Options - JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.template')); - } - - public function bind($array, $ignore = '') - { - - if (isset($array['params']) && is_array($array['params'])) - { - $registry = new JRegistry; - $registry->loadArray($array['params']); - $array['params'] = (string) $registry; - } - - if (isset($array['metadata']) && is_array($array['metadata'])) - { - $registry = new JRegistry; - $registry->loadArray($array['metadata']); - $array['metadata'] = (string) $registry; - } - - // Bind the rules. - if (isset($array['rules']) && is_array($array['rules'])) - { - $rules = new JAccessRules($array['rules']); - $this->setRules($rules); - } - return parent::bind($array, $ignore); - } - - /** - * Overload the store method for the Template table. - * - * @param boolean Toggle whether null values should be updated. - * @return boolean True on success, false on failure. - * @since 1.6 - */ - public function store($updateNulls = false) - { - $date = JFactory::getDate(); - $user = JFactory::getUser(); - - if ($this->id) - { - // Existing item - $this->modified = $date->toSql(); - $this->modified_by = $user->get('id'); - } - else - { - // New template. A template created and created_by field can be set by the user, - // so we don't touch either of these if they are set. - if (!(int) $this->created) - { - $this->created = $date->toSql(); - } - if (empty($this->created_by)) - { - $this->created_by = $user->get('id'); - } - } - - if (isset($this->alias)) - { - // Verify that the alias is unique - $table = JTable::getInstance('template', 'ComponentbuilderTable'); - - if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->setError(JText::_('COM_COMPONENTBUILDER_TEMPLATE_ERROR_UNIQUE_ALIAS')); - return false; - } - } - - if (isset($this->url)) - { - // Convert IDN urls to punycode - $this->url = JStringPunycode::urlToPunycode($this->url); - } - if (isset($this->website)) - { - // Convert IDN urls to punycode - $this->website = JStringPunycode::urlToPunycode($this->website); - } - - return parent::store($updateNulls); - } - - /** - * Overloaded check method to ensure data integrity. - * - * @return boolean True on success. - */ - public function check() - { - if (isset($this->alias)) - { - // Generate a valid alias - $this->generateAlias(); - - $table = JTable::getInstance('template', 'componentbuilderTable'); - - while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0)) - { - $this->alias = JString::increment($this->alias, 'dash'); - } - } - - /* - * Clean up keywords -- eliminate extra spaces between phrases - * and cr (\r) and lf (\n) characters from string. - * Only process if not empty. - */ - if (!empty($this->metakey)) - { - // Array of characters to remove. - $bad_characters = array("\n", "\r", "\"", "<", ">"); - - // Remove bad characters. - $after_clean = JString::str_ireplace($bad_characters, "", $this->metakey); - - // Create array using commas as delimiter. - $keys = explode(',', $after_clean); - $clean_keys = array(); - - foreach ($keys as $key) - { - // Ignore blank keywords. - if (trim($key)) - { - $clean_keys[] = trim($key); - } - } - - // Put array back together delimited by ", " - $this->metakey = implode(", ", $clean_keys); - } - - // Clean up description -- eliminate quotes and <> brackets - if (!empty($this->metadesc)) - { - // Only process if not empty - $bad_characters = array("\"", "<", ">"); - $this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc); - } - - // If we don't have any access rules set at this point just use an empty JAccessRules class - if (!$this->getRules()) - { - $rules = $this->getDefaultAssetValues('com_componentbuilder.template.'.$this->id); - $this->setRules($rules); - } - - // Set ordering - if ($this->published < 0) - { - // Set ordering to 0 if state is archived or trashed - $this->ordering = 0; - } - - return true; - } - - /** - * Gets the default asset values for a component. - * - * @param $string $component The component asset name to search for - * - * @return JAccessRules The JAccessRules object for the asset - */ - protected function getDefaultAssetValues($component, $try = true) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - return JAccess::getAssetRules($assetId); - } - // try again - elseif ($try) - { - $try = explode('.',$component); - $result = $this->getDefaultAssetValues($try[0], false); - if ($result instanceof JAccessRules) - { - if (isset($try[1])) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($try[1] !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules; - $rules->mergeCollection($_result); - - return $rules; - } - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - /** - * Method to compute the default name of the asset. - * The default name is in the form 'table_name.id' - * where id is the value of the primary key of the table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetName() - { - $k = $this->_tbl_key; - return 'com_componentbuilder.template.'.(int) $this->$k; - } - - /** - * Method to return the title to use for the asset table. - * - * @return string - * @since 2.5 - */ - protected function _getAssetTitle() - { - if (isset($this->title)) - { - return $this->title; - } - return ''; - } - - /** - * Get the parent asset id for the record - * - * @return int - * @since 2.5 - */ - protected function _getAssetParentId(JTable $table = NULL, $id = NULL) - { - $asset = JTable::getInstance('Asset'); - $asset->loadByName('com_componentbuilder'); - - return $asset->id; - } - - /** - * Generate a valid alias from title / date. - * Remains public to be able to check for duplicated alias before saving - * - * @return string - */ - public function generateAlias() - { - if (empty($this->alias)) - { - $this->alias = $this->name; - } - - $this->alias = JApplication::stringURLSafe($this->alias); - - if (trim(str_replace('-', '', $this->alias)) == '') - { - $this->alias = JFactory::getDate()->format("Y-m-d-H-i-s"); - } - - return $this->alias; - } - -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/submitbutton.js deleted file mode 100644 index 5aafadced..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('admin_view, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/tmpl/edit.php deleted file mode 100644 index e148b748a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/tmpl/edit.php +++ /dev/null @@ -1,515 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - - <?php echo JLayoutHelper::render('admin_view.settings_above', $this); ?><div class="form-horizontal"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'admin_viewTab', array('active' => 'settings')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'settings', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_SETTINGS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('admin_view.settings_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('admin_view.settings_right', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('field.access')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'fields', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_FIELDS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('admin_view.fields_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'css', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CSS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('admin_view.css_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'javascript', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('admin_view.javascript_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'php', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PHP', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('admin_view.php_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'mysql', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('admin_view.mysql_left', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('admin_view.mysql_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'publishing', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('admin_view.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('admin_view.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'permissions', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="admin_view.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('admin_view.settings_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_add_css_view listeners for add_css_view_tKvLPyt function -jQuery('#jform_add_css_view').on('keyup',function() -{ - var add_css_view_tKvLPyt = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - tKvLPyt(add_css_view_tKvLPyt); - -}); -jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) -{ - e.preventDefault(); - var add_css_view_tKvLPyt = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - tKvLPyt(add_css_view_tKvLPyt); - -}); - -// #jform_add_css_views listeners for add_css_views_wgyuFZC function -jQuery('#jform_add_css_views').on('keyup',function() -{ - var add_css_views_wgyuFZC = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - wgyuFZC(add_css_views_wgyuFZC); - -}); -jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) -{ - e.preventDefault(); - var add_css_views_wgyuFZC = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - wgyuFZC(add_css_views_wgyuFZC); - -}); - -// #jform_add_javascript_view_file listeners for add_javascript_view_file_SHLEEpZ function -jQuery('#jform_add_javascript_view_file').on('keyup',function() -{ - var add_javascript_view_file_SHLEEpZ = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - SHLEEpZ(add_javascript_view_file_SHLEEpZ); - -}); -jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e) -{ - e.preventDefault(); - var add_javascript_view_file_SHLEEpZ = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - SHLEEpZ(add_javascript_view_file_SHLEEpZ); - -}); - -// #jform_add_javascript_views_file listeners for add_javascript_views_file_EfCfOzx function -jQuery('#jform_add_javascript_views_file').on('keyup',function() -{ - var add_javascript_views_file_EfCfOzx = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - EfCfOzx(add_javascript_views_file_EfCfOzx); - -}); -jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e) -{ - e.preventDefault(); - var add_javascript_views_file_EfCfOzx = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - EfCfOzx(add_javascript_views_file_EfCfOzx); - -}); - -// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_frTDIrv function -jQuery('#jform_add_javascript_view_footer').on('keyup',function() -{ - var add_javascript_view_footer_frTDIrv = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - frTDIrv(add_javascript_view_footer_frTDIrv); - -}); -jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) -{ - e.preventDefault(); - var add_javascript_view_footer_frTDIrv = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - frTDIrv(add_javascript_view_footer_frTDIrv); - -}); - -// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_lLrWkRm function -jQuery('#jform_add_javascript_views_footer').on('keyup',function() -{ - var add_javascript_views_footer_lLrWkRm = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - lLrWkRm(add_javascript_views_footer_lLrWkRm); - -}); -jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) -{ - e.preventDefault(); - var add_javascript_views_footer_lLrWkRm = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - lLrWkRm(add_javascript_views_footer_lLrWkRm); - -}); - -// #jform_add_php_ajax listeners for add_php_ajax_kzcOMQn function -jQuery('#jform_add_php_ajax').on('keyup',function() -{ - var add_php_ajax_kzcOMQn = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - kzcOMQn(add_php_ajax_kzcOMQn); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) -{ - e.preventDefault(); - var add_php_ajax_kzcOMQn = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - kzcOMQn(add_php_ajax_kzcOMQn); - -}); - -// #jform_add_php_getitem listeners for add_php_getitem_UdvPAik function -jQuery('#jform_add_php_getitem').on('keyup',function() -{ - var add_php_getitem_UdvPAik = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - UdvPAik(add_php_getitem_UdvPAik); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e) -{ - e.preventDefault(); - var add_php_getitem_UdvPAik = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - UdvPAik(add_php_getitem_UdvPAik); - -}); - -// #jform_add_php_getitems listeners for add_php_getitems_NJMbGWQ function -jQuery('#jform_add_php_getitems').on('keyup',function() -{ - var add_php_getitems_NJMbGWQ = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - NJMbGWQ(add_php_getitems_NJMbGWQ); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e) -{ - e.preventDefault(); - var add_php_getitems_NJMbGWQ = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - NJMbGWQ(add_php_getitems_NJMbGWQ); - -}); - -// #jform_add_php_getlistquery listeners for add_php_getlistquery_PnnReaL function -jQuery('#jform_add_php_getlistquery').on('keyup',function() -{ - var add_php_getlistquery_PnnReaL = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - PnnReaL(add_php_getlistquery_PnnReaL); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) -{ - e.preventDefault(); - var add_php_getlistquery_PnnReaL = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - PnnReaL(add_php_getlistquery_PnnReaL); - -}); - -// #jform_add_php_save listeners for add_php_save_riOUVue function -jQuery('#jform_add_php_save').on('keyup',function() -{ - var add_php_save_riOUVue = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - riOUVue(add_php_save_riOUVue); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_save',function (e) -{ - e.preventDefault(); - var add_php_save_riOUVue = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - riOUVue(add_php_save_riOUVue); - -}); - -// #jform_add_php_postsavehook listeners for add_php_postsavehook_fieRhKO function -jQuery('#jform_add_php_postsavehook').on('keyup',function() -{ - var add_php_postsavehook_fieRhKO = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - fieRhKO(add_php_postsavehook_fieRhKO); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e) -{ - e.preventDefault(); - var add_php_postsavehook_fieRhKO = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - fieRhKO(add_php_postsavehook_fieRhKO); - -}); - -// #jform_add_php_allowedit listeners for add_php_allowedit_Ntqckpe function -jQuery('#jform_add_php_allowedit').on('keyup',function() -{ - var add_php_allowedit_Ntqckpe = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - Ntqckpe(add_php_allowedit_Ntqckpe); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e) -{ - e.preventDefault(); - var add_php_allowedit_Ntqckpe = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - Ntqckpe(add_php_allowedit_Ntqckpe); - -}); - -// #jform_add_php_batchcopy listeners for add_php_batchcopy_DfzlXoB function -jQuery('#jform_add_php_batchcopy').on('keyup',function() -{ - var add_php_batchcopy_DfzlXoB = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - DfzlXoB(add_php_batchcopy_DfzlXoB); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e) -{ - e.preventDefault(); - var add_php_batchcopy_DfzlXoB = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - DfzlXoB(add_php_batchcopy_DfzlXoB); - -}); - -// #jform_add_php_batchmove listeners for add_php_batchmove_BzgEtth function -jQuery('#jform_add_php_batchmove').on('keyup',function() -{ - var add_php_batchmove_BzgEtth = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - BzgEtth(add_php_batchmove_BzgEtth); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e) -{ - e.preventDefault(); - var add_php_batchmove_BzgEtth = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - BzgEtth(add_php_batchmove_BzgEtth); - -}); - -// #jform_add_php_before_delete listeners for add_php_before_delete_jcZzgjN function -jQuery('#jform_add_php_before_delete').on('keyup',function() -{ - var add_php_before_delete_jcZzgjN = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - jcZzgjN(add_php_before_delete_jcZzgjN); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e) -{ - e.preventDefault(); - var add_php_before_delete_jcZzgjN = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - jcZzgjN(add_php_before_delete_jcZzgjN); - -}); - -// #jform_add_php_after_delete listeners for add_php_after_delete_BwEUOvn function -jQuery('#jform_add_php_after_delete').on('keyup',function() -{ - var add_php_after_delete_BwEUOvn = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - BwEUOvn(add_php_after_delete_BwEUOvn); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e) -{ - e.preventDefault(); - var add_php_after_delete_BwEUOvn = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - BwEUOvn(add_php_after_delete_BwEUOvn); - -}); - -// #jform_add_sql listeners for add_sql_qXoDvES function -jQuery('#jform_add_sql').on('keyup',function() -{ - var add_sql_qXoDvES = jQuery("#jform_add_sql input[type='radio']:checked").val(); - qXoDvES(add_sql_qXoDvES); - -}); -jQuery('#adminForm').on('change', '#jform_add_sql',function (e) -{ - e.preventDefault(); - var add_sql_qXoDvES = jQuery("#jform_add_sql input[type='radio']:checked").val(); - qXoDvES(add_sql_qXoDvES); - -}); - -// #jform_source listeners for source_ucntutC function -jQuery('#jform_source').on('keyup',function() -{ - var source_ucntutC = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_ucntutC = jQuery("#jform_add_sql input[type='radio']:checked").val(); - ucntutC(source_ucntutC,add_sql_ucntutC); - -}); -jQuery('#adminForm').on('change', '#jform_source',function (e) -{ - e.preventDefault(); - var source_ucntutC = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_ucntutC = jQuery("#jform_add_sql input[type='radio']:checked").val(); - ucntutC(source_ucntutC,add_sql_ucntutC); - -}); - -// #jform_add_sql listeners for add_sql_ucntutC function -jQuery('#jform_add_sql').on('keyup',function() -{ - var source_ucntutC = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_ucntutC = jQuery("#jform_add_sql input[type='radio']:checked").val(); - ucntutC(source_ucntutC,add_sql_ucntutC); - -}); -jQuery('#adminForm').on('change', '#jform_add_sql',function (e) -{ - e.preventDefault(); - var source_ucntutC = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_ucntutC = jQuery("#jform_add_sql input[type='radio']:checked").val(); - ucntutC(source_ucntutC,add_sql_ucntutC); - -}); - -// #jform_source listeners for source_agkLvgV function -jQuery('#jform_source').on('keyup',function() -{ - var source_agkLvgV = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_agkLvgV = jQuery("#jform_add_sql input[type='radio']:checked").val(); - agkLvgV(source_agkLvgV,add_sql_agkLvgV); - -}); -jQuery('#adminForm').on('change', '#jform_source',function (e) -{ - e.preventDefault(); - var source_agkLvgV = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_agkLvgV = jQuery("#jform_add_sql input[type='radio']:checked").val(); - agkLvgV(source_agkLvgV,add_sql_agkLvgV); - -}); - -// #jform_add_sql listeners for add_sql_agkLvgV function -jQuery('#jform_add_sql').on('keyup',function() -{ - var source_agkLvgV = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_agkLvgV = jQuery("#jform_add_sql input[type='radio']:checked").val(); - agkLvgV(source_agkLvgV,add_sql_agkLvgV); - -}); -jQuery('#adminForm').on('change', '#jform_add_sql',function (e) -{ - e.preventDefault(); - var source_agkLvgV = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_agkLvgV = jQuery("#jform_add_sql input[type='radio']:checked").val(); - agkLvgV(source_agkLvgV,add_sql_agkLvgV); - -}); - - -<?php $fieldNrs = range(1,500,1); ?> -jQuery('#jform_addconditions_modal').on('show.bs.modal', function (e) { - <?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addconditions_modal').on('change', '#jform_addconditions_fields_match_field-<?php echo $fieldNr ?>',function (e) { - e.preventDefault(); - // get options - var fieldId_<?php echo $fieldNr ?> = jQuery("#jform_addconditions_fields_match_field-<?php echo $fieldNr ?> option:selected").val(); - getFieldSelectOptions(fieldId_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>); - }); - <?php endforeach; ?> -}); -jQuery('#jform_addtables_modal').on('show.bs.modal', function (e) { - <?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addtables_modal').on('change', '#jform_addtables_fields_table-<?php echo $fieldNr ?>',function (e) { - e.preventDefault(); - // get options - var tableName_<?php echo $fieldNr ?> = jQuery("#jform_addtables_fields_table-<?php echo $fieldNr ?> option:selected").val(); - getTableColumns(tableName_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>); - }); - <?php endforeach; ?> -}); - -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/view.html.php deleted file mode 100644 index f02f1d677..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_view/view.html.php +++ /dev/null @@ -1,230 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Admin_view View class - */ -class ComponentbuilderViewAdmin_view extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('admin_view',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Get Linked view data - $this->bbhfields = $this->get('Bbhfields'); - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('core.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('admin_view.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('core.edit')) - { - // We can save the record. - JToolBarHelper::save('admin_view.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('admin_view.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('admin_view.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::apply('admin_view.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('admin_view.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('admin_view.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('admin_view.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('core.edit')) - { - // We can save the new record - JToolBarHelper::apply('admin_view.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('admin_view.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('admin_view.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('admin_view.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('core.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.admin_view', $this->item->id); - } - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('admin_view.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('admin_view.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('admin_view'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_view.css"); - // Add Ajax Token - $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); - - // Add the CSS for Footable. - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.core.min.css'); - - // Use the Metro Style - if (!isset($this->fooTableStyle) || 0 == $this->fooTableStyle) - { - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.metro.min.css'); - } - // Use the Legacy Style. - elseif (isset($this->fooTableStyle) && 1 == $this->fooTableStyle) - { - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css'); - } - - // Add the JavaScript for Footable - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.sort.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.filter.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.paginate.js'); - - $footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable(); }); jQuery('.nav-tabs').on('click', 'li', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('.footable').trigger('footable_resize'); }"; - $document->addScriptDeclaration($footable); - - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_view/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default.php deleted file mode 100644 index 923d6b247..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=admin_views.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'admin_viewList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=admin_views'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="admin_viewList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_batch_body.php deleted file mode 100644 index 2ef7e3731..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_batch_footer.php deleted file mode 100644 index 4453cbc32..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('admin_view.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_body.php deleted file mode 100644 index 3225ff791..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_body.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('admin_view',$item,'admin_views'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('core.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('core.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'admin_views.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->system_name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->name_single); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->name_list); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->short_description); ?> - </td> - <td class="center"> - <?php if ($canDo->get('core.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'admin_views.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'admin_views.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'admin_views.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'admin_views.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_foot.php deleted file mode 100644 index 207d3f3f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="8"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_head.php deleted file mode 100644 index 4c79d81f4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_head.php +++ /dev/null @@ -1,71 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_LABEL', 'system_name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_LABEL', 'name_single', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_LABEL', 'name_list', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_LABEL', 'short_description', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_ADMIN_VIEW_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_ADMIN_VIEW_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_toolbar.php deleted file mode 100644 index cb79371db..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Admin_views'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/view.html.php deleted file mode 100644 index 4f3b38462..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/admin_views/view.html.php +++ /dev/null @@ -1,254 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Admin_views - */ -class ComponentbuilderViewAdmin_views extends JViewLegacy -{ - /** - * Admin_views view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('admin_views'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('admin_view'); - $this->canEdit = $this->canDo->get('core.edit'); - $this->canState = $this->canDo->get('core.edit.state'); - $this->canCreate = $this->canDo->get('core.create'); - $this->canDelete = $this->canDo->get('core.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_ADMIN_VIEWS'), 'stack'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=admin_views'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('admin_view.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('admin_view.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('admin_views.publish'); - JToolBarHelper::unpublishList('admin_views.unpublish'); - JToolBarHelper::archiveList('admin_views.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('admin_views.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'admin_views.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('admin_views.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('admin_view.export')) - { - JToolBarHelper::custom('admin_views.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('admin_view.import')) - { - JToolBarHelper::custom('admin_views.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('admin_views'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_ADMIN_VIEWS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_views.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.system_name' => JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_SYSTEM_NAME_LABEL'), - 'a.name_single' => JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_SINGLE_LABEL'), - 'a.name_list' => JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LIST_LABEL'), - 'a.short_description' => JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/tmpl/default.php deleted file mode 100644 index 22c39b651..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/tmpl/default.php +++ /dev/null @@ -1,153 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -JHtml::_('jquery.framework'); -?> - -<script type="text/javascript"> -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var component = jQuery('#component').val(); - var isValid = true; - - if(component == "" && task == 'compiler.compiler'){ - isValid = false; - } - if (isValid){ - jQuery('#form').hide(); - Joomla.submitform(task); - if (task == 'compiler.compiler'){ - jQuery('#compiler').show(); - } else if (task == 'compiler.clearTmp'){ - jQuery('#loading').css('display', 'block'); - jQuery('#clear').show(); - } else { - jQuery('#loading').css('display', 'block'); - } - return true; - } else { - jQuery('.notice').show(); - return false; - } - } -} - -// Add spindle-wheel for importations: -jQuery(document).ready(function($) { - var outerDiv = $('body'); - - $('<div id="loading"></div>') - .css("background", "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/import.gif') 50% 15% no-repeat") - .css("top", outerDiv.position().top - $(window).scrollTop()) - .css("left", outerDiv.position().left - $(window).scrollLeft()) - .css("width", outerDiv.width()) - .css("height", outerDiv.height()) - .css("position", "fixed") - .css("opacity", "0.80") - .css("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)") - .css("filter", "alpha(opacity = 80)") - .css("display", "none") - .appendTo(outerDiv); -}); -</script> -<?php if(!empty( $this->sidebar)): ?> -<div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> -</div> -<div id="j-main-container" class="span10"> -<?php else: ?> -<div id="j-main-container"> -<?php endif; ?> - <div id="form"> - <h1>Ready to compile your component</h1> - <form action="index.php?option=com_componentbuilder&view=compiler" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - <div> - <span class="notice" style="display:none; color:red;">You must select a component!</span><br /> - <?php if ($this->form): ?> - <?php foreach ($this->form as $field): ?> - <div class="control-group"> - <div class="control-label"><?php echo $field->label;?></div> - <div class="controls"><?php echo $field->input;?></div> - </div> - <?php endforeach; ?> - <?php endif; ?> - </div> - <br /> - <div class="clearfix"></div> - <button class="btn btn-small btn-success" onclick="Joomla.submitbutton('compiler.compiler')"><span class="icon-cog icon-white"></span> - Compile Component - </button> - <input type="hidden" name="version" value="3" /> - <input type="hidden" name="task" value="compiler.compiler" /> - <?php echo JHtml::_('form.token'); ?> - </form> - </div> - <div id="clear" style="display:none;"> - <h1>Please wait! Clearing the tmp folder <span class="loading-dots">.</span></h1> - <div class="clearfix"></div> - </div> - <div id="compiler" style="display:none;"> - <h1>Please wait! Compiling the component <span class="loading-dots">.</span></h1> - <img src="components/com_componentbuilder/assets/images/ajax-loader.gif" /> - <div class="clearfix"></div> - </div> -</div> -<script> -jQuery('#adminForm').on('change', '#component',function (e) -{ - var component = jQuery('#component').val(); - if(component == ""){ - jQuery('.notice').show(); - } - else - { - jQuery('.notice').hide(); - } -}); -// nice little dot trick :) -jQuery(document).ready( function($) { - var x=0; - setInterval(function() { - var dots = ""; - x++; - for (var y=0; y < x%8; y++) { - dots+="."; - } - $(".loading-dots").text(dots); - } , 500); -}); -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/view.html.php deleted file mode 100644 index 169b5f8db..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/compiler/view.html.php +++ /dev/null @@ -1,147 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder Compiler View - */ -class ComponentbuilderViewCompiler extends JViewLegacy -{ - /** - * Componentbuilder view display method - * @return void - */ - function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))){ - JError::raiseError(500, implode('<br />', $errors)); - return false; - }; - - $this->Components = $this->get('Components'); - $this->form = $this->setForm(); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('compiler'); - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - $canDo = ComponentbuilderHelper::getActions('compiler'); - JToolBarHelper::title(JText::_('Compiler'), 'cogs'); - - if($canDo->get('core.admin') || $canDo->get('core.options')) - { - JToolBarHelper::custom('compiler.clearTmp', 'purge', '', 'Clear tmp', false); - JToolBarHelper::divider(); - JToolBarHelper::preferences('com_componentbuilder'); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('compiler'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - public function setForm() - { - if(ComponentbuilderHelper::checkArray($this->Components)){ - jimport('joomla.form.form'); - - $radio1 = JFormHelper::loadFieldType('radio',true); - // start building add to sales folder xml field - $xml = '<field label="Add to Backup Folder &amp; Sales Server &lt;small&gt;(if set)&lt;/small&gt;" description="" name="backup" type="radio" class="btn-group btn-group-yesno" default="0">'; - $xml .= '<option value="1">Yes</option> <option value="0">No</option>'; - $xml .= "</field>"; - // prepare the xml - $sales = new SimpleXMLElement($xml); - // set components to form - $radio1->setup($sales,0); - - $radio2 = JFormHelper::loadFieldType('radio',true); - // start building add to git folder xml field - $xml = '<field label="Add to Git Folder" description="" name="git" type="radio" class="btn-group btn-group-yesno" default="1">'; - $xml .= '<option value="1">Yes</option> <option value="0">No</option>'; - $xml .= "</field>"; - // prepare the xml - $git = new SimpleXMLElement($xml); - // set components to form - $radio2->setup($git,1); - - $list = JFormHelper::loadFieldType('list',true); - // start building componet xml field - $xml = '<field label="Components" description="" name="component" type="list" class="btn-group" required="true">'; - $xml .= '<option value="">- Select Component -</option>'; - foreach($this->Components as $componet){ - $xml .= '<option value="'.$componet->id.'">'.$componet->name.'</option>'; - } - $xml .= "</field>"; - // prepare the xml - $componets = new SimpleXMLElement($xml); - // set components to form - $list->setup($componets,0); - - return array($radio1,$radio2,$list); - } - return false; - } - - /** - * Method to set up the document properties - * - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - - $document->setTitle(JText::_('The Compiler')); - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/submitbutton.js deleted file mode 100644 index 1c8432f77..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('component, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/tmpl/edit.php deleted file mode 100644 index 779fcf8ef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/tmpl/edit.php +++ /dev/null @@ -1,374 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - - <?php echo JLayoutHelper::render('component.details_above', $this); ?><div class="form-horizontal"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'componentTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'details', JText::_('COM_COMPONENTBUILDER_COMPONENT_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('component.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('component.details_right', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'settings', JText::_('COM_COMPONENTBUILDER_COMPONENT_SETTINGS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('component.settings_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('component.settings_right', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'scripts', JText::_('COM_COMPONENTBUILDER_COMPONENT_SCRIPTS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('component.scripts_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'readme', JText::_('COM_COMPONENTBUILDER_COMPONENT_README', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('component.readme_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('component.readme_right', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('admin_view.access')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'admin_views', JText::_('COM_COMPONENTBUILDER_COMPONENT_ADMIN_VIEWS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('component.admin_views_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('site_view.access')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'site_views', JText::_('COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('component.site_views_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'ftp_servers', JText::_('COM_COMPONENTBUILDER_COMPONENT_FTP_SERVERS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('component.ftp_servers_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'publishing', JText::_('COM_COMPONENTBUILDER_COMPONENT_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('component.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('component.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="component.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('component.details_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_add_php_helper_admin listeners for add_php_helper_admin_yZoKbtN function -jQuery('#jform_add_php_helper_admin').on('keyup',function() -{ - var add_php_helper_admin_yZoKbtN = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); - yZoKbtN(add_php_helper_admin_yZoKbtN); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_helper_admin',function (e) -{ - e.preventDefault(); - var add_php_helper_admin_yZoKbtN = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); - yZoKbtN(add_php_helper_admin_yZoKbtN); - -}); - -// #jform_add_php_helper_site listeners for add_php_helper_site_LrnMZHa function -jQuery('#jform_add_php_helper_site').on('keyup',function() -{ - var add_php_helper_site_LrnMZHa = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); - LrnMZHa(add_php_helper_site_LrnMZHa); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_helper_site',function (e) -{ - e.preventDefault(); - var add_php_helper_site_LrnMZHa = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); - LrnMZHa(add_php_helper_site_LrnMZHa); - -}); - -// #jform_add_css listeners for add_css_RWqVUxB function -jQuery('#jform_add_css').on('keyup',function() -{ - var add_css_RWqVUxB = jQuery("#jform_add_css input[type='radio']:checked").val(); - RWqVUxB(add_css_RWqVUxB); - -}); -jQuery('#adminForm').on('change', '#jform_add_css',function (e) -{ - e.preventDefault(); - var add_css_RWqVUxB = jQuery("#jform_add_css input[type='radio']:checked").val(); - RWqVUxB(add_css_RWqVUxB); - -}); - -// #jform_add_sql listeners for add_sql_rTuBFxb function -jQuery('#jform_add_sql').on('keyup',function() -{ - var add_sql_rTuBFxb = jQuery("#jform_add_sql input[type='radio']:checked").val(); - rTuBFxb(add_sql_rTuBFxb); - -}); -jQuery('#adminForm').on('change', '#jform_add_sql',function (e) -{ - e.preventDefault(); - var add_sql_rTuBFxb = jQuery("#jform_add_sql input[type='radio']:checked").val(); - rTuBFxb(add_sql_rTuBFxb); - -}); - -// #jform_emptycontributors listeners for emptycontributors_jOrwvlc function -jQuery('#jform_emptycontributors').on('keyup',function() -{ - var emptycontributors_jOrwvlc = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); - jOrwvlc(emptycontributors_jOrwvlc); - -}); -jQuery('#adminForm').on('change', '#jform_emptycontributors',function (e) -{ - e.preventDefault(); - var emptycontributors_jOrwvlc = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); - jOrwvlc(emptycontributors_jOrwvlc); - -}); - -// #jform_add_license listeners for add_license_DfGhWDE function -jQuery('#jform_add_license').on('keyup',function() -{ - var add_license_DfGhWDE = jQuery("#jform_add_license input[type='radio']:checked").val(); - DfGhWDE(add_license_DfGhWDE); - -}); -jQuery('#adminForm').on('change', '#jform_add_license',function (e) -{ - e.preventDefault(); - var add_license_DfGhWDE = jQuery("#jform_add_license input[type='radio']:checked").val(); - DfGhWDE(add_license_DfGhWDE); - -}); - -// #jform_add_admin_event listeners for add_admin_event_BdzNovg function -jQuery('#jform_add_admin_event').on('keyup',function() -{ - var add_admin_event_BdzNovg = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); - BdzNovg(add_admin_event_BdzNovg); - -}); -jQuery('#adminForm').on('change', '#jform_add_admin_event',function (e) -{ - e.preventDefault(); - var add_admin_event_BdzNovg = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); - BdzNovg(add_admin_event_BdzNovg); - -}); - -// #jform_add_site_event listeners for add_site_event_ZxGUGnh function -jQuery('#jform_add_site_event').on('keyup',function() -{ - var add_site_event_ZxGUGnh = jQuery("#jform_add_site_event input[type='radio']:checked").val(); - ZxGUGnh(add_site_event_ZxGUGnh); - -}); -jQuery('#adminForm').on('change', '#jform_add_site_event',function (e) -{ - e.preventDefault(); - var add_site_event_ZxGUGnh = jQuery("#jform_add_site_event input[type='radio']:checked").val(); - ZxGUGnh(add_site_event_ZxGUGnh); - -}); - -// #jform_addreadme listeners for addreadme_fnEKCCg function -jQuery('#jform_addreadme').on('keyup',function() -{ - var addreadme_fnEKCCg = jQuery("#jform_addreadme input[type='radio']:checked").val(); - fnEKCCg(addreadme_fnEKCCg); - -}); -jQuery('#adminForm').on('change', '#jform_addreadme',function (e) -{ - e.preventDefault(); - var addreadme_fnEKCCg = jQuery("#jform_addreadme input[type='radio']:checked").val(); - fnEKCCg(addreadme_fnEKCCg); - -}); - -// #jform_add_update_server listeners for add_update_server_dKJKyYg function -jQuery('#jform_add_update_server').on('keyup',function() -{ - var add_update_server_dKJKyYg = jQuery("#jform_add_update_server input[type='radio']:checked").val(); - dKJKyYg(add_update_server_dKJKyYg); - -}); -jQuery('#adminForm').on('change', '#jform_add_update_server',function (e) -{ - e.preventDefault(); - var add_update_server_dKJKyYg = jQuery("#jform_add_update_server input[type='radio']:checked").val(); - dKJKyYg(add_update_server_dKJKyYg); - -}); - -// #jform_add_sales_server listeners for add_sales_server_FWlhVPM function -jQuery('#jform_add_sales_server').on('keyup',function() -{ - var add_sales_server_FWlhVPM = jQuery("#jform_add_sales_server input[type='radio']:checked").val(); - FWlhVPM(add_sales_server_FWlhVPM); - -}); -jQuery('#adminForm').on('change', '#jform_add_sales_server',function (e) -{ - e.preventDefault(); - var add_sales_server_FWlhVPM = jQuery("#jform_add_sales_server input[type='radio']:checked").val(); - FWlhVPM(add_sales_server_FWlhVPM); - -}); - -// #jform_add_license listeners for add_license_OCbXDSr function -jQuery('#jform_add_license').on('keyup',function() -{ - var add_license_OCbXDSr = jQuery("#jform_add_license input[type='radio']:checked").val(); - OCbXDSr(add_license_OCbXDSr); - -}); -jQuery('#adminForm').on('change', '#jform_add_license',function (e) -{ - e.preventDefault(); - var add_license_OCbXDSr = jQuery("#jform_add_license input[type='radio']:checked").val(); - OCbXDSr(add_license_OCbXDSr); - -}); - -// #jform_add_php_dashboard_methods listeners for add_php_dashboard_methods_HiUlIxx function -jQuery('#jform_add_php_dashboard_methods').on('keyup',function() -{ - var add_php_dashboard_methods_HiUlIxx = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); - HiUlIxx(add_php_dashboard_methods_HiUlIxx); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_dashboard_methods',function (e) -{ - e.preventDefault(); - var add_php_dashboard_methods_HiUlIxx = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); - HiUlIxx(add_php_dashboard_methods_HiUlIxx); - -}); - - - -<?php $fieldNrs = range(1,10,1); ?> -<?php foreach($fieldNrs as $nr): ?>jQuery('body').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) { - // update the icon if changed - var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val(); - var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-'); - var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn'; - var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>); - // build new span - var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>'; - // remove old one - jQuery('#icon_'+target_<?php echo $nr; ?>).remove(); - // add the new icon - div_<?php echo $nr; ?>.closest("td").append(span); -}); - -jQuery(document).ready(function() { - // get type value - var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val(); - var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-'); - var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn'; - var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>); - // build new span - var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>'; - // remove old one - jQuery('#icon_'+target_<?php echo $nr; ?>).remove(); - // add the new icon - div_<?php echo $nr; ?>.closest("td").append(span); -}); -<?php endforeach; ?> -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/view.html.php deleted file mode 100644 index 7b74653e1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/component/view.html.php +++ /dev/null @@ -1,226 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Component View class - */ -class ComponentbuilderViewComponent extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('component',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Get Linked view data - $this->lugadmin_views = $this->get('Lugadmin_views'); - - // Get Linked view data - $this->nzfsite_views = $this->get('Nzfsite_views'); - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('core.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('component.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('core.edit')) - { - // We can save the record. - JToolBarHelper::save('component.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('component.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('component.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::apply('component.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('component.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('component.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('component.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('core.edit')) - { - // We can save the new record - JToolBarHelper::apply('component.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('component.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('component.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('component.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('component.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('component'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_COMPONENT_NEW' : 'COM_COMPONENTBUILDER_COMPONENT_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/component.css"); - - // Add the CSS for Footable. - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.core.min.css'); - - // Use the Metro Style - if (!isset($this->fooTableStyle) || 0 == $this->fooTableStyle) - { - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.metro.min.css'); - } - // Use the Legacy Style. - elseif (isset($this->fooTableStyle) && 1 == $this->fooTableStyle) - { - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css'); - } - - // Add the JavaScript for Footable - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.sort.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.filter.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.paginate.js'); - - $footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable(); }); jQuery('.nav-tabs').on('click', 'li', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('.footable').trigger('footable_resize'); }"; - $document->addScriptDeclaration($footable); - - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/component/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default.php deleted file mode 100644 index 82b644511..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default.php +++ /dev/null @@ -1,48 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::_('behavior.tooltip'); - -?> -<div id="j-main-container"> - <div class="span9"> - <?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_left', array('active' => 'main')); ?> - <?php echo JHtml::_('bootstrap.addSlide', 'dashboard_left', 'cPanel', 'main'); ?> - <?php echo $this->loadTemplate('main');?> - <?php echo JHtml::_('bootstrap.endSlide'); ?> - <?php echo JHtml::_('bootstrap.endAccordion'); ?> - </div> - <div class="span3"> - <?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_right', array('active' => 'vdm')); ?> - <?php echo JHtml::_('bootstrap.addSlide', 'dashboard_right', 'Vast Development Method', 'vdm'); ?> - <?php echo $this->loadTemplate('vdm');?> - <?php echo JHtml::_('bootstrap.endSlide'); ?> - <?php echo JHtml::_('bootstrap.endAccordion'); ?> - </div> -</div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default_main.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default_main.php deleted file mode 100644 index 3d4254c71..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default_main.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_main.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<?php if(is_array($this->icons['main'])) :?> - <?php foreach($this->icons['main'] as $icon): ?> - <div class="dashboard-wraper"> - <div class="dashboard-content"> - <a class="icon" href="<?php echo $icon->url; ?>"> - <img alt="<?php echo $icon->alt; ?>" src="components/com_componentbuilder/assets/images/icons/<?php echo $icon->image; ?>"> - <span class="dashboard-title"><?php echo JText::_($icon->name); ?></span> - </a> - </div> - </div> - <?php endforeach; ?> -<div class="clearfix"></div> -<?php endif; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default_vdm.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default_vdm.php deleted file mode 100644 index b13a8aa06..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/default_vdm.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_vdm.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$manifest = ComponentbuilderHelper::manifest(); -JHtml::_('bootstrap.loadCss'); - -?> -<img alt="<?php echo JText::_('COM_COMPONENTBUILDER'); ?>" src="components/com_componentbuilder/assets/images/component-300.png"> -<ul class="list-striped"> -<li><b><?php echo JText::_('COM_COMPONENTBUILDER_VERSION'); ?>:</b> <?php echo $manifest->version; ?></li> -<li><b><?php echo JText::_('COM_COMPONENTBUILDER_DATE'); ?>:</b> <?php echo $manifest->creationDate; ?></li> -<li><b><?php echo JText::_('COM_COMPONENTBUILDER_AUTHOR'); ?>:</b> <a href="mailto:<?php echo $manifest->authorEmail; ?>"><?php echo $manifest->author; ?></a></li> -<li><b><?php echo JText::_('COM_COMPONENTBUILDER_WEBSITE'); ?>:</b> <a href="<?php echo $manifest->authorUrl; ?>" target="_blank"><?php echo $manifest->authorUrl; ?></a></li> -<li><b><?php echo JText::_('COM_COMPONENTBUILDER_LICENSE'); ?>:</b> <?php echo $manifest->license; ?></li> -<li><b><?php echo $manifest->copyright; ?></b></li> -</ul> -<div class="clearfix"></div> -<?php if(ComponentbuilderHelper::checkArray($this->contributors)): ?> -<?php if(count($this->contributors) > 1): ?> -<h3><?php echo JText::_('COM_COMPONENTBUILDER_CONTRIBUTORS'); ?></h3> -<?php else: ?> -<h3><?php echo JText::_('COM_COMPONENTBUILDER_CONTRIBUTOR'); ?></h3> -<?php endif; ?> -<ul class="list-striped"> - <?php foreach($this->contributors as $contributor): ?> - <li><b><?php echo $contributor['title']; ?>:</b> <?php echo $contributor['name']; ?></li> - <?php endforeach; ?> -</ul> -<div class="clearfix"></div> -<?php endif; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/view.html.php deleted file mode 100644 index cd9119741..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/componentbuilder/view.html.php +++ /dev/null @@ -1,99 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class - */ -class ComponentbuilderViewComponentbuilder extends JViewLegacy -{ - /** - * View display method - * @return void - */ - function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - }; - // Assign data to the view - $this->icons = $this->get('Icons'); - $this->contributors = ComponentbuilderHelper::getContributors(); - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - $canDo = ComponentbuilderHelper::getActions('componentbuilder'); - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_DASHBOARD'), 'grid-2'); - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('componentbuilder'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - if ($canDo->get('core.admin') || $canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - } - - /** - * Method to set up the document properties - * - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/dashboard.css"); - - $document->setTitle(JText::_('COM_COMPONENTBUILDER_DASHBOARD')); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default.php deleted file mode 100644 index 4590967af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=components.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'componentList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=components'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="componentList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_COMPONENTS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_batch_body.php deleted file mode 100644 index 6b69d6d92..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_COMPONENTS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_batch_footer.php deleted file mode 100644 index 10da4f1a0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('component.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_body.php deleted file mode 100644 index dedbd3daf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_body.php +++ /dev/null @@ -1,124 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=components&task=component.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('component',$item,'components'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('core.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('core.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'components.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->system_name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->name_code); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->component_version); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->short_description); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->companyname); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->author); ?> - </td> - <td class="center"> - <?php if ($canDo->get('core.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'components.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'components.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'components.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'components.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_foot.php deleted file mode 100644 index 96de260dc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="10"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_head.php deleted file mode 100644 index 65f3e86c1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_head.php +++ /dev/null @@ -1,77 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_LABEL', 'system_name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_LABEL', 'name_code', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_LABEL', 'component_version', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_LABEL', 'short_description', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_LABEL', 'companyname', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_AUTHOR_LABEL', 'author', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_COMPONENT_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_COMPONENT_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_toolbar.php deleted file mode 100644 index 098faee2a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Components'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/view.html.php deleted file mode 100644 index bb0b45ff7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/components/view.html.php +++ /dev/null @@ -1,364 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Components - */ -class ComponentbuilderViewComponents extends JViewLegacy -{ - /** - * Components view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('components'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('component'); - $this->canEdit = $this->canDo->get('core.edit'); - $this->canState = $this->canDo->get('core.edit.state'); - $this->canCreate = $this->canDo->get('core.create'); - $this->canDelete = $this->canDo->get('core.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_COMPONENTS'), 'joomla'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=components'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('component.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('component.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('components.publish'); - JToolBarHelper::unpublishList('components.unpublish'); - JToolBarHelper::archiveList('components.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('components.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'components.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('components.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('component.export')) - { - JToolBarHelper::custom('components.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('component.import')) - { - JToolBarHelper::custom('components.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('components'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - - // Set Companyname Selection - $this->companynameOptions = $this->getTheCompanynameSelections(); - if ($this->companynameOptions) - { - // Companyname Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_LABEL').' -', - 'filter_companyname', - JHtml::_('select.options', $this->companynameOptions, 'value', 'text', $this->state->get('filter.companyname')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Companyname Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_LABEL').' -', - 'batch[companyname]', - JHtml::_('select.options', $this->companynameOptions, 'value', 'text') - ); - } - } - - // Set Author Selection - $this->authorOptions = $this->getTheAuthorSelections(); - if ($this->authorOptions) - { - // Author Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_COMPONENT_AUTHOR_LABEL').' -', - 'filter_author', - JHtml::_('select.options', $this->authorOptions, 'value', 'text', $this->state->get('filter.author')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Author Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_COMPONENT_AUTHOR_LABEL').' -', - 'batch[author]', - JHtml::_('select.options', $this->authorOptions, 'value', 'text') - ); - } - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_COMPONENTS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/components.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.system_name' => JText::_('COM_COMPONENTBUILDER_COMPONENT_SYSTEM_NAME_LABEL'), - 'a.name_code' => JText::_('COM_COMPONENTBUILDER_COMPONENT_NAME_CODE_LABEL'), - 'a.component_version' => JText::_('COM_COMPONENTBUILDER_COMPONENT_COMPONENT_VERSION_LABEL'), - 'a.short_description' => JText::_('COM_COMPONENTBUILDER_COMPONENT_SHORT_DESCRIPTION_LABEL'), - 'a.companyname' => JText::_('COM_COMPONENTBUILDER_COMPONENT_COMPANYNAME_LABEL'), - 'a.author' => JText::_('COM_COMPONENTBUILDER_COMPONENT_AUTHOR_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } - - protected function getTheCompanynameSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('companyname')); - $query->from($db->quoteName('#__componentbuilder_component')); - $query->order($db->quoteName('companyname') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - $results = array_unique($results); - $filter = array(); - foreach ($results as $companyname) - { - // Now add the companyname and its text to the options array - $filter[] = JHtml::_('select.option', $companyname, $companyname); - } - return $filter; - } - return false; - } - - protected function getTheAuthorSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('author')); - $query->from($db->quoteName('#__componentbuilder_component')); - $query->order($db->quoteName('author') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - $results = array_unique($results); - $filter = array(); - foreach ($results as $author) - { - // Now add the author and its text to the options array - $filter[] = JHtml::_('select.option', $author, $author); - } - return $filter; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/submitbutton.js deleted file mode 100644 index e9104f904..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('custom_admin_view, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/tmpl/edit.php deleted file mode 100644 index 67ba9cbdd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/tmpl/edit.php +++ /dev/null @@ -1,339 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - - <?php echo JLayoutHelper::render('custom_admin_view.details_above', $this); ?><div class="form-horizontal span9"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'custom_admin_viewTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'custom_admin_viewTab', 'details', JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('custom_admin_view.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('custom_admin_view.details_right', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('custom_admin_view.details_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'custom_admin_viewTab', 'custom_buttons', JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_BUTTONS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('custom_admin_view.custom_buttons_left', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('custom_admin_view.custom_buttons_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'custom_admin_viewTab', 'custom_script', JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_SCRIPT', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('custom_admin_view.custom_script_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'custom_admin_viewTab', 'publishing', JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('custom_admin_view.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('custom_admin_view.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'custom_admin_viewTab', 'permissions', JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="custom_admin_view.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div><div class="span3"> - <?php echo JLayoutHelper::render('custom_admin_view.details_rightside', $this); ?> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('custom_admin_view.details_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_add_php_view listeners for add_php_view_UUvygXS function -jQuery('#jform_add_php_view').on('keyup',function() -{ - var add_php_view_UUvygXS = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - UUvygXS(add_php_view_UUvygXS); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) -{ - e.preventDefault(); - var add_php_view_UUvygXS = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - UUvygXS(add_php_view_UUvygXS); - -}); - -// #jform_add_php_jview_display listeners for add_php_jview_display_aMHMMMU function -jQuery('#jform_add_php_jview_display').on('keyup',function() -{ - var add_php_jview_display_aMHMMMU = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - aMHMMMU(add_php_jview_display_aMHMMMU); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) -{ - e.preventDefault(); - var add_php_jview_display_aMHMMMU = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - aMHMMMU(add_php_jview_display_aMHMMMU); - -}); - -// #jform_add_php_jview listeners for add_php_jview_rkKRbUp function -jQuery('#jform_add_php_jview').on('keyup',function() -{ - var add_php_jview_rkKRbUp = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - rkKRbUp(add_php_jview_rkKRbUp); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) -{ - e.preventDefault(); - var add_php_jview_rkKRbUp = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - rkKRbUp(add_php_jview_rkKRbUp); - -}); - -// #jform_add_php_document listeners for add_php_document_huIKQJI function -jQuery('#jform_add_php_document').on('keyup',function() -{ - var add_php_document_huIKQJI = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - huIKQJI(add_php_document_huIKQJI); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) -{ - e.preventDefault(); - var add_php_document_huIKQJI = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - huIKQJI(add_php_document_huIKQJI); - -}); - -// #jform_add_css_document listeners for add_css_document_FzngrWQ function -jQuery('#jform_add_css_document').on('keyup',function() -{ - var add_css_document_FzngrWQ = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - FzngrWQ(add_css_document_FzngrWQ); - -}); -jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) -{ - e.preventDefault(); - var add_css_document_FzngrWQ = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - FzngrWQ(add_css_document_FzngrWQ); - -}); - -// #jform_add_js_document listeners for add_js_document_hIoOslI function -jQuery('#jform_add_js_document').on('keyup',function() -{ - var add_js_document_hIoOslI = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - hIoOslI(add_js_document_hIoOslI); - -}); -jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) -{ - e.preventDefault(); - var add_js_document_hIoOslI = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - hIoOslI(add_js_document_hIoOslI); - -}); - -// #jform_add_custom_button listeners for add_custom_button_xzMZcFN function -jQuery('#jform_add_custom_button').on('keyup',function() -{ - var add_custom_button_xzMZcFN = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - xzMZcFN(add_custom_button_xzMZcFN); - -}); -jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) -{ - e.preventDefault(); - var add_custom_button_xzMZcFN = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - xzMZcFN(add_custom_button_xzMZcFN); - -}); - -// #jform_add_css listeners for add_css_pXgrNrI function -jQuery('#jform_add_css').on('keyup',function() -{ - var add_css_pXgrNrI = jQuery("#jform_add_css input[type='radio']:checked").val(); - pXgrNrI(add_css_pXgrNrI); - -}); -jQuery('#adminForm').on('change', '#jform_add_css',function (e) -{ - e.preventDefault(); - var add_css_pXgrNrI = jQuery("#jform_add_css input[type='radio']:checked").val(); - pXgrNrI(add_css_pXgrNrI); - -}); - - -jQuery(function() { - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); -}); - -jQuery.fn.selText = function() { - var obj = this[0]; - if (jQuery.browser.msie) { - var range = obj.offsetParent.createTextRange(); - range.moveToElementText(obj); - range.select(); - } else if (jQuery.browser.mozilla || $.browser.opera) { - var selection = obj.ownerDocument.defaultView.getSelection(); - var range = obj.ownerDocument.createRange(); - range.selectNodeContents(obj); - selection.removeAllRanges(); - selection.addRange(range); - } else if (jQuery.browser.safari) { - var selection = obj.ownerDocument.defaultView.getSelection(); - selection.setBaseAndExtent(obj, 0, obj, 1); - } - return this; -} - -jQuery('#adminForm').on('change', '#jform_snippet',function (e) { - e.preventDefault(); - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery(document).ready(function() { - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery('#adminForm').on('change', '#jform_dynamic_get',function (e) { - e.preventDefault(); - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - -jQuery(document).ready(function() { - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - - -jQuery(document).ready(function() { - // get type value - getLayoutDetails(9999); - getTemplateDetails(9999); - getDynamicFormDetails(9999); -}); -<?php $fieldNrs = range(1,10,1); ?> -<?php foreach($fieldNrs as $nr): ?>jQuery('body').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) { - // update the icon if changed - var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val(); - var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-'); - var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn'; - var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>); - // build new span - var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>'; - // remove old one - jQuery('#icon_'+target_<?php echo $nr; ?>).remove(); - // add the new icon - div_<?php echo $nr; ?>.closest("td").append(span); -}); - -jQuery(document).ready(function() { - // get type value - var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val(); - var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-'); - var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn'; - var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>); - // build new span - var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>'; - // remove old one - jQuery('#icon_'+target_<?php echo $nr; ?>).remove(); - // add the new icon - div_<?php echo $nr; ?>.closest("td").append(span); -}); -<?php endforeach; ?> -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/view.html.php deleted file mode 100644 index 44e48a624..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_view/view.html.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Custom_admin_view View class - */ -class ComponentbuilderViewCustom_admin_view extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('custom_admin_view',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('core.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('custom_admin_view.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('core.edit')) - { - // We can save the record. - JToolBarHelper::save('custom_admin_view.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('custom_admin_view.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('custom_admin_view.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::apply('custom_admin_view.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('custom_admin_view.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('custom_admin_view.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('custom_admin_view.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('core.edit')) - { - // We can save the new record - JToolBarHelper::apply('custom_admin_view.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('custom_admin_view.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('custom_admin_view.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('custom_admin_view.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('core.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.custom_admin_view', $this->item->id); - } - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('custom_admin_view.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('custom_admin_view.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_view'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/custom_admin_view.css"); - // Add Ajax Token - $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/custom_admin_view/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default.php deleted file mode 100644 index a788cef49..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=custom_admin_views.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'custom_admin_viewList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=custom_admin_views'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="custom_admin_viewList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_batch_body.php deleted file mode 100644 index 6ae1c1dcf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_batch_footer.php deleted file mode 100644 index 8ac14a65e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('custom_admin_view.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_body.php deleted file mode 100644 index 47fb1fcfe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_body.php +++ /dev/null @@ -1,121 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=custom_admin_views&task=custom_admin_view.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('custom_admin_view',$item,'custom_admin_views'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('core.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('core.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'custom_admin_views.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->system_name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->name); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->alias); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->description); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->snippet_name); ?> - </td> - <td class="center"> - <?php if ($canDo->get('core.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'custom_admin_views.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'custom_admin_views.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'custom_admin_views.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'custom_admin_views.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_foot.php deleted file mode 100644 index 295202f76..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="9"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_head.php deleted file mode 100644 index 0e2d31edf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_head.php +++ /dev/null @@ -1,74 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_LABEL', 'system_name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL', 'alias', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL', 'description', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SNIPPET_LABEL'); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_toolbar.php deleted file mode 100644 index 09686e614..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Custom_admin_views'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/view.html.php deleted file mode 100644 index 6712c2ff3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/custom_admin_views/view.html.php +++ /dev/null @@ -1,254 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Custom_admin_views - */ -class ComponentbuilderViewCustom_admin_views extends JViewLegacy -{ - /** - * Custom_admin_views view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('custom_admin_views'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('custom_admin_view'); - $this->canEdit = $this->canDo->get('core.edit'); - $this->canState = $this->canDo->get('core.edit.state'); - $this->canCreate = $this->canDo->get('core.create'); - $this->canDelete = $this->canDo->get('core.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS'), 'stack'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=custom_admin_views'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('custom_admin_view.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('custom_admin_view.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('custom_admin_views.publish'); - JToolBarHelper::unpublishList('custom_admin_views.unpublish'); - JToolBarHelper::archiveList('custom_admin_views.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('custom_admin_views.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'custom_admin_views.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('custom_admin_views.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('custom_admin_view.export')) - { - JToolBarHelper::custom('custom_admin_views.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('custom_admin_view.import')) - { - JToolBarHelper::custom('custom_admin_views.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_views'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/custom_admin_views.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.system_name' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_LABEL'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL'), - 'a.alias' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL'), - 'a.description' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/submitbutton.js deleted file mode 100644 index 665723245..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('dynamic_get, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/tmpl/edit.php deleted file mode 100644 index d336001ee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/tmpl/edit.php +++ /dev/null @@ -1,572 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - - <?php echo JLayoutHelper::render('dynamic_get.gettable_above', $this); ?><div class="form-horizontal"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'dynamic_getTab', array('active' => 'gettable')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'dynamic_getTab', 'gettable', JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_GETTABLE', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('dynamic_get.gettable_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('dynamic_get.gettable_right', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('dynamic_get.gettable_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'dynamic_getTab', 'custom_script', JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_CUSTOM_SCRIPT', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('dynamic_get.custom_script_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'dynamic_getTab', 'abacus', JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_ABACUS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('dynamic_get.abacus_left', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('dynamic_get.abacus_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('dynamic_get.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('dynamic_get.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'dynamic_getTab', 'publishing', JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('dynamic_get.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('dynamic_get.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'dynamic_getTab', 'permissions', JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="dynamic_get.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('dynamic_get.gettable_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_gettype listeners for gettype_FgGYZgQ function -jQuery('#jform_gettype').on('keyup',function() -{ - var gettype_FgGYZgQ = jQuery("#jform_gettype").val(); - FgGYZgQ(gettype_FgGYZgQ); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var gettype_FgGYZgQ = jQuery("#jform_gettype").val(); - FgGYZgQ(gettype_FgGYZgQ); - -}); - -// #jform_main_source listeners for main_source_sfdMRPF function -jQuery('#jform_main_source').on('keyup',function() -{ - var main_source_sfdMRPF = jQuery("#jform_main_source").val(); - sfdMRPF(main_source_sfdMRPF); - -}); -jQuery('#adminForm').on('change', '#jform_main_source',function (e) -{ - e.preventDefault(); - var main_source_sfdMRPF = jQuery("#jform_main_source").val(); - sfdMRPF(main_source_sfdMRPF); - -}); - -// #jform_main_source listeners for main_source_CkHaVTI function -jQuery('#jform_main_source').on('keyup',function() -{ - var main_source_CkHaVTI = jQuery("#jform_main_source").val(); - CkHaVTI(main_source_CkHaVTI); - -}); -jQuery('#adminForm').on('change', '#jform_main_source',function (e) -{ - e.preventDefault(); - var main_source_CkHaVTI = jQuery("#jform_main_source").val(); - CkHaVTI(main_source_CkHaVTI); - -}); - -// #jform_main_source listeners for main_source_ODFnDxC function -jQuery('#jform_main_source').on('keyup',function() -{ - var main_source_ODFnDxC = jQuery("#jform_main_source").val(); - ODFnDxC(main_source_ODFnDxC); - -}); -jQuery('#adminForm').on('change', '#jform_main_source',function (e) -{ - e.preventDefault(); - var main_source_ODFnDxC = jQuery("#jform_main_source").val(); - ODFnDxC(main_source_ODFnDxC); - -}); - -// #jform_main_source listeners for main_source_XgvcRpS function -jQuery('#jform_main_source').on('keyup',function() -{ - var main_source_XgvcRpS = jQuery("#jform_main_source").val(); - XgvcRpS(main_source_XgvcRpS); - -}); -jQuery('#adminForm').on('change', '#jform_main_source',function (e) -{ - e.preventDefault(); - var main_source_XgvcRpS = jQuery("#jform_main_source").val(); - XgvcRpS(main_source_XgvcRpS); - -}); - -// #jform_addcalculation listeners for addcalculation_zeHggva function -jQuery('#jform_addcalculation').on('keyup',function() -{ - var addcalculation_zeHggva = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - zeHggva(addcalculation_zeHggva); - -}); -jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) -{ - e.preventDefault(); - var addcalculation_zeHggva = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - zeHggva(addcalculation_zeHggva); - -}); - -// #jform_addcalculation listeners for addcalculation_gPqKgRk function -jQuery('#jform_addcalculation').on('keyup',function() -{ - var addcalculation_gPqKgRk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_gPqKgRk = jQuery("#jform_gettype").val(); - gPqKgRk(addcalculation_gPqKgRk,gettype_gPqKgRk); - -}); -jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) -{ - e.preventDefault(); - var addcalculation_gPqKgRk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_gPqKgRk = jQuery("#jform_gettype").val(); - gPqKgRk(addcalculation_gPqKgRk,gettype_gPqKgRk); - -}); - -// #jform_gettype listeners for gettype_gPqKgRk function -jQuery('#jform_gettype').on('keyup',function() -{ - var addcalculation_gPqKgRk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_gPqKgRk = jQuery("#jform_gettype").val(); - gPqKgRk(addcalculation_gPqKgRk,gettype_gPqKgRk); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var addcalculation_gPqKgRk = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_gPqKgRk = jQuery("#jform_gettype").val(); - gPqKgRk(addcalculation_gPqKgRk,gettype_gPqKgRk); - -}); - -// #jform_addcalculation listeners for addcalculation_BjabfiD function -jQuery('#jform_addcalculation').on('keyup',function() -{ - var addcalculation_BjabfiD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_BjabfiD = jQuery("#jform_gettype").val(); - BjabfiD(addcalculation_BjabfiD,gettype_BjabfiD); - -}); -jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) -{ - e.preventDefault(); - var addcalculation_BjabfiD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_BjabfiD = jQuery("#jform_gettype").val(); - BjabfiD(addcalculation_BjabfiD,gettype_BjabfiD); - -}); - -// #jform_gettype listeners for gettype_BjabfiD function -jQuery('#jform_gettype').on('keyup',function() -{ - var addcalculation_BjabfiD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_BjabfiD = jQuery("#jform_gettype").val(); - BjabfiD(addcalculation_BjabfiD,gettype_BjabfiD); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var addcalculation_BjabfiD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_BjabfiD = jQuery("#jform_gettype").val(); - BjabfiD(addcalculation_BjabfiD,gettype_BjabfiD); - -}); - -// #jform_main_source listeners for main_source_lwVqorb function -jQuery('#jform_main_source').on('keyup',function() -{ - var main_source_lwVqorb = jQuery("#jform_main_source").val(); - lwVqorb(main_source_lwVqorb); - -}); -jQuery('#adminForm').on('change', '#jform_main_source',function (e) -{ - e.preventDefault(); - var main_source_lwVqorb = jQuery("#jform_main_source").val(); - lwVqorb(main_source_lwVqorb); - -}); - -// #jform_main_source listeners for main_source_fsketqC function -jQuery('#jform_main_source').on('keyup',function() -{ - var main_source_fsketqC = jQuery("#jform_main_source").val(); - fsketqC(main_source_fsketqC); - -}); -jQuery('#adminForm').on('change', '#jform_main_source',function (e) -{ - e.preventDefault(); - var main_source_fsketqC = jQuery("#jform_main_source").val(); - fsketqC(main_source_fsketqC); - -}); - -// #jform_add_php_before_getitem listeners for add_php_before_getitem_IqvJWRb function -jQuery('#jform_add_php_before_getitem').on('keyup',function() -{ - var add_php_before_getitem_IqvJWRb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_IqvJWRb = jQuery("#jform_gettype").val(); - IqvJWRb(add_php_before_getitem_IqvJWRb,gettype_IqvJWRb); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e) -{ - e.preventDefault(); - var add_php_before_getitem_IqvJWRb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_IqvJWRb = jQuery("#jform_gettype").val(); - IqvJWRb(add_php_before_getitem_IqvJWRb,gettype_IqvJWRb); - -}); - -// #jform_gettype listeners for gettype_IqvJWRb function -jQuery('#jform_gettype').on('keyup',function() -{ - var add_php_before_getitem_IqvJWRb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_IqvJWRb = jQuery("#jform_gettype").val(); - IqvJWRb(add_php_before_getitem_IqvJWRb,gettype_IqvJWRb); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var add_php_before_getitem_IqvJWRb = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_IqvJWRb = jQuery("#jform_gettype").val(); - IqvJWRb(add_php_before_getitem_IqvJWRb,gettype_IqvJWRb); - -}); - -// #jform_add_php_after_getitem listeners for add_php_after_getitem_WOCZdYT function -jQuery('#jform_add_php_after_getitem').on('keyup',function() -{ - var add_php_after_getitem_WOCZdYT = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_WOCZdYT = jQuery("#jform_gettype").val(); - WOCZdYT(add_php_after_getitem_WOCZdYT,gettype_WOCZdYT); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e) -{ - e.preventDefault(); - var add_php_after_getitem_WOCZdYT = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_WOCZdYT = jQuery("#jform_gettype").val(); - WOCZdYT(add_php_after_getitem_WOCZdYT,gettype_WOCZdYT); - -}); - -// #jform_gettype listeners for gettype_WOCZdYT function -jQuery('#jform_gettype').on('keyup',function() -{ - var add_php_after_getitem_WOCZdYT = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_WOCZdYT = jQuery("#jform_gettype").val(); - WOCZdYT(add_php_after_getitem_WOCZdYT,gettype_WOCZdYT); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var add_php_after_getitem_WOCZdYT = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_WOCZdYT = jQuery("#jform_gettype").val(); - WOCZdYT(add_php_after_getitem_WOCZdYT,gettype_WOCZdYT); - -}); - -// #jform_gettype listeners for gettype_aelJLJg function -jQuery('#jform_gettype').on('keyup',function() -{ - var gettype_aelJLJg = jQuery("#jform_gettype").val(); - aelJLJg(gettype_aelJLJg); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var gettype_aelJLJg = jQuery("#jform_gettype").val(); - aelJLJg(gettype_aelJLJg); - -}); - -// #jform_add_php_getlistquery listeners for add_php_getlistquery_tpZPucO function -jQuery('#jform_add_php_getlistquery').on('keyup',function() -{ - var add_php_getlistquery_tpZPucO = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_tpZPucO = jQuery("#jform_gettype").val(); - tpZPucO(add_php_getlistquery_tpZPucO,gettype_tpZPucO); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) -{ - e.preventDefault(); - var add_php_getlistquery_tpZPucO = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_tpZPucO = jQuery("#jform_gettype").val(); - tpZPucO(add_php_getlistquery_tpZPucO,gettype_tpZPucO); - -}); - -// #jform_gettype listeners for gettype_tpZPucO function -jQuery('#jform_gettype').on('keyup',function() -{ - var add_php_getlistquery_tpZPucO = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_tpZPucO = jQuery("#jform_gettype").val(); - tpZPucO(add_php_getlistquery_tpZPucO,gettype_tpZPucO); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var add_php_getlistquery_tpZPucO = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_tpZPucO = jQuery("#jform_gettype").val(); - tpZPucO(add_php_getlistquery_tpZPucO,gettype_tpZPucO); - -}); - -// #jform_add_php_before_getitems listeners for add_php_before_getitems_AXROJKr function -jQuery('#jform_add_php_before_getitems').on('keyup',function() -{ - var add_php_before_getitems_AXROJKr = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_AXROJKr = jQuery("#jform_gettype").val(); - AXROJKr(add_php_before_getitems_AXROJKr,gettype_AXROJKr); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e) -{ - e.preventDefault(); - var add_php_before_getitems_AXROJKr = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_AXROJKr = jQuery("#jform_gettype").val(); - AXROJKr(add_php_before_getitems_AXROJKr,gettype_AXROJKr); - -}); - -// #jform_gettype listeners for gettype_AXROJKr function -jQuery('#jform_gettype').on('keyup',function() -{ - var add_php_before_getitems_AXROJKr = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_AXROJKr = jQuery("#jform_gettype").val(); - AXROJKr(add_php_before_getitems_AXROJKr,gettype_AXROJKr); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var add_php_before_getitems_AXROJKr = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_AXROJKr = jQuery("#jform_gettype").val(); - AXROJKr(add_php_before_getitems_AXROJKr,gettype_AXROJKr); - -}); - -// #jform_add_php_after_getitems listeners for add_php_after_getitems_JrgxvrW function -jQuery('#jform_add_php_after_getitems').on('keyup',function() -{ - var add_php_after_getitems_JrgxvrW = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_JrgxvrW = jQuery("#jform_gettype").val(); - JrgxvrW(add_php_after_getitems_JrgxvrW,gettype_JrgxvrW); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e) -{ - e.preventDefault(); - var add_php_after_getitems_JrgxvrW = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_JrgxvrW = jQuery("#jform_gettype").val(); - JrgxvrW(add_php_after_getitems_JrgxvrW,gettype_JrgxvrW); - -}); - -// #jform_gettype listeners for gettype_JrgxvrW function -jQuery('#jform_gettype').on('keyup',function() -{ - var add_php_after_getitems_JrgxvrW = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_JrgxvrW = jQuery("#jform_gettype").val(); - JrgxvrW(add_php_after_getitems_JrgxvrW,gettype_JrgxvrW); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var add_php_after_getitems_JrgxvrW = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_JrgxvrW = jQuery("#jform_gettype").val(); - JrgxvrW(add_php_after_getitems_JrgxvrW,gettype_JrgxvrW); - -}); - -// #jform_gettype listeners for gettype_xrgAMeu function -jQuery('#jform_gettype').on('keyup',function() -{ - var gettype_xrgAMeu = jQuery("#jform_gettype").val(); - xrgAMeu(gettype_xrgAMeu); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var gettype_xrgAMeu = jQuery("#jform_gettype").val(); - xrgAMeu(gettype_xrgAMeu); - -}); - -// #jform_gettype listeners for gettype_yuTNrmv function -jQuery('#jform_gettype').on('keyup',function() -{ - var gettype_yuTNrmv = jQuery("#jform_gettype").val(); - yuTNrmv(gettype_yuTNrmv); - -}); -jQuery('#adminForm').on('change', '#jform_gettype',function (e) -{ - e.preventDefault(); - var gettype_yuTNrmv = jQuery("#jform_gettype").val(); - yuTNrmv(gettype_yuTNrmv); - -}); - - -<?php $fieldNrs = range(1,50,1); ?> -<?php $fieldNames = array('db' => 'Db','view' => 'View'); ?> -<?php foreach($fieldNames as $fieldName => $funcName): ?>jQuery('#jform_join_<?php echo $fieldName ?>_table_modal').on('show.bs.modal', function (e) { - <?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_join_<?php echo $fieldName ?>_table_modal').on('change', '#jform_join_<?php echo $fieldName ?>_table_fields_<?php echo $fieldName ?>_table-<?php echo $fieldNr ?>',function (e) { - e.preventDefault(); - // get options - var <?php echo $fieldName ?>_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_<?php echo $fieldName ?>_table-<?php echo $fieldNr ?> option:selected").val(); - var as_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_as-<?php echo $fieldNr ?> option:selected").val(); - var row_<?php echo $fieldName ?>_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_row_type-<?php echo $fieldNr ?> option:selected").val(); - get<?php echo $funcName ?>TableColumns(<?php echo $fieldName ?>_<?php echo $fieldNr ?>,as_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>,row_<?php echo $fieldName ?>_<?php echo $fieldNr ?>,false); - }); - <?php endforeach; ?> - <?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_join_<?php echo $fieldName ?>_table_modal').on('change', '#jform_join_<?php echo $fieldName ?>_table_fields_as-<?php echo $fieldNr ?>',function (e) { - e.preventDefault(); - // get options - var <?php echo $fieldName ?>_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_<?php echo $fieldName ?>_table-<?php echo $fieldNr ?> option:selected").val(); - var as_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_as-<?php echo $fieldNr ?> option:selected").val(); - var row_<?php echo $fieldName ?>_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_row_type-<?php echo $fieldNr ?> option:selected").val(); - get<?php echo $funcName ?>TableColumns(<?php echo $fieldName ?>_<?php echo $fieldNr ?>,as_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>,row_<?php echo $fieldName ?>_<?php echo $fieldNr ?>,false); - }); - <?php endforeach; ?> - <?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_join_<?php echo $fieldName ?>_table_modal').on('change', '#jform_join_<?php echo $fieldName ?>_table_fields_row_type-<?php echo $fieldNr ?>',function (e) { - e.preventDefault(); - // get options - var <?php echo $fieldName ?>_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_<?php echo $fieldName ?>_table-<?php echo $fieldNr ?> option:selected").val(); - var as_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_as-<?php echo $fieldNr ?> option:selected").val(); - var row_<?php echo $fieldName ?>_<?php echo $fieldNr ?> = jQuery("#jform_join_<?php echo $fieldName ?>_table_fields_row_type-<?php echo $fieldNr ?> option:selected").val(); - get<?php echo $funcName ?>TableColumns(<?php echo $fieldName ?>_<?php echo $fieldNr ?>,as_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>,row_<?php echo $fieldName ?>_<?php echo $fieldNr ?>,false); - }); - <?php endforeach; ?> -}); -<?php endforeach; ?> - -<?php foreach($fieldNames as $fieldName => $funcName): ?>jQuery('#gettable').on('change', '#jform_<?php echo $fieldName ?>_table_main',function (e) { - // get options - var value_<?php echo $fieldName ?> = jQuery("#jform_<?php echo $fieldName ?>_table_main option:selected").val(); - get<?php echo $funcName; ?>TableColumns(value_<?php echo $fieldName ?>,'a','<?php echo $fieldName ?>',3,true); -}); -<?php endforeach; ?> -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/view.html.php deleted file mode 100644 index 106f4834c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_get/view.html.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Dynamic_get View class - */ -class ComponentbuilderViewDynamic_get extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('dynamic_get',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_DYNAMIC_GET_NEW' : 'COM_COMPONENTBUILDER_DYNAMIC_GET_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('dynamic_get.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('dynamic_get.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('dynamic_get.edit')) - { - // We can save the record. - JToolBarHelper::save('dynamic_get.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('dynamic_get.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('dynamic_get.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('dynamic_get.create')) - { - JToolBarHelper::apply('dynamic_get.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('dynamic_get.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('dynamic_get.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('dynamic_get.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('dynamic_get.edit')) - { - // We can save the new record - JToolBarHelper::apply('dynamic_get.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('dynamic_get.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('dynamic_get.create')) - { - JToolBarHelper::custom('dynamic_get.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('dynamic_get.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('dynamic_get.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.dynamic_get', $this->item->id); - } - if ($this->canDo->get('dynamic_get.create')) - { - JToolBarHelper::custom('dynamic_get.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('dynamic_get.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('dynamic_get'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_DYNAMIC_GET_NEW' : 'COM_COMPONENTBUILDER_DYNAMIC_GET_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/dynamic_get.css"); - // Add Ajax Token - $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/dynamic_get/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default.php deleted file mode 100644 index 7d3ee853d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=dynamic_gets.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'dynamic_getList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=dynamic_gets'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="dynamic_getList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_batch_body.php deleted file mode 100644 index 4eca93bc8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_batch_footer.php deleted file mode 100644 index 29fa10ef5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('dynamic_get.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_body.php deleted file mode 100644 index d4af9be43..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_body.php +++ /dev/null @@ -1,115 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=dynamic_gets&task=dynamic_get.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('dynamic_get',$item,'dynamic_gets'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('dynamic_get.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('dynamic_get.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('dynamic_get.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'dynamic_gets.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->main_source); ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->gettype); ?> - </td> - <td class="center"> - <?php if ($canDo->get('dynamic_get.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'dynamic_gets.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'dynamic_gets.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'dynamic_gets.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'dynamic_gets.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_foot.php deleted file mode 100644 index 9fb979fd5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="7"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_head.php deleted file mode 100644 index 0d2e31e32..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_head.php +++ /dev/null @@ -1,68 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL', 'main_source', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_LABEL', 'gettype', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_DYNAMIC_GET_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_DYNAMIC_GET_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_toolbar.php deleted file mode 100644 index 49b60dbcc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Dynamic_gets'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/view.html.php deleted file mode 100644 index 08c219d1e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/dynamic_gets/view.html.php +++ /dev/null @@ -1,369 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Dynamic_gets - */ -class ComponentbuilderViewDynamic_gets extends JViewLegacy -{ - /** - * Dynamic_gets view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('dynamic_gets'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('dynamic_get'); - $this->canEdit = $this->canDo->get('dynamic_get.edit'); - $this->canState = $this->canDo->get('dynamic_get.edit.state'); - $this->canCreate = $this->canDo->get('dynamic_get.create'); - $this->canDelete = $this->canDo->get('dynamic_get.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_DYNAMIC_GETS'), 'database'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=dynamic_gets'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('dynamic_get.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('dynamic_get.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('dynamic_gets.publish'); - JToolBarHelper::unpublishList('dynamic_gets.unpublish'); - JToolBarHelper::archiveList('dynamic_gets.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('dynamic_gets.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'dynamic_gets.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('dynamic_gets.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('dynamic_get.export')) - { - JToolBarHelper::custom('dynamic_gets.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('dynamic_get.import')) - { - JToolBarHelper::custom('dynamic_gets.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('dynamic_gets'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - - // Set Main Source Selection - $this->main_sourceOptions = $this->getTheMain_sourceSelections(); - if ($this->main_sourceOptions) - { - // Main Source Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL').' -', - 'filter_main_source', - JHtml::_('select.options', $this->main_sourceOptions, 'value', 'text', $this->state->get('filter.main_source')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Main Source Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL').' -', - 'batch[main_source]', - JHtml::_('select.options', $this->main_sourceOptions, 'value', 'text') - ); - } - } - - // Set Gettype Selection - $this->gettypeOptions = $this->getTheGettypeSelections(); - if ($this->gettypeOptions) - { - // Gettype Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_LABEL').' -', - 'filter_gettype', - JHtml::_('select.options', $this->gettypeOptions, 'value', 'text', $this->state->get('filter.gettype')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Gettype Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_LABEL').' -', - 'batch[gettype]', - JHtml::_('select.options', $this->gettypeOptions, 'value', 'text') - ); - } - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_DYNAMIC_GETS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/dynamic_gets.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_NAME_LABEL'), - 'a.main_source' => JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_MAIN_SOURCE_LABEL'), - 'a.gettype' => JText::_('COM_COMPONENTBUILDER_DYNAMIC_GET_GETTYPE_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } - - protected function getTheMain_sourceSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('main_source')); - $query->from($db->quoteName('#__componentbuilder_dynamic_get')); - $query->order($db->quoteName('main_source') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $main_source) - { - // Translate the main_source selection - $text = $model->selectionTranslation($main_source,'main_source'); - // Now add the main_source and its text to the options array - $filter[] = JHtml::_('select.option', $main_source, JText::_($text)); - } - return $filter; - } - return false; - } - - protected function getTheGettypeSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('gettype')); - $query->from($db->quoteName('#__componentbuilder_dynamic_get')); - $query->order($db->quoteName('gettype') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $gettype) - { - // Translate the gettype selection - $text = $model->selectionTranslation($gettype,'gettype'); - // Now add the gettype and its text to the options array - $filter[] = JHtml::_('select.option', $gettype, JText::_($text)); - } - return $filter; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/submitbutton.js deleted file mode 100644 index a5b6582f5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('field, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/tmpl/edit.php deleted file mode 100644 index 4d5f908b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/tmpl/edit.php +++ /dev/null @@ -1,297 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> -<div class="form-horizontal"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'fieldTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'fieldTab', 'details', JText::_('COM_COMPONENTBUILDER_FIELD_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('field.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('field.details_right', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('field.details_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'fieldTab', 'scripts', JText::_('COM_COMPONENTBUILDER_FIELD_SCRIPTS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('field.scripts_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('field.scripts_right', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('field.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('field.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'fieldTab', 'publishing', JText::_('COM_COMPONENTBUILDER_FIELD_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('field.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('field.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'fieldTab', 'permissions', JText::_('COM_COMPONENTBUILDER_FIELD_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="field.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('field.details_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_datalenght listeners for datalenght_tCpxhKK function -jQuery('#jform_datalenght').on('keyup',function() -{ - var datalenght_tCpxhKK = jQuery("#jform_datalenght").val(); - tCpxhKK(datalenght_tCpxhKK); - -}); -jQuery('#adminForm').on('change', '#jform_datalenght',function (e) -{ - e.preventDefault(); - var datalenght_tCpxhKK = jQuery("#jform_datalenght").val(); - tCpxhKK(datalenght_tCpxhKK); - -}); - -// #jform_datadefault listeners for datadefault_xQRgZFu function -jQuery('#jform_datadefault').on('keyup',function() -{ - var datadefault_xQRgZFu = jQuery("#jform_datadefault").val(); - xQRgZFu(datadefault_xQRgZFu); - -}); -jQuery('#adminForm').on('change', '#jform_datadefault',function (e) -{ - e.preventDefault(); - var datadefault_xQRgZFu = jQuery("#jform_datadefault").val(); - xQRgZFu(datadefault_xQRgZFu); - -}); - -// #jform_datatype listeners for datatype_nwKjhVu function -jQuery('#jform_datatype').on('keyup',function() -{ - var datatype_nwKjhVu = jQuery("#jform_datatype").val(); - nwKjhVu(datatype_nwKjhVu); - -}); -jQuery('#adminForm').on('change', '#jform_datatype',function (e) -{ - e.preventDefault(); - var datatype_nwKjhVu = jQuery("#jform_datatype").val(); - nwKjhVu(datatype_nwKjhVu); - -}); - -// #jform_store listeners for store_dROmpWc function -jQuery('#jform_store').on('keyup',function() -{ - var store_dROmpWc = jQuery("#jform_store").val(); - var datatype_dROmpWc = jQuery("#jform_datatype").val(); - dROmpWc(store_dROmpWc,datatype_dROmpWc); - -}); -jQuery('#adminForm').on('change', '#jform_store',function (e) -{ - e.preventDefault(); - var store_dROmpWc = jQuery("#jform_store").val(); - var datatype_dROmpWc = jQuery("#jform_datatype").val(); - dROmpWc(store_dROmpWc,datatype_dROmpWc); - -}); - -// #jform_datatype listeners for datatype_dROmpWc function -jQuery('#jform_datatype').on('keyup',function() -{ - var store_dROmpWc = jQuery("#jform_store").val(); - var datatype_dROmpWc = jQuery("#jform_datatype").val(); - dROmpWc(store_dROmpWc,datatype_dROmpWc); - -}); -jQuery('#adminForm').on('change', '#jform_datatype',function (e) -{ - e.preventDefault(); - var store_dROmpWc = jQuery("#jform_store").val(); - var datatype_dROmpWc = jQuery("#jform_datatype").val(); - dROmpWc(store_dROmpWc,datatype_dROmpWc); - -}); - -// #jform_add_css_view listeners for add_css_view_HiMbhLu function -jQuery('#jform_add_css_view').on('keyup',function() -{ - var add_css_view_HiMbhLu = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - HiMbhLu(add_css_view_HiMbhLu); - -}); -jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) -{ - e.preventDefault(); - var add_css_view_HiMbhLu = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - HiMbhLu(add_css_view_HiMbhLu); - -}); - -// #jform_add_css_views listeners for add_css_views_KhTfPts function -jQuery('#jform_add_css_views').on('keyup',function() -{ - var add_css_views_KhTfPts = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - KhTfPts(add_css_views_KhTfPts); - -}); -jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) -{ - e.preventDefault(); - var add_css_views_KhTfPts = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - KhTfPts(add_css_views_KhTfPts); - -}); - -// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_gxgnzwH function -jQuery('#jform_add_javascript_view_footer').on('keyup',function() -{ - var add_javascript_view_footer_gxgnzwH = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - gxgnzwH(add_javascript_view_footer_gxgnzwH); - -}); -jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) -{ - e.preventDefault(); - var add_javascript_view_footer_gxgnzwH = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - gxgnzwH(add_javascript_view_footer_gxgnzwH); - -}); - -// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_IEYBGhg function -jQuery('#jform_add_javascript_views_footer').on('keyup',function() -{ - var add_javascript_views_footer_IEYBGhg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - IEYBGhg(add_javascript_views_footer_IEYBGhg); - -}); -jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) -{ - e.preventDefault(); - var add_javascript_views_footer_IEYBGhg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - IEYBGhg(add_javascript_views_footer_IEYBGhg); - -}); - - -jQuery(function() { - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); -}); - -jQuery.fn.selText = function() { - var obj = this[0]; - if (jQuery.browser.msie) { - var range = obj.offsetParent.createTextRange(); - range.moveToElementText(obj); - range.select(); - } else if (jQuery.browser.mozilla || $.browser.opera) { - var selection = obj.ownerDocument.defaultView.getSelection(); - var range = obj.ownerDocument.createRange(); - range.selectNodeContents(obj); - selection.removeAllRanges(); - selection.addRange(range); - } else if (jQuery.browser.safari) { - var selection = obj.ownerDocument.defaultView.getSelection(); - selection.setBaseAndExtent(obj, 0, obj, 1); - } - return this; -} - -jQuery('#details').on('change', '#jform_type',function (e) { - e.preventDefault(); - // get type value - var fieldId = jQuery("#jform_type option:selected").val(); - getFieldOptions(fieldId,true); -}); - -jQuery(document).ready(function() { - // get type value - var fieldId = jQuery("#jform_type option:selected").val(); - if(jQuery('#jform_xml').length == 0) { - getFieldOptions(fieldId,true); - } else { - getFieldOptions(fieldId,false); - } -}); -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/view.html.php deleted file mode 100644 index 06ec6f1ec..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/field/view.html.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Field View class - */ -class ComponentbuilderViewField extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('field',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_FIELD_NEW' : 'COM_COMPONENTBUILDER_FIELD_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('field.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('field.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('field.edit')) - { - // We can save the record. - JToolBarHelper::save('field.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('field.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('field.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('field.create')) - { - JToolBarHelper::apply('field.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('field.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('field.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('field.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('field.edit')) - { - // We can save the new record - JToolBarHelper::apply('field.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('field.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('field.create')) - { - JToolBarHelper::custom('field.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('field.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('field.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.field', $this->item->id); - } - if ($this->canDo->get('field.create')) - { - JToolBarHelper::custom('field.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('field.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('field'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_FIELD_NEW' : 'COM_COMPONENTBUILDER_FIELD_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/field.css"); - // Add Ajax Token - $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/field/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default.php deleted file mode 100644 index f6d0dc783..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=fields.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'fieldList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=fields'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="fieldList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_FIELDS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_batch_body.php deleted file mode 100644 index 77e6a6bcb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_FIELDS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_batch_footer.php deleted file mode 100644 index cd3f07c90..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('field.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_body.php deleted file mode 100644 index b5fd9011e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_body.php +++ /dev/null @@ -1,137 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('field',$item,'fields'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('field.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('field.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('field.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'fields.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($this->user->authorise('fieldtype.edit', 'com_componentbuilder.fieldtype.' . (int)$item->type)): ?> - <div class="name"> - <a href="index.php?option=com_componentbuilder&view=fieldtypes&task=fieldtype.edit&id=<?php echo $item->type; ?>&ref=fields"><?php echo $this->escape($item->type_name); ?></a> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->type_name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->datatype); ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->indexes); ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->null_switch); ?> - </td> - <td class="nowrap"> - <?php if ($this->user->authorise('core.edit', 'com_componentbuilder.fields.category.' . (int)$item->catid)): ?> - <a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->catid; ?>&extension=com_componentbuilder.fields"><?php echo $this->escape($item->category_title); ?></a> - <?php else: ?> - <?php echo $this->escape($item->category_title); ?> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->store); ?> - </td> - <td class="center"> - <?php if ($canDo->get('field.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fields.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fields.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fields.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fields.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_foot.php deleted file mode 100644 index 7cf31232c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="11"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_head.php deleted file mode 100644 index 775ad6896..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_head.php +++ /dev/null @@ -1,80 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_TYPE_LABEL', 'type_name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL', 'datatype', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL', 'indexes', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL', 'null_switch', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_FIELD_CATEGORY', 'catid', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_STORE_LABEL', 'store', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_FIELD_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELD_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_toolbar.php deleted file mode 100644 index 22827712b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Fields'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/view.html.php deleted file mode 100644 index 50ce5c72d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fields/view.html.php +++ /dev/null @@ -1,528 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Fields - */ -class ComponentbuilderViewFields extends JViewLegacy -{ - /** - * Fields view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('fields'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('field'); - $this->canEdit = $this->canDo->get('field.edit'); - $this->canState = $this->canDo->get('field.edit.state'); - $this->canCreate = $this->canDo->get('field.create'); - $this->canDelete = $this->canDo->get('field.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_FIELDS'), 'lamp'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=fields'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('field.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('field.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('fields.publish'); - JToolBarHelper::unpublishList('fields.unpublish'); - JToolBarHelper::archiveList('fields.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('fields.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'fields.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('fields.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('field.export')) - { - JToolBarHelper::custom('fields.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('field.import')) - { - JToolBarHelper::custom('fields.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('fields'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - - // Category Filter. - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_CATEGORY'), - 'filter_category_id', - JHtml::_('select.options', JHtml::_('category.options', 'com_componentbuilder.fields'), 'value', 'text', $this->state->get('filter.category_id')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Category Batch selection. - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_CATEGORY'), - 'batch[category]', - JHtml::_('select.options', JHtml::_('category.options', 'com_componentbuilder.fields'), 'value', 'text') - ); - } - - // Set Type Name Selection - $this->typeNameOptions = JFormHelper::loadFieldType('Fieldtypes')->getOptions(); - if ($this->typeNameOptions) - { - // Type Name Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_FIELD_TYPE_LABEL').' -', - 'filter_type', - JHtml::_('select.options', $this->typeNameOptions, 'value', 'text', $this->state->get('filter.type')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Type Name Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_FIELD_TYPE_LABEL').' -', - 'batch[type]', - JHtml::_('select.options', $this->typeNameOptions, 'value', 'text') - ); - } - } - - // Set Datatype Selection - $this->datatypeOptions = $this->getTheDatatypeSelections(); - if ($this->datatypeOptions) - { - // Datatype Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL').' -', - 'filter_datatype', - JHtml::_('select.options', $this->datatypeOptions, 'value', 'text', $this->state->get('filter.datatype')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Datatype Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL').' -', - 'batch[datatype]', - JHtml::_('select.options', $this->datatypeOptions, 'value', 'text') - ); - } - } - - // Set Indexes Selection - $this->indexesOptions = $this->getTheIndexesSelections(); - if ($this->indexesOptions) - { - // Indexes Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL').' -', - 'filter_indexes', - JHtml::_('select.options', $this->indexesOptions, 'value', 'text', $this->state->get('filter.indexes')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Indexes Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL').' -', - 'batch[indexes]', - JHtml::_('select.options', $this->indexesOptions, 'value', 'text') - ); - } - } - - // Set Null Switch Selection - $this->null_switchOptions = $this->getTheNull_switchSelections(); - if ($this->null_switchOptions) - { - // Null Switch Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL').' -', - 'filter_null_switch', - JHtml::_('select.options', $this->null_switchOptions, 'value', 'text', $this->state->get('filter.null_switch')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Null Switch Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL').' -', - 'batch[null_switch]', - JHtml::_('select.options', $this->null_switchOptions, 'value', 'text') - ); - } - } - - // Set Store Selection - $this->storeOptions = $this->getTheStoreSelections(); - if ($this->storeOptions) - { - // Store Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_FIELD_STORE_LABEL').' -', - 'filter_store', - JHtml::_('select.options', $this->storeOptions, 'value', 'text', $this->state->get('filter.store')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Store Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_FIELD_STORE_LABEL').' -', - 'batch[store]', - JHtml::_('select.options', $this->storeOptions, 'value', 'text') - ); - } - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_FIELDS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/fields.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_FIELD_NAME_LABEL'), - 'g.name' => JText::_('COM_COMPONENTBUILDER_FIELD_TYPE_LABEL'), - 'a.datatype' => JText::_('COM_COMPONENTBUILDER_FIELD_DATATYPE_LABEL'), - 'a.indexes' => JText::_('COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL'), - 'a.null_switch' => JText::_('COM_COMPONENTBUILDER_FIELD_NULL_SWITCH_LABEL'), - 'c.category_title' => JText::_('COM_COMPONENTBUILDER_FIELD_FIELD_CATEGORY'), - 'a.store' => JText::_('COM_COMPONENTBUILDER_FIELD_STORE_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } - - protected function getTheDatatypeSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('datatype')); - $query->from($db->quoteName('#__componentbuilder_field')); - $query->order($db->quoteName('datatype') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $datatype) - { - // Translate the datatype selection - $text = $model->selectionTranslation($datatype,'datatype'); - // Now add the datatype and its text to the options array - $filter[] = JHtml::_('select.option', $datatype, JText::_($text)); - } - return $filter; - } - return false; - } - - protected function getTheIndexesSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('indexes')); - $query->from($db->quoteName('#__componentbuilder_field')); - $query->order($db->quoteName('indexes') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $indexes) - { - // Translate the indexes selection - $text = $model->selectionTranslation($indexes,'indexes'); - // Now add the indexes and its text to the options array - $filter[] = JHtml::_('select.option', $indexes, JText::_($text)); - } - return $filter; - } - return false; - } - - protected function getTheNull_switchSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('null_switch')); - $query->from($db->quoteName('#__componentbuilder_field')); - $query->order($db->quoteName('null_switch') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $null_switch) - { - // Translate the null_switch selection - $text = $model->selectionTranslation($null_switch,'null_switch'); - // Now add the null_switch and its text to the options array - $filter[] = JHtml::_('select.option', $null_switch, JText::_($text)); - } - return $filter; - } - return false; - } - - protected function getTheStoreSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('store')); - $query->from($db->quoteName('#__componentbuilder_field')); - $query->order($db->quoteName('store') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $store) - { - // Translate the store selection - $text = $model->selectionTranslation($store,'store'); - // Now add the store and its text to the options array - $filter[] = JHtml::_('select.option', $store, JText::_($text)); - } - return $filter; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/submitbutton.js deleted file mode 100644 index ed8c7d87d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('fieldtype, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/tmpl/edit.php deleted file mode 100644 index 5f1ca3715..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/tmpl/edit.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> -<div class="form-horizontal"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'fieldtypeTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'fieldtypeTab', 'details', JText::_('COM_COMPONENTBUILDER_FIELDTYPE_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('fieldtype.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('fieldtype.details_right', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('field.access')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'fieldtypeTab', 'fields', JText::_('COM_COMPONENTBUILDER_FIELDTYPE_FIELDS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('fieldtype.fields_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('fieldtype.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('fieldtype.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'fieldtypeTab', 'publishing', JText::_('COM_COMPONENTBUILDER_FIELDTYPE_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('fieldtype.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('fieldtype.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'fieldtypeTab', 'permissions', JText::_('COM_COMPONENTBUILDER_FIELDTYPE_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="fieldtype.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div> -</form> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/view.html.php deleted file mode 100644 index 44f7033ad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtype/view.html.php +++ /dev/null @@ -1,228 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Fieldtype View class - */ -class ComponentbuilderViewFieldtype extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('fieldtype',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Get Linked view data - $this->alofields = $this->get('Alofields'); - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_FIELDTYPE_NEW' : 'COM_COMPONENTBUILDER_FIELDTYPE_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('fieldtype.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('fieldtype.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('fieldtype.edit')) - { - // We can save the record. - JToolBarHelper::save('fieldtype.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('fieldtype.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('fieldtype.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('fieldtype.create')) - { - JToolBarHelper::apply('fieldtype.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('fieldtype.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('fieldtype.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('fieldtype.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('fieldtype.edit')) - { - // We can save the new record - JToolBarHelper::apply('fieldtype.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('fieldtype.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('fieldtype.create')) - { - JToolBarHelper::custom('fieldtype.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('fieldtype.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('fieldtype.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.fieldtype', $this->item->id); - } - if ($this->canDo->get('fieldtype.create')) - { - JToolBarHelper::custom('fieldtype.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('fieldtype.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('fieldtype'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_FIELDTYPE_NEW' : 'COM_COMPONENTBUILDER_FIELDTYPE_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/fieldtype.css"); - - // Add the CSS for Footable. - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.core.min.css'); - - // Use the Metro Style - if (!isset($this->fooTableStyle) || 0 == $this->fooTableStyle) - { - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.metro.min.css'); - } - // Use the Legacy Style. - elseif (isset($this->fooTableStyle) && 1 == $this->fooTableStyle) - { - $document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css'); - } - - // Add the JavaScript for Footable - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.sort.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.filter.js'); - $document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.paginate.js'); - - $footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable(); }); jQuery('.nav-tabs').on('click', 'li', function() { setTimeout(tableFix, 10); }); }); function tableFix() { jQuery('.footable').trigger('footable_resize'); }"; - $document->addScriptDeclaration($footable); - - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/fieldtype/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default.php deleted file mode 100644 index 2c877b478..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=fieldtypes.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'fieldtypeList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=fieldtypes'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="fieldtypeList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_FIELDTYPES_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_batch_body.php deleted file mode 100644 index 945e08e11..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_FIELDTYPES_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_batch_footer.php deleted file mode 100644 index c0ae8af12..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('fieldtype.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_body.php deleted file mode 100644 index 8f28ad229..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_body.php +++ /dev/null @@ -1,119 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=fieldtypes&task=fieldtype.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('fieldtype',$item,'fieldtypes'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('fieldtype.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('fieldtype.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('fieldtype.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'fieldtypes.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($this->user->authorise('core.edit', 'com_componentbuilder.fieldtypes.category.' . (int)$item->catid)): ?> - <a href="index.php?option=com_categories&task=category.edit&id=<?php echo (int)$item->catid; ?>&extension=com_componentbuilder.fieldtypes"><?php echo $this->escape($item->category_title); ?></a> - <?php else: ?> - <?php echo $this->escape($item->category_title); ?> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->short_description); ?> - </td> - <td class="center"> - <?php if ($canDo->get('fieldtype.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fieldtypes.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fieldtypes.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fieldtypes.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'fieldtypes.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_foot.php deleted file mode 100644 index 9fb979fd5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="7"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_head.php deleted file mode 100644 index a7a39a3f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_head.php +++ /dev/null @@ -1,68 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELDTYPE_FIELDTYPE_CATEGORY', 'catid', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_LABEL', 'short_description', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELDTYPE_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_FIELDTYPE_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_FIELDTYPE_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_toolbar.php deleted file mode 100644 index 5ad8ec839..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Fieldtypes'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/view.html.php deleted file mode 100644 index 2dd91c737..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/fieldtypes/view.html.php +++ /dev/null @@ -1,270 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Fieldtypes - */ -class ComponentbuilderViewFieldtypes extends JViewLegacy -{ - /** - * Fieldtypes view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('fieldtypes'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('fieldtype'); - $this->canEdit = $this->canDo->get('fieldtype.edit'); - $this->canState = $this->canDo->get('fieldtype.edit.state'); - $this->canCreate = $this->canDo->get('fieldtype.create'); - $this->canDelete = $this->canDo->get('fieldtype.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_FIELDTYPES'), 'power-cord'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=fieldtypes'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('fieldtype.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('fieldtype.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('fieldtypes.publish'); - JToolBarHelper::unpublishList('fieldtypes.unpublish'); - JToolBarHelper::archiveList('fieldtypes.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('fieldtypes.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'fieldtypes.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('fieldtypes.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('fieldtype.export')) - { - JToolBarHelper::custom('fieldtypes.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('fieldtype.import')) - { - JToolBarHelper::custom('fieldtypes.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('fieldtypes'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - - // Category Filter. - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_CATEGORY'), - 'filter_category_id', - JHtml::_('select.options', JHtml::_('category.options', 'com_componentbuilder.fieldtypes'), 'value', 'text', $this->state->get('filter.category_id')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Category Batch selection. - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_CATEGORY'), - 'batch[category]', - JHtml::_('select.options', JHtml::_('category.options', 'com_componentbuilder.fieldtypes'), 'value', 'text') - ); - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_FIELDTYPES')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/fieldtypes.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_FIELDTYPE_NAME_LABEL'), - 'c.category_title' => JText::_('COM_COMPONENTBUILDER_FIELDTYPE_FIELDTYPE_CATEGORY'), - 'a.short_description' => JText::_('COM_COMPONENTBUILDER_FIELDTYPE_SHORT_DESCRIPTION_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/submitbutton.js deleted file mode 100644 index 525db9bf7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('help_document, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/tmpl/edit.php deleted file mode 100644 index dc9f54cfa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/tmpl/edit.php +++ /dev/null @@ -1,196 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - - <?php echo JLayoutHelper::render('help_document.details_above', $this); ?><div class="form-horizontal"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'help_documentTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'help_documentTab', 'details', JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('help_document.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('help_document.details_right', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('help_document.details_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('help_document.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('help_document.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'help_documentTab', 'publishing', JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('help_document.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('help_document.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'help_documentTab', 'permissions', JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="help_document.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('help_document.details_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_location listeners for location_VogwNXE function -jQuery('#jform_location').on('keyup',function() -{ - var location_VogwNXE = jQuery("#jform_location input[type='radio']:checked").val(); - VogwNXE(location_VogwNXE); - -}); -jQuery('#adminForm').on('change', '#jform_location',function (e) -{ - e.preventDefault(); - var location_VogwNXE = jQuery("#jform_location input[type='radio']:checked").val(); - VogwNXE(location_VogwNXE); - -}); - -// #jform_location listeners for location_XdiemBu function -jQuery('#jform_location').on('keyup',function() -{ - var location_XdiemBu = jQuery("#jform_location input[type='radio']:checked").val(); - XdiemBu(location_XdiemBu); - -}); -jQuery('#adminForm').on('change', '#jform_location',function (e) -{ - e.preventDefault(); - var location_XdiemBu = jQuery("#jform_location input[type='radio']:checked").val(); - XdiemBu(location_XdiemBu); - -}); - -// #jform_type listeners for type_SrsFadK function -jQuery('#jform_type').on('keyup',function() -{ - var type_SrsFadK = jQuery("#jform_type").val(); - SrsFadK(type_SrsFadK); - -}); -jQuery('#adminForm').on('change', '#jform_type',function (e) -{ - e.preventDefault(); - var type_SrsFadK = jQuery("#jform_type").val(); - SrsFadK(type_SrsFadK); - -}); - -// #jform_type listeners for type_BPqNOIe function -jQuery('#jform_type').on('keyup',function() -{ - var type_BPqNOIe = jQuery("#jform_type").val(); - BPqNOIe(type_BPqNOIe); - -}); -jQuery('#adminForm').on('change', '#jform_type',function (e) -{ - e.preventDefault(); - var type_BPqNOIe = jQuery("#jform_type").val(); - BPqNOIe(type_BPqNOIe); - -}); - -// #jform_type listeners for type_cLiMKqT function -jQuery('#jform_type').on('keyup',function() -{ - var type_cLiMKqT = jQuery("#jform_type").val(); - cLiMKqT(type_cLiMKqT); - -}); -jQuery('#adminForm').on('change', '#jform_type',function (e) -{ - e.preventDefault(); - var type_cLiMKqT = jQuery("#jform_type").val(); - cLiMKqT(type_cLiMKqT); - -}); - -// #jform_target listeners for target_jtOIeOF function -jQuery('#jform_target').on('keyup',function() -{ - var target_jtOIeOF = jQuery("#jform_target input[type='radio']:checked").val(); - jtOIeOF(target_jtOIeOF); - -}); -jQuery('#adminForm').on('change', '#jform_target',function (e) -{ - e.preventDefault(); - var target_jtOIeOF = jQuery("#jform_target input[type='radio']:checked").val(); - jtOIeOF(target_jtOIeOF); - -}); - -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/view.html.php deleted file mode 100644 index 51cbe7eef..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_document/view.html.php +++ /dev/null @@ -1,201 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Help_document View class - */ -class ComponentbuilderViewHelp_document extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('help_document',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_HELP_DOCUMENT_NEW' : 'COM_COMPONENTBUILDER_HELP_DOCUMENT_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('help_document.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('help_document.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('help_document.edit')) - { - // We can save the record. - JToolBarHelper::save('help_document.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('help_document.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('help_document.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('help_document.create')) - { - JToolBarHelper::apply('help_document.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('help_document.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('help_document.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('help_document.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('help_document.edit')) - { - // We can save the new record - JToolBarHelper::apply('help_document.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('help_document.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('help_document.create')) - { - JToolBarHelper::custom('help_document.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('help_document.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('help_document.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.help_document', $this->item->id); - } - if ($this->canDo->get('help_document.create')) - { - JToolBarHelper::custom('help_document.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('help_document.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('help_document'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_HELP_DOCUMENT_NEW' : 'COM_COMPONENTBUILDER_HELP_DOCUMENT_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/help_document.css"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/help_document/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default.php deleted file mode 100644 index 141a12ff3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=help_documents.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'help_documentList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=help_documents'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="help_documentList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_batch_body.php deleted file mode 100644 index 9fb05859c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_batch_footer.php deleted file mode 100644 index f00af251d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('help_document.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_body.php deleted file mode 100644 index 0215c9f6b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_body.php +++ /dev/null @@ -1,124 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=help_documents&task=help_document.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('help_document',$item,'help_documents'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('help_document.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('help_document.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('help_document.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->title); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'help_documents.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->title); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->type); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->groups); ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->location); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->admin_view); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->site_view); ?> - </td> - <td class="center"> - <?php if ($canDo->get('help_document.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'help_documents.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'help_documents.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'help_documents.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'help_documents.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_foot.php deleted file mode 100644 index 96de260dc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="10"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_head.php deleted file mode 100644 index 36382604f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_head.php +++ /dev/null @@ -1,77 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL', 'title', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL', 'type', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_GROUPS_LABEL'); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL', 'location', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL', 'admin_view', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL', 'site_view', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_HELP_DOCUMENT_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_HELP_DOCUMENT_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_toolbar.php deleted file mode 100644 index 110e82444..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Help_documents'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/view.html.php deleted file mode 100644 index 56f9fcdfc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/help_documents/view.html.php +++ /dev/null @@ -1,479 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Help_documents - */ -class ComponentbuilderViewHelp_documents extends JViewLegacy -{ - /** - * Help_documents view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('help_documents'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('help_document'); - $this->canEdit = $this->canDo->get('help_document.edit'); - $this->canState = $this->canDo->get('help_document.edit.state'); - $this->canCreate = $this->canDo->get('help_document.create'); - $this->canDelete = $this->canDo->get('help_document.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENTS'), 'support'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=help_documents'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('help_document.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('help_document.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('help_documents.publish'); - JToolBarHelper::unpublishList('help_documents.unpublish'); - JToolBarHelper::archiveList('help_documents.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('help_documents.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'help_documents.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('help_documents.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('help_document.export')) - { - JToolBarHelper::custom('help_documents.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('help_document.import')) - { - JToolBarHelper::custom('help_documents.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('help_documents'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - - // Set Type Selection - $this->typeOptions = $this->getTheTypeSelections(); - if ($this->typeOptions) - { - // Type Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL').' -', - 'filter_type', - JHtml::_('select.options', $this->typeOptions, 'value', 'text', $this->state->get('filter.type')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Type Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL').' -', - 'batch[type]', - JHtml::_('select.options', $this->typeOptions, 'value', 'text') - ); - } - } - - // Set Location Selection - $this->locationOptions = $this->getTheLocationSelections(); - if ($this->locationOptions) - { - // Location Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL').' -', - 'filter_location', - JHtml::_('select.options', $this->locationOptions, 'value', 'text', $this->state->get('filter.location')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Location Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL').' -', - 'batch[location]', - JHtml::_('select.options', $this->locationOptions, 'value', 'text') - ); - } - } - - // Set Admin View Selection - $this->admin_viewOptions = $this->getTheAdmin_viewSelections(); - if ($this->admin_viewOptions) - { - // Admin View Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL').' -', - 'filter_admin_view', - JHtml::_('select.options', $this->admin_viewOptions, 'value', 'text', $this->state->get('filter.admin_view')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Admin View Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL').' -', - 'batch[admin_view]', - JHtml::_('select.options', $this->admin_viewOptions, 'value', 'text') - ); - } - } - - // Set Site View Selection - $this->site_viewOptions = $this->getTheSite_viewSelections(); - if ($this->site_viewOptions) - { - // Site View Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL').' -', - 'filter_site_view', - JHtml::_('select.options', $this->site_viewOptions, 'value', 'text', $this->state->get('filter.site_view')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Site View Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL').' -', - 'batch[site_view]', - JHtml::_('select.options', $this->site_viewOptions, 'value', 'text') - ); - } - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENTS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/help_documents.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.title' => JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_TITLE_LABEL'), - 'a.type' => JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_TYPE_LABEL'), - 'a.location' => JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_LOCATION_LABEL'), - 'a.admin_view' => JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_ADMIN_VIEW_LABEL'), - 'a.site_view' => JText::_('COM_COMPONENTBUILDER_HELP_DOCUMENT_SITE_VIEW_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } - - protected function getTheTypeSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('type')); - $query->from($db->quoteName('#__componentbuilder_help_document')); - $query->order($db->quoteName('type') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $type) - { - // Translate the type selection - $text = $model->selectionTranslation($type,'type'); - // Now add the type and its text to the options array - $filter[] = JHtml::_('select.option', $type, JText::_($text)); - } - return $filter; - } - return false; - } - - protected function getTheLocationSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('location')); - $query->from($db->quoteName('#__componentbuilder_help_document')); - $query->order($db->quoteName('location') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $location) - { - // Translate the location selection - $text = $model->selectionTranslation($location,'location'); - // Now add the location and its text to the options array - $filter[] = JHtml::_('select.option', $location, JText::_($text)); - } - return $filter; - } - return false; - } - - protected function getTheAdmin_viewSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('admin_view')); - $query->from($db->quoteName('#__componentbuilder_help_document')); - $query->order($db->quoteName('admin_view') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - $results = array_unique($results); - $filter = array(); - foreach ($results as $admin_view) - { - // Now add the admin_view and its text to the options array - $filter[] = JHtml::_('select.option', $admin_view, $admin_view); - } - return $filter; - } - return false; - } - - protected function getTheSite_viewSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('site_view')); - $query->from($db->quoteName('#__componentbuilder_help_document')); - $query->order($db->quoteName('site_view') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - $results = array_unique($results); - $filter = array(); - foreach ($results as $site_view) - { - // Now add the site_view and its text to the options array - $filter[] = JHtml::_('select.option', $site_view, $site_view); - } - return $filter; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/tmpl/default.php deleted file mode 100644 index 7e7348f5a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/tmpl/default.php +++ /dev/null @@ -1,234 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::_('jquery.framework'); -JHtml::_('bootstrap.tooltip'); -JHtml::_('script', 'system/core.js', false, true); -?> -<script type="text/javascript"> - - <?php if ($this->hasPackage && ComponentbuilderHelper::checkArray($this->headerList)) : ?> - Joomla.continueImport = function() - { - var form = document.getElementById('adminForm'); - var error = false; - var therequired = [<?php $i = 0; foreach($this->headerList as $name => $title) { echo ($i != 0)? ', "vdm_'.$name.'"':'"vdm_'.$name.'"'; $i++; } ?>]; - for(i = 0; i < therequired.length; i++) - { - if(jQuery('#'+therequired[i]).val() == "" ) - { - error = true; - break; - } - } - // do field validation - if (error) - { - alert("<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_SELECT_ALL_COLUMNS', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'continue'; - form.submit(); - } - }; - <?php else: ?> - Joomla.submitbutton = function() - { - var form = document.getElementById('adminForm'); - - // do field validation - if (form.import_package.value == "") - { - alert("<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_SELECT_A_FILE', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'upload'; - form.submit(); - } - }; - - Joomla.submitbutton3 = function() - { - var form = document.getElementById('adminForm'); - - // do field validation - if (form.import_directory.value == ""){ - alert("<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_PLEASE_SELECT_A_DIRECTORY', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'folder'; - form.submit(); - } - }; - - Joomla.submitbutton4 = function() - { - var form = document.getElementById('adminForm'); - - // do field validation - if (form.import_url.value == "" || form.import_url.value == "http://") - { - alert("<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_MSG_ENTER_A_URL', true); ?>"); - } - else - { - jQuery('#loading').css('display', 'block'); - - form.gettype.value = 'url'; - form.submit(); - } - }; - <?php endif; ?> - - // Add spindle-wheel for importations: - jQuery(document).ready(function($) { - var outerDiv = $('body'); - - $('<div id="loading"></div>') - .css("background", "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/import.gif') 50% 15% no-repeat") - .css("top", outerDiv.position().top - $(window).scrollTop()) - .css("left", outerDiv.position().left - $(window).scrollLeft()) - .css("width", outerDiv.width()) - .css("height", outerDiv.height()) - .css("position", "fixed") - .css("opacity", "0.80") - .css("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)") - .css("filter", "alpha(opacity = 80)") - .css("display", "none") - .appendTo(outerDiv); - }); - -</script> - -<div id="installer-import" class="clearfix"> -<form enctype="multipart/form-data" action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=import');?>" method="post" name="adminForm" id="adminForm" class="form-horizontal form-validate"> - - <?php if (!empty( $this->sidebar)) : ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> - <?php else : ?> - <div id="j-main-container"> - <?php endif;?> - - <?php if ($this->hasPackage && ComponentbuilderHelper::checkArray($this->headerList) && ComponentbuilderHelper::checkArray($this->headers)) : ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_LINK_FILE_TO_TABLE_COLUMNS'); ?></legend> - <div class="control-group"> - <label class="control-label" ><h4><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_TABLE_COLUMNS'); ?></h4></label> - <div class="controls"> - <label class="control-label" ><h4><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_FILE_COLUMNS'); ?></h4></label> - </div> - </div> - <?php foreach($this->headerList as $name => $title): ?> - <div class="control-group"> - <label for="<?php echo $name; ?>" class="control-label" ><?php echo $title; ?></label> - <div class="controls"> - <select name="<?php echo $name; ?>" id="vdm_<?php echo $name; ?>" required class="required input_box" > - <option value=""><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_PLEASE_SELECT_COLUMN'); ?></option> - <option value="IGNORE"><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_IGNORE_COLUMN'); ?></option> - <?php foreach($this->headers as $value => $option): ?> - <?php $selected = (strtolower($option) == strtolower ($title) || strtolower($option) == strtolower($name))? 'selected="selected"':''; ?> - <option value="<?php echo ComponentbuilderHelper::htmlEscape($value); ?>" class="required" <?php echo $selected ?>><?php echo ComponentbuilderHelper::htmlEscape($option); ?></option> - <?php endforeach; ?> - </select> - </div> - </div> - <?php endforeach; ?> - <div class="form-actions"> - <input class="btn btn-primary" type="button" value="<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_CONTINUE'); ?>" onclick="Joomla.continueImport()" /> - </div> - </fieldset> - <input type="hidden" name="gettype" value="continue" /> - <?php else: ?> - <?php echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'upload')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'upload', JText::_('COM_COMPONENTBUILDER_IMPORT_FROM_UPLOAD', true)); ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_UPDATE_DATA'); ?></legend> - <div class="control-group"> - <label for="import_package" class="control-label"><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE'); ?></label> - <div class="controls"> - <input class="input_box" id="import_package" name="import_package" type="file" size="57" /> - </div> - </div> - <div class="form-actions"> - <input class="btn btn-primary" type="button" value="<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_UPLOAD_BOTTON'); ?>" onclick="Joomla.submitbutton()" />&nbsp;&nbsp;&nbsp;<small><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_FORMATS_ACCEPTED'); ?> (.csv .xls .ods)</small> - </div> - </fieldset> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'directory', JText::_('COM_COMPONENTBUILDER_IMPORT_FROM_DIRECTORY', true)); ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_UPDATE_DATA'); ?></legend> - <div class="control-group"> - <label for="import_directory" class="control-label"><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_DIRECTORY'); ?></label> - <div class="controls"> - <input type="text" id="import_directory" name="import_directory" class="span5 input_box" size="70" value="<?php echo $this->state->get('import.directory'); ?>" /> - </div> - </div> - <div class="form-actions"> - <input type="button" class="btn btn-primary" value="<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_GET_BOTTON'); ?>" onclick="Joomla.submitbutton3()" />&nbsp;&nbsp;&nbsp;<small><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_FORMATS_ACCEPTED'); ?> (.csv .xls .ods)</small> - </div> - </fieldset> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'myTab', 'url', JText::_('COM_COMPONENTBUILDER_IMPORT_FROM_URL', true)); ?> - <fieldset class="uploadform"> - <legend><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_UPDATE_DATA'); ?></legend> - <div class="control-group"> - <label for="import_url" class="control-label"><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_SELECT_FILE_URL'); ?></label> - <div class="controls"> - <input type="text" id="import_url" name="import_url" class="span5 input_box" size="70" value="http://" /> - </div> - </div> - <div class="form-actions"> - <input type="button" class="btn btn-primary" value="<?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_GET_BOTTON'); ?>" onclick="Joomla.submitbutton4()" />&nbsp;&nbsp;&nbsp;<small><?php echo JText::_('COM_COMPONENTBUILDER_IMPORT_FORMATS_ACCEPTED'); ?> (.csv .xls .ods)</small> - </div> - </fieldset> - - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - <input type="hidden" name="gettype" value="upload" /> - <?php endif; ?> - <input type="hidden" name="task" value="import.import" /> - <?php echo JHtml::_('form.token'); ?> -</form> -</div> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/view.html.php deleted file mode 100644 index 3e526443c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/import/view.html.php +++ /dev/null @@ -1,111 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder Import View - */ -class ComponentbuilderViewImport extends JViewLegacy -{ - protected $headerList; - protected $hasPackage = false; - protected $headers; - protected $hasHeader = 0; - protected $dataType; - - public function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('import'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))){ - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - $paths = new stdClass; - $paths->first = ''; - $state = $this->get('state'); - - $this->paths = &$paths; - $this->state = &$state; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('import'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - } - - // get the session object - $session = JFactory::getSession(); - // check if it has package - $this->hasPackage = $session->get('hasPackage', false); - $this->dataType = $session->get('dataType', false); - if($this->hasPackage && $this->dataType) - { - $this->headerList = json_decode($session->get($this->dataType.'_VDM_IMPORTHEADERS', false),true); - $this->headers = ComponentbuilderHelper::getFileHeaders($this->dataType); - // clear the data type - $session->clear('dataType'); - } - - // Display the template - parent::display($tpl); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_IMPORT_TITLE'), 'upload'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=import'); - - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('import'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/submitbutton.js deleted file mode 100644 index 29e2c60ab..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('layout, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/tmpl/edit.php deleted file mode 100644 index 577b15abf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/tmpl/edit.php +++ /dev/null @@ -1,189 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> -<div class="form-horizontal span9"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'layoutTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'layoutTab', 'details', JText::_('COM_COMPONENTBUILDER_LAYOUT_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('layout.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('layout.details_right', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('layout.details_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'layoutTab', 'custom_script', JText::_('COM_COMPONENTBUILDER_LAYOUT_CUSTOM_SCRIPT', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('layout.custom_script_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'layoutTab', 'publishing', JText::_('COM_COMPONENTBUILDER_LAYOUT_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('layout.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('layout.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'layoutTab', 'permissions', JText::_('COM_COMPONENTBUILDER_LAYOUT_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="layout.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div><div class="span3"> - <?php echo JLayoutHelper::render('layout.details_rightside', $this); ?> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('layout.details_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_add_php_view listeners for add_php_view_JSrMkAM function -jQuery('#jform_add_php_view').on('keyup',function() -{ - var add_php_view_JSrMkAM = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - JSrMkAM(add_php_view_JSrMkAM); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) -{ - e.preventDefault(); - var add_php_view_JSrMkAM = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - JSrMkAM(add_php_view_JSrMkAM); - -}); - - -jQuery(function() { - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); -}); - -jQuery.fn.selText = function() { - var obj = this[0]; - if (jQuery.browser.msie) { - var range = obj.offsetParent.createTextRange(); - range.moveToElementText(obj); - range.select(); - } else if (jQuery.browser.mozilla || $.browser.opera) { - var selection = obj.ownerDocument.defaultView.getSelection(); - var range = obj.ownerDocument.createRange(); - range.selectNodeContents(obj); - selection.removeAllRanges(); - selection.addRange(range); - } else if (jQuery.browser.safari) { - var selection = obj.ownerDocument.defaultView.getSelection(); - selection.setBaseAndExtent(obj, 0, obj, 1); - } - return this; -} - -jQuery('#adminForm').on('change', '#jform_snippet',function (e) { - e.preventDefault(); - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery(document).ready(function() { - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery('#adminForm').on('change', '#jform_dynamic_get',function (e) { - e.preventDefault(); - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - -jQuery(document).ready(function() { - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - -jQuery(document).ready(function() { - // get type value - getDynamicFormDetails(9999); - getLayoutDetails(<?php echo ($this->item->id) ? $this->item->id:9999; ?>); -}); -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/view.html.php deleted file mode 100644 index 8480ebcb9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layout/view.html.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Layout View class - */ -class ComponentbuilderViewLayout extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('layout',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_LAYOUT_NEW' : 'COM_COMPONENTBUILDER_LAYOUT_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('core.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('layout.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('core.edit')) - { - // We can save the record. - JToolBarHelper::save('layout.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('layout.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('layout.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::apply('layout.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('layout.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('layout.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('layout.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('core.edit')) - { - // We can save the new record - JToolBarHelper::apply('layout.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('layout.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('layout.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('layout.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('core.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.layout', $this->item->id); - } - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('layout.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('layout.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('layout'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_LAYOUT_NEW' : 'COM_COMPONENTBUILDER_LAYOUT_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/layout.css"); - // Add Ajax Token - $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/layout/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default.php deleted file mode 100644 index c644470b6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=layouts.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'layoutList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=layouts'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="layoutList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_LAYOUTS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_batch_body.php deleted file mode 100644 index b5bcc9fc8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_LAYOUTS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_batch_footer.php deleted file mode 100644 index 32fe21409..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('layout.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_body.php deleted file mode 100644 index 5b6548563..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_body.php +++ /dev/null @@ -1,124 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=layouts&task=layout.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('layout',$item,'layouts'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('core.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('core.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'layouts.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->alias); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->description); ?> - </td> - <td class="nowrap"> - <?php if ($this->user->authorise('dynamic_get.edit', 'com_componentbuilder.dynamic_get.' . (int)$item->dynamic_get)): ?> - <div class="name"> - <a href="index.php?option=com_componentbuilder&view=dynamic_gets&task=dynamic_get.edit&id=<?php echo $item->dynamic_get; ?>&ref=layouts"><?php echo $this->escape($item->dynamic_get_name); ?></a> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->dynamic_get_name); ?></div> - <?php endif; ?> - </td> - <td class="center"> - <?php if ($canDo->get('core.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'layouts.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'layouts.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'layouts.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'layouts.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_foot.php deleted file mode 100644 index 207d3f3f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="8"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_head.php deleted file mode 100644 index e1a4440f1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_head.php +++ /dev/null @@ -1,71 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL', 'alias', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL', 'description', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL', 'dynamic_get_name', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LAYOUT_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_LAYOUT_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_LAYOUT_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_toolbar.php deleted file mode 100644 index af5e77a02..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Layouts'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/view.html.php deleted file mode 100644 index ebef4eefa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/layouts/view.html.php +++ /dev/null @@ -1,276 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Layouts - */ -class ComponentbuilderViewLayouts extends JViewLegacy -{ - /** - * Layouts view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('layouts'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('layout'); - $this->canEdit = $this->canDo->get('core.edit'); - $this->canState = $this->canDo->get('core.edit.state'); - $this->canCreate = $this->canDo->get('core.create'); - $this->canDelete = $this->canDo->get('core.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_LAYOUTS'), 'brush'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=layouts'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('layout.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('layout.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('layouts.publish'); - JToolBarHelper::unpublishList('layouts.unpublish'); - JToolBarHelper::archiveList('layouts.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('layouts.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'layouts.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('layouts.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('layout.export')) - { - JToolBarHelper::custom('layouts.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('layout.import')) - { - JToolBarHelper::custom('layouts.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('layouts'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - - // Set Dynamic Get Name Selection - $this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicgets')->getOptions(); - if ($this->dynamic_getNameOptions) - { - // Dynamic Get Name Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL').' -', - 'filter_dynamic_get', - JHtml::_('select.options', $this->dynamic_getNameOptions, 'value', 'text', $this->state->get('filter.dynamic_get')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Dynamic Get Name Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL').' -', - 'batch[dynamic_get]', - JHtml::_('select.options', $this->dynamic_getNameOptions, 'value', 'text') - ); - } - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_LAYOUTS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/layouts.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_LAYOUT_NAME_LABEL'), - 'a.alias' => JText::_('COM_COMPONENTBUILDER_LAYOUT_ALIAS_LABEL'), - 'a.description' => JText::_('COM_COMPONENTBUILDER_LAYOUT_DESCRIPTION_LABEL'), - 'g.name' => JText::_('COM_COMPONENTBUILDER_LAYOUT_DYNAMIC_GET_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/submitbutton.js deleted file mode 100644 index da94556b0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('site_view, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/tmpl/edit.php deleted file mode 100644 index cf788ed14..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/tmpl/edit.php +++ /dev/null @@ -1,361 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - - <?php echo JLayoutHelper::render('site_view.details_above', $this); ?><div class="form-horizontal span9"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'site_viewTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'site_viewTab', 'details', JText::_('COM_COMPONENTBUILDER_SITE_VIEW_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('site_view.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('site_view.details_right', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('site_view.details_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'site_viewTab', 'custom_buttons', JText::_('COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_BUTTONS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('site_view.custom_buttons_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'site_viewTab', 'javascript_css', JText::_('COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_CSS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('site_view.javascript_css_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'site_viewTab', 'php', JText::_('COM_COMPONENTBUILDER_SITE_VIEW_PHP', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('site_view.php_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'site_viewTab', 'publishing', JText::_('COM_COMPONENTBUILDER_SITE_VIEW_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('site_view.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('site_view.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'site_viewTab', 'permissions', JText::_('COM_COMPONENTBUILDER_SITE_VIEW_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="site_view.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div><div class="span3"> - <?php echo JLayoutHelper::render('site_view.details_rightside', $this); ?> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('site_view.details_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_add_php_view listeners for add_php_view_blJlYrD function -jQuery('#jform_add_php_view').on('keyup',function() -{ - var add_php_view_blJlYrD = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - blJlYrD(add_php_view_blJlYrD); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) -{ - e.preventDefault(); - var add_php_view_blJlYrD = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - blJlYrD(add_php_view_blJlYrD); - -}); - -// #jform_add_php_jview_display listeners for add_php_jview_display_VEXuxBI function -jQuery('#jform_add_php_jview_display').on('keyup',function() -{ - var add_php_jview_display_VEXuxBI = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - VEXuxBI(add_php_jview_display_VEXuxBI); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) -{ - e.preventDefault(); - var add_php_jview_display_VEXuxBI = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - VEXuxBI(add_php_jview_display_VEXuxBI); - -}); - -// #jform_add_php_jview listeners for add_php_jview_EgCFxqX function -jQuery('#jform_add_php_jview').on('keyup',function() -{ - var add_php_jview_EgCFxqX = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - EgCFxqX(add_php_jview_EgCFxqX); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) -{ - e.preventDefault(); - var add_php_jview_EgCFxqX = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - EgCFxqX(add_php_jview_EgCFxqX); - -}); - -// #jform_add_php_document listeners for add_php_document_jfLQoCd function -jQuery('#jform_add_php_document').on('keyup',function() -{ - var add_php_document_jfLQoCd = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - jfLQoCd(add_php_document_jfLQoCd); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) -{ - e.preventDefault(); - var add_php_document_jfLQoCd = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - jfLQoCd(add_php_document_jfLQoCd); - -}); - -// #jform_add_css_document listeners for add_css_document_NOqLoJr function -jQuery('#jform_add_css_document').on('keyup',function() -{ - var add_css_document_NOqLoJr = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - NOqLoJr(add_css_document_NOqLoJr); - -}); -jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) -{ - e.preventDefault(); - var add_css_document_NOqLoJr = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - NOqLoJr(add_css_document_NOqLoJr); - -}); - -// #jform_add_js_document listeners for add_js_document_BWfWBwi function -jQuery('#jform_add_js_document').on('keyup',function() -{ - var add_js_document_BWfWBwi = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - BWfWBwi(add_js_document_BWfWBwi); - -}); -jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) -{ - e.preventDefault(); - var add_js_document_BWfWBwi = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - BWfWBwi(add_js_document_BWfWBwi); - -}); - -// #jform_add_css listeners for add_css_YKnCuKl function -jQuery('#jform_add_css').on('keyup',function() -{ - var add_css_YKnCuKl = jQuery("#jform_add_css input[type='radio']:checked").val(); - YKnCuKl(add_css_YKnCuKl); - -}); -jQuery('#adminForm').on('change', '#jform_add_css',function (e) -{ - e.preventDefault(); - var add_css_YKnCuKl = jQuery("#jform_add_css input[type='radio']:checked").val(); - YKnCuKl(add_css_YKnCuKl); - -}); - -// #jform_add_php_ajax listeners for add_php_ajax_qkRCUep function -jQuery('#jform_add_php_ajax').on('keyup',function() -{ - var add_php_ajax_qkRCUep = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - qkRCUep(add_php_ajax_qkRCUep); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) -{ - e.preventDefault(); - var add_php_ajax_qkRCUep = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - qkRCUep(add_php_ajax_qkRCUep); - -}); - -// #jform_add_custom_button listeners for add_custom_button_kCMursR function -jQuery('#jform_add_custom_button').on('keyup',function() -{ - var add_custom_button_kCMursR = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - kCMursR(add_custom_button_kCMursR); - -}); -jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) -{ - e.preventDefault(); - var add_custom_button_kCMursR = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - kCMursR(add_custom_button_kCMursR); - -}); - - -jQuery(function() { - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); -}); - -jQuery.fn.selText = function() { - var obj = this[0]; - if (jQuery.browser.msie) { - var range = obj.offsetParent.createTextRange(); - range.moveToElementText(obj); - range.select(); - } else if (jQuery.browser.mozilla || $.browser.opera) { - var selection = obj.ownerDocument.defaultView.getSelection(); - var range = obj.ownerDocument.createRange(); - range.selectNodeContents(obj); - selection.removeAllRanges(); - selection.addRange(range); - } else if (jQuery.browser.safari) { - var selection = obj.ownerDocument.defaultView.getSelection(); - selection.setBaseAndExtent(obj, 0, obj, 1); - } - return this; -} - -jQuery('#adminForm').on('change', '#jform_snippet',function (e) { - e.preventDefault(); - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery(document).ready(function() { - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery('#adminForm').on('change', '#jform_dynamic_get',function (e) { - e.preventDefault(); - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - -jQuery(document).ready(function() { - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - - -jQuery(document).ready(function() { - // get type value - getLayoutDetails(9999); - getTemplateDetails(9999); - getDynamicFormDetails(9999); -}); -<?php $fieldNrs = range(1,10,1); ?> -<?php foreach($fieldNrs as $nr): ?>jQuery('body').on('change', 'select[name="icomoon-<?php echo $nr; ?>"]',function (e) { - // update the icon if changed - var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val(); - var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-'); - var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn'; - var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>); - // build new span - var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>'; - // remove old one - jQuery('#icon_'+target_<?php echo $nr; ?>).remove(); - // add the new icon - div_<?php echo $nr; ?>.closest("td").append(span); -}); - -jQuery(document).ready(function() { - // get type value - var val_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"] option:selected').val(); - var key_<?php echo $nr; ?> = jQuery('select[name="icomoon-<?php echo $nr; ?>"]').attr('id').split('-'); - var target_<?php echo $nr; ?> = key_<?php echo $nr; ?>[0]+'_'+key_<?php echo $nr; ?>[1]+'_chzn'; - var div_<?php echo $nr; ?> = jQuery('#'+target_<?php echo $nr; ?>); - // build new span - var span = '<span id="icon_'+target_<?php echo $nr; ?>+'" class="icon-'+val_<?php echo $nr; ?>+'"></span>'; - // remove old one - jQuery('#icon_'+target_<?php echo $nr; ?>).remove(); - // add the new icon - div_<?php echo $nr; ?>.closest("td").append(span); -}); -<?php endforeach; ?> -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/view.html.php deleted file mode 100644 index c01d49a9b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_view/view.html.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Site_view View class - */ -class ComponentbuilderViewSite_view extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('site_view',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_SITE_VIEW_NEW' : 'COM_COMPONENTBUILDER_SITE_VIEW_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('core.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('site_view.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('core.edit')) - { - // We can save the record. - JToolBarHelper::save('site_view.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('site_view.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('site_view.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::apply('site_view.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('site_view.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('site_view.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('site_view.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('core.edit')) - { - // We can save the new record - JToolBarHelper::apply('site_view.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('site_view.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('site_view.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('site_view.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('core.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.site_view', $this->item->id); - } - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('site_view.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('site_view.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('site_view'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_SITE_VIEW_NEW' : 'COM_COMPONENTBUILDER_SITE_VIEW_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/site_view.css"); - // Add Ajax Token - $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/site_view/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default.php deleted file mode 100644 index ae293c360..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=site_views.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'site_viewList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=site_views'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="site_viewList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_batch_body.php deleted file mode 100644 index 85fe563de..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_batch_footer.php deleted file mode 100644 index 4876b77ed..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('site_view.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_body.php deleted file mode 100644 index 94c63e964..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_body.php +++ /dev/null @@ -1,121 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('site_view',$item,'site_views'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('core.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('core.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'site_views.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->system_name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->name); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->alias); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->description); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->snippet_name); ?> - </td> - <td class="center"> - <?php if ($canDo->get('core.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'site_views.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'site_views.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'site_views.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'site_views.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_foot.php deleted file mode 100644 index 295202f76..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="9"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_head.php deleted file mode 100644 index 7bee7d94f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_head.php +++ /dev/null @@ -1,74 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_LABEL', 'system_name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_LABEL', 'alias', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL', 'description', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_SNIPPET_LABEL'); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SITE_VIEW_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_SITE_VIEW_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SITE_VIEW_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_toolbar.php deleted file mode 100644 index 63134f371..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Site_views'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/view.html.php deleted file mode 100644 index 88c311432..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/site_views/view.html.php +++ /dev/null @@ -1,254 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Site_views - */ -class ComponentbuilderViewSite_views extends JViewLegacy -{ - /** - * Site_views view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('site_views'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('site_view'); - $this->canEdit = $this->canDo->get('core.edit'); - $this->canState = $this->canDo->get('core.edit.state'); - $this->canCreate = $this->canDo->get('core.create'); - $this->canDelete = $this->canDo->get('core.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_SITE_VIEWS'), 'stack'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=site_views'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('site_view.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('site_view.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('site_views.publish'); - JToolBarHelper::unpublishList('site_views.unpublish'); - JToolBarHelper::archiveList('site_views.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('site_views.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'site_views.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('site_views.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('site_view.export')) - { - JToolBarHelper::custom('site_views.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('site_view.import')) - { - JToolBarHelper::custom('site_views.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('site_views'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_SITE_VIEWS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/site_views.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.system_name' => JText::_('COM_COMPONENTBUILDER_SITE_VIEW_SYSTEM_NAME_LABEL'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_SITE_VIEW_NAME_LABEL'), - 'a.alias' => JText::_('COM_COMPONENTBUILDER_SITE_VIEW_ALIAS_LABEL'), - 'a.description' => JText::_('COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/submitbutton.js deleted file mode 100644 index 93553a20a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('snippet, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/tmpl/edit.php deleted file mode 100644 index 52ce38c7e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/tmpl/edit.php +++ /dev/null @@ -1,94 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> - - <?php echo JLayoutHelper::render('snippet.details_above', $this); ?><div class="form-horizontal"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'snippetTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'snippetTab', 'details', JText::_('COM_COMPONENTBUILDER_SNIPPET_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('snippet.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('snippet.details_right', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'snippetTab', 'publishing', JText::_('COM_COMPONENTBUILDER_SNIPPET_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('snippet.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('snippet.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'snippetTab', 'permissions', JText::_('COM_COMPONENTBUILDER_SNIPPET_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="snippet.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div> -</form> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/view.html.php deleted file mode 100644 index 506f5601f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippet/view.html.php +++ /dev/null @@ -1,201 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Snippet View class - */ -class ComponentbuilderViewSnippet extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('snippet',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_SNIPPET_NEW' : 'COM_COMPONENTBUILDER_SNIPPET_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('core.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('snippet.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('core.edit')) - { - // We can save the record. - JToolBarHelper::save('snippet.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('snippet.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('snippet.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::apply('snippet.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('snippet.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('snippet.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('snippet.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('core.edit')) - { - // We can save the new record - JToolBarHelper::apply('snippet.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('snippet.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('snippet.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('snippet.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('core.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.snippet', $this->item->id); - } - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('snippet.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('snippet.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('snippet'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_SNIPPET_NEW' : 'COM_COMPONENTBUILDER_SNIPPET_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/snippet.css"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/snippet/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default.php deleted file mode 100644 index b5559286a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=snippets.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'snippetList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=snippets'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="snippetList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_SNIPPETS_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_batch_body.php deleted file mode 100644 index f1fb22d26..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_SNIPPETS_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_batch_footer.php deleted file mode 100644 index eaa8cd95b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('snippet.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_body.php deleted file mode 100644 index 8883386a7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_body.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=snippets&task=snippet.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('snippet',$item,'snippets'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('core.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('core.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'snippets.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->url); ?> - </td> - <td class="hidden-phone"> - <?php echo JText::_($item->type); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->heading); ?> - </td> - <td class="center"> - <?php if ($canDo->get('core.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'snippets.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'snippets.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'snippets.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'snippets.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_foot.php deleted file mode 100644 index 207d3f3f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="8"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_head.php deleted file mode 100644 index 180bf9cdc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_head.php +++ /dev/null @@ -1,71 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SNIPPET_URL_LABEL', 'url', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL', 'type', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL', 'heading', $this->listDirn, $this->listOrder); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SNIPPET_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_SNIPPET_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_SNIPPET_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_toolbar.php deleted file mode 100644 index 05ff32d7f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Snippets'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/view.html.php deleted file mode 100644 index 4e43216b2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/snippets/view.html.php +++ /dev/null @@ -1,312 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Snippets - */ -class ComponentbuilderViewSnippets extends JViewLegacy -{ - /** - * Snippets view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('snippets'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('snippet'); - $this->canEdit = $this->canDo->get('core.edit'); - $this->canState = $this->canDo->get('core.edit.state'); - $this->canCreate = $this->canDo->get('core.create'); - $this->canDelete = $this->canDo->get('core.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_SNIPPETS'), 'pin'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=snippets'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('snippet.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('snippet.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('snippets.publish'); - JToolBarHelper::unpublishList('snippets.unpublish'); - JToolBarHelper::archiveList('snippets.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('snippets.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'snippets.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('snippets.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('snippet.export')) - { - JToolBarHelper::custom('snippets.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('snippet.import')) - { - JToolBarHelper::custom('snippets.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('snippets'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - - // Set Type Selection - $this->typeOptions = $this->getTheTypeSelections(); - if ($this->typeOptions) - { - // Type Filter - JHtmlSidebar::addFilter( - '- Select '.JText::_('COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL').' -', - 'filter_type', - JHtml::_('select.options', $this->typeOptions, 'value', 'text', $this->state->get('filter.type')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - // Type Batch Selection - JHtmlBatch_::addListSelection( - '- Keep Original '.JText::_('COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL').' -', - 'batch[type]', - JHtml::_('select.options', $this->typeOptions, 'value', 'text') - ); - } - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_SNIPPETS')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/snippets.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_SNIPPET_NAME_LABEL'), - 'a.url' => JText::_('COM_COMPONENTBUILDER_SNIPPET_URL_LABEL'), - 'a.type' => JText::_('COM_COMPONENTBUILDER_SNIPPET_TYPE_LABEL'), - 'a.heading' => JText::_('COM_COMPONENTBUILDER_SNIPPET_HEADING_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } - - protected function getTheTypeSelections() - { - // Get a db connection. - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - - // Select the text. - $query->select($db->quoteName('type')); - $query->from($db->quoteName('#__componentbuilder_snippet')); - $query->order($db->quoteName('type') . ' ASC'); - - // Reset the query using our newly populated query object. - $db->setQuery($query); - - $results = $db->loadColumn(); - - if ($results) - { - // get model - $model = $this->getModel(); - $results = array_unique($results); - $filter = array(); - foreach ($results as $type) - { - // Translate the type selection - $text = $model->selectionTranslation($type,'type'); - // Now add the type and its text to the options array - $filter[] = JHtml::_('select.option', $type, JText::_($text)); - } - return $filter; - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/submitbutton.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/submitbutton.js deleted file mode 100644 index eb5b1f308..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/submitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage submitbutton.js - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -Joomla.submitbutton = function(task) -{ - if (task == ''){ - return false; - } else { - var isValid=true; - var action = task.split('.'); - if (action[1] != 'cancel' && action[1] != 'close'){ - var forms = $$('form.form-validate'); - for (var i=0;i<forms.length;i++){ - if (!document.formvalidator.isValid(forms[i])){ - isValid = false; - break; - } - } - } - if (isValid){ - Joomla.submitform(task); - return true; - } else { - alert(Joomla.JText._('template, some values are not acceptable.','Some values are unacceptable')); - return false; - } - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/tmpl/edit.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/tmpl/edit.php deleted file mode 100644 index c8a1f0392..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/tmpl/edit.php +++ /dev/null @@ -1,190 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage edit.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.formvalidation'); -JHtml::_('formbehavior.chosen', 'select'); -JHtml::_('behavior.keepalive'); -$componentParams = JComponentHelper::getParams('com_componentbuilder'); -?> - -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='.(int) $this->item->id.$this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> -<div class="form-horizontal span9"> - - <?php echo JHtml::_('bootstrap.startTabSet', 'templateTab', array('active' => 'details')); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'templateTab', 'details', JText::_('COM_COMPONENTBUILDER_TEMPLATE_DETAILS', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('template.details_left', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('template.details_right', $this); ?> - </div> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('template.details_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php echo JHtml::_('bootstrap.addTab', 'templateTab', 'custom_script', JText::_('COM_COMPONENTBUILDER_TEMPLATE_CUSTOM_SCRIPT', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - </div> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <?php echo JLayoutHelper::render('template.custom_script_fullwidth', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - - <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'templateTab', 'publishing', JText::_('COM_COMPONENTBUILDER_TEMPLATE_PUBLISHING', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span6"> - <?php echo JLayoutHelper::render('template.publishing', $this); ?> - </div> - <div class="span6"> - <?php echo JLayoutHelper::render('template.publlshing', $this); ?> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php if ($this->canDo->get('core.admin')) : ?> - <?php echo JHtml::_('bootstrap.addTab', 'templateTab', 'permissions', JText::_('COM_COMPONENTBUILDER_TEMPLATE_PERMISSION', true)); ?> - <div class="row-fluid form-horizontal-desktop"> - <div class="span12"> - <fieldset class="adminform"> - <div class="adminformlist"> - <?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?> - <div> - <?php echo $field->label; echo $field->input;?> - </div> - <div class="clearfix"></div> - <?php endforeach; ?> - </div> - </fieldset> - </div> - </div> - <?php echo JHtml::_('bootstrap.endTab'); ?> - <?php endif; ?> - - <?php echo JHtml::_('bootstrap.endTabSet'); ?> - - <div> - <input type="hidden" name="task" value="template.edit" /> - <?php echo JHtml::_('form.token'); ?> - </div> -</div><div class="span3"> - <?php echo JLayoutHelper::render('template.details_rightside', $this); ?> -</div> - -<div class="clearfix"></div> -<?php echo JLayoutHelper::render('template.details_under', $this); ?> -</form> - -<script type="text/javascript"> - -// #jform_add_php_view listeners for add_php_view_fAANGXq function -jQuery('#jform_add_php_view').on('keyup',function() -{ - var add_php_view_fAANGXq = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - fAANGXq(add_php_view_fAANGXq); - -}); -jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) -{ - e.preventDefault(); - var add_php_view_fAANGXq = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - fAANGXq(add_php_view_fAANGXq); - -}); - - -jQuery(function() { - jQuery("code").click(function() { - jQuery(this).selText().addClass("selected"); - }); -}); - -jQuery.fn.selText = function() { - var obj = this[0]; - if (jQuery.browser.msie) { - var range = obj.offsetParent.createTextRange(); - range.moveToElementText(obj); - range.select(); - } else if (jQuery.browser.mozilla || $.browser.opera) { - var selection = obj.ownerDocument.defaultView.getSelection(); - var range = obj.ownerDocument.createRange(); - range.selectNodeContents(obj); - selection.removeAllRanges(); - selection.addRange(range); - } else if (jQuery.browser.safari) { - var selection = obj.ownerDocument.defaultView.getSelection(); - selection.setBaseAndExtent(obj, 0, obj, 1); - } - return this; -} - -jQuery('#adminForm').on('change', '#jform_snippet',function (e) { - e.preventDefault(); - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery(document).ready(function() { - // get type value - var snippetId = jQuery("#jform_snippet option:selected").val(); - getSnippetDetails(snippetId); -}); - -jQuery('#adminForm').on('change', '#jform_dynamic_get',function (e) { - e.preventDefault(); - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - -jQuery(document).ready(function() { - // get type value - var dynamicId = jQuery("#jform_dynamic_get option:selected").val(); - getDynamicValues(dynamicId); -}); - -jQuery(document).ready(function() { - // get type value - getLayoutDetails(9999); - getDynamicFormDetails(9999); - getTemplateDetails(<?php echo ($this->item->id) ? $this->item->id:9999; ?>); -}); -</script> diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/view.html.php deleted file mode 100644 index f491b4702..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/template/view.html.php +++ /dev/null @@ -1,203 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Template View class - */ -class ComponentbuilderViewTemplate extends JViewLegacy -{ - /** - * display method of View - * @return void - */ - public function display($tpl = null) - { - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign the variables - $this->form = $this->get('Form'); - $this->item = $this->get('Item'); - $this->script = $this->get('Script'); - $this->state = $this->get('State'); - // get action permissions - $this->canDo = ComponentbuilderHelper::getActions('template',$this->item); - // get input - $jinput = JFactory::getApplication()->input; - $this->ref = $jinput->get('ref', 0, 'word'); - $this->refid = $jinput->get('refid', 0, 'int'); - $this->referral = ''; - if ($this->refid) - { - // return to the item that refered to this item - $this->referral = '&ref='.(string)$this->ref.'&refid='.(int)$this->refid; - } - elseif($this->ref) - { - // return to the list view that refered to this item - $this->referral = '&ref='.(string)$this->ref; - } - - // Set the toolbar - $this->addToolBar(); - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JFactory::getApplication()->input->set('hidemainmenu', true); - $user = JFactory::getUser(); - $userId = $user->id; - $isNew = $this->item->id == 0; - - JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_TEMPLATE_NEW' : 'COM_COMPONENTBUILDER_TEMPLATE_EDIT'), 'pencil-2 article-add'); - // Built the actions for new and existing records. - if ($this->refid || $this->ref) - { - if ($this->canDo->get('core.create') && $isNew) - { - // We can create the record. - JToolBarHelper::save('template.save', 'JTOOLBAR_SAVE'); - } - elseif ($this->canDo->get('core.edit')) - { - // We can save the record. - JToolBarHelper::save('template.save', 'JTOOLBAR_SAVE'); - } - if ($isNew) - { - // Do not creat but cancel. - JToolBarHelper::cancel('template.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - // We can close it. - JToolBarHelper::cancel('template.cancel', 'JTOOLBAR_CLOSE'); - } - } - else - { - if ($isNew) - { - // For new records, check the create permission. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::apply('template.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('template.save', 'JTOOLBAR_SAVE'); - JToolBarHelper::custom('template.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - }; - JToolBarHelper::cancel('template.cancel', 'JTOOLBAR_CANCEL'); - } - else - { - if ($this->canDo->get('core.edit')) - { - // We can save the new record - JToolBarHelper::apply('template.apply', 'JTOOLBAR_APPLY'); - JToolBarHelper::save('template.save', 'JTOOLBAR_SAVE'); - // We can save this record, but check the create permission to see - // if we can return to make a new one. - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('template.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false); - } - } - $canVersion = ($this->canDo->get('core.version') && $this->canDo->get('template.version')); - if ($this->state->params->get('save_history', 1) && $this->canDo->get('core.edit') && $canVersion) - { - JToolbarHelper::versions('com_componentbuilder.template', $this->item->id); - } - if ($this->canDo->get('core.create')) - { - JToolBarHelper::custom('template.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false); - } - JToolBarHelper::cancel('template.cancel', 'JTOOLBAR_CLOSE'); - } - } - JToolbarHelper::divider(); - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('template'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 30) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $isNew = ($this->item->id < 1); - $document = JFactory::getDocument(); - $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_TEMPLATE_NEW' : 'COM_COMPONENTBUILDER_TEMPLATE_EDIT')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/template.css"); - // Add Ajax Token - $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); - $document->addScript(JURI::root() . $this->script); - $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/template/submitbutton.js"); - JText::script('view not acceptable. Error'); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default.php deleted file mode 100644 index af35de864..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default.php +++ /dev/null @@ -1,100 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// load tooltip behavior -JHtml::_('behavior.tooltip'); -JHtml::_('behavior.multiselect'); -JHtml::_('dropdown.init'); -JHtml::_('formbehavior.chosen', 'select'); - -if ($this->saveOrder) -{ - $saveOrderingUrl = 'index.php?option=com_componentbuilder&task=templates.saveOrderAjax&tmpl=component'; - JHtml::_('sortablelist.sortable', 'templateList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl); -} - -?> -<script type="text/javascript"> - Joomla.orderTable = function() - { - table = document.getElementById("sortTable"); - direction = document.getElementById("directionTable"); - order = table.options[table.selectedIndex].value; - if (order != '<?php echo $this->listOrder; ?>') - { - dirn = 'asc'; - } - else - { - dirn = direction.options[direction.selectedIndex].value; - } - Joomla.tableOrdering(order, dirn, ''); - } -</script> -<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=templates'); ?>" method="post" name="adminForm" id="adminForm"> -<?php if(!empty( $this->sidebar)): ?> - <div id="j-sidebar-container" class="span2"> - <?php echo $this->sidebar; ?> - </div> - <div id="j-main-container" class="span10"> -<?php else : ?> - <div id="j-main-container"> -<?php endif; ?> -<?php if (empty($this->items)): ?> - <?php echo $this->loadTemplate('toolbar');?> - <div class="alert alert-no-items"> - <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> - </div> -<?php else : ?> - <?php echo $this->loadTemplate('toolbar');?> - <table class="table table-striped" id="templateList"> - <thead><?php echo $this->loadTemplate('head');?></thead> - <tfoot><?php echo $this->loadTemplate('foot');?></tfoot> - <tbody><?php echo $this->loadTemplate('body');?></tbody> - </table> - <?php //Load the batch processing form. ?> - <?php if ($this->canCreate && $this->canEdit) : ?> - <?php echo JHtml::_( - 'bootstrap.renderModal', - 'collapseModal', - array( - 'title' => JText::_('COM_COMPONENTBUILDER_TEMPLATES_BATCH_OPTIONS'), - 'footer' => $this->loadTemplate('batch_footer') - ), - $this->loadTemplate('batch_body') - ); ?> - <?php endif; ?> - <input type="hidden" name="filter_order" value="" /> - <input type="hidden" name="filter_order_Dir" value="" /> - <input type="hidden" name="boxchecked" value="0" /> - </div> -<?php endif; ?> -<input type="hidden" name="task" value="" /> -<?php echo JHtml::_('form.token'); ?> -</form> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_batch_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_batch_body.php deleted file mode 100644 index f35a139f5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_batch_body.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> - -<p><?php echo JText::_('COM_COMPONENTBUILDER_TEMPLATES_BATCH_TIP'); ?></p> -<?php echo $this->batchDisplay; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_batch_footer.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_batch_footer.php deleted file mode 100644 index f225355dd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_batch_footer.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_batch_footer.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<!-- clear the batch values if cancel --> -<button class="btn" type="button" onclick="###BATCH_ONCLICK_CANCEL_SCRIPT###" data-dismiss="modal"> - <?php echo JText::_('JCANCEL'); ?> -</button> -<!-- post the batch values if process --> -<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('template.batch');"> - <?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?> -</button> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_body.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_body.php deleted file mode 100644 index c9b4b62d2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_body.php +++ /dev/null @@ -1,118 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_body.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -$edit = "index.php?option=com_componentbuilder&view=templates&task=template.edit"; - -?> -<?php foreach ($this->items as $i => $item): ?> - <?php - $canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0; - $userChkOut = JFactory::getUser($item->checked_out); - $canDo = ComponentbuilderHelper::getActions('template',$item,'templates'); - ?> - <tr class="row<?php echo $i % 2; ?>"> - <td class="order nowrap center hidden-phone"> - <?php if ($canDo->get('core.edit.state')): ?> - <?php - if ($this->saveOrder) - { - $iconClass = ' inactive'; - } - else - { - $iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED'); - } - ?> - <span class="sortable-handler<?php echo $iconClass; ?>"> - <i class="icon-menu"></i> - </span> - <?php if ($this->saveOrder) : ?> - <input type="text" style="display:none" name="order[]" size="5" - value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " /> - <?php endif; ?> - <?php else: ?> - &#8942; - <?php endif; ?> - </td> - <td class="nowrap center"> - <?php if ($canDo->get('core.edit')): ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php else: ?> - &#9633; - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('grid.id', $i, $item->id); ?> - <?php endif; ?> - <?php else: ?> - &#9633; - <?php endif; ?> - </td> - <td class="nowrap"> - <?php if ($canDo->get('core.edit')): ?> - <div class="name"> - <a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a> - <?php if ($item->checked_out): ?> - <?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'templates.', $canCheckin); ?> - <?php endif; ?> - </div> - <?php else: ?> - <div class="name"><?php echo $this->escape($item->name); ?></div> - <?php endif; ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->alias); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->description); ?> - </td> - <td class="hidden-phone"> - <?php echo $this->escape($item->snippet_name); ?> - </td> - <td class="center"> - <?php if ($canDo->get('core.edit.state')) : ?> - <?php if ($item->checked_out) : ?> - <?php if ($canCheckin) : ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'templates.', true, 'cb'); ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'templates.', false, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'templates.', true, 'cb'); ?> - <?php endif; ?> - <?php else: ?> - <?php echo JHtml::_('jgrid.published', $item->published, $i, 'templates.', false, 'cb'); ?> - <?php endif; ?> - </td> - <td class="nowrap center hidden-phone"> - <?php echo $item->id; ?> - </td> - </tr> -<?php endforeach; ?> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_foot.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_foot.php deleted file mode 100644 index 207d3f3f2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_foot.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_foot.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <td colspan="8"><?php echo $this->pagination->getListFooter(); ?></td> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_head.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_head.php deleted file mode 100644 index b5e70a028..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_head.php +++ /dev/null @@ -1,71 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_head.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<tr> - <?php if ($this->canEdit&& $this->canState): ?> - <th width="1%" class="nowrap center hidden-phone"> - <?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?> - </th> - <th width="20" class="nowrap center"> - <?php echo JHtml::_('grid.checkall'); ?> - </th> - <?php else: ?> - <th width="20" class="nowrap center hidden-phone"> - &#9662; - </th> - <th width="20" class="nowrap center"> - &#9632; - </th> - <?php endif; ?> - <th class="nowrap" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL', 'alias', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL', 'description', $this->listDirn, $this->listOrder); ?> - </th> - <th class="nowrap hidden-phone" > - <?php echo JText::_('COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL'); ?> - </th> - <?php if ($this->canState): ?> - <th width="10" class="nowrap center" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_TEMPLATE_STATUS', 'published', $this->listDirn, $this->listOrder); ?> - </th> - <?php else: ?> - <th width="10" class="nowrap center" > - <?php echo JText::_('COM_COMPONENTBUILDER_TEMPLATE_STATUS'); ?> - </th> - <?php endif; ?> - <th width="5" class="nowrap center hidden-phone" > - <?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_TEMPLATE_ID', 'id', $this->listDirn, $this->listOrder); ?> - </th> -</tr> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_toolbar.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_toolbar.php deleted file mode 100644 index 0132ec1fa..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/default_toolbar.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage default_toolbar.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -?> -<div id="filter-bar" class="btn-toolbar"> - <div class="filter-search btn-group pull-left"> - <label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label> - <input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Templates'); ?>" /> - </div> - <div class="btn-group pull-left"> - <button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button> - <button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label> - <?php echo $this->pagination->getLimitBox(); ?> - </div> - <div class="btn-group pull-right hidden-phone"> - <label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label> - <select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option> - <option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option> - <option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option> - </select> - </div> - <div class="btn-group pull-right"> - <label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label> - <select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()"> - <option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option> - <?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?> - </select> - </div> - </div> -<div class="clearfix"> </div> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/tmpl/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/view.html.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/view.html.php deleted file mode 100644 index 5d49cdff3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/admin/views/templates/view.html.php +++ /dev/null @@ -1,253 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage view.html.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla view library -jimport('joomla.application.component.view'); - -/** - * Componentbuilder View class for the Templates - */ -class ComponentbuilderViewTemplates extends JViewLegacy -{ - /** - * Templates view display method - * @return void - */ - function display($tpl = null) - { - if ($this->getLayout() !== 'modal') - { - // Include helper submenu - ComponentbuilderHelper::addSubmenu('templates'); - } - - // Check for errors. - if (count($errors = $this->get('Errors'))) - { - JError::raiseError(500, implode('<br />', $errors)); - return false; - } - - // Assign data to the view - $this->items = $this->get('Items'); - $this->pagination = $this->get('Pagination'); - $this->state = $this->get('State'); - $this->user = JFactory::getUser(); - $this->listOrder = $this->escape($this->state->get('list.ordering')); - $this->listDirn = $this->escape($this->state->get('list.direction')); - $this->saveOrder = $this->listOrder == 'ordering'; - // get global action permissions - $this->canDo = ComponentbuilderHelper::getActions('template'); - $this->canEdit = $this->canDo->get('core.edit'); - $this->canState = $this->canDo->get('core.edit.state'); - $this->canCreate = $this->canDo->get('core.create'); - $this->canDelete = $this->canDo->get('core.delete'); - $this->canBatch = $this->canDo->get('core.batch'); - - // We don't need toolbar in the modal window. - if ($this->getLayout() !== 'modal') - { - $this->addToolbar(); - $this->sidebar = JHtmlSidebar::render(); - // load the batch html - if ($this->canCreate && $this->canEdit && $this->canState) - { - $this->batchDisplay = JHtmlBatch_::render(); - } - } - - // Display the template - parent::display($tpl); - - // Set the document - $this->setDocument(); - } - - /** - * Setting the toolbar - */ - protected function addToolBar() - { - JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_TEMPLATES'), 'brush'); - JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=templates'); - JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields'); - - if ($this->canCreate) - { - JToolBarHelper::addNew('template.add'); - } - - // Only load if there are items - if (ComponentbuilderHelper::checkArray($this->items)) - { - if ($this->canEdit) - { - JToolBarHelper::editList('template.edit'); - } - - if ($this->canState) - { - JToolBarHelper::publishList('templates.publish'); - JToolBarHelper::unpublishList('templates.unpublish'); - JToolBarHelper::archiveList('templates.archive'); - - if ($this->canDo->get('core.admin')) - { - JToolBarHelper::checkin('templates.checkin'); - } - } - - // Add a batch button - if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState) - { - // Get the toolbar object instance - $bar = JToolBar::getInstance('toolbar'); - // set the batch button name - $title = JText::_('JTOOLBAR_BATCH'); - // Instantiate a new JLayoutFile instance and render the batch button - $layout = new JLayoutFile('joomla.toolbar.batch'); - // add the button to the page - $dhtml = $layout->render(array('title' => $title)); - $bar->appendButton('Custom', $dhtml, 'batch'); - } - - if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete)) - { - JToolbarHelper::deleteList('', 'templates.delete', 'JTOOLBAR_EMPTY_TRASH'); - } - elseif ($this->canState && $this->canDelete) - { - JToolbarHelper::trash('templates.trash'); - } - - if ($this->canDo->get('core.export') && $this->canDo->get('template.export')) - { - JToolBarHelper::custom('templates.exportData', 'download', '', 'COM_COMPONENTBUILDER_EXPORT_DATA', true); - } - } - - if ($this->canDo->get('core.import') && $this->canDo->get('template.import')) - { - JToolBarHelper::custom('templates.importData', 'upload', '', 'COM_COMPONENTBUILDER_IMPORT_DATA', false); - } - - // set help url for this view if found - $help_url = ComponentbuilderHelper::getHelpUrl('templates'); - if (ComponentbuilderHelper::checkString($help_url)) - { - JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url); - } - - // add the options comp button - if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) - { - JToolBarHelper::preferences('com_componentbuilder'); - } - - if ($this->canState) - { - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_PUBLISHED'), - 'filter_published', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true) - ); - // only load if batch allowed - if ($this->canBatch) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'), - 'batch[published]', - JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true) - ); - } - } - - JHtmlSidebar::addFilter( - JText::_('JOPTION_SELECT_ACCESS'), - 'filter_access', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')) - ); - - if ($this->canBatch && $this->canCreate && $this->canEdit) - { - JHtmlBatch_::addListSelection( - JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'), - 'batch[access]', - JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text') - ); - } - } - - /** - * Method to set up the document properties - * - * @return void - */ - protected function setDocument() - { - $document = JFactory::getDocument(); - $document->setTitle(JText::_('COM_COMPONENTBUILDER_TEMPLATES')); - $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/templates.css"); - } - - /** - * Escapes a value for output in a view script. - * - * @param mixed $var The output to escape. - * - * @return mixed The escaped value. - */ - public function escape($var) - { - if(strlen($var) > 50) - { - // use the helper htmlEscape method instead and shorten the string - return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true); - } - // use the helper htmlEscape method instead. - return ComponentbuilderHelper::htmlEscape($var, $this->_charset); - } - - /** - * Returns an array of fields the table can be sorted by - * - * @return array Array containing the field name to sort by as the key and display text as value - */ - protected function getSortFields() - { - return array( - 'a.sorting' => JText::_('JGRID_HEADING_ORDERING'), - 'a.published' => JText::_('JSTATUS'), - 'a.name' => JText::_('COM_COMPONENTBUILDER_TEMPLATE_NAME_LABEL'), - 'a.alias' => JText::_('COM_COMPONENTBUILDER_TEMPLATE_ALIAS_LABEL'), - 'a.description' => JText::_('COM_COMPONENTBUILDER_TEMPLATE_DESCRIPTION_LABEL'), - 'a.id' => JText::_('JGRID_HEADING_ID') - ); - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/componentbuilder.xml b/admin/compiler/com_componentbuilder_v2_1_0__J3/componentbuilder.xml deleted file mode 100644 index 9abbdd80e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/componentbuilder.xml +++ /dev/null @@ -1,113 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<extension type="component" version="3.2" method="upgrade"> - <name>COM_COMPONENTBUILDER</name> - <creationDate>20th February, 2016</creationDate> - <author>Llewellyn van der Merwe</author> - <authorEmail>info@vdm.io</authorEmail> - <authorUrl>https://www.vdm.io/joomla-component-builder</authorUrl> - <copyright>Copyright (C) 2015. All Rights Reserved</copyright> - <license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license> - <version>2.1.0</version> - <description><![CDATA[ - <h1>Component Builder (v.2.1.0)</h1> - <div style="clear: both;"></div> - <p>The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time.</p> - <p>Created by <a href="https://www.vdm.io/joomla-component-builder" target="_blank">Llewellyn van der Merwe</a><br /><small>Development started 30th April, 2015</small></p> - ]]></description> - - <!-- Runs on install; New in Joomla 1.5 --> - <install> - <sql> - <file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file> - </sql> - </install> - - <!-- Runs on uninstall; New in Joomla 1.5 --> - <uninstall> - <sql> - <file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file> - </sql> - </uninstall> - - <!-- Runs on install/uninstall/update; New in Joomla 2.5 --> - <scriptfile>script.php</scriptfile> - - <media destination="com_componentbuilder" folder="media"> - <filename>index.html</filename> - <folder>js</folder> - <folder>css</folder> - <folder>images</folder> - <folder>uikit</folder> - <folder>footable</folder> - </media> - - <!-- Update Schema; New in Joomla 2.5 --> - <update> - <schemas> - <schemapath type="mysql">sql/updates/mysql/</schemapath> - </schemas> - </update> - - <files folder="site"> - <filename>controller.php</filename> - <filename>index.html</filename> - <filename>router.php</filename> - <filename>componentbuilder.php</filename> - <folder>assets</folder> - <folder>helpers</folder> - <folder>controllers</folder> - <folder>models</folder> - <folder>views</folder> - <folder>layouts</folder> - </files> - - <languages folder="site"> - <language tag="en-GB">language/en-GB/en-GB.com_componentbuilder.ini</language> - <language tag="en-GB">language/en-GB/en-GB.com_componentbuilder.sys.ini</language> - </languages> - - <administration> - <menu>COM_COMPONENTBUILDER_MENU</menu> - <submenu> - <!-- Instead of link you can specify individual link attributes --> - <menu option="com_componentbuilder" view="compiler">COM_COMPONENTBUILDER_MENU_COMPILER</menu> - <menu option="com_componentbuilder" view="components">COM_COMPONENTBUILDER_MENU_COMPONENTS</menu> - <menu option="com_componentbuilder" view="admin_views">COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS</menu> - <menu option="com_componentbuilder" view="custom_admin_views">COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS</menu> - <menu option="com_componentbuilder" view="site_views">COM_COMPONENTBUILDER_MENU_SITE_VIEWS</menu> - <menu option="com_componentbuilder" view="templates">COM_COMPONENTBUILDER_MENU_TEMPLATES</menu> - <menu option="com_componentbuilder" view="layouts">COM_COMPONENTBUILDER_MENU_LAYOUTS</menu> - <menu option="com_componentbuilder" view="dynamic_gets">COM_COMPONENTBUILDER_MENU_DYNAMIC_GETS</menu> - <menu option="com_componentbuilder" view="snippets">COM_COMPONENTBUILDER_MENU_SNIPPETS</menu> - <menu option="com_componentbuilder" view="fields">COM_COMPONENTBUILDER_MENU_FIELDS</menu> - <menu option="com_componentbuilder" view="fieldtypes">COM_COMPONENTBUILDER_MENU_FIELDTYPES</menu> - <menu option="com_componentbuilder" view="help_documents">COM_COMPONENTBUILDER_MENU_HELP_DOCUMENTS</menu> - </submenu> - <files folder="admin"> - <filename>access.xml</filename> - <filename>config.xml</filename> - <filename>controller.php</filename> - <filename>index.html</filename> - <filename>componentbuilder.php</filename> - <folder>assets</folder> - <folder>controllers</folder> - <folder>helpers</folder> - <folder>models</folder> - <folder>sql</folder> - <folder>tables</folder> - <folder>views</folder> - <folder>layouts</folder> - <folder>compiler</folder> - <folder>custom</folder> - </files> - - <languages folder="admin"> - <language tag="en-GB">language/en-GB/en-GB.com_componentbuilder.ini</language> - <language tag="en-GB">language/en-GB/en-GB.com_componentbuilder.sys.ini</language> - </languages> - - </administration> - <updateservers> - <server type="extension" enabled="1" element="com_componentbuilder" name="Component Builder">https://www.vdm.io/updates/componentbuilder_update_server.xml</server> - </updateservers> -</extension> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/css/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/css/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/css/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.eot b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.eot deleted file mode 100644 index 37229798b..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.eot and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.svg b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.svg deleted file mode 100644 index 5a6e1fda3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.svg +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata> -This is a custom SVG font generated by IcoMoon. -<iconset grid="16"></iconset> -</metadata> -<defs> -<font id="footable" horiz-adv-x="512" > -<font-face units-per-em="512" ascent="480" descent="-32" /> -<missing-glyph horiz-adv-x="512" /> -<glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" /> -<glyph unicode="&#xe000;" d="M 496,288L 320,288 L 320,464 c0,8.836-7.164,16-16,16l-96,0 c-8.836,0-16-7.164-16-16l0-176 L 16,288 c-8.836,0-16-7.164-16-16l0-96 - c0-8.836, 7.164-16, 16-16l 176,0 l0-176 c0-8.836, 7.164-16, 16-16l 96,0 c 8.836,0, 16,7.164, 16,16L 320,160 l 176,0 c 8.836,0, 16,7.164, 16,16l0,96 - C 512,280.836, 504.836,288, 496,288z" /> -<glyph unicode="&#xe001;" d="M0,272l0-96 c0-8.836, 7.164-16, 16-16l 480,0 c 8.836,0, 16,7.164, 16,16l0,96 c0,8.836-7.164,16-16,16L 16,288 C 7.164,288,0,280.836,0,272z" /> -<glyph unicode="&#xe002;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 288,192l0-128 l-64,0 L 224,192 L 96,192 l0,64 - l 128,0 L 224,384 l 64,0 l0-128 l 128,0 l0-64 L 288,192 z" /> -<glyph unicode="&#xe003;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 416,192L 96,192 l0,64 l 320,0 L 416,192 z" /> -<glyph unicode="&#xe004;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32 - c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 384,192 L 288,192 L 288,96 L 224,96 L 224,192 L 128,192 L 128,256 L 224,256 L 224,352 L 288,352 L 288,256 L 384,256 Z" /> -<glyph unicode="&#xe005;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,32 - c-106.039,0-192,85.961-192,192c0,106.039, 85.961,192, 192,192c 106.039,0, 192-85.961, 192-192C 448,117.961, 362.039,32, 256,32zM 128,256L 384,256L 384,192L 128,192z" /> -<glyph unicode="&#xe006;" d="M 256,214.857l0-18.286 q0-4 -2.571-6.571t-6.571-2.571l-64,0 l0-64 q0-4 -2.571-6.571t-6.571-2.571l-18.286,0 q-4,0 -6.571,2.571t-2.571,6.571l0,64 l-64,0 q-4,0 -6.571,2.571t-2.571,6.571l0,18.286 q0,4 2.571,6.571t 6.571,2.571l 64,0 l0,64 q0,4 2.571,6.571t 6.571,2.571l 18.286,0 q 4,0 6.571-2.571t 2.571-6.571l0-64 l 64,0 q 4,0 6.571-2.571t 2.571-6.571zM 292.571,105.143l0,201.143 q0,11.429 -8,19.429t-19.429,8l-201.143,0 q-11.429,0 -19.429-8 t-8-19.429l0-201.143 q0-11.429 8-19.429t 19.429-8l 201.143,0 q 11.429,0 19.429,8t 8,19.429zM 329.143,306.286l0-201.143 q0-26.286 -18.714-45.143t-45.286-18.857l-201.143,0 q-26.571,0 -45.286,18.857t-18.714,45.143l0,201.143 q0,26.571 18.714,45.286t 45.286,18.714l 201.143,0 q 26.571,0 45.286-18.714t 18.714-45.286z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe007;" d="M 265.143,370.286q 26.571,0 45.286-18.714t 18.714-45.286l0-201.143 q0-26.286 -18.714-45.143t-45.286-18.857l-201.143,0 q-26.571,0 -45.286,18.857t-18.714,45.143l0,201.143 q0,26.571 18.714,45.286t 45.286,18.714l 201.143,0 zM 292.571,105.143l0,201.143 q0,11.429 -8,19.429t-19.429,8l-201.143,0 q-11.429,0 -19.429-8t-8-19.429l0-201.143 q0-11.429 8-19.429t 19.429-8l 201.143,0 q 11.429,0 19.429,8t 8,19.429z M 246.857,224q 4,0 6.571-2.571t 2.571-6.571l0-18.286 q0-4 -2.571-6.571t-6.571-2.571l-164.571,0 q-4,0 -6.571,2.571t-2.571,6.571l0,18.286 q0,4 2.571,6.571t 6.571,2.571l 164.571,0 z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe008;" d="M 365.714,205.714l0,36.571 q0,7.429 -5.429,12.857t-12.857,5.429l-91.429,0 l0,91.429 q0,7.429 -5.429,12.857t-12.857,5.429l-36.571,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-91.429 l-91.429,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-36.571 q0-7.429 5.429-12.857t 12.857-5.429l 91.429,0 l0-91.429 q0-7.429 5.429-12.857t 12.857-5.429l 36.571,0 q 7.429,0 12.857,5.429t 5.429,12.857l0,91.429 l 91.429,0 q 7.429,0 12.857,5.429t 5.429,12.857zM 438.857,361.143l0-274.286 q0-34 -24.143-58.143t-58.143-24.143l-274.286,0 q-34,0 -58.143,24.143t-24.143,58.143l0,274.286 q0,34 24.143,58.143t 58.143,24.143l 274.286,0 q 34,0 58.143-24.143t 24.143-58.143z" horiz-adv-x="438.857" /> -<glyph unicode="&#xe009;" d="M 365.714,205.714l0,36.571 q0,7.429 -5.429,12.857t-12.857,5.429l-256,0 q-7.429,0 -12.857-5.429t-5.429-12.857l0-36.571 q0-7.429 5.429-12.857t 12.857-5.429l 256,0 q 7.429,0 12.857,5.429t 5.429,12.857zM 438.857,361.143l0-274.286 q0-34 -24.143-58.143t-58.143-24.143l-274.286,0 q-34,0 -58.143,24.143t-24.143,58.143l0,274.286 q0,34 24.143,58.143t 58.143,24.143l 274.286,0 q 34,0 58.143-24.143 t 24.143-58.143z" horiz-adv-x="438.857" /> -<glyph unicode="&#xe00a;" d="M 512,224C 512,82.615, 397.385-32, 256-32s -256,114.615, -256,256s 114.615,256, 256,256S 512,365.385, 512,224z M 233.372,374.628 - l -128-128.001C 99.124,240.379, 96,232.189, 96,224s 3.124-16.379 9.372-22.627c 12.497-12.497 32.759-12.497, 45.256,0L 224,274.745 - L 224,96 c 0-17.673 14.327-32 32-32c 17.673,0, 32,14.327, 32,32l0,178.745 l 73.373-73.373c 12.497-12.497 32.758-12.497, 45.255,0 - c 12.497,12.497, 12.497,32.758, 0,45.254l -128,128.001C 266.131,387.124, 245.869,387.124, 233.372,374.628z" /> -<glyph unicode="&#xe00b;" d="M 512,224C 512,365.385, 397.385,480, 256,480s -256-114.615, -256-256s 114.615-256, 256-256S 512,82.615, 512,224z M 233.372,73.372 - l -128,128.001C 99.124,207.621, 96,215.811, 96,224s 3.124,16.379 9.372,22.627c 12.497,12.497 32.759,12.497, 45.256,0L 224,173.255 - L 224,352 c 0,17.673 14.327,32 32,32c 17.673,0, 32-14.327, 32-32l0-178.745 l 73.373,73.373c 12.497,12.497 32.758,12.497, 45.255,0 - c 12.497-12.497, 12.497-32.758, 0-45.254l -128-128.001C 266.131,60.876, 245.869,60.876, 233.372,73.372z" /> -<glyph unicode="&#xe00c;" d="M 256,480C 397.385,480, 512,365.385, 512,224s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,480, 256,480z M 105.372,201.372 - l 128.001-128C 239.621,67.124, 247.811,64, 256,64s 16.379,3.124 22.627,9.372c 12.497,12.497 12.497,32.759,0,45.256L 205.255,192 - L 384,192 c 17.673,0 32,14.327 32,32c0,17.673, -14.327,32, -32,32l-178.745,0 l 73.373,73.373c 12.497,12.497 12.497,32.758,0,45.255 - c -12.497,12.497, -32.758,12.497, -45.254,0l -128.001-128C 92.876,234.131, 92.876,213.869, 105.372,201.372z" /> -<glyph unicode="&#xe00d;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 406.628,201.372 - l-128.001-128C 272.379,67.124, 264.189,64, 256,64s-16.379,3.124-22.627,9.372c-12.497,12.497-12.497,32.759,0,45.256L 306.745,192 - L 128,192 c-17.673,0-32,14.327-32,32c0,17.673, 14.327,32, 32,32l 178.745,0 l-73.373,73.373c-12.497,12.497-12.497,32.758,0,45.255 - c 12.497,12.497, 32.758,12.497, 45.254,0l 128.001-128C 419.124,234.131, 419.124,213.869, 406.628,201.372z" /> -<glyph unicode="&#xe00e;" d="M0,160L 96,64L 256,224L 416,64L 512,160L 256.001,416 z" /> -<glyph unicode="&#xe00f;" d="M 512,288L 416,384L 256,224L 96,384L0,288L 256,32.001 z" /> -<glyph unicode="&#xe010;" d="M 320-32L 416,64L 256,224L 416,384L 320,480L 64,224 z" /> -<glyph unicode="&#xe011;" d="M 192,480L 96,384L 256,224L 96,64L 192-32L 448,224 z" /> -<glyph unicode="&#xe012;" d="M 292.571,132.571q0-7.429 -5.429-12.857t-12.857-5.429l-256,0 q-7.429,0 -12.857,5.429t-5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="292.571" /> -<glyph unicode="&#xe013;" d="M 292.571,278.857q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857t 12.857,5.429l 256,0 q 7.429,0 12.857-5.429t 5.429-12.857z" horiz-adv-x="292.571" /> -<glyph unicode="&#xe014;" d="M 182.857,352l0-256 q0-7.429 -5.429-12.857t-12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429t 5.429-12.857z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe015;" d="M 164.571,224q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429t-5.429,12.857l0,256 q0,7.429 5.429,12.857t 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe016;" d="M 256,480L 32-32L 256,64L 480-32 z" /> -<glyph unicode="&#xe017;" d="M 256-32L 480,480L 256,384L 32,480 z" /> -<glyph unicode="&#xe018;" d="M0,224L 512,0L 416,224L 512,448 z" /> -<glyph unicode="&#xe019;" d="M 512,224L0,448L 96,224L0,0 z" /> -<glyph unicode="&#xe01a;" d="M 512,224C 512,82.615, 397.385-32, 256-32s -256,114.615, -256,256s 114.615,256, 256,256S 512,365.385, 512,224z M 48,224 - c 0-114.875 93.125-208 208-208S 464,109.125, 464,224s -93.125,208, -208,208S 48,338.875, 48,224zM 278.627,374.628l 128-128.001c 12.497-12.496 12.497-32.757 0-45.254c -12.497-12.497 -32.758-12.497,-45.255,0L 288,274.745 - L 288,96 c 0-17.673 -14.327-32 -32-32c-17.673,0, -32,14.327, -32,32l0,178.745 l -73.372-73.373c -12.497-12.497 -32.759-12.497,-45.256,0 - C 99.124,207.621, 96,215.811, 96,224s 3.124,16.379, 9.372,22.627l 128,128.001C 245.869,387.124, 266.131,387.124, 278.627,374.628z" /> -<glyph unicode="&#xe01b;" d="M 512,224C 512,365.385, 397.385,480, 256,480s -256-114.615, -256-256s 114.615-256, 256-256S 512,82.615, 512,224z M 48,224 - c 0,114.875 93.125,208 208,208S 464,338.875, 464,224s -93.125-208, -208-208S 48,109.125, 48,224zM 278.627,73.372l 128,128.001c 12.497,12.496 12.497,32.757 0,45.254c -12.497,12.497 -32.758,12.497,-45.255,0L 288,173.255 - L 288,352 c 0,17.673 -14.327,32 -32,32c-17.673,0, -32-14.327, -32-32l0-178.745 l -73.372,73.373c -12.497,12.497 -32.759,12.497,-45.256,0 - C 99.124,240.379, 96,232.189, 96,224s 3.124-16.379, 9.372-22.627l 128-128.001C 245.869,60.876, 266.131,60.876, 278.627,73.372z" /> -<glyph unicode="&#xe01c;" d="M 256,480C 397.385,480, 512,365.385, 512,224s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,480, 256,480z M 256,16 - c 114.875,0 208,93.125 208,208S 370.875,432, 256,432s -208-93.125, -208-208S 141.125,16, 256,16zM 105.372,246.627l 128.001,128c 12.496,12.497 32.757,12.497 45.254,0c 12.497-12.497 12.497-32.758,0-45.255L 205.255,256 - L 384,256 c 17.673,0 32-14.327 32-32c0-17.673, -14.327-32, -32-32l-178.745,0 l 73.373-73.372c 12.497-12.497 12.497-32.759,0-45.256 - C 272.379,67.124, 264.189,64, 256,64s -16.379,3.124, -22.627,9.372l -128.001,128C 92.876,213.869, 92.876,234.131, 105.372,246.627z" /> -<glyph unicode="&#xe01d;" d="M 256,480C 114.615,480,0,365.385,0,224s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,480, 256,480z M 256,16 - c-114.875,0-208,93.125-208,208S 141.125,432, 256,432s 208-93.125, 208-208S 370.875,16, 256,16zM 406.628,246.627l-128.001,128c-12.496,12.497-32.757,12.497-45.254,0c-12.497-12.497-12.497-32.758,0-45.255L 306.745,256 - L 128,256 c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32l 178.745,0 l-73.373-73.372c-12.497-12.497-12.497-32.759,0-45.256 - C 239.621,67.124, 247.811,64, 256,64s 16.379,3.124, 22.627,9.372l 128.001,128C 419.124,213.869, 419.124,234.131, 406.628,246.627z" /> -<glyph unicode="&#xe01e;" d="M 307.143,141.714q0-3.714 -2.857-6.571l-14.286-14.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-112.286,112.286l-112.286-112.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-14.286,14.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 133.143,133.143q 2.857,2.857 6.571,2.857t 6.571-2.857l 133.143-133.143q 2.857-2.857 2.857-6.571z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe01f;" d="M 307.143,269.714q0-3.714 -2.857-6.571l-133.143-133.143q-2.857-2.857 -6.571-2.857t-6.571,2.857l-133.143,133.143q-2.857,2.857 -2.857,6.571t 2.857,6.571l 14.286,14.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 112.286-112.286l 112.286,112.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 14.286-14.286q 2.857-2.857 2.857-6.571z" horiz-adv-x="329.143" /> -<glyph unicode="&#xe020;" d="M 179.143,324.571q0-3.714 -2.857-6.571l-112.286-112.286l 112.286-112.286q 2.857-2.857 2.857-6.571t-2.857-6.571l-14.286-14.286q-2.857-2.857 -6.571-2.857t-6.571,2.857l-133.143,133.143q-2.857,2.857 -2.857,6.571t 2.857,6.571l 133.143,133.143q 2.857,2.857 6.571,2.857t 6.571-2.857l 14.286-14.286q 2.857-2.857 2.857-6.571z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe021;" d="M 170,205.714q0-3.714 -2.857-6.571l-133.143-133.143q-2.857-2.857 -6.571-2.857t-6.571,2.857l-14.286,14.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 112.286,112.286l-112.286,112.286q-2.857,2.857 -2.857,6.571t 2.857,6.571l 14.286,14.286q 2.857,2.857 6.571,2.857t 6.571-2.857l 133.143-133.143q 2.857-2.857 2.857-6.571z" horiz-adv-x="182.857" /> -<glyph unicode="&#xe022;" d="M 292.571,169.143q0-7.429 -5.429-12.857l-128-128q-5.429-5.429 -12.857-5.429t-12.857,5.429l-128,128q-5.429,5.429 -5.429,12.857t 5.429,12.857t 12.857,5.429l 256,0 q 7.429,0 12.857-5.429t 5.429-12.857zM 292.571,278.857q0-7.429 -5.429-12.857t-12.857-5.429l-256,0 q-7.429,0 -12.857,5.429t-5.429,12.857t 5.429,12.857l 128,128q 5.429,5.429 12.857,5.429t 12.857-5.429l 128-128q 5.429-5.429 5.429-12.857z" horiz-adv-x="292.571" /> -<glyph unicode="&#x20;" horiz-adv-x="256" /> -</font></defs></svg> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.ttf b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.ttf deleted file mode 100644 index 2d5c84ab1..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.ttf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.woff b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.woff deleted file mode 100644 index 4864dbb5c..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/footable.woff and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/fonts/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.core.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.core.css deleted file mode 100644 index d8accfb6b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.core.css +++ /dev/null @@ -1,178 +0,0 @@ -@font-face { - font-family: 'footable'; - src: url('fonts/footable.eot'); - src: url('fonts/footable.eot?#iefix') format('embedded-opentype'), url('fonts/footable.woff') format('woff'), url('fonts/footable.ttf') format('truetype'), url('fonts/footable.svg#footable') format('svg'); - font-weight: normal; - font-style: normal; -} -@media screen and (-webkit-min-device-pixel-ratio: 0) { - @font-face { - font-family: 'footable'; - src: url('fonts/footable.svg#footable') format('svg'); - font-weight: normal; - font-style: normal; - } -} -.footable { - width: 100%; - /** SORTING **/ - - /** PAGINATION **/ - -} -.footable.breakpoint > tbody > tr.footable-detail-show > td { - border-bottom: none; -} -.footable.breakpoint > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e001"; -} -.footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) { - cursor: pointer; -} -.footable.breakpoint > tbody > tr > td.footable-cell-detail { - background: #eee; - border-top: none; -} -.footable.breakpoint > tbody > tr > td > span.footable-toggle { - display: inline-block; - font-family: 'footable'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - -webkit-font-smoothing: antialiased; - padding-right: 5px; - font-size: 14px; - color: #888888; -} -.footable.breakpoint > tbody > tr > td > span.footable-toggle:before { - content: "\e000"; -} -.footable.breakpoint.toggle-circle > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e005"; -} -.footable.breakpoint.toggle-circle > tbody > tr > td > span.footable-toggle:before { - content: "\e004"; -} -.footable.breakpoint.toggle-circle-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e003"; -} -.footable.breakpoint.toggle-circle-filled > tbody > tr > td > span.footable-toggle:before { - content: "\e002"; -} -.footable.breakpoint.toggle-square > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e007"; -} -.footable.breakpoint.toggle-square > tbody > tr > td > span.footable-toggle:before { - content: "\e006"; -} -.footable.breakpoint.toggle-square-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e009"; -} -.footable.breakpoint.toggle-square-filled > tbody > tr > td > span.footable-toggle:before { - content: "\e008"; -} -.footable.breakpoint.toggle-arrow > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e00f"; -} -.footable.breakpoint.toggle-arrow > tbody > tr > td > span.footable-toggle:before { - content: "\e011"; -} -.footable.breakpoint.toggle-arrow-small > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e013"; -} -.footable.breakpoint.toggle-arrow-small > tbody > tr > td > span.footable-toggle:before { - content: "\e015"; -} -.footable.breakpoint.toggle-arrow-circle > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e01b"; -} -.footable.breakpoint.toggle-arrow-circle > tbody > tr > td > span.footable-toggle:before { - content: "\e01d"; -} -.footable.breakpoint.toggle-arrow-circle-filled > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e00b"; -} -.footable.breakpoint.toggle-arrow-circle-filled > tbody > tr > td > span.footable-toggle:before { - content: "\e00d"; -} -.footable.breakpoint.toggle-arrow-tiny > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e01f"; -} -.footable.breakpoint.toggle-arrow-tiny > tbody > tr > td > span.footable-toggle:before { - content: "\e021"; -} -.footable.breakpoint.toggle-arrow-alt > tbody > tr.footable-detail-show > td > span.footable-toggle:before { - content: "\e017"; -} -.footable.breakpoint.toggle-arrow-alt > tbody > tr > td > span.footable-toggle:before { - content: "\e019"; -} -.footable.breakpoint.toggle-medium > tbody > tr > td > span.footable-toggle { - font-size: 18px; -} -.footable.breakpoint.toggle-large > tbody > tr > td > span.footable-toggle { - font-size: 24px; -} -.footable > thead > tr > th { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: -moz-none; - -ms-user-select: none; - user-select: none; -} -.footable > thead > tr > th.footable-sortable:hover { - cursor: pointer; -} -.footable > thead > tr > th.footable-sorted > span.footable-sort-indicator:before { - content: "\e013"; -} -.footable > thead > tr > th.footable-sorted-desc > span.footable-sort-indicator:before { - content: "\e012"; -} -.footable > thead > tr > th > span.footable-sort-indicator { - display: inline-block; - font-family: 'footable'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - -webkit-font-smoothing: antialiased; - padding-left: 5px; -} -.footable > thead > tr > th > span.footable-sort-indicator:before { - content: "\e022"; -} -.footable > tfoot .pagination { - margin: 0; -} -.footable.no-paging .hide-if-no-paging { - display: none; -} -.footable-row-detail-inner { - display: table; -} -.footable-row-detail-row { - display: table-row; - line-height: 1.5em; -} -.footable-row-detail-group { - display: block; - line-height: 2em; - font-size: 1.2em; - font-weight: bold; -} -.footable-row-detail-name { - display: table-cell; - font-weight: bold; - padding-right: 0.5em; -} -.footable-row-detail-value { - display: table-cell; -} -.footable-odd { - background-color: #f7f7f7; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.core.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.core.min.css deleted file mode 100644 index 22ad8439f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.core.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:'footable';src:url('fonts/footable.eot');src:url('fonts/footable.eot?#iefix') format('embedded-opentype'),url('fonts/footable.woff') format('woff'),url('fonts/footable.ttf') format('truetype'),url('fonts/footable.svg#footable') format('svg');font-weight:normal;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'footable';src:url('fonts/footable.svg#footable') format('svg');font-weight:normal;font-style:normal}}.footable{width:100%}.footable.breakpoint>tbody>tr.footable-detail-show>td{border-bottom:0}.footable.breakpoint>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e001"}.footable.breakpoint>tbody>tr:hover:not(.footable-row-detail){cursor:pointer}.footable.breakpoint>tbody>tr>td.footable-cell-detail{background:#eee;border-top:0}.footable.breakpoint>tbody>tr>td>span.footable-toggle{display:inline-block;font-family:'footable';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;padding-right:5px;font-size:14px;color:#888}.footable.breakpoint>tbody>tr>td>span.footable-toggle:before{content:"\e000"}.footable.breakpoint.toggle-circle>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e005"}.footable.breakpoint.toggle-circle>tbody>tr>td>span.footable-toggle:before{content:"\e004"}.footable.breakpoint.toggle-circle-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e003"}.footable.breakpoint.toggle-circle-filled>tbody>tr>td>span.footable-toggle:before{content:"\e002"}.footable.breakpoint.toggle-square>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e007"}.footable.breakpoint.toggle-square>tbody>tr>td>span.footable-toggle:before{content:"\e006"}.footable.breakpoint.toggle-square-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e009"}.footable.breakpoint.toggle-square-filled>tbody>tr>td>span.footable-toggle:before{content:"\e008"}.footable.breakpoint.toggle-arrow>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e00f"}.footable.breakpoint.toggle-arrow>tbody>tr>td>span.footable-toggle:before{content:"\e011"}.footable.breakpoint.toggle-arrow-small>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e013"}.footable.breakpoint.toggle-arrow-small>tbody>tr>td>span.footable-toggle:before{content:"\e015"}.footable.breakpoint.toggle-arrow-circle>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e01b"}.footable.breakpoint.toggle-arrow-circle>tbody>tr>td>span.footable-toggle:before{content:"\e01d"}.footable.breakpoint.toggle-arrow-circle-filled>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e00b"}.footable.breakpoint.toggle-arrow-circle-filled>tbody>tr>td>span.footable-toggle:before{content:"\e00d"}.footable.breakpoint.toggle-arrow-tiny>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e01f"}.footable.breakpoint.toggle-arrow-tiny>tbody>tr>td>span.footable-toggle:before{content:"\e021"}.footable.breakpoint.toggle-arrow-alt>tbody>tr.footable-detail-show>td>span.footable-toggle:before{content:"\e017"}.footable.breakpoint.toggle-arrow-alt>tbody>tr>td>span.footable-toggle:before{content:"\e019"}.footable.breakpoint.toggle-medium>tbody>tr>td>span.footable-toggle{font-size:18px}.footable.breakpoint.toggle-large>tbody>tr>td>span.footable-toggle{font-size:24px}.footable>thead>tr>th{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.footable>thead>tr>th.footable-sortable:hover{cursor:pointer}.footable>thead>tr>th.footable-sorted>span.footable-sort-indicator:before{content:"\e013"}.footable>thead>tr>th.footable-sorted-desc>span.footable-sort-indicator:before{content:"\e012"}.footable>thead>tr>th>span.footable-sort-indicator{display:inline-block;font-family:'footable';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;padding-left:5px}.footable>thead>tr>th>span.footable-sort-indicator:before{content:"\e022"}.footable>tfoot .pagination{margin:0}.footable.no-paging .hide-if-no-paging{display:none}.footable-row-detail-inner{display:table}.footable-row-detail-row{display:table-row;line-height:1.5em}.footable-row-detail-group{display:block;line-height:2em;font-size:1.2em;font-weight:bold}.footable-row-detail-name{display:table-cell;font-weight:bold;padding-right:.5em}.footable-row-detail-value{display:table-cell}.footable-odd{background-color:#f7f7f7} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.metro.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.metro.css deleted file mode 100644 index 8bdb937ad..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.metro.css +++ /dev/null @@ -1,152 +0,0 @@ -.footable { - border-collapse: separate; - border-spacing: 0; - width: 100%; - border: 3px solid #52b9e9; - font-family: "Open Sans", Arial, Helvetica, sans-serif; - color: #444444; - background: #efefef; - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} -.footable.breakpoint > tbody > tr.footable-row-detail { - background: #eeeeee; -} -.footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) { - cursor: pointer; -} -.footable.breakpoint > tbody > tr > td.footable-row-detail-cell { - background: #fff; -} -.footable > tbody img { - vertical-align: middle; -} -.footable > tbody > tr:hover:not(.footable-row-detail) { - background: #dddddd; -} -.footable > tbody > tr:hover:not(.footable-row-detail) > td { - color: #000000; -} -.footable > tbody > tr:last-child > td { - border-bottom: none; -} -.footable > tbody > tr > td { - border-top: 1px solid #dddddd; - padding: 10px; - text-align: left; - border-left: none; -} -.footable > tbody > tr > td.footable-row-detail-cell, -.footable > tbody > tr > td.footable-first-column { - border-left: none; -} -.footable > thead > tr > th { - border-bottom: 1px solid #dddddd; - padding: 10px; - text-align: left; -} -.footable > thead > tr > th, -.footable > thead > tr > td { - background-color: #52b9e9; - border: 1px solid #52b9e9; - color: #ffffff; - border-top: none; - border-left: none; - font-weight: normal; -} -.footable > thead > tr > th.footable-first-column, -.footable > thead > tr > td.footable-first-column { - border-left: none; -} -.footable > tfoot > tr > th, -.footable > tfoot > tr > td { - background-color: #52b9e9; - border: 1px solid #52b9e9; - color: #ffffff; - border-top: none; - border-left: none; - padding: 5px; -} -.footable > tfoot .pagination { - text-align: center; -} -.footable > tfoot .pagination ul { - display: inline-block; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - vertical-align: middle; - margin: 0; - padding: 0; -} -.footable > tfoot .pagination ul > li { - display: inline; -} -.footable > tfoot .pagination ul > li > a, -.footable > tfoot .pagination ul > li > span { - float: left; - border: 2px solid transparent; - margin: 0 3px; - color: #ffffff; - background: transparent; - padding: 1px 5px; - text-decoration: none; -} -.footable > tfoot .pagination ul > li.disabled > a { - color: #888; -} -.footable > tfoot .pagination ul > li.active > a { - border-color: #ffffff; -} -.footable > tfoot .pagination ul > li:first-child > a, -.footable > tfoot .pagination ul > li:last-child > a, -.footable > tfoot .pagination ul > li:first-child > span, -.footable > tfoot .pagination ul > li:last-child > span { - -moz-border-radius: 0; - -webkit-border-radius: 0; - border-radius: 0; -} -.footable.metro-red { - border-color: #fa3031; -} -.footable.metro-red > tfoot > tr > th, -.footable.metro-red > thead > tr > th, -.footable.metro-red > tfoot > tr > td, -.footable.metro-red > thead > tr > td { - background-color: #fa3031; - border-color: #fa3031; -} -.footable.metro-purple { - border-color: #932ab6; -} -.footable.metro-purple > tfoot > tr > th, -.footable.metro-purple > thead > tr > th, -.footable.metro-purple > tfoot > tr > td, -.footable.metro-purple > thead > tr > td { - background-color: #932ab6; - border-color: #932ab6; -} -.footable.metro-green { - border-color: #43c83c; -} -.footable.metro-green > tfoot > tr > th, -.footable.metro-green > thead > tr > th, -.footable.metro-green > tfoot > tr > td, -.footable.metro-green > thead > tr > td { - background-color: #43c83c; - border-color: #43c83c; -} -.footable.metro-blue { - border-color: #1171a3; -} -.footable.metro-blue > tfoot > tr > th, -.footable.metro-blue > thead > tr > th, -.footable.metro-blue > tfoot > tr > td, -.footable.metro-blue > thead > tr > td { - background-color: #1171a3; - border-color: #1171a3; -} -.footable-odd { - background-color: #f7f7f7; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.metro.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.metro.min.css deleted file mode 100644 index e603acdb4..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.metro.min.css +++ /dev/null @@ -1 +0,0 @@ -.footable{border-collapse:separate;border-spacing:0;width:100%;border:3px solid #52b9e9;font-family:"Open Sans",Arial,Helvetica,sans-serif;color:#444;background:#efefef;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.footable.breakpoint>tbody>tr.footable-row-detail{background:#eee}.footable.breakpoint>tbody>tr:hover:not(.footable-row-detail){cursor:pointer}.footable.breakpoint>tbody>tr>td.footable-row-detail-cell{background:#fff}.footable>tbody img{vertical-align:middle}.footable>tbody>tr:hover:not(.footable-row-detail){background:#ddd}.footable>tbody>tr:hover:not(.footable-row-detail)>td{color:#000}.footable>tbody>tr:last-child>td{border-bottom:0}.footable>tbody>tr>td{border-top:1px solid #ddd;padding:10px;text-align:left;border-left:none}.footable>tbody>tr>td.footable-row-detail-cell,.footable>tbody>tr>td.footable-first-column{border-left:none}.footable>thead>tr>th{border-bottom:1px solid #ddd;padding:10px;text-align:left}.footable>thead>tr>th,.footable>thead>tr>td{background-color:#52b9e9;border:1px solid #52b9e9;color:#fff;border-top:0;border-left:none;font-weight:normal}.footable>thead>tr>th.footable-first-column,.footable>thead>tr>td.footable-first-column{border-left:none}.footable>tfoot>tr>th,.footable>tfoot>tr>td{background-color:#52b9e9;border:1px solid #52b9e9;color:#fff;border-top:0;border-left:none;padding:5px}.footable>tfoot .pagination{text-align:center}.footable>tfoot .pagination ul{display:inline-block;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;vertical-align:middle;margin:0;padding:0}.footable>tfoot .pagination ul>li{display:inline}.footable>tfoot .pagination ul>li>a,.footable>tfoot .pagination ul>li>span{float:left;border:2px solid transparent;margin:0 3px;color:#fff;background:transparent;padding:1px 5px;text-decoration:none}.footable>tfoot .pagination ul>li.disabled>a{color:#888}.footable>tfoot .pagination ul>li.active>a{border-color:#fff}.footable>tfoot .pagination ul>li:first-child>a,.footable>tfoot .pagination ul>li:last-child>a,.footable>tfoot .pagination ul>li:first-child>span,.footable>tfoot .pagination ul>li:last-child>span{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.footable.metro-red{border-color:#fa3031}.footable.metro-red>tfoot>tr>th,.footable.metro-red>thead>tr>th,.footable.metro-red>tfoot>tr>td,.footable.metro-red>thead>tr>td{background-color:#fa3031;border-color:#fa3031}.footable.metro-purple{border-color:#932ab6}.footable.metro-purple>tfoot>tr>th,.footable.metro-purple>thead>tr>th,.footable.metro-purple>tfoot>tr>td,.footable.metro-purple>thead>tr>td{background-color:#932ab6;border-color:#932ab6}.footable.metro-green{border-color:#43c83c}.footable.metro-green>tfoot>tr>th,.footable.metro-green>thead>tr>th,.footable.metro-green>tfoot>tr>td,.footable.metro-green>thead>tr>td{background-color:#43c83c;border-color:#43c83c}.footable.metro-blue{border-color:#1171a3}.footable.metro-blue>tfoot>tr>th,.footable.metro-blue>thead>tr>th,.footable.metro-blue>tfoot>tr>td,.footable.metro-blue>thead>tr>td{background-color:#1171a3;border-color:#1171a3}.footable-odd{background-color:#f7f7f7} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.standalone.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.standalone.css deleted file mode 100644 index a6f44814e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.standalone.css +++ /dev/null @@ -1,181 +0,0 @@ -.footable { - border-collapse: separate; - border-spacing: 0; - border: 1px solid #cccccc; - -moz-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - font-family: 'trebuchet MS', 'Lucida sans', Arial; - font-size: 14px; - color: #444444; - background: #ffffff; -} -.footable > thead > tr:first-child > th.footable-first-column, -.footable > thead > tr:first-child > td.footable-first-column { - -moz-border-radius: 6px 0 0 0; - -webkit-border-radius: 6px 0 0 0; - border-radius: 6px 0 0 0; -} -.footable > thead > tr:first-child > th.footable-last-column, -.footable > thead > tr:first-child > td.footable-last-column { - -moz-border-radius: 0 6px 0 0; - -webkit-border-radius: 0 6px 0 0; - border-radius: 0 6px 0 0; -} -.footable > thead > tr:first-child > th.footable-first-column.footable-last-column, -.footable > thead > tr:first-child > td.footable-first-column.footable-last-column { - -moz-border-radius: 6px 6px 0 0; - -webkit-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.footable > thead > tr > th { - border-left: 1px solid #cccccc; - border-top: 1px solid #cccccc; - padding: 10px; - text-align: left; -} -.footable > thead > tr > th, -.footable > thead > tr > td { - background-color: #dce9f9; - background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9)); - background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: linear-gradient(to bottom, #ebf3fc, #dce9f9); - -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - border-top: none; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.footable > thead > tr > th.footable-first-column, -.footable > thead > tr > td.footable-first-column { - border-left: none; -} -.footable.breakpoint > tbody > tr.footable-row-detail { - background: #eeeeee; -} -.footable.breakpoint > tbody > tr.footable-row-detail > .footable-row-detail-cell { - border-left: none; -} -.footable > tbody img { - vertical-align: middle; -} -.footable > tbody > tr:hover { - background: #fbf8e9; -} -.footable > tbody > tr:last-child > td.footable-first-column { - -moz-border-radius: 0 0 0 6px; - -webkit-border-radius: 0 0 0 6px; - border-radius: 0 0 0 6px; -} -.footable > tbody > tr:last-child > td.footable-last-column { - -moz-border-radius: 0 0 6px 0; - -webkit-border-radius: 0 0 6px 0; - border-radius: 0 0 6px 0; -} -.footable > tbody > tr:last-child > td.footable-first-column.footable-last-column { - -moz-border-radius: 0 0 6px 6px; - -webkit-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.footable > tbody > tr > td { - border-top: 1px solid #cccccc; - border-left: 1px solid #cccccc; - padding: 10px; - text-align: left; -} -.footable > tbody > tr > td.footable-first-column { - border-left: none; -} -.footable > tfoot > tr > th, -.footable > tfoot > tr > td { - background-color: #dce9f9; - background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9)); - background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9); - background-image: linear-gradient(to bottom, #ebf3fc, #dce9f9); - -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset; - border-top: 1px solid #cccccc; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - padding: 10px; -} -.footable .pagination { - margin: 20px 0; -} -.footable .pagination > ul { - display: inline-block; - margin: 0; - padding: 0; - -moz-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: #ffffff; -} -.footable .pagination > ul > li { - display: inline; -} -.footable .pagination > ul > li > a, -.footable .pagination > ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - border: 1px solid #cccccc; - border-left-width: 0; -} -.footable .pagination > ul > li:first-child > a, -.footable .pagination > ul > li:first-child > span { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - border-left-width: 1px; -} -.footable .pagination > ul > li:last-child > a, -.footable .pagination > ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.footable .pagination > ul > li > a:hover, -.footable .pagination > ul > li > a:focus, -.footable .pagination > ul > .active > a, -.footable .pagination > ul > .active > span { - background-color: #eeeeee; -} -.footable .pagination > ul > .active > a, -.footable .pagination > ul > .active > span { - color: #444444; - cursor: default; -} -.footable .pagination > ul > .disabled > span, -.footable .pagination > ul > .disabled > a, -.footable .pagination > ul > .disabled > a:hover, -.footable .pagination > ul > .disabled > a:focus { - color: #cccccc; - cursor: default; - background-color: #ebf3fc; -} -.footable .pagination.pagination-centered { - text-align: center; -} -.footable .pagination.pagination-right { - text-align: center; -} -.footable-odd { - background-color: #f7f7f7; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.standalone.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.standalone.min.css deleted file mode 100644 index 5d375a29e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/footable.standalone.min.css +++ /dev/null @@ -1 +0,0 @@ -.footable{border-collapse:separate;border-spacing:0;border:1px solid #ccc;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;font-family:'trebuchet MS','Lucida sans',Arial;font-size:14px;color:#444;background:#fff}.footable>thead>tr:first-child>th.footable-first-column,.footable>thead>tr:first-child>td.footable-first-column{-moz-border-radius:6px 0 0 0;-webkit-border-radius:6px 0 0 0;border-radius:6px 0 0 0}.footable>thead>tr:first-child>th.footable-last-column,.footable>thead>tr:first-child>td.footable-last-column{-moz-border-radius:0 6px 0 0;-webkit-border-radius:0 6px 0 0;border-radius:0 6px 0 0}.footable>thead>tr:first-child>th.footable-first-column.footable-last-column,.footable>thead>tr:first-child>td.footable-first-column.footable-last-column{-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.footable>thead>tr>th{border-left:1px solid #ccc;border-top:1px solid #ccc;padding:10px;text-align:left}.footable>thead>tr>th,.footable>thead>tr>td{background-color:#dce9f9;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebf3fc),to(#dce9f9));background-image:-webkit-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-moz-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-ms-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-o-linear-gradient(top,#ebf3fc,#dce9f9);background-image:linear-gradient(to bottom,#ebf3fc,#dce9f9);-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;-moz-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;border-top:0;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.footable>thead>tr>th.footable-first-column,.footable>thead>tr>td.footable-first-column{border-left:none}.footable.breakpoint>tbody>tr.footable-row-detail{background:#eee}.footable.breakpoint>tbody>tr.footable-row-detail>.footable-row-detail-cell{border-left:none}.footable>tbody img{vertical-align:middle}.footable>tbody>tr:hover{background:#fbf8e9}.footable>tbody>tr:last-child>td.footable-first-column{-moz-border-radius:0 0 0 6px;-webkit-border-radius:0 0 0 6px;border-radius:0 0 0 6px}.footable>tbody>tr:last-child>td.footable-last-column{-moz-border-radius:0 0 6px 0;-webkit-border-radius:0 0 6px 0;border-radius:0 0 6px 0}.footable>tbody>tr:last-child>td.footable-first-column.footable-last-column{-moz-border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.footable>tbody>tr>td{border-top:1px solid #ccc;border-left:1px solid #ccc;padding:10px;text-align:left}.footable>tbody>tr>td.footable-first-column{border-left:none}.footable>tfoot>tr>th,.footable>tfoot>tr>td{background-color:#dce9f9;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebf3fc),to(#dce9f9));background-image:-webkit-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-moz-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-ms-linear-gradient(top,#ebf3fc,#dce9f9);background-image:-o-linear-gradient(top,#ebf3fc,#dce9f9);background-image:linear-gradient(to bottom,#ebf3fc,#dce9f9);-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;-moz-box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;box-shadow:0 1px 0 rgba(255,255,255,0.8) inset;border-top:1px solid #ccc;text-shadow:0 1px 0 rgba(255,255,255,0.5);padding:10px}.footable .pagination{margin:20px 0}.footable .pagination>ul{display:inline-block;margin:0;padding:0;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#fff}.footable .pagination>ul>li{display:inline}.footable .pagination>ul>li>a,.footable .pagination>ul>li>span{float:left;padding:4px 12px;line-height:20px;text-decoration:none;border:1px solid #ccc;border-left-width:0}.footable .pagination>ul>li:first-child>a,.footable .pagination>ul>li:first-child>span{-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;border-left-width:1px}.footable .pagination>ul>li:last-child>a,.footable .pagination>ul>li:last-child>span{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px}.footable .pagination>ul>li>a:hover,.footable .pagination>ul>li>a:focus,.footable .pagination>ul>.active>a,.footable .pagination>ul>.active>span{background-color:#eee}.footable .pagination>ul>.active>a,.footable .pagination>ul>.active>span{color:#444;cursor:default}.footable .pagination>ul>.disabled>span,.footable .pagination>ul>.disabled>a,.footable .pagination>ul>.disabled>a:hover,.footable .pagination>ul>.disabled>a:focus{color:#ccc;cursor:default;background-color:#ebf3fc}.footable .pagination.pagination-centered{text-align:center}.footable .pagination.pagination-right{text-align:center}.footable-odd{background-color:#f7f7f7} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/css/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.all.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.all.min.js deleted file mode 100644 index 8c2e30c05..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.all.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * FooTable - Awesome Responsive Tables - * Version : 2.0.3 - * http://fooplugins.com/plugins/footable-jquery/ - * - * Requires jQuery - http://jquery.com/ - * - * Copyright 2014 Steven Usher & Brad Vincent - * Released under the MIT license - * You are free to use FooTable in commercial projects as long as this copyright header is left intact. - * - * Date: 11 Nov 2014 - */ -(function(e,t){function a(){var e=this;e.id=null,e.busy=!1,e.start=function(t,a){e.busy||(e.stop(),e.id=setTimeout(function(){t(),e.id=null,e.busy=!1},a),e.busy=!0)},e.stop=function(){null!==e.id&&(clearTimeout(e.id),e.id=null,e.busy=!1)}}function i(i,o,n){var r=this;r.id=n,r.table=i,r.options=o,r.breakpoints=[],r.breakpointNames="",r.columns={},r.plugins=t.footable.plugins.load(r);var l=r.options,d=l.classes,s=l.events,u=l.triggers,f=0;return r.timers={resize:new a,register:function(e){return r.timers[e]=new a,r.timers[e]}},r.init=function(){var a=e(t),i=e(r.table);if(t.footable.plugins.init(r),i.hasClass(d.loaded))return r.raise(s.alreadyInitialized),undefined;r.raise(s.initializing),i.addClass(d.loading),i.find(l.columnDataSelector).each(function(){var e=r.getColumnData(this);r.columns[e.index]=e});for(var o in l.breakpoints)r.breakpoints.push({name:o,width:l.breakpoints[o]}),r.breakpointNames+=o+" ";r.breakpoints.sort(function(e,t){return e.width-t.width}),i.unbind(u.initialize).bind(u.initialize,function(){i.removeData("footable_info"),i.data("breakpoint",""),i.trigger(u.resize),i.removeClass(d.loading),i.addClass(d.loaded).addClass(d.main),r.raise(s.initialized)}).unbind(u.redraw).bind(u.redraw,function(){r.redraw()}).unbind(u.resize).bind(u.resize,function(){r.resize()}).unbind(u.expandFirstRow).bind(u.expandFirstRow,function(){i.find(l.toggleSelector).first().not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.expandAll).bind(u.expandAll,function(){i.find(l.toggleSelector).not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.collapseAll).bind(u.collapseAll,function(){i.find("."+d.detailShow).trigger(u.toggleRow)}),i.trigger(u.initialize),a.bind("resize.footable",function(){r.timers.resize.stop(),r.timers.resize.start(function(){r.raise(u.resize)},l.delay)})},r.addRowToggle=function(){if(l.addRowToggle){var t=e(r.table),a=!1;t.find("span."+d.toggle).remove();for(var i in r.columns){var o=r.columns[i];if(o.toggle){a=!0;var n="> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:nth-child("+(parseInt(o.index,10)+1)+"),"+"> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:nth-child("+(parseInt(o.index,10)+1)+")";return t.find(n).not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle)),undefined}}a||t.find("> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:first-child").add("> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:first-child").not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle))}},r.setColumnClasses=function(){var t=e(r.table);for(var a in r.columns){var i=r.columns[a];if(null!==i.className){var o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", "),o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+(parseInt(t,10)+1)+")",n=!1}),t.find(o).not("."+d.detailCell).addClass(i.className)}}},r.bindToggleSelectors=function(){var t=e(r.table);r.hasAnyBreakpointColumn()&&(t.find(l.toggleSelector).unbind(u.toggleRow).bind(u.toggleRow,function(){var t=e(this).is("tr")?e(this):e(this).parents("tr:first");r.toggleDetail(t)}),t.find(l.toggleSelector).unbind("click.footable").bind("click.footable",function(a){t.is(".breakpoint")&&e(a.target).is("td,th,."+d.toggle)&&e(this).trigger(u.toggleRow)}))},r.parse=function(e,t){var a=l.parsers[t.type]||l.parsers.alpha;return a(e)},r.getColumnData=function(t){var a=e(t),i=a.data("hide"),o=a.index();i=i||"",i=jQuery.map(i.split(","),function(e){return jQuery.trim(e)});var n={index:o,hide:{},type:a.data("type")||"alpha",name:a.data("name")||e.trim(a.text()),ignore:a.data("ignore")||!1,toggle:a.data("toggle")||!1,className:a.data("class")||null,matches:[],names:{},group:a.data("group")||null,groupName:null,isEditable:a.data("editable")};if(null!==n.group){var d=e(r.table).find('> thead > tr.footable-group-row > th[data-group="'+n.group+'"], > thead > tr.footable-group-row > td[data-group="'+n.group+'"]').first();n.groupName=r.parse(d,{type:"alpha"})}var u=parseInt(a.prev().attr("colspan")||0,10);f+=u>1?u-1:0;var p=parseInt(a.attr("colspan")||0,10),c=n.index+f;if(p>1){var b=a.data("names");b=b||"",b=b.split(",");for(var g=0;p>g;g++)n.matches.push(g+c),b.length>g&&(n.names[g+c]=b[g])}else n.matches.push(c);n.hide["default"]="all"===a.data("hide")||e.inArray("default",i)>=0;var h=!1;for(var m in l.breakpoints)n.hide[m]="all"===a.data("hide")||e.inArray(m,i)>=0,h=h||n.hide[m];n.hasBreakpoint=h;var v=r.raise(s.columnData,{column:{data:n,th:t}});return v.column.data},r.getViewportWidth=function(){return window.innerWidth||(document.body?document.body.offsetWidth:0)},r.calculateWidth=function(e,t){return jQuery.isFunction(l.calculateWidthOverride)?l.calculateWidthOverride(e,t):(t.viewportWidth<t.width&&(t.width=t.viewportWidth),t.parentWidth<t.width&&(t.width=t.parentWidth),t)},r.hasBreakpointColumn=function(e){for(var t in r.columns)if(r.columns[t].hide[e]){if(r.columns[t].ignore)continue;return!0}return!1},r.hasAnyBreakpointColumn=function(){for(var e in r.columns)if(r.columns[e].hasBreakpoint)return!0;return!1},r.resize=function(){var t=e(r.table);if(t.is(":visible")){if(!r.hasAnyBreakpointColumn())return t.trigger(u.redraw),undefined;var a={width:t.width(),viewportWidth:r.getViewportWidth(),parentWidth:t.parent().width()};a=r.calculateWidth(t,a);var i=t.data("footable_info");if(t.data("footable_info",a),r.raise(s.resizing,{old:i,info:a}),!i||i&&i.width&&i.width!==a.width){for(var o,n=null,l=0;r.breakpoints.length>l;l++)if(o=r.breakpoints[l],o&&o.width&&a.width<=o.width){n=o;break}var d=null===n?"default":n.name,f=r.hasBreakpointColumn(d),p=t.data("breakpoint");t.data("breakpoint",d).removeClass("default breakpoint").removeClass(r.breakpointNames).addClass(d+(f?" breakpoint":"")),d!==p&&(t.trigger(u.redraw),r.raise(s.breakpoint,{breakpoint:d,info:a}))}r.raise(s.resized,{old:i,info:a})}},r.redraw=function(){r.addRowToggle(),r.bindToggleSelectors(),r.setColumnClasses();var t=e(r.table),a=t.data("breakpoint"),i=r.hasBreakpointColumn(a);t.find("> tbody > tr:not(."+d.detail+")").data("detail_created",!1).end().find("> thead > tr:last-child > th").each(function(){var i=r.columns[e(this).index()],o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", ");var a=t+1;o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > tfoot > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > colgroup > col:nth-child("+a+")",n=!1}),o+=', > thead > tr[data-group-row="true"] > th[data-group="'+i.group+'"]';var l=t.find(o).add(this);if(""!==a&&(i.hide[a]===!1?l.addClass("footable-visible").show():l.removeClass("footable-visible").hide()),1===t.find("> thead > tr.footable-group-row").length){var s=t.find('> thead > tr:last-child > th[data-group="'+i.group+'"]:visible, > thead > tr:last-child > th[data-group="'+i.group+'"]:visible'),u=t.find('> thead > tr.footable-group-row > th[data-group="'+i.group+'"], > thead > tr.footable-group-row > td[data-group="'+i.group+'"]'),f=0;e.each(s,function(){f+=parseInt(e(this).attr("colspan")||1,10)}),f>0?u.attr("colspan",f).show():u.hide()}}).end().find("> tbody > tr."+d.detailShow).each(function(){r.createOrUpdateDetailRow(this)}),t.find("[data-bind-name]").each(function(){r.toggleInput(this)}),t.find("> tbody > tr."+d.detailShow+":visible").each(function(){var t=e(this).next();t.hasClass(d.detail)&&(i?t.show():t.hide())}),t.find("> thead > tr > th.footable-last-column, > tbody > tr > td.footable-last-column").removeClass("footable-last-column"),t.find("> thead > tr > th.footable-first-column, > tbody > tr > td.footable-first-column").removeClass("footable-first-column"),t.find("> thead > tr, > tbody > tr").find("> th.footable-visible:last, > td.footable-visible:last").addClass("footable-last-column").end().find("> th.footable-visible:first, > td.footable-visible:first").addClass("footable-first-column"),r.raise(s.redrawn)},r.toggleDetail=function(t){var a=t.jquery?t:e(t),i=a.next();a.hasClass(d.detailShow)?(a.removeClass(d.detailShow),i.hasClass(d.detail)&&i.hide(),r.raise(s.rowCollapsed,{row:a[0]})):(r.createOrUpdateDetailRow(a[0]),a.addClass(d.detailShow).next().show(),r.raise(s.rowExpanded,{row:a[0]}))},r.removeRow=function(t){var a=t.jquery?t:e(t);a.hasClass(d.detail)&&(a=a.prev());var i=a.next();a.data("detail_created")===!0&&i.remove(),a.remove(),r.raise(s.rowRemoved)},r.appendRow=function(t){var a=t.jquery?t:e(t);e(r.table).find("tbody").append(a),r.redraw()},r.getColumnFromTdIndex=function(t){var a=null;for(var i in r.columns)if(e.inArray(t,r.columns[i].matches)>=0){a=r.columns[i];break}return a},r.createOrUpdateDetailRow=function(t){var a,i=e(t),o=i.next(),n=[];if(i.data("detail_created")===!0)return!0;if(i.is(":hidden"))return!1;if(r.raise(s.rowDetailUpdating,{row:i,detail:o}),i.find("> td:hidden").each(function(){var t=e(this).index(),a=r.getColumnFromTdIndex(t),i=a.name;if(a.ignore===!0)return!0;t in a.names&&(i=a.names[t]);var o=e(this).attr("data-bind-name");if(null!=o&&e(this).is(":empty")){var l=e("."+d.detailInnerValue+"["+'data-bind-value="'+o+'"]');e(this).html(e(l).contents().detach())}var s;return a.isEditable!==!1&&(a.isEditable||e(this).find(":input").length>0)&&(null==o&&(o="bind-"+e.now()+"-"+t,e(this).attr("data-bind-name",o)),s=e(this).contents().detach()),s||(s=e(this).contents().clone(!0,!0)),n.push({name:i,value:r.parse(this,a),display:s,group:a.group,groupName:a.groupName,bindName:o}),!0}),0===n.length)return!1;var u=i.find("> td:visible").length,f=o.hasClass(d.detail);return f||(o=e('<tr class="'+d.detail+'"><td class="'+d.detailCell+'"><div class="'+d.detailInner+'"></div></td></tr>'),i.after(o)),o.find("> td:first").attr("colspan",u),a=o.find("."+d.detailInner).empty(),l.createDetail(a,n,l.createGroupedDetail,l.detailSeparator,d),i.data("detail_created",!0),r.raise(s.rowDetailUpdated,{row:i,detail:o}),!f},r.raise=function(t,a){r.options.debug===!0&&e.isFunction(r.options.log)&&r.options.log(t,"event"),a=a||{};var i={ft:r};e.extend(!0,i,a);var o=e.Event(t,i);return o.ft||e.extend(!0,o,i),e(r.table).trigger(o),o},r.reset=function(){var t=e(r.table);t.removeData("footable_info").data("breakpoint","").removeClass(d.loading).removeClass(d.loaded),t.find(l.toggleSelector).unbind(u.toggleRow).unbind("click.footable"),t.find("> tbody > tr").removeClass(d.detailShow),t.find("> tbody > tr."+d.detail).remove(),r.raise(s.reset)},r.toggleInput=function(t){var a=e(t).attr("data-bind-name");if(null!=a){var i=e("."+d.detailInnerValue+"["+'data-bind-value="'+a+'"]');null!=i&&(e(t).is(":visible")?e(i).is(":empty")||e(t).html(e(i).contents().detach()):e(t).is(":empty")||e(i).html(e(t).contents().detach()))}},r.init(),r}t.footable={options:{delay:100,breakpoints:{phone:480,tablet:1024},parsers:{alpha:function(t){return e(t).data("value")||e.trim(e(t).text())},numeric:function(t){var a=e(t).data("value")||e(t).text().replace(/[^0-9.\-]/g,"");return a=parseFloat(a),isNaN(a)&&(a=0),a}},addRowToggle:!0,calculateWidthOverride:null,toggleSelector:" > tbody > tr:not(.footable-row-detail)",columnDataSelector:"> thead > tr:last-child > th, > thead > tr:last-child > td",detailSeparator:":",toggleHTMLElement:"<span />",createGroupedDetail:function(e){for(var t={_none:{name:null,data:[]}},a=0;e.length>a;a++){var i=e[a].group;null!==i?(i in t||(t[i]={name:e[a].groupName||e[a].group,data:[]}),t[i].data.push(e[a])):t._none.data.push(e[a])}return t},createDetail:function(t,a,i,o,n){var r=i(a);for(var l in r)if(0!==r[l].data.length){"_none"!==l&&t.append('<div class="'+n.detailInnerGroup+'">'+r[l].name+"</div>");for(var d=0;r[l].data.length>d;d++){var s=r[l].data[d].name?o:"";t.append(e("<div></div>").addClass(n.detailInnerRow).append(e("<div></div>").addClass(n.detailInnerName).append(r[l].data[d].name+s)).append(e("<div></div>").addClass(n.detailInnerValue).attr("data-bind-value",r[l].data[d].bindName).append(r[l].data[d].display)))}}},classes:{main:"footable",loading:"footable-loading",loaded:"footable-loaded",toggle:"footable-toggle",disabled:"footable-disabled",detail:"footable-row-detail",detailCell:"footable-row-detail-cell",detailInner:"footable-row-detail-inner",detailInnerRow:"footable-row-detail-row",detailInnerGroup:"footable-row-detail-group",detailInnerName:"footable-row-detail-name",detailInnerValue:"footable-row-detail-value",detailShow:"footable-detail-show"},triggers:{initialize:"footable_initialize",resize:"footable_resize",redraw:"footable_redraw",toggleRow:"footable_toggle_row",expandFirstRow:"footable_expand_first_row",expandAll:"footable_expand_all",collapseAll:"footable_collapse_all"},events:{alreadyInitialized:"footable_already_initialized",initializing:"footable_initializing",initialized:"footable_initialized",resizing:"footable_resizing",resized:"footable_resized",redrawn:"footable_redrawn",breakpoint:"footable_breakpoint",columnData:"footable_column_data",rowDetailUpdating:"footable_row_detail_updating",rowDetailUpdated:"footable_row_detail_updated",rowCollapsed:"footable_row_collapsed",rowExpanded:"footable_row_expanded",rowRemoved:"footable_row_removed",reset:"footable_reset"},debug:!1,log:null},version:{major:0,minor:5,toString:function(){return t.footable.version.major+"."+t.footable.version.minor},parse:function(e){var t=/(\d+)\.?(\d+)?\.?(\d+)?/.exec(e);return{major:parseInt(t[1],10)||0,minor:parseInt(t[2],10)||0,patch:parseInt(t[3],10)||0}}},plugins:{_validate:function(a){if(!e.isFunction(a))return t.footable.options.debug===!0&&console.error('Validation failed, expected type "function", received type "{0}".',typeof a),!1;var i=new a;return"string"!=typeof i.name?(t.footable.options.debug===!0&&console.error('Validation failed, plugin does not implement a string property called "name".',i),!1):e.isFunction(i.init)?(t.footable.options.debug===!0&&console.log('Validation succeeded for plugin "'+i.name+'".',i),!0):(t.footable.options.debug===!0&&console.error('Validation failed, plugin "'+i.name+'" does not implement a function called "init".',i),!1)},registered:[],register:function(a,i){t.footable.plugins._validate(a)&&(t.footable.plugins.registered.push(a),"object"==typeof i&&e.extend(!0,t.footable.options,i))},load:function(e){var a,i,o=[];for(i=0;t.footable.plugins.registered.length>i;i++)try{a=t.footable.plugins.registered[i],o.push(new a(e))}catch(n){t.footable.options.debug===!0&&console.error(n)}return o},init:function(e){for(var a=0;e.plugins.length>a;a++)try{e.plugins[a].init(e)}catch(i){t.footable.options.debug===!0&&console.error(i)}}}};var o=0;e.fn.footable=function(a){a=a||{};var n=e.extend(!0,{},t.footable.options,a);return this.each(function(){o++;var t=new i(this,n,o);e(this).data("footable",t)})}})(jQuery,window);;(function(e,t,undefined){function a(t){var a=e("<th>"+t.title+"</th>");return e.isPlainObject(t.data)&&a.data(t.data),e.isPlainObject(t.style)&&a.css(t.style),t.className&&a.addClass(t.className),a}function o(t,o){var i=t.find("thead");0===i.size()&&(i=e("<thead>").appendTo(t));for(var n=e("<tr>").appendTo(i),r=0,l=o.cols.length;l>r;r++)n.append(a(o.cols[r]))}function i(t){var a=t.find("tbody");0===a.size()&&(a=e("<tbody>").appendTo(t))}function n(t,a,o){if(o){t.attr("data-page-size",o["page-size"]);var i=t.find("tfoot");0===i.size()&&(i=e('<tfoot class="hide-if-no-paging"></tfoot>').appendTo(t)),i.append("<tr><td colspan="+a.length+"></td></tr>");var n=e("<div>").appendTo(i.find("tr:last-child td"));n.addClass(o["pagination-class"])}}function r(t){for(var a=t[0],o=0,i=t.length;i>o;o++){var n=t[o];if(n.data&&(n.data.toggle===!0||"true"===n.data.toggle))return}a.data=e.extend(a.data,{toggle:!0})}function l(e,t,a){0===e.find("tr.emptyInfo").size()&&e.find("tbody").append('<tr class="emptyInfo"><td colspan="'+t.length+'">'+a+"</td></tr>")}function d(t,a,o,i){t.find("tr:not(."+o+")").each(function(){var t=e(this),o=a.data("index"),n=parseInt(t.data("index"),0),r=n+i;n>=o&&this!==a.get(0)&&t.attr("data-index",r).data("index",r)})}function s(){function t(t,a,o){var i=e("<td>");return t.formatter?i.html(t.formatter(a,i,o)):i.html(a||""),i}var a=this;a.name="Footable Grid",a.init=function(t){var d=t.options.classes.toggle,s=t.options.classes.detail,f=t.options.grid;if(f.cols){a.footable=t;var u=e(t.table);u.data("grid",a),e.isPlainObject(f.data)&&u.data(f.data),a._items=[],r(f.cols),f.showCheckbox&&(f.multiSelect=!0,f.cols.unshift({title:f.checkboxFormatter(!0),name:"",data:{"sort-ignore":!0},formatter:f.checkboxFormatter})),f.showIndex&&f.cols.unshift({title:"#",name:"index",data:{"sort-ignore":!0},formatter:f.indexFormatter}),o(u,f),i(u),n(u,f.cols,f.pagination),u.off(".grid").on({"footable_initialized.grid":function(){f.url||f.ajax?e.ajax(f.ajax||{url:f.url}).then(function(e){a.newItem(e),t.raise(f.events.loaded)},function(){throw"load data from "+(f.url||f.ajax.url)+" fail"}):(a.newItem(f.items||[]),t.raise(f.events.loaded))},"footable_sorted.grid footable_grid_created.grid footable_grid_removed.grid":function(){f.showIndex&&a.getItem().length>0&&u.find("tbody tr:not(."+s+")").each(function(t){var a=e(this).find("td:first");a.html(f.indexFormatter(null,a,t))})},"footable_redrawn.grid footable_row_removed.grid":function(){0===a.getItem().length&&f.showEmptyInfo&&l(u,f.cols,f.emptyInfo)}}).on({"click.grid":function(a){if(e(a.target).closest("td").find(">."+d).size()>0)return!0;var o=e(a.currentTarget);return o.hasClass(s)?!0:(f.multiSelect||o.hasClass(f.activeClass)||u.find("tbody tr."+f.activeClass).removeClass(f.activeClass),o.toggleClass(f.activeClass),f.showCheckbox&&o.find("input:checkbox.check").prop("checked",function(e,t){return a.target===this?t:!t}),t.toggleDetail(o),undefined)}},"tbody tr").on("click.grid","thead input:checkbox.checkAll",function(e){var t=!!e.currentTarget.checked;t?u.find("tbody tr").addClass(f.activeClass):u.find("tbody tr").removeClass(f.activeClass),u.find("tbody input:checkbox.check").prop("checked",t)})}},a.getSelected=function(){var t=a.footable.options.grid,o=e(a.footable.table).find("tbody>tr."+t.activeClass);return o.map(function(){return e(this).data("index")})},a.getItem=function(t){return t!==undefined?e.isArray(t)?e.map(t,function(e){return a._items[e]}):a._items[t]:a._items},a._makeRow=function(o,i){var n,r=a.footable.options.grid;if(e.isFunction(r.template))n=e(r.template(e.extend({},{__index:i},o)));else{n=e("<tr>");for(var l=0,d=r.cols.length;d>l;l++){var s=r.cols[l];n.append(t(s,o[s.name]||"",i))}}return n.attr("data-index",i),n},a.newItem=function(t,o,i){var n=e(a.footable.table).find("tbody"),r=a.footable.options.classes.detail;if(n.find("tr.emptyInfo").remove(),e.isArray(t)){for(var l;l=t.pop();)a.newItem(l,o,!0);return a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}),undefined}if(e.isPlainObject(t)){var s,f=a._items.length;if(o===undefined||0>o||o>f)s=a._makeRow(t,f++),a._items.push(t),n.append(s);else{if(s=a._makeRow(t,o),0===o)a._items.unshift(t),n.prepend(s);else{var u=n.find("tr[data-index="+(o-1)+"]");a._items.splice(o,0,t),u.data("detail_created")===!0&&(u=u.next()),u.after(s)}d(n,s,r,1)}i||(a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}))}},a.setItem=function(t,o){if(e.isPlainObject(t)){var i=e(a.footable.table).find("tbody"),n=a._makeRow(t,o);e.extend(a._items[o],t);var r=i.find("tr").eq(o);r.html(n.html()),a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.updated,{item:t,index:o})}},a.removeItem=function(t){var o=e(a.footable.table).find("tbody"),i=a.footable.options.classes.detail,n=[];if(e.isArray(t)){for(var r;r=t.pop();)n.push(a.removeItem(r));return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}if(t===undefined)o.find("tr").each(function(){n.push(a._items.shift()),a.footable.removeRow(this)});else{var l=o.find("tr[data-index="+t+"]");n=a._items.splice(t,1)[0],a.footable.removeRow(l),d(o,l,i,-1)}return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}}if(t.footable===undefined||null===t.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var f={grid:{enabled:!0,data:null,template:null,cols:null,items:null,url:null,ajax:null,activeClass:"active",multiSelect:!1,showIndex:!1,showCheckbox:!1,showEmptyInfo:!1,emptyInfo:'<p class="text-center text-warning">No Data</p>',pagination:{"page-size":20,"pagination-class":"pagination pagination-centered"},indexFormatter:function(e,t,a){return a+1},checkboxFormatter:function(e){return'<input type="checkbox" class="'+(e?"checkAll":"check")+'">'},events:{loaded:"footable_grid_loaded",created:"footable_grid_created",removed:"footable_grid_removed",updated:"footable_grid_updated"}}};t.footable.plugins.register(s,f)})(jQuery,window);;(function(t,e,undefined){function a(){var e=this;e.name="Footable Filter",e.init=function(a){if(e.footable=a,a.options.filter.enabled===!0){if(t(a.table).data("filter")===!1)return;a.timers.register("filter"),t(a.table).unbind(".filtering").bind({"footable_initialized.filtering":function(){var i=t(a.table),o={input:i.data("filter")||a.options.filter.input,timeout:i.data("filter-timeout")||a.options.filter.timeout,minimum:i.data("filter-minimum")||a.options.filter.minimum,disableEnter:i.data("filter-disable-enter")||a.options.filter.disableEnter};o.disableEnter&&t(o.input).keypress(function(t){return window.event?13!==window.event.keyCode:13!==t.which}),i.bind("footable_clear_filter",function(){t(o.input).val(""),e.clearFilter()}),i.bind("footable_filter",function(t,a){e.filter(a.filter)}),t(o.input).keyup(function(i){a.timers.filter.stop(),27===i.which&&t(o.input).val(""),a.timers.filter.start(function(){var a=t(o.input).val()||"";e.filter(a)},o.timeout)})},"footable_redrawn.filtering":function(){var i=t(a.table),o=i.data("filter-string");o&&e.filter(o)}}).data("footable-filter",e)}},e.filter=function(a){var i=e.footable,o=t(i.table),n=o.data("filter-minimum")||i.options.filter.minimum,r=!a,l=i.raise("footable_filtering",{filter:a,clear:r});if(!(l&&l.result===!1||l.filter&&n>l.filter.length))if(l.clear)e.clearFilter();else{var d=l.filter.split(" ");o.find("> tbody > tr").hide().addClass("footable-filtered");var s=o.find("> tbody > tr:not(.footable-row-detail)");t.each(d,function(t,e){e&&e.length>0&&(o.data("current-filter",e),s=s.filter(i.options.filter.filterFunction))}),s.each(function(){e.showRow(this,i),t(this).removeClass("footable-filtered")}),o.data("filter-string",l.filter),i.raise("footable_filtered",{filter:l.filter,clear:!1})}},e.clearFilter=function(){var a=e.footable,i=t(a.table);i.find("> tbody > tr:not(.footable-row-detail)").removeClass("footable-filtered").each(function(){e.showRow(this,a)}),i.removeData("filter-string"),a.raise("footable_filtered",{clear:!0})},e.showRow=function(e,a){var i=t(e),o=i.next(),n=t(a.table);i.is(":visible")||(n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(e)):i.show())}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={filter:{enabled:!0,input:".footable-filter",timeout:300,minimum:2,disableEnter:!1,filterFunction:function(){var e=t(this),a=e.parents("table:first"),i=a.data("current-filter").toUpperCase(),o=e.find("td").text();return a.data("filter-text-only")||e.find("td[data-value]").each(function(){o+=t(this).data("value")}),o.toUpperCase().indexOf(i)>=0}}};e.footable.plugins.register(a,i)})(jQuery,window);;(function(e,t,undefined){function a(t){var a=e(t.table),i=a.data();this.pageNavigation=i.pageNavigation||t.options.pageNavigation,this.pageSize=i.pageSize||t.options.pageSize,this.firstText=i.firstText||t.options.firstText,this.previousText=i.previousText||t.options.previousText,this.nextText=i.nextText||t.options.nextText,this.lastText=i.lastText||t.options.lastText,this.limitNavigation=parseInt(i.limitNavigation||t.options.limitNavigation||o.limitNavigation,10),this.limitPreviousText=i.limitPreviousText||t.options.limitPreviousText,this.limitNextText=i.limitNextText||t.options.limitNextText,this.limit=this.limitNavigation>0,this.currentPage=i.currentPage||0,this.pages=[],this.control=!1}function i(){var t=this;t.name="Footable Paginate",t.init=function(a){if(a.options.paginate===!0){if(e(a.table).data("page")===!1)return;t.footable=a,e(a.table).unbind(".paging").bind({"footable_initialized.paging footable_row_removed.paging footable_redrawn.paging footable_sorted.paging footable_filtered.paging":function(){t.setupPaging()}}).data("footable-paging",t)}},t.setupPaging=function(){var i=t.footable,o=e(i.table).find("> tbody");i.pageInfo=new a(i),t.createPages(i,o),t.createNavigation(i,o),t.fillPage(i,o,i.pageInfo.currentPage)},t.createPages=function(t,a){var i=1,o=t.pageInfo,n=i*o.pageSize,r=[],l=[];o.pages=[];var d=a.find("> tr:not(.footable-filtered,.footable-row-detail)");d.each(function(e,t){r.push(t),e===n-1?(o.pages.push(r),i++,n=i*o.pageSize,r=[]):e>=d.length-d.length%o.pageSize&&l.push(t)}),l.length>0&&o.pages.push(l),o.currentPage>=o.pages.length&&(o.currentPage=o.pages.length-1),0>o.currentPage&&(o.currentPage=0),1===o.pages.length?e(t.table).addClass("no-paging"):e(t.table).removeClass("no-paging")},t.createNavigation=function(a){var i=e(a.table).find(a.pageInfo.pageNavigation);if(0===i.length){if(i=e(a.pageInfo.pageNavigation),i.parents("table:first").length>0&&i.parents("table:first")!==e(a.table))return;i.length>1&&a.options.debug===!0&&console.error("More than one pagination control was found!")}if(0!==i.length){i.is("ul")||(0===i.find("ul:first").length&&i.append("<ul />"),i=i.find("ul")),i.find("li").remove();var o=a.pageInfo;o.control=i,o.pages.length>0&&(i.append('<li class="footable-page-arrow"><a data-page="first" href="#first">'+a.pageInfo.firstText+"</a>"),i.append('<li class="footable-page-arrow"><a data-page="prev" href="#prev">'+a.pageInfo.previousText+"</a></li>"),o.limit&&i.append('<li class="footable-page-arrow"><a data-page="limit-prev" href="#limit-prev">'+a.pageInfo.limitPreviousText+"</a></li>"),o.limit||e.each(o.pages,function(e,t){t.length>0&&i.append('<li class="footable-page"><a data-page="'+e+'" href="#">'+(e+1)+"</a></li>")}),o.limit&&(i.append('<li class="footable-page-arrow"><a data-page="limit-next" href="#limit-next">'+a.pageInfo.limitNextText+"</a></li>"),t.createLimited(i,o,0)),i.append('<li class="footable-page-arrow"><a data-page="next" href="#next">'+a.pageInfo.nextText+"</a></li>"),i.append('<li class="footable-page-arrow"><a data-page="last" href="#last">'+a.pageInfo.lastText+"</a></li>")),i.off("click","a[data-page]").on("click","a[data-page]",function(n){n.preventDefault();var r=e(this).data("page"),l=o.currentPage;if("first"===r)l=0;else if("prev"===r)l>0&&l--;else if("next"===r)o.pages.length-1>l&&l++;else if("last"===r)l=o.pages.length-1;else if("limit-prev"===r){l=-1;var d=i.find(".footable-page:first a").data("page");t.createLimited(i,o,d-o.limitNavigation),t.setPagingClasses(i,o.currentPage,o.pages.length)}else if("limit-next"===r){l=-1;var s=i.find(".footable-page:last a").data("page");t.createLimited(i,o,s+1),t.setPagingClasses(i,o.currentPage,o.pages.length)}else l=r;if(l>=0){if(o.limit&&o.currentPage!=l){for(var f=l;0!==f%o.limitNavigation;)f-=1;t.createLimited(i,o,f)}t.paginate(a,l)}}),t.setPagingClasses(i,o.currentPage,o.pages.length)}},t.createLimited=function(e,t,a){a=a||0,e.find("li.footable-page").remove();var i,o,n=e.find('li.footable-page-arrow > a[data-page="limit-prev"]').parent(),r=e.find('li.footable-page-arrow > a[data-page="limit-next"]').parent();for(i=t.pages.length-1;i>=0;i--)o=t.pages[i],i>=a&&a+t.limitNavigation>i&&o.length>0&&n.after('<li class="footable-page"><a data-page="'+i+'" href="#">'+(i+1)+"</a></li>");0===a?n.hide():n.show(),a+t.limitNavigation>=t.pages.length?r.hide():r.show()},t.paginate=function(a,i){var o=a.pageInfo;if(o.currentPage!==i){var n=e(a.table).find("> tbody"),r=a.raise("footable_paging",{page:i,size:o.pageSize});if(r&&r.result===!1)return;t.fillPage(a,n,i),o.control.find("li").removeClass("active disabled"),t.setPagingClasses(o.control,o.currentPage,o.pages.length)}},t.setPagingClasses=function(e,t,a){e.find("li.footable-page > a[data-page="+t+"]").parent().addClass("active"),t>=a-1&&(e.find('li.footable-page-arrow > a[data-page="next"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="last"]').parent().addClass("disabled")),1>t&&(e.find('li.footable-page-arrow > a[data-page="first"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="prev"]').parent().addClass("disabled"))},t.fillPage=function(a,i,o){a.pageInfo.currentPage=o,e(a.table).data("currentPage",o),i.find("> tr").hide(),e(a.pageInfo.pages[o]).each(function(){t.showRow(this,a)}),a.raise("footable_page_filled")},t.showRow=function(t,a){var i=e(t),o=i.next(),n=e(a.table);n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(t)):i.show()}}if(t.footable===undefined||null===t.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var o={paginate:!0,pageSize:10,pageNavigation:".pagination",firstText:"&laquo;",previousText:"&lsaquo;",nextText:"&rsaquo;",lastText:"&raquo;",limitNavigation:0,limitPreviousText:"...",limitNextText:"..."};t.footable.plugins.register(i,o)})(jQuery,window);;(function(t,e,undefined){function a(){var e=this;e.name="Footable Sortable",e.init=function(a){e.footable=a,a.options.sort===!0&&t(a.table).unbind(".sorting").bind({"footable_initialized.sorting":function(){var i,o,n=t(a.table),r=(n.find("> tbody"),a.options.classes.sort);if(n.data("sort")!==!1){n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").each(function(){var e=t(this),i=a.columns[e.index()];i.sort.ignore===!0||e.hasClass(r.sortable)||(e.addClass(r.sortable),t("<span />").addClass(r.indicator).appendTo(e))}),n.find("> thead > tr:last-child > th."+r.sortable+", > thead > tr:last-child > td."+r.sortable).unbind("click.footable").bind("click.footable",function(a){a.preventDefault(),o=t(this);var i=!o.hasClass(r.sorted);return e.doSort(o.index(),i),!1});var l=!1;for(var s in a.columns)if(i=a.columns[s],i.sort.initial){var d="descending"!==i.sort.initial;e.doSort(i.index,d);break}l&&a.bindToggleSelectors()}},"footable_redrawn.sorting":function(){var i=t(a.table),o=a.options.classes.sort;i.data("sorted")>=0&&i.find("> thead > tr:last-child > th").each(function(a){var i=t(this);return i.hasClass(o.sorted)||i.hasClass(o.descending)?(e.doSort(a),undefined):undefined})},"footable_column_data.sorting":function(e){var a=t(e.column.th);e.column.data.sort=e.column.data.sort||{},e.column.data.sort.initial=a.data("sort-initial")||!1,e.column.data.sort.ignore=a.data("sort-ignore")||!1,e.column.data.sort.selector=a.data("sort-selector")||null;var i=a.data("sort-match")||0;i>=e.column.data.matches.length&&(i=0),e.column.data.sort.match=e.column.data.matches[i]}}).data("footable-sort",e)},e.doSort=function(a,i){var o=e.footable;if(t(o.table).data("sort")!==!1){var n=t(o.table),r=n.find("> tbody"),l=o.columns[a],s=n.find("> thead > tr:last-child > th:eq("+a+")"),d=o.options.classes.sort,f=o.options.events.sort;if(i=i===undefined?s.hasClass(d.sorted):"toggle"===i?!s.hasClass(d.sorted):i,l.sort.ignore===!0)return!0;var u=o.raise(f.sorting,{column:l,direction:i?"ASC":"DESC"});u&&u.result===!1||(n.data("sorted",l.index),n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").not(s).removeClass(d.sorted+" "+d.descending),i===undefined&&(i=s.hasClass(d.sorted)),i?s.removeClass(d.descending).addClass(d.sorted):s.removeClass(d.sorted).addClass(d.descending),e.sort(o,r,l,i),o.bindToggleSelectors(),o.raise(f.sorted,{column:l,direction:i?"ASC":"DESC"}))}},e.rows=function(e,a,i){var o=[];return a.find("> tr").each(function(){var a=t(this),n=null;if(a.hasClass(e.options.classes.detail))return!0;a.next().hasClass(e.options.classes.detail)&&(n=a.next().get(0));var r={row:a,detail:n};return i!==undefined&&(r.value=e.parse(this.cells[i.sort.match],i)),o.push(r),!0}).detach(),o},e.sort=function(t,a,i,o){var n=e.rows(t,a,i),r=t.options.sorters[i.type]||t.options.sorters.alpha;n.sort(function(t,e){return o?r(t.value,e.value):r(e.value,t.value)});for(var l=0;n.length>l;l++)a.append(n[l].row),null!==n[l].detail&&a.append(n[l].detail)}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={sort:!0,sorters:{alpha:function(t,e){return"string"==typeof t&&(t=t.toLowerCase()),"string"==typeof e&&(e=e.toLowerCase()),t===e?0:e>t?-1:1},numeric:function(t,e){return t-e}},classes:{sort:{sortable:"footable-sortable",sorted:"footable-sorted",descending:"footable-sorted-desc",indicator:"footable-sort-indicator"}},events:{sort:{sorting:"footable_sorting",sorted:"footable_sorted"}}};e.footable.plugins.register(a,i)})(jQuery,window);;(function(t,e,undefined){function a(){var e=this;e.name="Footable Striping",e.init=function(a){e.footable=a,t(a.table).unbind("striping").bind({"footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping":function(){t(this).data("striping")!==!1&&e.setupStriping(a)}})},e.setupStriping=function(e){var a=0;t(e.table).find("> tbody > tr:not(.footable-row-detail)").each(function(){var i=t(this);i.removeClass(e.options.classes.striping.even).removeClass(e.options.classes.striping.odd),0===a%2?i.addClass(e.options.classes.striping.even):i.addClass(e.options.classes.striping.odd),a++})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={striping:{enabled:!0},classes:{striping:{odd:"footable-odd",even:"footable-even"}}};e.footable.plugins.register(a,i)})(jQuery,window);;(function(t,e,undefined){function a(t,e){e=e?e:location.hash;var a=RegExp("&"+t+"(?:=([^&]*))?(?=&|$)","i");return(e=e.replace(/^\#/,"&").match(a))?e[1]===undefined?"":decodeURIComponent(e[1]):undefined}function i(e,a){var i=t(e.table).find("tbody").find("tr:not(.footable-row-detail, .footable-filtered)").length;t(e.table).data("status_num_total",i);var o=t(e.table).find("tbody").find("tr:not(.footable-row-detail)").filter(":visible").length;t(e.table).data("status_num_shown",o);var n=t(e.table).data("sorted"),r=t(e.table).find("th")[n],l=t(r).hasClass("footable-sorted-desc");if(t(e.table).data("status_descending",l),e.pageInfo){var s=e.pageInfo.currentPage;t(e.table).data("status_pagenum",s)}var d="",f=t(e.table).data("filter");t(f).length&&(d=t(f).val()),t(e.table).data("status_filter_val",d);var u,p,c;if("footable_row_expanded"==a.type&&(u=a.row,u&&(p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(",")),c.push(u.rowIndex),t(e.table).data("expanded_rows",c.join(",")))),"footable_row_collapsed"==a.type&&(u=a.row)){p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(","));var g=[];for(var b in c)if(c[b]==u.rowIndex){g=c.splice(b,1);break}t(e.table).data("expanded_rows",g.join(","))}}function o(){var e=this;e.name="Footable LucidBookmarkable",e.init=function(e){e.options.bookmarkable.enabled&&t(e.table).bind({footable_initialized:function(){var i=e.table.id,o=a(i+"_f"),n=a(i+"_p"),r=a(i+"_s"),l=a(i+"_d"),s=a(i+"_e");if(o){var d=t(e.table).data("filter");t(d).val(o),t(e.table).trigger("footable_filter",{filter:o})}if(n&&t(e.table).data("currentPage",n),r!==undefined){var f=t(e.table).data("footable-sort"),u=!0;"true"==l&&(u=!1),f.doSort(r,u)}else t(e.table).trigger("footable_setup_paging");if(s){var p=s.split(",");for(var c in p){var g=t(e.table.rows[p[c]]);g.find("> td:first").trigger("footable_toggle_row")}}e.lucid_bookmark_read=!0},"footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed":function(a){if(i(e,a),e.lucid_bookmark_read){var o=e.table.id,n=o+"_f",r=o+"_p",l=o+"_s",s=o+"_d",d=o+"_e",f=location.hash.replace(/^\#/,"&"),u=[n,r,l,s,d];for(var p in u){var c=RegExp("&"+u[p]+"=([^&]*)","g");f=f.replace(c,"")}var g={};g[n]=t(e.table).data("status_filter_val"),g[r]=t(e.table).data("status_pagenum"),g[l]=t(e.table).data("sorted"),g[s]=t(e.table).data("status_descending"),g[d]=t(e.table).data("expanded_rows");var b=[];for(var h in g)g[h]!==undefined&&b.push(h+"="+encodeURIComponent(g[h]));f.length&&b.push(f),location.hash=b.join("&")}}})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var n={bookmarkable:{enabled:!1}};e.footable.plugins.register(o,n)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.bookmarkable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.bookmarkable.min.js deleted file mode 100644 index ad2b1276d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.bookmarkable.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(t,e){e=e?e:location.hash;var a=RegExp("&"+t+"(?:=([^&]*))?(?=&|$)","i");return(e=e.replace(/^\#/,"&").match(a))?e[1]===undefined?"":decodeURIComponent(e[1]):undefined}function i(e,a){var i=t(e.table).find("tbody").find("tr:not(.footable-row-detail, .footable-filtered)").length;t(e.table).data("status_num_total",i);var o=t(e.table).find("tbody").find("tr:not(.footable-row-detail)").filter(":visible").length;t(e.table).data("status_num_shown",o);var n=t(e.table).data("sorted"),r=t(e.table).find("th")[n],l=t(r).hasClass("footable-sorted-desc");if(t(e.table).data("status_descending",l),e.pageInfo){var s=e.pageInfo.currentPage;t(e.table).data("status_pagenum",s)}var d="",f=t(e.table).data("filter");t(f).length&&(d=t(f).val()),t(e.table).data("status_filter_val",d);var u,p,c;if("footable_row_expanded"==a.type&&(u=a.row,u&&(p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(",")),c.push(u.rowIndex),t(e.table).data("expanded_rows",c.join(",")))),"footable_row_collapsed"==a.type&&(u=a.row)){p=t(e.table).data("expanded_rows"),c=[],p&&(c=p.split(","));var g=[];for(var b in c)if(c[b]==u.rowIndex){g=c.splice(b,1);break}t(e.table).data("expanded_rows",g.join(","))}}function o(){var e=this;e.name="Footable LucidBookmarkable",e.init=function(e){e.options.bookmarkable.enabled&&t(e.table).bind({footable_initialized:function(){var i=e.table.id,o=a(i+"_f"),n=a(i+"_p"),r=a(i+"_s"),l=a(i+"_d"),s=a(i+"_e");if(o){var d=t(e.table).data("filter");t(d).val(o),t(e.table).trigger("footable_filter",{filter:o})}if(n&&t(e.table).data("currentPage",n),r!==undefined){var f=t(e.table).data("footable-sort"),u=!0;"true"==l&&(u=!1),f.doSort(r,u)}else t(e.table).trigger("footable_setup_paging");if(s){var p=s.split(",");for(var c in p){var g=t(e.table.rows[p[c]]);g.find("> td:first").trigger("footable_toggle_row")}}e.lucid_bookmark_read=!0},"footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed":function(a){if(i(e,a),e.lucid_bookmark_read){var o=e.table.id,n=o+"_f",r=o+"_p",l=o+"_s",s=o+"_d",d=o+"_e",f=location.hash.replace(/^\#/,"&"),u=[n,r,l,s,d];for(var p in u){var c=RegExp("&"+u[p]+"=([^&]*)","g");f=f.replace(c,"")}var g={};g[n]=t(e.table).data("status_filter_val"),g[r]=t(e.table).data("status_pagenum"),g[l]=t(e.table).data("sorted"),g[s]=t(e.table).data("status_descending"),g[d]=t(e.table).data("expanded_rows");var b=[];for(var h in g)g[h]!==undefined&&b.push(h+"="+encodeURIComponent(g[h]));f.length&&b.push(f),location.hash=b.join("&")}}})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var n={bookmarkable:{enabled:!1}};e.footable.plugins.register(o,n)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.filter.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.filter.min.js deleted file mode 100644 index ed3e36228..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.filter.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(){var e=this;e.name="Footable Filter",e.init=function(a){if(e.footable=a,a.options.filter.enabled===!0){if(t(a.table).data("filter")===!1)return;a.timers.register("filter"),t(a.table).unbind(".filtering").bind({"footable_initialized.filtering":function(){var i=t(a.table),o={input:i.data("filter")||a.options.filter.input,timeout:i.data("filter-timeout")||a.options.filter.timeout,minimum:i.data("filter-minimum")||a.options.filter.minimum,disableEnter:i.data("filter-disable-enter")||a.options.filter.disableEnter};o.disableEnter&&t(o.input).keypress(function(t){return window.event?13!==window.event.keyCode:13!==t.which}),i.bind("footable_clear_filter",function(){t(o.input).val(""),e.clearFilter()}),i.bind("footable_filter",function(t,a){e.filter(a.filter)}),t(o.input).keyup(function(i){a.timers.filter.stop(),27===i.which&&t(o.input).val(""),a.timers.filter.start(function(){var a=t(o.input).val()||"";e.filter(a)},o.timeout)})},"footable_redrawn.filtering":function(){var i=t(a.table),o=i.data("filter-string");o&&e.filter(o)}}).data("footable-filter",e)}},e.filter=function(a){var i=e.footable,o=t(i.table),n=o.data("filter-minimum")||i.options.filter.minimum,r=!a,l=i.raise("footable_filtering",{filter:a,clear:r});if(!(l&&l.result===!1||l.filter&&n>l.filter.length))if(l.clear)e.clearFilter();else{var d=l.filter.split(" ");o.find("> tbody > tr").hide().addClass("footable-filtered");var s=o.find("> tbody > tr:not(.footable-row-detail)");t.each(d,function(t,e){e&&e.length>0&&(o.data("current-filter",e),s=s.filter(i.options.filter.filterFunction))}),s.each(function(){e.showRow(this,i),t(this).removeClass("footable-filtered")}),o.data("filter-string",l.filter),i.raise("footable_filtered",{filter:l.filter,clear:!1})}},e.clearFilter=function(){var a=e.footable,i=t(a.table);i.find("> tbody > tr:not(.footable-row-detail)").removeClass("footable-filtered").each(function(){e.showRow(this,a)}),i.removeData("filter-string"),a.raise("footable_filtered",{clear:!0})},e.showRow=function(e,a){var i=t(e),o=i.next(),n=t(a.table);i.is(":visible")||(n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(e)):i.show())}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={filter:{enabled:!0,input:".footable-filter",timeout:300,minimum:2,disableEnter:!1,filterFunction:function(){var e=t(this),a=e.parents("table:first"),i=a.data("current-filter").toUpperCase(),o=e.find("td").text();return a.data("filter-text-only")||e.find("td[data-value]").each(function(){o+=t(this).data("value")}),o.toUpperCase().indexOf(i)>=0}}};e.footable.plugins.register(a,i)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.grid.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.grid.min.js deleted file mode 100644 index 7793ff78f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.grid.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e,t,undefined){function a(t){var a=e("<th>"+t.title+"</th>");return e.isPlainObject(t.data)&&a.data(t.data),e.isPlainObject(t.style)&&a.css(t.style),t.className&&a.addClass(t.className),a}function o(t,o){var i=t.find("thead");0===i.size()&&(i=e("<thead>").appendTo(t));for(var n=e("<tr>").appendTo(i),r=0,l=o.cols.length;l>r;r++)n.append(a(o.cols[r]))}function i(t){var a=t.find("tbody");0===a.size()&&(a=e("<tbody>").appendTo(t))}function n(t,a,o){if(o){t.attr("data-page-size",o["page-size"]);var i=t.find("tfoot");0===i.size()&&(i=e('<tfoot class="hide-if-no-paging"></tfoot>').appendTo(t)),i.append("<tr><td colspan="+a.length+"></td></tr>");var n=e("<div>").appendTo(i.find("tr:last-child td"));n.addClass(o["pagination-class"])}}function r(t){for(var a=t[0],o=0,i=t.length;i>o;o++){var n=t[o];if(n.data&&(n.data.toggle===!0||"true"===n.data.toggle))return}a.data=e.extend(a.data,{toggle:!0})}function l(e,t,a){0===e.find("tr.emptyInfo").size()&&e.find("tbody").append('<tr class="emptyInfo"><td colspan="'+t.length+'">'+a+"</td></tr>")}function d(t,a,o,i){t.find("tr:not(."+o+")").each(function(){var t=e(this),o=a.data("index"),n=parseInt(t.data("index"),0),r=n+i;n>=o&&this!==a.get(0)&&t.attr("data-index",r).data("index",r)})}function s(){function t(t,a,o){var i=e("<td>");return t.formatter?i.html(t.formatter(a,i,o)):i.html(a||""),i}var a=this;a.name="Footable Grid",a.init=function(t){var d=t.options.classes.toggle,s=t.options.classes.detail,f=t.options.grid;if(f.cols){a.footable=t;var u=e(t.table);u.data("grid",a),e.isPlainObject(f.data)&&u.data(f.data),a._items=[],r(f.cols),f.showCheckbox&&(f.multiSelect=!0,f.cols.unshift({title:f.checkboxFormatter(!0),name:"",data:{"sort-ignore":!0},formatter:f.checkboxFormatter})),f.showIndex&&f.cols.unshift({title:"#",name:"index",data:{"sort-ignore":!0},formatter:f.indexFormatter}),o(u,f),i(u),n(u,f.cols,f.pagination),u.off(".grid").on({"footable_initialized.grid":function(){f.url||f.ajax?e.ajax(f.ajax||{url:f.url}).then(function(e){a.newItem(e),t.raise(f.events.loaded)},function(){throw"load data from "+(f.url||f.ajax.url)+" fail"}):(a.newItem(f.items||[]),t.raise(f.events.loaded))},"footable_sorted.grid footable_grid_created.grid footable_grid_removed.grid":function(){f.showIndex&&a.getItem().length>0&&u.find("tbody tr:not(."+s+")").each(function(t){var a=e(this).find("td:first");a.html(f.indexFormatter(null,a,t))})},"footable_redrawn.grid footable_row_removed.grid":function(){0===a.getItem().length&&f.showEmptyInfo&&l(u,f.cols,f.emptyInfo)}}).on({"click.grid":function(a){if(e(a.target).closest("td").find(">."+d).size()>0)return!0;var o=e(a.currentTarget);return o.hasClass(s)?!0:(f.multiSelect||o.hasClass(f.activeClass)||u.find("tbody tr."+f.activeClass).removeClass(f.activeClass),o.toggleClass(f.activeClass),f.showCheckbox&&o.find("input:checkbox.check").prop("checked",function(e,t){return a.target===this?t:!t}),t.toggleDetail(o),undefined)}},"tbody tr").on("click.grid","thead input:checkbox.checkAll",function(e){var t=!!e.currentTarget.checked;t?u.find("tbody tr").addClass(f.activeClass):u.find("tbody tr").removeClass(f.activeClass),u.find("tbody input:checkbox.check").prop("checked",t)})}},a.getSelected=function(){var t=a.footable.options.grid,o=e(a.footable.table).find("tbody>tr."+t.activeClass);return o.map(function(){return e(this).data("index")})},a.getItem=function(t){return t!==undefined?e.isArray(t)?e.map(t,function(e){return a._items[e]}):a._items[t]:a._items},a._makeRow=function(o,i){var n,r=a.footable.options.grid;if(e.isFunction(r.template))n=e(r.template(e.extend({},{__index:i},o)));else{n=e("<tr>");for(var l=0,d=r.cols.length;d>l;l++){var s=r.cols[l];n.append(t(s,o[s.name]||"",i))}}return n.attr("data-index",i),n},a.newItem=function(t,o,i){var n=e(a.footable.table).find("tbody"),r=a.footable.options.classes.detail;if(n.find("tr.emptyInfo").remove(),e.isArray(t)){for(var l;l=t.pop();)a.newItem(l,o,!0);return a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}),undefined}if(e.isPlainObject(t)){var s,f=a._items.length;if(o===undefined||0>o||o>f)s=a._makeRow(t,f++),a._items.push(t),n.append(s);else{if(s=a._makeRow(t,o),0===o)a._items.unshift(t),n.prepend(s);else{var u=n.find("tr[data-index="+(o-1)+"]");a._items.splice(o,0,t),u.data("detail_created")===!0&&(u=u.next()),u.after(s)}d(n,s,r,1)}i||(a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.created,{item:t,index:o}))}},a.setItem=function(t,o){if(e.isPlainObject(t)){var i=e(a.footable.table).find("tbody"),n=a._makeRow(t,o);e.extend(a._items[o],t);var r=i.find("tr").eq(o);r.html(n.html()),a.footable.redraw(),a.footable.raise(a.footable.options.grid.events.updated,{item:t,index:o})}},a.removeItem=function(t){var o=e(a.footable.table).find("tbody"),i=a.footable.options.classes.detail,n=[];if(e.isArray(t)){for(var r;r=t.pop();)n.push(a.removeItem(r));return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}if(t===undefined)o.find("tr").each(function(){n.push(a._items.shift()),a.footable.removeRow(this)});else{var l=o.find("tr[data-index="+t+"]");n=a._items.splice(t,1)[0],a.footable.removeRow(l),d(o,l,i,-1)}return a.footable.raise(a.footable.options.grid.events.removed,{item:n,index:t}),n}}if(t.footable===undefined||null===t.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var f={grid:{enabled:!0,data:null,template:null,cols:null,items:null,url:null,ajax:null,activeClass:"active",multiSelect:!1,showIndex:!1,showCheckbox:!1,showEmptyInfo:!1,emptyInfo:'<p class="text-center text-warning">No Data</p>',pagination:{"page-size":20,"pagination-class":"pagination pagination-centered"},indexFormatter:function(e,t,a){return a+1},checkboxFormatter:function(e){return'<input type="checkbox" class="'+(e?"checkAll":"check")+'">'},events:{loaded:"footable_grid_loaded",created:"footable_grid_created",removed:"footable_grid_removed",updated:"footable_grid_updated"}}};t.footable.plugins.register(s,f)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.min.js deleted file mode 100644 index 0486c570d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.min.js +++ /dev/null @@ -1,14 +0,0 @@ -/*! - * FooTable - Awesome Responsive Tables - * Version : 2.0.3 - * http://fooplugins.com/plugins/footable-jquery/ - * - * Requires jQuery - http://jquery.com/ - * - * Copyright 2014 Steven Usher & Brad Vincent - * Released under the MIT license - * You are free to use FooTable in commercial projects as long as this copyright header is left intact. - * - * Date: 11 Nov 2014 - */ -(function(e,t){function a(){var e=this;e.id=null,e.busy=!1,e.start=function(t,a){e.busy||(e.stop(),e.id=setTimeout(function(){t(),e.id=null,e.busy=!1},a),e.busy=!0)},e.stop=function(){null!==e.id&&(clearTimeout(e.id),e.id=null,e.busy=!1)}}function i(i,o,n){var r=this;r.id=n,r.table=i,r.options=o,r.breakpoints=[],r.breakpointNames="",r.columns={},r.plugins=t.footable.plugins.load(r);var l=r.options,d=l.classes,s=l.events,u=l.triggers,f=0;return r.timers={resize:new a,register:function(e){return r.timers[e]=new a,r.timers[e]}},r.init=function(){var a=e(t),i=e(r.table);if(t.footable.plugins.init(r),i.hasClass(d.loaded))return r.raise(s.alreadyInitialized),undefined;r.raise(s.initializing),i.addClass(d.loading),i.find(l.columnDataSelector).each(function(){var e=r.getColumnData(this);r.columns[e.index]=e});for(var o in l.breakpoints)r.breakpoints.push({name:o,width:l.breakpoints[o]}),r.breakpointNames+=o+" ";r.breakpoints.sort(function(e,t){return e.width-t.width}),i.unbind(u.initialize).bind(u.initialize,function(){i.removeData("footable_info"),i.data("breakpoint",""),i.trigger(u.resize),i.removeClass(d.loading),i.addClass(d.loaded).addClass(d.main),r.raise(s.initialized)}).unbind(u.redraw).bind(u.redraw,function(){r.redraw()}).unbind(u.resize).bind(u.resize,function(){r.resize()}).unbind(u.expandFirstRow).bind(u.expandFirstRow,function(){i.find(l.toggleSelector).first().not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.expandAll).bind(u.expandAll,function(){i.find(l.toggleSelector).not("."+d.detailShow).trigger(u.toggleRow)}).unbind(u.collapseAll).bind(u.collapseAll,function(){i.find("."+d.detailShow).trigger(u.toggleRow)}),i.trigger(u.initialize),a.bind("resize.footable",function(){r.timers.resize.stop(),r.timers.resize.start(function(){r.raise(u.resize)},l.delay)})},r.addRowToggle=function(){if(l.addRowToggle){var t=e(r.table),a=!1;t.find("span."+d.toggle).remove();for(var i in r.columns){var o=r.columns[i];if(o.toggle){a=!0;var n="> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:nth-child("+(parseInt(o.index,10)+1)+"),"+"> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:nth-child("+(parseInt(o.index,10)+1)+")";return t.find(n).not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle)),undefined}}a||t.find("> tbody > tr:not(."+d.detail+",."+d.disabled+") > td:first-child").add("> tbody > tr:not(."+d.detail+",."+d.disabled+") > th:first-child").not("."+d.detailCell).prepend(e(l.toggleHTMLElement).addClass(d.toggle))}},r.setColumnClasses=function(){var t=e(r.table);for(var a in r.columns){var i=r.columns[a];if(null!==i.className){var o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", "),o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+(parseInt(t,10)+1)+")",n=!1}),t.find(o).not("."+d.detailCell).addClass(i.className)}}},r.bindToggleSelectors=function(){var t=e(r.table);r.hasAnyBreakpointColumn()&&(t.find(l.toggleSelector).unbind(u.toggleRow).bind(u.toggleRow,function(){var t=e(this).is("tr")?e(this):e(this).parents("tr:first");r.toggleDetail(t)}),t.find(l.toggleSelector).unbind("click.footable").bind("click.footable",function(a){t.is(".breakpoint")&&e(a.target).is("td,th,."+d.toggle)&&e(this).trigger(u.toggleRow)}))},r.parse=function(e,t){var a=l.parsers[t.type]||l.parsers.alpha;return a(e)},r.getColumnData=function(t){var a=e(t),i=a.data("hide"),o=a.index();i=i||"",i=jQuery.map(i.split(","),function(e){return jQuery.trim(e)});var n={index:o,hide:{},type:a.data("type")||"alpha",name:a.data("name")||e.trim(a.text()),ignore:a.data("ignore")||!1,toggle:a.data("toggle")||!1,className:a.data("class")||null,matches:[],names:{},group:a.data("group")||null,groupName:null,isEditable:a.data("editable")};if(null!==n.group){var d=e(r.table).find('> thead > tr.footable-group-row > th[data-group="'+n.group+'"], > thead > tr.footable-group-row > td[data-group="'+n.group+'"]').first();n.groupName=r.parse(d,{type:"alpha"})}var u=parseInt(a.prev().attr("colspan")||0,10);f+=u>1?u-1:0;var p=parseInt(a.attr("colspan")||0,10),c=n.index+f;if(p>1){var b=a.data("names");b=b||"",b=b.split(",");for(var g=0;p>g;g++)n.matches.push(g+c),b.length>g&&(n.names[g+c]=b[g])}else n.matches.push(c);n.hide["default"]="all"===a.data("hide")||e.inArray("default",i)>=0;var h=!1;for(var m in l.breakpoints)n.hide[m]="all"===a.data("hide")||e.inArray(m,i)>=0,h=h||n.hide[m];n.hasBreakpoint=h;var v=r.raise(s.columnData,{column:{data:n,th:t}});return v.column.data},r.getViewportWidth=function(){return window.innerWidth||(document.body?document.body.offsetWidth:0)},r.calculateWidth=function(e,t){return jQuery.isFunction(l.calculateWidthOverride)?l.calculateWidthOverride(e,t):(t.viewportWidth<t.width&&(t.width=t.viewportWidth),t.parentWidth<t.width&&(t.width=t.parentWidth),t)},r.hasBreakpointColumn=function(e){for(var t in r.columns)if(r.columns[t].hide[e]){if(r.columns[t].ignore)continue;return!0}return!1},r.hasAnyBreakpointColumn=function(){for(var e in r.columns)if(r.columns[e].hasBreakpoint)return!0;return!1},r.resize=function(){var t=e(r.table);if(t.is(":visible")){if(!r.hasAnyBreakpointColumn())return t.trigger(u.redraw),undefined;var a={width:t.width(),viewportWidth:r.getViewportWidth(),parentWidth:t.parent().width()};a=r.calculateWidth(t,a);var i=t.data("footable_info");if(t.data("footable_info",a),r.raise(s.resizing,{old:i,info:a}),!i||i&&i.width&&i.width!==a.width){for(var o,n=null,l=0;r.breakpoints.length>l;l++)if(o=r.breakpoints[l],o&&o.width&&a.width<=o.width){n=o;break}var d=null===n?"default":n.name,f=r.hasBreakpointColumn(d),p=t.data("breakpoint");t.data("breakpoint",d).removeClass("default breakpoint").removeClass(r.breakpointNames).addClass(d+(f?" breakpoint":"")),d!==p&&(t.trigger(u.redraw),r.raise(s.breakpoint,{breakpoint:d,info:a}))}r.raise(s.resized,{old:i,info:a})}},r.redraw=function(){r.addRowToggle(),r.bindToggleSelectors(),r.setColumnClasses();var t=e(r.table),a=t.data("breakpoint"),i=r.hasBreakpointColumn(a);t.find("> tbody > tr:not(."+d.detail+")").data("detail_created",!1).end().find("> thead > tr:last-child > th").each(function(){var i=r.columns[e(this).index()],o="",n=!0;e.each(i.matches,function(e,t){n||(o+=", ");var a=t+1;o+="> tbody > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > tfoot > tr:not(."+d.detail+") > td:nth-child("+a+")",o+=", > colgroup > col:nth-child("+a+")",n=!1}),o+=', > thead > tr[data-group-row="true"] > th[data-group="'+i.group+'"]';var l=t.find(o).add(this);if(""!==a&&(i.hide[a]===!1?l.addClass("footable-visible").show():l.removeClass("footable-visible").hide()),1===t.find("> thead > tr.footable-group-row").length){var s=t.find('> thead > tr:last-child > th[data-group="'+i.group+'"]:visible, > thead > tr:last-child > th[data-group="'+i.group+'"]:visible'),u=t.find('> thead > tr.footable-group-row > th[data-group="'+i.group+'"], > thead > tr.footable-group-row > td[data-group="'+i.group+'"]'),f=0;e.each(s,function(){f+=parseInt(e(this).attr("colspan")||1,10)}),f>0?u.attr("colspan",f).show():u.hide()}}).end().find("> tbody > tr."+d.detailShow).each(function(){r.createOrUpdateDetailRow(this)}),t.find("[data-bind-name]").each(function(){r.toggleInput(this)}),t.find("> tbody > tr."+d.detailShow+":visible").each(function(){var t=e(this).next();t.hasClass(d.detail)&&(i?t.show():t.hide())}),t.find("> thead > tr > th.footable-last-column, > tbody > tr > td.footable-last-column").removeClass("footable-last-column"),t.find("> thead > tr > th.footable-first-column, > tbody > tr > td.footable-first-column").removeClass("footable-first-column"),t.find("> thead > tr, > tbody > tr").find("> th.footable-visible:last, > td.footable-visible:last").addClass("footable-last-column").end().find("> th.footable-visible:first, > td.footable-visible:first").addClass("footable-first-column"),r.raise(s.redrawn)},r.toggleDetail=function(t){var a=t.jquery?t:e(t),i=a.next();a.hasClass(d.detailShow)?(a.removeClass(d.detailShow),i.hasClass(d.detail)&&i.hide(),r.raise(s.rowCollapsed,{row:a[0]})):(r.createOrUpdateDetailRow(a[0]),a.addClass(d.detailShow).next().show(),r.raise(s.rowExpanded,{row:a[0]}))},r.removeRow=function(t){var a=t.jquery?t:e(t);a.hasClass(d.detail)&&(a=a.prev());var i=a.next();a.data("detail_created")===!0&&i.remove(),a.remove(),r.raise(s.rowRemoved)},r.appendRow=function(t){var a=t.jquery?t:e(t);e(r.table).find("tbody").append(a),r.redraw()},r.getColumnFromTdIndex=function(t){var a=null;for(var i in r.columns)if(e.inArray(t,r.columns[i].matches)>=0){a=r.columns[i];break}return a},r.createOrUpdateDetailRow=function(t){var a,i=e(t),o=i.next(),n=[];if(i.data("detail_created")===!0)return!0;if(i.is(":hidden"))return!1;if(r.raise(s.rowDetailUpdating,{row:i,detail:o}),i.find("> td:hidden").each(function(){var t=e(this).index(),a=r.getColumnFromTdIndex(t),i=a.name;if(a.ignore===!0)return!0;t in a.names&&(i=a.names[t]);var o=e(this).attr("data-bind-name");if(null!=o&&e(this).is(":empty")){var l=e("."+d.detailInnerValue+"["+'data-bind-value="'+o+'"]');e(this).html(e(l).contents().detach())}var s;return a.isEditable!==!1&&(a.isEditable||e(this).find(":input").length>0)&&(null==o&&(o="bind-"+e.now()+"-"+t,e(this).attr("data-bind-name",o)),s=e(this).contents().detach()),s||(s=e(this).contents().clone(!0,!0)),n.push({name:i,value:r.parse(this,a),display:s,group:a.group,groupName:a.groupName,bindName:o}),!0}),0===n.length)return!1;var u=i.find("> td:visible").length,f=o.hasClass(d.detail);return f||(o=e('<tr class="'+d.detail+'"><td class="'+d.detailCell+'"><div class="'+d.detailInner+'"></div></td></tr>'),i.after(o)),o.find("> td:first").attr("colspan",u),a=o.find("."+d.detailInner).empty(),l.createDetail(a,n,l.createGroupedDetail,l.detailSeparator,d),i.data("detail_created",!0),r.raise(s.rowDetailUpdated,{row:i,detail:o}),!f},r.raise=function(t,a){r.options.debug===!0&&e.isFunction(r.options.log)&&r.options.log(t,"event"),a=a||{};var i={ft:r};e.extend(!0,i,a);var o=e.Event(t,i);return o.ft||e.extend(!0,o,i),e(r.table).trigger(o),o},r.reset=function(){var t=e(r.table);t.removeData("footable_info").data("breakpoint","").removeClass(d.loading).removeClass(d.loaded),t.find(l.toggleSelector).unbind(u.toggleRow).unbind("click.footable"),t.find("> tbody > tr").removeClass(d.detailShow),t.find("> tbody > tr."+d.detail).remove(),r.raise(s.reset)},r.toggleInput=function(t){var a=e(t).attr("data-bind-name");if(null!=a){var i=e("."+d.detailInnerValue+"["+'data-bind-value="'+a+'"]');null!=i&&(e(t).is(":visible")?e(i).is(":empty")||e(t).html(e(i).contents().detach()):e(t).is(":empty")||e(i).html(e(t).contents().detach()))}},r.init(),r}t.footable={options:{delay:100,breakpoints:{phone:480,tablet:1024},parsers:{alpha:function(t){return e(t).data("value")||e.trim(e(t).text())},numeric:function(t){var a=e(t).data("value")||e(t).text().replace(/[^0-9.\-]/g,"");return a=parseFloat(a),isNaN(a)&&(a=0),a}},addRowToggle:!0,calculateWidthOverride:null,toggleSelector:" > tbody > tr:not(.footable-row-detail)",columnDataSelector:"> thead > tr:last-child > th, > thead > tr:last-child > td",detailSeparator:":",toggleHTMLElement:"<span />",createGroupedDetail:function(e){for(var t={_none:{name:null,data:[]}},a=0;e.length>a;a++){var i=e[a].group;null!==i?(i in t||(t[i]={name:e[a].groupName||e[a].group,data:[]}),t[i].data.push(e[a])):t._none.data.push(e[a])}return t},createDetail:function(t,a,i,o,n){var r=i(a);for(var l in r)if(0!==r[l].data.length){"_none"!==l&&t.append('<div class="'+n.detailInnerGroup+'">'+r[l].name+"</div>");for(var d=0;r[l].data.length>d;d++){var s=r[l].data[d].name?o:"";t.append(e("<div></div>").addClass(n.detailInnerRow).append(e("<div></div>").addClass(n.detailInnerName).append(r[l].data[d].name+s)).append(e("<div></div>").addClass(n.detailInnerValue).attr("data-bind-value",r[l].data[d].bindName).append(r[l].data[d].display)))}}},classes:{main:"footable",loading:"footable-loading",loaded:"footable-loaded",toggle:"footable-toggle",disabled:"footable-disabled",detail:"footable-row-detail",detailCell:"footable-row-detail-cell",detailInner:"footable-row-detail-inner",detailInnerRow:"footable-row-detail-row",detailInnerGroup:"footable-row-detail-group",detailInnerName:"footable-row-detail-name",detailInnerValue:"footable-row-detail-value",detailShow:"footable-detail-show"},triggers:{initialize:"footable_initialize",resize:"footable_resize",redraw:"footable_redraw",toggleRow:"footable_toggle_row",expandFirstRow:"footable_expand_first_row",expandAll:"footable_expand_all",collapseAll:"footable_collapse_all"},events:{alreadyInitialized:"footable_already_initialized",initializing:"footable_initializing",initialized:"footable_initialized",resizing:"footable_resizing",resized:"footable_resized",redrawn:"footable_redrawn",breakpoint:"footable_breakpoint",columnData:"footable_column_data",rowDetailUpdating:"footable_row_detail_updating",rowDetailUpdated:"footable_row_detail_updated",rowCollapsed:"footable_row_collapsed",rowExpanded:"footable_row_expanded",rowRemoved:"footable_row_removed",reset:"footable_reset"},debug:!1,log:null},version:{major:0,minor:5,toString:function(){return t.footable.version.major+"."+t.footable.version.minor},parse:function(e){var t=/(\d+)\.?(\d+)?\.?(\d+)?/.exec(e);return{major:parseInt(t[1],10)||0,minor:parseInt(t[2],10)||0,patch:parseInt(t[3],10)||0}}},plugins:{_validate:function(a){if(!e.isFunction(a))return t.footable.options.debug===!0&&console.error('Validation failed, expected type "function", received type "{0}".',typeof a),!1;var i=new a;return"string"!=typeof i.name?(t.footable.options.debug===!0&&console.error('Validation failed, plugin does not implement a string property called "name".',i),!1):e.isFunction(i.init)?(t.footable.options.debug===!0&&console.log('Validation succeeded for plugin "'+i.name+'".',i),!0):(t.footable.options.debug===!0&&console.error('Validation failed, plugin "'+i.name+'" does not implement a function called "init".',i),!1)},registered:[],register:function(a,i){t.footable.plugins._validate(a)&&(t.footable.plugins.registered.push(a),"object"==typeof i&&e.extend(!0,t.footable.options,i))},load:function(e){var a,i,o=[];for(i=0;t.footable.plugins.registered.length>i;i++)try{a=t.footable.plugins.registered[i],o.push(new a(e))}catch(n){t.footable.options.debug===!0&&console.error(n)}return o},init:function(e){for(var a=0;e.plugins.length>a;a++)try{e.plugins[a].init(e)}catch(i){t.footable.options.debug===!0&&console.error(i)}}}};var o=0;e.fn.footable=function(a){a=a||{};var n=e.extend(!0,{},t.footable.options,a);return this.each(function(){o++;var t=new i(this,n,o);e(this).data("footable",t)})}})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.paginate.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.paginate.min.js deleted file mode 100644 index 2b1a87ac5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.paginate.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e,t,undefined){function a(t){var a=e(t.table),i=a.data();this.pageNavigation=i.pageNavigation||t.options.pageNavigation,this.pageSize=i.pageSize||t.options.pageSize,this.firstText=i.firstText||t.options.firstText,this.previousText=i.previousText||t.options.previousText,this.nextText=i.nextText||t.options.nextText,this.lastText=i.lastText||t.options.lastText,this.limitNavigation=parseInt(i.limitNavigation||t.options.limitNavigation||o.limitNavigation,10),this.limitPreviousText=i.limitPreviousText||t.options.limitPreviousText,this.limitNextText=i.limitNextText||t.options.limitNextText,this.limit=this.limitNavigation>0,this.currentPage=i.currentPage||0,this.pages=[],this.control=!1}function i(){var t=this;t.name="Footable Paginate",t.init=function(a){if(a.options.paginate===!0){if(e(a.table).data("page")===!1)return;t.footable=a,e(a.table).unbind(".paging").bind({"footable_initialized.paging footable_row_removed.paging footable_redrawn.paging footable_sorted.paging footable_filtered.paging":function(){t.setupPaging()}}).data("footable-paging",t)}},t.setupPaging=function(){var i=t.footable,o=e(i.table).find("> tbody");i.pageInfo=new a(i),t.createPages(i,o),t.createNavigation(i,o),t.fillPage(i,o,i.pageInfo.currentPage)},t.createPages=function(t,a){var i=1,o=t.pageInfo,n=i*o.pageSize,r=[],l=[];o.pages=[];var d=a.find("> tr:not(.footable-filtered,.footable-row-detail)");d.each(function(e,t){r.push(t),e===n-1?(o.pages.push(r),i++,n=i*o.pageSize,r=[]):e>=d.length-d.length%o.pageSize&&l.push(t)}),l.length>0&&o.pages.push(l),o.currentPage>=o.pages.length&&(o.currentPage=o.pages.length-1),0>o.currentPage&&(o.currentPage=0),1===o.pages.length?e(t.table).addClass("no-paging"):e(t.table).removeClass("no-paging")},t.createNavigation=function(a){var i=e(a.table).find(a.pageInfo.pageNavigation);if(0===i.length){if(i=e(a.pageInfo.pageNavigation),i.parents("table:first").length>0&&i.parents("table:first")!==e(a.table))return;i.length>1&&a.options.debug===!0&&console.error("More than one pagination control was found!")}if(0!==i.length){i.is("ul")||(0===i.find("ul:first").length&&i.append("<ul />"),i=i.find("ul")),i.find("li").remove();var o=a.pageInfo;o.control=i,o.pages.length>0&&(i.append('<li class="footable-page-arrow"><a data-page="first" href="#first">'+a.pageInfo.firstText+"</a>"),i.append('<li class="footable-page-arrow"><a data-page="prev" href="#prev">'+a.pageInfo.previousText+"</a></li>"),o.limit&&i.append('<li class="footable-page-arrow"><a data-page="limit-prev" href="#limit-prev">'+a.pageInfo.limitPreviousText+"</a></li>"),o.limit||e.each(o.pages,function(e,t){t.length>0&&i.append('<li class="footable-page"><a data-page="'+e+'" href="#">'+(e+1)+"</a></li>")}),o.limit&&(i.append('<li class="footable-page-arrow"><a data-page="limit-next" href="#limit-next">'+a.pageInfo.limitNextText+"</a></li>"),t.createLimited(i,o,0)),i.append('<li class="footable-page-arrow"><a data-page="next" href="#next">'+a.pageInfo.nextText+"</a></li>"),i.append('<li class="footable-page-arrow"><a data-page="last" href="#last">'+a.pageInfo.lastText+"</a></li>")),i.off("click","a[data-page]").on("click","a[data-page]",function(n){n.preventDefault();var r=e(this).data("page"),l=o.currentPage;if("first"===r)l=0;else if("prev"===r)l>0&&l--;else if("next"===r)o.pages.length-1>l&&l++;else if("last"===r)l=o.pages.length-1;else if("limit-prev"===r){l=-1;var d=i.find(".footable-page:first a").data("page");t.createLimited(i,o,d-o.limitNavigation),t.setPagingClasses(i,o.currentPage,o.pages.length)}else if("limit-next"===r){l=-1;var s=i.find(".footable-page:last a").data("page");t.createLimited(i,o,s+1),t.setPagingClasses(i,o.currentPage,o.pages.length)}else l=r;if(l>=0){if(o.limit&&o.currentPage!=l){for(var f=l;0!==f%o.limitNavigation;)f-=1;t.createLimited(i,o,f)}t.paginate(a,l)}}),t.setPagingClasses(i,o.currentPage,o.pages.length)}},t.createLimited=function(e,t,a){a=a||0,e.find("li.footable-page").remove();var i,o,n=e.find('li.footable-page-arrow > a[data-page="limit-prev"]').parent(),r=e.find('li.footable-page-arrow > a[data-page="limit-next"]').parent();for(i=t.pages.length-1;i>=0;i--)o=t.pages[i],i>=a&&a+t.limitNavigation>i&&o.length>0&&n.after('<li class="footable-page"><a data-page="'+i+'" href="#">'+(i+1)+"</a></li>");0===a?n.hide():n.show(),a+t.limitNavigation>=t.pages.length?r.hide():r.show()},t.paginate=function(a,i){var o=a.pageInfo;if(o.currentPage!==i){var n=e(a.table).find("> tbody"),r=a.raise("footable_paging",{page:i,size:o.pageSize});if(r&&r.result===!1)return;t.fillPage(a,n,i),o.control.find("li").removeClass("active disabled"),t.setPagingClasses(o.control,o.currentPage,o.pages.length)}},t.setPagingClasses=function(e,t,a){e.find("li.footable-page > a[data-page="+t+"]").parent().addClass("active"),t>=a-1&&(e.find('li.footable-page-arrow > a[data-page="next"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="last"]').parent().addClass("disabled")),1>t&&(e.find('li.footable-page-arrow > a[data-page="first"]').parent().addClass("disabled"),e.find('li.footable-page-arrow > a[data-page="prev"]').parent().addClass("disabled"))},t.fillPage=function(a,i,o){a.pageInfo.currentPage=o,e(a.table).data("currentPage",o),i.find("> tr").hide(),e(a.pageInfo.pages[o]).each(function(){t.showRow(this,a)}),a.raise("footable_page_filled")},t.showRow=function(t,a){var i=e(t),o=i.next(),n=e(a.table);n.hasClass("breakpoint")&&i.hasClass("footable-detail-show")&&o.hasClass("footable-row-detail")?(i.add(o).show(),a.createOrUpdateDetailRow(t)):i.show()}}if(t.footable===undefined||null===t.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var o={paginate:!0,pageSize:10,pageNavigation:".pagination",firstText:"&laquo;",previousText:"&lsaquo;",nextText:"&rsaquo;",lastText:"&raquo;",limitNavigation:0,limitPreviousText:"...",limitNextText:"..."};t.footable.plugins.register(i,o)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.sort.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.sort.min.js deleted file mode 100644 index 917793dee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.sort.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(){var e=this;e.name="Footable Sortable",e.init=function(a){e.footable=a,a.options.sort===!0&&t(a.table).unbind(".sorting").bind({"footable_initialized.sorting":function(){var i,o,n=t(a.table),r=(n.find("> tbody"),a.options.classes.sort);if(n.data("sort")!==!1){n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").each(function(){var e=t(this),i=a.columns[e.index()];i.sort.ignore===!0||e.hasClass(r.sortable)||(e.addClass(r.sortable),t("<span />").addClass(r.indicator).appendTo(e))}),n.find("> thead > tr:last-child > th."+r.sortable+", > thead > tr:last-child > td."+r.sortable).unbind("click.footable").bind("click.footable",function(a){a.preventDefault(),o=t(this);var i=!o.hasClass(r.sorted);return e.doSort(o.index(),i),!1});var l=!1;for(var s in a.columns)if(i=a.columns[s],i.sort.initial){var d="descending"!==i.sort.initial;e.doSort(i.index,d);break}l&&a.bindToggleSelectors()}},"footable_redrawn.sorting":function(){var i=t(a.table),o=a.options.classes.sort;i.data("sorted")>=0&&i.find("> thead > tr:last-child > th").each(function(a){var i=t(this);return i.hasClass(o.sorted)||i.hasClass(o.descending)?(e.doSort(a),undefined):undefined})},"footable_column_data.sorting":function(e){var a=t(e.column.th);e.column.data.sort=e.column.data.sort||{},e.column.data.sort.initial=a.data("sort-initial")||!1,e.column.data.sort.ignore=a.data("sort-ignore")||!1,e.column.data.sort.selector=a.data("sort-selector")||null;var i=a.data("sort-match")||0;i>=e.column.data.matches.length&&(i=0),e.column.data.sort.match=e.column.data.matches[i]}}).data("footable-sort",e)},e.doSort=function(a,i){var o=e.footable;if(t(o.table).data("sort")!==!1){var n=t(o.table),r=n.find("> tbody"),l=o.columns[a],s=n.find("> thead > tr:last-child > th:eq("+a+")"),d=o.options.classes.sort,f=o.options.events.sort;if(i=i===undefined?s.hasClass(d.sorted):"toggle"===i?!s.hasClass(d.sorted):i,l.sort.ignore===!0)return!0;var u=o.raise(f.sorting,{column:l,direction:i?"ASC":"DESC"});u&&u.result===!1||(n.data("sorted",l.index),n.find("> thead > tr:last-child > th, > thead > tr:last-child > td").not(s).removeClass(d.sorted+" "+d.descending),i===undefined&&(i=s.hasClass(d.sorted)),i?s.removeClass(d.descending).addClass(d.sorted):s.removeClass(d.sorted).addClass(d.descending),e.sort(o,r,l,i),o.bindToggleSelectors(),o.raise(f.sorted,{column:l,direction:i?"ASC":"DESC"}))}},e.rows=function(e,a,i){var o=[];return a.find("> tr").each(function(){var a=t(this),n=null;if(a.hasClass(e.options.classes.detail))return!0;a.next().hasClass(e.options.classes.detail)&&(n=a.next().get(0));var r={row:a,detail:n};return i!==undefined&&(r.value=e.parse(this.cells[i.sort.match],i)),o.push(r),!0}).detach(),o},e.sort=function(t,a,i,o){var n=e.rows(t,a,i),r=t.options.sorters[i.type]||t.options.sorters.alpha;n.sort(function(t,e){return o?r(t.value,e.value):r(e.value,t.value)});for(var l=0;n.length>l;l++)a.append(n[l].row),null!==n[l].detail&&a.append(n[l].detail)}}if(e.footable===undefined||null===e.footable)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={sort:!0,sorters:{alpha:function(t,e){return"string"==typeof t&&(t=t.toLowerCase()),"string"==typeof e&&(e=e.toLowerCase()),t===e?0:e>t?-1:1},numeric:function(t,e){return t-e}},classes:{sort:{sortable:"footable-sortable",sorted:"footable-sorted",descending:"footable-sorted-desc",indicator:"footable-sort-indicator"}},events:{sort:{sorting:"footable_sorting",sorted:"footable_sorted"}}};e.footable.plugins.register(a,i)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.striping.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.striping.min.js deleted file mode 100644 index 01161dd17..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/footable.striping.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(t,e,undefined){function a(){var e=this;e.name="Footable Striping",e.init=function(a){e.footable=a,t(a.table).unbind("striping").bind({"footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping":function(){t(this).data("striping")!==!1&&e.setupStriping(a)}})},e.setupStriping=function(e){var a=0;t(e.table).find("> tbody > tr:not(.footable-row-detail)").each(function(){var i=t(this);i.removeClass(e.options.classes.striping.even).removeClass(e.options.classes.striping.odd),0===a%2?i.addClass(e.options.classes.striping.even):i.addClass(e.options.classes.striping.odd),a++})}}if(e.footable===undefined||null===e.foobox)throw Error("Please check and make sure footable.js is included in the page and is loaded prior to this script.");var i={striping:{enabled:!0},classes:{striping:{odd:"footable-odd",even:"footable-even"}}};e.footable.plugins.register(a,i)})(jQuery,window); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/dist/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/icomoon/footable.json b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/icomoon/footable.json deleted file mode 100644 index dda61384c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/icomoon/footable.json +++ /dev/null @@ -1 +0,0 @@ -{"share":"6", "iconsVersion":"1.5", "icomoon":{"selected":[{"idx":"488","unicode":"e000"},{"idx":"489","unicode":"e001"},{"idx":"511","unicode":"e002"},{"idx":"509","unicode":"e003"},{"idx":"512","unicode":"e004"},{"idx":"510","unicode":"e005"},{"idx":"780","unicode":"e006"},{"idx":"779","unicode":"e007"},{"idx":"802","unicode":"e008"},{"idx":"284","unicode":"e009"},{"idx":"397","unicode":"e00a"},{"idx":"393","unicode":"e00b"},{"idx":"391","unicode":"e00c"},{"idx":"395","unicode":"e00d"},{"idx":"430","unicode":"e00e"},{"idx":"428","unicode":"e00f"},{"idx":"427","unicode":"e010"},{"idx":"429","unicode":"e011"},{"idx":"838","unicode":"e012"},{"idx":"839","unicode":"e013"},{"idx":"837","unicode":"e014"},{"idx":"836","unicode":"e015"},{"idx":"346","unicode":"e016"},{"idx":"344","unicode":"e017"},{"idx":"343","unicode":"e018"},{"idx":"345","unicode":"e019"},{"idx":"405","unicode":"e01a"},{"idx":"401","unicode":"e01b"},{"idx":"399","unicode":"e01c"},{"idx":"403","unicode":"e01d"},{"idx":"795","unicode":"e01e"},{"idx":"794","unicode":"e01f"},{"idx":"797","unicode":"e020"},{"idx":"796","unicode":"e021"},{"idx":"834","unicode":"e022"}],"customIcons":[{"metadata":{"id":"fontawesome","name":"Font Awesome","link":"http://fortawesome.github.com/Font-Awesome/","grid":"14","author":"Dave Gandy","authorLink":"https://github.com/davegandy","license":"SIL","licenseLink":"http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL","defaultunicode":true},"svgs":["<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"renren\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 402.5,686.5q-61,33.5 -130.5,33.5q-70.5,0 -130.5-33.5q 49-30.5 83.5-74.5t 47-95.5q 12.5,51.5 47,95.5t 83.5,74.5zM 226.5,180l0,172 q0,89.5 -44.75,163t-117.25,108.5q-64.5-76 -64.5-175.5q0-100 64.75-176t 161.75-92zM 479,272.5q-64,76 -64,175.5q0,100.5 64,175.5q-72.5-35 -117.25-109t-44.75-164 l0-170.5 q 98,16.5 162,92.5zM 819,686.5q-61,33.5 -130.5,33.5q-70.5,0 -130.5-33.5q 49-30.5 83.5-74.5t 47-95.5q 12.5,51.5 47,95.5t 83.5,74.5zM 643,180l0,172 q0,89.5 -45.5,163t-118.5,108.5l0,0 q 66.5-77 66.5-175.5q0-97.5 -66.5-175.5q 64.5-75.5 164-92.5zM 960,448q0,100.5 -64.5,175.5q-72.5-35 -117.25-109 t-44.75-164l0-170.5 q 97,16 161.75,92t 64.75,176z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"weibo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 337.5,642q 10.5-17 5.5-34.5t-22.5-25q-17-7 -36.5-0.5t-30,23q-11,17 -6.5,34.25t 21.5,25.25t 37.25,1.25t 31.25-23.75zM 384.5,581.5q 4-6.5 1.75-13.25t-8.75-9.25q-7-2.5 -14.25,0.25t-10.75,9.25q-8.5,15.5 6.5,22.5q 7,2.5 14.5-0.25t 11-9.25zM 471.5,635q-22.5,51 -79,75t-112,6 q-53.5-17 -73.75-63.25t 3.25-93.75q 23.5-46.5 75.75-69.5t 105.25-9.5q 55.5,14.5 79.25,59.75t 1.25,95.25zM 627.5,555q-4.5-48 -44.5-85t-104.25-54.5t-137.25-10.5q-111.5,11.5 -184.75,70.75t-66.25,132.25q 4.5,48 44.5,85t 104.25,54.5t 137.25,10.5q 111.5-11.5 184.75-70.75t 66.25-132.25zM 781.5,557 q0,34 -18.5,69.75t-54.5,68.5t-84.25,58.75t-113,41.5t-135.25,15.5t-137.5-16.75t-120.25-46.5t-85.75-75.5t-32.5-99.75q0-57.5 34.75-122.5t 98.75-129q 84.5-84.5 170.75-118t 123.25,3.5q 32.5,32 10,104.5q-2,7 -0.5,10t 5,3.5t 7.25-0.25t 6.75-1.75l 3-1q 69.5-29.5 123-29.5t 76.5,30.5q 22.5,31.5 0,89 q-1,6.5 -2.25,10t 2.25,6.25t 6,3.75t 8.5,3q 28.5,9 51.5,23.5t 40,40.75t 17,58.25zM 744.5,245q 21,23.5 27.25,54.25t-3.25,58.75q-4,11.5 -14.75,17t-22.25,2q-11.5-4 -17-14.75t-2-22.25q 10-31.5 -12-55.5t-53.5-17.5q-12,2.5 -22.5-4t-12.5-18.5q-2.5-12 4-22.25t 18.5-12.75q 30-6.5 59.5,2.75t 50.5,32.75z M 835,163.5q 43.5,48 56.25,111.25t-6.75,120.75q-4.5,13.5 -17,20t-26,2t-20-17t-2.5-26q 14-41 5-86t-40-79q-31-34.5 -74-47.75t-86.5-4.25q-14,3 -26-4.75t-15-21.75t 4.75-25.75t 21.75-14.75q 61.5-13 122,5.75t 104,67.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"vk\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 958.5,260q 11.5,32 -75,147q-12,16 -32.5,42.5q-39,50 -45,65.5q-8.5,20.5 7,40.5q 8.5,10.5 40.5,41l 0.5,0 l 0.5,0.5l 0.5,0.5l 1,1q 70.5,65.5 95.5,110.5q 1.5,2.5 3.25,6.25t 3.5,13.25t-0.25,17t-12.5,13.75t-29.5,6.25l-128,2q-12,2.5 -28-2.5t-26-11l-10-6q-15-10.5 -35-32t-34.25-38.75t-30.5-29 t-28.25-7.75q-1.5,0.5 -4,1.75t-8.5,7.25t-10.75,14.75t-8.5,26t-3.25,38.75q0,7.5 -1.75,13.75t-3.75,9.25l-2,2.5q-9,9.5 -26.5,11l-57.5,0 q-35.5,2 -73-8.25t-65.75-26.5t-51.5-33t-35.25-28.75l-12.5-12q-5-5 -13.75-15t-35.75-45.5t-53-75.5t-61.25-105.5t-65.25-136q-3-8 -3-13.5t 1.5-8l 2-3 q 7.5-9.5 28.5-9.5l 137-1q 6,1 11.5,3.25t 8,4.25l 2.5,1.5q 8,5.5 12,16q 10,25 23,51.75t 20.5,40.75l 8,14.5q 14.5,30 28,52t 24.25,34.25t 20.75,19.25t 17,7t 13.5-2.5q 1-0.5 2.5-2.5t 6-11t 6.75-23.5t 4.75-40.5t0-62.5q-1-20 -4.5-36.5t-7-23l-3-6q-12.5-17 -42.5-21.5q-6.5-1 2.5-12q 8.5-9.5 19-15q 26.5-13 119.5-12 q 41,0.5 67.5,6.5q 10,2.5 16.75,6.75t 10.25,12t 5.25,16t 1.75,22.75t-0.5,27.5t-1.25,35.25t-0.75,41.25q0,5.5 -0.5,21t-0.25,24t 1.75,20.25t 5.75,19.5t 11.25,12.25q 4,1 8.5,2t 13-5.5t 19-17.25t 26-33.5t 34-53.75q 30-52 53.5-112.5q 2-5 5-8.75t 5.5-5.25l 2-1.5l 2.5-1.25t 6.5-1.5t 10-0.25l 144-1 q 19.5-2.5 32,1.25t 15.5,8.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"bug, virus\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 816,480q0,13 -9.5,22.5t-22.5,9.5l-112,0 q0,85.5 -33.5,145l 104,104.5q 9.5,9.5 9.5,22.5t-9.5,22.5q-9,9.5 -22.5,9.5t-22.5-9.5l-99-98.5q-2.5,2.5 -7.5,6.5t-21,14.25t-32.5,18.25t-41,14.5t-48.5,6.5l0-448 l-64,0 l0,448 q-25.5,0 -50.75-6.75t-43.5-16.5t-33-19.5t-21.75-16.25l-7.5-7l-91.5,103.5 q-10,10.5 -24,10.5q-12,0 -21.5-8q-9.5-9 -10.25-22.25t 7.75-23.25l 101-113.5q-29-57 -29-137l-112,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 112,0 l0-147 l-86.5-86.5q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5l 86.5,86.5l 422,0 l 86.5-86.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5t-9.5,22.5l-86.5,86.5l0,147 l 112,0 q 13,0 22.5,9.5 t 9.5,22.5zM 576,192l-320,0 q0-66.5 46.75-113.25t 113.25-46.75t 113.25,46.75t 46.75,113.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"archive, box\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 544,416q0-13 -9.5-22.5t-22.5-9.5l-128,0 q-13,0 -22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5l 128,0 q 13,0 22.5-9.5t 9.5-22.5zM 832,320l0,480 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-480 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 864,96l0,128 q0,13 -9.5,22.5t-22.5,9.5l-768,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 768,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"moon, night, dark\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 631,651.5q-27,4.5 -55,4.5q-91,0 -168.5-45t-122.5-122.5t-45-168.5q0-96 52-178.5q-100.5,30 -164.25,114.5t-63.75,192q0,65 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5q 72,0 136.75-30.75t 110.25-85.75zM 732.5,609q-47,101.5 -141.75,162.25t-206.75,60.75q-78,0 -149-30.5 t-122.5-82t-82-122.5t-30.5-149q0-76.5 28.75-146.25t 78-120.75t 117.75-82.25t 145-34.25q 22-1 30.5,19.5q 9,20.5 -7.5,36q-43,39 -65.75,90.75t-22.75,109.25q0,74 36.5,136.5t 99,99t 136.5,36.5q 59,0 114-25.5q 20.5-9 36,6.5q 7,7 8.75,17t-2.25,19z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sun, brightness, lightness\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 736,448q0-58.5 -22.75-111.75t-61.5-92t-92-61.5t-111.75-22.75t-111.75,22.75t-92,61.5t-61.5,92t-22.75,111.75t 22.75,111.75t 61.5,92t 92,61.5t 111.75,22.75t 111.75-22.75t 92-61.5t 61.5-92t 22.75-111.75zM 874,586.5q-2,7.5 -10,10l-146,48l0,153 q0,8 -6.5,13q-7.5,5 -14.5,2 l-146-47l-90,124q-5,6.5 -13,6.5t-13-6.5l-90-124l-146,47q-7,3 -14.5-2q-6.5-5 -6.5-13l0-153 l-146-48q-8-2.5 -10-10q-2.5-8.5 2-14.5l 90-124l-90-124q-4.5-6.5 -2-14.5q 2-7.5 10-10l 146-48l0-153 q0-8 6.5-13q 7.5-5 14.5-2l 146,47l 90-124q 4.5-6 13-6t 13,6l 90,124l 146-47 q 7-3 14.5,2q 6.5,5 6.5,13l0,153 l 146,48q 8,2.5 10,10q 2.5,8 -2,14.5l-90,124l 90,124q 4.5,6 2,14.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"gittip\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 386.5,651l 175-236.5q 8-11 12.25-29.5t-3-42.5t-30.75-39.5q-20-13 -41.5-12.75t-36.75,8.75t-27.25,22.5q-18,20 -48,20q-29.5,0 -47.5-20q-12-14 -27.25-22.5t-36.75-8.75t-42,12.75q-23,15.5 -30.25,39.5t-3,42.5t 12.25,29.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5 t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"male, gender, sex, man\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,352l0,208 q0,20 -14,34t-34,14t-34-14t-14-34l0-176 l-32,0 l0,456 q0,23 -16.5,39.5t-39.5,16.5t-39.5-16.5t-16.5-39.5l0-232 l-32,0 l0,232 q0,23 -16.5,39.5t-39.5,16.5t-39.5-16.5t-16.5-39.5l0-456 l-32,0 l0,176 q0,20 -14,34t-34,14t-34-14t-14-34l0-208 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68z M 368,128q0,46.5 -32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"female, gender, sex, woman\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 640,528q0,20 -14,34t-34,14q-25.5,0 -40-21.5l-113.5-170.5l-22.5,0 l0,66 l 123.5,205.5q 4.5,7.5 4.5,16.5q0,13 -9.5,22.5t-22.5,9.5l-96,0 l0,136 q0,23 -16.5,39.5t-39.5,16.5l-80,0 q-23,0 -39.5-16.5t-16.5-39.5l0-136 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5q0-9 4.5-16.5l 123.5-205.5l0-66 l-22.5,0 l-113.5,170.5q-14.5,21.5 -40,21.5 q-20,0 -34-14t-14-34q0-14.5 8-26.5l 128-192q 36.5-53.5 88-53.5l 192,0 q 51.5,0 88,53.5l 128,192q 8,12 8,26.5zM 432,128q0,46.5 -32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"trello\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 352,672l0-512 q0-7 -4.5-11.5t-11.5-4.5l-240,0 q-7,0 -11.5,4.5t-4.5,11.5l0,512 q0,7 4.5,11.5t 11.5,4.5l 240,0 q 7,0 11.5-4.5t 4.5-11.5zM 688,480l0-320 q0-7 -4.5-11.5t-11.5-4.5l-240,0 q-7,0 -11.5,4.5t-4.5,11.5l0,320 q0,7 4.5,11.5t 11.5,4.5l 240,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"foursquare, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 741.5,512l-293.5,293.5q-26,26.5 -63.75,26.5t-64.25-26.5l-293.5-293.5q-26.5-26.5 -26.5-64t 26.5-64l 293.5-293.5q 26.5-26.5 64-26.5t 64,26.5l 132.5,132.5l-199,199.5l-94-94q-21-21 -49.5-21q-29.5,0 -50,20.5l-60,60.5q-21,20 -21,49.5q0,29 21,50l 203,204q 15,14 33.5,18.5l 3,2l 14,0 q 30,0 49.5-20.5 l 309.5-309.5l 1,1.5q 26.5,26.5 26.5,64t-26.5,64zM 703,199l 60,60q 7,7.5 7,18t-7,18l-365,365q-8.5,7.5 -18.5,7.5l0,0 q-2,0 -3-0.5q-9-1 -15-7l-203.5-204q-7-7.5 -7-18t 7-17.5l 60.5-60q 6.5-7.5 17.5-7.5t 18,7.5l 126,126l 287-287.5q 7.5-7.5 18-7.5t 18,7.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"skype, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 586.5,531.5q0-25 -9.75-45.75t-24.25-34.25t-36.5-24.5t-41.25-17t-43.75-11.5l-52-12q-15-3.5 -22-5.25t-17.5-5.75t-15-8t-8.25-10.5t-3.75-15q0-38.5 72-38.5q 21.5,0 38.5,6t 27,14.25t 19,16.75t 20,14.5t 24,6q 23.5,0 37.75-16t 14.25-38.5q0-27.5 -28-49.75t-71-33.75t-91-11.5q-34,0 -66,7.75 t-59.75,23.5t-44.5,43.5t-16.75,64.25q0,30.5 9.5,53.25t 28,37.75t 40,24.25t 51.5,16.25l 73,18q 45,11 56,18q 16,10 16,30q0,19.5 -20,32.25t-52.5,12.75q-25.5,0 -45.75-8t-32.5-19.25t-22.75-22.5t-23-19.25t-27-8q-25,0 -37.75,15t-12.75,37.5q0,46 61,78.75t 145.5,32.75 q 36.5,0 70-9.25t 61.25-26.75t 44.25-46.75t 16.5-65.75zM 768,640q0,79.5 -56.25,135.75t-135.75,56.25q-65,0 -117-40q-38.5,8 -75,8q-71.5,0 -136.75-27.75t-112.5-75t-75-112.5t-27.75-136.75q0-36.5 8-75q-40-52 -40-117q0-79.5 56.25-135.75t 135.75-56.25q 65,0 117,40 q 38.5-8 75-8q 71.5,0 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,36.5 -8,75q 40,52 40,117z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,750q-21-120.5 -70-249l-1,0 l-1,0.5q-8,3 -21.5,8.25t-50.5,24.5t-68.5,41t-65.5,57.25t-51.5,74l-7.5-5.5q 92,75 209,75q 66,0 128-26zM 419.5,446.5q-10.5-24.5 -26.5-55.5q-155.5,46.5 -336.5,46.5q-0.5,3.5 -0.5,10.5q0,62 22,118.25t 62,100.75q 25-44.5 61.75-83.25t 71.25-62.25t 65.25-40.5 t 49.75-24l 18.5-6.5q 2-0.5 6.5-1.75t 6.5-2.25zM 366,340.5q-60-106.5 -122-189q-69,32.5 -117,93t-64,136q 151,0 303-40zM 708,500q-105-30 -204.5-14.5q 43.5,119.5 64,234.5q 55.5-37.5 92.5-94.75t 48-125.25zM 305.5,129.5q-0.5,0 -1,0.5q 0.5-0.5 1-0.5zM 600.5,202q-92.5-82 -216.5-82q-38,0 -77.5,9.5 q 65.5,85 123,191q 34.5-13 65-30.25t 48.25-30.75t 32.75-28.5t 18.75-20.25zM 712,444.5q-1.5-116 -74.5-205l-0.5,0.5q-4.5,6 -9.5,12.25t-21.75,22.25t-35.5,30.25t-50,32.5t-65.75,32.25q 12.5,26.5 22,47.5q 1,3 3.25,8.75t 3.75,8.25q 18-2.5 37.25-3.5t 36.75-1t 34.5,0.75t 32,2t 28.25,2.75t 24,3.25t 18.25,3 t 12.5,2.25zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"linux, os\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 331.5,205.5q-5.5,0.5 -7.75,5.25t-4.25,4.75q-2.5,0.5 -2.5-2.5q0-6 9.5-7.5l 5,0 zM 375,212.5q-2,0.5 -5.75-3.25t-8.75-2.25q 12-5.5 16,1q 1.5,3 -1.5,4.5zM 199.5,426q-2-0.5 -3,1.5t-2.25,6.25t-2.75,6.75t-5,6.5q-3.5,5 -0.5,6q 2,0.5 6.25-3.5t 6.25-9q 0.5-1.5 1-3.5t 1-3t 0.75-2.25t 0.25-2l0-1.5 t-0.5-1.25t-1.5-1z M 627,605.5q0-9 -27.5-21q 2-7.5 3.75-13.75t 2.5-13t 1.5-10.75t 0.25-11.25t-0.5-9.75t-1.75-11t-2-10.25t-2.5-12.5t-2.75-13.25q-5-24 -23.5-51.5t-36-37.5q 12,10 28.5,41.5q 43.5,81 27,139q-5.5,20 -25,21q-15.5,2 -19.25-9.25t-4-41.75t-5.75-53.5q-4.5-19.5 -9.75-34.5t-9.75-22.75t-7.75-12.25t-6.5-7.5t-3.75-3.5 q-7-31 -15.5-51.5t-14.75-28t-11.75-16.5t-7.5-20q-2-10.5 3-26.75t 2.25-24.75t-22.25-12.5q-7.5-1.5 -22.25-9t-17.75-8q-4-0.5 -5.5-13t 4-25.5t 18-13.5q 18.5-1.5 25.5,15t 2,29q-5.5,9.5 -1,13.25t 15,0.25q 6.5-2 6.5-18l0-18.5 q-2.5-15 -6.75-25t-10.5-15.25t-11.75-7.5t-13.5-3.75q-53.5,4 -44.5,67q0,7.5 -0.5,7.5 q-4.5-4.5 -14.75-5.25t-16.5,0.25t-7.75-2.5q 0.5-28.5 -8-45t-22.5-17q-13.5-0.5 -20.75,13.75t-8.25,29.75q-0.5,7.5 1.75,18.5t 6.5,18.75t 7.75,6.75q 5-1.5 8-7q 2-4.5 -3.5-4q-3.5,0 -7.75-7.25t-4.75-16.75q-0.5-11 4.5-18.5t 17-7q 8.5,0 13.5,10.5t 4.75,19.5t-0.75,11q-11,7.5 -15.5,14.5q-4,6 -13.75,11.75 t-10.25,6.25q-6.5,7 -7.75,13.5t 3.75,9q 7,4 12.5,9.75t 8,9.5t 9.25,6.5t 17.75,3.25q 23.5,1 51-7.5q 1-0.5 11.5-3.5t 17.25-5.25t 14.75-6.5t 10.5-8.75q 4.5-7 10-4q 2.5,1.5 3.25,4.25t-1.5,6t-8.25,4.75q-10,3 -28.25,10.75t-22.75,9.75q-22,9.5 -35,11.5q-12.5,2.5 -39.5-1q-5-1 -4.5,1t 8.5,9.5 q 12.5,11.5 33.5,11q 8.5-0.5 18-3.5t 18-7t 16.75-8.75t 15-8.5t 12.25-6t 8.75-1.25t 4.25,5.5q0,1 -0.5,2.25t-2,2.5t-3,2.25t-4.25,2.5t-4.5,2.25t-5,2.5t-4.75,2.25q-14,7 -33.75,22t-33.25,21.5t-24.5,0.5q-10.5-5.5 -31.5-36.5q-11-15.5 -12.5-11q-0.5,1.5 -0.5,5q0,12.5 -7.5,28.25t-14.75,27.75t-10.5,29t 5.75,31.5 q-11.5,3 -31.25,45t-23.75,70.5q-1,9 -0.75,34.5t-2.75,29.5q-4,12 -14.5,1.5q-16-15.5 -18-47q-1-14 2-28q 2-9.5 -0.5-9l-2,2.5q-18,32.5 5,83q 2.5,6 12.5,14t 12,10q 10,11.5 52,45.25t 46.5,38.25q 8,7.5 8.75,19t-7,21.5t-22.75,11.5q 4,7.5 14.5,22.25t 14,27t 3.5,35.25q 23-12 3.5-46 q-2-4 -5.25-8t-4.75-6t-1-3q 1.5-2.5 6.5-4.75t 10,1.25q 23,26 83,18q 66.5-7.5 88.5-43.5q 11.5-19 17-15q 6,3 5,26q-0.5,12.5 -11.5,46q-4.5,11.5 -3,18.75t 12,7.75q 1.5-9.5 7.25-38.5t 6.75-45q 1-10.5 -3.25-36.75t-3.75-48.5t 11.5-35.25q 7.5-9 25.5-9q 0.5-18.5 17.25-26.5t 36.25-5.25t 30,11.25zM 313,192 q 1.5-8.5 -1.25-15t-5.75-7.5q-4.5-1 -4.5,3.5q 1,2.5 2.5,3q 5,0 3.5,7.5q-1.5,10 4,10q 1.5,0 1.5-1.5zM 522.5,290.5q-1-4 -3.25-5.75t-6.5-2.5t-7.25-2.75q-2.5-1.5 -4.75-4t-3.5-4t-2.75-3.25t-2-2t-2,0.75q-7,8 3.5,21.75t 19.5,15.75q 4.5,0.5 7.25-4t 1.75-10zM 433.5,184q0-5.5 -2.5-9.75t-5.5-6.25t-4.5-1.5q-7,0.5 -3.5,3.5l 2,1 q 7,2 9,15.5q0,1.5 4-1zM 460.5,67.5q0-1 -1.25-2.5t-4.5-3.5t-4.75-3q-7.5-7.5 -12-7.5q-4.5,0.5 -5.75,3.75t-0.5,6.5t-0.25,6.25q-0.5,2 -3,5.25t-3,4.5t 1.5,4.25q 2,1.5 4,0t 5.5-4.5t 7.5-4.5q 0.5-0.5 4.5-0.5t 7.5-1t 4.5-3.5zM 743,738q 10,6 15.5,12.25t 6,12t-1.25,11.25t-7.75,11t-11.75,9.75t-15,9.25 t-15.75,8.25t-16,7.75t-13.5,6.5q-19,9.5 -42.75,28t-37.75,32q-8.5,8 -34,9.75t-44.5-7.25q-9-4.5 -14.75-11.75t-8.25-12.75t-11-9.75t-23.5-4.75q-22-0.5 -65-0.5q-9.5,0 -28.5,0.75t-29,1.25q-22,0.5 -39.75,7.5t-26.75,15t-21.75,14.25t-26.75,5.75q-14.5-0.5 -55.5-15.5t-73-21.5q-9.5-2 -25.5-4.75 t-25-4.5t-19.75-4.75t-16.75-7.25t-8.5-9.75q-5-11.5 3.5-33.25t 9-27.25q 0.5-8 -2-20t-5-21.25t-2.25-18.25t 5.25-13.5q 7-6 28.5-7t 30-6q 15-9 21-17.5t 6-25.5q 10.5,36.5 -16,53q-16,10 -41.5,7.5q-17-1.5 -21.5,5q-6.5,7.5 2.5,28.5q 1,3 4,9t 4.25,9t 2.25,8.5t 0.5,11q0,7.5 -8.5,24.5t-7,24 q 1.5,8.5 18.5,13q 10,3 42.25,9.25t 49.75,10.25q 12,3 37,11t 41.25,11.5t 27.75,2q 21.5-3 32.25-14t 11.5-24t-3.75-29.25t-9.5-26t-10-18.25q-60.5-95 -84.5-121q-34-37 -56.5-20q-5.5,4.5 -7.5-7.5q-1.5-8 -1-19q 0.5-14.5 5-26t 12-23.5t 11-21q 4-10.5 13.25-36t 14.75-39t 15-30.5t 19.5-27q 55-71.5 62-97.5 q-6-56 -8-155q-1-45 12-75.75t 53-52.25q 19.5-10.5 52-10.5q 26.5-0.5 53,6.75t 44.5,20.75q 28.5,21 45.75,60.75t 14.75,73.75q-2.5,47.5 15,107q 17,56.5 66.5,109q 27.5,29.5 49.75,81.5t 29.75,95.5q 4,24.5 2.5,42.25t-6,27.75t-10,11q-5,1 -11.75,9.5t-13.5,17.75t-20.25,16.75t-30.5,7 q-9-0.5 -15.75-2.5t-11.25-6.75t-6.75-7.75t-5.75-10.25t-4.5-9.75q-11-18.5 -20.5-15t-14,24.5t 3.5,48.5q 10,35 0.5,97.5q-5,32.5 9,50.25t 36.5,16.5t 42.5-17.75q 29.5-24.5 44.75-33.25t 51.75-21.25q 26.5-9 38.5-18.25t 9.25-17.25t-12.5-14.25t-25.75-11.75q-16.5-5.5 -24.75-24t-7.5-36.25t 7.75-23.75q 0.5,15.5 4,28.25 t 7.25,20.25t 10.25,14.25t 10.5,9.5t 10.75,6.5t 8.25,4.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"android, os\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 246.5,241.5q 8,0 13.75-5.75t 5.75-13.75t-5.75-13.75t-13.75-5.75t-13.5,5.75t-5.5,13.75t 5.5,13.75t 13.5,5.75zM 457.5,241.5q 8,0 13.5-5.75t 5.5-13.75t-5.5-13.75t-13.5-5.75t-13.75,5.75t-5.75,13.75t 5.75,13.75t 13.75,5.75zM 51.5,333.5q 21,0 36,15t 15,36l0,215 q0,21.5 -14.75,36.5t-36.25,15 t-36.5-15t-15-36.5l0-215 q0-21 15-36t 36.5-15zM 581.5,343l0,333 q0,23 -16,39t-38.5,16l-37.5,0 l0,113.5 q0,21.5 -15,36.5t-36.5,15t-36.5-15t-15-36.5l0-113.5 l-69,0 l0,113.5 q0,21.5 -15,36.5t-36.5,15q-21,0 -36-15t-15-36.5l-0.5-113.5l-37,0 q-23,0 -39-16t-16-39l0-333 l 459,0 zM 465.5,140.5q 53.5,27.5 85.5,76.75t 32,107.75 l-462.5,0 q0-58.5 32-107.75t 86-76.75l-35.5-65.5q-3.5-6.5 2.5-10q 6.5-3 10,3l 36,66q 47.5-21 100.5-21t 100.5,21l 36-66q 3.5-6 10-3q 6,3.5 2.5,10zM 704,384.5l0,215 q0,21.5 -15,36.5t-36.5,15q-21,0 -36-15t-15-36.5l0-215 q0-21.5 15-36.25t 36-14.75q 21.5,0 36.5,14.75t 15,36.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"windows, os\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 341,503l0,325.5 l-341-47l0-278.5 l 341,0 zM 341,131.5l0,329.5 l-341,0 l0-282.5 zM 832,503l0,393 l-453.5-62.5l0-330.5 l 453.5,0 zM 832,64l0,397 l-453.5,0 l0-334.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"apple\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 696.5,607.5q-19.5,62.5 -61.5,125q-64.5,98 -128.5,98q-24.5,0 -70-16q-43-16 -75.5-16q-30.5,0 -71,16.5q-40.5,17 -66,17q-76,0 -150.5-129.5q-73.5-130.5 -73.5-251.5q0-114 56.5-187q 56-72 142-72q 36,0 88.5,15q 52,15 69,15q 22.5,0 71.5-17q 51-17 86.5-17q 59.5,0 106.5,32.5 q 26,18 52,50q-39.5,33.5 -57,59q-32.5,47 -32.5,103.5q0,62 34.5,111.5t 79,63zM 508.5,21q0,30.5 -14.5,68q-15,37.5 -46.5,69q-27,27 -54,36q-18.5,5.5 -52,8.5q 1.5-74.5 39-128.5q 37-53.5 125-74q 0.5,1.5 1.25,5.5t 1.25,5.5q0,2 0.25,5t 0.25,5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"long-arrow-right, arrow, right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 864,446.5q0,7 -5,12l-192,177q-8,7 -17.5,3q-9.5-4.5 -9.5-14.5l0-112 l-624,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 624,0 l0-112 q0-10.5 9.5-14.5t 17.5,2.5l 192,175q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"long-arrow-left, left, arrow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,400l0,96 q0,7 -4.5,11.5t-11.5,4.5l-624,0 l0,112 q0,10.5 -9.5,14.5t-17.5-2.5l-192-175q-5-5 -5-11.5q0-7 5-12l 192-177q 8-7 17.5-3q 9.5,4.5 9.5,14.5l0,112 l 624,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"long-arrow-up, arrow, up\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 382.5,246.5q-4.5,9.5 -14.5,9.5l-112,0 l0,624 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-624 l-112,0 q-10.5,0 -14.5-9.5t 2.5-17.5l 175-192q 5-5 11.5-5q 7,0 12,5l 177.5,192q 6.5,8 2.5,17.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"long-arrow-down, arrow, down, bottom\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 382.5,649.5q 4,9.5 -2.5,17.5l-175,192q-5,5 -11.5,5q-7,0 -12-5l-177.5-192q-6.5-8 -2.5-17.5q 4.5-9.5 14.5-9.5l 112,0 l0-624 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,624 l 112,0 q 10.5,0 14.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"tumblr-sign, social, blog\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 561.5,704.5l0-90.5 q-44,28 -87,28q-25.5,0 -44-11.5q-14.5-8.5 -19.5-22.5q-5.5-15 -5.5-64.5l0-147.5 l 137,0 l0-90.5 l-137,0 l0-145.5 l-82,0 q-5.5,45 -20,73.5t-39,49.5q-24,20 -58,31.5l0,81.5 l 63.5,0 l0,202 q0,39 8.5,60.5q 8.5,21 29.5,39q 21.5,18.5 52,28.5q 31,10 70,10q 33.5,0 64.5-7q 28.5-6.5 67-24.5zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"tumblr, social, blog\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 195,64l 109.5,0 l0,194 l 182,0 l0,120.5 l-182,0 l0,197 q0,68 7,86q 6.5,18.5 26,30q 25,15.5 58.5,15.5q 58.5,0 116-38l0,121 q-51,24 -89,32.5q-38.5,9.5 -86.5,9.5q-52.5,0 -93-13.5q-39-12.5 -69-37.5q-29-25.5 -39.5-52.5q-11-27 -11-80.5l0-269.5 l-85,0 l0-108.5 q 45.5-15 77.5-42q 32-27.5 51.5-66q 19.5-39 27-98z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"bitbucket-sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 424,435q0-21.5 -20.5-33t-38.5-0.5q-21.5,10 -21.25,36.25t 21.75,35.25q 19.5,11.5 40.5-2t 18-36zM 464,427q 4,33 -18,60.5t-55,30.5t-59.5-20t-28-56.5q-1-24.5 12.75-46.5t 36.25-32q 35-15.5 70.75,5t 40.75,59zM 550,231.5q-10,10.5 -26.75,17t-26.5,8t-31.75,4q-77.5,10 -162,0q-22-3 -31.5-4.75 t-26.25-8t-27.25-16.25q 6.5-9.5 18-15.5t 20-7.75t 23.5-4.25q 99-17.5 204-0.5q 16.5,2.5 25.5,4.25t 21.5,8t 19.5,15.75zM 571,604.5q0-3.5 2.75-13.25t 1.5-16t-8.75-8.25q-80.5,53 -182.5,53t-183-53l-6,3l-2.5,6q 13,77 20.5,105q 23.5,40.5 102,54q 124.5,23 214-26.5q 17-9.5 24.5-25.75t 11.25-42.75t 6.25-35.5z M 636,258q 4.5-26.5 -4-37.5q-21.5-27.5 -77.5-44q-108-31.5 -243.5-18q-66,6 -113,23q-19,7.5 -29.75,12.5t-23.5,17t-14.75,27q 4,34 9.5,69t 14.5,85.5t 12,68.5q 0.5,2.5 2.5,15.5t 3.5,18t 6,13.5t 11,14q 52.5,40 142,50q 129.5,14 220-31.5q 12-6.5 19.75-11.5t 15.5-14.5t 9.75-20q 24-133.5 40-236.5zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"bitbucket\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 407.5,429.5q 4,31.5 -25.25,50.5t-55.75,3q-19.5-8.5 -26.75-29t-0.25-41t 26-29q 18-9 36.25-6t 32,17.75t 13.75,33.75zM 463,419q-7-53.5 -56.5-82t-98.5-6.5q-31.5,14 -50.25,44.25t-17.25,64.75q 2,45.5 38.75,77.5t 82.75,28q 45.5-4 76-42t 25-84zM 582.5,148q-10-13.5 -28-22.25t-29-11 t-35.5-6.25q-145.5-23.5 -283,1q-21.5,3.5 -33,6t-27.5,11t-25,21.5q 15,14 38,22.75t 36.75,11t 43.75,5.75q 114,14.5 224,0.5q 31.5-4 44.75-6t 36.25-10.75t 37.5-23.25zM 611,665.5q-4,13 -7.75,38.25t-7,42t-14.25,35t-29,28.25q-43,24 -94.75,35.75t-101,11t-100.75-9.25q-23-4 -40.75-9 t-38.25-13.5t-36.5-21.75t-26-30.75q-12.5-48 -28.5-146l 3-8l 9-4.5q 111.5,74 253.25,74t 253.75-74q 10.5,3 12,11.5t-2.5,22.5t-4,18.5zM 701.5,185q-13,83.5 -55.5,327.5q-2.5,15 -13.5,28t-21.75,20t-27.25,15.5q-126,63 -305,44q-124-13.5 -197-69.5q-7.5-6 -12.75-13.25t-8.5-17.5t-4.5-17t-3-19.75 t-2.75-17.5q-4.5-25 -13.25-75t-14-80.75t-11.75-73.75t-11-79q 1.5-13 8.75-24.25t 15.75-18.75t 22.5-15t 23-11.25t 24-9.25q 62.5-23 156.5-32q 189.5-18.5 338,25q 77.5,23 107.5,61q 8,10 8.25,25.5t-2.75,27z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"adn\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,311l 100.5,153l-201,0 zM 566.5,576l 47,0 l-229.5-345.5l-229.5,345.5l 47,0 l 52-80l 261,0 zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"flickr, photos, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 624,64q 59.5,0 101.75,42.25t 42.25,101.75l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 zM 349,448q0-44 -31-75t-75-31t-75,31t-31,75t 31,75t 75,31t 75-31t 31-75zM 631,448q0-44 -31-75 t-75-31t-75,31t-31,75t 31,75t 75,31t 75-31t 31-75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"instagram, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 681,713l0-324 l-67.5,0 q 10,31.5 10,65.5q0,63 -32,116.25t-87,84.25t-120,31q-98.5,0 -168.5-67.75t-70-163.75q0-34 10-65.5l-70.5,0 l0,324 q0,13 8.75,21.75t 21.75,8.75l 534.5,0 q 12.5,0 21.5-8.75t 9-21.75zM 539,446.5q0-62 -45.25-105.75t-109.25-43.75q-63.5,0 -108.75,43.75t-45.25,105.75 t 45.25,105.75t 108.75,43.75q 64,0 109.25-43.75t 45.25-105.75zM 681,266.5l0-82.5 q0-14 -10-24.25t-24.5-10.25l-87,0 q-14.5,0 -24.5,10.25t-10,24.25l0,82.5 q0,14.5 10,24.5t 24.5,10l 87,0 q 14.5,0 24.5-10t 10-24.5zM 768,162.5l0,571 q0,40.5 -29,69.5t-69.5,29l-571,0 q-40.5,0 -69.5-29t-29-69.5l0-571 q0-40.5 29-69.5 t 69.5-29l 571,0 q 40.5,0 69.5,29t 29,69.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"stackexchange, stackoverflow, social\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 464,700.5l0,75.5 l-353.5,0.5l0-75.5 zM 584.5,527.5l0,350.5 l-0.5,17.5l0,0.5 l-566,0 l-17.5-0.5l-0.5,0 l0-368 l 60.5,0 l0,309 l 464,0 l0-309 l 60,0 zM 120.5,571.5l 352,32.5l-6.5,75l-352.5-32.5zM 154.5,413.5l 341.5,91.5l-19.5,73l-341.5-91.5zM 236,239l 304.5,180l-38.5,65l-304.5-180zM 416,73.5l 199,292.5l-62,42.5l-199.5-292zM 642.5,0 l 60.5,348.5l-74.5,13l-60.5-348.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"dropbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 201,353.5l 247,152.5l-171,142.5l-245-159.5zM 694,631l0,54 l-245,146.5l0,0.5 l-0.5-0.5l-0.5,0.5l0-0.5 l-244.5-146.5l0-54 l 73.5,48l 171-142l0-1 l 0.5,0.5l 0.5-0.5l0,1 l 171.5,142zM 277,59l 171,142.5l-247,152l-169-135zM 695,353.5l 169,135.5l-244.5,159.5l-171.5-142.5zM 619.5,59l 244.5,159.5l-169,135l-247-152z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"youtube-play, social\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 640,448q0-18.5 -15-27l-256-160q-15.5-10 -32.5-1q-16.5,9 -16.5,28l0,320 q0,19 16.5,28q 8,4 15.5,4q 10,0 17-5l 256-160q 15-8.5 15-27zM 896,448q0,48 -0.5,75t-4.25,68.25t-11.25,73.75q-8,36.5 -34.5,61.5t-62,29q-111,12.5 -335.5,12.5t-335.5-12.5q-35.5-4 -62.25-29t-34.75-61.5 q-7-32.5 -10.75-73.75t-4.25-68.25t-0.5-75t 0.5-75t 4.25-68.25t 11.25-73.75q 8-36.5 34.5-61.5t 62-29q 111-12.5 335.5-12.5t 335.5,12.5q 35.5,4 62.25,29t 34.75,61.5q 7,32.5 10.75,73.75t 4.25,68.25t 0.5,75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"xing-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 342.5,382.5q0-0.5 -63-111q-10.5-17 -26-17l-92,0 q-9,0 -13,5.5q-3.5,6 0.5,14.5l 62.5,108l0,0.5 l-98,173q-4.5,7 0,14q 4,6.5 12,6.5l 92.5,0 q 15.5,0 25-18zM 654.5,134q-3.5-6 -12-6l-93.5,0 q-15,0 -24.5,17.5l-205.5,364.5q 0.5,1 131,240.5q 10,17.5 26,17.5l 92,0 q 9,0 12.5-6q 4-6.5 -0.5-14l-130-238l0-0.5 l 204.5-361.5q 4-8 0-14zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"xing, social\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 298.5,333.5q-5,9 -128.5,228q-13.5,23 -32.5,23l-119.5,0 q-10.5,0 -15.5-8.5t0-18l 126.5-224q 0.5,0 0-0.5l-80.5-139.5q-6-11 -0.5-18.5q 4.5-7.5 16-7.5l 119.5,0 q 20,0 33,22.5zM 701.5,12.5q 5.5,8 0,18.5l-264,467l0,0.5 l 168,307.5q 5.5,10 0.5,18.5q-5,7.5 -16,7.5l-119.5,0 q-21,0 -33-22.5l-169.5-311q 9-16 265.5-471 q 12.5-22.5 32-22.5l 120.5,0 q 11,0 15.5,7.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"youtube, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 485.5,622l0,105.5 q0,33.5 -19.5,33.5q-11.5,0 -22.5-11l0-150.5 q 11-11 22.5-11q 19.5,0 19.5,33.5zM 654.5,622.5l0,23 l-45,0 l0-23 q0-34 22.5-34t 22.5,34zM 171.5,513.5l 53.5,0 l0-47 l-156,0 l0,47 l 52.5,0 l0,284.5 l 50,0 l0-284.5 zM 315.5,798l 44.5,0 l0-247 l-44.5,0 l0,189 q-15,21 -28.5,21q-9,0 -10.5-10.5q-0.5-1.5 -0.5-17.5l0-182 l-44.5,0 l0,195.5 q0,24.5 4,36.5 q 6,18.5 29,18.5q 24,0 51-30.5l0,27 zM 530,724l0-98.5 q0-36.5 -4.5-49.5q-8.5-28 -35.5-28q-25,0 -46.5,27l0-108.5 l-44.5,0 l0,331.5 l 44.5,0 l0-24 q 22.5,27.5 46.5,27.5q 27,0 35.5-27.5q 4.5-13.5 4.5-50zM 699,719l0-6.5 l-45.5,0 q0,25.5 -1,30.5q-3.5,18 -20,18q-23,0 -23-34.5l0-43.5 l 89.5,0 l0-51.5 q0-39.5 -13.5-58q-19.5-25.5 -53-25.5q-34,0 -53.5,25.5 q-14,18.5 -14,58l0,86.5 q0,39.5 14.5,58q 19.5,25.5 54,25.5q 36,0 54-26.5q 9-13.5 10.5-27q 1-4.5 1-29zM 395,262.5l0-105 q0-34.5 -21.5-34.5t-21.5,34.5l0,105 q0,35 21.5,35t 21.5-35zM 754.5,638q0,117 -13,175q-7,29.5 -29,49.5t-51,23q-92,10.5 -277.5,10.5t-277.5-10.5q-29-3 -51.25-23t-28.75-49.5 q-13-56 -13-175q0-117 13-175q 7-29.5 29-49.5t 51.5-23.5q 91.5-10 277-10t 277.5,10q 29,3.5 51.25,23.5t 28.75,49.5q 13,56 13,175zM 255.5,0l 51,0 l-60.5,199.5l0,135.5 l-50,0 l0-135.5 q-7-37 -30.5-106q-18.5-51.5 -32.5-93.5l 53,0 l 35.5,131.5zM 440.5,166.5l0,87.5 q0,40.5 -14,59q-18.5,25.5 -53,25.5q-33.5,0 -52.5-25.5 q-14-19 -14-59l0-87.5 q0-40 14-58.5q 19-25.5 52.5-25.5q 34.5,0 53,25.5q 14,18.5 14,58.5zM 608,85.5l0,249.5 l-45.5,0 l0-27.5 q-26.5,31 -51.5,31q-23,0 -29.5-18.5q-4-12 -4-37.5l0-197 l 45.5,0 l0,183.5 q0,16.5 0.5,17.5q 1.5,11 10.5,11q 13.5,0 28.5-21.5l0-190.5 l 45.5,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"youtube-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 459.5,651.5l0-78.5 q0-25 -14.5-25q-8.5,0 -16.5,8l0,112 q 8,8 16.5,8q 14.5,0 14.5-24.5zM 551.5,590.5l 33,0 l0-17 q0-25.5 -16.5-25.5t-16.5,25.5l0,17 zM 266,457.5l0,35 l-40,0 l0,211.5 l-37,0 l0-211.5 l-39,0 l0-35 l 116,0 zM 366.5,520.5l0,183.5 l-33.5,0 l0-20 q-19.5,22.5 -38,22.5q-16.5,0 -21-14q-3-8 -3-27l0-145 l 33,0 l0,135 q0,12 0.5,13q 0.5,7.5 7.5,7.5 q 10,0 21-15.5l0-140 l 33.5,0 zM 492.5,576l0,73 q0,26 -3.5,36.5q-6,21 -26.5,21q-17.5,0 -34-20.5l0,18 l-33.5,0 l0-246.5 l 33.5,0 l0,80.5 q 16-20 34-20q 20.5,0 26.5,21q 3.5,10.5 3.5,37zM 618,640.5l0,4.5 q0,14.5 -1,21.5q-1.5,11 -7.5,20q-13.5,20 -40,20q-26,0 -40.5-19q-10.5-13.5 -10.5-43l0-64.5 q0-29.5 10-43q 14.5-19 40-19t 39,19 q 10.5,14 10.5,43l0,38 l-66.5,0 l0,32.5 q0,25.5 17,25.5q 12,0 15-13q0-0.5 0.25-3.5t 0.25-8.25l0-10.75 l 34,0 zM 392.5,228.5l0,78 q0,25.5 -16,25.5t-16-25.5l0-78 q0-26 16-26t 16,26zM 659,585q0-88.5 -9.5-130q-5-22 -21.5-36.75t-38-17.25q-68-7.5 -206-7.5q-137.5,0 -205.5,7.5q-22,2.5 -38.25,17.25t-21.25,36.75 q-10,43.5 -10,130q0,88 10,130q 5,21.5 21.25,36.5t 37.75,17.5q 68.5,7.5 206,7.5t 206-7.5q 21.5-2.5 37.75-17.5t 21.25-36.5q 10-42 10-130zM 281.5,259.5l 45-148l-37.5,0 l-25.5,97.5l-26.5-97.5l-39,0 l 12,34.5t 11.5,34.5q 17.5,51.5 23,79l0,100.5 l 37,0 l0-100.5 zM 426,300l0-65 q0-29 -10.5-43.5q-14.5-19 -39-19q-25.5,0 -39,19 q-10.5,14.5 -10.5,43.5l0,65 q0,29 10.5,43.5q 13.5,19 39,19q 24.5,0 39-19q 10.5-13.5 10.5-43.5zM 516.5,360l 33.5,0 l0-185 l-33.5,0 l0,141.5 q-11,15.5 -21,15.5q-7.5,0 -8-8q-0.5-1 -0.5-13l0-136 l-33.5,0 l0,146.5 q0,18.5 3,27.5q 5.5,13.5 21.5,13.5q 18,0 38.5-22.5l0,20 zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"thumbs-down, rate, down, dislike\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,288q0,13 -9.5,22.5t-22.5,9.5q-13.5,0 -22.75-9.5t-9.25-22.5q0-13.5 9.25-22.75t 22.75-9.25q 13,0 22.5,9.25t 9.5,22.75zM 208,544l0-320 q0-13 -9.5-22.5t-22.5-9.5l-144,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13 9.5,22.5t 22.5,9.5l 144,0 q 13,0 22.5-9.5t 9.5-22.5zM 772.5,469.5q 27.5,30.5 27.5,74.5q-0.5,39 -28.75,67.5 t-67.25,28.5l-138.5,0 q 2,7 4,12t 5.5,11t 5,9q 9,18.5 13.5,28.5t 9.5,29.25t 5,38.25q0,12 -0.25,19.5t-2.5,22.5t-6,25t-12,22.5t-20,20.25t-30,13t-41.25,5.25q-13,0 -22.5-9.5q-10-10 -17-25t-9.75-26t-6.25-30.5q-4.5-21 -6.75-30.25t-8.75-24.25t-15.5-24q-16.5-16.5 -50.5-60q-24.5-32 -50.5-60.5 t-38-29.5q-12.5-1 -21.5-10.25t-9-21.75l0-320.5 q0-13 9.5-22.25t 22.5-9.75q 17.5-0.5 79-22q 38.5-13 60.25-19.75t 60.75-14.5t 72-7.75l 8.5,0 l 38,0 l 18,0 q 66.5,1 98.5,39q 29,34.5 24.5,90.5q 19.5,18.5 27,47q 8.5,30.5 0,58.5q 23,30.5 21.5,68.5q0,16 -7.5,38z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"thumbs-up, up, rate, like\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,672q0-13 -9.5-22.5t-22.5-9.5q-13.5,0 -22.75,9.5t-9.25,22.5q0,13.5 9.25,22.75t 22.75,9.25q 13,0 22.5-9.25t 9.5-22.75zM 208,416l0,320 q0,13 -9.5,22.5t-22.5,9.5l-144,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 144,0 q 13,0 22.5,9.5t 9.5,22.5zM 800,416q0,43 -27.5,74.5q 7.5,22 7.5,38 q 1.5,38 -21.5,68.5q 8.5,28 0,58.5q-7.5,28.5 -27,47q 4.5,56 -24.5,90.5q-32,38 -98.5,39l-18,0 l-38,0 l-8.5,0 q-33,0 -72-7.75t-60.75-14.5t-60.25-19.75q-61.5-21.5 -79-22q-13-0.5 -22.5-9.75t-9.5-22.25l0-320.5 q0-12.5 9-21.75t 21.5-10.25q 12-1 38-29.5t 50.5-60.5q 34-43.5 50.5-60q 9-9 15.5-24t 8.75-24.25 t 6.75-30.25q 3.5-19.5 6.25-30.5t 9.75-26t 17-25q 9.5-9.5 22.5-9.5q 23,0 41.25,5.25t 30,13t 20,20.25t 12,22.5t 6,25t 2.5,22.5t 0.25,19.5q0,19 -4.75,38t-9.5,30t-13.75,28q-1.5,3 -5,9t-5.5,11t-4,12l 138.5,0 q 39,0 67.5,28.5t 28.5,67.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"sort-by-order-alt\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 673,144.5q0-31.5 -22-58t-51.5-26.5q-26,0 -41.5,18.5t-15.5,47t 18.25,47.5t 52.25,19q 25,0 42.5-13.5t 17.5-34zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5 t 4.5,11.5zM 728,839l0,57 l-234.5,0 l0-57 l 83.5,0 l0-216 q0-3.5 0.25-9.5t 0.25-8.5l0-8 l-1,0 l-3.5,6q-4,6.5 -13,15.5l-31,29l-41-43l 96-92.5l 61.5,0 l0,327 l 82.5,0 zM 743,173.5q0,31 -6.5,60.75t-20.5,57t-34,47.75t-49.25,32.75t-63.75,12.25q-31,0 -54-8q-12-4 -21-7.5l 19.5-56.5q 7.5,3.5 15.5,5.5q 18.5,6.5 37.5,6.5 q 42,0 67.25-29.25t 33.25-72.75l-1,0 q-10.5,11.5 -30.75,18.5t-42.25,7q-53,0 -86.5-35.75t-33.5-86.25q0-52.5 36-89t 90.5-36.5q 61.5,0 102.5,47.25t 41,126.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"sort-by-order\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 673,656.5q0-31.5 -22-58t-51.5-26.5q-26,0 -41.5,18.5t-15.5,47t 18.25,47.5t 52.25,19q 25,0 42.5-13.5t 17.5-34zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5 zM 743,685.5q0,31 -6.5,60.75t-20.5,57t-34,47.75t-49.25,32.75t-63.75,12.25q-31,0 -54-8q-12-4 -21-7.5l 19.5-56.5q 7.5,3.5 15.5,5.5q 18.5,6.5 37.5,6.5q 42,0 67.25-29.25t 33.25-72.75l-1,0 q-10.5,11.5 -30.75,18.5t-42.25,7q-53,0 -86.5-35.75t-33.5-86.25q0-52.5 36-89t 90.5-36.5q 61.5,0 102.5,47.25 t 41,126.25zM 728,327l0,57 l-234.5,0 l0-57 l 83.5,0 l0-216 q0-3.5 0.25-9.5t 0.25-8.5l0-8 l-1,0 l-3.5,6q-4,6.5 -13,15.5l-31,29l-41-43l 96-92.5l 61.5,0 l0,327 l 82.5,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sort-by-attributes-alt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 608,784l0,96 q0,7 -4.5,11.5t-11.5,4.5l-128,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 128,0 q 7,0 11.5,4.5t 4.5,11.5zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 704,528l0,96 q0,7 -4.5,11.5t-11.5,4.5l-224,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 224,0 q 7,0 11.5,4.5t 4.5,11.5zM 800,272l0,96 q0,7 -4.5,11.5t-11.5,4.5l-320,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 320,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,16l0,96 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sort-by-attributes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,784l0,96 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5zM 800,528l0,96 q0,7 -4.5,11.5t-11.5,4.5l-320,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 320,0 q 7,0 11.5,4.5t 4.5,11.5zM 704,272l0,96 q0,7 -4.5,11.5t-11.5,4.5l-224,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 224,0 q 7,0 11.5,4.5t 4.5,11.5zM 608,16l0,96 q0,7 -4.5,11.5t-11.5,4.5l-128,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 128,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"sort-by-alphabet-alt, alphabet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 595.5,716l 88.5,0 l-36-109l-6-23.5q-1-8 -1-10l-2,0 l-1.5,10q0,0.5 -1.75,9t-3.75,14.5zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 830.5,843 l0,53 l-144,0 l0-53 l 37.5,0 l-23.5-72l-121.5,0 l-23.5,72l 37.5,0 l0,53 l-143.5,0 l0-53 l 35,0 l 115-331l 81,0 l 115,331l 35,0 zM 786,267.5l0,116.5 l-292,0 l0-45 l 184.5-264.5q 6-9 10.5-13.5l 5.5-4.5l0-1.5 q-1,0 -3.25,0.25t-3.75,0.25q-6,1.5 -15,1.5l-116,0 l0,57.5 l-60,0 l0-114.5 l 283.5,0 l0,44.5 l-184.5,265q-3,4 -10.5,13l-5.5,5l0,1.5 l 7-1.5q 4.5-0.5 15-0.5l 124,0 l0-59.5 l 60.5,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"sort-by-alphabet, alphabet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 595.5,204l 88.5,0 l-36-109l-6-23.5q-1-8 -1-10l-2,0 l-1.5,10q0,0.5 -1.75,9t-3.75,14.5zM 368,720q0,6 -5,12l-159.5,159.5q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-688 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,688 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 786,779.5 l0,116.5 l-292,0 l0-45 l 184.5-264.5q 6-9 10.5-13.5l 5.5-4.5l0-1.5 q-1,0 -3.25,0.25t-3.75,0.25q-6,1.5 -15,1.5l-116,0 l0,57.5 l-60,0 l0-114.5 l 283.5,0 l0,44.5 l-184.5,265q-3,4 -10.5,13l-5.5,5.5l0,1 l 7-1q 4.5-1 15-1l 124,0 l0-59.5 l 60.5,0 zM 830.5,331l0,53 l-144,0 l0-53 l 37.5,0 l-23.5-72l-121.5,0 l-23.5,72l 37.5,0 l0,53 l-143.5,0 l0-53 l 35,0 l 115-331l 81,0 l 115,331l 35,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file-text\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 512,688l0-32 q0-7 -4.5-11.5t-11.5-4.5l-352,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 q0,7 4.5,11.5t 11.5,4.5l 352,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,560l0-32 q0-7 -4.5-11.5t-11.5-4.5l-352,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 q0,7 4.5,11.5t 11.5,4.5l 352,0 q 7,0 11.5-4.5t 4.5-11.5zM 640,384l0,400 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14 t-14-34l0-672 q0-20 14-34t 34-14l 272,0 l0,272 q0,20 14,34t 34,14l 272,0 zM 638.5,320l-254.5,0 l0-254.5 q 41,7.5 66,32.5l 156,156q 25,25 32.5,66z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file, new, paper, document\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 640,384l0,400 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 272,0 l0,272 q0,20 14,34t 34,14l 272,0 zM 638.5,320l-254.5,0 l0-254.5 q 41,7.5 66,32.5l 156,156q 25,25 32.5,66z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"bitcoin, btc, currency, money\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 583.5,320q 9,91 -65.5,129q 58.5,14 87.5,51.5t 22.5,107q-3.5,35.5 -16.25,62.5t-32.25,44.5t-48.5,29.25t-60.75,17.25t-72.75,7.5l0,127.5 l-77,0 l0-125.5 q-40,0 -61-0.5l0,126 l-77,0 l0-127.5 q-9,0 -27-0.25t-27.5-0.25l-100,0 l 15.5-91.5l 55.5,0 q 25,0 29-25.5l0-201 l 8,0 q-3-0.5 -8-0.5l0-143.5 q-6.5-34 -44.5-34l-55.5,0 l0-82 l 106,0.5q 32,0 48.5-0.5l0-126 l 77,0 l0,123.5 q 41-1 61-1l0-122.5 l 77,0 l0,126 q 39.5,3.5 70,11.25t 56.5,22.5t 41.25,39t 18.25,57.25zM 476,592.5q0-18 -7.5-32t-18.5-23t-28.75-15.25t-32.75-9.25t-37-4.5t-34.5-1.5t-32.25,0.5t-23.75,0.5l0,169 q 4,0 18.5,0.25t 24,0.25t 26.5-0.75t 29.25-2t 28.5-4.25t 27.75-7t 23.75-10.5t 19.75-15 t 12.25-20t 4.75-25.5zM 440.5,354.5q0-16.5 -6.25-29.25t-15.25-21t-24-14t-27.5-8.25t-30.75-4t-29-1.25t-27,0.5t-19.75,0.25l0,153.5 q 2.5,0 17.25,0.25t 23.25,0t 25-1t 27.5-2.75t 25.75-5.5t 24.25-9.25t 18.5-13.5t 13.5-19.25t 4.5-25.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"won, krw, currency, money\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 257,597.5l 40.5-149.5l-79.5,0 l 37.5,150q 0.5,0.5 0.5,1.5t 0.5,1.5q0-0.5 0.25-1.75t 0.25-1.75zM 315,384l 17.5-64l-146,0 l 16,64l 112.5,0 zM 411,384l 69.5,0 l-17.5-64l-35,0 zM 635.5,598l 39-150l-81,0 l 40.5,149.5q0,0.5 0.25,1.75t 0.75,1.75q0-0.5 0.25-1.5t 0.25-1.5zM 691,384l 16.5-64l-148.5,0 l 17,64l 115,0 zM 896,400l0,32 q0,7 -4.5,11.5 t-11.5,4.5l-106.5,0 l-82,308q-3.5,12 -15.5,12l-79.5,0 q-12,0 -15.5-12l-83-308l-104.5,0 l-83.5,308q-3.5,12 -15.5,12l-79.5,0 q-5.5,0 -9.75-3.5t-5.25-8.5l-80-308l-104,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 87.5,0 l-16.5-64l-71,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 54.5,0 l-44.5-172q-2.5-7.5 2.5-14 q 5-6 13-6l 68.5,0 q 13,0 15.5,12l 45,180l 179.5,0 l 48.5-180q 3.5-12 15.5-12l 63,0 q 12,0 15.5,12l 49,180l 182.5,0 l 46.5-180q 2.5-12 15.5-12l 68.5,0 q 8,0 13,6q 5,6.5 2.5,14l-45.5,172l 55.5,0 q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-72.5,0 l-17,64l 89.5,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"renminbi, cny, currency, money\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,592l0,16 q0,66 -47,113t-113,47l-64,0 q-66,0 -113-47t-47-113l0-240 l-112,0 q-1,51 -7.25,95.25t-15.25,78t-24.25,63.25t-28.5,49.75t-33.75,38.75t-34.75,29.25t-37,22t-34.5,16t-32.75,12.75q-2,1 -16,6.5q-4,1 -6,1q-11,0 -15-10l-35.5-89q-2.5-6.5 0-12.5t 8.5-8.5 q 3.5-1.5 10-3.75t 9-3.25q 15.5-6 23.25-9.25t 22.25-10t 22.75-13t 21-16.25t 20.25-21.25t 17.25-26.75t 15.25-34.25t 11.25-41.75t 8.5-51.5t 3.25-61.5l-128,0 q-7,0 -11.5-4.5t-4.5-11.5l0-80 q0-7 4.5-11.5t 11.5-4.5l 608,0 q 7,0 11.5,4.5t 4.5,11.5l0,80 q0,7 -4.5,11.5t-11.5,4.5l-112,0 l0,256 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5 l0-32 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 640,80l0,80 q0,7 -4.5,11.5t-11.5,4.5l-480,0 q-7,0 -11.5-4.5t-4.5-11.5l0-80 q0-7 4.5-11.5t 11.5-4.5l 480,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"513\" height=\"896\" viewBox=\"0 0 513 896\" data-du=\"\" data-tags=\"yen, jpy, currency, money\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 301.25,768l-86,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-165 l-144,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-51.5 q0-6.5 4.75-11.25t 11.25-4.75l 144,0 l0-42.5 l-144,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-52 q0-6.5 4.75-11.25t 11.25-4.75l 107,0 l-160.5-289q-4-8 0-16q 5-8 14-8l 97,0 q 9.5,0 14.5,9l 107.5,212.5q 9.5,19 28,62.5q 5-12 15.25-34t 13.75-30.5 l 95.5-210q 4-9.5 14.5-9.5l 95.5,0 q 8.5,0 13.5,8q 4.5,7 0.5,15.5l-156.5,289.5l 107.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,52 q0,7 -4.75,11.5t-11.25,4.5l-145,0 l0,42.5 l 145,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,51.5 q0,7 -4.75,11.5t-11.25,4.5l-145,0 l0,165 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"449\" height=\"896\" viewBox=\"0 0 449 896\" data-du=\"\" data-tags=\"rupee, inr, currency, money\" style=\"margin-left: 12px; margin-top: 8px;\"><path d=\"M 449,235l0,51 q0,7 -4.5,11.5t-11.5,4.5l-84,0 q-11.5,72 -64.5,117t-138,55q 83.5,89 229.5,268q 7,8 2,17q-4,9 -14.5,9l-97.5,0 q-8,0 -12.5-6q-153-183.5 -249-285.5q-4.5-4.5 -4.5-11l0-63.5 q0-6.5 4.75-11.25t 11.25-4.75l 56,0 q 66,0 106.25-21.5t 51.25-62.5l-213.5,0 q-7,0 -11.5-4.5t-4.5-11.5l0-51 q0-7 4.5-11.5t 11.5-4.5l 206.5,0 q-28.5-56.5 -134-56.5l-72.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-66.5 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5l0,51 q0,7 -4.5,11.5t-11.5,4.5l-116.5,0 q 23.5,30.5 32,72l 85.5,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"dollar, usd, currency, dollar\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 489,592.5q0,76.5 -49.75,131.75t-129.25,68.25l0,87.5 q0,7 -4.5,11.5t-11.5,4.5l-67.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-87.5 q-33-4.5 -63.75-15.5t-50.75-22.25t-37-24t-23.25-18.75t-8.75-9q-8.5-10.5 -1-20.5l 51.5-67.5q 3.5-5 11.5-6q 7.5-1 12,4.5l 1,1q 56.5,49.5 121.5,62.5q 18.5,4 37,4q 40.5,0 71.25-21.5 t 30.75-61q0-14 -7.5-26.5t-16.75-21t-29.25-18.75t-33-16t-40-16.25q-19.5-8 -30.75-12.5t-30.75-13.25t-31.25-15.5t-28.25-17.75t-26.75-21.25t-21.75-24.5t-17.75-29t-10.5-33.25t-4.25-39q0-69 49-121t 127.5-67l0-90 q0-6.5 4.75-11.25t 11.25-4.75l 67.5,0 q 7,0 11.5,4.5t 4.5,11.5l0,88 q 28.5,3 55.25,11.5t 43.5,16.75 t 31.75,18.75t 19.5,14.5t 7.5,7q 8.5,9 2.5,19l-40.5,73q-4,7.5 -11.5,8q-7,1.5 -13.5-3.5q-1.5-1.5 -7.25-6t-19.5-13.25t-29.25-16t-37.25-13t-42.75-5.75q-47.5,0 -77.5,21.5t-30,55.5q0,13 4.25,24t 14.75,20.75t 19.75,16.5t 28,15.5t 30.25,13.5t 35,13.75q 26.5,10 40.5,15.75t 38,17.5t 37.75,21.25t 31,25 t 26.5,31.75t 15.75,38.25t 6.5,47z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"gbp, currency, money\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 510,568.5l0,183.5 q0,7 -4.5,11.5t-11.5,4.5l-478,0 q-7,0 -11.5-4.5t-4.5-11.5l0-75 q0-6.5 4.75-11.25t 11.25-4.75l 48.5,0 l0-191.5 l-47.5,0 q-7,0 -11.5-4.75t-4.5-11.25l0-65.5 q0-7 4.5-11.5t 11.5-4.5l 47.5,0 l0-111.5 q0-85.5 61.75-141t 157.25-55.5q 92.5,0 167.5,62.5q 4.5,4 5,10.25t-3.5,11.25l-51.5,63.5q-4.5,5.5 -11,6q-6.5,1 -11.5-3.5 q-2.5-2.5 -13-9.5t-34.5-16t-46.5-9q-42.5,0 -68.5,23.5t-26,61.5l0,107.5 l 152.5,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,65.5 q0,6.5 -4.75,11.25t-11.25,4.75l-152.5,0 l0,189.5 l 207,0 l0-90.5 q0-6.5 4.5-11.25t 11.5-4.75l 81,0 q 7,0 11.5,4.75t 4.5,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"euro, currency, money\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 488,653.5l 17.5,79.5q 1.5,6 -1.5,11.25t-8.5,7.25l-2.5,0.5q-2,1 -5.25,1.75t-8,2.25t-10.75,2.75t-12.75,2.5t-15,2.5t-16.75,2.25t-18.25,1.5t-19.25,0.5q-117,0 -204.5-65.25t-119-175.75l-47.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-56.5 q0-6.5 4.75-11.25t 11.25-4.75l 33,0 q-1-28.5 0.5-52.5l-33.5,0 q-7,0 -11.5-4.5 t-4.5-11.5l0-57 q0-7 4.5-11.5t 11.5-4.5l 49,0 q 33.5-105 121.75-169t 200.25-64q 51,0 97,11.5q 5.5,1.5 10,7.5q 3,5.5 1.5,12l-21.5,79.5q-1.5,6.5 -7,9.75t-12,1.25l-2-0.5q-2-0.5 -5.75-1.25l-8.75-1.75t-11.25-1.75t-13-1.5t-14.5-1.25t-14.75-0.5q-63,0 -113,32t-75,88l 234,0 q 8,0 12.5,6q 5,6 3.5,13 l-12,57q-2.5,13 -16,13l-244,0 q-1.5,18.5 0,52.5l 229.5,0 q 7.5,0 12.5,6q 4.5,6 3,13.5l-12,56q-1,5.5 -5.5,9.25t-10,3.75l-193.5,0 q 24,58.5 74.75,92.75t 114.25,34.25q 9,0 18-0.75t 16.75-1.75t 14.75-2.25t 12.25-2.5t 9.25-2.25l 6-1.5l 2.5-1q 6.5-2.5 13,1q 6,3.5 7.5,10.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"expand, right, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 544,448q0,16.5 -13.5,26l-224,160q-15.5,11.5 -33,2.5q-17.5-8.5 -17.5-28.5l0-320 q0-20 17.5-28.5q 17.5-9 33,2.5l 224,160q 13.5,9.5 13.5,26zM 640,688l0-480 q0-7 -4.5-11.5t-11.5-4.5l-480,0 q-7,0 -11.5,4.5t-4.5,11.5l0,480 q0,7 4.5,11.5t 11.5,4.5l 480,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,208l0,480 q0,59.5 -42.25,101.75 t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"collapse-top, up, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 572.5,558.5q-8.5,17.5 -28.5,17.5l-320,0 q-20,0 -28.5-17.5q-9-17.5 2.5-33l 160-224q 9.5-13.5 26-13.5t 26,13.5l 160,224q 11.5,15.5 2.5,33zM 640,688l0-480 q0-6.5 -4.75-11.25t-11.25-4.75l-480,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,480 q0,6.5 4.75,11.25t 11.25,4.75l 480,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"collapse, arrow, down\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 572.5,337.5q 9,17.5 -2.5,33l-160,224q-9.5,13.5 -26,13.5t-26-13.5l-160-224q-11.5-15.5 -2.5-33q 8.5-17.5 28.5-17.5l 320,0 q 20,0 28.5,17.5zM 640,688l0-480 q0-6.5 -4.75-11.25t-11.25-4.75l-480,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,480 q0,6.5 4.75,11.25t 11.25,4.75l 480,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"compass, location, direction, guide\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,544l 128-64l-128-64l0,128 zM 512,248.5l0,271 l-256,128l0-271 zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5 t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"share-sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 502.5,550.5l 176-176q 9.5-9.5 9.5-22.5t-9.5-22.5l-176-176q-15-15.5 -34.5-7q-20,8.5 -20,29.5l0,80 q-59.5,0 -108,9.75t-81.25,25.5t-57,39.5t-38.25,47.75t-22.25,54.5t-10.75,55.75t-2.5,55.25q0,90.5 83.5,202q 5,6 12.5,6q 3.5,0 6.5-1.5q 11-4.5 9.5-16.5q-22-177 31-236.5q 23-26 65-37.75 t 112-11.75l0,80 q0,21 20,29.5q 6,2.5 12,2.5q 13,0 22.5-9.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"external-link-sign, outside, popup\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,464l0-240 q0-13 -9.5-22.5t-22.5-9.5l-240,0 q-21,0 -29.5,19.5q-8.5,20.5 7,35l 72,72l-267,267q-9.5,9.5 -9.5,22.5t 9.5,22.5l 51,51q 9.5,9.5 22.5,9.5t 22.5-9.5l 267-267l 72,72q 9,9.5 22.5,9.5q 6,0 12.5-2.5q 19.5-8.5 19.5-29.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"edit-sign, pencil\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 202,554l 76,76l-26,26l-28,0 l0-48 l-48,0 l0-28 zM 409,359q 7,6.5 -1.5,15l-145.5,145.5q-8.5,8.5 -15,1.5q-7-6.5 1.5-15l 145.5-145.5q 8.5-8.5 15-1.5zM 272,704l 272-272l-144-144l-272,272l0,144 l 144,0 zM 576,400l 46-46q 14-14 14-34t-14-34l-76-76q-14-14 -34-14t-34,14l-46,46zM 768,208 l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"check-sign, check, tick\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 342.5,649.5l 307-307q 9.5-9.5 9.5-22.5t-9.5-22.5l-51-51q-9.5-9.5 -22.5-9.5t-22.5,9.5l-233.5,233.5l-105.5-105.5q-9.5-9.5 -22.5-9.5t-22.5,9.5l-51,51q-9.5,9.5 -9.5,22.5t 9.5,22.5l 179,179q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25 t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"level-down, down\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 16,128l 352,0 q 6.5,0 11.25,4.75t 4.75,11.75l0,431.5 l 96,0 q 20,0 29,18.5t-4.5,34.5l-160,192q-9,11 -24.5,11t-24.5-11l-160-192q-13-15.5 -4.5-34.5q 9-18.5 29-18.5l 96,0 l0-320 l-160,0 q-7,0 -12.5-5.5l-80-96q-6.5-7 -2-17q 4.5-9.5 14.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"level-up, up\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 509,301.5q-9,18.5 -29,18.5l-96,0 l0,432 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-10.5,0 -14.5-9q-4-10 2-17.5l 80-96q 4.5-5.5 12.5-5.5l 160,0 l0-320 l-96,0 q-20,0 -29-18.5q-8.5-18.5 4.5-34l 160-192q 9-11 24.5-11t 24.5,11l 160,192q 13.5,16 4.5,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"check-minus, subtract, remove, delete\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 576,400l0,32 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 416,0 q 7,0 11.5,4.5t 4.5,11.5zM 640,624l0-416 q0-33 -23.5-56.5t-56.5-23.5l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5zM 704,208l0,416 q0,59.5 -42.25,101.75 t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"minus-sign-alt, subtract, remove, delete\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-448,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 448,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25 t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"ticket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,226l 158,158l-286,286l-158-158zM 406.5,715.5l 309-309q 9.5-9.5 9.5-22.5t-9.5-22.5l-181-181q-9-9 -22.5-9t-22.5,9l-309,309q-9.5,9.5 -9.5,22.5t 9.5,22.5l 181,181q 9,9 22.5,9t 22.5-9zM 851,397l-453.5,454q-18.5,18.5 -45.25,18.5t-45.25-18.5l-63-63q 28-28 28-68t-28-68 t-68-28t-68,28l-62.5-63q-18.5-18.5 -18.5-45.25t 18.5-45.25l 453.5-453q 18.5-18.5 45.25-18.5t 45.25,18.5l 62.5,62.5q-28,28 -28,68t 28,68t 68,28t 68-28l 63,62.5q 18.5,18.5 18.5,45.25t-18.5,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"play-sign, media control, video, movie, film\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,64q 104.5,0 192.75,51.5t 139.75,139.75t 51.5,192.75t-51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5zM 576,475.5q 16-9 16-27.5t-16-27.5l-272-160q-15.5-9.5 -32-0.5q-16,9.5 -16,28l0,320 q0,18.5 16,28 q 8,4 16,4q 8.5,0 16-4.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"rss-sign, atom, feed\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 256,640q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 431.5,687q-6.5-116 -88.5-198t-198-88.5q-7-0.5 -12,4.5t-5,11.5l0,64 q0,6.5 4.25,11t 10.75,5q 77,5.5 132,60.5t 60.5,132q 0.5,6.5 5,10.75t 11,4.25l 64,0 q 6.5,0 11.5-5 t 4.5-12zM 623.5,687.5q-2.5-77 -28-148.75t-69.75-130t-102.5-102.5t-130-69.75t-148.75-28q-7-0.5 -11.5,4.5q-5,5 -5,11.5l0,64 q0,6.5 4.5,11t 11,5q 102,3.5 189,55.75t 139.25,139.25t 55.75,189q 0.5,6.5 5,11t 11,4.5l 64,0 q 6.5,0 11.5-5q 5.5-4.5 4.5-11.5zM 768,208l0,480 q0,59.5 -42.25,101.75 t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"192\" height=\"896\" viewBox=\"0 0 192 896\" data-du=\"\" data-tags=\"ellipsis-vertical, dots\" style=\"margin-left: 14px; margin-top: 8px;\"><path d=\"M 192,624l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 192,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 192,112l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"ellipsis-horizontal, dots, more\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 448,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34zM 704,368l0,96 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"bullseye, target, goal\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,448q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5zM 576,448q0-79.5 -56.25-135.75t-135.75-56.25t-135.75,56.25t-56.25,135.75t 56.25,135.75t 135.75,56.25t 135.75-56.25t 56.25-135.75zM 640,448q0,106 -75,181t-181,75t-181-75 t-75-181t 75-181t 181-75t 181,75t 75,181zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102t-25.5,124.25t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"unlock-alt, lock, login\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 528,384q 20,0 34,14t 14,34l0,288 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-288 q0-20 14-34t 34-14l 16,0 l0-160 q0-92.5 65.75-158.25t 158.25-65.75t 158.25,65.75t 65.75,158.25q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.5q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5 l0,160 l 368,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"anchor, link\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 896,592l0,176 q0,11 -10,15q-4,1 -6,1q-6.5,0 -11.5-4.5l-46.5-46.5q-59.5,71.5 -159.25,113.25t-214.75,41.75t-214.75-41.75t-159.25-113.25l-46.5,46.5q-4.5,4.5 -11.5,4.5q-2,0 -6-1q-10-4 -10-15l0-176 q0-7 4.5-11.5t 11.5-4.5l 176,0 q 11,0 15,10q 4,9.5 -3.5,17.5l-50,50q 33.5,45.5 94.75,76.75t 135.75,41.25l0-323.5 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0-81.5 q-29-17 -46.5-46.25t-17.5-64.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,35 -17.5,64.25t-46.5,46.25l0,81.5 l 96,0 q 13,0 22.5,9.5 t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-96,0 l0,323.5 q 74.5-10 135.75-41.25t 94.75-76.75l-50-50q-7.5-8 -3.5-17.5q 4-10 15-10l 176,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"css3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 137.5,64l 752.5,0 l-133,666.5l-402,133.5l-349-133.5l 35.5-178l 148.5,0 l-14.5,73.5l 211,80.5l 243-80.5l 34-169.5l-604,0 l 29-148.5l 604.5,0 l 19-95.5l-604,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"html5\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 565,298.5l 8-87.5l-442,0 l 23.5,267l 306,0 l-11,114l-98.5,26.5l-98-26.5l-6.5-70l-87.5,0 l 11,139l 181,50l 2,0 l0-0.5 l 179.5-49.5l 25-272l-322,0 l-7.5-90.5l 337,0 zM0,64l 704,0 l-64,719l-289,81l-287-81z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-down, arrow, down\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 406.5,649.5l 227-227q 9.5-9.5 9.5-22.5t-9.5-22.5l-51-51q-9.5-9.5 -22.5-9.5t-22.5,9.5l-153.5,153.5l-153.5-153.5q-9.5-9.5 -22.5-9.5t-22.5,9.5l-51,51q-9.5,9.5 -9.5,22.5t 9.5,22.5l 227,227q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-up, arrow, up\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 582.5,569.5l 51-51q 9.5-9.5 9.5-22.5t-9.5-22.5l-227-227q-9.5-9.5 -22.5-9.5t-22.5,9.5l-227,227q-9.5,9.5 -9.5,22.5t 9.5,22.5l 51,51q 9.5,9.5 22.5,9.5t 22.5-9.5l 153.5-153.5l 153.5,153.5q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-right, right, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 358.5,697.5l 227-227q 9.5-9.5 9.5-22.5t-9.5-22.5l-227-227q-9.5-9.5 -22.5-9.5t-22.5,9.5l-51,51q-9.5,9.5 -9.5,22.5t 9.5,22.5l 153.5,153.5l-153.5,153.5q-9.5,9.5 -9.5,22.5t 9.5,22.5l 51,51q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"chevron-sign-left, left, arrow\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 454.5,697.5l 51-51q 9.5-9.5 9.5-22.5t-9.5-22.5l-153.5-153.5l 153.5-153.5q 9.5-9.5 9.5-22.5t-9.5-22.5l-51-51q-9.5-9.5 -22.5-9.5t-22.5,9.5l-227,227q-9.5,9.5 -9.5,22.5t 9.5,22.5l 227,227q 9.5,9.5 22.5,9.5t 22.5-9.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"maxcdn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 854,327.5l-94,440.5l-152,0 l 90.5-424.5q 2-10.5 0.5-21.5q-2-10 -8-17.5q-5-7 -14-12q-9-4.5 -20-4.5l-98.5,0 l-102.5,480l-151.5,0 l 102-480l-152,0 l-102.5,480l-152,0 l 136-640l 569.5,0 q 78.5,0 122.5,59q 43,58 26,140.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"rocket, speed, jet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 720,224q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 832,80q0,124.5 -37.75,215.25t-126.75,180.25q-40.5,40 -97.5,88l-10,189.5q-1,8 -8,13l-192,112q-3.5,2 -8,2q-6,0 -11.5-4.5l-32-32q-6.5-7 -4-16l 42.5-138l-140.5-140.5l-138,42.5q-1.5,0.5 -4.5,0.5 q-7,0 -11.5-4.5l-32-32q-8.5-9.5 -2.5-19.5l 112-192q 5-7 13-8l 189.5-10q 48-57 88-97.5q 94-93.5 179-129t 215.5-35.5q 7,0 12,4.75t 5,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"fire-extinguisher\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 256,96q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,80l0,160 q0,8 -6,12.5q-4,3.5 -10,3.5q-2,0 -3.5-0.5l-224-48q-5.5-1 -9-5.5t-3.5-10l-128,0 l0,51 q 55.5,11.5 91.75,55.5t 36.25,101.5l0,400 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-400 q0-53 31.25-95.25t 80.75-57.25l0-55.5 l-16,0 q-29.5,0 -57.5,11.75t-45.75,26.5t-33,33.25t-20.25,26.75t-7,12.25q-8.5,17.5 -28.5,17.5q-8,0 -14.5-3.5q-11.5-6 -15.75-18.5t 1.75-24.5q 2.5-5 7.25-13t 18.75-26.75t 30.25-35t 42.5-33.5t 54.25-26.25q-12.5-21 -12.5-43q0-33 23.5-56.5t 56.5-23.5t 56.5,23.5t 23.5,56.5 q0,16.5 -7,32l 151,0 q0-5.5 3.5-10t 9-5.5l 224-48q 1.5-0.5 3.5-0.5q 6,0 10,3.5q 6,4.5 6,12.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"calendar-empty, schedule, date\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 64,832l 704,0 l0-512 l-704,0 l0,512 zM 256,224l0-144 q0-7 -4.5-11.5t-11.5-4.5l-32,0 q-7,0 -11.5,4.5t-4.5,11.5l0,144 q0,7 4.5,11.5t 11.5,4.5l 32,0 q 7,0 11.5-4.5t 4.5-11.5zM 640,224l0-144 q0-7 -4.5-11.5t-11.5-4.5l-32,0 q-7,0 -11.5,4.5t-4.5,11.5l0,144 q0,7 4.5,11.5t 11.5,4.5l 32,0 q 7,0 11.5-4.5t 4.5-11.5zM 832,192l0,640 q0,26 -19,45t-45,19l-704,0 q-26,0 -45-19t-19-45l0-640 q0-26 19-45t 45-19l 64,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 192,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 64,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"shield, defense, security, guard\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 544,480l0-320 l-224,0 l0,568.5 q 59.5-31.5 106.5-68.5q 117.5-92 117.5-180zM 640,96l0,384 q0,43 -16.75,85.25t-41.5,75t-59,63.75t-63.25,51.5t-60.5,38.75t-44.75,24.75t-21.25,10q-6,3 -13,3t-13-3q-8-3.5 -21.25-10t-44.75-24.75t-60.5-38.75t-63.25-51.5t-59-63.75t-41.5-75 t-16.75-85.25l0-384 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"microphone-off, voice, record\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 135.5,472.5l-50.5,50.5q-21-51.5 -21-107l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 q0,26.5 7.5,56.5zM 692.5,171.5l-180.5,180.5l0,64 q0,66 -47,113t-113,47q-27.5,0 -54.5-9.5l-48,48q 48.5,25.5 102.5,25.5q 92.5,0 158.25-65.75t 65.75-158.25l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 q0,110.5 -73.75,192.25t-182.25,93.75l0,66 l 128,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 128,0 l0-66 q-62.5-6.5 -117.5-40.5l-127,127q-5,5 -11.5,5t-11.5-5l-41-41q-5-5 -5-11.5t 5-11.5l 617-617q 5-5 11.5-5t 11.5,5l 41,41q 5,5 5,11.5 t-5,11.5zM 502.5,105.5l-310.5,310.5l0-256 q0-66 47-113t 113-47q 51,0 92.25,29.5t 58.25,76z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"microphone, record, voice\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 576,352l0,64 q0,110.5 -73.75,192.25t-182.25,93.75l0,66 l 128,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 128,0 l0-66 q-108.5-12 -182.25-93.75t-73.75-192.25l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 q0,92.5 65.75,158.25t 158.25,65.75 t 158.25-65.75t 65.75-158.25l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5zM 448,160l0,256 q0,66 -47,113t-113,47t-113-47t-47-113l0-256 q0-66 47-113t 113-47t 113,47t 47,113z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"puzzle, piece, plugin, extension\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,549q0,40.5 -22.25,67.5t-61.75,27q-20.5,0 -38.75-8.75t-29.5-19t-28.25-19t-35.5-8.75q-55,0 -55,62q0,19.5 8,57.5t 7.5,57.5l0,2.5 q-11,0 -16.5,0.5q-17,1.5 -48.75,5.75t-57.75,6.75t-49,2.5q-30.5,0 -51.5-13.25t-21-41.75q0-18.5 8.75-35.5t 19-28.25t 19-29.5t 8.75-38.75q0-39.5 -27-61.75 t-67.5-22.25q-42,0 -71.5,22.75t-29.5,63.75q0,21.5 7.5,41.5t 16.75,32.25t 16.75,26.5t 7.5,25.25q0,22.5 -23,44.5q-18.5,17.5 -58.5,17.5q-47.5,0 -122.5-12q-4.5-1 -13.75-2t-13.75-2l-6.5-1q-0.5,0 -1.5-0.5q-1,0 -1-0.5l0-512 q 1,0.5 8.75,1.75t 17,2.5t 10.75,1.75q 75,12 122.5,12q 40,0 58.5-17.5q 23-22 23-44.5 q0-11 -7.5-25.25t-16.75-26.5t-16.75-32.25t-7.5-41.5q0-41 29.5-63.75t 72-22.75q 40,0 67,22.25t 27,61.75q0,20.5 -8.75,38.75t-19,29.5t-19,28.25t-8.75,35.5q0,28.5 21,41.75t 51.5,13.25q 32,0 90-7.5t 81.5-8.5l0,1 q-0.5,1 -1.75,8.75t-2.5,17t-1.75,10.75q-12,75 -12,122.5q0,40 17.5,58.5 q 22,23 44.5,23q 11,0 25.25-7.5t 26.5-16.75t 32.25-16.75t 41.5-7.5q 41,0 63.75,29.5t 22.75,71.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"eraser, clear, rubber\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 448,704l 168-192l-384,0 l-168,192l 384,0 zM 954.5,165.5q 7.5,17 4.75,35.75t-15.25,32.75l-448,512q-19,22 -48,22l-384,0 q-19,0 -34.75-10.25t-23.75-27.25q-7.5-17 -4.75-35.75t 15.25-32.75l 448-512q 19-22 48-22l 384,0 q 19,0 34.75,10.25t 23.75,27.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"subscript\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448.5,684.5l0,83.5 l-124,0 l-79.5-126l-12-21q-4-4.5 -5.5-10.5l-1.5,0 l-4.5,10.5q-5,10 -12.5,22l-77.5,125l-129,0 l0-83.5 l 64,0 l 98.5-145.5l-92.5-136l-68.5,0 l0-84 l 138,0 l 69.5,114q 1,2 11.5,21q 4,4.5 5.5,10.5l 1.5,0 q 1.5-4.5 5.5-10.5l 12.5-21l 70-114l 128.5,0 l0,84 l-62.5,0 l-92,133.5l 102,148l 54.5,0 zM 768,793l0,103 l-257,0 l-2-13.5 q-1.5-22.5 -1.5-23q0-32 13-58.5t 32.5-43.25t 42-32.5t 42-27.25t 32.5-27t 13-32q0-19 -14.75-31.25t-35.25-12.25q-25.5,0 -48.5,19.5q-7,5.5 -18,19l-52.5-46q 13-18.5 31.5-33q 40-32.5 94-32.5q 55,0 89,29.75t 34,79.25q0,33 -17.25,59.25t-42,43t-49.75,31.25t-43.5,31.5t-20.5,36.5l 116,0 l0-40 l 63,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"superscript, power\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448.5,684.5l0,83.5 l-124,0 l-79.5-126l-12-21q-4-4.5 -5.5-10.5l-1.5,0 l-4.5,10.5q-5,10 -12.5,22l-77.5,125l-129,0 l0-83.5 l 64,0 l 98.5-145.5l-92.5-136l-68.5,0 l0-84 l 138,0 l 69.5,114q 1,2 11.5,21q 4,4.5 5.5,10.5l 1.5,0 q 1.5-4.5 5.5-10.5l 12.5-21l 70-114l 128.5,0 l0,84 l-62.5,0 l-92,133.5l 102,148l 54.5,0 zM 767,345l0,103 l-257,0 l-1.5-13.5 q-2-14 -2-23q0-32 13-58.5t 32.5-43.25t 42-32.5t 42-27.25t 32.5-27t 13-32q0-19 -14.75-31.25t-35.25-12.25q-25.5,0 -48.5,19.5q-7,5.5 -18,19l-52.5-46q 13-18.5 31.5-33q 41.5-32.5 94-32.5q 55,0 89,29.75t 34,79.25q0,28 -12.25,51.5t-31,38.25t-40.75,29.25t-41,25.25t-32.75,25.75t-15.25,31.5l 116,0 l0-40 l 63,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"exclamation, warning, notification\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 256,624l0,112 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-112 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5zM 271,96l-14,384q-0.5,13 -10.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.75-9.5t-10.25-22.5l-14-384q-0.5-13 8.75-22.5t 22.25-9.5l 160,0 q 13,0 22.25,9.5t 8.75,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"info\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 320,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 l0-192 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 l 32,0 q 13,0 22.5,9.5t 9.5,22.5zM 256,96l0,96 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"question, ask, help\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 352,628l0,120 q0,8 -6,14t-14,6l-120,0 q-8,0 -14-6t-6-14l0-120 q0-8 6-14t 14-6l 120,0 q 8,0 14,6t 6,14zM 510,328q0,27 -7.75,50.5t-17.5,38.25t-27.5,29.75t-28.75,21.75t-30.5,17.75q-20.5,11.5 -34.25,32.5t-13.75,33.5q0,8.5 -6,16.25t-14,7.75l-120,0 q-7.5,0 -12.75-9.25 t-5.25-18.75l0-22.5 q0-41.5 32.5-78.25t 71.5-54.25q 29.5-13.5 42-28t 12.5-38q0-21 -23.25-37t-53.75-16q-32.5,0 -54,14.5q-17.5,12.5 -53.5,57.5q-6.5,8 -15.5,8q-6,0 -12.5-4l-82-62.5q-6.5-5 -7.75-12.5t 2.75-14q 80-133 232-133q 40,0 80.5,15.5t 73,41.5t 53,63.75t 20.5,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"unlink, link\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 219.5,635.5l-128,128q-5,4.5 -11.5,4.5q-6,0 -11.5-4.5q-4.5-5 -4.5-11.5t 4.5-11.5l 128-128q 5-4.5 11.5-4.5t 11.5,4.5q 4.5,5 4.5,11.5t-4.5,11.5zM 304,656l0,160 q0,7 -4.5,11.5t-11.5,4.5t-11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5t 11.5,4.5t 4.5,11.5zM 192,544q0,7 -4.5,11.5t-11.5,4.5l-160,0 q-7,0 -11.5-4.5t-4.5-11.5t 4.5-11.5t 11.5-4.5l 160,0 q 7,0 11.5,4.5t 4.5,11.5zM 824,608q0,60 -42.5,101.5l-73.5,73q-41.5,41.5 -101.5,41.5q-60.5,0 -102-42.5l-167-167.5q-10.5-10.5 -21-28l 119.5-9l 136.5,137q 13.5,13.5 34,13.75t 34-13.25l 73.5-73q 14-14 14-33.5q0-20 -14-34l-137-137.5l 9-119.5q 17.5,10.5 28,21l 168,168q 42,43 42,102zM 515.5,246l-119.5,9 l-136.5-137q-14-14 -34-14q-19.5,0 -34,13.5l-73.5,73q-14,14 -14,33.5q0,20 14,34l 137,137l-9,120q-17.5-10.5 -28-21l-168-168q-42-43 -42-102q0-60 42.5-101.5l 73.5-73q 41.5-41.5 101.5-41.5q 60.5,0 102,42.5l 167,167.5q 10.5,10.5 21,28zM 832,288q0,7 -4.5,11.5t-11.5,4.5l-160,0 q-7,0 -11.5-4.5 t-4.5-11.5t 4.5-11.5t 11.5-4.5l 160,0 q 7,0 11.5,4.5t 4.5,11.5zM 560,16l0,160 q0,7 -4.5,11.5t-11.5,4.5t-11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5t 11.5,4.5t 4.5,11.5zM 763.5,91.5l-128,128q-5.5,4.5 -11.5,4.5t-11.5-4.5q-4.5-5 -4.5-11.5t 4.5-11.5l 128-128q 5-4.5 11.5-4.5t 11.5,4.5q 4.5,5 4.5,11.5t-4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"code-fork, branch\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 144,736q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 144,160q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 464,224q0-20 -14-34t-34-14t-34,14t-14,34t 14,34t 34,14t 34-14t 14-34zM 512,224q0,26 -13,48.25t-35,34.75 q-1,143.5 -113,207q-34,19 -101.5,40.5q-64,20 -84.75,35.5t-20.75,50l0,13 q 22,12.5 35,34.75t 13,48.25q0,40 -28,68t-68,28t-68-28t-28-68q0-26 13-48.25t 35-34.75l0-410 q-22-12.5 -35-34.75t-13-48.25q0-40 28-68t 68-28t 68,28t 28,68q0,26 -13,48.25t-35,34.75l0,248.5 q 27-13 77-28.5q 27.5-8.5 43.75-14.75t 35.25-15.5t 29.5-19.75t 20.25-25.5t 14-34.75t 4.25-45.75q-22-12.5 -35-34.75t-13-48.25q0-40 28-68t 68-28t 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"crop\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 278.5,640l 297.5,0 l0-297.5 zM 256,617.5l 297.5-297.5l-297.5,0 l0,297.5 zM 832,656l0,96 q0,7 -4.5,11.5t-11.5,4.5l-112,0 l0,112 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-112 l-432,0 q-7,0 -11.5-4.5t-4.5-11.5l0-432 l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 112,0 l0-112 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5 l0,112 l 425.5,0 l 123-123.5q 5-4.5 11.5-4.5t 11.5,4.5q 4.5,5 4.5,11.5t-4.5,11.5l-123.5,123l0,425.5 l 112,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"location-arrow, map, arrow\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 700.5,174.5l-320,640q-8.5,17.5 -28.5,17.5q-2.5,0 -7.5-1q-11-2.5 -17.75-11.25t-6.75-19.75l0-288 l-288,0 q-11,0 -19.75-6.75t-11.25-17.75t 2-21t 14.5-15l 640-320q 6.5-3.5 14.5-3.5q 13.5,0 22.5,9.5q 7.5,7 9.25,17.25t-3.25,19.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"star-half-full, star, rating, rate\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 593,478.5l 128.5-125l-178-26l-33-5l-15-30l-79.5-161l0,481.5 l 29.5,15.5l 159,84l-30-177.5l-6-33zM 819,347.5l-181.5,177l 43,250q 2.5,16.5 -3,25.75t-17,9.25q-8.5,0 -20-6l-224.5-118l-224.5,118q-11.5,6 -20,6q-11.5,0 -17-9.25t-3-25.75l 43-250l-182-177q-16-16 -11.5-29.75t 27-17.25 l 251-36.5l 112.5-227.5q 10-20.5 24.5-20.5q 14,0 24.5,20.5l 112.5,227.5l 251,36.5q 22.5,3.5 27,17.25t-12,29.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"reply-all, mail-reply-all\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,541l0,35 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-256-256q-9.5-9.5 -9.5-22.5t 9.5-22.5l 256-256q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5l0,34.5 l-198.5,199q-9.5,9.5 -9.5,22.5t 9.5,22.5zM 896,560q0,29 -8.5,66.75t-19.25,69t-24,62.5t-20.25,45.25l-10,20q-4,8.5 -14,8.5q-3,0 -4.5-0.5 q-12.5-4 -11.5-17q 21.5-200 -53-282.5q-32-35.5 -85.25-55.25t-133.75-26.25l0,125.5 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-256-256q-9.5-9.5 -9.5-22.5t 9.5-22.5l 256-256q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5l0,131 q 205.5,14 299.5,110.5q 84.5,86.5 84.5,254.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"code, embed\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 308.5,699.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5t-5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5t-5,11.5zM 604,166l-186.5,645.5q-2,6.5 -7.75,9.75t-11.75,1.25l-31-8.5q-6.5-2 -9.75-7.75t-1.25-12.25 l 186.5-645.5q 2-6.5 7.75-9.75t 11.75-1.25l 31,8.5q 6.5,2 9.75,7.75t 1.25,12.25zM 932.5,491.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5t-5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"terminal, console, command line\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 292.5,491.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5t-5,11.5zM 832,720l0,32 q0,7 -4.5,11.5t-11.5,4.5l-480,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 480,0 q 7,0 11.5,4.5 t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"flag-checkered, race\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,500l0-96 q-90.5,8 -192,58.5l0,92.5 q 102.5-48 192-55zM 416,291l0-98.5 q-86,4 -192,63l0,94.5 q 107.5-55.5 192-59zM 832,522.5l0-92 q-117.5,58 -192,35.5l0-112 q-10-3 -19.5-7.5q-2.5-1.5 -16.5-8.5t-17.25-8.5t-15.75-7.5t-17.25-7.75t-16.25-6.5t-18-6.25t-17.5-4.25t-19.75-3.75t-19.75-2t-22-1 q-11.5,0 -24.5,1.5l0,111 l 9.5,0 q 51,0 96.25,14.5t 98.75,41q 9.5,4.5 19.5,7.5l0,94 q 21,8.5 45.5,8.5q 60,0 146.5-46zM 832,309l0-94.5 q-84.5,45.5 -153,45.5q-22.5,0 -39-4l0,98 q 74,21 192-45zM 160,128q0,17.5 -8.75,32t-23.25,23l0,633 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-633 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 896,160l0,381.5 q0,19.5 -17.5,28.5q-5,2.5 -8.5,4.5q-109,58 -184.5,58q-44,0 -79-17.5l-14-7q-32-16.5 -49.5-24t-45.5-14.5t-57-7q-51,0 -117.75,22t-114.25,51q-7.5,4.5 -16.5,4.5q-8,0 -16-4 q-16-9.5 -16-28l0-371 q0-17.5 15.5-27.5q 17.5-10.5 39.25-21.25t 57-26t 76.25-24.75t 77.5-9.5q 56,0 104.5,15.5t 104.5,43q 19,9.5 44.5,9.5q 61,0 155-56q 11-6 15.5-8.5q 15.5-8 31,1q 15.5,10 15.5,27.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"flag-alt, flag, report\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,522.5l0-308 q-84.5,45.5 -153,45.5q-41,0 -72.5-16q-50-24.5 -92-38.25t-89-13.75q-86.5,0 -201.5,63.5l0,299.5 q 122.5-56.5 216.5-56.5q 27.5,0 51.75,3.75t 49,13t 38.5,15.5t 41.25,19.75l 14,7q 22,11 50.5,11q 60,0 146.5-46zM 160,128q0,17.5 -8.75,32t-23.25,23l0,633 q0,7 -4.5,11.5t-11.5,4.5 l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-633 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 896,160l0,381.5 q0,19.5 -17.5,28.5q-5,2.5 -8.5,4.5q-109,58 -184.5,58q-44,0 -79-17.5l-14-7q-32-16.5 -49.5-24t-45.5-14.5t-57-7q-51,0 -117.75,22t-114.25,51 q-7.5,4.5 -16.5,4.5q-8,0 -16-4q-16-9.5 -16-28l0-371 q0-17.5 15.5-27.5q 17.5-10.5 39.25-21.25t 57-26t 76.25-24.75t 77.5-9.5q 56,0 104.5,15.5t 104.5,43q 19,9.5 44.5,9.5q 61,0 155-56q 11-6 15.5-8.5q 15.5-8 31,1q 15.5,10 15.5,27.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"keyboard, type\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 192,584l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 256,456l0,48 q0,8 -8,8l-112,0 q-8,0 -8-8l0-48 q0-8 8-8l 112,0 q 8,0 8,8zM 192,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 704,584l0,48 q0,8 -8,8 l-432,0 q-8,0 -8-8l0-48 q0-8 8-8l 432,0 q 8,0 8,8zM 384,456l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 320,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 512,456l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8 l 48,0 q 8,0 8,8zM 448,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 640,456l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 832,584l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 576,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 704,328l0,48 q0,8 -8,8l-48,0 q-8,0 -8-8l0-48 q0-8 8-8l 48,0 q 8,0 8,8zM 832,328l0,176 q0,8 -8,8l-112,0 q-8,0 -8-8l0-48 q0-8 8-8l 56,0 l0-120 q0-8 8-8l 48,0 q 8,0 8,8zM 896,704l0-448 l-832,0 l0,448 l 832,0 zM 960,256l0,448 q0,26.5 -18.75,45.25t-45.25,18.75l-832,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-448 q0-26.5 18.75-45.25t 45.25-18.75l 832,0 q 26.5,0 45.25,18.75t 18.75,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"gamepad, controller, joystick\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 416,544l0-64 q0-7 -4.5-11.5t-11.5-4.5l-96,0 l0-96 q0-7 -4.5-11.5t-11.5-4.5l-64,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,64 q0,7 4.5,11.5t 11.5,4.5l 96,0 l0,96 q0,7 4.5,11.5t 11.5,4.5l 64,0 q 7,0 11.5-4.5t 4.5-11.5l0-96 l 96,0 q 7,0 11.5-4.5t 4.5-11.5zM 704,576q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75 t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 832,448q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 960,512q0,106 -75,181t-181,75q-96,0 -169-64l-110,0 q-73,64 -169,64q-106,0 -181-75 t-75-181t 75-181t 181-75l 448,0 q 106,0 181,75t 75,181z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"meh, neutral, smiley, emoticon\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 576,544q0,13 -9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5zM 320,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 576,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75 t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102t-25.5,124.25t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"frown, sad, smiley, emoticon\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 567,614.5q 4,12.5 -2,24.25t-18.5,15.75t-24.5-2t-16-19q-12.5-40 -46.25-64.75t-75.75-24.75t-75.75,24.75t-46.25,64.75q-4,13 -15.75,19t-24.25,2q-13-4 -19-15.75t-2-24.25q 18.5-60.5 69-97.5t 114-37t 114,37t 69,97.5zM 320,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75 t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 576,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102 t-25.5,124.25t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"smile, smiley, emoticon, happy\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 567,537.5q-18.5,60.5 -69,97.5t-114,37t-114-37t-69-97.5q-4-12.5 2-24.25t 19-15.75q 12.5-4 24.25,2t 15.75,19q 12.5,40 46.25,64.75t 75.75,24.75t 75.75-24.75t 46.25-64.75q 4-13 16-19t 24.5-2t 18.5,15.75t 2,24.25zM 320,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25 t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 576,320q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 704,448q0-65 -25.5-124.25t-68.25-102t-102-68.25t-124.25-25.5t-124.25,25.5t-102,68.25t-68.25,102t-25.5,124.25 t 25.5,124.25t 68.25,102t 102,68.25t 124.25,25.5t 124.25-25.5t 102-68.25t 68.25-102t 25.5-124.25zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"collapse-alt, minus, subtract, remove, square\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 464,192q 46.5,0 79.25,32.75t 32.75,79.25l0,352 q0,46 -32.75,79t-79.25,33l-352,0 q-46.5,0 -79.25-33t-32.75-79l0-352 q0-46.5 32.75-79.25t 79.25-32.75l 352,0 zM 512,656l0-352 q0-20 -14-34t-34-14l-352,0 q-20,0 -34,14t-14,34l0,352 q0,20 14,34t 34,14l 352,0 q 20,0 34-14t 14-34z M 432,448q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-288,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 288,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"expand-alt, plus, square, add\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 448,464l0,32 q0,7 -4.5,11.5t-11.5,4.5l-112,0 l0,112 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-112 l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 112,0 l0-112 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5l0,112 l 112,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,656l0-352 q0-20 -14-34t-34-14l-352,0 q-20,0 -34,14 t-14,34l0,352 q0,20 14,34t 34,14l 352,0 q 20,0 34-14t 14-34zM 576,304l0,352 q0,46 -32.75,79t-79.25,33l-352,0 q-46.5,0 -79.25-33t-32.75-79l0-352 q0-46.5 32.75-79.25t 79.25-32.75l 352,0 q 46.5,0 79.25,32.75t 32.75,79.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"folder-open-alt, open, directory, category, browse\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 890.5,465.5q0-17.5 -26.5-17.5l-544,0 q-20,0 -42.75,10.75t-35.75,26.25l-147,181.5q-9,12 -9,20q0,17.5 26.5,17.5l 544,0 q 20,0 43-11t 35.5-26.5l 147-181.5q 9-11 9-19.5zM 320,384l 384,0 l0-80 q0-20 -14-34t-34-14l-288,0 q-20,0 -34-14t-14-34l0-32 q0-20 -14-34t-34-14l-160,0 q-20,0 -34,14t-14,34 l0,426.5 l 128-157.5q 22-26.5 58-43.75t 70-17.25zM 954.5,465.5q0,31 -23,60l-147.5,181.5q-21.5,26.5 -58,43.75t-70,17.25l-544,0 q-46,0 -79-33t-33-79l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 272,0 q 46,0 79,33t 33,79l0,80 l 96,0 q 27,0 49.5,12.25t 33.5,35.25q 7.5,16 7.5,34z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"folder-close-alt, directory, category\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,656l0-352 q0-20 -14-34t-34-14l-352,0 q-20,0 -34-14t-14-34l0-32 q0-20 -14-34t-34-14l-160,0 q-20,0 -34,14t-14,34l0,480 q0,20 14,34t 34,14l 608,0 q 20,0 34-14t 14-34zM 832,304l0,352 q0,46 -33,79t-79,33l-608,0 q-46,0 -79-33t-33-79l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 336,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"github-alt, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,608q0,20 -6.25,41t-21.5,38t-36.25,17t-36.25-17t-21.5-38t-6.25-41t 6.25-41t 21.5-38t 36.25-17t 36.25,17t 21.5,38t 6.25,41zM 640,608q0,20 -6.25,41t-21.5,38t-36.25,17t-36.25-17t-21.5-38t-6.25-41t 6.25-41t 21.5-38t 36.25-17t 36.25,17t 21.5,38t 6.25,41zM 720,608 q0-60 -34.5-102t-93.5-42q-20.5,0 -97.5,10.5q-35.5,5.5 -78.5,5.5t-78.5-5.5q-76-10.5 -97.5-10.5q-59,0 -93.5,42t-34.5,102q0,44 16,76.75t 40.5,51.5t 61,30t 70,14.75t 74.5,3.5l 84,0 q 41,0 74.5-3.5t 70-14.75t 61-30t 40.5-51.5t 16-76.75zM 832,520q0,103.5 -30.5,165.5q-19,38.5 -52.75,66.5t-70.5,43 t-85,23.75t-85.75,11t-83.5,2.25q-39,0 -71-1.5t-73.75-6.25t-76.25-15t-68.5-25.75t-60.5-40.5t-43-57.5q-31-61.5 -31-165.5q0-118.5 68-198q-13.5-41 -13.5-85q0-58 25.5-109q 54,0 95,19.75t 94.5,61.75q 73.5-17.5 154.5-17.5q 74,0 140,16q 52.5-41 93.5-60.5t 94.5-19.5q 25.5,51 25.5,109 q0,43.5 -13.5,84q 68,80 68,199z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"reply, arrow, left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,560q0,83 -63.5,225.5q-1.5,3.5 -5.25,12t-6.75,15t-6.5,11q-6,8.5 -14,8.5q-7.5,0 -11.75-5t-4.25-12.5q0-4.5 1.25-13.25t 1.25-11.75q 2.5-34 2.5-61.5q0-50.5 -8.75-90.5t-24.25-69.25t-40-50.5t-52.75-34.75t-66.5-21.25t-77-10.75t-87.75-3l-112,0 l0,128 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5 l-256-256q-9.5-9.5 -9.5-22.5t 9.5-22.5l 256-256q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5l0,128 l 112,0 q 356.5,0 437.5,201.5q 26.5,67 26.5,166.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"784\" height=\"896\" viewBox=\"0 0 784 896\" data-du=\"\" data-tags=\"spinner, loading, busy, progress\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 248,672q0,30 -21.25,51t-50.75,21q-30,0 -51-21t-21-51t 21-51t 51-21q 29.5,0 50.75,21t 21.25,51zM 464,768q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 160,448q0,33 -23.5,56.5t-56.5,23.5t-56.5-23.5t-23.5-56.5 t 23.5-56.5t 56.5-23.5t 56.5,23.5t 23.5,56.5zM 680,672q0,23 -16.5,39.5t-39.5,16.5t-39.5-16.5t-16.5-39.5t 16.5-39.5t 39.5-16.5t 39.5,16.5t 16.5,39.5zM 264,224q0,36.5 -25.75,62.25t-62.25,25.75t-62.25-25.75t-25.75-62.25t 25.75-62.25t 62.25-25.75t 62.25,25.75t 25.75,62.25zM 496,128q0,40 -28,68t-68,28 t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 768,448q0,20 -14,34t-34,14t-34-14t-14-34t 14-34t 34-14t 34,14t 14,34zM 664,224q0,16.5 -11.75,28.25t-28.25,11.75t-28.25-11.75t-11.75-28.25t 11.75-28.25t 28.25-11.75t 28.25,11.75t 11.75,28.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"quote-right, rdquo\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,160l0,352 q0,52 -20.25,99.25t-54.75,81.75t-81.75,54.75t-99.25,20.25l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 q 53,0 90.5-37.5t 37.5-90.5l0-16 q0-20 -14-34t-34-14l-112,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 192,0 q 40,0 68,28t 28,68zM 832,160 l0,352 q0,52 -20.25,99.25t-54.75,81.75t-81.75,54.75t-99.25,20.25l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 q 53,0 90.5-37.5t 37.5-90.5l0-16 q0-20 -14-34t-34-14l-112,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 192,0 q 40,0 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"quote-left, ldquo\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,480l0,192 q0,40 -28,68t-68,28l-192,0 q-40,0 -68-28t-28-68l0-352 q0-52 20.25-99.25t 54.75-81.75t 81.75-54.75t 99.25-20.25l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-53,0 -90.5,37.5t-37.5,90.5l0,16 q0,20 14,34t 34,14l 112,0 q 40,0 68,28t 28,68z M 832,480l0,192 q0,40 -28,68t-68,28l-192,0 q-40,0 -68-28t-28-68l0-352 q0-52 20.25-99.25t 54.75-81.75t 81.75-54.75t 99.25-20.25l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-53,0 -90.5,37.5t-37.5,90.5l0,16 q0,20 14,34t 34,14l 112,0 q 40,0 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-blank\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,176q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5t-36.5-136.5t-99-99t-136.5-36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5 t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"mobile, phone\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 232,704q0-16.5 -11.75-28.25t-28.25-11.75t-28.25,11.75t-11.75,28.25t 11.75,28.25t 28.25,11.75t 28.25-11.75t 11.75-28.25zM 336,624l0-352 q0-6.5 -4.75-11.25t-11.25-4.75l-256,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 256,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 240,200 q0-8 -8-8l-80,0 q-8,0 -8,8t 8,8l 80,0 q 8,0 8-8zM 384,192l0,512 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-512 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"tablet, mobile\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 320,704q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 512,624l0-480 q0-6.5 -4.75-11.25t-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,480 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 576,144l0,544 q0,33 -23.5,56.5t-56.5,23.5l-416,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 416,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"laptop, computer, notebook\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 208,640q-33,0 -56.5-23.5t-23.5-56.5l0-352 q0-33 23.5-56.5t 56.5-23.5l 544,0 q 33,0 56.5,23.5t 23.5,56.5l0,352 q0,33 -23.5,56.5t-56.5,23.5l-544,0 zM 192,208l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 544,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 q0-6.5 -4.75-11.25t-11.25-4.75l-544,0 q-6.5,0 -11.25,4.75t-4.75,11.25z M 880,672l 80,0 l0,48 q0,20 -23.5,34t-56.5,14l-800,0 q-33,0 -56.5-14t-23.5-34l0-48 l 80,0 l 800,0 zM 520,720q 8,0 8-8t-8-8l-80,0 q-8,0 -8,8t 8,8l 80,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"desktop, computer, screen, display, pc\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 896,496l0-416 q0-6.5 -4.75-11.25t-11.25-4.75l-800,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,416 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 960,80l0,544 q0,33 -23.5,56.5t-56.5,23.5l-272,0 q0,18.5 8,38.75t 16,35.5t 8,21.75q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5 t-9.5-22.5q0-7 8-22t 16-35t 8-39l-272,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"angle-down, arrow, down\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,368q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 196.5,196.5l 196.5-196.5q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"angle-up, arrow, up\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,592q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-196.5-196.5l-196.5,196.5q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"angle-right, arrow, right\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 297.5,480q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"angle-left, arrow, left\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 313.5,272q0,6.5 -5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5t-5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"double-angle-down, down, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,432q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 196.5,196.5l 196.5-196.5q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5zM 537.5,240q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5 t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 196.5,196.5l 196.5-196.5q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"double-angle-up, up, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 537.5,656q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-196.5-196.5l-196.5,196.5q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5zM 537.5,464q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-196.5-196.5l-196.5,196.5 q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"double-angle-right, right, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 297.5,480q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5zM 489.5,480q0,6.5 -5,11.5l-233,233q-5,5 -11.5,5t-11.5-5l-25-25q-5-5 -5-11.5t 5-11.5 l 196.5-196.5l-196.5-196.5q-5-5 -5-11.5t 5-11.5l 25-25q 5-5 11.5-5t 11.5,5l 233,233q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"double-angle-left, left, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 313.5,688q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5t-5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5zM 505.5,688q0,6.5 -5,11.5l-25,25q-5,5 -11.5,5t-11.5-5l-233-233q-5-5 -5-11.5 t 5-11.5l 233-233q 5-5 11.5-5t 11.5,5l 25,25q 5,5 5,11.5t-5,11.5l-196.5,196.5l 196.5,196.5q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"plus-sign, add, sum\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-160,0 l0-160 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,160 l-160,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 160,0 l0,160 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-160 l 160,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"h-sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,672l0-448 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,160 l-256,0 l0-160 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,448 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-160 l 256,0 l0,160 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"beer, mug, drink\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,448l0-192 l-128,0 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 64,0 zM 832,672l0,96 l-576,0 l0-96 l 64-96l-64,0 q-79.5,0 -135.75-56.25t-56.25-135.75l0-160 l-32-32l 16-64l 240,0 l 16-64l 480,0 l 16,96l-32,16l0,400 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"fighter-jet, pane, aircraft\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 960,480q-0.5,16 -144,48l-176,16l-112,32l-32,0 l-146.5,176l 34.5,0 q 13,0 22.5,2.25t 9.5,5.75t-9.5,5.75t-22.5,2.25l-48,0 l-80,0 l-32,0 l0-16 l 32,0 l0-208 l-80,0 l-96,112l-48,0 l-16-16l0-96 l 16,0 l0-16 l 64,0 l0-4 l-96-12l0-64 l 96-12l0-4 l-64,0 l0-16 l-16,0 l0-96 l 16-16l 48,0 l 96,112l 80,0 l0-208 l-32,0 l0-16 l 32,0 l 80,0 l 48,0 q 13,0 22.5,2.25t 9.5,5.75t-9.5,5.75t-22.5,2.25l-34.5,0 l 146.5,176l 32,0 l 112,32l 176,16q 130.5,29 143.5,46.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"medkit, medicine, kit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 640,560l0-96 q0-7 -4.5-11.5t-11.5-4.5l-112,0 l0-112 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,112 l-112,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 112,0 l0,112 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5l0-112 l 112,0 q 7,0 11.5-4.5t 4.5-11.5zM 320,192l 256,0 l0-64 l-256,0 l0,64 zM 128,192l0,640 l-16,0 q-46,0 -79-33t-33-79l0-416 q0-46 33-79t 79-33l 16,0 zM 720,192l0,640 l-544,0 l0-640 l 80,0 l0-80 q0-20 14-34t 34-14l 288,0 q 20,0 34,14t 14,34l0,80 l 80,0 zM 896,304l0,416 q0,46 -33,79t-79,33l-16,0 l0-640 l 16,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"ambulance\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 320,704q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 128,448l 192,0 l0-128 l-79,0 q-7,1 -11,4.5l-97.5,97.5q-3.5,6 -4.5,11l0,15 zM 768,704q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75 t 45.25-18.75t 18.75-45.25zM 832,368l0-96 q0-7 -4.5-11.5t-11.5-4.5l-112,0 l0-112 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,112 l-112,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 112,0 l0,112 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5l0-112 l 112,0 q 7,0 11.5-4.5t 4.5-11.5zM 960,96l0,576 q0,13 -9.5,22.5t-22.5,9.5l-96,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-192,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l0-208 q0-13 6.5-29t 16-25.5l 99-99q 9.5-9.5 25.5-16t 29-6.5l 80,0 l0-160 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"hospital, building\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,832l 192,0 l0-576 l-128,0 l0,16 q0,20 -14,34t-34,14l-224,0 q-20,0 -34-14t-14-34l0-16 l-128,0 l0,576 l 192,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 zM 448,240l0-160 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-64,0 l0-48 q0-6.5 -4.75-11.25 t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 64,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 704,224l0,640 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-640 q0-13 9.5-22.5t 22.5-9.5l 160,0 l0-144 q0-20 14-34t 34-14l 224,0 q 20,0 34,14t 14,34l0,144 l 160,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"building, office, work\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,656l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,528l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 576,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 448,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 320,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,272l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,144l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 448,832l 192,0 l0-768 l-576,0 l0,768 l 192,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 zM 704,32l0,832 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-832 q0-13 9.5-22.5t 22.5-9.5l 640,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file-alt, paper, document\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 512,592l0,32 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 352,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,464l0,32 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 352,0 q 7,0 11.5,4.5t 4.5,11.5zM 64,768l 512,0 l0-384 l-208,0 q-20,0 -34-14t-14-34l0-208 l-256,0 l0,640 z M 384,320l 188,0 q-5-14.5 -11-20.5l-156.5-156.5q-6-6 -20.5-11l0,188 zM 640,336l0,448 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 320,0 q 20,0 44,10t 38,24l 156,156q 14,14 24,38t 10,44z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"food, lunch, fork, knife, dinner\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 320,32l0,320 q0,30.5 -17.75,55.5t-46.25,35l0,389.5 q0,26 -19,45t-45,19l-64,0 q-26,0 -45-19t-19-45l0-389.5 q-28.5-10 -46.25-35t-17.75-55.5l0-320 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,208 q0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-208 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,208 q0,13 9.5,22.5 t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-208 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5zM 704,32l0,800 q0,26 -19,45t-45,19l-64,0 q-26,0 -45-19t-19-45l0-256 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-400 q0-66 47-113t 113-47l 128,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"coffee, break, drink, cup, tea\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 832,320q0-40 -28-68t-68-28l-32,0 l0,192 l 32,0 q 40,0 68-28t 28-68zM0,704l 896,0 q0,53 -37.5,90.5t-90.5,37.5l-640,0 q-53,0 -90.5-37.5t-37.5-90.5zM 928,320q0,79.5 -56.25,135.75t-135.75,56.25l-32,0 l0,16 q0,46 -33,79t-79,33l-352,0 q-46,0 -79-33t-33-79l0-368 q0-13 9.5-22.5 t 22.5-9.5l 576,0 q 79.5,0 135.75,56.25t 56.25,135.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"bell-alt, alarm, notification\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 424,848q0-8 -8-8q-29.5,0 -50.75-21.25t-21.25-50.75q0-8 -8-8t-8,8q0,36.5 25.75,62.25t 62.25,25.75q 8,0 8-8zM 832,704q0,26 -19,45t-45,19l-224,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-224,0 q-26,0 -45-19t-19-45q 95-80.5 143.5-198.75t 48.5-249.25 q0-82.5 48-131t 132-58.5q-4-9 -4-18.5q0-20 14-34t 34-14t 34,14t 14,34q0,9.5 -4,18.5q 84,10 132,58.5t 48,131q0,131 48.5,249.25t 143.5,198.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"suitcase, briefcase, travel, vacation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,192l 256,0 l0-64 l-256,0 l0,64 zM 144,192l0,640 l-32,0 q-46,0 -79-33t-33-79l0-416 q0-46 33-79t 79-33l 32,0 zM 704,192l0,640 l-512,0 l0-640 l 64,0 l0-80 q0-20 14-34t 34-14l 288,0 q 20,0 34,14t 14,34l0,80 l 64,0 zM 896,304l0,416 q0,46 -33,79t-79,33l-32,0 l0-640 l 32,0 q 46,0 79,33 t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"stethoscope\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 640,352q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,352q0,31 -17.75,55.5t-46.25,35l0,197.5 q0,79.5 -65.75,135.75t-158.25,56.25t-158.25-56.25t-65.75-135.75l0-66 q-82-10 -137-64t-55-126l0-256 q0-13 9.5-22.5t 22.5-9.5q 3,0 8,1q 8.5-15 23.5-24 t 32.5-9q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75q-16.5,0 -32-9l0,201 q0,53 47,90.5t 113,37.5t 113-37.5t 47-90.5l0-201 q-15.5,9 -32,9q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32.5,9t 23.5,24q 5-1 8-1q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,72 -55,126 t-137,64l0,66 q0,53 47,90.5t 113,37.5t 113-37.5t 47-90.5l0-197.5 q-28.5-10.5 -46.25-35t-17.75-55.5q0-40 28-68t 68-28t 68,28t 28,68z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"user-md, medic, doctor\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,672q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5zM 704,702.5q0,60.5 -36.5,95t-97,34.5l-437,0 q-60.5,0 -97-34.5t-36.5-95q0-34 2.75-65.5t 12-69t 23.75-66.25t 40.5-51.5t 60-30.25q-11,26 -11,60l0,101.5 q-29,10 -46.5,35t-17.5,55.5q0,40 28,68t 68,28 t 68-28t 28-68q0-30.5 -17.75-55.5t-46.25-35l0-101.5 q0-31 12.5-46.5q 66,52 147.5,52t 147.5-52q 12.5,15.5 12.5,46.5l0,32 q-53,0 -90.5,37.5t-37.5,90.5l0,44.5 q-16,14.5 -16,35.5q0,20 14,34t 34,14t 34-14t 14-34q0-21 -16-35.5l0-44.5 q0-26 19-45t 45-19t 45,19t 19,45l0,44.5 q-16,14.5 -16,35.5q0,20 14,34 t 34,14t 34-14t 14-34q0-21 -16-35.5l0-44.5 q0-34 -17.25-63.75t-46.75-46.75q0-5 0.25-21.25t0-24t-1.25-20.75t-3.5-23.5t-6.5-20q 34,7.5 60,30.25t 40.5,51.5t 23.75,66.25t 12,69t 2.75,65.5zM 544,256q0,79.5 -56.25,135.75t-135.75,56.25t-135.75-56.25t-56.25-135.75t 56.25-135.75t 135.75-56.25 t 135.75,56.25t 56.25,135.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cloud-upload, upload, load, open\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 640,432q0-7 -4.5-11.5l-176-176q-4.5-4.5 -11.5-4.5t-11.5,4.5l-175.5,175.5q-5,6 -5,12q0,7 4.5,11.5t 11.5,4.5l 112,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-176 l 112,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 960,576q0,79.5 -56.25,135.75t-135.75,56.25l-544,0 q-92.5,0 -158.25-65.75t-65.75-158.25q0-65 35-120t 94-82.5q-1-15 -1-21.5q0-106 75-181t 181-75q 78,0 142.75,43.5t 94.25,115.5q 35.5-31 83-31q 53,0 90.5,37.5t 37.5,90.5q0,38 -20.5,69q 65,15.5 106.75,67.75t 41.75,119.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cloud-download, download, store, save\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 640,464q0-7 -4.5-11.5t-11.5-4.5l-112,0 l0-176 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 l-112,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,7 4.5,11.5l 176,176q 4.5,4.5 11.5,4.5t 11.5-4.5l 175.5-175.5q 5-6 5-12zM 960,576q0,79.5 -56.25,135.75t-135.75,56.25l-544,0 q-92.5,0 -158.25-65.75t-65.75-158.25q0-65 35-120t 94-82.5q-1-15 -1-21.5q0-106 75-181t 181-75q 78,0 142.75,43.5t 94.25,115.5q 35.5-31 83-31q 53,0 90.5,37.5t 37.5,90.5q0,38 -20.5,69q 65,15.5 106.75,67.75t 41.75,119.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"exchange, transfer, tab, traffic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,592l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-688,0 l0,96 q0,6.5 -4.75,11.25t-11.25,4.75q-6,0 -12-5l-159.5-160q-4.5-4.5 -4.5-11q0-7 4.5-11.5l 160-160q 4.5-4.5 11.5-4.5q 6.5,0 11.25,4.75t 4.75,11.25l0,96 l 688,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,320q0,7 -4.5,11.5l-160,160q-4.5,4.5 -11.5,4.5 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 l-688,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 688,0 l0-96 q0-7 4.5-11.5t 11.5-4.5q 6,0 12,5l 159.5,159.5q 4.5,4.5 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"lightbulb, idea, tip\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 368,288q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25q0-23 -27-35.5t-53-12.5q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75q 25,0 49.75,8t 43.5,27t 18.75,45zM 448,288q0-36 -17.25-67t-45-50.75t-61.5-31t-68.25-11.25t-68.25,11.25t-61.5,31t-45,50.75t-17.25,67 q0,50.5 34,90q 5,5.5 15.25,16.5t 15.25,16.5q 64,76.5 70.5,149l 114,0 q 6.5-72.5 70.5-149q 5-5.5 15.25-16.5t 15.25-16.5q 34-39.5 34-90zM 512,288q0,77.5 -51.5,134q-22.5,24.5 -37.25,43.5t-29.75,47.75t-17,53.75q 23.5,14 23.5,41q0,18.5 -12.5,32q 12.5,13.5 12.5,32q0,26 -22.5,40.5q 6.5,11.5 6.5,23.5 q0,23 -15.75,35.5t-38.75,12.5q-10,22 -30,35t-43.5,13t-43.5-13t-30-35q-23,0 -38.75-12.5t-15.75-35.5q0-12 6.5-23.5q-22.5-14.5 -22.5-40.5q0-18.5 12.5-32q-12.5-13.5 -12.5-32q0-27 23.5-41q-2-25 -17-53.75t-29.75-47.75t-37.25-43.5q-51.5-56.5 -51.5-134q0-49.5 22.25-92.25t 58.5-71t 82-44.5t 93.25-16.25 t 93.25,16.25t 82,44.5t 58.5,71t 22.25,92.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"paste, clipboard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,832l 448,0 l0-320 l-208,0 q-20,0 -34-14t-14-34l0-208 l-192,0 l0,576 zM 512,112l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 640,448l 149.5,0 l-149.5-149.5l0,149.5 zM 896,512l0,336 q0,20 -14,34t-34,14 l-480,0 q-20,0 -34-14t-14-34l0-80 l-272,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 544,0 q 20,0 34,14t 14,34l0,164 q 10.5,6.5 18,14l 204,204q 14,14 24,38t 10,44z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"umbrella, rainy\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448,414l0,290 q0,52 -38,90t-90,38t-90-38t-38-90q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5q0,25 19.5,44.5t 44.5,19.5t 44.5-19.5t 19.5-44.5l0-290 q 16.5-5.5 32-5.5t 32,5.5zM 832,427.5q0,6.5 -4.75,11.25t-11.25,4.75q-5.5,0 -11.5-5q-24.5-23 -46.5-34.5t-51-11.5q-34,0 -64,18.5t-51.5,48.5 q-3.5,5 -8.75,14t-7.25,12q-5.5,8.5 -14,8.5q-9,0 -14.5-8.5q-2-3 -7.25-12t-8.75-14q-21.5-30 -51.25-48.5t-63.75-18.5t-63.75,18.5t-51.25,48.5q-3.5,5 -8.75,14t-7.25,12q-5.5,8.5 -14.5,8.5q-8.5,0 -14-8.5q-2-3 -7.25-12t-8.75-14q-21.5-30 -51.5-48.5t-64-18.5q-29,0 -51,11.5t-46.5,34.5 q-6,5 -11.5,5q-6.5,0 -11.25-4.75t-4.75-11.25q0-2.5 0.5-3.5q 22.5-91.5 86.25-159.75t 149-102.25t 180.25-34q 70,0 137.25,20t 123.25,56.75t 97.25,93.5t 57.75,125.75q 0.5,1 0.5,3.5zM 448,64l0,49 q-21-1 -32-1t-32,1l0-49 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"sitemap, tree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,624l0,160 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 48,0 l0-96 l-256,0 l0,96 l 48,0 q 20,0 34,14t 14,34l0,160 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 48,0 l0-96 l-256,0 l0,96 l 48,0 q 20,0 34,14t 14,34l0,160 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 48,0 l0-96 q0-26 19-45t 45-19l 256,0 l0-96 l-48,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34l0,160 q0,20 -14,34t-34,14l-48,0 l0,96 l 256,0 q 26,0 45,19t 19,45l0,96 l 48,0 q 20,0 34,14t 14,34 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"448\" height=\"896\" viewBox=\"0 0 448 896\" data-du=\"\" data-tags=\"bolt, lightning, power, electricity, energy\" style=\"margin-left: 12px; margin-top: 8px;\"><path d=\"M 442.5,283q 9,10 3.5,22l-270,578.5q-6.5,12.5 -21,12.5q-2,0 -7-1q-8.5-2.5 -12.75-9.5t-2.25-15l 98.5-404l-203,50.5q-2,0.5 -6,0.5q-9,0 -15.5-5.5q-9-7.5 -6.5-19.5l 100.5-412.5q 2-7 8-11.5t 14-4.5l 164,0 q 9.5,0 16,6.25t 6.5,14.75q0,4 -2.5,9l-85.5,231.5l 198-49q 4-1 6-1q 9.5,0 17,7.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comments-alt, chat, talk, bubbles\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,192q-76.5,0 -143,26t-105.75,70.5t-39.25,95.5q0,41 26.5,79t 74.5,66l 48.5,28l-17.5,42q 17-10 31-19.5l 22-15.5l 26.5,5q 39,7 76.5,7q 76.5,0 143-26t 105.75-70.5t 39.25-95.5t-39.25-95.5t-105.75-70.5t-143-26zM 352,128q 95.5,0 176.75,34.25t 128.25,93.25t 47,128.5t-47,128.5 t-128.25,93.25t-176.75,34.25q-43,0 -88-8q-62,44 -139,64q-18,4.5 -43,8l-1.5,0 q-5.5,0 -10.25-4t-5.75-10.5q-0.5-1.5 -0.5-3.25t 0.25-3.25t 1-3l 1.25-2.5t 1.75-2.75t 2-2.5t 2.25-2.5t 2-2.25q 2.5-3 11.5-12.5t 13-14.75t 11.25-14.5t 12.5-19.25t 10.25-22q-62-36 -97.5-88.5t-35.5-112q0-69.5 47-128.5t 128.25-93.25 t 176.75-34.25zM 763,712.5q 5,12 10.25,22t 12.5,19.25t 11.25,14.5t 13,14.75t 11.5,12.5q 0.5,0.5 2,2.25t 2.25,2.5t 2,2.5t 1.75,2.75l 1.25,2.5t 1,3t 0.25,3.25t-0.5,3.25q-1.5,7 -6.5,11t-11,3.5q-25-3.5 -43-8q-77-20 -139-64q-45,8 -88,8q-135.5,0 -236-66q 29,2 44,2q 80.5,0 154.5-22.5t 132-64.5 q 62.5-46 96-106t 33.5-127q0-38.5 -11.5-76q 64.5,35.5 102,89t 37.5,115q0,60 -35.5,112.25t-97.5,88.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comment-alt, chat, talk, bubble\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,192q-102,0 -190.75,34.75t-141,93.75t-52.25,127.5q0,56 35.75,106.75t 100.75,87.75l 43.5,25l-13.5,48q-12,45.5 -35,86q 76-31.5 137.5-85.5l 21.5-19l 28.5,3q 34.5,4 65,4q 102,0 190.75-34.75t 141-93.75t 52.25-127.5t-52.25-127.5t-141-93.75t-190.75-34.75zM 896,448 q0,87 -60,160.75t-163,116.5t-225,42.75q-35,0 -72.5-4q-99,87.5 -230,121q-24.5,7 -57,11l-2.5,0 q-7.5,0 -13.5-5.25t-8-13.75l0-0.5 q-1.5-2 -0.25-6t 1-5t 2.25-4.75l 3-4.5t 3.5-4.25t 4-4.5q 3.5-4 15.5-17.25t 17.25-19t 15.5-19.75t 16.25-25.5t 13.5-29.5t 13-38q-78.5-44.5 -123.75-110t-45.25-140.5q0-87 60-160.75 t 163-116.5t 225-42.75t 225,42.75t 163,116.5t 60,160.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"dashboard, meter, speed\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,576q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 288,352q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 502,592.5l 50.5-191q 3-13 -3.75-24.25t-19.25-14.75 t-24,3.25t-15,19.75l-50.5,191q-30,2.5 -53.5,21.75t-31.5,49.25q-10,38.5 10,73t 58.5,44.5t 73-10t 44.5-58.5q 8-30 -3-58.5t-36-45.5zM 832,576q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 512,256q0-26.5 -18.75-45.25 t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 736,352q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 896,576q0,130.5 -70.5,241.5q-9.5,14.5 -27,14.5l-701,0 q-17.5,0 -27-14.5 q-70.5-110.5 -70.5-241.5q0-91 35.5-174t 95.5-143t 143-95.5t 174-35.5t 174,35.5t 143,95.5t 95.5,143t 35.5,174z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"legal, hammer, rules\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 885.5,768q0,26.5 -18.5,45l-53.5,54q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-181.5-182q-19-18 -19-45q0-26.5 21.5-48l-128-128l-63,63q-7,7 -17,7t-17-7q 1,1 6.25,6t 6.25,6.5t 5,5.75t 5,6.75t 3,6.75t 2.75,8.25t 0.75,9q0,19 -14,34q-1.5,1.5 -8.25,9t-9.5,10.25 t-9.25,8.25t-11,7.75t-11,4.5t-13,2.25q-20,0 -34-14l-204-204q-14-14 -14-34q0-6.5 2.25-13t 4.5-11t 7.75-11t 8.25-9.25t 10.25-9.5t 9-8.25q 15-14 34-14q 5,0 9,0.75t 8.25,2.75t 6.75,3t 6.75,5t 5.75,5t 6.5,6.25t 6,6.25q-7-7 -7-17t 7-17l 174-174q 7-7 17-7t 17,7 q-1-1 -6.25-6t-6.25-6.5t-5-5.75t-5-6.75t-3-6.75t-2.75-8.25t-0.75-9q0-19 14-34q 1.5-1.5 8.25-9t 9.5-10.25t 9.25-8.25t 11-7.75t 11-4.5t 13-2.25q 20,0 34,14l 204,204q 14,14 14,34q0,6.5 -2.25,13t-4.5,11t-7.75,11t-8.25,9.25t-10.25,9.5t-9,8.25q-15,14 -34,14 q-5,0 -9-0.75t-8.25-2.75t-6.75-3t-6.75-5t-5.75-5t-6.5-6.25t-6-6.25q 7,7 7,17t-7,17l-63,63l 128,128q 21.5-21.5 48-21.5q 26,0 45.5,18.5l 181.5,181.5q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"undo, arrow, loop\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,78 -30.5,149t-82,122.5t-122.5,82t-149,30.5q-86,0 -163.5-36.25t-132-102.25q-3.5-5 -3.25-11.25t 4.25-10.25l 68.5-69q 5-4.5 12.5-4.5q 8,1 11.5,6q 36.5,47.5 89.5,73.5t 112.5,26q 52,0 99.25-20.25t 81.75-54.75t 54.75-81.75t 20.25-99.25t-20.25-99.25t-54.75-81.75 t-81.75-54.75t-99.25-20.25q-49,0 -94,17.75t-80,50.75l 68.5,69q 15.5,15 7,34.5q-8.5,20 -29.5,20l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-21 20-29.5q 19.5-8.5 34.5,7l 65,64.5q 53.5-50.5 122.25-78.25t 142.25-27.75q 78,0 149,30.5t 122.5,82t 82,122.5t 30.5,149z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"linkedin, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 174.5,312.5l0,495.5 l-165,0 l0-495.5 l 165,0 zM 185,159.5q 0.5,36.5 -25.25,61t-67.75,24.5l-1,0 q-41,0 -66-24.5t-25-61q0-37 25.75-61.25t 67.25-24.25t 66.5,24.25t 25.5,61.25zM 768,524l0,284 l-164.5,0 l0-265 q0-52.5 -20.25-82.25t-63.25-29.75q-31.5,0 -52.75,17.25t-31.75,42.75q-5.5,15 -5.5,40.5l0,276.5 l-164.5,0 q 1-199.5 1-323.5t-0.5-148l-0.5-24l 164.5,0 l0,72 l-1,0 q 10-16 20.5-28t 28.25-26t 43.5-21.75t 57.25-7.75q 85.5,0 137.5,56.75t 52,166.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"envelope-alt, letter, email, mail, contact\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,355l0,397 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-397 q 22,24.5 50.5,43.5q 181,123 248.5,172.5q 28.5,21 46.25,32.75t 47.25,24t 55,12.25l 0.5,0 l 0.5,0 q 25.5,0 55-12.25t 47.25-24t 46.25-32.75q 85-61.5 249-172.5q 28.5-19.5 50-43.5zM 896,208q0,39.5 -24.5,75.5t-61,61.5 q-188,130.5 -234,162.5q-5,3.5 -21.25,15.25t-27,19t-26,16.25t-28.75,13.5t-25,4.5l-0.5,0 l-0.5,0 q-11.5,0 -25-4.5t-28.75-13.5t-26-16.25t-27-19t-21.25-15.25q-45.5-32 -131-91.25t-102.5-71.25q-31-21 -58.5-57.75t-27.5-68.25q0-39 20.75-65t 59.25-26l 736,0 q 32.5,0 56.25,23.5t 23.75,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"sort-up\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,352q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"sort-down\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,544q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"sort, menu, dropdown, arrows\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,544q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5zM 512,352q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"columns, layout\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 80,768l 304,0 l0-576 l-320,0 l0,560 q0,6.5 4.75,11.25t 11.25,4.75zM 768,752l0-560 l-320,0 l0,576 l 304,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 832,144l0,608 q0,33 -23.5,56.5t-56.5,23.5l-672,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 672,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"caret-right, right, arrow, next\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 288,448q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"320\" height=\"896\" viewBox=\"0 0 320 896\" data-du=\"\" data-tags=\"caret-left, previous, arrow, left\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 320,224l0,448 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"caret-up, upload, top, arrow\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,608q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 224-224q 9.5-9.5 22.5-9.5t 22.5,9.5l 224,224q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"caret-down, download, bottom, arrow\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 512,352q0,13 -9.5,22.5l-224,224q-9.5,9.5 -22.5,9.5t-22.5-9.5l-224-224q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"money, bill\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 384,576l 192,0 l0-48 l-64,0 l0-224 l-57,0 l-74,68.5l 38.5,40q 21-18.5 27.5-28.5l 1,0 l0,144 l-64,0 l0,48 zM 640,448q0,35 -10.5,71t-29.75,67t-50.75,50.5t-69,19.5t-69-19.5t-50.75-50.5t-29.75-67t-10.5-71t 10.5-71t 29.75-67t 50.75-50.5t 69-19.5t 69,19.5t 50.75,50.5t 29.75,67t 10.5,71zM 896,576 l0-256 q-53,0 -90.5-37.5t-37.5-90.5l-576,0 q0,53 -37.5,90.5t-90.5,37.5l0,256 q 53,0 90.5,37.5t 37.5,90.5l 576,0 q0-53 37.5-90.5t 90.5-37.5zM 960,160l0,576 q0,13 -9.5,22.5t-22.5,9.5l-896,0 q-13,0 -22.5-9.5t-9.5-22.5l0-576 q0-13 9.5-22.5t 22.5-9.5l 896,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"google-plus, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 438,732.5q0-10.5 -2.25-20.25t-4.75-18t-8.75-17.25t-10.5-15.25t-13.25-14.75t-13.75-12.75t-16-12.75t-15.5-11.5t-16.5-11.5t-15.25-10.5q-8.5-1 -25-1q-27,0 -53,3.5t-54,12.5t-49,23t-34.5,37.5t-13.5,53.5q0,34 17.75,60.75t 46.5,42t 60.25,22.75t 63.5,7.5q 29.5,0 56.25-6.25t 50.25-19.5t 37.25-36.75 t 13.75-55zM 378,301.5q0-30 -8.25-63.75t-23.5-65.25t-42-52t-59.75-20.5q-46.5,0 -72,34.5t-25.5,82.5q0,23.5 5.75,49.5t 17.75,52t 28,46.75t 39,33.75t 48.5,13q 48.5,0 70.25-30.25t 21.75-80.25zM 312.5,64l 218.5,0 l-67.5,39.5l-67.5,0 q 35.5,22.5 55,63t 19.5,84.5q0,37 -11.5,65.75t-28,46.25t-33,32.25 t-28,30.5t-11.5,33.75q0,13 8.25,25.5t 21.5,24t 29.25,24t 32,27.75t 29.25,33t 21.5,42.5t 8.25,53.25q0,80 -70,141q-76,65.5 -210,65.5q-29.5,0 -59.75-5t-61-16.75t-54.25-29t-38.5-44.5t-15-60.75q0-30.5 18.5-67.5q 16-32 48-55.25t 72.5-35.5t 77.5-18t 75-6.75q-32-41.5 -32-74.5q0-6 1-11.75 t 2.5-9.75t 4-10.75t 3.5-10.75q-20,2.5 -35,2.5q-74.5,0 -127.75-49t-53.25-123q0-70 47.5-125.25t 117-70.75q 47-10 93.5-10zM 832,192l0,64 l-128,0 l0,128 l-64,0 l0-128 l-128,0 l0-64 l 128,0 l0-128 l 64,0 l0,128 l 128,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"google-plus-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 339,796.5q0,19 -5,35.5l-190,0 q-47.5,0 -85.75-28.25t-51.75-73.75q 12-22.5 34.5-38.75t 50-24.75t 53.5-12t 53.5-3.5q 16,0 24.5,1q 3,2 15.25,10.5t 16.5,11.5t 15.5,11.5t 16,12.75t 13.75,12.75t 13.25,14.75t 10.5,15.25t 8.75,17.25t 4.75,18t 2.25,20.25zM 192.5,621q-117,3.5 -192.5,42.5l0-216.5 q 51.5,59 136.5,59 q 16,0 35-2.5q-10.5,30.5 -10.5,43q0,33.5 31.5,74.5zM 279,365.5q0,50 -21.75,80.25t-70.25,30.25q-25.5,0 -48.5-13t-39-33.75t-28-46.75t-17.75-52t-5.75-49.5q0-48 25.75-82.5t 72.25-34.5q 33,0 59.5,20.5t 42,52t 23.5,65t 8,64zM 768,320l0,368 q0,59.5 -42.25,101.75t-101.75,42.25l-234,0 q 19.5-36.5 19.5-78.5q0-33 -11-61.25t-27.75-46.5t-36-35.5t-36-29.75t-27.75-27.25t-11-29.75q0-18 11.5-34t 28-30.75t 32.75-32.25t 27.75-46.5t 11.5-65.5t-13.25-72.75t-37.75-59.25q-3-3 -7-5.5t-6.25-3.75t-5-4.75t-5.25-8.5l 67.5,0 l 67.5-32l-218.5,0 q-69,0 -122.25,19.25t-91.25,66.75q0-63 40.5-106.5t 103.5-43.5l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75l0,48 l-128,0 l0-128 l-64,0 l0,128 l-128,0 l0,64 l 128,0 l0,128 l 64,0 l0-128 l 128,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pinterest-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 624,64q 59.5,0 101.75,42.25t 42.25,101.75l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-362.5,0 q 42.5-61 54-105q 4.5-17 26.5-104.5q 10.5,19.5 36.75,33.5t 56.25,14q 90.5,0 147.75-73.75t 57.25-186.75q0-42 -17.5-81.25t-48.25-69.5t-76.25-48.5t-98.5-18.25q-52,0 -97.25,14.25t-76.5,38.25 t-53.75,54.75t-33.25,64t-10.75,66.25q0,51 19.75,90t 58.25,55q 6.5,2.5 11.75,0t 7.25-9.5q 5-22 7.5-30.5q 3-11.5 -5.5-21q-25-31 -25-75q0-75 51.75-128.25t 135.25-53.25q 74.5,0 116.25,40.5t 41.75,105q0,84 -33.75,143t-86.75,59q-30,0 -48.5-21.75t-11.5-51.75q 4-17 13.25-46.25 t 14.75-51t 5.5-37.25q0-24.5 -13.25-40.75t-37.75-16.25q-30.5,0 -51.75,28.25t-21.25,69.75q0,36 12,60.5l-49,207q-12,50 -3.5,127l-91.5,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pinterest, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5q-55.5,0 -109-16q 29.5-46.5 39-82q 4.5-17 27-105.5q 10,19.5 36.5,33.75t 57,14.25q 60.5,0 108-34.25t 73.5-94.25t 26-135q0-57 -29.75-107t-86.25-81.5t-127.5-31.5q-52.5,0 -98,14.5t-77.25,38.5t-54.5,55.25t-33.5,64.75t-10.75,67 q0,52 20,91.5t 58.5,55.5q 15,6 19-10q 1-3.5 4-15.5t 4-15q 3-11.5 -5.5-21.5q-25.5-30.5 -25.5-75.5q0-75.5 52.25-129.75t 136.75-54.25q 75.5,0 117.75,41t 42.25,106.5q0,85 -34.25,144.5t-87.75,59.5q-30.5,0 -49-21.75t-11.5-52.25q 4-17.5 13.25-46.75t 15-51.5t 5.75-37.75q0-25 -13.5-41.5t-38.5-16.5 q-31,0 -52.5,28.5t-21.5,71q0,36.5 12.5,61l-49.5,209q-8.5,35 -6.5,88.5q-103-45.5 -166.5-140.5t-63.5-211.5q0-104.5 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"truck, transfer, transport\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,704q0-26 -19-45t-45-19t-45,19t-19,45t 19,45t 45,19t 45-19t 19-45zM 128,448l 192,0 l0-128 l-79,0 q-6.5,0 -11,4.5l-97.5,97.5q-4.5,4.5 -4.5,11l0,15 zM 768,704q0-26 -19-45t-45-19t-45,19t-19,45t 19,45t 45,19t 45-19t 19-45zM 896,160l0,512 q0,7.5 -2,13.25t-6.75,9.25 t-8.25,5.75t-11.75,3t-11.25,1t-12.75,0t-11.25-0.25q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-192,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-32,0 q-1.5,0 -11.25,0.25t-12.75,0t-11.25-1t-11.75-3t-8.25-5.75t-6.75-9.25t-2-13.25q0-13 9.5-22.5t 22.5-9.5l0-160 q0-4 -0.25-17.5t0-19 t 1.25-17.25t 3.25-18.5t 7-15.25t 11.25-15l 99-99q 9.5-9.5 25.25-16t 29.25-6.5l 80,0 l0-96 q0-13 9.5-22.5t 22.5-9.5l 512,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"magic, wand, wizard\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 595,290.5l 146.5-146.5l-53.5-53.5l-146.5,146.5zM 818.5,144q0,13.5 -9,22.5l-643,643q-9,9 -22.5,9t-22.5-9l-99-99q-9-9 -9-22.5t 9-22.5l 643-643q 9-9 22.5-9t 22.5,9l 99,99q 9,9 9,22.5zM 143,49l 49,15l-49,15l-15,49l-15-49l-49-15l 49-15l 15-49zM 318,130 l 98,30l-98,30l-30,98l-30-98l-98-30l 98-30l 30-98zM 783,369l 49,15l-49,15l-15,49l-15-49l-49-15l 49-15l 15-49zM 463,49l 49,15l-49,15l-15,49l-15-49l-49-15l 49-15l 15-49z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"table, grid\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 256,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 256,496l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5 l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 256,304l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,496l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 512,304l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,496l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,304l0-96 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 160,0 q 7,0 11.5-4.5t 4.5-11.5zM 832,144l0,544 q0,33 -23.5,56.5t-56.5,23.5l-672,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 672,0 q 33,0 56.5,23.5t 23.5,56.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"underline, editor, format\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 24,111.5q-18.5-1 -22.5-2l-1.5-44q 6.5-0.5 20-0.5q 30,0 56,2q 66,3.5 83,3.5q 43,0 84-1.5q 58-2 73-2.5q 28,0 43-1l-0.5,7l 1,32l0,4.5 q-30,4.5 -62,4.5q-30,0 -39.5,12.5q-6.5,7 -6.5,66q0,6.5 0.25,16.25t 0.25,12.75l 0.5,114.5l 7,140q 3,62 25.5,101q 17.5,29.5 48,46q 44,23.5 88.5,23.5 q 52,0 95.5-14q 28-9 49.5-25.5q 24-18 32.5-32q 18-28 26.5-57q 10.5-36.5 10.5-114.5q0-39.5 -1.75-64t-5.5-61.25t-6.75-79.75l-2-29.5q-2.5-33.5 -12-44q-17-17.5 -38.5-17l-50,1l-7-1.5l 1-43l 42,0 l 102.5,5q 38,1.5 98-5l 9,1q 3,19 3,25.5q0,3.5 -2,15.5q-22.5,6 -42,6.5q-36.5,5.5 -39.5,8.5q-7.5,7.5 -7.5,20.5 q0,3.5 0.75,13.5t 0.75,15.5q 4,9.5 11,198q 3,97.5 -7.5,152q-7.5,38 -20.5,61q-19,32.5 -56,61.5q-37.5,28.5 -91,44.5q-54.5,16.5 -127.5,16.5q-83.5,0 -142-23q-59.5-23.5 -89.5-61q-30.5-38 -41.5-97.5q-8-40 -8-118.5l0-166.5 q0-94 -8.5-106.5q-12.5-18 -73.5-19.5zM 768,816l0-32 q0-7 -4.5-11.5t-11.5-4.5l-736,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 q0,7 4.5,11.5t 11.5,4.5l 736,0 q 7,0 11.5-4.5t 4.5-11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"strikethrough, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 880,448q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-864,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 864,0 zM 241.5,416q-14-17.5 -25.5-40q-24-48.5 -24-94q0-90.5 67-154.5q 66.5-63.5 196.5-63.5q 25,0 83.5,9.5q 33,6 88.5,24q 5,19 10.5,59q 7,61.5 7,91.5q0,9 -2.5,22.5l-6,1.5l-42-3 l-7-1q-25-74.5 -51.5-102.5q-44-45.5 -105-45.5q-57,0 -91,29.5q-33.5,29 -33.5,73q0,36.5 33,70t 139.5,64.5q 34.5,10 86.5,33q 29,14 47.5,26l-371.5,0 zM 495,544l 205.5,0 q 3.5,19.5 3.5,46q0,55.5 -20.5,106q-11.5,27.5 -35.5,52q-18.5,17.5 -54.5,40.5q-40,24 -76.5,33q-40,10.5 -101.5,10.5q-57,0 -97.5-11.5 l-70-20q-28.5-8 -36-14q-4-4 -4-11l0-6.5 q0-54 -1-78q-0.5-15 0-34l 1-18.5l0-22 l 51-1q 7.5,17 15,35.5t 11.25,28t 6.25,13.5q 17.5,28.5 40,47q 21.5,18 52.5,28.5q 29.5,11 66,11q 32,0 69.5-13.5q 38.5-13 61-43q 23.5-30.5 23.5-64.5q0-42 -40.5-78.5q-17-14.5 -68.5-35.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list-ol, numbered list\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 190.5,810q0,40 -27.25,63t-67.75,23q-53,0 -86-33l 28.5-44q 24.5,22.5 53,22.5q 14.5,0 25.25-7.25t 10.75-21.25q0-32 -52.5-28l-13-28q 4-5 16.25-21.75t 21.25-27t 18.5-19.25l0-0.5 q-8,0 -24.25,0.5t-24.25,0.5l0,26.5 l-53,0 l0-76 l 166.5,0 l0,44 l-47.5,57.5q 25.5,6 40.5,24.5t 15,44zM 191.5,496.5l0,79.5 l-181,0 q-3-18 -3-27q0-25.5 11.75-46.5t 28.25-34t 33-23.75t 28.25-21.75t 11.75-22.5q0-12.5 -7.25-19.25t-19.75-6.75q-23,0 -40.5,29l-42.5-29.5q 12-25.5 35.75-39.75t 52.75-14.25q 36.5,0 61.5,20.75t 25,56.25q0,25 -17,45.75t-37.5,32.25t-37.75,25.25t-17.75,26.25l 63.5,0 l0-30 l 52.5,0 zM 896,656l0,96 q0,6.5 -4.75,11.25 t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-7 4.5-11.5t 11.5-4.5l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,206.5l0,49.5 l-167.5,0 l0-49.5 l 53.5,0 q0-20.5 0.25-61t 0.25-60.5l0-6 l-1,0 q-4,8.5 -25,27l-35.5-38l 68-63.5l 53,0 l0,202 l 54,0 zM 896,400l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75 t-4.75-11.25l0-96 q0-7 4.5-11.5t 11.5-4.5l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,144l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list-ul, bullets\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,704q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 192,448q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25 t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,192q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 896,400l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 896,144l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-608,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 608,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"reorder, list, menu\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 768,416l0,64 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 768,160l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"sign-blank, square\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"save, disk, floppy, store\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 192,768l 384,0 l0-192 l-384,0 l0,192 zM 640,768l 64,0 l0-448 q0-7 -5-19.25t-10-17.25l-140.5-140.5q-5-5 -17-10t-19.5-5l0,208 q0,20 -14,34t-34,14l-288,0 q-20,0 -34-14t-14-34l0-208 l-64,0 l0,640 l 64,0 l0-208 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,208 zM 448,304l0-160 q0-6.5 -4.75-11.25t-11.25-4.75 l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 768,320l0,464 q0,20 -14,34t-34,14l-672,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 464,0 q 20,0 44,10t 38,24l 140,140q 14,14 24,38t 10,44z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"paper-clip, attachment\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 702,692.5q0,58.5 -39.5,98t-98,39.5q-67.5,0 -117.5-50l-388.5-388q-56.5-57.5 -56.5-135.5q0-79.5 55-135t 134.5-55.5q 79,0 136.5,56.5l 302.5,303q 5,5 5,11q0,8 -15.25,23.25t-23.25,15.25q-6.5,0 -11.5-5l-303-303.5q-39.5-38.5 -90.5-38.5q-53,0 -89.5,37.5t-36.5,90.5q0,52.5 38,90.5 l 388,388.5q 31.5,31.5 72.5,31.5q 32,0 53-21t 21-53q0-41 -31.5-72.5l-290.5-290.5q-13-12 -30-12q-14.5,0 -24,9.5t-9.5,24q0,16 12.5,29.5l 205,205q 5,5 5,11q0,8 -15.5,23.5t-23.5,15.5q-6,0 -11-5l-205-205q-31.5-30.5 -31.5-74.5q0-41 28.5-69.5t 69.5-28.5q 44,0 74.5,31.5l 290.5,290.5q 50,49 50,117.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"copy, duplicate, paper, files\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 848,192q 20,0 34,14t 14,34l0,608 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-144 l-272,0 q-20,0 -34-14t-14-34l0-336 q0-20 10-44t 24-38l 204-204q 14-14 38-24t 44-10l 208,0 q 20,0 34,14t 14,34l0,164 q 34-20 64-20l 208,0 zM 576,298.5l-149.5,149.5l 149.5,0 l0-149.5 zM 256,106.5l-149.5,149.5 l 149.5,0 l0-149.5 zM 354,430l 158-158l0-208 l-192,0 l0,208 q0,20 -14,34t-34,14l-208,0 l0,320 l 256,0 l0-128 q0-20 10-44t 24-38zM 832,832l0-576 l-192,0 l0,208 q0,20 -14,34t-34,14l-208,0 l0,320 l 448,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"cut, scissors\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5zM 630,480l 253.5,199q 14,10 12.5,28q-2.5,17.5 -17.5,25.5l-64,32q-6.5,3.5 -14.5,3.5q-8.5,0 -15.5-4l-345-193.5l-55,33q-4,2 -6,2.5q 7,24.5 5,48.5q-3.5,38.5 -28,73.75t-66,61.75q-66,42 -138.5,42 q-68,0 -111-39q-45-42 -39.5-103.5q 3.5-38 28-73.5t 65.5-62q 66-42 139-42q 41.5,0 75.5,15.5q 4.5-6.5 11-11l 61-36.5l-61-36.5q-6.5-4.5 -11-11q-34,15.5 -75.5,15.5q-73,0 -139-42q-41-26.5 -65.5-62t-28-73.5q-2.5-29.5 7.75-56.5t 31.75-46.5q 42.5-39.5 111-39.5q 72.5,0 138.5,42q 41.5,26 66,61.5t 28,74 q 2,24 -5,48.5q 2,0.5 6,2.5l 55,33l 345-193.5q 7-4 15.5-4q 8,0 14.5,3.5l 64,32q 15,8 17.5,25.5q 1.5,18 -12.5,28zM 289.5,350q 23-21 10.5-54t-53-58.5q-46-29.5 -96-29.5q-37,0 -56.5,18q-23,21 -10.5,54t 53,58.5q 46,29.5 96,29.5q 37,0 56.5-18zM 247,722.5q 40.5-25.5 53-58.5t-10.5-54 q-19.5-18 -56.5-18q-50,0 -96,29.5q-40.5,25.5 -53,58.5t 10.5,54q 19.5,18 56.5,18q 50,0 96-29.5zM 336,416l 48,29l0-5.5 q0-18 16.5-28l 7-4l-39.5-23.5l-13,13q-1.5,1.5 -5,5.5t-6,6q-1,1 -2,1.75t-1.5,1.25zM 448,528l 48,16l 368-288l-64-32l-384,215.5l0,56.5 l-80,48l 4.5,4q 1,1 3.5,3 q 2,2 5.5,6t 5.5,6l 13,13zM 800,736l 64-32l-260-204l-88.5,69q-1,1.5 -6.5,3.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"beaker, lab, beta, experiment, test\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 763.5,724q 28,44.5 10.75,76.25t-70.25,31.75l-576,0 q-53,0 -70.25-31.75t 10.75-76.25l 251.5-396.5l0-199.5 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-32,0 l0,199.5 zM 374,361.5l-136,214.5l 356,0 l-136-214.5l-10-15.5l0-18.5 l0-199.5 l-64,0 l0,199.5 l0,18.5 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cloud, weather\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 960,576q0,79.5 -56.25,135.75t-135.75,56.25l-544,0 q-92.5,0 -158.25-65.75t-65.75-158.25q0-66 35.5-120.75t 93.5-81.75q-1-14 -1-21.5q0-106 75-181t 181-75q 79,0 143.25,44t 93.75,115q 35-31 83-31q 53,0 90.5,37.5t 37.5,90.5q0,37.5 -20.5,69q 64.5,15 106.5,67.25t 42,119.75z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"link, chain, anchor\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 728,608q0-20 -14-34l-104-104q-14-14 -34-14q-21,0 -36,16q 1.5,1.5 9.5,9.25t 10.75,10.75t 7.5,9.5t 6.5,12.75t 1.75,13.75q0,20 -14,34t-34,14q-7.5,0 -13.75-1.75t-12.75-6.5t-9.5-7.5t-10.75-10.75t-9.25-9.5q-16.5,15.5 -16.5,36.5q0,20 14,34l 103,103.5q 13.5,13.5 34,13.5q 20,0 34-13 l 73.5-73q 14-14 14-33.5zM 376.5,255.5q0-20 -14-34l-103-103.5q-14-14 -34-14q-19.5,0 -34,13.5l-73.5,73q-14,14 -14,33.5q0,20 14,34l 104,104q 13.5,13.5 34,13.5q 21,0 36-15.5q-1.5-1.5 -9.5-9.25t-10.75-10.75t-7.5-9.5t-6.5-12.75t-1.75-13.75q0-20 14-34t 34-14q 7.5,0 13.75,1.75t 12.75,6.5t 9.5,7.5 t 10.75,10.75t 9.25,9.5q 16.5-15.5 16.5-36.5zM 824,608q0,60 -42.5,101.5l-73.5,73q-41.5,41.5 -101.5,41.5q-60.5,0 -102-42.5l-103-103.5q-41.5-41.5 -41.5-101.5q0-61.5 44-104.5l-44-44q-43,44 -104,44q-60,0 -102-42l-104-104q-42-42 -42-102t 42.5-101.5l 73.5-73q 41.5-41.5 101.5-41.5q 60.5,0 102,42.5l 103,103.5 q 41.5,41.5 41.5,101.5q0,61.5 -44,104.5l 44,44q 43-44 104-44q 60,0 102,42l 104,104q 42,42 42,102z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"group, people, users, team, members, community\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 296.5,448q-81,2.5 -132.5,64l-67,0 q-41,0 -69-20.25t-28-59.25q0-176.5 62-176.5q 3,0 21.75,10.5t 48.75,21.25t 59.5,10.75q 33.5,0 66.5-11.5q-2.5,18.5 -2.5,33q0,69.5 40.5,128zM 832,766.5q0,60 -36.5,94.75t-97,34.75l-437,0 q-60.5,0 -97-34.75t-36.5-94.75q0-26.5 1.75-51.75t 7-54.5t 13.25-54.25 t 21.5-48.75t 31-40.5t 42.75-26.75t 55.75-10q 5,0 21.5,10.75t 36.5,24t 53.5,24t 67.5,10.75t 67.5-10.75t 53.5-24t 36.5-24t 21.5-10.75q 30.5,0 55.75,10t 42.75,26.75t 31,40.5t 21.5,48.75t 13.25,54.25t 7,54.5t 1.75,51.75zM 320,128q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5 t 37.5,90.5zM 672,320q0,79.5 -56.25,135.75t-135.75,56.25t-135.75-56.25t-56.25-135.75t 56.25-135.75t 135.75-56.25t 135.75,56.25t 56.25,135.75zM 960,432.5q0,39 -28,59.25t-69,20.25l-67,0 q-51.5-61.5 -132.5-64q 40.5-58.5 40.5-128q0-14.5 -2.5-33q 33,11.5 66.5,11.5q 29.5,0 59.5-10.75t 48.75-21.25 t 21.75-10.5q 62,0 62,176.5zM 896,128q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"fullscreen, maximize, expand, enlarge\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 641.5,270.5l-177.5,177.5l 177.5,177.5l 72-72q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5l0,224 q0,13 -9.5,22.5t-22.5,9.5l-224,0 q-21,0 -29.5-20q-8.5-19.5 7-34.5l 72-72l-177.5-177.5l-177.5,177.5l 72,72q 15.5,15 7,34.5q-8.5,20 -29.5,20l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-21 20-29.5q 19.5-8.5 34.5,7l 72,72 l 177.5-177.5l-177.5-177.5l-72,72q-9.5,9.5 -22.5,9.5q-6,0 -12-2.5q-20-8.5 -20-29.5l0-224 q0-13 9.5-22.5t 22.5-9.5l 224,0 q 21,0 29.5,20q 8.5,19.5 -7,34.5l-72,72l 177.5,177.5l 177.5-177.5l-72-72q-15.5-15 -7-34.5q 8.5-20 29.5-20l 224,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13,0 -22.5-9.5z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"briefcase, suitcase, work, portfolio\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,128l 256,0 l0-64 l-256,0 l0,64 zM 896,448l0,240 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-240 l 336,0 l0,80 q0,13 9.5,22.5t 22.5,9.5l 160,0 q 13,0 22.5-9.5t 9.5-22.5l0-80 l 336,0 zM 512,448l0,64 l-128,0 l0-64 l 128,0 zM 896,208l0,192 l-896,0 l0-192 q0-33 23.5-56.5t 56.5-23.5l 176,0 l0-80 q0-20 14-34 t 34-14l 288,0 q 20,0 34,14t 14,34l0,80 l 176,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"filter\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 701.5,147.5q 8.5,20.5 -7,35l-246.5,246.5l0,371 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5l0-243 l-246.5-246.5q-15.5-14.5 -7-35q 8.5-19.5 29.5-19.5l 640,0 q 21,0 29.5,19.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"tasks, bars\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,704l 320,0 l0-64 l-320,0 l0,64 zM 320,448l 512,0 l0-64 l-512,0 l0,64 zM 640,192l 192,0 l0-64 l-192,0 l0,64 zM 896,608l0,128 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,352l0,128 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5 t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,96l0,128 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"wrench, took, fix, preferences, settings, options\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 192,736q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 514,526l-341,341q-18.5,18.5 -45,18.5q-26,0 -45.5-18.5l-53-54q-19-18 -19-45q0-26.5 19-45.5l 340.5-340.5q 19.5,49 57.25,86.75t 86.75,57.25zM 831,308.5q0,19.5 -11.5,53q-23.5,67 -82.25,108.75 t-129.25,41.75q-92.5,0 -158.25-65.75t-65.75-158.25t 65.75-158.25t 158.25-65.75q 29,0 60.75,8.25t 53.75,23.25q 8,5.5 8,14t-8,14l-146.5,84.5l0,112 l 96.5,53.5q 2.5-1.5 39.5-24.25t 67.75-40.5t 35.25-17.75q 7.5,0 11.75,5t 4.25,12.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"globe, earth, universal, language, localization\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,64q 104.5,0 192.75,51.5t 139.75,139.75t 51.5,192.75t-51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5zM 521,324.5q-1,0.5 -4.75,4.75t-6.75,4.75q 1,0 2.25-2.5t 2.5-5.5t 1.75-3.5q 3-3.5 11-7.5q 7-3 26-6q 17-4 25.5,5.5 q-1-1 4.75-6.5t 7.25-6q 1.5-1 7.5-2.25t 7.5-3.75l 1-11q-6,0.5 -8.75-3.5t-3.25-10.5q0,1 -3,4q0-3.5 -2.25-4t-5.75,0.5t-4.5,0.5q-5-1.5 -7.5-3.75t-4-8.25t-2-7.5q-1-2.5 -4.75-5.25t-4.75-5.25q-0.5-1 -1.25-2.75t-1.5-3.25t-2-2.75t-2.75-1.25t-3.5,2.5t-3.75,5t-2.25,2.5q-1.5-1 -3-0.75t-2.25,0.5t-2.25,1.5t-2.5,1.75 q-1.5,1 -4.25,1.5t-4.25,1q 7.5-2.5 -0.5-5.5q-5-2 -8-1.5q 4.5-2 3.75-6t-4.25-7l 2.5,0 q-0.5-2 -4.25-4.25t-8.75-4.25t-6.5-3q-4-2.5 -17-4.75t-16.5-0.25q-2.5,3 -2.25,5.25t 2,7t 1.75,6.25q 0.5,3 -2.75,6.5t-3.25,6q0,3.5 7,7.75t 5,10.75q-1.5,4 -8,8t-8,6q-2.5,4 -0.75,9.25t 5.25,8.25 q 1,1 0.75,2t-1.75,2.25t-2.75,2t-3.25,1.75l-1.5,1q-5.5,2.5 -10.25-3t-6.75-13q-3.5-12.5 -8-15q-11.5-4 -14.5,0.5q-2.5-6.5 -20.5-13q-12.5-4.5 -29-2q 3-0.5 0-7.5q-3.5-7.5 -9.5-6q 1.5-3 2-8.75t 0.5-6.75q 1.5-6.5 6-11.5q 0.5-0.5 3.5-4.25t 4.75-6.75t 0.25-3q 17.5,2 25-5.5q 2.5-2.5 5.75-8.5t 5.25-8.5q 4.5-3 7-2.75t 7.25,2.75 t 7.25,2.5q 7,0.5 7.75-5.5t-3.75-10q 6,0.5 1.5-8.5q-2.5-3.5 -4-4.5q-6-2 -13.5,2.5q-4,2 1,4q-0.5-0.5 -4.75,5.25t-8.25,8.75t-8-2.5q-0.5-0.5 -2.75-6.75t-4.75-6.75q-4,0 -8,7.5q 1.5-4 -5.5-7.5t-12-4q 9.5-6 -4-13.5q-3.5-2 -10.25-2.5t-9.75,2q-2.5,3.5 -2.75,5.75t 2.5,4t 5.25,2.75t 5.75,2t 4.25,1.5 q 7,5 4,7q-1,0.5 -4.25,1.75t-5.75,2.25t-3,2q-1.5,2 0,7t-1,7q-2.5-2.5 -4.5-8.75t-3.5-8.25q 3.5,4.5 -12.5,3l-5-0.5q-2,0 -8,1t-10.25,0.5t-6.75-4q-2-4 0-10q 0.5-2 2-1q-2-1.5 -5.5-4.75t-5-4.25q-23,7.5 -47,20.5q 3,0.5 6-0.5q 2.5-1 6.5-3.25t 5-2.75q 17-7 21-3.5l 2.5-2.5q 7,8 10,12.5 q-3.5-2 -15-0.5q-10,3 -11,6q 3.5,6 2.5,9q-2-1.5 -5.75-5t-7.25-5.5t-7.5-2.5q-8,0 -11,0.5q-73,40 -117.5,111q 3.5,3.5 6,4q 2,0.5 2.5,4.5t 1.25,5.5t 5.75-1.5q 4.5,4 1.5,9.5q 0.5-0.5 22,13.5q 9.5,8.5 10.5,10.5q 1.5,5.5 -5,9q-0.5-1 -4.5-4.5t-4.5-2q-1.5,2.5 0.25,9.25t 5.25,6.25q-3.5,0 -4.75,8t-1.25,17.75 t-0.5,11.75l 1,0.5q-1.5,6 2.75,17.25t 10.75,9.75q-6.5,1.5 10,21.5q 3,4 4,4.5q 1.5,1 6,3.75t 7.5,5t 5,5.25q 2,2.5 5,11.25t 7,11.75q-1,3 4.75,10t 5.25,11.5q-0.5,0 -1.25,0.5t-1.25,0.5q 1.5,3.5 7.75,7t 7.75,6.5q 0.5,1.5 1,5t 1.5,5.5t 4,1q 1-10 -12-31q-7.5-12.5 -8.5-14.5q-1.5-2.5 -2.75-7.75 t-2.25-7.25q 1,0 3,0.75t 4.25,1.75t 3.75,2t 1,1.5q-1.5,3.5 1,8.75t 6,9.25t 8.5,9.5t 6,6.5q 3,3 7,9.75t0,6.75q 4.5,0 10,5t 8.5,10q 2.5,4 4,13t 2.5,12q 1,3.5 4.25,6.75t 6.25,4.75l 8,4t 6.5,3.5q 2.5,1 9.25,5.25t 10.75,5.75q 5,2 8,2t 7.25-1.25t 6.75-1.75q 7.5-1 14.5,7.5t 10.5,10.5 q 18,9.5 27.5,5.5q-1,0.5 0.25,3.75t 4,7.75t 4.5,7.25t 2.75,4.25q 2.5,3 9,7.5t 9,7.5q 3-2 3.5-4.5q-1.5,4 3.5,10t 9,5q 7-1.5 7-16q-15.5,7.5 -24.5-9q0-0.5 -1.25-2.75t-2-4.25t-1.25-4.25t0-3.75t 2.5-1.5q 4.5,0 5-1.75t-1-6.25t-2-6.5q-0.5-4 -5.5-10t-6-7.5q-2.5,4.5 -8,4t-8-4.5q0,0.5 -0.75,2.75t-0.75,3.25 q-6.5,0 -7.5-0.5q 0.5-1.5 1.25-8.75t 1.75-11.25q 0.5-2 2.75-6t 3.75-7.25t 2-6.25t-2.25-4.75t-8.75-1.25q-9.5,0.5 -13,10q-0.5,1.5 -1.5,5.25t-2.5,5.75t-4.5,3.5q-3.5,1.5 -12,1t-12-2.5q-6.5-4 -11.25-14.5t-4.75-18.5q0-5 1.25-13.25t 1.5-12.5t-2.75-12.25q 1.5-1 4.5-4.75t 5-5.25q 1-0.5 2.25-0.75t 2.25,0t 2-0.75t 1.5-3q-0.5-0.5 -2-1.5 q-1.5-1.5 -2-1.5q 3.5,1.5 14.25-0.75t 13.75,0.75q 7.5,5.5 11-1q0-0.5 -1.25-4.75t-0.25-6.75q 2.5,13.5 14.5,4.5q 1.5,1.5 7.75,2.5t 8.75,2.5q 1.5,1 3.5,2.75t 2.75,2.25t 2.5-0.25t 4.25-3.25q 5,7 6,12q 5.5,20 9.5,22q 3.5,1.5 5.5,1t 2.25-4.75t0-7t-0.75-6.25l-0.5-4l0-9 l-0.5-4q-7.5-1.5 -9.25-6t 0.75-9.25t 7.5-9.25q 0.5-0.5 4-1.75 t 7.75-3.25t 6.25-4q 10.5-9.5 7.5-17.5q 3.5,0 5.5-4.5q-0.5,0 -2.5-1.5t-3.75-2.5t-2.25-1q 4.5-2.5 1-8q 2.5-1.5 3.75-5.5t 3.75-5q 4.5,6 10.5,1q 3.5-4 0.5-8q 2.5-3.5 10.25-5.25t 9.25-4.75q 3.5,1 4-1t 0.5-6t 1.5-6q 2-2.5 7.5-4.5t 6.5-2.5l 8.5-5.5q 1.5-2 0-2q 9,1 15.5-5.5q 5-5.5 -3-10q 1.5-3 -1.5-4.75t-7.5-2.75q 1.5-0.5 5.75-0.25t 5.25-0.75 q 7.5-5 -3.5-8q-8.5-2.5 -21.5,6zM 439.5,763q 103-18 175.5-94.5q-1.5-1.5 -6.25-2.25t-6.25-1.75q-9-3.5 -12-4q 0.5-3.5 -1.25-6.5t-4-4.5t-6.25-4t-5.5-3.5q-1-1 -3.5-3t-3.5-2.75t-3.75-2.25t-4.25-1t-5,0.5l-1.5,0.5q-1.5,0.5 -2.75,1.25t-2.75,1.5t-2,1.5t0,1.25q-10.5-8.5 -18-11q-2.5-0.5 -5.5-2.75t-5.25-3.5t-5-0.75t-5.75,3.5 q-2.5,2.5 -3,7.5t-1,6.5q-3.5-2.5 0-8.75t 1-9.25q-1.5-3 -5.25-2.25t-6,2.25t-5.75,4.25t-4.5,3.25t-4.25,2.75t-4.25,3.75q-1.5,2 -3,6t-2.5,5.5q-1-2 -5.75-3.25t-4.75-2.75q 1,5 2,17.5t 2.5,19q 3.5,15.5 -6,24q-13.5,12.5 -14.5,20q-2,11 6,13q0,3.5 -4,10.25t-3.5,10.75q0,3 1,8z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-down, download, arrow, bottom\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642,448.5q0-13.5 -9-22.5l-45.5-45.5q-9-9 -22.5-9t-22.5,9l-94.5,94.5l0-251 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,251 l-94.5-94.5q-9.5-9.5 -22.5-9.5t-22.5,9.5l-45.5,45.5q-9,9 -9,22.5t 9,22.5l 181,181l 45.5,45.5q 9,9 22.5,9t 22.5-9l 45.5-45.5l 181-181q 9-9 9-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-up, upload, arrow, top\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642,447.5q0-13.5 -9-22.5l-181-181l-45.5-45.5q-9-9 -22.5-9t-22.5,9l-45.5,45.5l-181,181q-9,9 -9,22.5t 9,22.5l 45.5,45.5q 9,9 22.5,9t 22.5-9l 94.5-94.5l0,251 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-251 l 94.5,94.5q 9.5,9.5 22.5,9.5t 22.5-9.5l 45.5-45.5q 9-9 9-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-right, right, arrow, next\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642.5,448q0-13.5 -9-22.5l-45.5-45.5l-181-181q-9-9 -22.5-9t-22.5,9l-45.5,45.5q-9,9 -9,22.5t 9,22.5l 94.5,94.5l-251,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 251,0 l-94.5,94.5q-9.5,9.5 -9.5,22.5t 9.5,22.5l 45.5,45.5q 9,9 22.5,9t 22.5-9l 181-181l 45.5-45.5q 9-9 9-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"circle-arrow-left, left, arrow, previous\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-251,0 l 94.5-94.5q 9.5-9.5 9.5-22.5t-9.5-22.5l-45.5-45.5q-9-9 -22.5-9t-22.5,9l-181,181l-45.5,45.5q-9,9 -9,22.5t 9,22.5l 45.5,45.5l 181,181q 9,9 22.5,9t 22.5-9l 45.5-45.5q 9-9 9-22.5t-9-22.5l-94.5-94.5l 251,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"hand-down, down, bottom, point\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,480q0-42 -16-91.5t-32-97t-16-83.5l0-16 l-320,0 l0,16 q0,17.5 -6,33.75t-18.5,31.25t-23,25t-27,24.5q-4.5,4 -7,6q-40.5,36 -72.5,56q-11,7 -34,19q-1.5,0.5 -11.25,5.25t-18,9.25t-17.75,10t-15.25,10.75t-5.75,9.25q0,35.5 15.25,57.75t 48.75,22.25q 21.5,0 42.25-7.5t 34-16.5 t 27.5-16.5t 24.25-7.5l0,288 q0,25 19.25,44.5t 44.75,19.5q 26,0 45-19t 19-45l0-165.5 q 23,17.5 51.5,17.5q 34.5,0 59.5-26.5q 16,9 34.5,9t 36.75-8.75t 26.25-23.75q 12,2 28,2q 42.5,0 63-24.25t 20.5-67.75zM 640,96q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 768,478 q0,71 -38.75,115t-108.75,43.5l-2.5-0.5q-38,30.5 -89,30.5q-11,0 -21.5-1.5q-27,15 -59.5,18.5l0,84.5 q0,52.5 -38,90.25t-90.5,37.75q-51.5,0 -89.5-38t-38-90l0-187 q-27,11 -64,11q-60.5,0 -94.25-40.75t-33.75-103.25q0-19 8.75-34.75t 24.75-27.5t 31.5-20.25t 36-18.5t 31-16.5q 27.5-17.5 64.5-50 q 1.5-1 8.5-7t 10.75-9.5t 10.75-10.25t 11.25-12t 9-11.25t 7-11.75t 2.25-10.75l0-144 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,144 q0,29.5 29.5,111.5q 34.5,95 34.5,158.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"hand-up, up, top, point\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,800q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,418q0-94.5 -83.5-94.5q-13,0 -28,2.5q-8-15 -26.25-23.75t-36.75-8.75t-34.5,9q-25-26.5 -59.5-26.5q-12.5,0 -27.75,5t-23.75,12.5l0-165.5 q0-26 -19-45t-45-19q-25.5,0 -44.75,19.5t-19.25,44.5l0,288 q-10,0 -24.25-7.5t-27.5-16.5t-34-16.5t-42.25-7.5q-33.5,0 -48.75,22.25t-15.25,57.75q0,12 69.5,45q 22,12 32.5,18.5q 32,20 72.5,56q 40.5,35.5 53,50.5q 28.5,34.5 28.5,70l0,16 l 320,0 l0-16 q0-36 16-83.5t 32-96.75t 16-89.75zM 768,415.5q0,66.5 -34.5,161q-29.5,82 -29.5,111.5l0,144 q0,26.5 -18.75,45.25 t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-144 q0-5 -2.25-10.75t-7-11.75t-9-11.25t-11.25-12t-10.75-10.25t-10.75-9.5t-8.5-7q-37-32.5 -64.5-50q-10.5-6.5 -31-16.5t-36-18.5t-31.5-20.25t-24.75-27.5t-8.75-34.75q0-62.5 33.5-103.25t 94.5-40.75q 34,0 64,11l0-187 q0-52 38-90t 89.5-38 q 52.5,0 90.5,37.75t 38,90.25l0,84.5 q 31,2 59.5,18.5q 10.5-1.5 21.5-1.5q 50.5,0 89,30q 69.5-0.5 109.75,42.5t 40.25,113.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"hand-left, point, left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 688,704l 16,0 l0-320 l-16,0 q-17.5,0 -33.75-6t-31.25-18.5t-25-23t-24.5-27q-1-1.5 -1.75-2.25t-2-2.25t-2.25-2.5q-36-40.5 -56-72.5q-7-11 -19-34q-0.5-1.5 -5.25-11.25t-9.25-18t-10-17.75t-10.75-15.25t-9.25-5.75q-35.5,0 -57.75,15.25t-22.25,48.75q0,21.5 7.5,42.25t 16.5,34t 16.5,27.5t 7.5,24.25l-288,0 q-25,0 -44.5,19.25t-19.5,44.75q0,26 19,45t 45,19l 165.5,0 q-7.5,8.5 -12.5,23.75t-5,27.75q0,34.5 26.5,59.5q-9,16 -9,34.5t 8.75,36.75t 23.75,26.25q-2,12 -2,28q0,42.5 24.25,63t 67.75,20.5q 42,0 91.5-16t 97-32t 83.5-16zM 832,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5 t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 896,384l0,320 q0,26.5 -18.75,45.25t-45.25,18.75l-144,0 q-29.5,0 -111.5,29.5q-95,34.5 -158.5,34.5q-71,0 -115-38.75t-43.5-108.75l 0.5-2.5q-30.5-38 -30.5-89q0-11 1.5-21.5q-16.5-28.5 -18.5-59.5l-84.5,0 q-52.5,0 -90.25-38t-37.75-90.5q0-51.5 38-89.5t 90-38l 187,0 q-11-30 -11-64 q0-61 40.75-94.5t 103.25-33.5q 19,0 34.75,8.75t 27.5,24.75t 20.25,31.5t 18.5,36t 16.5,31q 17.5,27.5 50,64.5q 1,1.5 7,8.5t 9.5,10.75t 10.25,10.75t 12,11.25t 11.25,9t 11.75,7t 10.75,2.25l 144,0 q 26.5,0 45.25,18.75t 18.75,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"hand-right, point, right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,384q0-25.5 -19.5-44.75t-44.5-19.25l-288,0 q0-10 7.5-24.25t 16.5-27.5t 16.5-34t 7.5-42.25q0-33.5 -22.25-48.75t-57.75-15.25q-12,0 -45,69.5q-12,22 -18.5,32.5q-20,32 -56,72.5q-35.5,40.5 -50.5,53 q-34.5,28.5 -70,28.5l-16,0 l0,320 l 16,0 q 36,0 83.5,16t 96.75,32t 89.75,16q 94.5,0 94.5-83.5q0-13 -2.5-28q 15-8 23.75-26.25t 8.75-36.75t-9-34.5q 26.5-25 26.5-59.5q0-12.5 -5-27.75t-12.5-23.75l 165.5,0 q 26,0 45-19t 19-45zM 896,383.5q0,52.5 -37.75,90.5t-90.25,38l-84.5,0 q-2,31 -18.5,59.5q 1.5,10.5 1.5,21.5 q0,50.5 -30,89q 0.5,69.5 -42.5,109.75t-113.5,40.25q-66.5,0 -161-34.5q-82-29.5 -111.5-29.5l-144,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 144,0 q 5,0 10.75-2.25t 11.75-7t 11.25-9t 12-11.25t 10.25-10.75t 9.5-10.75t 7-8.5q 32.5-37 50-64.5q 6.5-10.5 16.5-31t 18.5-36t 20.25-31.5t 27.5-24.75 t 34.75-8.75q 62.5,0 103.25,33.5t 40.75,94.5q0,34 -11,64l 187,0 q 52,0 90,38t 38,89.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"certificate, starburst\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 688,448l 69,67.5q 15,14 10,35q-6,20.5 -26,25.5l-94,24l 26.5,93q 6,20.5 -9.5,35q-14.5,15.5 -35,9.5l-93-26.5l-24,94q-5,20 -25.5,26q-6,1 -9.5,1q-15.5,0 -25.5-11l-67.5-69l-67.5,69q-14,15 -35,10q-20.5-5.5 -25.5-26l-24-94l-93,26.5q-20.5,6 -35-9.5q-15.5-14.5 -9.5-35 l 26.5-93l-94-24q-20-5 -26-25.5q-5-21 10-35l 69-67.5l-69-67.5q-15-14 -10-35q 6-20.5 26-25.5l 94-24l-26.5-93q-6-20.5 9.5-35q 14.5-15.5 35-9.5l 93,26.5l 24-94q 5-20.5 25.5-25.5q 20.5-6 35,9.5l 67.5,69.5l 67.5-69.5q 14.5-15 35-9.5q 20.5,5 25.5,25.5l 24,94l 93-26.5q 20.5-6 35,9.5q 15.5,14.5 9.5,35 l-26.5,93l 94,24q 20,5 26,25.5q 5,21 -10,35z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"bell, alarm, notification\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 424,848q0-8 -8-8q-29.5,0 -50.75-21.25t-21.25-50.75q0-8 -8-8t-8,8q0,36.5 25.75,62.25t 62.25,25.75q 8,0 8-8zM 91.5,704l 649,0 q-82-90.5 -123.25-205.75t-41.25-242.25q0-128 -160-128t-160,128q0,127 -41.25,242.25t-123.25,205.75zM 832,704q0,26 -19,45t-45,19 l-224,0 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l-224,0 q-26,0 -45-19t-19-45q 95-80.5 143.5-198.75t 48.5-249.25q0-82.5 48-131t 132-58.5q-4-9 -4-18.5q0-20 14-34t 34-14t 34,14t 14,34q0,9.5 -4,18.5q 84,10 132,58.5t 48,131q0,131 48.5,249.25t 143.5,198.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"bullhorn, megaphone, announcement, advertisement\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,320q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75l0,192 q0,26 -19,45t-45,19q-208.5-173.5 -406-190q-29,9.5 -45.5,33t-15.5,50.25t 20,46.25q-10,16.5 -11.5,32.75t 3,29t 16.75,27.5t 24,25t 30.75,25.25q-14.5,29 -55.75,41.5t-84.25,5.75t-66-27.75q-3.5-11.5 -14.75-43.75 t-16-47.25t-11.5-44.5t-7.5-50.5t 1.75-49.25t 11-55.25l-61,0 q-33,0 -56.5-23.5t-23.5-56.5l0-96 q0-33 23.5-56.5t 56.5-23.5l 240,0 q 217.5,0 448-192q 26,0 45,19t 19,45l0,192 zM 768,622l0-477 q-197,151 -384,171.5l0,135 q 188.5,21 384,170.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"hdd, drive, disk, storage, hard disk\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 520,608q0,16.5 -11.75,28.25t-28.25,11.75t-28.25-11.75t-11.75-28.25t 11.75-28.25t 28.25-11.75t 28.25,11.75t 11.75,28.25zM 648,608q0,16.5 -11.75,28.25t-28.25,11.75t-28.25-11.75t-11.75-28.25t 11.75-28.25t 28.25-11.75t 28.25,11.75t 11.75,28.25zM 704,688l0-160 q0-6.5 -4.75-11.25t-11.25-4.75 l-608,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 608,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 89,448l 590,0 l-78.5-241q-2-6.5 -8-10.75t-13-4.25l-391,0 q-7,0 -13,4.25t-8,10.75zM 768,528l0,160 q0,33 -23.5,56.5t-56.5,23.5l-608,0 q-33,0 -56.5-23.5t-23.5-56.5l0-160 q0-12.5 8-37.5 l 98.5-303q 8.5-26.5 31.5-43t 50.5-16.5l 391,0 q 27.5,0 50.5,16.5t 31.5,43l 98.5,303q 8,25 8,37.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"rss, atom, feed\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,672q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 448,733.5q 1,14 -8.5,24q-9,10.5 -23.5,10.5l-67.5,0 q-12.5,0 -21.5-8.25t-10-20.75q-11-114.5 -92.25-195.75t-195.75-92.25q-12.5-1 -20.75-10t-8.25-21.5l0-67.5 q0-14.5 10.5-23.5q 8.5-8.5 21.5-8.5l 2.5,0 q 80,6.5 153,40.25 t 129.5,90.75q 57,56.5 90.75,129.5t 40.25,153zM 704,734.5q 1,13.5 -9,23.5q-9,10 -23,10l-71.5,0 q-13,0 -22.25-8.75t-9.75-21.25q-6-107.5 -50.5-204.25t-115.75-168t-168-115.75t-204.25-51q-12.5-0.5 -21.25-9.75t-8.75-21.75l0-71.5 q0-14 10-23q 9-9 22-9l 1.5,0 q 131,6.5 250.75,60t 212.75,147 q 93.5,93 147,212.75t 60,250.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"credit, payment, card\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 880,64q 33,0 56.5,23.5t 23.5,56.5l0,608 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 800,0 zM 80,128q-6.5,0 -11.25,4.75t-4.75,11.25l0,112 l 832,0 l0-112 q0-6.5 -4.75-11.25t-11.25-4.75l-800,0 zM 880,768q 6.5,0 11.25-4.75t 4.75-11.25l0-304 l-832,0 l0,304 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 zM 128,704l0-64 l 128,0 l0,64 l-128,0 zM 320,704l0-64 l 192,0 l0,64 l-192,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"unlock\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,288l0,128 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5l0,96 l 48,0 q 20,0 34,14t 14,34l0,288 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-288 q0-20 14-34t 34-14l 336,0 l0-96 q0-92.5 65.75-158.25t 158.25-65.75 t 158.25,65.75t 65.75,158.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"github, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,125.5 -73.25,225.75t-189.25,138.75q-13.5,2.5 -19.75-3.5t-6.25-15l0-105.5 q0-48.5 -26-71q 28.5-3 51.25-9t 47-19.5t 40.5-33.25t 26.5-52.5t 10.25-75.25q0-60.5 -39.5-103q 18.5-45.5 -4-102q-14-4.5 -40.5,5.5t-46,22l-19,12q-46.5-13 -96-13t-96,13q-8-5.5 -21.25-13.5t-41.75-19.25t-43-6.75 q-22,56.5 -3.5,102q-39.5,42.5 -39.5,103q0,42.5 10.25,75t 26.25,52.5t 40.25,33.5t 47,19.5t 51.25,9q-20,18 -24.5,51.5q-10.5,5 -22.5,7.5t-28.5,2.5t-32.75-10.75t-27.75-31.25q-9.5-16 -24.25-26t-24.75-12l-10-1.5q-10.5,0 -14.5,2.25t-2.5,5.75t 4.5,7t 6.5,6l 3.5,2.5q 11,5 21.75,19t 15.75,25.5l 5,11.5 q 6.5,19 22,30.75t 33.5,15t 34.75,3.5t 27.75-1.75l 11.5-2q0,19 0.25,44.5t 0.25,27q0,9 -6.5,15t-20,3.5q-116-38.5 -189.25-138.75t-73.25-225.75q0-104.5 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"facebook, social\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 255.5,278l 128.5,0 l-15,142l-113.5,0 l0,412 l-170.5,0 l0-412 l-85,0 l0-142 l 85,0 l0-85.5 q0-91 43-137.75t 141.5-46.75l 113.5,0 l0,142 l-71,0 q-19.5,0 -31.25,3.25t-17,11.75t-6.75,17.25t-1.5,24.75l0,71 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"twitter, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 810,204q-33.5,49 -81,83.5q 0.5,7 0.5,21q0,65 -19,129.75t-57.75,124.25t-92.25,105.25t-129,73t-161.5,27.25q-135.5,0 -248-72.5q 17.5,2 39,2q 112.5,0 200.5-69q-52.5-1 -94-32.25t-57-79.75q 16.5,2.5 30.5,2.5q 21.5,0 42.5-5.5q-56-11.5 -92.75-55.75t-36.75-102.75l0-2 q 34,19 73,20.5 q-33-22 -52.5-57.5t-19.5-77q0-44 22-81.5q 60.5,74.5 147.25,119.25t 185.75,49.75q-4-19 -4-37q0-67 47.25-114.25t 114.25-47.25q 70,0 118,51q 54.5-10.5 102.5-39q-18.5,57.5 -71,89q 46.5-5 93-25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"phone-sign, contact, talk, voice\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,596.5q0-5.5 -1-8q-1.5-4 -19.25-14.75t-44.25-24.75l-26.5-14.5q-2.5-1.5 -9.5-6.5t-12.5-7.5t-10.5-2.5q-9,0 -23.5,16.25t-28.5,32.75t-22,16.5q-3.5,0 -8.25-1.75t-7.75-3.25t-8.5-4.75t-7-4.25q-49.5-27.5 -85.25-63.25t-63.25-85.25q-1-1.5 -4.25-7t-4.75-8.5t-3.25-7.75t-1.75-8.25q0-6.5 10.25-16.75t 22.5-19.25 t 22.5-19.75t 10.25-18.25q0-5 -2.5-10.5t-7.5-12.5t-6.5-9.5q-1.5-3 -7.5-14.25t-12.5-22.75t-13.25-23.75t-12.5-20.25t-8.25-9t-8-1q-24,0 -50.5,11q-23,10.5 -40,47.25t-17,65.25q0,8 1.25,17t 2.5,15.25t 4.5,16.5t 5,14.75t 6.25,16.5t 5.5,15q 30,82 108.25,160.25t 160.25,108.25q 3,1 15,5.5t 16.5,6.25 t 14.75,5t 16.5,4.5t 15.25,2.5t 17,1.25q 28.5,0 65.25-17t 47.25-40q 11-26.5 11-50.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"bookmark-empty\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 576,128l-512,0 l0,621 l 211.5-203l 44.5-42.5l 44.5,42.5l 211.5,203l0-621 zM 582,64q 11.5,0 22,4.5q 16.5,6.5 26.25,20.5t 9.75,31l0,644.5 q0,17 -9.75,31t-26.25,20.5q-9.5,4 -22,4q-24,0 -41.5-16l-220.5-212l-220.5,212q-18,16.5 -41.5,16.5q-11.5,0 -22-4.5q-16.5-6.5 -26.25-20.5t-9.75-31l0-644.5 q0-17 9.75-31t 26.25-20.5q 10.5-4.5 22-4.5l 524,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"check-empty, checkbox, square\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 560,128l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-416 q0-33 -23.5-56.5t-56.5-23.5zM 704,208l0,416 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"phone, contact, talk, voice\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,620q0,13.5 -5,35.25t-10.5,34.25q-10.5,25 -61,53q-47,25.5 -93,25.5q-13.5,0 -26.25-1.75t-28.75-6.25t-23.75-7.25t-27.75-10.25t-24.5-9q-49-17.5 -87.5-41.5q-64-39.5 -132.25-107.75t-107.75-132.25q-24-38.5 -41.5-87.5q-1.5-4.5 -9-24.5t-10.25-27.75t-7.25-23.75t-6.25-28.75t-1.75-26.25 q0-46 25.5-93q 28-50.5 53-61q 12.5-5.5 34.25-10.5t 35.25-5q 7,0 10.5,1.5q 9,3 26.5,38q 5.5,9.5 15,27t 17.5,31.75t 15.5,26.75q 1.5,2 8.75,12.5t 10.75,17.75t 3.5,14.25q0,10 -14.25,25t-31,27.5t-31,26.5t-14.25,23q0,4.5 2.5,11.25t 4.25,10.25t 7,12t 5.75,9.5q 38,68.5 87,117.5t 117.5,87 q 1,0.5 9.5,5.75t 12,7t 10.25,4.25t 11.25,2.5q 9,0 23-14.25t 26.5-31t 27.5-31t 25-14.25q 7,0 14.25,3.5t 17.75,10.75t 12.5,8.75q 12.5,7.5 26.75,15.5t 31.75,17.5t 27,15q 35,17.5 38,26.5q 1.5,3.5 1.5,10.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"lemon, fruit, food\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 703.5,413q0-22 -3.5-56.75t-9-48.25q-6-15 -8.5-22t-4.5-18.25t-2-24.25q0-11.5 2.5-34.25t 2.5-33.75q0-18.5 -5-27.5q-2-0.5 -6.5-0.5q-9.5,0 -29,2.25t-29.5,2.25q-30,0 -88-12t-87.5-12q-21.5,0 -47.25,5.75t-42.5,11.75t-44.75,17q-68.5,27 -101,51.5q-48,36.5 -79.75,94.75t-44,118t-12.25,124.25 q0,20 6.25,60t 6.25,60.5q0,11.5 -5.5,33.25t-5.5,32.75t 6,18.25t 17,7.25q 12,0 36.25-5.5t 36.75-5.5q 28.5,0 84.75,7.75t 84.75,7.75q 90.5,0 142-18q 64.5-22.5 117.75-76.25t 83-122.75t 29.75-137.5zM 767.5,412q0,82.5 -35,163.75t-98,144t-140.5,90.25q-62,22 -163,22 q-28.5,0 -85-7.25t-84.5-7.25q-12,0 -36.25,7.25t-36.75,7.25q-36.5,0 -61.75-27.75t-25.25-64.25q0-12 5.5-34t 5.5-33.5q0-20 -6.25-60.25t-6.25-60.75q0-55.5 9-108.75t 27.25-104.75t 50.25-97t 75-78q 39-29.5 116-60q 97-39 158-39q 30,0 87.75,12t 86.75,12q 9.5,0 28.5-2.5t 29-2.5 q 40.5,0 59,25.25t 18.5,67.25q0,11.5 -2.5,34t-2.5,34q0,5 0.5,9.25t 1.5,8.5t 2,6.75t 3.25,8t 3.25,8.5q 8,20 12.5,59.25t 4.5,68.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"upload-alt, load, open\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,736q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 768,736q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,624l0,160 q0,20 -14,34t-34,14l-736,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 213.5,0 q 10.5,28 35.25,46 t 55.25,18l 128,0 q 30.5,0 55.25-18t 35.25-46l 213.5,0 q 20,0 34,14t 14,34zM 669.5,300q-8.5,20 -29.5,20l-128,0 l0,224 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 l-128,0 q-21,0 -29.5-20q-8.5-19.5 7-34.5l 224-224q 9-9.5 22.5-9.5t 22.5,9.5l 224,224q 15.5,15 7,34.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"github-sign, git, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 197,676q-4,4.5 -10-1.5q-6.5-5.5 -2-9.5q 4-4.5 10,1.5q 6,5.5 2,9.5zM 176,645.5q 4.5,6 0,9.5q-4,3 -8.5-3.5t0-9q 4.5-3.5 8.5,3zM 145.5,615.5q-2.5,3.5 -6.5,1q-5-2.5 -3.5-6q 1.5-2.5 6.5-1q 5,2.5 3.5,6zM 161,632.5q-3,3.5 -8-1.5q-4.5-5.5 -1-8q 3-3 8,1.5q 4.5,5.5 1,8zM 225.5,688.5q-2,6 -9.5,3q-8.5-2 -6.5-7.5 t 9.5-3.5q 8,2.5 6.5,8zM 257,691q0,5.5 -8,5.5q-8.5,1 -8.5-5.5q0-5.5 8-5.5q 8.5-1 8.5,5.5zM 286,686q 1,5 -7,7t-9-4t 7-7.5q 8-1 9,4.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-112,0 q-8,0 -12.25-0.5t-9.75-2.5t-8-7.25t-2.5-13.75l0-119.5 q0-48.5 -26-71q 28.5-3 51.25-9t 47-19.5 t 40.5-33.25t 26.5-52.5t 10.25-75.25q0-60.5 -39.5-103q 18.5-45.5 -4-102q-14-4.5 -40.5,5.5t-46,22l-19,12q-46.5-13 -96-13t-96,13q-8-5.5 -21.25-13.5t-41.75-19.25t-43-6.75q-22,56.5 -3.5,102q-39.5,42.5 -39.5,103q0,42.5 10.25,75t 26.25,52.5t 40.25,33.5t 47,19.5t 51.25,9q-20,18 -24.5,51.5 q-10.5,5 -22.5,7.5t-28.5,2.5t-32.75-10.75t-27.75-31.25q-9.5-16 -24.25-26t-24.75-12l-10-1.5q-10.5,0 -14.5,2.25t-2.5,5.75t 4.5,7t 6.5,6l 3.5,2.5q 11,5 21.75,19t 15.75,25.5l 5,11.5q 6.5,19 22,30.75t 33.5,15t 34.75,3.5t 27.75-1.75l 11.5-2q0,19 0.25,51.5t 0.25,34q0,11 -5.5,16.75t-11,6.5t-16.5,0.75 l-112,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"trophy, cup, prize, present, win, tournament\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 229,441.5q-37-81 -37-185.5l-128,0 l0,48 q0,39 47.25,81t 117.75,56.5zM 768,304l0-48 l-128,0 q0,104.5 -37,185.5q 70.5-14.5 117.75-56.5t 47.25-81zM 832,240l0,64 q0,35.5 -20.75,71.5t-56,65t-86.5,48.75t-107.75,22.25q-21,27 -47.5,47.5q-19,17 -26.25,36.25t-7.25,44.75q0,27 15.25,45.5 t 48.75,18.5q 37.5,0 66.75,22.75t 29.25,57.25l0,32 q0,7 -4.5,11.5t-11.5,4.5l-416,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-34.5 29.25-57.25t 66.75-22.75q 33.5,0 48.75-18.5t 15.25-45.5q0-25.5 -7.25-44.75t-26.25-36.25q-26.5-20.5 -47.5-47.5q-56.5-2.5 -107.75-22.25t-86.5-48.75t-56-65t-20.75-71.5l0-64 q0-20 14-34t 34-14l 144,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 288,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 144,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"signin, login, enter\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 592,448q0,13 -9.5,22.5l-272,272q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-144 l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 224,0 l0-144 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 272,272q 9.5,9.5 9.5,22.5zM 768,272l0,352 q0,59.5 -42.25,101.75t-101.75,42.25l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25 q0-2 -0.5-10t-0.25-13.25t 1.5-11.75t 5-9.75t 10.25-3.25l 160,0 q 33,0 56.5-23.5t 23.5-56.5l0-352 q0-33 -23.5-56.5t-56.5-23.5l-144,0 l-5.5,0 l-6.5,0 t-5.75-0.5t-5.75-1.5t-4-2.75t-3.5-4.5t-1-6.75q0-2 -0.5-10t-0.25-13.25t 1.5-11.75t 5-9.75t 10.25-3.25l 160,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"external-link, blank, out, popout\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 704,464l0,160 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 352,0 q 7,0 11.5,4.5t 4.5,11.5l0,32 q0,7 -4.5,11.5t-11.5,4.5l-352,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-160 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,32l0,256 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-88-88l-326,326q-5,5 -11.5,5t-11.5-5l-57-57q-5-5 -5-11.5t 5-11.5l 326-326l-88-88q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"pushpin, pin, needle\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 240,432l0-224 q0-7 -4.5-11.5t-11.5-4.5t-11.5,4.5t-4.5,11.5l0,224 q0,7 4.5,11.5t 11.5,4.5t 11.5-4.5t 4.5-11.5zM 576,608q0,13 -9.5,22.5t-22.5,9.5l-214.5,0 l-25.5,241.5q-1,6 -5.25,10.25t-10.25,4.25l-0.5,0 q-13.5,0 -16-13.5l-38-242.5l-202,0 q-13,0 -22.5-9.5t-9.5-22.5q0-61.5 39.25-110.75t 88.75-49.25l0-256 q-26,0 -45-19 t-19-45t 19-45t 45-19l 320,0 q 26,0 45,19t 19,45t-19,45t-45,19l0,256 q 49.5,0 88.75,49.25t 39.25,110.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"linkedin-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 118.5,707l 115.5,0 l0-347 l-115.5,0 l0,347 zM 241.5,253q-0.5-26 -18-43t-46.5-17t-47.25,17t-18.25,43q0,25.5 17.75,42.75t 46.25,17.25l 0.5,0 q 29.5,0 47.5-17.25t 18-42.75zM 534,707l 115.5,0 l0-199 q0-77 -36.5-116.5t-96.5-39.5q-68,0 -104.5,58.5l 1,0 l0-50.5 l-115.5,0 q 1.5,33 0,347l 115.5,0 l0-194 q0-19 3.5-28q 7.5-17.5 22.5-29.75t 37-12.25 q 58,0 58,78.5l0,185.5 zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"signout, exit, quit, logout, log out, leave\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,720q0,2 0.5,10t 0.25,13.25t-1.5,11.75t-5,9.75t-10.25,3.25l-160,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-352 q0-59.5 42.25-101.75t 101.75-42.25l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,2 0.5,10t 0.25,13.25t-1.5,11.75t-5,9.75t-10.25,3.25l-160,0 q-33,0 -56.5,23.5t-23.5,56.5l0,352 q0,33 23.5,56.5t 56.5,23.5l 144,0 l 5.5,0 l 6.5,0 t 5.75,0.5t 5.75,1.5t 4,2.75t 3.5,4.5t 1,6.75zM 784,448q0,13 -9.5,22.5l-272,272q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-144 l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 224,0 l0-144 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 272,272q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"heart-empty, love, like\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,298q0-40.5 -10.75-71.5t-27.5-49.25t-40.75-29.75t-47-15.5t-49-4t-56,12.75t-55.25,32t-43.25,36t-30,30.75q-9,11 -24.5,11t-24.5-11q-12-14 -30-30.75t-43.25-36t-55.25-32t-56-12.75t-49,4t-47,15.5t-40.75,29.75t-27.5,49.25t-10.75,71.5q0,84 93.5,177.5l 290.5,280l 290-279.5 q 94-94 94-178zM 896,298q0,110.5 -114.5,225l-311.5,300q-9,9 -22,9t-22-9l-312-301q-5-4 -13.75-13t-27.75-32.75t-34-48.75t-26.75-60.5t-11.75-69q0-110 63.5-172t 175.5-62q 31,0 63.25,10.75t 60,29t 47.75,34.25t 38,34q 18-18 38-34t 47.75-34.25t 60-29t 63.25-10.75 q 112,0 175.5,62t 63.5,172z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"448\" height=\"896\" viewBox=\"0 0 448 896\" data-du=\"\" data-tags=\"star-half, rating\" style=\"margin-left: 12px; margin-top: 8px;\"><path d=\"M 416,16l0,669.5 l-224.5,118q-11,6 -20,6q-10.5,0 -15.75-7.25t-5.25-17.75q0-3 1-10l 43-250l-182-177q-12.5-13.5 -12.5-24q0-18.5 28-23l 251-36.5l 112.5-227.5q 9.5-20.5 24.5-20.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"thumbs-down, dislike\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,224q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,512q0-17.5 -10.75-40.5t-26.75-23.5q 7.5-8.5 12.5-23.75t 5-27.75q0-34.5 -26.5-59.5q 9-16 9-34.5t-8.75-36.75t-23.75-26.25q 2.5-15 2.5-28q0-42.5 -24.5-63t-68-20.5l-64,0 q-65.5,0 -171,36.5q-2.5,1 -14.5,5.25 t-17.75,6.25t-17.5,5.75t-19,5.5t-16.5,3.25t-15.75,1.5l-16,0 l0,320 l 16,0 q 8,0 17.75,4.5t 20,13.5t 19.25,17.75t 20,22t 17.25,21.25t 15.75,20.5t 11.5,15q 27.5,34 38.5,45.5q 20.5,21.5 29.75,54.75t 15.25,62.75t 19,42.5q 48,0 64-23.5t 16-72.5q0-29.5 -24-80.25t-24-79.75l 176,0 q 25,0 44.5-19.25t 19.5-44.75z M 768,512.5q0,51.5 -38,89.5t-90,38l-88,0 q 24,49.5 24,96q0,59 -17.5,93q-17.5,34.5 -51,50.75t-75.5,16.25q-25.5,0 -45-18.5q-17-16.5 -27-41t-12.75-45.25t-8.75-42.25t-15.5-32q-24-25 -53.5-63.5q-50.5-65.5 -68.5-77.5l-137,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75 l 144,0 q 11,0 69-20q 64-22 111.5-33t 100-11l 56,0 q 70,0 113.25,39.5t 42.75,108l0,2.5 q 30,38.5 30,89q0,11 -1.5,21.5q 19,33.5 19,72q0,18 -4.5,34.5q 24.5,37 24.5,81.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"thumbs-up, like\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 128,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 704,384q0-25.5 -19.5-44.75t-44.5-19.25l-176,0 q0-29 24-79.75t 24-80.25q0-49 -16-72.5t-64-23.5q-13,13 -19,42.5t-15.25,62.75t-29.75,54.75q-11,11.5 -38.5,45.5q-2,2.5 -11.5,15t-15.75,20.5t-17.25,21.25 t-20,22t-19.25,17.75t-20,13.5t-17.75,4.5l-16,0 l0,320 l 16,0 q 6.5,0 15.75,1.5t 16.5,3.25t 19,5.5t 17.5,5.75t 17.75,6.25t 14.5,5.25q 105.5,36.5 171,36.5l 60.5,0 q 96,0 96-83.5q0-13 -2.5-28q 15-8 23.75-26.25t 8.75-36.75t-9-34.5q 26.5-25 26.5-59.5q0-12.5 -5-27.75t-12.5-23.75q 16-0.5 26.75-23.5t 10.75-40.5zM 768,383.5 q0,44.5 -24.5,81.5q 4.5,16.5 4.5,34.5q0,38.5 -19,72q 1.5,10.5 1.5,21.5q0,50.5 -30,89q 0.5,69.5 -42.5,109.75t-113.5,40.25l-18,0 l-46.5,0 q-48,0 -94.75-11.25t-108.25-32.75q-58-20 -69-20l-144,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 137,0 q 18-12 68.5-77.5q 29-37.5 53.5-64 q 12-12.5 17.75-42.75t 15.25-63.25t 31-54q 19.5-18.5 45-18.5q 42,0 75.5,16.25t 51,50.75t 17.5,93q0,46.5 -24,96l 88,0 q 52,0 90,38t 38,89.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comments, chat, talk, bubbles\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 704,384q0,69.5 -47,128.5t-128.25,93.25t-176.75,34.25q-43,0 -88-8q-62,44 -139,64q-18,4.5 -43,8l-1.5,0 q-5.5,0 -10.25-4t-5.75-10.5q-0.5-1.5 -0.5-3.25t 0.25-3.25t 1-3l 1.25-2.5t 1.75-2.75t 2-2.5t 2.25-2.5t 2-2.25q 2.5-3 11.5-12.5t 13-14.75t 11.25-14.5t 12.5-19.25t 10.25-22q-62-36 -97.5-88.5t-35.5-112 q0-69.5 47-128.5t 128.25-93.25t 176.75-34.25t 176.75,34.25t 128.25,93.25t 47,128.5zM 896,512q0,60 -35.5,112.25t-97.5,88.25q 5,12 10.25,22t 12.5,19.25t 11.25,14.5t 13,14.75t 11.5,12.5q 0.5,0.5 2,2.25t 2.25,2.5t 2,2.5t 1.75,2.75l 1.25,2.5t 1,3t 0.25,3.25t-0.5,3.25q-1.5,7 -6.5,11t-11,3.5 q-25-3.5 -43-8q-77-20 -139-64q-45,8 -88,8q-135.5,0 -236-66q 29,2 44,2q 80.5,0 154.5-22.5t 132-64.5q 62.5-46 96-106t 33.5-127q0-38.5 -11.5-76q 64.5,35.5 102,89t 37.5,115z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"cogs, settings, options, preferences, gears\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 448,448q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5zM 832,704q0-26 -19-45t-45-19t-45,19t-19,45q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 832,192q0-26 -19-45t-45-19t-45,19t-19,45q0,26.5 18.75,45.25t 45.25,18.75 t 45.25-18.75t 18.75-45.25zM 640,402.5l0,92.5 q0,5 -3.5,9.75t-8,5.25l-77.5,12q-5.5,17.5 -16,38q 17,24 45,57.5q 3.5,5 3.5,10q0,6 -3.5,9.5q-11.5,15 -41.25,44.75t-39.25,29.75q-5.5,0 -10.5-3.5l-57.5-45q-18.5,9.5 -38.5,15.5q-5.5,54 -11.5,77.5q-3.5,12 -15,12l-93,0 q-5.5,0 -10-3.75t-5-8.75 l-11.5-76.5q-17-5 -37.5-15.5l-59,44.5q-3.5,3.5 -10,3.5q-5.5,0 -10.5-4q-72-66.5 -72-80q0-4.5 3.5-9.5q 5-7 20.5-26.5t 23.5-30.5q-11.5-22 -17.5-41l-76-12q-5-0.5 -8.5-4.75t-3.5-9.75l0-92.5 q0-5 3.5-9.75t 8-5.25l 77.5-12q 5.5-17.5 16-38q-17-24 -45-57.5q-3.5-5.5 -3.5-10q0-6 3.5-10q 11-15 41-44.5t 39.5-29.5q 5.5,0 10.5,3.5 l 57.5,45q 17-9 38.5-16q 5.5-54 11.5-77q 3.5-12 15-12l 93,0 q 5.5,0 10,3.75t 5,8.75l 11.5,76.5q 17,5 37.5,15.5l 59-44.5q 4-3.5 10-3.5q 5.5,0 10.5,4q 72,66.5 72,80q0,4.5 -3.5,9.5q-6,8 -21,27t-22.5,30q 11.5,24 17,41l 76,11.5q 5,1 8.5,5.25t 3.5,9.75zM 960,669l0,70 q0,8 -74.5,15.5 q-6,13.5 -15,26q 25.5,56.5 25.5,69q0,2 -2,3.5q-61,35.5 -62,35.5q-4,0 -23-23.5t-26-34q-10,1 -15,1t-15-1q-7,10.5 -26,34t-23,23.5q-1,0 -62-35.5q-2-1.5 -2-3.5q0-12.5 25.5-69q-9-12.5 -15-26q-74.5-7.5 -74.5-15.5l0-70 q0-8 74.5-15.5q 6.5-14.5 15-26q-25.5-56.5 -25.5-69q0-2 2-3.5q 2-1 17.5-10 t 29.5-17t 15-8q 4,0 23,23.25t 26,33.75q 10-1 15-1t 15,1q 25.5-35.5 46-56l 3-1q 2,0 62,35q 2,1.5 2,3.5q0,12.5 -25.5,69q 8.5,11.5 15,26q 74.5,7.5 74.5,15.5zM 960,157l0,70 q0,8 -74.5,15.5q-6,13.5 -15,26q 25.5,56.5 25.5,69q0,2 -2,3.5q-61,35.5 -62,35.5q-4,0 -23-23.5t-26-34 q-10,1 -15,1t-15-1q-7,10.5 -26,34t-23,23.5q-1,0 -62-35.5q-2-1.5 -2-3.5q0-12.5 25.5-69q-9-12.5 -15-26q-74.5-7.5 -74.5-15.5l0-70 q0-8 74.5-15.5q 6.5-14.5 15-26q-25.5-56.5 -25.5-69q0-2 2-3.5q 2-1 17.5-10t 29.5-17t 15-8q 4,0 23,23.25t 26,33.75q 10-1 15-1t 15,1q 25.5-35.5 46-56l 3-1q 2,0 62,35 q 2,1.5 2,3.5q0,12.5 -25.5,69q 8.5,11.5 15,26q 74.5,7.5 74.5,15.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"key, unlock, password\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,256q0-40 -28-68t-68-28t-68,28t-28,68q0,21 9.5,41.5q-20.5-9.5 -41.5-9.5q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68q0-21 -9.5-41.5q 20.5,9.5 41.5,9.5q 40,0 68-28t 28-68zM 841.5,608q0,8.5 -24.5,33t-33,24.5q-4.5,0 -14.25-8t-18.25-16.5t-19.25-20t-12.25-13 l-48,48l 110,110q 14,14 14,34q0,21 -19.5,40.5t-40.5,19.5q-20,0 -34-14l-335.5-335.5q-88,65.5 -182.5,65.5q-81.5,0 -132.75-51.25t-51.25-132.75q0-80 47.5-156.5t 124-124t 156.5-47.5q 81.5,0 132.75,51.25t 51.25,132.75q0,94.5 -65.5,182.5l 177.5,177.5l 48-48q-1.5-1.5 -13-12.25t-20-19.25t-16.5-18.25 t-8-14.25q0-8.5 24.5-33t 33-24.5q 6.5,0 11.5,5q 3,3 23,22.25t 41,39.75t 43.25,43t 36.5,39t 14.25,20.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"camera-retro, image, picture, photo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,416q0-7 -4.5-11.5t-11.5-4.5q-33,0 -56.5,23.5t-23.5,56.5q0,7 4.5,11.5t 11.5,4.5t 11.5-4.5t 4.5-11.5q0-20 14-34t 34-14q 7,0 11.5-4.5t 4.5-11.5zM 576,481q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5zM 64,768l 768,0 l0-64 l-768,0 l0,64 zM 640,481q0-79.5 -56.25-135.75 t-135.75-56.25t-135.75,56.25t-56.25,135.75t 56.25,135.75t 135.75,56.25t 135.75-56.25t 56.25-135.75zM 128,160l 192,0 l0-64 l-192,0 l0,64 zM 64,256l 768,0 l0-59 l0-69 l-414,0 l-32,64l-322,0 l0,64 zM 896,128l0,640 q0,26.5 -18.75,45.25t-45.25,18.75l-768,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-640 q0-26.5 18.75-45.25t 45.25-18.75l 768,0 q 26.5,0 45.25,18.75t 18.75,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"facebook-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 653.5,459l 11.5-109.5l-99,0 l0-54.5 q0-24.5 7.75-34.25t 35.75-9.75l 55,0 l0-109.5 l-87.5,0 q-76,0 -109,36t-33,106.5l0,65.5 l-65.5,0 l0,109.5 l 65.5,0 l0,317.5 l 131,0 l0-317.5 l 87.5,0 zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"twitter-sign, social\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,305q-28,12.5 -60.5,17q 34-20 46.5-58.5q-32.5,19 -67,25.5q-30.5-33 -76.5-33q-43.5,0 -74.25,30.75t-30.75,74.25q0,14.5 2.5,24q-64.5-3.5 -121-32.5t-96-77.5q-14.5,25 -14.5,53q0,57 45.5,87.5q-23.5-0.5 -50-13l0,1 q0,37.5 25,66.75t 61.5,36.25q-14.5,4 -25.5,4q-6.5,0 -19.5-2 q 10.5,31.5 37.25,52t 60.75,21q-58,45 -130.5,45q-13,0 -25-1.5q 74,47 161,47q 56,0 105-17.75t 84-47.5t 60.25-68.5t 37.5-81t 12.25-84.25q0-9 -0.5-13.5q 31.5-22.5 52.5-54.5zM 768,208l0,480 q0,59.5 -42.25,101.75t-101.75,42.25l-480,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-480 q0-59.5 42.25-101.75 t 101.75-42.25l 480,0 q 59.5,0 101.75,42.25t 42.25,101.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"bar-chart, chart, graph, plot\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 256,512l0,192 l-128,0 l0-192 l 128,0 zM 448,256l0,448 l-128,0 l0-448 l 128,0 zM 640,384l0,320 l-128,0 l0-320 l 128,0 zM 832,192l0,512 l-128,0 l0-512 l 128,0 zM 896,752l0-608 q0-6.5 -4.75-11.25t-11.25-4.75l-800,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,608 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 q 6.5,0 11.25-4.75t 4.75-11.25z M 960,144l0,608 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"resize-horizontal, arrow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,448q0,13 -9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-64 l-512,0 l0,64 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 l 512,0 l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"resize-vertical, arrow\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 352,160q0,13 -9.5,22.5t-22.5,9.5l-64,0 l0,512 l 64,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 64,0 l0-512 l-64,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"folder-open, category, directory\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 939.5,476q0,15.5 -15.5,33l-168,198q-21.5,25.5 -60.25,43.25t-71.75,17.75l-544,0 q-17,0 -30.25-6.5t-13.25-21.5q0-15.5 15.5-33l 168-198q 21.5-25.5 60.25-43.25t 71.75-17.75l 544,0 q 17,0 30.25,6.5t 13.25,21.5zM 768,304l0,80 l-416,0 q-47,0 -98.5,23.75t-82,59.75l-168.5,198l-2.5,3q0-2 -0.25-6.25 t-0.25-6.25l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 272,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"folder-close, category, directory\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,304l0,352 q0,46 -33,79t-79,33l-608,0 q-46,0 -79-33t-33-79l0-480 q0-46 33-79t 79-33l 160,0 q 46,0 79,33t 33,79l0,16 l 336,0 q 46,0 79,33t 33,79z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"shopping-cart, cart, ecommerce, store\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 320,768q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 768,768q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 832,224l0,256 q0,12 -8,21.25t-20.5,10.75 l-522,61q 0.5,3.5 2.25,10.75t 3,13.25t 1.25,11q0,8 -12,32l 460,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-512,0 q-13,0 -22.5-9.5t-9.5-22.5q0-7 5.5-19.75t 14.75-29.75t 10.25-19l-88.5-411.5l-102,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 128,0 q 8,0 14.25,3.25t 10,7.75t 6.5,12.25t 3.75,13.25 t 2.75,14.75t 2.25,12.75l 600.5,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"retweet, loop, arrows\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 640,752q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-4,0 -6.75-1t-4.5-3.5t-2.75-4t-1.5-5.75t-0.5-5.75l0-6.5 l0-5.5 l0-80 l0-208 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5q0-12 7.5-20.5l 160-192q 9.5-11 24.5-11t 24.5,11l 160,192q 7.5,8.5 7.5,20.5q0,13 -9.5,22.5t-22.5,9.5l-96,0 l0,192 l 288,0 q 8,0 12.5,5.5l 80,96q 3.5,5.5 3.5,10.5 zM 960,544q0,12 -7.5,20.5l-160,192q-10,11.5 -24.5,11.5t-24.5-11.5l-160-192q-7.5-8.5 -7.5-20.5q0-13 9.5-22.5t 22.5-9.5l 96,0 l0-192 l-288,0 q-8,0 -12.5-6l-80-96q-3.5-4.5 -3.5-10q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 4,0 6.75,1t 4.5,3.5t 2.75,4t 1.5,5.75t 0.5,5.75l0,6.5 l0,5.5 l0,80 l0,208 l 96,0 q 13,0 22.5,9.5t 9.5,22.5z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"chevron-down, download, bottom\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,352q0,26.5 -18.5,45l-325.5,325.5q-19,19 -45.5,19q-27,0 -45-19l-325.5-325.5q-19-18 -19-45q0-26.5 19-45.5l 37-37.5q 19.5-18.5 45.5-18.5q 26.5,0 45,18.5l 243,243l 243-243q 18.5-18.5 45-18.5q 26,0 45.5,18.5l 37.5,37.5q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"chevron-up, upload, top\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,608q0,26.5 -18.5,45l-37.5,37.5q-19,19 -45.5,19q-27,0 -45-19l-243-242.5l-243,242.5q-18,19 -45,19t-45-19l-37.5-37.5q-19-18 -19-45q0-26.5 19-45.5l 325.5-325.5q 18.5-18.5 45-18.5q 26,0 45.5,18.5l 325,325.5q 19,19 19,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"magnet\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,416l0,64 q0,100.5 -49.25,181t-137,125.75t-197.75,45.25t-197.75-45.25t-137-125.75t-49.25-181l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,26 11.75,45t 26.75,28.5t 35.5,15t 32,6.5t 22,1t 22-1t 32-6.5t 35.5-15t 26.75-28.5t 11.75-45l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5zM 256,96l0,192 q0,13 -9.5,22.5t-22.5,9.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5zM 768,96l0,192 q0,13 -9.5,22.5t-22.5,9.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"comment, bubble, chat, talk\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,448q0,87 -60,160.75t-163,116.5t-225,42.75q-35,0 -72.5-4q-99,87.5 -230,121q-24.5,7 -57,11q-8.5,1 -15.25-4.5t-8.75-14.5l0-0.5 q-1.5-2 -0.25-6t 1-5t 2.25-4.75l 3-4.5t 3.5-4.25t 4-4.5q 3.5-4 15.5-17.25t 17.25-19t 15.5-19.75t 16.25-25.5t 13.5-29.5t 13-38q-78.5-44.5 -123.75-110t-45.25-140.5 q0-65 35.5-124.25t 95.5-102.25t 143-68.25t 174-25.25q 122,0 225,42.75t 163,116.5t 60,160.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"random, shuffle, order, media, control\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 333,240.5q-30,46 -68.5,136.5q-11-22.5 -18.5-36.25t-20.25-31.75t-25.5-28.25t-31.5-17.5t-40.75-7.25l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 112,0 q 125,0 205,112.5zM 896,640q0,7 -4.5,11.5l-160,160q-4.5,4.5 -11.5,4.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q-16,0 -42.5,0.25t-40.5,0.5t-36.5-0.5 t-35.5-2.5t-32-5.25t-31.5-9.25t-29-14.25t-29.5-20t-27.5-26.75t-28-34.75q 29.5-46.5 68-136.5q 11,22.5 18.5,36.25t 20.25,31.75t 25.5,28.25t 31.5,17.5t 40.75,7.25l 128,0 l0-96 q0-7 4.5-11.5t 11.5-4.5q 6,0 12,5l 159.5,159.5q 4.5,4.5 4.5,11.5zM 896,192q0,7 -4.5,11.5l-160,160q-4.5,4.5 -11.5,4.5q-6.5,0 -11.25-4.75t-4.75-11.25 l0-96 l-128,0 q-24,0 -43.5,7.5t-34.5,22.5t-25.5,30.75t-22.5,38.75q-16,31 -39,85.5q-14.5,33 -24.75,55.5t-27,52.5t-32,50t-37,41.5t-45,34.25t-53.25,21t-64,8.25l-112,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 112,0 q 24,0 43.5-7.5t 34.5-22.5t 25.5-30.75t 22.5-38.75q 16-31 39-85.5q 14.5-33 24.75-55.5 t 27-52.5t 32-50t 37-41.5t 45-34.25t 53.25-21t 64-8.25l 128,0 l0-96 q0-7 4.5-11.5t 11.5-4.5q 6,0 12,5l 159.5,159.5q 4.5,4.5 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"calendar, date, schedule\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 64,832l 144,0 l0-144 l-144,0 l0,144 zM 240,832l 160,0 l0-144 l-160,0 l0,144 zM 64,656l 144,0 l0-160 l-144,0 l0,160 zM 240,656l 160,0 l0-160 l-160,0 l0,160 zM 64,464l 144,0 l0-144 l-144,0 l0,144 zM 432,832l 160,0 l0-144 l-160,0 l0,144 zM 240,464l 160,0 l0-144 l-160,0 l0,144 zM 624,832l 144,0 l0-144 l-144,0 l0,144 zM 432,656l 160,0 l0-160 l-160,0 l0,160 z M 256,224l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 624,656l 144,0 l0-160 l-144,0 l0,160 zM 432,464l 160,0 l0-144 l-160,0 l0,144 zM 624,464l 144,0 l0-144 l-144,0 l0,144 zM 640,224l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 832,192l0,640 q0,26 -19,45t-45,19l-704,0 q-26,0 -45-19t-19-45l0-640 q0-26 19-45t 45-19l 64,0 l0-48 q0-33 23.5-56.5t 56.5-23.5l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 192,0 l0-48 q0-33 23.5-56.5t 56.5-23.5 l 32,0 q 33,0 56.5,23.5t 23.5,56.5l0,48 l 64,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"plane, airplane, aircraft, flight, vacation, travel\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 688,80q 22,26 6,74t-54,86l-80.5,80.5l 80,348q 2.5,9.5 -6,16.5l-64,48q-3.5,3 -9.5,3q-2,0 -3.5-0.5q-7.5-1.5 -10.5-8l-139.5-254l-129.5,129.5l 26.5,97q 2.5,8.5 -4,15.5l-48,48q-4.5,4.5 -11.5,4.5l-1,0 q-7.5-1 -12-6.5l-94.5-126l-126-94.5q-5.5-3.5 -6.5-11.5q-0.5-6.5 4.5-12.5l 48-48.5q 4.5-4.5 11.5-4.5 q 3,0 4,0.5l 97,26.5l 129.5-129.5l-254-139.5q-7-4 -8.5-12q-1-8 4.5-13.5l 64-64q 7-6.5 15-4l 332.5,79.5l 80-80q 38-38 86-54t 74,6z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"warning-sign, sign\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,687.5l0-95 q0-7 -4.75-11.75t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.75l0,95 q0,7 4.75,11.75t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.75zM 511,500.5l 9-229.5q0-6 -5-9.5q-6.5-5.5 -12-5.5l-110,0 q-5.5,0 -12,5.5q-5,3.5 -5,10.5l 8.5,228.5q0,5 5,8.25t 12,3.25l 92.5,0 q 7,0 11.75-3.25t 5.25-8.25zM 504,33.5l 384,704q 17.5,31.5 -1,63q-8.5,14.5 -23.25,23t-31.75,8.5l-768,0 q-17,0 -31.75-8.5t-23.25-23q-18.5-31.5 -1-63l 384-704q 8.5-15.5 23.5-24.5t 32.5-9t 32.5,9t 23.5,24.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"eye-close, blocked, private\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 277.5,667.5l 39-70.5q-43.5-31.5 -68-79.5t-24.5-101.5q0-60.5 30.5-112.5q-114.5,58.5 -190.5,176.5q 83.5,129 213.5,187.5zM 472,288q0-10 -7-17t-17-7q-62.5,0 -107.25,44.75t-44.75,107.25q0,10 7,17t 17,7t 17-7t 7-17q0-43 30.5-73.5t 73.5-30.5q 10,0 17-7t 7-17zM 653.5,192.5q0,3.5 -0.5,4.5 q-52.5,94 -157.5,283t-158,283.5l-24.5,44.5q-5,8 -14,8q-6,0 -67-35q-8-5 -8-14q0-6 22-43.5q-71.5-32.5 -131.75-86.5t-104.25-122.5q-10-15.5 -10-34.5t 10-34.5q 76.5-117.5 190-185.5t 248-68q 44.5,0 90,8.5l 27-48.5q 5-8 14-8q 2.5,0 9,3t 15.5,7.75t 16.5,9.25t 15.75,9.25t 9.75,5.75 q 8,5 8,13.5zM 672,416q0,69.5 -39.5,126.75t-104.5,82.25l 140-251q 4,22.5 4,42zM 896,480q0,17.5 -10,34.5q-19.5,32 -54.5,72.5q-75,86 -173.75,133.5t-209.75,47.5l 37-66q 106-9 196.25-68.5t 150.75-153.5q-57.5-89.5 -141-147l 31.5-56q 47.5,32 91.25,76.5t 72.25,92q 10,17 10,34.5z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"eye-open, view, visit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,480q-76-118 -190.5-176.5q 30.5,52 30.5,112.5q0,92.5 -65.75,158.25t-158.25,65.75t-158.25-65.75t-65.75-158.25q0-60.5 30.5-112.5q-114.5,58.5 -190.5,176.5q 66.5,102.5 166.75,163.25t 217.25,60.75t 217.25-60.75t 166.75-163.25zM 472,288q0-10 -7-17t-17-7q-62.5,0 -107.25,44.75 t-44.75,107.25q0,10 7,17t 17,7t 17-7t 7-17q0-43 30.5-73.5t 73.5-30.5q 10,0 17-7t 7-17zM 896,480q0,17 -10,34.5q-70,115 -188.25,184.25t-249.75,69.25t-249.75-69.5t-188.25-184q-10-17.5 -10-34.5t 10-34.5q 70-114.5 188.25-184t 249.75-69.5t 249.75,69.5t 188.25,184q 10,17.5 10,34.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"fire, hot\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,848l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,320q0,39 -12.25,72t-32,56.25t-43.75,44t-48,38.75t-43.75,36t-32,40.75t-12.25,48.25q0,48 33.5,112l-2-0.5l 0.5,0.5 q-45-20.5 -80-41.5t-69.25-50t-56.75-61.25t-36.25-75.25t-13.75-92q0-39 12.25-72t 32-56.25t 43.75-44t 48-38.75t 43.75-36t 32-40.75t 12.25-48.25q0-47 -33-112l 1.5,0.5l-0.5-0.5q 45,20.5 80,41.5t 69.25,50t 56.75,61.25t 36.25,75.25t 13.75,92z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"leaf, nature, green\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 640,352q0-13 -9.5-22.5t-22.5-9.5q-86,0 -159,24.75t-129.75,67t-117.75,109.75q-9.5,10.5 -9.5,22.5q0,13 9.5,22.5t 22.5,9.5q 12,0 22.5-9.5q 13.5-12 37-35.5t 33.5-33q 68.5-62 134.25-88t 156.75-26q 13,0 22.5-9.5t 9.5-22.5zM 896,253q0,47.5 -10,96.5q-23,112 -92.25,191.5t-178.75,134 q-107,54 -219,54q-74,0 -143-23.5q-7.5-2.5 -44-21t-48-18.5q-8,0 -19.75,16t-22.5,35t-26.25,35t-30,16q-15,0 -25.5-5.5t-15.5-12t-13.5-21q-1-2 -3-5.5t-2.75-5t-1.5-4.75t-0.75-6.75q0-17.5 15.5-36.75t 34-32.75t 34-28t 15.5-24q0-2 -7-19t-8-22q-4.5-25.5 -4.5-52q0-57.5 21.75-110t 59.5-92.25 t 85.25-69.5t 102-47.75q 27.5-9 72.5-12.75t 89.75-4.5t 89.25-3t 81.75-12t 56.75-28.25l 14.75-14.75t 14.75-14t 13.5-10t 18.25-8t 21.75-2.25q 19.5,0 35.25,23t 23.75,56t 12,62t 4,48z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"gift, present, birthday, holiday\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 464,678l0-28 l0-234 l0-96 l-160,0 l0,96 l0,234 l0,28 q0,12.5 9,19.25t 23,6.75l 96,0 q 14,0 23-6.75t 9-19.25zM 236,256l 97.5,0 l-63-80.5q-13-15.5 -34.5-15.5q-20,0 -34,14t-14,34t 14,34t 34,14zM 580,208q0-20 -14-34t-34-14q-21.5,0 -34.5,15.5l-62.5,80.5l 97,0 q 20,0 34-14t 14-34zM 768,336l0,160 q0,7 -4.5,11.5t-11.5,4.5l-48,0 l0,208 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-208 l-48,0 q-7,0 -11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5l 220,0 q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75q 53.5,0 84,38.5l 64,82.5l 64-82.5q 30.5-38.5 84-38.5q 46.5,0 79.25,32.75t 32.75,79.25 t-32.75,79.25t-79.25,32.75l 220,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"exclamation-sign, sign, notification, attention, warning\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,64q 104.5,0 192.75,51.5t 139.75,139.75t 51.5,192.75t-51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5zM 448,687.5l0-95 q0-7 -4.5-11.75t-11-4.75l-96,0 q-6.5,0 -11.5,5t-5,11.5l0,95 q0,6.5 5,11.5t 11.5,5l 96,0 q 6.5,0 11-4.75t 4.5-11.75zM 447,515.5l 9-310.5q0-6 -5-9q-5-4 -12-4l-110,0 q-7,0 -12,4q-5,3 -5,9l 8.5,310.5q0,5 5,8.75t 12,3.75l 92.5,0 q 7,0 11.75-3.75t 5.25-8.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"asterisk, star\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 741,525q 23,13 29.75,38.75t-6.25,48.75l-32,55q-13,23 -38.75,29.75t-48.75-6.25l-133-76.5l0,153.5 q0,26 -19,45t-45,19l-64,0 q-26,0 -45-19t-19-45l0-153.5 l-133,76.5q-23,13 -48.75,6.25t-38.75-29.75l-32-55q-13-23 -6.25-48.75t 29.75-38.75l 133-77l-133-77 q-23-13 -29.75-38.75t 6.25-48.75l 32-55q 13-23 38.75-29.75t 48.75,6.25l 133,76.5l0-153.5 q0-26 19-45t 45-19l 64,0 q 26,0 45,19t 19,45l0,153.5 l 133-76.5q 23-13 48.75-6.25t 38.75,29.75l 32,55q 13,23 6.25,48.75t-29.75,38.75l-133,77z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"minus, remove, delete, subtract\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,368l0,96 q0,20 -14,34t-34,14l-608,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 608,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"plus, add, sum\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,368l0,96 q0,20 -14,34t-34,14l-208,0 l0,208 q0,20 -14,34t-34,14l-96,0 q-20,0 -34-14t-14-34l0-208 l-208,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 208,0 l0-208 q0-20 14-34t 34-14l 96,0 q 20,0 34,14t 14,34l0,208 l 208,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"resize-small, contract, collapse\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,480l0,224 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-72-72l-166,166q-5,5 -11.5,5t-11.5-5l-57-57q-5-5 -5-11.5t 5-11.5l 166-166l-72-72q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5zM 761.5,144q0,6.5 -5,11.5l-166,166l 72,72q 9.5,9.5 9.5,22.5t-9.5,22.5 t-22.5,9.5l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 72,72l 166-166q 5-5 11.5-5t 11.5,5l 57,57q 5,5 5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"resize-full, expand, enlarge\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 377.5,528q0,6.5 -5,11.5l-166,166l 72,72q 9.5,9.5 9.5,22.5t-9.5,22.5t-22.5,9.5l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 72,72l 166-166q 5-5 11.5-5t 11.5,5l 57,57q 5,5 5,11.5zM 768,96l0,224 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-72-72l-166,166 q-5,5 -11.5,5t-11.5-5l-57-57q-5-5 -5-11.5t 5-11.5l 166-166l-72-72q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"share-alt, arrow, forward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,320q0,13 -9.5,22.5l-256,256q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-128 l-112,0 q-49,0 -87.75,3t-77,10.75t-66.5,21.25t-52.75,34.75t-40,50.5t-24.25,69.25t-8.75,90.5q0,27.5 2.5,61.5q0,3 1.25,11.75t 1.25,13.25q0,7.5 -4.25,12.5t-11.75,5q-8,0 -14-8.5q-3.5-4.5 -6.5-11 t-6.75-15t-5.25-12q-63.5-142.5 -63.5-225.5q0-99.5 26.5-166.5q 81-201.5 437.5-201.5l 112,0 l0-128 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 256,256q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,416q0,26.5 -18.5,45l-325.5,326q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-325.5-326q-19-18 -19-45q0-26.5 19-45.5l 37-37.5q 19.5-18.5 45.5-18.5q 26.5,0 45,18.5l 147,147l0-352 q0-26 19-45t 45-19l 64,0 q 26,0 45,19t 19,45l0,352 l 147-147q 18.5-18.5 45-18.5q 26,0 45.5,18.5l 37.5,37.5q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 805.5,485.5q0,25.5 -18.5,45l-37.5,37.5q-19,19 -45.5,19q-27,0 -45-19l-147-146.5l0,352 q0,26 -18.75,42.25t-45.25,16.25l-64,0 q-26.5,0 -45.25-16.25t-18.75-42.25l0-352 l-147,146.5q-18,19 -45,19t-45-19l-37.5-37.5q-19-19 -19-45q0-26.5 19-45.5l 325.5-325.5q 17.5-18.5 45-18.5q 27,0 45.5,18.5l 325.5,325.5 q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"arrow-right, next, right\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 736,480q0,27 -18.5,45.5l-325.5,325.5q-19.5,18.5 -45.5,18.5q-25.5,0 -45-18.5l-37.5-37.5q-19-19 -19-45.5t 19-45.5l 146.5-146.5l-352,0 q-26,0 -42.25-18.75t-16.25-45.25l0-64 q0-26.5 16.25-45.25t 42.25-18.75l 352,0 l-146.5-147q-19-18 -19-45t 19-45l 37.5-37.5q 19-19 45-19q 26.5,0 45.5,19l 325.5,325.5q 18.5,17.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"arrow-left, previous, left\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448l0,64 q0,26.5 -16.25,45.25t-42.25,18.75l-352,0 l 146.5,147q 19,18 19,45t-19,45l-37.5,38q-18.5,18.5 -45,18.5q-26,0 -45.5-18.5l-325.5-326q-18.5-18.5 -18.5-45q0-26 18.5-45.5l 325.5-325q 19-19 45.5-19q 26,0 45,19l 37.5,37q 19,19 19,45.5t-19,45.5l-146.5,146.5l 352,0 q 26,0 42.25,18.75 t 16.25,45.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"ban-circle, block, forbidden\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 656,446.5q0-80.5 -43.5-147.5l-377,376.5q 68.5,44.5 148.5,44.5q 55.5,0 105.75-21.75t 86.75-58.25t 58-87.25t 21.5-106.25zM 156.5,596l 377.5-377q-67.5-45.5 -150-45.5q-74,0 -136.5,36.5t-99,99.5t-36.5,137q0,81 44.5,149.5zM 768,446.5q0,78.5 -30.5,150t-81.75,123t-122.5,82t-149.25,30.5t-149.25-30.5 t-122.5-82t-81.75-123t-30.5-150t 30.5-149.75t 81.75-122.75t 122.5-82t 149.25-30.5t 149.25,30.5t 122.5,82t 81.75,122.75t 30.5,149.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"ok-circle, correct, tick, checkmark\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 585.5,406.5l-211,211q-9.5,9.5 -22.5,9.5t-22.5-9.5l-147-147q-9.5-9.5 -9.5-22.5t 9.5-22.5l 51-51q 9.5-9.5 22.5-9.5t 22.5,9.5l 73.5,73.5l 137.5-137.5q 9.5-9.5 22.5-9.5t 22.5,9.5l 51,51q 9.5,9.5 9.5,22.5t-9.5,22.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99 t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"remove-circle, cancel, close, remove, delete\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 548.5,539.5l-73,73q-5,5 -11.5,5t-11.5-5l-68.5-68.5l-68.5,68.5q-5,5 -11.5,5t-11.5-5l-73-73q-5-5 -5-11.5t 5-11.5l 68.5-68.5l-68.5-68.5q-5-5 -5-11.5t 5-11.5l 73-73q 5-5 11.5-5t 11.5,5l 68.5,68.5l 68.5-68.5q 5-5 11.5-5t 11.5,5l 73,73q 5,5 5,11.5t-5,11.5 l-68.5,68.5l 68.5,68.5q 5,5 5,11.5t-5,11.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75 t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"screenshot, target, goal, spot\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 598.5,512l-54.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 54.5,0 q-16-54 -56.25-94.25t-94.25-56.25l0,54.5 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-54.5 q-54,16 -94.25,56.25t-56.25,94.25l 54.5,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13 -9.5,22.5t-22.5,9.5l-54.5,0 q 16,54 56.25,94.25t 94.25,56.25l0-54.5 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,54.5 q 54-16 94.25-56.25t 56.25-94.25zM 768,416l0,64 q0,13 -9.5,22.5t-22.5,9.5l-71.5,0 q-18.5,80.5 -77.25,139.25t-139.25,77.25l0,71.5 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-71.5 q-80.5-18.5 -139.25-77.25t-77.25-139.25l-71.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 71.5,0 q 18.5-80.5 77.25-139.25t 139.25-77.25l0-71.5 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,71.5 q 80.5,18.5 139.25,77.25t 77.25,139.25l 71.5,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"info-sign, information, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,688l0-80 q0-7 -4.5-11.5t-11.5-4.5l-48,0 l0-256 q0-7 -4.5-11.5t-11.5-4.5l-160,0 q-7,0 -11.5,4.5t-4.5,11.5l0,80 q0,7 4.5,11.5t 11.5,4.5l 48,0 l0,160 l-48,0 q-7,0 -11.5,4.5t-4.5,11.5l0,80 q0,7 4.5,11.5t 11.5,4.5l 224,0 q 7,0 11.5-4.5t 4.5-11.5zM 448,240l0-80 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,80 q0,7 4.5,11.5 t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"question-sign, help, support, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448,688l0-96 q0-7 -4.5-11.5t-11.5-4.5l-96,0 q-7,0 -11.5,4.5t-4.5,11.5l0,96 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5zM 576,352q0-44 -27.75-81.5t-69.25-58t-85-20.5q-121.5,0 -185.5,106.5q-7.5,12 4,21l 66,50q 3.5,3 9.5,3q 8,0 12.5-6q 26.5-34 43-46q 17-12 43-12q 24,0 42.75,13t 18.75,29.5 q0,19 -10,30.5t-34,22.5q-31.5,14 -57.75,43.25t-26.25,62.75l0,18 q0,7 4.5,11.5t 11.5,4.5l 96,0 q 7,0 11.5-4.5t 4.5-11.5q0-9.5 10.75-24.75t 27.25-24.75q 16-9 24.5-14.25t 23-17.5t 22.25-24t 14-30.25t 6.25-40.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75 t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"ok-sign, checkmark, tick, correct, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 642,367q0-14 -9-23l-45.5-45q-9.5-9.5 -22.5-9.5t-22.5,9.5l-204,203.5l-113-113q-9.5-9.5 -22.5-9.5t-22.5,9.5l-45.5,45q-9,9 -9,23q0,13.5 9,22.5l 181,181q 9.5,9.5 22.5,9.5q 13.5,0 23-9.5l 271.5-271.5q 9-9 9-22.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5 t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"remove-sign, cancel, remove, delete, close, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 574.5,561q0-13 -9.5-22.5l-90.5-90.5l 90.5-90.5q 9.5-9.5 9.5-22.5q0-13.5 -9.5-23l-45-45q-9.5-9.5 -23-9.5q-13,0 -22.5,9.5l-90.5,90.5l-90.5-90.5q-9.5-9.5 -22.5-9.5q-13.5,0 -23,9.5l-45,45q-9.5,9.5 -9.5,23q0,13 9.5,22.5l 90.5,90.5l-90.5,90.5q-9.5,9.5 -9.5,22.5q0,13.5 9.5,23l 45,45q 9.5,9.5 23,9.5 q 13,0 22.5-9.5l 90.5-90.5l 90.5,90.5q 9.5,9.5 22.5,9.5q 13.5,0 23-9.5l 45-45q 9.5-9.5 9.5-23zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"minus-sign, remove, delete, subtract, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 608,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 384,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75 t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"plus-sign, add, sum, sign\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 608,480l0-64 q0-13 -9.5-22.5t-22.5-9.5l-128,0 l0-128 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,128 l-128,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 128,0 l0,128 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 l 128,0 q 13,0 22.5-9.5t 9.5-22.5zM 768,448q0,104.5 -51.5,192.75 t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"chevron-right, right, arrow-right, next\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 549.5,416q0,26 -18.5,45.5l-326,325.5q-18.5,18.5 -45,18.5t-45-18.5l-38-37.5q-18.5-19.5 -18.5-45.5q0-26.5 18.5-45l 243-243l-243-242.5q-18.5-19.5 -18.5-45.5q0-26.5 18.5-45l 38-37.5q 18-19 45-19t 45,19l 326,325.5q 18.5,18.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"chevron-left, arrow-left, left, previous\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 371,786.5l-326-325.5q-18.5-18.5 -18.5-45.25t 18.5-45.25l 326-325.5q 18.5-18.5 45.25-18.5t 45.25,18.5l 37.5,37.5q 18.5,18.5 18.5,45.25t-18.5,45.25l-243,243l 243,242.5q 18.5,19 18.5,45.5t-18.5,45l-37.5,37.5q-18.5,18.5 -45.25,18.5t-45.25-18.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"769\" height=\"896\" viewBox=\"0 0 769 896\" data-du=\"\" data-tags=\"eject, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 7,489.5l 355-355q 9.5-9.5 22.5-9.5t 22.5,9.5l 355,355q 9.5,9.5 6.5,16t-16,6.5l-736,0 q-13,0 -16-6.5t 6.5-16zM 736.5,768l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"step-forward, forward, next, media, control\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 22.5,825.5q-9.5,9.5 -16,6.5t-6.5-16l0-736 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-339 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,704 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-339 q-2.5,5 -6.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"fast-forward, forward, next, media, control\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 22.5,825.5q-9.5,9.5 -16,6.5t-6.5-16l0-736 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-355 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-339 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,704 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-339 q-2.5,5 -6.5,9.5l-355,355 q-9.5,9.5 -16,6.5t-6.5-16l0-355 q-2.5,5 -6.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"forward, next, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 22.5,825.5q-9.5,9.5 -16,6.5t-6.5-16l0-736 q0-13 6.5-16t 16,6.5l 355,355q 4,4 6.5,9.5l0-355 q0-13 6.5-16t 16,6.5l 355,355q 9.5,9.5 9.5,22.5t-9.5,22.5l-355,355q-9.5,9.5 -16,6.5t-6.5-16l0-355 q-2.5,5 -6.5,9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"stop, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pause, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5zM 320,96l0,704 q0,13 -9.5,22.5t-22.5,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"play, media, control\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 692,463.5l-664,369q-11.5,6.5 -19.75,1.5t-8.25-18l0-736 q0-13 8.25-18t 19.75,1.5l 664,369q 11.5,6.5 11.5,15.5t-11.5,15.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"backward, previous, back, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 809.5,70.5q 9.5-9.5 16-6.5t 6.5,16l0,736 q0,13 -6.5,16t-16-6.5l-355-355q-4-4.5 -6.5-9.5l0,355 q0,13 -6.5,16t-16-6.5l-355-355q-9.5-9.5 -9.5-22.5t 9.5-22.5l 355-355q 9.5-9.5 16-6.5t 6.5,16l0,355 q 2.5-5.5 6.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"fast-backward, first, previous, control\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 873.5,70.5q 9.5-9.5 16-6.5t 6.5,16l0,736 q0,13 -6.5,16t-16-6.5l-355-355q-4.5-4.5 -6.5-9.5l0,355 q0,13 -6.5,16t-16-6.5l-355-355q-4.5-4.5 -6.5-9.5l0,339 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,339 q 2-5.5 6.5-9.5l 355-355 q 9.5-9.5 16-6.5t 6.5,16l0,355 q 2-5.5 6.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"step-backward, previous, control\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 489.5,70.5q 9.5-9.5 16-6.5t 6.5,16l0,736 q0,13 -6.5,16t-16-6.5l-355-355q-4.5-4.5 -6.5-9.5l0,339 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-704 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,339 q 2-5.5 6.5-9.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"move, arrows\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,448q0,13 -9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-64 l-192,0 l0,192 l 64,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5l-128,128q-9.5,9.5 -22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5t 9.5-22.5t 22.5-9.5l 64,0 l0-192 l-192,0 l0,64 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-128-128q-9.5-9.5 -9.5-22.5 t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 l 192,0 l0-192 l-64,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 128-128q 9.5-9.5 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5t-9.5,22.5t-22.5,9.5l-64,0 l0,192 l 192,0 l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5l 128,128q 9.5,9.5 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"check, checkbox, correct, tick\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,465l0,159 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 31.5,0 58.5,12.5q 7.5,3.5 9,11.5q 1.5,8.5 -4.5,14.5l-24.5,24.5q-5,5 -11.5,5q-1.5,0 -4.5-1q-11.5-3 -22.5-3l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-127 q0-6.5 4.5-11l 32-32q 5-5 11.5-5q 3,0 6,1.5q 10,4 10,14.5zM 819.5,220.5l-407,407q-12,12 -28.5,12t-28.5-12l-215-215q-12-12 -12-28.5t 12-28.5l 55-55q 12-12 28.5-12t 28.5,12l 131.5,131.5l 323.5-323.5q 12-12 28.5-12t 28.5,12l 55,55 q 12,12 12,28.5t-12,28.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"share\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,494.5l0,129.5 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 127.5,0 l0,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,13.5 -13,16q-38.5,13 -66.5,30q-5,2 -8,2l-56,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-107 q0-9.5 9-14.5q 14-6.5 27-18.5q 8-8 17.5-4q 10.5,4.5 10.5,14.5zM 822.5,246.5l-192,192q-9,9.5 -22.5,9.5q-6,0 -12.5-2.5q-19.5-8.5 -19.5-29.5l0-96 l-80,0 q-161.5,0 -219,65.5q-59.5,68.5 -37,236.5q 1.5,11.5 -10,17q-4,1 -6,1q-8,0 -13-6.5q-5-7 -10.5-15.5t-19.75-34.25t-24.75-49.75 t-19.25-57t-8.75-61q0-24.5 1.75-45.5t 7-45t 14-44t 23.5-40.75t 34.25-37t 47.25-30.75t 62.25-24.25t 79.75-15.25t 98.25-5.5l 80,0 l0-96 q0-21 19.5-29.5q 6.5-2.5 12.5-2.5q 13,0 22.5,9.5l 192,192q 9.5,9.5 9.5,22.5t-9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"edit, write, blog\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 444,592l 58-58l-76-76l-58,58l0,28 l 48,0 l0,48 l 28,0 zM 664,232q-8-8 -16.5,0.5l-175,175q-8.5,8.5 -0.5,16.5t 16.5-0.5l 175-175q 8.5-8.5 0.5-16.5zM 704,529l0,95 q0,59.5 -42.25,101.75t-101.75,42.25l-416,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-416 q0-59.5 42.25-101.75t 101.75-42.25l 416,0 q 31.5,0 58.5,12.5q 7.5,3.5 9,11.5q 1.5,8.5 -4.5,14.5l-24.5,24.5q-7,7 -16,4q-11.5-3 -22.5-3l-416,0 q-33,0 -56.5,23.5t-23.5,56.5l0,416 q0,33 23.5,56.5t 56.5,23.5l 416,0 q 33,0 56.5-23.5t 23.5-56.5l0-63 q0-6.5 4.5-11l 32-32q 7.5-7.5 17.5-3.5t 10,14.5zM 656,160l 144,144l-336,336l-144,0 l0-144 zM 878,226l-46,46 l-144-144l 46-46q 14-14 34-14t 34,14l 76,76q 14,14 14,34t-14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"tint, droplet, water, color\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 256,576q0-18 -10-34.5q-0.5-0.5 -7.75-11.25t-12.75-19t-12.5-22t-10.5-25.25q-2-8 -10.5-8t-10.5,8q-3.5,11.5 -10.5,25.25t-12.5,22t-12.75,19t-7.75,11.25q-10,16.5 -10,34.5q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 512,512q0,106 -75,181t-181,75t-181-75t-75-181 q0-72.5 40.5-137.5q 3-4.5 31.25-45.25t 50.5-75.5t 49.75-89t 41.5-100.75q 4.5-15 17-23.5t 25.5-8.5t 25.75,8.5t 16.75,23.5q 14,46.5 41.5,100.75t 49.75,89t 50.5,75.5t 31.25,45.25q 40.5,63.5 40.5,137.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"adjust, contrast\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,720l0-544 q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"map-marker, location, marker\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 384,320q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5zM 512,320q0,54.5 -16.5,89.5l-182,387q-8,16.5 -23.75,26t-33.75,9.5t-33.75-9.5t-23.25-26l-182.5-387q-16.5-35 -16.5-89.5q0-106 75-181t 181-75t 181,75t 75,181z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"pencil, write, edit, blog\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 181.5,768l 45.5-45.5l-117.5-117.5l-45.5,45.5l0,53.5 l 64,0 l0,64 l 53.5,0 zM 443,304q0-11 -11-11q-5,0 -8.5,3.5l-271,271q-3.5,3.5 -3.5,8.5q0,11 11,11q 5,0 8.5-3.5l 271-271q 3.5-3.5 3.5-8.5zM 416,208l 208,208l-416,416l-208,0 l0-208 zM 757.5,256q0,26.5 -18.5,45l-83,83l-208-208l 83-82.5q 18-19 45-19 q 26.5,0 45.5,19l 117.5,117q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"picture, image, photo\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 320,288q0,40 -28,68t-68,28t-68-28t-28-68t 28-68t 68-28t 68,28t 28,68zM 832,480l0,224 l-704,0 l0-96 l 160-160l 80,80l 256-256zM 880,128l-800,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,608 q0,6.5 4.75,11.25t 11.25,4.75l 800,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-608 q0-6.5 -4.75-11.25t-11.25-4.75zM 960,144l0,608 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-608 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"facetime-video, video, movie, camera, film\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,176l0,544 q0,21 -19.5,29.5q-6.5,2.5 -12.5,2.5q-13.5,0 -22.5-9.5l-201.5-201.5l0,83 q0,59.5 -42.25,101.75t-101.75,42.25l-352,0 q-59.5,0 -101.75-42.25t-42.25-101.75l0-352 q0-59.5 42.25-101.75t 101.75-42.25l 352,0 q 59.5,0 101.75,42.25t 42.25,101.75l0,82.5 l 201.5-201q 9-9.5 22.5-9.5q 6,0 12.5,2.5 q 19.5,8.5 19.5,29.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"indent-right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 176,416q0,7 -4.5,11.5l-144,144q-4.5,4.5 -11.5,4.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-288 q0-6.5 4.75-11.25t 11.25-4.75q 7,0 11.5,4.5l 144,144q 4.5,4.5 4.5,11.5zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 896,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"indent-left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,272l0,288 q0,6.5 -4.75,11.25t-11.25,4.75q-7,0 -11.5-4.5l-144-144q-4.5-4.5 -4.5-11.5t 4.5-11.5l 144-144q 4.5-4.5 11.5-4.5q 6.5,0 11.25,4.75t 4.75,11.25zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 896,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-544,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 544,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-864,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 864,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list, menu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 128,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 128,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,656l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 128,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,464l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25 t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,272l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 896,80l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-672,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 672,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-justify, justify, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,288l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-right, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 640,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,288l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-768,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 768,0 q 13,0 22.5,9.5t 9.5,22.5zM 896,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-576,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-center, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 704,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5zM 832,288l0,64 q0,13 -9.5,22.5t-22.5,9.5 l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 704,0 q 13,0 22.5,9.5t 9.5,22.5zM 640,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-320,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"align-left, paragraph, editor, format\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 896,672l0,64 q0,13 -9.5,22.5t-22.5,9.5l-832,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 832,0 q 13,0 22.5,9.5t 9.5,22.5zM 704,480l0,64 q0,13 -9.5,22.5t-22.5,9.5l-640,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 640,0 q 13,0 22.5,9.5t 9.5,22.5zM 832,288l0,64 q0,13 -9.5,22.5 t-22.5,9.5l-768,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 768,0 q 13,0 22.5,9.5t 9.5,22.5zM 640,96l0,64 q0,13 -9.5,22.5t-22.5,9.5l-576,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 576,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"text-width, format, text\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 40.5,64.5l 27,13.5q 10,2.5 105.5,2.5l 65,0 l 9.5-1.5l 57.5-0.5l 223,0.5l 159,0 l 17,1q 7,0.5 14-3.5t 10.5-8l 3.5-4l 21-0.5q 7.5,0 14,0.5l0,52.25 t 0.5,65.75l 0.5,50l-0.5,29q0,16 -2,25.5q-19.5,7.5 -34,9q-12.5-21.5 -27-64q-4-12 -7.75-31.25t-5.75-32.75t-3-14.5q-6.5-7.5 -13.5-9.5q-3.5-1 -29.25-1t-69.25,0.5t-64,0.5 q-47,0 -63.5,2.5q-5,48.5 -4,68l 0.5,76l0-26 l 1.5,179.5l-0.5,73.5q-0.5,23 5.5,42.5q 24.5,12.5 44.5,16q 1,0 9,2.5t 22,6.5t 21.5,6q 15,4 25,9q 2.5,22.5 2.5,25q0,5 -1.5,14.5q-7,0.5 -17,0.5q-55,0 -93.5-5q-36-4 -119-4q-41,0 -116.5,6.5q-22.5,2.5 -35,2.5q-1-11 -1-13l-0.5-13l0-4.5 q 10.5-16.5 39.5-24.5 q 69.5-19 79.5-25q 4.5-10.5 6-28q 3-68.5 3-216.5l-2.5-22q0-132.5 -1-139q-1-5.5 -3-7.5q-3-2.5 -7-3q-19-3 -74-3q-25,0 -84.25,7t-66.25,12q-6.5,4.5 -11,16.5t-11,37.5t-12,42q-3,9.5 -9.75,16t-10.25,6.5q-22-13.5 -28-22l0-148.5 l0-43 zM 752.5,711.5q 13,10 13,24.5t-13,24.5l-81,63 q-13,10 -22.25,5.5t-9.25-21l0-40 l-512,0 l0,40 q0,16.5 -9.25,21t-22.25-5.5l-81-63q-13-10 -13-24.5t 13-24.5l 81-63q 13-10 22.25-5.5t 9.25,21l0,40 l 512,0 l0-40 q0-16.5 9.25-21t 22.25,5.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"text-height, format, editor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 40.5,64.5l 27,13.5q 10,2.5 105.5,2.5l 65,0 l 9.5-1.5l 57.5-0.5l 107.5,0.5l 146.5,0 l 17,1q 7,0.5 14-3.5t 10.5-8l 3.5-4l 21-0.5q 7.5,0 14,0.5l0,52.25 t 0.5,65.75l 0.5,50l-0.5,29q0,16 -2,25.5q-19.5,7.5 -34,9q-12.5-21.5 -27-64q-4-12 -7.75-31.25t-5.75-32.75t-3-14.5q-6.5-7.5 -13.5-9.5q-3.5-1 -21.25-1t-51.75,0.5t-55.5,0.5 q-17,0 -33.5,2.5q-5,48.5 -4,68l 0.5,76l0,166 l 1.5,179.5l-0.5,73.5q-0.5,23 5.5,42.5q 24.5,12.5 44.5,16q 1,0 9,2.5t 22,6.5t 21.5,6q 15,4 25,9q 2.5,22.5 2.5,25q0,5 -1.5,14.5q-7,0.5 -17,0.5q-55,0 -93.5-5q-36-4 -119-4q-44,0 -116.5,7q-24,2 -35,2q-1-11 -1-13l-0.5-13l0-4.5 q 10.5-16.5 39.5-24.5 q 69.5-19 79.5-25q 4.5-10.5 6-28q 4-96 3-216.5l-2.5-214q-0.5-31 -0.25-59.25t 0.25-51.25t-1-28.5t-3-7.5q-3-2.5 -7-3q-19-3 -74-3q-21.5,0 -50,6.75t-36.5,12.25q-6.5,4.5 -11,16.5t-11,37.5t-12,42q-3,9.5 -9.75,16t-10.25,6.5q-22-13.5 -28-22l0-148.5 l0-43 zM 872,704q 16.5,0 21,9.25t-5.5,22.25 l-63,81q-10,13 -24.5,13t-24.5-13l-63-81q-10-13 -5.5-22.25t 21-9.25l 40,0 l0-512 l-40,0 q-16.5,0 -21-9.25t 5.5-22.25l 63-81q 10-13 24.5-13t 24.5,13l 63,81q 10,13 5.5,22.25t-21,9.25l-40,0 l0,512 l 40,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"512\" height=\"896\" viewBox=\"0 0 512 896\" data-du=\"\" data-tags=\"italic, editor, format\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M0,831l 8.5-42.5q 2-0.5 38.5-10q 38-9.5 58-19.5q 14.5-18.5 20.5-50.5l 13.5-69.5l 28-134l 6-32q 4-22 8.5-42.25t 8-33.5t 6.25-23.25t 4.5-15.25t 1.75-5.75l 14.5-78.5l 8-31.5l 11-67.5l 4-25l0-19 q-20.5-11 -72-14q-14-1 -19-2l 9.5-51.5l 158.5,7q 19.5,1 36.5,1q 33,0 107-4.5q 16.5-1 34-2.25t 18-1.25q-1,9.5 -3,19 q-3.5,14.5 -6.5,25.5q-27.5,9.5 -54.5,15.5q-32,8 -50.5,15.5q-6,15.5 -12,44q-4.5,22 -6.5,41q-22,99.5 -33,153l-30.5,155.5l-19,79l-21.5,117.5l-6,22.5q-1,3.5 0.5,13.5q 32,7.5 59.5,10.5q 18,2.5 33,5q-0.5,14.5 -3.5,29q-3.5,15.5 -4.5,20.5q-9,0 -11.5,0.5q-12,1 -21,1q-4.5,0 -14-1.5q-9.5-2 -72.5-8.5 l-99-1q-20.5-0.5 -87,5.5q-37,3.5 -49,4.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"bold, editor, format\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 277.5,760.5q 38,16 70,16q 65.5,0 108-20.5t 61-56.5q 19-35 19-90.5q0-57 -20.5-90q-29-47 -70.5-63q-40-16 -123.5-16q-37,0 -50.5,5l0,72 l-0.5,86.5l 1.5,135q0,7.5 6,22zM 270.5,387.5q 21.5,3.5 54.5,3.5q 87.5,0 132-32.5t 44.5-112q0-56 -42.5-93.5q-42-37.5 -127.5-37.5q-26,0 -65,6.5q0,22 1,38.5 q 3.5,61 3,139.5l-0.5,49q0,21.5 0.5,38.5zM0,832l 1-47q 22.5-4.5 34-6q 38.5-6 61.5-15.5q 8.5-13.5 10.5-25.5q 4.5-33 4.5-97l-1-248.5q-2.5-128 -4.5-202q-0.5-43.5 -5.5-54.5q-0.5-2 -6-6q-9-6 -34.5-7.5q-15-1 -57-6.5l-2-41.5l 130-3l 190-6.5l 22.5-0.5q 2.5,0 7-0.25t 7-0.25q 0.5,0 10.75,0.25t 20.25,0.25l 37,0 q 44,0 95.5,13.5 q 21.5,6.5 48,19.5q 28.5,14.5 51,38q 22,23.5 32.5,52t 10.5,61q0,35 -16,64t-47.5,52.5q-13,10 -75,38.5q 88.5,20.5 133.5,73q 46,53 46,118q0,38 -14.5,80.5q-10.5,31 -35.5,58.5q-33,36 -70,54q-36.5,18 -101.5,30q-41,7.5 -99,5.5l-98.5-2q-42-1 -149,5.5q-16.5,1.5 -136,5.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"font, letter, glyph, editor\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 362.5,279.5l-85,225q 36.5,0.5 76.75,1t 59.5,0.75t 26.25,0.25l 14.5-1q-16-47.5 -46-120.5q-26.5-66 -46-105.5zM 10.5,832l-10.5,0 l 1-39.5q 11-3.5 40-9q 44.5-8 55-15.5q 10-8 24-34l 118.5-308l 140-362l 37.5,0 l 26.5,0 l 5.5,10.5l 102.5,240q 51.5,121 62,148.5q 19.5,51 48,117.5q 13,29 32.5,82q 12,33.5 32.5,74.5 q 11,24.5 17.5,28.5q 11,9.5 34.5,11.5q 23.5,3 51.5,13.5q 3,19.5 3,28.5q0,7 -0.5,13q-40,0 -96-4q-46.5-4 -94.5-4q-39.5,0 -67.5,1l-100,5.5l-29,1q0-22.5 2-39l 65.5-14q 28-6.5 34-11.5q 6-6 6-13.5t-3-16l-23.5-57l-46-114l-225-1q-14.5,32.5 -52,137q-11.5,32 -11.5,42q0,15.5 8.5,21.5 q 13,10.5 51.5,16q 1.5,0 6.75,1t 15,2.5t 20.25,3q 0.5,14 0.5,29q0,8.5 -1,13.5q-33,0 -174.5-10l-24,4q-40.5,7 -83.5,7z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 480,336q 59.5,0 101.75,42.25t 42.25,101.75t-42.25,101.75t-101.75,42.25t-101.75-42.25t-42.25-101.75t 42.25-101.75t 101.75-42.25zM 832,128q 53,0 90.5,37.5t 37.5,90.5l0,448 q0,53 -37.5,90.5t-90.5,37.5l-704,0 q-53,0 -90.5-37.5t-37.5-90.5l0-448 q0-53 37.5-90.5t 90.5-37.5l 112,0 l 25.5-68 q 9.5-24.5 34.75-42.25t 51.75-17.75l 256,0 q 26.5,0 51.75,17.75t 34.75,42.25l 25.5,68l 112,0 zM 480,704q 92.5,0 158.25-65.75t 65.75-158.25t-65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"print\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 192,768l 448,0 l0-128 l-448,0 l0,128 zM 192,448l 448,0 l0-192 l-80,0 q-20,0 -34-14t-14-34l0-80 l-320,0 l0,320 zM 768,480q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,480l0,208 q0,6.5 -4.75,11.25t-11.25,4.75l-112,0 l0,80 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34 l0-80 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-208 q0-39.5 28.25-67.75t 67.75-28.25l 32,0 l0-272 q0-20 14-34t 34-14l 336,0 q 20,0 44,10t 38,24l 76,76q 14,14 24,38t 10,44l0,128 l 32,0 q 39.5,0 67.75,28.25t 28.25,67.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"bookmark, favorite, ribbon\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 582,64q 11.5,0 22,4.5q 16.5,6.5 26.25,20.5t 9.75,31l0,644.5 q0,17 -9.75,31t-26.25,20.5q-9.5,4 -22,4q-24,0 -41.5-16l-220.5-212l-220.5,212q-18,16.5 -41.5,16.5q-11.5,0 -22-4.5q-16.5-6.5 -26.25-20.5t-9.75-31l0-644.5 q0-17 9.75-31t 26.25-20.5q 10.5-4.5 22-4.5l 524,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"book, read, study, learn, education\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 819.5,239q 20,28.5 9,64.5l-137.5,453q-9.5,32 -38.25,53.75t-61.25,21.75l-461.5,0 q-38.5,0 -74.25-26.75t-49.75-65.75q-12-33.5 -1-63.5q0-2 1.5-13.5t 2-18.5q 0.5-4 -1.5-10.75t-1.5-9.75q 1-5.5 4-10.5t 8.25-11.75t 8.25-11.75q 11.5-19 22.5-45.75t 15-45.75q 1.5-5 0.25-15t-0.25-14q 1.5-5.5 8.5-14t 8.5-11.5 q 10.5-18 21-46t 12.5-45q 0.5-4.5 -1.25-16t 0.25-14q 2-6.5 11-15.25t 11-11.25q 9.5-13 21.25-42.25t 13.75-48.25q 0.5-4 -1.5-12.75t-1-13.25q 1-4 4.5-9t 9-11.5t 8.5-10.5q 4-6 8.25-15.25t 7.5-17.5t 8-18t 9.75-16t 13.25-11.75t 18-5.75t 23.75,2.75l-0.5,1.5q 19-4.5 25.5-4.5l 380.5,0 q 37,0 57,28t 9,65l-137,453 q-18,59.5 -35.75,76.75t-64.25,17.25l-434.5,0 q-13.5,0 -19,7.5q-5.5,8 -0.5,21.5q 12,35 72,35l 461.5,0 q 14.5,0 28-7.75t 17.5-20.75l 150-493.5q 3.5-11 2.5-28.5q 19,7.5 29.5,21.5zM 287.5,240q-2,6.5 1,11.25t 10,4.75l 304,0 q 6.5,0 12.75-4.75t 8.25-11.25l 10.5-32q 2-6.5 -1-11.25t-10-4.75l-304,0 q-6.5,0 -12.75,4.75 t-8.25,11.25zM 246,368q-2,6.5 1,11.25t 10,4.75l 304,0 q 6.5,0 12.75-4.75t 8.25-11.25l 10.5-32q 2-6.5 -1-11.25t-10-4.75l-304,0 q-6.5,0 -12.75,4.75t-8.25,11.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"tags, price, ecommerce\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 224,224q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 757.5,512q0,26.5 -18.5,45l-245.5,246q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-357.5-358q-19-18.5 -32.25-50.5t-13.25-58.5l0-208 q0-26 19-45t 45-19l 208,0 q 26.5,0 58.5,13.25t 51,32.25 l 357.5,357q 18.5,19.5 18.5,45.5zM 949.5,512q0,26.5 -18.5,45l-245.5,246q-19.5,18.5 -45.5,18.5q-18,0 -29.5-7t-26.5-22.5l 235-235q 18.5-18.5 18.5-45q0-26 -18.5-45.5l-357.5-357q-19-19 -51-32.25t-58.5-13.25l 112,0 q 26.5,0 58.5,13.25t 51,32.25l 357.5,357q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"tag, price, ecommerce\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 224,224q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 757.5,512q0,26.5 -18.5,45l-245.5,246q-19.5,18.5 -45.5,18.5q-26.5,0 -45-18.5l-357.5-358q-19-18.5 -32.25-50.5t-13.25-58.5l0-208 q0-26 19-45t 45-19l 208,0 q 26.5,0 58.5,13.25t 51,32.25 l 357.5,357q 18.5,19.5 18.5,45.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"barcode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 31.5,768l-31.5,0 l0-704 l 31.5,0 l0,704 zM 63,767.5l-16,0 l0-703.5 l 16,0 l0,703.5 zM 110,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 188.5,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 267,767.5l-31,0 l0-703.5 l 31,0 l0,703.5 zM 330,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 361.5,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 393,767.5l-15.5,0 l0-703.5 l 15.5,0 l0,703.5 zM 471.5,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 550,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 z M 613,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 676,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 723,767.5l-31.5,0 l0-703.5 l 31.5,0 l0,703.5 zM 817.5,767.5l-47,0 l0-703.5 l 47,0 l0,703.5 zM 849,767.5l-16,0 l0-703.5 l 16,0 l0,703.5 zM 896,768l-31.5,0 l0-704 l 31.5,0 l0,704 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"qrcode\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 192,576l0,64 l-64,0 l0-64 l 64,0 zM 192,192l0,64 l-64,0 l0-64 l 64,0 zM 576,192l0,64 l-64,0 l0-64 l 64,0 zM 64,703.5l 192,0 l0-191.5 l-192,0 l0,191.5 zM 64,320l 192,0 l0-192 l-192,0 l0,192 zM 448,320l 192,0 l0-192 l-192,0 l0,192 zM 320,448l0,320 l-320,0 l0-320 l 320,0 zM 576,704l0,64 l-64,0 l0-64 l 64,0 zM 704,704l0,64 l-64,0 l0-64 l 64,0 z M 704,448l0,192 l-192,0 l0-64 l-64,0 l0,192 l-64,0 l0-320 l 192,0 l0,64 l 64,0 l0-64 l 64,0 zM 320,64l0,320 l-320,0 l0-320 l 320,0 zM 704,64l0,320 l-320,0 l0-320 l 320,0 z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"volume-up, speaker\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,176l0,544 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-166.5-166.5l-131,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 131,0 l 166.5-166.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5zM 576,448q0,38 -21.25,70.75t-56.25,46.75q-5,2.5 -12.5,2.5q-13,0 -22.5-9.25t-9.5-22.75q0-10.5 6-17.75t 14.5-12.5t 17-11.5t 14.5-17.75 t 6-28.5t-6-28.5t-14.5-17.75t-17-11.5t-14.5-12.5t-6-17.75q0-13.5 9.5-22.75t 22.5-9.25q 7.5,0 12.5,2.5q 35,13.5 56.25,46.5t 21.25,71zM 704,448q0,76.5 -42.5,141.25t-112.5,94.25q-6.5,2.5 -12.5,2.5q-13.5,0 -23-9.5t-9.5-22.5q0-19.5 19.5-29.5q 28-14.5 38-22q 37-27 57.75-67.75t 20.75-86.75t-20.75-86.75 t-57.75-67.75q-10-7.5 -38-22q-19.5-10 -19.5-29.5q0-13 9.5-22.5t 22.5-9.5q 6.5,0 13,2.5q 70,29.5 112.5,94.25t 42.5,141.25zM 832,448q0,115 -63.5,211.25t-169,141.75q-6.5,2.5 -13,2.5q-13,0 -22.5-9.5t-9.5-22.5q0-18 19.5-29.5q 3.5-2 11.25-5.25t 11.25-5.25q 23-12.5 41-25.5q 61.5-45.5 96-113.5t 34.5-144.5t-34.5-144.5 t-96-113.5q-18-13 -41-25.5q-3.5-2 -11.25-5.25t-11.25-5.25q-19.5-11.5 -19.5-29.5q0-13 9.5-22.5t 22.5-9.5q 6.5,0 13,2.5q 105.5,45.5 169,141.75t 63.5,211.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"volume-down, speaker\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 384,176l0,544 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-166.5-166.5l-131,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 131,0 l 166.5-166.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5zM 576,448q0,38 -21.25,70.75t-56.25,46.75q-5,2.5 -12.5,2.5q-13,0 -22.5-9.25t-9.5-22.75q0-10.5 6-17.75t 14.5-12.5t 17-11.5t 14.5-17.75 t 6-28.5t-6-28.5t-14.5-17.75t-17-11.5t-14.5-12.5t-6-17.75q0-13.5 9.5-22.75t 22.5-9.25q 7.5,0 12.5,2.5q 35,13.5 56.25,46.5t 21.25,71z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"384\" height=\"896\" viewBox=\"0 0 384 896\" data-du=\"\" data-tags=\"volume-off, speaker, mute\" style=\"margin-left: 13px; margin-top: 8px;\"><path d=\"M 384,176l0,544 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5l-166.5-166.5l-131,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 131,0 l 166.5-166.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"headphones, listen, music\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,443q0,83 -30,157l-10,24.5l-92.5,16.5q-11,41.5 -45.25,68.25t-78.25,26.75l0,16 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5l0,16 q 35.5,0 65,17.75t 46.5,47.75l 34-6q 14.5-47.5 14.5-96.5q0-74 -44-139.5t-118.25-104.5t-157.75-39 t-157.75,39t-118.25,104.5t-44,139.5q0,49 14.5,96.5l 34,6q 17-30 46.5-47.75t 65-17.75l0-16 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-16 q-44,0 -78.25-26.75t-45.25-68.25l-92.5-16.5l-10-24.5q-30-74 -30-157q0-75.5 33.5-145.5t 89.5-121.25 t 133-81.75t 160-30.5t 160,30.5t 133,81.75t 89.5,121.25t 33.5,145.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"flag, report\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 160,128q0,36 -32,55l0,633 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-633 q-32-19 -32-55q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 896,160l0,381.5 q0,12.5 -6.25,19.25t-19.75,13.75q-107.5,58 -184.5,58q-30.5,0 -61.75-11t-54.25-24 t-57.75-24t-71.25-11q-96,0 -232,73q-8.5,4.5 -16.5,4.5q-13,0 -22.5-9.5t-9.5-22.5l0-371 q0-16 15.5-27.5q 10.5-7 39.5-21.5q 118-60 210.5-60q 53.5,0 100,14.5t 109.5,44q 19,9.5 44,9.5q 27,0 58.75-10.5t 55-23.5t 44-23.5t 27.25-10.5q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"576\" height=\"896\" viewBox=\"0 0 576 896\" data-du=\"\" data-tags=\"lock, password, secure, private, protected, encrypted\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 160,384l 256,0 l0-96 q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5l0,96 zM 576,432l0,288 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-288 q0-20 14-34t 34-14l 16,0 l0-96 q0-92 66-158t 158-66t 158,66t 66,158l0,96 l 16,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"list-alt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,592l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 192,464l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 192,336l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 768,592l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25z M 768,464l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 768,336l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75 t 4.75,11.25zM 832,688l0-416 q0-6.5 -4.75-11.25t-11.25-4.75l-736,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,416 q0,6.5 4.75,11.25t 11.25,4.75l 736,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 896,144l0,544 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 736,0 q 33,0 56.5,23.5 t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"refresh, synchronize\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 755.5,528q0,2.5 -0.5,3.5q-32,134 -134,217.25t-239,83.25q-73,0 -141.25-27.5t-121.75-78.5l-64.5,64.5q-9.5,9.5 -22.5,9.5t-22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5l-68.5,68.5q 35.5,33 80.5,51t 93.5,18q 67,0 125-32.5t 93-89.5q 5.5-8.5 26.5-58.5 q 4-11.5 15-11.5l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 768,128l0,224 q0,13 -9.5,22.5t-22.5,9.5l-224,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5l 69-69q-74-68.5 -174.5-68.5q-67,0 -125,32.5t-93,89.5q-5.5,8.5 -26.5,58.5q-4,11.5 -15,11.5l-99.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-3.5 q 32.5-134 135-217.25t 240-83.25 q 73,0 142,27.75t 122.5,78.25l 65-64.5q 9.5-9.5 22.5-9.5t 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"repeat, loop, reload, refresh, synchronize\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,128l0,224 q0,13 -9.5,22.5t-22.5,9.5l-224,0 q-21,0 -29.5-20q-8.5-19.5 7-34.5l 69-69q-74-68.5 -174.5-68.5q-52,0 -99.25,20.25t-81.75,54.75t-54.75,81.75t-20.25,99.25t 20.25,99.25t 54.75,81.75t 81.75,54.75t 99.25,20.25q 59.5,0 112.5-26t 89.5-73.5q 3.5-5 11.5-6q 7,0 12.5,4.5 l 68.5,69q 4.5,4 4.75,10.25t-3.75,11.25q-54.5,66 -132,102.25t-163.5,36.25q-78,0 -149-30.5t-122.5-82t-82-122.5t-30.5-149t 30.5-149t 82-122.5t 122.5-82t 149-30.5q 73.5,0 142.25,27.75t 122.25,78.25l 65-64.5q 14.5-15.5 35-7q 19.5,8.5 19.5,29.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"play-circle, media, control\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 592,448q0,18.5 -16,27.5l-272,160q-7.5,4.5 -16,4.5q-8,0 -16-4q-16-9.5 -16-28l0-320 q0-18.5 16-28q 16.5-9 32,0.5l 272,160q 16,9 16,27.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"inbox, drawer, storage, archive\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 511.5,480l 158,0 q-0.5-1.5 -1.25-4t-1.25-4l-106-248l-354,0 l-106,248q-0.5,1 -1.25,4t-1.25,4l 158,0 l 47.5,96l 160,0 zM 768,495l0,241 q0,13 -9.5,22.5t-22.5,9.5l-704,0 q-13,0 -22.5-9.5t-9.5-22.5l0-241 q0-31 12.5-61.5l 119-276q 5-12.5 18.25-21t 26.25-8.5l 416,0 q 13,0 26.25,8.5t 18.25,21l 119,276 q 12.5,30.5 12.5,61.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"upload, load, open\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 559,438q-4,10 -15,10l-96,0 l0,176 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-176 l-96,0 q-7,0 -11.5-4.5t-4.5-11.5q0-6 5-12l 159.5-159.5q 5.5-4.5 11.5-4.5t 11.5,4.5l 160,160q 7.5,8 3.5,17.5zM 384,176q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99 t 36.5-136.5t-36.5-136.5t-99-99t-136.5-36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"download, arrow, store, save\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 560,464q0,6 -5,12l-159.5,159.5q-5.5,4.5 -11.5,4.5t-11.5-4.5l-160-160q-7.5-8 -3.5-17.5q 4-10 15-10l 96,0 l0-176 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,176 l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 384,176q-74,0 -136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5 t-36.5-136.5t-99-99t-136.5-36.5zM 768,448q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"download-alt, arrow, store, save\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 640,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 768,672q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5zM 832,560l0,160 q0,20 -14,34t-34,14l-736,0 q-20,0 -34-14t-14-34l0-160 q0-20 14-34t 34-14l 232.5,0 l 67.5,68 q 29,28 68,28t 68-28l 68-68l 232,0 q 20,0 34,14t 14,34zM 669.5,275.5q 8.5,20.5 -7,35l-224,224q-9,9.5 -22.5,9.5t-22.5-9.5l-224-224q-15.5-14.5 -7-35q 8.5-19.5 29.5-19.5l 128,0 l0-224 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 l 128,0 q 21,0 29.5,19.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"road, asphalt\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 555.5,498l0-2 l-12-160q-0.5-6.5 -5.5-11.25t-11.5-4.75l-93,0 q-6.5,0 -11.5,4.75t-5.5,11.25l-12,160l0,2 q-0.5,6 4,10t 10.5,4l 122,0 q 6,0 10.5-4t 4-10zM 935,731.5q0,36.5 -23,36.5l-352,0 q 6.5,0 11-4.75t 4-11.25l-10-128q-0.5-6.5 -5.5-11.25t-11.5-4.75l-136,0 q-6.5,0 -11.5,4.75t-5.5,11.25l-10,128 q-0.5,6.5 4,11.25t 11,4.75l-352,0 q-23,0 -23-36.5q0-27 13-58l 208.5-522q 4-9.5 13-16.5t 19-7l 169.5,0 q-6.5,0 -11.5,4.75t-5.5,11.25l-7.5,96q-0.5,7 4,11.5t 11,4.5l 83,0 q 6.5,0 11-4.5t 4-11.5l-7.5-96q-0.5-6.5 -5.5-11.25t-11.5-4.75l 169.5,0 q 10,0 19,7t 13,16.5l 208.5,522q 13,31 13,58z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"time, clock\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 448,272l0,224 q0,7 -4.5,11.5t-11.5,4.5l-160,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 112,0 l0-176 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 656,448q0-74 -36.5-136.5t-99-99t-136.5-36.5t-136.5,36.5t-99,99t-36.5,136.5t 36.5,136.5t 99,99t 136.5,36.5t 136.5-36.5t 99-99t 36.5-136.5zM 768,448 q0,104.5 -51.5,192.75t-139.75,139.75t-192.75,51.5t-192.75-51.5t-139.75-139.75t-51.5-192.75t 51.5-192.75t 139.75-139.75t 192.75-51.5t 192.75,51.5t 139.75,139.75t 51.5,192.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"640\" height=\"896\" viewBox=\"0 0 640 896\" data-du=\"\" data-tags=\"file, paper, new, empty\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 64,768l 512,0 l0-384 l-208,0 q-20,0 -34-14t-14-34l0-208 l-256,0 l0,640 zM 384,320l 188,0 q-5-14.5 -11-20.5l-156.5-156.5q-6-6 -20.5-11l0,188 zM 640,336l0,448 q0,20 -14,34t-34,14l-544,0 q-20,0 -34-14t-14-34l0-672 q0-20 14-34t 34-14l 320,0 q 20,0 44,10t 38,24l 156,156q 14,14 24,38t 10,44z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 704,496l0,240 q0,13 -9.5,22.5t-22.5,9.5l-192,0 l0-192 l-128,0 l0,192 l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-240 q0-0.5 0.25-1.5t 0.25-1.5l 287.5-237l 287.5,237q 0.5,1 0.5,3zM 815.5,461.5l-31,37q-4,4.5 -10.5,5.5l-1.5,0 q-6.5,0 -10.5-3.5l-346-288.5l-346,288.5q-6,4 -12,3.5q-6.5-1 -10.5-5.5l-31-37q-4-5 -3.5-11.75t 5.5-10.75 l 359.5-299.5q 16-13 38-13t 38,13l 122,102l0-97.5 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5l0,204 l 109.5,91q 5,4 5.5,10.75t-3.5,11.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"trash, remove, delete, bin\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 256,368l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 384,368l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,368l0,288 q0,7 -4.5,11.5t-11.5,4.5l-32,0 q-7,0 -11.5-4.5t-4.5-11.5l0-288 q0-7 4.5-11.5t 11.5-4.5l 32,0 q 7,0 11.5,4.5t 4.5,11.5zM 576,730l0-474 l-448,0 l0,474 q0,11 3.5,20.25t 7.25,13.5t 5.25,4.25l 416,0 q 1.5,0 5.25-4.25t 7.25-13.5t 3.5-20.25zM 240,192l 224,0 l-24-58.5q-3.5-4.5 -8.5-5.5l-158.5,0 q-5,1 -8.5,5.5zM 704,208l0,32 q0,7 -4.5,11.5t-11.5,4.5l-48,0 l0,474 q0,41.5 -23.5,71.75t-56.5,30.25l-416,0 q-33,0 -56.5-29.25t-23.5-70.75l0-476 l-48,0 q-7,0 -11.5-4.5t-4.5-11.5l0-32 q0-7 4.5-11.5t 11.5-4.5l 154.5,0 l 35-83.5q 7.5-18.5 27-31.5t 39.5-13l 160,0 q 20,0 39.5,13t 27,31.5l 35,83.5l 154.5,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"cog, settings, options, gear, preferences\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,448q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5zM 768,393.5l0,111 q0,6 -4,11.5t-10,6.5l-92.5,14q-9.5,27 -19.5,45.5q 17.5,25 53.5,69q 5,6 5,12.5t-4.5,11.5q-13.5,18.5 -49.5,54t-47,35.5q-6,0 -13-4.5l-69-54q-22,11.5 -45.5,19 q-8,68 -14.5,93q-3.5,14 -18,14l-111,0 q-7,0 -12.25-4.25t-5.75-10.75l-14-92q-24.5-8 -45-18.5l-70.5,53.5q-5,4.5 -12.5,4.5q-7,0 -12.5-5.5q-63-57 -82.5-84q-3.5-5 -3.5-11.5q0-6 4-11.5q 7.5-10.5 25.5-33.25t 27-35.25q-13.5-25 -20.5-49.5l-91.5-13.5q-6.5-1 -10.5-6.25t-4-11.75l0-111 q0-6 4-11.5t 9.5-6.5 l 93-14q 7-23 19.5-46q-20-28.5 -53.5-69q-5-6 -5-12q0-5 4.5-11.5q 13-18 49.25-53.75t 47.25-35.75q 6.5,0 13,5l 69,53.5q 22-11.5 45.5-19q 8-68 14.5-93q 3.5-14 18-14l 111,0 q 7,0 12.25,4.25t 5.75,10.75l 14,92q 24.5,8 45,18.5l 71-53.5q 4.5-4.5 12-4.5q 6.5,0 12.5,5q 64.5,59.5 82.5,85q 3.5,4 3.5,11 q0,6 -4,11.5q-7.5,10.5 -25.5,33.25t-27,35.25q 13,25 20.5,49l 91.5,14q 6.5,1 10.5,6.25t 4,11.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"signal, bars, stats\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,720l0,96 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-96 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 320,656l0,160 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-160 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 512,528l0,288 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5 l0-288 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 704,336l0,480 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-480 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5zM 896,80l0,736 q0,7 -4.5,11.5t-11.5,4.5l-96,0 q-7,0 -11.5-4.5t-4.5-11.5l0-736 q0-7 4.5-11.5t 11.5-4.5l 96,0 q 7,0 11.5,4.5t 4.5,11.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"off, switch, power\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,448q0,78 -30.5,149t-82,122.5t-122.5,82t-149,30.5t-149-30.5t-122.5-82t-82-122.5t-30.5-149q0-91 40.25-171.5t 113.25-135q 21.5-16 47.75-12.5t 41.75,25q 16,21 12.25,47.25t-24.75,42.25q-49,37 -75.75,90.5t-26.75,114q0,52 20.25,99.25t 54.75,81.75t 81.75,54.75 t 99.25,20.25t 99.25-20.25t 81.75-54.75t 54.75-81.75t 20.25-99.25q0-60.5 -26.75-114t-75.75-90.5q-21-16 -24.75-42.25t 12.25-47.25q 15.5-21.5 42-25t 47.5,12.5q 73,54.5 113.25,135t 40.25,171.5zM 448,64l0,320 q0,26 -19,45t-45,19t-45-19t-19-45l0-320 q0-26 19-45t 45-19t 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"zoom-out, magnifier\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 288,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,416q0-92.5 -65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75t 158.25-65.75t 65.75-158.25z M 832,832q0,26.5 -18.75,45.25t-45.25,18.75q-27,0 -45-19l-171.5-171q-89.5,62 -199.5,62q-71.5,0 -136.75-27.75t-112.5-75t-75-112.5t-27.75-136.75t 27.75-136.75t 75-112.5t 112.5-75t 136.75-27.75t 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,110 -62,199.5l 171.5,171.5q 18.5,18.5 18.5,45z \" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"zoom-in, magnifier, enlarge\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 512,400l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-112,0 l0,112 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-112 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 112,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 l 112,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 576,416q0-92.5 -65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75t 158.25-65.75t 65.75-158.25zM 832,832q0,26.5 -18.75,45.25t-45.25,18.75q-27,0 -45-19l-171.5-171q-89.5,62 -199.5,62q-71.5,0 -136.75-27.75 t-112.5-75t-75-112.5t-27.75-136.75t 27.75-136.75t 75-112.5t 112.5-75t 136.75-27.75t 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,110 -62,199.5l 171.5,171.5q 18.5,18.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"remove, cancel, close, delete, mutiply\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 649,661q0,20 -14,34l-68,68q-14,14 -34,14t-34-14l-147-147l-147,147q-14,14 -34,14t-34-14l-68-68q-14-14 -14-34t 14-34l 147-147l-147-147q-14-14 -14-34t 14-34l 68-68q 14-14 34-14t 34,14l 147,147l 147-147q 14-14 34-14t 34,14l 68,68q 14,14 14,34 t-14,34l-147,147l 147,147q 14,14 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"ok, checkmark, tick, correct\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 835.5,283q0,20 -14,34l-362,362l-68,68q-14,14 -34,14t-34-14l-68-68l-181-181q-14-14 -14-34t 14-34l 68-68q 14-14 34-14t 34,14l 147,147.5l 328-328.5q 14-14 34-14t 34,14l 68,68q 14,14 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"th-list, list, ul\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 256,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,624l0,96 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 480,0 q 20,0 34,14t 14,34zM 256,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,368l0,96 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14 l 480,0 q 20,0 34,14t 14,34zM 896,112l0,96 q0,20 -14,34t-34,14l-480,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 480,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"th, grid\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 256,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 576,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 256,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 576,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14 l 160,0 q 20,0 34,14t 14,34zM 896,624l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 576,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,368l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34zM 896,112l0,96 q0,20 -14,34t-34,14l-160,0 q-20,0 -34-14t-14-34l0-96 q0-20 14-34t 34-14l 160,0 q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"th-large, grid, icons\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 384,512l0,192 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45zM 384,128l0,192 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45zM 832,512l0,192 q0,26 -19,45t-45,19 l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45zM 832,128l0,192 q0,26 -19,45t-45,19l-256,0 q-26,0 -45-19t-19-45l0-192 q0-26 19-45t 45-19l 256,0 q 26,0 45,19t 19,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"960\" height=\"896\" viewBox=\"0 0 960 896\" data-du=\"\" data-tags=\"film, movie, video\" style=\"margin-left: 7px; margin-top: 8px;\"><path d=\"M 192,800l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 192,608l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 192,416l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 704,800l0-256 q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,256 q0,13 9.5,22.5t 22.5,9.5l 384,0 q 13,0 22.5-9.5t 9.5-22.5zM 192,224l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5 t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,800l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 704,416l0-256 q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,256 q0,13 9.5,22.5t 22.5,9.5l 384,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,608l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,416l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 896,224l0-64 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5 t-9.5,22.5l0,64 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5zM 960,144l0,672 q0,33 -23.5,56.5t-56.5,23.5l-800,0 q-33,0 -56.5-23.5t-23.5-56.5l0-672 q0-33 23.5-56.5t 56.5-23.5l 800,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"704\" height=\"896\" viewBox=\"0 0 704 896\" data-du=\"\" data-tags=\"user, profile, member\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 704,702.5q0,60 -36.5,94.75t-97,34.75l-437,0 q-60.5,0 -97-34.75t-36.5-94.75q0-26.5 1.75-51.75t 7-54.5t 13.25-54.25t 21.5-48.75t 31-40.5t 42.75-26.75t 55.75-10q 4.5,0 21,10.75t 37.25,24t 54,24t 66.75,10.75t 66.75-10.75t 54-24t 37.25-24t 21-10.75q 30.5,0 55.75,10t 42.75,26.75t 31,40.5 t 21.5,48.75t 13.25,54.25t 7,54.5t 1.75,51.75zM 544,256q0,79.5 -56.25,135.75t-135.75,56.25t-135.75-56.25t-56.25-135.75t 56.25-135.75t 135.75-56.25t 135.75,56.25t 56.25,135.75z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"star-empty, favorite, rate\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 568.5,502l 153-148.5l-211-31l-94.5-191l-94.5,191l-211,31l 153,148.5l-36.5,210.5l 189-99.5l 188.5,99.5zM 832,323.5q0,11 -13,24l-181.5,177l 43,250q 0.5,3.5 0.5,10q0,25 -20.5,25q-9.5,0 -20-6l-224.5-118l-224.5,118q-11,6 -20,6q-10.5,0 -15.75-7.25t-5.25-17.75q0-3 1-10l 43-250 l-182-177q-12.5-13.5 -12.5-24q0-18.5 28-23l 251-36.5l 112.5-227.5q 9.5-20.5 24.5-20.5t 24.5,20.5l 112.5,227.5l 251,36.5q 28,4.5 28,23z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"star, favorite, rate\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 832,323.5q0,11 -13,24l-181.5,177l 43,250q 0.5,3.5 0.5,10q0,10.5 -5.25,17.75t-15.25,7.25q-9.5,0 -20-6l-224.5-118l-224.5,118q-11,6 -20,6q-10.5,0 -15.75-7.25t-5.25-17.75q0-3 1-10l 43-250l-182-177q-12.5-13.5 -12.5-24q0-18.5 28-23l 251-36.5l 112.5-227.5q 9.5-20.5 24.5-20.5t 24.5,20.5l 112.5,227.5 l 251,36.5q 28,4.5 28,23z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"heart, love, like\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,832q-13,0 -22-9l-312-301q-5-4 -13.75-13t-27.75-32.75t-34-48.75t-26.75-60.5t-11.75-69q0-110 63.5-172t 175.5-62q 31,0 63.25,10.75t 60,29t 47.75,34.25t 38,34q 18-18 38-34t 47.75-34.25t 60-29t 63.25-10.75q 112,0 175.5,62t 63.5,172q0,110.5 -114.5,225l-311.5,300 q-9,9 -22,9z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"envelope, letter, email, mail, contact\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 832,752l0-384 q-16,18 -34.5,33q-134,103 -213,169q-25.5,21.5 -41.5,33.5t-43.25,24.25t-51.25,12.25l-0.5,0 l-0.5,0 q-24,0 -51.25-12.25t-43.25-24.25t-41.5-33.5q-79-66 -213-169q-18.5-15 -34.5-33l0,384 q0,6.5 4.75,11.25t 11.25,4.75l 736,0 q 6.5,0 11.25-4.75t 4.75-11.25zM 832,226.5l0-5.5 l0-6.75 t-0.25-6.5 t-1.5-6.25t-2.75-4.5t-4.5-3.75t-7-1.25l-736,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,84 73.5,142q 96.5,76 200.5,158.5q 3,2.5 17.5,14.75t 23,18.75t 22.25,15.75t 25.25,13.75t 21.5,4.5l 0.5,0 l 0.5,0 q 10,0 21.5-4.5t 25.25-13.75t 22.25-15.75t 23-18.75t 17.5-14.75q 104-82.5 200.5-158.5q 27-21.5 50.25-57.75t 23.25-65.75z M 896,208l0,544 q0,33 -23.5,56.5t-56.5,23.5l-736,0 q-33,0 -56.5-23.5t-23.5-56.5l0-544 q0-33 23.5-56.5t 56.5-23.5l 736,0 q 33,0 56.5,23.5t 23.5,56.5z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"832\" height=\"896\" viewBox=\"0 0 832 896\" data-du=\"\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 576,416q0-92.5 -65.75-158.25t-158.25-65.75t-158.25,65.75t-65.75,158.25t 65.75,158.25t 158.25,65.75t 158.25-65.75t 65.75-158.25zM 832,832q0,26 -19,45t-45,19q-27,0 -45-19l-171.5-171q-89.5,62 -199.5,62q-71.5,0 -136.75-27.75t-112.5-75t-75-112.5t-27.75-136.75 t 27.75-136.75t 75-112.5t 112.5-75t 136.75-27.75t 136.75,27.75t 112.5,75t 75,112.5t 27.75,136.75q0,110 -62,199.5l 171.5,171.5q 18.5,18.5 18.5,45z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"768\" height=\"896\" viewBox=\"0 0 768 896\" data-du=\"\" data-tags=\"music, song, sound\" style=\"margin-left: 9px; margin-top: 8px;\"><path d=\"M 768,112l0,560 q0,25 -17,44.5t-43,30.25t-51.75,16t-48.25,5.25t-48.25-5.25t-51.75-16t-43-30.25t-17-44.5t 17-44.5t 43-30.25t 51.75-16t 48.25-5.25q 52.5,0 96,19.5l0-268.5 l-384,118.5l0,354.5 q0,25 -17,44.5t-43,30.25t-51.75,16t-48.25,5.25t-48.25-5.25t-51.75-16t-43-30.25t-17-44.5 t 17-44.5t 43-30.25t 51.75-16t 48.25-5.25q 52.5,0 96,19.5l0-483.5 q0-15.5 9.5-28.25t 24.5-17.75l 416-128q 6-2 14-2q 20,0 34,14t 14,34z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>","<svg width=\"896\" height=\"896\" viewBox=\"0 0 896 896\" data-du=\"\" data-tags=\"glass, drink\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 849.5,93q0,17.5 -21.5,39l-316,316l0,384 l 160,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5l 160,0 l0-384 l-316-316q-21.5-21.5 -21.5-39q0-11.5 9-18.25t 19-8.75t 21.5-2l 704,0 q 11.5,0 21.5,2t 19,8.75t 9,18.25z\" transform=\"scale(0.017857142857142856 0.017857142857142856)\"></path></svg>"]},{"metadata":{"id":"icomoon-ultimate","name":"IcoMoon - Ultimate","link":"http://icomoon.io/#icons","grid":"16","author":"Keyamoon","authorLink":"http://keyamoon.com/","license":"Royalty Free","licenseLink":"http://icomoon.io/#icons#license","defaultunicode":false},"svgs":["<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"IcoMoon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 129.772,255.999A59.223,59.223 12600 1 1 248.218,255.999A59.223,59.223 12600 1 1 129.772,255.999zM 256.002,0C 114.615,0,0,114.616,0,256s 114.613,256, 256.002,256C 397.384,512, 512,397.385, 512,256\n\t\tC 512,114.616, 397.385,0, 256.002,0z M 189.698,479.641C 112.72,434.854, 60.964,351.479, 60.964,256\n\t\tc0-95.479, 51.756-178.854, 128.731-223.641C 266.7,77.14, 318.49,160.503, 318.49,256C 318.49,351.494, 266.7,434.859, 189.698,479.641z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"safari, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32c-12.032,0-23.854,0.896-35.412,2.606c-0.15-0.391-0.312-0.774-0.491-1.148c 6.413-5.001, 9.775-11.915, 8.317-18.776\n\t\tC 226.547,5.9, 217.217,0, 205.197,0c-2.59,0-5.229,0.281-7.84,0.836c-15.084,3.207-25.073,14.311-22.741,25.281\n\t\tc 1.417,6.669, 7.146,11.669, 15.082,13.692c-0.016,0.486-0.008,0.975, 0.021,1.467C 89.408,70.041, 16,162.445, 16,272\n\t\tc0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240C 496,139.452, 388.549,32, 256,32z M 182.441,24.454\n\t\tc-1.353-6.363, 6.24-13.595, 16.579-15.792C 201.086,8.223, 203.165,8, 205.197,8c 8.018,0, 14.347,3.432, 15.392,8.345\n\t\tc 0.798,3.755-1.535,7.805-5.693,10.952c-3.517-2.483-8.008-3.563-12.55-2.598c-4.522,0.961-8.174,3.754-10.379,7.428\n\t\tC 186.875,30.902, 183.213,28.085, 182.441,24.454z M 384.693,400.693c-21.984,21.984-48.605,37.639-77.655,46.077l-21.198-34.384\n\t\tl-5.373,39.979C 272.422,453.441, 264.254,454, 256,454c-48.614,0-94.318-18.932-128.693-53.307\n\t\tc-21.984-21.983-37.639-48.605-46.077-77.654l 34.384-21.199l-39.98-5.373C 74.559,288.422, 74,280.254, 74,272\n\t\tc0-48.614, 18.931-94.318, 53.307-128.693c 21.984-21.984, 48.606-37.639, 77.655-46.078l 21.198,34.385l 5.374-39.98\n\t\tC 239.578,90.559, 247.746,90, 256,90c 48.614,0, 94.318,18.931, 128.693,53.307c 21.984,21.984, 37.639,48.606, 46.077,77.655\n\t\tl-34.385,21.199l 39.98,5.373C 437.441,255.578, 438,263.746, 438,272C 438,320.614, 419.068,366.318, 384.693,400.693zM 380.451,147.549l-98.489,74.852c-7.322-3.829-15.438-6.031-23.708-6.363l-25.54-53.59l-1.534,59.332\n\t\tc-6.642,3.268-12.552,7.832-17.438,13.475l-31.544-11.182l 23.046,24.269c-3.167,6.759-4.933,14.015-5.217,21.412l-53.579,25.533\n\t\tl 59.369,1.534c 0.19,0.384, 0.387,0.763, 0.585,1.141l-74.852,98.49l 98.489-74.852c 7.322,3.828, 15.437,6.030, 23.708,6.362l 25.54,53.591\n\t\tl 1.533-59.332c 6.643-3.269, 12.553-7.832, 17.439-13.476l 31.545,11.184l-23.047-24.27c 3.168-6.76, 4.934-14.015, 5.218-21.412\n\t\tl 53.578-25.533l-59.368-1.535c-0.189-0.383-0.387-0.762-0.585-1.14L 380.451,147.549z M 256.051,222.267l0,1.724 L 256.051,222.267 \n\t\tL 256.051,222.267z M 246.021,225.049c 3.363-0.715, 6.722-1.059, 10.028-1.059c 2.072,0, 4.125,0.135, 6.147,0.398l 0.046,0.016\n\t\tl-0.005-0.011c 4.366,0.572, 8.588,1.75, 12.566,3.448l-35.773,27.188l-27.19,35.776c-1.188-2.797-2.135-5.742-2.79-8.826\n\t\tC 203.537,256.049, 220.090,230.561, 246.021,225.049z M 281.060,312.942L 281.060,312.942L 281.060,312.942\n\t\tc-4.528,2.772-9.591,4.842-15.080,6.009c-3.363,0.715-6.722,1.059-10.027,1.059c-2.075,0-4.129-0.136-6.154-0.399l-0.039-0.015\n\t\tl 0.005,0.010c-4.367-0.571-8.587-1.75-12.566-3.447l 35.772-27.188l 27.19-35.777c 1.188,2.797, 2.135,5.743, 2.79,8.827\n\t\tC 307.296,282.462, 297.923,302.621, 281.060,312.942z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"opera, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.023,0C 115.161,0, 14.649,101.448, 14.649,253.612C 14.649,389.021, 112.4,512, 255.041,512\n\tc 144.039,0, 242.31-122.943, 242.31-258.388C 497.351,100.232, 393.628,0, 255.023,0z M 344.179,249.271\n\tc-0.034,84.676-4.549,205.241-89.138,205.241l0,0.017 c-83.392,0-86.716-120.633-86.716-205.154c0-99.19, 9.28-194.284, 86.716-194.284\n\tC 332.478,55.091, 344.179,151.383, 344.179,249.271z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"IE, browser, internet explorer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 367.101,314.415l 118.025,0 c 0.91-8.185, 1.274-16.549, 1.274-25.098c0-40.112-10.767-77.734-29.562-110.133\n\tc 19.44-51.654, 18.746-95.494-7.278-121.695c-24.748-24.64-91.145-20.64-166.206,12.599c-5.552-0.42-11.159-0.636-16.819-0.636\n\tc-103.024,0-189.463,70.897-213.354,166.425C 85.5,194.5, 119.5,164.5, 164.92,142.653c-4.13,3.87-28.227,27.826-32.28,31.882\n\tC 12.866,294.274-24.905,450.688, 15.737,491.337c 30.893,30.887, 86.879,25.671, 151.188-5.824\n\tc 29.903,15.229, 63.75,23.815, 99.609,23.815c 96.567,0, 178.402-62.158, 208.045-148.724L 355.645,360.604 \n\tc-16.367,30.191-48.374,50.74-85.109,50.74c-36.734,0-68.742-20.549-85.108-50.74c-7.275-13.637-11.457-29.277-11.457-45.828l0-0.361 \n\tL 367.101,314.415 z M 174.151,256.402c 2.728-48.555, 43.1-87.292, 92.383-87.292c 49.283,0, 89.656,38.736, 92.383,87.292L 174.151,256.402 z M 448.483,81.904\n\tc 16.763,16.94, 16.344,48.107, 2.006,87.011c-24.568-37.454-60.259-66.968-102.396-83.82\n\tC 393.146,65.776, 429.796,63.217, 448.483,81.904z M 46.741,483.628c-21.391-21.398-14.942-66.309, 12.615-120.416\n\tc 17.154,48.135, 50.578,88.545, 93.668,114.577C 105.309,499.448, 66.256,503.126, 46.741,483.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"firefox, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.263,167.070l-5.93,38.040c0,0-8.477-70.428-18.866-96.757c-15.923-40.344-23.007-40.020-23.054-39.961\n\tc 10.665,27.102, 8.731,41.662, 8.731,41.662s-18.896-51.499-68.856-67.884c-55.343-18.141-85.285-13.182-88.744-12.243\n\tc-0.525-0.004-1.032-0.005-1.515-0.005c 0.409,0.031, 0.806,0.073, 1.213,0.106c-0.017,0.010-0.045,0.021-0.041,0.026\n\tc 0.225,0.274, 61.153,10.651, 71.958,25.498c0,0-25.88,0-51.636,7.421c-1.164,0.333, 94.762,11.982, 114.373,107.837\n\tc0,0-10.515-21.938-23.52-25.664c 8.553,26.018, 6.357,75.388-1.788,99.925c-1.048,3.156-2.12-13.641-18.164-20.875\n\tc 5.14,36.823-0.308,95.228-25.854,111.316c-1.991,1.252, 16.015-57.655, 3.621-34.881c-71.354,109.401-155.702,50.486-193.624,24.555\n\tc 19.433,4.231, 56.327-0.659, 72.657-12.806c 0.021-0.015, 0.039-0.028, 0.059-0.043c 17.734-12.126, 28.236-20.982, 37.667-18.886\n\tc 9.437,2.107, 15.719-7.363, 8.39-15.765c-7.338-8.419-25.157-19.989-49.262-13.683c-17,4.452-38.067,23.261-70.224,4.216\n\tc-24.682-14.625-27.006-26.773-27.225-35.188c 0.609-2.983, 1.377-5.768, 2.288-8.312c 2.841-7.935, 11.456-10.329, 16.247-12.219\n\tc 8.128,1.396, 15.131,3.931, 22.484,7.703c 0.095-2.447, 0.126-5.695-0.009-9.38c 0.705-1.401, 0.269-5.626-0.861-10.79\n\tc-0.651-5.154-1.71-10.487-3.376-15.346c 0.006-0.001, 0.010-0.005, 0.015-0.007c 0.028-0.009, 0.054-0.020, 0.078-0.035\n\tc 0.039-0.022, 0.073-0.056, 0.104-0.095c 0.006-0.010, 0.015-0.017, 0.022-0.026c 0.041-0.062, 0.077-0.136, 0.099-0.233\n\tc 0.51-2.309, 6.011-6.762, 12.859-11.55c 6.136-4.29, 13.351-8.848, 19.034-12.376c 5.030-3.124, 8.86-5.441, 9.673-6.049\n\tc 0.309-0.233, 0.679-0.506, 1.082-0.818c 0.075-0.058, 0.15-0.116, 0.227-0.177c 0.047-0.037, 0.095-0.074, 0.143-0.113\n\tc 2.705-2.154, 6.742-6.224, 7.589-14.789c 0.002-0.021, 0.005-0.040, 0.006-0.061c 0.025-0.252, 0.046-0.507, 0.065-0.767\n\tc 0.014-0.181, 0.025-0.363, 0.036-0.548c 0.007-0.142, 0.016-0.283, 0.022-0.428c 0.015-0.337, 0.025-0.682, 0.030-1.032\n\tc0-0.020, 0.001-0.038, 0.002-0.058c 0.011-0.829-0.003-1.693-0.052-2.601c-0.027-0.507-0.063-0.965-0.149-1.381\n\tc-0.004-0.022-0.009-0.046-0.014-0.068c-0.009-0.041-0.018-0.082-0.029-0.122c-0.018-0.073-0.038-0.146-0.061-0.215\n\tc-0.003-0.009-0.005-0.016-0.008-0.023c-0.026-0.080-0.056-0.157-0.087-0.232c-0.002-0.003-0.002-0.005-0.003-0.008\n\tc-0.877-2.054-4.16-2.829-17.721-3.059c-0.013-0.001-0.025-0.001-0.038-0.001l0,0c-5.533-0.094-12.769-0.097-22.251-0.059\n\tc-16.625,0.067-25.814-16.252-28.747-22.566c 4.020-22.23, 15.638-38.071, 34.725-48.813c 0.361-0.203, 0.29-0.371-0.137-0.489\n\tc 3.732-2.257-45.123-0.062-67.593,28.518c-19.944-4.957-37.327-4.623-52.308-1.107c-2.877-0.081-6.462-0.44-10.717-1.326\n\tc-9.962-9.028-24.224-25.701-24.988-45.604c0,0-0.046,0.036-0.126,0.102c-0.010-0.191-0.028-0.38-0.036-0.571\n\tc0,0-30.358,23.332-25.814,86.941c-0.011,1.018-0.032,1.993-0.060,2.937c-8.216,11.144-12.293,20.51-12.596,22.578\n\tC 13.398,163.178, 6.011,185.483,0,219.346c0,0, 4.204-13.333, 12.642-28.433c-6.206,19.011-11.082,48.578-8.218,92.928\n\tc0,0, 0.757-9.833, 3.437-23.997c 2.093,27.505, 11.259,61.462, 34.429,101.394c 44.474,76.66, 112.835,115.37, 188.396,121.308\n\tc 13.418,1.106, 27.025,1.132, 40.712,0.093c 1.258-0.089, 2.516-0.182, 3.775-0.287c 15.482-1.087, 31.067-3.426, 46.619-7.183\n\tC 534.378,423.77, 511.263,167.070, 511.263,167.070z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"chrome, browser, internet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 129.139,223.271 L 55.873,96.37 C 102.782,37.638 174.99,0 256,0 C 349.716,0 431.655,50.368 476.266,125.5 L 267.381,125.5 C 263.629,125.175 259.835,125 256,125 C 195.063,125 143.711,166.822 129.139,223.271 ZM 347.653,162.5 L 494.383,162.5 C 505.753,191.465 512,223.002 512,256 C 512,396.413 398.95,510.402 258.907,511.963 L 363.604,330.624 C 378.344,309.435 387,283.711 387,256 C 387,219.415 371.918,186.29 347.653,162.5 ZM 163,256 C 163,204.72 204.72,163 256,163 C 307.28,163 349,204.72 349,256 C 349,307.28 307.28,349 256,349 C 204.72,349 163,307.28 163,256 ZM 291.091,382.221 L 217.802,509.16 C 94.536,490.718 0,384.402 0,256 C 0,210.391 11.942,167.577 32.848,130.488 L 137.363,311.515 C 158.297,356.071 203.601,387 256,387 C 268.15,387 279.918,385.33 291.091,382.221 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"css3, w3c\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 76.194,24.261L 59.014,110.224L 408.888,110.224L 397.946,165.751L 47.852,165.751L 30.906,251.7L 380.748,251.7L 361.239,349.732L 220.233,396.443L 98.033,349.732L 106.397,307.211L 20.448,307.211L0,410.387L 202.113,487.739L 435.116,410.387L 512,24.261 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"html5, w3c\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 30.269,0l 41.072,460.815L 255.719,512l 184.862-51.262L 481.731,0L 30.269,0 z M 405.381,431.412L 256.768,472.6l0,0.233 \n\t\tl-0.388-0.117l-0.391,0.117L 255.989,472.6 l-148.611-41.188L 72.257,37.669l 368.248,0 L 405.381,431.412zM 325.377,265.102L 318.842,338.378L 255.874,355.374L 255.737,355.413L 192.806,338.455L 188.781,293.338L 132.036,293.338L 139.951,382.094L 255.737,414.221L 255.797,414.221L 255.874,414.221L 255.989,414.182L 371.66,382.094L 387.18,208.588L 181.197,208.588L 176.046,150.714L 392.117,150.714L 392.313,150.714L 397.369,94.201L 114.26,94.201L 129.509,265.102 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"html5, w3c\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 30.269,0l 41.072,460.815L 255.719,512l 184.862-51.262L 481.731,0L 30.269,0 z M 392.315,150.714l-0.195,0 L 176.045,150.714 l 5.151,57.875\n\tL 387.18,208.589 l-15.521,173.505L 255.99,414.182l-0.115,0.039l-0.077,0 l-0.061,0 l-115.786-32.127l-7.915-88.756l 56.747,0 l 4.024,45.116\n\tl 62.931,16.958l 0.139-0.039l 62.967-16.996l 6.535-73.275L 129.509,265.102 L 114.262,94.202l 283.107,0 L 392.315,150.714z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-css, file, format, code, css\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,305.723L 192,248.61 c0-7.564, 3.348-14.718, 9.427-20.143c 6.080-5.424, 14.096-8.413, 22.573-8.413l0-28.555 \n\t\tc-35.2,0-64,25.7-64,57.111l0,42.833 c0,7.886-7.164,14.279-16,14.279l-16,0 l0,28.555 l 16,0 c 8.837,0, 16,6.395, 16,14.279l0,42.838 \n\t\tc0,31.407, 28.8,57.107, 64,57.107l0-28.556 c-8.477,0-16.494-2.988-22.573-8.413c-6.079-5.426-9.427-12.577-9.427-20.139l0-57.117 \n\t\tc0-7.885-7.164-14.277-16-14.277C 184.837,320, 192,313.605, 192,305.723zM 320,334.277l0,57.117 c0,7.562-3.348,14.713-9.427,20.139c-6.079,5.425-14.095,8.413-22.573,8.413l0,28.556 \n\t\tc 35.201,0, 64-25.7, 64-57.107l0-42.838 c0-7.886, 7.164-14.279, 16-14.279l 16,0 l0-28.555 l-16,0 c-8.836,0-16-6.395-16-14.279L 352,248.61 \n\t\tc0-31.412-28.799-57.111-64-57.111l0,28.555 c 8.479,0, 16.494,2.989, 22.573,8.415c 6.080,5.424, 9.427,12.578, 9.427,20.142l0,57.114 \n\t\tc0,7.883, 7.164,14.276, 16,14.276C 327.164,320, 320,326.395, 320,334.277zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-xml, file, format, code, html, xml\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 192,256L 96,352L 192,448L 224,416L 160,352 \tzM 288,416L 320,448L 416,352L 320,256L 288,288L 352,352 \tzM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-powerpoint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,256l 96,0 l0,32 L 96,288 L 96,256 z M 96,320l 96,0 l0,32 L 96,352 L 96,320 z M 96,384l 96,0 l0,32 L 96,416 L 96,384 z M 451.716,99.715l-71.432-71.431\n\tC 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,168 \n\tC 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 c0-4.336, 3.664-8, 8-8\n\tl 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 zM 288,352 L 382.396,352 C 374.983,388.516 342.703,416 304,416 C 259.817,416 224,380.183 224,336 C 224,297.297 251.485,265.017 288,257.604 L 288,352 ZM 336,224 C 380.183,224 416,259.817 416,304 C 416,309.479 415.446,314.83 414.396,320 L 320,320 L 320,225.604 C 325.17,224.554 330.521,224 336,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-zip, zip\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208,64L 256,64L 256,96L 208,96zM 160,96L 208,96L 208,128L 160,128zM 208,128L 256,128L 256,160L 208,160zM 160,160L 208,160L 208,192L 160,192zM 208,192L 256,192L 256,224L 208,224zM 160,224L 208,224L 208,256L 160,256zM 208,256l0,32 l-48,0 l0,112 c0,8.837, 7.163,16, 16,16l 64,0 c 8.837,0, 16-7.163, 16-16L 256,256 L 208,256 z M 240,384l-64,0 l0-32 l 64,0 L 240,384 zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-excel, file, format, excel, xlc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 371.514,192L 303.867,192L 256.001,262.516L 208.131,192L 140.487,192L 221.568,313.232L 130.081,448L 261.201,448L 261.201,402.212L 230.923,402.212L 256.001,364.715L 311.699,448L 381.92,448L 290.432,313.232 \tzM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-word, file, format, word, docx\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 319.889,237.946L 341.995,237.946L 316.489,351.035L 283.326,192.030L 230.051,192.030L 191.494,351.035L 162.586,192.030L 106.889,192.030L 163.435,447.971L 217.854,447.971L 256.001,296.617L 290.129,447.971L 340.297,447.971L 405.112,192.030L 319.889,192.030 \t\n\t\tzM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-openoffice, file, format, openoffice, open office\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 345.11,235.841c-30.334-14.326-68.986-17.21-97.417,3.024c 34.57-3.302, 72.479,2.419, 97.553,28.562\n\t\t\tc 24-27.54, 62.057-32.703, 96.479-29.866C 412.981,218.489, 375.115,221.049, 345.11,235.841zM 332.824,302.875c-34.189-0.789-67.217,11.586-95.55,30.052c-53.588-22.794-121.368-18.562-167.001,19.491\n\t\t\tc 13.165-0.467, 26.003-3.723, 39.028-5.396c 47.591-4.744, 98.294,7.071, 134.256,39.912c 14.886-21.771, 35.822-39.121, 59.826-49.961\n\t\t\tc 31.537-15.26, 67.080-16.842, 101.41-17.26C 383.949,305.389, 357.485,302.736, 332.824,302.875zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-pdf, file, format, pdf\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 421.006,294.74c-6.824-6.723-21.957-10.283-44.986-10.586c-15.589-0.172-34.351,1.201-54.085,3.964\n\t\tc-8.837-5.099-17.946-10.647-25.094-17.329c-19.231-17.958-35.284-42.886-45.288-70.297c 0.652-2.56, 1.207-4.81, 1.724-7.106\n\t\tc0,0, 10.833-61.53, 7.965-82.333c-0.395-2.853-0.637-3.681-1.404-5.898l-0.941-2.417c-2.948-6.796-8.724-13.997-17.783-13.604\n\t\tl-5.312-0.169l-0.146-0.003c-10.1,0-18.332,5.166-20.493,12.887c-6.569,24.217, 0.209,60.446, 12.491,107.369l-3.144,7.643\n\t\tc-8.794,21.438-19.815,43.030-29.539,62.079l-1.264,2.476c-10.23,20.019-19.512,37.013-27.927,51.411l-8.688,4.594\n\t\tc-0.632,0.334-15.522,8.209-19.014,10.322c-29.628,17.691-49.261,37.77-52.518,53.708c-1.036,5.085-0.265,11.593, 5.007,14.607\n\t\tl 8.403,4.229c 3.645,1.826, 7.489,2.751, 11.427,2.751c 21.102,0, 45.6-26.286, 79.348-85.183\n\t\tc 38.965-12.684, 83.327-23.228, 122.207-29.045c 29.629,16.684, 66.071,28.273, 89.071,28.273c 4.084,0, 7.606-0.389, 10.466-1.148\n\t\tc 4.411-1.168, 8.129-3.683, 10.396-7.096c 4.463-6.716, 5.367-15.966, 4.156-25.438C 425.68,300.589, 423.435,297.113, 421.006,294.74z\n\t\t M 105.823,407.024c 3.848-10.521, 19.080-31.322, 41.602-49.778c 1.416-1.148, 4.904-4.416, 8.097-7.451\n\t\tC 131.971,387.357, 116.199,402.328, 105.823,407.024z M 239.217,99.843c 6.783,0, 10.642,17.097, 10.962,33.127\n\t\tc 0.32,16.030-3.429,27.28-8.079,35.604c-3.851-12.324-5.713-31.75-5.713-44.452C 236.387,124.122, 236.104,99.843, 239.217,99.843z\n\t\t M 199.426,318.747c 4.725-8.458, 9.641-17.378, 14.665-26.839c 12.246-23.158, 19.979-41.278, 25.739-56.173\n\t\tc 11.455,20.842, 25.722,38.56, 42.493,52.756c 2.092,1.771, 4.309,3.551, 6.637,5.325C 254.855,300.564, 225.378,308.771, 199.426,318.747z\n\t\t M 414.452,316.826c-2.077,1.299-8.027,2.050-11.854,2.050c-12.353,0-27.636-5.647-49.063-14.833\n\t\tc 8.234-0.609, 15.781-0.919, 22.55-0.919c 12.391,0, 16.060-0.054, 28.175,3.036S 416.529,315.527, 414.452,316.826zM 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 \n\t\tc 22,0, 40-18, 40-40L 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\t\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 \n\t\tc0-4.336, 3.664-8, 8-8l 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"libreoffice, file\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 267.313,11.314C 261.091,5.092, 248.8,0, 240,0L 48,0 c-8.8,0-16,7.2-16,16l0,480 c0,8.8, 7.2,16, 16,16l 384,0 c 8.8,0, 16-7.2, 16-16L 448,208 \n\t\tc0-8.8-5.091-21.091-11.313-27.313L 267.313,11.314z M 416,480L 64,480 L 64,32 l 175.579,0 c 1.458,0.24, 4.204,1.377, 5.405,2.239l 168.778,168.777\n\t\tc 0.861,1.201, 1.998,3.947, 2.238,5.405L 416,480 zM 432,0l-96,0 c-8.8,0-10.909,5.091-4.687,11.313l 105.373,105.373C 442.909,122.909, 448,120.8, 448,112L 448,16 C 448,7.2, 440.8,0, 432,0\n\t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"yelp, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 304.438,326.734c-8.641,8.713-1.334,24.564-1.334,24.564l 65.045,108.609c0,0, 10.68,14.32, 19.932,14.32\n\t\tc 9.295,0, 18.477-7.635, 18.477-7.635l 51.422-73.504c0,0, 5.18-9.273, 5.299-17.396c 0.186-11.553-17.227-14.717-17.227-14.717\n\t\tl-121.744-39.096C 324.307,321.881, 312.379,318.715, 304.438,326.734zM 298.266,271.992c 6.23,10.564, 23.414,7.486, 23.414,7.486l 121.469-35.503c0,0, 16.553-6.733, 18.916-15.709\n\t\tc 2.32-8.977-2.73-19.811-2.73-19.811l-58.049-68.376c0,0-5.031-8.646-15.469-9.516c-11.508-0.979-18.59,12.949-18.59,12.949\n\t\tl-68.635,108.005C 298.592,251.519, 292.525,262.275, 298.266,271.992zM 240.877,229.884c 14.304-3.522, 16.574-24.302, 16.574-24.302l-0.972-172.935c0,0-2.157-21.333-11.743-27.116\n\t\tc-15.035-9.121-19.491-4.359-23.798-3.722L 120.090,39.281c0,0-9.877,3.268-15.021,11.509c-7.345,11.676, 7.464,28.772, 7.464,28.772\n\t\tL 217.355,222.44C 217.355,222.44, 227.7,233.138, 240.877,229.884zM 215.972,299.869c 0.361-13.338-16.015-21.35-16.015-21.35L 91.559,223.757c0,0-16.063-6.623-23.861-2.008\n\t\tc-5.975,3.53-11.268,9.92-11.786,15.567l-7.060,86.906c0,0-1.058,15.057, 2.845,21.91c 5.527,9.721, 23.714,2.951, 23.714,2.951\n\t\tl 126.548-27.971C 206.875,317.807, 215.496,317.51, 215.972,299.869zM 247.44,346.771c-10.863-5.578-23.862,5.975-23.862,5.975l-84.734,93.283c0,0-10.572,14.264-7.884,23.025\n\t\tc 2.533,8.209, 6.727,12.289, 12.659,15.164l 85.096,26.863c0,0, 10.317,2.143, 18.129-0.121c 11.090-3.215, 9.047-20.576, 9.047-20.576\n\t\tl 1.924-126.301C 257.814,364.084, 257.381,351.916, 247.44,346.771z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paypal, donate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 324.171,32c 14.166,0, 28.459,2.902, 41.333,8.392c 13.542,5.774, 24.662,13.962, 33.052,24.336\n\t\tc 16.799,20.771, 21.519,49.066, 14.025,84.109c-8.153,38.189-27.199,69.98-55.080,91.935c-27.178,21.401-61.499,32.714-99.254,32.714\n\t\tl-94.135,0 l-25.895,0 l-5.401,25.325L 105.935,424.85L 82.986,424.85 l-6.971,0 L 39.723,424.85 L 125.311,32L 324.171,32 M 142.893,250.007l 40.039,0 l 61.879,0 \n\t\tc 23.718,0, 47.747-9.085, 67.659-25.582c 19.41-16.081, 33.137-37.761, 38.698-61.1c 6.951-26.262, 2.315-52.576-12.757-72.277\n\t\tc-14.588-19.070-37.432-30.007-62.673-30.007l-64.566,0 l-25.575,0 l-5.638,24.946l-28.241,124.966L 142.893,250.007 M 324.171,0L 99.532,0 \n\t\tL0,456.85l 76.016,0 L 64,512l 131.83,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\t\tc 16.858-78.84-20.402-125.966-67.559-145.282c 12.849,6.288, 24.047,15.243, 32.251,26.241c 17.268,23.15, 22.118,54.686, 14.418,93.733\n\t\tc-7.78,39.513-25.208,72.867-50.583,97.022c-4.641,4.851-9.611,9.373-14.902,13.54c-27.178,21.401-61.499,32.714-99.254,32.714\n\t\tl-6.056,0 L 202.217,328.637 L 169.935,480l-66.212,0 l 5.043-23.15l 23.064,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\t\tC 466.737,48.602, 390.077,0, 324.171,0L 324.171,0z M 182.932,218.007l 28.241-124.966l 64.566,0 c 32.296,0, 53.801,27.769, 44.393,62.478\n\t\tc-8.068,34.72-41.693,62.488-75.32,62.488L 182.932,218.007 L 182.932,218.007z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paypal, donate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440.317,65.387c 12.849,6.288, 24.047,15.243, 32.251,26.241c 17.268,23.15, 22.118,54.686, 14.418,93.733\n\tc-7.78,39.513-25.208,72.867-50.583,97.022c-4.641,4.851-9.611,9.373-14.902,13.54c-27.178,21.401-61.499,32.714-99.254,32.714\n\tl-6.056,0 L 202.217,328.637 L 169.935,480l-66.212,0 l 5.043-23.15l 23.064,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\tC 466.737,48.602, 390.077,0, 324.171,0L 99.532,0 L0,456.85l 76.016,0 L 64,512l 131.83,0 l 32.282-151.363l 94.135,0 \n\tc 90.125,0, 165.469-55.539, 185.629-149.968C 524.734,131.829, 487.474,84.703, 440.317,65.387z M 320.131,155.519\n\tc-6.862,29.53-32.214,54.020-60.328,60.684l 15.369-68.011l 46.493,0 C 321.301,150.595, 320.804,153.037, 320.131,155.519z M 211.172,93.041\n\tl 64.566,0 c 18.38,0, 33.254,9.002, 40.935,23.15l-67.077,0 l-23.008,101.815l-43.656,0 L 211.172,93.041z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paypal, donate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440.317,65.387c 12.849,6.288, 24.047,15.243, 32.251,26.241c 17.268,23.15, 22.118,54.686, 14.418,93.733\n\tc-7.78,39.513-25.208,72.867-50.583,97.022c-4.641,4.851-9.611,9.373-14.902,13.54c-27.178,21.401-61.499,32.714-99.254,32.714\n\tl-6.056,0 L 202.217,328.637 L 169.935,480l-66.212,0 l 5.043-23.15l 23.064,0 l 32.282-151.363l 94.135,0 c 90.125,0, 165.469-55.539, 185.629-149.968\n\tC 466.737,48.602, 390.077,0, 324.171,0L 99.532,0 L0,456.85l 76.016,0 L 64,512l 131.83,0 l 32.282-151.363l 94.135,0 \n\tc 90.125,0, 165.469-55.539, 185.629-149.968C 524.734,131.829, 487.474,84.703, 440.317,65.387z M 211.172,93.041l 64.566,0 \n\tc 32.296,0, 53.801,27.769, 44.393,62.478c-8.068,34.72-41.693,62.488-75.32,62.488l-61.879,0 L 211.172,93.041z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"foursquare, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.845,0l-56.539,0 L 331.505,169.948l-49.022-49.025c-6.903-6.904-16.085-10.706-25.853-10.706\n\tc-9.766,0-18.948,3.801-25.858,10.706l-22.257,22.258c-1.249-1.702-2.545-3.382-3.939-5.012\n\tc-30.324-35.439-83.635-39.604-119.074-9.271c-35.443,30.319-39.593,83.625-9.268,119.070c 6.955,8.134, 15.131,14.599, 24.015,19.397\n\tc 0.18,9.12, 3.729,18.187, 10.669,25.132L 230.77,412.337c 6.907,6.91, 16.091,10.717, 25.86,10.717c 9.771,0, 18.953-3.808, 25.853-10.715\n\tl 119.849-119.841c 6.91-6.908, 10.717-16.092, 10.717-25.86s-3.807-18.953-10.715-25.858l-13.789-13.79l 123.301-104.045L 511.846,0 z\n\t M 247.739,137.896c 2.375-2.373, 5.532-3.68, 8.891-3.68c 3.357,0, 6.512,1.306, 8.882,3.676l 51.688,51.691l-56.18,77.121\n\tc-5.547,6.188-10.435,2.932-12.363,0.633c-0.662-0.779-13.843-18.037-30.887-40.391c 8.462-19.37, 9.378-41.408, 2.428-61.509\n\tL 247.739,137.896z M 385.364,257.752c 2.375,2.374, 3.684,5.529, 3.684,8.886s-1.309,6.512-3.686,8.888L 265.507,395.373\n\tc-2.37,2.373-5.522,3.681-8.877,3.681c-3.356,0-6.512-1.309-8.888-3.686l-118.63-118.619c 13.809,1.857, 28.036,0.313, 41.323-4.74\n\tl 79.585,64.009c0,0, 4.353,4.040, 9.158,0.137l 110.959-93.631L 385.364,257.752z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"foursquare, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 469.967,469.971\n\tC 458.341,481.597, 442.965,488, 426.671,488L 85.343,488 c-16.294,0-31.674-6.403-43.304-18.031C 30.406,458.339, 24,442.957, 24,426.656\n\tL 24,85.345 c0-16.292, 6.407-31.671, 18.041-43.305C 53.674,30.407, 69.053,24, 85.343,24l 341.328,0 c 3.549,0, 7.050,0.322, 10.483,0.918\n\tl-105.649,145.030l-49.022-49.025c-6.903-6.904-16.085-10.706-25.853-10.706c-9.766,0-18.948,3.801-25.858,10.706l-22.257,22.258\n\tc-1.249-1.702-2.545-3.382-3.939-5.012c-30.324-35.439-83.635-39.604-119.074-9.271c-35.443,30.319-39.593,83.625-9.268,119.070\n\tc 6.955,8.134, 15.131,14.599, 24.015,19.397c 0.18,9.12, 3.729,18.187, 10.669,25.132L 230.77,412.337\n\tc 6.907,6.91, 16.091,10.717, 25.86,10.717c 9.771,0, 18.953-3.808, 25.853-10.715l 119.849-119.841c 6.91-6.908, 10.717-16.092, 10.717-25.86\n\ts-3.807-18.953-10.715-25.858l-13.789-13.79L 488,139.519l0,287.137 C 488,442.959, 481.596,458.342, 469.967,469.971z M 220.198,165.438\n\tl 27.541-27.542c 2.375-2.373, 5.532-3.68, 8.891-3.68c 3.357,0, 6.512,1.306, 8.882,3.676l 51.688,51.691l-56.18,77.121\n\tc-5.547,6.188-10.435,2.932-12.363,0.633c-0.662-0.779-13.843-18.037-30.887-40.391\n\tC 226.232,207.577, 227.148,185.539, 220.198,165.438z M 250.020,336.018c0,0, 4.353,4.040, 9.158,0.137l 110.959-93.631l 15.228,15.229\n\tc 2.375,2.374, 3.684,5.529, 3.684,8.886s-1.309,6.512-3.686,8.888L 265.507,395.373c-2.37,2.373-5.522,3.681-8.877,3.681\n\tc-3.356,0-6.512-1.309-8.888-3.686l-118.63-118.619c 13.809,1.857, 28.036,0.313, 41.323-4.74L 250.020,336.018z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flattr, donate, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 183.781,0C 62.102,0,0,70.081,0,200.928l0,0l0,91.402 l0,183.115 l 119.195-119.314L 119.195,216.683 c0-54.208, 14.365-88.703, 62.559-96.447\n\tl0,0c 16.836-3.292, 51.875-2.139, 74.153-2.139l0,0l0,82.798 c0,0.755, 0.104,2.103, 0.297,2.793l0,0c 0.935,3.352, 3.965,5.808, 7.558,5.815\n\tl0,0c 2.031,0.004, 3.934-1.052, 5.895-2.985l0,0L 476.218,0.031L 337.562,0L 183.781,0 z M 392.805,155.873l0,139.445 \n\tc0,54.207-14.368,88.707-62.558,96.447l0,0c-16.836,3.291-51.878,2.139-74.156,2.139l0,0l0-82.797 c0-0.75-0.103-2.102-0.297-2.791\n\tl0,0c-0.932-3.356-3.961-5.811-7.556-5.815l0,0c-2.032-0.004-3.933,1.056-5.895,2.983l0,0L 35.781,511.967L 174.434,512l 153.784,0 \n\tC 449.895,512, 512,441.916, 512,311.074l0,0l0-91.407 L 512,36.56 L 392.805,155.873z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"xing, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 172.741,320.203l-46.267,0 \n\tc-2.788,0-4.87-1.247-6.049-3.146c-1.219-1.976-1.282-4.533,0-7.080l 49.162-86.535c 0.052-0.095, 0.052-0.158,0-0.263l-31.284-54.019\n\tc-1.294-2.569-1.483-5.106-0.263-7.079c 1.179-1.909, 3.522-2.885, 6.31-2.885l 46.267,0 c 7.1,0, 10.579,4.562, 12.884,8.654\n\tc0,0, 31.62,55.025, 31.809,55.328c-1.873,3.295-49.95,88.11-49.95,88.11C 182.994,315.546, 179.661,320.203, 172.741,320.203z\n\t M 391.525,106.069L 289.084,286.741c-0.062,0.097-0.062,0.214,0,0.306l 65.229,118.875c 1.295,2.558, 1.326,5.16, 0.096,7.132\n\tc-1.178,1.897-3.354,2.946-6.141,2.946l-46.217,0 c-7.088,0-10.633-4.699-12.924-8.79c0,0-65.576-119.996-65.744-120.307\n\tc 3.28-5.791, 102.958-182.113, 102.958-182.113c 2.48-4.448, 5.477-8.79, 12.387-8.79l 46.742,0 c 2.789,0, 4.977,1.049, 6.152,2.947\n\tC 392.842,100.921, 392.809,103.52, 391.525,106.069z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"xing, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 155.889,333.394l-55.632,0 \n\tc-3.351,0-5.854-1.504-7.271-3.792c-1.467-2.379-1.542-5.464,0-8.534l 59.11-104.313c 0.063-0.114, 0.063-0.19,0-0.316l-37.615-65.116\n\tc-1.556-3.098-1.783-6.157-0.316-8.534c 1.417-2.301, 4.235-3.477, 7.586-3.477l 55.632,0 c 8.535,0, 12.72,5.499, 15.489,10.431\n\tc0,0, 38.020,66.33, 38.249,66.696c-2.252,3.97-60.059,106.21-60.059,106.21C 168.218,327.78, 164.21,333.394, 155.889,333.394z\n\t M 418.956,75.269L 295.78,293.059c-0.075,0.115-0.075,0.255,0,0.367l 78.431,143.295c 1.556,3.084, 1.593,6.221, 0.113,8.597\n\tc-1.415,2.288-4.033,3.552-7.383,3.552l-55.57,0 c-8.522,0-12.783-5.663-15.54-10.596c0,0-78.848-144.646-79.050-145.023\n\tc 3.944-6.98, 123.797-219.523, 123.797-219.523c 2.984-5.362, 6.587-10.596, 14.894-10.596l 56.203,0 c 3.351,0, 5.981,1.265, 7.396,3.553\n\tC 420.537,69.061, 420.499,72.196, 418.956,75.269z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pinterest, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.675,0L 85.324,0 C 38.199,0,0,38.21,0,85.343l0,341.315 C0,473.791, 38.199,512, 85.324,512l 341.351,0 \n\tC 473.8,512, 512,473.791, 512,426.658L 512,85.343 C 512,38.21, 473.8,0, 426.675,0z M 280.822,342.059\n\tc-23.26-1.807-33.021-13.328-51.252-24.404c-10.030,52.589-22.281,103.009-58.569,129.344\n\tc-11.202-79.484, 16.447-139.182, 29.285-202.557c-21.893-36.853, 2.635-111.017, 48.81-92.737\n\tc 56.813,22.474-49.2,137.004, 21.966,151.308c 74.31,14.934, 104.644-128.929, 58.571-175.712\n\tc-66.579-67.553-193.799-1.54-178.155,95.178c 3.807,23.646, 28.236,30.819, 9.762,63.451c-42.61-9.446-55.325-43.051-53.688-87.856\n\tc 2.634-73.337, 65.892-124.682, 129.343-131.783c 80.242-8.982, 155.553,29.454, 165.953,104.938\n\tC 414.553,256.423, 366.623,348.693, 280.822,342.059z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pinterest, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 280.822,342.059\n\tc-23.26-1.807-33.021-13.328-51.252-24.404C 219.54,370.243, 207.288,420.663, 171,446.998\n\tc-11.202-79.484, 16.447-139.182, 29.285-202.557c-21.892-36.853, 2.635-111.017, 48.81-92.737\n\tc 56.813,22.474-49.2,137.004, 21.966,151.308c 74.31,14.934, 104.644-128.929, 58.571-175.712\n\tc-66.579-67.553-193.799-1.54-178.155,95.178c 3.807,23.646, 28.236,30.819, 9.762,63.451c-42.61-9.446-55.325-43.051-53.688-87.856\n\tc 2.634-73.337, 65.892-124.682, 129.343-131.783c 80.242-8.982, 155.553,29.454, 165.953,104.938\n\tC 414.553,256.423, 366.623,348.693, 280.822,342.059z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stackoverflow, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,320 L 512,512 L 0,512 L 0,320 L 64,320 L 64,448 L 448,448 L 448,320 ZM 96,352L 416,352L 416,416L 96,416zM 103.576,282.733L 117.425,220.251L 429.841,289.499L 415.992,351.981zM 139.829,154.279L 166.875,96.276L 456.891,231.508L 429.845,289.511zM 495.861,180.738 L 456.9,231.513 L 203.027,36.709 L 231.195,0 L 260.317,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stumbleupon, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,128\n\tc-17.645,0-32,14.355-32,32l0,128 c0,52.935-43.065,96-96,96s-96-43.065-96-96l0-64 l 64,0 l0,64 c0,17.645, 14.355,32, 32,32s 32-14.355, 32-32L 160,160 \n\tc0-52.935, 43.065-96, 96-96s 96,43.065, 96,89l0,31 l-41,12l-23-12l0-31 C 288,142.355, 273.645,128, 256,128z M 384,384\n\tc-52.935,0-96-43.065-96-103l0-62 l 23,12l 41-12l0,62 c0,24.645, 14.355,39, 32,39s 32-14.355, 32-32l0-64 l 64,0 l0,64 \n\tC 480,340.935, 436.935,384, 384,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stumbleupon, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 256,160\n\tc-17.645,0-32,14.355-32,32l0,128 c0,52.936-43.065,96-96,96s-96-43.064-96-96l0-64 l 64,0 l0,64 c0,17.645, 14.355,32, 32,32s 32-14.355, 32-32L 160,192 \n\tc0-52.935, 43.065-96, 96-96c 52.935,0, 96,43.065, 96,89l0,31 l-41,12l-23-12l0-31 C 288,174.355, 273.645,160, 256,160z M 480,320\n\tc0,52.936-43.065,96-96,96s-96-43.064-96-103l0-62 l 23,12l 41-12l0,62 c0,24.645, 14.355,39, 32,39s 32-14.355, 32-32l0-64 l 64,0 L 480,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"delicious, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.688,0L 85.343,0 C 38.405,0,0,38.408,0,85.346l0,341.312 C0,473.623, 38.405,512, 85.343,512l 341.345,0 \n\tC 473.625,512, 512,473.624, 512,426.658L 512,85.346 C 512,38.408, 473.625,0, 426.688,0z M 480,426.658c0,14.167-5.57,27.541-15.685,37.658\n\tC 454.204,474.43, 440.841,480, 426.688,480L 256,480 L 256,256 L 32,256 L 32,85.346 c0-14.154, 5.575-27.525, 15.698-37.648C 57.82,37.575, 71.19,32, 85.343,32\n\tL 256,32 l0,224 l 224,0 L 480,426.658 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lastfm, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z\n\t M 373.258,380.444c-88.779,0-119.569-40.028-135.986-89.802l-16.425-51.318c-12.319-37.463-26.687-66.712-71.842-66.712\n\tc-31.31,0-63.123,22.579-63.123,85.699c0,49.264, 25.144,80.056, 60.557,80.056c 40.021,0, 66.71-29.765, 66.71-29.765l 16.425,44.644\n\tc0,0-27.718,27.197-85.699,27.197c-71.846,0-111.875-42.076-111.875-120.082c0-81.081, 40.029-128.805, 115.464-128.805\n\tc 68.253,0, 102.64,24.632, 124.188,91.346l 16.936,51.313c 12.318,37.465, 33.867,64.662, 85.698,64.662\n\tc 34.896,0, 53.367-7.699, 53.367-26.684c0-14.885-8.72-25.66-34.892-31.82l-34.9-8.207c-42.587-10.262-59.522-32.329-59.522-67.226\n\tc0-55.936, 45.16-73.384, 91.343-73.384c 52.345,0, 84.161,18.988, 88.266,65.172l-51.317,6.16\n\tc-2.054-22.066-15.396-31.305-40.027-31.305c-22.582,0-36.436,10.265-36.436,27.713c0,15.395, 6.671,24.633, 29.247,29.765\n\tl 32.842,7.182c 44.135,10.266, 67.746,31.82, 67.746,73.386C 480.001,360.946, 436.895,380.444, 373.258,380.444z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lastfm, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 409.79,406.814c-53.333-0.209-81.749-26.291-101.496-72.251l-5.649-12.541l-48.685-111\n\tc-16.146-39.293-56.211-65.836-101.417-65.836c-61.167,0-110.792,49.626-110.792,110.836c0,61.209, 49.624,110.834, 110.792,110.834\n\tc 42.669,0, 79.771-24.125, 98.291-59.5l 19.688,45.416c-27.956,34.085-70.438,55.792-117.977,55.792C 68.29,408.564,0,340.313,0,256.021\n\tc0-84.252, 68.29-152.586, 152.542-152.586c 63.583,0, 114.918,33.959, 141,94.126c 1.978,4.668, 27.579,64.543, 49.913,115.5\n\tc 13.834,31.541, 25.63,52.459, 63.878,53.752c 37.584,1.291, 63.378-21.584, 63.378-50.504c0-28.25-19.668-35.041-52.875-46.082\n\tc-59.691-19.667-90.503-39.417-90.503-86.751c0-46.168, 31.416-76.959, 82.457-76.959c 33.248,0, 57.253,14.793, 73.88,44.293\n\tl-32.628,16.666c-12.295-17.207-25.854-24-43.086-24c-23.956,0-41.063,16.668-41.063,38.833c0,31.461, 28.147,36.211, 67.503,49.127\n\tC 487.375,248.686, 512,268.396, 512,317.604C 512.001,369.272, 467.664,406.898, 409.79,406.814z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"linkedin, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 192,416l-64,0 \n\tL 128,192 l 64,0 L 192,416 z M 160,160c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 177.673,160, 160,160z M 416,416l-64,0 L 352,288 \n\tc0-17.673-14.327-32-32-32s-32,14.327-32,32l0,128 l-64,0 L 224,192 l 64,0 l0,39.736 C 301.199,213.604, 321.376,192, 344,192c 39.765,0, 72,35.817, 72,80\n\tL 416,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reddit, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,320A32,32 2520 1 1 192,320A32,32 2520 1 1 128,320zM 320,320A32,32 2520 1 1 384,320A32,32 2520 1 1 320,320zM 321.556,388.389 C 329.797,381.896 341.744,383.312 348.238,391.555 C 354.732,399.798 353.314,411.744 345.071,418.238 C 322.123,436.317 287.16,448 256,448 C 224.839,448 189.876,436.317 166.928,418.239 C 158.685,411.744 157.268,399.798 163.762,391.555 C 170.257,383.314 182.203,381.896 190.445,388.389 C 203.656,398.798 229.806,410 256,410 C 282.194,410 308.344,398.798 321.556,388.389 ZM 512,256c0-35.346-28.654-64-64-64c-24.058,0-44.996,13.285-55.926,32.91c-32.896-17.997-72.976-29.623-116.64-32.304\n\t\t\tl 38.191-85.763l 73.097,21.1C 393.298,146.614, 411.081,160, 432,160c 26.51,0, 48-21.49, 48-48s-21.49-48-48-48\n\t\t\tc-18.28,0-34.171,10.221-42.277,25.257L 308.27,65.745c-9.112-2.629-18.769,1.861-22.626,10.526l-51.885,116.513\n\t\t\tc-42.569,2.998-81.631,14.511-113.818,32.118C 109.009,205.277, 88.058,192, 64,192c-35.346,0-64,28.654-64,64\n\t\t\tc0,26.156, 15.701,48.627, 38.186,58.551C 34.151,326.565, 32,339.103, 32,352c0,88.365, 100.288,160, 224,160\n\t\t\tc 123.711,0, 224-71.635, 224-160c0-12.896-2.15-25.431-6.184-37.443C 496.301,304.632, 512,282.156, 512,256z M 432,94\n\t\t\tc 9.941,0, 18,8.059, 18,18s-8.059,18-18,18s-18-8.059-18-18S 422.059,94, 432,94z M 32,256c0-17.645, 14.355-32, 32-32\n\t\t\tc 12.754,0, 23.786,7.502, 28.923,18.323c-16.724,12.683-30.583,27.313-40.833,43.369C 40.328,280.957, 32,269.436, 32,256z M 256,474\n\t\t\tc-102.725,0-186-54.621-186-122s 83.275-122, 186-122c 102.725,0, 186,54.621, 186,122S 358.725,474, 256,474z M 459.91,285.692\n\t\t\tc-10.25-16.056-24.109-30.686-40.833-43.369C 424.215,231.502, 435.246,224, 448,224c 17.645,0, 32,14.355, 32,32\n\t\t\tC 480,269.436, 471.672,280.957, 459.91,285.692z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skype, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 487.655,288.969c 1.406-10.4, 2.215-20.973, 2.215-31.736c0-129.155-105.271-233.872-235.103-233.872\n\tc-12.904,0-25.555,1.060-37.866,3.080c-22.072-14.384-48.342-22.767-76.612-22.767C 62.766,3.674,0,66.482,0,143.98\n\tc0,28.198, 8.299,54.394, 22.59,76.389c-1.925,12.017-2.909,24.323-2.909,36.859c0,129.176, 105.217,233.882, 235.085,233.882\n\tc 14.657,0, 28.927-1.427, 42.796-3.933c 21.55,13.369, 46.934,21.148, 74.146,21.148C 449.21,508.326, 512,445.502, 512,368.012\n\tC 511.997,338.719, 503.040,311.484, 487.655,288.969z M 276.74,429.596c-74.705,3.892-109.664-12.637-141.689-42.691\n\tc-35.765-33.567-21.398-71.854, 7.74-73.801c 29.122-1.944, 46.607,33.013, 62.15,42.736c 15.524,9.688, 74.594,31.76, 105.794-3.908\n\tc 33.976-38.828-22.594-58.92-64.059-65.002c-59.203-8.766-133.95-40.792-128.135-103.907c 5.816-63.074, 53.582-95.414, 103.85-99.976\n\tc 64.077-5.817, 105.791,9.707, 138.785,37.86c 38.15,32.529, 17.508,68.894-6.799,71.82c-24.212,2.909-51.404-53.504-104.791-54.352\n\tc-55.027-0.864-92.217,57.261-24.286,73.784c 67.966,16.505, 140.75,23.286, 166.961,85.417\n\tC 418.49,359.713, 351.507,425.701, 276.74,429.596z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"soundcloud, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.686,0L 85.344,0 C 38.407,0, 0.001,38.403, 0.001,85.34l0,234.658 L 8,288l 16,0 l 8,32l-8,32L 8,352 l-8-31.998l0,106.652 \n\tC 0.001,473.623, 38.407,512, 85.344,512l 341.342,0 C 473.625,512, 512,473.623, 512,426.654L 512,320.553 C 512,355.592, 482.459,384, 446.007,384\n\tc-1.177,0-182.777-0.088-182.945-0.105c-3.941-0.381-7.062-3.615-7.062-7.498L 256,175.040 c0-3.697, 1.309-5.606, 6.289-7.458\n\tc 12.818-4.767, 27.267-7.582, 42.159-7.582c 60.854,0, 110.746,44.851, 115.999,102.029c 7.858-3.168, 16.489-4.928, 25.532-4.928\n\tc 36.453,0, 66.021,28.412, 66.021,63.451L 512,85.341 C 512,38.403, 473.621,0, 426.686,0z M 88,384L 72,384 l-8-64l 8-64l 16,0 l 8,64L 88,384z M 152,384l-16,0 \n\tl-8-81.375L 136,224l 16,0 l 8,80L 152,384z M 216,384l-16,0 l-8-112.11L 200,160l 16,0 l 8,111.89L 216,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"soundcloud, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.98,257.102c-9.043,0-17.674,1.76-25.532,4.928C 415.195,204.851, 365.303,160, 304.448,160\n\t\tc-14.893,0-29.341,2.815-42.159,7.582c-4.98,1.851-6.289,3.76-6.289,7.458l0,201.357 c0,3.883, 3.12,7.117, 7.062,7.498\n\t\tC 263.23,383.912, 444.83,384, 446.007,384C 482.459,384, 512,355.592, 512,320.553S 482.433,257.102, 445.98,257.102zM 200,384L 216,384L 224,271.89L 216,160L 200,160L 192,271.89 \tzM 152,384L 136,384L 128,302.625L 136,224L 152,224L 160,304 \tzM 72,384L 88,384L 96,320L 88,256L 72,256L 64,320 \tzM 8,352L 24,352L 32,320L 24,288L 8,288L0,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"windows8, os\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.175,256 L 0,99.963 L 192,73.891 L 192,256 ZM 224,69.241 L 479.936,32 L 479.936,256 L 224,256 ZM 479.999,288 L 479.936,512 L 224,475.992 L 224,288 ZM 192,471.918 L 0.156,445.621 L 0.146,288 L 192,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"windows, os\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.115,255.957c-23.854-12.259-47.043-18.479-68.94-18.479c-2.978,0-5.976,0.090-8.974,0.354\n\t\tc-27.94,2.312-53.461,9.684-69.875,15.414c-4.354,1.599-8.817,3.288-13.415,5.153L0,414.096\n\t\tc 30.851-11.416, 58.146-16.969, 83.135-16.969c 40.423,0, 69.764,15.104, 93.996,30.652c 11.481-38.959, 39.022-133.045, 47.241-161.162\n\t\tC 218.397,262.975, 212.334,259.332, 206.115,255.957zM 264.174,295.535l-45.223,157.074c 13.416,7.686, 58.549,32.025, 93.106,32.025c 27.896,0, 59.126-7.148, 95.417-21.896\n\t\tl 43.178-150.988c-29.316,9.461-57.438,14.26-83.732,14.26C 318.945,326.010, 285.363,310.461, 264.174,295.535zM 146.411,184.395c 38.559,0.399, 67.076,15.104, 90.708,30.251l 46.376-158.672c-9.773-5.598-35.403-19.547-53.929-24.3\n\t\tc-12.193-2.842-25.010-4.308-38.602-4.308c-25.898,0.488-54.194,6.973-86.444,19.9l-44.22,155.298\n\t\tc 32.404-12.218, 60.322-18.17, 86.043-18.17C 146.366,184.395, 146.411,184.395, 146.411,184.395zM 512,99.062c-29.407,11.416-58.104,17.233-85.514,17.233c-45.843,0-79.646-15.901-101.547-31.183L 278.964,244.23\n\t\tc 30.873,19.854, 64.145,29.939, 99.061,29.939c 28.474,0, 57.97-6.84, 87.731-20.344l-0.091-1.111l 1.867-0.443L 512,99.062z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"android, os, mobile\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,160c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32s 32-14.4, 32-32L 464,192 C 464,174.4, 449.6,160, 432,160zM 48,160c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32s 32-14.4, 32-32L 80,192 C 80,174.4, 65.599,160, 48,160zM 96,368c0,26.51, 21.49,48, 48,48l 16,0 l0,64 c0,17.6, 14.4,32, 32,32s 32-14.4, 32-32l0-64 l 32,0 l0,64 c0,17.6, 14.401,32, 32,32s 32-14.4, 32-32\n\t\tl0-64 l 16,0 c 26.51,0, 48-21.49, 48-48L 384,192 L 96,192 L 96,368 zM 299.299,44.747l 20.252-38.903c 1.016-1.951, 0.25-4.379-1.701-5.395s-4.379-0.25-5.395,1.701l-20.559,39.493\n\t\tC 275.797,35.419, 258.299,32, 240,32c-18.298,0-35.796,3.419-51.898,9.643L 167.544,2.151c-1.016-1.951-3.443-2.717-5.395-1.701\n\t\ts-2.717,3.443-1.701,5.395l 20.25,38.904c-45.315,20.509-78.12,63.792-83.81,115.252l 286.22,0 \n\t\tC 377.42,108.539, 344.615,65.257, 299.299,44.747z M 176,135.2c-12.813,0-23.2-10.387-23.2-23.2c0-12.813, 10.387-23.2, 23.2-23.2\n\t\ts 23.2,10.387, 23.2,23.2C 199.199,124.813, 188.813,135.2, 176,135.2z M 304,135.2c-12.813,0-23.201-10.387-23.201-23.2\n\t\tc0-12.813, 10.389-23.2, 23.201-23.2s 23.199,10.387, 23.199,23.2C 327.199,124.813, 316.813,135.2, 304,135.2z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"finder, mac\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.5,384c-66.156,0-130.837-9.686-193.050-28.849l 10.124-30.371C 132.526,342.859, 193.812,352, 256.5,352\n\t\tc 8.172,0, 16.319-0.164, 24.441-0.474C 283.054,312.746, 288,288, 288,288s-32,0-96,0c0-87.505, 29.909-165.027, 62.465-223.5L0,64.5 l0,383 \n\t\tl 283.088,0 c-2.336-22.842-3.152-44.43-3.077-63.92C 272.195,383.854, 264.358,384, 256.5,384z M 96,128l 32,0 l0,64 L 96,192 L 96,128 zM 512,64.5L 298.435,64.5 c-0.974,1.598-1.947,3.207-2.92,4.843c-19.208,32.286-34.468,65.379-45.358,98.36\n\t\tc-9.103,27.566-15.151,55.116-18.086,82.297l 102.429,0 l-9.229,45.417c-0.157,0.808-4.085,21.422-6.1,53.471\n\t\tc 40.932-4.063, 81.111-12.103, 120.257-24.107l 10.124,30.371c-42.783,13.178-86.732,21.874-131.526,26.021\n\t\tc-0.018,2.188-0.028,4.395-0.021,6.64c 0.062,20.315, 1.173,40.285, 3.301,59.688L 512,447.501 L 512,64.5 z M 416,192l-32,0 l0-64 l 32,0 L 416,192 zM 293.632,512l 39.084,0 c-2.73-10.907-5.094-22.096-7.069-33.543c-1.747-10.126-3.191-20.46-4.343-30.957l-38.216,0 \n\t\tC 285.204,468.189, 288.563,489.901, 293.632,512zM 344.224,0l-48.198,0 c-12.875,17.435-27.466,39.185-41.56,64.5l 43.969,0 C 315.272,36.844, 332.017,14.799, 344.224,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"apple\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 395.749,272.046c-0.647-64.841, 52.879-95.938, 55.271-97.483c-30.076-44.010-76.925-50.039-93.621-50.736\n\t\tc-39.871-4.037-77.798,23.474-98.033,23.474c-20.184,0-51.409-22.877-84.476-22.276c-43.458,0.646-83.529,25.269-105.906,64.19\n\t\tc-45.152,78.349-11.563,194.42, 32.445,257.963c 21.504,31.102, 47.146,66.038, 80.813,64.79c 32.421-1.294, 44.681-20.979, 83.878-20.979\n\t\tc 39.197,0, 50.214,20.979, 84.525,20.335c 34.887-0.648, 56.991-31.699, 78.346-62.898c 24.695-36.084, 34.863-71.019, 35.462-72.813\n\t\tC 463.679,375.26, 396.423,349.495, 395.749,272.046zM 331.281,81.761C 349.15,60.082, 361.211,30.005, 357.921,0c-25.739,1.048-56.939,17.145-75.405,38.775\n\t\tc-16.571,19.188-31.074,49.813-27.187,79.218C 284.062,120.235, 313.393,103.391, 331.281,81.761z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tux, linux\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 283.828,368.458c-40.972,19.059-79.079,18.858-104.67,17.010c-30.526-2.205-55.079-10.562-65.871-17.866\n\t\tc-6.65-4.503-15.692-2.761-20.195,3.891c-4.502,6.651-2.76,15.693, 3.891,20.195c 17.349,11.743, 48.034,20.477, 80.081,22.79\n\t\tc 5.433,0.392, 11.399,0.639, 17.823,0.639c 27.891,0, 63.313-2.658, 101.21-20.285c 7.282-3.389, 10.439-12.037, 7.052-19.32\n\t\tC 299.761,368.229, 291.111,365.076, 283.828,368.458zM 445.474,346.908c 1.393-126.344, 14.381-365.103-227.485-345.806C-20.811,20.323, 42.507,272.586, 38.948,357.077\n\t\tC 35.794,401.77, 20.959,456.401,0,512l 64.55,0 c 6.633-23.561, 11.512-46.86, 13.616-69.075c 3.891,2.714, 8.054,5.337, 12.497,7.85\n\t\tc 7.229,4.259, 13.442,9.922, 20.020,15.917c 15.372,14.009, 32.795,29.887, 66.856,31.876c 2.286,0.131, 4.587,0.197, 6.838,0.197\n\t\tc 34.448,0, 58.007-15.077, 76.939-27.191c 9.070-5.806, 16.909-10.82, 24.282-13.226c 20.955-6.56, 39.266-17.148, 52.952-30.626\n\t\tc 2.138-2.104, 4.121-4.269, 5.981-6.474c 7.623,27.939, 18.059,59.379, 29.644,90.752L 512,512 \n\t\tC 478.913,460.888, 444.782,410.813, 445.474,346.908z M 62.055,278.176c0-0.008,0-0.015-0.001-0.023\n\t\tc-2.373-41.231, 17.355-75.916, 44.063-77.468c 26.706-1.553, 50.28,30.614, 52.652,71.846c0,0.007, 0.002,0.015, 0.002,0.022\n\t\tc 0.128,2.223, 0.184,4.423, 0.185,6.603c-8.462,2.128-16.096,5.218-22.936,8.815c-0.026-0.306-0.046-0.608-0.076-0.915\n\t\tc0-0.004,0-0.009,0-0.013c-2.285-23.405-14.786-41.080-27.926-39.479c-13.14,1.602-21.94,21.875-19.656,45.279\n\t\tc0,0.005, 0.002,0.009, 0.002,0.013c 0.996,10.204, 3.934,19.318, 8.021,26.222c-1.017,0.802-3.892,2.906-7.203,5.328\n\t\tc-2.485,1.817-5.51,4.029-9.157,6.715C 70.084,318.074, 63.272,299.331, 62.055,278.176z M 332.63,380.089\n\t\tc-0.95,21.793-29.454,42.296-55.791,50.522l-0.148,0.048c-10.95,3.551-20.714,9.8-31.052,16.415\n\t\tc-17.366,11.112-35.323,22.604-61.261,22.604c-1.702,0-3.447-0.052-5.163-0.148c-23.758-1.389-34.871-11.516-48.94-24.338\n\t\tc-7.421-6.763-15.095-13.757-24.988-19.562l-0.212-0.122c-21.353-12.052-34.606-27.041-35.454-40.097\n\t\tc-0.421-6.49, 2.469-12.109, 8.591-16.7c 13.318-9.986, 22.239-16.511, 28.142-20.829c 6.555-4.794, 8.534-6.24, 10-7.632\n\t\tc 1.048-0.993, 2.182-2.094, 3.402-3.281c 12.223-11.887, 32.68-31.781, 64.075-31.781c 19.202,0, 40.449,7.4, 63.085,21.951\n\t\tc 10.662,6.939, 19.941,10.143, 31.69,14.2c 8.078,2.789, 17.234,5.951, 29.496,11.202l 0.198,0.082\n\t\tC 319.74,357.325, 333.248,365.905, 332.63,380.089z M 326.323,328.903c-2.2-1.107-4.487-2.16-6.872-3.143\n\t\tc-11.053-4.728-19.916-7.937-27.267-10.499c 4.058-7.947, 6.58-17.86, 6.812-28.621c0-0.005,0-0.011,0-0.015\n\t\tc 0.563-26.187-12.644-47.448-29.498-47.488c-16.855-0.039-30.975,21.157-31.538,47.343c0,0.005,0,0.009,0,0.014\n\t\tc-0.019,0.857-0.021,1.708-0.010,2.555c-10.381-4.776-20.59-8.245-30.583-10.38c-0.046-0.984-0.102-1.966-0.122-2.96\n\t\tc0-0.008,0-0.018,0-0.025c-0.969-47.706, 28.301-87.195, 65.377-88.201c 37.075-1.007, 67.914,36.85, 68.886,84.555\n\t\tc0,0.009,0,0.019,0,0.026C 341.945,293.637, 336.178,313.497, 326.323,328.903z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"yahoo, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424,320l-7.429-208.010C 416.257,103.195, 423.2,96, 432,96l 64,0 c 8.8,0, 14.734,7.088, 13.188,15.751L 472,320M 480,388c0,15.4-12.6,28-28,28l-8,0 c-15.4,0-28-12.6-28-28l0-8 c0-15.4, 12.6-28, 28-28l 8,0 c 15.4,0, 28,12.6, 28,28L 480,388 zM 192,96C 85.961,96,0,167.634,0,256c0,88.365, 85.961,160, 192,160c 106.039,0, 192-71.635, 192-160\n\tC 384,167.634, 298.039,96, 192,96z M 320,224l-37.131,0 L 224,282.87L 224,320 l 48,0 l0,32 L 144,352 l0-32 l 48,0 l0-37.13 L 101.13,192L 80.099,192 l0-32 l 95.803,0 l0,32 L 154.87,192 \n\tL 208,245.13l 16-16L 224,192 l 96,0 L 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tumblr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.69,0L 85.344,0 C 38.405,0, 0.001,38.407, 0.001,85.343l0,341.313 C 0.001,473.625, 38.405,512, 85.344,512L 426.69,512 \n\tC 473.625,512, 512,473.625, 512,426.656L 512,85.342 C 511.996,38.407, 473.621,0, 426.69,0z M 365.858,412.344\n\tc-15.076,7.094-28.764,12.094-41,14.969c-12.248,2.845-25.48,4.279-39.701,4.279c-16.156,0-25.688-2.029-38.094-6.094\n\tc-12.404-4.094-23-9.936-31.75-17.436c-8.779-7.564-14.843-15.599-18.233-24.097c-3.392-8.502-5.078-20.846-5.078-37.002L 192.002,223.062 \n\tl-47.998,0 l0-50.033 c 13.872-4.5, 29.968-10.967, 39.842-19.375c 9.92-8.436, 17.859-18.529, 23.842-30.342\n\tc 6.002-11.783, 10.125-26.813, 12.376-45.033l 50.25,0 L 270.314,160 L 352,160 l0,63.063 l-81.689,0 l0,90.594 c0,20.5-0.264,32.313, 1.908,38.125\n\tc 2.156,5.78, 7.563,11.78, 13.451,15.25c 7.828,4.688, 16.752,7.030, 26.813,7.030c 17.893,0, 35.689-5.813, 53.375-17.438L 365.858,412.344 \n\tL 365.858,412.344z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tumblr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288.016,224 L 288.015,341.092 C 288.015,370.801 287.63,387.92 290.78,396.342 C 293.905,404.719 301.739,413.415 310.275,418.443 C 321.617,425.237 334.546,428.631 349.129,428.631 C 375.056,428.631 390.368,425.207 416,408.361 L 416,485.333 L 416,485.333 C 394.15,495.609 375.067,501.63 357.338,505.794 C 339.588,509.915 320.408,511.997 299.806,511.997 C 276.392,511.997 262.578,509.054 244.601,503.169 C 226.622,497.235 211.271,488.766 198.591,477.899 C 185.866,466.938 177.080,455.295 172.167,442.983 C 167.254,430.665 164.809,412.776 164.809,389.361 L 164.809,209.811 L 96.096,209.811 L 96.096,137.308 C 116.2,130.787 138.678,121.414 152.986,109.232 C 167.363,97.007 178.869,82.379 187.539,65.26 C 196.235,48.187 202.213,26.404 205.475,0.002 L 288.017,0.002 L 288.016,128 L 416,128 L 416,224 L 288.016,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blogger, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.674,0L 85.325,0 C 38.202,0,0,38.209,0,85.341l0,341.318 C0,473.792, 38.202,512, 85.325,512l 341.348,0 \n\tc 47.125,0, 85.324-38.208, 85.324-85.341L 512,85.341C 512,38.209, 473.798,0, 426.674,0z M 448,324.049\n\tC 448,392.544, 392.257,448, 323.278,448L 188.869,448 C 119.941,448, 64,392.544, 64,324.049L 64,188 c 0.048-68.5, 55.94-124, 124.869-124l 62.934,0 \n\tC 320.779,64, 376.002,115.5, 376,184c 0.901,12.847, 12.461,24, 25.646,24l 0.448,0 l 21.078,0 C 436.959,208, 448,222.467, 448,236.156L 448,324.049 zM 352,320c0,17.6-14.4,32-32,32L 192,352 c-17.6,0-32-14.4-32-32l0,0c0-17.6, 14.4-32, 32-32l 128,0 C 337.6,288, 352,302.4, 352,320\n\tL 352,320zM 288,192c0,17.6-14.4,32-32,32l-64,0 c-17.6,0-32-14.4-32-32l0,0c0-17.6, 14.4-32, 32-32l 64,0 C 273.6,160, 288,174.4, 288,192L 288,192\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blogger, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 478.898,192l-28.103,0 l-0.6,0 c-17.583,0-32.994-14.871-34.195-32l0,0C 416.002,68.666, 342.371,0, 250.405,0l-83.912,0 \n\tC 74.587,0, 0.065,74,0,165.333l0,181.399 C0,438.059, 74.587,512, 166.492,512l 179.21,0 C 437.676,512, 512,438.059, 512,346.732L 512,229.541 \n\tC 512,211.29, 497.28,192, 478.898,192z M 160,128l 96,0 c 17.6,0, 32,14.4, 32,32s-14.4,32-32,32l-96,0 c-17.6,0-32-14.4-32-32S 142.4,128, 160,128\n\tz M 352,384L 160,384 c-17.6,0-32-14.4-32-32s 14.4-32, 32-32l 192,0 c 17.6,0, 32,14.4, 32,32S 369.6,384, 352,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"joomla, cms\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 133.002,138.339c 16.416-16.422, 43.001-16.422, 59.402-0.016l 3.913,3.934l 50.552-50.578l-3.937-3.94\n\tc-28.812-28.85-69.257-38.939-106.21-30.261C 131.425,24.887, 103.178,0.016, 69.135,0C 31.31,0, 0.658,30.721, 0.65,68.579\n\tc0,32.668, 22.795,60, 53.331,66.915c-11.569,38.725-2.121,82.417, 28.423,112.992l 113.913,113.95l 50.498-50.607L 132.91,197.886\n\tC 116.569,181.525, 116.539,154.823, 133.002,138.339zM 511.356,68.579C 511.364,30.698, 480.697,0, 442.864,0c-34.617,0-63.239,25.722-67.841,59.119\n\tc-38.537-11.332-81.892-1.748-112.32,28.704l-113.92,113.95l 50.551,50.586l 113.883-113.928c 16.47-16.483, 42.994-16.453, 59.342-0.092\n\tc 16.4,16.415, 16.4,43.057-0.016,59.478l-3.897,3.918l 50.505,50.624l 3.929-3.964c 30.229-30.283, 39.839-73.378, 28.806-111.819\n\tC 485.461,132.159, 511.356,103.394, 511.356,68.579zM 453.133,375.532c 9.051-37.229-0.988-78.162-30.054-107.25L 309.334,154.286l-50.551,50.561l 113.76,114.006\n\tc 16.47,16.498, 16.432,43.048, 0.092,59.424c-16.401,16.407-43.002,16.407-59.418-0.015l-3.883-3.895l-50.497,50.623l 3.866,3.864\n\tc 30.758,30.797, 74.809,40.219, 113.684,28.244C 382.703,488.439, 410.354,512, 443.516,512C 481.318,512, 512,481.325, 512,443.437\n\tC 512,408.837, 486.41,380.209, 453.133,375.532zM 306.172,264.342L 192.404,378.338c-16.355,16.384-43.017,16.414-59.472-0.062c-16.409-16.452-16.416-43.049-0.022-59.485\n\tl 3.904-3.887l-50.543-50.562l-3.867,3.856c-29.38,29.401-39.28,70.917-29.725,108.491C 22.48,383.819,0,411.006,0,443.437\n\tC-0.008,481.31, 30.666,512, 68.491,512c 32.55-0.016, 59.794-22.709, 66.77-53.191c 37.351,9.276, 78.499-0.652, 107.672-29.878\n\tl 113.745-113.98L 306.172,264.342z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wordpress, social, cms\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 259.371,272.352 L 318.386,429.823 C 318.775,430.748 319.252,431.598 319.761,432.4 C 299.805,439.241 278.359,443 256.002,443 C 237.155,443 218.966,440.31 201.758,435.381 L 259.371,272.352 ZM 448,255.997 C 448,324.982 409.612,385.212 352.53,417.626 L 411.173,252.49 C 422.129,225.813 425.775,204.48 425.775,185.515 C 425.775,178.629 425.306,172.241 424.481,166.286 C 439.47,192.917 448,223.482 448,255.997 ZM 64,255.996 C 64,228.884 69.972,203.147 80.626,179.893 L 172.215,424.285 C 108.161,393.98 64,330.009 64,255.996 ZM 95.582,153.284 C 129.911,102.523 188.924,69 256.004,69 C 305.988,69 351.5,87.613 385.658,118.098 C 384.83,118.049 384.023,117.947 383.17,117.947 C 364.31,117.947 350.927,133.948 350.927,151.135 C 350.927,166.546 360.058,179.583 369.787,194.993 C 377.087,207.446 385.614,223.447 385.614,246.564 C 385.614,262.565 379.296,281.139 371.006,307.014 L 351.85,369.33 L 282.46,168.321 C 294.018,167.732 304.434,166.546 304.434,166.546 C 314.781,165.352 313.563,150.544 303.211,151.135 C 303.211,151.135 272.109,153.511 252.036,153.511 C 233.169,153.511 201.469,151.135 201.469,151.135 C 191.114,150.545 189.899,165.95 200.25,166.546 C 200.25,166.546 210.045,167.729 220.389,168.321 L 250.3,248.146 L 208.278,370.874 L 138.361,168.321 C 149.932,167.73 160.337,166.546 160.337,166.546 C 170.674,165.352 169.453,150.544 159.108,151.135 C 159.108,151.135 128.015,153.511 107.938,153.511 C 104.335,153.511 100.087,153.425 95.582,153.284 ZM 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 480,256\n\t\tc0,123.712-100.288,224-224,224S 32,379.712, 32,256S 132.288,32, 256,32S 480,132.288, 480,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wordpress, social, cms\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,255.996c0,74.013, 44.161,137.984, 108.215,168.289L 80.626,179.893C 69.972,203.147, 64,228.884, 64,255.996zM 385.614,246.564c0-23.117-8.527-39.118-15.827-51.571c-9.729-15.41-18.86-28.447-18.86-43.858\n\t\t\tc0-17.187, 13.383-33.188, 32.243-33.188c 0.852,0, 1.66,0.102, 2.488,0.151C 351.5,87.613, 305.988,69, 256.004,69\n\t\t\tc-67.080,0-126.093,33.523-160.422,84.284c 4.505,0.141, 8.753,0.227, 12.356,0.227c 20.077,0, 51.17-2.376, 51.17-2.376\n\t\t\tc 10.345-0.591, 11.566,14.217, 1.229,15.411c0,0-10.405,1.184-21.976,1.775l 69.917,202.553l 42.022-122.728l-29.911-79.825\n\t\t\tc-10.344-0.592-20.139-1.775-20.139-1.775c-10.351-0.596-9.136-16.001, 1.219-15.411c0,0, 31.7,2.376, 50.567,2.376\n\t\t\tc 20.073,0, 51.175-2.376, 51.175-2.376c 10.351-0.591, 11.57,14.217, 1.223,15.411c0,0-10.417,1.186-21.974,1.775L 351.85,369.33\n\t\t\tl 19.156-62.316C 379.296,281.139, 385.614,262.564, 385.614,246.564zM 259.371,272.352l-57.613,163.029c 17.208,4.929, 35.397,7.619, 54.244,7.619c 22.358,0, 43.802-3.759, 63.759-10.6\n\t\t\tc-0.509-0.801-0.987-1.652-1.375-2.577L 259.371,272.352zM 424.481,166.286c 0.826,5.955, 1.294,12.343, 1.294,19.229c0,18.965-3.646,40.298-14.601,66.975l-58.643,165.136\n\t\t\tC 409.612,385.212, 448,324.982, 448,255.997C 448,223.482, 439.47,192.917, 424.481,166.286zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,480\n\t\tC 132.288,480, 32,379.712, 32,256S 132.288,32, 256,32s 224,100.288, 224,224S 379.712,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 131.736,379.684c0,13.526, 11.447,20.291, 34.334,20.291c 20.032,0, 30.044-7.021, 30.044-21.067\n\t\tc0-13.269-10.923-19.898-32.772-19.898C 142.269,359.008, 131.736,365.898, 131.736,379.684zM 426.674,0L 85.344,0 C 38.406,0,0,38.405,0,85.344l0,341.313 C0,473.625, 38.406,512, 85.344,512l 341.33,0 \n\t\tC 473.608,512, 512,473.625, 512,426.656L 512,85.344 C 512,38.405, 473.609,0, 426.674,0z M 237.864,204.494\n\t\tc-3.642,1.302-8.844,2.729-15.606,4.293c 2.080,5.983, 3.123,11.576, 3.123,16.777c0,16.646-5.009,31.149-15.022,43.506\n\t\tc-10.015,12.354-22.956,19.703-38.823,22.043c-10.402,1.563-15.604,7.156-15.604,16.779c0,3.381, 1.689,6.765, 5.072,10.145\n\t\tc 4.422,4.943, 10.924,8.066, 19.509,9.367c 37.195,5.721, 55.793,21.197, 55.793,46.427c0,40.321-24.062,60.481-72.181,60.481\n\t\tc-19.771,0-36.028-3.513-48.772-10.535c-16.129-8.844-24.188-22.76-24.188-41.75c0-21.852, 12.096-36.808, 36.282-44.869l0-0.78 \n\t\tc-8.842-5.462-13.263-13.785-13.263-24.972c0-14.566, 4.162-23.672, 12.484-27.311l0-0.781 c-8.323-2.862-15.737-9.366-22.24-19.512\n\t\tc-7.282-10.926-10.925-22.63-10.925-35.115c0-18.729, 6.635-34.335, 19.896-46.82c 12.748-11.707, 27.964-17.558, 45.653-17.558\n\t\tc 12.747,0, 24.579,3.119, 35.505,9.361c 12.485,0, 26.921-3.12, 43.313-9.361L 237.864,204.494L 237.864,204.494z M 301.089,339.497\n\t\tl-44.093,0 c 0.521-5.201, 0.779-14.042, 0.779-26.532L 257.775,191.619 c0-12.227-0.261-20.682-0.779-25.359l 44.093,0 \n\t\tc-0.521,4.942-0.781,13.135-0.781,24.582l0,119.782 C 300.308,323.891, 300.569,333.516, 301.089,339.497z M 298.159,127.241\n\t\tc-5.332,5.722-11.641,8.581-18.923,8.581c-7.543,0-13.979-2.859-19.313-8.581c-5.333-5.726-8.001-12.486-8.001-20.289\n\t\tc0-8.067, 2.668-14.956, 8.001-20.683c 5.333-5.721, 11.77-8.584, 19.313-8.584c 7.282,0, 13.592,2.863, 18.923,8.584\n\t\tc 5.333,5.728, 7.999,12.615, 7.999,20.683C 306.158,114.755, 303.492,121.516, 298.159,127.241z M 420.845,334.424\n\t\tc-9.627,5.205-21.203,7.803-34.729,7.803c-18.985,0-32.124-6.76-39.405-20.287c-5.465-10.145-8.193-26.14-8.193-47.99l0-69.842 \n\t\tl 0.389,0 l0-0.781 l-5.853-0.391c-3.382,0-7.806,0.391-13.267,1.171L 319.787,166.26 l 19.117,0 l0-15.216 c0-7.285-0.389-13.14-1.17-17.56l 45.259,0 \n\t\tc-0.775,4.94-1.168,10.533-1.168,16.776l0,15.999 l 33.943,0 l0,37.846 c-1.299,0-3.705-0.129-7.218-0.389\n\t\tc-3.512-0.261-6.828-0.393-9.949-0.393l-16.777,0 l0,72.572 c0,17.432, 5.725,26.145, 17.167,26.145c 8.063,0, 15.348-2.209, 21.854-6.632\n\t\tL 420.845,334.424 L 420.845,334.424zM 160.608,200.203c-16.388,0-24.582,9.627-24.582,28.873c0,17.951, 8.194,26.924, 24.582,26.924\n\t\tc 15.868,0, 23.801-9.104, 23.801-27.313c0-7.545-1.82-14.047-5.461-19.511C 174.525,203.195, 168.411,200.203, 160.608,200.203z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 117.639,124.36c-25.396,0-47.242,8.403-65.542,25.208c-19.043,17.926-28.57,40.33-28.57,67.218\n\t\tc0,17.926, 5.188,34.731, 15.647,50.416c 9.337,14.563, 19.090,23.903, 31.889,28.012l0,1.121 c-12.799,5.224-18.483,18.295-18.483,39.209\n\t\tc0,16.062, 5.686,28.011, 18.483,35.854l0,1.121 c-35.327,11.573-51.496,33.047-51.496,64.415c0,27.267, 11.874,47.244, 35.033,59.939\n\t\tC 72.895,506.959, 96.389,512, 124.773,512c 69.085,0, 103.703-28.941, 103.703-86.832c0-36.223-26.661-58.441-80.064-66.658\n\t\tc-12.323-1.863-21.643-6.348-27.991-13.445c-4.854-4.854-7.271-9.709-7.271-14.563c0-13.816, 7.479-21.848, 22.41-24.088\n\t\tc 22.779-3.357, 41.364-13.912, 55.743-31.648c 14.375-17.74, 21.565-38.559, 21.565-62.458c0-7.469-2.259-15.498-5.244-24.086\n\t\tc 9.709-2.244, 16.525-4.297, 21.646-6.166L 229.27,124.36 c-22.527,8.964-43.495,13.442-61.421,13.442\n\t\tC 152.162,128.841, 135.937,124.36, 117.639,124.36z M 123.801,403.885c 31.372,0, 47.052,9.521, 47.052,28.57\n\t\tc0,20.168-14.377,30.246-43.132,30.246c-32.862,0-49.293-9.711-49.293-29.127C 78.427,413.779, 93.55,403.885, 123.801,403.885z\n\t\t M 119.88,256c-23.527,0-35.293-12.882-35.293-38.654c0-27.631, 11.766-41.453, 35.293-41.453c 11.201,0, 19.979,4.298, 26.326,12.884\n\t\tc 5.229,7.845, 7.845,17.18, 7.845,28.011C 154.051,242.927, 142.658,256, 119.88,256zM 290.192,0c-10.828,0-20.070,4.107-27.727,12.324c-7.657,8.218-11.485,18.108-11.485,29.688\n\t\tc0,11.205, 3.829,20.91, 11.485,29.129c 7.654,8.217, 16.896,12.32, 27.727,12.32c 10.455,0, 19.514-4.104, 27.17-12.32\n\t\tc 7.656-8.219, 11.48-17.924, 11.48-29.129c0-11.58-3.824-21.472-11.48-29.688C 309.703,4.107, 300.647,0, 290.192,0zM 321.565,127.999l-63.303,0 c 0.748,7.168-0.32,18.021-0.32,35.57l0,174.216 c0,17.928, 1.068,32.387, 0.32,38.018l 63.303,0 \n\t\tc-0.75-8.188-2.697-22.334-2.697-41.379L 318.868,162.451 C 318.865,146.019, 320.815,135.167, 321.565,127.999zM 461.168,322.1c-16.436,0-24.541-12.514-24.541-37.533l0-103.32 l 24.932,0 c 4.48,0, 8.516-0.246, 13.559,0.123\n\t\tc 5.043,0.374, 7.076,0.125, 9.639,0.125l0-53.495 l-48.129,0 l0-23.808 c0-8.961, 1.408-17.151, 2.527-22.271l-64.979,0 \n\t\tc 1.121,5.12, 1.014,12.938, 1.014,23.395L 375.19,128 l-28.16,0 l0,53.494 c 7.682-1.12, 14.545-1.678, 19.398-1.678l 8.762,0.559l0,0.292 l0,0l0,101.101 \n\t\tc0,31.371, 3.979,54.336, 11.818,68.9c 10.461,19.42, 28.811,29.129, 56.068,29.129c 19.424,0, 36.559-3.732, 49.357-11.205l0-56.016 \n\t\tC 482.196,318.926, 472.742,322.1, 461.168,322.1z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, octacat, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 408.028,408.028\n\tc-19.759,19.758-42.756,35.266-68.354,46.093c-6.503,2.75-13.107,5.164-19.8,7.246L 319.874,423 c0-20.167-6.917-35-20.75-44.5\n\tc 8.667-0.833, 16.625-2, 23.875-3.5s 14.917-3.667, 23-6.5s 15.333-6.208, 21.75-10.125s 12.583-9, 18.5-15.25s 10.875-13.333, 14.875-21.25\n\ts 7.167-17.417, 9.5-28.5s 3.5-23.292, 3.5-36.625c0-25.833-8.417-47.833-25.25-66c 7.667-20, 6.833-41.75-2.5-65.25l-6.25-0.75\n\tc-4.333-0.5-12.125,1.333-23.375,5.5s-23.875,11-37.875,20.5c-19.833-5.5-40.417-8.25-61.75-8.25c-21.5,0-42,2.75-61.5,8.25\n\tc-8.833-6-17.208-10.958-25.125-14.875c-7.917-3.917-14.25-6.583-19-8s-9.167-2.292-13.25-2.625s-6.708-0.417-7.875-0.25\n\ts-2,0.333-2.5,0.5c-9.333,23.667-10.167,45.417-2.5,65.25c-16.833,18.167-25.25,40.167-25.25,66c0,13.333, 1.167,25.542, 3.5,36.625\n\ts 5.5,20.583, 9.5,28.5s 8.958,15, 14.875,21.25s 12.083,11.333, 18.5,15.25s 13.667,7.292, 21.75,10.125s 15.75,5, 23,6.5\n\ts 15.208,2.667, 23.875,3.5c-13.667,9.333-20.5,24.167-20.5,44.5l0,39.115 c-7.549-2.247-14.99-4.902-22.3-7.994\n\tc-25.597-10.827-48.594-26.335-68.353-46.093c-19.758-19.759-35.267-42.756-46.093-68.354C 46.679,313.195, 41,285.043, 41,256\n\ts 5.679-57.195, 16.879-83.675c 10.827-25.597, 26.335-48.594, 46.093-68.353s 42.756-35.267, 68.353-46.093\n\tC 198.805,46.679, 226.957,41, 256,41s 57.195,5.679, 83.675,16.879c 25.598,10.827, 48.595,26.335, 68.354,46.093\n\tc 19.758,19.758, 35.266,42.756, 46.093,68.353C 465.321,198.805, 471,226.957, 471,256s-5.679,57.195-16.879,83.675\n\tC 443.294,365.272, 427.786,388.27, 408.028,408.028z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, octacat, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,415.946c-9.577,0-19.154-4.958-29.071-14.875c-3.905-3.905-3.905-10.237,0-14.143c 3.905-3.904, 10.237-3.904, 14.143,0\n\t\tC 247.175,393.033, 252.058,396, 256,396c 3.941,0, 8.825-2.967, 14.929-9.071c 3.906-3.904, 10.236-3.904, 14.143,0\n\t\tc 3.905,3.905, 3.905,10.237,0,14.143C 275.154,410.988, 265.577,415.946, 256,415.946zM 0,262.746 C 0,287.692 2.133,310.307 6.4,330.587 C 10.667,350.867 16.667,368.457 24.4,383.353 C 32.133,398.249 41.911,411.305 53.733,422.523 C 65.555,433.741 78.399,442.983 92.266,450.252 C 106.133,457.52 121.999,463.4 139.866,467.885 C 157.732,472.372 175.91,475.513 194.399,477.308 C 212.888,479.103 233.244,480 255.466,480 C 277.688,480 298.087,479.105 316.665,477.31 C 335.243,475.515 353.466,472.374 371.331,467.887 C 389.198,463.4 405.11,457.522 419.065,450.254 C 433.020,442.985 445.954,433.741 457.864,422.525 C 469.776,411.307 479.599,398.251 487.331,383.355 C 495.066,368.458 501.111,350.868 505.466,330.589 C 509.821,310.309 511.999,287.695 511.999,262.749 C 511.999,218.059 498.131,179.563 470.399,147.258 C 471.999,142.95 473.376,138.015 474.532,132.451 C 475.686,126.887 476.798,119.035 477.864,108.895 C 478.933,98.754 478.532,87.043 476.665,73.763 C 474.798,60.481 471.288,46.931 466.132,33.112 L 462.132,32.303 C 459.466,31.765 455.111,31.944 449.066,32.843 C 443.023,33.74 435.955,35.354 427.867,37.688 C 419.779,40.020 409.334,44.642 396.533,51.552 C 383.734,58.461 370.223,67.211 356,77.8 C 331.822,70.441 298.49,62.742 256,62.742 C 213.512,62.742 180.089,70.44 155.735,77.799 C 141.512,67.209 127.957,58.505 115.068,51.685 C 102.178,44.864 91.867,40.198 84.134,37.686 C 76.4,35.174 69.245,33.558 62.667,32.841 C 56.089,32.123 51.866,31.898 50,32.168 C 48.134,32.437 46.756,32.751 45.867,33.11 C 40.71,46.93 37.155,60.48 35.199,73.762 C 33.244,87.042 32.799,98.708 33.866,108.758 C 34.933,118.809 36.088,126.707 37.333,132.449 C 38.578,138.192 40,143.128 41.6,147.256 C 13.867,179.381 0,217.877 0,262.746 Z M 68.268,319.702 C 68.268,290.691 78.934,264.383 100.268,240.774 C 106.668,233.571 114.091,228.118 122.535,224.418 C 130.98,220.717 140.579,218.615 151.335,218.115 C 162.091,217.615 172.357,217.715 182.135,218.415 C 191.913,219.116 204.002,220.066 218.402,221.266 C 232.801,222.468 245.246,223.067 255.735,223.067 C 266.223,223.067 278.669,222.467 293.067,221.266 C 307.47,220.066 319.558,219.116 329.335,218.415 C 339.115,217.715 349.38,217.615 360.136,218.115 C 370.892,218.616 380.537,220.717 389.070,224.418 C 397.603,228.118 405.070,233.571 411.47,240.774 C 432.802,264.383 443.47,290.691 443.47,319.702 C 443.47,336.708 441.693,351.864 438.136,365.169 C 434.581,378.475 430.091,389.627 424.669,398.63 C 419.247,407.634 411.645,415.239 401.87,421.44 C 392.091,427.643 382.624,432.445 373.47,435.845 C 364.314,439.245 352.491,441.897 338.003,443.798 C 323.512,445.696 310.536,446.849 299.067,447.248 C 287.6,447.648 273.157,447.848 255.735,447.848 C 238.313,447.848 223.913,447.647 212.535,447.248 C 201.157,446.849 188.224,445.696 173.735,443.798 C 159.246,441.897 147.424,439.246 138.268,435.845 C 129.113,432.444 119.646,427.643 109.868,421.44 C 100.090,415.238 92.49,407.634 87.068,398.63 C 81.645,389.627 77.156,378.475 73.601,365.169 C 70.046,351.864 68.268,336.708 68.268,319.702 ZM 128,304.002A32,48 2520 1 1 192,304.002A32,48 2520 1 1 128,304.002zM 320,304.002A32,48 2520 1 1 384,304.002A32,48 2520 1 1 320,304.002z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"github, octacat, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,278.205 C 0,301.404 2.17,322.395 6.511,341.172 C 10.85,359.949 16.859,376.264 24.537,390.118 C 32.215,403.972 41.979,416.157 53.83,426.672 C 65.68,437.188 78.533,445.784 92.386,452.46 C 106.239,459.135 122.054,464.559 139.83,468.733 C 157.606,472.906 175.758,475.827 194.285,477.497 C 212.812,479.166 233.175,480 255.374,480 C 277.74,480 298.188,479.166 316.714,477.497 C 335.241,475.827 353.435,472.905 371.294,468.733 C 389.153,464.561 405.050,459.137 418.988,452.46 C 432.926,445.783 445.861,437.188 457.796,426.672 C 469.731,416.157 479.579,403.97 487.339,390.118 C 495.099,376.266 501.15,359.95 505.49,341.172 C 509.83,322.394 512,301.404 512,278.205 C 512,236.811 498.146,201.008 470.441,170.797 C 471.943,166.791 473.32,162.243 474.572,157.152 C 475.824,152.061 476.992,144.801 478.077,135.37 C 479.162,125.939 478.745,115.049 476.825,102.697 C 474.906,90.345 471.359,77.744 466.183,64.891 L 462.428,64.14 C 459.757,63.64 455.375,63.765 449.283,64.516 C 443.191,65.267 436.097,66.769 428.002,69.023 C 419.907,71.276 409.475,75.616 396.706,82.042 C 383.937,88.468 370.459,96.521 356.271,106.202 C 331.903,99.526 298.437,96.187 255.875,96.187 C 213.479,96.187 180.097,99.526 155.728,106.202 C 141.54,96.521 127.978,88.468 115.043,82.042 C 102.108,75.616 91.801,71.276 84.123,69.023 C 76.446,66.769 69.268,65.309 62.592,64.641 C 55.915,63.973 51.7,63.765 49.948,64.015 C 48.196,64.265 46.818,64.558 45.817,64.891 C 40.643,77.744 37.096,90.344 35.177,102.697 C 33.258,115.049 32.84,125.94 33.925,135.37 C 35.010,144.8 36.179,152.061 37.43,157.152 C 38.682,162.243 40.059,166.791 41.561,170.797 C 13.854,201.008 0,236.81 0,278.205 Z M 62.842,341.047 C 62.842,317.012 73.775,294.979 95.64,274.95 C 102.149,268.94 109.744,264.393 118.423,261.304 C 127.102,258.216 136.908,256.464 147.841,256.046 C 158.774,255.629 169.247,255.712 179.262,256.297 C 189.276,256.881 201.628,257.674 216.316,258.675 C 231.004,259.677 243.69,260.177 254.372,260.177 C 265.055,260.177 277.74,259.677 292.428,258.675 C 307.117,257.674 319.467,256.881 329.483,256.297 C 339.498,255.712 349.97,255.629 360.904,256.046 C 371.837,256.464 381.642,258.216 390.323,261.304 C 399.001,264.392 406.595,268.939 413.105,274.95 C 434.97,294.647 445.904,316.678 445.904,341.047 C 445.904,355.403 444.109,368.128 440.52,379.229 C 436.931,390.329 432.341,399.634 426.749,407.144 C 421.157,414.654 413.397,421.039 403.465,426.297 C 393.534,431.555 383.854,435.602 374.423,438.441 C 364.992,441.278 352.89,443.49 338.119,445.076 C 323.346,446.662 310.161,447.622 298.56,447.955 C 286.96,448.289 272.23,448.456 254.371,448.456 C 236.512,448.456 221.782,448.289 210.182,447.955 C 198.582,447.622 185.395,446.662 170.624,445.076 C 155.853,443.49 143.752,441.278 134.321,438.441 C 124.891,435.602 115.21,431.554 105.279,426.297 C 95.348,421.040 87.586,414.656 81.995,407.144 C 76.404,399.633 71.813,390.329 68.225,379.229 C 64.636,368.128 62.842,355.401 62.842,341.047 ZM 320,336A32,48 2520 1 1 384,336A32,48 2520 1 1 320,336zM 128,336A32,48 2520 1 1 192,336A32,48 2520 1 1 128,336z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"steam, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 151.961,418.005 C 165.533,418.005 178.854,411.437 186.947,399.297 C 199.814,379.996 194.598,353.92 175.298,341.053 L 142.261,319.029 C 147.915,317.489 153.858,316.651 160,316.651 C 197.196,316.651 227.348,346.803 227.348,384 C 227.348,421.197 197.195,451.349 159.999,451.349 C 123.797,451.349 94.277,422.783 92.725,386.962 L 128.702,410.946 C 135.863,415.72 143.955,418.005 151.961,418.005 ZM 426.67,0 C 473.608,0 512,38.406 512,85.344 L 512,426.658 C 512,473.626 473.608,512 426.67,512 L 85.344,512 C 38.406,512 0,473.625 0,426.659 L 0,325.145 L 60.667,365.589 C 54.841,397.176 64.136,431.004 88.566,455.434 C 128.018,494.886 191.981,494.886 231.434,455.434 C 255.668,431.201 265.009,397.719 259.472,366.351 L 384.001,254.858 L 384,254.857 C 407.124,251.538 429.408,240.985 447.197,223.196 C 490.935,179.458 490.935,108.543 447.197,64.804 C 403.457,21.065 332.543,21.065 288.804,64.804 C 271.015,82.593 260.462,104.877 257.143,128 L 257.143,128 L 154.796,283.115 C 138.872,283.931 123.107,288.497 108.933,296.811 L 0,224.189 L 0,85.344 C 0,38.406 38.405,0 85.343,0 L 426.67,0 ZM 448,144c0-44.183-35.817-80-80-80s-80,35.817-80,80s 35.817,80, 80,80S 448,188.183, 448,144z M 320,144\n\t\tc0-26.51, 21.49-48, 48-48s 48,21.49, 48,48s-21.49,48-48,48S 320,170.51, 320,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"steam, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,144A48,48 1080 1 1 448,144A48,48 1080 1 1 352,144zM 479.196,64.804c-43.739-43.738-114.653-43.738-158.393,0c-17.789,17.789-28.342,40.073-31.661,63.196l0,0 L 186.795,283.114\n\t\tc-13.753,0.705-27.388,4.208-39.983,10.508L 67.866,231.91c-18.275-14.287-44.671-11.051-58.956,7.224\n\t\tc-14.286,18.275-11.051,44.671, 7.224,58.956l 77.967,60.946c-8.48,33.391, 0.336,70.269, 26.465,96.397\n\t\tc 39.453,39.452, 103.416,39.452, 142.868,0c 24.233-24.233, 33.575-57.714, 28.038-89.083L 416,254.858l-0.001-0.001\n\t\tc 23.124-3.319, 45.408-13.872, 63.197-31.661C 522.935,179.458, 522.935,108.543, 479.196,64.804z M 192,451.349\n\t\tc-37.195,0-67.349-30.152-67.349-67.349c0-0.356, 0.021-0.707, 0.027-1.062l 33.456,26.152c 7.68,6.003, 16.791,8.912, 25.837,8.912\n\t\tc 12.481,0, 24.836-5.54, 33.119-16.136c 14.286-18.275, 11.051-44.671-7.224-58.956l-31.75-24.818c 4.481-0.939, 9.124-1.44, 13.884-1.44\n\t\tc 37.196,0, 67.349,30.152, 67.349,67.349S 229.196,451.349, 192,451.349z M 400,224c-44.183,0-80-35.817-80-80s 35.817-80, 80-80\n\t\ts 80,35.817, 80,80S 444.183,224, 400,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"deviantart, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 480,384L 288,384 \n\t\tL 288,266 c0,0, 35.167,0.5, 54,20l0,34 l 77.205,0 c-5.91-18.941-18.534-37.556-36.564-53.332C 351.651,239.553, 301.044,226, 256,226l0,158 L 32,384 l0-48 \n\t\tc0-21.698, 7.325-43.269, 21.182-62.38c 12.297-16.959, 29.432-31.916, 50.93-44.457c 25.216-14.709, 55.281-25.354, 87.888-31.389L 192,128 l 64,0 \n\t\tl0,64 c 73.5,0, 110.806,13.198, 151.889,37.163c 21.498,12.541, 38.633,27.498, 50.93,44.457C 472.676,292.731, 480,314.302, 480,336L 480,384 zM 99.795,320 C 105.705,301.059 118.33,282.444 136.359,266.668 C 152.129,252.87 171.169,242.074 192,234.79 L 192,320 L 99.795,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"deviantart, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 280.928,203.5c-19.521-1.141-42.041,0.024-68.125,4.475l 60.167,108.444L 512,250.786\n\tc-2.577-6.13-6.343-12.113-11.331-17.899c-24.737-28.639-78.37-54.187-136.802-65.709l 0.001-0.013\n\tc-57.322-13.437-119.401-12.872-182.98-3.274c-2.292,0.344-4.572,0.711-6.84,1.092l-21.136-39.146\n\tc-20.571,2.746-39.904,7.025-57.803,12.737l 20.13,42.099c-32.88,12.738-59.861,30.88-79.329,52.716\n\tC 3.804,269.921-8.885,315.843, 6.537,360.565c 3.102,9.021, 7.294,17.58, 12.468,25.598l 239.034-65.649l-66.375-122.924\n\tc 2.279-0.44, 4.598-0.884, 6.964-1.312c 107.341-19.149, 166.051,10.432, 198.208,41.915l-81.779,19.824L 280.928,203.5z M 87.361,313.195\n\tc-7.379-33.676-1.506-71.263, 45.202-96.297l 36.569,76.474L 87.361,313.195z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forrst, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 288,288L 288,416L 224,416zM 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 288,416l0,64 \n\t\tl-64,0 l0-64 L 96,416 L 256,64l 160,352L 288,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forrst, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,448 L 0,448 L 224,0 L 448,448 L 256,448 L 256,384 L 320,384 L 320,352 L 256,352 L 256,288 L 192,288 ZM 192,448L 256,448L 256,512L 192,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 382.833,113.173 C 379.392,118.075 350.59,156.788 282.555,182.287 C 251.203,124.684 216.452,77.362 211.164,70.281 C 225.552,66.813 240.563,64.961 256.001,64.961 C 304.616,64.961 349.045,83.196 382.833,113.173 ZM 269.376,257.962 C 170.7,289.86 118.19,376.801 113.855,384.223 C 83.297,350.302 64.668,305.435 64.668,256.294 C 64.668,254.336 64.707,252.389 64.766,250.446 C 73.138,250.617 165.856,251.812 261.405,223.217 C 266.881,233.937 272.113,244.818 276.917,255.687 C 274.385,256.4 271.871,257.157 269.376,257.962 ZM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256.001,480\n\t\tC 132.486,480, 32,379.515, 32,256C 32,132.486, 132.486,32, 256.001,32C 379.517,32, 480,132.486, 480,256\n\t\tC 480,379.515, 379.517,480, 256.001,480zM 309.959,238.451 C 305.986,229.121 301.718,219.852 297.265,210.737 C 368.007,181.856 400.070,140.755 404.103,135.298 C 430.749,167.856 446.886,209.324 447.309,254.484 C 441,253.15 377.744,240.32 314.080,248.326 C 312.739,245.050 311.367,241.759 309.959,238.451 ZM 245.594,193.794 C 156.096,217.56 77.269,217.218 68.711,217.105 C 81.118,157.734 121.129,108.389 174.657,83.142 C 179.701,90.059 213.893,137.439 245.594,193.794 ZM 288.66,287.75 C 289.080,287.604 289.5,287.468 289.921,287.324 C 316.783,357.127 327.892,415.63 330.739,432.417 C 307.766,442.201 282.506,447.622 256.001,447.622 C 211.769,447.622 171,432.53 138.56,407.232 C 142.003,400.193 180.742,325.355 288.66,287.75 ZM 325.732,278.482 C 385.69,268.886 438.365,284.598 444.912,286.662 C 436.382,339.899 405.826,385.876 362.902,414.898 C 360.941,403.26 350.758,347.251 325.732,278.482 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 269.376,257.962 C 170.7,289.86 118.19,376.801 113.855,384.223 C 83.297,350.302 64.668,305.435 64.668,256.294 C 64.668,254.336 64.707,252.389 64.766,250.446 C 73.138,250.617 165.856,251.812 261.405,223.217 C 266.881,233.937 272.113,244.818 276.917,255.687 C 274.385,256.4 271.871,257.157 269.376,257.962 ZM 382.833,113.173 C 379.392,118.075 350.59,156.788 282.555,182.287 C 251.203,124.684 216.452,77.362 211.164,70.281 C 225.552,66.813 240.563,64.961 256.001,64.961 C 304.616,64.961 349.045,83.196 382.833,113.173 ZM 245.594,193.794 C 156.096,217.56 77.269,217.218 68.711,217.105 C 81.118,157.734 121.129,108.389 174.657,83.142 C 179.701,90.059 213.893,137.439 245.594,193.794 ZM 288.66,287.75 C 289.080,287.604 289.5,287.468 289.921,287.324 C 316.783,357.127 327.892,415.63 330.739,432.417 C 307.766,442.201 282.506,447.622 256.001,447.622 C 211.769,447.622 171,432.53 138.56,407.232 C 142.003,400.193 180.742,325.355 288.66,287.75 ZM 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z M 256.001,480\n\t\tC 132.486,480, 32,379.515, 32,256C 32,132.486, 132.486,32, 256.001,32C 379.517,32, 480,132.486, 480,256\n\t\tC 480,379.515, 379.517,480, 256.001,480zM 325.732,278.482 C 385.69,268.886 438.365,284.598 444.912,286.662 C 436.382,339.899 405.826,385.876 362.902,414.898 C 360.941,403.26 350.758,347.251 325.732,278.482 ZM 297.266,210.738 C 368.008,181.856 400.070,140.756 404.103,135.298 C 430.749,167.856 446.886,209.324 447.309,254.484 C 441,253.15 377.744,240.32 314.080,248.326 C 312.739,245.050 311.367,241.759 309.959,238.451 C 305.987,229.121 301.718,219.852 297.266,210.738 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dribbble, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,512C 114.841,512,0,397.159,0,256S 114.841,0, 256.001,0\n\tC 397.162,0, 512,114.841, 512,256S 397.162,512, 256.001,512z M 471.899,291.043c-7.481-2.36-67.682-20.316-136.205-9.349\n\tc 28.602,78.593, 40.239,142.604, 42.479,155.904C 427.23,404.43, 462.152,351.885, 471.899,291.043z M 341.416,457.619\n\tc-3.253-19.185-15.949-86.045-46.649-165.82c-0.48,0.164-0.961,0.32-1.44,0.486c-123.335,42.979-167.608,128.508-171.543,136.552\n\tc 37.075,28.912, 83.668,46.16, 134.218,46.16C 286.292,474.997, 315.161,468.802, 341.416,457.619z M 93.549,402.539\n\tc 4.954-8.48, 64.965-107.842, 177.738-144.297c 2.852-0.92, 5.724-1.785, 8.618-2.6c-5.49-12.422-11.47-24.857-17.728-37.108\n\tc-109.199,32.68-215.162,31.315-224.73,31.118c-0.066,2.221-0.111,4.445-0.111,6.683C 37.336,312.495, 58.626,363.772, 93.549,402.539z\n\t M 41.956,211.548c 9.779,0.13, 99.868,0.521, 202.151-26.641c-36.23-64.406-75.306-118.555-81.071-126.46\n\tC 101.862,87.301, 56.135,143.695, 41.956,211.548z M 204.759,43.75c 6.044,8.092, 45.759,62.174, 81.59,128.007\n\tc 77.754-29.142, 110.67-73.385, 114.604-78.987c-38.615-34.259-89.391-55.1-144.951-55.1C 238.357,37.67, 221.202,39.786, 204.759,43.75z\n\t M 425.261,118.056c-4.608,6.237-41.252,53.209-122.101,86.217c 5.089,10.416, 9.967,21.009, 14.508,31.672\n\tc 1.608,3.78, 3.177,7.542, 4.709,11.285c 72.759-9.149, 145.052,5.514, 152.263,7.039C 474.156,202.657, 455.715,155.264, 425.261,118.056z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"picassa, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.688,0L 85.344,0 C 38.406,0,0,38.406,0,85.341l0,341.313 C0,473.625, 38.406,512, 85.344,512l 341.34,0 \n\tC 473.622,512, 512,473.623, 512,426.652L 512,85.341 C 512,38.406, 473.622,0, 426.688,0z M 256,32c 34.357,0, 66.902,7.745, 96,21.569L 352,197.13 \n\tL 195.221,40.351C 214.549,34.914, 234.934,32, 256,32z M 32,256c0-87.944, 50.688-164.037, 124.437-200.693L 213.13,112L 34.643,290.487\n\tC 32.906,279.245, 32,267.729, 32,256z M 128,439.831c-37.342-26.049-66.382-63.174-82.336-106.625L 128,250.87L 128,439.831 z M 256,480\n\tc-34.357,0-66.902-7.745-96-21.569L 160,384 l 279.831,0 C 399.353,442.026, 332.116,480, 256,480z M 458.431,352L 384,352 L 384,72.168 \n\tc 58.026,40.479, 96,107.715, 96,183.832C 480,290.357, 472.255,322.902, 458.431,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"picassa, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,197.13 L 169.772,14.902 C 196.717,5.264 225.742,0 256,0 C 289.952,0 322.352,6.625 352,18.628 L 352,197.13 ZM 384,352 L 384,34.257 C 460.517,78.521 512,161.246 512,256 C 512,289.952 505.375,322.352 493.372,352 L 384,352 ZM 160,384 L 477.743,384 C 433.479,460.517 350.754,512 256,512 C 222.048,512 189.648,505.375 160,493.372 L 160,384 ZM 213.13,112 L 7.489,317.641 C 2.607,297.896 0,277.254 0,256 C 0,159.309 53.613,75.149 132.726,31.596 L 213.13,112 ZM 128,250.87 L 128,477.743 C 80.702,450.382 42.982,408.319 21.063,357.807 L 128,250.87 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,115.398,0,257.75S 114.615,515.5, 256,515.5s 256-115.398, 256-257.75S 397.385,0, 256,0z M 144,336\n\tc-44.183,0-80-35.817-80-80c0-44.183, 35.817-80, 80-80s 80,35.817, 80,80C 224,300.183, 188.183,336, 144,336z M 368,336\n\tc-44.184,0-80-35.817-80-80c0-44.183, 35.816-80, 80-80s 80,35.817, 80,80C 448,300.183, 412.184,336, 368,336z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.688,0L 85.344,0 C 38.406,0,0,38.406,0,85.341l0,341.313 C0,473.625, 38.406,512, 85.344,512l 341.341,0 \n\tC 473.622,512, 512,473.623, 512,426.652L 512,85.341 C 512,38.406, 473.622,0, 426.688,0z M 144,336c-44.183,0-80-35.817-80-80\n\tc0-44.183, 35.817-80, 80-80s 80,35.817, 80,80C 224,300.183, 188.183,336, 144,336z M 368,336c-44.184,0-80-35.817-80-80\n\tc0-44.183, 35.816-80, 80-80s 80,35.817, 80,80C 448,300.183, 412.184,336, 368,336z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,208 C 364.71,208 336,236.71 336,272 C 336,307.29 364.71,336 400,336 C 435.29,336 464,307.29 464,272 C 464,236.71 435.29,208 400,208 Z M 400,160 L 400,160 C 461.855,160 512,210.144 512,272 C 512,333.855 461.855,384 400,384 C 338.145,384 288,333.855 288,272 C 288,210.144 338.145,160 400,160 ZM0,272A112,112 1080 1 1 224,272A112,112 1080 1 1 0,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flickr, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,272A112,112 1080 1 1 224,272A112,112 1080 1 1 0,272zM 288,272A112,112 1080 1 1 512,272A112,112 1080 1 1 288,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lanyrd\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426,0L 86,0 C 38.7,0,0,38.7,0,86l0,340 c0,47.3, 38.7,86, 86,86l 340,0 c 47.3,0, 86-38.7, 86-86L 512,86 C 512,38.7, 473.3,0, 426,0z\n\t M 421.834,403.833c-56.666,18.667-167.333,55-188,60.167s-42,13.834-54-20.833c0,0-102-301.333-111.333-328S 50.077,72.424, 71.167,64\n\tc 48.688-19.447, 99.333-44.25, 108.667-16c 8.351,25.273, 97.333,304, 97.333,304s 104.666-36.834, 133.333-44.834s 38.501-13.334, 46,26\n\tS 478.5,385.166, 421.834,403.833z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vimeo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 406.434,219.063\n\tc-16.979,95.648-111.854,176.648-140.39,195.155c-28.544,18.503-54.577-7.411-64.019-26.997\n\tc-10.808-22.354-43.205-143.47-51.684-153.51c-8.482-10.019-33.938,10.040-33.938,10.040l-12.346-16.188\n\tc0,0, 51.691-61.724, 91.020-69.439c 41.702-8.183, 41.64,64.033, 51.67,104.121c 9.7,38.782, 16.22,60.976, 24.688,60.976\n\tc 8.485,0, 24.691-21.631, 42.426-54.785c 17.768-33.188-0.769-62.505-35.486-41.646C 292.268,143.464, 423.406,123.43, 406.434,219.063z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vimeo2\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.655,0L 85.345,0 C 38.406,0,0,38.408,0,85.346l0,341.31 C0,473.625, 38.406,512, 85.345,512l 341.31,0 \n\tC 473.594,512, 512,473.625, 512,426.655L 512,85.346 C 512,38.408, 473.594,0, 426.655,0z M 406.434,219.063\n\tc-16.979,95.648-111.854,176.648-140.39,195.155c-28.544,18.503-54.577-7.411-64.019-26.997\n\tc-10.808-22.354-43.205-143.47-51.684-153.51c-8.482-10.019-33.938,10.040-33.938,10.040l-12.346-16.188\n\tc0,0, 51.691-61.724, 91.020-69.439c 41.702-8.183, 41.64,64.033, 51.67,104.121c 9.7,38.782, 16.22,60.976, 24.688,60.976\n\tc 8.485,0, 24.691-21.631, 42.426-54.785c 17.768-33.188-0.769-62.505-35.486-41.646C 292.268,143.464, 423.406,123.43, 406.434,219.063z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vimeo, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,154.185l 20.797,27.272c0,0, 42.885-33.804, 57.18-16.901c 14.294,16.901, 68.868,220.978, 87.085,258.623\n\tc 15.9,33.015, 59.759,76.66, 107.857,45.491c 48.068-31.17, 207.92-167.643, 236.533-328.808\n\tc 28.59-161.113-192.36-127.363-215.765,13.005c 58.495-35.118, 89.718,14.269, 59.785,70.186\n\tc-29.879,55.862-57.18,92.296-71.476,92.296c-14.269,0-25.245-37.384-41.594-102.723c-16.899-67.551-16.796-189.23-87.058-175.435\n\tC 87.085,50.197,0,154.185,0,154.185z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"youtube, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,64L 96,64 c-52.8,0-96,43.2-96,96l0,192 c0,52.8, 43.2,96, 96,96l 320,0 c 52.8,0, 96-43.2, 96-96L 512,160 C 512,107.2, 468.8,64, 416,64z\n\t\t M 480,352c0,16.989-6.687,33.031-18.827,45.173C 449.031,409.313, 432.99,416, 416,416L 96,416 c-16.989,0-33.031-6.687-45.172-18.827\n\t\tC 38.687,385.031, 32,368.989, 32,352L 32,160 c0-16.989, 6.687-33.031, 18.828-45.172S 79.011,96, 96,96l 320,0 \n\t\tc 16.989,0, 33.031,6.687, 45.173,18.828C 473.314,126.969, 480,143.011, 480,160L 480,352 zM 192,384L 352,256L 192,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"youtube, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,64L 96,64 c-52.8,0-96,43.2-96,96l0,192 c0,52.8, 43.2,96, 96,96l 320,0 c 52.8,0, 96-43.2, 96-96L 512,160 C 512,107.2, 468.8,64, 416,64z\n\t M 192,384L 192,128 l 160,128L 192,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, rss, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,384\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 177.673,384, 160,384z M 248,384c0-66.168-53.832-120-120-120l0-48 \n\tc 92.636,0, 168,75.364, 168,168L 248,384 z M 344,384c0-57.695-22.468-111.938-63.265-152.735C 239.938,190.468, 185.696,168, 128,168l0-48 \n\tc 70.517,0, 136.813,27.461, 186.677,77.324C 364.539,247.187, 392,313.483, 392,384L 344,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, rss, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.67,0L 85.343,0 C 38.405,0,0,38.406,0,85.344l0,341.314 C0,473.625, 38.406,512, 85.344,512L 426.67,512 \n\tc 46.938,0, 85.33-38.374, 85.33-85.342L 512,85.344 C 512,38.406, 473.608,0, 426.67,0z M 139.472,415.624C 115.487,415.624, 96,396.278, 96,372.31\n\tc0-23.842, 19.486-43.406, 43.472-43.406c 24.079,0, 43.53,19.564, 43.53,43.406C 183.001,396.278, 163.55,415.624, 139.472,415.624z\n\t M 248.734,415.998c0-40.905-15.904-79.409-44.73-108.222c-28.857-28.875-67.188-44.813-107.952-44.813L 96.052,200.37 \n\tc 118.826,0, 215.563,96.721, 215.563,215.627L 248.734,415.998L 248.734,415.998z M 359.814,415.998\n\tc0-145.531-118.329-263.97-263.688-263.97L 96.126,89.404 c 180.001,0, 326.473,146.562, 326.473,326.596L 359.814,415.998L 359.814,415.998z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, rss, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 68.147,375.465c-37.598,0-68.146,30.667-68.146,68.038c0,37.577, 30.55,67.901, 68.146,67.901\n\t\tc 37.733,0, 68.247-30.324, 68.247-67.901C 136.393,406.132, 105.882,375.465, 68.147,375.465zM 0.078,173.965l0,98.129 c 63.892,0, 123.979,24.986, 169.229,70.256c 45.192,45.159, 70.141,105.518, 70.141,169.65l 98.561,0 \n\t\tC 338.008,325.59, 186.368,173.965, 0.078,173.965zM 0.194,0l0,98.178 c 227.891,0, 413.378,185.667, 413.378,413.822L 512,512 C 512,229.765, 282.373,0, 0.194,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"twitter, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 403.121,180.544\n\tc 0.146,3.254, 0.221,6.528, 0.221,9.819c0,100.311-76.354,215.982-215.979,215.982c-42.868,0-82.768-12.568-116.363-34.107\n\tc 5.938,0.704, 11.981,1.063, 18.108,1.063c 35.565,0, 68.295-12.138, 94.275-32.497c-33.217-0.61-61.25-22.561-70.912-52.716\n\tc 4.637,0.884, 9.392,1.361, 14.283,1.361c 6.923,0, 13.629-0.928, 19.999-2.662c-34.726-6.976-60.893-37.656-60.893-74.434\n\tc0-0.32,0-0.639, 0.008-0.955c 10.235,5.685, 21.939,9.1, 34.382,9.494c-20.37-13.611-33.77-36.846-33.77-63.184\n\tc0-13.911, 3.744-26.952, 10.278-38.162c 37.439,45.927, 93.374,76.146, 156.462,79.314c-1.294-5.559-1.965-11.351-1.965-17.302\n\tc0-41.92, 33.99-75.906, 75.909-75.906c 21.833,0, 41.562,9.218, 55.409,23.97c 17.29-3.404, 33.537-9.721, 48.206-18.42\n\tc-5.668,17.727-17.705,32.603-33.376,41.997c 15.355-1.834, 29.984-5.916, 43.597-11.952\n\tC 430.825,156.471, 417.955,169.84, 403.121,180.544z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"twitter, tweet, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 419.026,170.917\n\tc 0.164,3.671, 0.245,7.364, 0.245,11.074c0,113.107-84.608,243.534-239.329,243.534c-47.502,0-91.717-14.174-128.943-38.459\n\tc 6.58,0.794, 13.276,1.197, 20.065,1.197c 39.411,0, 75.679-13.685, 104.467-36.641c-36.808-0.69-67.872-25.438-78.577-59.441\n\tc 5.137,1, 10.406,1.537, 15.826,1.537c 7.672,0, 15.103-1.048, 22.16-3.004c-38.48-7.866-67.475-42.458-67.475-83.928\n\tc0-0.361,0-0.719, 0.008-1.076c 11.34,6.41, 24.312,10.26, 38.1,10.705c-22.571-15.349-37.421-41.546-37.421-71.244\n\tc0-15.685, 4.147-30.389, 11.389-43.029c 41.487,51.785, 103.468,85.86, 173.377,89.431c-1.435-6.266-2.179-12.798-2.179-19.507\n\tc0-47.269, 37.663-85.59, 84.115-85.59c 24.195,0, 46.059,10.393, 61.401,27.029c 19.16-3.838, 37.162-10.96, 53.416-20.771\n\tc-6.281,19.988-19.617,36.761-36.983,47.355c 17.013-2.069, 33.226-6.67, 48.31-13.477C 449.725,143.774, 435.463,158.85, 419.026,170.917\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"twitter, tweet, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,97.209c-18.838,8.354-39.082,14.001-60.33,16.54c 21.686-13, 38.343-33.585, 46.186-58.115\n\tc-20.298,12.039-42.778,20.78-66.705,25.49c-19.16-20.415-46.461-33.17-76.673-33.17c-58.011,0-105.044,47.029-105.044,105.039\n\tc0,8.233, 0.929,16.25, 2.72,23.939c-87.3-4.382-164.701-46.2-216.509-109.753c-9.042,15.514-14.223,33.558-14.223,52.809\n\tc0,36.444, 18.544,68.596, 46.73,87.433c-17.219-0.546-33.416-5.271-47.577-13.139c-0.010,0.438-0.010,0.878-0.010,1.321\n\tc0,50.894, 36.209,93.348, 84.261,103c-8.813,2.4-18.094,3.686-27.674,3.686c-6.769,0-13.349-0.66-19.764-1.886\n\tc 13.368,41.73, 52.16,72.103, 98.126,72.948c-35.95,28.175-81.243,44.967-130.458,44.967c-8.479,0-16.84-0.497-25.058-1.47\n\tc 46.486,29.805, 101.701,47.197, 161.021,47.197c 193.211,0, 298.868-160.062, 298.868-298.872c0-4.554-0.103-9.084-0.305-13.59\n\tC 480.11,136.773, 497.918,118.273, 512,97.209z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"instagram, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 427,0L 85,0 C 38.25,0,0,38.25,0,85l0,342 c0,46.75, 38.25,85, 85,85l 342,0 c 46.75,0, 85-38.25, 85-85L 512,85 C 512,38.25, 473.75,0, 427,0z\n\t M 163.9,224l 184.2,0 c 3.494,10.029, 5.4,20.795, 5.4,32c0,53.762-43.738,97.5-97.5,97.5c-53.762,0-97.5-43.738-97.5-97.5\n\tC 158.5,244.795, 160.406,234.029, 163.9,224z M 448,224.025L 448,352 l0,64 c0,17.6-14.4,32-32,32L 96,448 c-17.6,0-32-14.4-32-32l0-64 L 64,224.025 L 64,224 \n\tl 50.054,0 c-2.321,10.301-3.554,21.008-3.554,32c0,80.229, 65.271,145.5, 145.5,145.5c 80.229,0, 145.5-65.271, 145.5-145.5\n\tc0-10.992-1.232-21.699-3.554-32L 448,224 L 448,224.025 z M 448,112c0,8.8-7.2,16-16,16l-32,0 c-8.8,0-16-7.2-16-16L 384,80 c0-8.8, 7.2-16, 16-16l 32,0 \n\tc 8.8,0, 16,7.2, 16,16L 448,112 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 397.385,0 512,114.615 512,256 C 512,386.547 414.281,494.265 288,510.013 L 288,320 L 376,320 L 384,256 L 288,256 L 288,224 C 288,206.327 302.327,192 320,192 L 384,192 L 384,128 L 320,128 C 266.98,128 224,170.98 224,224 L 224,256 L 176,256 L 176,320 L 224,320 L 224,446.5 L 224,503.935 L 224,510.013 C 97.719,494.265 0,386.547 0,256 C 0,114.615 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 C 512,21.6, 490.4,0, 464,0z M 472,408L 352,408 \n\tl0,16 l 120,0 l0,16 L 352,440 l0,16 l 120,0 l0,16 L 352,472 l0,8 l-96,0 l0-8 L 40,472 l0-16 l 216,0 l0-16 L 40,440 l0-16 l 216,0 l0-16 L 40,408 l0-16 l 216,0 L 256,256 l-46.263,0 l0-73.282 L 256,182.718 l0-47.593 \n\tC 256,70.454, 283.896,32, 359.935,32l 87.622,0 l0,79.285 l-71.565,0 c-21.241-0.035-23.876,11.076-23.876,31.756L 352,182.718l 96,0 L 435.296,256\n\tL 352,256 l0,136 l 120,0 L 472,408 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.672,0L 85.342,0 C 38.406,0,0,38.407,0,85.344l0,341.313 C0,473.626, 38.406,512, 85.342,512l 341.33-0.001\n\tc 46.938,0, 85.328-38.373, 85.328-85.344L 512,85.344 C 512,38.407, 473.609,0, 426.672,0z M 435.296,256L 352,256 l0,224 l-96,0 L 256,256 l-46.263,0 l0-73.282 L 256,182.718 \n\tl0-47.593 C 256,70.454, 283.896,32, 359.935,32l 87.622,0 l0,79.285 l-71.565,0 c-21.241-0.035-23.876,11.076-23.876,31.756L 352,182.718l 96,0 \n\tL 435.296,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"facebook, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 287.935,512L 192,512 L 192,256 l-64,0 l0-88.225 l 64-0.029l-0.104-51.976C 191.896,43.794, 211.413,0, 296.195,0l 70.588,0 l0,88.242 l-44.115,0 \n\tc-33.016,0-34.603,12.328-34.603,35.342l-0.131,44.162l 79.345,0 l-9.352,88.225L 288,256L 287.935,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google-drive, drive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 229.665,329.916L 144.338,477.75L 426.665,477.75L 512,329.916 \tzM 487.806,288L 341.339,34.25L 170.665,34.25L 317.143,288 \tzM 146.418,76.257L0,329.916L 85.338,477.75L 231.754,224.088 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218.503,409.081 C 218.503,446.615 195.308,476.277 129.624,478.669 C 91.132,456.776 58.879,425.193 36.17,387.236 C 48.015,357.988 85.016,335.713 127.328,336.179 C 139.339,336.305 150.533,338.236 160.7,341.529 C 188.654,360.962 211.2,373.105 216.862,395.253 C 217.919,399.735 218.503,404.356 218.503,409.081 ZM 256,0C 182.030,0, 115.402,31.385, 68.667,81.549c 18.467-10.226, 40.269-16.319, 63.451-16.319c 33.534,0, 128.219,0, 128.219,0\n\t\tL 231.685,95.3L 198.030,95.3 c 23.748,13.606, 36.376,41.624, 36.376,72.506c0,28.346-15.708,51.19-37.89,68.529\n\t\tc-21.64,16.901-25.746,23.983-25.746,38.367c0,12.271, 25.861,30.549, 37.75,39.468c 41.409,31.056, 49.789,50.592, 49.789,89.435\n\t\tc0,39.363-34.468,78.552-92.933,91.871C 193.55,506.145, 224.089,512, 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z\n\t\t M 384,192l0,64 l-32,0 l0-64 l-64,0 l0-32 l 64,0 L 352,96 l 32,0 l0,64 l 64,0 l0,32 L 384,192 zM 182.884,169.736 C 188.845,215.124 168.961,244.331 134.417,243.303 C 99.854,242.262 67.014,210.557 61.047,165.182 C 55.083,119.788 78.256,85.055 112.812,86.084 C 147.357,87.121 176.922,124.355 182.884,169.736 ZM 110.443,321.034 C 73.103,321.034 41.379,333.918 19.022,352.966 C 6.771,323.056 0,290.321 0,256 C 0,227.617 4.628,200.316 13.156,174.802 C 16.843,224.523 51.832,262.898 109.641,262.898 C 113.898,262.898 118.023,262.677 122.078,262.387 C 118.103,270.002 115.267,278.482 115.267,287.378 C 115.267,302.363 123.511,310.913 133.701,320.825 C 126,320.825 118.566,321.034 110.443,321.034 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.403,434.832c-0.122-1.266-0.226-2.535-0.292-3.815C 0.176,432.297, 0.281,433.566, 0.403,434.832zM 117.954,282.574c 46.005,1.369, 76.867-46.349, 68.931-106.599c-7.947-60.24-51.698-108.584-97.704-109.961\n\t\tc-46.013-1.365-76.87,44.741-68.926,105C 28.196,231.248, 71.931,281.201, 117.954,282.574zM 512,128L 512,85.345 C 512,38.405, 473.609,0, 426.671,0L 85.343,0 C 39.205,0, 1.337,37.116, 0.061,82.963\n\t\tc 29.181-25.693, 69.662-47.158, 111.437-47.158c 44.652,0, 178.622,0, 178.622,0l-39.974,33.809l-56.634,0 \n\t\tc 37.565,14.402, 57.578,58.062, 57.578,102.861c0,37.624-20.905,69.977-50.444,92.984c-28.822,22.451-34.286,31.854-34.286,50.939\n\t\tc0,16.289, 30.873,44, 47.016,55.394c 47.191,33.269, 62.458,64.156, 62.458,115.728c0,8.214-1.021,16.415-3.033,24.48l 153.871,0 \n\t\tC 473.609,512, 512,473.625, 512,426.655L 512,160.001 l-96,0 L 416,256 l-32,0 l0-96 l-95.999,0 l0-32 L 384,128 L 384,32 l 32,0 l0,96 L 512,128 zM 92.943,382.968c 10.807,0, 20.711-0.295, 30.968-0.295c-13.573-13.167-24.313-29.3-24.313-49.19\n\t\tc0-11.804, 3.782-23.168, 9.067-33.26c-5.391,0.385-10.895,0.497-16.563,0.497c-37.178,0-68.753-12.038-92.102-31.927l0,33.621 \n\t\tl 0.003,100.865C 26.723,390.592, 58.447,382.968, 92.943,382.968zM 1.71,443.629c-0.556-2.729-0.983-5.503-1.271-8.317C 0.726,438.126, 1.154,440.9, 1.71,443.629zM 227.725,476.423c-7.529-29.403-34.227-43.982-71.444-69.784c-13.536-4.366-28.447-6.937-44.447-7.104\n\t\tc-44.809-0.482-86.554,17.471-110.108,44.186C 9.686,482.574, 44.243,512, 85.343,512l 143.222,0 c 0.908-5.564, 1.348-11.316, 1.348-17.216\n\t\tC 229.913,488.517, 229.146,482.388, 227.725,476.423z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.756,0L 84.621,0 C 37.571,0,0,38.893,0,85.939l0,340.176 C0,474.326, 37.571,512, 84.621,512l 342.134,0 \n\tC 473.803,512, 512,474.326, 512,426.115L 512,85.939 C 512,38.893, 473.803,0, 426.756,0z M 352,16l0,80 l-80,0 L 272,16 L 352,16 z M 240,16l0,80 l-80,0 L 160,16 L 240,16 z\n\t M 16,96L 16,85.939 C 16,47.375, 46.783,16, 84.621,16L 128,16 l0,80 L 16,96 z M 384,320l-96,0 l0,96 l-64,0 l0-96 l-96,0 l0-64 l 96,0 l0-96 l 64,0 l0,96 l 96,0 L 384,320 z M 496,96L 384,96 L 384,16 \n\tl 42.756,0 C 464.938,16, 496,47.375, 496,85.939L 496,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google plus, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 279.533,32c0,0-100.478,0-133.97,0C 85.503,32, 28.978,77.503, 28.978,130.211c0,53.863, 40.941,97.333, 102.044,97.333\n\t\tc 4.249,0, 8.378-0.085, 12.421-0.376c-3.965,7.593-6.801,16.144-6.801,25.021c0,14.969, 8.052,27.105, 18.234,37.012\n\t\tc-7.693,0-15.121,0.224-23.226,0.224C 57.259,289.424,0,336.804,0,385.935c0,48.389, 62.771,78.657, 137.167,78.657\n\t\tc 84.812,0, 131.653-48.122, 131.653-96.514c0-38.8-11.448-62.036-46.843-87.067c-12.108-8.572-35.265-29.418-35.265-41.672\n\t\tc0-14.36, 4.098-21.434, 25.714-38.323c 22.156-17.312, 37.836-41.651, 37.836-69.958c0-33.703-15.010-66.549-43.186-77.386l 42.477,0 \n\t\tL 279.533,32z M 232.74,359.729c 1.063,4.486, 1.642,9.103, 1.642,13.814c0,39.1-25.196,69.655-97.487,69.655\n\t\tc-51.421,0-88.558-32.552-88.558-71.65c0-38.321, 46.063-70.222, 97.482-69.666c 12,0.127, 23.184,2.058, 33.335,5.345\n\t\tC 207.067,326.64, 227.092,337.608, 232.74,359.729z M 150.409,213.888c-34.519-1.032-67.318-38.613-73.276-83.93\n\t\tc-5.958-45.333, 17.185-80.021, 51.694-78.995c 34.505,1.037, 67.319,37.407, 73.279,82.729\n\t\tC 208.059,179.022, 184.911,214.921, 150.409,213.888zM 416,128L 416,32L 384,32L 384,128L 288,128L 288,160L 384,160L 384,256L 416,256L 416,160L 512,160L 512,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"google\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 394.767,32c0,0-100.478,0-133.97,0c-60.061,0-116.585,45.503-116.585,98.211c0,53.863, 40.941,97.333, 102.044,97.333\n\tc 4.249,0, 8.378-0.085, 12.42-0.376c-3.964,7.593-6.8,16.144-6.8,25.021c0,14.969, 8.052,27.105, 18.234,37.012\n\tc-7.693,0-15.121,0.224-23.226,0.224c-74.391-0.001-131.65,47.38-131.65,96.511c0,48.389, 62.771,78.656, 137.167,78.656\n\tc 84.812,0, 131.653-48.122, 131.653-96.514c0-38.801-11.448-62.036-46.843-87.067c-12.108-8.571-35.266-29.418-35.266-41.672\n\tc0-14.36, 4.098-21.434, 25.714-38.323c 22.156-17.312, 37.837-41.651, 37.837-69.958c0-33.703-15.011-66.549-43.187-77.386l 42.478,0 \n\tL 394.767,32z M 347.974,359.729c 1.063,4.486, 1.642,9.104, 1.642,13.814c0,39.1-25.195,69.655-97.487,69.655\n\tc-51.421,0-88.558-32.552-88.558-71.65c0-38.321, 46.063-70.222, 97.482-69.666c 12,0.127, 23.184,2.058, 33.334,5.345\n\tC 322.301,326.641, 342.325,337.607, 347.974,359.729z M 265.643,213.888c-34.519-1.032-67.318-38.613-73.276-83.93\n\tc-5.958-45.333, 17.185-80.021, 51.694-78.995C 278.565,52, 311.379,88.37, 317.34,133.692\n\tC 323.293,179.022, 300.145,214.921, 265.643,213.888z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 128,128l 256,0 \n\tc 4.569,0, 9.002,0.981, 13.072,2.831L 256,295.415L 114.928,130.83C 118.998,128.982, 123.431,128, 128,128z M 96,352L 96,160 \n\tc0-0.67, 0.028-1.336, 0.070-2l 93.832,109.471L 97.103,360.27C 96.381,357.602, 96,354.827, 96,352z M 384,384L 128,384 \n\tc-2.827,0-5.601-0.381-8.27-1.104l 91.059-91.059L 256,344.586l 45.212-52.747l 91.058,91.060C 389.6,383.619, 386.827,384, 384,384z\n\t M 416,352c0,2.827-0.381,5.6-1.103,8.27l-92.8-92.799L 415.93,158c 0.042,0.664, 0.070,1.33, 0.070,2L 416,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 91.314,443.313l-38.628-38.627l 128-128\n\tl 14.628,14.627L 91.314,443.313z M 76.686,99.314l 14.628-14.628L 256,217.373L 420.687,84.686l 14.627,14.628L 256,310.627L 76.686,99.314z\n\t M 420.687,443.313l-104-152l 14.627-14.627l 128,128L 420.687,443.313z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.671,0L 85.343,0 C 38.406,0,0,38.405,0,85.345l0,341.311 C0,473.625, 38.406,512, 85.343,512l 341.328,0 \n\tC 473.609,512, 512,473.625, 512,426.655L 512,85.345 C 512,38.405, 473.609,0, 426.671,0z M 426.671,64c 3.994,0, 7.773,1.167, 11.010,3.171\n\tL 256,217.373L 74.323,67.173C 77.562,65.168, 81.345,64, 85.343,64L 426.671,64 z M 85.343,448c-0.962,0-1.91-0.073-2.842-0.204\n\tl 112.813-156.483l-14.628-14.627L 64,393.371L 64,87.802 L 256,320L 448,87.803l0,305.568 L 331.314,276.686l-14.627,14.627l 112.814,156.484\n\tc-0.929,0.13-1.873,0.203-2.831,0.203L 85.343,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mail, contact, support, newsletter, letter, email, envelop, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 426.655,0L 85.345,0 C 38.405,0,0,38.392,0,85.329l0,341.328 C0,473.595, 38.405,512, 85.345,512l 341.311,0 \n\tC 473.625,512, 512,473.595, 512,426.657L 512,85.329 C 512,38.392, 473.625,0, 426.655,0z M 128,128l 256,0 c 4.569,0, 9.002,0.981, 13.072,2.831\n\tL 256,295.415L 114.928,130.83C 118.998,128.982, 123.431,128, 128,128z M 96,352L 96,160 c0-0.67, 0.028-1.336, 0.070-2l 93.832,109.47\n\tL 97.103,360.27C 96.381,357.601, 96,354.827, 96,352z M 384,384L 128,384 c-2.827,0-5.601-0.381-8.27-1.103l 91.059-91.059L 256,344.586\n\tl 45.212-52.747l 91.058,91.059C 389.6,383.619, 386.827,384, 384,384z M 416,352c0,2.827-0.381,5.6-1.103,8.27l-92.799-92.799L 415.93,158\n\tc 0.042,0.664, 0.070,1.33, 0.070,2L 416,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"share, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256A64,64 12600 1 1 320,256A64,64 12600 1 1 192,256zM 256,128c 35.346,0, 67.346,14.327, 90.51,37.49l 45.255-45.255C 357.020,85.49, 309.020,64, 256,64\n\t\tc-83.596,0-154.7,53.431-181.060,128L0,192 l0,64 l 128,0 C 128,185.308, 185.308,128, 256,128zM 384,256c0,70.692-57.308,128-128,128c-35.346,0-67.346-14.327-90.51-37.49l-45.255,45.255\n\t\tC 154.981,426.51, 202.981,448, 256,448c 83.596,0, 154.7-53.431, 181.060-128L 512,320 l0-64 L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"share, social\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,352c-22.58,0-42.96,9.369-57.506,24.415L 158.992,268.664C 159.649,264.538, 160,260.311, 160,256\n\ts-0.351-8.538-1.008-12.663l 215.502-107.751C 389.040,150.631, 409.42,160, 432,160c 44.183,0, 80-35.817, 80-80S 476.183,0, 432,0\n\ts-80,35.817-80,80c0,4.311, 0.352,8.538, 1.008,12.663L 137.506,200.415C 122.96,185.37, 102.58,176, 80,176c-44.183,0-80,35.818-80,80\n\tc0,44.184, 35.817,80, 80,80c 22.58,0, 42.96-9.369, 57.506-24.414l 215.502,107.751C 352.352,423.462, 352,427.689, 352,432\n\tc0,44.184, 35.817,80, 80,80s 80-35.816, 80-80C 512,387.818, 476.183,352, 432,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 9, number, nine\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 8, number, eight\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64L 384,32L 352,0L 160,0L 128,32L 160,64 \tzM 384,48L 352,80L 352,208L 384,240L 416,208L 416,80 \tzM 160,208.001L 160,80L 128,48L 96,80L 96,208.001L 128,240.001 \tzM 352,304L 352,432L 384,464L 416,432L 416,304L 384,272 \tzM 160,432L 160,304L 128,272L 96,304L 96,432L 128,464 \tzM 128,256L 160,288L 352,288L 384,256L 352,224L 160,224 \tzM 160,448L 128,480L 160,512L 352,512L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 7, number\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 6, number, six\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,464L 96,432L 96,304L 128,272L 160,304L 160,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 5, number, five\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 4, number, four\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 128,240.001L 96,208.001L 96,80L 128,48L 160,80L 160,208.001 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 3, number, three\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 384,464L 352,432L 352,304L 384,272L 416,304L 416,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 2, number, two\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 160,0L 352,0L 384,32L 352,64L 160,64 zM 384,240L 352,208L 352,80L 384,48L 416,80L 416,208 zM 128,464L 96,432L 96,304L 128,272L 160,304L 160,432 zM 128,256L 160,224L 352,224L 384,256L 352,288L 160,288 zM 128,480L 160,448L 352,448L 384,480L 352,512L 160,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 1, number, one\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,48L 352,80L 352,208L 384,240L 416,208L 416,80 \tzM 352,304L 352,432L 384,464L 416,432L 416,304L 384,272 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"seven segment 0, number, zero\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64L 384,32L 352,0L 160,0L 128,32L 160,64 \tzM 384,48L 352,80L 352,208L 384,240L 416,208L 416,80 \tzM 160,208.001L 160,80L 128,48L 96,80L 96,208.001L 128,240.001 \tzM 352,304L 352,432L 384,464L 416,432L 416,304L 384,272 \tzM 160,432L 160,304L 128,272L 96,304L 96,432L 128,464 \tzM 160,448L 128,480L 160,512L 352,512L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"console, command line, terminal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 480,448L 32,448 L 32,64 l 448,0 L 480,448 zM 448,96L 64,96 l0,320 l 384,0 L 448,96 z M 224,256l-32,0 l0,32 l-32,0 l0,32 l-32,0 l0-32 l 32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0,32 l 32,0 l0,32 l 32,0 L 224,256 z M 352,320l-96,0 \n\t\tl0-32 l 96,0 L 352,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"code, embed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,256L 192,128L 128,128L0,256L 128,384L 192,384 \tzM 384,128L 320,128L 448,256L 320,384L 384,384L 512,256 \tzM 272,64L 192,448L 240,448L 320,64 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"embed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,128L 16,256l 128,128l 64,0 L 80,256l 128-128L 144,128 z M 368,128l-64,0 l 128,128L 304,384l 64,0 l 128-128L 368,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"popout, new window\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 176,64 c-26.4,0-48,21.6-48,48l0,48 L 48,160 c-26.4,0-48,21.6-48,48l0,192 c0,26.4, 21.6,48, 48,48l 288,0 c 26.4,0, 48-21.6, 48-48l0-48 l 80,0 \n\tc 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.401,64, 464,64z M 352,400c0,8.673-7.327,16-16,16L 48,416 c-8.673,0-16-7.327-16-16L 32,208 \n\tc0-8.673, 7.327-16, 16-16l 80,0 l0,112 c0,26.4, 21.6,48, 48,48l 176,0 L 352,400 z M 480,304c0,8.673-7.327,16-16,16L 176,320 c-8.673,0-16-7.327-16-16L 160,112 \n\tc0-8.673, 7.327-16, 16-16l 288,0 c 8.673,0, 16,7.327, 16,16L 480,304 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"new tab, external, outside, popout, link, blank\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,32l0,384 l 384,0 L 480,32 L 96,32 z M 448,384L 128,384 L 128,64 l 320,0 L 448,384 zM 64,448L 64,128L 32,96L 32,480L 416,480L 384,448 \tzM 214.627,342.627L 310.627,246.627L 384,320L 384,128L 192,128L 265.373,201.373L 169.373,297.373 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"new tab, external, outside, popout, link, blank\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,288 L 416,224 L 416,480 L 32,480 L 32,96 L 288,96 L 224,160 L 96,160 L 96,416 L 352,416 ZM 480,32 L 480,208 L 414.628,142.628 L 237.255,320 L 192,320 L 192,274.744 L 369.372,97.372 L 304,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"share, out, external, outside\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,320c0,0, 29.412-96, 192-96l0,96 l 192-128L 320,64l0,96 C 192,160, 128,239.836, 128,320zM 352,384L 64,384 L 64,192 l 62.938,0 c 5.047-5.959, 10.456-11.667, 16.244-17.090c 21.982-20.595, 48.281-36.326, 78.057-46.91L0,128 l0,320 l 416,0 \n\t\tL 416,313.688 l-64,42.667L 352,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-decrease, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,288L 512,288L 512,352L 192,352zM 192,160L 512,160L 512,224L 192,224zM0,416L 512,416L 512,480L0,480zM 128,160 L 128,352 L 0,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-increase, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,288L 512,288L 512,352L 192,352zM 192,160L 512,160L 512,224L 192,224zM0,416L 512,416L 512,480L0,480zM 0,352 L 0,160 L 128,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-justify, wysiwyg, justify\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,288L 512,288L 512,352L0,352zM0,160L 512,160L 512,224L0,224zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-right, align right, right, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,160L 512,160L 512,224L 192,224zM 192,416L 512,416L 512,480L 192,480zM0,288L 512,288L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-center, align center, center, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 96,160L 416,160L 416,224L 96,224zM 96,416L 416,416L 416,480L 96,480zM0,288L 512,288L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-left, align left, left, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,160L 320,160L 320,224L0,224zM0,416L 320,416L 320,480L0,480zM0,288L 512,288L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-decrease, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,128L 512,128L 512,192L 192,192zM 192,224L 512,224L 512,288L 192,288zM 192,320L 512,320L 512,384L 192,384zM0,416L 512,416L 512,480L0,480zM 128,160 L 128,352 L 0,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"indent-increase, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,128L 512,128L 512,192L 192,192zM 192,224L 512,224L 512,288L 192,288zM 192,320L 512,320L 512,384L 192,384zM0,416L 512,416L 512,480L0,480zM 0,352 L 0,160 L 128,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-justify, wysiwyg, justify\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,128L 512,128L 512,192L0,192zM0,224L 512,224L 512,288L0,288zM0,320L 512,320L 512,384L0,384zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-right, align right, right, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 192,128L 512,128L 512,192L 192,192zM 192,320L 512,320L 512,384L 192,384zM0,224L 512,224L 512,288L0,288zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-center, align center, center, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM 96,128L 416,128L 416,192L 96,192zM 96,320L 416,320L 416,384L 96,384zM0,224L 512,224L 512,288L0,288zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-left, align left, left, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 512,32L 512,96L0,96zM0,128L 320,128L 320,192L0,192zM0,320L 320,320L 320,384L0,384zM0,224L 512,224L 512,288L0,288zM0,416L 512,416L 512,480L0,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-justify, wysiwyg, justify\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,160L 512,160L 512,192L0,192zM0,288L 512,288L 512,320L0,320zM0,416L 512,416L 512,448L0,448zM0,96L 512,96L 512,128L0,128zM0,224L 512,224L 512,256L0,256zM0,352L 512,352L 512,384L0,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-right, align right, right, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 512,96L 512,128L0,128zM 160,160L 512,160L 512,192L 160,192zM0,224L 512,224L 512,256L0,256zM 160,288L 512,288L 512,320L 160,320zM0,352L 512,352L 512,384L0,384zM 160,416L 512,416L 512,448L 160,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-center, align center, center, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 512,96L 512,128L0,128zM 96,160L 416,160L 416,192L 96,192zM 96,288L 416,288L 416,320L 96,320zM 96,416L 416,416L 416,448L 96,448zM0,224L 512,224L 512,256L0,256zM0,352L 512,352L 512,384L0,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paragraph-left, align left, left, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 512,96L 512,128L0,128zM0,160L 352,160L 352,192L0,192zM0,224L 512,224L 512,256L0,256zM0,288L 352,288L 352,320L0,320zM0,352L 512,352L 512,384L0,384zM0,416L 352,416L 352,448L0,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"right to left, rtl, wysiwyg, direction\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,0C 57.308,0,0,57.308,0,128s 57.308,128, 128,128l0,256 l 64,0 L 192,64 l 64,0 l0,448 l 64,0 L 320,64 l 64,0 L 384,0 L 128,0 zM 512,96L 384,224L 512,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"left to right, ltr, wysiwyg, direction\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0c-70.692,0-128,57.308-128,128s 57.308,128, 128,128l0,256 l 64,0 L 320,64 l 64,0 l0,448 l 64,0 L 448,64 l 64,0 L 512,0 L 256,0 zM0,352L 128,224L0,96 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pilcrow, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0 L 448,0 L 448,64 L 384,64 L 384,512 L 320,512 L 320,64 L 256,64 L 256,512 L 192,512 L 192,256 C 121.308,256 64,198.692 64,128 C 64,57.308 121.308,0 192,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"insert-template, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96L 256,96L 256,128L 192,128zM 288,96L 352,96L 352,128L 288,128zM 448,96 L 448,224 L 352,224 L 352,192 L 416,192 L 416,128 L 384,128 L 384,96 ZM 160,192L 224,192L 224,224L 160,224zM 256,192L 320,192L 320,224L 256,224zM 96,128 L 96,192 L 128,192 L 128,224 L 64,224 L 64,96 L 160,96 L 160,128 ZM 192,288L 256,288L 256,320L 192,320zM 288,288L 352,288L 352,320L 288,320zM 448,288 L 448,416 L 352,416 L 352,384 L 416,384 L 416,320 L 384,320 L 384,288 ZM 160,384L 224,384L 224,416L 160,416zM 256,384L 320,384L 320,416L 256,416zM 96,320 L 96,384 L 128,384 L 128,416 L 64,416 L 64,288 L 160,288 L 160,320 ZM 480,32 L 32,32 L 32,480 L 480,480 L 480,32 Z M 512,0 L 512,0 L 512,512 L 0,512 L 0,0 L 512,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"table, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 192,320l0-96 l 128,0 l0,96 L 192,320 z M 320,352l0,96 L 192,448 l0-96 L 320,352 z M 320,96l0,96 L 192,192 L 192,96 L 320,96 z M 160,96l0,96 L 32,192 L 32,96 L 160,96 z\n\t M 32,224l 128,0 l0,96 L 32,320 L 32,224 z M 352,224l 128,0 l0,96 L 352,320 L 352,224 z M 352,192L 352,96 l 128,0 l0,96 L 352,192 z M 32,352l 128,0 l0,96 L 32,448 L 32,352 z M 352,448l0-96 l 128,0 l0,96 L 352,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"table, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,352 l 512,0 L 512,96 L0,96 z M 192,320l0-64 l 128,0 l0,64 L 192,320 z M 320,352l0,64 L 192,416 l0-64 L 320,352 z M 320,160l0,64 L 192,224 l0-64 L 320,160 z M 160,160l0,64 L 32,224 l0-64 L 160,160 z\n\t M 32,256l 128,0 l0,64 L 32,320 L 32,256 z M 352,256l 128,0 l0,64 L 352,320 L 352,256 z M 352,224l0-64 l 128,0 l0,64 L 352,224 z M 32,352l 128,0 l0,64 L 32,416 L 32,352 z M 352,416l0-64 l 128,0 l0,64 L 352,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clear-formatting, remove style, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,448L 288,448L 288,512L0,512zM 448,64 L 296.72,64 L 204.838,416 L 138.694,416 L 230.575,64 L 96,64 L 96,0 L 448,0 ZM 464.887,512 L 400,447.113 L 335.113,512 L 304,480.887 L 368.887,416 L 304,351.113 L 335.113,320 L 400,384.887 L 464.887,320 L 496,351.113 L 431.113,416 L 496,480.887 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pagebreak, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,192 L 128,0 L 512,0 L 512,192 L 480,192 L 480,32 L 160,32 L 160,192 ZM 512,288 L 512,512 L 128,512 L 128,288 L 160,288 L 160,480 L 480,480 L 480,288 ZM 256,224L 320,224L 320,256L 256,256zM 160,224L 224,224L 224,256L 160,256zM 352,224L 416,224L 416,256L 352,256zM 448,224L 512,224L 512,256L 448,256zM0,144L 96,240L0,336 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"highlight, background-color, wysiwyg, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,48.084L 455.917,152l 0.083-0.083L 352,32.084L 471.917,136l 0.042-0.042L 496,160L 327.82,328.18\n\t\t\tc-14.806,14.806-37.578,17.083-54.84,6.84L 296,311.917L 192,192.084l 0.79,0.685L 311.917,296l 0.083-0.083L 208,176.084L 327.917,280\n\t\t\tl 0.083-0.083L 224,160.084L 343.917,264l 0.083-0.083L 240,144.084L 359.917,248l 0.083-0.083L 256,128.084L 375.917,232l 0.083-0.083\n\t\t\tL 272,112.084L 391.917,216l 0.083-0.083L 288,96.084L 407.917,200l 0.083-0.083L 304,80.084L 423.917,184l 0.083-0.083L 320,64.084\n\t\t\tL 439.917,168l 0.083-0.083L 336,48.084zM 360.042,24.042L 352,32.084l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-16,16l-15.947,15.947\n\t\t\tl-31.071,30.987c-4.189-7.058-6.287-15.037-6.287-23.019c0-11.534, 4.375-23.069, 13.125-31.819L 336,0L 360.042,24.042zM 160.981,223.019 L 272.981,335.019 L 192,416 L 0,416 L 0,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"text-color, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 161.009,416l 28.8-96l 132.382,0 l 28.8,96l 56.816,0 L 311.809,96L 200.191,96 l-96,320L 161.009,416 z M 237.809,160l 36.382,0 l 28.8,96l-93.982,0 \n\tL 237.809,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"subscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 97.009,416l 28.8-96l 132.382,0 l 28.8,96l 56.817,0 l-96-320L 136.191,96 l-96,320L 97.009,416 z M 173.809,160l 36.382,0 l 28.8,96l-93.982,0 \n\tL 173.809,160zM 422,416 C 453.9,416 480,437.6 480,464 C 480,490.4 453.9,512 422,512 L 410,512 C 384.872,512 363.354,498.594 355.345,480 L 422,480 C 436.643,480 448,471.398 448,464 C 448,456.602 436.643,448 422,448 L 410,448 C 378.1,448 352,426.4 352,400 C 352,373.6 378.1,352 410,352 L 422,352 C 447.128,352 468.646,365.406 476.655,384 L 410,384 C 395.357,384 384,392.602 384,400 C 384,407.398 395.357,416 410,416 L 422,416 ZM 512,96L 432,224L 352,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"superscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 97.009,416l 28.8-96l 132.382,0 l 28.8,96l 56.817,0 l-96-320L 136.191,96 l-96,320L 97.009,416 z M 173.809,160l 36.382,0 l 28.8,96l-93.982,0 \n\tL 173.809,160zM 422,64 C 453.9,64 480,85.6 480,112 C 480,138.4 453.9,160 422,160 L 410,160 C 384.872,160 363.354,146.594 355.345,128 L 422,128 C 436.643,128 448,119.399 448,112 C 448,104.601 436.643,96 422,96 L 410,96 C 378.1,96 352,74.4 352,48 C 352,21.6 378.1,0 410,0 L 422,0 C 447.128,0 468.646,13.406 476.655,32 L 410,32 C 395.357,32 384,40.601 384,48 C 384,55.399 395.357,64 410,64 L 422,64 ZM 352,416L 432,288L 512,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"subscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,455 L 384,480 L 448,480 L 448,512 L 352,512 L 352,439 L 416,409 L 416,384 L 352,384 L 352,352 L 448,352 L 448,425 ZM 338,128L 270,128L 176,222L 82,128L 14,128L 142,256L 14,384L 82,384L 176,290L 270,384L 338,384L 210,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"superscript, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,103 L 384,128 L 448,128 L 448,160 L 352,160 L 352,87 L 416,57 L 416,32 L 352,32 L 352,0 L 448,0 L 448,73 ZM 338,128L 270,128L 176,222L 82,128L 14,128L 142,256L 14,384L 82,384L 176,290L 270,384L 338,384L 210,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"page-break, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 64,256L 64,288L0,288zM 96,256L 192,256L 192,288L 96,288zM 224,256L 288,256L 288,288L 224,288zM 320,256L 416,256L 416,288L 320,288zM 448,256L 512,256L 512,288L 448,288zM 440,0 L 448,224 L 64,224 L 72,0 L 88,0 L 96,192 L 416,192 L 424,0 ZM 72,512 L 64,320 L 448,320 L 440,512 L 424,512 L 416,352 L 96,352 L 88,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"page-break, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 64,256L 64,288L0,288zM 96,256L 192,256L 192,288L 96,288zM 224,256L 288,256L 288,288L 224,288zM 320,256L 416,256L 416,288L 320,288zM 448,256L 512,256L 512,288L 448,288zM 440,0 L 448,224 L 64,224 L 72,0 L 120,0 L 128,192 L 384,192 L 392,0 ZM 72,512 L 64,320 L 448,320 L 440,512 L 392,512 L 384,384 L 128,384 L 120,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"nbsp, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288 L 128,288 L 128,224 L 224,224 L 224,128 L 288,128 L 288,224 L 384,224 L 384,288 L 288,288 L 288,384 L 224,384 ZM 512,320 L 512,512 L 0,512 L 0,320 L 64,320 L 64,448 L 448,448 L 448,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sigma, symbols, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 470.803,367.354 L 493,320 L 512,320 L 480,512 L 0,512 L 0,474.879 L 165.773,279.273 L 0,113.5 L 0,0 L 490,0 L 512,128 L 494.812,128 L 485.452,108.559 L 485.452,108.56 C 467.793,71.878 454.5,64 416,64 L 85,64 L 261.528,240.528 L 112.818,416 L 384,416 C 442.004,416 457.324,395.211 470.803,367.354 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"omega, symbols, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,448 L 480,448 L 512,384 L 512,512 L 320,512 L 320,404.893 C 385.556,376.651 432,306.312 432,224 C 432,116.784 353.201,32.867 256,32.867 C 158.797,32.867 80,116.783 80,224 C 80,306.312 126.443,376.651 192,404.893 L 192,512 L 0,512 L 0,384 L 32,448 L 160,448 L 160,431.705 C 66.185,398.475 0,318.004 0,224 C 0,100.288 114.615,0 256,0 C 397.385,0 512,100.288 512,224 C 512,318.004 445.815,398.475 352,431.705 L 352,448 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"strikethrough, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256 L 512,288 L 394.747,288 C 408.499,307.255 416,329.346 416,352 C 416,387.439 397.67,421.513 365.71,445.482 C 336.031,467.741 297.068,480 256,480 C 214.931,480 175.969,467.741 146.29,445.482 C 114.33,421.513 96,387.439 96,352 L 160,352 C 160,386.691 203.963,416 256,416 C 308.037,416 352,386.691 352,352 C 352,317.309 308.037,288 256,288 L 0,288 L 0,256 L 149.759,256 C 148.59,255.173 147.431,254.338 146.29,253.482 C 114.33,229.512 96,195.439 96,160 C 96,124.561 114.33,90.488 146.29,66.518 C 175.969,44.259 214.931,32 256,32 C 297.068,32 336.031,44.259 365.71,66.518 C 397.67,90.488 416,124.561 416,160 L 352,160 C 352,125.309 308.037,96 256,96 C 203.963,96 160,125.309 160,160 C 160,194.691 203.963,224 256,224 C 295.489,224 333.027,235.339 362.241,256 L 512,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"italic, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,32 L 448,64 L 384,64 L 224,448 L 288,448 L 288,480 L 64,480 L 64,448 L 128,448 L 288,64 L 224,64 L 224,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"underline, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,32 L 416,32 L 416,240 C 416,319.529 344.366,384 256,384 C 167.635,384 96,319.529 96,240 L 96,32 L 160,32 L 160,240 C 160,260.083 169.119,279.352 185.677,294.253 C 204.125,310.855 229.1,320 256,320 C 282.9,320 307.875,310.855 326.323,294.253 C 342.881,279.352 352,260.083 352,240 L 352,32 ZM 96,416L 416,416L 416,480L 96,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bold, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 353.94,242.326C 372.689,220.055, 384,191.322, 384,160c0-70.58-57.421-128-128-128l-64,0 l-64,0 L 96,32 l0,448 l 32,0 l 64,0 l 96,0 \n\tc 70.579,0, 128-57.421, 128-128C 416,305.522, 391.101,264.752, 353.94,242.326z M 192,96l 50.75,0 c 27.984,0, 50.75,28.71, 50.75,64\n\ts-22.766,64-50.75,64L 192,224 L 192,96 z M 271.5,416L 192,416 L 192,288 l 79.5,0 c 29.225,0, 53,28.71, 53,64S 300.725,416, 271.5,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"font-size, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,256 L 224,256 L 224,320 L 160,320 L 160,512 L 96,512 L 96,320 L 32,320 ZM 480,128 L 354.125,128 L 354.125,512 L 285.875,512 L 285.875,128 L 160,128 L 160,64 L 480,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"strikethrough, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 32,160L 96,64L 224,64L 224,224L 288,224L 288,64L 416,64L 480,160L 480,0 \tzM 288,480L 288,320L 224,320L 224,480L 160,480L 128,512L 256,512L 384,512L 352,480 \tzM0,256L 512,256L 512,288L0,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"strikethrough, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,256 L 480,288 L 389.043,288 C 406.067,310.881 416,338.395 416,368 C 416,447.529 344.365,512 256,512 C 173.644,512 105.833,455.998 96.988,384 L 161.98,384 C 165.483,398.155 173.585,411.37 185.677,422.253 C 204.125,438.856 229.1,448 256,448 C 282.9,448 307.875,438.856 326.323,422.253 C 342.881,407.351 352,388.083 352,368 C 352,347.917 342.881,328.649 326.323,313.747 C 307.875,297.144 282.9,288 256,288 L 32,288 L 32,256 L 155.443,256 L 356.557,256 L 480,256 ZM 256,224 L 122.957,224 C 105.933,201.119 96,173.605 96,144 C 96,64.471 167.634,0 256,0 C 338.355,0 406.167,56.002 415.011,128 L 350.020,128 C 346.516,113.845 338.414,100.63 326.323,89.748 C 307.875,73.144 282.9,64 256,64 C 229.1,64 204.125,73.144 185.677,89.748 C 169.119,104.649 160,123.917 160,144 C 160,164.083 169.119,183.351 185.677,198.252 C 204.125,214.856 229.1,224 256,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"italic, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0 L 448,32 L 382.72,32 L 214.72,480 L 288,480 L 288,512 L 64,512 L 64,480 L 129.28,480 L 297.28,32 L 224,32 L 224,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"underline, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,448L 448,448L 448,512L 64,512zM 352,0 L 448,0 L 448,32 L 416,32 L 416,256 C 416,344.365 344.365,416 256,416 C 167.634,416 96,344.365 96,256 L 96,32 L 64,32 L 64,0 L 192,0 L 192,32 L 160,32 L 160,256 C 160,308.935 210.243,356 272,356 C 333.757,356 384,308.935 384,256 L 384,32 L 352,32 L 352,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bold, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320.771,238.502l0-4.307 c 58.147-10.768, 126.522-40.379, 126.522-116.83c0-38.76-18.309-71.062-47.919-89.908\n\tC 368.689,7.538, 328.848,0, 267.473,0L 32.2,0 l0,27.995 c 56.53,5.383, 64.606,10.229, 64.606,77.528l0,300.417 \n\tc0,65.894-7.625,71.844-64.807,77.559L 31.999,512 l 200.479,0 c 67.297,0, 128.134-11.846, 168.513-33.919\n\tc 46.303-24.224, 75.37-65.681, 75.37-117.369C 476.362,285.342, 414.987,248.732, 320.771,238.502z M 192.001,76.988\n\tc0-16.151, 1.615-27.459, 7-33.379c 4.846-4.306, 18.846-10.229, 36.609-10.229c 44.15,0, 87.221,26.918, 87.221,98.522\n\tc0,64.068-35.535,93.678-113.062,93.678l-17.769-0.001L 192,76.988 z M 252.304,478.082C 208.153,479.158, 192,462.467, 192,403.785l 0.001,0 \n\tL 192.001,257.883 l 15.613,0 c 93.144,0, 140.518,37.688, 140.518,111.446C 348.132,445.241, 296.99,477.543, 252.304,478.082z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"width\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,448 L 128,512 L 32,432 L 128,352 L 128,416 L 384,416 L 384,352 L 480,432 L 384,512 L 384,448 ZM 416,96 L 96,96 L 96,256 L 416,256 L 416,96 Z M 480,32 L 480,32 L 480,320 L 32,320 L 32,32 L 480,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"height\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384 L 512,384 L 432,480 L 352,384 L 416,384 L 416,128 L 352,128 L 432,32 L 512,128 L 448,128 ZM 256,96 L 64,96 L 64,416 L 256,416 L 256,96 Z M 320,32 L 320,32 L 320,480 L 0,480 L 0,32 L 320,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"text-width, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,448 L 128,512 L 32,432 L 128,352 L 128,416 L 384,416 L 384,352 L 480,432 L 384,512 L 384,448 ZM 416,32 L 416,160 L 384,96 L 288,96 L 288,320 L 352,320 L 352,352 L 160,352 L 160,320 L 224,320 L 224,96 L 128,96 L 96,160 L 96,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"text-height, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384 L 512,384 L 432,480 L 352,384 L 416,384 L 416,128 L 352,128 L 432,32 L 512,128 L 448,128 ZM 320,32 L 320,160 L 288,96 L 192,96 L 192,448 L 256,448 L 256,480 L 64,480 L 64,448 L 128,448 L 128,96 L 32,96 L 0,160 L 0,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"type, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 32,160L 96,64L 224,64L 224,480L 160,480L 128,512L 256,512L 384,512L 352,480L 288,480L 288,64L 416,64L 480,160L 480,0 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"font-size, size, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,0L 64,160L 128,64L 256,64L 256,480L 192,480L 192,512L 288,512L 384,512L 384,480L 320,480L 320,64L 448,64L 512,160L 512,0 \n\t\t\tzM 128,288L 192,288L 224,336L 224,256L0,256L0,336L 32,288L 96,288L 96,480L 64,480L 64,512L 112,512L 160,512L 160,480L 128,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"font, font family, wysiwyg\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 399.798,8.104C 354.535,8.104, 325.488,0, 278.874,0C 128.232,0, 57.978,85.792, 57.978,172.936\n\tc0,51.339, 24.32,68.229, 72.282,68.229c-3.379-7.432-9.457-15.54-9.457-52.017c0-102.005, 38.503-131.729, 87.818-133.755\n\tc0,0-40.459,396.687-157.889,444.271L 50.732,512 l 84.359,0 l 73.938,0 l 54.013-256l 98.922,0 L 384,192L 276.546,192 l 25.972-123.095\n\tc 29.723,6.078, 58.771,12.158, 83.766,12.158c 31.074,0, 59.447-9.457, 74.984-81.063C 442.355,6.080, 422.087,8.104, 399.798,8.104z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 434.745,96L 297.373,233.373L 288,242.745L 288,256 l0,135.016 l-64,16L 224,256 l0-13.255 l-9.373-9.373L 77.255,96L 434.745,96 M 512,64L0,64 \n\t\tl 192,192l0,192 l 128-32L 320,256 L 512,64L 512,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64L 192,256L 192,448L 320,416L 320,256L 512,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,112C 512,50.144, 397.385,0, 256,0S0,50.144,0,112c0,19.688, 11.626,38.185, 32.016,54.261L 32,166.261 l 160,146.242L 192,480 \n\tc0,17.673, 28.654,32, 64,32c 35.348,0, 64-14.327, 64-32L 320,312.503 l 160-146.242l-0.016,0 C 500.374,150.185, 512,131.688, 512,112z\n\t M 460.172,142.132L 288,298.398l0,175.105 c-5.088,2.806-16.152,6.494-32,6.494c-15.848,0-26.912-3.688-32-6.494L 224,298.398 L 51.828,142.132\n\tC 44.423,136.293, 32,123.745, 32,112c0-6.534, 3.743-13.718, 11.124-21.354c 9.839-10.177, 25.29-20.041, 44.683-28.525\n\tc 21.27-9.305, 46.291-17.658, 74.369-22.854C 191.821,33.782, 223.388,30, 256,30c 32.611,0, 64.179,3.782, 93.824,9.267\n\tc 28.078,5.196, 53.1,13.549, 74.369,22.854c 19.393,8.484, 34.844,18.348, 44.683,28.525C 476.257,98.282, 480,105.466, 480,112\n\tC 480,123.745, 467.577,136.293, 460.172,142.132zM 96,116.25A160,43.75 2520 1 1 416,116.25A160,43.75 2520 1 1 96,116.25z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"filter, funnel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,35.817,0,80l0,48 l 192,192l0,160 c0,17.673, 28.653,32, 64,32c 35.346,0, 64-14.327, 64-32L 320,320 l 192-192L 512,80 \n\tC 512,35.817, 397.385,0, 256,0z M 47.192,69.412c 11.972-6.829, 28.791-13.31, 48.639-18.744C 139.803,38.63, 196.685,32, 256,32\n\tc 59.314,0, 116.197,6.63, 160.169,18.668c 19.848,5.434, 36.667,11.915, 48.64,18.744c 7.896,4.503, 12.162,8.312, 14.148,10.588\n\tc-1.986,2.276-6.253,6.084-14.148,10.588c-11.973,6.829-28.792,13.31-48.64,18.744C 372.198,121.37, 315.315,128, 256,128\n\tc-59.315,0-116.197-6.63-160.169-18.668c-19.848-5.434-36.667-11.915-48.639-18.744C 39.296,86.084, 35.030,82.276, 33.043,80\n\tC 35.030,77.724, 39.296,73.916, 47.192,69.412z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scissors, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.387,354.577c-22.827-22.778-51.864-34.536-78.973-34.536l-14.556,0 l-31.952-32.004l 127.81-128.019\n\tc 31.952-32.005, 31.952-96.014,0-128.019L 256.001,224.027L 64.285,32c-31.952,32.004-31.952,96.014,0,128.019l 127.811,128.017\n\tl-31.953,32.004l-14.557,0 c-27.11,0-56.146,11.759-78.974,34.538c-40.811,40.721-46.325,101.242-12.315,135.175\n\tC 69.282,504.704, 89.441,512, 110.795,512c 27.108,0, 56.145-11.757, 78.973-34.536c 26.792-26.732, 38.371-62, 33.542-92.674l 32.692-32.744\n\tl 32.688,32.744c-4.828,30.674, 6.753,65.941, 33.542,92.674C 345.063,500.243, 374.098,512, 401.206,512\n\tc 21.354,0, 41.512-7.296, 56.497-22.248C 491.713,455.819, 486.197,395.298, 445.387,354.577z M 176.512,422.769\n\tc-3.849,8.941-9.505,17.173-16.813,24.463c-7.318,7.302-15.586,12.959-24.574,16.812c-8.066,3.458-16.48,5.284-24.331,5.284\n\tc-7.573,0-18.306-1.701-26.431-9.806c-8.068-8.052-9.76-18.659-9.76-26.144c0-7.771, 1.821-16.105, 5.263-24.106\n\tc 3.85-8.942, 9.507-17.173, 16.813-24.463c 7.317-7.303, 15.586-12.957, 24.575-16.812c 8.067-3.457, 16.48-5.284, 24.332-5.284\n\tc 7.573,0, 18.306,1.7, 26.429,9.807c 8.067,8.049, 9.761,18.658, 9.761,26.142C 181.777,406.433, 179.957,414.77, 176.512,422.769z\n\t M 256.002,333.298c-24.957,0-45.188-20.266-45.188-45.263c0-24.996, 20.231-45.26, 45.188-45.26s 45.186,20.264, 45.186,45.26\n\tC 301.188,313.034, 280.958,333.298, 256.002,333.298z M 427.636,459.521c-8.124,8.104-18.856,9.806-26.43,9.806\n\tc-7.852,0-16.265-1.826-24.333-5.284c-8.986-3.853-17.254-9.51-24.571-16.812c-7.307-7.29-12.963-15.521-16.813-24.463\n\tc-3.443-7.999-5.263-16.336-5.263-24.106c0-7.483, 1.692-18.094, 9.76-26.143c 8.123-8.104, 18.856-9.807, 26.43-9.807\n\tc 7.85,0, 16.265,1.827, 24.33,5.284c 8.989,3.854, 17.258,9.509, 24.575,16.812c 7.305,7.29, 12.962,15.521, 16.813,24.463\n\tc 3.442,7.999, 5.263,16.335, 5.263,24.106C 437.396,440.862, 435.702,451.47, 427.636,459.521z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scissors, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 148.95,0l-8.601,16.636c-2.967,5.739-3.436,15.441, 3.916,44.132c 4.646,18.127, 12.079,42.257, 22.094,71.721\n\t\tc 12.645,37.202, 27.779,78.103, 41.266,113.162l 30.575-62.683L 148.95,0zM 445.758,435.696l-1.535-17.522l-1.179,0.564c-6.377-24.955-23.095-49.090-48.090-69.052\n\t\tc-25.345-20.24-55.312-32.814-78.206-32.814c-4.53,0-8.712,0.494-12.518,1.472l-15.711-32.209\n\t\tc 16.149-40.417, 39.153-100.779, 57.123-153.646c 10.014-29.463, 17.447-53.594, 22.093-71.72c 7.353-28.691, 6.882-38.393, 3.915-44.132\n\t\tl-8.602-16.635L 256.002,219.465l0-0.001l-32.52,66.671l0,0l-15.711,32.209c-3.806-0.978-7.989-1.472-12.519-1.472\n\t\tc-22.894,0-52.86,12.574-78.204,32.812C 87.812,373.032, 69.9,402.086, 66.614,431.49l-0.372,4.206\n\t\tc-2.601,36.446, 13.639,66.34, 40.411,74.386c 4.235,1.272, 9.070,1.918, 14.373,1.918c 27.206,0, 61.183-16.609, 75.808-53.703\n\t\tc 2.033-4.838, 4.27-10.708, 6.856-17.499c 8.286-21.751, 20.809-54.623, 33.895-68.239c 4.789-4.981, 8.493-8.596, 11.468-11.5\n\t\tc 2.675-2.61, 4.923-4.804, 6.948-7.022c 2.025,2.218, 4.273,4.411, 6.946,7.019c 2.978,2.905, 6.683,6.52, 11.473,11.504\n\t\tc 13.086,13.614, 25.606,46.481, 33.892,68.23c 2.588,6.795, 4.825,12.669, 6.859,17.509c 14.623,37.094, 48.601,53.701, 75.809,53.702\n\t\tc 0.001,0, 0.002,0, 0.002,0c 5.302,0, 10.138-0.646, 14.373-1.918C 432.123,502.034, 448.36,472.142, 445.758,435.696z M 165.027,440.949\n\t\tc-18.821,34.352-35.635,39.49-43.991,39.49c-11.377,0-19.895-9.239-21.556-18.169c-1.095-5.884-1.293-11.923-0.589-17.953\n\t\tc 2.818-24.164, 19.215-44.907, 32.475-58.052c 18.219-18.064, 38.649-30.061, 51.764-35.301c 1.308-0.457, 2.109-0.525, 2.476-0.525\n\t\tc 0.194,0, 0.3,0.018, 0.32,0.018c 0.003,0, 0.004,0, 0.004-0.001C 189.791,353.005, 194.339,382.012, 165.027,440.949z M 412.795,462.271\n\t\tc-1.674,8.931-10.244,18.169-21.691,18.169c-8.408,0-25.327-5.139-44.263-39.491c-29.499-58.958-24.904-87.982-21.062-90.478\n\t\tc 0.001,0, 0.101-0.031, 0.355-0.031c 0.368,0, 1.176,0.069, 2.489,0.526c 13.196,5.238, 33.751,17.234, 52.085,35.3\n\t\tc 13.34,13.146, 29.841,33.888, 32.678,58.044C 414.091,450.356, 413.892,456.399, 412.795,462.271z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scissors, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 390.979,512c-27.208-0.001-61.186-16.608-75.809-53.702c-2.034-4.84-4.271-10.714-6.859-17.509\n\tc-8.285-21.749-20.806-54.616-33.892-68.23c-4.79-4.984-8.495-8.599-11.473-11.504c-2.673-2.607-4.921-4.801-6.946-7.019\n\tc-2.025,2.219-4.273,4.412-6.948,7.022c-2.976,2.904-6.68,6.519-11.468,11.5c-13.086,13.616-25.608,46.488-33.895,68.239\n\tc-2.586,6.791-4.823,12.661-6.856,17.499C 182.208,495.391, 148.231,512, 121.025,512c-5.303,0-10.138-0.646-14.373-1.918\n\tc-26.772-8.046-43.012-37.939-40.411-74.386l 0.372-4.206c 3.287-29.404, 21.199-58.458, 50.435-81.806\n\tc 25.344-20.238, 55.31-32.812, 78.204-32.812c 4.53,0, 8.712,0.494, 12.519,1.472l 15.711-32.209\n\tc-16.148-40.414-39.152-100.774-57.123-153.646c-10.015-29.463-17.448-53.594-22.094-71.721\n\tc-7.352-28.691-6.883-38.393-3.916-44.132L 148.95,0l 107.053,219.465L 363.049,0.001l 8.602,16.635\n\tc 2.967,5.739, 3.438,15.441-3.915,44.132c-4.646,18.126-12.079,42.257-22.093,71.72c-17.97,52.868-40.974,113.229-57.123,153.646\n\tl 15.711,32.209c 3.806-0.978, 7.987-1.472, 12.518-1.472c 22.895,0, 52.861,12.574, 78.206,32.814\n\tc 24.995,19.962, 41.713,44.097, 48.090,69.052l 1.179-0.564l 1.535,17.522c 2.603,36.445-13.635,66.338-40.404,74.386\n\tc-4.235,1.272-9.071,1.918-14.373,1.918C 390.98,512, 390.979,512, 390.979,512z M 346.841,440.948\n\tc 18.936,34.353, 35.854,39.491, 44.263,39.491c 11.447,0, 20.018-9.238, 21.691-18.169c 1.097-5.871, 1.296-11.914, 0.592-17.961\n\tc-2.837-24.156-19.338-44.898-32.678-58.044c-18.334-18.065-38.889-30.062-52.085-35.3c-1.313-0.457-2.121-0.526-2.489-0.526\n\tc-0.255,0-0.354,0.031-0.355,0.031C 321.937,352.966, 317.342,381.99, 346.841,440.948z M 183.13,350.965\n\tc-13.115,5.24-33.545,17.236-51.764,35.301c-13.26,13.145-29.656,33.888-32.475,58.052c-0.704,6.030-0.506,12.069, 0.589,17.953\n\tc 1.661,8.93, 10.179,18.169, 21.556,18.169c 8.356,0, 25.17-5.139, 43.991-39.49c 29.312-58.938, 24.764-87.944, 20.903-90.493\n\tc0,0.001-0.001,0.001-0.004,0.001c-0.020,0-0.125-0.018-0.32-0.018C 185.239,350.439, 184.438,350.508, 183.13,350.965z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rulers, measure, size\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64L 256,0 L 64,0 l0,64 L0,64 l0,192 l 64,0 l0,256 l 192,0 L 256,256 l 256,0 L 512,64 L 256,64 z M 64,224L 32,224 L 32,96 l 32,0 L 64,224 z M 224,64l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 \n\tl-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,64 L 96,480 L 96,32 l 128,0 L 224,64 z M 480,224l-32,0 l0-64 l-32,0 l0,64 l-32,0 l0-64 l-32,0 l0,64 l-32,0 l0-64 l-32,0 l0,64 l-32,0 L 256,96 l 224,0 L 480,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vector, bezier\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 80,206c0-17.673-14.327-32-32-32s-32,14.327-32,32c0,11.843, 6.438,22.175, 16,27.708L 32,512 l 32,0 L 64,233.708 \n\t\tC 73.562,228.175, 80,217.843, 80,206zM 160,160l0,74.848 C 99.878,311.102, 64,407.359, 64,512l 32,0 c0-56.174, 10.995-110.65, 32.678-161.916\n\t\tc 14.316-33.848, 32.865-65.338, 55.366-94.084L 256,256 l0-71.956 c 28.746-22.501, 60.236-41.049, 94.084-55.366\n\t\tC 401.35,106.995, 455.826,96, 512,96L 512,64 c-104.641,0-200.899,35.878-277.152,96L 160,160 zM 233.708,32c-5.534-9.562-15.866-16-27.708-16c-17.673,0-32,14.326-32,32s 14.327,32, 32,32c 11.843,0, 22.175-6.438, 27.708-16\n\t\tL 512,64 L 512,32 L 233.708,32 zM 160,480L 224,480L 224,512L 160,512zM 288,480L 352,480L 352,512L 288,512zM 480,416L 480,480L 416,480L 416,512L 512,512L 512,416 \tzM 480,160L 512,160L 512,224L 480,224zM 480,288L 512,288L 512,352L 480,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"crop, resize, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,192 L 216,192 L 216,96 L 416,96 L 416,296 L 320,296 ZM 512,320 L 512,416 L 96,416 L 96,0 L 192,0 L 192,320 ZM0,96L 72,96L 72,192L0,192zM 320,440L 416,440L 416,512L 320,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"crop, resize, cut\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128l 96-96L 480,0l-96,96L 160,96 L 160,0 L 96,0 l0,96 L0,96 l0,64 l 96,0 l0,256 l 256,0 l0,96 l 64,0 l0-96 l 96,0 l0-64 l-96,0 L 416,128 z M 160,160l 160,0 L 160,320L 160,160 z M 192,352\n\tl 160-160l0,160 L 192,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"circle\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256A256,256 4680 1 1 512,256A256,256 4680 1 1 0,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"circle\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,480\n\t\tC 132.288,480, 32,379.712, 32,256S 132.288,32, 256,32s 224,100.288, 224,224S 379.712,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio-unchecked, circle\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio-checked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 160,256A96,96 12600 1 1 352,256A96,96 12600 1 1 160,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-partial, box, squares, partial, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 C 512,21.6, 490.4,0, 464,0z M 448,448L 64,448 \n\t\tL 64,64 l 384,0 L 448,448 zM 160,384l 192,0 c 17.6,0, 32-14.4, 32-32L 384,160 c0-17.6-14.4-32-32-32L 160,128 c-17.6,0-32,14.4-32,32l0,192 C 128,369.6, 142.4,384, 160,384z\n\t\t M 160,348l 192,0 l0,3.942 c-0.017,0.020-0.038,0.041-0.058,0.058L 160.057,352 c-0.020-0.017-0.041-0.038-0.057-0.058L 160,348 z M 160.057,160l 191.885,0 \n\t\tc 0.020,0.017, 0.041,0.038, 0.058,0.058L 352,164 L 160,164 l0-3.943 C 160.017,160.038, 160.038,160.017, 160.057,160z M 352,172l0,8 L 160,180 l0-8 L 352,172 z\n\t\t M 352,188l0,8 L 160,196 l0-8 L 352,188 z M 352,204l0,8 L 160,212 l0-8 L 352,204 z M 352,220l0,8 L 160,228 l0-8 L 352,220 z M 352,236l0,8 L 160,244 l0-8 L 352,236 z M 352,252l0,8 L 160,260 l0-8 L 352,252 z M 352,268l0,8 \n\t\tL 160,276 l0-8 L 352,268 z M 352,284l0,8 L 160,292 l0-8 L 352,284 z M 352,300l0,8 L 160,308 l0-8 L 352,300 z M 352,316l0,8 L 160,324 l0-8 L 352,316 z M 352,332l0,8 L 160,340 l0-8 L 352,332 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-unchecked, box, square, unchecked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64l0,384 L 64,448 L 64,64 L 448,64 M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0L 464,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-checked, checked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,112L 208,272L 144,192L 96,240L 208,384L 416,144 zM 448,64l0,384 L 64,448 L 64,64 L 448,64 M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0L 464,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-partial, partial\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,416 l 416,0 L 416,96 L0,96 z M 384,480L 32,480 L 32,128 l 352,0 L 384,480 zM 96,192L 320,192L 320,416L 96,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-unchecked, unchecked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128l0,352 L 32,480 L 32,128 L 384,128 M 416,96L0,96 l0,416 l 416,0 L 416,96 L 416,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox, tick, selected, checked\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.297,270.361L 104.8,179.922L 62.39,222.32c 41.72,39.207, 138.38,140.625, 171.080,179.447\n\t\tC 325.49,248.018, 421.157,135.506, 512,30.649l-17.973-17.974C 347.156,123.834, 206.297,270.361, 206.297,270.361zM 384,480L 32,480 L 32,128 l 251.776,0 c 11.14-10.316, 22.868-21.030, 35.086-32L0,96 l0,416 l 416,0 L 416,221 c-10.746,13.778-21.408,27.758-32,42.013L 384,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-partial, partial\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 zM 128,128L 384,128L 384,384L 128,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 512,0L 512,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-unchecked, unchecked, square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkbox-checked, tick, checked, selected\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 z M 384,112L 224,272l-96-96l-64,64l 160,160l 224-224L 384,112z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"command, cmd\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,504c-57.346,0-104-46.654-104-104l0-56 l-80,0 l0,56 c0,57.346-46.654,104-104,104S 8,457.346, 8,400s 46.654-104, 104-104l 56,0 l0-80 \n\tl-56,0 C 54.654,216, 8,169.346, 8,112S 54.654,8, 112,8s 104,46.654, 104,104l0,56 l 80,0 l0-56 C 296,54.654, 342.654,8, 400,8s 104,46.654, 104,104\n\ts-46.654,104-104,104l-56,0 l0,80 l 56,0 c 57.346,0, 104,46.654, 104,104S 457.346,504, 400,504z M 344,400c0,30.879, 25.121,56, 56,56\n\ts 56-25.121, 56-56s-25.121-56-56-56l-56,0 L 344,400 z M 112,344c-30.878,0-56,25.121-56,56s 25.122,56, 56,56s 56-25.121, 56-56l0-56 L 112,344 z M 296,296\n\tl0-80 l-80,0 l0,80 L 296,296 z M 400,168c 30.879,0, 56-25.122, 56-56s-25.121-56-56-56s-56,25.122-56,56l0,56 L 400,168 z M 112,56c-30.878,0-56,25.122-56,56\n\ts 25.122,56, 56,56l 56,0 l0-56 C 168,81.122, 142.878,56, 112,56z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-left, left, arrow, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 256,160L 160,256L 256,352L 256,288L 352,288L 352,224L 256,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-down, down, bottom, arrow, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 160,256L 256,352L 352,256L 288,256L 288,160L 224,160L 224,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-right, right, button, arrow, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 256,352L 352,256L 256,160L 256,224L 160,224L 160,288L 256,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-up, button, up, arrow, top, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 352,256L 256,160L 160,256L 224,256L 224,352L 288,352L 288,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-A, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958zM 345.137,384l 48.399,0 L 276,127.501l-40,0 L 118.464,384l 48.399,0 l 29.327-64L 315.81,320 L 345.137,384z M 210.854,288L 256,189.477\n\tL 301.146,288L 210.854,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key-keyboard, button, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 64,0 C 28.8,0,0,28.8,0,64l0,384 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,64 C 512,28.8, 483.2,0, 448,0z M 488,436\n\tl-78.014,0 c-0.001,0-0.001,0.001-0.002,0.001c 3.811-2.367, 7.405-5.049, 10.758-8.002L 420.741,428L 488,428 L 488,436 z M 407.529,407.529\n\tC 396.908,418.15, 382.87,424, 368,424L 144,424 c-14.87,0-28.908-5.85-39.529-16.471C 93.849,396.908, 88,382.87, 88,368L 88,144 \n\tc0-14.87, 5.849-28.908, 16.471-39.529C 115.092,93.849, 129.13,88, 144,88l 224,0 c 14.87,0, 28.908,5.849, 39.529,16.471\n\tC 418.15,115.092, 424,129.13, 424,144l0,224 C 424,382.87, 418.15,396.908, 407.529,407.529z M 488,420l-59.357,0 \n\tc-0.001,0.001-0.001,0.002-0.002,0.002c 2.184-2.541, 4.216-5.214, 6.073-8.015c-0.003,0.005-0.005,0.009-0.008,0.013L 488,412 L 488,420 z\n\t M 488,404l-48.637,0 c 1.316-2.592, 2.504-5.258, 3.537-8L 488,396 L 488,404 z M 488,388l-42.549,0 c-0.009,0.033-0.021,0.065-0.029,0.1\n\tc 0.692-2.65, 1.252-5.353, 1.67-8.1L 488,380 L 488,388 z M 488,372l-40.102,0 c0,0.003-0.001,0.007-0.001,0.010c 0.066-1.329, 0.103-2.665, 0.103-4.010l0-4 \n\tl 40,0 L 488,372 z M 488,356l-40,0 l0-8 l 40,0 L 488,356 z M 488,340l-40,0 l0-8 l 40,0 L 488,340 z M 488,324l-40,0 l0-8 l 40,0 L 488,324 z M 488,308l-40,0 l0-8 l 40,0 L 488,308 z M 488,292l-40,0 l0-8 l 40,0 L 488,292 \n\tz M 488,276l-40,0 l0-8 l 40,0 L 488,276 z M 488,260l-40,0 l0-8 l 40,0 L 488,260 z M 488,244l-40,0 l0-8 l 40,0 L 488,244 z M 488,228l-40,0 l0-8 l 40,0 L 488,228 z M 488,212l-40,0 l0-8 l 40,0 L 488,212 z\n\t M 488,196l-40,0 l0-8 l 40,0 L 488,196 z M 488,180l-40,0 l0-8 l 40,0 L 488,180 z M 488,164l-40,0 l0-8 l 40,0 L 488,164 z M 488,148l-40,0 l0-4 c0-1.345-0.036-2.681-0.103-4.010\n\tc0,0.003, 0.001,0.006, 0.001,0.010L 488,140 L 488,148 z M 488,132l-40.908,0 c-0.418-2.747-0.978-5.449-1.67-8.099\n\tc 0.009,0.033, 0.021,0.066, 0.029,0.099L 488,124 L 488,132 z M 488,116l-45.1,0 c-1.033-2.742-2.221-5.408-3.537-8L 488,108 L 488,116 z M 488,100l-53.294,0 \n\tc 0.003,0.004, 0.005,0.008, 0.008,0.012c-1.856-2.8-3.888-5.472-6.071-8.012L 488,92 L 488,100 z M 488,68l-44,0 l-8,8l 52,0 l0,8 l-60,0 l-3.5,3.5\n\tC 410,73, 390,64, 368,64L 144,64 c-44,0-80,36-80,80l0,224 c0,22, 9,42, 23.5,56.5L 84,428l 7.258,0 c 3.353,2.953, 6.947,5.634, 10.757,8.001\n\tc0,0-0.001-0.001-0.002-0.001L 76,436 l-8,8l 51.139,0 c 7.836,2.583, 16.189,4, 24.861,4l 224,0 c 8.672,0, 17.025-1.417, 24.861-4L 488,444 l0,4 \n\tc0,2.032-0.156,4.042-0.457,6.019c 0.103-0.669, 0.188-1.342, 0.256-2.019L 60,452 l-8,8l 434.143,0 c-1.38,4.349-3.512,8.441-6.33,12.126\n\tc 1.013-1.325, 1.938-2.702, 2.771-4.126L 44,468 l-8,8l 440.448,0 c-0.074,0.075-0.144,0.154-0.219,0.229c-3.443,3.444-7.393,6.178-11.667,8.146\n\tL 47.438,484.375 c-4.274-1.968-8.223-4.701-11.667-8.146C 28.18,468.64, 24,458.613, 24,448L 24,64 c0-10.614, 4.18-20.639, 11.771-28.229\n\tS 53.386,24, 64,24l 384,0 c 10.613,0, 20.64,4.18, 28.229,11.771c 0.075,0.075, 0.145,0.154, 0.219,0.229L 476,36 l-8,8l 14.583,0 \n\tc-0.833-1.424-1.758-2.801-2.771-4.126c 2.818,3.685, 4.95,7.778, 6.33,12.126L 460,52 l-8,8l 35.799,0 c-0.067-0.677-0.153-1.35-0.256-2.020\n\tC 487.844,59.957, 488,61.967, 488,64L 488,68 z M 486.144,459.998c 0.402-1.27, 0.74-2.561, 1.015-3.868\n\tC 486.886,457.438, 486.546,458.729, 486.144,459.998z M 487.179,456.040c 0.126-0.607, 0.234-1.219, 0.331-1.833\n\tC 487.413,454.821, 487.304,455.433, 487.179,456.040z M 476.449,475.999c 0.565-0.574, 1.107-1.164, 1.634-1.765\n\tC 477.557,474.835, 477.015,475.425, 476.449,475.999z M 478.297,473.986c 0.494-0.573, 0.973-1.156, 1.431-1.752\n\tC 479.27,472.83, 478.792,473.414, 478.297,473.986z M 476.449,36.001c 0.565,0.574, 1.108,1.165, 1.635,1.765\n\tC 477.558,37.166, 477.015,36.576, 476.449,36.001z M 478.297,38.013c 0.494,0.574, 0.973,1.158, 1.432,1.754\n\tC 479.271,39.17, 478.791,38.586, 478.297,38.013z M 486.143,52.001c 0.404,1.272, 0.745,2.566, 1.018,3.877\n\tC 486.886,54.568, 486.547,53.274, 486.143,52.001z M 487.179,55.958c 0.126,0.611, 0.235,1.226, 0.333,1.844\n\tC 487.414,57.184, 487.305,56.569, 487.179,55.958z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sort, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208,352 L 320,352 L 320,0 L 384,0 L 384,352 L 496,352 L 352,496 L 208,352 Z M 192,160 L 192,512 L 128,512 L 128,160 L 16,160 L 160,16 L 304,160 L 192,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sort, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,128 L 192,480 L 128,480 L 128,128 L 48,128 L 160,16 L 272,128 ZM 320,384 L 320,32 L 384,32 L 384,384 L 464,384 L 352,496 L 240,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"transmission, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,304 L 352,192 L 0,192 L 0,128 L 352,128 L 352,16 L 496,160 L 352,304 Z M 160,320 L 512,320 L 512,384 L 160,384 L 160,496 L 16,352 L 160,208 L 160,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"transmission, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,192 L 32,192 L 32,128 L 384,128 L 384,48 L 496,160 L 384,272 ZM 128,320 L 480,320 L 480,384 L 128,384 L 128,464 L 16,352 L 128,240 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tab, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L0,96L0,160L 352,160L 352,256L 480,128L 352,0 \tzM 480,0L 480,128L 480,256L 512,256L 512,0 \tzM 160,256L 32,384L 160,512L 160,416L 512,416L 512,352L 160,352 \tzM0,256L0,512L 32,512L 32,384L 32,256 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backspace, delete, remove\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,368M 448,160 L 202.51,160 L 90.51,272 L 202.51,384 L 448,384 L 448,160 Z M 512,96 L 512,96 L 512,448 L 176,448 L 0,272 L 176,96 L 512,96 ZM 370.744,192 L 416,192 L 416,237.256 L 381.256,272 L 416,306.744 L 416,352 L 370.744,352 L 336,317.256 L 301.256,352 L 256,352 L 256,306.745 L 290.745,272 L 256,237.255 L 256,192 L 301.255,192 L 336,226.745 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backspace, delete, remove\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,368M 176,96L0,272l 176,176l 336,0 L 512,96 L 176,96 z M 448,205.255L 381.256,272L 448,338.744L 448,384 l-45.256,0 L 336,317.256L 269.256,384L 224,384 l0-45.255 \n\tL 290.745,272L 224,205.255L 224,160 l 45.255,0 L 336,226.745L 402.744,160L 448,160 L 448,205.255 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backspace, delete, remove\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128L 197.255,128 l-144,144l 144,144L 480,416 L 480,128 z M 512,96L 512,96l0,352 L 176,448 L0,272L 176,96L 512,96 z M 416,322.301L 416,352 l-29.699,0 \n\tL 336,301.699L 285.699,352L 256,352 l0,0l0-29.698 L 306.302,272L 256,221.698L 256,192 l0,0l 29.699,0 L 336,242.301L 386.301,192L 416,192 l0,29.699 L 365.699,272\n\tL 416,322.301z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"esc, escape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 233.019,278.981 L 73.019,118.981 L 0,192 L 0,0 L 192,0 L 118.981,73.019 L 278.981,233.019 ZM 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 L 64,256 C 64,362.039 149.961,448 256,448 C 362.039,448 448,362.039 448,256 C 448,149.961 362.039,64 256,64 L 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, arrow, return\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32L 416,32L 416,256L 224,256L 288,128L0,304L 288,480L 224,352L 512,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, arrow, return\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32L 416,32L 416,256L 176,256L 256,176L 192,112L0,304L 192,496L 256,432L 176,352L 512,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu-close, arrows, contract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,128L 256,256L 384,128 \tzM 384,416L 256,288L 128,416 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu-close, arrows, contract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,96L 256,224L 384,96 \tzM 384,448L 256,320L 128,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, down, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,128L 256,256L 384,128 \tzM 127.998,287.998L 255.998,415.998L 383.998,287.998 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, arrow, options, select\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,224L 256,96L 128,224 \tzM 128,320L 256,448L 384,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,160L 512,160L 512,352L 480,352zM 416,160L 448,160L 448,352L 416,352zM 352,160L 384,160L 384,352L 352,352zM0,256L 224,32L 224,160L 320,160L 320,352L 224,352L 224,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,0L 352,0L 352,32L 160,32zM 160,64L 352,64L 352,96L 160,96zM 160,128L 352,128L 352,160L 160,160zM 256,512L 480,288L 352,288L 352,192L 160,192L 160,288L 32,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,160L 32,160L 32,352L0,352zM 64,160L 96,160L 96,352L 64,352zM 128,160L 160,160L 160,352L 128,352zM 512,256L 288,32L 288,160L 192,160L 192,352L 288,352L 288,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,480L 352,480L 352,512L 160,512zM 160,416L 352,416L 352,448L 160,448zM 160,352L 352,352L 352,384L 160,384zM 256,0L 480,224L 352,224L 352,320L 160,320L 160,224L 32,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 128,256L 384,512L 256.001,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,128L 256,384L 512,128L 256,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,512L 384,256L 128,0L 256,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,384L 256,128L0,384L 256,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 256,448\n\tc 106.039,0 192-85.961 192-192c0-106.039, -85.961-192, -192-192c -106.039,0, -192,85.961, -192,192C 64,362.039, 149.961,448, 256,448zM 224,368 L 224,288 L 384,288 L 384,224 L 224,224 L 224,144 L 112,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,114.615, 114.615,0, 256,0s 256,114.615, 256,256s -114.615,256, -256,256S 0,397.385, 0,256z M 448,256\n\tc 0-106.039 -85.961-192 -192-192c-106.039,0, -192,85.961, -192,192c 0,106.039, 85.961,192, 192,192C 362.039,448, 448,362.039, 448,256zM 368,288 L 288,288 L 288,128 L 224,128 L 224,288 L 144,288 L 256,400 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 288,368 L 288,288 L 128,288 L 128,224 L 288,224 L 288,144 L 400,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,397.385, 114.615,512, 256,512s 256-114.615, 256-256s -114.615-256, -256-256S 0,114.615, 0,256z M 448,256\n\tc 0,106.039 -85.961,192 -192,192c-106.039,0, -192-85.961, -192-192c 0-106.039, 85.961-192, 192-192C 362.039,64, 448,149.961, 448,256zM 368,224 L 288,224 L 288,384 L 224,384 L 224,224 L 144,224 L 256,112 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 224,368l0-80 L 384,288 l0-64 l-160,0 l0-80 \n\tl -112,112L 224,368z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,114.615, 114.615,0, 256,0s 256,114.615, 256,256s -114.615,256, -256,256S 0,397.385, 0,256z M 368,288l-80,0 L 288,128 l-64,0 l0,160 l-80,0 \n\tl 112,112L 368,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,368l0-80 L 128,288 l0-64 l 160,0 l0-80 \n\tl 112,112L 288,368z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,256C 0,397.385, 114.615,512, 256,512s 256-114.615, 256-256s -114.615-256, -256-256S 0,114.615, 0,256z M 368,224l-80,0 L 288,384 l-64,0 l0-160 l-80,0 \n\tl 112-112L 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 512,480L 416,256L 512,32 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512L 480,0L 256,96L 32,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L0,32L 96,256L0,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L 32,512L 256,416L 480,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, arrow, previous, backward\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,0L0,256l 224,256L 224,325.774 l 288,58.225L 512,128 l-288,58.227L 224,0 z M 480,165.774l0,180.45 l-288-58.226l0,138.833 L 42.522,256\n\tL 192,85.166L 192,224 L 480,165.774z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,288l 256,224l 256-224L 325.776,288 L 384,0L 128,0 l 58.227,288L0,288 z M 165.775,32l 180.451,0 L 288,320l 138.833,0 L 256,469.479L 85.166,320L 224,320 \n\tL 165.775,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,512l 224-256L 288,0l0,186.225 L0,128l0,256 l 288-58.227L 288,512 z M 32,346.226L 32,165.774 L 320,224L 320,85.167 L 469.479,256L 320,426.834L 320,288 \n\tL 32,346.226z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224L 256,0L0,224l 186.225,0 L 128,512l 256,0 l-58.226-288L 512,224 z M 346.226,480L 165.775,480 L 224,192L 85.167,192 L 256,42.521L 426.834,192\n\tL 288,192 L 346.226,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,480L 352,480L 192,320L 512,320L 512,192L 192,192L 352,32L 224,32L0,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,480L 352,480L 448,384L 224,384L 480,128L 384,32L 128,288L 128,64L 32,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,288L 480,160L 320,320L 320,0L 192,0L 192.001,320.001L 32,160L 32,288.001L 256.001,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,480L 480,160L 384,64L 384,288L 128,32L 32,128L 288,384L 64.001,384L 160.001,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,32L 160,32L 320,192L0,192L0,320L 320,320L 160,480L 288,480L 512,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,32L 160,32L 64,128L 288,128L 32,384L 128,480L 384,224L 384,448L 480,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,224L 32,352L 192,192L 192,512L 320,512L 320,192L 480,352L 480,224L 256,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,32L 32,352L 128,448L 128,224L 384,480L 480,384L 224,128L 448,128L 352,32 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,255.998L 128,312L 128,416L0,256.001L 128,96L 128,200.001 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512L 288,512L 192,416L 512,0L 96,320L0,226.692 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.998,0L 312,384L 416,384L 256.001,512L 96,384L 200.001,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,512L 512,224L 416.001,320L0,0L 320,416L 226.692,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256.002L 384,200L 384,96L 512,255.999L 384,416L 384,311.999 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,0L 224,0L 320,96L0,512L 416,192L 512,285.309 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.002,512L 200,128L 96,128L 255.999,0L 416,128L 311.999,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L0,288L 96,192L 512,512L 192,96L 285.309,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, previous, left, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,255.999L 256,512L 256,352 l 255.999,0 L 512,160L 256,160 L 256,0 L0,255.999z M 76,225.254l 8-8l0,77.49 l-8-8L 76,225.254 z M 68,278.744l-8-8l0-29.49 l 8-8\n\tL 68,278.744 z M 92,209.254l 8-8l0,109.491 l-8-8L 92,209.254 z M 108,193.254l 8-8l0,141.491 l-8-8L 108,193.254 z M 124,177.254l 8-8l0,173.491 l-8-8L 124,177.254 z\n\t M 140,161.254l 8-7.999l0,205.49 l-8-8L 140,161.254 z M 156,145.255l 8-8l0,237.49 l-8-8L 156,145.255 z M 172,129.255l 8-8l0,269.49 l-8-8L 172,129.255 z\n\t M 188,113.255l 8-8l0,301.49 l-8-8L 188,113.255 z M 204,97.255l 8-8l0,333.49 l-8-8L 204,97.255 z M 52,249.254l0,13.49 l-6.745-6.745L 52,249.254z M 236,320\n\tL 236,192 l 8,0 l0,128 L 236,320 z M 252,320L 252,192 l 8,0 l0,128 L 252,320 z M 268,320L 268,192 l 8,0 l0,128 L 268,320 z M 284,320L 284,192 l 8,0 l0,128 L 284,320 z M 300,320L 300,192 l 8,0 l0,128 L 300,320 z M 316,320L 316,192 l 8,0 \n\tl0,128 L 316,320 z M 332,320L 332,192 l 8,0 l0,128 L 332,320 z M 348,320L 348,192 l 8,0 l0,128 L 348,320 z M 364,320L 364,192 l 8,0 l0,128 L 364,320 z M 380,320L 380,192 l 8,0 l0,128 L 380,320 z M 396,320L 396,192 l 8,0 l0,128 \n\tL 396,320 z M 412,320L 412,192 l 8,0 l0,128 L 412,320 z M 428,320L 428,192 l 8,0 l0,128 L 428,320 z M 444,320L 444,192 l 8,0 l0,128 L 444,320 z M 460,320L 460,192 l 8,0 l0,128 L 460,320 z M 479.999,320L 476,320 L 476,192 l 4,0 \n\tL 479.999,320z M 224,192l 4,0 l0,128 l-4,0 l0,114.745 l-4-4L 220,81.255 l 4-4L 224,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-bottom, download, bottom, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.999,512L 512,256L 352,256 L 352,0.001 L 160,0l0,256 L0,256 L 255.999,512z M 225.254,436l-8-8l 77.49,0 l-8,8L 225.254,436 z M 278.744,444l-8,8l-29.49,0 \n\tl-8-8L 278.744,444 z M 209.254,420l-8-8l 109.491,0 l-8,8L 209.254,420 z M 193.254,404l-8-8l 141.491,0 l-8,8L 193.254,404 z M 177.254,388l-8-8l 173.491,0 l-8,8\n\tL 177.254,388 z M 161.254,372l-7.999-8l 205.49,0 l-8,8L 161.254,372 z M 145.255,356l-8-8l 237.49,0 l-8,8L 145.255,356 z M 129.255,340l-8-8l 269.49,0 l-8,8\n\tL 129.255,340 z M 113.255,324l-8-8l 301.49,0 l-8,8L 113.255,324 z M 97.255,308l-8-8l 333.49,0 l-8,8L 97.255,308 z M 249.254,460l 13.49,0 l-6.745,6.745\n\tL 249.254,460z M 320,276L 192,276 l0-8 l 128,0 L 320,276 z M 320,260L 192,260 l0-8 l 128,0 L 320,260 z M 320,244L 192,244 l0-8 l 128,0 L 320,244 z M 320,228L 192,228 l0-8 l 128,0 L 320,228 z M 320,212L 192,212 \n\tl0-8 l 128,0 L 320,212 z M 320,196L 192,196 l0-8 l 128,0 L 320,196 z M 320,180L 192,180 l0-8 l 128,0 L 320,180 z M 320,164L 192,164 l0-8 l 128,0 L 320,164 z M 320,148L 192,148 l0-8 l 128,0 L 320,148 z M 320,132L 192,132 \n\tl0-8 l 128,0 L 320,132 z M 320,116L 192,116 l0-8 l 128,0 L 320,116 z M 320,100L 192,100 l0-8 l 128,0 L 320,100 z M 320,84L 192,84 l0-8 l 128,0 L 320,84 z M 320,68L 192,68 l0-8 l 128,0 L 320,68 z M 320,52L 192,52 l0-8 l 128,0 \n\tL 320,52 z M 320,32.001L 320,36 L 192,36 l0-4 L 320,32.001z M 192,288l0-4 l 128,0 l0,4 l 114.745,0 l-4,4L 81.255,292 l-4-4L 192,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, next, right, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256.001L 256,0l0,160 L 0.001,160 L0,352l 256,0 l0,160 L 512,256.001z M 436,286.746l-8,8l0-77.49 l 8,8L 436,286.746 z M 444,233.256l 8,8l0,29.49 \n\tl-8,8L 444,233.256 z M 420,302.746l-8,8L 412,201.255 l 8,8L 420,302.746 z M 404,318.746l-8,8L 396,185.255 l 8,8L 404,318.746 z M 388,334.746l-8,8L 380,169.255 l 8,8\n\tL 388,334.746 z M 372,350.746l-8,7.999l0-205.49 l 8,8L 372,350.746 z M 356,366.745l-8,8l0-237.49 l 8,8L 356,366.745 z M 340,382.745l-8,8l0-269.49 l 8,8\n\tL 340,382.745 z M 324,398.745l-8,8l0-301.49 l 8,8L 324,398.745 z M 308,414.745l-8,8L 300,89.255 l 8,8L 308,414.745 z M 460,262.746l0-13.49 l 6.745,6.745\n\tL 460,262.746z M 276,192l0,128 l-8,0 L 268,192 L 276,192 z M 260,192l0,128 l-8,0 L 252,192 L 260,192 z M 244,192l0,128 l-8,0 L 236,192 L 244,192 z M 228,192l0,128 l-8,0 L 220,192 L 228,192 z M 212,192l0,128 \n\tl-8,0 L 204,192 L 212,192 z M 196,192l0,128 l-8,0 L 188,192 L 196,192 z M 180,192l0,128 l-8,0 L 172,192 L 180,192 z M 164,192l0,128 l-8,0 L 156,192 L 164,192 z M 148,192l0,128 l-8,0 L 140,192 L 148,192 z M 132,192l0,128 \n\tl-8,0 L 124,192 L 132,192 z M 116,192l0,128 l-8,0 L 108,192 L 116,192 z M 100,192l0,128 l-8,0 L 92,192 L 100,192 z M 84,192l0,128 l-8,0 L 76,192 L 84,192 z M 68,192l0,128 l-8,0 L 60,192 L 68,192 z M 52,192l0,128 l-8,0 L 44,192 \n\tL 52,192 z M 32.001,192L 36,192 l0,128 l-4,0 L 32.001,192z M 288,320l-4,0 L 284,192 l 4,0 L 288,77.255 l 4,4l0,349.49 l-4,4L 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,0L0,256l 160,0 l0,255.999 L 352,512L 352,256 l 160,0 L 256.001,0z M 286.746,76l 8,8l-77.49,0 l 8-8L 286.746,76 z M 233.256,68l 8-8l 29.49,0 l 8,8\n\tL 233.256,68 z M 302.746,92l 8,8L 201.255,100 l 8-8L 302.746,92 z M 318.746,108l 8,8L 185.255,116 l 8-8L 318.746,108 z M 334.746,124l 8,8L 169.255,132 l 8-8L 334.746,124 z\n\t M 350.746,140l 7.999,8l-205.49,0 l 8-8L 350.746,140 z M 366.745,156l 8,8l-237.49,0 l 8-8L 366.745,156 z M 382.745,172l 8,8l-269.49,0 l 8-8L 382.745,172 z\n\t M 398.745,188l 8,8l-301.49,0 l 8-8L 398.745,188 z M 414.745,204l 8,8L 89.255,212 l 8-8L 414.745,204 z M 262.746,52l-13.49,0 l 6.745-6.745L 262.746,52z M 192,236\n\tl 128,0 l0,8 L 192,244 L 192,236 z M 192,252l 128,0 l0,8 L 192,260 L 192,252 z M 192,268l 128,0 l0,8 L 192,276 L 192,268 z M 192,284l 128,0 l0,8 L 192,292 L 192,284 z M 192,300l 128,0 l0,8 L 192,308 L 192,300 z M 192,316l 128,0 l0,8 \n\tL 192,324 L 192,316 z M 192,332l 128,0 l0,8 L 192,340 L 192,332 z M 192,348l 128,0 l0,8 L 192,356 L 192,348 z M 192,364l 128,0 l0,8 L 192,372 L 192,364 z M 192,380l 128,0 l0,8 L 192,388 L 192,380 z M 192,396l 128,0 l0,8 L 192,404 \n\tL 192,396 z M 192,412l 128,0 l0,8 L 192,420 L 192,412 z M 192,428l 128,0 l0,8 L 192,436 L 192,428 z M 192,444l 128,0 l0,8 L 192,452 L 192,444 z M 192,460l 128,0 l0,8 L 192,468 L 192,460 z M 192,479.999L 192,476 l 128,0 l0,4 \n\tL 192,479.999z M 320,224l0,4 L 192,228 l0-4 L 77.255,224 l 4-4l 349.49,0 l 4,4L 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, previous, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,255.999L 256,512L 256,352 l 255.999,0 L 512,160L 256,160 L 256,0 L0,255.999z M 224,192l 256,0 l-0.001,128L 224,320 l0,114.745 L 45.255,255.999L 224,77.255\n\tL 224,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.999,512L 512,256L 352,256 L 352,0.001 L 160,0l0,256 L0,256 L 255.999,512z M 192,288L 192,32 l 128,0.001L 320,288 l 114.745,0 L 255.999,466.745L 77.255,288\n\tL 192,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, next, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256.001L 256,0l0,160 L 0.001,160 L0,352l 256,0 l0,160 L 512,256.001z M 288,320L 32,320 l 0.001-128L 288,192 L 288,77.255 l 178.745,178.746L 288,434.745\n\tL 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,0L0,256l 160,0 l0,255.999 L 352,512L 352,256 l 160,0 L 256.001,0z M 320,224l0,256 l-128-0.001L 192,224 L 77.255,224 L 256.001,45.255L 434.745,224\n\tL 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.001,512L 512,512 L 512,0 L0,0 L 0.001,512z M 448,64l0,384 L 64.001,448 L 64,64L 448,64 z M 224,368L 112,256l 112-112l0,80 l 160,0 l0,64 L 224,288 L 224,368 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,512L 512,0 L0,0 l0,512 L 512,512 z M 64,64l 384,0 l0,384 L 64,448 L 64,64 zM 374.627,182.628 L 246.628,310.628 L 320,384 L 128,384 L 128,192 L 201.372,265.372 L 329.372,137.372 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,511.999L 0,0 L 512,0 L 512,512 L 0,511.999z M 448,64l-384,0 L 64,447.999 L 448,448L 448,64 z M 144,288L 256,400l 112-112l-80,0 l0-160 l-64,0 L 224,288 L 144,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.999,0L0,0 l0,512 l 512,0 L 511.999,0z M 64,448L 64,64 l 383.999,0 L 448,448L 64,448 zM 182.628,137.373 L 310.627,265.372 L 384,192 L 384,384 L 192,384 L 265.371,310.628 L 137.372,182.628 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 511.999,512L 0,512 L 0,0 L 512,0 L 511.999,512z M 64,64l0,384 L 447.999,448 L 448,64L 64,64 z M 288,368L 400,256l -112-112l0,80 l-160,0 l0,64 L 288,288 L 288,368 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 315.875,150.871L 361.13,196.126L 182.633,374.623L 137.377,329.368zM0,0l0,512 l 512,0 L 512,0 L0,0 z M 448,448L 64,448 L 64,64 l 384,0 L 448,448 zM 384,320 L 192,128 L 384,128 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,0.001L 0,512 L 512,512 L 512,0 L 0,0.001z M 448,448l-384,0 L 64,64.001 L 448,64L 448,448 z M 144,224L 256,112l 112,112l-80,0 l0,160 l-64,0 L 224,224 L 144,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512l 512,0 L 512,0 L0,0 L0,512 z M 448,64l0,384 L 64,448 L 64,64 L 448,64 zM 329.372,374.627 L 201.372,246.628 L 128,320 L 128,128 L 320,128 L 246.628,201.372 L 374.628,329.372 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, vertically\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,16 L 400,160 L 320,160 L 320,352 L 400,352 L 256,496 L 112,352 L 192,352 L 192,160 L 112,160 L 256,16 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, horizontally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,256 L 352,400 L 352,320 L 160,320 L 160,400 L 16,256 L 160,112 L 160,192 L 352,192 L 352,112 L 496,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,0L0,256L 85.573,170.427L 341.573,426.427L 256,512L 512,512L 512,256L 426.427,341.573L 170.427,85.573 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L 512,0L 256,0L 341.573,85.573L 85.573,341.573L0,256L0,512L 256,512L 170.427,426.427L 426.427,170.427 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, vertically\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 329.372,361.372L 288,402.745l0-293.49 l 41.372,41.373C 335.621,156.876, 343.811,160, 352,160s 16.379-3.124, 22.628-9.373\n\tc 12.496-12.497, 12.496-32.758,0-45.255l-96-96c-12.498-12.497-32.758-12.497-45.255,0l-96,96c-12.497,12.497-12.497,32.758,0,45.255\n\tc 12.497,12.497, 32.758,12.497, 45.255,0L 224,109.255l0,293.49 l-41.373-41.373c-12.497-12.496-32.758-12.496-45.255,0\n\tc-12.497,12.497-12.497,32.759,0,45.256l 96,96C 239.621,508.876, 247.811,512, 256,512s 16.379-3.124, 22.628-9.372l 96-96\n\tc 12.496-12.497, 12.496-32.759,0-45.256C 362.13,348.876, 341.87,348.876, 329.372,361.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, horizontally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 361.372,182.628L 402.745,224l-293.49,0 l 41.373-41.372C 156.876,176.379, 160,168.189, 160,160s-3.124-16.379-9.373-22.628\n\tc-12.497-12.496-32.758-12.496-45.255,0l-96,96c-12.497,12.498-12.497,32.759,0,45.255l 96,96c 12.497,12.497, 32.758,12.497, 45.255,0\n\tc 12.497-12.496, 12.497-32.758,0-45.254L 109.255,288l 293.49,0 l-41.373,41.372c-12.496,12.497-12.496,32.758,0,45.255\n\tc 12.497,12.497, 32.759,12.497, 45.256,0l 96-96C 508.876,272.379, 512,264.189, 512,256s-3.124-16.379-9.372-22.628l-96-96\n\tc-12.497-12.496-32.759-12.496-45.256,0C 348.876,149.87, 348.876,170.13, 361.372,182.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,224c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 64,109.256 L 402.744,448L 288,448 c-17.673,0-32,14.326-32,32\n\tc0,17.673, 14.327,32, 32,32l 224,0 L 512,288 c0-17.674-14.327-32-32-32s-32,14.326-32,32l0,114.744 L 109.255,64L 224,64 c 17.673,0, 32-14.327, 32-32\n\tS 241.673,0, 224,0L0,0 L0,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow, resize, diagonally\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,0c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 114.744,0 L 64,402.744L 64,288 c0-17.673-14.327-32-32-32S0,270.327,0,288l0,224 \n\tl 224,0 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 109.255,448 L 448,109.255L 448,224 c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 512,0 L 288,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 105.372,278.628\n\t\tl 128.001,128C 239.621,412.876, 247.811,416, 256,416s 16.379-3.124 22.627-9.372c 12.497-12.497 12.497-32.759,0-45.256L 205.255,288\n\t\tL 384,288 c 17.673,0 32-14.327 32-32c0-17.673, -14.327-32, -32-32l-178.745,0 l 73.373-73.373c 12.497-12.497 12.497-32.758,0-45.255\n\t\tc -12.497-12.497, -32.758-12.497, -45.254,0l -128.001,128C 92.876,245.869, 92.876,266.131, 105.372,278.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 397.385,512, 512,397.385, 512,256s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,512, 256,512z M 128,192\n\t\tc0-17.673 14.327-32 32-32s 32,14.327 32,32l0,82.745 L 329.373,137.372C 335.621,131.124, 343.811,128, 352,128\n\t\ts 16.379,3.124 22.627,9.372c 12.497,12.497 12.497,32.759,0,45.256L 237.256,320L 320,320 c 17.673,0 32,14.327 32,32s -14.327,32, -32,32\n\t\tl-192,0 L 128,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,114.615, 397.385,0, 256,0s -256,114.615, -256,256s 114.615,256, 256,256S 512,397.385, 512,256z M 233.372,406.628\n\t\tl -128-128.001C 99.124,272.379, 96,264.189, 96,256s 3.124-16.379 9.372-22.627c 12.497-12.497 32.759-12.497, 45.256,0L 224,306.745\n\t\tL 224,128 c 0-17.673 14.327-32 32-32c 17.673,0, 32,14.327, 32,32l0,178.745 l 73.373-73.373c 12.497-12.497 32.758-12.497, 45.255,0\n\t\tc 12.497,12.497, 12.497,32.758, 0,45.254l -128,128.001C 266.131,419.124, 245.869,419.124, 233.372,406.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 114.615,512, 0,397.385, 0,256s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,512, 256,512z M 384,192\n\t\tc0-17.673 -14.327-32 -32-32s -32,14.327 -32,32l0,82.745 L 182.627,137.372C 176.379,131.124, 168.189,128, 160,128\n\t\ts -16.379,3.124 -22.627,9.372c -12.497,12.497 -12.497,32.759,0,45.256L 274.744,320L 192,320 c -17.673,0 -32,14.327 -32,32s 14.327,32, 32,32\n\t\tl 192,0 L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 406.628,278.628\n\t\tl-128.001,128C 272.379,412.876, 264.189,416, 256,416s-16.379-3.124-22.627-9.372c-12.497-12.497-12.497-32.759,0-45.256L 306.745,288\n\t\tL 128,288 c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32l 178.745,0 l-73.373-73.373c-12.497-12.497-12.497-32.758,0-45.255\n\t\tc 12.497-12.497, 32.758-12.497, 45.254,0l 128.001,128C 419.124,245.869, 419.124,266.131, 406.628,278.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 384,320\n\t\tc0,17.673-14.327,32-32,32s-32-14.327-32-32l0-82.745 L 182.627,374.628C 176.379,380.876, 168.189,384, 160,384\n\t\ts-16.379-3.124-22.627-9.372c-12.497-12.497-12.497-32.759,0-45.256L 274.744,192L 192,192 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32\n\t\tl 192,0 L 384,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,397.385, 397.385,512, 256,512s -256-114.615, -256-256s 114.615-256, 256-256S 512,114.615, 512,256z M 233.372,105.372\n\t\tl -128,128.001C 99.124,239.621, 96,247.811, 96,256s 3.124,16.379 9.372,22.627c 12.497,12.497 32.759,12.497, 45.256,0L 224,205.255\n\t\tL 224,384 c 0,17.673 14.327,32 32,32c 17.673,0, 32-14.327, 32-32l0-178.745 l 73.373,73.373c 12.497,12.497 32.758,12.497, 45.255,0\n\t\tc 12.497-12.497, 12.497-32.758, 0-45.254l -128-128.001C 266.131,92.876, 245.869,92.876, 233.372,105.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 128,320\n\t\tc0,17.673 14.327,32 32,32s 32-14.327 32-32l0-82.745 L 329.373,374.628C 335.621,380.876, 343.811,384, 352,384\n\t\ts 16.379-3.124 22.627-9.372c 12.497-12.497 12.497-32.759,0-45.256L 237.256,192L 320,192 c 17.673,0 32-14.327 32-32s -14.327-32, -32-32\n\t\tl-192,0 L 128,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 256,464\n\t\tc 114.875,0 208-93.125 208-208S 370.875,48, 256,48s -208,93.125, -208,208S 141.125,464, 256,464zM 105.372,233.373l 128.001-128c 12.496-12.497 32.757-12.497 45.254,0c 12.497,12.497 12.497,32.758,0,45.255L 205.255,224\n\tL 384,224 c 17.673,0 32,14.327 32,32c0,17.673, -14.327,32, -32,32l-178.745,0 l 73.373,73.372c 12.497,12.497 12.497,32.759,0,45.256\n\tC 272.379,412.876, 264.189,416, 256,416s -16.379-3.124, -22.627-9.372l -128.001-128C 92.876,266.131, 92.876,245.869, 105.372,233.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 397.385,512, 512,397.385, 512,256s -114.615-256, -256-256s -256,114.615, -256,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0 208,93.125 208,208S 370.875,464, 256,464s -208-93.125, -208-208S 141.125,48, 256,48zM 320,384c 17.673,0 32-14.327 32-32s -14.327-32, -32-32l-82.744,0 L 374.627,182.628c 12.497-12.497 12.497-32.759,0-45.256\n\tC 368.379,131.124, 360.189,128, 352,128s -16.379,3.124, -22.627,9.372L 192,274.745L 192,192 c0-17.673, -14.327-32, -32-32s -32,14.327, -32,32L 128,384 L 320,384 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,114.615, 397.385,0, 256,0s -256,114.615, -256,256s 114.615,256, 256,256S 512,397.385, 512,256z M 48,256\n\t\tc 0-114.875 93.125-208 208-208S 464,141.125, 464,256s -93.125,208, -208,208S 48,370.875, 48,256zM 278.627,406.628l 128-128.001c 12.497-12.496 12.497-32.757 0-45.254c -12.497-12.497 -32.758-12.497,-45.255,0L 288,306.745\n\tL 288,128 c 0-17.673 -14.327-32 -32-32c-17.673,0, -32,14.327, -32,32l0,178.745 l -73.372-73.373c -12.497-12.497 -32.759-12.497,-45.256,0\n\tC 99.124,239.621, 96,247.811, 96,256s 3.124,16.379, 9.372,22.627l 128,128.001C 245.869,419.124, 266.131,419.124, 278.627,406.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512C 114.615,512, 0,397.385, 0,256s 114.615-256, 256-256s 256,114.615, 256,256S 397.385,512, 256,512z M 256,48\n\t\tc -114.875,0 -208,93.125 -208,208S 141.125,464, 256,464s 208-93.125, 208-208S 370.875,48, 256,48zM 192,384c -17.673,0 -32-14.327 -32-32s 14.327-32, 32-32l 82.744,0 L 137.373,182.628c -12.497-12.497 -12.497-32.759,0-45.256\n\tC 143.621,131.124, 151.811,128, 160,128s 16.379,3.124, 22.627,9.372L 320,274.745L 320,192 c0-17.673, 14.327-32, 32-32s 32,14.327, 32,32L 384,384 L 192,384 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 406.628,233.373l-128.001-128c-12.496-12.497-32.757-12.497-45.254,0c-12.497,12.497-12.497,32.758,0,45.255L 306.745,224\n\tL 128,224 c-17.673,0-32,14.327-32,32c0,17.673, 14.327,32, 32,32l 178.745,0 l-73.373,73.372c-12.497,12.497-12.497,32.759,0,45.256\n\tC 239.621,412.876, 247.811,416, 256,416s 16.379-3.124, 22.627-9.372l 128.001-128C 419.124,266.131, 419.124,245.869, 406.628,233.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 192,128c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 82.744,0 L 137.373,329.372c-12.497,12.497-12.497,32.759,0,45.256\n\tC 143.621,380.876, 151.811,384, 160,384s 16.379-3.124, 22.627-9.372L 320,237.255L 320,320 c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 384,128 L 192,128 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,397.385, 397.385,512, 256,512s -256-114.615, -256-256s 114.615-256, 256-256S 512,114.615, 512,256z M 48,256\n\t\tc 0,114.875 93.125,208 208,208S 464,370.875, 464,256s -93.125-208, -208-208S 48,141.125, 48,256zM 278.627,105.372l 128,128.001c 12.497,12.496 12.497,32.757 0,45.254c -12.497,12.497 -32.758,12.497,-45.255,0L 288,205.255\n\tL 288,384 c 0,17.673 -14.327,32 -32,32c-17.673,0, -32-14.327, -32-32l0-178.745 l -73.372,73.373c -12.497,12.497 -32.759,12.497,-45.256,0\n\tC 99.124,272.379, 96,264.189, 96,256s 3.124-16.379, 9.372-22.627l 128-128.001C 245.869,92.876, 266.131,92.876, 278.627,105.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 397.385,0, 512,114.615, 512,256s -114.615,256, -256,256s -256-114.615, -256-256S 114.615,0, 256,0z M 256,464\n\t\tc 114.875,0 208-93.125 208-208S 370.875,48, 256,48s -208,93.125, -208,208S 141.125,464, 256,464zM 320,128c 17.673,0 32,14.327 32,32s -14.327,32, -32,32l-82.744,0 L 374.627,329.372c 12.497,12.497 12.497,32.759,0,45.256\n\tC 368.379,380.876, 360.189,384, 352,384s -16.379-3.124, -22.627-9.372L 192,237.255L 192,320 c0,17.673, -14.327,32, -32,32s -32-14.327, -32-32L 128,128 L 320,128 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 201.373,73.373l-160,160c-12.497,12.496-12.497,32.758,0,45.254l 160,160c 12.497,12.496, 32.758,12.496, 45.255,0\n\tc 12.498-12.496, 12.498-32.758,0-45.254L 141.254,288L 448,288 c 17.673,0, 32-14.326, 32-32c0-17.673-14.327-32-32-32L 141.254,224 l 105.373-105.373\n\tC 252.875,112.379, 256,104.189, 256,96s-3.124-16.379-9.372-22.627C 234.13,60.876, 213.87,60.876, 201.373,73.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,448c 17.674,0, 32-14.326, 32-32c0-17.673-14.326-32-32-32L 173.254,384 l 265.374-265.373c 12.496-12.496, 12.496-32.758,0-45.254\n\tC 432.379,67.124, 424.189,64, 416,64s-16.379,3.124-22.627,9.373L 128,338.746L 128,224 c0-17.673-14.327-32-32-32s-32,14.327-32,32l0,224 L 288,448 z\n\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 73.373,310.627l 160,160c 12.496,12.497, 32.758,12.497, 45.255,0l 160-160c 12.496-12.497, 12.496-32.758,0-45.255\n\tc-12.497-12.497-32.758-12.497-45.255,0L 288,370.745L 288,64 c0-17.673-14.327-32-32-32s-32,14.327-32,32l0,306.745 L 118.627,265.372\n\tC 112.379,259.124, 104.189,256, 96,256s-16.379,3.124-22.627,9.372C 60.876,277.869, 60.876,298.13, 73.373,310.627z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,224c0-17.674-14.326-32-32-32c-17.673,0-32,14.326-32,32l0,114.746 L 118.627,73.372\n\tc-12.496-12.496-32.758-12.496-45.254,0C 67.124,79.621, 64,87.811, 64,96s 3.124,16.379, 9.373,22.627L 338.746,384L 224,384 \n\tc-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 224,0 L 448,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 310.627,438.627l 160-160c 12.497-12.496, 12.497-32.758,0-45.255l-160-160c-12.497-12.496-32.758-12.496-45.255,0\n\tc-12.497,12.497-12.497,32.758,0,45.255L 370.745,224L 64,224 c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 306.745,0 L 265.372,393.373\n\tC 259.124,399.621, 256,407.811, 256,416s 3.124,16.379, 9.372,22.627C 277.869,451.124, 298.13,451.124, 310.627,438.627z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416.010,64c-0.006,0-0.014,0-0.020,0L 224,64 c-17.673,0-32,14.327-32,32s 14.327,32, 32,32l 114.746,0 L 73.373,393.373\n\tc-12.497,12.496-12.497,32.758,0,45.254C 79.621,444.876, 87.811,448, 96,448s 16.379-3.124, 22.627-9.373L 384,173.254L 384,288 \n\tc0,17.673, 14.327,32, 32,32s 32-14.327, 32-32L 448,64 L 416.010,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 438.627,201.373l-160-160c-12.496-12.497-32.757-12.497-45.254,0l-160,160c-12.497,12.497-12.497,32.758,0,45.255\n\tc 12.497,12.498, 32.758,12.498, 45.255,0L 224,141.255L 224,448 c0,17.673, 14.327,32, 32,32c 17.673,0, 32-14.327, 32-32L 288,141.255 l 105.373,105.373\n\tC 399.621,252.876, 407.811,256, 416,256s 16.379-3.124, 22.627-9.373C 451.124,234.13, 451.124,213.87, 438.627,201.373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,288c0,17.674, 14.327,32, 32,32s 32-14.326, 32-32L 128,173.254 l 265.373,265.374c 12.496,12.496, 32.758,12.496, 45.254,0\n\tC 444.876,432.379, 448,424.189, 448,416s-3.124-16.379-9.373-22.627L 173.254,128L 288,128 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 64,64 \n\tL 64,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256L 256,512L 256,352L 511.999,352L 512,160L 256,160L 256,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-left, down, left, arrow, bottom left, down left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,512L 256,384L 512,128L 384,0L 128,256.001L0,128.001L0,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512L 512,256L 352,256L 352,0.001L 160,0L 160,256L0,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down-right, down, right, arrow, bottom right, down right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,128L 384,256L 128,0L0,128L 256.001,384L 128.001,512L 512,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L 256,0L 256,160L 0.001,160L0,352L 256,352L 256,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-right, up, right, arrow, top right, up right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,0L 256.001,128L0,384L 128,512L 384,256L 512,383.999L 512,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,0L0,256L 160,256L 160,511.999L 352,512L 352,256L 512,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up-left, up, left, arrow, top left, up left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,384L 128,256L 384,512L 512,384L 256,128L 383.999,0L0,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, left, previous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320.001,128L 192.001,256L 320.001,384.001 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,192L 256,320L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192.001,384L 320.001,256L 192.001,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,320L 256,192L 128,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-left, previous, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,512L 416,416L 256,256L 416,96L 320,0L 64,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-down, download, bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192L 416,96L 256,256L 96,96L0,192L 256,447.999 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, right, next\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0L 96,96L 256,256L 96,416L 192,512L 448,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-up, upload, top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,320L 96,416L 256,256L 416,416L 512,320L 256.001,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-right, first, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,416L 192,512L 448,256L 192,0L 96,96L 256,256 \tzM 512,512L 512,0L 448,0L 448,256L 448,512 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"arrow-first, first, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 320,0L 64,256L 320,512L 416,416L 256,256 \tzM0,0L0,512L 64,512L 64,256L 64,0 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"wave\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 512,128 L 576,128 L 576,384 C 576,436.935 532.935,480 480,480 C 427.065,480 384,436.935 384,384 L 384,128 C 384,110.355 369.645,96 352,96 C 334.355,96 320,110.355 320,128 L 320,384 C 320,436.935 276.935,480 224,480 C 171.065,480 128,436.935 128,384 L 128,128 C 128,110.355 113.645,96 96,96 C 78.355,96 64,110.355 64,128 L 64,384 L 0,384 L 0,128 C 0,75.065 43.065,32 96,32 C 148.935,32 192,75.065 192,128 L 192,384 C 192,401.645 206.355,416 224,416 C 241.645,416 256,401.645 256,384 L 256,128 C 256,75.065 299.065,32 352,32 C 404.935,32 448,75.065 448,128 L 448,384 C 448,401.645 462.355,416 480,416 C 497.645,416 512,401.645 512,384 L 512,128 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wave\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160 L 480,160 L 480,352 C 480,369.251 476.607,386.021 469.915,401.843 C 463.465,417.093 454.244,430.776 442.51,442.51 C 430.776,454.244 417.093,463.465 401.843,469.915 C 386.021,476.607 369.252,480 352,480 C 334.748,480 317.979,476.607 302.157,469.915 C 286.907,463.465 273.224,454.244 261.49,442.51 C 249.756,430.776 240.535,417.093 234.085,401.843 C 227.393,386.021 224,369.252 224,352 L 224,160 C 224,124.654 195.346,96 160,96 C 124.654,96 96,124.654 96,160 L 96,352 L 32,352 L 32,160 C 32,142.749 35.393,125.979 42.085,110.157 C 48.535,94.907 57.756,81.225 69.49,69.49 C 81.225,57.756 94.907,48.535 110.157,42.085 C 125.979,35.393 142.749,32 160,32 C 177.251,32 194.021,35.393 209.843,42.085 C 225.093,48.535 238.775,57.756 250.51,69.49 C 262.244,81.225 271.465,94.907 277.915,110.157 C 284.607,125.979 288,142.749 288,160 L 288,352 C 288,387.347 316.654,416 352,416 C 387.346,416 416,387.346 416,352 L 416,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shuffle, media control, random\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,352 L 384,288 L 512,384 L 384,480 L 384,416 L 292,416 C 279.379,416 266.979,409.621 259.64,399.352 L 111.533,192 L 0,192 L 0,128 L 124,128 C 136.624,128 149.025,134.381 156.363,144.653 L 208,216.945 L 259.64,144.648 C 266.979,134.379 279.379,128 292,128 L 384,128 L 384,64 L 512,160 L 384,256 L 384,192 L 304.468,192 L 247.325,272 L 304.468,352 L 384,352 ZM 111.533,352 L 145.268,304.77 L 184.593,359.826 L 156.363,399.347 C 149.025,409.619 136.624,416 124,416 L 0,416 L 0,352 L 111.533,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shuffle, media control, random\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,128L 384,0l0,96 c-65.386,0-115.376,15.604-152.825,47.704c-2.625,2.25-5.142,4.55-7.581,6.887\n\t\tc 13.76,19.082, 24.358,38.758, 33.886,57.545C 281.641,178.935, 316.507,160, 384,160l0,96 l0,0 l0,96 c-108.223,0-132.563-48.68-163.378-110.311\n\t\tc-17.153-34.306-34.89-69.78-67.796-97.985C 115.376,111.604, 65.386,96,0,96l0,64 c 108.223,0, 132.563,48.68, 163.378,110.311\n\t\tc 17.153,34.306, 34.89,69.78, 67.796,97.985C 268.624,400.396, 318.615,416, 384,416l0,96 l 128-128L 384,256L 512,128zM0,352l0,64 c 65.386,0, 115.375-15.604, 152.825-47.704c 2.625-2.249, 5.142-4.55, 7.581-6.888\n\t\tc-13.76-19.081-24.359-38.758-33.886-57.545C 102.36,333.064, 67.494,352,0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,320L 160,224L 256,224L 128,96L0,224L 96,224L 96,384L 288,384L 224,320 \tzM 416,288L 416,128L 224,128L 288,192L 352,192L 352,288L 256,288L 384,416L 512,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 437.011,74.99C 390.685,28.662, 326.693,0, 256,0C 146.256,0, 52.655,69.064, 16.251,166.094l 59.938,22.477\n\t\tC 103.491,115.798, 173.692,64, 256,64c 53.020,0, 101.010,21.5, 135.753,56.247L 320,192l 192,0 L 512,0 L 437.011,74.99zM 256,448c-53.020,0-101.013-21.496-135.756-56.244L 192,320L0,320 l0,192 l 74.997-74.997C 121.32,483.334, 185.306,512, 256,512\n\t\tc 109.745,0, 203.346-69.064, 239.75-166.094l-59.938-22.477C 408.51,396.202, 338.309,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,104 C 205.874,104 161.23,127.401 132.837,163.628 L 94.449,134.837 C 131.609,86.955 190.196,56 256,56 L 256,0 L 336,80 L 256,160 L 256,104 ZM 256,408 C 306.127,408 350.771,384.599 379.163,348.372 L 417.551,377.163 C 380.391,425.045 321.804,456 256,456 L 256,512 L 176,432 L 256,352 L 256,408 ZM 100.8,256 C 100.8,306.182 125.764,350.754 164.162,378.451 L 135.37,416.841 C 85.316,380.377 52.8,321.858 52.8,256 L 0,256 L 80,176 L 160,256 L 100.8,256 ZM 459.2,256 L 512,256 L 432,336 L 352,256 L 411.2,256 C 411.2,205.818 386.236,161.246 347.838,133.549 L 376.63,95.16 C 426.684,131.623 459.2,190.141 459.2,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,16 L 480,192 L 304,192 L 368,128 L 336,96 L 224,96 L 224,32 L 368,32 L 416,80 ZM 496,480 L 320,480 L 320,304 L 384,368 L 416,336 L 416,224 L 480,224 L 480,368 L 432,416 ZM 32,496 L 32,320 L 208,320 L 144,384 L 176,416 L 288,416 L 288,480 L 144,480 L 96,432 ZM 16,32 L 192,32 L 192,208 L 128,144 L 96,176 L 96,288 L 32,288 L 32,144 L 80,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"loop, repeat, reload, refresh, update, upgrade, synchronize, media control, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,160L 384,160L 384,256L 512,128L 384,0L 384,96L0,96L0,288L 64,288 \tzM 448,352L 128,352L 128,256L0,384L 128,512L 128,416L 512,416L 512,224L 448,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 192,160L 96,160L 96,352L 352,96 \tzM 477.088,34.912L 34.912,477.088L 69.824,512L 210.912,370.912L 352,512L 352,229.823L 512,69.823 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,160 L 96,160 L 256,0 L 256,512 L 96,352 L 0,352 L 0,160 Z M 458.426,256 L 512,309.574 L 512,352 L 469.574,352 L 416,298.426 L 362.426,352 L 320,352 L 320,309.574 L 373.574,256 L 320,202.426 L 320,160 L 362.426,160 L 416,213.574 L 469.574,160 L 512,160 L 512,202.426 L 458.426,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume0, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,160 L 96,160 L 256,0 L 256,512 L 96,352 L 0,352 L 0,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume1, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume2, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume3, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,224L 512,224L 512,288L 288,288zM 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume4, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128L 512,128L 512,192L 288,192zM 288,224L 512,224L 512,288L 288,288zM 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume5, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,32L 512,32L 512,96L 288,96zM 288,128L 512,128L 512,192L 288,192zM 288,224L 512,224L 512,288L 288,288zM 288,320L 512,320L 512,384L 288,384zM 288,416L 512,416L 512,480L 288,480zM0,160L0,352L 96,352L 256,512L 256,0L 96,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-decrease, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 zM 256,224L 512,224L 512,288L 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-increase, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 zM 512,288 L 416,288 L 416,384 L 352,384 L 352,288 L 256,288 L 256,224 L 352,224 L 352,128 L 416,128 L 416,224 L 512,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,309.574 L 480,352 L 437.574,352 L 384,298.426 L 330.426,352 L 288,352 L 288,309.574 L 341.574,256 L 288,202.426 L 288,160 L 330.426,160 L 384,213.574 L 437.574,160 L 480,160 L 480,202.426 L 426.426,256 ZM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-low, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-medium, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"volume-high, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.020,461.020c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.373-9.372-24.568,0-33.941\n\t\tC 471.868,376.229, 496.001,317.97, 496.001,256c0-61.969-24.133-120.229-67.952-164.049c-9.372-9.373-9.372-24.569,0-33.941\n\t\tc 9.372-9.372, 24.569-9.372, 33.941,0c 52.885,52.886, 82.011,123.2, 82.011,197.99c0,74.791-29.126,145.104-82.011,197.99\n\t\tC 457.304,458.677, 451.162,461.020, 445.020,461.020zM 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 214.082,31.959c-3.802,0-8.433,2.392-13.416,7.375L 80,160L0,160 l0,192 l 80,0 l 120.666,120.665c 4.983,4.982, 9.615,7.376, 13.417,7.376\n\tc 5.99,0, 9.918-5.938, 9.918-17.041L 224.001,49 C 224,37.898, 220.070,31.959, 214.082,31.959z M 160,364.117L 99.882,304L 64,304 l0-96 l 35.882,0 L 160,147.882\n\tL 160,364.117 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-decrease, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959 C 220.070,31.959 224,37.898 224.001,49 L 224.001,463 C 224.001,474.103 220.073,480.041 214.083,480.041 C 210.281,480.041 205.649,477.647 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 C 205.649,34.351 210.28,31.959 214.082,31.959 ZM 256,224L 512,224L 512,288L 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-increase, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 214.082,31.959 C 220.070,31.959 224,37.898 224.001,49 L 224.001,463 C 224.001,474.103 220.073,480.041 214.083,480.041 C 210.281,480.041 205.649,477.647 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 C 205.649,34.351 210.28,31.959 214.082,31.959 ZM 512,288 L 416,288 L 416,384 L 352,384 L 352,288 L 256,288 L 256,224 L 352,224 L 352,128 L 416,128 L 416,224 L 512,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 ZM 480,309.574 L 480,352 L 437.574,352 L 384,298.426 L 330.426,352 L 288,352 L 288,309.574 L 341.574,256 L 288,202.426 L 288,160 L 330.426,160 L 384,213.574 L 437.574,160 L 480,160 L 480,202.426 L 426.426,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-mute, speaker, media control, audio, mute\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-low, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"volume-medium, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"volume-high, speaker, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.020,461.020c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.373-9.372-24.568,0-33.941\n\t\tC 471.868,376.229, 496.001,317.97, 496.001,256c0-61.969-24.133-120.229-67.952-164.049c-9.372-9.373-9.372-24.569,0-33.941\n\t\tc 9.372-9.372, 24.569-9.372, 33.941,0c 52.885,52.886, 82.011,123.2, 82.011,197.99c0,74.791-29.126,145.104-82.011,197.99\n\t\tC 457.304,458.677, 451.162,461.020, 445.020,461.020zM 359.765,415.765c-6.143,0-12.284-2.343-16.971-7.029c-9.372-9.372-9.372-24.568,0-33.941\n\t\tc 65.503-65.503, 65.503-172.085,0-237.588c-9.372-9.373-9.372-24.569,0-33.941c 9.372-9.371, 24.569-9.372, 33.941,0\n\t\tC 417.532,144.062, 440,198.304, 440,256c0,57.695-22.468,111.938-63.265,152.735C 372.049,413.422, 365.907,415.765, 359.765,415.765zM 274.51,370.51c-6.143,0-12.284-2.343-16.971-7.029c-9.373-9.373-9.373-24.568,0-33.941\n\t\tc 40.55-40.55, 40.55-106.529,0-147.078c-9.373-9.373-9.373-24.569,0-33.941c 9.373-9.372, 24.568-9.372, 33.941,0\n\t\tc 59.265,59.265, 59.265,155.696,0,214.961C 286.794,368.167, 280.652,370.51, 274.51,370.51zM 200.666,39.334 C 213.5,26.5 224,30.85 224,49 L 224,463 C 224,481.15 213.5,485.499 200.666,472.665 L 80,352 L 0,352 L 0,160 L 80,160 L 200.666,39.334 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eject, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,384L 512,384L 512,448L0,448zM 256,64 L 512,320 L 0,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"next, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64 L 384,448 L 320,448 L 320,272 L 160,432 L 160,80 L 320,240 L 320,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"previous, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,448 L 128,64 L 192,64 L 192,240 L 352,80 L 352,432 L 192,272 L 192,448 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"last, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64 L 448,448 L 384,448 L 384,272 L 224,432 L 224,272 L 64,432 L 64,80 L 224,240 L 224,80 L 384,240 L 384,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"first, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,448 L 64,64 L 128,64 L 128,240 L 288,80 L 288,240 L 448,80 L 448,432 L 288,272 L 288,432 L 128,272 L 128,448 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,432 L 256,272 L 96,432 L 96,80 L 256,240 L 256,80 L 432,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,80 L 288,240 L 448,80 L 448,432 L 288,272 L 288,432 L 112,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stop, media control, audio, square\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,64L 448,64L 448,448L 64,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pause, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,64L 224,64L 224,448L 64,448zM 288,64L 448,64L 448,448L 288,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,64L 416,256L 96,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 160,176L 272,256L 160,336 zM 288,176L 400,256L 288,336 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"backward, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 352,336L 240,256L 352,176 zM 224,336L 112,256L 224,176 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stop, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 160,160L 352,160L 352,352L 160,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pause, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 160,160L 224,160L 224,352L 160,352zM 288,160L 352,160L 352,352L 288,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, media control, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 192,144L 384,256L 192,368 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32l0,224 l0,224 l 256,0 L 512,32 L 256,32 z M 480,448L 288,448 l 128-128L 416,96 L 288,64l 192,0 L 480,448 zM 128,224L0,224L0,288L 128,288L 128,352L 256,256L 128,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,320 L 384,256 L 224,256 L 224,192 L 384,192 L 384,128 L 480,224 ZM 352,288 L 352,416 L 192,416 L 192,512 L 0,416 L 0,0 L 352,0 L 352,160 L 320,160 L 320,32 L 64,32 L 192,96 L 192,384 L 320,384 L 320,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, sign in, log in, login\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256 L 32,256 L 32,192 L 192,192 L 192,128 L 288,224 L 192,320 ZM 512,0 L 512,416 L 320,512 L 320,416 L 128,416 L 128,288 L 160,288 L 160,384 L 320,384 L 320,96 L 448,32 L 160,32 L 160,160 L 128,160 L 128,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,288 L 160,288 L 160,224 L 384,224 L 384,128 L 512,256 L 384,384 ZM 320,320 L 320,512 L 0,512 L 0,0 L 320,0 L 320,192 L 288,192 L 288,64 L 128,64 L 128,448 L 288,448 L 288,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, sign in, log in, login\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0 L 480,512 L 96,512 L 96,352 L 128,352 L 128,448 L 352,448 L 352,64 L 128,64 L 128,160 L 96,160 L 96,0 ZM 192,288 L 0,288 L 0,224 L 192,224 L 192,128 L 320,256 L 192,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exit, sign out, log out, quit, close, logout\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,272L 352,128L 352,224L 160,224L 160,320L 352,320L 352,416 \tzM 416,96L 416,64 c0-17.6-14.4-32-32-32L 32,32 C 14.4,32,0,46.4,0,64l0,416 c0,17.6, 14.399,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32l0-32 L 64,448 L 64,96 \n\t\tL 416,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"enter, sign in, log in, login\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,32L 96,32 c-17.6,0-32,14.4-32,32l0,128 l 64,0 L 128,96 l 288,0 l0,352 L 128,448 l0-96 L 64,352 l0,128 c0,17.6, 14.399,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32L 480,64 \n\t\tC 480,46.4, 465.6,32, 448,32zM 192,416L 336,272L 192,128L 192,224L0,224L0,320L 192,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,160L 352,160L 352,0L 160,0L 160,160L0,160L0,352L 160,352L 160,512L 352,512L 352,352L 512,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus, minimize, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,160L 512,160L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,192L 320,192 L 320,16 c0-8.836-7.164-16-16-16l-96,0 c-8.836,0-16,7.164-16,16l0,176 L 16,192 c-8.836,0-16,7.164-16,16l0,96 \n\tc0,8.836, 7.164,16, 16,16l 176,0 l0,176 c0,8.836, 7.164,16, 16,16l 96,0 c 8.836,0, 16-7.164, 16-16L 320,320 l 176,0 c 8.836,0, 16-7.164, 16-16l0-96 \n\tC 512,199.164, 504.836,192, 496,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus, minimize, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,208l0,96 c0,8.836, 7.164,16, 16,16l 480,0 c 8.836,0, 16-7.164, 16-16l0-96 c0-8.836-7.164-16-16-16L 16,192 C 7.164,192,0,199.164,0,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spell-check, correct\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,128l 64,0 l0,96 l 32,0 L 160,32 c0-17.6-14.4-32-32-32L 64,0 C 46.4,0, 32,14.4, 32,32l0,192 l 32,0 L 64,128 z M 64,32l 64,0 l0,64 L 64,96 L 64,32 z M 480,32L 480,0 l-96,0 \n\tc-17.601,0-32,14.4-32,32l0,160 c0,17.6, 14.399,32, 32,32l 96,0 l0-32 l-96,0 L 384,32 L 480,32 z M 320,80L 320,32 c0-17.6-14.4-32-32-32l-96,0 l0,224 l 96,0 \n\tc 17.6,0, 32-14.4, 32-32l0-48 c0-17.6-4.4-32-22-32C 315.6,112, 320,97.6, 320,80z M 288,192l-64,0 l0-64 l 64,0 L 288,192 z M 288,96l-64,0 L 224,32 l 64,0 L 288,96 zM 416,288 L 208,512 L 96,368 L 137,333 L 208,407 L 384,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 438.975,107.787 L 214.724,301.201 L 195.974,317.373 L 176.042,302.638 L 74.423,227.513 L 52.682,248.944 L 194.835,400.742 L 458.905,127.432 L 438.975,107.787 Z M 440.692,56.124 L 440.692,56.124 L 465.651,80.723 L 485.581,100.368 L 512.375,126.779 L 486.233,153.836 L 222.164,427.147 L 194.406,455.876 L 167.099,426.717 L 24.946,274.919 L -0.372,247.883 L 26.006,221.882 L 47.748,200.451 L 70.887,177.642 L 97.013,196.957 L 194.148,268.768 L 414.156,79.012 L 440.692,56.124 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 491.529,32c-167.25,126.583-327.651,295.9-327.651,295.9L 48.288,224L0,273.189\n\t\t\tC 47.508,317.84, 157.581,435.788, 194.816,480C 299.611,304.91, 408.555,174.332, 512,54.923L 491.529,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 198.717,458.848l-198.934-195.8l 98.689-97.135l 100.245,98.666l 214.81-211.426l 98.689,97.135L 198.717,458.848z\n\t\t M 53.956,263.048l 144.762,142.481l 259.328-255.241l-44.518-43.816l-214.81,211.426L 98.473,219.231L 53.956,263.048z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark, tick, correct, accept, ok\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,64L 192,304L 80,192L0,272L 192,464L 512,144 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 286.745,180 L 278.745,188 L 233.255,188 L 225.254,180 ZM 310.744,156 L 201.254,156 L 193.254,148 L 318.744,148 ZM 294.745,172 L 217.254,172 L 209.254,164 L 302.744,164 ZM 326.744,140 L 185.254,140 L 177.254,132 L 334.744,132 ZM 249.255,204 L 241.255,196 L 270.745,196 L 262.745,204 ZM 241.255,316 L 249.255,308 L 262.745,308 L 270.745,316 ZM 209.254,348 L 217.254,340 L 294.745,340 L 302.744,348 ZM 185.254,372 L 326.744,372 L 334.744,380 L 177.254,380 ZM 201.254,356 L 310.744,356 L 318.744,364 L 193.254,364 ZM 233.255,324 L 278.745,324 L 286.745,332 L 225.254,332 ZM 256,32C 132.289,32, 32,132.288, 32,256s 100.289,224, 224,224c 123.712,0, 224-100.288, 224-224S 379.712,32, 256,32z M 448,256\n\t\tc0,1.336-0.021,2.668-0.049,4L 305.255,260 l 8,8l 134.364,0 c-0.164,2.678-0.378,5.345-0.65,8L 321.255,276 l 8,8L 445.98,284 \n\t\tc-0.389,2.682-0.843,5.347-1.343,8L 337.255,292 l 8.001,8l 97.694,0 c-0.626,2.684-1.303,5.353-2.043,8l-87.651,0 l 8,8l 77.226,0 \n\t\tc-0.882,2.689-1.828,5.355-2.828,8l-66.397,0 l 8,8l 55.16,0 c-1.161,2.694-2.386,5.361-3.671,8l-43.489,0 l 5.372,5.372L 388,348l 36.609,0 \n\t\tc-1.479,2.701-3.023,5.368-4.636,8L 380,356 l-8,8l 42.796,0 c-1.852,2.71-3.776,5.377-5.773,8L 364,372 l-8,8l 46.591,0 \n\t\tc-2.31,2.721-4.694,5.392-7.167,8L 348,388 l-2.628,2.628L 342.744,388l-173.49,0 l-2.627,2.627L 164,388l-47.423,0 \n\t\tc-2.473-2.608-4.858-5.279-7.167-8L 156,380 l-8-8l-45.022,0 c-1.997-2.623-3.922-5.29-5.773-8L 140,364 l-8-8L 92.026,356 \n\t\tc-1.612-2.632-3.157-5.299-4.636-8L 124,348 l-2.628-2.628l 5.372-5.372L 83.255,340 c-1.286-2.639-2.51-5.306-3.671-8l 55.16,0 l 8-8L 76.347,324 \n\t\tc-1-2.645-1.947-5.311-2.828-8l 77.226,0 l 8-8L 71.093,308 c-0.74-2.647-1.417-5.316-2.043-8l 97.695,0 l 8-8L 67.362,292 \n\t\tc-0.5-2.653-0.954-5.318-1.343-8l 116.726,0 l 8-8L 65.032,276 c-0.273-2.655-0.487-5.322-0.651-8l 134.364,0 l 8-8L 64.049,260 \n\t\tc-0.027-1.332-0.049-2.664-0.049-4s 0.021-2.668, 0.049-4l 142.696,0 l-8-8L 64.381,244 c 0.164-2.677, 0.377-5.345, 0.651-8l 125.713,0 l-8-8L 66.019,228 \n\t\tc 0.39-2.682, 0.843-5.347, 1.343-8l 107.383,0 l-8-8L 69.049,212 c 0.626-2.684, 1.303-5.352, 2.043-8l 87.653,0 l-8-8L 73.519,196 \n\t\tc 0.881-2.689, 1.829-5.355, 2.829-8l 66.399,0 l-8-8L 79.584,180 c 1.162-2.694, 2.386-5.361, 3.671-8l 43.491,0 l-5.373-5.373L 124,164L 87.391,164 \n\t\tc 1.479-2.701, 3.024-5.368, 4.636-8L 132,156 l 8-8L 97.205,148 c 1.851-2.71, 3.776-5.377, 5.773-8L 148,140 l 8-8l-46.59,0 c 2.309-2.721, 4.694-5.392, 7.167-8\n\t\tL 164,124 l 2.627-2.627l 2.627,2.627l 173.49,0 l 2.628-2.628L 348,124l 47.424,0 c 2.473,2.608, 4.857,5.279, 7.167,8L 356,132 l 8,8l 45.021,0 \n\t\tc 1.997,2.623, 3.923,5.29, 5.773,8l-42.794,0 l 8,8l 39.973,0 c 1.612,2.632, 3.157,5.299, 4.636,8l-36.608,0 l 2.627,2.627L 385.255,172l 43.489,0 \n\t\tc 1.286,2.639, 2.511,5.306, 3.672,8l-55.161,0 l-8,8l 66.398,0 c 1,2.645, 1.946,5.311, 2.828,8l-77.227,0 l-8,8l 87.652,0 \n\t\tc 0.74,2.648, 1.417,5.316, 2.043,8l-97.695,0 l-8,8l 107.383,0 c 0.5,2.653, 0.954,5.318, 1.343,8L 329.255,228 l-8,8l 125.714,0 \n\t\tc 0.272,2.655, 0.486,5.323, 0.65,8L 313.255,244 l-8,8l 142.696,0 C 447.979,253.332, 448,254.664, 448,256z M 188.934,436\n\t\tc-6.289-2.34-12.45-5.005-18.459-8l 171.050,0 c-6.010,2.995-12.171,5.66-18.459,8L 188.934,436 z M 295.231,444\n\t\tc-12.767,2.637-25.894,4-39.231,4s-26.465-1.363-39.231-4L 295.231,444 z M 156.042,420c-4.096-2.507-8.106-5.176-12.024-8l 223.963,0 \n\t\tc-3.917,2.824-7.927,5.493-12.023,8L 156.042,420 z M 133.674,404c-3.088-2.562-6.106-5.23-9.053-8L 387.38,396 \n\t\tc-2.947,2.77-5.965,5.438-9.054,8L 133.674,404 z M 323.066,76c 6.288,2.339, 12.449,5.005, 18.459,8l-171.050,0 \n\t\tc 6.009-2.995, 12.17-5.661, 18.459-8L 323.066,76 z M 216.769,68c 12.767-2.637, 25.894-4, 39.231-4s 26.465,1.363, 39.231,4L 216.769,68 z\n\t\t M 355.958,92c 4.097,2.507, 8.106,5.175, 12.023,8L 144.019,100 c 3.918-2.825, 7.928-5.493, 12.024-8L 355.958,92 z M 378.326,108\n\t\tc 3.089,2.562, 6.106,5.23, 9.054,8L 124.621,116 c 2.947-2.77, 5.965-5.438, 9.053-8L 378.326,108 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 380.628,335.372 L 335.372,380.628 L 256,301.255 L 176.627,380.627 L 131.372,335.372 L 210.745,256 L 131.373,176.627 L 176.627,131.373 L 256,210.745 L 335.372,131.372 L 380.628,176.627 L 301.255,256 L 380.628,335.372 ZM 256,74 C 207.386,74 161.682,92.931 127.307,127.307 C 92.931,161.682 74,207.386 74,256 C 74,304.614 92.932,350.318 127.307,384.693 C 161.682,419.068 207.386,438 256,438 C 304.614,438 350.318,419.068 384.693,384.693 C 419.068,350.318 438,304.614 438,256 C 438,207.386 419.068,161.682 384.693,127.307 C 350.318,92.931 304.614,74 256,74 Z M 256,32 L 256,32 C 379.712,32 480,132.288 480,256 C 480,379.712 379.712,480 256,480 C 132.289,480 32,379.712 32,256 C 32,132.288 132.289,32 256,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32C 132.289,32, 32,132.288, 32,256s 100.289,224, 224,224c 123.712,0, 224-100.288, 224-224S 379.712,32, 256,32z\n\t M 390.628,345.372l-45.256,45.256L 256,301.255l-89.373,89.372l-45.255-45.255L 210.745,256l-89.372-89.373l 45.254-45.254L 256,210.745\n\tl 89.372-89.373l 45.256,45.255L 301.255,256L 390.628,345.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 390.628,345.372 L 345.372,390.628 L 256,301.255 L 166.627,390.627 L 121.372,345.372 L 210.745,256 L 121.373,166.627 L 166.627,121.373 L 256,210.745 L 345.372,121.372 L 390.628,166.627 L 301.255,256 L 390.628,345.372 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"close, cancel, quit, remove, cross\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.331,411.33c-0.002-0.002-0.004-0.004-0.006-0.005L 352.003,256l 155.322-155.325c 0.002-0.002, 0.004-0.003, 0.006-0.005\n\t\tc 1.672-1.673, 2.881-3.627, 3.656-5.708c 2.123-5.688, 0.912-12.341-3.662-16.915L 433.952,4.674c-4.574-4.573-11.225-5.783-16.914-3.66\n\t\tc-2.080,0.775-4.035,1.984-5.709,3.655c0,0.002-0.002,0.003-0.004,0.005L 256.001,160L 100.677,4.675\n\t\tc-0.002-0.002-0.003-0.003-0.005-0.005c-1.673-1.671-3.627-2.88-5.707-3.655c-5.69-2.124-12.341-0.913-16.915,3.66L 4.676,78.049\n\t\tc-4.574,4.574-5.784,11.226-3.661,16.914c 0.776,2.080, 1.985,4.036, 3.656,5.708c 0.002,0.001, 0.003,0.003, 0.005,0.005L 160.001,256\n\t\tL 4.676,411.326c-0.001,0.002-0.003,0.003-0.004,0.005c-1.671,1.673-2.88,3.627-3.657,5.707c-2.124,5.688-0.913,12.341, 3.661,16.915\n\t\tl 73.374,73.373c 4.575,4.574, 11.226,5.784, 16.915,3.661c 2.080-0.776, 4.035-1.985, 5.708-3.656c 0.001-0.002, 0.003-0.003, 0.005-0.005\n\t\tl 155.324-155.325l 155.324,155.325c 0.002,0.001, 0.004,0.003, 0.006,0.004c 1.674,1.672, 3.627,2.881, 5.707,3.657\n\t\tc 5.689,2.123, 12.342,0.913, 16.914-3.661l 73.373-73.374c 4.574-4.574, 5.785-11.227, 3.662-16.915\n\t\tC 510.212,414.957, 509.003,413.003, 507.331,411.33z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spam, notice, notification, exclamation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,368M 368,0L 144,0 L0,144l0,224 l 144,144l 224,0 l 144-144L 512,144 L 368,0z M 288,416l-64,0 l0-64 l 64,0 L 288,416 z M 288,288l-64,0 L 224,96 l 64,0 L 288,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cancel, close, remove, delete\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368,0L 144,0 L0,144l0,224 l 144,144l 224,0 l 144-144L 512,144 L 368,0z M 392.897,368.006l-24.892,24.891c-6.846,6.845-18.046,6.845-24.89,0\n\tL 256,305.779l-87.115,87.117c-6.845,6.844-18.046,6.844-24.89,0l-24.891-24.892c-6.845-6.846-6.845-18.046,0-24.89L 206.22,256\n\tl-87.116-87.115c-6.845-6.845-6.845-18.046,0-24.89l 24.891-24.891c 6.844-6.845, 18.045-6.845, 24.89,0L 256,206.22l 87.116-87.116\n\tc 6.844-6.845, 18.044-6.845, 24.89,0l 24.891,24.891c 6.845,6.844, 6.845,18.045,0,24.89L 305.781,256l 87.116,87.116\n\tC 399.741,349.96, 399.741,361.16, 392.897,368.006zM 512,368\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark-circle, tick, correct\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 208,416L 102,278l 47-49l 59,75\n\tl 185-151l 23,23L 208,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"checkmark-circle, tick, correct\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 208,416L 102,278L 149,229L 208,304L 393,153L 416,176 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cancel-circle, close, remove, delete\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 384,173.255L 301.256,256\n\tL 384,338.744L 384,384 l-45.256,0 L 256,301.256L 173.255,384L 128,384 l0-45.256 L 210.745,256L 128,173.255L 128,128 l 45.255,0 L 256,210.745L 338.744,128L 384,128 \n\tL 384,173.255 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cancel-circle, close, remove, delete\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 352,306.744 L 352,352 L 306.744,352 L 256,301.256 L 205.255,352 L 160,352 L 160,306.744 L 210.745,256 L 160,205.255 L 160,160 L 205.255,160 L 256,210.745 L 306.744,160 L 352,160 L 352,205.255 L 301.256,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blocked, cancel, stop, forbidden, denied, banned\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,256c0,141.385, 114.615,256, 256,256c 141.386,0, 256-114.615, 256-256S 397.386,0, 256,0C 114.615,0,0,114.615,0,256z M 448,256\n\tc0,36.618-10.256,70.84-28.044,99.956L 156.045,92.044C 185.16,74.255, 219.382,64, 256,64C 362.038,64, 448,149.961, 448,256z M 64,256\n\tc0-36.618, 10.256-70.839, 28.045-99.956l 263.911,263.912C 326.839,437.745, 292.618,448, 256,448C 149.962,448, 64,362.039, 64,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"info, information\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 224,96l 64,0 l0,64 l-64,0 L 224,96 z\n\t M 320,416L 192,416 l0-32 l 32,0 L 224,256 l-32,0 l0-32 l 96,0 l0,160 l 32,0 L 320,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"info, information\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\t\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 224,128L 288,128L 288,192L 224,192zM 320,384L 192,384L 192,352L 224,352L 224,256L 192,256L 192,224L 288,224L 288,352L 320,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus-circle, minus, remove, delete, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 416,288L 96,288 l0-64 l 320,0 L 416,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"minus-circle, minus, remove, delete, subtract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 128,224L 384,224L 384,288L 128,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus-circle, plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,288l0,128 l-64,0 L 224,288 L 96,288 l0-64 \n\tl 128,0 L 224,96 l 64,0 l0,128 l 128,0 l0,64 L 288,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"plus-circle, plus, add, sum\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 384,288 L 288,288 L 288,384 L 224,384 L 224,288 L 128,288 L 128,224 L 224,224 L 224,128 L 288,128 L 288,224 L 384,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,416L 288,416L 288,512L 192,512zM 400,32 C 426.51,32 448,53.49 448,80 L 448,224 L 288,320 L 288,384 L 192,384 L 192,288 L 352,192 L 352,128 L 96,128 L 96,32 L 400,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 288,416l-64,0 l0-64 l 64,0 \n\tL 288,416 z M 384,224c0,35.29-28.71,64-64,64l-31.942,0 c-0.020,0.017-0.041,0.038-0.058,0.058L 288,320 l-64,0 l0-32 c0-35.29, 28.71-64, 64-64l 31.942,0 \n\tc 0.020-0.017, 0.041-0.038, 0.058-0.057l0-63.885 c-0.017-0.020-0.037-0.041-0.058-0.058L 160,160 L 160,96 l 160,0 c 35.29,0, 64,28.71, 64,64L 384,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,96 C 355.29,96 384,124.71 384,160 L 384,224 C 384,259.29 355.29,288 320,288 L 288.059,288 C 288.038,288.018 288.018,288.038 288,288.059 L 288,320 L 224,320 L 224,288 C 224,252.71 252.71,224 288,224 L 319.942,224 C 319.962,223.984 319.983,223.963 320,223.943 L 320,160.058 C 319.983,160.038 319.963,160.017 319.942,160 L 160,160 L 160,96 L 320,96 ZM 224,352L 288,352L 288,416L 224,416zM 256,48 C 200.441,48 148.208,69.636 108.922,108.922 C 69.636,148.208 48,200.441 48,256 C 48,311.559 69.636,363.792 108.922,403.078 C 148.208,442.364 200.441,464 256,464 C 311.559,464 363.792,442.364 403.078,403.078 C 442.364,363.792 464,311.559 464,256 C 464,200.441 442.364,148.208 403.078,108.922 C 363.792,69.636 311.559,48 256,48 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 288,416l-64,0 l0-64 l 64,0 \n\tL 288,416 z M 384,256l-96,64l-64,0 l0-32 l 96-64l0-32 L 160,192 l0-64 l 192,0 c 17.673,0, 32,14.327, 32,32L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"question, help, support\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,352L 288,352L 288,416L 224,416zM 352,128 C 369.673,128 384,142.327 384,160 L 384,256 L 288,320 L 224,320 L 224,288 L 320,224 L 320,192 L 160,192 L 160,128 L 352,128 ZM 256,48 C 200.441,48 148.208,69.636 108.922,108.922 C 69.636,148.208 48,200.441 48,256 C 48,311.559 69.636,363.792 108.922,403.078 C 148.208,442.364 200.441,464 256,464 C 311.559,464 363.792,442.364 403.078,403.078 C 442.364,363.792 464,311.559 464,256 C 464,200.441 442.364,148.208 403.078,108.922 C 363.792,69.636 311.559,48 256,48 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"notification, warning, notice, note, exclamation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,416l-64,0 l0-64 l 64,0 L 288,416 z\n\t M 288,288l-64,0 L 224,96 l 64,0 L 288,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"notification, warning, notice, note, exclamation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,48 C 200.441,48 148.208,69.636 108.922,108.922 C 69.636,148.208 48,200.441 48,256 C 48,311.559 69.636,363.792 108.922,403.078 C 148.208,442.364 200.441,464 256,464 C 311.559,464 363.792,442.364 403.078,403.078 C 442.364,363.792 464,311.559 464,256 C 464,200.441 442.364,148.208 403.078,108.922 C 363.792,69.636 311.559,48 256,48 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 ZM 224,352L 288,352L 288,416L 224,416zM 224,96L 288,96L 288,288L 224,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"warning, sign\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 504.978,457.88L 286.441,22.324C 278.070,7.441, 267.035,0, 256,0s-22.070,7.441-30.442,22.324L 7.021,457.88\n\tC-9.722,487.646, 4.521,512, 38.673,512l 434.654,0 C 507.478,512, 521.723,487.646, 504.978,457.88z M 256,448c-17.673,0-32-14.327-32-32\n\tc0-17.674, 14.327-32, 32-32c 17.674,0, 32,14.326, 32,32C 288,433.673, 273.674,448, 256,448z M 278,352l-44,0 l-10-128\n\tc0-17.673, 14.327-32, 32-32s 32,14.327, 32,32L 278,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"warning, sign\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,79.362 L 83.583,448 L 428.417,448 L 256,79.362 Z M 256,0 L 256,0 C 267.035,0 278.070,7.441 286.442,22.324 L 504.978,457.88 C 521.723,487.646 507.478,512 473.327,512 L 38.673,512 C 4.521,512 -9.722,487.646 7.021,457.88 L 225.558,22.324 C 233.93,7.441 244.965,0 256,0 ZM 224,384A32,32 2520 1 1 288,384A32,32 2520 1 1 224,384zM 256,192 C 273.673,192 288,206.327 288,224 L 278,320 L 234,320 L 224,224 C 224,206.327 238.327,192 256,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"resize, dots\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 480,32L 480,96L 416,96zM 416,160L 480,160L 480,224L 416,224zM 288,160L 352,160L 352,224L 288,224zM 416,288L 480,288L 480,352L 416,352zM 288,288L 352,288L 352,352L 288,352zM 160,288L 224,288L 224,352L 160,352zM 288,416L 352,416L 352,480L 288,480zM 160,416L 224,416L 224,480L 160,480zM 32,416L 96,416L 96,480L 32,480zM 416,416L 480,416L 480,480L 416,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"resize, dots\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128L 416,128L 416,160L 384,160zM 320,192L 352,192L 352,224L 320,224zM 320,256L 352,256L 352,288L 320,288zM 320,320L 352,320L 352,352L 320,352zM 256,256L 288,256L 288,288L 256,288zM 256,320L 288,320L 288,352L 256,352zM 192,320L 224,320L 224,352L 192,352zM 384,192L 416,192L 416,224L 384,224zM 384,256L 416,256L 416,288L 384,288zM 384,320L 416,320L 416,352L 384,352zM 384,384L 416,384L 416,416L 384,416zM 320,384L 352,384L 352,416L 320,416zM 256,384L 288,384L 288,416L 256,416zM 192,384L 224,384L 224,416L 192,416zM 128,384L 160,384L 160,416L 128,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"move, drag, arrows\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256L 384,160L 384,224L 288,224L 288,128L 352,128L 256,0L 160,128L 224,128L 224,224L 128,224L 128,160L0,256L 128,352L 128,288L 224,288L 224,384L 160,384L 256,512L 352,384L 288,384L 288,288L 384,288L 384,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-play, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 288,128L 448,224L 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-music, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 272,352 C 245.49,352 224,330.51 224,304 C 224,277.49 245.49,256 272,256 C 277.611,256 282.994,256.972 288,258.742 L 288,128 L 448,96 L 448,272 C 448,298.51 426.51,320 400,320 C 373.49,320 352,298.51 352,272 C 352,245.491 373.49,224 400,224 C 405.611,224 410.994,224.972 416,226.742 L 416,166.4 L 320,185.6 L 320,304 C 320,330.51 298.51,352 272,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, files, paper, pages, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 224,228L 448,228L 448,236L 224,236zM 224,244L 448,244L 448,252L 224,252zM 224,276L 448,276L 448,284L 224,284zM 224,260L 448,260L 448,268L 224,268zM 224,292L 448,292L 448,300L 224,300zM 224,340L 448,340L 448,348L 224,348zM 224,308L 448,308L 448,316L 224,316zM 224,324L 448,324L 448,332L 224,332zM 224,148L 448,148L 448,156L 224,156zM 224,116L 448,116L 448,124L 224,124zM 224,132L 448,132L 448,140L 224,140zM 224,100L 448,100L 448,108L 224,108zM 224,212L 448,212L 448,220L 224,220zM 224,196L 448,196L 448,204L 224,204zM 224,164L 448,164L 448,172L 224,172zM 224,180L 448,180L 448,188L 224,188z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-user, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 416,288 L 416,320 L 256,320 L 256,288 C 256,270.4 270.4,256 288,256 L 336,256 L 384,256 C 401.6,256 416,270.4 416,288 ZM 288,208A48,48 2520 1 1 384,208A48,48 2520 1 1 288,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-diamonds, files, paper, pages, cards, diamonds\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 336,352 L 256,224 L 336,96 L 416,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-hearts, files, paper, pages, cards, hearts\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 445.631,173.315 C 447.161,177.586 448,183.082 448,190 C 448,270 336,270 336,350 C 336,270 224,270 224,190 C 224,183.083 224.838,177.587 226.369,173.316 C 233.599,148.3 252.654,130 280,130 C 302.238,130 325.636,149.108 336,167.082 C 346.364,149.108 369.762,130 392,130 C 419.345,130 438.4,148.3 445.631,173.315 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-spades, files, paper, pages, cards, spades\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 336,66 C 336,156.5 448,160 448,240 C 448,266.51 426.51,288 400,288 C 373.49,288 352,266.51 352,240 L 352,272 C 352,304 352,336 384,336 L 384,352 L 288,352 L 288,336 C 320,336 320,304 320,272 L 320,240 C 320,266.51 298.51,288 272,288 C 245.49,288 224,266.51 224,240 C 224,160 336,156.5 336,66 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-clubs, files, paper, pages, cards, clubs\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 224,240A48,48 2520 1 1 320,240A48,48 2520 1 1 224,240zM 352,240A48,48 2520 1 1 448,240A48,48 2520 1 1 352,240zM 384,155 C 384,169.896 377.209,183.198 366.56,192 C 352,207.5 352,224 352,240 L 352,272 C 352,304 352,336 384,336 L 384,352 L 288,352 L 288,336 C 320,336 320,304 320,272 L 320,240 C 320,224 320,207.5 305.44,192 C 294.791,183.198 288,169.896 288,155 C 288,128.49 309.49,107 336,107 C 362.51,107 384,128.49 384,155 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-list, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13zM 224,96L 448,96L 448,128L 224,128zM 224,160L 448,160L 448,192L 224,192zM 224,224L 448,224L 448,256L 224,256zM 224,288L 384,288L 384,320L 224,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-checkmark, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 l 81.375,0 \n\tL 154.316,428.235z M 192,384L 192,64 l 288,0 l0,80 l-22.628-22.626L 320,242.745l-73.373-57.372l-29.254,29.255L 320,333.255l 160-175.364L 480,384 L 192,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-cancel, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.479L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 l 81.375,0 \n\tL 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 416,286.059 L 416,320 L 382.059,320 L 336,273.941 L 289.941,320 L 256,320 L 256,286.059 L 302.059,240 L 256,193.941 L 256,160 L 289.941,160 L 336,206.059 L 382.059,160 L 416,160 L 416,193.941 L 369.941,240 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-up, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13zM 208,224 L 336,96 L 464,224 L 384,224 L 384,320 L 288,320 L 288,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-down, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13zM 464,224 L 336,352 L 208,224 L 288,224 L 288,128 L 384,128 L 384,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-picture, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 320,352 L 224,352 L 256,224 L 288,224 L 362.667,298.667 L 384,256 L 416,256 L 448,352 ZM 352,160A32,32 2520 1 1 416,160A32,32 2520 1 1 352,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-star, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 336,122.046L 358.89,192.495L 432.964,192.495L 373.037,236.034L 395.927,306.482L 336,262.942L 276.073,306.482L 298.963,236.034L 239.036,192.495L 313.11,192.495 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-minus, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 256,224L 416,224L 416,256L 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-plus, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 L 512,32 L 160,32 z M 125.728,476.13\n\t\tL 35.87,162.759l 49.843-14.292l 43.922,312.522l 95.897-13.478L 125.728,476.13z M 154.316,428.235l-45.37-322.828L 160,98.233L 160,416 \n\t\tl 81.375,0 L 154.316,428.235z M 480,384L 192,384 L 192,64 l 288,0 L 480,384 zM 416,256 L 352,256 L 352,320 L 320,320 L 320,256 L 256,256 L 256,224 L 320,224 L 320,160 L 352,160 L 352,224 L 416,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack-empty, files, paper, pages\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L 160,32 l0,36.948 L 76.192,80.726l 5.444,38.74L0,142.875L 105.845,512l 326.033-93.488l 17.87-2.512L 512,416 z M 192,64l 288,0 l0,320 \n\tL 192,384 L 192,64 z M 160,98.233L 160,416 l 81.375,0 l-87.058,12.235l-45.37-322.828L 160,98.233z M 125.728,476.13L 35.87,162.759l 49.843-14.292\n\tl 43.922,312.522l 95.897-13.478L 125.728,476.13z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hand, stop\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 470.667,201.334L 470.667,201.334c-12.445-12.445-32.811-12.445-45.255-0.001l-13.917,13.917\n\tC 389.493,237.252, 352,270.428, 352,224L 352,64 c0-17.6-14.4-32-32-32s-32,14.4-32,32l0,160 c0,8.837-7.164,16-16,16s-16-7.163-16-16L 256,32 \n\tc0-17.6-14.4-32-32-32c-17.6,0-32,14.4-32,32l0,192 c0,8.837-7.164,16-16,16s-16-7.163-16-16L 160,64 c0-17.6-14.4-32-32-32S 96,46.4, 96,64\n\tl0,160 c0,8.837-7.164,16-16,16s-16-7.163-16-16l0-96 c0-17.6-14.4-32-32-32S0,110.4,0,128l0,96 l0,64 c0,64, 32,224, 192,224\n\ts 188.627-175.373, 269.255-256l 9.412-9.412C 483.112,234.144, 483.112,213.778, 470.667,201.334z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pointer, touch, drag, finger, hand\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 386.597,176l-16,0 l-48-16l-16,0 l-48-16L 256,144 L 256,32 l-96,0 l0,259.808 L 103.494,224L0,224 l 115.293,185.921L 217.373,512l 176.516,0 L 448,403.777\n\tl0-207.31 L 386.597,176z M 416,396.223L 374.112,480L 230.628,480 l-89.921-89.921L 60.26,256l 28.247,0 L 192,384L 192,64 l 32,0 l0,224 l 32,0 L 256,176 l 32,10.667L 288,288 \n\tl 32,0 l0-96 l 32,10.667L 352,304 l 32,0 l0-96 l 32,10.667L 416,396.223 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-left, finger, direction, hand, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,192L 237.904,192 C 226.676,151.545, 221,141.704, 221,99c0-36.944 30.056-67 67-67c 36.943,0 67,30.056 67,67\n\tc0,51.986 19.361,75.975 57.545,102.855c 1.134,0.798 2.289,1.581 3.455,2.355L 416,160 L 512,160 l0,320 l-96,0 l0-28.502 \n\tc -31.831,2.151, -40.56,11.096, -51.223,22.042c -8.226,8.445, -18.464,18.956, -37.015,26.638C 308.285,508.243, 282.939,512, 248,512l-24,0 l-8.49,0 \n\tc -30.969,0, -56.163-25.634, -56.163-57.143c0-5.235 0.712-10.438 2.095-15.45c -9.855-10.498, -15.482-24.501, -15.482-39.407\n\tc0-5.234 0.712-10.438 2.095-15.449c -9.855-10.499, -15.482-24.503, -15.482-39.408c0-9.018 2.071-17.55 5.744-25.143L 64,320 \n\tc -35.347,0, -64-28.653, -64-64C 0,220.654, 28.653,192, 64,192z M 464,448c 8.836,0 16-7.163 16-16s -7.164-16, -16-16s -16,7.163, -16,16\n\tS 455.164,448, 464,448z M 67,288L 191.734,288 L 195,288 l0,32 l-3.266,0 c -13.323,0, -24.163,11.279, -24.163,25.143c0,8.685 4.234,16.645 11.327,21.293\n\tl 12.394,8.122l -7.149,12.979c -2.083,3.781, -3.184,8.091, -3.184,12.463c0,8.685 4.234,16.644 11.326,21.291l 12.395,8.122l -7.149,12.98\n\tc -2.083,3.781, -3.184,8.091, -3.184,12.464c0,13.863 10.84,25.143 24.163,25.143L 227,480 l 24,0 c 63.281,0 76.044-19.103 89.556-32.975\n\tc 13.794-14.16 29.245-29.992 75.444-33.364L 416,246.474 c -7.878-4.132, -15.35-8.632, -22.329-13.545C 345.475,199, 320,163.156, 320,99\n\tc0-15.991, -15.010-29, -31-29s -30,13.009, -30,29c0,42.83 6.207,52.706 18.48,93c 3.062,11.371 5.961,22.635 7.938,31.667L 67,224\n\tc -17.645,0, -32,14.355, -32,32C 35,273.645, 49.355,288, 67,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-down, finger, direction, hand, down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,448L 160,274.096 C 119.545,285.324, 109.704,291, 67,291c -36.944,0 -67-30.056 -67-67c0-36.943 30.056-67 67-67\n\tc 51.986,0 75.975-19.361 102.855-57.545c 0.798-1.134 1.581-2.289 2.355-3.455L 128,96 L 128,0 l 320,0 l 0,96 l -28.502,0 \n\tc 2.151,31.831, 11.096,40.56, 22.042,51.223c 8.445,8.226, 18.956,18.464, 26.638,37.015C 476.243,203.715, 480,229.061, 480,264l 0,24 l 0,8.49 \n\tc 0,30.969, -25.634,56.163, -57.143,56.163c -5.235,0 -10.438-0.712 -15.45-2.095c -10.498,9.855, -24.501,15.482, -39.407,15.482\n\tc -5.234,0 -10.438-0.712 -15.449-2.095c -10.499,9.855, -24.503,15.482, -39.408,15.482c -9.018,0 -17.55-2.071 -25.143-5.744L 288,448 \n\tc 0,35.347, -28.653,64, -64,64C 188.654,512, 160,483.347, 160,448z M 416,48c0-8.836 -7.163-16 -16-16s -16,7.164, -16,16s 7.163,16, 16,16\n\tS 416,56.836, 416,48z M 256,445L 256,320.266 L 256,317 l 32,0 l 0,3.266 c 0,13.323, 11.279,24.163, 25.143,24.163c 8.685,0 16.645-4.234 21.293-11.327\n\tl 8.122-12.394l 12.979,7.149c 3.781,2.083, 8.091,3.184, 12.463,3.184c 8.685,0 16.644-4.234 21.291-11.326l 8.122-12.395l 12.98,7.149\n\tc 3.781,2.083, 8.091,3.184, 12.464,3.184c 13.863,0 25.143-10.84 25.143-24.163L 448,285 l0-24 c0-63.281 -19.103-76.044 -32.975-89.556\n\tc -14.16-13.794 -29.992-29.245 -33.364-75.444L 214.474,96 c -4.132,7.878, -8.632,15.35, -13.545,22.329C 167,166.525, 131.156,192, 67,192\n\tc -15.991,0, -29,15.010, -29,31s 13.009,30, 29,30c 42.83,0 52.706-6.207 93-18.48c 11.371-3.062 22.635-5.961 31.667-7.938L 192,445\n\tc 0,17.645, 14.355,32, 32,32C 241.645,477, 256,462.645, 256,445z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-right, finger, direction, hand, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,192L 274.096,192 C 285.324,151.545, 291,141.704, 291,99c0-36.944-30.056-67-67-67c-36.943,0-67,30.056-67,67\n\tc0,51.986-19.361,75.975-57.545,102.855c-1.134,0.798-2.289,1.581-3.455,2.355L 96,160 L0,160 l0,320 l 96,0 l0-28.502 \n\tc 31.831,2.151, 40.56,11.096, 51.223,22.042c 8.226,8.445, 18.464,18.956, 37.015,26.638C 203.715,508.243, 229.061,512, 264,512l 24,0 l 8.49,0 \n\tc 30.969,0, 56.163-25.634, 56.163-57.143c0-5.235-0.712-10.438-2.095-15.45c 9.855-10.498, 15.482-24.501, 15.482-39.407\n\tc0-5.234-0.712-10.438-2.095-15.449c 9.855-10.499, 15.482-24.503, 15.482-39.408c0-9.018-2.071-17.55-5.744-25.143L 448,320 \n\tc 35.347,0, 64-28.653, 64-64C 512,220.654, 483.347,192, 448,192z M 48,448c-8.836,0-16-7.163-16-16s 7.164-16, 16-16s 16,7.163, 16,16\n\tS 56.836,448, 48,448z M 445,288L 320.266,288 L 317,288 l0,32 l 3.266,0 c 13.323,0, 24.163,11.279, 24.163,25.143c0,8.685-4.234,16.645-11.327,21.293\n\tl-12.394,8.122l 7.149,12.979c 2.083,3.781, 3.184,8.091, 3.184,12.463c0,8.685-4.234,16.644-11.326,21.291l-12.395,8.122l 7.149,12.98\n\tc 2.083,3.781, 3.184,8.091, 3.184,12.464c0,13.863-10.84,25.143-24.163,25.143L 285,480 l-24,0 c-63.281,0-76.044-19.103-89.556-32.975\n\tc-13.794-14.16-29.245-29.992-75.444-33.364L 96,246.474 c 7.878-4.132, 15.35-8.632, 22.329-13.545C 166.525,199, 192,163.156, 192,99\n\tc0-15.991, 15.010-29, 31-29s 30,13.009, 30,29c0,42.83-6.207,52.706-18.48,93c-3.062,11.371-5.961,22.635-7.938,31.667L 445,224\n\tc 17.645,0, 32,14.355, 32,32C 477,273.645, 462.645,288, 445,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"point-up, finger, direction, hand, up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,64L 160,237.904 C 119.545,226.676, 109.704,221, 67,221c-36.944,0-67,30.056-67,67c0,36.943 30.056,67 67,67\n\tc 51.986,0 75.975,19.361 102.855,57.545c 0.798,1.134 1.581,2.289 2.355,3.455L 128,416 L 128,512 l 320,0 l 0-96 l-28.502,0 \n\tc 2.151-31.831, 11.096-40.56, 22.042-51.223c 8.445-8.226, 18.956-18.464, 26.638-37.015C 476.243,308.285, 480,282.939, 480,248l 0-24 l 0-8.49 \n\tc 0-30.969, -25.634-56.163, -57.143-56.163c-5.235,0-10.438,0.712-15.45,2.095c -10.498-9.855, -24.501-15.482, -39.407-15.482\n\tc-5.234,0-10.438,0.712-15.449,2.095c -10.499-9.855, -24.503-15.482, -39.408-15.482c-9.018,0-17.55,2.071-25.143,5.744L 288,64 \n\tc 0-35.347, -28.653-64, -64-64C 188.654,0, 160,28.653, 160,64z M 416,464c0,8.836-7.163,16-16,16s -16-7.164, -16-16s 7.163-16, 16-16\n\tS 416,455.164, 416,464z M 256,67L 256,191.734 L 256,195 l 32,0 l 0-3.266 c 0-13.323, 11.279-24.163, 25.143-24.163c 8.685,0 16.645,4.234 21.293,11.327\n\tl 8.122,12.394l 12.979-7.149c 3.781-2.083, 8.091-3.184, 12.463-3.184c 8.685,0 16.644,4.234 21.291,11.326l 8.122,12.395l 12.98-7.149\n\tc 3.781-2.083, 8.091-3.184, 12.464-3.184c 13.863,0 25.143,10.84 25.143,24.163L 448,227 l0,24 c0,63.281-19.103,76.044-32.975,89.556\n\tc-14.16,13.794-29.992,29.245-33.364,75.444L 214.474,416 c -4.132-7.878, -8.632-15.35, -13.545-22.329C 167,345.475, 131.156,320, 67,320\n\tc-15.991,0, -29-15.010, -29-31s 13.009-30, 29-30c 42.83,0 52.706,6.207 93,18.48c 11.371,3.062 22.635,5.961 31.667,7.938L 192,67\n\tc 0-17.645, 14.355-32, 32-32C 241.645,35, 256,49.355, 256,67z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cursor, pointer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 186.198,512.566L 99.983,336.288L0,432.486L0,0 l 338.877,259.318L 203.79,283.151l 86.285,176.421L 186.198,512.566z\n\t\t M 109.438,282.785l 91.207,186.486l 46.858-23.905l-91.137-186.342l 105.211-18.563L 32,64.781l0,292.51 L 109.438,282.785z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cursor, pointer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 323.817,242.863L0,0L0,404.771L 101.067,309.466L 202.135,512L 288,469.067L 186.933,266.533 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wondering, emoticon, smiley, face, question\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 334.327,128, 352,128z M 128,160c0-17.673, 14.327-32, 32-32\n\ts 32,14.327, 32,32s-14.327,32-32,32S 128,177.673, 128,160z M 165.622,403.193l-11.244-38.387l 218.5-64l 11.244,38.387L 165.622,403.193z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wondering, emoticon, smiley, face, question\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 372.87,300.81L 384.114,339.198L 165.61,403.199L 154.366,364.811zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"neutral, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 320,384L 192,384 l0-32 \n\tl 128,0 L 320,384 z M 352,128c 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 320,142.327, 334.327,128, 352,128z M 160,128\n\tc 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 128,142.327, 142.327,128, 160,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"neutral, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32s-14.327-32-32-32S 128,142.327, 128,160z M 320,160\n\tc0,17.673, 14.327,32, 32,32s 32-14.327, 32-32s-14.327-32-32-32S 320,142.327, 320,160z M 192,352l 128,0 l0,32 L 192,384 L 192,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"confused, emoticon, smiley, face, bewildered\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 320,142.327, 334.327,128, 352,128z M 160,128\n\tc 17.673,0, 32,14.327, 32,32c0,17.673-14.327,32-32,32s-32-14.327-32-32C 128,142.327, 142.327,128, 160,128z M 343.505,405.28\n\tc-41.451,15.090-87.45-6.356-102.54-47.807c-9.054-24.871-36.653-37.739-61.524-28.686c-22.781,8.294-35.479,32.148-30.494,55.212\n\tl-32.43,0 c-4.622-36.254, 16.225-72.266, 51.978-85.28c 41.452-15.090, 87.451,6.356, 102.541,47.807\n\tc 9.054,24.871, 36.653,37.738, 61.523,28.685c 22.781-8.292, 35.479-32.147, 30.494-55.211l 32.432,0 \n\tC 400.105,356.253, 379.258,392.266, 343.505,405.28z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"confused, emoticon, smiley, face, bewildered\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160A32,32 2520 1 1 192,160A32,32 2520 1 1 128,160zM 320,160A32,32 2520 1 1 384,160A32,32 2520 1 1 320,160zM 363.053,320 L 395.485,320 C 400.108,356.253 379.259,392.265 343.506,405.28 C 302.054,420.368 256.056,398.922 240.966,357.472 C 231.912,332.6 204.313,319.731 179.442,328.786 C 156.661,337.080 143.964,360.935 148.948,383.998 L 116.518,383.998 C 111.897,347.744 132.743,311.734 168.496,298.718 C 209.948,283.629 255.947,305.076 271.037,346.525 C 280.089,371.399 307.69,384.266 332.559,375.211 C 355.34,366.919 368.037,343.062 363.053,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shocked, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,224\n\t\tc-17.673,0-32-21.49-32-48s 14.327-48, 32-48s 32,21.49, 32,48S 177.673,224, 160,224z M 256,416c-35.346,0-64-28.654-64-64\n\t\ts 28.654-64, 64-64c 35.346,0, 64,28.654, 64,64S 291.346,416, 256,416z M 352,224c-17.673,0-32-21.49-32-48s 14.327-48, 32-48\n\t\ts 32,21.49, 32,48S 369.673,224, 352,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shocked, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 192,352 C 192,316.654 220.654,288 256,288 C 291.346,288 320,316.654 320,352 C 320,387.346 291.346,416 256,416 C 220.654,416 192,387.346 192,352 ZM 320,176A32,48 2520 1 1 384,176A32,48 2520 1 1 320,176zM 128,176A32,48 2520 1 1 192,176A32,48 2520 1 1 128,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"evil, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32c0-22.758-4.762-44.4-13.326-64c-16.788,38.418-48.224,68.966-87.247,84.589C 368.33,19.609, 314.459,0, 256,0\n\tS 143.67,19.609, 100.573,52.589C 61.549,36.966, 30.114,6.418, 13.326-32C 4.762-12.4,0,9.242,0,32c0,36.787, 12.425,70.664, 33.294,97.689\n\tC 12.109,166.96,0,210.064,0,256c0,141.385, 114.615,256, 256,256s 256-114.615, 256-256c0-45.936-12.109-89.040-33.294-126.311\n\tC 499.575,102.664, 512,68.787, 512,32z M 288.047,190.258c 1.016-23.727, 22.605-39.474, 40.796-48.569\n\tc 17.371-8.686, 34.552-13.030, 35.274-13.211c 8.573-2.144, 17.26,3.069, 19.403,11.642c 2.143,8.573-3.069,17.259-11.642,19.403\n\tc-8.812,2.225-19.261,6.060-28.468,10.675c 5.324,5.715, 8.587,13.376, 8.587,21.803c0,17.673-14.327,32-32,32s-32-14.327-32-32\n\tC 287.998,191.416, 288.016,190.835, 288.047,190.258z M 128.479,140.12c 2.144-8.573, 10.83-13.786, 19.403-11.642\n\tc 0.723,0.181, 17.903,4.526, 35.274,13.211c 18.19,9.096, 39.78,24.842, 40.796,48.569c 0.031,0.577, 0.049,1.157, 0.049,1.742\n\tc0,17.673-14.327,32-32,32s-32-14.327-32-32c0-8.427, 3.263-16.088, 8.587-21.803c-9.207-4.615-19.655-8.45-28.468-10.675\n\tC 131.549,157.379, 126.337,148.692, 128.479,140.12z M 256,416c-58.255,0-109.232-31.137-137.213-77.672l 41.164-24.698\n\tC 179.538,346.204, 215.222,368, 256,368c 40.777,0, 76.462-21.796, 96.049-54.37l 41.164,24.698C 365.232,384.863, 314.255,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"evil, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 319.998,224 C 302.325,224 287.998,209.673 287.999,191.999 C 287.999,191.414 288.017,190.834 288.048,190.257 C 289.064,166.53 310.654,150.784 328.844,141.688 C 346.215,133.003 363.395,128.658 364.118,128.477 C 372.691,126.333 381.377,131.546 383.521,140.119 C 385.663,148.692 380.451,157.378 371.879,159.522 C 363.066,161.747 352.618,165.582 343.411,170.197 C 348.735,175.912 351.998,183.573 351.998,192 C 351.998,209.673 337.671,224 319.998,224 ZM 140.121,159.522 C 131.549,157.379 126.337,148.692 128.48,140.12 C 130.623,131.547 139.31,126.334 147.883,128.478 C 148.605,128.659 165.786,133.003 183.157,141.689 C 201.348,150.784 222.937,166.531 223.953,190.258 C 223.984,190.835 224.002,191.416 224.002,192 C 224.002,209.673 209.675,224 192.002,224 C 174.329,224 160.002,209.673 160.002,192 C 160.002,183.573 163.265,175.912 168.589,170.197 C 159.382,165.582 148.933,161.747 140.121,159.522 ZM 256,368 C 296.777,368 332.462,346.204 352.049,313.63 L 393.213,338.328 C 365.232,384.863 314.255,416 256,416 C 197.745,416 146.768,384.863 118.787,338.328 L 159.951,313.63 C 179.538,346.204 215.222,368 256,368 ZM 512,32c0-22.758-4.762-44.4-13.326-64c-16.788,38.418-48.224,68.966-87.247,84.589C 368.33,19.609, 314.459,0, 256,0\n\t\tS 143.67,19.609, 100.573,52.589C 61.549,36.966, 30.114,6.418, 13.326-32C 4.762-12.4,0,9.242,0,32\n\t\tc0,36.787, 12.425,70.664, 33.294,97.689C 12.109,166.96,0,210.064,0,256c0,141.385, 114.615,256, 256,256s 256-114.615, 256-256\n\t\tc0-45.936-12.109-89.040-33.294-126.311C 499.575,102.664, 512,68.787, 512,32z M 256,464c-114.875,0-208-93.125-208-208\n\t\tS 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"angry, emoticon, smiley, face, rage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288.047,190.258\n\tc 1.016-23.727, 22.605-39.474, 40.796-48.569c 17.371-8.686, 34.552-13.030, 35.274-13.211c 8.573-2.144, 17.26,3.069, 19.403,11.642\n\tc 2.143,8.573-3.069,17.259-11.642,19.403c-8.812,2.225-19.261,6.060-28.468,10.675c 5.324,5.715, 8.587,13.376, 8.587,21.803\n\tc0,17.673-14.327,32-32,32s-32-14.327-32-32C 287.998,191.416, 288.016,190.835, 288.047,190.258z M 128.479,140.12\n\tc 2.144-8.573, 10.83-13.786, 19.403-11.642c 0.723,0.181, 17.903,4.526, 35.274,13.211c 18.19,9.096, 39.78,24.842, 40.796,48.569\n\tc 0.031,0.577, 0.049,1.157, 0.049,1.742c0,17.673-14.327,32-32,32s-32-14.327-32-32c0-8.427, 3.263-16.088, 8.587-21.803\n\tc-9.207-4.615-19.655-8.45-28.468-10.675C 131.549,157.379, 126.337,148.692, 128.479,140.12z M 352.049,390.37\n\tC 332.462,357.796, 296.777,336, 256,336c-40.778,0-76.462,21.796-96.049,54.37l-41.164-24.698C 146.767,319.137, 197.745,288, 256,288\n\tc 58.254,0, 109.232,31.137, 137.213,77.672L 352.049,390.37z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"angry, emoticon, smiley, face, rage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48z M 352.049,390.37\n\tC 332.462,357.796, 296.777,336, 256,336c-40.778,0-76.462,21.796-96.049,54.37l-41.164-24.698C 146.767,319.137, 197.745,288, 256,288\n\tc 58.254,0, 109.232,31.137, 137.213,77.672L 352.049,390.37zM 383.521,140.12 C 385.663,148.692 380.451,157.379 371.88,159.522 C 363.067,161.747 352.619,165.582 343.412,170.197 C 348.736,175.912 351.999,183.573 351.999,192 C 351.999,209.673 337.672,224 319.999,224 C 302.326,224 287.999,209.673 287.999,192 C 287.999,191.415 288.017,190.835 288.048,190.258 C 289.064,166.531 310.654,150.785 328.844,141.689 C 346.215,133.004 363.395,128.659 364.118,128.478 C 372.691,126.334 381.377,131.547 383.521,140.12 ZM 128.479,140.12c 2.144-8.573, 10.83-13.786, 19.403-11.642c 0.723,0.181, 17.903,4.526, 35.274,13.211\n\tc 18.19,9.096, 39.78,24.842, 40.796,48.569c 0.031,0.577, 0.049,1.157, 0.049,1.742c0,17.673-14.327,32-32,32s-32-14.327-32-32\n\tc0-8.427, 3.263-16.088, 8.587-21.803c-9.207-4.615-19.655-8.45-28.468-10.675C 131.549,157.379, 126.337,148.692, 128.479,140.12z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cool, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 256,416\n\tc-24.229,0-47.192-5.398-67.771-15.041l 16.581-27.638C 220.488,380.177, 237.793,384, 256,384c 46.604,0, 87.386-24.909, 109.771-62.139\n\tl 27.441,16.467C 365.23,384.863, 314.255,416, 256,416z M 416,192c0,17.6-14.4,32-32,32l-64,0 c-17.6,0-32-14.4-32-32l-64,0 \n\tc0,17.6-14.4,32-32,32l-64,0 c-17.6,0-32-14.4-32-32l0-48 c0-8.8, 7.2-16, 16-16l 96,0 c 8.8,0, 16,7.2, 16,16l0,16 l 64,0 l0-16 c0-8.8, 7.2-16, 16-16l 96,0 \n\tc 8.8,0, 16,7.2, 16,16L 416,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cool, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 400,128 C 408.8,128 416,135.2 416,144 L 416,192 C 416,209.6 401.6,224 384,224 L 320,224 C 302.4,224 288,209.6 288,192 L 224,192 C 224,209.6 209.6,224 192,224 L 128,224 C 110.4,224 96,209.6 96,192 L 96,144 C 96,135.2 103.2,128 112,128 L 208,128 C 216.8,128 224,135.2 224,144 L 224,160 L 288,160 L 288,144 C 288,135.2 295.2,128 304,128 L 400,128 ZM 256,384 C 302.604,384 343.386,359.091 365.773,321.861 L 393.213,338.328 C 365.23,384.863 314.255,416 256,416 C 231.771,416 208.808,410.602 188.23,400.959 L 204.811,373.32 C 220.488,380.177 237.793,384 256,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grin, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.613,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 352,118\n\tc 31.981,0, 58,26.019, 58,58c0,3.189-0.273,6.438-0.814,9.656c-0.809,4.816-4.979,8.344-9.862,8.344s-9.054-3.528-9.861-8.345\n\tC 386.383,167.313, 370.628,159, 352,159s-34.383,8.313-37.462,26.655c-0.808,4.816-4.978,8.345-9.861,8.345c-0.001,0,0,0-0.001,0\n\tc-4.883,0-9.053-3.528-9.861-8.344C 294.273,182.438, 294,179.189, 294,176C 294,144.019, 320.019,118, 352,118z M 160,118\n\tc 31.981,0, 58,26.019, 58,58c0,3.189-0.274,6.438-0.814,9.656c-0.809,4.816-4.978,8.344-9.862,8.344c-4.884,0-9.053-3.528-9.861-8.345\n\tC 194.383,167.313, 178.628,159, 160,159s-34.383,8.313-37.462,26.655c-0.808,4.816-4.978,8.345-9.861,8.345c0,0,0,0,0,0\n\tc-4.883,0-9.053-3.528-9.862-8.344C 102.274,182.438, 102,179.189, 102,176C 102,144.019, 128.019,118, 160,118z M 96,288l 96,0 l0,123.923 \n\tC 136.953,397.62, 96,347.361, 96,288z M 224,416L 224,288 l 64,0 l0,128 L 224,416 z M 320,411.923L 320,288 l 96,0 C 416,347.361, 375.048,397.62, 320,411.923z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grin, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 96,256l0,32 c0,70.4, 57.6,128, 128,128l 64,0 c 70.4,0, 128-57.6, 128-128l0-32 L 96,256 z M 192,378.494\n\tc-13.269-4.729-25.462-12.411-35.772-22.723C 138.025,337.57, 128,313.501, 128,288l 64,0 L 192,378.494 z M 288,384l-64,0 l0-96 l 64,0 L 288,384 z\n\t M 355.772,355.771c-10.312,10.312-22.505,17.994-35.772,22.723L 320,288 l 64,0 C 384,313.501, 373.976,337.57, 355.772,355.771z M 112.676,192\n\tC 112.677,192, 112.676,192, 112.676,192c 4.884,0, 9.054-3.528, 9.862-8.345C 125.617,165.313, 141.372,152, 160,152\n\ts 34.383,13.313, 37.462,31.655c 0.808,4.816, 4.978,8.345, 9.861,8.345c 4.884,0, 9.054-3.528, 9.862-8.344\n\tc 0.541-3.218, 0.814-6.467, 0.814-9.656c0-31.981-26.019-58-58-58s-58,26.019-58,58c0,3.189, 0.274,6.438, 0.814,9.656\n\tC 103.623,188.472, 107.793,192, 112.676,192z M 304.676,192C 304.677,192, 304.676,192, 304.676,192c 4.885,0, 9.056-3.528, 9.862-8.345\n\tC 317.617,165.313, 333.372,152, 352,152s 34.383,13.313, 37.462,31.655c 0.808,4.816, 4.979,8.345, 9.861,8.345s 9.054-3.528, 9.861-8.344\n\tc 0.541-3.218, 0.814-6.467, 0.814-9.656c0-31.981-26.019-58-58-58s-58,26.019-58,58c0,3.189, 0.272,6.438, 0.813,9.656\n\tC 295.623,188.472, 299.793,192, 304.676,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wink, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.614,0,256c0,141.385, 114.614,256, 256,256c 141.385,0, 256-114.615, 256-256\n\tC 512,114.614, 397.385,0, 256,0z M 352,128c 17.673,0, 32,21.49, 32,48s-14.327,48-32,48s-32-21.49-32-48S 334.327,128, 352,128z\n\t M 176,156.031c 29.823,0, 51,11.166, 51,28.641c0,3.699, 1.906,21.497-0.085,24.797c-7.414-12.288-27.405-21.094-50.915-21.094\n\ts-43.501,8.806-50.915,21.094c-1.991-3.3-0.085-21.098-0.085-24.797C 125,167.197, 146.177,156.031, 176,156.031z M 250.172,416\n\tc-59.621,0-111.929-32.14-141.446-80.476c 35.205,27.53, 97.267,32.905, 162.644,19.989c 70.124-13.853, 124.555-45.771, 144.227-88.297\n\tC 404.77,351.196, 334.838,416, 250.172,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wink, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 271.37,355.514 C 341.494,341.661 395.925,309.743 415.597,267.217 C 404.77,351.195 334.838,416 250.172,416 C 190.551,416 138.243,383.859 108.726,335.526 C 143.931,363.055 205.993,368.43 271.37,355.514 ZM 320,176A32,48 2520 1 1 384,176A32,48 2520 1 1 320,176zM 176,185.75 C 155.102,185.75 137.333,193.578 130.742,204.5 C 128.972,201.567 128,188.413 128,185.125 C 128,169.592 149.49,157 176,157 C 202.51,157 224,169.592 224,185.125 C 224,188.413 223.028,201.567 221.258,204.5 C 214.667,193.578 196.898,185.75 176,185.75 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sad, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 334.327,128, 352,128z M 160,128c 17.673,0, 32,14.327, 32,32\n\ts-14.327,32-32,32s-32-14.327-32-32S 142.327,128, 160,128z M 352.049,390.37C 332.462,357.796, 296.777,336, 256,336\n\tc-40.778,0-76.462,21.796-96.049,54.37l-41.164-24.698C 146.767,319.137, 197.745,288, 256,288c 58.254,0, 109.232,31.137, 137.213,77.672\n\tL 352.049,390.37z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sad, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 ZM 159.951,390.37 L 118.787,365.672 C 146.768,319.137 197.745,288 256,288 C 314.254,288 365.231,319.137 393.213,365.672 L 352.049,390.37 C 332.462,357.796 296.778,336 256,336 C 215.221,336 179.538,357.796 159.951,390.37 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tongue, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 142.327,128, 160,128z M 384,320l-32,0 l0,48 c0,26.51-21.49,48-48,48\n\ts-48-21.49-48-48l0-48 L 128,320 l0-32 l 256,0 L 384,320 z M 352,192c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 369.673,192, 352,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tongue, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 ZM 384,288 L 384,320 L 352,320 L 352,368 C 352,394.51 330.51,416 304,416 C 277.49,416 256,394.51 256,368 L 256,320 L 128,320 L 128,288 L 384,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"smiley, emoticon, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\tc 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 334.327,128, 352,128z M 160,128c 17.673,0, 32,14.327, 32,32\n\ts-14.327,32-32,32s-32-14.327-32-32S 142.327,128, 160,128z M 256,416c-58.255,0-109.232-31.137-137.213-77.672l 41.164-24.698\n\tC 179.538,346.204, 215.222,368, 256,368s 76.462-21.796, 96.049-54.37l 41.164,24.698C 365.232,384.863, 314.255,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"smiley, emoticon, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 128,160 C 128,142.327 142.327,128 160,128 C 177.673,128 192,142.327 192,160 C 192,177.673 177.673,192 160,192 C 142.327,192 128,177.673 128,160 Z M 320,160 C 320,142.327 334.327,128 352,128 C 369.673,128 384,142.327 384,160 C 384,177.673 369.673,192 352,192 C 334.327,192 320,177.673 320,160 ZM 352.049,313.63 L 393.213,338.328 C 365.232,384.863 314.255,416 256,416 C 197.745,416 146.768,384.863 118.787,338.328 L 159.951,313.63 C 179.538,346.204 215.222,368 256,368 C 296.778,368 332.462,346.204 352.049,313.63 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"happy, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 352,128\n\t\tc 17.674,0, 32,21.49, 32,48s-14.326,48-32,48s-32-21.49-32-48S 334.326,128, 352,128z M 160,128c 17.673,0, 32,21.49, 32,48\n\t\ts-14.327,48-32,48s-32-21.49-32-48S 142.327,128, 160,128z M 256,448c-83.434,0-152.711-69.936-160-159.152\n\t\tc 46.885,27.057, 102.025,42.532, 160,42.532c 57.975,0, 113.115-15.403, 160-42.46C 408.713,378.139, 339.436,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"happy, emoticon, smiley, face\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,512c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0S0,114.615,0,256S 114.615,512, 256,512z M 256,48\n\t\tc 114.875,0, 208,93.125, 208,208s-93.125,208-208,208S 48,370.875, 48,256S 141.125,48, 256,48zM 256,299.38 C 313.975,299.38 369.115,283.977 416,256.92 C 408.713,346.139 339.436,416 256,416 C 172.566,416 103.289,346.064 96,256.848 C 142.885,283.904 198.025,299.38 256,299.38 ZM 128,176A32,48 2520 1 1 192,176A32,48 2520 1 1 128,176zM 320,176A32,48 2520 1 1 384,176A32,48 2520 1 1 320,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"yin-yang\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,128A32,32 2520 1 1 288,128A32,32 2520 1 1 224,128zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,416\n\tc-17.674,0-32-14.326-32-32s 14.326-32, 32-32c 17.673,0, 32,14.326, 32,32S 273.673,416, 256,416z M 256,256c-57.438,0-104,46.562-104,104\n\ts 46.562,104, 104,104c-114.875,0-208-93.125-208-208S 141.125,48, 256,48c 57.438,0, 104,46.562, 104,104S 313.438,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"peace\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.616,0,0,114.615,0,256s 114.616,256, 256,256c 141.385,0, 256-114.615, 256-256S 397.385,0, 256,0z M 464,256\n\tc0,47.478-15.812,92.519-44.924,129.135L 280,246.059L 280,49.375 c 46.477,5.307, 89.506,25.975, 123.078,59.547\n\tC 442.364,148.208, 464,200.441, 464,256z M 232,462.625c-38.565-4.403-74.751-19.392-105.135-43.548L 232,313.941L 232,462.625 z M 280,313.941\n\tl 105.135,105.135c-30.384,24.157-66.569,39.146-105.135,43.549L 280,313.941 z M 108.922,108.922C 142.494,75.35, 185.523,54.682, 232,49.375\n\tl0,196.684 L 92.924,385.136C 63.812,348.519, 48,303.478, 48,256C 48,200.441, 69.636,148.208, 108.922,108.922z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"female, gender, sex, woman\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,316.796c 73.030-14.825, 128-79.391, 128-156.796C 416,71.634, 344.365,0, 256,0S 96,71.634, 96,160\n\tc0,77.405, 54.969,141.971, 128,156.796L 224,384 l-96,0 l0,64 l 96,0 l0,64 l 64,0 l0-64 l 96,0 l0-64 l-96,0 L 288,316.796 z M 150.401,160\n\tc0-58.321, 47.278-105.601, 105.601-105.601c 58.321,0, 105.6,47.28, 105.6,105.601c0,58.32-47.279,105.6-105.601,105.6\n\tC 197.678,265.6, 150.401,218.32, 150.401,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"woman, human, female, gender, sex\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 405.369,221.499l-62.063-62.063c-0.070-0.070-0.138,0.145-0.207,0.075C 320.554,136.966, 311.237,128, 288.679,128l-64,0 \n\t\tc-22.557,0-31.875,8.966-54.42,31.511l-0.704,0.066l-62.555,61.925l0-0.003 c-13,13.575-10.816,33.939, 0.497,45.253l 93.188-92.66\n\t\tL 126.365,320l 65.636,0 l0,159.436 c0,13.257, 10.745,24, 24,24c 13.254,0, 24-10.743, 24-24L 240.001,320 l 32,0 l0,159.436 c0,13.257, 10.745,24, 24,24\n\t\ts 24-10.743, 24-24L 320.001,320 l 64.68,0 l-73.372-147.027l 94.059,93.917l 0.005-0.076C 416.68,255.501, 418.938,235.071, 405.369,221.499zM 208.411,64A48,48 12600 1 1 304.411,64A48,48 12600 1 1 208.411,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"male, gender, sex, man\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,0l0,64 l 82.745,0 L 280.229,186.517C 254.935,169.764, 224.61,160, 192,160c-88.365,0-160,71.634-160,160\n\tc0,88.365, 71.634,160, 160,160s 160-71.635, 160-160c0-32.609-9.765-62.936-26.517-88.229L 448,109.255L 448,192 l 64,0 L 512,0 L 320,0 z M 192,425.6\n\tC 133.679,425.6, 86.4,378.32, 86.4,320S 133.679,214.399, 192,214.399c 58.32,0, 105.6,47.279, 105.6,105.601\n\tC 297.6,378.32, 250.321,425.6, 192,425.6z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"man, human, male, gender, sex\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,128L 160,128 c-17.601,0-32,14.4-32,32l0,128 c0,17.6, 14.399,32, 32,32l0,0L 160,192 l 16,0 l0,296 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 224,320 \n\t\tl 32,0 l0,168 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 304,192 l 16,0 l0,128 c 17.6,0, 32-14.4, 32-32L 352,160 C 352,142.4, 337.6,128, 320,128zM 192,64A48,48 12600 1 1 288,64A48,48 12600 1 1 192,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"people, team, men, humen, man, human, group\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,128L 32,128 c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32l0,0 L 32,192 l 16,0 l0,128 l0,64 l0,104 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 96,320 \n\t\tl 32,0 l0,168 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 176,320 l0,0 L 176,192 l 16,0 l0,128 c 17.6,0, 32-14.4, 32-32L 224,160 C 224,142.4, 209.6,128, 192,128zM 64.016,47.984A47.984,47.984 12600 1 1 159.984,47.98399999999998A47.984,47.984 12600 1 1 64.016,47.98399999999998zM 480,128L 320,128 c-17.6,0-32,14.4-32,32l0,128 c0,17.6, 14.4,32, 32,32L 320,192 l 16,0 l0,128 l0,64 l0,104 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 384,320 \n\t\tl 32,0 l0,168 c0,13.2, 10.8,24, 24,24s 24-10.8, 24-24L 464,320 L 464,192 l 16,0 l0,128 c 17.6,0, 32-14.4, 32-32L 512,160 C 512,142.4, 497.6,128, 480,128zM 352.016,47.984A47.984,47.984 12600 1 1 447.984,47.98399999999998A47.984,47.984 12600 1 1 352.016,47.98399999999998z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 21.807,208C 8.463,219.751,0,236.931,0,256c0,35.2, 28.8,64, 64,64l 160,0 c 35.2,0, 64,28.8, 64,64l0,64 c0,35.2, 28.8,64, 64,64\n\ts 64-28.8, 64-64l0-64 c0-35.2, 21.6-64, 48-64s 48-28.8, 48-64L 512,128 C 512,57.308, 454.692,0, 384,0L 224,0 L 96,0 C 60.8,0, 32,28.8, 32,64\n\tc0,13.154, 4.024,25.414, 10.9,35.612C 17.988,108.383,0,132.187,0,160C0,179.069, 8.463,196.249, 21.807,208z M 266.193,112\n\tC 279.537,100.249, 288,83.069, 288,64c0-11.64-3.164-22.57-8.652-32L 384,32 c 52.935,0, 96,43.065, 96,96l0,128 c0,19.538-10.506,32-16,32\n\tc-22.752,0-44.438,11.518-59.5,31.6C 391.28,337.227, 384,360.098, 384,384l0,64 c0,8.477-3.348,16.493-9.428,22.572\n\tC 368.493,476.652, 360.477,480, 352,480s-16.493-3.348-22.572-9.428C 323.348,464.493, 320,456.477, 320,448l0-64 \n\tc0-36.127-20.068-67.642-49.635-84.021C 281.272,288.488, 288,272.996, 288,256c0-19.069-8.463-36.249-21.807-48\n\tC 279.537,196.249, 288,179.069, 288,160S 279.537,123.751, 266.193,112z M 73.428,41.428C 79.507,35.348, 87.523,32, 96,32l 128,0 \n\tc 8.477,0, 16.493,3.348, 22.572,9.428C 252.652,47.507, 256,55.523, 256,64s-3.348,16.493-9.428,22.572C 240.493,92.652, 232.477,96, 224,96\n\tL 96,96 c-8.477,0-16.493-3.348-22.572-9.428C 67.348,80.493, 64,72.477, 64,64S 67.348,47.507, 73.428,41.428z M 41.428,137.428\n\tC 47.507,131.348, 55.523,128, 64,128l 32,0 l 128,0 c 8.477,0, 16.493,3.348, 22.572,9.428C 252.652,143.507, 256,151.523, 256,160\n\ts-3.348,16.493-9.428,22.572C 240.493,188.652, 232.477,192, 224,192L 64,192 c-8.477,0-16.493-3.348-22.572-9.428\n\tC 35.348,176.493, 32,168.477, 32,160S 35.348,143.507, 41.428,137.428z M 41.428,233.428C 47.507,227.348, 55.523,224, 64,224l 160,0 \n\tc 8.477,0, 16.493,3.348, 22.572,9.428C 252.652,239.507, 256,247.523, 256,256s-3.348,16.494-9.428,22.572\n\tC 240.493,284.652, 232.477,288, 224,288L 64,288 c-8.477,0-16.493-3.348-22.572-9.428C 35.348,272.494, 32,264.477, 32,256\n\tS 35.348,239.507, 41.428,233.428z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote-up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.193,304C 503.537,292.249, 512,275.069, 512,256c0-35.2-28.8-64-64-64L 288,192 c-35.2,0-64-28.8-64-64L 224,64 c0-35.2-28.8-64-64-64\n\tS 96,28.8, 96,64l0,64 c0,35.2-21.6,64-48,64S0,220.8,0,256l0,128 c0,70.692, 57.308,128, 128,128l 160,0 l 128,0 c 35.2,0, 64-28.8, 64-64\n\tc0-13.154-4.024-25.414-10.9-35.612C 494.012,403.617, 512,379.813, 512,352C 512,332.931, 503.537,315.751, 490.193,304z M 245.807,400\n\tC 232.463,411.751, 224,428.931, 224,448c0,11.64, 3.164,22.57, 8.653,32L 128,480 c-52.935,0-96-43.065-96-96L 32,256 c0-19.538, 10.506-32, 16-32\n\tc 22.751,0, 44.438-11.518, 59.5-31.6c 13.22-17.626, 20.5-40.498, 20.5-64.4L 128,64 c0-8.477, 3.348-16.493, 9.427-22.573\n\tC 143.507,35.348, 151.523,32, 160,32s 16.493,3.348, 22.573,9.427C 188.652,47.507, 192,55.523, 192,64l0,64 \n\tc0,36.127, 20.069,67.642, 49.635,84.021C 230.728,223.512, 224,239.004, 224,256c0,19.069, 8.463,36.249, 21.807,48\n\tC 232.463,315.751, 224,332.931, 224,352S 232.463,388.249, 245.807,400z M 438.572,470.572C 432.493,476.652, 424.477,480, 416,480L 288,480 \n\tc-8.477,0-16.493-3.348-22.572-9.428C 259.348,464.493, 256,456.477, 256,448s 3.348-16.493, 9.428-22.572\n\tC 271.507,419.348, 279.523,416, 288,416l 128,0 c 8.477,0, 16.493,3.348, 22.572,9.428C 444.652,431.507, 448,439.523, 448,448\n\tS 444.652,464.493, 438.572,470.572z M 470.572,374.572C 464.493,380.652, 456.477,384, 448,384l-32,0 L 288,384 \n\tc-8.477,0-16.493-3.348-22.572-9.428C 259.348,368.493, 256,360.477, 256,352s 3.348-16.493, 9.428-22.572\n\tC 271.507,323.348, 279.523,320, 288,320l 160,0 c 8.477,0, 16.493,3.348, 22.572,9.428C 476.652,335.507, 480,343.523, 480,352\n\tS 476.652,368.493, 470.572,374.572z M 470.572,278.572C 464.493,284.652, 456.477,288, 448,288L 288,288 c-8.477,0-16.493-3.348-22.572-9.428\n\tC 259.348,272.493, 256,264.477, 256,256c0-8.477, 3.348-16.494, 9.428-22.573C 271.507,227.348, 279.523,224, 288,224l 160,0 \n\tc 8.477,0, 16.493,3.348, 22.572,9.427C 476.652,239.506, 480,247.523, 480,256C 480,264.477, 476.652,272.493, 470.572,278.572z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 48,224 C 11.5,224 32,128 64,128 C 48,128 64,48 96,48 C 96,16 128,0 160,0 C 295.176,0 247.632,33.825 384,48 L 384,304 C 263.539,340.134 144,430.712 144,512 C 117.5,512 48,480 144,320 C 144,320 64,320 48,320 C 0,320 16,224 48,224 ZM 416,304 L 416,48 L 384,48 L 384,32 L 448,32 C 465.6,32 480,53.6 480,80 L 480,272 C 480,298.4 465.6,320 448,320 L 384,320 L 384,304 L 416,304 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,288 C 500.5,288 480,384 448,384 C 464,384 448,464 416,464 C 416,496 384,512 352,512 C 216.824,512 264.368,478.175 128,464 L 128,208 C 248.461,171.866 368,81.288 368,0 C 394.5,0 464,32 368,192 C 368,192 448,192 464,192 C 512,192 496,288 464,288 ZM 96,208 L 96,464 L 128,464 L 128,480 L 64,480 C 46.4,480 32,458.4 32,432 L 32,240 C 32,213.6 46.4,192 64,192 L 128,192 L 128,208 L 96,208 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-down, down, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 16,208c0,16.458 8.978,30.977 22.654,39.624C 34.432,254.77, 32,263.1, 32,272c0,26.51 21.49,48 48,48l 93.904,0 \n\tC 162.676,360.455, 157,402.296, 157,445c0,36.944 30.056,67 67,67c 36.943,0 67-30.056 67-67c0-51.986 19.361-91.975 57.545-118.855\n\tc 10.5-7.392 22.371-13.743 35.455-19.033L 384,352 L 512,352 l0-320 l -128,0 l0,31.499 c -29.945-1.966, -44.484-9.461, -58.595-16.747\n\tC 311.361,39.499, 296.839,32, 272,32l -160,0 c -26.51,0, -48,21.49, -48,48c0,6.249 1.207,12.213 3.38,17.688\n\tC 46.995,103.231, 32,121.859, 32,144c0,8.9 2.432,17.23 6.654,24.376C 24.978,177.023, 16,191.542, 16,208z M 464,64\n\tc 8.836,0 16,7.163 16,16s -7.164,16, -16,16s -16-7.163, -16-16S 455.164,64, 464,64z M 68,192l 28,0 l0-32 l -16,0 c -8.822,0, -16-7.178, -16-16\n\ts 7.178-16 16-16l 32,0 l0-32 c -8.822,0, -16-7.178, -16-16s 7.178-16 16-16L 272,64 c 17.064,0 26.149,4.691 38.723,11.185\n\tc 15.874,8.196 35.193,18.16 73.277,20.364L 384,266.66 c -21.468,7.214, -40.714,16.715, -57.329,28.412C 278.475,329, 253,380.844, 253,445\n\tc0,15.991, -13.010,29, -29,29s -29-13.009, -29-29c0-42.83 6.207-84.706 18.48-125c 3.099-11.509 6.033-22.913 8.012-32l -0.234,0 L 80,288 \n\tc -8.822,0, -16-7.178, -16-16s 7.178-16 16-16l 16,0 l0-32 l -28,0 c -10.841,0, -20-7.327, -20-16S 57.159,192, 68,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-down, down, like, rate, vote down\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 16,208c0,16.458 8.978,30.977 22.654,39.624C 34.432,254.77, 32,263.1, 32,272c0,26.51 21.49,48 48,48l 93.904,0 \n\tC 162.676,360.455, 157,402.296, 157,445c0,36.944 30.056,67 67,67c 36.943,0 67-30.056 67-67c0-51.986 19.361-91.975 57.545-118.855\n\tc 10.5-7.392 22.371-13.743 35.455-19.033L 384,352 L 512,352 l0-320 l -128,0 l0,31.499 c -29.945-1.966, -44.484-9.461, -58.595-16.747\n\tC 311.361,39.499, 296.839,32, 272,32l -80,0 l -80,0 c -26.51,0, -48,21.49, -48,48c0,6.249 1.207,12.213 3.38,17.688\n\tC 46.995,103.231, 32,121.859, 32,144c0,8.9 2.432,17.23 6.654,24.376C 24.978,177.023, 16,191.542, 16,208z M 176,288l -96,0 \n\tc -8.822,0, -16-7.178, -16-16s 7.178-16 16-16l 96,0 c 8.822,0 16,7.178 16,16S 184.822,288, 176,288z M 233.455,184.688\n\tC 246.992,176.201, 256,161.156, 256,144c0-17, -8.846-31.925, -22.177-40.453C 237.749,96.589, 240,88.56, 240,80\n\tc0-5.611, -0.973-10.994, -2.742-16L 272,64 c 17.064,0 26.149,4.691 38.723,11.185c 15.874,8.196 35.193,18.16 73.277,20.364L 384,266.66 \n\tc -21.468,7.214, -40.714,16.715, -57.329,28.412C 278.475,329, 253,380.844, 253,445c0,15.991, -13.010,29, -29,29s -29-13.009, -29-29\n\tc0-42.83 6.207-84.706 18.48-125c 3.33-12.37 6.47-24.614 8.438-33.995c 1.271-4.17 1.98-8.582 2.061-13.147\n\tc 0.015-0.301 0.021-0.59 0.021-0.855c0-8.9, -2.432-17.229, -6.654-24.376C 231.021,238.977, 240,224.458, 240,208\n\tC 240,199.538, 237.619,191.592, 233.455,184.688z M 112,64l 80,0 c 8.822,0 16,7.178 16,16s -7.178,16, -16,16l -80,0 c -8.822,0, -16-7.178, -16-16\n\tS 103.178,64, 112,64z M 80,128L 208,128 c 8.822,0 16,7.178 16,16s -7.178,16, -16,16l -128,0 c -8.822,0, -16-7.178, -16-16S 71.178,128, 80,128z\n\t M 68,192L 188,192 c 10.841,0 20,7.327 20,16s -9.159,16, -20,16l -120,0 c -10.841,0, -20-7.327, -20-16S 57.159,192, 68,192z M 448,80\n\tc0-8.837 7.164-16 16-16s 16,7.163 16,16s -7.164,16, -16,16S 448,88.837, 448,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,336c0-16.458-8.978-30.977-22.654-39.624C 477.568,289.23, 480,280.9, 480,272c0-26.51-21.49-48-48-48l-93.904,0 \n\tC 349.324,183.545, 355,141.704, 355,99c0-36.944-30.056-67-67-67c-36.943,0-67,30.056-67,67c0,51.986-19.361,91.975-57.545,118.855\n\tc-10.5,7.392-22.371,13.743-35.455,19.033L 128,192 L0,192 l0,320 l 128,0 l0-31.499 c 29.945,1.966, 44.484,9.461, 58.595,16.747\n\tC 200.639,504.501, 215.161,512, 240,512l 160,0 c 26.51,0, 48-21.49, 48-48c0-6.249-1.207-12.213-3.38-17.688\n\tC 465.005,440.769, 480,422.141, 480,400c0-8.9-2.432-17.23-6.654-24.376C 487.022,366.977, 496,352.458, 496,336z M 48,480\n\tc-8.836,0-16-7.163-16-16s 7.164-16, 16-16s 16,7.163, 16,16S 56.836,480, 48,480z M 444,352l-28,0 l0,32 l 16,0 c 8.822,0, 16,7.178, 16,16\n\ts-7.178,16-16,16l-32,0 l0,32 c 8.822,0, 16,7.178, 16,16s-7.178,16-16,16L 240,480 c-17.064,0-26.149-4.691-38.723-11.185\n\tc-15.874-8.196-35.193-18.16-73.277-20.364L 128,277.34 c 21.468-7.214, 40.714-16.715, 57.329-28.412C 233.525,215, 259,163.156, 259,99\n\tc0-15.991, 13.010-29, 29-29s 29,13.009, 29,29c0,42.83-6.207,84.706-18.48,125c-3.099,11.509-6.033,22.913-8.012,32l 0.234,0 L 432,256 \n\tc 8.822,0, 16,7.178, 16,16s-7.178,16-16,16l-16,0 l0,32 l 28,0 c 10.841,0, 20,7.327, 20,16S 454.841,352, 444,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"thumbs-up, up, like, rate, vote up\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,336c0-16.458-8.978-30.977-22.654-39.624C 477.568,289.23, 480,280.9, 480,272c0-26.51-21.49-48-48-48l-93.904,0 \n\tC 349.324,183.545, 355,141.704, 355,99c0-36.944-30.056-67-67-67c-36.943,0-67,30.056-67,67c0,51.986-19.361,91.975-57.545,118.855\n\tc-10.5,7.392-22.371,13.743-35.455,19.033L 128,192 L0,192 l0,320 l 128,0 l0-31.499 c 29.945,1.966, 44.484,9.461, 58.595,16.747\n\tC 200.639,504.501, 215.161,512, 240,512l 80,0 l 80,0 c 26.51,0, 48-21.49, 48-48c0-6.249-1.207-12.213-3.38-17.688\n\tC 465.005,440.769, 480,422.141, 480,400c0-8.9-2.432-17.23-6.654-24.376C 487.022,366.977, 496,352.458, 496,336z M 336,256l 96,0 \n\tc 8.822,0, 16,7.178, 16,16s-7.178,16-16,16l-96,0 c-8.822,0-16-7.178-16-16S 327.178,256, 336,256z M 278.545,359.312\n\tC 265.008,367.799, 256,382.844, 256,400c0,17, 8.846,31.925, 22.177,40.453C 274.251,447.411, 272,455.44, 272,464\n\tc0,5.611, 0.973,10.994, 2.742,16L 240,480 c-17.064,0-26.149-4.691-38.723-11.185c-15.874-8.196-35.193-18.16-73.277-20.364L 128,277.34 \n\tc 21.468-7.214, 40.714-16.715, 57.329-28.412C 233.525,215, 259,163.156, 259,99c0-15.991, 13.010-29, 29-29s 29,13.009, 29,29\n\tc0,42.83-6.207,84.706-18.48,125c-3.33,12.37-6.47,24.614-8.438,33.995c-1.271,4.17-1.98,8.582-2.061,13.147\n\tc-0.015,0.301-0.021,0.59-0.021,0.855c0,8.9, 2.432,17.229, 6.654,24.376C 280.979,305.023, 272,319.542, 272,336\n\tC 272,344.462, 274.381,352.408, 278.545,359.312z M 400,480l-80,0 c-8.822,0-16-7.178-16-16s 7.178-16, 16-16l 80,0 c 8.822,0, 16,7.178, 16,16\n\tS 408.822,480, 400,480z M 432,416L 304,416 c-8.822,0-16-7.178-16-16s 7.178-16, 16-16l 128,0 c 8.822,0, 16,7.178, 16,16S 440.822,416, 432,416z\n\t M 444,352L 324,352 c-10.841,0-20-7.327-20-16s 9.159-16, 20-16l 120,0 c 10.841,0, 20,7.327, 20,16S 454.841,352, 444,352z M 64,464\n\tc0,8.837-7.164,16-16,16s-16-7.163-16-16s 7.164-16, 16-16S 64,455.163, 64,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lips, mouth, kiss\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 482.257,185.558c-14.605,0-64.466-26.681-64.466-26.681c-28.426-15.856-60.645-33.828-96.991-33.828\n\tc-26.883,0-48.65,4.256-64.8,12.659c-16.149-8.403-37.917-12.659-64.801-12.659c-36.347,0-68.565,17.972-96.991,33.828\n\tc0,0-49.86,26.681-64.466,26.681c-22.295,0-45.304,29.652-15.688,57.387c 15.905,12.17, 31.108,27.354, 47.204,43.429\n\tc 23.498,23.469, 47.796,47.735, 78.253,66.891c 36.043,22.668, 74.146,33.688, 116.489,33.688c 42.342,0, 80.445-11.020, 116.489-33.688\n\tc 30.456-19.155, 54.755-43.422, 78.252-66.891c 16.096-16.075, 31.3-31.259, 47.204-43.429\n\tC 527.562,215.21, 504.552,185.558, 482.257,185.558z M 256,358.151c-112.285,0-159.638-88.491-224.444-138.080\n\tC 54.398,237.55, 180.040,286.65, 256,286.65s 201.602-49.101, 224.443-66.579C 415.637,269.66, 368.284,358.151, 256,358.151z M 256,240.25\n\tc-86.401,0-230.402-26.030-230.402-26.030l 4.512-0.141c 55.732-3.22, 104.998-60.229, 161.090-60.229c 57.601,0, 64.801,21.6, 64.801,21.6\n\ts 7.2-21.6, 64.8-21.6c 56.092,0, 105.357,57.010, 161.091,60.229l 4.511,0.141C 486.401,214.22, 342.4,240.25, 256,240.25z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lips, mouth, kiss\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,220.078l-5.013-0.157C 445.062,216.344, 390.323,153, 328,153c-64,0-72,24-72,24s-8-24-72-24\n\t\t\tc-62.323,0-117.062,63.344-178.987,66.921L0,220.078c0,0, 160,28.922, 256,28.922S 512,220.078, 512,220.078zM 256,295c-84.399,0-224-49-249.38-68.42C 78.626,281.677, 131.24,380, 256,380c 124.76,0, 177.373-98.322, 249.38-153.42\n\t\t\tC 480,246, 340.399,295, 256,295z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart-broken, love\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 376,32 C 451.111,32 512,92.89 512,168 C 512,352 256,480 256,480 C 256,480 0,352 0,168 C 0,92.89 60.889,32 136,32 C 167.047,32 195.657,42.412 218.547,59.924 L 176,128 L 288,192 L 224,352 L 400,160 L 288,96 L 323.707,42.439 C 339.807,35.725 357.466,32 376,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,480l-13.97-6.779C 232.147,468.426,0,353.771,0,179.487C0,98.162, 67.738,32, 151,32c 39.83,0, 77.258,15.237, 105,41.462\n\t\tC 283.742,47.237, 321.17,32, 361,32c 83.262,0, 151,66.162, 151,147.487c0,174.284-232.147,288.938-242.030,293.733L 256,480z M 151,96\n\t\tc-47.972,0-87,37.452-87,83.487c0,67.976, 54.123,127.616, 99.526,165.68c 36.25,30.39, 73.062,52.351, 92.474,63.081\n\t\tc 19.412-10.73, 56.224-32.691, 92.474-63.081C 393.877,307.104, 448,247.463, 448,179.487C 448,133.452, 408.972,96, 361,96\n\t\tc-32.336,0-61.831,17.070-76.974,44.55L 256,191.41l-28.026-50.86C 212.831,113.070, 183.336,96, 151,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 376,32c-51.956,0-97.1,29.138-120,71.96C 233.099,61.138, 187.955,32, 136,32C 60.889,32,0,92.89,0,168c0,184, 256,312, 256,312\n\ts 256-128, 256-312C 512,92.89, 451.111,32, 376,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart-broken, love\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 377.594,32 C 451.785,32 512,92.22 512,166.416 C 512,312.521 354.088,357.837 256.011,506.125 C 152.25,356.913 0,317.339 0,166.416 C 0,92.22 60.213,32 134.404,32 C 164.581,32 192.399,45.765 214.802,65.917 L 176,128 L 288,192 L 224,352 L 400,160 L 288,96 L 318.948,49.577 C 336.658,38.693 356.553,32 377.594,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.661,512l-26.448-36.033c-32.472-44.238-70.793-76.045-107.854-106.805c-31.139-25.844-60.55-50.256-82.931-79.527\n\t\tC 12.897,254.938,0,217.58,0,175.426C0,96.341, 67.112,32, 149.604,32c 28.833,0, 57.551,10.134, 83.049,29.306\n\t\tc 8.305,6.245, 16.154,13.389, 23.352,21.197c 7.195-7.808, 15.041-14.951, 23.346-21.196C 304.845,42.135, 333.562,32, 362.395,32\n\t\tC 444.888,32, 512,96.341, 512,175.426c0,40.521-12.92,76.971-39.499,111.429c-22.229,28.82-51.254,53.197-81.983,79.006\n\t\tc-37.83,31.771-76.948,64.623-108.27,109.488L 256.661,512z M 149.604,96C 102.401,96, 64,131.631, 64,175.426\n\t\tc0,62.126, 41.624,96.673, 99.233,144.49c 29.444,24.438, 61.92,51.393, 92.271,85.654c 30.285-35.332, 63.626-63.332, 93.853-88.719\n\t\tc 28.007-23.521, 54.461-45.738, 72.467-69.083C 439.927,224.298, 448,201.987, 448,175.426C 448,131.631, 409.598,96, 362.395,96\n\t\tc-23.976,0-58.52,17.647-77.708,56.393l-28.664,57.88l-28.684-57.871C 208.132,113.651, 173.579,96, 149.604,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 377.594,32c-53.815,0-100.129,43.777-121.582,89.5C 234.543,75.778, 188.223,32, 134.404,32C 60.213,32,0,92.22,0,166.416\n\tc0,150.923, 152.25,190.497, 256.011,339.709C 354.088,357.837, 512,312.522, 512,166.416C 512,92.22, 451.785,32, 377.594,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart-broken, love\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,179.078 C 512,222.259 493.391,261.093 463.755,288 L 464,288 L 304,448 C 288,464 272,480 256,480 C 240,480 224,464 208,448 L 48,288 L 48.245,288 C 18.609,261.093 0,222.259 0,179.078 C 0,97.849 65.849,32 147.078,32 C 174.803,32 200.729,39.682 222.864,53.018 L 176,128 L 288,192 L 224,352 L 400,160 L 288,96 L 327.446,36.83 C 339.412,33.686 351.969,32 364.922,32 C 446.15,32 512,97.849 512,179.078 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,179.078C 512,97.849, 446.15,32, 364.922,32C 321.741,32, 282.907,50.609, 256,80.245C 229.093,50.609, 190.259,32, 147.078,32\n\tC 65.849,32,0,97.849,0,179.078C0,222.259, 18.609,261.093, 48.245,288L 48,288 l 160,160c 16,16, 32,32, 48,32s 32-16, 48-32l 160-160l-0.245,0 \n\tC 493.391,261.093, 512,222.259, 512,179.078z M 420.734,240.616L 258.745,402.745c-0.839,0.839-1.766,1.766-2.745,2.74\n\tc-0.98-0.975-1.907-1.901-2.745-2.74L 91.266,240.617C 73.683,224.653, 64,202.798, 64,179.078C 64,133.269, 101.269,96, 147.078,96\n\tc 23.72,0, 45.575,9.683, 61.538,27.266L 256,175.456l 47.384-52.189C 319.348,105.683, 341.202,96, 364.922,96\n\tC 410.731,96, 448,133.269, 448,179.078C 448,202.798, 438.316,224.653, 420.734,240.616z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,179.078 C 512,222.259 493.391,261.093 463.755,288 L 464,288 L 304,448 C 288,464 272,480 256,480 C 240,480 224,464 208,448 L 48,288 L 48.245,288 C 18.609,261.093 0,222.259 0,179.078 C 0,97.849 65.849,32 147.078,32 C 190.259,32 229.093,50.609 256,80.245 C 282.907,50.609 321.741,32 364.922,32 C 446.15,32 512,97.849 512,179.078 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,80l-96,96l-96-96L0,240l 256,256l 256-256L 352,80z M 90.51,240L 160,170.51l 96,96l 96-96L 421.49,240L 256,405.49L 90.51,240z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"heart, like, love, favorite\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,80 L 512,240 L 416,336 L 256,496 L 96,336 L 0,240 L 160,80 L 256,176 L 352,80 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,198.525L 335.11,172.821L 256,12.53l-79.108,160.291L0,198.525l 128,124.769L 97.784,499.47L 256,416.291l 158.216,83.179\n\tl-30.217-176.176L 512,198.525z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, half\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,198.525l-176.89-25.704L 256,12.53l-79.108,160.291L0,198.525l 128,124.769L 97.784,499.47L 256,416.291l 158.216,83.179\n\tl-30.217-176.176L 512,198.525z M 256,376.749l-0.471,0.248L 256,91.613l 55.868,113.198l 124.918,18.152l-90.394,88.111l 21.339,124.415\n\tL 256,376.749z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,198.525l-176.89-25.704L 256,12.53l-79.108,160.291L0,198.525l 128,124.769L 97.784,499.47L 256,416.291l 158.216,83.179\n\tl-30.217-176.176L 512,198.525z M 256,376.749l-111.731,58.74l 21.338-124.415l-90.393-88.111l 124.92-18.152L 256,91.613l 55.868,113.198\n\tl 124.918,18.152l-90.394,88.111l 21.339,124.415L 256,376.749z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192.004L 316.434,192.004L 256,6.009L 195.567,192.004L0,192.004L 158.217,306.956L 97.783,492.951L 256,378L 414.216,492.95L 353.783,306.956 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, half\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192.004L 316.434,192.004 L 256,6.009l-60.433,185.995L0,192.004 l 158.217,114.952L 97.783,492.951L 256,378l 158.216,114.95l-60.433-185.994\n\tL 512,192.004z M 256,338.446L 256,109.563 l 37.185,114.44l 120.33,0 l-97.35,70.729l 37.184,114.44L 256,338.446z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"star, rate, favorite, bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,109.563l 30,92.329l 7.185,22.111l 23.249,0 l 97.081,0 l-78.541,57.063l-18.809,13.666l 7.185,22.111l 29.999,92.329\n\tl-78.539-57.062L 256,338.446l-18.809,13.665l-78.54,57.062l 30-92.329l 7.184-22.111l-18.809-13.666l-78.541-57.063l 97.082,0 l 23.25,0 \n\tL 226,201.893L 256,109.563 M 256,6.009l-60.433,185.995L0,192.004 l 158.217,114.952L 97.783,492.951L 256,378l 158.216,114.95l-60.433-185.994\n\tL 512,192.004L 316.434,192.004 L 256,6.009L 256,6.009z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bed, sleep, night, hotel, room\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,448L 64,448L 64,512L 128,512L 128,448L 384,448L 384,512L 448,512L 448,448L 512,448L 512,416L0,416 \tzM 416,160L 256,160L 96,160L0,384L 512,384 \tzM 176,128c 44.183,0, 80,14.327, 80,32c0-17.673, 35.817-32, 80-32s 80,14.327, 80,32L 416,32 c0-17.673-14.326-32-32-32L 128,0 \n\t\tc-17.673,0-32,14.327-32,32l0,128 C 96,142.327, 131.818,128, 176,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bed, sleep, night, hotel, room\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,160c-17.673,0-32,14.327-32,32l0,64 c0-26.51-21.49-48-48-48l-192,0 c-26.51,0-48,21.49-48,48l0,16 l 288,0 l0,16 L 112,288 \n\t\tc-26.51,0-48-21.49-48-48l0-16 L 64,96 c0-17.673-14.327-32-32-32S0,78.327,0,96l0,320 l 64,0 l0-64 l 384,0 l0,64 l 64,0 L 512,192 \n\t\tC 512,174.327, 497.673,160, 480,160zM 64,224A48,48 10800 1 1 160,224A48,48 10800 1 1 64,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"moon, night, sleep\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 357.906,32.24C 327.781,14.848, 295.597,4.288, 263.12,0c 61.468,80.041, 72.384,192.381, 18.787,285.21\n\tc-53.6,92.835-156.344,139.556-256.394,126.34c 19.949,25.979, 45.188,48.573, 75.314,65.967\n\tc 122.954,70.987, 280.185,28.86, 351.172-94.099C 522.993,260.456, 480.865,103.232, 357.906,32.24z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contrast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 64,256\n\tc0-106.039, 85.961-192, 192-192l0,384 C 149.961,448, 64,362.039, 64,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-contrast, contrast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128c-70.692,0-128,57.308-128,128s 57.308,128, 128,128s 128-57.308, 128-128S 326.692,128, 256,128z M 256,336L 256,176 \n\t\tc 44.112,0, 80,35.888, 80,80S 300.112,336, 256,336zM 256,416 C 273.673,416 288,430.327 288,448 L 288,480 C 288,497.673 273.673,512 256,512 C 238.327,512 224,497.673 224,480 L 224,448 C 224,430.327 238.327,416 256,416 ZM 256,96 C 238.327,96 224,81.673 224,64 L 224,32 C 224,14.327 238.327,0 256,0 C 273.673,0 288,14.327 288,32 L 288,64 C 288,81.673 273.673,96 256,96 ZM 480,224 C 497.673,224 512,238.327 512,256 C 512,273.673 497.673,288 480,288 L 448,288 C 430.327,288 416,273.673 416,256 C 416,238.327 430.327,224 448,224 L 480,224 ZM 96,256 C 96,273.673 81.673,288 64,288 L 32,288 C 14.327,288 0,273.673 0,256 C 0,238.327 14.327,224 32,224 L 64,224 C 81.673,224 96,238.327 96,256 ZM 414.392,369.137 L 437.020,391.765 C 449.516,404.261 449.516,424.523 437.020,437.020 C 424.523,449.516 404.261,449.516 391.765,437.020 L 369.137,414.392 C 356.641,401.896 356.641,381.634 369.137,369.137 C 381.634,356.641 401.896,356.641 414.392,369.137 ZM 97.608,142.863 L 74.98,120.235 C 62.483,107.738 62.483,87.477 74.98,74.98 C 87.477,62.483 107.738,62.483 120.235,74.98 L 142.863,97.608 C 155.36,110.105 155.36,130.366 142.863,142.863 C 130.366,155.36 110.105,155.36 97.608,142.863 ZM 414.392,142.863 C 401.896,155.359 381.634,155.359 369.137,142.863 C 356.641,130.366 356.641,110.105 369.137,97.608 L 391.765,74.981 C 404.261,62.484 424.523,62.484 437.020,74.981 C 449.516,87.478 449.516,107.739 437.020,120.236 L 414.392,142.863 ZM 97.608,369.137 C 110.104,356.641 130.366,356.641 142.862,369.137 C 155.359,381.634 155.359,401.896 142.862,414.392 L 120.235,437.020 C 107.738,449.516 87.477,449.516 74.98,437.020 C 62.483,424.523 62.483,404.261 74.98,391.765 L 97.608,369.137 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-low, day, lightness, sun\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,96A32,32 2520 1 1 288,96A32,32 2520 1 1 224,96zM 96,128A32,32 2520 1 1 160,128A32,32 2520 1 1 96,128zM 224,416A32,32 2520 1 1 288,416A32,32 2520 1 1 224,416zM 352,384A32,32 2520 1 1 416,384A32,32 2520 1 1 352,384zM 64,256A32,32 2520 1 1 128,256A32,32 2520 1 1 64,256zM 384,256A32,32 2520 1 1 448,256A32,32 2520 1 1 384,256zM 352,128A32,32 2520 1 1 416,128A32,32 2520 1 1 352,128zM 96,384A32,32 2520 1 1 160,384A32,32 2520 1 1 96,384zM 256,160c-53.020,0-96,42.98-96,96s 42.98,96, 96,96s 96-42.98, 96-96S 309.020,160, 256,160z M 256,301c-24.813,0-45-20.187-45-45\n\t\tc0-24.813, 20.187-45, 45-45c 24.813,0, 45,20.187, 45,45C 301,280.813, 280.813,301, 256,301z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-medium, day, lightness, sun\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,211 C 231.187,211 211,231.187 211,256 C 211,280.813 231.187,301 256,301 C 280.813,301 301,280.813 301,256 C 301,231.187 280.813,211 256,211 Z M 256,160 L 256,160 C 309.020,160 352,202.98 352,256 C 352,309.020 309.020,352 256,352 C 202.98,352 160,309.020 160,256 C 160,202.98 202.98,160 256,160 ZM 438.627,393.373 C 451.125,405.87 451.124,426.131 438.627,438.627 C 426.13,451.125 405.87,451.125 393.373,438.627 L 361.373,406.627 C 348.875,394.13 348.875,373.87 361.373,361.373 C 373.869,348.876 394.13,348.875 406.627,361.373 L 438.627,393.373 ZM 150.627,105.373 C 163.125,117.87 163.124,138.131 150.627,150.627 C 138.13,163.125 117.87,163.125 105.373,150.627 L 73.373,118.627 C 60.875,106.13 60.875,85.87 73.373,73.373 C 85.869,60.876 106.13,60.875 118.627,73.373 L 150.627,105.373 ZM 393.372,73.373 C 405.869,60.875 426.13,60.876 438.626,73.373 C 451.124,85.87 451.124,106.13 438.627,118.627 L 406.627,150.627 C 394.129,163.125 373.869,163.125 361.373,150.627 C 348.875,138.131 348.875,117.87 361.373,105.373 L 393.372,73.373 ZM 105.373,361.373 C 117.87,348.875 138.13,348.876 150.627,361.373 C 163.125,373.87 163.125,394.13 150.627,406.627 L 118.627,438.627 C 106.13,451.125 85.87,451.125 73.373,438.627 C 60.876,426.131 60.875,405.87 73.373,393.373 L 105.373,361.373 ZM 256,32 C 273.673,32 288,46.327 288,64 L 288,96 C 288,113.673 273.673,128 256,128 C 238.327,128 224,113.673 224,96 L 224,64 C 224,46.327 238.327,32 256,32 ZM 256,384 C 273.673,384 288,398.326 288,416 L 288,448 C 288,465.674 273.673,480 256,480 C 238.327,480 224,465.674 224,448 L 224,416 C 224,398.326 238.327,384 256,384 ZM 32,256 C 32,238.327 46.327,224 64,224 L 96,224 C 113.673,224 128,238.327 128,256 C 128,273.674 113.673,288 96,288 L 64,288 C 46.327,288 32,273.674 32,256 ZM 384,256 C 384,238.327 398.326,224 416,224 L 448,224 C 465.674,224 480,238.327 480,256 C 480,273.673 465.674,288 448,288 L 416,288 C 398.326,288 384,273.673 384,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brightness-high, day, lightness, sun\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,211 C 231.187,211 211,231.187 211,256 C 211,280.813 231.187,301 256,301 C 280.813,301 301,280.813 301,256 C 301,231.187 280.813,211 256,211 Z M 256,160 L 256,160 C 309.020,160 352,202.98 352,256 C 352,309.020 309.020,352 256,352 C 202.98,352 160,309.020 160,256 C 160,202.98 202.98,160 256,160 ZM 470.627,425.373 C 483.125,437.87 483.124,458.131 470.627,470.627 C 458.13,483.125 437.87,483.125 425.373,470.627 L 361.373,406.627 C 348.875,394.13 348.875,373.87 361.373,361.373 C 373.869,348.876 394.13,348.875 406.627,361.373 L 470.627,425.373 ZM 150.627,105.373 C 163.125,117.87 163.124,138.131 150.627,150.627 C 138.13,163.125 117.87,163.125 105.373,150.627 L 41.373,86.627 C 28.875,74.13 28.875,53.87 41.373,41.373 C 53.869,28.876 74.13,28.875 86.627,41.373 L 150.627,105.373 ZM 425.372,41.373 C 437.869,28.875 458.13,28.876 470.626,41.373 C 483.124,53.87 483.124,74.13 470.627,86.627 L 406.627,150.627 C 394.129,163.125 373.869,163.125 361.373,150.627 C 348.875,138.131 348.875,117.87 361.373,105.373 L 425.372,41.373 ZM 105.373,361.373 C 117.87,348.875 138.13,348.876 150.627,361.373 C 163.125,373.87 163.125,394.13 150.627,406.627 L 86.627,470.627 C 74.13,483.125 53.87,483.125 41.373,470.627 C 28.876,458.131 28.875,437.87 41.373,425.373 L 105.373,361.373 ZM 256,0 C 273.673,0 288,14.327 288,32 L 288,96 C 288,113.673 273.673,128 256,128 C 238.327,128 224,113.673 224,96 L 224,32 C 224,14.327 238.327,0 256,0 ZM 256,384 C 273.673,384 288,398.326 288,416 L 288,480 C 288,497.674 273.673,512 256,512 C 238.327,512 224,497.674 224,480 L 224,416 C 224,398.326 238.327,384 256,384 ZM 0,256 C 0,238.327 14.327,224 32,224 L 96,224 C 113.673,224 128,238.327 128,256 C 128,273.674 113.673,288 96,288 L 32,288 C 14.327,288 0,273.674 0,256 ZM 384,256 C 384,238.327 398.326,224 416,224 L 480,224 C 497.674,224 512,238.327 512,256 C 512,273.673 497.674,288 480,288 L 416,288 C 398.326,288 384,273.673 384,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sun, brightness, day, lightness\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 459.975,256l 45.606-56.965l-65.807-31.536l 16.375-71.112l-72.974,0.14l-16.102-71.174L 301.389,57.14L 256,0l-45.389,57.14\n\t\tl-65.686-31.788l-16.102,71.174l-72.973-0.14l 16.374,71.112L 6.419,199.035L 52.026,256L 6.419,312.965l 65.807,31.536l-16.374,71.112\n\t\tl 72.973-0.14l 16.102,71.175l 65.686-31.788L 256,512l 45.389-57.14l 65.686,31.788l 16.102-71.175l 72.974,0.14l-16.375-71.112\n\t\tl 65.807-31.536L 459.975,256z M 256,420.5c-87.765,0-158.913-73.649-158.913-164.5c0-90.851, 71.148-164.5, 158.913-164.5\n\t\tc 87.766,0, 158.913,73.649, 158.913,164.5C 414.913,346.851, 343.766,420.5, 256,420.5zM 128,256A128,128 4680 1 1 384,256A128,128 4680 1 1 128,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sun, brightness, day, lightness\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,32 C 224,14.327 238.327,0 256,0 C 273.674,0 288,14.327 288,32 C 288,49.673 273.674,64 256,64 C 238.327,64 224,49.673 224,32 Z M 224,480 C 224,462.327 238.327,448 256,448 C 273.674,448 288,462.327 288,480 C 288,497.673 273.674,512 256,512 C 238.327,512 224,497.673 224,480 Z M 448,256 C 448,238.327 462.327,224 480,224 C 497.673,224 512,238.327 512,256 C 512,273.674 497.673,288 480,288 C 462.327,288 448,273.674 448,256 Z M 0,256 C 0,238.327 14.327,224 32,224 C 49.673,224 64,238.327 64,256 C 64,273.674 49.673,288 32,288 C 14.327,288 0,273.674 0,256 Z M 384.001,96 C 384.001,78.327 398.328,64 416.001,64 C 433.674,64 448.001,78.327 448.001,96 C 448.001,113.673 433.674,128 416.001,128 C 398.328,128 384.001,113.673 384.001,96 Z M 64,416 C 64,398.327 78.327,384 96,384 C 113.673,384 128,398.327 128,416 C 128,433.673 113.673,448 96,448 C 78.327,448 64,433.673 64,416 Z M 384.001,416 C 384.001,398.327 398.328,384 416.001,384 C 433.674,384 448.001,398.327 448.001,416 C 448.001,433.673 433.674,448 416.001,448 C 398.328,448 384.001,433.673 384.001,416 Z M 64,96 C 64,78.327 78.327,64 96,64 C 113.673,64 128,78.327 128,96 C 128,113.673 113.673,128 96,128 C 78.327,128 64,113.673 64,96 ZM 256,192 C 220.71,192 192,220.71 192,256 C 192,291.29 220.71,320 256,320 C 291.29,320 320,291.29 320,256 C 320,220.71 291.29,192 256,192 Z M 256,128 L 256,128 C 326.692,128 384,185.308 384,256 C 384,326.692 326.692,384 256,384 C 185.308,384 128,326.692 128,256 C 128,185.308 185.308,128 256,128 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"umbrella, weather, rainy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 287.933,33.98 C 414.246,49.698 512,157.43 512,288 L 503.418,288 C 492.351,268.876 471.687,256 448.001,256 C 424.316,256 403.652,268.876 392.585,288 L 375.417,288 C 364.35,268.876 343.686,256 320.001,256 C 308.339,256 297.413,259.127 288.001,264.579 L 288.001,432 C 288.001,476.112 252.113,512 208.001,512 C 163.889,512 128.001,476.112 128.001,432 C 128.001,414.327 142.328,400 160.001,400 C 177.674,400 192.001,414.327 192.001,432 C 192.001,440.822 199.179,448 208.001,448 C 216.823,448 224.001,440.822 224.001,432 L 224.001,264.578 C 214.588,259.127 203.663,256 192.001,256 C 168.315,256 147.651,268.876 136.584,288 L 119.417,288 C 108.349,268.876 87.685,256 64,256 C 40.315,256 19.651,268.876 8.583,288 L 0,288 C 0,157.43 97.754,49.698 224.067,33.98 C 224.027,33.325 224,32.666 224,32 C 224,14.327 238.327,0 256,0 C 273.673,0 288,14.327 288,32 C 288,32.666 287.973,33.325 287.933,33.98 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fan, wind\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 460.453,252.301c-25.392-25.391-56.613-41.391-89.355-48.021l 102.556-102.556c 21.799-21.801, 33.919-49.609-7.144-77.164\n\tC 398.975-15.533, 310.389-6.541, 252.302,51.547c-25.392,25.392-41.391,56.614-48.021,89.355L 101.725,38.346\n\tC 79.924,16.548, 52.115,4.427, 24.561,45.49C-15.532,113.025-6.54,201.611, 51.547,259.698c 25.392,25.392, 56.614,41.391, 89.356,48.021\n\tL 38.347,410.276c-21.799,21.801-33.919,49.609, 7.144,77.162c 67.535,40.094, 156.121,31.102, 214.208-26.984\n\tc 25.392-25.393, 41.392-56.614, 48.021-89.357l 102.556,102.556c 21.802,21.799, 49.609,33.92, 77.164-7.143\n\tC 527.533,398.975, 518.54,310.389, 460.453,252.301z M 256,320c-35.346,0-64-28.653-64-64c0-35.346, 28.654-64, 64-64\n\tc 35.347,0, 64,28.654, 64,64C 320,291.347, 291.347,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"windy, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,160c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48c0,2.305-0.173,4.569-0.486,6.788l 31.675,4.525\n\t\tC 415.713,119.615, 416,115.842, 416,112c0-44.183-35.817-80-80-80s-80,35.817-80,80s 35.817,80, 80,80l 176,0 l0-32 L 336,160 zM 64,384c0,53.019, 42.981,96, 96,96s 96-42.981, 96-96c0-8.032-0.992-15.831-2.851-23.287l-31.056,7.764\n\t\tC 223.333,373.447, 224,378.646, 224,384c0,35.347-28.654,64-64,64s-64-28.653-64-64s 28.654-64, 64-64l 352,0 l0-32 L 160,288 \n\t\tC 106.981,288, 64,330.979, 64,384zM 32,144c0-44.183, 35.817-80, 80-80s 80,35.817, 80,80c0,11.811-2.58,23.012-7.174,33.103l 29.157,13.253\n\t\tC 220.415,176.229, 224,160.534, 224,144c0-61.856-50.144-112-112-112S0,82.144,0,144c0,61.855, 50.144,112, 112,112l 400,0 l0-32 L 112,224 \n\t\tC 67.818,224, 32,188.183, 32,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"weather-snow, snow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,148.031 C 483.66,157.321 512,191.727 512,232.771 C 512,280.889 473.065,319.902 424.996,319.994 L 424.996,320 L 96.865,320 C 43.367,320 0,276.607 0,223.076 C 0,169.548 43.367,126.154 96.867,126.155 C 102.768,126.155 108.541,126.712 114.151,127.724 C 113.709,124.627 113.469,121.465 113.469,118.247 C 113.469,81.324 143.385,51.386 180.29,51.386 C 201.799,51.386 220.923,61.567 233.144,77.366 C 254.938,49.747 288.675,32 326.571,32 C 391.273,32 443.881,83.681 445.502,148.031 ZM 447.984,404.084 C 448.137,406.582 447.141,408.326 444.992,409.328 L 389.57,432.002 L 444.992,454.891 C 447.142,455.744 448.138,457.42 447.984,459.912 C 447.838,462.414 445.999,466.438 442.463,471.999 C 438.929,477.703 436.055,481.198 433.835,482.479 C 431.614,483.765 429.581,483.765 427.741,482.479 L 378.749,449.324 L 385.189,505.371 C 385.653,507.507 384.639,509.146 382.194,510.287 C 379.741,511.429 374.987,512 367.931,512 C 360.879,512 356.124,511.426 353.682,510.287 C 351.223,509.146 350.223,507.507 350.682,505.371 L 357.125,449.324 L 308.359,482.479 C 306.519,483.765 304.445,483.765 302.152,482.479 C 299.851,481.198 296.933,477.703 293.411,471.999 C 289.869,466.438 288.080,462.414 288.002,459.912 C 287.923,457.42 288.958,455.745 291.112,454.891 L 346.537,432.002 L 291.112,409.328 C 288.958,408.33 287.923,406.582 288.002,404.084 C 288.080,401.591 289.869,397.562 293.411,392.001 C 296.936,386.443 299.848,383.026 302.152,381.741 C 304.453,380.459 306.519,380.459 308.359,381.741 L 357.125,414.671 L 350.682,358.846 C 350.223,356.563 351.223,354.857 353.682,353.72 C 356.129,352.571 360.879,352 367.931,352 C 374.987,352 379.741,352.578 382.194,353.72 C 384.639,354.854 385.653,356.563 385.189,358.846 L 378.749,414.671 L 427.741,381.741 C 429.581,380.459 431.617,380.459 433.835,381.741 C 436.055,383.027 438.929,386.517 442.463,392.215 C 446,397.631 447.831,401.586 447.984,404.084 ZM 223.984,404.084 C 224.137,406.582 223.141,408.326 220.992,409.328 L 165.57,432.002 L 220.992,454.891 C 223.142,455.744 224.138,457.42 223.984,459.912 C 223.838,462.414 221.999,466.438 218.463,471.999 C 214.929,477.703 212.055,481.198 209.835,482.479 C 207.614,483.765 205.581,483.765 203.741,482.479 L 154.749,449.324 L 161.189,505.371 C 161.653,507.507 160.639,509.146 158.194,510.287 C 155.741,511.429 150.987,512 143.931,512 C 136.879,512 132.124,511.426 129.682,510.287 C 127.223,509.146 126.223,507.507 126.682,505.371 L 133.125,449.324 L 84.359,482.479 C 82.519,483.765 80.445,483.765 78.152,482.479 C 75.851,481.198 72.933,477.703 69.411,471.999 C 65.869,466.438 64.080,462.414 64.002,459.912 C 63.923,457.42 64.958,455.745 67.112,454.891 L 122.537,432.002 L 67.112,409.328 C 64.958,408.33 63.923,406.582 64.002,404.084 C 64.080,401.591 65.869,397.562 69.411,392.001 C 72.936,386.443 75.848,383.026 78.152,381.741 C 80.453,380.459 82.519,380.459 84.359,381.741 L 133.125,414.671 L 126.682,358.846 C 126.223,356.563 127.223,354.857 129.682,353.72 C 132.129,352.571 136.879,352 143.931,352 C 150.987,352 155.741,352.578 158.194,353.72 C 160.639,354.854 161.653,356.563 161.189,358.846 L 154.749,414.671 L 203.741,381.741 C 205.581,380.459 207.617,380.459 209.835,381.741 C 212.055,383.027 214.929,386.517 218.463,392.215 C 222,397.631 223.831,401.586 223.984,404.084 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"weather-rain, rainy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,148.031 C 483.66,157.321 512,191.727 512,232.771 C 512,280.889 473.065,319.902 424.996,319.994 L 424.996,320 L 96.865,320 C 43.367,320 0,276.607 0,223.076 C 0,169.548 43.367,126.154 96.867,126.155 C 102.768,126.155 108.541,126.712 114.151,127.724 C 113.709,124.627 113.469,121.465 113.469,118.247 C 113.469,81.324 143.385,51.386 180.29,51.386 C 201.799,51.386 220.923,61.567 233.144,77.366 C 254.938,49.747 288.675,32 326.571,32 C 391.273,32 443.881,83.681 445.502,148.031 ZM 112,352 C 112,352 160,416 160,464 C 160,490.51 138.51,512 112,512 C 85.49,512 64,490.51 64,464 C 64,416 112,352 112,352 ZM 400,352 C 400,352 448,416 448,464 C 448,490.51 426.51,512 400,512 C 373.49,512 352,490.51 352,464 C 352,416 400,352 400,352 ZM 256,320 C 256,320 304,384 304,432 C 304,458.51 282.51,480 256,480 C 229.49,480 208,458.51 208,432 C 208,384 256,320 256,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"weather-lightning, lightning\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,148.031C 443.881,83.681, 391.273,32, 326.57,32c-37.896,0-71.632,17.747-93.426,45.366\n\t\tc-12.221-15.8-31.345-25.98-52.854-25.98c-36.905,0-66.821,29.938-66.821,66.861c0,3.218, 0.24,6.38, 0.682,9.477\n\t\tc-5.61-1.012-11.383-1.569-17.284-1.569C 43.367,126.154,0,169.548,0,223.076C0,276.607, 43.367,320, 96.865,320l 82.737,0 l 21.333-64\n\t\tl 170.842,0 l-32,64l 85.219,0 l0-0.007 C 473.065,319.902, 512,280.889, 512,232.771C 512,191.727, 483.66,157.321, 445.502,148.031zM 320,288L 224,288L 192,384L 256,384L 224,480L 352,352L 288,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"temperature, thermometer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,360.564L 192,64 c0-17.673-14.326-32-32-32c-17.673,0-32,14.327-32,32l0,296.564 C 108.871,371.631, 96,392.313, 96,416\n\t\tc0,35.347, 28.653,64, 64,64s 64-28.653, 64-64C 224,392.313, 211.13,371.631, 192,360.564zM 256,64L 416,64L 416,96L 256,96zM 256,160L 416,160L 416,192L 256,192zM 256,256L 416,256L 416,288L 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"temperature, thermometer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,345.859L 288,160 c0-17.673-14.326-32-32-32c-17.673,0-32,14.327-32,32l0,185.859 c-10.869,9.131-17.78,22.822-17.78,38.129\n\t\t\tc0,27.492, 22.287,49.779, 49.78,49.779c 27.494,0, 49.779-22.287, 49.779-49.779C 305.781,368.682, 298.869,354.99, 288,345.859zM 352,299.316L 352,102.4 c0-56.32-43.199-102.4-96-102.4c-52.8,0-96,46.080-96,102.4l0,196.917 \n\t\t\tc-19.919,22.565-32.014,52.205-32.014,84.672C 127.988,454.688, 185.302,512, 256.001,512c 70.699,0, 128.013-57.313, 128.013-128.012\n\t\t\tC 384.014,351.521, 371.92,321.883, 352,299.316z M 256.001,480c-53.026,0-96.014-42.986-96.014-96.012\n\t\t\tc0-28.438, 12.367-53.982, 32.014-71.564L 192.001,102.4 c0-19.079, 6.94-36.99, 19.546-50.435C 223.617,39.091, 239.404,32, 256.001,32\n\t\t\tc 16.595,0, 32.384,7.091, 44.455,19.966C 313.061,65.41, 320,83.321, 320,102.4l0,210.023 c 19.646,17.582, 32.014,43.127, 32.014,71.563\n\t\t\tC 352.014,437.014, 309.028,480, 256.001,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"snowflake, winter, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 489.923,362.834L 434.663,330.932L 482.64,303.323L 458.416,261.232L 386.060,302.87L 304.564,255.817L 385.742,208.948L 458.416,250.769L 482.64,208.677L 434.348,180.887L 489.764,148.893L 465.482,106.835L 410.226,138.736L 410.303,83.386L 361.74,83.318L 361.619,166.799L 280.123,213.85L 280.123,120.111L 352.679,78.086L 328.338,36.063L 280.123,63.99L 280.123,0L 231.559,0L 231.559,63.807L 183.662,36.063L 159.322,78.086L 231.559,119.93L 231.559,214.033L 150.38,167.165L 150.261,83.318L 101.698,83.386L 101.777,139.104L 46.361,107.109L 22.077,149.167L 77.335,181.070L 29.36,208.677L 53.585,250.769L 125.939,209.13L 207.438,256.183L 126.257,303.053L 53.585,261.232L 29.36,303.323L 77.651,331.113L 22.236,363.107L 46.518,405.166L 101.775,373.264L 101.698,428.615L 150.261,428.683L 150.38,345.201L 231.877,298.148L 231.877,391.889L 159.322,433.912L 183.662,475.938L 231.877,448.010L 231.877,512L 280.441,512L 280.441,448.194L 328.338,475.938L 352.679,433.912L 280.441,392.070L 280.441,297.969L 361.619,344.836L 361.74,428.683L 410.303,428.615L 410.225,372.898L 465.642,404.895 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"starburst\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,40.007L 296.549,0L 322.744,50.579L 373.67,25.058L 382.956,81.259L 439.276,72.725L 430.74,129.044L 486.942,138.331L 461.422,189.256L 512,215.452L 471.993,256L 512,296.548L 461.422,322.744L 486.942,373.669L 430.74,382.956L 439.276,439.275L 382.956,430.741L 373.67,486.942L 322.744,461.421L 296.549,512L 256.001,471.993L 215.451,512L 189.255,461.421L 138.331,486.942L 129.044,430.741L 72.725,439.275L 81.261,382.956L 25.060,373.669L 50.579,322.744L0,296.548L 40.008,256L0,215.452L 50.579,189.256L 25.060,138.331L 81.261,129.044L 72.725,72.725L 129.044,81.259L 138.331,25.058L 189.255,50.579L 215.451,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spotlight, featured, lights, dualtone, highlight\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 498.608,439.539c 0.003,0.002, 0.005,0.004, 0.008,0.006L 495.111,436l-1.134,0 c-4.219-2.932-9.083-5.615-14.487-8l 7.711,0 \n\t\tl-7.911-8l-24.88,0 c-11.764-2.57-24.752-4-38.41-4c-13.662,0-26.653,1.43-38.419,4.002c 0.003-0.001, 0.006-0.001, 0.009-0.002l-84.852,0 \n\t\tl 4.356,8l 55.415,0 c 0.001,0, 0.002-0.001, 0.003-0.001c-5.407,2.386-10.273,5.070-14.493,8.003c 0.001,0, 0.002-0.001, 0.003-0.002l-36.57,0 \n\t\tl 4.356,8l 22.901,0 c 0.002-0.002, 0.004-0.004, 0.006-0.006c-2.348,2.557-4.264,5.232-5.692,8.008c 0.001-0.001, 0.001-0.002, 0.001-0.002\n\t\tl-12.858,0 l 4.356,8l 5.812,0 c 0.001-0.005, 0.002-0.009, 0.003-0.014C 320.117,461.31, 320,462.648, 320,464c0,1.348, 0.117,2.681, 0.334,4\n\t\tl-1.454,0 l 3.015,5.536l 0.003-0.001C 330.742,495.477, 369.511,512, 416,512c 53.020,0, 96-21.49, 96-48\n\t\tC 512,455.065, 507.112,446.702, 498.608,439.539z M 330.755,441.908c0,0.001-0.001,0.001-0.002,0.002\n\t\tC 330.754,441.909, 330.755,441.909, 330.755,441.908z M 321.382,455.858c-0.022,0.065-0.043,0.131-0.065,0.196\n\t\tC 321.338,455.989, 321.359,455.924, 321.382,455.858z M 322.184,453.791c-0.039,0.090-0.079,0.18-0.117,0.27\n\t\tC 322.104,453.97, 322.145,453.881, 322.184,453.791z M 321.36,472.076c 0.016,0.046, 0.029,0.093, 0.046,0.139\n\t\tC 321.391,472.169, 321.376,472.122, 321.36,472.076z M 320.606,469.393c 0.002,0.008, 0.004,0.016, 0.005,0.022\n\t\tC 320.61,469.408, 320.608,469.4, 320.606,469.393z M 320.943,470.729c 0.012,0.039, 0.021,0.079, 0.033,0.118\n\t\tC 320.965,470.808, 320.954,470.768, 320.943,470.729zM 179.215,420c-15.685-2.57-33.003-4-51.215-4c-18.211,0-35.529,1.43-51.213,4L 36.911,420 l-8.439,8l 14.873,0 \n\t\tc 0.018-0.006, 0.038-0.012, 0.056-0.018c-7.228,2.389-13.731,5.078-19.37,8.018l-3.999,0 l-8.44,8l 0.022,0 C 4.161,450.089,0,456.861,0,464\n\t\tc0,26.51, 57.308,48, 128,48c 65.084,0, 118.82-18.216, 126.937-41.794l 0.021,0.002l 1.057-2.208l-0.461,0 c 0.29-1.319, 0.446-2.652, 0.446-4\n\t\ts-0.156-2.683-0.446-4.002c0,0.001,0,0.001,0,0.002l 4.29,0 l 3.829-8l-11.706,0 c-1.902-2.771-4.455-5.445-7.581-8l 23.116,0 l 3.828-8l-39.36,0 \n\t\tc0,0, 0.001,0.001, 0.002,0.001c-5.625-2.933-12.111-5.616-19.318-8.001l 62.506,0 l 3.829-8l-99.775,0 C 179.213,420, 179.214,420, 179.215,420\n\t\tz M 253.245,454.061c-0.051-0.090-0.104-0.18-0.156-0.27C 253.141,453.881, 253.194,453.971, 253.245,454.061z M 254.244,456.054\n\t\tc-0.029-0.064-0.057-0.13-0.086-0.194C 254.188,455.924, 254.215,455.988, 254.244,456.054z M 233.737,436.945L 233.737,436.945\n\t\tL 233.737,436.945zM 432.14,100L 374.503,100L 366.062,108L 428.312,108 \tzM 424.482,116L 357.623,116L 349.184,124L 420.653,124 \tzM 447.455,68L 408.262,68L 399.822,76L 443.626,76 \tzM 439.798,84L 391.382,84L 382.942,92L 435.969,92 \tzM 455.113,52L 425.142,52L 416.701,60L 451.284,60 \tzM 462.771,36L 442.021,36L 433.581,44L 458.941,44 \tzM 478.086,4L 475.78,4L 467.34,12L 474.257,12 \tzM 470.428,20L 458.9,20L 450.461,28L 466.6,28 \tzM 409.167,148L 323.864,148L 315.424,156L 405.339,156 \tzM 416.825,132L 340.743,132L 332.304,140L 412.996,140 \tzM 393.852,180L 290.104,180L 281.665,188L 390.023,188 \tzM 401.51,164L 306.984,164L 298.545,172L 397.681,172 \tzM 471.38,412L 463.47,404L 286.646,404L 290.475,396L 455.56,396L 447.649,388L 294.304,388L 298.133,380L 439.739,380L 431.829,372L 301.961,372L 305.79,364L 423.918,364L 416.008,356L 309.619,356L 313.447,348L 408.098,348L 400.188,340L 317.276,340L 321.105,332L 392.277,332L 384.367,324L 324.934,324L 328.763,316L 328.763,316L 376.457,316L 368.546,308L 332.592,308L 336.42,300L 360.636,300L 352.726,292L 340.249,292L 340.249,292L 344.078,284L 344.078,284L 344.815,284L 344.318,283.497L 347.906,276L 336.905,276L 328.995,268L 328.995,268L 351.735,268L 355.564,260L 321.085,260L 321.085,260L 313.174,252L 359.393,252L 363.222,244L 305.264,244L 297.354,236L 367.051,236L 370.879,228L 289.443,228L 289.443,228L 281.533,220L 281.533,220L 374.708,220L 378.537,212L 273.623,212L 273.623,212L 265.712,204L 265.713,204L 382.365,204L 386.194,196L 273.226,196L 265.264,203.546L 257.802,196L 170.744,196L 175.102,204L 264.785,204L 256.346,212L 179.458,212L 183.815,220L 247.906,220L 239.466,228L 188.172,228L 192.529,236L 231.026,236L 231.026,236L 222.587,244L 222.586,244L 196.886,244L 201.243,252L 214.147,252L 214.147,252L 205.708,260L 205.707,260L 205.6,260L 205.636,260.067L 197.267,268L 209.957,268L 214.313,276L 188.828,276L 180.388,284L 218.67,284L 223.027,292L 171.948,292L 163.508,300L 227.384,300L 231.741,308L 155.068,308L 146.628,316L 236.098,316L 240.455,324L 138.189,324L 129.749,332L 244.812,332L 249.169,340L 121.309,340L 112.87,348L 253.526,348L 257.883,356L 104.43,356L 95.99,364L 262.239,364L 262.239,364L 266.597,372L 87.55,372L 79.11,380L 270.953,380L 270.953,380L 275.311,388L 70.67,388L 62.231,396L 279.667,396L 279.667,396L 284.024,404L 53.791,404L 45.351,412L 282.816,412L 285.419,406.562L 288.381,412 \tzM 114.104,92L 154.968,92L 147.058,84L 109.748,84 \tzM 96.677,60L 123.327,60L 115.417,52L 92.32,52 \tzM 105.391,76L 139.148,76L 131.237,68L 101.034,68 \tzM 87.963,44L 107.507,44L 99.596,36L 83.606,36 \tzM 75.865,12L 67.955,4L 66.179,4L 70.535,12 \tzM 131.532,124L 186.609,124L 178.699,116L 127.175,116 \tzM 79.249,28L 91.686,28L 83.776,20L 74.892,20 \tzM 122.818,108L 170.789,108L 162.879,100L 118.461,100 \tzM 148.96,156L 218.251,156L 210.34,148L 144.603,148 \tzM 140.246,140L 202.43,140L 194.52,132L 135.889,132 \tzM 157.674,172L 234.071,172L 226.161,164L 153.317,164 \tzM 166.388,188L 249.892,188L 241.981,180L 162.031,180 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 417.889,0L 416,0 L 32,0 l0,448 l 32,64l 384,0 L 448,60.224 L 417.889,0z M 398.111,32l 16,32L 320,64 l-16-32L 398.111,32 z M 64,32l 112,0 l 16,32L 80,64 L 64,32z\n\t M 416,480L 96,480 L 96,96 l 96,0 l0,192 l 64-64l 64,64L 320,96 l 96,0 L 416,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmarks, favorite, ribbon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,64L 128,512L 288,352L 448,512L 448,64 \tzM 384,0L 64,0L 64,448L 96,416L 96,32L 384,32 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmark, ribbon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,0l0,512 l 160-160l 160,160L 416,0 L 96,0 z M 384,434.745l-128-128l-128,128L 128,32 l 256,0 L 384,434.745 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bookmark, ribbon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,0L 96,512L 256,352L 416,512L 416,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 178,256A78,78 4680 1 1 334,256A78,78 4680 1 1 178,256zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,373\n\t\tc-104,0-207.999-90.999-208-117c 0.001-26.001, 104-117, 208-117s 207.997,90.999, 208,117C 463.997,282.001, 360,373, 256,373z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,160C 151.316,160, 58.378,210.278,0,288c 58.378,77.723, 151.316,128, 256,128c 104.684,0, 197.622-50.277, 256-128\n\tC 453.622,210.278, 360.684,160, 256,160z M 224,224c 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 206.327,224, 224,224z\n\t M 386.808,352.648c-19.824,10.129-40.826,17.931-62.423,23.188C 302.141,381.254, 279.134,384, 256,384\n\tc-23.133,0-46.141-2.746-68.384-8.162c-21.597-5.259-42.599-13.061-62.423-23.188c-31.51-16.101-60.111-38.205-83.82-64.649\n\tc 23.709-26.444, 52.31-48.55, 83.82-64.649c 16.168-8.261, 33.121-14.973, 50.541-20.020C 165.79,218.453, 160,236.549, 160,256\n\tc0,53.020, 42.981,96, 96,96c 53.019,0, 96-42.98, 96-96c0-19.451-5.791-37.547-15.733-52.67c 17.419,5.048, 34.372,11.76, 50.541,20.021\n\tc 31.511,16.099, 60.109,38.204, 83.819,64.649C 446.917,314.443, 418.318,336.55, 386.808,352.648z M 430.459,121.861\n\tC 376.099,94.084, 317.403,80, 256,80c-61.403,0-120.099,14.084-174.459,41.861C 52.155,136.877, 24.675,155.813,0,177.899l0,54.603 \n\tc 27.669-29.283, 60.347-53.877, 96.097-72.145C 145.907,134.905, 199.706,122, 256,122s 110.093,12.905, 159.902,38.358\n\tc 35.751,18.268, 68.429,42.862, 96.098,72.145L 512,177.9 C 487.325,155.813, 459.846,136.877, 430.459,121.861z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,409.5c-74.095,0-140.032-36.302-172.742-57.941c-21.921-14.502-42.094-31.101-56.803-46.74\n\t\tC 8.654,285.892,0,269.924,0,256.001c0-13.924, 8.654-29.892, 26.456-48.819c 14.709-15.639, 34.882-32.238, 56.803-46.74\n\t\tC 115.968,138.803, 181.906,102.5, 256,102.5c 74.094,0, 140.031,36.303, 172.741,57.942c 21.92,14.502, 42.093,31.101, 56.803,46.74\n\t\tc 17.801,18.926, 26.455,34.894, 26.456,48.815c-0.001,13.927-8.655,29.895-26.456,48.822c-14.709,15.639-34.882,32.237-56.803,46.739\n\t\tC 396.031,373.198, 330.095,409.5, 256,409.5z M 48.817,256c 5.511,10.143, 28.255,34.967, 67.025,59.47\n\t\tc 27.2,17.19, 81.577,46.029, 140.158,46.029c 58.582,0, 112.959-28.839, 140.158-46.030c 38.77-24.503, 61.514-49.326, 67.024-59.469\n\t\tc-5.512-10.143-28.255-34.966-67.025-59.47C 368.958,179.339, 314.581,150.5, 256,150.5s-112.958,28.839-140.157,46.030\n\t\tC 77.073,221.033, 54.328,245.857, 48.817,256zM 256,322.999c-36.944,0-67-30.056-67-66.999c0-36.944, 30.056-67, 67-67c 36.943,0, 66.999,30.056, 66.999,67\n\t\tC 322.999,292.943, 292.943,322.999, 256,322.999z M 256,220.905c-19.352,0-35.095,15.743-35.095,35.095s 15.743,35.095, 35.095,35.095\n\t\ts 35.095-15.743, 35.095-35.095S 275.352,220.905, 256,220.905z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 92.959,357.768 C 89.468,355.604 86.223,353.52 83.259,351.558 C 61.338,337.056 41.165,320.458 26.456,304.818 C 8.654,285.892 0,269.924 0,256.001 C 0,242.077 8.654,226.109 26.454,207.183 C 41.163,191.544 61.336,174.945 83.257,160.443 C 115.967,138.804 181.905,102.501 255.999,102.501 C 262.311,102.501 268.558,102.783 274.737,103.279 L 240.534,151.163 C 187.991,155.534 140.63,180.865 115.842,196.531 C 77.072,221.035 54.327,245.859 48.816,256.002 C 54.327,266.145 77.071,290.969 115.841,315.472 C 117.44,316.482 119.141,317.536 120.923,318.619 L 92.959,357.768 ZM 485.544,207.182c-14.71-15.639-34.883-32.238-56.803-46.74c-16.325-10.8-40.938-25.242-70.702-37.007l 57.422-80.392\n\t\tl-30.922-22.087l-320,448l 30.922,22.088l 70.088-98.124c 27.191,9.628, 58.037,16.58, 90.451,16.58\n\t\tc 74.095,0, 140.031-36.302, 172.741-57.941c 21.921-14.502, 42.094-31.101, 56.803-46.739c 17.801-18.927, 26.455-34.895, 26.456-48.822\n\t\tC 511.999,242.076, 503.345,226.108, 485.544,207.182z M 396.158,315.47C 368.959,332.661, 314.582,361.5, 256,361.5\n\t\tc-21.332,0-42.102-3.827-61.207-9.521l 29.037-40.651c 9.453,5.51, 20.44,8.673, 32.17,8.673c 35.347,0, 64-28.653, 64-64\n\t\tc0-19.321-8.572-36.626-22.11-48.357l 31.258-43.76c 28.146,9.813, 51.818,23.046, 67.010,32.647\n\t\tc 38.771,24.504, 61.514,49.327, 67.025,59.47C 457.672,266.144, 434.928,290.967, 396.158,315.47z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,409.5c-74.095,0-140.032-36.302-172.742-57.941c-21.921-14.502-42.094-31.101-56.803-46.74\n\t\tC 8.654,285.892,0,269.924,0,256.001c0-13.924, 8.654-29.892, 26.456-48.819c 14.709-15.639, 34.882-32.238, 56.803-46.74\n\t\tC 115.968,138.803, 181.906,102.5, 256,102.5c 74.094,0, 140.031,36.303, 172.741,57.942c 21.92,14.502, 42.093,31.101, 56.803,46.74\n\t\tc 17.801,18.926, 26.455,34.894, 26.456,48.815c-0.001,13.927-8.655,29.895-26.456,48.822c-14.709,15.639-34.882,32.237-56.803,46.739\n\t\tC 396.031,373.198, 330.095,409.5, 256,409.5z M 48.817,256c 5.511,10.143, 28.255,34.967, 67.025,59.47\n\t\tc 27.2,17.19, 81.577,46.029, 140.158,46.029c 58.582,0, 112.959-28.839, 140.158-46.030c 38.77-24.503, 61.514-49.326, 67.024-59.469\n\t\tc-5.512-10.143-28.255-34.966-67.025-59.47C 368.958,179.339, 314.581,150.5, 256,150.5s-112.958,28.839-140.157,46.030\n\t\tC 77.073,221.033, 54.328,245.857, 48.817,256zM 192,256A64,64 2520 1 1 320,256A64,64 2520 1 1 192,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye-blocked, views, vision, visit, banned, blocked, forbidden, private\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,320c 35.346,0, 64-28.654, 64-64c0-13.627-4.271-26.249-11.531-36.628l 151.68-176.959l-24.297-20.825L 284.183,198.535\n\t\tC 275.678,194.355, 266.115,192, 256,192c-35.346,0-64,28.654-64,64c0,13.627, 4.272,26.249, 11.531,36.628L 51.852,469.587\n\t\tl 24.296,20.826l 151.669-176.947C 236.322,317.645, 245.884,320, 256,320zM 165.436,287.902C 161.919,277.92, 160,267.185, 160,256c0-53.020, 42.979-96, 96-96c 6.037,0, 11.941,0.563, 17.67,1.629\n\t\tl 37.081-43.262C 292.753,114.318, 274.377,112, 256,112C 128,112, 0.001,223.999,0,256c0,18.815, 44.258,65.279, 106.74,100.381\n\t\tL 165.436,287.902zM 405.26,155.62l-58.695,68.478C 350.081,234.080, 352,244.815, 352,256c0,53.020-42.98,96-96,96\n\t\tc-6.037,0-11.941-0.563-17.67-1.629l-37.081,43.262C 219.248,397.682, 237.623,400, 256,400c 128,0, 255.997-111.999, 256-144\n\t\tC 511.998,237.185, 467.741,190.72, 405.26,155.62z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,112C 128,112, 0.001,223.999,0,256l0,0c 0.001,32.001, 128,144, 256,144s 255.997-111.999, 256-144l0,0\n\t\tC 511.997,223.999, 384,112, 256,112z M 256,352c-53.021,0-96-42.98-96-96c0-53.020, 42.979-96, 96-96c 53.020,0, 96,42.98, 96,96\n\t\tC 352,309.020, 309.020,352, 256,352zM 192,256A64,64 7560 1 1 320,256A64,64 7560 1 1 192,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,112C 128,112, 0.001,223.999,0,256l0,0c 0.001,32.001, 128,144, 256,144s 255.997-111.999, 256-144l0,0\n\t\tC 511.997,223.999, 384,112, 256,112z M 256,352c-53.021,0-96-42.98-96-96c0-53.020, 42.979-96, 96-96c 53.020,0, 96,42.98, 96,96\n\t\tC 352,309.020, 309.020,352, 256,352zM 224,256A32,32 12600 1 1 288,256A32,32 12600 1 1 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye-blocked, views, vision, visit, banned, blocked, forbidden, private\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 419.661,148.208 C 458.483,175.723 490.346,212.754 512,256 C 464.439,350.979 367.657,416 256,416 C 224.717,416 194.604,410.894 166.411,401.458 L 205.389,362.48 C 221.918,366.13 238.875,368 256,368 C 300.779,368 344.427,355.257 382.223,331.148 C 412.304,311.96 437.795,286.26 456.941,255.999 C 438.415,226.716 413.934,201.724 385.116,182.752 L 419.661,148.208 ZM 256,349 C 244.638,349 233.624,347.512 223.136,344.733 L 379.729,188.141 C 382.51,198.627 384,209.638 384,221 C 384,291.692 326.692,349 256,349 ZM 480,0l-26.869,0 L 343.325,109.806C 315.787,100.844, 286.448,96, 256,96C 144.341,96, 47.559,161.021,0,256\n\t\tc 21.329,42.596, 52.564,79.154, 90.597,106.534L0,453.131L0,480 l 26.869,0 L 480,26.869L 480,0 z M 208,157c 24.022,0, 43.923,17.647, 47.446,40.685\n\t\tl-54.762,54.762C 177.647,248.923, 160,229.022, 160,205C 160,178.49, 181.49,157, 208,157z M 55.058,256\n\t\tc 19.146-30.262, 44.637-55.962, 74.717-75.148c 1.959-1.25, 3.938-2.461, 5.929-3.65C 130.725,190.866, 128,205.613, 128,221\n\t\tc0,29.262, 9.825,56.224, 26.349,77.781l-29.275,29.275C 97.038,309.235, 73.197,284.67, 55.058,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eye, views, vision, visit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,96C 144.341,96, 47.559,161.021,0,256c 47.559,94.979, 144.341,160, 256,160c 111.657,0, 208.439-65.021, 256-160\n\tC 464.442,161.021, 367.657,96, 256,96z M 382.225,180.852c 30.081,19.187, 55.571,44.887, 74.717,75.148\n\tc-19.146,30.261-44.637,55.961-74.718,75.149C 344.427,355.257, 300.779,368, 256,368c-44.78,0-88.428-12.743-126.225-36.852\n\tC 99.695,311.962, 74.205,286.262, 55.058,256c 19.146-30.262, 44.637-55.962, 74.717-75.148c 1.959-1.25, 3.938-2.461, 5.929-3.65\n\tC 130.725,190.866, 128,205.613, 128,221c0,70.692, 57.308,128, 128,128s 128-57.308, 128-128c0-15.387-2.725-30.134-7.704-43.799\n\tC 378.286,178.39, 380.265,179.602, 382.225,180.852z M 256,205c0,26.51-21.49,48-48,48s-48-21.49-48-48s 21.49-48, 48-48\n\tS 256,178.49, 256,205z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"attachment, paperclip\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128L 128,128 C 57.308,128,0,185.308,0,256s 57.308,128, 128,128l 288,0 l0-32 L 128,352 c-53.020,0-96-42.98-96-96s 42.98-96, 96-96l 288,0 \n\tc 35.347,0, 64,28.654, 64,64c0,35.347-28.653,64-64,64L 192,288 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 224,0 l0-32 L 192,192 \n\tc-35.346,0-64,28.654-64,64c0,35.347, 28.654,64, 64,64l 224,0 c 53.020,0, 96-42.98, 96-96S 469.020,128, 416,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"attachment, paperclip\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 348.916,163.524l-32.476-32.461L 154.035,293.434c-26.907,26.896-26.907,70.524,0,97.422\n\tc 26.902,26.896, 70.53,26.896, 97.437,0l 194.886-194.854c 44.857-44.831, 44.857-117.531,0-162.363\n\tc-44.833-44.852-117.556-44.852-162.391,0L 79.335,238.212l 0.017,0.016c-0.145,0.152-0.306,0.288-0.438,0.423\n\tc-62.551,62.548-62.551,163.928,0,226.453c 62.527,62.528, 163.934,62.528, 226.494,0c 0.137-0.137, 0.258-0.284, 0.41-0.438l 0.016,0.017\n\tl 139.666-139.646l-32.493-32.46L 273.35,432.208l-0.008,0 c-0.148,0.134-0.282,0.285-0.423,0.422\n\tc-44.537,44.529-116.99,44.529-161.538,0c-44.531-44.521-44.531-116.961,0-161.489c 0.152-0.152, 0.302-0.291, 0.444-0.423l-0.023-0.030\n\tl 204.64-204.583c 26.856-26.869, 70.572-26.869, 97.443,0c 26.856,26.867, 26.856,70.574,0,97.42L 218.999,358.375\n\tc-8.968,8.961-23.527,8.961-32.486,0c-8.947-8.943-8.947-23.516,0-32.46L 348.916,163.524z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32.5c 19.393,0.786, 33.686,2.681, 46.365,6.903c 19.163,6.381, 35.674,19.009, 55.209,42.224\n\t\t\tc 54.165,64.364, 108.925,91.826, 183.107,91.826c 7.729,0, 15.767-0.307, 24.147-0.925c-10.090,11.872-20.705,23.466-31.729,34.059\n\t\t\tc-15.453,14.849-30.499,26.521-44.72,34.692c-14.99,8.612-29.547,13.609-43.263,14.851c-1.81,0.164-3.533,0.243-5.271,0.243\n\t\t\tc-16.82,0-29.746-7.817-49.442-20.573c-22.574-14.618-50.668-32.812-91.546-32.812c-13.692,0-27.906,2.034-42.859,6.161L 127.998,32.5 \n\t\t\t M 96,0l0,256 c 30.587-15.262, 54.737-21.011, 74.859-21.011c 61.341,0, 85.367,53.384, 140.988,53.384c 2.648,0, 5.354-0.12, 8.152-0.373\n\t\t\tc 79.729-7.221, 147.031-99.564, 192-160c-38.205,8.835-70.726,13.453-99.318,13.453c-66.72,0-112.085-25.129-158.623-80.43\n\t\t\tC 205.881,3.773, 169.369,0, 96,0L 96,0zM0,0L 64,0L 64,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 254.059,61.023C 205.881,3.773, 169.369,0, 96,0l0,256 c 128.267-64, 142.636,8.335, 223.506,1.023\n\t\tC 399.234,249.803, 467.031,188.436, 512,128C 384.644,157.453, 320.54,140.023, 254.059,61.023zM0,0L 64,0L 64,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 295.832,37.094C 284.518,3.451, 151.002,13.915, 110.264,14.908C 106.385,6.129, 98.028,0, 88.384,0\n\tC 75.069,0, 64.177,11.638, 64.177,25.86l0,460.281 c0,14.223, 10.893,25.859, 24.207,25.859c 13.313,0, 24.205-11.637, 24.205-25.859L 112.589,266.176 \n\tc 42.999-32.181, 174.39-71.337, 183.246-43.268c 9.891,31.352, 105.426,56.895, 151.99,35.262c0,0,0-158.896,0-203.115\n\tC 344.196,100.653, 308.633,75.147, 295.832,37.094z M 112.589,254.707L 112.589,30.38 C 126.911,63.968, 153.415,149.373, 112.589,254.707z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432.311,3.138L 303.69,28.862C 295.061,30.588, 288,24.8, 288,16S 280.94,1.412, 272.311,3.138L 128,32L 128,0 L 64,0 l0,512 l 64,0 L 128,256 \n\tl 144.311-28.862C 280.94,225.412, 288,231.2, 288,240s 7.061,14.588, 15.689,12.862l 128.621-25.725C 440.94,225.412, 448,216.8, 448,208L 448,16 \n\tC 448,7.2, 440.94,1.412, 432.311,3.138z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,0 C 81.673,0 96,14.327 96,32 L 96,512 L 32,512 L 32,32 C 32,14.327 46.327,0 64,0 ZM 304,56.615 L 304,327.384 C 282.5,313.075 251.047,302.77 216,302.77 C 180.953,302.77 149.5,320.459 128,334.769 L 128,64 C 149.5,49.689 180.953,32 216,32 C 251.047,32 282.5,42.305 304,56.615 ZM 416,384 C 377.767,384 343.454,373.695 320,359.384 L 320,88.615 C 343.454,102.925 377.767,113.23 416,113.23 C 454.233,113.23 488.546,94.311 512,80 L 512,350.769 C 488.546,365.080 454.233,384 416,384 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flag, report, mark\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,86.153 C 454.233,86.153 488.546,65.342 512,49.6 L 512,347.445 C 488.546,363.188 454.233,384 416,384 C 377.767,384 343.454,372.665 320,356.922 C 296.546,341.182 262.233,329.847 224,329.847 C 185.767,329.847 151.455,349.305 128,365.045 L 128,67.2 C 151.455,51.458 185.767,32 224,32 C 262.233,32 296.546,43.334 320,59.076 C 343.454,74.818 377.767,86.153 416,86.153 ZM 64,0 C 81.673,0 96,14.327 96,32 L 96,512 L 32,512 L 32,32 C 32,14.327 46.327,0 64,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"anchor, link\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288l0,66.098 c-40.261,41.123-96.519,80.825-160,91.254L 288,256 l 96,0 l0-32 l-96-37.465l0-0.006 c 37.282-13.18, 64-48.731, 64-90.529\n\tc0-53.020-42.98-96-96-96c-53.021,0-96,42.98-96,96c0,41.798, 26.715,77.35, 64,90.529l0,0.006 L 128,224l0,32 l 96,0 l0,189.352 \n\tc-63.484-10.429-119.742-50.131-160-91.254L 64,288 L0,288 l0,32 c0,64, 128,192, 256,192s 256-128, 256-192l0-32 L 448,288 z M 288,96\n\tc0,17.673-14.327,32-32,32c-17.673,0-32-14.327-32-32s 14.327-32, 32-32C 273.673,64, 288,78.327, 288,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, attach, chain, anchor, url, uri\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.745,154.745l-69.49-69.49C 408.81,72.809, 392.404,66.587, 376,66.587s-32.81,6.222-45.255,18.667l-133.49,133.49\n\t\tc-24.891,24.89-24.891,65.62,0,90.509L 200,312l 31.819-31.82l-2.745-2.745c-4.774-4.774-5.487-10.467-5.487-13.435\n\t\tc0-2.969, 0.713-8.661, 5.487-13.436l 133.49-133.49c 4.775-4.775, 10.468-5.488, 13.436-5.488s 8.66,0.713, 13.435,5.488l 69.491,69.491\n\t\tc 4.774,4.774, 5.487,10.466, 5.487,13.435s-0.713,8.66-5.487,13.435l-133.491,133.49c-4.774,4.775-10.467,5.488-13.435,5.488\n\t\ts-8.66-0.713-13.435-5.488l-2.745-2.746L 264,375.999l 2.745,2.746c 12.445,12.445, 28.851,18.668, 45.255,18.668\n\t\ts 32.81-6.223, 45.255-18.668l 133.49-133.491C 515.636,220.364, 515.636,179.635, 490.745,154.745zM 314.745,202.745L 312,200l-31.82,31.82l 2.746,2.746c 4.774,4.774, 5.487,10.466, 5.487,13.435s-0.713,8.661-5.487,13.435\n\t\tl-133.491,133.49c-4.774,4.775-10.467,5.488-13.435,5.488c-2.969,0-8.66-0.713-13.436-5.488l-69.489-69.49\n\t\tc-7.283-7.282-7.283-19.587-0.001-26.87l 133.49-133.49c 4.775-4.774, 10.467-5.487, 13.436-5.487c 2.968,0, 8.66,0.713, 13.435,5.487\n\t\tl 2.745,2.745L 248,136l-2.745-2.745c-12.445-12.445-28.851-18.667-45.255-18.667c-16.405,0-32.81,6.222-45.255,18.667\n\t\tl-133.49,133.49c-24.891,24.891-24.891,65.62,0,90.511l 69.49,69.49c 12.445,12.445, 28.85,18.668, 45.255,18.668\n\t\tc 16.404,0, 32.81-6.223, 45.255-18.668l 133.49-133.491C 339.636,268.364, 339.636,227.635, 314.745,202.745z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, url, uri, anchor\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 159.965,352.034c 8.803,8.803, 23.209,8.803, 32.012,0l 160.059-160.059c 8.805-8.803, 8.805-23.208,0-32.012\n\t\tc-8.802-8.803-23.208-8.803-32.012,0L 159.965,320.022C 151.162,328.825, 151.162,343.231, 159.965,352.034zM 489.457,73.305l-50.765-50.763c-30.056-30.056-79.237-30.056-109.294,0l-82.775,82.775\n\t\tc-21.994,21.995-27.891,54.229-17.695,81.719L 348.597,67.368c 12.449-12.45, 32.822-12.45, 45.271,0l 50.764,50.763\n\t\tc 12.448,12.45, 12.448,32.822,0,45.271L 324.965,283.069c 27.487,10.195, 59.723,4.301, 81.717-17.695l 82.775-82.773\n\t\tC 519.515,152.543, 519.515,103.362, 489.457,73.305zM 163.403,444.632c-12.449,12.449-32.821,12.449-45.271,0L 67.37,393.868c-12.449-12.45-12.449-32.822,0-45.271\n\t\tL 187.036,228.93c-27.489-10.196-59.725-4.3-81.719,17.695l-82.774,82.773c-30.057,30.060-30.057,79.24,0,109.297l 50.764,50.763\n\t\tc 30.056,30.058, 79.239,30.058, 109.293,0l 82.777-82.774c 21.994-21.994, 27.891-54.229, 17.694-81.719L 163.403,444.632z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, url, uri, anchor\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 476.698,37.321l-2.014-2.021c-47.074-47.067-124.097-47.067-171.163,0L 194.468,144.368\n\t\tc-47.067,47.066-47.067,124.088,0,171.155l 2.013,2.013c 3.916,3.924, 8.073,7.462, 12.368,10.729l 39.924-39.925\n\t\tc-4.651-2.747-9.063-6.036-13.058-10.030l-2.021-2.021c-25.557-25.549-25.557-67.136,0-92.695L 342.758,74.538\n\t\tc 25.558-25.559, 67.137-25.559, 92.693,0l 2.021,2.012c 25.55,25.558, 25.55,67.146,0,92.695l-49.343,49.343\n\t\tc 8.566,21.154, 12.624,43.7, 12.269,66.193l 76.302-76.302C 523.767,161.411, 523.767,84.39, 476.698,37.321zM 315.521,194.467c-3.916-3.916-8.073-7.461-12.368-10.72l-39.924,39.916c 4.652,2.748, 9.063,6.037, 13.058,10.031l 2.021,2.020\n\t\tc 25.558,25.558, 25.558,67.136,0,92.694L 169.243,437.475c-25.559,25.551-67.138,25.551-92.694,0l-2.021-2.021\n\t\tc-25.549-25.56-25.549-67.138,0-92.694l 49.344-49.343c-8.567-21.153-12.623-43.701-12.269-66.193l-76.301,76.299\n\t\tc-47.068,47.066-47.068,124.089,0,171.162l 2.013,2.016c 47.076,47.064, 124.096,47.064, 171.164,0l 109.055-109.059\n\t\tc 47.067-47.066, 47.067-124.097,0-171.163L 315.521,194.467z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link2\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,320 L 256,320 L 208,384 L 48,384 L 0,336 L 0,208 L 48,160 L 208,160 L 256,224 L 64,224 ZM 448,224L 256,224L 304,160L 464,160L 512,208L 512,336L 464,384L 304,384L 256,320L 448,320 zM 224,416L 288,416L 288,512L 224,512zM 109.255,512 L 64,512 L 64,466.744 L 114.745,416 L 160,416 L 160,461.256 ZM 448,466.744 L 448,512 L 402.744,512 L 352,461.256 L 352,416 L 397.256,416 ZM 224,32L 288,32L 288,128L 224,128zM 160,82.744L 160,128L 114.745,128L 64,77.256L 64,32L 109.255,32 zM 397.256,128L 352,128L 352,82.744L 402.744,32L 448,32L 448,77.256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,304L 192,304 c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32l 128,0 c 17.673,0, 32,14.327, 32,32\n\t\tC 352,289.673, 337.673,304, 320,304zM 64,320 L 256,320 L 208,384 L 48,384 L 0,336 L 0,208 L 48,160 L 208,160 L 256,224 L 64,224 ZM 448,224L 256,224L 304,160L 464,160L 512,208L 512,336L 464,384L 304,384L 256,320L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, unlink\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 238.444,337.557c 2.28,4.524, 3.495,9.579, 3.495,14.848c0,8.808-3.372,17.029-9.496,23.154l-81.69,81.69\n\t\tc-6.124,6.124-14.348,9.496-23.154,9.496s-17.030-3.372-23.154-9.496l-49.69-49.69c-6.124-6.125-9.496-14.348-9.496-23.154\n\t\ts 3.372-17.030, 9.496-23.154l 81.69-81.691c 6.124-6.123, 14.348-9.496, 23.154-9.496c 5.269,0, 10.322,1.215, 14.848,3.494l 32.669-32.668\n\t\tc-13.935-10.705-30.72-16.080-47.517-16.080c-19.993,0-39.986,7.583-55.154,22.751l-81.69,81.691\n\t\tc-30.335,30.335-30.335,79.975,0,110.309l 49.69,49.691c 15.167,15.166, 35.16,22.75, 55.153,22.75\n\t\tc 19.994,0, 39.987-7.584, 55.154-22.751l 81.69-81.69c 27.91-27.91, 30.119-72.149, 6.672-102.673L 238.444,337.557zM 489.248,72.442l-49.69-49.691C 424.391,7.583, 404.398,0, 384.404,0c-19.993,0-39.985,7.583-55.153,22.751l-81.691,81.691\n\t\tc-27.91,27.91-30.119,72.149-6.671,102.671l 32.669-32.67c-2.279-4.525-3.494-9.58-3.494-14.847c0-8.808, 3.372-17.030, 9.496-23.154\n\t\tl 81.691-81.691c 6.123-6.124, 14.347-9.497, 23.153-9.497c 8.808,0, 17.030,3.373, 23.154,9.497l 49.69,49.691\n\t\tc 6.124,6.124, 9.496,14.347, 9.496,23.154c0,8.807-3.372,17.030-9.496,23.154l-81.69,81.691c-6.124,6.124-14.347,9.496-23.154,9.496\n\t\tc-5.268,0-10.322-1.215-14.848-3.495l-32.669,32.669c 13.936,10.705, 30.72,16.080, 47.517,16.080c 19.994,0, 39.987-7.584, 55.154-22.752\n\t\tl 81.69-81.69C 519.584,152.416, 519.584,102.777, 489.248,72.442zM 116.684,139.312L 20.687,43.315L 43.315,20.687L 139.312,116.684zM 192,0L 224,0L 224,96L 192,96zM0,192L 96,192L 96,224L0,224zM 395.316,372.688L 491.314,468.686L 468.686,491.314L 372.688,395.316zM 288,416L 320,416L 320,512L 288,512zM 416,288L 512,288L 512,320L 416,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"link, chain, url, uri, anchor\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,352c 8.8,8.8, 23.637,8.363, 32.971-0.971L 351.030,192.971C 360.364,183.637, 360.8,168.8, 352,160\n\t\ts-23.637-8.363-32.971,0.971L 160.971,319.029C 151.637,328.363, 151.2,343.2, 160,352zM 238.444,337.556c 2.28,4.525, 3.495,9.58, 3.495,14.848c0,8.808-3.372,17.030-9.496,23.154l-81.691,81.691\n\t\tc-6.124,6.124-14.347,9.496-23.154,9.496s-17.030-3.372-23.154-9.496l-49.691-49.691c-6.124-6.124-9.496-14.347-9.496-23.154\n\t\ts 3.372-17.030, 9.496-23.154l 81.691-81.691c 6.124-6.124, 14.347-9.497, 23.154-9.497c 5.268,0, 10.322,1.215, 14.848,3.495l 32.669-32.669\n\t\tc-13.935-10.705-30.72-16.080-47.517-16.080c-19.993,0-39.986,7.583-55.154,22.751l-81.691,81.691\n\t\tc-30.335,30.335-30.335,79.974,0,110.309l 49.691,49.691C 87.611,504.416, 107.604,512, 127.597,512\n\t\tc 19.994,0, 39.987-7.584, 55.154-22.751l 81.691-81.691c 27.91-27.91, 30.119-72.149, 6.672-102.672L 238.444,337.556zM 489.249,72.442l-49.691-49.691C 424.391,7.583, 404.398,0, 384.404,0c-19.993,0-39.986,7.583-55.154,22.751l-81.691,81.691\n\t\tc-27.91,27.91-30.119,72.149-6.671,102.671l 32.669-32.67c-2.279-4.525-3.494-9.58-3.494-14.847c0-8.808, 3.372-17.030, 9.496-23.154\n\t\tl 81.691-81.691c 6.124-6.124, 14.347-9.497, 23.154-9.497s 17.030,3.373, 23.154,9.497l 49.691,49.691\n\t\tc 6.124,6.124, 9.496,14.347, 9.496,23.154s-3.372,17.030-9.496,23.154l-81.691,81.691c-6.124,6.124-14.347,9.496-23.154,9.496\n\t\tc-5.268,0-10.322-1.215-14.848-3.495l-32.669,32.669c 13.936,10.705, 30.72,16.080, 47.517,16.080c 19.994,0, 39.987-7.584, 55.154-22.751\n\t\tl 81.691-81.691C 519.584,152.416, 519.584,102.777, 489.249,72.442z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"network, p2p, connection, lan\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,224 L 384,224 L 384,96 L 256,96 L 256,0 L0,0 l0,192 l 96,0 l0,32 L 64,224 l0,32 l 128,0 l0-32 l-32,0 l0-32 l 96,0 l0-64 l 96,0 l0,96 l-96,0 l0,192 l 96,0 l0,32 l-32,0 l0,32 l 128,0 l0-32 l-32,0 l0-32 L 512,416 z\n\t M 224,160L 32,160 L 32,32 l 192,0 L 224,160 z M 288,384L 288,256 l 192,0 l0,128 L 288,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"earth, globe, web, internet, sphere, planet\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 437.020,74.981 C 485.371,123.333 512,187.621 512,256.001 C 512,324.381 485.371,388.668 437.020,437.020 C 388.667,485.371 324.38,512 256,512 C 187.62,512 123.333,485.371 74.98,437.020 C 26.629,388.668 0,324.381 0,256.001 C 0,187.621 26.627,123.333 74.98,74.981 C 123.333,26.629 187.62,0 256,0 C 324.38,0 388.667,26.629 437.020,74.981 Z M 414.392,414.393 C 445.921,382.863 466.885,343.589 475.528,300.862 C 468.791,310.78 462.347,314.459 458.356,292.259 C 454.246,256.064 421.002,279.185 400.098,266.329 C 378.096,281.158 328.645,237.498 337.049,286.741 C 350.016,308.952 407.053,257.016 378.623,304.012 C 360.486,336.82 312.302,409.478 318.57,447.141 C 319.361,502.013 262.503,458.583 242.913,440.381 C 229.735,403.921 238.422,340.194 203.964,322.338 C 166.563,320.714 134.462,317.315 119.967,275.503 C 111.244,245.589 129.249,201.056 161.306,194.181 C 208.231,164.698 224.993,228.708 269.001,229.898 C 282.665,215.601 319.909,211.055 322.997,195.023 C 294.122,189.928 359.631,170.744 320.233,159.832 C 298.498,162.388 284.494,182.369 296.049,199.311 C 253.93,209.132 252.581,138.359 212.094,160.682 C 211.065,195.977 145.983,172.125 189.576,164.968 C 204.554,158.424 165.146,139.46 186.436,142.906 C 196.894,142.338 232.102,130 222.574,121.705 C 242.179,109.535 258.654,150.85 277.843,120.764 C 291.697,97.631 272.033,93.36 254.668,105.086 C 244.878,94.124 271.953,70.448 295.834,60.217 C 303.793,56.807 311.395,54.949 317.207,55.475 C 329.236,69.371 351.482,71.778 352.646,53.804 C 322.855,39.537 290.008,32 256,32 C 207.189,32 160.765,47.512 122.346,76.195 C 132.671,80.925 138.532,86.814 128.585,94.343 C 120.857,117.37 89.5,148.281 61.973,143.905 C 47.68,168.553 38.267,195.708 34.243,224.169 C 57.299,231.797 62.615,246.894 57.661,251.944 C 45.913,262.188 38.693,276.709 34.973,292.605 C 42.478,338.523 64.059,380.843 97.608,414.393 C 139.916,456.7 196.167,480 256,480 C 315.832,480 372.084,456.7 414.392,414.393 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"globe, network, sphere, internet, web\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 265.035,470.342\n\tc-3.771,8.332-6.934,12.994-9.035,15.516c-2.102-2.521-5.265-7.184-9.036-15.516c-5.792-12.799-11.245-30.529-15.768-51.273\n\tc-0.278-1.276-0.552-2.566-0.823-3.864C 238.802,415.728, 247.35,416, 256,416c 8.65,0, 17.198-0.272, 25.628-0.796\n\tc-0.271,1.298-0.545,2.588-0.823,3.864C 276.281,439.812, 270.828,457.543, 265.035,470.342z M 256,392\n\tc-10.145,0-20.19-0.387-30.108-1.155c-3.553-22.027-6.201-46.185-7.858-71.546C 230.423,319.759, 243.098,320, 256,320\n\tc 12.901,0, 25.577-0.241, 37.967-0.702c-1.657,25.362-4.306,49.52-7.858,71.546C 276.19,391.613, 266.146,392, 256,392z M 256,296\n\tc-13.225,0-26.339-0.261-39.229-0.771C 216.261,282.339, 216,269.225, 216,256s 0.261-26.339, 0.771-39.229\n\tC 229.661,216.261, 242.775,216, 256,216c 13.225,0, 26.339,0.261, 39.229,0.771C 295.739,229.661, 296,242.775, 296,256\n\tc0,13.225-0.261,26.339-0.771,39.229C 282.339,295.739, 269.225,296, 256,296z M 120,256c0-10.145, 0.387-20.19, 1.156-30.108\n\tc 22.027-3.553, 46.184-6.201, 71.546-7.858C 192.241,230.423, 192,243.098, 192,256c0,12.901, 0.241,25.577, 0.702,37.967\n\tc-25.362-1.657-49.519-4.306-71.546-7.857C 120.387,276.19, 120,266.146, 120,256z M 96.796,281.628\n\tc-1.298-0.271-2.588-0.545-3.865-0.823c-20.745-4.523-38.475-9.977-51.274-15.77c-8.332-3.771-12.995-6.934-15.515-9.035\n\tc 2.52-2.101, 7.183-5.264, 15.515-9.035c 12.799-5.793, 30.53-11.245, 51.274-15.768c 1.277-0.278, 2.567-0.552, 3.865-0.823\n\tC 96.272,238.803, 96,247.351, 96,256C 96,264.65, 96.272,273.198, 96.796,281.628z M 246.964,41.657\n\tc 3.771-8.332, 6.934-12.994, 9.036-15.514c 2.102,2.52, 5.266,7.183, 9.035,15.515c 5.793,12.799, 11.244,30.53, 15.77,51.274\n\tc 0.278,1.276, 0.552,2.566, 0.823,3.864C 273.198,96.272, 264.65,96, 256,96c-8.65,0-17.198,0.272-25.627,0.796\n\tc 0.271-1.298, 0.545-2.588, 0.823-3.865C 235.719,72.186, 241.172,54.456, 246.964,41.657z M 256,120c 10.146,0, 20.19,0.387, 30.108,1.156\n\tc 3.553,22.027, 6.201,46.184, 7.858,71.546C 281.577,192.241, 268.901,192, 256,192c-12.902,0-25.577,0.241-37.966,0.702\n\tc 1.657-25.362, 4.305-49.519, 7.858-71.546C 235.81,120.386, 245.854,120, 256,120z M 319.298,218.034\n\tc 25.362,1.658, 49.52,4.305, 71.546,7.858C 391.613,235.81, 392,245.855, 392,256c0,10.146-0.387,20.19-1.156,30.108\n\tc-22.026,3.553-46.184,6.201-71.546,7.858C 319.759,281.577, 320,268.901, 320,256C 320,243.098, 319.759,230.423, 319.298,218.034z\n\t M 415.204,230.374c 1.298,0.271, 2.588,0.545, 3.864,0.823c 20.744,4.523, 38.475,9.975, 51.273,15.768\n\tc 8.332,3.771, 12.994,6.934, 15.516,9.035c-2.521,2.102-7.184,5.266-15.516,9.035c-12.8,5.793-30.529,11.244-51.273,15.77\n\tc-1.276,0.278-2.566,0.552-3.864,0.823C 415.728,273.198, 416,264.65, 416,256C 416,247.351, 415.728,238.803, 415.204,230.374z\n\t M 412.871,205.424c-2.382-19.014-6.075-37.269-10.931-54.507c 7.833,3.788, 15.299,7.885, 22.358,12.297\n\tc 20.652,12.907, 36.703,27.697, 47.707,43.958c 4.164,6.152, 7.51,12.42, 10.054,18.775C 464.994,217.941, 441.329,210.949, 412.871,205.424\n\tz M 380.223,162.488c 3.323,12.571, 5.943,25.489, 7.865,38.681c-21.474-3.24-45.006-5.712-69.988-7.268\n\tc-1.557-24.982-4.028-48.515-7.268-69.988c 13.191,1.921, 26.109,4.541, 38.681,7.864c 8.094,2.14, 15.931,4.547, 23.513,7.197\n\tC 375.676,146.557, 378.083,154.394, 380.223,162.488z M 306.576,99.129c-5.525-28.458-12.518-52.124-20.524-69.189\n\tc 6.355,2.544, 12.624,5.89, 18.776,10.054c 16.261,11.004, 31.050,27.055, 43.957,47.707c 4.412,7.060, 8.511,14.526, 12.298,22.359\n\tC 343.845,105.204, 325.59,101.51, 306.576,99.129z M 207.173,39.993c 6.152-4.164, 12.42-7.509, 18.775-10.053\n\tc-8.006,17.065-14.999,40.73-20.523,69.189c-19.014,2.381-37.269,6.075-54.507,10.931c 3.787-7.833, 7.885-15.3, 12.297-22.36\n\tC 176.122,67.049, 190.912,50.997, 207.173,39.993z M 162.488,131.776c 12.571-3.323, 25.489-5.942, 38.681-7.864\n\tc-3.24,21.474-5.712,45.006-7.268,69.988c-24.982,1.556-48.515,4.028-69.988,7.268c 1.921-13.192, 4.541-26.11, 7.864-38.682\n\tc 2.14-8.094, 4.547-15.931, 7.198-23.514C 146.557,136.322, 154.394,133.916, 162.488,131.776z M 99.129,205.424\n\tc-28.458,5.525-52.124,12.517-69.189,20.523c 2.544-6.355, 5.89-12.624, 10.054-18.776c 11.004-16.261, 27.055-31.050, 47.707-43.958\n\tc 7.060-4.412, 14.526-8.51, 22.359-12.297C 105.204,168.155, 101.51,186.41, 99.129,205.424z M 29.94,286.053\n\tc 17.065,8.007, 40.73,14.999, 69.189,20.523c 2.382,19.015, 6.075,37.27, 10.931,54.508c-7.833-3.787-15.3-7.886-22.36-12.298\n\tc-20.651-12.907-36.703-27.696-47.707-43.957C 35.83,298.677, 32.484,292.407, 29.94,286.053z M 131.776,349.514\n\tc-3.323-12.571-5.942-25.49-7.864-38.682c 21.474,3.24, 45.006,5.711, 69.988,7.268c 1.556,24.982, 4.028,48.515, 7.268,69.988\n\tc-13.192-1.921-26.11-4.54-38.682-7.863c-8.094-2.14-15.931-4.547-23.513-7.197C 136.323,365.444, 133.916,357.607, 131.776,349.514z\n\t M 205.424,412.871c 5.525,28.458, 12.517,52.124, 20.523,69.188c-6.355-2.544-12.624-5.89-18.776-10.054\n\tc-16.261-11.004-31.050-27.055-43.958-47.707c-4.412-7.060-8.51-14.525-12.298-22.359C 168.154,406.796, 186.41,410.489, 205.424,412.871\n\tz M 304.829,472.006c-6.153,4.164-12.422,7.51-18.777,10.055c 8.007-17.065, 14.999-40.73, 20.524-69.189\n\tc 19.014-2.382, 37.27-6.075, 54.508-10.932c-3.787,7.834-7.886,15.3-12.298,22.359C 335.879,444.951, 321.090,461.002, 304.829,472.006z\n\t M 349.513,380.223c-12.571,3.323-25.489,5.943-38.681,7.864c 3.239-21.473, 5.711-45.005, 7.268-69.987\n\tc 24.982-1.557, 48.515-4.028, 69.988-7.268c-1.922,13.191-4.541,26.109-7.864,38.682c-2.14,8.093-4.546,15.93-7.196,23.512\n\tC 365.444,375.676, 357.606,378.083, 349.513,380.223z M 412.871,306.576c 28.458-5.525, 52.124-12.518, 69.189-20.524\n\tc-2.545,6.355-5.891,12.624-10.055,18.776c-11.004,16.261-27.055,31.050-47.707,43.957c-7.060,4.412-14.525,8.511-22.358,12.298\n\tC 406.796,343.845, 410.489,325.59, 412.871,306.576z M 420.049,91.951c 21.314,21.314, 38.046,46.128, 49.729,73.751\n\tc 0.52,1.228, 1.013,2.463, 1.51,3.698c-20.423-19.792-47.646-36.58-79.6-49.088c-12.509-31.953-29.296-59.176-49.088-79.6\n\tc 1.234,0.498, 2.47,0.991, 3.697,1.51C 373.921,53.906, 398.735,70.638, 420.049,91.951z M 91.951,91.952\n\tc 21.314-21.314, 46.128-38.045, 73.751-49.729c 1.227-0.519, 2.462-1.012, 3.695-1.509c-19.791,20.423-36.578,47.646-49.085,79.598\n\tc-31.953,12.508-59.176,29.295-79.599,49.086c 0.497-1.233, 0.99-2.468, 1.509-3.695C 53.906,138.079, 70.638,113.266, 91.951,91.952z\n\t M 91.952,420.049c-21.314-21.313-38.045-46.128-49.729-73.751c-0.519-1.228-1.012-2.462-1.509-3.695\n\tc 20.423,19.791, 47.646,36.578, 79.598,49.086c 12.508,31.952, 29.295,59.176, 49.087,79.599c-1.234-0.496-2.469-0.989-3.696-1.509\n\tC 138.079,458.094, 113.266,441.363, 91.952,420.049z M 420.049,420.049c-21.313,21.314-46.128,38.046-73.751,49.729\n\tc-1.228,0.52-2.463,1.013-3.697,1.51c 19.792-20.423, 36.579-47.646, 49.088-79.6c 31.953-12.509, 59.177-29.296, 79.6-49.088\n\tc-0.497,1.234-0.99,2.47-1.51,3.697C 458.094,373.921, 441.363,398.735, 420.049,420.049z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"globe, web, internet, network, sphere\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\tC 480,139.452, 372.549,32, 240,32z M 375.795,352c 4.29-20.227, 6.998-41.695, 7.879-64l 63.724,0 c-1.669,22.098-6.812,43.557-15.341,64\n\tL 375.795,352 z M 343.018,192c 4.808,20.481, 7.699,41.927, 8.641,64L 256,256 l0-64 L 343.018,192 z M 256,160L 256,66.331 \n\tc 7.295,2.123, 14.521,5.685, 21.614,10.685c 13.291,9.37, 26.006,23.804, 36.77,41.743c 7.441,12.401, 13.876,26.208, 19.248,41.242L 256,160\n\tL 256,160z M 165.616,118.758c 10.764-17.939, 23.478-32.374, 36.77-41.743c 7.091-5, 14.319-8.562, 21.614-10.685L 224,160 l-77.632,0 \n\tC 151.741,144.967, 158.176,131.16, 165.616,118.758z M 224,192l0,64 l-95.657,0 c 0.94-22.073, 3.833-43.519, 8.639-64L 224,192 z M 128.343,288L 224,288 l0,64 \n\tl-87.018,0 C 132.176,331.52, 129.283,310.073, 128.343,288z M 224,384l0,93.67 c-7.294-2.123-14.522-5.686-21.614-10.685\n\tc-13.292-9.37-26.007-23.806-36.77-41.743c-7.441-12.402-13.875-26.209-19.249-41.242L 224,384 z M 314.384,425.242\n\tc-10.764,17.938-23.479,32.373-36.77,41.743c-7.093,4.999-14.319,8.562-21.614,10.685L 256,384 l 77.633,0 \n\tC 328.26,399.033, 321.825,412.84, 314.384,425.242z M 256,352l0-64 l 95.657,0 c-0.94,22.073-3.833,43.52-8.641,64L 256,352 z M 383.674,256\n\tc-0.881-22.304-3.589-43.773-7.879-64l 56.262,0 c 8.528,20.443, 13.672,41.903, 15.341,64L 383.674,256 z M 415.329,160l-47.95,0 \n\tc-9.319-29.381-22.188-55.147-37.658-75.714c 21.269,10.17, 40.529,23.808, 57.357,40.636C 397.818,135.661, 407.259,147.391, 415.329,160\n\tz M 387.078,419.078c-16.828,16.829-36.090,30.467-57.357,40.637c 15.472-20.566, 28.339-46.334, 37.658-75.715l 47.95,0 \n\tC 407.259,396.609, 397.818,408.339, 387.078,419.078z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"globe, web, internet, network, sphere\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\tC 480,139.452, 372.549,32, 240,32z M 375.795,352c 4.29-20.227, 6.998-41.696, 7.879-64l 63.723,0 c-1.668,22.098-6.812,43.557-15.34,64\n\tL 375.795,352 z M 104.205,192c-4.29,20.227-6.998,41.696-7.879,64L 32.604,256 c 1.668-22.097, 6.811-43.557, 15.339-64L 104.205,192 z M 343.018,192\n\tc 4.807,20.481, 7.699,41.927, 8.64,64L 256,256 l0-64 L 343.018,192 z M 256,160L 256,66.331 c 7.295,2.123, 14.522,5.685, 21.614,10.685\n\tc 13.291,9.37, 26.006,23.804, 36.77,41.743c 7.441,12.401, 13.876,26.208, 19.248,41.242L 256,160.001 z M 165.616,118.758\n\tc 10.764-17.939, 23.478-32.374, 36.77-41.743c 7.091-5, 14.319-8.562, 21.614-10.685L 224,160 l-77.632,0 \n\tC 151.741,144.967, 158.176,131.16, 165.616,118.758z M 224,192l0,64 l-95.657,0 c 0.94-22.073, 3.833-43.519, 8.639-64L 224,192 z M 47.944,352\n\tc-8.528-20.443-13.671-41.902-15.339-64l 63.722,0 c 0.881,22.304, 3.589,43.773, 7.879,64L 47.944,352 z M 128.343,288L 224,288 l0,64 l-87.018,0 \n\tC 132.176,331.52, 129.283,310.073, 128.343,288z M 224,384l0,93.67 c-7.294-2.123-14.522-5.686-21.614-10.685\n\tc-13.292-9.37-26.007-23.805-36.77-41.743c-7.441-12.402-13.875-26.209-19.249-41.242L 224,384 z M 314.384,425.242\n\tc-10.764,17.938-23.479,32.373-36.77,41.743c-7.092,4.999-14.319,8.562-21.614,10.685L 256,384 l 77.633,0 \n\tC 328.26,399.033, 321.825,412.84, 314.384,425.242z M 256,352l0-64 l 95.657,0 c-0.94,22.073-3.833,43.52-8.64,64L 256,352 z M 383.674,256\n\tc-0.881-22.304-3.589-43.773-7.879-64l 56.262,0 c 8.528,20.443, 13.672,41.903, 15.34,64L 383.674,256 z M 415.329,160l-47.95,0 \n\tc-9.319-29.381-22.188-55.147-37.658-75.714c 21.268,10.17, 40.529,23.808, 57.357,40.636C 397.818,135.661, 407.259,147.391, 415.329,160\n\tz M 92.922,124.922c 16.829-16.829, 36.090-30.466, 57.357-40.636c-15.471,20.567-28.338,46.333-37.658,75.714L 64.672,160 \n\tC 72.741,147.391, 82.183,135.661, 92.922,124.922z M 64.672,384l 47.949,0 c 9.32,29.381, 22.188,55.147, 37.659,75.715\n\tc-21.268-10.17-40.529-23.808-57.357-40.637C 82.183,408.339, 72.741,396.609, 64.672,384z M 387.078,419.078\n\tc-16.828,16.829-36.090,30.467-57.357,40.637c 15.471-20.567, 28.339-46.334, 37.658-75.715l 47.95,0 \n\tC 407.259,396.609, 397.818,408.339, 387.078,419.078z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,320L 288,320L 288,192L 400,192L 256,64L 112,192L 224,192 \tzM 320,259.024l0,16.622 c 74.569,8.786, 128,32.488, 128,60.354c0,35.347-85.961,64-192,64c-106.039,0-192-28.653-192-64\n\t\tc0-27.865, 53.431-51.566, 128-60.354l0-16.622 C 81.585,269.682,0,307.268,0,352c0,53.020, 114.615,96, 256,96s 256-42.98, 256-96\n\t\tC 512,307.268, 430.414,269.682, 320,259.024z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, save, store, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,192L 288,192L 288,64L 224,64L 224,192L 112,192L 256,320 \tzM 371.549,266.316l-16.805,14.788C 410.614,292.295, 448,312.691, 448,336c0,35.347-85.961,64-192,64\n\t\tc-106.039,0-192-28.653-192-64c0-23.309, 37.386-43.705, 93.255-54.896l-16.804-14.788C 57.122,282.151,0,314.572,0,352\n\t\tc0,53.020, 114.615,96, 256,96s 256-42.98, 256-96C 512,314.572, 454.879,282.151, 371.549,266.316z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,352L0,352 l0,128 l 480,0 L 480,352 L 240,352 z M 448,416l-64,0 l0-32 l 64,0 L 448,416 zM 112,160 L 240,32 L 368,160 L 288,160 L 288,320 L 192,320 L 192,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368,224 L 240,352 L 112,224 L 192,224 L 192,32 L 288,32 L 288,224 ZM 240,352L0,352 l0,128 l 480,0 L 480,352 L 240,352 z M 448,416l-64,0 l0-32 l 64,0 L 448,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,448L 512,448L 512,480L0,480zM 512,384 L 512,416 L 0,416 L 0,384 L 64,256 L 192,256 L 192,320 L 320,320 L 320,256 L 448,256 ZM 112,160 L 256,16 L 400,160 L 288,160 L 288,288 L 224,288 L 224,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,256l-80,0 L 256,368L 144,256L 64,256 L0,384l0,32 l 512,0 l0-32 L 448,256z M0,448l 512,0 l0,32 L0,480 L0,448 z M 288,160L 288,32 l-64,0 l0,128 L 112,160 l 144,144l 144-144\n\tL 288,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,512l 320,0 c 53.019,0, 96-42.981, 96-96L0,416 C0,469.019, 42.981,512, 96,512z M 416,448l 32,0 l0,32 l-32,0 L 416,448 zM 112,160 L 256,16 L 400,160 L 288,160 L 288,256 L 224,256 L 224,160 ZM 511.4,368.615 C 513.854,377.077 508.553,384 499.62,384 L 12.379,384 C 3.447,384 -1.854,377.077 0.6,368.615 L 56.642,207.384 C 59.096,198.923 68.413,192 77.345,192 L 192,192 L 192,288 L 320,288 L 320,192 L 434.655,192 C 443.588,192 452.904,198.923 455.358,207.384 L 511.4,368.615 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,512l 320,0 c 53.019,0, 96-42.981, 96-96L0,416 C0,469.019, 42.981,512, 96,512z M 416,448l 32,0 l0,32 l-32,0 L 416,448 zM 400,128 L 256,272 L 112,128 L 224,128 L 224,0 L 288,0 L 288,128 ZM 511.4,368.615 C 513.854,377.077 508.553,384 499.62,384 L 12.379,384 C 3.447,384 -1.854,377.077 0.6,368.615 L 56.642,207.384 C 59.096,198.923 68.413,192 77.345,192 L 112,192 L 240,320 L 272,320 L 400,192 L 434.655,192 C 443.588,192 452.904,198.923 455.358,207.384 L 511.4,368.615 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,384L 448,384L 448,480L 64,480zM 192,191.954 L 80,191.954 L 228.686,43.267 C 243.709,28.245 268.291,28.245 283.313,43.267 L 432,191.954 L 320,191.954 L 320,351.954 L 192,351.954 L 192,191.954 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, arrow, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,384L 448,384L 448,480L 64,480zM 320,192 L 432,192 L 283.314,340.687 C 268.291,355.709 243.709,355.709 228.687,340.687 L 80,192 L 192,192 L 192,32 L 320,32 L 320,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, arrow, load, outbox\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,352L 448,416L 64,416L 64,352L0,352L0,480L 512,480L 512,352 \tzM 128,224L 224,224L 224,384L 288,384L 288,224L 384,224L 256,32 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, arrow, store, save, inbox\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,352L 448,416L 64,416L 64,352L0,352L0,480L 512,480L 512,352 \tzM 384,192L 288,192L 288,32L 224,32L 224,192L 128,192L 256,384 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud-upload, load\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.134,193.245C 447.356,187.69, 448,181.921, 448,176c0-44.183-35.817-80-80-80c-7.111,0-14.007,0.934-20.566,2.676\n\tC 335.035,60, 298.789,32, 256,32c-43.674,0-80.527,29.168-92.163,69.085C 152.466,97.774, 140.441,96, 128,96C 57.308,96,0,153.308,0,224\n\tc0,70.694, 57.308,128, 128,128l 64,0 l0,96 l 128,0 l0-96 l 112,0 c 44.183,0, 80-35.816, 80-80C 512,232.64, 483.573,199.919, 446.134,193.245z M 288,320l0,96 \n\tl-64,0 l0-96 l-80,0 l 112-112l 112,112L 288,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud-download, download, store, save\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 445.502,180.030C 443.881,115.681, 391.273,64, 326.571,64c-37.896,0-71.633,17.747-93.427,45.366\n\tc-12.221-15.799-31.345-25.98-52.854-25.98c-36.905,0-66.821,29.937-66.821,66.861c0,3.218, 0.24,6.38, 0.682,9.477\n\tc-5.611-1.012-11.383-1.569-17.285-1.569C 43.367,158.154,0,201.548,0,255.076C0,308.607, 43.367,352, 96.865,352l 49.88,0 L 256,461.255\n\tL 365.255,352l 59.741,0 l0-0.006 C 473.065,351.902, 512,312.888, 512,264.771C 512,223.726, 483.661,189.321, 445.502,180.030z M 256,416l-96-96\n\tl 64,0 l0-96 l 64,0 l0,96 l 64,0 L 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,328.771c0-41.045-28.339-75.45-66.498-84.74C 443.881,179.681, 391.273,128, 326.571,128\n\tc-37.896,0-71.633,17.747-93.427,45.366c-12.221-15.799-31.345-25.98-52.854-25.98c-36.905,0-66.821,29.937-66.821,66.861\n\tc0,3.218, 0.24,6.38, 0.682,9.477c-5.611-1.012-11.383-1.569-17.285-1.569C 43.367,222.154,0,265.548,0,319.076\n\tC0,372.607, 43.367,416, 96.865,416l 328.131,0 l0-0.006 C 473.065,415.902, 512,376.888, 512,328.771z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.134,257.245C 447.356,251.691, 448,245.922, 448,240c0-44.183-35.817-80-80-80c-7.112,0-14.007,0.934-20.567,2.676\n\tC 335.035,124, 298.789,96, 256,96c-43.674,0-80.527,29.168-92.163,69.085C 152.466,161.775, 140.441,160, 128,160\n\tC 57.308,160,0,217.308,0,288c0,70.693, 57.308,128, 128,128l 304,0 c 44.183,0, 80-35.816, 80-80C 512,296.641, 483.573,263.92, 446.134,257.245\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cloud, weather\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.133,257.245C 447.356,251.691, 448,245.922, 448,240c0-44.183-35.817-80-80-80c-7.112,0-14.008,0.934-20.568,2.676\n\tC 335.035,124, 298.789,96, 256,96c-43.674,0-80.527,29.168-92.164,69.085C 152.465,161.775, 140.44,160, 128,160\n\tC 57.307,160,0,217.308,0,288c0,70.693, 57.307,128, 128,128l 304,0 c 44.182,0, 80-35.816, 80-80C 512,296.641, 483.573,263.92, 446.133,257.245\n\tz M 432,384.077L 432,384 L 128,384 c-53.021,0-96-42.98-96-96c0-53.019, 42.979-96, 96-96c 31.404,0, 59.288,15.083, 76.803,38.398l 25.601-19.201\n\tc-9.993-13.305-22.521-24.596-36.864-33.163C 199.911,149.406, 225.452,128, 256,128c 35.346,0, 64,28.654, 64,64\n\tc0,8.942-1.839,17.454-5.148,25.184l 29.426,12.593c 4.627-10.799, 7.33-22.615, 7.68-35.021C 356.975,192.976, 362.371,192, 368,192\n\tc 26.51,0, 48,21.49, 48,48c0,6.541-1.316,12.773-3.688,18.455c-8.925,2.261-17.256,6.009-24.701,10.982l 17.7,26.567\n\tc 7.635-5.104, 16.813-8.083, 26.688-8.083c 26.554,0, 48.075,21.523, 48.075,48.076C 480.074,362.553, 458.553,384.077, 432,384.077z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 352,96L 352,192L0,192zM0,224L 352,224L 352,320L0,320zM0,352L 352,352L 352,448L0,448zM 511.998,288 L 431.998,384 L 351.998,288 ZM 352,256 L 432,160 L 512,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 352,96L 352,192L0,192zM0,224L 352,224L 352,320L0,320zM0,352L 352,352L 352,448L0,448zM 352,320 L 432,224 L 512,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options, expand\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 352,96L 352,192L0,192zM0,224L 352,224L 352,320L0,320zM0,352L 352,352L 352,448L0,448zM 512,224 L 432,320 L 352,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, list, items, lines, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,96L 480,96L 480,192L 32,192zM 32,224L 480,224L 480,320L 32,320zM 32,352L 480,352L 480,448L 32,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192l 352,0 l0,64 L0,256 L0,192 z M0,96l 352,0 l0,64 L0,160 L0,96 z M0,288l 352,0 l0,64 L0,352 L0,288 z M0,384l 352,0 l0,64 L0,448 L0,384 z M 384,288l 64,96l 64-96L 384,288 z M 512,256\n\tl-64-96l-64,96L 512,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, options, expand\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192L 352,192L 352,256L0,256zM0,96L 352,96L 352,160L0,160zM0,288L 352,288L 352,352L0,352zM0,384L 352,384L 352,448L0,448zM 384,224L 448,320L 512,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, list, items, lines, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384L 64,384 c-35.2,0-64,28.8-64,64s 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64S 483.2,384, 448,384zM 448,192L 64,192 c-35.2,0-64,28.8-64,64s 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64S 483.2,192, 448,192zM 64,128l 384,0 c 35.2,0, 64-28.8, 64-64S 483.2,0, 448,0L 64,0 C 28.8,0,0,28.8,0,64S 28.8,128, 64,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"circle-small\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,256A96,96 2520 1 1 352,256A96,96 2520 1 1 160,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, dots, more\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96A64,64 9000 1 1 320,96A64,64 9000 1 1 192,96zM 192,256A64,64 9000 1 1 320,256A64,64 9000 1 1 192,256zM 192,416A64,64 9000 1 1 320,416A64,64 9000 1 1 192,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"menu, dots, more\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32L 320,32L 320,160L 192,160zM 192,192L 320,192L 320,320L 192,320zM 192,352L 320,352L 320,480L 192,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, branches, descendants\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,384l-8,0 L 480,280 c0-30.878-25.121-56-56-56L 288,224 l0-64 l 8,0 c 13.2,0, 24-10.8, 24-24L 320,56 c0-13.2-10.8-24-24-24l-80,0 \n\tc-13.2,0-24,10.8-24,24l0,80 c0,13.2, 10.8,24, 24,24l 8,0 l0,64 L 88,224 c-30.878,0-56,25.122-56,56l0,104 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 C 512,394.8, 501.2,384, 488,384z M 96,480L 32,480 l0-64 l 64,0 L 96,480 z M 288,480l-64,0 l0-64 l 64,0 L 288,480 z\n\t M 224,128L 224,64 l 64,0 l0,64 L 224,128 z M 480,480l-64,0 l0-64 l 64,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, branches, descendants\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,384l-8,0 L 480,280 c0-30.878-25.121-56-56-56L 288,224 l0-64 l 8,0 c 13.2,0, 24-10.8, 24-24L 320,56 c0-13.2-10.8-24-24-24l-80,0 \n\tc-13.2,0-24,10.8-24,24l0,80 c0,13.2, 10.8,24, 24,24l 8,0 l0,64 L 88,224 c-30.878,0-56,25.122-56,56l0,104 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 l0-96 l 128,0 l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,80 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 C 512,394.8, 501.2,384, 488,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, branches, binary tree\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,352l-50.411,0 L 320,156.020L 320,56 c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,100.019 L 74.412,352L 24,352 \n\tc-13.2,0-24,10.8-24,24l0,80 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24L 128,355.98 L 245.588,160l 20.823,0 L 384,355.98L 384,456 \n\tc0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-80 C 512,362.8, 501.2,352, 488,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,160L 352,160 L 352,32 l 128,0 L 480,160 z M 192,320L 192,192 l 128,0 l0,128 L 192,320 z M 320,352l0,128 L 192,480 L 192,352 L 320,352 z M 160,320L 32,320 L 32,192 l 128,0 L 160,320 z\n\t M 192,160L 192,32 l 128,0 l0,128 L 192,160 z M 352,192l 128,0 l0,128 L 352,320 L 352,192 z M 160,32l0,128 L 32,160 L 32,32 L 160,32 z M 32,352l 128,0 l0,128 L 32,480 L 32,352 z M 352,480L 352,352 l 128,0 l0,128 L 352,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, squares\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 224,0L 224,224L0,224zM 288,0L 512,0L 512,224L 288,224zM0,288L 224,288L 224,512L0,512zM 288,288L 512,288L 512,512L 288,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, circles\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,32 L 96,32 C 131.346,32 160,60.654 160,96 C 160,131.346 131.346,160 96,160 C 60.654,160 32,131.346 32,96 C 32,60.654 60.654,32 96,32 ZM 256,32 L 256,32 C 291.346,32 320,60.654 320,96 C 320,131.346 291.346,160 256,160 C 220.654,160 192,131.346 192,96 C 192,60.654 220.654,32 256,32 ZM 416,32 L 416,32 C 451.346,32 480,60.654 480,96 C 480,131.346 451.346,160 416,160 C 380.654,160 352,131.346 352,96 C 352,60.654 380.654,32 416,32 ZM 96,192 L 96,192 C 131.346,192 160,220.654 160,256 C 160,291.346 131.346,320 96,320 C 60.654,320 32,291.346 32,256 C 32,220.654 60.654,192 96,192 ZM 256,192 L 256,192 C 291.346,192 320,220.654 320,256 C 320,291.346 291.346,320 256,320 C 220.654,320 192,291.346 192,256 C 192,220.654 220.654,192 256,192 ZM 416,192 L 416,192 C 451.346,192 480,220.654 480,256 C 480,291.346 451.346,320 416,320 C 380.654,320 352,291.346 352,256 C 352,220.654 380.654,192 416,192 ZM 96,352 L 96,352 C 131.346,352 160,380.654 160,416 C 160,451.346 131.346,480 96,480 C 60.654,480 32,451.346 32,416 C 32,380.654 60.654,352 96,352 ZM 256,352 L 256,352 C 291.346,352 320,380.654 320,416 C 320,451.346 291.346,480 256,480 C 220.654,480 192,451.346 192,416 C 192,380.654 220.654,352 256,352 ZM 416,352 L 416,352 C 451.346,352 480,380.654 480,416 C 480,451.346 451.346,480 416,480 C 380.654,480 352,451.346 352,416 C 352,380.654 380.654,352 416,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, squares\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,32L 160,32L 160,160L 32,160zM 192,32L 320,32L 320,160L 192,160zM 352,32L 480,32L 480,160L 352,160zM 32,192L 160,192L 160,320L 32,320zM 192,192L 320,192L 320,320L 192,320zM 352,192L 480,192L 480,320L 352,320zM 32,352L 160,352L 160,480L 32,480zM 192,352L 320,352L 320,480L 192,480zM 352,352L 480,352L 480,480L 352,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps, circles\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64A64,64 2520 1 1 128,64A64,64 2520 1 1 0,64zM 192,64A64,64 2520 1 1 320,64A64,64 2520 1 1 192,64zM 384,64A64,64 2520 1 1 512,64A64,64 2520 1 1 384,64zM0,256A64,64 2520 1 1 128,256A64,64 2520 1 1 0,256zM 192,256A64,64 2520 1 1 320,256A64,64 2520 1 1 192,256zM 384,256A64,64 2520 1 1 512,256A64,64 2520 1 1 384,256zM0,448A64,64 2520 1 1 128,448A64,64 2520 1 1 0,448zM 192,448A64,64 2520 1 1 320,448A64,64 2520 1 1 192,448zM 384,448A64,64 2520 1 1 512,448A64,64 2520 1 1 384,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"grid, icons, apps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 128,0L 128,128L0,128zM 192,0L 320,0L 320,128L 192,128zM 384,0L 512,0L 512,128L 384,128zM0,192L 128,192L 128,320L0,320zM 192,192L 320,192L 320,320L 192,320zM 384,192L 512,192L 512,320L 384,320zM0,384L 128,384L 128,512L0,512zM 192,384L 320,384L 320,512L 192,512zM 384,384L 512,384L 512,512L 384,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"playlist, music, songs\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32L 320,32L 320,96L0,96zM0,160L 288,160L 288,224L0,224zM0,288L 224,288L 224,352L0,352zM0,416L 160,416L 160,480L0,480zM 416,0l-64,0 l0,356.559 c-10.010-2.949-20.778-4.559-32-4.559c-53.020,0-96,35.817-96,80s 42.98,80, 96,80s 96-35.817, 96-80L 416,96 l 96,32\n\t\tL 512,64 L 416,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0l 320,0 l0,128 L 192,128 L 192,0 z M 192,192l 320,0 l0,128 L 192,320 L 192,192 z M 192,384l 320,0 l0,128 L 192,512 L 192,384 zM0,64A64,64 2520 1 1 128,64A64,64 2520 1 1 0,64zM0,256A64,64 2520 1 1 128,256A64,64 2520 1 1 0,256zM0,448A64,64 2520 1 1 128,448A64,64 2520 1 1 0,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 128,0L 128,128L0,128zM 192,0L 512,0L 512,128L 192,128zM0,192L 128,192L 128,320L0,320zM 192,192L 512,192L 512,320L 192,320zM0,384L 128,384L 128,512L0,512zM 192,384L 512,384L 512,512L 192,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"numbered-list, list, items, nl\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,416L 512,416L 512,480L 192,480zM 192,224L 512,224L 512,288L 192,288zM 192,32L 512,32L 512,96L 192,96zM 96,0 L 96,128 L 64,128 L 64,32 L 32,32 L 32,0 ZM 64,263 L 64,288 L 128,288 L 128,320 L 32,320 L 32,247 L 96,217 L 96,192 L 32,192 L 32,160 L 128,160 L 128,233 ZM 128,352 L 128,512 L 32,512 L 32,480 L 96,480 L 96,448 L 32,448 L 32,416 L 96,416 L 96,384 L 32,384 L 32,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,0C 28.654,0,0,28.654,0,64s 28.654,64, 64,64s 64-28.654, 64-64S 99.346,0, 64,0z M 64,108c-24.262,0-44-19.738-44-44\n\t\ts 19.738-44, 44-44s 44,19.738, 44,44S 88.262,108, 64,108zM 64,192c-35.346,0-64,28.654-64,64c0,35.346, 28.654,64, 64,64s 64-28.654, 64-64C 128,220.654, 99.346,192, 64,192z M 64,300\n\t\tc-24.262,0-44-19.738-44-44s 19.738-44, 44-44s 44,19.738, 44,44S 88.262,300, 64,300zM 64,384c-35.346,0-64,28.654-64,64s 28.654,64, 64,64s 64-28.654, 64-64S 99.346,384, 64,384z M 64,492c-24.262,0-44-19.738-44-44\n\t\ts 19.738-44, 44-44s 44,19.738, 44,44S 88.262,492, 64,492zM 192,32L 512,32L 512,96L 192,96zM 192,224L 512,224L 512,288L 192,288zM 192,416L 512,416L 512,480L 192,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, todo, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32l 320,0 l0,64 L 192,96 L 192,32 z M 192,224l 320,0 l0,64 L 192,288 L 192,224 z M 192,416l 320,0 l0,64 L 192,480 L 192,416 zM0,64A64,64 2520 1 1 128,64A64,64 2520 1 1 0,64zM0,256A64,64 2520 1 1 128,256A64,64 2520 1 1 0,256zM0,448A64,64 2520 1 1 128,448A64,64 2520 1 1 0,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"list, bullet, ul, todo, menu\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0L 128,0L 128,128L0,128zM 192,32L 512,32L 512,96L 192,96zM0,192L 128,192L 128,320L0,320zM 192,224L 512,224L 512,288L 192,288zM0,384L 128,384L 128,512L0,512zM 192,416L 512,416L 512,480L 192,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, board, list\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 L 288,64zM 432,64l-32,0 l0,32 l 16,0 l0,384 L 96,480 L 96,96 l 16,0 L 112,64 L 80,64 c-8.801,0-16,7.2-16,16l0,416 c0,8.8, 7.199,16, 16,16l 352,0 c 8.8,0, 16-7.2, 16-16L 448,80 \n\t\tC 448,71.2, 440.8,64, 432,64zM 128,192L 384,192L 384,224L 128,224zM 128,288L 384,288L 384,320L 128,320zM 128,384L 384,384L 384,416L 128,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, board\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 L 288,64zM 432,64l-32,0 l0,32 l 16,0 l0,384 L 96,480 L 96,96 l 16,0 L 112,64 L 80,64 c-8.801,0-16,7.2-16,16l0,416 c0,8.8, 7.199,16, 16,16l 352,0 c 8.8,0, 16-7.2, 16-16L 448,80 \n\t\tC 448,71.2, 440.8,64, 432,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"signup, checkmark, board, agreement, register\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,397.255L 121.373,278.628L 150.627,249.373L 224,306.745L 361.372,185.373L 390.628,214.627 \tzM 415.886,64c 0.039,0.033, 0.081,0.075, 0.114,0.115l0,383.771 c-0.033,0.039-0.075,0.081-0.114,0.114L 96.114,448 \n\tc-0.040-0.033-0.081-0.075-0.114-0.114L 96,64.114 c 0.033-0.040, 0.075-0.081, 0.115-0.114L 32,64 l0,384 c0,35.2, 28.8,64, 64,64l 320,0 \n\tc 35.2,0, 64-28.8, 64-64L 480,64 L 415.886,64 z M 320,64L 320,32 c0-17.673-14.327-32-32-32l-64,0 c-17.673,0-32,14.327-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 L 320,64 z\n\t M 288,64l-64,0 L 224,32 l 64,0 L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, list\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 415.886,64c 0.039,0.033, 0.081,0.075, 0.114,0.115l0,383.771 c-0.033,0.039-0.075,0.081-0.114,0.114L 96.114,448 \n\t\tc-0.040-0.033-0.081-0.075-0.114-0.114L 96,64.114 c 0.033-0.040, 0.075-0.081, 0.115-0.114L 32,64 l0,384 c0,35.2, 28.8,64, 64,64l 320,0 \n\t\tc 35.2,0, 64-28.8, 64-64L 480,64 L 415.886,64 zM 128,160L 192,160L 192,224L 128,224zM 224,160L 384,160L 384,224L 224,224zM 128,256L 192,256L 192,320L 128,320zM 224,256L 384,256L 384,320L 224,320zM 128,352L 192,352L 192,416L 128,416zM 224,352L 384,352L 384,416L 224,416zM 320,64L 320,32 c0-17.673-14.327-32-32-32l-64,0 c-17.673,0-32,14.327-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 L 320,64 z M 288,64l-64,0 L 224,32 l 64,0 L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clipboard, board, list\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,48c0-26.51-21.49-48-48-48c-26.509,0-48,21.49-48,48c0,48-96,16-96,80l 288,0 C 384,64, 288,96, 288,48z M 240,71.2\n\t\tc-12.813,0-23.2-10.387-23.2-23.2s 10.387-23.2, 23.2-23.2c 12.812,0, 23.2,10.387, 23.2,23.2S 252.812,71.2, 240,71.2zM 448,96l-32,0 l0,64 L 64,160 L 64,96 L 32,96 c-17.673,0-32,14.327-32,32l0,352 c0,17.674, 14.326,32, 32,32l 416,0 c 17.672,0, 32-14.326, 32-32L 480,128 \n\t\tC 480,110.327, 465.672,96, 448,96z M 416,448L 64,448 l0-32 l 352,0 L 416,448 z M 416,352L 64,352 l0-32 l 352,0 L 416,352 z M 416,256L 64,256 l0-32 l 352,0 L 416,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"socket, power, plugin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,160L 160,160L 160,288L 128,288zM 352,160L 384,160L 384,256L 352,256zM 379.996,32L 132.004,32 C 53.288,75.667,0,159.604,0,256s 53.288,180.333, 132.004,224l 247.992,0 \n\t\tC 458.712,436.333, 512,352.396, 512,256S 458.712,75.667, 379.996,32z M 371.418,448L 140.582,448 c-31.358-18.896-57.763-45.287-76.68-76.726\n\t\tC 43.032,336.59, 32,296.729, 32,256s 11.032-80.589, 31.902-115.275C 82.82,109.287, 109.224,82.896, 140.582,64l 230.836,0 \n\t\tc 31.357,18.896, 57.763,45.287, 76.68,76.725C 468.969,175.411, 480,215.272, 480,256c0,40.729-11.031,80.59-31.902,115.274\n\t\tC 429.181,402.713, 402.776,429.104, 371.418,448zM 256,320c-35.346,0-64,14.327-64,32l0,64 l 128,0 l0-64 C 320,334.327, 291.347,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cord\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 441.435,198.565c-7.42-7.42-19.449-7.42-26.869,0L 336,277.131L 234.87,176l 78.564-78.565c 7.421-7.42, 7.421-19.45,0-26.87\n\tc-7.42-7.42-19.449-7.42-26.869,0L 208,149.13l-46.565-46.565c-7.42-7.42-19.45-7.42-26.87,0s-7.42,19.45,0,26.87l 33.49,33.49\n\tL 101.49,229.49c-42.174,42.174-48.766,106.456-19.775,155.541L 9.373,457.373c-12.497,12.496-12.497,32.758,0,45.254\n\tC 15.621,508.876, 23.811,512, 32,512s 16.379-3.124, 22.627-9.373l 72.341-72.342c 49.085,28.99, 113.367,22.398, 155.541-19.775\n\tl 66.565-66.565l 33.49,33.49c 3.71,3.71, 8.572,5.565, 13.435,5.565s 9.725-1.855, 13.435-5.565c 7.421-7.42, 7.421-19.449,0-26.869\n\tL 362.869,304l 78.565-78.565C 448.855,218.015, 448.855,205.985, 441.435,198.565z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"power cord, cord, plugin, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,141.25L 466.747,96L 377.374,185.376L 326.624,134.625L 415.999,45.25L 370.749,0L 281.374,89.375L 224,32L 180.687,75.312L 436.688,331.313L 480,288.001L 422.624,230.625 \tzM 137.374,374.627c 82.884,82.881, 192.597,18.181, 259.646-37.732L 175.108,114.983\n\t\tC 119.196,182.031, 54.494,291.744, 137.374,374.627zM 95.999,352.002L 159.996,416L 64,511.996L 0.002,447.999z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"switch, power, turn off, off, shutdown\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,73.294l0,67.979 c 18.103,7.902, 34.75,19.204, 49.137,33.59C 399.358,205.083, 416,245.263, 416,288\n\t\ts-16.643,82.917-46.863,113.137C 338.917,431.357, 298.738,448, 256,448s-82.917-16.643-113.137-46.863\n\t\tC 112.643,370.917, 96,330.737, 96,288s 16.643-82.917, 46.863-113.137c 14.387-14.387, 31.034-25.689, 49.137-33.591L 192,73.294 \n\t\tC 99.476,100.834, 32,186.53, 32,288c0,123.712, 100.289,224, 224,224c 123.712,0, 224-100.288, 224-224\n\t\tC 480,186.53, 412.525,100.834, 320,73.294zM 224,0L 288,0L 288,256L 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"power, lightning, bolt\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,352L 160,96L 320,256L 512,128L 352,416L 192,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"power, lightning\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 64,288L 240,288L 160,512L 448,224L 272,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lightning, power\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,0L0,256L 192,256L 64,512L 512,192L 256,192L 448,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bowling, game, pin, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 307.943,243.345c-12.006-25.346-24.421-51.555-24.421-84.844c0-13.231, 2.004-28.615, 4.125-44.903\n\tc 4.822-37.026, 9.808-75.313-8.953-97.388c-6.049-7.117-13.967-11.915-23.637-14.341L 255.057,0 l-14,0 c-0.357,0-0.704,0.009-1.051,0.020l-0.012,0 \n\tC 239.647,0.009, 239.3,0, 238.941,0l-14,0.046l0,1.822 c-9.669,2.426-17.587,7.224-23.636,14.341\n\tc-18.761,22.075-13.775,60.362-8.953,97.389c 2.121,16.288, 4.125,31.672, 4.125,44.902c0,33.289-12.415,59.498-24.42,84.844\n\tc-11.822,24.958-24.046,50.765-24.046,82.187c0,60.911, 25.799,139.836, 32.729,155.582c 6.698,15.214, 23.585,26.13, 44.779,29.65L 225.519,512 \n\tl 14,0 c 0.157,0, 0.314-0.002, 0.479-0.007c 0.162,0.004, 0.322,0.007, 0.483,0.007l 14-0.025l0-1.211 c 21.193-3.521, 38.080-14.437, 44.78-29.651\n\tc 6.93-15.748, 32.729-94.678, 32.729-155.581C 331.99,294.109, 319.766,268.303, 307.943,243.345z M 255.54,160l-31.080,0 \n\tc 0.005-0.5, 0.017-0.996, 0.017-1.499c0-9.585-0.902-19.971-2.109-30.501l 35.264,0 c-1.208,10.53-2.109,20.916-2.109,30.501\n\tC 255.522,159.004, 255.535,159.5, 255.54,160z M 222.641,34.342c 2.161-2.542, 6.249-5.962, 16.754-6.303l 0.444-0.016l 0.158,0.002\n\tl 0.131-0.002l 0.476,0.016c 10.506,0.341, 14.594,3.761, 16.755,6.303c 9.060,10.66, 7.361,36.188, 4.298,61.658l-43.313,0 \n\tC 215.28,70.53, 213.581,45.002, 222.641,34.342z M 273.635,469.831c-2.946,6.689-15.628,13.92-33.331,14.145L 240,483.979l-0.304-0.004\n\tc-17.703-0.225-30.385-7.454-33.33-14.143c-6.179-14.038-30.356-88.632-30.356-144.302c0-25.126, 10.371-47.021, 21.351-70.2\n\tc 8.872-18.73, 18.564-39.21, 23.612-63.332l 38.053,0 c 5.048,24.122, 14.74,44.601, 23.612,63.332c 10.98,23.18, 21.352,45.074, 21.352,70.2\n\tC 303.99,381.193, 279.812,455.793, 273.635,469.831z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bowling, game, pins, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 459.941,212.927c-10.505-22.178-21.368-45.11-21.368-74.238c0-11.577, 1.754-25.039, 3.609-39.29\n\tc 4.22-32.398, 8.582-65.899-7.834-85.215c-5.293-6.228-12.221-10.426-20.683-12.548L 413.665,0 l-12.25,0 c-0.312,0-0.615,0.008-0.919,0.017\n\tl-0.011,0 C 400.183,0.008, 399.879,0, 399.564,0l-12.25,0.041l0,1.595 c-8.461,2.123-15.389,6.32-20.682,12.548\n\tC 350.217,33.499, 354.58,67, 358.799,99.399c 1.856,14.251, 3.609,27.713, 3.609,39.29c0,29.128-10.863,52.061-21.367,74.238\n\tc-8.701,18.367-17.647,37.26-20.272,59.159c-3.886-9.868-8.384-19.365-12.825-28.741c-12.006-25.346-24.421-51.555-24.421-84.844\n\tc0-13.231, 2.004-28.615, 4.125-44.903c 4.822-37.026, 9.808-75.313-8.953-97.388c-6.049-7.117-13.967-11.915-23.637-14.341L 255.058,0 l-14,0 \n\tc-0.357,0-0.704,0.009-1.051,0.020l-0.012,0 C 239.647,0.009, 239.3,0, 238.941,0l-14,0.046l0,1.822 c-9.669,2.426-17.587,7.224-23.636,14.341\n\tc-18.761,22.075-13.775,60.362-8.953,97.389c 2.121,16.288, 4.125,31.672, 4.125,44.902c0,33.289-12.415,59.498-24.42,84.844\n\tc-4.162,8.786-8.372,17.68-12.082,26.884c-2.894-21.113-11.579-39.457-20.033-57.302c-10.505-22.178-21.368-45.11-21.368-74.238\n\tc0-11.577, 1.754-25.039, 3.609-39.29c 4.22-32.398, 8.582-65.899-7.834-85.215c-5.293-6.228-12.221-10.426-20.682-12.548L 93.667,0 l-12.25,0 \n\tc-0.312,0-0.616,0.008-0.919,0.017l-0.011,0 C 80.183,0.008, 79.878,0, 79.565,0l-12.25,0.041l0,1.595 \n\tc-8.461,2.123-15.389,6.32-20.682,12.548C 30.217,33.499, 34.58,67, 38.799,99.399c 1.856,14.251, 3.609,27.713, 3.609,39.29\n\tc0,29.128-10.863,52.061-21.368,74.238C 10.696,234.765,0,257.346,0,284.84c0,53.297, 22.574,122.356, 28.638,136.135\n\tc 5.86,13.312, 20.637,22.863, 39.182,25.943L 67.82,448 l 12.25,0 c 0.137,0, 0.275-0.002, 0.419-0.006c 0.142,0.003, 0.282,0.006, 0.423,0.006\n\tl 12.25-0.022l0-1.060 c 18.544-3.080, 33.32-12.632, 39.182-25.944c 3.277-7.446, 11.374-31.038, 18.125-59.557\n\tc 6.611,52.579, 24.647,106.924, 30.27,119.696c 6.698,15.214, 23.585,26.13, 44.779,29.65L 225.518,512 l 14,0 c 0.157,0, 0.314-0.002, 0.479-0.007\n\tc 0.162,0.004, 0.322,0.007, 0.483,0.007l 14-0.025l0-1.211 c 21.193-3.521, 38.080-14.437, 44.78-29.651\n\tc 5.72-12.998, 24.292-69.038, 30.604-122.458c 6.873,29.752, 15.39,54.636, 18.772,62.32c 5.859,13.312, 20.637,22.863, 39.182,25.943L 387.818,448 \n\tl 12.25,0 c 0.137,0, 0.274-0.002, 0.419-0.006c 0.142,0.003, 0.282,0.006, 0.423,0.006l 12.25-0.022l0-1.060 \n\tc 18.545-3.080, 33.32-12.632, 39.183-25.944c 6.064-13.78, 28.638-82.844, 28.638-136.134\n\tC 480.982,257.346, 470.286,234.765, 459.941,212.927z M 222.641,34.342c 2.161-2.542, 6.249-5.962, 16.754-6.303l 0.444-0.016l 0.158,0.002\n\tl 0.131-0.002l 0.476,0.016c 10.506,0.341, 14.594,3.761, 16.755,6.303c 9.060,10.66, 7.361,36.188, 4.298,61.658l-43.313,0 \n\tC 215.28,70.53, 213.581,45.002, 222.641,34.342z M 255.54,160l-31.080,0 c 0.005-0.5, 0.017-0.996, 0.017-1.499\n\tc0-9.585-0.902-19.971-2.109-30.501l 35.264,0 c-1.208,10.53-2.109,20.916-2.109,30.501C 255.522,159.004, 255.535,159.5, 255.54,160z\n\t M 273.635,469.831c-2.946,6.689-15.628,13.92-33.331,14.145L 240,483.979l-0.304-0.004c-17.703-0.225-30.385-7.454-33.33-14.143\n\tc-6.179-14.038-30.356-88.632-30.356-144.302c0-25.126, 10.371-47.021, 21.351-70.2c 8.872-18.73, 18.564-39.21, 23.612-63.332l 38.053,0 \n\tc 5.048,24.122, 14.74,44.601, 23.612,63.332c 10.98,23.18, 21.352,45.074, 21.352,70.2C 303.99,381.193, 279.812,455.793, 273.635,469.831z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bowling ball, ball, game, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 288,320\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 305.673,320, 288,320z M 320,160c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 337.673,160, 320,160z M 416,224c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32\n\tS 433.673,224, 416,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eight ball, 8ball, billiards, snooker, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,384\n\t\tc-70.692,0-128-57.308-128-128s 57.308-128, 128-128s 128,57.308, 128,128S 326.692,384, 256,384zM 296.963,253.506c 10.817-9.805, 17.543-23.442, 17.543-38.507c0-29.775-26.246-54-58.507-54\n\t\tc-32.26,0-58.505,24.224-58.505,54c0,15.065, 6.726,28.702, 17.542,38.506c-14.076,10.281-23.052,25.735-23.052,42.994\n\t\tc0,30.879, 28.717,56, 64.015,56c 35.299,0, 64.017-25.121, 64.017-56C 320.016,279.241, 311.040,263.787, 296.963,253.506z M 225.494,215\n\t\tc0-14.336, 13.685-26, 30.505-26c 16.821,0, 30.507,11.663, 30.507,26c0,12.943-11.154,23.704-25.699,25.675\n\t\tc-1.59-0.104-3.188-0.174-4.808-0.174c-1.619,0-3.218,0.070-4.807,0.174C 236.648,238.703, 225.494,227.942, 225.494,215z\n\t\t M 255.999,323.5c-19.307,0-35.015-12.112-35.015-27s 15.708-27, 35.015-27c 19.309,0, 35.017,12.112, 35.017,27\n\t\tS 275.308,323.5, 255.999,323.5z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"racing, flag, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 80,0L 80,512L 32,512zM 192,96L 256,96L 256,160L 192,160zM 256,160l0,64 c 32,0, 32,32, 64,32l0-64 C 288,192, 288,160, 256,160zM 320,128L 384,128L 384,192L 320,192zM 320,32c-16,0-24-8-32-16S 272,0, 256,0L 96,0 l0,320 l 160,0 c 16,0, 24,8, 32,16s 16,16, 32,16l 160,0 L 480,32 L 320,32 z M 448,192l-64,0 l0,64 l 64,0 l0,64 l-64,0 l0-64 \n\t\tl-64,0 l0,64 c-16,0-24-8-32-16s-16-16-32-16l0-64 l-64,0 l0,64 l-64,0 l0-64 l 64,0 l0-64 l-64,0 L 128,96 l 64,0 L 192,32 l 64,0 l0,64 c 16,0, 24,8, 32,16s 16,16, 32,16L 320,64 l 64,0 l0,64 l 64,0 L 448,192 \n\t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hockey, sports\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,422.439L 320,438 c0,17.673, 42.98,32, 96,32s 96-14.327, 96-32l0-15.561 C 495.415,437.965, 455.522,446, 416,446\n\t\tS 336.585,437.965, 320,422.439zM 320,404A96,32 7560 1 1 512,404A96,32 7560 1 1 320,404zM 454.402,96L 224.521,384.982c-15.687,18.019-126.371,12.893-184.957,3.903c-0.015,0-0.029,0-0.045-0.001\n\t\tc-26.645-2.943-33.747-13.682-38.070,10.169L 1.446,399.053 c-4.93,37.705, 4.325,70.333, 4.325,70.333\n\t\tc 19.563,20.469, 199.608,8.402, 218.749-11.447L 512,96L 454.402,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"golf, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208.85,387.4L 236,464l0,48 l 40,0 l0-48 l 27.149-76.6c-15.129,3.651-30.915,5.6-47.149,5.6S 223.979,391.052, 208.85,387.4zM 96,192A160,160 7560 1 1 416,192A160,160 7560 1 1 96,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"basketball, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 479.456,256c-3.461-52.57-23.85-100.511-55.763-138.432c-3.75,3.247-7.401,6.64-10.943,10.182\n\t\tc-34.734,34.734-55.393,79.79-59.128,128.25L 479.456,256 zM 398.495,91.805C 359.963,57.887, 310.467,36.13, 256,32.543L 256,256 l 61.544,0 C 321.845,190.673, 352.276,132.492, 398.495,91.805zM 67.25,127.75c-3.542-3.542-7.194-6.936-10.943-10.182C 24.394,155.489, 4.005,203.43, 0.543,256l 125.834,0 \n\t\tC 122.643,207.54, 101.984,162.484, 67.25,127.75zM 162.457,256L 224,256 L 224,32.543 C 169.534,36.13, 120.037,57.887, 81.505,91.805C 127.724,132.492, 158.155,190.673, 162.457,256zM 412.75,416.25c 3.542,3.542, 7.194,6.936, 10.943,10.183c 31.913-37.921, 52.302-85.862, 55.763-138.433L 353.622,288 \n\t\tC 357.357,336.46, 378.016,381.516, 412.75,416.25zM 317.544,288L 256,288 l0,223.456 c 54.467-3.586, 103.963-25.343, 142.495-59.261C 352.276,411.509, 321.845,353.328, 317.544,288zM 0.543,288c 3.461,52.57, 23.85,100.512, 55.763,138.432c 3.75-3.246, 7.401-6.64, 10.943-10.182\n\t\tc 34.734-34.734, 55.393-79.79, 59.128-128.25L 0.543,288 zM 81.505,452.195c 38.532,33.918, 88.029,55.675, 142.495,59.261L 224,288 l-61.543,0 C 158.155,353.327, 127.723,411.509, 81.505,452.195z\n\t\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"baseball, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384.385,439.584c0-0.001-0.002-0.003-0.004-0.004c-0.040-0.044-0.073-0.080-0.114-0.123\n\t\tc-0.003-0.004-0.006-0.007-0.009-0.010c-0.123-0.132-0.236-0.255-0.359-0.387c-0.003-0.004-0.006-0.008-0.010-0.011\n\t\tc-0.041-0.044-0.070-0.077-0.111-0.121c-0.002-0.003-0.006-0.006-0.008-0.009c-0.082-0.088-0.154-0.166-0.236-0.255\n\t\tc-0.006-0.007-0.012-0.013-0.018-0.019c-0.029-0.033-0.066-0.072-0.097-0.105c-0.008-0.009-0.016-0.018-0.023-0.025\n\t\tc-0.030-0.033-0.072-0.079-0.103-0.111c-0.004-0.004-0.008-0.009-0.012-0.013c-0.041-0.044-0.075-0.082-0.115-0.126\n\t\tc-0.006-0.006-0.011-0.012-0.016-0.018c-0.031-0.033-0.068-0.073-0.098-0.106c-0.009-0.010-0.019-0.021-0.027-0.030\n\t\tc-0.031-0.033-0.059-0.063-0.089-0.098c-0.009-0.008-0.018-0.018-0.026-0.027c-0.035-0.039-0.076-0.084-0.112-0.123l-0.001,0 \n\t\tc-0.035-0.039-0.076-0.084-0.111-0.123c-0.010-0.011-0.020-0.021-0.029-0.031c-0.030-0.033-0.052-0.057-0.082-0.090\n\t\tc-0.013-0.014-0.023-0.027-0.036-0.041c-0.030-0.032-0.054-0.058-0.083-0.090c-0.010-0.012-0.020-0.021-0.027-0.031\n\t\tc-0.041-0.045-0.069-0.075-0.109-0.119c-0.011-0.012-0.020-0.022-0.031-0.033c-0.024-0.029-0.053-0.059-0.077-0.087\n\t\tc-0.015-0.017-0.030-0.032-0.044-0.049c-0.021-0.022-0.045-0.050-0.066-0.072c-0.016-0.017-0.030-0.034-0.047-0.052\n\t\tc-0.024-0.027-0.050-0.055-0.076-0.084c-0.010-0.012-0.020-0.023-0.031-0.035c-0.035-0.039-0.065-0.072-0.101-0.111\n\t\tc-0.019-0.020-0.035-0.039-0.053-0.059c-0.015-0.018-0.040-0.045-0.056-0.061c-0.019-0.021-0.037-0.041-0.055-0.062\n\t\tc-0.016-0.017-0.037-0.042-0.053-0.059c-0.019-0.021-0.037-0.041-0.057-0.062c-0.020-0.023-0.035-0.041-0.055-0.062\n\t\tc-0.035-0.039-0.069-0.076-0.104-0.115c-0.010-0.012-0.031-0.035-0.041-0.045c-0.022-0.025-0.045-0.051-0.068-0.076\n\t\tc-0.010-0.012-0.025-0.029-0.036-0.041c-0.022-0.024-0.045-0.050-0.067-0.074c-0.010-0.012-0.025-0.027-0.035-0.039\n\t\tc-0.078-0.088-0.157-0.176-0.236-0.264c-0.010-0.012-0.017-0.020-0.026-0.031c-0.024-0.027-0.048-0.055-0.073-0.082\n\t\tc-0.010-0.012-0.021-0.023-0.031-0.035c-0.024-0.027-0.049-0.055-0.074-0.084c-0.062-0.068-0.123-0.138-0.184-0.206l-0.004-0.004\n\t\tc-0.027-0.030-0.055-0.062-0.082-0.093c-0.006-0.006-0.014-0.016-0.019-0.021c-0.028-0.031-0.057-0.062-0.085-0.094l-0.003-0.004\n\t\tc-0.089-0.102-0.18-0.203-0.269-0.305c-0.006-0.005-0.008-0.008-0.013-0.013c-0.027-0.032-0.056-0.063-0.083-0.095\n\t\tc-0.005-0.006-0.009-0.010-0.014-0.016c-0.121-0.137-0.242-0.274-0.363-0.412l-0.002-0.003c-1.082-1.231-2.152-2.477-3.209-3.731\n\t\tl 6.658-5.61c-6.201-7.489-11.959-15.359-17.228-23.573l-8.081,5.438c-1.694-2.518-3.342-5.070-4.943-7.654l-0.002-0.006\n\t\tc-0.023-0.036-0.047-0.073-0.068-0.109c-0.005-0.007-0.008-0.012-0.012-0.019c-0.092-0.149-0.185-0.298-0.276-0.448\n\t\tc-0.008-0.013-0.015-0.023-0.022-0.037c-0.020-0.030-0.037-0.061-0.057-0.091c-0.008-0.013-0.018-0.030-0.025-0.043\n\t\tc-0.041-0.065-0.080-0.128-0.12-0.193c-0.004-0.007-0.005-0.007-0.008-0.013c-0.017-0.029-0.033-0.057-0.050-0.084\n\t\tc-0.013-0.019-0.022-0.035-0.035-0.055c-0.015-0.025-0.031-0.053-0.047-0.078c-0.012-0.020-0.026-0.043-0.038-0.062\n\t\tc-0.015-0.024-0.030-0.049-0.044-0.072c-0.017-0.025-0.034-0.055-0.051-0.080c-0.020-0.036-0.042-0.072-0.064-0.107\n\t\tc-0.015-0.025-0.030-0.051-0.045-0.076c-0.014-0.021-0.027-0.043-0.041-0.065c-0.016-0.026-0.029-0.050-0.045-0.075\n\t\tc-0.014-0.021-0.025-0.042-0.039-0.062c-0.020-0.033-0.038-0.063-0.057-0.096c-0.010-0.014-0.019-0.029-0.026-0.043\n\t\tc-0.028-0.045-0.054-0.088-0.081-0.133c-0.010-0.016-0.020-0.032-0.029-0.048c-0.020-0.032-0.039-0.065-0.059-0.099\n\t\tc-0.010-0.014-0.019-0.029-0.027-0.045c-0.023-0.038-0.041-0.066-0.064-0.106c-0.008-0.012-0.016-0.024-0.022-0.036\n\t\tc-0.026-0.045-0.060-0.098-0.087-0.144c0-0.001-0.001-0.003-0.002-0.005c-0.027-0.045-0.057-0.094-0.084-0.139\n\t\tc-0.006-0.010-0.012-0.021-0.018-0.031c-0.023-0.039-0.050-0.080-0.072-0.12c-0.006-0.009-0.012-0.018-0.017-0.026\n\t\tc-0.027-0.046-0.060-0.1-0.087-0.145c-0.031-0.052-0.060-0.102-0.092-0.152c-0.002-0.004-0.003-0.006-0.005-0.010\n\t\tc-0.028-0.045-0.056-0.092-0.083-0.139c-0.004-0.006-0.008-0.014-0.013-0.021c-0.089-0.149-0.181-0.305-0.27-0.454\n\t\tc-0.001-0.001-0.003-0.004-0.003-0.005c-0.031-0.052-0.059-0.097-0.089-0.148c-0.001-0.002-0.003-0.005-0.004-0.007\n\t\tc-0.092-0.154-0.181-0.307-0.272-0.463c-0.002-0.001-0.002-0.002-0.003-0.003c-3.678-6.233-7.075-12.636-10.188-19.212l 9.401-4.451\n\t\tc-3.538-7.792-6.66-15.812-9.362-24.021l-9.865,3.414c-2.137-6.174-4.027-12.459-5.662-18.848c0-0.002,0-0.002-0.001-0.004\n\t\tc-0.046-0.18-0.091-0.355-0.137-0.536c0-0.001,0-0.001-0.001-0.002c-0.045-0.18-0.088-0.351-0.133-0.531\n\t\tc-0.002-0.005-0.003-0.010-0.004-0.015c-0.045-0.18-0.088-0.348-0.133-0.529c0-0.002-0.001-0.005-0.002-0.008\n\t\tc-0.044-0.18-0.086-0.35-0.131-0.53c0-0.005-0.002-0.008-0.002-0.012c-0.016-0.061-0.027-0.11-0.043-0.171\n\t\tc0-0.002,0-0.002-0.001-0.004c-0.029-0.121-0.058-0.237-0.087-0.357c0-0.001-0.001-0.004-0.001-0.004\n\t\tc-0.015-0.061-0.028-0.115-0.042-0.176c-0.001-0.002-0.001-0.002-0.002-0.005c-0.029-0.12-0.057-0.236-0.086-0.356\n\t\tc0-0.002-0.001-0.004-0.002-0.006c-0.015-0.061-0.025-0.11-0.041-0.17c-0.001-0.005-0.002-0.008-0.002-0.012\n\t\tc-0.043-0.18-0.084-0.348-0.127-0.529c-0.001-0.004-0.002-0.010-0.004-0.014c-0.043-0.182-0.082-0.35-0.125-0.531\n\t\tc0-0.004-0.002-0.008-0.002-0.010c-0.043-0.181-0.084-0.354-0.125-0.535c-0.001-0.002-0.002-0.004-0.002-0.006\n\t\tc-0.042-0.182-0.083-0.357-0.124-0.538c-0.001-0.001-0.001-0.003-0.001-0.005c-0.043-0.182-0.083-0.357-0.124-0.539\n\t\tc-0.001-0.002-0.001-0.004-0.001-0.005c-0.738-3.241-1.41-6.505-2.017-9.794l 10.659-1.962c-1.417-8.074-2.425-16.289-3.013-24.62\n\t\tL 320,289.777l0-35.555 l 8.616,0.636c 0.588-8.331, 1.596-16.545, 3.013-24.62l-10.659-1.962c 0.606-3.289, 1.278-6.552, 2.017-9.793\n\t\tc0-0.001,0-0.003, 0.001-0.005c 0.041-0.181, 0.081-0.358, 0.124-0.54c0-0.001,0-0.003, 0.001-0.004\n\t\tc 0.041-0.181, 0.082-0.356, 0.124-0.538c0-0.003, 0.001-0.004, 0.002-0.007c 0.041-0.181, 0.082-0.354, 0.125-0.534\n\t\tc0-0.003, 0.002-0.007, 0.002-0.010c 0.043-0.182, 0.082-0.351, 0.125-0.531c 0.002-0.004, 0.003-0.010, 0.004-0.015\n\t\tc 0.043-0.181, 0.084-0.349, 0.127-0.529c0-0.004, 0.001-0.006, 0.002-0.011c 0.016-0.060, 0.026-0.11, 0.041-0.17\n\t\tc 0.001-0.002, 0.002-0.004, 0.002-0.006c 0.029-0.12, 0.057-0.236, 0.086-0.356c 0.001-0.002, 0.001-0.003, 0.002-0.005\n\t\tc 0.014-0.061, 0.027-0.115, 0.042-0.175c0,0, 0.001-0.003, 0.001-0.003c 0.029-0.121, 0.058-0.237, 0.087-0.358\n\t\tc 0.001-0.001, 0.001-0.002, 0.001-0.004c 0.016-0.060, 0.027-0.11, 0.043-0.171c0-0.004, 0.002-0.007, 0.002-0.012\n\t\tc 0.045-0.18, 0.087-0.351, 0.131-0.53c 0.001-0.003, 0.002-0.005, 0.002-0.008c 0.045-0.181, 0.088-0.349, 0.133-0.529\n\t\tc 0.001-0.005, 0.002-0.010, 0.004-0.015c 0.045-0.181, 0.088-0.352, 0.133-0.531c 0.001,0, 0.001-0.001, 0.001-0.002\n\t\tc 0.046-0.18, 0.091-0.357, 0.137-0.536c 0.001-0.001, 0.001-0.002, 0.001-0.004c 1.635-6.389, 3.525-12.674, 5.662-18.848l 9.865,3.414\n\t\tc 2.702-8.21, 5.825-16.229, 9.362-24.021l-9.401-4.451c 3.113-6.576, 6.511-12.978, 10.188-19.212c 0.001-0.001, 0.001-0.002, 0.003-0.003\n\t\tc 0.092-0.156, 0.181-0.308, 0.272-0.463c 0.001-0.002, 0.003-0.004, 0.004-0.006c 0.030-0.052, 0.058-0.097, 0.089-0.148\n\t\tc0-0.001, 0.002-0.004, 0.003-0.005c 0.089-0.149, 0.181-0.305, 0.27-0.454c 0.005-0.007, 0.009-0.014, 0.013-0.021\n\t\tc 0.027-0.046, 0.055-0.093, 0.083-0.138c 0.002-0.003, 0.003-0.006, 0.005-0.010c 0.032-0.051, 0.061-0.101, 0.092-0.152l0,0 \n\t\tc 0.027-0.045, 0.060-0.099, 0.087-0.144c 0.005-0.009, 0.011-0.018, 0.017-0.027c 0.022-0.040, 0.049-0.082, 0.072-0.121\n\t\tc 0.006-0.010, 0.012-0.021, 0.018-0.031c 0.027-0.045, 0.057-0.094, 0.084-0.139c 0.001-0.001, 0.002-0.003, 0.002-0.005\n\t\tc 0.027-0.045, 0.061-0.099, 0.087-0.143c 0.007-0.012, 0.015-0.025, 0.022-0.037c 0.023-0.040, 0.041-0.068, 0.064-0.107\n\t\tc 0.009-0.015, 0.018-0.030, 0.027-0.045c 0.020-0.032, 0.039-0.065, 0.059-0.098c 0.010-0.016, 0.020-0.032, 0.029-0.047\n\t\tc 0.027-0.045, 0.053-0.089, 0.081-0.133c 0.008-0.014, 0.017-0.029, 0.026-0.043c 0.019-0.032, 0.037-0.062, 0.057-0.095\n\t\tc 0.014-0.021, 0.025-0.042, 0.039-0.062c 0.016-0.026, 0.029-0.050, 0.045-0.076c 0.014-0.022, 0.027-0.043, 0.041-0.065\n\t\tc 0.015-0.025, 0.030-0.051, 0.045-0.077c 0.022-0.035, 0.045-0.071, 0.064-0.106c 0.017-0.025, 0.034-0.055, 0.051-0.080\n\t\tc 0.014-0.024, 0.029-0.048, 0.044-0.073c 0.012-0.019, 0.026-0.043, 0.038-0.062c 0.016-0.026, 0.032-0.053, 0.047-0.079\n\t\tc 0.013-0.019, 0.022-0.036, 0.035-0.055c 0.017-0.027, 0.033-0.055, 0.050-0.083c 0.003-0.006, 0.004-0.007, 0.008-0.013\n\t\tc 0.040-0.065, 0.079-0.128, 0.12-0.193c 0.008-0.013, 0.018-0.030, 0.025-0.043c 0.020-0.031, 0.037-0.061, 0.057-0.091\n\t\tc 0.008-0.013, 0.015-0.024, 0.022-0.037c 0.092-0.15, 0.185-0.299, 0.276-0.448c 0.004-0.006, 0.007-0.012, 0.012-0.018\n\t\tc 0.021-0.037, 0.045-0.074, 0.068-0.11l 0.002-0.006c 1.602-2.584, 3.249-5.136, 4.943-7.654l 8.081,5.438\n\t\tc 5.269-8.215, 11.026-16.084, 17.228-23.574l-6.658-5.61c 1.057-1.254, 2.127-2.499, 3.209-3.731l 0.002-0.002\n\t\tc 0.121-0.138, 0.242-0.275, 0.363-0.413c 0.005-0.005, 0.009-0.010, 0.014-0.015c 0.027-0.032, 0.056-0.062, 0.083-0.095\n\t\tc 0.005-0.005, 0.007-0.008, 0.013-0.013c 0.089-0.101, 0.18-0.203, 0.269-0.304l 0.003-0.003c 0.028-0.031, 0.057-0.063, 0.085-0.095\n\t\tc 0.005-0.006, 0.013-0.016, 0.019-0.021c 0.027-0.031, 0.055-0.062, 0.082-0.093l 0.004-0.004c 0.061-0.068, 0.122-0.138, 0.184-0.207\n\t\tc 0.025-0.028, 0.050-0.056, 0.074-0.084c 0.010-0.011, 0.021-0.023, 0.031-0.035c 0.025-0.027, 0.049-0.054, 0.073-0.082\n\t\tc 0.010-0.011, 0.017-0.020, 0.026-0.031c 0.079-0.088, 0.158-0.176, 0.236-0.264c 0.010-0.011, 0.025-0.028, 0.035-0.039\n\t\tc 0.022-0.025, 0.045-0.050, 0.067-0.075c 0.011-0.011, 0.026-0.030, 0.036-0.042c 0.023-0.025, 0.046-0.050, 0.068-0.075\n\t\tc 0.010-0.011, 0.031-0.034, 0.041-0.045c 0.034-0.040, 0.068-0.077, 0.104-0.116c 0.020-0.022, 0.035-0.040, 0.055-0.062\n\t\tc 0.020-0.021, 0.038-0.042, 0.057-0.062c 0.016-0.017, 0.037-0.042, 0.053-0.059c 0.018-0.020, 0.036-0.040, 0.055-0.061\n\t\tc 0.016-0.016, 0.041-0.044, 0.056-0.061c 0.018-0.020, 0.034-0.039, 0.053-0.059c 0.035-0.039, 0.065-0.073, 0.101-0.111\n\t\tc 0.012-0.012, 0.021-0.023, 0.031-0.035c 0.026-0.029, 0.052-0.057, 0.076-0.084c 0.017-0.018, 0.031-0.035, 0.047-0.052\n\t\tc 0.021-0.022, 0.046-0.050, 0.066-0.072c 0.014-0.017, 0.029-0.033, 0.044-0.049c 0.024-0.028, 0.053-0.058, 0.077-0.086\n\t\tc 0.012-0.011, 0.021-0.022, 0.031-0.033c 0.040-0.044, 0.068-0.075, 0.109-0.12c 0.008-0.010, 0.018-0.020, 0.027-0.031\n\t\tc 0.029-0.033, 0.053-0.058, 0.083-0.091c 0.013-0.014, 0.023-0.027, 0.036-0.041c 0.030-0.033, 0.052-0.056, 0.082-0.089\n\t\tc 0.010-0.011, 0.020-0.021, 0.029-0.032c 0.035-0.039, 0.076-0.084, 0.111-0.123l 0.001,0c 0.036-0.038, 0.077-0.084, 0.112-0.123\n\t\tc 0.009-0.009, 0.018-0.019, 0.026-0.027c 0.030-0.034, 0.058-0.064, 0.089-0.098c 0.009-0.010, 0.019-0.020, 0.027-0.030\n\t\tc 0.029-0.033, 0.066-0.074, 0.098-0.107c 0.005-0.006, 0.010-0.011, 0.016-0.017c 0.040-0.044, 0.074-0.082, 0.115-0.126\n\t\tc 0.004-0.004, 0.008-0.008, 0.012-0.012c 0.030-0.033, 0.072-0.078, 0.103-0.111c 0.008-0.009, 0.016-0.017, 0.023-0.025\n\t\tc 0.030-0.033, 0.067-0.073, 0.097-0.106c 0.006-0.006, 0.012-0.012, 0.018-0.019c 0.082-0.089, 0.154-0.167, 0.236-0.255\n\t\tc 0.002-0.002, 0.006-0.005, 0.008-0.008c 0.041-0.044, 0.070-0.077, 0.111-0.121c 0.004-0.003, 0.007-0.007, 0.010-0.011\n\t\tc 0.123-0.132, 0.236-0.255, 0.359-0.387c 0.003-0.003, 0.006-0.006, 0.009-0.010c 0.041-0.043, 0.074-0.079, 0.114-0.123\n\t\tc 0.002-0.001, 0.004-0.003, 0.004-0.004c 4.284-4.598, 8.751-9.019, 13.381-13.268C 355.58,54.318, 300.398,32, 240,32\n\t\tc-60.399,0-115.58,22.318-157.765,59.148c 4.629,4.249, 9.096,8.67, 13.38,13.268c 0.001,0.001, 0.003,0.003, 0.004,0.004\n\t\tc 0.041,0.044, 0.074,0.080, 0.115,0.123c 0.003,0.003, 0.006,0.007, 0.009,0.010c 0.122,0.132, 0.236,0.255, 0.358,0.387\n\t\tc 0.003,0.003, 0.007,0.007, 0.010,0.011c 0.041,0.044, 0.071,0.077, 0.112,0.121c 0.002,0.003, 0.005,0.006, 0.007,0.008\n\t\tc 0.082,0.088, 0.154,0.167, 0.236,0.255c 0.006,0.006, 0.012,0.012, 0.018,0.019c 0.030,0.033, 0.066,0.073, 0.097,0.106\n\t\tc 0.008,0.008, 0.016,0.017, 0.023,0.025c 0.031,0.033, 0.072,0.079, 0.103,0.111c 0.004,0.004, 0.008,0.008, 0.011,0.012\n\t\tc 0.041,0.044, 0.076,0.082, 0.116,0.126c 0.005,0.006, 0.011,0.011, 0.016,0.017c 0.031,0.033, 0.068,0.074, 0.098,0.107\n\t\tc 0.008,0.010, 0.018,0.020, 0.027,0.030c 0.030,0.033, 0.059,0.064, 0.088,0.098c 0.009,0.009, 0.018,0.019, 0.026,0.027\n\t\tc 0.035,0.039, 0.077,0.085, 0.112,0.123l0,0c 0.035,0.039, 0.077,0.084, 0.112,0.123c 0.010,0.011, 0.019,0.021, 0.029,0.032\n\t\tc 0.030,0.033, 0.052,0.057, 0.082,0.089c 0.013,0.014, 0.023,0.027, 0.036,0.041c 0.030,0.033, 0.053,0.058, 0.083,0.091\n\t\tc 0.009,0.011, 0.019,0.021, 0.027,0.031c 0.041,0.045, 0.069,0.075, 0.109,0.12c 0.011,0.011, 0.020,0.022, 0.031,0.033\n\t\tc 0.025,0.029, 0.053,0.059, 0.078,0.086c 0.015,0.016, 0.030,0.032, 0.044,0.049c 0.021,0.022, 0.045,0.050, 0.066,0.072\n\t\tc 0.016,0.017, 0.031,0.034, 0.047,0.052c 0.025,0.027, 0.050,0.055, 0.076,0.084c 0.010,0.012, 0.021,0.023, 0.032,0.035\n\t\tc 0.035,0.039, 0.065,0.072, 0.101,0.111c 0.018,0.020, 0.035,0.039, 0.053,0.059c 0.015,0.017, 0.041,0.045, 0.056,0.061\n\t\tc 0.019,0.021, 0.037,0.041, 0.055,0.061c 0.015,0.017, 0.037,0.042, 0.052,0.059c 0.019,0.021, 0.037,0.041, 0.056,0.062\n\t\tc 0.020,0.022, 0.036,0.040, 0.056,0.062c 0.035,0.039, 0.069,0.076, 0.104,0.116c 0.010,0.011, 0.031,0.034, 0.041,0.045\n\t\tc 0.022,0.025, 0.045,0.050, 0.068,0.075c 0.010,0.012, 0.026,0.030, 0.037,0.042c 0.022,0.024, 0.045,0.050, 0.067,0.075\n\t\tc 0.010,0.011, 0.025,0.027, 0.036,0.039c 0.078,0.088, 0.157,0.176, 0.236,0.264c 0.010,0.011, 0.017,0.020, 0.027,0.031\n\t\tc 0.024,0.028, 0.048,0.055, 0.073,0.082c 0.010,0.011, 0.021,0.023, 0.031,0.035c 0.024,0.028, 0.049,0.056, 0.074,0.084l0,0 \n\t\tc 0.061,0.069, 0.123,0.138, 0.184,0.207l 0.003,0.004c 0.028,0.031, 0.055,0.062, 0.083,0.093c 0.005,0.005, 0.013,0.015, 0.018,0.021\n\t\tc 0.028,0.031, 0.057,0.063, 0.084,0.095l 0.003,0.003c 0.089,0.101, 0.18,0.204, 0.269,0.304c 0.005,0.005, 0.007,0.008, 0.012,0.013\n\t\tc 0.027,0.033, 0.055,0.063, 0.083,0.095c 0.005,0.005, 0.009,0.010, 0.014,0.015c 0.121,0.137, 0.242,0.274, 0.362,0.413l 0.002,0.002\n\t\tc 1.083,1.232, 2.152,2.477, 3.209,3.731l-6.658,5.61c 6.201,7.49, 11.959,15.36, 17.228,23.574l 8.082-5.438\n\t\tc 1.694,2.518, 3.341,5.070, 4.942,7.654l 0.003,0.006c 0.023,0.037, 0.046,0.074, 0.068,0.11c 0.004,0.006, 0.007,0.012, 0.011,0.018\n\t\tc 0.092,0.149, 0.185,0.298, 0.276,0.448c 0.008,0.013, 0.015,0.024, 0.022,0.037c 0.019,0.031, 0.038,0.061, 0.056,0.091\n\t\tc 0.008,0.013, 0.019,0.030, 0.026,0.043c 0.040,0.065, 0.080,0.128, 0.12,0.193c 0.004,0.006, 0.004,0.007, 0.008,0.013\n\t\tc 0.017,0.028, 0.033,0.056, 0.050,0.083c 0.012,0.019, 0.022,0.036, 0.034,0.055c 0.015,0.026, 0.032,0.052, 0.048,0.079\n\t\tc 0.012,0.019, 0.026,0.043, 0.038,0.062c 0.015,0.024, 0.030,0.048, 0.044,0.073c 0.016,0.025, 0.034,0.055, 0.050,0.080\n\t\tc 0.021,0.036, 0.042,0.072, 0.064,0.106c 0.015,0.026, 0.031,0.051, 0.046,0.077c 0.014,0.022, 0.027,0.043, 0.040,0.065\n\t\tc 0.016,0.026, 0.030,0.050, 0.046,0.076c 0.013,0.021, 0.025,0.042, 0.038,0.062c 0.020,0.033, 0.039,0.063, 0.058,0.095\n\t\tc 0.009,0.014, 0.018,0.030, 0.026,0.043c 0.028,0.044, 0.054,0.088, 0.082,0.133c 0.010,0.016, 0.019,0.032, 0.029,0.047\n\t\tc 0.019,0.033, 0.039,0.066, 0.059,0.098c 0.009,0.015, 0.019,0.030, 0.028,0.045c 0.023,0.039, 0.041,0.067, 0.064,0.107\n\t\tc 0.007,0.012, 0.015,0.024, 0.022,0.037c 0.027,0.044, 0.059,0.098, 0.087,0.143c0,0.001, 0.001,0.003, 0.001,0.005\n\t\tc 0.028,0.045, 0.057,0.094, 0.084,0.139c 0.006,0.010, 0.013,0.021, 0.019,0.031c 0.023,0.039, 0.049,0.081, 0.072,0.121\n\t\tc 0.006,0.009, 0.011,0.018, 0.017,0.027c 0.027,0.045, 0.060,0.099, 0.086,0.144l0,0 c 0.031,0.051, 0.060,0.101, 0.092,0.152\n\t\tc 0.002,0.004, 0.003,0.006, 0.005,0.010c 0.028,0.045, 0.055,0.092, 0.083,0.138c 0.004,0.007, 0.009,0.014, 0.013,0.021\n\t\tc 0.088,0.149, 0.181,0.305, 0.27,0.454c 0.001,0.001, 0.002,0.003, 0.003,0.005c 0.030,0.052, 0.058,0.096, 0.088,0.148\n\t\tc 0.001,0.002, 0.003,0.004, 0.004,0.006c 0.092,0.155, 0.181,0.307, 0.273,0.463c 0.001,0.001, 0.001,0.002, 0.002,0.003\n\t\tc 3.678,6.234, 7.076,12.636, 10.189,19.212l-9.402,4.452c 3.538,7.792, 6.66,15.811, 9.362,24.021l 9.865-3.414\n\t\tc 2.137,6.174, 4.028,12.459, 5.663,18.848c0,0.001,0,0.002, 0.001,0.004c 0.046,0.179, 0.091,0.356, 0.137,0.536c0,0.001,0,0.001,0,0.002\n\t\tc 0.045,0.18, 0.088,0.351, 0.134,0.531c 0.001,0.005, 0.002,0.010, 0.003,0.015c 0.045,0.18, 0.087,0.348, 0.132,0.529\n\t\tc0,0.003, 0.001,0.005, 0.002,0.008c 0.044,0.18, 0.087,0.35, 0.131,0.53c 0.001,0.005, 0.002,0.008, 0.003,0.012\n\t\tc 0.015,0.061, 0.027,0.111, 0.042,0.171c0,0.001, 0.001,0.002, 0.001,0.004c 0.029,0.121, 0.058,0.237, 0.087,0.358c0,0,0,0.003,0,0.003\n\t\tc 0.015,0.061, 0.028,0.115, 0.042,0.175c0,0.002,0,0.003, 0.001,0.005c 0.029,0.12, 0.057,0.236, 0.086,0.356\n\t\tc0,0.002, 0.001,0.004, 0.002,0.006c 0.015,0.061, 0.026,0.11, 0.041,0.17c 0.001,0.004, 0.002,0.007, 0.003,0.011\n\t\tc 0.043,0.181, 0.083,0.348, 0.126,0.529c 0.001,0.004, 0.003,0.010, 0.004,0.015c 0.043,0.181, 0.083,0.35, 0.125,0.531\n\t\tc 0.001,0.003, 0.002,0.007, 0.002,0.010c 0.043,0.18, 0.083,0.353, 0.125,0.534c0,0.002, 0.001,0.004, 0.001,0.007\n\t\tc 0.042,0.182, 0.083,0.357, 0.124,0.538c0,0.001, 0.001,0.003, 0.001,0.004c 0.042,0.182, 0.083,0.358, 0.124,0.54\n\t\tc0,0.001, 0.001,0.003, 0.001,0.005c 0.738,3.241, 1.41,6.504, 2.016,9.793l-10.659,1.962c 1.417,8.075, 2.425,16.289, 3.013,24.62\n\t\tl 8.616-0.636l0,35.555 l-8.616-0.637c-0.588,8.331-1.596,16.546-3.013,24.62l 10.659,1.962c-0.606,3.289-1.278,6.553-2.016,9.794\n\t\tc0,0.001-0.001,0.003-0.001,0.005c-0.041,0.182-0.082,0.357-0.124,0.539c0,0.002-0.001,0.004-0.001,0.005\n\t\tc-0.041,0.181-0.082,0.356-0.124,0.538c0,0.002-0.001,0.004-0.001,0.006c-0.042,0.182-0.083,0.354-0.125,0.535\n\t\tc0,0.002-0.001,0.006-0.002,0.010c-0.042,0.182-0.082,0.35-0.125,0.531c-0.001,0.004-0.002,0.010-0.004,0.014\n\t\tc-0.043,0.182-0.083,0.35-0.126,0.529c-0.001,0.004-0.001,0.007-0.003,0.012c-0.015,0.060-0.026,0.109-0.041,0.17\n\t\tc-0.001,0.002-0.001,0.004-0.002,0.006c-0.029,0.12-0.057,0.236-0.086,0.356c-0.001,0.003-0.001,0.003-0.001,0.005\n\t\tc-0.015,0.061-0.028,0.115-0.042,0.176c0,0,0,0.003,0,0.004c-0.029,0.12-0.058,0.236-0.087,0.357c0,0.002-0.001,0.002-0.001,0.004\n\t\tc-0.015,0.061-0.027,0.11-0.042,0.171c-0.001,0.004-0.002,0.007-0.003,0.012c-0.044,0.181-0.086,0.351-0.131,0.53\n\t\tc0,0.003-0.001,0.006-0.002,0.008c-0.045,0.182-0.087,0.35-0.132,0.529c-0.001,0.005-0.002,0.010-0.003,0.015\n\t\tc-0.045,0.181-0.089,0.352-0.134,0.531c0,0.001,0,0.001,0,0.002c-0.046,0.181-0.091,0.356-0.137,0.536\n\t\tc0,0.002-0.001,0.002-0.001,0.004c-1.635,6.389-3.526,12.674-5.663,18.848l-9.865-3.414c-2.702,8.21-5.825,16.229-9.362,24.021\n\t\tl 9.402,4.451c-3.113,6.576-6.511,12.979-10.189,19.212c-0.001,0.001-0.001,0.002-0.002,0.003c-0.092,0.156-0.181,0.309-0.273,0.463\n\t\tc-0.001,0.002-0.003,0.005-0.004,0.007c-0.031,0.052-0.058,0.097-0.088,0.148c-0.001,0.001-0.002,0.004-0.003,0.005\n\t\tc-0.088,0.149-0.181,0.305-0.27,0.454c-0.004,0.007-0.009,0.015-0.013,0.021c-0.027,0.047-0.055,0.094-0.083,0.139\n\t\tc-0.002,0.004-0.003,0.006-0.005,0.010c-0.032,0.051-0.061,0.101-0.092,0.152c-0.027,0.045-0.059,0.099-0.086,0.145\n\t\tc-0.005,0.009-0.011,0.018-0.017,0.026c-0.022,0.040-0.048,0.081-0.072,0.12c-0.006,0.010-0.013,0.021-0.019,0.031\n\t\tc-0.027,0.045-0.056,0.094-0.084,0.139c0,0.002-0.001,0.004-0.001,0.005c-0.028,0.046-0.060,0.099-0.087,0.144\n\t\tc-0.007,0.012-0.015,0.024-0.022,0.036c-0.023,0.040-0.041,0.068-0.064,0.106c-0.009,0.016-0.019,0.031-0.028,0.045\n\t\tc-0.020,0.033-0.040,0.066-0.059,0.099c-0.010,0.016-0.019,0.032-0.029,0.048c-0.027,0.045-0.054,0.088-0.082,0.133\n\t\tc-0.008,0.014-0.017,0.029-0.026,0.043c-0.019,0.032-0.038,0.062-0.058,0.096c-0.013,0.021-0.025,0.041-0.038,0.062\n\t\tc-0.016,0.025-0.030,0.049-0.046,0.075c-0.013,0.022-0.026,0.044-0.040,0.065c-0.015,0.025-0.031,0.051-0.046,0.076\n\t\tc-0.022,0.035-0.044,0.071-0.064,0.107c-0.016,0.025-0.034,0.055-0.050,0.080c-0.015,0.023-0.030,0.048-0.044,0.072\n\t\tc-0.012,0.020-0.026,0.043-0.038,0.062c-0.016,0.025-0.033,0.053-0.048,0.078c-0.012,0.020-0.022,0.036-0.034,0.055\n\t\tc-0.017,0.027-0.034,0.055-0.050,0.084c-0.003,0.006-0.004,0.006-0.008,0.013c-0.040,0.065-0.080,0.128-0.12,0.193\n\t\tc-0.008,0.013-0.018,0.030-0.026,0.043c-0.019,0.030-0.037,0.061-0.056,0.091c-0.007,0.014-0.015,0.024-0.022,0.037\n\t\tc-0.092,0.15-0.185,0.299-0.276,0.448c-0.004,0.007-0.007,0.012-0.011,0.019c-0.022,0.036-0.045,0.073-0.068,0.109l-0.003,0.006\n\t\tc-1.601,2.584-3.249,5.137-4.942,7.654l-8.082-5.438c-5.268,8.214-11.026,16.084-17.227,23.573l 6.658,5.61\n\t\tc-1.057,1.255-2.127,2.5-3.209,3.731l-0.002,0.003c-0.121,0.138-0.242,0.275-0.362,0.412c-0.005,0.006-0.009,0.010-0.014,0.016\n\t\tc-0.028,0.031-0.056,0.062-0.083,0.095c-0.005,0.005-0.007,0.008-0.012,0.013c-0.089,0.102-0.18,0.203-0.269,0.305l-0.003,0.004\n\t\tc-0.028,0.031-0.056,0.062-0.084,0.094c-0.005,0.006-0.013,0.016-0.018,0.021c-0.028,0.031-0.055,0.062-0.083,0.093l-0.003,0.004\n\t\tc-0.061,0.068-0.123,0.138-0.184,0.206l0,0 c-0.025,0.029-0.050,0.057-0.074,0.084c-0.010,0.012-0.021,0.023-0.031,0.035\n\t\tc-0.025,0.027-0.049,0.055-0.073,0.082c-0.010,0.012-0.017,0.020-0.027,0.031c-0.079,0.088-0.158,0.176-0.236,0.264\n\t\tc-0.010,0.012-0.025,0.027-0.036,0.039c-0.022,0.024-0.045,0.050-0.067,0.074c-0.010,0.012-0.026,0.029-0.037,0.041\n\t\tc-0.022,0.025-0.045,0.051-0.068,0.076c-0.010,0.010-0.031,0.033-0.041,0.045c-0.035,0.039-0.069,0.076-0.104,0.115\n\t\tc-0.020,0.021-0.036,0.039-0.056,0.062c-0.019,0.021-0.038,0.041-0.056,0.062c-0.015,0.017-0.038,0.042-0.052,0.059\n\t\tc-0.019,0.021-0.037,0.040-0.055,0.062c-0.015,0.016-0.041,0.043-0.056,0.061c-0.018,0.020-0.035,0.039-0.053,0.059\n\t\tc-0.035,0.039-0.066,0.072-0.101,0.111c-0.011,0.012-0.021,0.023-0.032,0.035c-0.026,0.029-0.051,0.057-0.076,0.084\n\t\tc-0.016,0.018-0.031,0.035-0.047,0.052c-0.021,0.022-0.045,0.050-0.066,0.072c-0.014,0.017-0.029,0.032-0.044,0.049\n\t\tc-0.025,0.028-0.053,0.058-0.078,0.087c-0.011,0.011-0.020,0.021-0.031,0.033c-0.040,0.044-0.068,0.074-0.109,0.119\n\t\tc-0.009,0.010-0.018,0.020-0.027,0.031c-0.030,0.032-0.053,0.058-0.083,0.090c-0.013,0.014-0.023,0.027-0.036,0.041\n\t\tc-0.030,0.033-0.052,0.057-0.082,0.090c-0.010,0.010-0.020,0.021-0.029,0.031c-0.035,0.039-0.077,0.084-0.112,0.123l0,0 \n\t\tc-0.036,0.039-0.077,0.084-0.112,0.123c-0.009,0.010-0.018,0.020-0.026,0.027c-0.030,0.034-0.058,0.064-0.088,0.098\n\t\tc-0.009,0.010-0.019,0.021-0.027,0.030c-0.030,0.033-0.067,0.073-0.098,0.106c-0.005,0.006-0.010,0.012-0.016,0.018\n\t\tc-0.040,0.044-0.075,0.082-0.116,0.126c-0.003,0.004-0.007,0.009-0.011,0.013c-0.030,0.032-0.072,0.078-0.103,0.111\n\t\tc-0.008,0.008-0.016,0.017-0.023,0.025c-0.031,0.033-0.067,0.072-0.097,0.105c-0.006,0.006-0.012,0.012-0.018,0.019\n\t\tc-0.082,0.089-0.154,0.167-0.236,0.255c-0.002,0.003-0.005,0.006-0.007,0.009c-0.041,0.044-0.071,0.077-0.112,0.121\n\t\tc-0.003,0.003-0.007,0.007-0.010,0.011c-0.123,0.132-0.236,0.255-0.358,0.387c-0.003,0.003-0.006,0.006-0.009,0.010\n\t\tc-0.041,0.043-0.074,0.079-0.115,0.123c-0.001,0.001-0.003,0.003-0.004,0.004c-4.284,4.598-8.75,9.019-13.38,13.268\n\t\tC 124.42,489.682, 179.601,512, 240,512c 60.398,0, 115.58-22.318, 157.766-59.148C 393.136,448.603, 388.669,444.182, 384.385,439.584zM 100.911,392.461l-8.524-5.736c 5.686-8.449, 10.772-17.387, 15.118-26.567l 8.676,4.107c 0.76-1.682, 1.502-3.374, 2.223-5.078\n\t\tc 2.412-5.703, 4.564-11.484, 6.484-17.328l-9.041-3.129c 3.321-9.596, 5.938-19.529, 7.778-29.524l 9.028,1.662\n\t\tc 1.319-7.555, 2.243-15.195, 2.782-22.904l-8.995-0.664c 0.374-5.055, 0.549-10.188, 0.548-15.299c 0.001-5.11-0.175-10.244-0.548-15.299\n\t\tl 8.995-0.664c-0.539-7.709-1.462-15.35-2.782-22.904l-9.028,1.662c-1.84-9.996-4.457-19.929-7.778-29.525l 9.041-3.129\n\t\tc-1.919-5.844-4.072-11.625-6.484-17.328c-0.721-1.705-1.463-3.397-2.224-5.079l-8.676,4.108\n\t\tc-4.346-9.18-9.433-18.119-15.118-26.567l 8.524-5.736c-4.926-7.712-10.33-15.117-16.193-22.195l-8.644,7.283\n\t\tc-5.903-7.006-12.331-13.66-19.127-19.824C 21.434,158.649,0,212.817,0,272s 21.434,113.351, 56.947,155.196\n\t\tc 6.797-6.164, 13.224-12.817, 19.127-19.824l 8.644,7.283C 90.581,407.576, 95.985,400.172, 100.911,392.461zM 423.053,116.804c-6.797,6.164-13.224,12.818-19.127,19.824l-8.644-7.284c-5.863,7.079-11.267,14.484-16.192,22.196\n\t\tl 8.523,5.736c-5.686,8.448-10.771,17.387-15.117,26.567l-8.676-4.108c-0.761,1.682-1.503,3.375-2.224,5.079\n\t\tc-2.412,5.703-4.564,11.484-6.484,17.328l 9.041,3.129c-3.321,9.596-5.938,19.529-7.778,29.525l-9.028-1.662\n\t\tc-1.319,7.554-2.243,15.194-2.782,22.903l 8.996,0.665c-0.374,5.055-0.55,10.188-0.549,15.299\n\t\tc-0.001,5.11, 0.175,10.244, 0.549,15.299l-8.996,0.664c 0.539,7.71, 1.463,15.35, 2.782,22.904l 9.028-1.662\n\t\tc 1.84,9.995, 4.457,19.929, 7.778,29.524l-9.041,3.129c 1.92,5.844, 4.072,11.625, 6.484,17.328c 0.721,1.704, 1.463,3.396, 2.224,5.078\n\t\tl 8.676-4.107c 4.346,9.181, 9.432,18.118, 15.117,26.567l-8.523,5.735c 4.926,7.712, 10.329,15.117, 16.191,22.195l 8.645-7.283\n\t\tc 5.903,7.007, 12.33,13.66, 19.127,19.824C 458.566,385.351, 480,331.183, 480,272S 458.566,158.649, 423.053,116.804z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"football, rugby, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 509.052,79.515c-4.199-38.088-38.479-72.367-76.566-76.566c-103.448-11.402-237.574,7.875-329.617,99.919\n\tC 10.824,194.91-8.452,329.039, 2.948,432.484c 4.199,38.088, 38.479,72.368, 76.566,76.566c 103.445,11.401, 237.573-7.877, 329.616-99.918\n\tC 501.175,317.089, 520.454,182.962, 509.052,79.515z M 162.565,290.565c 7.42-7.422, 19.45-7.422, 26.87,0l 32,32\n\tc 7.42,7.42, 7.42,19.449,0,26.869C 217.725,353.146, 212.862,355, 208,355s-9.725-1.854-13.435-5.565l-32-32\n\tC 155.145,310.015, 155.145,297.985, 162.565,290.565z M 170.898,478.433c-29.015-14.741-55.835-34.136-79.515-57.815\n\tc-23.707-23.706-43.119-50.561-57.867-79.613c 1.802-21.906, 5.369-45.418, 11.594-69.638c 2.121-8.25, 4.489-16.306, 7.085-24.178\n\tc 9.431,52.555, 34.577,100.935, 73.13,139.487c 38.523,38.523, 86.859,63.66, 139.368,73.107\n\tC 231.16,470.827, 198.56,476.124, 170.898,478.433z M 285.435,285.435C 281.725,289.146, 276.862,291, 272,291s-9.725-1.854-13.435-5.565\n\tl-32-32c-7.42-7.42-7.42-19.45,0-26.87s 19.45-7.42, 26.87,0l 32,32C 292.855,265.985, 292.855,278.015, 285.435,285.435z\n\t M 349.435,221.435c-3.71,3.71-8.572,5.565-13.435,5.565s-9.725-1.855-13.435-5.565l-32-32c-7.421-7.42-7.421-19.45,0-26.87\n\tc 7.42-7.42, 19.449-7.42, 26.869,0l 32,32C 356.855,201.985, 356.855,214.015, 349.435,221.435z M 466.891,240.634\n\tc-2.12,8.25-4.488,16.306-7.085,24.178c-9.432-52.555-34.577-100.935-73.13-139.487c-38.523-38.523-86.858-63.66-139.367-73.107\n\tc 33.533-11.044, 66.132-16.341, 93.793-18.649c 29.015,14.742, 55.835,34.136, 79.515,57.815c 23.707,23.707, 43.119,50.562, 57.867,79.615\n\tC 476.683,192.903, 473.116,216.415, 466.891,240.634z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"soccer, football, sports, ball\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,432\n\tc-13.729,0-27.215-1.573-40.262-4.611l-30.864-59.863l 34.005-46.804l 74.242,0 l 34.005,46.804l-30.864,59.863\n\tC 283.215,430.427, 269.729,432, 256,432z M 187.794,93.659L 248,123.972l0,57.84 l-60.102,43.666l-54.989-17.867l-10.212-66.544\n\tc 2.821-3.262, 5.771-6.437, 8.852-9.518C 147.955,115.144, 167.031,102.384, 187.794,93.659z M 380.451,131.549\n\tc 3.080,3.080, 6.030,6.255, 8.852,9.517l-10.212,66.545l-54.988,17.867L 264,181.812l0-57.84 l 60.206-30.313\n\tC 344.97,102.384, 364.046,115.144, 380.451,131.549z M 127.948,222.823l 55.029,17.88l 22.948,70.626l-33.99,46.783l-66.501-10.86\n\tc-14.084-23.145-22.59-49.246-24.828-76.63L 127.948,222.823z M 406.565,347.252l-66.501,10.86l-33.99-46.783l 22.948-70.626\n\tl 55.029-17.88l 47.342,47.799C 429.155,298.006, 420.649,324.108, 406.565,347.252z M 425.705,86.294\n\tc 13.677,13.676, 25.525,28.749, 35.439,45.042l-58.491,0.755c-19.854-23.475-45.237-42.115-74.146-53.914l-17.341-55.811\n\tc 13.032,3.067, 25.805,7.224, 38.247,12.486C 377.991,46.941, 403.659,64.248, 425.705,86.294z M 86.294,86.294\n\tc 22.046-22.046, 47.714-39.354, 76.292-51.44c 12.442-5.263, 25.215-9.419, 38.247-12.486l-17.34,55.811\n\tc-28.908,11.8-54.292,30.439-74.146,53.914l-58.491-0.756C 60.77,115.043, 72.618,99.971, 86.294,86.294z M 16,256\n\tc0-6.609, 0.278-13.174, 0.804-19.695l 47.709,33.73c 2.301,31.842, 12.37,61.525, 28.316,87.178l-18.768,55.318\n\tc-16.298-18.896-29.455-40.058-39.208-63.117C 22.343,319.836, 16,288.407, 16,256z M 163.304,477.439l 46.841-34.965\n\tC 224.84,446.076, 240.194,448, 256,448s 31.159-1.924, 45.854-5.525l 46.842,34.965C 319.327,489.75, 288.146,496, 256,496\n\tS 192.673,489.75, 163.304,477.439z M 477.146,349.414c-9.754,23.059-22.91,44.221-39.208,63.117l-18.768-55.318\n\tc 15.946-25.653, 26.016-55.337, 28.316-87.178l 47.708-33.729C 495.722,242.826, 496,249.391, 496,256\n\tC 496,288.407, 489.656,319.836, 477.146,349.414z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 256,64L 32,0c0,0-2.25,25.849,0,64l 224,70.045L 480,64C 482.249,25.849, 480,0, 480,0zM 36.095,97.553C 48.088,222.901, 92.84,433.67, 256,512c 163.16-78.33, 207.912-289.099, 219.905-414.447L 256,180.232\n\t\tL 36.095,97.553z M 244.739,210.185l 4.827,1.815L 87.224,212 c-0.64-2.676-1.263-5.344-1.867-8l 142.932,0 L 244.739,210.185z M 100.62,156\n\t\tl 21.278,8L 77.32,164 c-0.471-2.688-0.927-5.356-1.365-8L 100.62,156 z M 143.176,172l 21.278,8L 80.283,180 c-0.525-2.686-1.028-5.35-1.519-8L 143.176,172 z\n\t\t M 185.732,188l 21.278,8L 83.58,196 c-0.581-2.681-1.143-5.347-1.688-8L 185.732,188 z M 437.622,146.134\n\t\tc-7.63,49.57-21.006,108.417-44.45,163.801C 360.239,387.732, 314.144,443.507, 256,475.97L 256,468 l-13.27,0 \n\t\tc-3.982-2.552-7.905-5.216-11.766-8L 256,460 l0-8 l-35.568,0 c-3.226-2.58-6.405-5.249-9.54-8L 256,444 l0-8 l-53.835,0 c-2.721-2.6-5.406-5.266-8.053-8\n\t\tL 256,428 l0-8 l-69.375,0 c-2.346-2.606-4.652-5.282-6.936-8L 256,412 l0-8 l-82.831,0 c-2.061-2.616-4.089-5.289-6.097-8L 256,396 l0-8 l-94.695,0 \n\t\tc-1.828-2.62-3.624-5.297-5.405-8L 256,380 l0-8 L 150.771,372 c-1.642-2.634-3.27-5.293-4.869-8L 256,364 l0-8 L 141.311,356 \n\t\tc-1.477-2.633-2.932-5.302-4.371-8L 256,348 l0-8 L 132.778,340 c-1.338-2.639-2.662-5.301-3.965-8L 256,332 l0-8 L 125.039,324 \n\t\tc-1.213-2.638-2.406-5.309-3.587-8L 256,316 l0-8 L 118.022,308 c-1.113-2.66-2.208-5.326-3.275-8L 256,300 l0-8 L 111.631,292 \n\t\tc-1.015-2.663-2.014-5.329-2.985-8L 256,284 l0-8 L 105.807,276 c-0.926-2.665-1.838-5.332-2.723-8L 256,268 l0-8 L 100.496,260 \n\t\tc-0.845-2.668-1.677-5.335-2.483-8L 256,252 l0-8 L 95.652,244 c-0.771-2.67-1.528-5.338-2.262-8L 256,236 l0-8 L 91.239,228 c-0.703-2.673-1.391-5.341-2.058-8\n\t\tL 256,220 l0-5.581 l 11.262-4.234L 437.622,146.134z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 256,64L 32,0c0,0-2.25,25.849,0,64l 224,70.045L 480,64C 482.249,25.849, 480,0, 480,0zM 36.095,97.553C 48.088,222.901, 92.84,433.67, 256,512c 163.16-78.33, 207.912-289.099, 219.905-414.447L 256,180.232\n\t\tL 36.095,97.553z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 177.779,146.007L 177.779,256 c0,33.313, 13.555,65.756, 40.286,96.43c 13.125,15.061, 26.722,26.534, 37.937,34.635\n\t\t\tc 11.215-8.101, 24.811-19.574, 37.936-34.635c 26.732-30.674, 40.287-63.117, 40.287-96.43L 334.225,146.007 L 256,119.933L 177.779,146.007zM 256,0L 64,64c0,0,0,96,0,192c0,160.001, 160,256, 192,256s 192-95.999, 192-256c0-96,0-192,0-192L 256,0z M 384,256\n\t\t\tc0,25.2-5.523,50.083-16.419,73.958c-9.677,21.207-23.497,41.633-41.079,60.711c-26.953,29.245-55.599,47.326-70.502,54.681\n\t\t\tc-14.902-7.354-43.548-25.436-70.501-54.681c-17.582-19.078-31.403-39.504-41.080-60.711C 133.525,306.083, 128,281.2, 128,256\n\t\t\tL 128,110.129 l 128-42.667l 128,42.667L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"shield, security, defense, protection, anti virus\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 131.851,141.857c 2.709,85.392, 23.232,156.27, 61.189,211.080c 17.343,25.043, 38.449,46.778, 62.96,64.873\n\t\tc 24.511-18.095, 45.618-39.83, 62.959-64.873c 37.957-54.811, 58.48-125.688, 61.189-211.080c-40.225-9.645-79.752-25.45-124.149-49.495\n\t\tC 211.596,116.411, 172.078,132.212, 131.851,141.857zM 458.873,73.091C 387.436,68.123, 329.919,45.132, 256.002,0C 182.080,45.132, 124.563,68.123, 53.127,73.091\n\t\tC 33.451,384.432, 202.896,483.16, 256.002,512C 309.105,483.16, 478.55,384.432, 458.873,73.091z M 358.422,380.265\n\t\tc-35.469,51.219-77.048,80.031-102.421,95.026c-25.374-14.995-66.952-43.807-102.422-95.026\n\t\tc-49.507-71.489-72.928-164.977-69.753-278.177c 56.394-7.775, 107.891-27.271, 172.175-64.812\n\t\tc 64.281,37.541, 115.777,57.037, 172.173,64.812C 431.35,215.288, 407.929,308.775, 358.422,380.265z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gun-ban, weapon, fire, pistol, firearm\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 199,224 L 36,224 L 28,160 L 0,160 L 0,96 L 295,96 ZM 512,192l0-64 c0-17.6-14.4-32-32-32l-74,0 l 72-96l-60,0 L 82,448l 60,0 l 96.033-128.044c 0.653,0.027, 1.309,0.044, 1.968,0.044l 91.429,0 \n\t\tl 29.46,103.111l-2.262,2.262C 346.183,437.817, 350.4,448, 368,448l 12.5,0 L 512,448 l0-64 l-51.203-128.009C 443.849,213.601, 496.001,192, 512,192\n\t\tz M 262,288l 24-32l 27.143,0 l 9.145,32L 262,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gun, weapon, fire, pistol, firearm\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,64 l 28,0 l 8,64l 156,0 l0,48 c0,26.4, 21.6,48, 48,48l 91.429,0 l 29.46,103.111l-2.262,2.262C 346.183,437.817, 350.4,448, 368,448l 12.5,0 \n\tL 512,448 l0-64 l-51.203-128.009C 443.849,213.601, 496.001,192, 512,192l0-64 c0-17.6-14.4-32-32-32 M 240,288c-8.673,0-16-7.327-16-16l0-48 l 32,0 \n\tl0,32 l 57.143,0 l 9.144,32L 240,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"target, goal, location, spot\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 391.765,391.765\n\tC 363.16,420.369, 327.117,438.826, 288,445.352L 288,352 l-64,0 l0,93.352 c-39.117-6.525-75.16-24.982-103.765-53.587\n\tC 91.632,363.16, 73.174,327.117, 66.649,288L 160,288 l0-64 L 66.649,224 c 6.525-39.117, 24.983-75.16, 53.587-103.765\n\tC 148.84,91.631, 184.883,73.174, 224,66.648L 224,160 l 64,0 L 288,66.648 c 39.117,6.525, 75.16,24.983, 103.765,53.587\n\tc 28.604,28.604, 47.062,64.647, 53.587,103.765L 352,224 l0,64 l 93.352,0 C 438.826,327.117, 420.369,363.16, 391.765,391.765z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"target, goal, location, spot\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224l-50.462,0 C 447.718,134.88, 377.12,64.282, 288,50.462L 288,0 l-64,0 l0,50.462 C 134.88,64.282, 64.282,134.88, 50.462,224L0,224 l0,64 \n\tl 50.462,0 C 64.282,377.12, 134.88,447.718, 224,461.538L 224,512 l 64,0 l0-50.462 C 377.12,447.718, 447.718,377.12, 461.538,288L 512,288 L 512,224 z M 396.411,224\n\tL 346.53,224 c-9.642-27.275-31.255-48.889-58.53-58.53l0-49.881 C 341.757,127.834, 384.166,170.244, 396.411,224z M 256,288\n\tc-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32C 288,273.673, 273.673,288, 256,288z M 224,115.589\n\tl0,49.881 c-27.275,9.641-48.889,31.255-58.53,58.53l-49.881,0 C 127.834,170.244, 170.244,127.834, 224,115.589z M 115.589,288l 49.881,0 \n\tc 9.641,27.275, 31.255,48.889, 58.53,58.53l0,49.881 C 170.244,384.166, 127.834,341.757, 115.589,288z M 288,396.411L 288,346.53 \n\tc 27.275-9.642, 48.889-31.255, 58.53-58.53l 49.881,0 C 384.166,341.757, 341.757,384.166, 288,396.411z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"target, goal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.844,0,0,114.838,0,256.001C0,397.162, 114.844,512, 256,512c 141.155,0, 256-114.838, 256-255.999\n\t\tC 512,114.838, 397.156,0, 256,0z M 256,455.111c-109.789,0-199.11-89.323-199.11-199.11c0-109.79, 89.322-199.112, 199.11-199.112\n\t\ts 199.11,89.322, 199.11,199.112C 455.113,365.788, 365.788,455.111, 256,455.111zM 256,113.777c-78.422,0-142.224,63.801-142.224,142.224c0,78.421, 63.801,142.224, 142.224,142.224\n\t\ts 142.223-63.803, 142.223-142.224C 398.223,177.578, 334.423,113.777, 256,113.777z M 256,341.334\n\t\tc-47.058,0-85.334-38.277-85.334-85.333c0-47.058, 38.276-85.335, 85.334-85.335c 47.056,0, 85.335,38.277, 85.335,85.335\n\t\tC 341.335,303.057, 303.056,341.334, 256,341.334zM 224,256A32,32 12600 1 1 288,256A32,32 12600 1 1 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brain, think, intelligence\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 409.229,148.523 C 452.646,192.37 435.608,279.131 300.902,247.012 C 267.18,252.108 195.051,262.45 185.942,211.934 C 173.126,220.029 108.311,174.537 160.983,105.677 C 223.19,24.351 377.523,44.979 409.229,148.523 ZM 111.44,430.812 C 87.711,403.741 93.114,341.487 96.304,319.265 L 53.648,319.265 C 42.692,319.265 33.405,313.571 29.409,304.406 C 24.022,292.050 29.236,276.662 43.356,263.245 C 67.044,240.736 77.648,217.417 77.648,204.292 L 77.642,202.88 C 77.588,194.453 77.426,168.812 84.316,138.281 C 93.156,99.105 109.925,67.497 134.156,44.334 C 164.931,14.917 207.050,0 259.343,0 C 318.367,0 398.994,13.861 447.907,79.893 C 467.85,106.816 480.214,139.928 483.662,175.652 C 486.765,207.801 482.43,241.531 471.452,270.63 C 458.384,305.271 432.801,323.771 420.817,340.092 C 400.406,367.891 384.179,415.509 383.376,511.999 L 351.375,511.999 C 352.224,405.889 370.974,354.834 394.573,322.695 C 405.947,307.201 429.703,291.189 441.329,260.371 C 450.765,235.355 454.482,206.254 451.795,178.429 C 448.858,147.997 438.466,119.976 421.739,97.394 C 406.656,77.032 386.504,61.033 361.841,49.843 C 333.413,36.945 298.928,30.405 259.343,30.405 C 235.972,30.405 215.052,33.838 197.165,40.61 C 181.792,46.429 168.229,54.894 156.852,65.769 C 137.015,84.73 123.138,111.271 115.605,144.654 C 109.448,171.939 109.594,195.086 109.642,202.692 C 109.646,203.324 109.649,203.857 109.649,204.291 C 109.649,228.325 92.918,259.153 65.985,284.745 C 64.405,286.245 63.178,287.631 62.233,288.858 L 134.456,288.858 L 129.245,315.787 C 129.213,315.957 125.76,334.303 125.438,355.492 C 124.914,389.908 132.674,407.531 136.035,411.36 C 138.673,414.366 141.402,415.483 146.104,415.483 C 182.333,415.483 194.582,416.019 208.155,428.993 C 224.268,444.395 224.317,490.332 224.183,511.999 L 192.182,511.999 C 192.289,494.863 192.295,456.964 185.46,450.429 C 178.652,443.921 172.287,445.89 146.105,445.89 C 131.873,445.89 120.21,440.817 111.44,430.812 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"accessibility, disabled\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,464c-61.856,0-112-50.145-112-112c0-43.848, 25.2-81.803, 61.903-100.19l-21.47-42.938C 36.001,235.14,0,289.361,0,352\n\t\tc0,88.366, 71.634,160, 160,160s 160-71.634, 160-160l-48,0 C 272,413.855, 221.856,464, 160,464zM 480,352L 448,384L 338.743,274.745L 224,274.745L 224,224L 352,224L 352,192L 224,192L 224,128L 160,128L 160,320L 320,320L 448,448L 512,384 \tzM 144,48A48,48 12600 1 1 240,48A48,48 12600 1 1 144,48z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"accessibility\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,96L 480,64L 256,128L 32,64L 32,96L 192,160L 192,288L 128,512L 160,512L 256,288L 352,512L 384,512L 320,288L 320,160 \tzM 208,48A48,48 12600 1 1 304,48A48,48 12600 1 1 208,48z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"sun glasses, glasses\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 510.33,173.193c-31.538-3.68-77.793-5.78-96.188-5.78c-18.399,0-78.318,2.103-95.665,10.51\n\tc-17.224,8.352-34.455,20.322-62.479,20.492c-28.023-0.17-45.26-12.141-62.481-20.491c-17.346-8.406-77.266-10.51-95.662-10.51\n\tc-18.397,0-64.65,2.102-96.188,5.779c0,0-3.753,29.049,0,38.368c 16.208,9.591, 17.098,54.853, 31.176,93.845\n\tc 14.079,38.987, 79.877,38.987, 94.5,38.987c 14.624,0, 50.787,2.41, 68.427-9.761c 17.64-12.171, 32.963-71.558, 37.17-88.903\n\tc 3.576-14.755, 18.181-15.435, 22.462-15.31c0,0.043,0,0.067,0,0.067s 0.219-0.022, 0.599-0.044c 0.378,0.021, 0.596,0.044, 0.596,0.044\n\ts0-0.024,0-0.067c 4.283-0.125, 18.885,0.555, 22.463,15.31c 4.203,17.348, 19.528,76.733, 37.17,88.903\n\tc 17.639,12.171, 53.804,9.761, 68.425,9.761c 14.623,0, 80.421,0, 94.503-38.987c 14.079-38.992, 14.965-84.253, 31.177-93.845\n\tC 514.085,202.241, 510.33,173.193, 510.33,173.193z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glasses, prescription glasses\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 364.556,349.662c-16.559,0-40.228-1.143-54.553-11.025c-17.946-12.381-32.25-62.186-39.18-90.771\n\tc-1.225-5.048-4.669-7.367-8.378-8.329l-6.442-0.545l-6.526,0.564c-3.678,0.975-7.083,3.297-8.298,8.309\n\tc-6.932,28.588-21.239,78.395-39.178,90.772c-14.328,9.883-37.997,11.025-54.554,11.025c-3.699,0-7.116-0.060-10.131-0.111\n\tc-2.295-0.040-4.345-0.076-6.076-0.076c-68.958,0-91.864-23.347-98.936-42.932c-5.459-15.116-8.929-31.13-11.99-45.259\n\tc-4.019-18.546-8.175-37.724-14.898-41.701l-2.263-1.34l-0.982-2.439c-4.185-10.392-1.149-36.057-0.498-41.097l 0.776-6.010\n\tl 6.019-0.701c 30.069-3.506, 75.116-5.658, 94.174-5.658c 0.735,0, 74.489,0.472, 96.149,10.97c 2.973,1.44, 5.97,3.002, 8.869,4.512\n\tc 13.646,7.108, 27.757,14.459, 48.385,14.585c 20.533-0.127, 34.642-7.477, 48.288-14.585c 2.897-1.51, 5.895-3.071, 8.866-4.512\n\tc 21.663-10.498, 95.417-10.97, 96.152-10.97c 19.063,0, 64.113,2.152, 94.175,5.658l 6.019,0.701l 0.776,6.010\n\tc 0.651,5.039, 3.69,30.704-0.489,41.095l-0.981,2.441l-2.266,1.34c-6.724,3.979-10.879,23.156-14.898,41.703\n\tc-3.061,14.128-6.53,30.142-11.988,45.257c-7.074,19.586-29.98,42.932-98.937,42.932c-1.734,0-3.784,0.036-6.078,0.076\n\tC 371.671,349.603, 368.255,349.662, 364.556,349.662z M 413.927,195.488c-50.501,0-85.259,6.76-96.183,13.041\n\tc-12.664,7.281-15.064,14.673-15.064,25.766c0,8.89, 9.907,48.147, 17.364,63.063c 6.573,13.144, 14.895,19.464, 26.982,20.491\n\tc 4.684,0.398, 11.674,0.627, 19.176,0.627c 29.55,0, 54.92-2.995, 64.635-7.631c 12.679-6.051, 25.789-12.308, 30.033-69.774\n\tc 0.19-2.574, 0.438-5.146, 0.679-7.635c 1.175-12.159, 2.19-22.661-3.359-28.91c-4.925-5.546-15.666-8.54-31.923-8.9\n\tC 422.157,195.534, 418.006,195.488, 413.927,195.488z M 98.067,195.485c-4.079,0-8.231,0.046-12.34,0.137\n\tc-16.256,0.36-26.996,3.355-31.92,8.901c-5.551,6.251-4.535,16.754-3.359,28.916c 0.241,2.486, 0.489,5.058, 0.679,7.631\n\tc 4.244,57.468, 17.353,63.725, 30.032,69.775c 9.712,4.636, 35.080,7.631, 64.626,7.631c 7.505,0, 14.496-0.229, 19.18-0.628\n\tc 12.093-1.026, 20.415-7.346, 26.985-20.491c 5.45-10.899, 17.361-50.897, 17.36-63.066c0-11.093-2.4-18.485-15.062-25.766\n\tC 183.325,202.244, 148.566,195.485, 98.067,195.485z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glasses, 3d\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,32l0,48 l 80,144L 80,224 l 80-144L 160,32 L0,224l0,256 l 160,0 l 96-96l 96,96l 160,0 L 512,224 L 352,32z M 224,352l-64,64L 32,416 L 32,288 l 192,0 L 224,352 z M 480,416L 352,416 \n\tl-64-64l0-64 l 192,0 L 480,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glasses, 3d glasses\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,128l0,256 l 160,0 l 96-96l 96,96l 160,0 L 512,128 L0,128 z M 224,256l-64,64L 32,320 L 32,192 l 192,0 L 224,256 z M 480,320L 352,320 l-64-64l0-64 l 192,0 L 480,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.993,512 C 269.439,512 282.057,506.787 291.52,497.324 L 350.603,438.24 L 351.33,437.306 C 354.67,433.011 364.836,419.942 361.054,404.135 C 357.124,387.71 341.982,380.579 327.336,373.683 C 318.277,369.416 308.91,365.005 301.889,358.723 L 301.547,358.411 C 301.101,358.005 300.66,357.594 300.202,357.135 C 284.51,341.442 284.51,315.906 300.202,300.213 C 307.805,292.611 317.913,288.424 328.663,288.424 C 339.413,288.424 349.521,292.611 357.101,300.192 C 357.549,300.641 357.981,301.103 358.473,301.641 L 358.673,301.859 C 364.975,308.885 369.395,318.271 373.669,327.348 C 380.915,342.734 389.931,361.882 411.109,361.886 C 411.111,361.886 411.113,361.886 411.115,361.886 C 419.606,361.886 428.168,358.437 437.29,351.341 L 438.223,350.615 L 497.309,291.53 C 516.896,271.939 516.896,240.062 497.307,220.47 L 447.141,170.303 C 443.945,167.105 441.892,164.679 440.582,162.929 C 443.624,161.227 447.84,159.242 451.245,157.638 C 461.718,152.708 474.75,146.571 485.881,136.586 C 486.077,136.411 486.271,136.234 486.469,136.052 C 487.439,135.167 488.292,134.355 489.065,133.581 C 503.844,118.801 511.984,99.151 511.984,78.25 C 511.984,57.349 503.844,37.698 489.066,22.918 C 474.287,8.14 454.637,0 433.737,0 C 412.837,0 393.188,8.139 378.399,22.927 C 377.626,23.702 376.849,24.517 376.022,25.421 L 375.44,26.059 C 365.418,37.232 359.282,50.265 354.351,60.737 C 352.748,64.143 350.762,68.36 349.060,71.402 C 347.307,70.090 344.874,68.031 341.668,64.825 L 291.522,14.679 C 282.056,5.213 269.439,0 255.994,0 C 242.549,0 229.93,5.213 220.464,14.679 L 170.329,64.815 C 167.115,68.029 164.678,70.092 162.922,71.406 C 161.221,68.365 159.237,64.149 157.633,60.744 C 152.704,50.27 146.568,37.236 136.539,26.055 C 136.357,25.852 136.173,25.65 136.034,25.5 C 135.13,24.51 134.348,23.689 133.577,22.919 C 118.798,8.14 99.149,0.001 78.248,0.001 C 57.348,0.001 37.698,8.14 22.917,22.919 C -7.591,53.429 -7.591,103.072 22.906,133.571 C 23.668,134.334 24.474,135.103 25.442,135.988 C 25.637,136.169 25.836,136.35 26.058,136.55 C 37.232,146.572 50.265,152.708 60.737,157.638 C 64.143,159.241 68.359,161.227 71.401,162.929 C 70.086,164.685 68.025,167.121 64.812,170.334 L 14.68,220.47 C 5.213,229.936 0,242.555 0,256.001 C 0,269.447 5.213,282.065 14.679,291.531 L 64.811,341.665 C 68.024,344.879 70.087,347.315 71.401,349.071 C 68.359,350.773 64.142,352.758 60.737,354.361 C 50.265,359.292 37.232,365.428 26.058,375.45 L 25.49,375.968 C 24.496,376.878 23.675,377.66 22.916,378.419 C -7.591,408.927 -7.592,458.569 22.917,489.082 C 37.697,503.86 57.346,512 78.246,512 C 99.146,512 118.795,503.86 133.566,489.092 C 134.32,488.339 135.086,487.536 135.972,486.568 C 136.123,486.406 136.278,486.235 136.477,486.014 L 136.544,485.94 C 146.565,474.767 152.701,461.734 157.632,451.262 C 159.235,447.856 161.221,443.639 162.923,440.597 C 164.676,441.909 167.109,443.968 170.316,447.173 L 220.464,497.323 C 229.929,506.788 242.547,512 255.993,512 Z M 160.697,400.532 C 139.516,400.532 130.499,419.685 123.253,435.074 C 118.984,444.143 114.569,453.52 108.278,460.543 L 107.987,460.86 C 107.573,461.314 107.153,461.765 106.707,462.211 C 99.105,469.813 88.997,474 78.246,474 C 67.495,474 57.388,469.813 49.787,462.212 C 34.094,446.517 34.094,420.982 49.797,405.279 C 50.235,404.839 50.688,404.418 51.113,404.028 L 51.484,403.69 C 58.504,397.414 67.867,393.006 76.922,388.742 C 91.46,381.898 107.937,374.14 111.018,356.483 C 113.96,339.616 102.229,325.345 91.679,314.794 L 41.548,264.661 C 39.259,262.372 37.999,259.297 37.999,256.001 C 37.999,252.705 39.259,249.629 41.548,247.34 L 90.375,198.515 L 91.193,197.963 L 92.382,196.502 C 102.741,186.026 113.896,172.014 111.019,155.519 C 107.939,137.862 91.462,130.104 76.924,123.26 C 67.845,118.985 58.458,114.566 51.461,108.289 L 51.135,107.99 C 50.682,107.576 50.232,107.158 49.787,106.712 C 34.095,91.019 34.095,65.484 49.786,49.791 C 57.389,42.189 67.498,38.002 78.248,38.002 C 88.999,38.002 99.106,42.188 106.712,49.794 C 107.151,50.233 107.572,50.685 108.034,51.19 L 108.258,51.435 C 114.561,58.462 118.98,67.849 123.253,76.928 C 130.497,92.318 139.51,111.471 160.693,111.47 C 160.695,111.47 160.7,111.47 160.702,111.47 C 172.176,111.467 183.35,105.455 196.891,91.991 L 247.332,41.55 C 249.621,39.261 252.697,38 255.994,38 C 259.289,38 262.365,39.26 264.655,41.55 L 314.801,91.698 C 328.477,105.371 339.728,111.468 351.284,111.468 C 351.286,111.468 351.29,111.468 351.29,111.468 C 372.468,111.464 381.486,92.314 388.731,76.926 C 393.004,67.848 397.424,58.46 403.671,51.495 L 403.989,51.146 C 404.413,50.684 404.84,50.225 405.276,49.789 C 412.879,42.187 422.987,38 433.737,38 C 444.488,38 454.595,42.187 462.196,49.787 C 469.797,57.389 473.984,67.497 473.984,78.248 C 473.984,88.999 469.797,99.106 462.186,106.718 C 461.755,107.15 461.31,107.565 460.862,107.974 L 460.55,108.26 C 453.524,114.563 444.137,118.983 435.059,123.257 C 420.524,130.101 404.049,137.858 400.966,155.511 C 398.024,172.367 409.732,186.624 420.267,197.166 L 470.436,247.337 C 475.13,252.032 475.13,259.966 470.438,264.659 L 413.318,321.779 C 411.619,318.741 409.644,314.546 408.047,311.155 C 403.116,300.685 396.979,287.654 386.905,276.422 L 386.443,275.917 C 385.572,274.964 384.776,274.128 383.991,273.341 C 369.213,258.562 349.563,250.423 328.662,250.423 C 307.763,250.423 288.112,258.562 273.332,273.341 C 242.824,303.851 242.824,353.493 273.303,383.972 C 274.084,384.757 274.915,385.55 275.917,386.466 L 276.474,386.972 C 287.646,396.994 300.676,403.129 311.147,408.060 C 314.538,409.657 318.733,411.633 321.772,413.331 L 264.651,470.452 C 262.363,472.74 259.289,474 255.993,474 C 252.696,474 249.62,472.739 247.332,470.452 L 197.183,420.302 C 183.507,406.629 172.254,400.532 160.697,400.532 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 502.156,232.133l-54.194-54.194c-41.73-41.762, 11.691-38.424, 42.707-66.245c 0.155-0.139, 0.309-0.28, 0.463-0.422\n\tc 0.719-0.657, 1.43-1.325, 2.123-2.018c 24.993-24.994, 24.993-65.515,0-90.51c-24.994-24.993-65.516-24.993-90.51,0\n\tc-0.693,0.693-1.361,1.404-2.019,2.123c-0.142,0.154-0.282,0.308-0.422,0.462c-27.826,31.022-24.48,84.461-66.271,42.682\n\tL 279.867,9.845c-13.126-13.127-34.605-13.127-47.733,0l-54.141,54.141c-0.005,0.005-0.010,0.009-0.015,0.014\n\tc-41.805,41.804-38.454-11.644-66.283-42.669c-0.14-0.155-0.281-0.309-0.422-0.463c-0.658-0.719-1.326-1.43-2.019-2.123\n\tc-24.993-24.993-65.515-24.993-90.51,0c-24.993,24.994-24.993,65.516,0,90.51c 0.692,0.693, 1.403,1.361, 2.123,2.019\n\tc 0.153,0.142, 0.308,0.282, 0.462,0.422c 31.026,27.829, 84.473,24.479, 42.67,66.283c-0.005,0.005-0.008,0.010-0.014,0.015l-54.14,54.14\n\tc-13.127,13.127-13.127,34.607,0,47.734l 54.151,54.151c 0.001,0.001, 0.001,0.002, 0.002,0.003\n\tc 41.804,41.805-11.644,38.454-42.669,66.283c-0.155,0.14-0.309,0.281-0.463,0.422c-0.719,0.658-1.43,1.326-2.123,2.019\n\tc-24.993,24.993-24.993,65.515,0,90.51c 24.994,24.993, 65.516,24.993, 90.51,0c 0.693-0.692, 1.361-1.403, 2.019-2.123\n\tc 0.142-0.153, 0.282-0.308, 0.422-0.462c 27.826-31.023, 24.48-84.461, 66.27-42.683l 54.169,54.169c 13.127,13.125, 34.607,13.125, 47.733,0\n\tl 62.917-62.917c 25.066-32.225-22.422-31.452-50.955-57.045c-0.154-0.14-0.309-0.28-0.462-0.422c-0.72-0.657-1.431-1.325-2.123-2.019\n\tc-24.993-24.994-24.993-65.516,0-90.51c 24.995-24.993, 65.517-24.993, 90.51,0c 0.692,0.693, 1.36,1.404, 2.019,2.123\n\tc 0.141,0.154, 0.282,0.308, 0.422,0.463c 25.593,28.532, 24.819,76.021, 57.045,50.954l 62.917-62.917\n\tC 515.282,266.74, 515.282,245.26, 502.156,232.133z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 465.36,512L 386.89,512 c-24.708,0-35.678-9.903-40.529-18.211c-7.357-12.601-5.437-29.006, 5.71-48.76\n\t\tc 12.133-21.498, 16.191-38.792, 11.136-47.45c-4.733-8.106-19.91-12.57-42.736-12.57c-22.825,0-38.001,4.464-42.734,12.57\n\t\tc-5.056,8.657-0.996,25.952, 11.136,47.448c 11.147,19.755, 13.069,36.16, 5.711,48.761c-4.851,8.308-15.82,18.211-40.529,18.211\n\t\tl-79.27,0 c-25.717,0-46.639-20.979-46.639-46.768l0-69.138 c0-2.794, 0.089-5.459, 0.175-8.037c 0.021-0.63, 0.044-1.316, 0.065-2.030\n\t\tc-1.582,0.78-3.443,1.763-5.62,3.002c-14.011,7.973-43.795,17.477-64.926,17.477c-17.396,0-31.892-6.58-41.922-19.028\n\t\tC 5.207,374.183,0,355.185,0,329.396c0-25.791, 5.207-44.791, 15.917-58.085c 10.029-12.448, 24.526-19.028, 41.923-19.028\n\t\tc 21.131,0, 50.915,9.504, 64.923,17.478c 2.176,1.238, 4.038,2.221, 5.619,3c-0.021-0.715-0.044-1.402-0.065-2.034\n\t\tc-0.086-2.575-0.175-5.238-0.175-8.029l-0.4-87.683c0-25.86, 20.922-46.84, 46.639-46.84l 79.388,0 c 2.34-0.004, 8.342-0.014, 12.246-0.588\n\t\tc-0.673-2.288-2.156-6.067-5.414-11.84C 241.942,82.685, 238.275,48, 249.7,28.434C 260.717,9.566, 284.392,0, 320.067,0\n\t\tc 35.679,0, 59.355,9.567, 70.373,28.436c 11.425,19.566, 7.757,54.251-10.901,87.313c-3.258,5.773-4.741,9.552-5.415,11.84\n\t\tc 3.905,0.574, 9.91,0.583, 12.27,0.587l 78.566,0 c 25.717,0, 46.64,20.979, 46.64,46.766L 512,465.21C 512,491.021, 491.077,512, 465.36,512z\n\t\t M 374.026,477.626c 0.932,0.731, 4.714,2.374, 12.863,2.374l 78.471,0 c 8.072,0, 14.64-6.625, 14.64-14.768l-0.4-290.269\n\t\tc0-8.164-6.567-14.788-14.64-14.788l-78.591,0 c-12.822-0.020-32.162-0.050-41.104-15.392c-8.587-14.731-0.457-32.602, 6.405-44.762\n\t\tc 12.133-21.498, 16.191-46.793, 11.136-55.45C 358.072,36.464, 342.895,32, 320.067,32c-22.824,0-38.001,4.464-42.734,12.57\n\t\tc-5.055,8.657-0.996,33.953, 11.137,55.452c 6.861,12.16, 14.991,30.029, 6.406,44.76c-8.942,15.341-28.283,15.373-41.081,15.394\n\t\tL 174.38,160.176 c-8.072,0-14.639,6.625-14.639,14.767l 0.4,87.683c0,2.33, 0.080,4.721, 0.157,7.034c 0.375,11.206, 0.762,22.795-7.325,31.159\n\t\tc-3.052,3.155-8.478,6.918-16.999,6.919c-0.001,0-0.004,0-0.005,0c-7.727,0-16.681-3.135-29.034-10.164\n\t\tc-14.839-8.446-38.229-13.289-49.096-13.289c-7.067,0-25.84,0-25.84,45.112c0,45.108, 18.772,45.108, 25.839,45.108\n\t\tc 10.866,0, 34.258-4.844, 49.098-13.289c 12.353-7.029, 21.308-10.165, 29.037-10.165c 8.523,0, 13.951,3.763, 17.003,6.919\n\t\tc 8.088,8.362, 7.7,19.951, 7.325,31.157c-0.078,2.315-0.158,4.708-0.158,6.967l0,69.138 c0,8.143, 6.567,14.768, 14.639,14.768l 79.27,0 \n\t\tc 8.148,0, 11.932-1.643, 12.863-2.373c 0.138-0.887, 0.433-5.625-5.914-16.871c-18.658-33.061-22.326-59.745-10.901-79.312\n\t\tc 11.017-18.868, 34.693-28.435, 70.369-28.435c 35.678,0, 59.354,9.567, 70.371,28.436c 11.425,19.565, 7.757,46.25-10.901,79.312\n\t\tC 373.593,472.003, 373.889,476.741, 374.026,477.626z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"puzzle, piece, app, addon, extension\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 479.165,128.125L 394.94,128.125 c-21.715-0.033-43.348-1.503-22.252-38.729c 21.138-37.3, 36.059-89.521-48.802-89.521 c-84.857,0-69.935,52.221-48.797,89.521c 21.096,37.226-0.538,38.694-22.255,38.729l-91.938,0 c-18.060,0-32.835,14.778-32.835,32.834 l0,102.189 c0,21.756, 5.904,43.513-31.393,22.378C 59.372,264.389,0,249.469,0,334.328c0,84.854, 59.37,69.935, 96.67,48.798 c 37.297-21.137, 31.393,0.62, 31.393,22.38l0,73.783 c0,18.062, 14.777,32.835, 32.835,32.835l 91.811,0 c 21.76,0, 43.517-8.706, 22.382-46.004 c-21.137-37.295-36.061-89.519, 48.797-89.519c 84.858,0, 69.938,52.221, 48.8,89.519c-21.135,37.299, 0.623,46.005, 22.381,46.005l 84.096,0 c 18.062,0, 32.837-14.777, 32.837-32.835L 512.002,160.958 C 512.002,142.901, 497.227,128.125, 479.165,128.125z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"package, box, book, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 32,64l0,352 l 96,96l 320-64L 448,96 L 352,0z M 344.111,26.053l 75.604,75.604l-263.432,52.687L 80.68,78.739L 344.111,26.053z\n\t M 160,178.075l 4-0.8l0,303.049 l-4,0.801L 160,178.075 z M 172,175.675l 8-1.6l0,303.050 l-8,1.6L 172,175.675 z M 188,172.475l 8-1.6l0,303.049 l-8,1.6\n\tL 188,172.475 z M 204,169.275l 8-1.6l0,303.049 l-8,1.6L 204,169.275 z M 220,166.075l 8-1.6l0,303.049 l-8,1.601L 220,166.075 z M 236,162.875l 8-1.6l0,303.050 \n\tl-8,1.6L 236,162.875 z M 252,159.675l 8-1.6l0,303.050 l-8,1.6L 252,159.675 z M 268,156.476l 8-1.6l0,303.049 l-8,1.6L 268,156.476 z M 284,153.275l 8-1.6\n\tl0,303.049 l-8,1.601L 284,153.275 z M 300,150.075l 8-1.6l0,303.050 l-8,1.6L 300,150.075 z M 316,146.875l 8-1.6l0,303.050 l-8,1.6L 316,146.875 z M 332,143.675\n\tl 8-1.6l0,303.050 l-8,1.6L 332,143.675 z M 348,140.476l 8-1.6l0,303.049 l-8,1.601L 348,140.476 z M 364,137.275l 8-1.6l0,303.049 l-8,1.601L 364,137.275 z\n\t M 380,134.075l 8-1.6l0,303.050 l-8,1.6L 380,134.075 z M 396,130.875l 8-1.6l0,303.050 l-8,1.6L 396,130.875 z M 412,127.675l 4-0.8l0,303.049 l-4,0.801\n\tL 412,127.675 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cylinder, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448.18,80l-0.184,0.114C 447.997,80.076, 448,80.038, 448,80c0-44.183-85.961-80-192-80C 149.961,0, 64,35.817, 64,80\n\tc0,0.039, 0.003,0.076, 0.003,0.115L 63.82,80l0,348 l 0.456-0.285C 64.096,429.134, 64,430.562, 64,432c0,44.183, 85.961,80, 192,80\n\tc 106.039,0, 192-35.817, 192-80c0-1.438-0.096-2.865-0.275-4.284L 448.18,428L 448.18,80 z M 416,432c0,0.658-0.446,2.035-1.806,4L 97.807,436 \n\tc-1.36-1.965-1.807-3.342-1.807-4s 0.446-2.035, 1.807-4l 316.388,0 C 415.554,429.965, 416,431.342, 416,432z M 159.058,468\n\tc-8.613-2.354-16.697-5.029-24.126-8l 242.136,0 c-7.429,2.971-15.514,5.646-24.126,8L 159.058,468 z M 313.593,476\n\tc-18.341,2.613-37.831,4-57.593,4s-39.252-1.387-57.593-4L 313.593,476 z M 117.876,452c-5.219-2.896-9.191-5.618-12.176-8L 406.3,444 \n\tc-2.985,2.382-6.957,5.104-12.177,8L 117.876,452 z M 95.82,124.114c 4.375,2.752, 9.145,5.386, 14.282,7.886L 95.82,132 L 95.82,124.114 z M 95.82,140\n\tl 33.201,0 c 8.035,2.955, 16.667,5.633, 25.813,8L 95.82,148 L 95.82,140 z M 95.82,364l 59.014,0 c-9.146,2.367-17.778,5.045-25.813,8L 95.82,372 L 95.82,364 z\n\t M 198.407,388c 18.341-2.613, 37.831-4, 57.593-4s 39.252,1.387, 57.593,4L 198.407,388 z M 352.942,396c 8.612,2.354, 16.697,5.029, 24.126,8\n\tL 134.932,404 c 7.429-2.971, 15.513-5.646, 24.126-8L 352.942,396 z M 95.82,387.886L 95.82,380 l 14.282,0 C 104.965,382.5, 100.195,385.133, 95.82,387.886z\n\t M 105.701,420c 2.985-2.382, 6.957-5.104, 12.176-8l 276.247,0 c 5.22,2.896, 9.191,5.618, 12.177,8L 105.701,420 z M 416.18,387.886\n\tc-4.375-2.753-9.145-5.386-14.281-7.886l 14.281,0 L 416.18,387.886 z M 416.18,372L 382.98,372 c-8.036-2.955-16.668-5.633-25.813-8l 59.013,0 L 416.18,372 z\n\t M 416.18,356L 316.077,356 c-18.901-2.593-39.094-4-60.077-4c-20.984,0-41.176,1.407-60.077,4L 95.82,356 l0-8 l 320.36,0 L 416.18,356 z M 416.18,340L 95.82,340 l0-8 \n\tl 320.36,0 L 416.18,340 z M 416.18,324L 95.82,324 l0-8 l 320.36,0 L 416.18,324 z M 416.18,308L 95.82,308 l0-8 l 320.36,0 L 416.18,308 z M 416.18,292L 95.82,292 l0-8 l 320.36,0 L 416.18,292 z M 416.18,276\n\tL 95.82,276 l0-8 l 320.36,0 L 416.18,276 z M 416.18,260L 95.82,260 l0-8 l 320.36,0 L 416.18,260 z M 416.18,244L 95.82,244 l0-8 l 320.36,0 L 416.18,244 z M 416.18,228L 95.82,228 l0-8 l 320.36,0 L 416.18,228 z\n\t M 416.18,212L 95.82,212 l0-8 l 320.36,0 L 416.18,212 z M 416.18,196L 95.82,196 l0-8 l 320.36,0 L 416.18,196 z M 416.18,180L 95.82,180 l0-8 l 320.36,0 L 416.18,180 z M 416.18,164L 95.82,164 l0-8 \n\tl 100.104,0 c 18.901,2.592, 39.093,4, 60.077,4c 20.983,0, 41.176-1.408, 60.077-4L 416.18,156 L 416.18,164 z M 416.18,148l-59.013,0 \n\tc 9.146-2.367, 17.777-5.045, 25.813-8l 33.199,0 L 416.179,148 z M 416.18,124.115L 416.18,132 l-14.281,0 C 407.035,129.5, 411.805,126.867, 416.18,124.115z\n\t M 101.545,71.657c 4.631-4.563, 13.769-11.509, 30.998-18.687C 164.527,39.643, 209.525,32, 256,32s 91.473,7.643, 123.457,20.97\n\tc 17.229,7.178, 26.366,14.124, 30.998,18.687C 414.832,75.969, 416,78.93, 416,80s-1.168,4.031-5.545,8.343\n\tc-4.632,4.562-13.77,11.508-30.998,18.687C 347.473,120.357, 302.475,128, 256,128s-91.473-7.643-123.457-20.97\n\tc-17.229-7.178-26.367-14.124-30.998-18.687C 97.168,84.031, 96,81.070, 96,80S 97.168,75.969, 101.545,71.657z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pyramid, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240.001,32.027L 8.352,373.011L 240.001,512L 471.65,373.011L 240.001,32.027z M 53.846,362.989L 224,112.524l0,352.558\n\tL 53.846,362.989z M 256.001,460l 8.47,0 l-8.47,5.082L 256.001,460 z M 256.001,452l0-8 l 35.137,0 l-13.333,8L 256.001,452 z M 256.001,436l0-8 l 61.804,0 l-13.334,8\n\tL 256.001,436 z M 256.001,420l0-8 l 88.471,0 l-13.334,8L 256.001,420 z M 256.001,404l0-8 l 115.137,0 l-13.333,8L 256.001,404 z M 256.001,388l0-8 l 141.804,0 \n\tl-13.333,8L 256.001,388 z M 256.001,372l0-8 l 168.471,0 l-13.333,8L 256.001,372 z M 263.798,124l 5.435,8l-13.231,0 l0-8 L 263.798,124 z M 274.667,140l 5.435,8\n\tl-24.1,0 l0-8 L 274.667,140 z M 285.537,156l 5.435,8l-34.97,0 l0-8 L 285.537,156 z M 296.406,172l 5.436,8l-45.84,0 l0-8 L 296.406,172 z M 307.276,188l 5.435,8l-56.709,0 \n\tl0-8 L 307.276,188 z M 318.146,204l 5.436,8l-67.58,0 l0-8 L 318.146,204 z M 329.016,220l 5.435,8l-78.449,0 l0-8 L 329.016,220 z M 339.886,236l 5.435,8l-89.319,0 l0-8 \n\tL 339.886,236 z M 350.755,252l 5.435,8L 256.001,260 l0-8 L 350.755,252 z M 361.625,268l 5.435,8L 256.001,276 l0-8 L 361.625,268 z M 372.494,284l 5.436,8L 256.001,292 l0-8 \n\tL 372.494,284 z M 383.364,300l 5.435,8L 256.001,308 l0-8 L 383.364,300 z M 394.233,316l 5.436,8L 256.001,324 l0-8 L 394.233,316 z M 405.104,332l 5.435,8L 256.001,340 l0-8 \n\tL 405.104,332 z M 415.974,348l 5.435,8L 256.001,356 l0-8 L 415.974,348 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pyramid\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240.001,32.027L 8.352,373.011L 240.001,512L 471.65,373.011L 240.001,32.027z M 53.846,362.989L 224,112.524l0,352.558\n\tL 53.846,362.989z M 256.001,112.524l 170.155,250.465L 256.001,465.082L 256.001,112.524z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube4, 3d, box, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 244.016,0l-8.031,0 L 26.718,112.107L0,126.42l0,228.121 L 235.137,512l 9.727,0 L 480,354.541L 480,126.42 L 244.016,0z M 203.050,452l-11.947-8\n\tL 224,444 l0,8 L 203.050,452 z M 224,460l0,6.029 L 214.996,460L 224,460 z M 179.157,436l-11.947-8L 224,428 l0,8 L 179.157,436 z M 155.263,420l-11.946-8L 224,412 l0,8 L 155.263,420 z\n\t M 131.37,404l-11.946-8L 224,396 l0,8 L 131.37,404 z M 107.477,388l-11.947-8L 224,380 l0,8 L 107.477,388 z M 83.584,372l-11.947-8L 224,364 l0,8 L 83.584,372 z M 59.69,356\n\tl-11.946-8L 224,348 l0,8 L 59.69,356 z M 35.797,340L 32,337.457L 32,332 l 192,0 l0,8 L 35.797,340 z M 32,324l0-8 l 192,0 l0,8 L 32,324 z M 32,308l0-8 l 192,0 l0,8 L 32,308 z M 32,292l0-8 l 192,0 l0,8 L 32,292 z\n\t M 32,276l0-8 l 192,0 l0,8 L 32,276 z M 32,260l0-8 l 166.65,0 l 14.934,8L 32,260 z M 32,244l0-8 l 136.784,0 l 14.934,8L 32,244 z M 32,228l0-8 l 106.917,0 l 14.934,8L 32,228 z M 32,212l0-8 \n\tl 77.050,0 l 14.933,8L 32,212 z M 32,196l0-8 l 47.184,0 l 14.934,8L 32,196 z M 32,180l0-8 l 17.317,0 l 14.933,8L 32,180 z M 32,164l0-1.277 L 34.383,164L 32,164 z M 240,237.849\n\tL 49.882,136L 240,34.151L 430.117,136L 240,237.849z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube, 3d, box\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 244.016,0l-8.031,0 L 26.718,112.107L0,126.42l0,228.121 L 235.137,512l 9.727,0 L 480,354.541L 480,126.42 L 244.016,0z M 430.117,136\n\tl-76.519,40.992l-85.010-45.542l 76.518-40.992L 430.117,136z M 240,34.151l 76.519,40.992L 240,116.136l-76.519-40.992L 240,34.151z\n\t M 134.893,90.458l 76.519,40.993l-85.011,45.541L 49.882,136L 134.893,90.458z M 98.542,382.017L 32,337.457l0-77.563 l 66.542,41.589\n\tL 98.542,382.017 z M 98.542,269.643L 32,228.054l0-65.331 l 66.542,35.647L 98.542,269.643 z M 224,466.029l-98.458-65.933l0-81.739 L 224,379.895L 224,466.029 z\n\t M 224,348.054l-98.458-61.536l0-73.684 L 224,265.58L 224,348.054 z M 240,237.849l-85.010-45.541L 240,146.766l 85.011,45.541L 240,237.849z\n\t M 354.459,400.097L 256,466.029l0-86.135 l 98.459-61.537L 354.459,400.097 z M 354.459,286.518L 256,348.055L 256,265.58 l 98.459-52.746L 354.459,286.518 z\n\t M 448,337.457l-66.541,44.559l0-80.533 L 448,259.894L 448,337.457 z M 448,228.054l-66.541,41.588L 381.459,198.37 L 448,162.723L 448,228.054 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube, box, 3d, miscellaneous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32L0,128l0,224 l 240,128l 240-128L 480,128 L 240,32z M 224,435.2L 32,332.8L 32,177.067 l 192,102.4L 224,435.2 z M 41.498,145.866L 240,66.465\n\tl 198.502,79.401L 240,251.733L 41.498,145.866z M 448,332.8L 256,435.2L 256,279.467 l 192-102.4L 448,332.8 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cube, box, 3d, miscellaneous\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L 32,128L 256,224L 480,128 \tzM 32,416L 224,496L 224,272L 32,192 \tzM 288,496L 480,416L 480,192L 288,272 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"boat, sailing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,352l0,128 l 352,0 c 64,0, 160-58.5, 160-128L0,352 zM 256,32L0,320L 256,320 \tzM 288,96l0,224 l 160,0 C 448,160, 288,96, 288,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"ship, travel, vacation, transport\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 450.017,432L 448,432 l-2.017,0 c-7.104,27.604-32.162,48-61.983,48s-54.879-20.396-61.983-48L 320,432 l-2.017,0 \n\t\tc-7.104,27.604-32.162,48-61.983,48s-54.879-20.396-61.983-48L 192,432 l-2.017,0 c-7.104,27.604-32.162,48-61.983,48\n\t\ts-54.879-20.396-61.983-48L 64,432 l-2.017,0 C 54.879,459.604, 29.821,480,0,480l0,32 c 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54\n\t\ts 64-18.653, 64-54c0,35.347, 28.654,54, 64,54c 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54s 64-18.653, 64-54\n\t\tc0,35.347, 28.654,54, 64,54l0-32 C 482.179,480, 457.121,459.604, 450.017,432zM 450.017,368L 448,368 l-2.017,0 c-7.104,27.604-32.162,48-61.983,48c-24.019,0-44.939-13.236-55.886-32.808\n\t\tC 391.793,371.008, 480,224, 480,224l-63.928-27.397c-0.066-0.544-0.143-1.082-0.229-1.613L 389.157,31.582\n\t\tC 386.321,14.212, 369.6,0, 352,0L 160,0 c-17.6,0-34.321,14.212-37.157,31.582L 96.157,194.989c-0.087,0.531-0.163,1.069-0.229,1.613\n\t\tL 32,224c0,0, 88.207,147.008, 151.886,159.192C 172.939,402.764, 152.019,416, 128,416c-29.821,0-54.879-20.396-61.983-48L 64,368 l-2.017,0 \n\t\tC 54.879,395.604, 29.821,416,0,416l0,32 c 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54s 64-18.653, 64-54c0,35.347, 28.654,54, 64,54\n\t\tc 35.346,0, 64-18.653, 64-54c0,35.347, 28.654,54, 64,54s 64-18.653, 64-54c0,35.347, 28.654,54, 64,54l0-32 \n\t\tC 482.179,416, 457.121,395.604, 450.017,368z M 288,32l 64,0 c 1.93,0, 5.265,2.834, 5.575,4.739l 23.669,144.937l-107.891-46.238L 288,32z\n\t\t M 154.424,36.739C 154.735,34.834, 158.070,32, 160,32l 64,0 l 14.646,103.438l-107.891,46.239L 154.424,36.739z M 256,416\n\t\tc-23.686,0-44.356-12.874-55.423-32l 110.846,0 C 300.355,403.126, 279.686,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"train, travel, transport, travel, vacation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,272l0-42 c0-21-16-38-36-38l-28,0 L 352,96 l 32-64L 256,32 l 32,64l0,96 L 128,192 l0-64 L0,128 l0,288 l 32,0 c0,35.347, 28.653,64, 64,64s 64-28.653, 64-64\n\t\tc0,35.347, 28.653,64, 64,64s 64-28.653, 64-64c0,35.347, 28.653,64, 64,64s 64-28.653, 64-64l 96,0 L 416,272z M 96,448\n\t\tc-17.673,0-32-14.326-32-32s 14.327-32, 32-32s 32,14.326, 32,32S 113.673,448, 96,448z M 224,448c-17.673,0-32-14.326-32-32\n\t\ts 14.327-32, 32-32s 32,14.326, 32,32S 241.673,448, 224,448z M 352,448c-17.674,0-32-14.326-32-32s 14.326-32, 32-32s 32,14.326, 32,32\n\t\tS 369.674,448, 352,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"road, asphalt\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,512l 160,0 L 384,0l-96,0 l 16,128l-96,0 L 224,0l-96,0 L0,512l 160,0 l 16-128l 160,0 L 352,512z M 184,320l 16-128l 112,0 l 16,128L 184,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bike, bicycle, ride\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,224c-11.158,0-21.869,1.91-31.831,5.411l-26.398-61.213l 24.512-44.698l 19.967,0 c 7.456,0, 13.5-6.044, 13.5-13.5\n\ts-6.044-13.5-13.5-13.5l-68.785,0 c-7.456,0-13.5,6.044-13.5,13.5s 6.044,13.5, 13.5,13.5l 21.447,0 L 334.895,160L 147.485,160 l 7.903-36.5l 54.11,0 \n\tc 7.456,0, 13.5-6.044, 13.5-13.5s-6.044-13.5-13.5-13.5l-75.89,0 l-27.714,128.004C 102.641,224.171, 99.341,224, 96,224\n\tc-53.020,0-96,42.98-96,96s 42.98,96, 96,96s 96-42.98, 96-96c0-40.247-24.77-74.702-59.893-88.971l 8.224-37.986l 106.824,144.496\n\tc 2.074,2.806, 5.356,4.461, 8.845,4.461l 66.536,0 c 9.946,42.416, 48.015,74, 93.464,74c 53.020,0, 96-42.98, 96-96S 469.020,224, 416,224z\n\t M 165,320c0,38.047-30.953,69-69,69s-69-30.953-69-69s 30.953-69, 69-69c 1.387,0, 2.761,0.053, 4.128,0.134l-17.323,80.009\n\tc-1.578,7.287, 3.051,14.473, 10.338,16.051c 0.963,0.208, 1.923,0.309, 2.87,0.309c 6.217,0, 11.812-4.322, 13.181-10.646l 17.071-78.849\n\tC 149.181,269.242, 165,292.805, 165,320z M 322.83,182l-69.546,126.821L 159.526,182L 322.83,182 z M 274.524,320l 69.835-127.346l 20.010,46.4\n\tC 337.689,256.107, 320,285.987, 320,320L 274.524,320 z M 375.276,264.346L 399.277,320L 347,320 C 347,297.175, 358.147,276.913, 375.276,264.346z\n\t M 416,389c-30.355,0-56.176-19.712-65.383-47L 416,342 c 3.702,0, 7.155-1.862, 9.19-4.955c 2.034-3.093, 2.376-7.002, 0.91-10.4l-31.194-72.334\n\tC 401.56,252.168, 408.645,251, 416,251c 38.047,0, 69,30.953, 69,69S 454.047,389, 416,389z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"truck, vehicle, transit, transport\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,288l-64-128l-96,0 L 352,96 c0-17.6-14.4-32-32-32L 32,64 C 14.4,64,0,78.4,0,96l0,256 l 32,32l 40.583,0 C 67.134,393.416, 64,404.339, 64,416\n\tc0,35.346, 28.654,64, 64,64s 64-28.654, 64-64c0-11.661-3.134-22.584-8.583-32l 177.167,0 c-5.449,9.416-8.584,20.339-8.584,32\n\tc0,35.346, 28.654,64, 64,64s 64-28.654, 64-64c0-11.661-3.135-22.584-8.584-32L 512,384 L 512,288 z M 352,288l0-80 l 66.334,0 l 40,80L 352,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bus, transport, public transportation, travel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,32C 432.279,0, 320,0, 256,0S 79.72,0, 64,32S 32,256, 32,256l0,192 l 64,0 l0,32 c0,17.673, 14.327,32, 32,32s 32-14.327, 32-32l0-32 l 192,0 l0,32 \n\tc0,17.673, 14.327,32, 32,32c 17.674,0, 32-14.327, 32-32l0-32 l 64,0 L 480,256 C 480,256, 463.721,64, 448,32z M 160,32l 192,0 l0,32 L 160,64 L 160,32 z M 128,352\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 145.673,352, 128,352z M 102.499,224.001\n\tc 0.8-7.513, 1.656-15.314, 2.559-23.231c 6.083-53.329, 10.847-81.788, 13.844-96.464c 8.586-2.002, 23.196-4.479, 46.867-6.145\n\tC 196.495,96, 229.49,96, 256,96s 59.505,0, 90.231,2.161c 23.671,1.665, 38.28,4.142, 46.866,6.145\n\tc 2.996,14.676, 7.762,43.136, 13.845,96.465c 0.902,7.917, 1.759,15.718, 2.559,23.23L 102.499,224.001 z M 384,352c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 401.673,352, 384,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gas-pump, pump, oil\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.5,128C 446,91, 352,71.5, 352,71.5L 352,96 c 47.5,13.5, 64,45.719, 64,45.719L 416,192 c0,17.594, 14.406,32, 32,32l 16,0 l0,144 l-48,0 l0-88 \n\tc0-22.062-17.938-40-40-40l-56,0 L 320,80 c0-26.406-21.594-48-48-48L 80,32 c-26.406,0-48,21.594-48,48l0,368 L0,448 l0,64 l 352,0 l0-64 l-32,0 L 320,288 l 48,0 l0,88 \n\tc0,22.062, 17.938,40, 40,40l 64,0 c 22.062,0, 40-17.938, 40-40L 512,176 C 512,146.5, 490.5,128, 490.5,128z M 288,176c0,8.797-7.188,16-16,16L 80,192 \n\tc-8.797,0-16-7.203-16-16L 64,80 c0-8.797, 7.203-16, 16-16l 192,0 c 8.812,0, 16,7.203, 16,16L 288,176 z M 480,184c0,4.4-3.6,8-8,8l-16,0 \n\tc-4.4,0-8-3.6-8-8l0-16 c0-4.4, 3.6-8, 8-8l 16,0 c 4.4,0, 8,3.6, 8,8L 480,184 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"car, drive, vehicle, automobile, transport, travel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 422.198,160L 384.444,46.738C 381.554,38.061, 373.146,32, 364,32L 148,32 c-9.145,0-17.552,6.060-20.444,14.735L 89.801,160L0,160 l0,224 l 64,0 \n\tl0,80 c0,8.8, 7.199,16, 16,16l 64,0 c 8.8,0, 16-7.2, 16-16l0-80 l 192,0 l0,80 c0,8.8, 7.198,16, 16,16l 64,0 c 8.8,0, 16-7.2, 16-16l0-80 l 64,0 L 512,160 L 422.198,160 z\n\t M 112,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 138.51,320, 112,320z M 131.532,160l 32-96l 184.936,0 l 32,96L 131.532,160 z\n\t M 400,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,320, 400,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paper plane, send, flight, fly, plane, airplane, speed, light\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,352L 420.818,422.244L 512,23.566 \tzM 160,329.954L 512,23.566L0,276.797 \tzM 224,385.977L 224,512L 316.876,419.124 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"airplane, flight, fly, plane, travel, vacation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,224L 160,32L 96,32 l 128,192c-41.455,0-82.064,0-112,0l-48-64L0,160 l 56,112L0,384l 64,0 l 48-64c 29.936,0, 70.545,0, 112,0L 96,512l 64,0 \n\tl 192-192c 96,0, 160-29.625, 160-48S 448,224, 352,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"airplane, flight, fly, plane, travel, vacation\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,319.984l-91.41-91.411L 512,63.998L 447.995,0l-274.26,109.721L 87.385,23.368C 62.495-1.521, 27.734-7.485, 10.134,10.114\n\tC-7.465,27.713-1.5,62.477, 23.389,87.364l 86.343,86.342L0,447.997L 63.995,512L 228.59,292.566l 91.413,91.414l0,127.99 L 384,511.97 \n\tl 31.996-95.994l 95.994-31.998l0-63.996 L 384,319.982 L 384,319.984 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"briefcase, portfolio, suitcase, work, job, employee\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128L 352,128 L 352,96 c0-17.6-14.4-32-32-32L 192,64 c-17.602,0-32,14.4-32,32l0,32 L 32,128 c-17.6,0-32,14.4-32,32l0,288 \n\tc0,17.601, 14.398,32, 32,32l 448,0 c 17.6,0, 32-14.399, 32-32L 512,160 C 512,142.4, 497.6,128, 480,128z M 192,96.058\n\tc 0.017-0.020, 0.037-0.041, 0.057-0.058l 127.886,0 c 0.021,0.017, 0.041,0.038, 0.059,0.058L 320.002,128 L 192,128 L 192,96.058 z M 480,256l-64,0 l0,48 \n\tc0,8.801-7.2,16-16,16l-32,0 c-8.802,0-16-7.199-16-16l0-48 L 160,256 l0,48 c0,8.801-7.2,16-16,16l-32,0 c-8.801,0-16-7.199-16-16l0-48 L 32,256 l0-32 l 448,0 \n\tL 480,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"briefcase, portfolio, suitcase, work, job, employee\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,160L 352,160 L 352,96 c0-17.6-14.4-32-32-32L 192,64 c-17.602,0-32,14.4-32,32l0,64 L 48,160 c-26.4,0-48,21.6-48,48l0,224 c0,26.4, 21.6,48, 48,48\n\tl 416,0 c 26.398,0, 48-21.6, 48-48L 512,208 C 512,181.6, 490.401,160, 464,160z M 192,96.057c 0.016-0.020, 0.037-0.041, 0.058-0.057l 127.887,0 \n\tc 0.021,0.018, 0.040,0.038, 0.058,0.057L 320.003,160 L 192,160 L 192,96.057 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"briefcase, portfolio, suitcase, work, job, employee\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 109.255,320L 224,320 l0-32 l 64,0 l0,32 l 114.745,0 L 512,210.745L 512,160 c0-17.6-14.4-32-32-32l-96,0 l-64-64L 192,64 l-64,64L 32,128 c-17.6,0-32,14.4-32,32\n\tl0,50.745 L 109.255,320z M 205.255,96l 101.49,0 l 32,32l-165.49,0 L 205.255,96z M 416,352L 288,352 l0,32 l-64,0 l0-32 L 96,352 L0,256l0,192 c0,17.6, 14.4,32, 32,32l 448,0 \n\tc 17.6,0, 32-14.4, 32-32L 512,256 L 416,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,480c0,17.673, 14.327,32, 32,32l 320,0 c 17.674,0, 32-14.327, 32-32L 448,128 L 64,128 L 64,480 z M 320,192l 64,0 l0,256 l-64,0 L 320,192 z M 224,192l 64,0 l0,256 l-64,0 \n\t\tL 224,192 z M 128,192l 64,0 l0,256 l-64,0 L 128,192 zM 448,32L 320,32 L 320,0 L 192,0 l0,32 L 64,32 C 28.654,32,0,60.654,0,96l 512,0 C 512,60.654, 483.347,32, 448,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,224c-106.039,0-192-42.98-192-96l0,32 c0,19.625, 11.787,37.871, 32,53.074L 96,448 c0,35.347, 71.634,64, 160,64\n\t\tc 88.365,0, 160-28.653, 160-64L 416,213.074 c 20.213-15.204, 32-33.449, 32-53.074l0-32 C 448,181.020, 362.039,224, 256,224z M 192,474.118\n\t\tc-10.372-2.025-20.122-4.538-28.967-7.528c-23.747-8.027-33.068-16.675-35.033-19.794L 128,231.547 \n\t\tc 18.467,8.265, 40.151,14.767, 64,18.982L 192,474.118 z M 288,478.597c-10.404,0.924-21.134,1.403-32,1.403\n\t\tc-10.867,0-21.596-0.479-32-1.403L 224,254.665 c 10.408,0.874, 21.096,1.335, 32,1.335s 21.592-0.461, 32-1.335L 288,478.597 z M 384,446.796\n\t\tc-1.965,3.118-11.286,11.767-35.033,19.794c-8.846,2.99-18.596,5.503-28.967,7.528L 320,250.53 c 23.849-4.215, 45.533-10.717, 64-18.982\n\t\tL 384,446.796 zM 256,192c 106.039,0, 192-42.98, 192-96S 362.039,0, 256,0C 149.962,0, 64,42.98, 64,96S 149.962,192, 256,192z M 134.547,56.739\n\t\tC 165.991,41.017, 210.259,32, 256,32s 90.010,9.017, 121.454,24.739C 401.231,68.627, 416,83.671, 416,96s-14.77,27.373-38.546,39.261\n\t\tC 346.010,150.983, 301.741,160, 256,160s-90.009-9.017-121.454-24.739C 110.77,123.373, 96,108.329, 96,96S 110.77,68.627, 134.547,56.739z\n\t\tM 224,96L 288,96L 288,128L 320,128L 320,64L 192,64L 192,128L 224,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224.001,384.001L 256,384.001L 256,416L 224.001,416zM 288,384.001L 288,352.001L 256,352.001L 256,384L 287.999,384L 287.999,416L 319.999,416L 319.999,384.001 \tzM 160.001,384.001L 192.001,384.001L 192.001,416L 160.001,416zM 256,416L 287.999,416L 287.999,448L 256,448zM 192.001,416.001L 224.001,416.001L 224.001,447.999L 192.001,447.999zM 128.001,287.999L 160,287.999L 160,319.999L 128.001,319.999zM 192.001,352.001L 224,352.001L 224,384.001L 192.001,384.001zM 480,112c0-44.183-107.451-80-240-80S0,67.817,0,112c0,0.216, 0.020,0.431, 0.024,0.646l-0.016-0.021\n\t\tC0,131.442, 7.547,158.176, 20.595,210.367c 0.001,0.004, 0.002,0.008, 0.004,0.013l 57.941,231.77\n\t\tC 88.145,480.567, 128.403,512, 168.003,512L 240,512 l 71.997,0 c 39.601,0, 79.858-31.433, 89.463-69.851l 57.941-231.77\n\t\tc 0.002-0.005, 0.003-0.009, 0.004-0.013c 13.048-52.191, 20.595-78.924, 20.586-97.741l-0.016,0.021\n\t\tC 479.981,112.431, 480,112.216, 480,112z M 96.001,319.999l0-32 L 128,287.999 L 128,256 L 96,256 l0-32 L 64,224 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0,31.999 l 32,0 l0,32 l 32,0 l0,32 l-32,0 \n\t\tl0-32 l-32,0 l0,32 l-31.999,0 l0,32 l-32,0 l0-32 L 96.001,319.999 z M 288,255.998l0-31.999 l 31.996,0 l0-32 l 32,0 l0,32 L 320,223.999 l0,32 L 288,255.998l0,32 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0,32 L 288,255.998 z\n\t\t M 351.999,416l-32,0 l0,32 L 288,448 l0,32 l-32,0 l0-32 l-32,0 l0,31.999 l-32,0 L 192,448 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0-31.999 L 192,352.001 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 L 320,384 l 31.999,0 L 351.999,416 \n\t\tz M 384,320.001l-32,0 L 352,352 l-32,0 l0-32 l-32,0 l0-32 l 32,0 l0-31.999 l 31.996,0 l0-32 l 32,0 l0,32 L 352,256.001 l0,32 l 32,0 L 384,320.001 z M 416,223.999l-32,0 l0-32 l 32,0 L 416,223.999 z\n\t\t M 434.762,122.571c-3.738,2.324-8.031,4.609-12.787,6.831c-9.065,4.234-19.843,8.23-31.885,11.789\n\t\tC 349.052,153.32, 295.749,160, 240,160s-109.052-6.68-150.090-18.809c-12.042-3.559-22.819-7.555-31.885-11.789\n\t\tc-4.756-2.221-9.049-4.506-12.787-6.831c-7.975-4.958-11.354-8.742-12.665-10.571c 1.312-1.829, 4.69-5.613, 12.665-10.571\n\t\tc 10.865-6.755, 26.313-13.194, 44.672-18.62C 130.948,70.68, 184.251,64, 240,64s 109.052,6.68, 150.090,18.809\n\t\tc 18.359,5.426, 33.807,11.865, 44.672,18.62c 7.975,4.958, 11.354,8.742, 12.665,10.571\n\t\tC 446.115,113.829, 442.737,117.613, 434.762,122.571zM 160,255.999L 160,287.999L 192,287.999L 192,256L 160,256L 160,224L 128,224L 128,255.999 \tzM 320,288.001L 352,288.001L 352,320L 320,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,64L 320,64 L 320,16 c0-8.836-7.163-16-16-16l-96,0 c-8.836,0-16,7.164-16,16l0,48 L 32,64 L0,128l 64,0 l 32,384l 320,0 l 32-384l 64,0 L 480,64z M 224,448\n\tl-64,0 L 160,160 l 64,0 L 224,448 z M 224,32l 64,0 l0,32 l-64,0 L 224,32 z M 352,448l-64,0 L 288,160 l 64,0 L 352,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 456,96L 320,96 L 320,56 c0-13.2-10.8-24-24-24L 184,32 c-13.2,0-24,10.8-24,24l0,40 L 24,96 c-13.2,0-24,10.8-24,24l0,16 c0,13.2, 10.8,24, 24,24l 432,0 \n\tc 13.2,0, 24-10.8, 24-24l0-16 C 480,106.8, 469.2,96, 456,96z M 192,64.401l 96,0 L 288,96 l-96,0 L 192,64.401 zM 64,192l0,256 c0,17.6, 14.4,32, 32,32l 288,0 c 17.6,0, 32-14.4, 32-32L 416,192 L 64,192 z M 160,448l-32,0 L 128,224 l 32,0 L 160,448 z M 224,448l-32,0 L 192,224 l 32,0 L 224,448 z\n\t M 288,448l-32,0 L 256,224 l 32,0 L 288,448 z M 352,448l-32,0 L 320,224 l 32,0 L 352,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,192 L 416,192 L 416,464 C 416,490.4 394.4,512 368,512 L 144,512 C 117.6,512 96,490.4 96,464 L 96,192 L 160,192 L 160,448 L 224,448 L 224,192 L 288,192 L 288,448 L 352,448 L 352,192 ZM 64,96L 448,96L 448,160L 64,160zM 192,32L 320,32L 320,80L 192,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,64L 112,64 c-26.51,0-48,21.49-48,48l0,16 l 384,0 l0-16 C 448,85.49, 426.51,64, 400,64zM 316.16,32l 7.058,50.5L 188.782,82.5 l 7.057-50.5L 316.16,32 M 320,0L 192,0 c-13.2,0-25.495,10.696-27.321,23.769l-9.357,66.962\n\tC 153.495,103.804, 162.8,114.5, 176,114.5l 160,0 c 13.2,0, 22.505-10.696, 20.679-23.769l-9.357-66.962C 345.495,10.696, 333.2,0, 320,0L 320,0z\n\tM 408,160L 104,160 c-17.6,0-30.696,14.341-29.103,31.869l 26.206,288.263C 102.696,497.659, 118.4,512, 136,512l 240,0 \n\tc 17.6,0, 33.304-14.341, 34.897-31.868l 26.205-288.263C 438.696,174.341, 425.6,160, 408,160z M 192,448l-48,0 l-16-224l 64,0 L 192,448 z M 288,448l-64,0 \n\tL 224,224 l 64,0 L 288,448 z M 368,448l-48,0 L 320,224 l 64,0 L 368,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"remove, delete, trashcan, recycle bin, bin, dispose\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,512L 416,512L 448,160L 64,160 \tzM 320,64L 320,0 L 192,0 l0,64 L 32,64 l0,96 l 32-32l 384,0 l 32,32L 480,64 L 320,64 z M 288,64l-64,0 L 224,32 l 64,0 L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 191.076,399.223 C 202.953,412.152 222.605,416.557 258.824,415.961 C 291.477,415.416 309.766,412.588 320.924,402.316 L 320.924,439.84 C 300.973,446.326 279.032,449.926 256.003,449.926 C 232.972,449.926 211.026,446.326 191.076,439.838 L 191.076,399.223 Z M 191.753,465.056 C 220.577,473.871 233.728,474.347 256.003,474.347 C 278.275,474.347 291.427,473.871 320.253,465.056 C 317.745,478.761 306.952,512 256.003,512 C 205.053,512 194.26,478.761 191.753,465.056 ZM 256.003,38 C 191.676,38 139.342,89.382 139.342,152.54 C 139.342,183.947 161.241,222.929 187.698,266.936 C 198.256,284.497 203.319,301.851 207.387,315.795 C 210.541,326.608 213.52,336.821 217.394,340.44 C 219.195,342.124 227.234,347.617 255.027,347.617 C 256.092,347.617 257.172,347.61 258.273,347.593 C 289.090,347.14 296.43,341.548 297.165,340.912 C 299.529,338.867 302.087,329.647 304.345,321.512 C 307.97,308.448 312.482,292.188 322.461,274.724 C 342.452,239.753 372.659,186.914 372.659,152.539 C 372.659,122.065 360.585,93.373 338.66,71.749 C 316.595,49.985 287.24,38 256.003,38 Z M 256.003,0 L 256.003,0 C 341.371,0 410.66,68.338 410.659,152.54 C 410.659,194.641 382.743,245.843 355.454,293.579 C 328.175,341.316 352.442,384.214 258.825,385.59 C 257.537,385.608 256.273,385.618 255.027,385.618 C 161.744,385.618 183.452,333.624 155.13,286.516 C 126.431,238.779 101.342,194.642 101.342,152.54 C 101.342,68.339 170.629,0 256.003,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.003,0c-85.374,0-154.661,68.339-154.661,152.54c0,42.102, 25.089,86.239, 53.788,133.976\n\t\tc 28.7,47.737, 6.022,100.49, 103.695,99.073c 93.617-1.376, 69.35-44.274, 96.629-92.011c 27.289-47.736, 55.205-98.938, 55.205-141.039\n\t\tC 410.66,68.338, 341.371,0, 256.003,0zM 191.076,399.223l0,40.615 c 19.95,6.488, 41.896,10.088, 64.927,10.088c 23.029,0, 44.97-3.6, 64.921-10.086l0-37.525 \n\t\tc-11.158,10.273-29.447,13.1-62.1,13.645C 222.605,416.557, 202.953,412.152, 191.076,399.223zM 191.753,465.056c 2.507,13.705, 13.3,46.944, 64.25,46.944c 50.949,0, 61.742-33.239, 64.25-46.944\n\t\tc-28.826,8.815-41.977,9.291-64.25,9.291C 233.728,474.347, 220.577,473.871, 191.753,465.056z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 149.961,0, 64,85.961, 64,192c0,71.066, 38.613,133.109, 96,166.309L 160,448 l 64,64l 64,0 l 64-64l0-89.691 \n\tc 57.388-33.199, 96-95.242, 96-166.309C 448,85.961, 362.039,0, 256,0z M 224,340l0-8 l 64,0 l0,8 L 224,340 z M 288,348l0,0.812 \n\tc-10.42,2.104-21.127,3.188-32,3.188c-10.874,0-21.58-1.083-32-3.188L 224,348 L 288,348 z M 224,324l0-8 l 64,0 l0,8 L 224,324 z M 224,308l0-8 l 64,0 l0,8 L 224,308 z\n\t M 224,292l0-8 l 64,0 l0,8 L 224,292 z M 224,276l0-8 l 64,0 l0,8 L 224,276 z M 224,260l0-8 l 64,0 l0,8 L 224,260 z M 224,244l0-8 l 64,0 l0,8 L 224,244 z M 224,228l0-8 l 64,0 l0,8 L 224,228 z M 224,212l0-8 l 64,0 l0,8 \n\tL 224,212 z M 224,196l0-8 l 64,0 l0,8 L 224,196 z M 224,180l0-8 l 64,0 l0,8 L 224,180 z M 224,164l0-4 c0-1.355-0.094-2.688-0.258-4l 64.516,0 \n\tc-0.164,1.312-0.258,2.645-0.258,4l0,4 L 224,164 z M 290.335,148l-68.67,0 c0,0.001, 0.001,0.003, 0.001,0.004\n\tc-1.176-2.906-2.765-5.598-4.697-8.006c0,0.001, 0.001,0.001, 0.002,0.002l 78.057,0 C 293.099,142.407, 291.511,145.097, 290.335,148z\n\t M 289.636,149.901c-0.004,0.011-0.008,0.022-0.012,0.034C 289.628,149.924, 289.632,149.913, 289.636,149.901z M 222.376,149.937\n\tc-0.004-0.013-0.009-0.025-0.013-0.039C 222.367,149.911, 222.372,149.924, 222.376,149.937z M 207.493,132\n\tc 0.003,0.002, 0.006,0.004, 0.010,0.006C 202.909,129.457, 197.625,128, 192,128s-10.909,1.457-15.502,4.006\n\tc 0.003-0.002, 0.006-0.004, 0.010-0.006l-68.913,0 c 2.208-5.463, 4.718-10.802, 7.528-15.995c-1.423,2.629-2.772,5.294-4.041,7.995L 400.92,124 \n\tc 1.237,2.634, 2.396,5.303, 3.486,8l-68.913,0 c 0.004,0.002, 0.009,0.005, 0.013,0.007C 330.912,129.457, 325.627,128, 320,128\n\ts-10.912,1.457-15.506,4.007c 0.004-0.002, 0.009-0.005, 0.013-0.007L 207.493,132 z M 303.164,132.789c-0.014,0.008-0.027,0.018-0.041,0.026\n\tC 303.137,132.806, 303.15,132.797, 303.164,132.789z M 301.858,133.643c-0.017,0.011-0.032,0.023-0.048,0.034\n\tC 301.826,133.666, 301.842,133.654, 301.858,133.643z M 300.595,134.561c-0.014,0.011-0.027,0.021-0.041,0.032\n\tC 300.567,134.582, 300.581,134.571, 300.595,134.561z M 299.376,135.54c-0.007,0.006-0.014,0.012-0.021,0.019\n\tC 299.362,135.552, 299.369,135.546, 299.376,135.54z M 298.206,136.578c-0.001,0.001-0.002,0.001-0.003,0.002\n\tC 298.204,136.579, 298.205,136.579, 298.206,136.578z M 215.968,138.809C 215.968,138.809, 215.968,138.808, 215.968,138.809\n\tC 215.968,138.808, 215.968,138.809, 215.968,138.809z M 214.911,137.67c-0.001-0.001-0.003-0.003-0.004-0.004\n\tC 214.908,137.667, 214.909,137.668, 214.911,137.67z M 213.804,136.587c-0.004-0.004-0.009-0.008-0.013-0.012\n\tC 213.795,136.579, 213.799,136.583, 213.804,136.587z M 212.652,135.564c-0.010-0.009-0.020-0.018-0.030-0.026\n\tC 212.632,135.547, 212.642,135.556, 212.652,135.564z M 211.451,134.597c-0.016-0.012-0.032-0.025-0.048-0.038\n\tC 211.419,134.572, 211.435,134.585, 211.451,134.597z M 210.189,133.677c-0.016-0.011-0.032-0.023-0.048-0.034\n\tC 210.158,133.654, 210.173,133.666, 210.189,133.677z M 208.874,132.813c-0.013-0.008-0.025-0.016-0.038-0.024\n\tC 208.849,132.797, 208.861,132.805, 208.874,132.813z M 160.258,164L 98.431,164 c-0.231,1.318-0.447,2.64-0.646,3.966\n\tc 0.604-4.028, 1.362-8.019, 2.265-11.966l 60.208,0 c-0.164,1.312-0.258,2.645-0.258,4S 160.094,162.688, 160.258,164z M 102.104,148\n\tc-0.372,1.307-0.727,2.62-1.066,3.938c 1.387-5.403, 3.057-10.716, 4.999-15.925c-0.493,1.322-0.968,2.651-1.426,3.987l 62.417,0 \n\tc0-0.001, 0.001-0.001, 0.002-0.002c-1.932,2.408-3.521,5.101-4.697,8.006c0-0.001, 0.001-0.002, 0.001-0.004L 102.104,148 z M 161.637,149.898\n\tc-0.004,0.013-0.009,0.025-0.013,0.039C 161.628,149.924, 161.633,149.911, 161.637,149.898z M 100.059,155.962\n\tc 0.304-1.326, 0.625-2.646, 0.962-3.96C 100.684,153.316, 100.363,154.636, 100.059,155.962z M 175.164,132.789\n\tc-0.013,0.008-0.025,0.016-0.038,0.024C 175.139,132.805, 175.151,132.797, 175.164,132.789z M 173.858,133.643\n\tc-0.016,0.011-0.032,0.023-0.048,0.034C 173.827,133.666, 173.842,133.654, 173.858,133.643z M 172.597,134.56\n\tc-0.017,0.012-0.032,0.025-0.048,0.038C 172.565,134.585, 172.581,134.572, 172.597,134.56z M 171.378,135.538\n\tc-0.010,0.009-0.020,0.018-0.030,0.026C 171.358,135.556, 171.368,135.547, 171.378,135.538z M 170.209,136.575\n\tc-0.004,0.004-0.008,0.008-0.013,0.012C 170.201,136.583, 170.205,136.579, 170.209,136.575z M 169.093,137.666\n\tc-0.001,0.001-0.003,0.003-0.004,0.004C 169.091,137.668, 169.092,137.667, 169.093,137.666z M 168.033,138.808\n\tC 168.032,138.808, 168.032,138.809, 168.033,138.808C 168.032,138.809, 168.032,138.808, 168.033,138.808z M 106.060,135.951\n\tc 0.494-1.323, 1.004-2.639, 1.533-3.948C 107.064,133.312, 106.553,134.628, 106.060,135.951z M 350.376,170.065\n\tc-0.004,0.011-0.008,0.022-0.012,0.034C 350.368,170.087, 350.372,170.076, 350.376,170.065z M 350.364,149.901\n\tc 0.004,0.011, 0.008,0.022, 0.012,0.034C 350.372,149.924, 350.368,149.913, 350.364,149.901z M 349.665,172l 65.103,0 \n\tc-0.332-2.679-0.732-5.342-1.196-7.989c 0.924,5.267, 1.591,10.601, 1.988,15.989l-70.588,0 C 346.901,177.593, 348.489,174.903, 349.665,172\n\tz M 351.742,164c 0.164-1.312, 0.258-2.645, 0.258-4s-0.094-2.688-0.258-4l 60.208,0 c 0.605,2.648, 1.147,5.314, 1.619,8L 351.742,164 z\n\t M 349.665,148c-1.176-2.903-2.764-5.593-4.693-8l 62.418,0 c 0.904,2.642, 1.741,5.309, 2.507,8L 349.665,148 z M 409.897,148.004\n\tc 0.373,1.313, 0.731,2.632, 1.070,3.956C 410.628,150.636, 410.271,149.317, 409.897,148.004z M 410.977,151.993\n\tc 0.341,1.331, 0.667,2.666, 0.974,4.006C 411.643,154.658, 411.318,153.323, 410.977,151.993z M 404.41,132.010\n\tc 0.525,1.301, 1.033,2.609, 1.524,3.924C 405.443,134.619, 404.936,133.312, 404.41,132.010z M 405.972,136.034\n\tc 0.486,1.307, 0.956,2.619, 1.408,3.938C 406.928,138.653, 406.458,137.34, 405.972,136.034z M 341.797,136.58\n\tc-0.001-0.001-0.002-0.001-0.003-0.002C 341.795,136.579, 341.796,136.579, 341.797,136.58z M 340.646,135.559\n\tc-0.008-0.006-0.015-0.013-0.021-0.019C 340.631,135.546, 340.638,135.552, 340.646,135.559z M 339.446,134.593\n\tc-0.014-0.011-0.027-0.021-0.041-0.032C 339.419,134.571, 339.433,134.582, 339.446,134.593z M 338.189,133.677\n\tc-0.016-0.011-0.031-0.022-0.048-0.034C 338.158,133.654, 338.174,133.666, 338.189,133.677z M 336.877,132.814\n\tc-0.014-0.008-0.027-0.018-0.041-0.026C 336.85,132.797, 336.863,132.806, 336.877,132.814z M 320,284l 66.955,0 \n\tc-1.922,2.723-3.943,5.387-6.043,8L 320,292 L 320,284 z M 320,268l 76.875,0 c 1.423-2.629, 2.771-5.292, 4.041-7.993\n\tc-2.577,5.482-5.479,10.819-8.682,15.993L 320,276 L 320,268 z M 320,260l0-8 l 84.406,0 c-1.090,2.697-2.249,5.366-3.486,8L 320,260 z M 320,244l0-8 l 89.896,0 \n\tc-0.766,2.691-1.603,5.358-2.507,8L 320,244 z M 407.381,244.025c-0.453,1.321-0.923,2.636-1.411,3.944\n\tC 406.457,246.661, 406.928,245.347, 407.381,244.025z M 405.936,248.063c-0.492,1.317-1.001,2.628-1.527,3.932\n\tC 404.935,250.691, 405.443,249.381, 405.936,248.063z M 320,228l0-8 l 93.569,0 c-0.71,4.046-1.578,8.050-2.593,12.008\n\tc 0.342-1.331, 0.667-2.667, 0.974-4.008L 320,228 z M 410.969,232.038c-0.34,1.325-0.698,2.645-1.071,3.959\n\tC 410.271,234.683, 410.628,233.363, 410.969,232.038z M 320,212l0-8 l 95.56,0 c-0.397,5.388-1.064,10.722-1.988,15.989\n\tc 0.464-2.646, 0.864-5.31, 1.196-7.989L 320,212 z M 320,196l0-4 c 5.627,0, 10.912-1.457, 15.506-4.007c-0.004,0.002-0.009,0.005-0.013,0.007\n\tl 80.458,0 c-0.033-1.339-0.082-2.675-0.147-4.008C 415.935,186.65, 416,189.32, 416,192s-0.065,5.35-0.196,8.008\n\tc 0.065-1.333, 0.114-2.669, 0.147-4.008L 320,196 z M 415.798,200.118c-0.064,1.291-0.143,2.58-0.237,3.865\n\tC 415.655,202.697, 415.733,201.409, 415.798,200.118z M 341.797,183.42c-0.001,0.001-0.002,0.001-0.003,0.002\n\tC 341.795,183.421, 341.796,183.421, 341.797,183.42z M 340.646,184.441c-0.008,0.006-0.015,0.013-0.021,0.019\n\tC 340.631,184.454, 340.638,184.448, 340.646,184.441z M 339.446,185.407c-0.014,0.011-0.027,0.021-0.041,0.032\n\tC 339.419,185.429, 339.433,185.418, 339.446,185.407z M 338.189,186.323c-0.016,0.011-0.031,0.022-0.048,0.034\n\tC 338.158,186.346, 338.174,186.334, 338.189,186.323z M 336.877,187.186c-0.014,0.008-0.027,0.018-0.041,0.026\n\tC 336.85,187.203, 336.863,187.194, 336.877,187.186z M 415.561,180.018c 0.095,1.285, 0.173,2.574, 0.237,3.865\n\tC 415.733,182.591, 415.655,181.303, 415.561,180.018z M 392.222,107.98c-0.807-1.302-1.632-2.594-2.476-3.875\n\tC 390.592,105.386, 391.415,106.678, 392.222,107.98z M 346.479,60c-2.087-1.437-4.204-2.822-6.35-4.153\n\tc 7.441,4.617, 14.539,9.872, 21.225,15.738c-1.39-1.219-2.793-2.418-4.218-3.585L 154.863,68 c 3.453-2.827, 7.011-5.489, 10.657-8L 346.479,60 z\n\t M 165.524,59.998c 1.043-0.719, 2.094-1.424, 3.153-2.117C 167.619,58.574, 166.567,59.279, 165.524,59.998z M 168.681,57.879\n\tc 1.055-0.69, 2.117-1.367, 3.187-2.031C 170.798,56.512, 169.735,57.189, 168.681,57.879z M 171.901,55.828\n\tc 1.062-0.659, 2.13-1.305, 3.206-1.937C 174.032,54.523, 172.963,55.169, 171.901,55.828z M 175.158,53.861\n\tc 6.452-3.791, 13.144-7.115, 20.041-9.947c-0.071,0.029-0.143,0.056-0.213,0.085l 122.029,0 c 6.822,2.812, 13.443,6.11, 19.829,9.862\n\tc-1.078-0.634-2.164-1.255-3.256-1.862L 178.412,51.999 C 177.32,52.607, 176.236,53.228, 175.158,53.861z M 336.892,53.89\n\tc 1.078,0.633, 2.148,1.28, 3.212,1.94C 339.040,55.17, 337.97,54.523, 336.892,53.89z M 366.169,75.97c-1.318-1.253-2.66-2.474-4.014-3.676\n\tC 363.509,73.497, 364.851,74.717, 366.169,75.97z M 313.924,42.764c-0.599-0.232-1.202-0.453-1.804-0.678\n\tC 312.722,42.311, 313.325,42.532, 313.924,42.764z M 310.57,41.51c-0.627-0.227-1.258-0.445-1.888-0.665\n\tC 309.312,41.065, 309.943,41.283, 310.57,41.51z M 307.203,40.337c-0.652-0.219-1.306-0.434-1.961-0.645\n\tC 305.897,39.903, 306.551,40.118, 307.203,40.337z M 303.841,39.249c-0.684-0.213-1.368-0.424-2.056-0.628\n\tC 302.473,38.825, 303.157,39.036, 303.841,39.249z M 300.524,38.256c-0.735-0.212-1.47-0.424-2.208-0.625\n\tC 299.055,37.832, 299.789,38.044, 300.524,38.256z M 297.558,37.431c-1.89-0.504-3.789-0.979-5.7-1.415\n\tC 293.769,36.452, 295.668,36.927, 297.558,37.431z M 291.789,36l-71.578,0 c 11.607-2.639, 23.593-4, 35.789-4\n\tC 268.195,32, 280.182,33.361, 291.789,36z M 198.074,42.765c 0.604-0.234, 1.213-0.457, 1.82-0.684\n\tC 199.287,42.308, 198.678,42.531, 198.074,42.765z M 201.427,41.512c 0.63-0.229, 1.264-0.448, 1.897-0.668\n\tC 202.69,41.063, 202.057,41.284, 201.427,41.512z M 204.793,40.338c 0.655-0.22, 1.311-0.436, 1.969-0.647\n\tC 206.105,39.903, 205.448,40.118, 204.793,40.338z M 208.153,39.251c 0.687-0.214, 1.375-0.426, 2.064-0.631\n\tC 209.528,38.825, 208.84,39.037, 208.153,39.251z M 211.467,38.258c 0.739-0.213, 1.478-0.426, 2.22-0.628\n\tC 212.944,37.832, 212.206,38.045, 211.467,38.258z M 214.418,37.438c 1.907-0.51, 3.825-0.989, 5.753-1.428\n\tC 218.243,36.448, 216.326,36.928, 214.418,37.438z M 149.845,72.294c-1.364,1.212-2.716,2.442-4.045,3.706l 220.401,0 \n\tc 0.988,0.94, 1.968,1.894, 2.937,2.863c 1.681,1.68, 3.312,3.396, 4.908,5.137L 137.955,84 c-2.385,2.602-4.672,5.271-6.866,8l 249.822,0 \n\tc-2.19-2.726-4.476-5.392-6.856-7.99c 5.747,6.27, 10.942,12.92, 15.562,19.896c-0.867-1.314-1.753-2.617-2.663-3.906L 125.046,100 \n\tc-0.907,1.286-1.791,2.585-2.656,3.895c 5.903-8.913, 12.74-17.3, 20.472-25.032C 145.133,76.593, 147.466,74.409, 149.845,72.294z\n\t M 154.861,68.002c-1.423,1.165-2.825,2.364-4.213,3.582C 152.036,70.365, 153.438,69.167, 154.861,68.002z M 122.238,104.13\n\tc-0.841,1.28-1.666,2.57-2.471,3.87l 272.468,0 c 3.202,5.173, 6.104,10.508, 8.68,15.989c-1.269-2.699-2.617-5.362-4.039-7.989l-281.75,0 \n\tC 117.316,111.951, 119.69,107.991, 122.238,104.13z M 97.781,167.99c-0.199,1.326-0.381,2.656-0.547,3.991\n\tC 97.4,170.646, 97.583,169.316, 97.781,167.99z M 97.232,172l 65.103,0 c0-0.001-0.001-0.003-0.001-0.004\n\tc 1.176,2.906, 2.765,5.598, 4.697,8.006c0-0.001-0.001-0.001-0.002-0.002L 96.441,180 c-0.196,2.654-0.327,5.322-0.392,8l 80.458,0 \n\tc-0.003-0.002-0.006-0.004-0.010-0.006C 181.091,190.543, 186.375,192, 192,192l0,4 L 96.049,196 c 0.065,2.678, 0.196,5.346, 0.392,8L 192,204 l0,8 L 97.232,212 \n\tc 0.333,2.683, 0.734,5.35, 1.199,8L 192,220 l0,8 l-91.95,0 C 97.379,216.327, 96,204.27, 96,192C 96,185.26, 96.416,178.584, 97.232,172z\n\t M 161.624,170.063c 0.004,0.013, 0.009,0.025, 0.013,0.039C 161.633,170.089, 161.628,170.076, 161.624,170.063z M 168.032,181.191\n\tC 168.032,181.191, 168.032,181.192, 168.032,181.191C 168.032,181.192, 168.032,181.191, 168.032,181.191z M 169.089,182.33\n\tc 0.001,0.001, 0.003,0.003, 0.004,0.004C 169.092,182.333, 169.091,182.332, 169.089,182.33z M 170.196,183.413\n\tc 0.004,0.004, 0.009,0.008, 0.013,0.012C 170.205,183.421, 170.201,183.417, 170.196,183.413z M 171.348,184.436\n\tc 0.010,0.009, 0.020,0.018, 0.030,0.026C 171.368,184.453, 171.358,184.444, 171.348,184.436z M 172.549,185.403\n\tc 0.016,0.012, 0.032,0.025, 0.048,0.038C 172.581,185.428, 172.565,185.415, 172.549,185.403z M 173.811,186.323\n\tc 0.016,0.011, 0.032,0.023, 0.048,0.034C 173.842,186.346, 173.827,186.334, 173.811,186.323z M 175.126,187.187\n\tc 0.013,0.008, 0.025,0.016, 0.038,0.024C 175.151,187.203, 175.139,187.195, 175.126,187.187z M 192,236l0,8 l-87.389,0 \n\tc-0.905-2.642-1.742-5.309-2.507-8L 192,236 z M 102.101,235.99c-0.371-1.307-0.727-2.618-1.065-3.936\n\tC 101.375,233.371, 101.729,234.683, 102.101,235.99z M 101.022,232.002c-0.339-1.322-0.663-2.65-0.967-3.983\n\tC 100.36,229.352, 100.683,230.68, 101.022,232.002z M 106.059,248.047c 0.494,1.324, 1.005,2.642, 1.535,3.953L 192,252 l0,8 l-80.919,0 \n\tc 1.27,2.703, 2.621,5.369, 4.044,8L 192,268 l0,8 l-72.234,0 c 0.803,1.298, 1.626,2.585, 2.466,3.863\n\tC 115.634,269.861, 110.221,259.198, 106.059,248.047z M 104.612,244.003c 0.457,1.335, 0.933,2.664, 1.425,3.985\n\tC 105.544,246.667, 105.069,245.339, 104.612,244.003z M 192,284l0,8 l-60.912,0 c-3.091-3.847-5.994-7.812-8.696-11.892\n\tc 0.864,1.309, 1.747,2.607, 2.653,3.892L 192,284 z M 131.093,292.006c 2.192,2.728, 4.478,5.395, 6.861,7.994L 192,300 l0,8 l-46.199,0 \n\tc 1.406,1.337, 2.835,2.641, 4.281,3.919c-2.462-2.18-4.874-4.435-7.22-6.78C 138.672,300.948, 134.753,296.56, 131.093,292.006z\n\t M 150.393,312.195c 1.474,1.297, 2.967,2.566, 4.48,3.805L 192,316 l0,8 l-26.484,0 c 3.123,2.149, 6.312,4.182, 9.564,6.095\n\tC 166.369,324.973, 158.106,318.99, 150.393,312.195z M 192,332l0,6.729 c-5.782-2.523-11.413-5.397-16.872-8.604\n\tc 1.087,0.639, 2.181,1.264, 3.281,1.876L 192,332.001 z M 304,448l-96,0 c-8.8,0-16-7.2-16-16s 7.2-16, 16-16l 96,0 c 8.8,0, 16,7.2, 16,16S 312.8,448, 304,448\n\tz M 320,332l 13.589,0 c 1.1-0.611, 2.192-1.236, 3.278-1.874c-5.457,3.206-11.087,6.079-16.867,8.603L 320,332 z M 336.939,330.082\n\tc 3.244-1.909, 6.427-3.938, 9.543-6.082L 320,324 l0-8 l 37.126,0 C 350.725,321.238, 343.979,325.941, 336.939,330.082z M 357.126,316\n\tc 1.514-1.239, 3.008-2.509, 4.482-3.807C 360.135,313.492, 358.64,314.761, 357.126,316z M 361.915,311.921\n\tc 1.439-1.272, 2.862-2.57, 4.262-3.9C 364.777,309.351, 363.354,310.647, 361.915,311.921z M 366.199,308L 320,308 l0-8 l 54.047,0 \n\tc-1.597,1.741-3.229,3.458-4.909,5.139C 368.169,306.107, 367.188,307.060, 366.199,308z M 380.906,292.007\n\tc-2.19,2.726-4.474,5.391-6.854,7.988C 376.433,297.397, 378.716,294.732, 380.906,292.007z M 389.774,279.853\n\tc 0.837-1.272, 1.656-2.555, 2.456-3.847C 391.431,277.298, 390.613,278.581, 389.774,279.853z M 386.961,283.991\n\tc 0.903-1.28, 1.783-2.574, 2.644-3.878C 388.742,281.416, 387.864,282.711, 386.961,283.991z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lamp, idea, tip, light, bulb\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,192C 448,85.961, 362.039,0, 256,0C 149.961,0, 64,85.961, 64,192c0,71.066, 38.613,133.109, 96,166.308L 160,448 l 64,64l 64,0 l 64-64\n\tl0-89.692 C 409.388,325.109, 448,263.066, 448,192z M 304,448l-96,0 c-8.8,0-16-7.2-16-16s 7.2-16, 16-16l 96,0 c 8.8,0, 16,7.2, 16,16\n\tS 312.8,448, 304,448z M 320,338.728L 320,192 c 17.674,0, 32-14.327, 32-32s-14.326-32-32-32s-32,14.327-32,32l0,188.812 \n\tc-10.42,2.104-21.127,3.188-32,3.188c-10.874,0-21.58-1.083-32-3.188L 224,160 c0-17.673-14.327-32-32-32s-32,14.327-32,32\n\ts 14.327,32, 32,32l0,146.728 c-18.103-7.901-34.75-19.203-49.137-33.59C 112.643,274.917, 96,234.738, 96,192\n\tc0-42.737, 16.643-82.917, 46.863-113.137C 173.083,48.643, 213.263,32, 256,32s 82.917,16.643, 113.138,46.863\n\tC 399.357,109.083, 416,149.262, 416,192s-16.643,82.917-46.862,113.138C 354.75,319.524, 338.103,330.826, 320,338.728z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skull, skeleton, death, danger\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 132.288,0, 32,93.125, 32,208c0,70.68, 37.974,143.113, 96,180.701l0,99.747 C 165.655,503.425, 209.37,512, 256,512\n\t\tc 46.631,0, 90.345-8.575, 128-23.552l0-99.747 C 442.026,351.113, 480,278.68, 480,208C 480,93.125, 379.712,0, 256,0z M 366.603,361.844\n\t\tL 352,371.303l0,17.398 l0,77.137 c-10.353,3.219-21.056,5.894-32,8.031L 320,384 l-32,0 l0,94.488 c-10.559,0.998-21.25,1.512-32,1.512\n\t\tc-10.75,0-21.441-0.514-32-1.512L 224,384 l-32,0 l0,89.869 c-10.944-2.138-21.647-4.812-32-8.031l0-77.137 l0-17.398 l-14.603-9.459\n\t\tc-23.808-15.422-44.167-38.263-58.875-66.053C 71.789,267.95, 64,237.593, 64,208c0-46.56, 19.668-90.466, 55.383-123.629\n\t\tc 17.626-16.367, 38.191-29.233, 61.125-38.24C 204.381,36.754, 229.78,32, 256,32s 51.619,4.754, 75.493,14.131\n\t\tc 22.933,9.007, 43.498,21.873, 61.124,38.24C 428.331,117.534, 448,161.44, 448,208c0,29.593-7.788,59.95-22.523,87.791\n\t\tC 410.769,323.581, 390.41,346.422, 366.603,361.844zM 139.864,137.409c-31.363,16.3-35.877,44.583-23.652,68.105s 41.561,35.377, 72.924,19.076\n\t\tc 31.363-16.3, 43.364-43.271, 31.652-74.105C 211.375,125.703, 171.227,121.108, 139.864,137.409zM 373.107,137.409c-31.363-16.301-71.512-11.706-80.925,13.076c-11.712,30.834, 0.289,57.805, 31.651,74.105\n\t\tc 31.363,16.301, 60.699,4.446, 72.925-19.076S 404.47,153.709, 373.107,137.409zM 297.167,294.917c0,13.852,0,25.083-41.279,25.083c-39.733,0-41.279-11.231-41.279-25.083s 18.481-25.083, 41.279-25.083\n\tC 278.686,269.834, 297.167,281.065, 297.167,294.917z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skull, skeleton, death, danger\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 132.288,0, 32,93.125, 32,208c0,70.68, 37.974,143.113, 96,180.701l0,99.747 C 165.655,503.425, 209.37,512, 256,512\n\t\tc 46.631,0, 90.345-8.575, 128-23.552l0-99.747 C 442.026,351.113, 480,278.68, 480,208C 480,93.125, 379.712,0, 256,0z M 366.603,361.844\n\t\tL 352,371.303l0,17.398 l0,77.137 c-10.353,3.219-21.056,5.894-32,8.031L 320,384 l-32,0 l0,94.488 c-10.559,0.998-21.25,1.512-32,1.512\n\t\tc-10.75,0-21.441-0.514-32-1.512L 224,384 l-32,0 l0,89.869 c-10.944-2.138-21.647-4.812-32-8.031l0-77.137 l0-17.398 l-14.603-9.459\n\t\tc-23.808-15.422-44.167-38.263-58.875-66.053C 71.789,267.95, 64,237.593, 64,208c0-46.56, 19.668-90.466, 55.383-123.629\n\t\tc 17.626-16.367, 38.191-29.233, 61.125-38.24C 204.381,36.754, 229.78,32, 256,32s 51.619,4.754, 75.493,14.131\n\t\tc 22.933,9.007, 43.498,21.873, 61.124,38.24C 428.331,117.534, 448,161.44, 448,208c0,29.593-7.788,59.95-22.523,87.791\n\t\tC 410.769,323.581, 390.41,346.422, 366.603,361.844zM 139.864,137.409c-31.363,16.3-35.877,44.583-23.652,68.105s 41.561,35.377, 72.924,19.076\n\t\tc 31.363-16.3, 43.364-43.271, 31.652-74.105C 211.375,125.703, 171.227,121.108, 139.864,137.409zM 373.107,137.409c-31.363-16.301-71.512-11.706-80.925,13.076c-11.712,30.834, 0.289,57.805, 31.651,74.105\n\t\tc 31.363,16.301, 60.699,4.446, 72.925-19.076S 404.47,153.709, 373.107,137.409z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"skull, dangerous, death, skeleton\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,107.452,0,240c0,2.541, 0.047,5.070, 0.131,7.594C 107.971,273.672, 124.405,266.656, 128,375.083\n\t\tc 20.494,4.957, 105.853,12.714, 128,12.714c 22.146,0, 107.505-7.757, 128-12.714c 3.595-108.427, 20.027-101.411, 127.866-127.489\n\t\tC 511.95,245.073, 512,242.541, 512,240C 512,107.452, 397.385,0, 256,0z M 208,181.333C 208,204.8, 188.8,224, 165.332,224l-26.666,0 \n\t\tC 115.199,224, 96,204.8, 96,181.333l0-10.666 C 96,147.2, 115.199,128, 138.666,128l 26.666,0 C 188.8,128, 208,147.2, 208,170.667L 208,181.333 z\n\t\t M 276,328l-40,0 c-11,0-17.817-8.73-15.149-19.402l 10.299-41.193C 233.817,256.73, 245,248, 256,248s 22.183,8.73, 24.85,19.402\n\t\tl 10.3,41.193C 293.818,319.27, 287,328, 276,328z M 416,181.333C 416,204.8, 396.8,224, 373.331,224l-26.665,0 \n\t\tC 323.198,224, 304,204.8, 304,181.333l0-10.666 C 304,147.2, 323.198,128, 346.665,128l 26.666,0 C 396.8,128, 416,147.2, 416,170.667L 416,181.333 zM 224,427.020L 224,480 l 64,0 l0-52.98 c-13.891,1.045-25.595,1.694-32,1.694C 249.592,428.714, 237.889,428.063, 224,427.020zM 320,480l 64-12.947L 384,416 c-10.327,2.497-37.122,5.705-64,8.274L 320,480 zM 128,467.053L 192,480l0-55.726 c-26.879-2.569-53.674-5.777-64-8.274L 128,467.053 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dumbbell, fitness, gym, exercise\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 72,128L 56,128 c-4.4,0-8,3.6-8,8l0,240 c0,4.4, 3.6,8, 8,8l 16,0 c 4.4,0, 8-3.6, 8-8L 80,136 C 80,131.6, 76.4,128, 72,128zM 24,192L 8,192 c-4.4,0-8,2.4-8,5.333l0,117.333 C0,317.601, 3.6,320, 8,320l 16,0 c 4.4,0, 8-2.399, 8-5.333L 32,197.333 \n\t\tC 32,194.4, 28.4,192, 24,192zM 400,96l-32,0 c-8.8,0-16,7.2-16,16l0,112 L 160,224 L 160,112 c0-8.8-7.2-16-16-16l-32,0 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 32,0 \n\t\tc 8.8,0, 16-7.2, 16-16L 160,288 l 192,0 l0,112 c0,8.8, 7.2,16, 16,16l 32,0 c 8.8,0, 16-7.2, 16-16L 416,112 C 416,103.2, 408.8,96, 400,96zM 456,128l-16,0 c-4.4,0-8,3.6-8,8l0,240 c0,4.4, 3.6,8, 8,8l 16,0 c 4.4,0, 8-3.6, 8-8L 464,136 C 464,131.6, 460.4,128, 456,128zM 504,192l-16,0 c-4.4,0-8,2.4-8,5.333l0,117.333 c0,2.934, 3.6,5.333, 8,5.333l 16,0 c 4.4,0, 8-2.399, 8-5.333L 512,197.333 \n\t\tC 512,194.4, 508.4,192, 504,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.751,13.271L 427.454,0L 304,0 l 3.301,18.771c 11.173,63.55, 37.161,218.268, 37.161,282.229c0,49.075-39.684,89-88.462,89\n\tc-48.778,0-88.461-39.925-88.461-89c0-63.963, 25.988-218.68, 37.162-282.229L 208,0L 84.546,0 l-2.297,13.271\n\tC 68.711,91.482, 46,232.864, 46,301c0,116.346, 94.206,211, 210,211c 115.794,0, 210-94.654, 210-211\n\tC 466,232.867, 443.289,91.484, 429.751,13.271z M 434,301c0,2.346-0.060,4.677-0.148,7l-57.597,0 c 0.133-2.317, 0.207-4.65, 0.207-7\n\tc0-0.326-0.006-0.67-0.007-1l 57.539,0 C 433.995,300.33, 434,300.674, 434,301z M 191.935,468c-6.042-2.353-11.927-5.023-17.631-8l 163.393,0 \n\tc-5.704,2.977-11.589,5.647-17.631,8L 191.935,468 z M 293.454,476c-12.081,2.612-24.608,4-37.454,4s-25.373-1.388-37.454-4L 293.454,476 z\n\t M 160.51,452c-3.924-2.519-7.744-5.188-11.451-8l 213.883,0 c-3.708,2.812-7.526,5.481-11.451,8L 160.51,452 z M 139.243,436\n\tc-2.938-2.572-5.789-5.242-8.553-8l 250.621,0 c-2.765,2.758-5.616,5.428-8.554,8L 139.243,436 z M 78,301c0-0.326, 0.005-0.67, 0.006-1l 57.539,0 \n\tc-0.001,0.33-0.007,0.674-0.007,1c0,2.35, 0.074,4.683, 0.207,7L 78.149,308 C 78.060,305.677, 78,303.346, 78,301z M 154.256,128\n\tc-0.203,1.332-0.404,2.666-0.606,4L 95.489,132 c 0.198-1.334, 0.395-2.669, 0.594-4L 154.256,128 z M 152.447,140c-0.397,2.666-0.791,5.333-1.182,8\n\tL 93.156,148 c 0.382-2.668, 0.767-5.335, 1.156-8L 152.447,140 z M 150.102,156c-0.385,2.67-0.767,5.338-1.144,8L 90.902,164 \n\tc 0.368-2.664, 0.741-5.331, 1.117-8L 150.102,156 z M 147.836,172c-0.371,2.676-0.736,5.341-1.097,8L 88.741,180 c 0.351-2.66, 0.707-5.326, 1.069-8\n\tL 147.836,172 z M 145.665,188c-0.355,2.679-0.705,5.348-1.047,8L 86.682,196 c 0.333-2.655, 0.67-5.321, 1.015-8L 145.665,188 z M 143.603,204\n\tc-0.336,2.685-0.666,5.354-0.986,8L 84.743,212 c 0.309-2.647, 0.629-5.318, 0.955-8L 143.603,204 z M 141.667,220c-0.313,2.693-0.617,5.358-0.911,8\n\tL 82.949,228 c 0.283-2.642, 0.576-5.311, 0.878-8L 141.667,220 z M 139.886,236c-0.286,2.704-0.557,5.365-0.818,8L 81.329,244 \n\tc 0.25-2.635, 0.512-5.301, 0.786-8L 139.886,236 z M 138.299,252c-0.25,2.716-0.482,5.377-0.701,8L 79.929,260 c 0.208-2.623, 0.431-5.291, 0.668-8\n\tL 138.299,252 z M 136.968,268c-0.201,2.727-0.386,5.4-0.546,8L 78.82,276 c 0.151-2.604, 0.324-5.278, 0.514-8L 136.968,268 z M 135.986,284\n\tc-0.13,2.76-0.232,5.427-0.306,8L 78.129,292 c 0.068-2.583, 0.162-5.248, 0.282-8L 135.986,284 z M 136.464,316c 0.333,2.695, 0.76,5.362, 1.267,8\n\tL 79.465,324 c-0.339-2.648-0.612-5.317-0.835-8L 136.464,316 z M 139.553,332c 0.714,2.704, 1.515,5.373, 2.408,8L 82.268,340 \n\tc-0.587-2.646-1.12-5.312-1.589-8L 139.553,332 z M 144.998,348c 1.146,2.719, 2.387,5.387, 3.72,8l-62.11,0 c-0.85-2.641-1.64-5.308-2.369-8\n\tL 144.998,348 z M 153.192,364c 1.671,2.741, 3.451,5.408, 5.328,8L 92.617,372 c-1.137-2.635-2.211-5.302-3.224-8L 153.192,364 z M 164.83,380\n\tc 2.392,2.781, 4.91,5.448, 7.541,8l-71.882,0 c-1.459-2.627-2.854-5.294-4.184-8L 164.83,380 z M 181.477,396c 3.63,2.879, 7.43,5.549, 11.378,8\n\tl-82.352,0 c-1.836-2.615-3.6-5.284-5.297-8L 181.477,396 z M 208.074,412c 8.256,3.61, 16.989,6.32, 26.077,8L 123.155,420 \n\tc-2.307-2.602-4.543-5.267-6.697-8L 208.074,412 z M 277.849,420c 9.089-1.68, 17.821-4.39, 26.077-8l 91.616,0 c-2.154,2.733-4.391,5.398-6.697,8\n\tL 277.849,420 z M 319.146,404c 3.948-2.451, 7.749-5.121, 11.378-8l 76.271,0 c-1.697,2.716-3.461,5.385-5.297,8L 319.146,404 z M 339.631,388\n\tc 2.63-2.552, 5.148-5.219, 7.54-8l 68.524,0 c-1.329,2.706-2.725,5.373-4.184,8L 339.631,388 z M 353.48,372c 1.876-2.592, 3.656-5.259, 5.327-8\n\tl 63.799,0 c-1.012,2.698-2.087,5.365-3.224,8L 353.48,372 z M 376.015,284l 57.574,0 c 0.121,2.752, 0.214,5.417, 0.282,8L 376.32,292 \n\tC 376.247,289.426, 376.146,286.76, 376.015,284z M 375.579,276c-0.161-2.6-0.346-5.273-0.546-8l 57.633,0 c 0.189,2.722, 0.363,5.396, 0.514,8\n\tL 375.579,276 z M 374.402,260c-0.22-2.623-0.451-5.284-0.701-8l 57.701,0 c 0.237,2.709, 0.461,5.377, 0.669,8L 374.402,260 z M 372.933,244\n\tc-0.262-2.635-0.532-5.296-0.818-8l 57.771,0 c 0.273,2.699, 0.536,5.365, 0.786,8L 372.933,244 z M 371.244,228c-0.294-2.642-0.598-5.307-0.911-8\n\tl 57.839,0 c 0.303,2.689, 0.596,5.358, 0.879,8L 371.244,228 z M 369.384,212c-0.32-2.646-0.65-5.315-0.986-8l 57.905,0 \n\tc 0.325,2.682, 0.646,5.353, 0.955,8L 369.384,212 z M 367.382,196c-0.342-2.652-0.691-5.321-1.047-8l 57.968,0 c 0.346,2.679, 0.683,5.345, 1.015,8\n\tL 367.382,196 z M 365.262,180c-0.361-2.659-0.727-5.324-1.098-8l 58.026,0 c 0.361,2.674, 0.717,5.34, 1.068,8L 365.262,180 z M 363.043,164\n\tc-0.377-2.662-0.76-5.33-1.145-8l 58.082,0 c 0.376,2.669, 0.749,5.336, 1.117,8L 363.043,164 z M 360.735,148c-0.392-2.667-0.785-5.334-1.183-8\n\tl 58.135,0 c 0.389,2.665, 0.773,5.332, 1.156,8L 360.735,148 z M 358.351,132c-0.202-1.334-0.403-2.668-0.606-4l 58.173,0 \n\tc 0.198,1.331, 0.396,2.666, 0.594,4L 358.351,132 z M 363.283,356c 1.333-2.613, 2.574-5.281, 3.719-8l 60.76,0 c-0.729,2.692-1.52,5.359-2.369,8\n\tL 363.283,356 z M 370.040,340c 0.893-2.627, 1.694-5.296, 2.408-8l 58.873,0 c-0.469,2.688-1.002,5.354-1.589,8L 370.040,340 z M 374.27,324\n\tc 0.508-2.638, 0.934-5.305, 1.268-8l 57.832,0 c-0.222,2.683-0.495,5.352-0.834,8L 374.27,324 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.751,13.271L 427.454,0L 304,0 l 3.301,18.771c 11.173,63.55, 37.161,218.268, 37.161,282.229c0,49.075-39.684,89-88.462,89\n\tc-48.778,0-88.461-39.925-88.461-89c0-63.963, 25.988-218.68, 37.162-282.229L 208,0L 84.546,0 l-2.297,13.271\n\tC 68.711,91.482, 46,232.864, 46,301c0,116.346, 94.206,211, 210,211c 115.794,0, 210-94.654, 210-211\n\tC 466,232.867, 443.289,91.484, 429.751,13.271z M 342.086,32L 400.5,32 c 4.718,27.656, 10.235,61.294, 15.417,96l-58.173,0 \n\tC 352.52,93.702, 346.945,60.168, 342.086,32z M 169.914,32c-4.859,28.168-10.433,61.702-15.658,96L 96.083,128 \n\tc 5.181-34.706, 10.699-68.344, 15.417-96L 169.914,32 z M 256,480c-98.149,0-178-80.299-178-179c0-33.735, 5.904-86.849, 13.457-141l 58.069,0 \n\tc-7.865,55.027-13.988,108.347-13.988,141c0,66.72, 54.039,121, 120.461,121c 66.423,0, 120.462-54.28, 120.462-121\n\tc0-32.652-6.123-85.973-13.988-141l 58.069,0 C 428.096,214.152, 434,267.266, 434,301C 434,399.701, 354.149,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.751,13.271L 427.454,0L 304,0 l 3.301,18.771c 11.173,63.55, 37.161,218.268, 37.161,282.229c0,49.075-39.684,89-88.462,89\n\tc-48.778,0-88.461-39.925-88.461-89c0-63.963, 25.988-218.68, 37.162-282.229L 208,0L 84.546,0 l-2.297,13.271\n\tC 68.711,91.482, 46,232.864, 46,301c0,116.346, 94.206,211, 210,211c 115.794,0, 210-94.654, 210-211\n\tC 466,232.867, 443.289,91.484, 429.751,13.271z M 256,480c-98.149,0-178-80.299-178-179c0-40.386, 8.46-108.538, 18.083-173l 58.173,0 \n\tc-9.997,65.617-18.717,134.028-18.717,173c0,66.72, 54.039,121, 120.461,121c 66.423,0, 120.462-54.28, 120.462-121\n\tc0-38.971-8.721-107.382-18.718-173l 58.173,0 C 425.54,192.463, 434,260.616, 434,301C 434,399.701, 354.149,480, 256,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"magnet, attract\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 512,0L 512,128L 384,128zM 384,160l0,96 c0,70.692-57.308,128-128,128s-128-57.308-128-128l0-96 L0,160 l0,96 c0,141.385, 114.615,256, 256,256s 256-114.615, 256-256\n\t\tl0-96 L 384,160 zM0,0L 128,0L 128,128L0,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"atom, nuclear\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 415.962,103.352L 415.962,103.352L 415.962,103.352z M 417.025,256c 52.192-49.905, 77.541-98.79, 60.677-128\n\tc-9.63-16.678-31.68-24.648-61.74-24.648l0,24 c 21.072,0, 36.383,4.729, 40.956,12.648c 3.609,6.252, 1.6,15.865-0.723,22.829\n\tc-4.453,13.355-14.144,29.332-28.021,46.202c-8.424,10.239-18.135,20.561-28.937,30.821c-14.882-12.849-31.438-25.629-49.398-38.029\n\tc-1.757-21.74-4.545-42.458-8.229-61.759c 28.095-8.333, 53.593-12.709, 74.341-12.711l 0.011-24c-0.004,0-0.009,0-0.013,0\n\tc-22.587,0.002-49.698,4.516-79.437,13.202C 319.392,46.396, 289.729,0, 256,0c-33.729,0-63.392,46.396-80.514,116.551\n\tc-29.737-8.686-56.849-13.199-79.436-13.199c-30.060,0-52.124,7.971-61.753,24.648c-16.865,29.21, 8.483,78.095, 60.676,128\n\tc-52.193,49.904-77.541,98.79-60.676,128c 9.63,16.68, 31.685,24.647, 61.753,24.647c 22.586,0, 49.698-4.515, 79.436-13.2\n\tC 192.608,465.604, 222.27,512, 256,512c 33.729,0, 63.392-46.396, 80.514-116.551c 29.737,8.687, 56.85,13.199, 79.437,13.199\n\tc 30.060,0, 52.124-7.972, 61.753-24.648C 494.566,354.791, 469.219,305.904, 417.025,256z M 381.271,256\n\tc-9.31,7.938-19.227,15.792-29.679,23.494C 351.857,271.756, 352,263.923, 352,256c0-7.922-0.143-15.755-0.406-23.494\n\tC 362.046,240.208, 371.963,248.062, 381.271,256z M 318.646,364.434c-11.527-4.098-23.281-8.76-35.135-13.934\n\tc 6.813-3.631, 13.647-7.412, 20.487-11.361c 6.861-3.961, 13.573-8, 20.144-12.099C 322.701,339.923, 320.861,352.42, 318.646,364.434z\n\t M 292,318.354c-11.891,6.864-23.938,13.315-36,19.308c-12.062-5.991-24.11-12.442-36-19.308\n\tc-11.988-6.922-23.596-14.113-34.749-21.506C 184.426,283.492, 184,269.843, 184,256s 0.426-27.492, 1.251-40.847\n\tc 11.153-7.393, 22.761-14.585, 34.749-21.507c 11.89-6.864, 23.938-13.315, 36-19.307c 12.062,5.991, 24.109,12.442, 36,19.307\n\tc 11.988,6.921, 23.596,14.115, 34.749,21.507C 327.574,228.508, 328,242.157, 328,256s-0.426,27.492-1.251,40.848\n\tC 315.596,304.24, 303.988,311.434, 292,318.354z M 187.856,327.040c 6.57,4.099, 13.282,8.138, 20.144,12.099\n\tc 6.84,3.949, 13.673,7.73, 20.487,11.361c-11.852,5.174-23.607,9.835-35.133,13.932C 191.139,352.419, 189.298,339.922, 187.856,327.040z\n\t M 160.406,279.495c-10.452-7.703-20.37-15.558-29.679-23.495c 9.309-7.938, 19.227-15.792, 29.679-23.495\n\tC 160.142,240.245, 160,248.077, 160,256S 160.142,271.756, 160.406,279.495z M 193.354,147.568c 11.526,4.097, 23.281,8.759, 35.133,13.932\n\tc-6.813,3.631-13.647,7.412-20.487,11.361c-6.861,3.961-13.573,8.001-20.144,12.099\n\tC 189.298,172.078, 191.139,159.581, 193.354,147.568z M 304,172.861c-6.84-3.949-13.673-7.73-20.486-11.361\n\tc 11.853-5.173, 23.606-9.834, 35.134-13.931c 2.215,12.012, 4.055,24.508, 5.496,37.391C 317.573,180.862, 310.861,176.823, 304,172.861z\n\t M 210.59,83.408c 7.67-20.454, 16.661-36.834, 26.001-47.368C 241.46,30.547, 248.78,24, 256,24c 7.221,0, 14.539,6.547, 19.409,12.040\n\tc 9.34,10.534, 18.329,26.914, 26.001,47.368c 4.656,12.417, 8.739,25.989, 12.225,40.476c-18.568,6.463-37.916,14.412-57.634,23.766\n\tc-19.719-9.355-39.066-17.304-57.635-23.768C 201.851,109.396, 205.934,95.824, 210.59,83.408z M 83.825,209.031\n\tc-13.878-16.87-23.568-32.846-28.021-46.202c-2.322-6.963-4.332-16.577-0.722-22.829c 4.572-7.919, 19.888-12.647, 40.969-12.648l 0.002,0 \n\tc 20.746,0, 46.243,4.376, 74.337,12.709c-3.684,19.302-6.471,40.020-8.228,61.761c-17.96,12.399-34.518,25.18-49.4,38.029\n\tC 101.96,229.591, 92.249,219.27, 83.825,209.031z M 96.050,384.646c-21.081,0-36.396-4.728-40.968-12.646\n\tc-3.61-6.252-1.6-15.865, 0.722-22.829c 4.453-13.354, 14.143-29.331, 28.021-46.2c 8.424-10.24, 18.135-20.562, 28.937-30.822\n\tc 14.881,12.851, 31.439,25.631, 49.399,38.029c 1.757,21.741, 4.544,42.458, 8.228,61.762C 142.294,380.271, 116.797,384.646, 96.050,384.646\n\tz M 301.41,428.592c-7.671,20.455-16.661,36.834-26.001,47.369C 270.539,481.453, 263.221,488, 256,488\n\tc-7.22,0-14.54-6.547-19.409-12.039c-9.34-10.535-18.331-26.914-26.001-47.368c-4.656-12.417-8.739-25.989-12.225-40.476\n\tc 18.569-6.465, 37.916-14.412, 57.634-23.768c 19.72,9.355, 39.065,17.305, 57.635,23.769\n\tC 310.148,402.604, 306.066,416.176, 301.41,428.592z M 456.195,349.172c 2.321,6.963, 4.332,16.576, 0.723,22.828\n\tc-4.573,7.92-19.889,12.648-40.969,12.648c-20.748,0-46.245-4.377-74.339-12.709c 3.684-19.303, 6.472-40.021, 8.229-61.762\n\tc 17.96-12.4, 34.518-25.181, 49.398-38.029c 10.802,10.261, 20.513,20.582, 28.937,30.82C 442.053,319.84, 451.742,335.816, 456.195,349.172\n\tzM 216,256A40,40 4680 1 1 296,256A40,40 4680 1 1 216,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"atom, science\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 415.962,103.352L 415.962,103.352L 415.962,103.352 \tzM 417.025,256c 52.193-49.905, 77.541-98.79, 60.677-128c-9.63-16.678-31.68-24.648-61.74-24.648l0,24 \n\t\tc 21.072,0, 36.383,4.729, 40.956,12.648c 3.609,6.252, 1.6,15.865-0.723,22.829c-4.453,13.355-14.143,29.332-28.021,46.202\n\t\tc-8.424,10.239-18.135,20.561-28.937,30.821c-14.882-12.849-31.438-25.629-49.398-38.029c-1.757-21.74-4.545-42.458-8.229-61.759\n\t\tc 28.095-8.333, 53.593-12.709, 74.341-12.711l 0.011-24c-0.004,0-0.009,0-0.013,0c-22.587,0.002-49.698,4.516-79.436,13.202\n\t\tC 319.392,46.396, 289.729,0, 256,0s-63.392,46.396-80.514,116.551c-29.737-8.686-56.849-13.199-79.436-13.199\n\t\tc-30.060,0-52.124,7.971-61.753,24.648c-16.865,29.21, 8.483,78.095, 60.676,128c-52.193,49.905-77.541,98.79-60.676,128\n\t\tc 9.63,16.68, 31.685,24.647, 61.753,24.647c 22.586,0, 49.698-4.514, 79.436-13.2C 192.608,465.604, 222.27,512, 256,512\n\t\tc 33.729,0, 63.392-46.396, 80.514-116.551c 29.737,8.687, 56.849,13.199, 79.436,13.199c 30.060,0, 52.124-7.971, 61.753-24.648\n\t\tC 494.566,354.791, 469.219,305.905, 417.025,256z M 381.271,256c-9.309,7.938-19.226,15.792-29.678,23.494\n\t\tC 351.857,271.756, 352,263.923, 352,256c0-7.922-0.143-15.755-0.406-23.494C 362.046,240.208, 371.963,248.062, 381.271,256z\n\t\t M 318.646,364.433c-11.527-4.097-23.281-8.759-35.134-13.933c 6.813-3.631, 13.647-7.412, 20.487-11.361\n\t\tc 6.861-3.961, 13.573-8.001, 20.144-12.099C 322.701,339.923, 320.861,352.42, 318.646,364.433z M 292,318.354\n\t\tc-11.89,6.864-23.938,13.315-36,19.307c-12.062-5.991-24.11-12.442-36-19.307c-11.988-6.922-23.596-14.114-34.749-21.507\n\t\tC 184.426,283.492, 184,269.843, 184,256c0-13.843, 0.426-27.492, 1.251-40.847c 11.153-7.393, 22.761-14.585, 34.749-21.507\n\t\tc 11.89-6.864, 23.938-13.315, 36-19.307c 12.062,5.991, 24.11,12.442, 36,19.307c 11.988,6.921, 23.596,14.115, 34.749,21.507\n\t\tC 327.574,228.508, 328,242.157, 328,256s-0.426,27.492-1.251,40.848C 315.596,304.24, 303.988,311.433, 292,318.354z M 187.856,327.040\n\t\tc 6.57,4.098, 13.282,8.138, 20.144,12.099c 6.84,3.949, 13.673,7.73, 20.487,11.361c-11.852,5.174-23.607,9.835-35.133,13.932\n\t\tC 191.139,352.419, 189.298,339.922, 187.856,327.040z M 160.406,279.495c-10.452-7.703-20.37-15.558-29.679-23.495\n\t\tc 9.309-7.938, 19.227-15.792, 29.679-23.495C 160.142,240.245, 160,248.077, 160,256S 160.142,271.756, 160.406,279.495z M 193.354,147.568\n\t\tc 11.526,4.097, 23.281,8.759, 35.133,13.932c-6.813,3.631-13.647,7.412-20.487,11.361c-6.861,3.961-13.573,8.001-20.144,12.099\n\t\tC 189.298,172.078, 191.139,159.581, 193.354,147.568z M 304,172.861c-6.84-3.949-13.673-7.73-20.486-11.361\n\t\tc 11.852-5.173, 23.606-9.834, 35.133-13.931c 2.215,12.012, 4.055,24.508, 5.497,37.391C 317.573,180.862, 310.861,176.823, 304,172.861z\n\t\t M 210.59,83.408c 7.67-20.454, 16.661-36.834, 26.001-47.368C 241.46,30.547, 248.78,24, 256,24s 14.539,6.547, 19.409,12.040\n\t\tc 9.34,10.534, 18.33,26.914, 26.001,47.368c 4.656,12.417, 8.739,25.989, 12.225,40.476c-18.569,6.463-37.916,14.412-57.634,23.766\n\t\tc-19.719-9.355-39.066-17.304-57.635-23.768C 201.851,109.396, 205.934,95.824, 210.59,83.408z M 83.825,209.031\n\t\tc-13.878-16.87-23.568-32.846-28.021-46.202c-2.322-6.963-4.332-16.577-0.722-22.829c 4.572-7.919, 19.888-12.647, 40.969-12.648\n\t\tl 0.002,0 c 20.746,0, 46.243,4.376, 74.337,12.709c-3.684,19.302-6.471,40.020-8.228,61.761c-17.96,12.399-34.518,25.18-49.4,38.029\n\t\tC 101.96,229.591, 92.249,219.27, 83.825,209.031z M 96.050,384.647c-21.081,0-36.396-4.728-40.968-12.647\n\t\tc-3.61-6.252-1.6-15.865, 0.722-22.829c 4.453-13.355, 14.143-29.331, 28.021-46.201c 8.424-10.239, 18.135-20.561, 28.937-30.821\n\t\tc 14.881,12.85, 31.439,25.63, 49.399,38.029c 1.757,21.741, 4.544,42.458, 8.228,61.761C 142.294,380.271, 116.797,384.647, 96.050,384.647z\n\t\t M 301.41,428.592c-7.671,20.455-16.661,36.834-26.001,47.369C 270.539,481.453, 263.22,488, 256,488s-14.54-6.547-19.409-12.039\n\t\tc-9.34-10.535-18.331-26.914-26.001-47.368c-4.656-12.417-8.739-25.989-12.225-40.476c 18.569-6.464, 37.916-14.412, 57.634-23.767\n\t\tc 19.72,9.355, 39.066,17.305, 57.635,23.768C 310.148,402.604, 306.066,416.176, 301.41,428.592z M 456.195,349.172\n\t\tc 2.322,6.963, 4.332,16.576, 0.723,22.828c-4.573,7.92-19.889,12.648-40.969,12.648c-20.748,0-46.245-4.376-74.339-12.709\n\t\tc 3.684-19.303, 6.472-40.021, 8.229-61.762c 17.96-12.399, 34.517-25.18, 49.398-38.028c 10.802,10.26, 20.513,20.581, 28.937,30.82\n\t\tC 442.053,319.84, 451.742,335.816, 456.195,349.172z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lab, beta, test, experiment\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 478.145,402.241L 320,138.729L 320,32 l 16,0 c 8.8,0, 16-7.2, 16-16s-7.2-16-16-16L 176,0 c-8.8,0-16,7.2-16,16s 7.2,16, 16,16l 16,0 l0,106.729 \n\tL 33.856,402.241C-2.365,462.608, 25.6,512, 96,512l 320,0 C 486.4,512, 514.365,462.608, 478.145,402.241z M 120.519,320L 224,147.531L 224,32 l 64,0 \n\tl0,115.531 L 391.482,320L 120.519,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fire, flame, hot, popular\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160.504,512 C 126.381,440.996 144.553,400.311 170.779,361.978 C 199.499,320 206.901,278.445 206.901,278.445 C 206.901,278.445 229.478,307.795 220.447,353.699 C 260.333,309.299 267.859,238.559 261.838,211.467 C 351.995,274.473 390.526,410.895 338.599,512 C 614.785,355.734 407.298,121.914 371.176,95.575 C 383.217,121.913 385.5,166.5 361.176,188.138 C 320,32 218.19,0 218.19,0 C 230.231,80.522 174.542,168.572 120.842,234.365 C 118.955,202.257 116.951,180.101 100.067,149.375 C 96.277,207.703 51.701,255.249 39.63,313.689 C 23.279,392.832 51.878,450.779 160.504,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fire, flame, hot, popular\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 296.146,512c 49.775-35.92, 81.064-82.854, 84.13-141.004c-15.867,31.84-48.576,41.795-48.576,41.795\n\tc 17.523-45.572-5.688-121.602-86.047-152.889c 22.758,49.777, 6.575,80.855,0,91.73c-18.491-40.533-54.67-54.252-54.67-54.252\n\ts 35.471,146.695-49.155,79.137C 134.716,444.076, 229.545,512, 229.545,512c-56.091,0-217.339-25.322-192.802-225.137\n\tc 40.374,43.432, 66.602,45.572, 66.602,45.572c 14.024-59.596, 13.769-117.822-21.033-143.725c 39.608-8.463, 77.123,14.022, 87.64,45.571\n\tc 28.045-31.551, 16.68-113.053-18.167-140.073c 40.535,2.13, 69.060,34.021, 77.762,55.94c 24.441-39.584, 31.043-89.361,0-150.149\n\tc 73,52.968, 77.265,104.166, 84.13,171.183c 50.887-56.343, 92.888-52.766, 93.402-52.795c-47.646,57.6-39.822,140.802-19.91,172.8\n\tc 54.759-20.623, 71.11-58.31, 71.11-58.31S 560.686,512, 296.146,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bomb, explosive, destroy, detonate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32 L 512,45.254 L 493.255,64 L 512,82.746 L 512,96 L 480,96 L 480,128 L 466.745,128 L 448,109.255 L 429.254,128 L 415.999,128 L 415.999,96 L 383.999,96 L 383.999,95.624 C 377.494,95.395 371.286,94.093 365.348,91.671 C 350.538,85.631 340.384,74.143 330.566,63.034 C 320.893,52.090 311.756,41.753 298.94,37.481 C 282.77,32.090 260.329,27.943 245.27,38.797 C 238.147,43.931 232.748,52.448 229.169,64 L 232,64 C 245.2,64 256,74.8 256,88 L 256,101.577 C 347.732,123.247 416,205.647 416,304 C 416,418.875 322.875,512 208,512 C 93.125,512 0,418.875 0,304 C 0,205.647 68.268,123.247 160,101.577 L 160,88 C 160,74.8 170.8,64 184,64 L 196.080,64 C 201.292,40.842 211.481,23.706 226.56,12.837 C 247.174-2.022 275.704-3.996 309.060,7.123 C 330.037,14.115 343.057,28.846 354.543,41.842 C 369.721,59.016 378.284,68.705 399.795,61.050 L 384,45.254 L 384,32 L 416,32 L 416,0 L 429.255,0 L 448,18.745 L 466.745,0 L 480,0 L 480,32 L 512,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"balance, justice, legal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 28.302,224L 80,141.283L 131.698,224L 160,224L 80,96L0,224 \tzM 128,320L 160,288L 160,256L0,256L0,288L 32,320 \tzM 348.302,224L 400,141.283L 451.698,224L 480,224L 400,96L 320,224 \tzM 320,288L 352,320L 448,320L 480,288L 480,256L 320,256 \tzM 256,416L 256,125.258 c 13.635-4.821, 24.438-15.623, 29.258-29.258L 400,96 l 16,0 L 416,64 L 285.258,64 C 278.667,45.359, 260.899,32, 240,32\n\t\tc-20.898,0-38.667,13.359-45.258,32L 64,64 l0,32 l 16,0 l 114.742,0 c 4.821,13.635, 15.623,24.437, 29.258,29.258L 224,416 L 64,416 l-32,64l 416,0 l-32-64L 256,416 z\n\t\t M 216.8,80c0-12.813, 10.387-23.2, 23.2-23.2c 12.813,0, 23.2,10.387, 23.2,23.2c0,12.813-10.388,23.2-23.2,23.2\n\t\tC 227.187,103.2, 216.8,92.813, 216.8,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hammer, rules, justice, legal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 505.087,457.875L 230.77,208.146l 12.767-12.799c 10.447-10.477, 16.094-24.015, 16.959-37.805\n\tc 0.501-0.225, 1.001-0.456, 1.479-0.721l 51.495-32.201c 6.967-8.196, 6.458-21.134-1.142-28.751L 222.768,6.065\n\tc-7.595-7.617-20.499-8.131-28.672-1.142l-32.118,51.634c-0.263,0.483-0.495,0.983-0.72,1.487\n\tc-13.751,0.868-27.25,6.528-37.699,17.003l-48.714,48.851c-10.449,10.478-16.092,24.013-16.959,37.802\n\tc-0.502,0.225-1.002,0.458-1.482,0.723L 4.911,194.626c-6.971,8.195-6.458,21.132, 1.138,28.748l 89.56,89.802\n\tc 7.597,7.619, 20.498,8.131, 28.675,1.143l 32.114-51.635c 0.264-0.479, 0.494-0.98, 0.721-1.483c 13.751-0.869, 27.252-6.525, 37.699-17.002\n\tl 14.146-14.186l 249.061,275.057c 7.218,7.972, 18.35,9.259, 24.737,2.856l 25.178-25.244\n\tC 514.322,476.278, 513.038,465.116, 505.087,457.875z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dashboard, control panel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448zM 224,128A32,32 10800 1 1 288,128A32,32 10800 1 1 224,128zM 320,160A32,32 10800 1 1 384,160A32,32 10800 1 1 320,160zM 128,160A32,32 10800 1 1 192,160A32,32 10800 1 1 128,160zM 224,352L 224,384L 288,384L 288,352L 256,192 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter-fast, speed, performance, fast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384l 96,0 c0-141.386-114.615-256-256-256S0,242.614,0,384l 32,0 c0-106.039, 85.961-192, 192-192\n\tc 56.409,0, 107.136,24.326, 142.263,63.061l-100.217,80.174c-3.245-0.665-6.604-1.016-10.046-1.016\n\tc-27.493,0-49.78,22.289-49.78,49.781s 22.287,49.779, 49.78,49.779c 27.492,0, 49.778-22.287, 49.778-49.779\n\tc0-3.44-0.349-6.802-1.014-10.047l 78.166-97.707C 403.803,306.969, 416,344.059, 416,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter-medium, speed, performance, medium\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128C 114.615,128,0,242.614,0,384l 32,0 c0-106.039, 85.961-192, 192-192c 7.167,0, 14.241,0.396, 21.205,1.16l-16.586,149.264\n\tc-13.494,8.904-22.399,24.199-22.399,41.576c0,27.492, 22.288,49.779, 49.78,49.779S 305.78,411.492, 305.78,384\n\tc0-17.377-8.904-32.672-22.398-41.576l-16.172-145.542C 352.44,216.483, 416,292.818, 416,384l 96,0 C 512,242.614, 397.385,128, 256,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter-slow, speed, performance, slow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128C 114.615,128,0,242.614,0,384l 32,0 c0-58.209, 25.903-110.363, 66.811-145.574l 108.423,135.527\n\tc-0.665,3.245-1.014,6.604-1.014,10.047c0,27.492, 22.287,49.779, 49.779,49.779c 27.493,0, 49.779-22.287, 49.779-49.779\n\ts-22.286-49.781-49.779-49.781c-3.441,0-6.802,0.351-10.046,1.016L 111.979,228.053c 31.528-22.688, 70.213-36.054, 112.021-36.054\n\tc 106.038,0, 192,85.96, 192,191.999l 96,0 C 512,242.614, 397.385,128, 256,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter2\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 151.418,417.076\n\t\tC 156.971,401.76, 160,385.232, 160,368c0-62.175-39.405-115.146-94.604-135.303c 5.105-42.462, 24.127-81.749, 54.839-112.462\n\t\tC 156.5,83.972, 204.715,64, 256,64s 99.5,19.972, 135.765,56.235c 30.714,30.713, 49.734,70, 54.841,112.462\n\t\tC 391.405,252.854, 352,305.825, 352,368c0,17.234, 3.030,33.76, 8.583,49.075C 329.73,437.196, 293.698,448, 256,448\n\t\tC 218.303,448, 182.271,437.196, 151.418,417.076zM 275.877,320.498 C 282.816,322.245 288,328.538 288,336 L 288,368 C 288,376.8 280.8,384 272,384 L 240,384 C 231.2,384 224,376.8 224,368 L 224,336 C 224,328.538 229.184,322.245 236.123,320.498 L 248,96 L 264,96 L 275.877,320.498 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"meter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32 C 397.385,32 512,146.615 512,288 C 512,384.396 458.712,468.333 379.996,512 L 132.004,512 C 53.288,468.333 0,384.396 0,288 C 0,146.615 114.615,32 256,32 Z M 400.957,432.957 C 439.676,394.237 461,342.758 461,288 L 416,288 L 416,256 L 458.519,256 C 455.012,233.501 447.824,211.927 437.237,192 L 384,192 L 384,160 L 416.142,160 C 411.423,154.119 406.366,148.452 400.957,143.043 C 377.846,119.933 350.187,103.024 320,93.144 L 320,128 L 288,128 L 288,85.48 C 277.509,83.846 266.82,83 256,83 C 245.18,83 234.491,83.845 224,85.48 L 224,128 L 192,128 L 192,93.144 C 161.814,103.024 134.154,119.932 111.043,143.043 C 105.634,148.452 100.577,154.119 95.858,160 L 128,160 L 128,192 L 74.762,192 C 64.175,211.927 56.986,233.501 53.48,256 L 96,256 L 96,288 L 51,288 C 51,342.758 72.324,394.237 111.043,432.957 C 116.398,438.312 122.005,443.321 127.823,448 L 224,448 L 242.286,192 L 269.714,192 L 288,448 L 384.177,448 C 389.995,443.321 395.603,438.311 400.957,432.957 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rocket, speed, jet, spaceship, fast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,32L 192,192L 96,192 L0,320c0,0, 101.708-28.326, 161.033-15.042L0,512l 210.951-164.072C 240.37,415.255, 192,512, 192,512l 128-96\n\tl0-96 l 160-160L 512,0L 352,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flower, nature, plant\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 505.647,188.864c-26.708-82.185-107.774-90.487-170.346-28.040c 40.062-78.801, 7.105-153.337-79.305-153.337\n\ts-119.357,74.535-79.31,153.333C 114.121,98.378, 33.055,106.684, 6.354,188.864c-26.701,82.183, 33.998,136.552, 121.318,122.811\n\tC 48.953,351.884, 31.8,431.549, 101.71,482.341c 69.901,50.79, 140.368,9.859, 154.285-77.433\n\tc 13.917,87.292, 84.384,128.225, 154.293,77.433c 69.903-50.792, 52.751-130.456-25.969-170.666\n\tC 471.641,325.417, 532.349,271.047, 505.647,188.864z M 255.996,342.951c-40.876,0-74.006-33.135-74.006-74.010\n\tc0-40.877, 33.13-74.011, 74.006-74.011c 40.875,0, 74.015,33.135, 74.015,74.011C 330.011,309.816, 296.871,342.951, 255.996,342.951z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"steps, shoes, footprint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 401.006,116.918c 61.533,44.385, 67.586,183.594, 79.691,225.961l-114.557,45.395\n\t\tc-11.668-76.665-110.396-134.165-114.432-218.9C 247.674,84.638, 339.471,72.533, 401.006,116.918zM 470.609,506.298c-91.45,33.253-96.841-89.779-96.841-89.779l 119.033-48.42\n\t\tC 492.802,368.099, 548.283,478.053, 470.609,506.298zM 1.074,95.524C 13.2,20.628, 86.67-35.723, 143.735,27.047c 57.061,62.77, 27.905,173.24, 73.867,235.695l-113.099,48.91\n\t\tC 83.1,273.135-11.054,170.42, 1.074,95.524zM 227.187,420.078c-74.894,34.951-113.415-82.033-113.415-82.033l 118.411-49.934\n\t\tC 232.183,288.111, 315.365,378.924, 227.187,420.078z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paw, animal, pet, footprint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 267.169,275.999c-62.664,0-122.669,28.036-161.386,140.869C 67.066,529.701, 152.499,520.707, 206.42,497.39\n\tc 52.206-22.573, 72.079-26.017, 134.958,3.874c 59.195,28.141, 109.789-1.229, 88.681-62.868\n\tC 408.951,376.757, 337.833,275.999, 267.169,275.999z M 148.636,21.786c-35.721,8.537-54.605,57.079-42.18,108.42\n\tc 12.425,51.341, 51.455,86.041, 87.176,77.503c 0.165-0.040, 0.33-0.080, 0.494-0.121c 35.721-8.537, 54.605-57.079, 42.18-108.42\n\tc-5.349-22.1-15.626-41.116-28.448-54.927c-16.965-18.275-38.383-27.438-58.728-22.576C 148.965,21.705, 148.8,21.745, 148.636,21.786z\n\t M 355.568,19.996c-35.95-7.521-73.771,28.318-84.474,80.048c-6.152,29.733-2.007,58.244, 9.457,78.543\n\tc 8.481,15.019, 20.969,25.542, 36.256,28.741c 0.129,0.027, 0.258,0.053, 0.388,0.080c 35.949,7.521, 73.77-28.318, 84.473-80.048\n\tc 10.704-51.73-9.763-99.763-45.713-107.284C 355.826,20.048, 355.697,20.022, 355.568,19.996z M 10.295,286.861\n\tc 19.751,45.678, 61.375,71.645, 92.969,57.996c 18.079-7.81, 28.957-26.896, 31.254-50.356c 1.718-17.539-1.36-37.521-9.81-57.063\n\tc-0.011-0.026-0.022-0.052-0.034-0.078c-19.751-45.678-61.375-71.645-92.969-57.997C 0.111,193.011-9.49,241.104, 10.261,286.783\n\tC 10.272,286.809, 10.284,286.835, 10.295,286.861z M 408.774,336.787c 17.982,7.893, 39.269,2.891, 57.926-11.336\n\tc 14.041-10.705, 26.594-26.635, 35.13-46.226c 19.879-45.623, 10.446-93.821-21.069-107.654c-0.136-0.060-0.272-0.119-0.41-0.177\n\tc-31.515-13.833-73.177,11.938-93.056,57.562c-19.879,45.623-10.446,93.822, 21.069,107.654\n\tC 408.5,336.67, 408.637,336.729, 408.774,336.787z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,42.521L 353.691,128l-73.145,0 l 64.095,56.083L 390.262,224l-24.548,0 l-85.167,0 l 64.095,56.083L 390.262,320L 317.12,320 \n\t\tl 64.094,56.082L 426.834,416l-101.44,0 l-35.88,0 l 4.088,35.646c 1.156,10.074, 2.31,19.565, 3.792,28.354l-82.788,0 \n\t\tc 1.482-8.788, 2.637-18.279, 3.792-28.354L 222.486,416l-35.88,0 L 85.167,416 l 45.62-39.918L 194.881,320l-73.143,0 l 45.62-39.918L 231.452,224\n\t\tl-85.167,0 l-24.548,0 l 45.62-39.917L 231.452,128l-73.143,0 L 256,42.521 M 256,0L 73.143,160l 73.143,0 L 36.571,256l 109.714,0 L 36.571,352l 73.143,0 \n\t\tL0,448l 186.606,0 c-4.043,35.249-8.033,64-26.606,64c 28.735,0, 163.265,0, 192,0c-18.574,0-22.563-28.751-26.606-64L 512,448 l-109.714-96\n\t\tl 73.143,0 l-109.715-96l 109.715,0 l-109.715-96l 73.144,0 L 256,0L 256,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tree, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,416l 192,0 l-96-128l 64,0 l-96-96l 64,0 l-96-96l 64,0 L 256,0L 128,96l 64,0 l-96,96l 64,0 l-96,96l 64,0 L 32,416l 192,0 c0,32,0,96-32,96l 128,0 \n\tC 288,512, 288,448, 288,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"apple-fruit, fruit, food\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,158.653c-42.276-43.218-224-71.030-224,134.179c0,126.782, 160.518,267.145, 223.965,203.193l 0.070,0 \n\t\tC 319.483,559.977, 480,419.614, 480,292.832C 480,87.624, 298.276,115.435, 256,158.653z M 416.552,341.25\n\t\tc-12.045,46.402-51.907,89.539-98.744,120.021c 48.953-58.283, 79.127-156.949, 49.948-233.464\n\t\tc-8.688-22.783-18.648-42.083-29.535-58.319C 395.741,188.772, 443.145,238.795, 416.552,341.25zM 240.162,102.028c 6.817-1.627, 13.289-3.756, 19.451-6.256C 257.372,106.106, 256,116.995, 256,128l 10.67,0 \n\t\tc 9.286-43.374, 44.19-94, 90.727-94c0-23.833-16.166-34-34.355-34c-17.31,8.583-32.418,23.974-44.621,45.713\n\t\tc-6.589,11.738-13.463,27.834-17.835,45.851c-0.872-5.087-2.174-10.19-3.983-15.276C 236.858,20.757, 168.043-11.655, 102.9,3.894\n\t\tc-7.376,1.761-14.368,4.085-20.977,6.861c 0.827,6.278, 2.301,12.591, 4.537,18.878C 106.204,85.165, 175.019,117.577, 240.162,102.028z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"leaf, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 357.722,57.524c 16.267,26.877, 33.118,58.46, 46.958,94.158c 27.229,70.232, 33.754,134.454, 19.393,190.877\n\t\tc-7.805,30.667-23.158,55.555-44.399,71.973c-19.013,14.696-42.097,22.464-66.758,22.464c-34.216,0-66.683-15.044-89.079-41.274\n\t\tl-17.479-20.473l-19.723,11.68c-0.414,0.025-0.921,0.043-1.525,0.043c-4.953,0-19.333-1.277-45.82-13.104\n\t\tc-24.112-10.768-41.896-34.861-47.57-64.45c-3.432-17.895-2.157-37.114, 3.688-55.583c 6.773-21.403, 19.392-41.691, 37.505-60.301\n\t\tc 37.296-38.319, 68.56-47.973, 101.659-58.194c 23.814-7.354, 48.439-14.958, 74.26-32.279\n\t\tC 326.399,91.273, 342.422,76.402, 357.722,57.524 M 358.774,0c-84.382,139.493-151.15,70.891-248.795,171.215\n\t\tc-86.168,88.533-54.834,200.125, 16.262,231.872c 28.755,12.84, 47.531,15.885, 58.867,15.885c 10.218,0, 14.392-2.472, 14.392-2.472\n\t\tc 29.521,34.577, 71.58,52.496, 113.415,52.496c 61.097,0, 121.721-38.207, 142.169-118.543C 492.533,203.316, 394.89,53.505, 358.774,0\n\t\tL 358.774,0zM 48.506,483.121C 48.564,484.574, 50.217,512, 86.189,512C 132.597,512, 288,384, 352,160C 281.089,336, 81.5,477.5, 48.506,483.121z\n\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"leaf, nature, green\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 358.774,0c-84.382,139.493-151.15,70.891-248.795,171.215c-86.168,88.533-56.291,195.153, 16.262,231.872\n\t\tc 71.615-36.594, 144.884-118.411, 199.225-236.862c0,0, 48.833,149.572-100.745,293.687c 72.634,85.074, 195.914,25.886, 230.363-109.459\n\t\tC 492.533,203.316, 394.89,53.505, 358.774,0zM 48.506,483.121C 48.564,484.574, 50.217,512, 86.189,512c 26.172,0, 158.916-72.339, 227.133-260.102\n\t\tC 210.103,434.505, 60.262,479.817, 48.506,483.121z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cup, coffee, break, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,256l-16.104,0 c 0.062-2.658, 0.104-5.323, 0.104-8c0-1.927-0.026-3.846-0.062-5.762c 0.037-0.744, 0.062-1.49, 0.062-2.238\n\tc0-53.020-93.125-96-208-96S0,186.98,0,240c0,0.749, 0.024,1.494, 0.062,2.238C 0.026,244.154,0,246.073,0,248\n\tc0,145.803, 93.125,264, 208,264c 64.591,0, 122.305-37.368, 160.455-96L 432,416 c 44.183,0, 80-35.817, 80-80S 476.183,256, 432,256z M 208,288\n\tc-79.529,0-144-21.49-144-48s 64.471-48, 144-48c 79.529,0, 144,21.49, 144,48S 287.529,288, 208,288z M 432,384l-45.697,0 \n\tc 13.696-28.864, 23.17-61.321, 27.323-96L 432,288 c 23.159,0, 42,24.841, 42,48S 455.159,384, 432,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cup, coffee, break, drink, hot\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,256l-16.104,0 c 0.062-2.658, 0.104-5.323, 0.104-8c0-1.927-0.026-3.846-0.062-5.762c 0.037-0.744, 0.062-1.49, 0.062-2.238\n\tc0-41.61-57.363-77.033-137.579-90.353c-2.896-5.198-6.102-10.012-9.108-14.522C 262.169,124.41, 256,115.156, 256,105\n\tc0-12.191, 9.189-27.562, 27.313-45.687c 6.249-6.248, 6.249-16.379,0-22.627c-6.248-6.249-16.379-6.249-22.627,0\n\tc-51.436,51.435-38.372,84.139-23.169,108.28C 227.874,144.334, 218.022,144, 208,144c-9.622,0-19.086,0.309-28.361,0.892\n\tc-2.092-3.417-4.257-6.664-6.326-9.767C 166.169,124.41, 160,115.156, 160,105c0-12.191, 9.189-27.562, 27.313-45.687\n\tc 6.249-6.248, 6.249-16.379,0-22.627c-6.248-6.249-16.379-6.249-22.627,0c-54.103,54.102-36.845,87.48-20.796,111.968\n\tC 60.39,161.129,0,197.307,0,240c0,0.749, 0.024,1.494, 0.062,2.238C 0.026,244.154,0,246.073,0,248c0,145.803, 93.125,264, 208,264\n\tc 64.591,0, 122.305-37.368, 160.455-96L 432,416 c 44.183,0, 80-35.817, 80-80S 476.183,256, 432,256z M 208,288c-79.529,0-144-21.49-144-48\n\tc0-20.577, 38.848-38.127, 93.427-44.953c-3.882,9.791-12.15,21.049-24.74,33.64c-6.249,6.248-6.249,16.379,0,22.627\n\tC 135.811,254.438, 139.905,256, 144,256s 8.189-1.562, 11.313-4.687c 23.148-23.148, 33.229-42.501, 35.935-58.988\n\tC 196.745,192.113, 202.333,192, 208,192c 15.954,0, 31.299,0.867, 45.642,2.463c-3.779,9.926-12.112,21.379-24.956,34.223\n\tc-6.249,6.248-6.249,16.379,0,22.627C 231.811,254.438, 235.905,256, 240,256s 8.189-1.562, 11.313-4.687\n\tc 19.844-19.844, 30.083-36.898, 34.307-51.75C 325.544,208.096, 352,223.018, 352,240C 352,266.51, 287.529,288, 208,288z M 432,384l-45.697,0 \n\tc 13.696-28.864, 23.17-61.321, 27.323-96L 432,288 c 23.159,0, 42,24.841, 42,48S 455.159,384, 432,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hamburger, food, launch\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,480c 141.385,0, 256-42.98, 256-96L0,384 C0,437.020, 114.615,480, 256,480zM 464,192L 48,192 c-26.4,0-48,21.6-48,48c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48C 512,213.6, 490.4,192, 464,192zM 256,32C 114.615,32,0,84.98,0,138l0,22 l 512,0 l0-22 C 512,84.98, 397.385,32, 256,32z M 80,128c-8.836,0-16-7.164-16-16\n\t\ts 7.164-16, 16-16s 16,7.164, 16,16S 88.836,128, 80,128z M 144,96c-8.836,0-16-7.164-16-16s 7.164-16, 16-16s 16,7.164, 16,16\n\t\tS 152.836,96, 144,96z M 208,128c-8.836,0-16-7.164-16-16s 7.164-16, 16-16s 16,7.164, 16,16S 216.836,128, 208,128z M 304,128\n\t\tc-8.837,0-16-7.164-16-16s 7.163-16, 16-16s 16,7.164, 16,16S 312.837,128, 304,128z M 368,96c-8.836,0-16-7.164-16-16s 7.164-16, 16-16\n\t\ts 16,7.164, 16,16S 376.836,96, 368,96z M 432,128c-8.836,0-16-7.164-16-16s 7.164-16, 16-16s 16,7.164, 16,16S 440.836,128, 432,128zM0,320L 512,320L 512,352L0,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"food, spoon, fork, dinner, lunch, restaurant\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 112,0C 58.98,0, 16,50.144, 16,112c0,52.962, 31.511,97.333, 73.853,108.999L 73.959,480.061C 72.882,497.627, 86.4,512, 104,512\n\t\tl 16,0 c 17.6,0, 31.118-14.373, 30.041-31.939l-15.894-259.062C 176.489,209.333, 208,164.962, 208,112C 208,50.144, 165.020,0, 112,0zM 434.667,0L 408,160l-20,0 L 374.667,0l-13.334,0 L 348,160l-20,0 L 301.333,0L 288,0 l0,208 c0,8.836, 7.163,16, 16,16l 41.669,0 l-15.71,256.061\n\t\tC 328.882,497.627, 342.4,512, 360,512l 16,0 c 17.6,0, 31.118-14.373, 30.041-31.939L 390.331,224L 432,224 c 8.837,0, 16-7.164, 16-16L 448,0 L 434.667,0 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"food, knife, fork, dinner, lunch, restaurant\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0c-44.186,0-80,35.816-80,80l0,240 l 64,0 l0,192 l 96,0 L 512,80 C 512,35.816, 476.183,0, 432,0zM 208,0c-8.838,0-16,7.164-16,16l0,112 c0,4.418-7.164,8-16,8c-8.838,0-16-3.582-16-8L 160,16 c0-8.836-7.164-16-16-16\n\t\tc-8.837,0-16,7.164-16,16l0,112 c0,4.418-7.164,8-16,8c-8.837,0-16-3.582-16-8L 96,16 c0-8.836-7.164-16-16-16c-8.837,0-16,7.164-16,16l0,112 \n\t\tc0,4.418-7.164,8-16,8s-16-3.582-16-8L 32,16 c0-8.836-7.164-16-16-16S0,7.164,0,16l0,112 l0,32 c0,14.159, 12.529,22.055, 26.502,32\n\t\tC 44.107,204.532, 64,220.318, 64,256l0,256 l 96,0 L 160,256 c0-35.682, 19.893-51.468, 37.496-64C 211.469,182.055, 224,174.159, 224,160l0-32 L 224,16 \n\t\tC 224,7.164, 216.837,0, 208,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mug, glass, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160l-32,0 l0-48 c0-44.183-85.961-80-192-80C 85.961,32,0,67.817,0,112l0,288 c0,44.183, 85.961,80, 192,80\n\tc 106.039,0, 192-35.817, 192-80l0-48 l 32,0 c 52.8,0, 96-43.2, 96-96S 468.8,160, 416,160z M 88.028,94.801C 116.999,85.256, 153.923,80, 192,80\n\ts 75.002,5.256, 103.972,14.801c 18.497,6.094, 29.704,12.623, 35.705,17.199c-6.001,4.576-17.208,11.104-35.705,17.199\n\tC 267.002,138.744, 230.077,144, 192,144s-75.001-5.256-103.972-14.801C 69.531,123.104, 58.324,116.576, 52.323,112\n\tC 58.324,107.424, 69.531,100.896, 88.028,94.801z M 452.182,284.182C 447.768,288.596, 438.237,296, 424,296l-40,0 l0-80 l 40,0 \n\tc 14.237,0, 23.768,7.405, 28.182,11.819S 464,241.763, 464,256S 456.596,279.768, 452.182,284.182z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bottle, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,160L 288,32 l 8,0 c 4.4,0, 8-3.6, 8-8L 304,8 c0-4.4-3.6-8-8-8l-80,0 c-4.4,0-8,3.6-8,8l0,16 c0,4.4, 3.6,8, 8,8l 8,0 l0,128 c0,50.832-64,64-64,112.269\n\tL 160,496 c0,8.837, 7.164,16, 16,16l 160,0 c 8.836,0, 16-7.163, 16-16L 352,272.269 C 352,224, 288,210.832, 288,160z M 320,471.849\n\tc-16.984,5.068-39.411,8.151-64,8.151c-24.589,0-47.015-3.083-64-8.151l0-160 c 16.985,5.068, 39.411,8.151, 64,8.151\n\tc 24.589,0, 47.016-3.083, 64-8.151L 320,471.849 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bottle, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,160L 288,32 l 8,0 c 4.4,0, 8-3.6, 8-8L 304,8 c0-4.4-3.6-8-8-8l-80,0 c-4.4,0-8,3.6-8,8l0,16 c0,4.4, 3.6,8, 8,8l 8,0 l0,128 c0,50.832-64,64-64,112.269\n\tL 160,496 c0,8.837, 7.164,16, 16,16l 160,0 c 8.836,0, 16-7.163, 16-16L 352,272.269 C 352,224, 288,210.832, 288,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glass, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 304,192 C 288,208 288,208 288,224 L 288,448 L 352,448 C 369.673,448 384,462.327 384,480 L 128,480 C 128,462.327 142.327,448 160,448 L 224,448 L 224,224 C 224,208 224,208 208,192 L 70.627,54.627 C 58.182,42.182 62.4,32 80,32 L 432,32 C 449.6,32 453.817,42.182 441.373,54.627 L 304.005,191.995 C 304.003,191.997 304.002,191.999 304,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"glass, drink, beverage\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,160 C 384,261.766 288,288 288,384 L 288,480 L 336,480 C 362.51,480 384,494.327 384,512 L 128,512 C 128,494.327 149.49,480 176,480 L 224,480 L 224,384 C 224,288 128,261.766 128,160 C 128,122.658 135.263,34.781 144.138,0 L 367.861,0 C 376.737,34.781 384,122.658 384,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"diamond, gem, jewelry, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64L 128,64 L0,192l 256,288l 256-288L 384,64z M 256,389.333L 256,388 l-1.185,0 l-7.111-8L 256,380 l0-8 l-15.407,0 l-7.111-8L 256,364 l0-8 l-29.629,0 \n\tl-7.111-8L 256,348 l0-8 l-43.852,0 l-7.111-8L 256,332 l0-8 l-58.074,0 l-7.111-8L 256,316 l0-8 l-72.296,0 l-7.111-8L 256,300 l0-8 l-86.519,0 l-7.111-8L 256,284 l0-8 L 155.259,276 \n\tl-7.111-8L 256,268 l0-8 L 141.037,260 l-7.111-8L 256,252 l0-8 L 126.814,244 l-7.111-8L 256,236 l0-8 L 112.592,228 l-7.111-8L 256,220 l0-8 L 98.37,212 l-7.111-8L 256,204 l0-8 L 84.147,196 \n\tl-3.672-4.131l 69.536-69.536L 256,122.333 L 256,124 l 107.657,0 l 8,8L 256,132 l0,8 l 123.657,0 l 8,8L 256,148 l0,8 l 139.657,0 l 8,8L 256,164 l0,8 l 155.657,0 l 8,8L 256,180 l0,8 l 171.656,0 l 3.869,3.869\n\tL 256,389.333z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"diamond, gem, jewelry\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 357.49,128l 66.584,66.584L 256,383.667L 87.926,194.584L 154.51,128L 357.49,128 M 384,64L 128,64 L0,192l 256,288l 256-288L 384,64L 384,64z\n\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"trophy-star, cup, prize, award, winner, tournament\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 416,32 L 96,32 l0,64 L0,96 l0,32 l0,32 c0,53.019, 42.979,96, 96,96c 10.038,0, 19.715-1.543, 28.81-4.401\n\tc 23.087,33.004, 58.304,56.898, 99.19,65.198L 224,416 l-32,0 c-35.347,0-64,28.653-64,64l 256,0 c0-35.347-28.653-64-64-64l-32,0 l0-99.203 \n\tc 40.886-8.3, 76.103-32.193, 99.19-65.198C 396.285,254.457, 405.962,256, 416,256c 53.021,0, 96-42.981, 96-96l0-32 L 512,96 L 416,96 z M 96,218\n\tc-31.981,0-58-26.019-58-58l0-32 l 58,0 l0,32 c0,20.093, 3.715,39.316, 10.477,57.034C 103.076,217.657, 99.578,218, 96,218z M 304.707,185.597\n\tl 30.51,93.208L 256,220.984l-79.216,57.821l 30.509-93.208l-79.468-57.472l 98.072,0.214L 256,35l 30.104,93.339l 98.071-0.214\n\tL 304.707,185.597z M 474,160c0,31.981-26.019,58-58,58c-3.578,0-7.076-0.343-10.477-0.966C 412.285,199.316, 416,180.093, 416,160l0-32 \n\tl 58,0 L 474,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"trophy, cup, prize, award, winner, tournament\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 416,32 L 96,32 l0,64 L0,96 l0,32 l0,32 c0,53.019, 42.979,96, 96,96c 10.038,0, 19.715-1.543, 28.81-4.401\n\tc 23.087,33.004, 58.304,56.898, 99.19,65.198L 224,416 l-32,0 c-35.347,0-64,28.653-64,64l 256,0 c0-35.347-28.653-64-64-64l-32,0 l0-99.203 \n\tc 40.886-8.3, 76.103-32.193, 99.19-65.198C 396.285,254.457, 405.962,256, 416,256c 53.021,0, 96-42.981, 96-96l0-32 L 512,96 L 416,96 z M 96,218\n\tc-31.981,0-58-26.019-58-58l0-32 l 58,0 l0,32 c0,20.093, 3.715,39.316, 10.477,57.034C 103.076,217.657, 99.578,218, 96,218z M 474,160\n\tc0,31.981-26.019,58-58,58c-3.578,0-7.076-0.343-10.477-0.966C 412.285,199.316, 416,180.093, 416,160l0-32 l 58,0 L 474,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"trophy, cup, prize, award, winner, tournament\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,32c-32,0-160,0-160,0l0,64 L 160,96 L 160,32 c0,0-128,0-160,0c0,160, 128,347.188, 224,376l0,40 c-32,0-64,16-64,32l 192,0 c0-16-32-32-64-32\n\tl0-40 C 384,379.188, 512,192, 512,32z M 383.85,113.227L 384,96L 384,64 l 94.227,0 c-2.787,25.839-8.855,53.128-18.14,81.495\n\tc-12.272,37.499-30.058,75.91-51.433,111.082c-20.559,33.826-43.896,63.859-67.488,86.852c-2.266,2.208-4.521,4.336-6.765,6.391\n\tC 376.819,264.762, 382.961,158.322, 383.85,113.227z M 170.834,343.428c-23.593-22.992-46.93-53.025-67.488-86.852\n\tc-21.375-35.172-39.161-73.583-51.433-111.082C 42.629,117.128, 36.56,89.839, 33.773,64L 128,64 l0,32 l 0.15,17.227\n\tc 0.889,45.096, 7.031,151.535, 49.448,236.592C 175.355,347.764, 173.099,345.636, 170.834,343.428z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"crown, king\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,384L 384,384L 384,448L 128,448zM 480,96c-17.673,0-32,14.327-32,32c0,6.567, 1.981,12.67, 5.375,17.75L 336,224l-12.031-96.254\n\t\tC 339.768,125.791, 352,112.329, 352,96c0-17.673-14.327-32-32-32s-32,14.327-32,32c0,12.528, 7.203,23.367, 17.689,28.621L 256,224\n\t\tl-49.689-99.379C 216.797,119.367, 224,108.528, 224,96c0-17.673-14.327-32-32-32s-32,14.327-32,32\n\t\tc0,16.329, 12.232,29.791, 28.032,31.746L 176,224L 58.626,145.75C 62.019,140.671, 64,134.567, 64,128c0-17.673-14.327-32-32-32\n\t\tS0,110.327,0,128s 14.327,32, 32,32c 4.478,0, 8.738-0.923, 12.607-2.583L 128,352l 256,0 l 83.393-194.583\n\t\tc 3.869,1.66, 8.13,2.583, 12.607,2.583c 17.673,0, 32-14.327, 32-32S 497.673,96, 480,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize, third\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51zM 192,160L 288,160L 288,192L 192,192L 192,192L 192,192L 192,224L 288,224L 288,256L 192,256L 192,288L 320,288L 320,128L 192,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize, second\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51zM 192,160L 288,160L 288,192L 192,192L 192,288L 320,288L 320,256L 224,256L 224,224L 320,224L 320,128L 192,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize, first\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51zM 288,256L 288,128L 224,128L 224,160L 256,160L 256,256L 224,256L 224,288L 320,288L 320,256 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, prize\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,208c0-106.039-85.961-192-192-192S 64,101.961, 64,208c0,62.271, 29.654,117.609, 75.603,152.689L 64,512l 96-64l 32,64\n\t\tl 44.823-112.951C 243.131,399.675, 249.527,400, 256,400c 6.473,0, 12.869-0.325, 19.178-0.951L 320,512l 32-64l 96,64l-75.603-151.311\n\t\tC 418.346,325.609, 448,270.271, 448,208z M 346.51,298.51C 322.334,322.686, 290.189,336, 256,336c-34.19,0-66.334-13.314-90.51-37.49\n\t\tC 141.314,274.334, 128,242.19, 128,208s 13.314-66.333, 37.49-90.51C 189.667,93.314, 221.81,80, 256,80\n\t\tc 34.189,0, 66.334,13.314, 90.51,37.49C 370.686,141.666, 384,173.81, 384,208S 370.686,274.334, 346.51,298.51z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"medal, award, prize, winner\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160c0-25.319-19.607-46.045-44.465-47.856c 16.296-18.858, 15.506-47.377-2.398-65.281\n\tc-17.903-17.903-46.423-18.694-65.28-2.399C 302.045,19.607, 281.32,0, 256,0s-46.044,19.607-47.856,44.464\n\tc-18.857-16.295-47.377-15.504-65.281,2.399c-17.903,17.904-18.694,46.423-2.399,65.281C 115.608,113.956, 96,134.681, 96,160\n\ts 19.607,46.044, 44.464,47.856c-16.295,18.857-15.504,47.377, 2.399,65.28c 13.294,13.294, 32.439,17.143, 49.137,11.577L 192,512 l 64-64l 64,64\n\tL 320,284.714 c 16.698,5.565, 35.843,1.717, 49.137-11.577c 17.904-17.903, 18.694-46.422, 2.398-65.28C 396.393,206.045, 416,185.319, 416,160z\n\t M 256,256c-53.020,0-96-42.98-96-96s 42.98-96, 96-96s 96,42.98, 96,96S 309.020,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podium, ranking, standings, winers, rating\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,224L 352,96 L 160,96 l0,96 L0,192 l0,256 l 512,0 L 512,224 L 352,224 z M 128,352L 64,352 l0,32 l 64,0 l0,32 L 32,416 l0-96 l 64,0 l0-32 L 32,288 l0-32 l 96,0 L 128,352 z M 288,320l-32,0 L 256,192 l-32,0 l0-32 l 64,0 L 288,320 \n\tz M 480,416l-96,0 l0-32 l 64,0 l0-32 l-64,0 l0-32 l 64,0 l0-32 l-64,0 l0-32 l 96,0 L 480,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rating, ranking, rate, standing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,416L 32,480L 256,368L 480,480L 480,416L 256,304 \tzM 32,288L 32,352L 256,240L 480,352L 480,288L 256,176 \tzM 256,48L 32,160L 32,224L 256,112L 480,224L 480,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rating, ranking, rate, standing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,416L 32,480L 256,368L 480,480L 480,416L 256,304 \tzM 32,288L 32,352L 256,240L 480,352L 480,288L 256,176 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rating, ranking, rate, standing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,416L 32,480L 256,368L 480,480L 480,416L 256,304 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"balloon, party\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,224C 448,100.288, 362.039,0, 256,0C 149.962,0, 64,100.288, 64,224c0,111.292, 69.573,203.611, 160.743,221.029L 208,512l 96,0 \n\tl-16.743-66.971C 378.427,427.611, 448,335.293, 448,224z M 141.353,256L 93.351,256 C 91.811,245.601, 91,234.912, 91,224\n\tc0-22.483, 3.409-44.038, 9.654-64l 48.008,0 c-6.246,19.963-9.662,41.515-9.662,64C 139,234.912, 139.813,245.601, 141.353,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gift, box, present\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 385.758,160c 9.063-6.44, 17.756-13.608, 25.722-21.574c 16.701-16.701, 27.873-37.25, 31.456-57.861\n\tc 3.929-22.593-1.836-43.57-15.815-57.55c-11.15-11.149-26.255-17.043-43.682-17.043c-24.816,0-50.961,11.912-71.73,32.681\n\tc-33.238,33.238-52.613,79.119-63.038,111.861c-7.72-32.901-23.103-77.322-53.009-107.229C 179.615,27.239, 159.105,19, 139.739,19\n\tc-15.827,0-30.89,5.502-42.13,16.743c-24.993,24.994-21.616,68.893, 7.543,98.052c 10.396,10.396, 22.549,19.031, 35.36,26.206L 32,160.001 l0,128 \n\tl 32,0 l0,224 l 384,0 L 448,288 l 32,0 L 480,160 L 385.758,160 z M 337.163,64.109c 13.862-13.862, 31.161-22.137, 46.275-22.137c 5.35,0, 12.854,1.127, 18.225,6.499\n\tc 13.015,13.014, 5.706,43.154-15.64,64.499c-21.973,21.973-51.53,37.084-77.216,47.030l-25.336,0 \n\tC 292.755,131.226, 309.5,91.772, 337.163,64.109z M 130.607,108.338c-7.914-7.914-12.885-18.080-13.64-27.893\n\tc-0.351-4.56-0.025-13.124, 6.098-19.247C 128.187,56.076, 134.959,55, 139.739,55l0,0 c 10.629,0, 21.734,5.008, 30.466,13.74\n\tc 16.936,16.936, 30.883,43.886, 40.334,77.938c 0.255,0.92, 0.504,1.835, 0.748,2.743c-0.908-0.243-1.823-0.492-2.743-0.748\n\tC 174.492,139.222, 147.542,125.274, 130.607,108.338z M 448,272L 288,272 l0,208 l-64,0 L 224,272 L 64,272 l0-16 l 160,0 l0-64 l 64,0 l0,64 l 160,0 L 448,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gift, box, present\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 385.758,160c 9.063-6.44, 17.756-13.608, 25.722-21.574c 16.701-16.701, 27.873-37.25, 31.456-57.861\n\tc 3.929-22.593-1.836-43.57-15.815-57.55c-11.15-11.149-26.255-17.043-43.682-17.043c-24.816,0-50.961,11.912-71.73,32.681\n\tc-33.238,33.238-52.613,79.119-63.038,111.861c-7.72-32.901-23.103-77.322-53.009-107.229C 179.615,27.239, 159.105,19, 139.739,19\n\tc-15.827,0-30.89,5.502-42.13,16.743c-24.993,24.994-21.616,68.893, 7.543,98.052c 10.396,10.396, 22.549,19.031, 35.36,26.206L 32,160.001 l0,128 \n\tl 32,0 l0,224 l 384,0 L 448,288 l 32,0 L 480,160 L 385.758,160 z M 337.163,64.109c 13.862-13.862, 31.161-22.137, 46.275-22.137c 5.35,0, 12.854,1.127, 18.225,6.499\n\tc 13.015,13.014, 5.706,43.154-15.64,64.499c-21.973,21.973-51.53,37.084-77.216,47.030l-25.336,0 \n\tC 292.755,131.226, 309.5,91.772, 337.163,64.109z M 116.967,80.445c-0.351-4.56-0.025-13.124, 6.098-19.247\n\tC 128.187,56.076, 134.959,55, 139.739,55l0,0 c 10.629,0, 21.734,5.008, 30.466,13.74c 16.936,16.936, 30.883,43.886, 40.334,77.938\n\tc 0.255,0.92, 0.504,1.835, 0.748,2.743c-0.908-0.243-1.823-0.492-2.743-0.748c-34.052-9.452-61.001-23.399-77.937-40.335\n\tC 122.693,100.425, 117.722,90.258, 116.967,80.445z M 224,480L 96,480 L 96,272 l 128,0 L 224,480 z M 224,256L 64,256 l0-64 l 160,0 L 224,256 z M 416,480L 288,480 L 288,272 l 128,0 L 416,480 z\n\t M 448,256L 288,256 l0-64 l 160,0 L 448,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cake, birthday, party, anniversary\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,160.621L 288,112 c0-8.8-7.2-16-16-16l-32,0 c-8.8,0-16,7.2-16,16l0,48.621 C 97.719,165.542,0,199.204,0,240l0,192 \n\t\tc0,44.183, 114.615,80, 256,80c 141.385,0, 256-35.817, 256-80L 512,240 C 512,199.204, 414.281,165.542, 288,160.621z M 53.508,232.795\n\t\tc 12.139-6.375, 28.751-12.408, 48.042-17.445c 34.724-9.067, 77.333-14.832, 122.451-16.692L 224.001,240 c0,8.8, 7.2,16, 16,16l 32,0 \n\t\tc 8.8,0, 16-7.2, 16-16l0-41.342 c 45.117,1.86, 87.727,7.625, 122.45,16.692c 19.291,5.038, 35.903,11.070, 48.042,17.445\n\t\tc 5.353,2.812, 9.059,5.266, 11.582,7.205c-2.523,1.939-6.229,4.394-11.582,7.205c-12.139,6.375-28.751,12.408-48.042,17.445\n\t\tC 367.605,275.839, 312.754,282, 256,282s-111.605-6.161-154.451-17.35c-19.291-5.037-35.903-11.070-48.042-17.445\n\t\tc-5.353-2.812-9.059-5.266-11.582-7.205C 44.449,238.061, 48.155,235.606, 53.508,232.795z M 480,381.749\n\t\tC 436.333,406.348, 352.396,423, 256,423c-96.396,0-180.333-16.652-224-41.251l0-45 C 75.667,361.348, 159.604,378, 256,378\n\t\tc 96.396,0, 180.333-16.652, 224-41.251L 480,381.749 zM 256,80 C 238.327,80 224,65.673 224,48 C 224,47.375 224.022,46.756 224.058,46.141 C 225.268,15.388 256,0 256,0 C 256,0 286.732,15.388 287.942,46.141 C 287.978,46.756 288,47.375 288,48 C 288,65.673 273.673,80 256,80 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"ladder, rank\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0c-17.673,0-32,14.327-32,32l0,64 L 160,96 L 160,32 c0-17.673-14.327-32-32-32S 96,14.327, 96,32l0,448 c0,17.674, 14.327,32, 32,32\n\ts 32-14.326, 32-32l0-64 l 192,0 l0,64 c0,17.674, 14.327,32, 32,32c 17.674,0, 32-14.326, 32-32L 416,32 C 416,14.327, 401.674,0, 384,0z M 352,352L 160,352 l0-64 \n\tl 192,0 L 352,352 z M 352,224L 160,224 l0-64 l 192,0 L 352,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs, steps, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,160L 512,64L 160,64L 128,96L 128,160L 64,224L 64,320L0,384L0,480L 352,480L 384,448L 384,384L 32,384L 36,380L 390.863,380L 398.454,372L 44,372L 52,364L 406.046,364L 413.637,356L 60,356L 68,348L 421.228,348L 428.818,340L 76,340L 84,332L 436.409,332L 444,324L 92,324L 96,320L 448,320L 448,224L 96,224L 100,220L 452.764,220L 460.654,212L 108,212L 116,204L 468.546,204L 476.437,196L 124,196L 132,188L 484.327,188L 492.218,180L 140,180L 148,172L 500.109,172L 508,164L 156,164L 160,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs, steps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,64L 128,96L 128,160L 64,224L 64,320L0,384L0,480L 352,480L 384,448L 384,384L 32,384L 96,320L 416,320L 448,288L 448,224L 96,224L 160,160L 480,160L 512,128L 512,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"chart, stats, statistics, dualtone, plot, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,480L 384,480L 384,464L 368,464L 368,480L 208,480L 208,464L 192,464L 192,480L 80,480L 80,464L 64,464L 64,480L 32,480L 32,336L 48,336L 48,320L 32,320L 32,208L 48,208L 48,192L 32,192L 32,80L 48,80L 48,64L 32,64L 32,0L0,0L0,512L 512,512L 512,464L 496,464 \tzM 220,196L 212,204L 212,330.059L 220,322.059 \tzM 204,212L 196,220L 196,346.059L 204,338.059 \tzM 188,354.059L 188,222L 180,218L 180,351.167L 187.261,354.798 \tzM 268,148L 260,156L 260,282.059L 268,274.059 \tzM 236,180L 228,188L 228,314.059L 236,306.059 \tzM 172,214L 164,210L 164,343.167L 172,347.167 \tzM 252,164L 244,172L 244,298.059L 252,290.059 \tzM 124,190L 116,186L 116,319.167L 124,323.167 \tzM 92,174L 84,170L 84,303.167L 92,307.167 \tzM 156,206L 148,202L 148,335.167L 156,339.167 \tzM 108,182L 100,178L 100,311.167L 108,315.167 \tzM 76,166L 68,162L 68,295.167L 76,299.167 \tzM 284,132L 276,140L 276,266.059L 284,258.059 \tzM 140,198L 132,194L 132,327.167L 140,331.167 \tzM 412,164L 404,172L 404,342.733L 412,330.733 \tzM 428,148L 420,156L 420,318.733L 428,306.733 \tzM 444,132L 436,140L 436,294.733L 444,282.733 \tzM 476,100L 468,108L 468,246.733L 476,234.733 \tzM 460,116L 452,124L 452,270.733L 460,258.733 \tzM 508,68L 500,76L 500,198.733L 508,186.733 \tzM 492,84L 484,92L 484,222.733L 492,210.733 \tzM 348,168L 340,162.667L 340,317.334L 348,328 \tzM 332,157.333L 324,152L 324,296L 332,306.667 \tzM 300,136L 292,130.667L 292,253.333L 300,264 \tzM 316,146.667L 308,141.333L 308,274.667L 316,285.334 \tzM 364,178.667L 356,173.333L 356,338.667L 364,349.334 \tzM 396,180L 388,188L 388,366.732L 396,354.733 \tzM 380,189.333L 372,184L 372,360.001L 380,370.667 \tzM 384,416L 288,288L 192,384L 64,320L 64,448L 512,448L 512,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs-down, down, descend, bottom, steps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,64L 128,160L 224,160L 224,256L 320,256L 320,352L 416,352L 416,448L 512,448L 512,512L 352,512L 352,416L 256,416L 256,320L 160,320L 160,224L 64,224L 64,224L 64,128L0,128L0,64 \tzM 224,0L 461,240L 512,192L 512,320L 384,320L 429,272L 192,32 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stairs-down, up, ascend, top, steps\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64L 384,160L 288,160L 288,256L 192,256L 192,352L 96,352L 96,448L0,448L0,512L 160,512L 160,416L 256,416L 256,320L 352,320L 352,224L 448,224L 448,224L 448,128L 512,128L 512,64 \tzM 32,320L 269,80L 320,128L 320,0L 192,0L 237,48L0,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats-down, decay, decline, bars, graph, statistics\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,384L 480,384L 480,512L 384,512zM 256,320L 352,320L 352,512L 256,512zM 128,288L 224,288L 224,512L 128,512zM0,192L 96,192L 96,512L0,512zM 480,144 L 480,288 L 336,288 L 391.029,232.971 L 288,129.941 L 192,225.941 L 0,33.941 L 0,0 L 33.941,0 L 192,158.059 L 288,62.059 L 424.971,199.029 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats-up, growth, improvement, bars, graph, statistics\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,384L 128,384L 128,512L 32,512zM 160,320L 256,320L 256,512L 160,512zM 288,288L 384,288L 384,512L 288,512zM 416,192L 512,192L 512,512L 416,512zM 512,0 L 512,144 L 456.971,88.971 L 288,257.941 L 192,161.941 L 65.941,288 L 32,288 L 32,254.059 L 192,94.059 L 288,190.059 L 423.029,55.029 L 368,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,192L 48,192 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 160,208 C 160,199.2, 152.8,192, 144,192z M 144,352\n\t\tl0,4 L 48,356 l0-4 L 144,352 z M 48,452l0-8 l 96,0 l0,8 L 48,452 z M 144,460l0,8 L 48,468 l0-8 L 144,460 z M 48,436l0-8 l 96,0 l0,8 L 48,436 z M 48,420l0-8 l 96,0 l0,8 L 48,420 z M 48,404l0-8 l 96,0 l0,8 L 48,404 z M 48,388l0-8 \n\t\tl 96,0 l0,8 L 48,388 z M 48,372l0-8 l 96,0 l0,8 L 48,372 z M 48,480l0-4 l 96,0 l0,4 L 48,480 zM 304,128l-96,0 c-8.8,0-16,7.2-16,16l0,352 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 320,144 C 320,135.2, 312.8,128, 304,128z\n\t\t M 304,320l0,4 l-96,0 l0-4 L 304,320 z M 208,452l0-8 l 96,0 l0,8 L 208,452 z M 304,460l0,8 l-96,0 l0-8 L 304,460 z M 208,436l0-8 l 96,0 l0,8 L 208,436 z M 208,420l0-8 l 96,0 l0,8 L 208,420 z M 208,404l0-8 \n\t\tl 96,0 l0,8 L 208,404 z M 208,388l0-8 l 96,0 l0,8 L 208,388 z M 208,372l0-8 l 96,0 l0,8 L 208,372 z M 208,356l0-8 l 96,0 l0,8 L 208,356 z M 208,340l0-8 l 96,0 l0,8 L 208,340 z M 208,480l0-4 l 96,0 l0,4 L 208,480 zM 464,64l-96,0 c-8.8,0-16,7.2-16,16l0,416 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 480,80 C 480,71.2, 472.8,64, 464,64z M 464,288l0,4 \n\t\tl-96,0 l0-4 L 464,288 z M 368,452l0-8 l 96,0 l0,8 L 368,452 z M 464,460l0,8 l-96,0 l0-8 L 464,460 z M 368,436l0-8 l 96,0 l0,8 L 368,436 z M 368,420l0-8 l 96,0 l0,8 L 368,420 z M 368,404l0-8 l 96,0 l0,8 L 368,404 z\n\t\t M 368,388l0-8 l 96,0 l0,8 L 368,388 z M 368,372l0-8 l 96,0 l0,8 L 368,372 z M 368,356l0-8 l 96,0 l0,8 L 368,356 z M 368,340l0-8 l 96,0 l0,8 L 368,340 z M 368,324l0-8 l 96,0 l0,8 L 368,324 z M 368,308l0-8 l 96,0 \n\t\tl0,8 L 368,308 z M 368,480l0-4 l 96,0 l0,4 L 368,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 304,128l-96,0 c-8.8,0-16,7.2-16,16l0,352 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 320,144 C 320,135.2, 312.8,128, 304,128z\n\t\t M 304,480l-96,0 L 208,316 l 96,0 L 304,480 z M 304,308l-96,0 l0-8 l 96,0 L 304,308 z M 304,292l-96,0 l0-8 l 96,0 L 304,292 z M 304,276l-96,0 l0-8 l 96,0 L 304,276 z M 304,260l-96,0 l0-8 l 96,0 L 304,260 z\n\t\t M 304,244l-96,0 l0-8 l 96,0 L 304,244 z M 304,228l-96,0 l0-8 l 96,0 L 304,228 z M 304,212l-96,0 l0-8 l 96,0 L 304,212 z M 304,196l-96,0 l0-8 l 96,0 L 304,196 z M 304,180l-96,0 l0-8 l 96,0 L 304,180 z\n\t\t M 304,164l-96,0 l0-4 l 96,0 L 304,164 zM 144,192L 48,192 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 160,208 C 160,199.2, 152.8,192, 144,192z M 144,480\n\t\tL 48,480 L 48,348 l 96,0 L 144,480 z M 144,340L 48,340 l0-8 l 96,0 L 144,340 z M 144,324L 48,324 l0-8 l 96,0 L 144,324 z M 144,308L 48,308 l0-8 l 96,0 L 144,308 z M 144,292L 48,292 l0-8 l 96,0 L 144,292 z M 144,276L 48,276 l0-8 l 96,0 \n\t\tL 144,276 z M 144,260L 48,260 l0-8 l 96,0 L 144,260 z M 144,244L 48,244 l0-8 l 96,0 L 144,244 z M 144,228L 48,228 l0-4 l 96,0 L 144,228 zM 464,64l-96,0 c-8.8,0-16,7.2-16,16l0,416 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 480,80 C 480,71.2, 472.8,64, 464,64z M 464,480l-96,0 \n\t\tL 368,284 l 96,0 L 464,480 z M 464,276l-96,0 l0-8 l 96,0 L 464,276 z M 464,260l-96,0 l0-8 l 96,0 L 464,260 z M 464,244l-96,0 l0-8 l 96,0 L 464,244 z M 464,228l-96,0 l0-8 l 96,0 L 464,228 z M 464,212l-96,0 l0-8 \n\t\tl 96,0 L 464,212 z M 464,196l-96,0 l0-8 l 96,0 L 464,196 z M 464,180l-96,0 l0-8 l 96,0 L 464,180 z M 464,164l-96,0 l0-8 l 96,0 L 464,164 z M 464,148l-96,0 l0-8 l 96,0 L 464,148 z M 464,132l-96,0 l0-8 l 96,0 \n\t\tL 464,132 z M 464,116l-96,0 l0-8 l 96,0 L 464,116 z M 464,100l-96,0 l0-4 l 96,0 L 464,100 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,192L 48,192 c-8.8,0-16,7.2-16,16l0,288 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 160,208 C 160,199.2, 152.8,192, 144,192z M 144,480\n\t\tL 48,480 L 48,352 l 96,0 L 144,480 zM 304,128l-96,0 c-8.8,0-16,7.2-16,16l0,352 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 320,144 C 320,135.2, 312.8,128, 304,128z\n\t\t M 304,480l-96,0 L 208,320 l 96,0 L 304,480 zM 464,64l-96,0 c-8.8,0-16,7.2-16,16l0,416 c0,8.8, 7.2,16, 16,16l 96,0 c 8.8,0, 16-7.2, 16-16L 480,80 C 480,71.2, 472.8,64, 464,64z M 464,480l-96,0 \n\t\tL 368,288 l 96,0 L 464,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,128L 192,128 l0,384 l 128,0 L 320,128 L 320,128z M 224,164l0-4 l 64,0 l0,4 L 224,164 L 224,164z M 224,180l0-8 l 64,0 l0,8 L 224,180 L 224,180z M 224,196l0-8 l 64,0 l0,8 L 224,196 \n\t\tL 224,196z M 224,212l0-8 l 64,0 l0,8 L 224,212 L 224,212z M 224,228l0-8 l 64,0 l0,8 L 224,228 L 224,228z M 224,244l0-8 l 64,0 l0,8 L 224,244 L 224,244z M 224,260l0-8 l 64,0 l0,8 L 224,260 \n\t\tL 224,260z M 224,276l0-8 l 64,0 l0,8 L 224,276 L 224,276z M 224,292l0-8 l 64,0 l0,8 L 224,292 L 224,292z M 224,308l0-8 l 64,0 l0,8 L 224,308 L 224,308z M 224,324l0-8 l 64,0 l0,8 L 224,324 \n\t\tL 224,324z M 224,340l0-8 l 64,0 l0,8 L 224,340 L 224,340z M 224,356l0-8 l 64,0 l0,8 L 224,356 L 224,356z M 224,372l0-8 l 64,0 l0,8 L 224,372 L 224,372z M 224,388l0-8 l 64,0 l0,8 L 224,388 \n\t\tL 224,388z M 224,404l0-8 l 64,0 l0,8 L 224,404 L 224,404z M 224,420l0-8 l 64,0 l0,8 L 224,420 L 224,420z M 224,436l0-8 l 64,0 l0,8 L 224,436 L 224,436z M 224,452l0-8 l 64,0 l0,8 L 224,452 \n\t\tL 224,452z M 224,468l0-8 l 64,0 l0,8 L 224,468 L 224,468z M 224,480l0-4 l 64,0 l0,4 L 224,480 L 224,480zM0,288L 128,288L 128,512L0,512zM 384,0L 512,0L 512,512L 384,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, stats, statistics, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,192L 352,0 L 128,0 l0,128 L0,128 l0,384 l 480,0 L 480,192 L 352,192 z M 160,448L 64,448 L 64,192 l 96,0 L 160,448 z M 288,448l-96,0 L 192,64 l 96,0 L 288,448 z M 416,448l-96,0 L 320,256 l 96,0 L 416,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bars, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,416L 512,416L 512,480L0,480zM 64,288L 128,288L 128,384L 64,384zM 160,160L 224,160L 224,384L 160,384zM 256,256L 320,256L 320,384L 256,384zM 352,64L 416,64L 416,384L 352,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats, pie, chart, statistics, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,96c 13.2,0, 24-10.8, 24-24L 512,24 c0-13.2-10.8-24-24-24l-48,0 c-13.2,0-24,10.8-24,24l0,8 L 96,32 l0-8 C 96,10.8, 85.2,0, 72,0L 24,0 \n\tC 10.8,0,0,10.8,0,24l0,48 c0,13.2, 10.8,24, 24,24l 8,0 l0,320 l-8,0 c-13.2,0-24,10.8-24,24l0,48 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\tl 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-48 c0-13.2-10.8-24-24-24l-8,0 L 480,96 L 488,96 z M 448,32l 32,0 l0,32 l-32,0 L 448,32 z M 32,32l 32,0 l0,32 L 32,64 \n\tL 32,32 z M 64,480L 32,480 l0-32 l 32,0 L 64,480 z M 480,480l-32,0 l0-32 l 32,0 L 480,480 z M 448,416l-8,0 c-13.2,0-24,10.8-24,24l0,8 L 96,448 l0-8 c0-13.2-10.8-24-24-24l-8,0 L 64,96 l 8,0 \n\tc 13.2,0, 24-10.8, 24-24l0-8 l 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 8,0 L 448,416 zM 256,128l0,128 l 128,0 C 384,185.308, 326.692,128, 256,128zM 224,288L 224,132.033 c-55.207,14.209-96,64.325-96,123.967c0,70.692, 57.308,128, 128,128c 59.643,0, 109.758-40.793, 123.967-96L 224,288 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats, bars, graph, plot, chart\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,96c 13.2,0, 24-10.8, 24-24L 512,24 c0-13.2-10.8-24-24-24l-48,0 c-13.2,0-24,10.8-24,24l0,8 L 96,32 l0-8 C 96,10.8, 85.2,0, 72,0L 24,0 \n\tC 10.8,0,0,10.8,0,24l0,48 c0,13.2, 10.8,24, 24,24l 8,0 l0,320 l-8,0 c-13.2,0-24,10.8-24,24l0,48 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\tl 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 48,0 c 13.2,0, 24-10.8, 24-24l0-48 c0-13.2-10.8-24-24-24l-8,0 L 480,96 L 488,96 z M 448,32l 32,0 l0,32 l-32,0 L 448,32 z M 32,32l 32,0 l0,32 L 32,64 \n\tL 32,32 z M 64,480L 32,480 l0-32 l 32,0 L 64,480 z M 480,480l-32,0 l0-32 l 32,0 L 480,480 z M 448,416l-8,0 c-13.2,0-24,10.8-24,24l0,8 L 96,448 l0-8 c0-13.2-10.8-24-24-24l-8,0 L 64,96 l 8,0 \n\tc 13.2,0, 24-10.8, 24-24l0-8 l 320,0 l0,8 c0,13.2, 10.8,24, 24,24l 8,0 L 448,416 zM 128,128L 192,128L 192,384L 128,384zM 224,256L 288,256L 288,384L 224,384zM 320,192L 384,192L 384,384L 320,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stats, graph, plot, statistics, chart\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,448 L 512,448 L 512,512 L 0,512 L 0,0 L 64,0 ZM 144,416 C 117.49,416 96,394.51 96,368 C 96,341.49 117.49,320 144,320 C 145.414,320 146.811,320.074 148.194,320.193 L 199.79,234.2 C 194.87,226.665 192,217.669 192,207.999 C 192,181.489 213.49,159.999 240,159.999 C 266.51,159.999 288,181.489 288,207.999 C 288,217.67 285.13,226.665 280.21,234.2 L 331.806,320.193 C 333.189,320.074 334.586,320 336,320 C 337.068,320 338.124,320.047 339.175,320.115 L 424.353,171.054 C 419.085,163.35 416,154.036 416,143.999 C 416,117.489 437.49,95.999 464,95.999 C 490.51,95.999 512,117.489 512,143.999 C 512,170.509 490.51,191.999 464,191.999 C 462.93,191.999 461.876,191.952 460.825,191.883 L 375.647,340.945 C 380.915,348.648 384,357.963 384,368 C 384,394.51 362.51,416 336,416 C 309.49,416 288,394.51 288,368 C 288,358.33 290.87,349.334 295.789,341.799 L 244.194,255.807 C 242.811,255.926 241.414,256 240,256 C 238.586,256 237.189,255.927 235.806,255.807 L 184.21,341.8 C 189.13,349.334 192,358.33 192,368 C 192,394.51 170.51,416 144,416 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288 L 510.013,288 C 494.265,414.281 386.547,512 256,512 C 114.615,512 0,397.385 0,256 C 0,125.453 97.719,17.736 224,1.988 L 224,288 ZM 288,34.253 L 288,223.999 L 477.747,223.999 C 475.044,205.032 469.918,186.566 462.411,168.818 C 451.13,142.148 434.974,118.19 414.392,97.607 C 393.81,77.025 369.851,60.869 343.181,49.589 C 325.434,42.083 306.967,36.956 288,34.253 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 L 256,256 L 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,1.988 L 224,288 L 510.013,288 C 494.265,414.281 386.547,512 256,512 C 114.615,512 0,397.385 0,256 C 0,125.453 97.719,17.736 224,1.988 ZM 256,0l0,256 l 256,0 C 512,114.615, 397.385,0, 256,0z M 288,220l 189.136,0 c 0.214,1.331, 0.42,2.664, 0.61,4L 288,224 L 288,220 z M 328.542,44\n\t\tc 4.929,1.689, 9.812,3.548, 14.639,5.59c 1.841,0.778, 3.665,1.585, 5.479,2.41L 288,52 l0-8 L 328.542,44 z M 288,36l0-1.747 \n\t\tc 3.503,0.499, 6.988,1.083, 10.455,1.747L 288,36 z M 364.535,60c 4.535,2.514, 8.978,5.18, 13.32,8L 288,68 l0-8 L 364.535,60 z M 389.375,76\n\t\tc 3.448,2.562, 6.823,5.233, 10.13,8L 288,84 l0-8 L 389.375,76 z M 408.559,92c 1.97,1.835, 3.921,3.696, 5.833,5.608\n\t\tc 0.789,0.79, 1.56,1.593, 2.336,2.392L 288,100 l0-8 L 408.559,92 z M 424.135,108c 2.312,2.619, 4.556,5.287, 6.734,8L 288,116 l0-8 L 424.135,108 z M 437.001,124\n\t\tc 1.922,2.628, 3.788,5.293, 5.591,8L 288,132 l0-8 L 437.001,124 z M 447.69,140c 1.594,2.631, 3.122,5.302, 4.608,8L 288,148 l0-8 L 447.69,140 z M 456.492,156\n\t\tc 1.317,2.64, 2.596,5.302, 3.812,8L 288,164 l0-8 L 456.492,156 z M 463.726,172c 1.074,2.651, 2.090,5.319, 3.058,8L 288,180 l0-8 L 463.726,172 z M 469.502,188\n\t\tc 0.846,2.654, 1.646,5.32, 2.391,8L 288,196 l0-8 L 469.502,188 z M 473.947,204c 0.631,2.655, 1.212,5.322, 1.745,8L 288,212 l0-8 L 473.947,204 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 224,1.988 C 97.719,17.736,0,125.453,0,256c0,141.385, 114.615,256, 256,256c 130.547,0, 238.265-97.719, 254.013-224L 224,288 z\n\t M 404.79,423.444C 363.783,459.915, 310.942,480, 256,480c-30.254,0-59.586-5.918-87.181-17.59\n\tc-26.67-11.28-50.628-27.437-71.21-48.019C 77.026,393.81, 60.87,369.851, 49.59,343.181C 37.918,315.586, 32,286.254, 32,256\n\tc0-54.942, 20.085-107.783, 56.556-148.789C 116.489,75.803, 152.373,53.090, 192,41.286L 192,320 l 278.715,0 \n\tC 458.91,359.628, 436.197,395.511, 404.79,423.444zM 256,0 C 397.385,0 512,114.615 512,256 L 256,256 L 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 397.385,0 512,114.615 512,256 L 256,256 L 256,0 ZM 224,1.988C 97.719,17.736,0,125.453,0,256c0,141.385, 114.615,256, 256,256c 130.547,0, 238.265-97.719, 254.013-224L 224,288 L 224,1.988 z\n\t\t M 183.534,44L 192,44 l0,8 l-28.617,0 C 169.96,49.010, 176.686,46.342, 183.534,44z M 147.509,60L 192,60 l0,8 l-57.808,0 \n\t\tC 138.541,65.178, 142.982,62.51, 147.509,60z M 122.664,76L 192,76 l0,8 l-79.49,0 C 115.823,81.233, 119.208,78.563, 122.664,76z M 103.438,92L 192,92 l0,8 \n\t\tL 95.268,100 C 97.929,97.259, 100.653,94.592, 103.438,92z M 87.87,108L 192,108 l0,8 L 81.147,116 C 83.322,113.288, 85.562,110.62, 87.87,108z M 75.024,124\n\t\tL 192,124 l0,8 L 69.442,132 C 71.241,129.296, 73.104,126.63, 75.024,124z M 64.354,140L 192,140 l0,8 L 59.74,148 C 61.224,145.305, 62.757,142.636, 64.354,140z\n\t\t M 55.549,156L 192,156 l0,8 L 51.751,164 C 52.963,161.31, 54.23,158.643, 55.549,156z M 48.323,172L 192,172 l0,8 L 45.272,180 \n\t\tC 46.24,177.314, 47.253,174.646, 48.323,172z M 42.562,188L 192,188 l0,8 L 40.169,196 C 40.914,193.316, 41.718,190.651, 42.562,188z M 38.113,204L 192,204 l0,8 \n\t\tL 36.362,212 C 36.898,209.321, 37.481,206.654, 38.113,204z M 34.905,220L 192,220 l0,8 L 33.764,228 C 34.1,225.324, 34.473,222.656, 34.905,220z M 32.896,236\n\t\tL 192,236 l0,8 L 32.333,244 C 32.476,241.327, 32.658,238.659, 32.896,236z M 32,256c0-1.335, 0.022-2.667, 0.046-4L 192,252 l0,8 L 32.049,260 \n\t\tC 32.026,258.668, 32,257.336, 32,256z M 32.32,268L 192,268 l0,8 L 32.89,276 C 32.657,273.342, 32.46,270.676, 32.32,268z M 33.721,284L 192,284 l0,8 L 34.878,292 \n\t\tC 34.45,289.342, 34.054,286.678, 33.721,284z M 36.307,300L 192,300 l0,8 L 38.063,308 C 37.432,305.344, 36.84,302.679, 36.307,300z M 256,480\n\t\tc-14.362,0-28.513-1.351-42.373-4l 84.523,0 C 284.354,478.638, 270.249,480, 256,480z M 328.362,468L 183.472,468 \n\t\tc-4.934-1.689-9.821-3.546-14.653-5.59c-1.84-0.778-3.665-1.585-5.479-2.41l 185.218,0 C 341.96,462.994, 335.22,465.661, 328.362,468z\n\t\t M 364.466,452L 147.465,452 c-4.536-2.514-8.978-5.18-13.32-8l 243.649,0 C 373.438,446.824, 368.993,449.493, 364.466,452z M 389.334,436\n\t\tL 122.625,436 c-3.449-2.562-6.824-5.233-10.13-8l 286.988,0 C 396.168,430.769, 392.787,433.439, 389.334,436z M 408.565,420L 103.441,420 \n\t\tc-1.97-1.835-3.921-3.696-5.833-5.608c-0.789-0.789-1.56-1.593-2.335-2.392l 321.464,0 C 414.088,414.729, 411.362,417.396, 408.565,420z\n\t\t M 424.144,404L 87.865,404 c-2.311-2.619-4.556-5.286-6.734-8l 349.727,0 C 428.684,398.713, 426.448,401.383, 424.144,404z M 436.981,388L 74.999,388 \n\t\tc-1.921-2.628-3.788-5.293-5.59-8l 373.155,0 C 440.763,382.705, 438.901,385.371, 436.981,388z M 447.647,372L 64.31,372 \n\t\tc-1.594-2.631-3.123-5.302-4.608-8l 392.572,0 C 450.786,366.697, 449.245,369.364, 447.647,372z M 456.481,356L 55.508,356 \n\t\tc-1.317-2.64-2.596-5.302-3.812-8l 408.58,0 C 459.062,350.69, 457.801,353.359, 456.481,356z M 463.696,340L 48.291,340 \n\t\tc-1.074-2.652-2.104-5.317-3.072-8L 466.76,332 C 465.79,334.688, 464.768,337.354, 463.696,340z M 470.715,320\n\t\tc-0.398,1.338-0.812,2.671-1.235,4L 42.508,324 c-0.846-2.654-1.647-5.319-2.392-8L 192,316 l0,4 L 470.715,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 147.503,452\n\tc-4.534-2.516-8.971-5.186-13.306-8l 243.613,0 c-4.336,2.815-8.775,5.483-13.312,8L 147.503,452 z M 348.635,460\n\tc-6.556,2.981-13.283,5.65-20.158,8L 183.524,468 c-6.872-2.349-13.594-5.020-20.146-8L 348.635,460 z M 122.679,436\n\tc-3.467-2.573-6.864-5.235-10.173-8l 286.991,0 c-3.309,2.764-6.702,5.428-10.169,8L 122.679,436 z M 95.277,412l 294.096,0 l 8,8L 103.452,420 \n\tC 100.66,417.402, 97.933,414.736, 95.277,412z M 293.373,316l 8,8L 42.537,324 c-0.842-2.646-1.634-5.312-2.38-8L 293.373,316 z M 38.084,308\n\tc-0.629-2.647-1.199-5.317-1.733-8l 241.022,0 l 8,8L 38.084,308 z M 309.373,332l 8,8L 48.312,340 c-1.070-2.644-2.1-5.308-3.071-8L 309.373,332 z\n\t M 325.373,348l 8,8L 55.532,356 c-1.317-2.637-2.581-5.305-3.796-8L 325.373,348 z M 341.373,364l 8,8L 64.357,372 c-1.596-2.632-3.141-5.299-4.63-8\n\tL 341.373,364 z M 357.373,380l 8,8L 75.029,388 c-1.917-2.624-3.778-5.291-5.582-8L 357.373,380 z M 373.373,396l 8,8L 87.868,404 \n\tc-2.301-2.612-4.538-5.281-6.717-8L 373.373,396 z M 265.373,288l 4,4L 34.904,292 c-0.215-1.33-0.428-2.662-0.619-4L 265.373,288 z M 256,32l0,224 L 32,256 \n\tC 32,132.288, 132.288,32, 256,32z M 213.69,476l 84.613,0 c-13.7,2.619-27.84,4-42.304,4C 241.534,480, 227.393,478.62, 213.69,476z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,64C 100.288,64,0,164.288,0,288s 100.288,224, 224,224s 224-100.288, 224-224L 224,288 L 224,64 zM 288,0l0,224 l 224,0 C 512,100.288, 411.712,0, 288,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pie, statistics, stats, chart, graph\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 224,64 C 100.288,64,0,164.288,0,288s 100.288,224, 224,224s 224-100.288, 224-224c0-36.017-8.514-70.042-23.618-100.191\n\t\tL 224,288zM 456.382,123.809C 419.606,50.401, 343.695,0, 256,0l0,224 L 456.382,123.809z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cone, traffic, maintenance\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,448L 313.792,30.465C 308.406,13.709, 293.2,0, 280,0s-34.8,0-48,0s-28.407,13.709-33.792,30.465L 64,448L0,448 l0,64 l 512,0 l0-64 L 448,448 z\n\t M 210.755,96l 90.489,0 l 20.572,64L 190.184,160 L 210.755,96z M 169.613,224l 172.775,0 l 20.571,64L 149.041,288 L 169.613,224z M 107.898,416l 20.571-64\n\tl 255.061,0 l 20.571,64L 107.898,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"construction, maintenance\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,208L 512,80 c0-8.8-7.2-16-16-16L 16,64 C 7.2,64,0,71.2,0,80l0,128 c0,8.8, 7.2,16, 16,16l 60.175,0 L0,448l 96,0 l 32.646-96l 254.707,0 L 416,448\n\tl 96,0 l-76.175-224L 496,224 C 504.8,224, 512,216.8, 512,208z M 416,96l-96,96l-96,0 l 96-96L 416,96 z M 128,96l 96,0 l-96,96L 32,192 L 128,96z M 372.472,320\n\tL 139.529,320 l 32.646-96l 167.65,0 L 372.472,320z M 480,192l-64,0 l 64-64L 480,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"inject, anti virus, medicine, heal, vaccine\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,192l 16-64L 384,0l-64,16l 31.515,31.515l-52.201,52.201l-71.515-71.515l-39.598,39.598l 48.185,48.185\n\t\tc-1.045,0.811-2.055,1.686-3.013,2.644L 54.627,297.373c-12.445,12.444-12.445,32.81,0,45.254L 64,352l0,0 l0,32 l 20.687,20.687L0,489.373\n\t\tl0,0 L 22.627,512l 84.687-84.687L 128,448l 32,0 l 9.373,9.373c 6.223,6.223, 14.425,9.333, 22.627,9.333s 16.405-3.11, 22.627-9.333\n\t\tl 178.746-178.746c 0.958-0.958, 1.833-1.968, 2.644-3.013l 48.185,48.185l 39.598-39.598l-71.515-71.515l 52.201-52.201L 496,192z\n\t\t M 373.574,258.828L 194.829,437.573c-0.937,0.937-2.055,1.133-2.829,1.133s-1.893-0.196-2.828-1.132L 74.426,322.827\n\t\tc-0.936-0.936-1.132-2.054-1.132-2.827s 0.196-1.892, 1.133-2.828l 178.745-178.746c 0.937-0.936, 2.055-1.133, 2.829-1.133\n\t\ts 1.892,0.196, 2.828,1.133l 114.745,114.745C 375.080,254.678, 375.081,257.321, 373.574,258.828z M 395.313,195.716l-79.029-79.029\n\t\tl 52.201-52.201l 79.029,79.029L 395.313,195.716zM 199.514,376.489L 135.514,312.489L 152.484,295.519L 216.484,359.518zM 295.514,280.489L 231.515,216.489L 248.485,199.519L 312.485,263.518zM 247.514,328.489L 183.514,264.489L 200.485,247.519L 264.484,311.518z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"inject, anti virus, medicine, heal, vaccine, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,192l 16-64L 384,0l-64,16l 31.515,31.515l-52.201,52.201l-71.515-71.515l-39.598,39.598l 48.185,48.185\n\tc-1.045,0.811-2.055,1.686-3.013,2.644L 54.627,297.373c-12.445,12.444-12.445,32.81,0,45.254L 64,352l0,0 l0,32 l 20.687,20.687L0,489.373l0,0 \n\tL 22.627,512l 84.687-84.687L 128,448l 32,0 l 9.373,9.373c 6.223,6.223, 14.425,9.333, 22.627,9.333s 16.405-3.11, 22.627-9.333l 178.746-178.746\n\tc 0.958-0.958, 1.833-1.968, 2.644-3.013l 48.185,48.185l 39.598-39.598l-71.515-71.515l 52.201-52.201L 496,192z M 123.34,268.258\n\tl 0.917-0.918l 127.484,113.32l-15.082,15.082L 123.34,268.258z M 235.742,396.66l-15.082,15.082L 107.34,284.258l 0.917-0.918\n\tL 235.742,396.66z M 139.34,252.258l 0.917-0.917l 127.484,113.32l-15.082,15.082L 139.34,252.258z M 155.34,236.258l 0.917-0.917\n\tl 127.484,113.32l-15.082,15.082L 155.34,236.258z M 171.34,220.258l 0.917-0.917l 127.484,113.32l-15.082,15.082L 171.34,220.258z\n\t M 187.34,204.258l 0.917-0.917l 127.484,113.32l-15.082,15.082L 187.34,204.258z M 203.34,188.258l 0.917-0.917l 127.484,113.32\n\tl-15.082,15.082L 203.34,188.258z M 219.34,172.258l 0.918-0.918l 127.484,113.32l-15.082,15.082L 219.34,172.258z M 235.34,156.258\n\tl 0.918-0.918l 127.484,113.32l-15.082,15.082L 235.34,156.258z M 192,438.706c-0.774,0-1.893-0.196-2.828-1.132L 74.426,322.827\n\tc-0.936-0.936-1.132-2.054-1.132-2.827s 0.196-1.892, 1.133-2.828l 1.832-1.832l 127.484,113.32l-8.913,8.913\n\tC 193.893,438.51, 192.774,438.706, 192,438.706z M 204.66,427.742L 91.34,300.258l 0.917-0.918l 127.484,113.32L 204.66,427.742z\n\t M 373.574,258.828l-8.914,8.914L 251.34,140.258l 1.832-1.832c 0.937-0.936, 2.055-1.133, 2.829-1.133s 1.892,0.196, 2.828,1.133\n\tl 114.745,114.745C 375.080,254.678, 375.081,257.321, 373.574,258.828z M 395.313,195.716l-79.029-79.029l 52.201-52.201l 79.029,79.029\n\tL 395.313,195.716z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bug, virus, error\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,288l0-32 l-96.645,0 c-2.931-36.343-15.893-69.513-35.835-96.125l 80.972,0 l 35.030-140.12l-31.045-7.761l-28.97,115.88l-87.34,0 \n\tc-0.446-0.347-0.898-0.687-1.349-1.028c 3.355-9.751, 5.181-20.211, 5.181-31.097C 352,42.869, 309.020,0, 256,0s-96,42.869-96,95.75\n\tc0,10.886, 1.825,21.346, 5.181,31.097c-0.45,0.342-0.902,0.681-1.349,1.028l-87.34,0 l-28.97-115.88l-31.045,7.761l 35.030,140.12l 80.972,0 \n\tC 112.537,186.487, 99.576,219.657, 96.645,256L0,256 l0,32 l 96.685,0 c 1.901,22.832, 7.754,44.406, 16.819,63.875L 51.508,351.875 l-35.030,140.119\n\tl 31.045,7.762l 28.97-115.881l 56.177,0 C 162.016,422.891, 206.368,447.75, 256,447.75s 93.983-24.859, 123.331-63.875l 56.177,0 l 28.97,115.881\n\tl 31.045-7.762l-35.030-140.119l-61.996,0 c 9.065-19.469, 14.918-41.043, 16.818-63.875L 512,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bug, virus, error\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,160l 32-64L 512,32 l-48,96L 407.11,128 c-4.274-4.689-10.553-9.171-19.73-14.311l-70.76-35.377C 300.88,70.439, 273.6,64, 256,64\n\t\t\tc-17.602,0-44.881,6.439-60.623,14.313l-70.758,35.377c-9.181,5.14-15.457,9.623-19.731,14.311L 48,128.001 L0,32l0,64 l 32,64l 64,0 l0,64 L0,256l0,32 \n\t\t\tl 96-32l0,96 L 64,352 L0,512l 32,0 l 51.199-128l 16.712,0 c 4.447,12.48, 12.241,24.669, 21.074,31.734l 110.022,88.021\n\t\t\tC 237.882,509.253, 246.94,512, 256,512c 9.057,0, 18.113-2.747, 24.985-8.245l 110.022-88.021c 8.835-7.065, 16.628-19.254, 21.074-31.734\n\t\t\tL 428.8,384 L 480,512l 32,0 l-64-160l-32,0 l0-96 l 96,32l0-32 l-96-32l0-64 L 480,160 z M 272,448l-32,0 L 240,128 l 32,0 L 272,448 zM 320,62.221L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,30.221 C 210.129,54.116, 237.284,48, 256,48\n\t\tC 274.713,48, 301.865,54.116, 320,62.221z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"patch, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,416L 96,416L 96,448L 64,448zM 384,96L 416,96L 416,128L 384,128zM 352,64L 384,64L 384,96L 352,96zM 64,352L 96,352L 96,384L 64,384zM 128,416L 160,416L 160,448L 128,448zM 416,128L 448,128L 448,160L 416,160zM 416,64L 448,64L 448,96L 416,96zM 478.864,33.137C 458.39,12.664, 430.105,0, 398.864,0c-13.969,0-27.344,2.538-39.695,7.167\n\t\tc-15.27,5.723-28.975,14.644-40.292,25.957l-0.025,0.025L 33.15,318.851l-0.025,0.025c-11.313,11.317-20.234,25.022-25.957,40.292\n\t\tC 2.538,371.52,0,384.895,0,398.863c0,31.241, 12.663,59.526, 33.137,80S 81.896,512, 113.137,512c 13.969,0, 27.344-2.538, 39.695-7.167\n\t\tc 15.27-5.723, 28.975-14.644, 40.292-25.957l 0.025-0.025l 285.701-285.701l 0.025-0.025c 11.313-11.317, 20.234-25.022, 25.957-40.292\n\t\tc 4.629-12.352, 7.167-25.727, 7.167-39.695C 512,81.896, 499.337,53.611, 478.864,33.137z M 192,448l-32,0 l0,32 l-32,0 l0-32 L 96,448 l0,32 L 64,480 l0-32 L 32,448 l0-32 \n\t\tl 32,0 l0-32 L 32,384 l0-32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0,32 l 32,0 l0,32 l 32,0 L 192,448 z M 224,384l-96-96l 32-32l 96,96L 224,384z M 352,256l-96-96l 32-32l 96,96L 352,256z\n\t\t M 480,96l-32,0 l0,32 l 32,0 l0,32 l-32,0 l0,32 l-32,0 l0-32 l-32,0 l0-32 l-32,0 L 352,96 l-32,0 L 320,64 l 32,0 L 352,32 l 32,0 l0,32 l 32,0 L 416,32 l 32,0 l0,32 l 32,0 L 480,96 zM 96,384L 128,384L 128,416L 96,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"aid, medicine, medical, kit, health\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,128l-96,0 L 352,64 c0-17.6-14.4-32-32-32L 192,32 c-17.6,0-32,14.4-32,32l0,64 L 64,128 c-35.2,0-64,28.8-64,64l0,256 c0,35.2, 28.8,64, 64,64l 384,0 \n\tc 35.2,0, 64-28.8, 64-64L 512,192 C 512,156.8, 483.2,128, 448,128z M 192,64l 128,0 l0,64 L 192,128 L 192,64 z M 384,352l-96,0 l0,96 l-64,0 l0-96 l-96,0 l0-64 l 96,0 l0-96 l 64,0 l0,96 l 96,0 \n\tL 384,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"health, medicine, medical, pulse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,320L 384,352L 320,192L 256,384L 160,32L 96,352L0,352L0,384L 122.235,384L 164.794,171.197L 225.128,392.42L 252.937,494.385L 322.734,284.995L 354.288,363.885L 372.313,408.943L 429.256,352L 512,352L 512,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wand, magic, wizard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 258.181,225.909l 94.386-29.34L 256,128.277L 256,0 L 152.532,74.534L 32,32l 42.533,120.533L0,256l 128,0 l 68.567,96.568l 29.341-94.387\n\tL 448,512l 64-64L 258.181,225.909z M 202.327,202.328l-19.579,62.986l-38.084-53.010L 78.712,212.304 l 39.447-52.861L 96.979,96.979l 62.464,21.182\n\tl 52.862-39.447l0,65.952 l 53.008,38.084L 202.327,202.328z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wand, magic, wizard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,96L 64,32L 32,32L 32,64L 96,128 \tzM 160,0L 192,0L 192,64L 160,64zM 288,160L 352,160L 352,192L 288,192zM 320,64L 320,32L 288,32L 224,96L 256,128 \tzM0,160L 64,160L 64,192L0,192zM 160,288L 192,288L 192,352L 160,352zM 32,288L 32,320L 64,320L 128,256L 96,224 \tzM 505,441L 186.941,122.941c-9.334-9.334-24.607-9.334-33.941,0L 122.941,153c-9.334,9.334-9.334,24.607,0,33.941L 441,505\n\t\tc 9.334,9.334, 24.607,9.334, 33.941,0L 505,474.941C 514.334,465.607, 514.334,450.334, 505,441z M 240,272l-96-96l 32-32l 96,96L 240,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screwdriver, fix, tool, make, build\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.256,395.256L 398.361,286.361c-20.765,4.761-43.441-0.932-59.616-17.106c-16.175-16.175-21.867-38.852-17.106-59.616\n\tl-12.895-12.895c-11.030-11.031-38.41-2.154-65.372,19.758L 96,69.13L 80,32L 28.768,0L0,28.768L 32,80l 37.13,16l 147.373,147.372\n\tc-21.913,26.963-30.79,54.342-19.76,65.372c 0.003,0.003, 0.006,0.005, 0.009,0.008l 12.887,12.887\n\tc 20.765-4.761, 43.441,0.931, 59.616,17.106c 16.176,16.176, 21.868,38.852, 17.106,59.616l 108.894,108.895\n\tc 12.976,12.975, 48.565-1.579, 79.494-32.508C 505.677,443.82, 520.23,408.229, 507.256,395.256z M 445.435,445.435\n\tc-3.71,3.71-8.572,5.565-13.435,5.565s-9.725-1.855-13.435-5.565l-160-160c-7.421-7.42-7.421-19.449,0-26.869\n\tc 7.42-7.42, 19.449-7.42, 26.869,0l 160,160C 452.855,425.985, 452.855,438.015, 445.435,445.435z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screwdriver, fix, tool, make, build\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.256,395.256L 308.744,196.744c-11.030-11.031-38.41-2.154-65.372,19.758L 96,69.13L 80,32L 28.768,0L0,28.768L 32,80\n\tl 37.13,16l 147.373,147.372c-21.913,26.963-30.79,54.342-19.76,65.372c 0.003,0.003, 0.006,0.005, 0.009,0.008l 198.503,198.504\n\tc 12.976,12.975, 48.565-1.579, 79.494-32.508C 505.677,443.82, 520.23,408.229, 507.256,395.256z M 445.435,445.435\n\tc-3.71,3.71-8.572,5.565-13.435,5.565s-9.725-1.855-13.435-5.565l-160-160c-7.421-7.42-7.421-19.449,0-26.869\n\tc 7.42-7.42, 19.449-7.42, 26.869,0l 160,160C 452.855,425.985, 452.855,438.015, 445.435,445.435z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"tools, hammer, tool, fix, make, generate, work, build\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 246.278,352.277 L 319.723,425.722 L 261.385,500.634 C 250.694,514.615 231.764,515.871 219.319,503.427 L 168.574,452.681 C 156.129,440.237 157.386,421.307 171.366,410.616 L 246.278,352.277 ZM 636.756,131.246L 560,208.001l-96-96l 76.756-76.755c-9.244-2.122-18.869-3.245-28.756-3.245c-70.692,0-128,57.308-128,128\n\t\tc0,25.498, 7.458,49.253, 20.309,69.208l-71.454,55.646L 224,176.001l 144-144L 208,32.001 l-71.029,71.029l-7.030-7.029L 96,96.001 l0,33.941 l 7.029,7.029\n\t\tL0,240.001l 80,80l 96-96l 169.116,169.115L 464,511.999l 48-47.998L 387.146,339.146l 55.646-71.454\n\t\tc 19.954,12.851, 43.71,20.309, 69.208,20.309c 70.692,0, 128-57.308, 128-128C 640,150.114, 638.877,140.489, 636.756,131.246z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hammer, tool, fix, make, generate, work, build\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 504.998,414.488L 354.226,263.716c-9.334-9.334-24.607-9.334-33.941,0l-11.313,11.313l-92-92L 368,32L 208,32 l-71.029,71.029\n\tL 129.941,96L 96,96 l0,33.941 l 7.029,7.029L0,240l 80,80l 103.029-103.029l 92,92l-11.313,11.313c-9.334,9.334-9.334,24.607,0,33.941\n\tl 150.772,150.772c 9.334,9.334, 24.607,9.334, 33.941,0l 56.568-56.568C 514.332,439.096, 514.332,423.822, 504.998,414.488z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"factory, make, generate, produce, production\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,448L 480,160L 352,256L 352,160L 224,256L 224,128L 96,224L 96,32L 32,32L 32,448L0,448L0,480L 512,480L 512,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224l-120.543-24.108l 68.189-102.284l-45.255-45.255l-102.283,68.189L 288,0l-64,0 l-24.108,120.542L 97.608,52.353\n\t\tL 52.353,97.608l 68.189,102.284L0,224l0,64 l 120.542,24.108L 52.353,414.392l 45.255,45.255l 102.284-68.189L 224,512l 64,0 l 24.108-120.542\n\t\tl 102.283,68.188l 45.255-45.255l-68.188-102.283L 512,288L 512,224 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 \n\t\tL 216.235,160l 79.528,0 L 352,216.236zM 224,224L 288,224L 288,288L 224,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,224l-120.543-24.108l 68.189-102.284l-45.255-45.255l-102.283,68.189L 288,0l-64,0 l-24.108,120.542L 97.608,52.353\n\t\tL 52.353,97.608l 68.189,102.284L0,224l0,64 l 120.542,24.108L 52.353,414.392l 45.255,45.255l 102.284-68.189L 224,512l 64,0 l 24.108-120.542\n\t\tl 102.283,68.188l 45.255-45.255l-68.188-102.283L 512,288L 512,224 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 \n\t\tL 216.235,160l 79.528,0 L 352,216.236z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,208l-112.869-11.287l 71.83-87.791L 403.078,41.040l-87.791,71.829L 304,0l-96,0 l-11.287,112.869L 108.922,41.040\n\tL 41.040,108.922l 71.829,87.791L0,208l0,96 l 112.869,11.287L 41.040,403.078l 67.882,67.883l 87.791-71.83L 208,512l 96,0 l 11.287-112.869\n\tl 87.791,71.83l 67.883-67.883l-71.83-87.791L 512,304L 512,208 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 L 216.235,160\n\tl 79.528,0 L 352,216.236zM 224,224L 288,224L 288,288L 224,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,208l-112.869-11.287l 71.83-87.791L 403.078,41.040l-87.791,71.829L 304,0l-96,0 l-11.287,112.869L 108.922,41.040\n\tL 41.040,108.922l 71.829,87.791L0,208l0,96 l 112.869,11.287L 41.040,403.078l 67.882,67.883l 87.791-71.83L 208,512l 96,0 l 11.287-112.869\n\tl 87.791,71.83l 67.883-67.883l-71.83-87.791L 512,304L 512,208 z M 352,216.236l0,79.528 L 295.764,352l-79.528,0 L 160,295.764l0-79.528 L 216.235,160\n\tl 79.528,0 L 352,216.236z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 316.576,512L 195.423,512 l-12.202-73.212c-1.679-0.669-3.35-1.36-5.010-2.075l-60.396,43.141l-85.669-85.667l 43.058-60.281\n\t\tc-0.738-1.707-1.453-3.425-2.142-5.152L0,316.575L0,195.423 l 72.868-12.144c 0.711-1.795, 1.45-3.582, 2.213-5.355l-42.935-60.108\n\t\tl 85.669-85.669l 59.991,42.851c 1.821-0.788, 3.654-1.549, 5.499-2.282L 195.423,0l 121.153,0 l 12.119,72.715\n\t\tc 1.845,0.733, 3.679,1.494, 5.499,2.282l 59.991-42.851l 85.668,85.669l-42.936,60.107c 0.765,1.774, 1.503,3.561, 2.214,5.357\n\t\tL 512,195.423l0,121.152 l-73.062,12.178c-0.689,1.728-1.403,3.445-2.142,5.151l 43.058,60.281l-85.668,85.668l-60.397-43.141\n\t\tc-1.661,0.714-3.331,1.405-5.011,2.074L 316.576,512z M 227.615,474l 56.77,0 l 10.617-63.705l 10.894-3.6\n\t\tc 7.31-2.416, 14.506-5.396, 21.389-8.856l 10.246-5.151l 52.548,37.533l 40.143-40.143l-37.479-52.472l 5.184-10.26\n\t\tc 3.493-6.913, 6.502-14.146, 8.941-21.499l 3.608-10.874L 474,284.385l0-56.771 l-63.402-10.567l-3.589-10.92\n\t\tc-2.438-7.423-5.454-14.721-8.963-21.69l-5.158-10.25l 37.333-52.265l-40.143-40.144l-52.191,37.279l-10.262-5.192\n\t\tc-6.998-3.541-14.333-6.584-21.801-9.048l-10.902-3.596L 284.385,38l-56.77,0 l-10.537,63.222l-10.902,3.596\n\t\tc-7.465,2.463-14.799,5.507-21.799,9.049l-10.262,5.192l-52.192-37.28l-40.144,40.144l 37.333,52.266l-5.158,10.249\n\t\tc-3.508,6.971-6.523,14.268-8.962,21.69l-3.588,10.921L 38,227.615l0,56.77 l 63.526,10.589l 3.607,10.876\n\t\tc 2.437,7.346, 5.445,14.578, 8.941,21.496l 5.185,10.26l-37.481,52.474l 40.144,40.142l 52.549-37.534l 10.247,5.154\n\t\tc 6.877,3.459, 14.073,6.438, 21.385,8.855l 10.894,3.6L 227.615,474zM 272,192l-32,0 c-26.4,0-48,21.6-48,48l0,32 c0,26.4, 21.6,48, 48,48l 32,0 c 26.4,0, 48-21.6, 48-48l0-32 C 320,213.6, 298.4,192, 272,192z\n\t M 288,272c0,8.8-7.2,16-16,16l-32,0 c-8.8,0-16-7.2-16-16l0-32 c0-8.8, 7.2-16, 16-16l 32,0 c 8.8,0, 16,7.2, 16,16L 288,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,304.047l0-96.094 l-73.387-12.231c-2.979-9.066-6.611-17.834-10.847-26.25l 43.227-60.517l-67.948-67.949l-60.413,43.152\n\t\tc-8.455-4.277-17.269-7.944-26.384-10.951L 304.047,0l-96.094,0 l-12.201,73.208c-9.115,3.007-17.929,6.674-26.383,10.951\n\t\tl-60.414-43.152l-67.949,67.949l 43.227,60.518c-4.235,8.415-7.867,17.183-10.846,26.249L0,207.953l0,96.094 l 73.559,12.26\n\t\tc 2.98,8.984, 6.605,17.674, 10.821,26.015l-43.374,60.724l 67.949,67.948l 60.827-43.447c 8.301,4.175, 16.945,7.764, 25.882,10.717\n\t\tL 207.953,512l 96.094,0 l 12.289-73.737c 8.937-2.953, 17.581-6.542, 25.883-10.716l 60.826,43.446l 67.948-67.948l-43.372-60.723\n\t\tc 4.216-8.341, 7.839-17.031, 10.82-26.016L 512,304.047z M 256,320c-35.346,0-64-28.653-64-64c0-35.346, 28.654-64, 64-64\n\t\tc 35.347,0, 64,28.654, 64,64C 320,291.347, 291.347,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cogs, settings, gears, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 181.861,361.026l 20.649-28.908l-22.627-22.628l-28.909,20.648c-5.361-2.997-11.102-5.387-17.133-7.096L 128,288L 96,288 \n\t\tl-5.84,35.043c-6.031,1.709-11.772,4.099-17.133,7.096L 44.118,309.49L 21.49,332.118l 20.649,28.908\n\t\tc-2.997,5.36-5.387,11.103-7.096,17.133L0,384l0,32 l 35.043,5.841c 1.709,6.030, 4.099,11.772, 7.096,17.133L 21.49,467.882l 22.627,22.628\n\t\tl 28.909-20.648c 5.361,2.997, 11.102,5.387, 17.133,7.096L 96,512l 32,0 l 5.84-35.043c 6.031-1.709, 11.772-4.099, 17.133-7.096l 28.909,20.648\n\t\tl 22.627-22.628l-20.649-28.908c 2.997-5.36, 5.387-11.103, 7.096-17.133L 224,416l0-32 l-35.043-5.841\n\t\tC 187.248,372.129, 184.858,366.387, 181.861,361.026z M 112,432c-17.674,0-32-14.327-32-32s 14.326-32, 32-32s 32,14.327, 32,32\n\t\tS 129.674,432, 112,432zM 512,192l0-32 l-33.691-6.125c-0.621-4.023-1.416-7.989-2.362-11.895l 28.779-18.55L 492.48,93.866l-33.472,7.234\n\t\tc-2.107-3.455-4.363-6.81-6.746-10.065l 19.503-28.171l-22.628-22.627l-28.171,19.503c-3.256-2.383-6.61-4.638-10.065-6.747\n\t\tl 7.234-33.472L 388.571,7.274l-18.55,28.779c-3.906-0.946-7.872-1.741-11.895-2.362L 352,0l-32,0 l-6.126,33.691\n\t\tc-4.023,0.621-7.988,1.416-11.895,2.362L 283.43,7.274L 253.866,19.52l 7.234,33.472c-3.455,2.108-6.81,4.364-10.065,6.747\n\t\tl-28.171-19.503l-22.627,22.627l 19.503,28.171c-2.383,3.255-4.639,6.61-6.747,10.065l-33.472-7.234l-12.246,29.564l 28.779,18.55\n\t\tc-0.946,3.906-1.741,7.871-2.362,11.895L 160,160l0,32 l 33.691,6.125c 0.621,4.023, 1.416,7.989, 2.362,11.895l-28.779,18.55\n\t\tl 12.246,29.564l 33.472-7.234c 2.108,3.455, 4.364,6.809, 6.747,10.065l-19.503,28.171l 22.627,22.628l 28.171-19.503\n\t\tc 3.255,2.383, 6.61,4.638, 10.065,6.746l-7.234,33.472l 29.564,12.246l 18.551-28.779c 3.905,0.946, 7.871,1.741, 11.894,2.362L 320,352l 32,0 \n\t\tl 6.126-33.691c 4.022-0.621, 7.988-1.416, 11.895-2.362l 18.55,28.779l 29.564-12.246l-7.234-33.472\n\t\tc 3.455-2.108, 6.81-4.363, 10.065-6.746l 28.171,19.503l 22.628-22.628l-19.503-28.171c 2.383-3.256, 4.638-6.61, 6.746-10.065\n\t\tl 33.472,7.234l 12.246-29.565l-28.779-18.55c 0.946-3.906, 1.741-7.871, 2.362-11.895L 512,192z M 336,245.6\n\t\tc-38.439,0-69.6-31.161-69.6-69.6c0-38.439, 31.16-69.6, 69.6-69.6s 69.6,31.161, 69.6,69.6C 405.6,214.439, 374.44,245.6, 336,245.6z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cog, preferences, settings, gear, generate, control, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 466.895,305.125c-26.863-46.527-10.708-106.152, 36.076-133.244l-50.313-87.146c-14.375,8.427-31.088,13.259-48.923,13.259\n\tc-53.768,0-97.354-43.873-97.354-97.995L 205.752-0.001 c 0.133,16.705-4.037,33.641-12.979,49.126\n\tc-26.862,46.528-86.578,62.351-133.431,35.379L 9.030,171.65c 14.485,8.236, 27.025,20.294, 35.943,35.739\n\tc 26.819,46.454, 10.756,105.96-35.854,133.112l 50.313,87.146c 14.325-8.348, 30.958-13.127, 48.7-13.127\n\tc 53.598,0, 97.072,43.596, 97.35,97.479l 100.627,0 c-0.043-16.537, 4.136-33.285, 12.983-48.609\n\tc 26.818-46.453, 86.388-62.297, 133.207-35.506l 50.313-87.145C 488.222,332.506, 475.766,320.49, 466.895,305.125z M 256,359.666\n\tc-57.254,0-103.668-46.412-103.668-103.667c0-57.254, 46.413-103.667, 103.668-103.667c 57.254,0, 103.666,46.413, 103.666,103.667\n\tC 359.665,313.254, 313.254,359.666, 256,359.666z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"equalizer, control, options, settings, dashboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,32L 32,32 C 14.4,32,0,46.4,0,64l0,384 c0,17.601, 14.397,32, 32,32l 448,0 c 17.6,0, 32-14.399, 32-32L 512,64 C 512,46.4, 497.6,32, 480,32z\n\t\t M 480,447.943c-0.020,0.020-0.037,0.041-0.061,0.057L 32.057,448 c-0.019-0.017-0.040-0.038-0.056-0.057L 32.001,64.057 \n\t\tc 0.017-0.019, 0.038-0.039, 0.057-0.057l 447.885,0 c 0.021,0.018, 0.041,0.038, 0.060,0.057L 480,447.943L 480,447.943zM 216,352l-24,0 L 192,96 l-64,0 l0,256 l-24,0 c-4.4,0-8,3.6-8,8l0,48 c0,4.4, 3.6,8, 8,8l 112,0 c 4.4,0, 8-3.6, 8-8l0-48 C 224,355.6, 220.4,352, 216,352zM 296,160l 24,0 l0,256 l 64,0 L 384,160 l 24,0 c 4.4,0, 8-3.6, 8-8l0-48 c0-4.4-3.6-8-8-8L 296,96 c-4.399,0-8,3.6-8,8l0,48 C 288,156.4, 291.601,160, 296,160z\n\t\t\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"equalizer, control, options, settings, dashboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 144,160L 80,160 c-8.8,0-16,7.2-16,16l0,32 c0,8.8, 7.2,16, 16,16l 64,0 c 8.8,0, 16-7.2, 16-16l0-32 C 160,167.2, 152.8,160, 144,160zM 96,64L 128,64L 128,144L 96,144zM 96,240L 128,240L 128,448L 96,448zM 272,288l-64,0 c-8.8,0-16,7.2-16,16l0,32 c0,8.8, 7.2,16, 16,16l 64,0 c 8.801,0, 16-7.2, 16-16l0-32 C 288,295.2, 280.801,288, 272,288zM 224.001,64L 256.001,64L 256.001,272L 224.001,272zM 224.001,368L 256.001,368L 256.001,448L 224.001,448zM 400,192l-64,0 c-8.799,0-16,7.2-16,16l0,32 c0,8.8, 7.201,16, 16,16l 64,0 c 8.801,0, 16-7.2, 16-16l0-32 C 416,199.2, 408.801,192, 400,192zM 352,64L 384,64L 384,176L 352,176zM 352,272L 384,272L 384,448L 352,448zM 440,0L 40,0 C 17.944,0,0,17.944,0,40l0,432 c0,22.056, 17.944,40, 40,40l 400,0 c 22.056,0, 40-17.944, 40-40L 480,40 \n\t\tC 480,17.944, 462.056,0, 440,0z M 448,472c0,4.4-3.6,8-8,8L 40,480 c-4.4,0-8-3.6-8-8L 32,40 c0-4.4, 3.6-8, 8-8l 400,0 c 4.4,0, 8,3.6, 8,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"equalizer, control, options, settings, dashboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,224l 8,0 c 13.2,0 24-10.8 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 L 448,0 l-64,0 l 0,96 l-8,0 c-13.2,0, -24,10.8, -24,24l 0,80 c 0,13.2, 10.8,24, 24,24l 8,0 \n\t\tl 0,288 L 448,512 L 448,224 z M 384,128L 448,128 l 0,64 l-64,0 L 384,128 zM 296,416c 13.2,0 24-10.8 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 L 288,0 l-64,0 l 0,288 l-8,0 c-13.2,0, -24,10.8, -24,24l 0,80 c 0,13.2, 10.8,24, 24,24l 8,0 \n\t\tl 0,96 l 64,0 l0-96 L 296,416 z M 224,320l 64,0 l 0,64 l-64,0 L 224,320 zM 136,224c 13.2,0 24-10.8 24-24l0-80 c0-13.2-10.8-24-24-24l-8,0 L 128,0 l-64,0 l 0,96 l-8,0 c-13.2,0, -24,10.8, -24,24l 0,80 c 0,13.2, 10.8,24, 24,24l 8,0 \n\t\tl 0,288 l 64,0 L 128,224 L 136,224 z M 64,128l 64,0 l 0,64 l-64,0 L 64,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"settings, preferences, options\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,64l0-8 c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,8 L0,64 l0,64 l 96,0 l0,8 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\t\tl 288,0 L 512,64 L 224,64 z M 128,128L 128,64 l 64,0 l0,64 L 128,128 zM 416,216c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,8 L0,224 l0,64 l 288,0 l0,8 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\t\tl 96,0 l0-64 l-96,0 L 416,216 z M 320,288l0-64 l 64,0 l0,64 L 320,288 zM 224,376c0-13.2-10.8-24-24-24l-80,0 c-13.2,0-24,10.8-24,24l0,8 L0,384 l0,64 l 96,0 l0,8 c0,13.2, 10.8,24, 24,24l 80,0 c 13.2,0, 24-10.8, 24-24l0-8 \n\t\tl 288,0 l0-64 L 224,384 L 224,376 z M 128,448l0-64 l 64,0 l0,64 L 128,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 507.882,68.117L 448,128l-64-64l 59.882-59.883C 435.057,1.443, 425.698,0, 416,0c-53.021,0-96,42.98-96,96\n\tc0,9.697, 1.442,19.057, 4.116,27.882L 123.882,324.117C 115.057,321.443, 105.698,320, 96,320c-53.021,0-96,42.98-96,96\n\tc0,9.697, 1.442,19.058, 4.117,27.882L 64,384l 64,64l-59.883,59.882C 76.943,510.556, 86.302,512, 96,512c 53.020,0, 96-42.981, 96-96\n\tc0-9.698-1.444-19.059-4.118-27.883l 200.234-200.235C 396.943,190.556, 406.302,192, 416,192c 53.020,0, 96-42.981, 96-96\n\tC 512,86.302, 510.556,76.942, 507.882,68.117z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480.895,365.861L 294.502,213.748c-6.183-5.045-12.183-9.551-17.906-13.495C 283.937,182.971, 288,163.96, 288,144\n\tC 288,64.471, 223.529,0, 144,0c-14.547,0-28.586,2.166-41.823,6.177L 192,96l0,96 L 96,192 L 6.177,102.177C 2.166,115.414,0,129.453,0,144\n\tc0,79.529, 64.471,144, 144,144c 19.96,0, 38.97-4.063, 56.252-11.404c 3.944,5.724, 8.449,11.724, 13.494,17.906L 365.86,480.896\n\tc 31.645,38.776, 86.336,41.702, 121.536,6.502S 519.671,397.506, 480.895,365.861z M 432,480l-48-48l 48-48l 48,48L 432,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 420.438,512C 420.438,512, 420.438,512, 420.438,512c-12.681,0-24.784-5.636-33.207-15.462L 210.156,289.95\n\t\tC 191.547,297.86, 171.335,302, 151,302C 67.738,302,0,234.262,0,151c0-14.908, 2.18-29.661, 6.478-43.849l 7.743-25.558l 96.879,96.879\n\t\tc 2.621,2.621, 6.137,4.064, 9.9,4.064s 7.279-1.443, 9.9-4.064l 47.573-47.574c 5.458-5.458, 5.458-14.341,0-19.8L 81.594,14.222\n\t\tl 25.557-7.744C 121.338,2.18, 136.091,0, 151,0c 83.262,0, 151,67.739, 151,151c0,20.331-4.14,40.543-12.050,59.155L 496.538,387.23\n\t\tc 9.481,8.128, 14.961,19.335, 15.431,31.557c 0.469,12.221-4.136,23.813-12.966,32.643l-47.574,47.574\n\t\tC 443.049,507.385, 432.042,512, 420.438,512z M 218.138,250.091l 193.39,225.621c 2.37,2.766, 5.534,4.288, 8.911,4.288\n\t\tc 2.162,0, 5.368-0.629, 8.363-3.623l 47.574-47.575c 2.455-2.455, 3.739-5.576, 3.616-8.788c-0.124-3.213-1.644-6.227-4.28-8.487\n\t\tL 250.094,218.139l 6.024-11.32C 265.199,189.754, 270,170.452, 270,151c0-65.617-53.383-119-119-119c-2.076,0-4.147,0.054-6.213,0.16\n\t\tL 201.1,88.473c 17.935,17.936, 17.935,47.119,0,65.054L 153.527,201.1c-8.665,8.665-20.216,13.437-32.527,13.437\n\t\tc-12.31,0-23.862-4.772-32.527-13.437L 32.16,144.788C 32.054,146.854, 32,148.925, 32,151c0,65.617, 53.383,119, 119,119\n\t\tc 19.456,0, 38.757-4.801, 55.817-13.882L 218.138,250.091z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"wrench, settings, control, tool, options, preferences, fix\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 501.467,408.938l-230.276-197.38C 281.915,191.409, 288,168.417, 288,144C 288,64.471, 223.529,0, 144,0\n\tc-14.547,0-28.586,2.166-41.823,6.177l 83.195,83.195c 12.445,12.445, 12.445,32.81,0,45.255l-50.745,50.745\n\tc-12.445,12.445-32.81,12.445-45.255,0L 6.177,102.177C 2.166,115.414,0,129.453,0,144c0,79.529, 64.471,144, 144,144\n\tc 24.417,0, 47.409-6.085, 67.558-16.81l 197.38,230.276c 11.454,13.362, 31.008,14.113, 43.452,1.669l 50.746-50.746\n\tC 515.58,439.945, 514.829,420.392, 501.467,408.938z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"unlocked, lock\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,32l-64,0 c-52.935,0-96,43.065-96,96l0,96 L 24,224 c-13.2,0-24,10.8-24,24l0,240 c0,13.2, 10.8,24, 24,24l 272,0 c 13.2,0, 24-10.8, 24-24L 320,248 \n\tc0-13.2-10.8-24-24-24l-8,0 l0-96 c0-17.645, 14.355-32, 32-32l 64,0 c 17.645,0, 32,14.355, 32,32l0,96 l 64,0 l0-96 C 480,75.065, 436.935,32, 384,32z\n\t M 192,448l-64,0 l 13.92-69.6C 133.516,372.634, 128,362.963, 128,352c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32\n\tc0,10.963-5.516,20.634-13.92,26.4L 192,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 296,224l-8,0 l0-96 c0-52.935-43.065-96-96-96l-64,0 c-52.935,0-96,43.065-96,96l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,240 \n\tc0,13.2, 10.8,24, 24,24l 272,0 c 13.2,0, 24-10.8, 24-24L 320,248 C 320,234.8, 309.2,224, 296,224z M 192,448l-64,0 l 13.92-69.6\n\tC 133.516,372.634, 128,362.963, 128,352c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32c0,10.963-5.516,20.634-13.92,26.4L 192,448\n\tz M 224,224L 96,224 l0-96 c0-17.645, 14.355-32, 32-32l 64,0 c 17.645,0, 32,14.355, 32,32L 224,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"unlocked, lock\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,32 C 436.935,32 480,75.065 480,128 L 480,224 L 416,224 L 416,128 C 416,110.355 401.645,96 384,96 L 320,96 C 302.355,96 288,110.355 288,128 L 288,224 L 296,224 C 309.2,224 320,234.8 320,248 L 320,488 C 320,501.2 309.2,512 296,512 L 24,512 C 10.8,512 0,501.2 0,488 L 0,248 C 0,234.8 10.8,224 24,224 L 224,224 L 224,128 C 224,75.065 267.065,32 320,32 L 384,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 296,224l-8,0 l0-96 c0-52.935-43.065-96-96-96l-64,0 c-52.935,0-96,43.065-96,96l0,96 l-8,0 c-13.2,0-24,10.8-24,24l0,240 \n\tc0,13.2, 10.8,24, 24,24l 272,0 c 13.2,0, 24-10.8, 24-24L 320,248 C 320,234.8, 309.2,224, 296,224z M 96,128c0-17.645, 14.355-32, 32-32l 64,0 \n\tc 17.645,0, 32,14.355, 32,32l0,96 L 96,224 L 96,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,224l-32,0 l0-96 C 384,57.308, 326.692,0, 256,0S 128,57.308, 128,128l0,96 L 96,224 c-17.6,0-32,14.4-32,32l0,224 c0,17.6, 14.4,32, 32,32l 320,0 \n\tc 17.6,0, 32-14.4, 32-32L 448,256 C 448,238.4, 433.6,224, 416,224z M 192,128c0-35.29, 28.71-64, 64-64s 64,28.71, 64,64l0,96 L 192,224 L 192,128 z M 416,320\n\tl-160,16l 160,16l-160,16l 160,16l-160,16l 160,16l-160,16l 160,16l-160,16l 159.947,15.995c-0.002,0.001-0.003,0.003-0.005,0.005L 96.058,480 \n\tc-0.002-0.002-0.003-0.004-0.005-0.005L 256,464L 96,448l 160-16L 96,416l 160-16L 96,384l 160-16L 96,352l 160-16L 96,320l 160-16L 96,288\n\tl 160-16L 96.052,256.005c 0.002-0.002, 0.003-0.004, 0.005-0.005l 319.885,0 c 0.002,0.001, 0.003,0.004, 0.005,0.005L 256,272l 160,16l-160,16\n\tL 416,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,224l-32,0 l0-96 C 384,57.308, 326.692,0, 256,0c-70.692,0-128,57.308-128,128l0,96 L 96,224 c-17.6,0-32,14.4-32,32l0,224 \n\tc0,17.6, 14.4,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32L 448,256 C 448,238.4, 433.6,224, 416,224z M 256,416c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 273.673,416, 256,416z M 320,224L 192,224 l0-96 c0-35.29, 28.71-64, 64-64s 64,28.71, 64,64L 320,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"lock, secure, private, encrypted\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,192l-32,0 L 416,32 c0-17.6-14.4-32-32-32L 128,0 c-17.6,0-32,14.4-32,32l0,160 L 64,192 c-17.602,0-32,14.4-32,32l0,256 \n\tc0,17.6, 14.398,32, 32,32l 384,0 c 17.6,0, 32-14.4, 32-32L 480,224 C 480,206.4, 465.6,192, 448,192z M 288,416l-64,0 l 13.92-69.6\n\tC 229.516,340.634, 224,330.963, 224,320c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32c0,10.963-5.516,20.634-13.92,26.4L 288,416\n\tz M 352,192L 160,192 L 160,64 l 192,0 L 352,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"keyhole, entrance, signin sign in, login, log in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128C 384,57.308, 326.693,0, 256,0S 128,57.308, 128,128c0,48.913, 27.439,91.411, 67.76,112.958L 128,512l 256,0 l-67.76-271.042\n\tC 356.561,219.411, 384,176.912, 384,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,192L 238.872,192 C 216.74,153.742, 175.377,128, 128,128C 57.308,128,0,185.308,0,256c0,70.691, 57.308,128, 128,128\n\tc 47.377,0, 88.739-25.742, 110.872-64L 256,320 l 32-32l 32,0 l0,32 l 32,0 l 32-32l 32,0 l0,32 l 32,0 l 64-64L 480,192z M 96,301.255\n\tc-24.994,0-45.255-20.262-45.255-45.255c0-24.994, 20.261-45.255, 45.255-45.255s 45.255,20.261, 45.255,45.255\n\tC 141.255,280.993, 120.994,301.255, 96,301.255z M 256,240l0-16 l 192,0 l 8,16L 256,240 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,8.083c-74.945,0-135.917,60.972-135.917,135.917c0,28.822, 9.025,55.572, 24.388,77.588L 15.029,431.029\n\tc-9.373,9.373-9.373,24.568,0,33.941C 19.716,469.657, 25.858,472, 32,472s 12.284-2.343, 16.971-7.029L 60,453.941l 51.029,51.029\n\tC 115.716,509.657, 121.858,512, 128,512s 12.284-2.343, 16.971-7.029c 9.373-9.373, 9.373-24.568,0-33.941L 93.941,420L 121,392.941\n\tl 51.029,51.029C 176.716,448.657, 182.858,451, 189,451s 12.284-2.343, 16.971-7.029c 9.373-9.373, 9.373-24.568,0-33.941L 154.941,359\n\tl 103.471-103.471c 22.016,15.362, 48.766,24.388, 77.588,24.388c 74.945,0, 135.917-60.972, 135.917-135.917S 410.945,8.083, 336,8.083z\n\t M 336,231.917c-48.478,0-87.917-39.439-87.917-87.917S 287.522,56.083, 336,56.083S 423.917,95.522, 423.917,144\n\tS 384.478,231.917, 336,231.917z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,0c-79.529,0-144,64.471-144,144c0,31.598, 10.186,60.813, 27.441,84.558L 4.667,443.332\n\tc-6.223,6.224-6.223,16.406,0,22.629l 9.372,9.372c 6.223,6.223, 16.406,6.223, 22.628,0L 96,416l 32,32l-27.333,27.332\n\tc-6.223,6.224-6.223,16.406,0,22.629l 9.372,9.372c 6.223,6.223, 16.406,6.223, 22.628,0l 86.666-86.665\n\tc 6.222-6.224, 6.222-16.406,0-22.629l-9.372-9.372c-6.223-6.223-16.406-6.223-22.628,0L 160,416l-32-32l 123.441-123.441\n\tC 275.187,277.815, 304.401,288, 336,288c 79.529,0, 144-64.471, 144-144S 415.529,0, 336,0z M 336,250.4c-58.763,0-106.4-47.637-106.4-106.4\n\tS 277.237,37.6, 336,37.6S 442.4,85.237, 442.4,144S 394.763,250.4, 336,250.4z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 501.066,157.121l-50.553-50.552c-12.396-12.397-32.685-32.684-45.081-45.082l-50.553-50.552\n\tc-12.396-12.397-34.477-14.583-49.065-4.858L 167.595,98.223c-14.588,9.726-20.109,30.514-12.268,46.195l 35.243,70.487\n\tc 1.077,2.153, 2.323,4.448, 3.695,6.83L 16,400L0,512l 96,0 l0-32 l 64,0 l0-64 l 64,0 l0-64l 64,0 l0-35.593 c 3.198,1.906, 6.267,3.608, 9.096,5.022\n\tl 70.485,35.244c 15.683,7.841, 36.47,2.319, 46.195-12.269l 92.147-138.22C 515.65,191.598, 513.462,169.519, 501.066,157.121z\n\t M 75.314,427.313l-22.627-22.627l 155.786-155.785l 22.627,22.627L 75.314,427.313z M 458.51,211.882l-22.628,22.628\n\tc-6.223,6.222-16.404,6.222-22.627,0L 277.49,98.745c-6.223-6.222-6.223-16.405,0-22.627l 22.628-22.628\n\tc 6.223-6.222, 16.404-6.222, 22.627,0L 458.51,189.255C 464.733,195.477, 464.733,205.66, 458.51,211.882z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"key, password, login, log in, signin, sign in\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0c-88.365,0-160,71.634-160,160c0,10.013, 0.929,19.808, 2.688,29.312L0,384l0,96 c0,17.673, 14.327,32, 32,32\n\tl 32,0 l0-32 l 64,0 l0-64 l 64,0 l0-64 l 64,0 l 41.521-41.521C 314.526,316.637, 332.869,320, 352,320c 88.365,0, 160-71.634, 160-160S 440.365,0, 352,0z\n\t M 399.937,160.063c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.447,160.063, 399.937,160.063z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contract, minimize, shrink, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288 L 224,496 L 144,416 L 48,512 L 0,464 L 96,368 L 16,288 ZM 512,48 L 416,144 L 496,224 L 288,224 L 288,16 L 368,96 L 464,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"expand, enlarge, maximize, fullscreen\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,0 L 512,208 L 432,128 L 336,224 L 288,176 L 384,80 L 304,0 ZM 224,336 L 128,432 L 208,512 L 0,512 L 0,304 L 80,384 L 176,288 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"fullscreen, expand, maximize, enlarge\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 480,256l0,160 L 256,416 L 32,416 L 32,256 L 32,96 l 224,0 l 224,0 L 480,256 zM 224,160L 224,224L 288,224L 288,160L 336,160L 256,96L 176,160 \tzM 288,352L 288,288L 224,288L 224,352L 176,352L 256,416L 336,352 \tzM 96,288L 160,288L 160,224L 96,224L 96,176L 32,256L 96,336 \tzM 416,224L 352,224L 352,288L 416,288L 416,336L 480,256L 416,176 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-down, smaller, contract, collapse, minimize\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,128L 96,128 l0,288 l 288,0 L 384,128 z M 352,384L 128,384 L 128,160 l 224,0 L 352,384 zM 40,72l0,400 l 400,0 L 440,72 L 40,72 z M 424,456L 56,456 L 56,88 l 368,0 L 424,456 zM 160,256L 320,256L 320,288L 160,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-up, bigger, expand, fullscreen, enlarge\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,480 l 480,0 L 480,32 L0,32 z M 448,480L 32,480 L 32,64 l 416,0 L 448,480 zM 408,104L 72,104 l0,336 l 336,0 L 408,104 z M 392,424L 88,424 L 88,120 l 304,0 L 392,424 zM 224,288 L 160,288 L 160,256 L 224,256 L 224,192 L 256,192 L 256,256 L 320,256 L 320,288 L 256,288 L 256,352 L 224,352 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contract, minimize, shrink, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,192L 192,0L0,192 \tzM 320,0L 320,192L 512,192 \tzM 320,512L 512,320L 320,320 \tzM 192,512L 192,320L0,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"expand, enlarge, maximize, fullscreen\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192L 192,0L0,0 \tzM 320,0L 512,192L 512,0 \tzM 512,512L 512,320L 320,512 \tzM0,512L 192,512L0,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-down, smaller, contract, collapse, minimize\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,144 L 320,192 L 368,48 ZM 264,0L 280,0L 280,32L 264,32zM 296,0L 312,0L 312,32L 296,32zM 328,0L 344,0L 344,32L 328,32zM 360,0L 376,0L 376,32L 360,32zM 392,0L 408,0L 408,32L 392,32zM 424,0L 440,0L 440,32L 424,32zM 457,0L 473,0L 473,32L 457,32zM 72,0L 88,0L 88,32L 72,32zM 104,0L 120,0L 120,32L 104,32zM 136,0L 152,0L 152,32L 136,32zM 168,0L 184,0L 184,32L 168,32zM 200,0L 216,0L 216,32L 200,32zM 232,0L 248,0L 248,32L 232,32zM 144,48 L 192,192 L 48,144 ZM 48,368 L 192,320 L 144,464 ZM 368,464 L 320,320 L 464,368 ZM 40,0L 56,0L 56,32L 40,32zM 264,480L 280,480L 280,512L 264,512zM 296,480L 312,480L 312,512L 296,512zM 328,480L 344,480L 344,512L 328,512zM 360,480L 376,480L 376,512L 360,512zM 392,480L 408,480L 408,512L 392,512zM 424,480L 440,480L 440,512L 424,512zM 457,480L 473,480L 473,512L 457,512zM 72,480L 88,480L 88,512L 72,512zM 104,480L 120,480L 120,512L 104,512zM 136,480L 152,480L 152,512L 136,512zM 168,480L 184,480L 184,512L 168,512zM 200,480L 216,480L 216,512L 200,512zM 232,480L 248,480L 248,512L 232,512zM 40,480L 56,480L 56,512L 40,512zM 0.5,232.5L 32.5,232.5L 32.5,248.5L 0.5,248.5zM 0.5,200.5L 32.5,200.5L 32.5,216.5L 0.5,216.5zM 0.5,168.5L 32.5,168.5L 32.5,184.5L 0.5,184.5zM 0.5,136.5L 32.5,136.5L 32.5,152.5L 0.5,152.5zM 0.5,104.5L 32.5,104.5L 32.5,120.5L 0.5,120.5zM 0.5,72.5L 32.5,72.5L 32.5,88.5L 0.5,88.5zM 0.5,39.5L 32.5,39.5L 32.5,55.5L 0.5,55.5zM 0.5,424.5L 32.5,424.5L 32.5,440.5L 0.5,440.5zM 0.5,392.5L 32.5,392.5L 32.5,408.5L 0.5,408.5zM 0.5,360.5L 32.5,360.5L 32.5,376.5L 0.5,376.5zM 0.5,328.5L 32.5,328.5L 32.5,344.5L 0.5,344.5zM 0.5,296.5L 32.5,296.5L 32.5,312.5L 0.5,312.5zM 0.5,264.5L 32.5,264.5L 32.5,280.5L 0.5,280.5zM 0.5,456.5L 32.5,456.5L 32.5,472.5L 0.5,472.5zM 480.5,232.5L 512.5,232.5L 512.5,248.5L 480.5,248.5zM 480.5,200.5L 512.5,200.5L 512.5,216.5L 480.5,216.5zM 480.5,168.5L 512.5,168.5L 512.5,184.5L 480.5,184.5zM 480.5,136.5L 512.5,136.5L 512.5,152.5L 480.5,152.5zM 480.5,104.5L 512.5,104.5L 512.5,120.5L 480.5,120.5zM 480.5,72.5L 512.5,72.5L 512.5,88.5L 480.5,88.5zM 480.5,39.5L 512.5,39.5L 512.5,55.5L 480.5,55.5zM 480.5,424.5L 512.5,424.5L 512.5,440.5L 480.5,440.5zM 480.5,392.5L 512.5,392.5L 512.5,408.5L 480.5,408.5zM 480.5,360.5L 512.5,360.5L 512.5,376.5L 480.5,376.5zM 480.5,328.5L 512.5,328.5L 512.5,344.5L 480.5,344.5zM 480.5,296.5L 512.5,296.5L 512.5,312.5L 480.5,312.5zM 480.5,264.5L 512.5,264.5L 512.5,280.5L 480.5,280.5zM 480.5,456.5L 512.5,456.5L 512.5,472.5L 480.5,472.5zM 320,192 L 192,192 L 192,320 L 320,320 L 320,192 Z M 352,160 L 352,160 L 352,352 L 160,352 L 160,160 L 352,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"scale-up, bigger, expand, fullscreen, enlarge\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 480,480L 32,480 L 32,32 l 448,0 L 480,480 zM 336,80 L 480,32 L 432,176 ZM 168,128L 184,128L 184,160L 168,160zM 200,128L 216,128L 216,160L 200,160zM 232,128L 248,128L 248,160L 232,160zM 264,128L 280,128L 280,160L 264,160zM 296,128L 312,128L 312,160L 296,160zM 328,128L 344,128L 344,160L 328,160zM 168,352L 184,352L 184,384L 168,384zM 200,352L 216,352L 216,384L 200,384zM 232,352L 248,352L 248,384L 232,384zM 264,352L 280,352L 280,384L 264,384zM 296,352L 312,352L 312,384L 296,384zM 328,352L 344,352L 344,384L 328,384zM 128,328L 160,328L 160,344L 128,344zM 128,296L 160,296L 160,312L 128,312zM 128,264L 160,264L 160,280L 128,280zM 128,232L 160,232L 160,248L 128,248zM 128,200L 160,200L 160,216L 128,216zM 128,168L 160,168L 160,184L 128,184zM 352,328L 384,328L 384,344L 352,344zM 352,296L 384,296L 384,312L 352,312zM 352,264L 384,264L 384,280L 352,280zM 352,232L 384,232L 384,248L 352,248zM 352,200L 384,200L 384,216L 352,216zM 352,168L 384,168L 384,184L 352,184zM 80,176 L 32,32 L 176,80 ZM 176,432 L 32,480 L 80,336 ZM 432,336 L 480,480 L 336,432 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contract, minimize, shrink, collapse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,288 L 224,288 L 224,480 L 154.87,410.87 L 53.87,511.87 L 0.13,458.13 L 101.13,357.13 ZM 410.87,357.13 L 511.87,458.13 L 458.13,511.87 L 357.13,410.87 L 288,480 L 288,288 L 480,288 ZM 480,224 L 288,224 L 288,32 L 357.13,101.13 L 458.13,0.13 L 511.87,53.87 L 410.87,154.87 ZM 154.87,101.13 L 224,32 L 224,224 L 32,224 L 101.13,154.87 L 0.13,53.87 L 53.87,0.13 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"expand, enlarge, maximize, fullscreen\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,0 L 512,192 L 442.87,122.87 L 336.87,228.87 L 283.13,175.13 L 389.13,69.13 L 320,0 ZM 122.87,69.13 L 228.87,175.13 L 175.13,228.87 L 69.13,122.87 L 0,192 L 0,0 L 192,0 ZM 442.87,389.13 L 512,320 L 512,512 L 320,512 L 389.13,442.87 L 283.13,336.87 L 336.87,283.13 ZM 228.87,336.87 L 122.87,442.87 L 192,512 L 0,512 L 0,320 L 69.13,389.13 L 175.13,283.13 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,0c 88.366,0, 160.001,71.635, 160.001,160c0,32.62-9.771,62.954-26.532,88.251c 0.005-0.007, 0.010-0.015, 0.015-0.022\n\tl 35.18,35.18c 17.436-9.611, 33.847-11.408, 42.221-3.035l 135.764,135.764c 12.497,12.498, 2.366,42.891-22.627,67.885\n\tc-24.994,24.992-55.386,35.123-67.882,22.627L 280.375,370.883c-8.375-8.373-6.576-24.783, 3.033-42.221l-35.178-35.178\n\tc 0.021-0.016, 0.043-0.029, 0.063-0.045C 222.987,310.219, 192.639,320, 160,320C 71.635,320,0,248.365,0,160S 71.635,0, 160,0z\n\t M 69.49,250.509C 93.666,274.686, 125.811,288, 160,288c 34.19,0, 66.334-13.314, 90.511-37.491C 274.687,226.333, 288,194.189, 288,160\n\ts-13.313-66.333-37.489-90.51C 226.334,45.313, 194.19,32, 160,32c-34.189,0-66.334,13.314-90.51,37.49C 45.314,93.667, 32,125.81, 32,160\n\tS 45.314,226.333, 69.49,250.509z M 256,160c0,14.397-3.175,28.051-8.854,40.309c-7.261-66.992-60.462-120.193-127.454-127.455\n\tC 131.949,67.174, 145.604,64, 160,64C 213.021,64, 256,106.979, 256,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom out, smaller, scale, reduce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.054, 384,239.549, 384,192\n\t\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192c0,106.039, 85.961,192, 192,192c 47.549,0, 91.054-17.293, 124.588-45.922\n\t\tc-0.5,10.831, 4.68,24.239, 15.963,36.776l 103.147,121.276c 17.661,19.623, 46.511,21.277, 64.11,3.678S 515.754,453.359, 496.131,435.698\n\t\tz M 192,320c-70.692,0-128-57.308-128-128S 121.308,64, 192,64s 128,57.308, 128,128S 262.693,320, 192,320zM 96,160L 288,160L 288,224L 96,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom in, enlarge, scale\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.054, 384,239.549, 384,192\n\t\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192c0,106.039, 85.961,192, 192,192c 47.549,0, 91.054-17.293, 124.588-45.922\n\t\tc-0.5,10.831, 4.68,24.239, 15.963,36.776l 103.147,121.276c 17.661,19.623, 46.511,21.277, 64.11,3.678S 515.754,453.359, 496.131,435.698\n\t\tz M 192,320c-70.692,0-128-57.308-128-128S 121.308,64, 192,64s 128,57.308, 128,128S 262.693,320, 192,320zM 224,96L 160,96L 160,160L 96,160L 96,224L 160,224L 160,288L 224,288L 224,224L 288,224L 288,160L 224,160 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.055, 384,239.549, 384,192\n\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192s 85.961,192, 192,192c 47.549,0, 91.055-17.293, 124.588-45.922\n\tc-0.5,10.831, 4.68,24.238, 15.963,36.775L 435.698,496.13c 17.661,19.623, 46.511,21.277, 64.109,3.678\n\tC 517.407,482.209, 515.754,453.359, 496.131,435.698z M 287.261,292L 96.74,292 c-2.694-2.56-5.281-5.232-7.762-8l 206.044,0 \n\tC 292.541,286.768, 289.955,289.44, 287.261,292z M 151.544,324c-7.014-2.141-13.79-4.824-20.281-8l 121.475,0 \n\tc-6.491,3.176-13.267,5.859-20.281,8L 151.544,324 z M 117.089,308c-3.851-2.484-7.567-5.156-11.142-8l 172.106,0 \n\tc-3.575,2.844-7.292,5.516-11.143,8L 117.089,308 z M 82.332,276c-1.997-2.596-3.903-5.264-5.715-8l 230.766,0 \n\tc-1.812,2.736-3.718,5.404-5.715,8L 82.332,276 z M 71.701,260c-1.486-2.615-2.894-5.281-4.21-8l 249.018,0 c-1.316,2.719-2.724,5.385-4.21,8\n\tL 71.701,260 z M 63.936,244c-1.071-2.628-2.071-5.294-2.981-8l 262.090,0 c-0.911,2.706-1.91,5.372-2.982,8L 63.936,244 z M 58.539,228\n\tc-0.712-2.637-1.355-5.303-1.912-8l 270.746,0 c-0.557,2.697-1.2,5.363-1.911,8L 58.539,228 z M 53.778,192c0-1.338, 0.024-2.671, 0.062-4\n\tl 276.319,0 c 0.038,1.329, 0.062,2.662, 0.062,4s-0.023,2.671-0.062,4L 53.84,196 C 53.802,194.671, 53.778,193.338, 53.778,192z M 96.74,92l 190.52,0 \n\tc 2.694,2.56, 5.28,5.232, 7.762,8L 88.979,100 C 91.459,97.232, 94.045,94.56, 96.74,92z M 232.456,60c 7.014,2.141, 13.79,4.824, 20.281,8L 131.263,68 \n\tc 6.491-3.176, 13.267-5.859, 20.281-8L 232.456,60 z M 266.91,76c 3.851,2.484, 7.567,5.157, 11.143,8L 105.947,84 \n\tc 3.575-2.843, 7.292-5.516, 11.143-8L 266.91,76 z M 301.667,108c 1.997,2.596, 3.903,5.263, 5.715,8L 76.617,116 c 1.812-2.737, 3.718-5.404, 5.715-8\n\tL 301.667,108 z M 312.298,124c 1.486,2.616, 2.894,5.282, 4.21,8L 67.491,132 c 1.316-2.718, 2.724-5.384, 4.21-8L 312.298,124 z M 320.062,140\n\tc 1.072,2.628, 2.070,5.294, 2.981,8L 60.955,148 c 0.911-2.706, 1.91-5.372, 2.981-8L 320.062,140 z M 325.46,156c 0.712,2.637, 1.355,5.303, 1.912,8\n\tL 56.626,164 c 0.557-2.697, 1.2-5.363, 1.912-8L 325.46,156 z M 328.771,172c 0.385,2.643, 0.692,5.311, 0.925,8L 54.304,180 \n\tc 0.232-2.689, 0.54-5.357, 0.924-8L 328.771,172 z M 329.695,204c-0.232,2.689-0.54,5.357-0.925,8L 55.228,212 c-0.384-2.643-0.692-5.311-0.924-8\n\tL 329.695,204 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496.131,435.698L 374.855,332.551c-12.537-11.283-25.945-16.463-36.776-15.963C 366.707,283.054, 384,239.549, 384,192\n\tC 384,85.961, 298.039,0, 192,0C 85.962,0,0,85.961,0,192c0,106.039, 85.961,192, 192,192c 47.549,0, 91.054-17.293, 124.588-45.922\n\tc-0.5,10.831, 4.68,24.239, 15.963,36.776l 103.147,121.276c 17.661,19.623, 46.511,21.277, 64.11,3.678S 515.754,453.359, 496.131,435.698z\n\t M 192,320c-70.692,0-128-57.308-128-128S 121.308,64, 192,64s 128,57.308, 128,128S 262.693,320, 192,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom out, smaller, scale, reduce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,160L 256,160L 256,192L 96,192zM 318.771,278.924C 339.674,249.979, 352,214.432, 352,176C 352,78.798, 273.202,0, 176,0S0,78.798,0,176s 78.798,176, 176,176\n\t\tc 38.432,0, 73.979-12.326, 102.924-33.229L 448,512l 64-64L 318.771,278.924z M 176,304c-70.692,0-128-57.308-128-128S 105.308,48, 176,48\n\t\ts 128,57.308, 128,128S 246.693,304, 176,304z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"zoom in, enlarge, scale\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96L 160,96L 160,160L 96,160L 96,192L 160,192L 160,256L 192,256L 192,192L 256,192L 256,160L 192,160 \tzM 318.771,278.924C 339.674,249.979, 352,214.432, 352,176C 352,78.798, 273.202,0, 176,0S0,78.798,0,176s 78.798,176, 176,176\n\t\tc 38.432,0, 73.979-12.326, 102.924-33.229L 448,512l 64-64L 318.771,278.924z M 176,304c-70.692,0-128-57.308-128-128S 105.308,48, 176,48\n\t\ts 128,57.308, 128,128S 246.693,304, 176,304z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 449.077,469.246l-114.54-168.305c 65.459-51.835, 83.963-145.677, 39.835-219.126\n\t\tC 326.445,2.041, 222.559-23.857, 142.793,24.060C 63.028,71.993, 37.131,175.876, 85.054,255.643\n\t\tc 43.213,71.942, 131.962,100.047, 207.479,69.717l 95.143,180.783c 2.95,5.611, 9.802,7.523, 15.229,4.273l 42.784-25.72\n\t\tC 451.126,481.433, 452.653,474.482, 449.077,469.246z M 288.781,267.032c-54.211,32.563-124.808,14.959-157.375-39.253\n\t\tc-32.565-54.197-14.952-124.794, 39.253-157.36c 54.189-32.57, 124.787-14.961, 157.351,39.245\n\t\tC 360.579,163.862, 342.978,234.475, 288.781,267.032z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"search, magnifier, lookup, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440.698,471.936L 313.486,285.050c-3.336-4.914-10.234-6.433-15.325-3.379l-16.069,9.668\n\t\tc-5.087,3.050-6.992,9.845-4.229,15.111l 105.281,200.064c 2.763,5.252, 9.177,7.056, 14.271,3.99l 40.101-24.093\n\t\tC 442.608,483.356, 444.033,476.851, 440.698,471.936zM 296.322,266.061c 48.104-30.646, 50.188-110.532, 4.747-181.875c-38.64-60.653-97.389-92.75-143.688-82.201\n\t\tc-10.647,2.086-24.247,7.761-37.93,16.475c-13.683,8.721-24.604,18.643-30.979,27.432C 59.346,83.396, 63.617,150.194, 102.25,210.83\n\t\tc 45.45,71.346, 118.727,103.23, 166.844,72.58l 27.22-17.346L 296.322,266.061z M 278.977,238.831\n\t\tc-31.746,20.215-87.728-8.487-122.253-62.704c-34.536-54.196-36.891-117.063-5.14-137.293c 31.722-20.217, 87.719,8.5, 122.243,62.708\n\t\tC 308.357,155.731, 310.704,218.608, 278.977,238.831z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"binoculars, lookup, search, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,224L 448,224L 416,64L 376,64L 384,0L 288,0L 296,64L 216,64L 224,0L 128,0L 136,64L 96,64L 64,224L 32,224L0,480L0,512L 192,512L 192,224L 224,224L 224,192L 288,192L 288,224L 320,224L 320,512L 512,512L 512,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"binoculars, lookup, search, find\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0L 224,0L 224,32L 32,32zM 288,0L 480,0L 480,32L 288,32zM 476,160l-28,0 L 448,32 L 320,32 l0,128 L 192,160 L 192,32 L 64,32 l0,128 L 36,160 c-19.8,0-36,16.2-36,36l0,280 c0,19.8, 16.2,36, 36,36l 152,0 c 19.8,0, 36-16.2, 36-36L 224,288 l 64,0 \n\tl0,188 c0,19.8, 16.2,36, 36,36l 152,0 c 19.8,0, 36-16.2, 36-36L 512,196 C 512,176.2, 495.8,160, 476,160z M 174,480L 50,480 c-9.9,0-18-7.2-18-16\n\ts 8.1-16, 18-16l 124,0 c 9.9,0, 18,7.2, 18,16S 183.9,480, 174,480z M 272,256l-32,0 c-8.8,0-16-7.2-16-16s 7.2-16, 16-16l 32,0 c 8.8,0, 16,7.2, 16,16\n\tS 280.8,256, 272,256z M 462,480L 338,480 c-9.9,0-18-7.2-18-16s 8.1-16, 18-16l 124,0 c 9.9,0, 18,7.2, 18,16S 471.9,480, 462,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"microscope, research, lab\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,464c-25.943,0-50.785-4.788-73.707-13.504C 168.378,467.154, 160,488.598, 160,512l 192,0 \n\t\tc0-23.402-8.378-44.846-22.293-61.504C 306.785,459.212, 281.944,464, 256,464zM 320,288l0,64 l 43.328,0 c-1.777,1.981-3.608,3.927-5.505,5.823C 330.626,385.021, 294.464,400, 256,400\n\t\ts-74.625-14.979-101.823-42.177C 126.979,330.626, 112,294.464, 112,256c0-36.326, 14.35-71.562, 38.771-98.194l 117.583,91.453\n\t\tl 39.293-50.519L 52.122,0l0,0L0,40.54l 112.794,87.729C 83.033,162.104, 64,207.427, 64,256c0,106.039, 85.961,192, 192,192\n\t\tc 71.066,0, 133.109-38.612, 166.308-96L 512,352 l0-64 L 320,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel, repeat\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,192 L 320,192 L 391.765,120.235 C 355.5,83.972 307.285,64 256,64 C 204.715,64 156.5,83.972 120.235,120.235 C 83.972,156.5 64,204.715 64,256 C 64,307.285 83.972,355.5 120.235,391.765 C 156.5,428.028 204.715,448 256,448 C 307.285,448 355.5,428.028 391.764,391.764 C 394.792,388.737 397.694,385.618 400.492,382.43 L 448.652,424.571 C 401.729,478.154 332.82,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 C 326.693,0 390.684,28.663 437.008,74.992 L 512,0 L 512,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0.021,256.809l-0.011,0.002c0,0, 0.006,0.045, 0.014,0.111c 0.055,1.939, 0.275,3.838, 0.661,5.676\n\tc 0.102,0.873, 0.214,1.83, 0.337,2.887c 0.111,0.943, 0.23,1.957, 0.359,3.039c 0.187,1.283, 0.385,2.646, 0.595,4.088\n\tc 0.428,2.873, 0.9,6.062, 1.454,9.479c 0.674,3.223, 1.402,6.707, 2.182,10.432c 0.355,1.859, 0.888,3.752, 1.393,5.703\n\tc 0.512,1.945, 1.039,3.947, 1.58,6.002c 0.283,1.021, 0.52,2.066, 0.854,3.104c 0.328,1.037, 0.66,2.088, 0.994,3.15\n\tc 0.674,2.117, 1.363,4.283, 2.068,6.494c 0.176,0.553, 0.354,1.105, 0.532,1.662c 0.204,0.551, 0.407,1.104, 0.613,1.658\n\tc 0.413,1.109, 0.829,2.229, 1.251,3.357c 0.848,2.248, 1.711,4.539, 2.59,6.871c 0.984,2.283, 1.985,4.607, 3.002,6.967\n\tc 0.509,1.174, 1.022,2.357, 1.539,3.549c 0.524,1.188, 1.135,2.352, 1.704,3.537c 1.161,2.357, 2.339,4.748, 3.531,7.166\n\tc 1.235,2.393, 2.604,4.756, 3.923,7.164c 0.668,1.199, 1.34,2.404, 2.014,3.615c 0.684,1.205, 1.451,2.375, 2.178,3.57\n\tc 1.475,2.369, 2.965,4.762, 4.467,7.174c 6.32,9.447, 13.338,18.783, 21.105,27.639c 7.856,8.789, 16.363,17.125, 25.346,24.801\n\tc 9.090,7.568, 18.632,14.451, 28.363,20.557c 9.802,6.018, 19.822,11.156, 29.688,15.572c 2.502,1.020, 4.982,2.031, 7.439,3.033\n\tc 1.231,0.486, 2.434,1.016, 3.668,1.459c 1.235,0.434, 2.465,0.867, 3.688,1.297c 2.449,0.842, 4.839,1.734, 7.242,2.496\n\tc 2.416,0.715, 4.802,1.422, 7.156,2.121c 1.178,0.336, 2.33,0.713, 3.502,1.006c 1.173,0.287, 2.338,0.57, 3.493,0.852\n\tc 2.303,0.559, 4.571,1.107, 6.802,1.648c 2.25,0.434, 4.463,0.861, 6.635,1.279c 1.083,0.205, 2.155,0.41, 3.217,0.611\n\tc 0.531,0.1, 1.059,0.199, 1.583,0.299c 0.53,0.074, 1.059,0.146, 1.583,0.221c 2.096,0.291, 4.146,0.576, 6.15,0.855\n\tc 0.999,0.137, 1.986,0.273, 2.961,0.408c 0.973,0.143, 1.952,0.189, 2.907,0.285c 1.911,0.168, 3.772,0.332, 5.582,0.49\n\tc 1.808,0.152, 3.552,0.344, 5.263,0.369c 0.115,0.004, 0.226,0.008, 0.341,0.013C 223.866,497.983, 238.063,512, 255.543,512\n\tc 0.271,0, 0.54-0.014, 0.81-0.021l0,0.011c0,0, 0.045-0.006, 0.112-0.014c 1.939-0.055, 3.837-0.275, 5.675-0.661\n\tc 0.874-0.102, 1.831-0.213, 2.888-0.336c 0.942-0.111, 1.956-0.231, 3.038-0.359c 1.283-0.188, 2.646-0.386, 4.088-0.596\n\tc 2.873-0.428, 6.062-0.9, 9.479-1.454c 3.223-0.674, 6.707-1.402, 10.432-2.181c 1.859-0.356, 3.752-0.889, 5.703-1.393\n\tc 1.946-0.513, 3.947-1.040, 6.002-1.581c 1.022-0.283, 2.066-0.52, 3.104-0.854c 1.037-0.328, 2.087-0.659, 3.15-0.994\n\tc 2.116-0.674, 4.282-1.363, 6.494-2.067c 0.552-0.177, 1.105-0.354, 1.662-0.533c 0.55-0.203, 1.103-0.407, 1.658-0.613\n\tc 1.108-0.412, 2.228-0.829, 3.357-1.25c 2.248-0.849, 4.539-1.712, 6.87-2.591c 2.284-0.984, 4.608-1.985, 6.968-3.002\n\tc 1.174-0.509, 2.357-1.022, 3.549-1.539c 1.188-0.524, 2.351-1.135, 3.537-1.704c 2.357-1.161, 4.747-2.339, 7.165-3.531\n\tc 2.393-1.235, 4.756-2.604, 7.164-3.923c 1.199-0.668, 2.404-1.339, 3.615-2.014c 1.205-0.683, 2.375-1.45, 3.57-2.177\n\tc 2.369-1.476, 4.762-2.965, 7.175-4.468c 9.445-6.32, 18.782-13.337, 27.639-21.105c 8.787-7.856, 17.124-16.363, 24.801-25.345\n\tc 7.568-9.091, 14.451-18.632, 20.556-28.364c 6.018-9.801, 11.157-19.822, 15.571-29.688c 1.021-2.501, 2.031-4.982, 3.034-7.439\n\tc 0.487-1.231, 1.016-2.434, 1.459-3.667c 0.435-1.236, 0.866-2.466, 1.296-3.688c 0.843-2.449, 1.734-4.839, 2.497-7.242\n\tc 0.716-2.416, 1.423-4.802, 2.12-7.155c 0.337-1.179, 0.715-2.33, 1.008-3.502c 0.285-1.174, 0.569-2.338, 0.851-3.494\n\tc 0.559-2.303, 1.108-4.57, 1.648-6.801c 0.434-2.251, 0.86-4.464, 1.279-6.636c 0.205-1.082, 0.409-2.154, 0.611-3.217\n\tc 0.1-0.53, 0.199-1.058, 0.298-1.582c 0.074-0.531, 0.148-1.059, 0.222-1.584c 0.291-2.095, 0.576-4.146, 0.854-6.15\n\tc 0.139-0.998, 0.275-1.985, 0.41-2.961c 0.142-0.973, 0.188-1.951, 0.284-2.906c 0.168-1.911, 0.332-3.773, 0.49-5.582\n\tc 0.152-1.808, 0.343-3.553, 0.369-5.264c 0.010-0.267, 0.020-0.522, 0.029-0.787C 497.746,287.923, 512,273.627, 512,256\n\tc0-0.271-0.014-0.54-0.021-0.81l 0.011,0c0,0-0.006-0.045-0.014-0.112c-0.055-1.939-0.275-3.837-0.661-5.675\n\tc-0.102-0.874-0.214-1.831-0.337-2.888c-0.111-0.943-0.23-1.957-0.359-3.038c-0.187-1.283-0.385-2.647-0.595-4.088\n\tc-0.428-2.873-0.9-6.062-1.454-9.479c-0.674-3.222-1.402-6.707-2.182-10.431c-0.355-1.86-0.888-3.753-1.393-5.704\n\tc-0.512-1.946-1.039-3.947-1.58-6.001c-0.283-1.022-0.52-2.067-0.854-3.104c-0.328-1.038-0.66-2.087-0.994-3.15\n\tc-0.674-2.117-1.363-4.283-2.068-6.495c-0.176-0.551-0.354-1.105-0.532-1.662c-0.204-0.55-0.407-1.103-0.613-1.658\n\tc-0.413-1.108-0.829-2.227-1.251-3.357c-0.848-2.249-1.711-4.54-2.59-6.87c-0.984-2.285-1.985-4.608-3.002-6.968\n\tc-0.51-1.174-1.022-2.357-1.539-3.549c-0.524-1.188-1.135-2.351-1.704-3.538c-1.161-2.357-2.339-4.747-3.531-7.165\n\tc-1.235-2.393-2.604-4.756-3.923-7.164c-0.668-1.199-1.34-2.404-2.014-3.615c-0.684-1.205-1.451-2.375-2.178-3.57\n\tc-1.475-2.37-2.965-4.762-4.467-7.175c-6.32-9.446-13.338-18.782-21.105-27.639c-7.856-8.788-16.363-17.125-25.346-24.801\n\tc-9.090-7.568-18.632-14.451-28.363-20.556c-9.802-6.018-19.822-11.157-29.688-15.571c-2.502-1.020-4.982-2.031-7.439-3.034\n\tc-1.231-0.487-2.434-1.016-3.668-1.459c-1.235-0.435-2.465-0.867-3.688-1.296c-2.449-0.842-4.839-1.734-7.242-2.497\n\tc-2.416-0.716-4.802-1.423-7.156-2.121c-1.178-0.336-2.33-0.714-3.502-1.007c-1.173-0.286-2.338-0.569-3.493-0.851\n\tc-2.303-0.559-4.571-1.108-6.802-1.649c-2.25-0.434-4.463-0.86-6.635-1.279c-1.083-0.206-2.155-0.41-3.217-0.611\n\tc-0.531-0.1-1.059-0.199-1.583-0.298c-0.53-0.074-1.059-0.148-1.583-0.221c-2.096-0.292-4.146-0.577-6.15-0.855\n\tc-0.999-0.138-1.986-0.275-2.961-0.41c-0.973-0.142-1.952-0.188-2.907-0.285c-1.911-0.168-3.772-0.332-5.582-0.49\n\tc-1.808-0.152-3.552-0.343-5.263-0.369c-0.426-0.016-0.837-0.031-1.256-0.046C 287.201,13.999, 273.012,0, 255.543,0\n\tc-0.271,0-0.54,0.014-0.81,0.021l-0.001-0.011c0,0-0.045,0.006-0.111,0.014c-1.939,0.055-3.838,0.275-5.676,0.661\n\tc-0.874,0.102-1.831,0.213-2.888,0.336c-0.942,0.111-1.956,0.231-3.038,0.359c-1.283,0.188-2.646,0.386-4.088,0.596\n\tc-2.873,0.428-6.062,0.9-9.479,1.454c-3.223,0.674-6.707,1.402-10.432,2.181c-1.859,0.356-3.752,0.889-5.703,1.393\n\tc-1.946,0.513-3.947,1.040-6.002,1.581c-1.022,0.283-2.066,0.52-3.104,0.854c-1.037,0.328-2.087,0.659-3.15,0.994\n\tc-2.116,0.674-4.282,1.363-6.494,2.067c-0.552,0.177-1.105,0.354-1.662,0.533c-0.55,0.203-1.103,0.407-1.658,0.613\n\tc-1.108,0.412-2.228,0.829-3.357,1.25c-2.248,0.849-4.539,1.712-6.87,2.591c-2.284,0.984-4.608,1.985-6.968,3.002\n\tc-1.174,0.509-2.357,1.022-3.549,1.539c-1.188,0.524-2.351,1.135-3.537,1.704c-2.357,1.161-4.747,2.339-7.165,3.531\n\tc-2.393,1.235-4.756,2.604-7.164,3.923c-1.199,0.668-2.404,1.339-3.615,2.014c-1.205,0.683-2.375,1.45-3.57,2.177\n\tc-2.369,1.476-4.762,2.965-7.175,4.468c-9.445,6.32-18.782,13.337-27.639,21.105c-8.787,7.856-17.124,16.363-24.801,25.345\n\tc-7.568,9.091-14.451,18.632-20.556,28.364c-6.018,9.801-11.157,19.822-15.571,29.688c-1.021,2.501-2.031,4.982-3.034,7.439\n\tc-0.487,1.231-1.016,2.434-1.459,3.667c-0.435,1.236-0.866,2.466-1.296,3.688c-0.843,2.449-1.734,4.839-2.497,7.242\n\tc-0.716,2.416-1.423,4.802-2.12,7.155c-0.337,1.179-0.715,2.33-1.008,3.502c-0.285,1.174-0.569,2.338-0.851,3.494\n\tc-0.559,2.303-1.108,4.57-1.648,6.801c-0.434,2.251-0.86,4.464-1.279,6.636c-0.205,1.082-0.409,2.154-0.611,3.217\n\tc-0.1,0.53-0.199,1.058-0.298,1.582c-0.074,0.531-0.148,1.059-0.222,1.584c-0.291,2.095-0.576,4.146-0.854,6.15\n\tc-0.139,0.998-0.275,1.985-0.41,2.961c-0.142,0.973-0.188,1.951-0.284,2.906c-0.168,1.911-0.332,3.773-0.49,5.582\n\tc-0.152,1.808-0.343,3.553-0.369,5.264c-0.010,0.274-0.020,0.538-0.029,0.81C 13.763,224.583,0,238.679,0,256\n\tC0,256.271, 0.014,256.539, 0.021,256.809z M 36.759,224.353c 0.021-0.098, 0.043-0.192, 0.064-0.29c 0.322-1.624, 0.816-3.271, 1.278-4.971\n\tc 0.467-1.694, 0.947-3.438, 1.44-5.227c 0.258-0.89, 0.467-1.801, 0.773-2.703c 0.298-0.901, 0.601-1.814, 0.905-2.738\n\tc 0.609-1.841, 1.232-3.725, 1.868-5.647c 0.158-0.479, 0.317-0.962, 0.478-1.446c 0.185-0.477, 0.37-0.957, 0.557-1.438\n\tc 0.373-0.962, 0.75-1.934, 1.13-2.915c 0.76-1.952, 1.535-3.941, 2.323-5.965c 0.884-1.98, 1.783-3.995, 2.696-6.040\n\tc 0.454-1.019, 0.912-2.045, 1.373-3.078c 0.466-1.030, 1.018-2.036, 1.526-3.063c 1.035-2.042, 2.085-4.111, 3.147-6.206\n\tc 1.101-2.071, 2.327-4.112, 3.499-6.196c 0.592-1.037, 1.187-2.080, 1.785-3.128c 0.605-1.043, 1.293-2.051, 1.938-3.083\n\tc 1.308-2.049, 2.628-4.116, 3.959-6.201c 5.617-8.149, 11.816-16.199, 18.665-23.819c 6.937-7.552, 14.421-14.702, 22.299-21.274\n\tc 7.987-6.464, 16.343-12.325, 24.838-17.511c 8.565-5.097, 17.3-9.419, 25.867-13.129c 2.175-0.85, 4.331-1.691, 6.467-2.525\n\tc 1.068-0.406, 2.108-0.855, 3.18-1.222c 1.073-0.357, 2.14-0.714, 3.202-1.068c 2.125-0.693, 4.191-1.444, 6.274-2.071\n\tc 2.092-0.587, 4.157-1.166, 6.196-1.737c 1.019-0.275, 2.013-0.595, 3.027-0.831c 1.015-0.229, 2.022-0.457, 3.022-0.684\n\tc 1.989-0.455, 3.948-0.903, 5.874-1.344c 1.944-0.343, 3.855-0.68, 5.731-1.011c 0.934-0.165, 1.858-0.329, 2.773-0.49\n\tc 0.457-0.081, 0.912-0.162, 1.364-0.242c 0.458-0.056, 0.914-0.111, 1.367-0.166c 1.806-0.224, 3.574-0.441, 5.302-0.655\n\tc 0.86-0.108, 1.711-0.216, 2.551-0.322c 0.837-0.113, 1.682-0.133, 2.505-0.204c 1.646-0.119, 3.249-0.236, 4.808-0.35\n\tc 1.555-0.109, 3.055-0.262, 4.529-0.254c 2.924-0.066, 5.66-0.128, 8.19-0.186c 2.332,0.084, 4.474,0.162, 6.409,0.231\n\tc 0.957,0.027, 1.863,0.054, 2.716,0.078c 1.061,0.067, 2.054,0.13, 2.979,0.189c 1.065,0.069, 2.030,0.133, 2.91,0.19\n\tc 1.628,0.255, 3.296,0.391, 4.995,0.391c 0.233,0, 0.465-0.013, 0.698-0.018c 0.066,0.004, 0.112,0.007, 0.112,0.007l0-0.010 \n\tc 15.57-0.389, 28.375-11.892, 30.778-26.877c 0.271,0.060, 0.532,0.118, 0.806,0.178c 1.623,0.322, 3.271,0.816, 4.971,1.278\n\tc 1.693,0.467, 3.438,0.947, 5.227,1.44c 0.889,0.258, 1.801,0.467, 2.702,0.773c 0.901,0.298, 1.815,0.601, 2.739,0.906\n\tc 1.84,0.609, 3.724,1.232, 5.646,1.868c 0.48,0.158, 0.962,0.317, 1.446,0.478c 0.478,0.185, 0.957,0.37, 1.438,0.556\n\tc 0.963,0.373, 1.934,0.75, 2.915,1.13c 1.952,0.76, 3.942,1.535, 5.966,2.323c 1.98,0.884, 3.994,1.783, 6.040,2.696\n\tc 1.019,0.454, 2.044,0.912, 3.078,1.373c 1.030,0.466, 2.036,1.018, 3.063,1.527c 2.041,1.035, 4.111,2.085, 6.205,3.147\n\tc 2.072,1.101, 4.113,2.327, 6.197,3.499c 1.037,0.592, 2.080,1.187, 3.128,1.786c 1.043,0.605, 2.051,1.293, 3.083,1.938\n\tc 2.049,1.308, 4.115,2.628, 6.201,3.959c 8.148,5.617, 16.199,11.816, 23.818,18.665c 7.552,6.937, 14.703,14.421, 21.275,22.299\n\tc 6.464,7.987, 12.324,16.343, 17.51,24.838c 5.098,8.565, 9.42,17.3, 13.13,25.868c 0.849,2.174, 1.691,4.331, 2.525,6.466\n\tc 0.406,1.068, 0.855,2.108, 1.222,3.18c 0.357,1.073, 0.714,2.14, 1.068,3.202c 0.693,2.125, 1.444,4.192, 2.071,6.274\n\tc 0.587,2.092, 1.165,4.158, 1.737,6.196c 0.275,1.019, 0.595,2.013, 0.83,3.027c 0.23,1.015, 0.458,2.023, 0.684,3.023\n\tc 0.455,1.989, 0.904,3.948, 1.344,5.874c 0.344,1.944, 0.681,3.855, 1.012,5.731c 0.165,0.934, 0.328,1.858, 0.49,2.774\n\tc 0.081,0.457, 0.162,0.912, 0.242,1.364c 0.055,0.458, 0.111,0.914, 0.166,1.367c 0.223,1.806, 0.441,3.574, 0.655,5.302\n\tc 0.108,0.86, 0.216,1.71, 0.321,2.55c 0.113,0.837, 0.134,1.682, 0.205,2.505c 0.119,1.646, 0.236,3.249, 0.35,4.808\n\tc 0.109,1.555, 0.262,3.055, 0.254,4.529c 0.066,2.924, 0.128,5.66, 0.186,8.19c-0.084,2.332-0.162,4.474-0.231,6.409\n\tc-0.027,0.957-0.054,1.863-0.078,2.716c-0.067,1.061-0.13,2.054-0.189,2.979c-0.069,1.065-0.133,2.030-0.19,2.91\n\tC 448.135,252.633, 448,254.301, 448,256c0,0.234, 0.013,0.465, 0.018,0.698c-0.004,0.066-0.008,0.112-0.008,0.112l 0.011,0 \n\tc 0.384,15.383, 11.618,28.064, 26.341,30.685c-0.033,0.148-0.065,0.292-0.099,0.442c-0.322,1.624-0.816,3.271-1.278,4.971\n\tc-0.467,1.694-0.947,3.438-1.44,5.227c-0.258,0.89-0.467,1.801-0.773,2.703c-0.298,0.901-0.601,1.814-0.905,2.738\n\tc-0.609,1.841-1.232,3.725-1.868,5.647c-0.158,0.479-0.317,0.962-0.478,1.446c-0.185,0.477-0.37,0.957-0.557,1.438\n\tc-0.373,0.962-0.75,1.934-1.13,2.915c-0.76,1.952-1.535,3.941-2.323,5.965c-0.884,1.98-1.783,3.995-2.696,6.040\n\tc-0.454,1.019-0.912,2.045-1.373,3.078c-0.466,1.030-1.018,2.036-1.526,3.063c-1.035,2.042-2.085,4.111-3.147,6.206\n\tc-1.101,2.071-2.327,4.112-3.499,6.196c-0.592,1.037-1.187,2.080-1.785,3.128c-0.605,1.043-1.293,2.051-1.938,3.083\n\tc-1.308,2.049-2.628,4.116-3.959,6.201c-5.617,8.149-11.816,16.199-18.665,23.819c-6.937,7.552-14.421,14.702-22.299,21.274\n\tc-7.987,6.464-16.343,12.325-24.838,17.511c-8.565,5.097-17.3,9.419-25.867,13.129c-2.175,0.85-4.331,1.691-6.467,2.525\n\tc-1.068,0.406-2.108,0.855-3.18,1.222c-1.073,0.357-2.14,0.714-3.202,1.068c-2.125,0.693-4.191,1.444-6.274,2.071\n\tc-2.092,0.587-4.157,1.166-6.196,1.737c-1.019,0.275-2.013,0.595-3.027,0.831c-1.015,0.229-2.022,0.457-3.022,0.684\n\tc-1.989,0.455-3.948,0.903-5.874,1.344c-1.944,0.343-3.855,0.68-5.731,1.011c-0.934,0.165-1.858,0.329-2.773,0.49\n\tc-0.457,0.081-0.912,0.162-1.364,0.242c-0.458,0.056-0.914,0.111-1.367,0.166c-1.806,0.224-3.574,0.441-5.302,0.655\n\tc-0.86,0.108-1.711,0.216-2.551,0.322c-0.837,0.113-1.682,0.133-2.505,0.204c-1.646,0.119-3.249,0.236-4.808,0.35\n\tc-1.555,0.109-3.055,0.262-4.529,0.254c-2.924,0.066-5.66,0.128-8.19,0.186c-2.332-0.084-4.474-0.162-6.409-0.231\n\tc-0.957-0.027-1.863-0.054-2.716-0.078c-1.061-0.067-2.054-0.13-2.979-0.189c-1.065-0.069-2.030-0.133-2.91-0.19\n\tc-1.628-0.255-3.296-0.391-4.995-0.391c-0.233,0-0.465,0.013-0.698,0.018c-0.066-0.004-0.112-0.007-0.112-0.007l0,0.010 \n\tc-15.502,0.387-28.262,11.793-30.744,26.682c-1.6-0.32-3.223-0.805-4.896-1.261c-1.693-0.467-3.438-0.947-5.227-1.439\n\tc-0.889-0.258-1.801-0.469-2.702-0.773c-0.901-0.299-1.815-0.602-2.739-0.906c-1.84-0.609-3.724-1.232-5.646-1.869\n\tc-0.48-0.158-0.962-0.316-1.446-0.477c-0.478-0.186-0.957-0.371-1.438-0.557c-0.963-0.373-1.934-0.75-2.915-1.129\n\tc-1.952-0.762-3.942-1.535-5.966-2.324c-1.98-0.885-3.994-1.783-6.040-2.695c-1.019-0.455-2.044-0.912-3.078-1.373\n\tc-1.030-0.467-2.036-1.018-3.063-1.527c-2.041-1.035-4.111-2.086-6.205-3.148c-2.072-1.1-4.113-2.326-6.197-3.498\n\tc-1.037-0.592-2.080-1.188-3.128-1.785c-1.043-0.605-2.051-1.293-3.083-1.939c-2.049-1.307-4.115-2.627-6.201-3.959\n\tc-8.148-5.615-16.199-11.816-23.818-18.664c-7.552-6.938-14.703-14.42-21.275-22.299c-6.464-7.986-12.324-16.342-17.51-24.838\n\tc-5.098-8.564-9.42-17.301-13.13-25.867c-0.849-2.176-1.691-4.332-2.525-6.467c-0.406-1.068-0.855-2.109-1.222-3.18\n\tc-0.357-1.074-0.714-2.141-1.068-3.203c-0.693-2.125-1.444-4.191-2.071-6.273c-0.587-2.092-1.165-4.158-1.737-6.197\n\tc-0.275-1.018-0.595-2.012-0.83-3.027c-0.23-1.014-0.458-2.021-0.684-3.021c-0.455-1.99-0.904-3.949-1.344-5.875\n\tc-0.344-1.943-0.681-3.855-1.012-5.73c-0.165-0.934-0.328-1.859-0.49-2.773c-0.081-0.457-0.162-0.912-0.242-1.365\n\tc-0.055-0.457-0.111-0.914-0.166-1.367c-0.223-1.805-0.441-3.574-0.655-5.301c-0.108-0.861-0.216-1.711-0.321-2.551\n\tc-0.113-0.838-0.134-1.682-0.205-2.506c-0.119-1.645-0.236-3.248-0.35-4.807c-0.109-1.555-0.262-3.055-0.254-4.529\n\tc-0.066-2.924-0.128-5.66-0.186-8.191c 0.084-2.332, 0.162-4.473, 0.231-6.408c 0.027-0.957, 0.054-1.863, 0.078-2.717\n\tc 0.067-1.061, 0.13-2.053, 0.189-2.979c 0.069-1.064, 0.133-2.029, 0.19-2.91C 63.865,259.367, 64,257.699, 64,256\n\tc0-0.233-0.013-0.465-0.018-0.698c 0.004-0.066, 0.008-0.112, 0.008-0.112l-0.011,0 C 63.589,239.5, 51.912,226.613, 36.759,224.353z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 116.626,0 3.271,111.381 0.076,249.987 C 3.036,129.055 94.992,32 208,32 C 322.875,32 416,132.288 416,256 C 416,282.51 437.49,304 464,304 C 490.51,304 512,282.51 512,256 C 512,114.615 397.385,0 256,0 ZM 256,512 C 395.374,512 508.729,400.619 511.924,262.013 C 508.964,382.945 417.008,480 304,480 C 189.125,480 96,379.712 96,256 C 96,229.49 74.51,208 48,208 C 21.49,208 0,229.49 0,256 C 0,397.385 114.615,512 256,512 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 208,464A48,48 12600 1 1 304,464A48,48 12600 1 1 208,464zM0,256A48,48 12600 1 1 96,256A48,48 12600 1 1 0,256zM 416,256A48,48 12600 1 1 512,256A48,48 12600 1 1 416,256zM 60.922,108.922A48,48 12600 1 1 156.922,108.92200000000003A48,48 12600 1 1 60.922,108.92200000000003zM 355.078,403.078A48,48 12600 1 1 451.078,403.078A48,48 12600 1 1 355.078,403.078zM 60.922,403.078A48,48 12600 1 1 156.922,403.078A48,48 12600 1 1 60.922,403.078zM 355.078,108.922A48,48 12600 1 1 451.078,108.92200000000003A48,48 12600 1 1 355.078,108.92200000000003z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,64A64,64 12600 1 1 320,64A64,64 12600 1 1 192,64zM 395.497,256A52.503,52.503 12600 1 1 500.503,256A52.503,52.503 12600 1 1 395.497,256zM 344.212,391.765A47.553,47.553 12600 1 1 439.318,391.765A47.553,47.553 12600 1 1 344.212,391.765zM 212.931,448A43.069,43.069 12600 1 1 299.069,448A43.069,43.069 12600 1 1 212.931,448zM 81.227,391.765A39.009,39.009 12600 1 1 159.245,391.765A39.009,39.009 12600 1 1 81.227,391.765zM 28.669,256A35.331,35.331 12600 1 1 99.331,256A35.331,35.331 12600 1 1 28.669,256zM 88.236,120.236A32,32 12600 1 1 152.236,120.23599999999999A32,32 12600 1 1 88.236,120.23599999999999zM 449.732,120.236c0,32.012-25.953,57.967-57.968,57.967c-32.012,0-57.968-25.955-57.968-57.967\n\tc0-32.016, 25.956-57.967, 57.968-57.967C 423.779,62.269, 449.732,88.22, 449.732,120.236z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 356.223,0 442.978,57.601 485.008,141.496 L 370.504,198.748 C 349.489,156.801 306.111,128 256,128 C 205.889,128 162.511,156.801 141.496,198.748 L 26.992,141.496 C 69.022,57.601 155.778,0 256,0 ZM 382.74,358.502 C 371.524,372.361 358.059,384.36 342.831,393.963 C 316.853,410.342 286.827,419 256,419 C 225.173,419 195.147,410.342 169.169,393.962 C 153.941,384.359 140.475,372.36 129.259,358.501 L 76.468,384.896 C 93.077,408 114.055,427.793 138.341,443.106 C 173.508,465.279 214.194,477 256,477 C 297.807,477 338.492,465.279 373.658,443.107 C 397.944,427.793 418.923,408.001 435.531,384.897 L 382.74,358.502 Z M 370.504,313.252 L 370.504,313.252 L 485.008,370.504 C 442.978,454.398 356.223,512 256,512 C 155.778,512 69.022,454.398 26.992,370.504 L 141.496,313.252 C 162.511,355.199 205.889,384 256,384 C 306.111,384 349.489,355.199 370.504,313.252 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0 C 356.223,0 442.978,57.601 485.008,141.496 L 370.504,198.748 C 349.489,156.801 306.111,128 256,128 C 205.889,128 162.511,156.801 141.496,198.748 L 26.992,141.496 C 69.022,57.601 155.778,0 256,0 ZM 370.504,313.252 L 485.008,370.504 C 442.978,454.398 356.223,512 256,512 C 155.778,512 69.022,454.398 26.992,370.504 L 141.496,313.252 C 162.511,355.199 205.889,384 256,384 C 306.111,384 349.489,355.199 370.504,313.252 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 117.417,175.989C 145.084,128.173, 196.783,96, 256,96s 110.916,32.173, 138.583,79.989l 83.149-48.007\n\t\tC 433.466,51.476, 350.747,0, 256,0S 78.533,51.476, 34.267,127.982L 117.417,175.989z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,128\n\tc 70.692,0, 128,57.308, 128,128s-57.308,128-128,128s-128-57.308-128-128S 185.308,128, 256,128z M 408.735,408.735\n\tC 367.938,449.532, 313.695,472, 256,472c-57.696,0-111.938-22.468-152.735-63.265C 62.468,367.938, 40,313.696, 40,256\n\tc0-57.695, 22.468-111.938, 63.265-152.735l 33.941,33.941c0,0,0,0,0,0c-65.503,65.503-65.503,172.085,0,237.588\n\tC 168.937,406.525, 211.125,424, 256,424c 44.874,0, 87.062-17.475, 118.794-49.206c 65.503-65.503, 65.503-172.084,0-237.588l 33.941-33.941\n\tC 449.532,144.062, 472,198.305, 472,256C 472,313.696, 449.532,367.938, 408.735,408.735z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,256c0-6.090, 0.352-12.098, 1.015-18.011l-92.49-30.052C 1.567,223.507,0,239.569,0,256\n\t\t\tc0,73.615, 31.083,139.961, 80.827,186.662l 57.142-78.648C 111.907,335.551, 96,297.635, 96,256zM 416,256c0,41.634-15.906,79.551-41.969,108.014l 57.142,78.648C 480.917,395.961, 512,329.615, 512,256\n\t\t\tc0-16.431-1.566-32.493-4.524-48.063l-92.49,30.052C 415.648,243.903, 416,249.91, 416,256zM 288,99.204c 45.967,9.331, 84.772,38.371, 107.225,77.913l 92.489-30.051C 451.116,69.356, 376.594,13.036, 288,1.988L 288,99.204 zM 116.775,177.116c 22.453-39.542, 61.258-68.582, 107.225-77.913L 224,1.988 C 135.406,13.036, 60.885,69.356, 24.287,147.065\n\t\t\tL 116.775,177.116zM 322.278,401.664C 302.083,410.868, 279.642,416, 256,416s-46.083-5.132-66.277-14.335l-57.146,78.655\n\t\t\tC 169.18,500.503, 211.245,512, 256,512s 86.82-11.497, 123.424-31.68L 322.278,401.664z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256c-0.639-33.431-7.892-66.758-21.288-97.231c-13.352-30.5-32.731-58.129-56.521-80.96\n\tc-23.776-22.848-51.972-40.91-82.492-52.826C 321.197,13.021, 288.401,7.307, 256,8c-32.405,0.641-64.666,7.687-94.167,20.678\n\tc-29.524,12.948-56.271,31.735-78.367,54.788c-22.112,23.041-39.58,50.354-51.093,79.899C 20.816,192.896, 15.309,224.625, 16,256\n\tc 0.643,31.38, 7.482,62.574, 20.067,91.103c 12.544,28.55, 30.738,54.414, 53.055,75.774c 22.305,21.377, 48.736,38.252, 77.307,49.36\n\tC 194.988,483.389, 225.652,488.688, 256,488c 30.354-0.645, 60.481-7.277, 88.038-19.457c 27.575-12.141, 52.558-29.74, 73.183-51.322\n\tc 20.641-21.57, 36.922-47.118, 47.627-74.715c 6.517-16.729, 10.94-34.2, 13.271-51.899c 0.623,0.036, 1.249,0.060, 1.881,0.060\n\tc 17.673,0, 32-14.326, 32-32c0-0.898-0.047-1.786-0.119-2.666L 512,256.001 z M 461.153,340.974c-11.736,26.601-28.742,50.7-49.589,70.59\n\tc-20.835,19.905-45.5,35.593-72.122,45.895C 312.828,467.798, 284.297,472.685, 256,472c-28.302-0.649-56.298-6.868-81.91-18.237\n\tc-25.625-11.333-48.842-27.745-67.997-47.856c-19.169-20.099-34.264-43.882-44.161-69.529C 51.997,310.736, 47.318,283.271, 48,256\n\tc 0.651-27.276, 6.664-54.206, 17.627-78.845c 10.929-24.65, 26.749-46.985, 46.123-65.405c 19.365-18.434, 42.265-32.935, 66.937-42.428\n\tC 203.356,59.792, 229.755,55.319, 256,56c 26.25,0.653, 52.114,6.459, 75.781,17.017c 23.676,10.525, 45.128,25.751, 62.812,44.391\n\tc 17.698,18.629, 31.605,40.647, 40.695,64.344C 444.412,205.448, 448.679,230.781, 448,256l 0.119,0 c-0.072,0.88-0.119,1.768-0.119,2.666\n\tc0,16.506, 12.496,30.087, 28.543,31.812C 473.431,307.889, 468.278,324.887, 461.153,340.974z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spinner, loading, busy, wait, wheel\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,64A64,64 12600 1 1 320,64A64,64 12600 1 1 192,64zM 327.765,120.235A64,64 12600 1 1 455.765,120.23500000000001A64,64 12600 1 1 327.765,120.23500000000001zM 416,256A32,32 12600 1 1 480,256A32,32 12600 1 1 416,256zM 359.765,391.765A32,32 12600 1 1 423.765,391.765A32,32 12600 1 1 359.765,391.765zM 224.001,448A32,32 12600 1 1 288.001,448A32,32 12600 1 1 224.001,448zM 88.236,391.765A32,32 12600 1 1 152.236,391.765A32,32 12600 1 1 88.236,391.765zM 72.236,120.235A48,48 12600 1 1 168.236,120.23500000000001A48,48 12600 1 1 72.236,120.23500000000001zM 28,256A36,36 12600 1 1 100,256A36,36 12600 1 1 28,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 190.040,305.023c-47.689,25.929-82.896,79.105-91.826,142.978l 315.57,0 c-8.929-63.871-44.137-117.049-91.824-142.978\n\t\tC 288.007,280.883, 288,269.324, 288,256s 0.007-24.882, 33.959-49.023c 47.688-25.928, 82.896-79.105, 91.825-142.977L 98.214,64 \n\t\tc 8.93,63.871, 44.138,117.049, 91.826,142.977C 223.992,231.118, 224,242.676, 224,256S 223.992,280.883, 190.040,305.023zM 64,480.001L 448,480.001L 448,512L 64,512zM 64,0L 448,0L 448,32L 64,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 128,96L 224.001,192L 224.001,320L 128,416L 352,416L 256,320L 256,192 \tzM 480,77.255L 480,0 L0,0 l0,77.255 l 160,160l0,37.489 l-160,160L0,512 l 480,0 l0-77.256 l-160-160l0-37.489 L 480,77.255z M 448,448L 32,448 l 160-160l0-64 \n\t\tL 32,64l 416,0 L 288,224l0,64 L 448,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 346.828,314.38C 309.427,290.036, 288,276.379, 288,256c0-20.378, 21.427-34.036, 58.826-58.379\n\tC 407.055,159.779, 448,85.476, 448,0L 64,0 c0,85.476, 40.945,159.779, 101.174,197.621C 202.573,221.964, 224,235.622, 224,256\n\tc0,20.379-21.427,34.036-58.829,58.38C 104.944,352.223, 64,426.525, 64,512l 384,0 C 448,426.525, 407.057,352.223, 346.828,314.38z\n\t M 129.815,96.91c-8.776-16.792-15.155-35.11-18.968-54.244l 290.306,0 c-3.813,19.134-10.191,37.452-18.969,54.244\n\tc-5.893,11.276-12.767,21.694-20.466,31.090L 150.281,128 C 142.582,118.604, 135.708,108.186, 129.815,96.91z M 248,382.81\n\tc0,21.78-88,54.523-88,86.523l-49.153,0 c 3.813-19.133, 10.191-37.45, 18.967-54.242c 14.308-27.376, 34.383-49.709, 58.057-64.583\n\tl 0.289-0.182l 0.286-0.187l 1.544-1.005c 23.355-15.199, 44.029-28.661, 58.010-44.766L 248,382.81 z M 401.154,469.333L 352,469.333 \n\tc0-32-88-64.743-88-86.523l0-78.44 c 13.98,16.104, 34.654,29.566, 58.010,44.766l 1.544,1.005l 0.286,0.187l 0.289,0.182\n\tc 23.674,14.874, 43.749,37.207, 58.057,64.583C 390.962,431.883, 397.341,450.2, 401.154,469.333z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"busy, wait, loading, hour glass\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 364.496,256C 433.373,212.333, 480,128.396, 480,32c0-10.838-0.596-21.517-1.739-32L 33.74,0 C 32.595,10.484, 32,21.163, 32,32\n\t\tc0,96.396, 46.627,180.333, 115.503,224C 78.627,299.667, 32,383.604, 32,480c0,10.838, 0.595,21.517, 1.739,32l 444.521,0 \n\t\tc 1.144-10.483, 1.739-21.162, 1.739-32C 480,383.604, 433.373,299.667, 364.496,256z M 80,480c0-93.456, 40.081-172.707, 112-198.854\n\t\tl0-50.293 l0,0 C 120.081,204.708, 80,125.457, 80,32l0,0 l 352,0 l0,0 c0,93.457-40.081,172.708-112,198.853l0,50.293 \n\t\tC 391.919,307.293, 432,386.544, 432,480L 80,480 zM 309.813,334.797c-35.827-20.322-37.804-46.684-37.813-62.683L 272,240 c0-15.997, 1.902-42.457, 37.872-62.832\n\t\tc 19.252-11.182, 35.904-28.174, 48.524-49.168L 153.605,128 c 12.633,21.016, 29.306,38.021, 48.583,49.203\n\t\tc 35.827,20.322, 37.803,46.683, 37.813,62.683L 240.001,272 c0,15.996-1.902,42.457-37.872,62.832c-36.311,21.090-63.369,62.842-71.545,113.168\n\t\tl 250.835,0 C 373.237,397.646, 346.154,355.876, 309.813,334.797z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-right, rdquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,480 L 288,32 L 480,32 L 480,256 ZM 0,480 L 0,32 L 192,32 L 192,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-right, rdquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32 L 192,480 L 0,480 L 0,256 ZM 480,32 L 480,480 L 288,480 L 288,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-right, rdquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,320 C 338.144,320 288,269.855 288,208 C 288,146.144 338.144,96 400,96 C 461.856,96 512,146.144 512,208 L 512.5,224 C 512.5,347.712 412.212,448 288.5,448 L 288.5,384 C 331.237,384 371.417,367.357 401.637,337.137 C 407.454,331.319 412.763,325.129 417.552,318.627 C 411.833,319.527 405.972,320 400,320 ZM 112,320 C 50.145,320 0,269.855 0,208 C 0,146.144 50.145,96 112,96 C 173.855,96 224,146.144 224,208 L 224.5,224 C 224.5,347.712 124.212,448 0.5,448 L 0.5,384 C 43.237,384 83.417,367.357 113.637,337.137 C 119.455,331.319 124.764,325.129 129.553,318.627 C 123.833,319.527 117.973,320 112,320 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quotes-left, ldquo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 112.5,224 C 174.356,224 224.5,274.145 224.5,336 C 224.5,397.856 174.356,448 112.5,448 C 50.644,448 0.5,397.856 0.5,336 L 0,320 C 0,196.288 100.288,96 224,96 L 224,160 C 181.263,160 141.083,176.643 110.863,206.863 C 105.046,212.681 99.737,218.871 94.948,225.373 C 100.667,224.473 106.528,224 112.5,224 ZM 400.5,224 C 462.355,224 512.5,274.145 512.5,336 C 512.5,397.856 462.355,448 400.5,448 C 338.645,448 288.5,397.856 288.5,336 L 288,320 C 288,196.288 388.288,96 512,96 L 512,160 C 469.263,160 429.083,176.643 398.863,206.863 C 393.045,212.681 387.736,218.871 382.947,225.373 C 388.667,224.473 394.527,224 400.5,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"hanger, coat hanger, dress\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 497.817,421.401L 288,271.532L 288,232 c0-24-7.75-33-31-33l-9.365,0 c-7.8-1.428-15.98-4.131-21.711-9.79\n\tc-6.833-6.747-11.605-19.376-11.605-30.713c0-11.335, 4.772-23.965, 11.605-30.713c 7.483-7.389, 17.432-11.458, 28.016-11.458\n\tc 10.583,0, 20.531,4.069, 28.013,11.458c 10.249,10.119, 26.865,10.119, 37.112-0.001c 10.249-10.12, 10.248-26.526,0-36.646\n\tC 301.669,73.959, 278.541,64.5, 253.94,64.5c-24.604,0-47.734,9.46-65.13,26.639c-16.64,16.432-26.977,42.241-26.977,67.357\n\tc0,25.119, 10.337,50.929, 26.979,67.36c 10.079,9.951, 22.089,17.292, 35.188,21.725l0,23.951 L 13.4,421.961\n\tc-11.32,8.085-16.119,22.558-11.874,35.805C 5.772,471.013, 18.089,480, 32,480l 448,0 c 0.007,0, 0.015,0, 0.020,0c 17.674,0, 32-14.327, 32-32\n\tC 512.020,436.913, 506.382,427.144, 497.817,421.401z M 115.855,416L 256,319.325L 396.146,416L 115.855,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tshirt, team, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 348.976,64 L 512,96 L 512,224 L 416,224 L 416,480 L 96,480 L 96,224 L 0,224 L 0,96 L 163.024,64 C 173.682,105.405 211.267,136 256,136 C 300.733,136 338.319,105.405 348.976,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"vcard, card, contact\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,96L 64,96 c-35.2,0-64,28.8-64,64l0,224 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,160 C 512,124.8, 483.2,96, 448,96z\n\t M 64,384c0-70.692, 35.817-128, 80-128c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48s-21.49,48-48,48\n\tc 44.183,0, 80,57.308, 80,128L 64,384 z M 448,384L 288,384 l0-32 l 160,0 L 448,384 z M 448,288L 288,288 l0-32 l 160,0 L 448,288 z M 448,192L 288,192 l0-32 l 160,0 L 448,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,192A64,64 12600 1 1 224,192A64,64 12600 1 1 96,192zM 288,96A64,64 12600 1 1 416,96A64,64 12600 1 1 288,96zM 160,288C 71.635,288,0,373.961,0,480l 48,0 c0-20.471, 3.312-40.247, 9.844-58.779c 6.155-17.461, 14.866-33.023, 25.894-46.257\n\t\tC 104.677,349.838, 131.76,336, 160,336s 55.324,13.838, 76.263,38.964c 11.027,13.233, 19.739,28.796, 25.894,46.257\n\t\tC 268.689,439.753, 272,459.529, 272,480l 48,0 C 320,373.961, 248.366,288, 160,288zM 352,192c-47.088,0-89.423,24.413-118.701,63.264c 3.598,1.559, 7.168,3.228, 10.705,5.022\n\t\tc 10.877,5.521, 21.24,12.047, 31.037,19.535c 0.233-0.285, 0.462-0.575, 0.697-0.857C 296.677,253.838, 323.761,240, 352,240\n\t\tc 28.24,0, 55.324,13.838, 76.263,38.964c 11.027,13.233, 19.739,28.796, 25.894,46.257C 460.689,343.753, 464,363.529, 464,384l 48,0 \n\t\tC 512,277.961, 440.366,192, 352,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,128A96,96 12600 1 1 352,128A96,96 12600 1 1 160,128zM 256,256C 149.961,256, 64,356.289, 64,480l 64,0 c0-88.365, 57.307-160, 128-160c 70.691,0, 128,71.635, 128,160l 64,0 \n\t\t\tC 448,356.289, 362.038,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member, employee, job, official\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,96A96,96 10800 1 1 352,96A96,96 10800 1 1 160,96zM 384.039,224l-0.078,0 l-17.634,0 l-99.552,202.122L 304,240l-48-48l-48,48l 37.225,186.122L 145.674,224l-17.635,0 l-0.077,0 \n\t\tC 64,224, 64,266.993, 64,320l0,160 l 384,0 L 448,320 C 448,266.993, 448,224, 384.039,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,321.922l0-14.768 c 19.129-16.6, 32-47.621, 32-83.154c0-53.020-28.653-96-64-96c-35.346,0-64,42.98-64,96\n\t\tc0,35.535, 12.872,66.558, 32.003,83.156l0,14.766 c-73.031,8.895-128,47.634-128,94.078L 416,416 C 416,369.556, 361.031,330.816, 288,321.922zM 160.84,304.806c-13.354-8.158-30.188-13.814-48.839-15.902l0-7.341 c 9.562-8.301, 16-23.799, 16-41.563\n\t\tc0-26.51-14.327-48-32-48s-32,21.49-32,48c0,17.764, 6.438,33.262, 16,41.563l0,7.327 c-45.402,5.079-80,31.397-80,63.109l 89.713,0 \n\t\tC 106.735,332.386, 131.324,316.057, 160.84,304.806zM 432,288.89l0-7.327 c 9.563-8.301, 16-23.799, 16-41.563c0-26.51-14.327-48-32-48s-32,21.49-32,48\n\t\tc0,17.764, 6.438,33.262, 16,41.563l0,7.341 c-18.65,2.088-35.485,7.744-48.84,15.902c 29.516,11.251, 54.104,27.58, 71.127,47.193L 512,351.999 \n\t\tC 512,320.287, 477.403,293.969, 432,288.89z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336.788,330.301c-23.375,17.894-50.901,28.32-80.784,28.32c-29.892,0-57.418-10.427-80.797-28.32\n\t\tC 73.459,351.183,0,410.249,0,480l 512,0 C 512,410.249, 438.54,351.183, 336.788,330.301zM 150.753,176A105.247,144 12600 1 1 361.247,176A105.247,144 12600 1 1 150.753,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,288c 70.692,0, 128-57.308, 128-128S 326.692,32, 256,32S 128,89.308, 128,160S 185.308,288, 256,288z M 160,160\n\t\tc0-1.34, 0.035-2.673, 0.090-4l 191.82,0 c 0.055,1.327, 0.090,2.66, 0.090,4s-0.035,2.673-0.090,4L 160.090,164 C 160.035,162.673, 160,161.34, 160,160z\n\t\t M 188.303,92l 135.395,0 c 2.54,2.529, 4.937,5.202, 7.184,8L 181.12,100 C 183.366,97.202, 185.762,94.529, 188.303,92z M 197.421,84\n\t\tc 3.831-2.96, 7.891-5.637, 12.149-8l 92.859,0 c 4.258,2.363, 8.318,5.040, 12.149,8L 197.421,84 z M 336.661,108c 1.672,2.584, 3.223,5.253, 4.645,8\n\t\tL 170.694,116 c 1.422-2.747, 2.973-5.416, 4.645-8L 336.661,108 z M 344.989,124c 1.061,2.612, 2.011,5.28, 2.842,8L 164.169,132 \n\t\tc 0.831-2.72, 1.781-5.388, 2.841-8L 344.989,124 z M 349.898,140c 0.56,2.629, 1.015,5.297, 1.353,8L 160.749,148 c 0.339-2.703, 0.793-5.371, 1.353-8\n\t\tL 349.898,140 z M 351.251,172c-0.338,2.703-0.793,5.371-1.353,8L 162.102,180 c-0.56-2.629-1.014-5.297-1.353-8L 351.251,172 z M 347.831,188\n\t\tc-0.831,2.72-1.781,5.388-2.842,8L 167.011,196 c-1.061-2.612-2.010-5.28-2.841-8L 347.831,188 z M 341.306,204c-1.422,2.747-2.973,5.416-4.645,8\n\t\tL 175.339,212 c-1.672-2.584-3.223-5.253-4.645-8L 341.306,204 z M 323.697,228L 188.303,228 c-2.541-2.529-4.937-5.202-7.183-8l 149.761,0 \n\t\tC 328.634,222.798, 326.237,225.471, 323.697,228z M 314.579,236c-3.831,2.96-7.892,5.637-12.149,8L 209.57,244 \n\t\tc-4.258-2.363-8.318-5.040-12.149-8L 314.579,236 z M 228.568,252l 54.863,0 c-8.695,2.598-17.902,4-27.432,4S 237.264,254.598, 228.568,252z\n\t\t M 283.432,68l-54.863,0 c 8.696-2.598, 17.902-4, 27.432-4S 274.736,65.402, 283.432,68zM 384,320L 128,320 C 57.308,320,0,377.309,0,448l0,32 l 4.033,0 l 503.934,0 L 512,480 l0-32 C 512,377.309, 454.692,320, 384,320z M 60.303,380l 391.395,0 \n\t\tc 2.54,2.529, 4.937,5.202, 7.184,8L 53.12,388 C 55.366,385.202, 57.762,382.529, 60.303,380z M 69.421,372c 3.831-2.96, 7.891-5.637, 12.149-8\n\t\tL 430.43,364 c 4.258,2.363, 8.318,5.040, 12.149,8L 69.421,372 z M 464.661,396c 1.672,2.584, 3.223,5.254, 4.645,8L 42.694,404 \n\t\tc 1.422-2.746, 2.973-5.416, 4.645-8L 464.661,396 z M 472.989,412c 1.061,2.612, 2.011,5.28, 2.842,8L 36.169,420 c 0.831-2.72, 1.781-5.388, 2.841-8\n\t\tL 472.989,412 z M 477.898,428c 0.56,2.629, 1.015,5.297, 1.353,8L 32.749,436 c 0.339-2.703, 0.793-5.371, 1.353-8L 477.898,428 z M 384,352\n\t\tc 9.529,0, 18.736,1.402, 27.432,4L 100.568,356 c 8.696-2.598, 17.902-4, 27.432-4L 384,352 z M 32,448c0-1.341, 0.035-2.673, 0.090-4l 447.82,0 \n\t\tc 0.055,1.327, 0.090,2.659, 0.090,4L 32,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64c 52.935,0, 96,43.065, 96,96s-43.065,96-96,96s-96-43.065-96-96S 203.065,64, 256,64 M 256,32\n\t\tc-70.692,0-128,57.308-128,128s 57.308,128, 128,128s 128-57.308, 128-128S 326.692,32, 256,32L 256,32zM 384,352c 52.935,0, 96,43.065, 96,96L 32,448 c0-52.935, 43.065-96, 96-96L 384,352 M 384,320L 128,320 C 57.308,320,0,377.309,0,448l0,32 l 4.033,0 \n\t\tl 503.934,0 L 512,480 l0-32 C 512,377.309, 454.692,320, 384,320L 384,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,160A128,128 12600 1 1 384,160A128,128 12600 1 1 128,160zM 384,320L 128,320 C 57.308,320,0,377.309,0,448l0,32 l 4.033,0 l 503.934,0 L 512,480 l0-32 C 512,377.309, 454.692,320, 384,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-block, profile, avatar, person, talk, member, ban\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 368,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224z M 262,368\n\tc0-58.448, 47.552-106, 106-106c 22.375,0, 43.148,6.975, 60.273,18.856L 280.856,428.273C 268.975,411.148, 262,390.375, 262,368z M 368,474\n\tc-22.375,0-43.148-6.975-60.273-18.856l 147.417-147.417C 467.025,324.852, 474,345.625, 474,368C 474,426.448, 426.448,474, 368,474z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-cancel, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 368,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224z M 428.273,280.856\n\tL 368,341.13l-60.273-60.273C 324.852,268.975, 345.625,262, 368,262S 411.148,268.975, 428.273,280.856z M 262,368\n\tc0-22.375, 6.975-43.148, 18.856-60.273L 341.13,368l-60.273,60.273C 268.975,411.148, 262,390.375, 262,368z M 307.727,455.144L 368,394.87\n\tl 60.273,60.273C 411.148,467.025, 390.375,474, 368,474S 324.852,467.025, 307.727,455.144z M 455.144,428.273L 394.87,368l 60.273-60.273\n\tC 467.025,324.852, 474,345.625, 474,368S 467.025,411.148, 455.144,428.273z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-minus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 288,352L 448,352L 448,384L 288,384zM 368,262c 58.448,0, 106,47.552, 106,106s-47.552,106-106,106s-106-47.552-106-106S 309.552,262, 368,262 M 368,224\n\tc-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224L 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-plus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,288L 352,288L 352,352L 288,352L 288,384L 352,384L 352,448L 384,448L 384,384L 448,384L 448,352L 384,352 \tzM 206.92,464L 51.037,464 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\tc0-57.346, 37.193-104, 82.909-104c 45.717,0, 82.909,46.654, 82.909,104c0,4.599-0.258,9.15-0.737,13.636\n\tc 15.016-8.696, 31.351-15.361, 48.629-19.638c-1.249-37.569-14.193-72.845-36.784-99.893C 261.184,56.374, 227.795,40, 192,40\n\ts-69.184,16.374-94.017,46.105C 74.193,114.589, 61.091,152.197, 61.091,192c0,28.64, 6.872,56.533, 19.873,80.664\n\tc 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805C 14.534,411.898,0,453.569,0,488\n\tc0,13.255, 10.745,24, 24,24l 223.923,0 C 231.704,498.46, 217.81,482.232, 206.92,464zM 368,262c 58.448,0, 106,47.552, 106,106s-47.552,106-106,106s-106-47.552-106-106S 309.552,262, 368,262 M 368,224\n\tc-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 447.529,224, 368,224L 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488,512L 152,512 c-13.255,0-24-10.745-24-24c0-34.431, 14.534-76.102, 38.879-111.471c 20.346-29.559, 45.342-51.81, 72.339-64.805\n\t\tc-11.899-10.822-22.147-24.013-30.254-39.061c-13-24.131-19.873-52.024-19.873-80.664c0-39.803, 13.102-77.411, 36.893-105.895\n\t\tC 250.816,56.374, 284.205,40, 320,40s 69.184,16.374, 94.017,46.105c 23.79,28.484, 36.893,66.091, 36.893,105.895\n\t\tc0,28.64-6.872,56.533-19.872,80.664c-8.107,15.048-18.355,28.239-30.255,39.061c 26.997,12.995, 51.993,35.246, 72.339,64.805\n\t\tC 497.466,411.898, 512,453.569, 512,488C 512,501.255, 501.255,512, 488,512z M 179.037,464l 281.926,0 \n\t\tc-4.613-19.67-14.26-41.192-27.381-60.255c-20.727-30.113-46.588-49.811-72.819-55.463c-11.053-2.382-18.944-12.155-18.944-23.462\n\t\tl0-17.146 c0-8.63, 4.633-16.595, 12.135-20.861c 29.739-16.916, 48.956-54.133, 48.956-94.813c0-57.346-37.192-104-82.909-104\n\t\ts-82.909,46.654-82.909,104c0,40.68, 19.217,77.896, 48.957,94.813c 7.501,4.267, 12.134,12.231, 12.134,20.861l0,17.146 \n\t\tc0,11.307-7.892,21.080-18.944,23.462c-26.231,5.652-52.092,25.35-72.82,55.463C 193.296,422.808, 183.651,444.33, 179.037,464zM 98.557,432l-47.52,0 c 4.614-19.67, 14.259-41.192, 27.38-60.255c 20.728-30.113, 46.589-49.811, 72.82-55.463\n\t\tc 11.053-2.382, 18.944-12.155, 18.944-23.462l0-17.146 c0-8.63-4.633-16.595-12.134-20.861c-29.74-16.917-48.957-54.133-48.957-94.813\n\t\tc0-57.346, 37.192-104, 82.909-104c 3.127,0, 6.213,0.226, 9.251,0.651c 13.179-14.667, 28.117-26.587, 44.321-35.502\n\t\tC 228.975,12.533, 210.821,8, 192,8c-35.795,0-69.184,16.374-94.017,46.105C 74.193,82.589, 61.091,120.197, 61.091,160\n\t\tc0,28.64, 6.872,56.533, 19.873,80.664c 8.107,15.048, 18.355,28.238, 30.254,39.061c-26.997,12.995-51.993,35.246-72.339,64.805\n\t\tC 14.534,379.898,0,421.569,0,456c0,13.255, 10.745,24, 24,24l 66.193,0 C 90.931,464.487, 93.792,448.294, 98.557,432z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424,512L 88,512 c-13.255,0-24-10.745-24-24c0-34.431, 14.534-76.102, 38.879-111.471c 20.346-29.559, 45.342-51.81, 72.339-64.805\n\t\tc-11.899-10.822-22.147-24.013-30.254-39.061c-13-24.131-19.873-52.024-19.873-80.664c0-39.803, 13.102-77.411, 36.893-105.895\n\t\tC 186.816,56.374, 220.205,40, 256,40s 69.184,16.374, 94.017,46.105c 23.79,28.484, 36.893,66.091, 36.893,105.895\n\t\tc0,28.64-6.872,56.533-19.872,80.664c-8.107,15.048-18.355,28.239-30.255,39.061c 26.997,12.995, 51.993,35.246, 72.339,64.805\n\t\tC 433.466,411.898, 448,453.569, 448,488C 448,501.255, 437.255,512, 424,512z M 115.037,464l 281.926,0 \n\t\tc-4.613-19.67-14.26-41.192-27.381-60.255c-20.727-30.113-46.588-49.811-72.819-55.463c-11.053-2.382-18.944-12.155-18.944-23.462\n\t\tl0-17.146 c0-8.63, 4.633-16.595, 12.135-20.861c 29.739-16.916, 48.956-54.133, 48.956-94.813c0-57.346-37.192-104-82.909-104\n\t\tc-45.716,0-82.909,46.654-82.909,104c0,40.68, 19.217,77.896, 48.957,94.813c 7.501,4.267, 12.134,12.231, 12.134,20.861l0,17.146 \n\t\tc0,11.307-7.892,21.080-18.944,23.462c-26.231,5.652-52.092,25.35-72.82,55.463C 129.296,422.808, 119.651,444.33, 115.037,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 152.983,292c-0.493,2.762-1.188,5.575-2.164,8l 49.679,0 c-0.688-2.631-1.245-5.306-1.662-8L 152.983,292 zM 9.399,388c-1.724,2.638-3.245,5.306-4.529,8l 194.986,0 c 5.639-2.821, 11.325-5.508, 16.946-8L 9.399,388 zM 41.145,356c-3.452,2.599-6.777,5.269-9.945,8l 202.902,0 c-1.456-2.549-2.89-5.219-4.28-8L 41.145,356 zM 138.285,308c-6.406,1.61-14.68,4.332-24.004,8l 92.448,0 c-1.359-2.521-2.583-5.191-3.661-8L 138.285,308 zM 65.208,340c-4.316,2.558-8.585,5.228-12.75,8l 173.643,0 c-1.117-2.591-2.186-5.255-3.182-8L 65.208,340 zM 1.796,404c-0.776,2.649-1.306,5.317-1.575,8l 170.856,0 c 0.318-0.198, 0.628-0.396, 0.949-0.595\n\t\tc 4.079-2.511, 8.32-4.987, 12.661-7.405L 1.796,404 zM 15.32,380l 221.067,0 c 2.17-0.808, 4.317-1.587, 6.409-2.307c-1.259-1.793-2.542-3.699-3.829-5.693L 22.579,372 \n\t\tC 19.977,374.621, 17.554,377.292, 15.32,380zM 124.279,76l 135.453,0 c-2.175-2.818-4.63-5.498-7.394-8L 131.669,68 C 128.905,70.502, 126.454,73.183, 124.279,76zM 108.402,124l 154.566,0 c 3.915-1.792, 8-3.374, 12.259-4.734c-0.104-1.083-0.226-2.172-0.362-3.266L 109.134,116 \n\t\tC 108.798,118.704, 108.56,121.377, 108.402,124zM 79.513,332L 219.26,332 c-2.667-2.341-5.145-5.021-7.404-8L 95.662,324 C 90.377,326.455, 84.958,329.127, 79.513,332zM 133.849,252l 70.037,0 c 0.404-0.855, 0.826-1.697, 1.269-2.525c-0.159-1.705-0.313-3.543-0.453-5.475l-75.065,0 \n\t\tC 130.987,246.799, 132.404,249.47, 133.849,252zM 112.354,212c 2.376,2.069, 5.055,3.283, 7.928,3.283c 0.263,1.593, 0.581,3.161, 0.921,4.717l 83.138,0 \n\t\tc 0.127-2.611, 0.314-5.279, 0.581-8L 112.354,212 zM 108.801,148c 0.248,3.018, 0.528,5.713, 0.775,8l 114.753,0 c 1.916-2.729, 4.008-5.4, 6.284-8L 108.801,148 zM 108.141,132c-0.014,2.779, 0.048,5.453, 0.156,8l 130.18,0 c 3.217-2.898, 6.626-5.564, 10.224-8L 108.141,132 zM 112.378,100c-0.776,2.656-1.424,5.33-1.958,8l 163.155,0 c-0.534-2.67-1.182-5.344-1.958-8L 112.378,100 zM 119.006,84c-1.456,2.603-2.729,5.278-3.839,8l 153.67,0 c-1.109-2.722-2.381-5.397-3.836-8L 119.006,84 zM 198.009,276l-46.956,0 c 1.94,2.176, 3.142,3.359, 3.142,3.359s-0.018,1.878-0.225,4.641l 44.044,0 \n\t\tC 197.873,281.315, 197.868,278.64, 198.009,276zM 163.364,52c-7.931,1.915-14.756,4.643-20.622,8l 98.528,0 c-5.857-3.354-12.666-6.085-20.583-8L 163.364,52 zM 138.783,260c 1.968,2.971, 3.896,5.648, 5.69,8l 54.435,0 c 0.471-2.743, 1.096-5.417, 1.889-8L 138.783,260 zM 204.128,228l-80.822,0 c 0.846,2.745, 1.796,5.413, 2.82,8l 78.136,0 C 204.169,233.445, 204.117,230.776, 204.128,228zM 103.475,196c 0.755,2.85, 1.761,5.56, 2.979,8l 99.473,0 c 0.403-2.643, 0.885-5.312, 1.459-8L 103.475,196 zM 108.591,164c-2.11,2.245-3.676,4.977-4.76,8l 111.377,0 c 1.226-2.693, 2.57-5.365, 4.062-8L 108.591,164 zM 102.089,180c-0.256,2.622-0.25,5.319-0.014,8l 107.282,0 c 0.754-2.668, 1.621-5.338, 2.585-8L 102.089,180 zM 367.497,402.687c-9.476-1.494-9.692-27.327-9.692-27.327s 27.844-27.328, 33.912-64.076\n\tc 16.326,0, 26.407-39.069, 10.082-52.814c 0.681-14.47, 20.984-113.588-81.799-113.588c-102.782,0-82.479,99.118-81.799,113.588\n\tc-16.327,13.745-6.244,52.814, 10.081,52.814c 6.067,36.748, 33.913,64.076, 33.913,64.076s-0.216,25.833-9.692,27.327\n\tC 241.979,407.503, 128,457.345, 128,512l 192,0 l 192,0 C 512,457.345, 398.021,407.503, 367.497,402.687z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-block, profile, avatar, person, talk, member, ban\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 ZM 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 294,368\n\tc0-58.448, 47.552-106, 106-106c 22.375,0, 43.149,6.975, 60.274,18.856L 312.856,428.274C 300.975,411.149, 294,390.375, 294,368z M 400,474\n\tc-22.375,0-43.149-6.975-60.274-18.856l 147.418-147.418C 499.025,324.851, 506,345.625, 506,368C 506,426.448, 458.448,474, 400,474z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-cancel, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 480,314.869\n\t\tL 426.869,368L 480,421.131L 480,448 l-26.869,0 L 400,394.869L 346.869,448L 320,448 l0-26.869 L 373.131,368L 320,314.869L 320,288 l 26.869,0 L 400,341.131\n\t\tL 453.131,288L 480,288 L 480,314.869 zM 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-minus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,288L 512,288L 512,352L 320,352zM 384,422.743c-41.683-38.573-112.118-67.481-136.587-71.375c-11.056-1.759-11.308-32.157-11.308-32.157\n\ts 32.484-32.158, 39.564-75.401c 19.045,0, 30.809-45.973, 11.761-62.148C 288.227,164.635, 311.911,48, 192,48\n\tS 95.775,164.635, 96.568,181.662c-19.047,16.175-7.285,62.148, 11.761,62.148c 7.079,43.243, 39.564,75.401, 39.564,75.401\n\ts-0.252,30.398-11.307,32.157C 112.118,355.262, 41.682,384.17,0,422.743L0,480 l 192,0 l 192,0 L 384,422.743 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-minus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 ZM 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 480,384L 320,384 l0-32 l 160,0 \n\tL 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user-plus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288L 448,224L 384,224L 384,288L 320,288L 320,352L 384,352L 384,416L 448,416L 448,352L 512,352L 512,288 zM 384,422.743c-41.683-38.573-112.118-67.481-136.587-71.375c-11.056-1.759-11.308-32.157-11.308-32.157\n\ts 32.484-32.158, 39.564-75.401c 19.045,0, 30.809-45.973, 11.761-62.148C 288.227,164.635, 311.911,48, 192,48\n\tS 95.775,164.635, 96.568,181.662c-19.047,16.175-7.285,62.148, 11.761,62.148c 7.079,43.243, 39.564,75.401, 39.564,75.401\n\ts-0.252,30.398-11.307,32.157C 112.118,355.262, 41.682,384.17,0,422.743L0,480 l 192,0 l 192,0 L 384,422.743 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"user-plus, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 218,368 C 218,396.688 224.681,423.841 236.555,448 L 192,448 L 0,448 L 0,390.743 C 41.682,352.17 112.118,323.262 136.586,319.368 C 147.641,317.609 147.893,287.211 147.893,287.211 C 147.893,287.211 115.408,255.053 108.329,211.81 C 89.283,211.81 77.521,165.837 96.568,149.662 C 95.775,132.635 72.089,16 192,16 C 311.911,16 288.227,132.635 287.43,149.662 C 306.478,165.837 294.714,211.81 275.669,211.81 C 273.538,224.827 269.098,236.827 263.942,247.261 C 253.726,258.761 244.935,271.551 237.865,285.366 C 236.756,286.563 236.105,287.211 236.105,287.211 C 236.105,287.211 236.11,287.808 236.148,288.815 C 224.526,312.77 218,339.636 218,368 ZM 400,224c-79.529,0-144,64.471-144,144s 64.471,144, 144,144s 144-64.471, 144-144S 479.529,224, 400,224z M 480,384l-64,0 l0,64 l-32,0 \n\tl0-64 l-64,0 l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 L 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"users, people, group, team, members, community\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 367.497,402.687c-9.476-1.494-9.692-27.327-9.692-27.327s 27.844-27.328, 33.912-64.076\n\tc 16.326,0, 26.407-39.069, 10.082-52.814c 0.681-14.47, 20.984-113.588-81.799-113.588c-102.782,0-82.479,99.118-81.799,113.588\n\tc-16.327,13.745-6.244,52.814, 10.081,52.814c 6.067,36.748, 33.913,64.076, 33.913,64.076s-0.216,25.833-9.692,27.327\n\tC 241.979,407.503, 128,457.345, 128,512l 192,0 l 192,0 C 512,457.345, 398.021,407.503, 367.497,402.687zM 172.027,411.405c 22.047-13.575, 48.813-26.154, 70.769-33.712c-7.876-11.216-16.647-26.468-22.165-44.531\n\tc-7.703-6.283-13.972-15.266-17.999-26.301c-4.033-11.052-5.561-23.426-4.304-34.842c 0.902-8.196, 3.239-15.833, 6.825-22.544\n\tc-2.175-23.293-3.707-69.017, 26.224-102.366c 11.607-12.933, 26.278-22.23, 43.85-27.843C 272.090,86.886, 255.647,48.881, 192,48.881\n\tc-102.782,0-82.479,99.118-81.799,113.588c-16.327,13.745-6.244,52.814, 10.081,52.814c 6.067,36.748, 33.913,64.076, 33.913,64.076\n\ts-0.216,25.833-9.692,27.327C 113.979,311.503,0,361.345,0,416l 164.798,0 C 167.153,414.463, 169.551,412.93, 172.027,411.405z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"user, profile, avatar, person, talk, member\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 311.413,351.368c-11.055-1.759-11.307-32.157-11.307-32.157s 32.484-32.158, 39.564-75.401\n\tc 19.045,0, 30.809-45.973, 11.761-62.148C 352.226,164.635, 375.911,48, 256,48c-119.911,0-96.225,116.635-95.432,133.662\n\tc-19.047,16.175-7.285,62.148, 11.761,62.148c 7.079,43.243, 39.564,75.401, 39.564,75.401s-0.252,30.398-11.307,32.157\n\tC 164.976,357.034, 32,415.685, 32,480l 224,0 l 224,0 C 480,415.685, 347.024,357.034, 311.413,351.368z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-forward, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 363.878,223.997L 255.875,320l0-96 C 167.578,224, 96,166.692, 96,96c0-10.113, 1.471-19.95, 4.24-29.387\n\tc 4.406,20.518, 13.669,39.375, 28.062,55.002c 30.944,33.601, 78.688,44.84, 127.573,34.937L 255.875,64 l 108.003,96.003\n\tc 19.997,17.776, 19.997,27.497, 19.997,31.997S 383.875,206.221, 363.878,223.997z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-reply, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,224l0,96 l-108.003-96.003C 96,206.221, 96,196.5, 96,192s0-14.221, 19.997-31.997L 224,64l0,92.552 \n\tc 48.885,9.903, 96.629-1.336, 127.573-34.937c 14.393-15.628, 23.655-34.485, 28.062-55.002c 2.77,9.436, 4.24,19.273, 4.24,29.386\n\tC 383.875,166.692, 312.297,224, 224,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-forward, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 363.878,223.997L 255.875,320l0-92.552 c-48.885-9.903-96.629,1.336-127.573,34.937\n\tc-14.393,15.627-23.655,34.484-28.062,55.002C 97.471,307.95, 96,298.113, 96,288c0-70.692, 71.578-128, 159.875-128L 255.875,64 l 108.003,96.003\n\tc 19.997,17.776, 19.997,27.497, 19.997,31.997S 383.875,206.221, 363.878,223.997z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-replu, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 379.635,317.387c-4.406-20.518-13.669-39.375-28.062-55.002c-30.944-33.601-78.688-44.84-127.573-34.937\n\tL 224,320 l-108.003-96.003C 96,206.221, 96,196.5, 96,192s0-14.221, 19.997-31.997L 224,64l0,96 c 88.297,0, 159.875,57.308, 159.875,128\n\tC 383.875,298.113, 382.404,307.95, 379.635,317.387z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-last, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 332.003,223.997L 224,320l0-96 L 96,224 l0-64 l 128,0 L 224,64 l 108.003,96.003C 352,177.779, 352,187.5, 352,192\n\tS 352,206.221, 332.003,223.997z M 416,320l-32,0 L 384,64 l 32,0 L 416,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-first, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 128,320L 96,320 L 96,64 l 32,0 L 128,320 z M 416,224L 288,224 l0,96 l-108.003-96.003C 160,206.221, 160,196.5, 160,192\n\ts0-14.221, 19.997-31.997L 288,64l0,96 l 128,0 L 416,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-down, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 287.997,300.003C 270.221,320, 260.5,320, 256,320s-14.221,0-31.997-19.997L 128,192l 96,0 L 224,96 l 64,0 l0,96 l 96,0 \n\tL 287.997,300.003z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-up, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 288,224l0,96 l-64,0 l0-96 l-96,0 l 96.003-108.003C 241.779,96, 251.5,96, 256,96s 14.221,0, 31.997,19.997L 384,224L 288,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-right, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 288,320l0-96 L 96,224 l0-64 l 192,0 L 288,64 l 108.003,96.003C 416,177.779, 416,187.5, 416,192s0,14.221-19.997,31.997L 288,320\n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-left, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,64l0,96 l 192,0 l0,64 L 224,224 l0,96 l-108.003-96.003C 96,206.221, 96,196.5, 96,192s0-14.221, 19.997-31.997L 224,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-trash, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 342,320L 170,320 l-23.833-160l 219.667,0 L 342,320z M 384,128L 128,128 L 128,96 l 96,0 L 224,64 l 64,0 l0,32 l 96,0 L 384,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-notification, comment, chat, talk, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 288,320l-64,0 l0-64 l 64,0 L 288,320 z M 288,192l-64,0 L 224,64 l 64,0 L 288,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-minus, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 384,224L 128,224 l0-64 l 256,0 L 384,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-plus, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 384,224l-96,0 l0,96 l-64,0 l0-96 l-96,0 l0-64 l 96,0 L 224,64 l 64,0 l0,96 l 96,0 L 384,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-cancel, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 352,137.012L 297.012,192L 352,246.988L 352,288 l-41.012,0 L 256,233.012L 201.012,288L 160,288 l0-41.012 L 214.988,192\n\tL 160,137.012L 160,96 l 41.012,0 L 256,150.988L 310.988,96L 352,96 L 352,137.012 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-paperclip, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 448,160c0,35.2-28.8,64-64,64L 160,224 c-17.6,0-32-14.4-32-32l0-32 c0-17.6, 14.4-32, 32-32l 176,0 \n\tc 8.837,0, 16,7.164, 16,16s-7.163,16-16,16L 160.057,160 c-0.020,0.017-0.041,0.038-0.057,0.057l0,31.886 c 0.017,0.020, 0.038,0.041, 0.057,0.057\n\tL 384,192 c 8.477,0, 16.493-3.348, 22.572-9.428C 412.652,176.493, 416,168.477, 416,160l0-32 c0-8.477-3.348-16.493-9.428-22.573\n\tC 400.493,99.348, 392.477,96, 384,96L 128,96 c-8.477,0-16.493,3.348-22.573,9.427C 99.348,111.507, 96,119.523, 96,128l0,96 \n\tc0,8.477, 3.348,16.493, 9.427,22.572c 6.080,6.080, 14.096,9.428, 22.573,9.428l 208,0 c 8.837,0, 16,7.164, 16,16s-7.163,16-16,16L 128,288 \n\tc-35.2,0-64-28.8-64-64l0-96 c0-35.2, 28.8-64, 64-64l 256,0 c 35.2,0, 64,28.8, 64,64L 448,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-heart, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 256,288c0,0-128-61.125-128-132c0-0.985, 0.028-1.938, 0.077-2.868c 0.006-0.106, 0.008-0.213, 0.014-0.318\n\tc 0.040-0.672, 0.095-1.326, 0.16-1.969C 131.042,120.123, 158.508,96, 192,96c 35.346,0, 64,38.863, 64,72c0-33.137, 28.654-72, 64-72\n\tc 33.491,0, 60.957,24.122, 63.749,54.843c 0.064,0.645, 0.12,1.298, 0.159,1.971c 0.007,0.105, 0.009,0.212, 0.015,0.317\n\tc 0.048,0.931, 0.077,1.884, 0.077,2.869C 384,226.875, 256,288, 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-star, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 356,342l-100-82.098L 156,342l 36.372-117.326L 96,159.875l 120.676,0 L 256,34.848l 39.324,125.027L 416,159.875 \n\tl-96.372,64.799L 356,342z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-locked, comment, chat, talk, private\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,95.5 C 291.565,95.5 320.5,124.435 320.5,160 L 191.5,160 C 191.5,124.435 220.435,95.5 256,95.5 ZM 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\t\tC 512,21.6, 490.4,0, 464,0z M 384,304c0,8.8-7.2,16-16,16L 144,320 c-8.8,0-16-7.2-16-16L 128,176 c0-8.8, 7.2-16, 16-16l 15.5,0 \n\t\tc0-53.295, 43.205-96.5, 96.5-96.5c 53.296,0, 96.5,43.205, 96.5,96.5L 368,160 c 8.8,0, 16,7.2, 16,16L 384,304 zM 224,256A32,32 2520 1 1 288,256A32,32 2520 1 1 224,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-link, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,288l-96,0 c-35.2,0-64-28.8-64-64l0-32 c0-35.2, 28.8-64, 64-64l 96,0 l0,32 l-96,0 \n\tc-8.477,0-16.493,3.348-22.573,9.427C 99.348,175.507, 96,183.523, 96,192l0,32 c0,8.477, 3.348,16.493, 9.427,22.573\n\tC 111.507,252.652, 119.523,256, 128,256l 96,0 L 224,288 z M 192,224l0-32 l 128,0 l0,32 L 192,224 z M 448,224c0,35.2-28.8,64-64,64l-96,0 l0-32 l 96,0 \n\tc 8.477,0, 16.493-3.348, 22.572-9.427c 6.080-6.080, 9.428-14.096, 9.428-22.573l0-32 c0-8.477-3.348-16.493-9.428-22.573\n\tC 400.493,163.348, 392.477,160, 384,160l-96,0 l0-32 l 96,0 c 35.2,0, 64,28.8, 64,64L 448,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-video-chat, comment, chat, talk, video chat\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 416,256c0,17.6-11.52,23.36-25.6,12.8L 320,192l0,64 c0,17.6-14.4,32-32,32L 128,288 c-17.6,0-32-14.4-32-32L 96,128 \n\tc0-17.6, 14.4-32, 32-32l 160,0 c 17.6,0, 32,14.4, 32,32l0,64 l 70.4-76.8c 14.080-10.56, 25.6-4.8, 25.6,12.8L 416,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-check, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,301.255L 121.373,182.628l 29.254-29.255L 224,210.745L 361.372,89.373l 29.256,29.254L 224,301.255z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-user, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 256,64.165c 35.255,0, 63.835,28.58, 63.835,63.835s-28.58,63.835-63.835,63.835\n\ts-63.835-28.58-63.835-63.835S 220.745,64.165, 256,64.165z M 352,320L 160,320 l0-32 c0-35.348, 28.654-64, 64-64l0,0l 64,0 \n\tc 35.348,0, 64,28.652, 64,64L 352,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-quote, comment, chat, talk, quote\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.4,0, 464,0z M 224,135.385c-29.821,6.85-55.189,28.007-70.488,56.941C 155.646,192.111, 157.81,192, 160,192\n\tc 35.346,0, 64,28.654, 64,64c0,35.346-28.654,64-64,64s-64-28.654-64-64c0-43.612, 15.198-84.729, 42.795-115.775\n\tC 162.042,114.073, 191.74,97.612, 224,92.621L 224,135.385 z M 416,135.385c-29.82,6.85-55.189,28.007-70.488,56.941\n\tC 347.646,192.111, 349.81,192, 352,192c 35.346,0, 64,28.654, 64,64c0,35.346-28.654,64-64,64s-64-28.654-64-64\n\tc0-43.612, 15.198-84.729, 42.795-115.775C 354.041,114.073, 383.74,97.612, 416,92.621L 416,135.385 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-blocked, blocked, denied, forbidden\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,102 C 273.952,102 290.692,107.287 304.75,116.38 L 180.38,240.75 C 171.287,226.692 166,209.953 166,192 C 166,142.374 206.374,102 256,102 ZM 207.25,267.619 L 331.619,143.25 C 340.714,157.308 346,174.047 346,192 C 346,241.626 305.626,282 256,282 C 238.047,282 221.308,276.714 207.25,267.619 ZM 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,288 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,48 \n\t\tC 512,21.6, 490.4,0, 464,0z M 256,320c-70.692,0-128-57.308-128-128S 185.308,64, 256,64s 128,57.308, 128,128S 326.692,320, 256,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 400,0 C 426.4,0 448,21.6 448,48 L 448,208 C 448,234.4 426.4,256 400,256 L 217.6,256 L 64,384 L 64,256 L 48,256 C 21.6,256 0,234.4 0,208 L 0,48 C 0,21.6 21.6,0 48,0 L 400,0 ZM 528,96 C 554.4,96 576,117.6 576,144 L 576,336 C 576,362.4 554.4,384 528,384 L 448,384 L 448,512 L 294.4,384 L 192,384 L 192,320 L 317.57,320 L 416,407.357 L 416,320 L 512,320 L 512,160 L 480,160 L 480,96 L 528,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 400,0L 48,0 C 21.6,0,0,21.6,0,48l0,160 c0,26.4, 21.6,48, 48,48l 16,0 l0,128 l 153.6-128L 400,256 c 26.4,0, 48-21.6, 48-48L 448,48 \n\tC 448,21.6, 426.4,0, 400,0z M 384,192L 194.428,192 L 96,279.357L 96,192 L 64,192 L 64,64 l 320,0 L 384,192 zM 528,96 C 554.4,96 576,117.6 576,144 L 576,336 C 576,362.4 554.4,384 528,384 L 448,384 L 448,512 L 294.4,384 L 192,384 L 192,320 L 317.57,320 L 416,407.357 L 416,320 L 512,320 L 512,160 L 480,160 L 480,96 L 528,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,128L 416,128L 416,160L 96,160zM 96,192L 352,192L 352,224L 96,224zM 96,256L 224,256L 224,288L 96,288zM 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 448,320L 258.429,320 L 160,407.357L 160,320 L 64,320 L 64,96 l 384,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,192L 192,192L 192,256L 128,256zM 224,192L 288,192L 288,256L 224,256zM 320,192L 384,192L 384,256L 320,256zM 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\t\tC 512,53.6, 490.4,32, 464,32z M 448,320L 258.429,320 L 160,407.357L 160,320 L 64,320 L 64,96 l 384,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 448,320L 258.429,320 L 160,407.357L 160,320 L 64,320 L 64,96 l 384,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 224,288L 96,288 l0-32 l 128,0 L 224,288 z M 352,224L 96,224 l0-32 l 256,0 L 352,224 z M 416,160L 96,160 l0-32 l 320,0 L 416,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32L 48,32 C 21.6,32,0,53.6,0,80l0,256 c0,26.4, 21.6,48, 48,48l 80,0 l0,128 l 153.6-128L 464,384 c 26.4,0, 48-21.6, 48-48L 512,80 \n\tC 512,53.6, 490.4,32, 464,32z M 192,256l-64,0 l0-64 l 64,0 L 192,256 z M 288,256l-64,0 l0-64 l 64,0 L 288,256 z M 384,256l-64,0 l0-64 l 64,0 L 384,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,32 C 490.4,32 512,53.6 512,80 L 512,336 C 512,362.4 490.4,384 464,384 L 281.6,384 L 128,512 L 128,384 L 48,384 C 21.6,384 0,362.4 0,336 L 0,80 C 0,53.6 21.6,32 48,32 L 464,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,96L 144,96 c-26.4,0-48,21.6-48,48l0,224 c0,26.4, 21.6,48, 48,48l 77.714,0 L 304,512l 82.286-96L 464,416 c 26.4,0, 48-21.6, 48-48L 512,144 \n\tC 512,117.6, 490.401,96, 464,96z M 448,352l-75.149,0 L 304,429.658L 235.15,352L 160,352 L 160,160 l 288,0 L 448,352 zM 64,64 L 64,320 L 48,320 C 21.6,320 0,298.4 0,272 L 0,48 C 0,21.6 21.6,0 48,0 L 368,0 C 394.401,0 416,21.6 416,48 L 416,64 L 64,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0L 48,0 C 21.6,0,0,21.6,0,48l0,320 c0,26.4, 21.6,48, 48,48l 109.714,0 L 240,512l 82.286-96L 464,416 c 26.4,0, 48-21.6, 48-48L 512,48 \n\tC 512,21.6, 490.401,0, 464,0z M 448,352L 308.851,352 L 240,429.658L 171.15,352L 64,352 L 64,64 l 384,0 L 448,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,96 C 490.401,96 512,117.6 512,144 L 512,368 C 512,394.4 490.4,416 464,416 L 386.286,416 L 304,512 L 221.714,416 L 144,416 C 117.6,416 96,394.4 96,368 L 96,144 C 96,117.6 117.6,96 144,96 L 464,96 ZM 64,64 L 64,320 L 48,320 C 21.6,320 0,298.4 0,272 L 0,48 C 0,21.6 21.6,0 48,0 L 368,0 C 394.401,0 416,21.6 416,48 L 416,64 L 64,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,0 C 490.401,0 512,21.6 512,48 L 512,368 C 512,394.4 490.4,416 464,416 L 322.286,416 L 240,512 L 157.714,416 L 48,416 C 21.6,416 0,394.4 0,368 L 0,48 C 0,21.6 21.6,0 48,0 L 464,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,126l0,6 L 64,132 \n\tl0-6 c0-0.672, 0.032-1.337, 0.078-2l 383.844,0 C 447.968,124.663, 448,125.328, 448,126z M 447.922,292L 64,292 l0-8 l 384,0 l0,6 \n\tC 448,290.672, 447.968,291.338, 447.922,292z M 64,320l0-4 l 368.708,0 c-4.376,2.532-9.406,4-14.708,4L 64,320 z M 64,308l0-8 l 382.212,0 \n\tc-1.059,2.887-2.556,5.581-4.406,8L 64,308 z M 64,276l0-8 l 384,0 l0,8 L 64,276 z M 64,260l0-8 l 384,0 l0,8 L 64,260 z M 64,244l0-8 l 384,0 l0,8 L 64,244 z M 64,228l0-8 l 384,0 l0,8 L 64,228 z\n\t M 64,212l0-8 l 384,0 l0,8 L 64,212 z M 64,196l0-8 l 384,0 l0,8 L 64,196 z M 64,180l0-8 l 384,0 l0,8 L 64,180 z M 64,164l0-8 l 384,0 l0,8 L 64,164 z M 64,148l0-8 l 384,0 l0,8 L 64,148 z M 418,96\n\tc 5.302,0, 10.332,1.468, 14.709,4L 79.291,100 c 4.377-2.532, 9.407-4, 14.709-4L 418,96 z M 441.806,108c 1.852,2.419, 3.348,5.113, 4.406,8L 65.788,116 \n\tc 1.058-2.887, 2.555-5.581, 4.406-8L 441.806,108 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,290\n\tc0,16.262-13.738,30-30,30L 64,320 L 64,126 c0-16.262, 13.738-30, 30-30l 324,0 c 16.262,0, 30,13.738, 30,30L 448,290 zM 128,160L 384,160L 384,192L 128,192zM 128,224L 320,224L 320,256L 128,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,290\n\tc0,16.262-13.738,30-30,30L 64,320 L 64,126 c0-16.262, 13.738-30, 30-30l 324,0 c 16.262,0, 30,13.738, 30,30L 448,290 zM 128,224A32,32 2520 1 1 192,224A32,32 2520 1 1 128,224zM 224,224A32,32 2520 1 1 288,224A32,32 2520 1 1 224,224zM 320,224A32,32 2520 1 1 384,224A32,32 2520 1 1 320,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 448,290\n\tc0,16.262-13.738,30-30,30L 64,320 L 64,126 c0-16.262, 13.738-30, 30-30l 324,0 c 16.262,0, 30,13.738, 30,30L 448,290 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 320,256L 128,256 \n\tl0-32 l 192,0 L 320,256 z M 384,192L 128,192 l0-32 l 256,0 L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-dots, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32L 94,32 C 42.3,32,0,74.3,0,126l0,354 l 96-96l 124.75,0 L 418,384 c 51.7,0, 94-42.3, 94-94L 512,126 C 512,74.3, 469.7,32, 418,32z M 160,256\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 177.673,256, 160,256z M 256,256c-17.673,0-32-14.327-32-32\n\ts 14.327-32, 32-32s 32,14.327, 32,32S 273.673,256, 256,256z M 352,256c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32\n\tS 369.673,256, 352,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 418,32 C 469.7,32 512,74.3 512,126 L 512,290 C 512,341.7 469.7,384 418,384 L 96,384 L 0,480 L 0,126 C 0,74.3 42.3,32 94,32 L 418,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 512,96 C 547.2,96 576,124.8 576,160 L 576,512 L 480,416 L 192,416 C 156.8,416 128,387.2 128,352 L 128,320 L 192,320 L 192,351.886 C 192.033,351.925 192.074,351.967 192.114,352 L 512,352 L 512,160.115 C 511.967,160.075 511.925,160.033 511.886,160 L 480,160 L 480,96 L 512,96 ZM 384,0L 64,0 C 28.8,0,0,28.8,0,64l0,320 l 96-96l 288,0 c 35.2,0, 64-28.8, 64-64L 448,64 C 448,28.8, 419.2,0, 384,0z M 384,223.886\n\tc-0.033,0.040-0.075,0.081-0.114,0.114L 64,224 L 64,64.114 c 0.033-0.040, 0.075-0.081, 0.115-0.114l 319.771,0 c 0.039,0.033, 0.081,0.075, 0.114,0.115\n\tL 384,223.886 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 384,0 C 419.2,0 448,28.8 448,64 L 448,224 C 448,259.2 419.2,288 384,288 L 96,288 L 0,384 L 0,64 C 0,28.8 28.8,0 64,0 L 384,0 ZM 512,96 C 547.2,96 576,124.8 576,160 L 576,512 L 480,416 L 192,416 C 156.8,416 128,387.2 128,352 L 128,320 L 192,320 L 192,351.886 C 192.033,351.925 192.074,351.967 192.114,352 L 512,352 L 512,160.115 C 511.967,160.075 511.925,160.033 511.886,160 L 480,160 L 480,96 L 512,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble-notification, comment, chat, talk, notification, warning\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,93.125,0,208c0,65.275, 37.020,123.52, 94.918,161.652C 95.621,374.335, 96,379.123, 96,384\n\tc0,34.948-29.732,65.529-64,82.318l0,13.458 c 63.463-1.448, 129.099-11.31, 184.088-66.299C 229.095,415.133, 242.422,416, 256,416\n\tc 141.385,0, 256-93.124, 256-208C 512,93.125, 397.385,0, 256,0z M 288,320l-64,0 l0-64 l 64,0 L 288,320 z M 288,192l-64,0 L 224,64 l 64,0 L 288,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 240,64 C 214.667,64 190.209,67.975 167.307,75.814 C 145.845,83.161 126.75,93.532 110.556,106.637 C 80.534,130.932 64,162.038 64,194.224 C 64,212.219 69.033,229.698 78.96,246.173 C 89.303,263.343 104.909,279.070 124.090,291.652 C 139.31,301.636 149.558,317.628 152.271,335.627 C 152.722,338.622 153.086,341.63 153.361,344.643 C 154.722,343.383 156.073,342.086 157.418,340.746 C 169.487,328.726 185.762,322.090 202.579,322.090 C 205.253,322.090 207.938,322.258 210.626,322.599 C 220.306,323.825 230.188,324.447 240,324.447 C 265.333,324.447 289.79,320.473 312.692,312.633 C 334.155,305.287 353.25,294.916 369.444,281.811 C 399.467,257.516 416,226.41 416,194.224 C 416,162.038 399.467,130.933 369.444,106.637 C 353.25,93.531 334.155,83.161 312.692,75.814 C 289.79,67.975 265.333,64 240,64 Z M 240,0 L 240,0 C 372.548,0 480,86.957 480,194.224 C 480,301.491 372.548,388.448 240,388.448 C 227.271,388.448 214.777,387.638 202.583,386.093 C 151.030,437.44 91.497,446.647 32,448 L 32,435.433 C 64.126,419.756 90,391.2 90,358.566 C 90,354.013 89.644,349.542 88.985,345.169 C 34.706,309.562 0,255.175 0,194.224 C 0,86.957 107.452,0 240,0 ZM 498,435.343 C 498,463.314 516.157,487.792 544,501.229 L 544,512 C 492.437,510.841 445.107,502.949 400.429,458.937 C 389.859,460.262 379.032,460.957 368,460.957 C 320.265,460.957 276.296,448.078 241.193,426.437 C 313.53,426.184 381.823,403.010 433.61,361.101 C 459.714,339.975 480.307,315.188 494.817,287.427 C 510.2,257.994 518,226.636 518,194.224 C 518,189 517.775,183.806 517.371,178.64 C 553.656,208.607 576,249.451 576,294.478 C 576,346.722 545.921,393.339 498.88,423.86 C 498.309,427.608 498,431.44 498,435.343 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 544,450.583 C 544,473.333 557.014,493.037 576,502.675 L 576,510.644 C 570.687,511.371 565.264,511.756 559.75,511.756 C 525.746,511.756 495.076,497.492 473.389,474.624 C 460.278,478.115 446.388,480 432,480 C 352.471,480 288,422.692 288,352 C 288,281.308 352.471,224 432,224 C 511.529,224 576,281.308 576,352 C 576,379.674 566.118,405.296 549.322,426.233 C 545.91,433.645 544,441.889 544,450.583 ZM 115.339,110.593 C 82.232,137.492 64,172.085 64,208 C 64,228.149 69.594,247.689 80.626,266.075 C 92.002,285.035 109.117,302.368 130.12,316.201 C 145.298,326.197 155.51,342.175 158.208,360.148 C 159.108,366.14 159.672,372.192 159.893,378.21 C 163.628,375.113 167.268,371.787 170.833,368.222 C 182.91,356.146 199.223,349.477 216.084,349.477 C 218.768,349.477 221.465,349.645 224.162,349.989 C 234.636,351.32 245.334,351.997 255.959,351.999 L 255.959,415.999 C 242.395,415.998 229.082,415.13 216.088,413.478 C 161.099,468.467 95.463,478.328 32,479.776 L 32,466.318 C 66.268,449.529 96,418.948 96,384 C 96,379.123 95.621,374.335 94.918,369.652 C 37.020,331.52 0,273.275 0,208 C 0,93.125 114.615,0 256,0 C 395.229,0 508.496,90.307 511.918,202.76 C 491.37,193.602 468.998,188.049 445.787,186.471 C 440.022,158.437 423.086,132.063 396.661,110.593 C 379,96.244 358.203,84.898 334.847,76.871 C 309.994,68.331 283.467,64 256,64 C 228.534,64 202.006,68.331 177.153,76.871 C 153.797,84.898 133,96.243 115.339,110.593 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,96 C 228.534,96 202.006,100.331 177.153,108.871 C 153.797,116.898 133,128.243 115.339,142.593 C 82.232,169.492 64,204.085 64,240 C 64,260.149 69.594,279.689 80.626,298.076 C 92.002,317.036 109.117,334.369 130.12,348.202 C 145.298,358.198 155.51,374.176 158.208,392.149 C 159.108,398.141 159.672,404.193 159.893,410.211 C 163.628,407.114 167.268,403.788 170.833,400.223 C 182.91,388.147 199.223,381.478 216.084,381.478 C 218.768,381.478 221.465,381.646 224.162,381.99 C 234.649,383.323 245.361,384 256,384 C 283.467,384 309.994,379.67 334.847,371.129 C 358.203,363.102 379,351.757 396.661,337.407 C 429.768,310.509 448,275.915 448,240 C 448,204.085 429.768,169.492 396.661,142.593 C 379,128.244 358.203,116.898 334.847,108.871 C 309.994,100.331 283.467,96 256,96 Z M 256,32 L 256,32 C 397.385,32 512,125.125 512,240 C 512,354.876 397.385,448 256,448 C 242.422,448 229.095,447.133 216.088,445.478 C 161.099,500.467 95.463,510.328 32,511.776 L 32,498.318 C 66.268,481.529 96,450.948 96,416 C 96,411.123 95.621,406.335 94.918,401.652 C 37.020,363.52 0,305.275 0,240 C 0,125.125 114.615,32 256,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 240,0 L 240,0 C 372.548,0 480,86.957 480,194.224 C 480,301.491 372.548,388.448 240,388.448 C 227.271,388.448 214.777,387.638 202.583,386.093 C 151.030,437.44 91.497,446.647 32,448 L 32,435.433 C 64.126,419.756 90,391.2 90,358.566 C 90,354.013 89.644,349.542 88.985,345.169 C 34.706,309.562 0,255.175 0,194.224 C 0,86.957 107.452,0 240,0 ZM 498,435.343 C 498,463.314 516.157,487.792 544,501.229 L 544,512 C 492.437,510.841 445.107,502.949 400.429,458.937 C 389.859,460.262 379.032,460.957 368,460.957 C 320.265,460.957 276.296,448.078 241.193,426.437 C 313.53,426.184 381.823,403.010 433.61,361.101 C 459.714,339.975 480.307,315.188 494.817,287.427 C 510.2,257.994 518,226.636 518,194.224 C 518,189 517.775,183.806 517.371,178.64 C 553.656,208.607 576,249.451 576,294.478 C 576,346.722 545.921,393.339 498.88,423.86 C 498.309,427.608 498,431.44 498,435.343 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"bubbles, comments, chat, talk\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 544,450.583 C 544,473.333 557.014,493.037 576,502.675 L 576,510.644 C 570.687,511.371 565.264,511.756 559.75,511.756 C 525.746,511.756 495.076,497.492 473.389,474.624 C 460.278,478.115 446.388,480 432,480 C 352.471,480 288,422.692 288,352 C 288,281.308 352.471,224 432,224 C 511.529,224 576,281.308 576,352 C 576,379.674 566.118,405.296 549.322,426.233 C 545.91,433.645 544,441.889 544,450.583 ZM 256,0 C 395.229,0 508.496,90.307 511.918,202.76 C 487.327,191.8 460.125,186 432,186 C 384.22,186 339.092,202.723 304.931,233.089 C 269.508,264.575 250,306.806 250,352 C 250,374.336 254.772,395.944 263.868,415.894 C 261.254,415.957 258.634,416 256,416 C 242.422,416 229.095,415.133 216.088,413.478 C 161.099,468.467 95.463,478.328 32,479.776 L 32,466.318 C 66.268,449.529 96,418.948 96,384 C 96,379.123 95.621,374.335 94.918,369.652 C 37.020,331.52 0,273.275 0,208 C 0,93.125 114.615,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bubble, comment, chat, talk\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32 C 397.385,32 512,125.125 512,240 C 512,354.876 397.385,448 256,448 C 242.422,448 229.095,447.133 216.088,445.478 C 161.099,500.467 95.463,510.328 32,511.776 L 32,498.318 C 66.268,481.529 96,450.948 96,416 C 96,411.123 95.621,406.335 94.918,401.652 C 37.020,363.52 0,305.275 0,240 C 0,125.125 114.615,32 256,32 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reply, replyall\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 429.406,0C 486.27,103.016, 511.375,260.152, 288,254.912L 288,128 L 96,320l 192,192L 288,387.814 C 512,387.814, 569.762,151.707, 429.406,0\n\t\tzM 192,173.255L 192,128L0,320L 192,512L 192,466.745L 45.255,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reply, arrow, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,387.814L 224,512 L 32,320l 192-192l0,126.912 C 447.375,260.152, 437.794,103.016, 380.931,0\n\tC 521.286,151.707, 491.481,394.785, 224,387.814z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"forward, arrow, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 131.070,0C 74.206,103.016, 64.625,260.152, 288,254.912L 288,128 l 192,192L 288,512L 288,387.814 C 20.52,394.785-9.286,151.707, 131.070,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"redo, arrow, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,124.186L 288,0 l 192,192L 288,384L 288,257.088 C 64.625,251.847, 74.206,408.984, 131.070,512\n\tC-9.286,360.293, 20.52,117.215, 288,124.186z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"undo, arrow, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 380.931,512C 437.794,408.984, 447.375,251.847, 224,257.088L 224,384 L 32,192L 224,0l0,124.186 \n\tC 491.481,117.215, 521.285,360.293, 380.931,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-bottom\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,64 L 192,352 L 128,352 L 128,64 L 192,64 Z M 224,32 L 224,32 L 96,32 L 96,384 L 224,384 L 224,32 ZM 512,480L 512,416L 0,416L 0,480zM 416,384L 416,160L 288,160L 288,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-center-vertical\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,448L 224,288 l 64,0 l 0,96 L 416,384 l0-96 L 512,288 l0-64 l-96,0 l0-96 l-128,0 l 0,96 l-64,0 L 224,64 l-128,0 l 0,160 l-96,0 l 0,64 l 96,0 l 0,160 L 224,448 z M 128,416L 128,96 l 64,0 l 0,320 L 128,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-top\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,448 L 192,160 L 128,160 L 128,448 L 192,448 Z M 224,480 L 224,480 L 96,480 L 96,128 L 224,128 L 224,480 ZM 512,32L 512,96L 0,96L 0,32zM 416,128L 416,352L 288,352L 288,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,320 L 352,320 L 352,384 L 64,384 L 64,320 Z M 32,288 L 32,288 L 32,416 L 384,416 L 384,288 L 32,288 ZM 480,0L 416,0L 416,512L 480,512zM 384,96L 160,96L 160,224L 384,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-center-horizontal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288L 288,288 l0-64 l 96,0 L 384,96 l-96,0 L 288,0 l-64,0 l0,96 l-96,0 l0,128 l 96,0 l0,64 L 64,288 l0,128 l 160,0 l0,96 l 64,0 l0-96 l 160,0 L 448,288 z M 416,384L 96,384 l0-64 l 320,0 L 416,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"align-left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,320 L 160,320 L 160,384 L 448,384 L 448,320 Z M 480,288 L 480,288 L 480,416 L 128,416 L 128,288 L 480,288 ZM 32,0L 96,0L 96,512L 32,512zM 128,96L 352,96L 352,224L 128,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"exclude, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,128L 352,0 L0,0 l0,352 l 128,0 l0,160 l 384,0 L 512,128 L 352,128 z M 448,196l-96,0 l0-4 l 96,0 L 448,196 z M 192,448l0-4 l 256,0 l0,4 L 192,448 z M 192,436l0-8 l 256,0 l0,8 L 192,436 z M 192,420l0-8 \n\tl 256,0 l0,8 L 192,420 z M 192,404l0-8 l 256,0 l0,8 L 192,404 z M 192,388l0-8 l 256,0 l0,8 L 192,388 z M 192,372l0-8 l 256,0 l0,8 L 192,372 z M 192,356l0-4 l 160,0 l0-4 l 96,0 l0,8 L 192,356 z M 352,340l0-8 l 96,0 l0,8 \n\tL 352,340 z M 352,324l0-8 l 96,0 l0,8 L 352,324 z M 352,308l0-8 l 96,0 l0,8 L 352,308 z M 352,292l0-8 l 96,0 l0,8 L 352,292 z M 352,276l0-8 l 96,0 l0,8 L 352,276 z M 352,260l0-8 l 96,0 l0,8 L 352,260 z M 352,244l0-8 \n\tl 96,0 l0,8 L 352,244 z M 352,228l0-8 l 96,0 l0,8 L 352,228 z M 352,212l0-8 l 96,0 l0,8 L 352,212 z M 288,128L 128,128 l0,4 L 64,132 l0-8 l 224,0 L 288,128 z M 64,288l0-4 l 64,0 l0,4 L 64,288 z M 64,276l0-8 l 64,0 l0,8 L 64,276 z\n\t M 64,260l0-8 l 64,0 l0,8 L 64,260 z M 64,244l0-8 l 64,0 l0,8 L 64,244 z M 64,228l0-8 l 64,0 l0,8 L 64,228 z M 64,212l0-8 l 64,0 l0,8 L 64,212 z M 64,196l0-8 l 64,0 l0,8 L 64,196 z M 64,180l0-8 l 64,0 l0,8 L 64,180 z\n\t M 64,164l0-8 l 64,0 l0,8 L 64,164 z M 64,148l0-8 l 64,0 l0,8 L 64,148 z M 288,116L 64,116 l0-8 l 224,0 L 288,116 z M 288,100L 64,100 l0-8 l 224,0 L 288,100 z M 288,84L 64,84 l0-8 l 224,0 L 288,84 z M 288,68L 64,68 l0-4 \n\tl 224,0 L 288,68 z M 160,160l 160,0 l0,160 L 160,320 L 160,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"interset, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,128L 352,0 L0,0 l0,352 l 128,0 l0,160 l 384,0 L 512,128 L 352,128 z M 320,196L 192,196 l0-4 l 128,0 L 320,196 z M 320,320L 192,320 l0-4 l 128,0 L 320,320 z M 320,308L 192,308 l0-8 l 128,0 L 320,308 z\n\t M 320,292L 192,292 l0-8 l 128,0 L 320,292 z M 320,276L 192,276 l0-8 l 128,0 L 320,276 z M 320,260L 192,260 l0-8 l 128,0 L 320,260 z M 320,244L 192,244 l0-8 l 128,0 L 320,244 z M 320,228L 192,228 l0-8 l 128,0 L 320,228 z\n\t M 320,212L 192,212 l0-8 l 128,0 L 320,212 z M 128,320L 32,320 L 32,32 l 288,0 l0,96 L 128,128 L 128,320 z M 480,480L 160,480 l0-96 l 224,0 L 384,160 l 96,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"subtract, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,160L 352,0 L0,0 l0,352 l 160,0 l0,160 l 352,0 L 512,160 L 352,160 z M 288,128L 128,128 l0,4 L 64,132 l0-8 l 224,0 L 288,128 z M 64,288l0-4 l 64,0 l0,4 L 64,288 z M 64,276l0-8 l 64,0 l0,8 L 64,276 z M 64,260l0-8 \n\tl 64,0 l0,8 L 64,260 z M 64,244l0-8 l 64,0 l0,8 L 64,244 z M 64,228l0-8 l 64,0 l0,8 L 64,228 z M 64,212l0-8 l 64,0 l0,8 L 64,212 z M 64,196l0-8 l 64,0 l0,8 L 64,196 z M 64,180l0-8 l 64,0 l0,8 L 64,180 z M 64,164l0-8 l 64,0 l0,8 \n\tL 64,164 z M 64,148l0-8 l 64,0 l0,8 L 64,148 z M 288,116L 64,116 l0-8 l 224,0 L 288,116 z M 288,100L 64,100 l0-8 l 224,0 L 288,100 z M 288,84L 64,84 l0-8 l 224,0 L 288,84 z M 288,68L 64,68 l0-4 l 224,0 L 288,68 z M 480,480\n\tL 192,480 L 192,192 l 288,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"unite, add, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,128L 352,0 L0,0 l0,352 l 128,0 l0,160 l 384,0 L 512,128 L 352,128 z M 320,164L 160,164 l0-4 l 160,0 L 320,164 z M 448,196l-96,0 l0-4 l 96,0 L 448,196 z M 160,316l 160,0 l0,4 L 160,320 L 160,316 z M 64,284\n\tl 64,0 l0,4 L 64,288 L 64,284 z M 128,188l0,8 L 64,196 l0-8 L 128,188 z M 64,180l0-8 l 64,0 l0,8 L 64,180 z M 128,204l0,8 L 64,212 l0-8 L 128,204 z M 160,260l0-8 l 160,0 l0,8 L 160,260 z M 320,268l0,8 L 160,276 l0-8 L 320,268 z\n\t M 160,244l0-8 l 160,0 l0,8 L 160,244 z M 160,228l0-8 l 160,0 l0,8 L 160,228 z M 160,212l0-8 l 160,0 l0,8 L 160,212 z M 128,220l0,8 L 64,228 l0-8 L 128,220 z M 128,236l0,8 L 64,244 l0-8 L 128,236 z M 128,252l0,8 L 64,260 \n\tl0-8 L 128,252 z M 128,268l0,8 L 64,276 l0-8 L 128,268 z M 160,284l 160,0 l0,8 L 160,292 L 160,284 z M 320,300l0,8 L 160,308 l0-8 L 320,300 z M 192,448l0-4 l 256,0 l0,4 L 192,448 z M 192,436l0-8 l 256,0 l0,8 L 192,436 z\n\t M 192,420l0-8 l 256,0 l0,8 L 192,420 z M 192,404l0-8 l 256,0 l0,8 L 192,404 z M 192,388l0-8 l 256,0 l0,8 L 192,388 z M 192,372l0-8 l 256,0 l0,8 L 192,372 z M 192,356l0-4 l 160,0 l0-4 l 96,0 l0,8 L 192,356 z\n\t M 352,340l0-8 l 96,0 l0,8 L 352,340 z M 352,324l0-8 l 96,0 l0,8 L 352,324 z M 352,308l0-8 l 96,0 l0,8 L 352,308 z M 352,292l0-8 l 96,0 l0,8 L 352,292 z M 352,276l0-8 l 96,0 l0,8 L 352,276 z M 352,260l0-8 l 96,0 l0,8 \n\tL 352,260 z M 352,244l0-8 l 96,0 l0,8 L 352,244 z M 352,228l0-8 l 96,0 l0,8 L 352,228 z M 352,212l0-8 l 96,0 l0,8 L 352,212 z M 320,196L 160,196 l0-8 l 160,0 L 320,196 z M 160,180l0-8 l 160,0 l0,8 L 160,180 z\n\t M 128,164L 64,164 l0-8 l 64,0 L 128,164 z M 288,64l0,4 L 64,68 l0-4 L 288,64 z M 288,76l0,8 L 64,84 l0-8 L 288,76 z M 288,92l0,8 L 64,100 l0-8 L 288,92 z M 288,108l0,8 L 64,116 l0-8 L 288,108 z M 288,124l0,4 L 128,128 l0,4 \n\tL 64,132 l0-8 L 288,124 z M 128,140l0,8 L 64,148 l0-8 L 128,140 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flip, mirror, horizontal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,0L 288,512L 480,512 \t\tzM0,512L 192,512L 192,0 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"flip, mirror, vertical\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,192L 512,192L 512,0 \t\tzM 512,480L 512,288L0,288 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rotate, arrow, cw, redo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288c0-123.711-100.288-224-224-224S0,164.289,0,288c0,86.687, 49.246,161.865, 121.283,199.104\n\tC 67.973,454.109, 32,391.641, 32,320c0-106.039, 78.798-192, 176-192c 87.206,0, 159.577,69.196, 173.543,160L 320,288 l 96,112l 96-112L 448,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rotate, arrow, ccw, undo\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,288C 64,164.289, 164.288,64, 288,64s 224,100.289, 224,224c0,86.687-49.246,161.865-121.283,199.104\n\tC 444.027,454.109, 480,391.641, 480,320c0-106.039-78.798-192-176-192c-87.206,0-159.577,69.196-173.543,160L 192,288 L 96,400L0,288L 64,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"redo, arrow, right\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,288c0,76.462, 33.524,145.092, 86.675,192l 42.333-48C 89.145,396.818, 64,345.348, 64,288c0-106.038, 85.965-192, 192-192\n\tc 53.021,0, 101.019,21.493, 135.765,56.239L 320,224l 192,0 L 512,32 l-74.985,74.989C 390.688,60.66, 326.693,32, 256,32\n\tC 114.615,32,0,146.615,0,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"undo, arrow, left\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32c-70.692,0-134.688,28.66-181.016,74.989L0,32l0,192 l 192,0 l-71.766-71.761C 154.982,117.493, 202.98,96, 256,96\n\tc 106.034,0, 192,85.962, 192,192c0,57.348-25.146,108.818-65.009,144l 42.333,48C 478.475,433.092, 512,364.462, 512,288\n\tC 512,146.615, 397.385,32, 256,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"database, server, host, storage, save, datecenter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,42.98,0,96l0,320 c0,53.020, 114.615,96, 256,96s 256-42.98, 256-96L 512,96 C 512,42.98, 397.385,0, 256,0z M 480,416\n\tc0,4.563-9.96,21.323-54.217,37.92c-21.501,8.062-46.785,14.432-75.149,18.931C 320.726,477.595, 288.887,480, 256,480\n\tc-32.886,0-64.726-2.405-94.634-7.149c-28.365-4.499-53.648-10.868-75.149-18.931C 41.96,437.323, 32,420.563, 32,416L 32,302.499 \n\tC 75.667,332.018, 159.604,352, 256,352s 180.333-19.982, 224-49.501L 480,416 z M 480,256c0,4.563-9.96,21.323-54.217,37.92\n\tc-21.501,8.062-46.785,14.432-75.149,18.931C 320.726,317.595, 288.887,320, 256,320c-32.886,0-64.726-2.405-94.634-7.149\n\tc-28.365-4.499-53.648-10.868-75.149-18.931C 41.96,277.323, 32,260.563, 32,256L 32,142.499 C 75.667,172.017, 159.604,192, 256,192\n\ts 180.333-19.983, 224-49.501L 480,256 z M 440.174,128c-4.342,1.962-9.115,3.942-14.391,5.92c-21.501,8.063-46.785,14.432-75.149,18.931\n\tC 320.726,157.595, 288.887,160, 256,160c-32.886,0-64.726-2.405-94.634-7.149c-28.365-4.499-53.648-10.868-75.149-18.931\n\tc-5.275-1.978-10.049-3.958-14.391-5.92C 39.742,113.502, 32,100.019, 32,96c0-4.563, 9.96-21.324, 54.217-37.92\n\tc 21.501-8.063, 46.785-14.432, 75.149-18.931C 191.274,34.405, 223.114,32, 256,32c 32.887,0, 64.726,2.405, 94.634,7.149\n\tc 28.364,4.499, 53.648,10.868, 75.149,18.931C 470.040,74.676, 480,91.437, 480,96C 480,100.019, 472.259,113.502, 440.174,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"database, server, host, storage, save, datecenter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,112c0-14.205-5.024-35.38-28.958-55.589c-14.22-12.006-33.695-22.475-57.888-31.115C 379.48,8.983, 319.407,0, 256,0\n\tS 132.52,8.983, 86.845,25.295c-24.192,8.64-43.668,19.109-57.887,31.115C 5.024,76.62,0,97.795,0,112l-0.086,0 l0,144 L0,256 l0,0 l-0.086,0 l0,144 L0,400 \n\tc0,14.205, 5.024,35.381, 28.958,55.59c 14.219,12.006, 33.695,22.475, 57.887,31.115C 132.519,503.018, 192.593,512, 256,512\n\ts 123.48-8.982, 169.154-25.295c 24.192-8.641, 43.669-19.109, 57.888-31.115C 506.976,435.381, 512,414.205, 512,400L 512,256 l0,0l0,0 L 512,112 z\n\t M 115.588,83.115C 153.728,70.789, 203.593,64, 256,64c 52.406,0, 102.272,6.789, 140.411,19.115\n\tc 37.277,12.048, 49.46,24.998, 51.416,28.885c-1.956,3.887-14.139,16.837-51.416,28.885C 358.272,153.211, 308.406,160, 256,160\n\tc-52.407,0-102.272-6.789-140.412-19.115C 78.312,128.837, 66.129,115.887, 64.173,112C 66.129,108.113, 78.312,95.163, 115.588,83.115z\n\t M 396.412,428.885C 358.272,441.213, 308.407,448, 256,448c-52.407,0-102.273-6.787-140.412-19.115\n\tC 78.311,416.838, 66.129,403.887, 64.173,400l-0.087,0 l0-66.62 c 7.044,3.307, 14.628,6.421, 22.759,9.325\n\tC 132.519,359.017, 192.593,368, 256,368s 123.48-8.983, 169.154-25.295c 8.097-2.892, 15.652-5.993, 22.673-9.284L 447.827,400 \n\tC 445.871,403.887, 433.689,416.838, 396.412,428.885z M 396.412,284.885C 358.272,297.212, 308.407,304, 256,304\n\tc-52.407,0-102.273-6.788-140.412-19.115C 78.311,272.837, 66.129,259.887, 64.173,256l-0.087,0 l0-66.62 \n\tc 7.044,3.306, 14.628,6.421, 22.759,9.325C 132.52,215.017, 192.593,224, 256,224s 123.48-8.983, 169.154-25.295\n\tc 8.097-2.892, 15.652-5.993, 22.673-9.284L 447.827,256 C 445.871,259.887, 433.689,272.837, 396.412,284.885z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"database, server, host, storage, save, datecenter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.614,0,0,35.816,0,80l0,64 c0,44.183, 114.611,80, 256,80c 141.385,0, 256-35.817, 256-80L 512,80 C 512,35.816, 397.385,0, 256,0\n\t\tzM 255.193,256C 140.566,256, 43.94,232.457, 11.32,200C 3.705,207.577,0,215.639,0,224l0,64 c0,44.184, 114.611,80, 256,80\n\t\tc 141.385,0, 256-35.816, 256-80l0-64 c0-8.361-4.516-16.423-12.131-24C 467.25,232.457, 369.82,256, 255.193,256zM 255.193,400C 140.566,400, 43.94,376.456, 11.32,344C 3.705,351.576,0,359.639,0,368l0,64 c0,44.183, 114.611,80, 256,80\n\t\tc 141.385,0, 256-35.817, 256-80l0-64 c0-8.361-4.516-16.424-12.131-24C 467.25,376.456, 369.82,400, 255.193,400z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"storage, save, hdd, hard disk, drive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128L 96,128L0,256L 512,256 \tzM0,384l 512,0 l0-96 L0,288 L0,384 z M 448,320l 32,0 l0,32 l-32,0 L 448,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"storage, save, hdd, hard disk, drive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,448l 320,0 c 53.019,0, 96-42.98, 96-96L0,352 C0,405.020, 42.981,448, 96,448z M 416,384l 32,0 l0,32 l-32,0 L 416,384 zM 480,64L 32,64L0,320L 512,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cd, disk, record, dj, save, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,208.248c-26.331,0-47.752,21.421-47.752,47.752c0,26.331, 21.421,47.752, 47.752,47.752\n\t\tc 26.331,0, 47.752-21.421, 47.752-47.752C 303.752,229.669, 282.331,208.248, 256,208.248zM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 439.442,123.984\n\t\tc-1.923-2.667-3.9-5.3-5.942-7.887C 435.543,118.684, 437.52,121.316, 439.442,123.984z M 426.758,107.976\n\t\tc-1.14-1.313-2.296-2.616-3.468-3.906C 424.464,105.359, 425.617,106.663, 426.758,107.976z M 422.93,103.677\n\t\tc-1.124-1.233-2.26-2.458-3.416-3.669C 420.67,101.218, 421.804,102.444, 422.93,103.677z M 100.511,420.004\n\t\tc 1.393,1.321, 2.802,2.618, 4.225,3.898C 103.315,422.621, 101.903,421.325, 100.511,420.004z M 104.926,424.078\n\t\tc 1.468,1.318, 2.952,2.616, 4.449,3.895C 107.878,426.694, 106.393,425.398, 104.926,424.078z M 136.2,447.68\n\t\tc-1.912-1.196-3.803-2.426-5.678-3.68l 7.978,0 L 136.2,447.68z M 143.5,436l-24.17,0 c 1.799,1.368, 3.616,2.71, 5.452,4.023\n\t\tc-5.285-3.774-10.411-7.785-15.375-12.023L 148.5,428 L 143.5,436z M 130.504,443.987c-1.892-1.265-3.762-2.563-5.615-3.886\n\t\tC 126.741,441.427, 128.612,442.723, 130.504,443.987z M 153.5,420l-52.993,0 c-1.453-1.379-2.893-2.773-4.313-4.194\n\t\tc-2.442-2.442-4.805-4.945-7.122-7.481c 1.126,1.236, 2.264,2.464, 3.422,3.676L 158.5,412.001 L 153.5,420z M 85.223,404.002\n\t\tc 1.146,1.32, 2.309,2.629, 3.486,3.927C 87.529,406.633, 86.369,405.322, 85.223,404.002z M 163.5,404L 85.221,404 \n\t\tc-4.472-5.151-8.695-10.48-12.663-15.982c 1.947,2.701, 3.948,5.365, 6.017,7.982L 168.5,396 L 163.5,404z M 173.5,388L 72.546,388 \n\t\tc-2.87-3.982-5.624-8.043-8.226-12.2c 0.884,1.413, 1.797,2.808, 2.713,4.2L 178.5,380 L 173.5,388z M 183.5,372L 70.399,372 l 21.051-13.156\n\t\tL 83.2,364l 105.3,0 L 183.5,372z M 193.5,356L 96,356 l 22.855-14.285L 108.8,348l 89.7,0 L 193.5,356z M 423.956,151.027L 428.8,148L 323.5,148 l-5,8L 416,156 \n\t\tl-12.8,8l-89.7,0 l-5,8l 81.899,0 l 5.237-3.273l-19.608,12.255L 377.6,180l-71.546,0 c 3.665,2.418, 7.146,5.092, 10.414,8L 364.8,188 l-12.8,8l-27.593,0 \n\t\tc 2.234,2.545, 4.329,5.215, 6.271,8l 8.521,0 l 4.044-2.527l-10.066,6.292c 8.76,13.985, 13.829,30.517, 13.829,48.236\n\t\tc0,50.26-40.744,91.003-91.006,91.003c-17.718,0-34.25-5.068-48.235-13.827L 203.5,340l-81.9,0 l 24.66-15.413L 134.4,332l 71.546,0 \n\t\tc-3.665-2.418-7.145-5.092-10.414-8L 147.2,324 l 31.624-19.765c-8.759-13.984-13.829-30.517-13.829-48.235\n\t\tc0-50.26, 40.744-91.003, 91.005-91.003c 17.719,0, 34.25,5.068, 48.234,13.827L 375.8,64.32c 3.849,2.409, 7.617,4.942, 11.315,7.581\n\t\tc-1.859-1.33-3.738-2.631-5.638-3.901L 373.5,68 l-5,8l 24.17,0 c-1.804-1.372-3.626-2.717-5.466-4.034\n\t\tc 5.29,3.778, 10.421,7.792, 15.39,12.034L 363.5,84 l-5,8l 52.992,0 c-1.388-1.317-2.793-2.611-4.211-3.887\n\t\tc 2.898,2.616, 5.746,5.303, 8.524,8.081c 1.254,1.253, 2.48,2.528, 3.701,3.806L 353.5,100 l-5,8l 78.279,0 c 2.276,2.623, 4.499,5.285, 6.646,8\n\t\tL 343.5,116 l-5,8l 100.954,0 c 2.87,3.982, 5.623,8.043, 8.226,12.2L 423.956,151.027z M 402.634,84.035c 1.493,1.276, 2.975,2.569, 4.438,3.886\n\t\tC 405.607,86.605, 404.127,85.311, 402.634,84.035zM 333.5,132l-5,8l 113.1,0 l 6.080-3.8c-0.885-1.413-1.797-2.808-2.713-4.2L 333.5,132 zM 172.8,308l-12.8,8l 27.593,0 c-2.234-2.545-4.329-5.215-6.272-8L 172.8,308 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"disk, save, floppy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L0,0 l0,512 l 512,0 L 512,64 L 448,0z M 256,64l 64,0 l0,128 l-64,0 L 256,64 z M 448,448L 64,448 L 64,64 l 32,0 l0,160 l 288,0 L 384,64 l 37.489,0 L 448,90.509L 448,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"upload, load, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,288L 288,288L 288,160L 384,160L 256,32L 128,160L 224,160 \tzM 320,216L 320,265.356L 466.533,320L 256,398.509L 45.467,320L 192,265.356L 192,216L0,288L0,416L 256,512L 512,416L 512,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"download, store, save, arrow\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,288L 384,160L 288,160L 288,32L 224,32L 224,160L 128,160 \tzM 372.363,235.636L 336.493,271.507L 466.533,320L 256,398.509L 45.467,320L 175.507,271.507L 139.636,235.636L0,288L0,416L 256,512L 512,416L 512,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"box-remove, storage, inbox, archive, upload\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 96,32 L0,128l0,336 c0,8.837, 7.163,16, 16,16l 480,0 c 8.836,0, 16-7.163, 16-16L 512,128 L 416,32z M 320,320l0,96 L 192,416 l0-96 L 96,320 l 160-128\n\tl 160,128L 320,320 z M 77.255,96l 32-32l 293.488,0 l 32,32L 77.255,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"box-add, storage, inbox, archive, download\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 96,32 L0,128l0,336 c0,8.837, 7.163,16, 16,16l 480,0 c 8.836,0, 16-7.163, 16-16L 512,128 L 416,32z M 256,416L 96,288l 96,0 l0-96 l 128,0 l0,96 l 96,0 \n\tL 256,416z M 77.255,96l 32-32l 293.489,0 l 32,32L 77.255,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"box, storage, inbox, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,64L 480,64L 480,128L 32,128zM 64,448l 384,0 L 448,160 L 64,160 L 64,448 z M 192,192l 128,0 l0,32 L 192,224 L 192,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"drawer, inbox, box, archive, storage, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 449.248,0 L 482.87,285.78 L 445.13,290.22 L 415.104,35 L 96.896,35 L 66.87,290.22 L 29.13,285.78 L 62.751,0 ZM 128,64L 384,64L 384,96L 128,96zM 128,128L 384,128L 384,160L 128,160zM 128,192L 384,192L 384,224L 128,224zM 128,256L 384,256L 384,288L 128,288zM 496,320L 16,320 c-8.8,0-13.723,6.83-10.94,15.179L 58.94,496.821C 61.723,505.17, 71.2,512, 80,512l 352,0 \n\tc 8.8,0, 18.276-6.83, 21.060-15.179l 53.881-161.643C 509.724,326.83, 504.8,320, 496,320z M 320,384L 192,384 l0-32 l 128,0 L 320,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"drawer, inbox, box, archive, storage, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 160,96 L0,288l0,128 c0,17.673, 14.327,32, 32,32l 448,0 c 17.674,0, 32-14.327, 32-32L 512,288 L 352,96z M 320,352L 192,352 l-32-32l 192,0 \n\t\tL 320,352z M 41.655,288l 133.333-160l 162.024,0 l 133.333,160L 41.655,288 zM 142.482,192L 369.518,192L 342.851,160L 169.148,160 \tzM 89.149,256L 422.852,256L 396.185,224L 115.815,224 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"drawer, inbox, box, archive, storage, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 160,96 L0,288l0,80 l0,48 c0,17.673, 14.327,32, 32,32l 448,0 c 17.674,0, 32-14.327, 32-32l0-48 l0-80 L 352,96z M 384,288l-64,64L 192,352 \n\tl-64-64L 41.655,288 l 133.333-160l 162.024,0 l 133.333,160L 384,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"archive, office, documents, library, books\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 32,32 C 14.4,32,0,46.4,0,64l0,384 c0,17.6, 14.4,32, 32,32l 96,0 c 17.6,0, 32-14.4, 32-32L 160,64 C 160,46.4, 145.6,32, 128,32z M 96,404\n\tc0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 c0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 96,404 z M 128,320L 32,320 L 32,160 l 96,0 L 128,320 z M 128,128L 32,128 \n\tL 32,96 l 96,0 L 128,128 zM 320,32l-96,0 c-17.6,0-32,14.4-32,32l0,384 c0,17.6, 14.4,32, 32,32l 96,0 c 17.6,0, 32-14.4, 32-32L 352,64 C 352,46.4, 337.6,32, 320,32z\n\t M 288,404c0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 c0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 288,404 z M 320,320l-96,0 L 224,160 l 96,0 L 320,320 z\n\t M 320,128l-96,0 L 224,96 l 96,0 L 320,128 zM 512,32l-96,0 c-17.6,0-32,14.4-32,32l0,384 c0,17.6, 14.4,32, 32,32l 96,0 c 17.6,0, 32-14.4, 32-32L 544,64 C 544,46.4, 529.6,32, 512,32z\n\t M 480,404c0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 c0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 480,404 z M 512,320l-96,0 L 416,160 l 96,0 L 512,320 z\n\t M 512,128l-96,0 L 416,96 l 96,0 L 512,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cabinet, storage, drawer, archive, office\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 160,0 L 64,64l0,128 l 384,0 L 448,64 L 352,0z M 320,160l-32,0 l0-21.333 C 288,132.8, 283.2,128, 277.333,128l-42.666,0 \n\t\tc-5.866,0-10.667,4.8-10.667,10.667L 224,160 l-32,0 l0-53.333 C 192,100.8, 196.801,96, 202.667,96l 106.665,0 c 5.867,0, 10.668,4.8, 10.668,10.667\n\t\tL 320,160 zM 64,352.001l 384,0 L 448,224 L 64,224 L 64,352.001 z M 192,266.666c0-5.867, 4.801-10.666, 10.667-10.666l 106.665,0 \n\t\tc 5.867,0, 10.668,4.799, 10.668,10.666L 320,320 l-32,0 l0-21.334 c0-5.867-4.8-10.666-10.667-10.666l-42.666,0 \n\t\tc-5.866,0-10.667,4.799-10.667,10.666L 224,320 l-32,0 L 192,266.666 zM 64,512l 384,0 L 448,384.001 L 64,384.001 L 64,512 z M 192,426.666c0-5.867, 4.801-10.666, 10.667-10.666l 106.665,0 c 5.867,0, 10.668,4.799, 10.668,10.666\n\t\tL 320,480 l-32,0 l0-21.334 c0-5.867-4.8-10.666-10.667-10.666l-42.666,0 c-5.866,0-10.667,4.799-10.667,10.666L 224,480 l-32,0 L 192,426.666 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tv, television, show\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.594,144.054c-44.404-6.384-91.691-11.008-141.038-13.61L 432,48l-32-32L 287.721,128.278\n\tC 277.218,128.094, 266.643,128, 256,128l0,0L 128,0L 96,32l 97.098,97.098c-60.461,2.121-118.169,7.262-171.693,14.956\n\tC 7.639,197.917,0,257.43,0,320s 7.639,122.083, 21.402,175.945C 93.223,506.271, 172.572,512, 256,512\n\tc 83.428,0, 162.775-5.729, 234.594-16.055C 504.361,442.083, 512,382.57, 512,320S 504.361,197.917, 490.594,144.054z M 431.946,437.297\n\tC 378.081,444.18, 318.571,448, 256,448c-62.571,0-122.083-3.82-175.946-10.703C 69.73,401.389, 64,361.714, 64,320\n\tc0-41.715, 5.729-81.39, 16.054-117.298C 133.917,195.819, 193.429,192, 256,192c 62.568,0, 122.081,3.819, 175.943,10.702\n\tC 442.271,238.61, 448,278.285, 448,320C 448,361.714, 442.271,401.389, 431.946,437.297z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mobile, phone, contact\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,0c-8.837,0-16,7.163-16,16l0,48 L 144,64 c-8.836,0-16,7.163-16,16l0,416 c0,8.836, 7.164,16, 16,16l 192,0 c 8.837,0, 16-7.164, 16-16L 352,16 \n\tC 352,7.163, 344.837,0, 336,0z M 192,480l-32,0 l0-32 l 32,0 L 192,480 z M 192,416l-32,0 l0-32 l 32,0 L 192,416 z M 192,352l-32,0 l0-32 l 32,0 L 192,352 z M 256,480l-32,0 l0-32 l 32,0 L 256,480 z\n\t M 256,416l-32,0 l0-32 l 32,0 L 256,416 z M 256,352l-32,0 l0-32 l 32,0 L 256,352 z M 320,480l-32,0 l0-32 l 32,0 L 320,480 z M 320,416l-32,0 l0-32 l 32,0 L 320,416 z M 320,352l-32,0 l0-32 l 32,0 L 320,352 z\n\t M 320,272c0,8.836-7.163,16-16,16L 176,288 c-8.836,0-16-7.164-16-16L 160,112 c0-8.837, 7.164-16, 16-16l 128,0 c 8.837,0, 16,7.163, 16,16L 320,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tablet, mobile\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 320,0 c 26.4,0, 48-21.6, 48-48L 448,48 C 448,21.6, 426.4,0, 400,0z M 240,496\n\tc-8.836,0-16-7.163-16-16s 7.164-16, 16-16s 16,7.163, 16,16S 248.836,496, 240,496z M 384,448L 96,448 L 96,64 l 288,0 L 384,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mobile, phone, handheld\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 96,0 C 78.4,0, 64,14.399, 64,32l0,448 c0,17.6, 14.399,32, 32,32l 288,0 c 17.6,0, 32-14.4, 32-32L 416,32 C 416,14.399, 401.6,0, 384,0z\n\t M 240,488.891c-13.746,0-24.891-11.145-24.891-24.891s 11.145-24.891, 24.891-24.891s 24.891,11.145, 24.891,24.891\n\tS 253.746,488.891, 240,488.891z M 384,416L 96,416 L 96,64 l 288,0 L 384,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mobile, phone, handheld\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368,0L 144,0 c-26.4,0-48,21.6-48,48l0,416 c0,26.4, 21.6,48, 48,48l 224,0 c 26.4,0, 48-21.6, 48-48L 416,48 C 416,21.6, 394.4,0, 368,0z M 192,24\n\tl 128,0 l0,16 L 192,40 L 192,24 z M 256,480c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 273.673,480, 256,480z M 384,384L 128,384 L 128,64 l 256,0 L 384,384 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"laptop, pc, computer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,352L 448,96 c0-17.6-14.4-32-32-32L 96,64 c-17.6,0-32,14.4-32,32l0,256 L0,352 l0,96 l 512,0 l0-96 L 448,352 z M 320,416L 192,416 l0-32 l 128,0 L 320,416 z M 416,352L 96,352 \n\tL 96,96.057 c 0.017-0.020, 0.038-0.041, 0.057-0.057l 319.885,0 c 0.020,0.017, 0.041,0.038, 0.058,0.058L 416,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416L 512,32 L0,32 l0,384 l 224,0 l0,32 l-96,0 l0,32 l 256,0 l0-32 l-96,0 l0-32 L 512,416 z M 64,96l 384,0 l0,256 L 64,352 L 64,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 48,236L 333,236L 319,228L 48,228 \t\tzM 48,220L 305,220L 291,212L 48,212 \t\tzM 48,204L 277,204L 263,196L 48,196 \t\tzM 48,188L 249,188L 235,180L 48,180 \t\tzM 48,252L 361,252L 347,244L 48,244 \t\tzM 48,268L 389,268L 375,260L 48,260 \t\tzM 48,284L 417,284L 403,276L 48,276 \t\tzM 48,92L 81,92L 67,84L 48,84 \t\tzM 48,292L 48,300L 445,300L 431,292 \t\tzM 48,108L 109,108L 95,100L 48,100 \t\tzM 48,124L 137,124L 123,116L 48,116 \t\tzM 48,156L 193,156L 179,148L 48,148 \t\tzM 48,140L 165,140L 151,132L 48,132 \t\tzM 48,172L 221,172L 207,164L 48,164 \t\tzM0,32l0,320 l 512,0 L 512,32 L0,32 z M 480,320L 32,320 L 32,64 l 448,0 L 480,320 zM 336,384L 176,384L 160,448L 128,480L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,320 l 512,0 L 512,32 L0,32 z M 480,320L 32,320 L 32,64 l 448,0 L 480,320 zM 336,384L 176,384L 160,448L 128,480L 384,480L 352,448 \tzM 48,228L 464,228L 464,236L 48,236zM 48,212L 464,212L 464,220L 48,220zM 48,244L 464,244L 464,252L 48,252zM 48,196L 464,196L 464,204L 48,204zM 48,260L 464,260L 464,268L 48,268zM 48,292L 464,292L 464,300L 48,300zM 48,276L 464,276L 464,284L 48,284zM 48,100L 464,100L 464,108L 48,108zM 48,180L 464,180L 464,188L 48,188zM 48,116L 464,116L 464,124L 48,124zM 48,84L 464,84L 464,92L 48,92zM 48,164L 464,164L 464,172L 48,172zM 48,148L 464,148L 464,156L 48,156zM 48,132L 464,132L 464,140L 48,140z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"screen, monitor, computer, pc, desktop\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,320 l 512,0 L 512,32 L0,32 z M 480,320L 32,320 L 32,64 l 448,0 L 480,320 zM 336,384L 176,384L 160,448L 128,480L 384,480L 352,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"keyboard, type, typing\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,128L 32,128 c-17.6,0-32,14.4-32,32l0,224 c0,17.6, 14.4,32, 32,32l 416,0 c 17.6,0, 32-14.4, 32-32L 480,160 C 480,142.4, 465.6,128, 448,128z\n\t\t M 448,383.942c-0.017,0.020-0.038,0.041-0.058,0.058L 32.057,384 c-0.020-0.017-0.041-0.038-0.057-0.058L 32,160.057 \n\t\tc 0.017-0.020, 0.038-0.041, 0.057-0.057l 415.885,0 c 0.020,0.017, 0.041,0.038, 0.058,0.058L 448,383.942 zM 128,320L 352,320L 352,352L 128,352zM 352,256L 384,256L 384,288L 352,288zM 288,256L 320,256L 320,288L 288,288zM 224,256L 256,256L 256,288L 224,288zM 160,256L 192,256L 192,288L 160,288zM 96,256L 128,256L 128,288L 96,288zM 320,192L 352,192L 352,224L 320,224zM 384,192L 416,192L 416,224L 384,224zM 256,192L 288,192L 288,224L 256,224zM 192,192L 224,192L 224,224L 192,224zM 128,192L 160,192L 160,224L 128,224zM 64,192L 96,192L 96,224L 64,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"576\" height=\"512\" viewBox=\"0 0 576 512\" data-tags=\"keyboard, type, typing\" style=\"margin-left: 8px; margin-top: 9px;\"><path d=\"M 544,64L 32,64 C 14.4,64,0,78.4,0,96l0,320 c0,17.6, 14.4,32, 32,32l 512,0 c 17.6,0, 32-14.4, 32-32L 576,96 C 576,78.4, 561.6,64, 544,64z M 320,128\n\tl 64,0 l0,64 l-64,0 L 320,128 z M 416,224l0,64 l-64,0 l0-64 L 416,224 z M 224,128l 64,0 l0,64 l-64,0 L 224,128 z M 320,224l0,64 l-64,0 l0-64 L 320,224 z M 128,128l 64,0 l0,64 l-64,0 L 128,128 z M 224,224l0,64 \n\tl-64,0 l0-64 L 224,224 z M 64,128l 32,0 l0,64 L 64,192 L 64,128 z M 64,224l 64,0 l0,64 L 64,288 L 64,224 z M 96,384L 64,384 l0-64 l 32,0 L 96,384 z M 384,384L 128,384 l0-64 l 256,0 L 384,384 z M 512,384l-96,0 l0-64 l 96,0 \n\tL 512,384 z M 512,288l-64,0 l0-64 l 64,0 L 512,288 z M 512,192l-96,0 l0-64 l 96,0 L 512,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, click, right, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 239.999,32C 192,32, 96,50.68, 96,128l0,212 c0,77.318, 64.471,140, 143.999,140S 384,417.318, 384,340L 384,128 \n\tC 384,50.68, 288,32, 239.999,32z M 128,128c0-10.974, 2.969-20.152, 9.076-28.060c 5.924-7.672, 14.915-14.422, 26.72-20.063\n\tC 182.578,70.902, 205.132,65.632, 224,64l0,128 l-96,0 L 128,128 z M 352,340c0,28.677-11.537,55.686-32.484,76.051\n\tc-10.287,10.002-22.277,17.857-35.635,23.353c-13.873,5.704-28.637,8.597-43.882,8.597c-15.244,0-30.008-2.893-43.881-8.598\n\tc-13.357-5.494-25.349-13.351-35.636-23.353C 139.536,395.686, 128,368.676, 128,339.999L 128,224 l 224,0 L 352,340 L 352,340z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, click, left, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32c-48,0-144,18.68-144,96l0,212 c0,77.318, 64.471,140, 144,140c 79.528,0, 144-62.682, 144-140L 384,128 C 384,50.68, 288,32, 240,32z\n\t M 352,340c0,28.677-11.537,55.686-32.484,76.051c-10.287,10.002-22.277,17.857-35.635,23.353C 270.008,445.107, 255.245,448, 240,448\n\ts-30.009-2.893-43.881-8.598c-13.358-5.494-25.35-13.351-35.637-23.353C 139.536,395.686, 128,368.677, 128,340L 128,224 l 224,0 L 352,340 z M 352,192\n\tl-96,0 L 256,64 c 18.868,1.633, 41.422,6.904, 60.204,15.878c 11.805,5.641, 20.795,12.391, 26.721,20.063C 349.030,107.848, 352,117.027, 352,128L 352,192 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 397.759,318.145l-76.8-128c-35.532-59.222-111.393-79.334-171.395-46.317C 136.634,120.593, 128,98.603, 128,80\n\tc0-17.485, 3.79-40.151, 21.843-48.83c 1.368-0.658, 3.435-1.651, 5.47-3.687c 6.249-6.249, 6.249-16.379,0-22.628\n\tc-5.266-5.266-13.29-6.094-19.421-2.484C 110.166,14.785, 96,42.349, 96,80c0,25.991, 11.055,54.009, 27.449,82.79\n\tc-42.94,40.348-53.559,106.479-22.008,159.065l 76.8,128c 24.001,40.003, 66.395,62.164, 109.88,62.164\n\tc 22.411,0, 45.118-5.891, 65.734-18.26C 414.474,457.389, 434.13,378.763, 397.759,318.145z M 236.069,297.825\n\tc-4.576,2.912-9.688,4.303-14.737,4.303c-9.090,0-17.985-4.503-23.228-12.74l-36.771-57.782c-8.153-12.813-4.376-29.811, 8.438-37.965\n\tc 12.812-8.154, 29.81-4.377, 37.965,8.437l 36.771,57.782C 252.66,272.674, 248.883,289.671, 236.069,297.825z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mouse, pc\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,39.429L 320,192 L 192,192 L 192,39.429 C 144.201,50.546, 96,76.024, 96,128l0,212 c0,77.318, 71.634,140, 160,140c 88.363,0, 160-62.682, 160-140\n\t\tL 416,128 C 416,76.024, 367.799,50.546, 320,39.429zM 288,33.933C 276.277,32.579, 265.321,32, 256,32c-9.32,0-20.276,0.579-32,1.933L 224,160 l 64,0 L 288,33.933 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"print, printer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288L 448,416L 64,416L 64,288L0,288L0,480L 512,480L 512,288 \t\tzM 416,32L 96,32 l0,352 l 320,0 L 416,32 z M 352,320L 160,320 l0-32 l 192,0 L 352,320 z M 352,224L 160,224 l0-32 l 192,0 L 352,224 z M 352,128L 160,128 L 160,96 l 192,0 L 352,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"print, printer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,32L 384,32L 384,96L 128,96zM 480,128L 32,128 C 14.4,128,0,142.4,0,160l0,160 c0,17.6, 14.398,32, 32,32l 96,0 l0,128 l 256,0 L 384,352 l 96,0 c 17.6,0, 32-14.4, 32-32L 512,160 \n\t\tC 512,142.4, 497.6,128, 480,128z M 352,448L 160,448 L 160,288 l 192,0 L 352,448 z M 487.2,176c0,12.813-10.387,23.2-23.199,23.2\n\t\tc-12.813,0-23.201-10.387-23.201-23.2s 10.388-23.2, 23.201-23.2C 476.814,152.8, 487.2,163.187, 487.2,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"print, printer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 510.225,384.049l-12.449-224.098C 496.799,142.378, 481.6,128, 464,128l-80,0 L 384,0 L 128,0 l0,128 L 48,128 \n\tc-17.601,0-32.799,14.378-33.775,31.951L 1.775,384.049C 0.799,401.622, 14.4,416, 32,416l 70.4,0 L 64,512l 384,0 l-38.4-96L 480,416 \n\tC 497.6,416, 511.2,401.622, 510.225,384.049z M 160,32l 192,0 l0,96 L 160,128 L 160,32 z M 111.265,480l 38.4-96l 212.67,0 l 38.4,96L 111.265,480 z M 448,224l-32,0 l0-64 \n\tl 32,0 L 448,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64l-48,0 l0,16 c0,17.645-14.355,32-32,32s-32-14.355-32-32L 336,64 L 176,64 l0,16 c0,17.645-14.355,32-32,32s-32-14.355-32-32L 112,64 L 64,64 \n\t\tc-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 384,0 c 17.6,0, 32-14.4, 32-32L 480,96 C 480,78.4, 465.6,64, 448,64z M 448,447.942\n\t\tc-0.017,0.020-0.038,0.041-0.058,0.058L 64.057,448 c-0.020-0.017-0.041-0.038-0.057-0.058L 64,160 l 384,0 L 448,447.942 zM 144,96c 8.836,0, 16-7.164, 16-16L 160,16 c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 C 128,88.836, 135.164,96, 144,96zM 368,96c 8.836,0, 16-7.164, 16-16L 384,16 c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 C 352,88.836, 359.164,96, 368,96zM 288,192L 128,192L 128,224L 256,224L 256,288L 128,288L 128,320L 256,320L 256,384L 128,384L 128,416L 288,416 \tzM 352,416L 384,416L 384,192L 320,192L 320,224L 352,224 \tzM 436,492L 76,492 c-17.6,0-32-10.4-32-28l0,16 c0,17.6, 14.4,32, 32,32l 360,0 c 17.6,0, 32-14.4, 32-32l0-16 C 468,481.6, 453.6,492, 436,492z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96l-32,0 l0,64 l-96,0 L 288,96 l-96,0 l0,64 L 96,160 L 96,96 L 64,96 c-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32L 448,128 \n\t\tC 448,110.4, 433.6,96, 416,96z M 128,480L 64.057,480 c-0.020-0.017-0.041-0.038-0.057-0.058L 64,416 l 64,0 L 128,480 z M 128,384L 64,384 l0-64 l 64,0 L 128,384 z M 128,288\n\t\tL 64,288 l0-64 l 64,0 L 128,288 z M 224,480l-64,0 l0-64 l 64,0 L 224,480 z M 224,384l-64,0 l0-64 l 64,0 L 224,384 z M 224,288l-64,0 l0-64 l 64,0 L 224,288 z M 320,480l-64,0 l0-64 l 64,0 L 320,480 z M 320,384\n\t\tl-64,0 l0-64 l 64,0 L 320,384 z M 320,288l-64,0 l0-64 l 64,0 L 320,288 z M 416,479.942c-0.017,0.020-0.038,0.041-0.058,0.058L 352,480 l0-64 l 64,0 L 416,479.942 z M 416,384l-64,0 \n\t\tl0-64 l 64,0 L 416,384 z M 416,288l-64,0 l0-64 l 64,0 L 416,288 zM 160,64c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 l 32,0 L 160,64 zM 352,64c0-8.836-7.164-16-16-16s-16,7.164-16,16l0,64 l 32,0 L 352,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,160L 96,160L 96,192L 64,192zM 128,160L 160,160L 160,192L 128,192zM 192,160L 224,160L 224,192L 192,192zM 256,160L 288,160L 288,192L 256,192zM 320,160L 352,160L 352,192L 320,192zM 384,160L 416,160L 416,192L 384,192zM 64,224L 96,224L 96,256L 64,256zM 128,224L 160,224L 160,256L 128,256zM 192,224L 224,224L 224,256L 192,256zM 256,224L 288,224L 288,256L 256,256zM 320,224L 352,224L 352,256L 320,256zM 384,224L 416,224L 416,256L 384,256zM 64,288L 96,288L 96,320L 64,320zM 128,288L 160,288L 160,320L 128,320zM 192,288L 224,288L 224,320L 192,320zM 256,288L 288,288L 288,320L 256,320zM 320,288L 352,288L 352,320L 320,320zM 384,288L 416,288L 416,320L 384,320zM 64,352L 96,352L 96,384L 64,384zM 128,352L 160,352L 160,384L 128,384zM 192,352L 224,352L 224,384L 192,384zM 256,352L 288,352L 288,384L 256,384zM 320,352L 352,352L 352,384L 320,384zM 384,352L 416,352L 416,384L 384,384zM 64,416L 96,416L 96,448L 64,448zM 128,416L 160,416L 160,448L 128,448zM 192,416L 224,416L 224,448L 192,448zM 256,416L 288,416L 288,448L 256,448zM 320,416L 352,416L 352,448L 320,448zM 384,416L 416,416L 416,448L 384,448zM 416,32L 416,0 l-64,0 l0,64 l-32,0 L 320,32 L 160,32 l0,32 l-32,0 L 128,0 L 64,0 l0,32 L0,32 l0,480 l 480,0 L 480,32 L 416,32 z M 448,480L 32,480 L 32,128 l 416,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,192L 224,192L 224,256L 160,256zM 256,192L 320,192L 320,256L 256,256zM 352,192L 416,192L 416,256L 352,256zM 64,384L 128,384L 128,448L 64,448zM 160,384L 224,384L 224,448L 160,448zM 256,384L 320,384L 320,448L 256,448zM 160,288L 224,288L 224,352L 160,352zM 256,288L 320,288L 320,352L 256,352zM 352,288L 416,288L 416,352L 352,352zM 64,288L 128,288L 128,352L 64,352zM 416,0l0,32 l-64,0 L 352,0 L 128,0 l0,32 L 64,32 L 64,0 L0,0 l0,512 l 480,0 L 480,0 L 416,0 z M 448,480L 32,480 L 32,128 l 416,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calendar, schedule, date, time, day\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,480c0,17.674, 14.327,32, 32,32l 448,0 c 17.674,0, 32-14.326, 32-32L 512,192 L0,192 L0,480 z M 352,224l 128,0 l0,64 L 352,288 L 352,224 z M 352,320l 128,0 l0,64 L 352,384 \n\t\tL 352,320 z M 352,416l 128,0 l0,64 L 352,480 L 352,416 z M 192,224l 128,0 l0,64 L 192,288 L 192,224 z M 192,320l 128,0 l0,64 L 192,384 L 192,320 z M 192,416l 128,0 l0,64 L 192,480 L 192,416 z M 32,224l 128,0 l0,64 L 32,288 \n\t\tL 32,224 z M 32,320l 128,0 l0,64 L 32,384 L 32,320 z M 32,416l 128,0 l0,64 L 32,480 L 32,416 zM 480,64l-64,0 L 416,18.286 C 416,8.187, 408.837,0, 400,0c-8.836,0-16,8.187-16,18.286L 384,64 L 128,64 L 128,18.286 C 128,8.187, 120.837,0, 112,0\n\t\tS 96,8.187, 96,18.286L 96,64 L 32,64 C 14.327,64,0,78.327,0,96l0,64 l 512,0 L 512,96 C 512,78.327, 497.673,64, 480,64z M 112,144c-17.673,0-32-14.327-32-32\n\t\tc0-11.842, 6.438-22.174, 16-27.708L 96,112 c0,8.836, 7.164,16, 16,16s 16-7.164, 16-16L 128,84.292 c 9.562,5.534, 16,15.866, 16,27.708\n\t\tC 144,129.673, 129.673,144, 112,144z M 400,144c-17.672,0-32-14.327-32-32c0-11.842, 6.438-22.174, 16-27.708L 384,112 \n\t\tc0,8.836, 7.164,16, 16,16c 8.837,0, 16-7.164, 16-16L 416,84.292 c 9.563,5.534, 16,15.866, 16,27.708C 432,129.673, 417.674,144, 400,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stopwatch, time, speed, meter, chronometer\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,96.606L 256.001,64 l 64,0 L 320.001,32 c0-17.673-14.327-32-32.001-32l-95.999,0 c-17.673,0-32,14.327-32,32l0,32 l 64,0 l0,32.606 \n\tc-107.399,8.169-192,97.901-192,207.394c0,114.875, 93.125,208, 208,208c 114.875,0, 208-93.125, 208-208\n\tC 448.001,194.508, 363.4,104.776, 256.001,96.606z M 353.138,417.137C 322.917,447.357, 282.739,464, 240.001,464\n\ts-82.917-16.643-113.137-46.863C 96.644,386.917, 80.001,346.737, 80.001,304s 16.643-82.917, 46.863-113.137\n\tc 29.020-29.019, 67.224-45.509, 108.057-46.774l-10.839,157.010C 223.152,314.244, 230.314,320, 240,320\n\tc 9.686,0, 16.849-5.756, 15.918-18.901L 245.080,144.088c 40.833,1.266, 79.038,17.756, 108.058,46.775\n\tc 30.22,30.22, 46.863,70.4, 46.863,113.137S 383.358,386.917, 353.138,417.137z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-cancel, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z M 352,352\n\tl-38.891,0 L 256,294.891L 198.891,352L 160,352 l0-38.891 L 217.109,256L 160,198.891L 160,160 l 38.891,0 L 256,217.109L 313.109,160L 352,160 l0,38.891 L 294.891,256\n\tL 352,313.109L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-check, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z\n\t M 224,369.891l-77.445-102.445l 23.891-23.891L 224,282.109l 122.555-108.555l 24.891,24.891L 224,369.891z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-minus, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z M 352,288\n\tL 160,288 l0-64 l 192,0 L 352,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm-plus, bell, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.45-13.033-4.056-18.745L 512,448 L 512,416 z M 352,288\n\tl-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 l0-64 l 64,0 l0,64 l 64,0 L 352,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bell, alarm, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,416c-53.021,0-96-42.98-96-96L 416,177.455 c0-70.369-54.971-129.064-128-142.542L 288,0 l-64,0 l0,34.912 \n\tC 150.968,48.391, 96,107.085, 96,177.454L 96,320 c0,53.020-42.981,96-96,96l0,32 l 214.799,0 c-2.604,5.712-4.055,12.059-4.055,18.745\n\tC 210.744,491.738, 231.006,512, 256,512c 24.992,0, 45.255-20.262, 45.255-45.255c0-6.688-1.451-13.033-4.056-18.745L 512,448 L 512,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bell, alarm, notification\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512.75,400c0-144-128-112-128-224c0-9.28-0.894-17.21-2.524-23.964c-8.415-56.509-46.078-101.86-94.886-115.68\n\tc 0.433-1.974, 0.66-4.016, 0.66-6.105C 288,13.612, 273.6,0, 256,0c-17.6,0-32,13.612-32,30.25c0,2.090, 0.228,4.132, 0.66,6.105\n\tc-54.735,15.499-95.457,70.649-96.627,136.721c-0.020,0.96-0.033,1.932-0.033,2.923C 128,288,0,256,0,400\n\tc0,38.113, 85.295,69.998, 199.485,78.040C 210.247,498.242, 231.513,512, 256,512s 45.754-13.758, 56.515-33.96\n\tC 426.705,469.998, 512,438.113, 512,400c0-0.114-0.013-0.228-0.014-0.341L 512.75,400z M 413.123,427.048\n\tc-27.115,7.235-59.079,12.438-93.384,15.324C 316.887,409.663, 289.448,384, 256,384s-60.887,25.663-63.739,58.372\n\tc-34.304-2.886-66.269-8.089-93.384-15.324C 61.562,417.091, 43.722,405.953, 37.193,400c 6.529-5.953, 24.369-17.091, 61.684-27.048\n\tC 142.263,361.376, 198.063,355, 256,355s 113.737,6.376, 157.123,17.952c 37.315,9.957, 55.155,21.095, 61.684,27.048\n\tC 468.278,405.953, 450.438,417.091, 413.123,427.048z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm, clock, time\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64C 132.288,64, 32,164.288, 32,288s 100.288,224, 224,224s 224-100.288, 224-224S 379.712,64, 256,64z M 256,468\n\tc-99.412,0-180-80.589-180-180c0-99.412, 80.588-180, 180-180c 99.411,0, 180,80.588, 180,180C 436,387.411, 355.411,468, 256,468z\n\t M 467.392,143.587C 475.413,129.561, 480,113.316, 480,96c0-53.020-42.98-96-96-96c-30.909,0-58.401,14.611-75.96,37.298\n\tC 373.982,50.916, 430.643,89.897, 467.392,143.587z M 203.96,37.298C 186.402,14.611, 158.909,0, 128,0C 74.98,0, 32,42.98, 32,96\n\tc0,17.316, 4.587,33.561, 12.608,47.587C 81.358,89.897, 138.019,50.916, 203.96,37.298z M 224,160l 32,0 l0,160 l-32,0 L 224,160 z M 256,288l 96,0 l0,32 l-96,0 \n\tL 256,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"alarm, clock, time\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,274.745 L 342.627,329.373 L 297.373,374.627 L 224,301.255 L 224,192 L 288,192 ZM 416,32 C 469.020,32 512,74.98 512,128 C 512,160.492 495.855,189.209 471.154,206.579 C 447.859,145.057 398.943,96.141 337.421,72.846 C 354.791,48.145 383.509,32 416,32 ZM 174.579,72.846 C 113.057,96.141 64.141,145.057 40.846,206.579 C 16.145,189.209 0,160.492 0,128 C 0,74.98 42.98,32 96,32 C 128.492,32 157.209,48.145 174.579,72.846 ZM 256,96C 149.961,96, 64,181.961, 64,288c0,46.337, 16.416,88.839, 43.747,122.010L 96,512l 32,0 l 32-57.69l-0.004-0.004\n\t\tC 188.238,470.645, 221.025,480, 256,480c 34.974,0, 67.76-9.355, 96.002-25.693L 352,454.309L 384,512l 32,0 l-11.751-101.984\n\t\tC 431.583,376.843, 448,334.34, 448,288C 448,181.961, 362.039,96, 256,96z M 256,416c-70.692,0-128-57.308-128-128s 57.308-128, 128-128\n\t\ts 128,57.308, 128,128S 326.692,416, 256,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\tC 480,139.452, 372.549,32, 240,32z M 384,288l-98.742,0 c-6.591,18.641-24.359,32-45.258,32c-26.51,0-48-21.49-48-48\n\tc0-20.898, 13.359-38.667, 32-45.258L 224,96 l 32,0 l0,130.742 c 13.636,4.821, 24.438,15.623, 29.258,29.258L 384,256 L 384,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\t\tC 480,139.452, 372.549,32, 240,32z M 240,480c-114.875,0-208-93.125-208-208S 125.125,64, 240,64s 208,93.125, 208,208\n\t\tS 354.875,480, 240,480zM 256,226.742L 256,96 l-32,0 l0,130.742 c-18.641,6.59-32,24.36-32,45.258c0,26.51, 21.49,48, 48,48c 20.898,0, 38.667-13.359, 45.258-32\n\t\tL 384,288 l0-32 l-98.742,0 C 280.438,242.365, 269.636,231.563, 256,226.742z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64 C 204.715,64 156.5,83.972 120.235,120.235 C 83.972,156.5 64,204.715 64,256 C 64,307.285 83.972,355.5 120.235,391.765 C 156.5,428.028 204.715,448 256,448 C 307.285,448 355.5,428.028 391.765,391.765 C 428.028,355.5 448,307.285 448,256 C 448,204.715 428.028,156.5 391.765,120.235 C 355.5,83.972 307.285,64 256,64 Z M 256,0 L 256,0 C 397.385,0 512,114.615 512,256 C 512,397.385 397.385,512 256,512 C 114.615,512 0,397.385 0,256 C 0,114.615 114.615,0 256,0 ZM 311.417,224c-5.618-9.708-13.709-17.798-23.417-23.417L 288,96 l-64,0 l0,104.583 c-19.124,11.067-32,31.731-32,55.417\n\tc0,35.347, 28.654,64, 64,64c 23.686,0, 44.35-12.876, 55.417-32L 384,288 l0-64 L 311.417,224 z M 256,288c-17.673,0-32-14.327-32-32s 14.327-32, 32-32\n\tc 17.673,0, 32,14.327, 32,32S 273.673,288, 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"watch, wrist watch, clock, time\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,224 L 352,224 L 352,288 L 224,288 L 224,160 L 288,160 ZM 448,256c0-71.066-38.613-133.109-96-166.308L 352,0 L 160,0 l0,89.692 C 102.613,122.89, 64,184.934, 64,256\n\t\tc0,71.065, 38.613,133.109, 96,166.308L 160,512 l 192,0 l0-89.692 C 409.387,389.109, 448,327.065, 448,256z M 256,384c-70.692,0-128-57.308-128-128\n\t\ts 57.308-128, 128-128s 128,57.308, 128,128S 326.692,384, 256,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 384,288L 224,288 L 224,96 l 64,0 l0,128 l 96,0 L 384,288 \n\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,224 L 384,288 L 224,288 L 224,96 L 288,96 L 288,224 ZM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 329.372,374.628L 224,269.255\n\t\tL 224,128 l 64,0 l0,114.745 l 86.628,86.627L 329.372,374.628z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clock, time, schedule\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 329.372,374.628L 224,269.255L 224,128L 288,128L 288,242.745L 374.628,329.372 \tzM 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,448\n\t\tc-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192C 448,362.039, 362.039,448, 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"history, time, past, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,128L 256,288L 384,288L 384,256L 288,256L 288,128 \tzM 288,32C 164.288,32, 64,132.288, 64,256L0,256 l 80,96l 80-96L 96,256 c0-106.039, 85.961-192, 192-192c 106.039,0, 192,85.961, 192,192\n\t\tc0,106.039-85.961,192-192,192c-10.904,0-21.592-0.923-32-2.67l0,32.385 c 10.453,1.495, 21.134,2.285, 32,2.285\n\t\tc 123.712,0, 224-100.288, 224-224S 411.712,32, 288,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"history, time, past, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,32 C 411.712,32 512,132.288 512,256 C 512,379.712 411.712,480 288,480 L 288,432 C 335.012,432 379.209,413.693 412.451,380.451 C 445.693,347.209 464,303.012 464,256 C 464,208.989 445.693,164.791 412.451,131.549 C 379.209,98.307 335.012,80 288,80 C 240.989,80 196.791,98.307 163.549,131.549 C 137.979,157.118 121.258,189.172 114.896,224 L 208,224 L 96,352 L -16,224 L 66.285,224 C 81.815,115.449 175.154,32 288,32 ZM 384,224 L 384,288 L 256,288 L 256,128 L 320,128 L 320,224 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"direction, address, directions, location, map\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,192l 96-64l-96-64L 288,64 L 288,24 c0-13.2-10.8-24-24-24l-16,0 c-13.2,0-24,10.8-24,24l0,40 L 64,64 l0,128 l 160,0 l0,32 L 80,224 l-64,48l 64,48l 144,0 l0,192 l 64,0 \n\tL 288,320 l 128,0 l0-96 L 288,224 l0-32 L 400,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 336,96L 176,32L0,96l0,384 l 176-64l 160,64l 176-64L 512,32 L 336,96z M 192,72.865l 128,51.2l0,315.069 l-128-51.199L 192,72.865 z M 32,118.414\n\tl 128-46.545l0,315.9 L 32,434.313L 32,118.414 z M 480,393.586l-128,46.546l0-315.9 l 128-46.545L 480,393.586 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 160,32L 160,416L0,480 zM 352,96 L 352,480 L 192,426.667 L 192,42.667 ZM 512,32 L 512,416 L 384,467.2 L 384,83.2 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,80L 128,16L0,96l0,416 l 128-80l 256,64l 128-80L 512,0 L 384,80z M 160,407.016L 160,56.985 l 4,1l0,350.031 L 160,407.016z M 172,410.016L 172,59.985 \n\tl 8,2l0,350.031 L 172,410.016z M 188,414.016L 188,63.985 l 8,2l0,350.031 L 188,414.016z M 204,418.016L 204,67.985 l 8,2l0,350.031 L 204,418.016z\n\t M 220,422.016L 220,71.985 l 8,2l0,350.031 L 220,422.016z M 236,426.016L 236,75.985 l 8,2l0,350.031 L 236,426.016z M 252,430.016L 252,79.985 l 8,2l0,350.031 \n\tL 252,430.016z M 268,434.016L 268,83.985 l 8,2l0,350.031 L 268,434.016z M 284,438.016L 284,87.985 l 8,2l0,350.031 L 284,438.016z M 300,442.016L 300,91.985 l 8,2\n\tl0,350.031 L 300,442.016z M 316,446.016L 316,95.985 l 8,2l0,350.031 L 316,446.016z M 332,450.016L 332,99.985 l 8,2l0,350.031 L 332,450.016z M 352,455.016\n\tl-4-1L 348,103.985 l 4,1L 352,455.016 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"map, location, guide\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,80L 128,16L0,96l0,416 l 128-80l 256,64l 128-80L 512,0 L 384,80z M 352,455.016l-192-48L 160,56.985 l 192,48L 352,455.016 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"compass, direction, map, locate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,464\n\tc-114.875,0-208-93.125-208-208S 141.125,48, 256,48s 208,93.125, 208,208S 370.875,464, 256,464zM 304,208l-144-80l-32,0 l0,32 l 80,144l 144,80l 32,0 l0-32 L 304,208z M 256,288c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32\n\tc 17.673,0, 32,14.327, 32,32C 288,273.673, 273.673,288, 256,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"compass, direction, map, locate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\t\tC 480,139.452, 372.549,32, 240,32z M 240,464c-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192\n\t\tc 106.039,0, 192,85.961, 192,192C 432,378.039, 346.039,464, 240,464zM 416,264.615l-106.469-24.569L 352,182.588L 352,160 l-22.588,0 l-57.458,42.469L 247.385,96l-14.77,0 l-24.569,106.469L 150.588,160L 128,160 \n\tl0,22.588 l 42.469,57.458L 64,264.615l0,14.77 l 106.469,24.569L 128,361.412L 128,384 l 22.588,0 l 57.458-42.469L 232.615,448l 14.77,0 l 24.569-106.469\n\tL 329.412,384L 352,384 l0-22.588 l-42.469-57.458L 416,279.385L 416,264.615 z M 256,276c0,6.6-5.4,12-12,12l-8,0 c-6.6,0-12-5.4-12-12l0-8 \n\tc0-6.6, 5.4-12, 12-12l 8,0 c 6.6,0, 12,5.4, 12,12L 256,276 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.635,0, 96,67.157, 96,150c0,120, 128,160.73, 128,330l0,16 c0,8.449, 6.551,15.363, 14.85,15.955L 238.85,512 L 272,512 \n\tc 8.836,0, 16-7.163, 16-16l0-16 c0-169.27, 128-210, 128-330C 416,67.157, 344.365,0, 256,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 149.961,0, 64,85.961, 64,192c0,192, 192,320, 192,320s 192-128, 192-320C 448,85.961, 362.039,0, 256,0z M 322.991,396.373\n\tc-24.718,29.093-49.755,51.45-66.991,65.485c-17.237-14.035-42.274-36.394-66.991-65.485c-25.119-29.564-45.030-60.251-59.181-91.204\n\tC 112.689,267.684, 104,229.607, 104,192c0-40.601, 15.811-78.771, 44.52-107.48S 215.399,40, 256,40c 40.602,0, 78.771,15.811, 107.48,44.52\n\tS 408,151.399, 408,192c0,37.607-8.689,75.684-25.827,113.169C 368.021,336.122, 348.11,366.809, 322.991,396.373zM 256,96c-35.346,0-64,28.654-64,64s 28.654,64, 64,64c 35.347,0, 64-28.654, 64-64S 291.347,96, 256,96z M 256,192\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32S 273.673,192, 256,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 149.961,0, 64,85.961, 64,192c0,192, 192,320, 192,320s 192-128, 192-320C 448,85.961, 362.039,0, 256,0z M 256,224\n\tc-35.346,0-64-28.654-64-64s 28.654-64, 64-64c 35.347,0, 64,28.654, 64,64S 291.347,224, 256,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,288, 160,288s 160-128, 160-288C 416,71.634, 344.365,0, 256,0z M 256,258\n\tc-54.124,0-98-43.876-98-98s 43.876-98, 98-98s 98,43.876, 98,98S 310.124,258, 256,258z M 194,160c0,34.242, 27.758,62, 62,62\n\tc 34.242,0, 62-27.758, 62-62s-27.758-62-62-62C 221.758,98, 194,125.758, 194,160zM 393.128,348.815c-7.091,11.137-14.438,21.69-21.828,31.613c 1.173,0.551, 2.333,1.108, 3.471,1.677\n\tC 399.106,394.274, 410,407.896, 410,416s-10.894,21.726-35.229,33.895C 344.131,465.214, 300.841,474, 256,474\n\ts-88.131-8.786-118.771-24.105C 112.893,437.726, 102,424.104, 102,416s 10.893-21.726, 35.229-33.895\n\tc 1.138-0.568, 2.298-1.126, 3.47-1.677c-7.39-9.923-14.737-20.477-21.827-31.613C 84.935,366.131, 64,389.841, 64,416\n\tc0,53.020, 85.961,96, 192,96c 106.039,0, 192-42.98, 192-96C 448,389.841, 427.065,366.131, 393.128,348.815z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,352, 160,352s 160-192, 160-352C 416,71.634, 344.365,0, 256,0z M 256,258\n\tc-54.124,0-98-43.876-98-98s 43.876-98, 98-98s 98,43.876, 98,98S 310.124,258, 256,258zM 194,160A62,62 1080 1 1 318,160A62,62 1080 1 1 194,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,288, 160,288s 160-128, 160-288C 416,71.634, 344.365,0, 256,0z M 256,256\n\tc-53.020,0-96-42.98-96-96s 42.98-96, 96-96c 53.020,0, 96,42.98, 96,96S 309.020,256, 256,256zM 393.128,348.815c-7.091,11.137-14.438,21.69-21.828,31.613c 1.173,0.551, 2.333,1.108, 3.471,1.677\n\tC 399.106,394.274, 410,407.896, 410,416s-10.894,21.726-35.229,33.895C 344.131,465.214, 300.841,474, 256,474\n\ts-88.131-8.786-118.771-24.105C 112.893,437.726, 102,424.104, 102,416s 10.893-21.726, 35.229-33.895\n\tc 1.138-0.568, 2.298-1.126, 3.47-1.677c-7.39-9.923-14.737-20.477-21.827-31.613C 84.935,366.131, 64,389.841, 64,416\n\tc0,53.020, 85.961,96, 192,96c 106.039,0, 192-42.98, 192-96C 448,389.841, 427.065,366.131, 393.128,348.815z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"location, map, marker, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 167.634,0, 96,71.634, 96,160c0,160, 160,352, 160,352s 160-192, 160-352C 416,71.634, 344.365,0, 256,0z M 256,256\n\tc-53.020,0-96-42.98-96-96s 42.98-96, 96-96s 96,42.98, 96,96S 309.020,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pushpin, pin\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 272,0l-48,48l 48,48L 160,224L 48,224 l 88,88L0,492.308L0,512 l 19.692,0 L 200,376l 88,88L 288,352 l 128-112l 48,48l 48-48L 272,0z M 224,272l-32-32\n\tl 112-112l 32,32L 224,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 48,64 C 21.6,64,0,85.6,0,112l0,320 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.4,64, 464,64z\n\t M 199.37,275.186L 64,380.632L 64,129.811 L 199.37,275.186z M 88.19,128L 423.81,128 L 256,254L 88.19,128z M 204.644,280.849L 256,336l 51.355-55.151\n\tL 412.632,416L 99.368,416 L 204.644,280.849z M 312.63,275.186L 448,129.811l0,250.821 L 312.63,275.186z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop-opened, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 325.607,361.050L 512,489.605L 512,193.657 \tzM0,193.657L0,489.605L 186.388,361.032 \tzM 256,423.56L 211.499,383.605L0,511.868L 512,511.868L 300.494,383.605 \tzM 15.359,192L 496.64,192L 255.999,11.074 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"mail-send, send, envelope\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 607.984,128L 192.015,128L 400,294.389 \tzM 400,345.611L 373.791,324.646L 202.5,416L 597.499,416L 426.209,324.646 \tzM 460.21,297.443L 640,393.333L 640,153.612 \tzM 160,153.612L 160,393.333L 339.791,297.443 \tzM 128,192L0,184L0,168L 128,160 \tzM 128,288L0,280L0,264L 128,256 \tzM 128,384L0,376L0,360L 128,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 325.608,265.182L 512,393.736L 512,97.789 \tzM0,97.789L0,393.736L 186.388,265.164 \tzM 256,327.691L 211.499,287.736L0,416L 512,416L 300.495,287.736 \tzM 496.64,96L 15.36,96L 256,276.926 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"envelop, mail, email, contact, letter\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,64L 32,64 C 14.4,64,0,78.4,0,96l0,320 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,96 C 512,78.4, 497.6,64, 480,64z M 448,128\n\tl0,23 L 256,264.143L 64,151l0-23 L 448,128 z M 64,384L 64,206.714 l 192,113.143l 192-113.143L 448,384 L 64,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"notebook, notes, book, journal\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 449.18,32L 64,32 l0,64 L 17.18,96 C 8.38,96,0,102.264,0,111.064l0,32 C0,151.864, 8.38,160, 17.18,160L 64,160 l0,32 L 17.18,192 \n\tC 8.38,192,0,198.264,0,207.064l0,32 C0,247.864, 8.38,256, 17.18,256L 64,256 l0,32 L 17.18,288 C 8.38,288,0,294.264,0,303.064l0,32 \n\tC0,343.863, 8.38,352, 17.18,352L 64,352 l0,32 L 17.18,384 C 8.38,384,0,390.264,0,399.064l0,32 C0,439.864, 8.38,448, 17.18,448L 64,448 l0,64 l 385.18,0 \n\tc 17.674,0, 30.82-15.263, 30.82-32.936l0-416 C 480,45.391, 466.854,32, 449.18,32z M 160,480L 96,480 l0-32 l 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936\n\tl0-32 c0-8.801-6.021-15.064-14.82-15.064L 96,384 l0-32 l 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936l0-32 c0-8.801-6.021-15.064-14.82-15.064L 96,288 l0-32 \n\tl 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936l0-32 c0-8.801-6.021-15.064-14.82-15.064L 96,192 l0-32 l 17.18,0 c 8.8,0, 14.82-8.136, 14.82-16.936l0-32 \n\tC 128,102.263, 121.98,96, 113.18,96L 96,96 L 96,64 l 64,0 L 160,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"address-book, book, contacts\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128c 17.673,0, 32-14.327, 32-32L 512,32 l-64,0 L 448,0 L 32,0 C 14.4,0,0,14.399,0,32l0,448 c0,17.6, 14.398,32, 32,32l 416,0 L 448,384 l 32,0 \n\tc 17.673,0, 32-14.327, 32-32l0-64 l-64,0 l0-32 l 32,0 c 17.673,0, 32-14.327, 32-32l0-64 l-64,0 l0-32 L 480,128 z M 288,128.165\n\tc 35.255,0, 63.835,28.58, 63.835,63.835s-28.58,63.835-63.835,63.835c-35.255,0-63.835-28.58-63.835-63.835\n\tS 252.745,128.165, 288,128.165z M 128,480L 96,480 L 96,32 l 32,0 L 128,480 z M 384,384L 192,384 l0-32 c0-35.347, 28.654-64, 64-64l0,0 l 64,0 c 35.348,0, 64,28.653, 64,64\n\tL 384,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"address-book, book, contacts\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,224L 80,224L 80,304L 32,304zM 32,128L 80,128L 80,208L 32,208zM 32,320L 80,320L 80,400L 32,400zM 32,416L 80,416L 80,496L 32,496zM 96,0l0,512 l 384,0 L 480,0 L 96,0 z M 288,128.165c 35.255,0, 63.835,28.58, 63.835,63.835s-28.58,63.835-63.835,63.835\n\t\tc-35.255,0-63.835-28.58-63.835-63.835S 252.745,128.165, 288,128.165z M 384,384L 192,384 l0-32 c0-35.347, 28.654-64, 64-64l0,0 l 64,0 \n\t\tc 35.348,0, 64,28.653, 64,64L 384,384 zM 32,32L 80,32L 80,112L 32,112z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone-hang-up, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424.382,388.799 C 441.311,388.799 482.44,386.766 498.852,367.945 C 507.097,358.495 511.376,344.13 511.936,324.030 C 512.285,311.501 511.208,296.612 508.733,279.777 L 508.669,279.366 C 504.458,254.51 492.619,233.415 470.282,210.968 L 469.649,210.361 C 439.541,182.778 390.517,151.251 276.851,147.563 L 276.851,147.201 L 257.851,147.201 L 256.030,147.208 L 254.148,147.201 L 235.148,147.215 L 235.148,147.564 C 121.482,151.252 72.458,182.779 42.35,210.362 L 41.716,210.971 C 19.381,233.415 7.542,254.509 3.331,279.367 L 3.266,279.778 C 0.792,296.612 -0.285,311.501 0.063,324.031 C 0.623,344.13 4.902,358.495 13.145,367.945 C 29.561,386.767 70.697,388.799 87.621,388.799 C 110.601,388.799 132.23,385.328 148.522,379.025 C 181.239,366.368 186.124,345.147 186.124,333.625 C 186.124,322.556 182.829,313.434 180.182,306.105 C 176.106,294.823 175.82,293.398 180.649,287.862 C 194.004,272.552 224.119,272.546 255.996,272.54 C 287.879,272.546 317.995,272.551 331.349,287.863 C 336.179,293.399 335.893,294.824 331.818,306.105 C 329.17,313.435 325.875,322.557 325.875,333.625 C 325.875,345.146 330.761,366.366 363.479,379.023 C 379.772,385.326 401.399,388.798 424.378,388.799 C 424.38,388.799 424.38,388.799 424.382,388.799 Z M 255.997,234.539 C 217.023,234.546 176.723,234.553 152.013,262.882 C 132.321,285.459 139.909,306.464 144.443,319.014 C 146.418,324.484 148.125,329.208 148.125,333.623 C 148.125,339.452 126.77,350.798 87.622,350.798 C 62.053,350.798 45.257,345.651 41.646,342.793 C 39.379,339.74 35.172,324.195 40.833,285.514 C 42.858,273.715 47.768,258.857 68.355,238.075 C 95.091,213.693 140.475,185.782 254.244,185.215 L 255.654,185.207 L 256.031,185.208 L 256.249,185.207 L 257.757,185.215 C 371.541,185.782 416.921,213.7 443.654,238.085 C 464.237,258.866 469.144,273.719 471.169,285.517 C 476.831,324.2 472.622,339.742 470.353,342.795 C 466.744,345.653 449.95,350.799 424.379,350.799 C 385.23,350.798 363.875,339.453 363.875,333.624 C 363.875,329.209 365.582,324.486 367.558,319.016 C 372.092,306.465 379.681,285.459 359.987,262.883 C 335.277,234.553 294.977,234.546 255.997,234.539 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone-hang-up, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 508.689,287.997 C 512.691,315.738 515.297,353.693 502.857,368.22 C 482.286,392.242 352.001,392.242 352.001,344.199 C 352.001,320 373.429,304.132 352.857,280.11 C 332.621,256.479 296.344,256.095 256,256.089 C 215.657,256.095 179.379,256.479 159.143,280.11 C 138.572,304.133 160,320 160,344.199 C 160,392.242 29.715,392.242 9.143,368.221 C -3.296,353.694 -0.691,315.739 3.312,287.998 C 6.392,269.479 14.174,249.5 39.086,224.001 C 39.086,224 39.087,224 39.087,223.999 C 76.456,189.128 133.010,160.63 254,160.015 L 254,160 C 254.672,160 255.332,160.005 256,160.007 C 256.669,160.005 257.328,160 258,160 L 258,160.014 C 378.99,160.629 435.544,189.127 472.913,223.998 C 472.914,223.999 472.914,224 472.914,224 C 497.826,249.498 505.609,269.477 508.689,287.997 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 403.655,512L 397.6,512 c-32.828,0-82.212-15.348-135.488-42.106c-52.054-26.146-99.579-58.811-130.387-89.619\n\t\tc-30.809-30.808-63.473-78.332-89.618-130.386C 15.347,196.612,0,147.228,0,114.399l0-6.056 l 3.359-5.038\n\t\tc 0.667-1, 16.557-24.767, 36.677-48.91C 61.141,29.070, 88.666,0, 114.4,0c 22.215,0, 49.753,22.282, 64.191,35.564\n\t\tc 11.086,10.199, 38.206,37.139, 50.555,66.953c 13.070,31.554, 1.723,49.564-6.205,57.491c-13.666,13.666-27.12,21.981-37.931,28.663\n\t\tc-16.997,10.505-19.144,12.762-19.144,20.128c0,23.18, 29.012,52.193, 57.068,80.252c 28.069,28.067, 57.083,57.081, 80.265,57.081\n\t\tc 7.366,0, 9.624-2.147, 20.128-19.144c 6.682-10.812, 14.998-24.266, 28.664-37.932c 7.975-7.975, 18.547-12.191, 30.574-12.191\n\t\tc 13.033,0, 27.884,4.986, 44.139,14.821c 12.849,7.772, 26.457,18.512, 39.355,31.056C 476.837,333.225, 512,369.599, 512,397.6\n\t\tc0,25.734-29.070,53.26-54.396,74.364c-24.144,20.12-47.91,36.011-48.91,36.677L 403.655,512z M 40.212,120.282\n\t\tc 1.845,26.779, 15.62,67.814, 37.639,111.653c 23.947,47.677, 54.66,92.558, 82.158,120.055c 27.498,27.498, 72.378,58.212, 120.056,82.158\n\t\tc 43.839,22.020, 84.871,35.795, 111.649,37.64c 7.785-5.418, 23.196-16.44, 38.681-29.225c 36.434-30.080, 41.072-43.227, 41.569-45.081\n\t\tc-0.911-5.818-11.776-24.986-35.052-47.28c-23.913-22.904-44.934-33.336-54.346-33.336c-1.204,0-1.975,0.16-2.29,0.476\n\t\tc-10.373,10.373-16.753,20.695-22.922,30.677c-11.041,17.865-23.557,38.114-54.154,38.114c-39.75,0-74.721-34.97-108.54-68.787\n\t\tc-33.827-33.828-68.794-68.797-68.794-108.546c0-30.598, 20.249-43.113, 38.115-54.154c 9.982-6.169, 20.304-12.549, 30.676-22.921\n\t\tc 0.598-0.598, 1.055-4.287-1.481-11.354c-5.294-14.753-20.189-34.967-38.872-52.752c-20.225-19.252-35.43-26.847-39.793-27.58\n\t\tc-1.88,0.507-15.083,5.192-45.267,41.8C 56.506,97.286, 45.591,112.55, 40.212,120.282zM 320,128c-22.419,0-42.133,11.536-53.563,28.987C 274.33,153.781, 282.955,152, 292,152c 37.556,0, 68,30.445, 68,68\n\tc0,9.045-1.781,17.669-4.987,25.563C 372.464,234.133, 384,214.419, 384,192C 384,156.654, 355.347,128, 320,128zM 336,64c-33.896,0-64.273,15.059-84.812,38.85C 267.98,93.398, 287.358,88, 308,88c 64.064,0, 116,51.935, 116,116\n\tc0,20.642-5.398,40.020-14.85,56.812C 432.941,240.273, 448,209.896, 448,176C 448,114.144, 397.855,64, 336,64zM 368,0c-41.519,0-78.926,17.578-105.206,45.689C 285.271,31.917, 311.707,23.972, 340,23.972c 81.738,0, 148,66.269, 148,148.014\n\tc0,28.326-7.962,54.79-21.761,77.286C 494.393,222.989, 512,185.554, 512,144C 512,64.471, 447.529,0, 368,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 403.655,512L 397.6,512 c-32.828,0-82.212-15.348-135.488-42.106c-52.054-26.146-99.579-58.811-130.387-89.619\n\t\tc-30.809-30.808-63.473-78.332-89.618-130.386C 15.347,196.612,0,147.228,0,114.399l0-6.056 l 3.359-5.038\n\t\tc 0.667-1, 16.557-24.767, 36.677-48.91C 61.141,29.070, 88.666,0, 114.4,0c 22.215,0, 49.753,22.282, 64.191,35.564\n\t\tc 11.086,10.199, 38.206,37.139, 50.555,66.953c 13.070,31.554, 1.723,49.564-6.205,57.491c-13.666,13.666-27.12,21.981-37.931,28.663\n\t\tc-16.997,10.505-19.144,12.762-19.144,20.128c0,23.18, 29.012,52.193, 57.068,80.252c 28.069,28.067, 57.083,57.081, 80.265,57.081\n\t\tc 7.366,0, 9.624-2.147, 20.128-19.144c 6.682-10.812, 14.998-24.266, 28.664-37.932c 7.975-7.975, 18.547-12.191, 30.574-12.191\n\t\tc 13.033,0, 27.884,4.986, 44.139,14.821c 12.849,7.772, 26.457,18.512, 39.355,31.056C 476.837,333.225, 512,369.599, 512,397.6\n\t\tc0,25.734-29.070,53.26-54.396,74.364c-24.144,20.12-47.91,36.011-48.91,36.677L 403.655,512z M 40.212,120.282\n\t\tc 1.845,26.779, 15.62,67.814, 37.639,111.653c 23.947,47.677, 54.66,92.558, 82.158,120.055c 27.498,27.498, 72.378,58.212, 120.056,82.158\n\t\tc 43.839,22.020, 84.871,35.795, 111.649,37.64c 7.785-5.418, 23.196-16.44, 38.681-29.225c 36.434-30.080, 41.072-43.227, 41.569-45.081\n\t\tc-0.911-5.818-11.776-24.986-35.052-47.28c-23.913-22.904-44.934-33.336-54.346-33.336c-1.204,0-1.975,0.16-2.29,0.476\n\t\tc-10.373,10.373-16.753,20.695-22.922,30.677c-11.041,17.865-23.557,38.114-54.154,38.114c-39.75,0-74.721-34.97-108.54-68.787\n\t\tc-33.827-33.828-68.794-68.797-68.794-108.546c0-30.598, 20.249-43.113, 38.115-54.154c 9.982-6.169, 20.304-12.549, 30.676-22.921\n\t\tc 0.598-0.598, 1.055-4.287-1.481-11.354c-5.294-14.753-20.189-34.967-38.872-52.752c-20.225-19.252-35.43-26.847-39.793-27.58\n\t\tc-1.88,0.507-15.083,5.192-45.267,41.8C 56.506,97.286, 45.591,112.55, 40.212,120.282z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"call-outgoing, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320 C 384,288 480,384 480,416 C 480,448 384,512 384,512 C 320,512 190.25,446.25 128,384 C 65.75,321.75 0,192 0,128 C 0,128 64,32 96,32 C 128,32 224,128 192,160 C 160,192 128,192 128,224 C 128,256 160,288 192,320 C 224,352 256,384 288,384 C 320,384 320,352 352,320 ZM 448,64 L 448,240 L 382.628,174.628 L 301.256,256 L 256,256 L 256,210.745 L 337.372,129.372 L 272,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"call-incoming, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320 C 384,288 480,384 480,416 C 480,448 384,512 384,512 C 320,512 190.25,446.25 128,384 C 65.75,321.75 0,192 0,128 C 0,128 64,32 96,32 C 128,32 224,128 192,160 C 160,192 128,192 128,224 C 128,256 160,288 192,320 C 224,352 256,384 288,384 C 320,384 320,352 352,320 ZM 256,256 L 256,80 L 321.372,145.372 L 402.744,64 L 448,64 L 448,109.255 L 366.628,190.628 L 432,256 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-remove, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 288,96L 480,96L 480,160L 288,160zM 288,96L 480,96L 480,160L 288,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-add, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 480,160 L 416,160 L 416,224 L 352,224 L 352,160 L 288,160 L 288,96 L 352,96 L 352,32 L 416,32 L 416,96 L 480,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-remove, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 368,0c-79.528,0-144,64.471-144,144s 64.472,144, 144,144s 144-64.471, 144-144S 447.528,0, 368,0z M 447.876,160L 288.124,160 l0-32 \n\tl 159.752,0 L 447.876,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"contact-add, phone, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c 32-32, 128,64, 128,96s-96,96-96,96c-64,0-193.75-65.75-256-128S0,192,0,128c0,0, 64-96, 96-96s 128,96, 96,128\n\ts-64,32-64,64s 32,64, 64,96s 64,64, 96,64S 320,352, 352,320zM 368,0c-79.528,0-144,64.471-144,144s 64.472,144, 144,144s 144-64.471, 144-144S 447.528,0, 368,0z M 384,160l0,63.876 l-32,0 L 352,160 \n\tl-63.876,0 l0-32 L 352,128 L 352,64.124 l 32,0 L 384,128 l 63.876,0 l0,32 L 384,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320 C 384,288 480,384 480,416 C 480,448 384,512 384,512 C 320,512 190.25,446.25 128,384 C 65.75,321.75 0,192 0,128 C 0,128 64,32 96,32 C 128,32 224,128 192,160 C 160,192 128,192 128,224 C 128,256 160,288 192,320 C 224,352 256,384 288,384 C 320,384 320,352 352,320 ZM 320,128c-22.419,0-42.133,11.536-53.563,28.987C 274.33,153.781, 282.955,152, 292,152c 37.556,0, 68,30.445, 68,68\n\tc0,9.045-1.781,17.669-4.987,25.563C 372.464,234.133, 384,214.419, 384,192C 384,156.654, 355.347,128, 320,128zM 336,64c-33.896,0-64.273,15.059-84.812,38.85C 267.98,93.398, 287.358,88, 308,88c 64.064,0, 116,51.935, 116,116\n\tc0,20.642-5.398,40.020-14.85,56.812C 432.941,240.273, 448,209.896, 448,176C 448,114.144, 397.855,64, 336,64zM 368,0c-41.519,0-78.926,17.578-105.206,45.689C 285.271,31.917, 311.707,23.972, 340,23.972c 81.738,0, 148,66.269, 148,148.014\n\tc0,28.326-7.962,54.79-21.761,77.286C 494.393,222.989, 512,185.554, 512,144C 512,64.471, 447.529,0, 368,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,320c-32,32-32,64-64,64s-64-32-96-64s-64-64-64-96s 32-32, 64-64S 128,32, 96,32S0,128,0,128c0,64, 65.75,193.75, 128,256\n\ts 192,128, 256,128c0,0, 96-64, 96-96S 384,288, 352,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 321.788,371.146c-11.188,6.236-20.175,2.064-32.764-4.572c-11.46-8.748-45.402-35.438-81.226-71.188\n\t\tc-26.156-33.084-46.162-64.288-55.375-79.293c-0.625-1.66-0.944-2.632-0.944-2.632c-5.397-13.476-8.771-22.92-1.324-33.521\n\t\tc 6.854-9.727, 9.5-12.383, 18.24-20.108L 80.605,29.708c-10.604,7.728-27.018,25.106-40.509,44.378\n\t\tc-12.538,18.317-23.154,38.587-26.049,53.055c 15.295,55.117, 52.258,157.896, 120.583,231.325l-0.021,0.308\n\t\tC 200.339,439.802, 304.774,490.204, 360.18,512c 14.679-1.385, 35.938-9.844, 55.456-20.404c 20.598-11.415, 39.567-25.945, 48.329-35.685\n\t\tL 343.677,355.082C 335.080,362.992, 332.179,365.336, 321.788,371.146zM 205.61,128.658c 7.241-5.302, 5.313-14.944, 1.926-20.245L 140.957,6.5c-4.344-5.291-13.396-8.064-21.252-5.579L 92.272,19.302\n\t\tl 88.034,129.879L 205.61,128.658zM 492.949,397.846l-94.473-76.788c-4.93-3.918-14.313-6.838-20.325-0.188l-23.046,23.050l 120.047,101.015l 21.136-25.357\n\t\tC 499.573,412.014, 497.755,402.721, 492.949,397.846z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"phone, contact, telephone, support, call\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 457.153,103.648 C 510.42,133.932 512,166.357 512.002,188.997 L 512.002,192.394 C 512.002,197.576 507.533,201.812 502.074,201.812 L 381.928,201.812 C 376.469,201.812 372,197.576 372,192.394 L 372,180.941 C 372,152.336 344.645,147.766 329.551,145.336 C 314.455,142.91 276.934,140.559 256.071,140.559 C 256.045,140.559 256.025,140.559 256.005,140.559 C 255.976,140.559 255.956,140.559 255.928,140.559 C 235.066,140.559 197.541,142.909 182.448,145.336 C 167.355,147.763 139.999,152.334 139.999,180.941 L 139.999,192.394 C 139.999,197.576 135.53,201.812 130.073,201.812 L 9.927,201.812 C 4.47,201.812 0.001,197.576 0.001,192.394 L 0.001,188.997 C 0.001,166.357 1.581,133.932 54.848,103.648 C 118.198,67.638 208.777,64 255.928,64 C 255.956,64.025 255.976,64.055 256.005,64.078 C 256.023,64.056 256.044,64.024 256.071,64 C 303.223,64 393.803,67.634 457.153,103.648 ZM 256.001,192c-28.374,0-87.443,2.126-117.456,38.519C 108.523,266.902, 33.455,448, 100.398,448c 66.956,0, 125.458,0, 155.606,0\n\t\tc 30.137,0, 88.648,0, 155.595,0c 66.945,0-8.125-181.098-38.137-217.481C 343.444,194.126, 284.362,192, 256.001,192z M 256,384\n\t\tc-35.346,0-64-28.653-64-64s 28.654-64, 64-64c 35.347,0, 64,28.653, 64,64S 291.347,384, 256,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"support, help, life, lifebuoy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 160,256\n\tc0-53.020, 42.98-96, 96-96s 96,42.98, 96,96s-42.98,96-96,96S 160,309.020, 160,256z M 462.99,341.738L 462.99,341.738l-88.71-36.745\n\tC 380.539,289.901, 384,273.355, 384,256s-3.461-33.901-9.72-48.993l 61.063-25.293l 27.647-11.452C 473.944,196.673, 480,225.627, 480,256\n\tC 480,286.373, 473.943,315.327, 462.99,341.738L 462.99,341.738z M 341.739,49.010L 341.739,49.010L 341.739,49.010l-36.745,88.71\n\tC 289.902,131.461, 273.356,128, 256,128s-33.901,3.461-48.993,9.72l-17.23-41.599l-19.515-47.112C 196.673,38.057, 225.628,32, 256,32\n\tC 286.373,32, 315.327,38.057, 341.739,49.010z M 49.010,170.262l 47.112,19.515l 41.599,17.23C 131.462,222.099, 128,238.645, 128,256\n\ts 3.461,33.901, 9.72,48.993l-88.71,36.745C 38.057,315.327, 32,286.373, 32,256C 32,225.627, 38.057,196.673, 49.010,170.262z\n\t M 170.262,462.99l 11.452-27.647l 25.293-61.063C 222.099,380.539, 238.645,384, 256,384s 33.901-3.461, 48.993-9.72l 36.745,88.71l0,0l0,0\n\tC 315.327,473.942, 286.373,480, 256,480C 225.628,480, 196.673,473.943, 170.262,462.99z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calculate, sum, calculator, compute, math, arithmetic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,32L 32,32 C 14.4,32,0,46.4,0,64l0,160 c0,17.6, 14.398,32, 32,32l 160,0 c 17.6,0, 32-14.4, 32-32L 224,64 C 224,46.4, 209.6,32, 192,32z\n\t M 192,160L 32,160 l0-32 l 160,0 L 192,160 z M 448,32L 288,32 c-17.602,0-32,14.4-32,32l0,416 c0,17.6, 14.398,32, 32,32l 160,0 c 17.6,0, 32-14.4, 32-32L 480,64 \n\tC 480,46.4, 465.6,32, 448,32z M 448,320L 288,320 l0-32 l 160,0 L 448,320 z M 448,224L 288,224 l0-32 l 160,0 L 448,224 z M 192,288L 32,288 c-17.6,0-32,14.4-32,32l0,160 \n\tc0,17.6, 14.398,32, 32,32l 160,0 c 17.6,0, 32-14.4, 32-32L 224,320 C 224,302.4, 209.6,288, 192,288z M 192,416l-64,0 l0,64 L 96,480 l0-64 L 32,416 l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 \n\tL 192,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"calculate, sum, calculator, compute, math, arithmetic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,0L 128,0 c-17.6,0-32,14.4-32,32l0,448 c0,17.6, 14.4,32, 32,32l 256,0 c 17.6,0, 32-14.4, 32-32L 416,32 C 416,14.4, 401.6,0, 384,0z M 192,480\n\tl-64,0 l0-64 l 64,0 L 192,480 z M 192,384l-64,0 l0-64 l 64,0 L 192,384 z M 192,288l-64,0 l0-64 l 64,0 L 192,288 z M 288,480l-64,0 l0-64 l 64,0 L 288,480 z M 288,384l-64,0 l0-64 l 64,0 L 288,384 z M 288,288\n\tl-64,0 l0-64 l 64,0 L 288,288 z M 384,480l-64,0 l0-64 l 64,0 L 384,480 z M 384,384l-64,0 l0-64 l 64,0 L 384,384 z M 384,288l-64,0 l0-64 l 64,0 L 384,288 z M 384,192L 128,192 L 128,32 l 256,0 L 384,192 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"credit, card, purchase, payment, ecommerce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 48,64 C 21.6,64,0,85.6,0,112l0,288 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.4,64, 464,64z M 96,384\n\tL 64,384 l0-64 l 32,0 L 96,384 z M 160,384l-32,0 l0-64 l 32,0 L 160,384 z M 224,384l-32,0 l0-64 l 32,0 L 224,384 z M 496,256L 16,256 l0-96 l 480,0 L 496,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"credit, card, purchase, payment, ecommerce\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464,64L 48,64 C 21.6,64,0,85.6,0,112l0,288 c0,26.4, 21.6,48, 48,48l 416,0 c 26.4,0, 48-21.6, 48-48L 512,112 C 512,85.6, 490.4,64, 464,64z M 48,96\n\t\tl 416,0 c 8.673,0, 16,7.327, 16,16l0,48 L 32,160 l0-48 C 32,103.327, 39.327,96, 48,96z M 464,416L 48,416 c-8.673,0-16-7.327-16-16L 32,256 l 448,0 l0,144 \n\t\tC 480,408.673, 472.673,416, 464,416zM 64,320L 96,320L 96,384L 64,384zM 128,320L 160,320L 160,384L 128,384zM 192,320L 224,320L 224,384L 192,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"coins, money, cash\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 335.333,158.667c-11.648,0-23.030,1.14-34.049,3.292c-0.873-0.659-1.763-1.314-2.694-1.958\n\t\tc 13.614-9.414, 21.41-20.342, 21.41-32L 320,96 c0-35.346-71.634-64-160-64S0,60.654,0,96l0,32 c0,11.658, 7.796,22.586, 21.41,32\n\t\tC 7.796,169.414,0,180.342,0,192l0,32 c0,11.658, 7.796,22.586, 21.411,32C 7.796,265.414,0,276.343,0,288l0,32 \n\t\tc0,11.658, 7.796,22.586, 21.41,32C 7.796,361.414,0,372.343,0,384l0,32 c0,35.347, 71.634,64, 160,64c 23.616,0, 46.021-2.057, 66.2-5.73\n\t\tC 256.244,497.902, 294.143,512, 335.333,512C 432.904,512, 512,432.903, 512,335.333C 512,237.763, 432.904,158.667, 335.333,158.667z\n\t\t M 16,96c0-9.523, 14.447-21.456, 36.805-30.399C 81.18,54.251, 119.25,48, 160,48s 78.82,6.251, 107.195,17.601\n\t\tC 289.553,74.544, 304,86.477, 304,96s-14.447,21.456-36.805,30.399c-9.23,3.692-19.492,6.841-30.533,9.414\n\t\tC 213.763,141.15, 187.495,144, 160,144s-53.763-2.85-76.663-8.187c-11.041-2.573-21.302-5.722-30.532-9.414\n\t\tC 30.447,117.456, 16,105.523, 16,96z M 16,288c0-7.067, 7.961-15.46, 21.203-22.975C 66.553,279.066, 110.666,288, 160,288\n\t\tc 1.71,0, 3.406-0.023, 5.102-0.047c-4.188,15.080-6.436,30.967-6.436,47.38c0,0.22, 0.007,0.438, 0.008,0.658\n\t\tc-27.013-0.090-52.808-2.927-75.339-8.178c-11.040-2.573-21.301-5.722-30.531-9.413C 30.447,309.457, 16,297.523, 16,288z M 160,432\n\t\tc-40.75,0-78.82-6.25-107.195-17.6C 30.447,405.457, 16,393.523, 16,384c0-7.067, 7.961-15.46, 21.203-22.975\n\t\tC 66.553,375.066, 110.666,384, 160,384c 1.824,0, 3.635-0.023, 5.443-0.050c 4.82,16.873, 12.088,32.713, 21.391,47.114\n\t\tC 178.073,431.677, 169.108,432, 160,432z M 160,240c-27.494,0-53.763-2.85-76.662-8.187c-11.041-2.573-21.303-5.722-30.533-9.414\n\t\tC 30.447,213.456, 16,201.523, 16,192c0-7.067, 7.961-15.46, 21.202-22.975C 66.552,183.066, 110.665,192, 160,192\n\t\tc 32.961,0, 63.569-4.001, 89.022-10.836c-24.988,14.020-46.22,33.935-61.811,57.865C 178.33,239.66, 169.241,240, 160,240z\n\t\t M 335.333,479.879c-79.83,0-144.545-64.715-144.545-144.546c0-79.83, 64.715-144.545, 144.545-144.545\n\t\tc 79.831,0, 144.546,64.715, 144.546,144.545C 479.879,415.164, 415.164,479.879, 335.333,479.879zM 352,224l-32,0 l0,32 l-64,0 l0,96 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,32 l 32,0 l0-32 l 64,0 l0-96 l-64,0 l0-32 l 64,0 l0-32 l-64,0 L 352,224 z M 320,320l-32,0 l0-32 l 32,0 L 320,320 z M 384,352l0,32 \n\t\tl-32,0 l0-32 L 384,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"coin, money, cash\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,32C 107.452,32,0,139.452,0,272c0,132.549, 107.452,240, 240,240c 132.549,0, 240-107.451, 240-240\n\t\tC 480,139.452, 372.549,32, 240,32z M 240,464c-106.039,0-192-85.961-192-192c0-106.039, 85.961-192, 192-192\n\t\tc 106.039,0, 192,85.961, 192,192C 432,378.039, 346.039,464, 240,464zM 256,256l0-64 l 64,0 l0-32 l-64,0 l0-32 l-32,0 l0,32 l-64,0 l0,128 l 64,0 l0,64 l-64,0 l0,32 l 64,0 l0,32 l 32,0 l0-32 l 64,0 l 0.001,0 L 320,256L 256,256 z M 224,256l-32,0 l0-64 l 32,0 L 224,256 z\n\t M 288.001,352L 256,352 l0-64 l 32.001,0 L 288.001,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bag, cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,160l-80,0 c0-88.365-42.98-160-96-160s-96,71.635-96,160L 80,160 c-8.8,0-16,7.2-16,16l0,320 c0,8.8, 7.2,16, 16,16l 352,0 \n\tc 8.8,0, 16-7.2, 16-16L 448,176 C 448,167.2, 440.8,160, 432,160z M 256,32c 35.347,0, 64,57.308, 64,128L 192,160 C 192,89.308, 220.654,32, 256,32z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bag, store, ecommerce, purchase, buy, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 352,80 c0-44.183-35.817-80-80-80c-18.011,0-34.629,5.955-48,15.999C 210.629,5.955, 194.011,0, 176,0\n\tc-44.183,0-80,35.817-80,80l0,54.4 L 32,144l0,336 l 64,0 l 32,32l 320-48L 448,128 L 352,96z M 64,420l0-8 l 32,0 l0,8 L 64,420 z M 96,428l0,8 L 64,436 l0-8 L 96,428 z M 64,404l0-8 l 32,0 l0,8 \n\tL 64,404 z M 64,388l0-8 l 32,0 l0,8 L 64,388 z M 64,372l0-8 l 32,0 l0,8 L 64,372 z M 64,356l0-8 l 32,0 l0,8 L 64,356 z M 64,340l0-8 l 32,0 l0,8 L 64,340 z M 64,324l0-8 l 32,0 l0,8 L 64,324 z M 64,308l0-8 l 32,0 l0,8 L 64,308 z\n\t M 64,292l0-8 l 32,0 l0,8 L 64,292 z M 64,276l0-8 l 32,0 l0,8 L 64,276 z M 64,260l0-8 l 32,0 l0,8 L 64,260 z M 64,244l0-8 l 32,0 l0,8 L 64,244 z M 64,228l0-8 l 32,0 l0,8 L 64,228 z M 64,212l0-8 l 32,0 l0,8 L 64,212 z\n\t M 64,196l0-8 l 32,0 l0,8 L 64,196 z M 64,180l0-8 l 32,0 l0,8 L 64,180 z M 64,448l0-4 l 32,0 l0,4 L 64,448 z M 380,170.558l 8-1.2l0,271.284 l-8,1.199L 380,170.558 z M 372,443.042l-8,1.2\n\tL 364,172.958 l 8-1.2L 372,443.042 z M 396,168.158l 8-1.2l0,271.284 l-8,1.2L 396,168.158 z M 356,174.158l0,271.284 l-8,1.2L 348,175.358 L 356,174.158z\n\t M 252,189.758l 8-1.2l0,271.284 l-8,1.2L 252,189.758 z M 244,462.242l-8,1.2L 236,192.158 l 8-1.2L 244,462.242 z M 268,187.358l 8-1.2l0,271.284 l-8,1.199\n\tL 268,187.358 z M 284,184.958l 8-1.2l0,271.284 l-8,1.2L 284,184.958 z M 300,182.558l 8-1.2l0,271.284 l-8,1.199L 300,182.558 z M 316,180.158l 8-1.2l0,271.284 \n\tl-8,1.2L 316,180.158 z M 332,177.758l 8-1.2l0,271.284 l-8,1.2L 332,177.758 z M 272,32c 26.468,0, 48,21.533, 48,48l0,20.8 l-64,9.6L 256,80 \n\tc0-14.531-3.894-28.145-10.666-39.89C 252.967,34.992, 262.14,32, 272,32z M 228,193.358l0,271.283 l-8,1.2L 220,194.558 L 228,193.358z\n\t M 180,200.558l0,271.284 l-8,1.2L 172,201.758 L 180,200.558z M 188,199.358l 8-1.2l0,271.283 l-8,1.2L 188,199.358 z M 204,196.958l 8-1.2l0,271.284 l-8,1.2\n\tL 204,196.958 z M 128,80c0-26.467, 21.533-48, 48-48c 9.86,0, 19.033,2.992, 26.666,8.111C 195.894,51.855, 192,65.469, 192,80l0,40 l-64,9.6L 128,80 z\n\t M 160,203.558l 4-0.6l0,271.284 l-4,0.6L 160,203.558 z M 416,436.442l-4,0.6L 412,165.758 l 4-0.6L 416,436.442 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bag, store, ecommerce, purchase, buy\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,96L 352,80 c0-44.183-35.817-80-80-80c-18.011,0-34.629,5.955-48,15.999C 210.629,5.955, 194.011,0, 176,0\n\tc-44.183,0-80,35.817-80,80l0,54.4 L 32,144l0,336 l 64,0 l 32,32l 320-48L 448,128 L 352,96z M 96,448L 64,448 L 64,171.558 l 32-4.8L 96,448 z M 272,32\n\tc 26.468,0, 48,21.533, 48,48l0,20.8 l-64,9.6L 256,80 c0-14.531-3.894-28.145-10.666-39.89C 252.967,34.992, 262.14,32, 272,32z M 128,80\n\tc0-26.467, 21.533-48, 48-48c 9.86,0, 19.033,2.992, 26.666,8.111C 195.894,51.855, 192,65.469, 192,80l0,40 l-64,9.6L 128,80 z M 416,436.442\n\tl-256,38.399L 160,203.558 l 256-38.4L 416,436.442 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"basket, cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,512l 383.459,0 c0,0, 32.541-64, 64-256L0,256 C 32,448, 64,512, 64,512z M 368,288l 48,0 l0,192 l-48,0 L 368,288 z M 277.333,288l 48,0 l0,192 l-48,0 L 277.333,288 z\n\t\t M 186.667,288l 48,0 l0,192 l-48,0 L 186.667,288 z M 96,288l 48,0 l0,192 L 96,480 L 96,288 zM 437.768,160L 347.9,47.666c 2.606-4.631, 4.1-9.973, 4.1-15.666c0-17.673-14.327-32-32-32c-17.674,0-32,14.327-32,32\n\t\ts 14.326,32, 32,32c 3.185,0, 6.259-0.472, 9.162-1.338L 407.032,160L 104.968,160 l 77.871-97.338C 185.742,63.528, 188.815,64, 192,64\n\t\tc 17.673,0, 32-14.327, 32-32S 209.673,0, 192,0s-32,14.327-32,32c0,5.693, 1.493,11.034, 4.1,15.666L 74.232,160L0,160 l0,64 l 512,0 l0-64 L 437.768,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"basket, cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 406.494,192L 317.573,76.235C 319.134,72.465, 320,68.334, 320,64c0-17.673-14.326-32-32-32c-17.673,0-32,14.327-32,32\n\ts 14.327,32, 32,32c 1.421,0, 2.816-0.102, 4.188-0.282L 366.144,192L 145.857,192 l 73.956-96.282C 221.184,95.898, 222.58,96, 224,96\n\tc 17.673,0, 32-14.327, 32-32s-14.327-32-32-32s-32,14.327-32,32c0,4.334, 0.866,8.465, 2.427,12.234L 105.506,192L0,192 l0,64 l 32,0 l 32,256l 384,0 \n\tl 32-256l 32,0 l0-64 L 406.494,192 z M 160,448L 96,448 l0-64 l 64,0 L 160,448 z M 160,320L 96,320 l0-64 l 64,0 L 160,320 z M 288,448l-64,0 l0-64 l 64,0 L 288,448 z M 288,320l-64,0 l0-64 l 64,0 L 288,320 z\n\t M 416,448l-64,0 l0-64 l 64,0 L 416,448 z M 416,320l-64,0 l0-64 l 64,0 L 416,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-remove, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 402.628,229.372l-45.256,45.256L 288,205.255l-69.373,69.372l-45.255-45.255L 242.745,160l-69.372-69.373l 45.254-45.254\n\tL 288,114.745l 69.372-69.373l 45.256,45.255L 333.255,160L 402.628,229.372z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-checkout, checkout, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384L 144,384 c-16.138,0-29.751-12.018-31.753-28.031L 83.751,128L 32,128 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 80,0 \n\t\tc 16.138,0, 29.751,12.017, 31.753,28.031L 172.249,320l 219.613,0 l 57.369-200.791c 4.854-16.993, 22.567-26.832, 39.56-21.978\n\t\tc 16.993,4.855, 26.833,22.567, 21.978,39.56l-64,224C 442.844,374.528, 430.287,384, 416,384zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 429.312,77.082L 295.159,255.4L 215,151.91L 241.612,127.485L 293.159,173.125L 406.981,57.75 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-remove, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 394,192 L 320,192 L 320,288 L 256,288 L 256,192 L 182,192 L 288,78 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-add, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 182,160 L 256,160 L 256,64 L 320,64 L 320,160 L 394,160 L 288,274 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-minus, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384L 144,384 c-16.138,0-29.751-12.018-31.753-28.031L 83.751,128L 32,128 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 80,0 \n\t\tc 16.138,0, 29.751,12.017, 31.753,28.031L 172.249,320l 219.613,0 l 57.369-200.791c 4.854-16.993, 22.567-26.832, 39.56-21.978\n\t\tc 16.993,4.855, 26.833,22.567, 21.978,39.56l-64,224C 442.844,374.528, 430.287,384, 416,384zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 192,160L 384,160L 384,224L 192,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart-plus, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,384L 144,384 c-16.138,0-29.751-12.018-31.753-28.031L 83.751,128L 32,128 c-17.673,0-32-14.327-32-32s 14.327-32, 32-32l 80,0 \n\t\tc 16.138,0, 29.751,12.017, 31.753,28.031L 172.249,320l 219.613,0 l 57.369-200.791c 4.854-16.993, 22.567-26.832, 39.56-21.978\n\t\tc 16.993,4.855, 26.833,22.567, 21.978,39.56l-64,224C 442.844,374.528, 430.287,384, 416,384zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464zM 384,224 L 320,224 L 320,288 L 256,288 L 256,224 L 192,224 L 192,160 L 256,160 L 256,96 L 320,96 L 320,160 L 384,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231c-16.992-4.854-34.705,4.985-39.56,21.978L 446.72,128L 148.249,128 l-4.496-35.969\n\t\tC 141.751,76.017, 128.138,64, 112,64L 32,64 C 14.327,64,0,78.327,0,96s 14.327,32, 32,32l 51.751,0 l 28.496,227.969\n\t\tC 114.249,371.982, 127.862,384, 144,384l 272,0 c 14.287,0, 26.844-9.472, 30.769-23.209l 64-224\n\t\tC 515.624,119.798, 505.784,102.086, 488.791,97.231z M 437.577,160l-9.144,32L 156.249,192 l-4-32L 437.577,160 z M 419.291,224l-9.143,32L 164.249,256 \n\t\tl-4-32L 419.291,224 z M 172.249,320l-4-32l 232.756,0 l-9.143,32L 172.249,320 zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231c-16.992-4.854-34.705,4.985-39.56,21.978L 446.72,128L 148.249,128 l-4.496-35.969\n\t\tC 141.751,76.017, 128.138,64, 112,64L 32,64 C 14.327,64,0,78.327,0,96s 14.327,32, 32,32l 51.751,0 l 28.496,227.969\n\t\tC 114.249,371.982, 127.862,384, 144,384l 272,0 c 14.287,0, 26.844-9.472, 30.769-23.209l 64-224\n\t\tC 515.624,119.798, 505.784,102.086, 488.791,97.231z M 256,256l0-32 l 63.998,0 l0,32 L 256,256 z M 319.998,288l0,32 L 256,320 l0-32 L 319.998,288 z M 256,192l0-32 \n\t\tl 63.998,0 l0,32 L 256,192 z M 152.249,160L 224,160 l0,32 l-67.751,0 L 152.249,160z M 160.249,224L 224,224 l0,32 l-59.751,0 L 160.249,224z M 168.249,288L 224,288 l0,32 l-51.751,0 \n\t\tL 168.249,288z M 391.862,320l-39.864,0 l0-32 l 49.007,0 L 391.862,320z M 410.148,256l-58.15,0 l0-32 l 67.293,0 L 410.148,256z M 428.434,192l-76.436,0 \n\t\tl0-32 l 85.579,0 L 428.434,192zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231c-16.992-4.854-34.705,4.985-39.56,21.978L 446.72,128L 148.249,128 l-4.496-35.969\n\t\tC 141.751,76.017, 128.138,64, 112,64L 32,64 C 14.327,64,0,78.327,0,96s 14.327,32, 32,32l 51.751,0 l 28.496,227.969\n\t\tC 114.249,371.982, 127.862,384, 144,384l 272,0 c 14.287,0, 26.844-9.472, 30.769-23.209l 64-224\n\t\tC 515.624,119.798, 505.784,102.086, 488.791,97.231z M 391.862,320L 172.249,320 l-0.5-4l 221.256,0 L 391.862,320z M 395.291,308L 170.749,308 l-1-8\n\t\tl 227.827,0 L 395.291,308z M 399.862,292L 168.749,292 l-1-8l 234.399,0 L 399.862,292z M 404.434,276L 166.749,276 l-1-8L 406.72,268 L 404.434,276z\n\t\t M 409.005,260L 164.749,260 l-1-8l 247.542,0 L 409.005,260z M 413.577,244L 162.749,244 l-1-8l 254.113,0 L 413.577,244z M 418.148,228L 160.749,228 l-1-8\n\t\tl 260.685,0 L 418.148,228z M 422.72,212L 158.749,212 l-1-8l 267.256,0 L 422.72,212z M 427.291,196L 156.749,196 l-1-8l 273.828,0 L 427.291,196z M 431.862,180\n\t\tL 154.749,180 l-1-8l 280.399,0 L 431.862,180z M 152.749,164l-0.5-4l 285.327,0 l-1.143,4L 152.749,164 zM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 488.791,97.231 C 505.784,102.086 515.624,119.798 510.769,136.791 L 446.769,360.791 C 442.844,374.528 430.287,384 416,384 L 144,384 C 127.862,384 114.249,371.982 112.247,355.969 L 83.751,128 L 32,128 C 14.327,128 0,113.673 0,96 C 0,78.327 14.327,64 32,64 L 112,64 C 128.138,64 141.751,76.017 143.753,92.031 L 172.249,320 L 391.862,320 L 449.231,119.209 C 454.086,102.216 471.799,92.377 488.791,97.231 ZM 128,464A48,48 2520 1 1 224,464A48,48 2520 1 1 128,464zM 320,464A48,48 2520 1 1 416,464A48,48 2520 1 1 320,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 423.609,288c 17.6,0, 35.956-13.846, 40.791-30.769l 46.418-162.463C 515.653,77.846, 505.209,64, 487.609,64L 160,64 \n\t\tc0-35.346-28.654-64-64-64L0,0 l0,64 l 96,0 l0,272 c0,26.51, 21.49,48, 48,48l 304,0 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 160,320 l0-32 L 423.609,288 z\n\t\t M 160,224l0-4 l 263.117,0 l-1.143,4L 160,224 z M 441.403,156l-2.286,8L 160,164 l0-8 L 441.403,156 z M 160,148l0-8 l 285.975,0 l-2.285,8L 160,148 z M 436.832,172\n\t\tl-2.286,8L 160,180 l0-8 L 436.832,172 z M 432.261,188l-2.286,8L 160,196 l0-8 L 432.261,188 z M 427.688,204l-2.285,8L 160,212 l0-8 L 427.688,204 z M 449.403,128l-1.143,4\n\t\tL 160,132 l0-4 L 449.403,128 zM 152,416 C 174,416 192,434 192,456 L 192,472 C 192,494 174,512 152,512 L 136,512 C 114,512 96,494 96,472 L 96,456 C 96,434 114,416 136,416 L 152,416 ZM 440,416 C 462,416 480,434 480,456 L 480,472 C 480,494 462,512 440,512 L 424,512 C 402,512 384,494 384,472 L 384,456 C 384,434 402,416 424,416 L 440,416 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 423.609,288c 17.6,0, 35.956-13.846, 40.791-30.769l 46.418-162.463C 515.653,77.846, 505.209,64, 487.609,64L 160,64 \n\tc0-35.346-28.654-64-64-64L0,0 l0,64 l 96,0 l0,272 c0,26.51, 21.49,48, 48,48l 304,0 c 17.673,0, 32-14.327, 32-32s-14.327-32-32-32L 160,320 l0-32 L 423.609,288 z\n\t M 160,128l 289.403,0 l-27.429,96L 160,224 L 160,128 zM 192,472c0,22-18,40-40,40l-16,0 c-22,0-40-18-40-40l0-16 c0-22, 18-40, 40-40l 16,0 c 22,0, 40,18, 40,40L 192,472 zM 480,472c0,22-18,40-40,40l-16,0 c-22,0-40-18-40-40l0-16 c0-22, 18-40, 40-40l 16,0 c 22,0, 40,18, 40,40L 480,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cart, ecommerce, shopping, products, purchase, buy, store\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,464A48,48 10800 1 1 160,464A48,48 10800 1 1 64,464zM 384,464A48,48 10800 1 1 480,464A48,48 10800 1 1 384,464zM 480,256L 480,64 L 64,64 C 64,28.654, 35.347,0,0,0l0,32 c 17.645,0, 32,14.355, 32,32l 24.037,206.027C 41.39,281.756, 32,299.777, 32,320\n\t\tc0,35.347, 28.654,64, 64,64l 384,0 l0-32 L 96,352 c-17.673,0-32-14.327-32-32c0-0.11, 0.007-0.218, 0.008-0.328L 480,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"ticket, theater, cinema\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 287.998,160L 351.997,223.999L 224,351.996L 160.001,287.997zM 500.763,148.752l-36.758-36.758l-16.004,16.004c-8.189,8.19-19.505,13.255-32,13.255\n\t\tc-24.994,0-45.257-20.261-45.257-45.255c0-12.501, 5.070-23.819, 13.267-32.009l 15.994-15.993l-36.759-36.758\n\t\tc-14.984-14.984-39.504-14.984-54.488,0L 11.238,308.757c-14.983,14.984-14.983,39.505,0,54.488l 36.76,36.759l 15.981-15.982\n\t\tc 8.191-8.203, 19.515-13.276, 32.022-13.276c 24.994,0, 45.255,20.262, 45.255,45.255c0,12.503-5.070,23.82-13.267,32.011l-15.992,15.993\n\t\tl 36.758,36.759c 14.983,14.983, 39.504,14.983, 54.488,0l 297.52-297.52C 515.745,188.256, 515.745,163.736, 500.763,148.752z\n\t\t M 224.001,415.998l-128-128l 192-192l 128,128L 224.001,415.998z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"qrcode, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,32 L 32,32 L 32,160 L 160,160 L 160,32 Z M 192,0 L 192,0 L 192,192 L 0,192 L 0,0 L 192,0 ZM 64,64L 128,64L 128,128L 64,128zM 480,32 L 352,32 L 352,160 L 480,160 L 480,32 Z M 512,0 L 512,0 L 512,192 L 320,192 L 320,0 L 512,0 ZM 384,64L 448,64L 448,128L 384,128zM 160,352 L 32,352 L 32,480 L 160,480 L 160,352 Z M 192,320 L 192,320 L 192,512 L 0,512 L 0,320 L 192,320 ZM 64,384L 128,384L 128,448L 64,448zM 224,0L 256,0L 256,32L 224,32zM 256,32L 288,32L 288,64L 256,64zM 224,64L 256,64L 256,96L 224,96zM 256,96L 288,96L 288,128L 256,128zM 224,128L 256,128L 256,160L 224,160zM 256,160L 288,160L 288,192L 256,192zM 224,192L 256,192L 256,224L 224,224zM 224,256L 256,256L 256,288L 224,288zM 256,288L 288,288L 288,320L 256,320zM 224,320L 256,320L 256,352L 224,352zM 256,352L 288,352L 288,384L 256,384zM 224,384L 256,384L 256,416L 224,416zM 256,416L 288,416L 288,448L 256,448zM 224,448L 256,448L 256,480L 224,480zM 256,480L 288,480L 288,512L 256,512zM 480,256L 512,256L 512,288L 480,288zM 32,256L 64,256L 64,288L 32,288zM 64,224L 96,224L 96,256L 64,256zM0,224L 32,224L 32,256L0,256zM 128,224L 160,224L 160,256L 128,256zM 160,256L 192,256L 192,288L 160,288zM 192,224L 224,224L 224,256L 192,256zM 288,256L 320,256L 320,288L 288,288zM 320,224L 352,224L 352,256L 320,256zM 352,256L 384,256L 384,288L 352,288zM 384,224L 416,224L 416,256L 384,256zM 416,256L 448,256L 448,288L 416,288zM 448,224L 480,224L 480,256L 448,256zM 480,320L 512,320L 512,352L 480,352zM 288,320L 320,320L 320,352L 288,352zM 320,288L 352,288L 352,320L 320,320zM 352,320L 384,320L 384,352L 352,352zM 416,320L 448,320L 448,352L 416,352zM 448,288L 480,288L 480,320L 448,320zM 480,384L 512,384L 512,416L 480,416zM 288,384L 320,384L 320,416L 288,416zM 320,352L 352,352L 352,384L 320,384zM 384,352L 416,352L 416,384L 384,384zM 416,384L 448,384L 448,416L 416,416zM 448,352L 480,352L 480,384L 448,384zM 480,448L 512,448L 512,480L 480,480zM 320,416L 352,416L 352,448L 320,448zM 352,448L 384,448L 384,480L 352,480zM 384,416L 416,416L 416,448L 384,448zM 416,448L 448,448L 448,480L 416,480zM 320,480L 352,480L 352,512L 320,512zM 384,480L 416,480L 416,512L 384,512zM 448,480L 480,480L 480,512L 448,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"barcode, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64L 64,64L 64,384L0,384zM 96,64L 128,64L 128,384L 96,384zM 160,64L 192,64L 192,384L 160,384zM 256,64L 288,64L 288,384L 256,384zM 384,64L 416,64L 416,384L 384,384zM 480,64L 512,64L 512,384L 480,384zM 320,64L 336,64L 336,384L 320,384zM 224,64L 240,64L 240,384L 224,384zM 432,64L 448,64L 448,384L 432,384zM0,416L 32,416L 32,448L0,448zM 96,416L 128,416L 128,448L 96,448zM 160,416L 192,416L 192,448L 160,448zM 320,416L 352,416L 352,448L 320,448zM 480,416L 512,416L 512,448L 480,448zM 384,416L 448,416L 448,448L 384,448zM 224,416L 288,416L 288,448L 224,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"barcode, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96L 64,96L 64,416L0,416zM 96,96L 128,96L 128,416L 96,416zM 160,96L 192,96L 192,416L 160,416zM 256,96L 288,96L 288,416L 256,416zM 384,96L 416,96L 416,416L 384,416zM 480,96L 512,96L 512,416L 480,416zM 320,96L 336,96L 336,416L 320,416zM 224,96L 240,96L 240,416L 224,416zM 432,96L 448,96L 448,416L 432,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256L 224,256L 224,320L 192,320zM 256,352L 288,352L 288,416L 256,416zM 400.443,143.029L 284.891,16.971C 276.334,7.637, 259.434,0, 247.333,0l-14.667,0 c-12.1,0-29,7.637-37.556,16.971\n\t\tL 79.557,143.029C 71,152.363, 64,170.8, 64,184l0,304 c0,13.2, 9.9,24, 22,24l 308,0 c 12.101,0, 22-10.8, 22-24L 416,184 \n\t\tC 416,170.8, 409,152.363, 400.443,143.029z M 320,256l-64,0 l0,64 l 64,0 l0,8 l0,24 l0,64 l0,24 l0,8 l-64,0 l0,32 l-32,0 l0-32 l-64,0 l0-32 l 64,0 l0-64 l-64,0 l0-16 l0-16 l0-64 l0-32 l 32,0 \n\t\tl 32,0 l0-32 l 32,0 l0,32 l 64,0 L 320,256 z M 265,80c0,13.807-11.193,25-25,25s-25-11.193-25-25s 11.193-25, 25-25S 265,66.193, 265,80z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"tags, prices\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,96 L 384,96 C 381.158,96 373.652,97.357 364.621,101.098 C 355.59,104.839 349.322,109.187 347.312,111.196 L 170.509,288 L 288,405.49 L 464.803,228.686 C 466.813,226.677 471.161,220.409 474.901,211.378 C 478.643,202.348 480,194.842 480,192 L 480,96 Z M 496,32 L 496,32 C 522.4,32 544,53.6 544,80 L 544,192 C 544,218.4 528.727,255.273 510.058,273.941 L 321.941,462.058 C 312.607,471.392 300.304,476.059 288,476.059 C 275.696,476.059 263.392,471.392 254.059,462.058 L 113.941,321.941 C 95.274,303.273 95.274,272.726 113.941,254.059 L 302.059,65.941 C 320.727,47.273 357.6,32 384,32 L 496,32 ZM 43.313,299.313 L 214.502,470.502 C 196.37,480.082 173.271,477.271 158.059,462.058 L 17.941,321.941 C -0.726,303.273 -0.726,272.726 17.941,254.059 L 206.059,65.941 C 224.727,47.273 261.6,32 288,32 L 43.313,276.686 C 37.091,282.909 37.091,293.090 43.313,299.313 ZM 384,160A32,32 2520 1 1 448,160A32,32 2520 1 1 384,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"tags, prices\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,32L 384,32 c-26.4,0-63.273,15.273-81.941,33.941L 113.941,254.059c-18.667,18.667-18.667,49.214,0,67.882l 140.118,140.117\n\tc 18.667,18.668, 49.214,18.668, 67.882,0l 188.117-188.117C 528.727,255.273, 544,218.4, 544,192L 544,80 C 544,53.6, 522.4,32, 496,32z M 432,192\n\tc-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 458.51,192, 432,192zM 43.313,299.313 L 214.502,470.502 C 196.37,480.082 173.271,477.271 158.059,462.058 L 17.941,321.941 C -0.726,303.273 -0.726,272.726 17.941,254.059 L 206.059,65.941 C 224.727,47.273 261.6,32 288,32 L 43.313,276.686 C 37.091,282.909 37.091,293.090 43.313,299.313 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 447.875,64.126 L 319.625,64.126 C 316.777,64.126 309.256,65.487 300.207,69.235 C 291.16,72.983 284.881,77.338 282.867,79.351 L 70.707,291.511 L 220.49,441.293 L 432.649,229.134 C 434.662,227.12 439.018,220.841 442.766,211.792 C 446.516,202.743 447.875,195.223 447.875,192.376 L 447.875,64.125 Z M 463.906,0 L 463.906,0 C 490.357,0 512,21.643 512,48.094 L 512,192.376 C 512,218.827 496.697,255.772 477.993,274.478 L 254.498,497.972 C 245.146,507.324 232.817,512 220.49,512 C 208.163,512 195.835,507.325 186.483,497.972 L 14.028,325.519 C -4.676,306.815 -4.676,276.207 14.028,257.503 L 237.523,34.008 C 256.227,15.304 293.172,0 319.625,0 L 463.906,0 ZM 320,144A48,48 2520 1 1 416,144A48,48 2520 1 1 320,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64 L 298.51,64 L 90.51,272 L 240,421.49 L 448,213.49 L 448,64 Z M 512,0 L 512,0 L 512,240 L 240,512 L 0,272 L 272,0 L 512,0 ZM 320,144A48,48 2520 1 1 416,144A48,48 2520 1 1 320,144z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 463.906,0L 319.625,0 c-26.453,0-63.398,15.303-82.102,34.007L 14.028,257.502c-18.704,18.704-18.704,49.312,0,68.016\n\tl 172.455,172.453c 18.704,18.705, 49.311,18.705, 68.015,0l 223.495-223.494C 496.697,255.772, 512,218.826, 512,192.375L 512,48.094 \n\tC 512,21.642, 490.357,0, 463.906,0z M 400,160c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,160, 400,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 272,0L0,272l 240,240l 272-272L 512,0 L 272,0 z M 400,160c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,160, 400,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 312.377,128 L 40.048,128 C 35.686,128 32,131.664 32,136 L 32,408 C 32,412.336 35.685,416 40.048,416 L 312.377,416 C 325.904,416 348.567,406.626 358.131,397.074 L 477.707,277.643 C 479.703,275.648 480.002,273.251 480.002,272 C 480.002,270.749 479.703,268.351 477.706,266.356 L 358.131,146.925 C 348.567,137.375 325.904,128 312.377,128 Z M 312.377,96 L 312.377,96 C 334.403,96 365.168,108.728 380.744,124.284 L 500.32,243.716 C 515.895,259.272 515.895,284.727 500.32,300.284 L 380.744,419.716 C 365.168,435.272 334.403,448 312.377,448 L 40.048,448 C 18.022,448 0,430 0,408 L 0,136 C 0,114 18.022,96 40.048,96 L 312.377,96 ZM 288,272A48,48 2520 1 1 384,272A48,48 2520 1 1 288,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 312.279,160 L 64,160 L 64,384 L 312.28,384 C 318.076,383.738 331.297,378.271 335.588,374.362 L 438.074,272 L 335.589,169.639 C 331.297,165.729 318.076,160.262 312.279,160 Z M 312.377,96 L 312.377,96 C 334.403,96 365.168,108.728 380.744,124.284 L 500.32,243.716 C 515.895,259.272 515.895,284.727 500.32,300.284 L 380.744,419.716 C 365.168,435.272 334.403,448 312.377,448 L 40.048,448 C 18.022,448 0,430 0,408 L 0,136 C 0,114 18.022,96 40.048,96 L 312.377,96 ZM 256,272A48,48 2520 1 1 352,272A48,48 2520 1 1 256,272z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"tag, price\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 500.32,243.716L 380.744,124.284C 365.168,108.728, 334.403,96, 312.377,96L 40.048,96 C 18.022,96,0,114,0,136l0,272 \n\tc0,22, 18.022,40, 40.048,40l 272.329,0 c 22.026,0, 52.791-12.728, 68.367-28.284L 500.32,300.284\n\tC 515.896,284.728, 515.896,259.272, 500.32,243.716z M 368,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48\n\tS 394.51,320, 368,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"cc, creative commons, license\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 255.645,0C 185.511,0, 123.788,25.955, 76.090,74.347\n\t\tc-49.086,49.8-75.735,114.324-75.735,181.661c0,68.027, 25.939,131.147, 75.041,180.249C 124.49,485.351, 188.312,512, 255.645,512\n\t\tc 67.333,0, 132.56-26.649, 183.058-76.445c 47.697-46.995, 72.941-109.413, 72.941-179.547c0-69.439-25.244-132.563-73.643-180.959\n\t\tC 388.908,25.955, 325.779,0, 255.645,0z M 256.347,46.293c 57.512,0, 108.711,21.742, 148.694,61.72\n\t\tc 39.271,39.28, 60.311,91.178, 60.311,147.995c0,57.511-20.338,108.001-59.609,146.587c-41.385,40.676-94.684,62.418-149.395,62.418\n\t\tc-55.404,0-107.314-21.742-147.289-61.716c-39.974-39.981-62.426-92.586-62.426-147.289c0-55.413, 22.452-108.013, 62.426-148.697\n\t\tC 148.338,67.337, 198.836,46.293, 256.347,46.293zM 253.042,213.47c-14.453-26.373-39.131-36.865-67.768-36.865\n\t\tc-41.686,0-74.867,29.489-74.867,79.403c0,50.759, 31.193,79.396, 76.287,79.396c 28.922,0, 53.599-15.881, 67.207-39.981\n\t\tl-31.762-16.165c-7.092,17.017-17.868,22.113-31.477,22.113c-23.533,0-34.311-19.564-34.311-45.362\n\t\tc0-25.813, 9.073-45.378, 34.311-45.378c 6.808,0, 20.416,3.692, 28.361,20.701L 253.042,213.47zM 400.725,213.47c-14.461-26.373-39.129-36.865-67.766-36.865\n\t\tc-41.688,0-74.867,29.489-74.867,79.403c0,50.759, 31.193,79.396, 76.287,79.396c 28.92,0, 53.59-15.881, 67.199-39.981l-31.762-16.165\n\t\tc-7.084,17.017-17.861,22.113-31.479,22.113c-23.525,0-34.309-19.564-34.309-45.362c0-25.813, 9.080-45.378, 34.309-45.378\n\t\tc 6.809,0, 20.418,3.692, 28.369,20.701L 400.725,213.47z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"certificate, license, degree\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,0l0,512 l 448,0 L 480,0 L 32,0 z M 448,480L 64,480 L 64,32 l 384,0 L 448,480 zM 96,96L 256,96L 256,128L 96,128zM 96,160L 256,160L 256,192L 96,192zM 96,224L 256,224L 256,256L 96,256zM 96,287.68L 256,287.68L 256,319.68L 96,319.68zM 96,352L 256,352L 256,384L 96,384zM 96,416L 416,416L 416,448L 96,448zM 384,224 L 384,384 L 352,336 L 320,384 L 320,224 ZM 416,109.254 L 397.255,128 L 416,146.746 L 416,160 L 384,160 L 384,192 L 370.745,192 L 352,173.255 L 333.255,192 L 320,192 L 320,160 L 288,160 L 288,146.746 L 306.745,128 L 288,109.254 L 288,96 L 320,96 L 320,64 L 333.255,64 L 352,82.745 L 370.745,64 L 384,64 L 384,96 L 416,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,192L 448,192 L 448,88 c0-13.255-10.745-24-24-24L 208,64 l-16-32L 88,32 c-13.255,0-24,10.745-24,24l0,136 L 19.75,192 \n\tc-13.2,0-21.882,10.59-19.293,23.534l 58.836,208.932C 61.882,437.41, 74.8,448, 88,448l 336,0 c 13.2,0, 26.118-10.59, 28.707-23.534\n\tl 58.836-208.932C 514.132,202.59, 505.45,192, 492.25,192z M 96,64l 76.223,0 l 16,32L 416,96 l0,96 L 96,192 L 96,64 z M 421.797,416L 90.203,416 L 35.017,224l 441.966,0 \n\tL 421.797,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,128L 448,128 L 448,88 c0-13.255-10.745-24-24-24L 208,64 l-16-32L 88,32 c-13.255,0-24,10.745-24,24l0,72 L 19.75,128 \n\tc-13.2,0-21.882,10.59-19.293,23.534l 58.836,272.932C 61.882,437.41, 74.8,448, 88,448l 336,0 c 13.2,0, 26.118-10.59, 28.707-23.534\n\tl 58.836-272.932C 514.132,138.59, 505.45,128, 492.25,128z M 96,64l 76.223,0 l 16,32L 416,96 l0,32 L 96,128 L 96,64 z M 421.797,416L 90.203,416 L 35.017,160l 441.966,0 \n\tL 421.797,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,192 C 505.45,192 514.132,202.59 511.543,215.534 L 452.707,424.466 C 450.118,437.41 437.2,448 424,448 L 88,448 C 74.8,448 61.882,437.41 59.293,424.466 L 0.457,215.534 C -2.132,202.59 6.55,192 19.75,192 L 492.25,192 Z M 448,88 L 448,160 L 64,160 L 64,56 C 64,42.745 74.745,32 88,32 L 192,32 L 208,64 L 424,64 C 437.255,64 448,74.745 448,88 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 492.25,128L 19.75,128 c-13.2,0-21.882,10.59-19.293,23.534l 58.836,272.932C 61.882,437.41, 74.8,448, 88,448l 336,0 \n\t\tc 13.2,0, 26.118-10.59, 28.707-23.534l 58.836-272.932C 514.132,138.59, 505.45,128, 492.25,128zM 448,88c0-13.255-10.745-24-24-24L 208,64 l-16-32L 88,32 c-13.255,0-24,10.745-24,24l0,56 l 384,0 L 448,88 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-upload, upload, load, open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 288,448 l0-96 l 96,0 L 256,224L 128,352l 96,0 l0,96 L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373\n\tL 288,160 l 192,0 L 480,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-download, download, save, store, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 256,448 L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 L 480,448 zM 288,320L 288,224L 224,224L 224,320L 128,320L 256,448L 384,320 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-upload, upload, load, open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128L 224,64L0,64L0,480L 224,480L 224,352L 128,352L 256,224L 384,352L 288,352L 288,480L 512,480L 512,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-download, download, save, store, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 256,448L 128,320l 96,0 L 224,192 l 64,0 l0,128 l 96,0 L 256,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-remove, remove, directory, category\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 L 480,448 zM 160,288L 352,288L 352,352L 160,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 480,448L 32,448 L 32,96 l 178.745,0 l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 L 480,448 zM 288,224L 224,224L 224,288L 160,288L 160,352L 224,352L 224,416L 288,416L 288,352L 352,352L 352,288L 288,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-minus, minus, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 352,352L 160,352 l0-64 l 192,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 352,352l-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 l0-64 l 64,0 l0,64 l 64,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 210.745,96l 54.628,54.627l 9.372,9.373L 288,160 l 192,0 l0,288 L 32,448 L 32,96 L 210.745,96 M 224,64L0,64 l0,416 l 512,0 L 512,128 L 288,128 L 224,64L 224,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,128l-64-64L0,64 l0,416 l 512,0 L 512,128 L 288,128 z M 274.745,160L 288,160 l 192,0 l0,4 L 32,164 l0-8 l 238.745,0 L 274.745,160z M 32,448l0-4 l 448,0 l0,4 L 32,448 z M 32,436l0-8 \n\tl 448,0 l0,8 L 32,436 z M 32,420l0-8 l 448,0 l0,8 L 32,420 z M 32,404l0-8 l 448,0 l0,8 L 32,404 z M 32,388l0-8 l 448,0 l0,8 L 32,388 z M 32,372l0-8 l 448,0 l0,8 L 32,372 z M 32,356l0-8 l 448,0 l0,8 L 32,356 z M 32,340l0-8 \n\tl 448,0 l0,8 L 32,340 z M 32,324l0-8 l 448,0 l0,8 L 32,324 z M 32,308l0-8 l 448,0 l0,8 L 32,308 z M 32,292l0-8 l 448,0 l0,8 L 32,292 z M 32,276l0-8 l 448,0 l0,8 L 32,276 z M 32,260l0-8 l 448,0 l0,8 L 32,260 z M 32,244l0-8 \n\tl 448,0 l0,8 L 32,244 z M 32,228l0-8 l 448,0 l0,8 L 32,228 z M 32,212l0-8 l 448,0 l0,8 L 32,212 z M 32,196l0-8 l 448,0 l0,8 L 32,196 z M 32,180l0-8 l 448,0 l0,8 L 32,180 z M 210.745,96l 4,4L 32,100 l0-4 L 210.745,96 z\n\t M 222.745,108l 8,8L 32,116 l0-8 L 222.745,108 z M 238.745,124l 8,8L 32,132 l0-8 L 238.745,124 z M 254.746,140l 8,8L 32,148 l0-8 L 254.746,140 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,480L 512,224L 96,224L0,480 zM 64,192 L 0,480 L 0,64 L 144,64 L 208,128 L 416,128 L 416,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,64L 288,128L 512,128L 512,480L0,480L0,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-remove, cancel, close, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 352,257.941L 289.941,320L 352,382.059L 352,416 l-33.941,0 L 256,353.941L 193.941,416L 160,416 l0-33.941 \n\t\tL 222.059,320L 160,257.941L 160,224 l 33.941,0 L 256,286.059L 318.059,224L 352,224 L 352,257.941 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder8\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 215,427.255L 112.373,308.628l 29.254-29.255L 215,336.745l 137.372-121.372l 29.256,29.254\n\t\tL 215,427.255z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-minus, minus, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 352,352L 160,352 l0-64 l 192,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-minus, minus, remove, delete, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM 250,400 C 250,429.392 258.504,456.831 273.171,480 L 32,480 L 0,160 L 512,160 L 499.237,287.624 C 472.772,264.226 438.019,250 400,250 C 317.29,250 250,317.29 250,400 ZM 400,288c-61.855,0-112,50.145-112,112s 50.145,112, 112,112s 112-50.145, 112-112S 461.855,288, 400,288z M 320,416l0-32 l 160,0 l0,32 \n\tL 320,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 352,352l-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 l0-64 l 64,0 l0,64 l 64,0 L 352,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-plus, plus, add, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM 250,400 C 250,429.392 258.504,456.831 273.171,480 L 32,480 L 0,160 L 512,160 L 499.237,287.624 C 472.772,264.226 438.019,250 400,250 C 317.29,250 250,317.29 250,400 ZM 400,288c-61.855,0-112,50.145-112,112s 50.145,112, 112,112s 112-50.145, 112-112S 461.855,288, 400,288z M 416,416l0,64 l-32,0 l0-64 \n\tl-64,0 l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 l0,32 L 416,416 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-upload, upload, load, open, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 288,352l0,95.508 l-64,0 L 224,352 L 112,352 l 144-144l 144,144L 288,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder-download, download, save, store, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 ZM0,160l 32,320l 448,0 l 32-320L0,160 z M 256,464L 112,320l 112,0 l0-95.508 l 64,0 L 288,320 l 112,0 L 256,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"folder, directory, category, browse\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 0,160 L 512,160 L 480,480 L 32,480 L 0,160 Z M 464,96 L 480,128 L 32,128 L 64,64 L 240,64 L 256,96 L 464,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, layers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,288 L 0,160 L 256,32 L 512,160 ZM 460.722,230.361 L 512,256 L 256,384 L 0,256 L 51.278,230.361 L 256,332.722 ZM 460.722,326.361 L 512,352 L 256,480 L 0,352 L 51.278,326.361 L 256,428.722 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, layers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,160L 256,32L0,160l 256,128L 512,160z M 256,74.485L 427.029,160L 256,245.515L 84.971,160L 256,74.485zM 460.722,230.361 L 512,256 L 256,384 L 0,256 L 51.278,230.361 L 256,332.722 ZM 460.722,326.361 L 512,352 L 256,480 L 0,352 L 51.278,326.361 L 256,428.722 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"stack, files, archive, category, papers, documents, layers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440,128l-24,0 l0-24 c0-22.056-17.944-40-40-40l-24,0 L 352,40 c0-22.056-17.943-40-40-40l-240,0 c-22.056,0-40,17.944-40,40l0,304 \n\tc0,22.057, 17.944,40, 40,40l 24,0 l0,24 c0,22.057, 17.944,40, 40,40l 24,0 l0,24 c0,22.056, 17.944,40, 40,40l 240,0 c 22.056,0, 40-17.944, 40-40L 480,168 \n\tC 480,145.944, 462.056,128, 440,128z M 72.001,352c-4.4,0-8-3.6-8-8L 64.001,40 c0-4.4, 3.6-8, 8-8l 240,0 c 4.4,0, 8,3.6, 8,8l0,24 L 136,64 \n\tc-22.056,0-40,17.944-40,40l0,248 L 72.001,352 z M 136,416c-4.4,0-8-3.6-8-8L 128,104 c0-4.4, 3.6-8, 8-8l 240,0 c 4.4,0, 8,3.6, 8,8l0,24 L 200,128 \n\tc-22.056,0-40,17.944-40,40l0,248 L 136,416 z M 448,472c0,4.4-3.6,8-8,8L 200,480 c-4.4,0-8-3.6-8-8L 192,168 c0-4.4, 3.6-8, 8-8l 240,0 c 4.4,0, 8,3.6, 8,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paste, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64l-64,0 L 288,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 L 96,64 l0,64 l 256,0 L 352,64 z M 256,64l-64,0 L 192,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 256,64 zM 416,160L 416,80 c0-8.8-7.2-16-16-16l-32,0 l0,32 l 16,0 l0,64 l-96,0 l-96,96l0,128 L 64,384 L 64,96 l 16,0 L 80,64 L 48,64 c-8.801,0-16,7.2-16,16l0,320 \n\t\tc0,8.8, 7.199,16, 16,16l 144,0 l0,96 l 320,0 L 512,160 L 416,160 z M 288,205.255L 288,256 l-50.745,0 L 288,205.255z M 480,480L 224,480 L 224,288 l 96,0 l0-96 l 160,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paste, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,160L 416,80 c0-8.8-7.2-16-16-16L 288,64 L 288,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 L 48,64 c-8.801,0-16,7.2-16,16l0,320 \n\tc0,8.8, 7.199,16, 16,16l 144,0 l0,96 l 224,0 l 96-96L 512,160 L 416,160 z M 192,32.057c 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 \n\tc 0.021,0.018, 0.041,0.038, 0.059,0.057L 256,64 l-64,0 L 192,32.057 z M 96,128L 96,96 l 256,0 l0,32 L 96,128 z M 416,466.745L 416,416 l 50.745,0 L 416,466.745z M 480,384l-96,0 l0,96 \n\tL 224,480 L 224,192 l 256,0 L 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paste, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,64l-64,0 L 288,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 L 96,64 l0,64 l 256,0 L 352,64 z M 256,64l-64,0 L 192,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 256,64 zM 416,160L 416,80 c0-8.8-7.2-16-16-16l-32,0 l0,32 l 16,0 l0,64 L 192,160 l0,224 L 64,384 L 64,96 l 16,0 L 80,64 L 48,64 c-8.801,0-16,7.2-16,16l0,320 c0,8.8, 7.199,16, 16,16l 144,0 \n\t\tl0,96 l 224,0 l 96-96L 512,160 L 416,160 z M 416,466.745L 416,416 l 50.745,0 L 416,466.745z M 480,384l-96,0 l0,96 L 224,480 L 224,192 l 256,0 L 480,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate, files, pages, papers, documents\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,128L 320,0 L 96,0 L0,96l0,288 l 192,0 l0,128 l 320,0 L 512,128 L 320,128 z M 96,45.255L 96,96 L 45.255,96 L 96,45.255z M 32,352L 32,128 l 96,0 L 128,32 l 160,0 l0,96 l-96,96l0,128 L 32,352 z\n\t M 288,173.255L 288,224 l-50.745,0 L 288,173.255z M 480,480L 224,480 L 224,256 l 96,0 l0-96 l 160,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate, clipboard\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,64 C 440.8,64 448,71.2 448,80 L 448,384 L 320,512 L 80,512 C 71.199,512 64,504.8 64,496 L 64,80 C 64,71.2 71.199,64 80,64 L 112,64 L 112,96 L 96,96 L 96,480 L 288,480 L 288,352 L 416,352 L 416,96 L 400,96 L 400,64 L 432,64 ZM 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\t\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,64l-32,0 l0,32 l 16,0 l0,256 L 288,352 l0,128 L 96,480 L 96,96 l 16,0 L 112,64 L 80,64 c-8.801,0-16,7.2-16,16l0,416 c0,8.8, 7.199,16, 16,16l 252,0 l 116-116L 448,80 \n\tC 448,71.2, 440.8,64, 432,64z M 320,480l0-96 l 96,0 L 320,480zM 384,64l-64,0 L 320,32 c0-17.6-14.4-32-32-32l-64,0 c-17.602,0-32,14.4-32,32l0,32 l-64,0 l0,64 l 256,0 L 384,64 z M 288,64l-64,0 L 224,32.057 \n\tc 0.017-0.019, 0.036-0.039, 0.057-0.057l 63.884,0 c 0.021,0.018, 0.041,0.038, 0.059,0.057L 288,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"copy, duplicate, files, pages, papers, documents\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,128l-96,0 L 320,96 L 224,0L0,0 l0,384 l 192,0 l0,128 l 320,0 L 512,224 L 416,128z M 416,173.255L 466.745,224L 416,224 L 416,173.255 z M 224,45.255L 274.745,96L 224,96 \n\tL 224,45.255 z M 32,32l 160,0 l0,96 l 96,0 l0,224 L 32,352 L 32,32 z M 480,480L 224,480 l0-96 l 96,0 L 320,160 l 64,0 l0,96 l 96,0 L 480,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715l-71.432-71.431C 364.728,12.728, 334,0, 312,0L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40\n\tL 480,168 C 480,146, 467.272,115.271, 451.716,99.715z M 429.089,122.343c 1.565,1.565, 3.125,3.487, 4.64,5.657L 352,128 L 352,46.272 \n\tc 2.17,1.515, 4.092,3.075, 5.657,4.64L 429.089,122.343z M 448,472c0,4.336-3.664,8-8,8L 72,480 c-4.336,0-8-3.664-8-8L 64,40 c0-4.336, 3.664-8, 8-8\n\tl 240,0 c 2.416,0, 5.127,0.305, 8,0.852L 320,160 l 127.148,0 c 0.547,2.873, 0.852,5.583, 0.852,8L 448,472 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-remove, delete, remove, cancel, close, document, page, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,32l 288,0 l0,96 l 96,0 l0,160 l 32,0 L 448,128 L 320,0L0,0 l0,512 l 288,0 l0-32 L 32,480 L 32,32 zM 461.256,416L 512,365.256L 512,320L 466.744,320L 416,370.744L 365.256,320L 320,320L 320,365.256L 370.744,416L 320,466.744L 320,512L 365.256,512L 416,461.256L 466.744,512L 512,512L 512,466.744 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-check, checkmark, correct, tick, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,512L 256,400L 296.75,359.25L 352,414.875L 480,288L 512,320 \tzM 32,32l 288,0 l0,96 l 96,0 l0,160 l 32,0 L 448,128 L 320,0L0,0 l0,512 l 288,0 l0-32 L 32,480 L 32,32 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-upload, page, document, upload, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,512l 96,0 L 288,352 l 80,0 L 240,224L 112,352l 80,0 L 192,512 z M 320,0L 32,0 l0,192 l 16,320l 16-320L 64,32 l 256,0 l0,96 l 96,0 l0,64 l 16,320l 16-320l0-64 L 320,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-download, page, document, download, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288,224L 192,224L 192,384L 112,384L 240,512L 368,384L 288,384 \tzM 320,0L 32,0L 32,192L 48,512L 64,192L 64,32L 320,32L 320,128L 416,128L 416,192L 432,512L 448,192L 448,128 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-minus, minus, remove, delete, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,384L 512,384L 512,448L 320,448zM 32,32L 320,32L 320,128L 416,128L 416,288L 448,288L 448,128L 320,0L0,0L0,512L 288,512L 288,480L 32,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-plus, plus, new, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,384L 448,320L 384,320L 384,384L 320,384L 320,448L 384,448L 384,512L 448,512L 448,448L 512,448L 512,384 \tzM 32,32L 320,32L 320,128L 416,128L 416,288L 448,288L 448,128L 320,0L0,0L0,512L 288,512L 288,480L 32,480 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 32,0 l0,512 l 448,0 L 480,128 L 352,0z M 448,480L 64,480 L 64,32 l 288,0 l0,96 l 96,0 L 448,480 zM 128,384L 384,384L 384,416L 128,416zM 128,320L 384,320L 384,352L 128,352zM 128,256L 384,256L 384,288L 128,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,0L 32,0 l0,512 l 448,0 L 480,128 L 352,0z M 448,480L 64,480 L 64,32 l 288,0 l0,96 l 96,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-remove, delete, remove, cancel, close, document, page, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 352,289.941L 289.941,352L 352,414.059\n\tL 352,448 l-33.941,0 L 256,385.941L 193.941,448L 160,448 l0-33.941 L 222.059,352L 160,289.941L 160,256 l 33.941,0 L 256,318.059L 318.059,256L 352,256 L 352,289.941 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-check, checkmark, correct, tick, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 215,459.255L 112.373,340.628\n\tl 29.254-29.255L 215,368.745l 137.372-121.372l 29.256,29.254L 215,459.255z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-upload, page, document, upload, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 419.716,99.715 C 433.462,113.461 444.993,139.051 447.492,160 L 288,160 L 288,0.508 C 308.949,3.007 334.538,14.538 348.284,28.284 L 419.716,99.715 ZM 256,192L 256,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 336,0 c 22,0, 40-18, 40-40L 448,192 L 256,192 z M 288,384l0,96 l-96,0 l0-96 l-80,0 l 128-128\n\tl 128,128L 288,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-download, page, document, download, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 419.716,99.715 C 433.462,113.461 444.993,139.051 447.492,160 L 288,160 L 288,0.508 C 308.949,3.007 334.538,14.538 348.284,28.284 L 419.716,99.715 ZM 256,192L 256,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 336,0 c 22,0, 40-18, 40-40L 448,192 L 256,192 z M 240,480L 112,352l 80,0 l0-96 l 96,0 l0,96 l 80,0 \n\tL 240,480z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-minus, minus, remove, delete, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 352,384L 160,384 l0-64 l 192,0 L 352,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file-plus, plus, new, page, document, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 352,384l-64,0 l0,64 l-64,0 l0-64 l-64,0 l0-64 l 64,0 \n\tl0-64 l 64,0 l0,64 l 64,0 L 352,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"files, pages, copy, duplicate, documents, papers\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 483.717,195.715 C 497.463,209.461 508.994,235.051 511.492,256 L 352,256 L 352,96.508 C 372.949,99.007 398.539,110.538 412.285,124.284 L 483.717,195.715 ZM 320,288 L 512,288 L 512,472 C 512,494 494,512 472,512 L 168,512 C 146,512 128,494 128,472 L 128,136 C 128,114 146,96 168,96 L 320,96 L 320,288 ZM 96,64 L 96,416 L 38,416 C 17.1,416 0,398.9 0,378 L 0,38 C 0,17.1 17.1,0 38,0 L 346,0 C 366.9,0 384,17.1 384,38 L 384,64 L 96,64 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715c 13.746,13.746, 25.277,39.336, 27.776,60.285L 320,160 L 320,0.508 c 20.949,2.499, 46.538,14.030, 60.284,27.776\n\tL 451.716,99.715z M 288,192L 288,0 L 72,0 C 50,0, 32,18, 32,40l0,432 c0,22, 18,40, 40,40l 368,0 c 22,0, 40-18, 40-40L 480,192 L 288,192 z M 416,448L 96,448 l0-32 l 320,0 L 416,448 z\n\t M 416,384L 96,384 l0-32 l 320,0 L 416,384 z M 416,320L 96,320 l0-32 l 320,0 L 416,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 451.716,99.715 C 465.462,113.461 476.993,139.051 479.492,160 L 320,160 L 320,0.508 C 340.949,3.007 366.538,14.538 380.284,28.284 L 451.716,99.715 ZM 288,192 L 480,192 L 480,472 C 480,494 462,512 440,512 L 72,512 C 50,512 32,494 32,472 L 32,40 C 32,18 50,0 72,0 L 288,0 L 288,192 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.059,94.059l-60.117-60.118C 367.273,15.273, 330.4,0, 304,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 352,0 \n\tc 26.4,0, 48-21.6, 48-48L 480,176 C 480,149.6, 464.727,112.727, 446.059,94.059z M 320,67.781c 1.098,0.402, 2.226,0.84, 3.379,1.318\n\tc 9.030,3.741, 15.299,8.088, 17.308,10.097l 60.118,60.119c 2.009,2.009, 6.356,8.277, 10.097,17.307c 0.478,1.153, 0.916,2.281, 1.318,3.378\n\tL 320,160 L 320,67.781 z M 416,448L 96,448 L 96,64 l 192,0 l0,128 l 128,0 L 416,448 zM 128,256L 384,256L 384,288L 128,288zM 128,320L 384,320L 384,352L 128,352zM 128,384L 384,384L 384,416L 128,416z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, page, new, empty, blank, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.059,94.059l-60.117-60.118C 367.273,15.273, 330.4,0, 304,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 352,0 \n\tc 26.4,0, 48-21.6, 48-48L 480,176 C 480,149.6, 464.727,112.727, 446.059,94.059z M 320,67.781c 1.098,0.402, 2.226,0.84, 3.379,1.318\n\tc 9.030,3.741, 15.299,8.088, 17.308,10.097l 60.118,60.119c 2.009,2.009, 6.356,8.277, 10.097,17.307c 0.478,1.153, 0.916,2.281, 1.318,3.378\n\tL 320,160 L 320,67.781 z M 416,448L 96,448 L 96,64 l 192,0 l0,128 l 128,0 L 416,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, paper, empty, blank, new, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 446.059,94.059l-60.117-60.118C 367.273,15.273, 330.4,0, 304,0L 80,0 C 53.6,0, 32,21.6, 32,48l0,416 c0,26.4, 21.6,48, 48,48l 352,0 \n\tc 26.4,0, 48-21.6, 48-48L 480,176 C 480,149.6, 464.727,112.727, 446.059,94.059z M 416,448L 96,448 L 96,64 l 208,0 c 2.479,0, 8.507,1.034, 16,3.781L 320,160 l 92.22,0 \n\tc 2.746,7.493, 3.78,13.521, 3.78,16L 416,448 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"profile, page, user, paper, file, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 384,0 c 26.4,0, 48-21.6, 48-48L 480,48 C 480,21.6, 458.4,0, 432,0z M 416,448L 64,448 \n\t\tL 64,64 l 352,0 L 416,448 zM 128,288L 352,288L 352,320L 128,320zM 128,352L 352,352L 352,384L 128,384zM 160,144A48,48 4680 1 1 256,144A48,48 4680 1 1 160,144zM 240,192l-64,0 c-26.4,0-48,14.4-48,32l0,32 l 160,0 l0-32 C 288,206.4, 266.4,192, 240,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"file, list, paper, page, document\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0L 48,0 C 21.6,0,0,21.6,0,48l0,416 c0,26.4, 21.6,48, 48,48l 384,0 c 26.4,0, 48-21.6, 48-48L 480,48 C 480,21.6, 458.4,0, 432,0z M 416,448L 64,448 \n\t\tL 64,64 l 352,0 L 416,448 zM 128,224L 352,224L 352,256L 128,256zM 128,288L 352,288L 352,320L 128,320zM 128,352L 352,352L 352,384L 128,384zM 128,160L 352,160L 352,192L 128,192z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"graduation, hat, education\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,293.666L 96,368 c0,32, 71.634,80, 160,80c 88.365,0, 160-48, 160-80l0-74.334 l-160,80L 96,293.666zM 256,64L0,192l 256,128l 207.714-103.857L 448,352l 32,0 L 480,208 l 32-16L 256,64z M 272,199.2c-12.813,0-23.2-10.387-23.2-23.2\n\t\tc0-12.813, 10.387-23.2, 23.2-23.2s 23.2,10.387, 23.2,23.2C 295.2,188.813, 284.814,199.2, 272,199.2z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"library, reading, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,160l 512,0 L 256,0z M 400,192l 16,32l0,192 l 64,0 L 480,224 l 16-32L 400,192 z M 272,192l 16,32l0,192 l 64,0 L 352,224 l 16-32L 272,192 z M 144,192l 16,32l0,192 l 64,0 \n\tL 224,224 l 16-32L 144,192 z M 16,192l 16,32l0,192 l 64,0 L 96,224 l 16-32L 16,192 z M 16,448L0,512l 512,0 l-16-64L 16,448 z M 288,96c0,17.673-14.327,32-32,32\n\tc-17.673,0-32-14.327-32-32s 14.327-32, 32-32C 273.673,64, 288,78.327, 288,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"544\" height=\"512\" viewBox=\"0 0 544 512\" data-tags=\"library, reading, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 272,0L0,128L 544,128 \tzM 128.5,192L 128.5,160L 32.5,160L 32.5,192L 64.5,192L 64.5,384L 32.5,384L 32.5,416L 128.5,416L 128.5,384L 96.5,384L 96.5,192 \tzM 256.5,192L 256.5,160L 160.5,160L 160.5,192L 192.5,192L 192.5,384L 160.5,384L 160.5,416L 256.5,416L 256.5,384L 224.5,384L 224.5,192 \tzM 384.5,192L 384.5,160L 288.5,160L 288.5,192L 320.5,192L 320.5,384L 288.5,384L 288.5,416L 384.5,416L 384.5,384L 352.5,384L 352.5,192 \tzM 512.5,192L 512.5,160L 416.5,160L 416.5,192L 448.5,192L 448.5,384L 416.5,384L 416.5,416L 512.5,416L 512.5,384L 480.5,384L 480.5,192 \tzM 32.5,448L 0.5,512L 544,512L 512,448 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"reading, book, student, library\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 176,80A80,80 10800 1 1 336,80A80,80 10800 1 1 176,80zM 504.988,364.010l-128-160c-6.315-7.894-15.606-11.997-24.984-12.004L 352,192L 160,192 l-0.004,0.007\n\t\tc-9.378,0.007-18.669,4.11-24.984,12.002l-128,160c-8.402,10.502-9.34,25.138-2.348,36.627\n\t\tc 5.881,9.663, 16.314,15.365, 27.329,15.365c 2.082,0, 4.186-0.204, 6.282-0.623L 128,397.434L 128,512 l 256,0 L 384,397.434 l 89.725,17.945\n\t\tc 2.097,0.419, 4.199,0.623, 6.281,0.623c 11.015,0, 21.449-5.703, 27.329-15.365C 514.328,389.148, 513.39,374.512, 504.988,364.010z\n\t\t M 352,325.767l-25.725-5.146c-17.325-3.468-34.188,7.772-37.654,25.104c-3.466,17.33, 7.773,34.188, 25.104,37.654L 352,391.034L 352,416 \n\t\tl-96,32l-96-32l0-24.966 l 38.276-7.655c 17.33-3.466, 28.569-20.324, 25.103-37.654c-3.466-17.331-20.326-28.564-37.654-25.104\n\t\tL 160,325.767L 160,256 l 96,32l 96-32L 352,325.767 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"books, library, archive\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 288.117,144.635L 409.473,103.919L 511.265,407.311L 389.909,448.027zM0,448l 128,0 L 128,96 L0,96 L0,448 z M 32,160l 64,0 l0,32 L 32,192 L 32,160 zM 160,448l 128,0 L 288,96 L 160,96 L 160,448 z M 192,160l 64,0 l0,32 l-64,0 L 192,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"book, reading\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,64l0,416 L 112,480 c-26.511,0-48-21.49-48-48c0-26.509, 21.489-48, 48-48l 304,0 L 416,0 L 96,0 C 60.801,0, 32,28.8, 32,64l0,384 \n\t\tc0,35.2, 28.801,64, 64,64l 384,0 L 480,64 L 448,64 zM 128,416L 416,416L 416,448L 128,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"book, reading\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,64c-49.179,0-94.030,18.498-128,48.905C 222.031,82.498, 177.179,64, 128,64S 33.969,82.498,0,112.904l0,8.596 l0,38.49 l0,192.004 \n\tL0,392.5 l0,6.576 c 0.342,0.306, 0.676,0.62, 1.020,0.924c 8.209,7.244, 17.040,13.798, 26.406,19.569c 9.43-7.631, 19.739-14.216, 30.761-19.569\n\tc 21.098-10.248, 44.783-16, 69.813-16s 48.716,5.752, 69.813,16c 11.021,5.354, 21.331,11.938, 30.761,19.569\n\tc 1.842,1.491, 3.65,3.022, 5.424,4.592c 8.108,7.178, 15.488,15.159, 22.002,23.83c 6.515-8.671, 13.894-16.652, 22.002-23.83\n\tc 1.773-1.569, 3.581-3.101, 5.424-4.592c 9.43-7.631, 19.739-14.216, 30.761-19.569c 21.098-10.248, 44.783-16, 69.813-16\n\ts 48.716,5.752, 69.813,16c 11.021,5.354, 21.331,11.938, 30.761,19.569c 9.366-5.771, 18.196-12.325, 26.405-19.569\n\tc 0.344-0.304, 0.679-0.618, 1.021-0.924L 512,392.5 l0-40.506 L 512,159.99 L 512,121.5 l0-8.596 C 478.031,82.498, 433.179,64, 384,64z M 128,352\n\tc-34.976,0-67.758,9.365-96,25.705L 32,127.993 C 58.741,107.905, 91.98,96, 128,96c 36.025,0, 69.258,11.919, 96,32.013l0,249.692 \n\tC 195.758,361.365, 162.976,352, 128,352z M 384,352c-34.976,0-67.758,9.365-96,25.705L 288,128.013 C 314.742,107.919, 347.976,96, 384,96\n\tc 36.021,0, 69.259,11.906, 96,31.994l0,249.712 C 451.758,361.365, 418.976,352, 384,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio, interview\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 229.053,168.046L0,448c0,32, 32,64, 64,64l 279.954-229.054C 287.768,268.467, 243.533,224.232, 229.053,168.046zM 291.482,39.548C 269.502,62.531, 256,93.688, 256,128c0,70.692, 57.308,128, 128,128c 34.312,0, 65.469-13.502, 88.452-35.481\n\t\tC 380.441,204.127, 307.872,131.56, 291.482,39.548zM 416,64L 448,64L 448,96L 416,96zM 384,0c-23.014,0-44.606,6.078-63.268,16.71c 7.994,92.704, 81.854,166.564, 174.558,174.558\n\t\tC 505.922,172.607, 512,151.014, 512,128C 512,57.308, 454.693,0, 384,0z M 480,96l-32,0 l0,32 l 32,0 l0,32 l-32,0 l0-32 l-32,0 L 416,96 l-32,0 L 384,64 l-32,0 L 352,32 l 32,0 l0,32 l 32,0 L 416,32 \n\t\tl 32,0 l0,32 l 32,0 L 480,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, mute, off, voice, record\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,80c0-44.183-35.816-80-80-80c-44.183,0-80,35.817-80,80l0,172.118 l 160-160L 320,80 zM 128.587,283.531C 128.2,279.74, 128,275.894, 128,272l0-48 L 96,224 l0,48 c0,13.45, 1.853,26.467, 5.302,38.816L 128.587,283.531zM 352,272c0,61.855-50.145,112-112,112c-33.313,0-63.215-14.557-83.729-37.644l 22.69-22.69\n\t\tC 193.629,340.99, 215.52,352, 240,352c 44.184,0, 80-35.816, 80-80l0-89.373 L 448.313,54.313l-22.627-22.627L 320,137.373l0-0.001 L 1,457.687\n\t\tl 22.627,22.627l 109.986-111.3c 22.954,25.155, 54.699,42.151, 90.387,46.097L 224,480 l-64,0 l0,32 l 64,0 l 32,0 l 64,0 l0-32 l-64,0 l0-64.89 \n\t\tc 71.997-7.96, 128-68.991, 128-143.11l0-48 l-32,0 L 352,272 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 240,352c 44.183,0, 80-35.817, 80-80L 320,80 c0-44.183-35.817-80-80-80s-80,35.817-80,80l0,192 C 160,316.183, 195.818,352, 240,352zM 352,224l0,48 c0,61.855-50.145,112-112,112c-61.856,0-112-50.145-112-112l0-48 L 96,224 l0,48 c0,74.119, 56.002,135.15, 128,143.11L 224,480 \n\t\tl-64,0 l0,32 l 64,0 l 32,0 l 64,0 l0-32 l-64,0 l0-64.89 c 71.997-7.96, 128-68.991, 128-143.11l0-48 L 352,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 420,224l0,64 c0,43.807-17.059,84.99-48.035,115.966C 340.99,434.941, 299.807,452, 256,452\n\t\tc-43.806,0-84.99-17.059-115.965-48.034C 109.060,372.99, 92,331.807, 92,288l0-64 L 64,224 l0,64 c0,95.135, 69.195,174.094, 160,189.33L 224,480 l-96,0 l0,32 \n\t\tl 256,0 l0-32 l-96,0 l0-2.67 c 90.804-15.236, 160-94.195, 160-189.33l0-64 L 420,224 zM 256,0c-70.692,0-128,57.308-128,128l0,160 c0,70.693, 57.308,128, 128,128c 70.692,0, 128-57.307, 128-128L 384,128 \n\t\tC 384,57.308, 326.692,0, 256,0z M 348,79.548c 3.314,6.269, 6.012,12.912, 8,19.852L 356,192 l-8,0 L 348,79.548 z M 332,57.088\n\t\tc 2.854,3.057, 5.526,6.286, 8,9.669L 340,192 l-8,0 L 332,57.088 z M 316,43.099c 2.77,1.962, 5.439,4.056, 8,6.273L 324,192 l-8,0 L 316,43.099 z M 300,33.781\n\t\tc 2.732,1.281, 5.402,2.674, 8,4.18L 308,192 l-8,0 L 300,33.781 z M 284,27.833c 2.713,0.759, 5.381,1.625, 8,2.594L 292,192 l-8,0 L 284,27.833 z M 268,24.696\n\t\tc 2.699,0.312, 5.367,0.726, 8,1.241L 276,192 l-8,0 L 268,24.696 z M 252,24.084c 1.328-0.051, 2.66-0.084, 4-0.084s 2.672,0.034, 4,0.084L 260,192 l-8,0 L 252,24.084 z\n\t\t M 236,25.938c 2.633-0.515, 5.301-0.93, 8-1.241L 244,192 l-8,0 L 236,25.938 z M 220,30.427c 2.619-0.969, 5.287-1.834, 8-2.594L 228,192 l-8,0 L 220,30.427 z\n\t\t M 204,37.961c 2.597-1.506, 5.268-2.898, 8-4.18L 212,192 l-8,0 L 204,37.961 z M 188,49.372c 2.561-2.217, 5.231-4.311, 8-6.273L 196,192 l-8,0 L 188,49.372 z\n\t\t M 172,66.757c 2.474-3.383, 5.146-6.612, 8-9.669L 180,192 l-8,0 L 172,66.757 z M 156,99.4c 1.988-6.94, 4.686-13.583, 8-19.852L 164,192 l-8,0 L 156,99.4 z M 360,288\n\t\tc0,57.346-46.654,104-104,104s-104-46.654-104-104l0-64 l 208,0 L 360,288 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"mic, microphone, voice, audio, radio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,384c 70.692,0, 128-57.308, 128-128l0-64 L 128,192 l0,64 C 128,326.692, 185.308,384, 256,384zM 448,160l-32,0 l0,96 c0,88.365-71.635,160-160,160S 96,344.365, 96,256l0-96 L 64,160 l-32,32l 32,0 l0,64 c0,95.134, 69.196,174.094, 160,189.33\n\t\tL 224,480 l-64,32l 192,0 l-64-32l0-34.67 c 90.804-15.236, 160-94.196, 160-189.33l0-64 l 32,0 L 448,160zM 384,128C 384,57.308, 326.693,0, 256,0S 128,57.308, 128,128l0,32 l 256,0 L 384,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podcast, broadcast, live, wave, radio, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,512l 192,0 l-64-64L 288,215.417 c 19.124-11.067, 32-31.732, 32-55.417c0-35.346-28.653-64-64-64c-35.346,0-64,28.654-64,64\n\t\tc0,23.685, 12.876,44.349, 32,55.417L 224,448 L 160,512zM 355.918,80.004C 373.486,101.918, 384,129.729, 384,160s-10.515,58.082-28.082,79.996l 24.979,19.999\n\t\tC 402.857,232.603, 416,197.839, 416,160s-13.144-72.603-35.103-99.995L 355.918,80.004zM 131.102,60.006C 109.143,87.398, 96,122.162, 96,160s 13.143,72.602, 35.102,99.994l 24.979-19.999\n\t\tC 138.515,218.082, 128,190.271, 128,160s 10.515-58.082, 28.082-79.995L 131.102,60.006zM 56.164,0C 21.030,43.828,0,99.449,0,159.991S 21.030,276.154, 56.164,319.98l 24.979-19.998\n\t\tC 50.401,261.633, 32,212.965, 32,159.991s 18.4-101.643, 49.143-139.992L 56.164,0zM 455.836,0l-24.979,19.999C 461.6,58.348, 480,107.017, 480,159.991s-18.4,101.644-49.144,139.992l 24.979,19.999\n\t\tC 490.971,276.154, 512,220.533, 512,159.991S 490.971,43.828, 455.836,0z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podcast, broadcast, live, wave, radio, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256c0,70.691, 28.653,134.691, 74.98,181.019l 22.627-22.626C 57.072,373.855, 32,317.855, 32,256\n\t\t\tC 32,132.288, 132.288,32, 256,32s 224,100.288, 224,224c0,61.855-25.072,117.855-65.608,158.393l 22.628,22.626\n\t\t\tC 483.346,390.691, 512,326.691, 512,256C 512,114.615, 397.385,0, 256,0zM 256,0C 114.615,0,0,114.615,0,256c0,70.691, 28.653,134.691, 74.98,181.019l 22.627-22.626C 57.072,373.855, 32,317.855, 32,256\n\t\t\tC 32,132.288, 132.288,32, 256,32s 224,100.288, 224,224c0,61.855-25.072,117.855-65.608,158.393l 22.628,22.626\n\t\t\tC 483.346,390.691, 512,326.691, 512,256C 512,114.615, 397.385,0, 256,0L 256,0zM 256,96c-88.366,0-160,71.634-160,160c0,44.184, 17.909,84.184, 46.862,113.137l 22.639-22.638\n\t\t\tc-23.161-23.161-37.486-55.157-37.486-90.499c0-70.684, 57.301-127.985, 127.985-127.985c 70.684,0, 127.984,57.301, 127.984,127.985\n\t\t\tc0,35.342-14.325,67.338-37.486,90.499l 22.639,22.638C 398.092,340.184, 416,300.184, 416,256C 416,167.634, 344.365,96, 256,96zM 301.255,301.255C 312.837,289.673, 320,273.673, 320,256c0-35.346-28.654-64-64-64c-35.347,0-64,28.654-64,64\n\t\tc0,17.673, 7.164,33.673, 18.745,45.255l 22.627-22.627C 227.582,272.837, 224,264.837, 224,256c0-17.673, 14.327-32, 32-32\n\t\ts 32,14.327, 32,32c0,8.837-3.582,16.837-9.372,22.628L 301.255,301.255zM 244,288L 160,512L 352,512L 268,288 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio, podcast, broadcast, live, wave\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,192L 96,512l 48.596,0 L 256,414.521L 367.406,512L 416,512 L 288,192L 224,192 z M 149.024,465.605l 42.871-107.179l 39.81,34.833\n\t\t\tL 149.024,465.605z M 362.978,465.604l-82.68-72.344l 39.809-34.833L 362.978,465.604z M 256,372l-51.507-45.068L 245.665,224l 20.67,0 \n\t\t\tl 41.173,102.932L 256,372zM 366.871,64.001C 377.764,82.828, 384,104.686, 384,128s-6.236,45.172-17.129,63.999l 27.72,16\n\t\t\tC 408.204,184.465, 416,157.144, 416,128s-7.796-56.465-21.409-79.999L 366.871,64.001zM 145.128,191.999C 134.238,173.172, 128,151.314, 128,128s 6.236-45.172, 17.128-63.999L 117.41,48.002\n\t\t\tC 103.796,71.536, 96,98.856, 96,128s 7.796,56.464, 21.41,79.999L 145.128,191.999zM 34.252,0C 12.47,37.655,0,81.371,0,128s 12.47,90.345, 34.252,127.999l 27.719-16C 42.911,207.052, 32,168.801, 32,128\n\t\t\tS 42.911,48.948, 61.971,16L 34.252,0zM 512,128c0-46.63-12.47-90.346-34.253-128l0,0L 450.030,16C 469.090,48.948, 480,87.199, 480,128s-10.91,79.053-29.971,112\n\t\t\tl 27.718,16l0,0C 499.531,218.346, 512,174.63, 512,128zM 224,128A32,32 12600 1 1 288,128A32,32 12600 1 1 224,128z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"connection, broadcast, wifi, wave, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,384A32,32 12600 1 1 288,384A32,32 12600 1 1 224,384zM 256,64c-96.026,0-182.161,42.307-240.815,109.286l 24.081,21.071C 92.055,134.077, 169.577,96, 256,96\n\t\tc 86.423,0, 163.945,38.077, 216.734,98.357l 24.081-21.071C 438.161,106.307, 352.027,64, 256,64zM 256,160c-67.218,0-127.513,29.615-168.571,76.5l 24.082,21.071C 146.703,217.384, 198.385,192, 256,192\n\t\tc 57.616,0, 109.297,25.384, 144.489,65.571l 24.082-21.071C 383.513,189.615, 323.219,160, 256,160zM 256,256c-38.41,0-72.865,16.923-96.326,43.715l 24.082,21.071C 201.352,300.692, 227.192,288, 256,288\n\t\tc 28.808,0, 54.648,12.692, 72.245,32.786l 24.081-21.071C 328.865,272.923, 294.41,256, 256,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"feed, wave, radio, live, broadcast\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,256A64,64 2520 1 1 320,256A64,64 2520 1 1 192,256zM 332.174,115.263 C 382.1,142.342 416,195.212 416,256 C 416,316.788 382.1,369.658 332.174,396.737 C 354.207,361.674 368,311.602 368,256 C 368,200.398 354.207,150.326 332.174,115.263 ZM 144,256 C 144,311.602 157.792,361.674 179.826,396.737 C 129.9,369.657 96,316.788 96,256 C 96,195.212 129.9,142.343 179.826,115.263 C 157.792,150.326 144,200.398 144,256 ZM 48,256 C 48,341.95 75.202,419.092 118.326,471.861 C 47.175,426.387 0,346.704 0,256 C 0,165.296 47.175,85.613 118.326,40.139 C 75.202,92.908 48,170.050 48,256 ZM 393.676,40.14 C 464.825,85.613 512,165.296 512,256 C 512,346.704 464.825,426.387 393.676,471.86 C 436.798,419.092 464,341.95 464,256 C 464,170.050 436.798,92.908 393.676,40.14 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"radio, podcast, broadcast, live, wave\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,160c0-35.346-28.653-64-64-64c-35.346,0-64,28.654-64,64c0,22.677, 11.804,42.583, 29.592,53.952L 140.306,512l 39.388,0 \n\t\tl 8.727-32l 135.158,0 l 8.728,32l 39.388,0 l-81.286-298.048C 308.196,202.583, 320,182.677, 320,160z M 297.397,384l-82.794,0 l 8.727-32l 65.34,0 \n\t\tL 297.397,384z M 232.058,320L 256,232.211L 279.942,320L 232.058,320 z M 197.148,448l 8.728-32l 100.249,0 l 8.727,32L 197.148,448 zM 332.174,19.263 C 382.1,46.342 416,99.212 416,160 C 416,220.788 382.1,273.658 332.174,300.737 C 354.207,265.674 368,215.602 368,160 C 368,104.398 354.207,54.326 332.174,19.263 ZM 428.174,19.263 C 478.1,46.342 512,99.212 512,160 C 512,220.788 478.1,273.658 428.174,300.737 C 450.207,265.674 464,215.602 464,160 C 464,104.398 450.207,54.326 428.174,19.263 ZM 179.826,300.737 C 129.9,273.657 96,220.788 96,160 C 96,99.212 129.9,46.343 179.826,19.263 C 157.792,54.326 144,104.398 144,160 C 144,215.602 157.792,265.674 179.826,300.737 ZM 0,160 C 0,99.212 33.9,46.343 83.826,19.263 C 61.792,54.326 48,104.398 48,160 C 48,215.602 61.792,265.674 83.826,300.737 C 33.9,273.657 0,220.788 0,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"podcast, broadcast, live, wave, radio, feed\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,256C 512,114.615, 397.385,0, 256,0S0,114.615,0,256c0,110.027, 69.418,203.832, 166.843,240.034L 160,512l 192,0 l-6.843-15.966\n\tC 442.582,459.832, 512,366.027, 512,256z M 243.395,317.413C 231.991,312.519, 224,301.195, 224,288c0-17.673, 14.327-32, 32-32\n\tc 17.673,0, 32,14.327, 32,32c0,13.195-7.989,24.522-19.393,29.417L 256,288L 243.395,317.413z M 269.134,318.646\n\tC 298.18,312.587, 320,286.845, 320,256c0-35.347-28.653-64-64-64c-35.346,0-64,28.653-64,64c0,30.846, 21.831,56.561, 50.88,62.614\n\tl-37.312,87.061C 159.953,386.1, 128,340.783, 128,288c0-70.692, 57.308-134, 128-134s 128,63.308, 128,134\n\tc0,52.783-31.953,98.1-77.568,117.675L 269.134,318.646z M 344.224,493.854l-36.962-86.243C 370.485,386.242, 416,326.438, 416,256\n\tc0-88.365-71.634-160-160-160c-88.365,0-160,71.635-160,160c0,70.438, 45.515,130.242, 108.738,151.611l-36.962,86.243\n\tC 87.979,459.61, 32.083,380.337, 32.083,288C 32.083,164.334, 132.334,58.083, 256,58.083c 123.666,0, 223.917,106.251, 223.917,229.917\n\tC 479.917,380.337, 424.021,459.61, 344.224,493.854z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"connection, broadcast, wifi, wave, feed\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 288,448A32,32 2520 1 1 352,448A32,32 2520 1 1 288,448zM 320,96c 112.8,0, 216.385,34.658, 297.72,92.509C 546.826,92.902, 439.777,32, 320,32C 200.223,32, 93.175,92.902, 22.281,188.508\n\tC 103.616,130.658, 207.2,96, 320,96zM 320,224c 76.853,0, 147.895,20.56, 205.514,55.385C 479.462,207.064, 404.574,160, 320,160s-159.462,47.064-205.514,119.385\n\tC 172.105,244.56, 243.146,224, 320,224zM 320,352c 40.751,0, 79.405,5.262, 114.121,14.676C 411.059,319.587, 368.588,288, 320,288s-91.059,31.587-114.121,78.676\n\tC 240.595,357.262, 279.248,352, 320,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"640\" height=\"512\" viewBox=\"0 0 640 512\" data-tags=\"connection, broadcast, wifi, wave, feed\" style=\"margin-left: 7px; margin-top: 9px;\"><path d=\"M 320,288 C 372.935,288 420.935,309.533 455.701,344.299 L 410.467,389.533 C 387.29,366.355 355.289,352 320,352 C 284.711,352 252.711,366.355 229.533,389.533 L 184.299,344.299 C 219.065,309.533 267.065,288 320,288 ZM 93.726,253.726 C 154.166,193.286 234.525,160 320,160 C 405.475,160 485.834,193.286 546.275,253.726 L 501.020,298.98 L 501.020,298.98 C 452.667,250.628 388.38,224 320,224 C 251.619,224 187.333,250.628 138.981,298.981 L 93.726,253.726 ZM 494.392,67.219 C 547.743,89.785 595.65,122.083 636.783,163.217 L 636.783,163.217 L 591.529,208.471 C 519.001,135.943 422.569,96 320,96 C 217.43,96 121,135.943 48.471,208.471 L 3.216,163.216 C 44.35,122.083 92.257,89.785 145.608,67.219 C 200.86,43.85 259.534,32 320,32 C 380.466,32 439.139,43.85 494.392,67.219 ZM 288,448A32,32 2520 1 1 352,448A32,32 2520 1 1 288,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"new, advertisement\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,96L 64,96 c-35.2,0-64,28.8-64,64l0,192 c0,35.2, 28.8,64, 64,64l 384,0 c 35.2,0, 64-28.8, 64-64L 512,160 C 512,124.8, 483.2,96, 448,96z\n\t M 160,352l-32,0 L 64,245.333L 64,352 L 32,352 L 32,192 l 32,0 l 64,106.667L 128,192 l 32,0 L 160,352 z M 288,224l-64,0 l0,32 l 64,0 l0,32 l-64,0 l0,32 l 64,0 l0,31.999 L 192,352L 192,192 l 96,0 L 288,224 z\n\t M 480,352l-47.999,0 L 400,288l-32,64l-48,0 L 320,192 l 32,0 l0,128 l 32-64l 32.001,0 L 448,319.998L 448,192 l 32,0 L 480,352 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"megaphone, bullhorn, announcement, advertisement, news\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,192L0,192 l0,160 l 64,0 l0-32 l 64.009,18.289c-0.002,0.242-0.009,0.484-0.009,0.729L 128,384 c0,17.602, 14.399,32, 32,32l 64,0 \n\t\tc 17.6,0, 32-14.398, 32-32l0-9.143 l 160,45.715L 416,123.43 L 64,224L 64,192 z M 160,347.43l 63.928,18.265L 223.928,384 L 160,384 L 160,347.43 zM 448,114.286L 448,429.715L 512,448L 512,96 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bullhorn, megaphone, announcement, advertisement, news\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,214.628c0-100.463-29.396-181.969-65.741-182.613c 0.146-0.003, 0.289-0.015, 0.436-0.015l-41.471,0 \n\tc0,0-97.4,73.168-237.615,101.877c-4.28,22.646-7.015,49.637-7.015,80.751c0,31.114, 2.733,58.104, 7.015,80.75\n\tc 140.214,28.709, 237.615,101.878, 237.615,101.878l 41.471,0 c-0.146,0-0.289-0.012-0.436-0.016C 482.607,396.596, 512,315.091, 512,214.628\n\tz M 432.412,369.626c-4.691,0-9.766-4.871-12.373-7.774c-6.315-7.032-12.396-17.98-17.594-31.664\n\tc-11.628-30.616-18.033-71.655-18.033-115.562c0-43.905, 6.405-84.945, 18.033-115.561c 5.197-13.684, 11.281-24.633, 17.594-31.664\n\tc 2.607-2.906, 7.682-7.776, 12.373-7.776c 4.69,0, 9.768,4.872, 12.372,7.776c 6.317,7.032, 12.398,17.979, 17.594,31.664\n\tc 11.629,30.615, 18.034,71.656, 18.034,115.561c0,43.902-6.405,84.944-18.034,115.562c-5.195,13.684-11.281,24.632-17.594,31.664\n\tC 442.18,364.755, 437.104,369.626, 432.412,369.626z M 125.906,214.628c0-25.975, 1.905-51.215, 5.526-74.547\n\tc-23.686,3.277-44.471,5.162-70.17,5.162c-33.529,0-33.529,0-33.529,0L0,192.586l0,44.085 l 27.73,47.343c0,0,0,0, 33.53,0\n\tc 25.699,0, 46.484,1.887, 70.17,5.162C 127.812,265.844, 125.906,240.603, 125.906,214.628z M 184.075,321.086l-63.999-12.255\n\tl 40.921,160.772c 2.118,8.317, 10.372,12.519, 18.343,9.327l 59.278-23.726c 7.972-3.188, 11.164-11.982, 7.098-19.542L 184.075,321.086zM 432.412,274.365c-1.809,0-3.764-1.877-4.769-2.996c-2.435-2.71-4.778-6.93-6.781-12.204\n\tc-4.481-11.8-6.95-27.617-6.95-44.539c0-16.922, 2.469-32.739, 6.95-44.539c 2.003-5.274, 4.348-9.494, 6.781-12.204\n\tc 1.005-1.12, 2.96-2.997, 4.769-2.997c 1.808,0, 3.765,1.878, 4.769,2.997c 2.435,2.71, 4.778,6.929, 6.78,12.204\n\tc 4.482,11.799, 6.951,27.617, 6.951,44.539c0,16.921-2.469,32.739-6.951,44.539c-2.002,5.274-4.348,9.494-6.78,12.204\n\tC 436.177,272.488, 434.221,274.365, 432.412,274.365z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"chess, grid, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,0L 512,0L 512,64L 448,64zM 448,128L 512,128L 512,192L 448,192zM 448,256L 512,256L 512,320L 448,320zM 448,384L 512,384L 512,448L 448,448zM 384,64L 448,64L 448,128L 384,128zM 384,192L 448,192L 448,256L 384,256zM 384,320L 448,320L 448,384L 384,384zM 384,448L 448,448L 448,512L 384,512zM 320,0L 384,0L 384,64L 320,64zM 320,128L 384,128L 384,192L 320,192zM 320,256L 384,256L 384,320L 320,320zM 320,384L 384,384L 384,448L 320,448zM 256,64L 320,64L 320,128L 256,128zM 256,192L 320,192L 320,256L 256,256zM 256,320L 320,320L 320,384L 256,384zM 256,448L 320,448L 320,512L 256,512zM 192,0L 256,0L 256,64L 192,64zM 192,128L 256,128L 256,192L 192,192zM 192,256L 256,256L 256,320L 192,320zM 192,384L 256,384L 256,448L 192,448zM 128,64L 192,64L 192,128L 128,128zM 128,192L 192,192L 192,256L 128,256zM 128,320L 192,320L 192,384L 128,384zM 128,448L 192,448L 192,512L 128,512zM 64,0L 128,0L 128,64L 64,64zM 64,128L 128,128L 128,192L 64,192zM 64,256L 128,256L 128,320L 64,320zM 64,384L 128,384L 128,448L 64,448zM0,64L 64,64L 64,128L0,128zM0,192L 64,192L 64,256L0,256zM0,320L 64,320L 64,384L0,384zM0,448L 64,448L 64,512L0,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pawn, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 368.010,317.98C 378.193,299.615, 384,278.487, 384,256c0-51.657-30.604-96.162-74.667-116.386\n\tC 325.695,124.965, 336,103.689, 336,80c0-44.183-35.817-80-80-80c-44.183,0-80,35.817-80,80c0,23.69, 10.305,44.965, 26.667,59.614\n\tC 158.604,159.838, 128,204.343, 128,256c0,22.487, 5.806,43.615, 15.99,61.98C 77.044,356.713, 32,429.094, 32,512l 448,0 \n\tC 480,429.094, 434.956,356.713, 368.010,317.98z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"knight, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 496,480L 128,480L 112,512L 512,512 \tzM 283.746,256c 6.724,103.949-84.766,144.757-116.334,208L 480,464 c0-35.797,0-92.966,0-176\n\t\tc0-111.17-43.536-191.427-94.956-230.070c-2.373-10.093-5.959-21.243-9.954-30.304l-6.18-14.013\n\t\tc-7.102-16.104-22.144-18.229-33.426-4.722l-19.313,23.118C 316.030,32.008, 315.888,32, 315.746,32\n\t\tc-8.234,0-15.821,0.257-22.854,0.745L 250.626,4.567C 235.981-5.196, 224,1.216, 224,18.816l0,32.592 \n\t\tc-12.982,7.351-23.863,16.243-36.254,25.691c-32,24.399-108.926,121.066-160,178.901c-47.246,53.5-21.725,96, 23,86\n\t\tc-2.246,42, 32.754,28.5, 57,10C 163.653,309.343, 288.5,329.5, 283.746,256z M 387.463,86.538c 17.253,17.466, 32.154,39.811, 43.73,65.751\n\t\tC 448.981,192.146, 458,237.806, 458,288l0,144 l-48-48l0-96 c0-43.411-7.617-82.489-22.64-116.149\n\t\tc-9.204-20.625-20.739-38.084-33.835-51.375L 387.463,86.538z M 80,294.628c-12.497,0-22.628-10.13-22.628-22.628\n\t\tc0-12.497, 10.131-22.627, 22.628-22.627c 12.496,0, 22.627,10.13, 22.627,22.627C 102.627,284.498, 92.496,294.628, 80,294.628z\n\t\t M 240.971,143.971c-18.746,18.745-41.539,26.343-50.912,16.971c-9.373-9.373-1.775-32.167, 16.97-50.912\n\t\tc 18.745-18.745, 41.539-26.343, 50.913-16.97C 267.312,102.432, 259.716,125.226, 240.971,143.971z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"bishop, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 396.797,384L 83.204,384 c 14.825,36.516, 79.39,64, 156.796,64S 381.972,420.516, 396.797,384zM0,512l 45,0 c0-1.29, 1.402-5.613, 5.57-10.059S 58.791,496, 60,496l 135,0 c 26.719-0.5, 45-31.5, 45-48c0,0-150,0-180,0S0,480,0,512zM 420,448c-30,0-180,0-180,0c0,16.5, 18.281,47.5, 45,48l 135,0 c 1.209,0, 5.263,1.496, 9.43,5.941\n\t\tc 4.168,4.445, 5.57,8.769, 5.57,10.059l 45,0 C 480,480, 450,448, 420,448zM 240,352l 156.797,0 c-6.501-16.013-22.567-30.287-45.086-41.271C 362.080,296.723, 368,278.706, 368,256\n\t\tc0-80.469-58.467-132.785-99.354-151.882C 285.024,94.347, 296,76.458, 296,56c0-30.928-25.072-56-56-56c-30.928,0-56,25.072-56,56\n\t\tc0,20.458, 10.976,38.347, 27.354,48.118C 170.467,123.215, 112,175.531, 112,256c0,22.706, 5.92,40.723, 16.289,54.729\n\t\tC 105.771,321.713, 89.704,335.988, 83.204,352L 240,352 C 240,352, 240,352, 240,352z M 160,224l0-32 l 64,0 l0-64 l 32,0 l0,64 l 64,0 l0,32 l-64,0 l0,64 l-32,0 l0-64 L 160,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"rock, chess, game\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,144L 384,144L 384,400L 96,400zM 384,128l 64-64L 448,0 l-64,0 l0,32 l-96,0 L 288,0 l-96,0 l0,32 L 96,32 L 96,0 L 32,0 l0,64 l 64,64L 384,128 z M 384,80l-16,16L 112,96 L 96,80L 384,80 zM 64,416L 416,416L 416,448L 64,448zM 448,464L 32,464 c0,0-24.5,16-32,48l 480,0 C 472.5,480, 448,464, 448,464z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"queen, chess, game, crown\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,480c-57.294,0-112.881-4.967-156.521-13.984c-1.169-0.241-2.328-0.487-3.479-0.734l0,32.676 \n\t\tC 139.829,506.742, 195.454,512, 256,512s 116.171-5.258, 160-14.043l0-32.676 c-1.151,0.247-2.31,0.493-3.479,0.734\n\t\tC 368.882,475.033, 313.295,480, 256,480zM 384,430.997L 384,416 l-16-32L 144,384 l-16,32l0,14.997 c 37.655,5.446, 81.37,8.564, 128,8.564\n\t\tC 302.631,439.562, 346.345,436.443, 384,430.997zM 500.754,140.828c-14.997-14.997-39.311-14.997-54.307,0c-12.725,12.724-14.646,32.154-5.776,46.911l-97.661,58.597\n\t\tl 19.253-90.858c 16.84,3.581, 34.585-4.562, 42.474-20.735c 9.297-19.062, 1.381-42.050-17.68-51.347\n\t\tc-19.062-9.297-42.051-1.381-51.348,17.681c-7.889,16.174-3.38,35.171, 9.811,46.236l-59.104,70.348l-21.101-84.403\n\t\tc 16.705-4.163, 29.085-19.261, 29.085-37.256c0-21.208-17.192-38.4-38.399-38.4c-21.208,0-38.4,17.192-38.4,38.4\n\t\tc0,17.995, 12.38,33.093, 29.086,37.256l-21.101,84.403l-59.104-70.348c 13.19-11.065, 17.699-30.062, 9.811-46.236\n\t\tc-9.297-19.062-32.286-26.978-51.348-17.681c-19.061,9.297-26.977,32.286-17.68,51.347c 7.888,16.174, 25.634,24.316, 42.474,20.735\n\t\tl 19.252,90.858l-97.66-58.597c 8.87-14.757, 6.947-34.187-5.777-46.911c-14.996-14.997-39.31-14.997-54.307,0\n\t\tc-14.995,14.996-14.995,39.309, 0.001,54.306c 12.724,12.724, 32.154,14.646, 46.91,5.777L 148.811,352l 214.378,0 l 90.653-151.089\n\t\tc 14.756,8.869, 34.186,6.947, 46.91-5.777C 515.749,180.137, 515.749,155.823, 500.754,140.828z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"king, chess, game, crwon\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 487.024,132.75c-16.872-16.872-40.057-24.976-65.75-24.976c-34.444,0-73.404,14.558-107.766,42.062\n\t\tc-8.132-24.908-23.24-43.758-41.509-50.811L 271.999,64 l 48,0 L 319.999,32 l-48,0 L 271.999,0 l-32,0 l0,32 l-48,0 l0,32 l 48,0 l0,35.024 c-18.268,7.053-33.376,25.902-41.508,50.809\n\t\tc-34.361-27.503-73.321-42.062-107.765-42.060c-25.693,0.002-48.879,8.104-65.75,24.976\n\t\tc-43.739,43.739-28.542,129.85, 33.941,192.333C 70.596,336.761, 83.103,346.776, 96,355.075l0,46.882 \n\t\tC 139.829,410.742, 195.454,416, 256,416s 116.171-5.258, 160-14.043l0-46.88 c 12.897-8.298, 25.404-18.314, 37.083-29.993\n\t\tC 515.566,262.6, 530.763,176.488, 487.024,132.75z M 81.546,189.322c 0.539-0.36, 3.423-1.548, 9.181-1.549l 0.006,0 l 0.002,0 \n\t\tc 15.925,0, 43.814,9.293, 70.005,35.484c 17.287,17.287, 29.66,38.181, 33.948,57.326c 3.059,13.66, 0.767,20.748-0.007,21.868\n\t\tc-0.536,0.359-3.416,1.549-9.18,1.549c-15.928,0-43.822-9.294-70.015-35.486c-17.288-17.289-29.662-38.185-33.948-57.33\n\t\tC 78.48,197.528, 80.772,190.443, 81.546,189.322z M 430.461,211.19c-4.287,19.145-16.66,40.039-33.946,57.324\n\t\tC 370.322,294.707, 342.429,304, 326.5,304c-5.762,0-8.644-1.188-9.18-1.548c-0.773-1.119-3.066-8.204-0.009-21.862\n\t\tc 4.286-19.146, 16.66-40.041, 33.948-57.33c 26.192-26.192, 54.087-35.486, 70.015-35.486c 5.764,0, 8.645,1.188, 9.18,1.548\n\t\tC 431.228,190.442, 433.521,197.53, 430.461,211.19zM 96,450.832l0,47.125 C 139.829,506.742, 195.454,512, 256,512s 116.171-5.258, 160-14.043l0-47.125 \n\t\tC 369.086,459.457, 314.020,464, 256,464S 142.914,459.457, 96,450.832z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"diamonds, bet, game, gamble, cards\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L 96,256L 256,512L 416,256 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"clubs, bet, game, gamble, cards\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 393.416,196.386c-29.516,0-56.043,12.298-74.926,32.347c-7.998,8.492-21.881,18.556-36.9,27.405\n\tc 7.055-26.934, 29.338-60.85, 44.814-75.728c 19.82-19.085, 31.992-45.915, 31.992-75.75C 358.399,47.213, 312.658,0.612, 256.002,0\n\tc-56.66,0.611-102.398,47.213-102.398,104.659c0,29.836, 12.172,56.665, 31.993,75.75c 15.477,14.878, 37.76,48.794, 44.814,75.728\n\tc-15.021-8.85-28.903-18.913-36.9-27.405c-18.884-20.049-45.41-32.347-74.925-32.347c-57.193,0-103.54,46.832-103.54,104.664\n\tc0,57.819, 46.346,104.669, 103.54,104.669c 29.521,0, 56.041-12.678, 74.925-32.726c 8.402-8.936, 23.222-20.069, 39.146-29.316\n\tc-1.501,73.846-36.766,128.084-72.659,149.453L 159.998,512 l 96.005,0 l 96.002,0 l0-18.87 c-35.896-21.368-71.16-75.608-72.66-149.453\n\tc 15.926,9.247, 30.744,20.384, 39.146,29.316c 18.883,20.047, 45.404,32.726, 74.926,32.726c 57.193,0, 103.539-46.85, 103.539-104.669\n\tC 496.955,243.218, 450.61,196.386, 393.416,196.386z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"spades, bet, game, gamble, cards\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 408.785,174.075C 312.002,102.146, 278.652,44.566, 256.002,0.001l0,0C 256,0.001, 256,0, 256,0l0,0.001 \n\tc-22.648,44.565-56,102.146-152.783,174.074c-165.018,122.643-9.688,293.834, 126.879,199.612\n\tc-8.898,58.465-39.265,101.086-70.104,119.441L 159.992,512 l 96.008,0 l 96.008,0 l0-18.87 c-30.841-18.354-61.205-60.977-70.106-119.442\n\tC 418.47,467.911, 573.802,296.718, 408.785,174.075z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pacman, game, arcade\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 482.365,89.402C 435.414,34.677, 365.76,0, 288,0C 146.615,0, 32,114.615, 32,256s 114.615,256, 256,256\n\tc 77.76,0, 147.414-34.678, 194.364-89.402L 320,256L 482.365,89.402z M 352,60.301c 19.716,0, 35.699,15.982, 35.699,35.699\n\tc0,19.716-15.983,35.699-35.699,35.699S 316.301,115.716, 316.301,96C 316.301,76.284, 332.284,60.301, 352,60.301z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gamepad, video game, controller, joystick\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 400,160L 112,160 C 50.144,160,0,210.144,0,272c0,61.855, 50.144,112, 112,112c 44.677,0, 83.237-26.162, 101.215-64l 85.567,0 \n\tc 17.978,37.838, 56.538,64, 101.218,64c 61.854,0, 112-50.145, 112-112C 512,210.144, 461.857,160, 400,160z M 168.89,288L 128,288 l0,40.891 L 96,328.891 L 96,288 \n\tL 55.11,288 l0-32 L 96,256 l0-40.89 l 32,0 L 128,256 l 40.89,0 L 168.89,288 z M 368,328.891c-13.747,0-24.892-11.145-24.892-24.891s 11.145-24.891, 24.892-24.891\n\tc 13.743,0, 24.89,11.145, 24.89,24.891S 381.743,328.891, 368,328.891z M 432,264.891c-13.747,0-24.892-11.144-24.892-24.891\n\ts 11.145-24.89, 24.892-24.89c 13.743,0, 24.891,11.144, 24.891,24.89S 445.743,264.891, 432,264.891z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gamepad, video game, controller, joystick\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 475.931,157.934c-12.993-21.217-28.493-38.025-46.064-49.957C 409.825,94.37, 387.61,87.47, 363.839,87.47\n\t\tc-32.558,0-50.831,10.297-66.954,19.382c-13.141,7.404-23.52,13.253-40.882,13.255c-17.366-0.001-27.746-5.851-40.887-13.255\n\t\tc-16.122-9.084-34.395-19.381-66.952-19.381c-23.772,0-45.987,6.899-66.027,20.506c-17.574,11.932-33.072,28.74-46.066,49.957\n\t\tC 13.484,194.814,0,243.195,0,287.354c0,42.424, 2.291,72.609, 7.21,94.996c 6.673,30.364, 18.785,47.547, 37.017,52.523\n\t\tc 4.014,1.1, 8.24,1.656, 12.562,1.656c 31.438,0, 65.118-29.235, 96.922-59.182c 28.18-26.541, 33.171-26.541, 49.708-26.541\n\t\tc 1.258,0, 2.563,0.006, 3.925,0.014c 1.483,0.008, 3.031,0.015, 4.653,0.015L 256,351.809l 44.002-0.974c 1.622,0, 3.169-0.007, 4.652-0.015\n\t\tc 1.361-0.008, 2.669-0.014, 3.926-0.014c 16.537,0, 21.529,0, 49.71,26.541c 31.803,29.946, 65.482,59.182, 96.92,59.183\n\t\tc 0.001,0, 0.001,0, 0.002,0c 4.32,0, 8.547-0.558, 12.551-1.653c 18.243-4.979, 30.354-22.162, 37.026-52.525\n\t\tc 4.919-22.389, 7.211-52.574, 7.211-94.998C 512,243.195, 498.516,194.814, 475.931,157.934z M 473.534,375.483\n\t\tc-3.554,16.173-8.993,27.103-14.218,28.528c-1.257,0.344-2.638,0.519-4.105,0.519c-21.375-0.001-57.583-34.095-74.981-50.478\n\t\tc-17.039-16.048-27.119-23.831-37.192-28.719c-13.453-6.527-24.612-6.527-34.457-6.527c-1.314,0-2.683,0.006-4.096,0.014\n\t\tc-1.429,0.008-2.92,0.015-4.482,0.015l-0.354,0 l-0.354,0.008L 256,319.801l-43.295-0.958l-0.354-0.008l-0.354,0 \n\t\tc-1.563,0-3.054-0.007-4.472-0.014c-1.425-0.009-2.791-0.015-4.106-0.015c-9.845,0-21.004,0-34.457,6.528\n\t\tc-10.072,4.887-20.152,12.67-37.188,28.715c-17.401,16.385-53.61,50.479-74.985,50.479c-1.468,0-2.85-0.175-4.136-0.526\n\t\tc-5.198-1.419-10.635-12.348-14.189-28.521C 34.054,355.411, 32,327.407, 32,287.354c0-18.804, 2.901-39.153, 8.391-58.848\n\t\tc 5.472-19.634, 13.415-38.258, 22.969-53.859c 10.603-17.312, 22.968-30.836, 36.753-40.195c 14.639-9.94, 30.805-14.98, 48.051-14.98\n\t\tc 24.161,0, 36.71,7.071, 51.251,15.264c 14.451,8.142, 30.83,17.37, 56.592,17.372c 25.752-0.003, 42.13-9.23, 56.588-17.376\n\t\tc 14.531-8.188, 27.082-15.26, 51.244-15.26c 17.244,0, 33.411,5.041, 48.050,14.98c 13.787,9.362, 26.152,22.886, 36.753,40.196\n\t\tc 9.554,15.601, 17.496,34.225, 22.968,53.859c 5.489,19.695, 8.391,40.044, 8.391,58.848C 480,327.403, 477.945,355.408, 473.534,375.483zM 320,192A32,32 6120 1 1 384,192A32,32 6120 1 1 320,192zM 384,256A32,32 6120 1 1 448,256A32,32 6120 1 1 384,256zM 128,192c 17.645,0, 32,14.355, 32,32s-14.355,32-32,32s-32-14.355-32-32S 110.355,192, 128,192 M 128,160\n\t\tc-35.29,0-64,28.71-64,64c0,35.29, 28.71,64, 64,64s 64-28.71, 64-64C 192,188.71, 163.29,160, 128,160L 128,160z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"gamepad, video game, controller, joystick\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,160L 128,160L 128,192L 96,192L 96,224L 128,224L 128,256L 160,256L 160,224L 192,224L 192,192L 160,192 \tzM 320,184A24,24 12600 1 1 368,184A24,24 12600 1 1 320,184zM 368,232A24,24 12600 1 1 416,232A24,24 12600 1 1 368,232zM 369.736,85.926c-58.11,0-67.181,34.417-113.735,34.421c-46.555-0.004-55.625-34.421-113.735-34.421\n\t\tC 48.53,85.926,0,200.663,0,282.739c0,77.651, 7.296,134.155, 36.344,142.085c 29.063,7.958, 66.085-23.379, 102.175-57.36\n\t\tc 36.081-33.981, 42.174-31.771, 71.229-31.771L 256,336.715l 46.252-1.021c 29.056,0, 35.148-2.211, 71.229,31.771\n\t\tc 36.090,33.981, 73.111,65.318, 102.175,57.36C 504.704,416.895, 512,360.391, 512,282.739C 512,200.663, 463.471,85.926, 369.736,85.926z\n\t\t M 144,288c-44.183,0-80-35.817-80-80s 35.817-80, 80-80s 80,35.817, 80,80S 188.183,288, 144,288z M 368,288c-44.183,0-80-35.817-80-80\n\t\ts 35.817-80, 80-80s 80,35.817, 80,80S 412.183,288, 368,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"dice, die, game, chance, luck, random, gample\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,96L 176,96 c-44,0-80,36-80,80l0,256 c0,44, 36,80, 80,80l 256,0 c 44,0, 80-36, 80-80L 512,176 C 512,132, 476,96, 432,96z M 208,448\n\tc-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 234.51,448, 208,448z M 208,256c-26.51,0-48-21.49-48-48s 21.49-48, 48-48\n\ts 48,21.49, 48,48S 234.51,256, 208,256z M 304,352c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 330.51,352, 304,352z M 400,448\n\tc-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 426.51,448, 400,448z M 400,256c-26.51,0-48-21.49-48-48s 21.49-48, 48-48\n\ts 48,21.49, 48,48S 426.51,256, 400,256z M 414.38,64C 406.915,27.598, 374.525,0, 336,0L 80,0 C 36,0,0,36,0,80l0,256 \n\tc0,38.523, 27.598,70.915, 64,78.38L 64,96 c0-17.6, 14.4-32, 32-32L 414.38,64 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 291.571,416l-199,0 C 59.172,416, 32,389.683, 32,357.334L 32,186.667 C 32,154.318, 59.172,128, 92.571,128l 199,0 \n\t\tc 33.399,0, 60.571,26.318, 60.571,58.667l0,21.7 l 69.58-60.266c 9.591-9.084, 19.306-13.69, 28.881-13.69\n\t\tc 13.561,0, 29.396,9.961, 29.396,38.033l0,199.111 c0,10.083-2.061,18.469-6.124,24.924c-5.244,8.331-13.727,13.109-23.271,13.109\n\t\tc-0.001,0-0.001,0-0.003,0c-9.574-0.001-19.287-4.605-28.877-13.688l-69.582-60.267l0,21.699 \n\t\tC 352.143,389.683, 324.971,416, 291.571,416z M 92.571,160C 76.817,160, 64,171.963, 64,186.667l0,170.667 \n\t\tC 64,372.038, 76.817,384, 92.571,384l 199,0 c 15.754,0, 28.571-11.962, 28.571-26.666l0-57.005 c0-6.58, 4.028-12.489, 10.153-14.894\n\t\tc 6.124-2.402, 13.098-0.814, 17.573,4.008c 0.328,0.354, 0.625,0.663, 0.902,0.938l 94.188,81.577c 0.2,0.175, 0.396,0.354, 0.589,0.537\n\t\tc 1.623,1.554, 3.029,2.668, 4.174,3.453c 0.163-1.159, 0.278-2.615, 0.278-4.393L 447.999,172.444 c0-1.777-0.115-3.233-0.278-4.392\n\t\tc-1.145,0.784-2.551,1.899-4.174,3.453c-0.192,0.184-0.389,0.362-0.589,0.536l-94.19,81.581c-0.273,0.271-0.573,0.582-0.908,0.942\n\t\tc-4.479,4.817-11.445,6.404-17.571,3.996c-6.121-2.406-10.146-8.313-10.146-14.891l0-57.004 c0-14.704-12.817-26.667-28.571-26.667\n\t\tL 92.571,159.998 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 352,368c0,26.4-21.6,48-48,48L 80,416 c-26.4,0-48-21.6-48-48L 32,176 c0-26.4, 21.6-48, 48-48l 224,0 c 26.4,0, 48,21.6, 48,48L 352,368 zM 480,160 L 480,384 C 480,410.4 464.727,416.727 446.059,398.058 L 353.942,305.941 C 335.274,287.273 335.274,256.726 353.942,238.059 L 446.059,145.941 C 464.727,127.273 480,133.6 480,160 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 489.42,128.126c-5.294,0-10.729,1.861-15.718,5.383L 384,196.816L 384,144 c0-26.4-21.6-48-48-48L 48,96 c-26.4,0-48,21.6-48,48l0,224 \n\tc0,26.4, 21.6,48, 48,48l 288,0 c 26.4,0, 48-21.6, 48-48l0-52.815 l 89.701,63.307c 4.989,3.521, 10.424,5.382, 15.717,5.383\n\tc 0.001,0, 0.001,0, 0.003,0c 7.044,0, 13.477-3.248, 17.646-8.911c 3.228-4.385, 4.934-10.027, 4.934-16.318L 512.001,153.355 \n\tC 512,136.792, 500.641,128.126, 489.42,128.126z M 480,343.77L 400.979,288L 352,288 l0,80 c0,8.673-7.327,16-16,16L 48,384 c-8.673,0-16-7.327-16-16\n\tL 32,144 c0-8.673, 7.327-16, 16-16l 288,0 c 8.673,0, 16,7.327, 16,16l0,80 l 48.979,0 L 480,168.23L 480,343.77 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 489.42,128.126c-5.294,0-10.729,1.861-15.718,5.383L 384,196.816L 384,144 c0-26.4-21.6-48-48-48L 48,96 c-26.4,0-48,21.6-48,48l0,224 \n\tc0,26.4, 21.6,48, 48,48l 288,0 c 26.4,0, 48-21.6, 48-48l0-52.815 l 89.701,63.307c 4.989,3.521, 10.424,5.382, 15.717,5.383\n\tc 0.001,0, 0.001,0, 0.003,0c 7.044,0, 13.477-3.248, 17.646-8.911c 3.228-4.385, 4.934-10.027, 4.934-16.318L 512.001,153.355 \n\tC 512,136.792, 500.641,128.126, 489.42,128.126z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, video, media, film, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,144A80,80 10800 1 1 352,144A80,80 10800 1 1 192,144zM0,144A80,80 10800 1 1 160,144A80,80 10800 1 1 0,144zM 384,304l0-48 c0-17.6-14.4-32-32-32l-80,0 L 80,224 L 32,224 c-17.6,0-32,14.4-32,32l0,160 c0,17.6, 14.4,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32\n\t\tl0-48 l 128,80L 512,224 L 384,304z M 320,384L 64,384 l0-96 l 256,0 L 320,384 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape, play\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 96,416L 32,416 l0-64 l 64,0 L 96,416 z M 96,288L 32,288 l0-64 l 64,0 L 96,288 z M 96,160L 32,160 L 32,96 l 64,0 L 96,160 z M 384,416L 128,416 L 128,96 l 256,0 L 384,416 z\n\t\t M 480,416l-64,0 l0-64 l 64,0 L 480,416 z M 480,288l-64,0 l0-64 l 64,0 L 480,288 z M 480,160l-64,0 L 416,96 l 64,0 L 480,160 zM 192,160L 192,352L 320,256 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 96,416L 32,416 l0-64 l 64,0 L 96,416 z M 96,288L 32,288 l0-64 l 64,0 L 96,288 z M 96,160L 32,160 L 32,96 l 64,0 L 96,160 z M 384,416L 128,416 L 128,96 l 256,0 L 384,416 z\n\t M 480,416l-64,0 l0-64 l 64,0 L 480,416 z M 480,288l-64,0 l0-64 l 64,0 L 480,288 z M 480,160l-64,0 L 416,96 l 64,0 L 480,160 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 96,448L 32,448 l0-64 l 64,0 L 96,448 z M 96,352L 32,352 l0-64 l 64,0 L 96,352 z M 96,224L 32,224 l0-64 l 64,0 L 96,224 z M 96,128L 32,128 L 32,64 l 64,0 L 96,128 z M 384,448\n\tL 128,448 l0-64 l0-32 l0-64 l 256,0 L 384,448 z M 384,224L 128,224 L 128,64 l 256,0 L 384,224 z M 480,448l-64,0 l0-64 l 64,0 L 480,448 z M 480,352l-64,0 l0-64 l 64,0 L 480,352 z M 480,224l-64,0 l0-64 l 64,0 L 480,224 z\n\t M 480,128l-64,0 L 416,64 l 64,0 L 480,128 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"film, video, movie, tape\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 512,0 L 512,0 L0,0 z M 320,32l 64,0 l0,64 l-64,0 L 320,32 z M 224,32l 64,0 l0,64 l-64,0 L 224,32 z M 128,32l 64,0 l0,64 l-64,0 L 128,32 z M 32,32l 64,0 l0,64 L 32,96 L 32,32 z M 32,128l 192,0 l0,256 \n\tL 32,384 L 32,128 z M 96,480L 32,480 l0-64 l 64,0 L 96,480 z M 192,480l-64,0 l0-64 l 64,0 L 192,480 z M 288,480l-64,0 l0-64 l 64,0 L 288,480 z M 384,480l-64,0 l0-64 l 64,0 L 384,480 z M 480,480l-64,0 l0-64 l 64,0 \n\tL 480,480 z M 480,384L 256,384 L 256,128 l 224,0 L 480,384 z M 480,96l-64,0 L 416,32 l 64,0 L 480,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"movie, wheel, video, film\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0C 114.615,0,0,114.615,0,256s 114.615,256, 256,256s 256-114.615, 256-256S 397.385,0, 256,0z M 256,56.809\n\tc 30.187,0, 54.658,24.471, 54.658,54.659c0,30.187-24.472,54.658-54.658,54.658c-30.188,0-54.658-24.471-54.658-54.658\n\tC 201.342,81.28, 225.812,56.809, 256,56.809z M 57.778,207.364c0-30.187, 24.471-54.658, 54.659-54.658\n\tc 30.187,0, 54.658,24.471, 54.658,54.658c0,30.188-24.471,54.659-54.658,54.659C 82.25,262.022, 57.778,237.551, 57.778,207.364z\n\t M 169.201,422.644c-30.187,0-54.658-24.471-54.658-54.658s 24.472-54.659, 54.658-54.659c 30.187,0, 54.659,24.472, 54.659,54.659\n\tS 199.388,422.644, 169.201,422.644z M 256,288c-17.673,0-32-14.327-32-32c0-17.673, 14.327-32, 32-32c 17.673,0, 32,14.327, 32,32\n\tC 288,273.673, 273.673,288, 256,288z M 342.799,422.969c-30.188,0-54.658-24.471-54.658-54.658s 24.471-54.659, 54.658-54.659\n\tc 30.187,0, 54.658,24.472, 54.658,54.659S 372.985,422.969, 342.799,422.969z M 399.562,262.348c-30.187,0-54.658-24.471-54.658-54.659\n\tc0-30.187, 24.472-54.658, 54.658-54.658c 30.188,0, 54.659,24.471, 54.659,54.658C 454.222,237.876, 429.751,262.348, 399.562,262.348z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"movie, play, media, video\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 32,224l0,288 l 480,0 L 512,224 L 32,224 z M 480,320L 64,320 l0-32 l 416,0 L 480,320 zM 14.628,65.143L 32,191.959l 475.559-65.144L 490.188,0L 14.628,65.143z M 184.497,138.771l-89.771,12.297l 54.722-72.094\n\tl 89.771-12.297L 184.497,138.771z M 369.767,113.392l-89.771,12.297l 54.722-72.094l 89.771-12.297L 369.767,113.392z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"movie, play, media, video\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 39.151,131.27L 471.873,15.328L 496.718,108.054L 63.996,223.996zM 64,224l0,288 l 448,0 L 512,224 L 64,224 z M 224,448L 224,288 l 128,80L 224,448z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, video, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,148.925L 192,299.075L 322.033,224.004 \tzM0,96l0,320 l 512,0 L 512,96 L0,96 z M 480,384L 32,384 l0-32 l 448,0 L 480,384 z M 480,320L 32,320 L 32,128 l 448,0 L 480,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"play, video, movie\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.594,80.054C 418.778,69.729, 339.428,64, 256.001,64c-83.43,0-162.778,5.729-234.597,16.054\n\tC 7.639,133.917,0,193.429,0,256c0,62.57, 7.639,122.083, 21.404,175.945C 93.223,442.271, 172.572,448, 256.001,448\n\tc 83.427,0, 162.776-5.729, 234.593-16.055C 504.36,378.083, 512,318.57, 512,256C 512,193.429, 504.36,133.917, 490.594,80.054z\n\t M 192.001,352L 192.001,160 l 160,96L 192.001,352z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"headphones, headset, music, song, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256.001,64C 132.288,64, 32,164.288, 32,288l0,96 l 32,0 l0-96 c0-106.039, 85.961-160, 192-160s 192,53.961, 192,160l0,96 l 32,0 l0-96 \n\t\tC 480.001,164.288, 379.712,64, 256.001,64zM 138.667,288l-21.333,0 C 105.6,288, 96,297.6, 96,309.333l0,117.334 C 96,438.399, 105.6,448, 117.333,448l 21.333,0 \n\t\tC 150.4,448, 160,438.399, 160,426.667L 160,309.333 C 160,297.6, 150.4,288, 138.667,288zM 394.666,288l-21.334,0 c-11.731,0-21.331,9.6-21.331,21.333l0,117.334 c0,11.732, 9.6,21.333, 21.331,21.333l 21.334,0 \n\t\tC 406.4,448, 416,438.399, 416,426.667L 416,309.333 C 416.001,297.6, 406.401,288, 394.666,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"headphones, headset, music, song, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 96,289.143l0,221.715 c 5.227,0.748, 10.567,1.143, 16,1.143l 16,0 L 128,288 l-16,0 C 106.567,288, 101.227,288.395, 96,289.143zM 384,288l0,224 l 16,0 c 5.434,0, 10.773-0.395, 16-1.143L 416,289.143 c-5.227-0.748-10.566-1.143-16-1.143L 384,288 zM 512,256C 512,114.615, 397.385,0, 256,0S0,114.615,0,256c0,30.709, 5.414,60.153, 15.328,87.437C 5.592,360.038,0,379.363,0,400\n\t\tc0,44.677, 26.163,83.239, 64,101.216L 64,298.784 c-10.063,4.781-19.29,11.030-27.429,18.452C 33.575,302.626, 32,287.497, 32,272\n\t\tC 32,148.288, 132.288,48, 256,48s 224,100.288, 224,224c0,15.497-1.574,30.626-4.571,45.236c-8.14-7.422-17.365-13.671-27.429-18.452\n\t\tl0,202.432 c 37.838-17.977, 64-56.539, 64-101.216c0-20.637-5.592-39.962-15.328-56.563C 506.586,316.153, 512,286.709, 512,256z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"guitar, music, rock, song, classic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 440,128l 72-64c-6.038-32.334-31.666-57.962-64-64l-64,72l0,17.109 l-90.735,90.735\n\tc-47.034-38.417-79.561-33.168-100.675-15.795c-20.49,16.855-28.145,50.262-39.481,60.243\n\tc-22.896,20.152-79.232-0.076-127.196,52.117C-29.588,336.807, 14.208,401.2, 62.504,449.496\n\tc 48.295,48.294, 112.689,92.092, 173.087,36.592c 52.194-47.964, 31.954-104.312, 52.105-127.207c 9.98-11.337, 43.398-18.979, 60.255-39.47\n\tc 17.371-21.114, 22.62-53.642-15.796-100.676L 422.891,128L 440,128 z M 146.565,429.435l-64-64l 26.87-26.869l 64,64L 146.565,429.435z\n\t M 240,320c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48S 266.51,320, 240,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"piano, music, song, audio\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,0l0,512 l 480,0 L 480,0 L0,0 z M 96,480L 32,480 L 32,32 l 32,0 l0,320 l 32,0 L 96,480 z M 224.001,480l-96,0 L 128.001,352 l 32,0 L 160.001,32 l 32,0 l0,320 l 32,0 L 224.001,480 z M 352,480l-96,0 L 256,352 l 32,0 L 288,32 l 32,0 l0,320 \n\tl 32,0 L 352,480 z M 448,480l-64,0 L 384,352 l 32,0 L 416,32 l 32,0 L 448,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 192,64l0,312.020 C 171.671,361.2, 143.342,352, 112,352C 50.144,352,0,387.816,0,432c0,44.183, 50.144,80, 112,80\n\ts 112-35.817, 112-80L 224,225.292 l 256-56.889L 480,312.020 C 459.671,297.2, 431.342,288, 400,288c-61.855,0-112,35.816-112,80\n\tc0,44.183, 50.145,80, 112,80s 112-35.817, 112-80L 512,0 L 480,0 z M 112,474c-42.353,0-74-22.174-74-42s 31.647-42, 74-42s 74,22.174, 74,42\n\tS 154.353,474, 112,474z M 400,410c-42.354,0-74-22.174-74-42s 31.646-42, 74-42s 74,22.174, 74,42S 442.354,410, 400,410z M 480,127.426\n\tl-256,56.889l0-63.426 L 480,64L 480,127.426 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0 L 512,0 L 512,368 C 512,412.183 461.855,448 400,448 C 338.145,448 288,412.183 288,368 C 288,323.816 338.145,288 400,288 C 431.342,288 459.671,297.2 480,312.020 L 480,128 L 224,184.889 L 224,432 C 224,476.183 173.856,512 112,512 C 50.144,512 0,476.183 0,432 C 0,387.816 50.144,352 112,352 C 143.342,352 171.671,361.2 192,376.020 L 192,64 L 480,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,0L 192,64l0,312.020 C 171.671,361.2, 143.342,352, 112,352C 50.144,352,0,387.816,0,432c0,44.183, 50.144,80, 112,80\n\ts 112-35.817, 112-80L 224,225.292 l 256-56.889L 480,312.020 C 459.671,297.2, 431.342,288, 400,288c-61.855,0-112,35.816-112,80\n\tc0,44.183, 50.145,80, 112,80s 112-35.817, 112-80L 512,0 L 480,0 z M 480,127.426l-256,56.889l0-63.426 L 480,64L 480,127.426 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,96 L 512,0 L 512,32 L 512,96 L 512,368 C 512,412.183 461.855,448 400,448 C 338.145,448 288,412.183 288,368 C 288,323.817 338.145,288 400,288 C 417.179,288 433.451,290.766 448,295.703 L 448,130.909 L 224,192 L 224,432 C 224,476.183 173.856,512 112,512 C 50.144,512 0,476.183 0,432 C 0,387.817 50.144,352 112,352 C 129.179,352 145.451,354.766 160,359.703 L 160,192 L 160,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160,96l0,263.703 c-14.549-4.937-30.821-7.703-48-7.703C 50.144,352,0,387.817,0,432s 50.144,80, 112,80s 112-35.817, 112-80\n\tL 224,280.422 l 224-61.091l0,76.372 c-14.549-4.937-30.821-7.703-48-7.703c-61.855,0-112,35.817-112,80s 50.145,80, 112,80s 112-35.817, 112-80L 512,0 \n\tL 160,96z M 224,230.669L 224,182 l 224-61.091l0,48.669 L 224,230.669z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"music, song, audio, sound\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 406.079,147.206c-43.525-61.105-39.44-17.957-81.604-139.842L 279.886,0l-49.609,366.475\n\tc-111.816-63.979-182.336,1.734-164.492,84.443c 9.46,43.856, 80.716,85.137, 150.9,44.39c 33.171-19.945, 43.836-52.11, 48.070-74.919\n\tl 35.438-271.926c 126.445,111.487, 86.071,178.946, 59.925,256.622C 413.867,382.918, 498.058,285.141, 406.079,147.206z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,32L 96,32 c-35.2,0-64,28.8-64,64l0,320 c0,35.2, 28.8,64, 64,64l 320,0 c 35.2,0, 64-28.8, 64-64L 480,96 C 480,60.8, 451.2,32, 416,32z\n\t M 336,288c0,44.112-35.888,80-80,80s-80-35.888-80-80c0-26.142, 12.605-49.393, 32.056-64l 95.889,0 C 323.395,238.607, 336,261.858, 336,288\n\tz M 160,96l 32,0 l0,64 l-32,0 L 160,96 z M 96,96l 32,0 l0,64 L 96,160 L 96,96 z M 416,415.886c-0.033,0.039-0.075,0.081-0.114,0.114L 256,416 L 96.114,416 \n\tc-0.040-0.033-0.081-0.075-0.114-0.114L 96,224 l 49.128,0 C 134.237,242.828, 128,264.685, 128,288c0,70.692, 57.308,128, 128,128\n\ts 128-57.308, 128-128c0-23.315-6.236-45.172-17.128-64L 416,224 L 416,415.886 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 152,304c0,57.438, 46.562,104, 104,104s 104-46.562, 104-104s-46.562-104-104-104S 152,246.562, 152,304z M 480,128L 368,128 \n\tc-8-32-16-64-48-64L 192,64 c-32,0-40,32-48,64L 32,128 c-17.6,0-32,14.4-32,32l0,288 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,160 \n\tC 512,142.4, 497.6,128, 480,128z M 256,446c-78.425,0-142-63.574-142-142c0-78.425, 63.575-142, 142-142c 78.426,0, 142,63.575, 142,142\n\tC 398,382.426, 334.427,446, 256,446z M 480,224l-64,0 l0-32 l 64,0 L 480,224 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480,96l-96,0 l-16.179-40.717C 364.619,42.478, 351.2,32, 338,32L 174,32 c-13.2,0-26.619,10.478-29.821,23.283L 128,96L 32,96 \n\tc-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,128 C 512,110.4, 497.6,96, 480,96z M 448,448L 64,448 L 64,160 l 107.437,0 \n\tl 25.431-64l 118.265,0 l 25.431,64L 448,160 L 448,448 zM 256,184c-66.168,0-120,53.832-120,120s 53.832,120, 120,120s 120-53.832, 120-120S 322.168,184, 256,184z M 256,376\n\tc-39.701,0-72-32.299-72-72s 32.299-72, 72-72s 72,32.299, 72,72S 295.701,376, 256,376z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"camera, photo, picture, image\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,216 C 302.869,216 341,255.477 341,304 C 341,352.523 302.869,392 256,392 C 209.131,392 171,352.523 171,304 C 171,255.477 209.131,216 256,216 ZM 480,96l-96,0 l-16.179-40.717C 364.619,42.478, 351.2,32, 338,32L 174,32 c-13.2,0-26.619,10.478-29.821,23.283L 128,96L 32,96 \n\t\tc-17.6,0-32,14.4-32,32l0,352 c0,17.6, 14.4,32, 32,32l 448,0 c 17.6,0, 32-14.4, 32-32L 512,128 C 512,110.4, 497.6,96, 480,96z M 256,440\n\t\tc-73.336,0-133-61.010-133-136c0-74.991, 59.664-136, 133-136c 73.337,0, 133,61.009, 133,136C 389,378.99, 329.337,440, 256,440z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,448 l 512,0 L 512,32 L0,32 z M 480,64l0,325.154 L 354.059,242.222c-8.806-10.272-21.219-16.164-34.059-16.164\n\t\ts-25.253,5.892-34.059,16.164L 136.99,416L 43.529,416 l 72.914-91.143c 3.271-4.090, 7.376-6.342, 11.557-6.342s 8.286,2.252, 11.557,6.342\n\t\tl 15.867,19.834l 18.295-21.954l-12.297-15.372c-8.567-10.708-20.749-16.85-33.421-16.85s-24.854,6.142-33.421,16.85L 32,385.589L 32,64 \n\t\tL 480,64 z M 466.132,416L 173.868,416 l 133.333-155.556c 3.529-4.118, 8.075-6.386, 12.799-6.386s 9.27,2.268, 12.799,6.386L 466.132,416zM 144,124c 28.673,0, 52,23.327, 52,52s-23.327,52-52,52s-52-23.327-52-52S 115.327,124, 144,124 M 144,96\n\t\tc-44.183,0-80,35.817-80,80s 35.817,80, 80,80s 80-35.817, 80-80S 188.183,96, 144,96L 144,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"images, pictures, photos, graphics, polaroids\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,32L0,32 l0,384 l 384,0 L 384,32 z M 352,320L 32,320 L 32,64 l 320,0 L 352,320 zM 256,160L 233.143,205.714L 160,96L 64,288L 320,288 \tzM 416,123.377L 416,448L 60.472,448L 57.964,471.861L 439.861,512L 480,130.104 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic, polaroid\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,32l0,480 l 512,0 L 512,32 L0,32 z M 448,384L 64,384 L 64,96 l 384,0 L 448,384 zM 416,288L 384,224L 320,288L 224,128L 96,320L 96,352L 416,352 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,96l0,320 l 512,0 L 512,96 L0,96 z M 480,320l-96-96l-45.898,68.847L 429.255,384L 384,384 L 224,224L 32,384L 32,128 l 448,0 L 480,320 zM 64,208A48,48 10800 1 1 160,208A48,48 10800 1 1 64,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,287.887c-32,0-64,32.113-96,32.113s-32-128-96-128S 96,256, 64,384c0,0, 352,0, 384,0\n\t\tC 448,384.001, 448,287.887, 416,287.887zM0,96l0,352 l 512,0 L 512,96 L0,96 z M 480,416L 32,416 L 32,128 l 448,0 L 480,416 zM 352,208A48,48 12600 1 1 448,208A48,48 12600 1 1 352,208z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"images, pictures, photos, graphics\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 64,128l0,320 l 448,0 L 512,128 L 64,128 z M 480,394.667L 416,288l-72.533,60.444L 288,256L 96,416L 96,160 l 384,0 L 480,394.667 zM 128,240A48,48 7560 1 1 224,240A48,48 7560 1 1 128,240zM 448,64L0,64L0,384L 32,384L 32,96L 448,96 \tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,384 l 512,0 L 512,64 L0,64 z M 480,416l-32,0 l-96-144l-64,48L 160,160L 64,416L 32,416 L 32,96 l 448,0 L 480,416 zM 352,176A48,48 12600 1 1 448,176A48,48 12600 1 1 352,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,64l0,416 l 512,0 L 512,64 L0,64 z M 480,448L 32,448 L 32,96 l 448,0 L 480,448 zM 352,176A48,48 2520 1 1 448,176A48,48 2520 1 1 352,176zM 448,416 L 64,416 L 160,160 L 288,320 L 352,272 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"image, picture, photo, graphic\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,96 L 64,96 L 64,416 L 448,416 L 448,96 Z M 512,32 L 512,32 L 512,480 L 0,480 L 0,32 L 512,32 ZM 416,384 L 96,384 L 96,320 L 192,160 L 323.5,320 L 416,256 L 416,288 ZM 320,176A48,48 2520 1 1 416,176A48,48 2520 1 1 320,176z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paint-format, format\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,288L 512,96 l-96,0 L 416,64 c0-17.6-14.4-32-32-32L 32,32 C 14.4,32,0,46.4,0,64l0,96 c0,17.6, 14.4,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32l0-32 l 64,0 \n\tl0,128 L 192,256 l0,64 l-16,0 c-8.837,0-16,7.163-16,16l0,160 c0,8.837, 7.163,16, 16,16l 64,0 c 8.837,0, 16-7.163, 16-16L 256,336 c0-8.837-7.163-16-16-16l-16,0 l0-32 \n\tL 512,288 z M 384,96L 32,96 L 32,64 l 352,0 L 384,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"paint-format, format, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 416,96L 416,64 c0-17.6-14.4-32-32-32L 32,32 C 14.4,32,0,46.4,0,64l0,96 c0,17.6, 14.4,32, 32,32l 352,0 c 17.6,0, 32-14.4, 32-32l0-32 l 64,0 l0,128 L 192,256 \n\tl0,64 l-16,0 c-8.837,0-16,7.163-16,16l0,160 c0,8.837, 7.163,16, 16,16l 64,0 c 8.837,0, 16-7.163, 16-16L 256,336 c0-8.837-7.163-16-16-16l-16,0 l0-32 l 288,0 L 512,96 \n\tL 416,96 z M 35,96l-3,0 L 32,64 l 3,0 L 35,96 z M 51,96l-8,0 L 43,64 l 8,0 L 51,96 z M 67,96l-8,0 L 59,64 l 8,0 L 67,96 z M 83,96l-8,0 L 75,64 l 8,0 L 83,96 z M 99,96l-8,0 L 91,64 l 8,0 L 99,96 z M 115,96l-8,0 L 107,64 l 8,0 L 115,96 z\n\t M 131,96l-8,0 L 123,64 l 8,0 L 131,96 z M 147,96l-8,0 L 139,64 l 8,0 L 147,96 z M 163,96l-8,0 L 155,64 l 8,0 L 163,96 z M 179,96l-8,0 L 171,64 l 8,0 L 179,96 z M 195,96l-8,0 L 187,64 l 8,0 L 195,96 z M 211,96l-8,0 L 203,64 l 8,0 L 211,96 z\n\t M 227,96l-8,0 L 219,64 l 8,0 L 227,96 z M 243,96l-8,0 L 235,64 l 8,0 L 243,96 z M 259,96l-8,0 L 251,64 l 8,0 L 259,96 z M 275,96l-8,0 L 267,64 l 8,0 L 275,96 z M 291,96l-8,0 L 283,64 l 8,0 L 291,96 z M 307,96l-8,0 L 299,64 l 8,0 L 307,96 z\n\t M 323,96l-8,0 L 315,64 l 8,0 L 323,96 z M 339,96l-8,0 L 331,64 l 8,0 L 339,96 z M 355,96l-8,0 L 347,64 l 8,0 L 355,96 z M 371,96l-8,0 L 363,64 l 8,0 L 371,96 z M 384,96l-5,0 L 379,64 l 5,0 L 384,96 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,88.019 C 242.179,102.214 226.216,119.718 210.327,139.546 C 158.108,204.707 129.666,265.583 128.078,315.593 C 128.061,316.123 128.046,316.614 128.035,317.108 L 128.028,317.426 L 128.019,317.868 C 128.008,318.578 128.001,319.289 128.001,320.003 C 128.001,320.658 128.008,321.31 128.019,321.962 L 128.031,322.583 C 128.689,356.217 142.293,387.742 166.338,411.348 C 190.413,434.983 222.255,448 256,448 C 289.744,448 321.587,434.983 345.661,411.348 C 369.697,387.75 383.301,356.244 383.971,322.624 L 383.971,322.6 L 383.975,322.382 C 383.988,321.589 384,320.795 384,320 C 384,319.284 383.991,318.57 383.98,317.856 L 383.979,317.816 L 383.978,317.776 L 383.973,317.545 L 383.965,317.098 C 383.954,316.646 383.943,316.195 383.927,315.743 L 383.925,315.667 L 383.922,315.591 C 382.333,265.582 353.892,204.706 301.673,139.546 C 285.783,119.718 269.82,102.215 256,88.019 Z M 256,0 L 256,0 C 256,0 442.875,155.734 447.889,313.558 C 447.914,314.271 447.932,314.984 447.949,315.698 C 447.955,316.050 447.964,316.398 447.97,316.751 C 447.988,317.832 448,318.914 448,320 C 448,321.182 447.985,322.361 447.964,323.539 C 447.963,323.636 447.961,323.734 447.959,323.832 C 445.916,428.101 360.758,512 256,512 C 151.241,512 66.082,428.101 64.043,323.836 C 64.039,323.737 64.038,323.642 64.036,323.543 C 64.015,322.364 64.001,321.189 64.001,320.004 C 64.001,318.918 64.011,317.836 64.029,316.756 C 64.035,316.403 64.043,316.056 64.050,315.703 C 64.066,314.987 64.088,314.276 64.11,313.561 C 69.123,155.734 256,0 256,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,65.328 C 239.761,81.321 218.94,103.259 198.21,129.082 C 143.571,197.139 113.79,261.458 112.087,315.085 C 112.069,315.643 112.052,316.2 112.039,316.762 L 112.031,317.147 L 112.022,317.59 C 112.009,318.393 112.001,319.197 112.001,320.004 C 112.001,320.796 112.010,321.582 112.023,322.369 L 112.024,322.393 L 112.034,322.897 C 112.774,360.741 128.079,396.208 155.129,422.766 C 182.213,449.355 218.037,464 256,464 C 293.963,464 329.785,449.355 356.87,422.764 C 383.917,396.21 399.223,360.745 399.968,322.904 L 399.969,322.831 L 399.972,322.665 C 399.988,321.778 400,320.89 400,320 C 400,319.189 399.99,318.381 399.977,317.573 L 399.97,317.23 L 399.961,316.763 C 399.949,316.244 399.936,315.727 399.918,315.208 L 399.916,315.145 L 399.914,315.082 C 398.21,261.455 368.429,197.136 313.79,129.080 C 293.059,103.259 272.238,81.321 256,65.328 Z M 256,0 L 256,0 C 256,0 442.875,155.734 447.889,313.558 C 447.914,314.271 447.932,314.984 447.949,315.698 C 447.955,316.050 447.964,316.398 447.97,316.751 C 447.988,317.832 448,318.914 448,320 C 448,321.182 447.985,322.361 447.964,323.539 C 447.963,323.636 447.961,323.734 447.959,323.832 C 445.916,428.101 360.758,512 256,512 C 151.241,512 66.082,428.101 64.043,323.836 C 64.039,323.737 64.038,323.642 64.036,323.543 C 64.015,322.364 64.001,321.189 64.001,320.004 C 64.001,318.918 64.011,317.836 64.029,316.756 C 64.035,316.403 64.043,316.056 64.050,315.703 C 64.066,314.987 64.088,314.276 64.11,313.561 C 69.123,155.734 256,0 256,0 ZM 361.981,312.116 C 361.992,312.743 362,313.37 362,314 C 362,314.688 361.99,315.377 361.977,316.103 L 361.974,316.269 L 361.973,316.345 C 361.376,345.741 349.473,373.292 328.452,393.93 C 307.387,414.61 279.525,426 250,426 C 226.519,426 204.094,418.79 185.299,405.439 C 189.5,405.805 193.736,406 198,406 C 235.963,406 271.785,391.355 298.87,364.764 C 325.917,338.21 341.223,302.745 341.968,264.904 L 341.969,264.831 L 341.972,264.665 C 341.988,263.778 342,262.89 342,262 C 342,261.189 341.99,260.381 341.977,259.572 L 341.97,259.229 L 341.961,258.762 C 341.949,258.243 341.936,257.726 341.918,257.207 L 341.916,257.144 L 341.914,257.081 C 341.616,247.7 340.439,237.986 338.44,227.988 C 353.169,257.842 361.149,285.535 361.931,310.153 L 361.935,310.255 L 361.936,310.294 C 361.948,310.675 361.958,311.056 361.967,311.438 L 361.975,311.869 L 361.981,312.116 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 120.037,315.356 C 120.033,315.27 120.032,315.186 120.031,315.099 C 120.013,314.068 120,313.039 120,312.003 C 120,311.052 120.009,310.106 120.024,309.161 C 120.030,308.851 120.037,308.548 120.043,308.239 C 120.058,307.613 120.076,306.99 120.096,306.365 C 124.481,168.267 287.999,32 287.999,32 C 287.999,32 325.697,63.418 365.377,111.368 L 124.79,351.954 C 121.921,340.19 120.283,327.944 120.037,315.356 ZM 455.954,308.235c-0.015-0.624-0.029-1.247-0.051-1.872c-1.545-48.613-22.809-96.999-49.718-139.293L 510.628,62.627L 486,38\n\t\tL 38,486l 24.627,24.628l 93.961-93.962C 187.37,455.263, 234.793,480, 287.999,480c 91.664,0, 166.176-73.411, 167.965-164.646\n\t\tc 0.002-0.086, 0.003-0.173, 0.003-0.257c 0.021-1.030, 0.033-2.063, 0.033-3.097c0-0.95-0.011-1.896-0.027-2.843\n\t\tC 455.967,308.849, 455.96,308.544, 455.954,308.235z M 399.979,314.073l-0.004,0.178c-0.576,29.438-12.483,57.022-33.523,77.678\n\t\tC 345.388,412.61, 317.524,424, 287.999,424c-5.451,0-10.847-0.391-16.154-1.155c 60.839-36.244, 101.596-102.682, 101.596-178.64\n\t\tc0-8.511-0.518-16.902-1.512-25.147c 17.619,32.349, 27.154,62.475, 28.002,89.086l 0.002,0.062c 0.015,0.415, 0.021,0.829, 0.033,1.244\n\t\tl 0.013,0.634c 0.013,0.638, 0.021,1.277, 0.021,1.916C 400,312.692, 399.991,313.384, 399.979,314.073z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"droplet, colors, water\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 447.97,316.751c-0.006-0.353-0.015-0.701-0.021-1.053c-0.016-0.714-0.035-1.427-0.059-2.14C 442.875,155.734, 256,0, 256,0\n\t\tS 69.123,155.734, 64.11,313.561c-0.022,0.715-0.044,1.426-0.060,2.141c-0.007,0.352-0.015,0.701-0.021,1.053\n\t\tc-0.018,1.080-0.028,2.162-0.028,3.248c0,1.184, 0.014,2.361, 0.035,3.539c 0.002,0.098, 0.003,0.195, 0.007,0.293\n\t\tC 66.082,428.101, 151.241,512, 256,512c 104.758,0, 189.916-83.899, 191.959-188.168c 0.002-0.098, 0.004-0.196, 0.005-0.293\n\t\tc 0.021-1.178, 0.036-2.357, 0.036-3.539C 448,318.914, 447.988,317.832, 447.97,316.751z M 383.975,322.37l-0.004,0.203\n\t\tc-0.659,33.643-14.266,65.167-38.313,88.774C 321.587,434.983, 289.743,448, 256,448c-6.231,0-12.397-0.447-18.462-1.319\n\t\tc 69.528-41.423, 116.108-117.352, 116.108-204.161c0-9.728-0.59-19.317-1.726-28.74c 20.136,36.97, 31.032,71.4, 32.001,101.813\n\t\tl 0.002,0.072c 0.016,0.474, 0.026,0.946, 0.039,1.422l 0.014,0.724C 383.99,318.539, 384,319.27, 384,320\n\t\tC 384,320.792, 383.99,321.581, 383.975,322.37z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eyedropper, color, pick, sample\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 384,160l-56,0 c-32,0-8-32-8-96c0-7.555-0.9-13.307-2.474-17.61C 309.875,19.611, 285.236,0, 256,0\n\tc-29.235,0-53.875,19.611-61.526,46.39C 192.901,50.693, 192,56.445, 192,64c0,64, 24,96-8,96l-56,0 l0,64 l 64,0 l0,248 c0,4.4, 3.6,8, 8,8l 16,0 \n\tc 4.4,0, 8,3.6, 8,8l0,16 c0,4.4, 3.6,8, 8,8l 48,0 c 4.4,0, 8-3.6, 8-8l0-16 c0-4.4, 3.6-8, 8-8l 16,0 c 4.4,0, 8-3.6, 8-8L 320,224 l 64,0 L 384,160 z M 288,448.804\n\tc-15.649,3.189-28.007,15.547-31.196,31.196l-1.607,0 c-3.19-15.649-15.547-28.007-31.196-31.196L 224.001,224 l 64,0 L 288.001,448.804 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"eyedropper, color, pick, sample\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 490.927,21.072 C 561.337,91.482 435.214,134.438 405.506,164.141 C 400.001,169.649 394.697,174.949 389.718,179.932 L 420.037,210.249 C 426.232,216.445 426.232,226.583 420.037,232.778 L 389.762,263.055 C 383.567,269.248 373.428,269.248 367.234,263.055 L 337.070,232.89 L 148.485,421.473 C 116.196,453.766 54.276,481.961 24.237,512 C 15.225,502.988 12.12,499.882 12.12,499.882 C 12.12,499.882 9.012,496.776 0,487.763 C 30.039,457.722 58.235,395.805 90.527,363.511 L 279.115,174.927 L 248.953,144.763 C 242.756,138.568 242.756,128.431 248.953,122.236 L 279.226,91.959 C 285.424,85.762 295.562,85.762 301.756,91.959 L 332.074,122.277 C 337.054,117.295 342.355,111.997 347.862,106.488 C 377.566,76.786 420.519-49.336 490.927,21.072 Z M 133.82,406.807 L 325.621,214.999 L 296.997,186.374 L 105.194,378.181 C 90.361,393.013 75.489,416.335 61.103,438.896 L 61.037,438.999 C 53.163,451.344 45.563,463.261 37.845,474.154 C 48.772,466.41 60.723,458.789 73.102,450.896 C 95.66,436.512 118.986,421.639 133.82,406.807 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"palette, color, paint, art\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64C 114.615,64,0,164.288,0,288c0,82.947, 51.529,155.359, 128.101,194.078c 43.186,21.34, 80.116,5.816, 54.146-30.87\n\tC 168.359,437.333, 160,419.48, 160,400c0-44.183, 42.98-80, 96-80s 96,35.817, 96,80c0,19.48-8.359,37.332-22.246,51.207\n\tc-25.97,36.685, 10.955,52.209, 54.139,30.874C 460.469,443.363, 512,370.949, 512,288C 512,164.288, 397.385,64, 256,64z M 64,320\n\tc-17.673,0-32-14.326-32-32s 14.327-32, 32-32s 32,14.326, 32,32S 81.673,320, 64,320z M 128,219.713\n\tc-22.958,13.255-48.732,11.593-57.569-3.713c-8.836-15.306, 2.611-38.458, 25.569-51.713s 48.732-11.593, 57.569,3.713\n\tC 162.406,183.306, 150.958,206.458, 128,219.713z M 256,192c-35.346,0-64-21.49-64-48s 28.654-48, 64-48c 35.347,0, 64,21.49, 64,48\n\tS 291.347,192, 256,192z M 384,219.713c-22.958-13.255-34.406-36.407-25.569-51.713s 34.611-16.968, 57.569-3.713\n\ts 34.406,36.407, 25.569,51.713S 406.958,232.968, 384,219.713z M 448,320c-17.673,0-32-14.326-32-32s 14.327-32, 32-32s 32,14.326, 32,32\n\tS 465.673,320, 448,320z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"palette, color, paint, art\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 257.54,64C 92.994,64,0,173.352,0,253.347c0,121.887, 109.354,190.477, 200.308,212.956\n\tC 291.27,488.791, 325.48,447.538, 324.022,400c-1.771-57.75, 27.073-58.496, 47.52-56.459C 391.973,345.592, 512,373.305, 512,281.326\n\tC 512,167.5, 422.072,64, 257.54,64z M 224,96c 17.673,0, 32,14.327, 32,32s-14.327,32-32,32s-32-14.327-32-32S 206.327,96, 224,96z\n\t M 80,288.246c-8.973,0-16.246-7.273-16.246-16.246S 71.027,255.754, 80,255.754S 96.246,263.027, 96.246,272S 88.973,288.246, 80,288.246z\n\t M 128,224c-17.673,0-32-14.327-32-32s 14.327-32, 32-32s 32,14.327, 32,32S 145.673,224, 128,224z M 256,352c-35.346,0-64-21.49-64-48\n\ts 28.654-48, 64-48c 35.347,0, 64,21.49, 64,48S 291.347,352, 256,352z M 368,224c-26.51,0-48-21.49-48-48s 21.49-48, 48-48s 48,21.49, 48,48\n\tS 394.51,224, 368,224z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"brush, art, paint\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 160.061,320C 96.036,320, 117.88,433.14,0,458.637c 32.011,21.324, 125.898,39.027, 192.072-10.668\n\t\t\tC 249.298,404.994, 224.085,320, 160.061,320zM 505.965,38.035c-32.009-32.007-110.472,72.027-171.617,107.603c-60.98,37.464-144.033,112.027-96.021,160.037\n\t\t\tc 48.010,48.013, 122.571-35.040, 160.036-96.022C 433.938,148.505, 537.973,70.042, 505.965,38.035z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blog, pencil, feed, publish, broadcast, write\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96l0,48 c 47.011,0, 91.209,18.307, 124.451,51.549S 368,272.988, 368,320l 48,0 C 416,196.289, 315.712,96, 192,96zM 192,0l0,48 c 36.741,0, 72.357,7.185, 105.859,21.355c 32.384,13.697, 61.478,33.316, 86.474,58.312\n\t\t\tc 24.995,24.996, 44.614,54.090, 58.312,86.474C 456.815,247.643, 464,283.26, 464,320l 48,0 C 512,143.27, 368.73,0, 192,0zM 178.745,242.745L 44.18,377.311l 90.51,90.51l 134.565-134.565c 24.993-24.993, 24.994-65.516,0-90.51\n\t\t\tC 244.261,217.751, 203.738,217.752, 178.745,242.745zM0,512L 106.806,493.675L 18.325,405.194 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"blog, pen, feed, publish, broadcast, write\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,96 C 315.712,96 416,196.289 416,320 L 368,320 C 368,272.988 349.693,228.791 316.451,195.549 C 283.209,162.307 239.011,144 192,144 L 192,96 ZM 192,0 C 368.73,0 512,143.27 512,320 L 464,320 C 464,283.26 456.815,247.643 442.645,214.141 C 428.947,181.757 409.328,152.663 384.333,127.667 C 359.337,102.671 330.243,83.052 297.859,69.355 C 264.357,55.185 228.741,48 192,48 L 192,0 ZM 287.195,224.804 C 309.074,246.682 319.993,275.357 319.98,304.029 C 288,352.027 288,416 288,416 C 160,416 64,512 64,512 L 57,505 L 45.435,493.435 L 187.226,351.644 C 188.784,351.877 190.377,352 192,352 C 209.673,352 224,337.673 224,320 C 224,302.327 209.673,288 192,288 C 174.327,288 160,302.327 160,320 C 160,321.623 160.123,323.217 160.356,324.774 L 18.565,466.565 L 0,448 C 0,448 96,352 96,224 C 96,224 159.999,224 207.999,192 C 236.663,192 265.326,202.935 287.195,224.804 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"marker, highlight, pencil, write, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 228,492L 512,492L 512,484L 236,484 \tzM 244,476L 512,476L 512,468L 252,468 \tzM 212,508L 512,508L 512,500L 220,500 \tzM 292,428L 512,428L 512,420L 300,420 \tzM 276,444L 512,444L 512,436L 284,436 \tzM 260,460L 512,460L 512,452L 268,452 \tzM 469.486,42.514C 443.517,16.544, 413.958,0, 385.073,0c-19.764,0-39.211,7.745-56.979,25.514L 80.223,271.775L0,480l 32,32\n\tl 208.223-80.225l 18.041-18.157l 228.224-229.713C 530.225,140.167, 513.225,86.252, 469.486,42.514z M 240.149,386.447L 125.551,271.85\n\tL 327.355,71.356l 113.287,113.288L 240.149,386.447z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building, dualtone\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,16L0,272l 48,48l 48-48l0,240 l 128,0 l0-32 l0-64 l 64,0 l0,96 l 128,0 L 416,272 l 48,48l 48-48L 256,16z M 132,480l-4,0 L 128,240 l 4-4L 132,480 z M 148,480l-8,0 L 140,228 \n\tl 8-8L 148,480 z M 164,480l-8,0 L 156,212 l 8-8L 164,480 z M 180,480l-8,0 L 172,196 l 8-8L 180,480 z M 196,384l-4,0 l0,32 l0,64 l-4,0 L 188,180 l 8-8L 196,384 z M 212,384l-8,0 L 204,164 l 8-8L 212,384 z M 228,384\n\tl-8,0 L 220,148 l 8-8L 228,384 z M 244,384l-8,0 L 236,132 l 8-8L 244,384 z M 260,384l-8,0 L 252,116 l 4-4l 4,4L 260,384 z M 276,384l-8,0 L 268,124 l 8,8L 276,384 z M 292,384l-8,0 L 284,140 l 8,8L 292,384 z\n\t M 308,384l-8,0 L 300,156 l 8,8L 308,384 z M 324,480l-4,0 l0-64 l0-32 l-4,0 L 316,172 l 8,8L 324,480 z M 340,480l-8,0 L 332,188 l 8,8L 340,480 z M 356,480l-8,0 L 348,204 l 8,8L 356,480 z M 372,480l-8,0 L 364,220 \n\tl 8,8L 372,480 z M 384,480l-4,0 L 380,236 l 4,4L 384,480 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"marker, highlight, pencil, write\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 469.486,42.514C 443.517,16.544, 413.958,0, 385.073,0c-19.763,0-39.211,7.745-56.979,25.514L 80.223,271.776L0,480l 32,32\n\tl 208.223-80.225l 18.040-18.157l 228.224-229.713C 530.225,140.167, 513.225,86.252, 469.486,42.514z M 240.149,386.447L 125.551,271.85\n\tL 327.355,71.356l 113.288,113.288L 240.149,386.447z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 258.027,130.026c-21.205,20.571-56.098,55.135-63.634,62.679C 135.58,251.512-2.507,415.325, 0.036,511.965\n\t\t\tc 96.64,2.551, 260.449-135.547, 319.263-194.354c 7.544-7.545, 42.108-42.441, 62.673-63.64L 258.027,130.026zM 472.339,102.090l-9.023-9.007L 512,52.861L 459.14,0l-40.222,48.686l-9.018-9.039\n\t\t\tc-27.895-1.631-72.881,25.375-117.215,61.040l 118.63,118.63c 13.414-16.688, 25.524-33.433, 35.421-49.356\n\t\t\tc 9.648,36.481-5.979,102.913-117.835,190.941l 14.233,14.232C 448,299.708, 498.531,211.017, 466.263,131.77\n\t\t\tC 470.452,120.691, 472.834,110.538, 472.339,102.090z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 325.926,78.222L 352,0L 128,0 l 26.074,78.222L 80,256l 128,256l 64,0 l 128-256L 325.926,78.222z M 307.603,32l-10.667,32L 183.064,64 \n\tl-10.667-32L 307.603,32 z M 256,472.445L 256,285.258 c 18.641-6.591, 32-24.359, 32-45.258c0-26.51-21.49-48-48-48s-48,21.49-48,48\n\tc0,20.898, 13.359,38.667, 32,45.258l0,187.188 L 115.171,254.789L 181.333,96l 117.333,0 l 66.161,158.789L 256,472.445z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,64L 336,0L 144,0L 160,64 \t\tzM 320,96L 160,96 L 80,256l 128,256l 16,0 L 224,288 c-17.6,0-32-14.4-32-32l0-32 c0-17.6, 14.4-32, 32-32l 32,0 c 17.6,0, 32,14.4, 32,32l0,32 \n\t\t\tc0,17.6-14.4,32-32,32l0,224 l 16,0 l 128-256L 320,96z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 480.002,144.003L 368.003,32.004L 400.003,0.004L 512.002,112.003zM 448,176 L 432,352 C 288,352 80,512 80,512 L 53.435,485.435 L 190.267,348.603 C 195.754,350.787 201.734,352 208,352 C 234.51,352 256,330.51 256,304 C 256,277.49 234.51,256 208,256 C 181.49,256 160,277.49 160,304 C 160,310.266 161.213,316.245 163.397,321.733 L 26.565,458.565 L 0,432 C 0,432 160,224 160,80 L 336,64 L 448,176 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pen, blog, write, edit, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 464.001,192.003L 320.003,48.004L 368.002,0.004L 512.001,144.003zM 304,96 L 416,208 L 352,384 L 64,512 L 43.313,491.313 L 215.716,318.911 C 218.359,319.618 221.134,320 224,320 C 241.673,320 256,305.673 256,288 C 256,270.327 241.673,256 224,256 C 206.327,256 192,270.327 192,288 C 192,290.865 192.382,293.641 193.089,296.285 L 20.687,468.687 L 0,448 L 128,160 L 304,96 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quill, feather, write, blog, edit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,293.333c0,0, 101.972-61.18, 159.383-37.013c 11.901-18.134, 23.624-37.668, 35.101-57.611\n\tC 330.321,184.949, 256,197.333, 256,197.333s 95.106-57.061, 153.333-39.2c 11.675-21.054, 23.027-41.821, 33.978-61.152\n\tC 396.923,93.847, 352,101.333, 352,101.333s 59.574-35.744, 113.289-41.799C 482.188,32.104, 497.874,10.594, 512,0C 231.5,0, 64,320,0,512\n\tl 32,0 l 96-160c0,0, 32,32, 128,0c 22.737-7.579, 45.474-28.626, 67.786-56.967C 267.478,280.756, 192,293.333, 192,293.333z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quill, feather, write, blog, edit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512l 32,0 l 96-160c0,0,0,0, 96,0S 380.5,105.5, 512,0C 231.5,0, 64,320,0,512z M 196,288l-36,0 c0,0, 88.5-160, 224-224\n\tC 384,64, 262.5,171.5, 196,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"quill, feather, write, blog, edit\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512C 64,320, 231.5,0, 512,0C 380.5,105.5, 320,352, 224,352s-96,0-96,0L 32,512L0,512 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 320,64L 64,320L0,512L 192,448L 448,192 \tzM 512,90.51C 512,40.522, 471.478,0, 421.49,0c-27.789,0-52.648,12.528-69.251,32.239L 352,32l 127.761,127.761\n\t\tC 499.473,143.158, 512,118.299, 512,90.51zM 224,480L 512,480L 512,512L 224,512z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 424,168 L 208,384 L 128,384 L 128,304 L 344,88 ZM 451,141 L 371,61 L 399.029,32.971 C 408.363,23.637 423.636,23.637 432.97,32.971 L 479.029,79.030 C 488.363,88.364 488.363,103.637 479.029,112.971 L 451,141 ZM 384,281.791L 384,448 L 64,448 L 64,128 l 176,0 l 64-64L 48,64 C 21.6,64,0,85.6,0,112l0,352 c0,26.4, 21.6,48, 48,48l 352,0 c 26.4,0, 48-21.6, 48-48L 448,224.319 \n\tL 384,281.791z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 224,352 L 224,416 L 190.4,430.399 L 81.6,321.6 L 96,288 L 160,288 L 160,352 ZM 67.2,355.2 L 156.8,444.8 L 0,512 ZM 512,144 L 272,384 L 256,384 L 256,352 L 464,144 L 440,120 L 240,320 L 192,320 L 192,272 L 392,72 L 368,48 L 160,256 L 128,256 L 128,240 L 368,0 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 192,320l 64-32L 480,64l-32-32L 224,256L 192,320z M 144.65,433.549c-15.816-33.364-32.833-50.381-66.198-66.197L 128,230.956\n\tL 192,192L 384,0l-96,0 L 96,192L0,512l 320-96l 192-192l0-96 L 320,320l-38.956,64\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 397.042,114.956C 356.341,74.43, 338.388,26.228, 356.943,7.293c 18.556-18.935, 66.592-1.432, 107.293,39.095\n\tc 0.23,0.229, 0.459,0.458, 0.688,0.688c 40.701,40.526, 58.654,88.729, 40.099,107.663c-18.555,18.935-66.592,1.431-107.293-39.095\n\tC 397.5,115.415, 397.271,115.186, 397.042,114.956z M 195.896,406.974l 225.637-225.637c 13.607,7.621, 27.189,13.070, 40.16,16.048\n\tL 224,435.078L0,512l 76.922-224l 237.69-237.691c 1.169,5.179, 2.738,10.47, 4.718,15.841c 2.948,8.001, 6.768,16.154, 11.348,24.302\n\tl-225.65,225.653l 26.869,26.869l 220.66-220.661c 5.448,6.685, 11.333,13.223, 17.62,19.511c 6.339,6.339, 12.858,12.233, 19.485,17.645\n\tL 169.027,380.105L 195.896,406.974z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"pencil, write, edit, blog, note\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 432,0 C 476.182,0 512,35.817 512,80 C 512,98.010 506.045,114.629 496,128 L 464,160 L 352,48 L 384,16 C 397.371,5.955 413.989,0 432,0 ZM 32,368L0,512l 144-32l 296-296L 328,72L 32,368z M 357.789,181.789l-224,224l-27.578-27.578l 224-224L 357.789,181.789z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"newspaper, paper\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,128L 448,64 L0,64 l0,352 c0,17.673, 14.327,32, 32,32l 432,0 c 26.511,0, 48-21.489, 48-48L 512,128 L 448,128 z M 416,416L 32,416 L 32,96 l 384,0 L 416,416 zM 64,160L 384,160L 384,192L 64,192zM 256,224L 384,224L 384,256L 256,256zM 256,288L 384,288L 384,320L 256,320zM 256,352L 352,352L 352,384L 256,384zM 64,224L 224,224L 224,384L 64,384z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"office, home, house, work, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M0,512l 256,0 L 256,0 L0,0 L0,512 z M 160,64l 64,0 l0,64 l-64,0 L 160,64 z M 160,192l 64,0 l0,64 l-64,0 L 160,192 z M 160,320l 64,0 l0,64 l-64,0 L 160,320 z M 32,64l 64,0 l0,64 L 32,128 L 32,64 z M 32,192\n\t\t\tl 64,0 l0,64 L 32,256 L 32,192 z M 32,320l 64,0 l0,64 L 32,384 L 32,320 zM 288,160L 512,160L 512,192L 288,192zM 288,512L 352,512L 352,384L 448,384L 448,512L 512,512L 512,224L 288,224 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 128,64L0,224L 135,224L 263,64 \tzM0,256L 128,256L 128,480L0,480zM 320,64L 160,256l0,224 l 128,0 l0-96 c0-17.674, 14.327-32, 32-32s 32,14.326, 32,32l0,96 l 128,0 L 480,256 L 320,64z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,192l0,96 l 64-48l0,240 c0,17.6, 14.399,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32L 448,240 l 64,48l0-96 L 256,0z M 416,479.942\n\t\tc-0.018,0.020-0.038,0.041-0.059,0.058L 256,480 L 256,320 l-96,0 l0,160 L 96.058,480 c-0.020-0.017-0.041-0.038-0.058-0.058L 96,216 L 256,96l 160,120L 416,479.942 zM 288,224L 352,224L 352,288L 288,288z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,0L0,192l0,96 l 64-48l0,240 c0,17.6, 14.4,32, 32,32l 320,0 c 17.6,0, 32-14.4, 32-32L 448,240 l 64,48l0-96 L 256,0z M 416,479.942\n\tc-0.017,0.020-0.038,0.041-0.058,0.058L 320,480 L 320,320 L 192,320 l0,160 L 96.058,480 c-0.020-0.017-0.041-0.038-0.058-0.058L 96,216 L 256,96l 160,120L 416,479.942 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L0,288l 48,48l 48-48l 32,192l 96,0 l0-96 l 64,0 l0,96 l 96,0 l 32-192l 48,48l 48-48L 256,32z M 256,237.254\n\t\tc-24.994,0-45.256-20.26-45.256-45.254s 20.262-45.255, 45.256-45.255c 24.992,0, 45.255,20.262, 45.255,45.255\n\t\tC 301.255,216.994, 280.992,237.254, 256,237.254z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L0,288l 48,48l 48-48l 32,192l 128,0 l 128,0 l 32-192l 48,48l 48-48L 256,32z M 256,237.254c-24.994,0-45.256-20.26-45.256-45.254\n\t\ts 20.262-45.255, 45.256-45.255c 24.992,0, 45.255,20.262, 45.255,45.255C 301.255,216.994, 280.992,237.254, 256,237.254z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 448,288 L 448,480 L 64,480 L 64,288 L 128,288 L 128,416 L 384,416 L 384,288 ZM 512,295.223 L 256,96.509 L 0,295.223 L 0,214.204 L 256,15.491 L 512,214.205 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,64L0,288l 64,0 l0,160 l 128,0 l0-96 l 128,0 l0,96 l 128,0 L 448,288 l 64,0 L 256,64z M 240,288l-48,0 l0-48 l 48,0 L 240,288 z M 240,208l-48,0 l0-48 l 48,0 L 240,208 z M 320,288l-48,0 \n\t\tl0-48 l 48,0 L 320,288 z M 320,208l-48,0 l0-48 l 48,0 L 320,208 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 256,32L0,288L 64,288L 256,96L 448,288L 512,288 \t\tzM 96,320L 96,480L 224,480L 224,352L 288,352L 288,480L 416,480L 416,320L 256,160 \t\tz\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,304L 416,208L 416,64L 352,64L 352,144L 256,48L0,304L0,320L 64,320L 64,480L 224,480L 224,384L 288,384L 288,480L 448,480L 448,320L 512,320 z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,295.222 L 256,96.509 L 0,295.223 L 0,214.204 L 256,15.491 L 512,214.205 ZM 448,288 L 448,480 L 320,480 L 320,352 L 192,352 L 192,480 L 64,480 L 64,288 L 256,144 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-tags=\"home, house, building\" style=\"margin-left: 9px; margin-top: 9px;\"><path d=\"M 512,295.223 L 256,96.509 L 0,295.223 L 0,214.204 L 256,15.491 L 512,214.205 ZM 448,288 L 448,480 L 64,480 L 64,288 L 256,144 Z\" transform=\"scale(0.02734375 0.02734375)\"></path></svg>"]},{"metadata":{"id":"whhglyphs","name":"WebHostingHub Glyphs","link":"http://www.webhostinghub.com/glyphs/","grid":"16","author":"WebHostingHub","authorLink":"http://www.webhostinghub.com","license":"CC BY 3.0","licenseLink":"http://creativecommons.org/licenses/by/3.0/","defaultunicode":true},"svgs":["<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"©\" data-tags=\"copyright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 367,216q-3,10.5 -11.5,17.25t-19.5,6.75q-4,0 -8-1.5t-6.5-3t-5.75-5t-4.5-5t-3.5-5.25t-2.75-4.25q-19.5-24 -49-24q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75q 29.5,0 49-24q 1-1 4.75-6.75t 6.25-8.5t 8-5.75t 12-3q 11,0 19.5,6.75\nt 11.5,17.25q 0.5,2 1,5.5t-1.75,11.75t-9.25,14.75q-18.5,25 -45,40.5t-56,15.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 30.5,0 57.25,15.75t 45.25,41.75q 6,5.5 8,13.25t 1,12.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"¥\" data-tags=\"yen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439.5,52.5l-151.5,151.5l0,52 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 l0,32 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 l0,64 q0,13.5 -9.25,22.75t-22.5,9.25t-22.5-9.25t-9.25-22.75l0-64 l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 \nl0-32 l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 l0-52 l-151.5-151.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 139.5,139.5l 140-139.5q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"z\" data-tags=\"z\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,64l-274,384l 258,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-12 16-32l 274-384l-258,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75q0,13 -16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"y\" data-tags=\"y\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33.5l0,350.5 q0,53 -37.5,90.5t-90.5,37.5l-160,0 l0,0 q-13.5,0 -22.75-9.5t-9.25-22.5t 9.25-22.5t 22.75-9.5l0,0 l 160,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-81.5 q-30,17.5 -64,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,160 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,1 l0,0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"x\" data-tags=\"x\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 295,256l 143,200.5q 10.5,14 10.5,23.5q0,13.5 -9.5,22.75t-22.5,9.25q-3.5,0 -6.75-0.5t-5.75-1.75t-4.25-2.25t-4-3t-2.75-2.75t-2.5-3.25l-2-2.5l-132.5-185l-132,185l-2,2.5t-2.5,3.25t-2.75,2.75t-4,3t-4.5,2.25t-5.75,1.75t-6.5,0.5q-13,0 -22.5-9.25t-9.5-22.75q0-9.5 10.5-23.5l 143-200.5l-145.5-203.5\nq-0.5-0.5 -2-2.75t-2.25-3.25t-1.75-3.25t-1.25-5t-0.25-6.25q0-13 9.25-22.5t 22.75-9.5q 19,0 28,17l 131.5,184.5l 132-184.5q 9-17 28-17q 13.5,0 22.75,9.5t 9.25,22.5q0,3.5 -0.25,6.25t-1.25,5t-1.75,3.25t-2.25,3.25t-2,2.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"w\" data-tags=\"w\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,36l0,348 q0,53 -37.5,90.5t-90.5,37.5l-32,0 l-64,0 l-32,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,0.5 -0.25,1.5t-0.25,1.5l0,349 q0,26.5 18.75,45.25t 45.25,18.75l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-400 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,400 \nq0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,1 -0.5,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"v\" data-tags=\"v\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,312.5q0,19.5 -8.5,27.5l-163,163q-9,9 -20.5,9t-20.5-9l-163-163q-8.5-8.5 -8.5-25l0-283 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0 l0,276.5 l 128,128l 128-128l0-276.5 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,280.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"u\" data-tags=\"u\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33l0,351 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0.5l0,351.5 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q-0.5,0.5 -0.5,1z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"t\" data-tags=\"t\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-128,0 l0,416 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-416 l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"s\" data-tags=\"s\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.75-9.25t-9.5-22.75q0-26.5 -18.75-45.25t-45.25-18.75l-127.5,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5\nq0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-53,0 -90.25-37.5t-37.25-90.5l0-32 q0-53 37.5-90.5t 90.5-37.5l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"r\" data-tags=\"r\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 404.5,288q 20.5,18 32,43t 11.5,53l0,96 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-96 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,28 -11.5,53\nt-32,43zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"q\" data-tags=\"q\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439,459.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-9.5-9.5q-30.5,18.5 -66,18.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,35.5 -18.5,66zM 384,384l0-256 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25\nl0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 8,0 17.5-3l-73-73q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 73,73q 3-9.5 3-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"p\" data-tags=\"p\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,320l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"o\" data-tags=\"o\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"n\" data-tags=\"n\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-15.5,0 -28-16l-260-364.5l0,348.5 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-447.5 q0-13.5 9.25-23t 22.75-9.5q 17.5,0 27.5,16l 260.5,365l0-349 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"m\" data-tags=\"m\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-348.5 l-100,140.5q-11.5,16 -28,16q-16,0 -28-16l-100-140.5l0,348.5 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5q 8.5,0 14.5,3t 7.75,5.25t 5.25,7.75l 132.5,186l 132.5-186q 4-5.5 5.75-7.5t 7.75-5.25t 14-3.25\nq 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"l\" data-tags=\"l\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,400 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"k\" data-tags=\"k\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,160q0,28 -11.5,53t-32,43q 20.5,18 32,43t 11.5,53l0,126.5 l0,0.75 l0,0.75 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75\nl0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-128 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,1 l0,0.5 l0,126.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"j\" data-tags=\"j\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"320\" height=\"512\" viewBox=\"0 0 320 512\" data-du=\"i\" data-tags=\"i\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 224,64l-31.5,0 l0,384 l 31.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32.5,0 l0-384 l-32.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"h\" data-tags=\"h\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-176 q0-6.5 -4.75-11.25t-11.25-4.75l-224.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 224.5,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-176 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.25t 9.5,22.75l0,448 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"g\" data-tags=\"g\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,320q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25\nt-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 l-96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"f\" data-tags=\"f\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.5,64l-272.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13.5,0 23,9.5t 9.5,22.75t-9.5,22.5t-23,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320.5,0 q 13,0 22.5,9.5\nt 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"e\" data-tags=\"e\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-272,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"d\" data-tags=\"d\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25\nl0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"c\" data-tags=\"c\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 27,0 45.75-18.75t 18.75-45.25q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5q0,53 -37.5,90.5t-91,37.5l-128,0 q-53,0 -90.5-37.5\nt-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"b\" data-tags=\"b\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,352q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"a\" data-tags=\"a\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-352 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,352 q0,13.5 -9.5,22.75t-22.75,9.25zM 384,128\nq0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,112 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"Z\" data-tags=\"Z\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,64l-274,384l 258,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-12 16-32l 274-384l-258,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75q0,13 -16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"Y\" data-tags=\"Y\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33.5l0,350.5 q0,53 -37.5,90.5t-90.5,37.5l-160,0 l0,0 q-13.5,0 -22.75-9.5t-9.25-22.5t 9.25-22.5t 22.75-9.5l0,0 l 160,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-81.5 q-30,17.5 -64,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,160 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,1 l0,0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"X\" data-tags=\"X\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 295,256l 143,200.5q 10.5,14 10.5,23.5q0,13.5 -9.5,22.75t-22.5,9.25q-3.5,0 -6.75-0.5t-5.75-1.75t-4.25-2.25t-4-3t-2.75-2.75t-2.5-3.25l-2-2.5l-132.5-185l-132,185l-2,2.5t-2.5,3.25t-2.75,2.75t-4,3t-4.5,2.25t-5.75,1.75t-6.5,0.5q-13,0 -22.5-9.25t-9.5-22.75q0-9.5 10.5-23.5l 143-200.5l-145.5-203.5\nq-0.5-0.5 -2-2.75t-2.25-3.25t-1.75-3.25t-1.25-5t-0.25-6.25q0-13 9.25-22.5t 22.75-9.5q 19,0 28,17l 131.5,184.5l 132-184.5q 9-17 28-17q 13.5,0 22.75,9.5t 9.25,22.5q0,3.5 -0.25,6.25t-1.25,5t-1.75,3.25t-2.25,3.25t-2,2.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"W\" data-tags=\"W\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,36l0,348 q0,53 -37.5,90.5t-90.5,37.5l-32,0 l-64,0 l-32,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,0.5 -0.25,1.5t-0.25,1.5l0,349 q0,26.5 18.75,45.25t 45.25,18.75l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-400 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,400 \nq0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q0,1 -0.5,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"V\" data-tags=\"V\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,312.5q0,19.5 -8.5,27.5l-163,163q-9,9 -20.5,9t-20.5-9l-163-163q-8.5-8.5 -8.5-25l0-283 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0 l0,276.5 l 128,128l 128-128l0-276.5 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,280.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"U\" data-tags=\"U\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,33l0,351 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5l-0.5,0.5l0,351.5 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.75,9.5t 9.5,22.5q-0.5,0.5 -0.5,1z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"T\" data-tags=\"T\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-128,0 l0,416 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-416 l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"S\" data-tags=\"S\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.75-9.25t-9.5-22.75q0-26.5 -18.75-45.25t-45.25-18.75l-127.5,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5\nq0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-53,0 -90.25-37.5t-37.25-90.5l0-32 q0-53 37.5-90.5t 90.5-37.5l 127.5,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"R\" data-tags=\"R\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 404.5,288q 20.5,18 32,43t 11.5,53l0,96 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-96 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,28 -11.5,53\nt-32,43zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"Q\" data-tags=\"Q\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439,459.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-9.5-9.5q-30.5,18.5 -66,18.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,35.5 -18.5,66zM 384,384l0-256 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25\nl0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 8,0 17.5-3l-73-73q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 73,73q 3-9.5 3-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"P\" data-tags=\"P\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,320l-192,0 l0,160 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l0,0 l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"O\" data-tags=\"O\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"N\" data-tags=\"N\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-15.5,0 -28-16l-260-364.5l0,348.5 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-447.5 q0-13.5 9.25-23t 22.75-9.5q 17.5,0 27.5,16l 260.5,365l0-349 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"M\" data-tags=\"M\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-348.5 l-100,140.5q-11.5,16 -28,16q-16,0 -28-16l-100-140.5l0,348.5 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5q 8.5,0 14.5,3t 7.75,5.25t 5.25,7.75l 132.5,186l 132.5-186q 4-5.5 5.75-7.5t 7.75-5.25t 14-3.25\nq 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"L\" data-tags=\"L\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,400 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"K\" data-tags=\"K\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,160q0,28 -11.5,53t-32,43q 20.5,18 32,43t 11.5,53l0,126.5 l0,0.75 l0,0.75 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-26.5 -18.75-45.25t-45.25-18.75l-192,0 l0,192 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75\nl0,192 l 192,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-128 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,1 l0,0.5 l0,126.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"J\" data-tags=\"J\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-352 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"320\" height=\"512\" viewBox=\"0 0 320 512\" data-du=\"I\" data-tags=\"I\" style=\"margin-left: 11px; margin-top: 8px;\"><path d=\"M 224,64l-31.5,0 l0,384 l 31.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32.5,0 l0-384 l-32.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"H\" data-tags=\"H\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-176 q0-6.5 -4.75-11.25t-11.25-4.75l-224.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 224.5,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-176 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.25t 9.5,22.75l0,448 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"G\" data-tags=\"G\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,320q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25\nt-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 l-96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"F\" data-tags=\"F\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.5,64l-272.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13.5,0 23,9.5t 9.5,22.75t-9.5,22.5t-23,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320.5,0 q 13,0 22.5,9.5\nt 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"E\" data-tags=\"E\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-272,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 272,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"D\" data-tags=\"D\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25\nl0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"C\" data-tags=\"C\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416.25,160q-13.25,0 -22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 27,0 45.75-18.75t 18.75-45.25q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5q0,53 -37.5,90.5t-91,37.5l-128,0 q-53,0 -90.5-37.5\nt-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"B\" data-tags=\"B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,352q0-26.5 -18.75-45.25t-45.25-18.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"A\" data-tags=\"A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-352 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,352 q0,13.5 -9.5,22.75t-22.75,9.25zM 384,128\nq0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,112 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"@\" data-tags=\"at\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352q-14.5,32 -48,32l-80,0 q-12.5,0 -21.5-8.25t-10-20.25q-35.5,28.5 -80.5,28.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 49.5,0 86.5,33.5q 5-1.5 9.5-1.5q 13.5,0 22.75,9.5t 9.25,22.5l0,128 l 52.5,0 q 11.5-32 11.5-64q0-52 -25.75-96.25t-70-70t-96.25-25.75t-96.25,25.75t-70,70t-25.75,96.25\nt 25.75,96.25t 70,70t 96.25,25.75l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l-96,0 q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5q0,31 -3.25,52.5t-12.75,43.5z\nM 256,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"9\" data-tags=\"_9\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.5-18.75t 19-45.25l0-81.5 q-30,17.5 -64.5,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-64 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-91,37.5\nzM 384.5,128q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,64 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.5-18.75t 19-45.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"8\" data-tags=\"_8\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-32 q0-28 11.5-53t 32-43q-20.5-18 -32-43t-11.5-53l0-32 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53zM 384,128q0-26.5 -18.75-45.25t-45.25-18.75\nl-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,352q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"7\" data-tags=\"_7\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,208l-144,272q-0.5,0.5 -2,3.5t-2.5,4.75l-3,5.25t-3.5,5.5t-4.25,4.75t-5,4.25t-5.5,2.75t-6.25,1.25q-13.5,0 -22.75-7.5t-9.25-24.5q0-10 16-32q 69.5-131 130.5-255.5q 6-12 9.25-28.25t 3.75-26.25l 0.5-10q0-26.5 -18.75-45.25t-45.25-18.75l-64,0 l-32,0 l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 128,0 l 32,0 l 64,0 q 53,0 90.5,37.5t 37.5,90.5q0,20 -5.5,45t-10.5,35z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"6\" data-tags=\"_6\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,192l 128,0 q 53.5,0 91,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-91,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25l0,81.5 q 30-17.5 64-17.5zM 128,384q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 27,0 45.75-18.75t 18.75-45.25l0-64 q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"5\" data-tags=\"_5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128,176q0,6.5 4.75,11.25t 11.25,4.75l 176,0 q 53,0 90.5,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-64 q0-26.5 -18.75-45.25t-45.25-18.75\nl-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.5t-22.5,9.25l-272,0 q-6.5,0 -11.25,4.75t-4.75,11.75l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"4\" data-tags=\"_4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-177.5 q-30,17.5 -64,17.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,160 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-160 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"3\" data-tags=\"_3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,32 q0,28 -11.75,53t-31.75,43q 20,18 31.75,43t 11.75,53z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"2\" data-tags=\"_2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,320l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 272.5,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320.5,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 26.5,0 45.5-18.75t 19-45.25l0-64 q0-26.5 -18.75-45.25t-45.75-18.75l-128,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53.5,0 91,37.5t 37.5,90.5l0,64 q0,53 -37.5,90.5t-91,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"384\" height=\"512\" viewBox=\"0 0 384 512\" data-du=\"1\" data-tags=\"_1\" style=\"margin-left: 10px; margin-top: 8px;\"><path d=\"M 287.5,512l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-320 q0-26.5 -18.5-45t-44.5-19l-0.75,0 l-0.25,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l0,0.5 l0-0.5 q 53,0 90.5,37.5t 37.5,90.5l0,320 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"0\" data-tags=\"_0\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,512l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 192,448l 128,0 q 15.5,0 30.5-8l-222.5-306.5l0,250.5 q0,26.5 18.75,45.25t 45.25,18.75zM 320,64l-128,0 q-16,0 -30.5,8l 222.5,306.5l0-250.5 q0-26.5 -18.75-45.25t-45.25-18.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"+\" data-tags=\"plus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-160,0 l0,160 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"*\" data-tags=\"asterisk\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 494,274.5l-124.5,18l 92.5,95q 7.5,10.5 5.5,23.5t-12,20.5l-98,74.5q-10,7.5 -22.25,5.5t-19.75-12.5l-55.5-116.5l-55.5,116.5q-7.5,10.5 -19.75,12.5t-22.25-5.5l-98-74.5q-10-7.5 -12-20.5t 5.5-23.5l 92.5-95l-124.5-18q-12.5-4 -18.5-15.5t-2-23.5l 39.5-118q 4-12.5 15.75-18.25t 24.25-1.75l 98.5,49.5l-19.5-115\nq0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l-19.5,115l 98.5-49.5q 12.5-4 24.25,1.75t 15.75,18.25l 39.5,118q 4,12 -2,23.5t-18.5,15.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"%\" data-tags=\"percent\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-40,0 -68-28.25t-28-68t 28-67.75t 68-28t 68,28t 28,67.75t-28,68t-68,28.25zM 416.25,384q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 198,480q-7,13.5 -21.75,22.75t-28.25,9.25l-64.5,0 q-13.5,0 -17.75-9.5t 2.75-22.5l 245.5-448\nq 7-13.5 21.75-22.75t 28.25-9.25l 64.5,0 q 13.5,0 17.75,9.25t-2.75,22.75zM 96,192q-40,0 -68-28.25t-28-68t 28-67.75t 68-28t 68,28t 28,67.75t-28,68t-68,28.25zM 95.75,64q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"$\" data-tags=\"dollar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,192q-13.25,0 -22.5-9.25t-9.25-22.75q0-17 -18.75-32t-48.25-23.5t-61-8.5t-61,8.5t-48.25,23.5t-18.75,32t 18.75,32t 48.25,23.5t 61,8.5q 52,0 96.25,17.25t 70,46.5t 25.75,64.25q0,47 -45.75,82.75t-114.25,43.25l0,2 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-2 \nq-68.5-7.5 -114.25-43.25t-45.75-82.75q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5q0,17 18.75,32t 48.25,23.5t 61,8.5t 61-8.5t 48.25-23.5t 18.75-32t-18.75-32t-48.25-23.5t-61-8.5q-52,0 -96.25-17t-70-46.5t-25.75-64.5q0-47 45.75-82.75t 114.25-43.25l0-2 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,2 \nq 68.5,7.5 114.25,43.25t 45.75,82.75q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"synckeeplocal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-128,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,224q-13.5,0 -22.75-9.25t-9.25-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 447.75,96\nq-13.25,0 -22.5-9.25t-9.25-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.75,9.25zM 320.25,96q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 128,256q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 128,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 64,288q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25t-22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 64,416q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5\nt-22.75,9.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5zM 192,416q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"synckeeponserver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-128,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,336q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-96 zM 448,224q-13.5,0 -22.75-9.25t-9.25-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 448,96q-13.5,0 -22.75-9.25t-9.25-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 320,96q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75\nt 22.75-9.25t 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 128,256q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 64.25,288q 13.25,0 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25zM 64.25,416\nq 13.25,0 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5zM 192.25,416q 13.25,0 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25t-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"root\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 483.5,64l-169.5,0 l-151.5,424.5q-3.5,12.5 -15,19.25t-24.5,3.25q-9-2.5 -15-9t-7.5-15l-96-255.5q-3.5-12.5 3.25-23.75t 19.5-14.5t 24.25,3.25t 14.5,19l 61,183l 133-372.5q 2.5-11 11.25-18.5t 20.25-7.5l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sum\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,64l-258.5,0 l 126,176.5q 9,15.5 0.5,31q-1,1.5 -32.5,45.75t-62.5,87.5l-31,43.25l 258,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-9 10-23l 143-200.5q-144.5-202.5 -149-209l0,0 q-4-7.5 -4-15.5q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13.5,0 22.75,9.25\nt 9.25,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cmd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,224l-48,0 l0,64 l 48,0 q 46.5,0 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25l0-48 l-64,0 l0,48 q0,46.5 -32.75,79.25t-79.25,32.75t-79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75l 48,0 l0-64 l-48,0 q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25\nt 79.25-32.75t 79.25,32.75t 32.75,79.25l0,48 l 64,0 l0-48 q0-46.5 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 352,400q0,20 14,34t 34,14t 34-14t 14-34t-14-34t-34-14l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,112q0-20 -14-34t-34-14t-34,14\nt-14,34t 14,34t 34,14l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 160,368q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34l0-32 zM 288,224l-64,0 l0,64 l 64,0 l0-64 zM 400,64q-20,0 -34,14t-14,34l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 20,0 34-14t 14-34\nt-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"loading2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-43,0 q 11-31.5 11-64l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 464,171.5l-20.5,12q-6.5-31.5 -24-59.5l 13-7.5q 11.5-7 24-3.5t 19.25,15t 3.25,24.25t-15,19.25zM 391,87.5q-22.5-22.5 -52.5-36.5l 2-3q 6.5-11.5 19.25-15t 24.25,3.25t 15,19.25t-3.5,24zM 395.5,432.5q 7,11.5 3.5,24t-15,19.25\nt-24.25,3.25t-19.25-15l-32.5-55.5q 31.5-8.5 58-27zM 255.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-68 q 16,4 32,4q 15,0 32-3l0,67 q0,13.5 -9.5,22.75t-22.75,9.25zM 256,192q-16.5,0 -26-13.5q-45.5,7 -73.75,35.75t-28.25,73.75l-96,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 105.5,0 l-89.5-52.5\nq-11.5-6.5 -15-19.25t 3.25-24.25t 19.25-15t 24,3.5l 88,51l-51-88q-7-11.5 -3.5-24t 15-19.25t 24.25-3.25t 19.25,15l 52.5,89.5l0-105.5 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 48,340.5l 80.5-47q 1,34 19,62.5l-68,39.5q-11.5,7 -24,3.5t-19.25-15t-3.25-24.25\nt 15-19.25zM 155,366q 20.5,27 50.5,39.5l-34,58.5q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.25t 3.5-24zM 424,317l 40,23.5q 11.5,6.5 15,19.25t-3.25,24.25t-19.25,15t-24-3.5l-49-28.5q 25-22 40.5-50z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lightbulb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,255.5q-31.5,33.5 -47.75,60.75t-16.25,51.75l0,0 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0,0 q0-24.5 -16.25-51.75t-47.75-60.75q-32-42.5 -32-95.5q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25q0,53 -32,95.5zM 208,416l 96,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 256,512q-26.5,0 -45.25-9.5t-18.75-22.5l 128,0 q0,13 -18.75,22.5t-45.25,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wizard3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 96,0 l 71-307.5l-71,19.5l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 144-128q 13,0 22.5,9.5t 9.5,22.5l 96,416l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"infographic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 457.5,413l-92.5-92.5q 18.5-30.5 18.5-65.5q0-44.5 -27.25-79t-69.25-45.5l0-130.5 q 63,8 114.25,43.5t 81,91.25t 29.75,120.25q0,88 -54.5,158zM 131,222.5l-131,0 q 11-87 73.25-149.25t 149.25-73.25l0,130.5 q-33.5,9 -58.25,33.75t-33.25,58.25zM 130.5,287q 11,42 45.5,69.25t 79,27.25q 35,0 65.5-18.5\nl 92.5,92.5q-70,54.5 -158,54.5q-64.5,0 -120.25-29.75t-91.25-81t-43.5-114.25l 130.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"split\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,119.5q-9,9 -21.75,9t-21.75-9l-12-12l0,85 q0,27.5 -5,50t-16,40.25t-30,27.75t-44.5,10q-26.5,0 -45.25,18.5t-18.75,45l0,96 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-96 q0-26.5 -18.75-45t-45.25-18.5q-25.5,0 -44.5-10t-30-27.75t-16-40.25t-5-50l0-85 l-12,12\nq-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 60-60q 3-5.5 4.5-6.5q 9-9.5 23-9q 13.5-0.5 22.5,9q 3,2.5 5.5,7l 59,59.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-12-12l0,85 q0,29 11.5,46.5t 36.5,17.5l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 25,0 36.5-17.5\nt 11.5-46.5l0-85 l-12,12q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 60-60q 3-5.5 4.5-6.5q 9-9.5 23-9q 13.5-0.5 22.5,9q 3,2.5 5.5,7l 59,59.5q 9,9 9,21.75t-9,21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"merge\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l0-96 q0-26.5 -18.75-45.25t-45.25-18.75l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75l-64,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,96 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-96 q0-53 37.5-90.5t 90.5-37.5l 32,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-85 l-12,12q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 60.5-60.5q 3-5 4-6.5q 9.5-9 23-8.5q 13.5-0.5 23,8.5q 1,1.5 4,6.5l 60.5,60.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-12-12l0,85 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 q 53,0 90.5,37.5t 37.5,90.5\nl0,96 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"link2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 473.75,473.75q-38.25,38.25 -92.5,38.25t-92.25-38.5l-25.5-25.5l 56.5-32l 12,12q 20,20 48,20t 48-20t 20-48t-20-48l-120-120.5q-20-19.5 -48.25-19.5t-48.25,19.5q-0.5,1 -1.5,2q-15.5,15.5 -18,26.5l-48-48q 2-3.5 5-7.5t 4.75-5.75l 6.5-6.5t 6.25-5.75q 38-38.5 92.25-38.5t 92.25,38.5l 122.5,122.5\nq 38.5,38 38.5,92.25t-38.25,92.5zM 180,84q-20-20 -48-20t-48,20t-20,48t 20,48l 120,120.5q 20,20 48.25,20t 48.25-20q 0.5-1 1.5-2q 15.5-15.5 18-26.5l 48,48q-2,3.5 -5,7.5t-4.75,5.75l-6.5,6.5t-6.25,5.75q-38,38.5 -92.25,38.5t-92.25-38.5l-122.5-122.5q-38.5-38 -38.5-92.25t 38.25-92.5t 92.5-38.25\nt 92.25,38.5l 25.5,25.5l-56.5,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"opennewwindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 116,0 l-139.5,139.5\nq-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 140-140l0,117 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l0-192 zM 416,480.25q0,13.25 -9.25,22.5t-22.75,9.25l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,288 q0,13.5 9.25,22.75\nt 22.75,9.25l 288,0 q 13,0 22.5,9.5t 9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pagesetup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,95.5 l-128,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,255.5 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 48,0 l0,48 \nq0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-48 l 192,0 l0,48 q0,7 4.5,11.5t 11.25,4.5t 11.5-4.5t 4.75-11.5l0-48 l 47.5,0 q 7,0 11.5-4.5t 4.5-11.25t-4.5-11.5t-11.5-4.75l-47.5,0 l0-191 l 95.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 zM 352,383.5l-192,0 l0-255.5 l 128,0 l0,48.5 \nq0,6.5 4.5,11.25t 11.5,4.75l 48,0 l0,191 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"preview\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-40.5 q-42.5-15.5 -69.25-52.5t-26.75-83.5t 26.75-83.5t 69.25-52l0-136 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 l 0.5,0.5l0,287.5 q0,13 -9.5,22.5t-22.5,9.5zM 316,434.5l-75.5-75q 15.5-26.5 15.5-56q0-46 -32.75-79t-79.25-33\nt-79.25,32.75t-32.75,79.25t 32.75,79.25t 79.25,32.75q 29,0 56-15.5l 75,75.5q 4,4 10,4t 10.5-4l 20.5-20.5q 4-4 4-10t-4-10.5zM 144,383.5q-33,0 -56.5-23.25t-23.5-56.5t 23.5-56.75t 56.5-23.5t 56.5,23.5t 23.5,56.75t-23.5,56.5t-56.5,23.25zM 352-0.5q 13,0.5 22,9.5l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160.5 z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exportfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13,0 -22.5-9.25t-9.5-22.75l0-5.5 q-82.5-80 -83-81q-13-12 -13-38.75t 13-39.25l 83-80l0-203.5 q0-13 9.5-22.5t 22.5-9.5l 192,0 l0,176 q0,7 4.75,11.5t 11.25,4.5l 175.5,0 q 0.5,0.5 0.5,1l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,319.5q0-13 -9.25-22.5t-22.75-9.5l-96,0 l0-29 q 2-15 -8.5-25.5\nq-9-9.5 -21.75-9.5t-21.75,9.5l-99,98.5q-9,9 -9,21.75t 9,21.75q 6,6 48.25,46.75t 50.75,49.25q 9,9 21.75,9t 21.75-9q 10.5-10.5 8.5-26l0-29.5 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 zM 352,0q 13,0 22,9l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"importfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32.5 l-50.5,0 q-19,0 -32.25-14t-13.25-34l0-96 q0-19.5 13.25-33.75t 32.25-14.25l 50.5,0 l0-223.5 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 l 0.5,0.5l0,287.5 q0,13.5 -9.25,22.75t-22.75,9.25zM 311,331.5l-99-99q-9-9 -21.75-9\nt-21.75,9q-9.5,9.5 -8.5,24l0,31 l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 96,0 l0,31.5 q-1,14.5 8.5,24q 9,9 21.75,9t 21.75-9l 91-91q 5.5-2.5 8-5q 9-9 9-21.75t-9-21.75zM 352-0.5q 13,0 22,9.5l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchoff\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-13.5 -9.5-22.75t-22.5-9.25l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,192 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5\nt 9.5-22.5l0-192 zM 384,352l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-13.5 -9.5-22.75t-22.5-9.25l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,192 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5\nt 9.5-22.5l0-192 zM 224,352l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"redo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,170.5q-0.5,7.5 -4.75,14.5t-10.75,7l-165,0 q-12,0.5 -11.5-17l 63-63q-54.5-48 -126.5-48q-52,0 -96.25,25.75t-70,70t-25.75,96.5t 25.75,96.25t 70,69.75t 96.25,25.75q 44,0 82.75-18.75t 65.75-51.75l 50.5,39.5q-36,44.5 -88,69.75t-111,25.25q-52,0 -99.5-20.25t-81.75-54.5\nt-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25q 48.5,0 92.75,17.5t 79.25,49l 67-67q 17.5-0.5 17,11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"undo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256.5,512q-59,0 -111-25.25t-88-69.75l 50.5-39.5q 27,33 65.75,51.75t 82.75,18.75q 52,0 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75q-72,0 -126.5,48l 63,63q 0.5,17.5 -11.5,17l-165,0 q-6.5,0 -10.75-7t-4.75-14.5l-0.5-159q-0.5-12 17-11.5l 67,67\nq 35-31.5 79.25-49.25t 92.75-17.75q 52,0 99.5,20.5t 81.75,54.75t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quotedown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-64 q0-13 -9.25-22.5t-22.5-9.5t-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 q 15.5,0 30.5,16t 24.25,38.5t 9.25,41.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,448l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 \nq0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-64 q0-13 -9.5-22.5t-22.75-9.5t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 q 15,0 30.25,16t 24.5,38.5t 9.25,41.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quoteup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,288l-64,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-64,0 q-15.5,0 -30.5-16t-24.25-38.5t-9.25-41.5l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,288l-64,0 l0,64 q0,13.5 9.25,22.75\nt 22.75,9.25t 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 q-15,0 -30.25-16t-24.5-38.5t-9.25-41.5l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mergecells\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 379,166.5q 6-6 15-6.5t 15.5,3.5t 6.5,10l0,165 q0,6 -6.5,10t-15.5,3.25t-15-6.75l-82-66.5q-9.5-9.5 -9.5-22.75t 9.5-22.75zM 448,512l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 \nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 133,345q-6,6 -15,6.75t-15.5-3.25t-6.5-10l0-165 \nq0-6 6.5-10t 15.5-3.5t 15,6.5l 82,66.5q 9.5,9.5 9.5,22.75t-9.5,22.75zM 192.25,160q-13.25,0 -22.75-9.25t-9.5-22.75l0-48 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5\nl0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scaledown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,410.5q 9.5,9.5 9.5,23t-9.5,23l-45.5,46q-9.5,9.5 -22.75,9.5t-22.75-9.5l-57-57l-66.5,66.5q-13.5,0 -22.75-9.5t-9.25-22.5l0-192.5 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l-66.5,66.5zM 224,255.5l-191.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l 66-66l-57-56.5q-9.5-9.5 -9.5-23t 9.5-23\nl 45.5-46q 9.5-9.5 23-9.5t 23,9.5l 57,57l 66-66q 13.5,0 22.75,9.25t 9.25,22.75l0,191.5 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scaleup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-191.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l 67.5-67.5l-74.5-72.5q-9-9.5 -9-22.75t 9-22.75l 46-45.5q 9-9 22.5-9t 23,9l 73.5,72.5l 65.5-65q 13.5,0 22.75,9.25t 9.25,22.75l0,191.5 q0,13.5 -9.25,22.75t-22.75,9.25zM 217,263q-9.5,9.5 -22.75,9.5t-22.75-9.5l-74-72.5l-65.5,65.5\nq-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 192,0 q 13.5,0 22.75,9.25t 9.25,22.75l-67.5,67.5l 74.5,73q 9.5,9 9.5,22.5t-9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,277.5l-81.5,100q-5.5,6 -14.75,6.25t-16-3.75t-6.75-9.5l0-50.5 l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 l0-50 q0-6 6.75-10t 16-3.75t 14.75,6.25l 81.5,99.5q 9,9 9,21.75t-9,21.75zM 320.25,128q-13.25,0 -22.75-9.5t-9.5-22.75t-9.25-22.5t-22.75-9.25l-160,0 \nq-13,0 -22.5,9.25t-9.5,22.75l0,320 q0,13 9.5,22.5t 22.5,9.5l 160,0 q 13.5,0 22.75-9.5t 9.25-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-224,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 224,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 \nq0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"enter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-224,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.5t 9.5,22.75t 22.5,9.5l 160,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-320 q0-13.5 -9.25-22.75t-22.75-9.25l-160,0 q-13,0 -22.5,9.25t-9.5,22.5t-9.25,22.75t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 q0-26.5 18.75-45.25t 45.25-18.75\nl 224,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 215,277.5l-81.5,100q-6,6 -15,6.25t-16-3.75t-7-9.5l0-50.5 l-63.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 63.5,0 l0-50 q0-6 7-10t 16-3.75t 15,6.25l 81.5,99.5q 8.5,9 8.5,21.75t-8.5,21.75\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"move\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 506.5,267l-99,82q-5.5,4 -14.5,2.5t-9-6.5l0-57 l-96.5,0 l0,96 l 57,0 q 5,0 6.75,9t-2.75,14.5l-82,99q-4.5,5.5 -10.75,5.5t-10.75-5.5l-82-99q-4.5-5.5 -2.75-14.5t 6.25-9l 57,0 l0-96 l-95.5,0 l0,57 q0,4.5 -9,6.25t-14.5-2.25l-99-82.5q-5.5-4.5 -5.5-10.75t 5.5-10.75l 99-82q 5.5-4.5 14.5-2.75t 9,6.25\nl0,57.5 l 95.5,0 l0-96.5 l-56.5,0 q-5,0 -6.75-9t 2.75-14.5l 82-98.5q 4.5-6 10.75-6t 10.75,6l 82,98.5q 4.5,5.5 2.75,14.5t-6.25,9l-57.5,0 l0,96.5 l 96.5,0 l0-57 q0-5 9-6.75t 14.5,2.75l 99,82q 5.5,4.5 5.5,11t-5.5,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zoomout\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-99-99q-60,44.5 -134,44.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,74 -44.5,134l 99,99q 9.5,9.5 9.5,22.75t-9.5,22.75zM 224,64\nq-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.5t 58.25,58.25t 80.25,21.25t 80.25-21.25t 58.25-58.25t 21.5-80.5t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 288,256l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zoomin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-99-99q-60,44.5 -134,44.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,74 -44.5,134l 99,99q 9.5,9.5 9.5,22.75t-9.5,22.75zM 224,64\nq-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.5t 58.25,58.25t 80.25,21.25t 80.25-21.25t 58.25-58.25t 21.5-80.5t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 288,256l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5\nl 32,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,213.5l-209.5,164q-5.5,6 -14.75,6.25t-16-3.75t-6.75-9.5l0-114.5 l-96,0 q-13,0 -22.5,9.25t-9.5,22.75l0,128 l0,32 l0,32 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l0-32 l0-160 q0-53 37.5-90.5t 90.5-37.5l 128,0 l0-114 q0-6 6.75-10t 16-3.75t 14.75,6.25l 209.5,163.5q 9,9 9,21.75\nt-9,21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"back\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 l0-32 l0-128 q0-13.5 -9.5-22.75t-22.5-9.25l-96,0 l0,114.5 q0,5.5 -6.75,9.5t-16,3.75t-14.75-6.25l-209.5-164q-9-9 -9-21.75t 9-21.75l 209.5-163.5q 5.5-6 14.75-6.25t 16,3.75t 6.75,10l0,114 l 128,0 q 53,0 90.5,37.5t 37.5,90.5l0,160 l0,32 l0,32 q0,13 -9.5,22.5\nt-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 278.5,295q-9,9 -22.5,9t-22.5-9l-224-226q-9.5-9.5 -9.5-23t 9.5-22.5l 13-14q 9.5-9.5 22.75-9.5t 22.75,9.5l 188,189.5l 188-189.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 13,14q 9.5,9 9.5,22.5t-9.5,23zM 22.5,217.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 188,189.5l 188-189.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 13,13.5\nq 9.5,9.5 9.5,22.75t-9.5,22.75l-224,226q-9,9.5 -22.5,9.5t-22.5-9.5l-224-226q-9.5-9.5 -9.5-22.75t 9.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 233.5,217.5q 9-9.5 22.5-9.5t 22.5,9.5l 224,225.5q 9.5,9.5 9.5,23t-9.5,23l-13,13.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-188-189.5l-188,189.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-13-13.5q-9.5-9.5 -9.5-23t 9.5-23zM 489.5,295q-9.5,9.5 -22.75,9.5t-22.75-9.5l-188-190l-188,190q-9.5,9.5 -22.75,9.5t-22.75-9.5\nl-13-14q-9.5-9.5 -9.5-22.75t 9.5-22.75l 224-226q 9-9.5 22.5-9.5t 22.5,9.5l 224,226q 9.5,9.5 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 294.5,233.5q 9.5,9 9.5,22.25t-9.5,22.75l-225.5,224q-9.5,9.5 -23,9.5t-23-9.5l-13.5-13.5q-9.5-9 -9.5-22.25t 9.5-22.75l 189.5-188l-189.5-188q-9.5-9.5 -9.5-22.75t 9.5-22.75l 13.5-13q 9.5-9.5 23-9.5t 23,9.5zM 217.5,489q-9.5-9 -9.5-22.25t 9.5-22.75l 189.5-188l-189.5-188q-9.5-9.5 -9.5-22.75t 9.5-22.75l 13.5-13\nq 9.5-9.5 22.75-9.5t 22.75,9.5l 226,224q 9.5,9 9.5,22.25t-9.5,22.75l-226,224q-9.5,9.5 -22.75,9.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 217.5,233.5q-9.5,9 -9.5,22.25t 9.5,22.75l 225.5,224q 9.5,9.5 23,9.5t 23-9.5l 13.5-13.5q 9.5-9 9.5-22.25t-9.5-22.75l-189.5-188l 189.5-188q 9.5-9.5 9.5-22.75t-9.5-22.75l-13.5-13q-9.5-9.5 -23-9.5t-23,9.5zM 294.5,489q 9.5-9 9.5-22.25t-9.5-22.75l-189.5-188l 189.5-188q 9.5-9.5 9.5-22.75t-9.5-22.75l-13.5-13\nq-9.5-9.5 -22.75-9.5t-22.75,9.5l-226,224q-9.5,9 -9.5,22.25t 9.5,22.75l 226,224q 9.5,9.5 22.75,9.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resizev\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 245,507.5l-144.5-139.5q-4.5-4.5 -4.5-10.75t 4.5-10.75l 23-22q 4.5-4.5 11.25-4.5t 11.25,4.5l 78,75.5l0-288 l-78,75.5q-4.5,4.5 -11.25,4.5t-11.25-4.5l-23-22q-4.5-4.5 -4.5-10.75t 4.5-10.75l 144.5-139.5q 4.5-4.5 11.25-4.5t 11.25,4.5l 144.5,139.5q 4.5,4.5 4.5,10.75t-4.5,10.75l-23,22q-4.5,4.5 -11.25,4.5t-11.25-4.5l-78.5-76l0,289 l 78.5-76\nq 4.5-4.5 11.25-4.5t 11.25,4.5l 23,22q 4.5,4.5 4.5,10.75t-4.5,10.75l-144.5,139.5q-4.5,4.5 -11.25,4.5t-11.25-4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resizeh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,267l-139.5,144.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-22-23q-4.5-4.5 -4.5-11.25t 4.5-11.25l 75.5-78l-288,0 l 75.5,78q 4.5,4.5 4.5,11.25t-4.5,11.25l-22,23q-4.5,4.5 -10.75,4.5t-10.75-4.5l-139.5-144.5q-4.5-4.5 -4.5-11.25t 4.5-11.25l 139.5-144.5q 4.5-4.5 10.75-4.5t 10.75,4.5l 22,23q 4.5,4.5 4.5,11.25t-4.5,11.25l-76,78.5l 289,0 \nl-76-78.5q-4.5-4.5 -4.5-11.25t 4.5-11.25l 22-23q 4.5-4.5 10.75-4.5t 10.75,4.5l 139.5,144.5q 4.5,4.5 4.5,11.25t-4.5,11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"asterisk2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 455,215.5q-13,7.5 -45.5,20t-64,20.5q 31.5,8 64,20.5t 45.5,20q 22.5,13.5 29,39t-6.25,48.5t-37.75,29.75t-47-6.25q-13-7.5 -39-29.75t-48.5-45.75q 9,32 15,66.25t 6,49.75q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-15.5 5.75-49.75t 14.75-66.25q-22.5,23.5 -48.5,45.75\nt-38.5,29.75q-22.5,13 -47.5,6.25t-37.75-29.75t-6-48.5t 28.75-39q 13-7.5 45.5-20t 64-20.5q-31.5-8 -64-20.5t-45.5-20q-22-13.5 -28.75-39t 6-48.5t 37.75-29.75t 47.5,6.25q 12.5,7.5 38.5,29.75t 48.5,45.75q-9-32 -14.75-66.25t-5.75-49.75q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,15 -6,49.5\nt-15,66.5q 22.5-23.5 48.5-45.75t 39-29.75q 22-13 47-6.25t 37.75,29.75t 6.25,48.5t-29,39z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alert\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448q0,13 -9.25,22.5t-22.75,9.5l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-8.5 4.5-16l 219.5-368q 4-9 5.75-12t 6-9.25t 9-8.5t 11.25-2.25q 8.5,0 14.75,5t 9.5,10.75t 7.75,16.25l 219.5,368q 4.5,7.5 4.5,16zM 288,192q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l0,96 q0,13 9.5,22.5\nt 22.5,9.5t 22.5-9.5t 9.5-22.5l0-96 zM 255.75,352q-13.25,0 -22.5,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"info\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 272,64q-20,0 -34,14t-14,33.75t 14,34t 34,14.25t 34-14.25t 14-34\nt-14-33.75t-34-14zM 336.5,329q-30,31.5 -44,40.75t-27.5,9.25q-7.5,0 -12.75-6.75t-5.25-17.25q0-21.5 41-163l-77.5-14.5q-50.5,124.5 -50.5,195q0,32.5 15.5,54t 38,21.5q 40.5,0 123-81l0-38 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forbidden2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 367,412.5l-111-111l-111,111q 50,35.5 111,35.5t 111-35.5zM 64,256\nq0,61 35,110.5l 111-111l-110.5-110.5q-35.5,50 -35.5,111zM 145.5,99.5l 110.5,110l 110.5-110q-50-35.5 -110.5-35.5t-110.5,35.5zM 412.5,145l-110.5,110.5l 111,111q 35-49.5 35-110.5t-35.5-111z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forbidden\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.75t 99.5-20.5t 99.5,20.5t 81.75,54.75t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 64,256q0,52 25.75,96.25t 70,70t 96.25,25.75q 61,0 111-35.5\nl-267.5-267.5q-35.5,50 -35.5,111zM 256,64q-60.5,0 -110.5,35l 267.5,267.5q 35-50 35-110.5q0-52.5 -25.75-96.75t-70-69.75t-96.25-25.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"radiobutton\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.25-22.5t-22.75-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75\nl0-320 zM 255.75,352q-39.75,0 -67.75-28t-28-67.75t 28-68t 67.75-28.25t 68,28.25t 28.25,68t-28.25,67.75t-68,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkbox2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.25-22.5t-22.75-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75\nl0-320 zM 303,256l 71,71q 10,10 10,23.75t-9.75,23.25t-23.5,9.5t-23.75-9.5l-71-71l-71,71.5q-10,9.5 -23.5,9.5t-23.25-9.75t-9.75-23.5t 9.5-23.25l 71.5-71.5l-72-71.5q-9.5-10 -9.5-23.75t 9.5-23.25t 23.25-9.5t 23.75,9.5l 71.5,72l 72-72q 9.5-9.5 23.25-9.5t 23.5,9.75t 9.75,23.5t-10,23.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 13.5,0 26.5,5.5l-58.5,58l-320,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 l 64-64l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 279,342.5q-9.5,9.5 -23.5,9\nq-14.5,0.5 -24-9.5l-94-93.5q-9.5-10 -9.5-23.75t 9.75-23.25t 23.25-9.5t 23.5,9.5l 72,72l 244-245.5q 11.5,16.5 11.5,36l0,34 q-4,15.5 -10,21z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"maximize\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-35-35l-58.5,58q-8.5,9 -21,9t-21.25-8.75t-8.75-21.25t 9-21l 58-58.5l-34.5-34.5q0-13 1.25-14.5t 14.75-1.5l 80,0 q 13,0 22.5,9.5t 9.5,22.5l0,80 q0,13.5 -1.5,14.75t-14.5,1.25zM 384,256l0,192 q0,26.5 -18.75,45.25t-45.25,18.75l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25\nt 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25zM 320,288q0-13 -9.5-22.5t-22.5-9.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,128 q0,13.5 9.25,22.75t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.75l0-128 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"minimize\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 q-13,0 -22.5,9.25t-9.5,22.75l0,128 q0,13 9.5,22.5t 22.5,9.5l 192,0 q 13.5,0 22.75-9.5\nt 9.25-22.5l0-128 zM 352,480q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 192,0 q 13.5,0 22.75,9.25t 9.25,22.75zM 32.25,512q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restore\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-32,0 l0-64 q 13.5,0 22.75-9.5t 9.25-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,64 l-64,0 l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75zM 384,256l0,192 q0,26.5 -18.75,45.25\nt-45.25,18.75l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25zM 288,256l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 192,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"equals\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,192l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"smaller\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,428l0,64.5 q0,13.5 -9.25,18t-22.75-3l-448-165q-13.5-7.5 -22.75-22t-9.25-28l0-72.5 q0-13 9.25-27.75t 22.75-21.75l 448-165q 13.5-7.5 22.75-3.25t 9.25,17.75l0,64.5 q0,13.5 -9.25,28.25t-22.75,21.75l-330.5,122l 330.5,122q 13.5,7 22.75,21.5t 9.25,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bigger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,342.5l-448,165q-13.5,7.5 -22.75,3t-9.25-18l0-64.5 q0-13.5 9.25-28t 22.75-22l 330.5-122l-330.5-122q-13.5-7 -22.75-21.75t-9.25-27.75l0-65 q0-13.5 9.25-17.75t 22.75,3.25l 448,165q 13,7.5 22.5,22t 9.5,28l0,72.5 q0,13.5 -9.5,28t-22.5,22z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-160,0 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 160,0 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l 160,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 288,224l-64,0 l0,64 l 64,0 l0-64 \nzM 480,96l-32,0 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-288,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 288,0 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 416,32l-64,0 l0,64 l 64,0 l0-64 z\nM 32,416l 32,0 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l 288,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5l-288,0 q0,13.5 -9.5,22.75t-22.5,9.25l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 96,480l 64,0 l0-64 l-64,0 l0,64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320q 1,9 1,16t-1,16l-32,0 q-1.5,12 -4.5,24l 29.5,12.5q-4.5,14.5 -12,29.5l-30-12.5q-5.5,10.5 -13.5,20.5l 22.5,22.5q-10,12.5 -22.5,22.5l-22.5-22.5q-10,8 -20.5,13.5l 12.5,29.5q-15,8 -29.5,12.5l-12.5-29.5q-12,3 -24,4.5l0,32 q-9,1 -16,1t-16-1l0-32 q-12-1.5 -24-4.5l-12,29.5q-15-4.5 -30-12.5l 12.5-29.5\nq-10.5-5.5 -20-13.5l-23,22.5q-12.5-10 -22.5-22.5l 22.5-22.5q-7.5-10 -13.5-20.5l-29.5,12.5q-8-15 -12.5-29.5l 30-12.5q-3.5-12 -5-24l-32,0 q-1-9 -1-16t 1-16l 32,0 q 1.5-12 5-24l-30-12.5q 4.5-14.5 12.5-29.5l 29.5,12.5q 6-10.5 13.5-20.5l-22.5-22.5q 10-12.5 22.5-22.5l 23,22.5q 9.5-8 20-13.5l-12.5-30q 15-7.5 30-12l 12,29.5q 12-3.5 24-4.5l0-32 \nq 9-1 16-1t 16,1l0,32 q 12,1 24,4.5l 12.5-29.5q 14.5,4.5 29.5,12l-12.5,30q 10.5,6 20.5,13.5l 22.5-22.5q 12.5,10 22.5,22.5l-22.5,22.5q 8,10 13.5,20.5l 30-12.5q 7.5,15 12,29.5l-29.5,12.5q 3,12 4.5,24l 32,0 zM 337,256q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 224.5,149l-6,15.5\nq-1.5,3 -4.75,4.5t-6.25,0l-28.5-11.5q-8.5,12 -20.5,20l 12,28.5q 1.5,3.5 0,6.5t-4.5,4.5l-15.5,6.5q-3,1.5 -6.25,0t-4.75-4.5l-12-28.5q-8,1.5 -14.5,1.5q-6,0 -14-1.5l-12,28.5q-1,3 -4.25,4.5t-6.75,0l-15-6.5q-3.5-1 -4.75-4.25t-0.25-6.75l 12-28q-12-8.5 -20.5-20.5l-28.5,12q-3,1 -6.25-0.25t-4.75-4.25l-6-15.5\nq-1.5-3.5 -0.25-6.75t 4.75-4.25l 28-12q-1.5-8 -1.5-14.5q0-6 1.5-14.5l-28.5-11.5q-3-1.5 -4.25-4.5t-0.25-6.5l 6.5-15.5q 1.5-3 4.5-4.5t 6.5,0l 28.5,11.5q 8-12 20-20l-11.5-28.5q-1.5-3.5 -0.25-6.5t 4.75-4.5l 15.5-6.5q 3-1.5 6.25,0t 4.75,4.5l 11.5,28.5q 8-1.5 14.5-1.5t 14.5,1.5l 11.5-28.5q 1.5-3.5 4.75-4.75t 6.25,0.25l 15.5,6.5q 3.5,1 4.75,4.25t-0.25,6.25\nl-11.5,28.5q 12,8.5 20.5,20.5l 28-12q 3.5-1 6.75,0.25t 4.25,4.25l 6.5,15.5q 1.5,3.5 0.25,6.75t-4.75,4.25l-28.5,12q 1.5,8 1.5,14.5t-1.5,14.5l 28.5,11.5q 3.5,1.5 4.75,4.5t-0.25,6.5zM 113.25,64q-19.75,0 -34,14t-14.25,34t 14.25,34t 34,14t 33.75-14t 14-34t-14-34t-33.75-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,383.5l-54,0 q-6,17.5 -19,32l 23.5,41.5q 3,6 1.25,12t-6.75,9.5l-26.5,15.5q-5.5,3 -11.5,1.5t-9-7.5l-24-42q-10,2 -18,2t-18-2l-24,42q-3,6 -9,7.5t-11.5-1.5l-26.5-15.5q-5-3.5 -6.75-9.5t 1.25-12l 23.5-41.5q-13-14.5 -19-32l-54,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 54,0 \nq 6-17 19-31.5l-23.5-41.5q-3-6 -1.25-12t 6.75-9.5l 26.5-15.5q 5.5-3 11.5-1.5t 9,7l 24,42.5q 10-2 18-2t 18,2l 24-42.5q 3-5.5 9-7t 11.5,1.5l 26.5,15.5q 5,3.5 6.75,9.5t-1.25,12l-23.5,41.5q 13,14.5 19,31.5l 54,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,7 -4.75,11.5t-11.25,4.5zM 352,319.5q-13.5,0 -22.75,9.5\nt-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 304,191.5l-54,0 q-6,17.5 -19,32l 23.5,41.5q 3,5.5 1.25,11.75t-6.75,9.75l-26.5,15.5q-5.5,3 -11.5,1.25t-9-7.25l-24-42q-9.5,1.5 -18,1.5t-18-1.5l-24,42q-3,5.5 -9,7.25t-11.5-1.25l-26.5-15.5q-5-3.5 -6.75-9.75\nt 1.25-11.75l 23.5-41.5q-13-14.5 -19-32l-54,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 54,0 q 6-17 19-32l-23.5-41.5q-3-5.5 -1.25-11.75t 6.75-9.25l 26.5-15.5q 5.5-3.5 11.5-1.75t 9,7.25l 24,42.5q 10-2 18-2t 18,2l 24-42.5q 3-5.5 9-7.25t 11.5,1.75l 26.5,15.5q 5,3 6.75,9.25t-1.25,11.75l-23.5,41.5\nq 13,15 19,32l 54,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,7 -4.75,11.5t-11.25,4.5zM 160,127.5q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"settings2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-51,0 q-7,43.5 -33,79.5l 31.5,32q 4.5,4.5 4.5,11t-4.5,11l-22,22q-4.5,4.5 -11,4.5t-11-4.5l-32-31.5q-36,26 -79.5,33l0,51 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-51 q-43.5-7 -79.5-33l-32,31.5q-4.5,4.5 -11,4.5t-11-4.5l-22-22q-4.5-4.5 -4.5-11t 4.5-11l 31.5-32\nq-26-36 -33-79.5l-51,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 51,0 q 7-43 33-79.5l-31.5-31.5q-4.5-4.5 -4.5-11t 4.5-11l 22-22.5q 4.5-4.5 11-4.5t 11,4.5l 32,32q 36-26 79.5-33.5l0-51 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,51 q 43.5,7.5 79.5,33.5l 32-32q 4.5-4.5 11-4.5t 11,4.5\nl 22,22.5q 4.5,4.5 4.5,11t-4.5,11l-31.5,31.5q 26,36.5 33,79.5l 51,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,128q-53,0 -90.75,37.5t-37.75,90.5t 37.75,90.5t 90.75,37.5t 90.75-37.5t 37.75-90.5t-37.75-90.5t-90.75-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"left\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 9.5,233l 226-224.5q 9.5-9.5 22.75-9.5t 22.75,9.5l 46,45.5q 9.5,9.5 9.5,22.75t-9.5,22.75l-93,92l 246,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5l-246.5,0 l 93.5,92.5q 9.5,9 9.5,22.5t-9.5,22.5l-46,45.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-226-224q-9.5-9.5 -9.5-22.75t 9.5-22.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"right\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,278.5l-226,224q-9.5,9.5 -22.75,9.5t-22.75-9.5l-46-45.5q-9.5-9 -9.5-22.5t 9.5-22.5l 93-92l-246,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 246.5,0 l-93.5-92.5q-9.5-9.5 -9.5-22.75t 9.5-22.75l 46-45.5q 9.5-9 22.75-9t 22.75,9l 226,224.5q 9.5,9.5 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"upright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,415.5l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-162 l-283.5,281q-9,9.5 -22.5,9.5t-23-9.5l-45.5-45q-9.5-9.5 -9.5-22.75t 9.5-22.75l 286-283.5l-167.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 352,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,351 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"upleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,457.5l-45.5,45q-9.5,9.5 -23,9.5t-23-9.5l-283-281.5l0,162.5 q0,13.5 -9.5,22.75t-22.5,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-351.5 q0-13.5 9.25-22.75t 22.75-9.25l 352,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5l-167,0 l 285.5,284q 9.5,9.5 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"up\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 278.5,10l 224,226q 9.5,9.5 9.5,22.75t-9.5,22.75l-45,45.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-92-92.5l0,245.5 q0,13.5 -9.25,22.75t-22.75,9.25l-63.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-246 l-92.5,93q-9.5,9.5 -22.75,9.5t-22.75-9.5l-45-45.5q-9.5-9.5 -9.5-22.75t 9.5-22.75l 224-226q 9-9.5 22.5-9.5\nt 22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"downright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,97l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,162 l-283.5-281q-9-9.5 -22.5-9.5t-23,9.5l-45.5,45q-9.5,9.5 -9.5,22.75t 9.5,22.75l 286,284l-167.5,0 q-13,0 -22.5,9.25t-9.5,22.25l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 352,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-351.5 q0-13 -9.25-22.25t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"downleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 32,97l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,162.5 l 283-281.5q 9.5-9.5 23-9.5t 23,9.5l 45.5,45q 9.5,9.5 9.5,22.75t-9.5,22.75l-286,284l 167.5,0 q 13,0 22.5,9.25t 9.5,22.25l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-351 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"down\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 233.5,502.5l-224-225.5q-9.5-9.5 -9.5-23t 9.5-22.5l 45-46q 9.5-9.5 22.75-9.5t 22.75,9.5l 92,92.5l0-245.5 q0-13 9.25-22.5t 22.75-9.5l 63.5,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,246 l 92.5-93q 9.5-9.5 22.75-9.5t 22.75,9.5l 45,46q 9.5,9 9.5,22.5t-9.5,23l-224,225.5q-9,9.5 -22.5,9.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"queen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-64,224q-2.5,8.5 -25,18.25t-55,13.75q 13,30.5 34,47.25t 46,16.75q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5q 25,0 46-16.75t 34-47.25q-33.5-4 -55.5-13.25t-24.5-18.75l-64-224l 96,82.5l0-146.5 \nl 77,128l 51-160l 51,160l 77-128l0,146.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"king\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,416q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5q 29,0 53-26.5t 35-70q-50.5-3 -85.25-39.75t-34.75-87.75q0-53 37.5-90.5t 90.5-37.5q 16,0 32,4l0-36 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,36 q 16-4 32-4\nq 53,0 90.5,37.5t 37.5,90.5q0,51 -34.75,87.75t-85.25,39.75q 11,43.5 35,70t 53,26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"knight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 417,416q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5q 26,0 48-21.5t 35-58.25t 13-80.25q0-1.5 -0.25-4t-0.25-3.5l-47.5,40.5q-26,47 -66,22.5q-13.5-8 -14.25-31.25t 6-46.25t 16.25-40l 90-163q 7.5-13.5 20.25-21.75\nt 27.75-9.25l 16,0 q 64.5,0 112,41.25t 71.75,113.25t 24.25,165.5q-65.5,0 -96,48q 28,48 64,48zM 225,104q0-3.5 -2.5-5.75t-5.5-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3,0 5.5-2.25t 2.5-5.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rook\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5l 3,0 q 38-2 64.5-37.5t 28.5-90.5q-13.5-4 -22.75-14t-9.25-18q0-7 10-17.5t 22-14.5q-7.5-37 -26.75-66.5t-37.25-29.5q-13,0 -22.5-9.25t-9.5-22.75l0-32 l0-32 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-16 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,32 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25q-18,0 -37.25,29.5t-26.75,66.5q 12,4 22,14.5t 10,17.5q0,8 -9.25,18t-22.75,14\nq 2,55 28.5,90.5t 64.5,37.5l 3,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bishop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5q 30,0 54-28t 35-73.5q-26.5-4.5 -41.75-11.5t-15.25-15q0-12 32-21q-32-42.5 -32-91q0-25 15.5-57t 36.5-57.75t 42.5-43.5t 33.5-17.75t 33.5,17.75t 42.5,43.5t 36.5,57.75t 15.5,57q0,48.5 -32,91q 32,9 32,21q0,8 -15.25,15t-41.75,11.5\nq 11,45.5 35,73.5t 54,28q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,64q-8,0 -23.25,19.5t-28,47.75t-12.75,47.75q0,32 18.75,54.5t 45.25,22.5t 45.25-22.5t 18.75-54.5q0-19.5 -12.75-47.75t-28-47.75t-23.25-19.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pawn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5q 39.5,0 67.75-44.75t 28.25-115.25q-22.5,0 -43.25-11.25t-20.75-20.75q0-10.5 26-19q-26-34.5 -26-77q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,42.5 -26,77q 26,8.5 26,19q0,9.5 -20.75,20.75t-43.25,11.25\nq0,70.5 28.25,115.25t 67.75,44.75q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diamonds\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 32,256q 7-3.5 19.5-10.5t 46.25-32t 62.25-53.5q 18-18 34.25-41t 27-43.25t 19-37.75t 11.75-27.5l 4-10.5q 1,4 3.5,10.75t 11.5,26.75t 19.25,38.75t 27,42.25t 34.75,41.5q 28,28.5 60,52.5t 50,33.5l 17.5,10q-7,3.5 -19.5,10.75t-46.25,32t-61.75,53.25q-18,18 -34.5,41t-27.25,43.25t-19,37.75t-11.75,27.5\nl-3.5,10.5q-1.5-4 -4-10.75t-11.5-26.75t-19.25-38.75t-26.75-42.25t-34.5-41.5q-28.5-28.5 -60.75-52.5t-49.25-33.75t-18-9.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clubs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448q-56,0 -94-41.5q 3.5,47 11.75,76.25t 18.25,29.25l-128,0 q 10,0 18.25-29.25t 11.75-76.25q-38,41.5 -94,41.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 7,0 18.5,1.5q-18.5-30.5 -18.5-65.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,35 -18.5,65.5q 11.5-1.5 18.5-1.5q 53,0 90.5,37.5t 37.5,90.5\nt-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spades\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448q-56,0 -94-41.5q 3.5,47 11.75,76.25t 18.25,29.25l-128,0 q 10,0 18.25-29.25t 11.75-76.25q-38,41.5 -94,41.5q-53,0 -90.5-37.5t-37.5-90.5q0-39 14-74.5t 36.75-62t 50-49.75t 54.5-41.75t 50-34t 36.75-30.5t 14-27.5q0,12.5 14,27.5t 36.75,30.5t 50,34t 54.5,41.75t 50,49.75t 36.75,62t 14,74.5\nq0,53 -37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hearts\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q0-10 -8.75-21.5t-23.5-23.5t-34-26t-40.5-31.25t-42.5-37.25t-40.5-45.75t-34-54.5t-23.5-66t-8.75-78.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,41 -8.75,78.25t-23.5,66t-34,54.5t-40.5,45.75t-42.5,37.25t-40.5,31.25t-34,26t-23.5,23.5\nt-8.75,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bowling\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 95.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 192,64\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 256,192q-13.5,0 -22.75,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"racquet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 510.75,503.25q-8.75,8.75 -21,8.75t-21.25-8.5l-84.5-84.5q-9.5-10 -8-25l-18.5-18.5q-6.5-7 -11.5-11t-14.5-8.25t-20-4.25l-89,0 q-39.5,2 -79.5-14.25t-72-48.75q-37-36.5 -53-83t-8.25-90.5t 38.5-74.75t 74.75-38.5t 90.5,8.25t 83,53q 32.5,32 48.75,72t 14.25,79.5l0,89 q0,23 23.5,46l 18.5,18.5\nq 15-1.5 25,8l 84,84.5q 9,9 9,21.25t-8.75,21zM 276,84q-46-46 -105.5-51.25t-97.5,32.75t-32.75,97.5t 51.25,105.5t 105.5,51.25t 97.5-32.75t 32.75-97.5t-51.25-105.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"golf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-15t-93.25-40.75t-34.25-56.25t 34.75-56.25t 93.25-40.75l0,97 q0,20 14,34t 34,14t 34-14t 14-34l0-111 q 18.5-1 32-1q 69.5,0 128.5,15t 93.25,40.75t 34.25,56.25t-34.25,56.25t-93.25,40.75t-128.5,15zM 320,384q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25\nt 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 369.5,112l-131,80q-6,0 -10.25-4.75t-4.25-11.25l0-160 q0-6.5 4.25-11.25t 10.25-4.75l 131,80q 0.5,0.5 2.5,1.5t 2.75,1.5t 2.5,1.5t 2.25,1.75t 1.75,2t 1.75,2.25t 0.75,2.5t 0.25,3q0,6 -3.5,9t-11,7zM 176,416q-6.5,0 -11.25-4.75t-4.75-11.25l0-384 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,384 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pingpong\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 438,510l-131.5-153.5q-34,22 -72.75,26.75t-78.75-10t-73.5-48.25q-40-40 -60.25-93.5t-14.5-105.5t 39-85.5t 85.5-39.25t 105.75,14.5t 93,60.25q 34,33.5 48.75,73.5t 10,78.75t-26.25,72.75l 154,131q 5,5 -11.75,27.5t-38.25,40t-28.5,10.5zM 308,95q-33-33 -77.5-50t-88-12t-71.25,32.75\nt-32.75,71.25t 12,88t 50,77.5q 32,32 71,43.5l 180-180q-11.5-39 -43.5-71z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"axe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,481.5l-25.5,25.5q-5,5 -12.25,5t-12.75-5l-288.5-289q-8,18.5 -8,38q0,29.5 17,54q-24,10 -49,10q-53,0 -90.5-37.5t-37.5-90.5q0-24.5 10-48.5q 24.5,16.5 54,16.5q 20,0 38-8l-65-64.5q-5-5.5 -5-12.75t 5-12.25l 25.5-25.5q 5-5 12.25-5t 12.75,5l 64.5,65q 8-18.5 8-38\nq0-29.5 -16.5-54q 23.5-10 48.5-10q 53,0 90.5,37.5t 37.5,90.5q0,25 -10,49q-24.5-17 -54-17q-19.5,0 -38,8l 289,288.5q 5,5.5 5,12.75t-5,12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q 7,0 14,7l 50,50l0,7 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-7,0 l-50-50q-7-7 -7-14l0-42 l-128-128l-227,226.5q-4.5,7.5 -13,7.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-93.5 34.25-177.75t 95.75-150.25l-93-93l-21,21q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 q0-6.5 4.75-11.25\nt 11.25-4.75l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l-21.5,21.5l 93.5,93q 65.5-62 150-96.25t 178-34.25l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,8.5 -7.5,13l-227,227l 128,128l 42.5,0 l0,0 zM 33.5,457l 200.5-201l-60.5-60.5q-58.5,61 -96.25,129.75t-43.75,131.75zM 457,33.5q-63,6 -131.75,43.75t-130.25,96.25\nl 61,61z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sword\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,481.5l-25.5,25.5q-5,5 -12.25,5t-12.75-5l-89.5-90l-58.5,58.5q-4.5,5 -11.5,5t-12-5l-24-24q-5-5 -5-12t 5-11.5l 42.5-42.5l-295.5-295.5q-2-2.5 -3.75-5.25t-2.5-4.75t-1.25-4.75t-0.5-4.25l0-4 l0-3 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l 3.5,0 l 3.75,0 t 4,0.5t 4.75,1.25t 4.75,2.5t 5.25,3.75l 295.5,295.5l 42.5-42.5\nq 4.5-5 11.5-5t 12,5l 24,24q 5,5 5,12t-5,12l-58.5,58l 90,89.5q 5,5.5 5,12.75t-5,12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"americanfootball\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 176,512q-66,0 -144-32q-32-78 -32-144q0-72 25.25-134.5t 69.5-106.75t 106.75-69.5t 134.5-25.25q 66,0 144,32q 32,78 32,144q0,72 -25.25,134.5t-69.5,106.75t-106.75,69.5t-134.5,25.25zM 39,258.5q-7,34 -7,67.5q0,25.5 7.5,59q 35.5,52 87.5,87.5q 33.5,7.5 59,7.5q 33.5,0 67.5-7\nq-82-18.5 -139-75.5t-75.5-139zM 229.25,165.25q-5.25,5.25 -5.25,12.5t 5.5,12.75l 33.5,33.5l-38.5,38.5l-34-33.5q-5-5.5 -12.5-5.5t-12.75,5.5t-5.25,12.75t 5.5,12.75l 33.5,33.5l-38.5,38.5l-34-33.5q-5-5.5 -12.5-5.5t-12.75,5.5t-5.25,12.75t 5.5,12.75l 33.5,33.5l-1.5,1.5q-5,5 -5,12.5t 5.25,12.75t 12.5,5.25\nt 12.75-5.5l 1.5-1l 33.5,33q 5,5.5 12.5,5.5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 39-38.5l 33.5,33.5q 5,5 12.5,5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 39-38.5l 33.5,33.5q 5,5 12.5,5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 38.5-39l 34,34q 5,5 12.5,5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-33.5-33.5l 1.5-2\nq 5.5-5 5.5-12.5t-5.25-12.75t-12.75-5.25t-12.5,5.5l-2,1.5l-33.5-33.5q-5-5 -12.5-5t-12.75,5.25t-5.25,12.5t 5.5,12.75l 33.5,33.5l-39,38.5l-33.5-33.5q-5-5 -12.5-5t-12.75,5.25zM 472.5,127q-35.5-52 -87.5-87.5q-33.5-7.5 -59-7.5q-33.5,0 -67.5,7q 82,18.5 139,75.5t 75.5,139q 7-34 7-67.5\nq0-25.5 -7.5-59z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"football\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 433,119.5q-34.5-45 -87.5-68.5l-89.5,45l-89.5-45q-53,23.5 -88,68.5l 17.5,8.5\nl0,96 l-63,47.5q 4,61.5 39.5,112.5l 87.5,0 l 32,80l0,6.5 q 31.5,9.5 64,9.5t 64-9.5l0-6.5 l 32-80l 87.5,0 q 35.5-51 39.5-112.5l-63-47.5l0-96 zM 206.5,319.5l-30.5-88.5l 80-55l 80,55l-30.5,88.5l-99,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tennis\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q 69.5,0 128.5-34.25t 93.25-93.25t 34.25-128.5q 69.5,0 128.5,34.25t 93.25,93.25t 34.25,128.5q-69.5,0 -128.5,34.25t-93.25,93.25t-34.25,128.5zM 2,224q 11-87 73-149t 149-73q-0.5,60 -30.25,111t-80.75,80.75t-111,30.25zM 510,288\nq-11,87 -73,149t-149,73q 0.5-60 30.25-111t 80.75-80.75t 111-30.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"basketball\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 342.5,320.5l-64-64.5l 169-169.5q 31,35 47.75,78.25t 16.75,91.25q-48,0 -91.25,17t-78.25,47.5zM 191.5,169.5q 31-35 47.75-78.25t 16.75-91.25q 48,0 91.25,17t 78.25,47.5l-169.5,169zM 87,64.5q 59-52.5 137-62q-1,82 -55,144zM 146.5,169q-62,54 -144.5,55q 10-78 62.5-137z\nM 233.5,256l-169,169.5q-30.5-35 -47.5-78.25t-17-91.25q 48,0 91.25-16.75t 78.25-47.75zM 320.5,342.5q-31,35 -47.75,78.25t-16.75,91.25q-48,0 -91.25-16.75t-78.25-47.75l 169.5-169zM 425,447.5q-59,52.5 -137,62.5q 1-82 55-144.5zM 510,288q-10,78 -62.5,137l-82-82q 62-54 144.5-55z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medalbronze\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-39.5-43.5 -96.5-57l 76.5-134q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 324.5,304q0-25 -17.5-36.75\nt-46.5-11.75l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.5t 11.25,4.75l 48,0 q 1.5,0 4.5-0.5q 7.5,0 11,0.25t 8.25,1.75t 6.5,5t 1.75,9.25t-1.75,9.25t-6.5,5t-8.25,1.75t-11,0.25l-4.5,0 l-16,0 q-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 16,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-48,0 l0,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l0,0 l 48,0 q 26.5,0 45.25-18.75t 18.75-45.25q0-29 -22-48q 3-2.5 8.75-7t 7.75-6.5t 3.75-7t 1.75-11.5zM 9,31.5q-7.5-13 -3-22.5t 18-9.5l 64.5,0 q 13.5,0 28,9.5t 22,22.5l 76.5,134q-57,13.5 -96.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medalsilver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-39.5-43.5 -96.5-57l 76.5-134q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 260.5,384q 26.5,0 45.25-18.75\nt 18.75-45.25t-18.75-45.5t-45.25-19t-45.25,19t-18.75,45.5q0,6.5 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5q-26.5,0 -45.25,18.75t-18.75,45.25l0,16 q0,6.5 4.5,11.25t 11.5,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nl-80,0 q0-13.5 9.25-22.75t 22.75-9.25zM 9,31.5q-7.5-13 -3-22.5t 18-9.5l 64.5,0 q 13.5,0 28,9.5t 22,22.5l 76.5,134q-57,13.5 -96.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medalgold\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-39.5-43.5 -96.5-57.5l 76.5-133.5q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 308.5,416l-16,0 l0-96.5 \nq0-26.5 -18.75-45.25t-45.25-18.75l0,0.5 l0-0.5 q-7,0 -11.5,4.75t-4.5,11.5t 4.5,11.5t 11.5,4.75l0-0.5 q 13.5,0.5 22.75,9.75t 9.25,22.25l0,96.5 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 9,31.5q-7.5-13 -3-22.5t 18-9.5l 64.5,0 q 13.5,0 28,9.5t 22,22.5\nl 76.5,133.5q-57,14 -96.5,57.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"medal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,31.5l-109.5,191q-40-43.5 -96.5-57l 76.5-134q 7.5-13 22-22.5t 28-9.5l 64.5,0 q 13.5,0 18,9.5t-3,22.5zM 420.5,352q0,43.5 -21.25,80.25t-58.25,58.25t-80.5,21.5t-80.5-21.5t-58.25-58.25t-21.25-80.25t 21.25-80.5t 58.25-58.5t 80.5-21.5t 80.5,21.5t 58.25,58.5t 21.25,80.5zM 9,31.5q-7.5-13 -3-22.5t 18-9.5\nl 64.5,0 q 13.5,0 28,9.5t 22,22.5l 76.5,134q-57,13.5 -96.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"warmedal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.5,212.5l-47,47q-15.5-28 -40.5-50l0-209.5 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,160 q0,12 -8.5,20.5zM 256,512q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 296.5,303l-40.5-84\nl-40.5,84l-94,11.5l 69,63.5l-17.5,91l 83-45l 83,45l-17.5-91l 69-63.5zM 320,0l 32,0 l0,186 q-15.5-8.5 -32-14.5l0-171.5 zM 160,0l 32,0 l0,171.5 q-17,6 -32,14.5l0-186 zM 87.5,259.5l-47-47q-8.5-8.5 -8.5-20.5l0-160 q0-13 9.5-22.5t 22.5-9.5l 64,0 l0,209.5 q-25,22 -40.5,50z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifefull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,144q0,29 -17.5,77.25t-47,93.25q-17.5,27.5 -27.75,43.25t-26.75,39.5t-28,37.75t-26.75,30.5t-27.75,25.5t-26.75,15t-27.75,6t-27.75-6.25t-26.75-15.25t-28-25.75t-27-30.75t-28-37.75t-26.75-39.25t-27.25-42.5q-31-47.5 -47.75-94.25t-16.75-76.25l0,0 q0-59.5 42.25-101.75t 101.75-42.25\nq 33.5,0 62.5,14.25t 49.5,39.25q 20-25 49.25-39.25t 62.75-14.25q 59.5,0 101.75,42.25t 42.25,101.75l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifehalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,144q0,29 -17.5,77.25t-47,93.25q-17.5,27.5 -27.75,43.25t-26.75,39.5t-28,37.75t-26.75,30.5t-27.75,25.5t-26.75,15t-27.75,6t-27.75-6.25t-26.75-15.25t-28-25.75t-27-30.75t-28-37.75t-26.75-39.25t-27.25-42.5q-31-47.5 -47.75-94.25t-16.75-76.25l0,0 q0-59.5 42.25-101.75t 101.75-42.25\nq 33.5,0 62.5,14.25t 49.5,39.25q 20-25 49.25-39.25t 62.75-14.25q 59.5,0 101.75,42.25t 42.25,101.75l0,0 zM 368,64q-20.5,0 -42.5,14.25t-37.5,33.75q-1.5,2 -5.75,9t-7,11.25t-8.25,8t-11,3.75l0,304 q 11.5,0 23-5.75t 20.5-14.25t 20.5-24t 19.75-28.25t 21.75-33.75l 22.5-35q 29.5-43.5 48-88t 16-75q0-33 -23.5-56.5\nt-56.5-23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifeempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,144q0,29 -17.5,77.25t-47,93.25q-17.5,27.5 -27.75,43.25t-26.75,39.5t-28,37.75t-26.75,30.5t-27.75,25.5t-26.75,15t-27.75,6t-27.75-6.25t-26.75-15.25t-28-25.75t-27-30.75t-28-37.75t-26.75-39.25t-27.25-42.5q-31-47.5 -47.75-94.25t-16.75-76.25l0,0 q0-59.5 42.25-101.75t 101.75-42.25\nq 33.5,0 62.5,14.25t 49.5,39.25q 20-25 49.25-39.25t 62.75-14.25q 59.5,0 101.75,42.25t 42.25,101.75l0,0 zM 368,64q-20.5,0 -42.5,14.25t-37.5,33.75q-1.5,2 -5.75,9t-7,11.25t-8.25,8t-11,3.75t-11-3.75t-8.25-7.75t-7.25-11.25t-5.5-9.25q-15.5-19.5 -37.5-33.75t-42.5-14.25q-33,0 -56.5,23.5t-23.5,56.5\nq-2.5,30.5 16,75t 48,88q 9,13.5 22.25,34.5t 21.5,33.75t 19.75,28.25t 20.75,24t 20.75,14.5t 23,6t 23-5.75t 20.5-14.25t 20.5-24t 19.75-28.25t 21.75-33.75l 22.5-35q 29.5-43.5 48-88t 16-75q0-33 -23.5-56.5t-56.5-23.5zM0,144zM0,144z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"starfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 453,314q-23,23 -44,39q 3.5,18 6,35.5q 4,34 4.5,56.75t-3.75,38.5t-12.75,22.25t-24,5.75t-35.75-8.25t-49.75-22q-17.5-9 -34.5-19.5q-16,10 -34.5,19.5q-29.5,14.5 -49.75,22t-35.75,8.25t-24-5.75t-12.75-22.25t-3.75-38.5t 4.5-56.75q 2.5-17 6-35.5q-21-16 -44-39q-24-24 -38.25-41.75t-20-32.75\nt-2.25-25.5t 17.5-19.5t 36.25-15.25t 57.25-12.75q 24.5-4 45.5-6q 8.5-20.5 21-43.5q 16-29.5 28.5-47.75t 25-28t 23.5-9.75t 23.5,9.75t 25,28t 28.5,47.75q 12.5,23 21,43.5q 21,2 45.5,6q 35,6.5 57.25,12.75t 36.25,15.25t 17.5,19.5t-2.25,25.5t-20,32.75t-38.25,41.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"starhalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 453,314q-23,23 -44,39q 3.5,18 6,35.5q 4,34 4.5,56.75t-3.75,38.5t-12.75,22.25t-24,5.75t-35.75-8.25t-49.75-22q-17.5-9 -34.5-19.5q-16,10 -34.5,19.5q-29.5,14.5 -49.75,22t-35.75,8.25t-24-5.75t-12.75-22.25t-3.75-38.5t 4.5-56.75q 2.5-17.5 6-35.5q-21.5-16 -44-39q-24-24 -38.25-41.75t-20-32.75\nt-2.25-25.5t 17.5-19.5t 36.25-15.25t 57.25-12.75q 24.5-4 45.5-6q 8.5-21 21-43.5q 16-29.5 28.5-47.75t 25-28t 23.5-9.75t 23.5,9.75t 25,28t 28.5,47.75q 12.5,23 21,43.5q 21,2 45.5,6q 35,6.5 57.25,12.75t 36.25,15.25t 17.5,19.5t-2.25,25.5t-20,32.75t-38.25,41.75zM 378,226.5q-34-3 -58.5-2.5q-5-21.5 -16.5-48.5\nq-13.5-33 -24-48.5t-20-15.5l0,289 q 13.5,9.5 36.5,22.5l 7.5,4.5q 10.5,6 15.25,8.75t 12,6t 9.75,4.75t 6.75,1t 5-1.25t 2.25-5.25t 1.25-7.75t-0.5-12.5t-1-15.5t-2.25-20.25q-1-6.5 -1-9.5q-4.5-39.5 -13.5-61q 17.5-5.5 53-24q 15-8.5 24.75-14t 19-11.5t 12.5-9.75t 4.5-8t-3.25-7t-13.25-5.5t-22.75-4.75t-33.5-4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"starempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 453,314q-23,23 -44,39q 3.5,18 6,35.5q 4,34 4.5,56.75t-3.75,38.5t-12.75,22.25t-24,5.75t-35.75-8.25t-49.75-22q-17.5-9 -34.5-19.5q-16,10 -34.5,19.5q-29.5,14.5 -49.75,22t-35.75,8.25t-24-5.75t-12.75-22.25t-3.75-38.5t 4.5-56.75q 2.5-17.5 6-35.5q-21.5-16 -44-39q-24-24 -38.25-41.75t-20-32.75\nt-2.25-25.5t 17.5-19.5t 36.25-15.25t 57.25-12.75q 24.5-4 45.5-6q 9-21 21-43.5q 16-29.5 28.5-47.75t 25-28t 23.5-9.75t 23.5,9.75t 25,28t 28.5,47.75q 12.5,23 21,43.5q 21,2 45.5,6q 35,6.5 57.25,12.75t 36.25,15.25t 17.5,19.5t-2.25,25.5t-20,32.75t-38.25,41.75zM 378,226.5q-34-3 -58.5-2.5q-5-21.5 -16.5-48.5\nq-13.5-33 -23.5-48.25t-20.5-15.25t-20.5,15.25t-23.5,48.25q-11,27 -16,48.5q-25-0.5 -59,2.5q-19.5,2 -33.5,4t-22.75,4.75t-13.25,5.5t-3.25,7t 4.5,8t 12.5,9.75t 19,11.5t 24.75,14q 36,19 53,24.5q-9,21.5 -13,60.5q-0.5,3 -1.5,9.5q-1.5,14 -2.25,20.25t-1,15.5t-0.5,12.5t 1.25,7.75t 2.25,5.25\nt 5,1.25t 6.75-1t 9.75-4.75t 12-6t 15.25-8.75l 7.5-4.5q 23-13 36.5-22.5q 13.5,9.5 36.5,22.5q 2.5,1.5 7,4.5q 11,6 15.75,8.75t 12,6t 9.75,4.75t 6.75,1t 5-1.25t 2.25-5.25t 1.25-7.75t-0.5-12.5t-1-15.5t-2.25-20.75q-1-6 -1-9q-4.5-39.5 -13.5-61q 17.5-5.5 53-24q 15-8.5 24.75-14t 19-11.5t 12.5-9.75t 4.5-8t-3.25-7\nt-13.25-5.5t-22.75-4.75t-33.5-4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"steam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,288l-5.5,0 l-123.5,85q 1,9.5 1,11q0,40 -28,68t-67.75,28t-67.75-28t-28-68q0-20.5 9-40l-64-63.5q-9.5-10 -9.5-23.5t 9.75-23.25t 23.5-9.75t 23.25,9.5l 63.5,63.5q 19.5-9 40-9q 2,0 11.5,1l 85-123.5q0-0.5 -0.25-2.5t-0.25-3q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 160,320q-6.5,0 -15,2l 37,37.5q 5.5,5 8,13q 2,6 2,11.5q0,13.5 -9.25,22.75t-22.75,9.25q-3,0 -6.5-0.5q-10.5-2 -18-9.5l-37.5-37q-2,8 -2,15q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 384.25,64q-39.75,0 -68,28.25t-28.25,68t 28.25,67.75\nt 68,28t 67.75-28t 28-67.75t-28-68t-67.75-28.25zM 384,224q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bomb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471,116q 9,9 9,21.75t-9,22.25l-19.5,19q 28.5,51 28.5,109q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75t-87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75q 58,0 108.5,28l 19-19.5q 9.5-9 22.25-9t 21.75,9l 12.5,12.5q 8-9 8-21\nq0-13 -9.5-22.5t-22.5-9.5q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75q 26.5,0 45.25,18.75t 18.75,45.25q0,25 -17.5,44zM 281.25,134.25q-27.75-27.75 -73.5-21.25t-82.75,43.75t-43.5,83.25t 21.25,73.75t 73.5,21.25t 82.75-43.75t 43.5-83.25t-21.25-73.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pacman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,256l 192.5,168.5q-36,41 -86,64.25t-106.5,23.25q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 56.5,0 106.5,23.25t 86,64.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ghost\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 459,505.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-47.5-57.5l-11.5,0 l-47.5,57.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-47.5-57.5l-11.5,0 l-47.5,57.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-47.5-57.5l-11.5,0 l-47.5,57.5q-4.5,6.5 -10.75,6.5t-10.75-6.5l-21.5-26l0-255.5 q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75\nt 47.75,71.5t 17.75,87l0,256 zM 256,160q0-13.5 -9.25-22.75t-22.75-9.25l-96,0 q-13,0 -22.5,9.25t-9.5,22.75l0,96 q0,13 9.5,22.5t 22.5,9.5l 96,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-96 zM 448,160q0-13.5 -9.25-22.75t-22.75-9.25l-96,0 q-13,0 -22.5,9.25t-9.5,22.75l0,96 q0,13 9.5,22.5t 22.5,9.5l 96,0 \nq 13.5,0 22.75-9.5t 9.25-22.5l0-96 zM 400,256l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,256l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boardgame\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,480q0,13.5 -9.5,22.75t-22.5,9.25l-256,0 q-13,0 -22.5-9.25t-9.5-22.75q0-26.5 10-50.5t 24-42.75l 28-37.5t 24-42.75t 10-50.5q0-9 -2-18.5q-28.5-17 -45.25-46.25t-16.75-63.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,34 -16.75,63.25t-45.25,46.25q-2,9 -2,18.5q0,26.5 10,50.5t 24,42.75\nl 28,37.5t 24,42.75t 10,50.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"die\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45t 45.25-18.5l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 144,352q-20,0 -34,14t-14,34t 14,34t 34,14\nt 34-14t 14-34t-14-34t-34-14zM 272,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34\nt-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trophy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,160q0,43.5 -21.5,80.5t-58.25,58.25t-80.25,21.25l-16,0 q-48,21.5 -48,64q0,51 40,69.5q 26,4.5 41,11.5t 15,15q0,13.5 -37.5,22.75t-90.5,9.25t-90.5-9.25t-37.5-22.75q0-8 15-15t 41-11.5q 40-18.5 40-69.5q0-42.5 -48-64l-16,0 q-43.5,0 -80.25-21.25t-58.25-58.25t-21.5-80.5\nq0-48 26.25-83t 70.25-50q-0.5-15.5 -0.5-27l 320,0 q0,12 -0.5,27q 44,15 70.25,50t 26.25,83zM 102.5,94q-38.5,21.5 -38.5,66q0,38.5 26.75,66.25t 64.75,29.25q-39-60.5 -53-161.5zM 285,96.5l-29-64.5l-29,64.5l-67,9l 49.5,48.5l-13,70l 59.5-34l 59.5,34l-13-70l 49.5-48.5zM 409.5,94\nq-14,101 -53,161.5q 38-1.5 64.75-29.25t 26.75-66.25q0-44.5 -38.5-66z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"podium\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-160 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,352q 6.5,0 11.25-4.75t 4.75-11.25l0-64 \nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 l0-32 l 48,0 zM 288,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,112 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-128 zM 448,368l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75\nl 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"joystickatari\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 128,0 q0-13 9.25-22.5t 22.75-9.5l0-256 q0-10 10.25-21t 21.75-11l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5l-32,64l0,192 q 13.5,0 22.75,9.5t 9.25,22.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 255.75,0\nq 13.25,0 22.75,9.5t 9.5,22.5l-64,0 q0-13 9.25-22.5t 22.5-9.5zM 64,320l 32,0 q 13,0 22.5,9.5t 9.5,22.5l-96,0 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"joystickarcade\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 128,0 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-166 q-28.5-10 -46.25-34.5t-17.75-55.5q0-39.5 28-67.75t 68-28.25t 68,28t 28,68q0,31 -17.75,55.5t-46.25,34.5l0,166 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75\nt-22.5,9.25zM 64,320l 32,0 q 13,0 22.5,9.5t 9.5,22.5l-96,0 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"controllersnes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,384q-48,0 -84.5-32l-87,0 q-36.5,32 -84.5,32q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5l 256,0 q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 192,224l-32,0 l0-32 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,32 l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.5t 22.75,9.5l 32,0 l0,32 \nq0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-32 l 32,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25zM 351.75,256q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 415.75,192q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5\nt-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"controllernes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,192 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,224l-32,0 l0-32 q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.5t-9.5,22.5l0,32 l-32,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 32,0 l0,32 q0,13.5 9.5,22.75t 22.75,9.25\nt 22.5-9.25t 9.25-22.75l0-32 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 352.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 448.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"controllerps\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320q0,25 -2.5,47t-8,40.75t-15.25,29.5t-22.25,10.75q-25.5,0 -48.5-19t-31.5-45q-21.5-64 -128-64t-128,64q-8.5,26 -31.5,45t-48.5,19q-12.5,0 -22.25-10.75t-15.25-29.5t-8-40.75t-2.5-47q0-23 4.75-50.75t 15-59.25t 30-58.25t 46.25-39.75l0-16 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 \nq 13,0 22.5,9.25t 9.5,22.75l 128,0 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,16 q 26.5,13 46.25,39.75t 30,58.25t 15,59.25t 4.75,50.75zM 144,192l-16,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,16 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 352,224q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25zM 384,191.75q0,13.25 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25\nt-22.5,9.25t-9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gamecursor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,352l-128,0 l0,128 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 128,0 l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5z\nM 96,192l-64,64l 64,64l0-128 zM 256,32l-64,64l 128,0 zM 224,255.75q0,13.25 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25t-22.5,9.25t-9.5,22.5zM 192,416l 64,64l 64-64l-128,0 zM 416,192l0,128 l 64-64z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psr2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-48,0 l0,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 \nq 13,0 22.5,9.25t 9.5,22.75l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 q0-29 -22-48q 22-19 22-48l0-32 zM 352,288q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,6.5 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.5-9.25\nt 22.75,9.5t 9.5,22.5l0,32 q0,13 -9.25,22.5t-22.75,9.5q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 q0,6.5 4.5,11.25t 11.5,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-72,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-24 q0-13.5 9.25-22.75t 22.75-9.25zM 160,256l-32,0 l0-96 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psr1\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-48,0 l0,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 \nq 13,0 22.5,9.25t 9.5,22.75l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 q0-29 -22-48q 22-19 22-48l0-32 zM 400,352l-16,0 l0-160 q0-26.5 -18.75-45.25t-45.25-18.75l0,0 q-7,0 -11.5,4.75t-4.5,11.25t 4.5,11.25t 11.5,4.75l0,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 160,256l-32,0 l0-96 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psl2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 208,352l-80,0 l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,223.5 l0,0.5 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 352,288q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.5t 9.25,22.5l0,32 q0,13 -9.25,22.5t-22.75,9.5q-26.5,0 -45.25,18.75t-18.75,45.25l0,48 \nq0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-72,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-24 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psl1\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-320,0 q-40,0 -68-28t-28-68l0-192 q0-40 28-68t 68-28l 320,0 q 40,0 68,28t 28,68l0,192 q0,40 -28,68t-68,28zM 208,352l-80,0 l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,223.5 l0,0.5 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 400,352l-16,0 l0-160 q0-26.5 -18.75-45.25t-45.25-18.75l0,0 q-7,0 -11.5,4.75t-4.5,11.25t 4.5,11.25t 11.5,4.75l0,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 361.5,421.5l 15-25q 5-6 5.25-16.5t-5.25-19t-16-8.5l-209-0.5q-10,0 -15.75,8.5t-5.5,19t 5.25,17l 15.5,25q-54-28.5 -86.5-81.5t-32.5-116q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,63 -32.25,115.75t-86.25,81.75zM 331.5,384\nq 4.5,6.5 4.5,15.5t-4.5,15l-64.5,91q-4.5,6.5 -10.75,6.5t-10.75-6.5l-65-91q-4-6.5 -4-15.25t 4-15.25l 151,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-63 32.5-116t 86.5-81.5l-15.5,25q-5,6.5 -5.25,17t 5.5,19t 15.75,8.5l 209-0.5q 10.5,0 16-8.5t 5.25-19t-5.25-16.5l-15-25q 54,29 86.25,81.75t 32.25,115.75q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75zM 180.5,128\nq-4.5-6.5 -4.5-15.25t 4.5-15.25l 65-91q 4.5-6.5 10.75-6.5t 10.75,6.5l 64.5,91q 4.5,6 4.5,15t-4.5,15.5l-151,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,266.5l-91,65q-6.5,4.5 -15.25,4.5t-15.25-4.5l0-151 q 6.5-4.5 15.5-4.5t 15,4.5l 91,64.5q 6.5,4.5 6.5,10.75t-6.5,10.75zM 352,151.5l0,209 q0,10 8.5,15.75t 19,5.5t 17-5.25l 25-15.5q-28.5,54 -81.5,86.5t-116,32.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75\nt 87-17.75q 63,0 115.75,32.25t 81.75,86.25l-25-15q-6-5 -16.5-5.25t-19.25,5.25t-8.75,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analogleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,480q-63,0 -116-32.5t-81.5-86.5l 25,15.5q 6.5,5 17,5.25t 19-5.5t 8.5-15.75l-0.5-209q0-10.5 -8.5-16t-19-5.25t-16.5,5.25l-25,15q 29-54 81.75-86.25t 115.75-32.25q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75zM 128,180.5l0,151 \nq-6.5,4.5 -15.25,4.5t-15.25-4.5l-91-65q-6.5-4.5 -6.5-10.75t 6.5-10.75l 91-64.5q 6-4.5 15-4.5t 15.5,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 486,209l-147.5-140q-11-11.5 -35.5-24.25t-39.5-12.75l-188,0 q-31.5,0 -53.5,21.75t-22,52.75l0,299 q0,31 22,52.75t 53.5,21.75l 188,0 q 15,0 41-12.5t 34-25l 147.5-139.5q 26-20 26-47t-26-47z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 303,26l 139.5,147.5q 11.5,11 24.25,35.5t 12.75,39.5l0,188 q0,31.5 -21.75,53.5t-52.75,22l-298.5,0 q-31,0 -52.75-22t-21.75-53.5l0-188 q0-15 12.5-41t 25-34l 139.5-147.5q 20-26 47-26t 47,26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 26,209l 147.5-140q 11-11.5 35.5-24.25t 39.5-12.75l 188.5,0 q 31,0 53,21.75t 22,52.75l0,299 q0,30.5 -22,52.5t-53,22l-188.5,0 q-15,0 -41-12.5t-34-25l-147.5-139.5q-26-20 -26-47t 26-47z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 201,486.5l-131.5-148q-12-11.5 -24.75-36t-12.75-39.5l0-188 q0-31 22-53t 52.5-22l 299,0 q 31,0 52.75,22t 21.75,53l0,188 q0,15.5 -12.5,41.25t-24.5,34.25l-132,148q-23.5,25.5 -55,25.5t-55-25.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pscursor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,352l-80,0 q-6.5,0 -16.75-5.5t-15.25-10.5l-64-64q-9.5-9.5 -9.5-16t 9.5-16l 64-64q 3.5-5.5 14.5-10.75t 17.5-5.25l 80,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5zM 336,144l-64,64q-9.5,9.5 -16,9.5t-16-9.5l-64-64q-5-5 -10.5-15.25t-5.5-16.75l0-80 q0-13.5 9.5-22.75t 22.5-9.25\nl 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,80 q0,6.5 -5.25,17.5t-10.75,14.5zM 208,272l-64,64q-5,5 -15.25,10.5t-16.75,5.5l-80,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 80,0 q 6.5,0 17.5,5.25t 14.5,10.75l 64,64q 9.5,9.5 9.5,16t-9.5,16zM 240,304q 9.5-9.5 16-9.5t 16,9.5l 64,64\nq 5.5,3.5 10.75,14.5t 5.25,17.5l0,80 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-80 q0-6.5 5.5-16.75t 10.5-15.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttony\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 368,100q-11.5-6 -24.25-3t-19.25,13.5l-68.5,95.5l-68.5-95.5q-6.5-10.5 -19.25-13.5t-24.25,3t-15,17.5t 3.5,21.5l 91.5,128.5l0,116.5 \nq0,13 9.5,22.5t 22.5,9.5t 22.5-9.5t 9.5-22.5l0-116.5 l 91.5-128.5q 7-10 3.5-21.5t-15-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttonx\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 379.5,139q 7-10 3.5-21.5t-15-17.5t-24.25-3t-19.25,13.5l-68.5,93.5l-68.5-93.5q-6.5-10.5 -19.25-13.5t-24.25,3t-15,17.5t 3.5,21.5\nl 85.5,117l-85.5,117q-7,10 -3.5,21.5t 15,17.5t 24.25,3t 19.25-13.5l 68.5-93.5l 68.5,93.5q 6.5,10.5 19.25,13.5t 24.25-3t 15-17.5t-3.5-21.5l-85.5-117z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttonb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 339,239q 13-22.5 13-47q0-40 -28-68t-68-28l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,256 q0,13 9.5,22.5t 22.5,9.5l 128,0 \nq 40,0 68-28t 28-68q0-25 -12-46.5t-33-34.5zM 288,352l-96,0 l0-64 l 96,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 256,224l-64,0 l0-64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"buttona\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 411.5,371l-126-256.5q-10.5-18.5 -29.5-18.5q-18.5,0 -27.5,15l-128,260q-7,11 -3.5,23t 15,18t 24.25,3t 19.25-14l 24.5-49l 152,0 \nl 24.5,49q 6.5,11 19.25,14t 24.25-3t 15-18t-3.5-23zM 211.5,288l 44.5-90.5l 44.5,90.5l-89,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttonx\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 379.25,132.75q-5.25-5.25 -12.75-5.25t-12.5,5l-98,98l-97.5-97.5\nq-5-5 -12.5-5t-12.75,5.25t-5.25,12.5t 5.5,12.75l 97,97.5l-97,97q-5.5,5.5 -5.5,13t 5.25,12.75t 12.75,5.25t 13-5.5l 97-97l 97.5,97q 5,5.5 12.5,5.5t 12.75-5.25t 5.25-12.75t-5.5-12.5l-97-97.5l 97.5-98q 5.5-5 5.5-12.5t-5.25-12.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttontriangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 272,104.5q-9.5-9 -16-9t-16,9l-144,248.5q0,11 2.25,17.75t 7.5,9.25\nt 9.5,3.25t 12.75,0.75l 256,0 q 8,0 12.75-0.75t 9.75-3.5t 7.25-9.5t 2.25-17.25zM 256,144l 128,208l-256,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttonsquare\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 384,160q0-13.5 -9.5-22.75t-22.5-9.25l-192,0 q-13,0 -22.5,9.25t-9.5,22.75l0,192 \nq0,13 9.5,22.5t 22.5,9.5l 192,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-192 zM 160,160l 192,0 l0,192 l-192,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"psbuttoncircle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,96q-43.5,0 -80.25,21.25t-58.25,58.25t-21.5,80.5t 21.5,80.25\nt 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.5t-58.25-58.25t-80.25-21.25zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firstaid\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-32 q0-40 28-68t 68-28l 64,0 q 40,0 68,28t 28,68l0,32 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,96q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25\nt-9.25,22.75l0,32 l 128,0 l0-32 zM 352,288l-64,0 l0-64 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,64 l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 64,0 l0,64 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-64 l 64,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bed\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 160,160l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-16 q0-25 17.5-36.5t 46.5-11.5q 19,0 48.5,8.25t 54.5,23.75t 25,32q0,13.5 -9.25,22.75t-22.75,9.25z\nM 128,352l0,64 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 l 64,0 zM 448,352l0,64 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 l 64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plaque\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q0-40 -28.25-68t-67.75-28l0-320 q 40,0 68-28t 28-68l 320,0 q0,40 28,68t 68,28l0,320 q-40,0 -68,28t-28,68zM 448,128q-26.5,0 -45.25-18.75t-18.75-45.25l-256,0 q0,26.5 -18.75,45.25t-45.25,18.75l0,256 q 26.5,0 45.25,18.75t 18.75,45.25l 256,0 q0-26.5 18.75-45.25t 45.25-18.75l0-256 \nzM 352,416l-192,0 q-5-23.5 -22.75-41.25t-41.25-22.75l0-192 q 23.5-5 41.25-22.75t 22.75-41.25l 192,0 q 5,23.5 22.75,41.25t 41.25,22.75l0,192 q-23.5,5 -41.25,22.75t-22.75,41.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"extinguisher\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 439,30l-121,49.5q-2.5,9 -7,16.5l 121,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-144,0 l0,36 q 42,11 69,45.5t 27,78.5l0,64 l0,128 q0,13.5 -9.5,22.75t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 l0-64 q0-44 27-78.5t 69-45.5l0-36 l-64,0 l0,0 q-26.5,0 -45.25,18.75t-18.75,45.25\nl0,256 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-256 q0-53 37.5-90.5t 90.5-37.5l0,0 l 32,0 q0-26.5 18.75-45.25t 45.25-18.75q 21,0 37.75,12.5t 23.25,32.5l 104-43q 6.5-3 13.75-1.25t 10.75,7.25t 1.75,12t-8.25,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-31.5 9.25-61.25t 24.25-48.25t 30.5-18.5q 13.5,0 22.75-9.25t 9.25-22.5t-7.5-33.25q-10.5-2.5 -17.5-11.25t-7-19.75q0-13 9.5-22.5t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5q0,11 -7,19.75t-17.5,11.25q-7.5,20 -7.5,33q0,13.5 9.25,22.75t 22.75,9.25\nq 15.5,0 30.5,18.5t 24.25,48.25t 9.25,61.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,277.5q0-36 -8-60.75t-24-24.75q-19.5,0 -41.75-17.25t-22.25-30.75l0-80 l-128,0 l0,80 q0,13.5 -22.25,30.75t-41.75,17.25q-16,0 -24,25t-8,60.5l0,128 q0,17.5 13.5,30t 32,12.5l 229,0 q 18.5,0 32-12.5t 13.5-30l0-128 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eye2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-61,0 -115.5-29.25t-91.75-80.5t-48.75-114.25q 11.5-63 48.75-114.25t 91.75-80.5t 115.5-29.25t 115.5,29.25t 91.75,80.5t 48.75,114.25q-11.5,63 -48.75,114.25t-91.75,80.5t-115.5,29.25zM 256,96q-81,0 -144.75,45.75t-79.25,114.25q 15.5,69 79.25,114.5t 144.75,45.5t 144.75-45.5\nt 79.25-114.5q-15.5-68.5 -79.25-114.25t-144.75-45.75zM 256,384q-53,0 -90.5-37.5t-37.5-90.5q0-30 13.5-57l 29,14.5q-10.5,21 -10.5,42.5q0,40 28,68t 67.75,28t 68-28t 28.25-67.75t-28.25-68t-67.75-28.25q-22,0 -43,10.5l-14-28.5q 27-14 57-14q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 227.5,199q 14-7 28.5-7q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-14.5 7-28.5l 57,28.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alert2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.5-22.75t 22.5-9.25l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 418.5,135q-9,9 -21.25,9t-20.75-8.75t-8.5-21t 8.5-21.25l 21-20.5q 8.5-9 20.75-9t 21,8.75t 8.75,21t-8.5,20.75zM 384,400q0,6.5 -4.75,11.25t-11.25,4.75l-224,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-144 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,144 zM 256.25,96q-13.25,0 -22.75-9.5t-9.5-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.5,9.5zM 93.5,135l-20.5-21q-9-8.5 -9-20.75t 8.75-21t 21-8.75t 20.75,9l 21,20.5\nq 8.5,9 8.5,21.25t-8.5,20.75t-20.75,8.5t-21.25-8.5zM 96,255.75q0,13.25 -9.25,22.75t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5zM 32,448l 448,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hamburger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-448,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 448,192l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.75q0-41 60.5-68.5t 163.5-27.5t 163.5,27.5t 60.5,68.5q0,13.5 -9.5,22.75t-22.5,9.25zM 32,320l 448,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75\nt-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25zM 64,416l 384,0 q 13,0 22.5,9.25t 9.5,22.75q0,23 -36,27.5t-188,4.5t-188-4.5t-36-27.5q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wrench2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 128.5,256q 28.5,0 61-18.5l 84.5,84l 0.5,0.5q-18.5,33 -18.5,61.5q0,52 38,89.5t 90,39l0-20 l-41-38.5q-23-22.5 -23-55t 23-55.5t 55.5-23t 55,23l 38.5,41l 20,0 q-1.5-52 -39-90t-89.5-38q-28.5,0 -61.5,18.5l-84-84l-0.5-0.5q 18.5-33 18.5-61.5q0-52 -38-89.5t-90-39l0,20 l 41,38.5q 23,22.5 23,55\nt-23,55.5t-55.5,23t-55-23l-38.5-41l-20,0 q 1.5,52 39,90t 89.5,38z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464.5,192l-142,0 q0,21.5 10,48.5t 22,48.75t 22,48.25t 10,46.5q0,28.5 -11.75,53.75t-32.25,43.25q 5,1 8.5,5.25t 3.5,9.75q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25q0-5.5 3.5-9.75t 9-5.25q-21-18 -32.75-43.25t-11.75-53.75q0-20.5 10-47t 22-48.25t 22-48.5t 10-48.25\nl-96,0 l0,144 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-144 l-14,0 q-10,0 -14.75-7t-1.25-16.5l 121.5-157.5q 1.5-4.5 7.5-7.75t 13-3.25l 165,0 q 6.5,0 12.5,3.25t 7.5,7.75l 118,157.5q 3,9.5 -2,16.5t-15,7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"science\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 478.5,377q-13,22.5 -43.25,32.25t-71.75,5.75q-18,45.5 -44.25,71.25t-56,25.75t-56-26t-44.25-71q-41.5,4 -71.75-5.75t-43.25-32.25q-13.5-24.5 -6.25-55.5t 33.75-65.5q-26.5-34.5 -33.75-65.5t 6.25-55.5q 13-22.5 43.5-32.25t 71.5-5.75q 18-45.5 44.25-71.25t 56-25.75t 56,25.75t 44.25,71.25\nq 41.5-4 71.75,5.75t 43.25,32.25q 14,24 6.5,55.25t-34,65.75q 26.5,34.5 34,65.5t-6.5,55.5zM 449.5,359q 18-30 -18.5-79.5q-20,21.5 -44,40.5q-4,33 -13,63.5q 58.5,3.5 75.5-24.5zM 175.5,166.5q 13-8.5 25.5-15.5q 2.5-1 19-9.5q-19.5-6 -36.5-9q-5,17 -8,34zM 217.5,179.5q-25,14 -48,30.5q-2,22.5 -2,46\nq0,20.5 2,46.5q 23.5,16.5 48,30q 21.5,12 45.5,22q 26-11 46.5-22q 25-14 48-30.5q 2-23 2-46q0-20 -2.5-46.5q-23.5-16.5 -47.5-30q-22-12 -46-22q-26,11 -46,22zM 136,236.5q-10,8.5 -20.5,19.5q 10,10.5 20.5,19.5q-0.5-14.5 -0.5-19.5q0-8 0.5-19.5zM 351.5,345.5q-14,8.5 -26,15.5l-19,9.5q 19,6 36.5,9q 5-17 8.5-34z\nM 391,275.5q 10-9 20-19.5q-9.5-10 -20.5-19.5q 1,16.5 1,19.5q0,5 -0.5,19.5zM 263.5,480q 20,0 38-18.25t 31-50.75q-33-6.5 -69.5-20.5q-36,14 -69,20.5q 13.5,32.5 31.5,50.75t 38,18.25zM 219.5,370.5q-11.5-5.5 -18.5-9.5q-11.5-6.5 -25.5-15.5q 3.5,20 8,34q 15.5-2.5 36-9zM 77,359q 17.5,28 75.5,24.5q-8.5-29.5 -13-63.5\nq-24-19 -44-40q-36,49.5 -18.5,79zM 77,153q-17.5,30 18.5,79q 20-21 44-40q 4-33 13-63.5q-58-3.5 -75.5,24.5zM 263.5,32q-20,0 -38,18.25t-31.5,50.75q 33.5,6.5 69.5,20.5q 36.5-14 69-20.5q-13.5-32.5 -31.25-50.75t-37.75-18.25zM 307.5,141.5q 10.5,5.5 18,9.5q 11,6.5 25.5,15.5q-3.5-19.5 -7.5-34\nq-15,2.5 -36,9zM 449.5,153q-17-28 -75.5-24.5q 8.5,29.5 13,63.5q 24,19 44,40q 36-49 18.5-79z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fence\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-192 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-20 2.5-25l 39-51.5q 2.5-3.5 6.25-3.5t 6.75,3.5l 38.5,51.5q 3,4 3,25l0,48 l 64,0 l0-48 q0-18.5 2.5-25l 39-51.5q 2.5-3.5 6.25-3.5\nt 6.75,3.5l 39,51.5q 2.5,4 2.5,25l0,48 l 64,0 l0-48 q0-21.5 2.5-25l 39-51.5q 2.5-3.5 6.25-3.5t 6.75,3.5l 38.5,51.5q 3,5.5 3,25l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,192 l 16,0 zM 224,192l-64,0 l0,192 l 64,0 l0-192 zM 384,192l-64,0 l0,192 l 64,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"director\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,224l0,32 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-1,0 q-2,8.5 -7,13.5l-103,66l 103.5,66.5q 8,8 8,19t-8,19t-19.25,8t-18.75-8l-114.5-73l-114.5,73q-8,8 -19,8t-19-8t-8-19t 8-19l 103.5-66.5l-103-66q-5-5 -7-13.5l-1,0 q-13.5,0 -22.75-9.25t-9.25-22.5\nt 9.25-22.75t 22.75-9.5l0-32 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l 192,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 256,368.5l 75.5-48.5l-151.5,0 zM 160,224l0,32 l 192,0 l0-32 l-192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"toast\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,183l0,265 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-265 q-14.5-8.5 -23.25-23t-8.75-32q0-35 34.25-64.25t 93.25-46.5t 128.5-17.25t 128.5,17.25t 93.25,46.5t 34.25,64.25q0,17.5 -8.75,32t-23.25,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addtolist\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 \nq-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,320l-384,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 zM 448,416l-384,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 z\nM 320,128l-32,0 l0,32 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-32 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.5-22.5t 22.5-9.25l 32,0 l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hanger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,352l0,4 q 83.5,11 137.75,45.5t 54.25,78.5q0,13 -14,22.5t-34,9.5t-34-9.5t-14-22.5q0-17.5 -21.5-32.25t-58.25-23.25t-80.25-8.5t-80.25,8.5t-58.25,23.25t-21.5,32.25q0,13 -14,22.5t-34,9.5t-34-9.5t-14-22.5q0-44.5 54.25-78.75t 137.75-45.25l0-4 q0-13 9.5-22.5t 22.5-9.5l0-64 q0-13 9.5-22.5t 22.5-9.5\nq 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,44 -27,78.5t-69,45.5l0,36 q 13.5,0 22.75,9.5t 9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"police\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128q0,31 16,93.5t 16,98.5q0,55 -30.25,91.5t-81.75,36.5q-20,0 -38.75,6.75t-31.5,16t-22.5,18.75t-14.5,15.75t-4.75,6.75q-1.5-2.5 -4.75-6.75t-14.25-15.5t-23-19.5t-31-15.25t-39-7q-51.5,0 -81.75-36.5t-30.25-91.5q0-36 16-98.5t 16-93.5q0-33.5 -7.25-56t-24.75-40q0-1.5 0.25-3.5t 2-7.5\nt 4.75-9.75t 9.5-7.75t 15.5-3.5q0,8 5.5,18.5t 15.25,21t 25.5,17.5t 33.75,7q 50,0 73-17.5t 23-46.5l 32,0 q0,29 23,46.5t 73,17.5q 18,0 33.75-7t 25.5-17.5t 15.25-21t 5.5-18.5q 9,0 15.5,3.25t 9.5,8t 4.75,9.5t 2.25,7.75l0,3.5 q-17.5,17.5 -24.75,40t-7.25,56zM 294.5,214l-38.5-86l-38.5,86l-89.5,12l 66,65\nl-17,93l 79-46l 79,46l-17-93l 66-65z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sheriff\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.75,192q-13.25,0 -22.25-9.5l-73.5,73.5l 73.5,73.5q 9-9.5 22.25-9.5t 22.75,9.5t 9.5,22.5t-9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l-83,0 l-60.5,100.5q 15.5,9.5 15.5,27.5q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75q0-18 15.5-27.5l-60.5-100.5l-83,0 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5\nt-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.25,9.5l 73.5-73.5l-73.5-73.5q-9,9.5 -22.25,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.75l 83,0 l 60.5-100.5q-15.5-9.5 -15.5-27.5q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5q0,18 -15.5,27.5l 60.5,100.5l 83,0 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75\nt-9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lightning2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,512l-202-202l-118,74l-192-256l 160-128l 116,220l 108-60z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"peace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 288,445.5q 49-8.5 88-40l-88-88l0,128 zM 224,445.5l0-128 l-88,88q 39,31.5 88,40zM 64,256q0,60.5 35,110.5l 125-125\nl0-174.5 q-68.5,11.5 -114.25,64.75t-45.75,124.25zM 288,67l0,174.5 l 125,125q 35-50 35-110.5q0-71 -45.75-124.25t-114.25-64.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"target\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 255.75,160\nq-39.75,0 -67.75,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28.25-68t-68-28zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flower\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467,297q-13.5,5.5 -34.75,4.75t-48.25-10.25q 5-17.5 5-35.5q0-55 -40-93q 16.5-19 32.5-30.5t 35.5-17.5l 0.75,0 l 0.25,0 l 0.5,0 l0,0 q 22.5-7 41.5,2t 23.5,28.5q 5.5,24 -10.5,50q 16,5 27.75,16t 15.25,23.5q 5,19 -9.25,37t-39.25,25l-0.5,0 zM 261,128q-39,0 -71,21.5q-16-24.5 -20.5-43.5t-4.5-42.5q0-26.5 14-45.25t 34-18.75\nq 12.5,0 25.75,7.75t 22.25,20.75q 9-13 22.25-20.75t 25.75-7.75q 20,0 34,18.75t 14,45.25q0,23.5 -4.5,42.5t-20.5,43.5q-32-21.5 -71-21.5zM 133,255.5q0,18.5 5,36q-27.5,9.5 -48.5,10.25t-35-4.75q-25-7 -39.25-25t-9.25-37q 3.5-12.5 15.25-23.5t 27.75-16q-16-26 -10.5-50q 4.5-19.5 23.5-28.5t 41.5-2l0,0 l 0.5,0 l 0.25,0 l 0.75,0 \nq 19.5,6 35.5,17.5t 32.5,30.5q-40,38 -40,92.5zM 79.5,376.5l0-0.5 q 0.5-0.5 1-1.75t 1-2t 1.25-1.75t 0.75-1.5q 11.5-19 25.75-31.5t 37.25-24.5q 15,30 43.25,49t 62.75,21.5q-2.5,29 -5,48.5q 0.5,17 -6,34q 0.5,4 -4,9q 1.5-2 3.5-8q-2.5,5.5 -3.5,8q-12.5,23 -33,32.5t-37-0.5q-11-7 -18.25-22t-7.75-32\nq-14,9 -30.75,10.25t-27.75-5.25q-14-7.5 -14.25-34t 10.25-47zM 165,255.75q0-39.75 28-67.75t 67.75-28t 68,28t 28.25,67.75t-28.25,68t-68,28.25t-67.75-28.25t-28-68zM 375.5,313q 23,12 37.25,24.5t 25.25,31.5q 0.5,0.5 1.25,1.5t 1.25,1.75t 1,2.25t 1,1.5l0,0.5 l 0.5,0.5q 10.5,20 10.25,46.75\nt-14.25,34.25q-11,6.5 -27.75,5.25t-30.75-10.25q-0.5,17 -7.75,32t-18.25,22q-16.5,10 -37,0.5t-33-33q-0.5-1.5 -3.5-7.5q 2,6 3.5,7.5q-4.5-4.5 -4-8.5q-6.5-17 -6-34q-2.5-19.5 -5-48.5q 34.5-2.5 62.75-21.5t 43.25-49z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"icecream\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,160l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25q0-17 7.5-26.75t 24.5-21.25q 1.5-39 29.75-67.5t 66.25-28.5q 36.5,0 63.5,24.5t 31.5,60.5q 11.5-5 25-5q 30.5,0 51.25,17.5t 20.75,46.5q0,6.5 -4.75,11.25t-11.25,4.75zM 128,192l 256,0 q 13,0 22.5,9.5t 9.5,22.5l-128,256q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5\nl-128-256q0-13 9.5-22.5t 22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"patch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,481q-31,31 -75,31t-75-31l-42-42.5q-5-20 9.5-35l 105-104.5q 15-15.5 36-9.5l 41.5,41.5q 31,31 31,75t-31,75zM 273,373.5q-10.5,10.5 -25,10.5t-25-10.5l-84.5-84.5q-10.5-10.5 -10.5-25.25t 10.5-24.75l 100.5-100.5q 10.5-10.5 25-10.5t 25,10.5l 84.5,84.5q 10.5,10 10.5,24.75t-10.5,25.25zM 108,213.5\nq-14.5,14.5 -35,9.5l-42-42q-31-31 -31-75t 31-75t 75-31t 75,31l 41.5,41q 6,21 -9.5,36.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"man\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 477.75,239q-14.25,0 -24.25-10t-10-24l0-93 l-132.5,132.5q 30.5,44 30.5,97q0,46.5 -23,85.75t-62.25,62t-85.5,22.75t-85.75-22.75t-62.25-62t-22.75-85.75t 22.75-85.75t 62.25-62t 85.5-22.75q 53.5,0 97,30l 133-132.5l-93.5,0 q-14,0 -24-10t-10-24t 10-24t 24-10l 171,0 q 14,0 24,10t 10,24\nl0,170.5 q0,14 -10,24t-24.25,10zM 170.75,239q-42.25,0 -72.25,30t-30,72.5t 30,72.5t 72.25,30t 72.25-30t 30-72.5t-30-72.5t-72.25-30z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"woman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,317l0,67 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-67 q-55.5-11.5 -91.75-55.5t-36.25-101.5q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5\nt 58.25,58.25t 21.5,80.25q0,57.5 -36.5,101.5t-91.5,55.5zM 255.75,64q-39.75,0 -67.75,28.25t-28,68t 28,67.75t 67.75,28t 68-28t 28.25-67.75t-28.25-68t-68-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"binoculars\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 l-32,0 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l-32,0 l0,192 q0,26.5 -18.75,45.25t-45.25,18.75l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-20.5 8.25-64.75t 24-85.75t 31.75-41.5l0-64 \nq-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 96,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l0,73 q 14.5,8.5 23.25,23t 8.75,32l 32,0 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.5t 9.25,22.5l 32,0 q0-17.5 8.75-32t 23.25-23l0-73 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 96,0 q 13.5,0 22.75,9.5\nt 9.25,22.75t-9.25,22.5t-22.75,9.25l0,64 q 16,0 31.75,41.5t 24,85.75t 8.25,64.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"croisant\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 525,144q0,4 -0.5,7t-2.5,4.75t-3.25,2.75t-5,1.25t-5.75,0.25l-7,0 l-8,0 q-6,0 -13.5-5t-13.5-10.75t-15.5-10.75t-20-5.5l 21.5-77q 22.5,15.5 38,31l 24.5,24.5q 4,4 6.5,7.5t 3.25,8t 1,6.5t0,7.75t-0.25,7.75zM 365.5,128l-33.5,0 q-15.5-27 -41.5-61.75t-49.5-61.25q 94.5-17.5 180.5,27l-27.5,96l-28.5,0 z\nM 289.5,185.5l-90.5,90.5q-9.5,9 -13,10.5t-16,1.5q-15.5,0 -65.5-36t-77.5-63.5q-8.5-8.5 -12-23.5t 1-28q 17.5-46 53-81.75t 81.5-52.75q 13-4.5 28-1t 23.5,11.5q 27.5,28 63.5,78t 36,65.5q0,12.5 -1.5,16t-10.5,13zM 141.5,417q 0.5,10.5 5.5,20t 10.75,15.5t 10.75,13.5t 5,13.5q0,16.5 -3.25,24.25t-12.75,7.75\nq-2,0 -7.75,0.25t-7.75,0t-6.5-1t-8-3.25t-7.5-6.5l-24.5-24.5q-15.5-15.5 -31-37.5zM 45.5,408q-44.5-86 -27-180.5q 26.5,23.5 61.25,49.5t 61.75,42l0,33 l0,28.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"orange\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,32q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87t 17.75,87t 47.75,71.5t 71.5,47.75t 87,17.75\nt 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87t-17.75-87t-47.75-71.5t-71.5-47.75t-87-17.75zM 441,306.5l-52-13l-91-37.5l 93.5-38.5l 49.5-12.5q 7,25.5 7,51q0,25 -7,50.5zM 285.5,226.5l 39-93.5l 26.5-44q 45.5,26 71.5,72l-45.5,27.5zM 256,214l-38.5-93l-12-50q 25.5-7 50.5-7t 50.5,7l-12.5,52zM 135.5,188.5\nl-46-27.5q 26-46 71.5-72l 27,44l 38.5,93.5zM 214.5,256l-91.5,37.5l-52,13q-7-25.5 -7-50.5t 7-51l 50,12.5zM 226.5,285.5l-37.5,91l-28,46q-45.5-26 -71.5-71.5l 43.5-27zM 256,298l 38,91l 12.5,52q-25.5,7 -50.5,7t-50.5-7l 12-50zM 379,324l 44,27q-26,45.5 -71.5,71.5l-28-46l-38-91z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paw\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,246.75q-13,24.75 -33,35.5t-35,1.25t-16.25-33.75t 11.75-49t 32.75-35.5t 34.75-1.25t 16.5,33.75t-11.5,49zM 257.5,480q-29,0 -43.25-0.25t-36.75-2t-33.75-5.75t-23.75-11t-17.5-18.25t-5-26.75q0-21 8-47t 23-51.25t 34.25-46.5t 44.25-34.25t 50.5-13t 50.5,13t 44.25,34.25t 34.25,46.5t 23,51.25t 8,47\nq0,15.5 -5,26.75t-17.5,18.25t-23.75,11t-33.75,5.75t-36.75,2t-43.25,0.25zM 319.5,190.75q-18.5-5.25 -26.25-29.75t-0.25-54t 25.75-46.5t 36.75-11.75t 26.25,29.75t 0.5,54t-25.75,46.5t-37,11.75zM 195.5,190.75q-18.5,5.25 -36.75-11.75t-25.75-46.5t 0.25-54t 26.25-29.75t 36.75,11.75t 25.75,46.5t-0.25,54\nt-26.25,29.75zM 13,246.75q-13-24.75 -11.5-49t 16.5-33.75t 34.75,1.25t 32.75,35.5t 11.75,49t-16.25,33.75t-35-1.25t-33-35.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rocket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 430.5,508.5l-46.5-124.5l-11.5,0 q-4,11.5 -12,33t-11.5,31l-61,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.5t-9.25-22.5l0-32 l-61.5,0 q-3-9.5 -11-31t-12-33l-11.5,0 l-46.5,124.5q-17.5-9 -17.5-28.5l0-96 q0-13.5 25.5-38.75t 38.5-25.25q0-68 16.25-133.5t 45.75-115.5t 66-71q 36.5,21 66,71t 45.75,115.5t 16.25,133.5\nq 13,0 38.5,25.25t 25.5,38.75l0,96 q0,19.5 -17.5,28.5zM 256,128q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forklift\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q-38,1.5 -67,30t-29,66l0,32 l-32,0 l0-32 q0-37.5 -30.25-66.75t-65.75-29.25l-96,0 l0,112 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 80,0 l0-368 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,240 l 64,0 l 64-224\nq0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 l0,32 l-64,0 zM 448,114q0-7.5 -5.75-12.75t-13.25-5.25l-115.5,0 q-8,0 -13.5,5.25t-5.5,12.75l-38.5,124q0,7.5 5.75,12.75t 13.25,5.25l 45,0 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l 32,0 l0-110 l0,0 z\nM 224,352q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 448,352q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"candle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 80,0 l 48,0 l 192,0 l 48,0 l 80,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 160,416l0-176 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,176 l-192,0 zM 266.5,192q 11-12 16.25-22.5t 5.25-25.5q0-8 -7.25-23t-14.75-26\nl-7.5-11q-0.5,5 -2.25,12.75t-9.25,24t-17.5,23.25q-5.5,3.5 -5.75,12.25t 2.75,18t 8,17.75q-9,0 -29.5-21.5q-13-14.5 -13-32.5q0-26.5 21.5-48q 11-10.5 13.5-33t-0.5-40l-2.5-17q 2,1 5.75,2.75t 14,8.25t 19.25,13.5t 19.75,18t 17.75,22q 10,16 15,34.5t 4.5,33q0,2.5 -0.25,9.75t-0.5,10.75t-0.75,8.5\nt-1.5,8.25t-2.5,4.75q-6.5,7.5 -22.25,12.75t-25.75,5.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flashlight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,442.5l-60,60q-9.5,9.5 -23,9.5t-23-9.5l-214-214.5l-86.5,0 q-13,0 -22.5-9.25t-9.5-22.75l 192-191.5q 13.5,0 22.75,9.25t 9.25,22.25l0,86.5 l 214.5,214q 9.5,9.5 9.5,23t-9.5,23zM 375,331.5l-66.5-66.5q-9-9 -21.75-9t-21.75,9t-9,21.75t 9,21.75l 66.5,66.5q 9,9 21.75,9t 21.75-9\nt 9-21.75t-9-21.75zM 44,216.5q-7.5,7.5 -18.25,7.5t-18.25-7.5t-7.5-18t 7.5-18l 173-173q 7.5-7.5 18-7.5t 18,7.5t 7.5,18.25t-7.5,18.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"remote\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,164.5q-4-4.5 -10-4.5t-10.5,4.5l-71.5,80.5q-4,4.5 -4,11t 4,11l 71.5,80.5q 4.5,4.5 10.5,4.5t 10-4.5l0-183 zM 347.5,107.5l-80.5-71.5q-4.5-4 -11-4\nt-11,4l-80.5,71.5q-4.5,4 -4.5,10.25t 4.5,10.25l 183,0 q 4.5-4 4.5-10.25t-4.5-10.25zM 160,256q0,40 28,68t 68,28t 68-28.25t 28-68t-28-67.75t-68-28t-68,28t-28,68zM 347.5,383.5l-183,0 q-4.5,4 -4.5,10.25t 4.5,10.25l 80.5,71.5q 4.5,4 11,4t 11-4l 80.5-71.5q 4.5-4 4.5-10.25t-4.5-10.25zM 476,245l-71.5-80.5\nq-4.5-4.5 -10.5-4.5t-10,4.5l0,183 q 4,4.5 10,4.5t 10.5-4.5l 71.5-80.5q 4-4.5 4-11t-4-11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"recycle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 387.5,480l-32.5,0 l0,20.5 q-7.5,10.5 -19,11.5l-5,0 q-11.5-1 -19.5-11.5l-43-56.5q-9-11.5 -9-28t 9-28l 43-56.5q 9-12 21.75-12t 21.75,12l0,20.5 l 47.5,0 l-37-70l 124-71.5l 26,45.5zM 450.5,196.5q-6,13.5 -22,21.5t-32,6l-73,0 q-17.5-2 -26.25-9.5t-2.75-20l 19-11.5l-54-103l-46,88l-123-64.5l 41-71.5l 256,0 l 45,78.5\nl 24-14.5q 16,2 23.25,12.75t 0.75,23.75zM 162.5,187.5l 30,64q 6.5,13 -0.75,23.75t-23.25,12.75l-14.5-7.5l-37.5,71.5l 111,0 l0,128 l-96,0 l-128-224l 23-40l-20-10.5q-6.5-13 3.25-28.25t 25.75-17.25l 73,0 q 16-2 32,6t 22,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperairplane\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,256l0,176 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 l-72-72l-136,136l-192-512l 512,192zM 416,256l-352-192l 352,352l0-160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"glasses\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 516,336q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.5t-9.5,22.5q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75\nq0-28.5 4-44.5q-8-14 -0.5-27.5l 108.5-171q 5.5-9.5 15.75-12.25t 19.5,2.75t 12,16.25t-2.75,20.25l-78,122.5q 21-2.5 49.5-2.5q 37.5,0 57.25,5.5t 28.25,18.5q 25.5,8 42.5,8t 42.5-8q 8.5-13 28.25-18.5t 57.25-5.5q 28.5,0 49.5,2.5l-78-122.5q-5.5-9.5 -2.75-20.25t 12-16.25t 19.5-2.75t 15.75,12.25l 108.5,171q 7.5,13.5 -0.5,27.5\nq 4,16 4,44.5zM 127.5,272q-30,0 -48,3.25t-27.75,12t-12.75,20t-3,31.25q0,24.5 5.25,40t 16.25,23.75t 24.5,11t 34,2.75t 34-2.75t 24.75-11t 16.25-23.75t 5-40l0-14 t-0.5-11.75t-1.25-10.5t-2.5-8.25t-4.25-7.25t-6.25-5.5t-8.75-4.25t-11.5-2.5t-14.75-2t-18.75-0.5zM 392.5,272q-10.5,0 -18.5,0.5t-14.75,2\nt-11.75,2.5t-8.75,4.25t-6.25,5.5t-4.25,7.5t-2.5,8.25t-1.25,10.25t-0.5,11.75l0,14 q0,24.5 5.25,40t 16.25,23.75t 24.5,11t 34,2.75t 34-2.75t 24.75-11t 16.25-23.75t 5-40q0-20 -3-31.25t-12.75-20t-27.75-12t-48-3.25zM 388,336q-15,0 -23.5-4.5t-8.5-11.5t 8.5-11.5t 23.5-4.5q 48,0 48,16t-48,16zM 100,336\nq-15,0 -23.5-4.5t-8.5-11.5t 8.5-11.5t 23.5-4.5q 48,0 48,16t-48,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sunglasses\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 516,336q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5q0,35 -7.25,57.75t-22.75,34.25t-34.25,15.75t-47.75,4.25t-47.75-4.25t-34.25-15.75t-22.75-34.25t-7.25-57.75\nq0-28.5 4-44.5q-8-14 -0.5-27.5l 108.5-171q 5.5-9.5 15.75-12.25t 19.5,2.75t 12,16.25t-2.75,20.25l-78,122.5q 21-2.5 49.5-2.5q 37.5,0 57.25,5.5t 28.25,18.5q 25.5,8 42.5,8t 42.5-8q 8.5-13 28.25-18.5t 57.25-5.5q 28,0 49.5,2.5l-78-122.5q-5.5-9.5 -2.75-20.25t 12-16.25t 19.5-2.75t 15.75,12.25l 108.5,171q 7.5,13.5 -0.5,27.5\nq 4,16 4,44.5zM 68,272q-15,0 -23.5,9t-8.5,23t 8.5,23t 23.5,9q 26.5,0 45.25-9.25t 18.75-22.75t-18.75-22.75t-45.25-9.25zM 356,272q-15,0 -23.5,9t-8.5,23t 8.5,23t 23.5,9q 26.5,0 45.25-9.25t 18.75-22.75t-18.75-22.75t-45.25-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screwdriver2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 474.25,474.25q-37.75,37.75 -91.5,37.75t-91.25-38l-51.5-51.5q-0.5-35 -25.25-60t-60.25-26.5q-8-10 -10.5-21l0-17.5 q 3.5-13 16-25.5l 112-112q 12.5-12.5 25.5-16l 17.5,0 q 10.5,2.5 21,10.5q 1,35.5 26.25,60.25t 60.25,25.25l 51.5,51.5q 38,37.5 38,91.25t-37.75,91.5zM 260.75,356.75q-4.75,4.75 -4.75,11.5t 5,11.75\nl 111,111q 4.5,5 11.5,5t 11.75-4.75t 4.75-11.75t-5-11.5l-111-111q-5-5 -11.75-5t-11.5,4.75zM 332,309q-5-5 -11.75-5t-11.5,4.75t-4.75,11.5t 5,11.75l 127,127q 4.5,5 11.5,5t 11.75-4.75t 4.75-11.75t-5-11.5zM 380,261q-5-5 -11.75-5t-11.5,4.75t-4.75,11.5t 5,11.75l 111,111q 4.5,5 11.5,5\nt 11.75-4.75t 4.75-11.75t-5-11.5zM 176,224l-80-80l-48,0 l-48-96l 48-48l 96,48l0,48 l 80,80z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screwdriver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 489,489.25q-23,22.75 -55.25,22.75t-55.25-23l-42.5-41l-48-48q0-19.5 -14-33.75t-34-14.25l-3.5-3.5q-23.5-23.5 -2-45.5l 23.5-23.5l-151.5-151.5l-58.5,0 l-48-96l 32-32l 96,48l0,58.5 l 151.5,151.5l 23.5-23q 21.5-22 45.5,2l 3.5,3.5q 0.5,20 14.5,33.75t 33.5,13.75l 48,48l 41,42.5q 23,23 23,55.5t-23,55.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hammer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.25,496.25q-15.75,15.75 -38,15.75t-38.25-16l-116.5-116.5q-18.5-18.5 -15-45l-139.5-139.5l-50,51.5q-9,9.5 -22.25,9.5t-22.75-9.5l-44.5-46q-9.5-10 -9.5-23.25t 9.5-23.25l 118.5-122l 134.5,0 q 9.5,9.5 9.5,23t-9.5,23l-68.5,70.5l 140.5,140q 26.5-3.5 45,15l 116.5,116.5q 16,16 16,38.25t-15.75,38z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shovel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 497,497q-21.5,18.5 -56.75,14.5t-71.25-21t-56.5-37l-47-47q-9.5-10 -9.5-23.75t 9.5-23.25l 24-24l-193.5-194l-41,41q-9.5,9.5 -22.75,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.75l 127.5-127.5q 9.5-9.5 22.75-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.75l-41,41l 194,193.5l 24-24q 9.5-9.5 23.25-9.5t 23.75,9.5l 47,47\nq 20,20.5 37,56.5t 21,71.25t-14.5,56.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"crown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128l-0.5,0 l-0.5,0 l 1,222l0,0.75 l0,1.25 q0,13 -9.5,22.5t-22.5,9.5l-384,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-1.25 l0-0.75 l 1-222l-0.5,0 l-0.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75q0,16.5 -13.5,26l 109.5,155l 83-184q-8.5-3.5 -13.75-11.5t-5.25-17.5q0-13.5 9.25-22.75t 22.5-9.25\nt 22.75,9.25t 9.5,22.75q0,9.5 -5.25,17.5t-13.75,11.5l 83,184l 109.5-155q-13.5-9.5 -13.5-26q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 32,416l 223.5,0 l 0.5,0 l 0.5,0 l 223.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchoff2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,32q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 64.25,416\nq-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 384,160l-256,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 256,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 q0-13.5 -9.5-22.75t-22.5-9.25zM 447.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75\nt 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25zM 447.75,416q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25zM 352,320l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switchon2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 63.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 64,416\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 384,160l-256,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 256,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25zM 448,32q-13.5,0 -22.75,9.25t-9.25,22.5\nt 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 448,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25zM 224,320l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 \nq0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerplugus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,480q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 64.25,32\nq-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 362,96l-212,0 q-39.5,26.5 -62.75,68.75t-23.25,91.5t 23.25,91.25t 62.75,68.5l 212,0 q 39.5-26.5 62.75-68.5t 23.25-91.5t-23.25-91.5t-62.75-68.5zM 448.25,32q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75\nt 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 448.25,416q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 351.5,384l-191,0 q-30-22.5 -47.25-56t-17.25-72t 17.25-72t 47.25-56l 191,0 q 30,22.5 47.25,56t 17.25,72t-17.25,72t-47.25,56z\nM 192,208q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 288,320q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l0,32 l 64,0 l0-32 zM 352,208q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerplugeu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,480q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 64.25,32\nq-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 256,96q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 447.75,32\nq-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 447.75,416q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\nM 192.25,224q-13.25,0 -22.75,9.25t-9.5,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.5-9.25zM 320,224q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"switch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 63.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 63.75,416\nq-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 352,128q0-13.5 -9.5-22.75t-22.5-9.25l-128,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,256 q0,13 9.25,22.5t 22.75,9.5l 128,0 q 13,0 22.5-9.5t 9.5-22.5l0-256 zM 448,32q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75\nt 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 448,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 288,384l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5\nt-22.5,9.5zM 288,256l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"icecream2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,352l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,192 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,480q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-96 l 64,0 l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"student\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,432q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-210.5 l-176.5,88.5q-20,10 -47.5,10t-47.5-10l-189-94.5q-19.5-10 -19.5-23.75t 19.5-23.25l 189-94.5q 20-10 47.5-10t 47.5,10l 189,94.5q 17,8.5 19,21q 0.5,0.5 0.5,2l0,0.5 l0,240 l0,0 zM 319.5,342l 96.5-48.5l0,70.5 q0,21.5 -46.75,36.75t-113.25,15.25\nt-113.25-15.25t-46.75-36.75l0-70.5 l 96.5,48.5q 20,10 63.5,10t 63.5-10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"megaphone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 474.5,505.5l-146-121.5l-200.5,0 l0,96 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 296.5,0 l 146-121.5q 5.5-6 14.75-6.25t 16,3.75t 6.75,10l0,484.5 q0,6 -6.75,10t-16,3.5t-14.75-6.5zM 240,128l-64,0 \nq 6.5,0 11.25,4.75t 4.75,11.25l0,224 q0,6.5 -4.75,11.25t-11.25,4.75l 64,0 q-7,0 -11.5-4.75t-4.5-11.25l0-224 q0-6.5 4.5-11.25t 11.5-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperclip3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 271.75,512q-47.75,0 -88.25-23.25t-64-63.25t-23.5-87.5l0-210 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,176 q0,33 -23.5,56.5t-56.5,23.5t-56.5-23.5t-23.5-56.5l0-80 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,80 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-176 q0-64 -64-64\nt-64,64l0,205 q0,47.5 32.75,81.25t 79.25,33.75t 79.25-33.75t 32.75-81.25l0-141 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5l0,146 q0,47.5 -23.75,87.5t-64.25,63.25t-88.25,23.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperclip2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.5,183.5q-1.5,1.5 -3.25,4.75t-4.25,3.75l-176,176q-16,16 -32,16l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-5 2.5-10t 5-7.5t 7.5-7t 6-6l 89.5-89.5q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5l-87.5,87.5l0,23.5 l 23,0 l 160-160l-87.5-87.5l-223.5,224l0,151.5 l 151,0 l 183.5-183.5q 8.5-8.5 20.5-8.5t 20.25,8.5\nt 8.25,20.25t-8,20.25l-185.5,185.5q-2.5,2.5 -7,7.75t-7,7.25t-6.75,4.25t-9.25,2.25l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-5 3-10.25t 5.75-8.5t 7.5-7.25t 5.25-4.5l 234.5-241.5l 8-8q 9.5-9.5 23.5-8q 14.5-1.5 24,8l 8.5,8l 112,112q 3.5,4.5 7.5,8q 9,9.5 7.5,24q 1.5,14 -7.5,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paperclip\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 268,416q 4-3.5 80-78.5t 89-88.5q 9.5-9 22.75-9t 22.75,9.25t 9.5,22.75t-9.5,22.5q-11,11 -86.5,87t-79.5,79.5q-34,33.5 -79.75,45.5t-91.5-0.5t-80.25-46.5t-47-79.5t-0.5-90.75t 46-79.25l 174-172q 38-38 92-38t 92.25,37.75t 38.25,91.25t-38,91l-143,141.5q-23.5,22.5 -57.5,22.5\nt-57.75-22.75t-23.75-54t 23.5-54.25q 8.5-8.5 57.5-58.75t 56-57.25q 9.5-9.5 22.75-9.5t 22.5,9.5t 9.25,22.75t-9,22.75q-5.5,5 -56.25,56.5t-55.75,56.5q-4.5,4.5 -4.5,11t 4.75,11t 11.25,4.5t 11.5-4.5l 142.5-143q 46-45.5 -0.25-91.25t-92.25,0.25l-175.5,172.5q-34.5,34.5 -34.25,80.75t 34,79.5t 79.75,33.5\nt 80.5-33.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microscope\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,224q0,67 -36.25,121.75t-94.75,81.75q 30.5,12.5 48.75,35t 18.25,49.5l-256.5,0 q0-20.5 11.25-39t 30.75-32q-25.5-6.5 -58-25q-7.5-3.5 -11.75-12.5t-4.25-19.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5q 43.5,0 80.5-21.5t 58.5-58.25t 21.5-80.25\nq0-36 -15.25-67.75t-41.75-54.25l-27.5,43q0,0.5 -0.5,0.75l-0.5,0.25l 4.5,2.5q 12,6.5 15.5,19.5t-3.5,24.5l-51,79.5q-7,11.5 -20.25,15t-25.25-3.5l-58-32q-12-6.5 -15.5-19.5t 3.5-24.5l 50.5-79.5q 7-11 20-14.5t 25,2.5l 64-101.5q 6.5-10.5 19.5-13.5t 24.5,3t 14.75,17.75t-3.25,22.25l-2.5,3.5q 40.5,31.5 63.75,77.5\nt 23.25,99z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"radioactive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,448l0-128 q-17,0 -31.5-8.5t-23-22.5l-110,66q 25.5,42.5 69.25,67.75\nt 95.25,25.25zM 256,64q-51.5,0 -95.25,25.5t-69.25,68l 110,66q 8.5-14.5 23-23t 31.5-8.5l0-128 zM 255.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 420.5,157.5l-110,66q 9.5,15.5 9.5,32.5t-9,32l 111,64q 26-44.5 26-96q0-53 -27.5-98.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"magnet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 365.5,384l 18.5-128q0-66.5 -30.75-97.25t-97.25-30.75t-97.25,30.75t-30.75,97.25l 18.5,128l-128,0 l-18.5-128q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l-18.5,128l-128,0 zM 151,416l 9,64q0,13 -18.75,22.5t-45.25,9.5t-45.25-9.5\nt-18.75-22.5l-9-64l 128,0 zM 489,416l-9,64q0,13 -18.75,22.5t-45.25,9.5t-45.25-9.5t-18.75-22.5l 9-64l 128,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eye\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-61,0 -115.5-25t-91.75-69t-48.75-98q 11.5-54 48.75-98t 91.75-69t 115.5-25t 115.5,25t 91.75,69t 48.75,98q-11.5,54 -48.75,98t-91.75,69t-115.5,25zM 133,154q-39,17.5 -65.5,44t-35.5,58q 9,32 35.75,58.5t 65.25,44q-37-44.5 -37-102.5t 37-102zM 256,192\nq-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 379,154q 37,44 37,102t-37,102.5q 39-17.5 65.5-44t 35.5-58.5q-9-31.5 -35.5-58.25t-65.5-43.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fire\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384.5,464q-48.5,48 -96.5,48q 28-27 38-54.75t 10-73.25q0-21 -17.75-60.75t-35.75-70.25t-18-29q-1,5 -2.75,13t-9,30.5t-16.25,42t-25.25,41t-35.25,33.5q-15.5,10 -16.5,33.25t 8.5,48t 24,46.75q-27,0 -88-58q-20.5-19 -30.25-43t-9.75-43q0-32 17.75-66.75t 47.75-61.25\nq 25.5-23 41.25-48.5t 20.25-48.25t 3.75-44.75t-6.75-39.5t-12-31t-11-20.5l-5-7.5q 6.5,2.5 17.25,7.5t 41.5,22t 58.25,35.5t 60,47.75t 53.5,59.75q 29,42 44.25,91.25t 13.75,88.25q-1,20 -14.5,45t-26,40.25t-23.5,26.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flaskfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,378q 21.5,31.5 28.25,62.25t-4.25,51.25t-39,20.5l-421,0 q-28,0 -39-20.5t-4.25-51.25t 28.25-62.25l 129.5-164l0-150 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,150 zM 294.5,224l0-160 l-64,0 l0,160 l-74.5,96l 213,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flask\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,378q 21.5,31.5 28.25,62.25t-4.25,51.25t-39,20.5l-421,0 q-28,0 -39-20.5t-4.25-51.25t 28.25-62.25l 129.5-164l0-150 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,150 zM 294.5,224l0-160 l-64,0 l0,160 l-121.5,156q-16,16.5 -22.25,31.75\nt 1.75,25.75t 32,10.5l 284,0 q 23.5,0 31.75-10.5t 2-25.75t-22.75-31.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shredder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,383l0-64 q0-13.5 -9.5-22.75t-22.5-9.25l-288,0 q-13,0 -22.5,9.25t-9.5,22.75l0,64 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 288,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 400,191l-256,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,319q 6.5,0 11.25,4.5t 4.75,11l0,160.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-160.5 q0-6.5 4.75-11t 11.25-4.5zM 208,319q 7,0 11.5,4.5\nt 4.5,11l0,128.5 q0,6.5 -4.5,11.25t-11.5,4.75t-11.5-4.75t-4.5-11.25l0-128.5 q0-6.5 4.5-11t 11.5-4.5zM 272,319q 6.5,0 11.25,4.5t 4.75,11l0,96.5 q0,6.5 -4.75,11t-11.25,4.5t-11.25-4.5t-4.75-11l0-96.5 q0-6.5 4.75-11t 11.25-4.5zM 336,319q 7,0 11.5,4.5t 4.5,11l0,160.5 q0,6.5 -4.5,11.25t-11.5,4.75t-11.5-4.75t-4.5-11.25l0-160.5 q0-6.5 4.5-11\nt 11.5-4.5zM 400,319q 6.5,0 11.25,4.5t 4.75,11l0,128.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-128.5 q0-6.5 4.75-11t 11.25-4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cash\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-4.75t-9.5-11.25l0-64 l0-64 l0-32 l0-32 l0-32 l0-32 q0-0.5 1.5-5l 57-126.5q 1.5-5 10-8.75t 18.5-3.75l 341,0 q 10.5,0 18.75,3.75t 10.25,8.75l 54,126.5q 1,3 1,5l0,32 l0,32 l0,32 l0,32 l0,64 l0,64 q0,6.5 -9.5,11.25t-22.5,4.75zM 160,96l-7.5,0 q-6.5,12 -22.75,22t-33.75,10l-28.5,0 l-13,32l 41.5,0 \nq 25.5,0 32.25,4.25t 4.25,19.25l-1.5,8.5l 29,0 l0-96 zM 160,224l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 160,288l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 160,352l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 160,416l-128,0 l0,24 q0,3.5 4.75,5.75t 11.25,2.25l 112,0 l0-32 zM 320,336\nq0-6.5 -4.75-11.25t-11.25-4.75l-80,0 l0-32 l 80,0 q 10,0 14.5-9q-3-10 -11.5-16.5t-19-6.5l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 l0,32 l-80,0 q-10,0 -14.5,9.5q 3.5,10 11.75,16.25t 18.75,6.25l0,16 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-48 zM 445,128l-29,0 q-17.5,0 -32.75-9.75t-21.25-22.25l-10,0 l0,96 l 29.5,0 l-1-8.5q-2.5-14.5 10.5-19t 41-4.5l 25.5,0 zM 480,224l-128,0 l0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 zM 480,288l-128,0 l0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 zM 480,352l-128,0 \nl0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 zM 480,416l-128,0 l0,32 l 112,0 q 6.5,0 11.25-2.25t 4.75-5.75l0-24 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"factory\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,211 l 96-77.5q 13-8 22.5-5t 9.5,15l0,67.5 l 96-77.5q 13-8 22.5-5t 9.5,15l0,67.5 l 96-77.5q 13.5-8 22.75-5t 9.25,15l0,304.5 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"creditcard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-224 l 512,0 l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 80,384l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 144,256l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,256l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 256,368q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25zM 336,256l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,256l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM0,96\nq0-13 9.25-22.5t 22.75-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 l-512,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bill\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,192l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 l-256,0 l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0,128 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 l 256,0 \nl0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 l0-128 zM 256,384q-40,0 -68-37.5t-28-90.5t 28-90.5t 68-37.5t 68,37.5t 28,90.5t-28,90.5t-68,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sale\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,195.5l-45.5,61l 45.5,60.5q-2,9 -3.5,14.5l-70,30l 8.5,75.5q-4.5,5 -10,10.5l-75.5-9l-30.5,70l-14,3.5l-61-45.5l-61,45.5q-9-2 -14-3.5l-30.5-70l-75.5,9q-3.5-4 -10-10.5l 8.5-75.5l-70-30q-1.5-5 -3.5-14.5l 45.5-60.5l-45.5-61q 2-8.5 3.5-14l 70-30l-8.5-75.5q 4.5-5 10-10.5l 75.5,9l 30.5-70\nq 4.5-1.5 14-3.5l 61,45l 61-45q 9,2 14,3.5l 30.5,70l 75.5-9q 5,5 10,10.5l-8.5,75.5l 70,30z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"barcode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25zM 400,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-479.5 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,479.5 q0,6.5 -4.75,11.25t-11.25,4.75zM 320.25,512q-13.25,0 -22.75-9.25\nt-9.5-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25zM 208,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-479.5 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,479.5 q0,6.5 -4.75,11.25t-11.25,4.75zM 128.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75\nt 22.5-9.25t 22.5,9.25t 9.5,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25zM 32.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,447.5 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"qrcode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,320q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,192l-16,0 l0,16 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 l0-32 l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-64 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 64,0 l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 432,128l-32,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,160l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-48,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-16,0 l-32,0 l-48,0 l0,32 l 32,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-48,0 q-6.5,0 -11.25-4.25t-4.75-10.25l0-49.5 l-32,0 l0,17.5 q0,6 -4.75,10.25t-11.25,4.25t-11.25-4.25t-4.75-10.25l0-30 q0-1 0.5-2q0-0.5 -0.25-0.75t-0.25-0.75l0-160 \nq0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,32 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,32 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 zM 160,48q0-6.5 -4.75-11.25\nt-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 112,128l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,256q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 240,288q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 272,224q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75zM 384,240q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25zM 16,320l 48,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 l 64,0 l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 112,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,16 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-48 l-96,0 l0,80 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75zM 336,416\nl 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75zM 32,464q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 z\nM 80,384l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 368,352q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 240,384q 6.5,0 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 272,480q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 432,480l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25\nt-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rubberstamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 173,0 q 19-24.5 19-64q0-36.5 -14-66.75t-37.5-46.75q-12.5-22 -12.5-46.5q0-40 28-68.25t 68-28.25t 68,28.25t 28,68.25q0,24.5 -12.5,46.5q-23.5,16.5 -37.5,46.75t-14,66.75q0,39.5 19,64l 173,0 q 13.5,0 22.75,9.25t 9.25,22.75\nl0,32 q0,13 -9.25,22.5t-22.75,9.5zM 480,480q0,13 -9.25,22.5t-22.75,9.5l-384,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 l 448,0 l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shoppingbag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 64,0 l0-64 l 64-63.5l0,127.5 l 192,0 l0-127.5 l 64,63.5l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,0.5l 128,0 l0,63.5 l-128,0 l0-63.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"store\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,256q-26.5,0 -45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-17 16-48l 46-119.5q 3.5-10.5 13-17.5t 19-7l 326,0 q 10,0 19.25,7\nt 12.75,17.5l 44,119.5q 1,2.5 4.75,10.75t 5.75,13t 3.75,11.75t 1.75,12.5q0,26.5 -18.75,45.25t-45.25,18.75zM 32,448l0-128 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,128 l 96,0 l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 l 96,0 l0-128 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25\nt 9.5,22.75l0,128 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"moneybag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,511.5q-22.5,0.5 -112,0.5t-112-0.5q-63.5-1.5 -95.75-8.5t-32.25-23.5q0-10 10-40.25t 22-63.5t 22-76.5t 10-75.75q0-96 176-96t 176,96q0,32.5 10,75.75t 22,76.5t 22,63.5t 10,40.25q0,16.5 -32.25,23.5t-95.75,8.5zM 272,239.5q 34,0 56.75,8t 23.25,23.5l0,0.5 q0,6.5 4.75,11.25t 11.25,4.75\nt 11.25-4.75t 4.75-11.25q0-58.5 -96-63.5l0-16.5 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16.5 q-96,5 -96,63.5q0,11 3.25,19t 10.5,13.25t 15.75,8.5t 22.5,4.75t 27,2t 33,0.5q 34.5,0 57.25,8.25t 22.75,23.75t-22.75,23.75t-57.25,8.25q-34,0 -56.75-8t-23.25-23.5l0-0.5 q0-6.5 -4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25q0,58.5 96,63.5l0,16.5 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16.5 q 96-5 96-63.5q0-64 -112-64q-7,0 -17.5,0.25t-17,0.5t-14.5,0t-13-1.25t-9.5-2.75t-6.5-5t-2-7.75q0-15.5 23-23.75t 57-8.25zM 272,95.5q-30,0 -55,3q-10.5-21 -17.75-40.75\nt-7.25-26.25q0-8 13-16q 12,7 30.5,11.5t 36.5,4.5t 36.5-4.5t 30.5-11.5q 13,8 13,16q0,6.5 -7.25,26.25t-17.75,40.75q-25-3 -55-3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"googlewallet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512q-26.5,0 -45.25-18.75t-18.75-45.25q-4.5-40.5 -20.25-84.5t-43.75-75.5q-2.5,38 -10.75,77.75t-21.25,66.25q-12,24 -29,36t-35,12q-26.5,0 -45.25-18.75t-18.75-45.25q0-30 -15-66.25t-35.5-63t-37-35.25q-18-7.5 -29.25-23.5t-11.25-36q0-25.5 15.75-44.75t 32.25-19.25q 17.5,0 37,7.75t 32.5,21.75\nq 7,7.5 15,18.75t 22,32.25t 21.5,32q0-43.5 -4-74t-8-46.5t-4-24q0-26.5 18.75-45.25t 45.25-18.75q 19,0 34.25,10t 23.25,26.5q 33.5,34.5 101,141q-3.5-61 -15.5-105q-15-18 -15-40.5q0-26.5 18.75-45.25t 45.25-18.75q 16.5,0 27.75,8.25t 20.25,23.75q 2,3.5 5.25,10t 11.5,28.5t 14.5,46.25t 11.5,62.25t 5.25,77\nq0,72 -9.25,124.75t-22.75,83.25q-21.5,48 -64,48z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"squareapp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-40,0 -68-28.25t-28-67.75l0-320 q0-40 28-68t 68-28l 320,0 q 39.5,0 67.75,28t 28.25,68l0,320 q0,39.5 -28.25,67.75t-67.75,28.25zM 416,112q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,288 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl0-288 zM 304,320l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cashregister\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-416,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 416,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 256,416l-32,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 32,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25zM 448,352l-416,0 q-13.5,0 -22.75-9.5\nt-9.25-22.5l0-160 q0-13.5 25.25-38.75t 38.75-25.25l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 288,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q 13,0 38.5,25.25t 25.5,38.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 256,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 256,208q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,208q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 64,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 112,160l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75zM 352,80q0-6.5 -4.75-11.25t-11.25-4.75l-192,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75\nl 192,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 416,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 416,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"officechair\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,320l-48,0 q0,13 -9.5,22.5t-22.5,9.5l-64,0 l0,64 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l-96,0 l-96,0 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 80,0 l0-64 l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-128 q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,112 l 64,0 l 64,0 l0-32.5 q-18.5,0 -31.5-1.5t-26-5.75t-20.75-11t-12.75-18t-5-27.25q0-92 36-142t 92-50t 92,50t 36,142q0,16 -5,27.25t-12.75,18t-20.75,11t-26,5.75t-31.5,1.5l0,32.5 l 64,0 l 64,0 l0-112 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,128 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 384,479.75q0,13.25 -9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75t 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5zM 288,479.75q0,13.25 -9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75t 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5zM 192,479.75q0,13.25 -9.5,22.75t-22.75,9.5t-22.5-9.5\nt-9.25-22.75t 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"appointment\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,512q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 464,384l-48,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6 3.75,10.25t 9.25,5.25q 1,0.5 3,0.5l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 240,416l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 144,320l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 304,288l-160,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,224l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,96l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,160l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 416,48q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 \nq 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l0,32 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l0,32 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l0,32 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 208,0 l0,32 l-224,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-32 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0-32 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0-32 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l0-32 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 352,0 q 13,0 22.5,9.25t 9.5,22.75l0,224 l-32,0 l0-208 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exchange\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,336q-6.5,0 -11.25-4.75t-4.75-11.25l0-0.5 q-0.5-15 -19.25-23.25t-44.75-8.25q-32,0 -49.5,32l 33.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-44.5,0 q-3.5,15.5 -3.5,32l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-44.5,0 q 5.5,27.5 20.5,45.75t 40,18.25q 26,0 44.75-8.25t 19.25-23.25\nl0-0.5 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25q0,32 -26,48t-70,16q-41.5,0 -64.5-26.75t-29-69.25l-18.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 q0-16 2.5-32l-18.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 26,0 q 23-64 86-64q 44,0 70,16t 26,48\nq0,6.5 -4.75,11.25t-11.25,4.75zM 464,192l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,28.5 q-5,3.5 -11.5,3.5t-11.5-3.5l-68-52q-5-3.5 -5-8.5t 5-8.5l 68-52q 5-3.5 11.5-3.5t 11.5,3.5l0,28.5 l 48,0 q 36,0 58,22t 22,58l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 183,476.5\nq-5,3.5 -11.5,3.5t-11.5-3.5l0-28.5 l-48,0 q-36,0 -58-22t-22-58l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 48,0 l0-28.5 q 5-3.5 11.5-3.5t 11.5,3.5l 68,52q 5,3.5 5,8.5t-5,8.5zM 112,128q 112,0 112,64q0,59 -96,63.5l0,16.5 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16.5 q-96-4.5 -96-63.5q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,0.5 q 0.5,15.5 23.25,23.5t 56.75,8q 34.5,0 57.25-8.25t 22.75-23.75t-22.75-23.75t-57.25-8.25q-112,0 -112-64q0-59 96-63.5l0-16.5 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16.5 \nq 96,4.5 96,63.5q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-0.5 q-0.5-15.5 -23.25-23.5t-56.75-8q-34.5,0 -57.25,8.25t-22.75,23.75t 22.75,23.75t 57.25,8.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"westernunion\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512q-67,0 -97.5-28.25t-30.5-83.75l0-112 l-16,0 l-48-96l-48,96l-80,0 l-64-288l 80,0 l 48,144l 32-144l 64,0 l 32,144l 48-144l 80,0 l-50,224l 18,0 l0,176 q0,15.5 12.25,31.75t 19.75,16.25q 11.5,0 21.75-14.75t 10.25-33.25l0-176 l 96,0 l0,176 q0,56 -29.5,84t-98.5,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alertpay\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509.5,367.5l-87,11.5q-17,1 -28.5-16q-12-17 -28.5-41.5l-135.5,22.5l 0.5,41.5q-2.5,24.5 -18.5,28l-111.5,15q-7,1.5 -10.75-5.25t-0.75-18.25l 97-384q 3-11.5 7.5-17t 10-4.5t 11.5,5.75t 13.5,13.75l 279.5,320q 5,6 6.75,12.75t0,11.25t-5.25,4.5zM 257,163.5q-6.5-8 -17.75-2.25t-11.25,14.25q0,12.5 1,113\nl 104-14.5q-69.5-102.5 -76-110.5zM 54,478.5l 136-18q 7.5-1.5 12.5-5.5l0,7.5 q-3,27 -20.5,30.5l-142.5,18.5q-17,3.5 -28-11.75t-7-29.75l 109-398.5q 5-18 13.75-27.5t 19.75-8l-109.5,408.5q-3.5,12.5 2.75,24.25t 13.75,9.75zM 353.5,414.5q 13.5,20 33,18.5l 96-16q-1,11.5 -7.75,23.25t-11.75,11.75l-97.5,12.5\nq-24,1.5 -36-16q-9-17 -23-42l-45.5,15.5q-0.5-16.5 -0.5-28.5l 63.5-9.5q 7,10.5 14.5,18t 11,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skrill\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-118,0 q 50.5-22 84.25-64.75t 33.75-89.75q0-33 -12-62t-35-52t-60.5-36.5t-84.5-14l0-0.5 q-10,0 -16.25-0.25t-16.25-2t-16-4.75t-10.75-9.5t-4.75-15.5q0-11.5 10.75-19.25t 24.25-10.25t 29-2.5q 96.5,0 160,32l0-128.5 q-18.5-18.5 -65.5-32l 97.5,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 64,155q0,33 12,62.25t 35,52.25t 60.5,36.5t 84.5,14q 10,0 16.25,0.25t 16.25,2t 16,4.75t 10.75,9.5t 4.75,15.5q0,11.5 -10.75,19.25t-24.25,10.25t-29,2.5q-96.5,0 -160-32l0,128 q 18.5,18.5 65.5,32l-97.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 118,0 \nq-50.5,22 -84.25,65t-33.75,90z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paypal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 510,217q-12.5,60.5 -61,97.75t-112,37.25l-96,0 q-19,0 -32,16l-30.5,127q-1.5,7 -7.75,12t-13.25,5l-79,0 q-7,0 -10.75-5t-2.25-12l 3.5-15l 56.5,0 q 7,0 13.25-5t 7.75-12l 30.5-127q 13-16 32-16l 96,0 q 63.5,0 112-37.25t 61-97.75q 2.5-11.5 3-24.5l0-0.5 l0-53.5 l 1.25,1t 1.75,1.5q 18,21 25.25,49\nt 0.75,59zM 273,288l-96,0 q-19,0 -32,16l-30.5,127q-1.5,7 -7.75,12t-13.25,5l-79,0 q-7,0 -10.75-5t-2.25-12l 95-410q 1.5-6.5 11.25-13.75t 17.25-7.25q 151,1.5 169.5,1.5q 32,0 71,12.75t 54.5,30.75q 18,21 25.25,49t 0.75,59q-12.5,60.5 -61,97.75t-112,37.25zM 273,96l-48,0 \nq-16,0 -21.25,3.25t-10.75,12.75l-16,61q-2,6.5 6.25,12.75t 15.25,6.25q 5,0 21.5-0.5t 20.5-0.5q 36,0 57.5-15.25t 21.5-39.25q0-20.5 -10.75-30.5t-35.75-10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mastercard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 320,160q-36.5,0 -64,25q-27.5-25 -64-25q-40,0 -68,28.25t-28,68t 28,67.75t 68,28q 36.5,0 64-25q 27.5,25 64,25q 39.5,0 67.75-28\nt 28.25-67.75t-28.25-68t-67.75-28.25zM 320,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calculator2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 208,128l-48,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 220.25,291.75q-3.75-3.75 -9.25-3.75t-9.5,3.5l-57.5,57.5l-57.5-57.5q-4-3.5 -9.5-3.5t-9.25,3.75t-3.75,9.25t 3.5,9.5l 57.5,57.5l-57,57q-4,4 -4,9.5t 4,9.5t 9.5,4\nt 9.5-4l 57-57l 57,57q 4,4 9.5,4t 9.5-4t 4-9.5t-4-9.5l-57-57l 57.5-57.5q 3.5-4 3.5-9.5t-3.75-9.25zM 432,128l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,320l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,384l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"price2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,340.5l-162.5,162.5q-9,9 -22.25,9t-22.25-9l-287-287q-9-9 -9-39.5l0-144 q0-13.5 9.5-22.75t 22.5-9.25l 144,0 q 31,0 40,9l 287,286.5q 9,9.5 9,22.5t-9,22zM 128,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\nM 202,276.5q-4.5-4.5 -10.75-4.5t-10.75,4.5t-4.5,11t 4.5,11l 129,129q 4.5,4.5 11,4.5t 11-4.5t 4.5-10.75t-4.5-10.75zM 228.5,228.5q-4.5,4.5 -4.5,11t 4.5,11l 129,129q 4.5,4.5 11,4.5t 11-4.5t 4.5-10.75t-4.5-10.75l-129.5-129.5q-4.5-4.5 -10.75-4.5t-10.75,4.5zM 427.5,310l-129.5-129.5q-4.5-4.5 -10.75-4.5t-10.75,4.5t-4.5,11t 4.5,11l 129,129\nq 4.5,4.5 11,4.5t 11-4.5t 4.5-10.75t-4.5-10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"law\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,503q-9,9 -21.5,9t-21.5-9l-224.5-224.5l-52.5,52.5l0,0.5 q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-130.5-130.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 0.5,0.5l 148.5-148.5l-0.5-0.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 130.5,130.5q 9,9 9,21.75t-9,21.75\nt-21.75,9t-21.75-9l-0.5-0.5l-52.5,52.5l 224.5,225q 9,9 9,21.5t-9,21.5zM 168.5,125l-43,43.5l 90.5,90.5l 43-43z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bank\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 224-64.5l 224,64.5q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 64,416q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13 -9.5,22.5t-22.5,9.5l-64,0 z\nM 224,416q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13 -9.25,22.5t-22.75,9.5l-64,0 zM 384,416q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13 -9.25,22.5t-22.75,9.5l-64,0 zM 32,448\nl 448,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"abacus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-17.5,0 q-5,32 -30.5,32t-30.5-32l-67,0 q-5,32 -30.5,32t-30.5-32l-99,0 q-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-17.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 17.5,0 q 5-32 30.5-32t 30.5,32l 35,0 q 5-32 30.5-32t 30.5,32l 99,0 q 5-32 30.5-32t 30.5,32l 67,0 q 5-32 30.5-32\nt 30.5,32l 17.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,96l-17.5,0 q-5,32 -30.5,32t-30.5-32l-131,0 q-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-17.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 17.5,0 q 5-32 30.5-32t 30.5,32l 35,0 \nq 5-32 30.5-32t 30.5,32l 35,0 q 5-32 30.5-32t 30.5,32l 131,0 q 5-32 30.5-32t 30.5,32l 17.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 16,448l 177.5,0 q 5-32 30.5-32t 30.5,32l 67,0 q 5-32 30.5-32t 30.5,32l 35,0 q 5-32 30.5-32t 30.5,32l 17.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-17.5,0 \nq-5,32 -30.5,32t-30.5-32l-35,0 q-5,32 -30.5,32t-30.5-32l-67,0 q-5,32 -30.5,32t-30.5-32l-177.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gift\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-208,0 l0-64 l 208,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 320,128l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 27,0 40.25,6.75t 16.75,20t 4.75,28t 9.25,35.25t 25,38l0-21.75 t 0.5-20.25t 1.75-20t 3.25-17.75t 5.25-16.5t 8-12.75t 11.25-10.5t 15-6t 19-2.5\nq 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 159.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 319.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 224,224l-208,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-7 4.75-11.5t 11.25-4.5l 208,0 l0,64 zM 224,512l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-224 l 192,0 l0,256 zM 480,256l0,224 q0,13 -9.25,22.5t-22.75,9.5l-160,0 l0-256 l 192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"briefcase3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,32 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 l 128,0 l0,32 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 400,224q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 zM 144,224q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 zM 480,224l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l-128,0 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-3.5 0.5-6.5q 2.5-24.5 20.75-41t 42.75-16.5l 64,0 l0-32 q0-40 28-68t 68-28l 64,0 q 40,0 68,28\nt 28,68l0,32 l 64,0 q 24.5,0 42.75,16.5t 20.75,41q 0.5,3 0.5,6.5q0,13 -9.25,22.5t-22.75,9.5zM 320,96q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 l 128,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"briefcase2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 l 192,0 l0,32 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 l 192,0 l0,192 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,287.75q0,13.25 -9.25,22.75t-22.5,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5zM 288,224l-64,0 q-13,0 -22.5,9.25\nt-9.5,22.75l-192,0 l0-96 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 l0-32 q0-40 28-68t 68-28l 64,0 q 40,0 68,28t 28,68l0,32 l 96,0 q 13,0 22.5,9.25t 9.5,22.75l0,96 l-192,0 q0-13.5 -9.25-22.75t-22.75-9.25zM 320,96q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,32 l 128,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"yen2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 407,105q-9-9 -21.75-9t-21.75,9l-107.5,81l-108-81q-9-9 -21.75-9\nt-21.75,9t-9,21.75t 9,21.75l 119.5,90l0,17.5 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 48,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-64 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nl-48,0 l0-32 l 48,0 q 6.5,0 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75l-48,0 l0-17.5 l 119-90q 9-9 9-21.75t-9-21.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pound2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 224,288l 32,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-56,0 l-1-3\nq-7-14 -7-29q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5q0,14.5 4.5,32l-4.5,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 32,0 q0,17.5 -5,33t-11,24.5t-11,19.5t-5,19\nq0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-146,0 q 8-7.5 12.25-23.5t 5.25-28.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pound\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.75,224q-13.25,0 -22.5-9.25t-9.25-22.75q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5q0,26 8.5,64l 87.5,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-72.5,0 q 8.5,38 8.5,64q0,32 -17,64l 273,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-320,0 q-13,0 -22.5-9.75t-9.5-22.75\nq0-7 5-16.75t 11-19.25t 11-25.5t 5-34q0-26.5 -9-64l-55,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 39.5,0 q-7.5-35.5 -7.5-64q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"euro2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,380l0,4 l-2-1q-33.5,59 -92.75,94t-129.25,35q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25q 70,0 129.25,35t 92.75,94l 2-1.5l0,4.5 q 32,57.5 32,123.5t-32,124zM 224,352q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5l-60.5,0 \nq-3.5-16 -3.5-32q0-15.5 3.5-32l 60.5,0 q 13,0 22.5-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5l-26,0 q 32-32 74-32q 30.5,0 56.25,17.5t 40.25,46.5l-0.5,0 q 3.5,7.5 12.75,11.75t 19.25,4.25q 13.5,0 22.75-9.25t 9.25-22.75q0-17 -14-26.5q-24.5-39 -62.75-62.25t-83.25-23.25q-48,0 -88.5,26.25t-64,69.75l-23.5,0 q-13,0 -22.5,9.5\nt-9.5,22.75t 9.5,22.5t 22.5,9.25l 2.5,0 q-2.5,17 -2.5,32t 2.5,32l-2.5,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 23.5,0 q 23.5,44 64,70t 88.5,26q 45,0 83.25-23t 62.75-62.5q 14-9.5 14-26.5q0-13 -9.25-22.5t-22.75-9.5q-10,0 -19.25,4.25t-12.75,11.75l 0.5,0.5q-14.5,29 -40.25,46.25t-56.25,17.25\nq-42,0 -74-32l 26,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dollar2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.25t 54.5-81.5t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.5t 20.25,99.25t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 160,192q0-32.5 26.5-48.25t 69.5-15.75t 69.5,11.5t 26.5,36.5q0,13.5 9.25,22.75\nt 22.5,9.25t 22.75-9.25t 9.5-22.75l0,0 l0,0 q0-26 -19.25-49.5t-48-38.5t-61.25-20.5q 0.5-2 0.5-3.5q0-13 -9.5-22.25t-22.75-9.25t-22.5,9.25t-9.25,22.25l0,1.5 l0,1 q-24.5,4 -46.5,13t-40.75,23.75t-29.75,37.75t-11,51q0,47 43,71.5t 117,24.5l 12.5,0 q 15.5,0 23,0.25t 19.25,1t 17.5,2.75t 12.25,5.5t 9,9t 2.5,13.5\nq0,33 -26.5,48.5t-69.5,15.5q-43.5,0 -69.75-11.5t-26.25-36.5q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,0 l0,0 q0,26.5 19.25,49.75t 48,38.25t 60.75,21l0,3 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q0-0.5 -0.25-1.25t-0.25-1.25q 25-3.5 47-12.5t 40.75-23.75t 29.75-37.75t 11-51.5q0-46.5 -43-71.25\nt-117-24.75l-13,0 q-15,0.5 -22.5,0.25t-19.25-1t-17.5-2.75t-12.25-5.5t-9-9.25t-2.5-13.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calculator\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nzM 256,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 160,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 z\nM 160,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 64,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 64,304\nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 448,96q0-13 -9.25-22.5t-22.75-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 zM 448,272\nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 64,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-32 zM 448,368q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"piggybank\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,43.5 -17,82.75t-47.5,69.75l 29.5,71.5q 5.5,13 -0.25,22.5t-19.75,9.5l-66.5,0 q-14,0 -27.5-9.5t-19-22.5l-4-9.5q-34,9.5 -68,9.5q-19.5,0 -38.5-3l-1.5,3q-5.5,13 -19,22.5t-27.5,9.5l-66.5,0 q-14,0 -19.75-9.5t-0.25-22.5l 22.5-55q-47.5-42 -65-105l-24.5,0 q-13,0 -22.5-18.75t-9.5-45.25t 9.5-45.25\nt 22.5-18.75l 25,0 q 10.5-37.5 32-68q-2.5-9.5 -7-23.5t-7.75-24.5t-6.25-23t-3.5-21.25t 1.25-16.25t 7.75-11.5t 16.5-4q 25.5,0 50,13.5t 42,36q 42-17.5 90-17.5q 77.5,0 140.5,42.5q 16-10.5 35.5-10.5q 26.5,0 45.25,18.75t 18.75,45.25q0,25.5 -17.5,44q 17.5,40.5 17.5,84zM 159.75,160q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75\nt 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"news\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 208,448l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 80,448\nl 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 80,352l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 256,80q0-7 -4.75-11.5t-11.25-4.5l-160,0 \nq-6.5,0 -11.25,4.5t-4.75,11.5l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 zM 272,320l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,128l-16,0 l0-16 q0-7 -4.75-11.5t-11.25-4.5t-11.25,4.5t-4.75,11.5l0,16 \nl-64,0 l0-16 q0-7 -4.75-11.5t-11.25-4.5t-11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.5t-4.75-11.25t-11.25-4.5zM 432,224l-128,0 q-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.5t-4.75-11.25t-11.25-4.5zM 432,320l-96,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,416l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"playstore\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 64,0 l0-63.5 l 64-64l0,127.5 l 192,0 l0-127.5 l 64,64l0,63.5 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 160,192l0,256 l 224-128zM 192,0.5l 128,0 l0,64 l-128,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coupon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l 5.5,4q-5.5,5 -5.5,12q0,6.5 4.75,11.25t 11.25,4.75l 26.5,0 l 8.5,6.5q-19.5,25.5 -51,25.5l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 31.5,0 51,25.5l-8.5,6.5l-26.5,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,7 5.5,12l-5.5,4l 64,48l-64,48l 64,48\nl-64,48l 64,48l-64,48l 64,48zM 272,480l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 352,384q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 176,480l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 80,480l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 32,416q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25\nl0-32 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 zM 32,320q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 zM 32,224q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,32 zM 48,80q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75zM 112,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 208,32l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 192,128q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 304,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 344.75,130.25q-5.25-3.25 -11.25-1.75t-9.5,7.5l-130,224.5q-3,5.5 -1.5,12t 7,9.75t 11.5,1.5t 9-7.25l 130.5-225q 3-5.5 1.25-11.75t-7-9.5zM 400,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,448l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 192.25,224q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 352.25,288q 13.25,0 22.5,9.25\nt 9.25,22.5t-9.25,22.75t-22.5,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"timeline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,456.5l-68.5,52q-4.5,3.5 -11.25,3.5t-11.25-3.5l0-28.5 l-233.5,0 q-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l 233.5,0 l0-29 q 4.5-3.5 11.25-3.5t 11.25,3.5l 68.5,52q 4.5,3.5 4.5,8.75t-4.5,8.75zM 375,124q-4.5,4 -11.25,4t-11.25-4l0-28 l-233.5,0 \nq-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l 233.5,0 l0-29 q 4.5-3.5 11.25-3.5t 11.25,3.5l 68.5,52q 4.5,3.5 4.5,8.5t-4.5,9zM 96,192q 17.5,0 32,8.75t 23,23.25l 114,0 q 8.5-14.5 23-23.25t 32-8.75q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75q-17.5,0 -32-8.75t-23-23.25l-114,0 q-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 320.25,288q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stockdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 392.5,352l-93,0 q-8,0 -9.75-4.75t-1.75-15.25l0-3 l 30.5-30.5l-79-79l-27,27.5q-9,9 -21.75,9t-21.75-9q0-0.5 -3.5-5.5l-61-61q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 44,44l 27.5-28q 9-9 21.75-9t 21.75,9q 2.5,2.5 5,8l 94.5,94l 30-30l 3.5,0 \nq 7,0 10.5,0.5t 6.5,3t 3,8l0,92.5 q0,9.5 -6.75,16.25t-16.75,6.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stockup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,256 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 392.5,287l-30-30l-94,94q-3,5.5 -5.5,8q-9,9 -21.75,9t-21.75-9l-27.5-27.5l-44,43.5q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 61-61q 3.5-5 3.5-5.5q 9-9 21.75-9t 21.75,9l 27,27.5l 79-79l-30.5-30.5l0-3 q0-7 0.25-10.5t 3-6.5t 8.25-3l 93,0 \nq 10,0 16.75,6.75t 6.75,16.25l0,92.5 q0,5.5 -3,8.25t-6.5,3t-10.5,0.25l-3.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stocks\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495,192l-35-34.5l-142,142.5q-2.5,7 -7,11.5q-10,10 -24.5,8q-13,0.5 -22-8.5q-4.5-4 -6.5-10.5l-18.5-18.5q-1,1.5 -27.25,30.25t-28.75,31.25q-10,10 -25,8q-13,0.5 -22-8.5q-4.5-4 -6.5-10.5l-2.5-2.5l-61,61q-0.5,0.5 -1.25,1t-1.25,1l0,55 l 416,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-448,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,277.5 l 34-34q 2-6 6.5-10.5q 9-9 22-8.5q 14.5-1.5 24.5,8q 4.5,4.5 7,12l 1.5,1.5l 50.5-50.5q 2-6 6.5-10.5q 9-9 22-8.5q 15-1.5 24.5,8q 4.5,4.5 7,12l 17.5,17.5l 130.5-130.5l-34-34q-0.5-18 11-17.5l 101,0 q 7,0.5 11.25,4.75t 4.75,11.25l0,101 \nq 0.5,12 -17,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"metro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481.5,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-317.5 q-1.5-18 15.5-31l 75-56q 17-13 41.5-11.5l 247.5,0 q 24.5-1.5 42,11.5l 75,56q 12.5,9.5 14.5,23q 1,2 1,5.5l0,320 q0,13 -9.5,22.5t-22.5,9.5zM 385.5,384l 32,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5z\nM 97.5,384l 32,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5zM 449.5,128q-2-6 -12-13.5l-56-42q-12-9 -29.5-8.5l-189,0 q-17.5-0.5 -29.5,8.5l-56.5,42q-7,5.5 -10,13.5l-1.5,0 l0,96 q0,13 9.5,22.5t 22.5,9.5l 320,0 q 13.5,0 22.75-9.5t 9.25-22.5l 0.5-96l-0.5,0 z\nM 97.5,448l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25zM 385.5,448l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384q-15.5,0 -32-6l0,6 q0,40 -28,68t-68,28l-192,0 q-40,0 -68-28t-28-68l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,37.5 q 15.5-5.5 32-5.5q 40,0 68,28t 28,68l0,96 q0,40 -28,68t-68,28zM 448,202.5q0-17.5 -14-30t-34-12.5q-8,0 -16,2.5l0,93.5 \nl0,61.5 q 8,2.5 16,2.5q 20,0 34-12.5t 14-30l0-75 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"women\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 435.5,331.75q-11.5,6.75 -24.25,3.25t-19.25-15l-36.5-63.5l0,63.5 l 59.5,79.5q 7,11.5 3.5,24.5t-15,19.5q-7.5,4.5 -16,4.5l-32,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-64,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-32,0 q-8.5,0 -16-4.5q-11.5-6.5 -15-19.5t 3.5-24.5l 59.5-79.5l0-63.5 \nl-36.5,63.5q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.75t 3.5-24.5l 64-111.5q 8.5-15.5 27.5-15.5l0-0.5 l 64,0 l0-24.5 q-8-5 -14-13.5q-17,11.5 -34,1.5q-11.5-6.5 -15-19.5t 3.5-24.5l 31-46q 6-16.5 22.25-25t 38.25-8.5t 38.25,8.5t 22.25,25l 31,46q 7,11.5 3.5,24.5t-15,19.5q-16.5,9.5 -33-1q-6,8.5 -15,14l0,23.5 l 64,0 l0,0.5 \nq 19,0 27.5,15.5l 64,111.5q 7,11.5 3.5,24.5t-15,19.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"men\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 435.5,331.75q-11.5,6.75 -24.25,3.25t-19.25-15l-36.5-63.5l0,223.5 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-64 q0-12 -9.75-22t-22.25-10q-14,0 -23,8.75t-9,23.25l0,64 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-223.5 l-36.5,63.5q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.75t 3.5-24.5\nl 64-111.5q 8.5-15.5 27.5-15.5l0-0.5 l 64,0 l0-24.5 q-32-20.5 -32-83q0-26 18-39.25t 46-13.25t 46,13.25t 18,39.25q0,65.5 -32,84l0,23.5 l 64,0 l0,0.5 q 19,0 27.5,15.5l 64,111.5q 7,11.5 3.5,24.5t-15,19.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128l-64,352q-2,12 -10.75,22t-21.25,10l-96,0 l-96,0 q-12.5,0 -21.25-10t-10.75-22l-64-352q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"freeway\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-16,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-384,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 288,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l 22.5,112l-86.5,0 l0-112 zM 160,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,112 l-86.5,0 zM 224,256l0,240 q0,6.5 -4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25l 48-240l 112,0 zM 448,496\nq0,6.5 -4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-240 l 112,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"road\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l 96-480q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 64,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l 96,480\nq0,6.5 -4.75,11.25t-11.25,4.75zM 288,96l-64,0 l0,128 l 64,0 l0-128 zM 224,288l0,128 l 64,0 l0-128 l-64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"railroad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,512q-13.25,0 -22.5-9.25t-9.25-22.75l-256,0 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.25t-9.25-22.75l 96-464q0-3 0.25-5.25t 1-4t 1-2.75t 1.5-1.75t 1.75-1.25t 2.5-0.75t 2.5-0.25l 2.75,0 l 2.75,0 l 2.75,0 l 2.75,0 t 2.5,0.25t 2.5,0.75t 1.75,1.25t 1.5,1.75t 1,2.75t 1,4t 0.25,5.25l-2,16l 132,0 l-2-16q0-3 0.25-5.25t 0.75-4\nt 1-2.75t 1.75-1.75t 1.75-1.25t 2.5-0.75t 2.5-0.25l 2.75,0 l 2.75,0 l 2.75,0 l 2.75,0 t 2.5,0.25t 2.5,0.75t 1.75,1.25t 1.5,1.75t 1,2.75t 1,4t 0.25,5.25l 96,464q0,13.5 -9.5,22.75t-22.75,9.25zM 181,96l-9,64l 168,0 l-9-64l-150,0 zM 348.5,224l-185,0 l-9,64l 203,0 zM 366.5,352l-221,0 l-8.5,64l 238,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hospital\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,96 l-128,0 l0-96 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 \nq-13,0 -22.5,9.25t-9.5,22.75l0,320 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-96 l 128,0 l0,96 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-320 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emergency\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,224q0-13.5 -9.25-22.75t-22.75-9.25l-96,0 l0-96 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,96 l-96,0 \nq-13,0 -22.5,9.25t-9.5,22.75l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 96,0 l0,96 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-96 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"building\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-416 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,416 q0,13.5 9.5,22.75t 22.5,9.25l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 192,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 304,384l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,64 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"beer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448q-15.5,0 -32-6l0,6 q0,26.5 -18.75,45.25t-45.25,18.75l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-3.5 1-8q-1-5.5 -1-8q0-18 11.5-31.25t 29-15.75q 8.5-15 23.25-24t 32.25-9q 13.5,0 26,5.5q 10.5-5.5 22-5.5q 22,0 36.5,17q 18.5-17 43.5-17q 17.5,0 32.25,9t 23.25,24q 17.5,2.5 29,15.75t 11.5,31.25\nq0,2.5 -1,8q 1,4.5 1,8l0,38 q 16.5-6 32-6q 40,0 68,28t 28,68l0,128 q0,40 -28,68t-68,28zM 64,416q0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-224 l-256,0 l0,224 zM 416,234.5q0-17.5 -14-30t-34-12.5q-8,0 -16,2.5l0,187 q 8.5,2.5 16,2.5q 20,0 34-12.5t 14-30l0-107 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stamp2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,448l0,32 q-13,0 -22.5,9.25t-9.5,22.75l-32,0 q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.25t-9.5,22.75l-32,0 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.5t-9.5,22.5l-32,0 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.25t-9.5,22.75l-32,0 q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.25t-9.5,22.75l-32,0 q0-13.5 -9.25-22.75\nt-22.75-9.25l0-32 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5l0-32 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5l0-32 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13.5,0 22.75-9.25t 9.25-22.75l 32,0 q0,13.5 9.5,22.75t 22.75,9.25\nt 22.5-9.5t 9.25-22.5l 32,0 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l 32,0 q0,13 9.5,22.5t 22.75,9.5t 22.5-9.25t 9.25-22.75l 32,0 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.5t 9.25-22.5l 32,0 q0,13.5 9.5,22.75t 22.5,9.25l0,32 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l0,32 q-13,0 -22.5,9.25t-9.5,22.5\nt 9.5,22.75t 22.5,9.5l0,32 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l0,32 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25zM 447.5,112q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,320 q0,6.5 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-320 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448l0,32 q-13.5,0 -22.75,9.25t-9.25,22.75l-32,0 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.25t-9.5,22.75l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25t-22.75,9.25t-9.25,22.75l-32,0 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25\nt-9.25,22.75l-32,0 q0-13.5 -9.25-22.75t-22.75-9.25l0-32 q 13,0 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13,0 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25l0-32 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25l0-32 q 13.5,0 22.75-9.5t 9.25-22.5l 32,0 q0,13 9.25,22.5\nt 22.5,9.5t 22.75-9.5t 9.5-22.5l 32,0 q0,13 9.25,22.5t 22.75,9.5t 22.75-9.5t 9.25-22.5l 32,0 q0,13 9.25,22.5t 22.75,9.5t 22.75-9.5t 9.25-22.5l 32,0 q0,13 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5l 32,0 q0,13 9.25,22.5t 22.75,9.5l0,32 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l0,32 q-13.5,0 -22.75,9.25t-9.25,22.5\nt 9.5,22.75t 22.5,9.5l0,32 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l0,32 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5zM 448,112q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,320 q0,6.5 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-320 zM 403,416\nl-262,0 q-5.5,0 -9.25-3.75t-3.75-9.25l0-262 q0-5.5 3.75-9.25t 9.25-3.75l 262,0 q 5.5,0 9.25,3.75t 3.75,9.25l0,262 q0,5.5 -3.75,9.25t-9.25,3.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-320,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 q-13,0 -22.5-9.5t-9.5-22.5l0-384 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,384 q0,13 -9.25,22.5t-22.75,9.5zM 96,384l 32,0 q 13.5,0 22.75-9.5t 9.25-22.75\nt-9.25-22.5t-22.75-9.25l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5zM 448,96q0-13.5 -9.5-22.75t-22.5-9.25l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.5l0-128 zM 416,320l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l 32,0 q 13.5,0 22.75-9.5\nt 9.25-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"roadsignleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-192,0 l0,224 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-224 l-79.5,0 l-0.5,0 l-16,0 q-7.5,0 -11.5-4q-4.5-1.5 -6-3.5l-103-71q-7.5-7.5 -7.5-17.75t 7.5-17.75l 103-71q 2-2 7-3.5q 3.5-3.5 10.5-3.5l 7,0 q 9-0.5 18.5,0l 70.5,0 l0-32 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,32 l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 \nq0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shipping\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,384l-41,0 q 9,15.5 9,32q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-16.5 9-32l-146,0 q 9,15.5 9,32q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-16.5 9-32l-41,0 q-13,0 -22.5-9.25t-9.5-22.75l0-127 q-0.5-14.5 9.5-25l 62.5-62.5q 11-10.5 26.5-9.5l 93.5,0 l0-32 \nq0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13 -9.25,22.5t-22.75,9.5zM 192.5,176q0-6.5 -4.75-11.25t-11.25-4.75l-78.5,0 l-65.5,65.5l0,46.5 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"airplane\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 515.5,384q 2.5,0 4,2.25t 1.5,5.75l0,16 q0,3.5 -1.5,5.75t-4,2.25l-64.5,26l-26,64.5q0,2.5 -2.25,4t-5.75,1.5l-16,0 q-3.5,0 -5.75-1.5t-2.25-4l0-57 l-142-141.5l-50,188q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-7,0 -11.5-4.75t-4.5-11.25l0-302 l-90-89.5q-12.5-13 -28.25-52.25t-6.5-48.75t 48.75,6.25\nt 52,28.75l 90,89.5l 302,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-188,50l 142.5,142l 56,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alarm2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-32,0 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-256,0 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-352 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0-32 q0-13.5 9.25-23t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,23l0,32 l 128,0 l0-32 q0-13.5 9.5-23t 22.5-9.5l 64,0 \nq 13.5,0 22.75,9.5t 9.25,23l0,32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,352 q0,13 -9.25,22.5t-22.75,9.5zM 480,160q0-13.5 -9.25-22.75t-22.75-9.25l-384,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,224 q0,13 9.25,22.5t 22.75,9.5l 384,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-224 zM 432,352l-64,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-0.5 l0-127.5 q0-7 4.75-11.5t 11.25-4.5l 64,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,128 q0,6.5 -4.75,11.25t-11.25,4.75zM 416,224l-32,0 l0,96 l 32,0 l0-96 zM 320,272q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,32 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-0.5 l0-63.5 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-32 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.5t 4.75-11.25t 11.25-4.5l 32,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,0 l0,64 zM 208,320q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 208,256q-6.5,0 -11.25-4.75t-4.75-11.5t 4.75-11.25t 11.25-4.5\nt 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75zM 144,352q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,48 l 32,0 l0-48 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,128 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wave\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,263.5q-26.5-9 -59-7.5t-62.75,10.25t-65,19.5t-66,20.25t-66.25,12.75t-65-2.75q-27-5.5 -45.5-17.75t-18.5-26.25t 19-21t 45-2q 21.5,9.5 51.5,8t 60.5-10.25t 66.5-19.5t 69.5-20.5t 69.5-13t 66.5,2.75q 27,5.5 45.5,17.75t 18.5,25.75q0,15 -19.75,23t-44.25,0.5zM 448,71.5q-26.5-9 -59-7.5\nt-62.75,10.25t-65,19.5t-66,20.25t-66.25,12.75t-65-2.75q-27-5.5 -45.5-17.75t-18.5-26.25t 19-21t 45-2q 21.5,9.5 51.5,8t 60.5-10.25t 66.5-19.5t 69.5-20.5t 69.5-13t 66.5,2.75q 27,5.5 45.5,17.75t 18.5,25.75q0,15 -19.75,23t-44.25,0.5zM 64,441q 21.5,9.5 51.5,8t 60.5-10.25t 66.5-19.5t 69.5-20.5t 69.5-13\nt 66.5,2.75q 27,5.5 45.5,17.75t 18.5,25.75q0,15 -19.75,23t-44.25,0.5q-26.5-9 -59-7.5t-62.75,10.25t-65,19.5t-66,20.25t-66.25,12.75t-65-2.75q-27-5.5 -45.5-17.75t-18.5-26.25t 19-21t 45-2z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wave2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-26,0 -46.5-13t-33.5-35q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25t-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75q 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25t 37,34.75q 1,1 4.25,4\nt 4.25,3.75t 3.5,2.75t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 q-31,18 -64,18zM 368,336q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25t-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75\nq 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25t 37,34.75q 1.5,1 4.5,3.75t 4,3.75t 3.5,3t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 q-31,18 -64,18q-26,0 -46.5-12.75t-33.5-35.25zM 368,208q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25\nt-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75q 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25t 37,34.75q 1,1 4.25,4t 4.25,3.75t 3.5,2.75t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 \nq-31,18 -64,18q-26,0 -46.5-12.75t-33.5-35.25zM 368,80q-18-16 -40-16t-40,16q-12.5,21.5 -37,34.75t-51,13.25t-51-13.25t-37-34.75q-18-16 -40-16t-40,16q-9.5,17 -32,30l0-50 q 30.5-28 72-28q 26.5,0 51,13.25t 37,34.75q 18,16 40,16t 40-16q 12.5-21.5 37-34.75t 51-13.25t 51,13.25\nt 37,34.75q 1.5,1 4.5,3.75t 4,3.75t 3.5,3t 4.25,2.5t 4.25,1.5t 5.25,1.25t 6.25,0.25q 12.5,0 26.25-4.5t 21.75-11.5l 16,0 l0,30 q-31,18 -64,18q-26,0 -46.5-12.75t-33.5-35.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"navigation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-20,0 -48-32l-80-64q-5-3 -17.5-11t-18-11.25t-14-6.5t-14.5-3.25q-8,0 -17.5,4.25t-25.75,14.75t-20.75,13l-80,64q-1.5,1.5 -7,6.75t-7.75,7.5t-7.5,6.5t-8.75,6t-8.25,3.5t-8.75,1.75q-13.5,0 -22.75-9.5t-9.25-22.5l 192-448q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5\nl 192,448q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"automobile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,407l0,41 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-32 l-320,0 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-41 q-14.5-8.5 -23.25-23t-8.75-32l0-96 q0-14 11.5-32.25t 29-34.75l 23.5-93q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l 23.5,93\nq 17.5,16.5 29,34.75t 11.5,32.25l0,96 q0,17.5 -8.75,32t-23.25,23zM 64,320.25q0,13.25 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75zM 400,128q0-13 -9.25-22.5t-22.75-9.5l-224,0 q-13,0 -22.5,9.5t-9.5,22.5l-16,64q0,13.5 9.25,22.75t 22.75,9.25l 256,0 \nq 13.5,0 22.75-9.25t 9.25-22.75zM 416.25,288q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,316l0,132 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-132 q-55.5-13.5 -91.75-66.25t-36.25-121.75q0-73 41-128l 238,0 q 41,55 41,128q0,69 -36.5,121.75t-91.5,66.25zM 358,32l-204,0 q-26,43 -26,96\nq0,33.5 10.5,64l 234.5,0 q 11-30.5 11-64q0-53 -26-96z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scope2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 288,461.5q 67-10.5 115-58.5t 58.5-115l-65.5,0 q-9,40.5 -38.5,69.75t-69.5,38.75\nl0,65 zM 288,224l 58.5,0 q-7.5-20.5 -22.75-35.75t-35.75-22.75l0,58.5 zM 346.5,288l-58.5,0 l0,58 q 20.5-7 35.75-22.5t 22.75-35.5zM 224,288l-58.5,0 q 7.5,20 22.75,35.5t 35.75,22.5l0-58 zM 224,461.5l0-65 q-40.5-9.5 -69.75-38.75t-38.25-69.75l-65.5,0 q 10.5,67 58.5,115t 115,58.5zM 224,50.5q-67,10.5 -115,58.5t-58.5,115l 65.5,0 \nq 9-40.5 38.25-70t 69.75-38.5l0-65 zM 165.5,224l 58.5,0 l0-58.5 q-20.5,7.5 -35.75,22.75t-22.75,35.75zM 288,50.5l0,65 q 40,9 69.5,38.5t 38.5,70l 65.5,0 q-10.5-67 -58.5-115t-115-58.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"martini\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,288l0,160 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-160 l-219.5-239.5q-4.5-8 -4.5-16q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75q0,8 -4.5,16zM 32,32.5l 119.5,127.5l 43.5,0 l 3.5-6.5l-36.5-65.5q-3-6 -1.25-12.25t 7.5-9.5\nt 12-1.5t 9.75,7.25l 33,59.5q 9-3.5 17-3.5q 15.5,0 27.75,9t 17.25,23l 75.5,0 l 119.5-127.5l-448,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coffee\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 339,416l-166,0 q-23.5-16.5 -44.5-38q-17,6 -32.5,6q-40,0 -68-28.25t-28-67.75q0-31.5 18.5-56.25t 47.5-34.75q 0.5-3 0.5-5l 379,0 q 2.5,17.5 2.5,64q0,22.5 -10.5,47t-27.5,45.5t-34.75,37.75t-36.25,29.75zM 64,256q0-7.5 0.5-23.5q-15,8.5 -23.75,23.25t-8.75,32.25q0,26.5 18.75,45.25t 45.25,18.75q 2,0 8-1\nq-40-50.5 -40-95zM 288,96q0,11.5 4.5,27.5q 19.5,14 25.5,36.5l-32,0 q-1-7 -2.5-12q-27.5-19 -27.5-52q0-26.5 18.75-45.25t 45.25-18.75q 7.5,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 192,64q0,11.5 4.5,27.5q 27.5,19.5 27.5,52.5q0,7 -2.5,16l-31.5,0 q 2-9 2-16q0-12 -4.5-28q-27.5-19 -27.5-52q0-26.5 18.75-45.25\nt 45.25-18.75q 7.5,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 384,512l-256,0 q-27.5,0 -58-10.75t-50.25-26t-19.75-27.25l 512,0 q0,12 -19.75,27.25t-50.25,26t-58,10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 l0-384 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 416,512l-320,0 l0-384 l 32,0 l0-32 q0-40 28-68.25t 68-28.25l 64,0 q 40,0 68,28.25t 28,68.25l0,32 l 32,0 l0,384 zM 320,96q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 l 128,0 l0-32 zM0,480l0-320 \nq0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,384 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alarm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,160l-9,0 q-19.5-48 -56.25-84.75t-84.75-55.75l0-9.5 q 7.5-10 32-10q 53,0 90.5,37.5t 37.5,90.5q0,24.5 -10,32zM 480,288q0,77 -47.5,138l 47.5,65.5l-20.5,20.5l-65.5-47.5q-61,47.5 -138,47.5t-138-47.5l-65.5,47.5l-20.5-20.5l 47.5-65.5q-47.5-61 -47.5-138q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75\nt 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 336,224l-49,71.5q-2.5,10.5 -11.25,17.5t-19.75,7t-19.5-6.5\nt-11-17l-65.5-88.5l0-16 l 16,0 l 80.5,59.5l 63.5-43.5l0,0 l 16,0 l0,16 l0,0 zM 19,160l-9,0 q-10-7.5 -10-32q0-53 37.5-90.5t 90.5-37.5q 24.5,0 32,10l0,9.5 q-48,19.5 -84.75,56t-56.25,84.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flag2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,32.5l-128,127.5l 128,128l0,0 q0,13.5 -9.5,22.75t-22.5,9.25l0,0 l-288,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-256 q0-13 9.25-22.25t 22.75-9.25l 288,0 l0,0 q 13,0 22.5,9.25t 9.5,22.25l0,0.5 zM 192,480.25q0,13.25 -9.25,22.5t-22.75,9.25l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-416 \nq0-13 9.5-22.25t 22.75-9.25t 22.5,9.25t 9.25,22.25l0,416 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"storm2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,288l 224,224l-416-192l 128-96l-224-224l 416,192z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"storm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 408.5,381.5l-56.5-141.5q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l-64,0 l-32-80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-11,0 -15,11q-33-40 -33-91q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25\nt 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5q0,46.5 -29.5,81.75t-74,43.75zM 128,320l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,37 q-29-14 -46.5-41t-17.5-60q0-28.5 13.5-53t 36.5-40q 25.5,51.5 78,76.5l0,64.5 zM 160,256l 64,160l-64,0 l0,96 l-64-160l 64,0 l0-96 zM 320,256l 64,160l-64,0 l0,96 l-64-160l 64,0 \nl0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384l-320,0 q-42-4.5 -69-36.5t-27-75.5q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5q0,44 -27.5,80.25\nt-68.5,47.75zM 86.5,416l 61,0 l-31,80q-6,11.5 -17.25,15t-21.25-3.25t-13-19.5t 3-24.75zM 214.5,416l 61,0 l-31,80q-6,11.5 -17.25,15t-21.25-3.25t-13-19.5t 3-24.75zM 342.5,416l 61,0 l-31.5,80q-5.5,11.5 -16.75,15t-21.25-3.25t-13-19.5t 2.5-24.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"snow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,231.5q-3,6 -8.5,8t-10.5-1.5l-50.5-34l-25,14.5l0,75 l 25,14.5l 50.5-34q 5-3.5 10.5-1.5t 8.5,8t 1.5,12.5t-6.5,10l-34,23l 25,14.5q 11.5,6.5 14.75,19.25t-3.25,24.25t-19.25,15t-24.25-3.5l-16-9.5l0,30 q0,6.5 -4.75,11.25t-11.5,4.75t-11.25-4.75t-4.5-11.25l0-48.5 l-35-20l-61.5,34.5l0,44.5 l 40.5,23.5\nq 5.5,3.5 7.25,10t-1.5,12t-9.5,7.25t-11.75-1.25l-25-15l0,17 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-17 l-24.5,15q-5.5,3 -11.75,1.25t-9.5-7.25t-1.5-12t 7.25-10l 40-23.5l0-44.5 l-61-34.5l-35,20l0,48.5 q0,6.5 -4.5,11.25t-11.25,4.75t-11.5-4.75t-4.75-11.25l0-30 l-16,9.5q-11.5,7 -24.25,3.5\nt-19.25-15t-3.25-24.25t 14.75-19.25l 25-14.5l-34-23q-5-3.5 -6.5-10t 1.5-12.5t 8.5-8t 10.5,1.5l 50.5,34l 25-14.5l0-75 l-25-14.5l-50.5,34q-5,3.5 -10.5,1.5t-8.5-8t-1.5-12.5t 6.5-10l 34-23l-25-14.5q-11.5-6.5 -14.75-19.25t 3.25-24.25t 19.25-15t 24.25,3.5l 16,9.5l0-30 q0-6.5 4.75-11.25t 11.5-4.75t 11.25,4.75t 4.5,11.25l0,48.5 \nl 35,20l 61-34.5l0-44.5 l-40-23.5q-5.5-3.5 -7.25-10t 1.5-12t 9.5-7.25t 11.75,1.25l 24.5,15l0-17 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,17 l 25-15q 5.5-3 11.75-1.25t 9.5,7.5t 1.5,12t-7.25,9.75l-40.5,23.5l0,44.5 l 61.5,34.5l 35-20l0-48.5 q0-6.5 4.5-11.25t 11.25-4.75t 11.5,4.75t 4.75,11.25l0,30 l 16-9.5q 11.5-7 24.25-3.5\nt 19.25,15t 3.25,24.25t-14.75,19.25l-25,14.5l 34,23q 5,3.5 6.5,10t-1.5,12.5zM 322,224l-64-32l-63.5,32l0,64 l 63.5,32l 64-32l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"watertap\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-48,0 l-80,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q0-32 -64-32l-32,0 q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l-96,0 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l 96,0 q0-13.5 9.5-22.75\nt 22.5-9.25l0-35 q-13-4.5 -21.75-15.75t-9.75-25.25q-17,5 -36.5,8.5t-28,3.5q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25q 10.5,0 35,4.75t 41,11.75q 14.5-16.5 36-16.5t 36,16.5q 16.5-7 41-11.75t 35-4.75q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25q-8.5,0 -28-3.5t-36.5-8.5q-1,14 -9.75,25.25\nt-21.75,15.75l0,35 q 13.5,0 22.75,9.25t 9.25,22.75l 32,0 q 53.5,0 96.75,19t 69.25,55.75t 26,85.25q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 480,464q0,20 -14,34t-34,14t-34-14t-14-34q0-12 11.25-31.75t 23-34t 13.75-14.25q 3,0 14.75,14.25t 22.5,34t 10.75,31.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cactus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320l-64,0 l0,176 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-112 l-64,0 q-39.5,0 -67.75-28t-28.25-68l0-80 q0-20 14-34t 34-14t 34,14t 14,34l0,80 l 64,0 l0-238 q0-21 14-35.5t 34-14.5t 34,14.5t 14,35.5l0,174 l 64,0 l0-112 q0-20 14-34t 34-14t 34,14t 14,34l0,112 \nq0,39.5 -28,67.75t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clock2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,224l-96,0 l0-128 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,160 q0,13.5 9.25,22.75t 22.75,9.25l 128,0 \nq 13,0 22.5-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trafficlight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,192q 13,0 22.5,9.25t 9.5,22.75l-96,64l0,64 l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l-96,64l0,32 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-96-64q0-13.5 9.5-22.75t 22.5-9.25l 64,0 l0-64 l-96-64q0-13.5 9.5-22.75t 22.5-9.25l 64,0 l0-64 l-96-64q0-13.5 9.5-22.75t 22.5-9.25\nl 64,0 q0-13.5 9.5-22.75t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l-96,64l0,64 l 64,0 zM 256,480q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 256,32q-26.5,0 -45.25,18.75t-18.75,45.25\nt 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 256,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cigarette\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,256q0,18 4.5,41.5q 0.5,2.5 8.25,17.75t 13.5,36.75t 5.75,48l-32-32q-4-32.5 -16-48q-11.5-12 -13.75-23.75t-2.25-40.25q0-40 18.75-68t 45.25-28q 7.5,0 16,3.5q-21,8 -34.5,33.75t-13.5,58.75zM 368,102.5q0,19 4.5,44.5q 27.5,30.5 27.5,83.5l0,73.5 l-32-32q 0.5-3.5 0.5-11.5t-0.25-17.75t-0.25-12.25\nq0-38.5 -4.5-44.5q-27.5-31 -27.5-83.5q0-42.5 18.75-72.5t 45.25-30q 7,0 16,3.5q-21,9 -34.5,36.25t-13.5,62.75zM 507,484.5l-22.5,22.5q-5,5 -11.75,5t-11.25-5l-329-328.5q-4.5-4.5 -4.5-11.25t 4.5-11.75l 23-23q 5-4.5 11.75-4.5t 11.25,4.5l 329,329q 4.5,4.5 4.5,11.25t-5,11.75zM 128,112l-16,16q-1.5,1.5 -3.75,4.25\nt-3.75,4.5t-3.5,3.25t-4,1.25t-3.5-1.75l-88.5-89q-5-4.5 -5-11.25t 5-11.75l 22.5-23q 5-4.5 11.75-4.5t 11.25,4.5l 89,89q 1.5,1.5 1.75,3.5t-1.25,4t-3.25,3.5t-4.5,3.75t-4.25,3.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wheel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 66.5,225q-2.5,17 -2.5,31q0,71 45.75,124.25t 114.25,64.75l0-96 q-42-8.5 -69-34.25t-27-58.75q0-5 1-10.5\nq-39-7.5 -62.5-20.5zM 256,64q-54,0 -99.25,27.75t-70.25,73.75q 59.5,26.5 169.5,26.5t 169.5-26.5q-25-46 -70.25-73.75t-99.25-27.75zM 383,245.5q 1,5.5 1,10.5q0,33 -27,59t-69,34l0,96 q 68.5-11.5 114.25-64.75t 45.75-124.25q0-14 -2.5-31q-23,13 -62.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkin2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10 -14,17.5l-144.5,112l-143.5-112q-7-7.5 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 255.75,320q-39.75,0 -67.75-28.25t-28-68t 28-67.75t 67.75-28t 68,28t 28.25,67.75t-28.25,68t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place2delete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10 -14,17.5l-144.5,112l-143.5-112q-7-7.5 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 352,256l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place2add\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10.5 -14,17.5l-144.5,112l-143.5-112q-7-7 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58,58.25t-21.25,80.25t 21.25,80.25t 58,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 352,256l-64,0 l0,64 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-64 l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-64 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,64 l 64,0 \nq 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,382.5q-7,10 -14,17.5l-144.5,112l-143.5-112q-7-7.5 -14-17.5q-31-31 -48.5-72t-17.5-86.5t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87t-17.5,86.5t-48.5,72zM 256,64q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58\nt 80.25,21.25t 80.25-21.25t 58.25-58t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"checkin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 49.75-89.75q 28-28.5 63.75-43.25t 72.25-14.75t 72.25,14.75t 63.75,43.25q 36.5,38.5 49.75,89.75t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5\nt-90.75-37.5zM 269.5,256q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"placedelete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 49.75-89.75q 28-28.5 63.75-43.25t 72.25-14.75t 72.25,14.75t 63.75,43.25q 36.5,38.5 49.75,89.75t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5\nt-90.75-37.5zM 333.5,224l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"placeadd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 50-89.5t 86.25-51.75t 99,0t 86.25,51.75t 50,89.5t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5t-90.75-37.5zM 333.5,224l-32,0 l0,32 q0,13 -9.5,22.5\nt-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 32,0 l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"place\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,339.5l-136,172.5l-136-172.5q-36.5-38 -49.75-89.25t0-102.5t 50-89.5t 86.25-51.75t 99,0t 86.25,51.75t 50,89.5t0,102.5t-49.75,89.25zM 269.25,64.5q-53.25,0 -90.75,37.5t-37.5,90.5t 37.5,90.25t 90.75,37.25t 90.75-37.25t 37.5-90.25t-37.5-90.5t-90.75-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gpson\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-35,0 q-10,60 -53.25,103.5t-103.75,53.5l0,35 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-35 q-60.5-10 -103.75-53.5t-53.25-103.5l-35,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25l 35,0 q 10-60 53.25-103.5t 103.75-53.5l0-35 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,35 \nq 60.5,10 103.75,53.5t 53.25,103.5l 35,0 q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25zM 256,128q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256.25,352q-39.75,0 -68-28t-28.25-67.75t 28.25-68t 68-28.25t 67.75,28.25t 28,68t-28,67.75\nt-67.75,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gpsoff\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-35,0 q-10,60 -53.25,103.5t-103.75,53.5l0,35 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-35 q-60.5-10 -103.75-53.5t-53.25-103.5l-35,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 35,0 q 10-60 53.25-103.5t 103.75-53.5l0-35 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,35 \nq 60.5,10 103.75,53.5t 53.25,103.5l 35,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 256,128q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"port\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-37-37q-35.5,47 -88.75,74t-114.25,27t-114.25-27t-88.75-74l-37,37q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l-29.5,29.5q 22,31.5 54.5,52.25t 71,27.25l0-157 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-38 \nq-28.5-10 -46.25-34.5t-17.75-55.5q0-40 28-68t 68-28t 68,28.25t 28,67.75q0,31 -17.75,55.5t-46.25,34.5l0,38 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-32,0 l0,157 q 38.5-6.5 71-27.25t 54.5-52.25l-29.5-29.5q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 255.75,64q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.5t-9.5-22.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forest2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,224q0,31 -18,55.5t-46.5,34.5l 0.25,2.25t 0.25,3.75q0,26.5 -18.75,45.25t-45.25,18.75l0,96 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 q-26.5,0 -45.25-18.75t-18.75-45.25q-26.5,0 -45.25-18.75t-18.75-45.25q0-18 9.25-32.75t 24.25-23.25q-33.5-28.5 -33.5-72q0-40 28-68\nt 68-28q 1.5,0 3.75,0.25t 3.25,0.25q 40.5-32.5 89-32.5q 50.5,0 92,35q 11-3 20-3q 33,0 56.5,23.5t 23.5,56.5q0,30 -20.5,53q 20.5,26 20.5,59z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"roadsign\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504.5,177.5l-103,71q-2,2 -6.5,3.5q-3.5,4 -11,4l-16,0 l-0.5,0 l-79.5,0 l0,224 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-224 l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 70.5,0 q 9.5-0.5 18.5,0l 7,0 q 7,0 10.5,3.5q 5,1.5 7,3.5\nl 103,71q 7.5,7.5 7.5,17.75t-7.5,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 q0-13.5 9.25-22.75t 22.75-9.25l 128,288q0,13 -9.25,22.5t-22.75,9.5zM 384,512l-256,0 q-27.5,0 -58-21.75t-50.25-52t-19.75-54.25l 256,0 l0-368 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,368 l 224,0 q0,24 -19.75,54.25t-50.25,52t-58,21.75z\nM 192,352l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l 160-288q 13.5,0 22.75,9.25t 9.25,22.75l0,256 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stopwatch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,99.5l-23.5,23.5q-5,5 -12,5t-11.5-5l-18-17.5l-26,26q 30,31 46.75,71.5t 16.75,85q0,45.5 -17.5,87t-47.5,71.5t-71.5,47.75t-87,17.75t-87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-44.5 17-85t 47-71.5l-26-26l-18,17.5q-4.5,5 -11.5,5t-12-5l-23.5-23.5q-5-5 -5-12t 5-11.5\nl 71-71q 4.5-5 11.5-5t 12,5l 23.5,23.5q 5,5 5,12t-5,11.5l-17.5,18l 29.5,30q 41-26.5 89.5-33.5l0-2 l-16.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-7 4.75-11.5t 11.25-4.5l 96,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,2 q 48,7 89,33.5l 29.5-30l-17.5-18q-5-4.5 -5-11.5t 5-12l 23.5-23.5\nq 5-5 12-5t 11.5,5l 71,71q 5,4.5 5,11.5t-5,12zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 288,288q0,13.5 -9.25,22.75t-22.75,9.25q-13,0 -22.5-9.25\nt-9.5-22.5t 9.5-22.75t 22.5-9.5q 1.5,0 5,0.5l 75-64l0-0.5 l 16,0 l0,16 l-64.5,75.5q 0.5,3.5 0.5,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"umbrella\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 501,224q-10.5-14.5 -28.75-23.25t-40-8.75t-40.25,8.75t-29,23.25l-38,0 q-13-18 -37-26.5l0,218.5 q0,39.5 -28,67.75t-67.75,28.25t-68-28.25t-28.25-67.75q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.5l0-218.5 q-23.5,8.5 -37,26.5l-38,0 q-10.5-14.5 -29-23.25\nt-40.25-8.75t-40,8.75t-28.75,23.25l-11,0 q0-48 29.5-89.75t 80.75-68.25t 113.75-32.5l0-1.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,1.5 q 62.5,6 113.75,32.5t 80.75,68t 29.5,90l-11,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forest\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467.5,411.5q-6.5,3.5 -15.5,4l-0.5,0.5l-128,0 l0,64 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 l-128,0 q0-0.5 -0.5-0.5q-9-0.5 -15.5-4q-11.5-6.5 -15-19t 3.5-24l 74.5-112.5l-15,0 l0-1 q-9.5,0.5 -16-3.5q-11.5-6.5 -15-19t 3.5-24l 160-192.5q0-0.5 2-2.5l 2.75-2.75t 2.75-2.5t 3.25-2.5t 3.5-2.25t 4-2t 4.25-1t 5-0.5t 5,0.5\nt 4.25,1t 4,2t 3.5,2.25t 3.25,2.5t 2.75,2.5l 2.75,2.75l 2.5,2.5l 160,192.5q 6.5,11.5 3,24t-15,19q-6.5,4 -16,3.5l0,1 l-15,0 l 75,112.5q 6.5,11.5 3,24t-15,19z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gasstation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0,64 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-32,0 l-224,0 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l0-415.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 q 13,0 22.5,9.25t 9.5,22.75l0,287.5 \nq 13.5,0 22.75-9.25t 9.25-22.75l0-224 q0-26.5 18.75-45t 45.25-18.5l 32,0 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.5t-22.75,9.25zM 288,96q0-13 -9.25-22.5t-22.75-9.5l-160,0 q-13,0 -22.5,9.5t-9.5,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 160,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tent\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5l-128.5,0 q-11.5,0 -21.5-9.75t-10-21.75q0-9 4.5-16.5l 212.5-298l-84.5-118q-7-11.5 -3.5-24.25t 15-19.25t 24.25-3.25t 19.25,14.75l 68.5,95.5l 68-96\nq 6.5-11 19.5-14.5t 24.25,3t 14.75,19.25t-3,24.25l-84.5,118.5l 212.5,298.5q 4.5,8 4.5,15.5q0,12 -9.75,22t-22.25,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"knife\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495.75,495.25q-12.75,12.75 -29.25,16t-35.25-4.75t-36.25-27l-112-131.5l-15,14q-6.5,6 -15.5,6t-15-6q-31.5-28.5 -60.25-58.75t-52.25-58.5t-43.75-55.75t-35.25-51.75t-25.5-46t-15.5-38.5t-4.5-28.75t 6.75-17.75t 15.5-5.75t 15.25,5.5l 186,171.5l 255.5,217q 19,17 27.25,35.75t 5,35.5t-16,29.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spoon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 497.25,495.25q-12.75,12.75 -29.25,16t-35.25-4.75t-36.25-27l-179-209.5q-23,14.5 -47.75,17.75t-51.5-6.75t-51.75-35q-31-31 -48.75-72.75t-15.75-82t 26.25-64.25t 64.5-26t 82,15.75t 72.75,48.75q 24.5,24.5 34.75,51.5t 6.75,51.5t-18,48l 210,178q 19,17 27.25,36t 5,35.5t-16,29.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scope\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 288,66.5l0,62.5 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-62.5 \nq-60,10 -103.5,53.5t-53.5,104l 61,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-61,0 q 10,60 53.5,103.5t 103.5,53.5l0-61 q0-13 9.25-22.25t 22.75-9.25t 22.75,9.25t 9.25,22.25l0,61 q 60-10 103.5-53.5t 53.5-103.5l-61.5,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 61.5,0 \nq-10-60.5 -53.5-104t-103.5-53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"truck\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,446.5l0,33.5 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-32 l-320,0 l0,32 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-33.5 q-17-2.5 -24.5-13.5t-7.5-33l0-320 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,167 q 16-23.5 32-38l0-177 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13,0 22.5,9.25t 9.5,22.75l0,177 \nq 16,14.5 32,38l0-167 q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5l0,320 q0,22 -7.5,33t-24.5,13.5zM 160,352q0,13 9.25,22.5t 22.75,9.5l 128,0 q 13,0 22.5-9.5t 9.5-22.5l0-64 q0-13.5 -9.5-22.75t-22.5-9.25l-128,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,64 zM 95.75,320q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75\nt 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 384,96q0-13.5 -9.5-22.75t-22.5-9.25l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,64 q0,13 9.25,22.5t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.5l0-64 zM 415.75,320q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.75t 99.5-20.5t 99.5,20.5t 81.75,54.75t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.5t-70,69.75t-25.75,96.5t 25.75,96.5t 70,70\nt 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.5t-25.75-96.5t-70-69.75t-96.25-25.5zM 352,176l-65.5,88.5q-2.5,10 -11,16.75t-19.5,6.75q-10.5,0 -19-6.5t-11.5-16l-97.5-121.5l0-0.5 l0-15.5 l 16,0 l 112.5,90.5l 79.5-58.5l0,0 l 16,0 l0,16 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calendar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-384 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,64 q0,32 17.75,48t 46.25,16q 28,0 46-16.5t 18-47.5l0-64 l 128,0 l0,64 q0,32 17.75,48t 46.25,16t 46.25-16t 17.75-48l0-64 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,384 q0,13 -9.25,22.5t-22.75,9.5zM 96,384l 64,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-64,0 q-26.5,0 -45.25,18.75t-18.75,45.25q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-136,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-24 q0-13.5 9.25-22.75t 22.75-9.25zM 480.5,288q0-26.5 -19-45.25t-45.5-18.75l-64,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 64,0 \nq 17.5,0 32-8.5l0,40.5 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,26.5 18.75,45.25t 45.25,18.75l 64,0 q 26.5,0 45.5-18.75t 19-45.25l0-128 zM 416,352l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.75,9.5zM 384.25,160q-13.25,0 -22.75-9.5t-9.5-22.5l0-96 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,96 q0,13 -9.25,22.5t-22.5,9.5zM 128,160q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,96 q0,13 -9.25,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"temperature2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,512l-384.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 384.5,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 176,64l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,128l-64,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,192l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,256l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,281l0-153 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,153 q-32,28.5 -32,71q0,39.5 28.25,67.75t 68,28.25t 68-28.25t 28.25-67.75q0-42 -32.5-71zM 320,416q-26.5,0 -45.25-18.75t-18.75-45.25q0-17.5 8.75-32t 23.25-23l0-105 \nl 64,0 l0,105 q 15,8.5 23.5,23t 8.5,32q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"temperature\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25q0-38.5 17.25-72t 46.75-56l0-125.5 q0-40.5 28-69.5t 67.75-29t 68,29t 28.25,69.5l0,125.5 q 29.5,22.5 46.75,56t 17.25,72q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5zM 288,261.5l0-165.5 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,165.5 \nq-28.5,10 -46.25,34.75t-17.75,55.75q0,40 28,68t 67.75,28t 68-28t 28.25-68q0-31 -17.75-55.75t-46.25-34.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"placeios\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-12.75t-93.25-35t-34.25-48.25q0-24 29.5-45t 80.75-34.25t 113.75-15.75l0-33 l 64,0 l0,33 q 62.5,2.5 113.75,15.75t 80.75,34.25t 29.5,45q0,26 -34.25,48.25t-93.25,35t-128.5,12.75zM 288,352.5l0,31.5 q0,16.5 -10,40.25t-22,23.75t-22-23.75t-10-40.25l0-31.5 q-82,3.5 -137,21.5\nt-55,42q0,17.5 30,32.25t 81.5,23.25t 112.5,8.5t 112.5-8.5t 81.5-23.25t 30-32.25q0-24 -55-42t-137-21.5zM 256,256q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 268,39q-7-6.5 -21.5-7.25t-32.25,5.5t-30.25,18.75t-18.75,30.25t-5.5,32.5t 7.75,21.25\nq 16.5,17 66.75-33.5t 33.75-67.5zM 348.5,147q-6-6 -18.5-1.75t-24.25,16.25t-16,24.5t 1.5,18.5t 18.5,1.75t 24.5-16t 16-24.5t-1.75-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,224l-288,160l0,0 l0,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-319.5 q0-13.5 9.25-22.75t 22.75-9.25l 288,159.5q 1,0.5 2.5,1.5q 7,3 10.75,5.25t 8.75,6t 7.5,8.75t 2.5,10.5q0,6.5 -2.5,11.5t-8,9t-9.75,6.25t-11.75,5.25zM 192,480.25q0,13.25 -9.25,22.5t-22.75,9.25l-128,0 q-13.5,0 -22.75-9.25\nt-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-415.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,415.5 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,400.5l 64,111.5l-112-64l-0.5-3l-84-83.5l-76,75.5q-21,21 -47.5-5l0-89.5 l-129-134l-6.5,6q-9.5,10 -23.25,10t-23.5-9.75t-9.75-23.5t 9.5-23.75l 158-157.5q 10-9.5 23.75-9.5t 23.5,9.5t 9.75,23.25t-10,23.75l-6.5,6.5l 134.5,129l 89.5,0.5q 26,26 4.5,47l-75.5,75.5l 84,84z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"maps\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l0-192 l 160-64l0,192 zM 352,64l 160-64l0,224 l-160,64l0-224 zM 192,256l 128,64l0,192 l-128-64l0-192 zM 192,0l 128,64l0,224 l-128-64l0-224 zM0,320l 160-64l0,192 l-160,64l0-192 zM0,64l 160-64l0,224 l-160,64l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"water\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 404.75,453.75q-36.75,38.25 -86.25,51.75t-99,0t-86.25-51.75t-50-89.5t0-102.25t 49.75-89.5l 136-172.5l 136,172.5q 36.5,38.5 49.75,89.5t0,102.25t-50,89.5zM 178.5,417q 4,4.5 5.75,6.75t 7.75,5.25t 13,3q 15.5,0 23.25-8.75t 7.75-20.25q0-14 -11.5-40.25t-23.25-56.25t-11.75-53\nq0-14 12-37.25t 23.5-39.75l 12-16.5l-16,0 l-42.5,48.5q-37.5,46.5 -37.5,104.25t 37.5,104.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"moon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 257.5,512q-63.5,0 -119.75-29.75t-92.75-81.25t-45-113q 28.5,43 76.5,69.5t 101,26.5q 56.5,0 104.25-27.75t 75.25-75.75t 27.5-104.5q0-53 -26.75-100.25t-69.75-75.75q 61.5,8.5 112.75,44.5t 81.25,92t 30,119.5q0,52 -20.25,99.5t-54.25,81.75t-81.25,54.5t-98.75,20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sun\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,187.5q-48.5,31 -48,68.5q 1,39 48,68.5q-127.5,6 -68.5,119q-113.5-59 -119,68.5q-31-48.5 -68.5-48q-38.5,1 -68.5,48q-5.5-127.5 -119-68.5q 59-113 -68.5-119q 48.5-31 48-68.5q-1-38.5 -48-68.5q 127.5-5.5 68.5-118.5q 113.5,58.5 119-68.5q 30,46.5 68.5,47.5q 37.5,1 68.5-47.5q 5.5,127 119,68.5\nq-59,113 68.5,118.5zM 256,96q-43.5,0 -80.5,21.5t-58.25,58.25t-21.25,80.25t 21.25,80.5t 58.25,58.25t 80.5,21.25t 80.5-21.25t 58.25-58.25t 21.25-80.5t-21.25-80.25t-58.25-58.25t-80.5-21.5zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"canvasrulers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-320,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 304,0 l0-304 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,320 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-16,0 l-16,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 \nl-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,16 l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-48,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 l-32,0 l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"marker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,512l-72.5,0 l-19.5-19.5l 41.5-41l 47,46.5q 5.5,5.5 3.5,14zM 272.5,448l 144-144l 34,110l-68,68zM 16,208q-16-16.5 -16-40.25t 16.5-40.25l 79.5-79.5q 16.5-16 40.25-16.25t 39.75,16.25l 224.5,224l-160,160zM 279,310.75q 9-9.25 9-22t-9-21.75l-130.5-130.5q-9-9 -21.75-9t-21.75,9t-9,21.75\nt 9,21.75l 130.5,131q 9,9 21.75,9t 21.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rotatecounterclockwise\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,352l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-288 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,512l-288,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 288,416l-224,0 \nq-13,0 -22.5,9.25t-9.5,22.75t 9.5,22.75t 22.5,9.25l 224,0 q 13.5,0 22.75-9.25t 9.25-22.75t-9.25-22.75t-22.75-9.25zM 288,128l-32,0 q-44.5,0 -78.75,27.25t-45.25,68.75l 54.5,0 q 5.5,5 5.5,11.5t-5.5,11.5l-77.5,100q-5.5,5 -13,5t-13-5l-77.5-100q-5.5-5 -5.5-11.5t 5.5-11.5l 61.5,0 q 11.5-68.5 64.75-114.25\nt 124.25-45.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rotateclockwise\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-288,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 448,416l-224,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l 224,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 429,347\nq-5.5,5 -13,5t-13-5l-77.5-100q-5.5-5 -5.5-11.5t 5.5-11.5l 54.5,0 q-11-42 -45.25-69t-78.75-27l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 71,0 124.25,45.75t 64.75,114.25l 61.5,0 q 5.5,5 5.5,11.5t-5.5,11.5zM 96,352l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-288 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 \nq 13,0 22.5,9.25t 9.5,22.75l0,288 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mergeshapes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,336q0-6.5 -4.75-11.25t-11.25-4.75l-36,36\nl-240-240l 36-36q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 36-36l 240,240l-36,36q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"excludeshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,192l-112,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,112 l 112,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"intersectshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,80q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 48,0 l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 l0-48 zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-128,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"subtractshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addshape\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"creativecommons\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 320,224q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.75,9.25l 55,0 q-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l-55,0 zM 160,256q0,13 9.5,22.5t 22.5,9.5l 55,0 \nq-8.5,14.5 -23,23.25t-32,8.75q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75q 17.5,0 32,8.75t 23,23.25l-55,0 q-13,0 -22.5,9.5t-9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wizard2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503.5,502q-9.5,9.5 -22.5,10t-22-8.5l-224.5-225q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 224.5,225q 9,9 8.5,22t-10,22.5zM 322,192l-64,16l-74-71.5q-8.5-9 -21.5-8.5t-22.5,10t-10,22.5t 8.5,22l 71.5,73.5l-16,64q-1,1.5 -2.75,4t-2.75,4t-2.5,3.25t-2.75,2.5t-3,0.75t-3.25-1.5l-63-77\nl-96,0 q-8-2.5 -13-6.5t-3-9.5l 64-96l-32.5-96.5q0-6.5 4.75-11.25t 11.25-4.75l 96.5,32.5l 96-64q 5.5-2 9.5,3t 6.5,13l0,96 l 76.5,63q 1.5,1.5 1.5,3.25t-0.75,3t-2.5,3t-3.25,2.75t-4,2.5t-3.5,2.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paintroll\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-240,0 l0,96 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13 9.25-22.5t 22.75-9.5l0-112 q0-6.5 4.75-11.25t 11.25-4.75l 240,0 l0-96 l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q0-13 9.25-22.5t 22.75-9.5l 384,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,128 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fontwidth\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508,475l-41,32.5q-4,4.5 -9.5,4.5t-9.5-4.5l0-27 l-384,0 l0,27 q-4,4.5 -9.5,4.5t-9.5-4.5l-41-32.5q-4-4.5 -4-10.75t 4-10.75l 41-33q 4-4 9.5-4t 9.5,4l0,28 l 384,0 l0-28 q 4-4 9.5-4t 9.5,4l 41,33q 4,4.5 4,10.75t-4,10.75zM 447.5,128q-13,0 -22.5-9.25t-9.5-22.75t-24.75-22.75t-70.75-9.25q-13.5,0 -22.75,9.5t-9.25,22.5\nl0,224 q0,13.5 9.25,22.75t 22.5,9.25t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75-9.25t 9.5-22.75l0-160 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0 l0,0.5 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 \nl0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-5 q0-13 -9.5-22.5t-22.5-9.5q-46,0 -71,9.25t-25,22.75t-9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 384,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-0.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fontheight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128q-13,0 -22.5-9.5t-9.5-22.5q0-12.5 -21.25-22.25t-42.25-9.75l-0.5,0 q-13,0 -22.5,9.25t-9.5,22.75l0,319.5 q0,13.5 9.5,22.75t 22.75,9.25t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5-9.25t 9.25-22.75l0-319.5 q0-13.5 -9.25-22.75t-22.75-9.25\nq-21.5,0 -42.75,9.75t-21.25,22.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 92,448q 4,4 4,9.5t-4,9.5l-33,41q-4.5,4 -10.75,4t-10.75-4l-33-41q-4.5-4 -4.5-9.5t 4.5-9.5l 28,0 l0-384 l-28,0 \nq-4.5-4 -4.5-9.75t 4.5-9.75l 33-41q 4.5-4 10.75-4t 10.75,4l 33,41q 4,4 4,9.75t-4,9.75l-27.5,0 l0,384 l 27.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"strikethrough\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-49.5,0 q 17,30 17,64l0,32 q0,53 -37.25,90.5t-90.25,37.5l-128,0 q-53,0 -90.5-37.5t-37.5-90.5q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-26.5 -18.75-45.25t-45.25-18.75l-288,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25l 49.5,0 q-17-30 -17-64l0-32 q0-53 37.25-90.5t 90.25-37.5l 128,0 q 53,0 90.5,37.5t 37.5,90.5q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.5t-9.5-22.5q0-26.5 -18.75-45.25t-45.25-18.75l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,32 q0,26.5 18.75,45.25t 45.25,18.75l 288,0 q 13,0 22.5,9.5t 9.5,22.5\nt-9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"underline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 320,416l-128,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,0.5 l0,255.5 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 l0,0 \nq0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,256 q0,53 -37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"italic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,64l-39,0 l-111.5,384l 22.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 40,0 l 111.5-384l-23.5,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bold\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,352l0,32 q0,53 -37.5,90.5t-90.5,37.5l-224,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 53,0 90.5,37.5t 37.5,90.5l0,16 q0,28 -11.75,53t-31.75,43q 19,17 31.25,49.5t 12.25,62.5zM 304,96l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 \nq 19.5,0 33.75-14t 14.25-34t-14.25-34t-33.75-14zM 288,288l-112,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 112,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"indentright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-48,0 l0,28.5 q-3.5,3.5 -7.75,3.5t-7.75-3.5l-77.5-52q-3-3.5 -3-8.5t 3-9l 77.5-51.5q 3.5-4 7.75-4t 7.75,4l0,28.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,480 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 256,192l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 160,96l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 32,224l 160,0 \nq 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 32,320l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 32,416l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"indentleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-224,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 384,96l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 176,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25t-11.25,4.75zM 79.5,316.5q-3.5,3.5 -7.75,3.5t-7.75-3.5l0-28.5 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-28.5 q 3.5-4 7.75-4t 7.75,4l 77.5,51.5q 3,3.5 3,8.75t-3,8.75zM 256,224l 160,0 q 13,0 22.5,9.25\nt 9.5,22.75t-9.5,22.75t-22.5,9.25l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 256,320l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25zM 256,416l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.75\nt 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eraser\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-447.5,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 447.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 413.5,396.5q-1,1 -4.25,4.5t-5.25,5.5t-5.5,4.5t-7,3.75t-7.5,1.25l-128,0 q-3.5,0 -7.25-1.5t-7.5-4.25t-6-4.75t-5.25-5.25t-3.5-3.75l-218-218q-8.5-9 -8.5-21.25t 8.5-20.75\nl 65.25-65.25l 62.75-62.75q 8.5-8.5 20.75-8.5t 21.25,8.5l 292.5,293q 9,8.5 9,20.75t-9,21.25q-2.5,3 -26,24t-31.5,29zM 272,186l-86,86l 80,80l 108.5,0 l 32-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"moleskine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-32,0 l0-160 l 64,0 l0-192 l-64,0 l0-160 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,160l0,192 l 288,0 l0,160 l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 l0,160 l-288,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ruler\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,427.5l-80,80q-5,4.5 -11.5,4.5t-11-4.5l-31.5-31.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5l 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-62.5-62.5\nl 40.5-40.5q 4.5-4.5 0-8.5l-8.5-9q-4.5-4.5 -9,0l-40.5,40.5l-31.5-31.5q-4.5-4.5 -4.5-11t 4.5-11.5l 80-80q 5-4.5 11.5-4.5t 11,4.5l 400.5,400.5q 4.5,4.5 4.5,11t-4.5,11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,507.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-33.5-33q-4.5-4.5 -4.5-11t 4.5-11t 11-4.5t 11,4.5l 33,33.5q 4.5,4.5 4.5,10.75t-4.5,10.75zM 344,421q-1.5-1.5 -4-6q 4-1 6.5-3.5l 65-65q 2.5-2.5 3.5-6.5q 5,2.5 6,4l 32,77.5l-31.5,31.5zM 337.5,376q-8,7.5 -19.5,7.5t-19.5-7.5l-258.5-259q-7-7 -7.75-16.75t 4.75-17.75l-32.5-32.5\nq-4.5-4.5 -4.5-11.25t 4.5-11.25l 23-23q 4.5-4.5 11.25-4.5t 11.25,4.5l 32.5,32.5q 8-5.5 17.75-4.75t 16.75,7.75l 25,24.5l 78.5,0 q 8.5-1.5 14,4l 129,129.5q 4.5,4.5 4.5,10.75t-4.5,10.75t-10.75,4.5t-10.75-4.5l-124.5-124l-45,0 l 203.5,203q 8,8 8,19.25t-8,19.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resize\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 36.5,0 q 11.5,0 19.5-8t 8-19.5l0-36.5 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,64 q0,26.5 -18.75,45.25t-45.25,18.75zM 479.75,160q-13.25,0 -22.5-9.25t-9.25-22.75l0-36.5 q0-11.5 -8-19.5t-19.5-8l-36.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 \nq 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,13.5 -9.5,22.75t-22.75,9.25zM 128,64l-36.5,0 q-11.5,0 -19.5,8t-8,19.5l0,36.5 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 96,384l0-256 q0-13 9.25-22.5\nt 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13.5 -9.5,22.75t-22.5,9.25l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75zM 160,336q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 zM 31.75,352q 13.25,0 22.75,9.5\nt 9.5,22.5l0,36.5 q0,11.5 8,19.5t 19.5,8l 36.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-13.5 9.25-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"magazine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 384,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 96,32q-13.5,0 -22.75,9.25t-9.25,22.75l0,384 q0,13.5 9.25,22.75t 22.75,9.25l 224,0 q0-30 -1.5-49t-5.25-33.5t-11.5-22.75t-18.25-13.5t-27.5-9.25\nq-8.5-2 -18.5-2t-18,1.25t-18.75,4t-16.25,4.5t-14.75,4.75t-9.75,3.5l 271.5-332q-7.5-4 -15.5-4l-320,0 zM 448,64q0-10.5 -6.5-19.5l-102,435.5l 76.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-384 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"superscript\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,96.5l-80,0 l0,32 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6,0 -10.25-3.75t-5.25-9.25l0-70 q 1-5.5 5.25-9.25t 10.25-3.75l 80,0 l0-32 l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6,0 10.25,3.75t 5.25,9.25l0,70 q-1,5.5 -5.25,9.25t-10.25,3.75z\nM 311.25,503.75q-8.25,8.25 -19.75,8.25t-20-8.5l-111.5-138.5l-112,138.5q-8,8.5 -19.75,8.5t-20-8.25t-8.25-20t 8.5-19.75l 115.5-144l-115.5-143.5q-8.5-8.5 -8.5-20t 8.25-19.75t 20-8.25t 19.75,8l 112,139l 111.5-139q 8.5-8 20-8t 19.75,8.25t 8.25,19.75t-8,20l-115.5,143.5l 115.5,144\nq 8,8 8,19.75t-8.25,20z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"subscript\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-80,0 l0,32 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-96,0 q-6,0 -10.25-3.75t-5.25-9.25l0-70 q 1-5.5 5.25-9.25t 10.25-3.75l 80,0 l0-32 l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6,0 10.25,3.75t 5.25,9.25l0,70 q-1,5.5 -5.25,9.25t-10.25,3.75z\nM 311.25,375.25q-8.25,8.25 -19.75,8.25t-20-8l-111.5-139l-112,139q-8,8 -19.75,8t-20-8.25t-8.25-19.75t 8.5-20l 115.5-143.5l-115.5-144q-8.5-8 -8.5-19.75t 8.25-20t 20-8.25t 19.75,8.5l 112,138.5l 111.5-138.5q 8.5-8.5 20-8.5t 19.75,8.25t 8.25,20t-8,19.75l-115.5,144l 115.5,143.5\nq 8,8.5 8,20t-8.25,19.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"kerning\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,352l-20,0 q-7.5,0 -15.75-5.25t-12.25-12.75l-15-46l-139.5,0 l-15,46q-4,7.5 -12.25,12.75t-15.75,5.25l-20,0 q-7.5,0 -10-5.25t 1.5-12.75l 93-283.5q 4-7.5 12.25-12.75t 15.75-5.25l 40.5,0 q 7.5,0 15.75,5.25t 12.25,12.75l 93,283.5q 4,7.5 1.5,12.75t-10,5.25zM 369,76l-48.5,148l 97.5,0 zM 193.5,334\nq-4,7.5 -12.25,12.75t-15.75,5.25l-40.5,0 q-7.5,0 -15.75-5.25t-12.25-12.75l-93-283.5q-4-7.5 -1.5-12.75t 10-5.25l 20,0 q 7.5,0 15.75,5.25t 12.25,12.75l 85,258l 84.5-258q 4-7.5 12.25-12.75t 15.75-5.25l 20.5,0 q 7.5,0 9.75,5.25t-1.75,12.75zM 46.5,388.5q 4-4 9.5-4t 9.5,4l0,28 l 384,0 l0-28 q 4-4 9.5-4t 9.5,4l 41,33\nq 4,4.5 4,10.75t-4,10.75l-41,32.5q-4,4.5 -9.5,4.5t-9.5-4.5l0-27 l-384,0 l0,27 q-4,4.5 -9.5,4.5t-9.5-4.5l-41-32.5q-4-4.5 -4-10.75t 4-10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paintbrush\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,485.5l-22,22q-5,4.5 -43.25,4.5t-43.25-4.5l-147.5-198l-34,31.5q-12.5,11.5 -41,10.75t-41.5-12.75q-8-7.5 -7-18.25t 5.5-19.5t 10-13.75l 144-144q 5-4.5 13.5-8.75t 19.75-6t 19.25,5.75q 12.5,12 11.5,47.5t-13.5,47.5l-26.5,24l 196,146q 4.5,4.5 4.5,42.75t-4.5,43.25zM 135,339l 0.25,0.25l 0.25,0.25zM 340.5,134.5\nl-0.5,0 l0-0.5 zM 196.5,27q-4.5-4.5 -4.5-11t 4.5-11.25t 11-4.75t 11,5l 92,92l-22,22zM 240.5,167l-92-92q-4.5-5 -4.5-11.25t 4.5-11t 11-4.75t 11,5l 92,92zM 192.5,215l-92-92q-4.5-5 -4.5-11.25t 4.5-11t 11-4.75t 11,4.5l 92,92.5zM 144.5,262.5l-92-92q-4.5-4.5 -4.5-10.75t 4.5-11t 11-4.75t 11,4.5l 92,92zM 96.5,310.5\nl-92-92q-4.5-4.5 -4.5-11t 4.5-11t 11-4.5t 11,4.5l 92,92z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clearformatting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,377l-55,55l 54.5,54.5q 4.5,4.5 4.5,10.75t-4.25,10.5t-10.5,4.25t-10.75-4.5l-54.5-54.5l-54.5,54.5q-4.5,4.5 -10.75,4.5t-10.5-4.25t-4.25-10.5t 4.5-10.75l 54.5-54.5l-55-55q-4.5-4.5 -4.5-10.75t 4.5-10.5t 10.5-4.25t 10.5,4.5l 55,55l 55-55q 4.5-4.5 10.75-4.5t 10.5,4.25t 4.25,10.5t-4.5,10.75zM 447,32l-10.5,64\nq-2,13 -12.75,22.5t-23.75,9.5t-20.5-9.5t-5.5-22.5q 2-6.5 1.25-12.5t-4.75-10.25t-17-6.75t-35.5-2.5q-13,0 -23.75,9.25t-12.75,22.75l-37,192q-2,14 2.75,23t 16.25,9q 12,0 19,9.25t 5,22.5t-12,22.75t-22,9.5l-130,0 q-14,0 -22-9.5t-5.75-22.75t 13.75-22.5t 25-9.25q 14.5,0 30-9.75t 18-22.25l 36.5-192\nq 2.5-13.5 -5.25-22.75t-20.25-9.25q-18.5,0 -31,1.75t-19,4t-10.25,7.5t-4.75,8.5t-2,10.25q-2,13 -12.75,22.5t-23.75,9.5t-20.5-9.5t-5.5-22.5l 11-64q 2-13.5 12.75-22.75t 23.25-9.25l 310,0 q 13,0 20.5,9.25t 5.5,22.75zM 351.5,432.25q0,6.75 -4.75,11.25t-11.25,4.5l-319.5,0 q-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.25\nt 11.25-4.5l 319.5,0 q 6.5,0 11.25,4.5t 4.75,11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"color\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5q-53,0 -96-32q-43,32 -96,32q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25q0-48.5 26.75-88.25t 69.75-58.75l0,0 q-0.5-8 -0.5-13q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25q0,1 -1,13l 0.5,0 \nq 43,19 69.75,58.75t 26.75,88.25zM 32,352q0,53 37.5,90.5t 90.5,37.5q 39.5,0 72-22.5q-40-45.5 -40-105.5q0-3.5 1-13l-0.5,0 q 30.5,13 63.5,13t 63-13q-2.5-35 -19.25-64.75t-43.75-49.75q-27,20 -43.75,50t-19.75,64.5l0-0.5 q-32-14 -55.75-40.25t-33.75-60.25q-32,16 -51.5,46.5t-19.5,67.5zM 256,64\nq-53,0 -90.5,37.5t-37.5,90.5l0,1.5 t 0.5,1.5q 16-3 31.5-3q 53.5,0 96,32q 42.5-32 96-32q 16,0 32,3l0-1.5 l0-1.5 q0-53 -37.5-90.5t-90.5-37.5zM 409,238q-10,34 -33.75,60.5t-55.75,40.5l-0.5,0 q 1,9.5 1,13q0,60 -40,105.5q 32.5,22.5 72,22.5q 53,0 90.5-37.5t 37.5-90.5q0-37 -19.5-67.5t-51.5-46.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertbarchart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25\nt 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 zM 32,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 zM 64,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,80l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25\nt 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 368,384l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,384l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 176,384l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-224 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,224 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpiechart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25\nt 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 zM 32,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 zM 64,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,80l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25\nt 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 288,96q 53,0 90.5,37.5t 37.5,90.5l-128,0 l0-128 zM 256,384q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5l0,128 l 128,0 q0,53 -37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpicturecenter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,64l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 160,384q-13,0 -22.5-9.25t-9.5-22.75\nl0-160 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,160 q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 zM 16,416l 448,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-448,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,480l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75\nl-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpictureright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 208,192l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 16,96l 128,0 q 6.5,0 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 208,64l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 16,224l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,288l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,352l 416,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-416,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75zM 16,416l 448,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-448,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,480l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpictureleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,192l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 304,96l 128,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 496,64l-192,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 224,256l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 304,256q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 160,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 zM 16,288l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,352l 416,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-416,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nt 4.75-11.25t 11.25-4.75zM 16,416l 448,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-448,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 16,480l 384,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"insertpicture\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25\nt 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 zM 32,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 zM 64,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,80l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,320 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 320,0 l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 16,0 l0-320 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25\nt 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 238.5,307.5l 74.5-75q 9-9 23.25-9t 23.25,9l 24.5,24.5l0,127 l-70,0 zM 176,224q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 183.5,297l 86.5,87l-142,0 l0-78 l 9-9q 9-9.5 23.25-9.5t 23.25,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"invert\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-26.5 -19-45.5l-60,60.5q-22-22.5 -51.25-34.75t-61.75-12.25q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25\nq0,32.5 12.25,61.75t 34.75,51.25l-60.5,60.5q 19,18.5 45.5,18.5l 256,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 256,416q-66.5,0 -113-47l 226-226q 22.5,22 34.75,51.25t 12.25,61.75q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"exposure\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,128l-32,0 l0-32 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,32 l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5\nt 22.75,9.25l 32,0 l0,32 q0,13 9.25,22.5t 22.5,9.5t 22.75-9.5t 9.5-22.5l0-32 l 32,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 448,128q0-26.5 -18.5-45.5l-347,347q 19,18.5 45.5,18.5l 256,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-256 zM 384,384l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 q 13,0 22.5,9.25\nt 9.5,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shapes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 368,448q-59.5,0 -101.75-42.25t-42.25-101.75q0-7.5 1-16l 151,0 q 5-5.5 7.25-32t-2.25-32l-34-62.5q 11.5-1.5 21-1.5q 59.5,0 101.75,42.25t 42.25,101.75t-42.25,101.75t-101.75,42.25zM 347,256l-262.5,0 q-5-5 -5-12.5t 5-13l 120-225.5q 4.5-5.5 11.25-5.5t 11.25,5.5l 120,225.5q 5,5.5 4.75,13t-4.75,12.5z\nM 192,304q0,40.5 17,75.75t 47,60.25l0,56 q0,6.5 -4.75,11.25t-11.25,4.75l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-224 q0-6.5 4.75-11.25t 11.25-4.75l 32.5,0 q 2,26.5 7,32l 137.5,0 q-1,12 -1,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"distributehorizontalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-32,0 l0,96 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-96 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0-96 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,96 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,208\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 192,448l-32,0 l0,32 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 l0-32 q0-13 9.5-22.5t 22.75-9.5\nt 22.5,9.5t 9.25,22.5l0,32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"distributeverticalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,160l-96,0 l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 l-96,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 96,0 l0-32 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l 96,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 320,112q0-6.5 -4.75-11.25\nt-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 32,352l 32,0 l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5l-320,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-32 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignjustify\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,96l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 32,320l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 32,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75\nt 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aligncenter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 416,96l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 64,288q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-384,0 zM 32,320l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 160,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-416,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 416,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,288l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,96l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 352,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 288,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75\nt 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 384,96l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 352,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 32,224l 384,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5\nt-22.5,9.25l-384,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5zM 32,320l 416,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-416,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25zM 32,416l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75t 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignleftedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 352,224l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 320,112\nq0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 32,512q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignrightedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,512q-13.25,0 -22.5-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,448 q0,13.5 -9.5,22.75t-22.75,9.25zM 352,480l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 352,224l-192,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25zM 320,112q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aligntopedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 64,128l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25zM 320,128l 128,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,192 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25zM 352,304q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignbottomedges\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 448,384l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.25t 9.5,22.75l0,192 q0,13.5 -9.5,22.75t-22.5,9.25zM 416,208q0-6.5 -4.75-11.25t-11.25-4.75\nl-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 192,384l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-320 q0-13 9.25-22.5t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignhorizontalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,480l-128,0 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0-64 l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 64,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75\nt-22.75,9.25l-64,0 l0,64 l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 304,160q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alignverticalcenters\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 l-64,0 l0,128 q0,13.5 -9.25,22.75t-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l0-128 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 l 64,0 l0-64 \nq0-13 9.5-22.5t 22.5-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 416,208q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dreamweaver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-128 zM 432,128q-6.5,0 -11.25,4.75t-4.75,11.25l0,176 q0,7 -6,15t-12,12.5l-6,4.5q-3.5,0 -5.75-2.25t-2.25-5.75l0-200 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,200 q0,3.5 -2.25,5.75t-5.75,2.25q-2.5-2 -6.5-5t-10.75-11.5t-6.75-15.5l0-174.5 l0-1 l0-0.5 \nq0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,176 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-174 l0-2 q0-6.5 -4.75-11.25t-11.25-4.75zM 160,352l-56,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-176 q0-3.5 2.25-5.75t 5.75-2.25l 56,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flash\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 208,128l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-72 q0-3.5 2.25-5.75t 5.75-2.25\nl 40,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-40,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-80 q0-3.5 2.25-5.75t 5.75-2.25l 72,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,352l-80,0 l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l0,0 l0,0 l 0.5,0 l0,0 l0,0 \nl 0.5,0 l0,0 l 0.5,0 l0,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 \nl 1,0 l 0.5,0 l 1,0 l 1,0 l 1,0 l 1,0 l 0.5,0 l 1,0 l 4.5,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"illustrator\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,192q0-26.5 -18.75-45.25t-45.25-18.75l-32,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,176 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-72 q0-3.5 2.25-5.75t 5.75-2.25l 80,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,72 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-176 zM 400,160q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,192 l-16,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-192 l 16,0 zM 216,256l-80,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-56 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,56 q0,3.5 -2.25,5.75t-5.75,2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"photoshop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,192q0-26.5 -18.75-45.25t-45.25-18.75l-80,0 l0,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-80 l 64,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 zM 384,128l-32,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,16 q0,25 17.5,36.5t 46.5,11.5l 32,0 q 12.5,0 22.25,16.5t 9.75,31.5l0,16 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nq0,26.5 18.75,45.25t 45.25,18.75l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-16 q0-28 -19.25-54t-44.75-26l-32,0 l-4,0 q-7.5,0 -11.25-0.25t-8.25-1.5t-6.5-4.75t-2-9.5l0-16 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q0-26.5 -18.75-45.25t-45.25-18.75z\nM 160,256l-64,0 l0-96 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pagebreak\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 440,200l-56,56l-16,0 l-56-56l-56,56l-16,0 l-56-56l-56,56l-16,0 l-56-56l-24,24l0-192 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,208 zM 48,256l 16,0 l 56,56l 56-56l 16,0 l 56,56l 56-56l 16,0 l 56,56l 56-56l 16,0 l 32,32l0,192 q0,13 -9.25,22.5t-22.75,9.5\nl-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-208 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"layers2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 492.5,189.5l-189,118.5q-20,12 -47.5,12t-47.5-12l-189-118.5q-19.5-12 -19.5-29.25t 19.5-29.75l 189-118q 20-12 47.5-12t 47.5,12l 189,118q 19.5,12.5 19.5,29.75t-19.5,29.25zM 19.5,322.5l 55.5-34.5l 133.5,84q 20,12 47.5,12t 47.5-12l 133.5-84l 55.5,34.5q 19.5,12.5 19.5,29.75t-19.5,29.25l-189,118.5q-20,12 -47.5,12\nt-47.5-12l-189-118.5q-19.5-12 -19.5-29.25t 19.5-29.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"layers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 492.5,280l-189,94q-20,10 -47.5,10t-47.5-10l-189-94q-19.5-10 -19.5-23.75t 19.5-23.75l 17-8.5l 172,86.5q 20,9.5 47.5,9.5t 47.5-9.5l 172-86.5l 17,8.5q 19.5,10 19.5,23.75t-19.5,23.75zM 492.5,152l-189,94.5q-20,9.5 -47.5,9.5t-47.5-9.5l-189-94.5q-19.5-10 -19.5-23.75t 19.5-23.75l 189-94.5q 20-9.5 47.5-9.5\nt 47.5,9.5l 189,94.5q 19.5,10 19.5,23.75t-19.5,23.75zM 19.5,360.5l 17-8.5l 172,86q 20,10 47.5,10t 47.5-10l 172-86l 17,8.5q 19.5,10 19.5,23.75t-19.5,23.75l-189,94q-20,10 -47.5,10t-47.5-10l-189-94q-19.5-10 -19.5-23.75t 19.5-23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"adobe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,192l-80,192l 80,0 l 41,96l-297,0 l 192-448l 128,0 l 192,448l-132.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"canvas\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-83,0 l 46.5,80.5q 7,11.5 3.5,24t-15,19.25t-24.25,3.25t-19.25-15l-65.5-112l-35,0 l0,96 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-96 l-35,0 l-65.5,112q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.25t 3.5-24l 46.5-80.5l-83,0 q-13,0 -22.5-9.25t-9.5-22.75l0-288 q0-13 9.5-22.5t 22.5-9.5l 192,0 \nq0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spray\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 464.5,32q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 432.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400.5,48q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 336.5,64\nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 304.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 240.5,96q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75zM 311.5,202q 9,9 9,22l0,224 q0,26.5 -18.75,45.25t-45.25,18.75l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-223 q-0.5-13.5 8.5-23l 87.5-87l0-83 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,48 l0,35.5 zM 336.5,96q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75\nt-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 400.5,112q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 464.5,128q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"macro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,368.5q 20.5-36.5 58-60q 19-11.5 42-16.75t 46.75-2.75t 44.75,18.5t 32.5,44.5q-23.5,0 -44.25,7t-35.75,18.25t-29.5,25.5t-26,29.25t-25,29.5t-26.5,25.75t-30.75,18t-37.75,6.75l-0.5,0 l-0.25,0 l-0.25,0 q-20,0 -37.75-6.75t-30.75-18t-26.5-25.75t-25-29.5t-26-29.25t-29.5-25.5t-35.75-18.25t-44.25-7q 11.5-28.5 32.5-44.5\nt 44.75-18.5t 46.75,2.75t 42,16.75q 37.5,23.5 58,60l0-112.5 l0-0.5 q-43.5,2.5 -86-24q-35.5-22 -55.5-55t-18.5-65q 23.5-17 58.75-15.5t 69.75,21q 2.5-40 19.75-71.75t 43.75-45.25q 26.5,13.5 43.75,45.25t 19.75,71.75q 34.5-19.5 69.75-20.75t 58.75,15.25q 1.5,32 -18.5,65t-55.5,55q-42.5,26.5 -86,24l0,0.5 l0,112.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"write\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 268.5,205q-33-33 -82.75-74.75t-82.75-66.75l-33.5-25.5q-6-6 -14.5-6t-14.5,6q-1.5,1.5 -2,3.5t 0.25,4.5t 2,4.25t 3.75,4.5t 4,4.5t 4.25,4.25t 3.75,3.5q 12.5,9 32.75,24.5t 69.75,57t 83.5,75.5q 21,21 55.75,55.5t 59.75,59.5t 44.5,45q 29,30.5 55.5,59t 38.5,41.75l 12,13.25q 6,6 6,6.5\nt-6,6.5q-5,5.5 -35.75-16.25t-41.25-32.25q-30-30.5 -81-82q-35.5-9 -87.75-38t-97.75-61.25t-79-58.25t-42.5-35q-13-13 -25.5-45.75t-15.25-65.5t 12.75-51.25q 23.5-24 66-25.25t 77,18.75q 38,21.5 86,65.75t 88,93.5t 65,98.25t 20,78q-73.5-74 -149-149.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbysizedescending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96.5l-192,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 192,0 q 13.5,0 22.75,9.5t 9.25,22.5t-9.25,22.5t-22.75,9.5zM 109,508q-5.5,4 -13,4t-13-4l-77.5-103.5q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,352 l 58.5,0 q 5,4 5,10t-5,10zM 288,160.5l 128,0 \nq 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25zM 288,288.5l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.5t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.5t 22.5-9.25zM 288.25,416q 13.25,0 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25\nt-22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbysizeascending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 416,352l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.5t-22.75,9.25zM 352,224.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25\nl 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 288.25,96.5q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.5t 9.25,22.5t-9.25,22.5t-22.5,9.5zM 109,508q-5.5,4 -13,4t-13-4l-77.5-103.5q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,352 l 58.5,0 \nq 5,4 5,10t-5,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbynamedescending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 370.5,480l 125.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.5t-4.75-11.5q0-3 2-6.25t 3.25-4t 5.25-4.75l 131.5-161l-126,0 q-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.5t 11.25-4.75l 160,0 q 5.5,0 10.75,4.75t 5.25,11.25q0,5 -10,15zM 496,224.5q-6.5,0 -11.25-4.75t-4.75-11.25l0-40 \nq0-3.5 -2.25-5.75t-5.75-2.25l-112,0 q-3,0 -5.5,2.25t-2.5,5.75l0,40 q0,6.5 -4.5,11.25t-11.25,4.75t-11.5-4.75t-4.75-11.25l0-144 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,144 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,64.5q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13,0 -22.5,9.25\nt-9.5,22.75l0,56 q0,3 2.5,5.5t 5.5,2.5l 112,0 q 3.5,0 5.75-2.5t 2.25-5.5l0-56 zM 109,508q-5.5,4 -13,4t-13-4l-77.5-103.5q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,352 l 58,0 q 5.5,4 5.5,10t-5.5,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sortbynameascending\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 501.5,31l-131,161.5l 125.5,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.25t-11.25,4.5l-160,0 q-6.5,0 -11.25-4.25t-4.75-11.75q0-3 2-6t 3.25-4t 5.25-4.5l 131.5-161l-126,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 160,0 q 5.5,0 10.75,4.5t 5.25,11q0,5 -10.5,15zM 109,507.5q-5.5,4.5 -13,4.5t-13-4.5\nl-77.5-103q-5.5-4 -5.5-10t 5.5-10l 59,0 l0-352 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,352 l 58.5,0 q 5,4 5,10t-5,10zM 384,288l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,144 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-40 q0-3.5 -2.25-5.75t-5.75-2.25l-112,0 q-3,0 -5.5,2.25\nt-2.5,5.75l0,40 q0,6.5 -4.5,11.25t-11.25,4.75t-11.5-4.75t-4.75-11.25l0-144 q0-26.5 18.75-45.25t 45.25-18.75zM 352,408q0,3.5 2.5,5.75t 5.5,2.25l 112,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-56 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,56 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lineheight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-320,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 384,96l-224,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 224,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 91.5,448q 4.5,4 4.5,9.5t-4.5,9.5\nl-32.5,41q-4.5,4 -10.75,4t-10.75-4l-33-41q-4.5-4 -4.5-9.5t 4.5-9.5l 28,0 l0-384 l-28,0 q-4.5-4 -4.5-9.75t 4.5-9.25l 33-41.5q 4.5-4 10.75-4t 10.75,4l 32.5,41.5q 4.5,3.5 4.5,9.25t-4.5,9.75l-27,0 l0,384 l 27,0 zM 160,224l 256,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-256,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5\nt 22.25-9.25zM 160,320l 288,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-288,0 q-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25zM 160,415.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-160,0 q-13,0 -22.25-9.25t-9.25-22.5t 9.25-22.75t 22.25-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"line\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-32,0 q-3.5,0 -7.5-1l-345.5,345.5q 1,4 1,7.5l0,32 q0,13 -9.25,22.5t-22.75,9.5l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 3.5,0 7.5,1l 345.5-345.5q-1-4 -1-7.5l0-32 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"polygon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,480l-256,0 l-128-224l 128-224.5l 256,0 l 128,224.5zM 368,63.5l-224,0 l-112,192.5l 112,192l 224,0 l 112-192z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"roundedrectangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-256,0 q-53,0 -90.5-37.5t-37.5-90.5l0-256 q0-53 37.5-90.5t 90.5-37.5l 256,0 q 53,0 90.5,37.5t 37.5,90.5l0,256 q0,53 -37.5,90.5t-90.5,37.5zM 480,128q0-40 -28-68t-68-28l-256,0 q-40,0 -68,28t-28,68l0,256 q0,40 28,68t 68,28l 256,0 q 40,0 68-28t 28-68l0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"elipse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,32q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87t 17.75,87\nt 47.75,71.5t 71.5,47.75t 87,17.75t 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87t-17.75-87t-47.75-71.5t-71.5-47.75t-87-17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wacom\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,59.5l-69,69l 14.5,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,255.5 q0,26.5 -18.75,45.25t-45.25,18.75l-383.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-255.5 q0-26.5 18.75-45.25t 45.25-18.75l 270.5,0 l 118-118.5q 10.5-10 24.75-10t 24.5,10.25t 10.25,24.5t-10,24.75zM 96,176.5q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5\nt-4.75,11.5l0,96 q0,6.5 4.75,11t 11.25,4.5l 32,0 q 6.5,0 11.25-4.5t 4.75-11l0-96 zM 96,368q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 160,160.5q-13.5,0 -22.75,9.25t-9.25,22.75l0,255.5 q0,13.5 9.25,22.75\nt 22.75,9.25l 287.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-255.5 q0-13.5 -9.25-22.75t-22.75-9.25l-46.5,0 l-143,142.5q-6,6 -22.5,10.5t-30,5.5l-14,1.5q 0.5-6 1.5-15.25t 5.5-27.25t 10.5-24l 93.5-93.5l-142.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"book\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,96q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,24.5 -33.25,44.25t-62.75,19.75l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-96,0 l-240,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 112,0 l0,144 \nq0,6 5.5,11t 10.5,5l 48-48l 48,48q 5,0 10.5-5t 5.5-11l0-144 l 96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"palette\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25q 56,0 76,13.75t 20,50.25q0,16 -7.5,30.5t-16.5,23.5t-16.5,20.25t-7.5,21.75q0,48 48,48q 10.5,0 21.75-7.5t 20.25-16.5t 23.5-16.5t 30.5-7.5q 36,0 50,20.5t 14,75.5q0,52 -20.25,99.5t-54.5,81.75\nt-81.75,54.5t-99.5,20.25zM 144,416q 20,0 34-14t 14-34t-14-34t-34-14t-34,14t-14,34t 14,34t 34,14zM 112,160q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 208,64q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 304,352\nq-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 400,256q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brush\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 441.5,509.5q-29.5,8 -71.25-6.75t-72.75-43.75t-31-57.5q0-17 2.5-33q 21-0.5 42.25-9.5t 35.25-23q 23.5-24 30.5-53q 31,1 49.5,22.5q 10,11.5 15.75,28.25t 7.25,32t 5.25,31t 9.5,27t 20.5,18.5t 37.75,7.25q 3,11.5 -24,31.75t-57,28.25zM 208.5,313.5q-13.5-14 -48.25-58t-72.5-96.75t-61.25-98.75t-12.5-57\nt 56.75,12.75t 98,61.75t 96.25,72.75t 57.5,48.75q 23.5,23.5 23.5,57t-23.5,57.25t-57,23.75t-57-23.5zM 282,186.5q-1,40.5 -23.25,63t-62.25,23q 2,3 22.25,24.5t 22.25,24q 42,0.5 65.75-23.5t 23.25-66q-2.5-2 -23.75-22.25t-24.25-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"edit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 390,474.5l-86-26.5l 144-144l 26.5,86q-30.5,9 -53,31.5t-31.5,53zM 16,176q-16-16.5 -16-40.25t 16.5-39.75l 79.5-79.5q 16-16.5 39.75-16.5t 40.25,16l 256,256l-160,160zM 484.5,422.5l 27.5,89.5l-89.5-27.5q 8-21.5 24.25-37.75t 37.75-24.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vector\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25q0-55.5 -36.75-96.25t-91.25-46.75l0,15 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-17 q-67.5-6 -113.75-56.25t-46.25-118.75q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,32 q0,13 -9.5,22.5t-22.5,9.5q0,55.5 36.75,96.25t 91.25,46.75l0-15 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,17 q 67.5,6 113.75,56.25t 46.25,118.75q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13.5 -9.5,22.75t-22.5,9.25zM 255.75,224q-13.25,0 -22.5,9.5\nt-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bucket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 498,495.5q-14,16.5 -34,16.5t-34-16.5t-14-39.5t 14-39.5l 18-25.5l0-98.5 q0,13 -8.5,21.5l-181,181.5q-17,16.5 -40.5,16.5t-40.5-16.5l-161-161q-16.5-17 -16.5-40.5t 16.5-40.5l 143.5-143l0,50 q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25l0-38 l 134,134l 26,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,29 l0,73.5 l 18,25.5\nq 14,16.5 14,39.5t-14,39.5zM 224.25,192.5q-13.25,0 -22.75-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,128 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"selectionintersect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 212,168.5l 44,44l 43.5-43.5q 9-9 21.75-9t 21.75,9\nt 9,21.75t-9,21.75l-43.5,43.5l 43.5,43.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-43.5-43.5l-43.5,43.5q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 43.5-43.5l-44-44q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nl0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 176,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"selectionrmove\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 352,288l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25\nt 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nl0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 176,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 304,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"selectionadd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 352,288l-64,0 l0,64 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-64 l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25\nt 9.25,22.75l0,64 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75\nl 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75\nt-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 176,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75zM 304,448l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleselection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447,223.5q-7.5-43 -33.5-79.5l 46-46q 44,56 52.5,125.5l-65,0 zM 288.5,65l0-65 q 69.5,8.5 125.5,52.5l-46,46q-36.5-26 -79.5-33.5zM 98,52.5q 56-44 125.5-52.5l0,65 q-43,7.5 -79.5,33.5zM 98.5,144q-26,36.5 -33.5,79.5l-65,0 q 8.5-69.5 52.5-125.5zM 98.5,368l-46,46q-44-56 -52.5-125.5l 65,0 q 7.5,43 33.5,79.5z\nM 223.5,447l0,65 q-69.5-8.5 -125.5-52.5l 46-46q 36.5,26 79.5,33.5zM 414,459.5q-56,44 -125.5,52.5l0-65 q 43-7.5 79.5-33.5zM 447,288.5l 65,0 q-8.5,69.5 -52.5,125.5l-46-46q 26-36.5 33.5-79.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rectangleselection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25-4.75t 4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75zM 496,352l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 336,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 208,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,512l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,160l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,288l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"crop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 445,110q 3,10 3,18l0,256 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25l 32,0 l0-32 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5\nt 9.25,22.5l0,32 l 256,0 q 8,0 17.5,2.5l 58-58q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75zM 384,171l-213,213l 213,0 l0-213 zM 128,128l0,212 l 212-212l-212,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"font\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,160q-13.25,0 -22.75-9.5t-9.5-22.5q0-26.5 -18.75-45.25t-45.25-18.75l-32,0 q-13,0 -22.5,9.25t-9.5,22.75l0,320 q0,13 9.5,22.5t 22.75,9.5t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-192,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5-9.5t 9.25-22.5l0-320 q0-13.5 -9.25-22.75t-22.75-9.25\nl-32,0 q-26.5,0 -45.25,18.75t-18.75,45.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-96 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eyedropper\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 500.75,500.75q-11.25,11.25 -27.25,11.25t-27-11.5l-28-27.5l-82.5-25q-25.5-1 -43.5-19l-126-125.5l-21.5,21.5q-11,11 -27,11t-27.25-11.25t-11.25-27t 11.5-27.25l 2.5-2.5l-57.5-57.5q-36-36 -36-87t 36-87t 87-36t 87,36l 57.5,57.5l 2.5-2.5q 11-11.5 27-11.5t 27.25,11.25t 11.25,27.25t-11,27.5l-21,21\nl 125.5,125.5q 18.5,18 18.5,44l 24.5,81l 29,29q 11,11 11,27t-11.25,27.25zM 372.5,318.5l-110-110l-55,54.5l 110,110.5q 11.5,11.5 27.5,11.5t 27.25-11.5t 11.25-27.5t-11-27.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"inkpen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,192l 42.5,0 l 53.5,288l-128-128l0-32 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75l 32,0 l 128,128l-288-53.5l0-42.5 q0-88 -39.5-162q-27.5,4 -54-4.5t-46.5-29l-17-16.5q-35-35 -35-84.5t 35-84.5t 84.75-35t 84.75,35l 16.5,16.5q 20.5,20.5 29,47.25t 4.5,54.25\nq 74,39 161.5,39z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"threecolumn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 320,512l-128,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 320,80q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 zM 64,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnleft2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 480,320l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5z\nM 480,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 256,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 256,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.25,22.5t-22.75,9.5zM 256,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,80\nq0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnright2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-352 zM 96,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 96,320l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5\nt-22.5,9.5zM 96,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twocolumnright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-352 zM 128,512l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"transform\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,416q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 \nq0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 96,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 96,0 l0-16 \nq0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 zM 256,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25\nl-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 64,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 64,280q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 \nq-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 96,72q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 288,72q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 416,112l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-96,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,16 l 96,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 96,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 480,72q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 480,264q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 472,448l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75\nt 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25zM 280,288l-16,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-16 q0-3.5 2.25-5.75t 5.75-2.25l 16,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,16 q0,3.5 -2.25,5.75t-5.75,2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"violin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 468.5,465q-48-57.5 -52-103.5l-9-9l 8-8l-23.5-24l-72,72l 24,24l 8-8l 4.5,4.5q 46.5,7 105.5,58q-27.5,25 -65.5,35.25t-74.25,3.25t-59.25-30q-9.5-9.5 -19.5-25.5q 12.5-17 12.5-37.5q0-26.5 -18.75-45.25t-45.25-18.75q-9.5,0 -20,3.5q-4.5-3.5 -5.5-5q-30-29.5 -36.75-78.25t 15.75-89.25l-77-94\nq-7.5,7 -18,7t-18-7.5l-25-25q-7.5-8 -7.5-18.75t 7.5-18.25l 18.5-18.5q 8-8 18.75-8t 18.25,8l 25.5,25q 7,7 7.25,17.5t-6.75,18l 94,77q 40-22.5 88.75-15.75t 78.75,36.75q 1,1.5 5,5.5q-3.5,10.5 -3.5,20q0,26.5 18.5,45.25t 45,18.75q 21,0 38-12.5q 16.5,10 26,19.5q 23,23.5 30,60.5t-4,75.5\nt-37,65.5zM 216,176.5l-40,40l 40,40l 40-40zM 240,328.5l 40,40l 24-24l-40-40zM 328,240.5l-24,24l 40,40l 24-24z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tv\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 174,0 l-98-98.5q-6,2.5 -12,2.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.75q0,6 -2.5,12l 98.5,98l 98.5-98q-2.5-6 -2.5-12q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75\nt-22.75,9.5q-6,0 -12-2.5l-98,98.5l 174,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 352,310.5q0-82.5 -32-86.5l-256,0 q-9.5,1.5 -16,8.5t-9.5,14.75t-4.75,20.5t-1.75,19.5l0,18.25 l0,5 l0,51 q0,12 1,23.75t 4,26.5t 9.75,24.75t 17.25,11.5l 256,0 q 7.5-1 13.5-5.75t 9.25-13.5\nt 5.25-16.25t 2.75-19t 1-17t 0.25-15l0-51 zM 464,224l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 464,352l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,416l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"headphones2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,416l-32,0 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q0-74 -41.25-117t-118.75-43t-118.75,43t-41.25,117l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 \nq 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-16,0 l-16,0 l-64,0 q-40,0 -68-28t-28-68q-26.5,0 -45.25-28t-18.75-68q0-26 8.75-48t 23.25-34.5l0-13.5 q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87l0,13.5 q 14.5,12.5 23.25,34.5t 8.75,48\nq0,40 -18.75,68t-45.25,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"podcast\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,336q-13.5,0 -22.75-9.5t-9.25-22.5l0-48 q0-52 -25.75-96.25t-70-70t-96.25-25.75t-96.25,25.75t-70,70t-25.75,96.25l0,48 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-48 q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l0,48 \nq0,13 -9.25,22.5t-22.75,9.5zM 256,96q 43.5,0 80.25,21.5t 58.25,58.25t 21.5,80.25l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,4 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 q0-40 -28-68t-68-28t-68,28\nt-28,68l0,32 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-5 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 224,352l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l-32,96q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-32-96q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"radio\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,256l-16,0 l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-224,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 \nq 26.5,0 45.25,18.75t 18.75,45.25l0,32 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 160,416q 40,0 68-28t 28-68t-28-68t-68-28t-68,28t-28,67.75t 28,68t 68,28.25zM 416,112q0-6.5 -4.75-11.25t-11.25-4.75l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 \nq0,6.5 4.75,11.25t 11.25,4.75l 48,0 l 48-64l 48,64l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 160,288q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hdtv\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,415.5l0,32.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-32.5 q-192-3.5 -192-47.5l0-272 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,272 q0,44 -192,47.5zM 480,96l-448,0 l0,256 l 448,0 l0-256 zM 64,320l0-192 \nl 288,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"album\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,64q0-13 -9.5-22.5t-22.5-9.5l-352,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,384 q0,13.5 9.25,22.75t 22.75,9.25l 352,0 q 13,0 22.5-9.25t 9.5-22.75l0-384 zM 272,448\nq-48,0 -88.5-23.5t-64-64t-23.5-88.5t 23.5-88.5t 64-64t 88.5-23.5t 88.5,23.5t 64,64t 23.5,88.5t-23.5,88.5t-64,64t-88.5,23.5zM 272,192q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 272,320q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34\nt-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"piano\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-224 q 13,0 22.5-9.5t 9.5-22.5l0-224 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 384,256l0,224 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0,224 q0,13.5 9.25,22.75t 22.75,9.25zM 224,512l-32,0 \nq-13.5,0 -22.75-9.5t-9.25-22.5l0-224 q 13,0 22.5-9.5t 9.5-22.5l0-224 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 96,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0,224 q0,13 9.25,22.5t 22.75,9.5l0,224 q0,13 -9.5,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"video3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l-320,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q-13.5,0 -22.75-9.5t-9.25-22.5l0-416 q0-13.5 9.25-22.75t 22.75-9.25l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 \nl 320,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 q 13,0 22.5,9.25t 9.5,22.75l0,416 q0,13 -9.5,22.5t-22.5,9.5zM 96,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 96,208\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 96,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 96,400\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,400\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"videocamera\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416l0,4 q0,8 -0.25,11.5t-1.5,8.25t-4.75,6.5t-9.5,1.75l-112-74.5l0,74.5 q0,13 -9.5,22.5t-22.5,9.5l-288,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13 9.25-22.5t 22.75-9.5l 32,0 l 224,0 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,74.5 l 112-74.5q 6,0 9.5,1.75t 4.75,6.5t 1.5,8.25t 0.25,11.5l0,4 l0,128 zM0,128.25\nq0-39.75 28-68t 67.75-28.25t 68,28t 28.25,68t-28.25,68t-68,28t-67.75-28t-28-67.75zM 224,128.25q0-39.75 28-68t 67.75-28.25t 68,28t 28.25,68t-28.25,68t-68,28t-67.75-28t-28-67.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"camera\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 46.5,0 l 21-47q 5.5-21 27.5-35t 49-14l 96,0 q 27,0 49,14t 27,35l 21.5,47l 46.5,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,160q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25t 21.5,80.25\nt 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5zM 256,448q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 256,224q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28-68t-68-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"guitar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 466,466q-42.5,42.5 -99.5,45.75t-94.5-34.25q-13-13.5 -20.5-23.25t-11.5-22.25q0-12.5 -6.5-28.75t-18.5-28.75q-15-15 -31.25-22.25t-27.75-5.25q-24.5-28.5 -26.75-72.25t 19.25-78.25l-70.5-70.5q-20,6 -34.5-8l-33.5-33.5q-10-10.5 -10-25t 10-24.5l 25-24.5q 10-10.5 24.5-10.5t 25,10.5l 33.5,33q 14,14.5 8,34.5l 70.5,70.5\nq 34.5-21.5 78.25-19.25t 72.25,26.75q-2,11.5 5.25,27.75t 22.25,31.25q 12.5,12 28.75,18.5t 28.75,6.5q 12.5,4 22.25,11.5t 23.25,20.5q 37.5,37.5 34.25,94.5t-45.75,99.5zM 272,224q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 429,352l-77,77l 19,19l 77-77z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eject\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 20,256q-20-18.5 -6.5-31l 231.5-217.5q 7.5-7 18.75-7t 19.25,7l 231.5,217.5q 13.5,13 -6.5,31l-488,0 zM 72,384l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"previous2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384.5 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 225,506.5l-217.5-231.5q-7.5-8 -7.5-19t 7.5-19l 217.5-231.5q 12.5-13.5 31,6l0,488.5 q-18.5,20 -31,6.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"next2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504.5,275l-217.5,231.5q-12.5,13.5 -31-6.5l0-488.5 q 18.5-19.5 31-6l 217.5,231.5q 7.5,8 7.5,19t-7.5,19zM 64,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384.5 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384.5 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"repeatone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-84 q 18.5-20 31-6.5l 121.5,103.5q 7.5,8 7.5,19.25t-7.5,18.75l-121.5,104q-12.5,13 -31-7l0-84 l-32,0 q-13,0 -22.5,9.25t-9.5,22.75l0,128 q0,13 9.5,22.5t 22.5,9.5l 320,0 \nq 13.5,0 22.75-9.5t 9.25-22.5l0-128 q0-13.5 -9.25-22.75t-22.75-9.25l-32,0 l0,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0,0 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boombox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-256 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-96 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13 -9.5,22.5t-22.5,9.5zM 384,112q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l 256,0 l0-48 zM 384,224\nq-40,0 -68,28t-28,68q0,36.5 25,64l-114,0 q 25-27.5 25-64q0-40 -28-68t-68-28t-68,28t-28,68t 28,68t 68,28l 256,0 q 40,0 68-28t 28-68t-28-68t-68-28zM 384,384q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 64,320q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"soundwave\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,128 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75\nt-11.25-4.75t-4.75-11.25l0-160 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-96 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-32 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-96 q0-6.5 4.75-11.25\nt 11.25-4.75t 11.25,4.75t 4.75,11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,96 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,128 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"movie5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 485.5,124l-0.5,0 l-35.5-59.5l-63.5,8.5l 40,60l-106,16.5l-40.5-60l-58,9l 40.5,60l-110,17.5l-38.5-63.5l-61,12l 40.5,60.5l-47.5,7.5l 52,0 l-32,63.5l 64,0 l 32-63.5l 96,0 l-32,63.5l 64,0 l 32-63.5l 96,0 l-32,63.5l 64,0 l 32-63.5q 13,0 22.5,9.25t 9.5,22.25l0,256 q0,13.5 -9.5,22.75t-22.5,9.25l-447.5,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-256 q0-13 9.25-22.25t 22.75-9.25q-2.5-1 -6-2.75t-10.25-8.75t-8.25-15.5l-8-62q-1.5-12.5 6.75-22.75t 21.25-11.75l 441-68.5q 13-1.5 23.25,6.5t 11.75,20.5l 8,62q 1.5,12.5 -6.75,22.75t-21.25,11.75zM 81.5,448l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-352,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 81.5,352l 352,0 q 6.5,0 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vlc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 32,0 l 24.5-64l 335,0 l 24.5,64l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 211.5,64l 12.5-32q 11-32 32-32q 22.5,0 32,32l 12.5,32l-89,0 zM 349.5,192l-187,0 l 24.5-64l 138,0 zM 138,256l 236,0 l 25,64l-286,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microphone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 500,465l-35,35.5q-8,8 -16.75,10.5t-16.75-3.5l-256-188q 57.5-5.5 98-46.25t 46-98.25l 188,256.5q 6,8 3.5,16.75t-11,16.75zM 144,288q-59.5,0 -101.75-42.25t-42.25-101.75t 42.25-101.75t 101.75-42.25t 101.75,42.25t 42.25,101.75t-42.25,101.75t-101.75,42.25zM 48,96q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 48,160q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 112,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 112,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 112,160q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 112,224q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,160\nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 176,224q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 256,176q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ipod\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l-192,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 192,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 384,64q0-13 -9.25-22.5t-22.75-9.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,96 q0,13.5 9.25,22.75t 22.75,9.25l 192,0 q 13,0 22.5-9.25\nt 9.5-22.75l0-96 zM 256,224q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,448q-40,0 -68-28t-28-68t 28-68t 68-28t 68,28t 28,68t-28,68t-68,28zM 256,320q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.75\nt-9.25-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"equalizer2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 480,288l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 480,192l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 288,480l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 288,384l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5\nt-9.5,22.75t-22.5,9.5zM 288,288l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 96,480l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 96,384l-64,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 96,288l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 96,192l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75\nt 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 96,96l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 416,416l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-64,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"equalizer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 416,32q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,224 l-64,0 l0-224 zM 304,192l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 224,32q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,64 l-64,0 l0-64 zM 112,416l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 32,32q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,288 l-64,0 l0-288 zM 96,480q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-32 l 64,0 l0,32 zM 288,480q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5l0-256 l 64,0 l0,256 zM 480,480q0,13 -9.5,22.5t-22.75,9.5\nt-22.5-9.5t-9.25-22.5l0-96 l 64,0 l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"music2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,208q0,30 -17.25,64.75t-40,57t-38.75,22.25q-12.5,0 -22.25-10t-9.75-22q0-13 9.25-22.5t 22.75-9.5q-0.5-4 -2-10.5t-7-23t-12-29t-18-23t-25-10.5q-17.5,0 -24.75,6.75t-7.25,25.25l0,224 q0,26.5 -28,45.25t-68,18.75t-68-18.75t-28-45.25t 28-45.25t 68-18.75q 15.5,0 32,4l0-356 \nq0-13 9.5-22.5t 22.5-9.5q 20,0 112,64q 16,10.5 26.5,17.75t 28.5,22.75t 28.75,29.5t 19.5,34t 8.75,40z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"voice\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,413l0,35 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-35 q-68.5-11.5 -114.25-64.75t-45.75-124.25q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5\nt 9.25,22.5q0,71 -45.75,124.25t-114.25,64.75zM 256,320q-40,0 -68-28t-28-68l0-128 q0-40 28-68t 68-28t 68,28t 28,68l0,128 q0,40 -28,68t-68,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"previous\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,506.5l-281.5-231.5q-7.5-7.5 -7.5-18.75t 7.5-19.25l 281.5-231.5q 12.5-13.5 31,6.5l0,488 q-18.5,20 -31,6.5zM 64,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"next\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 31,506.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 281.5,231.5q 7.5,8 7.5,19.25t-7.5,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"record\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,0q 69.5,0 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25t-128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shuffle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 383,250.5q-12.5,13.5 -31-6.5l0-83 q-61.5,5 -98.5,26q-7.5-30.5 -35-55q 56-36 133.5-36.5l0-84 q 18.5-19.5 31-6l 121.5,103.5q 7.5,8 7.5,19t-7.5,19zM 224,288q0,23 36.25,40.5t 91.75,22l0-83 q 18.5-19.5 31-6l 121.5,103.5q 7.5,8 7.5,19t-7.5,19l-121.5,103.5q-12.5,13.5 -31-6.5l0-84 q-52,0 -96.25-17.25\nt-70-46.75t-25.75-64l0-64 q0-23.5 -36.25-41t-91.75-22l0-1 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.75t 22.5-9.5q 52,0 96.25,17.25t 70,46.75t 25.75,64.5l0,64 zM 32,352l0-1.5 q 61.5-5 98.5-26q 7.5,30 35,55q-56,36.5 -133.5,36.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"repeat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,416l-288,0 l0,84.5 q-18.5,19.5 -31,6l-121.5-103.5q-7.5-8 -7.5-19t 7.5-19l 121.5-103.5q 12.5-13.5 31,6.5l0,84 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 q0,26.5 -18.75,45.25t-45.25,18.75zM 383,251q-12.5,13.5 -31-6.5l0-84.5 l-256,0 q-13.5,0 -22.75,9.5t-9.25,22.5\nl0,64 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 288,0 l0-84 q 18.5-19.5 31-6l 121.5,103.5q 7.5,8 7.5,19t-7.5,19z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pause\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,512l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 \nq0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,0l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"play\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 63,3.5l 409.5,233.5q 8,4.5 8,19.75t-8,18.75l-409.5,233.5q-6,4 -15,2.75t-16-8.75l0-492.5 q 15.5-17 31-7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rewind\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,506.5l-217.5-231.5q-7.5-8 -7.5-19.25t 7.5-18.75l 217.5-232q 12.5-13 31,7l0,488.5 q-18.5,19.5 -31,6zM 225,506.5l-217.5-231.5q-7.5-8 -7.5-19.25t 7.5-18.75l 217.5-232q 12.5-13 31,7l0,488.5 q-18.5,19.5 -31,6z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fastforward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504.5,275l-217.5,231.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 217.5,231.5q 7.5,8 7.5,19.25t-7.5,18.75zM 31,506.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 217.5,231.5q 7.5,8 7.5,19.25t-7.5,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"music\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,448q-39.75,0 -67.75-18.75t-28-45.25t 28-45.25t 68-18.75q 15.5,0 32,4l0-189.5 l-256,51l0,262.5 q0,26.5 -28,45.25t-68,18.75t-68-18.75t-28-45.25t 28-45.25t 68-18.75q 15.5,0 32,4l0-228 l0-64 q0-13 9.5-22.5t 22.5-9.5l 320-64q 13,0 22.5,9.25t 9.5,22.75l0,352 q0,26.5 -28.25,45.25t-68,18.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"headphones\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5l0-256 q 15.5,0 32,4l0-36 q0-74 -41.25-117t-118.75-43t-118.75,43t-41.25,117l0,36 q 16.5-4 32-4l0,256 q-53,0 -90.5-37.5t-37.5-90.5q0-48 32-84.5l0-75.5 q0-45.5 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87l0,75.5 \nq 32,36.5 32,84.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"movie4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5q0,69.5 -34.25,128.5t-93.25,93.25t-128.5,34.25zM 352,448q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75\nt-18.75,45.25t 18.75,45.25t 45.25,18.75zM 255.75,288q 13.25,0 22.75-9.5t 9.5-22.5t-9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.25,22.5t 22.5,9.25zM 160,448q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 112,144q-26.5,0 -45.25,18.75\nt-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 256,32q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 400,144q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75\nt 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"play2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-79.5,0 -135.75,56.25t-56.25,135.75t 56.25,135.75t 135.75,56.25t 135.75-56.25t 56.25-135.75\nt-56.25-135.75t-135.75-56.25zM 192,144l 192,112l-192,112l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"video\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l0-32 l-320,0 l0,32 l-96,0 l0-480 l 96,0 l0,32 l 320,0 l0-32 l 96,0 l0,480 l-96,0 zM 64,64l-32,0 l0,32 l 32,0 l0-32 zM 64,128l-32,0 l0,32 l 32,0 l0-32 zM 64,192l-32,0 l0,32 l 32,0 l0-32 zM 64,256l-32,0 l0,32 l 32,0 l0-32 zM 64,320l-32,0 l0,32 l 32,0 l0-32 zM 64,384l-32,0 l0,32 l 32,0 l0-32 zM 64,448l-32,0 l0,32 l 32,0 l0-32 zM 416,96l-320,0 l0,352 l 320,0 l0-352 z\nM 480,64l-32,0 l0,32 l 32,0 l0-32 zM 480,128l-32,0 l0,32 l 32,0 l0-32 zM 480,192l-32,0 l0,32 l 32,0 l0-32 zM 480,256l-32,0 l0,32 l 32,0 l0-32 zM 480,320l-32,0 l0,32 l 32,0 l0-32 zM 480,384l-32,0 l0,32 l 32,0 l0-32 zM 480,448l-32,0 l0,32 l 32,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"evernote\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,320q0,88.5 -12,129.5t-40,48q-1.5,0.5 -11,3.25t-15.5,4t-16.75,3.25t-22.75,3t-26,1q-52,0 -64-16q-5-7 -10.5-22.5t-5.5-25.5q0-33.5 14.25-48.75t 49.75-15.25q 32,0 32,16q0,0.5 -3.5,4.25t-11.5,7.75t-17,4q-7,0 -19.5,10.25t-12.5,21.75q0,10.5 13,21.25t 35,10.75q 9.5,0 15.5-0.5t 13-2.25\nt 10.75-5t 6.25-9.25t 2.5-15l0-64 q0-7 -1-12.25t-2.5-8.75t-4.75-5.75t-5.75-3.5t-7.5-1.75t-8-0.5t-9,0.25t-9.5,0.25q-51,0 -64-16l-2.25-2.75t-3.75-4.75t-3.5-5.5t-3.75-8.5t-2.75-10.5q0,15 -15.75,34.5t-34.75,32.5t-29.5,13l-48,0 q-15,0 -38.25-18.25t-40.5-41.5t-17.25-36.25l0-128 q0-13.5 8.5-22.75t 23.5-9.25\nl 64,0 q 10,0 21-11.5t 11-20.5l0-64 q0-14.5 12.75-23.25t 38.75-8.75q 29,0 54,9.5t 38.5,22.5q 35.5,0.5 55,1.5t 42,4.5t 31,10q 13.5,10.5 20.5,16.75t 14.5,15.75t 10.25,21t 2.75,26.5l0,192 zM 385.25,192q-13.25,0 -22.75,9.5t-9.5,22.5l 51.5,25.5q 12.5-9.5 12.5-25.5q0-13 -9.25-22.5t-22.5-9.5zM 113,96l-79.5,0 l-0.5-0.5q-1-2 13.5-21.5\nt 27-33.5q 12-13 31-27.5t 23.5-13l 1,2l0,78 q0,6.5 -4.5,11.25t-11.5,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rss\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34q0-75 -29.25-143t-78.5-117.25t-117.25-78.5t-143-29.25q-20,0 -34-14t-14-34t 14-34t 34-14q 63,0 123.25,16.75t 111,46.5t 93.75,72.75t 72.75,93.75t 46.5,111t 16.75,123.25q0,20 -14,34t-34,14zM 48,192q 55.5,0 105.75,21.5t 86.75,58t 58,86.75\nt 21.5,105.75q0,20 -14,34t-34,14t-34-14t-14-34q0-75.5 -50.25-125.75t-125.75-50.25q-20,0 -34-14t-14-34t 14-34t 34-14zM 64,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"draft2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448l0,32 q0,13 -9.5,22.5t-22.5,9.5l-32,0 l-384,0 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 l0,0 zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 \nq 10,0 19,4.25t 13,11.75q 2.5,8.5 8.25,33t 7.75,31q 4,10 11.75,13t 22.75,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 9-45 16-64q 6.5-16 32-16l 16,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 zM 352,288l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 192,0 q 13,0 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5z\nM 352,192l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"outbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448l0,32 q0,13 -9.5,22.5t-22.5,9.5l-32,0 l-384,0 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 l0,0 zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 \nq 10,0 19,4.25t 13,11.75q 2.5,8.5 8.25,33t 7.75,31q 4,10 11.75,13t 22.75,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 9-45 16-64q 6.5-16 32-16l 16,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 zM 373.5,256l-53.5,0 l0,64 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 l-54,0 q-7.5,0 -9.5-3t 4-9.5\nl 107-108.5q 7-7 16.5-7t 16,7l 107,108.5q 6,6.5 4,9.5t-9.5,3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"inbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 l-384,0 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 l0,64 l0,32 q0,13 -9.25,22.5t-22.75,9.5zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 \nq 10,0 19.25,4.25t 12.75,11.75q 2.5,8.5 8.25,33t 7.75,31q 4,10 11.75,13t 22.75,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 9-45 16-64q 6.5-16 32-16l 16,0 q 13,0 22.5-9.25t 9.5-22.75l0-192 zM 272,345q-6.5,7 -16,7t-16.5-7l-107-108.5q-6-6.5 -4-9.5t 9.5-3l 54,0 l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 \nq 13.5,0 22.75,9.25t 9.25,22.75l0,64 l 53.5,0 q 7.5,0 9.5,3t-4,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailimport\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55.5 55.5-91.75t 101.5-36.25t 101.5,36.25t 55.5,91.75l 67,0 l 0.5,0 l-224.5,224.5zM 348,183q 4-5 4-11.5t-4-11.5l-60,0 l0-80 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l-60.5,0 q-4,5 -4,11.5\nt 4,11.5l 92.5,73zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,378q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailexport\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55.5 55.5-91.75t 101.5-36.25t 101.5,36.25t 55.5,91.75l 67,0 l 0.5,0 l-224.5,224.5zM 288,240l0-80 l 60,0 q 4-5 4-11.5t-4-11.5l-92-73l-92.5,73q-4,5 -4,11.5t 4,11.5l 60.5,0 l0,80 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,378q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailforward\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55 55.5-91.5t 101.5-36.5t 101.5,36.5t 55.5,91.5l 67,0 l 0.5,0 l-224.5,224.5zM 279,252l 73-92l-73-92.5q-5-4 -11.5-4t-11.5,4l0,60.5 l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 l0,60 \nq 5,4 11.5,4t 11.5-4zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,378q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailrefresh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 333.5,320l 175-174.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5zM 31.5,128l 0.5,0 l 67,0 q 11.5-55.5 55.5-91.75t 101.5-36.25t 101.5,36.25t 55.5,91.75l 67,0 l 0.5,0 l-224.5,224.5zM 256,64q-22.5,0 -42,10t-33,27l-5-5q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl-20.5-20.5q 9-12.5 22.75-20t 29.75-7.5q 18.5,0 33.75,9.75t 23.25,25.75l 28.5-14.5q-12-24 -35-38.5t-50.5-14.5zM 331,219l 5,5q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l 20.5,20.5q-19.5,27.5 -52.5,27.5q-18.5,0 -33.75-9.75t-23.25-25.75l-28.5,14.5\nq 12,24 35,38.5t 50.5,14.5q 22.5,0 42-10t 33-27zM 3.5,494.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 201,342.5l 35.5,35.5q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"reademail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,494.5l-175-174.5l 174.5-174.5q 4,7 4,14.5l0,320 q0,7.5 -3.5,14.5zM 448.5,160l-0.5,0 l0,0.5 l-128,128l0-0.5 l-128,0 l0,0.5 l-128-128l0-0.5 l-0.5,0 l-31.5-31.5l0-0.5 l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 384,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 l0,0.5 zM 178.5,320l-175,174.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 4-14.5zM 288.5,320l 192,192l-0.5,0 l-448,0 l-0.5,0 \nl 192-192l 65,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"draft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-128 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 10,0 19.25,4.25t 12.75,11.75l 16.75,50.25l 15.25,45.75q 4,10 12,13t 22.5,3l 124.5,0 q 14.5,0 21.75-3t 11.25-13q 25.5-77 32-96q 6.5-16 32-16l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.25,22.5t-22.75,9.5z\nM 328,390.5q-4.5,10.5 -16.25,18t-24.75,7.5l-60.5,0 q-13,0 -25-7.5t-16.5-18l-35.5-102.5l-117.5,0 l0-256 q0-13.5 9.25-22.75t 22.75-9.25l 384,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,256 l-117.5,0 zM 112,224l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75z\nM 240,96l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 416,208q0-6.5 -4.75-11.25t-11.25-4.75\nl-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"archive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 133,332.5l 106.5,108.5q 7,7 16.5,7t 16.5-7l 106.5-108.5q 6-6.5 4-9.5t-9.5-3l-53.5,0 l0-64 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 \nq-13.5,0 -22.75,9.25t-9.25,22.75l0,64 l-54,0 q-7.5,0 -9.25,3t 4.25,9.5zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"closetab\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 l 24-78q 7-21.5 29.25-35.75t 47.75-14.25l 182,0 q 25.5,0 47.75,14.25t 29.25,35.75l 24,78l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,224 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 zM 320,352l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"newtab\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 l 24-78q 7-21.5 29.25-35.75t 47.75-14.25l 182,0 q 25.5,0 47.75,14.25t 29.25,35.75l 24,78l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,208q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,224 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 zM 320,352l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 32,0 l0-32 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.25t 9.5,22.75l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75\nt-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"closewindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 224,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 448,176q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 320,352l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 128,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"newwindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 224,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 448,176q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 320,352l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75\nt 22.75-9.5l 32,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"share\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,192q-22,0 -41.5-9.75t-33-26.25l-153,75q 3.5,13.5 3.5,25t-3.5,25l 153,75q 14-17 33.25-26.5t 41.25-9.5q 40,0 68,28t 28,67.75t-28,68t-68,28.25q-39.5,0 -67.5-28t-28.5-67.5l-168.5-82.5q-25,18 -55.5,18q-40,0 -68-28.25t-28-68t 28-67.75t 68-28q 30.5,0 55.5,17.5l 168.5-82\nq 0.5-39.5 28.5-67.5t 67.5-28q 40,0 68,28t 28,67.75t-28,68t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pocket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-44,0 -81-8t-70-27t-55.75-48t-36-73t-13.25-100l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,56 -13.25,100t-36,73t-55.75,48t-70,27t-81,8zM 403.75,171.25q-12.25-11.75 -29.75-11.75t-29.5,11.5l-88.5,84.5l-89-84.5\nq-12-11.5 -29.25-11.5t-29.5,11.75t-12.25,28.25t 12,28l 118.5,112.5q 12,12 29.25,12t 29.75-12l 118-112.5q 12.5-11.5 12.5-28t-12.25-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"twitter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,128q-45.5,0 -60.5,2q 29-17.5 44.5-66q-4.5,3 -14.75,9.5t-16.5,10.25t-15.75,7.75t-18,5.5q-31-33 -76.5-33q-46,0 -72.25,19.25t-26.25,60.75q0,2 -0.5,13.5t-0.5,21.25t 1,13.25q-67-3.5 -118.5-26.5t-89.5-69.5q-16,27.5 -16,48q0,28.5 8,47.25t 28,32.25q-20,0.5 -36,0.5\nq0,76 73,90.5q-13.5,4 -28,4q-10,0 -19.5-2q 9.5,30.5 38.25,48.75t 64.25,18.75q-11.5,11.5 -27,18.5t-35.5,9.75t-32.5,3.25t-33,0.5q-2,0 -14.5,0.75t-17.5,0.25q 13.5,26 55.25,44.5t 105.75,18.5q 56,0 103.75-18.25t 81-48.75t 56.75-70t 34.5-82t 11-85q0-1.5 4.75-2.75t 12.25-3.75t 15.75-6.75t 17-13.25\nt 14.25-21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"path\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,384q-37,0 -64-17.5l0,81.5 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25q0-1.5 0.25-3.5t 2-7.5t 4.75-9.75t 9.5-7.75t 15.5-3.5l 4.75,0 l 4.75,0 t 4.25-0.25t 4.5-0.5l 3.75-0.75t 3.5-1.25t 2.5-2t 2.25-2.75t 1.25-3.75t 0.5-4.75l0-208 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 \nq0,14 19.25,23t 44.75,9q 38.5,0 67.25-26t 28.75-70q0-31 -21.75-53t-57.5-32.5t-80.75-10.5q-34.5,0 -62.5,7t-50.5,21.75t-34.75,40t-12.25,59.25q0,18 19.5,44.5l-75.5,75.5q-40-55 -40-120q0-46.5 14.5-84.5t 38.75-63.5t 57.5-43t 69.5-25.25t 75.75-7.75q 39,0 75.75,7.5t 69.5,23.25t 57.5,38.25\nt 39,54t 14.25,69q0,40.5 -12.25,75t-35.5,60.75t-60.5,41.25t-83.75,15z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vimeo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 240,512q-23,0 -42-12.75t-32-35.75t-22.75-49.75t-16.75-59.5t-11.75-60.25t-9.75-57t-9-45q-1-3.5 -2.75-13.5t-3.5-17.5t-5-15.75t-8.5-12.75t-12.25-4.5q-7.5,0 -22.5,9.5t-25.5,22.5l-16-32q 72-128 144-128q 25,0 41,21.25t 23,58.75q 4,21 11.25,63.25t 12.5,70.75t 12.25,59.25t 14,46.75t 14,16\nq 15,0 38.25-29t 40.5-67.5t 17.25-63.5q0-27.5 -11.25-37.75t-32.25-10.25q-20.5,0 -36.5,14q 0.5-35 15-67.5t 40.5-53.5t 56.5-21q 112,0 112,128q0,37 -20.25,88.75t-52.5,102t-68.5,94.5t-72,71.5t-58.75,27.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"blogger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l-192,0 q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25l0-192 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5l 96,0 q 43.5,0 80.25,21.5t 58.25,58.25t 21.5,80.25q0,13 9.25,22.5t 22.75,9.5l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,128l-96,0 \nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 96,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25zM 352,320l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"linkedin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 128,176q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 448,256q0-40 -28-68t-68-28q-22,0 -48.25,7t-47.75,19.5l0-10.5 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-144 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-176 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"googleplus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-208,0 q 32-34 32-80q0-55.5 -38-90.5q-6.5-6 -14.75-12.5t-17.75-13.5t-13.5-10l0-0.5 q-12-6.5 -12-33q0-7 10.75-16.5t 21.25-15.5q 12-6.5 22-28.75t 10-51.25q0-28 -9.25-54.25t-27.25-41.75l 36.5,0 l 32-32l-157,0 q-78,0 -115,39l0-7 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25\nl0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 464,128l-48,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nzM 96,64q 39,0 67.5,28.25t 28.5,67.75q0,38 -22.75,59t-57.25,21q-32.5,0 -56.25-28.25t-23.75-67.75q0-33.5 20.25-56.75t 43.75-23.25zM 96,272l0,16 q0,11 4,23t 8,18.5l 4,6.5q-67,0 -112,26l0-121.5 q 33.5,30.5 96,31.5zM0,420.5q 11-27.5 46.75-40t 81.25-12.5q 21,0 42.75,9.75t 37.5,28.75\nt 15.75,41.5q0,19 -11.25,35.75t-30.25,28.25l-118.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-27.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tumblr\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,512q-33,0 -56.5-23.5t-23.5-56.5t 23.5-56.5t 56.5-23.5t 56.5,23.5t 23.5,56.5t-23.5,56.5t-56.5,23.5zM 192,512q-50.5,0 -89.25-26t-38.75-54l0-208 l-64,0 l0-96 q 49.5,0 72.75-29t 23.25-99l 64,0 l0,128 l 96,0 l0,96 l-96,0 l0,162.5 q0,13 19.25,21.25t 44.75,8.25t 40-3.25t 24-12.75l0,74.5 q0,11.5 -16.25,20.5t-37.75,13\nt-42,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"googledrive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 188,38.5l 4-6.5l 128,0 l 173,288l-142.5,0 zM 71.5,454.5l-71.5-102.5l 167.5-279.5l 61.5,106.5zM 171,352l 341,0 l-89,128l-326,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,416l0,96 q-3.5-2 -10-6t-27-22t-41-42q-24.5,6 -50,6q-36.5,0 -67.25-7.5t-50.25-18.5t-33.25-24.5t-19.5-25t-5.75-20.5l 48,0 q 64.5,0 114.75-22.5t 79.75-66.5t 29.5-103q 96,48.5 96,136q0,71.5 -64,120zM 416,160zM 192,320q-25.5,0 -50-6q-20.5,24 -40,41.5t-29,23l-9,5.5l0-96 \nq-64-48.5 -64-120q0-45.5 25.75-84.25t 70-61.25t 96.5-22.5t 96.5,22.5t 69.75,61.25t 25.5,84.25t-26,80.5t-69.5,53.25t-96.5,18.25zM 192,32q-43.5,0 -80.25,17t-58.25,46.5t-21.5,64.25t 21.5,64.25t 58.25,46.75t 80.25,17.25t 80.25-17.25t 58.25-46.75t 21.5-64.25t-21.5-64.25t-58.25-46.5\nt-80.25-17z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"avatar2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l0-32 q0-31 -12-54.5t-34.25-38.25t-50.5-23.25t-63.25-11l0-8 q 40.5-17 68.25-68.75t 27.75-107.75q0-51.5 -35.75-78t-92.25-26.5t-92.25,26.5t-35.75,78q0,54.5 28.5,106t 67.5,69.5l0,9 q-35,2.5 -63.25,11t-50.5,23.25t-34.25,38.25t-12,54.5l0,32 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 \nq0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"basecamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-55.5,0 -100-6.75t-80.5-21t-55.75-39.75t-19.75-60.5q0-38 12.75-82.25t 36.75-86t 55-76t 70.75-55t 80.75-20.75t 80.75,20.75t 70.75,55t 55,76t 36.75,86t 12.75,82.25q0,35 -19.75,60.5t-55.75,39.75t-80.5,21t-100,6.75zM 320,128q-10,0 -26,22.5t-30.25,49.5\nt-30.25,49.5t-25.5,22.5q-10.5,0 -21-7.5t-18-16.5t-18.5-16.5t-22.5-7.5q-23.5,0 -43.75,30t-20.25,66q0,26 14.75,45.25t 41.75,30t 60.5,15.75t 75,5t 75-5t 60.5-15.75t 41.75-30t 14.75-45.25q0-34 -21.5-79.75t-52-79t-54.5-33.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tag2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 385,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-251.5 q-1-14.5 9-25l 160.5-162q 9.5-9.5 22.5-9.5q 13.5,0 23,9.5l 40,40.5l 80,81l 40,40.5q 4.5,5 7,10.25t 2,8.25l0,3 l0,255 q0,26.5 -18.75,45.25t-45.25,18.75zM 257,96q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75\nt 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"outgoingcall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 482.75,192q-13.25,0 -22.75-9.5t-9.5-22.5l0-52 l-107,107.5q-9.5,9 -22.25,9t-21.75-9.25t-9-22t 9-21.75l 108-107.5l-53,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 q0,13 -9.25,22.5t-22.5,9.5zM 326.5,402l 43.5-43.5q 7.5-7 26.25-6t 38,6t 31.75,11\nq 28,13 41,32.75t 1.5,31.25l-53,53q-22,22 -58.75,24.75t-79.75-11.5t-91-45.25t-91.5-74.5t-74.5-91.5t-45.25-90.75t-11.5-79.5t 24.75-58.75l 53-53q 10.5-10.5 27.75,2t 36.75,40.5q 9,13.5 14.5,48.25t-4,47.75l-43.5,43.5q 9,32.5 47.5,80t 86,86.25t 80.5,47.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"incomingcall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,52l-108,108l 53,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,52 l 107.5-107.5q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75zM 326.5,402l 43.5-43.5q 7.5-7 26.25-6t 38.25,6t 31.5,11\nq 28,13 41,32.75t 2,31.25l-53.5,53q-22,22 -58.75,24.75t-79.5-11.5t-91-45.25t-91.75-74.5t-74.5-91.5t-45.25-91t-11.5-79.5t 24.75-58.5l 53-53q 10.5-10.5 27.75,2t 36.75,40.5q 9,13.5 14.5,48.25t-4,47.75l-43.5,43.5q 9,32.5 47.5,80t 86,86.25t 80.5,47.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"missedcall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 446,111.5l 59.5,59.5q 9,9 9,21.75t-9,22t-21.75,9.25t-21.75-9l-59.5-60l-59.5,60q-9,9 -21.75,9t-22-9.25t-9.25-22t 9.5-21.75l 59.5-59.5l-59.5-59.5q-9.5-9 -9.5-21.75t 9.25-21.75t 22-9t 21.75,9l 59.5,59.5l 59.5-59.5q 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75zM 326.5,402\nl 43.5-43.5q 7.5-7 26.25-6t 38.25,6t 31.5,11q 28,13 41,32.75t 2,31.25l-53.5,53q-22,22 -58.75,24.75t-79.5-11.5t-91-45.25t-91.75-74.5t-74.5-91.5t-45.25-91t-11.5-79.5t 24.75-58.5l 53-53q 10.5-10.5 27.75,2t 36.75,40.5q 9,13.5 14.5,48.25t-4,47.75l-43.5,43.5q 9,32.5 47.5,80t 86,86.25\nt 80.5,47.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 156.5,144.5l-44,43.5q 9,32.5 47.5,80.25t 86.25,86.25t 80.75,47.5l 43.5-43.5q 7.5-7.5 26.5-6.25t 38.25,6t 31.75,10.75q 28,13.5 41,33.25t 1.5,30.75l-53.5,53.5q-21.5,22 -58.5,24.75t-80-11.5t-91-45.25t-91.5-74.5t-74.75-91.75t-45.5-91.25t-11.5-79.75t 24.75-58.25l 53.5-53.5q 10.5-10.5 27.5,2.25t 36.5,40.25\nq 9.5,13.5 15,48.5t-4,48z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"avatar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,512l0-512 l 512,0 l0,512 l-512,0 zM 480,32l-448,0 l0,384 l 448,0 l0-384 zM 224,273.5l0-6.5 q-33.5-11 -48.75-45t-15.25-82.5q0-37 26.75-56.25t 69.25-19.25t 69.25,19.25t 26.75,56.25q0,108.5 -64,128l0,6 q 56.5,5 91.75,26.5t 36.25,57q0,5 -4.25,9t-13,6.75t-18,4.75t-23.5,3.25t-25,2t-27.25,1\nt-25.25,0.25l-23.75,0 l-23.75,0 t-25.25-0.25t-27.25-1t-25-2t-23.5-3.25t-18-4.75t-13-6.75t-4.25-9q 1-35.5 36.25-57t 91.75-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"browser\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 128,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 224,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 448,176q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,256 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment6\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-69.5 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25\nt 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 352.25,288q-13.25,0 -22.75-9.5t-9.5-22.5t 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5t-9.25,22.5t-22.5,9.5zM 256.25,288q-13.25,0 -22.75-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.25,22.5\nt-22.5,9.25zM 160.25,288q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-69.5 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 160.25,224q-13.25,0 -22.75,9.25t-9.5,22.75t 9.5,22.75\nt 22.75,9.25t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5zM 256.25,224q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 352.25,224q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75\nt-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-80.5,0 -146.5-46.5q-17.5,21.5 -46.5,34t-63,12.5q 12.5,0 21.75-38.25t 10.25-94.25q-32-57.5 -32-123.5q0-69.5 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"reddit\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 470,252q 10,25.5 10,52q0,48 -30,88.5t-81.5,64t-112.5,23.5t-112.5-23.5t-81.5-64t-30-88.5q0-26.5 10-52q-18.5-7 -30.25-23.25t-11.75-36.75q0-26.5 18.75-45.25t 45.25-18.75q 18.5,0 33.75,9.75t 23.25,25.75q 51-30 114.5-34.5q 1-5.5 3.25-14.25t 7-27.25t 8-30.75l 3.25-12.25q 6-12.5 15-12.5l 83,0 \nq 5-14 17.25-23t 27.75-9q 20,0 34,14t 14,34t-14,34t-34,14q-15.5,0 -27.75-9t-17.25-23l-70.5,0 l-16.5,64.5q 68.5,3 123,35q 8-16 23.25-25.75t 33.75-9.75q 26.5,0 45.25,18.75t 18.75,45.25q0,20.5 -11.75,36.75t-30.25,23.25zM 63.75,160q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25\nt 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 159.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 256,384q-27,0 -40.75-3.25t-23.25-12.75q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,3.5 1.5,6.5q 5,16.5 31.5,29t 63,12.5\nq 37,0 63.5-12.25t 31-29.25q 1.5-3.5 1.5-6.5q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q-16,16 -64,16zM 351.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 447.75,160q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.75,9.25\nt 22.75-9.25t 9.25-22.75t-9.5-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"myspace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,32 l 384,0 l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 443.5,272q-6.5,11.5 -19.25,15t-24.25-3.25t-15-19.75t 3.5-24.5l 15-53.5l-55.5-137.5q-3.5-6 -5.75-14.25t-2.75-15.75t 2.5-13\nt 10-5.5q 15,0 22.25,2.75t 13.25,13.25l 39.5,88l 25.5-88q 6.5-11.5 19.25-14.75t 24.25,3.25t 15,19.5t-3.5,24.5zM 288,224q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 -9.25-22.5t-22.75-9.5t-22.75,9.5t-9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-128 q0-13 -9.25-22.5\nt-22.75-9.5t-22.75,9.5t-9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-96 l0-64 q0-13 9.5-22.5t 22.5-9.5q 13.5,0 23,9.5q 20-9.5 41-9.5q 36.5,0 64,25q 27.5-25 64-25q 39.5,0 67.75,28.25t 28.25,67.75l0,96 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"delicious\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,64q0-13.5 -9.25-22.75t-22.75-9.25l-192,0 l0,224 l-224,0 l0,192 q0,13.5 9.5,22.75t 22.5,9.25l 192,0 l0-224 l 224,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"yahoo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-59.5,0 l-148.5,164l0,156 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-152.5 l-131-230.5l0-0.5 l0-0.5 l-45,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25\nl0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-63,0 l 106,183.5l 109-119.5l-56,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gmail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-10,0 -15.75,0.75t-15,5.5t-18.75,14.25l-126.5,126.5l-126.5-126.5q-9.5-9.5 -18.75-14.25t-14.75-5.5\nt-16-0.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,288 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16.5 l 105.5-105l 37,37q 7.5,7.5 17.5,3.5q 10,4 17.5-3.5l 37-37l 105.5,105l0,16.5 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-288 zM 416,338.5l-83-83l 83-82.5l0,165.5 zM 96,173\nl 83,82.5l-83,83l0-165.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phonebook2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l-32,0 l0-32 l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l-32,0 l0-32 l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l-32,0 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 \nq0,13 -9.5,22.5t-22.5,9.5zM 336,307l0-9 q 48-19.5 48-106q0-31.5 -22.25-47.75t-57.5-16.25t-57.75,16.25t-22.5,47.75q0,84 48,105.5l0,9.5 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75t 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -23-37.5t-57-22.5zM 128,96.25\nq0,13.25 -9.25,22.5t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75zM 32,224l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25zM 32,384l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5t-9.25,22.5\nt-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chrome\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512l 112-192q 16-27.5 16-64q0-28 -11.5-53t-32-43l 152.5,0 q 19,46.5 19,96q0,69.5 -34.25,128.5t-93.25,93.25t-128.5,34.25zM 130.5,230.5l-76-132q 35.5-45.5 88.25-72t 113.25-26.5q 70,0 128.75,34.75t 92.75,93.25l-221.5,0 q-46,0 -81.25,29.25t-44.25,73.25zM 256,160q 40,0 68,28t 28,68\nt-28,68t-68,28t-68-28t-28-68t 28-68t 68-28zM 144,320q 17,29 47,46.5t 65,17.5q 21,0 41-7l-76.5,132.5q-61.5-9 -112-44.25t-79.5-90.5t-29-118.75q0-68.5 34.5-128z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"forrst\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 432,384l-144-288q-11.5-32 -32-32q-3,0 -6.25,1t-5.5,2.25t-4.75,4t-4,4.25t-3.5,5.25t-2.75,5.25l-2.75,5.5t-2.5,4.5l-144,288\nq-0.5,1 -8.25,13.5t-7.75,18.5q0,13 9.5,22.5t 22.5,9.5l 128,0 l0-74.5 l-59.5-59q-4.5-4.5 -4.5-11t 4.5-11t 11-4.5t 11,4.5l 37.5,38l0-26.5 q0-6.5 4.75-11.25t 11.25-4.75l 26.5,0 l 27-27.5q 4.5-4.5 11-4.5t 11,4.5t 4.5,11t-4.5,11l-27.5,27l0,53 l 37.5-38q 4.5-4.5 11-4.5t 11,4.5t 4.5,11t-4.5,11l-59.5,59l0,42.5 l 128,0 q 13,0 22.5-9.5t 9.5-22.5q0-4.5 -3-10.75\nt-7.5-13z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dribbble\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 432.5,331q-33.5-10.5 -65-10.5q-5,0 -18.5,2q 9.5,46.5 10,95q 50-32 73.5-86.5zM 302,442q 1-51 -9-103q-15,7.5 -27.5,16.5\nq-54,38 -71,82q 30,10.5 61.5,10.5q 22.5,0 46-6zM 65,239q-1,9.5 -1,17q0,46.5 20.75,86.75t 56.75,66.75q 25.5-65.5 81.5-105q 26.5-18.5 53-30q-8-22.5 -16-41q-48,23 -100,22.5q-47.5-0.5 -95-17zM 153,94.5q-48,30.5 -71.5,82q 40,15.5 78.5,15.5q 35.5,0 69-16q-33.5-52.5 -76-81.5zM 256,64\nq-22.5,0 -47,6.5q 37,29 68,75q 39-30.5 54-66q-36-15.5 -75-15.5zM 382,111.5q-24,55.5 -72,92q 12,26 22,55q 18.5-2.5 35.5-2.5q 38.5,0.5 79.5,12q 1-11.5 1-12q0-42.5 -17.5-80t-48.5-64.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"facebook2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,415.75q0,13.25 9.5,22.75t 22.5,9.5l 128,0 l0-64 l-128,0 q-13,0 -22.5,9.25t-9.5,22.5zM 416,245.5q0-9 -9.25-15.25t-22.75-6.25l-64,0 l0-64 \nq0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75-6.25t 9.25-15.25l0-21 q0-9 -9.25-15.25t-22.75-6.25l-32,0 q-53,0 -74.5,21.5t-21.5,74.5l0,64 l-32,0 q-13,0 -22.5,6.25t-9.5,15.25l0,21 q0,9 9.5,15.25t 22.5,6.25l 32,0 l0,128 q0,13 6.25,22.5t 15.25,9.5l 21,0 q 9,0 15.25-9.5t 6.25-22.5l0-0.5 l0-127.5 l 64,0 q 13.5,0 22.75-6.25\nt 9.25-15.25l0-21 zM 416,384l-64,0 l0,64 l 64,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"instagram\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 448,80\nq0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 448,240q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5l0-16 q0-6.5 -4.75-11.25\nt-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phone3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 112,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-304 q0-6.5 4.75-11.25t 11.25-4.75l 240,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 \nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 320,336q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 320,240q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 \nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 224,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 224,336q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 \nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 224,240q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 480,112q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 128,384l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 96,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phone2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-256,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-35 18.25-72.25t 48.5-62.5t 61.25-25.25q 13,0 22.5-9.25t 9.5-22.75l0-32 q0-13 9.25-22.5\nt 22.75-9.5t 22.75,9.5t 9.25,22.5l 64,0 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,32 q0,13.5 9.25,22.75t 22.75,9.25q 31,0 61.25,25.25t 48.5,62.5t 18.25,72.25l0,32 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,256q-40,0 -68,28.25t-28,68t 28,67.75t 68,28t 68-28t 28-68t-28-68\nt-68-28zM 256,416q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,192l-16.25,0 t-14.25-0.5t-13.75-1.5t-10-2.75t-7.5-4.5t-2.25-6.75l0-51.5 q-12.5-11 -50-19.75t-78-8.75t-78,8.75t-50,19.75l0,51.5 q0,4 -2.25,6.75t-7.5,4.5\nt-10,2.75t-13.75,1.5t-14.25,0.5l-16.25,0 l-17.5,0 t-14.5-0.5t-13.5-1.5t-9.5-2.75t-7-4.5t-2-6.75l0-43.5 q0-31 34.75-54.25t 92.25-34.75t 129-11.5t 129,11.5t 92.25,34.75t 34.75,54.25l0,43.5 q0,4 -2,6.75t-7,4.5t-9.5,2.75t-13.5,1.5t-14.5,0.5l-17.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"share2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-96 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,128 \nq0,26.5 -18.75,45.25t-45.25,18.75zM 479.75,256q-13.25,0 -22.5-9.25t-9.25-22.75l0-119 l-206.5,206.5q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 206.5-206.5l-119,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,192 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flickr\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,384q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 112,384q-46.5,0 -79.25-32.75t-32.75-79.25t 32.75-79.25t 79.25-32.75t 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"notificationup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,512l-343,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 75.5,0 l 96-128l 96,128l 75.5,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 416,224l-320,0 q-13,0 -22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.5t-9.5-22.5t-22.5-9.5zM 416,352l-320,0 q-13,0 -22.5,9.25\nt-9.5,22.5t 9.5,22.75t 22.5,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"notificationdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-75.5,0 l-96,128l-96-128l-75.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 416,96l-320,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 416,224l-320,0 \nq-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bookmark\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-160-112l-160,112q-13.5,0 -22.75-9.5t-9.25-22.5l0-416 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,416 q0,13 -9.25,22.5t-22.75,9.5zM 294.5,166l-38.5-86l-38.5,86l-89.5,12l 66,64.5l-17,93.5l 79-46l 79,46l-17-93.5l 66-64.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"youtube\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,432q-111,16 -208,16q-43,0 -95-4t-82.5-8l-30.5-4q-13.5-2.5 -23.75-18.75t-15-39.25t-7-43t-2.25-36.5l0-77 q0-127.5 48-137.5q 111-16 208-16q 43,0 95,4t 82.5,8l 30.5,4q 14.5,2 24.75,18.25t 14.75,39.75t 6.5,43t 2,36.5l0,77 q0,18 -1.5,36.5t-6,42.5t-15,40t-25.5,18.5zM 346.5,243.5\nl-131-80q-5.5-5 -14.5-2.75t-9,7.25l0,176 q0,5.5 9,7.5t 14.5-3l 131-80q 5.5-5 5.5-12.5t-5.5-12.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skype\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-18.5 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 256,160q 26.5,0 45.25,9.25t 18.75,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.5q0-40 -37.5-68t-90.5-28t-90.5,28t-37.5,68t 37.5,68t 90.5,28q 26.5,0 45.25,9.25t 18.75,22.75t-18.75,22.75t-45.25,9.25t-45.25-9.5t-18.75-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.75q0,40 37.5,68t 90.5,28\nt 90.5-28t 37.5-68t-37.5-68t-90.5-28q-26.5,0 -45.25-9.5t-18.75-22.75t 18.75-22.5t 45.25-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"facebook\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,224q 13,0 22.5,9.25t 9.5,22.75l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 l0,159.5 l0,0.5 q0,13 -9.5,22.5t-22.5,9.5l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0-96 q0-53 37.5-90.5t 90.5-37.5l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,32 \nq0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,96 l 96,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"laugh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 400,320l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25q 20,56.5 58.75,84.25t 100.75,27.75t 101.25-27.75t 59.25-84.25q0-6.5 -4.75-11.25t-11.25-4.75zM 191.5,400q 12.5-48 64.5-48\nq 51.5,0 63.5,48q-7.5,7.5 -19.25,11.25t-20.25,4.25t-24.5,0.5t-24.5-0.5t-20.25-4.25t-19.25-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"blankstare\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 144,352\nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-224,0 zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 414.5,381.5q-11-29 -53.75-45.25t-104.75-16.25t-104.75,16.25t-53.75,45.25l-1.5,2.5q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q 26.5-20.5 51.25-26.25t 76.75-5.75\nt 76.75,5.75t 51.25,26.25q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25q-0.5-1 -1.5-2.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"happy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 400,336q-6.5,0 -11.25,4.75t-4.75,11.25l-0.5,0 q-26.5,20.5 -51.25,26.25t-76.5,5.75t-76.5-5.75t-51.25-26.25q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nq 0.5,1 1.5,2.5q 11.5,29 54,45.25t 104,16.25l 0.5,0 l0,0 q 59,0 100.75-15t 55.25-42l 4-7q0-6.5 -4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favorite2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512.5,231.5l-101,112l 14.5,148.5q-1.5,10 -9.5,15.75t-18,3.75l-139.5-59.5l-139.5,59.5q-10,2 -18-3.75t-9.5-15.75l 14.5-148.5l-101-112q-4.5-8.5 -1.25-18t 11.75-14l 149-32l 77-129q 7-7 17-7t 17,7l 77,129l 149,32q 8.5,4.5 11.75,14t-1.25,18zM 425.5,229l-102-22.5l-53-90q-5-5 -11.75-5\nt-11.75,5l-53,90l-102.5,22.5q-6,3.5 -8,10t 1,12.5l 70.5,80l-8,100q 1,7.5 5.25,12.5t 10.25,4l 96-42l 96,42q 6.5,1 10.75-4t 5.25-12.5l-8-100.5l 70.5-79.5q 3-6 0.75-12.5t-8.25-10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favorite\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512.5,231.5l-101,112l 14.5,148.5q-1.5,10 -9.5,15.75t-18,3.75l-139.5-59.5l-139.5,59.5q-10,2 -18-4t-9.5-15.5l 14.5-148.5l-101-112q-4.5-8.5 -1.25-18t 11.75-14l 149-32l 77-129q 7-7 17-7t 17,7l 77,129l 149,32q 8.5,4.5 11.75,14t-1.25,18z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thumbdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q-27,0 -56.5,12.75t-50.5,35.5t-21,47.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25q-8.5,0 -16-4.5q-18.5-8.5 -33.25-24.75t-14.75-34.75q0-12.5 0.25-19.75t 1-20.5t 2.75-21.5t 5.5-17t 9.25-13t 13.25-4.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 144,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75l-176,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-176,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-144,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 384,0 q 26.5,0 45.25,18.75\nt 18.75,45.25l0,192 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thumbup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,192q-27,0 -56.5-12.5t-50.5-35.5t-21-48l0-64 q0-13 -9.25-22.5t-22.75-9.5q-8.5,0 -16,4.5q-18.5,8.5 -33.25,24.75t-14.75,34.75q0,12.5 0.25,19.75t 1,20.5t 2.75,21.5t 5.5,17t 9.25,13t 13.25,4.25l-192,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 144,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25\nt-11.25,4.75l-176,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25l 176,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-176,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25l 176,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-144,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5\nt 22.5,9.25l 384,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-192 q0-26.5 -18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"businesscard2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l0,32 q0,32.5 17.75,48.25t 46.25,15.75q 28,0 46-16.5t 18-47.5l0-32 l 128,0 l0,32 q0,32.5 17.75,48.25t 46.25,15.75t 46.25-15.75t 17.75-48.25l0-32 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,387\nl0-26.5 q 32-18.5 32-84q0-26 -18-39.25t-46-13.25t-46,13.25t-18,39.25q0,62.5 32,83l0,27.5 q-28,5.5 -45.75,18.5t-18.25,29q0,13.5 96,13.5t 96-13.5q-0.5-16 -18.25-29t-45.75-18.5zM 464,256l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75zM 320,336q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 464,384l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,160\nq-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,160q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"email2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,256l-256-129.5l0-30.5 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,30.5 zM 240,288l 32,0 l 240-124.5l0,252.5 q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-252.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phonebook\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-32,0 l0-128 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,320l-32,0 l0-128 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,160l-32,0 l0-128 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\nM 416,480q0,13 -9.25,22.5t-22.75,9.5l-352,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 352,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 zM 240,307l0-9 q 48-19.5 48-106q0-31.5 -22.25-47.75t-57.5-16.25t-57.75,16.25t-22.5,47.75q0,84 48,105.5l0,9.5 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75\nt 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -23-37.5t-57-22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"friends\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,293q0,5 -4.25,9t-13,6.75t-18,4.75t-23.5,3.25t-25,1.75t-27.25,1t-25.25,0.5l-23.75,0 l-64,0 l0-64 l-0.5,0 q-0.5-23 -9-40q 13.5-3.5 25.5-5l0-15.5 q-48-29 -48-120q0-37.5 26.75-56.5t 69.25-19t 69.25,19t 26.75,56.5q0,94.5 -48,121.5l0,14 q 50.5,7 81,28t 31,54zM 208,389l0,14 \nq 50.5,7 81,28.25t 31,53.75q0,5 -4.25,9t-13,6.75t-18,4.75t-23.5,3.25t-25,2t-27.25,1t-25.25,0.25l-23.75,0 l-23.75,0 t-25.25-0.25t-27.25-1t-25-2t-23.5-3.25t-18-4.75t-13-6.75t-4.25-9q 0.5-32.5 31-53.75t 81-28.25l0-15.5 q-48-29 -48-120q0-37.5 26.75-56.5t 69.25-19t 69.25,19t 26.75,56.5\nq0,94.5 -48,121.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"user\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,478.5q0,6 -6.75,11t-20.75,8.25t-28.75,6t-37.75,4.25t-40,2.25t-43.75,1.25t-40.5,0.5l-37.75,0 l-37.75,0 t-40.5-0.5t-43.75-1.25t-40-2.25t-37.75-4.25t-28.75-6t-20.75-8.25t-6.75-11q 1-44 55-77.75t 137-44.75l0-16.5 q-26-11.5 -45-32.5t-30-49.25t-16-60.5t-5-69.75q0-32 12.5-57t 34.5-40.25\nt 50.5-23t 62.5-7.75t 62.5,7.75t 50.5,23t 34.5,40.25t 12.5,57q0,175 -96,213l0,15.5 q 83,11 137,44.75t 55,77.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"love\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,362l-146.5,150l-147-150q-59.5-61 -84.25-115.5t-24.75-118.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,63.5 -24.75,118.25t-84.75,115.75zM 448,128q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,0.5 q0,8.5 -20,20t-44,11.5\nq-25,0 -44.5-11t-19.5-21l0,0 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,0.5 q0,53 18,95.25t 63.5,95.25l 110.5,113l 110-113q 46-53.5 64-95.5t 18-95.5l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"loved\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,362l-146.5,150l-147-150q-59.5-61 -84.25-115.5t-24.75-118.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,63.5 -24.75,118.25t-84.75,115.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"post2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-43.5,0 l-128,128l0-128 l-171.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 384,96l-256,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 384,224l-256,0 \nq-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quote\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-43.5,0 l-128,128l0-128 l-171.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 224,192q0-13.5 -9.25-22.75t-22.75-9.25l-32,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 q-13,0 -22.5,9.5t-9.5,22.5l0,128 \nq0,13 9.5,22.5t 22.5,9.5l 64,0 q 13,0 22.5-9.5t 9.5-22.5l0-64 zM 416,192q0-13.5 -9.5-22.75t-22.5-9.25l-32,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,128 q0,13 9.25,22.5t 22.75,9.5l 64,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"post\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-107.5,0 l-128,128l0-128 l-107.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 448,113.5q0-20.5 -14.5-35t-34.5-14.5l-286,0 q-20.5,0 -34.75,14.5t-14.25,35l0,157 q0,20.5 14.25,35t 34.75,14.5l 286,0 q 20,0 34.5-14.5t 14.5-35l0-157 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-33,0 -67-8q-17,20 -34.75,34.75t-30,21.75t-23.75,10.75t-15,4.25t-5.5,0.5q 13-28.5 15-62.25t-6.5-56.75q-41.5-31.5 -65-75.5t-23.5-93.5q0-45.5 20.25-87t 54.5-71.5t 81.75-47.75t 99.5-17.75t 99.5,17.75t 81.75,47.75t 54.5,71.5t 20.25,87t-20.25,87t-54.5,71.5t-81.75,47.75\nt-99.5,17.75zM 127.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 255.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 383.75,192q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5\nt 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"comment\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-33,0 -67-8q-17,20 -34.75,34.75t-30,21.75t-23.75,10.75t-15.25,4.25t-5.25,0.5q 13-28.5 15-62.25t-7-56.75q-41-31.5 -64.5-75.5t-23.5-93.5q0-45.5 20.25-87t 54.5-71.5t 81.75-47.75t 99.5-17.75t 99.5,17.75t 81.75,47.75t 54.5,71.5t 20.25,87t-20.25,87t-54.5,71.5t-81.75,47.75\nt-99.5,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bluetooth\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 438.5,167q-5.5,5.5 -15,7.5l-124.5,81.5l 139.5,91.5q 9,9 9,21.75t-9,21.75q-6.5,6.5 -17.5,8l-173.5,102.5q-1.5,0.5 -5,2.75t-5.75,3.75t-5.5,2.75t-6.75,1.25q-14,1 -24.25-9t-8.25-25.5l0-151.5 l-76,49.5q-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 116-76l-116-76\nq-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 76,49.5l0-151.5 q-2-15.5 8.25-25.5t 24.25-9q 2.5,0 5,0.5t 5,2t 4,2.25t 4.75,3t 4.25,3.25l 191,112.5q 9,9 9,21.75t-9,21.75zM 256,427l 102.5-60l-102.5-67l0,127 zM 256,85l0,127 l 102.5-67z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"android\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128q-4,0 -9-1.5l-63,63.5q 61.5,32.5 98.75,93t 37.25,133q0,13.5 -9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.75q0-72.5 37.25-133t 98.75-93l-63-63.5q-5,1.5 -9,1.5q-13.5,0 -22.75-9.25t-9.25-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.5q0,4 -1.5,9l 72,71.5q 44-16.5 89.5-16.5\nt 89.5,16.5l 72-71.5q-1.5-5 -1.5-9q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 128,288q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25t 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 383.75,352q 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webcam2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,415l0-64.5 q 54-6 91-46.75t 37-96.25t-37-96.5t-91-47l0-64 q 53,4 97,32.5t 69.5,74.75t 25.5,100.25t-25.5,100.25t-69.5,74.75t-97,32.5zM 352.5,143.5q0,20 -23.5,34t-56.75,14t-56.75-14t-23.5-34t 23.5-34t 56.75-14t 56.75,14t 23.5,34zM 128,207.5q0,55.5 37,96.25t 91.5,46.75l0,64.5 \nq-53.5-4 -97.5-32.5t-69.5-74.75t-25.5-100.25t 25.5-100.25t 69.5-74.75t 97.5-32.5l0,64 q-54.5,6 -91.5,47t-37,96.5zM 128,416q 11.5,11 28.25,18.25t 39.25,9.75t 37.25,3.25t 39.75,0.75t 39.5-0.75t 37.25-3.25t 39.25-9.75t 28-18.25q 11,10.5 16.25,17t 10.5,19.25t 5.25,27.75q0,6 -4.5,10.5t-14,7.75\nt-19.25,5.75t-25.5,4t-27.5,2.25t-30.25,1.25t-28.25,0.5l-27,0 l-27,0 t-28.25-0.5t-30-1.25t-27.5-2.25t-25.75-4t-19.25-5.75t-14-7.75t-4.5-10.5q0-15 5.25-27.75t 10.75-19.25t 16-17z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"install\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 500.5,331.5q 11.5,25 11.5,52q0,53 -37.5,90.5t-90.5,37.5q-27,0 -52-11q-37,11.5 -76,11.5q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5q0,38.5 -11.5,75.5zM 256,448q 7.5,0 17-1\nq-17-29.5 -17-63.5q0-36 19-66.5q-10.5,3 -19,3q-22.5,0 -40.5-14.5l-81,99q 53,43.5 121.5,43.5zM 288,256.25q0-13.25 -9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5q 13.5,0 22.75-9.25t 9.25-22.5zM 64,256q0,68.5 43.5,121.5l 99-81q-14.5-18 -14.5-40.5q0-13 5-25l-117.5-50.5q-15.5,36 -15.5,75.5z\nM 256,64q-39.5,0 -75.5,15.5l 50.5,117.5q 11.5-5 25-5q 22.5,0 40.5,14.5l 81-99q-53-43.5 -121.5-43.5zM 404.5,134.5l-99,81q 14.5,18 14.5,40.5q0,8.5 -3,18.5q 31-19 67-19q 33.5,0 63,17q 1-10 1-16.5q0-68.5 -43.5-121.5zM 475.5,351.5l-59.5,0 l0-32 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l-59.5,0 \nq-4.5,0 -4.75,7t 3.75,11l 74,70.5q 7.5,7.5 18.5,7.5t 18.5-7.5l 74-70.5q 4-4 3.5-11t-4.5-7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"menu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,128l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 64,384l 384,0 \nq 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mouse2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25l0-192 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,192 q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5zM 256.25,96q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"print\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,288q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5\nt-9.25,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 zM 128,352q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 64,32q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 l-384,0 l0-128 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sidebar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,432q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0-224 l-192,0 l0,208 zM 256,64l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l 192,0 l0-96 zM 448,80\nq0-6.5 -4.75-11.25t-11.25-4.75l-112,0 l0,384 l 112,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hourglass2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 l0,32 q0,49.5 -23.25,91.5t-62.75,68.5q 39.5,26.5 62.75,68.75t 23.25,91.25l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-32 q0-49 23.25-91.25t 62.75-68.75q-39.5-26.5 -62.75-68.5t-23.25-91.5l0-32 l-32,0 \nq-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 128,416l0,32 l 256,0 q 1-4.5 1-9.75t-0.5-12t-0.5-10.25q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5zM 384,64l-256,0 l0,32 q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"loading\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 l0,32 q0,49.5 -23.25,91.5t-62.75,68.5q 39.5,26.5 62.75,68.75t 23.25,91.25l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-32 q0-49 23.25-91.25t 62.75-68.75q-39.5-26.5 -62.75-68.5t-23.25-91.5l0-32 l-32,0 \nq-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25zM 288,292l0,96 l 96,60l0-32 q0-44 -27-78.5t-69-45.5zM 128,416l0,32 l 96-60l0-96 q-42,11 -69,45.5t-27,78.5zM 384,64l-256,0 l0,32 q0,34 17.5,64l 221,0 q 17.5-30 17.5-64l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sim2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13 9.25-22.5t 22.75-9.5l 221,0 q 16-1 26.5,9.5l 94.5,94.5q 10,10 10,24l0,352 q0,13.5 -9.5,22.75t-22.5,9.25zM 160,208q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 160,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 160,432q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-32 zM 256,208q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 256,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-64 zM 256,432q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 352,224q0-13.5 -9.5-22.75t-22.5-9.25l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-16 zM 352,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 352,432q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 13,0 22.5-9.25\nt 9.5-22.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ubuntu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 414,222.5q-11-42 -45.5-69.25t-79-27.25q-17,0 -34.5,5l-49-85q 41.5-16.5 83.5-16.5q 15.5,0 33.5,3q-1.5,8 -1.5,13q0,33.5 23.5,57t 57,23.5q 31,0 54.5-21.5q 46,51 55.5,118l-98,0 zM 402,94q-20,0 -34-14.25t-14-34.25t 14-34t 34-14t 34,14t 14,34t-14,34.25t-34,14.25zM 199.5,346.5l-49,85\nq-58.5-46 -78-116.5q 25-8 40.5-29t 15.5-47.5q0-23.5 -12.5-43t-33.5-29.5q 22-51.5 68-87.5l 49,84.5q-38.5,38 -38.5,91.75t 38.5,91.75zM 48.25,287q-19.75,0 -34-14.25t-14.25-34.25t 14.25-34t 34-14t 34,14t 14.25,34t-14.25,34.25t-34,14.25zM 255,378.5q 17.5,5 34.5,5q 44.5,0 79-27.25t 45.5-69.25l 98,0 \nq-9.5,67 -55.5,118q-23.5-21.5 -54.5-21.5q-33.5,0 -57,23.5t-23.5,57q0,5 1.5,13q-18,3 -33.5,3q-43,0 -83.5-16.5zM 402,415.5q 20,0 34,14.25t 14,34.25t-14,34t-34,14t-34-14t-14-34t 14-34.25t 34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-64,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 393,164.5q-9.5,9.5 -23,9.5t-23-9.5t-9.5-23t 9.5-23l 46-45.5q 9-9.5 22.5-9.5t 23,9.5t 9.5,23t-9.5,22.5zM 256,512q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.5-22.5t 22.75-9.5\nt 22.5,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 256.25,128q-13.25,0 -22.75-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.5,9.25zM 118.5,438.5q-9,9.5 -22.5,9.5t-23-9.5t-9.5-23t 9.5-22.5l 45.5-46q 9.5-9.5 23-9.5t 23,9.5t 9.5,23t-9.5,23z\nM 118.5,164.5l-45.5-46q-9.5-9 -9.5-22.5t 9.5-23t 23-9.5t 22.5,9.5l 46,45.5q 9.5,9.5 9.5,23t-9.5,23t-23,9.5t-23-9.5zM 128,256.25q0,13.25 -9.5,22.5t-22.5,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.5t 9.5,22.75zM 393,347l 45.5,46q 9.5,9 9.5,22.5t-9.5,23t-23,9.5\nt-22.5-9.5l-46-45.5q-9.5-9.5 -9.5-23t 9.5-23t 23-9.5t 23,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shutdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 256,384q-13,0 -22.5-9.25t-9.5-22.75l0-192 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,192 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"power\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-48.5 17.25-92.5t 48.75-78.5q 1.5-1.5 5.75-6t 7-7.25t 7.5-5.25t 9.75-2.5q 13,0 22.5,9.5t 9.5,22.5q0,8 -1.75,14t-3.75,8l-1.5,2.5q-27,26.5 -42,61.5t-15,74q0,52 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25\nq0-39 -15-74.25t-41.5-61.75q-7.5-7.5 -7.5-24q0-13 9.5-22.5t 22.5-9.5q 3.5,0 6.75,1t 5.25,2t 5.25,4t 4.25,4.25t 4.5,5.25t 4,4.5q 31.5,34.5 48.75,78.5t 17.25,92.5q0,52 -20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,256q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13.5 9.5-22.75t 22.75-9.25\nt 22.5,9.25t 9.25,22.75l0,192 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sync2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,160l-57.5,0 l0,192 q0,13 -9.25,22.25t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.25l0-192 l-57,0 q-4.5,0 -6.25-9t 2.25-14.5l 114-131q 4.5-5.5 11-5.5t 11,5.5l 114,131q 4,5.5 2.5,14.5t-6,9zM 140.5,506.5q-4.5,5.5 -11,5.5t-11-5.5l-114-131q-4.5-5.5 -2.75-14.5t 6.25-9l 57.5,0 l0-192 q0-13.5 9.25-22.75\nt 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,192 l 57,0 q 4.5,0 6.25,9t-2.25,14.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"upload\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-48 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,16 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-16 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,48 q0,26.5 -18.75,45.25t-45.25,18.75zM 437.5,192l-117.5,0 l0,160 q0,13.5 -9.25,22.75t-22.75,9.25\nl-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 l-118,0 q-7.5,0 -9.25-3t 4.25-9.5l 170.5-172.5q 7-7 16.5-7t 16.5,7l 170.5,172.5q 6,6.5 4,9.5t-9.5,3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"download\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-48 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,16 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-16 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,48 q0,26.5 -18.75,45.25t-45.25,18.75zM 272.5,377q-7,7 -16.5,7t-16.5-7l-170.5-172.5\nq-6-6.5 -4.25-9.5t 9.25-3l 118,0 l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 l 117.5,0 q 7.5,0 9.5,3t-4,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"keyboard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504,288l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 472,192l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 440,96\nl-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 384,184q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 344,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 288,184q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 248,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 192,184q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 152,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 96,184q0,3.5 -2.25,5.75t-5.75,2.25l-80,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 80,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 zM 56,96l-48,0 \nq-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25zM 8,224l 112,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-112,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 8,416l 48,0 \nq 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM0,376l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 80,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-80,0 q-3.5,0 -5.75-2.25t-2.25-5.75zM 104,416l 48,0 \nq 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 128,376l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75zM 168,288q-3.5,0 -5.75-2.25\nt-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 zM 288,328l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75zM 264,224l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75\nl0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 384,328l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75zM 360,224l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 \nq0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 200,416l 208,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-208,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25zM 416,328q0-3.5 2.25-5.75t 5.75-2.25l 48,0 q 3.5,0 5.75,2.25\nt 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 zM 456,416l 48,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,48 q0,3.5 -2.25,5.75t-5.75,2.25l-48,0 q-3.5,0 -5.75-2.25t-2.25-5.75l0-48 q0-3.5 2.25-5.75t 5.75-2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tablet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128l-384,0 l0,256 l 384,0 l0-256 zM 96,352l0-192 l 256,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-128,0 l0-73 q 14.5-8.5 23.25-23t 8.75-32l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,320l-96,0 l0-128 l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,160l-96,0 q0-17.5 -8.75-32t-23.25-23l0-73 l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75\nt-22.5,9.25zM 352,352q0,13.5 -9.5,22.75t-22.5,9.25l0,96 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q-13.5,0 -22.75-9.25t-9.25-22.75l0-192 q0-13 9.5-22.5t 22.5-9.5l0-96 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,192 zM 320,192q0-13 -9.25-22.5t-22.75-9.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-64 q-13.5,0 -22.75,9.5t-9.25,22.5l0,128 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-128 zM 128,160l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 \nq0-13.5 9.5-22.75t 22.5-9.25l 128,0 l0,73 q-14.5,8.5 -23.25,23t-8.75,32zM 32,192l 96,0 l0,128 l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5zM 32,352l 96,0 q0,17.5 8.75,32t 23.25,23l0,73 l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zip\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 160,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 \nl0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 q-13.5,0 -22.75,9.5t-9.25,22.5l0,96 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-96 q0-13 -9.25-22.5t-22.75-9.5l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l 144,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75\nzM 256,416q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5t 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"touchpad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-160,0 l0-128 l 128,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 q0-13 -9.25-22.5t-22.75-9.5l-288,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,192 q0,13.5 9.5,22.75t 22.5,9.25l 128,0 l0,128 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 \nq0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"terminal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,32q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 320,32\nq-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 416,32q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 448,160q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,256 \nq0,13 9.25,22.5t 22.75,9.5l 320,0 q 13,0 22.5-9.5t 9.5-22.5l0-256 zM 368,352l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 218.5,284l-62.5,62.5q-5,5 -12,5t-11.75-5t-4.75-11.75t 5-11.25l 51.5-51.5l-51.5-51.5q-5-4.5 -5-11.25\nt 4.75-11.75t 11.75-5t 12,5l 62.5,62.5q 2,2 1.5,2.5q 3.5,5 3.25,11t-4.75,10.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"list\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-256,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,96l-256,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 96,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.25-22.5t 22.75-9.5l 64,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 96,320l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 96,128l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5\nt 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 224,416l 256,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thumbnails\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13.5 -9.5,22.75t-22.5,9.25zM 448,368q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl0-64 zM 480,224l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 448,80q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 \nzM 192,512l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 q0,13.5 -9.5,22.75t-22.5,9.25zM 160,368q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\nM 192,224l-160,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 160,80q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"details\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 480,320l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25z\nM 480,128l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.5,22.5t-22.5,9.5zM 96,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,320l-64,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,128l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"grid\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,320l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,128l-64,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 288,512l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,320l-64,0 q-13.5,0 -22.75-9.25\nt-9.25-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 96,512l-64,0 q-13,0 -22.5-9.5\nt-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,320l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,128l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 \nq0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"usb3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,448l-32,0 l0,32 q0,13 -9.5,22.5t-22.5,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-32,0 q-8.5,0 -32-20.25t-43.75-43.75t-20.25-32l0-160 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,8.5 -20.25,32t-43.75,43.75t-32,20.25zM 96,0l 320,0 l0,128 l-320,0 l0-128 zM 320,80q0,6.5 4.75,11.25\nt 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 128,80q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"usb2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,144q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 \nq0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0-160 l 26.5,0 q 5.5-5.5 5.5-13t-5.5-12.5l-29.5-65.5q-5.5-5.5 -13-5.5t-13,5.5l-29.5,65.5q-5.5,5 -5.5,12.5t 5.5,13l 26.5,0 l0,192 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-3 q 14-5 23-17.25t 9-27.75q0-20 -14-34t-34-14t-34,14t-14,34q0,15.5 9,27.75t 23.5,17.25\nq0,0.5 -0.25,1.5t-0.25,1.5q0,36.5 29.75,66.25t 66.25,29.75l 32,0 l0,35 q-14,5 -23,17.25t-9,27.75q0,20 14,34t 34,14t 34-14t 14-34q0-15.5 -9-27.75t-23-17.25l0-67 l 32,0 q 36.5,0 66.25-29.75t 29.75-66.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"usb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,224l-16,0 q0,36.5 -29.75,66.25t-66.25,29.75l-32,0 l0,99 q 14,5 23,17.25t 9,27.75q0,20 -14,34t-34,14t-34-14t-14-34q0-15.5 8.75-27.75t 23.25-17.25l0-35 l-32,0 q-36.5,0 -66.25-29.75t-29.75-66.25l0-1.5 l0-1 q-14-5 -23-17.5t-9-28q0-19.5 14-33.5t 34-14t 34,14t 14,33.5q0,15.5 -9,27.75\nt-23,17.75l0,2.5 q0,26.5 18.75,45.25t 45.25,18.75l 32,0 l0-256 l-26.5,0 q-5.5-5 -5.5-12.5t 5.5-13l 29.5-65q 5.5-5.5 13-5.5t 13,5.5l 29.5,65q 5.5,5.5 5.5,13t-5.5,12.5l-26.5,0 l0,192 l 32,0 q 26.5,0 45.25-18.75t 18.75-45.25l-16,0 q-7,0 -11.5-4.5t-4.5-11.5l0-63.5 q0-7 4.5-11.5t 11.5-4.5l 64,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,63.5 q0,7 -4.75,11.5\nt-11.25,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brightnesshalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,288q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25\nt 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,160l0,192 q 40,0 68-28t 28-67.75t-28-68t-68-28.25zM 256,64q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 95.75,128q-13.25,0 -22.5-9.25t-9.25-22.5\nt 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 32.25,288q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 95.75,384q 13.25,0 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 255.75,448\nq 13.25,0 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 416,384q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25t-22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brightnessfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25\nt 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,64q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 95.75,128q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25z\nM 32,288q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 95.75,384q 13.25,0 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 256,448q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5t 9.5-22.75t 22.5-9.5z\nM 416.25,384q 13.25,0 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25t-22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brightness\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,288q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 256,416q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25\nt 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25t-21.5,80.25t-58.25,58.25t-80.25,21.5zM 256,160q-40,0 -68,28.25t-28,68t 28,67.75t 68,28t 68-28t 28-67.75t-28-68t-68-28.25zM 256,64q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5t 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25z\nM 95.75,128q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25zM 32.25,288q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 95.75,384q 13.25,0 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25t-22.5-9.25t-9.25-22.5\nt 9.25-22.75t 22.5-9.5zM 255.75,448q 13.25,0 22.75,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5zM 416,384q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25t-22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screenshot\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-64,0 l0,64 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-64 l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-64 q0-13 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 400,192l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 400,96l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,16 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 272,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 176,416l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 176,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,416l-16,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 80,64q-6.5,0 -11.25,4.75t-4.75,11.25t-4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,128l 32,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 16,224l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"graphicscard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 \nl0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0-352 l 400,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,320 q0,6.5 -4.75,11.25t-11.25,4.75zM 480,160q0-13 -9.25-22.5t-22.75-9.5l-224,0 q-13,0 -22.5,9.5t-9.5,22.5l0,192 \nq0,13.5 9.5,22.75t 22.5,9.25l 224,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 zM 432,352l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 352,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75\nt 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 352.25,288q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 64,448l0,32 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-464 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75\nl 32,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,64 l0,16 l0,352 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microsd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 q 13.5,0 22.75-9.25t 9.25-22.75l0-32 q0-13 -9.25-22.5t-22.75-9.5l0-32 q0-14 10-24l 86-86l0-82 q0-13 9.5-22.5t 22.5-9.5l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,416 q0,26.5 -18.75,45.25t-45.25,18.75zM 192,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 256,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 320,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 384,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 448,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l0-128 q0-14 10-24l 94.5-94.5q 10.5-10.5 26.5-9.5l 285,0 q 13,0 22.5,9.5t 9.5,22.5l0,224 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25zM 128,112q0-6.5 -4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 192,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 256,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 \nq0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 320,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 zM 448,80\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,7 4.75,11.5t 11.25,4.5t 11.25-4.5t 4.75-11.5l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"keyboard2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,128l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25\nt-11.25,4.75zM 320,208l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 176,128l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 128,208l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 112,384l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75zM 304,384l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryaltcharging\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 256,416l-64-160l 64,0 l0-96 l 64,160l-64,0 l0,96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryalt30\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 368,416l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryalt60\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 368,416l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,320l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75\nl 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryaltfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 96,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 96,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,157.5q0-12.5 -8.5-21t-20.5-8.5l-262,0 q-12,0 -20.5,8.5\nt-8.5,21l0,261 q0,12.5 8.5,21t 20.5,8.5l 262,0 q 12,0 20.5-8.5t 8.5-21l0-261 zM 368,416l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,320l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75\nl 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 368,224l-224,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 224,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"networksignal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.5,9.25zM 320.25,512q-13.25,0 -22.75-9.25t-9.5-22.75l0-320 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.5,9.25zM 192.25,512\nq-13.25,0 -22.75-9.25t-9.5-22.75l0-192 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,192 q0,13.5 -9.25,22.75t-22.5,9.25zM 64,512q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wifi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,127.5q-10,0 -33-10t-48.5-22t-65-22t-77.5-10t-77.5,10t-65,22t-48.5,22t-33,10q-13.5,0 -22.75-9t-9.25-22.5q0-6 6.75-15t 17.25-16q 107-65 232-65t 232,65q 24,12 24,31q0,13.5 -9.25,22.5t-22.75,9zM 84.5,178q 79-50 171.5-50t 171.5,50q 20.5,13 20.5,30\nq0,13 -9.75,22.25t-22.25,9.75l0-0.5 q-4.5,0 -20.75-7.5t-35.25-16.5t-47.75-16.5t-56.25-7.5t-56.25,7.5t-47.75,16.5t-35.25,16.5t-20.75,7.5q-13.5,0 -22.75-9t-9.25-22.5q0-17 20.5-30zM 256,255.5q 20.5,0 46.5,9t 45.75,24.25t 19.75,31.25q0,13.5 -9.5,22.75t-22.5,9.25t-24-5t-17.5-11t-16.75-11.25\nt-21.75-5.25q-12,0 -22.25,5.25t-16.5,11.25t-17.25,11t-24,5t-22.5-9.25t-9.5-22.75q0-16 19.75-31.25t 45.75-24.25t 46.5-9zM 256,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webcam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,384q-52,0 -96.25-25.75t-70-70t-25.75-96.25t 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25t-25.75,96.25t-70,70t-96.25,25.75zM 256,64q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,192q-26.5,0 -45.25-14\nt-18.75-34t 18.75-34t 45.25-14t 45.25,14t 18.75,34t-18.75,34t-45.25,14zM 184,410.5q 34,5.5 72,5.5t 72-5.5q 25,19 40.5,46t 15.5,55.5l-256,0 q0-28.5 15.5-55.75t 40.5-45.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerjack\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,192q0-6.5 -4.5-11l-81-81q-5-5 -12.5-4l-156.5,0 q-7.5-1 -12.5,4l-81,81q-5,5 -4,12.5l0,174.5 q0,6.5 4.75,11.25\nt 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-176 zM 368,320q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 176,320q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firewire\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,98.5l-89,88.5q-4.5,5 -11.5,5t-12-5l-70-70q-5-4.5 -5-11.5t 5-11.5l 89-89q 5-5 11.75-5t 11.75,5l 70,70q 5,5 5,11.75t-5,11.75zM 352,224.25q0,39.75 -28.25,67.75t-67.75,28t-67.75-28t-28.25-67.75t 28.25-68t 67.75-28.25t 67.75,28.25t 28.25,68z\nM 256.25,192q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 118.5,187q-4.5,5 -11.25,5t-11.25-5l-23-22.5q-4.5-5 -4.5-11.5t 4.5-11.5l 68.5-68q 4.5-5 11.25-5t 11.75,5l 22.5,22.5q 5,5 5,11.5t-5,11.5zM 50.5,119q-5,4.5 -11.75,4.5t-11.25-4.5l-23-23\nq-4.5-4.5 -4.5-11.25t 4.5-11.25l 68.5-68.5q 5-5 11.5-5t 11.5,5l 22.5,22.5q 5,5 5,11.5t-5,11.5zM 208,352l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75zM 208,448l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 -4.75,11.25t-11.25,4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"imac\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416.5l-192,0 l0,63.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-63.5 l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-352 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,352 q0,13 -9.25,22.5t-22.75,9.5z\nM 480,32.5l-448,0 l0,288 l 448,0 l0-288 zM 64,288l0-224 l 320,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery80\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-5,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 5,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery60\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-69,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 69,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery40\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-133,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 133,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"battery20\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-197,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 197,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batteryempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-261,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 261,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batterycharged\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,256l0-64 l-160,64l 96,0 l0,64 l 160-64l-96,0 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batterycharging\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,320l-48,0 l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,157q0-12 -8.5-20.5t-21-8.5l-261,0 \nq-12.5,0 -21,8.5t-8.5,20.5l0,198 q0,12 8.5,20.5t 21,8.5l 261,0 q 12.5,0 21-8.5t 8.5-20.5l0-198 zM 192,256l-96,0 l 160-64l0,64 l 96,0 l-160,64l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"edit2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-180 l 139.5,139q 9,9.5 23,8.5l 61.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-63.5 q0-11.5 -9.5-20.5l-246.5-246.5l0-52.5 q0-13.5 9.5-22.75t 22.5-9.25l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.25,9.25zM 352,0q 13,0 22,9l 128,128.5\nq 9.5,9.5 9.5,23l-159.5,0 l0-160.5 zM 39.5,222l-34-33.5q-5.5-6 -5.5-14t 5.5-13.5l 27.5-27.5q 5.5-5.5 13.75-5.5t 13.75,5.5l 33.5,33.5zM 288,367.5l0,32 q0,7 -4.75,11.5t-11.25,4.5l-32,0 q-7,0 -13-5.5l-162-162l 55-55l 162,162q 6,6 6,12.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tethering\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437,437q-9.5,9.5 -23.25,10.25t-21.75-7.75q-9-8.5 -9.25-23.25t 9.25-24.25l-0.5,0 q 27-27 41.75-62t 14.75-74q0-52 -25.75-96.25t-70-70t-96.25-25.75t-96.25,25.75t-70,70t-25.75,96.25q0,39 14.75,74t 41.25,62q 9.5,9.5 9,24.25t-9,23.25t-22,7.75t-23-10.25\nq-35.5-35.5 -55.25-82.25t-19.75-98.75t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-19.75,98.75t-55.25,82.25zM 115.5,337.5q-10.5-18.5 -16-38.5q-11-42 0-83.25t 41.25-71.5t 72.25-41.5t 83,0t 71.25,41.25t 41.75,72q 17,64 -16,121l0,0.5 \nq-14,23.5 -40,10.5q-12-6 -15.75-18t 3.25-22.5q 9.5-14 10.75-35.25t-4.25-39.75q-10.5-38.5 -44.75-58.25t-72.75-9.5t-58.5,44.75t-9.5,72.5q 3,11 10,23q 0.5,1.5 1.5,3.25t 2,7.25t 0.5,10.5t-4.75,11.25t-12.25,10.25q-12,7 -24.25,4t-18.75-14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25q0,17.5 -8.75,32\nt-23.25,23l0,169 q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l0-169 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"foldertree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,368q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-208,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-272 l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-160 q0-6.5 4.75-11.25\nt 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,128 q0,6.5 -4.75,11.25t-11.25,4.75l-80,0 l0,64 l 192,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-160,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-192,0 l0,160 l 192,0 l0-80 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sharedfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l 192,0 l0-64 l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 l0,144 q0,6.5 4.75,11.25t 11.25,4.75l 143.5,0 l 0.5,0.5l0,191.5 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 l0,64 l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75\nt-9.25,22.5t-22.75,9.25zM 288-0.5q 13,0 22,9l 96.5,97q 9.5,9 9,22.5l-127.5,0 l0-128.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lan\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 416,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75\nt-22.75,9.25zM 480,80q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"powerplug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,413.5l0,66.5 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-66.5 q-53.5-8 -97.5-39t-69.25-79t-25.25-103.5q0-13 9.25-22.5t 22.75-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.5q0,55.5 -25.25,103.5t-69.25,79.25t-97.5,38.75zM 352,128l0-96 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 l-64,0 z\nM 96,128l0-96 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 l-64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"treediagram\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5l0-128 l-160,0 l0,128 q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5l0-128 l-160,0 l0,128 q 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 \nq-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-13 9.25-22.5t 22.75-9.5l0-144 q0-6.5 4.75-11.25t 11.25-4.75l 176,0 l0-96 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 q0-13 9.25-22.5t 22.75-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 l0,96 l 160,0 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,144 \nq 13,0 22.5,9.5t 9.5,22.5l0,32 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lock2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 309.5,244l 74.5,236q0,13.5 -9.25,22.75t-22.75,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l 74.5-236q-33.5-15.5 -54-46.75t-20.5-69.25q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,38 -20.5,69.25t-54,46.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502q-9.5,9.5 -22.5,10t-22-8.5l-47.5-47.5q-43,28.5 -95.75,23t-90.25-43l-8-8l 212-211.5l 7.5,7.5q 37.5,37.5 43,90.25t-22.5,96.25l 47.5,47q 9,9 8.5,22t-10,22.5zM 266,215.5l-51-50.5l-50,50l 51,50.5q 9,9 8.5,22t-10,22.5t-22.5,10t-22-8.5l-51-50.5l-35,35l-7.5-8\nq-37.5-37.5 -43-90.25t 22.5-95.75l-47-47q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 47,47q 43-28.5 95.75-23t 90.75,43l 7.5,8l-35,35l 51,50.5q 9,9 8.5,22t-10,22.5t-22.5,10t-22-8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"router\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-105 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,17.5 -8.75,32t-23.25,23l0,105 l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 96.25,384q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 224.25,384q-13.25,0 -22.75,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 416,384l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 64,0 \nq 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 288,160q-13.5,0 -22.75-9.25t-9.25-22.75q-9.5-28 -36.75-46t-59.25-18t-59.25,18t-36.75,46q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75q0-30.5 25.25-60.75t 62.5-48.75t 72.25-18.5t 72.25,18.5t 62.5,48.75t 25.25,60.75q0,13.5 -9.25,22.75\nt-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mobile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-224,0 q-13,0 -22.5-9.25t-9.5-22.75l0-352 q0-13 9.5-22.5t 22.5-9.5l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,64 l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,352 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,440q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25\nl-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 256,376q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 256,312q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 \nq-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 192,440q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 192,376q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 \nq-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 192,312q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 352,176q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 352,296q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 352,360q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 352,424q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nexus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 296,512l-80,0 q-72,0 -112-15.75t-40-48.25l0-384 q0-32.5 40-48.25t 112-15.75l 80,0 q 72.5,0 112.25,15.75t 39.75,48.25l0,384 q0,32.5 -40,48.25t-112,15.75zM 416,64l-320,0 l0,384 l 320,0 l0-384 zM 128,416l0-320.5 l 192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"iphone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 416,64l-320,0 l0,320 l 320,0 l0-320 z\nM 128,352l0-256.5 l 192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumemute2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,28.5l-478.5,478.5q-5,5 -12,5t-11.75-4.75t-4.75-11.75t 5-12l 478.5-478.5q 5-5 12-5t 11.75,4.75t 4.75,11.75t-5,12zM 224,128l 122.5-121.5q 15-15 37.5,8l0,27 l-160,159.5l0-73 zM 64,352l0-192 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,105 l-126.5,127q-1.5-4 -1.5-8zM 384,498.5q-22.5,22.5 -37.5,7l-122.5-121.5\nl0-9 l 160-160l0,283.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumemute\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.5,224l-32,32l 32,32q 0.5,0.5 2.25,2t 2.5,2.5t 2.25,2.5t 2.25,2.5t 1.75,2.5t 1.5,2.75t 0.75,2.5t-0.25,2.5t-1.5,2.25l-21.5,21.5q-1,1 -2.25,1.5t-2.5,0.25t-2.5-0.75t-2.75-1.5t-2.5-1.75t-2.5-2.25l-2.5-2.5l-2.5-2.5l-2-2l-32-32l-32,32l-1.5,1.5q-15.5,15.5 -21,10l-21.5-21.5q-1-1.5 -1.5-3t 0.25-3.25t 1.5-3.25t 2.5-3.5t 3-3t 3.5-3.25\nl 2.75-2.75l 32-32l-32-32l-2.25-2.25l-2.5-2.5t-2.25-2.5t-2.5-2.75t-2-2.5t-1.5-2.75t-0.75-2.5t 0.25-2.5t 1.5-2.25l 21.5-21.5q 1-1 2.25-1.5t 2.5-0.25t 2.5,0.75t 2.75,1.5t 2.75,2t 2.75,2.5t 2.5,2.25t 2.5,2.5t 2,2.25l 32,32l 32-32q 0.5-1 2.75-3t 3.25-3.25t 3-3t 3.5-2.5t 3.25-1.5t 3.25-0.5t 3,1.75l 21.5,21.5q 5.5,5.5 -10,21zM 282.5,506l-122.5-122l0-256.5 \nl 122.5-121.5q 15-15 38,7.5l0,485 q-22.5,22.5 -38,7.5zM0,352l0-192.5 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,256.5 l-96,0 q-13,0 -22.5-9.25t-9.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumehalf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 396,381.5l-22.5-22.5q 42-42.5 42-102.25t-42-101.75l 22.5-22.5q 24.5,24 38,56.25t 13.5,68.25t-13.5,68t-38,56.5zM 281.5,507l-122.5-122l0-256.5 l 122.5-121.5q 15-15 38,7.5l0,485 q-22.5,22.5 -38,7.5zM 127,385l-96,0 q-13,0 -22.5-9.25t-9.5-22.75l0-192.5 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,256.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"volumefull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437,437l-22.5-22.5q 31-31 48.25-71.75t 17.25-86.5t-17.25-86.5t-48.25-71.75l 22.5-23q 35.5,35.5 55.25,82.25t 19.75,99t-19.75,99t-55.25,81.75zM 380.5,380.5l-22.5-22.5q 42-42 42-101.75t-42-101.75l 22.5-22.5q 24.5,24 38,56.25t 13.5,68t-13.5,68t-38,56.25zM 282.5,506l-122.5-121.5l0-256 l 122.5-122\nq 15-15 37.5,8l0,484 q-22.5,22.5 -37.5,7.5zM 128,384.5l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-192.5 q0-13 9.25-22.5t 22.75-9.5l 96,0 l0,256.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sim\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,352l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,128l-64,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,512l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,352l-64,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,128l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,512l-32,0 \nq-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,352l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25z\nM 128,128l-64,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diskspace2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,224l-240,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 240,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 448,128l-384,0 \nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 448,32l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 48,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 64,384l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 288,464q0,6.5 4.75,11.25t 11.25,4.75l 144,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-144,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handtwofingers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320q0,9.5 -8,41.5t-16,59.5t-8,27q-5.5,14.5 -10.5,24t-12.75,19.75t-18,15.25t-22.75,5l-224,0 q-12.5,0 -22.5-4.5t-17.5-14.75t-12.25-19.5t-11.75-25.25l-48-112q-3.5-7.5 -9.75-28.25t-6.25-25.25l0-58.5 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75\nt 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,80 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,128 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handdrag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448q-18.5,64 -64,64l-224,0 q-24,0 -37.75-16t-26.25-48q-18.5-40 -48-112q-3.5-8.5 -7.5-21t-6.5-20.5l-2-7.5l0-95 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-176 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,176 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,208 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-144 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5\nt 9.25,22.5l0,224 q0,12 -8,43.75t-16,58.5t-8,25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448q0,26.5 -18.75,45.25t-45.25,18.75l-224,0 q-5,0 -10-1.25t-8.75-2.5t-8-4.75t-6.75-5.25t-6.25-7t-5.25-7.25t-5.25-9t-4.5-8.5l-4.75-9.5l-4.5-9q-7-14.5 -17.75-37t-28.5-66.25t-17.75-56.75l0-64 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-208 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75l0,208 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,80 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-80 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,80 q0,6.5 4.75,11.25t 11.5,4.75\nt 11.25-4.75t 4.5-11.25l0-48 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,128 q0,9 -8,41t-16,59.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cursor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 407,318.5l-127,0 l 71,148q 6,12 1.5,24.25t-16.75,18t-24.75,1.25t-18.5-16l-68-142.5l-96,96q-13.5,0 -23-9.5t-9.5-22.5l0-403.5 q0-7.5 8.75-10.5t 20.25,0t 19.5,10.5l 258,258q 6.5,6.5 10.75,18t 3,21t-9.25,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"deletefolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 494,428.5q 4.5,17.5 -7.5,30l-45,44.5q-12.5,12.5 -30.5,8q-18,4.5 -30.5-8l-44.5-44.5l-45,44.5q-12.5,12.5 -30.5,8q-18,4.5 -30.5-8l-45-44.5q-3.5-4 -6-9.5l-115,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13.5 9.5-22.75t 22.5-9.25l 240,0 l 23-42.5q 4.5-8 15-14.75t 21-6.75l 120,0 q 12,0 22.5,6.25t 14,15.25\nq 24.5,34 24.5,42.5l0,288 q0,24.5 -18,43.5zM 439,309q 9-9 9-21.75t-9-21.75t-21.75-9t-21.75,9l-59.5,59.5l-60-59.5q-9-9 -21.75-9t-21.75,9t-9,21.75t 9,21.75l 59.5,59.5l-59.5,59.5q-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 60-59.5l 59.5,59.5q 9,9 21.75,9t 21.75-9\nt 9-21.75t-9-21.75l-59.5-59.5zM 23,22.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.25l 24,42.5l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addfolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 l-224,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.5-22.5t 22.5-9.5l 240,0 l 23-42q 4.5-8 15-15t 21-7l 120,0 q 12,0 22.5,6.25t 14,15.75q 24.5,33.5 24.5,42l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,320l-64,0 \nl0-64 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,64 l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 64,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-64 l 64,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75\nl 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"explorerwindow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,96l-128,0 q-13,0 -22.5,9.5t-9.5,22.5l0,288 q0,13.5 9.25,22.75t 22.75,9.25l 128,0 l0-352 zM 448,128q0-13 -9.5-22.5t-22.5-9.5l-160,0 l0,352 \nl 160,0 q 13,0 22.5-9.25t 9.5-22.75l0-288 zM 112,384l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 176,352l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\nM 176,288l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 176,224l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 176,160l-64,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"laptop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 448,384l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-256 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,112q0-6.5 -4.75-11.25t-11.25-4.75l-352,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-192 zM 96,127.5l 192,0 l-192,160.5l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"notes\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45.25t 45.25-18.75l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 l 160,0 l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 q 26.5,0 45.25,18.75t 18.75,45.25l0,352 q0,26.5 -18.75,45.25\nt-45.25,18.75zM 432,192l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,288l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,384l-320,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,96q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"file\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,0q 12.5,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"monitor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-192,0 l0,64 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l-256,0 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 l0-64 l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,64l-384,0 l0,256 l 384,0 l0-256 zM 96,288l0-192.5 l 256,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,222.5l0-31.5 q 14-4.5 23-18.25t 9-29.25l0-64 q0-16 -9-29.75t-23-18.75l0-31 q 62,6 106.5,53.5t 52,114.5q-71,50 -158.5,54.5zM 272.25,159.5q-6.75,0 -11.25-4.75t-4.5-11.25l0-64 q0-7 4.5-11.5t 11.25-4.5t 11.5,4.5t 4.75,11.5l0,64 q0,6.5 -4.75,11.25t-11.5,4.75zM 256.5,191l0,31.5 q-88-4.5 -159-54.5\nq 7.5-67 52.25-114.5t 106.75-53.5l0,31 q-14,5 -23.25,18.75t-9.25,29.75l0,64 q0,15.5 9.25,29t 23.25,18.5zM 448.5,202l0,117.5 q0,52.5 -23.5,96.75t-64.25,70t-88.5,25.75t-88.5-25.75t-64.25-70t-23.5-96.75l0-117.5 q 80.5,53.5 176.25,53.5t 176.25-53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleselect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 406.25,169.25q-9.75-9.75 -23.75-9.75t-23.5,10l-135.5,135l-71-71\nq-9.5-10 -23.5-10t-23.75,9.75t-9.75,23.75t 10,23.5l 93.5,93.5q 10,10.5 25,10q 14.5,0.5 24.5-10l 157.5-157.5q 10-9.5 10-23.5t-9.75-23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circledelete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 374,184.5q 10-9.5 10-23.5t-9.75-23.75t-23.75-9.75t-23.5,10l-71.5,71l-71-71\nq-9.5-10 -23.5-10t-23.75,9.75t-9.75,23.75t 10,23.5l 71,71.5l-71,71q-10,9.5 -10,23.5t 9.75,23.75t 23.75,9.75t 23.5-10l 71-71l 71.5,71q 9.5,10 23.5,10t 23.75-9.75t 9.75-23.75t-10-23.5l-71-71z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleadd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 384,224l-96,0 l0-96 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,96 l-96,0 \nq-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 96,0 l0,96 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-96 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trashfull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 160,0 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l 160,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 64,128l 384,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 \nq0-13 9.5-22.5t 22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trashempty\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 160,0 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l 160,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 64,128q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 9.5,22.75t 22.5,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-256 q0-13 9.25-22.5\nt 22.5-9.5t 22.75,9.5t 9.5,22.5l0,288 q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-288 q0-13 9.25-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trash\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,96l-9,0 l-430,0 l-9,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 160,0 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l 160,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 480,448q0,26.5 -18.75,45.25t-45.25,18.75l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 l 448,0 l0,320 zM 160,224\nq0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,192 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-192 zM 288,224q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,192 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-192 zM 416,224q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,192 \nq0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,448q 39.5,0 75.5-15.5l-50.5-117.5q-12,5 -25,5q-22.5,0 -40.5-14.5l-81,99\nq 53,43.5 121.5,43.5zM 288,256.25q0-13.25 -9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25t 22.5-9.25t 9.5-22.5zM 64,256q0,68.5 43.5,121.5l 99-81q-14.5-18 -14.5-40.5q0-13 5-25l-117.5-50.5q-15.5,36 -15.5,75.5zM 256,64q-39.5,0 -75.5,15.5l 50.5,118q 12-5.5 25-5.5q 22.5,0 40.5,15l 81-99.5\nq-53-43.5 -121.5-43.5zM 404.5,134.5l-99,81q 14.5,18 14.5,40.5q0,13 -5,25.5l 117.5,50q 15.5-36 15.5-75.5q0-68.5 -43.5-121.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vinyl\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,160q-40,0 -68,28.25t-28,68t 28,67.75t 67.75,28t 68-28\nt 28.25-67.75t-28-68t-68-28.25zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 255.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"paste\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-416 q0-13.5 9.25-23t 22.75-9.5l 64,0 l0,64 q0,13.5 9.5,22.75t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 l 64,0 q 13.5,0 22.75,9.5t 9.25,23l0,416 q0,13 -9.25,22.5t-22.75,9.5zM 320,96l-128,0 q-13,0 -22.5-9.5t-9.5-22.5q0-13.5 9.5-22.75t 22.5-9.25q0-13.5 9.5-22.75\nt 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75q 13.5,0 22.75,9.25t 9.25,22.75q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 460,416q-18.5,0 -34-9.75t-23.5-26.25l-19-8.5l 8.5,19q 16,8 26,23.5t 10,34q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25q0-17 8.5-31.5t 22.5-23l-25-56.5l-38-17q-144-80.5 -205-125.75t-49-65.75l 254,127.5l-127.5-254.5q 20.5-12 65.25,48.75t 126.25,205.75l 17,38l 56.5,25\nq 8.5-14 23-22.5t 31.5-8.5q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 332,448.25q0,13.25 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75zM 460.25,320q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"copy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-96 l 112,0 q 15.5,0 27.75-9t 17.25-23l 83,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 l0-64 l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 l0-64 l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,13 -9.25,22.5t-22.75,9.5zM 432,416l-160,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 288,352l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-288 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 q0,13.5 -9.5,22.75t-22.5,9.25zM 240,64l-160,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,160l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,256l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"save\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 l0-224 q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,224 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 32,0 l 320,0 l 64,0 l 64,64l0,416 q0,13 -9.5,22.5t-22.5,9.5zM 384,32l-320,0 l0,128 q0,13.5 9.25,22.75t 22.75,9.25l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-128 zM 256,64l 64,0 \nl0,96 l-64,0 l0-96 zM 112,288l 288,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 112,384l 288,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 112,480l 288,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"deletefile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 326.5,292.5q 9-9 9-21.75t-9-21.75t-21.75-9t-21.75,9l-59.5,59.5l-59.5-59.5q-9-9 -21.75-9t-21.75,9t-9,21.75\nt 9,21.75l 59.5,59.5l-59.5,59.5q-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 59.5-59.5l 59.5,59.5q 9,9 21.75,9t 21.75-9t 9-21.75t-9-21.75l-59.5-59.5zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"createfile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13 9.5-22.5t 22.5-9.5l 224,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25l0,0.5 zM 320,320l-64,0 l0-64 q0-13 -9.5-22.25t-22.75-9.25t-22.5,9.25t-9.25,22.25l0,64 l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.25\nt 22.75,9.25l 64,0 l0,64 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-64 l 64,0 q 13,0 22.5-9.25t 9.5-22.25t-9.5-22.5t-22.5-9.5zM 320,0q 10.5,0 22,9.5l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 l0-0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"search\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5l-99-99q-60,44.5 -134,44.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.25t-17.75-87t 17.75-87.25t 47.75-71.25t 71.5-47.5t 87-17.75t 87,17.75t 71.5,47.5t 47.75,71.25t 17.75,87q0,74.5 -44.5,134l 99,99q 9.5,9.5 9.5,22.75t-9.5,22.75zM 224,64.5\nq-43.5,0 -80.25,21.25t-58.25,58.25t-21.5,80.25t 21.5,80.25t 58.25,58.25t 80.25,21.25t 80.25-21.25t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"presentation\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,319.5l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-191.5 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,192 q0,13 -9.5,22.25t-22.5,9.25zM 496,32l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.5t 4.75-11.25t 11.25-4.5l 480,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75zM 16,351.5l 480,0 q 6.5,0 11.25,4.75\nt 4.75,11.5t-4.75,11.25t-11.25,4.5l-163,0 l 47.5,88.5q 5.5,9.5 2.75,20.25t-12.25,16.25t-20,2.5t-16-12.5l-62.5-115l-33,0 l-62.5,115q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 47.5-88.5l-163,0 q-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.5t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spreadsheet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,480l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l-64,0 l0,32 zM 416,416l 64,0 l0-32 l-64,0 l0,32 zM 416,352l 64,0 l0-32 l-64,0 l0,32 zM 416,288l 64,0 l0-32 l-64,0 \nl0,32 zM 480,224l0-32 l-64,0 l0,32 l 64,0 zM 320,480l 64,0 l0-32 l-64,0 l0,32 zM 320,416l 64,0 l0-32 l-64,0 l0,32 zM 320,352l 64,0 l0-32 l-64,0 l0,32 zM 320,288l 64,0 l0-32 l-64,0 l0,32 zM 384,224l0-32 l-64,0 l0,32 l 64,0 zM 224,480l 64,0 l0-32 l-64,0 l0,32 zM 224,416l 64,0 l0-32 l-64,0 l0,32 zM 224,352l 64,0 l0-32 l-64,0 l0,32 zM 224,288l 64,0 l0-32 l-64,0 l0,32 z\nM 288,224l0-32 l-64,0 l0,32 l 64,0 zM 128,464q0,6.5 4.75,11.25t 11.25,4.75l 48,0 l0-32 l-64,0 l0,16 zM 128,416l 64,0 l0-32 l-64,0 l0,32 zM 128,352l 64,0 l0-32 l-64,0 l0,32 zM 128,288l 64,0 l0-32 l-64,0 l0,32 zM 192,224l0-32 l-64,0 l0,32 l 64,0 zM 192,64l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l 64,0 l0-32 zM 128,128l0,32 l 64,0 l0-32 l-64,0 z\nM 288,64l-64,0 l0,32 l 64,0 l0-32 zM 224,128l0,32 l 64,0 l0-32 l-64,0 zM 384,64l-64,0 l0,32 l 64,0 l0-32 zM 320,128l0,32 l 64,0 l0-32 l-64,0 zM 480,80q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,32 l 64,0 l0-16 zM 480,128l-64,0 l0,32 l 64,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"document\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 240,416l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 112,416l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 112,320l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 112,224l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 240,96l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,192l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 400,384l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rawaccesslogs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.5,319.5l-399.5,0.5q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 208,0 l0,32 l-208,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 208,0 l0,95.5 l-224,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 383.5,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,287 l0,0.5 zM 431.5,64.5l-351.5,0 \nq-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 351.5,0 q 7,0 11.5-4.75t 4.5-11.5t-4.5-11.25t-11.5-4.5zM 431.5,128.5l-351.5,0 q-6.5,0 -11.25,4.5t-4.75,11.25t 4.75,11.5t 11.25,4.75l 351.5,0 q 7,0 11.5-4.75t 4.5-11.5t-4.5-11.25t-11.5-4.5zM 431.5,192l-351.5,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 351.5,0 q 7,0 11.5-4.5t 4.5-11.25\nt-4.5-11.5t-11.5-4.75zM 431.5,256l-351.5,0 q-6.5,0 -11.25,4.75t-4.75,11.5t 4.75,11.25t 11.25,4.5l 351.5,0 q 7,0 11.5-4.5t 4.5-11.25t-4.5-11.5t-11.5-4.75zM 470,374.5l-128,128.5q-9,9 -22,9l0-160.5 l 159.5,0 q0,13.5 -9.5,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"remotemysql\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,66l0,302.5 l 32,32q-72.5,47.5 -159,47.5q-68.5,0 -130.5-31.5l-3,6q 36.5,37 36.5,89.5l-256,0 q0-53 37.5-90.5t 90.5-37.5q 15,0 31,4l 5.5-10.5q-47-40.5 -73.75-97.25t-26.75-121.25q0-86.5 47.5-159l 32.5,32l 301,0 l 24.5-25q 7.5-7 17.5-7t 17.25,7.25t 7.25,17.25t-7,17.5zM 175.5,64l 119,118.5l 118.5-118.5\nl-237.5,0 zM 448,98l-119,119.5l 119,119l0-238.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"unlock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13.5 9.5-22.75t 22.5-9.25l0,0 l 128,0 l 160,0 l0-64 q0-40 -28-68t-67.75-28t-68,28t-28.25,68l-64,0 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,64 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13 -9.25,22.5\nt-22.75,9.5zM 320,320q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,20 11.25,36t 29.25,23.5l-40.5,100.5l 128,0 l-40.5-100.5q 18-7.5 29.25-23.5t 11.25-36z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-224 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 l0-64 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,64 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,480l 128,0 l-40.5-100.5q 18-7.5 29.25-23.5t 11.25-36\nq0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,20 11.25,36t 29.25,23.5zM 352,160q0-40 -28-68t-67.75-28t-68,28t-28.25,68l0,64 l 192,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sync\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 96,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,160 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,368q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25\nt 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 416.25,224q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 416.25,128q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 320.25,128\nq-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 224,224l-96,0 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 192,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,160 \nq0,13.5 -9.25,22.75t-22.75,9.25zM 192,80q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 95.75,288q 13.25,0 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5t-22.5-9.5t-9.5-22.75t 9.25-22.5t 22.5-9.25z\nM 95.75,384q 13.25,0 22.75,9.25t 9.5,22.75t-9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75t 9.25-22.75t 22.5-9.25zM 192,384q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75t 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cloudsync\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437.5,372l 10.5,40q0,10 -5.5,23t-12,13l-32,0 q-16.5,29 -46,46.5t-64.5,17.5q-40,0 -72.25-22.25t-46.75-58.25q-6-1 -9.5-5l-26-26q-7-6.5 -5-16.5l-16.5,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5\nq0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5q0,38 -20.5,69.25t-54,46.75zM 288,288q-31,0 -55.5,18t-34.5,46.5l-32.5,0 q-5.5,6 -5.5,14.5t 5.5,14.5l 26.5,34.5q 3,3 7,4.5l 0.5,0 q 6,2.5 13,1.25t 11.5-5.75\nl 26.5-34.5q 5.5-6 5.5-14.5t-5.5-14.5l-18,0 q 8.5-15 23.25-23.75t 32.25-8.75q 5,0 11,1l 20.5-27q-16.5-6 -31.5-6zM 410.5,387l-26.5-35q-3-3 -7.5-4.5l0,0 q-6-2.5 -13.25-1.25t-11.25,5.75l-26.5,35q-5.5,6 -5.5,14.5t 5.5,14.5l 17.5,0 q-8.5,14.5 -23,23.25t-32,8.75q-5,0 -11-1l-20.5,27.5q 16,5.5 31.5,5.5q 31,0 55.5-17.75\nt 34.5-46.25l 32.5,0 q 5.5-6 5.5-14.5t-5.5-14.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"clouddownload\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 422,378.5l-124.5,129q-4,4.5 -25.5,4.5t-25.5-4.5l-119-123.5l-15.5,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,35 48.25,58.75t 69.75,31.25q-33-19.5 -52.5-52.5t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,37t-35,60.5q 17.5-26 45.5-41\nt 60.5-15q 53,0 90.5,37.5t 37.5,90.5q0,42.5 -25.25,76t-64.75,46zM 378,352.5l-58,0 l0-64.5 q0-13 -9.25-22.5t-22.75-9.5l-32,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64.5 l-58,0 q-4,0 -5.5,7t 2.5,11.5l 99.5,104.5q 4,4.5 9.5,4.5t 9.5-4.5l 99.5-104.5q 4-4.5 2.5-11.5t-5.5-7z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cloudupload\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,416l-32,0 l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 l-80,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63\nq-34,11 -59,37t-35,60.5q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 381,365l-99.5-104.5q-4-4.5 -9.5-4.5t-9.5,4.5l-99.5,104.5q-4,4.5 -2.5,11.75t 5.5,7.25l 58,0 l0,64 q0,13.5 9.25,22.75t 22.75,9.25l 32,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-64 l 58,0 q 4,0 5.5-7.25t-2.5-11.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cloud\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448l-272,0 q-46.5,0 -79.25-32.75t-32.75-79.25q0-28.5 13.5-53t 36.5-40q 17,34.5 48.25,58.25t 69.75,31.25q-33-19 -52.5-52t-19.5-72.5q0-59.5 42.25-101.75t 101.75-42.25q 44,0 79.75,24t 52.25,63q-34,11 -59,36.75t-35,60.75q 17.5-26 45.5-41.25t 60.5-15.25q 53,0 90.5,37.5t 37.5,90.5\nt-37.5,90.5t-90.5,37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"algorhythm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,282.5l-59.5,59.5l0,122 q0,6.5 -4.75,11.25t-11.25,4.75l-191.5,0 q-15,14.5 -40.5,23.25t-56,8.75q-46.5,0 -79.25-18.75t-32.75-45.25q0-24 27.5-41.75t 68.5-21.25l0-65 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 96,0 l0-65 q-41-3.5 -68.5-21.25t-27.5-41.75q0-26.5 32.75-45.25t 79.25-18.75\nt 79.25,18.75t 32.75,45.25q0,24 -27.5,41.75t-68.5,21.25l0,65 l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,32 l 73,0 l 60-60q 4.5-4.5 10.75-4.5t 10.75,4.5l 65,65q 4.5,4.5 4.5,10.75t-4.5,10.75zM 256,320l-96,0 l0,65 q 41,3.5 68.5,21.25t 27.5,41.75l 160,0 l0-105.5 l-54.5-54.5l-73.5,0 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"perl2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 319,143q-24-24 -27.5-29.25t-3.5-17.75q0-13.5 -9.25-22.75t-22.75-9.25l0-32 q-13,0 -22.5,9.25t-9.5,22.75q0,9.5 -0.5,16\nt-3.25,17.75t-9.75,22.75t-18,23q-24,9.5 -46,24.25t-41,33.25t-30.25,41.25t-11.25,45.75q0,59 45.75,103.5t 114.75,54q-0.5,0.5 -0.5,1.25l0,1.25 q0,13 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5l0-1.25 l0-1.25 q 68.5-9.5 114.25-54t 45.75-103.5q0-23 -11.25-45.75t-30.25-41.25t-41.25-33.25t-46.25-24.75z\nM 310.5,419.5q 19-22 30.25-56.75t 11.25-74.75q0-37.5 -13.75-71.25t-34.75-57.75q 33.5,19 57,52.75t 23.5,76.25q0,46.5 -20,81t-53.5,50.5zM 224,288q0,91.5 25.5,128.5q-5,1.5 -10,4q-21.5-15.5 -34.5-50.25t-13-82.25q0-31 8.5-56.75t 21.5-40.5t 26-22.75t 24-8q-6.5,0 -14.25,8t-15.5,22.75t-13,40.5\nt-5.25,56.75zM 201.5,419.5q-33.5-16 -53.5-50.5t-20-81q0-42.5 23.5-76.25t 57-52.75q-21,24 -34.75,57.75t-13.75,71.25q0,40 11.25,74.75t 30.25,56.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"perl\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,288q0,20 -2.5,28.25t-13.5,19.75q-6,6 -12-11.5q-4-11.5 -4-20.5l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1.5 l0-1 l0-4.5 q0-9.5 -7-1.5q-5.5,6.5 -9,17.5\nq-3,10 -7,32.75t-2,31.25q 0.5,1.5 2,8.25t 2.25,10.25t 1.5,9t 0.25,9t-2.5,5.5q-2.5,3 -2.75,4.75t 0.5,2.75t 3.25,3.5t 4,5q 1.5,1.5 2,3.5t0,4t-1,3.5t-1.75,3.75t-2,3.75t-2.75,4t-2.5,3.5q-2.5,3.5 -4.25,12.75t-3.25,20.25t-2,13.5q-1.5,6.5 2,18.25t 8,17.25q 1.5,2.5 0,5.5t-5,6.75t-7,6.75\nt-6.25,5l-2.75,2l-25.5,0 q-1-18.5 3-26q 0.5-1 14-25.5q 7.5-13 9.5-46q 1-5 0.25-10t-5.25-11q-3-6 -2.25-12t 2.75-14t 2-10.5q-1.5-14 -11.5-21q-5-4 -7.5-20t-3-17.5q-3.5-9 -4-32q-25,39 -35.5,58.5q-3.5,6.5 -3.75,20.5t 1.75,16.5q0,0.5 1,2.25t 1.25,2.5t 0.75,2.5t 0.25,2.75t-1.25,2.75t-3,3.25\nq-6,4.5 -50.5,56q 19.5,13.5 21,16.5q 3.5,5.5 3,12.75t-4.5,12.75q-4,5 -11.25,2.75t-7.25-7.75q 0.5-8.5 -13.5-22.5q-5,7 -6.75,13.5t 1.75,9q 2.5,1.5 1,4t-4.5,4l-3.5,2l-31,0 q-9,2 -12-5q-1.5-3 2.5-5.5t 12-5.25t 11-4.25q 7.5-4.5 21-20q-7.5-6.5 -32.5-27.5t-29.5-25q-6-6.5 -5.25-18.75t 6.75-18.25q 2-1.5 3.5-4\nt 2.25-4.25t 1.25-4.75t 0.5-4.5l0-4.75 l0-3.75 q 0.5-3 3-8l 4.25-8.5t 0.25-5q-3-2 -14.5,0t-17.5,5.5q-3.5,2 -3.75,7t 1.25,11.5t 1.5,8q-0.5,7.5 -13.5,21q-4.5,4 -7.25,15.5t-0.25,16q 2,3.5 3,7.75t 0.25,8t-4.25,4.75q-5,1.5 -12.75,21.75t-7.75,30.25q-1,28 -7.5,30.5q-4.5,1.5 -5.25,5t 5.25,5q 5.5,1.5 5.5,10\nl-62,0 q-0.5,0.5 -1.75,0.5t-2.75-1t-1.5-4.5q0-4.5 12-9.25t 19.5-5.75q 4.5-1 13.75-19t 12.75-32q 1.5-13.5 1-22.75t-2.75-25t-2.25-19.75q-3-55.5 2-63.5q 4-4.5 3-11.75t-8.5-9.75q-6.5-1.5 -14.75,7.25t-11.25,8.75q-3.5,0 -6.75-1.25t-4.75-2.75l-1.5-1q-3.5,1 -12.5,0q-4-0.5 -7.25-3.25t-4.25-5.25l-1-2.5q-12.5-6.5 -19-10.5\nq-3-2 -4.5-4.75t-1.5-4.25l0-2 q-11.5-5 -19-10.5q-4-3 -6.5-10.25t-6-11.25t-4.25-15t-0.25-25t0-18.5q-1-15 2.75-31.5t 13.25-16.5l0,0 l0,0 l-0.5,0 l0,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 \nl-1,0 l-0.5,0 l-1,0 l-0.5,0 l-1,0 l-1,0 l-0.5,0 l-1,0 l-1,0 l-1,0 l-0.5,0 l-1,0 l-1,0 l-1,0 l-0.5,0 l-1,0 l-4.5,0 l0-3.25 t 1-7.75t 2.5-9.75t 4.75-7.75t 7.75-3.5l 48,0 q 2.5-3.5 6-8.5t 12-14t 14-9.5q 8-1 24.5-0.25t 23.5,4.75q 4.5,2.5 6,8t 1,10l-1,4.5q 7.5,4.5 12.5,16.5q 1.5,8.5 0.75,12.5t-4,13t-4.25,13.5q-1.5,6.5 -8,25.75t-6.5,23.75q-0.5,4 4.5,6.75t 9.5,3.75l 5,0.5\nq-2-22 1-33q 1-4.5 7.25-11.5t 14.75-15.25t 11.5-11.75q 10.5-12 47-33.5q 3.5-2 6-3.75t 3.75-3.25t 3-4.25t 2.5-4t 2.75-5.75t 3-7q 9-20 80.5-39.5q 38-10.5 71,22.5q 7,7 12,28.5t 11,28q 8.5,9 18.75,27.75t 16.25,32.75q 3.5,9.5 18,24t 17.5,20q 5,8.5 5,70zM 315.5,304q-2.5,3.5 -3.75,13.75t-3.75,12.75\nq-1.5,1.5 -2.5,3.25t-1.75,4.25t-1.25,4t-1,4.75t-1,4.75q-1,6 -12.25,14.25t-20.75,12.25q-2,0.5 -3.25,1.5t-1.75,2.25t-0.75,2t 0.5,2.25t 1.25,2.25t 1.75,2.75t 1.75,2.5q 6.5,10 41.5,34q 5.5-8.5 12.75-22.25t 11.75-23.25l 4.5-9.5q-3.5-28 -4.5-36.5q0-3 -0.5-18.75t-1-24.75q-12,6.5 -16,11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chevrons\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 368,512l-80,0 l 144-256l-144-256l 80,0 l 144,256zM 144,512l-144-256l 144-256l 80,0 l-144,256l 144,256l-80,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braces\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479.75,288q-13.25,0 -22.5,18.75t-9.25,45.25l0,96 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.5-22.5t 22.5-9.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 q0-26.5 18.75-45.25t 45.25-18.75q-26.5,0 -45.25-18.75t-18.75-45.25l0-112 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 q-13.5,0 -22.75-9.5\nt-9.25-22.75t 9.5-22.5t 22.5-9.25l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,96 q0,26.5 9.5,45.25t 22.5,18.75t 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.75,9.5zM 128,320l0,112 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 \nq0-26.5 -9.25-45.25t-22.5-18.75t-22.75-9.5t-9.5-22.5t 9.5-22.5t 22.75-9.5t 22.5-18.75t 9.25-45.25l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,112 q0,26.5 -18.75,45.25t-45.25,18.75q 26.5,0 45.25,18.75t 18.75,45.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"squarebrackets\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-64,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-352 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 80,448l 48,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75\nt-22.5,9.5l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"csharp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,224l-16,0 l0,64 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-64 l-16,0 \nq-6.5,0 -11.25-4.5t-4.75-11.25t 4.75-11.5t 11.25-4.75l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 64,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.5t-4.75,11.25t-11.25,4.5zM 384,224l0,64 l 64,0 l0-64 l-64,0 zM 224.25,384q 13.25,0 22.5,9.5t 9.25,22.5\nl0,1.5 l0,1.5 q-0.5,25 -10.75,43.25t-28,29t-39.75,15.75t-49.5,5q-53,0 -90.5-37.5t-37.5-90.5l0-128 l0-128 q0-53 37.5-90.5t 90.5-37.5q 57.5,0 92.75,29.25t 35.25,66.75q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75q0-9.5 -3-15.75t-7-9.5t-12.75-4.75t-14.5-1.75t-18.25-0.25l-8.5,0 q-26.5,0 -45.25,18.75\nt-18.75,45.25l0,128 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 8.5,0 l 18.25,0 t 14.5-1.75t 12.75-5t 7-9.5t 3-15.75l0,0 q0-13 9.5-22.5t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cplusplus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 304,288l-48,0 l0,48 \nq0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 224.25,128q-13.25,0 -22.75-9.25t-9.5-22.75q0-9.5 -3-15.75\nt-7-9.5t-12.75-4.75t-14.5-1.75t-18.25-0.25l-8.5,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,128 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 8.5,0 l 18.25,0 t 14.5-1.75t 12.75-5t 7-9.5t 3-15.75l0,0 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,2 l0,1 q-0.5,25 -10.75,43.25t-28,29t-39.75,15.75t-49.5,5q-53,0 -90.5-37.5\nt-37.5-90.5l0-128 l0-128 q0-53 37.5-90.5t 90.5-37.5q 27.5,0 49.5,5.25t 39.75,15.75t 28,29t 10.75,43.5l0,1 l0,1.5 q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cmsmadesimple\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 320,112q 22.5,0 37.5,3t 26.5,13q-3-29.5 -25.5-46.75t-54.5-17.25q-28,0 -49.75,17.5t-27.75,44q-22.5-29.5 -55-29.5\nq-31,0 -53.25,28.25t-22.25,67.75q0,15.5 4.5,32q 7-24.5 22.5-41.25t 36-21.25q-31,28 -31,62.5l0,32 q 13-1 25.75-8.75t 21-16.75t 19.5-21.75t 18.25-19.25q 11.5,41.5 11.5,82.5l0,32 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 \nl0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-4.5 q0-47 -9.5-80q 56.5,7.5 69.5,52q 16.5-9 26.25-23t 9.75-30.5q0-26.5 -23.5-45.25t-56.5-18.75q-11.5,0 -24,3q 12-19 40-19zM 320,288l0,16 q0,26.5 -18.75,45.25t-45.25,18.75q-26,0 -44.75-18.5t-19.25-44.5\nq-42,12.5 -69,29.75t-27,33.25q0,26 34.75,37t 109.25,11q 48.5,0 96.5-8.5t 79.75-23.5t 31.75-32q0-11.5 -2.25-19.5t-10-16.75t-21.25-14t-37.25-9t-57.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"concrete5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 242.5,512q-47.5,0 -88-17t-64.25-46.5t-23.75-64.5t 23.75-64.25t 64.25-46.5t 88-17.25q 16.5,0 36.5,2.5t 41.5,7.5t 35.75,15t 14.25,23q0,20 -12.25,34t-35.75,14q-9.5,0 -22-8t-27.5-16t-30.5-8q-35.5,0 -57.75,15t-22.25,49q0,8.5 4.75,18.75t 13.5,20.75t 25,17.5t 36.75,7q 29.5,0 79.5-27t 80.5-69\nq 1.5-2 6.25-8.5t 6-8.25t 5.75-6t 8-5.5t 9.25-2.5t 12.75-1.25q 32,0 32,48q0,11 -11.5,28.75t-33.75,37.5t-50.5,37.25t-66.75,29t-77.5,11.5zM 386.5,224q-3.5,10 -11.25,12t-14.25-2.25t-6.5-9.75l0-160 q0-13 13.75-23.75t 26.5-7.25t 19.5,14.5t 3.25,23q-1,3 -5.25,32t-11,64.5t-14.75,57zM 274.5,224\nq-10.5,0 -18-25.75t-10-65.5t-3.25-61.25t-0.75-39.5q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,0.5 0.25,11t 0.25,20.5t-0.25,26t-1,30t-2.25,30t-4,28.75t-5.75,23.5t-8,16.5t-11.25,5.75zM 162.5,224q-7.5-20.5 -14.5-56t-11.25-65t-4.75-32.5q-3.5-12 3.25-23t 19.5-14.5t 26.25,7.25t 13.5,23.75l0,160 \nq0,6.5 -6,11t-13.75,2.25t-12.25-13.25zM 114.5,256q-8.5,0 -18.5-9.5t-19-25t-16.25-29.25t-13.75-28.75t-8-17q-6-12 -2.75-25.5t 14-20.25t 22.75-3.25t 18.5,15.5q 8.5,16 21.25,79.5t 1.75,63.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fantastico\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 188,201.75q-6-19.75 -18.75-31.75t-24.25-9.5t-15.5,18.5t 2.25,35.5t 19,31.5t 24.25,9.5t 15.25-18.25t-2.25-35.5zM 348,169.75\nq-6-19.75 -18.75-31.75t-24.25-9.5t-15.5,18.25t 2.25,35.5t 19,31.75t 24.25,9.5t 15.25-18.25t-2.25-35.5zM 283,374q-21.5,3.5 -44,6t-45.25,3.25t-36.75,1t-35.75,0t-25.25-0.25q 9,15 41.5,24.25t 79.25,9t 90.75-11.75q 33-8.5 60.5-23.5t 44.5-31.5t 26.25-32.75t 9.25-29.75q-17,14 -28.5,22.5t-34.5,23.25\nt-48.75,25t-53.25,15.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"piwigo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,432l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-256 q0-13.5 9.5-22.75t 22.5-9.25l 192,0 q0-13.5 9.25-22.75t 22.75-9.25l 160,0 q 13,0 22.5,9.25t 9.5,22.75l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 160,176q-40,0 -68,28t-28,67.75t 28,68t 68,28.25t 68-28.25t 28-68\nt-28-67.75t-68-28zM 384,112l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 160,336q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zikula\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,309.5l-83.5,58.5q-11,8 -40,15.5l-127.5,34l 59,41q 10,7.5 12,19.5t-5.5,21.75t-20,11.75t-22.5-5l-99-69.5q-5.5-4 -18-16.25t-16-16.75l-64-92.5l-16.5,52q-4,12 -15,17.75t-22.5,1.75t-17.25-15.25t-1.75-23.25l 36.5-115q 4-12 10-21l 81-112l-33,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5\nt 22.5-9.25l 128,0 q 11,0 48,16l 93,32.5l-11.5-41q-4-11.5 1.75-22.75t 17.25-15.25t 22.5,1.75t 15,17.75l 36.5,131.5q 1.5,4.5 1.5,23.5l0,96 l 15.5-11q 10-7 22.5-5t 20,11.75t 5.5,22t-12,19.25zM 387.5,179l-54,42q-5.5,4 -12.25,3t-10.75-6.75t-2.75-13t 6.75-11.25l 58-45l-129-51.5q-2.5-1 -5.5-2q-0.5,0.5 -2,0.5\nt-2,0.5l 24.5,75q 2.5,6.5 -0.75,12.75t-9.75,8.25t-12.75-1t-8.25-9.5l-25.5-77.5l-80.5,121l 58.5,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75l-68.5,0 l 78,110.5l 22-67q 2-6.5 8.25-9.75t 12.75-1t 9.75,8.25t 0.75,12.5l-17,53.5l 123-33.5l-34.5-26.5q-5.5-4 -6.5-11t 3-13t 10.5-7t 12,3l 54.5,42l0-138 l0-0.5 \nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restricted\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 362,512l-212,0 l-150-150l0-212 l 150-150l 212,0 l 150,150l0,212 zM 448,176.5l-112.5-112.5l-159,0 l-112.5,112.5l0,159 l 112.5,112.5l 159,0 l 112.5-112.5l0-159 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pill\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467,467q-45,45 -108.5,45t-108-45l-205.5-205.5q-45-44.5 -45-108t 45-108.5t 108.5-45t 108,45l 205.5,205.5q 45,44.5 45,108t-45,108.5zM 420,284.5l-108-108l-135.5,135.5l 108,108q 28,28 67.75,28t 67.75-28t 28-67.75t-28-67.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"syringe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,512l-21.5,0 l-94-94l-23,23q-7,7 -16.75,7t-16.75-7l-205-205q-7-7 -7-17t 7-17l 23-22.5l-81.5-81.5l-23,23q-7,7 -16.75,7t-16.75-7l-13-13q-7-7 -7-17t 7-17l 67-67q 7-7 17-7t 17,7l 13,13q 7,7 7,16.75t-7,16.75l-23,23l 81.5,81l 22.5-22.5\nq 7-7 17-7t 17,7l 205,205q 7,7 7,16.75t-7,16.75l-23,23l 94,94l0,21.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"virus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-35,0 q-7,43.5 -32.5,79l 26,26q 9.5,9 9.5,22.5t-9.5,23t-23,9.5t-23-9.5l-25.5-26q-36,25.5 -79,32.5l0,35 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-35 q-43.5-7 -79-32.5l-26.5,26q-9,9.5 -22.5,9.5t-23-9.5t-9.5-23t 9.5-22.5l 26-26.5q-25-35.5 -32-78.5l-35,0 \nq-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 35,0 q 7-43 32.5-79l-26.5-26q-9.5-9.5 -9.5-23t 9.5-23t 23-9.5t 22.5,9.5l 26.5,26.5q 36-25.5 79-32.5l0-35 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,35 q 43,7 78.5,32l 26-26q 9.5-9.5 23-9.5t 23,9.5t 9.5,23t-9.5,22.5l-26,26.5q 25.5,35.5 32.5,79l 35,0 \nq 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 128,192q0,12 1.5,26.5t 4.5,31t 9.75,27.5t 16.25,11q 11.5,0 21.5-1.25t 20.25-4.5t 16.25-10t 6-16.25zM 208,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-96,0 zM 288,256q0,9.5 6,16.25\nt 16.25,10t 20.25,4.5t 21.5,1.25q 9.5,0 16.25-11t 9.75-27.5t 4.5-31t 1.5-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bug\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481.5,224q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25l-33.5,0 q-2.5,26.5 -9.5,53l 50.5,13q 18.5,5 23,22.5q 3,7 0,16q-1,5 -4.5,9.5q-25,78 -26,78q-12,0 -22-9.5t-10-22.5l0-38.5 l-34-9q-26.5,51.5 -68,81.5t-90,30t-90-30t-68-81.5l-34,9l0,38.5 q0,13 -10,22.5t-22,9.5\nq-1,0 -26-78q-3.5-4.5 -4.5-9.5q-3-9 0-16q 5-17.5 23-22.5l 50.5-13q-7-26.5 -9.5-53l-33.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 33.5,0 q 2.5-26.5 9.5-53l-50.5-13q-18.5-4.5 -23-22.5q-3-7 0-16q 1-5 4.5-9.5q 25-78 26-78q 12,0 22,9.5t 10,22.5l0,39 l 34,8.5q 26.5-51.5 68-81.5t 90-30t 90,30t 68,81.5\nl 34-8.5l0-39 q0-13 10-22.5t 22-9.5q 0.5,0 26,78q 3.5,4.5 4.5,9.5q 3,9 0,16q-5,18 -23,22.5l-50.5,13q 7,27 9.5,53l 33.5,0 zM 321.75,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 193.75,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5\nt-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 161.75,320q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 257.5,64q-31,0 -61,22.5t-48.5,56.25t-18.5,65.25q 5,2.5 10.5,4.75t 10.25,3.75t 12.25,2.75t 11.75,2t 13.5,1.25t 13,1t 14.25,0.5l 13.5,0 l 15,0 l 14,0 \nq 32.5,0 48.75-0.5t 39.5-4.25t 39.75-11.25q0-31.5 -18.25-65.25t-48.5-56.25t-61.25-22.5zM 353.75,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"network\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,256l-80,0 l0,128 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-128 l-224,0 l0,128 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5\nt 22.75-9.5l 32,0 l0-128 l-112,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 240,0 l0-96 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-32,0 l0,96 l 208,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dropmenu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 442,48l-148,0 q-4,0 -5.5,7.25t 2.5,11.75l 67.5,88.5q 4,4.5 9.5,4.5t 9.5-4.5l 67.5-88.5\nq 4-4.5 2.5-11.75t-5.5-7.25zM 448,192l-320,0 l0,64 l 320,0 l0-64 zM 448,288l-320,0 l0,64 l 320,0 l0-64 zM 448,384l-320,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coppermine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,448l-256,0 q-53,0 -90.5-37.5t-37.5-90.5l0-128 q0-53 37.5-90.5t 90.5-37.5l 256,0 q 53,0 90.5,37.5t 37.5,90.5l0,128 q0,53 -37.5,90.5t-90.5,37.5zM 448,272q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,32 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25\nt 18.75-45.25t 45.25-18.75l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-48,0 q-43,0 -72,33.5q-8.5-15.5 -23.25-24.5t-32.75-9l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25q0-29 11.5-46.5t 36.5-17.5q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75\nq-38,0 -59,27.25t-21,68.75q0,40 28,68t 68,28l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 32,0 q 19,0 34.5-10.5q 7.5,32.5 33.5,53.5t 60,21l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 256,256l-32,0 l0-64 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"supportrequest\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5\nt-9.5,22.75t 9.5,22.5t 22.75,9.25zM 256,64q-53,0 -90.5,37.5t-37.5,90.5q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75q-13,0 -22.5,19.75t-9.5,44.25q0,13.5 9.25,22.75t 22.75,9.25t 22.75-9.25t 9.25-22.75l0-4 \nq 42-11 69-45.5t 27-78.5q0-53 -37.5-90.5t-90.5-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"briefcase\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-256 l 64,0 l 32,0 l0,32 l-32,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l-32,0 l0-32 l 32,0 l 128,0 l 32,0 l0,32 l-32,0 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l-32,0 l0-32 l 32,0 l 64,0 l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,160\nl-64,0 q-13,0 -22.5,9.5t-9.5,22.5l-128,0 q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-64,0 l0-64 q0-13 9.5-22.5t 22.5-9.5l 96,0 l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 l-64,0 q0-13 -9.25-22.5t-22.75-9.5zM 288,64l-64,0 \nq-13,0 -22.5,9.25t-9.5,22.75l 128,0 q0-13 -9.25-22.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"calendar2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 96,208q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\nM 96,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,304q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\nM 192,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,208q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 288,304\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,208q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,304\nq0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208\nq0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448.25,96\nq-13.25,0 -22.75-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.5,9.5zM 352.25,96q-13.25,0 -22.75-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,32 q0,13 -9.25,22.5t-22.5,9.5zM 255.75,96q-13.25,0 -22.5-9.5t-9.25-22.5l0-32 \nq0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.75,9.5zM 159.75,96q-13.25,0 -22.5-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.75,9.5zM 63.75,96q-13.25,0 -22.5-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25\nt 9.5,22.75l0,32 q0,13 -9.5,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plugin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384q-17.5,0 -32-8.75t-23-23.25l-9,0 l0,128 q0,13.5 -9.5,22.75t-22.5,9.25l-128,0 l0-9 q 14.5-8.5 23.25-23t 8.75-32q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25q0,17.5 8.75,32t 23.25,23l0,9 l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-128 l 9,0 q 8.5,14.5 23,23.25t 32,8.75\nq 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75q-17.5,0 -32,8.75t-23,23.25l-9,0 l0-128 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0-9 q-14.5-8.5 -23.25-23t-8.75-32q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,17.5 -8.75,32t-23.25,23l0,9 l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,128 l 9,0 q 8.5-14.5 23-23.25\nt 32-8.75q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"images\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,512l0-448 l 448,0 l0,448 l-448,0 zM 480,96l-384,0 l0,320 l 384,0 l0-320 zM 192,128q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45-18.75t-19-45.25l0-0.5 q 0.5-26.5 19-45t 45-18.5zM 215.5,296.5l 87,87.5l-174.5,0 l0-46.5 l 41-41q 9-9 23.25-9t 23.25,9zM 345,232.5q 9-9 23.25-9t 23.25,9l 56.5,56.5l0,95 \nl-100.5,0 l-76.5-76.5zM 32,448l-32,0 l0-448 l 448,0 l0,32 l-416,0 l0,416 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"indexmanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 32,416zM 480,64q0-13.5 -9.25-22.75t-22.75-9.25l-384,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,128 l 18.5-42.5q 2.5-9 11-15.25t 18-6.25l 64,0 \nq 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 254.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-336,0 l-64,0 l0,224 l 18.5-42.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 302.5,0 l0-320 l0,0 zM 194.5,309.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 110.5,0 q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75l-192,0 l-64,0 zM 338.5,245.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 19.5,42.5l-160,0 zM 288,256l-208,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 208,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 80,288l 64,0 q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75zM 432,128l-192,0 l-64,0 l 18.5-42.5q 2.5-9 11-15.25t 18-6.25l 64,0 q 9,0 17.5,6.25t 11.5,15.25l 5,10.5l 110.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 144,96l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nt 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fourohfour\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 160,208q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-48 \nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6 3.75,10.25t 9.25,5.25q 1,0.5 3,0.5l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-128 zM 320,224q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13,0 -22.5,9.5t-9.5,22.5l0,96 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75\nl0-96 zM 432,192q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6 3.75,10.25t 9.25,5.25q 1,0.5 3,0.5l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-128 q0-6.5 -4.75-11.25t-11.25-4.75zM 224,224l 64,0 l0,96 l-64,0 l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"php\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-69.5,0 -128.5-25.75t-93.25-70t-34.25-96.25t 34.25-96.25t 93.25-70t 128.5-25.75t 128.5,25.75t 93.25,70t 34.25,96.25t-34.25,96.25t-93.25,70t-128.5,25.75zM 144,192l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l-32,112q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75\nl 7-24l 25,0 q 12,0 21.5-1.5t 20-6t 16.5-14.75t 6-25.75q0-20 -14-34t-34-14zM 272,192l-7,0 l 7-24q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l-32,112q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l 16-56q 23,1 29,16.5l-13,39.5q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l 16-48q0-3 -2.5-5.5q-4-15 -16.75-24.75t-28.75-9.75zM 400,192l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l-32,112q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l 7-24l 25,0 q 12,0 21.5-1.5t 20-6t 16.5-14.75t 6-25.75q0-20 -14-34t-34-14zM 400,256l-32,0 l 9-32l 23,0 \nq 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 144,256l-32,0 l 9-32l 23,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phppear\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511,78.5l-59.5,100l0,301.5 q0,13.5 -9.25,22.75t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-301.5 l-59.5-100q-7-11 -3.5-23.5t 15-19t 24.25-3t 19.25,14.5l 47.5,80l 298,0 l 47.5-80q 6.5-11 19.25-14.5t 24.25,3t 15,19t-3.5,23.5zM 370.5,191.5q-34,8.5 -51,39q-13.5-7 -28-7q-17.5,0 -32.25,9\nt-23.25,24l-3.25-0.5t-5.25-0.5q-40,0 -68,28.25t-28,68t 28,68t 68,28.25t 68-28.25t 28-67.75q0-2 -0.25-5t-0.25-3.5q 14.5-8.5 23.5-23.25t 9-32.25q0-19.5 -11-36q 5.5-13 17-21.5t 26-9q-4.5-17.5 -17-30zM 99.5,31.5q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 l-320,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"software\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511,78.5l-59.5,100l0,301.5 q0,13.5 -9.25,22.75t-22.75,9.25l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-301.5 l-59.5-100q-7-11 -3.5-23.5t 15-19t 24.25-3t 19.25,14.5l 47.5,80l 298,0 l 47.5-80q 6.5-11 19.25-14.5t 24.25,3t 15,19t-3.5,23.5zM 355.5,288.5l-6,0 q-5.5-15 -17-29l 3-5q 6.5-11 3-23.5t-15-18.75t-24.25-3\nt-19.25,14.25l-3,5q-9.5-2 -17.5-2t-17.5,2l-3-5q-6.5-11 -19.25-14.25t-24.25,3t-15,18.75t 3,23.5l 3.5,5q-12,14 -17.5,29l-6,0 q-13.5,0 -22.75,9.25t-9.25,22t 9.25,22t 22.75,9.25l 6,0 q 5.5,15.5 17.5,29l-3.5,5q-6.5,11 -3,23.5t 15,19t 24.25,3t 19.25-14.5l 3-4.5q 9.5,1.5 17.5,1.5t 17.5-1.5l 3,4.5\nq 6.5,11 19.25,14.5t 24.25-3t 15-19t-3-23.5l-3-5q 11.5-13.5 17-29l 6,0 q 13.5,0 22.75-9.25t 9.25-22t-9.25-22t-22.75-9.25zM 259.5,352q-13,0 -22.5-9.5t-9.5-22.5t 9.5-22.5t 22.5-9.5t 22.5,9.5t 9.5,22.5t-9.5,22.5t-22.5,9.5zM 99.5,31.5q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 l-320,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"faq\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 112,96l 48,0 l 256,0 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,320 q0,24.5 -33.25,44.25t-62.75,19.75l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 l0-224 l0-96 q0-26.5 18.75-45.25t 45.25-18.75l 256,0 l 0.5,0 l 95.5,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-96,0 l-195.5,0 l-0.5,0 l-44,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25\nt 11.25,4.75zM 224,464q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 128,256q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25q0-13.5 18.75-22.75t 45.25-9.25t 45.25,9.5t 18.75,22.5\nq0,13.5 -18.75,22.75t-45.25,9.25q-13,0 -22.5,9.5t-9.5,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-19 q 42-8 69-34t 27-59q0-40 -37.5-68t-90.5-28q-25.5,0 -49.75,6.75t-41,16.75t-27,21t-10.25,19.5l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"plugin2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-0.5 l 176,0 q 20,0 34-14t 14-34l0-160 q0-19.5 -14-33.75t-34-14.25l-176,0 l0-191.5 q0-13 9.25-22.5t 22.75-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 l 0.5,0.5l0,287.5 q0,13.5 -9.25,22.75t-22.75,9.25zM 352-0.5q 13,0 22,9.5l 128.5,128.5q 9.5,9 9,22.5l-159.5,0 \nl0-160.5 zM 224,287.5l0,128 q0,13.5 -9.5,22.75t-22.5,9.25l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-128 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5zM 189.5,346l-82.5-56.5q-3-2.5 -7-1.5t-4,3.5l0,28 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 48,0 l0,28.5 q0,2.5 4,3.25t 7-1.25\nl 82.5-56.5q 2.5-2.5 2.5-5.75t-2.5-5.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"visitor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-320 q0-13 9.25-22.5t 22.75-9.5l 160,0 l0,32 q0,32.5 17.75,48.25t 46.25,15.75q 28,0 46-16.5t 18-47.5l0-32 l 160,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 176,403l0-9 q 48-19.5 48-106q0-31.5 -22.25-47.75t-57.5-16.25t-57.75,16.25\nt-22.5,47.75q0,84 48,105l0,10 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75t 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -22.75-37.5t-57.25-22.5zM 432,288l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25\nt-4.75-11.25t-11.25-4.75zM 288,368q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 432,416l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 288,64\nl0,96 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-96 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diskspace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,368q0-16 -9.5-28.5t-24.5-17q 34-43.5 34-98.5q0-43.5 -21.5-80.25t-58.25-58.25t-80.25-21.5t-80.25,21.5t-58.25,58.25t-21.5,80.25\nq0,55 34,98.5q-15,4.5 -24.5,17t-9.5,28.5l0,32 q0,20 14,34t 34,14l 224,0 q 20,0 34-14t 14-34l0-32 zM 346.5,314.5l-68-68q-9.5,9.5 -22.75,9.5t-22.5-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l0-96 q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"legacyfilemanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.25-22.5t 22.75-9.5l 240,0 l 23-42.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25l 24.5,42.5l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-13 -9.5-22.5t-22.5-9.5l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.75t-14,22.5t-34,9.25l-192,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 352,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-240 zM 23,54q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"filemanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.25-22.5t 22.75-9.5l 240,0 q0-6 5.75-16.5t 11.25-18l 6-8q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25q 24.5,29 24.5,42.5l0,288 zM 23,53.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.25\nl 24,42.5l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"key\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 478,426l-51.5,51.5q-34.5,34.5 -83.5,34.5t-83.75-34.5t-34.75-83.5t 34.5-83.5l 19-19l-85.5-86l-41.5,41.5q-9,9 -22,8.5t-22.5-10t-10-22.5t 8.5-22l 41.5-41l-50.5-50.5l-41,41.5q-9,9 -22,8.5t-22.5-10t-10-22.5t 8.5-22l 41-41l-9.5-9.5q-8.5-9 -8.25-22t 9.75-22.5t 22.75-10t 21.75,8.5l 239,238.5\nq 34.5-25.5 78-22.25t 74.5,34.25q 34.5,34.5 34.5,83.5t-34.5,83.5zM 432.5,304.5q-16.5-16.5 -39.75-16.5t-39.75,16.5l-48,48q-16.5,16.5 -16.5,39.75t 16.5,39.75t 40,16.5t 40-16.5l 47.5-47.5q 16.5-16.5 16.5-40t-16.5-40z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"importcontacts\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 96,0 q0-13 9.5-22.5t 22.5-9.5l 32,0 l0-64 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.5l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 144,192q-35.5,0 -57.75,16.25\nt-22.25,47.75q0,84 48,105.5l0,9.5 q-34.5,6 -57,22.5t-23,37.5q0,6 10.75,9.75t 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -22.75-37.5t-57.25-22.5l0-9 q 48-19.5 48-106l0-1 l0-0.5 l-77.5-62.5l-1.25,0 l-1.25,0 zM 348,128l-60,0 l0-80 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,80 l-60.5,0 q-4,5 -4,11.5t 4,11.5l 92.5,73l 92-73q 4-5 4-11.5t-4-11.5zM 464,224l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 320,336q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 464,416l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailtrace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,367l-29.5-29.5q 1-9.5 1-17.5q0-55 -33.75-98t-85.75-56.5l 148-148q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,15zM 320,160q-53,0 -96,32.5l-192.5-192.5l 0.5,0 l 448,0 l 0.5,0 l-160,160l-0.5,0 zM 3.5,367q-3.5-7.5 -3.5-15l0-320 q0-7.5 3.5-14.5l 175,174.5zM 160,320q0,33.5 13.5,64l-141.5,0 l-0.5,0 l 162.5-162q-34,43.5 -34,98z\nM 320,192q 53,0 90.5,37.5t 37.5,90.5q0,37.5 -20.5,69l 80.5,80q 4,4 4,9.75t-4,9.75l-19.5,19.5q-4,4 -9.75,4t-9.75-4l-80-80q-32,20 -69,20q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5zM 320,384q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25\nt 18.75,45.25t 45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mailinglists\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-383.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 224,0 l0,127.5 l-176,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 367.5,0.5l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 431.5,272q0-7 -4.5-11.5t-11-4.5l-304,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 304,0 q 6.5,0 11-4.75t 4.5-11.25l0-32 zM 431.5,399.5q0-6.5 -4.5-11.25t-11-4.75l-304,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,7 4.75,11.5t 11.25,4.5l 304,0 q 6.5,0 11-4.5t 4.5-11.5l0-32 zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"address\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,320 q0,13 -9.5,22.5t-22.5,9.5zM 80,384l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 240,224l-160,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,288l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 448,144q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"autorespond\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-43.5,0 l-128,128l0-128 l-171.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 256,64q-46,0 -82,30l-30-30q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25\nl-27-27q 26-21 59-21q 40,0 68,28.25t 28,68t-28.25,67.75t-67.75,28q-27.5,0 -50.5-14.5t-35-38.5l-29,14q 16,32 46.75,51.5t 67.75,19.5q 53,0 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-19.5-12.5 -25.75-34.25t-6.25-56.25l0-34.5 q0-14.5 9.5-24.75t 22.5-10.25l 32,0 q 13.5,0 22.75,10.25t 9.25,24.75l0,34.5 q0,26.5 -19,50.25t-45,40.25zM 400,512l-304,0 q-33.5,0 -63.75-28.75t-31.75-67.25q0-24.5 11.25-55.5t 25-55t 34.75-59.25t 31-54.25l 185.5,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-32 q0-19.5 17.25-42.75\nt 40-38.25t 38.75-15q 23,0 42.75,31.5t 21.25,64.5q0,27 -13.25,60.5t-32,65.25t-37.5,62.75t-32,61.75t-13.25,53.75q 2.5,53 16,112zM 320,96l0,32 q0,13 -9.25,22.5t-22.75,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-25.5 17-48t 42.75-35.25t 52.25-12.75l 272,0 q-6.5,0 -17.25,7.75t-21.25,20.25\nt-18,31t-7.5,37z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"form\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13 9.25,22.5t 22.75,9.5l 320,0 q 13.5,0 22.75-9.5t 9.25-22.5\nl0-64 zM 416,256l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 128,448l 96,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 320,448l 128,0 q 13,0 22.5,9.25t 9.5,22.5\nt-9.5,22.75t-22.5,9.5l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ipcontrol\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,128q-13.5,0 -22.75-9.5t-9.25-22.5l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75\nt 22.5-9.25l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,224q0,40 -28,68t-68,28l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 40,0 68,28t 28,68zM 320,192l-32,0 l0,64 l 32,0 q 13,0 22.5-9.5t 9.5-22.75\nt-9.25-22.5t-22.75-9.25zM 128.25,384q-13.25,0 -22.75-9.5t-9.5-22.5l0-192 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,192 q0,13.5 -9.25,22.75t-22.5,9.25zM 96,64l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.5t-9.5-22.5l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 \nq 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5zM 32.25,384q 13.25,0 22.5,9.25t 9.25,22.75l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q0-13.5 9.5-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"query\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 l0-0.5 q-13,0 -22.5-9.25t-9.5-22.75l0-61 q 42.5-18.5 69.25-55t 26.75-76q0-34.5 -21.5-64t-58.25-46.75t-80.25-17.25q-13,0 -22.5-9.25t-9.5-22.75l0-95.5 q0-13 9.5-22.5t 22.5-9.5l 192,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 175.5,0 q 0.5,0.5 0.5,1l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 352-0.5\nq 13,0.5 22,9.5l 128.5,128.5q 9.5,9.5 9,22.5l-159.5,0 l0-160.5 zM 256,287.5q0,33.5 -27,59.25t-69,33.75l0,19 q0,7 -4.75,11.5t-11.25,4.5l-32,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-48 q0-13 9.5-22.5t 22.5-9.5q 26.5,0 45.25-9.25t 18.75-22.5t-18.75-22.75t-45.25-9.5t-45.25,9.5t-18.75,22.5q0,7 -4.75,11.5t-11.25,4.5l-32,0 \nq-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-7.5 8.75-18t 24.25-21t 40.75-17.75t 54.25-7.25q 53,0 90.5,28.25t 37.5,67.75zM 112,447.5l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,7 -4.75,11.5t-11.25,4.5l-32,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-351.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 192,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 362,320l-42,0 l0-80 q0-7 -4.75-11.5t-11.25-4.5l-64,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,80 l-43.5,0 q-11.5,0 -17.5,13.25t-1,18.75l 44.5,44.5\nt 42.5,42q 8.5,9 21,9t 21-9l 89.5-86.5q 7-7 0.5-19.5t-19-12.5zM 320,0q 13,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"push\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-447.5 q0-13.5 9.25-22.75t 22.75-9.25l 192,0 l0,176 q0,6.5 4.5,11.25t 11.5,4.75l 175.5,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.25,9.25zM 380.5,320l-89.5-87q-8.5-9 -21-9t-21.5,9l-42.5,42.5t-44,44.5q-5.5,5 0.75,18.5t 17.25,13.5l 44,0 l0,79.5 q0,7 4.5,11.5t 11.5,4.5\nl 64,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-79.5 l 42,0 q 12.5,0 19-12.75t-0.5-19.25zM 320,0q 12.5,0 22,9l 128,128.5q 9.5,9.5 9.5,23l-159.5,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"binary\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l0-320 q0-13 9.5-22.5t 22.5-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,128l-128,0 l0,256 l 128,0 l0-256 zM 192,448l-160,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 32,0 l0-256 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 64,0 \nq 13.5,0 22.75,9.5t 9.25,22.5l0,288 l 32,0 l0-32 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cgi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 498,112l-159.5,0 l 164,33.5q 6,1.5 9.25,7.25t 1.75,12t-7.25,9.5t-11.75,1.25l-110.5-22l 121.5,56.5q 6,3.5 7.75,10t-1.75,12.25t-10,7.5t-12.5-1.75l-136-64l 161,258q0,13.5 -9.5,22.75t-22.5,9.25l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75l 135.5-218.5l-88.5,54.5q-11.5,6.5 -23.75,3t-18.75-15\nt-3.25-24.25t 14.75-19.25l 193.5-118.5l 23-37q 9.5-9.5 22.75-9.5t 22.25,9.5l 14.5,23l 204,0 q 6.5,0 11.25,4.75t 4.75,11.5t-4.75,11.25t-11.25,4.5zM 258,96l-208,336l 416,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"grails\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 101,192l-69,0 q0,30 18.5,58t 45.5,35.5l0,67.5 q-14,1.5 -23,5.75t-9,9.25\nq0,6.5 14,11.25t 34,4.75t 34-4.75t 14-11.25q0-5 -9-9.25t-23-5.75l0-67.5 q 18.5-5 34.5-22q-47-27 -61.5-71.5zM 128,160q0,33 27,58.75t 69,33.75l0,136 q-14.5,4 -23.25,11.5t-8.75,16q0,13 18.75,22.5t 45.25,9.5t 45.25-9.5t 18.75-22.5q0-8.5 -8.75-16t-23.25-11.5l0-136 q 42-8 69-33.75t 27-58.75\nl-256,0 zM 411,192q-14.5,44.5 -61.5,71.5q 16,17 34.5,22l0,67.5 q-14,1.5 -23,5.75t-9,9.25q0,6.5 14,11.25t 34,4.75t 34-4.75t 14-11.25q0-5 -9-9.25t-23-5.75l0-67.5 q 27-7.5 45.5-35.5t 18.5-58l-69,0 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nodejs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 193.5,224l 64-32l 64,32l0,64 l-64,32l-64-32l0-64 zM 469.5,225.5l-95,62.5q-10,0 -15.5-6.5t-5.5-16l0-65.5 l-96-56l-95.5,56l0,112 l 221.5,129.5l-96,63.5q-12.5,7 -30.25,7t-30.25-7l-181-119.5q-14-8 -12.5-19.5l0-220 q-1.5-11.5 12.5-19l 181-120q 12.5-7 30.25-7t 30.25,7l 181.5,120\nq 12.5,7 12,17l 0.5,0 l0,62 q 2,11.5 -12,19.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"java\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471,384q-12,0 -24.75-9t-21.25-23.5q 4.5,0.5 7,0.5q 20,0 34-9.5t 14-22.5q0-12.5 -12.5-21.5t-31-10.5q-20.5,14 -69.75,23t-110.75,9q-79.5,0 -135.75-14.25t-56.25-33.75q0-15 33-27q 7,18 57,30.5t 118,12.5q 56.5,0 101.5-9t 64-23q 6,4.5 8.5,9q 13-9 25-9q 17,0 29,18.75t 12,45.25\nt-12,45.25t-29,18.75zM 288,159.5q0,16.5 5,29.5t 11,20.5t 11,19.75t 5,26.75q-2.5-1.5 -6.75-4t-15.5-11.75t-19.5-19.5t-15.25-26.75t-7-34.5q0-16.5 15.75-34.75t 37.25-31t 42.5-21.25t 32.5-8q-9,0 -31.75,15.5t-43.5,39t-20.75,40.5zM 192,176q0,17.5 8,37.5t 16,31.5l 8,11.5q-24,0 -44-25.5t-20-55\nq0-13 10-26.25t 24-24t 28-20.25t 24-18.75t 10-16.25q0-14 -1.5-24.5t-8.25-24t-19.25-21.5q 31,3.5 46,22.25t 15,47.75q0,16 -10,28.5t-24,20.5t-28,15.5t-24,17.75t-10,23.25zM 256,416q 73.5,0 110.5-16q 17.5,7.5 17.5,16q0,13 -37.5,22.5t-90.5,9.5t-90.5-9.5t-37.5-22.5q0-8.5 17.5-16q 37,16 110.5,16z\nM 96,352q0-8.5 21.5-16q 46.5,16 138.5,16t 138.5-16q 21.5,7.5 21.5,16q0,13 -47,22.5t-113.25,9.5t-113-9.5t-46.75-22.5zM 64,416q0,17.5 25.75,32.25t 70,23.25t 96.25,8.5t 96.25-8.5t 70-23.25t 25.75-32.25q0-5.5 -3-11q 67,18 67,43q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5t-128.5-8.5\nt-93.25-23.25t-34.25-32.25q0-25 67-43q-3,5.5 -3,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ads\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-32,0 l0,128 l 16,0 q 25,0 36.5,17.5t 11.5,46.5l-192,0 q0-29 11.5-46.5t 36.5-17.5l 16,0 l0-128 l-256,0 l0,128 l 16,0 q 25,0 36.5,17.5t 11.5,46.5l-192,0 q0-29 11.5-46.5t 36.5-17.5l 16,0 l0-128 l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-256 q0-13 9.25-22.5t 22.75-9.5l 96,0 l0,64 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25\nt 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-64 l 192,0 l0,64 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-64 l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13.5 -9.5,22.75\nt-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"github\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,55.5 -13,93.5t-43,64.25t-79,38.25t-121,12t-121-12t-79-38.25t-43-64.25t-13-93.5q0-74.5 39-115.5q-7-51 -7-76.5q0-6.5 4.75-11.25t 11.25-4.75q 6,0 42,16.5t 49,26q 49-10.5 117-10.5q 59,0 104.5,8q 15.5-10 48.75-25t 38.75-15q 6.5,0 11.25,4.75t 4.75,11.25\nq0,17.5 -5,63.5q 53,41.5 53,128.5zM 256,176q-10,0 -29-0.5q-23-1 -44,0.25t-39.25,3.75t-33,11t-25,22t-16,36.5t-5.75,55q0,61 48.75,94.5t 143.25,33.5t 143.25-33.5t 48.75-94.5q0-32 -5.75-55t-16-36.5t-25-22t-33-11t-39.25-3.75t-44-0.25q-19,0.5 -29,0.5zM 352,336q-13.5,0 -22.75-14\nt-9.25-34t 9.5-34t 22.5-14t 22.5,14t 9.5,34t-9.25,34t-22.75,14zM 272,400l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 160.25,336q-13.25,0 -22.75-14t-9.5-34t 9.5-34t 22.75-14t 22.5,14t 9.25,34t-9.25,34t-22.5,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"commentout\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 427.5,384l-107.5,0 l-128,128l0-128 l-107.5,0 q-28.5,0 -56.5-28.5t-28-57.5l0-212 q0-29 28-57.5t 56.5-28.5l 343,0 q 28.5,0 56.5,28.5t 28,57.5l0,212 q0,29 -28,57.5t-56.5,28.5zM 190.5,78.5q 3-6 0.25-10.25t-9.75-4.25l-34,0 q-7,0 -14,4.25t-10,10.25l-57.5,115q-1.5,3 -1.5,6.5t 1.5,6.5l 57.5,99q 3,6 10,10.25\nt 14,4.25l 34,0 q 7,0 9.75-4.25t-0.25-10.25l-58.5-106zM 288,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 288,272q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 448,272q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dnszone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25q0,42 17,79\nt 47,64l0-239 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,277 q 31.5,11 64,11q 52,0 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 352,288l0,0 l-96,64l0,0 l0,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 96,64l0,0 q 0.5,0 6.25,3t 7.5,4.25\nt 6.25,4.25t 6.5,5.75t 3.75,6.75t 1.75,8q0,3 -0.75,6t-2,5.25t-3.75,4.75l-4,4t-5.25,3.5t-5,2.75t-5.75,3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"leechprotect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,128q0-13.5 -9.25-22.75t-22.75-9.25l-352,0 q-13,0 -22.5,9.25t-9.5,22.75\nl0,32 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-32 \nzM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 480,352l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,32 q0,13.5 9.5,22.75t 22.5,9.25l 352,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-32 zM 416.25,288\nq-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 320.25,288q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 224.25,288q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75\nt-22.5,9.5zM 128.25,288q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"analytics3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 352,512l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-320 q0-13 9.25-22.5t 22.75-9.5l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13 -9.5,22.5t-22.5,9.5zM 224,512l-32,0 q-13.5,0 -22.75-9.5\nt-9.25-22.5l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,192 q0,13 -9.5,22.5t-22.5,9.5zM 96,384q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,32 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5\nt-22.5,9.25l-32,0 l0,64 l 32,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-32,0 l0,64 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-32,0 l0,64 l 32,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ftpsession\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-160,0 l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 64,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13 9.5-22.5t 22.5-9.5l 240,0 l 23-42.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25q 24.5,29 24.5,42.5l0,224 \nq0,26.5 -18.75,45.25t-45.25,18.75zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25q0,16.5 3,32l 33,0 q-4-16 -4-32q0-48 32-84.5l0,4.5 l 65.5,88.5q 2.5,10.5 11,17t 19.5,6.5q 12,0 20.75-7.5t 10.75-19l 32.5-53.5l0,0 l0-16 l-16,0 l0,0 l-46.5,28.5l-81.5-60.5l-4.5,0 q 36.5-32 84.5-32q 53,0 90.5,37.5t 37.5,90.5\nq0,15.5 -4,32l 33,0 q 3-16 3-32q0-43.5 -21.5-80.25t-58.25-58.25t-80.25-21.5zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ftpaccounts\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-160,0 l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 64,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13 9.5-22.5t 22.5-9.5l 240,0 q0-4 5.75-14.5t 11.25-19l 6-8.5q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.75\nl 24.5,42l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 288,291l0-26.5 q 32-18.5 32-84q0-26 -18-39.25t-46-13.25t-46,13.25t-18,39.25q0,62.5 32,83l0,27.5 q-28,5.5 -45.75,18.5t-18.25,29q0,13.5 96,13.5t 96-13.5q-0.5-16 -18.25-29t-45.75-18.5zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25\nt 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mxentry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-64,0 l-320,0 l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,128 q0,13 -9.5,22.5t-22.5,9.5zM 96.25,64q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 416,64l-192,0 q-13,0 -22.5,9.25t-9.5,22.5\nt 9.5,22.75t 22.5,9.5l 192,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 224.5,224l 9,9l-36,35.5q-2.5,3 -4,7.75t-1.5,8.25l0,3.5 q-0.5,13 5.5,19.5l 36,35.5l-137.5,137.5l0-0.5 l0-256 l 128.5,0 zM 398.5,508.5q-7,3.5 -14.5,3.5l-256,0 q-7.5,0 -14.5-3.5l 142.5-143zM 287.5,224l 128.5,0 l0,256 l0,0.5 l-192.5-192.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cgicenter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 q-13,0 -22.5-9.25t-9.5-22.75l0-128 q0-13 9.5-22.5t 22.5-9.5l0-160 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 48,256q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75\nl 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 zM 480,80q0-6.5 -4.75-11.25t-11.25-4.75l-384,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 l 288,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,128 q0,13 -9.25,22.5t-22.75,9.5l-288,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 384,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-352 zM 416,160q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25zM 320,160q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 224,160l-96,0 q-13,0 -22.5-9.25t-9.5-22.75\nt 9.5-22.75t 22.5-9.25l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75t-9.25,22.75t-22.75,9.25zM 288.25,352q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25zM 192.25,352q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25z\nM 96.25,352q-13.25,0 -22.75-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.25,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"refresh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495.5,512l-67-67q-34.5,31.5 -78.75,49.25t-93.25,17.75q-79.5,0 -144.25-44.75t-93.25-116.25l 59.5-24q 21.5,54 69.75,87.5t 108.25,33.5q 72.5,0 127-48.5l-63-63.5q-0.5-7 4.25-11.75t 11.75-4.25l 154.5,0 q 7,0 13.75,6.75t 7.25,13.75l 0.5,160q 0.5,12 -17,11.5zM 256.5,64q-72.5,0 -127,48l 63,63.5\nq 0.5,7 -4.25,11.75t-11.75,4.75l-154.5,0 q-7-0.5 -13.75-7.25t-7.25-13.75l-0.5-160q-0.5-12 17-11.5l 67,67q 34.5-31.5 78.75-49t 93.25-17.5q 79.5,0 144.25,44.5t 93.25,116.5l-59.5,23.5q-21.5-54 -69.75-87.25t-108.25-33.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"codeigniter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512q 11-7.5 18-18.25t 9.75-24.25t 3.5-23t 0.75-24.5q0-19 -10.25-38.75t-26-35t-31-26.25t-28.75-18q-27-13.5 -45.5-34.25t-18.5-45.75q-8.5,0 -20.25,14.75t-11.75,33.25q0,9 9.75,19.5t 21.25,19t 21,20.5t 9.5,24q0,24.5 -11.5,42.75t-34,18.25t-35.25-19t-12.75-45q-9,4.5 -15.5,11.75t-9.75,14\nt-4.75,17.75t-1.75,17.5t-0.25,19q0,57 32,80q-32.5-6 -56.25-18t-37.5-26.25t-21.5-34.5t-10.25-38.75t-2.5-42.5q0-45 46.75-115.75t 97.25-108.25q 2.5-2.5 14-11.25t 21.25-18t 20.75-23.25t 17.5-33.5t 6.5-42q 6.5,0 16.75,6t 21,15.75t 18.5,25.5t 7.75,32.75q0,16 -5,30.5t-11,23.5t-11,20.25t-5,21.75\nq0,20 14,34t 34,14q 17.5,0 30.75-8.5t 17.25-23.5q 44,32 70,75.5t 26,84.5q0,23 -4,45t-13.5,43.25t-23.75,36.75t-36.5,25.25t-50.25,9.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mysql\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,444q 8.5,16.5 12,31.75t 0.25,25.75t-14.75,10.5q-30.5-41 -59.5-90q-14-10 -42.5-25.25t-51-27.75t-51.5-37t-51.5-55q0,6 -4,11.25t-8,12.5t-4,19.25l0,4 q0,8 -0.25,11.5t-1.5,8.25t-4.75,6.5t-9.5,1.75q-12.5,0 -30.25-25t-17.75-39q0-27 9.5-60.75t 21.5-35.25q-16-29 -21-39\nq-12-19.5 -32.5-50t-31-47.5t-10.5-23.5q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5q0,3.5 2.5,16q 23-16 61.5-16q 24,0 66.25,34.5t 61.75,61.5q0,0.5 0.5,1l 0.5,0.5q 27.5,4.5 56.5,18.25t 49.75,34.75t 20.75,41.5l0,0.5 q-7.5,0.5 -29.75-0.25t-33.75-0.75q 10,18 15.5,32.5q 6.5,18 11,43q 4,2 5,5\nq 9,22 28.75,44t 41.5,39t 42.5,33t 34,31.5t 13.25,28.5l-17-5t-44.25-14t-48.25-17z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"drupal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-61-0.5 -112.5-29.75t-81.5-79.5t-30-109.25q0-63.5 34.5-115.75t 91.5-80.75q 19.5-10 34.75-22.5t 23.5-23.75t 12.75-22t 4.25-18.25t-3.75-10.5q 24,21.5 31,29.5q 16,20 38.75,36t 64.75,37q 52.5,26.5 84.25,79.5t 31.75,114.5q0,59 -30,108.75t-81.5,78.5t-112.5,28.25zM 272,480q 26,0 53-10.5t 27-21.5\nq0-12 -2-14t-14-2q-9,0 -29.5,8t-34.5,8q-10.5,0 -25.25-8t-22.75-8q-4.5,0 -6.75,0.25t-4.75,1.75t-3.5,4.75t-1,9.25q0,9 19.75,20.5t 44.25,11.5zM 352,384q0-10.5 -12-21.25t-36-10.75q-23,0 -35.25,9.5t-12.25,22.5q0,12 2,14t 14,2q 6.5,0 9.5-2.5t 3.75-5.5t 5.25-5.5t 13-2.5q 10.5,0 17.5,8\nt 14.5,8q 5,0 7-0.25t 4.5-1.75t 3.5-4.75t 1-9.25zM 419.5,256q-22,0 -40.5,4.5t-28.75,10.25t-22.5,11t-23.25,6.75l-0.25-0.25l-0.25-0.25q-8.5,0 -22.25-5t-27.5-11t-36.25-11t-46-5q-28,0 -51.75,22.75t-23.75,49.25t 16.5,41.25t 44.5,14.75q 20.5,0 43.25-10t 39.25-22t 34.25-22t 29.75-10q 11-1.5 21.5,4.75\nt 19.25,15.75t 17.25,19.5t 18.25,17t 19.25,7q 17.5,0 33-26.75t 15.5-54.25q0-17.5 -7.25-32.25t-21.25-14.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wordpress\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,96q0,7 0.5,12.25t 2.25,10.5t 3,8.5t 5,8.5t 5.25,7.5t 7.25,9.25t 8.25,9.5q 11,14 14.25,22.75t 0.75,20.25q-3.5,17 -8,30l-38.5,101l-41.5-94q-4.5-11 -18.5-58.75t-14-51.25q0-7 5-10.5q 11-9 21-9.5l0-16 l-144,0 l0,16 q 4.5,0.5 7,3t 4.75,5.75t 3.75,4.75q 7,6 16.5,29l 16,53.5\nl-32,128l-66-174.5q-10-25.5 -10-31t 5.5-9.5q 12-9 22.5-9l0-16 l-103.5,0 q 35.5-45 87.75-70.5t 111.75-25.5q 47.5,0 91,16.75t 78,47.25q-19.5,0 -30.25,8t-10.75,24zM 33,130.5q 12.5,14.5 30,61.5l 97,256l 32,0 l 64-192l 80,192l 32,0 l 75.5-195q 3-8.5 12-26.75t 15.25-35t 7.75-30.25q 1.5-20 1.5-29q 32,58 32,124\nq0,69.5 -34.25,128.5t-93.25,93.25t-128.5,34.25q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5q0-67 33-125.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"joomla\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 421.5,229.5l-37.5-37.5q 10-10.5 8.5-30.25t-12-30.25t-30.25-12t-30.25,8.5l-96.5,96l-37.5-37.5l 93.5-93.5q 29-29 69.75-29t 69.75,29q 28,28 28.75,67.75t-26.25,68.75zM 131.5,131.5q-10.5,10.5 -12,30.25t 8.5,30.25\nl 96,96l-38,37.5l-93-93q-29-29 -29-69.75t 29-69.75q 28-28 67.75-28.75t 68.75,26.25l-37.5,37.5q-10.5-10 -30.25-8.5t-30.25,12zM 48,96q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 48,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14\nzM 90,283l 37.5,37.5q-10,10.5 -8.5,30.25t 12,30.25t 30.25,12t 30.25-8.5l 96-96l 37.5,38l-93,93q-29,29 -69.75,29t-69.75-29q-28-28 -28.75-67.75t 26.25-68.75zM 381,381q 10.5-10.5 12-30.25t-8.5-30.25l-96-96.5l 37.5-37.5l 93.5,93.5q 29,29 29,69.75t-29,69.75q-28,28 -67.75,28.75\nt-68.75-26.25l 37.5-37.5q 10.5,10 30.25,8.5t 30.25-12zM 464,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cpanel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,13.5 -9.5,22.75t-22.5,9.25l-192,0 l0,192 q0,13.5 -9.25,22.75t-22.75,9.25l0,0 q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25l0,0 q 69.5,0 128.5,34.25t 93.25,93.25t 34.25,128.5zM 64,256q0,71 45.75,124.25t 114.25,64.75l0-378 \nq-68.5,11.5 -114.25,64.75t-45.75,124.25zM 288,67l0,157 l 157,0 q-10-60.5 -53.5-103.75t-103.5-53.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"python\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384l-144,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 q0,26.5 -18.75,45.25t-45.25,18.75l-96,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-112 q0-26.5 10.75-37.25t 37.25-10.75l 128,0 q 26.5,0 53.25-26.75t 26.75-53.25l0-80 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25\nl0,96 q0,36.5 -29.75,66.25t-66.25,29.75zM 288,472q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 zM 320,256l-128,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,64 l-64,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 \nq0-36.5 29.75-66.25t 66.25-29.75l 144,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 q0-26.5 18.75-45.25t 45.25-18.75l 128,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 224,40q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25\nt-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flashplayer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-16,0 q-23,0 -44,11.75t-37.75,31.75t-28.75,40.5t-22.5,44l 85,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-119,0 q-4.5,9.5 -10.75,25t-10.5,26.5t-11.25,25.75t-13.5,25.5t-16,23.5t-19.75,21.75t-24.5,17.75t-30.25,14.25t-36.5,8.75t-44,3.25l-16,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q 25,0 49.5-15.75t 43-40.25t 31.75-51.75t 19.75-52.25q 4-16.5 9.75-34.5t 16.75-44t 24.25-49.25t 32.75-47.5t 41.75-41.5t 52-28.25t 62.75-11l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ajax\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 443,230l-21,21.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-16.5-16.5l0,181 q0,40 -28.25,68t-67.75,28l-64,0 q-40,0 -68-28t-28-68l 64,0 q0,13.5 9.25,22.75t 22.75,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75l0-181 l-16.5,16.5q-4.5,4.5 -10.75,4.5t-10.75-4.5l-21.5-21.5q-4.5-4.5 -4.5-10.75t 4.5-10.75l 76-76q 4.5-4.5 15.5-4.5\nq 10.5,0 15.5,5l 76,75.5q 4,4.5 4,10.75t-4.5,10.75zM 288,64l-64,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,181 l 16-16.5q 4.5-4.5 10.75-4.5t 10.75,4.5l 21.5,21.5q 4.5,4.5 4.5,10.75t-4.5,10.75l-75.5,76q-4.5,4.5 -15.5,4.5t-16-5l-75.5-75.5q-4.5-4.5 -4.5-10.75t 4.5-10.75l 21.5-21.5q 4.5-4.5 10.75-4.5t 10.75,4.5l 16.5,16.5l0-181 q0-40 28-68\nt 68-28l 64,0 q 39.5,0 67.75,28t 28.25,68l-64,0 q0-13 -9.5-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"magento\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,420.5l0-260.5 l-160-80l-160,80l0,260.5 l-64-36.5l0-256 l 224-128l 224.5,128l0,256 zM 224,429.5l 32,18.5l 32-18.5l0-267 l 64.5,37.5l0,256 l-96.5,56l-96-56l0-256 l 64-37.5l0,267 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"oxwall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75q 58,0 106-32l 54,0 l0-54 \nq 32-48 32-106q0-52 -25.75-96.25t-70-70t-96.25-25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jqueryui\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,480q-55.5,0 -100-13.25t-80.5-42.25t-55.75-79.75t-19.75-120.75l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,70 -19.75,120.75t-55.75,79.75t-80.5,42.25t-100,13.25zM 256,320q-21.5,0 -37.75-5.5t-30-19t-21-39.5t-7.25-64l0-64 l-96,0 l0,96 \nq 0.5,42 10.75,75t 27.25,54.75t 41.5,36t 52.25,20.25t 60.25,6q 38,0 69.25-8.5t 57.75-26.75t 43.25-50t 21.75-74.75l-96,0 q-18.5,64 -96,64zM 384,96l-32,96l 96,32l 32-96z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jquery\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 403.5,240q-54.5,0 -93-38.5t-38.5-93q0-32 18-60.75t 46-47.75q-2,5 -6.25,15.5t-6.5,16t-6,14.75t-5.5,15t-3.75,12.75t-3,12.25t-1,9.75q0,47.5 32.25,79.75t 79.75,32.25q 4.5,0 9.75-1t 12.25-3t 12.75-3.75t 15-5.5t 14.75-6t 16-6.5t 15.5-6.25q-19,28 -47.75,46t-60.75,18zM 368,320\nq 30.5,0 57.25-3.5t 70.75-12.5q-27.5,31 -66.5,47.5t-83.5,16.5q-55,0 -101.5-27t-73.5-73.5t-27-101q0-45 16.5-84t 47.5-66.5q-9,44 -12.5,70.75t-3.5,57.25q0,47 24,87.5t 64.5,64.5t 87.5,24zM 288,448q 91.5,0 160-16q-35,39 -85,59.5t-107,20.5q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5\nq0-57 20.5-107t 59.5-85q-16,68.5 -16,160q0,45.5 17.75,87t 47.75,71.5t 71.5,47.75t 87,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"css3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-192,64l-192-64l-32-448l 448,0 zM 96,64l 6,64l 218,0 l0,64 l-212.5,0 l 6,64l 206.5,0 l0,96 l-64,16l-64-16l0-64 l-75.5,0 l 11.5,128l 128,32l 128-32l 32-352l-320,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"html5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-192,64l-192-64l-32-448l 448,0 zM 96,64l 17.5,192l 206.5,0 l0,96 l-64,16l-64-16l0-64 l-75.5,0 l 11.5,128l 128,32l 128-32l 20.5-224l-212.5,0 l0-64 l 218,0 l 6-64l-320,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"html\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,277l-99,130q-9,8.5 -21.75,8.5t-21.75-8.75t-9-21.5t 9-21.75l 82.5-108l-82.5-108q-9-9 -9-21.5t 9-21.5t 21.75-9t 21.75,9l 99,129.5q 9,9 9,21.5t-9,21.5zM 256,480q-0.5,1.5 -1.5,5.75t-1.5,5.75l-1.75,5.25t-2.5,5.25t-3.75,4t-5.25,3.5t-6.75,1.75t-9,0.75q-12,0 -23-12.5\nt-8-24l 63-444q 8.5-32 48-32q 11,0 14.75,11.75t 0.25,24.75zM 151.5,406.75q-9,8.75 -21.75,8.75t-21.75-8.5l-99-130q-9-9 -9-21.5t 9-21.5l 99-129.5q 9-9 21.75-9t 21.75,9t 9,21.5t-9,21.5l-82.5,108l 82.5,108q 9,9 9,21.75t-9,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ruby\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 96,512l 0.5-0.5q-44-2 -69-27q-25-24.5 -27-68.5l-0.5,0 l0-160 l 0.5,0 q0-36 23.25-81t 64.75-86.5t 86.5-64.75t 81-23.25l0-0.5 l 160,0 l0,0.5 q 44,2 68.5,27q 25,25 27,69l 0.5-0.5l0,416 l-416,0 zM 480,480l-112-112l-144,112l 256,0 zM 337.5,356.5l-177.5-68.5l-27,188q 47.5-9.5 101.25-40.5t 103.25-79zM 32,432q 1,2.5 4.25,9.75\nt 6.25,13.5t 5.5,8.75q 14.5,14.5 26.5,16.75t 38.5-1.75q-79-161.5 -81-166l0,119 zM 274.25,45.75q-23.75-23.75 -74-7t-97.5,64t-64,97.5t 7,74t 74,7t 97.5-64t 64-97.5t-7-74zM 356.5,337.5q 47.5-49.5 78.5-103.25t 40.5-101.25l-187.5,27zM 463,48q-2.5-2.5 -8.5-5.5t-13.5-6.25t-9.5-4.25l-118.5,0 l 165,80\nq 4-26 1.75-38t-16.75-26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"whmcs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 437,192l-70.5,0 q-17-29 -46.25-46.5t-64.25-17.5q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5q 35,0 64.25-17.5t 46.25-46.5l 70.5,0 l-0.5,0.5l 50.5,45q-8,16.5 -17,30.5l-66-17.5q-11,13 -24.5,24.5l 19.5,65.5q-12.5,8.5 -31,17.5l-46.5-49.5q-16.5,5.5 -33.5,8.5l-17.5,66.5q-12.5,0.5 -14.5,0.5q-8,0 -21-1l-13.5-66\nq-15-3 -30-8.5l-45,50.5q-17-8 -30.5-17l 17.5-66q-13-11 -24.5-24.5l-65.5,19.5q-8.5-13 -17.5-31l 49.5-46.5q-5.5-16.5 -8.5-33.5l-66.5-17.5q-0.5-12.5 -0.5-14.5q0-8 1-21l 66-13.5q 3-15 8.5-30l-50.5-45q 8-17 17-30.5l 66,17.5q 11-13 24.5-24.5l-19.5-65.5q 13-8.5 31-17.5l 46.5,49.5q 16.5-5.5 33.5-8.5l 17.5-66.5q 13-0.5 14.5-0.5\nq 8,0 21,1l 13.5,66q 15,3 30,8.5l 45-50.5q 17,8 30.5,17l-17.5,66q 13,11 24.5,24.5l 65.5-19.5q 8.5,12.5 17.5,31l-49.5,46.5l0,1 t 0.5,0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mybb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,208q0,15 2.5,28.5t 6.5,22.75t 8.5,16t 8.25,9.75t 6.25,3q-37,0 -69.25-9.5t-54.75-26q-18.5,3.5 -36.25,3.5t-35.75-3.5l-1,2t-0.5,1.5l 2.75,0 l 2.75,0 q 43.5,0 80.25,15t 58.25,40.75t 21.5,56.25t-21.5,56.25t-58.25,40.75t-80.25,15q-18,0 -36.5-3q-22.5,16.5 -54.75,25.75t-68.75,9.25\nq 4.5,0 11.5-8t 13.5-27t 7-42q-32-30 -32-67q0-7 2-16l-1,0 l-1,0 q-17.5,0 -36-3.5q-22.5,16.5 -54.75,26t-69.25,9.5q 2.5,0 6.25-3t 8.25-9.75t 8.5-16t 6.5-22.75t 2.5-28.5q0-0.5 0.25-1.5t 0.25-1.5q-32.5-34.5 -32.5-77q0-34.5 21.5-64t 58.25-46.75t 80.25-17.25q 18,0 36,3.5q 12.5-43 56-71.25t 100-28.25q 43.5,0 80.25,17.25\nt 58.25,46.75t 21.5,64q0,42.5 -32.5,77q0,0.5 0.25,1.5t 0.25,1.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dolphinsoftware\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 444.5,79.5q 33.5,35 52.25,80.5t 18.75,96q0,73 -39,135q 15,20 39,22q-16.5,19 -41,19q-22,0 -38.5-20t-16.5-44q0-10 2.5-32.25t 3-32.75q-16.5-36.5 -52.75-64.25t-79.25-39.75q-17.5,7.5 -39,24.5t-38.5,33t-38.75,31.5t-40.25,21q-49.5,14.5 -88.25,9.5t-44.25-27q-3.5-15.5 11.75-33.5t 44.25-34\nq-1-1 -2.25-3.25t-1.75-2.75q 26.5,6 59.5,6q 26.5,0 48.5-8.75t 34.5-23.75q 12.5-1 20.75-10t 8.25-21.5q0-13 -9.25-22.5t-22.5-9.5t-22.75,9.5t-9.5,22.5q0,11 7.5,20q-25.5,12 -55.5,12q-19,0 -29.5-0.5t-23.25-2.75t-21.75-6.75q-5-20.5 -5.5-38q-0.5-24.5 7-43.5t 25-36.5q 32-31.5 84.5-47.75t 107.5-16.25q 64.5,0 121,30.5\nq 27-30.5 66.5-30.5q 41,0 68.5,33q-22.5,2 -41,14.5t-30,32zM 93,351q 25,44 69.5,70.5t 97,26.5q 73.5,0 128.5-49.5q 3.5,34 29,59q-69.5,54.5 -157.5,54.5q-79.5,0 -144-44.5t-93.5-116q 13.5,0.5 29.5,0.5q 24,0 41.5-1z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phpbb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,160q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75q-34,0 -58,23.25t-33,63.75\nq-35-55 -101-55q 39.5,0 67.75-28t 28.25-67.75t-28.25-68t-68-28.25t-67.75,28.25t-28,68t 28,67.75t 68,28q-58,0 -93,44t-35,116q 32,18 58,25t 70,7t 70-7t 58-25q0-22 -4-43.5q 26.5,11.5 68,11.5q 33,0 52.5-5.75t 43.5-20.75q0-60.5 -26.25-97t-69.75-36.5q 26.5,0 45.25-18.75\nt 18.75-45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"smf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 498,32l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,48 q0,3 2.25,5.5t 5.75,2.5l 40,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75l-40,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,104 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-224 q0-7 4.5-11.5t 11.5-4.5l 64,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5\nt-11.25,4.75zM 370,256q-6.5,0 -11.25-4.75t-4.75-11.25l0-174.5 l-50,70.5q-4.5,8 -14,8t-14-8l-50-70.5l0,174.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-224 q0-6.5 4.75-11.25t 11.25-4.75q 9,0 14,8l 66,93l 66-93q 5-8 14-8q 6.5,0 11.25,4.75t 4.75,11.25l0,224 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 239,292.5l 29.5,41l 204-44.5q 13-3.5 24.75,3t 15.25,19t-3.25,23.75t-19.75,14.75l-181,39.5l 74,102q 8.5,8.5 -4,21l-308-0.5q-5-5 -5-12t 5-12l 39.5-55.5l-66.5,14.5q-13,3.5 -24.75-3t-15.25-19t 3.25-23.75t 19.75-14.75l 138-30l 45.5-63.5q 5-5 14.5-5t 14.5,5z\nM 194,383.75q0,13.25 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5zM 146,64q-6.5,0 -11.25-4.75t-4.75-11.25q0-6 -1.75-9.5t-6.5-4.75t-8.25-1.75t-11,0l-4.5,0 l-32,0 q-13,0 -22.5,9.25t-9.5,22.5t 9.5,22.75t 22.5,9.5l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 \nq0,26.5 -18.75,45.25t-45.25,18.75l-32,0 q-29,0 -46.5-11.5t-17.5-36.5q0-7 4.75-11.5t 11.25-4.5t 11.25,4.5t 4.75,11.5q0,5.5 1.75,9t 6.5,5t 8.25,1.75t 11.5,0.25l 4,0 l 32,0 q 13,0 22.5-9.5t 9.5-22.5l0-32 q0-13.5 -9.5-22.75t-22.5-9.25l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 32,0 q 29,0 46.5,11.5t 17.5,36.5\nq0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"prestashop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-32,0 l0-80 q0-16 -9.5-28.5t-24.5-17q0-15 -15.75-24.75t-30.25-9.75l-16,0 l0-16 q0-20 -14-34t-34-14t-34,14t-14,34l0,51 q-14,5 -23,17.25t-9,27.75l0,80 l-128,0 q-13,0 -22.5-9.25t-9.5-22.75l0-288 q0-13 9.25-22.5t 22.75-9.5l 32,0 l0-64 l 64-64l0,128 l 192,0 l0-128 l 64,64l0,64 l 32,0 \nq 13.5,0 22.75,9.5t 9.25,22.5l0,288 q0,13.5 -9.25,22.75t-22.75,9.25zM 192,0l 128,0 l0,64 l-128,0 l0-64 zM 240,384q 6.5,0 11.25,4.75t 4.75,11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75\nt 4.75,11.25l0,32 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 q0,26.5 -15.5,45.25t-38,18.75l-53,0 q-22,0 -37.75-18.75t-15.75-45.25l0-48 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"opencart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,384q 11.5-23 25.25-48t 20-36.5t 10.75-22.75t 4.5-19.25q0-26 -9.75-44.5t-23.75-18.5q-98.5,0 -180-12q-128-18.5 -191-83q-10.5-12 -14-17t-10-16.75t-9.75-27t-6.25-38.75q 6,16.5 12.25,29.25t 11,20t 11.75,13.75t 10.25,9t 10.75,6.5t 9.5,5.5q 70.5,44 382.5,44q 24.5,0 44.25,20.25t 19.75,46.25\nq0,15 -4.5,30.5t-15,32.5t-20,30.25t-27.5,32.75t-28.75,30.75t-32.25,32.75zM 144,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14zM 336,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"backupwizard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,502q-9.5,9.5 -22.5,10t-22-8.5l-96.5-97q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 96.5,97q 9,9 8.5,22t-10,22.5zM 288,128l0,114 l-96.5-97l 16.5-16.5l-44.5-6l-12.5-26.5l 105,0 q 13.5,0 22.75,9.25t 9.25,22.75zM 128,96l 9,0 l-12,26.5l-29,4q 0.5-13 9.75-21.75t 22.25-8.75zM 128,288\nq-13,0 -22.5-9.5t-9.5-22.5l0-111.5 l 17,16.5l-8.5,47l 36.5-21.5l 101,101.5l-114,0 zM 320,96q0-13.5 -9.25-23t-22.75-9.5l-192,0 q-13,0 -22.5,9.5t-9.5,23l0,192 q0,13 9.5,22.5t 22.5,9.5l 178,0 l 64,64l-306,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320.5 q0-13 9.5-22.5t 22.5-9.5l 320,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,306.5 l-64-64l0-178 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"accountfiltering\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-190,234l-18,118q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l-18-118l-190-234l-11.5-16q-4.5-7.5 -4.5-16q0-13 9.5-22.5t 22.5-9.5l 96,0 l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 128,0 q 26.5,0 45.25-18.75t 18.75-45.25l0-128 l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,8.5 -4.5,16zM 255.5,112\nl 93.5-93.5q 3,6.5 3,13.5l0,160 q0,7 -3,13.5zM 190,0l 0.75,0 l 1.25,0 l 128,0 l 1.25,0 l 0.75,0 l-66,66.5zM 320,224l-128,0 l-1.25,0 l-0.75,0 l 66-66.5l 66,66.5l-0.75,0 l-1.25,0 zM 230,92.5q-3,3 -4.5,7.75t-1.5,8.25l0,3.5 q-0.5,13 6,19.5l 3.5,3.5l-70.5,70.5q-3-6.5 -3-13.5l0-160 q0-7 3-13.5l 70.5,70.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"userfiltering\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-190,234l-18,118q0,13.5 -9.25,22.75t-22.75,9.25t-22.75-9.25t-9.25-22.75l-18-118l-190-234l-11.5-16q-4.5-7.5 -4.5-16q0-13 9.5-22.5t 22.5-9.5l 128,0 q0,59.5 8,81.5q-40,23.5 -40,83.5q0,6.5 5.75,11.5t 17.75,7.75t 23,4.5t 28.5,2.25t 27,0.75t 26,0.25t 26-0.25t 27-0.75t 28.5-2.25t 23-4.5\nt 17.75-7.75t 5.75-11.5q0-60 -40-83.5q 8-22 8-81.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,8.5 -4.5,16zM 288,136.5l0,26.5 q 28,5.5 45.75,18.5t 18.25,29q0,13.5 -96,13.5t-96-13.5q 0.5-16 18.25-29t 45.75-18.5l0-27.5 q-32-20.5 -32-83q0-26 18-39.25t 46-13.25t 46,13.25t 18,39.25q0,65.5 -32,84z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"filter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,64l-177.5,219.5l-30.5,196.5q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l-30.5-196.5l-177.5-219.5l-11.5-16q-4.5-7.5 -4.5-16q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,8.5 -4.5,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wrench\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,399q 4.5,5 4.5,43.25t-4.5,43.25l-22,22q-5,4.5 -43.25,4.5t-43.25-4.5l-207.5-267.5l0-0.5 t-0.5-0.5q-29.5,17 -63,17q-52.5,0 -89.5-36.5t-38.5-88.5l0-3 l 19,0 l 41.5,41.5q 22.5,22.5 54.25,22.5t 54.25-22.5t 22.5-54.5t-22.5-54.5l-41-41l0-19.5 l 3,0 q 52,1.5 88.25,38.75t 36.25,89.25q0,34 -16.5,63.5l 0.5,0.5zM 447.75,480\nq 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"error2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 256.25,320q-13.25,0 -22.75-9.5t-9.5-22.5l-32-128q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l-32,128q0,13 -9.25,22.5t-22.5,9.5zM 256,352q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75t 9.25-22.5\nt 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"certificate2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 338.5,297l 45.5,183l-64,32l-43-193.5q-11.5,1.5 -21,1.5t-21-1.5l-43,193.5l-64-32l 45.5-183q-35.5-21.5 -56.5-57.75t-21-79.25q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25q0,43 -21,79.25t-56.5,57.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"certificate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400.5,192l 48,51.5l-67.5,21l 16,68.5l-63.5-14.5l 51,162.5q0,16.5 -14,26l-26-26l-31,31q-11-2.5 -18-11.25t-7-19.75l-32.5-103l-32,103q0,11 -7,19.75t-18,11.25l-31-31l-26,26q-14-9.5 -14-26l 51-162.5l-63.5,14.5l 16-68.5l-67.5-21l 48-51.5l-48-51.5l 67.5-20.5l-16-68.5l 68.5,16\nl 20.5-67.5l 51.5,48l 51.5-48l 21,67.5l 68.5-16l-16,68.5l 67.5,20.5zM 256.25,96q-39.75,0 -68,28.25t-28.25,68t 28.25,68t 68,28.25t 68-28.25t 28.25-68t-28.25-68t-68-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mimetype\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 447.5,512l-155.5,0 l 4-2q 5.5-3.5 7.25-9.75t-1.75-12.25l-22.5-40q 5.5-8 9.5-16.5l 47,0 q 7,0 11.5-4.5t 4.5-11.5l0-95.5 q0-7 -4.5-11.5t-11.5-4.5l-47,0 q-4-8.5 -9.5-17l 22.5-39.5q 3.5-6 1.75-12.25t-7.25-9.75l-82.5-48q-5.5-3 -12-1.25t-9.5,7.25l-23.5,41q-1,0 -4-0.25t-4.75-0.25t-5,0.25t-3.75,0.25l-23.5-41q-3-5.5 -9.5-7.25\nt-12,1.25l-74,43.5l0-188.5 q0-13.5 9.25-22.75t 22.75-9.25l 223.5,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 319.5,0q 13,0 22.5,9l 128,128.5q 9.5,9.5 9.5,23l-160,0 l0-160.5 zM 89,304l-23.5-41.5q-3-5.5 -1.5-11.75t 7-9.75l 26.5-15.5q 5-3 11.25-1.25t 9.25,7.25l 24,42\nq 9.5-1.5 17.75-1.5t 18.25,1.5l 23.5-42q 3.5-5.5 9.5-7.25t 11.5,1.25l 26,15.5q 5.5,3.5 7,9.75t-1.5,11.75l-23.5,41.5q 13,14.5 19.5,31.5l 53.5,0 q 7,0 11.5,4.75t 4.5,11.25l0,32 q0,7 -4.5,11.5t-11.5,4.5l-53.5,0 q-6.5,17.5 -19.5,32l 23.5,41.5q 3,5.5 1.5,11.75t-7,9.25l-26,16q-5.5,3 -11.5,1.25t-9.5-7.25l-23.5-42\nq-10,1.5 -18.25,1.5t-17.75-1.5l-24,42q-3,5.5 -9,7.25t-11.5-1.25l-26.5-16q-5.5-3 -7-9.25t 1.5-11.75l 23.5-41.5q-13-14.5 -19-32l-54,0 q-6.5,0 -11.25-4.5t-4.75-11.5l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 54,0 q 6-17 19-31.5zM 159.75,399.5q 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"apache\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512q-12.5,0 -26-0.5q-207-5.5 -318.75-88t-118.25-230q-33-85.5 -33-177.5q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,1.5 l0,1.5 q-4.5,7.5 -2,16q 1,7.5 4,20q 2,21 5.5,42q 1,0 2.5,0.5t 2,0.5q 39,161 84,206q 30,30.5 55,53t 56.25,45.75t 63.75,39t 65,22.25l 32,0 q-5.5-3 -14.75-8.25\nt-37.5-23.5t-55.75-39t-64.25-53.5t-67.75-67.75q-39.5-44.5 -75.5-153.5q 22.5,17 43.5,41.5q 46,54 123,128.75t 149.75,133t 95.25,58.25q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"parkeddomain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,416q0,13.5 9.5,22.75t 22.5,9.25l 32,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 q0-13 -9.5-22.5t-22.5-9.5l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,32 z\nM 112,384q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,32 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-32 l 16,0 zM 288,64l-96,0 q-13,0 -22.5,9.5t-9.5,22.5l0,192 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75\nl0-32 l 64,0 q 46,0 71-27t 25-69t-25-69t-71-27zM 448,384q0-13 -9.5-22.5t-22.5-9.5l-32,0 q-8.5,0 -16,4.5q-7.5-4.5 -16-4.5l-32,0 q-13,0 -22.5,9.5t-9.5,22.5l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 32,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 32,0 l0,48 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 zM 288,192l-64,0 l0-64 l 64,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 224,416l-32,0 l0-32 l 32,0 l0,32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"redirect\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-27.5,0 -52.5-11.5q-37,11.5 -75.5,11.5q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5q0,38.5 -11.5,75.5q 11.5,25 11.5,52.5zM 445,224q-9.5-8 -27.25-23.5t-26.25-22.5l-18.5,0 q-0.5,2 -1,5.75\nt-1,5.75q 7,4.5 19.75,13.5t 15.75,11q-16.5,16.5 -24,24.5q-6-9 -17-27.25t-16.5-27.25q-9.5,2.5 -20.5,5.5q-2,1 -5.25,3t-4.25,2.5q 1.5,6.5 3.5,18.5t 2.5,13.5q-7.5,9 -11.5,13.5q-6-3 -24.75-11.5t-28.75-13q0-0.5 -2-6l0-17 q 13-3.5 41-11q-0.5-1 -20.5-43.5q 3.5-5 7.5-11.5q 10.5-0.5 32.25-2.5t 32.75-3l0-24.5 q 1,0 3.5-0.75\nt 3.5-1.25q 1.5,11.5 2,17q 0.5,0 22-1q-16.5-14 -34-23.5q-8.5,1 -19.5,2l-2-2q 1.5-5 2.5-9q-24-10 -50.5-13q 1.5,6 4.5,18.5t 4.5,19q-2,0.5 -6,1.75t-5,1.75l 4,2l-17,2q 1.5-9 4.75-26.25t 3.75-19.25q-10-1 -16-1q-1,0 -10.5,0.5q 0.5,0 1,0.5l 0.5,0 l0,19 l-13,0 q-2.5-0.5 -11-2q 0.5-2.5 2.25-7.75t 2.75-7.75\nq-66.5,9.5 -112.5,59l 7,0 l 12,10.5l 12,10.5l0,11 q-11,4.5 -32.5,13.5t-31.5,13q-1.5,11.5 -5,34.75t-5.5,34.75q 15,16 29.5,32q-7,4.5 -8,5l-26,0 q 12,68 65.25,112.75t 123.25,44.75q 8.5,0 17-0.5q-4.5-7.5 -7-14q-2.5,0 -7.75-0.25t-7.75-0.75q-7-10 -21.25-31.5t-21.25-32.5q 9.5-18.5 33.5-64q 1-1.5 3.5-4\nq 7-6 21.25-18.75t 21.25-18.75q 11,2 44.5-3.75t 44.5-3.75q 0.5,0 0.5,0.5l 0.5,0.5q 4.5-0.5 6.5-0.5q 33.5,0 63,17q 1-9 1-17q0-15 -3-32zM 384,288q-31,0 -55.5,18t-34.5,46l-32.5,0 q-5.5,6 -5.5,14.5t 5.5,14.5l 26.5,35q 3,3 7.5,4.5l0,0 q 6,2.5 13,1.25t 11.5-5.75l 26.5-35q 5.5-6 5.5-14.5t-5.5-14.5l-17.5,0 q 8-14.5 22.75-23.25\nt 32.25-8.75q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75q-4.5,0 -10.5-1l-26,25.5q 17.5,7.5 36.5,7.5q 40,0 68-28.25t 28-68t-28-67.75t-68-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domainaddon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 l0,32 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-14,0 -23.5-10.5q-36,10.5 -72.5,10.5q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5q0,37 -10.5,72.5q 10.5,9.5 10.5,23.5l0,64 z\nM 445,224q-9.5-8 -27.25-23.5t-26.25-22.5l-18.5,0 q-1.5,8.5 -2,11.5q 15,10.5 35.5,24.5q-12,12 -24,24.5q-11.5-18.5 -33.5-54.5q-9.5,2.5 -20.5,5.5q-2,1 -5.25,3t-4.25,2.5q 1.5,6.5 3.5,18.5t 2.5,13.5q-7.5,9 -11.5,13.5q-6-3 -24.75-11.5t-28.75-13q0-0.5 -2-6l0-17 q 13-3.5 41-11l-20.5-43.5q 1.5-2 4-6t 3.5-5.5q 10.5-0.5 32.25-2.5\nt 32.75-3l0-24.5 q 1-0.5 3.5-1t 3.5-1q 1,6.5 2,17q 0.5,0 22-1q-16.5-14 -34-23.5q-7,0.5 -19.5,2l-2-2q 1.5-5 2.5-9q-24-10 -50.5-13q 1.5,6 4.5,18.5t 4.5,19q-2,0.5 -6,1.75t-5,1.75l 4,2q-16.5,2 -17,2q 1.5-9 4.75-26.25t 3.75-19.25q-10-1 -16-1q-1,0 -10.5,0.5q 1,0.5 1.5,0.5l0,19 l-13,0 q-2-0.5 -11-2q 1-3.5 5-15.5\nq-66.5,9.5 -112.5,59l 7,0 l 12,10.5l 12,10.5l0,11 q-12.5,5 -36,14.75t-28,11.75q0,2.5 -4.25,29t-6.25,40.5q 9.5,10 29.5,32q-1,0.5 -3.75,2.25t-4.25,2.75l-26,0 q 12,68 65.25,112.75t 123.25,44.75q 10,0 22.5-1.5q-11-3.5 -17.5-13q-1.5-0.5 -5-0.5t-5.5-0.5q-7-10.5 -21.25-32t-21.25-32q 11.5-22.5 33.5-64\nq 1-1.5 3.5-4q 7-6 21.25-18.5t 21.25-19q 6.5,0.5 9.25,0.75t 10.75-0.75t 11.75-1.5t 12.25-2t 12.5-2.5q 4.5-1 8-1q 16.5-2 24.5-0.5q 0.5,0 0.5,0.25l0,0.25 l 39,0 q 10.5,0 19,6.25t 11.5,16.25q 1.5-12.5 1.5-22.5q0-15 -3-32zM 448,352l-32,0 l0-32 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.25t-9.25,22.75l0,32 l-32,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5\nt 22.5,9.25l 32,0 l0,32 q0,13.5 9.5,22.75t 22.5,9.25t 22.5-9.25t 9.5-22.75l0-32 l 32,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"subdomain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5q-38.5,0 -72-17.25t-56-46.75q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75t 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q 29.5,22.5 46.75,56t 17.25,72zM 256,224\nq-7.5-3.5 -11.75-15.75t-11.75-15.75q-1-3 -2-4.5q0-2.5 -3.25-14t-3.25-14q 5.5-1.5 16,0t 16,0q-3-6 -4-16.75t-4-17.25q 1-1.5 3-4.75t 3-4.75q 9.5-1 17.25-2.25t 16.75-2.25l0-16 l 32,0 q-32-24 -71.5-30q 1.5,5 3.75,14.75t 3.25,14.25q-4,1.5 -9,3.5q 0.5,0 1.5,0.75t 1.5,0.75q-2.5,0.5 -12.75-2t-12.75-2q 1-4 0.5-16.25t 2-15.75\nl-1.25,0 l-1.25,0 q-55.5,0 -99,34.5q 16,26.5 19,29.5q-4-2 -8,5.5t-6,15.75t-2,10.75q-9,4 -22.5,2.75t-22.5,2.25q-1.5,10 -9.5,29.5t-9.5,29.5q 3,2.5 8.5,2.5t 11-1.5t 9.25,2t 3.25,13q-1,1 -2,8.75t-2,8.25l-24.5,0 q 10,47.5 44.75,81.5t 82.75,43q-3-15.5 -3-29.5q0-59.5 38.5-104.25t 96.5-53.75\nq-21-30.5 -23-34q-3,1 -8,0t-8,0q-1.5,1 -3,7.5t-2.5,7.5q 3,19.5 4.5,27.5q-1.5,2 -15.5,10.75t-15.5,10.75zM 372.5,165q-2-3 -4.5-5l-32,0 q0,1.5 0.25,8t-0.25,8q 5,3.5 16,8t 16,8l-0.5,0.25l-0.5,0.25q 6.5,1 14,2.5q-2.5-16 -8.5-30zM 352.25,256q-39.75,0 -68,28t-28.25,68t 28.25,68t 68,28\nt 67.75-28t 28-68t-28-68t-67.75-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"authentication\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320.25,512q-52.25,0 -96.5-25.75t-69.75-69.75t-25.5-96.5q0-41 17.5-79.5l-33.5,0 l0-80 l-31,0 l-17-17.5l0-30.5 l-30.5,0 l-1.5-1.5l0-30.5 l-28.5,0 q-4-8 -3-16.5l-1,0 l0-64 l 64,0 l0,1 q 14-1.5 23.5,7.5l 142,142.5q 42.5-22.5 90.5-22.5q 52.5,0 96.5,25.5t 69.75,69.75t 25.75,96.5t-25.75,96.25t-69.75,69.75t-96.25,25.75zM 49,16.5l-16.5,16.5\nl 159.5,159.5l 16.5-16.5zM 352,288q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hotlinkprotection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502,374q-9.5,9.5 -22.5,10t-22-8.5l-60.5-60.5l-19,19q-17.5,17.5 -42.25,17.5t-42.25-17.5l-34.5-34.5l-54,53.5l 6.5,6.5q 12.5,12 12.5,29.25t-12.5,29.75l-81,81.5q-12.5,12 -29.75,12t-29.25-12l-59.5-59q-12-12.5 -12-29.75t 12-29.75l 81.5-81q 12.5-12.5 29.75-12.5t 29.25,12.5l 7,6.5l 53.5-53.5l-36-36\nq-17.5-17.5 -17.5-42t 17.5-42l 19.5-19.5l-60-59.5q-8.5-9 -8.25-22t 9.75-22.5t 22.5-10t 22,8.5l 60,59.5l 19-19q 17.5-17.5 42.25-17.5t 42.25,17.5l 116.5,116.5q 17.5,17.5 17.5,42.25t-17.5,41.75l-19.5,19.5l 60.5,60.5q 9,9 8.5,22t-10,22.5zM 150,362q-9.5-9.5 -22.5-9.75t-22,8.25l-32.5,33q-9,9 -8.5,22t 10,22.5\nt 22.5,9.75t 21.5-8.25l 33-33q 9-9 8.5-22t-10-22.5zM 406,184l-79-79q-9.5-9.5 -23.25-9.5t-23.75,9.5l-0.5,1q 8.5,8.5 8.25,21.5t-9.75,22.5t-22.5,10t-21.5-8.5l-0.5,0.5q-10,9.5 -10,23.25t 10,23.75l 17,17l 15-15.5q 9-9 22-8.5t 22.5,10t 10,22.5t-8.5,22l-15,15.5l 16,16q 9.5,9.5 23.25,9.5t 23.25-9.5\nl 1-1q-8-9 -7.5-21.5t 9.75-21.5t 21.75-9.75t 21.5,7.25l 0.5-0.5q 9.5-10 9.5-23.5t-9.5-23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sslmanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -96.25-25.75t-70-70t-25.75-96.25q0-58 32-106l0-54 q0-43.5 21.5-80.25t 58.25-58.25t 80.25-21.5t 80.25,21.5t 58.25,58.25t 21.5,80.25l0,54 q 32,48 32,106q0,52 -25.75,96.25t-70,70t-96.25,25.75zM 256,64q-38,0 -65.5,26t-30,63.5q 44.5-25.5 95.5-25.5t 95.5,25.5\nq-2.5-37.5 -30-63.5t-65.5-26zM 256,192q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,384q-26.5,0 -45.25-18.75t-18.75-45.25q0-32 26-51l 38-76.5l 38,76.5q 26,19 26,51q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ssh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,432l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 368,368l-16,0 l0,16 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-16,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l-16,0 q-2,0 -3-0.5\nq-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 l0,16 l 64,0 l0-96 l-80,0 q-2,0 -3-0.5q-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6 3.75-10.25\nt 9.25-5.25q 1-0.5 3-0.5l 16,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 16,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 l0-16 l-64,0 l0,96 l 80,0 q 2,0 3,0.5\nq 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,304l-16,0 l0,16 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-16,0 l0,16 q0,6 -3.75,10.25t-9.25,5.25q-1,0.5 -3,0.5l-16,0 l0,16 q0,5.5 -3.75,10t-9.25,5.5q-1,0.5 -3,0.5l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6 3.75-10.25t 9.25-5.25q 1-0.5 3-0.5l 16,0 l0-16 q0-6 3.75-10.25t 9.25-5.25q 1-0.5 3-0.5l 16,0 l0-32 l-16,0 q-2,0 -3-0.5q-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-2,0 -3-0.5q-5.5-1 -9.25-5.25t-3.75-10.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25\nt 11.25-4.75l 32,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 2,0 3,0.5q 5.5,1 9.25,5.25t 3.75,10.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"protecteddirectory\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-13 9.25-22.5t 22.75-9.5l 240,0 q0-3.5 5.75-14t 11.25-19.5l 6-8.5q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.75q 24.5,32 24.5,42l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 320,256q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75\nt-18.75,45.25q0,19.5 11.25,35.75t 29.25,23.25l-40.5,101l 128,0 l-40.5-101q 18-7 29.25-23.25t 11.25-35.75zM 23,54q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"awstats\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75t 9.5-22.75t 22.5-9.25l 1,0 l 447,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 464,416l-432,0 l 88-165q 2.5-4.5 8-6.25t 10.5,0.25l0-0.5 q-2-1.5 -1.5-1.5q 1,0 4.5,3q 4,3 5.5,7.5l 17.5,17.5l 92.5-131.5q 1-4.5 3.5-7q 4.5-4.5 11.5-4.5q 6.5,0 11.5,4.5q0,0.5 0.5,1.25l 0.5,0.75l 44.5,36l 120-159.5\nq 4-11 15-11l 0.5,0 q 6.5,0 11,4.5t 4.5,11l0,0.5 l0,384 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taskmanager\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64,416q0,13.5 9.5,22.75t 22.5,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75l0-96 l-80,0 q-8.5,0 -13-7.5l-67-67l0,122.5 l0,0.5 q0,6.5 -4.5,11t-11,4.5\nl-0.5,0 q-11,0 -15-11l-82.5-109.5l-49.5,49q-4.5,7.5 -13,7.5l-48,0 l0,96 zM 416,64l-320,0 q-13,0 -22.5,9.5t-9.5,22.5l0,192 l 42.5,0 l 56-56q 1-2.5 2-3.5q 4.5-4.5 11.5-4.5t 11.5,4.5q 2.5,2.5 3.5,6.5l 65,86.5l0-113.5 l0-0.5 q0-6.5 4.5-11t 11-4.5l 0.5,0 q 8.5,0 13,7.5l 88.5,88.5l 74.5,0 l0-192 q0-13 -9.5-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"error\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,416q 13.5,0 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25zM 256,96\nq-26.5,0 -45.25,18.75t-18.75,45.25l 32,128q0,13.5 9.5,22.75t 22.5,9.25t 22.5-9.25t 9.5-22.75l 32-128q0-26.5 -18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emailforward2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.5,367l-175-174.5l 175-175q 3.5,7.5 3.5,15l0,320 q0,7.5 -3.5,14.5zM 31.5,0.5l 0.5,0 l 448,0 l 0.5,0 l-224.5,224.5zM 3.5,367q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-15l 175,175zM 236.5,250.5q 3,3 7.75,4.5t 8.25,1.5l 3.5,0 q 13,0.5 19.5-6l 35.5-35.5l 169.5,169.5l-0.5,0 l0,1 t 0.25,2t-0.25,3t-1.25,3.75t-2.25,4.25t-4,5l-121.5,104\nq-4,3.5 -14.25,4.25t-21-1.75t-19.25-9.25t-8.5-16.25l0-36 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-128,0 l-0.5,0 l 169.5-169.5zM 224,416.5l 96,0 l0,40.5 q 13,12.5 21.5,4l 74.5-64.5q 5-5 5-12t-5-12l-74.5-64.5q-8.5-8.5 -21.5,4l0,40.5 l-96,0 q-13.5,0 -22.75,9.25t-9.25,22.5t 9.5,22.75t 22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spam2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 362,512l-212,0 l-150-150l0-212 l 150-150l 212,0 l 150,150l0,212 zM 288,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,224 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-224 zM 288,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-331.5 q 36.5,19.5 105,31.5t 151,12t 151-12t 105-31.5l0,331.5 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 448,193q-30,14 -81,22.5t-111,8.5t-111-8.5t-81-22.5l0,207 q0,20 56.25,34t 135.75,14t 135.75-14t 56.25-34l0-207 zM 288,416l-64,0 \nq-10.5,0 -19-6.25t-11.5-16.25q 4.5-9.5 14.5-9.5l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 10.5,0 19,6.25t 11.5,16.25q-4.5,9.5 -14.5,9.5l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,48 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,128q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25t 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25t 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"boxtrapper\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 288,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,224q0-13 -9.5-22.5t-22.5-9.5l-64,0 l0-112 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,112 l-64,0 \nq-13.5,0 -22.75,9.5t-9.25,22.5l0,192 q0,13.5 9.25,22.75t 22.75,9.25l 96,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 96,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 zM 368,416l-80,0 l0-160 l 96,0 l0,144 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,416l-80,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-144 l 96,0 \nl0,160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webmail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 333.5,256l 138-138q 40.5,63.5 40.5,138t-40.5,138zM 59.5,92q 36-43 87.25-67.5t 109.25-24.5t 109.25,24.5t 87.25,67.5l-196.5,196.5zM 40.5,394q-40.5-63.5 -40.5-138t 40.5-138l 138,138zM 201,278.5l 35.5,36q 3,2.5 7.75,4t 8.25,1.5l 3.5,0 q 13,0.5 19.5-5.5l 35.5-36l 141.5,141.5q-36,43 -87.25,67.5t-109.25,24.5\nt-109.25-24.5t-87.25-67.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mailbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,128l0,352 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-32 l-32,0 l0,32 q0,13 -9.25,22.5t-22.75,9.5l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-288 q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25l0,192 l 32,0 l0-352 q0-13.5 9.5-22.75t 22.5-9.25l 32,0 q 13.5,0 22.75,9.25\nt 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 320,192q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5l0,240 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-240 zM 256,384l-128,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shortcut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.5-22.5t-22.5-9.5l-224,0 q-8,0 -16,4t-12,8l-4,4l 71.5,72q-32,17.5 -61.25,42t-53.5,54.25t-38.5,65.25\nt-14.25,70.5q0,3.5 -0.25,10.25t-0.25,12t 0.5,9.75q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75q 9.5-42.5 42.5-74t 79.5-48.25t 103-20.75l 79,79q 0.5,0 4.25-4t 7.75-12t 4-16l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lang\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,256q0-52 -25.75-96.25t-70-70t-96.25-25.75q-48.5,0 -90,22.5t-68,61l 30,30q 0.5,15 -9,14.5l-101-1q-6,0 -11.75-5.75t-5.75-11.25l-0.5-101q-0.5-9.5 14-9l 38,37.5q 35.5-47 89-74.25t 115-27.25q 52,0 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l-64,0 zM 192.5,368\nq0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-176 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,176 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-72 q0-3.5 -2.5-5.75t-5.5-2.25l-112,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,72 zM 200.5,256l 112,0 q 3,0 5.5-2.25t 2.5-5.75\nl0-56 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,56 q0,3.5 2.25,5.75t 5.75,2.25zM 256.5,448q 48.5,0 90-22.5t 68-61l-30-30q-0.5-15 9-14.5l 101,1q 6,0 11.75,5.75t 5.75,11.25l 0.5,100.5q 0.5,10 -14,9.5l-38-37.5q-35.5,47 -89,74.25t-115,27.25q-52,0 -99.5-20.25\nt-81.75-54.5t-54.5-81.75t-20.25-99.5l 64,0 q0,52 25.75,96.25t 70,70t 96.25,25.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"theme\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-332 l0-52 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,135.5 l0,248.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,88q0-23 -16.5-39.5t-39.5-16.5l-336,0 q-23,0 -39.5,16.5t-16.5,39.5l0,79 l 0.25,0.25l 0.75,0.75q-1,4.5 -1,8q0,20 14,34\nt 34,14q 48,0 48-49q-0.5-20 -14.5-33.5q-1.5-8 -1.5-13.5q0-10.5 15.25-21.25t 32.75-10.75q 18,0 33,10.25t 15,21.75q0,6.5 -1,13.5q-15,14 -15,34.5q0,20 14,34t 34,14q 15,0 27-8.25t 17.5-21.75q 19,5 34.5,24.5t 24.5,44.5q-10.5,6.5 -17,17.25t-6.5,23.75q0,20 14,34t 34,14t 34-14t 14-34\nq0-13 -6.25-23.75t-17.25-17.25q 12.5-30 37-50.5t 50.5-20.5l0-104 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"contact\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,320 q0,13.5 -9.5,22.75t-22.5,9.25zM 176,307l0-8.5 q 48-19 48-106.5q0-31.5 -22.25-47.75t-57.75-16.25t-57.75,16.25t-22.25,47.75q0,85 48,106l0,9 q-35,6 -57.25,22.5t-22.75,37.5q0,6 10.75,9.75\nt 31.5,5.25t 34.25,1.75t 35.5,0.25t 35.5-0.25t 34.25-1.75t 31.5-5.25t 10.75-9.75q-0.5-21 -23-37.5t-57-22.5zM 464,128l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 320,240q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25\nt-4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 464,320l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"password2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,513l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-320 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,385l0-32 l0-96 l0-32 l0-64 q0-13 -9.25-22.5t-22.75-9.5l-352,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 l0,32 l0,96 l0,32 l0,32 q0,13 9.25,22.5\nt 22.75,9.5l 352,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-32 zM 432,417l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l 64,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,257l 64,0 l0,96 l-64,0 l0-96 zM 384,177q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM 288,353l0-96 l 64,0 l0,96 l-64,0 zM 288,177\nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 7,0 11.5,4.75t 4.5,11.25l0,48 l-64,0 l0-48 zM 192,353l0-96 l 64,0 l0,96 l-64,0 zM 192,177q0-6.5 4.5-11.25t 11.5-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM 96,353l0-96 l 64,0 l0,96 l-64,0 zM 96,177q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 z\nM 160,401q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l 64,0 l0,16 zM 256,385l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-7,0 -11.5-4.75t-4.5-11.25l0-16 l 64,0 zM 352,385l0,16 q0,6.5 -4.5,11.25t-11.5,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l 64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"password\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 480,336q0-6.5 -4.75-11.25t-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 384,448\nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25t 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 288.25,448q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25t 9.25,22.5t-9.25,22.75t-22.5,9.5zM 192,448q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25t 22.75,9.25t 9.25,22.5\nt-9.25,22.75t-22.75,9.5zM 96,448q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25t 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 480,224l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 q0,13 -9.5,22.5t-22.5,9.5zM 480,48q0-6.5 -4.75-11.25\nt-11.25-4.75l-416,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 416,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 80,160q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"video2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l0-32 l-320,0 l0,32 l-96,0 l0-480 l 96,0 l0,32 l 320,0 l0-32 l 96,0 l0,480 l-96,0 zM 64,64l-32,0 l0,32 l 32,0 l0-32 zM 64,128l-32,0 l0,32 l 32,0 l0-32 zM 64,192l-32,0 l0,32 l 32,0 l0-32 zM 64,256l-32,0 l0,32 l 32,0 l0-32 zM 64,320l-32,0 l0,32 l 32,0 l0-32 zM 64,384l-32,0 l0,32 l 32,0 l0-32 zM 64,448l-32,0 l0,32 l 32,0 l0-32 zM 416,96l-320,0 l0,352 l 320,0 l0-352 z\nM 480,64l-32,0 l0,32 l 32,0 l0-32 zM 480,128l-32,0 l0,32 l 32,0 l0-32 zM 480,192l-32,0 l0,32 l 32,0 l0-32 zM 480,256l-32,0 l0,32 l 32,0 l0-32 zM 480,320l-32,0 l0,32 l 32,0 l0-32 zM 480,384l-32,0 l0,32 l 32,0 l0-32 zM 480,448l-32,0 l0,32 l 32,0 l0-32 zM 192,352l0-160 l 128,80z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wizard\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,502q-9.5,9.5 -22.5,10t-22-8.5l-321-321.5q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 321,321.5q 9,9 8.5,22t-10,22.5zM 472.5,127.5l-40-23l-39.5,23l 8.5-46.5l-33-32.5l 45-6l 19-43l 19.5,43l 45,6l-33,32.5zM 73.5,119l-64.5-65q-9-9 -8.5-22t 10-22.5t 22.5-10t 22,8.5l 64.5,65q 9,9 8.5,22\nt-10,22.5t-22.5,10t-22-8.5zM 61,234.5l 19.5-43l 19,43l 45,6l-33,32.5l 8.5,47l-39.5-23l-40,23l 8.5-47l-32.5-32.5zM 189,427l 19.5-43l 19,43l 45,5.5l-33,33l 8.5,46.5l-39.5-23l-39.5,23l 8.5-46.5l-33-33z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"socialnetworking\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512q-43.5,0 -80.5-17.25t-58.25-46.75t-21.25-64.25t 21.25-64.25t 58.25-46.5t 80.5-17q 18,0 36.5,3.5q 10.5-17 25.25-34t 24.75-25l 9.5-8.5l0,89.5 q 29.5,18 46.75,44.75t 17.25,57.75q0,34.5 -21.5,64t-58.25,46.75t-80.25,17.25zM 336,224q-66.5,0 -107,26t-57.5,69.5q-22-2 -44-9\nq-10.5,18.5 -26.5,37t-26.5,27.5l-10.5,9l0-104.5 q-30-22.5 -47-53.5t-17-66q0-43.5 25.75-80.25t 70-58.25t 96.5-21.5t 96.5,21.5t 69.75,58.25t 25.5,80.25q0,34 -16,64.5q-15-0.5 -32-0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resellerhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 160,0 l0-19 q-42-8 -69-34t-27-59l0,0 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5t 8.75,24t 23.25,17.5l0-92.5 q-42-8 -69-34t-27-59t 27-59t 69-34l0-3 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,3 q 42,8 69,34t 27,59l0,0 \nl0,0 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.5t-9.25-22.5t-8.75-24t-23.25-17.5l0,92.5 q 42,8 69,34t 27,59t-27,59t-69,34l0,19 l 160,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 224,86.5q-14.5,6.5 -23.25,17.5t-8.75,24t 8.75,24t 23.25,17.5l0-83 zM 95.75,416\nq-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 320,272q0-13 -8.75-24t-23.25-17.5l0,83 q 14.5-6.5 23.25-17.5t 8.75-24zM 416,416l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"greenhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 162,225q 27.5,15.5 78,38.25t 93.25,44t 70.25,41.25q 79.5,58.5 108.5,99.5l-64,64q-32-64 -69-108q-93,76.5 -197,19q-38.5-21 -67.5-45.75t-48.25-47t-32.25-56t-19.75-57.25t-10-67.25t-3.75-69.75t-0.5-80q 23,25.5 54.5,40.5t 64,20.25t 67.75,8t 69.5,8t 65.75,16t 60,36.25\nt 49,64.5q 17.5,34.5 17.5,78.5q0,28.5 -9.5,54q-40-24 -105.25-56t-120.5-60t-84.75-50q-27-20 -54-55.5q-7.5-9.5 -9-6q-1,3.5 -1,29.5q0,15.5 25.5,39.5t 72.5,57.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"managedhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 95.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 416,416l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.75\nt 9.25,22.5t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 400,224l-20,0 q-4.5,17.5 -14.5,34l 9.5,9.5q 9,9 9,21.75t-9,21.75t-21.75,9t-21.75-9l-9.5-10q-16.5,10 -34,14.5l0,20.5 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-20.5 q-17.5-4.5 -34-14.5l-10,10\nq-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 10-10q-10-16 -14.5-33.5l-20,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 20,0 q 4.5-17.5 14.5-34l-10-10q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 10,10.5q 16.5-10 34-14.5l0-20.5 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,20.5 q 17.5,4.5 33.5,14l 10-10\nq 9-9 21.75-9t 21.75,9t 9,21.75t-9,21.75l-10,9.5q 10.5,17 15,34.5l 20,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 256,128q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sharedhosting\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 160,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 160,0 l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25\nt 9.5,22.75l0,32 l 160,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75l-160,0 l0,64 l 160,0 zM 95.75,384q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 95.75,128q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25\nt 9.5-22.5t-9.5-22.75t-22.75-9.5zM 416,192q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 192,0 zM 224,384q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25l 192,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5l-192,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cms\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l0-64 q0-7 -4.75-11.5t-11.25-4.5l-47,0 q-4.5-8.5 -10-16.5l 23-40q 3-5.5 1.5-12t-7.5-10l-82-48q-6-3 -12.25-1.25t-9.75,7.25l-23,41q-1,0 -4-0.25t-4.75-0.25t-5,0.25t-4.25,0.25l-23-41q-3.5-5.5 -9.75-7.25t-12.25,1.25l-82,48q-6,3.5 -7.5,10t 1.5,12l 23,40q-5.5,8 -9.5,16.5l-47.5,0 \nq-6.5,0 -11.25,4.5t-4.75,11.5l0,64 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13.5 9.25-22.75t 22.75-9.25l 240,0 l 23-42.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.25l 24.5,42.5l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 23,21.5q 3.5-9 14-15.25t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.25l 24,42.5l-240,0 \nzM 112,336l 54,0 q 6-17.5 19-32l-23-41.5q-3.5-5.5 -1.75-11.75t 7.25-9.75l 26-15.5q 5.5-3 11.5-1.25t 9,7.25l 24,42q 10-1.5 18-1.5q 8.5,0 18,1.5l 24-42q 3-5.5 9-7.25t 11.5,1.25l 26.5,15.5q 5,3.5 6.75,9.75t-1.25,11.75l-23.5,41.5q 13,14.5 19,32l 54,0 q 6.5,0 11.25,4.5t 4.75,11.5l0,32 q0,6.5 -4.75,11.25t-11.25,4.75\nl-54,0 q-6,17 -19,31.5l 23.5,41.5q 3,6 1.25,12t-6.75,9.5l-26.5,15.5q-5.5,3 -11.5,1.5t-9-7.5l-24-42q-9.5,2 -17.75,2t-18.25-2l-24,42q-3,6 -9,7.5t-11.5-1.5l-26-15.5q-5.5-3.5 -7.25-9.5t 1.75-12l 23-41.5q-13-14.5 -19-31.5l-54,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-7 4.75-11.5t 11.25-4.5zM 256.25,400\nq 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"shoppingcart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 484.5,64l-38,0 l-61,297.5q-2.5,9.5 -10.75,16t-17.25,6.5l-273.5,0 q-9.5,0 -17.75-6.5t-10.75-16l-49-188.5q-5-18 1.5-31.5t 20-13.5l 354.5-61.5l 9-44.5q 2.5-9 10.75-15.5t 17.25-6.5l 65,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5zM 148.5,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34\nt 34-14zM 308.5,416q 20,0 34,14t 14,34t-14,34t-34,14t-34-14t-14-34t 14-34t 34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"websitebuilder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,128q-1.5,52 -38.75,90t-89.25,38q-14.5,0 -30-4q 4,15.5 16.75,25.75t 29.25,10.25l 48,48l 41,42.5q 23,23 23,55.25t-23,55t-55.25,22.75t-55.25-22.5l-42.5-41l-48-48q0-20 -14-34t-34-14l-3.5-3.5l0-0.5 l-123.5,159.5q-5,4.5 -43.25,4.5t-42.75-4.5l-22.5-22q-4.5-5 -4.5-43.25t 4.5-43.25\nl 210-162.5l-108-108.5l-58.5,0 l-48-96l 32-32l 96,48l0,58 l 111,111.5l 33-25.5q0-0.5 0.5-0.5l 0.5,0 q-17-30 -17-63.5q0-52 37.75-89.5t 90.25-38.5l0,0 l0,19 l-41,39q-23,23 -23,55.25t 23,55.25t 55.5,23t 55.5-23l 38.5-40.5l 19.5,0 l0,0 zM 64,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5\nt 9.25-22.75t-9.25-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webpage\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,272q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-160 zM 480,160l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-96 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,96 q0,13.5 -9.25,22.75t-22.75,9.25zM 128,512l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 96,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"price\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,340.5l-162.5,162.5q-9,9 -22.25,9t-22.25-9l-287-287q-9-9 -9-39.5l0-144 q0-13.5 9.5-22.75t 22.5-9.25l 144,0 q 31,0 40,9l 287,286.5q 9,9.5 9,22.5t-9,22zM 128,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webhostinghub\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,416q-21,0 -41-9.5q-52.5,41.5 -119,41.5q-19.5,0 -39-4q-37.5,36 -89,36q-53,0 -90.5-37.5t-37.5-90.5q0-35 17.5-64.75t 47.5-46.25q 3.5-49 29.75-89.5t 69-64t 92.25-23.5q 72,0 126,47.5t 64,117.5q 29,10 47.5,34.75t 18.5,56.25q0,40 -28,68t-68,28zM 256,96q-58.5,0 -102.75,37.5\nt-54.75,94q 15-3.5 29.5-3.5q 53,0 90.5,37.5t 37.5,90.5q0,33.5 -16.5,63q 8.5,1 16.5,1q 50.5,0 91.5-29q-27.5-28 -27.5-67t 27-66.75t 66-28.75q-11.5-55.5 -55.5-92t-101.5-36.5zM 272,224q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uni0430\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,483l-23.5,24q-5,4.5 -12,4.5t-12-4.5l-75.5-76q-30,17 -64,17q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,34 -17,63.5l 76,76q 5,5 5,11.75t-5,11.75zM 320.25,224q-39.75,0 -68,28t-28.25,67.75t 28.25,68t 68,28.25t 67.75-28.25t 28-68\nt-28-67.75t-67.75-28zM 352,163l0-3 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 23,9.25t 9.5,22.75l0,160 l-0.5,0 q0-57.5 -36.25-101.75t-91.75-55.25zM 192,224l0-128 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q-38.5,0 -72,17.25t-56,46.75zM 192,415.5q 22.5,30 56,47.25t 72,17.25\nl 32,0 q0,13 -9.25,22.5t-22.75,9.5l-288,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25l0-416.5 q0-13 9.5-22.5t 22.5-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 l0,0.5 l0,128 l 32,0 l0-32.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"barchart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,479.75q0,13.25 -9.5,22.75t-22.5,9.5l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.75t 9.25-22.75t 22.75-9.25l0-160 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13,0 22.5,9.25t 9.5,22.75l0,160 l 32,0 l0-416 q0-13.5 9.25-22.75t 22.75-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,416 l 32,0 l0-288 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 \nq 13.5,0 22.75,9.25t 9.25,22.75l0,288 q 13.5,0 22.75,9.25t 9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"security2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-42-21 -76-44.5t-59.5-45t-44.75-51t-32-51.25t-21.25-57.25t-13-58.25t-6.75-65.25t-2.5-66.5t-0.25-73q0,13 37.5,22.5t 90.5,9.5t 90.5-9.5t 37.5-22.5q0,13 37.5,22.5t 90.5,9.5t 90.5-9.5t 37.5-22.5q0,49 -0.25,73t-2.5,66.5t-6.75,65.25t-13,58.25t-21.25,57.25t-32,51.25t-44.75,51\nt-59.5,45t-76,44.5zM 256,64l0,0 q0,13 -28.25,22.5t-67.75,9.5q-27,0 -53.5-4.5t-42.5-12q0,39.5 1,63.5t 4.75,57.25t 11.25,54.75t 21.5,48.5t 34.25,47t 50.25,41.5t 69,40l0-368 l0,0 zM 256,0l0,0 l0,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"security\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-38-19 -69.25-38t-55.75-40.25t-43.25-39t-32.5-43t-23.25-43t-15.5-48.5t-9.5-49.5t-5-55.75t-1.75-58t-0.25-65q 122-32 256-32q 133.5,0 256,32q0,44 -0.25,65.25t-1.75,58t-5,55.75t-9.5,49.5t-15.5,48.25t-23.25,43t-32.5,43t-43.25,39t-55.75,40.25t-69.25,38zM 64,87\nq0,44.5 0.5,65.75t 4,56.25t 10.75,53.5t 20.75,45t 34,44.75t 51,39.25t 71,40.5q 40.5-19.5 71-40.5t 51-39.25t 34-44.75t 20.75-45t 10.75-53.5t 4-56.25t 0.5-65.75q-91.5-23 -192-23t-192,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ram\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,128 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,208q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-48 zM 288,208q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 l0,80 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-80 l 32,0 l0,80 q0,6.5 4.75,11.25\nt 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 224,224l 32,0 l0,32 l-32,0 l0-32 zM 96,224l 32,0 l0,32 l-32,0 l0-32 zM 416,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 352,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 288,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75\nt 4.75,11.25l0,80 l-32,0 l0-80 zM 224,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 160,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 96,16q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l-32,0 l0-80 zM 128,496q0,6.5 -4.75,11.25t-11.25,4.75\nt-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 192,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 256,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 320,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 384,496\nq0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 zM 448,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l 32,0 l0,80 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"home2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,277.75q-9.75,9.75 -23.5,9.75t-23.25-9.5l-7.5-7.5l0,209.5 q0,13 -9.25,22.5t-22.75,9.5l-320,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-209.5 l-7.5,7.5q-9.5,9.5 -23.25,9.5t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-222q 8-8 19.25-9.25t 20.75,4.75q 4,0 9,4.5l 222,222q 9.5,9.5 9.5,23.25t-9.75,23.5z\nM 384,206.5l-128-128l-128,128l0,241.5 l 256,0 l0-241.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hdd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 416,368q0-16 -9.5-28.5t-24.5-17q 34-43.5 34-98.5q0-43.5 -21.5-80.25t-58.25-58.25t-80.25-21.5t-80.25,21.5t-58.25,58.25t-21.5,80.25\nq0,55 34,98.5q-15,4.5 -24.5,17t-9.5,28.5l0,32 q0,20 14,34t 34,14l 224,0 q 20,0 34-14t 14-34l0-32 zM 256,288q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ftp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l-160,0 l0,64 l 64,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.5-22.75t 22.5-9.5l 64,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 q0-13 9.5-22.5t 22.5-9.5l 240,0 l 23-42q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14,15.75l 24.5,42l0,224 \nq0,26.5 -18.75,45.25t-45.25,18.75zM 221,237l-67.5-72.5q-4-4.5 -9.5-4.5t-9.5,4.5l-67.5,72.5q-4,4.5 -2.5,11.75t 5.5,7.25l 26,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 26,0 q 4,0 5.5-7.25t-2.5-11.75zM 442,224l-26,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25l0,48 l-26,0 q-4,0 -5.5,7.25t 2.5,11.75l 67.5,72.5q 4,4.5 9.5,4.5t 9.5-4.5l 67.5-72.5q 4-4.5 2.5-11.75t-5.5-7.25zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"email\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,288.5l-224.5-224.5l 0.5,0 l 448,0 l 0.5,0 zM 3.5,430.5q-3.5-7 -3.5-14.5l0-320 q0-7.5 3.5-14.5l 175,174.5zM 236.5,314.5q 3,2.5 7.75,4t 8.25,1.5l 3.5,0 q 13,0.5 19.5-5.5l 35.5-36l 169.5,169.5l-0.5,0 l-448,0 l-0.5,0 l 169.5-169.5zM 508.5,81.5q 3.5,7 3.5,14.5l0,320 q0,7.5 -3.5,14.5l-175-174.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"servers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,416.25q0,13.25 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75zM 480,48q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,144q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,240q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,512l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 32,416.25q0,13.25 9.25,22.5t 22.75,9.25\nt 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75zM 192,48q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,144q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 192,240q0-6.5 -4.75-11.25t-11.25-4.75l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"server\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-256,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 256.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 384,48q0-6.5 -4.75-11.25t-11.25-4.75\nl-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,144q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,240q0-6.5 -4.75-11.25t-11.25-4.75\nl-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vps\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,192l-160,0 l0,64 l 192,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 192,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-64 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,64 q0,26.5 -18.75,45.25t-45.25,18.75z\nM 96,64q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 416,64l-192,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 192,0 q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 256,384q 52,0 96.25,8.5t 70,23.25t 25.75,32.25t-25.75,32.25\nt-70,23.25t-96.25,8.5t-96.25-8.5t-70-23.25t-25.75-32.25t 25.75-32.25t 70-23.25t 96.25-8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"colocation3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,128q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 q0,13.5 9.25,22.75t 22.75,9.25l0-32 q0-13 9.25-22.5t 22.5-9.5\nt 22.75,9.5t 9.5,22.5l0,32 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 zM 448,256q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.25t-9.25,22.75l0,32 q0,13.5 9.25,22.75t 22.75,9.25l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 zM 448,384q0-13 -9.5-22.5t-22.5-9.5l-320,0 \nq-13.5,0 -22.75,9.25t-9.25,22.75l0,32 q0,13.5 9.25,22.75t 22.75,9.25l0-32 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,32 l 256,0 q 13,0 22.5-9.25t 9.5-22.75l0-32 zM 400,416l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,288\nl-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,160l-192,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 192,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"colocation2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 448,96q0-13 -9.5-22.5t-22.5-9.5l-320,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13,0 22.5-9.25t 9.5-22.75\nl0-320 zM 384,416l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 159.75,320q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 368,352l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,224l-256,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.5,22.75t-22.5,9.25zM 159.75,128q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25\nt 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 368,160l-128,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"link\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 494.5,410l-84.5,84.5q-17,17.5 -41.75,17.5t-42.25-17.5l-84.5-84.5q-16-16 -17-38.75t 13-40.25l 107,107.5q 10,9.5 23.75,9.5t 23.25-9.5l 47-47q 9.5-9.5 9.5-23.25t-9.5-23.75l-107.5-107q 17.5-14 40.25-13t 38.75,17l 84.5,84.5q 17.5,17.5 17.5,42.25t-17.5,41.75zM 170.5,170.5q 9.5-9.5 22.5-10t 22,8.5l 128.5,129\nq 9,8.5 8.5,21.75t-10,22.75t-22.5,9.75t-22-8.25l-128.5-129q-9-9 -8.5-22t 10-22.5zM 167.5,74q-9.5-10 -23.25-10t-23.75,10l-46.5,46.5q-10,10 -10,23.75t 10,23.25l 107,107q-17.5,14 -40.25,13t-38.75-17l-84.5-84.5q-17.5-17.5 -17.5-42.25t 17.5-42.25l 84.5-84q 17-17.5 41.75-17.5t 42.25,17.5l 84.5,84\nq 16,16.5 17,39.25t-13,40.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firewall\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 478.5,461.5q-19,19 -42,34.75t-36.5,15.75q 18-28.5 19-70.75t-19-57.25q-16-10.5 -26.75-28t-14.75-35.25t-5.75-33.75t-1.25-26l 0.5-10.5q-3,4 -8.5,10.25t-19.25,25t-24.25,36t-19.25,39.25t-8.75,39q0,37 11.25,61.5t 36.75,50.5q-23.5,0 -49.25-9.5t-43.25-28q-10.5-11 -22.5-45t-13-61.5\nq-1.5-33.5 11.25-74.75t 36.75-78.25q 18-26.5 42.5-52t 47-42.5t 42.5-30.5t 32-19.5l 12-6.5q-1.5,2 -3.5,6.25t-6.5,17.25t-6.75,26.5t-1.75,33.5t 6,39.25t 19.25,42.5t 34.75,44.75q 25,25 39.75,54.75t 14.75,57.25q0,17 -8.25,37.75t-25.25,37.75zM 256,96l0-64 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 10.5,0 19.5,7\nq-81.5,46 -158.5,119q-9.5-3.5 -15.25-11.75t-5.75-18.25zM 165,305.5q-5-8 -5-17.5l0-96 q0-13 9.5-22.5t 22.5-9.5l 51,0 q-19.5,20.5 -35,39q-30.5,37 -43,106.5zM 192,128l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.5-22.5t 22.5-9.5l 160,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25z\nM 32,160l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,96 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-13 9.5-22.5t 22.5-9.5zM 32,352l 128,0 q-0.5,11.5 0,20q 1,28 13.25,68t 22.25,50.5q 6.5,7 15.5,15q-8.5,6.5 -19,6.5l-160,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-13 9.5-22.5t 22.5-9.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"amd\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,507.5l-123.5-123.5l0-240 q0-6.5 -4.75-11.25t-11.25-4.75l-240,0 l-123.5-123.5q 5-4.5 11.5-4.5l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.5,11.5zM 128,368q0,6.5 4.75,11.25t 11.25,4.75l 208,0 l-128,128l-208,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-208 l 128-128l0,208 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"intel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,418l0-83 q 30-24.5 47-57.5t 17-69.5q0-62.5 -45.5-112.25t-114.5-63.75l0-32 q 62.5,7 113.75,38.25t 80.75,80.5t 29.5,105.25q0,61 -34.75,112.5t-93.25,81.5zM 240,384q-20,0 -34-14t-14-34l0-192 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,224 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 240,64l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 32,240q0,56.5 27.75,104.5t 75.75,75.75t 104.5,27.75q 60.5,0 112-33l0,78 q-46.5,19 -96,19q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5\nq0-71 36.25-130.75t 96.25-93.25l 27.5,0 l0,32 q-59.5,24.5 -93.75,69t-34.25,107z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"affiliate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,239q0,6 -10.75,9.75t-31.5,5.25t-34.25,1.75t-35.5,0.25t-35.5-0.25t-34.25-1.75t-31.5-5.25t-10.75-9.75q 0.5-21 23-37.5t 57-22.5l0-10 q-48-21 -48-105q0-31.5 22.5-47.75t 57.75-16.25t 57.5,16.25t 22.25,47.75q0,86.5 -48,105.5l0,9.5 q 35,6 57.25,22.5t 22.75,37.5zM 112,256q-22,0 -35.5-0.25\nt-34.25-1.75t-31.5-5.25t-10.75-9.75q 0.5-21 22.75-37.5t 57.25-22.5l0-10 q-48-21 -48-105q0-31.5 22.25-47.75t 57.5-16.25t 57.75,16.25t 22.5,47.75q0,86.5 -48,105.5l0,9.5 q 34.5,6 57,22.5t 23,37.5q0,6 -10.75,9.75t-31.5,5.25t-34.25,1.75t-35.5,0.25zM 95.75,288q 13.25,0 22.75,9.25t 9.5,22.75l0,112 \nq0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-112 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-256,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-128 q0-13.5 9.25-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domain3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 429,385.5q 15.5-47 19.5-97l 63.5,0 q-6.5,51 -33,97l-50,0 zM 429,127l 50,0 q 26.5,46 33,97l-63.5,0 q-4-50 -19.5-97zM 375,27.5q 27.5,14.5 51,35l-26,0 q-12-20 -25-35zM 288.5,224l0-97 l 79,0 q 13.5,45.5 16.5,97l-95.5,0 zM 288.5,6.5q 29.5,15 52.5,56l-52.5,0 l0-56 zM 144.5,385.5q-13.5-45.5 -16.5-97l 95.5,0 l0,97 l-79,0 z\nM 144.5,127l 79,0 l0,97 l-95.5,0 q 3-51.5 16.5-97zM 223.5,6.5l0,56 l-52.5,0 q 23-41 52.5-56zM 86,62.5q 23.5-20.5 51-35q-13,15 -25,35l-26,0 zM0,224q 6.5-51 33-97l 50,0 q-15.5,47 -19.5,97l-63.5,0 zM 83,385.5l-50,0 q-26.5-46 -33-97l 63.5,0 q 4,50 19.5,97zM 112,450q 12,20 25,35q-27.5-14.5 -51-35l 26,0 z\nM 223.5,450l0,56 q-29.5-15.5 -52.5-56l 52.5,0 zM 288.5,288.5l 95.5,0 q-3,51.5 -16.5,97l-79,0 l0-97 zM 341,450q-23,40.5 -52.5,56l0-56 l 52.5,0 zM 426,450q-23,20.5 -51,35q 13-15 25-35l 26,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domain2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 440.5,161q-5-1 -7.5-1q-18.5,0 -32,12.5q-30.5-13.5 -57-22q-43.5-14 -91-23q-4.5-12 -13.5-20q 12.5-59 33.5-107q 63,4.5 115.75,36.5t 85.25,84q-18.5,20 -33.5,40zM 208.5,96q-13,0 -24.5,7q-40.5-30 -81.5-51q 62-47 139-51.5q-19.5,43.5 -31.5,95.5l-1,0 l-0.5,0 zM 35,127q 17-28.5 43-54q 34,17.5 70.5,43\nq-64.5-1.5 -113.5,11zM 160.5,147q 1,15.5 10.75,27.25t 24.25,15.75q-3,35 -3,66.5q0,22 1.5,50.5q-11,3.5 -19.5,12q-27-10.5 -52-24q 5.5-11 5.5-22.5q0-20 -14-34t-34-14q-22,0 -36.5,17q-21-19 -37.5-39.5q 4.5-21.5 13.5-42.5q 61-17 141-12.5zM 32.5,276.5q 1.5,18.5 15.25,31.25t 32.25,12.75q 5.5,0 12-2\nq 32,18.5 68.5,32l0,1 l0,1 q0,19.5 13.25,33.25t 32.75,14.75q 12.5,61 35,111.5q-50-3 -94.5-24.25t-76.75-55.25t-51.25-80t-19-96q0-0.5 0.5-13.5q 14,17.5 32,33.5zM 250.5,375q 36,6.5 72.5,8.5q 3.5,10 11,18.5q-11.5,52.5 -14,102q-25.5,6.5 -47,8q-23.5-53.5 -36.5-121q 9-6 14-16zM 405.5,399\nq 6.5-8 9-17q 36.5-3 70.5-9.5q-24,47 -66,81.5q-4.5-26 -13.5-55zM 324,351.5q-35-2 -69-9q-5.5-25 -28.5-34.5q-2-29.5 -2-51.5q0-33 3-68.5q 1,0 2.5-1t 2-1q 19.5,19 34,35q 43.5,48 74,109q-11,8.5 -16,21.5zM 368.5,416.5q 1,0 5.5-0.5q 8.5,30.5 12.5,60.5q-14.5,8.5 -35,17q 3.5-39 12-77.5q 4,0.5 5,0.5z\nM 366,297q-0.5,1 -1.25,3t-1.25,3q-31.5-57 -74-103.5q-15.5-17.5 -37-38q 0.5,0 0.75-0.75l 0.25-0.75q 42,8.5 80.5,21q 23.5,7.5 51.5,20q-1,5 -1,7.5q0,15 9,27.5q-16.5,31.5 -27.5,61zM 389.5,326q 6-17.5 6-18q 10-25 25-53.5q 6.5,2 12.5,2q 17,0 30.5-11.5q 24.5,17 48,38q-3,28.5 -12,55\nq-41,8.5 -86.5,12q-6.5-16 -23.5-24zM 481,208q0-16.5 -11-30q 10.5-13.5 21-24.5q 18,41 21,84.5q-16.5-12.5 -32-22.5q 1-4.5 1-7.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 438,201q 0.5,1 1.75,3.25t 1.75,3.75q0-0.5 -0.75-3.75t-1.25-5.25zM 245.5,64.5\nq 0.5,0 0.75,0.25t 0.75,0.25l0,19 l-13,0 q-8-1.5 -11.5-2q 1-2.5 2.75-7.75t 2.75-7.75q-66.5,9.5 -112.5,59l 7,0 l 12,10.5l 12,10.5l0,11 q-11,4.5 -32.5,13.5t-31.5,13q-1.5,11.5 -5,34.75t-5.5,34.75q 29,31.5 29.5,32q-1.5,1 -4.5,2.75t-3.5,2.25l-26,0 q 12,68 65.25,112.75t 123.25,44.75q 32.5,0 64.5-11.5q-25.5-1.5 -70-4\nq-7-10.5 -21.25-32t-21.25-32q 5.5-10.5 16.5-31.75t 16.5-32.25q 0.5,0 1.75-1.5t 2.25-2.5q 27-24 42.5-37.5q 11,2 44.5-3.75t 44.5-3.75q 2,0.5 2,9.25t 1.75,17t 7.75,7.75q 35.5-3.5 56.5,2.5q 3.5-18.5 3.5-36q0-15 -3-32q-35.5-30.5 -53.5-46l-18.5,0 q-0.5,4 -2,11.5q 20,14 35.5,24.5l-12.25,12.25l-12.25,12.25q-4-7 -15.5-25.75t-17.5-28.75\nq-3.5,1 -10.5,2.75t-10,2.75q-1.5,1 -4.75,3t-4.75,2.5q 1,6 3,17.25t 2.5,14.75q-2,3 -6.25,8t-4.75,5.5q-16.5-7.5 -53.5-24.5l-2-6l0-16.5 q 7-2 20.5-5.75t 20.5-5.75q-1-1.5 -20.5-43.5q 4-6 7.5-11q 2-0.5 27-2.5t 37.5-3.5l0-24.5 q 6-1.5 7.5-2q 0.5,3 1,8.75t 1,8.25q 14.5-0.5 21.5-1q-16-14 -33.5-23.5q-16,1.5 -19.5,2l-2-2\nq 1.5-5 2.5-9q-24-10 -50.5-13q 1.5,7 4.75,19.75t 4.25,17.75q-8.5,3 -11,3.5q 2.5,1.5 3.5,2q-0.5,0 -6.75,0.75t-9.75,1.25q 1.5-9 4.75-26.25t 3.75-19.25q-10-1 -16-1q-1.5,0 -10.5,0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"linux\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-176,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 112,0 q 13,0 22.5-9.5t 9.5-22.5l0-256 q0-13.5 -9.5-22.75t-22.5-9.25l-256,0 q-13,0 -22.5,9.25t-9.5,22.75l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-80 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 \nq 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 16,192l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,176 q0,13 9.5,22.5t 22.5,9.5l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-144,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-240 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"windows\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,512l0-224 l 224,0 l0,224 l-224,0 zM 288,0l 224,0 l0,224 l-224,0 l0-224 zM0,288l 224,0 l0,224 l-224,0 l0-224 zM0,0l 224,0 l0,224 l-224,0 l0-224 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"value\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,320q-77,0 -137-13.5t-79-34q 68,15.5 152,15.5q 61.5,0 116.75-8.5t 89.25-23.5t 34-32l0-32 l 16,0 q 14.5,3 23.25,12.25t 8.75,19.75l0,32 q0,17.5 -30,32.25t-81.5,23.25t-112.5,8.5zM 256,192q-48.5,0 -89-5.25t-64.5-12.5t-40.75-15.5t-23.25-14.25t-6.5-8.5l0-19.5 q 25.5,19 88,31.25t 136,12.25t 136-12.25\nt 88-31.25l0,11.5 q0,17 -30,31.75t-81.5,23.5t-112.5,8.75zM 256,128q-61,0 -112.5-8.75t-81.5-23.5t-30-32t 30-32t 81.5-23.25t 112.5-8.5t 112.5,8.5t 81.5,23.25t 30,32t-30,32t-81.5,23.5t-112.5,8.75zM 16,160q0,17 34,32t 89.25,23.5t 116.75,8.5q 56,0 107-7.25t 85-19.75q-0.5,1 -1.75,3.25\nt-7.75,8.25t-15.75,11.5t-27,12.5t-40,11.75t-56.75,8.25t-75,3.5q-61,0 -112.5-8.75t-81.5-23.5t-30-31.75l0-32 q0-12 16-23.5l0,23.5 zM 16,328.5l0,23.5 q0,17 34,32t 89.25,23.5t 116.75,8.5q 55,0 105.75-7t 85.25-19.5q-7.5,25 -71.5,41.75t-151.5,16.75q-61,0 -112.5-8.5t-81.5-23.25t-30-32.25l0-32 \nq0-12 16-23.5zM 288,352q 55.5,0 106.25-7.25t 84.75-19.75q-7,25 -71,42t-152,17q-61,0 -112.5-8.5t-81.5-23.25t-30-32.25l0-32 q0-11 14.5-22.5q 7.5,2.5 13,4q-9.5,9.5 -9.5,18.5q0,17 33.5,32t 88.5,23.5t 116,8.5zM 464,416l0-23.5 q 16,11.5 16,23.5l0,32 q0,17.5 -30,32.25t-81.5,23.25t-112.5,8.5\nq-88,0 -152-17t-71-42q 34,12.5 84.75,19.75t 106.25,7.25q 61.5,0 116.75-8.5t 89.25-23.5t 34-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uptime\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 391,222.5q-6,3 -12.5,0t-9.25-9.75t0-13.75t 9.25-9.5l 47.5-21.5\nq-28.5-54.5 -82-82.5l-21.5,48q-2.5,6.5 -9.5,9.25t-13.75,0t-9.75-9.25t0-13l 21.5-48.5q-27-8 -55-8t-55,8l 21.5,48.5q 3,6.5 0,13t-9.75,9.25t-13.75,0t-9.5-9.25l-21.5-48q-53.5,27.5 -82,82.5l 47.5,21q 6,3 8.75,9.75t0,13.75t-9,9.75t-12.75-0.25l-48.5-21q-8,27 -8,55t 8,55\nl 48.5-21q 6.5-3 12.75-0.25t 9,9.75t0,13.75t-8.75,9.75l-47.5,21q 28.5,54.5 82,82.5l 21-48q 3-6 9.75-8.75t 13.75,0t 9.75,9t-0.25,12.75l-21,48.5q 27,8 55,8t 55-8l-21-48.5q-3-6.5 -0.25-12.75t 9.75-9t 13.75,0t 9.75,8.75l 21,48q 54-28 82-82.5l-47.5-21.5q-6.5-2.5 -9.25-9.5t0-13.75\nt 9.25-9.75t 12.5,0l 49,21.5q 8-27 8-55t-8-55zM 256,288q-13.5,0 -22.75-9.25t-9.25-22.75q0-10.5 6.25-19t 16.25-11.5l 121.5-97.5l 8,0 q 3.5,0 5.75,2.25t 2.25,5.75l0,8 l-97.5,121.5q-3,10 -11.5,16.25t-19,6.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"reliability\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 192,512l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 17.5,0 27,15l-115,115.5l-27-27q-7.5-8 -18.5-8t-18.75,7.75t-7.75,18.75t 7.5,19l 43,43\nq 8.5,8.5 21.5,7q 13,1.5 21.5-7l 98.5-98.5l0,106.5 q0,13.5 -9.5,22.75t-22.5,9.25zM 192,224l-160,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-160 q0-13 9.25-22.5t 22.75-9.5l 160,0 q 17.5,0 27,15l-115,115.5l-27-27q-7.5-8 -18.5-8t-18.75,7.75t-7.75,18.75t 7.5,19l 43,43q 8.5,8.5 21.5,7q 13,1.5 21.5-7l 98.5-98.5\nl0,106.5 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,384l 192,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"support3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256q0,52.5 -21,101q 21,26.5 21,59q0,40 -28,68t-68,28q-32.5,0 -59-21q-48.5,21 -101,21t-101-21q-26.5,21 -59,21q-40,0 -68-28t-28-68q0-32.5 21-59q-21-48.5 -21-101t 21-101q-21-26.5 -21-59q0-39.5 28.25-67.75t 67.75-28.25q 32.5,0 59,21q 48.5-21 101-21\nt 101,21q 26.5-21 59-21q 40,0 68,28.25t 28,67.75q0,32.5 -21,59q 21,48.5 21,101zM 96,480q 13.5,0 26.5-6q-52.5-32 -84.5-84.5q-6,13 -6,26.5q0,26.5 18.75,45.25t 45.25,18.75zM 96,32q-26.5,0 -45.25,18.75t-18.75,45.25q0,13.5 6,26.5q 32-52.5 84.5-84.5q-13-6 -26.5-6zM 145.5,192l-49.5,0 l0,0 \nl-54.5,0 q-9.5,31.5 -9.5,64t 9.5,64l 104,0 q-17.5-30 -17.5-64t 17.5-64zM 416,480q 26.5,0 45.25-18.75t 18.75-45.25q0-13.5 -6-26.5q-32,52.5 -84.5,84.5q 13,6 26.5,6zM 366.5,320l 104,0 q 9.5-31.5 9.5-64t-9.5-64l-54.5,0 l0,0 l-49.5,0 q 17.5,30 17.5,64t-17.5,64zM 192,416l0,0 l0,54.5 q 31.5,9.5 64,9.5t 64-9.5l0-104 \nq-30,17.5 -64,17.5t-64-17.5l0,49.5 zM 160,256q0,40 28.25,68t 68,28t 67.75-28t 28-68t-28-68t-67.75-28t-68,28t-28.25,68zM 320,41.5q-31.5-9.5 -64-9.5t-64,9.5l0,54.5 l0,0 l0,49.5 q 30-17.5 64-17.5t 64,17.5l0-104 zM 480,96q0-26.5 -18.75-45.25t-45.25-18.75q-13.5,0 -26.5,6q 52.5,32 84.5,84.5\nq 6-13 6-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF014\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 192,470.5q 31.5,9.5 64,9.5t 64-9.5l0-104 q-29.5,17.5 -63.75,17.5t-64.25-17.5l0,104 zM 145.5,192l-104,0 q-9.5,31.5 -9.5,64\nt 9.5,64l 104,0 q-17.5-30 -17.5-64t 17.5-64zM 320,41.5q-31.5-9.5 -64-9.5t-64,9.5l0,104 q 30-17.5 64-17.5t 64,17.5l0-104 zM 256,160q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28-68t-68-28zM 366.5,192q 17.5,30 17.5,64t-17.5,64l 104,0 q 9.5-31.5 9.5-64t-9.5-64l-104,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF013\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-33,0 -67-8q-17,20 -34.75,34.75t-30,21.75t-23.75,10.75t-15,4.25t-5.5,0.5l0,0 q 13-28.5 15-62.25t-7-56.75q-41-31.5 -64.5-75.5t-23.5-93.5q0-45.5 20.25-87t 54.5-71.5t 81.75-47.75t 99.5-17.75t 99.5,17.75t 81.75,47.75t 54.5,71.5t 20.25,87t-20.25,87t-54.5,71.5t-81.75,47.75\nt-99.5,17.75zM 224,368q0,6.5 4.5,11.25t 11.5,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-7,0 -11.5,4.5t-4.5,11.5l0,32 zM 256,64q-42.5,0 -76,18.75t-46,48.25l 58,29q0-13.5 18.75-22.75t 45.25-9.25t 45.25,9.25t 18.75,22.5t-18.75,22.75t-45.25,9.5q-13.5,0 -22.75,9.25\nt-9.25,22.75l0,48 q0,6.5 4.5,11.25t 11.5,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-19.5 q 41.5-8 68.75-33.75t 27.25-58.75q0-40 -37.5-68t-90.5-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF012\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 416,80q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 z\nM 416,304q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 288,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 255.75,416q-13.25,0 -22.5-9.5t-9.25-22.5t 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5t-9.5,22.5t-22.75,9.5zM 255.75,192q-13.25,0 -22.5-9.25t-9.25-22.75\nt 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.75t-9.5,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF011\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 195.5,384l 28.5,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 28.5,0 q 3.5-4 3.5-9.5t-3.5-9.5l-52-41.5q-3.5-4 -8.75-4t-8.75,4l-51.5,41.5\nq-4,3.5 -4,9.25t 4,9.75zM 320,32l-128,0 l0,128 q0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-128 zM 448,336q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25q0,15.5 9,27.75t 23,17.25l0,35 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-35 q 14-5 23-17.25t 9-27.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF010\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 28,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 152,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 28,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25zM 403,189q-9.5,5.5 -20,2.5t-16-12.5l-75.5-139\nq-5.5-9.5 -2.75-20.25t 12.25-16.25t 20-2.5t 16,12.5l 75.5,139q 5.5,9.5 2.75,20.25t-12.25,16.25zM 145,179q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 75.5-139q 5.5-9.5 16-12.5t 20,2.5t 12.25,16.25t-2.75,20.25zM 448,480q-4,20 -14.75,26t-32.75,6l-287,0 q-22.5,0 -34-6t-15.5-26l-32-192l 448,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00F\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 446,225.5q 2.5,15.5 2.5,30.5t-2.5,30.5l 64.5,62q 2.5,2.5 1.75,7.75t-4.25,10.75l-34.5,53.5q-3.5,5.5 -8.5,8.75t-8,2.75l-82.5-24.5q-23,17.5 -49,27.5l-19.5,69q-1,3 -6.5,5.5t-12.5,2.5l-68.5,0 q-7,0 -12.25-2.5t-6.25-5.5l-18-71q-22-9.5 -43.5-26l-82,25q-3.5,0.5 -8.5-2.75t-8.5-8.75l-34.5-53.5\nq-3.5-5.5 -4.25-10.75t 1.75-7.75l 64.5-62q-2.5-15.5 -2.5-30.5t 2.5-30.5l-64.5-62q-2.5-2.5 -1.75-7.75t 4.25-10.75l 34.5-53.5q 3.5-5.5 8.5-8.75t 8.5-2.75l 82,25q 22.5-18 49-28l 19.5-69q 1-3 6.5-5.5t 12.5-2.5l 68.5,0 q 7,0 12.5,2.5t 6,5.5l 18,71q 22.5,9.5 43.5,26l 82.5-25q 3.5-0.5 8.25,2.75t 8.25,8.75l 34.5,53.5q 3.5,5.5 4.25,10.75\nt-1.75,7.75zM 256.5,160q-40,0 -68,28.25t-28,68t 28,67.75t 68,28t 68-28t 28-67.75t-28-68t-68-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00E\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,416l0,32 q0,26.5 -18.75,45.25t-45.25,18.75l-32,0 l0-32 l-320,0 l0,32 l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-32 l 32,0 l0-320 l-32,0 l0-32 q0-26.5 18.75-45.25t 45.25-18.75l 32,0 l0,32 l 320,0 l0-32 l 32,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,32 l-32,0 l0,320 l 32,0 zM 96,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nl0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 160,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 112,320q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 224,144\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 320,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 384,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 448,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-96 zM 432,320l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,384l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00D\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 396.5,406q 79-11.5 112.5-31.5q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5t-128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 33.5,20 112,31.5q 2.5-5.5 6-9.5l 19.5-19.5q-63.5-8 -102-23.25t-38.5-33.75l0-64 q0-4 3-9q 33,19 110,30.5q 2.5-9.5 8-15.5l 14-13.5q-61.5-8.5 -98.25-23.5\nt-36.75-33l0-64 q0-4 3-9q 31,18 101.25,29.5t 151.75,11.5t 151.75-11.5t 101.25-29.5q 3,5 3,9l0,64 q0,18 -37,33.25t-98,23.25l 13.5,13.5q 5.5,6 8,16q 77.5-11.5 110.5-31q 3,5 3,9l0,64 q0,18.5 -38.75,33.75t-102.25,23.25l 19.5,19.5q 3.5,4 6,9.5zM 343,308q 9-9 9-21.75t-9-21.75t-21.75-9\nt-21.75,9l-44,43.5l-43.5-43.5q-9-9 -21.75-9t-21.75,9t-9,21.75t 9,21.75l 43.5,44l-43.5,43.5q-9,9 -9,21.75t 9,21.75t 21.75,9t 21.75-9l 43.5-43.5l 44,43.5q 9,9 21.75,9t 21.75-9t 9-21.75t-9-21.75l-43.5-43.5zM 256,128q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25\nt 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25t 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00C\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384l0,64 q0,24 -62,41.75t-155,21.25q-3.5,1 -7,1l-64,0 q-3.5,0 -7-1q-93-3.5 -155-21.25t-62-41.75l0-64 q0-4 3-9.5q 31,18.5 100.5,30q-7.5-9 -7.5-20.5l0-14 q-44.5-9 -70.25-22t-25.75-28l0-64 q0-4 3-9q 24.5,14 75.25,24.5t 113.75,14.5l0-32 q-83.5-5.5 -137.75-22.75t-54.25-39.25l0-64 \nq0-4 3-9q 31,18 101.25,29.5t 151.75,11.5t 151.75-11.5t 101.25-29.5q 3,5 3,9l0,64 q0,22 -54.25,39.25t-137.75,22.75l0,32 q 63-4 113.75-14.5t 75.25-24.5q 3,5 3,9l0,64 q0,15 -25.5,28t-70.5,22l0,14 q0,11.5 -7.5,20.5q 69.5-11.5 100.5-30q 3,5.5 3,9.5zM 352,320l-64,0 l0-64 q0-13 -9.5-22.5t-22.5-9.5\nt-22.5,9.5t-9.5,22.5l0,64 l-64,0 q-13,0 -22.5,9.5t-9.5,22.75t 9.5,22.5t 22.5,9.25l 64,0 l0,64 q0,13.5 9.5,22.75t 22.5,9.25t 22.5-9.25t 9.5-22.75l0-64 l 64,0 q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5zM 256,128q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25t 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25\nt 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 31,18.5 101.25,30t 151.75,11.5t 151.75-11.5t 101.25-30q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 256,384q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 31,18.5 101.25,30t 151.75,11.5\nt 151.75-11.5t 101.25-30q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 256,256q-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25l0-64 q0-4 3-9.5q 31,18.5 101.25,30t 151.75,11.5t 151.75-11.5t 101.25-30q 3,5.5 3,9.5l0,64 q0,17.5 -34.25,32.25t-93.25,23.25t-128.5,8.5zM 256,128\nq-69.5,0 -128.5-8.5t-93.25-23.25t-34.25-32.25t 34.25-32.25t 93.25-23.25t 128.5-8.5t 128.5,8.5t 93.25,23.25t 34.25,32.25t-34.25,32.25t-93.25,23.25t-128.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF00A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 64.25,480q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25t-22.75,9.25t-9.25,22.5t 9.5,22.75t 22.75,9.5zM 64,32\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 448,32\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 448,416q-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 320,256q0,15 -7.5,29.5q 29,6 52.75,16.75t 34.75,21.75q-27,56 -80,76\nq0-35.5 -5.75-57.5t-18.75-36.5q-17.5,14 -39.5,14q-15,0 -29.5-7.5q-6,29 -16.75,52.75t-21.75,34.75q-56-27 -76-80q 35.5,0 57.5-5.75t 36.5-18.75q-14-17.5 -14-39.5q0-15 7.5-29.5q-29-6 -52.75-16.75t-34.75-21.75q 27-56 80-76q0,35.5 5.75,57.5t 18.75,36.5q 17.5-14 39.5-14q 15,0 29.5,7.5\nq 6-29 16.75-52.75t 21.75-34.75q 56,27 76,80q-35.5,0 -57.5,5.75t-36.5,18.75q 14,17.5 14,39.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF009\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 256,432q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25l0,32 zM 64,432q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 432,96l-176,0 q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 48,0 q0,13 9.5,22.5t 22.5,9.5l 64,0 q 13.5,0 22.75-9.25t 9.25-22.75l 176,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,256l-48,0 q0-13.5 -9.5-22.75t-22.5-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l-176,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 176,0 \nq0,13.5 9.5,22.75t 22.5,9.25l 64,0 q 13,0 22.5-9.25t 9.5-22.75l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 448,400q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 336,288l-32,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 208,128l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF008\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,160q0-13.5 -9.5-22.75t-22.5-9.25l0-32 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,32 q-13.5,0 -22.75,9.25t-9.25,22.75\nl0,64 q0,13.5 9.25,22.75t 22.75,9.25l0,160 q0,13.5 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75l0-160 q 13,0 22.5-9.25t 9.5-22.75l0-64 zM 320,352q0-13 -9.5-22.5t-22.5-9.5l0-224 q0-13.5 -9.5-22.75t-22.75-9.25t-22.5,9.25t-9.25,22.75l0,224 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13.5 9.25,22.75t 22.75,9.25\nl 64,0 q 13,0 22.5-9.25t 9.5-22.75l0-64 zM 480,224q0-13 -9.25-22.5t-22.75-9.5l0-96 q0-13.5 -9.25-22.75t-22.5-9.25t-22.75,9.25t-9.5,22.75l0,96 q-13.5,0 -22.75,9.5t-9.25,22.5l0,64 q0,13 9.25,22.5t 22.75,9.5l0,96 q0,13.5 9.5,22.75t 22.75,9.25t 22.5-9.25t 9.25-22.75l0-96 q 13.5,0 22.75-9.5t 9.25-22.5l0-64 z\nM 432,288l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,416l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\nM 112,224l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF007\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 95.75,416q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 416,416l-192,0 q-13.5,0 -22.75,9.25t-9.25,22.5\nt 9.25,22.75t 22.75,9.5l 192,0 q 13,0 22.5-9.25t 9.5-22.75t-9.5-22.75t-22.5-9.25zM 368,352l-240,0 q-40,0 -68-28t-28-68q0-28.5 15.25-51.75t 40.25-35.25q 17,27 43.75,45t 58.75,23.5q-28.5-17 -45.25-46t-16.75-63.5q0-53 37.5-90.5t 90.5-37.5q 40.5,0 73,22.75t 46.5,59.25q-51.5,9 -85.5,49t-34,93\nq0,5.5 0.5,11q 2-44.5 34.25-75.75t 77.25-31.25q 46.5,0 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF006\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,448q 13,0 22.5-9.25t 9.5-22.5t-9.5-22.75t-22.5-9.5t-22.5,9.5t-9.5,22.75t 9.5,22.5\nt 22.5,9.25zM 391,222.5q-6,3 -12.5,0t-9.25-9.75t0-13.75t 9.25-9.5l 47.5-21.5q-28-54.5 -82-82.5l-21.5,48q-2.5,6.5 -9.5,9.25t-13.75,0t-9.75-9.25t0-13l 21.5-48.5q-27-8 -55-8t-55,8l 21.5,48.5q 3,6.5 0,13t-9.75,9.25t-13.75,0t-9.5-9.25l-21.5-48q-53.5,27.5 -82,82.5l 47.5,21\nq 6,3 8.75,9.75t0,13.75t-9,9.75t-12.75-0.25l-48.5-21q-8,27 -8,55t 8,55l 48.5-21q 6.5-3 12.75-0.25t 9,9.75t0,13.75t-8.75,9.75l-48,21q 11,21.5 28,40q 48-27 120-31l 97-158.5q 4.5-1 8.5-2.5q 3.5-0.5 6.75,1.25t 3.75,5.25l 2.5,8l-55.5,148q 60.5,6.5 102,29.5q 17-18.5 28-40l-48-21.5\nq-6.5-2.5 -9.25-9.5t0-13.75t 9.25-9.75t 13,0l 48.5,21.5q 8-27 8-55t-8-55z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF005\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,96q0-13.5 -9.25-22.75t-22.75-9.25l-320,0 q-13,0 -22.5,9.25t-9.5,22.75l0,32 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 \nl0,64 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,32 q0,13.5 9.5,22.75t 22.5,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-320 zM 384,416l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0-64 l 48,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 q0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 288,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 288.25,288\nq-13.25,0 -22.75-9.5t-9.5-22.5t 9.5-22.5t 22.75-9.5t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 128,176q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25zM 80,320l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75\nl-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF004\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-416,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-128 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-32 q0-13.5 9.5-22.75t 22.5-9.25l 416,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13 -9.5,22.5t-22.5,9.5zM 448,96\nq0-13.5 -9.25-22.75t-22.75-9.25l-288,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13 9.25,22.5t 22.75,9.5l 288,0 q 13,0 22.5-9.5t 9.5-22.5l0-320 zM 384,416l-224,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 q0-13 9.25-22.5t 22.75-9.5l 224,0 q 13,0 22.5,9.5t 9.5,22.5l0,256 q0,13.5 -9.5,22.75t-22.5,9.25zM 288,192\nq-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 287.75,288q-13.25,0 -22.5-9.25t-9.25-22.5t 9.25-22.75t 22.5-9.5t 22.75,9.25t 9.5,22.75t-9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF003\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384l-48,0 l0-64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,288l-48,0 l0-64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 496,192l-48,0 l0-64 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,416l-256,0 \nq-13,0 -22.5-9.5t-9.5-22.5l0-256 q0-13 9.25-22.5t 22.75-9.5l 256,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 320,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM 224,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 z\nM 128,16q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,48 l-64,0 l0-48 zM0,368l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,64 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,272l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,64 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,176l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,64 \nl-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 192,496q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l 64,0 l0,48 zM 288,496q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l 64,0 l0,48 zM 384,496q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 \nl 64,0 l0,48 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF002\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,288l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,224l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 496,160l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25\nt-4.75,11.25t-11.25,4.75zM 400,512q-6.5,0 -11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75zM 384,416l-224,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13 9.5-22.5t 22.5-9.5l 224,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 384,48q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 320,48q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 256,48q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 192,48q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 128,48q0-6.5 4.75-11.25t 11.25-4.75\nt 11.25,4.75t 4.75,11.25l0,48 l-32,0 l0-48 zM 32,400q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,336q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,272q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,208\nq0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 32,144q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM 160,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 zM 224,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 \nl 32,0 l0,48 zM 288,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 zM 352,496q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l 32,0 l0,48 zM 512,400q0,6.5 -4.75,11.25t-11.25,4.75l-48,0 l0-32 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF001\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 64,256l 192,0 l0-192 q-79.5,0 -135.75,56.25t-56.25,135.75zM 288,288l-221,0 q 11.5,68.5 64.75,114.25t 124.25,45.75\nq 39,0 74-14.75t 62-41.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF000\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,224l0-224 q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87l-224,0 zM 224,512q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87t 17.75-87t 47.75-71.5t 71.5-47.75t 87-17.75l0,224 l 224,0 q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wheelchair\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,438l-31.5,32q-0.5,0 -0.5,0.25t-0.5,0.75l-0.75,0.5t-1.25,0.5q-2,2 -3.5,2.5q-9,6 -20.25,5.25t-19.25-8.75l-86.5-87l-147,0 q-13,0 -22.5-9.25t-9.5-22.25l0-160 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,128 l 124.5,0 q 3.5-0.5 8,0.5q 2,0 3.5,0.5q 3.5,1 4.5,1.5q 6,2.5 11,7.5l 72.5,72.5l 10-10\nq 9.5-9.5 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.25zM 191.5,128.5q-26.5,0 -45-18.75t-18.5-45.25t 18.5-45.25t 45-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 264.5,425l 1.5,1.5q 9.5-9 22.75-9t 22.5,9.25t 9.25,22.5t-9,22.75q-5,5 -13,7.5q-37,25 -80.75,31t-86.5-8t-75.25-46.5\nt-46.5-75.25t-8-86.5t 31-80.75q 2.5-8 7.5-13q 9.5-9.5 22.75-9.5t 22.5,9.5t 9.25,22.75t-9,22.75l 1.5,1.5q-26.5,37 -22.75,83.5t 37,79.75t 79.75,37t 83.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scales\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q0,9 -7.5,13.5q-10,8.5 -29.5,13.5t-43,5t-43-5t-29.5-13.5q-7.5-5 -7.5-13.5l0,0 q0-3 0.5-4l 58-284l-122.5,0 l0,384.5 q 55.5,2.5 91.75,11.25t 36.25,20.25q0,13 -9.25,22.5t-22.75,9.5l-256,0 q-13.5,0 -22.75-9.5t-9.25-22.5q0-11.5 36.25-20.25t 91.75-11.25l0-384.5 l-122.5,0 l 58,284q 0.5,1 0.5,4l0,0 \nq0,9 -7.5,13.5q-10,8.5 -29.5,13.5t-43,5t-43-5t-29.5-13.5q-7.5-5 -7.5-13.5l0,0 q0-3.5 0.5-4l 62-304q 3.5-11 16-11.5l 0.5-0.25t 1-0.25l 144,0 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l 144,0 q 0.5,0 1.5,0.5q 12.5,0.5 16,11.5l 62,304q 0.5,1 0.5,4l0,0 zM 39.5,324.5q 19-4.5 40.5-4.5t 40.5,4.5l-40.5-198zM 432,126.5\nl-40.5,198q 19-4.5 40.5-4.5t 40.5,4.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diesix\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45t 45.25-18.5l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,448q 20,0 34-14t 14-34t-14-34t-34-14t-34,14t-14,34t 14,34t 34,14zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14\nt 14-33.75t-14-34t-34-14.25zM 144,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 352,272.25q0,19.75 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25\nt-34,14.25t-14,34zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diefive\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26 18.75-44.75t 45.25-18.75l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 144,352q-20,0 -34,14t-14,34t 14,34\nt 34,14t 34-14t 14-34t-14-34t-34-14zM 272,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34\nt-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diefour\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26 18.75-44.75t 45.25-18.75l 352,0 q 26.5,0 45.25,18.5t 18.75,45l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 144,352q-20,0 -34,14t-14,34t 14,34\nt 34,14t 34-14t 14-34t-14-34t-34-14zM 400,96q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diethree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-351.5 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,351.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96.5q-20,0 -34,14t-14,33.75t 14,33.75t 34,14t 34-14t 14-33.75t-14-33.75t-34-14zM 272,224q-20,0 -34,14.25t-14,34\nt 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25zM 400,352q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dietwo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-351.5 q0-26.5 18.75-45.25t 45.25-18.75l 352,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,351.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,96.5q-20,0 -34,14t-14,33.75t 14,33.75t 34,14t 34-14t 14-33.75t-14-33.75t-34-14zM 400,352q-20,0 -34,14t-14,34t 14,34\nt 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dieone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-352,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-352 q0-26.5 18.75-45t 45.25-18.5l 352,0 q 26.5,0 45.25,18.75t 18.75,44.75l0,352 q0,26.5 -18.75,45.25t-45.25,18.75zM 272,224q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14t 14-33.75t-14-34t-34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ink\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 461,512l-441.5,0 q-14,0 -18.25-14.5t 3.75-34l 74-257.5q 2-5.5 8.75-9.75t 14.25-4.25l 58,0 l0-32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-128 q0-6.5 4.75-11.25t 11.25-4.75l 256,0 q 7,0 11.5,4.75t 4.5,11.25l0,128 q0,6.5 -4.5,11.25t-11.5,4.75l-48,0 l0,32 l 56.5,0 q 7,0 13.75,4t 9.25,10l 75.5,257.5q 8,19.5 4,34t-18,14.5z\nM 160,48q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-64 zM 224,48q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-64 zM 288,48q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25\nl0,64 q0,6.5 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25l0-64 zM 336.25,128q 6.75,0 11.25-4.75t 4.5-11.25l0-64 q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.5,4.75zM 352,224l-224,0 l-27.5,111q 29,17 59.5,17q 17.5,0 34.25-6.5t 30-16t 26-19t 26.75-16t 27-6.5q 42.5,0 70,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sticker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,224q0,10.5 -0.5,16.5t-4.25,15t-11.25,16.5l-224,224q-7.5,7.5 -16.5,11.25t-15,4.25t-16.5,0.5l0-2.5 q-62.5-7.5 -113.75-43t-80.75-91t-29.5-119.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 64,0 119.5,29.5t 91,80.75t 43,113.75l 2.5,0 zM 256,32q-45.5,0 -87,17.75t-71.5,47.75\nt-47.75,71.5t-17.75,87q0,55.5 25.25,103.75t 69.25,79.25t 97.5,38.5q 0.5-51.5 20.75-98t 54.25-80.5t 80.5-54.25t 98-20.75q-7.5-53.5 -38.5-97.5t-79.25-69.25t-103.75-25.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"banana\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 429.5,419.5q-20.5,26 -40.5,45.25t-35,29t-27.5,14.25t-20.25,4t-11.75-4q-6-5.5 -6.25-22.75t 5.25-37.25t 15-33q 38.5-50 64-113.5q-32.5,40 -70,68.75t-73.5,38.75q-31.5,8 -60.5,7.25t-49.75-6.75t-22.75-14q-2-7 19-25t 48-34.25t 41.5-20.25q 11-3 33-25.5q-61,29.5 -109.5,29.5\nq-23,0 -47-5.25t-41.25-12.75t-28.5-15.75t-11.25-14.25q0-11.5 51.25-29.75t 76.75-18.25q 15.5,0 56.25-26.25t 84.75-64.75t 67-69q 12-16 39.5-15q 10-29 10-49l 30.5,0 q0,17 -0.5,32l0,0.5 l 0.25-0.25l 0.25-0.25q 22.5,11 37,32.5l 0.5,0 t 0.5,0.5q 35.5,16 49.25,59.5t 7,95.5t-28.25,106t-52.5,93.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"strawberry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479,487q-19.5,20 -53,23.5t-68.5-4.75t-79-25.75t-77-34.25t-70.5-36.25t-51.5-25.5q-104.5-47.5 23-190q-53.5,9.5 -68,63.5q-6.5-27.5 6.5-53.5q-28.5,16 -38.5,53.5q-7-31.5 9.5-59t 47.5-36l 1.25,0 t 1.25-0.5q-36.5-11 -62,4q 17-28 47.25-36t 57.75,8.5q-28.5-47.5 -72.5-76l 31.5-30.5q 40.5,40.5 63,67\nq-1.5-20.5 6.75-38.25t 26.25-28.75q0,40.5 3,57.5q 8.5-30.5 35.5-46.5t 57.5-9q-56.5,15.5 -63.5,75q 31-23 59.25-34.25t 60.25-10t 64.5,18.25q 24.5,12 48,41.5t 41.5,67.25t 30,81.25t 15.25,83.75t-4.75,75.25t-27.5,55zM 304.25,448q 6.75,0 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25\nt 4.75,11.25t 11.5,4.75zM 112.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 144.25,320q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 176.25,192q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25\nt 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 176.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 208.25,384q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 240.25,160q-6.75,0 -11.5,4.75\nt-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 240.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 240.25,320q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75z\nM 304.25,128q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304.25,192q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304.25,288q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25\nt-4.5-11.25t-11.25-4.75zM 336.25,352q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 368.25,160q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 368.25,256q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25\nt 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 368.25,416q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 432.25,224q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 432.25,320q-6.75,0 -11.5,4.75\nt-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 432.25,384q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"carrot\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 508.75,508.75q-10.75,10.75 -56.5-13t-103-64.75t-115.75-86.5t-98.25-78.5t-47.25-40q-11-12 -7-33.25t 21-45.25q-42.5-19.5 -102-19.5l0-32 q 47,0 85,12.5l-85-85l 23.5-23.5l 85,85.5q-12.5-38.5 -12.5-85.5l 32,0 q0,59.5 19.5,102q 24-17 45.25-21t 33.25,7q 7,7.5 40,47.25t 78.5,98.25t 86.5,115.75\nt 64.75,103t 13,56.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fedora\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,336q0,13.5 -20.5,32.5t-53.75,36.75t-82.5,30.25t-99.25,12.5t-99-12.5t-82.5-30.25t-54-36.75t-20.5-32.5q0-26.5 85-38.5q 4.5-31 11-61.25t 16-64.25t 22.25-55t 25.75-21q 14,0 47.25,16t 48.75,16q 13.5,0 26-5t 21-11t 21.5-11t 27.5-5q 14,0 36.5,67.5t 37,133.5q 86.5,12 86.5,39z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tophat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 80,0 l-32-437.5q-0.5-12 3-20t 9.25-12.5t 16.75-6.75t 20.25-2.75t 24.75-0.5l 236,0 q 15.5,0 24.75,0.5t 20.25,2.75t 16.75,6.75t 9.5,12.5t 2.75,20l-32,437.5l 80,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 121.5,416l 6.5,64l 256,0 \nl 7-64l-269.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"telescope\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 493.5,493.5q-13.5,13.5 -25.5,16.75t-20.5-0.75t-18-13.5l-52.5-52q-35.5,13 -63-15l-58-58.5l0-115 q0-26.5 -19-45.25t-45.5-18.75t-45.25,18.75t-18.75,45.25l0,38.5 l-111-111q-14-14 -16.25-34.25t 10-46.25t 39.25-53t 53-39.25t 46.25-10t 34.25,16.25l 152,152q 24.5,24.5 12.5,64.5l 81.5,81q 27,27.5 14.5,63\nl 52.5,52.5q 9.5,9.5 13.5,17.75t 0.75,20.5t-16.75,25.75zM 111.5,480l 48,0 l0-224.5 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,224.5 l 48.5,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lollypop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503.5,503.5q-8.5,8.5 -20.5,8.5t-20.5-8.5l-211.5-211.5q-41,28 -90.5,28q-12,0 -26.5-2l 184-184q 2,14.5 2,26.5q0,49.5 -28,90.5l 211.5,211.5q 8.5,8.5 8.5,20.5t-8.5,20.5zM0,232.5l 232.5-232.5q 29.5,13 52.25,35.75t 35.75,52.25l-232.5,232.5q-29.5-13 -52.25-35.75t-35.75-52.25zM 0.5,160.5q0-43.5 21.25-80.5\nt 58.25-58.25t 80.5-21.25q 12,0 26,2l-184,184q-2-14 -2-26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"filmstrip\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 32,416l0-288 l 480,0 l0,288 l-480,0 zM 400,384q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 400,160q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,160q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 480,240q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 zM 464,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75\nt 4.75-11.25t-4.75-11.25t-11.25-4.75zM 400,96l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 144,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 144,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,448l 384,0 q 6.5,0 11.25,4.75\nt 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-384,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"antenna\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464.5,59.5l-176.5,233.5l0,187 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-187 l-176.5-233.5q-15.5-9.5 -15.5-27.5q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5q0,18 -15.5,27.5zM 388,64l-100,0 l0,132.5 zM 224,64l-100,0 l 100,132.5l0-132.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"resistor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-71,0 l-23.5,84q-1.5,6 -6.5,9.25t-11,2.75q-6,0.5 -11-2.75t-6.5-9.25l-46.5-167.5l-46.5,167.5q-1.5,6 -6.5,9.25t-11,2.75q-6,0.5 -11-2.75t-6.5-9.25l-46.5-167.5l-16,83.5l-42.5,0 l-85.5,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 103,0 l 23.5-84q 1.5-5.5 6.5-8.75t 11-2.75q 6-0.5 11,2.75\nt 6.5,8.75l 46.5,168l 46.5-168q 1.5-5.5 6.5-8.75t 11-2.75q 6-0.5 11,2.75t 6.5,8.75l 46.5,168l 16-84l 42.5,0 l 53.5,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"acsource\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 320,352q-29,0 -48.75-21t-31.25-75q-10.5-24.5 -23.75-44.25t-24.25-19.75q-7.5,0 -12.5,9.25t-10.5,28t-9,26.75l-32,0 q0-13.5 3.5-28.75t 10.5-31t 20-26t 30-10.25q 29,0 48.75,21t 31.25,75\nq 10.5,24.5 23.75,44.25t 24.25,19.75q 7.5,0 12.5-9.25t 10.5-28t 9-26.75l 32,0 q0,13.5 -3.5,28.75t-10.5,31t-20,26t-30,10.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dcsource\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,128l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 512,256q0,13.5 -9.25,22.75\nt-22.75,9.25l-160,0 l0,128 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-320 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,128 l 160,0 q 13.5,0 22.75,9.25t 9.25,22.75zM 159.75,352q-13.25,0 -22.5-9.25t-9.25-22.75l0-32 l-96,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 96,0 l0-32 \nq0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.5t 9.5,22.5l0,128 q0,13.5 -9.5,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"capacitator\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-128,0 l0,96 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-256 q0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,96 l 128,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 191.75,416q-13.25,0 -22.5-9.5t-9.25-22.5l0-96 l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 l0-96 \nq0-13 9.25-22.5t 22.5-9.5t 22.75,9.5t 9.5,22.5l0,256 q0,13 -9.5,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"diode\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-64,0 l0,96 q0,13 -9.5,22.5t-22.5,9.5t-22.5-9.5t-9.5-22.5l0-96 l-5,0 l-199,124.5q-8.5,8.5 -20-4l0-120.5 l-96,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 96,0 l0-121 q 12-12.5 20-4l 199.5,125l 4.5,0 l0-96 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,96 l 64,0 q 13,0 22.5,9.25t 9.5,22.5\nt-9.5,22.75t-22.5,9.5zM 160,160l0,192 l 160-96z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lighthouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,96l 128-64l0,160 l-128-64l0-32 zM 352,160q0,11.5 -7.5,20.5t-19,11l 6,32.5l-151,0 l 6-32.5q-11.5-2 -19-11t-7.5-20.5l0-96 l-32,0 l 128-64l 128,64l-32,0 l0,96 zM 256,80q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-64 zM 320,80q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-64 zM 128,128l-128,64l0-160 l 128,64l0,32 zM 337.5,256l 5.5,32l-174.5,0 l 6-32l 163,0 zM 355,352l-198,0 l 6-32l 186,0 zM 143.5,426l 8-42l 209,0 l 8,42\nq 64.5,12 104,35t 39.5,51l-128,0 l-256,0 l-128,0 q0-28 39.5-51t 104-35z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"invoice\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l-32-32l-32,32l0-480 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13,0 22.5,9.5t 9.5,22.5l0,480 zM 112,416l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75zM 416,80q0-6.5 -4.75-11.25t-11.25-4.75l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,192 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-256 zM 320,288l 64,0 l0,32 l-64,0 l0-32 zM 320,224l 64,0 l0,32 l-64,0 l0-32 zM 320,160l 64,0 l0,32 \nl-64,0 l0-32 zM 320,96l 64,0 l0,32 l-64,0 l0-32 zM 128,224l 160,0 l0,32 l-160,0 l0-32 zM 128,160l 160,0 l0,32 l-160,0 l0-32 zM 128,96l 160,0 l0,32 l-160,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"helicopter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,256l0,16 q0,6 -1,9.25t-3.75,4.75t-4.75,1.75t-6.5,0.25q-16,0 -19.5-5l-28.5-27l-117.5,62q-16,15.5 -38.75,24.75t-41.75,9.25l-26,0 l0,32 l 112,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-176,0 l-80,0 l-32,0 q-13.5,0 -30.75-17.25t-17.25-30.75q0-6 1.75-9.5t 6.5-4.75t 8.25-1.5\nt 11.5-0.25l 4,0 q0,13.5 9.25,22.75t 22.75,9.25l 16,0 l 16,0 l0-32 l-9.5,0 q-21,0 -35.5-10.75t-18.25-32t 13.25-53.25l 34-64q 9-14.5 29.25-23.25t 39.75-8.75l 43,0 l0-32 l-144,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 144,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 144,0 q 6.5,0 11.25,4.75\nt 4.75,11.25t-4.75,11.25t-11.25,4.75l-144,0 l0,32 l 56.5,0 q 18.5,0 34.25,9.75t 20.75,24.25l 10,47.5l 102.5-49.5l 28.5-56.5q 3.5-7.5 19.5-7.5q 4.5,0 6.5,0.25t 4.75,1.75t 3.75,4.75t 1,9.25l0,16 q-13.5,0 -22.75,14t-9.25,34t 9.25,34t 22.75,14zM 128,384l 64,0 l0-32 l-64,0 l0,32 zM 224,224q0-13.5 -9.5-22.75t-23-9.25l-31.5,0 \nq-23,0 -33,16l-28,48q-6.5,18.5 0.5,25.25t 27.5,6.75l 64.5,0 q 13.5,0 23-9.5t 9.5-22.5l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brain\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,288q-6,0 -23.5-8t-38-16t-34.5-8q-13,0 -29,8.25t-32,20t-33.25,23.5t-38.75,20t-43,8.25q-26,0 -45-12.75t-19-35.25q0-16.5 10.75-28.75t 26-18.75t 36.25-10.25t 37.5-4.75t 33.5-1l0-0.5 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75q-91,0 -136.5,31.5q-1.5,1 -11,7.75t-12,8.25\nt-11.25,6t-15,6t-16.5,3t-21.75,1.5q-22.5,0 -35.25-19t-12.75-45q0-35 22-65.5t 58-50.75t 82-32t 94-11.75q 69.5,0 128.5,25.75t 93.25,70t 34.25,96.25q0,22.5 -13,43.25t-35,20.75zM 231,352l 57-16q0-12.5 32.5-30.25t 47.5-17.75q 33,0 56.5,16.5t 23.5,31.5q0,12.5 -32.5,30.25t-47.5,17.75\nq-11,0 -13.5,24t-2.5,104l-32,0 q0-25 -29.5-70.5t-54.5-57.5q-6-3 -9.75-10.75t-2.5-14.5t 7.25-6.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"liver\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,256q-12.5,0 -28.5-11.75t-31.25-31.75t-25.75-51.25t-10.5-65.25q0-8 0.5-12.25t 3.25-9.75t 9.75-7.75t 18.5-2.25q 21.5,0 47.25-10t 44.75-22t 38.25-22t 29.75-10q 14.5,0 23.25,8.5t 8.75,23.5q0,36.5 -10.25,72.25t-25.75,62.25t-33.25,47.25t-33.25,31.5t-25.5,10.75zM 352,288q0,11 -13.75,26\nt-32,28.75t-42.5,34.5t-39.75,38.75q-15.5,18.5 -26.25,42.75t-15,38.75t-6.75,14.5q-14.5,0 -36.75-14t-46-39.5t-45-56.75t-34.75-70.25t-13.5-75.5q0-43.5 23.5-80.25t 64-58.25t 88.5-21.5q 11,0 17,0.25t 17.25,1t 17.75,2.75t 13.75,5.5t 10.75,9.25t 3.5,13.25q0,27.5 13,57t 35,55q 6.5,7.5 19.25,17.75\nt 20.75,17.75t 8,12.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stomach\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 224,480q-32.5,0 -62.75-15t-47.75-37.25t-17.5-43.75q0-15 -8-21.25t-16,0t-8,21.25l0,96 q0,10.5 -10.75,21.25t-21.25,10.75t-21.25-10.75t-10.75-21.25l0-96 q0-19 1.25-32t 5-26t 10.75-20.75t 18.75-12.5t 28.25-4.75q 17,0 31,5t 21.75,11t 19.25,11t 24,5q 13.5,0 21-0.25t 21.25-1.5t 22.5-4.25t 19.25-8\nt 17.25-13.75t 10.75-20.25q 7.5-22.5 11.25-49.75t 4.25-44.75t 0.5-49.5q-24,0 -44-20t-20-44l0-32 q0-10.5 10.75-21.25t 21.25-10.75t 21.25,10.75t 10.75,21.25l0,16 q0,16 64,16q 8.5,0 16.75-5t 14.75-11t 19.5-11t 29-5q 37.5,0 58.75,47.25t 21.25,125.75q0,65.5 -22.5,118.25t-61.75,86.75t-91.25,52t-112.5,18z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"kidney\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-24.5,0 -46.25-6.75t-40.5-21t-30-40t-11.25-60.25q0-16 8-30.25t 20-25.5t 24.5-21.75t 24-23t 16-25q-56.5,8 -90.5,42.5t-34,96q0,44.5 15,83l-69.5,0 q-9.5-39.5 -9.5-81q0-61 22.75-106t 62.25-70.5q-9.5-8.5 -18.5-17q-29-28.5 -50.5-62l 49-47.5q 16.5,36.5 48,67q 15.5,15 30.25,21.25\nt 34.25,7.25q-5-8 -20-26.25t-22.25-33.75t-7.25-35.5q0-23 11.75-41.75t 30.75-30.25t 41.25-17.75t 44.25-6.25q 39.5,0 74.75,17.75t 61,49t 41,76.25t 15.25,97q0,51.5 -20.25,102t-52,87.25t-72.25,59.75t-79.5,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lungs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512q-6.5,0 -19-8.25t-30.25-20.75t-30.75-19q-11-5.5 -25-11.5t-22.5-9.75t-16.75-8.25t-12-9t-3.75-9.5l0-145 l-64-64l-64,64l0,145 q0,5 -3.75,9.5t-12,9t-16.75,8.25t-22.5,9.75t-25,11.5q-13,6.5 -30.75,19t-30.25,20.75t-19,8.25q-21.5,0 -26.75-30t-5.25-98q0-90 16.5-149.5\nt 47.5-106.5q 21.5-32 50-48t 46-16q 13.5,0 22.75,9.5t 9.25,22.5l0,81 l 32-32l0-113 q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5l0,113 l 32,32l0-81 q0-13 9.5-22.5t 22.5-9.5q 17.5,0 46,16t 50,48q 31,47 47.5,106.5t 16.5,149.5q0,23.5 -0.25,35t-1,29.75t-2.75,27t-5.5,18.5t-9,13.75t-13.5,4z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tooth\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,352l0,25.5 t-0.5,26t-2,27.5t-3.5,24.75t-5.75,22.75t-8.5,17t-12,12.5t-15.75,4q-4,0 -6.75-1.75t-4.5-6t-2.75-8t-1.5-11.75t-0.5-13l0-15 l0-8.5 q0-31 -0.25-45.75t-2-37.5t-5.75-33.25t-11-22.5t-18.25-16.5t-26.75-4.5t-26.75,4.5t-18.25,16.5t-11,22.5t-5.75,33.25t-2,37.5t-0.25,45.75l0,8.5 l0,15 t-0.5,13\nt-1.5,11.75t-2.75,8t-4.5,6t-6.75,1.75q-8.5,0 -15.75-4t-12-12.5t-8.5-17t-5.75-22.75t-3.5-24.75t-2-27.5t-0.5-26l0-25.5 q0-21 -10-53.5t-22-62.25t-22-68.75t-10-71.5q0-40 28-68t 68-28q 16,0 48,16t 48,16t 48-16t 48-16q 39.5,0 67.75,28t 28.25,68q0,32.5 -10,71.5t-22,68.75t-22,62.25\nt-10,53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"marvin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,223.5q-57,0 -133.25,7.25t-122.75,15.75q 1.5-50.5 22.5-96.25t 55-79t 80.75-52.75t 97.75-19.5t 97.75,19.5t 80.75,52.75t 55,79t 22.5,96.25q-46.5-8.5 -122.75-15.75t-133.25-7.25zM 111.5,319.5l 75-62q 38.5-2 69.5-2t 69.5,2l 75,62l 32-54q 49,5.5 79,11.5q-5.5,65 -40.75,118.75\nt-92,85t-122.75,31.25t-123-31.25t-92-85t-40.5-118.75q 30-6 79-11.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ticket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320l0,96 q0,13 -9.5,22.5t-22.5,9.5l-288,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75l0-96 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 288,0 \nq 13,0 22.5,9.5t 9.5,22.5l0,96 q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75zM 192,144q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 192,240q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 \nq0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 192,336q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"removefriend\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-128,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 128,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 355,320q-16,13 -35,21l0,14 q-14,5 -23,17.25t-9,27.75l0,32 q0,20 14,34t 34,14l 16,0 l0,31 q-35,1 -96,1l-38,0 t-40.5-0.5t-43.5-1.25t-40-2.25t-37.75-4.25\nt-28.75-6t-20.75-8.25t-6.75-11q 1-44 55-77.75t 137-44.75l0-16.5 q-26-11.5 -45-32.5t-30-49.25t-16-60.5t-5-69.25q0-32.5 12.5-57.25t 34.5-40t 50.5-23t 62.5-7.75t 62.5,7.75t 50.5,23t 34.5,40t 12.5,57.25q0,110 -37.5,165q-17,9 -23.5,27z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addfriend\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-32,0 l0,32 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 32,0 l0-32 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,32 l 32,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5zM 355,320q-16,13 -35,21l0,14 \nq-14,5 -23,17.25t-9,27.75l0,32 q0,20 14,34t 34,14l 16,0 l0,31 q-35,1 -96,1l-38,0 t-40.5-0.5t-43.5-1.25t-40-2.25t-37.75-4.25t-28.75-6t-20.75-8.25t-6.75-11q 1-44 55-77.75t 137-44.75l0-16.5 q-26-11.5 -45-32.5t-30-49.25t-16-60.5t-5-69.25q0-32.5 12.5-57.25t 34.5-40t 50.5-23t 62.5-7.75t 62.5,7.75\nt 50.5,23t 34.5,40t 12.5,57.25q0,110 -37.5,165q-17,9 -23.5,27z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hockey\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384l-155.5-15.5q-3.5,0.5 -4.5-0.5l-321-321q-11-11 -14-25.25t 2.5-18.25q 4-5.5 18.25-2.5t 25.75,14l 302,302.5l 146.5-29.5q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 240,448q 20,0 34,9.5t 14,22.75t-14,22.5t-34,9.25t-34-9.25t-14-22.5t 14-22.75t 34-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"whistle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-172.5,34.5q 12.5,29.5 12.5,61.5q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5t-80.25-21.5t-58.25-58.25t-21.5-80.25q0-58 37-102q-16.5-8 -26.75-23.5t-10.25-34.5q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25q0,0.5 -0.25,1.75t-0.25,1.75q 16-3.5 32.5-3.5l 320,0 q 8.5,0 12.75,0.25\nt 9.5,1.75t 7.5,5t 2.25,9l0,16 q0,11.5 -9.5,20t-22.5,12zM 64,96q-13.5,0 -22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"curling\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,464q0,14 -17.25,26.5t-48.25,21.5l-253,0 q-31-9 -48.25-21.5t-17.25-26.5l-64-32l0-208 l 64-32q0-14 17.25-26.5t 48.25-21.5l 160,0 l-48-48l-145.5,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 160,0 q 0.5,0 1.5,0.25l 1,0.25q 3.5,0 7,1t 7.5,3.5q 1,0.5 1.5,1q 5,3.5 5.5,3.5l 102.5,102.5q 31,9 48.25,21.5\nt 17.25,26.5l 64,32l0,208 zM 96,448q0,18.5 54.5,32l 211,0 q 54.5-13.5 54.5-32l 64-34l0-127 q-33.5,15 -93.25,24t-130.75,9t-130.75-9t-93.25-24l0,127 zM 424,224l-2,0 q-25.5,14.5 -69.5,23.25t-96.5,8.75t-96.5-8.75t-69.5-23.25l-2,0 l-56,25l0,6 q 33,15 92.75,24t 131.25,9t 131.25-9t 92.75-24\nl0-6 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stadium\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-288,0 q-13,0 -22.5-9.25t-9.5-22.75l0-416 q0-13 9.5-22.5t 22.5-9.5l 288,0 q 13,0 22.5,9.5t 9.5,22.5l0,416 q0,13.5 -9.25,22.75t-22.75,9.25zM 224,480l 96,0 l0-64 l-96,0 l0,64 zM 320,64l-96,0 l0,64 l 96,0 l0-64 zM 416,64l-64,0 l0,96 l-160,0 l0-96 l-64,0 l0,192 l 65.5,0 q 5.5-27.5 27.5-45.75t 51-18.25t 51,18.25t 27.5,45.75\nl 65.5,0 l0-192 zM 224,272q0,20 14,34t 34,14t 34-14t 14-34t-14-34t-34-14t-34,14t-14,34zM 416,288l-65.5,0 q-5.5,27.5 -27.5,45.75t-51,18.25t-51-18.25t-27.5-45.75l-65.5,0 l0,192 l 64,0 l0-96 l 160,0 l0,96 l 64,0 l0-192 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"domino\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503.5,370.5l-133,133q-8.5,8.5 -20.5,8.5t-21-8.5l-320.5-320.5q-8.5-9 -8.5-21t 8.5-20.5l 133-133q 8.5-8.5 20.5-8.5t 21,8.5l 320.5,320.5q 8.5,9 8.5,21t-8.5,20.5zM 80.25,160.5q-6.75,0 -11.25,4.5t-4.5,11.25t 4.5,11.5t 11.25,4.75t 11.5-4.75t 4.75-11.5t-4.75-11.25t-11.5-4.5zM 176.25,64.5q-6.75,0 -11.25,4.5t-4.5,11.25\nt 4.5,11.5t 11.25,4.75t 11.5-4.75t 4.75-11.5t-4.75-11.25t-11.5-4.5zM 176.25,160.5q-6.75,0 -11.25,4.5t-4.5,11.25t 4.5,11.5t 11.25,4.75t 11.5-4.75t 4.75-11.5t-4.75-11.25t-11.5-4.5zM 176.25,256q-6.75,0 -11.25,4.75t-4.5,11.5t 4.5,11.25t 11.25,4.5t 11.5-4.5t 4.75-11.25t-4.75-11.5t-11.5-4.75zM 272.25,160.5q-6.75,0 -11.5,4.5t-4.75,11.25\nt 4.75,11.5t 11.5,4.75t 11.25-4.75t 4.5-11.5t-4.5-11.25t-11.25-4.5zM 336.25,224q-6.75,0 -11.5,4.75t-4.75,11.5t 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75zM 336.25,320q-6.75,0 -11.5,4.75t-4.75,11.5t 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75zM 336.25,416q-6.75,0 -11.5,4.75t-4.75,11.5\nt 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 424.5,378.5l-37.5-37.5l 16.5-17q 10.5,3 27.5,7.5t 26.75,7.25t 20,7.25t 15.75,9.5q 21,21.5 18,52zM 352.5,375.5l 23-23q 18.5,20.5 42,49.75t 38,48.25l 14,19q-70-50.5 -117-94zM 117.5,220.5q-21.5-21.5 -21.5-51.75t 21.25-51.5t 51.5-21.25t 51.75,21.25t 147.5,186.75l-64,64q-165-126 -186.5-147.5zM0,0\nq 7,4.5 18.5,12t 39.5,29t 47.5,41l-23.5,23.5q-20.5-20.5 -40.75-46.75t-31-42.5t-10.25-16.25zM 378.5,424.5l 29,87q-30.5,3 -52-18q-5-5.5 -9.5-15.75t-7.25-20t-7.25-26.75t-7.5-27.5l 17-16.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bat\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,440l-62.5,62.5q-9.5,9.5 -23,9.5t-23.25-9.5t-9.75-23.25t 9.5-23.25l 9-9l-74.5-74.5q-19-19 -53.5-38.25t-65.25-35t-41.75-26.75l-160-160q-11.5-11 -6-40t 23.75-47.25t 47.25-23.75t 40,6l 160,160q 11,11 26.75,41.75t 35,65.25t 38.25,53.5l 74.5,74.5l 9-9q 9.5-9.5 23.25-9.5\nt 23.25,9.75t 9.5,23.25t-9.5,23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bowlingpins\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 396.5,128q-12.5-20 -12.5-48q0-23 12.75-35.5t 35.25-12.5t 35.25,12.5t 12.75,35.5q0,28 -12.5,48l-71,0 zM 413.5,192q 2.5-9 2.5-16q0-8.5 -2-16l 36,0 q-2,7.5 -2,16q0,6.5 2.5,16l-37,0 zM 400.5,224l 63,0 q 4,8 19.5,36.5t 22.25,45.5t 6.75,30q0,22.5 -0.5,37t-2.75,38.5t-8.25,41.25t-15,27.25l-106.5,0 q 5-51.5 5-134\nq0-38.5 -9-73.5q 1-2 11-20.5t 14.5-28zM 192,512q-11-11 -18.25-32.75t-9.75-51.5t-3.25-47.5t-0.75-44.25q0-15 7-32.5t 22.5-44t 20-35.5l 93,0 q 4.5,8.5 20,35.25t 22.5,44.25t 7,32.5q0,26.5 -0.75,44.25t-3.25,47.5t-9.75,51.5t-18.25,32.75l-128,0 zM 209,128q-5.5-9.5 -8.5-16t-5.75-19.5t-2.75-28.5q0-26.5 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25q0,15.5 -2.75,28.5t-5.75,19.5t-8.5,16l-94,0 zM 133,480l-106.5,0 q-9-10 -15-27.25t-8.25-41.25t-2.75-38.5t-0.5-37q0-13 6.75-30t 22.25-45.5t 19.5-36.5l 63,0 q 3.5,7 7.75,15t 9.5,18t 8.25,15.5q-9,35 -9,73.5q0,83 5,134zM 61.5,192q 2.5-9 2.5-16q0-8.5 -2-16l 36,0 \nq-2,7.5 -2,16q0,7 2.5,16l-37,0 zM 44.5,128q-12.5-20 -12.5-48q0-23 12.75-35.5t 35.25-12.5t 35.25,12.5t 12.75,35.5q0,28 -12.5,48l-71,0 zM 222,192q 2-9 2-16q0-8.5 -1.5-16l 67,0 q-1.5,7.5 -1.5,16q0,7 2,16l-68,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"soup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 304,224q0,17.5 4.5,41.5q 0.5,2.5 8.25,17.75t 13.5,36.75t 5.75,48l-32,0 q0-0.5 -0.75-9t-2-17.75t-3-20t-4.25-20t-6-13.25q-11.5-12 -13.75-23.75t-2.25-40.25q0-40 18.75-68t 45.25-28q 7.5,0 16,3q-21,8.5 -34.5,34t-13.5,59zM 208,102q0,19 4.5,44.5q 27.5,31 27.5,84q0,87.5 -16,121.5\nq-16-72.5 -16-121.5q0-38.5 -4.5-44.5q-27.5-31 -27.5-84q0-42 18.75-72t 45.25-30q 7.5,0 16,3.5q-21,8.5 -34.5,36t-13.5,62.5zM 422.5,450.5q-10.5,25 -27.25,43.25t-35.25,18.25l-208,0 q-18.5,0 -35.5-18.5t-27.5-44q-8.5-5 -25.5-14.5t-25.5-14.5t-19-12.25t-15-13t-4-11.25l 512,0 q0,7.5 -4.5,14.5t-14.75,14t-19.25,11.75\nt-25.25,13t-25.75,13.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"foodtray\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,384l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25q0-94 58.25-160.25t 149.75-79.75q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75\nq 91.5,13.5 149.75,79.75t 58.25,160.25q0,6.5 -4.75,11.25t-11.25,4.75zM 16,416l 480,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pretzel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,448q-51.5,0 -99.25-17.5t-82-46.25t-54.5-67t-20.25-78.75q0-31 8.75-61.75t 24-56t 38.75-41t 50.5-15.75q 56.5,0 134,58q 77.5-58 134-58q 27,0 50.5,15.75t 38.75,41t 24,56t 8.75,61.75q0,40.5 -20.25,78.75t-54.5,67t-82,46.25t-99.25,17.5zM 357,362q-13-45.5 -39.75-89.25\nt-61.75-77.75q-34.5,33.5 -61,77.5t-39.5,89.5q 47,22 101,22t 101-22zM 64,244.5q0,41 33.5,76.5q 16-45.5 43.75-87.75t 63.75-73.75q-53-31.5 -77-31.5q-17,0 -29.75,10.25t-20,27.75t-10.75,37.25t-3.5,41.25zM 384,128q-24,0 -77,31.5q 36,31.5 63.75,73.75t 43.75,87.75q 33.5-35.5 33.5-76.5\nq0-29 -6.5-54.5t-21.5-43.75t-36-18.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chef\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 479,223q-7.5,8 -15.5,17t-20.25,24t-19.75,30t-7.5,26q0,13.5 -46.75,22.75t-113.25,9.25t-113.25-9.25t-46.75-22.75q0-14.5 -13.5-36.25t-25.25-35t-23.25-24.75q-34-33 -34-80q0-46.5 32.75-79.25t 79.25-32.75q 11.5,0 24,2.5q-8,20.5 -8,45.5q0,53.5 33,89q-1-27 -1-57q0-46.5 28-79.25\nt 68-32.75t 68,32.75t 28,79.25q0,30.5 -1,57q 33-35.5 33-89q0-25 -8-45.5q 12.5-2.5 24-2.5q 46.5,0 79.25,32.75t 32.75,79.25t-33,79zM 255.75,384q 66.25,0 113.25-9.5t 47-22.5l0,32 l0,96 q0,13 -47,22.5t-113.25,9.5t-113-9.5t-46.75-22.5l0-96 l0-32 q0,13.5 46.75,22.75t 113,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taco\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,165.5l-340.5,342q-5,4.5 -11.5,4.5t-11.5-4.5q-41.5-42 -61.75-93.5t-18.5-101t 21.25-95.5t 54-80q 34.5-33.5 80.5-52.5t 95.25-21t 100.5,18t 92.25,61q 4.5,4.5 4.5,11.25t-4.5,11.25zM 30.5,376.5q-40.5-80.5 -27-163.25t 71.5-139.75t 141-70t 163,27q-39,0.5 -71.5,3.5t-69.25,11t-69,24.5t-56.75,40.5\nq-26,26 -43.25,57.25t-25.25,67.5t-10.75,68.25t-2.75,73.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hotdog\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 504,371.5l-363.5-363.5q 6-6 20.25-7.25t 30.75,2.25t 34.25,12.5t 30.25,21.5l 219,219q 12.5,12.5 21.5,31t 12.75,35.25t 2.5,30.75t-7.75,18.5zM 494,494q-18,18 -43.5,18t-43.5-18l-389-389q-18-18 -18-43.5t 18-43.5t 43.5-18t 43.5,18l 389,389q 18,18 18,43.5t-18,43.5zM 371.5,503.5q-4.5,7 -18.5,8.25t-30.75-2.5\nt-35.25-12.75t-31-21.5l-218.5-219q-12.5-12.5 -21.75-31t-12.75-35.5t-2.25-30.75t 7.75-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tea\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 339,416l-166,0 q-23.5-16.5 -44.5-38q-17,6 -32.5,6q-40,0 -68-28.25t-28-67.75q0-31.5 18.5-56.5t 47.5-34.5q 0.5-3.5 0.5-5l 189.5,0 l0,73.5 l-64,37l 47,81.5l 81-47l-32-55.5l0-89.5 l 157.5,0 q 2.5,17.5 2.5,64q0,22.5 -10.5,47t-27.5,45.5t-34.75,37.75t-36.25,29.75zM 64,256q0-7 0.5-23.5q-15,8.5 -23.75,23.25\nt-8.75,32.25q0,26.5 18.75,45.25t 45.25,18.75q 2,0 8-1q-40-50.5 -40-95zM 288,96q0,11.5 4.5,27.5q 19.5,13.5 25.5,36.5l-32,0 q-1-7 -2.5-12q-27.5-19 -27.5-52q0-26.5 18.75-45.25t 45.25-18.75q 7,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 192,64q0,11.5 4.5,27.5q 27.5,19.5 27.5,52.5q0,7 -2.5,16l-32,0 q 2.5-9 2.5-16\nq0-12 -4.5-28q-27.5-19 -27.5-52q0-26.5 18.75-45.25t 45.25-18.75q 7.5,0 16,2q-21,5.5 -34.5,22.5t-13.5,39.5zM 384,512l-256,0 q-27.5,0 -58-10.75t-50.25-26t-19.75-27.25l 512,0 q0,12 -19.75,27.25t-50.25,26t-58,10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"donut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,160q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68\nt-28-68t-68-28zM 432,287.5q-18,0 -31.25,8.5t-16.75,24q0,32 15,50.5q 1,7 1,13.5q0,10 -15.25,21t-32.75,11q-18,0 -33-10.25t-15-21.75q0-3 1-9.5q-23.5,9.5 -49,9.5q-1,0 -8-0.5q 8,17 8,32.5q0,10 -15.25,21t-32.75,11q-18,0 -33-10.25t-15-21.75q0-14.5 7.5-38.5q 10-5.5 16.5-15.5\nq-39-27 -51.5-72.5q-16,3.5 -26.25,16.5t-10.25,29.5q0,5.5 1.5,11q-0.5,0 -0.75,0.25l-0.25,0.25l 3,4.5q 9.5,13.5 14.25,21t 9.5,20t 4.75,23.5q0,4.5 -4.25,6.75t-12.75,4.25q 63,53 145,53q 77.5,0 138-47.75t 79-121.25q-6.5-10.5 -17.25-17t-23.75-6.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 343.5,279.5q-5,5 -14,7.5l-88.5,88.5q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 79-78.5l-79-79q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 89,89q 8.5,2 13.5,7q 9.5,9.5 8,24\nq 1.5,14 -8,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 335,312l-79-78.5l-78.5,78.5q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 88.5-88.5q 2.5-9 7.5-14q 9.5-9.5 23.5-8q 14.5-1.5 24,8q 5,5 7,13.5l 89,89q 8.5,8.5 8.5,20.5t-8.5,20.5t-20.5,8.5t-20.5-8.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circledown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 287,330q-2,8.5 -7,13.5q-9.5,9.5 -24,8q-14,1.5 -23.5-8q-5-5 -7.5-14l-88.5-88.5q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 78.5,79l 79-79q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"circleleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 312,375.5q-8.5,8.5 -20.5,8.5t-20.5-8.5l-88.5-88.5q-9-2.5 -14-7.5q-9.5-9.5 -8-23.5q-1.5-14.5 8-24q 5-5 13.5-7l 89-89q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5l-78.5,79l 78.5,78.5q 8.5,8.5 8.5,20.5\nt-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"vendetta\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 466.5,352q-12.5,30 -38.5,60.25t-54,51.5t-55.5,34.75t-45,13.5q-24.5,0 -62.25-22.5t-74.5-60.25t-56.75-77.25q-16-32 -16-224q0-32 16.5-57t 45.75-40.25t 66.5-23t 81-7.75t 80.5,7.75t 65.25,23t 44.5,40.25t 16,57q0,192 -13.5,224zM 272,480q 5.5,0 9.25-10.5t 5-27t 1.5-25.25t 0.25-17.25\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,8.5 0.25,17.25t 1.5,25.25t 5,27t 9.25,10.5zM 160,96q-26.5,0 -45.25,12.25t-18.75,29.25q0,1.5 1,5.5q 3-11.5 21.25-21.25t 41.75-9.75q 18,0 39.25,5.75t 38.25,17.25t 18,25l 0.25-0.75l 0.25-0.75q0-19.5 -17-34.5t-38.25-21.5t-40.75-6.5zM 128,176\nq0,6.5 14,11.25t 34,4.75t 34-4.75t 14-11.25t-14-11.25t-34-4.75t-34,4.75t-14,11.25zM 272,288q-16.5,0 -29.25-6.75t-17.25-17.25q-1.5,4.5 -1.5,8q0,10 8.75,18.25t 22.75,11.75q-21.5,18 -55.5,18q-26,0 -46-11.25t-24.5-28.25q-1.5,4.5 -1.5,7.5q0,23 22.5,35.5t 57.5,12.5q 39,0 64-13.5q 25,13.5 64,13.5\nq 35,0 57.5-12.5t 22.5-35.5q0-3 -1.5-7.5q-4.5,17 -24.5,28.25t-46,11.25q-34,0 -55.5-18q 14-3.5 22.75-11.75t 8.75-18.25q0-3.5 -1.5-8q-4.5,10.5 -17.25,17.25t-29.25,6.75zM 416,176q0-6.5 -14-11.25t-34-4.75t-34,4.75t-14,11.25t 14,11.25t 34,4.75t 34-4.75t 14-11.25zM 384,96q-19.5,0 -40.75,6.5t-38.25,21.5\nt-17,34.5l 0.25,0.75l 0.25,0.75q 1-13.5 18-25t 38.25-17.25t 39.25-5.75q 23.5,0 41.75,9.75t 21.25,21.25q 1-4 1-5.5q0-17 -18.75-29.25t-45.25-12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"parentheses\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-32,0 q 64-80 64-256t-64-256l 32,0 q 45.5,42.5 70.75,108.25t 25.25,147.75t-25.25,147.75t-70.75,108.25zM 96,0l 32,0 q-64,80 -64,256t 64,256l-32,0 q-45.5-42.5 -70.75-108.25t-25.25-147.75t 25.25-147.75t 70.75-108.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"webplatform\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 493.5,493.5q-19,18.5 -45.5,18.5q-2,0 -8-1l-2,0 l-2,0 q-20.5-4 -35-20l-145-144.5l-145,144.5q-14.5,16 -35,20l-2,0 l-2,0 q-6,1 -8,1q-26.5,0 -45.5-18.5q-20.5-21 -18.5-51l0-378 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,228.5 l 82-82q 19-19 46-18.5q 27-0.5 46,18.5l 82,82l0-228.5 \nq0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,378 q 2,30 -18.5,51zM 64.25,32.5q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 64.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 255.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 447.75,32.5q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 447.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5\nt-9.5-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"visa\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 l 512,0 l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM0,96q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 l-512,0 l0-32 zM 164.5,320l 26-160l 41.5,0 l-26,160l-41.5,0 zM 429,160l 33.5,0 l 33.5,160l-38.5,0 l-9.5-16l-48,0 l-9,16l-43.5,0 l 62-148l 0.5-1.25t 2-3t 3.5-3.5\nt 5.5-3t 8-1.25zM 448,272l-14.5-68.5l-17.5,68.5l 32,0 zM 279,320q-12.5,0 -24.5-2.25t-17-4.25l-5.5-2l 6-35q 8.5,7 25,9.75t 30.25-0.5t 13.75-13.25q0-6.5 -9-12.75t-20-10.75t-20-14.5t-9-23.5q0-14.5 7.75-25.5t 19.75-16t 22.5-7.25t 20-2.25q 8.5,0 18,1.75t 14.5,3.25l 5,1.5l-6,33.5q-13-8 -35.75-7.25\nt-22.75,12.75q0,6 9.25,11.75t 20.25,10.5t 20,15.25t 9,24q0,18 -12.25,30.75t-27.75,17.5t-31.5,4.75zM 51,160q 8,0 12.75,3.75t 5.75,7.25l 1,3.5l 14,72l 5,23.5l 39.5-110l 45,0 l-66.5,160l-43.5,0 l-36-139q-11-6.5 -28-12l0-9 l 51,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"angrybirds\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,320q0,54.5 -34,101.5q 4.5,26.5 -4.5,24.5q-2.5-0.5 -6.5-4.5q-0.5-0.5 -1.75-1.5t-1.25-1.5q-31.5,34.5 -77.5,54t-98.5,19.5q-78.5,0 -139-41.5t-78.5-105.5q-40.5-7 -62-16q-5-2.5 -7.25-5t-1-6t 2.75-6.25t 5.5-7.75l 2.5-2.5q 0.5-0.5 2.75-3.75t 2.75-3.75t 2.75-3t 3-3l 3-2t 3.5-1.5t 3.5-0.25t 4.5,0.25t 4.75,2q 7.5,3 22.5,12.5\nq0-8 1-16q-13-11.5 -26.75-27t-18.75-23q-1.5-2 -2.25-3.75t-1.25-3.25t0-3t 0.75-2.5t 1.75-2.25t 2-1.75t 2.75-1.75t 3-1.5t 3.75-1.5t 3.5-1.75q 1-0.5 4.25-2t 4-1.75t 3.5-1.25t 3.75-1t 3.25-0.25t 3.5,0.5t 3,1.5t 3.25,2.5t 3,4.25q 4,6 11.5,21q 18-50 58.25-90.25t 91.75-57.25q-11-3 -26.75-3t-26.25-1t-13.5-6q-1.5-2.5 -2.25-4.25\nt-0.75-3.5l0-3 t 1.25-2.75t 1.75-2.25t 3-2.25t 3.5-2.25t 4.5-2.5l 4.5-2.25q 12.5-6.5 27-7t 29,4.5t 27.5,11.75t 25.5,15.75l 1.75,0 l 1.75,0 q 3,0 17,1l-1-1q-6.5-13 -19-25.75t-20.75-21.75t-8.25-16.5q0-13 9.5-22.5t 22.5-9.5q 16.5,0 31.5,9.75t 25.5,24t 19,31.5t 12.75,31t 6.25,24.25q 52,27.5 87,76.5l 10-5l 32,48l-15.5,6\nq 15.5,38 15.5,74zM 448,400q0-7 -22.5-27.5t-29.5-20.5q-10.5,0 -27.25,4.75t-16.75,11.25q0,5.5 2.5,9t 8.25,5t 9.75,1.75t 11.5,0.25q 16.5,0 50,14.5q 14,6.5 14,1.5zM 388,448q 12,0 39.5-27.5q-12.5-4 -27.75-7.75t-34.5-7.5t-25.75-5.25q 7,15 24,31.5t 24.5,16.5zM 454,261.5l-66.5,25.5q-3.5,8.5 -3.5,17\nq0-8.5 -3.5-17l-66.5-25.5q-12,6.5 -19,17.75t-7,24.75q0,20 14,34t 34,14t 34-14t 14-34q0,20 14,34t 34,14t 34-14t 14-34q0-13.5 -7-24.75t-19-17.75zM 432,320q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 336,320q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"drwho\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 467.5,86.5l0,336.5 q0,6.5 13.5,16q 8.5,5.5 4.5,8l-2,1l-166,60q-17,7 -29.5,2.25t-12.5-18.75l0-470.5 q0-14 12.5-19t 29.5,1.5l 22,8l0,388.5 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-376.5 l 32,11.5l0,333 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-321.5 l 48,17.5q 6.5,2.5 -1,7\nq-13,7.5 -14.5,12.5q-0.5,1.5 -0.5,3zM 201.5,508l-166-60q-6.5-3 1.5-8.5q 12.5-9 14-13.5q 0.5-1.5 0.5-3l0-336.5 q0-7 -13.5-14.5q-8-5 -4.5-7l 2-1l 166-60.5q 17-6.5 29.5-1.5t 12.5,19l0,470.5 q0,13.5 -12.5,18.5t-29.5-2zM 147.5,112q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,288 q0,6.5 4.75,11.25t 11.25,4.75\nt 11.25-4.75t 4.75-11.25l0-288 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"warcraft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,380l0,84 q0,6.5 -4.75,11.25t-11.25,4.75l-84,0 q-58,32 -124,32t-124-32l-84,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-84 q-32-58 -32-124t 32-124l0-84 q0-6.5 4.75-11.25t 11.25-4.75l 84,0 q 58-32 124-32t 124,32l 84,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,84 q 32,58 32,124t-32,124zM 256,64\nq-42,0 -79,17t-64,47l 47,0 l 32,0 l-25.5,25.5l 37.5,151.5l 52-145l 51.5,145l 38-151.5l-25.5-25.5l 32,0 l 47,0 q-27-30 -64-47t-79-17zM 413.5,146.5l-3,3l-53,213l 10.5,21.5l-16,0 l-16,0 l-48,0 l-16,0 l 9.5-19l-25.5-77l-25.5,77l 9.5,19l-16,0 l-48,0 l-16,0 l-16,0 l 10.5-21.5l-53-213l-3-3q-34.5,50 -34.5,109.5\nq0,52 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25q0-59.5 -34.5-109.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alienware\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-19.5,0 -44.5-14.25t-50.75-41.25t-47.5-61.5t-35.5-79.75t-13.75-91.25q0-48.5 12.25-89t 35.75-70.75t 60.25-47.25t 83.75-17t 83.75,17t 60.25,47.25t 35.75,70.75t 12.25,89q0,46 -13.75,91.25t-35.5,79.75t-47.5,61.5t-50.75,41.25t-44.5,14.25zM 192,320q-18.5-23.5 -44.5-35.75t-51.5-12.25\nq0,23.5 14,55.25t 34,56.75q 9.5,11.5 18.25,18.5t 20,9.75t 18.75,3.25t 23,0.5q0-56 -32-96zM 320,320q-32,40 -32,96q 15.5,0 23-0.5t 18.75-3.25t 20-9.75t 18.25-18.5q 20-25 34-56.75t 14-55.25q-25.5,0 -51.5,12.25t-44.5,35.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"monstersinc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,448l-21.5-96l-26.5,96l-96,0 l-26.5-96l-21.5,96l-160,0 l 64-384l 160,0 l 32,96q-46.5,0 -85.25,26.25t-58.75,69.75q 20,43.5 58.75,69.75t 85.25,26.25t 85.25-26.25t 58.75-69.75q-20-43.5 -58.75-69.75t-85.25-26.25l 32-96l 160,0 l 64,384l-160,0 zM 256,320q-26.5,0 -45.25-18.75\nt-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"walle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 416,320l-240,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 208,0 l0-64 l-208,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 240,0 l0-64 l-256,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,128 q0,26.5 18.75,45.25t 45.25,18.75l 256,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"halo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 285,224l 19,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-19,0 q-5,14 -17.25,23t-27.75,9q-20,0 -34-14t-14-34t 14-34t 34-14q 15.5,0 27.75,9t 17.25,23zM 496,256l-17,0 q-4.5,50.5 -35.75,93.25t-80.75,68.75t-106.5,29.5l0,16.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75\nt-4.75-11.25l0-49 q-53-4 -96-29.5l0-38 q 48.5,36.5 112,36.5q 37,0 68.5-7.75t 55.75-23t 38-40.25t 13.75-57q0-43.5 -23.5-80.25t-64-58.25t-88.5-21.5t-88.5,21.5t-64,58.25t-23.5,80.25l-32,0 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 19,0 q 9-49 42.5-87.75t 82.5-57.25l0-26.5 q 46-20.5 96-20.5\nq 58,0 107.75,25.5t 80.5,69.5t 34.75,97l 17,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"halflife\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 304,384l-46.5-149l-81.5,149l-48,0 l 114-199l-8-25l-42,0 l0-32 l 32,0 l 32,0 l 16,0 l 71.5,200l 40.5-8l 16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"atari\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,480q-51.5,0 -92.25-26t-62.25-69.5t-21.5-96.5l0-240 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,176 q0,36.5 10.25,68.75t 26.5,54.25t 35.75,38t 38,23.5t 33.5,7.5q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 272,480l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-416 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,416 q0,6.5 -4.75,11.25t-11.25,4.75zM 16,480q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75q 15,0 33.5-7.5t 38-23.5t 35.75-38t 26.5-54.25t 10.25-68.75l0-176 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,240 \nq0,53 -21.5,96.5t-62.25,69.5t-92.25,26z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"zelda\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 506,480l-244,0 q-10-9 -3.5-15.5l 116-205q 4-3.5 9.5-3.5t 9.5,3.5l 116,205q 6.5,6 -3.5,15.5zM 134,256q-10-9 -3.5-15.5l 116-205q 4-3.5 9.5-3.5t 9.5,3.5l 116,205q 6.5,6 -3.5,15.5l-244,0 zM 253.5,464.5q 6.5,6 -3.5,15.5l-244,0 q-10-9 -3.5-15.5l 116-205q 4-3.5 9.5-3.5t 9.5,3.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"oneup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,384l0,32 q0,42 -25,69t-71,27l-192,0 q-46,0 -71-27t-25-69l0-32 q-24,0 -44-20t-20-44l0-64 q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5l0,64 q0,24 -20,44t-44,20zM 96,416q0,26.5 18.75,45.25t 45.25,18.75l 192,0 \nq 26.5,0 45.25-18.75t 18.75-45.25l0-35 l-0.5,0 l-0.5,0 q-3.5-11 -25.75-20t-37.25-9l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 q-15,0 -37.5,9t-25.5,20l-0.5,0 l-0.5,0 l0,35 zM 73.5,129q-41.5,59 -41.5,127l0,21 \nq 15,11 32,11q 26.5,0 45.25-23.5t 18.75-56.5q0-30 -15.75-52.25t-38.75-26.75zM 223,35q-66,10 -116.5,56.5q 8.5,17 22.75,26.75t 30.75,9.75q 26.5,0 45.25-23.5t 18.75-56.5q0-5.5 -1-13zM 160,240q0,33 28,56.5t 68,23.5t 68-23.5t 28-56.5t-28-56.5t-68-23.5t-68,23.5t-28,56.5zM 289,35\nq-1,7.5 -1,13q0,33 18.75,56.5t 45.25,23.5q 16.5,0 30.75-9.75t 22.75-26.75q-50.5-46.5 -116.5-56.5zM 480,256q0-68 -41.5-127q-23,4.5 -38.75,26.75t-15.75,52.25q0,33 18.75,56.5t 45.25,23.5q 16.5,0 32-11l0-21 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"oneupalt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,352l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75l-288,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-80 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-16,0 q-6.5,0 -11.25-4.75t-4.75-11.25\nl0-160 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75l 160,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 16,0 \nq 6.5,0 11.25,4.75t 4.75,11.25l0,48 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,160 q0,6.5 -4.75,11.25t-11.25,4.75zM 96,432q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-16 \nq0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-64,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 zM 176,192q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,16 l-16,0 zM 112,160l-16,0 l0-16 q0-6.5 -4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-64 q0-6.5 -4.75-11.25t-11.25-4.75zM 224,48q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-48,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75l-48,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 \nq0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 480,208q0-6.5 -4.75-11.25t-11.25-4.75l-16,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pisces\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64q-96,23.5 -96,192t 96,192q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5q-48-8 -83.25-40t-53.25-78.5t-22.5-105.5l-130,0 q-4.5,59 -22.5,105.5t-53.25,78.5t-83.25,40q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 96-23.5 96-192t-96-192q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5\nt 22.5-9.25q 48,8 83.25,40t 53.25,78.5t 22.5,105.5l 130,0 q 4.5-59 22.5-105.5t 53.25-78.5t 83.25-40q 13,0 22.5,9.25t 9.5,22.75t-9.25,22.75t-22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aquarius\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 452.5,208l-72-95.5l-98.5,99l-0.25,0.25l-0.25,0.25l-3.5,3l-0.5,0.5l-0.75,0.75l-1.75,1.75t-2.5,2q-2,1 -5,2q-5,2 -10.5,2l-2.5,0 q-4,0 -8-1.5q-3.5-1 -7.5-3.5q-2-1.5 -2.5-1.75t-1.75-1t-1.75-1.25q-5-5 -7.5-13l-44.5-88.5l-126.5,101.5q-9.5,9.5 -22.75,9.5t-22.5-9.5t-9.25-22.75t 9.5-22.25l 160.5-129\nq 9.5-9 22.5-9t 22.5,9q 1.5,1.5 4.5,7l 0.5,0.5l 0.5,0.5q 1.5,4 2,4l 42.5,85l 96.5-97q 9.5-9 22.75-9t 22.75,9q 1.5,1.5 4.5,7l0,0.25 t 0.5,0.25l 95.5,127.5q 7,11.5 3.5,24.25t-15,19.5t-24.25,3.25t-19.25-15zM 170,297q 9.5-9.5 22.5-9.5t 22.5,9.5q 1.5,1.5 4.5,7l 0.25,0 t 0.25,0.5l 0.5,0.5q 1.5,3.5 2,4l 42.5,85l 97-97\nq 9-9.5 22.25-9.5t 22.75,9.5q 1.5,1.5 4.5,7l 0.5,0.5l 95.5,127q 7,11.5 3.5,24.5t-15,19.5t-24.25,3.25t-19.25-14.75l-72-95.5l-98.5,98.5l-0.5,0.5l-3.5,3q0,0.5 -0.5,0.75t-0.75,0.5l-1.75,1.75t-2.5,2q-2,1 -5,2q-5,2 -10.5,2q-1.5,0.5 -2.5,0.5q-3.5-0.5 -8-1.5q-3.5-1.5 -7.5-4q-2-1 -2.5-1.5t-1.75-1.25t-1.75-1.25\nq-5-4.5 -7.5-12.5l-44.5-89l-126.5,101.5q-9.5,9.5 -22.75,9.5t-22.5-9.25t-9.25-22.5t 9.5-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"capricorn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,480q-46,0 -80-32.5q-47,64.5 -128,64.5q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 10.5,0 16.25-0.25t 15.5-2t 16.5-5.75t 15.5-10.75t 16.5-18.25t 15.75-27l-27.5-305.5q-29,31 -48.75,112t-19.75,161.5q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5q0-64.5 -12.75-130.75t-35.25-111.75t-48-45.5\nq-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 25,0 49.75,24t 43.75,61t 34.5,84.5q 21-65 49.75-110.5t 60.75-56q 6-3 12.5-3q 0.5,0 1.25,0.25t 1,0t 1.25-0.25l 1.5,0 l0,0.5 q 25,2.5 32,31.5l 22.5,246q 28-22 57.5-22q 46.5,0 79.25,32.75t 32.75,79.25t-32.75,79.25t-79.25,32.75zM 400,320q-18.5,0 -33.25,20.5\nt-14.75,37q0,15 14.25,26.75t 33.75,11.75q 20,0 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sagitarius\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,288.5q-13.25,0 -22.75-9.5t-9.5-22.5l0-147 l-210.5,211l 73,73q 9.5,9.5 9.5,22.75t-9.5,22.75t-22.75,9.5t-22.75-9.5l-73.5-73l-136.5,136.5q-9.5,9.5 -22.75,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.75l 136.5-136.5l-72.5-73q-9.5-9.5 -9.5-22.75t 9.5-22.75t 22.75-9.5t 22.75,9.5l 73,72.5l 210-210l-146,0 \nq-13,0 -22.25-9.5t-9.25-22.75t 9.25-22.5t 22.25-9.25l 224,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"scorpio\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509,456.5l-46,52q-3,3.5 -7.5,3.5t-7.5-3.5l0-29 q-32-2.5 -60.25-13.5t-48-33t-19.75-51l0-196 l0-74 q0-20 -14-34t-34-14t-34,14t-14,34l0,55 l0,249 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-230 l0-74 q0-20 -14-34t-34-14t-34,14t-14,34l0,55 l0,249 q0,13.5 -9.25,22.75\nt-22.5,9.25t-22.75-9.25t-9.5-22.75l0-384 q0-13 9.5-22.5t 22.5-9.5q 11.5,0 20.25,7.25t 11.25,18.25q 27.5-25.5 64.5-25.5q 24.5,0 45.5,11.75t 34,31.75q 13.5-20 34.5-31.75t 46-11.75q 38,0 65.5,26t 30,63.5q 0.5,3.5 0.5,6.5l0,252 q0,17 6.5,30t 17.25,20.25t 20.25,10.75t 20,5.5l0-27 q 3-3.5 7.5-3.5t 7.5,3.5l 46,52q 3,3.5 3,8.5\nt-3,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"libra\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,384l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25q 7.5,0 23.25-25t 28.25-56.25t 12.5-46.75q0-53 -37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5q0,15.5 12.5,46.75t 28.25,56.25t 23.25,25q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-160,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5\nt 22.75-9.25l 75.5,0 q-19.5-30.5 -31.5-65.5t-12-62.5q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25q0,27.5 -12,62.5t-31.5,65.5l 75.5,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 32,448l 448,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-448,0 \nq-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"virgo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 460,389.5q-14,29.5 -37.5,53.5l 9,10.5q 11.5,6.5 15,19t-3.25,23.75t-19.75,14.75t-25-3q-12-9.5 -27-25q-23.5,14.5 -46.75,21.75t-36.75,7.25t-22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5q 20,0 46.5-14q-14.5-27.5 -14.5-52l0-195.5 l0-74.5 q0-19.5 -14.25-33.5t-34-14t-33.75,14t-14,33.5l0,304 \nq0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-229.5 l0-74.5 q0-19.5 -14-33.5t-34-14t-34,14t-14,33.5l0,55.5 l0,248.5 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-383.5 q0-13.5 9.25-22.75t 22.75-9.25q 11.5,0 20.25,7.25t 11.25,18.25q 27.5-25.5 64.5-25.5q 24.5,0 45.5,11.75t 34,31.75\nq 13-20 34.25-31.75t 46.25-11.75q 32,0 57.25,19.25t 33.75,49.25q 23-20.5 52.5-20.5q 32.5,0 55.5,23t 24.5,56l0,0.5 q0,1.5 0.25,16.25t 0.25,24.5t-1,29.5t-2.75,35.25t-5.75,37.5t-9.25,40.25t-13.75,39.25t-19.5,39zM 415.5,96.5q-32,0 -32,47.5l0,204 q0,17.5 7,37.5q 16-20.5 26.5-43q 21.5-47.5 30.5-112.5l0-86 \nq0-47.5 -32-47.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"leo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,512q-46.5,0 -79.25-42.25t-32.75-101.75l0,0 l0,0 q0-5.5 0.5-14.25t 4.5-30.25t 11-35.5q 16-32 16-80l0-32 q0-46.5 -32.75-79.25t-79.25-32.75t-79.25,32.75t-32.75,79.25q0,26 11.25,48.75t 31.25,38.75q 38,13.5 61.75,46.25t 23.75,74.25q0,53 -37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5\nq0-41.5 24.25-74.75t 62.75-46.25q-23-40.5 -23-87q0-48 23.5-88.5t 64-64t 88.5-23.5t 88.5,23.5t 64,64t 23.5,88.5l0,48 q0,16.5 -16,57.25t-16,54.75l0,32 q0,33 14,56.5t 34,23.5q 21.5,0 48-22l0,75 q-25.5,11 -48,11zM 64,384q0,26.5 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25\nt-45.25-18.75t-45.25,18.75t-18.75,45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cancer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 272,480q 16-32 16-80q 46-26.5 80.75-64.75t 54.75-85.75q-19.5,6.5 -39.5,6.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5q0,50 -14.25,99.25t-38.25,89.75t-54.75,74.5t-65,56.5t-67.75,32zM 384,64q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75\nt 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 88.5,262.5q 19-6.5 39.5-6.5q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5t-90.5-37.5t-37.5-90.5q0-50 14.25-99.25t 38.25-89.75t 54.75-74.5t 65-56.5t 67.75-32q-16,32 -16,80q-46,26.5 -80.75,64.75t-54.75,85.75zM 64,384q0,26.5 18.75,45.25\nt 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gemini\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-64,0 q-3.5,11 -8.75,29.5t-14.25,69.25t-9,93.25q0,27 3.25,56.5t 8,52.75t 9.5,42.25t 8,30t 3.25,10.5l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25l 64,0 q 3.5-11 8.75-29.5t 14.25-69.25t 9-93.25q0-27 -3.25-56.5\nt-8-52.75t-9.5-42.25t-8-30t-3.25-10.5l-64,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.75t-9.25,22.5t-22.75,9.25zM 164,64q 3,11 7.75,29.5t 12.5,69.25t 7.75,93.25q0,90.5 -27,189l-1,3l 184,0 q-3-11 -7.75-29.5t-12.5-69.25t-7.75-93.25q0-90.5 27-189l 1-3\nl-184,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taurus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,96q-6,0 -11-5t-5-11q0-6.5 -10.5-11.25t-21.5-4.75q-8,0 -15.5,3.25t-14.75,10.75t-13.25,15t-13.25,20.75t-12.25,22.75t-12,26.75t-11,27t-11.5,28.25q 33,22 52.25,57.25t 19.25,76.25q0,43.5 -21.5,80.25t-58.25,58.25t-80.25,21.5t-80.25-21.5t-58.25-58.25t-21.5-80.25\nq0-41 19.25-76.25t 52.25-57.25q-7.5-18.5 -11.5-28.25t-11-27t-12-26.75t-12.25-22.75t-13.25-20.75t-13.25-15t-14.75-10.75t-15.5-3.25q-11,0 -21.5,4.75t-10.5,11.25q0,6 -5,11t-11,5t-11-5t-5-11q0-35 16.25-57.5t 47.75-22.5q 18.5,0 35.75,8.25t 30.75,20.25t 26.5,30.75t 21.75,35t 17.75,38t 13.5,34.5\nt 10,29.25q 18.5-4 36-4t 36,4q 5.5-16.5 10-29.25t 13.5-34.5t 17.75-38t 21.75-35t 26.5-30.75t 30.75-20.25t 35.75-8.25q 31.5,0 47.75,22.5t 16.25,57.5q0,6 -5,11t-11,5zM 160,352q0,40 28.25,68t 68,28t 67.75-28t 28-68t-28-68t-67.75-28t-68,28t-28.25,68z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aries\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,160q-12,0 -22-10t-10-22q0-28 -16.25-46t-47.75-18q-15.5,0 -38.5,25.75t-40.25,60.5t-17.25,57.75l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0 l0,0.5 l0,0 l0,0 l0,0 l0,0.5 l0,0 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0 l0,0.5 l0,0.5 l0,0 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 \nl0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 \nl0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 \nl0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 \nl0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 \nl0,1 l0,1 l0,1 l0,1 l0,1 l0,0.5 l0,1 l0,1 l0,1 l0,1 l0,1 l0,4.5 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0,0 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0,0 l0-0.5 l0,0 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0,0 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 \nl0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 \nl0-0.5 l0-1 l0-0.5 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 \nl0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-0.5 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1 l0-1.5 l0-1 l0-1 l0-1 l0-4.5 q0-23 -17.25-57.75t-40.25-60.5t-38.5-25.75q-31.5,0 -47.75,18t-16.25,46q0,12 -10,22t-22,10t-22-10t-10-22q0-54.5 35-91.25t 93-36.75q 16,0 34.25,10.5t 35.25,28.25\nt 31,36.5t 27.5,39.75q 13.5-21 27.5-39.75t 31-36.5t 35.25-28.25t 34.25-10.5q 58,0 93,36.75t 35,91.25q0,12 -10,22t-22,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"signal\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.5,416l-48-42q 47.5-54.5 47.5-126.5t-47.5-126l 48-42.5q 30,34.5 46.75,77.75t 16.75,90.75t-16.75,90.75t-46.75,77.75zM 376.5,353l-48.5-42.5q 24-27.5 24-63t-24-63l 48.5-42q 39.5,45 39.5,105t-39.5,105.5zM 256,311.5q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75zM 135.5,353q-39.5-45.5 -39.5-105.5t 39.5-105l 48.5,42q-24,27.5 -24,63t 24,63zM 111.5,374l-48,42q-30-34.5 -46.75-77.75t-16.75-90.75t 16.75-90.75t 46.75-77.75l 48,42.5q-47.5,54 -47.5,126t 47.5,126.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"flowernew\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320l-41,0 l 22.5,23q 18.5,18 18.5,43.25t-18.25,43.5t-43.5,18.25t-43.75-18l-22.5-23l0,41 q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25l0-41.5 l-23,23.5q-18.5,18 -43.75,18t-43.5-18.25t-18.25-43.5t 18.5-43.25l 22.5-23l-40.5,0 q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75l 41,0 l-23-23\nq-18-18 -18-43.5t 18-43.5t 43.5-18t 43.5,18l 23,23l0-41 q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25l0,40.5 l 23-23q 18-18 43.25-18t 43.5,18.25t 18.25,43.5t-18,43.75l-23.5,23l 41.5,0 q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 256,160q-40,0 -68,28t-28,68t 28.25,68\nt 68,28t 67.75-28.25t 28-68t-28-67.75t-68-28zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gearfour\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,288l-51,0 q-3,18 -9,35l 44,25.5q 5.5,3 7.25,9.5t-1.75,12l-16,28q-3,5.5 -9.5,7.25t-12-1.75l-44-25q-11.5,14 -25.5,25.5l 25,44q 3.5,5.5 1.75,12t-7.25,9.5l-28,16q-5.5,3.5 -12,1.75t-9.5-7.25l-25.5-44q-17,6 -35,9l0,51 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-51 q-18-3 -35-9l-25.5,44q-3,5.5 -9.5,7.25t-12-1.75l-28-16q-5.5-3 -7.25-9.5t 1.75-12l 25-44q-14-11.5 -25.5-25.5l-44,25q-5.5,3.5 -12,1.75t-9.5-7.25l-16-28q-3.5-5.5 -1.75-12t 7.25-9.5l 44-25.5q-6-17 -9-35l-51,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 51,0 q 3-18 9-35l-44-25.5q-5.5-3 -7.25-9.5t 1.75-12l 16-28q 3-5.5 9.5-7.25t 12,1.75l 44,25q 11.5-14 25.5-25.5l-25-44q-3.5-5.5 -1.75-12t 7.25-9.5l 28-16q 5.5-3.5 12-1.75t 9.5,7.25l 25.5,44q 17-6 35-9l0-51 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,51 \nq 18,3 35,9l 25.5-44q 3-5.5 9.5-7.25t 12,1.75l 28,16q 5.5,3 7.25,9.5t-1.75,12l-25,44q 14,11.5 25.5,25.5l 44-25q 5.5-3.5 12-1.75t 9.5,7.25l 16,28q 3.5,5.5 1.75,12t-7.25,9.5l-44,25.5q 6,17 9,35l 51,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,416\nq 48,0 88-26.5l-47-47q-20,9.5 -41,9.5t-41-9.5l-47,47q 40,26.5 88,26.5zM 320,256q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 122.5,168q-26.5,40 -26.5,88t 26.5,88l 47-47q-9.5-20 -9.5-41t 9.5-41zM 256,96q-48,0 -88,26.5\nl 47,47q 20-9.5 41-9.5t 41,9.5l 47-47q-40-26.5 -88-26.5zM 389.5,168l-47,47q 9.5,20 9.5,41t-9.5,41l 47,47q 26.5-40 26.5-88t-26.5-88z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"keyboarddelete\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-320,0 l0-0.5 q-12.5,0.5 -21.5-8.5l-129.5-129.5q-9-9 -9-21.75t 9-21.25l 129.5-129.5q 10-10 24-9l 317.5,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,256 q0,13.5 -9.25,22.75t-22.75,9.25zM 441.5,196q 6-6.5 6-15t-6-14.75t-14.75-6.25t-14.75,6.5l-60,60l-60-60q-6.5-6.5 -15-6.5t-14.75,6.25\nt-6.25,14.75t 6.5,15l 60,60l-60,60q-6.5,6.5 -6.5,15t 6.25,14.5t 14.75,6t 15-6l 60-60l 60,60q 6,6 14.75,6t 14.75-6t 6-14.5t-6-15l-60-60z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"macpro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-32,0 q-8,0 -16.75-2.75t-11.25-6.75l-33.5-54.5l-261,0 l-33.5,54.5q-2.5,4 -11.5,6.75t-16.5,2.75l-32,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 q 7.5,0 16.5,2.75t 11.5,6.75l 33.5,54.5l 261,0 l 33.5-54.5q 2.5-4 11.25-6.75t 16.75-2.75l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 \nq0,13.5 -9.5,22.75t-22.5,9.25zM 256,224q-13,0 -22.5,9.5t-9.5,22.5t 9.5,22.5t 22.5,9.5t 22.5-9.25t 9.5-22.75t-9.5-22.75t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"taxi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,439l0,41 q0,13.5 -9.5,22.75t-22.75,9.25t-22.5-9.25t-9.25-22.75l0-32 l-320,0 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-41 q-14.5-8.5 -23.25-23t-8.75-32l0-96 q0-15.5 13.75-35.75t 33.75-36.75l 16.5-55.5q0-26.5 18.75-45.25t 45.25-18.75l 36.5,0 l 183,0 l 36.5,0 q 26.5,0 45.25,18.75t 18.75,45.25\nl 16.5,55.5q 20,16.5 33.75,36.75t 13.75,35.75l0,96 q0,17.5 -8.75,32t-23.25,23zM 64,352.25q0,13.25 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75zM 400,192q0-13 -9.25-22.5t-22.75-9.5l-224,0 q-13.5,0 -22.75,9.5t-9.25,22.5l-16,32q0,13.5 9.5,22.75t 22.5,9.25\nl 256,0 q 13,0 22.5-9.25t 9.5-22.75zM 415.75,320q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 173.5,64l 14.5-53q 2-4.5 7-7.5t 10.5-3l 102.5,0 q 5,0 10,3t 7,7.5l 14,53l-165.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lastfm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,128q-20,0 -34,14t-14,34q0,19 21.25,33.5t 42.75,14.5q 40,0 68,28t 28,68t-28,68t-68,28q-24.5,0 -45.5-13.25t-34.5-34.75q-24.5-64.5 -48-112q-11-21.5 -23-41.5t-18.5-29.5l-6.5-9q-4.5-14.5 -30-31.25t-50-16.75q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5l 22.5,22.5\nq-22,22.5 -51.25,34.75t-61.75,12.25q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5q 32.5,0 66,19.75t 46,44.25q 23,30 48,80q 10,20.5 22,48.5t 19,45.5l 7,18q 20,32 48,32q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75q-34.5,0 -65.25-24\nt-30.75-56q0-33 23.5-56.5t 56.5-23.5q 34.5,0 57.25,19.5t 22.75,44.5l-32,0 q-5.5-13 -19.5-22.5t-28.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"grooveshark\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-35,0 -70.25,16.75t-61.75,43.25t-43.25,61.75t-16.75,70.25q0,18 3.75,31t 8.25,19.25t 12.5,9.5\nt 12.25,3.75t 11.25,0.5q 17.5,0 33.75-18t 30.25-46q 7-14 11-46t 4.5-57l 0.5-25q 7,3.5 19.5,10.75t 46.25,32t 62.25,53.25q 11,11 30.25,37.5t 35,42.5t 29.25,16q 7,0 10.5-0.5t 8.75-3.75t 7.75-9.5t 4.5-19t 2-31.25q0-35 -16.75-70.25t-43.25-61.75t-61.75-43.25t-70.25-16.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypeoffline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-18.5 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 448,256q0-52 -25.75-96.25t-70-70t-96.25-25.75q-25.5,0 -51,7q-13.5-18 -33.75-28.5t-43.25-10.5q-40,0 -68,28.25t-28,67.75q0,23 10.5,43.25t 28.5,33.75q-7,25.5 -7,51q0,52 25.75,96.25t 70,70t 96.25,25.75q 25.5,0 51-7q 13.5,18 33.5,28.5t 43.5,10.5q 39.5,0 67.75-28t 28.25-68\nq0-23 -10.5-43.25t-28.5-33.75q 7-25.5 7-51z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypebusy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-19 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 352,224l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.5t 22.75,9.5l 192,0 q 13,0 22.5-9.5t 9.5-22.5t-9.5-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypeaway\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-19 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 367,289l-79-51.5l0-77.5 q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,96 l0,0.5 l0,0.5 q-0.5,20.5 17,30l 92.5,60.5q 12,7 25.5,3.5t 20.5-15.75t 3.25-25.75t-15.75-20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skypeonline\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q0,53 -37.5,90.5t-90.5,37.5q-51.5,0 -88.5-35.5q-20.5,3.5 -39.5,3.5q-45.5,0 -87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-19 3.5-39.5q-35.5-37 -35.5-88.5q0-53 37.5-90.5t 90.5-37.5q 51.5,0 88.5,35.5q 20.5-3.5 39.5-3.5q 45.5,0 87,17.75t 71.5,47.75t 47.75,71.5t 17.75,87q0,19 -3.5,39.5q 35.5,37 35.5,88.5\nzM 374.25,169.75q-9.75-9.75 -23.25-9.75t-23.5,9.5l-103.5,104l-39.5-40q-10-9.5 -23.5-9.5t-23.25,9.75t-9.75,23.25t 9.5,23.5l 61.5,61.5q 10,10 25,9.5q 15,0.5 25-9.5l 125.5-125.5q 9.5-10 9.5-23.5t-9.75-23.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"glassesalt\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,327.5q0,38 -7.25,62.25t-22.75,36.75t-34.25,17t-47.75,4.5t-47.75-4.5t-34.25-17t-22.75-36.75t-7.25-62.25l0-4 l0-3.5 q0-13 -9.5-22.5t-22.5-9.5t-22.5,9.5t-9.5,22.5l0,7.5 q0,38 -7.25,62.25t-22.75,36.75t-34.25,17t-47.75,4.5t-47.75-4.5t-34.25-17t-22.75-36.75t-7.25-62.25q0-32.5 5-50.5\nq-10-14 -1.5-29l 108.5-171q 5.5-9.5 15.75-12.25t 19.5,2.75t 12,16.25t-2.75,20.25l-78,122.5q 21-2.5 49.5-2.5q 36,0 55.5,5.5t 28.5,17.5q 26.5,9 44,9t 44-9q 9-12 28.5-17.5t 55.5-5.5q 28.5,0 49.5,2.5l-78-122.5q-5.5-9.5 -2.75-20.25t 12-16.25t 19.5-2.75t 15.75,12.25l 108.5,171q 8.5,15 -1.5,29q 5,18 5,50.5zM 112,416\nq 28,0 45-6.75t 26-25.25l-142,0 q 9,18.5 26,25.25t 45,6.75zM 123.5,256q-40.5,0 -60,7.25t-26,24.75l 152,0 q-3.5-17.5 -17.75-24.75t-48.25-7.25zM 192,320l-160,0 l0,10 q0,11.5 1,22l 158,0 q 1-10.5 1-22l0-10 zM 400,416q 28,0 45-6.75t 26-25.25l-142,0 q 9,18.5 26,25.25t 45,6.75zM 388.5,256q-34,0 -48.25,7.25\nt-18.25,24.75l 152.5,0 q-6.5-17.5 -26-24.75t-60-7.25zM 480,320l-160,0 l0,10 q0,11.5 1,22l 158,0 q 1-10.5 1-22l0-10 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"theather\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 128,0 q0,46 -5.75,84.75t-18.25,71.75t-34.25,56.25t-51.75,34.25q 43,41 64.5,137l 283,0 q 21.5-96 64.5-137q-30-11 -51.75-34.25t-34.25-56.25t-18.25-71.75t-5.75-84.75l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,448 \nq0,13.5 -9.25,22.75t-22.75,9.25zM 120.5,416q 5,33.5 6.5,64l 258,0 q 1.5-30.5 6.5-64l-271,0 zM 192,0l 128,0 q0,74 15,128l-158,0 q 15-54 15-128z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"washer\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 256,192q-53,0 -90.5,37.5t-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,416q-40,0 -68-28t-28-68t 28-68t 68-28t 68,28\nt 28,68t-28,68t-68,28zM 448,96l-384,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13 9.5-22.5t 22.5-9.5l 384,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 144,32l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 208,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 272,32q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tictactoe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,27.5l-69,69l 68.5,68q 4.5,4.5 4.5,11.25t-4.75,11.5t-11.5,4.75t-11.25-5l-68-68l-68,68q-5,5 -11.75,5t-11.5-4.75t-4.75-11.5t 5-11.25l 68-68l-68.5-69q-5-4.5 -5-11.25t 4.75-11.5t 11.5-4.75t 11.75,5l 68.5,68.5l 68.5-68.5q 4.5-5 11.25-5t 11.5,4.75t 4.75,11.5t-4.5,11.25zM 480,224\nq 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-192,0 l0,192 q0,13.5 -9.5,22.75t-22.5,9.25t-22.5-9.25t-9.5-22.75l0-192 l-192,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 192,0 l0-191.5 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,191.5 l 192,0 zM 96.25,192q-39.75,0 -68-28t-28.25-67.75t 28.25-67.75t 68-28\nt 67.75,28t 28,67.75t-28,67.75t-67.75,28zM 96,32.5q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 4.75,324.75q 4.75-4.75 11.5-4.75t 11.25,4.5l 68.5,69l 68.5-69q 5-4.5 11.75-4.5t 11.25,4.75t 4.5,11.25t-4.5,11.5l-68.5,68.5l 68,68\nq 4.5,5 4.5,11.75t-4.5,11.25t-11.25,4.5t-11.75-4.5l-68-68l-68,68q-4.5,4.5 -11.25,4.5t-11.5-4.5t-4.75-11.25t 4.5-11.75l 68.5-68l-69-68.5q-4.5-5 -4.5-11.5t 4.75-11.25zM 415.75,320q 39.75,0 68,28.25t 28.25,68t-28.25,67.75t-68,28t-67.75-28t-28-67.75t 28-68t 67.75-28.25zM 416,480\nq 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dialpad\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 443.5,375.5l-68,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68,0 q 14.5,0 24.5,10t 10,24l0,34.5 q0,14 -10,24t-24.5,10zM 443.5,239l-68,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68,0 q 14.5,0 24.5,10t 10,24l0,34.5 q0,14 -10,24t-24.5,10zM 443.5,102.5l-68,0 q-14,0 -24-10t-10-24l0-34.5 \nq0-14 10-24t 24-10l 68,0 q 14.5,0 24.5,10t 10,24l0,34.5 q0,14 -10,24t-24.5,10zM 273,512l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 273,375.5l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 \nq0,14 -10,24t-24,10zM 273,239l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 273,102.5l-68,0 q-14.5,0 -24.5-10t-10-24l0-34.5 q0-14 10-24t 24.5-10l 68,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 102.5,375.5l-68.5,0 \nq-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68.5,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 102.5,239l-68.5,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68.5,0 q 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10zM 102.5,102.5l-68.5,0 q-14,0 -24-10t-10-24l0-34.5 q0-14 10-24t 24-10l 68.5,0 \nq 14,0 24,10t 10,24l0,34.5 q0,14 -10,24t-24,10z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"finder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,448l-195.5,0 q 7.5,31 19.5,64l-32,0 q-13.5-19 -22.5-64l-249.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-352 q0-6.5 4.75-11.25t 11.25-4.75l 244,0 q 18-29.5 44-64l 32,0 q-5.5,9 -19.25,30.5t-21.25,33.5l 200.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,352 q0,6.5 -4.75,11.25t-11.25,4.75zM 32,96l0,320 l 228.5,0 q-2-16 -3.5-32l-0.5,0 l-0.5,0 \nq-75,0 -160-32l0-32 q 78,32 160,32q0-31 20-64l-68,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0,0 q0-84.5 49.5-176l-209.5,0 zM 480,96l-203.5,0 q-47.5,85 -52,160l 79.5,0 q 6.5,0 11.25,4.75t 4.75,11.25q0,11.5 -11.5,15q-19.5,31.5 -20.5,63.5q 67-5.5 128-30.5l0,32 q-66,25 -126.5,30.5q 1.5,17.5 4,33.5l 186.5,0 l0-320 z\nM 368,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75zM 144,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"polygonlasso\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507.5,252l-188.5,125q-3,14.5 -13.25,24.75t-24.25,12.75l-59.5,89q-3.5,6 -9.75,7.75t-12-1.5t-7.5-10t 1.25-12.75l 53-78.5q-23-14 -23-41q0-10 4.5-20l-223.5-224q-5-5 -5-11.5q0-7.5 5-12.5l 63-95q 8-8 18.5-3.5l 0.5,0.5l 248.5,91.5l 148-88.5q 8-8 18.5-3.5q 6.5,2.5 9,9q 1,3 1,7l0,222.5 \nq 0.5,7.5 -4.5,12.5zM 348,123q-8,8 -18.5,3.5l0-0.5 l-0.5,0 l-243.5-89.5l-48,73l 214.5,215q 9.5-5 20-5q 26.5,0 40.5,23l 167.5-111.5l0-186.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lasso\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 319,376q-2.5,14.5 -12.75,25.25t-24.75,13.25l-59.5,89q-3.5,6 -10,7.75t-12-1.5t-7.25-10t 1.25-12.75l 53-78.5q-15.5-9.5 -20.5-26.5q-46.5-5 -89-25.5t-72.25-49t-47.5-63.5t-17.75-68.5q0-47.5 34.25-88t 93.25-64.25t 128.5-23.75t 128.5,23.75t 93.25,64.25t 34.25,88q0,41 -24.75,82.25\nt-69.5,73.25t-98.75,45zM 256,31.5q-61,0 -112.5,19.25t-81.5,52.5t-30,72.25q0,27.5 15.25,56.5t 41,53.25t 62.5,42t 76.75,22.75q 5.5-13.5 17.5-22t 27-8.5q 13,0 24.25,6.75t 17.25,18.25q 70.5-17.5 118.5-67.5t 48-101.5q0-39 -30-72.25t-81.5-52.5t-112.5-19.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"emptycart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-448,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 28,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 152,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 28,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 403,189q-9.5,5.5 -20,2.5t-16-12.5l-75.5-139q-5.5-9.5 -2.75-20.25\nt 12.25-16.25t 20-2.5t 16,12.5l 75.5,139q 5.5,9.5 2.75,20.25t-12.25,16.25zM 145,179q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 75.5-139q 5.5-9.5 16-12.5t 20,2.5t 12.25,16.25t-2.75,20.25zM 448,480q-4,20 -14.75,26t-32.75,6l-287,0 q-22.5,0 -34-6t-15.5-26l-32-192l 448,0 zM 368,384l-128,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 128,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"addtocart\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,256l-448,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.25-22.75t 22.75-9.5l 28,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 152,0 q 10,15 25.75,23.5t 34.25,8.5t 34.25-8.5t 25.75-23.5l 28,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25zM 403,189q-9.5,5.5 -20,2.5t-16-12.5l-75.5-139q-5.5-9.5 -2.75-20.25\nt 12.25-16.25t 20-2.5t 16,12.5l 75.5,139q 5.5,9.5 2.75,20.25t-12.25,16.25zM 145,179q-5.5,9.5 -16,12.5t-20-2.5t-12.25-16.25t 2.75-20.25l 75.5-139q 5.5-9.5 16-12.5t 20,2.5t 12.25,16.25t-2.75,20.25zM 448,480q-4,20 -14.75,26t-32.75,6l-287,0 q-22.5,0 -34-6t-15.5-26l-32-192l 448,0 zM 368,384l-48,0 l0-48 \nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 48,0 l0,48 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handcuffs\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512q-34.5,0 -63.75-17t-46.25-46q 14-31 14-65t-14-65q 17-29 46-46l0-65 q0-6.5 4.75-11.25t 11.25-4.75l 48,0 q0-43.5 -17.25-80.25t-46.75-58.25t-64.25-21.5t-64.25,21.5t-46.5,58.25t-17,80.25l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,65.5 q 29,16.5 46.5,46t 17.5,64.5q0,53 -37.5,90.5t-90.5,37.5\nt-90.5-37.5t-37.5-90.5q0-35 17.5-64.5t 46.5-46l0-65.5 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 q0-52 21.5-96.25t 58.25-70t 80.25-25.75t 80.25,25.75t 58.25,70t 21.5,96.25l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,65.5 q 29,16.5 46.5,46t 17.5,64.5q0,53 -37.5,90.5t-90.5,37.5zM 64,384q0,26.5 18.75,45.25t 45.25,18.75\nt 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25zM 384,320q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"island\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,448q0,15.5 -13.5,27t-35.75,18.5t-56,11.25t-69.5,5.75t-81.25,1.5q-55,0 -100-4t-80.75-12.25t-55.5-22.5t-19.75-33.25q0-21 25.5-43.75t 69.75-41.5t 96.75-27.75l0-39 q0-53.5 -20-103q-9,9.5 -23,29t-24.5,33.75t-26.5,26.5t-32.5,13.75q-1.5-7 -1.5-14.75t 0.75-18t 0.75-15.75q0-32.5 15.25-61.5\nt 40.75-50l-9.5,0 q-34.5,0 -59.25,26.5t-36.75,69.5q-4.5-4.5 -10.25-15.75t-5.75-22.25q0-56 32.25-89t 79.75-33q 52.5,0 77,27q 9-39.5 40.75-65.25t 72.75-25.75q 48,0 80.75,25t 32.75,71q-36.5-32 -96-32q-24.5,0 -37.75,9.75t-20.75,28.75q 20.5-6.5 41.5-6.5q 47,0 80,25.5t 33,61.5\nq0,22.5 -13.75,41.75t-37.25,31.25q-8.5-42.5 -37.5-66.75t-71-28.25q 5,10 10.5,25.25t 13.25,54.25t 7.75,79.5l0,0.5 q 52.5,3 105.5,24.25t 85.75,49.75t 32.75,53.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"phonemic\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.75,471.75q-19.25,19.25 -82.5,30t-133.25,10.75t-133.25-10.75t-82.5-30t-30-82.5t-10.75-133.25t 10.75-133.25t 30-82.5t 82.5-30t 133.25-10.75t 133.25,10.75t 82.5,30t 30,82.5t 10.75,133.25t-10.75,133.25t-30,82.5zM 320.25,384.5q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25\nt-9.25,22.5t 9.25,22.75t 22.5,9.5zM 192.25,384.5q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 128.25,224.5q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25zM 192.25,128q-13.25,0 -22.75,9.5t-9.5,22.75\nt 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 256.25,224.5q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 320.25,128q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384.25,224.5\nq-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"birdhouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,278.25q-9.75,9.75 -23.5,9.75t-23.25-10l-13.5-13.5l-42,215.5q-1.5,10.5 -11.75,21.25t-20.25,10.75l-223.5,0 q-10,0 -20.25-10.75t-11.75-21.25l-42-216l-14,14q-9.5,10 -23.25,10t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-221.5q 10-10 24.5-9.5q 14.5-0.5 24.5,9.5l 222,221.5q 9.5,9.5 9.5,23.25t-9.75,23.5\nzM 256.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25zM 256.5,192q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45-18.75t 18.5-45.25t-18.5-45.25t-45-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"doghouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,278.25q-9.75,9.75 -23.5,9.75t-23.25-9.5l-7.5-7.5l0,209 q0,13.5 -9.25,22.75t-22.75,9.25l-64,0 l0-128 q0-39.5 -28-67.5t-67.75-28t-67.75,28t-28,67.5l0,128 l-64.5,0 q-13.5,0 -22.75-9.25t-9.25-22.75l0-209 l-7.5,7.5q-9.5,9.5 -23.25,9.5t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-221.5\nq 10-10 24.5-9.5q 14.5-0.5 24.5,9.5l 222,221.5q 9.5,9.5 9.5,23.25t-9.75,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"raceflag\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,352q-4-4 -11.5-8.5q-0.5-0.5 -3.5-2q-5.5-3 -11-5.5q-3-1.5 -4-1.5q-15.5-6.5 -34-10.5l0-66.5 q 36.5,5 64,30.5l0,64 zM 410,256q-11.5,0 -26,1.5l0-64 q 14.5-1.5 26-1.5q 25,0 38,1.5l0,64 q-12.5-1.5 -38-1.5zM 384,129.5l0-64 q 14.5-1.5 26-1.5q 25.5,0 38,1.5l0,64 q-12.5-1.5 -38-1.5q-11.5,0 -26,1.5zM 256,169l0-64 q 47.5-19.5 64-25l0,64 \nq-15.5,5 -64,25zM 167.5,192q-19,0 -39.5-4l0-64 q 20.5,4 39.5,4q 11,0 24.5-2.5l0,64 q-13.5,2.5 -24.5,2.5zM 64,160q 21.5,19.5 64,28l0,64 q-43-8.5 -64-28l0,64 q 21.5,19.5 64,28l0,66.5 q-7-1 -14.5-3q-1,0 -2.5-0.5t-1.5-1q-5.5-1.5 -10.5-3.5q-3-1 -5-2q-5-2.5 -10.5-6q-4-2.5 -4.5-2.5q-8.5-6 -15-12l0,128 \nq0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75q 4.5,4.5 12,9q 0.5,0 1.25,0.5l 1.5,1t 1.25,0.5q 5,3 10.5,5.5q 2.5,1 4,2q 7.5,2.5 14,4.5l 1.5,0.5q 8.5,2.5 18,4.5l0,64 q-42.5-8.5 -64-28l0,64 zM 167.5,256q 11,0 24.5-2.5l0,64 q-13.5,2.5 -24.5,2.5q-19,0 -39.5-4l0-64 \nq 20.5,4 39.5,4zM 320,208l0,64 q-16,5.5 -64,25l0-64 q 47.5-19.5 64-25zM 320,144q 33.5-11 64-14.5l0,64 q-30.5,3.5 -64,14.5l0-64 zM 192,253.5l0-64 q 24-4 64-20.5l0,64 q-40,16.5 -64,20.5zM 384,321.5q-31,3 -64,14l0-63.5 q 33.5-11 64-14.5l0,64 zM 256,360.5q-7.5,3 -14,5.5q-1.5,0.5 -3.5,1.5q-5.5,2 -12.5,4.5\nl-3,1q-8.5,3 -15,4.5q-8.5,2.5 -16,4l0-64 q 24-4 64-20.5l0,63.5 zM 192,61.5q 20-3.5 47.5-14l 0.5-0.25t 1-0.25q 8-3 15-6l0,64 q-40,16.5 -64,20.5l0-64 zM 320,16q 33.5-11 64-14.5l0,64 q-30.5,3.5 -64,14.5l0-64 zM 462.5,4.5q 1,0 2.25,0.5t 1.75,0.5q 5.5,1.5 11,4q 2,1 4.5,2q 5,2.5 10.5,6q 4,2.5 4.5,2.5\nq 8.5,6 15,12l0,64 q-27.5-25.5 -64-30.5l0-64 q 7,1 14.5,3zM 512,160l0,64 q-27.5-25.5 -64-30.5l0-64 q 36.5,5 64,30.5zM 410,0l 1,0 l-1,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"skull\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,403l0,61 q0,20 -14,34t-34,14t-34-14t-14-34q0,20 -14,34t-34,14t-34-14t-14-34q0,20 -14,34t-34,14t-34-14t-14-34l0-61 q-44.5-31.5 -70.25-78.25t-25.75-100.75q0-45.5 19-87t 51.25-71.5t 76.5-47.75t 93.25-17.75t 93.25,17.75t 76.5,47.75t 51.25,71.5t 19,87\nq0,54 -25.75,101t-70.25,78zM 144,160q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14zM 192,352l 96,0 l-48-64zM 336,160q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34t-14-34t-34-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"jason\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 450.5,384q-18,40 -48.75,69.75t-63.75,44t-64.5,14.25t-64.5-14t-64-43.75t-49-70.25q-32-71.5 -32-224q0-43.5 28.5-80.25t 76.75-58.25t 104.25-21.5t 103.75,21.5t 75.25,58.25t 27.5,80.25l0,15.75 l0,21 t-0.25,23t-1,26.75t-2.25,27.25t-3.75,29.25t-5.25,27.75t-7.25,28t-9.75,25.25z\nM 176,160q-15,0 -27.75,8.75t-20.25,23.25q 7.5,14.5 20.25,23.25t 27.75,8.75t 27.75-8.75t 20.25-23.25q-7.5-14.5 -20.25-23.25t-27.75-8.75zM 240,64q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,288q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 240,416q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 304,448q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 304,384q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 304,320q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75zM 304,64q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 368,160q-15,0 -27.75,8.75t-20.25,23.25q 7.5,14.5 20.25,23.25t 27.75,8.75t 27.75-8.75t 20.25-23.25q-7.5-14.5 -20.25-23.25t-27.75-8.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"harrypotter\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 499.5,480l-486.5,0 q-21.5-20 -7.5-33l 230-402.5q 8.5-7.5 20.5-7.5t 20,7.5l 230,402.5q 14.5,13.5 -6.5,33zM 40.5,446l 119.5,0 q-25-20 -39.75-48.5t-17.25-61.5zM 137,326.25q0,44.75 29.25,78t 72.75,39.75l0-235 q-43.5,6 -72.75,39.25t-29.25,78zM 187,189.5q 24.5-12.5 52-15.5l0-75.5 zM 273.5,99.5l0,74.5 q 27,3 51,15.5z\nM 273.5,209l0,235 q 43.5-6.5 72.75-39.75t 29.25-78t-29.25-78t-72.75-39.25zM 409,337q-2,32.5 -17,60.75t-39.5,48.25l 119,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"satellite\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 456.5,188.5q-3.5,3.5 -8.5,3.5q0,5 -3.5,8.5l-52,52q-3.5,3.5 -8.5,3.5t-9-3.5l-45-45.5l-16.5,16.5l 128.5,128.5q 12,12 -1.5,35l 69,32.5q 6.5,6 -2.5,23.75t-27.5,36.25t-36.25,27.5t-23.75,2.5l-32.5-69q-23,13.5 -35,1.5l-128.5-128.5l-16.5,16.5l 45.5,45q 3.5,4 3.5,9t-3.5,8.5l-52,52q-3.5,3.5 -8.5,3.5\nq0,5 -3.5,8.5l-52,52q-3.5,3.5 -8.5,3.5t-8.5-3.5l-45.5-45.5l-11.5,11.5q-5,5 -12.25,5t-12.5-5t-5.25-12.5t 5.5-12.5l 11-11.5l-45.5-45.5q-3.5-3.5 -3.5-8.5t 3.5-9l 52-51.5q 3.5-3.5 8.5-3.5q0-5 3.5-8.5l 52-52q 3.5-3.5 8.5-3.5t 8.5,3.5l 46,45.5l 16-16l-96.5-97q-16.5-16 13.5-51.5l-48-48q-9.5,4 -19,4q-20,0 -34-14.25\nt-14-34t 14-33.75t 33.75-14t 33.75,14t 14,34q0,9.5 -3.5,19l 48,48q 35.5-30 51.5-13.5l 96.5,96.5l 16.5-16l-45.5-46q-3.5-3.5 -3.5-8.5t 3.5-8.5l 51.5-52q 4-3.5 9-3.5q0-5 3.5-8.5l 51.5-52q 4-3.5 9-3.5t 8.5,3.5l 45.5,45.5l 12-11.5q 5-5.5 12.25-5.5t 12.5,5.25t 5.25,12.5t-5,12.25l-12,12l 45.5,45.5q 3.5,3.5 3.5,8.5t-3.5,8.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l-118,29.5q-4,2.5 -10,2.5l-128,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-80,0 q-13.5,0 -22.75-9.5\nt-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 192,0 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 58.5,0 q 2.5-0.5 4,0l 1.5,0 q 12,0 21,8\nl 126.5,53l 12.5,3q 26.5,0 45.25,18.75t 18.75,45.25l0,224 q0,26.5 -18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-192,0 l-16,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75l 16,0 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-128,0 q-6,0 -10-2.5l-118-29.5q-26.5,0 -45.25-18.75t-18.75-45.25l0-224 q0-26.5 18.75-45.25t 45.25-18.75l 12.5-3l 126.5-53q 9-8 21-8l 1,0 q 2-0.5 4.5,0l 58.5,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-16,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l 192,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.5,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"handpointdown\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,320q-13.25,0 -22.75-9.25t-9.5-22.75l0-16 q0-6.5 -4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25l0,16 l0,192 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-208 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l0,64 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75\nl0-80 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l0,64 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-80 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l0,32 q0,13.5 -9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.75l0-128 q0-6 2.5-10l 29.5-118q0-26.5 18.75-45.25\nt 45.25-18.75l 224,0 q 26.5,0 45.25,18.75t 18.75,45.25l 3,12.5l 53,126.5q 8,9 8,21l0,1.5 q 0.5,1.5 0,4l0,58.5 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bluetoothconnected\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,306.5q0,6 -3.5,10.5q-6.5,7 -16.5,0l-68-46.5q-8-4.5 -8-13.25t 8.25-15t 25.25-17.75t 29.5-20l 13-8.5q 10.5-7 16.5,0q 3.5,4.5 3.5,10.5l0,100 zM 424,175l-124.5,81.5l 139.5,91q 9,9 9,21.75t-9,21.75q-6.5,7 -17.5,8.5l-173.5,101.5q-9.5,10.5 -23,11q-14.5,1 -24-8.5t-8.5-24l0-153.5 l-76,49.5\nq-9,9 -21.75,9t-21.75-9t-9-21.75t 9-21.75l 116-75.5l-116-75.5q-9-9 -9-21.75t 9-21.75t 21.75-9t 21.75,9l 76,49l0-153.5 q-1-14 8.5-23.5t 24-8.5q 13.5,0.5 23,10.5l 191,112.5q 9,9 9,21.75t-9,21.75q-5.5,5.5 -15,7.5zM 256,427.5l 102.5-60.5l-102.5-66.5l0,127 zM 256,85.5l0,127 l 102.5-66.5z\nM 88,270.5l-68,46.5q-10,7 -16.5,0q-3.5-4.5 -3.5-10.5l0-100 q0-6.5 3.5-10.5q 6-7 16.5,0q 49.5,32.5 67.5,46.5q 8.5,6 8.5,14.75t-8,13.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"toothbrush\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 499.5,499.75q-12.5,12.25 -30,12.25t-29.5-12.5l-434-431.5q-6-6 -6-14.75t 6.25-15t 15-6.25t 14.75,6l 14.5,14.5q 2-3.5 3.5-5l 41.5-41.5q 5.5-5.5 13.5-5.5t 13.75,5.75t 5.75,13.75t-6,13.5l-41,41.5q-1.5,1.5 -5,3.5l 6,6q 2-3.5 3.5-5l 41.5-41.5q 5.5-5.5 13.5-5.5t 13.75,5.75t 5.75,13.75t-6,13.5l-41,41.5\nq-1.5,1.5 -5,3l 6,6.5q 2-3.5 3.5-5l 41.5-41.5q 5.5-5.5 13.5-5.5t 13.75,5.75t 5.75,13.75t-6,13.5l-41,41.5q-1.5,1.5 -5,3l 30,30q 28,28 53.25,48.75t 43.25,32t 38.25,23.75t 38.25,23.75t 43.25,32t 53.25,48.25l 59.5,59.5q 12.5,12.5 12.5,30t-12.5,29.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"toiletpaper\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480q-36.5,0 -50.25-17t-13.75-47l0-336 q 3,4 9.75,14.75t 9.75,14t 9.5,9t 14.75,7.25t 20.25,1.5q 35,0 64-17.5l0,354.5 q-27.5,16.5 -64,16.5zM 176,512q-48,0 -88.5-8.5t-64-23.5t-23.5-32l0-336 q 27.5,21 74.25,33.75t 101.75,12.75t 101.75-12.75t 74.25-33.75l0,336 q0,17 -23.5,32t-64,23.5t-88.5,8.5\nzM 176,128q-48,0 -88.5-8.5t-64-23.25t-23.5-32.25t 23.5-32.25t 64-23.25t 88.5-8.5t 88.5,8.5t 64,23.25t 23.5,32.25t-23.5,32.25t-64,23.25t-88.5,8.5zM 176,32q-33,0 -56.5,9.5t-23.5,22.75t 23.5,22.5t 56.5,9.25t 56.5-9.25t 23.5-22.5t-23.5-22.75t-56.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"crayon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 482.5,510l-62-35.5q-9,6 -19.75,5t-18.75-9l-373-373q-9-9 -9-22t 9-22l 44.5-44q 9-9.5 22-9.5t 22,9.5l 373,373q 7.5,7.5 8.5,18.25t-4.5,19.75l 35.5,62q 5.5,16.5 -2.75,24.75t-24.75,2.75zM 138,97l-41.5,41l 22,21.5l 41-41zM 186,145l-41.5,41l 117.5,117.5l 41-41.5zM 329.5,288.5l-41,41\nl 21.5,22l 41-41.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favoritefolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,448l0,64 l-48,0 l-64-32l-64,32l-48,0 l0-64 l-160,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 l0-32 l0-32 q0-13 9.5-22.5t 22.5-9.5l 32,0 l 352,0 l 32,0 l 64,0 l0,64 l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 374.5,310l-38.5-86l-38.5,86l-89.5,12l 66,65l-17,93l 79-46l 79,46l-17-93l 66-65zM 295,54\nq 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 zM 23,22q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"favoritefile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75t 22.5-9.25l 224,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 230.5,310l-38.5-86l-38.5,86l-89.5,12l 66,65l-17,93l 79-45.5l 79,45.5l-17-93l 66-65zM 320,0q 13,0 22,9\nl 128.5,128.5q 9.5,9.5 9.5,23l-160,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lifehacker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,512l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-256 q0-22.5 -18.25-35.25t-45.75-12.75q-20.5,0 -32,7l0,297 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,118.5 q 12-6.5 32-6.5q 53.5,0 90.75,32.25t 37.25,79.75l0,256 \nq0,6.5 -4.75,11.25t-11.25,4.75zM 176,512l-64,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75l 64,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bowtie\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,346.5q0,13 -6.5,23t-20.5,14t-36-7.5q-3.5-4 -10.25-10.5t-25.25-22t-35.5-25.5q-16-9 -36.5-19q 10.5-20.5 10.5-43q0-41 -29.5-69q 16-12.5 31-21.5q 18.5-10.5 42.5-18t 38.5-9.5l 14.5-2.5q 22-11 36-6.75t 20.5,14.25t 6.5,23q-3.5,5 -8.75,14t-14.25,33.25t-9,44.75q0,20 8,42t 16,34.5zM 256,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 170.5,299q-20.5,10 -36.5,19q-17,10 -34.75,24.5t-26.75,24l-9.5,9.5q-22,11.5 -36,7.5t-20.5-14t-6.5-23q 3.5-5 8.75-13.5t 14.25-32t 9-43q0-20.5 -8-43.5t-16-35.5l-8-13q0-13 6.5-23\nt 20.5-14.25t 36,6.75q 6,1 16,2.5t 35.5,9.25t 44,18.25q 15,8.5 31,21q-29.5,28.5 -29.5,69.5q0,22.5 10.5,43z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"treeornament\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,176l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-0.5,0 -1,0.25t-1,0.25q-59-35.5 -88-96.5l 26,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75\nt 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-26 q 61,29 96.5,88q0,0.5 -0.25,1t-0.25,1zM 288,112l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,48 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,48 l-22.5,0 q-9.5-31.5 -9.5-64q0-35.5 11-69.5l-38.5-38.5q-9-9 20.5-52.5q-24-2.5 -40.5-20.75t-16.5-42.75q0-26.5 18.75-45.25t 45.25-18.75q 24.5,0 42.5,16.5t 21,41q 43.5-30 52.5-21l 38.5,38.5q 34-11 69.5-11q 32.5,0 64,9.5l0,22.5 l-48,0 q-6.5,0 -11.25,4.75t-4.75,11.25zM 64.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 254,503.5l 0.5-0.5q 1.5-3.5 1.5-7l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 3.5,0 7-1.5l0-0.25 t 0.5-0.25q 2.5-1.5 5-4q 3.5,20.5 3.5,38q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75\nq-17.5,0 -38-3.5q 2.5-2.5 4-5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"candycane\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 420.25,502q-10.25,10 -24.5,10t-24.25-10l-254-252.5l 34,33.5l 73.5-24l-27.5-27.5l 223,222q 10,10 10,24.25t-10.25,24.25zM 273.5,307.5l-73,24.5l 36.5,36.5l 73.5-24.5zM 359,392.5l-73,24.5l 36.5,36.5l 73.5-24.5zM 340.75,134q-8.75,8.5 -20.5,9t-21.25-6.5l-1,1l-12-12.5l 24.5-72.5l-12.5-12.5l 49,48.5l-3.5,4\nq 7,9 6.5,21t-9.25,20.5zM 249,89q-16-16.5 -40-19.5l-34-67q 52-9.5 97.5,17.5zM 131.5,132.5l-67.5-17q 7-44 38.5-75.5q 10.5-10.5 26.5-20l 31,61.5q-5.5,4.5 -8.5,7q-18,18 -20,44zM 188,222.5l-73,24l-12.5-12q-29.5-29.5 -37.5-70l 86.5,21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"snowman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 472.5,158l-92,54.5q 3.5,14.5 3.5,27.5q0,34.5 -19.5,63.5q 23.5,26.5 37.5,61.75t 14,69.25q0,19 -4.25,32.75t-14.75,22t-19.75,13.25t-28.5,6.75t-31.25,2.25t-37,0.5l-8.25,0 l-8.75,0 q-24.5,0 -36.75-0.5t-31.25-2.25t-28.5-6.75t-20-13.25t-14.75-22t-4.25-32.75q0-34 14-69.25t 38-61.75q-20-29 -20-63.5\nq0-13 3.5-27.5l-91.5-54.5q-6-3.5 -7.5-10t 1.75-12t 9.25-7.25t 12,1.25l 88.5,53q 16.5-27.5 44.5-42.5q-28.5-24 -28.5-60.5q0-33 23.5-56.5t 56.75-23.5t 56.5,23.5t 23.25,56.5q0,36.5 -28,60.5q 28,15 44.5,42.5l 88.5-53q 5.5-3 11.75-1.25t 9.5,7.25t 1.5,12t-7.25,10zM 272.25,320q 6.75,0 11.25-4.75t 4.5-11.25t-4.5-11.25\nt-11.25-4.75t-11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75zM 272.25,256q 6.75,0 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75t-11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75zM 240.25,64q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 272.25,160\nq-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304,64q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"christmastree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,384.5q0,2.5 -0.5,5l0,0.5 t-0.5,0.5q-0.5,2.5 -1.5,5.5l0,0.5 q-1,2 -2.5,4.5l-0.5,1q-1.5,1.5 -3,3.5l-1.5,1.5l-2,2q-2,1 -3.5,2l-0.25,0.25l-0.25,0.25l-0.5,0 q-5.5,3 -11.5,4q-3.5,0.5 -4,0.5l-128,0 l0,64 q0,13 -9.5,22.5t-22.5,9.5l-64.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 l-128,0 q-0.5,0 -4-0.5q-6-1 -11.5-4l-0.5,0 l-0.25-0.25\nl-0.25-0.25q-1.5-0.5 -3.5-2q-1-1.5 -2-2l-1.5-1.5q-1.5-2 -3-3.5l-0.25-0.5l-0.25-0.5q-1.5-2.5 -2.5-4.5l0-0.5 q-1-3 -1.5-5.5q-0.5,0 -0.5-0.5l0-0.5 q-0.5-2.5 -0.5-5l0-0.5 l0-1 l0-0.5 q 0.5-2 0.5-3.5q 0.5-2 1-4.5l0-0.5 q 2-6 6.5-11l 52-78.5q 46,45 128.25,72t 180.25,27q 39,0 79.5-5l0,0.5 q0,1.5 0.5,3.5l0,0.5 l0,0.75 l0,0.75 zM 112,351.5q-6.5,0 -11.25,4.75t-4.75,11.5\nt 4.75,11.25t 11.25,4.5t 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75zM 176.25,351.5q-6.75,0 -11.5,4.75t-4.75,11.5t 4.75,11.25t 11.5,4.5t 11.25-4.5t 4.5-11.25t-4.5-11.5t-11.25-4.75zM 111.5,255.5l-15.5,0 l-4,0 q-6-1 -11.5-4q-0.5,0 -0.5-0.25t-0.25-0.25l-0.25,0 q-1.5-1 -3-2.5q-2-1 -2.5-1.5t-1.5-2q-1.5-1.5 -2.5-3l-0.75-0.75l-0.25-0.25q-1.5-2.5 -2.5-4.5l0-1 \nq-1-2.5 -1.5-5l-0.25-0.5l-0.25-0.5q-0.5-2.5 -0.5-5l0-0.25 l0-0.75 l0-0.5 l0-1 q 0.5-2 0.5-3q 0.5-2 1-4.5l0-0.5 q 3-9.5 11-15.5l 36.5-44q 32.5,55 116.75,91.5t 192.25,41l 42,63q-25,1.5 -47.5,1.5q-96,0 -177-26t-128-70zM 144.25,223.5q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75z\nM 208.25,255.5q-6.75,0 -11.5,4.75t-4.75,11.25t 4.75,11.25t 11.5,4.75t 11.25-4.75t 4.5-11.25t-4.5-11.25t-11.25-4.75zM 304.25,287.5q-6.75,0 -11.25,4.75t-4.5,11.25t 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25t-4.75-11.25t-11.5-4.75zM 448,229.5l-0.5,1q-0.5,2.5 -1.5,5l0,1 q-1,2 -2.5,4.5l-0.25,0.25t-0.25,0.75l-3,3\nq-1,1.5 -1.5,2t-2.5,1.5q-1.5,1.5 -3,2.5l-0.25,0 t-0.25,0.5l-0.5,0 q-2,1 -8,2.5q-100-6 -178-40t-112-84.5l 56.5-68.5q 31,38 88.5,66t 131,40l 26,31.5q 8,6 11,15.5l0,0.5 q 0.5,2.5 1,4.5q0,1 0.5,3l0,1 l0,0.75 l0,0.5 l0,0.25 q0,2.5 -0.5,5zM 240.25,127.5q-6.75,0 -11.5,4.5t-4.75,11.25t 4.75,11.5t 11.5,4.75t 11.5-4.75\nt 4.75-11.5t-4.75-11.25t-11.5-4.5zM 304.25,159.5q-6.75,0 -11.25,4.75t-4.5,11.25t 4.5,11.25t 11.25,4.75t 11.5-4.75t 4.75-11.25t-4.75-11.25t-11.5-4.75zM 368.5,191.5q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 228.5,15.5q0-0.5 0.25-0.75t 0.75-0.25q 2.5-4.5 7-8\nq 0.5-0.5 1.5-1q0-0.5 1-1t 1.5-1q 0.5,0 1.75-0.25t 1.75-0.75q 3.5-1.5 6.5-2q 2-0.5 5.75-0.5t 6.25,0.5t 6,2q 0.5,0.5 1.75,0.75t 2,0.5t 1.75,1.25q 0.5,0 0.5,0.5l 1.5,1q 4.5,3.5 7.5,8l 0.25,0.25t 0.25,0.75l 90,108q-108.5-29 -162-88.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mickeymouse\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 434.5,250q 13.5,34 13.5,70q0,52 -25.75,96.25t-70,70t-96.25,25.75t-96.25-25.75t-70-70t-25.75-96.25q0-36 13.5-70q-34.5-11 -56-40.25t-21.5-65.75q0-46.5 32.75-79.25t 79.25-32.75q 43,0 74.5,28.5t 36,70.5q 18-3 33.5-3t 33.5,3q 4.5-42 36-70.5t 74.5-28.5q 46.5,0 79.25,32.75t 32.75,79.25\nq0,36.5 -21.5,65.75t-56,40.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"viking\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 444,281.5q 4,19 4,38.5q0,0.5 -0.25,1.25l-0.25,0.75q 9-2 15.5-2q 17,0 17,48.5q0,19.5 -29.75,38t-82,30t-112.25,11.5t-112.25-11.5t-82-30t-29.75-38q0-48.5 18.5-48.5q 5.5,0 14,2q-0.5-0.5 -0.5-1l0-1 q0-19.5 4-38.5q-68-43 -68-137.5q0-13 0.5-20.25t 3.25-19t 9.75-21.75t 18.5-19q0,94 71,140.5\nq 26.5-35.5 66.75-56t 86.25-20.5t 86.25,20.5t 66.75,56q 71-46.5 71-140.5q 11.5,9 18.5,19t 9.75,21.75t 3.25,19t 0.5,20.25q0,94.5 -68,137.5zM 256,192q-8,0 -20,5t-12,11l0,173.5 q 16.5,2.5 32,2.5t 32-2.5l0-173.5 q0-6 -12-11t-20-5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"watch\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509.5,427l-82.5,82.5q-6,6 -11.5,0l-109.5-109l-12.5,12.5q-3,3 -7.25,3t-7.25-3l-29-29q-49.5-2.5 -84.25-37.5t-37.25-84l-29.5-29.5q-3-3 -3-7.25t 3-7.25l 12.5-12.5l-109-109.5q-6-5.5 0-11.5l 82.5-82.5q 6-6 11.5,0l 109.5,109l 12.5-12.5q 3-3 7.25-3t 7.25,3l 29.5,29.5q 49,2.5 84,37.25t 37.5,84.25\nl 29,29q 3,3 3,7.25t-3,7.25l-12.5,12.5l 109,109.5q 6,5.5 0,11.5zM 256.25,160q-39.75,0 -68,28.25t-28.25,68t 28.25,67.75t 68,28t 67.75-28t 28-67.75t-28-68t-67.75-28.25zM 267.5,299q-4.5,5 -11.5,5t-12-5l-47-46.5q-5-5 -5-11.75t 4.75-11.75t 11.75-5t 12,5l 35.5,35l 35.5-35\nq 4.5-5 11.5-5t 12,5t 5,11.75t-5,11.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cassette\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,320 q0,13 -9.25,22.5t-22.75,9.5zM 304,416q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 48,416q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 48,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 128.25,160q-39.75,0 -68,28t-28.25,68t 28.25,68t 68,28t 67.75-28t 28-68t-28-68t-67.75-28zM 208,384\nq-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,96q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384,160q-40,0 -68,28t-28,68t 28,68t 68,28t 68-28t 28-68t-28-68\nt-68-28zM 464,384q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 384.25,288q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25zM 128.25,288q-13.25,0 -22.75-9.25t-9.5-22.75t 9.5-22.75\nt 22.75-9.25t 22.5,9.25t 9.25,22.75t-9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"knob\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,448l-64-96l 384-352l 96,32l 32,96l-352,384zM 315.5,224l 132.5-132.5l-27.5-27.5l-132.5,132.5zM0,256q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 40,0 78.5,12.5l-329.5,294q-5-25.5 -5-50.5zM 512,256q0,52 -20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25q-25.5,0 -50.5-5\nl 294-329.5q 12.5,38.5 12.5,78.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"trumpet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512q-36.5-44.5 -74-88q-8,16.5 -18.5,27q-29,29 -69.5,29t-69.5-29l-59.5-59q-28.5-29 -28.5-69.5t 28.5-69.5q 8.5-8.5 21.5-16q-71.5-45 -146-45l-28-6q-4.5-5 -4.5-11.5t 4.5-11.5l 158.5-158.5q 5-4.5 11.5-4.5t 11.5,4.5l 6.5,28q0,51.5 23.25,106.25t 73.25,104.75l 76,76q 20,20 56.75,52.25t 63.5,54.25\nl 26.75,22zM 196.5,292.5q-12,12.5 -12,30t 12,29.5l 59.5,59.5q 12.5,12.5 30,12.5t 29.5-12.5q 16.5-16.5 11-39.5q-4.5-5 -7-7l-76-76q-1.5-1.5 -4.25-4t-3.75-3.5q-22.5-5 -39,11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"metronome\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 96,512l 39.5-275l-69-116q-4-6 -2-12.75t 8.25-10.25t 13-1.75t 10.25,7.75l 47,79l 17-119l 112-64l 112,64l 64,448l-352,0 zM 144,416l 97.5,0 l-78-131.5zM 352,96l-80-64l-80,64l-20.5,135.5l 84.5,141.5l0-293 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,336 l 112,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"submarine\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,339.5q0,5.5 -4.5,9t-11.5,3.5t-13.25-3.5t-9.25-9l-20.5-14.5q-21.5,8 -62.25,37.5t-48.75,34.5l-15,40q-2,4.5 -8,7.75t-13,3.25l-132,0 q-7,0 -13-3.25t-8-7.75l-8-21l-17,0 q-53,0 -90.5-37.5t-37.5-90.5q0-45.5 28.25-80.25t 71.75-44.75l 21-56q 2-4.5 8-7.75t 13-3.25l 18,0 l0-16 q0-6.5 -4.75-11.25\nt-11.25-4.75l-16,0 l0-32 l 32,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l 18,0 q 7,0 13,3.25t 8,7.75l 20,53l 37,0 q 18,0 40,11.25t 40,25.5t 41.25,30.25t 40.75,22.5l 23.5-45q 3-5.5 9.25-9t 13.25-3.5t 11.5,3.5t 4.5,9l0,50.5 l0,0.5 l0,0.25 l0,0.25 l0,83.5 zM 96.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5\nt-9.25-22.75t-22.5-9.5zM 192.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 288.25,256q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"speaker\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,512l-320,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 256,32q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 256,224q-53,0 -90.5,37.5\nt-37.5,90.5t 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5zM 256,416q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 256,128q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.75-9.5t 22.5,9.5t 9.25,22.75t-9.5,22.5t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stove\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.25t 9.5,22.75l0,448 q0,13.5 -9.5,22.75t-22.5,9.25zM 144,64q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 144,288q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5\nt 23.5-56.5t-23.5-56.5t-56.5-23.5zM 368,64q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 368,288q-33,0 -56.5,23.5t-23.5,56.5t 23.5,56.5t 56.5,23.5t 56.5-23.5t 23.5-56.5t-23.5-56.5t-56.5-23.5zM 368,416q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14z\nM 368,192q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 144,416q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14zM 144,192q-20,0 -34-14t-14-34t 14-34t 34-14t 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"lego\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,448l0-224 q0-13.5 9.25-22.75t 22.75-9.25l 32,0 l 128,0 l 128,0 l 128,0 l 32,0 q 13,0 22.5,9.25t 9.5,22.75l0,224 l-512,0 zM 320,160l0-32 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13,0 22.5,9.5t 9.5,22.5l0,32 l-128,0 zM 64,160l0-32 q0-13 9.25-22.5t 22.75-9.5l 64,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 l-128,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rim\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 303,409q 34.5-10.5 62-36q-25.5-31.5 -42-41.5q-14.5-8 -31-13q-4,16.5 -4,33.5\nq0,19 15,57zM 209,409q 15-38 15-57q0-16.5 -4-33.5q-17,5 -31,13q-16.5,9.5 -42,41.5q 27.5,25.5 62,36zM 96,256q0,16 4.5,36q 40-6 56.5-15.5q 15-9 27-20q-12.5-12.5 -27-21q-16.5-9.5 -56.5-15.5q-4.5,20 -4.5,36zM 209,103q-34.5,10.5 -62,36q 25.5,31.5 42,41.5q 15,8.5 31,13.5q 4-16.5 4-34\nq0-19 -15-57zM 256,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 303,103q-15,38 -15,57q0,16.5 4.5,33.5q 15.5-4.5 30.5-13q 16.5-10 42-41.5q-27.5-25.5 -62-36zM 411.5,220q-40,6 -56.5,15.5q-14,8.5 -27,21q 12.5,11 27,20\nq 16.5,9.5 56.5,15.5q 4.5-20 4.5-36t-4.5-36z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"eightball\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 208,64q-59.5,0 -101.75,42.25t-42.25,101.75t 42.25,101.75t 101.75,42.25\nt 101.75-42.25t 42.25-101.75t-42.25-101.75t-101.75-42.25zM 255,215.5q 3.5,24 -9.75,44t-36.75,26.5q-25.5,6.5 -48.5-6.75t-30-38.75q-5.5-21.5 3.25-41.5t 27.75-30.5q-3.5-24 9.75-44t 36.75-26.5q 25.5-6.5 48.5,6.75t 30,38.75q 5.5,21.5 -3.25,41.5t-27.75,30.5zM 183.5,193q-12.5,3.5 -19.25,15t-3.25,24.25t 15,19.5\nt 24.25,3.25t 19.5-15t 3.25-24.5q-1-3.5 -3.25-4.5t-5.75-1.25t-6-1.75t-7.25-6.25t-9-7.25t-8.25-1.5zM 255,151.5q-3.5-12.5 -15-19.25t-24.5-3.25q-11,3 -17.5,12.25t-6,20.75q 11.5,2 32,14q 11.5,6.5 17,11q 8.5-5.5 12.5-15.25t 1.5-20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"glue\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,464q-1.5,18 -16.25,33t-31.75,15l-224,0 q-17,0 -31.75-15t-16.25-33l-32-208q0-24.5 14-44.25t 34-19.75l 28.5,0 q-12.5-23.5 -12.5-32q0-7 18.5-16.5t 45.5-18q 1-20 9.25-48.75t 23.5-52.75t 31.25-24t 31.25,24t 23.5,52.75t 9.25,48.75q 27,8.5 45.5,18t 18.5,16.5q0,8.5 -12.5,32l 28.5,0 q 20,0 34,19.75t 14,44.25z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"globe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 405,373q-61.5,61 -148,72.5l0,34.5 l 48,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-160,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 l0-34.5 q-87.5-10.5 -149.5-72.5l-11.5-11.5l 46-46q-44.5-53.5 -44.5-123q0-52 25.5-96.25t 69.75-70t 96.25-25.75q 69.5,0 123,45l 45.5-45.5l 11.5,11.5\nq 49,49 66.5,114.75t0,131.5t-66.5,115.25zM 393,45.5q-6.5,7 -22.5,22.5q 46,54 46,124.5q0,52 -25.5,96.25t-69.75,69.75t-96.25,25.5q-70.5,0 -124.5-46q-4,4 -22.5,23q 43,37.5 98.25,49.75t 110-3.5t 96-57t 57-96t 3.5-110t-49.75-98.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"birthday\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 l0-192 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,192 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 400,96q 6.5,0 11.25,4.75t 4.75,11.25l0,80 l-64,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 z\nM 389.5,80q 10.5-9.5 10.5-20q0-3.5 -3.75-9.75t-7.25-10.75l-3.5-4.5q-3.5,18.5 -15,25q-3.5,3 -2.25,8.75t 5.25,11.25q-4.5,0 -15-9q-6.5-6 -6.5-13.5q0-11 11-20q 5-4.5 6.5-13.75t0-16.75l-1.5-7q 26,10 38.5,27q 10,14 9.5,28q-0.5,15.5 -2.5,17.5q-3.5,3 -11.25,5.25t-12.75,2.25zM 272,96q 6.5,0 11.25,4.75\nt 4.75,11.25l0,80 l-64,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 zM 261.5,80q 10.5-9.5 10.5-20q0-3.5 -3.75-9.75t-7.25-10.75l-3.5-4.5q-3.5,18.5 -15,25q-3.5,3 -2.25,8.75t 5.25,11.25q-4.5,0 -15-9q-6.5-6 -6.5-13.5q0-11 11-20q 5-4.5 6.5-13.75t0-16.75l-1.5-7q 26,10 38.5,27q 10,14 9.5,28q-0.5,15.5 -2.5,17.5\nq-3.5,3 -11.25,5.25t-12.75,2.25zM 144,96q 6.5,0 11.25,4.75t 4.75,11.25l0,80 l-64,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 zM 133.5,80q 10.5-9.5 10.5-20q0-3.5 -3.75-9.75t-7.25-10.75l-3.5-4.5q-3.5,18.5 -15,25q-3.5,3 -2.25,8.75t 5.25,11.25q-4.5,0 -15-9q-6.5-6 -6.5-13.5q0-11 11-20q 5-4.5 6.25-13.75\nt 0.25-16.75l-1.5-7q 26,10 38.5,27q 10,14 9.5,28q-0.5,15.5 -2.5,17.5q-3.5,3 -11.25,5.25t-12.75,2.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fries\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 511.5,231l-52,256q-1.5,10.5 -12.5,17.75t-24.5,7.25l-329,0 q-13.5,0 -24.5-7.25t-13-17.75l-55.5-256q-2.5-13 3.25-23.5t 17.25-15.5q 31,13.5 95.25,22.75t 140.25,9.25q 75.5,0 139.25-9t 94.75-23q 11.5,5 17.25,15.5t 3.75,23.5zM 416,48l 64-16l0,132 q-24.5,9 -64,15.5l0-131.5 zM 320.5,0.5l 63.5,32l0,152 \nq-30.5,3.5 -63.5,5.5l0-189.5 zM 224.5,191.5l0-175 l 64-16l0,191 q-19,0.5 -32.25,0.5t-31.75-0.5zM 128.5,16.5l 64-16l0,189.5 q-33.5-1.5 -64-5.5l0-168 zM 32.5,64l 64-32l0,147.5 q-39.5-6.5 -64-15l0-100.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"raspberrypi\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,304q0,22 -8.75,40.25t-23.25,28.75q 1.5,41.5 -32,74.5q-30,30 -68.5,32q-8,14 -28.75,23.25t-46.75,9.25t-46.75-9.25t-28.75-23.25q-38.5-2 -68.5-32q-33.5-33 -32-74.5q-14.5-10.5 -23.25-28.75t-8.75-40.25q0-22.5 9.5-41.5t 25-29q-5.5-18.5 1-40t 23.5-38.5q 15-14.5 34.5-22q-24-12.5 -40.75-36.75\nt-20.75-50.75q 14-21 37.25-33.25t 50.75-12.25t 50.75,12.25t 37.25,33.25q 14-21 37.25-33.25t 50.75-12.25t 50.75,12.25t 37.25,33.25q-4,26.5 -20.75,50.75t-41.25,36.75q 20,7.5 35,22q 17,17 23.5,38.5t 1,40q 15.5,10 25,29t 9.5,41.5zM 317,446q 24.5-5 43-22.5q 15.5-14.5 20.75-27t 2.25-22t-13-19\nq-7.5-6.5 -16.5-11.5l-0.5,0.5t-1,0.5q-6.5,3.5 -16,5.5l0,0.5 l0,1 q0,40 -28.5,68q 6.5,15.5 9.5,26zM 342,257q-11.5-19 -33.25-28.25t-37-1.25t-15.75,32.25t 13.5,36.25q 20.5,18 39.75,22.75t 28.75-4.75q 13-12 14-25t-10-32zM 240,480q 20,0 34-9.25t 14-22.75q0-5.5 -3.5-11.5q-21.5,11.5 -44.5,11.5t-44.5-11.5\nq-3.5,6 -3.5,11.5q0,13.5 14,22.75t 34,9.25zM 240,416q 25.5,0 44.75-15.5t 19.25-32.5q0-8 -3-19q-38.5-10 -61-44.5q-22.5,34.5 -61,44.5q-3,10.5 -3,19q0,17 19.25,32.5t 44.75,15.5zM 208.25,227.5q-15.25-8 -37,1.25t-33.25,28.25q-11,19 -10,32t 14,25q 9.5,9.5 28.75,4.75t 39.75-22.75q 14-12 13.5-36.25\nt-15.75-32.25zM 120,423.5q 18.5,17.5 43,22.5q 3-10.5 9.5-26q-28.5-28 -28.5-68l0-1 l0-0.5 q-9-2 -16-5.5q-0.5,0 -1-0.5l-0.5-0.5q-9,5 -16.5,11.5q-10,9.5 -13,19t 2.25,22t 20.75,27zM 64,304q0,20.5 9,37q 3.5-5 6.5-8q 9-9 24.5-11.5q-16-29.5 -1-65q-5-0.5 -7-0.5q-14.5,0 -23.25,11.5t-8.75,36.5zM 117,181\nq-19,19 -21,43q 12,0 23.5,6q 22-27 53.5-35q-12.5-15.5 -13-34.5q-24,2 -43,20.5zM 155,32q-16,0 -34.5,5t-24.5,11q 4,22.5 24,43.25t 44.5,20.75q 9.5,0 18.5-2q-4-7.5 -9.75-15.25t-13-15.25t-11.75-12.25t-12-11.5t-8.5-7.75q 25.5,3.5 48.5,16t 38.5,31q 6-5 9-9l0-0.5 q0-22.5 -20.25-38t-48.75-15.5zM 240,128\nq-20,0 -34,14t-14,34q0,8 3,16q 16,0 29,7q 8.5,4 16,12.5q 7.5-8.5 16-12.5q 13-7 29-7q 3-8.5 3-16q0-20 -14-34t-34-14zM 384,48q-6-6 -24.5-11t-34-5q-29,0 -49.25,15.5t-20.25,38l0,0.5 q 3,4 9,9q 15.5-18.5 38.5-31t 48.5-16q-1,1 -8.5,7.75t-12,11.5t-11.75,12.25t-13,15.25\nt-9.75,15.25q 9,2 18.5,2q 24.5,0 44.5-20.75t 24-43.25zM 363,181q-19-18.5 -43-20.5q0,19 -13,34.5q 31.5,8 53.5,35q 11.5-6 23.5-6q-2-24 -21-43zM 384,256q-2,0 -7,0.5q 15,35.5 -1,65q 15.5,2.5 24.5,11.5q 3,2.5 6.5,8q 9-16.5 9-37q0-48 -32-48z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"raspberry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,224q0,24 -15.75,42t-39.25,21q 23,19.5 23,49q0,26.5 -18.75,45.25t-45.25,18.75l-1.25,0 l-1.25,0 q 2.5,8.5 2.5,16q0,26.5 -18.75,45.25t-45.25,18.75q-19.5,0 -36-11q-6.5,19 -23,31t-37,12t-37-12t-23-31q-16.5,11 -36,11q-26.5,0 -45.25-18.75t-18.75-45.25q0-7.5 2.5-16l-1.25,0 l-1.25,0 \nq-26.5,0 -45.25-18.75t-18.75-45.25q0-29.5 23-49q-23.5-3 -39.25-21t-15.75-42q0-26.5 18.75-45.25t 45.25-18.75q 3,0 9.5,1q-9.5-15.5 -9.5-33q0-26.5 18.75-45.25t 45.25-18.75q 8,0 16,2.5q 4-1.5 8.5-2q-24.5-21.5 -24.5-55q 14.5-9.5 31.5-9.75t 32.5,9.25q 14,9 22.5,25q0-0.5 0.75-1.75t 0.75-1.75q 9-15.5 25.25-23.25\nt 35.25-7.25q 13,19.5 11,41q 4.5,2.5 5.5,3.5q 8.5-23.5 27-35q 15.5-10 32.5-9.75t 31.5,9.75q0,34 -25,55.5q 14.5,2 25,8q 15.5-9 32-9q 26.5,0 45.25,18.75t 18.75,45.25q0,19.5 -11,36q 19,6.5 31,23t 12,37zM 416.25,352q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25zM 352.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 320,320.25q0-13.25 -9.25-22.75t-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5zM 256.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5\nt-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 224,320.25q0-13.25 -9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5zM 160.25,448q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 96.25,352q 13.25,0 22.5-9.25t 9.25-22.5\nt-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25zM 64.25,192q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128.25,96q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 160.25,192\nq-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 224.25,96q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 256.25,192q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5\nt-9.25-22.75t-22.5-9.5zM 320.25,128q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 352.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 416.25,96q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 448,192q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chocolate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l-187,0 q 18,9 24,19.25t 1.5,19.5t-11.25,17.25t-11.75,15.5t-3,11.5q-7.5,13 -15.5,13q-3.5,0 -17.75-12.75t-33.5-29t-31.25-22.25l-162.5,0 q-13,0 -22.5-9.5t-9.5-22.5l0-32 l0-224 l0-32 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 q 22,0 43.25-10t 34-22t 23-22t 12.25-10q 4,0 6.75,0.5t 5.75,4.25t 3,11.25\nq-15.5,27 -15.5,64q0,6.5 1,16l 206.5,0 q 13,0 22.5,9.25t 9.5,22.75l0,224 q0,13.5 -9.25,22.75t-22.75,9.25zM 217.5,128l-185.5,0 l0,288 l 185.5,0 q-3-2.5 -7.25-6.75t-11.25-16.75t-7-24.5q0-12.5 4.75-22t 20.75-26q 7-7.5 7-18.5t-5-23.25t-11.25-24.25t-11.25-24.75t-5-21.25q0-18.5 6.25-38.5t 12.75-30.5zM 336,160\nl-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 336,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25\nt-4.75-11.25t-11.25-4.75zM 464,160l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 l 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,288l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,64 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-48 \nl 48,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"coffeebean\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 463.5,454q-4.5-22.5 -55.5-85.5t-126.25-138.25t-138.25-126.25t-85.5-55.5q 42-39 104.75-47t 130.25,17.25t 121.25,79t 79,121.25t 17.25,130.25t-47,104.75zM 230.25,281.75q 75.25,75.25 138.25,126.25t 85.5,55.5q-42,39 -104.75,47t-130.25-17.25t-121.25-79t-79-121.25t-17.25-130.25\nt 47-104.75q 4.5,22.5 55.5,85.5t 126.25,138.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sunnysideup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,341.5q0,80 -15.75,125.25t-48.25,45.25q-22.5,0 -45.75-5t-42-12.75t-40.25-16.5t-40.25-16.25t-42-12.75t-45.75-5.25q-31.5,0 -57-18.5t-40.5-48.75t-22.75-65.5t-7.75-71.75q0-15 9.75-33t 20.75-31t 27.5-30.75t 22-24.75q 8.5-11 20.25-33.5t 20.75-40.25t 23.75-31.75t 31.25-14q 26.5,0 68.5,10.25t 88,29\nt 86.5,41.5t 66.75,51.5t 26.25,55.25q0,24 -6.5,45.5t-16,36.25t-19,27.5t-16,24t-6.5,20.75zM 192,32q-14.5,0 -28.5,12.25t-22.75,27.5t-20,35.5t-18.75,29.25q-5,6 -19.5,21.75t-24,27t-18,27t-8.5,28.75q0,32 6.75,62.25t 20,56t 35.25,41.25t 50,15.5q 23,0 47,6.5t 44.5,16l 41,19\nt 44.5,16t 47,6.5q 14,0 23.75-12t 15-35t 7.25-49.75t 2-63.25q0-8 6.5-16.75t 16-18.25t 19-21t 16-29.25t 6.5-38.25q0-23.5 -23.75-48.75t-59.5-45.25t-75.5-36.25t-74.75-25.25t-54.5-9zM 224,352q-40,0 -68-28t-28-68t 28-68t 68-28t 68,28t 28,68t-28,68t-68,28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pepperoni\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471.75,471.75q-24.75,24.75 -23.75,40.25q-3,0 -5.75-3t-5.75-7.25t-4.5-5.75q-2-2 -4.5-8.25t-6-16t-6.5-16.75q-42.5,29 -95,24.25t-90-42.25l-155-155q-37.5-37.5 -42.25-90t 24.25-95q-7-3 -16.75-6.5t-16-6t-8.25-4.5q-1.5-1.5 -5.75-4.5t-7.25-5.75t-3-5.75q 16,1 40.5-23.5q 24.5-25 23.5-40.5\nq 3,0 5.75,3t 5.75,7.25t 4.5,5.75q 2,2 4.5,8.25t 6,16t 6.5,16.75q 42.5-29 95-24.25t 90,42.25l 155,155q 37.5,37.5 42.25,90t-24.25,95q 7,3 16.75,6.5t 16,6t 8.25,4.5q 1.5,1.5 5.75,4.25t 7.25,5.75t 3,6q-15.5-1 -40.25,23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"muffin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,192q0,21 -4.5,38t-11,29.75t-20,22.25t-24.25,16t-31.75,10.75t-34.75,6.5t-40.75,3.25t-42.5,1.25t-46.5,0.25t-46.5-0.25t-42.5-1.25t-40.75-3.25t-34.75-6.5t-31.75-10.75t-24.25-16t-20-22.25t-11-29.75t-4.5-38q0-35 19.5-69.25t 54-61.75l-9.5-29l 92-15.5q 48-16.5 100-16.5q 90,0 162.5,47\nl 29.5-15l 48,96l-0.5,0.5q 16.5,32 16.5,63.5zM 470.5,145l-22.5,15l-96-80l 34-17q-59.5-31 -130-31q-39.5,0 -78,10.5l 14,21.5l-96,64l-12.5-37q-24.5,20.5 -38,45t-13.5,49.5q0,41.5 23,65l 9-26.5l 96,32l-18.5,28q 34.5,4 114.5,4q 46,0 68-0.5l 12-47.5l 80-16l 23,40.5q 41-23.5 41-79q0-20 -9.5-40.5z\nM 192,176l 32-80l 96,32l-16,64zM 110,489.5q-46-18 -46-41.5l-32-128q 26.5,13.5 66,21zM 192,508.5q-26-3.5 -49-9l-13-153q 28,3.5 62,4.5l0,157.5 zM 288,352l0,159 q-17,1 -32,1t-32-1l0-159 l 32,0 l 32,0 zM 369,499.5q-23,5.5 -49,9l0-157.5 q 34-1 62-4.5zM 480,320l-32,128q0,23.5 -46,41.5l 12-148.5\nq 39.5-7.5 66-21z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"restaurantmenu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448l-32,0 l0,9.5 q0,26.5 -14.75,42.25t-35.75,11.25l-251-49.5q-21-4 -35.75-25.5t-14.75-48l0-4 l0-314 l0-6 q0-26.5 18.75-45.25t 45.25-18.75l 320,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 96,208.5q0,23 15,42q 2,3 10.75,9.5t 15.5,13.75t 6.75,14.25l0,16 l0,48 \nq0,7.5 15.75,13.75t 48.25,14.25q 19.5,5 33.75,3.75t 22.25-5.75t 8-10l0-32 l0-32 q0-7 6.75-13.25t 16-11.25t 10.75-6.5q 2.5-2 7.25-4.5t 6-5.25t 1.25-9.75q0-22.5 -14.5-41.5t-34.5-23q-12.5-2.5 -23.5,2.5q-15-25.5 -39.75-30.5t-39.25,14.5q-11.5-9 -23.5-11.5q-20.5-4 -34.75,9t-14.25,35.5zM 448,87q0-23 -16.25-39\nt-38.75-16l-232.5,0 l 173,34q 21,4.5 35.75,26t 14.75,47.5l0,276.5 l 9,0 q 22.5,0 38.75-16.25t 16.25-38.75l0-274 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bottle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,480q-2.5,13 -10.75,22.5t-21.25,9.5l-192,0 q-13,0 -21-9.25t-11-22.75l-32-192l0-64 q0-14.5 9.75-24t 28.75-18.75t 23.5-12.25q 20-14 36-33t 23.5-40l-9.5,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 q0,6.5 -4.75,11.25t-11.25,4.75l-9.5,0 \nq 15,40.5 55.5,70q 5.5,4.5 25,14t 30.25,19.5t 10.75,24.5l0,64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"steak\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,488q-19.5,20 -53.25,23.75t-75.25-11t-80.5-46.25q-19.5-16 -44.5-24.5t-47.75-10.75t-44.75-4t-41.25-7.5t-30.75-17.75q-40-40.5 -55.25-102.75t-1.75-124.5t 53.5-102.75t 101.25-54.25t 122.5,1.75t 101.25,56.5q 24.5,24.5 49.25,67.5t 43.5,94t 28.75,101t 4.25,93.75t-29.25,67.75zM 368,95.5\nq-28-28.5 -65.75-45.5t-78.25-18.5q-39-1 -76.5,13t-63.5,40q-55.5,56.5 -52,139q 1,34 12.5,70.25t 26.5,63.25q 7.5,13 26.5,19t 43.75,7.5t 50.75,3t 52.5,8.5t 43.5,21q 35.5,29 66.25,44t 56.25,15.75t 42.5-16.75q 20.5-21 25.5-58.5t-4-80.25t-25.25-86.25t-38-80t-43.25-58.5zM 288,384\nq-18-15 -49.5-22.5t-59.25-8.75t-52.25-5t-31-12.25q-29.5-37 -32-106q-3-71 44.5-120q 22-22.5 54.25-34.75t 65.75-11.25q 34.5,1 67,16t 56.5,39.5q 35.5,36 65.75,113t 30.25,136q0,24.5 -2.75,38.75t-13.25,25.25q-38,38.5 -144-48zM 176,127.5q-20,0 -34,14.25t-14,34t 14,33.75t 34,14t 34-14\nt 14-33.75t-14-34t-34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,416q-36,0 -42,6t-6,42q0,20 -14,34t-34,14t-34-14t-14-34q 0.5-3 0.5-8.25t-0.75-20t-3.5-28t-10-29t-18.25-26.75l-64-64l-64-64q-15.5-15.5 -37.25-23.5t-36.25-9.25t-28.5-0.25q-5,1 -10,1q-20,0 -34-14t-14-34t 14-34t 34-14q 36,0 42-6t 6-42q0-20 14-34t 34-14t 34,14\nt 14,34q0,5 -1,9.5q-1,14 0.25,28.5t 9.25,36.5t 23.5,37.5q 13.5,13 40,39.75t 48.25,48.5l 39.75,39.75q 10.5,10.5 25.25,17.75t 27.5,10.25t 26.75,4t 20.5,0.75t 11-0.75l 0.75,0 l 0.25,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"mushroom\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,256q-26.25,0 -55-8t-60.75-16t-66.25-8t-101,16.5t-95.25,15.5q-98.5-3 -58.5-64q 15-23 32.25-44.75t 45.25-49.75t 57.25-48.25t 68.25-34.5t 78.5-14.25q 50.5,0 92.25,15t 69.25,41t 42.5,61t 15,74.5q0,31 -18.75,47.5t-45,16.5zM 266.5,256q 24.5,0 50,4.5q-17.5,88.5 3.5,203.5\nq 4,20 -0.75,34t-18.25,14l-103.5,0 q-14.5,0 -25.75-13.25t-11.75-31.25q-3-106.5 29-200.5q 46.5-11 77.5-11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cherry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 415.75,384q-39.75,0 -67.75-28.25t-28-67.75q0-6.5 1.5-16q-157-56.5 -247.5-157.5q 21,117.5 87,211q 16.5-5.5 31-5.5q 40,0 68,28t 28,67.75t-28,68t-68,28.25t-68-28t-28-68q0-44 34.5-73.5q-76-106 -94-247q-3,0.5 -4.5,0.5q-13,0 -22.5-9.5t-9.5-22.5l0-32 q0-13.5 9.5-22.75t 22.75-9.25\nt 22.5,9.25t 9.25,22.75q0,3.5 1.5,18.5q 91,123.5 268,189q 12.5-21.5 34.5-34.5t 48-13q 40,0 68,28t 28,67.75t-28.25,68t-68,28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pizza\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,32l-0.25-0.25l-0.25-0.25q-1,0.5 -2.5,1t-2.5,0.5l 197.5,479l-480-192.5l0,0.5 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0,0 l0-5.5 q 31-114.5 115.5-199t 199.5-115.5l 5,0 q 6.5,0 11.25,4.5t 4.75,11.25t-4.75,11.5t-11.25,4.75zM 383.75,416q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25\nt-9.25,22.5t 9.25,22.75t 22.5,9.5zM 127.75,224q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 223.75,128q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 223.75,288q-13.25,0 -22.5,9.25t-9.25,22.5\nt 9.25,22.75t 22.5,9.5t 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 288,255.75q0,13.25 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cupcake\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,320q-69.5,0 -128.5-17.25t-93.25-46.75t-34.25-64q0-40 44.5-72.25t 116.5-46.75q 3.5,37 30.75,62t 64.25,25t 64.25-25t 30.75-62q 72,14.5 116.5,46.75t 44.5,72.25q0,34.5 -34.25,64t-93.25,46.75t-128.5,17.25zM 256,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 110,489.5q-46-18 -46-41.5l-32-160q 26.5,26.5 65,42zM 129.5,340.5q 28,7 62.5,10l0,158 q-26-3.5 -49-9zM 288,351.5l0,159.5 q-17,1 -32,1t-32-1l0-159.5 q 12.5,0.5 32,0.5q 20,0 32-0.5zM 369,499.5q-23,5.5 -49,9l0-158 q 34.5-3 62.5-10zM 480,288l-32,160q0,23.5 -46,41.5\nl 13-159.5q 38.5-15.5 65-42z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fish\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 406,382q-22-57 -22-126t 22-126q 45.5,8 75.75,43.5t 30.25,82.5t-30.25,82.5t-75.75,43.5zM 432,224q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 143,291q-13,4 -24,15.25t-19.25,24t-17.25,25.25t-21.75,20.5t-28.75,8\nq-15.5,0 -23.75-9.5t-8.25-22.5q0-34 21.5-57.25t 57.5-32.75q 1-3.5 1-6t-1-6q-36-9.5 -57.5-32.75t-21.5-57.25q0-12.5 9-22.25t 23-9.75q 16,0 28.75,8t 21.75,20.5t 17.25,25.25t 19.25,24t 24,15.25q 20-23.5 64-45t 88.75-33.5t 77.75-14q-21.5,59.5 -21.5,127.5t 21.5,127.5q-33-2 -77.75-14t-88.75-33.5t-64-45z\nM 320,112zM 272,64q 20,0 34,14t 14,34q-32,0 -82.25,19.5t-93.75,44.5q 13-24 40.5-51t 52.5-44t 35-17zM 201,368q 40,19.5 87,32.5q-9,21.5 -28.5,34.5t-43,13q-12.5,0 -18.25-3.75t-6-11.75t 1.5-16.75l 4.5-22.5t 2.75-24.75l0-0.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"chicken\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448q-6,0 -25-17q-16.5-5.5 -23,1t-1,23q 17,19 17,25q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5q0-6 -2-13.75t-9.5-23.75t-12.5-26.25t-19.5-39.75l-36-34q 0.5-1 3.5-6t 5.75-9t 6.25-7.5t 7.25-6.25t 8.5-5.5t 6.25-3.75l 34.5,36q 29.5,14.5 39.75,19.5t 26.25,12.5t 23.75,9.5t 13.75,2\nq 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25zM 304,304q-6,6 -10.75,15t-9,13t-12.25,4q-22,0 -41.75-5t-32.5-11.75t-32.5-16t-37.25-15.25q-73-24.5 -100.5-54.75t-27.5-89.25q0-59.5 42.25-101.75t 101.75-42.25q 59,0 89.25,27.5t 54.75,100.5q 7,20.5 20.25,46.25t 20.5,47.5t 7.25,50.25\nq0,7.5 -4.25,11.75t-13.25,9.5t-14.5,10.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"rorschach\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,68l-54.5,0 q-13,0.5 -21.75,5.5t-18.25,14.5q-1.5,4.5 -5.5,14t-5.5,14.5q-5.5,21.5 -10.5,28.5q-4.5,6 -17.25,10t-15.75,6.5q-6.5,5 -14.5,18t-10,16q-3,3.5 -4.75,5.25t-5.75,3t-9.5,0.75q-13.5-1.5 -26-36t-10-67.5q 0.5-4.5 5-8t 10.25-5.5t 11.25-6.5t 7.5-10.5q 2.5-9.5 1.5-12.5t-4.25-6.75t-3.75-6.25\nq-0.5-1.5 2.25-5t 2.75-13q0-6.5 4-14.75t 11.25-11.75t 17.75,7.5q 4,4.5 10.25,7.75t 16.25,6.75t 14,5.5q 5.5,2.5 9.5,10.5q 33.5,12.5 59.5,12.5q 8,0 19.5-14t 16-15.5q 15.5-5.5 24.5,15q 7.5,17.5 1,28q-2,3.5 -6.5,3.5zM 331,238q 1-3.5 0.5-6.75t 0.25-6t 3.25-3.25q 5.5-1 17.25,4.75t 15.25,13.75q 3,7.5 -9,23\nq-5,6.5 -1,9.25t 10-0.25q 7.5-3.5 17-13.25t 17-16t 14-4.75q 11,2.5 23,12.5t 18,25.5q 4.5,11 4.75,26.75t-5.75,24.25q-8,8.5 -29.25,10.25t-25.25,3.25q-11,5 -18,12.5t-11,13t-9,7q-8.5,2 -16.5,2.25t-12.75-0.25t-14.25-2.25t-14-2.25q-16-2 -22.75-16t-0.75-28q 2-5.5 7-10.5t 7.5-8t 1-5.5\nt-10.5-2t-11-1.5q-7-9.5 1-29q 4.5-10 16.75-15t 23.5-8.25t 13.75-9.25zM 214.5,303q-1.5,2.5 1,5.5t 7.5,8t 7,10.5q 6,14 -0.75,28t-22.75,16q-4.5,0.5 -14,2.25t-14.25,2.25t-12.75,0t-16.5-2q-5-1.5 -9-7t-11-13t-18-12.5q-4-1.5 -25.25-3.25t-28.75-10.25q-6.5-8.5 -6.25-24.25t 4.75-26.75q 6-15.5 18-25.5t 23-12.5\nq 6.5-1.5 14,4.75t 17,16t 17,13.25q 6,3 10,0.5t-1-9.5q-12-15.5 -9-23q 3.5-8 15.25-13.75t 17.25-4.75q 3,0.5 3.5,3.25t0,6t 0.5,6.75q 2.5,6 14,9t 23.5,8.25t 16.5,15.25q 8,19.5 1,29q-1.5,2 -10.75,1.5t-10.75,2zM 202.5,204.5q-7.5,1 -11.5-1.25t-8.5-7.75q-2-3 -10-16t-14.5-18q-3-2.5 -15.75-6.5t-17.25-10\nq-5-7 -10.5-28.5q-1.5-5 -5.5-14.5t-5.5-14q-9.5-9.5 -18.25-14.5t-21.75-5.5l-54.5,0 q-10.5,0 -9-17.5q 1.5-20 14-27.5q 6.5-4 14-1.5q 4.5,1.5 16,15.5t 19.5,14q 26,0 59.5-12.5q 4-8 9.5-10.5q 4-2 14-5.5t 16.25-6.75t 10.25-7.75q 10.5-11 17.75-7.5t 11.25,11.75t 4,14.75q0,9.5 2.75,13t 2.25,5q-0.5,3 -3.75,6.5t-4.25,6.5\nt 1.5,12.5q 2,6 7.5,10.5t 11.25,6.75t 10.25,5.5t 5,7.75q 2.5,33 -10,67.5t-26,36zM 68.25,170.5q 14.25,0 24.25,5t 10,12.25t-10,12.25t-24.25,5t-24.25-5t-10-12.25t 10-12.25t 24.25-5zM 136,410.5q 5.5-2 14,5t 15,6q 4-0.5 8.75-2.75t 9.25-1.75q 3.5,0 7.5,6.5t 8.75,12.25t 11.25,4.25q 17-3 26.5,4\nq 4,2.5 -0.75,15.25t-14.25,24.5t-17.25,11.5t-12.5-3.5t-6-5t-7.25,0.25q-5.5,2.5 -5.5,4.75t 2.75,4t 5.25,4t 1,4.25q-2,4.5 -10.75,6.5t-14.25,1.5q-9.5-0.5 -23.75-12t-18.25-14q-14.5-7.5 -13-52.5q0-6.5 5.5-11.25t 10.5-6.75t 14.5-4.5q 2-0.5 3-0.5zM 301.5,440q 5,1 9.25-2.25t 6.75-7.75t 5.5-8.75t 6-4.25\nq 4.5-0.5 9.25,1.75t 8.75,2.75q 6.5,1 15-6t 14-5q 1,0 3,0.5q 9.5,2.5 14.5,4.5t 10.5,6.75t 5.5,11.25q 1.5,45 -13,52.5q-4,2.5 -18.25,14t-23.75,12q-5.5,0.5 -14.25-1.75t-10.75-6.25q-1-2 0.5-3.75t 3.75-3t 4-2.75t 0.75-3.5t-5.5-4q-6-2 -7.25-0.25t-6,5t-12.5,3.5t-17.25-11.5t-14.25-24.5t-0.75-15.25\nq 9.5-7 26.5-4zM 409.5,187.75q0-7.25 10-12.25t 24.25-5t 24.25,5t 10,12.25t-10,12.25t-24.25,5t-24.25-5t-10-12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"robocop\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288l-5,0 q-7.5,58 -24.5,96q-18,40 -48.75,69.75t-63.75,44t-64.5,14.25t-64.5-14t-64-43.75t-49-70.25q-17-37.5 -25-96l-7,0 q-13,0 -22.5-9.25t-9.5-22.75l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 4.5,0 q 14.5-55 72.5-91.5t 132.5-36.5t 131.25,36.25t 71.25,91.75l 4,0 q 13,0 22.5,9.25t 9.5,22.75l0,96 \nq0,13.5 -9.5,22.75t-22.5,9.25zM 123.5,368q 7,16 13,27.75t 14.75,25t 19.25,20.25t 21.5,7q 13.5,0 27.75-8t 27.5-16t 24.75-8q 11,0 24.5,8t 27.75,16t 27.75,8q 19.5,0 38.25-24t 32.75-56q 14-31.5 20-80l-340,0 q 7,48.5 20.5,80zM 432,192l-320,0 q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75\nl 320,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aperture\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 362.5,327q 3-5 4.5-7l 110.5-192q 34.5,59.5 34.5,128q0,14 -2,31.5zM 381.5,231l-2-8l-57-214q 82.5,22 135,89.5zM 327,149.5q-5.5-3.5 -7-4.5l-192-110.5q 59.5-34.5 128-34.5q 14,0 31.5,2zM 231,130.5l-8,2l-214,57q 22-82.5 89.5-135zM 149.5,185q-3.5,5.5 -4.5,7l-110.5,192q-34.5-59.5 -34.5-128q0-14 2-31.5\nzM 130.5,281q 1.5,6.5 2,8l 57,214q-82.5-22 -135-89.5zM 185,362.5q 5.5,3.5 7,4.5l 192,110.5q-59.5,34.5 -128,34.5q-14,0 -31.5-2zM 281,381.5q 7-1.5 8-2l 214-57q-22,82.5 -89.5,135z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"quake\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,350l0,98 l-32,64l-32-64l0-98 q-53.5-7 -97.5-33.5t-69.25-67.75t-25.25-88.75q0-28 10.25-58t 32.75-58.5t 53-43.5q-64,78.5 -64,120q0,62 45.75,108.75t 114.25,56.75l0-61.5 l 32-64l 32,64l0,61.5 q 68.5-10 114.25-56.75t 45.75-108.75q0-41.5 -64-120q 30.5,15 53,43.5t 32.75,58.5\nt 10.25,58q0,47.5 -25.25,88.75t-69.25,67.75t-97.5,33.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pokemon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,480q 55.5,0 103.5-25.25t 79.25-69.25t 38.75-97.5l-131.5,0 q-10,28.5 -34.5,46.25\nt-55.5,17.75t-55.5-17.75t-34.5-46.25l-131.5,0 q 8,53.5 39,97.5t 79,69.25t 103.5,25.25zM 320,256q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25zM 458,160l-10,0 l0-18.5 q-4.5-7.5 -8.5-13.5l-23.5,0 l0-28.5 l-1.75-1.75l-1.75-1.75l-28.5,0 l0-23.5 q-8-5.5 -12.5-8.5l-19.5,0 \nl0-10.5 q-15.5-7 -32-12l0,22.5 l-32,0 l0-29.5 q-17.5-2.5 -32-2.5l0,32 l-32,0 l0-29.5 q-17,2.5 -32,7l0,22.5 l-32,0 l0-10.5 q-10.5,5 -19.5,10.5l 19.5,0 l0,32 l-32,0 l0-23.5 q-15,10.5 -28.5,23.5l 28.5,0 l0,32 l-32,0 l0-28.5 q-12.5,13 -23.5,28.5l 23.5,0 l0,32 l-32,0 l0-18.5 q-5.5,9 -10,18.5l 10,0 l0,32 l-22,0 q-5.5,17.5 -7.5,32l 29.5,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 6,0 q 6-17.5 19-32\nl-25,0 l0-32 l 32,0 l0,25 q 14.5-13 32-19.5l0-5.5 l 32,0 q 16,0 32,5.5l0-5.5 l 32,0 l0,25 q 3.5,3 7,7l 25,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 22,0 q-4.5-16.5 -12-32zM 416,192l0-32 l 32,0 l0,32 l-32,0 zM 384,160l0-32 l 32,0 l0,32 l-32,0 zM 352,128l0-32 l 32,0 l0,32 l-32,0 zM 320,96l0-32 l 32,0 l0,32 l-32,0 zM 256,96l0-32 l 32,0 l0,32 l-32,0 zM 192,96l0-32 l 32,0 l0,32 l-32,0 z\nM 192,128l-32,0 l0-32 l 32,0 l0,32 zM 160,160l-32,0 l0-32 l 32,0 l0,32 zM 128,192l-32,0 l0-32 l 32,0 l0,32 zM 224,128l0,32 l-32,0 l0-32 l 32,0 zM 288,128l0,32 l-32,0 l0-32 l 32,0 zM 352,128l0,32 l-32,0 l0-32 l 32,0 zM 384,160l0,32 l-32,0 l0-32 l 32,0 zM 288,128l0-32 l 32,0 l0,32 l-32,0 zM 224,128l0-32 l 32,0 l0,32 l-32,0 zM 224,256.25q0-13.25 9.5-22.75t 22.75-9.5t 22.5,9.25\nt 9.25,22.75t-9.25,22.75t-22.5,9.25t-22.75-9.25t-9.5-22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"xbox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,480q-5.5-2.5 -15.25-7.25t-39.5-21t-59-33.75t-68.75-45t-73.5-55.5q-34,28 -73,55.25t-70,45.75t-57.5,33t-40.75,21.5t-14.75,7q 5-4.5 14-12.75t 34.25-33.75t 48-50.5t 49.75-59.75t 45.5-64.75q-85-85.5 -156.5-190l-3-4.5q 4,4 11.75,11.25t 32,27t 49.25,36.5t 61,35.5t 70,29.25\nq 34-10.5 69.5-28.5t 62-36.75t 48.25-35.75t 32.75-27.5l 11.5-11q-7.5,11.5 -21.5,31t-55.75,71t-82.25,92.5q 18.5,30 45,64t 51.25,61t 46.75,49.25t 35.25,34.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spaceinvaders\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,416l0-96 l-64,0 l0,96 l-32,0 l0-32 l-256,0 l0,32 l-32,0 l0-96 l-64,0 l0,96 l-32,0 l0-128 l 32,0 l0-64 l 64,0 l0-64 l 64,0 l0-32 l 32,0 l0,32 l 128,0 l0-32 l 32,0 l0,32 l 64,0 l0,64 l 64,0 l0,64 l 32,0 l0,32 l0,96 l-32,0 zM 192,224l-64,0 l0,64 l 64,0 l0-64 zM 384,224l-64,0 l0,64 l 64,0 l0-64 zM 288,448l0-32 l 96,0 l0,32 l-96,0 zM 224,448l-96,0 l0-32 l 96,0 l0,32 z\nM 128,96l 32,0 l0,32 l-32,0 l0-32 zM 64,64l 64,0 l0,32 l-64,0 l0-32 zM 384,96l0,32 l-32,0 l0-32 l 32,0 zM 448,64l0,32 l-64,0 l0-32 l 64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"designcontest\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 456,162.5l-127.5,127l-128.5-127.5q-7.5-7.5 -18.25-7.5t-18.25,7.5t-7.5,18.25t 7.5,18.25l 183.5,181.5q 23,23 23,55t-23,54.5t-55.25,22.5t-54.75-22.5l-184-182q-34.5-34.5 -47-81t0-92.75t 47.25-81t 81.75-47t 93.75,0t 81.75,47.25l 18,18l 23.5-23q 10.5-10.5 28.5-14.75t 39.25,1t 36.25,20.25\nq 23.5,23.5 23.75,54.5t-23.75,53.5zM 336,160l-64-64q-31-31 -65-42t-64.5-2.25t-56.5,34.75q-25,25 -34,56.25t-1.5,61t 29.5,52.25l 192,192q 16,16 32,0t0-32l-185.5-186q-23-23 -23-55.5t 23-56q 15-14.5 35.75-20t 39.5-1.75t 30.25,15.25l 80,80q 7.5,7.5 16,7.5t 16-7.5q 16-16 0-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"residentevil\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 352,512l-192,0 l-160-160l0-192 l 160-160l 192,0 l 160,160l0,192 zM 224,256l-192-88.5l0,177 zM 167.5,480l 177,0 l-88.5-192zM 256,224l 88.5-192l-177,0 zM 288,256l 192,88.5l0-177 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tron\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,160l-96,0 q-26.5,0 -45.25,18.75t-18.75,45.25l0,0 l0,256 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-256 l0,0 q0-52 25.75-96.25t 70-70t 96.25-25.75l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,64l-96,0 q-42.5,0 -79.5,22t-58.75,58.75\nt-21.75,79.25l0,0 l0,256 l 64,0 l0-256 q0-36.5 30-66.25t 66-29.75l 96,0 l0-64 zM 160,160l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,64 q0,13.5 -9.25,22.75t-22.75,9.25zM 160,64l-128,0 l0,64 l 128,0 l0-64 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"apple\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,272q0,36 15,64.75t 38.5,40.75q-22,57 -54,95.75t-63.5,38.75q-13.5,0 -26.75-8l-26.5-16t-26.75-8t-26.75,8l-26.5,16t-26.75,8q-25,0 -49.5-26.5t-41.25-65.5t-27-83.25t-10.25-80.75q0-53 37.5-90.5t 90.5-37.5q 13.5,0 28.5,8t 28.25,16t 23.25,8q 11,0 24.25-8t 27.75-16t 28-8\nq 29,0 57.25,12.25t 49.75,33.25q-19.5,14.5 -31.25,40.75t-11.75,57.75zM 272,112q-1-18.5 7.75-39.25t 26.5-38.25t 38.5-26.5t 39.25-8q 1,18.5 -7.75,39.25t-26.5,38.5t-38.5,26.75t-39.25,7.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tetristhree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512l-288,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.25-22.5t 22.75-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,288 l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 224,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,96 q0,6.5 4.75,11.25t 11.25,4.75\nl 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 224,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 224,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25\nt 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 384,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tetristwo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,352l-128,0 l0,128 q0,13 -9.5,22.5t-22.5,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-288 q0-13 9.5-22.5t 22.5-9.5l 128,0 l0-128 q0-13 9.25-22.5t 22.75-9.5l 128,0 q 13,0 22.5,9.5t 9.5,22.5l0,288 q0,13.5 -9.5,22.75t-22.5,9.25zM 224,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 \nq0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 224,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 384,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 384,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tetrisone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,352l-128,0 l0,128 q0,13 -9.25,22.5t-22.75,9.5l-128,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13 9.5-22.5t 22.5-9.5l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 l 128,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,128 q0,13.5 -9.25,22.75t-22.75,9.25zM 224,48q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25\nl0,96 q0,6.5 4.75,11.25t 11.25,4.75l 96,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-96 zM 224,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 224,365q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75\nt-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 zM 384,205q0-5.5 -3.75-9.25t-9.25-3.75l-102,0 q-5.5,0 -9.25,3.75t-3.75,9.25l0,102 q0,5.5 3.75,9.25t 9.25,3.75l 102,0 q 5.5,0 9.25-3.75t 3.75-9.25l0-102 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"darthvader\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 436,230q-14.5-24 -41-33q-34-20.5 -75-30l0-145 q 58.5,12.5 93.25,47.5t 34.75,90q0,46.5 -3,84q-2.5-6 -9-13.5zM 224,161.5l0-114 l0-30 l0-2 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,1.5 l0,30.5 l0,114 q-17-2 -31.75-2t-32.25,2zM 76,229.5q-6.5,8 -9,14q-3-37.5 -3-84q0-54 35-89\nt 93-48l0,144.5 q-41,9.5 -75,30q-26.5,9 -41,32.5zM 144,320q-20,0 -34-14.25t-14-34t 14-33.75t 34-14t 34,14t 14,33.75t-14,34t-34,14.25zM 320,271.75q0-19.75 14-33.75t 34-14t 34,14t 14,33.75t-14,34t-34,14.25t-34-14.25t-14-34zM 144,352q 33,0 56.5-23.5t 23.5-56.5q0-24 -12.75-43.25\nt-33.25-29.25q 39-8 78-8q 38.5,0 78,8q-21,10 -33.5,29.5t-12.5,43q0,33 23.5,56.5t 56.5,23.5q 32.5,0 55.75-22.75t 24.25-54.75l 64,205.5q-8.5,0 -27.25-4.5t-51-13.25t-55.25-14.25q-28,31.5 -64,47.75t-58.5,16.25t-58.5-16.25t-64-47.75q-23,5.5 -55,14.25t-51,13.25t-27.5,4.5l 64-205.5\nq 1,32 24.25,54.75t 55.75,22.75zM 176,448l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25q-1.5-3.5 -4-7l-60-105l-64,0 l-60,105l-4,7q0,6.5 4.75,11.25t 11.25,4.75zM 272,352l 32,64l-96,0 l 32-64l 32,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"ironman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 418.5,416q-12,26 -36.5,51t-54.5,45l-175,0 q-28-18.5 -51.75-44t-36.75-52q-32-64 -32-256q0-17.5 5.5-48.25t 10.5-47.75l 80-48q 49.5-16 113.5-16q 60.5,0 110.5,16l 80,48q 5,17 10.5,47.75t 5.5,48.25q0,192 -29.5,256zM 167.5,480l 147,0 q 44-30.5 69.5-80l-32,16l-32,0 l-24-32l-112,0 l-24,32l-32,0 \nl-32-16q 21.5,45 71.5,80zM 416,96l-81-50q-16.5-5.5 -32.5-8.5l-14.5,58.5q-3.5,13.5 -11.5,22.75t-20.5,9.25l-32,0 q-12,0 -20.25-9.75t-11.75-22.25l-14.5-58q-15,3 -30,8l-83.5,50l0,112 q0,27.5 8,68.75t 8,59.25q0,12 3,25.5l 62.5,31l 30.5-40.5l 128,0 l 30.5,40.5l 62.5-31q 3-14 3-25.5\nq0-17 8-59.25t 8-68.75l0-112 zM 288,208l 96-16l0,32 l-96,32l0-48 zM 96,192l 96,16l0,48 l-96-32l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"batman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,448q-24.5,24.5 -77,44.25t-97,19.75q-45.5,0 -99.5-19.75t-78.5-44.25q-32-32 -32-256l0-176 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l 18.5,74.5q 30-27 71.75-42.75t 87.75-15.75q 45.5,0 86,15.5t 69.5,42l 18.5-73.5q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,176 \nq0,224 -32,256zM 160,224q-13,0 -32.75-10t-26.75-23q-4.5,8.5 -4.5,17q0,21.5 11.5,34.75t 36.5,13.25q 24,0 34.25-7t 13.75-25l-32,0 zM 379.5,191q-7,13.5 -26.25,23.25t-33.25,9.75l-32,0 q 3.5,18 13.75,25t 34.25,7q 25,0 36.5-13.25t 11.5-34.75q0-8.5 -4.5-17zM 240,352l-176-64l0,0 l0,0 l0,0 q0,109 27,136.5\nq 20.5,21 66.5,38.25t 84,17.25q 37.5,0 82-17t 65.5-38.5q 27-27.5 27-136.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spiderman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 431,355q-40.5,33.5 -106,50.5l-66-118.5l 99-178.5q 53,11.5 89.5,29q 2,12.5 2,22.5l0,17.75 l0,25 t-0.5,26t-1.75,31.75t-3.25,30.5t-5.25,33.5t-7.75,30.5zM 360.5,230.5q-23.5,10.5 -47.5,27.25t-24,24.25q0,9.5 2.75,16.25t 9,10.75t 11.75,6.5t 15.5,3.5t 15.75,1.25t 16.75,0.25q 57,0 57-128.5\nq0,0.5 -6.25,6.25t-20.5,15.5t-30.25,16.75zM 391.5,48.5q 35,28.5 49.5,65.5q-28-20 -68-32.5zM 257,64l0-64 q 59.5,3 107.5,30.5l-23.5,42.5q-39-8 -84-9zM 174,440.5q 26,6.5 50.5,8l0,63.5 q-37.5-5 -74.5-28.5zM 224.5,349l0,67 q-18.5-1 -35-3.5zM 224.5,96l0,129 l-67.5-122.5q 34.5-5.5 67.5-6.5zM 117.5,31.5\nq 48-27.5 107-31.5l0,64 q-45,1.5 -84,9.5zM 90.5,49.5l 18,32q-40,12.5 -67.5,32q 14.5-36 49.5-64zM 222.5,287l-66,119q-62.5-16 -102.5-48.5q-22-69.5 -22-197.5q0-10 2.5-22.5q 36.5-17.5 89-28.5zM 64,192q0,128.5 57,128.5q 11,0 16.75-0.25t 15.75-1.25t 15.5-3.25t 11.75-6.5t 9-11t 2.75-16.25q0-7.5 -24-24.25\nt-47.5-27.25q-16-7 -30.25-16.75t-20.25-15.75zM 124,464.5q-37-31.5 -57.5-75.5q 32,26 76,42zM 257,225l0-129 q 33.5,1 68,6.5zM 257,416.5l0-67.5 l 35,63.5q-18,3 -35,4zM 332,484.5q-38,23.5 -75,27.5l0-63.5 q 24.5-1.5 50.5-8zM 358.5,465.5l-19.5-35q 47.5-17 81-45.5q-21.5,47 -61.5,80.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spider\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320q0,21.5 -0.25,32.75t-2,30.75t-5.75,33t-10.75,30.75t-18.25,33.25t-27,31.5q 14.5-44 22.25-79.5t 8.75-49.25t 1-31.25q0-11.5 -7.25-21.5t-18.5-16.75t-21.5-11.25t-20.25-7.5q 3.5,11 3.5,25q0,15 -0.25,24.5t-2,28t-6,31.75t-10.75,28.75t-18,27.5t-27,19.5q 15-29.5 22.5-57.5t 8.5-42t 1-35.5\nq0-23.5 -9-35.75t-26.5-17.25q-5.5,34.5 -17.75,70t-28.5,60.75t-30.25,25.25t-30.25-25.25t-28.5-60.75t-17.75-70q-17.5,5 -26.5,17.25t-9,35.75q0,21.5 1,35.5t 8.5,42t 22.5,57.5q-15.5-7.5 -27-19.5t-18-27.5t-10.75-28.75t-6-31.75t-2-28t-0.25-24.5q0-14 3.5-25q-10,3 -20.25,7.5t-21.5,11.25t-18.5,16.75\nt-7.25,21.5q0,17.5 1,31.25t 8.75,49.25t 22.25,79.5q-18-18 -31-41.25t-19.25-42.25t-9.5-43.5t-3.75-36t-0.5-29q0-13.5 5.75-23.75t 17.25-17t 25.25-11.25t 33-7t 37.25-3.5t 41.5-1.5l0,0 q-25.5-0.5 -43.5-2t-35-5.5t-27.25-10.75t-16.25-18.25t-6-27.5q0-17.5 0.5-29t 3.75-36t 9.5-43.25t 19.25-42.25t 31-41.5q-32,96 -32,179.5\nq0,27.5 35.5,37.5q-3.5-11 -3.5-25q0-15 0.25-24.5t 2-28t 6-31.75t 10.75-28.75t 18-27.5t 27-19.5q-15,29.5 -22.5,57.5t-8.5,42t-1,35.5q0,27 11.75,39.25t 34.75,15.75q 12-13.5 30.25-21.75t 35.25-8.25t 35.25,8.25t 30.25,21.75q 23-3.5 34.75-15.75t 11.75-39.25q0-21.5 -1-35.5t-8.5-42t-22.5-57.5q 15.5,7.5 27,19.5t 18,27.5\nt 10.75,28.75t 6,31.75t 2,28t 0.25,24.5q0,14 -3.5,25q 35.5-10 35.5-37.5q0-83.5 -32-179.5q 15.5,15.5 27,31.5t 18.25,33.25t 10.75,30.75t 5.75,33t 2,30.75t 0.25,32.75q0,16 -6,27.5t-16.25,18.25t-27.25,10.75t-35,5.5t-43.5,2l0,0 q 23.5,0.5 41.5,1.5t 37.25,3.5t 33,7t 25.25,11.25t 17.25,17t 5.75,23.75z\nM 192,144q0-20 14-34t 34-14t 34,14t 14,34t-14,34t-34,14t-34-14t-14-34z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"xmen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,416q 39,0 74-18l-74-74l-74,74q 35,18 74,18zM 114,330l 74-74l-74-74q-18,35 -18,74t 18,74\nzM 256,96q-39,0 -74,18l 74,74l 74-74q-35-18 -74-18zM 398,182l-74,74l 74,74q 18-35 18-74t-18-74z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"spawn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 235,334q-19-3 -31-11.25t-12-18.75q0-10 11.75-18.25t 30.75-11.75\nq-10-31.5 -35.5-67.75t-55-64.75q 34-15.5 55.25-44t 23.25-62.5q-53.5,8 -97,39t-68.5,79t-25,103q0,57.5 27,107t 73.75,80.25t 103.25,35.75q-9.5-1 -19-2.5q-12-35.5 -43.5-59.5q 20-15 37-36.5t 24.5-46.5zM 289.5,35q 2,34 23.25,62.5t 55.25,44q-29.5,28.5 -55,64.75t-35.5,67.75\nq 19,3.5 30.75,11.75t 11.75,18.25q0,10.5 -12,18.75t-31,11.25q 7.5,25 24.5,46.5t 37,36.5q-31.5,24 -43.5,59.5q-9.5,1.5 -19,2.5q 56.5-5 103.25-35.75t 73.75-80.25t 27-107q0-55 -25-103t-68.5-79t-97-39zM 352,352q 8-3 15-6.75t 11.25-6.5t 10.25-8t 8.5-7.5t 9.5-9.5t 9.5-9.75q 7.5-7.5 11.75-23.5t 4.25-24.5\nq 5.5,0 10.75,9.75t 5.25,22.25q0,46 -30.5,57.5q-16.5,6.5 -65.5,6.5zM 64,288q0-12.5 5.25-22.25t 10.75-9.75q0,8.5 4.25,24.5t 11.75,23.5q 2.5,2.5 9.5,9.75t 9.25,9.5t 8.5,7.5t 10.5,8t 11.25,6.5t 15,6.75l-0.5,0 l-16.5,0 t-15-0.5t-14.25-1.25t-12.25-2.25t-11.25-4l-9-6t-7.75-8.25t-5-10.75t-3.5-13.75\nt-1-17.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"punisher\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 402.5,288.5q 13.5,12.5 13.5,31.5q0,47.5 -64,67l0,109 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 l0-32 l0-6 l-0.5,0.25l-0.5,0.25q-4-10.5 -15-10.5q-6,0 -10.5,4t-5,10l-0.5,0 l0,2 l0,32 l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 l0-32 l0,0 q0-7 -4.75-11.5t-11.25-4.5\nt-11.25,4.5t-4.75,11.5l0,0 l0,32 l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-64 l0-32 l0-2 l-0.5,0 q-0.5-6 -5-10t-10.5-4q-11,0 -15,10.5l-0.5,0 t-0.5-0.5l0,6 l0,32 l0,64 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-109 q-64-19.5 -64-67q0-19 13.5-31.5q-45.5-47.5 -45.5-112.5q0-36 15.25-68.5\nt 42.25-56t 66-37.5t 84.5-14t 84.5,14t 66,37.5t 42.25,56t 15.25,68.5q0,65 -45.5,112.5zM 128,176q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25q0,35.5 18.5,57.75t 45.5,22.25q 32,0 32-16q-64-32 -64-64zM 208,288q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75q 12,0 14-2\nt 2-14t-2-14t-14-2zM 272,288q-12,0 -14,2t-2,14t 2,14t 14,2q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 368,160q-6.5,0 -11.25,4.75t-4.75,11.25q0,32 -64,64q0,16 32,16q 27,0 45.5-22.25t 18.5-57.75q0-6.5 -4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"avengers\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 288,445l0-61 l-128,0 l-14.5,29q 50,35 110.5,35q 15,0 32-3zM 192,320l 96,0 l0-192 zM 64,256q0,54.5 29,101.5l 146.5-292.5\nq-74,6 -124.75,61t-50.75,130zM 352,90l0,332 q 44-25.5 70-69.5t 26-96.5t-26-96.5t-70-69.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"captainamerica\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,32q-45.5,0 -87,17.75t-71.5,47.75t-47.75,71.5t-17.75,87t 17.75,87t 47.75,71.5t 71.5,47.75t 87,17.75\nt 87-17.75t 71.5-47.75t 47.75-71.5t 17.75-87t-17.75-87t-47.75-71.5t-71.5-47.75t-87-17.75zM 350,385.5l-32.5-109.5l 90.5-69.5q 8,24.5 8,49.5q0,39 -17.75,73t-48.25,56.5zM 294,203.5l-38-107.5q 52.5,0 94.5,31t 57.5,79.5zM 104,206.5q 15.5-48.5 57.5-79.5t 94.5-31l-38,107.5zM 194.5,276l-32.5,109.5\nq-30.5-22.5 -48.25-56.5t-17.75-73q0-25 8-49.5zM 256,320.5l 94,65q-42,30.5 -94,30.5t-94-30.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"greenlantern\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 327,64q 53.5,24.5 87.25,78t 33.75,114t-33.75,114t-87.25,78l 121,0 l 32,64l-448,0 l 32-64l 121,0 q-53.5-24.5 -87.25-78t-33.75-114t 33.75-114t 87.25-78l-121,0 l-32-64l 448,0 l-32,64l-121,0 zM 128,256q0,53 37.5,90.5t 90.5,37.5t 90.5-37.5t 37.5-90.5t-37.5-90.5t-90.5-37.5t-90.5,37.5t-37.5,90.5z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"superman\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,182.5l-224,256q-9,9.5 -22.25,9.5t-22.75-9.5l-224-256q-9.5-9 -9.5-22.25t 9.5-22.75l 64-64q 9.5-9.5 22.5-9.5l 320,0 q 13,0 22.5,9.5l 64,64q 9.5,9 9.5,22.5t-9.5,22.5zM 256,416l 57.5-65.5q-10,1.5 -19.5,1.5l-46,0 q-29.5,0 -52.5-5zM 144,288l 48,0 q0,16 14.25,24t 33.75,8l 32,0 q 28.5,0 38.25-6.5\nt 9.75-25.5q0-14.5 -15.5-23.25t-48.5-8.75q-38.5,0 -60-0.5t-48.25-3.75t-43.75-9.25zM 96,96l-64,64l 32.5,37l-0.25-2t-0.25-3q0-23.5 22.5-46.25t 54.5-36.25t 61-13.5l-106,0 zM 272,96q 69,0 91,35l 21-35l-112,0 zM 434.5,114.5l-34.5,45.5l-64,0 q0-11 -11.5-18.5t-25.5-10.5t-27-3l-48,0 q-31,0 -47.5,7.25t-16.5,24.75\nq0,13 30,22.5t 66,9.5q 36.5,0 62.5,5.25t 39.75,14.75t 19.75,20.25t 6,23.75q0,5 -1,15l 97-111z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"weight\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 471,512l-430,0 q-15.5,0 -25-6.5t-12.75-16.25t-3-22.5t 2.75-23.5t 6-21.25l 45-245q 7-23.5 27.5-36.25t 44.5-12.75l 40,0 q-6-16.5 -6-32q0-40 28-68t 68-28t 68,28t 28,68q0,15.5 -6,32l 40,0 q 24,0 44.5,12.75t 27.5,36.25l 45,245q 3.5,10.5 6,21.25t 2.75,23.5t-3,22.5t-12.75,16.25t-25,6.5zM 256,64\nq-13.5,0 -22.75,9.25t-9.25,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.75-9.25zM 304,384l-16,0 q-12,0 -22-10.5t-10-21.5l0-32 l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75l-16,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-16,0 q-6.5,0 -11.25,4.75\nt-4.75,11.25t 4.75,11.25t 11.25,4.75l 16,0 l0,32 q0,24 20,44t 44,20l 16,0 q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"bread\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384.5,314.5q 9,8.5 33.5,4t 45-19.5q 25,39.5 37.25,74.25t 11.75,59.75t-6.75,42.25t-17.75,28.25q-23,23.5 -72.75-15.25t-164.75-154.25l-36-36q-120.5-120.5 -144.5-146q-68.5-74.5 -69.5-106q-0.5-12.5 8.5-21.5q 10.5-10.5 26.5-16.75t 38.75-7.5t 54.5,8.5t 67.75,30.25q-4,5.5 -5.5,7q-13,15 -30.25,27\nt-31.75,17.5q 5.5,4.5 16.75,5.25t 24.25-2.5t 26.75-11t 23.75-18.75q0-0.5 4.5-6.5q 46.5,31 98.5,79.5q-0.5,0 -2,2.25t-2.5,3.25q-13.5,15 -30.5,27t-31.5,17.5q 5.5,4.5 16.75,5.25t 24-2.5t 26.5-11t 23.75-18.25l 1.25,1.25l 1.25,1.25q 56.5,56.5 94.5,109.5q-29.5,31.5 -60,42.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"microwave\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,448l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-320,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-320 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,320 q0,13.5 -9.25,22.75t-22.75,9.25zM 432,320\nq 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 400,352q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 400,288q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25\nt 4.75,11.25t 11.25,4.75zM 352,160q0-13.5 -9.25-22.75t-22.75-9.25l-256,0 q-13,0 -22.5,9.25t-9.5,22.75l0,192 q0,13 9.5,22.5t 22.5,9.5l 256,0 q 13.5,0 22.75-9.5t 9.25-22.5l0-192 zM 480,144q0-6.5 -4.75-11.25t-11.25-4.75l-64,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 64,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-32 zM 464,256q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 464,320q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"candy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,384q-48,24 -76,52t-52,76q0-8 -0.75-16.25t-2.75-18t-3.5-16.75t-5-18.25t-4.75-16t-5.25-17t-5-14.75q-85,59.5 -192.25-47.75t-47.75-192.25q-2-0.5 -14.5-4.75t-17.25-5.5t-16-4.75t-18.25-5t-16.75-3.5t-18-2.75t-16.25-0.75q 48-24 76-52t 52-76q0,8 0.75,16.25t 2.75,18\nt 3.5,16.75t 5,18.25t 4.75,16t 5.5,17.25t 4.75,14.5q 85-59.5 192.25,47.75t 47.75,192.25q 2.5,0.5 14.75,4.75t 17,5.5t 16,4.75t 18.25,5t 16.75,3.5t 18,2.75t 16.25,0.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"teapot\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192q0,64 -32,64q-1.5,0 -2.5,2.5q 2.5,16 2.5,29.5q0,54 -27.25,107.25t-71.25,84.75l-187,0 q-49.5-35.5 -77.5-98.5q-9,2.5 -21,2.5q-17,0 -32-23.25t-23.5-56.25t-8.5-64.5q0-80 64-80q 25.5,0 40,11q 27-35 66.75-55t 85.25-20q 48.5,0 90.5,22.75t 68.5,61.75q 1-3 1-4.5q0-33 23.5-56.5\nt 56.5-23.5q 8,0 16,1.5l0,62.5 q-13.5,0 -22.75,9.25t-9.25,22.75zM 64,192q-32,0 -32,57q0,28.5 13.75,60.25t 27.75,40.25q-9.5-32.5 -9.5-61.5q0-42.5 18.5-81.5q-8.5-14.5 -18.5-14.5zM 224,63.75q0-13.25 9.25-22.5t 22.5-9.25t 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.75,9.5t-22.5-9.5t-9.25-22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fishbone\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,384q-17-17 -23.75-40.75t-7.75-55.25l-32.5,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-32,0 l0,80 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-80 l-32,0 l0,48 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-48 l-32,0 l0,16 q0,6.5 -4.75,11.25\nt-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-39,0 q-10,26.5 -29.25,49.25t-43.75,30.75q-0.5-2.5 -8.25-7.75t-7.75-8.25q0-39.5 15.25-62.5t 48.75-30l0-7 q-33.5-7 -48.75-30t-15.25-62.5q0-3 7.75-8.25t 8.25-7.75q 24.5,8 43.75,30.75t 29.25,49.25l 39,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 \nl 32,0 l0-48 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,48 l 32,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l 32,0 l0-80 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,80 l 32.5,0 q 1-31.5 7.75-55.25t 23.75-40.75q 44,7.5 70,43.5t 26,84.5t-26,84.5t-70,43.5zM 432,224\nq-6.5,0 -11.25,4.75t-4.75,11.25l0,0 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"foursquare\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 499,163l-87,79l 29,29q 7,7 7,17t-7,17l-168.5,168q-7,7 -16.75,7t-16.75-7l-157.5-157.5q-36-10.5 -58.75-40t-22.75-67.5q0-46 32.75-79t 79.25-33q 27,0 50.25,12t 38.75,33l 38-38q 7-7 16.75-7t 16.75,7l 68.5,68l 158-169q 6.5-7 11,7.5q 2,5.5 2,10.5l0,113 \nq0,6.5 -3.75,15.25t-9.25,14.75zM 270,134q-6-6 -14.25-6t-13.75,6l-28.5,28q 10.5,22.5 10.5,46q0,18.5 -7,38l 27,28.5l 80.5-86zM 394.5,258l-137.5,124.5q-3.5,3 -10,0.75t-12.5-6.75l-6-4l-65.5-65q-20.5,10.5 -44,12l 123,122.5q 5.5,6 13.75,6t 14.25-6l 140-140q 6-6 6-14t-6-14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stiletto\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 473,234q-25,90 -25,150l0,96 l-32,0 l0-128 q0-63.5 -21-87.5q-11.5,9 -24.5,29.75t-23.75,44t-24.75,49t-27.5,46t-32,33.5t-38.5,13.25q-51,0 -100.75-5t-86.5-16.5t-36.75-26.5q0-13 32.5-39.5t 71-48.5t 56.5-24q 9,9 15.25,14.25t 20.25,11.5t 28.5,6.25q 11.5,0 43.5-41.25t 64.75-94.5t 58.25-107.5\nt 25.5-76.75q 40,0 68,32.75t 28,79.25q0,27 -10.5,50.5t-28.5,39.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nail\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 510.5,510.5q-8,8 -56.75-26.5t-65.75-51.5l-263.5-263.5q-114.5,27.5 -119.5,22q-5-4.5 -5-11.25t 5-11.75l 163-163q 5-5 11.75-5t 11.25,5q 5.5,5 -22,119.5l 263.5,263.5q 17,17 51.5,65.75t 26.5,56.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nut\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512l-224-128l0-256 l 224-128l 224,128l0,256 zM 256.25,160q-39.75,0 -68,28t-28.25,68t 28,68t 68,28t 68-28t 28-68t-28-68t-67.75-28z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"screw\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,128l-32,0 l-32,32l-96-32l-96,0 l 192,64l 32,32l-32,32l-192-64l-32-32l 32-32l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 352,288l 32,32l-32,32l-192-64l-32-32l 32-32zM 352,384\nl 32,32l-32,32l-192-64l-32-32l 32-32zM 352,480l-32,32l-64,0 l-96-32l-32-32l 32-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"windright\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512q-13.5,0 -22.75-9.5t-9.25-22.5l0-307.5 l-128,76.5l0,7 l-9.5-1.5q-7.5,3 -15-2l-274-39.5q-9-1 -15.25-7.75t-6.25-15.75l0-123 q0-9 6.25-16t 15.25-7.5l 274-39.5q 7.5-5 15-2l 9.5-1.5l0,7 l 128,76.5l0-51.5 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,448 q0,13 -9.25,22.5t-22.75,9.5zM 64,78\nl-15.5,2q-7,1 -11.75,6t-4.75,12l0,60 q0,7 4.75,12t 11.75,6l 15.5,2l0-100 zM 192,61l-64,8.5l0,117 l 64,8.5l0-134 zM 288,48l-32,4.5l0,151 l 32,4.5l0-160 zM 320,45l0,166 l 128-76l0-14 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"windleft\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 490.5,213l-274,39.5q-7.5,5 -15,2l-9.5,1.5l0-7 l-128-76.5l0,307.5 q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l0-448 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,51.5 l 128-76.5l0-7 l 9.5,1.5q 7.5-3 15,2l 274,39.5q 9,1 15.25,7.75t 6.25,15.75l0,123 q0,9 -6.25,15.75t-15.25,7.75z\nM 64,121l0,14 l 128,76l0-166 zM 256,52.5l-32-4.5l0,160 l 32-4.5l0-151 zM 384,69.5l-64-8.5l0,134 l 64-8.5l0-117 zM 480,98q0-7 -4.75-12t-11.75-6l-15.5-2l0,100 l 15.5-2q 7-1 11.75-6t 4.75-12l0-60 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"tank\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 484,219.5l 25,64q 6,14.5 0.5,25.5t-19.5,11l-35,0 q 13,14.5 19,32l 22,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75l-16,0 q0,12.5 -4.5,27l 12.5,7q 6,3.5 7.5,10t-1.75,12t-9.5,7.25t-12.25-1.25l-10-6q-4.5,6 -11.5,13l 11.5,19q 3.5,6 1.75,12.25t-7.5,9.5t-12.25,1.75t-10-7.5l-10-17\nq-19.5,9 -40,9l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 \nl0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-22 q-10.5-4 -18.5-9l-21.5,13q-6,3 -12.25,1.25t-9.5-7.25t-1.5-12t 7.25-10l 12.5-7q-9.5-12.5 -14.5-27l-22,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 16,0 q0-12.5 4.5-27l-12.5-7q-5.5-3.5 -7.25-9.75t 1.5-12t 9.5-7.5t 12.25,1.25l 10.5,6\nq 2.5-4 6.5-8l-31.5,0 q-13.5,0 -20.75-11t-3.75-25.5l 15.5-64q 2.5-11.5 12.5-19.5t 21.5-8l 71,0 q-13.5,0 -20.75-10.75t-3.75-25.75l 15.5-63.5q 2.5-12 12.5-20t 21.5-8l 139.5,0 q 9.5,0 19,6t 15.5,15l 142.5-80.5q 11.5-6.5 24.5-3.25t 19.75,14.75t 3.25,24.25t-15,19.75l-150.5,85l 4,10.5q 6,14.5 0.5,25.5t-19.5,11l 116,0 q 11.5,0 22.5,8t 15.5,19.5z\nM 128.25,352q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5zM 256.25,352q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5zM 384.25,352q-13.25,0 -22.75,9.5t-9.5,22.5t 9.5,22.5t 22.75,9.5t 22.5-9.5t 9.25-22.5t-9.25-22.5t-22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"travel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45.25t 45.25-18.75l 64,0 l0-48 q0-34 25.5-57t 54.5-23l 96,0 q 29,0 54.5,23t 25.5,57l0,48 l 64,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,256 q0,26.5 -18.75,45.25t-45.25,18.75zM 144,224q-20,0 -34,14t-14,34t 14,34t 34,14t 34-14t 14-34\nt-14-34t-34-14zM 320,96q0-13.5 -9.25-22.75t-22.75-9.25l-64,0 q-13,0 -22.5,9.25t-9.5,22.75l0,32 l 128,0 l0-32 zM 416,320l-128,32l 32,96l 128-32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"blackberry\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 509.75,240.25q-6.25,19.75 -24.5,34t-38.25,14.25l-79.5,0 l 32-96l 77,0 q 20,0 29.75,14t 3.5,33.75zM 303.5,192.5l-80,0 l 32-96l 77.5,0 q 19.5,0 29.25,14t 3.75,34t-24.25,34t-38.25,14zM 301,224.5q 19.5,0 29.25,14t 3.75,33.75t-24.25,33.75t-38.25,14l-80,0 l 32-95.5l 77.5,0 zM 112,192.5l-80,0 l 32-96l 77,0 \nq 20,0 29.75,14t 3.75,34t-24.5,34t-38,14zM 109,224.5q 20,0 29.75,14t 3.75,33.75t-24.5,33.75t-38,14l-80,0 l 32-95.5l 77,0 zM 269,352q 19.5,0 29.25,14t 3.75,34t-24.25,34t-38.25,14l-80,0 l 32-96l 77.5,0 zM 444.5,320q 20,0 29.75,14.25t 3.75,34t-24.5,33.75t-38,14l-80,0 l 32-96l 77,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"firefox\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5q0-52 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 116.5,81q 2,3 7.5,7q 5,4 14.75,3.75t 15.25,0.25q 12.5-15.5 26.5-23.5q 8-5 19.75-8\nt 19.25-3.5l 7.5-1q-3,3.5 -7.75,9.25t-13.25,21.75t-10,30q 2,2 14.25,5.25t 13.75,5.75l 32,0 q 6.5,0 9,11.5t-1.5,18.5q-2.5,0.5 -12.75,6.5t-25.25,15t-21.5,12.5q-1,2 -1.5,2.5q-1,2 1.75,16.75t-1.25,24.75q-0.5,1 -2.25,0.25t-5.25-2.75t-6-3q-4-2 -8.75-2.5t-4.75,0q-5.5,7.5 -8.5,14q 1.5,8.5 2.5,10.5\nq 6.5,13.5 19,25.25t 28.5,13.75q 9,1 18.25-3.75t 16-11.25t 15.75-12t 16.5-5q 18.5,0 30.5,6.25t 12,17.25q0,3 -3,5.5l 0.25,0.25t 0.75,0.25q-1.5,1.5 -4.5,2.5t-5.25,1.5t-6.5,0.75t-5.25,0.25q-6,1 -15,12.25t-16,13.75q-8.5,3 -20.5,12.25t-22.75,15.25t-20.75,4.5q 2.5,3 1,3.5q-0.5,0 2,2.5\nq 21.5,16 58.5,15.5q-8.5,5 -24,6.5q 9.5,4 19.5,6.5q 38,2.5 61.5-5.5t 42-28.5q-2,13 -10,24.5q 3.5-1.5 7.5-4q 24.5-25 34.5-46.5t 9-45.5l0-1.25 l0-1.25 q0-4 -0.5-6.5q 7.5,9 10.5,21q 1.5-58.5 -12-82q 19.5,11.5 30.5,32q 0.5-59 -18.5-97q 14.5,10 25.5,23q-9.5-42.5 -40-79.5q-63.5-57.5 -149-57.5q-78,0 -139.5,49z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"alienship\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,384q-69.5,0 -128.5-10.75t-93.25-29.25t-34.25-40.25t 34.75-40t 93.25-28.75l0-43 q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5l0,43 q 58.5,10.5 93.25,28.75t 34.75,40t-34.25,40.25t-93.25,29.25t-128.5,10.75zM 352,200.5q0-43 -28-73.75t-68-30.75t-68,30.75t-28,73.75l0,34 q 45,21.5 96,21.5\nt 96-21.5l0-34 zM 479,375q-7.5,31 -71.5,52t-151.5,21t-151.5-21t-71.5-52q 33.5,19 93,30t 130,11t 130-11t 93-30z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pictureframe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-480,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-352 q0-6.5 4.75-11.25t 11.25-4.75l 105.5,0 l 122.5-122.5l 0.25-0.5l 0.25-0.5q 5-4.5 11.5-4.5t 11.5,4.5l 0.25,0.5l 0.25,0.5l 122.5,122.5l 105.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,352 q0,6.5 -4.75,11.25t-11.25,4.75zM 256,38.5l-89.5,89.5l 179,0 zM 448,192l-384,0 l0,256 l 384,0 l0-256 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"thissideup\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-32 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13.5,0 22.75,9.5t 9.25,22.5l0,32 q0,13.5 -9.25,22.75t-22.75,9.25zM 448,128l0,192 q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-192 l-60,0 q-4-4 -4-10t 4-10.5l 98-103q 4-4.5 9.75-4.5t 9.75,4.5l 98.5,103\nq 4,4.5 4,10.5t-4,10l-60,0 zM 160,128l0,192 q0,13.5 -9.25,22.75t-22.75,9.25l-32,0 q-13,0 -22.5-9.25t-9.5-22.75l0-192 l-60,0 q-4-4 -4-10t 4-10.5l 98-103q 4.5-4.5 10-4.5t 10,4.5l 98,103q 4,4.5 4,10.5t-4,10l-60,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"breakable\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,349l0,99 l 64,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25l 64,0 l0-99 q-68.5-13 -114.25-71.75t-45.75-136.25q0-80.5 49-141l 111,0 l 32,96l-96,32l 96,160l-32-128l 96-32l-32-128l 110.5,0 q 49.5,60.5 49.5,141\nq0,77.5 -45.75,136.25t-114.25,71.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wind\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,256l-352,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 6,0 l 90,0 q 13.5,0 22.75-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q 3,0 6.5,0.5q 37.5,2.5 63.5,30t 26,65.5q0,15.5 -6,32l 6,0 l 49.5,0 l 110.5,0 q 26.5,0 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75t-45.25,18.75\nt-18.75,45.25q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5q0-53 37.5-90.5t 90.5-37.5t 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 32,288l 160,0 q 2,0 5.5,0.5q 5.5-0.5 10.5-0.5q 46.5,0 79.25,32.75t 32.75,79.25q0,24 -6.75,43.75t-21.25,35.25t-39.75,24.25t-60.25,8.75q-13.5,0 -22.75-9.5t-9.25-22.75t 9.5-22.5\nt 22.5-9.25q 15.5,0 26.75-1.5t 18.25-5.25t 11-7t 5.75-10.25t 2-11.25t 0.25-12.75q0-20 -14-34t-34-14l-101,0 l-75,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.25-22.5t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"searchfolder\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-192 l0-32 l0-32 q0-13 9.5-22.5t 22.5-9.5l 32,0 l 352,0 l 32,0 l 64,0 l0,63.5 l0,0.5 l0,224 q0,26.5 -18.75,45.25t-45.25,18.75zM 349,387.5l-45.5-46q 16.5-24 16.5-53.5q0-39.5 -28-67.75t-68-28.25t-68,28.25t-28,68t 28,67.75t 68,28q 29.5,0 53.5-16.5l 46,46q 2.5,2.5 6.25,2.5\nt 6.75-2.5l 12.5-13q 3-3 3-6.75t-3-6.25zM 224,352q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 295,86q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25t 14.5,15.75l 24,42l-240,0 zM 23,54q 3.5-9.5 14-15.75t 22-6.25l 120,0 q 12,0 22.5,6.25\nt 14.5,15.75l 24,42l-240,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"searchdocument\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-13,0 -22.5-9.25t-9.5-22.75l0-447.5 q0-13.5 9.5-22.75t 22.5-9.25l 224,0 l0,176 q0,6.5 4.75,11.25t 11.25,4.75l 176,0 l0,0.5 l0,287 q0,13.5 -9.25,22.75t-22.75,9.25zM 317.5,419.5l-46-46q 16.5-24 16.5-53.5q0-40 -28-68t-67.75-28t-68,28t-28.25,68t 28.25,68t 67.75,28q 29.5,0 53.5-16.5l 46,46\nq 2.5,2.5 6.25,2.5t 6.75-2.5l 13-13q 2.5-3 2.5-6.75t-2.5-6.25zM 192,384q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 320,0q 13,0 22,9l 128.5,128.5q 9.5,9.5 9.5,23l-160,0 l0-160.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cricket\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 502,454.5l-47.5,47.5q-9.5,10 -23.5,10t-24-10l-237-237q-10-10 -10-24t 10-23.5l 4.5-4.5l-75-75l-88.5-48q-11-10.5 -11-26t 11-26.5l 26.5-26.5q 11-11 26.5-11t 26,11l 48,88.5\nl 75,75l 4.5-4.5q 9.5-10 23.5-10t 24,10l 237,237q 10,10 10,24t-10,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"safetypin\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 475.5,475.5q-36.5,36.5 -87.75,36.5t-87.75-36.5l-263.5-263.5q-36.5-36.5 -36.5-87.75t 36.5-87.75t 87.75-36.5t 87.75,36.5l 263.5,263.5q 36.5,36.5 36.5,87.75t-36.5,87.75zM 256,128q-13,0 -35-0.5t-30-0.5t-19,2.25t-18.5,7.75q-10.5-14.5 -10.5-35.25t-6-25.75q-12.5-12.5 -30.25-12.5t-30.5,12.75t-12.75,30.5t 12.5,30.25\nq 6,5.5 15.5,5.5t 21.75,1.25t 23.25,9.75q-5,7.5 -7.5,18t-2.5,18.75t 0.75,29.75t 0.75,36l 128,132l0-1.75 l0-2.25 q0-53 37.5-90.5t 90.5-37.5l 2.25,0 l 1.75,0 zM 384.25,288q-39.75,0 -68,28.25t-28.25,68t 28.25,67.75t 68,28t 67.75-28t 28-67.75t-28-68t-67.75-28.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"razor\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,325.5q-5.5-5.5 -13.5-5.5t-13.5,5.5t-5.5,13.25t 5.5,13.25l 29.5,29l-101.5,101.5l-29-29q-5.5-5.5 -13.25-5.5t-13.5,5.5t-5.75,13t 5.5,13l 9.5,9.5l-23,23l-311.5-311.5l 23-23l 9,9q 5.5,5.5 13.5,5.5t 13.5-5.5t 5.5-13.25t-5.5-13.25l-29.5-29l 101.5-101.5l 29,29q 5.5,5.5 13.25,5.5t 13.25-5.5t 5.5-13.25t-5.5-13.25\nl-9-9l 23-23l 311.5,311.5l-23,23zM 412,355.75q-4-3.75 -9.5-3.75t-9,4l-10,9.5l-45-45l 9.5-10q 4-4 4-9.5t-4-9.25t-9.5-3.75t-9,4l-10,9.5l-34-34q 2.5-5.5 2.5-11.5q0-13 -9.25-22.5t-22.75-9.5q-6,0 -11.5,2.5l-34-34l 9.5-10q 4-3.5 4-9t-3.75-9.5t-9.25-4t-9.5,4l-9.5,9.5l-45.5-45l 10-9.5q 3.5-4 3.5-9.5\nt-3.75-9.5t-9.25-4t-9.5,4l-37.5,37.5q-4,4 -4,9.5t 4,9.25t 9.5,3.75t 9.5-3.5l 9.5-10l 45,45l-9.5,10q-4,4 -4,9.5t 4,9.25t 9.5,3.75t 9-4l 10-9.5l 34,34q-2.5,5.5 -2.5,11.5q0,13.5 9.5,22.75t 22.5,9.25q 6,0 11.5-2l 34,33.5l-9.5,10q-4,3.5 -4,9t 3.75,9.5t 9.25,4t 9.5-4l 10-9.5l 45,45l-9.5,10\nq-4,3.5 -4,9t 3.75,9.5t 9.25,4t 9.5-4l 37.5-37.5q 4-4 4-9.5t-4-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"danger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 441,283.5l 71,80l-87,23.5l 23,61l-82.5-23l-29.5,87l-79-52.5l-37,52.5l-33.5-64l-90.5,0 l 8-58l-78,0 l 36.5-86.5l-62.5-35l 47.5-38l-47-68l 95.5-23.5l0-74.5 l 43.5,28.5l 22.5-92.5l 80.5,67.5l 74-67.5l 16,57.5l 57.5-32l 14,85l 76-14.5l-34,77l 65.5,46.5zM 288,144.5q0-7 -4.75-11.5t-11.25-4.5l-32,0 \nq-6.5,0 -11.25,4.5t-4.75,11.5l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 288,336.5q0-7 -4.75-11.5t-11.25-4.5l-32,0 q-6.5,0 -11.25,4.5t-4.75,11.5l0,31.5 q0,7 4.75,11.5t 11.25,4.5l 32,0 q 6.5,0 11.25-4.5t 4.75-11.5l0-31.5 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"sharethree\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-43,0 q-20,56.5 -69.5,92.25t-111.5,35.75t-111.5-35.75t-69.5-92.25l 70.5,0 q 16.5,29 46,46.5t 64.5,17.5q 53,0 90.5-37.5t 37.5-90.5l 32,0 l 32,0 l 32,0 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5zM 320,256q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25zM 256,128q-53,0 -90.5,37.5t-37.5,90.5l-32,0 l-32,0 l-32,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 43,0 q 20-56.5 69.5-92.25t 111.5-35.75t 111.5,35.75t 69.5,92.25l-70,0 q-17-29 -46.5-46.5t-64.5-17.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"aaabattery\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496.5,403.5l-93,93q-15.5,15.5 -37.25,15.5t-37.25-15.5l-313.5-313.5q-15.5-15.5 -15.5-37.25t 15.5-37.25l 14-14l-23.5-23.5q-6-6 -6-14.5t 6-14.5l 36-36q 6-6 14.5-6t 14.5,6l 23.5,23.5l 14-14q 15.5-15.5 37.25-15.5t 37.25,15.5l 313.5,313.5q 15.5,15.5 15.5,37.25t-15.5,37.25zM 192,120l-24-24l-24,24l-24-24l-24,24\nl 24,24l-24,24l 24,24l 24-24l 24,24l 24-24l-24-24zM 468.5,343.5l-186.5-186.5l-125.5,125l 187,186.5q 12,11 28.5,9.5t 28.5-13.5l 64-64q 11.5-12 13.25-28.5t-9.25-28.5zM 320,392.5l 72.5-72.5l 24,24.5l-72.5,72z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"desklamp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288,288q-64-46.5 -64-111.5q0-25 8.5-48.5l-9-9l-133.5,133.5l 103,195.5l 127,0 q 13,0 22.5,9.5t 9.5,22.75t-9.5,22.5t-22.5,9.25l-256,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 93,0 l-91-171.5l-6.5,6.5q-4.5,5 -11.25,5t-11.5-4.75t-4.75-11.5t 4.5-11.25l 14-14l-16-30.5q-3.5-5.5 -1.75-12t 7.5-10t 12-1.75\nt 9.75,7.75l 12,23l 128-127.5q-12-18 -10-40t 17.5-37.5q 18-18 43.5-18t 43.5,18l 23,23q 24-8.5 48.5-8.5q 65.5,0 112,64z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"torigate\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,192l0,64 l-50.5,0 q 18.5,118 18.5,256l-64,0 q0-134.5 -22-256l-276,0 q-22,122 -22,256l-64,0 q0-138 18.5-256l-50.5,0 l0-64 l 62,0 q 8.5-37.5 16-64l-46,0 l-32-128l 512,0 l-32,128l-46,0 q 7.5,26 16,64l 62,0 zM 132,192l 92,0 l0-64 l-73.5,0 q-9,25.5 -18.5,64zM 361.5,128l-73.5,0 l0,64 l 92,0 q-9.5-38 -18.5-64z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"islam\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75q 47.5,0 91.5-21.5t 74-57.5q-32,64.5 -93.5,103.75t-136,39.25q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25q 74.5,0 136,39.25t 93.5,103.75\nq-30-36 -74-57.5t-91.5-21.5zM 393,225.5l 23-65.5l 23,65.5l 73-0.5l-59,44.5l 19.5,66.5l-56.5-39l-56.5,39l 19.5-66.5l-59-44.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"christiancross\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 416,256l-96,0 l0,224 q0,13 -9.25,22.5t-22.75,9.5l-64,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 l-96,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13.5 9.25-22.75t 22.75-9.25l 96,0 l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 l 96,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5\nt-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"davidstar\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.5,384l-144.5,0 l-80,128l-80-128l-144,0 l 64-128l-64-128l 144,0 l 80-128l 80,128l 144.5,0 l-64.5,128zM 432,352l-33.5-67.5l-42.5,67.5l 76,0 zM 256,448l 43-64l-85.5,0 zM 80,352l 76,0 l-42-67.5zM 80,160l 34,67.5l 42-67.5l-76,0 zM 256,64l-42.5,64l 85.5,0 zM 320,160l-128,0 l-64,96l 64,96l 128,0 \nl 64-96zM 432,160l-76,0 l 42.5,67.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fridge\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,480l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-128,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75t-11.25-4.75t-4.75-11.25l0-16 l-32,0 q-13,0 -22.5-9.5t-9.5-22.5l0-224 q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,224 q0,13 -9.25,22.5t-22.75,9.5zM 160,240\nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 zM 384,160l-256,0 q-13,0 -22.5-9.5t-9.5-22.5l0-96 q0-13.5 9.5-22.75t 22.5-9.25l 256,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,96 q0,13 -9.25,22.5t-22.75,9.5zM 160,80q0-6.5 -4.75-11.25t-11.25-4.75\nt-11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"stumbleupon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 341.5,187.5q0-35 -25-60t-60.5-25t-60.5,25t-25,60l0,102.5 q0,7 -5,12\nt-12,5t-12-5t-5-12l0-51 l-68.5,0 l0,51 q0,35.5 25,60.5t 60.5,25t 60.5-25t 25-60.5l0-102.5 q0-7 5-12t 12-5t 12,5t 5,12l0,17.5 l 34,34l 34.5-34l0-17.5 zM 375.5,239l0,51 q0,7 -5,12t-12,5t-12-5t-5-12l0-51 l-34.5,34l-34-34l0,51 q0,35.5 25,60.5t 60.25,25t 60.25-25t 25-60.5l0-51 l-68,0 z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"speed\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 210.75,366.75q-18.75-18.75 -18.75-45.25t 19-45.5l 272-181l-181.5,272q-18.5,18.5 -45.25,18.5t-45.5-18.75zM 256,96.5q-45.5,0 -87.25,18t-71.75,48t-47.75,71.5t-17.75,87q0,53 24,101l-28,14q-27.5-54.5 -27.5-114.5q0-52.5 20.25-99.75t 54.5-81.5t 81.75-54.5t 99.5-20.25q 80.5,0 146.5,46l-28.5,19\nq-54.5-34 -118-34zM 466.5,175.5q 45.5,66 45.5,146q0,60 -27.5,114.5l-28-14.5q 24-47.5 24-100.5q0-62.5 -33-117z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"broom\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.5,55l-154,154q 9.5,25.5 -4.5,39.5t-39.5,4.5l-0.5,0.5q 14.5,23.5 15.25,47.5t-8.75,43.5t-27,36.5q-44.5,44.5 -64,131q-23-11.5 -50.5-30q-5.5-25 2-49.5t 26-41.5q-23,7.5 -39.5,25t-22.5,40.5q-24.5-19.5 -42.5-37q-1-1 -2.75-3t-2.25-3q 17-17 24-38.5q-17.5,15.5 -39,22.5q-15.5-17.5 -27.5-33.5q 22-7 39-23.25\nt 24-38.75q-16,18 -39,25.75t-47,3.75q-13.5-21.5 -22-39q 86.5-20 131-64q 17-17.5 36.5-27t 43.5-8.75t 47.5,15.25l 0.5-0.5q-9.5-25.5 4.5-39.5t 39.5-4.5l 154-154q 9.5-9.5 22.75-9.5t 22.75,9.5t 9.5,22.75t-9.5,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"dna\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 364,239.5q-37.5-18.5 -75.5-31.5q 16.5-8.5 30.5-16l-126,0 q 10.5,5.5 63,32q 32,10.5 63.75,25t 67.5,38.25t 62.5,50.75t 44.5,64.25t 17.75,77.75q0,13 -9.25,22.5t-22.5,9.5t-22.75-9.5t-9.5-22.5l-384,0 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5q0-34 12-65.75t 33.75-57.25t 46.75-46t 55.5-38.5\nq 37.5,18.5 75.5,31.5q-16.5,8.5 -30.5,16l 126,0 q-10.5-5.5 -63-32q-32-10.5 -63.75-25.25t-67.5-38.25t-62.5-50.5t-44.5-64.25t-17.75-77.75q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l 384,0 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75q0,34 -12,65.5t-33.75,57.25t-46.75,46.25t-55.5,38.5z\nM 68,448l 375.5,0 q-4-16 -13-32l-349,0 q-9.5,16 -13.5,32zM 142.5,352q-23.5,17 -37.5,32l 301.5,0 q-15.5-16.5 -36.5-32l-227.5,0 zM 142,160l 227.5,0 q 23.5-17 37-32l-301,0 q 15.5,16.5 36.5,32zM 68.5,64q 4,16 13,32l 349,0 q 9.5-16 13.5-32l-375.5,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pasta\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,160l-128.5-26q-2.5,24.5 -20.5,41.25t-43,16.75l-32,0 l0-160 l 32,0 q 25,0 43,16.75t 20.5,40.75l 128.5-25.5q 64,0 64,47.5q0,26.5 -18,37.5t-46,11zM 176,224q-6.5,0 -11.25-4.75t-4.75-11.25l0-192 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,192 q0,6.5 -4.75,11.25t-11.25,4.75zM 112,512\nq-6.5,0 -11.25-4.75t-4.75-11.25l0-480 q0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25t-11.25,4.75zM0,176q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,112q0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25zM0,48\nq0-6.5 4.75-11.25t 11.25-4.75l 48,0 l0,32 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"egg\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,0q 30.5,0 58.5,16.25t 48.25,43.25t 37,60.75t 27,69.75t 15.75,69.25t 5.5,60.75q0,52 -25.75,96.25t-70,70t-96.25,25.75t-96.25-25.75t-70-70t-25.75-96.25q0-27.5 5.5-60.75t 15.75-69.25t 27-69.75t 37-60.75t 48.25-43.25t 58.5-16.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"greenlightbulb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 423,195l-286,124q-13,4 -24.75-3.25t-15.25-20.75t 3.25-25.75t 19.75-16.25l 286-124q 13.5-3.5 25,3.5t 15.25,20.75t-3.25,26t-20,15.75zM 391,99l-286,124q-13,4 -24.75-3.25t-15.25-20.75t 3.25-25.75t 19.75-15.75l 286-124.5q 13.5-3.5 25,3.5t 15.25,20.75t-3.25,26t-20,15.75zM 215,67l-78,28\nq-13,4 -24.75-3t-15.25-20.75t 3.25-26t 19.75-15.75l 78.5-28.5q 13-3.5 24.75,3.5t 15.25,20.75t-3.25,26t-20.25,15.75zM 204.5,323.5q 5-4.5 11.5-6.5l 158-60q 13.5-3.5 25,3.5t 15.25,20.75t-3.25,26t-20,15.75l-135,51.5q-0.5,6.5 -0.5,9.5l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-64,0 q-3,0 -6-0.5\nq-24.5-2.5 -41.25-20.75t-16.75-42.75q0-21 12.5-37.75t 32.5-22.75zM 255.5,512q-26.5,0 -45.25-9.25t-18.75-22.75l 128,0 q0,13.5 -18.75,22.75t-45.25,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"baloon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 270,445.5q 38,38.5 47.5,66.5l-123,0 q 9.5-28 47-66.5q-24.5-6.5 -55.75-33.5t-58-62.75t-45.25-78.75t-18.5-78.5q0-52 25.75-96.25t 70-70t 96.25-25.75t 96.25,25.75t 70,70t 25.75,96.25q0,35.5 -18.5,78.5t-45.25,78.75t-58,62.75t-56.25,33.5zM 191.5,97.5q-19-5.5 -37,8t-24,38\nq-7,24 -2.5,84.25t 16,60.25q 7,0 11.5-16.25t 9.25-36.75t 11.25-27q 2.5-2.5 10-9.75t 11.75-11.75t 10-10.75t 9.25-12t 4.5-11.25q 11.5-43.5 -30-55z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"nintendods\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,288l0,160 q0,13 -9.5,22.5t-22.5,9.5l-448,0 q-13,0 -22.5-9.5t-9.5-22.5l0-160 q0-13 9.5-22.5t 22.5-9.5q-13,0 -22.5-9.25t-9.5-22.75l0-160 q0-13 9.5-22.5t 22.5-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5l0,160 q0,13.5 -9.5,22.75t-22.5,9.25q 13.5,0 22.75,9.25t 9.25,22.75zM 432,416q 6.5,0 11.25-4.75t 4.75-11.25t-4.75-11.25\nt-11.25-4.75t-11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75zM 128,360q0-3.5 -2.25-5.75t-5.75-2.25l-24,0 l0-24 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,24 l-24,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,16 q0,3.5 2.25,5.75t 5.75,2.25l 24,0 l0,24 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 \nq 3.5,0 5.75-2.25t 2.25-5.75l0-24 l 24,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 zM 352,80q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 352,304q0-6.5 -4.75-11.25t-11.25-4.75l-160,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,128 \nq0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-128 zM 400,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75zM 432,320q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\nM 464,352q-6.5,0 -11.25,4.75t-4.75,11.25t 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25t-4.75-11.25t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"gameboy\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 336,512l-240,0 q-13,0 -22.5-9.5t-9.5-22.5l0-448 q0-13.5 9.25-22.75t 22.75-9.25l 320,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,368 q0,46.5 -32.75,79.25t-79.25,32.75zM 320.25,448q 13.25,0 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25t-22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5zM 96,360l0,16 q0,3.5 2.25,5.75\nt 5.75,2.25l 24,0 l0,24 q0,3.5 2.25,5.75t 5.75,2.25l 16,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-24 l 24,0 q 3.5,0 5.75-2.25t 2.25-5.75l0-16 q0-3.5 -2.25-5.75t-5.75-2.25l-24,0 l0-24 q0-3.5 -2.25-5.75t-5.75-2.25l-16,0 q-3.5,0 -5.75,2.25t-2.25,5.75l0,24 l-24,0 q-3.5,0 -5.75,2.25t-2.25,5.75zM 384,80q0-6.5 -4.75-11.25t-11.25-4.75\nl-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,160 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 zM 384.25,320q-13.25,0 -22.75,9.25t-9.5,22.5t 9.5,22.75t 22.75,9.5t 22.5-9.5t 9.25-22.75t-9.25-22.5t-22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"route\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,0zM 256,0l0,0 l0,0 zM 384,32q 53,0 90.5-9.25t 37.5-22.75l0,128 l-512,0 l0-128 l0,0 q0,13.5 37.5,22.75t 90.5,9.25t 90.5-9.25t 37.5-22.75q0,13.5 37.5,22.75t 90.5,9.25zM 256,512q-47-13.5 -84.25-32.75t-62.5-39.25t-44.25-48.5t-29.75-52t-18.25-58.25t-10.75-59t-6.25-62.25l 512,0 \nq-3,38 -6.25,62.25t-10.75,59t-18.25,58.25t-29.75,52t-44.25,48.5t-62.5,39.25t-84.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"cannon\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,224l-121,20q 25,34 25,76q0,53 -37.5,90.5t-90.5,37.5q-42.5,0 -76-24.75t-46-64.25l-41,72.5q-7.5,13 -22.5,16q-3,0.5 -5.5,0.5l-0.5,0 l-0.5,0 l-32,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l 13,0 l 55.5-97l-4.5,1q-36.5,2 -66.25-27.5t-29.75-68.5q0-39.5 27-68.75t 63-27.25l 6,0 l0-16 \nq0-6.5 4.75-11.25t 11.25-4.75t 11.25,4.75t 4.75,11.25l0,16 l 352,0 q 13.5,0 22.75,18.75t 9.25,45.25q0,25.5 -9,42.5t-23,21.5zM 256,256q-26.5,0 -45.25,18.75t-18.75,45.25t 18.75,45.25t 45.25,18.75t 45.25-18.75t 18.75-45.25t-18.75-45.25t-45.25-18.75zM 255.75,352q-13.25,0 -22.5-9.5t-9.25-22.75t 9.25-22.5\nt 22.5-9.25t 22.75,9.25t 9.5,22.5t-9.5,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"fort\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-176,0 l0-64 q0-26.5 -18.75-45.25t-45.25-18.75t-45.25,18.75t-18.75,45.25l0,64 l-176,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-240 l0-16 l0-48 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0-96 l-16,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25l0-64 q0-6.5 4.75-11.25t 11.25-4.75l 16,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 16,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,64 \nq0,6.5 -4.75,11.25t-11.25,4.75l-16,0 l0,96 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,16 q0,6.5 4.75,11.25t 11.25,4.75t 11.25-4.75t 4.75-11.25l0-16 l 32,0 l0,48 l0,16 l0,240 q0,6.5 -4.75,11.25t-11.25,4.75zM 128,320q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l 64,0 l0-32 z\nM 288,128q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l 64,0 l0-32 zM 448,320q0-13 -9.5-22.5t-22.75-9.5t-22.5,9.5t-9.25,22.5l0,32 l 64,0 l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"hydrant\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,384q-6.5,0 -11.25-4.75t-4.75-11.25l0-16 l-32,0 l0,96 q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l-256,0 q-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25l0-96 l-32,0 l0,16 q0,6.5 -4.75,11.25t-11.25,4.75q-20,0 -34-18.75t-14-45.25t 14-45.25t 34-18.75q 6.5,0 11.25,4.75t 4.75,11.25l0,16 l 32,0 l0-64 \nq-13,0 -22.5-9.5t-9.5-22.75t 9.5-22.5t 22.5-9.25q0-44.5 27-78.75t 69-45.25l0-4 q0-13.5 9.5-22.75t 22.75-9.25t 22.5,9.25t 9.25,22.75l0,4 q 42,11 69,45.5t 27,78.5q 13.5,0 22.75,9.25t 9.25,22.5t-9.25,22.75t-22.75,9.5l0,64 l 32,0 l0-16 q0-6.5 4.75-11.25t 11.25-4.75q 20,0 34,18.75t 14,45.25t-14,45.25t-34,18.75\nz\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillespace\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384\nq 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25t-22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille9\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 384.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5t-22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille8\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille7\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5\nt 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille6\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille5\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416\nq-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille4\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25\nt 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille3\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.25t-9.25,22.5\nt 9.5,22.75t 22.5,9.5t 22.5-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5\nt 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille2\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 384.25,480q 13.25,0 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.5,22.5t 22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille1\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,416\nq-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480\nq 13.25,0 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5t-22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braille0\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5\nt 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillez\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailley\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillex\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillew\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillev\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384.25,32q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75\nt 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 384,480q 13.5,0 22.75-9.25t 9.25-22.5t-9.25-22.75\nt-22.75-9.5t-22.75,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailles\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,32q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.5t 9.25,22.75t 22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailler\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.25t-9.25,22.75\nt 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75\nt-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleq\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillep\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75\nt-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleo\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,32q-13.5,0 -22.75,9.25t-9.25,22.75\nt 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillen\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25\nzM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5\nt-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillem\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillel\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillek\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillej\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5t 22.5,9.25t 22.5-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75\nt-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillei\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,416q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,32q-13.5,0 -22.75,9.5t-9.25,22.75t 9.5,22.5\nt 22.5,9.25t 22.5-9.25t 9.5-22.5t-9.25-22.75t-22.75-9.5zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320\nq-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleg\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5\nt-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillef\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 127.75,416q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.5t-9.5-22.75t-22.75-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillee\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75\nt 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailled\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25\nt-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillec\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,224q-13.5,0 -22.75,9.5t-9.25,22.75t 9.25,22.5t 22.5,9.25t 22.75-9.25t 9.5-22.75t-9.25-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5z\nM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.25-22.5t-22.75-9.25t-22.75,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"brailleb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480q 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"braillea\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,224q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.75t-9.5-22.75t-22.75-9.25zM 384,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25\nt 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 383.75,32q-13.25,0 -22.5,9.5t-9.25,22.75t 9.25,22.5t 22.75,9.25t 22.75-9.25t 9.25-22.5t-9.5-22.75t-22.75-9.5zM 128,512q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\nM 128.25,416q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25t 22.5-9.25t 9.25-22.5t-9.25-22.75t-22.5-9.5zM 128,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 128.25,224q-13.25,0 -22.75,9.5t-9.5,22.75t 9.5,22.5t 22.75,9.25\nt 22.5-9.25t 9.25-22.75t-9.25-22.75t-22.5-9.25zM 128,128q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75zM 384,384q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75zM 383.75,480\nq 13.25,0 22.75-9.5t 9.5-22.75t-9.5-22.5t-22.75-9.25t-22.5,9.25t-9.25,22.75t 9.25,22.75t 22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenz\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,504.25q-17,11.25 -36.25,5.5t-29.25-25.25l-166.5-322.5l-166.5,322.5q-10,19.5 -29.25,25.25t-36.25-5.5t-22.25-32.75t 4.75-40.5l 208-403.5q0-0.5 0.5-1.25l 0.5-0.75q 6.5-11.5 16.5-18q 17-11 36.25-5.25t 29.25,25.25l 208,403.5q 10,19 4.75,40.5t-22.25,32.75zM 256,384q 26.5,0 45.25,18.75t 18.75,45.25\nt-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeny\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,320q-26.5,0 -45.25-18.75t-18.75-45.5t 18.75-45.5t 45.25-18.75t 45.25,18.75t 18.75,45.5t-18.75,45.5t-45.25,18.75zM 484.5,89l-323,167l 323,166.5q 19.5,10 25.25,29t-5.5,36.25t-32.75,22.5t-40.5-4.75l-404-208q-19.5-10 -25.25-29.25t 5.25-36.25q 6.5-10 18-16.5q 0.5,0 1-0.5l 1-1l 404-208q 19-10 40.5-4.75\nt 32.75,22.5t 5.5,36.5t-25.25,28.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenx\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 64,191.5q 26.5,0 45.25,18.75t 18.75,45.5t-18.75,45.5t-45.25,18.75t-45.25-18.75t-18.75-45.5t 18.75-45.5t 45.25-18.75zM 485,297.5l-404,208q-19,10 -40.5,4.75t-32.75-22.5t-5.5-36.25t 25.25-29l 323-166.5l-323-167q-19.5-9.5 -25.25-28.75t 5.5-36.5t 32.75-22.5t 40.5,4.75l 404,208l 1,1t 1,0.5q 11.5,6.5 18,16.5\nq 11,17 5.25,36.25t-25.25,29.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenw\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,81.5l-208,403.5q-10,19.5 -29.25,25.25t-36.25-5.25q-10-6.5 -16.5-18q0-0.5 -0.5-1t-0.5-1l-208-403.5q-10-19.5 -4.75-41t 22.25-32.5t 36.25-5.25t 29.25,24.75l 166.5,323l 166.5-323q 10-19 29.25-24.75t 36.25,5.25t 22.25,32.5t-4.75,41zM 256,128.5q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75\nt 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenv\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 488,504.75q-17,11.25 -36.25,5.5t-29.25-25.25l-166.5-323l-166.5,323q-10,19.5 -29.25,25.25t-36.25-5.5t-22.25-32.75t 4.75-40.5l 208-404l 0.5-0.75l 0.5-0.75q 6.5-11.5 16.5-18q 17-11 36.25-5.25t 29.25,24.75l 208,404q 10,19 4.75,40.5t-22.25,32.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenu\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 485,89l-323.5,166.5l 323.5,167q 19.5,9.5 25.25,28.75t-5.5,36.5t-32.75,22.5t-41-4.75l-404-208.5q-19.5-9.5 -25.25-28.75t 5.25-36.75q 6.5-10 18-16.5q 0.5,0 1-0.5t 1-0.5l 404-208.5q 19.5-10 41-4.75t 32.75,22.5t 5.5,36.5t-25.25,29.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpent\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 485,297l-404,208.5q-19.5,10 -41,4.75t-32.75-22.5t-5.5-36.5t 25.25-28.75l 323.5-167l-323.5-166.5q-19.5-10 -25.25-29.25t 5.5-36.5t 32.75-22.5t 41,4.75l 404,208.5q 0.5,0 1,0.5t 1,0.5q 11.5,6.5 18,16.5q 11,17.5 5.25,36.75t-25.25,28.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpens\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 505.5,81.5l-208,403.5q-10,19.5 -29.25,25.25t-36.25-5.25q-9.5-6.5 -16.5-18q0-0.5 -0.5-1t-0.5-1l-208-403.5q-10-19.5 -4.75-41t 22.25-32.5t 36.25-5.25t 29.25,25.25l 166.5,322.5l 166.5-322.5q 10-19.5 29.25-25.25t 36.25,5.25t 22.25,32.5t-4.75,41z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenr\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-368,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenq\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-320,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\n\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenp\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeno\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 192,256q0-26.5 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25zM 464,96l-368,0 l0,320 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenn\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 416,96l-320,0 l0,320 l 320,0 l0-320 zM 256,192q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenm\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 320,256q0,26.5 -18.75,45.25t-45.25,18.75t-45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25zM 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-320 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenl\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenk\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 320,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenj\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 256,320q-26.5,0 -45.25-18.75t-18.75-45.25t 18.75-45.25t 45.25-18.75t 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeni\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-368,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenh\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-320,0 l0,368 q0,20 -14,34t-34,14t-34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpeng\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512q-20,0 -34-14t-14-34l0-368 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenf\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,96l-368,0 l0,320 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpene\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14zM 416,96l-320,0 l0,320 l 320,0 l0-320 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpend\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-320 l-368,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 416,0 q 20,0 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenc\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 368,0 q 20,0 34,14t 14,34t-14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpenb\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34l0-416 q0-20 14-34t 34-14t 34,14t 14,34l0,368 l 320,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"pigpena\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,512l-416,0 q-20,0 -34-14t-14-34t 14-34t 34-14l 368,0 l0-368 q0-20 14-34t 34-14t 34,14t 14,34l0,416 q0,20 -14,34t-34,14z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF48B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,400l 213-217q 10.5-10.5 10.5-25.5t-10.5-25.5l-25.5-25.5q-10.5-10.5 -25.5-10.5t-25.5,10.5l-169,169l-169-169q-10.5-10.5 -25.5-10.5t-25.5,10.5l-25.5,25.5q-10.5,10.5 -10.5,25.5t 10.5,25.5l 214,217q 16,16 32,16t 32-16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF48A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 288.5,112l 213,217q 10.5,10.5 10.5,25.5t-10.5,25.5l-25.5,25.5q-10.5,10.5 -25.5,10.5t-25.5-10.5l-169-169l-169,169q-10.5,10.5 -25.5,10.5t-25.5-10.5l-25.5-25.5q-10.5-10.5 -10.5-25.5t 10.5-25.5l 214-217q 16-16 32-16t 32,16z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF489\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 112,288.5l 217,213q 10.5,10.5 25.5,10.5t 25.5-10.5l 25.5-25.5q 10.5-10.5 10.5-25.5t-10.5-25.5l-169-169l 169-169q 10.5-10.5 10.5-25.5t-10.5-25.5l-25.5-25.5q-10.5-10.5 -25.5-10.5t-25.5,10.5l-217,214q-16,16 -16,32t 16,32z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF488\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 400,288.5l-217,213q-10.5,10.5 -25.5,10.5t-25.5-10.5l-25.5-25.5q-10.5-10.5 -10.5-25.5t 10.5-25.5l 169-169l-169-169q-10.5-10.5 -10.5-25.5t 10.5-25.5l 25.5-25.5q 10.5-10.5 25.5-10.5t 25.5,10.5l 217,214q 16,16 16,31.75t-16,32.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF487\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 432,224q-22,0 -42.5,6.5t-37,16l-33,19t-37,16t-42.5,6.5q-48.5,0 -80-40.5l0-215.5 q 9,11.5 18.25,18.5t 20.25,9.75t 18,3.25t 19.5,0.5l 4,0 q 22,0 42.5-6.5t 37-16l 33-19t 37-16t 42.5-6.5q 20,0 40.75,12t 39.25,36l0,208 q-11.5-11.5 -21.75-18.5t-20.75-9.75t-17.5-3.25t-20-0.5zM 192,480.25q0,13.25 -9.25,22.5\nt-22.75,9.25l-128,0 q-13,0 -22.5-9.25t-9.5-22.5t 9.5-22.75t 22.5-9.5l 32,0 l0-416 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.25t 9.25,22.75l0,416 l 32,0 q 13.5,0 22.75,9.5t 9.25,22.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF486\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,288l-96,128l-96-128l 64,0 l0-128 l-192,0 l-48-64l 304,0 l0,192 l 64,0 zM 128,224l0,128 l 192,0 l 48,64l-304,0 l0-192 l-64,0 l 96-128l 96,128l-64,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF485\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,512l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-448 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,448 q0,13.5 -9.25,22.75t-22.75,9.25zM 480,32l-448,0 l0,448 l 448,0 l0-448 zM 80,64l 32,0 l 96,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-34,0 l 82.5,82.5l 82-82.5l-34.5,0 \nq-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 128,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 l0,96 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-34.5 l-82,82.5l 82,81.5l0-33.5 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,128 q0,6.5 -4.75,11.25\nt-11.25,4.75l-32,0 l-96,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 35.5,0 l-82.5-82.5l-82.5,82.5l 33.5,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75l-128,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 l0-96 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,35.5 \nl 83-83.5l-83-82.5l0,34.5 q0,6.5 -4.75,11.25t-11.25,4.75l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-128 q0-6.5 4.75-11.25t 11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF484\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75l0-384 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF483\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 315,160q-11.5,0 -22,6.25t-14,15.25l-23,42.5l-224,0 l-4,0 q-8,0 -11.5,0.25t-8.25,1.5t-6.5,4.75t-1.75,9.5l0,16 l0-128 l 24.5-42.5q 3.5-9 14-15.25t 22.5-6.25l 120,0 q 11.5,0 22,6.25t 14,15.25l 23,42.5l 240,0 q 13,0 22.5,9.25t 9.5,22.75l-197,0 zM 32,256l 256,0 l 16-48q 3.5-9 9.5-12.5t 17.5-3.5l 133,0 q 25.5,0 32,16l 16,48\nl0,128 q0,26.5 -18.75,45.25t-45.25,18.75l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-96 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF482\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,344l-130.5,132q-1,1 -6.5,4q-5-3 -6-4l-8-7l 112-113q 16-16.5 16-32.5q0-15 -3-25.75t-5.75-14.5t-7.25-8.25l-224-226.5q-5-5 -15-10.5t-14.5-5.5l 31,0 q 14,0.5 22.5,9l 239,241.5q 9,9.5 9,30.75t-9,30.25zM 432,339.5l-128,129.5q-9.5,9.5 -24.25,9.5t-23.75-9.5l-247-250.5\nq-12.5-13 -7.5-31q-1.5-5 -1.5-9.5l0-113 q0-13.5 9.5-23t 22.5-9.5l 112,0 q 4.5,0 9,1.5q 18.5-5 31,7.5l 248,249.5q 9,9.5 9,24.5t-9,24zM 112,97q-20,0 -34,14.25t-14,34.5t 14,34.25t 34,14t 34-14t 14-34.25t-14-34.5t-34-14.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF481\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 55,502.5q-9.5,9.5 -22.75,9.5t-22.75-9.5t-9.5-22.75t 9.5-22.75l 61-61q-55.5-60 -70-139.5q 11.5-63 48.5-114.25t 91.5-80.5t 115.5-29.25q 72.5,0 136,42l 64.5-64.5q 9.5-9.5 23-9.5t 22.75,9.25t 9.25,22.75t-9.5,23zM 256,96.5q-65.5,0 -122.5,32l-5.5,0 l0,3 q-36.5,22 -61.75,54.25t-33.75,70.75\nq 14,62.5 70.5,107l 42.5-43q-17.5-29.5 -17.5-64q0-30 14-57l 28.5,14q-10.5,21 -10.5,43q0,21.5 9.5,40.5l 25-25q-2.5-8.5 -2.5-15.5q0-14.5 7-28.5l 26.5,13l 15-15.5l-13-26q 14-7 28.5-7q 7,0 16,2l 25-25q-19.5-9 -41-9t-42.5,10.5l-14.5-29q 27-13.5 57-13.5q 34.5,0 64.5,17.5l 30.5-30.5q-46-19 -95-19zM 383.5,270\nq-5,45 -37,76.75t-76.5,36.75zM 256,416q 81,0 144.75-45.5t 79.25-114q-7-30 -25-58l 26.5-26.5q 22.5,40 30.5,84.5q-11.5,63 -48.75,114.25t-91.75,80.25t-115.5,29q-36,0 -71.5-11l 53.5-53.5q 10,0.5 18,0.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF480\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 480,128q0-13 -9.5-22.5t-22.5-9.5l-384,0 q-13,0 -22.5,9.5t-9.5,22.5l0,320 q0,13.5 9.5,22.75t 22.5,9.25l 384,0 q 13,0 22.5-9.25t 9.5-22.75l0-320 z\nM 432,448l-256,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 432,320l-256,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 432,192l-256,0 q-6.5,0 -11.25-4.75\nt-4.75-11.25t 4.75-11.25t 11.25-4.75l 256,0 q 6.5,0 11.25,4.75t 4.75,11.25t-4.75,11.25t-11.25,4.75zM 112,448l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 112,320l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 \nq0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75zM 112,192l-32,0 q-6.5,0 -11.25-4.75t-4.75-11.25l0-32 q0-6.5 4.75-11.25t 11.25-4.75l 32,0 q 6.5,0 11.25,4.75t 4.75,11.25l0,32 q0,6.5 -4.75,11.25t-11.25,4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47F\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480.25,512q-13.25,0 -22.75-9.5t-9.5-22.5l0-194.5 l-193,221q-12,13.5 -31-6.5l0-215 l-193,221.5q-12.5,13.5 -31-6.5l0-488 q 18.5-20 31-6.5l 193,222l0-215.5 q 18.5-20 31-6.5l 193,221.5l0-195 q0-13.5 9.25-22.75t 22.75-9.25t 22.75,9.25t 9.25,22.75l0,448 q0,13 -9.25,22.5t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47E\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 481,506.5l-193-221.5l0,215 q-19,20 -31,6.5l-193-221l0,194.5 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-448 q0-13.5 9.25-22.75t 22.5-9.25t 22.75,9.25t 9.5,22.75l0,195 l 193-221.5q 12.5-13.5 31,6.5l0,215.5 l 193-222q 12.5-13.5 31,6.5l0,488 q-18.5,20 -31,6.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47D\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 224,0 l0,64 l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.25,22.75t 22.75,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-151 l 64-53.5l0,236.5 q0,26.5 -18.75,45.25t-45.25,18.75zM 348,283.5q-6.5,6.5 -17.25,4\nt-10.75-9.5l0-86 q-112,0 -192,160l0-32 q0-58 15-102t 41.5-70t 60.5-39t 75-13l0-85 q0-7 10.75-9.75t 17.25,3.75l 157,123q 6.5,6.5 6.5,16t-6.5,16.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47C\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45t 45.25-18.5l 288,0 l-64,63.5l-192,0 q-13.5,0 -22.75,9.5t-9.25,22.5l0,320 q0,13.5 9.5,22.75t 22.5,9.25l 320,0 q 13.5,0 22.75-9.25t 9.25-22.75l0-192 l 64-64l0,288 q0,26.5 -18.75,45.25t-45.25,18.75zM 160,280l 72,72l-104,32zM 264,328\nl-80-79.5l 239.5-240q 8.5-8 20.25-8t 20.25,8l 39.5,40q 8,8 8.25,19.75t-8.25,20.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47B\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 438,256l-117.5,0 l0-160 q0-13.5 -9.5-22.75t-22.5-9.25l-64.5,0 q-13,0 -22.5,9.25t-9.5,22.75l0,160 l-118,0 q-7.5,0 -9.25,3t 4.25,9.5\nl 171,172.5q 6.5,7 16.25,7t 16.25-7l 171-172.5q 6-6.5 4-9.5t-9.5-3z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF47A\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 272.5,71q-6.5-7 -16.25-7t-16.25,7l-171,172.5q-6,7 -4.25,9.75t 9.25,2.75l 118,0 l0,160 q0,13.5 9.5,22.75\nt 22.5,9.25l 64.5,0 q 13,0 22.5-9.25t 9.5-22.75l0-160 l 117.5,0 q 7.5,0 9.5-2.75t-4-9.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF479\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 411.5,170.5l-22-22q-5-4.5 -11.25-4.5t-11.25,4.5l-151,151l-71.5-71q-4.5-4.5 -11-4.5t-11,4.5l-22,22q-4.5,4.5 -4.5,11t 4.5,11.5\nl 76,75.5q 0.5,5.5 4,9l 22,22q 5.5,5.5 13.5,4q 8,1.5 13.5-4l 22-22q 3-3.5 4-9l 156-156q 4.5-4.5 4.5-11t-4.5-11z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF478\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 379.5,177q 4.5-5 4.5-11.5t-4.5-11l-22-22q-5-4.5 -11.25-4.5t-11.25,4.5l-79,79.5\nl-79.5-79.5q-4.5-4.5 -11-4.5t-11,4.5l-22,22q-4.5,4.5 -4.5,11t 4.5,11.5l 79,79l-79,79q-4.5,5 -4.5,11.5t 4.5,11l 22,22q 4.5,4.5 11,4.5t 11-4.5l 79.5-79.5l 79,79.5q 5,4.5 11.25,4.5t 11.25-4.5l 22-22q 4.5-4.5 4.5-11t-4.5-11.5l-79.5-79z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF477\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,240q0-6.5 -4.75-11.25t-11.25-4.75l-224,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 224,0 \nq 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF476\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,240q0-6.5 -4.75-11.25t-11.25-4.75l-80,0 l0-80 q0-6.5 -4.75-11.25t-11.25-4.75l-32,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,80 \nl-80,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,32 q0,6.5 4.75,11.25t 11.25,4.75l 80,0 l0,80 q0,6.5 4.75,11.25t 11.25,4.75l 32,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-80 l 80,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-32 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF475\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 374.5,265.5q-9.5-9.5 -23-9.5t-23,9.5l-41,40.5l0-178 q0-13.5 -9.25-22.75t-22.5-9.25t-22.5,9.25t-9.25,22.75l0,178 l-41-40.5\nq-9.5-9.5 -23-9.5t-23,9.5t-9.5,23t 9.5,23l 95,95q 4,4 11.5,6.5q 0.5,0 1.5,0.5q 1,0 1.25,0.25t 1,0.5l 0.75,0.25q 1.5,0.5 3,0.5l 0.75,0 l 0.75,0 q 16,2 27-8.5l 95-95q 9.5-9.5 9.5-23t-9.5-23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF474\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 374.5,200.5l-95-95q-11-10.5 -27-8.5l-0.75,0 l-0.75,0 q-1.5,0 -3,0.5l-0.75,0.25t-1.25,0.25l-1,0.5t-1.5,0.5q-7.5,2.5 -11.5,6.5\nl-95,95q-9.5,9.5 -9.5,23t 9.5,23t 23,9.5t 23-9.5l 41-40.5l0,178 q0,13.5 9.25,22.75t 22.5,9.25t 22.5-9.25t 9.25-22.75l0-178 l 41,40.5q 9.5,9.5 23,9.5t 23-9.5t 9.5-23t-9.5-23z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF473\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 415.5,253l0-1 l0-1 q0-1.5 -0.5-2.5q0-0.5 -0.25-1.25t-0.5-1t-0.5-1.25t-0.25-1.5q-2.5-7 -6.5-11l-95.5-95.5q-9.5-9.5 -23-9.5t-23,9.5t-9.5,23\nt 9.5,23l 41,41l-178.5,0 q-13.5,0 -22.75,9.5t-9.25,22.5t 9.25,22.5t 22.75,9.5l 178.5,0 l-41,41q-9.5,9.5 -9.5,23t 9.5,23t 23,9.5t 23-9.5l 95.5-95.5q 10.5-10.5 8.5-26.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF472\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 384,224l-178.5,0 l 41-41q 9.5-9.5 9.5-23t-9.5-23t-23-9.5t-23,9.5l-95.5,95.5q-4,4 -6.5,11q0,0.5 -1,3l-0.25,0.75\nt-0.25,1.25q0,1 -0.5,2.5l0,1 l0,1 q-2,16 8.5,26.5l 95.5,95.5q 9.5,9.5 23,9.5t 23-9.5t 9.5-23t-9.5-23l-41-41l 178.5,0 q 13,0 22.5-9.5t 9.5-22.5t-9.25-22.5t-22.75-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF471\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-69.5,0 -128.5-34.25t-93.25-93.25t-34.25-128.5t 34.25-128.5t 93.25-93.25t 128.5-34.25t 128.5,34.25t 93.25,93.25t 34.25,128.5t-34.25,128.5t-93.25,93.25t-128.5,34.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25t 70,70t 96.25,25.75t 96.25-25.75t 70-70\nt 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 255,329.5q-2.5,9 -7.5,14q-10,10 -24.5,8q-14,1 -23-8q-5-5 -7-13.5l-57-57q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 46.5,46.5l 111-110.5q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5t-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"uniF470\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.75t-70,70t-25.75,96.25t 25.75,96.25\nt 70,70t 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.25t-25.75-96.25t-70-70t-96.25-25.75zM 343.5,343.5q-8.5,8.5 -20.5,8.5t-20.5-8.5l-47-47l-46.5,47q-8.5,8.5 -20.5,8.5t-20.5-8.5t-8.5-20.5t 8.5-20.5l 46.5-47l-46.5-46.5q-8.5-8.5 -8.5-20.5t 8.5-20.5t 20.5-8.5t 20.5,8.5l 46.5,47l 47-47q 8.5-8.5 20.5-8.5t 20.5,8.5t 8.5,20.5\nt-8.5,20.5l-47,46.5l 47,47q 8.5,8.5 8.5,20.5t-8.5,20.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"\" data-tags=\"wallet\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,480l-288,0 q-26.5,0 -45.25-18.75t-18.75-45.25l-32,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-256 q0-26.5 18.75-45t 45.25-18.5l 384,0 q 26.5,0 45.25,18.5t 18.75,45l0,320 q0,26.5 -18.75,45.25t-45.25,18.75zM 208,352q 48,0 48-48t-48-48t-48,48t 48,48zM 432,96l-323.5,0 q-18.5,0 -31.5,12.5t-13,30.5l0,170.5 \nq0,14.5 9,25.75t 23,14.75l0-158 q0-26.5 18.75-45.25t 45.25-18.75l 272,0 q 6.5,0 11.25-4.5t 4.75-11.25t-4.75-11.5t-11.25-4.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"✓\" data-tags=\"checkmark\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 503,162.5l-309.5,309q-9,9 -26.5,8.5q-16-0.5 -24.5-8.5l-133.5-133.5q-9-9 -9-22t 9-22l 44.5-44.5q 9-9 22-9t 22,9l 70.5,70.5l 246.5-246q 9-9 22-9t 22,9l 44.5,44q 9,9.5 9,22.25t-9,22.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"♦\" data-tags=\"diamond\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,32l 64,128l-128,0 zM 288,32l 128,0 l-64,128zM 192,160l 64-128l 64,128l-128,0 zM 96,32l 128,0 l-64,128zM0,160l 64-128l 64,128l-128,0 zM 224,480l-224-288l 128,0 zM 352,192l-96,288l-96-288l 192,0 zM 512,192l-224,288l 96-288l 128,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"☼\" data-tags=\"compass\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,64q-52,0 -96.25,25.5t-70,69.75t-25.75,96.5t 25.75,96.5t 70,70\nt 96.25,25.75t 96.25-25.75t 70-70t 25.75-96.5t-25.75-96.5t-70-69.75t-96.25-25.5zM 256,288q-17.5,0 -27-15l-117-65l 144,16q 17.5,0 27,15l 117,65z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"☺\" data-tags=\"smile\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.5t 20.25-99.5t 54.5-81.75t 81.75-54.5t 99.5-20.25t 99.5,20.25t 81.75,54.5t 54.5,81.75t 20.25,99.5t-20.25,99.5t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 144,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25\nt-14-45.25t-34-18.75zM 368,128q-20,0 -34,18.75t-14,45.25t 14,45.25t 34,18.75t 34-18.75t 14-45.25t-14-45.25t-34-18.75zM 400,320l-288,0 q-6.5,0 -11.25,4.75t-4.75,11.25q 20,56.5 58.75,84.25t 100.75,27.75t 101.25-27.75t 59.25-84.25q0-6.5 -4.75-11.25t-11.25-4.75zM 255.5,416q-83,0 -111.5-57\nq0-3 2.75-5t 6.75-2l 205,0 q 4,0 6.75,2t 2.75,5q-28.5,57 -112.5,57z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"☯\" data-tags=\"yinyang\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 256,512q-52,0 -99.5-20.25t-81.75-54.5t-54.5-81.75t-20.25-99.75t 20.25-99.5t 54.5-81.5t 81.75-54.75t 99.5-20.5t 99.5,20.5t 81.75,54.75t 54.5,81.5t 20.25,99.5t-20.25,99.75t-54.5,81.75t-81.75,54.5t-99.5,20.25zM 256,128q-13,0 -22.5,9.25t-9.5,22.5t 9.25,22.75t 22.75,9.5t 22.75-9.5\nt 9.25-22.75t-9.5-22.5t-22.5-9.25zM 256,256q-40,0 -68-28.25t-28-68t 28-67.75t 68-28q-52,0 -96.25,25.5t-70,69.75t-25.75,96.5t 25.75,96.5t 70,70t 96.25,25.75q 40,0 68-28.25t 28-68t-28-67.75t-68-28zM 256.25,384q-13.25,0 -22.75-9.5t-9.5-22.75t 9.5-22.5t 22.75-9.25t 22.5,9.25\nt 9.25,22.5t-9.25,22.75t-22.5,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"△\" data-tags=\"triangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 496,512l-16,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 \nq0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-32,0 l0-48 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,48 l-32,0 l0-16 q0-6.5 -4.75-11.25t-11.25-4.75t-11.25,4.75t-4.75,11.25l0,16 l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25l 496-496q 6.5,0 11.25,4.75t 4.75,11.25l0,480 q0,6.5 -4.75,11.25\nt-11.25,4.75zM 416,240q0-6.5 -4.75-11.25t-11.25-4.75l-176,176q0,6.5 4.75,11.25t 11.25,4.75l 160,0 q 6.5,0 11.25-4.75t 4.75-11.25l0-160 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"▭\" data-tags=\"rectangle\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,512l0-512 l 512,0 l0,512 l-512,0 zM 480,32l-448,0 l0,448 l 448,0 l0-448 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⑁\" data-tags=\"chair\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 464,480q-20,0 -34-14t-14-34l0-160 q0-21 22.5-50.5t 41.5-29.5q 9.5,0 16.25,8.5t 9.75,22t 4.5,25.75t 1.5,23.75l0,160 q0,20 -14,34t-34,14zM 352,256l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l-32-128q0-13.5 9.25-22.75t 22.75-9.25l 256,0 q 13,0 22.5,9.5t 9.5,22.5l-32,128q0,13 -9.5,22.5t-22.5,9.5zM 96,432\nq0,20 -14,34t-34,14t-34-14t-14-34l0-160 q0-11.5 1.25-23.75t 4.5-25.75t 10-22t 16.25-8.5q 19,0 41.5,29.5t 22.5,50.5l0,160 zM 160,288l 192,0 q 13,0 22.5,9.25t 9.5,22.5t-9.5,22.75t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.75t 9.25-22.5t 22.75-9.25zM 160,384l 192,0 q 13,0 22.5,9.25t 9.5,22.75l0,32 \nq0,13 -9.5,22.5t-22.5,9.5l-192,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q0-13.5 9.25-22.75t 22.75-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"␇\" data-tags=\"bell\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,480l-169,0 q-8.5,14.5 -23,23.25t-32,8.75t-32-8.75t-23-23.25l-169,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-32 q 26.5,0 45.25-37.5t 18.75-90.5l0-64 q0-71 45.75-124.25t 114.25-64.75l0-3 q0-13.5 9.5-22.75t 22.5-9.25t 22.5,9.25t 9.5,22.75l0,3 q 68.5,11.5 114.25,64.75t 45.75,124.25l0,64 q0,53 18.75,90.5\nt 45.25,37.5l0,32 q0,13 -9.25,22.5t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⋔\" data-tags=\"fork\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 495.25,495.25q-12.75,12.75 -29.25,16t-35.25-4.75t-36.25-27l-145-170q-32,15 -68.25,8.75t-62.75-32.75l-110.5-111q-8-7.5 -8-18.75t 8-19.25t 19.25-8t 18.75,8l 117,117q 19-4.5 36.5-15l-127.5-127.5q-8-8 -8-19.25t 8-19.25t 19-8t 19,8l 128,127.5q 10.5-17 15-36l-117-117\nq-8-8 -8-19.25t 7.75-19t 19-7.75t 19.25,8l 111.5,110q 26,26.5 32.25,63t-8.75,68.5l 170,144q 19,17 27.25,36t 5,35.5t-16,29.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⊷\" data-tags=\"image\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M0,512l0-512.5 l 512,0 l0,512.5 l-512,0 zM 480,31.5l-448,0 l0,384.5 l 448,0 l0-384.5 zM 128,63.5q 26.5,0 45.25,18.75t 18.75,45.25t-18.75,45.25t-45.25,18.75t-45.25-18.5t-18.75-45l0-0.5 q0-26.5 18.75-45.25t 45.25-18.75zM 183.5,264.5l 119,119.5l-238.5,0 l0-46.5 l 73-73q 9-9 23.25-9t 23.25,9zM 345,168.5q 9-9.5 23.25-9.5t 23.25,9.5\nl 56.5,56.5l0,159 l-102,0 q0-0.5 -0.75-1.75t-1.25-2.25l-105.5-105z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"∩\" data-tags=\"intersection\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,192l-192,0 l0,32 l 128,0 l 0.25,0 l 0.75,0 q 17,0.5 21.5,5l 68.5,47q 5,5 5,12t-5,12l-68.5,47q-5,5 -22.5,5l-128,0 l0,128 q0,13 -9.25,22.5t-22.75,9.5t-22.75-9.5t-9.25-22.5l0-128 l-192,0 q-13,0 -22.5-9.5t-9.5-22.5l0-64 q0-13 9.5-22.5t 22.5-9.5l 192,0 l0-32 l-128,0 q-17.5,0 -22.5-5l-68.5-47q-5-5 -5-12\nt 5-12l 68.5-47q 4.5-5 21.5-5l 0.75,0 l 0.25,0 l 128,0 l0-32 q0-13 9.25-22.5t 22.75-9.5t 22.75,9.5t 9.25,22.5l0,32 l 192,0 q 13,0 22.5,9.25t 9.5,22.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"∞\" data-tags=\"infinity\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,384q-48.5,0 -128-76.5q-79.5,76.5 -128,76.5q-53,0 -90.5-37.5t-37.5-90.5t 37.5-90.5t 90.5-37.5q 49,0 128,76.5q 79.5-76.5 128-76.5q 53,0 90.5,37.5t 37.5,90.5t-37.5,90.5t-90.5,37.5zM 128,192q-28.5,0 -46.25,18.5t-17.75,45.5t 17.75,45.5t 46.25,18.5q 11,0 23.25-6.5t 22-16t 17.75-19t 12.5-16l 4.5-6.5\nq-1.5-2.5 -4.5-6.75t-12.25-15.5t-18.25-19.5t-21.5-15.25t-23.5-7zM 384,192q-11,0 -23.25,6.5t-22,16t-17.75,19t-12.5,16l-4.5,6.5q 1.5,2.5 4.5,7t 12.25,15.5t 18.25,19.25t 21.5,15.25t 23.5,7q 28.5,0 46.25-18.5t 17.75-45.5t-17.75-45.5t-46.25-18.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"−\" data-tags=\"minus\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 512,224l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-448,0 q-13,0 -22.5-9.25t-9.5-22.75l0-64 q0-13 9.25-22.5t 22.75-9.5l 448,0 q 13,0 22.5,9.5t 9.5,22.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"∇\" data-tags=\"gradient\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448,512l-384,0 q-26.5,0 -45.25-18.75t-18.75-45.25l0-384 q0-26.5 18.75-45.25t 45.25-18.75l 384,0 q 26.5,0 45.25,18.75t 18.75,45.25l0,384 q0,26.5 -18.75,45.25t-45.25,18.75zM 352,384l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0-32 l 32,0 l0-32 l-32,0 l0,32 l-32,0 l0-32 l-32,0 l0,32 l-32,0 l0-32 l-144,0 \nq-6.5,0 -11.25,4.75t-4.75,11.25l0,352 q0,6.5 4.75,11.25t 11.25,4.75l 112,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0,32 l 32,0 l0-32 l 32,0 l0-32 zM 288,416l0-32 l 32,0 l0,32 l-32,0 zM 288,320l 32,0 l0,32 l-32,0 l0-32 zM 288,256l 32,0 l0,32 l-32,0 l0-32 zM 288,192l 32,0 l0,32 l-32,0 l0-32 zM 288,128l 32,0 l0,32 l-32,0 l0-32 zM 256,128l0-32 l 32,0 l0,32 l-32,0 zM 192,128l0-32 l 32,0 \nl0,32 l-32,0 zM 256,384l0,32 l-32,0 l0-32 l 32,0 zM 256,352l 32,0 l0,32 l-32,0 l0-32 zM 256,288l 32,0 l0,32 l-32,0 l0-32 zM 256,224l 32,0 l0,32 l-32,0 l0-32 zM 256,160l 32,0 l0,32 l-32,0 l0-32 zM 224,160l0-32 l 32,0 l0,32 l-32,0 zM 256,224l-32,0 l0-32 l 32,0 l0,32 zM 256,288l-32,0 l0-32 l 32,0 l0,32 zM 256,352l-32,0 l0-32 l 32,0 l0,32 zM 192,384l0-32 l 32,0 l0,32 l-32,0 zM 192,320l0-32 l 32,0 \nl0,32 l-32,0 zM 192,256l0-32 l 32,0 l0,32 l-32,0 zM 192,192l0-32 l 32,0 l0,32 l-32,0 z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⇪\" data-tags=\"capslock\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 466.5,256.5l-83,0 l0,95.5 q0,13.5 -9.25,22.75t-22.25,9.25l-192,0 q-13,0 -22.5-9.25t-9.5-22.75l0-95.5 l-82,0 q-6,0 -10-6.5t-3.5-15.5t 6.5-15l 194.5-210q 9-9.5 22.5-9.5t 23,9.5l 194,210q 6,6 6.75,15t-3.25,15.5t-10,6.5zM 160,415.5l 192,0 q 13,0 22.25,9.5t 9.25,22.5l0,32.5 q0,13 -9.25,22.5t-22.25,9.5l-192,0 \nq-13,0 -22.5-9.25t-9.5-22.75l0-32.5 q0-13 9.5-22.5t 22.5-9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"↸\" data-tags=\"home\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 502.25,277.75q-9.75,9.75 -23.5,9.75t-23.25-9.5l-7.5-7.5l0,209.5 q0,13 -9.25,22.5t-22.75,9.5l-96,0 l0-144 q0-6.5 -4.75-11.25t-11.25-4.75l-96,0 q-6.5,0 -11.25,4.75t-4.75,11.25l0,144 l-96,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-209.5 l-7.5,7.5q-9.5,9.5 -23.25,9.5t-23.5-9.75t-9.75-23.5t 9.5-23.25l 222-222\nq 10-10 24.5-9.5q 14.5-0.5 24.5,9.5l 222,222q 9.5,9.5 9.5,23.25t-9.75,23.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"€\" data-tags=\"euro\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 448.25,192q-13.25,0 -22.75-9.25t-9.5-22.75q-10.5-41.5 -47-68.75t-81-27.25q-44,0 -78.5,27t-45.5,69l 92,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-96,0 l0,64 l 96,0 q 13.5,0 22.75,9.5t 9.25,22.75t-9.25,22.5t-22.75,9.25l-92,0 q 11,42 45.5,69t 78.5,27q 44.5,0 81-27.25\nt 47-68.75q0-13 9.5-22.5t 22.75-9.5t 22.5,9.5t 9.25,22.5q0,11.5 -7.5,20.5q-17.5,61 -68.5,100.25t-116,39.25q-71,0 -124.25-45.75t-64.75-114.25l-35,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 32,0 l0-64 l-32,0 q-13.5,0 -22.75-9.25t-9.25-22.5t 9.25-22.75t 22.75-9.5l 35,0 q 11.5-68.5 64.75-114.25\nt 124.25-45.75q 65,0 116,39.25t 68.5,100.25q 7.5,9 7.5,20.5q0,13.5 -9.25,22.75t-22.5,9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"⁀\" data-tags=\"tie\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 351,30.5l-62,71.5l 60.5,285q 3,8 4,11.25t 0.25,7.25t-4.25,7.5l-78,93.5q-5,5.5 -12.75,5.5t-13.25-5.5l-77.5-93.5q-5-6.5 -4.75-10.75t 4.75-15.25l 60.5-285.5l-61.5-71q-6.5-6 -3.25-18.25t 14.25-12.25l 162.5,0 q 11,0 13.75,12.25t-3.25,18.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"†\" data-tags=\"dagger\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 507,481.5l-25.5,25.5q-5,5 -12.25,5t-12.75-5l-164-164.5l-38.5,39q-3,2.5 -7,2.5t-6.5-2.5l-14-13.5q-2.5-3 -2.5-7t 2.5-7l 14.5-14.5l-113-99.5q-37.5-37.5 -80.5-114.75t-47.5-125.25q 5.5,6.5 13.5,14.5t 18.75,18.25t 15.75,15.25q 36.5,36.5 77,61.75t 49.5,16.25l 0.25-0.25t 0.25-0.75l 140.5,140.5l 6.5-7q 3-2.5 7-2.5\nt 7,2.5l 13.5,14q 3,2.5 3,6.5t-3,7l-6.5,6.5l 164,164q 5,5.5 5,12.75t-5,12.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"˚\" data-tags=\"ring\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,288q0,45.5 -17.75,87t-47.75,71.5t-71.5,47.75t-87,17.75t-87-17.75t-71.5-47.75t-47.75-71.5t-17.75-87q0-81.5 51.75-143.25t 130.25-76.75l-54-36l 64-32l 64,0 l 64,32l-54,36q 78.5,15 130.25,76.75t 51.75,143.25zM 256,128q-43.5,0 -80.25,21.5t-58.25,58.25t-21.5,80.25\nt 21.5,80.25t 58.25,58.25t 80.25,21.5t 80.25-21.5t 58.25-58.25t 21.5-80.25t-21.5-80.25t-58.25-58.25t-80.25-21.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"ǀ\" data-tags=\"pipe\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 384,512q-25.5,0 -50-10.5t-47.25-30.25t-40.5-39.75t-38.25-47.5q-8.5-11.5 -21-24.75t-32.5-30.75t-44-29t-46.5-11.5l-48,0 q-6.5,0 -11.25-4.75t-4.75-11.25t 4.75-11.25t 11.25-4.75l 48,0 q 18.5,0 27.75,0.25t 26.25,1.25t 27.25,3.5t 25,7t 25.5,11.25t 22.5,17t 21.75,23.75q 12.5,17 39.75,40.5t 40.25,23.5q 32,0 32-32l0-64 \nq0-13 9.25-22.5t 22.75-9.5l 96,0 q 13,0 22.5,9.5t 9.5,22.5l0,96 q0,53 -37.5,90.5t-90.5,37.5zM 448,128q0,18 4.5,41.5q 0.5,2.5 9,20.25t 12.5,34.25l-29,0 q-4.5-21 -13-32q-11.5-12 -13.75-23.75t-2.25-40.25q0-40 18.75-68t 45.25-28q-19,7.5 -25.5,32t-6.5,64zM 352,102.5q0,19 4.5,44.5q 25,28 27,77l-31.5,0 \nq0-32 -4.5-38q-27.5-31 -27.5-83.5q0-42.5 18.75-72.5t 45.25-30q 7.5,0 16,3.5q-21,9 -34.5,36.25t-13.5,62.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"÷\" data-tags=\"divide\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,320l-448,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 448,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5zM 288,128l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13 -9.25,22.5t-22.75,9.5z\nM 224,384l 64,0 q 13.5,0 22.75,9.25t 9.25,22.75l0,64 q0,13.5 -9.5,22.75t-22.5,9.25l-64,0 q-13.5,0 -22.75-9.5t-9.25-22.5l0-64 q0-13.5 9.5-22.75t 22.5-9.25z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"×\" data-tags=\"multiply\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 350.5,256l 151.5,152q 10,10 10,23.75t-10,23.25l-47,47q-9.5,10 -23.5,10t-23.5-10l-152-151.5l-152,151.5q-9.5,10 -23.5,10t-23.5-10l-47-47q-10-9.5 -10-23.25t 10-23.75l 151.5-152l-151.5-151.5q-10-10 -10-23.75t 10-23.75l 47-47q 9.5-9.5 23.5-9.5t 23.5,9.5l 152,152l 152-152q 9.5-9.5 23.5-9.5t 23.5,9.5\nl 47,47q 10,10 10,23.75t-10,23.75z\" transform=\"scale(0.03125 0.03125)\"></path></svg>","<svg width=\"512\" height=\"512\" viewBox=\"0 0 512 512\" data-du=\"¶\" data-tags=\"pilcrow\" style=\"margin-left: 8px; margin-top: 8px;\"><path d=\"M 480,64l-32,0 l0,416 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-416 l-128,0 l0,416 q0,13 -9.5,22.5t-22.75,9.5t-22.5-9.5t-9.25-22.5l0-160 l-32,0 q-43.5,0 -80.25-21.5t-58.25-58.25t-21.5-80.25t 21.5-80.25t 58.25-58.25t 80.25-21.5l 320,0 q 13,0 22.5,9.25t 9.5,22.5t-9.25,22.75t-22.75,9.5z\" transform=\"scale(0.03125 0.03125)\"></path></svg>"]}],"IDs":[219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1161,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,1426,1427,1428,1429,1430,1431,1432,1433,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477,1478,1479,1480,1481,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1530,1531,1532,1533,1534,1535,1536,1537,1538,1539,1540,1541,1542,1543,1544,1545,1546,1547,1548,1549,1550,1551,1552,1553,1554,1555,1556,1557,1558,1559,1560,1561,1562,1563,1564,1565,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1631,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1642,1643,1644,1645,1646,1647,1648,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1750,1751,1752,1753,1754,1755,1756,1757,1758,1759,1760,1761,1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772,1773,1774,1775,1776,1777,1778,1779,1780,1781,1782,1783,1784,1785,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1806,1807,1808,1809,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1840,1841,1842,1843,1844,1845,1846,1847,1848,1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862,1863,1864,1865,1866,1867,1868,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,1959,1960,1961,1962,1963,1964,1965,1966,1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2070,2071,2072,2073,2074,2075,2076,2077,2078,2079,2080,2081,2082,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2146,2147,2148,2149,2150,2151,2152,2153,2154,2155,2156,2157,2158,2159,2160,2161,2162,2163,2164,2165,2166,2167,2168,2169,2170,2171,2172,2173,2174,2175,2176,2177,2178,2179,2180,2181,2182,2183,2184,2185,2186,2187,2188,2189,2190,2191,2192,2193,2194,2195,2196,2197,2198,2199,2200,2201,2202,2203,2204,2205,2206,2207,2208,2209,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,2228,2229,2230,2231,2232,2233,2234,2235,2236,2237,2238,2239,2240,2241,2242,2243,2244,2245,2246,2247,2248,2249,2250,2251,2252,2253,2254,2255,2256,2257,2258,2259,2260,2261,2262,2263,2264,2265,2266,2267,2268,2269,2270,2271,2272,2273,2274,2275,2276,2277,2278,2279,2280,2281,2282,2283,2284,2285,2286,2287,2288,2289,2290,2291,2292,2293,2294,2295,2296,2297,2298,2299,2300,2301,2302,2303,2304,2305,2306,2307,2308,2309,2310,2311,2312,2313,2314,2315,2316,2317,2318,2319,2320,2321,2322,2323,2324,2325,2326,2327,2328,2329,2330,2331,2332,2333,2334,2335,2336,2337,2338,2339,2340,2341,2342,2343,2344,2345,2346,2347,2348,2349,2350,2351,2352,2353,2354,2355,2356,2357,2358,2359,2360,2361,2362,2363,2364,2365,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2384,2385,2386,2387,2388,2389,2390,2391,2392,2393,2394,2395,2396,2397,2398,2399,2400,2401,2402,2403,2404,2405,2406,2407,2408,2409,2410,2411,2412,2413,2414,2415,2416,2417,2418,2419,2420,2421,2422,2423,2424,2425,2426,2427,2428,2429,2430,2431,2432,2433,2434,2435,2436,2437,2438,2439,2440,2441,2442,2443,2444,2445,2446,2447,2448,2449,2450,2451,2452,2453,2454,2455,2456,2457,2458,2459,2460,2461,2462,2463,2464,2465,2466,2467,2468,2469,2470,2471,2472,2473,2474,2475,2476,2477,2478,2479,2480,2481,2482,2483,2484,2485,2486,2487,2488,2489,2490,2491,2492,2493,2494,2495,2496,2497,2498,2499,2500,2501,2502,2503,2504,2505,2506,2507,2508,2509,2510,2511,2512,2513,2514,2515,2516,2517,2518,2519,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,2530,2531,2532,2533,2534,2535,2536,2537,2538,2539,2540,2541,2542,2543,2544,2545,2546,2547,2548,2549,2550,2551,2552,2553,2554,2555,2556,2557,2558,2559,2560,2561,2562,2563,2564,2565,2566,2567,2568,2569,2570,2571,2572,2573,2574,2575,2576,2577,2578,2579,2580,2581,2582,2583,2584,2585,2586,2587,2588,2589,2590,2591,2592,2593,2594,2595,2596,2597,2598,2599,2600,2601,2602,2603,2604,2605,2606,2607,2608,2609,2610,2611,2612,2613,2614,2615,2616,2617,2618,2619,2620,2621,2622,2623,2624,2625,2626,2627,2628,2629,2630,2631,2632,2633,2634,2635,2636,2637,2638,2639,2640,2641,2642,2643,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2655,2656,2657,2658,2659,2660,2661,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2672,2673,2674,2675,2676,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2688,2689,2690,2691,2692,2693,2694,2695,2696,2697,2698,2699,2700,2701,2702,2703,2704,2705,2706,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,2726,2727,2728,2729,2730,2731,2732,2733,2734,2735,2736,2737,2738,2739,2740,2741,2742,2743,2744,2745,2746,2747,2748,2749,2750,2751,2752,2753,2754,2755,2756,2757,2758,2759,2760,2761,2762,2763,2764,2765,2766,2767,2768,2769,2770,2771,2772,2773,2774,2775,2776,2777,2778,2779,2780,2781,2782,2783,2784,2785,2786,2787,2788,2789,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2800,2801,2802,2803,2804,2805,2806,2807,2808,2809,2810,2811,2812,2813,2814,2815,2816,2817,2818,2819,2820,2821,2822,2823,2824,2825,2826,2827,2828,2829,2830,2831,2832,2833,2834,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,2857,2858,2859,2860,2861,2862,2863,2864,2865,2866,2867,2868,2869,2870,2871,2872,2873,2874,2875,2876,2877,2878,2879,2880,2881,2882,2883,2884,2885],"user":{"email":"bradvin@gmail.com","newsletter":true,"secret":"3d0d429f221caf894108d146c0010f1a4b4904abf43f75d76f59d6fc480fc322c1515c3628389d9dae32700ecfa09e1f499597ad3f957314a2fd306e9f39fc1c","uid":10966}},"inputCache":"{\"baseline\":\"6.25\",\"emSize\":\"512\",\"prev_size\":\"16\",\"hdr-imported\":\"checked\",\"iconAlignment\":\"0\",\"showGrid\":\"checked\",\"fi_name\":\"footable\",\"fi_id\":\"\",\"fi_link\":\"\",\"fi_author\":\"\",\"fi_authorLink\":\"\",\"fi_license\":\"\",\"fi_licenseLink\":\"\",\"include_metadata\":false,\"base64\":true,\"img-height\":\"32\",\"img-color\":\"000000\",\"include_png\":\"checked\",\"fi_class\":\"icon-\",\"showCloudLinks\":false,\"sprites-cols\":\"16\",\"ligatures\":false,\"include_sprites\":false,\"designGrid\":\"\",\"whitespace\":\"50\",\"glyph_widths\":\"100\",\"manualMetrics\":false,\"hdr-fontawesome\":true,\"hdr-icomoon-ultimate\":true,\"hdr-whhglyphs\":true}"} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/icomoon/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/icomoon/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/icomoon/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.bookmarkable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.bookmarkable.js deleted file mode 100644 index 0765cbf8c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.bookmarkable.js +++ /dev/null @@ -1,170 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.foobox === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - bookmarkable: { - enabled: false - } - }; - - // see http://www.onlineaspect.com/2009/06/10/reading-get-variables-with-javascript/ - function $_HASH(q,s) { - s = s ? s : location.hash; - var re = new RegExp('&'+q+'(?:=([^&]*))?(?=&|$)','i'); - return (s=s.replace(/^\#/,'&').match(re)) ? (typeof s[1] == 'undefined' ? '' : decodeURIComponent(s[1])) : undefined; - } - - function addFootableStatusData(ft, event) { - var tbl_total = $(ft.table).find("tbody").find("tr:not(.footable-row-detail, .footable-filtered)").length; - $(ft.table).data("status_num_total", tbl_total); - - var tbl_num = $(ft.table).find("tbody").find("tr:not(.footable-row-detail)").filter(":visible").length; - $(ft.table).data("status_num_shown", tbl_num); - - var sort_colnum = $(ft.table).data("sorted"); - var sort_col = $(ft.table).find("th")[sort_colnum]; - var descending = $(sort_col).hasClass("footable-sorted-desc"); - $(ft.table).data("status_descending", descending); - - if (ft.pageInfo) { - var pagenum = ft.pageInfo.currentPage; - $(ft.table).data("status_pagenum", pagenum); - } - - var filter_val = ''; - var filter_field_id = $(ft.table).data('filter'); - if ( $(filter_field_id).length ) { - filter_val = $(filter_field_id).val(); - } - - $(ft.table).data("status_filter_val", filter_val); - - // manage expanded or collapsed rows: - var row, rowlist, expanded_rows; - if (event.type == 'footable_row_expanded') { - row = event.row; - if (row) { - rowlist = $(ft.table).data('expanded_rows'); - expanded_rows = []; - if (rowlist) { - expanded_rows = rowlist.split(','); - } - expanded_rows.push(row.rowIndex); - $(ft.table).data('expanded_rows', expanded_rows.join(',')); - } - } - if (event.type == 'footable_row_collapsed') { - row = event.row; - if (row) { - rowlist = $(ft.table).data('expanded_rows'); - expanded_rows = []; - if (rowlist) { - expanded_rows = rowlist.split(','); - } - var new_expanded_rows = []; - for (var i in expanded_rows) { - if (expanded_rows[i] == row.rowIndex) { - new_expanded_rows = expanded_rows.splice(i, 1); - break; - } - } - $(ft.table).data('expanded_rows', new_expanded_rows.join(',')); - } - } - } - - function Bookmarkable() { - var p = this; - p.name = 'Footable LucidBookmarkable'; - p.init = function(ft) { - if (ft.options.bookmarkable.enabled) { - - $(ft.table).bind({ - 'footable_initialized': function(){ - var tbl_id = ft.table.id; - var q_filter = $_HASH(tbl_id + '_f'); - var q_page_num = $_HASH(tbl_id + '_p'); - var q_sorted = $_HASH(tbl_id + '_s'); - var q_desc = $_HASH(tbl_id + '_d'); - var q_expanded = $_HASH(tbl_id + '_e'); - - if (q_filter) { - var filter_field_id = $(ft.table).data('filter'); - $(filter_field_id).val(q_filter); - $(ft.table).trigger('footable_filter', {filter: q_filter}); - } - if (q_page_num) { - $(ft.table).data('currentPage', q_page_num); - // we'll check for sort before triggering pagination, since - // sorting triggers pagination. - } - if (typeof q_sorted !== 'undefined') { - var footableSort = $(ft.table).data('footable-sort'); - var ascending = true; - if (q_desc == 'true') { - ascending = false; - } - footableSort.doSort(q_sorted, ascending); - } - else { - $(ft.table).trigger('footable_setup_paging'); - } - if (q_expanded) { - var expanded_rows = q_expanded.split(','); - for (var i in expanded_rows) { - var row = $(ft.table.rows[expanded_rows[i]]); - row.find('> td:first').trigger('footable_toggle_row'); - } - } - ft.lucid_bookmark_read = true; - }, - 'footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed': function(e) { - addFootableStatusData(ft, e); - - // update the URL hash - // lucid_bookmark_read guards against running this logic before - // the "first read" of the location bookmark hash. - if (ft.lucid_bookmark_read) { - var tbl_id = ft.table.id; - var filter = tbl_id + '_f'; - var page_num = tbl_id + '_p'; - var sorted = tbl_id + '_s'; - var descending = tbl_id + '_d'; - var expanded = tbl_id + '_e'; - - var hash = location.hash.replace(/^\#/, '&'); - var hashkeys = [filter, page_num, sorted, descending, expanded]; - // trim existing elements out of the hash. - for (var i in hashkeys) { - var re = new RegExp('&' + hashkeys[i]+'=([^&]*)', 'g'); - hash = hash.replace(re, ''); - } - - var foostate = {}; - foostate[filter] = $(ft.table).data('status_filter_val'); - foostate[page_num] = $(ft.table).data('status_pagenum'); - foostate[sorted] = $(ft.table).data('sorted'); - foostate[descending] = $(ft.table).data('status_descending'); - foostate[expanded] = $(ft.table).data('expanded_rows'); - - var pairs = []; - for (var elt in foostate) { - if (foostate[elt] !== undefined) { - pairs.push(elt + '=' + encodeURIComponent(foostate[elt])); - } - } - if (hash.length) { - pairs.push(hash); - } - location.hash = pairs.join('&'); - } - } - }); - } - }; - } - - w.footable.plugins.register(Bookmarkable, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.filter.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.filter.js deleted file mode 100644 index 718dd7f85..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.filter.js +++ /dev/null @@ -1,143 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.footable === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - filter: { - enabled: true, - input: '.footable-filter', - timeout: 300, - minimum: 2, - disableEnter: false, - filterFunction: function(index) { - var $t = $(this), - $table = $t.parents('table:first'), - filter = $table.data('current-filter').toUpperCase(), - text = $t.find('td').text(); - if (!$table.data('filter-text-only')) { - $t.find('td[data-value]').each(function () { - text += $(this).data('value'); - }); - } - return text.toUpperCase().indexOf(filter) >= 0; - } - } - }; - - function Filter() { - var p = this; - p.name = 'Footable Filter'; - p.init = function (ft) { - p.footable = ft; - if (ft.options.filter.enabled === true) { - if ($(ft.table).data('filter') === false) return; - ft.timers.register('filter'); - $(ft.table) - .unbind('.filtering') - .bind({ - 'footable_initialized.filtering': function (e) { - var $table = $(ft.table); - var data = { - 'input': $table.data('filter') || ft.options.filter.input, - 'timeout': $table.data('filter-timeout') || ft.options.filter.timeout, - 'minimum': $table.data('filter-minimum') || ft.options.filter.minimum, - 'disableEnter': $table.data('filter-disable-enter') || ft.options.filter.disableEnter - }; - if (data.disableEnter) { - $(data.input).keypress(function (event) { - if (window.event) - return (window.event.keyCode !== 13); - else - return (event.which !== 13); - }); - } - $table.bind('footable_clear_filter', function () { - $(data.input).val(''); - p.clearFilter(); - }); - $table.bind('footable_filter', function (event, args) { - p.filter(args.filter); - }); - $(data.input).keyup(function (eve) { - ft.timers.filter.stop(); - if (eve.which === 27) { - $(data.input).val(''); - } - ft.timers.filter.start(function () { - var val = $(data.input).val() || ''; - p.filter(val); - }, data.timeout); - }); - }, - 'footable_redrawn.filtering': function (e) { - var $table = $(ft.table), - filter = $table.data('filter-string'); - if (filter) { - p.filter(filter); - } - } - }) - //save the filter object onto the table so we can access it later - .data('footable-filter', p); - } - }; - - p.filter = function (filterString) { - var ft = p.footable, - $table = $(ft.table), - minimum = $table.data('filter-minimum') || ft.options.filter.minimum, - clear = !filterString; - - //raise a pre-filter event so that we can cancel the filtering if needed - var event = ft.raise('footable_filtering', { filter: filterString, clear: clear }); - if (event && event.result === false) return; - if (event.filter && event.filter.length < minimum) { - return; //if we do not have the minimum chars then do nothing - } - - if (event.clear) { - p.clearFilter(); - } else { - var filters = event.filter.split(' '); - - $table.find('> tbody > tr').hide().addClass('footable-filtered'); - var rows = $table.find('> tbody > tr:not(.footable-row-detail)'); - $.each(filters, function (i, f) { - if (f && f.length > 0) { - $table.data('current-filter', f); - rows = rows.filter(ft.options.filter.filterFunction); - } - }); - rows.each(function () { - p.showRow(this, ft); - $(this).removeClass('footable-filtered'); - }); - $table.data('filter-string', event.filter); - ft.raise('footable_filtered', { filter: event.filter, clear: false }); - } - }; - - p.clearFilter = function () { - var ft = p.footable, - $table = $(ft.table); - - $table.find('> tbody > tr:not(.footable-row-detail)').removeClass('footable-filtered').each(function () { - p.showRow(this, ft); - }); - $table.removeData('filter-string'); - ft.raise('footable_filtered', { clear: true }); - }; - - p.showRow = function (row, ft) { - var $row = $(row), $next = $row.next(), $table = $(ft.table); - if ($table.hasClass('breakpoint') && $row.hasClass('footable-detail-show') && $next.hasClass('footable-row-detail')) { - $row.add($next).show(); - ft.createOrUpdateDetailRow(row); - } - else $row.show(); - }; - } - - w.footable.plugins.register(Filter, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.grid.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.grid.js deleted file mode 100644 index 6f6d96022..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.grid.js +++ /dev/null @@ -1,373 +0,0 @@ -(function($, w, undefined) { - if (w.footable === undefined || w.foobox === null) throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - var defaults = { - grid: { - enabled: true, - data: null, - template: null, //row html template, use for make a row. - cols: null, //column define - items: null, //data items - url: null, //get data from url - ajax: null, //paramater for $.ajax - activeClass: 'active', //add to row selected - multiSelect: false, //allow select multiple row - showIndex: false, //show row index - showCheckbox: false, //show checkbox for select - showEmptyInfo: false, //when that is not data in table, show a info to notify user - emptyInfo: '<p class="text-center text-warning">No Data</p>', - pagination: { - "page-size": 20, - "pagination-class": "pagination pagination-centered" - }, - indexFormatter: function(val, $td, index) { - return index + 1; - }, - checkboxFormatter: function(isTop) { - return '<input type="checkbox" class="' + (isTop ? 'checkAll' : 'check') + '">'; - }, - events: { - loaded: 'footable_grid_loaded', - created: 'footable_grid_created', - removed: 'footable_grid_removed', - updated: 'footable_grid_updated' - } - } - }; - - function makeTh(col) { - var $th = $('<th>' + col.title + '</th>'); - if ($.isPlainObject(col.data)) { - $th.data(col.data); - } - if ($.isPlainObject(col.style)) { - $th.css(col.style); - } - if (col.className) { - $th.addClass(col.className); - } - return $th; - } - - function initThead($table, options) { - var $thead = $table.find('thead'); - if ($thead.size() === 0) { - $thead = $('<thead>').appendTo($table); - } - var $row = $('<tr>').appendTo($thead); - for (var i = 0, len = options.cols.length; i < len; i++) { - $row.append(makeTh(options.cols[i])); - } - } - - function initTBody($table) { - var $tbody = $table.find('tbody'); - if ($tbody.size() === 0) { - $tbody = $('<tbody>').appendTo($table); - } - } - - function initPagination($table, cols, options) { - if (options) { - $table.attr("data-page-size", options['page-size']); - var $tfoot = $table.find('tfoot'); - if ($tfoot.size() === 0) { - $tfoot = $('<tfoot class="hide-if-no-paging"></tfoot>').appendTo($table); - } - $tfoot.append('<tr><td colspan=' + cols.length + '></td></tr>'); - var $pagination = $("<div>").appendTo($tfoot.find("tr:last-child td")); - $pagination.addClass(options['pagination-class']); - } - } - - function setToggleColumn(cols) { - var toggleColumn = cols[0]; - for (var i = 0, len = cols.length; i < len; i++) { - var col = cols[i]; - if (col.data && (col.data.toggle === true || col.data.toggle === "true")) { - return; - } - } - toggleColumn.data = $.extend(toggleColumn.data, { - toggle: true - }); - } - - function makeEmptyInfo($table, cols, emptyInfo) { - if ($table.find("tr.emptyInfo").size() === 0) { - $table.find('tbody').append('<tr class="emptyInfo"><td colspan="' + cols.length + '">' + emptyInfo + '</td></tr>'); - } - } - - function updateRowIndex($tbody, $newRow, detailClass, offset) { - //update rows index - $tbody.find('tr:not(.' + detailClass + ')').each(function() { - var $row = $(this), - index = $newRow.data('index'), - oldIndex = parseInt($row.data('index'), 0), - newIndex = oldIndex + offset; - if (oldIndex >= index && this !== $newRow.get(0)) { - $row.attr('data-index', newIndex).data('index', newIndex); - } - }); - } - - function Grid() { - var grid = this; - grid.name = 'Footable Grid'; - grid.init = function(ft) { - var toggleClass = ft.options.classes.toggle; - var detailClass = ft.options.classes.detail; - var options = ft.options.grid; - if (!options.cols) return; - grid.footable = ft; - var $table = $(ft.table); - $table.data('grid', grid); - if ($.isPlainObject(options.data)) { - $table.data(options.data); - } - grid._items = []; - setToggleColumn(options.cols); - if (options.showCheckbox) { - options.multiSelect = true; - options.cols.unshift({ - title: options.checkboxFormatter(true), - name: '', - data: { - "sort-ignore": true - }, - formatter: options.checkboxFormatter - }); - } - if (options.showIndex) { - options.cols.unshift({ - title: '#', - name: 'index', - data: { - "sort-ignore": true - }, - formatter: options.indexFormatter - }); - } - initThead($table, options); - initTBody($table); - initPagination($table, options.cols, options.pagination); - $table.off('.grid').on({ - 'footable_initialized.grid': function(e) { - if (options.url || options.ajax) { - $.ajax(options.ajax || { - url: options.url - }).then(function(resp) { - grid.newItem(resp); - ft.raise(options.events.loaded); - }, function(jqXHR) { - throw 'load data from ' + (options.url || options.ajax.url) + ' fail'; - }); - } else { - grid.newItem(options.items || []); - ft.raise(options.events.loaded); - } - }, - 'footable_sorted.grid footable_grid_created.grid footable_grid_removed.grid': function(event) { - if (options.showIndex && grid.getItem().length > 0) { - $table.find('tbody tr:not(.' + detailClass + ')').each(function(index) { - var $td = $(this).find('td:first'); - $td.html(options.indexFormatter(null, $td, index)); - }); - } - }, - 'footable_redrawn.grid footable_row_removed.grid': function(event) { - if (grid.getItem().length === 0 && options.showEmptyInfo) { - makeEmptyInfo($table, options.cols, options.emptyInfo); - } - } - }).on({ - 'click.grid': function(event) { - if ($(event.target).closest('td').find('>.' + toggleClass).size() > 0) { - return true; - } - var $tr = $(event.currentTarget); - if ($tr.hasClass(detailClass)) { - return true; - } - if (!options.multiSelect && !$tr.hasClass(options.activeClass)) { - $table.find('tbody tr.' + options.activeClass).removeClass(options.activeClass); - } - $tr.toggleClass(options.activeClass); - if (options.showCheckbox) { - $tr.find('input:checkbox.check').prop('checked', function(index, val) { - if (event.target === this) { - return val; - } - return !val; - }); - } - ft.toggleDetail($tr); - } - }, 'tbody tr').on('click.grid', 'thead input:checkbox.checkAll', function(event) { - var checked = !! event.currentTarget.checked; - if (checked) { - $table.find('tbody tr').addClass(options.activeClass); - } else { - $table.find('tbody tr').removeClass(options.activeClass); - } - $table.find('tbody input:checkbox.check').prop('checked', checked); - }); - }; - /** - * get selected rows index; - */ - grid.getSelected = function() { - var options = grid.footable.options.grid, - $selected = $(grid.footable.table).find('tbody>tr.' + options.activeClass); - return $selected.map(function() { - return $(this).data('index'); - }); - }; - /** - * get row's data by index - */ - grid.getItem = function(index) { - if (index !== undefined) { - if ($.isArray(index)) { - return $.map(index, function(item) { - return grid._items[item]; - }); - } - return grid._items[index]; - } - return grid._items; - }; - - function makeCell(col, value, index) { - var $td = $('<td>'); - if (col.formatter) { - $td.html(col.formatter(value, $td, index)); - } else { - $td.html(value || ''); - } - return $td; - } - grid._makeRow = function(item, index) { - var options = grid.footable.options.grid; - var $row; - if ($.isFunction(options.template)) { - $row = $(options.template($.extend({}, { - __index: index - }, item))); - } else { - $row = $('<tr>'); - for (var i = 0, len = options.cols.length; i < len; i++) { - var col = options.cols[i]; - $row.append(makeCell(col, item[col.name] || '', index)); - } - } - $row.attr('data-index', index); - return $row; - }; - /** - * create rows by js object - */ - grid.newItem = function(item, index, wait) { - var $tbody = $(grid.footable.table).find('tbody'); - var detailClass = grid.footable.options.classes.detail; - $tbody.find('tr.emptyInfo').remove(); - if ($.isArray(item)) { - for (var atom; - (atom = item.pop());) { - grid.newItem(atom, index, true); - } - grid.footable.redraw(); - grid.footable.raise(grid.footable.options.grid.events.created, { - item: item, - index: index - }); - return; - } - if (!$.isPlainObject(item)) { - return; - } - var $tr, len = grid._items.length; - if (index === undefined || index < 0 || index > len) { - $tr = grid._makeRow(item, len++); - grid._items.push(item); - $tbody.append($tr); - } else { - $tr = grid._makeRow(item, index); - if (index === 0) { - grid._items.unshift(item); - $tbody.prepend($tr); - } else { - var $before = $tbody.find('tr[data-index=' + (index - 1) + ']'); - grid._items.splice(index, 0, item); - if ($before.data('detail_created') === true) { - $before = $before.next(); - } - $before.after($tr); - } - updateRowIndex($tbody, $tr, detailClass, 1); - } - if (!wait) { - grid.footable.redraw(); - grid.footable.raise(grid.footable.options.grid.events.created, { - item: item, - index: index - }); - } - }; - /** - * update row by js object - */ - grid.setItem = function(item, index) { - if (!$.isPlainObject(item)) { - return; - } - var $tbody = $(grid.footable.table).find('tbody'), - $newTr = grid._makeRow(item, index); - $.extend(grid._items[index], item); - var $tr = $tbody.find('tr').eq(index); - $tr.html($newTr.html()); - grid.footable.redraw(); - grid.footable.raise(grid.footable.options.grid.events.updated, { - item: item, - index: index - }); - }; - /** - * remove rows by index - */ - grid.removeItem = function(index) { - var $tbody = $(grid.footable.table).find('tbody'); - var detailClass = grid.footable.options.classes.detail; - var result = []; - if ($.isArray(index)) { - for (var i; - (i = index.pop());) { - result.push(grid.removeItem(i)); - } - grid.footable.raise(grid.footable.options.grid.events.removed, { - item: result, - index: index - }); - return result; - } - if (index === undefined) { - $tbody.find('tr').each(function() { - result.push(grid._items.shift()); - grid.footable.removeRow(this); - }); - } else { - var $tr = $tbody.find('tr[data-index=' + index + ']'); - result = grid._items.splice(index, 1)[0]; - grid.footable.removeRow($tr); - //update rows index - updateRowIndex($tbody, $tr, detailClass, -1); - } - grid.footable.raise(grid.footable.options.grid.events.removed, { - item: result, - index: index - }); - return result; - }; - } - w.footable.plugins.register(Grid, defaults); -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.js deleted file mode 100644 index 234e4f4ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.js +++ /dev/null @@ -1,824 +0,0 @@ -/*! - * FooTable - Awesome Responsive Tables - * Version : 2.0.3 - * http://fooplugins.com/plugins/footable-jquery/ - * - * Requires jQuery - http://jquery.com/ - * - * Copyright 2014 Steven Usher & Brad Vincent - * Released under the MIT license - * You are free to use FooTable in commercial projects as long as this copyright header is left intact. - * - * Date: 11 Nov 2014 - */ -(function ($, w, undefined) { - w.footable = { - options: { - delay: 100, // The number of millseconds to wait before triggering the react event - breakpoints: { // The different screen resolution breakpoints - phone: 480, - tablet: 1024 - }, - parsers: { // The default parser to parse the value out of a cell (values are used in building up row detail) - alpha: function (cell) { - return $(cell).data('value') || $.trim($(cell).text()); - }, - numeric: function (cell) { - var val = $(cell).data('value') || $(cell).text().replace(/[^0-9.\-]/g, ''); - val = parseFloat(val); - if (isNaN(val)) val = 0; - return val; - } - }, - addRowToggle: true, - calculateWidthOverride: null, - toggleSelector: ' > tbody > tr:not(.footable-row-detail)', //the selector to show/hide the detail row - columnDataSelector: '> thead > tr:last-child > th, > thead > tr:last-child > td', //the selector used to find the column data in the thead - detailSeparator: ':', //the separator character used when building up the detail row - toggleHTMLElement: '<span />', // override this if you want to insert a click target rather than use a background image. - createGroupedDetail: function (data) { - var groups = { '_none': { 'name': null, 'data': [] } }; - for (var i = 0; i < data.length; i++) { - var groupid = data[i].group; - if (groupid !== null) { - if (!(groupid in groups)) - groups[groupid] = { 'name': data[i].groupName || data[i].group, 'data': [] }; - - groups[groupid].data.push(data[i]); - } else { - groups._none.data.push(data[i]); - } - } - return groups; - }, - createDetail: function (element, data, createGroupedDetail, separatorChar, classes) { - /// <summary>This function is used by FooTable to generate the detail view seen when expanding a collapsed row.</summary> - /// <param name="element">This is the div that contains all the detail row information, anything could be added to it.</param> - /// <param name="data"> - /// This is an array of objects containing the cell information for the current row. - /// These objects look like the below: - /// obj = { - /// 'name': String, // The name of the column - /// 'value': Object, // The value parsed from the cell using the parsers. This could be a string, a number or whatever the parser outputs. - /// 'display': String, // This is the actual HTML from the cell, so if you have images etc you want moved this is the one to use and is the default value used. - /// 'group': String, // This is the identifier used in the data-group attribute of the column. - /// 'groupName': String // This is the actual name of the group the column belongs to. - /// } - /// </param> - /// <param name="createGroupedDetail">The grouping function to group the data</param> - /// <param name="separatorChar">The separator charactor used</param> - /// <param name="classes">The array of class names used to build up the detail row</param> - - var groups = createGroupedDetail(data); - for (var group in groups) { - if (groups[group].data.length === 0) continue; - if (group !== '_none') element.append('<div class="' + classes.detailInnerGroup + '">' + groups[group].name + '</div>'); - - for (var j = 0; j < groups[group].data.length; j++) { - var separator = (groups[group].data[j].name) ? separatorChar : ''; - element.append($('<div></div>').addClass(classes.detailInnerRow).append($('<div></div>').addClass(classes.detailInnerName) - .append(groups[group].data[j].name + separator)).append($('<div></div>').addClass(classes.detailInnerValue) - .attr('data-bind-value', groups[group].data[j].bindName).append(groups[group].data[j].display))); - } - } - }, - classes: { - main: 'footable', - loading: 'footable-loading', - loaded: 'footable-loaded', - toggle: 'footable-toggle', - disabled: 'footable-disabled', - detail: 'footable-row-detail', - detailCell: 'footable-row-detail-cell', - detailInner: 'footable-row-detail-inner', - detailInnerRow: 'footable-row-detail-row', - detailInnerGroup: 'footable-row-detail-group', - detailInnerName: 'footable-row-detail-name', - detailInnerValue: 'footable-row-detail-value', - detailShow: 'footable-detail-show' - }, - triggers: { - initialize: 'footable_initialize', //trigger this event to force FooTable to reinitialize - resize: 'footable_resize', //trigger this event to force FooTable to resize - redraw: 'footable_redraw', //trigger this event to force FooTable to redraw - toggleRow: 'footable_toggle_row', //trigger this event to force FooTable to toggle a row - expandFirstRow: 'footable_expand_first_row', //trigger this event to force FooTable to expand the first row - expandAll: 'footable_expand_all', //trigger this event to force FooTable to expand all rows - collapseAll: 'footable_collapse_all' //trigger this event to force FooTable to collapse all rows - }, - events: { - alreadyInitialized: 'footable_already_initialized', //fires when the FooTable has already been initialized - initializing: 'footable_initializing', //fires before FooTable starts initializing - initialized: 'footable_initialized', //fires after FooTable has finished initializing - resizing: 'footable_resizing', //fires before FooTable resizes - resized: 'footable_resized', //fires after FooTable has resized - redrawn: 'footable_redrawn', //fires after FooTable has redrawn - breakpoint: 'footable_breakpoint', //fires inside the resize function, when a breakpoint is hit - columnData: 'footable_column_data', //fires when setting up column data. Plugins should use this event to capture their own info about a column - rowDetailUpdating: 'footable_row_detail_updating', //fires before a detail row is updated - rowDetailUpdated: 'footable_row_detail_updated', //fires when a detail row is being updated - rowCollapsed: 'footable_row_collapsed', //fires when a row is collapsed - rowExpanded: 'footable_row_expanded', //fires when a row is expanded - rowRemoved: 'footable_row_removed', //fires when a row is removed - reset: 'footable_reset' //fires when FooTable is reset - }, - debug: false, // Whether or not to log information to the console. - log: null - }, - - version: { - major: 0, minor: 5, - toString: function () { - return w.footable.version.major + '.' + w.footable.version.minor; - }, - parse: function (str) { - var version = /(\d+)\.?(\d+)?\.?(\d+)?/.exec(str); - return { - major: parseInt(version[1], 10) || 0, - minor: parseInt(version[2], 10) || 0, - patch: parseInt(version[3], 10) || 0 - }; - } - }, - - plugins: { - _validate: function (plugin) { - ///<summary>Simple validation of the <paramref name="plugin"/> to make sure any members called by FooTable actually exist.</summary> - ///<param name="plugin">The object defining the plugin, this should implement a string property called "name" and a function called "init".</param> - - if (!$.isFunction(plugin)) { - if (w.footable.options.debug === true) console.error('Validation failed, expected type "function", received type "{0}".', typeof plugin); - return false; - } - var p = new plugin(); - if (typeof p['name'] !== 'string') { - if (w.footable.options.debug === true) console.error('Validation failed, plugin does not implement a string property called "name".', p); - return false; - } - if (!$.isFunction(p['init'])) { - if (w.footable.options.debug === true) console.error('Validation failed, plugin "' + p['name'] + '" does not implement a function called "init".', p); - return false; - } - if (w.footable.options.debug === true) console.log('Validation succeeded for plugin "' + p['name'] + '".', p); - return true; - }, - registered: [], // An array containing all registered plugins. - register: function (plugin, options) { - ///<summary>Registers a <paramref name="plugin"/> and its default <paramref name="options"/> with FooTable.</summary> - ///<param name="plugin">The plugin that should implement a string property called "name" and a function called "init".</param> - ///<param name="options">The default options to merge with the FooTable's base options.</param> - - if (w.footable.plugins._validate(plugin)) { - w.footable.plugins.registered.push(plugin); - if (typeof options === 'object') $.extend(true, w.footable.options, options); - } - }, - load: function(instance){ - var loaded = [], registered, i; - for(i = 0; i < w.footable.plugins.registered.length; i++){ - try { - registered = w.footable.plugins.registered[i]; - loaded.push(new registered(instance)); - } catch (err) { - if (w.footable.options.debug === true) console.error(err); - } - } - return loaded; - }, - init: function (instance) { - ///<summary>Loops through all registered plugins and calls the "init" method supplying the current <paramref name="instance"/> of the FooTable as the first parameter.</summary> - ///<param name="instance">The current instance of the FooTable that the plugin is being initialized for.</param> - - for (var i = 0; i < instance.plugins.length; i++) { - try { - instance.plugins[i]['init'](instance); - } catch (err) { - if (w.footable.options.debug === true) console.error(err); - } - } - } - } - }; - - var instanceCount = 0; - - $.fn.footable = function (options) { - ///<summary>The main constructor call to initialize the plugin using the supplied <paramref name="options"/>.</summary> - ///<param name="options"> - ///<para>A JSON object containing user defined options for the plugin to use. Any options not supplied will have a default value assigned.</para> - ///<para>Check the documentation or the default options object above for more information on available options.</para> - ///</param> - - options = options || {}; - var o = $.extend(true, {}, w.footable.options, options); //merge user and default options - return this.each(function () { - instanceCount++; - var footable = new Footable(this, o, instanceCount); - $(this).data('footable', footable); - }); - }; - - //helper for using timeouts - function Timer() { - ///<summary>Simple timer object created around a timeout.</summary> - var t = this; - t.id = null; - t.busy = false; - t.start = function (code, milliseconds) { - ///<summary>Starts the timer and waits the specified amount of <paramref name="milliseconds"/> before executing the supplied <paramref name="code"/>.</summary> - ///<param name="code">The code to execute once the timer runs out.</param> - ///<param name="milliseconds">The time in milliseconds to wait before executing the supplied <paramref name="code"/>.</param> - - if (t.busy) { - return; - } - t.stop(); - t.id = setTimeout(function () { - code(); - t.id = null; - t.busy = false; - }, milliseconds); - t.busy = true; - }; - t.stop = function () { - ///<summary>Stops the timer if its runnning and resets it back to its starting state.</summary> - - if (t.id !== null) { - clearTimeout(t.id); - t.id = null; - t.busy = false; - } - }; - } - - function Footable(t, o, id) { - ///<summary>Inits a new instance of the plugin.</summary> - ///<param name="t">The main table element to apply this plugin to.</param> - ///<param name="o">The options supplied to the plugin. Check the defaults object to see all available options.</param> - ///<param name="id">The id to assign to this instance of the plugin.</param> - - var ft = this; - ft.id = id; - ft.table = t; - ft.options = o; - ft.breakpoints = []; - ft.breakpointNames = ''; - ft.columns = {}; - ft.plugins = w.footable.plugins.load(ft); - - var opt = ft.options, - cls = opt.classes, - evt = opt.events, - trg = opt.triggers, - indexOffset = 0; - - // This object simply houses all the timers used in the FooTable. - ft.timers = { - resize: new Timer(), - register: function (name) { - ft.timers[name] = new Timer(); - return ft.timers[name]; - } - }; - - ft.init = function () { - var $window = $(w), $table = $(ft.table); - - w.footable.plugins.init(ft); - - if ($table.hasClass(cls.loaded)) { - //already loaded FooTable for the table, so don't init again - ft.raise(evt.alreadyInitialized); - return; - } - - //raise the initializing event - ft.raise(evt.initializing); - - $table.addClass(cls.loading); - - // Get the column data once for the life time of the plugin - $table.find(opt.columnDataSelector).each(function () { - var data = ft.getColumnData(this); - ft.columns[data.index] = data; - }); - - // Create a nice friendly array to work with out of the breakpoints object. - for (var name in opt.breakpoints) { - ft.breakpoints.push({ 'name': name, 'width': opt.breakpoints[name] }); - ft.breakpointNames += (name + ' '); - } - - // Sort the breakpoints so the smallest is checked first - ft.breakpoints.sort(function (a, b) { - return a['width'] - b['width']; - }); - - $table - .unbind(trg.initialize) - //bind to FooTable initialize trigger - .bind(trg.initialize, function () { - //remove previous "state" (to "force" a resize) - $table.removeData('footable_info'); - $table.data('breakpoint', ''); - - //trigger the FooTable resize - $table.trigger(trg.resize); - - //remove the loading class - $table.removeClass(cls.loading); - - //add the FooTable and loaded class - $table.addClass(cls.loaded).addClass(cls.main); - - //raise the initialized event - ft.raise(evt.initialized); - }) - .unbind(trg.redraw) - //bind to FooTable redraw trigger - .bind(trg.redraw, function () { - ft.redraw(); - }) - .unbind(trg.resize) - //bind to FooTable resize trigger - .bind(trg.resize, function () { - ft.resize(); - }) - .unbind(trg.expandFirstRow) - //bind to FooTable expandFirstRow trigger - .bind(trg.expandFirstRow, function () { - $table.find(opt.toggleSelector).first().not('.' + cls.detailShow).trigger(trg.toggleRow); - }) - .unbind(trg.expandAll) - //bind to FooTable expandFirstRow trigger - .bind(trg.expandAll, function () { - $table.find(opt.toggleSelector).not('.' + cls.detailShow).trigger(trg.toggleRow); - }) - .unbind(trg.collapseAll) - //bind to FooTable expandFirstRow trigger - .bind(trg.collapseAll, function () { - $table.find('.' + cls.detailShow).trigger(trg.toggleRow); - }); - - //trigger a FooTable initialize - $table.trigger(trg.initialize); - - //bind to window resize - $window - .bind('resize.footable', function () { - ft.timers.resize.stop(); - ft.timers.resize.start(function () { - ft.raise(trg.resize); - }, opt.delay); - }); - }; - - ft.addRowToggle = function () { - if (!opt.addRowToggle) return; - - var $table = $(ft.table), - hasToggleColumn = false; - - //first remove all toggle spans - $table.find('span.' + cls.toggle).remove(); - - for (var c in ft.columns) { - var col = ft.columns[c]; - if (col.toggle) { - hasToggleColumn = true; - var selector = '> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > td:nth-child(' + (parseInt(col.index, 10) + 1) + '),' + - '> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > th:nth-child(' + (parseInt(col.index, 10) + 1) + ')'; - $table.find(selector).not('.' + cls.detailCell).prepend($(opt.toggleHTMLElement).addClass(cls.toggle)); - return; - } - } - //check if we have an toggle column. If not then add it to the first column just to be safe - if (!hasToggleColumn) { - $table - .find('> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > td:first-child') - .add('> tbody > tr:not(.' + cls.detail + ',.' + cls.disabled + ') > th:first-child') - .not('.' + cls.detailCell) - .prepend($(opt.toggleHTMLElement).addClass(cls.toggle)); - } - }; - - ft.setColumnClasses = function () { - var $table = $(ft.table); - for (var c in ft.columns) { - var col = ft.columns[c]; - if (col.className !== null) { - var selector = '', first = true; - $.each(col.matches, function (m, match) { //support for colspans - if (!first) selector += ', '; - selector += '> tbody > tr:not(.' + cls.detail + ') > td:nth-child(' + (parseInt(match, 10) + 1) + ')'; - first = false; - }); - //add the className to the cells specified by data-class="blah" - $table.find(selector).not('.' + cls.detailCell).addClass(col.className); - } - } - }; - - //moved this out into it's own function so that it can be called from other add-ons - ft.bindToggleSelectors = function () { - var $table = $(ft.table); - - if (!ft.hasAnyBreakpointColumn()) return; - - $table.find(opt.toggleSelector).unbind(trg.toggleRow).bind(trg.toggleRow, function (e) { - var $row = $(this).is('tr') ? $(this) : $(this).parents('tr:first'); - ft.toggleDetail($row); - }); - - $table.find(opt.toggleSelector).unbind('click.footable').bind('click.footable', function (e) { - if ($table.is('.breakpoint') && $(e.target).is('td,th,.'+ cls.toggle)) { - $(this).trigger(trg.toggleRow); - } - }); - }; - - ft.parse = function (cell, column) { - var parser = opt.parsers[column.type] || opt.parsers.alpha; - return parser(cell); - }; - - ft.getColumnData = function (th) { - var $th = $(th), hide = $th.data('hide'), index = $th.index(); - hide = hide || ''; - hide = jQuery.map(hide.split(','), function (a) { - return jQuery.trim(a); - }); - var data = { - 'index': index, - 'hide': { }, - 'type': $th.data('type') || 'alpha', - 'name': $th.data('name') || $.trim($th.text()), - 'ignore': $th.data('ignore') || false, - 'toggle': $th.data('toggle') || false, - 'className': $th.data('class') || null, - 'matches': [], - 'names': { }, - 'group': $th.data('group') || null, - 'groupName': null, - 'isEditable': $th.data('editable') - }; - - if (data.group !== null) { - var $group = $(ft.table).find('> thead > tr.footable-group-row > th[data-group="' + data.group + '"], > thead > tr.footable-group-row > td[data-group="' + data.group + '"]').first(); - data.groupName = ft.parse($group, { 'type': 'alpha' }); - } - - var pcolspan = parseInt($th.prev().attr('colspan') || 0, 10); - indexOffset += pcolspan > 1 ? pcolspan - 1 : 0; - var colspan = parseInt($th.attr('colspan') || 0, 10), curindex = data.index + indexOffset; - if (colspan > 1) { - var names = $th.data('names'); - names = names || ''; - names = names.split(','); - for (var i = 0; i < colspan; i++) { - data.matches.push(i + curindex); - if (i < names.length) data.names[i + curindex] = names[i]; - } - } else { - data.matches.push(curindex); - } - - data.hide['default'] = ($th.data('hide') === "all") || ($.inArray('default', hide) >= 0); - - var hasBreakpoint = false; - for (var name in opt.breakpoints) { - data.hide[name] = ($th.data('hide') === "all") || ($.inArray(name, hide) >= 0); - hasBreakpoint = hasBreakpoint || data.hide[name]; - } - data.hasBreakpoint = hasBreakpoint; - var e = ft.raise(evt.columnData, { 'column': { 'data': data, 'th': th } }); - return e.column.data; - }; - - ft.getViewportWidth = function () { - return window.innerWidth || (document.body ? document.body.offsetWidth : 0); - }; - - ft.calculateWidth = function ($table, info) { - if (jQuery.isFunction(opt.calculateWidthOverride)) { - return opt.calculateWidthOverride($table, info); - } - if (info.viewportWidth < info.width) info.width = info.viewportWidth; - if (info.parentWidth < info.width) info.width = info.parentWidth; - return info; - }; - - ft.hasBreakpointColumn = function (breakpoint) { - for (var c in ft.columns) { - if (ft.columns[c].hide[breakpoint]) { - if (ft.columns[c].ignore) { - continue; - } - return true; - } - } - return false; - }; - - ft.hasAnyBreakpointColumn = function () { - for (var c in ft.columns) { - if (ft.columns[c].hasBreakpoint) { - return true; - } - } - return false; - }; - - ft.resize = function () { - var $table = $(ft.table); - - if (!$table.is(':visible')) { - return; - } //we only care about FooTables that are visible - - if (!ft.hasAnyBreakpointColumn()) { - $table.trigger(trg.redraw); - return; - } //we only care about FooTables that have breakpoints - - var info = { - 'width': $table.width(), //the table width - 'viewportWidth': ft.getViewportWidth(), //the width of the viewport - 'parentWidth': $table.parent().width() //the width of the parent - }; - - info = ft.calculateWidth($table, info); - - var pinfo = $table.data('footable_info'); - $table.data('footable_info', info); - ft.raise(evt.resizing, { 'old': pinfo, 'info': info }); - - // This (if) statement is here purely to make sure events aren't raised twice as mobile safari seems to do - if (!pinfo || (pinfo && pinfo.width && pinfo.width !== info.width)) { - - var current = null, breakpoint; - for (var i = 0; i < ft.breakpoints.length; i++) { - breakpoint = ft.breakpoints[i]; - if (breakpoint && breakpoint.width && info.width <= breakpoint.width) { - current = breakpoint; - break; - } - } - - var breakpointName = (current === null ? 'default' : current['name']), - hasBreakpointFired = ft.hasBreakpointColumn(breakpointName), - previousBreakpoint = $table.data('breakpoint'); - - $table - .data('breakpoint', breakpointName) - .removeClass('default breakpoint').removeClass(ft.breakpointNames) - .addClass(breakpointName + (hasBreakpointFired ? ' breakpoint' : '')); - - //only do something if the breakpoint has changed - if (breakpointName !== previousBreakpoint) { - //trigger a redraw - $table.trigger(trg.redraw); - //raise a breakpoint event - ft.raise(evt.breakpoint, { 'breakpoint': breakpointName, 'info': info }); - } - } - - ft.raise(evt.resized, { 'old': pinfo, 'info': info }); - }; - - ft.redraw = function () { - //add the toggler to each row - ft.addRowToggle(); - - //bind the toggle selector click events - ft.bindToggleSelectors(); - - //set any cell classes defined for the columns - ft.setColumnClasses(); - - var $table = $(ft.table), - breakpointName = $table.data('breakpoint'), - hasBreakpointFired = ft.hasBreakpointColumn(breakpointName); - - $table - .find('> tbody > tr:not(.' + cls.detail + ')').data('detail_created', false).end() - .find('> thead > tr:last-child > th') - .each(function () { - var data = ft.columns[$(this).index()], selector = '', first = true; - $.each(data.matches, function (m, match) { - if (!first) { - selector += ', '; - } - var count = match + 1; - selector += '> tbody > tr:not(.' + cls.detail + ') > td:nth-child(' + count + ')'; - selector += ', > tfoot > tr:not(.' + cls.detail + ') > td:nth-child(' + count + ')'; - selector += ', > colgroup > col:nth-child(' + count + ')'; - first = false; - }); - - selector += ', > thead > tr[data-group-row="true"] > th[data-group="' + data.group + '"]'; - var $column = $table.find(selector).add(this); - if (breakpointName !== '') { - if (data.hide[breakpointName] === false) $column.addClass('footable-visible').show(); - else $column.removeClass('footable-visible').hide(); - } - - if ($table.find('> thead > tr.footable-group-row').length === 1) { - var $groupcols = $table.find('> thead > tr:last-child > th[data-group="' + data.group + '"]:visible, > thead > tr:last-child > th[data-group="' + data.group + '"]:visible'), - $group = $table.find('> thead > tr.footable-group-row > th[data-group="' + data.group + '"], > thead > tr.footable-group-row > td[data-group="' + data.group + '"]'), - groupspan = 0; - - $.each($groupcols, function () { - groupspan += parseInt($(this).attr('colspan') || 1, 10); - }); - - if (groupspan > 0) $group.attr('colspan', groupspan).show(); - else $group.hide(); - } - }) - .end() - .find('> tbody > tr.' + cls.detailShow).each(function () { - ft.createOrUpdateDetailRow(this); - }); - - $table.find("[data-bind-name]").each(function () { - ft.toggleInput(this); - }); - - $table.find('> tbody > tr.' + cls.detailShow + ':visible').each(function () { - var $next = $(this).next(); - if ($next.hasClass(cls.detail)) { - if (!hasBreakpointFired) $next.hide(); - else $next.show(); - } - }); - - // adding .footable-first-column and .footable-last-column to the first and last th and td of each row in order to allow - // for styling if the first or last column is hidden (which won't work using :first-child or :last-child) - $table.find('> thead > tr > th.footable-last-column, > tbody > tr > td.footable-last-column').removeClass('footable-last-column'); - $table.find('> thead > tr > th.footable-first-column, > tbody > tr > td.footable-first-column').removeClass('footable-first-column'); - $table.find('> thead > tr, > tbody > tr') - .find('> th.footable-visible:last, > td.footable-visible:last') - .addClass('footable-last-column') - .end() - .find('> th.footable-visible:first, > td.footable-visible:first') - .addClass('footable-first-column'); - - ft.raise(evt.redrawn); - }; - - ft.toggleDetail = function (row) { - var $row = (row.jquery) ? row : $(row), - $next = $row.next(); - - //check if the row is already expanded - if ($row.hasClass(cls.detailShow)) { - $row.removeClass(cls.detailShow); - - //only hide the next row if it's a detail row - if ($next.hasClass(cls.detail)) $next.hide(); - - ft.raise(evt.rowCollapsed, { 'row': $row[0] }); - - } else { - ft.createOrUpdateDetailRow($row[0]); - $row.addClass(cls.detailShow) - .next().show(); - - ft.raise(evt.rowExpanded, { 'row': $row[0] }); - } - }; - - ft.removeRow = function (row) { - var $row = (row.jquery) ? row : $(row); - if ($row.hasClass(cls.detail)) { - $row = $row.prev(); - } - var $next = $row.next(); - if ($row.data('detail_created') === true) { - //remove the detail row - $next.remove(); - } - $row.remove(); - - //raise event - ft.raise(evt.rowRemoved); - }; - - ft.appendRow = function (row) { - var $row = (row.jquery) ? row : $(row); - $(ft.table).find('tbody').append($row); - - //redraw the table - ft.redraw(); - }; - - ft.getColumnFromTdIndex = function (index) { - /// <summary>Returns the correct column data for the supplied index taking into account colspans.</summary> - /// <param name="index">The index to retrieve the column data for.</param> - /// <returns type="json">A JSON object containing the column data for the supplied index.</returns> - var result = null; - for (var column in ft.columns) { - if ($.inArray(index, ft.columns[column].matches) >= 0) { - result = ft.columns[column]; - break; - } - } - return result; - }; - - ft.createOrUpdateDetailRow = function (actualRow) { - var $row = $(actualRow), $next = $row.next(), $detail, values = []; - if ($row.data('detail_created') === true) return true; - - if ($row.is(':hidden')) return false; //if the row is hidden for some reason (perhaps filtered) then get out of here - ft.raise(evt.rowDetailUpdating, { 'row': $row, 'detail': $next }); - $row.find('> td:hidden').each(function () { - var index = $(this).index(), column = ft.getColumnFromTdIndex(index), name = column.name; - if (column.ignore === true) return true; - - if (index in column.names) name = column.names[index]; - - var bindName = $(this).attr("data-bind-name"); - if (bindName != null && $(this).is(':empty')) { - var bindValue = $('.' + cls.detailInnerValue + '[' + 'data-bind-value="' + bindName + '"]'); - $(this).html($(bindValue).contents().detach()); - } - var display; - if (column.isEditable !== false && (column.isEditable || $(this).find(":input").length > 0)) { - if(bindName == null) { - bindName = "bind-" + $.now() + "-" + index; - $(this).attr("data-bind-name", bindName); - } - display = $(this).contents().detach(); - } - if (!display) display = $(this).contents().clone(true, true); - values.push({ 'name': name, 'value': ft.parse(this, column), 'display': display, 'group': column.group, 'groupName': column.groupName, 'bindName': bindName }); - return true; - }); - if (values.length === 0) return false; //return if we don't have any data to show - var colspan = $row.find('> td:visible').length; - var exists = $next.hasClass(cls.detail); - if (!exists) { // Create - $next = $('<tr class="' + cls.detail + '"><td class="' + cls.detailCell + '"><div class="' + cls.detailInner + '"></div></td></tr>'); - $row.after($next); - } - $next.find('> td:first').attr('colspan', colspan); - $detail = $next.find('.' + cls.detailInner).empty(); - opt.createDetail($detail, values, opt.createGroupedDetail, opt.detailSeparator, cls); - $row.data('detail_created', true); - ft.raise(evt.rowDetailUpdated, { 'row': $row, 'detail': $next }); - return !exists; - }; - - ft.raise = function (eventName, args) { - - if (ft.options.debug === true && $.isFunction(ft.options.log)) ft.options.log(eventName, 'event'); - - args = args || { }; - var def = { 'ft': ft }; - $.extend(true, def, args); - var e = $.Event(eventName, def); - if (!e.ft) { - $.extend(true, e, def); - } //pre jQuery 1.6 which did not allow data to be passed to event object constructor - $(ft.table).trigger(e); - return e; - }; - - //reset the state of FooTable - ft.reset = function() { - var $table = $(ft.table); - $table.removeData('footable_info') - .data('breakpoint', '') - .removeClass(cls.loading) - .removeClass(cls.loaded); - - $table.find(opt.toggleSelector).unbind(trg.toggleRow).unbind('click.footable'); - - $table.find('> tbody > tr').removeClass(cls.detailShow); - - $table.find('> tbody > tr.' + cls.detail).remove(); - - ft.raise(evt.reset); - }; - - //Switch between row-detail and detail-show. - ft.toggleInput = function (column) { - var bindName = $(column).attr("data-bind-name"); - if(bindName != null) { - var bindValue = $('.' + cls.detailInnerValue + '[' + 'data-bind-value="' + bindName + '"]'); - if(bindValue != null) { - if($(column).is(":visible")) { - if(!$(bindValue).is(':empty')) $(column).html($(bindValue).contents().detach()); - } else if(!$(column).is(':empty')) { - $(bindValue).html($(column).contents().detach()); - } - } - } - }; - - ft.init(); - return ft; - } -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.memory.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.memory.js deleted file mode 100644 index 487ed709f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.memory.js +++ /dev/null @@ -1,429 +0,0 @@ -/** - * Footable Memory - * - * Version 1.1.0 - * - * Requires browser support for localStorage. Fallback to cookies using - * jQuery Cookie (https://github.com/carhartl/jquery-cookie) - * - * Stores table state in a cookie and reloads state when page is refreshed. - * - * Supports common FooTable features: - * - Pagination - * - Sorting - * - Filtering - * - Expansion - * - * Written to be compatible with multiple FooTables per page and with - * JavaScript libraries like AngularJS and Ember that use hash based URLs. - * - * Disabled by default, to enable add the following section to the footable - * options: - * - * $('#table').footable({ - * memory: { - * enabled: true - * } - * }); - * - * Based on FooTable Plugin Bookmarkable by Amy Farrell (https://github.com/akf) - * - * Created by Chris Laskey (https://github.com/chrislaskey) - */ - -(function ($, w, undefined) { - - if (w.footable === undefined || w.foobox === null) { - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - } - - var defaults = { - memory: { - enabled: false - } - }; - - var storage; - - var storage_engines = {}; - - storage_engines.local_storage = (function($){ - - 'use strict'; - - var path_page = function(){ - return location.pathname; - }; - - var path_subpage = function(){ - return location.hash || 'root'; - }; - - var storage_key = function(index){ - return path_page() + '/' + path_subpage() + '/index-' + index; - }; - - var get = function(index){ - var key = storage_key(index), - as_string = localStorage.getItem(key); - - return as_string ? JSON.parse(as_string) : {}; - }; - - var set = function(index, item){ - var key = storage_key(index), - as_string = JSON.stringify(item); - - localStorage.setItem(key, as_string); - }; - - return { - get: function(index){ - return get(index); - }, - set: function(index, item){ - set(index, item); - } - }; - - })($); - - storage_engines.cookie = (function($){ - - 'use strict'; - - /** - * Stores footable bookmarkable data in a cookie - * - * By default will store each page in its own cookie. - * Supports multiple FooTables per page. - * Supports JS frameworks that use hashmap URLs (AngularJS, Ember, etc). - * - * For example take an example application: - * - * http://example.com/application-data (2 FooTables on this page) - * http://example.com/application-data/#/details (1 FooTable on this page) - * http://example.com/other-data (1 FooTable on this page) - * - * Would be stored like this: - * - * cookie['/application-data'] = { - * '/': { - * 1: { - * key1: value1, - * key2: value2 - * }, - * 2: { - * key1: value1, - * key2: value2 - * } - * }, - * '#/details': { - * 1: { - * key1: value1, - * key2: value2 - * } - * } - * }; - * - * cookie['/other-data'] = { - * '/': { - * 1: { - * key1: value1, - * key2: value2 - * }, - * } - * } - * - */ - - if( $.cookie ){ - $.cookie.json = true; - } - - var days_to_keep_data = 7; - - var path_page = function(){ - return location.pathname; - }; - - var path_subpage = function(){ - return location.hash || '/'; - }; - - var get_data = function(){ - var page = path_page(), - data = $.cookie(page); - - return data || {}; - }; - - var get_table = function(index){ - var subpage = path_subpage(), - data = get_data(); - - if( data[subpage] && data[subpage][index] ){ - return data[subpage][index]; - } else { - return {}; - } - }; - - var set = function(index, item){ - var page = path_page(), - subpage = path_subpage(), - data = get_data(), - options; - - if( !data[subpage] ){ - data[subpage] = {}; - } - - data[subpage][index] = item; - - options = { - path: page, - expires: days_to_keep_data - }; - - $.cookie(page, data, options); - }; - - return { - get: function(index){ - return get_table(index); - }, - set: function(index, item){ - set(index, item); - } - }; - - })($); - - var set_storage_engine = (function(){ - var test = 'footable-memory-plugin-storage-test'; - - try { - localStorage.setItem(test, test); - localStorage.removeItem(test); - storage = storage_engines.local_storage; - } catch(e) { - try { - $.cookie(test, test); - storage = storage_engines.cookie; - } catch(e) { - throw new Error('FooTable Memory requires either localStorage or cookie support via jQuery $.cookie plugin (https://github.com/carhartl/jquery-cookie)'); - } - } - })($); - - var state = (function($){ - - 'use strict'; - - /** - * Gets and sets current table state - */ - - var vars = {}; - - var get = {}; - - var set = {}; - - set.vars = function(ft){ - vars.ft = ft; - vars.table = $(ft.table); - }; - - get.descending = function(){ - var descending = false; - $.each(vars.table.find('th'), function(index){ - if( $(this).hasClass('footable-sorted-desc') ){ - descending = true; - } - }); - return descending; - }; - - get.expanded = function(){ - var indexes = []; - $.each(vars.ft.table.rows, function(index, value){ - if( $(this).hasClass('footable-detail-show') ){ - indexes.push(index); - } - }); - return indexes; - }; - - set.expanded = function(data){ - if( data.expanded ){ - $.each(data.expanded, function(index, value){ - // var row = $(vars.ft.table.rows[value]); - // row.find('> td:first').trigger('footable_toggle_row'); - - // Trying to execute the lines above, but the expanded row - // shows raw AngularJS template (with {{ values }}) instead - // of the fully rendered result. - // - // Best guess is some things happen after - // 'footable_initialized' event and row expanding can not - // occur until after those fire. - // - // A hack to get around this is to wait an interval before - // executing the intended commands. Wrapped in an - // immediately executing function to ensure ft is the - // current value. - - (function(ft){ - setTimeout(function(){ - var row = $(ft.table.rows[value]); - row.find('> td:first').trigger('footable_toggle_row'); - }, 150); - })(vars.ft); - }); - } - }; - - get.filter = function(){ - return vars.table.data('filter') ? $(vars.table.data('filter')).val() : ''; - }; - - set.filter = function(data){ - if( data.filter ){ - $(vars.table.data('filter')) - .val(data.filter) - .trigger('keyup'); - } - }; - - get.page = function(){ - return vars.ft.pageInfo && vars.ft.pageInfo.currentPage !== undefined ? vars.ft.pageInfo.currentPage : 0; - }; - - set.page = function(data){ - if( data.page ){ - vars.table.data('currentPage', data.page); - // Delay triggering table until sort is updated, since both effect - // pagination. - } - }; - - get.shown = function(){ - return vars.table - .find('tbody') - .find('tr:not(.footable-row-detail)') - .filter(':visible').length; - }; - - get.sorted = function(){ - if( vars.table.data('sorted') !== undefined ){ - return vars.table.data('sorted'); - } else { - return -1; - } - }; - - set.sorted = function(data){ - if( data.sorted >= 0 ) { - // vars.table.data('footable-sort').doSort(data.sorted, !data.descending); - - // Trying to execute the line above, but only sort icon on the - // <th> element gets set. The rows themselves do not get sorted. - // - // Best guess is some things happen after 'footable_initialized' event - // and sorting can not occur until after those fire. - // - // A hack to get around this is to wait an interval before executing - // the intended commands. Wrapped in an immediately executing - // function to ensure ft is the current value. - - (function(ft){ - setTimeout(function(){ - $(ft.table).data('footable-sort').doSort(data.sorted, !data.descending); - }, 150); - })(vars.ft); - } else { - vars.table.trigger('footable_setup_paging'); - } - }; - - get.total = function(){ - return vars.table - .find('tbody') - .find('tr:not(.footable-row-detail, .footable-filtered)').length; - }; - - var get_state = function(){ - return { - descending: get.descending(), - expanded: get.expanded(), - filter: get.filter(), - page: get.page(), - shown: get.shown(), - sorted: get.sorted(), - total: get.total() - }; - }; - - var set_state = function(data){ - set.filter(data); - set.page(data); - set.sorted(data); - set.expanded(data); - }; - - return { - get: function(ft){ - set.vars(ft); - return get_state(); - }, - set: function(ft, data){ - set.vars(ft); - return set_state(data); - } - }; - - })($); - - var is_enabled = function(ft){ - return ft.options.memory.enabled; - }; - - var update = function(ft, event) { - var index = ft.id, - data = state.get(ft); - - storage.set(index, data); - }; - - var load = function(ft){ - var index = ft.id, - data = storage.get(index); - - state.set(ft, data); - ft.memory_plugin_loaded = true; - }; - - function Memory() { - var p = this; - p.name = 'Footable Memory'; - p.init = function(ft) { - if (is_enabled(ft)) { - $(ft.table).bind({ - 'footable_initialized': function(){ - load(ft); - }, - 'footable_page_filled footable_redrawn footable_filtered footable_sorted footable_row_expanded footable_row_collapsed': function(e) { - if (ft.memory_plugin_loaded) { - update(ft, e); - } - } - }); - } - }; - } - - w.footable.plugins.register(Memory, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.paginate.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.paginate.js deleted file mode 100644 index 8f21c4534..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.paginate.js +++ /dev/null @@ -1,242 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.footable === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - paginate: true, - pageSize: 10, - pageNavigation: '.pagination', - firstText: '&laquo;', - previousText: '&lsaquo;', - nextText: '&rsaquo;', - lastText: '&raquo;', - limitNavigation: 0, - limitPreviousText: '...', - limitNextText: '...' - }; - - function pageInfo(ft) { - var $table = $(ft.table), data = $table.data(); - this.pageNavigation = data.pageNavigation || ft.options.pageNavigation; - this.pageSize = data.pageSize || ft.options.pageSize; - this.firstText = data.firstText || ft.options.firstText; - this.previousText = data.previousText || ft.options.previousText; - this.nextText = data.nextText || ft.options.nextText; - this.lastText = data.lastText || ft.options.lastText; - this.limitNavigation = parseInt(data.limitNavigation || ft.options.limitNavigation || defaults.limitNavigation, 10); - this.limitPreviousText = data.limitPreviousText || ft.options.limitPreviousText; - this.limitNextText = data.limitNextText || ft.options.limitNextText; - this.limit = this.limitNavigation > 0; - this.currentPage = data.currentPage || 0; - this.pages = []; - this.control = false; - } - - function Paginate() { - var p = this; - p.name = 'Footable Paginate'; - - p.init = function (ft) { - if (ft.options.paginate === true) { - if ($(ft.table).data('page') === false) return; - p.footable = ft; - $(ft.table) - .unbind('.paging') - .bind({ - 'footable_initialized.paging footable_row_removed.paging footable_redrawn.paging footable_sorted.paging footable_filtered.paging': function () { - p.setupPaging(); - } - }) - //save the filter object onto the table so we can access it later - .data('footable-paging', p); - } - }; - - p.setupPaging = function () { - var ft = p.footable, - $tbody = $(ft.table).find('> tbody'); - - ft.pageInfo = new pageInfo(ft); - - p.createPages(ft, $tbody); - p.createNavigation(ft, $tbody); - p.fillPage(ft, $tbody, ft.pageInfo.currentPage); - }; - - p.createPages = function (ft, tbody) { - var pages = 1; - var info = ft.pageInfo; - var pageCount = pages * info.pageSize; - var page = []; - var lastPage = []; - info.pages = []; - var rows = tbody.find('> tr:not(.footable-filtered,.footable-row-detail)'); - rows.each(function (i, row) { - page.push(row); - if (i === pageCount - 1) { - info.pages.push(page); - pages++; - pageCount = pages * info.pageSize; - page = []; - } else if (i >= rows.length - (rows.length % info.pageSize)) { - lastPage.push(row); - } - }); - if (lastPage.length > 0) info.pages.push(lastPage); - if (info.currentPage >= info.pages.length) info.currentPage = info.pages.length - 1; - if (info.currentPage < 0) info.currentPage = 0; - if (info.pages.length === 1) { - //we only have a single page - $(ft.table).addClass('no-paging'); - } else { - $(ft.table).removeClass('no-paging'); - } - }; - - p.createNavigation = function (ft, tbody) { - var $nav = $(ft.table).find(ft.pageInfo.pageNavigation); - //if we cannot find the navigation control within the table, then try find it outside - if ($nav.length === 0) { - $nav = $(ft.pageInfo.pageNavigation); - //if the navigation control is inside another table, then get out - if ($nav.parents('table:first').length > 0 && $nav.parents('table:first') !== $(ft.table)) return; - //if we found more than one navigation control, write error to console - if ($nav.length > 1 && ft.options.debug === true) console.error('More than one pagination control was found!'); - } - //if we still cannot find the control, then don't do anything - if ($nav.length === 0) return; - //if the nav is not a UL, then find or create a UL - if (!$nav.is('ul')) { - if ($nav.find('ul:first').length === 0) { - $nav.append('<ul />'); - } - $nav = $nav.find('ul'); - } - $nav.find('li').remove(); - var info = ft.pageInfo; - info.control = $nav; - if (info.pages.length > 0) { - $nav.append('<li class="footable-page-arrow"><a data-page="first" href="#first">' + ft.pageInfo.firstText + '</a>'); - $nav.append('<li class="footable-page-arrow"><a data-page="prev" href="#prev">' + ft.pageInfo.previousText + '</a></li>'); - if (info.limit){ - $nav.append('<li class="footable-page-arrow"><a data-page="limit-prev" href="#limit-prev">' + ft.pageInfo.limitPreviousText + '</a></li>'); - } - if (!info.limit){ - $.each(info.pages, function (i, page) { - if (page.length > 0) { - $nav.append('<li class="footable-page"><a data-page="' + i + '" href="#">' + (i + 1) + '</a></li>'); - } - }); - } - if (info.limit){ - $nav.append('<li class="footable-page-arrow"><a data-page="limit-next" href="#limit-next">' + ft.pageInfo.limitNextText + '</a></li>'); - p.createLimited($nav, info, 0); - } - $nav.append('<li class="footable-page-arrow"><a data-page="next" href="#next">' + ft.pageInfo.nextText + '</a></li>'); - $nav.append('<li class="footable-page-arrow"><a data-page="last" href="#last">' + ft.pageInfo.lastText + '</a></li>'); - } - $nav.off('click', 'a[data-page]').on('click', 'a[data-page]', function (e) { - e.preventDefault(); - var page = $(this).data('page'); - var newPage = info.currentPage; - if (page === 'first') { - newPage = 0; - } else if (page === 'prev') { - if (newPage > 0) newPage--; - } else if (page === 'next') { - if (newPage < info.pages.length - 1) newPage++; - } else if (page === 'last') { - newPage = info.pages.length - 1; - } else if (page === 'limit-prev') { - newPage = -1; - var first = $nav.find('.footable-page:first a').data('page'); - p.createLimited($nav, info, first - info.limitNavigation); - p.setPagingClasses($nav, info.currentPage, info.pages.length); - } else if (page === 'limit-next') { - newPage = -1; - var last = $nav.find('.footable-page:last a').data('page'); - p.createLimited($nav, info, last + 1); - p.setPagingClasses($nav, info.currentPage, info.pages.length); - } else { - newPage = page; - } - if (newPage >= 0){ - if (info.limit && info.currentPage != newPage){ - var start = newPage; - while (start % info.limitNavigation !== 0){ start -= 1; } - p.createLimited($nav, info, start); - } - p.paginate(ft, newPage); - } - }); - p.setPagingClasses($nav, info.currentPage, info.pages.length); - }; - - p.createLimited = function(nav, info, start){ - start = start || 0; - nav.find('li.footable-page').remove(); - var i, page, - $prev = nav.find('li.footable-page-arrow > a[data-page="limit-prev"]').parent(), - $next = nav.find('li.footable-page-arrow > a[data-page="limit-next"]').parent(); - for (i = info.pages.length - 1; i >=0 ; i--){ - page = info.pages[i]; - if (i >= start && i < start + info.limitNavigation && page.length > 0) { - $prev.after('<li class="footable-page"><a data-page="' + i + '" href="#">' + (i + 1) + '</a></li>'); - } - } - if (start === 0){ $prev.hide(); } - else { $prev.show(); } - if (start + info.limitNavigation >= info.pages.length){ $next.hide(); } - else { $next.show(); } - }; - - p.paginate = function (ft, newPage) { - var info = ft.pageInfo; - if (info.currentPage !== newPage) { - var $tbody = $(ft.table).find('> tbody'); - - //raise a pre-pagin event so that we can cancel the paging if needed - var event = ft.raise('footable_paging', { page: newPage, size: info.pageSize }); - if (event && event.result === false) return; - - p.fillPage(ft, $tbody, newPage); - info.control.find('li').removeClass('active disabled'); - p.setPagingClasses(info.control, info.currentPage, info.pages.length); - } - }; - - p.setPagingClasses = function (nav, currentPage, pageCount) { - nav.find('li.footable-page > a[data-page=' + currentPage + ']').parent().addClass('active'); - if (currentPage >= pageCount - 1) { - nav.find('li.footable-page-arrow > a[data-page="next"]').parent().addClass('disabled'); - nav.find('li.footable-page-arrow > a[data-page="last"]').parent().addClass('disabled'); - } - if (currentPage < 1) { - nav.find('li.footable-page-arrow > a[data-page="first"]').parent().addClass('disabled'); - nav.find('li.footable-page-arrow > a[data-page="prev"]').parent().addClass('disabled'); - } - }; - - p.fillPage = function (ft, tbody, pageNumber) { - ft.pageInfo.currentPage = pageNumber; - $(ft.table).data('currentPage', pageNumber); - tbody.find('> tr').hide(); - $(ft.pageInfo.pages[pageNumber]).each(function () { - p.showRow(this, ft); - }); - ft.raise('footable_page_filled'); - }; - - p.showRow = function (row, ft) { - var $row = $(row), $next = $row.next(), $table = $(ft.table); - if ($table.hasClass('breakpoint') && $row.hasClass('footable-detail-show') && $next.hasClass('footable-row-detail')) { - $row.add($next).show(); - ft.createOrUpdateDetailRow(row); - } - else $row.show(); - }; - } - - w.footable.plugins.register(Paginate, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.plugin.template.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.plugin.template.js deleted file mode 100644 index 381cc5494..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.plugin.template.js +++ /dev/null @@ -1,44 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.foobox === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - /* - Plugin options here, example: - - var defaults = { - myPlugin: { - enabled: true - } - }; - - This would allow you to access this option using ft.options.myPlugin.enabled - */ - }; - - function MyPlugin() { - var p = this; - p.name = 'Footable MyPlugin'; - p.init = function(ft) { - $(ft.table).bind({ - /* - Bind to relevant events here to modify/add functionality to Footable, example: - - $(ft.table).bind({ - 'footable_initialized': function(e){ - if (e.ft.options.myPlugin.enabled === true){ - alert('Hello World'); - } - } - }); - - This would listen for the 'footable_initialized' event and when called check if the plugin is enabled - and if it is alert 'Hello World' to the user. - */ - }); - }; - } - - w.footable.plugins.register(MyPlugin, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.sort.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.sort.js deleted file mode 100644 index ec3c04027..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.sort.js +++ /dev/null @@ -1,190 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.footable === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - sort: true, - sorters: { - alpha: function (a, b) { - if (typeof(a) === 'string') { a = a.toLowerCase(); } - if (typeof(b) === 'string') { b = b.toLowerCase(); } - if (a === b) return 0; - if (a < b) return -1; - return 1; - }, - numeric: function (a, b) { - return a - b; - } - }, - classes: { - sort: { - sortable: 'footable-sortable', - sorted: 'footable-sorted', - descending: 'footable-sorted-desc', - indicator: 'footable-sort-indicator' - } - }, - events: { - sort: { - sorting: 'footable_sorting', - sorted: 'footable_sorted' - } - } - }; - - function Sort() { - var p = this; - p.name = 'Footable Sortable'; - p.init = function (ft) { - p.footable = ft; - if (ft.options.sort === true) { - $(ft.table) - .unbind('.sorting') - .bind({ - 'footable_initialized.sorting': function (e) { - var $table = $(ft.table), - $tbody = $table.find('> tbody'), - cls = ft.options.classes.sort, - column, $th; - - if ($table.data('sort') === false) return; - - $table.find('> thead > tr:last-child > th, > thead > tr:last-child > td').each(function (ec) { - var $th = $(this), column = ft.columns[$th.index()]; - if (column.sort.ignore !== true && !$th.hasClass(cls.sortable)) { - $th.addClass(cls.sortable); - $('<span />').addClass(cls.indicator).appendTo($th); - } - }); - - $table.find('> thead > tr:last-child > th.' + cls.sortable + ', > thead > tr:last-child > td.' + cls.sortable).unbind('click.footable').bind('click.footable', function (ec) { - ec.preventDefault(); - $th = $(this); - var ascending = !$th.hasClass(cls.sorted); - p.doSort($th.index(), ascending); - return false; - }); - - var didSomeSorting = false; - for (var c in ft.columns) { - column = ft.columns[c]; - if (column.sort.initial) { - var ascending = (column.sort.initial !== 'descending'); - p.doSort(column.index, ascending); - break; - } - } - if (didSomeSorting) { - ft.bindToggleSelectors(); - } - }, - 'footable_redrawn.sorting': function(e) { - var $table = $(ft.table), - cls = ft.options.classes.sort; - if ($table.data('sorted') >= 0) { - $table.find('> thead > tr:last-child > th').each(function(i){ - var $th = $(this); - if ($th.hasClass(cls.sorted) || $th.hasClass(cls.descending)) { - p.doSort(i); - return; - } - }); - } - }, - 'footable_column_data.sorting': function (e) { - var $th = $(e.column.th); - e.column.data.sort = e.column.data.sort || {}; - e.column.data.sort.initial = $th.data('sort-initial') || false; - e.column.data.sort.ignore = $th.data('sort-ignore') || false; - e.column.data.sort.selector = $th.data('sort-selector') || null; - - var match = $th.data('sort-match') || 0; - if (match >= e.column.data.matches.length) match = 0; - e.column.data.sort.match = e.column.data.matches[match]; - } - }) - //save the sort object onto the table so we can access it later - .data('footable-sort', p); - } - }; - - p.doSort = function(columnIndex, ascending) { - var ft = p.footable; - if ($(ft.table).data('sort') === false) return; - - var $table = $(ft.table), - $tbody = $table.find('> tbody'), - column = ft.columns[columnIndex], - $th = $table.find('> thead > tr:last-child > th:eq(' + columnIndex + ')'), - cls = ft.options.classes.sort, - evt = ft.options.events.sort; - - ascending = (ascending === undefined) ? $th.hasClass(cls.sorted) : - (ascending === 'toggle') ? !$th.hasClass(cls.sorted) : ascending; - - if (column.sort.ignore === true) return true; - - //raise a pre-sorting event so that we can cancel the sorting if needed - var event = ft.raise(evt.sorting, { column: column, direction: ascending ? 'ASC' : 'DESC' }); - if (event && event.result === false) return; - - $table.data('sorted', column.index); - - $table.find('> thead > tr:last-child > th, > thead > tr:last-child > td').not($th).removeClass(cls.sorted + ' ' + cls.descending); - - if (ascending === undefined) { - ascending = $th.hasClass(cls.sorted); - } - - if (ascending) { - $th.removeClass(cls.descending).addClass(cls.sorted); - } else { - $th.removeClass(cls.sorted).addClass(cls.descending); - } - - p.sort(ft, $tbody, column, ascending); - - ft.bindToggleSelectors(); - ft.raise(evt.sorted, { column: column, direction: ascending ? 'ASC' : 'DESC' }); - }; - - p.rows = function (ft, tbody, column) { - var rows = []; - tbody.find('> tr').each(function () { - var $row = $(this), $next = null; - if ($row.hasClass(ft.options.classes.detail)) return true; - if ($row.next().hasClass(ft.options.classes.detail)) { - $next = $row.next().get(0); - } - var row = { 'row': $row, 'detail': $next }; - if (column !== undefined) { - row.value = ft.parse(this.cells[column.sort.match], column); - } - rows.push(row); - return true; - }).detach(); - return rows; - }; - - p.sort = function (ft, tbody, column, ascending) { - var rows = p.rows(ft, tbody, column); - var sorter = ft.options.sorters[column.type] || ft.options.sorters.alpha; - rows.sort(function (a, b) { - if (ascending) { - return sorter(a.value, b.value); - } else { - return sorter(b.value, a.value); - } - }); - for (var j = 0; j < rows.length; j++) { - tbody.append(rows[j].row); - if (rows[j].detail !== null) { - tbody.append(rows[j].detail); - } - } - }; - } - - w.footable.plugins.register(Sort, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.striping.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.striping.js deleted file mode 100644 index 17c505b00..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/footable.striping.js +++ /dev/null @@ -1,57 +0,0 @@ -(function ($, w, undefined) { - if (w.footable === undefined || w.foobox === null) - throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); - - var defaults = { - striping: { - enabled: true - }, - classes: { - striping: { - odd: 'footable-odd', - even: 'footable-even' - } - } - }; - - function Striping() { - var p = this; - p.name = 'Footable Striping'; - p.init = function (ft) { - p.footable = ft; - $(ft.table) - .unbind('striping') - .bind({ - 'footable_initialized.striping footable_row_removed.striping footable_redrawn.striping footable_sorted.striping footable_filtered.striping': function () { - - if ($(this).data('striping') === false) return; - - p.setupStriping(ft); - } - }); - }; - - p.setupStriping = function (ft) { - - var rowIndex = 0; - $(ft.table).find('> tbody > tr:not(.footable-row-detail)').each(function () { - - var $row = $(this); - - //Clean off old classes - $row.removeClass(ft.options.classes.striping.even).removeClass(ft.options.classes.striping.odd); - - if (rowIndex % 2 === 0) { - $row.addClass(ft.options.classes.striping.even); - } else { - $row.addClass(ft.options.classes.striping.odd); - } - - rowIndex++; - }); - }; - } - - w.footable.plugins.register(Striping, defaults); - -})(jQuery, window); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/footable/js/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/images/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/images/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/images/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/js/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/js/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/js/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.almost-flat.css deleted file mode 100644 index f8edc0dd7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.almost-flat.css +++ /dev/null @@ -1,39 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Accordion - ========================================================================== */ -/* Sub-object: `uk-accordion-title` - ========================================================================== */ -.uk-accordion-title { - margin-top: 0; - margin-bottom: 15px; - padding: 5px 15px; - background: #f5f5f5; - font-size: 18px; - line-height: 24px; - cursor: pointer; - border: 1px solid #dddddd; - border-radius: 4px; -} -/* Sub-object: `uk-accordion-content` - ========================================================================== */ -.uk-accordion-content { - padding: 0 15px 15px 15px; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-accordion-content:before, -.uk-accordion-content:after { - content: ""; - display: table; -} -.uk-accordion-content:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-accordion-content > :last-child { - margin-bottom: 0; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.almost-flat.min.css deleted file mode 100644 index 1f1f94130..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f5f5f5;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.css deleted file mode 100644 index fe84c73f9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.css +++ /dev/null @@ -1,37 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Accordion - ========================================================================== */ -/* Sub-object: `uk-accordion-title` - ========================================================================== */ -.uk-accordion-title { - margin-top: 0; - margin-bottom: 15px; - padding: 5px 15px; - background: #eeeeee; - font-size: 18px; - line-height: 24px; - cursor: pointer; -} -/* Sub-object: `uk-accordion-content` - ========================================================================== */ -.uk-accordion-content { - padding: 0 15px 15px 15px; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-accordion-content:before, -.uk-accordion-content:after { - content: ""; - display: table; -} -.uk-accordion-content:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-accordion-content > :last-child { - margin-bottom: 0; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.gradient.css deleted file mode 100644 index afc5c473d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.gradient.css +++ /dev/null @@ -1,39 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Accordion - ========================================================================== */ -/* Sub-object: `uk-accordion-title` - ========================================================================== */ -.uk-accordion-title { - margin-top: 0; - margin-bottom: 15px; - padding: 5px 15px; - background: #f7f7f7; - font-size: 18px; - line-height: 24px; - cursor: pointer; - border: 1px solid #dddddd; - border-radius: 4px; -} -/* Sub-object: `uk-accordion-content` - ========================================================================== */ -.uk-accordion-content { - padding: 0 15px 15px 15px; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-accordion-content:before, -.uk-accordion-content:after { - content: ""; - display: table; -} -.uk-accordion-content:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-accordion-content > :last-child { - margin-bottom: 0; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.gradient.min.css deleted file mode 100644 index 27b3e73ce..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f7f7f7;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.min.css deleted file mode 100644 index a1b3a9044..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/accordion.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#eee;font-size:18px;line-height:24px;cursor:pointer}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.almost-flat.css deleted file mode 100644 index 8f5176b5b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.almost-flat.css +++ /dev/null @@ -1,52 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Autocomplete - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - */ -.uk-autocomplete { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; -} -/* Nav modifier `uk-nav-autocomplete` - ========================================================================== */ -/* - * Items - */ -.uk-nav-autocomplete > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-autocomplete > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-autocomplete .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-autocomplete .uk-nav-divider { - border-top: 1px solid #dddddd; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.almost-flat.min.css deleted file mode 100644 index ee6875b2c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.css deleted file mode 100644 index bb71335fb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.css +++ /dev/null @@ -1,50 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Autocomplete - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - */ -.uk-autocomplete { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; -} -/* Nav modifier `uk-nav-autocomplete` - ========================================================================== */ -/* - * Items - */ -.uk-nav-autocomplete > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-autocomplete > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-autocomplete .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-autocomplete .uk-nav-divider { - border-top: 1px solid #dddddd; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.gradient.css deleted file mode 100644 index 06e2c523d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.gradient.css +++ /dev/null @@ -1,52 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Autocomplete - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - */ -.uk-autocomplete { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; -} -/* Nav modifier `uk-nav-autocomplete` - ========================================================================== */ -/* - * Items - */ -.uk-nav-autocomplete > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-autocomplete > li.uk-active > a { - background: #009dd8; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-autocomplete .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-autocomplete .uk-nav-divider { - border-top: 1px solid #dddddd; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.gradient.min.css deleted file mode 100644 index 83041378a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.min.css deleted file mode 100644 index 03b1be2fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/autocomplete.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#00a8e6;color:#fff;outline:0}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.almost-flat.css deleted file mode 100644 index ecc808010..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.almost-flat.css +++ /dev/null @@ -1,129 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Datepicker - ========================================================================== */ -/* - * 1. Highest z-index - * 2. Reset dropdown width - * 3. Set animation - * 4. Needed for scale animation - */ -.uk-datepicker { - /* 1 */ - z-index: 1050; - /* 2 */ - width: auto; - /* 3 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 4 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Sub-object: `uk-datepicker-nav` -========================================================================== */ -.uk-datepicker-nav { - margin-bottom: 15px; - text-align: center; - line-height: 20px; -} -/* - * Micro clearfix - */ -.uk-datepicker-nav:before, -.uk-datepicker-nav:after { - content: ""; - display: table; -} -.uk-datepicker-nav:after { - clear: both; -} -/* - * Previous and next navigation - */ -.uk-datepicker-nav a { - color: #444444; - text-decoration: none; -} -.uk-datepicker-nav a:hover { - color: #444444; -} -.uk-datepicker-previous { - float: left; -} -.uk-datepicker-next { - float: right; -} -.uk-datepicker-previous:after, -.uk-datepicker-next:after { - width: 20px; - font-family: FontAwesome; -} -.uk-datepicker-previous:after { - content: "\f053"; -} -.uk-datepicker-next:after { - content: "\f054"; -} -/* Sub-object: `uk-datepicker-heading` -========================================================================== */ -/* Sub-object: `uk-datepicker-table` -========================================================================== */ -/* Block element behavior */ -.uk-datepicker-table { - width: 100%; -} -.uk-datepicker-table th, -.uk-datepicker-table td { - padding: 2px; -} -.uk-datepicker-table th { - font-size: 12px; -} -/* - * Item - */ -.uk-datepicker-table a { - display: block; - width: 26px; - line-height: 24px; - text-align: center; - color: #444444; - text-decoration: none; - border: 1px solid transparent; - border-radius: 4px; -} -/* - * Sub-object: `uk-datepicker-table-muted` - */ -a.uk-datepicker-table-muted { - color: #999999; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-datepicker-table a:hover, -.uk-datepicker-table a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: rgba(0, 0, 0, 0.16); - text-shadow: 0 1px 0 #ffffff; -} -/* OnClick */ -.uk-datepicker-table a:active { - background-color: #eeeeee; - color: #444444; -} -/* - * Active - */ -.uk-datepicker-table a.uk-active { - background: #00a8e6; - color: #ffffff; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.almost-flat.min.css deleted file mode 100644 index 5f9ab45ee..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none;border:1px solid transparent;border-radius:4px}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.16);text-shadow:0 1px 0 #fff}.uk-datepicker-table a:active{background-color:#eee;color:#444}.uk-datepicker-table a.uk-active{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.css deleted file mode 100644 index 5414e4f48..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.css +++ /dev/null @@ -1,123 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Datepicker - ========================================================================== */ -/* - * 1. Highest z-index - * 2. Reset dropdown width - * 3. Set animation - * 4. Needed for scale animation - */ -.uk-datepicker { - /* 1 */ - z-index: 1050; - /* 2 */ - width: auto; - /* 3 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 4 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Sub-object: `uk-datepicker-nav` -========================================================================== */ -.uk-datepicker-nav { - margin-bottom: 15px; - text-align: center; - line-height: 20px; -} -/* - * Micro clearfix - */ -.uk-datepicker-nav:before, -.uk-datepicker-nav:after { - content: ""; - display: table; -} -.uk-datepicker-nav:after { - clear: both; -} -/* - * Previous and next navigation - */ -.uk-datepicker-nav a { - color: #444444; - text-decoration: none; -} -.uk-datepicker-nav a:hover { - color: #444444; -} -.uk-datepicker-previous { - float: left; -} -.uk-datepicker-next { - float: right; -} -.uk-datepicker-previous:after, -.uk-datepicker-next:after { - width: 20px; - font-family: FontAwesome; -} -.uk-datepicker-previous:after { - content: "\f053"; -} -.uk-datepicker-next:after { - content: "\f054"; -} -/* Sub-object: `uk-datepicker-heading` -========================================================================== */ -/* Sub-object: `uk-datepicker-table` -========================================================================== */ -/* Block element behavior */ -.uk-datepicker-table { - width: 100%; -} -.uk-datepicker-table th, -.uk-datepicker-table td { - padding: 2px; -} -.uk-datepicker-table th { - font-size: 12px; -} -/* - * Item - */ -.uk-datepicker-table a { - display: block; - width: 26px; - line-height: 24px; - text-align: center; - color: #444444; - text-decoration: none; -} -/* - * Sub-object: `uk-datepicker-table-muted` - */ -a.uk-datepicker-table-muted { - color: #999999; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-datepicker-table a:hover, -.uk-datepicker-table a:focus { - background-color: #dddddd; - color: #444444; - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-datepicker-table a:active { - background-color: #cccccc; - color: #444444; -} -/* - * Active - */ -.uk-datepicker-table a.uk-active { - background: #00a8e6; - color: #ffffff; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.gradient.css deleted file mode 100644 index 94366b61c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.gradient.css +++ /dev/null @@ -1,139 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Datepicker - ========================================================================== */ -/* - * 1. Highest z-index - * 2. Reset dropdown width - * 3. Set animation - * 4. Needed for scale animation - */ -.uk-datepicker { - /* 1 */ - z-index: 1050; - /* 2 */ - width: auto; - /* 3 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 4 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Sub-object: `uk-datepicker-nav` -========================================================================== */ -.uk-datepicker-nav { - margin-bottom: 15px; - text-align: center; - line-height: 20px; -} -/* - * Micro clearfix - */ -.uk-datepicker-nav:before, -.uk-datepicker-nav:after { - content: ""; - display: table; -} -.uk-datepicker-nav:after { - clear: both; -} -/* - * Previous and next navigation - */ -.uk-datepicker-nav a { - color: #444444; - text-decoration: none; -} -.uk-datepicker-nav a:hover { - color: #444444; -} -.uk-datepicker-previous { - float: left; -} -.uk-datepicker-next { - float: right; -} -.uk-datepicker-previous:after, -.uk-datepicker-next:after { - width: 20px; - font-family: FontAwesome; -} -.uk-datepicker-previous:after { - content: "\f053"; -} -.uk-datepicker-next:after { - content: "\f054"; -} -/* Sub-object: `uk-datepicker-heading` -========================================================================== */ -/* Sub-object: `uk-datepicker-table` -========================================================================== */ -/* Block element behavior */ -.uk-datepicker-table { - width: 100%; -} -.uk-datepicker-table th, -.uk-datepicker-table td { - padding: 2px; -} -.uk-datepicker-table th { - font-size: 12px; -} -/* - * Item - */ -.uk-datepicker-table a { - display: block; - width: 26px; - line-height: 24px; - text-align: center; - color: #444444; - text-decoration: none; - border: 1px solid transparent; - border-radius: 4px; - background-origin: border-box; -} -/* - * Sub-object: `uk-datepicker-table-muted` - */ -a.uk-datepicker-table-muted { - color: #999999; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-datepicker-table a:hover, -.uk-datepicker-table a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - text-shadow: 0 1px 0 #ffffff; -} -/* OnClick */ -.uk-datepicker-table a:active { - background-color: #f5f5f5; - color: #444444; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.3); - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* - * Active - */ -.uk-datepicker-table a.uk-active { - background: #009dd8; - color: #ffffff; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.gradient.min.css deleted file mode 100644 index 102458b04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none;border:1px solid transparent;border-radius:4px;background-origin:border-box}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);text-shadow:0 1px 0 #fff}.uk-datepicker-table a:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-datepicker-table a.uk-active{background:#009dd8;color:#fff;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);text-shadow:0 -1px 0 rgba(0,0,0,.2)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.min.css deleted file mode 100644 index 7738f9874..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/datepicker.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#ddd;color:#444;outline:0}.uk-datepicker-table a:active{background-color:#ccc;color:#444}.uk-datepicker-table a.uk-active{background:#00a8e6;color:#fff} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.almost-flat.css deleted file mode 100644 index 78bf04907..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.almost-flat.css +++ /dev/null @@ -1,129 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Dotnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-dotnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -15px; - margin-top: -15px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-dotnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 15px; - margin-top: 15px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav:before, -.uk-dotnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-dotnav:after { - clear: both; -} -.uk-dotnav > * { - float: left; -} -/* Items - ========================================================================== */ -/* - * Items - * 1. Hide text if present - */ -.uk-dotnav > * > * { - display: block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - height: 20px; - border-radius: 50%; - background: rgba(50, 50, 50, 0.1); - /* 1 */ - text-indent: 100%; - overflow: hidden; - white-space: nowrap; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-dotnav > * > :hover, -.uk-dotnav > * > :focus { - background: rgba(50, 50, 50, 0.4); - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-dotnav > * > :active { - background: rgba(50, 50, 50, 0.6); -} -/* Active */ -.uk-dotnav > .uk-active > * { - background: rgba(50, 50, 50, 0.4); - -webkit-transform: scale(1.3); - transform: scale(1.3); -} -/* Modifier: `uk-dotnav-contrast` - ========================================================================== */ -.uk-dotnav-contrast > * > * { - background: rgba(255, 255, 255, 0.4); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-dotnav-contrast > * > :hover, -.uk-dotnav-contrast > * > :focus { - background: rgba(255, 255, 255, 0.7); -} -/* OnClick */ -.uk-dotnav-contrast > * > :active { - background: rgba(255, 255, 255, 0.9); -} -/* Active */ -.uk-dotnav-contrast > .uk-active > * { - background: rgba(255, 255, 255, 0.9); -} -/* Modifier: 'uk-dotnav-vertical' - ========================================================================== */ -/* - * DEPRECATED - */ -.uk-dotnav-vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav-vertical > * { - float: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.almost-flat.min.css deleted file mode 100644 index f1410c48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4);-webkit-transform:scale(1.3);transform:scale(1.3)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.css deleted file mode 100644 index 57a1771b5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.css +++ /dev/null @@ -1,125 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Dotnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-dotnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -15px; - margin-top: -15px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-dotnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 15px; - margin-top: 15px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav:before, -.uk-dotnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-dotnav:after { - clear: both; -} -.uk-dotnav > * { - float: left; -} -/* Items - ========================================================================== */ -/* - * Items - * 1. Hide text if present - */ -.uk-dotnav > * > * { - display: block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - height: 20px; - border-radius: 50%; - background: rgba(50, 50, 50, 0.1); - /* 1 */ - text-indent: 100%; - overflow: hidden; - white-space: nowrap; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-dotnav > * > :hover, -.uk-dotnav > * > :focus { - background: rgba(50, 50, 50, 0.4); - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-dotnav > * > :active { - background: rgba(50, 50, 50, 0.6); -} -/* Active */ -.uk-dotnav > .uk-active > * { - background: rgba(50, 50, 50, 0.4); -} -/* Modifier: `uk-dotnav-contrast` - ========================================================================== */ -.uk-dotnav-contrast > * > * { - background: rgba(255, 255, 255, 0.4); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-dotnav-contrast > * > :hover, -.uk-dotnav-contrast > * > :focus { - background: rgba(255, 255, 255, 0.7); -} -/* OnClick */ -.uk-dotnav-contrast > * > :active { - background: rgba(255, 255, 255, 0.9); -} -/* Active */ -.uk-dotnav-contrast > .uk-active > * { - background: rgba(255, 255, 255, 0.9); -} -/* Modifier: 'uk-dotnav-vertical' - ========================================================================== */ -/* - * DEPRECATED - */ -.uk-dotnav-vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav-vertical > * { - float: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.gradient.css deleted file mode 100644 index 78bf04907..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.gradient.css +++ /dev/null @@ -1,129 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Dotnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-dotnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -15px; - margin-top: -15px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-dotnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 15px; - margin-top: 15px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav:before, -.uk-dotnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-dotnav:after { - clear: both; -} -.uk-dotnav > * { - float: left; -} -/* Items - ========================================================================== */ -/* - * Items - * 1. Hide text if present - */ -.uk-dotnav > * > * { - display: block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - height: 20px; - border-radius: 50%; - background: rgba(50, 50, 50, 0.1); - /* 1 */ - text-indent: 100%; - overflow: hidden; - white-space: nowrap; - -webkit-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-dotnav > * > :hover, -.uk-dotnav > * > :focus { - background: rgba(50, 50, 50, 0.4); - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-dotnav > * > :active { - background: rgba(50, 50, 50, 0.6); -} -/* Active */ -.uk-dotnav > .uk-active > * { - background: rgba(50, 50, 50, 0.4); - -webkit-transform: scale(1.3); - transform: scale(1.3); -} -/* Modifier: `uk-dotnav-contrast` - ========================================================================== */ -.uk-dotnav-contrast > * > * { - background: rgba(255, 255, 255, 0.4); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-dotnav-contrast > * > :hover, -.uk-dotnav-contrast > * > :focus { - background: rgba(255, 255, 255, 0.7); -} -/* OnClick */ -.uk-dotnav-contrast > * > :active { - background: rgba(255, 255, 255, 0.9); -} -/* Active */ -.uk-dotnav-contrast > .uk-active > * { - background: rgba(255, 255, 255, 0.9); -} -/* Modifier: 'uk-dotnav-vertical' - ========================================================================== */ -/* - * DEPRECATED - */ -.uk-dotnav-vertical { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -/* - * DEPRECATED IE9 Support - */ -.uk-dotnav-vertical > * { - float: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.gradient.min.css deleted file mode 100644 index f1410c48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4);-webkit-transform:scale(1.3);transform:scale(1.3)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.min.css deleted file mode 100644 index 8db104ca7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/dotnav.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.almost-flat.css deleted file mode 100644 index 4c8076016..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.almost-flat.css +++ /dev/null @@ -1,78 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form advanced - Note: Only works in Webkit at the moment - ========================================================================== */ -/* - * 1. Style - * 2. Makes box more robust so it clips the child element - * 3. Vertical alignment - * 4. Remove default style - * 5. Fix black background on iOS - */ -.uk-form input[type="radio"], -.uk-form input[type="checkbox"] { - /* 1 */ - display: inline-block; - height: 14px; - width: 14px; - border: 1px solid #aaaaaa; - /* 2 */ - overflow: hidden; - /* 3 */ - margin-top: -4px; - vertical-align: middle; - /* 4 */ - -webkit-appearance: none; - outline: 0; - /* 5 */ - background: transparent; -} -/* Radio */ -.uk-form input[type="radio"] { - border-radius: 50%; -} -/* - * Checked - */ -.uk-form input[type=radio]:before, -.uk-form input[type=checkbox]:before { - display: block; -} -/* Radio */ -.uk-form input[type=radio]:checked:before { - content: ''; - width: 8px; - height: 8px; - margin: 2px auto 0; - border-radius: 50%; - background: #00a8e6; -} -/* Checkbox */ -.uk-form input[type=checkbox]:checked:before, -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f00c"; - font-family: FontAwesome; - font-size: 12px; - -webkit-font-smoothing: antialiased; - text-align: center; - line-height: 12px; - color: #00a8e6; -} -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f068"; -} -/* - * Disabled - */ -.uk-form input[type=radio]:disabled, -.uk-form input[type=checkbox]:disabled { - border-color: #dddddd; -} -.uk-form input[type=radio]:disabled:checked:before { - background-color: #aaaaaa; -} -.uk-form input[type=checkbox]:disabled:checked:before, -.uk-form input[type=checkbox]:disabled:indeterminate:before { - color: #aaaaaa; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.almost-flat.min.css deleted file mode 100644 index 03d82f0e1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.css deleted file mode 100644 index 4c8076016..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.css +++ /dev/null @@ -1,78 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form advanced - Note: Only works in Webkit at the moment - ========================================================================== */ -/* - * 1. Style - * 2. Makes box more robust so it clips the child element - * 3. Vertical alignment - * 4. Remove default style - * 5. Fix black background on iOS - */ -.uk-form input[type="radio"], -.uk-form input[type="checkbox"] { - /* 1 */ - display: inline-block; - height: 14px; - width: 14px; - border: 1px solid #aaaaaa; - /* 2 */ - overflow: hidden; - /* 3 */ - margin-top: -4px; - vertical-align: middle; - /* 4 */ - -webkit-appearance: none; - outline: 0; - /* 5 */ - background: transparent; -} -/* Radio */ -.uk-form input[type="radio"] { - border-radius: 50%; -} -/* - * Checked - */ -.uk-form input[type=radio]:before, -.uk-form input[type=checkbox]:before { - display: block; -} -/* Radio */ -.uk-form input[type=radio]:checked:before { - content: ''; - width: 8px; - height: 8px; - margin: 2px auto 0; - border-radius: 50%; - background: #00a8e6; -} -/* Checkbox */ -.uk-form input[type=checkbox]:checked:before, -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f00c"; - font-family: FontAwesome; - font-size: 12px; - -webkit-font-smoothing: antialiased; - text-align: center; - line-height: 12px; - color: #00a8e6; -} -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f068"; -} -/* - * Disabled - */ -.uk-form input[type=radio]:disabled, -.uk-form input[type=checkbox]:disabled { - border-color: #dddddd; -} -.uk-form input[type=radio]:disabled:checked:before { - background-color: #aaaaaa; -} -.uk-form input[type=checkbox]:disabled:checked:before, -.uk-form input[type=checkbox]:disabled:indeterminate:before { - color: #aaaaaa; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.gradient.css deleted file mode 100644 index 4c8076016..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.gradient.css +++ /dev/null @@ -1,78 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form advanced - Note: Only works in Webkit at the moment - ========================================================================== */ -/* - * 1. Style - * 2. Makes box more robust so it clips the child element - * 3. Vertical alignment - * 4. Remove default style - * 5. Fix black background on iOS - */ -.uk-form input[type="radio"], -.uk-form input[type="checkbox"] { - /* 1 */ - display: inline-block; - height: 14px; - width: 14px; - border: 1px solid #aaaaaa; - /* 2 */ - overflow: hidden; - /* 3 */ - margin-top: -4px; - vertical-align: middle; - /* 4 */ - -webkit-appearance: none; - outline: 0; - /* 5 */ - background: transparent; -} -/* Radio */ -.uk-form input[type="radio"] { - border-radius: 50%; -} -/* - * Checked - */ -.uk-form input[type=radio]:before, -.uk-form input[type=checkbox]:before { - display: block; -} -/* Radio */ -.uk-form input[type=radio]:checked:before { - content: ''; - width: 8px; - height: 8px; - margin: 2px auto 0; - border-radius: 50%; - background: #00a8e6; -} -/* Checkbox */ -.uk-form input[type=checkbox]:checked:before, -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f00c"; - font-family: FontAwesome; - font-size: 12px; - -webkit-font-smoothing: antialiased; - text-align: center; - line-height: 12px; - color: #00a8e6; -} -.uk-form input[type=checkbox]:indeterminate:before { - content: "\f068"; -} -/* - * Disabled - */ -.uk-form input[type=radio]:disabled, -.uk-form input[type=checkbox]:disabled { - border-color: #dddddd; -} -.uk-form input[type=radio]:disabled:checked:before { - background-color: #aaaaaa; -} -.uk-form input[type=checkbox]:disabled:checked:before, -.uk-form input[type=checkbox]:disabled:indeterminate:before { - color: #aaaaaa; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.gradient.min.css deleted file mode 100644 index 03d82f0e1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.min.css deleted file mode 100644 index 03d82f0e1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-advanced.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.almost-flat.css deleted file mode 100644 index 70fe2c45a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.almost-flat.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form file - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-file { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 2. Expand height and required for the cursor - */ -.uk-form-file input[type="file"] { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - font-size: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.almost-flat.min.css deleted file mode 100644 index 3da0ea636..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.css deleted file mode 100644 index 70fe2c45a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form file - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-file { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 2. Expand height and required for the cursor - */ -.uk-form-file input[type="file"] { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - font-size: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.gradient.css deleted file mode 100644 index 70fe2c45a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.gradient.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form file - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-file { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 2. Expand height and required for the cursor - */ -.uk-form-file input[type="file"] { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - font-size: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.gradient.min.css deleted file mode 100644 index 3da0ea636..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.min.css deleted file mode 100644 index 3da0ea636..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-file.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.almost-flat.css deleted file mode 100644 index b328f60ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.almost-flat.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form password - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-password { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -.uk-form-password-toggle { - display: block; - position: absolute; - top: 50%; - right: 10px; - margin-top: -6px; - font-size: 13px; - line-height: 13px; - color: #999999; -} -.uk-form-password-toggle:hover { - color: #999999; - text-decoration: none; -} -.uk-form-password > input { - padding-right: 50px !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.almost-flat.min.css deleted file mode 100644 index 1f55b7c96..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.css deleted file mode 100644 index b328f60ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form password - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-password { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -.uk-form-password-toggle { - display: block; - position: absolute; - top: 50%; - right: 10px; - margin-top: -6px; - font-size: 13px; - line-height: 13px; - color: #999999; -} -.uk-form-password-toggle:hover { - color: #999999; - text-decoration: none; -} -.uk-form-password > input { - padding-right: 50px !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.gradient.css deleted file mode 100644 index b328f60ff..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.gradient.css +++ /dev/null @@ -1,34 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form password - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-password { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -.uk-form-password-toggle { - display: block; - position: absolute; - top: 50%; - right: 10px; - margin-top: -6px; - font-size: 13px; - line-height: 13px; - color: #999999; -} -.uk-form-password-toggle:hover { - color: #999999; - text-decoration: none; -} -.uk-form-password > input { - padding-right: 50px !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.gradient.min.css deleted file mode 100644 index 1f55b7c96..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.min.css deleted file mode 100644 index 1f55b7c96..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-password.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.almost-flat.css deleted file mode 100644 index 178390919..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.almost-flat.css +++ /dev/null @@ -1,35 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form select - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-select { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 1. Required for Webkit to make `height` work - */ -.uk-form-select select { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - height: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - -webkit-appearance: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.almost-flat.min.css deleted file mode 100644 index 5a38b0f8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.css deleted file mode 100644 index 178390919..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.css +++ /dev/null @@ -1,35 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form select - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-select { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 1. Required for Webkit to make `height` work - */ -.uk-form-select select { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - height: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - -webkit-appearance: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.gradient.css deleted file mode 100644 index 178390919..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.gradient.css +++ /dev/null @@ -1,35 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Form select - ========================================================================== */ -/* - * 1. Behave like form elements - * 2. Create position context for dropdowns - * 3. Clip content - */ -.uk-form-select { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - overflow: hidden; -} -/* - * 1. Required for Firefox - * 1. Required for Webkit to make `height` work - */ -.uk-form-select select { - position: absolute; - top: 0; - z-index: 1; - width: 100%; - height: 100%; - opacity: 0; - cursor: pointer; - /* 1 */ - left: 0; - /* 2 */ - -webkit-appearance: none; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.gradient.min.css deleted file mode 100644 index 5a38b0f8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.min.css deleted file mode 100644 index 5a38b0f8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/form-select.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.almost-flat.css deleted file mode 100644 index c24af888e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.almost-flat.css +++ /dev/null @@ -1,225 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: HTML editor - ========================================================================== */ -/* Sub-object `uk-htmleditor-navbar` - ========================================================================== */ -.uk-htmleditor-navbar { - background: #f5f5f5; - border: 1px solid rgba(0, 0, 0, 0.06); - border-top-left-radius: 4px; - border-top-right-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-htmleditor-navbar:before, -.uk-htmleditor-navbar:after { - content: ""; - display: table; -} -.uk-htmleditor-navbar:after { - clear: both; -} -/* Sub-object `uk-htmleditor-navbar-nav` - ========================================================================== */ -.uk-htmleditor-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -.uk-htmleditor-navbar-nav > li { - float: left; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-htmleditor-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 11px; - cursor: pointer; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-htmleditor-navbar-nav > li:hover > a, -.uk-htmleditor-navbar-nav > li > a:focus { - background-color: #fafafa; - color: #444444; - outline: none; - /* 2 */ - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-htmleditor-navbar-nav > li > a:active { - background-color: #eeeeee; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); -} -/* Active */ -.uk-htmleditor-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* Sub-object: `uk-htmleditor-navbar-flip` - ========================================================================== */ -.uk-htmleditor-navbar-flip { - float: right; -} -/* Sub-object for special buttons - ========================================================================== */ -[data-mode='split'] .uk-htmleditor-button-code, -[data-mode='split'] .uk-htmleditor-button-preview { - display: none; -} -/* Sub-object `uk-htmleditor-content` - ========================================================================== */ -.uk-htmleditor-content { - border-left: 1px solid #dddddd; - border-right: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - background: #ffffff; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-htmleditor-content:before, -.uk-htmleditor-content:after { - content: ""; - display: table; -} -.uk-htmleditor-content:after { - clear: both; -} -/* Modifier `uk-htmleditor-fullscreen` - ========================================================================== */ -.uk-htmleditor-fullscreen { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 990; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - position: absolute; - top: 41px; - left: 0; - right: 0; - bottom: 0; -} -.uk-htmleditor-fullscreen .uk-icon-expand:before { - content: "\f066"; -} -/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` - ========================================================================== */ -.uk-htmleditor-code, -.uk-htmleditor-preview { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.uk-htmleditor-preview { - padding: 20px; - overflow-y: scroll; - position: relative; -} -/* - * Tab view - */ -[data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, -[data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { - display: none; -} -/* - * Split view - */ -[data-mode='split'] .uk-htmleditor-code, -[data-mode='split'] .uk-htmleditor-preview { - float: left; - width: 50%; -} -[data-mode='split'] .uk-htmleditor-code { - border-right: 1px solid #eeeeee; -} -/* Sub-object `uk-htmleditor-iframe` - ========================================================================== */ -.uk-htmleditor-iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -/* CodeMirror modifications - ========================================================================== */ -.uk-htmleditor .CodeMirror { - padding: 10px; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Apply same `border-radius` as `uk-htmleditor-navbar` - */ -.uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-navbar-flip` - */ -/* Collapse border */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-htmleditor-navbar` */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; -} -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-fullscreen` - */ -.uk-htmleditor-fullscreen .uk-htmleditor-navbar { - border-top: none; - border-left: none; - border-right: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - border: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav > li > a { - border-radius: 0 !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.almost-flat.min.css deleted file mode 100644 index e50023d0c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-htmleditor-navbar{background:#f5f5f5;border:1px solid rgba(0,0,0,.06);border-top-left-radius:4px;border-top-right-radius:4px}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:#fafafa;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li>a:active{background-color:#eee;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2)}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:41px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px}.uk-htmleditor-fullscreen .uk-htmleditor-navbar{border-top:none;border-left:none;border-right:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-content{border:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav>li>a{border-radius:0!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.css deleted file mode 100644 index 3861baa3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.css +++ /dev/null @@ -1,167 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: HTML editor - ========================================================================== */ -/* Sub-object `uk-htmleditor-navbar` - ========================================================================== */ -.uk-htmleditor-navbar { - background: #eeeeee; -} -/* - * Micro clearfix - */ -.uk-htmleditor-navbar:before, -.uk-htmleditor-navbar:after { - content: ""; - display: table; -} -.uk-htmleditor-navbar:after { - clear: both; -} -/* Sub-object `uk-htmleditor-navbar-nav` - ========================================================================== */ -.uk-htmleditor-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -.uk-htmleditor-navbar-nav > li { - float: left; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-htmleditor-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 40px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 11px; - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-htmleditor-navbar-nav > li:hover > a, -.uk-htmleditor-navbar-nav > li > a:focus { - background-color: #f5f5f5; - color: #444444; - outline: none; - /* 2 */ -} -/* OnClick */ -.uk-htmleditor-navbar-nav > li > a:active { - background-color: #dddddd; - color: #444444; -} -/* Active */ -.uk-htmleditor-navbar-nav > li.uk-active > a { - background-color: #f5f5f5; - color: #444444; -} -/* Sub-object: `uk-htmleditor-navbar-flip` - ========================================================================== */ -.uk-htmleditor-navbar-flip { - float: right; -} -/* Sub-object for special buttons - ========================================================================== */ -[data-mode='split'] .uk-htmleditor-button-code, -[data-mode='split'] .uk-htmleditor-button-preview { - display: none; -} -/* Sub-object `uk-htmleditor-content` - ========================================================================== */ -.uk-htmleditor-content { - border-left: 1px solid #dddddd; - border-right: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - background: #ffffff; -} -/* - * Micro clearfix - */ -.uk-htmleditor-content:before, -.uk-htmleditor-content:after { - content: ""; - display: table; -} -.uk-htmleditor-content:after { - clear: both; -} -/* Modifier `uk-htmleditor-fullscreen` - ========================================================================== */ -.uk-htmleditor-fullscreen { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 990; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - position: absolute; - top: 40px; - left: 0; - right: 0; - bottom: 0; -} -.uk-htmleditor-fullscreen .uk-icon-expand:before { - content: "\f066"; -} -/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` - ========================================================================== */ -.uk-htmleditor-code, -.uk-htmleditor-preview { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.uk-htmleditor-preview { - padding: 20px; - overflow-y: scroll; - position: relative; -} -/* - * Tab view - */ -[data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, -[data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { - display: none; -} -/* - * Split view - */ -[data-mode='split'] .uk-htmleditor-code, -[data-mode='split'] .uk-htmleditor-preview { - float: left; - width: 50%; -} -[data-mode='split'] .uk-htmleditor-code { - border-right: 1px solid #eeeeee; -} -/* Sub-object `uk-htmleditor-iframe` - ========================================================================== */ -.uk-htmleditor-iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -/* CodeMirror modifications - ========================================================================== */ -.uk-htmleditor .CodeMirror { - padding: 10px; - -moz-box-sizing: border-box; - box-sizing: border-box; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.gradient.css deleted file mode 100644 index 9c9624eeb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.gradient.css +++ /dev/null @@ -1,232 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: HTML editor - ========================================================================== */ -/* Sub-object `uk-htmleditor-navbar` - ========================================================================== */ -.uk-htmleditor-navbar { - background: #f7f7f7; - border: 1px solid rgba(0, 0, 0, 0.1); - border-bottom-color: rgba(0, 0, 0, 0.2); - border-top-left-radius: 4px; - border-top-right-radius: 4px; - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); -} -/* - * Micro clearfix - */ -.uk-htmleditor-navbar:before, -.uk-htmleditor-navbar:after { - content: ""; - display: table; -} -.uk-htmleditor-navbar:after { - clear: both; -} -/* Sub-object `uk-htmleditor-navbar-nav` - ========================================================================== */ -.uk-htmleditor-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -.uk-htmleditor-navbar-nav > li { - float: left; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-htmleditor-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 11px; - cursor: pointer; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-htmleditor-navbar-nav > li:hover > a, -.uk-htmleditor-navbar-nav > li > a:focus { - background-color: transparent; - color: #444444; - outline: none; - /* 2 */ - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-htmleditor-navbar-nav > li > a:active { - background-color: #f5f5f5; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Active */ -.uk-htmleditor-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Sub-object: `uk-htmleditor-navbar-flip` - ========================================================================== */ -.uk-htmleditor-navbar-flip { - float: right; -} -/* Sub-object for special buttons - ========================================================================== */ -[data-mode='split'] .uk-htmleditor-button-code, -[data-mode='split'] .uk-htmleditor-button-preview { - display: none; -} -/* Sub-object `uk-htmleditor-content` - ========================================================================== */ -.uk-htmleditor-content { - border-left: 1px solid #dddddd; - border-right: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - background: #ffffff; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-htmleditor-content:before, -.uk-htmleditor-content:after { - content: ""; - display: table; -} -.uk-htmleditor-content:after { - clear: both; -} -/* Modifier `uk-htmleditor-fullscreen` - ========================================================================== */ -.uk-htmleditor-fullscreen { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - z-index: 990; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - position: absolute; - top: 41px; - left: 0; - right: 0; - bottom: 0; -} -.uk-htmleditor-fullscreen .uk-icon-expand:before { - content: "\f066"; -} -/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` - ========================================================================== */ -.uk-htmleditor-code, -.uk-htmleditor-preview { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.uk-htmleditor-preview { - padding: 20px; - overflow-y: scroll; - position: relative; -} -/* - * Tab view - */ -[data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, -[data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { - display: none; -} -/* - * Split view - */ -[data-mode='split'] .uk-htmleditor-code, -[data-mode='split'] .uk-htmleditor-preview { - float: left; - width: 50%; -} -[data-mode='split'] .uk-htmleditor-code { - border-right: 1px solid #eeeeee; -} -/* Sub-object `uk-htmleditor-iframe` - ========================================================================== */ -.uk-htmleditor-iframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -/* CodeMirror modifications - ========================================================================== */ -.uk-htmleditor .CodeMirror { - padding: 10px; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Apply same `border-radius` as `uk-htmleditor-navbar` - */ -.uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-navbar-flip` - */ -/* Collapse border */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-htmleditor-navbar` */ -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; -} -.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; -} -/* - * Sub-modifier `uk-htmleditor-fullscreen` - */ -.uk-htmleditor-fullscreen .uk-htmleditor-navbar { - border-top: none; - border-left: none; - border-right: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-content { - border: none; - border-radius: 0; -} -.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav > li > a { - border-radius: 0 !important; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.gradient.min.css deleted file mode 100644 index f71780286..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-htmleditor-navbar{background:#f7f7f7;border:1px solid rgba(0,0,0,.1);border-bottom-color:rgba(0,0,0,.2);border-top-left-radius:4px;border-top-right-radius:4px;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee)}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:transparent;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li>a:active{background-color:#f5f5f5;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:41px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px}.uk-htmleditor-fullscreen .uk-htmleditor-navbar{border-top:none;border-left:none;border-right:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-content{border:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav>li>a{border-radius:0!important} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.min.css deleted file mode 100644 index 074b3d48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/htmleditor.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-htmleditor-navbar{background:#eee}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:40px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:#f5f5f5;color:#444;outline:0}.uk-htmleditor-navbar-nav>li>a:active{background-color:#ddd;color:#444}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#f5f5f5;color:#444}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:40px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{-moz-box-sizing:border-box;box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;-moz-box-sizing:border-box;box-sizing:border-box} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.almost-flat.css deleted file mode 100644 index 4d6f3d4a1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.almost-flat.css +++ /dev/null @@ -1,135 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Nestable - ========================================================================== */ -.uk-nestable { - padding: 0; - list-style: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-nestable a, -.uk-nestable img { - -webkit-touch-callout: none; -} -/* Sub-object `uk-nestable-list` - ========================================================================== */ -.uk-nestable-list { - margin: 0; - padding-left: 40px; - list-style: none; -} -/* Sub-modifier `uk-nestable-item` - ========================================================================== */ -/* - * 1. Deactivate browser touch actions in IE11 - */ -.uk-nestable-item { - /* 1 */ - touch-action: none; -} -.uk-nestable-item + .uk-nestable-item { - margin-top: 10px; -} -.uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { - margin-top: 10px; -} -/* Sub-modifier `uk-nestable-dragged` - ========================================================================== */ -/* - * 1. Reset style - */ -.uk-nestable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; - /* 1 */ - padding-left: 0; -} -/* Sub-modifier `uk-nestable-placeholder` - ========================================================================== */ -.uk-nestable-placeholder { - position: relative; -} -.uk-nestable-placeholder > * { - opacity: 0; -} -.uk-nestable-placeholder:after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - border: 1px dashed #dddddd; - opacity: 1; -} -/* Empty List - ========================================================================== */ -.uk-nestable:empty { - min-height: 30px; -} -/* Sub-object `uk-nestable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-nestable-handle { - touch-action: none; -} -/* Hover */ -.uk-nestable-handle:hover { - cursor: move; -} -/* Sub-object `uk-nestable-moving` - ========================================================================== */ -.uk-nestable-moving, -.uk-nestable-moving * { - cursor: move; -} -/* [data-nestable-action='toggle'] - ========================================================================== */ -/* - * 1. Makes text unselectable. Happens if double clicked by mistake - */ -[data-nestable-action='toggle'] { - cursor: pointer; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* Sub-object `.uk-nestable-toggle` - ========================================================================== */ -.uk-nestable-toggle { - display: inline-block; - visibility: hidden; -} -.uk-nestable-toggle:after { - content: "\f147"; - font-family: FontAwesome; -} -.uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { - visibility: visible; -} -/* - * Collapsed - */ -.uk-collapsed .uk-nestable-list { - display: none; -} -.uk-collapsed .uk-nestable-toggle:after { - content: "\f196"; -} -/* Sub-object `uk-nestable-panel` - ========================================================================== */ -.uk-nestable-panel { - padding: 5px; - background: #f5f5f5; - border-radius: 4px; - border: 1px solid rgba(0, 0, 0, 0.06); - text-shadow: 0 1px 0 #ffffff; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.almost-flat.min.css deleted file mode 100644 index 8d651de10..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable:empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f5f5f5;border-radius:4px;border:1px solid rgba(0,0,0,.06);text-shadow:0 1px 0 #fff} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.css deleted file mode 100644 index aa4c6447f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.css +++ /dev/null @@ -1,132 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Nestable - ========================================================================== */ -.uk-nestable { - padding: 0; - list-style: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-nestable a, -.uk-nestable img { - -webkit-touch-callout: none; -} -/* Sub-object `uk-nestable-list` - ========================================================================== */ -.uk-nestable-list { - margin: 0; - padding-left: 40px; - list-style: none; -} -/* Sub-modifier `uk-nestable-item` - ========================================================================== */ -/* - * 1. Deactivate browser touch actions in IE11 - */ -.uk-nestable-item { - /* 1 */ - touch-action: none; -} -.uk-nestable-item + .uk-nestable-item { - margin-top: 10px; -} -.uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { - margin-top: 10px; -} -/* Sub-modifier `uk-nestable-dragged` - ========================================================================== */ -/* - * 1. Reset style - */ -.uk-nestable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; - /* 1 */ - padding-left: 0; -} -/* Sub-modifier `uk-nestable-placeholder` - ========================================================================== */ -.uk-nestable-placeholder { - position: relative; -} -.uk-nestable-placeholder > * { - opacity: 0; -} -.uk-nestable-placeholder:after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - border: 1px dashed #dddddd; - opacity: 1; -} -/* Empty List - ========================================================================== */ -.uk-nestable:empty { - min-height: 30px; -} -/* Sub-object `uk-nestable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-nestable-handle { - touch-action: none; -} -/* Hover */ -.uk-nestable-handle:hover { - cursor: move; -} -/* Sub-object `uk-nestable-moving` - ========================================================================== */ -.uk-nestable-moving, -.uk-nestable-moving * { - cursor: move; -} -/* [data-nestable-action='toggle'] - ========================================================================== */ -/* - * 1. Makes text unselectable. Happens if double clicked by mistake - */ -[data-nestable-action='toggle'] { - cursor: pointer; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* Sub-object `.uk-nestable-toggle` - ========================================================================== */ -.uk-nestable-toggle { - display: inline-block; - visibility: hidden; -} -.uk-nestable-toggle:after { - content: "\f147"; - font-family: FontAwesome; -} -.uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { - visibility: visible; -} -/* - * Collapsed - */ -.uk-collapsed .uk-nestable-list { - display: none; -} -.uk-collapsed .uk-nestable-toggle:after { - content: "\f196"; -} -/* Sub-object `uk-nestable-panel` - ========================================================================== */ -.uk-nestable-panel { - padding: 5px; - background: #f5f5f5; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.gradient.css deleted file mode 100644 index 26c506043..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.gradient.css +++ /dev/null @@ -1,139 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Nestable - ========================================================================== */ -.uk-nestable { - padding: 0; - list-style: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-nestable a, -.uk-nestable img { - -webkit-touch-callout: none; -} -/* Sub-object `uk-nestable-list` - ========================================================================== */ -.uk-nestable-list { - margin: 0; - padding-left: 40px; - list-style: none; -} -/* Sub-modifier `uk-nestable-item` - ========================================================================== */ -/* - * 1. Deactivate browser touch actions in IE11 - */ -.uk-nestable-item { - /* 1 */ - touch-action: none; -} -.uk-nestable-item + .uk-nestable-item { - margin-top: 10px; -} -.uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { - margin-top: 10px; -} -/* Sub-modifier `uk-nestable-dragged` - ========================================================================== */ -/* - * 1. Reset style - */ -.uk-nestable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; - /* 1 */ - padding-left: 0; -} -/* Sub-modifier `uk-nestable-placeholder` - ========================================================================== */ -.uk-nestable-placeholder { - position: relative; -} -.uk-nestable-placeholder > * { - opacity: 0; -} -.uk-nestable-placeholder:after { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - border: 1px dashed #dddddd; - opacity: 1; -} -/* Empty List - ========================================================================== */ -.uk-nestable:empty { - min-height: 30px; -} -/* Sub-object `uk-nestable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-nestable-handle { - touch-action: none; -} -/* Hover */ -.uk-nestable-handle:hover { - cursor: move; -} -/* Sub-object `uk-nestable-moving` - ========================================================================== */ -.uk-nestable-moving, -.uk-nestable-moving * { - cursor: move; -} -/* [data-nestable-action='toggle'] - ========================================================================== */ -/* - * 1. Makes text unselectable. Happens if double clicked by mistake - */ -[data-nestable-action='toggle'] { - cursor: pointer; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* Sub-object `.uk-nestable-toggle` - ========================================================================== */ -.uk-nestable-toggle { - display: inline-block; - visibility: hidden; -} -.uk-nestable-toggle:after { - content: "\f147"; - font-family: FontAwesome; -} -.uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { - visibility: visible; -} -/* - * Collapsed - */ -.uk-collapsed .uk-nestable-list { - display: none; -} -.uk-collapsed .uk-nestable-toggle:after { - content: "\f196"; -} -/* Sub-object `uk-nestable-panel` - ========================================================================== */ -.uk-nestable-panel { - padding: 5px; - background: #f7f7f7; - border-radius: 4px; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - text-shadow: 0 1px 0 #ffffff; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.gradient.min.css deleted file mode 100644 index 58a8f715e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable:empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f7f7f7;border-radius:4px;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.min.css deleted file mode 100644 index 94941fbe9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/nestable.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable:empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f5f5f5} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.almost-flat.css deleted file mode 100644 index 642111940..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.almost-flat.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Notify - ========================================================================== */ -/* - * Message container for positioning - */ -.uk-notify { - position: fixed; - top: 10px; - left: 10px; - z-index: 1040; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 350px; -} -/* Position modifiers -========================================================================== */ -.uk-notify-top-right, -.uk-notify-bottom-right { - left: auto; - right: 10px; -} -.uk-notify-top-center, -.uk-notify-bottom-center { - left: 50%; - margin-left: -175px; -} -.uk-notify-bottom-left, -.uk-notify-bottom-right, -.uk-notify-bottom-center { - top: auto; - bottom: 10px; -} -/* Responsiveness -========================================================================== */ -/* Phones portrait and smaller */ -@media (max-width: 479px) { - /* - * Fit in small screen - */ - .uk-notify { - left: 10px; - right: 10px; - width: auto; - margin: 0; - } -} -/* Sub-object: `uk-notify-message` -========================================================================== */ -.uk-notify-message { - position: relative; - margin-bottom: 10px; - padding: 15px; - background: #444444; - color: #ffffff; - font-size: 16px; - line-height: 22px; - cursor: pointer; - border: 1px solid #444444; - border-radius: 4px; -} -/* Close in notify - ========================================================================== */ -.uk-notify-message > .uk-close { - visibility: hidden; - float: right; -} -.uk-notify-message:hover > .uk-close { - visibility: visible; -} -/* Modifier: `uk-alert-info` - ========================================================================== */ -.uk-notify-message-primary { - background: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-notify-message-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-notify-message-warning` - ========================================================================== */ -.uk-notify-message-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-notify-message-danger` - ========================================================================== */ -.uk-notify-message-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.almost-flat.min.css deleted file mode 100644 index 4d33bb376..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-notify{position:fixed;top:10px;left:10px;z-index:1040;-moz-box-sizing:border-box;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.css deleted file mode 100644 index 42d7bce2e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.css +++ /dev/null @@ -1,93 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Notify - ========================================================================== */ -/* - * Message container for positioning - */ -.uk-notify { - position: fixed; - top: 10px; - left: 10px; - z-index: 1040; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 350px; -} -/* Position modifiers -========================================================================== */ -.uk-notify-top-right, -.uk-notify-bottom-right { - left: auto; - right: 10px; -} -.uk-notify-top-center, -.uk-notify-bottom-center { - left: 50%; - margin-left: -175px; -} -.uk-notify-bottom-left, -.uk-notify-bottom-right, -.uk-notify-bottom-center { - top: auto; - bottom: 10px; -} -/* Responsiveness -========================================================================== */ -/* Phones portrait and smaller */ -@media (max-width: 479px) { - /* - * Fit in small screen - */ - .uk-notify { - left: 10px; - right: 10px; - width: auto; - margin: 0; - } -} -/* Sub-object: `uk-notify-message` -========================================================================== */ -.uk-notify-message { - position: relative; - margin-bottom: 10px; - padding: 15px; - background: #444444; - color: #ffffff; - font-size: 16px; - line-height: 22px; - cursor: pointer; -} -/* Close in notify - ========================================================================== */ -.uk-notify-message > .uk-close { - visibility: hidden; - float: right; -} -.uk-notify-message:hover > .uk-close { - visibility: visible; -} -/* Modifier: `uk-alert-info` - ========================================================================== */ -.uk-notify-message-primary { - background: #ebf7fd; - color: #2d7091; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-notify-message-success { - background: #f2fae3; - color: #659f13; -} -/* Modifier: `uk-notify-message-warning` - ========================================================================== */ -.uk-notify-message-warning { - background: #fffceb; - color: #e28327; -} -/* Modifier: `uk-notify-message-danger` - ========================================================================== */ -.uk-notify-message-danger { - background: #fff1f0; - color: #d85030; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.gradient.css deleted file mode 100644 index 642111940..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.gradient.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Notify - ========================================================================== */ -/* - * Message container for positioning - */ -.uk-notify { - position: fixed; - top: 10px; - left: 10px; - z-index: 1040; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 350px; -} -/* Position modifiers -========================================================================== */ -.uk-notify-top-right, -.uk-notify-bottom-right { - left: auto; - right: 10px; -} -.uk-notify-top-center, -.uk-notify-bottom-center { - left: 50%; - margin-left: -175px; -} -.uk-notify-bottom-left, -.uk-notify-bottom-right, -.uk-notify-bottom-center { - top: auto; - bottom: 10px; -} -/* Responsiveness -========================================================================== */ -/* Phones portrait and smaller */ -@media (max-width: 479px) { - /* - * Fit in small screen - */ - .uk-notify { - left: 10px; - right: 10px; - width: auto; - margin: 0; - } -} -/* Sub-object: `uk-notify-message` -========================================================================== */ -.uk-notify-message { - position: relative; - margin-bottom: 10px; - padding: 15px; - background: #444444; - color: #ffffff; - font-size: 16px; - line-height: 22px; - cursor: pointer; - border: 1px solid #444444; - border-radius: 4px; -} -/* Close in notify - ========================================================================== */ -.uk-notify-message > .uk-close { - visibility: hidden; - float: right; -} -.uk-notify-message:hover > .uk-close { - visibility: visible; -} -/* Modifier: `uk-alert-info` - ========================================================================== */ -.uk-notify-message-primary { - background: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-notify-message-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-notify-message-warning` - ========================================================================== */ -.uk-notify-message-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-notify-message-danger` - ========================================================================== */ -.uk-notify-message-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.gradient.min.css deleted file mode 100644 index 4d33bb376..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-notify{position:fixed;top:10px;left:10px;z-index:1040;-moz-box-sizing:border-box;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.min.css deleted file mode 100644 index 3aa6b89a1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/notify.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-notify{position:fixed;top:10px;left:10px;z-index:1040;-moz-box-sizing:border-box;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091}.uk-notify-message-success{background:#f2fae3;color:#659f13}.uk-notify-message-warning{background:#fffceb;color:#e28327}.uk-notify-message-danger{background:#fff1f0;color:#d85030} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.almost-flat.css deleted file mode 100644 index 7b72cfe51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.almost-flat.css +++ /dev/null @@ -1,29 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Placeholder - ========================================================================== */ -.uk-placeholder { - margin-bottom: 15px; - padding: 20px; - border: 1px dashed #dddddd; - background: #fafafa; - color: #444444; -} -/* - * Add margin if adjacent element - */ -* + .uk-placeholder { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-placeholder > :last-child { - margin-bottom: 0; -} -/* Modifier: `uk-placeholder-large` - ========================================================================== */ -.uk-placeholder-large { - padding-top: 80px; - padding-bottom: 80px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.almost-flat.min.css deleted file mode 100644 index ba4b565ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-placeholder{margin-bottom:15px;padding:20px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.css deleted file mode 100644 index 7b72cfe51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.css +++ /dev/null @@ -1,29 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Placeholder - ========================================================================== */ -.uk-placeholder { - margin-bottom: 15px; - padding: 20px; - border: 1px dashed #dddddd; - background: #fafafa; - color: #444444; -} -/* - * Add margin if adjacent element - */ -* + .uk-placeholder { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-placeholder > :last-child { - margin-bottom: 0; -} -/* Modifier: `uk-placeholder-large` - ========================================================================== */ -.uk-placeholder-large { - padding-top: 80px; - padding-bottom: 80px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.gradient.css deleted file mode 100644 index 7b72cfe51..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.gradient.css +++ /dev/null @@ -1,29 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Placeholder - ========================================================================== */ -.uk-placeholder { - margin-bottom: 15px; - padding: 20px; - border: 1px dashed #dddddd; - background: #fafafa; - color: #444444; -} -/* - * Add margin if adjacent element - */ -* + .uk-placeholder { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-placeholder > :last-child { - margin-bottom: 0; -} -/* Modifier: `uk-placeholder-large` - ========================================================================== */ -.uk-placeholder-large { - padding-top: 80px; - padding-bottom: 80px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.gradient.min.css deleted file mode 100644 index ba4b565ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-placeholder{margin-bottom:15px;padding:20px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.min.css deleted file mode 100644 index ba4b565ea..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/placeholder.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-placeholder{margin-bottom:15px;padding:20px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.almost-flat.css deleted file mode 100644 index baf0e6830..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.almost-flat.css +++ /dev/null @@ -1,105 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Progress - ========================================================================== */ -/* - * 1. Clearing - * 2. Vertical alignment if text is used - */ -.uk-progress { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 20px; - margin-bottom: 15px; - background: #f5f5f5; - /* 1 */ - overflow: hidden; - /* 2 */ - line-height: 20px; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); - border-radius: 4px; -} -/* - * Add margin if adjacent element - */ -* + .uk-progress { - margin-top: 15px; -} -/* Sub-object: `uk-progress-bar` - ========================================================================== */ -/* - * 1. Transition - * 2. Needed for text - */ -.uk-progress-bar { - width: 0; - height: 100%; - background: #00a8e6; - float: left; - /* 1 */ - -webkit-transition: width 0.6s ease; - transition: width 0.6s ease; - /* 2 */ - font-size: 12px; - color: #ffffff; - text-align: center; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* Size modifiers - ========================================================================== */ -/* Mini */ -.uk-progress-mini { - height: 6px; -} -/* Small */ -.uk-progress-small { - height: 12px; -} -/* Color modifiers - ========================================================================== */ -.uk-progress-success .uk-progress-bar { - background-color: #8cc14c; -} -.uk-progress-warning .uk-progress-bar { - background-color: #faa732; -} -.uk-progress-danger .uk-progress-bar { - background-color: #da314b; -} -/* Modifier: `uk-progress-striped` - ========================================================================== */ -.uk-progress-striped .uk-progress-bar { - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-size: 30px 30px; -} -/* - * Animation - */ -.uk-progress-striped.uk-active .uk-progress-bar { - -webkit-animation: uk-progress-bar-stripes 2s linear infinite; - animation: uk-progress-bar-stripes 2s linear infinite; -} -@-webkit-keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -@keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -/* Size modifiers - ========================================================================== */ -.uk-progress-mini, -.uk-progress-small { - border-radius: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.almost-flat.min.css deleted file mode 100644 index 33b060498..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-progress{-moz-box-sizing:border-box;box-sizing:border-box;height:20px;margin-bottom:15px;background:#f5f5f5;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#00a8e6;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#8cc14c}.uk-progress-warning .uk-progress-bar{background-color:#faa732}.uk-progress-danger .uk-progress-bar{background-color:#da314b}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.css deleted file mode 100644 index 8ae61e53a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.css +++ /dev/null @@ -1,95 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Progress - ========================================================================== */ -/* - * 1. Clearing - * 2. Vertical alignment if text is used - */ -.uk-progress { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 20px; - margin-bottom: 15px; - background: #eeeeee; - /* 1 */ - overflow: hidden; - /* 2 */ - line-height: 20px; -} -/* - * Add margin if adjacent element - */ -* + .uk-progress { - margin-top: 15px; -} -/* Sub-object: `uk-progress-bar` - ========================================================================== */ -/* - * 1. Transition - * 2. Needed for text - */ -.uk-progress-bar { - width: 0; - height: 100%; - background: #00a8e6; - float: left; - /* 1 */ - -webkit-transition: width 0.6s ease; - transition: width 0.6s ease; - /* 2 */ - font-size: 12px; - color: #ffffff; - text-align: center; -} -/* Size modifiers - ========================================================================== */ -/* Mini */ -.uk-progress-mini { - height: 6px; -} -/* Small */ -.uk-progress-small { - height: 12px; -} -/* Color modifiers - ========================================================================== */ -.uk-progress-success .uk-progress-bar { - background-color: #8cc14c; -} -.uk-progress-warning .uk-progress-bar { - background-color: #faa732; -} -.uk-progress-danger .uk-progress-bar { - background-color: #da314b; -} -/* Modifier: `uk-progress-striped` - ========================================================================== */ -.uk-progress-striped .uk-progress-bar { - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-size: 30px 30px; -} -/* - * Animation - */ -.uk-progress-striped.uk-active .uk-progress-bar { - -webkit-animation: uk-progress-bar-stripes 2s linear infinite; - animation: uk-progress-bar-stripes 2s linear infinite; -} -@-webkit-keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -@keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.gradient.css deleted file mode 100644 index 452d8f21d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.gradient.css +++ /dev/null @@ -1,113 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Progress - ========================================================================== */ -/* - * 1. Clearing - * 2. Vertical alignment if text is used - */ -.uk-progress { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 20px; - margin-bottom: 15px; - background: #f7f7f7; - /* 1 */ - overflow: hidden; - /* 2 */ - line-height: 20px; - box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07), inset 0 2px 2px rgba(0, 0, 0, 0.07); - border-radius: 4px; -} -/* - * Add margin if adjacent element - */ -* + .uk-progress { - margin-top: 15px; -} -/* Sub-object: `uk-progress-bar` - ========================================================================== */ -/* - * 1. Transition - * 2. Needed for text - */ -.uk-progress-bar { - width: 0; - height: 100%; - background: #009dd8; - float: left; - /* 1 */ - -webkit-transition: width 0.6s ease; - transition: width 0.6s ease; - /* 2 */ - font-size: 12px; - color: #ffffff; - text-align: center; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Size modifiers - ========================================================================== */ -/* Mini */ -.uk-progress-mini { - height: 6px; -} -/* Small */ -.uk-progress-small { - height: 12px; -} -/* Color modifiers - ========================================================================== */ -.uk-progress-success .uk-progress-bar { - background-color: #82bb42; - background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); - background-image: linear-gradient(to bottom, #9fd256, #6fac34); -} -.uk-progress-warning .uk-progress-bar { - background-color: #f9a124; - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(to bottom, #fbb450, #f89406); -} -.uk-progress-danger .uk-progress-bar { - background-color: #d32c46; - background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); - background-image: linear-gradient(to bottom, #ee465a, #c11a39); -} -/* Modifier: `uk-progress-striped` - ========================================================================== */ -.uk-progress-striped .uk-progress-bar { - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-size: 30px 30px; -} -/* - * Animation - */ -.uk-progress-striped.uk-active .uk-progress-bar { - -webkit-animation: uk-progress-bar-stripes 2s linear infinite; - animation: uk-progress-bar-stripes 2s linear infinite; -} -@-webkit-keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -@keyframes uk-progress-bar-stripes { - 0% { - background-position: 0 0; - } - 100% { - background-position: 30px 0; - } -} -/* Size modifiers - ========================================================================== */ -.uk-progress-mini, -.uk-progress-small { - border-radius: 500px; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.gradient.min.css deleted file mode 100644 index 39137190c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-progress{-moz-box-sizing:border-box;box-sizing:border-box;height:20px;margin-bottom:15px;background:#f7f7f7;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07),inset 0 2px 2px rgba(0,0,0,.07);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#009dd8;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-progress-warning .uk-progress-bar{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-progress-danger .uk-progress-bar{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.min.css deleted file mode 100644 index fec2675ac..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/progress.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-progress{-moz-box-sizing:border-box;box-sizing:border-box;height:20px;margin-bottom:15px;background:#eee;overflow:hidden;line-height:20px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#00a8e6;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#8cc14c}.uk-progress-warning .uk-progress-bar{background-color:#faa732}.uk-progress-danger .uk-progress-bar{background-color:#da314b}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.almost-flat.css deleted file mode 100644 index 513289bfc..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.almost-flat.css +++ /dev/null @@ -1,192 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Search - ========================================================================== */ -/* - * 1. Create position context for dropdowns - * 2. Needed for `form` element - */ -.uk-search { - display: inline-block; - /* 1 */ - position: relative; - /* 2 */ - margin: 0; -} -/* - * Icon - */ -.uk-search:before { - content: "\f002"; - position: absolute; - top: 0; - left: 0; - width: 30px; - line-height: 30px; - text-align: center; - font-family: FontAwesome; - font-size: 14px; - color: rgba(0, 0, 0, 0.2); -} -/* Sub-object `uk-search-field` - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-search-field::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-search-field::-webkit-search-cancel-button, -.uk-search-field::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Removes cancel button in IE10 - */ -.uk-search-field::-ms-clear { - display: none; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-search-field::-moz-placeholder { - opacity: 1; -} -/* - * 1. Define consistent box sizing. - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - * 5. Remove default style in iOS. - * 6. Style - */ -.uk-search-field { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: #444444; - /* 5 */ - -webkit-appearance: none; - /* 6 */ - width: 120px; - height: 30px; - padding: 0 0 0 30px; - border: 1px solid rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - vertical-align: middle; -} -/* Placeholder */ -.uk-search-field:-ms-input-placeholder { - color: #999999 !important; -} -.uk-search-field::-moz-placeholder { - color: #999999; -} -.uk-search-field::-webkit-input-placeholder { - color: #999999; -} -/* Focus */ -.uk-search-field:focus { - outline: 0; -} -/* Focus + Active */ -.uk-search-field:focus, -.uk-search.uk-active .uk-search-field { - width: 180px; -} -/* Dropdown modifier: `uk-dropdown-search` - ========================================================================== */ -.uk-dropdown-search { - width: 300px; - margin-top: 0; - background: #ffffff; - color: #444444; -} -.uk-open > .uk-dropdown-search { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* - * Dependency `uk-navbar-flip` - */ -.uk-navbar-flip .uk-dropdown-search { - margin-top: 12px; - margin-right: -16px; -} -/* Nav modifier `uk-nav-search` - ========================================================================== */ -/* - * Items - */ -.uk-nav-search > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-search > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-search .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-search .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-search ul a { - color: #0077dd; -} -.uk-nav-search ul a:hover { - color: #005599; -} -/* Search in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-search { - display: block; - margin: 20px 15px; -} -.uk-offcanvas .uk-search:before { - color: #777777; -} -.uk-offcanvas .uk-search-field { - width: 100%; - border-color: rgba(0, 0, 0, 0); - background: #1a1a1a; - color: #cccccc; -} -.uk-offcanvas .uk-search-field:-ms-input-placeholder { - color: #777777 !important; -} -.uk-offcanvas .uk-search-field::-moz-placeholder { - color: #777777; -} -.uk-offcanvas .uk-search-field::-webkit-input-placeholder { - color: #777777; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.almost-flat.min.css deleted file mode 100644 index bdbc0b78c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:transparent;-webkit-transition:all linear .2s;transition:all linear .2s;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#fff;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:12px;margin-right:-16px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07d}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.css deleted file mode 100644 index 5cb3071c5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.css +++ /dev/null @@ -1,190 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Search - ========================================================================== */ -/* - * 1. Create position context for dropdowns - * 2. Needed for `form` element - */ -.uk-search { - display: inline-block; - /* 1 */ - position: relative; - /* 2 */ - margin: 0; -} -/* - * Icon - */ -.uk-search:before { - content: "\f002"; - position: absolute; - top: 0; - left: 0; - width: 30px; - line-height: 30px; - text-align: center; - font-family: FontAwesome; - font-size: 14px; - color: rgba(0, 0, 0, 0.2); -} -/* Sub-object `uk-search-field` - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-search-field::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-search-field::-webkit-search-cancel-button, -.uk-search-field::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Removes cancel button in IE10 - */ -.uk-search-field::-ms-clear { - display: none; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-search-field::-moz-placeholder { - opacity: 1; -} -/* - * 1. Define consistent box sizing. - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - * 5. Remove default style in iOS. - * 6. Style - */ -.uk-search-field { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: #444444; - /* 5 */ - -webkit-appearance: none; - /* 6 */ - width: 120px; - height: 30px; - padding: 0 0 0 30px; - border: 1px solid rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - vertical-align: middle; -} -/* Placeholder */ -.uk-search-field:-ms-input-placeholder { - color: #999999 !important; -} -.uk-search-field::-moz-placeholder { - color: #999999; -} -.uk-search-field::-webkit-input-placeholder { - color: #999999; -} -/* Focus */ -.uk-search-field:focus { - outline: 0; -} -/* Focus + Active */ -.uk-search-field:focus, -.uk-search.uk-active .uk-search-field { - width: 180px; -} -/* Dropdown modifier: `uk-dropdown-search` - ========================================================================== */ -.uk-dropdown-search { - width: 300px; - margin-top: 0; - background: #f5f5f5; - color: #444444; -} -.uk-open > .uk-dropdown-search { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* - * Dependency `uk-navbar-flip` - */ -.uk-navbar-flip .uk-dropdown-search { - margin-top: 5px; - margin-right: -15px; -} -/* Nav modifier `uk-nav-search` - ========================================================================== */ -/* - * Items - */ -.uk-nav-search > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-search > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - /* 1 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-search .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-search .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-search ul a { - color: #0077dd; -} -.uk-nav-search ul a:hover { - color: #005599; -} -/* Search in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-search { - display: block; - margin: 20px 15px; -} -.uk-offcanvas .uk-search:before { - color: #777777; -} -.uk-offcanvas .uk-search-field { - width: 100%; - border-color: rgba(0, 0, 0, 0); - background: #1a1a1a; - color: #cccccc; -} -.uk-offcanvas .uk-search-field:-ms-input-placeholder { - color: #777777 !important; -} -.uk-offcanvas .uk-search-field::-moz-placeholder { - color: #777777; -} -.uk-offcanvas .uk-search-field::-webkit-input-placeholder { - color: #777777; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.gradient.css deleted file mode 100644 index b5853b07e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.gradient.css +++ /dev/null @@ -1,192 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Search - ========================================================================== */ -/* - * 1. Create position context for dropdowns - * 2. Needed for `form` element - */ -.uk-search { - display: inline-block; - /* 1 */ - position: relative; - /* 2 */ - margin: 0; -} -/* - * Icon - */ -.uk-search:before { - content: "\f002"; - position: absolute; - top: 0; - left: 0; - width: 30px; - line-height: 30px; - text-align: center; - font-family: FontAwesome; - font-size: 14px; - color: rgba(0, 0, 0, 0.2); -} -/* Sub-object `uk-search-field` - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-search-field::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-search-field::-webkit-search-cancel-button, -.uk-search-field::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Removes cancel button in IE10 - */ -.uk-search-field::-ms-clear { - display: none; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-search-field::-moz-placeholder { - opacity: 1; -} -/* - * 1. Define consistent box sizing. - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - * 5. Remove default style in iOS. - * 6. Style - */ -.uk-search-field { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: #444444; - /* 5 */ - -webkit-appearance: none; - /* 6 */ - width: 120px; - height: 30px; - padding: 0 0 0 30px; - border: 1px solid rgba(0, 0, 0, 0); - background: rgba(0, 0, 0, 0); - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - vertical-align: middle; -} -/* Placeholder */ -.uk-search-field:-ms-input-placeholder { - color: #999999 !important; -} -.uk-search-field::-moz-placeholder { - color: #999999; -} -.uk-search-field::-webkit-input-placeholder { - color: #999999; -} -/* Focus */ -.uk-search-field:focus { - outline: 0; -} -/* Focus + Active */ -.uk-search-field:focus, -.uk-search.uk-active .uk-search-field { - width: 180px; -} -/* Dropdown modifier: `uk-dropdown-search` - ========================================================================== */ -.uk-dropdown-search { - width: 300px; - margin-top: 0; - background: #ffffff; - color: #444444; -} -.uk-open > .uk-dropdown-search { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* - * Dependency `uk-navbar-flip` - */ -.uk-navbar-flip .uk-dropdown-search { - margin-top: 12px; - margin-right: -16px; -} -/* Nav modifier `uk-nav-search` - ========================================================================== */ -/* - * Items - */ -.uk-nav-search > li > a { - color: #444444; -} -/* - * Active - * 1. Remove default focus style - */ -.uk-nav-search > li.uk-active > a { - background: #009dd8; - color: #ffffff; - /* 1 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-search .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-search .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-search ul a { - color: #0077dd; -} -.uk-nav-search ul a:hover { - color: #005599; -} -/* Search in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-search { - display: block; - margin: 20px 15px; -} -.uk-offcanvas .uk-search:before { - color: #777777; -} -.uk-offcanvas .uk-search-field { - width: 100%; - border-color: rgba(0, 0, 0, 0); - background: #1a1a1a; - color: #cccccc; -} -.uk-offcanvas .uk-search-field:-ms-input-placeholder { - color: #777777 !important; -} -.uk-offcanvas .uk-search-field::-moz-placeholder { - color: #777777; -} -.uk-offcanvas .uk-search-field::-webkit-input-placeholder { - color: #777777; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.gradient.min.css deleted file mode 100644 index 166173bc3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:transparent;-webkit-transition:all linear .2s;transition:all linear .2s;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#fff;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:12px;margin-right:-16px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07d}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.min.css deleted file mode 100644 index 8e826a42b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/search.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:transparent;-webkit-transition:all linear .2s;transition:all linear .2s;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#f5f5f5;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:5px;margin-right:-15px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#00a8e6;color:#fff;outline:0}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07d}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.almost-flat.css deleted file mode 100644 index 7445f255d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.almost-flat.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slidenav - ========================================================================== */ -/* - * 1. Required for `a` elements - * 2. Dimension - * 3. Style - */ -.uk-slidenav { - /* 1 */ - display: inline-block; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 60px; - height: 60px; - /* 3 */ - line-height: 60px; - color: rgba(50, 50, 50, 0.4); - font-size: 60px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - * 4. Style - */ -.uk-slidenav:hover, -.uk-slidenav:focus { - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - /* 4 */ - color: rgba(50, 50, 50, 0.7); - cursor: pointer; -} -/* Active */ -.uk-slidenav:active { - color: rgba(50, 50, 50, 0.9); -} -/* - * Icons - */ -.uk-slidenav-previous:before { - content: "\f104"; - font-family: FontAwesome; -} -.uk-slidenav-next:before { - content: "\f105"; - font-family: FontAwesome; -} -/* Sub-object: `uk-slidenav-position` - ========================================================================== */ -/* - * Create position context - */ -.uk-slidenav-position { - position: relative; -} -/* - * Center vertically - */ -.uk-slidenav-position .uk-slidenav { - display: none; - position: absolute; - top: 50%; - z-index: 1; - margin-top: -30px; -} -.uk-slidenav-position:hover .uk-slidenav { - display: block; -} -.uk-slidenav-position .uk-slidenav-previous { - left: 20px; -} -.uk-slidenav-position .uk-slidenav-next { - right: 20px; -} -/* Modifier: `uk-slidenav-contrast` - ========================================================================== */ -.uk-slidenav-contrast { - color: rgba(255, 255, 255, 0.5); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-slidenav-contrast:hover, -.uk-slidenav-contrast:focus { - color: rgba(255, 255, 255, 0.7); -} -/* Active */ -.uk-slidenav-contrast:active { - color: rgba(255, 255, 255, 0.9); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.almost-flat.min.css deleted file mode 100644 index 31445f0e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slidenav{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.css deleted file mode 100644 index 7445f255d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slidenav - ========================================================================== */ -/* - * 1. Required for `a` elements - * 2. Dimension - * 3. Style - */ -.uk-slidenav { - /* 1 */ - display: inline-block; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 60px; - height: 60px; - /* 3 */ - line-height: 60px; - color: rgba(50, 50, 50, 0.4); - font-size: 60px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - * 4. Style - */ -.uk-slidenav:hover, -.uk-slidenav:focus { - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - /* 4 */ - color: rgba(50, 50, 50, 0.7); - cursor: pointer; -} -/* Active */ -.uk-slidenav:active { - color: rgba(50, 50, 50, 0.9); -} -/* - * Icons - */ -.uk-slidenav-previous:before { - content: "\f104"; - font-family: FontAwesome; -} -.uk-slidenav-next:before { - content: "\f105"; - font-family: FontAwesome; -} -/* Sub-object: `uk-slidenav-position` - ========================================================================== */ -/* - * Create position context - */ -.uk-slidenav-position { - position: relative; -} -/* - * Center vertically - */ -.uk-slidenav-position .uk-slidenav { - display: none; - position: absolute; - top: 50%; - z-index: 1; - margin-top: -30px; -} -.uk-slidenav-position:hover .uk-slidenav { - display: block; -} -.uk-slidenav-position .uk-slidenav-previous { - left: 20px; -} -.uk-slidenav-position .uk-slidenav-next { - right: 20px; -} -/* Modifier: `uk-slidenav-contrast` - ========================================================================== */ -.uk-slidenav-contrast { - color: rgba(255, 255, 255, 0.5); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-slidenav-contrast:hover, -.uk-slidenav-contrast:focus { - color: rgba(255, 255, 255, 0.7); -} -/* Active */ -.uk-slidenav-contrast:active { - color: rgba(255, 255, 255, 0.9); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.gradient.css deleted file mode 100644 index 7445f255d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.gradient.css +++ /dev/null @@ -1,99 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slidenav - ========================================================================== */ -/* - * 1. Required for `a` elements - * 2. Dimension - * 3. Style - */ -.uk-slidenav { - /* 1 */ - display: inline-block; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 60px; - height: 60px; - /* 3 */ - line-height: 60px; - color: rgba(50, 50, 50, 0.4); - font-size: 60px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - * 4. Style - */ -.uk-slidenav:hover, -.uk-slidenav:focus { - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - /* 4 */ - color: rgba(50, 50, 50, 0.7); - cursor: pointer; -} -/* Active */ -.uk-slidenav:active { - color: rgba(50, 50, 50, 0.9); -} -/* - * Icons - */ -.uk-slidenav-previous:before { - content: "\f104"; - font-family: FontAwesome; -} -.uk-slidenav-next:before { - content: "\f105"; - font-family: FontAwesome; -} -/* Sub-object: `uk-slidenav-position` - ========================================================================== */ -/* - * Create position context - */ -.uk-slidenav-position { - position: relative; -} -/* - * Center vertically - */ -.uk-slidenav-position .uk-slidenav { - display: none; - position: absolute; - top: 50%; - z-index: 1; - margin-top: -30px; -} -.uk-slidenav-position:hover .uk-slidenav { - display: block; -} -.uk-slidenav-position .uk-slidenav-previous { - left: 20px; -} -.uk-slidenav-position .uk-slidenav-next { - right: 20px; -} -/* Modifier: `uk-slidenav-contrast` - ========================================================================== */ -.uk-slidenav-contrast { - color: rgba(255, 255, 255, 0.5); -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-slidenav-contrast:hover, -.uk-slidenav-contrast:focus { - color: rgba(255, 255, 255, 0.7); -} -/* Active */ -.uk-slidenav-contrast:active { - color: rgba(255, 255, 255, 0.9); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.gradient.min.css deleted file mode 100644 index 31445f0e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slidenav{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.min.css deleted file mode 100644 index 31445f0e6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slidenav.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slidenav{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.almost-flat.css deleted file mode 100644 index 2f16434be..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.almost-flat.css +++ /dev/null @@ -1,85 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slider - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Deactivate browser history navigation in IE11 - */ -.uk-slider { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - touch-action: pan-y; -} -/* - * 1. Reset list style without interfering with grid - */ -.uk-slider:not(.uk-grid) { - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * Sub-object item - * 1. Position items above each other - */ -.uk-slider > * { - /* 1 */ - position: absolute; - top: 0; - left: 0; -} -/* - * Clip child elements - */ -.uk-slider-container { - overflow: hidden; -} -/* - * Dragged - */ -.uk-slider:not(.uk-drag) { - -webkit-transition: -webkit-transform 200ms linear; - transition: transform 200ms linear; -} -/* - * 1. Makes text unselectable - */ -.uk-slider.uk-drag { - cursor: col-resize; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* - * 1. Prevents images and links from being dragged (default browser behavior) - * 2. Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-slider a, -.uk-slider img { - /* 1 */ - -webkit-user-drag: none; - user-drag: none; - /* 2 */ - -webkit-touch-callout: none; -} -/* - * 1. Prevents images and links from being dragged in Firefox - */ -.uk-slider img { - pointer-events: none; -} -/* Modifier: `uk-slider-fullscreen` - ========================================================================== */ -.uk-slider-fullscreen, -.uk-slider-fullscreen > li { - height: 100vh; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.almost-flat.min.css deleted file mode 100644 index 4b177be63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform 200ms linear;transition:transform 200ms linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.css deleted file mode 100644 index 2f16434be..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.css +++ /dev/null @@ -1,85 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slider - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Deactivate browser history navigation in IE11 - */ -.uk-slider { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - touch-action: pan-y; -} -/* - * 1. Reset list style without interfering with grid - */ -.uk-slider:not(.uk-grid) { - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * Sub-object item - * 1. Position items above each other - */ -.uk-slider > * { - /* 1 */ - position: absolute; - top: 0; - left: 0; -} -/* - * Clip child elements - */ -.uk-slider-container { - overflow: hidden; -} -/* - * Dragged - */ -.uk-slider:not(.uk-drag) { - -webkit-transition: -webkit-transform 200ms linear; - transition: transform 200ms linear; -} -/* - * 1. Makes text unselectable - */ -.uk-slider.uk-drag { - cursor: col-resize; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* - * 1. Prevents images and links from being dragged (default browser behavior) - * 2. Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-slider a, -.uk-slider img { - /* 1 */ - -webkit-user-drag: none; - user-drag: none; - /* 2 */ - -webkit-touch-callout: none; -} -/* - * 1. Prevents images and links from being dragged in Firefox - */ -.uk-slider img { - pointer-events: none; -} -/* Modifier: `uk-slider-fullscreen` - ========================================================================== */ -.uk-slider-fullscreen, -.uk-slider-fullscreen > li { - height: 100vh; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.gradient.css deleted file mode 100644 index 2f16434be..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.gradient.css +++ /dev/null @@ -1,85 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slider - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Deactivate browser history navigation in IE11 - */ -.uk-slider { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - touch-action: pan-y; -} -/* - * 1. Reset list style without interfering with grid - */ -.uk-slider:not(.uk-grid) { - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * Sub-object item - * 1. Position items above each other - */ -.uk-slider > * { - /* 1 */ - position: absolute; - top: 0; - left: 0; -} -/* - * Clip child elements - */ -.uk-slider-container { - overflow: hidden; -} -/* - * Dragged - */ -.uk-slider:not(.uk-drag) { - -webkit-transition: -webkit-transform 200ms linear; - transition: transform 200ms linear; -} -/* - * 1. Makes text unselectable - */ -.uk-slider.uk-drag { - cursor: col-resize; - /* 1 */ - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} -/* - * 1. Prevents images and links from being dragged (default browser behavior) - * 2. Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-slider a, -.uk-slider img { - /* 1 */ - -webkit-user-drag: none; - user-drag: none; - /* 2 */ - -webkit-touch-callout: none; -} -/* - * 1. Prevents images and links from being dragged in Firefox - */ -.uk-slider img { - pointer-events: none; -} -/* Modifier: `uk-slider-fullscreen` - ========================================================================== */ -.uk-slider-fullscreen, -.uk-slider-fullscreen > li { - height: 100vh; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.gradient.min.css deleted file mode 100644 index 4b177be63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform 200ms linear;transition:transform 200ms linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.min.css deleted file mode 100644 index 4b177be63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slider.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform 200ms linear;transition:transform 200ms linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.almost-flat.css deleted file mode 100644 index 8b6d69c04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.almost-flat.css +++ /dev/null @@ -1,140 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slideshow - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Set width because child elements are positioned absolute. Height is set via JS - * 4. Reset list style - * 5. Clip child elements - * 6. Deactivate browser history navigation in IE11 - */ -.uk-slideshow { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - width: 100%; - /* 4 */ - margin: 0; - padding: 0; - list-style: none; - /* 5 */ - overflow: hidden; - /* 6 */ - touch-action: pan-y; -} -/* - * Sub-object item - * 1. Position items above each other - * 2. Expand to parent container width - * 3. Hide by default - */ -.uk-slideshow > li { - /* 1 */ - position: absolute; - top: 0; - left: 0; - /* 2 */ - width: 100%; - /* 3 */ - opacity: 0; -} -/* - * Active - * 1. Stack at first - * 2. Show slide - */ -.uk-slideshow > .uk-active { - /* 1 */ - z-index: 10; - /* 2 */ - opacity: 1; -} -/* - * Hide default images which is only relevant to keep existing proportions - */ -.uk-slideshow > li > img { - visibility: hidden; -} -/* - * Pointer for controls - */ -[data-uk-slideshow-slide] { - cursor: pointer; -} -/* Modifier: `uk-slideshow-fullscreen` - ========================================================================== */ -.uk-slideshow-fullscreen, -.uk-slideshow-fullscreen > li { - height: 100vh; -} -/* Animations - ========================================================================== */ -/* - * Fade - */ -.uk-slideshow-fade-out { - -webkit-animation: uk-fade 0.5s linear reverse; - animation: uk-fade 0.5s linear reverse; -} -/* - * Scroll - */ -.uk-slideshow-scroll-forward-in { - -webkit-animation: uk-slide-right 0.5s ease-in-out; - animation: uk-slide-right 0.5s ease-in-out; -} -.uk-slideshow-scroll-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-scroll-backward-in { - -webkit-animation: uk-slide-left 0.5s ease-in-out; - animation: uk-slide-left 0.5s ease-in-out; -} -.uk-slideshow-scroll-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -/* - * Scale - */ -.uk-slideshow-scale-out { - -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; - animation: uk-fade-scale-15 0.5s ease-in-out reverse; -} -/* - * Swipe - */ -.uk-slideshow-swipe-forward-in { - -webkit-animation: uk-slide-left-33 0.5s ease-in-out; - animation: uk-slide-left-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-backward-in { - -webkit-animation: uk-slide-right-33 0.5s ease-in-out; - animation: uk-slide-right-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-forward-in:before, -.uk-slideshow-swipe-backward-in:before { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 1; - background: rgba(0, 0, 0, 0.6); - -webkit-animation: uk-fade 0.5s ease-in-out reverse; - animation: uk-fade 0.5s ease-in-out reverse; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.almost-flat.min.css deleted file mode 100644 index e9348e0b6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.css deleted file mode 100644 index 8b6d69c04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.css +++ /dev/null @@ -1,140 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slideshow - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Set width because child elements are positioned absolute. Height is set via JS - * 4. Reset list style - * 5. Clip child elements - * 6. Deactivate browser history navigation in IE11 - */ -.uk-slideshow { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - width: 100%; - /* 4 */ - margin: 0; - padding: 0; - list-style: none; - /* 5 */ - overflow: hidden; - /* 6 */ - touch-action: pan-y; -} -/* - * Sub-object item - * 1. Position items above each other - * 2. Expand to parent container width - * 3. Hide by default - */ -.uk-slideshow > li { - /* 1 */ - position: absolute; - top: 0; - left: 0; - /* 2 */ - width: 100%; - /* 3 */ - opacity: 0; -} -/* - * Active - * 1. Stack at first - * 2. Show slide - */ -.uk-slideshow > .uk-active { - /* 1 */ - z-index: 10; - /* 2 */ - opacity: 1; -} -/* - * Hide default images which is only relevant to keep existing proportions - */ -.uk-slideshow > li > img { - visibility: hidden; -} -/* - * Pointer for controls - */ -[data-uk-slideshow-slide] { - cursor: pointer; -} -/* Modifier: `uk-slideshow-fullscreen` - ========================================================================== */ -.uk-slideshow-fullscreen, -.uk-slideshow-fullscreen > li { - height: 100vh; -} -/* Animations - ========================================================================== */ -/* - * Fade - */ -.uk-slideshow-fade-out { - -webkit-animation: uk-fade 0.5s linear reverse; - animation: uk-fade 0.5s linear reverse; -} -/* - * Scroll - */ -.uk-slideshow-scroll-forward-in { - -webkit-animation: uk-slide-right 0.5s ease-in-out; - animation: uk-slide-right 0.5s ease-in-out; -} -.uk-slideshow-scroll-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-scroll-backward-in { - -webkit-animation: uk-slide-left 0.5s ease-in-out; - animation: uk-slide-left 0.5s ease-in-out; -} -.uk-slideshow-scroll-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -/* - * Scale - */ -.uk-slideshow-scale-out { - -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; - animation: uk-fade-scale-15 0.5s ease-in-out reverse; -} -/* - * Swipe - */ -.uk-slideshow-swipe-forward-in { - -webkit-animation: uk-slide-left-33 0.5s ease-in-out; - animation: uk-slide-left-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-backward-in { - -webkit-animation: uk-slide-right-33 0.5s ease-in-out; - animation: uk-slide-right-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-forward-in:before, -.uk-slideshow-swipe-backward-in:before { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 1; - background: rgba(0, 0, 0, 0.6); - -webkit-animation: uk-fade 0.5s ease-in-out reverse; - animation: uk-fade 0.5s ease-in-out reverse; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.gradient.css deleted file mode 100644 index 8b6d69c04..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.gradient.css +++ /dev/null @@ -1,140 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Slideshow - ========================================================================== */ -/* - * 1. Create position context - * 2. Create stacking context to prevent z-index issues with other components - * 3. Set width because child elements are positioned absolute. Height is set via JS - * 4. Reset list style - * 5. Clip child elements - * 6. Deactivate browser history navigation in IE11 - */ -.uk-slideshow { - /* 1 */ - position: relative; - /* 2 */ - z-index: 0; - /* 3 */ - width: 100%; - /* 4 */ - margin: 0; - padding: 0; - list-style: none; - /* 5 */ - overflow: hidden; - /* 6 */ - touch-action: pan-y; -} -/* - * Sub-object item - * 1. Position items above each other - * 2. Expand to parent container width - * 3. Hide by default - */ -.uk-slideshow > li { - /* 1 */ - position: absolute; - top: 0; - left: 0; - /* 2 */ - width: 100%; - /* 3 */ - opacity: 0; -} -/* - * Active - * 1. Stack at first - * 2. Show slide - */ -.uk-slideshow > .uk-active { - /* 1 */ - z-index: 10; - /* 2 */ - opacity: 1; -} -/* - * Hide default images which is only relevant to keep existing proportions - */ -.uk-slideshow > li > img { - visibility: hidden; -} -/* - * Pointer for controls - */ -[data-uk-slideshow-slide] { - cursor: pointer; -} -/* Modifier: `uk-slideshow-fullscreen` - ========================================================================== */ -.uk-slideshow-fullscreen, -.uk-slideshow-fullscreen > li { - height: 100vh; -} -/* Animations - ========================================================================== */ -/* - * Fade - */ -.uk-slideshow-fade-out { - -webkit-animation: uk-fade 0.5s linear reverse; - animation: uk-fade 0.5s linear reverse; -} -/* - * Scroll - */ -.uk-slideshow-scroll-forward-in { - -webkit-animation: uk-slide-right 0.5s ease-in-out; - animation: uk-slide-right 0.5s ease-in-out; -} -.uk-slideshow-scroll-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-scroll-backward-in { - -webkit-animation: uk-slide-left 0.5s ease-in-out; - animation: uk-slide-left 0.5s ease-in-out; -} -.uk-slideshow-scroll-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -/* - * Scale - */ -.uk-slideshow-scale-out { - -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; - animation: uk-fade-scale-15 0.5s ease-in-out reverse; -} -/* - * Swipe - */ -.uk-slideshow-swipe-forward-in { - -webkit-animation: uk-slide-left-33 0.5s ease-in-out; - animation: uk-slide-left-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-forward-out { - -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; - animation: uk-slide-left 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-backward-in { - -webkit-animation: uk-slide-right-33 0.5s ease-in-out; - animation: uk-slide-right-33 0.5s ease-in-out; -} -.uk-slideshow-swipe-backward-out { - -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; - animation: uk-slide-right 0.5s ease-in-out reverse; -} -.uk-slideshow-swipe-forward-in:before, -.uk-slideshow-swipe-backward-in:before { - content: ''; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 1; - background: rgba(0, 0, 0, 0.6); - -webkit-animation: uk-fade 0.5s ease-in-out reverse; - animation: uk-fade 0.5s ease-in-out reverse; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.gradient.min.css deleted file mode 100644 index e9348e0b6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.min.css deleted file mode 100644 index e9348e0b6..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/slideshow.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.almost-flat.css deleted file mode 100644 index 862682c7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.almost-flat.css +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sortable - ========================================================================== */ -.uk-sortable { - position: relative; -} -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable > * { - touch-action: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-sortable a, -.uk-sortable img { - -webkit-touch-callout: none; -} -/* - * Remove margin from the last-child - */ -.uk-sortable > :last-child { - margin-bottom: 0; -} -/* Sub-modifier `uk-sortable-dragged` - ========================================================================== */ -.uk-sortable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; -} -/* Sub-modifier `uk-sortable-placeholder` - ========================================================================== */ -.uk-sortable-placeholder { - opacity: 0; -} -/* Empty List - ========================================================================== */ -.uk-sortable:empty { - min-height: 30px; -} -/* Sub-object `uk-sortable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable-handle { - touch-action: none; -} -/* Hover */ -.uk-sortable-handle:hover { - cursor: move; -} -/* Sub-object `uk-sortable-moving` - ========================================================================== */ -.uk-sortable-moving, -.uk-sortable-moving * { - cursor: move; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.almost-flat.min.css deleted file mode 100644 index d1b6a9d28..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable:empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.css deleted file mode 100644 index 862682c7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.css +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sortable - ========================================================================== */ -.uk-sortable { - position: relative; -} -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable > * { - touch-action: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-sortable a, -.uk-sortable img { - -webkit-touch-callout: none; -} -/* - * Remove margin from the last-child - */ -.uk-sortable > :last-child { - margin-bottom: 0; -} -/* Sub-modifier `uk-sortable-dragged` - ========================================================================== */ -.uk-sortable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; -} -/* Sub-modifier `uk-sortable-placeholder` - ========================================================================== */ -.uk-sortable-placeholder { - opacity: 0; -} -/* Empty List - ========================================================================== */ -.uk-sortable:empty { - min-height: 30px; -} -/* Sub-object `uk-sortable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable-handle { - touch-action: none; -} -/* Hover */ -.uk-sortable-handle:hover { - cursor: move; -} -/* Sub-object `uk-sortable-moving` - ========================================================================== */ -.uk-sortable-moving, -.uk-sortable-moving * { - cursor: move; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.gradient.css deleted file mode 100644 index 862682c7d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.gradient.css +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sortable - ========================================================================== */ -.uk-sortable { - position: relative; -} -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable > * { - touch-action: none; -} -/* - * Disables the default callout shown when you touch and hold a touch target - * Currently only works in Webkit - */ -.uk-sortable a, -.uk-sortable img { - -webkit-touch-callout: none; -} -/* - * Remove margin from the last-child - */ -.uk-sortable > :last-child { - margin-bottom: 0; -} -/* Sub-modifier `uk-sortable-dragged` - ========================================================================== */ -.uk-sortable-dragged { - position: absolute; - z-index: 1050; - pointer-events: none; -} -/* Sub-modifier `uk-sortable-placeholder` - ========================================================================== */ -.uk-sortable-placeholder { - opacity: 0; -} -/* Empty List - ========================================================================== */ -.uk-sortable:empty { - min-height: 30px; -} -/* Sub-object `uk-sortable-handle` - ========================================================================== */ -/* - * Deactivate browser touch actions in IE11 - */ -.uk-sortable-handle { - touch-action: none; -} -/* Hover */ -.uk-sortable-handle:hover { - cursor: move; -} -/* Sub-object `uk-sortable-moving` - ========================================================================== */ -.uk-sortable-moving, -.uk-sortable-moving * { - cursor: move; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.gradient.min.css deleted file mode 100644 index d1b6a9d28..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable:empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.min.css deleted file mode 100644 index d1b6a9d28..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sortable.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable:empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.almost-flat.css deleted file mode 100644 index a6dd3c480..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.almost-flat.css +++ /dev/null @@ -1,32 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sticky - ========================================================================== */ -/* - * 1. More robust if padding and border are used - */ -[data-uk-sticky].uk-active { - z-index: 980; - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration - */ -.uk-sticky-placeholder > * { - /* 1 */ - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} -/* - * Faster animations - */ -[data-uk-sticky][class*='uk-animation-'] { - -webkit-animation-duration: 0.15s; - animation-duration: 0.15s; -} -[data-uk-sticky].uk-animation-reverse { - -webkit-animation-duration: 0.04s; - animation-duration: 0.04s; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.almost-flat.min.css deleted file mode 100644 index 01857ab39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -[data-uk-sticky].uk-active{z-index:980;-moz-box-sizing:border-box;box-sizing:border-box}.uk-sticky-placeholder>*{-webkit-backface-visibility:hidden;backface-visibility:hidden}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.15s;animation-duration:.15s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.04s;animation-duration:.04s} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.css deleted file mode 100644 index a6dd3c480..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.css +++ /dev/null @@ -1,32 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sticky - ========================================================================== */ -/* - * 1. More robust if padding and border are used - */ -[data-uk-sticky].uk-active { - z-index: 980; - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration - */ -.uk-sticky-placeholder > * { - /* 1 */ - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} -/* - * Faster animations - */ -[data-uk-sticky][class*='uk-animation-'] { - -webkit-animation-duration: 0.15s; - animation-duration: 0.15s; -} -[data-uk-sticky].uk-animation-reverse { - -webkit-animation-duration: 0.04s; - animation-duration: 0.04s; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.gradient.css deleted file mode 100644 index a6dd3c480..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.gradient.css +++ /dev/null @@ -1,32 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Sticky - ========================================================================== */ -/* - * 1. More robust if padding and border are used - */ -[data-uk-sticky].uk-active { - z-index: 980; - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * 1. Resolve frame-rate issues on devices with lower frame-rates. Forces hardware acceleration - */ -.uk-sticky-placeholder > * { - /* 1 */ - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} -/* - * Faster animations - */ -[data-uk-sticky][class*='uk-animation-'] { - -webkit-animation-duration: 0.15s; - animation-duration: 0.15s; -} -[data-uk-sticky].uk-animation-reverse { - -webkit-animation-duration: 0.04s; - animation-duration: 0.04s; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.gradient.min.css deleted file mode 100644 index 01857ab39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -[data-uk-sticky].uk-active{z-index:980;-moz-box-sizing:border-box;box-sizing:border-box}.uk-sticky-placeholder>*{-webkit-backface-visibility:hidden;backface-visibility:hidden}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.15s;animation-duration:.15s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.04s;animation-duration:.04s} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.min.css deleted file mode 100644 index 01857ab39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/sticky.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -[data-uk-sticky].uk-active{z-index:980;-moz-box-sizing:border-box;box-sizing:border-box}.uk-sticky-placeholder>*{-webkit-backface-visibility:hidden;backface-visibility:hidden}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.15s;animation-duration:.15s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.04s;animation-duration:.04s} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.almost-flat.css deleted file mode 100644 index 27d920089..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.almost-flat.css +++ /dev/null @@ -1,120 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Tooltip - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set fixed position - * 3. Set dimensions - * 4. Set style - */ -.uk-tooltip { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - z-index: 1030; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 200px; - padding: 5px 8px; - /* 4 */ - background: #333333; - color: rgba(255, 255, 255, 0.7); - font-size: 12px; - line-height: 18px; - text-align: center; - border-radius: 3px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* Triangle - ========================================================================== */ -/* - * 1. Dashed is less antialised than solid - */ -.uk-tooltip:after { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - /* 1 */ - border: 5px dashed #333333; -} -/* Direction modifiers - ========================================================================== */ -/* - * Top - */ -.uk-tooltip-top:after, -.uk-tooltip-top-left:after, -.uk-tooltip-top-right:after { - bottom: -5px; - border-top-style: solid; - border-bottom: none; - border-left-color: transparent; - border-right-color: transparent; - border-top-color: #333333; -} -/* - * Bottom - */ -.uk-tooltip-bottom:after, -.uk-tooltip-bottom-left:after, -.uk-tooltip-bottom-right:after { - top: -5px; - border-bottom-style: solid; - border-top: none; - border-left-color: transparent; - border-right-color: transparent; - border-bottom-color: #333333; -} -/* - * Top/Bottom center - */ -.uk-tooltip-top:after, -.uk-tooltip-bottom:after { - left: 50%; - margin-left: -5px; -} -/* - * Top/Bottom left - */ -.uk-tooltip-top-left:after, -.uk-tooltip-bottom-left:after { - left: 10px; -} -/* - * Top/Bottom right - */ -.uk-tooltip-top-right:after, -.uk-tooltip-bottom-right:after { - right: 10px; -} -/* - * Left - */ -.uk-tooltip-left:after { - right: -5px; - top: 50%; - margin-top: -5px; - border-left-style: solid; - border-right: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: #333333; -} -/* - * Right - */ -.uk-tooltip-right:after { - left: -5px; - top: 50%; - margin-top: -5px; - border-right-style: solid; - border-left: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: #333333; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.almost-flat.min.css deleted file mode 100644 index 1660ddc8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-tooltip{display:none;position:absolute;z-index:1030;-moz-box-sizing:border-box;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;text-align:center;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.css deleted file mode 100644 index 7ec0df084..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.css +++ /dev/null @@ -1,118 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Tooltip - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set fixed position - * 3. Set dimensions - * 4. Set style - */ -.uk-tooltip { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - z-index: 1030; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 200px; - padding: 5px 8px; - /* 4 */ - background: #333333; - color: rgba(255, 255, 255, 0.7); - font-size: 12px; - line-height: 18px; - text-align: center; -} -/* Triangle - ========================================================================== */ -/* - * 1. Dashed is less antialised than solid - */ -.uk-tooltip:after { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - /* 1 */ - border: 5px dashed #333333; -} -/* Direction modifiers - ========================================================================== */ -/* - * Top - */ -.uk-tooltip-top:after, -.uk-tooltip-top-left:after, -.uk-tooltip-top-right:after { - bottom: -5px; - border-top-style: solid; - border-bottom: none; - border-left-color: transparent; - border-right-color: transparent; - border-top-color: #333333; -} -/* - * Bottom - */ -.uk-tooltip-bottom:after, -.uk-tooltip-bottom-left:after, -.uk-tooltip-bottom-right:after { - top: -5px; - border-bottom-style: solid; - border-top: none; - border-left-color: transparent; - border-right-color: transparent; - border-bottom-color: #333333; -} -/* - * Top/Bottom center - */ -.uk-tooltip-top:after, -.uk-tooltip-bottom:after { - left: 50%; - margin-left: -5px; -} -/* - * Top/Bottom left - */ -.uk-tooltip-top-left:after, -.uk-tooltip-bottom-left:after { - left: 10px; -} -/* - * Top/Bottom right - */ -.uk-tooltip-top-right:after, -.uk-tooltip-bottom-right:after { - right: 10px; -} -/* - * Left - */ -.uk-tooltip-left:after { - right: -5px; - top: 50%; - margin-top: -5px; - border-left-style: solid; - border-right: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: #333333; -} -/* - * Right - */ -.uk-tooltip-right:after { - left: -5px; - top: 50%; - margin-top: -5px; - border-right-style: solid; - border-left: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: #333333; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.gradient.css deleted file mode 100644 index 27d920089..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.gradient.css +++ /dev/null @@ -1,120 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Tooltip - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set fixed position - * 3. Set dimensions - * 4. Set style - */ -.uk-tooltip { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - z-index: 1030; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 200px; - padding: 5px 8px; - /* 4 */ - background: #333333; - color: rgba(255, 255, 255, 0.7); - font-size: 12px; - line-height: 18px; - text-align: center; - border-radius: 3px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* Triangle - ========================================================================== */ -/* - * 1. Dashed is less antialised than solid - */ -.uk-tooltip:after { - content: ""; - display: block; - position: absolute; - width: 0; - height: 0; - /* 1 */ - border: 5px dashed #333333; -} -/* Direction modifiers - ========================================================================== */ -/* - * Top - */ -.uk-tooltip-top:after, -.uk-tooltip-top-left:after, -.uk-tooltip-top-right:after { - bottom: -5px; - border-top-style: solid; - border-bottom: none; - border-left-color: transparent; - border-right-color: transparent; - border-top-color: #333333; -} -/* - * Bottom - */ -.uk-tooltip-bottom:after, -.uk-tooltip-bottom-left:after, -.uk-tooltip-bottom-right:after { - top: -5px; - border-bottom-style: solid; - border-top: none; - border-left-color: transparent; - border-right-color: transparent; - border-bottom-color: #333333; -} -/* - * Top/Bottom center - */ -.uk-tooltip-top:after, -.uk-tooltip-bottom:after { - left: 50%; - margin-left: -5px; -} -/* - * Top/Bottom left - */ -.uk-tooltip-top-left:after, -.uk-tooltip-bottom-left:after { - left: 10px; -} -/* - * Top/Bottom right - */ -.uk-tooltip-top-right:after, -.uk-tooltip-bottom-right:after { - right: 10px; -} -/* - * Left - */ -.uk-tooltip-left:after { - right: -5px; - top: 50%; - margin-top: -5px; - border-left-style: solid; - border-right: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: #333333; -} -/* - * Right - */ -.uk-tooltip-right:after { - left: -5px; - top: 50%; - margin-top: -5px; - border-right-style: solid; - border-left: none; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: #333333; -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.gradient.min.css deleted file mode 100644 index 1660ddc8a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-tooltip{display:none;position:absolute;z-index:1030;-moz-box-sizing:border-box;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;text-align:center;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.min.css deleted file mode 100644 index 07e31dc9e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/tooltip.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-tooltip{display:none;position:absolute;z-index:1030;-moz-box-sizing:border-box;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;text-align:center}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.almost-flat.css deleted file mode 100644 index ab07f2b15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.almost-flat.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Upload - ========================================================================== */ -/* - * Create a box-shadow when dragging a file over the upload area - */ -.uk-dragover { - box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.almost-flat.min.css deleted file mode 100644 index f1d2c795e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.css deleted file mode 100644 index ab07f2b15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Upload - ========================================================================== */ -/* - * Create a box-shadow when dragging a file over the upload area - */ -.uk-dragover { - box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.gradient.css deleted file mode 100644 index ab07f2b15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.gradient.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Upload - ========================================================================== */ -/* - * Create a box-shadow when dragging a file over the upload area - */ -.uk-dragover { - box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.gradient.min.css deleted file mode 100644 index f1d2c795e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.min.css deleted file mode 100644 index f1d2c795e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/components/upload.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -.uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.almost-flat.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.almost-flat.css deleted file mode 100644 index 5dd95df4a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.almost-flat.css +++ /dev/null @@ -1,8355 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Base - ========================================================================== */ -/* - * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * 3. Style - */ -html { - /* 1 */ - font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; - /* 2 */ - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - /* 3 */ - background: #ffffff; - color: #444444; -} -/* - * Removes default margin. - */ -body { - margin: 0; -} -/* Links - ========================================================================== */ -/* - * Remove the gray background color from active links in IE 10. - */ -a { - background: transparent; -} -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; -} -/* - * Style - */ -a, -.uk-link { - color: #0077dd; - text-decoration: none; - cursor: pointer; -} -a:hover, -.uk-link:hover { - color: #005599; - text-decoration: underline; -} -/* Text-level semantics - ========================================================================== */ -/* - * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10. - */ -abbr[title] { - border-bottom: 1px dotted; -} -/* - * Addresses style set to `bolder` in Firefox - */ -b, -strong { - font-weight: bold; -} -/* - * 1. Address odd `em`-unit font size rendering in all browsers. - * 2. Consolas has a better baseline in running text compared to `Courier` - */ -:not(pre) > code, -:not(pre) > kbd, -:not(pre) > samp { - /* 1 */ - font-size: 12px; - /* 2 */ - font-family: Consolas, monospace, serif; - /* 3 */ - color: #dd0055; - white-space: nowrap; - padding: 0 4px; - border: 1px solid #dddddd; - border-radius: 3px; - background: #fafafa; -} -/* - * Emphasize - */ -em { - color: #dd0055; -} -/* - * Insert - */ -ins { - background: #ffffaa; - color: #444444; - text-decoration: none; -} -/* - * Mark - * Note: Addresses styling not present in IE 8/9. - */ -mark { - background: #ffffaa; - color: #444444; -} -/* - * Quote - */ -q { - font-style: italic; -} -/* - * Addresses inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; -} -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -/* Images - ========================================================================== */ -/* - * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * 2. Corrects `max-width` behavior if padding and border are used - * 3. Remove border when inside `a` element in IE 8/9/10. - * 4. Remove the gap between images and the bottom of their containers - */ -img { - /* 1 */ - max-width: 100%; - height: auto; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - border: 0; - /* 4 */ - vertical-align: middle; -} -/* - * Preserve original image dimensions - */ -.uk-img-preserve, -.uk-img-preserve img { - max-width: none; -} -/* - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; -} -/* Block elements - ========================================================================== */ -/* - * Reset margin - */ -blockquote, -figure { - margin: 0; -} -/* - * Margins - */ -p, -ul, -ol, -dl, -blockquote, -pre, -address, -fieldset, -figure { - margin: 0 0 15px 0; -} -* + p, -* + ul, -* + ol, -* + dl, -* + blockquote, -* + pre, -* + address, -* + fieldset, -* + figure { - margin-top: 15px; -} -/* Headings - ========================================================================== */ -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0 0 15px 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - color: #444444; - text-transform: none; -} -/* - * Margins - */ -* + h1, -* + h2, -* + h3, -* + h4, -* + h5, -* + h6 { - margin-top: 25px; -} -/* - * Sizes - */ -h1, -.uk-h1 { - font-size: 36px; - line-height: 42px; -} -h2, -.uk-h2 { - font-size: 24px; - line-height: 30px; -} -h3, -.uk-h3 { - font-size: 18px; - line-height: 24px; -} -h4, -.uk-h4 { - font-size: 16px; - line-height: 22px; -} -h5, -.uk-h5 { - font-size: 14px; - line-height: 20px; -} -h6, -.uk-h6 { - font-size: 12px; - line-height: 18px; -} -/* Lists - ========================================================================== */ -ul, -ol { - padding-left: 30px; -} -/* - * Reset margin for nested lists - */ -ul > li > ul, -ul > li > ol, -ol > li > ol, -ol > li > ul { - margin: 0; -} -/* Description lists - ========================================================================== */ -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -/* Horizontal rules - ========================================================================== */ -/* - * 1. Address differences between Firefox and other browsers. - * 2. Style - */ -hr { - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; - /* 2 */ - margin: 15px 0; - border: 0; - border-top: 1px solid #dddddd; -} -/* Address - ========================================================================== */ -address { - font-style: normal; -} -/* Blockquotes - ========================================================================== */ -blockquote { - padding-left: 15px; - border-left: 5px solid #dddddd; - font-size: 16px; - line-height: 22px; - font-style: italic; -} -/* Preformatted text - ========================================================================== */ -/* - * 1. Contain overflow in all browsers. - */ -pre { - padding: 10px; - background: #fafafa; - font: 12px / 18px Consolas, monospace, serif; - color: #444444; - -moz-tab-size: 4; - tab-size: 4; - /* 1 */ - overflow: auto; - border: 1px solid #dddddd; - border-radius: 3px; -} -/* Selection pseudo-element - ========================================================================== */ -::-moz-selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -::selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -/* HTML5 elements - ========================================================================== */ -/* - * Corrects `block` display not defined in IE 8/9. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -main, -nav, -section, -summary { - display: block; -} -/* - * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera. - */ -progress { - vertical-align: baseline; -} -/* - * Prevent displaying `audio` without controls in Chrome, Safari and Opera - */ -audio:not([controls]) { - display: none; -} -/* - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE and Safari - */ -[hidden], -template { - display: none; -} -/* Iframe - ========================================================================== */ -iframe { - border: 0; -} -/* Fix viewport for IE10 snap mode - ========================================================================== */ -@media screen and (max-width: 400px) { - @-ms-viewport { - width: device-width; - } -} -/* ======================================================================== - Component: Grid - ========================================================================== */ -/* - * 1. Makes grid more robust so that it can be used with other block elements like lists - */ -.uk-grid { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * DEPRECATED - * Micro clearfix - * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit - */ -.uk-grid:before, -.uk-grid:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-grid:after { - clear: both; -} -/* - * Grid cell - * 1. Space is allocated solely based on content dimensions - * 2. Makes grid more robust so that it can be used with other block elements - * 3. DEPRECATED Using `float` to support IE9 - */ -.uk-grid > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - margin: 0; - /* 3 */ - float: left; -} -/* - * Remove margin from the last-child - */ -.uk-grid > * > :last-child { - margin-bottom: 0; -} -/* Grid gutter - ========================================================================== */ -/* - * Default gutter - */ -/* Horizontal */ -.uk-grid { - margin-left: -25px; -} -.uk-grid > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid + .uk-grid, -.uk-grid-margin, -.uk-grid > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* Horizontal */ - .uk-grid { - margin-left: -35px; - } - .uk-grid > * { - padding-left: 35px; - } - /* Vertical */ - .uk-grid + .uk-grid, - .uk-grid-margin, - .uk-grid > * > .uk-panel + .uk-panel { - margin-top: 35px; - } -} -/* - * Collapse gutter - */ -/* Horizontal */ -.uk-grid-collapse { - margin-left: 0; -} -.uk-grid-collapse > * { - padding-left: 0; -} -/* Vertical */ -.uk-grid-collapse + .uk-grid-collapse, -.uk-grid-collapse > .uk-grid-margin, -.uk-grid-collapse > * > .uk-panel + .uk-panel { - margin-top: 0; -} -/* - * Small gutter - */ -/* Horizontal */ -.uk-grid-small { - margin-left: -10px; -} -.uk-grid-small > * { - padding-left: 10px; -} -/* Vertical */ -.uk-grid-small + .uk-grid-small, -.uk-grid-small > .uk-grid-margin, -.uk-grid-small > * > .uk-panel + .uk-panel { - margin-top: 10px; -} -/* - * Medium gutter - */ -/* Horizontal */ -.uk-grid-medium { - margin-left: -25px; -} -.uk-grid-medium > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid-medium + .uk-grid-medium, -.uk-grid-medium > .uk-grid-margin, -.uk-grid-medium > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Modifier: `uk-grid-divider` - ========================================================================== */ -/* - * Horizontal divider - * Only works with the default gutter. Does not work with gutter collapse, small or large. - * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. - */ -.uk-grid-divider:not(:empty) { - margin-left: -25px; - margin-right: -25px; -} -.uk-grid-divider > * { - padding-left: 25px; - padding-right: 25px; -} -.uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), -.uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { - border-left: 1px solid #dddddd; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* - * Large gutter - */ - .uk-grid-divider:not(:empty) { - margin-left: -35px; - margin-right: -35px; - } - .uk-grid-divider > * { - padding-left: 35px; - padding-right: 35px; - } - .uk-grid-divider:empty { - margin-top: 35px; - margin-bottom: 35px; - } -} -/* - * Vertical divider - */ -.uk-grid-divider:empty { - margin-top: 25px; - margin-bottom: 25px; - border-top: 1px solid #dddddd; -} -/* Match panels in grids - ========================================================================== */ -.uk-grid-match > * { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -/* - * 1. Behave like a block element - */ -.uk-grid-match > * > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* Even grid cell widths - ========================================================================== */ -[class*='uk-grid-width'] > * { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -.uk-grid-width-1-2 > * { - width: 50%; -} -.uk-grid-width-1-3 > * { - width: 33.333%; -} -.uk-grid-width-1-4 > * { - width: 25%; -} -.uk-grid-width-1-5 > * { - width: 20%; -} -.uk-grid-width-1-6 > * { - width: 16.666%; -} -.uk-grid-width-1-10 > * { - width: 10%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-grid-width-small-1-2 > * { - width: 50%; - } - .uk-grid-width-small-1-3 > * { - width: 33.333%; - } - .uk-grid-width-small-1-4 > * { - width: 25%; - } - .uk-grid-width-small-1-5 > * { - width: 20%; - } - .uk-grid-width-small-1-6 > * { - width: 16.666%; - } - .uk-grid-width-small-1-10 > * { - width: 10%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-width-medium-1-2 > * { - width: 50%; - } - .uk-grid-width-medium-1-3 > * { - width: 33.333%; - } - .uk-grid-width-medium-1-4 > * { - width: 25%; - } - .uk-grid-width-medium-1-5 > * { - width: 20%; - } - .uk-grid-width-medium-1-6 > * { - width: 16.666%; - } - .uk-grid-width-medium-1-10 > * { - width: 10%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-width-large-1-2 > * { - width: 50%; - } - .uk-grid-width-large-1-3 > * { - width: 33.333%; - } - .uk-grid-width-large-1-4 > * { - width: 25%; - } - .uk-grid-width-large-1-5 > * { - width: 20%; - } - .uk-grid-width-large-1-6 > * { - width: 16.666%; - } - .uk-grid-width-large-1-10 > * { - width: 10%; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-grid-width-xlarge-1-2 > * { - width: 50%; - } - .uk-grid-width-xlarge-1-3 > * { - width: 33.333%; - } - .uk-grid-width-xlarge-1-4 > * { - width: 25%; - } - .uk-grid-width-xlarge-1-5 > * { - width: 20%; - } - .uk-grid-width-xlarge-1-6 > * { - width: 16.666%; - } - .uk-grid-width-xlarge-1-10 > * { - width: 10%; - } -} -/* Sub-objects: `uk-width-*` - ========================================================================== */ -[class*='uk-width'] { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* - * Widths - */ -/* Whole */ -.uk-width-1-1 { - width: 100%; -} -/* Halves */ -.uk-width-1-2, -.uk-width-2-4, -.uk-width-3-6, -.uk-width-5-10 { - width: 50%; -} -/* Thirds */ -.uk-width-1-3, -.uk-width-2-6 { - width: 33.333%; -} -.uk-width-2-3, -.uk-width-4-6 { - width: 66.666%; -} -/* Quarters */ -.uk-width-1-4 { - width: 25%; -} -.uk-width-3-4 { - width: 75%; -} -/* Fifths */ -.uk-width-1-5, -.uk-width-2-10 { - width: 20%; -} -.uk-width-2-5, -.uk-width-4-10 { - width: 40%; -} -.uk-width-3-5, -.uk-width-6-10 { - width: 60%; -} -.uk-width-4-5, -.uk-width-8-10 { - width: 80%; -} -/* Sixths */ -.uk-width-1-6 { - width: 16.666%; -} -.uk-width-5-6 { - width: 83.333%; -} -/* Tenths */ -.uk-width-1-10 { - width: 10%; -} -.uk-width-3-10 { - width: 30%; -} -.uk-width-7-10 { - width: 70%; -} -.uk-width-9-10 { - width: 90%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - /* Whole */ - .uk-width-small-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-small-1-2, - .uk-width-small-2-4, - .uk-width-small-3-6, - .uk-width-small-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-small-1-3, - .uk-width-small-2-6 { - width: 33.333%; - } - .uk-width-small-2-3, - .uk-width-small-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-small-1-4 { - width: 25%; - } - .uk-width-small-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-small-1-5, - .uk-width-small-2-10 { - width: 20%; - } - .uk-width-small-2-5, - .uk-width-small-4-10 { - width: 40%; - } - .uk-width-small-3-5, - .uk-width-small-6-10 { - width: 60%; - } - .uk-width-small-4-5, - .uk-width-small-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-small-1-6 { - width: 16.666%; - } - .uk-width-small-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-small-1-10 { - width: 10%; - } - .uk-width-small-3-10 { - width: 30%; - } - .uk-width-small-7-10 { - width: 70%; - } - .uk-width-small-9-10 { - width: 90%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* Whole */ - .uk-width-medium-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-medium-1-2, - .uk-width-medium-2-4, - .uk-width-medium-3-6, - .uk-width-medium-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-medium-1-3, - .uk-width-medium-2-6 { - width: 33.333%; - } - .uk-width-medium-2-3, - .uk-width-medium-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-medium-1-4 { - width: 25%; - } - .uk-width-medium-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-medium-1-5, - .uk-width-medium-2-10 { - width: 20%; - } - .uk-width-medium-2-5, - .uk-width-medium-4-10 { - width: 40%; - } - .uk-width-medium-3-5, - .uk-width-medium-6-10 { - width: 60%; - } - .uk-width-medium-4-5, - .uk-width-medium-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-medium-1-6 { - width: 16.666%; - } - .uk-width-medium-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-medium-1-10 { - width: 10%; - } - .uk-width-medium-3-10 { - width: 30%; - } - .uk-width-medium-7-10 { - width: 70%; - } - .uk-width-medium-9-10 { - width: 90%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - /* Whole */ - .uk-width-large-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-large-1-2, - .uk-width-large-2-4, - .uk-width-large-3-6, - .uk-width-large-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-large-1-3, - .uk-width-large-2-6 { - width: 33.333%; - } - .uk-width-large-2-3, - .uk-width-large-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-large-1-4 { - width: 25%; - } - .uk-width-large-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-large-1-5, - .uk-width-large-2-10 { - width: 20%; - } - .uk-width-large-2-5, - .uk-width-large-4-10 { - width: 40%; - } - .uk-width-large-3-5, - .uk-width-large-6-10 { - width: 60%; - } - .uk-width-large-4-5, - .uk-width-large-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-large-1-6 { - width: 16.666%; - } - .uk-width-large-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-large-1-10 { - width: 10%; - } - .uk-width-large-3-10 { - width: 30%; - } - .uk-width-large-7-10 { - width: 70%; - } - .uk-width-large-9-10 { - width: 90%; - } -} -/* Sub-object: `uk-push-*` and `uk-pull-*` - ========================================================================== */ -/* - * Source ordering - * Works only with `uk-width-medium-*` - */ -/* Tablet and bigger */ -@media (min-width: 768px) { - [class*='uk-push-'], - [class*='uk-pull-'] { - position: relative; - } - /* - * Push - */ - /* Halves */ - .uk-push-1-2, - .uk-push-2-4, - .uk-push-3-6, - .uk-push-5-10 { - left: 50%; - } - /* Thirds */ - .uk-push-1-3, - .uk-push-2-6 { - left: 33.333%; - } - .uk-push-2-3, - .uk-push-4-6 { - left: 66.666%; - } - /* Quarters */ - .uk-push-1-4 { - left: 25%; - } - .uk-push-3-4 { - left: 75%; - } - /* Fifths */ - .uk-push-1-5, - .uk-push-2-10 { - left: 20%; - } - .uk-push-2-5, - .uk-push-4-10 { - left: 40%; - } - .uk-push-3-5, - .uk-push-6-10 { - left: 60%; - } - .uk-push-4-5, - .uk-push-8-10 { - left: 80%; - } - /* Sixths */ - .uk-push-1-6 { - left: 16.666%; - } - .uk-push-5-6 { - left: 83.333%; - } - /* Tenths */ - .uk-push-1-10 { - left: 10%; - } - .uk-push-3-10 { - left: 30%; - } - .uk-push-7-10 { - left: 70%; - } - .uk-push-9-10 { - left: 90%; - } - /* - * Pull - */ - /* Halves */ - .uk-pull-1-2, - .uk-pull-2-4, - .uk-pull-3-6, - .uk-pull-5-10 { - left: -50%; - } - /* Thirds */ - .uk-pull-1-3, - .uk-pull-2-6 { - left: -33.333%; - } - .uk-pull-2-3, - .uk-pull-4-6 { - left: -66.666%; - } - /* Quarters */ - .uk-pull-1-4 { - left: -25%; - } - .uk-pull-3-4 { - left: -75%; - } - /* Fifths */ - .uk-pull-1-5, - .uk-pull-2-10 { - left: -20%; - } - .uk-pull-2-5, - .uk-pull-4-10 { - left: -40%; - } - .uk-pull-3-5, - .uk-pull-6-10 { - left: -60%; - } - .uk-pull-4-5, - .uk-pull-8-10 { - left: -80%; - } - /* Sixths */ - .uk-pull-1-6 { - left: -16.666%; - } - .uk-pull-5-6 { - left: -83.333%; - } - /* Tenths */ - .uk-pull-1-10 { - left: -10%; - } - .uk-pull-3-10 { - left: -30%; - } - .uk-pull-7-10 { - left: -70%; - } - .uk-pull-9-10 { - left: -90%; - } -} -/* ======================================================================== - Component: Panel - ========================================================================== */ -/* - * 1. Needed for `a` elements - * 2. Create position context for badges - */ -.uk-panel { - /* 1 */ - display: block; - /* 2 */ - position: relative; -} -/* - * Allow panels to be anchors - */ -.uk-panel, -.uk-panel:hover { - text-decoration: none; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-panel:before, -.uk-panel:after { - content: ""; - display: table; -} -.uk-panel:after { - clear: both; -} -/* - * Remove margin from the last-child if not `uk-widget-title` - */ -.uk-panel > :not(.uk-panel-title):last-child { - margin-bottom: 0; -} -/* Sub-object: `uk-panel-title` - ========================================================================== */ -.uk-panel-title { - margin-top: 0; - margin-bottom: 15px; - font-size: 18px; - line-height: 24px; - font-weight: normal; - text-transform: none; - color: #444444; -} -/* Sub-object: `uk-panel-badge` - ========================================================================== */ -.uk-panel-badge { - position: absolute; - top: 0; - right: 0; - z-index: 1; -} -/* Sub-object: `uk-panel-teaser` - ========================================================================== */ -.uk-panel-teaser { - margin-bottom: 15px; -} -/* Modifier: `uk-panel-box` - ========================================================================== */ -.uk-panel-box { - padding: 15px; - background: #fafafa; - color: #444444; - border: 1px solid #dddddd; - border-radius: 4px; -} -.uk-panel-box-hover:hover { - color: #444444; -} -.uk-panel-box .uk-panel-title { - color: #444444; -} -.uk-panel-box .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-box .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* - * Nav in panel - */ -.uk-panel-box > .uk-nav-side { - margin: 0 -15px; -} -/* - * Sub-modifier: `uk-panel-box-primary` - */ -.uk-panel-box-primary { - background-color: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -.uk-panel-box-primary-hover:hover { - color: #2d7091; -} -.uk-panel-box-primary .uk-panel-title { - color: #2d7091; -} -/* - * Sub-modifier: `uk-panel-box-secondary` - */ -.uk-panel-box-secondary { - background-color: #ffffff; - color: #444444; -} -.uk-panel-box-secondary-hover:hover { - color: #444444; -} -.uk-panel-box-secondary .uk-panel-title { - color: #444444; -} -/* Modifier: `uk-panel-hover` - ========================================================================== */ -.uk-panel-hover { - padding: 15px; - color: #444444; - border: 1px solid transparent; - border-radius: 4px; -} -.uk-panel-hover:hover { - background: #fafafa; - color: #444444; - border-color: #dddddd; -} -.uk-panel-hover .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-hover .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* Modifier: `uk-panel-header` - ========================================================================== */ -.uk-panel-header .uk-panel-title { - padding-bottom: 10px; - border-bottom: 1px solid #dddddd; - color: #444444; -} -/* Modifier: `uk-panel-space` - ========================================================================== */ -.uk-panel-space { - padding: 30px; -} -.uk-panel-space .uk-panel-badge { - top: 30px; - right: 30px; -} -/* Modifier: `uk-panel-divider` - ========================================================================== */ -.uk-panel + .uk-panel-divider { - margin-top: 50px !important; -} -.uk-panel + .uk-panel-divider:before { - content: ""; - display: block; - position: absolute; - top: -25px; - left: 0; - right: 0; - border-top: 1px solid #dddddd; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-panel + .uk-panel-divider { - margin-top: 70px !important; - } - .uk-panel + .uk-panel-divider:before { - top: -35px; - } -} -.uk-panel-box .uk-panel-teaser { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - overflow: hidden; - -webkit-transform: translateZ(0); -} -/* ======================================================================== - Component: Block - ========================================================================== */ -.uk-block { - position: relative; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-top: 20px; - padding-bottom: 20px; -} -/* Phone landscape and bigger */ -@media (min-width: 768px) { - .uk-block { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* - * Micro clearfix to make blocks more robust - */ -.uk-block:before, -.uk-block:after { - content: ""; - display: table; -} -.uk-block:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-block > :last-child { - margin-bottom: 0; -} -/* Padding Modifier - ========================================================================== */ -/* - * Large padding - */ -.uk-block-large { - padding-top: 20px; - padding-bottom: 20px; -} -/* Tablets and bigger */ -@media (min-width: 768px) { - .uk-block-large { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-block-large { - padding-top: 100px; - padding-bottom: 100px; - } -} -/* Color Modifier - ========================================================================== */ -/* - * Default - */ -.uk-block-default { - background: #ffffff; -} -/* - * Muted - */ -.uk-block-muted { - background: #f9f9f9; -} -/* - * Primary - */ -.uk-block-primary { - background: #00a8e6; -} -/* - * Secondary - */ -.uk-block-secondary { - background: #222222; -} -/* - * Adjust padding between equal colored blocks - */ -.uk-block-default + .uk-block-default, -.uk-block-muted + .uk-block-muted, -.uk-block-primary + .uk-block-primary, -.uk-block-secondary + .uk-block-secondary { - padding-top: 0; -} -/* ======================================================================== - Component: Article - ========================================================================== */ -/* - * Micro clearfix to make articles more robust - */ -.uk-article:before, -.uk-article:after { - content: ""; - display: table; -} -.uk-article:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-article > :last-child { - margin-bottom: 0; -} -/* - * Vertical gutter for articles - */ -.uk-article + .uk-article { - margin-top: 25px; -} -/* Sub-object `uk-article-title` - ========================================================================== */ -.uk-article-title { - font-size: 36px; - line-height: 42px; - font-weight: normal; - text-transform: none; -} -.uk-article-title a { - color: inherit; - text-decoration: none; -} -/* Sub-object `uk-article-meta` - ========================================================================== */ -.uk-article-meta { - font-size: 12px; - line-height: 18px; - color: #999999; -} -/* Sub-object `uk-article-lead` - ========================================================================== */ -.uk-article-lead { - color: #444444; - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Sub-object `uk-article-divider` - ========================================================================== */ -.uk-article-divider { - margin-bottom: 25px; - border-color: #dddddd; -} -* + .uk-article-divider { - margin-top: 25px; -} -.uk-article + .uk-article { - padding-top: 25px; - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Comment - ========================================================================== */ -/* Sub-object `uk-comment-header` - ========================================================================== */ -.uk-comment-header { - margin-bottom: 15px; - padding: 10px; - border: 1px solid #dddddd; - border-radius: 4px; - background: #fafafa; -} -/* - * Micro clearfix - */ -.uk-comment-header:before, -.uk-comment-header:after { - content: ""; - display: table; -} -.uk-comment-header:after { - clear: both; -} -/* Sub-object `uk-comment-avatar` - ========================================================================== */ -.uk-comment-avatar { - margin-right: 15px; - float: left; -} -/* Sub-object `uk-comment-title` - ========================================================================== */ -.uk-comment-title { - margin: 5px 0 0 0; - font-size: 16px; - line-height: 22px; -} -/* Sub-object `uk-comment-meta` - ========================================================================== */ -.uk-comment-meta { - margin: 2px 0 0 0; - font-size: 11px; - line-height: 16px; - color: #999999; -} -/* Sub-object `uk-comment-body` - ========================================================================== */ -.uk-comment-body { - padding-left: 10px; - padding-right: 10px; -} -/* - * Remove margin from the last-child - */ -.uk-comment-body > :last-child { - margin-bottom: 0; -} -/* Sub-object `uk-comment-list` - ========================================================================== */ -.uk-comment-list { - padding: 0; - list-style: none; -} -.uk-comment-list .uk-comment + ul { - margin: 25px 0 0 0; - list-style: none; -} -.uk-comment-list > li:nth-child(n+2), -.uk-comment-list .uk-comment + ul > li:nth-child(n+2) { - margin-top: 25px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-comment-list .uk-comment + ul { - padding-left: 100px; - } -} -/* Modifier `uk-comment-primary` - ========================================================================== */ -.uk-comment-primary .uk-comment-header { - border-color: rgba(45, 112, 145, 0.3); - background-color: #ebf7fd; - color: #2d7091; - text-shadow: 0 1px 0 #ffffff; -} -/* ======================================================================== - Component: Cover - ========================================================================== */ -/* - * Background image always covers and centers its element - */ -.uk-cover-background { - background-position: 50% 50%; - background-size: cover; - background-repeat: no-repeat; -} -/* - * Emulates image cover, works with video and image elements - * 1. Parent container which clips resized object - * 2. Resizes the object to always covers its container - * 3. Reset the responsive image CSS - * 4. Center object - */ -/* 1 */ -.uk-cover { - overflow: hidden; -} -.uk-cover-object { - /* 2 */ - width: auto; - height: auto; - min-width: 100%; - min-height: 100%; - /* 3 */ - max-width: none; - /* 4 */ - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* - * To center iframes use `data-uk-cover` JavaScript - */ -[data-uk-cover] { - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* ======================================================================== - Component: Nav - ========================================================================== */ -.uk-nav, -.uk-nav ul { - margin: 0; - padding: 0; - list-style: none; -} -/* - * Items - */ -.uk-nav li > a { - display: block; - text-decoration: none; -} -.uk-nav > li > a { - padding: 5px 15px; -} -/* - * Nested items - */ -.uk-nav ul { - padding-left: 15px; -} -.uk-nav ul a { - padding: 2px 0; -} -/* - * Item subtitle - */ -.uk-nav li > a > div { - font-size: 12px; - line-height: 18px; -} -/* Sub-object: `uk-nav-header` - ========================================================================== */ -.uk-nav-header { - padding: 5px 15px; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} -.uk-nav-header:not(:first-child) { - margin-top: 15px; -} -/* Sub-object: `uk-nav-divider` - ========================================================================== */ -.uk-nav-divider { - margin: 9px 15px; -} -/* Sub-object: `uk-nav-sub` - ========================================================================== */ -/* - * `ul` needed for higher specificity to override padding - */ -ul.uk-nav-sub { - padding: 5px 0 5px 15px; -} -/* Modifier: `uk-nav-parent-icon` - ========================================================================== */ -.uk-nav-parent-icon > .uk-parent > a:after { - content: "\f104"; - width: 20px; - margin-right: -10px; - float: right; - font-family: FontAwesome; - text-align: center; -} -.uk-nav-parent-icon > .uk-parent.uk-open > a:after { - content: "\f107"; -} -/* Modifier `uk-nav-side` - ========================================================================== */ -/* - * Items - */ -.uk-nav-side > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-side > li > a:hover, -.uk-nav-side > li > a:focus { - background: rgba(0, 0, 0, 0.03); - color: #444444; - /* 2 */ - outline: none; - box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.06); - text-shadow: 0 -1px 0 #ffffff; -} -/* Active */ -.uk-nav-side > li.uk-active > a { - background: #00a8e6; - color: #ffffff; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-side .uk-nav-header { - color: #444444; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-side .uk-nav-divider { - border-top: 1px solid #dddddd; - box-shadow: 0 1px 0 #ffffff; -} -/* - * Nested items - */ -.uk-nav-side ul a { - color: #0077dd; -} -.uk-nav-side ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-dropdown` - ========================================================================== */ -/* - * Items - */ -.uk-nav-dropdown > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-dropdown > li > a:hover, -.uk-nav-dropdown > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-dropdown .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-dropdown .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-dropdown ul a { - color: #0077dd; -} -.uk-nav-dropdown ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-navbar` - ========================================================================== */ -/* - * Items - */ -.uk-nav-navbar > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-navbar > li > a:hover, -.uk-nav-navbar > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-navbar .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-navbar .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-navbar ul a { - color: #0077dd; -} -.uk-nav-navbar ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-offcanvas` - ========================================================================== */ -/* - * Items - */ -.uk-nav-offcanvas > li > a { - color: #cccccc; - padding: 10px 15px; - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Hover - * No hover on touch devices because it behaves buggy in fixed offcanvas - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-offcanvas > .uk-open > a, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { - background: #404040; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Active - * `html .uk-nav` needed for higher specificity to override hover - */ -html .uk-nav.uk-nav-offcanvas > li.uk-active > a { - background: #1a1a1a; - color: #ffffff; - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-offcanvas .uk-nav-header { - color: #777777; - margin-top: 0; - border-top: 1px solid rgba(0, 0, 0, 0.3); - background: #404040; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-offcanvas .uk-nav-divider { - border-top: 1px solid rgba(255, 255, 255, 0.01); - margin: 0; - height: 4px; - background: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Nested items - * No hover on touch devices because it behaves buggy in fixed offcanvas - */ -.uk-nav-offcanvas ul a { - color: #cccccc; -} -html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { - color: #ffffff; -} -/* - * Modifier `uk-nav-offcanvas` - */ -.uk-nav-offcanvas { - border-bottom: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* - * Sub-object: `uk-nav-sub` - */ -.uk-nav-offcanvas .uk-nav-sub { - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* ======================================================================== - Component: Navbar - ========================================================================== */ -.uk-navbar { - background: #f5f5f5; - color: #444444; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 4px; -} -/* - * Micro clearfix - */ -.uk-navbar:before, -.uk-navbar:after { - content: ""; - display: table; -} -.uk-navbar:after { - clear: both; -} -/* Sub-object: `uk-navbar-nav` - ========================================================================== */ -.uk-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -/* - * 1. Create position context for dropdowns - */ -.uk-navbar-nav > li { - float: left; - /* 1 */ - position: relative; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* Appear not as link */ -.uk-navbar-nav > li > a[href='#'] { - cursor: text; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-navbar-nav > li:hover > a, -.uk-navbar-nav > li > a:focus, -.uk-navbar-nav > li.uk-open > a { - background-color: #fafafa; - color: #444444; - /* 3 */ - outline: none; - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-navbar-nav > li > a:active { - background-color: #eeeeee; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); -} -/* Active */ -.uk-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); -} -/* Sub-objects: `uk-navbar-nav-subtitle` - ========================================================================== */ -.uk-navbar-nav .uk-navbar-nav-subtitle { - line-height: 28px; -} -.uk-navbar-nav-subtitle > div { - margin-top: -6px; - font-size: 10px; - line-height: 12px; -} -/* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` - ========================================================================== */ -/* - * Imitate navbar items - */ -.uk-navbar-content, -.uk-navbar-brand, -.uk-navbar-toggle { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - height: 41px; - padding: 0 15px; - float: left; - margin-top: -1px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Helper to center all child elements vertically - */ -.uk-navbar-content:before, -.uk-navbar-brand:before, -.uk-navbar-toggle:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* Sub-objects: `uk-navbar-content` - ========================================================================== */ -/* - * Better sibling spacing - */ -.uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { - padding-left: 0; -} -/* - * Link colors - */ -.uk-navbar-content > a:not([class]) { - color: #0077dd; -} -.uk-navbar-content > a:not([class]):hover { - color: #005599; -} -/* Sub-objects: `uk-navbar-brand` - ========================================================================== */ -.uk-navbar-brand { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-brand:hover, -.uk-navbar-brand:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* Sub-object: `uk-navbar-toggle` - ========================================================================== */ -.uk-navbar-toggle { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-toggle:hover, -.uk-navbar-toggle:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * 1. Center icon vertically - */ -.uk-navbar-toggle:after { - content: "\f0c9"; - font-family: FontAwesome; - /* 1 */ - vertical-align: middle; -} -.uk-navbar-toggle-alt:after { - content: "\f002"; -} -/* Sub-object: `uk-navbar-center` - ========================================================================== */ -/* - * The element with this class needs to be last child in the navbar - * 1. This hack is needed because other float elements shift centered text - */ -.uk-navbar-center { - float: none; - text-align: center; - /* 1 */ - max-width: 50%; - margin-left: auto; - margin-right: auto; -} -/* Sub-object: `uk-navbar-flip` - ========================================================================== */ -.uk-navbar-flip { - float: right; -} -/* - * Apply same `border-radius` as `uk-navbar` - */ -.uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-flip` - */ -/* Collapse border */ -.uk-navbar-flip .uk-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-navbar` */ -.uk-navbar-flip .uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.uk-navbar-flip .uk-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-attached` - */ -.uk-navbar-attached { - border-top-color: transparent; - border-left-color: transparent; - border-right-color: transparent; - border-radius: 0; -} -.uk-navbar-attached .uk-navbar-nav > li > a { - border-radius: 0 !important; -} -/* ======================================================================== - Component: Subnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-subnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - * 3. Create position context for dropdowns - */ -.uk-subnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; - /* 3 */ - position: relative; -} -/* - * DEPRECATED IE9 Support - */ -.uk-subnav:before, -.uk-subnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-subnav:after { - clear: both; -} -.uk-subnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-subnav > * > * { - display: inline-block; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-subnav > * > :hover, -.uk-subnav > * > :focus { - color: #0077dd; - text-decoration: none; -} -/* - * Active - */ -.uk-subnav > .uk-active > * { - color: #0077dd; -} -/* Modifier: 'subnav-line' - ========================================================================== */ -.uk-subnav-line > :before { - content: ""; - display: inline-block; - height: 10px; - vertical-align: middle; -} -.uk-subnav-line > :nth-child(n+2):before { - margin-right: 10px; - border-left: 1px solid #dddddd; -} -/* Modifier: 'subnav-pill' - ========================================================================== */ -.uk-subnav-pill > * > * { - padding: 3px 9px; - border-radius: 4px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-subnav-pill > * > :hover, -.uk-subnav-pill > * > :focus { - background: #fafafa; - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); -} -/* - * Active - * `li` needed for higher specificity to override hover - */ -.uk-subnav-pill > .uk-active > * { - background: #00a8e6; - color: #ffffff; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); -} -/* Disabled state - ========================================================================== */ -.uk-subnav > .uk-disabled > * { - background: none; - color: #999999; - text-decoration: none; - cursor: text; - box-shadow: none; -} -/* ======================================================================== - Component: Breadcrumb - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Remove whitespace between child elements when using `inline-block` - */ -.uk-breadcrumb { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - font-size: 0.001px; -} -/* Items - ========================================================================== */ -/* - * Reset whitespace hack - */ -.uk-breadcrumb > li { - font-size: 1rem; - vertical-align: top; -} -.uk-breadcrumb > li, -.uk-breadcrumb > li > a, -.uk-breadcrumb > li > span { - display: inline-block; -} -.uk-breadcrumb > li:nth-child(n+2):before { - content: "/"; - display: inline-block; - margin: 0 8px; -} -/* - * Disabled - */ -.uk-breadcrumb > li:not(.uk-active) > span { - color: #999999; -} -/* ======================================================================== - Component: Pagination - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Center pagination by default - * 3. Remove whitespace between child elements when using `inline-block` - */ -.uk-pagination { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - text-align: center; - /* 3 */ - font-size: 0.001px; -} -/* - * Micro clearfix - * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used - */ -.uk-pagination:before, -.uk-pagination:after { - content: ""; - display: table; -} -.uk-pagination:after { - clear: both; -} -/* Items - ========================================================================== */ -/* - * 1. Reset whitespace hack - * 2. Remove the gap at the bottom of it container - */ -.uk-pagination > li { - display: inline-block; - /* 1 */ - font-size: 1rem; - /* 2 */ - vertical-align: top; -} -.uk-pagination > li:nth-child(n+2) { - margin-left: 5px; -} -/* - * 1. Makes pagination more robust against different box-sizing use - * 2. Reset text-align to center if alignment modifier is used - */ -.uk-pagination > li > a, -.uk-pagination > li > span { - display: inline-block; - min-width: 16px; - padding: 3px 5px; - line-height: 20px; - text-decoration: none; - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - /* 2 */ - text-align: center; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 4px; -} -/* - * Links - */ -.uk-pagination > li > a { - background: #f5f5f5; - color: #444444; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-pagination > li > a:hover, -.uk-pagination > li > a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: rgba(0, 0, 0, 0.16); -} -/* OnClick */ -.uk-pagination > li > a:active { - background-color: #eeeeee; - color: #444444; -} -/* - * Active - */ -.uk-pagination > .uk-active > span { - background: #00a8e6; - color: #ffffff; - border-color: transparent; - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Disabled - */ -.uk-pagination > .uk-disabled > span { - background-color: #fafafa; - color: #999999; - border: 1px solid rgba(0, 0, 0, 0.06); - text-shadow: 0 1px 0 #ffffff; -} -/* Previous and next navigation - ========================================================================== */ -.uk-pagination-previous { - float: left; -} -.uk-pagination-next { - float: right; -} -/* Alignment modifiers - ========================================================================== */ -.uk-pagination-left { - text-align: left; -} -.uk-pagination-right { - text-align: right; -} -/* ======================================================================== - Component: Tab - ========================================================================== */ -.uk-tab { - margin: 0; - padding: 0; - list-style: none; - border-bottom: 1px solid #dddddd; -} -/* - * Micro clearfix on the deepest container - */ -.uk-tab:before, -.uk-tab:after { - content: ""; - display: table; -} -.uk-tab:after { - clear: both; -} -/* - * Items - * 1. Create position context for dropdowns - */ -.uk-tab > li { - margin-bottom: -1px; - float: left; - /* 1 */ - position: relative; -} -.uk-tab > li > a { - display: block; - padding: 8px 12px 8px 12px; - border: 1px solid transparent; - border-bottom-width: 0; - color: #0077dd; - text-decoration: none; - border-radius: 4px 4px 0 0; - text-shadow: 0 1px 0 #ffffff; -} -.uk-tab > li:nth-child(n+2) > a { - margin-left: 5px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-tab > li > a:hover, -.uk-tab > li > a:focus, -.uk-tab > li.uk-open > a { - border-color: rgba(0, 0, 0, 0.06); - background: #f5f5f5; - color: #005599; - /* 2 */ - outline: none; -} -.uk-tab > li:not(.uk-active) > a:hover, -.uk-tab > li:not(.uk-active) > a:focus, -.uk-tab > li.uk-open:not(.uk-active) > a { - margin-bottom: 1px; - padding-bottom: 7px; -} -/* Active */ -.uk-tab > li.uk-active > a { - border-color: #dddddd; - border-bottom-color: transparent; - background: #ffffff; - color: #444444; -} -/* Disabled */ -.uk-tab > li.uk-disabled > a { - color: #999999; - cursor: text; -} -.uk-tab > li.uk-disabled > a:hover, -.uk-tab > li.uk-disabled > a:focus, -.uk-tab > li.uk-disabled.uk-active > a { - background: none; - border-color: transparent; -} -/* Modifier: 'tab-flip' - ========================================================================== */ -.uk-tab-flip > li { - float: right; -} -.uk-tab-flip > li:nth-child(n+2) > a { - margin-left: 0; - margin-right: 5px; -} -/* Modifier: 'tab-responsive' - ========================================================================== */ -.uk-tab > li.uk-tab-responsive > a { - margin-left: 0; - margin-right: 0; -} -/* - * Icon - */ -.uk-tab-responsive > a:before { - content: "\f0c9\00a0"; - font-family: FontAwesome; -} -/* Modifier: 'tab-center' - ========================================================================== */ -.uk-tab-center { - border-bottom: 1px solid #dddddd; -} -.uk-tab-center-bottom { - border-bottom: none; - border-top: 1px solid #dddddd; -} -.uk-tab-center:before, -.uk-tab-center:after { - content: ""; - display: table; -} -.uk-tab-center:after { - clear: both; -} -/* - * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs - */ -.uk-tab-center .uk-tab { - position: relative; - right: 50%; - border: none; - float: right; -} -.uk-tab-center .uk-tab > li { - position: relative; - right: -50%; -} -.uk-tab-center .uk-tab > li > a { - text-align: center; -} -/* Modifier: 'tab-bottom' - ========================================================================== */ -.uk-tab-bottom { - border-top: 1px solid #dddddd; - border-bottom: none; -} -.uk-tab-bottom > li { - margin-top: -1px; - margin-bottom: 0; -} -.uk-tab-bottom > li > a { - padding-top: 8px; - padding-bottom: 8px; - border-bottom-width: 1px; - border-top-width: 0; -} -.uk-tab-bottom > li:not(.uk-active) > a:hover, -.uk-tab-bottom > li:not(.uk-active) > a:focus, -.uk-tab-bottom > li.uk-open:not(.uk-active) > a { - margin-bottom: 0; - margin-top: 1px; - padding-bottom: 8px; - padding-top: 7px; -} -.uk-tab-bottom > li.uk-active > a { - border-top-color: transparent; - border-bottom-color: #dddddd; -} -/* Modifier: 'tab-grid' - ========================================================================== */ -/* - * 1. Create position context to prevent hidden border because of negative `z-index` - */ -.uk-tab-grid { - margin-left: -5px; - border-bottom: none; - /* 1 */ - position: relative; - z-index: 0; -} -.uk-tab-grid:before { - display: block; - position: absolute; - left: 5px; - right: 0; - bottom: -1px; - border-top: 1px solid #dddddd; - /* 1 */ - z-index: -1; -} -.uk-tab-grid > li:first-child > a { - margin-left: 5px; -} -.uk-tab-grid > li > a { - text-align: center; -} -/* - * If `uk-tab-bottom` - */ -.uk-tab-grid.uk-tab-bottom { - border-top: none; -} -.uk-tab-grid.uk-tab-bottom:before { - top: -1px; - bottom: auto; -} -/* Modifier: 'tab-left', 'tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-tab-left, - .uk-tab-right { - border-bottom: none; - } - .uk-tab-left > li, - .uk-tab-right > li { - margin-bottom: 0; - float: none; - } - .uk-tab-left > li > a, - .uk-tab-right > li > a { - padding-top: 8px; - padding-bottom: 8px; - } - .uk-tab-left > li:nth-child(n+2) > a, - .uk-tab-right > li:nth-child(n+2) > a { - margin-left: 0; - margin-top: 5px; - } - .uk-tab-left > li.uk-active > a, - .uk-tab-right > li.uk-active > a { - border-color: #dddddd; - } - /* - * Modifier: 'tab-left' - */ - .uk-tab-left { - border-right: 1px solid #dddddd; - } - .uk-tab-left > li { - margin-right: -1px; - } - .uk-tab-left > li > a { - border-bottom-width: 1px; - border-right-width: 0; - } - .uk-tab-left > li:not(.uk-active) > a:hover, - .uk-tab-left > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-right: 1px; - padding-bottom: 8px; - padding-right: 11px; - } - .uk-tab-left > li.uk-active > a { - border-right-color: transparent; - } - /* - * Modifier: 'tab-right' - */ - .uk-tab-right { - border-left: 1px solid #dddddd; - } - .uk-tab-right > li { - margin-left: -1px; - } - .uk-tab-right > li > a { - border-bottom-width: 1px; - border-left-width: 0; - } - .uk-tab-right > li:not(.uk-active) > a:hover, - .uk-tab-right > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-left: 1px; - padding-bottom: 8px; - padding-left: 11px; - } - .uk-tab-right > li.uk-active > a { - border-left-color: transparent; - } -} -/* Modifier: `uk-tab-bottom' - ========================================================================== */ -.uk-tab-bottom > li > a { - border-radius: 0 0 4px 4px; -} -/* Modifier: `uk-tab-left', `uk-tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Modifier: `uk-tab-left' - */ - .uk-tab-left > li > a { - border-radius: 4px 0 0 4px; - } - /* - * Modifier: `uk-tab-right' - */ - .uk-tab-right > li > a { - border-radius: 0 4px 4px 0; - } -} -/* ======================================================================== - Component: Thumbnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-thumbnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-thumbnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-thumbnav:before, -.uk-thumbnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-thumbnav:after { - clear: both; -} -.uk-thumbnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-thumbnav > * > * { - display: block; - background: #ffffff; -} -.uk-thumbnav > * > * > img { - opacity: 0.7; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -/* - * Hover - */ -.uk-thumbnav > * > :hover > img, -.uk-thumbnav > * > :focus > img { - opacity: 1; -} -/* - * Active - */ -.uk-thumbnav > .uk-active > * > img { - opacity: 1; -} -/* ======================================================================== - Component: List - ========================================================================== */ -.uk-list { - padding: 0; - list-style: none; -} -/* - * Micro clearfix to make list more robust - */ -.uk-list > li:before, -.uk-list > li:after { - content: ""; - display: table; -} -.uk-list > li:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-list > li > :last-child { - margin-bottom: 0; -} -/* - * Nested lists - */ -.uk-list ul { - margin: 0; - padding-left: 20px; - list-style: none; -} -/* Modifier: `uk-list-line` - ========================================================================== */ -.uk-list-line > li:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -/* Modifier: `uk-list-striped` - ========================================================================== */ -.uk-list-striped > li { - padding: 5px 5px; - border-bottom: 1px solid #dddddd; -} -.uk-list-striped > li:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-list-space` - ========================================================================== */ -.uk-list-space > li:nth-child(n+2) { - margin-top: 10px; -} -.uk-list-striped > li:first-child { - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Description list - ========================================================================== */ -/* Modifier: `uk-description-list-horizontal` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-description-list-horizontal { - overflow: hidden; - } - .uk-description-list-horizontal > dt { - width: 160px; - float: left; - clear: both; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .uk-description-list-horizontal > dd { - margin-left: 180px; - } -} -/* Modifier: `uk-description-list-line` - ========================================================================== */ -.uk-description-list-line > dt { - font-weight: normal; -} -.uk-description-list-line > dt:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -.uk-description-list-line > dd { - color: #999999; -} -/* ======================================================================== - Component: Table - ========================================================================== */ -/* - * 1. Remove most spacing between table cells. - * 2. Block element behavior - * 3. Style - */ -.uk-table { - /* 1 */ - border-collapse: collapse; - border-spacing: 0; - /* 2 */ - width: 100%; - /* 3 */ - margin-bottom: 15px; -} -/* - * Add margin if adjacent element - */ -* + .uk-table { - margin-top: 15px; -} -.uk-table th, -.uk-table td { - padding: 8px 8px; - border-bottom: 1px solid #dddddd; -} -/* - * Set alignment - */ -.uk-table th { - text-align: left; -} -.uk-table td { - vertical-align: top; -} -.uk-table thead th { - vertical-align: bottom; -} -/* - * Caption and footer - */ -.uk-table caption, -.uk-table tfoot { - font-size: 12px; - font-style: italic; -} -.uk-table caption { - text-align: left; - color: #999999; -} -/* - * Active State - */ -.uk-table tbody tr.uk-active { - background: #f0f0f0; -} -/* Sub-modifier: `uk-table-middle` - ========================================================================== */ -.uk-table-middle, -.uk-table-middle td { - vertical-align: middle !important; -} -/* Modifier: `uk-table-striped` - ========================================================================== */ -.uk-table-striped tbody tr:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-table-condensed` - ========================================================================== */ -.uk-table-condensed td { - padding: 4px 8px; -} -/* Modifier: `uk-table-hover` - ========================================================================== */ -.uk-table-hover tbody tr:hover { - background: #f0f0f0; -} -/* ======================================================================== - Component: Form - ========================================================================== */ -/* - * 1. Define consistent box sizing. - * Default is `content-box` with following exceptions set to `border-box` - * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` - * `input[type="search"]` in Chrome, Safari and Opera - * `input[type="color"]` in Firefox - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - */ -.uk-form input, -.uk-form select, -.uk-form textarea { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: inherit; -} -/* - * Address inconsistent `text-transform` inheritance which is only inherit in Firefox - */ -.uk-form select { - text-transform: none; -} -/* - * 1. Correct `font` properties not being inherited. - * 2. Don't inherit the `font-weight` and use `bold` instead. - * NOTE: Both declarations don't work in Chrome, Safari and Opera. - */ -.uk-form optgroup { - /* 1 */ - font: inherit; - /* 2 */ - font-weight: bold; -} -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-form input::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Removes excess padding in IE 8/9/10. - */ -.uk-form input[type="checkbox"], -.uk-form input[type="radio"] { - padding: 0; -} -/* - * Improves consistency of cursor style for clickable elements - */ -.uk-form input[type="checkbox"]:not(:disabled), -.uk-form input[type="radio"]:not(:disabled) { - cursor: pointer; -} -/* - * Remove default style in iOS. - */ -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="number"], -.uk-form input[type="datetime"] { - -webkit-appearance: none; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-form input[type="search"]::-webkit-search-cancel-button, -.uk-form input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -.uk-form input[type="number"]::-webkit-inner-spin-button, -.uk-form input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -/* - * Define consistent border, margin, and padding. - */ -.uk-form fieldset { - border: none; - margin: 0; - padding: 0; -} -/* - * 1. Remove default vertical scrollbar in IE 8/9/10/11. - * 2. Improve readability and alignment in all browsers. - */ -.uk-form textarea { - /* 1 */ - overflow: auto; - /* 2 */ - vertical-align: top; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-form ::-moz-placeholder { - opacity: 1; -} -/* - * Removes `box-shadow` for invalid controls in Firefox. - */ -.uk-form :invalid { - box-shadow: none; -} -/* - * Vertical alignment - */ -.uk-form input:not([type="radio"]):not([type="checkbox"]), -.uk-form select { - vertical-align: middle; -} -/* Style - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-form > :last-child { - margin-bottom: 0; -} -/* - * Controls - * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` - * 1. Must be `height` because `min-height` is not working in OSX - * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports - * 3. Vertical `padding` needed for `select` elements in Firefox - * 4. Style - */ -.uk-form select, -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="datetime"], -.uk-form input[type="datetime-local"], -.uk-form input[type="date"], -.uk-form input[type="month"], -.uk-form input[type="time"], -.uk-form input[type="week"], -.uk-form input[type="number"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="color"] { - /* 1 */ - height: 30px; - /* 2 */ - max-width: 100%; - /* 3 */ - padding: 4px 6px; - /* 4 */ - border: 1px solid #dddddd; - background: #ffffff; - color: #444444; - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - border-radius: 4px; -} -.uk-form select:focus, -.uk-form textarea:focus, -.uk-form input:not([type]):focus, -.uk-form input[type="text"]:focus, -.uk-form input[type="password"]:focus, -.uk-form input[type="datetime"]:focus, -.uk-form input[type="datetime-local"]:focus, -.uk-form input[type="date"]:focus, -.uk-form input[type="month"]:focus, -.uk-form input[type="time"]:focus, -.uk-form input[type="week"]:focus, -.uk-form input[type="number"]:focus, -.uk-form input[type="email"]:focus, -.uk-form input[type="url"]:focus, -.uk-form input[type="search"]:focus, -.uk-form input[type="tel"]:focus, -.uk-form input[type="color"]:focus { - border-color: #99baca; - outline: 0; - background: #f5fbfe; - color: #444444; -} -.uk-form select:disabled, -.uk-form textarea:disabled, -.uk-form input:not([type]):disabled, -.uk-form input[type="text"]:disabled, -.uk-form input[type="password"]:disabled, -.uk-form input[type="datetime"]:disabled, -.uk-form input[type="datetime-local"]:disabled, -.uk-form input[type="date"]:disabled, -.uk-form input[type="month"]:disabled, -.uk-form input[type="time"]:disabled, -.uk-form input[type="week"]:disabled, -.uk-form input[type="number"]:disabled, -.uk-form input[type="email"]:disabled, -.uk-form input[type="url"]:disabled, -.uk-form input[type="search"]:disabled, -.uk-form input[type="tel"]:disabled, -.uk-form input[type="color"]:disabled { - border-color: #dddddd; - background-color: #fafafa; - color: #999999; -} -/* - * Placeholder - */ -.uk-form :-ms-input-placeholder { - color: #999999 !important; -} -.uk-form ::-moz-placeholder { - color: #999999; -} -.uk-form ::-webkit-input-placeholder { - color: #999999; -} -.uk-form :disabled:-ms-input-placeholder { - color: #999999 !important; -} -.uk-form :disabled::-moz-placeholder { - color: #999999; -} -.uk-form :disabled::-webkit-input-placeholder { - color: #999999; -} -/* - * Legend - * 1. Behave like block element - * 2. Correct `color` not being inherited in IE 8/9/10/11. - * 3. Remove padding - * 4. `margin-bottom` is not working in Safari and Opera. - * Using `padding` and :after instead to create the border - * 5. Style - */ -.uk-form legend { - /* 1 */ - width: 100%; - /* 2 */ - border: 0; - /* 3 */ - padding: 0; - /* 4 */ - padding-bottom: 15px; - /* 5 */ - font-size: 18px; - line-height: 30px; -} -/* - * 1. Fixes IE9 - */ -.uk-form legend:after { - content: ""; - display: block; - border-bottom: 1px solid #dddddd; - /* 1 */ - width: 100%; -} -/* Size modifiers - * Higher specificity needed to override defaults - ========================================================================== */ -select.uk-form-small, -textarea.uk-form-small, -input[type].uk-form-small, -input:not([type]).uk-form-small { - height: 25px; - padding: 3px 3px; - font-size: 12px; -} -select.uk-form-large, -textarea.uk-form-large, -input[type].uk-form-large, -input:not([type]).uk-form-large { - height: 40px; - padding: 8px 6px; - font-size: 16px; -} -/* Reset height - * Must be after size modifiers - ========================================================================== */ -.uk-form textarea, -.uk-form select[multiple], -.uk-form select[size] { - height: auto; -} -/* Validation states - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Error state - */ -.uk-form-danger { - border-color: #dc8d99 !important; - background: #fff7f8 !important; - color: #d85030 !important; -} -/* - * Success state - */ -.uk-form-success { - border-color: #8ec73b !important; - background: #fafff2 !important; - color: #659f13 !important; -} -/* Style modifiers - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Blank form - */ -.uk-form-blank { - border-color: transparent !important; - border-style: dashed !important; - background: none !important; -} -.uk-form-blank:focus { - border-color: #dddddd !important; -} -/* Size sub-modifiers - ========================================================================== */ -/* - * Fixed widths - * Different widths for mini sized `input` and `select` elements - */ -input.uk-form-width-mini { - width: 40px; -} -select.uk-form-width-mini { - width: 65px; -} -.uk-form-width-small { - width: 130px; -} -.uk-form-width-medium { - width: 200px; -} -.uk-form-width-large { - width: 500px; -} -/* Sub-objects: `uk-form-row` - * Groups labels and controls in rows - ========================================================================== */ -/* - * Micro clearfix - * Needed for `uk-form-horizontal` modifier - */ -.uk-form-row:before, -.uk-form-row:after { - content: ""; - display: table; -} -.uk-form-row:after { - clear: both; -} -/* - * Vertical gutter - */ -.uk-form-row + .uk-form-row { - margin-top: 15px; -} -/* Help text - * Sub-object: `uk-form-help-inline`, `uk-form-help-block` - ========================================================================== */ -.uk-form-help-inline { - display: inline-block; - margin: 0 0 0 10px; -} -.uk-form-help-block { - margin: 5px 0 0 0; -} -/* Controls content - * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` - ========================================================================== */ -/* - * Remove margins - */ -.uk-form-controls > :first-child { - margin-top: 0; -} -.uk-form-controls > :last-child { - margin-bottom: 0; -} -/* - * Group controls and text into blocks with a small spacing between blocks - */ -.uk-form-controls-condensed { - margin: 5px 0; -} -/* Modifier: `uk-form-stacked` - * Requires sub-object: `uk-form-label` - ========================================================================== */ -.uk-form-stacked .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; -} -/* Modifier: `uk-form-horizontal` - * Requires sub-objects: `uk-form-label`, `uk-form-controls` - ========================================================================== */ -/* Tablet portrait and smaller */ -@media (max-width: 959px) { - /* Behave like `uk-form-stacked` */ - .uk-form-horizontal .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-form-horizontal .uk-form-label { - width: 200px; - margin-top: 5px; - float: left; - } - .uk-form-horizontal .uk-form-controls { - margin-left: 215px; - } - /* Better vertical alignment if controls are checkboxes and radio buttons with text */ - .uk-form-horizontal .uk-form-controls-text { - padding-top: 5px; - } -} -/* Sub-object: `uk-form-icon` - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-icon { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -/* - * 1. Make form element clickable through icon - */ -.uk-form-icon > [class*='uk-icon-'] { - position: absolute; - top: 50%; - width: 30px; - margin-top: -7px; - font-size: 14px; - color: #999999; - text-align: center; - /* 1 */ - pointer-events: none; -} -.uk-form-icon:not(.uk-form-icon-flip) > input { - padding-left: 30px !important; -} -/* - * Sub-modifier: `uk-form-icon-flip` - */ -.uk-form-icon-flip > [class*='uk-icon-'] { - right: 0; -} -.uk-form-icon-flip > input { - padding-right: 30px !important; -} -/* ======================================================================== - Component: Button - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-button::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Style - * 8. `line-height` is used to create a height - * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. - * 10. Reset button group whitespace hack - * 11. Required for `a`. - */ -.uk-button { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: #444444; - /* 6 */ - text-transform: none; - /* 7 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0 12px; - background: #f5f5f5; - vertical-align: middle; - /* 8 */ - line-height: 28px; - /* 9 */ - min-height: 30px; - /* 10 */ - font-size: 1rem; - /* 11 */ - text-decoration: none; - text-align: center; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -.uk-button:not(:disabled) { - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-button:hover, -.uk-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - border-color: rgba(0, 0, 0, 0.16); -} -/* Active */ -.uk-button:active, -.uk-button.uk-active { - background-color: #eeeeee; - color: #444444; -} -/* Color modifiers - ========================================================================== */ -/* - * Modifier: `uk-button-primary` - */ -.uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -/* Hover */ -.uk-button-primary:hover, -.uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -/* Active */ -.uk-button-primary:active, -.uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -/* - * Modifier: `uk-button-success` - */ -.uk-button-success { - background-color: #8cc14c; - color: #ffffff; -} -/* Hover */ -.uk-button-success:hover, -.uk-button-success:focus { - background-color: #8ec73b; - color: #ffffff; -} -/* Active */ -.uk-button-success:active, -.uk-button-success.uk-active { - background-color: #72ae41; - color: #ffffff; -} -/* - * Modifier: `uk-button-danger` - */ -.uk-button-danger { - background-color: #da314b; - color: #ffffff; -} -/* Hover */ -.uk-button-danger:hover, -.uk-button-danger:focus { - background-color: #e4354f; - color: #ffffff; -} -/* Active */ -.uk-button-danger:active, -.uk-button-danger.uk-active { - background-color: #c91032; - color: #ffffff; -} -/* Disabled state - * Overrides also the color modifiers - ========================================================================== */ -/* Equal for all button types */ -.uk-button:disabled { - background-color: #fafafa; - color: #999999; - border-color: rgba(0, 0, 0, 0.06); - box-shadow: none; - text-shadow: 0 1px 0 #ffffff; -} -/* Modifier: `uk-button-link` - ========================================================================== */ -/* Reset */ -.uk-button-link, -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active, -.uk-button-link:disabled { - border-color: transparent; - background: none; - box-shadow: none; - text-shadow: none; -} -/* Color */ -.uk-button-link { - color: #0077dd; -} -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active { - color: #005599; - text-decoration: underline; -} -.uk-button-link:disabled { - color: #999999; -} -/* Focus */ -.uk-button-link:focus { - outline: 1px dotted; -} -/* Size modifiers - ========================================================================== */ -.uk-button-mini { - min-height: 20px; - padding: 0 6px; - line-height: 18px; - font-size: 11px; -} -.uk-button-small { - min-height: 25px; - padding: 0 10px; - line-height: 23px; - font-size: 12px; -} -.uk-button-large { - min-height: 40px; - padding: 0 15px; - line-height: 38px; - font-size: 16px; - border-radius: 5px; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - * 3. Remove whitespace between child elements when using `inline-block` - * 4. Prevent buttons from wrapping - * 5. Remove whitespace between child elements when using `inline-block` - */ -.uk-button-group { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - font-size: 0.001px; - /* 4 */ - white-space: nowrap; -} -.uk-button-group > * { - display: inline-block; -} -/* 5 */ -.uk-button-group .uk-button { - vertical-align: top; -} -/* Sub-object: `uk-button-dropdown` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - */ -.uk-button-dropdown { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; -} -/* Color modifiers - ========================================================================== */ -.uk-button-primary, -.uk-button-success, -.uk-button-danger { - box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); -} -.uk-button-primary:hover, -.uk-button-primary:focus, -.uk-button-success:hover, -.uk-button-success:focus, -.uk-button-danger:hover, -.uk-button-danger:focus { - border-color: rgba(0, 0, 0, 0.21); -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * Reset border-radius - */ -.uk-button-group > .uk-button:not(:first-child):not(:last-child), -.uk-button-group > div:not(:first-child):not(:last-child) .uk-button { - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-radius: 0; -} -.uk-button-group > .uk-button:first-child, -.uk-button-group > div:first-child .uk-button { - border-right-color: rgba(0, 0, 0, 0.1); - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.uk-button-group > .uk-button:last-child, -.uk-button-group > div:last-child .uk-button { - border-left-color: rgba(0, 0, 0, 0.1); - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -/* - * Collapse border - */ -.uk-button-group > .uk-button:nth-child(n+2), -.uk-button-group > div:nth-child(n+2) .uk-button { - margin-left: -1px; -} -/* - * Create position context to superimpose the successor elements border - * Known issue: If you use an `a` element as button and an icon inside, - * the active state will not work if you click the icon inside the button - * Workaround: Just use a `button` or `input` element as button - */ -.uk-button-group .uk-button:hover, -.uk-button-group .uk-button:active { - position: relative; -} -/* ======================================================================== - Component: Icon - ========================================================================== */ -@font-face { - font-family: 'FontAwesome'; - src: url("../fonts/fontawesome-webfont.eot"); - src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} -/* - * 1. Allow margin - * 2. Prevent inherit font style - * 4. Correct line-height - * 5. Better font rendering - * 6. Remove `text-decoration` for anchors - */ -[class*='uk-icon-'] { - font-family: FontAwesome; - /* 1 */ - display: inline-block; - /* 2 */ - font-weight: normal; - font-style: normal; - /* 4 */ - line-height: 1; - /* 5 */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/* 6 */ -[class*='uk-icon-'], -[class*='uk-icon-']:hover, -[class*='uk-icon-']:focus { - text-decoration: none; -} -/* Size modifiers - ========================================================================== */ -.uk-icon-small { - font-size: 150%; - vertical-align: -10%; -} -.uk-icon-medium { - font-size: 200%; - vertical-align: -16%; -} -.uk-icon-large { - font-size: 250%; - vertical-align: -22%; -} -/* Modifier: `uk-icon-justify` - ========================================================================== */ -.uk-icon-justify { - width: 1em; - text-align: center; -} -/* Modifier: `uk-icon-spin` - ========================================================================== */ -.uk-icon-spin { - display: inline-block; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* Modifier: `uk-icon-hover` - ========================================================================== */ -.uk-icon-hover { - color: #999999; -} -/* - * Hover - */ -.uk-icon-hover:hover { - color: #444444; -} -/* Modifier: `uk-icon-button` - ========================================================================== */ -.uk-icon-button { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - width: 35px; - height: 35px; - border-radius: 100%; - background: #f5f5f5; - line-height: 35px; - color: #444444; - font-size: 18px; - text-align: center; - border: 1px solid #e7e7e7; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-icon-button:hover, -.uk-icon-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - border-color: #d3d3d3; -} -/* Active */ -.uk-icon-button:active { - background-color: #eeeeee; - color: #444444; -} -/* Icon mapping - ========================================================================== */ -.uk-icon-glass:before { - content: "\f000"; -} -.uk-icon-music:before { - content: "\f001"; -} -.uk-icon-search:before { - content: "\f002"; -} -.uk-icon-envelope-o:before { - content: "\f003"; -} -.uk-icon-heart:before { - content: "\f004"; -} -.uk-icon-star:before { - content: "\f005"; -} -.uk-icon-star-o:before { - content: "\f006"; -} -.uk-icon-user:before { - content: "\f007"; -} -.uk-icon-film:before { - content: "\f008"; -} -.uk-icon-th-large:before { - content: "\f009"; -} -.uk-icon-th:before { - content: "\f00a"; -} -.uk-icon-th-list:before { - content: "\f00b"; -} -.uk-icon-check:before { - content: "\f00c"; -} -.uk-icon-remove:before, -.uk-icon-close:before, -.uk-icon-times:before { - content: "\f00d"; -} -.uk-icon-search-plus:before { - content: "\f00e"; -} -.uk-icon-search-minus:before { - content: "\f010"; -} -.uk-icon-power-off:before { - content: "\f011"; -} -.uk-icon-signal:before { - content: "\f012"; -} -.uk-icon-gear:before, -.uk-icon-cog:before { - content: "\f013"; -} -.uk-icon-trash-o:before { - content: "\f014"; -} -.uk-icon-home:before { - content: "\f015"; -} -.uk-icon-file-o:before { - content: "\f016"; -} -.uk-icon-clock-o:before { - content: "\f017"; -} -.uk-icon-road:before { - content: "\f018"; -} -.uk-icon-download:before { - content: "\f019"; -} -.uk-icon-arrow-circle-o-down:before { - content: "\f01a"; -} -.uk-icon-arrow-circle-o-up:before { - content: "\f01b"; -} -.uk-icon-inbox:before { - content: "\f01c"; -} -.uk-icon-play-circle-o:before { - content: "\f01d"; -} -.uk-icon-rotate-right:before, -.uk-icon-repeat:before { - content: "\f01e"; -} -.uk-icon-refresh:before { - content: "\f021"; -} -.uk-icon-list-alt:before { - content: "\f022"; -} -.uk-icon-lock:before { - content: "\f023"; -} -.uk-icon-flag:before { - content: "\f024"; -} -.uk-icon-headphones:before { - content: "\f025"; -} -.uk-icon-volume-off:before { - content: "\f026"; -} -.uk-icon-volume-down:before { - content: "\f027"; -} -.uk-icon-volume-up:before { - content: "\f028"; -} -.uk-icon-qrcode:before { - content: "\f029"; -} -.uk-icon-barcode:before { - content: "\f02a"; -} -.uk-icon-tag:before { - content: "\f02b"; -} -.uk-icon-tags:before { - content: "\f02c"; -} -.uk-icon-book:before { - content: "\f02d"; -} -.uk-icon-bookmark:before { - content: "\f02e"; -} -.uk-icon-print:before { - content: "\f02f"; -} -.uk-icon-camera:before { - content: "\f030"; -} -.uk-icon-font:before { - content: "\f031"; -} -.uk-icon-bold:before { - content: "\f032"; -} -.uk-icon-italic:before { - content: "\f033"; -} -.uk-icon-text-height:before { - content: "\f034"; -} -.uk-icon-text-width:before { - content: "\f035"; -} -.uk-icon-align-left:before { - content: "\f036"; -} -.uk-icon-align-center:before { - content: "\f037"; -} -.uk-icon-align-right:before { - content: "\f038"; -} -.uk-icon-align-justify:before { - content: "\f039"; -} -.uk-icon-list:before { - content: "\f03a"; -} -.uk-icon-dedent:before, -.uk-icon-outdent:before { - content: "\f03b"; -} -.uk-icon-indent:before { - content: "\f03c"; -} -.uk-icon-video-camera:before { - content: "\f03d"; -} -.uk-icon-photo:before, -.uk-icon-image:before, -.uk-icon-picture-o:before { - content: "\f03e"; -} -.uk-icon-pencil:before { - content: "\f040"; -} -.uk-icon-map-marker:before { - content: "\f041"; -} -.uk-icon-adjust:before { - content: "\f042"; -} -.uk-icon-tint:before { - content: "\f043"; -} -.uk-icon-edit:before, -.uk-icon-pencil-square-o:before { - content: "\f044"; -} -.uk-icon-share-square-o:before { - content: "\f045"; -} -.uk-icon-check-square-o:before { - content: "\f046"; -} -.uk-icon-arrows:before { - content: "\f047"; -} -.uk-icon-step-backward:before { - content: "\f048"; -} -.uk-icon-fast-backward:before { - content: "\f049"; -} -.uk-icon-backward:before { - content: "\f04a"; -} -.uk-icon-play:before { - content: "\f04b"; -} -.uk-icon-pause:before { - content: "\f04c"; -} -.uk-icon-stop:before { - content: "\f04d"; -} -.uk-icon-forward:before { - content: "\f04e"; -} -.uk-icon-fast-forward:before { - content: "\f050"; -} -.uk-icon-step-forward:before { - content: "\f051"; -} -.uk-icon-eject:before { - content: "\f052"; -} -.uk-icon-chevron-left:before { - content: "\f053"; -} -.uk-icon-chevron-right:before { - content: "\f054"; -} -.uk-icon-plus-circle:before { - content: "\f055"; -} -.uk-icon-minus-circle:before { - content: "\f056"; -} -.uk-icon-times-circle:before { - content: "\f057"; -} -.uk-icon-check-circle:before { - content: "\f058"; -} -.uk-icon-question-circle:before { - content: "\f059"; -} -.uk-icon-info-circle:before { - content: "\f05a"; -} -.uk-icon-crosshairs:before { - content: "\f05b"; -} -.uk-icon-times-circle-o:before { - content: "\f05c"; -} -.uk-icon-check-circle-o:before { - content: "\f05d"; -} -.uk-icon-ban:before { - content: "\f05e"; -} -.uk-icon-arrow-left:before { - content: "\f060"; -} -.uk-icon-arrow-right:before { - content: "\f061"; -} -.uk-icon-arrow-up:before { - content: "\f062"; -} -.uk-icon-arrow-down:before { - content: "\f063"; -} -.uk-icon-mail-forward:before, -.uk-icon-share:before { - content: "\f064"; -} -.uk-icon-expand:before { - content: "\f065"; -} -.uk-icon-compress:before { - content: "\f066"; -} -.uk-icon-plus:before { - content: "\f067"; -} -.uk-icon-minus:before { - content: "\f068"; -} -.uk-icon-asterisk:before { - content: "\f069"; -} -.uk-icon-exclamation-circle:before { - content: "\f06a"; -} -.uk-icon-gift:before { - content: "\f06b"; -} -.uk-icon-leaf:before { - content: "\f06c"; -} -.uk-icon-fire:before { - content: "\f06d"; -} -.uk-icon-eye:before { - content: "\f06e"; -} -.uk-icon-eye-slash:before { - content: "\f070"; -} -.uk-icon-warning:before, -.uk-icon-exclamation-triangle:before { - content: "\f071"; -} -.uk-icon-plane:before { - content: "\f072"; -} -.uk-icon-calendar:before { - content: "\f073"; -} -.uk-icon-random:before { - content: "\f074"; -} -.uk-icon-comment:before { - content: "\f075"; -} -.uk-icon-magnet:before { - content: "\f076"; -} -.uk-icon-chevron-up:before { - content: "\f077"; -} -.uk-icon-chevron-down:before { - content: "\f078"; -} -.uk-icon-retweet:before { - content: "\f079"; -} -.uk-icon-shopping-cart:before { - content: "\f07a"; -} -.uk-icon-folder:before { - content: "\f07b"; -} -.uk-icon-folder-open:before { - content: "\f07c"; -} -.uk-icon-arrows-v:before { - content: "\f07d"; -} -.uk-icon-arrows-h:before { - content: "\f07e"; -} -.uk-icon-bar-chart-o:before, -.uk-icon-bar-chart:before { - content: "\f080"; -} -.uk-icon-twitter-square:before { - content: "\f081"; -} -.uk-icon-facebook-square:before { - content: "\f082"; -} -.uk-icon-camera-retro:before { - content: "\f083"; -} -.uk-icon-key:before { - content: "\f084"; -} -.uk-icon-gears:before, -.uk-icon-cogs:before { - content: "\f085"; -} -.uk-icon-comments:before { - content: "\f086"; -} -.uk-icon-thumbs-o-up:before { - content: "\f087"; -} -.uk-icon-thumbs-o-down:before { - content: "\f088"; -} -.uk-icon-star-half:before { - content: "\f089"; -} -.uk-icon-heart-o:before { - content: "\f08a"; -} -.uk-icon-sign-out:before { - content: "\f08b"; -} -.uk-icon-linkedin-square:before { - content: "\f08c"; -} -.uk-icon-thumb-tack:before { - content: "\f08d"; -} -.uk-icon-external-link:before { - content: "\f08e"; -} -.uk-icon-sign-in:before { - content: "\f090"; -} -.uk-icon-trophy:before { - content: "\f091"; -} -.uk-icon-github-square:before { - content: "\f092"; -} -.uk-icon-upload:before { - content: "\f093"; -} -.uk-icon-lemon-o:before { - content: "\f094"; -} -.uk-icon-phone:before { - content: "\f095"; -} -.uk-icon-square-o:before { - content: "\f096"; -} -.uk-icon-bookmark-o:before { - content: "\f097"; -} -.uk-icon-phone-square:before { - content: "\f098"; -} -.uk-icon-twitter:before { - content: "\f099"; -} -.uk-icon-facebook-f:before, -.uk-icon-facebook:before { - content: "\f09a"; -} -.uk-icon-github:before { - content: "\f09b"; -} -.uk-icon-unlock:before { - content: "\f09c"; -} -.uk-icon-credit-card:before { - content: "\f09d"; -} -.uk-icon-rss:before { - content: "\f09e"; -} -.uk-icon-hdd-o:before { - content: "\f0a0"; -} -.uk-icon-bullhorn:before { - content: "\f0a1"; -} -.uk-icon-bell:before { - content: "\f0f3"; -} -.uk-icon-certificate:before { - content: "\f0a3"; -} -.uk-icon-hand-o-right:before { - content: "\f0a4"; -} -.uk-icon-hand-o-left:before { - content: "\f0a5"; -} -.uk-icon-hand-o-up:before { - content: "\f0a6"; -} -.uk-icon-hand-o-down:before { - content: "\f0a7"; -} -.uk-icon-arrow-circle-left:before { - content: "\f0a8"; -} -.uk-icon-arrow-circle-right:before { - content: "\f0a9"; -} -.uk-icon-arrow-circle-up:before { - content: "\f0aa"; -} -.uk-icon-arrow-circle-down:before { - content: "\f0ab"; -} -.uk-icon-globe:before { - content: "\f0ac"; -} -.uk-icon-wrench:before { - content: "\f0ad"; -} -.uk-icon-tasks:before { - content: "\f0ae"; -} -.uk-icon-filter:before { - content: "\f0b0"; -} -.uk-icon-briefcase:before { - content: "\f0b1"; -} -.uk-icon-arrows-alt:before { - content: "\f0b2"; -} -.uk-icon-group:before, -.uk-icon-users:before { - content: "\f0c0"; -} -.uk-icon-chain:before, -.uk-icon-link:before { - content: "\f0c1"; -} -.uk-icon-cloud:before { - content: "\f0c2"; -} -.uk-icon-flask:before { - content: "\f0c3"; -} -.uk-icon-cut:before, -.uk-icon-scissors:before { - content: "\f0c4"; -} -.uk-icon-copy:before, -.uk-icon-files-o:before { - content: "\f0c5"; -} -.uk-icon-paperclip:before { - content: "\f0c6"; -} -.uk-icon-save:before, -.uk-icon-floppy-o:before { - content: "\f0c7"; -} -.uk-icon-square:before { - content: "\f0c8"; -} -.uk-icon-navicon:before, -.uk-icon-reorder:before, -.uk-icon-bars:before { - content: "\f0c9"; -} -.uk-icon-list-ul:before { - content: "\f0ca"; -} -.uk-icon-list-ol:before { - content: "\f0cb"; -} -.uk-icon-strikethrough:before { - content: "\f0cc"; -} -.uk-icon-underline:before { - content: "\f0cd"; -} -.uk-icon-table:before { - content: "\f0ce"; -} -.uk-icon-magic:before { - content: "\f0d0"; -} -.uk-icon-truck:before { - content: "\f0d1"; -} -.uk-icon-pinterest:before { - content: "\f0d2"; -} -.uk-icon-pinterest-square:before { - content: "\f0d3"; -} -.uk-icon-google-plus-square:before { - content: "\f0d4"; -} -.uk-icon-google-plus:before { - content: "\f0d5"; -} -.uk-icon-money:before { - content: "\f0d6"; -} -.uk-icon-caret-down:before { - content: "\f0d7"; -} -.uk-icon-caret-up:before { - content: "\f0d8"; -} -.uk-icon-caret-left:before { - content: "\f0d9"; -} -.uk-icon-caret-right:before { - content: "\f0da"; -} -.uk-icon-columns:before { - content: "\f0db"; -} -.uk-icon-unsorted:before, -.uk-icon-sort:before { - content: "\f0dc"; -} -.uk-icon-sort-down:before, -.uk-icon-sort-desc:before { - content: "\f0dd"; -} -.uk-icon-sort-up:before, -.uk-icon-sort-asc:before { - content: "\f0de"; -} -.uk-icon-envelope:before { - content: "\f0e0"; -} -.uk-icon-linkedin:before { - content: "\f0e1"; -} -.uk-icon-rotate-left:before, -.uk-icon-undo:before { - content: "\f0e2"; -} -.uk-icon-legal:before, -.uk-icon-gavel:before { - content: "\f0e3"; -} -.uk-icon-dashboard:before, -.uk-icon-tachometer:before { - content: "\f0e4"; -} -.uk-icon-comment-o:before { - content: "\f0e5"; -} -.uk-icon-comments-o:before { - content: "\f0e6"; -} -.uk-icon-flash:before, -.uk-icon-bolt:before { - content: "\f0e7"; -} -.uk-icon-sitemap:before { - content: "\f0e8"; -} -.uk-icon-umbrella:before { - content: "\f0e9"; -} -.uk-icon-paste:before, -.uk-icon-clipboard:before { - content: "\f0ea"; -} -.uk-icon-lightbulb-o:before { - content: "\f0eb"; -} -.uk-icon-exchange:before { - content: "\f0ec"; -} -.uk-icon-cloud-download:before { - content: "\f0ed"; -} -.uk-icon-cloud-upload:before { - content: "\f0ee"; -} -.uk-icon-user-md:before { - content: "\f0f0"; -} -.uk-icon-stethoscope:before { - content: "\f0f1"; -} -.uk-icon-suitcase:before { - content: "\f0f2"; -} -.uk-icon-bell-o:before { - content: "\f0a2"; -} -.uk-icon-coffee:before { - content: "\f0f4"; -} -.uk-icon-cutlery:before { - content: "\f0f5"; -} -.uk-icon-file-text-o:before { - content: "\f0f6"; -} -.uk-icon-building-o:before { - content: "\f0f7"; -} -.uk-icon-hospital-o:before { - content: "\f0f8"; -} -.uk-icon-ambulance:before { - content: "\f0f9"; -} -.uk-icon-medkit:before { - content: "\f0fa"; -} -.uk-icon-fighter-jet:before { - content: "\f0fb"; -} -.uk-icon-beer:before { - content: "\f0fc"; -} -.uk-icon-h-square:before { - content: "\f0fd"; -} -.uk-icon-plus-square:before { - content: "\f0fe"; -} -.uk-icon-angle-double-left:before { - content: "\f100"; -} -.uk-icon-angle-double-right:before { - content: "\f101"; -} -.uk-icon-angle-double-up:before { - content: "\f102"; -} -.uk-icon-angle-double-down:before { - content: "\f103"; -} -.uk-icon-angle-left:before { - content: "\f104"; -} -.uk-icon-angle-right:before { - content: "\f105"; -} -.uk-icon-angle-up:before { - content: "\f106"; -} -.uk-icon-angle-down:before { - content: "\f107"; -} -.uk-icon-desktop:before { - content: "\f108"; -} -.uk-icon-laptop:before { - content: "\f109"; -} -.uk-icon-tablet:before { - content: "\f10a"; -} -.uk-icon-mobile-phone:before, -.uk-icon-mobile:before { - content: "\f10b"; -} -.uk-icon-circle-o:before { - content: "\f10c"; -} -.uk-icon-quote-left:before { - content: "\f10d"; -} -.uk-icon-quote-right:before { - content: "\f10e"; -} -.uk-icon-spinner:before { - content: "\f110"; -} -.uk-icon-circle:before { - content: "\f111"; -} -.uk-icon-mail-reply:before, -.uk-icon-reply:before { - content: "\f112"; -} -.uk-icon-github-alt:before { - content: "\f113"; -} -.uk-icon-folder-o:before { - content: "\f114"; -} -.uk-icon-folder-open-o:before { - content: "\f115"; -} -.uk-icon-smile-o:before { - content: "\f118"; -} -.uk-icon-frown-o:before { - content: "\f119"; -} -.uk-icon-meh-o:before { - content: "\f11a"; -} -.uk-icon-gamepad:before { - content: "\f11b"; -} -.uk-icon-keyboard-o:before { - content: "\f11c"; -} -.uk-icon-flag-o:before { - content: "\f11d"; -} -.uk-icon-flag-checkered:before { - content: "\f11e"; -} -.uk-icon-terminal:before { - content: "\f120"; -} -.uk-icon-code:before { - content: "\f121"; -} -.uk-icon-mail-reply-all:before, -.uk-icon-reply-all:before { - content: "\f122"; -} -.uk-icon-star-half-empty:before, -.uk-icon-star-half-full:before, -.uk-icon-star-half-o:before { - content: "\f123"; -} -.uk-icon-location-arrow:before { - content: "\f124"; -} -.uk-icon-crop:before { - content: "\f125"; -} -.uk-icon-code-fork:before { - content: "\f126"; -} -.uk-icon-unlink:before, -.uk-icon-chain-broken:before { - content: "\f127"; -} -.uk-icon-question:before { - content: "\f128"; -} -.uk-icon-info:before { - content: "\f129"; -} -.uk-icon-exclamation:before { - content: "\f12a"; -} -.uk-icon-superscript:before { - content: "\f12b"; -} -.uk-icon-subscript:before { - content: "\f12c"; -} -.uk-icon-eraser:before { - content: "\f12d"; -} -.uk-icon-puzzle-piece:before { - content: "\f12e"; -} -.uk-icon-microphone:before { - content: "\f130"; -} -.uk-icon-microphone-slash:before { - content: "\f131"; -} -.uk-icon-shield:before { - content: "\f132"; -} -.uk-icon-calendar-o:before { - content: "\f133"; -} -.uk-icon-fire-extinguisher:before { - content: "\f134"; -} -.uk-icon-rocket:before { - content: "\f135"; -} -.uk-icon-maxcdn:before { - content: "\f136"; -} -.uk-icon-chevron-circle-left:before { - content: "\f137"; -} -.uk-icon-chevron-circle-right:before { - content: "\f138"; -} -.uk-icon-chevron-circle-up:before { - content: "\f139"; -} -.uk-icon-chevron-circle-down:before { - content: "\f13a"; -} -.uk-icon-html5:before { - content: "\f13b"; -} -.uk-icon-css3:before { - content: "\f13c"; -} -.uk-icon-anchor:before { - content: "\f13d"; -} -.uk-icon-unlock-alt:before { - content: "\f13e"; -} -.uk-icon-bullseye:before { - content: "\f140"; -} -.uk-icon-ellipsis-h:before { - content: "\f141"; -} -.uk-icon-ellipsis-v:before { - content: "\f142"; -} -.uk-icon-rss-square:before { - content: "\f143"; -} -.uk-icon-play-circle:before { - content: "\f144"; -} -.uk-icon-ticket:before { - content: "\f145"; -} -.uk-icon-minus-square:before { - content: "\f146"; -} -.uk-icon-minus-square-o:before { - content: "\f147"; -} -.uk-icon-level-up:before { - content: "\f148"; -} -.uk-icon-level-down:before { - content: "\f149"; -} -.uk-icon-check-square:before { - content: "\f14a"; -} -.uk-icon-pencil-square:before { - content: "\f14b"; -} -.uk-icon-external-link-square:before { - content: "\f14c"; -} -.uk-icon-share-square:before { - content: "\f14d"; -} -.uk-icon-compass:before { - content: "\f14e"; -} -.uk-icon-toggle-down:before, -.uk-icon-caret-square-o-down:before { - content: "\f150"; -} -.uk-icon-toggle-up:before, -.uk-icon-caret-square-o-up:before { - content: "\f151"; -} -.uk-icon-toggle-right:before, -.uk-icon-caret-square-o-right:before { - content: "\f152"; -} -.uk-icon-euro:before, -.uk-icon-eur:before { - content: "\f153"; -} -.uk-icon-gbp:before { - content: "\f154"; -} -.uk-icon-dollar:before, -.uk-icon-usd:before { - content: "\f155"; -} -.uk-icon-rupee:before, -.uk-icon-inr:before { - content: "\f156"; -} -.uk-icon-cny:before, -.uk-icon-rmb:before, -.uk-icon-yen:before, -.uk-icon-jpy:before { - content: "\f157"; -} -.uk-icon-ruble:before, -.uk-icon-rouble:before, -.uk-icon-rub:before { - content: "\f158"; -} -.uk-icon-won:before, -.uk-icon-krw:before { - content: "\f159"; -} -.uk-icon-bitcoin:before, -.uk-icon-btc:before { - content: "\f15a"; -} -.uk-icon-file:before { - content: "\f15b"; -} -.uk-icon-file-text:before { - content: "\f15c"; -} -.uk-icon-sort-alpha-asc:before { - content: "\f15d"; -} -.uk-icon-sort-alpha-desc:before { - content: "\f15e"; -} -.uk-icon-sort-amount-asc:before { - content: "\f160"; -} -.uk-icon-sort-amount-desc:before { - content: "\f161"; -} -.uk-icon-sort-numeric-asc:before { - content: "\f162"; -} -.uk-icon-sort-numeric-desc:before { - content: "\f163"; -} -.uk-icon-thumbs-up:before { - content: "\f164"; -} -.uk-icon-thumbs-down:before { - content: "\f165"; -} -.uk-icon-youtube-square:before { - content: "\f166"; -} -.uk-icon-youtube:before { - content: "\f167"; -} -.uk-icon-xing:before { - content: "\f168"; -} -.uk-icon-xing-square:before { - content: "\f169"; -} -.uk-icon-youtube-play:before { - content: "\f16a"; -} -.uk-icon-dropbox:before { - content: "\f16b"; -} -.uk-icon-stack-overflow:before { - content: "\f16c"; -} -.uk-icon-instagram:before { - content: "\f16d"; -} -.uk-icon-flickr:before { - content: "\f16e"; -} -.uk-icon-adn:before { - content: "\f170"; -} -.uk-icon-bitbucket:before { - content: "\f171"; -} -.uk-icon-bitbucket-square:before { - content: "\f172"; -} -.uk-icon-tumblr:before { - content: "\f173"; -} -.uk-icon-tumblr-square:before { - content: "\f174"; -} -.uk-icon-long-arrow-down:before { - content: "\f175"; -} -.uk-icon-long-arrow-up:before { - content: "\f176"; -} -.uk-icon-long-arrow-left:before { - content: "\f177"; -} -.uk-icon-long-arrow-right:before { - content: "\f178"; -} -.uk-icon-apple:before { - content: "\f179"; -} -.uk-icon-windows:before { - content: "\f17a"; -} -.uk-icon-android:before { - content: "\f17b"; -} -.uk-icon-linux:before { - content: "\f17c"; -} -.uk-icon-dribbble:before { - content: "\f17d"; -} -.uk-icon-skype:before { - content: "\f17e"; -} -.uk-icon-foursquare:before { - content: "\f180"; -} -.uk-icon-trello:before { - content: "\f181"; -} -.uk-icon-female:before { - content: "\f182"; -} -.uk-icon-male:before { - content: "\f183"; -} -.uk-icon-gittip:before, -.uk-icon-gratipay:before { - content: "\f184"; -} -.uk-icon-sun-o:before { - content: "\f185"; -} -.uk-icon-moon-o:before { - content: "\f186"; -} -.uk-icon-archive:before { - content: "\f187"; -} -.uk-icon-bug:before { - content: "\f188"; -} -.uk-icon-vk:before { - content: "\f189"; -} -.uk-icon-weibo:before { - content: "\f18a"; -} -.uk-icon-renren:before { - content: "\f18b"; -} -.uk-icon-pagelines:before { - content: "\f18c"; -} -.uk-icon-stack-exchange:before { - content: "\f18d"; -} -.uk-icon-arrow-circle-o-right:before { - content: "\f18e"; -} -.uk-icon-arrow-circle-o-left:before { - content: "\f190"; -} -.uk-icon-toggle-left:before, -.uk-icon-caret-square-o-left:before { - content: "\f191"; -} -.uk-icon-dot-circle-o:before { - content: "\f192"; -} -.uk-icon-wheelchair:before { - content: "\f193"; -} -.uk-icon-vimeo-square:before { - content: "\f194"; -} -.uk-icon-turkish-lira:before, -.uk-icon-try:before { - content: "\f195"; -} -.uk-icon-plus-square-o:before { - content: "\f196"; -} -.uk-icon-space-shuttle:before { - content: "\f197"; -} -.uk-icon-slack:before { - content: "\f198"; -} -.uk-icon-envelope-square:before { - content: "\f199"; -} -.uk-icon-wordpress:before { - content: "\f19a"; -} -.uk-icon-openid:before { - content: "\f19b"; -} -.uk-icon-institution:before, -.uk-icon-bank:before, -.uk-icon-university:before { - content: "\f19c"; -} -.uk-icon-mortar-board:before, -.uk-icon-graduation-cap:before { - content: "\f19d"; -} -.uk-icon-yahoo:before { - content: "\f19e"; -} -.uk-icon-google:before { - content: "\f1a0"; -} -.uk-icon-reddit:before { - content: "\f1a1"; -} -.uk-icon-reddit-square:before { - content: "\f1a2"; -} -.uk-icon-stumbleupon-circle:before { - content: "\f1a3"; -} -.uk-icon-stumbleupon:before { - content: "\f1a4"; -} -.uk-icon-delicious:before { - content: "\f1a5"; -} -.uk-icon-digg:before { - content: "\f1a6"; -} -.uk-icon-pied-piper:before { - content: "\f1a7"; -} -.uk-icon-pied-piper-alt:before { - content: "\f1a8"; -} -.uk-icon-drupal:before { - content: "\f1a9"; -} -.uk-icon-joomla:before { - content: "\f1aa"; -} -.uk-icon-language:before { - content: "\f1ab"; -} -.uk-icon-fax:before { - content: "\f1ac"; -} -.uk-icon-building:before { - content: "\f1ad"; -} -.uk-icon-child:before { - content: "\f1ae"; -} -.uk-icon-paw:before { - content: "\f1b0"; -} -.uk-icon-spoon:before { - content: "\f1b1"; -} -.uk-icon-cube:before { - content: "\f1b2"; -} -.uk-icon-cubes:before { - content: "\f1b3"; -} -.uk-icon-behance:before { - content: "\f1b4"; -} -.uk-icon-behance-square:before { - content: "\f1b5"; -} -.uk-icon-steam:before { - content: "\f1b6"; -} -.uk-icon-steam-square:before { - content: "\f1b7"; -} -.uk-icon-recycle:before { - content: "\f1b8"; -} -.uk-icon-automobile:before, -.uk-icon-car:before { - content: "\f1b9"; -} -.uk-icon-cab:before, -.uk-icon-taxi:before { - content: "\f1ba"; -} -.uk-icon-tree:before { - content: "\f1bb"; -} -.uk-icon-spotify:before { - content: "\f1bc"; -} -.uk-icon-deviantart:before { - content: "\f1bd"; -} -.uk-icon-soundcloud:before { - content: "\f1be"; -} -.uk-icon-database:before { - content: "\f1c0"; -} -.uk-icon-file-pdf-o:before { - content: "\f1c1"; -} -.uk-icon-file-word-o:before { - content: "\f1c2"; -} -.uk-icon-file-excel-o:before { - content: "\f1c3"; -} -.uk-icon-file-powerpoint-o:before { - content: "\f1c4"; -} -.uk-icon-file-photo-o:before, -.uk-icon-file-picture-o:before, -.uk-icon-file-image-o:before { - content: "\f1c5"; -} -.uk-icon-file-zip-o:before, -.uk-icon-file-archive-o:before { - content: "\f1c6"; -} -.uk-icon-file-sound-o:before, -.uk-icon-file-audio-o:before { - content: "\f1c7"; -} -.uk-icon-file-movie-o:before, -.uk-icon-file-video-o:before { - content: "\f1c8"; -} -.uk-icon-file-code-o:before { - content: "\f1c9"; -} -.uk-icon-vine:before { - content: "\f1ca"; -} -.uk-icon-codepen:before { - content: "\f1cb"; -} -.uk-icon-jsfiddle:before { - content: "\f1cc"; -} -.uk-icon-life-bouy:before, -.uk-icon-life-buoy:before, -.uk-icon-life-saver:before, -.uk-icon-support:before, -.uk-icon-life-ring:before { - content: "\f1cd"; -} -.uk-icon-circle-o-notch:before { - content: "\f1ce"; -} -.uk-icon-ra:before, -.uk-icon-rebel:before { - content: "\f1d0"; -} -.uk-icon-ge:before, -.uk-icon-empire:before { - content: "\f1d1"; -} -.uk-icon-git-square:before { - content: "\f1d2"; -} -.uk-icon-git:before { - content: "\f1d3"; -} -.uk-icon-hacker-news:before { - content: "\f1d4"; -} -.uk-icon-tencent-weibo:before { - content: "\f1d5"; -} -.uk-icon-qq:before { - content: "\f1d6"; -} -.uk-icon-wechat:before, -.uk-icon-weixin:before { - content: "\f1d7"; -} -.uk-icon-send:before, -.uk-icon-paper-plane:before { - content: "\f1d8"; -} -.uk-icon-send-o:before, -.uk-icon-paper-plane-o:before { - content: "\f1d9"; -} -.uk-icon-history:before { - content: "\f1da"; -} -.uk-icon-genderless:before, -.uk-icon-circle-thin:before { - content: "\f1db"; -} -.uk-icon-header:before { - content: "\f1dc"; -} -.uk-icon-paragraph:before { - content: "\f1dd"; -} -.uk-icon-sliders:before { - content: "\f1de"; -} -.uk-icon-share-alt:before { - content: "\f1e0"; -} -.uk-icon-share-alt-square:before { - content: "\f1e1"; -} -.uk-icon-bomb:before { - content: "\f1e2"; -} -.uk-icon-soccer-ball-o:before, -.uk-icon-futbol-o:before { - content: "\f1e3"; -} -.uk-icon-tty:before { - content: "\f1e4"; -} -.uk-icon-binoculars:before { - content: "\f1e5"; -} -.uk-icon-plug:before { - content: "\f1e6"; -} -.uk-icon-slideshare:before { - content: "\f1e7"; -} -.uk-icon-twitch:before { - content: "\f1e8"; -} -.uk-icon-yelp:before { - content: "\f1e9"; -} -.uk-icon-newspaper-o:before { - content: "\f1ea"; -} -.uk-icon-wifi:before { - content: "\f1eb"; -} -.uk-icon-calculator:before { - content: "\f1ec"; -} -.uk-icon-paypal:before { - content: "\f1ed"; -} -.uk-icon-google-wallet:before { - content: "\f1ee"; -} -.uk-icon-cc-visa:before { - content: "\f1f0"; -} -.uk-icon-cc-mastercard:before { - content: "\f1f1"; -} -.uk-icon-cc-discover:before { - content: "\f1f2"; -} -.uk-icon-cc-amex:before { - content: "\f1f3"; -} -.uk-icon-cc-paypal:before { - content: "\f1f4"; -} -.uk-icon-cc-stripe:before { - content: "\f1f5"; -} -.uk-icon-bell-slash:before { - content: "\f1f6"; -} -.uk-icon-bell-slash-o:before { - content: "\f1f7"; -} -.uk-icon-trash:before { - content: "\f1f8"; -} -.uk-icon-copyright:before { - content: "\f1f9"; -} -.uk-icon-at:before { - content: "\f1fa"; -} -.uk-icon-eyedropper:before { - content: "\f1fb"; -} -.uk-icon-paint-brush:before { - content: "\f1fc"; -} -.uk-icon-birthday-cake:before { - content: "\f1fd"; -} -.uk-icon-area-chart:before { - content: "\f1fe"; -} -.uk-icon-pie-chart:before { - content: "\f200"; -} -.uk-icon-line-chart:before { - content: "\f201"; -} -.uk-icon-lastfm:before { - content: "\f202"; -} -.uk-icon-lastfm-square:before { - content: "\f203"; -} -.uk-icon-toggle-off:before { - content: "\f204"; -} -.uk-icon-toggle-on:before { - content: "\f205"; -} -.uk-icon-bicycle:before { - content: "\f206"; -} -.uk-icon-bus:before { - content: "\f207"; -} -.uk-icon-ioxhost:before { - content: "\f208"; -} -.uk-icon-angellist:before { - content: "\f209"; -} -.uk-icon-cc:before { - content: "\f20a"; -} -.uk-icon-shekel:before, -.uk-icon-sheqel:before, -.uk-icon-ils:before { - content: "\f20b"; -} -.uk-icon-meanpath:before { - content: "\f20c"; -} -.uk-icon-buysellads:before { - content: "\f20d"; -} -.uk-icon-connectdevelop:before { - content: "\f20e"; -} -.uk-icon-dashcube:before { - content: "\f210"; -} -.uk-icon-forumbee:before { - content: "\f211"; -} -.uk-icon-leanpub:before { - content: "\f212"; -} -.uk-icon-sellsy:before { - content: "\f213"; -} -.uk-icon-shirtsinbulk:before { - content: "\f214"; -} -.uk-icon-simplybuilt:before { - content: "\f215"; -} -.uk-icon-skyatlas:before { - content: "\f216"; -} -.uk-icon-cart-plus:before { - content: "\f217"; -} -.uk-icon-cart-arrow-down:before { - content: "\f218"; -} -.uk-icon-diamond:before { - content: "\f219"; -} -.uk-icon-ship:before { - content: "\f21a"; -} -.uk-icon-user-secret:before { - content: "\f21b"; -} -.uk-icon-motorcycle:before { - content: "\f21c"; -} -.uk-icon-street-view:before { - content: "\f21d"; -} -.uk-icon-heartbeat:before { - content: "\f21e"; -} -.uk-icon-venus:before { - content: "\f221"; -} -.uk-icon-mars:before { - content: "\f222"; -} -.uk-icon-mercury:before { - content: "\f223"; -} -.uk-icon-transgender:before { - content: "\f224"; -} -.uk-icon-transgender-alt:before { - content: "\f225"; -} -.uk-icon-venus-double:before { - content: "\f226"; -} -.uk-icon-mars-double:before { - content: "\f227"; -} -.uk-icon-venus-mars:before { - content: "\f228"; -} -.uk-icon-mars-stroke:before { - content: "\f229"; -} -.uk-icon-mars-stroke-v:before { - content: "\f22a"; -} -.uk-icon-mars-stroke-h:before { - content: "\f22b"; -} -.uk-icon-neuter:before { - content: "\f22c"; -} -.uk-icon-facebook-official:before { - content: "\f230"; -} -.uk-icon-pinterest-p:before { - content: "\f231"; -} -.uk-icon-whatsapp:before { - content: "\f232"; -} -.uk-icon-server:before { - content: "\f233"; -} -.uk-icon-user-plus:before { - content: "\f234"; -} -.uk-icon-user-times:before { - content: "\f235"; -} -.uk-icon-hotel:before, -.uk-icon-bed:before { - content: "\f236"; -} -.uk-icon-viacoin:before { - content: "\f237"; -} -.uk-icon-train:before { - content: "\f238"; -} -.uk-icon-subway:before { - content: "\f239"; -} -.uk-icon-medium-logo:before { - content: "\f23a"; -} -/* ======================================================================== - Component: Close - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-close::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Remove default `button` padding and background color - * 8. Style - */ -.uk-close { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: inherit; - /* 6 */ - text-transform: none; - /* 7. */ - padding: 0; - background: transparent; - /* 8 */ - display: inline-block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - line-height: 20px; - text-align: center; - vertical-align: middle; - opacity: 0.3; -} -/* Icon */ -.uk-close:after { - display: block; - content: "\f00d"; - font-family: FontAwesome; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-close:hover, -.uk-close:focus { - opacity: 0.5; - /* 2 */ - outline: none; - /* 3 */ - color: inherit; - text-decoration: none; - cursor: pointer; -} -/* Modifier - ========================================================================== */ -.uk-close-alt { - padding: 2px; - border-radius: 50%; - background: #ffffff; - opacity: 1; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 6px rgba(0, 0, 0, 0.3); -} -/* Hover */ -.uk-close-alt:hover, -.uk-close-alt:focus { - opacity: 1; -} -/* Icon */ -.uk-close-alt:after { - opacity: 0.5; -} -.uk-close-alt:hover:after, -.uk-close-alt:focus:after { - opacity: 0.8; -} -/* ======================================================================== - Component: Badge - ========================================================================== */ -.uk-badge { - display: inline-block; - padding: 0 5px; - background: #00a8e6; - font-size: 10px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - text-align: center; - vertical-align: middle; - text-transform: none; - border: 1px solid rgba(0, 0, 0, 0.06); - border-radius: 2px; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); -} -/* - * Keep color when badge is a link - */ -a.uk-badge:hover { - color: #ffffff; -} -/* Modifier: `uk-badge-notification`; - ========================================================================== */ -.uk-badge-notification { - -moz-box-sizing: border-box; - box-sizing: border-box; - min-width: 18px; - border-radius: 500px; - font-size: 12px; - line-height: 18px; -} -/* Color modifier - ========================================================================== */ -/* - * Modifier: `uk-badge-success` - */ -.uk-badge-success { - background-color: #8cc14c; -} -/* - * Modifier: `uk-badge-warning` - */ -.uk-badge-warning { - background-color: #faa732; -} -/* - * Modifier: `uk-badge-danger` - */ -.uk-badge-danger { - background-color: #da314b; -} -/* ======================================================================== - Component: Alert - ========================================================================== */ -.uk-alert { - margin-bottom: 15px; - padding: 10px; - background: #ebf7fd; - color: #2d7091; - border: 1px solid rgba(45, 112, 145, 0.3); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Add margin if adjacent element - */ -* + .uk-alert { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-alert > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-alert h1, -.uk-alert h2, -.uk-alert h3, -.uk-alert h4, -.uk-alert h5, -.uk-alert h6 { - color: inherit; -} -/* Close in alert - ========================================================================== */ -.uk-alert > .uk-close:first-child { - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-alert > .uk-close:first-child + * { - margin-top: 0; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-alert-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-alert-warning` - ========================================================================== */ -.uk-alert-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-alert-danger` - ========================================================================== */ -.uk-alert-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} -/* Modifier: `uk-alert-large` - ========================================================================== */ -.uk-alert-large { - padding: 20px; -} -.uk-alert-large > .uk-close:first-child { - margin: -10px -10px 0 0; -} -/* ======================================================================== - Component: Thumbnail - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Responsive behavior - * 3. Corrects `max-width` behavior sed - * 4. Required for `figure` element - * 5. Style - */ -.uk-thumbnail { - /* 1 */ - display: inline-block; - /* 2 */ - max-width: 100%; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - margin: 0; - /* 4 */ - padding: 4px; - border: 1px solid #dddddd; - background: #ffffff; - border-radius: 4px; -} -/* - * Hover state for `a` elements - * 1. Apply hover style also to focus state - * 2. Needed for caption - * 3. Remove default focus style - */ -a.uk-thumbnail:hover, -a.uk-thumbnail:focus { - border-color: #aaaaaa; - background-color: #ffffff; - /* 2 */ - text-decoration: none; - /* 3 */ - outline: none; -} -/* Caption - ========================================================================== */ -.uk-thumbnail-caption { - padding-top: 4px; - text-align: center; - color: #444444; -} -/* Sizes - ========================================================================== */ -.uk-thumbnail-mini { - width: 150px; -} -.uk-thumbnail-small { - width: 200px; -} -.uk-thumbnail-medium { - width: 300px; -} -.uk-thumbnail-large { - width: 400px; -} -.uk-thumbnail-expand, -.uk-thumbnail-expand > img { - width: 100%; -} -/* ======================================================================== - Component: Overlay - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Set max-width for responsive images to prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome - * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit - * 7. Reset margin - */ -.uk-overlay { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; - /* 5 */ - overflow: hidden; - /* 6 */ - -webkit-transform: translateZ(0); - /* 7 */ - margin: 0; -} -/* 6 for Safari */ -.uk-overlay.uk-border-circle { - -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); -} -/* - * Remove margin from content - */ -.uk-overlay > :first-child { - margin-bottom: 0; -} -/* Sub-object `uk-overlay-panel` - ========================================================================== */ -/* - * 1. Position cover - * 2. Style - */ -.uk-overlay-panel { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 20px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-panel > :last-child, -.uk-overlay-panel.uk-flex > * > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-overlay-panel h1, -.uk-overlay-panel h2, -.uk-overlay-panel h3, -.uk-overlay-panel h4, -.uk-overlay-panel h5, -.uk-overlay-panel h6 { - color: inherit; -} -.uk-overlay-panel a:not([class]) { - color: inherit; - text-decoration: underline; -} -.uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { - color: inherit; -} -/* Sub-object `uk-overlay-hover` and `uk-overlay-active` - ========================================================================== */ -.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -.uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -/* Modifier `uk-overlay-background` - ========================================================================== */ -.uk-overlay-background { - background: rgba(0, 0, 0, 0.5); -} -/* Modifier `uk-overlay-image` - ========================================================================== */ -/* - * Reset panel - */ -.uk-overlay-image { - padding: 0; -} -/* Position modifiers - ========================================================================== */ -.uk-overlay-top { - bottom: auto; -} -.uk-overlay-bottom { - top: auto; -} -.uk-overlay-left { - right: auto; -} -.uk-overlay-right { - left: auto; -} -/* Sub-object `uk-overlay-icon` - ========================================================================== */ -.uk-overlay-icon:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* Transitions - ========================================================================== */ -.uk-overlay-fade, -.uk-overlay-scale, -.uk-overlay-spin, -.uk-overlay-grayscale, -.uk-overlay-blur, -[class*='uk-overlay-slide'] { - transition-duration: 0.3s; - transition-timing-function: ease-out; - transition-property: opacity transform filter; -} -.uk-overlay-active .uk-overlay-fade, -.uk-overlay-active .uk-overlay-scale, -.uk-overlay-active .uk-overlay-spin, -.uk-overlay-active [class*='uk-overlay-slide'] { - transition-duration: 0.8s; -} -/* - * Fade - */ -.uk-overlay-fade { - opacity: 0.7; -} -.uk-overlay-hover:hover .uk-overlay-fade, -.uk-overlay-active .uk-active > .uk-overlay-fade { - opacity: 1; -} -/* - * Scale - */ -.uk-overlay-scale { - -webkit-transform: scale(1); - transform: scale(1); -} -.uk-overlay-hover:hover .uk-overlay-scale, -.uk-overlay-active .uk-active > .uk-overlay-scale { - -webkit-transform: scale(1.1); - transform: scale(1.1); -} -/* - * Spin - */ -.uk-overlay-spin { - -webkit-transform: scale(1) rotate(0deg); - transform: scale(1) rotate(0deg); -} -.uk-overlay-hover:hover .uk-overlay-spin, -.uk-overlay-active .uk-active > .uk-overlay-spin { - -webkit-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); -} -/* - * Grayscale - */ -.uk-overlay-grayscale { - -webkit-filter: grayscale(100%); - filter: grayscale(100%); -} -.uk-overlay-hover:hover .uk-overlay-grayscale, -.uk-overlay-active .uk-active > .uk-overlay-grayscale { - -webkit-filter: grayscale(0%); - filter: grayscale(0%); -} -/* - * Slide - */ -[class*='uk-overlay-slide'] { - opacity: 0; -} -/* Top */ -.uk-overlay-slide-top { - -webkit-transform: translateY(-100%); - transform: translateY(-100%); -} -/* Bottom */ -.uk-overlay-slide-bottom { - -webkit-transform: translateY(100%); - transform: translateY(100%); -} -/* Left */ -.uk-overlay-slide-left { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} -/* Right */ -.uk-overlay-slide-right { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Hover */ -.uk-overlay-hover:hover [class*='uk-overlay-slide'], -.uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { - opacity: 1; - -webkit-transform: translateX(0) translateY(0); - transform: translateX(0) translateY(0); -} -/* DEPRECATED - * Sub-object `uk-overlay-area` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-area { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - background: rgba(0, 0, 0, 0.3); - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-area, -.uk-overlay.uk-hover .uk-overlay-area, -.uk-overlay-toggle:hover .uk-overlay-area, -.uk-overlay-toggle.uk-hover .uk-overlay-area { - opacity: 1; -} -/* - * Icon - */ -.uk-overlay-area:empty:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* DEPRECATED - * Sub-object `uk-overlay-area-content` - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - * Needed for Firefox - */ -.uk-overlay-area:not(:empty) { - font-size: 0.001px; -} -/* - * 1. Needed for vertical alignment - */ -.uk-overlay-area:not(:empty):before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * 1. Set vertical alignment - * 2. Reset whitespace hack - * 3. Set horizontal alignment - * 4. Set style - */ -.uk-overlay-area-content { - /* 1 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - vertical-align: middle; - /* 2 */ - font-size: 1rem; - /* 3 */ - text-align: center; - /* 4 */ - padding: 0 15px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-area-content > :last-child { - margin-bottom: 0; -} -/* - * Links in overlay area - */ -.uk-overlay-area-content a:not([class]), -.uk-overlay-area-content a:not([class]):hover { - color: inherit; -} -/* DEPRECATED - * Sub-object `uk-overlay-caption` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-caption { - /* 1 */ - position: absolute; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 15px; - background: rgba(0, 0, 0, 0.5); - color: #ffffff; - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-caption, -.uk-overlay.uk-hover .uk-overlay-caption, -.uk-overlay-toggle:hover .uk-overlay-caption, -.uk-overlay-toggle.uk-hover .uk-overlay-caption { - opacity: 1; -} -/* ======================================================================== - Component: Animation - ========================================================================== */ -[class*='uk-animation-'] { - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} -/* Hide animated element if scrollspy is used */ -@media screen { - [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { - opacity: 0; - } -} -/* - * Fade - * Higher specificity (!important) needed because of reverse modifier - */ -.uk-animation-fade { - -webkit-animation-name: uk-fade; - animation-name: uk-fade; - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; - -webkit-animation-timing-function: linear !important; - animation-timing-function: linear !important; -} -/* - * Fade with scale - */ -.uk-animation-scale-up { - -webkit-animation-name: uk-fade-scale-02; - animation-name: uk-fade-scale-02; -} -.uk-animation-scale-down { - -webkit-animation-name: uk-fade-scale-18; - animation-name: uk-fade-scale-18; -} -/* - * Fade with slide - */ -.uk-animation-slide-top { - -webkit-animation-name: uk-fade-top; - animation-name: uk-fade-top; -} -.uk-animation-slide-bottom { - -webkit-animation-name: uk-fade-bottom; - animation-name: uk-fade-bottom; -} -.uk-animation-slide-left { - -webkit-animation-name: uk-fade-left; - animation-name: uk-fade-left; -} -.uk-animation-slide-right { - -webkit-animation-name: uk-fade-right; - animation-name: uk-fade-right; -} -/* - * Scale - */ -.uk-animation-scale { - -webkit-animation-name: uk-scale-12; - animation-name: uk-scale-12; -} -/* - * Shake - */ -.uk-animation-shake { - -webkit-animation-name: uk-shake; - animation-name: uk-shake; -} -/* Direction modifiers - ========================================================================== */ -.uk-animation-reverse { - -webkit-animation-direction: reverse; - animation-direction: reverse; - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} -/* Duration modifiers -========================================================================== */ -.uk-animation-15 { - -webkit-animation-duration: 15s; - animation-duration: 15s; -} -/* Origin modifiers -========================================================================== */ -.uk-animation-top-left { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -.uk-animation-top-center { - -webkit-transform-origin: 50% 0; - transform-origin: 50% 0; -} -.uk-animation-top-right { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} -.uk-animation-middle-left { - -webkit-transform-origin: 0 50%; - transform-origin: 0 50%; -} -.uk-animation-middle-right { - -webkit-transform-origin: 100% 50%; - transform-origin: 100% 50%; -} -.uk-animation-bottom-left { - -webkit-transform-origin: 0 100%; - transform-origin: 0 100%; -} -.uk-animation-bottom-center { - -webkit-transform-origin: 50% 100%; - transform-origin: 50% 100%; -} -.uk-animation-bottom-right { - -webkit-transform-origin: 100% 100%; - transform-origin: 100% 100%; -} -/* Sub-object: `uk-animation-hover` -========================================================================== */ -/* - * Enable animation only on hover - * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` - */ -.uk-animation-hover:not(:hover), -.uk-animation-hover:not(:hover) [class*='uk-animation-'], -.uk-touch .uk-animation-hover:not(.uk-hover), -.uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { - -webkit-animation-name: none; - animation-name: none; -} -/* Keyframes: Fade - * Used by dropdown, datepicker and slideshow component - ========================================================================== */ -@-webkit-keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -/* Keyframes: Fade with slide - ========================================================================== */ -/* - * Top - */ -@-webkit-keyframes uk-fade-top { - 0% { - opacity: 0; - -webkit-transform: translateY(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-top { - 0% { - opacity: 0; - transform: translateY(-100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom - */ -@-webkit-keyframes uk-fade-bottom { - 0% { - opacity: 0; - -webkit-transform: translateY(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-bottom { - 0% { - opacity: 0; - transform: translateY(100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Left - */ -@-webkit-keyframes uk-fade-left { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-left { - 0% { - opacity: 0; - transform: translateX(-100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-fade-right { - 0% { - opacity: 0; - -webkit-transform: translateX(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-right { - 0% { - opacity: 0; - transform: translateX(100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* Keyframes: Fade with scale - ========================================================================== */ -/* - * Scale by 0.2 - */ -@-webkit-keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - -webkit-transform: scale(0.2); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - transform: scale(0.2); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.5 - * Used by slideshow component - */ -@-webkit-keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - -webkit-transform: scale(1.5); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - transform: scale(1.5); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.8 - */ -@-webkit-keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - -webkit-transform: scale(1.8); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - transform: scale(1.8); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* Keyframes: Slide - * Used by slideshow component - ========================================================================== */ -/* - * Left - */ -@-webkit-keyframes uk-slide-left { - 0% { - -webkit-transform: translateX(-100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-slide-right { - 0% { - -webkit-transform: translateX(100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Left third - */ -@-webkit-keyframes uk-slide-left-33 { - 0% { - -webkit-transform: translateX(33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left-33 { - 0% { - transform: translateX(33%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right third - */ -@-webkit-keyframes uk-slide-right-33 { - 0% { - -webkit-transform: translateX(-33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right-33 { - 0% { - transform: translateX(-33%); - } - 100% { - transform: translateX(0); - } -} -/* Keyframes: Scale - ========================================================================== */ -@-webkit-keyframes uk-scale-12 { - 0% { - -webkit-transform: scale(1.2); - } - 100% { - -webkit-transform: scale(1); - } -} -@keyframes uk-scale-12 { - 0% { - transform: scale(1.2); - } - 100% { - transform: scale(1); - } -} -/* Keyframes: Rotate - * Used by icon component - ========================================================================== */ -@-webkit-keyframes uk-rotate { - 0% { - -webkit-transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - } -} -@keyframes uk-rotate { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} -/* Keyframes: Shake - ========================================================================== */ -@-webkit-keyframes uk-shake { - 0%, - 100% { - -webkit-transform: translateX(0); - } - 10% { - -webkit-transform: translateX(-9px); - } - 20% { - -webkit-transform: translateX(8px); - } - 30% { - -webkit-transform: translateX(-7px); - } - 40% { - -webkit-transform: translateX(6px); - } - 50% { - -webkit-transform: translateX(-5px); - } - 60% { - -webkit-transform: translateX(4px); - } - 70% { - -webkit-transform: translateX(-3px); - } - 80% { - -webkit-transform: translateX(2px); - } - 90% { - -webkit-transform: translateX(-1px); - } -} -@keyframes uk-shake { - 0%, - 100% { - transform: translateX(0); - } - 10% { - transform: translateX(-9px); - } - 20% { - transform: translateX(8px); - } - 30% { - transform: translateX(-7px); - } - 40% { - transform: translateX(6px); - } - 50% { - transform: translateX(-5px); - } - 60% { - transform: translateX(4px); - } - 70% { - transform: translateX(-3px); - } - 80% { - transform: translateX(2px); - } - 90% { - transform: translateX(-1px); - } -} -/* Keyframes: Fade with slide fixed - * Used by dropdown and search component - ========================================================================== */ -/* - * Top fixed - */ -@-webkit-keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(-10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - transform: translateY(-10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom fixed - */ -@-webkit-keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - transform: translateY(10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* ======================================================================== - Component: Dropdown - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set position - * 3. Box-sizing is needed for `uk-dropdown-justify` - * 4. Set style - * 5. Reset button group whitespace hack - */ -.uk-dropdown { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - top: 100%; - left: 0; - z-index: 1020; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 4 */ - width: 200px; - margin-top: 5px; - padding: 15px; - background: #ffffff; - color: #444444; - /* 5 */ - font-size: 1rem; - vertical-align: top; - border: 1px solid #dddddd; - border-radius: 4px; -} -/* - * 1. Show dropdown - * 2. Set animation - * 3. Needed for scale animation - */ -.uk-open > .uk-dropdown { - /* 1 */ - display: block; - /* 2 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 3 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Alignment modifiers - ========================================================================== */ -/* - * Modifier `uk-dropdown-flip` - */ -.uk-dropdown-flip { - left: auto; - right: 0; -} -/* - * Modifier `uk-dropdown-up` - */ -.uk-dropdown-up { - top: auto; - bottom: 100%; - margin-top: auto; - margin-bottom: 5px; -} -/* Nav in dropdown - ========================================================================== */ -.uk-dropdown .uk-nav { - margin: 0 -15px; -} -/* Grid and panel in dropdown - ========================================================================== */ -/* -* Vertical gutter -*/ -/* - * Grid - * Higher specificity to override large gutter - */ -.uk-grid .uk-dropdown-grid + .uk-dropdown-grid { - margin-top: 15px; -} -/* Panels */ -.uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Horizontal gutter - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { - margin-left: -15px; - margin-right: -15px; - } - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { - padding-left: 15px; - padding-right: 15px; - } - /* - * Column divider - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - border-left: 1px solid #dddddd; - } - /* - * Width multiplier for dropdown columns - */ - .uk-dropdown-width-2:not(.uk-dropdown-stack) { - width: 400px; - } - .uk-dropdown-width-3:not(.uk-dropdown-stack) { - width: 600px; - } - .uk-dropdown-width-4:not(.uk-dropdown-stack) { - width: 800px; - } - .uk-dropdown-width-5:not(.uk-dropdown-stack) { - width: 1000px; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Stack columns and take full width - */ - .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; - } - /* - * Vertical gutter - */ - .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; - } -} -/* -* Stack grid columns -*/ -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; -} -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; -} -/* Modifier `uk-dropdown-small` - ========================================================================== */ -/* - * Set min-width and text expands dropdown if needed - */ -.uk-dropdown-small { - min-width: 150px; - width: auto; - padding: 5px; - white-space: nowrap; -} -/* - * Nav in dropdown - */ -.uk-dropdown-small .uk-nav { - margin: 0 -5px; -} -/* Modifier: `uk-dropdown-navbar` - ========================================================================== */ -.uk-dropdown-navbar { - margin-top: 6px; - background: #ffffff; - color: #444444; - left: -1px; -} -.uk-open > .uk-dropdown-navbar { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* Modifier `uk-dropdown-scrollable` - ========================================================================== */ -/* - * Usefull for long lists - */ -.uk-dropdown-scrollable { - overflow-y: auto; - max-height: 200px; -} -.uk-dropdown-navbar.uk-dropdown-flip { - left: auto; -} -/* ======================================================================== - Component: Modal - ========================================================================== */ -/* - * This is the modal overlay and modal dialog container - * 1. Hide by default - * 2. Set fixed position - * 3. Allow scrolling for the modal dialog - * 4. Mask the background page - * 5. Fade-in transition - * 6. Deactivate browser history navigation in IE11 - * 7. force hardware acceleration to prevent browser rendering hiccups - */ -.uk-modal { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1010; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - background: rgba(0, 0, 0, 0.6); - /* 5 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - /* 6 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; - /* 7 */ - -webkit-transform: translateZ(0); - transform: translateZ(0); -} -/* - * Open state - */ -.uk-modal.uk-open { - opacity: 1; -} -/* - * Prevents duplicated scrollbar caused by 4. - */ -.uk-modal-page, -.uk-modal-page body { - overflow: hidden; -} -/* Sub-object: `uk-modal-dialog` - ========================================================================== */ -/* - * 1. Create position context for caption, spinner and close button - * 2. Set box sizing - * 3. Set style - * 4. Slide-in transition - */ -.uk-modal-dialog { - /* 1 */ - position: relative; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 50px auto; - padding: 20px; - width: 600px; - max-width: 100%; - max-width: calc(100% - 20px); - /* 3 */ - background: #ffffff; - /* 4 */ - opacity: 0; - -webkit-transform: translateY(-100px); - transform: translateY(-100px); - -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; - transition: opacity 0.3s linear, transform 0.3s ease-out; - border-radius: 4px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Fit in small screen - */ - .uk-modal-dialog { - width: auto; - margin: 10px auto; - } -} -/* - * Open state - */ -.uk-open .uk-modal-dialog { - /* 4 */ - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); -} -/* - * Remove margin from the last-child - */ -.uk-modal-dialog > :not([class*='uk-modal-']):last-child { - margin-bottom: 0; -} -/* Close in modal - ========================================================================== */ -.uk-modal-dialog > .uk-close:first-child { - margin: -10px -10px 0 0; - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { - margin-top: 0; -} -/* Modifier: `uk-modal-dialog-lightbox` - ========================================================================== */ -.uk-modal-dialog-lightbox { - margin: 15px auto; - padding: 0; - max-width: 95%; - max-width: calc(100% - 30px); - border-radius: 0; -} -/* - * Close button - */ -.uk-modal-dialog-lightbox > .uk-close:first-child { - position: absolute; - top: -12px; - right: -12px; - margin: 0; - float: none; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-modal-dialog-lightbox > .uk-close:first-child { - top: -7px; - right: -7px; - } -} -/* Modifier: `uk-modal-dialog-large` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-modal-dialog-large { - width: 930px; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-modal-dialog-large { - width: 1130px; - } -} -/* Sub-Object: `uk-modal-header` and `uk-modal-footer` - ========================================================================== */ -.uk-modal-header { - margin-bottom: 15px; - margin: -20px -20px 15px -20px; - padding: 20px; - border-bottom: 1px solid #dddddd; - border-radius: 4px 4px 0 0; - background: #fafafa; -} -.uk-modal-footer { - margin-top: 15px; - margin: 15px -20px -20px -20px; - padding: 20px; - border-top: 1px solid #dddddd; - border-radius: 0 0 4px 4px; - background: #fafafa; -} -/* - * Remove margin from the last-child - */ -.uk-modal-header > :last-child, -.uk-modal-footer > :last-child { - margin-bottom: 0; -} -/* Sub-Object: `uk-modal-caption` - ========================================================================== */ -.uk-modal-caption { - position: absolute; - left: 0; - right: 0; - bottom: -20px; - margin-bottom: -10px; - color: #ffffff; - text-align: center; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* Sub-Object: `uk-modal-spinner` - ========================================================================== */ -.uk-modal-spinner { - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - font-size: 25px; - color: #ddd; -} -.uk-modal-spinner:after { - content: "\f110"; - font-family: FontAwesome; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* ======================================================================== - Component: Off-canvas - ========================================================================== */ -/* - * This is the offcanvas overlay and bar container - * 1. Hide by default - * 2. Set fixed position - * 3. Deactivate browser touch actions in IE11 - * 4. Mask the background page - */ -.uk-offcanvas { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1000; - /* 3 */ - touch-action: none; - /* 4 */ - background: rgba(0, 0, 0, 0.1); -} -.uk-offcanvas.uk-active { - display: block; -} -/* Sub-object `uk-offcanvas-page` - ========================================================================== */ -/* - * Prepares the whole HTML page to slide-out - * 1. Fix the main page and disallow scrolling - * 2. Side-out transition - */ -.uk-offcanvas-page { - /* 1 */ - position: fixed; - /* 2 */ - -webkit-transition: margin-left 0.3s ease-in-out; - transition: margin-left 0.3s ease-in-out; -} -/* Sub-object `uk-offcanvas-bar` - ========================================================================== */ -/* - * This is the offcanvas bar - * 1. Set fixed position - * 2. Size and style - * 3. Allow scrolling - * 4. Side-out transition - * 5. Deavtivate scroll chaining in IE11 - */ -.uk-offcanvas-bar { - /* 1 */ - position: fixed; - top: 0; - bottom: 0; - left: 0; - -webkit-transform: translateX(-100%); - transform: translateX(-100%); - z-index: 1001; - /* 2 */ - width: 270px; - max-width: 100%; - background: #333333; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - /* 5 */ - -ms-scroll-chaining: none; -} -.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { - -webkit-transform: translateX(0%); - transform: translateX(0%); -} -/* Modifier `uk-offcanvas-bar-flip` - ========================================================================== */ -.uk-offcanvas-bar-flip { - left: auto; - right: 0; - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Panel in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-panel { - margin: 20px 15px; - color: #777777; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -.uk-offcanvas .uk-panel-title { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]) { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]):hover { - color: #ffffff; -} -.uk-offcanvas-bar:after { - content: ""; - display: block; - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -.uk-offcanvas-bar-flip:after { - right: auto; - left: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -/* ======================================================================== - Component: Switcher - ========================================================================== */ -/* - * 1. Deactivate browser history navigation in IE11 - */ -.uk-switcher { - margin: 0; - padding: 0; - list-style: none; - /* 1 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; -} -/* - * Items - */ -.uk-switcher > :not(.uk-active) { - display: none; -} -/* ======================================================================== - Component: Text - ========================================================================== */ -/* Size modifiers - ========================================================================== */ -.uk-text-small { - font-size: 11px; - line-height: 16px; -} -.uk-text-large { - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Weight modifiers - ========================================================================== */ -.uk-text-bold { - font-weight: bold; -} -/* Color modifiers - ========================================================================== */ -.uk-text-muted { - color: #999999 !important; -} -.uk-text-primary { - color: #2d7091 !important; -} -.uk-text-success { - color: #659f13 !important; -} -.uk-text-warning { - color: #e28327 !important; -} -.uk-text-danger { - color: #d85030 !important; -} -.uk-text-contrast { - color: #ffffff !important; -} -/* Alignment modifiers - ========================================================================== */ -.uk-text-left { - text-align: left !important; -} -.uk-text-right { - text-align: right !important; -} -.uk-text-center { - text-align: center !important; -} -.uk-text-justify { - text-align: justify !important; -} -.uk-text-top { - vertical-align: top !important; -} -.uk-text-middle { - vertical-align: middle !important; -} -.uk-text-bottom { - vertical-align: bottom !important; -} -/* Only tablets portrait and smaller */ -@media (max-width: 959px) { - .uk-text-center-medium { - text-align: center !important; - } - .uk-text-left-medium { - text-align: left !important; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-text-center-small { - text-align: center !important; - } - .uk-text-left-small { - text-align: left !important; - } -} -/* Wrap modifiers - ========================================================================== */ -/* - * Prevent text from wrapping onto multiple lines - */ -.uk-text-nowrap { - white-space: nowrap; -} -/* - * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis - */ -.uk-text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* - * Break strings if their length exceeds the width of their container - */ -.uk-text-break { - word-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; -} -/* ======================================================================== - Component: Utility - ========================================================================== */ -/* Container - ========================================================================== */ -.uk-container { - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 980px; - padding: 0 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-container { - max-width: 1200px; - padding: 0 35px; - } -} -/* - * Micro clearfix - */ -.uk-container:before, -.uk-container:after { - content: ""; - display: table; -} -.uk-container:after { - clear: both; -} -/* - * Center container - */ -.uk-container-center { - margin-left: auto; - margin-right: auto; -} -/* Clearing - ========================================================================== */ -/* - * Micro clearfix -* `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit - * `table` is used again with `:after` because `clear` only works with block elements. - * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari - */ -.uk-clearfix:before { - content: ""; - display: table-cell; -} -.uk-clearfix:after { - content: ""; - display: table; - clear: both; -} -/* - * Create a new block formatting context - */ -.uk-nbfc { - overflow: hidden; -} -.uk-nbfc-alt { - display: table-cell; - width: 10000px; -} -/* Alignment of block elements - ========================================================================== */ -/* - * Float blocks - * 1. Prevent content overflow on small devices - */ -.uk-float-left { - float: left; -} -.uk-float-right { - float: right; -} -/* 1 */ -[class*='uk-float-'] { - max-width: 100%; -} -/* Alignment of images and objects - ========================================================================== */ -/* - * Alignment - */ -[class*='uk-align-'] { - display: block; - margin-bottom: 15px; -} -.uk-align-left { - margin-right: 15px; - float: left; -} -.uk-align-right { - margin-left: 15px; - float: right; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-align-medium-left { - margin-right: 15px; - margin-bottom: 15px; - float: left; - } - .uk-align-medium-right { - margin-left: 15px; - margin-bottom: 15px; - float: right; - } -} -.uk-align-center { - margin-left: auto; - margin-right: auto; -} -/* Vertical alignment - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - */ -.uk-vertical-align { - font-size: 0.001px; -} -/* - * The `uk-vertical-align` container needs a specific height - */ -.uk-vertical-align:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * Sub-object which can have any height - * 1. Reset whitespace hack - */ -.uk-vertical-align-middle, -.uk-vertical-align-bottom { - display: inline-block; - max-width: 100%; - /* 1 */ - font-size: 1rem; -} -.uk-vertical-align-middle { - vertical-align: middle; -} -.uk-vertical-align-bottom { - vertical-align: bottom; -} -/* Height - ========================================================================== */ -/* - * More robust if padding and border are used - */ -[class*='uk-height'] { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Useful to extend the `html` and `body` element to the full height of the page. - */ -.uk-height-1-1 { - height: 100%; -} -/* - * Useful to create image teasers - */ -.uk-height-viewport { - height: 100vh; - min-height: 600px; -} -/* Responsive objects - * Note: Images are already responsive by default, see Base component - ========================================================================== */ -/* - * 1. Corrects `max-width` and `max-height` behavior if padding and border are used - */ -.uk-responsive-width, -.uk-responsive-height { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * `important` needed to override `uk-img-preserve img` - */ -.uk-responsive-width { - max-width: 100% !important; - height: auto; -} -/* - * Responsiveness: Sets a maximum height relative to the parent and auto scales the width - * Only works if the parent element has a fixed height. - */ -.uk-responsive-height { - max-height: 100%; - width: auto; -} -/* Margin - ========================================================================== */ -/* - * Create a block with the same margin of a paragraph - * Add margin if adjacent element - */ -.uk-margin { - margin-bottom: 15px; -} -* + .uk-margin { - margin-top: 15px; -} -.uk-margin-top { - margin-top: 15px !important; -} -.uk-margin-bottom { - margin-bottom: 15px !important; -} -.uk-margin-left { - margin-left: 15px !important; -} -.uk-margin-right { - margin-right: 15px !important; -} -/* - * Larger margins - */ -.uk-margin-large { - margin-bottom: 50px; -} -* + .uk-margin-large { - margin-top: 50px; -} -.uk-margin-large-top { - margin-top: 50px !important; -} -.uk-margin-large-bottom { - margin-bottom: 50px !important; -} -.uk-margin-large-left { - margin-left: 50px !important; -} -.uk-margin-large-right { - margin-right: 50px !important; -} -/* - * Smaller margins - */ -.uk-margin-small { - margin-bottom: 5px; -} -* + .uk-margin-small { - margin-top: 5px; -} -.uk-margin-small-top { - margin-top: 5px !important; -} -.uk-margin-small-bottom { - margin-bottom: 5px !important; -} -.uk-margin-small-left { - margin-left: 5px !important; -} -.uk-margin-small-right { - margin-right: 5px !important; -} -/* - * Remove margins - */ -.uk-margin-remove { - margin: 0 !important; -} -.uk-margin-top-remove { - margin-top: 0 !important; -} -.uk-margin-bottom-remove { - margin-bottom: 0 !important; -} -/* Padding - ========================================================================== */ -.uk-padding-remove { - padding: 0 !important; -} -.uk-padding-top-remove { - padding-top: 0 !important; -} -.uk-padding-bottom-remove { - padding-bottom: 0 !important; -} -.uk-padding-vertical-remove { - padding-top: 0 !important; - padding-bottom: 0 !important; -} -/* Border - ========================================================================== */ -.uk-border-circle { - border-radius: 50%; -} -.uk-border-rounded { - border-radius: 5px; -} -/* Headings - ========================================================================== */ -.uk-heading-large { - font-size: 36px; - line-height: 42px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-heading-large { - font-size: 52px; - line-height: 64px; - } -} -/* Link - ========================================================================== */ -/* - * Let links appear in default text color - */ -.uk-link-muted, -.uk-link-muted a { - color: #444444; -} -.uk-link-muted:hover, -.uk-link-muted a:hover { - color: #444444; -} -/* - * Reset link style - */ -.uk-link-reset, -.uk-link-reset a, -.uk-link-reset:hover, -.uk-link-reset a:hover, -.uk-link-reset:focus, -.uk-link-reset a:focus { - color: inherit; - text-decoration: none; -} -/* Scrollable - ========================================================================== */ -/* - * Enable scrolling for preformatted text - */ -.uk-scrollable-text { - height: 300px; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - resize: both; -} -/* - * Box with scrolling enabled - */ -.uk-scrollable-box { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 170px; - padding: 10px; - border: 1px solid #dddddd; - overflow: auto; - -webkit-overflow-scrolling: touch; - resize: both; - border-radius: 3px; -} -.uk-scrollable-box > :last-child { - margin-bottom: 0; -} -/* Overflow - ========================================================================== */ -.uk-overflow-hidden { - overflow: hidden; -} -/* - * Enable scrollbars if content is clipped - */ -.uk-overflow-container { - overflow: auto; - -webkit-overflow-scrolling: touch; -} -.uk-overflow-container > :last-child { - margin-bottom: 0; -} -/* Position - ========================================================================== */ -.uk-position-absolute, -[class*='uk-position-top'], -[class*='uk-position-bottom'] { - position: absolute !important; -} -.uk-position-top { - top: 0; - width: 100%; -} -.uk-position-bottom { - bottom: 0; - width: 100%; -} -.uk-position-top-left { - top: 0; - left: 0; -} -.uk-position-top-right { - top: 0; - right: 0; -} -.uk-position-bottom-left { - bottom: 0; - left: 0; -} -.uk-position-bottom-right { - bottom: 0; - right: 0; -} -/* - * Cover - */ -.uk-position-cover { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} -/* - * Relative - */ -.uk-position-relative { - position: relative !important; -} -/* - * Z-index - */ -.uk-position-z-index { - z-index: 1; -} -/* Display - ========================================================================== */ -/* - * Display - */ -.uk-display-block { - display: block !important; -} -.uk-display-inline { - display: inline !important; -} -.uk-display-inline-block { - display: inline-block !important; -} -/* - * Visibility - * Avoids setting display to `block` so it works also with `inline-block` and `table` - */ -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-medium { - display: none !important; - } - .uk-hidden-large { - display: none !important; - } -} -/* Tablets portrait */ -@media (min-width: 768px) and (max-width: 959px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-large { - display: none !important ; - } - .uk-hidden-medium { - display: none !important; - } -} -/* Phone landscape and smaller*/ -@media (max-width: 767px) { - .uk-visible-medium { - display: none !important; - } - .uk-visible-large { - display: none !important; - } - .uk-hidden-small { - display: none !important; - } -} -/* Remove from the flow and screen readers on any device */ -.uk-hidden { - display: none !important; - visibility: hidden !important; -} -/* It's hidden, but still affects layout */ -.uk-invisible { - visibility: hidden !important; -} -/* Show on hover */ -.uk-visible-hover:hover .uk-hidden, -.uk-visible-hover:hover .uk-invisible { - display: block !important; - visibility: visible !important; -} -.uk-visible-hover-inline:hover .uk-hidden, -.uk-visible-hover-inline:hover .uk-invisible { - display: inline-block !important; - visibility: visible !important; -} -/* Hide on touch */ -.uk-touch .uk-hidden-touch, -.uk-notouch .uk-hidden-notouch { - display: none !important; -} -/* ======================================================================== - Component: Flex - ========================================================================== */ -.uk-flex { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -.uk-flex-inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; - display: inline-flex; -} -/* - * Fixes initial flex-shrink value in IE10 - */ -.uk-flex > *, -.uk-flex-inline > * { - -ms-flex-negative: 1; -} -/* Alignment - ========================================================================== */ -/* - * Vertical alignment - * Default value is `stretch` - */ -.uk-flex-top { - -ms-flex-align: start; - -webkit-align-items: flex-start; - align-items: flex-start; -} -.uk-flex-middle { - -ms-flex-align: center; - -webkit-align-items: center; - align-items: center; -} -.uk-flex-bottom { - -ms-flex-align: end; - -webkit-align-items: flex-end; - align-items: flex-end; -} -/* - * Horizontal alignment - * Default value is `flex-start` - */ -.uk-flex-center { - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} -.uk-flex-right { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; - justify-content: flex-end; -} -.uk-flex-space-between { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -} -.uk-flex-space-around { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; - justify-content: space-around; -} -/* Direction - ========================================================================== */ -.uk-flex-row-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; - flex-direction: row-reverse; -} -.uk-flex-column { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -.uk-flex-column-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; - flex-direction: column-reverse; -} -/* Wrap - ========================================================================== */ -.uk-flex-nowrap { - -ms-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - flex-wrap: nowrap; -} -.uk-flex-wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; -} -.uk-flex-wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} -/* - * Horizontal alignment - * Default value is `stretch` - */ -.uk-flex-wrap-top { - -ms-flex-line-pack: start; - -webkit-align-content: flex-start; - align-content: flex-start; -} -.uk-flex-wrap-middle { - -ms-flex-line-pack: center; - -webkit-align-content: center; - align-content: center; -} -.uk-flex-wrap-bottom { - -ms-flex-line-pack: end; - -webkit-align-content: flex-end; - align-content: flex-end; -} -.uk-flex-wrap-space-between { - -ms-flex-line-pack: justify; - -webkit-align-content: space-between; - align-content: space-between; -} -.uk-flex-wrap-space-around { - -ms-flex-line-pack: distribute; - -webkit-align-content: space-around; - align-content: space-around; -} -/* Item ordering - ========================================================================== */ -/* - * Default is 0 - */ -.uk-flex-order-first { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; -} -.uk-flex-order-last { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-flex-order-first-small { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-small { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-flex-order-first-medium { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-medium { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-flex-order-first-large { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-large { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-flex-order-first-xlarge { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-xlarge { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Item dimensions - ========================================================================== */ -/* - * Initial: 0 1 auto - * Content dimensions, but shrinks - */ -/* - * No Flex: 0 0 auto - * Content dimensions - */ -.uk-flex-item-none { - -ms-flex: none; - -webkit-flex: none; - flex: none; -} -/* - * Relative Flex: 1 1 auto - * Space is allocated considering content - * 1. Fixes flex-shrink value in IE10 - */ -.uk-flex-item-auto { - -ms-flex: auto; - -webkit-flex: auto; - flex: auto; - /* 1 */ - -ms-flex-negative: 1; -} -/* - * Absolute Flex: 1 1 0% - * Space is allocated solely based on flex - */ -.uk-flex-item-1 { - -ms-flex: 1; - -webkit-flex: 1; - flex: 1; -} -/* ======================================================================== - Component: Contrast - ========================================================================== */ -.uk-contrast { - color: #ffffff; -} -.uk-contrast a:not([class]), -.uk-contrast .uk-link { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast a:not([class]):hover, -.uk-contrast .uk-link:hover { - color: #ffffff; - text-decoration: underline; -} -.uk-contrast :not(pre) > code, -.uk-contrast :not(pre) > kbd, -.uk-contrast :not(pre) > samp { - color: #ffffff; - border-color: rgba(255, 255, 255, 0.2); - background: rgba(255, 255, 255, 0.1); -} -.uk-contrast em { - color: #ffffff; -} -.uk-contrast h1, -.uk-contrast h2, -.uk-contrast h3, -.uk-contrast h4, -.uk-contrast h5, -.uk-contrast h6 { - color: #ffffff; -} -.uk-contrast hr { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav li > a, -.uk-contrast .uk-nav li > a:hover { - text-decoration: none; -} -.uk-contrast .uk-nav-side > li > a { - color: #ffffff; -} -.uk-contrast .uk-nav-side > li > a:hover, -.uk-contrast .uk-nav-side > li > a:focus { - background: rgba(255, 255, 255, 0.1); - color: #ffffff; - text-shadow: none; -} -.uk-contrast .uk-nav-side > li.uk-active > a { - background: #ffffff; - color: #444444; - text-shadow: none; -} -.uk-contrast .uk-nav-side .uk-nav-header { - color: #ffffff; -} -.uk-contrast .uk-nav-side .uk-nav-divider { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav-side ul a { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-nav-side ul a:hover { - color: #ffffff; -} -.uk-contrast .uk-subnav > * > a { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast .uk-subnav > * > a:hover, -.uk-contrast .uk-subnav > * > a:focus { - color: #ffffff; - text-decoration: none; -} -.uk-contrast .uk-subnav > .uk-active > a { - color: #ffffff; -} -.uk-contrast .uk-subnav-line > :nth-child(n+2):before { - border-left-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-subnav-pill > * > a:hover, -.uk-contrast .uk-subnav-pill > * > a:focus { - background: rgba(255, 255, 255, 0.7); - color: #444444; - text-decoration: none; -} -.uk-contrast .uk-subnav-pill > .uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-list-line > li:nth-child(n+2) { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-form select, -.uk-contrast .uk-form textarea, -.uk-contrast .uk-form input:not([type]), -.uk-contrast .uk-form input[type="text"], -.uk-contrast .uk-form input[type="password"], -.uk-contrast .uk-form input[type="datetime"], -.uk-contrast .uk-form input[type="datetime-local"], -.uk-contrast .uk-form input[type="date"], -.uk-contrast .uk-form input[type="month"], -.uk-contrast .uk-form input[type="time"], -.uk-contrast .uk-form input[type="week"], -.uk-contrast .uk-form input[type="number"], -.uk-contrast .uk-form input[type="email"], -.uk-contrast .uk-form input[type="url"], -.uk-contrast .uk-form input[type="search"], -.uk-contrast .uk-form input[type="tel"], -.uk-contrast .uk-form input[type="color"] { - border-color: rgba(255, 255, 255, 0.8); - background: rgba(255, 255, 255, 0.8); - color: #444444; - background-clip: padding-box; -} -.uk-contrast .uk-form select:focus, -.uk-contrast .uk-form textarea:focus, -.uk-contrast .uk-form input:not([type]):focus, -.uk-contrast .uk-form input[type="text"]:focus, -.uk-contrast .uk-form input[type="password"]:focus, -.uk-contrast .uk-form input[type="datetime"]:focus, -.uk-contrast .uk-form input[type="datetime-local"]:focus, -.uk-contrast .uk-form input[type="date"]:focus, -.uk-contrast .uk-form input[type="month"]:focus, -.uk-contrast .uk-form input[type="time"]:focus, -.uk-contrast .uk-form input[type="week"]:focus, -.uk-contrast .uk-form input[type="number"]:focus, -.uk-contrast .uk-form input[type="email"]:focus, -.uk-contrast .uk-form input[type="url"]:focus, -.uk-contrast .uk-form input[type="search"]:focus, -.uk-contrast .uk-form input[type="tel"]:focus, -.uk-contrast .uk-form input[type="color"]:focus { - border-color: #ffffff; - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-form :-ms-input-placeholder { - color: rgba(68, 68, 68, 0.7) !important; -} -.uk-contrast .uk-form ::-moz-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-form ::-webkit-input-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-button { - color: #444444; - background: #ffffff; - border-color: transparent; -} -.uk-contrast .uk-button:hover, -.uk-contrast .uk-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-button:active, -.uk-contrast .uk-button.uk-active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -.uk-contrast .uk-button-primary:hover, -.uk-contrast .uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -.uk-contrast .uk-button-primary:active, -.uk-contrast .uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -.uk-contrast .uk-icon-hover { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-icon-hover:hover { - color: #ffffff; -} -.uk-contrast .uk-icon-button { - background: #ffffff; - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:hover, -.uk-contrast .uk-icon-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-text-muted { - color: rgba(255, 255, 255, 0.6) !important; -} -.uk-contrast .uk-text-primary { - color: #2d7091 !important; -} -/* ======================================================================== - Component: Print - ========================================================================== */ -@media print { - * { - background: transparent !important; - color: black !important; - box-shadow: none !important; - text-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.almost-flat.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.almost-flat.min.css deleted file mode 100644 index 7f70f78bd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.almost-flat.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07d;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#d05;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;height:auto;-moz-box-sizing:border-box;box-sizing:border-box;border:0;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img{max-width:none}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#fafafa;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto;border:1px solid #ddd;border-radius:3px}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}@media (min-width:480px){.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-box{padding:15px;background:#fafafa;color:#444;border:1px solid #ddd;border-radius:4px}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#fff;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444;border:1px solid transparent;border-radius:4px}.uk-panel-hover:hover{background:#fafafa;color:#444;border-color:#ddd}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-panel-box .uk-panel-teaser{border-top-left-radius:4px;border-top-right-radius:4px;overflow:hidden;-webkit-transform:translateZ(0)}.uk-block{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-article+.uk-article{padding-top:25px;border-top:1px solid #ddd}.uk-comment-header{margin-bottom:15px;padding:10px;border:1px solid #ddd;border-radius:4px;background:#fafafa}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body{padding-left:10px;padding-right:10px}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:25px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:25px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-comment-primary .uk-comment-header{border-color:rgba(45,112,145,.3);background-color:#ebf7fd;color:#2d7091;text-shadow:0 1px 0 #fff}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.03);color:#444;outline:0;box-shadow:inset 0 0 1px rgba(0,0,0,.06);text-shadow:0 -1px 0 #fff}.uk-nav-side>li.uk-active>a{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd;box-shadow:0 1px 0 #fff}.uk-nav-side ul a{color:#07d}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07d}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07d}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px;border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas .uk-nav-header{color:#777;margin-top:0;border-top:1px solid rgba(0,0,0,.3);background:#404040;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid rgba(255,255,255,.01);margin:0;height:4px;background:rgba(0,0,0,.2);box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-nav-offcanvas{border-bottom:1px solid rgba(0,0,0,.3);box-shadow:0 1px 0 rgba(255,255,255,.05)}.uk-nav-offcanvas .uk-nav-sub{border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.uk-navbar{background:#f5f5f5;color:#444;border:1px solid rgba(0,0,0,.06);border-radius:4px}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:#fafafa;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-navbar-nav>li>a:active{background-color:#eee;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2)}.uk-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{-moz-box-sizing:border-box;box-sizing:border-box;display:block;height:41px;padding:0 15px;float:left;margin-top:-1px;text-shadow:0 1px 0 #fff}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07d}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px;border-bottom-left-radius:4px}.uk-navbar-flip .uk-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-navbar-flip .uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0;border-bottom-left-radius:0}.uk-navbar-flip .uk-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px;border-bottom-right-radius:4px}.uk-navbar-attached{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;border-radius:0}.uk-navbar-attached .uk-navbar-nav>li>a{border-radius:0!important}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07d;text-decoration:none}.uk-subnav>.uk-active>*{color:#07d}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px;border-radius:4px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#fafafa;color:#444;text-decoration:none;outline:0;box-shadow:0 0 0 1px rgba(0,0,0,.15)}.uk-subnav-pill>.uk-active>*{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05)}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text;box-shadow:none}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center;border:1px solid rgba(0,0,0,.06);border-radius:4px}.uk-pagination>li>a{background:#f5f5f5;color:#444;text-shadow:0 1px 0 #fff}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.16)}.uk-pagination>li>a:active{background-color:#eee;color:#444}.uk-pagination>.uk-active>span{background:#00a8e6;color:#fff;border-color:transparent;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-pagination>.uk-disabled>span{background-color:#fafafa;color:#999;border:1px solid rgba(0,0,0,.06);text-shadow:0 1px 0 #fff}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07d;text-decoration:none;border-radius:4px 4px 0 0;text-shadow:0 1px 0 #fff}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:rgba(0,0,0,.06);background:#f5f5f5;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-tab-bottom>li>a{border-radius:0 0 4px 4px}@media (min-width:768px){.uk-tab-left>li>a{border-radius:4px 0 0 4px}.uk-tab-right>li>a{border-radius:0 4px 4px 0}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px;border-bottom:1px solid #ddd}.uk-list-striped>li:nth-of-type(odd){background:#fafafa}.uk-list-space>li:nth-child(n+2){margin-top:10px}.uk-list-striped>li:first-child{border-top:1px solid #ddd}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px;border-bottom:1px solid #ddd}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#f0f0f0}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#fafafa}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#f0f0f0}.uk-form input,.uk-form select,.uk-form textarea{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all linear .2s;transition:all linear .2s;border-radius:4px}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#fafafa;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px;background:#f5f5f5;vertical-align:middle;line-height:28px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center;border:1px solid rgba(0,0,0,.06);border-radius:4px;text-shadow:0 1px 0 #fff}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#fafafa;color:#444;outline:0;text-decoration:none;border-color:rgba(0,0,0,.16)}.uk-button.uk-active,.uk-button:active{background-color:#eee;color:#444}.uk-button-primary{background-color:#00a8e6;color:#fff}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-button-success{background-color:#8cc14c;color:#fff}.uk-button-success:focus,.uk-button-success:hover{background-color:#8ec73b;color:#fff}.uk-button-success.uk-active,.uk-button-success:active{background-color:#72ae41;color:#fff}.uk-button-danger{background-color:#da314b;color:#fff}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e4354f;color:#fff}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91032;color:#fff}.uk-button:disabled{background-color:#fafafa;color:#999;border-color:rgba(0,0,0,.06);box-shadow:none;text-shadow:0 1px 0 #fff}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0;box-shadow:none;text-shadow:none}.uk-button-link{color:#07d}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:18px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:23px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:38px;font-size:16px;border-radius:5px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}.uk-button-danger,.uk-button-primary,.uk-button-success{box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-button-danger:focus,.uk-button-danger:hover,.uk-button-primary:focus,.uk-button-primary:hover,.uk-button-success:focus,.uk-button-success:hover{border-color:rgba(0,0,0,.21)}.uk-button-group>.uk-button:not(:first-child):not(:last-child),.uk-button-group>div:not(:first-child):not(:last-child) .uk-button{border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-radius:0}.uk-button-group>.uk-button:first-child,.uk-button-group>div:first-child .uk-button{border-right-color:rgba(0,0,0,.1);border-top-right-radius:0;border-bottom-right-radius:0}.uk-button-group>.uk-button:last-child,.uk-button-group>div:last-child .uk-button{border-left-color:rgba(0,0,0,.1);border-top-left-radius:0;border-bottom-left-radius:0}.uk-button-group>.uk-button:nth-child(n+2),.uk-button-group>div:nth-child(n+2) .uk-button{margin-left:-1px}.uk-button-group .uk-button:active,.uk-button-group .uk-button:hover{position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot?#iefix)format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2)format('woff2'),url(../fonts/fontawesome-webfont.woff)format("woff"),url(../fonts/fontawesome-webfont.ttf)format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#f5f5f5;line-height:35px;color:#444;font-size:18px;text-align:center;border:1px solid #e7e7e7;text-shadow:0 1px 0 #fff}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#fafafa;color:#444;outline:0;border-color:#d3d3d3}.uk-icon-button:active{background-color:#eee;color:#444}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#fff;opacity:1;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 0 6px rgba(0,0,0,.3)}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#00a8e6;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none;border:1px solid rgba(0,0,0,.06);border-radius:2px;text-shadow:0 1px 0 rgba(0,0,0,.1)}a.uk-badge:hover{color:#fff}.uk-badge-notification{-moz-box-sizing:border-box;box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#8cc14c}.uk-badge-warning{background-color:#faa732}.uk-badge-danger{background-color:#da314b}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091;border:1px solid rgba(45,112,145,.3);border-radius:4px;text-shadow:0 1px 0 #fff}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-alert-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-alert-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff;border-radius:4px}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity transform filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1)rotate(0);transform:scale(1)rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1)rotate(3deg);transform:scale(1.1)rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0)translateY(0);transform:translateX(0)translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1020;-moz-box-sizing:border-box;box-sizing:border-box;width:200px;margin-top:5px;padding:15px;background:#fff;color:#444;font-size:1rem;vertical-align:top;border:1px solid #ddd;border-radius:4px}.uk-open>.uk-dropdown{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-flip{left:auto;right:0}.uk-dropdown-up{top:auto;bottom:100%;margin-top:auto;margin-bottom:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:6px;background:#fff;color:#444;left:-1px}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-dropdown-navbar.uk-dropdown-flip{left:auto}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.3)}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px);border-radius:0}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px;margin:-20px -20px 15px -20px;padding:20px;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0;background:#fafafa}.uk-modal-footer{margin-top:15px;margin:15px -20px -20px -20px;padding:20px;border-top:1px solid #ddd;border-radius:0 0 4px 4px;background:#fafafa}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-offcanvas-bar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-offcanvas-bar-flip:after{right:auto;left:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{-moz-box-sizing:border-box;box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;margin-bottom:15px;float:left}.uk-align-medium-right{margin-left:15px;margin-bottom:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{-moz-box-sizing:border-box;box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{-moz-box-sizing:border-box;box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{-moz-box-sizing:border-box;box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both;border-radius:3px}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;width:100%}.uk-position-bottom{bottom:0;width:100%}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px)and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1)}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff;text-shadow:none}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444;text-shadow:none}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff;border-color:transparent}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-button-primary{background-color:#00a8e6;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444;border-color:transparent}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.css deleted file mode 100644 index a9637cec7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.css +++ /dev/null @@ -1,8057 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Base - ========================================================================== */ -/* - * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * 3. Style - */ -html { - /* 1 */ - font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; - /* 2 */ - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - /* 3 */ - background: #ffffff; - color: #444444; -} -/* - * Removes default margin. - */ -body { - margin: 0; -} -/* Links - ========================================================================== */ -/* - * Remove the gray background color from active links in IE 10. - */ -a { - background: transparent; -} -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; -} -/* - * Style - */ -a, -.uk-link { - color: #0077dd; - text-decoration: none; - cursor: pointer; -} -a:hover, -.uk-link:hover { - color: #005599; - text-decoration: underline; -} -/* Text-level semantics - ========================================================================== */ -/* - * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10. - */ -abbr[title] { - border-bottom: 1px dotted; -} -/* - * Addresses style set to `bolder` in Firefox - */ -b, -strong { - font-weight: bold; -} -/* - * 1. Address odd `em`-unit font size rendering in all browsers. - * 2. Consolas has a better baseline in running text compared to `Courier` - */ -:not(pre) > code, -:not(pre) > kbd, -:not(pre) > samp { - /* 1 */ - font-size: 12px; - /* 2 */ - font-family: Consolas, monospace, serif; - /* 3 */ - color: #dd0055; - white-space: nowrap; -} -/* - * Emphasize - */ -em { - color: #dd0055; -} -/* - * Insert - */ -ins { - background: #ffffaa; - color: #444444; - text-decoration: none; -} -/* - * Mark - * Note: Addresses styling not present in IE 8/9. - */ -mark { - background: #ffffaa; - color: #444444; -} -/* - * Quote - */ -q { - font-style: italic; -} -/* - * Addresses inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; -} -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -/* Images - ========================================================================== */ -/* - * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * 2. Corrects `max-width` behavior if padding and border are used - * 3. Remove border when inside `a` element in IE 8/9/10. - * 4. Remove the gap between images and the bottom of their containers - */ -img { - /* 1 */ - max-width: 100%; - height: auto; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - border: 0; - /* 4 */ - vertical-align: middle; -} -/* - * Preserve original image dimensions - */ -.uk-img-preserve, -.uk-img-preserve img { - max-width: none; -} -/* - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; -} -/* Block elements - ========================================================================== */ -/* - * Reset margin - */ -blockquote, -figure { - margin: 0; -} -/* - * Margins - */ -p, -ul, -ol, -dl, -blockquote, -pre, -address, -fieldset, -figure { - margin: 0 0 15px 0; -} -* + p, -* + ul, -* + ol, -* + dl, -* + blockquote, -* + pre, -* + address, -* + fieldset, -* + figure { - margin-top: 15px; -} -/* Headings - ========================================================================== */ -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0 0 15px 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - color: #444444; - text-transform: none; -} -/* - * Margins - */ -* + h1, -* + h2, -* + h3, -* + h4, -* + h5, -* + h6 { - margin-top: 25px; -} -/* - * Sizes - */ -h1, -.uk-h1 { - font-size: 36px; - line-height: 42px; -} -h2, -.uk-h2 { - font-size: 24px; - line-height: 30px; -} -h3, -.uk-h3 { - font-size: 18px; - line-height: 24px; -} -h4, -.uk-h4 { - font-size: 16px; - line-height: 22px; -} -h5, -.uk-h5 { - font-size: 14px; - line-height: 20px; -} -h6, -.uk-h6 { - font-size: 12px; - line-height: 18px; -} -/* Lists - ========================================================================== */ -ul, -ol { - padding-left: 30px; -} -/* - * Reset margin for nested lists - */ -ul > li > ul, -ul > li > ol, -ol > li > ol, -ol > li > ul { - margin: 0; -} -/* Description lists - ========================================================================== */ -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -/* Horizontal rules - ========================================================================== */ -/* - * 1. Address differences between Firefox and other browsers. - * 2. Style - */ -hr { - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; - /* 2 */ - margin: 15px 0; - border: 0; - border-top: 1px solid #dddddd; -} -/* Address - ========================================================================== */ -address { - font-style: normal; -} -/* Blockquotes - ========================================================================== */ -blockquote { - padding-left: 15px; - border-left: 5px solid #dddddd; - font-size: 16px; - line-height: 22px; - font-style: italic; -} -/* Preformatted text - ========================================================================== */ -/* - * 1. Contain overflow in all browsers. - */ -pre { - padding: 10px; - background: #f5f5f5; - font: 12px / 18px Consolas, monospace, serif; - color: #444444; - -moz-tab-size: 4; - tab-size: 4; - /* 1 */ - overflow: auto; -} -/* Selection pseudo-element - ========================================================================== */ -::-moz-selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -::selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -/* HTML5 elements - ========================================================================== */ -/* - * Corrects `block` display not defined in IE 8/9. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -main, -nav, -section, -summary { - display: block; -} -/* - * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera. - */ -progress { - vertical-align: baseline; -} -/* - * Prevent displaying `audio` without controls in Chrome, Safari and Opera - */ -audio:not([controls]) { - display: none; -} -/* - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE and Safari - */ -[hidden], -template { - display: none; -} -/* Iframe - ========================================================================== */ -iframe { - border: 0; -} -/* Fix viewport for IE10 snap mode - ========================================================================== */ -@media screen and (max-width: 400px) { - @-ms-viewport { - width: device-width; - } -} -/* ======================================================================== - Component: Grid - ========================================================================== */ -/* - * 1. Makes grid more robust so that it can be used with other block elements like lists - */ -.uk-grid { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * DEPRECATED - * Micro clearfix - * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit - */ -.uk-grid:before, -.uk-grid:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-grid:after { - clear: both; -} -/* - * Grid cell - * 1. Space is allocated solely based on content dimensions - * 2. Makes grid more robust so that it can be used with other block elements - * 3. DEPRECATED Using `float` to support IE9 - */ -.uk-grid > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - margin: 0; - /* 3 */ - float: left; -} -/* - * Remove margin from the last-child - */ -.uk-grid > * > :last-child { - margin-bottom: 0; -} -/* Grid gutter - ========================================================================== */ -/* - * Default gutter - */ -/* Horizontal */ -.uk-grid { - margin-left: -25px; -} -.uk-grid > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid + .uk-grid, -.uk-grid-margin, -.uk-grid > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* Horizontal */ - .uk-grid { - margin-left: -35px; - } - .uk-grid > * { - padding-left: 35px; - } - /* Vertical */ - .uk-grid + .uk-grid, - .uk-grid-margin, - .uk-grid > * > .uk-panel + .uk-panel { - margin-top: 35px; - } -} -/* - * Collapse gutter - */ -/* Horizontal */ -.uk-grid-collapse { - margin-left: 0; -} -.uk-grid-collapse > * { - padding-left: 0; -} -/* Vertical */ -.uk-grid-collapse + .uk-grid-collapse, -.uk-grid-collapse > .uk-grid-margin, -.uk-grid-collapse > * > .uk-panel + .uk-panel { - margin-top: 0; -} -/* - * Small gutter - */ -/* Horizontal */ -.uk-grid-small { - margin-left: -10px; -} -.uk-grid-small > * { - padding-left: 10px; -} -/* Vertical */ -.uk-grid-small + .uk-grid-small, -.uk-grid-small > .uk-grid-margin, -.uk-grid-small > * > .uk-panel + .uk-panel { - margin-top: 10px; -} -/* - * Medium gutter - */ -/* Horizontal */ -.uk-grid-medium { - margin-left: -25px; -} -.uk-grid-medium > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid-medium + .uk-grid-medium, -.uk-grid-medium > .uk-grid-margin, -.uk-grid-medium > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Modifier: `uk-grid-divider` - ========================================================================== */ -/* - * Horizontal divider - * Only works with the default gutter. Does not work with gutter collapse, small or large. - * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. - */ -.uk-grid-divider:not(:empty) { - margin-left: -25px; - margin-right: -25px; -} -.uk-grid-divider > * { - padding-left: 25px; - padding-right: 25px; -} -.uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), -.uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { - border-left: 1px solid #dddddd; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* - * Large gutter - */ - .uk-grid-divider:not(:empty) { - margin-left: -35px; - margin-right: -35px; - } - .uk-grid-divider > * { - padding-left: 35px; - padding-right: 35px; - } - .uk-grid-divider:empty { - margin-top: 35px; - margin-bottom: 35px; - } -} -/* - * Vertical divider - */ -.uk-grid-divider:empty { - margin-top: 25px; - margin-bottom: 25px; - border-top: 1px solid #dddddd; -} -/* Match panels in grids - ========================================================================== */ -.uk-grid-match > * { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -/* - * 1. Behave like a block element - */ -.uk-grid-match > * > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* Even grid cell widths - ========================================================================== */ -[class*='uk-grid-width'] > * { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -.uk-grid-width-1-2 > * { - width: 50%; -} -.uk-grid-width-1-3 > * { - width: 33.333%; -} -.uk-grid-width-1-4 > * { - width: 25%; -} -.uk-grid-width-1-5 > * { - width: 20%; -} -.uk-grid-width-1-6 > * { - width: 16.666%; -} -.uk-grid-width-1-10 > * { - width: 10%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-grid-width-small-1-2 > * { - width: 50%; - } - .uk-grid-width-small-1-3 > * { - width: 33.333%; - } - .uk-grid-width-small-1-4 > * { - width: 25%; - } - .uk-grid-width-small-1-5 > * { - width: 20%; - } - .uk-grid-width-small-1-6 > * { - width: 16.666%; - } - .uk-grid-width-small-1-10 > * { - width: 10%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-width-medium-1-2 > * { - width: 50%; - } - .uk-grid-width-medium-1-3 > * { - width: 33.333%; - } - .uk-grid-width-medium-1-4 > * { - width: 25%; - } - .uk-grid-width-medium-1-5 > * { - width: 20%; - } - .uk-grid-width-medium-1-6 > * { - width: 16.666%; - } - .uk-grid-width-medium-1-10 > * { - width: 10%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-width-large-1-2 > * { - width: 50%; - } - .uk-grid-width-large-1-3 > * { - width: 33.333%; - } - .uk-grid-width-large-1-4 > * { - width: 25%; - } - .uk-grid-width-large-1-5 > * { - width: 20%; - } - .uk-grid-width-large-1-6 > * { - width: 16.666%; - } - .uk-grid-width-large-1-10 > * { - width: 10%; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-grid-width-xlarge-1-2 > * { - width: 50%; - } - .uk-grid-width-xlarge-1-3 > * { - width: 33.333%; - } - .uk-grid-width-xlarge-1-4 > * { - width: 25%; - } - .uk-grid-width-xlarge-1-5 > * { - width: 20%; - } - .uk-grid-width-xlarge-1-6 > * { - width: 16.666%; - } - .uk-grid-width-xlarge-1-10 > * { - width: 10%; - } -} -/* Sub-objects: `uk-width-*` - ========================================================================== */ -[class*='uk-width'] { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* - * Widths - */ -/* Whole */ -.uk-width-1-1 { - width: 100%; -} -/* Halves */ -.uk-width-1-2, -.uk-width-2-4, -.uk-width-3-6, -.uk-width-5-10 { - width: 50%; -} -/* Thirds */ -.uk-width-1-3, -.uk-width-2-6 { - width: 33.333%; -} -.uk-width-2-3, -.uk-width-4-6 { - width: 66.666%; -} -/* Quarters */ -.uk-width-1-4 { - width: 25%; -} -.uk-width-3-4 { - width: 75%; -} -/* Fifths */ -.uk-width-1-5, -.uk-width-2-10 { - width: 20%; -} -.uk-width-2-5, -.uk-width-4-10 { - width: 40%; -} -.uk-width-3-5, -.uk-width-6-10 { - width: 60%; -} -.uk-width-4-5, -.uk-width-8-10 { - width: 80%; -} -/* Sixths */ -.uk-width-1-6 { - width: 16.666%; -} -.uk-width-5-6 { - width: 83.333%; -} -/* Tenths */ -.uk-width-1-10 { - width: 10%; -} -.uk-width-3-10 { - width: 30%; -} -.uk-width-7-10 { - width: 70%; -} -.uk-width-9-10 { - width: 90%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - /* Whole */ - .uk-width-small-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-small-1-2, - .uk-width-small-2-4, - .uk-width-small-3-6, - .uk-width-small-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-small-1-3, - .uk-width-small-2-6 { - width: 33.333%; - } - .uk-width-small-2-3, - .uk-width-small-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-small-1-4 { - width: 25%; - } - .uk-width-small-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-small-1-5, - .uk-width-small-2-10 { - width: 20%; - } - .uk-width-small-2-5, - .uk-width-small-4-10 { - width: 40%; - } - .uk-width-small-3-5, - .uk-width-small-6-10 { - width: 60%; - } - .uk-width-small-4-5, - .uk-width-small-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-small-1-6 { - width: 16.666%; - } - .uk-width-small-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-small-1-10 { - width: 10%; - } - .uk-width-small-3-10 { - width: 30%; - } - .uk-width-small-7-10 { - width: 70%; - } - .uk-width-small-9-10 { - width: 90%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* Whole */ - .uk-width-medium-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-medium-1-2, - .uk-width-medium-2-4, - .uk-width-medium-3-6, - .uk-width-medium-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-medium-1-3, - .uk-width-medium-2-6 { - width: 33.333%; - } - .uk-width-medium-2-3, - .uk-width-medium-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-medium-1-4 { - width: 25%; - } - .uk-width-medium-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-medium-1-5, - .uk-width-medium-2-10 { - width: 20%; - } - .uk-width-medium-2-5, - .uk-width-medium-4-10 { - width: 40%; - } - .uk-width-medium-3-5, - .uk-width-medium-6-10 { - width: 60%; - } - .uk-width-medium-4-5, - .uk-width-medium-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-medium-1-6 { - width: 16.666%; - } - .uk-width-medium-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-medium-1-10 { - width: 10%; - } - .uk-width-medium-3-10 { - width: 30%; - } - .uk-width-medium-7-10 { - width: 70%; - } - .uk-width-medium-9-10 { - width: 90%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - /* Whole */ - .uk-width-large-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-large-1-2, - .uk-width-large-2-4, - .uk-width-large-3-6, - .uk-width-large-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-large-1-3, - .uk-width-large-2-6 { - width: 33.333%; - } - .uk-width-large-2-3, - .uk-width-large-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-large-1-4 { - width: 25%; - } - .uk-width-large-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-large-1-5, - .uk-width-large-2-10 { - width: 20%; - } - .uk-width-large-2-5, - .uk-width-large-4-10 { - width: 40%; - } - .uk-width-large-3-5, - .uk-width-large-6-10 { - width: 60%; - } - .uk-width-large-4-5, - .uk-width-large-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-large-1-6 { - width: 16.666%; - } - .uk-width-large-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-large-1-10 { - width: 10%; - } - .uk-width-large-3-10 { - width: 30%; - } - .uk-width-large-7-10 { - width: 70%; - } - .uk-width-large-9-10 { - width: 90%; - } -} -/* Sub-object: `uk-push-*` and `uk-pull-*` - ========================================================================== */ -/* - * Source ordering - * Works only with `uk-width-medium-*` - */ -/* Tablet and bigger */ -@media (min-width: 768px) { - [class*='uk-push-'], - [class*='uk-pull-'] { - position: relative; - } - /* - * Push - */ - /* Halves */ - .uk-push-1-2, - .uk-push-2-4, - .uk-push-3-6, - .uk-push-5-10 { - left: 50%; - } - /* Thirds */ - .uk-push-1-3, - .uk-push-2-6 { - left: 33.333%; - } - .uk-push-2-3, - .uk-push-4-6 { - left: 66.666%; - } - /* Quarters */ - .uk-push-1-4 { - left: 25%; - } - .uk-push-3-4 { - left: 75%; - } - /* Fifths */ - .uk-push-1-5, - .uk-push-2-10 { - left: 20%; - } - .uk-push-2-5, - .uk-push-4-10 { - left: 40%; - } - .uk-push-3-5, - .uk-push-6-10 { - left: 60%; - } - .uk-push-4-5, - .uk-push-8-10 { - left: 80%; - } - /* Sixths */ - .uk-push-1-6 { - left: 16.666%; - } - .uk-push-5-6 { - left: 83.333%; - } - /* Tenths */ - .uk-push-1-10 { - left: 10%; - } - .uk-push-3-10 { - left: 30%; - } - .uk-push-7-10 { - left: 70%; - } - .uk-push-9-10 { - left: 90%; - } - /* - * Pull - */ - /* Halves */ - .uk-pull-1-2, - .uk-pull-2-4, - .uk-pull-3-6, - .uk-pull-5-10 { - left: -50%; - } - /* Thirds */ - .uk-pull-1-3, - .uk-pull-2-6 { - left: -33.333%; - } - .uk-pull-2-3, - .uk-pull-4-6 { - left: -66.666%; - } - /* Quarters */ - .uk-pull-1-4 { - left: -25%; - } - .uk-pull-3-4 { - left: -75%; - } - /* Fifths */ - .uk-pull-1-5, - .uk-pull-2-10 { - left: -20%; - } - .uk-pull-2-5, - .uk-pull-4-10 { - left: -40%; - } - .uk-pull-3-5, - .uk-pull-6-10 { - left: -60%; - } - .uk-pull-4-5, - .uk-pull-8-10 { - left: -80%; - } - /* Sixths */ - .uk-pull-1-6 { - left: -16.666%; - } - .uk-pull-5-6 { - left: -83.333%; - } - /* Tenths */ - .uk-pull-1-10 { - left: -10%; - } - .uk-pull-3-10 { - left: -30%; - } - .uk-pull-7-10 { - left: -70%; - } - .uk-pull-9-10 { - left: -90%; - } -} -/* ======================================================================== - Component: Panel - ========================================================================== */ -/* - * 1. Needed for `a` elements - * 2. Create position context for badges - */ -.uk-panel { - /* 1 */ - display: block; - /* 2 */ - position: relative; -} -/* - * Allow panels to be anchors - */ -.uk-panel, -.uk-panel:hover { - text-decoration: none; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-panel:before, -.uk-panel:after { - content: ""; - display: table; -} -.uk-panel:after { - clear: both; -} -/* - * Remove margin from the last-child if not `uk-widget-title` - */ -.uk-panel > :not(.uk-panel-title):last-child { - margin-bottom: 0; -} -/* Sub-object: `uk-panel-title` - ========================================================================== */ -.uk-panel-title { - margin-top: 0; - margin-bottom: 15px; - font-size: 18px; - line-height: 24px; - font-weight: normal; - text-transform: none; - color: #444444; -} -/* Sub-object: `uk-panel-badge` - ========================================================================== */ -.uk-panel-badge { - position: absolute; - top: 0; - right: 0; - z-index: 1; -} -/* Sub-object: `uk-panel-teaser` - ========================================================================== */ -.uk-panel-teaser { - margin-bottom: 15px; -} -/* Modifier: `uk-panel-box` - ========================================================================== */ -.uk-panel-box { - padding: 15px; - background: #f5f5f5; - color: #444444; -} -.uk-panel-box-hover:hover { - color: #444444; -} -.uk-panel-box .uk-panel-title { - color: #444444; -} -.uk-panel-box .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-box .uk-panel-teaser { - margin-top: -15px; - margin-left: -15px; - margin-right: -15px; -} -/* - * Nav in panel - */ -.uk-panel-box > .uk-nav-side { - margin: 0 -15px; -} -/* - * Sub-modifier: `uk-panel-box-primary` - */ -.uk-panel-box-primary { - background-color: #ebf7fd; - color: #2d7091; -} -.uk-panel-box-primary-hover:hover { - color: #2d7091; -} -.uk-panel-box-primary .uk-panel-title { - color: #2d7091; -} -/* - * Sub-modifier: `uk-panel-box-secondary` - */ -.uk-panel-box-secondary { - background-color: #eeeeee; - color: #444444; -} -.uk-panel-box-secondary-hover:hover { - color: #444444; -} -.uk-panel-box-secondary .uk-panel-title { - color: #444444; -} -/* Modifier: `uk-panel-hover` - ========================================================================== */ -.uk-panel-hover { - padding: 15px; - color: #444444; -} -.uk-panel-hover:hover { - background: #f5f5f5; - color: #444444; -} -.uk-panel-hover .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-hover .uk-panel-teaser { - margin-top: -15px; - margin-left: -15px; - margin-right: -15px; -} -/* Modifier: `uk-panel-header` - ========================================================================== */ -.uk-panel-header .uk-panel-title { - padding-bottom: 10px; - border-bottom: 1px solid #dddddd; - color: #444444; -} -/* Modifier: `uk-panel-space` - ========================================================================== */ -.uk-panel-space { - padding: 30px; -} -.uk-panel-space .uk-panel-badge { - top: 30px; - right: 30px; -} -/* Modifier: `uk-panel-divider` - ========================================================================== */ -.uk-panel + .uk-panel-divider { - margin-top: 50px !important; -} -.uk-panel + .uk-panel-divider:before { - content: ""; - display: block; - position: absolute; - top: -25px; - left: 0; - right: 0; - border-top: 1px solid #dddddd; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-panel + .uk-panel-divider { - margin-top: 70px !important; - } - .uk-panel + .uk-panel-divider:before { - top: -35px; - } -} -/* ======================================================================== - Component: Block - ========================================================================== */ -.uk-block { - position: relative; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-top: 20px; - padding-bottom: 20px; -} -/* Phone landscape and bigger */ -@media (min-width: 768px) { - .uk-block { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* - * Micro clearfix to make blocks more robust - */ -.uk-block:before, -.uk-block:after { - content: ""; - display: table; -} -.uk-block:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-block > :last-child { - margin-bottom: 0; -} -/* Padding Modifier - ========================================================================== */ -/* - * Large padding - */ -.uk-block-large { - padding-top: 20px; - padding-bottom: 20px; -} -/* Tablets and bigger */ -@media (min-width: 768px) { - .uk-block-large { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-block-large { - padding-top: 100px; - padding-bottom: 100px; - } -} -/* Color Modifier - ========================================================================== */ -/* - * Default - */ -.uk-block-default { - background: #ffffff; -} -/* - * Muted - */ -.uk-block-muted { - background: #f9f9f9; -} -/* - * Primary - */ -.uk-block-primary { - background: #00a8e6; -} -/* - * Secondary - */ -.uk-block-secondary { - background: #222222; -} -/* - * Adjust padding between equal colored blocks - */ -.uk-block-default + .uk-block-default, -.uk-block-muted + .uk-block-muted, -.uk-block-primary + .uk-block-primary, -.uk-block-secondary + .uk-block-secondary { - padding-top: 0; -} -/* ======================================================================== - Component: Article - ========================================================================== */ -/* - * Micro clearfix to make articles more robust - */ -.uk-article:before, -.uk-article:after { - content: ""; - display: table; -} -.uk-article:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-article > :last-child { - margin-bottom: 0; -} -/* - * Vertical gutter for articles - */ -.uk-article + .uk-article { - margin-top: 25px; -} -/* Sub-object `uk-article-title` - ========================================================================== */ -.uk-article-title { - font-size: 36px; - line-height: 42px; - font-weight: normal; - text-transform: none; -} -.uk-article-title a { - color: inherit; - text-decoration: none; -} -/* Sub-object `uk-article-meta` - ========================================================================== */ -.uk-article-meta { - font-size: 12px; - line-height: 18px; - color: #999999; -} -/* Sub-object `uk-article-lead` - ========================================================================== */ -.uk-article-lead { - color: #444444; - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Sub-object `uk-article-divider` - ========================================================================== */ -.uk-article-divider { - margin-bottom: 25px; - border-color: #dddddd; -} -* + .uk-article-divider { - margin-top: 25px; -} -/* ======================================================================== - Component: Comment - ========================================================================== */ -/* Sub-object `uk-comment-header` - ========================================================================== */ -.uk-comment-header { - margin-bottom: 15px; -} -/* - * Micro clearfix - */ -.uk-comment-header:before, -.uk-comment-header:after { - content: ""; - display: table; -} -.uk-comment-header:after { - clear: both; -} -/* Sub-object `uk-comment-avatar` - ========================================================================== */ -.uk-comment-avatar { - margin-right: 15px; - float: left; -} -/* Sub-object `uk-comment-title` - ========================================================================== */ -.uk-comment-title { - margin: 5px 0 0 0; - font-size: 16px; - line-height: 22px; -} -/* Sub-object `uk-comment-meta` - ========================================================================== */ -.uk-comment-meta { - margin: 2px 0 0 0; - font-size: 11px; - line-height: 16px; - color: #999999; -} -/* Sub-object `uk-comment-body` - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-comment-body > :last-child { - margin-bottom: 0; -} -/* Sub-object `uk-comment-list` - ========================================================================== */ -.uk-comment-list { - padding: 0; - list-style: none; -} -.uk-comment-list .uk-comment + ul { - margin: 15px 0 0 0; - list-style: none; -} -.uk-comment-list > li:nth-child(n+2), -.uk-comment-list .uk-comment + ul > li:nth-child(n+2) { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-comment-list .uk-comment + ul { - padding-left: 100px; - } -} -/* Modifier `uk-comment-primary` - ========================================================================== */ -/* ======================================================================== - Component: Cover - ========================================================================== */ -/* - * Background image always covers and centers its element - */ -.uk-cover-background { - background-position: 50% 50%; - background-size: cover; - background-repeat: no-repeat; -} -/* - * Emulates image cover, works with video and image elements - * 1. Parent container which clips resized object - * 2. Resizes the object to always covers its container - * 3. Reset the responsive image CSS - * 4. Center object - */ -/* 1 */ -.uk-cover { - overflow: hidden; -} -.uk-cover-object { - /* 2 */ - width: auto; - height: auto; - min-width: 100%; - min-height: 100%; - /* 3 */ - max-width: none; - /* 4 */ - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* - * To center iframes use `data-uk-cover` JavaScript - */ -[data-uk-cover] { - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* ======================================================================== - Component: Nav - ========================================================================== */ -.uk-nav, -.uk-nav ul { - margin: 0; - padding: 0; - list-style: none; -} -/* - * Items - */ -.uk-nav li > a { - display: block; - text-decoration: none; -} -.uk-nav > li > a { - padding: 5px 15px; -} -/* - * Nested items - */ -.uk-nav ul { - padding-left: 15px; -} -.uk-nav ul a { - padding: 2px 0; -} -/* - * Item subtitle - */ -.uk-nav li > a > div { - font-size: 12px; - line-height: 18px; -} -/* Sub-object: `uk-nav-header` - ========================================================================== */ -.uk-nav-header { - padding: 5px 15px; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} -.uk-nav-header:not(:first-child) { - margin-top: 15px; -} -/* Sub-object: `uk-nav-divider` - ========================================================================== */ -.uk-nav-divider { - margin: 9px 15px; -} -/* Sub-object: `uk-nav-sub` - ========================================================================== */ -/* - * `ul` needed for higher specificity to override padding - */ -ul.uk-nav-sub { - padding: 5px 0 5px 15px; -} -/* Modifier: `uk-nav-parent-icon` - ========================================================================== */ -.uk-nav-parent-icon > .uk-parent > a:after { - content: "\f104"; - width: 20px; - margin-right: -10px; - float: right; - font-family: FontAwesome; - text-align: center; -} -.uk-nav-parent-icon > .uk-parent.uk-open > a:after { - content: "\f107"; -} -/* Modifier `uk-nav-side` - ========================================================================== */ -/* - * Items - */ -.uk-nav-side > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-side > li > a:hover, -.uk-nav-side > li > a:focus { - background: rgba(0, 0, 0, 0.05); - color: #444444; - /* 2 */ - outline: none; -} -/* Active */ -.uk-nav-side > li.uk-active > a { - background: #00a8e6; - color: #ffffff; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-side .uk-nav-header { - color: #444444; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-side .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-side ul a { - color: #0077dd; -} -.uk-nav-side ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-dropdown` - ========================================================================== */ -/* - * Items - */ -.uk-nav-dropdown > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-dropdown > li > a:hover, -.uk-nav-dropdown > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-dropdown .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-dropdown .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-dropdown ul a { - color: #0077dd; -} -.uk-nav-dropdown ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-navbar` - ========================================================================== */ -/* - * Items - */ -.uk-nav-navbar > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-navbar > li > a:hover, -.uk-nav-navbar > li > a:focus { - background: #00a8e6; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-navbar .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-navbar .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-navbar ul a { - color: #0077dd; -} -.uk-nav-navbar ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-offcanvas` - ========================================================================== */ -/* - * Items - */ -.uk-nav-offcanvas > li > a { - color: #cccccc; - padding: 10px 15px; -} -/* - * Hover - * No hover on touch devices because it behaves buggy in fixed offcanvas - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-offcanvas > .uk-open > a, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { - background: #404040; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Active - * `html .uk-nav` needed for higher specificity to override hover - */ -html .uk-nav.uk-nav-offcanvas > li.uk-active > a { - background: #1a1a1a; - color: #ffffff; -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-offcanvas .uk-nav-header { - color: #777777; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-offcanvas .uk-nav-divider { - border-top: 1px solid #1a1a1a; -} -/* - * Nested items - * No hover on touch devices because it behaves buggy in fixed offcanvas - */ -.uk-nav-offcanvas ul a { - color: #cccccc; -} -html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { - color: #ffffff; -} -/* ======================================================================== - Component: Navbar - ========================================================================== */ -.uk-navbar { - background: #eeeeee; - color: #444444; -} -/* - * Micro clearfix - */ -.uk-navbar:before, -.uk-navbar:after { - content: ""; - display: table; -} -.uk-navbar:after { - clear: both; -} -/* Sub-object: `uk-navbar-nav` - ========================================================================== */ -.uk-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -/* - * 1. Create position context for dropdowns - */ -.uk-navbar-nav > li { - float: left; - /* 1 */ - position: relative; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 40px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; -} -/* Appear not as link */ -.uk-navbar-nav > li > a[href='#'] { - cursor: text; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-navbar-nav > li:hover > a, -.uk-navbar-nav > li > a:focus, -.uk-navbar-nav > li.uk-open > a { - background-color: #f5f5f5; - color: #444444; - /* 3 */ - outline: none; -} -/* OnClick */ -.uk-navbar-nav > li > a:active { - background-color: #dddddd; - color: #444444; -} -/* Active */ -.uk-navbar-nav > li.uk-active > a { - background-color: #f5f5f5; - color: #444444; -} -/* Sub-objects: `uk-navbar-nav-subtitle` - ========================================================================== */ -.uk-navbar-nav .uk-navbar-nav-subtitle { - line-height: 28px; -} -.uk-navbar-nav-subtitle > div { - margin-top: -6px; - font-size: 10px; - line-height: 12px; -} -/* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` - ========================================================================== */ -/* - * Imitate navbar items - */ -.uk-navbar-content, -.uk-navbar-brand, -.uk-navbar-toggle { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - height: 40px; - padding: 0 15px; - float: left; -} -/* - * Helper to center all child elements vertically - */ -.uk-navbar-content:before, -.uk-navbar-brand:before, -.uk-navbar-toggle:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* Sub-objects: `uk-navbar-content` - ========================================================================== */ -/* - * Better sibling spacing - */ -.uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { - padding-left: 0; -} -/* - * Link colors - */ -.uk-navbar-content > a:not([class]) { - color: #0077dd; -} -.uk-navbar-content > a:not([class]):hover { - color: #005599; -} -/* Sub-objects: `uk-navbar-brand` - ========================================================================== */ -.uk-navbar-brand { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-brand:hover, -.uk-navbar-brand:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* Sub-object: `uk-navbar-toggle` - ========================================================================== */ -.uk-navbar-toggle { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-toggle:hover, -.uk-navbar-toggle:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * 1. Center icon vertically - */ -.uk-navbar-toggle:after { - content: "\f0c9"; - font-family: FontAwesome; - /* 1 */ - vertical-align: middle; -} -.uk-navbar-toggle-alt:after { - content: "\f002"; -} -/* Sub-object: `uk-navbar-center` - ========================================================================== */ -/* - * The element with this class needs to be last child in the navbar - * 1. This hack is needed because other float elements shift centered text - */ -.uk-navbar-center { - float: none; - text-align: center; - /* 1 */ - max-width: 50%; - margin-left: auto; - margin-right: auto; -} -/* Sub-object: `uk-navbar-flip` - ========================================================================== */ -.uk-navbar-flip { - float: right; -} -/* ======================================================================== - Component: Subnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-subnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - * 3. Create position context for dropdowns - */ -.uk-subnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; - /* 3 */ - position: relative; -} -/* - * DEPRECATED IE9 Support - */ -.uk-subnav:before, -.uk-subnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-subnav:after { - clear: both; -} -.uk-subnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-subnav > * > * { - display: inline-block; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-subnav > * > :hover, -.uk-subnav > * > :focus { - color: #0077dd; - text-decoration: none; -} -/* - * Active - */ -.uk-subnav > .uk-active > * { - color: #0077dd; -} -/* Modifier: 'subnav-line' - ========================================================================== */ -.uk-subnav-line > :before { - content: ""; - display: inline-block; - height: 10px; - vertical-align: middle; -} -.uk-subnav-line > :nth-child(n+2):before { - margin-right: 10px; - border-left: 1px solid #dddddd; -} -/* Modifier: 'subnav-pill' - ========================================================================== */ -.uk-subnav-pill > * > * { - padding: 3px 9px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-subnav-pill > * > :hover, -.uk-subnav-pill > * > :focus { - background: #eeeeee; - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * Active - * `li` needed for higher specificity to override hover - */ -.uk-subnav-pill > .uk-active > * { - background: #00a8e6; - color: #ffffff; -} -/* Disabled state - ========================================================================== */ -.uk-subnav > .uk-disabled > * { - background: none; - color: #999999; - text-decoration: none; - cursor: text; -} -/* ======================================================================== - Component: Breadcrumb - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Remove whitespace between child elements when using `inline-block` - */ -.uk-breadcrumb { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - font-size: 0.001px; -} -/* Items - ========================================================================== */ -/* - * Reset whitespace hack - */ -.uk-breadcrumb > li { - font-size: 1rem; - vertical-align: top; -} -.uk-breadcrumb > li, -.uk-breadcrumb > li > a, -.uk-breadcrumb > li > span { - display: inline-block; -} -.uk-breadcrumb > li:nth-child(n+2):before { - content: "/"; - display: inline-block; - margin: 0 8px; -} -/* - * Disabled - */ -.uk-breadcrumb > li:not(.uk-active) > span { - color: #999999; -} -/* ======================================================================== - Component: Pagination - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Center pagination by default - * 3. Remove whitespace between child elements when using `inline-block` - */ -.uk-pagination { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - text-align: center; - /* 3 */ - font-size: 0.001px; -} -/* - * Micro clearfix - * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used - */ -.uk-pagination:before, -.uk-pagination:after { - content: ""; - display: table; -} -.uk-pagination:after { - clear: both; -} -/* Items - ========================================================================== */ -/* - * 1. Reset whitespace hack - * 2. Remove the gap at the bottom of it container - */ -.uk-pagination > li { - display: inline-block; - /* 1 */ - font-size: 1rem; - /* 2 */ - vertical-align: top; -} -.uk-pagination > li:nth-child(n+2) { - margin-left: 5px; -} -/* - * 1. Makes pagination more robust against different box-sizing use - * 2. Reset text-align to center if alignment modifier is used - */ -.uk-pagination > li > a, -.uk-pagination > li > span { - display: inline-block; - min-width: 16px; - padding: 3px 5px; - line-height: 20px; - text-decoration: none; - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - /* 2 */ - text-align: center; -} -/* - * Links - */ -.uk-pagination > li > a { - background: #eeeeee; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-pagination > li > a:hover, -.uk-pagination > li > a:focus { - background-color: #f5f5f5; - color: #444444; - /* 2 */ - outline: none; -} -/* OnClick */ -.uk-pagination > li > a:active { - background-color: #dddddd; - color: #444444; -} -/* - * Active - */ -.uk-pagination > .uk-active > span { - background: #00a8e6; - color: #ffffff; -} -/* - * Disabled - */ -.uk-pagination > .uk-disabled > span { - background-color: #f5f5f5; - color: #999999; -} -/* Previous and next navigation - ========================================================================== */ -.uk-pagination-previous { - float: left; -} -.uk-pagination-next { - float: right; -} -/* Alignment modifiers - ========================================================================== */ -.uk-pagination-left { - text-align: left; -} -.uk-pagination-right { - text-align: right; -} -/* ======================================================================== - Component: Tab - ========================================================================== */ -.uk-tab { - margin: 0; - padding: 0; - list-style: none; - border-bottom: 1px solid #dddddd; -} -/* - * Micro clearfix on the deepest container - */ -.uk-tab:before, -.uk-tab:after { - content: ""; - display: table; -} -.uk-tab:after { - clear: both; -} -/* - * Items - * 1. Create position context for dropdowns - */ -.uk-tab > li { - margin-bottom: -1px; - float: left; - /* 1 */ - position: relative; -} -.uk-tab > li > a { - display: block; - padding: 8px 12px 8px 12px; - border: 1px solid transparent; - border-bottom-width: 0; - color: #0077dd; - text-decoration: none; -} -.uk-tab > li:nth-child(n+2) > a { - margin-left: 5px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-tab > li > a:hover, -.uk-tab > li > a:focus, -.uk-tab > li.uk-open > a { - border-color: #f5f5f5; - background: #f5f5f5; - color: #005599; - /* 2 */ - outline: none; -} -.uk-tab > li:not(.uk-active) > a:hover, -.uk-tab > li:not(.uk-active) > a:focus, -.uk-tab > li.uk-open:not(.uk-active) > a { - margin-bottom: 1px; - padding-bottom: 7px; -} -/* Active */ -.uk-tab > li.uk-active > a { - border-color: #dddddd; - border-bottom-color: transparent; - background: #ffffff; - color: #444444; -} -/* Disabled */ -.uk-tab > li.uk-disabled > a { - color: #999999; - cursor: text; -} -.uk-tab > li.uk-disabled > a:hover, -.uk-tab > li.uk-disabled > a:focus, -.uk-tab > li.uk-disabled.uk-active > a { - background: none; - border-color: transparent; -} -/* Modifier: 'tab-flip' - ========================================================================== */ -.uk-tab-flip > li { - float: right; -} -.uk-tab-flip > li:nth-child(n+2) > a { - margin-left: 0; - margin-right: 5px; -} -/* Modifier: 'tab-responsive' - ========================================================================== */ -.uk-tab > li.uk-tab-responsive > a { - margin-left: 0; - margin-right: 0; -} -/* - * Icon - */ -.uk-tab-responsive > a:before { - content: "\f0c9\00a0"; - font-family: FontAwesome; -} -/* Modifier: 'tab-center' - ========================================================================== */ -.uk-tab-center { - border-bottom: 1px solid #dddddd; -} -.uk-tab-center-bottom { - border-bottom: none; - border-top: 1px solid #dddddd; -} -.uk-tab-center:before, -.uk-tab-center:after { - content: ""; - display: table; -} -.uk-tab-center:after { - clear: both; -} -/* - * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs - */ -.uk-tab-center .uk-tab { - position: relative; - right: 50%; - border: none; - float: right; -} -.uk-tab-center .uk-tab > li { - position: relative; - right: -50%; -} -.uk-tab-center .uk-tab > li > a { - text-align: center; -} -/* Modifier: 'tab-bottom' - ========================================================================== */ -.uk-tab-bottom { - border-top: 1px solid #dddddd; - border-bottom: none; -} -.uk-tab-bottom > li { - margin-top: -1px; - margin-bottom: 0; -} -.uk-tab-bottom > li > a { - padding-top: 8px; - padding-bottom: 8px; - border-bottom-width: 1px; - border-top-width: 0; -} -.uk-tab-bottom > li:not(.uk-active) > a:hover, -.uk-tab-bottom > li:not(.uk-active) > a:focus, -.uk-tab-bottom > li.uk-open:not(.uk-active) > a { - margin-bottom: 0; - margin-top: 1px; - padding-bottom: 8px; - padding-top: 7px; -} -.uk-tab-bottom > li.uk-active > a { - border-top-color: transparent; - border-bottom-color: #dddddd; -} -/* Modifier: 'tab-grid' - ========================================================================== */ -/* - * 1. Create position context to prevent hidden border because of negative `z-index` - */ -.uk-tab-grid { - margin-left: -5px; - border-bottom: none; - /* 1 */ - position: relative; - z-index: 0; -} -.uk-tab-grid:before { - display: block; - position: absolute; - left: 5px; - right: 0; - bottom: -1px; - border-top: 1px solid #dddddd; - /* 1 */ - z-index: -1; -} -.uk-tab-grid > li:first-child > a { - margin-left: 5px; -} -.uk-tab-grid > li > a { - text-align: center; -} -/* - * If `uk-tab-bottom` - */ -.uk-tab-grid.uk-tab-bottom { - border-top: none; -} -.uk-tab-grid.uk-tab-bottom:before { - top: -1px; - bottom: auto; -} -/* Modifier: 'tab-left', 'tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-tab-left, - .uk-tab-right { - border-bottom: none; - } - .uk-tab-left > li, - .uk-tab-right > li { - margin-bottom: 0; - float: none; - } - .uk-tab-left > li > a, - .uk-tab-right > li > a { - padding-top: 8px; - padding-bottom: 8px; - } - .uk-tab-left > li:nth-child(n+2) > a, - .uk-tab-right > li:nth-child(n+2) > a { - margin-left: 0; - margin-top: 5px; - } - .uk-tab-left > li.uk-active > a, - .uk-tab-right > li.uk-active > a { - border-color: #dddddd; - } - /* - * Modifier: 'tab-left' - */ - .uk-tab-left { - border-right: 1px solid #dddddd; - } - .uk-tab-left > li { - margin-right: -1px; - } - .uk-tab-left > li > a { - border-bottom-width: 1px; - border-right-width: 0; - } - .uk-tab-left > li:not(.uk-active) > a:hover, - .uk-tab-left > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-right: 1px; - padding-bottom: 8px; - padding-right: 11px; - } - .uk-tab-left > li.uk-active > a { - border-right-color: transparent; - } - /* - * Modifier: 'tab-right' - */ - .uk-tab-right { - border-left: 1px solid #dddddd; - } - .uk-tab-right > li { - margin-left: -1px; - } - .uk-tab-right > li > a { - border-bottom-width: 1px; - border-left-width: 0; - } - .uk-tab-right > li:not(.uk-active) > a:hover, - .uk-tab-right > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-left: 1px; - padding-bottom: 8px; - padding-left: 11px; - } - .uk-tab-right > li.uk-active > a { - border-left-color: transparent; - } -} -/* ======================================================================== - Component: Thumbnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-thumbnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-thumbnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-thumbnav:before, -.uk-thumbnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-thumbnav:after { - clear: both; -} -.uk-thumbnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-thumbnav > * > * { - display: block; - background: #ffffff; -} -.uk-thumbnav > * > * > img { - opacity: 0.7; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -/* - * Hover - */ -.uk-thumbnav > * > :hover > img, -.uk-thumbnav > * > :focus > img { - opacity: 1; -} -/* - * Active - */ -.uk-thumbnav > .uk-active > * > img { - opacity: 1; -} -/* ======================================================================== - Component: List - ========================================================================== */ -.uk-list { - padding: 0; - list-style: none; -} -/* - * Micro clearfix to make list more robust - */ -.uk-list > li:before, -.uk-list > li:after { - content: ""; - display: table; -} -.uk-list > li:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-list > li > :last-child { - margin-bottom: 0; -} -/* - * Nested lists - */ -.uk-list ul { - margin: 0; - padding-left: 20px; - list-style: none; -} -/* Modifier: `uk-list-line` - ========================================================================== */ -.uk-list-line > li:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -/* Modifier: `uk-list-striped` - ========================================================================== */ -.uk-list-striped > li { - padding: 5px 5px; -} -.uk-list-striped > li:nth-of-type(odd) { - background: #f5f5f5; -} -/* Modifier: `uk-list-space` - ========================================================================== */ -.uk-list-space > li:nth-child(n+2) { - margin-top: 10px; -} -/* ======================================================================== - Component: Description list - ========================================================================== */ -/* Modifier: `uk-description-list-horizontal` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-description-list-horizontal { - overflow: hidden; - } - .uk-description-list-horizontal > dt { - width: 160px; - float: left; - clear: both; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .uk-description-list-horizontal > dd { - margin-left: 180px; - } -} -/* Modifier: `uk-description-list-line` - ========================================================================== */ -.uk-description-list-line > dt { - font-weight: normal; -} -.uk-description-list-line > dt:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -.uk-description-list-line > dd { - color: #999999; -} -/* ======================================================================== - Component: Table - ========================================================================== */ -/* - * 1. Remove most spacing between table cells. - * 2. Block element behavior - * 3. Style - */ -.uk-table { - /* 1 */ - border-collapse: collapse; - border-spacing: 0; - /* 2 */ - width: 100%; - /* 3 */ - margin-bottom: 15px; -} -/* - * Add margin if adjacent element - */ -* + .uk-table { - margin-top: 15px; -} -.uk-table th, -.uk-table td { - padding: 8px 8px; -} -/* - * Set alignment - */ -.uk-table th { - text-align: left; -} -.uk-table td { - vertical-align: top; -} -.uk-table thead th { - vertical-align: bottom; -} -/* - * Caption and footer - */ -.uk-table caption, -.uk-table tfoot { - font-size: 12px; - font-style: italic; -} -.uk-table caption { - text-align: left; - color: #999999; -} -/* - * Active State - */ -.uk-table tbody tr.uk-active { - background: #eeeeee; -} -/* Sub-modifier: `uk-table-middle` - ========================================================================== */ -.uk-table-middle, -.uk-table-middle td { - vertical-align: middle !important; -} -/* Modifier: `uk-table-striped` - ========================================================================== */ -.uk-table-striped tbody tr:nth-of-type(odd) { - background: #f5f5f5; -} -/* Modifier: `uk-table-condensed` - ========================================================================== */ -.uk-table-condensed td { - padding: 4px 8px; -} -/* Modifier: `uk-table-hover` - ========================================================================== */ -.uk-table-hover tbody tr:hover { - background: #eeeeee; -} -/* ======================================================================== - Component: Form - ========================================================================== */ -/* - * 1. Define consistent box sizing. - * Default is `content-box` with following exceptions set to `border-box` - * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` - * `input[type="search"]` in Chrome, Safari and Opera - * `input[type="color"]` in Firefox - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - */ -.uk-form input, -.uk-form select, -.uk-form textarea { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: inherit; -} -/* - * Address inconsistent `text-transform` inheritance which is only inherit in Firefox - */ -.uk-form select { - text-transform: none; -} -/* - * 1. Correct `font` properties not being inherited. - * 2. Don't inherit the `font-weight` and use `bold` instead. - * NOTE: Both declarations don't work in Chrome, Safari and Opera. - */ -.uk-form optgroup { - /* 1 */ - font: inherit; - /* 2 */ - font-weight: bold; -} -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-form input::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Removes excess padding in IE 8/9/10. - */ -.uk-form input[type="checkbox"], -.uk-form input[type="radio"] { - padding: 0; -} -/* - * Improves consistency of cursor style for clickable elements - */ -.uk-form input[type="checkbox"]:not(:disabled), -.uk-form input[type="radio"]:not(:disabled) { - cursor: pointer; -} -/* - * Remove default style in iOS. - */ -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="number"], -.uk-form input[type="datetime"] { - -webkit-appearance: none; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-form input[type="search"]::-webkit-search-cancel-button, -.uk-form input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -.uk-form input[type="number"]::-webkit-inner-spin-button, -.uk-form input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -/* - * Define consistent border, margin, and padding. - */ -.uk-form fieldset { - border: none; - margin: 0; - padding: 0; -} -/* - * 1. Remove default vertical scrollbar in IE 8/9/10/11. - * 2. Improve readability and alignment in all browsers. - */ -.uk-form textarea { - /* 1 */ - overflow: auto; - /* 2 */ - vertical-align: top; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-form ::-moz-placeholder { - opacity: 1; -} -/* - * Removes `box-shadow` for invalid controls in Firefox. - */ -.uk-form :invalid { - box-shadow: none; -} -/* - * Vertical alignment - */ -.uk-form input:not([type="radio"]):not([type="checkbox"]), -.uk-form select { - vertical-align: middle; -} -/* Style - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-form > :last-child { - margin-bottom: 0; -} -/* - * Controls - * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` - * 1. Must be `height` because `min-height` is not working in OSX - * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports - * 3. Vertical `padding` needed for `select` elements in Firefox - * 4. Style - */ -.uk-form select, -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="datetime"], -.uk-form input[type="datetime-local"], -.uk-form input[type="date"], -.uk-form input[type="month"], -.uk-form input[type="time"], -.uk-form input[type="week"], -.uk-form input[type="number"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="color"] { - /* 1 */ - height: 30px; - /* 2 */ - max-width: 100%; - /* 3 */ - padding: 4px 6px; - /* 4 */ - border: 1px solid #dddddd; - background: #ffffff; - color: #444444; - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; -} -.uk-form select:focus, -.uk-form textarea:focus, -.uk-form input:not([type]):focus, -.uk-form input[type="text"]:focus, -.uk-form input[type="password"]:focus, -.uk-form input[type="datetime"]:focus, -.uk-form input[type="datetime-local"]:focus, -.uk-form input[type="date"]:focus, -.uk-form input[type="month"]:focus, -.uk-form input[type="time"]:focus, -.uk-form input[type="week"]:focus, -.uk-form input[type="number"]:focus, -.uk-form input[type="email"]:focus, -.uk-form input[type="url"]:focus, -.uk-form input[type="search"]:focus, -.uk-form input[type="tel"]:focus, -.uk-form input[type="color"]:focus { - border-color: #99baca; - outline: 0; - background: #f5fbfe; - color: #444444; -} -.uk-form select:disabled, -.uk-form textarea:disabled, -.uk-form input:not([type]):disabled, -.uk-form input[type="text"]:disabled, -.uk-form input[type="password"]:disabled, -.uk-form input[type="datetime"]:disabled, -.uk-form input[type="datetime-local"]:disabled, -.uk-form input[type="date"]:disabled, -.uk-form input[type="month"]:disabled, -.uk-form input[type="time"]:disabled, -.uk-form input[type="week"]:disabled, -.uk-form input[type="number"]:disabled, -.uk-form input[type="email"]:disabled, -.uk-form input[type="url"]:disabled, -.uk-form input[type="search"]:disabled, -.uk-form input[type="tel"]:disabled, -.uk-form input[type="color"]:disabled { - border-color: #dddddd; - background-color: #f5f5f5; - color: #999999; -} -/* - * Placeholder - */ -.uk-form :-ms-input-placeholder { - color: #999999 !important; -} -.uk-form ::-moz-placeholder { - color: #999999; -} -.uk-form ::-webkit-input-placeholder { - color: #999999; -} -.uk-form :disabled:-ms-input-placeholder { - color: #999999 !important; -} -.uk-form :disabled::-moz-placeholder { - color: #999999; -} -.uk-form :disabled::-webkit-input-placeholder { - color: #999999; -} -/* - * Legend - * 1. Behave like block element - * 2. Correct `color` not being inherited in IE 8/9/10/11. - * 3. Remove padding - * 4. `margin-bottom` is not working in Safari and Opera. - * Using `padding` and :after instead to create the border - * 5. Style - */ -.uk-form legend { - /* 1 */ - width: 100%; - /* 2 */ - border: 0; - /* 3 */ - padding: 0; - /* 4 */ - padding-bottom: 15px; - /* 5 */ - font-size: 18px; - line-height: 30px; -} -/* - * 1. Fixes IE9 - */ -.uk-form legend:after { - content: ""; - display: block; - border-bottom: 1px solid #dddddd; - /* 1 */ - width: 100%; -} -/* Size modifiers - * Higher specificity needed to override defaults - ========================================================================== */ -select.uk-form-small, -textarea.uk-form-small, -input[type].uk-form-small, -input:not([type]).uk-form-small { - height: 25px; - padding: 3px 3px; - font-size: 12px; -} -select.uk-form-large, -textarea.uk-form-large, -input[type].uk-form-large, -input:not([type]).uk-form-large { - height: 40px; - padding: 8px 6px; - font-size: 16px; -} -/* Reset height - * Must be after size modifiers - ========================================================================== */ -.uk-form textarea, -.uk-form select[multiple], -.uk-form select[size] { - height: auto; -} -/* Validation states - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Error state - */ -.uk-form-danger { - border-color: #dc8d99 !important; - background: #fff7f8 !important; - color: #d85030 !important; -} -/* - * Success state - */ -.uk-form-success { - border-color: #8ec73b !important; - background: #fafff2 !important; - color: #659f13 !important; -} -/* Style modifiers - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Blank form - */ -.uk-form-blank { - border-color: transparent !important; - border-style: dashed !important; - background: none !important; -} -.uk-form-blank:focus { - border-color: #dddddd !important; -} -/* Size sub-modifiers - ========================================================================== */ -/* - * Fixed widths - * Different widths for mini sized `input` and `select` elements - */ -input.uk-form-width-mini { - width: 40px; -} -select.uk-form-width-mini { - width: 65px; -} -.uk-form-width-small { - width: 130px; -} -.uk-form-width-medium { - width: 200px; -} -.uk-form-width-large { - width: 500px; -} -/* Sub-objects: `uk-form-row` - * Groups labels and controls in rows - ========================================================================== */ -/* - * Micro clearfix - * Needed for `uk-form-horizontal` modifier - */ -.uk-form-row:before, -.uk-form-row:after { - content: ""; - display: table; -} -.uk-form-row:after { - clear: both; -} -/* - * Vertical gutter - */ -.uk-form-row + .uk-form-row { - margin-top: 15px; -} -/* Help text - * Sub-object: `uk-form-help-inline`, `uk-form-help-block` - ========================================================================== */ -.uk-form-help-inline { - display: inline-block; - margin: 0 0 0 10px; -} -.uk-form-help-block { - margin: 5px 0 0 0; -} -/* Controls content - * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` - ========================================================================== */ -/* - * Remove margins - */ -.uk-form-controls > :first-child { - margin-top: 0; -} -.uk-form-controls > :last-child { - margin-bottom: 0; -} -/* - * Group controls and text into blocks with a small spacing between blocks - */ -.uk-form-controls-condensed { - margin: 5px 0; -} -/* Modifier: `uk-form-stacked` - * Requires sub-object: `uk-form-label` - ========================================================================== */ -.uk-form-stacked .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; -} -/* Modifier: `uk-form-horizontal` - * Requires sub-objects: `uk-form-label`, `uk-form-controls` - ========================================================================== */ -/* Tablet portrait and smaller */ -@media (max-width: 959px) { - /* Behave like `uk-form-stacked` */ - .uk-form-horizontal .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-form-horizontal .uk-form-label { - width: 200px; - margin-top: 5px; - float: left; - } - .uk-form-horizontal .uk-form-controls { - margin-left: 215px; - } - /* Better vertical alignment if controls are checkboxes and radio buttons with text */ - .uk-form-horizontal .uk-form-controls-text { - padding-top: 5px; - } -} -/* Sub-object: `uk-form-icon` - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-icon { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -/* - * 1. Make form element clickable through icon - */ -.uk-form-icon > [class*='uk-icon-'] { - position: absolute; - top: 50%; - width: 30px; - margin-top: -7px; - font-size: 14px; - color: #999999; - text-align: center; - /* 1 */ - pointer-events: none; -} -.uk-form-icon:not(.uk-form-icon-flip) > input { - padding-left: 30px !important; -} -/* - * Sub-modifier: `uk-form-icon-flip` - */ -.uk-form-icon-flip > [class*='uk-icon-'] { - right: 0; -} -.uk-form-icon-flip > input { - padding-right: 30px !important; -} -/* ======================================================================== - Component: Button - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-button::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Style - * 8. `line-height` is used to create a height - * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. - * 10. Reset button group whitespace hack - * 11. Required for `a`. - */ -.uk-button { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: #444444; - /* 6 */ - text-transform: none; - /* 7 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0 12px; - background: #eeeeee; - vertical-align: middle; - /* 8 */ - line-height: 30px; - /* 9 */ - min-height: 30px; - /* 10 */ - font-size: 1rem; - /* 11 */ - text-decoration: none; - text-align: center; -} -.uk-button:not(:disabled) { - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-button:hover, -.uk-button:focus { - background-color: #f5f5f5; - color: #444444; - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; -} -/* Active */ -.uk-button:active, -.uk-button.uk-active { - background-color: #dddddd; - color: #444444; -} -/* Color modifiers - ========================================================================== */ -/* - * Modifier: `uk-button-primary` - */ -.uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -/* Hover */ -.uk-button-primary:hover, -.uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -/* Active */ -.uk-button-primary:active, -.uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -/* - * Modifier: `uk-button-success` - */ -.uk-button-success { - background-color: #8cc14c; - color: #ffffff; -} -/* Hover */ -.uk-button-success:hover, -.uk-button-success:focus { - background-color: #8ec73b; - color: #ffffff; -} -/* Active */ -.uk-button-success:active, -.uk-button-success.uk-active { - background-color: #72ae41; - color: #ffffff; -} -/* - * Modifier: `uk-button-danger` - */ -.uk-button-danger { - background-color: #da314b; - color: #ffffff; -} -/* Hover */ -.uk-button-danger:hover, -.uk-button-danger:focus { - background-color: #e4354f; - color: #ffffff; -} -/* Active */ -.uk-button-danger:active, -.uk-button-danger.uk-active { - background-color: #c91032; - color: #ffffff; -} -/* Disabled state - * Overrides also the color modifiers - ========================================================================== */ -/* Equal for all button types */ -.uk-button:disabled { - background-color: #f5f5f5; - color: #999999; -} -/* Modifier: `uk-button-link` - ========================================================================== */ -/* Reset */ -.uk-button-link, -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active, -.uk-button-link:disabled { - border-color: transparent; - background: none; -} -/* Color */ -.uk-button-link { - color: #0077dd; -} -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active { - color: #005599; - text-decoration: underline; -} -.uk-button-link:disabled { - color: #999999; -} -/* Focus */ -.uk-button-link:focus { - outline: 1px dotted; -} -/* Size modifiers - ========================================================================== */ -.uk-button-mini { - min-height: 20px; - padding: 0 6px; - line-height: 20px; - font-size: 11px; -} -.uk-button-small { - min-height: 25px; - padding: 0 10px; - line-height: 25px; - font-size: 12px; -} -.uk-button-large { - min-height: 40px; - padding: 0 15px; - line-height: 40px; - font-size: 16px; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - * 3. Remove whitespace between child elements when using `inline-block` - * 4. Prevent buttons from wrapping - * 5. Remove whitespace between child elements when using `inline-block` - */ -.uk-button-group { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - font-size: 0.001px; - /* 4 */ - white-space: nowrap; -} -.uk-button-group > * { - display: inline-block; -} -/* 5 */ -.uk-button-group .uk-button { - vertical-align: top; -} -/* Sub-object: `uk-button-dropdown` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - */ -.uk-button-dropdown { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; -} -/* ======================================================================== - Component: Icon - ========================================================================== */ -@font-face { - font-family: 'FontAwesome'; - src: url("../fonts/fontawesome-webfont.eot"); - src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} -/* - * 1. Allow margin - * 2. Prevent inherit font style - * 4. Correct line-height - * 5. Better font rendering - * 6. Remove `text-decoration` for anchors - */ -[class*='uk-icon-'] { - font-family: FontAwesome; - /* 1 */ - display: inline-block; - /* 2 */ - font-weight: normal; - font-style: normal; - /* 4 */ - line-height: 1; - /* 5 */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/* 6 */ -[class*='uk-icon-'], -[class*='uk-icon-']:hover, -[class*='uk-icon-']:focus { - text-decoration: none; -} -/* Size modifiers - ========================================================================== */ -.uk-icon-small { - font-size: 150%; - vertical-align: -10%; -} -.uk-icon-medium { - font-size: 200%; - vertical-align: -16%; -} -.uk-icon-large { - font-size: 250%; - vertical-align: -22%; -} -/* Modifier: `uk-icon-justify` - ========================================================================== */ -.uk-icon-justify { - width: 1em; - text-align: center; -} -/* Modifier: `uk-icon-spin` - ========================================================================== */ -.uk-icon-spin { - display: inline-block; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* Modifier: `uk-icon-hover` - ========================================================================== */ -.uk-icon-hover { - color: #999999; -} -/* - * Hover - */ -.uk-icon-hover:hover { - color: #444444; -} -/* Modifier: `uk-icon-button` - ========================================================================== */ -.uk-icon-button { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - width: 35px; - height: 35px; - border-radius: 100%; - background: #eeeeee; - line-height: 35px; - color: #444444; - font-size: 18px; - text-align: center; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-icon-button:hover, -.uk-icon-button:focus { - background-color: #f5f5f5; - color: #444444; - /* 2 */ - outline: none; -} -/* Active */ -.uk-icon-button:active { - background-color: #dddddd; - color: #444444; -} -/* Icon mapping - ========================================================================== */ -.uk-icon-glass:before { - content: "\f000"; -} -.uk-icon-music:before { - content: "\f001"; -} -.uk-icon-search:before { - content: "\f002"; -} -.uk-icon-envelope-o:before { - content: "\f003"; -} -.uk-icon-heart:before { - content: "\f004"; -} -.uk-icon-star:before { - content: "\f005"; -} -.uk-icon-star-o:before { - content: "\f006"; -} -.uk-icon-user:before { - content: "\f007"; -} -.uk-icon-film:before { - content: "\f008"; -} -.uk-icon-th-large:before { - content: "\f009"; -} -.uk-icon-th:before { - content: "\f00a"; -} -.uk-icon-th-list:before { - content: "\f00b"; -} -.uk-icon-check:before { - content: "\f00c"; -} -.uk-icon-remove:before, -.uk-icon-close:before, -.uk-icon-times:before { - content: "\f00d"; -} -.uk-icon-search-plus:before { - content: "\f00e"; -} -.uk-icon-search-minus:before { - content: "\f010"; -} -.uk-icon-power-off:before { - content: "\f011"; -} -.uk-icon-signal:before { - content: "\f012"; -} -.uk-icon-gear:before, -.uk-icon-cog:before { - content: "\f013"; -} -.uk-icon-trash-o:before { - content: "\f014"; -} -.uk-icon-home:before { - content: "\f015"; -} -.uk-icon-file-o:before { - content: "\f016"; -} -.uk-icon-clock-o:before { - content: "\f017"; -} -.uk-icon-road:before { - content: "\f018"; -} -.uk-icon-download:before { - content: "\f019"; -} -.uk-icon-arrow-circle-o-down:before { - content: "\f01a"; -} -.uk-icon-arrow-circle-o-up:before { - content: "\f01b"; -} -.uk-icon-inbox:before { - content: "\f01c"; -} -.uk-icon-play-circle-o:before { - content: "\f01d"; -} -.uk-icon-rotate-right:before, -.uk-icon-repeat:before { - content: "\f01e"; -} -.uk-icon-refresh:before { - content: "\f021"; -} -.uk-icon-list-alt:before { - content: "\f022"; -} -.uk-icon-lock:before { - content: "\f023"; -} -.uk-icon-flag:before { - content: "\f024"; -} -.uk-icon-headphones:before { - content: "\f025"; -} -.uk-icon-volume-off:before { - content: "\f026"; -} -.uk-icon-volume-down:before { - content: "\f027"; -} -.uk-icon-volume-up:before { - content: "\f028"; -} -.uk-icon-qrcode:before { - content: "\f029"; -} -.uk-icon-barcode:before { - content: "\f02a"; -} -.uk-icon-tag:before { - content: "\f02b"; -} -.uk-icon-tags:before { - content: "\f02c"; -} -.uk-icon-book:before { - content: "\f02d"; -} -.uk-icon-bookmark:before { - content: "\f02e"; -} -.uk-icon-print:before { - content: "\f02f"; -} -.uk-icon-camera:before { - content: "\f030"; -} -.uk-icon-font:before { - content: "\f031"; -} -.uk-icon-bold:before { - content: "\f032"; -} -.uk-icon-italic:before { - content: "\f033"; -} -.uk-icon-text-height:before { - content: "\f034"; -} -.uk-icon-text-width:before { - content: "\f035"; -} -.uk-icon-align-left:before { - content: "\f036"; -} -.uk-icon-align-center:before { - content: "\f037"; -} -.uk-icon-align-right:before { - content: "\f038"; -} -.uk-icon-align-justify:before { - content: "\f039"; -} -.uk-icon-list:before { - content: "\f03a"; -} -.uk-icon-dedent:before, -.uk-icon-outdent:before { - content: "\f03b"; -} -.uk-icon-indent:before { - content: "\f03c"; -} -.uk-icon-video-camera:before { - content: "\f03d"; -} -.uk-icon-photo:before, -.uk-icon-image:before, -.uk-icon-picture-o:before { - content: "\f03e"; -} -.uk-icon-pencil:before { - content: "\f040"; -} -.uk-icon-map-marker:before { - content: "\f041"; -} -.uk-icon-adjust:before { - content: "\f042"; -} -.uk-icon-tint:before { - content: "\f043"; -} -.uk-icon-edit:before, -.uk-icon-pencil-square-o:before { - content: "\f044"; -} -.uk-icon-share-square-o:before { - content: "\f045"; -} -.uk-icon-check-square-o:before { - content: "\f046"; -} -.uk-icon-arrows:before { - content: "\f047"; -} -.uk-icon-step-backward:before { - content: "\f048"; -} -.uk-icon-fast-backward:before { - content: "\f049"; -} -.uk-icon-backward:before { - content: "\f04a"; -} -.uk-icon-play:before { - content: "\f04b"; -} -.uk-icon-pause:before { - content: "\f04c"; -} -.uk-icon-stop:before { - content: "\f04d"; -} -.uk-icon-forward:before { - content: "\f04e"; -} -.uk-icon-fast-forward:before { - content: "\f050"; -} -.uk-icon-step-forward:before { - content: "\f051"; -} -.uk-icon-eject:before { - content: "\f052"; -} -.uk-icon-chevron-left:before { - content: "\f053"; -} -.uk-icon-chevron-right:before { - content: "\f054"; -} -.uk-icon-plus-circle:before { - content: "\f055"; -} -.uk-icon-minus-circle:before { - content: "\f056"; -} -.uk-icon-times-circle:before { - content: "\f057"; -} -.uk-icon-check-circle:before { - content: "\f058"; -} -.uk-icon-question-circle:before { - content: "\f059"; -} -.uk-icon-info-circle:before { - content: "\f05a"; -} -.uk-icon-crosshairs:before { - content: "\f05b"; -} -.uk-icon-times-circle-o:before { - content: "\f05c"; -} -.uk-icon-check-circle-o:before { - content: "\f05d"; -} -.uk-icon-ban:before { - content: "\f05e"; -} -.uk-icon-arrow-left:before { - content: "\f060"; -} -.uk-icon-arrow-right:before { - content: "\f061"; -} -.uk-icon-arrow-up:before { - content: "\f062"; -} -.uk-icon-arrow-down:before { - content: "\f063"; -} -.uk-icon-mail-forward:before, -.uk-icon-share:before { - content: "\f064"; -} -.uk-icon-expand:before { - content: "\f065"; -} -.uk-icon-compress:before { - content: "\f066"; -} -.uk-icon-plus:before { - content: "\f067"; -} -.uk-icon-minus:before { - content: "\f068"; -} -.uk-icon-asterisk:before { - content: "\f069"; -} -.uk-icon-exclamation-circle:before { - content: "\f06a"; -} -.uk-icon-gift:before { - content: "\f06b"; -} -.uk-icon-leaf:before { - content: "\f06c"; -} -.uk-icon-fire:before { - content: "\f06d"; -} -.uk-icon-eye:before { - content: "\f06e"; -} -.uk-icon-eye-slash:before { - content: "\f070"; -} -.uk-icon-warning:before, -.uk-icon-exclamation-triangle:before { - content: "\f071"; -} -.uk-icon-plane:before { - content: "\f072"; -} -.uk-icon-calendar:before { - content: "\f073"; -} -.uk-icon-random:before { - content: "\f074"; -} -.uk-icon-comment:before { - content: "\f075"; -} -.uk-icon-magnet:before { - content: "\f076"; -} -.uk-icon-chevron-up:before { - content: "\f077"; -} -.uk-icon-chevron-down:before { - content: "\f078"; -} -.uk-icon-retweet:before { - content: "\f079"; -} -.uk-icon-shopping-cart:before { - content: "\f07a"; -} -.uk-icon-folder:before { - content: "\f07b"; -} -.uk-icon-folder-open:before { - content: "\f07c"; -} -.uk-icon-arrows-v:before { - content: "\f07d"; -} -.uk-icon-arrows-h:before { - content: "\f07e"; -} -.uk-icon-bar-chart-o:before, -.uk-icon-bar-chart:before { - content: "\f080"; -} -.uk-icon-twitter-square:before { - content: "\f081"; -} -.uk-icon-facebook-square:before { - content: "\f082"; -} -.uk-icon-camera-retro:before { - content: "\f083"; -} -.uk-icon-key:before { - content: "\f084"; -} -.uk-icon-gears:before, -.uk-icon-cogs:before { - content: "\f085"; -} -.uk-icon-comments:before { - content: "\f086"; -} -.uk-icon-thumbs-o-up:before { - content: "\f087"; -} -.uk-icon-thumbs-o-down:before { - content: "\f088"; -} -.uk-icon-star-half:before { - content: "\f089"; -} -.uk-icon-heart-o:before { - content: "\f08a"; -} -.uk-icon-sign-out:before { - content: "\f08b"; -} -.uk-icon-linkedin-square:before { - content: "\f08c"; -} -.uk-icon-thumb-tack:before { - content: "\f08d"; -} -.uk-icon-external-link:before { - content: "\f08e"; -} -.uk-icon-sign-in:before { - content: "\f090"; -} -.uk-icon-trophy:before { - content: "\f091"; -} -.uk-icon-github-square:before { - content: "\f092"; -} -.uk-icon-upload:before { - content: "\f093"; -} -.uk-icon-lemon-o:before { - content: "\f094"; -} -.uk-icon-phone:before { - content: "\f095"; -} -.uk-icon-square-o:before { - content: "\f096"; -} -.uk-icon-bookmark-o:before { - content: "\f097"; -} -.uk-icon-phone-square:before { - content: "\f098"; -} -.uk-icon-twitter:before { - content: "\f099"; -} -.uk-icon-facebook-f:before, -.uk-icon-facebook:before { - content: "\f09a"; -} -.uk-icon-github:before { - content: "\f09b"; -} -.uk-icon-unlock:before { - content: "\f09c"; -} -.uk-icon-credit-card:before { - content: "\f09d"; -} -.uk-icon-rss:before { - content: "\f09e"; -} -.uk-icon-hdd-o:before { - content: "\f0a0"; -} -.uk-icon-bullhorn:before { - content: "\f0a1"; -} -.uk-icon-bell:before { - content: "\f0f3"; -} -.uk-icon-certificate:before { - content: "\f0a3"; -} -.uk-icon-hand-o-right:before { - content: "\f0a4"; -} -.uk-icon-hand-o-left:before { - content: "\f0a5"; -} -.uk-icon-hand-o-up:before { - content: "\f0a6"; -} -.uk-icon-hand-o-down:before { - content: "\f0a7"; -} -.uk-icon-arrow-circle-left:before { - content: "\f0a8"; -} -.uk-icon-arrow-circle-right:before { - content: "\f0a9"; -} -.uk-icon-arrow-circle-up:before { - content: "\f0aa"; -} -.uk-icon-arrow-circle-down:before { - content: "\f0ab"; -} -.uk-icon-globe:before { - content: "\f0ac"; -} -.uk-icon-wrench:before { - content: "\f0ad"; -} -.uk-icon-tasks:before { - content: "\f0ae"; -} -.uk-icon-filter:before { - content: "\f0b0"; -} -.uk-icon-briefcase:before { - content: "\f0b1"; -} -.uk-icon-arrows-alt:before { - content: "\f0b2"; -} -.uk-icon-group:before, -.uk-icon-users:before { - content: "\f0c0"; -} -.uk-icon-chain:before, -.uk-icon-link:before { - content: "\f0c1"; -} -.uk-icon-cloud:before { - content: "\f0c2"; -} -.uk-icon-flask:before { - content: "\f0c3"; -} -.uk-icon-cut:before, -.uk-icon-scissors:before { - content: "\f0c4"; -} -.uk-icon-copy:before, -.uk-icon-files-o:before { - content: "\f0c5"; -} -.uk-icon-paperclip:before { - content: "\f0c6"; -} -.uk-icon-save:before, -.uk-icon-floppy-o:before { - content: "\f0c7"; -} -.uk-icon-square:before { - content: "\f0c8"; -} -.uk-icon-navicon:before, -.uk-icon-reorder:before, -.uk-icon-bars:before { - content: "\f0c9"; -} -.uk-icon-list-ul:before { - content: "\f0ca"; -} -.uk-icon-list-ol:before { - content: "\f0cb"; -} -.uk-icon-strikethrough:before { - content: "\f0cc"; -} -.uk-icon-underline:before { - content: "\f0cd"; -} -.uk-icon-table:before { - content: "\f0ce"; -} -.uk-icon-magic:before { - content: "\f0d0"; -} -.uk-icon-truck:before { - content: "\f0d1"; -} -.uk-icon-pinterest:before { - content: "\f0d2"; -} -.uk-icon-pinterest-square:before { - content: "\f0d3"; -} -.uk-icon-google-plus-square:before { - content: "\f0d4"; -} -.uk-icon-google-plus:before { - content: "\f0d5"; -} -.uk-icon-money:before { - content: "\f0d6"; -} -.uk-icon-caret-down:before { - content: "\f0d7"; -} -.uk-icon-caret-up:before { - content: "\f0d8"; -} -.uk-icon-caret-left:before { - content: "\f0d9"; -} -.uk-icon-caret-right:before { - content: "\f0da"; -} -.uk-icon-columns:before { - content: "\f0db"; -} -.uk-icon-unsorted:before, -.uk-icon-sort:before { - content: "\f0dc"; -} -.uk-icon-sort-down:before, -.uk-icon-sort-desc:before { - content: "\f0dd"; -} -.uk-icon-sort-up:before, -.uk-icon-sort-asc:before { - content: "\f0de"; -} -.uk-icon-envelope:before { - content: "\f0e0"; -} -.uk-icon-linkedin:before { - content: "\f0e1"; -} -.uk-icon-rotate-left:before, -.uk-icon-undo:before { - content: "\f0e2"; -} -.uk-icon-legal:before, -.uk-icon-gavel:before { - content: "\f0e3"; -} -.uk-icon-dashboard:before, -.uk-icon-tachometer:before { - content: "\f0e4"; -} -.uk-icon-comment-o:before { - content: "\f0e5"; -} -.uk-icon-comments-o:before { - content: "\f0e6"; -} -.uk-icon-flash:before, -.uk-icon-bolt:before { - content: "\f0e7"; -} -.uk-icon-sitemap:before { - content: "\f0e8"; -} -.uk-icon-umbrella:before { - content: "\f0e9"; -} -.uk-icon-paste:before, -.uk-icon-clipboard:before { - content: "\f0ea"; -} -.uk-icon-lightbulb-o:before { - content: "\f0eb"; -} -.uk-icon-exchange:before { - content: "\f0ec"; -} -.uk-icon-cloud-download:before { - content: "\f0ed"; -} -.uk-icon-cloud-upload:before { - content: "\f0ee"; -} -.uk-icon-user-md:before { - content: "\f0f0"; -} -.uk-icon-stethoscope:before { - content: "\f0f1"; -} -.uk-icon-suitcase:before { - content: "\f0f2"; -} -.uk-icon-bell-o:before { - content: "\f0a2"; -} -.uk-icon-coffee:before { - content: "\f0f4"; -} -.uk-icon-cutlery:before { - content: "\f0f5"; -} -.uk-icon-file-text-o:before { - content: "\f0f6"; -} -.uk-icon-building-o:before { - content: "\f0f7"; -} -.uk-icon-hospital-o:before { - content: "\f0f8"; -} -.uk-icon-ambulance:before { - content: "\f0f9"; -} -.uk-icon-medkit:before { - content: "\f0fa"; -} -.uk-icon-fighter-jet:before { - content: "\f0fb"; -} -.uk-icon-beer:before { - content: "\f0fc"; -} -.uk-icon-h-square:before { - content: "\f0fd"; -} -.uk-icon-plus-square:before { - content: "\f0fe"; -} -.uk-icon-angle-double-left:before { - content: "\f100"; -} -.uk-icon-angle-double-right:before { - content: "\f101"; -} -.uk-icon-angle-double-up:before { - content: "\f102"; -} -.uk-icon-angle-double-down:before { - content: "\f103"; -} -.uk-icon-angle-left:before { - content: "\f104"; -} -.uk-icon-angle-right:before { - content: "\f105"; -} -.uk-icon-angle-up:before { - content: "\f106"; -} -.uk-icon-angle-down:before { - content: "\f107"; -} -.uk-icon-desktop:before { - content: "\f108"; -} -.uk-icon-laptop:before { - content: "\f109"; -} -.uk-icon-tablet:before { - content: "\f10a"; -} -.uk-icon-mobile-phone:before, -.uk-icon-mobile:before { - content: "\f10b"; -} -.uk-icon-circle-o:before { - content: "\f10c"; -} -.uk-icon-quote-left:before { - content: "\f10d"; -} -.uk-icon-quote-right:before { - content: "\f10e"; -} -.uk-icon-spinner:before { - content: "\f110"; -} -.uk-icon-circle:before { - content: "\f111"; -} -.uk-icon-mail-reply:before, -.uk-icon-reply:before { - content: "\f112"; -} -.uk-icon-github-alt:before { - content: "\f113"; -} -.uk-icon-folder-o:before { - content: "\f114"; -} -.uk-icon-folder-open-o:before { - content: "\f115"; -} -.uk-icon-smile-o:before { - content: "\f118"; -} -.uk-icon-frown-o:before { - content: "\f119"; -} -.uk-icon-meh-o:before { - content: "\f11a"; -} -.uk-icon-gamepad:before { - content: "\f11b"; -} -.uk-icon-keyboard-o:before { - content: "\f11c"; -} -.uk-icon-flag-o:before { - content: "\f11d"; -} -.uk-icon-flag-checkered:before { - content: "\f11e"; -} -.uk-icon-terminal:before { - content: "\f120"; -} -.uk-icon-code:before { - content: "\f121"; -} -.uk-icon-mail-reply-all:before, -.uk-icon-reply-all:before { - content: "\f122"; -} -.uk-icon-star-half-empty:before, -.uk-icon-star-half-full:before, -.uk-icon-star-half-o:before { - content: "\f123"; -} -.uk-icon-location-arrow:before { - content: "\f124"; -} -.uk-icon-crop:before { - content: "\f125"; -} -.uk-icon-code-fork:before { - content: "\f126"; -} -.uk-icon-unlink:before, -.uk-icon-chain-broken:before { - content: "\f127"; -} -.uk-icon-question:before { - content: "\f128"; -} -.uk-icon-info:before { - content: "\f129"; -} -.uk-icon-exclamation:before { - content: "\f12a"; -} -.uk-icon-superscript:before { - content: "\f12b"; -} -.uk-icon-subscript:before { - content: "\f12c"; -} -.uk-icon-eraser:before { - content: "\f12d"; -} -.uk-icon-puzzle-piece:before { - content: "\f12e"; -} -.uk-icon-microphone:before { - content: "\f130"; -} -.uk-icon-microphone-slash:before { - content: "\f131"; -} -.uk-icon-shield:before { - content: "\f132"; -} -.uk-icon-calendar-o:before { - content: "\f133"; -} -.uk-icon-fire-extinguisher:before { - content: "\f134"; -} -.uk-icon-rocket:before { - content: "\f135"; -} -.uk-icon-maxcdn:before { - content: "\f136"; -} -.uk-icon-chevron-circle-left:before { - content: "\f137"; -} -.uk-icon-chevron-circle-right:before { - content: "\f138"; -} -.uk-icon-chevron-circle-up:before { - content: "\f139"; -} -.uk-icon-chevron-circle-down:before { - content: "\f13a"; -} -.uk-icon-html5:before { - content: "\f13b"; -} -.uk-icon-css3:before { - content: "\f13c"; -} -.uk-icon-anchor:before { - content: "\f13d"; -} -.uk-icon-unlock-alt:before { - content: "\f13e"; -} -.uk-icon-bullseye:before { - content: "\f140"; -} -.uk-icon-ellipsis-h:before { - content: "\f141"; -} -.uk-icon-ellipsis-v:before { - content: "\f142"; -} -.uk-icon-rss-square:before { - content: "\f143"; -} -.uk-icon-play-circle:before { - content: "\f144"; -} -.uk-icon-ticket:before { - content: "\f145"; -} -.uk-icon-minus-square:before { - content: "\f146"; -} -.uk-icon-minus-square-o:before { - content: "\f147"; -} -.uk-icon-level-up:before { - content: "\f148"; -} -.uk-icon-level-down:before { - content: "\f149"; -} -.uk-icon-check-square:before { - content: "\f14a"; -} -.uk-icon-pencil-square:before { - content: "\f14b"; -} -.uk-icon-external-link-square:before { - content: "\f14c"; -} -.uk-icon-share-square:before { - content: "\f14d"; -} -.uk-icon-compass:before { - content: "\f14e"; -} -.uk-icon-toggle-down:before, -.uk-icon-caret-square-o-down:before { - content: "\f150"; -} -.uk-icon-toggle-up:before, -.uk-icon-caret-square-o-up:before { - content: "\f151"; -} -.uk-icon-toggle-right:before, -.uk-icon-caret-square-o-right:before { - content: "\f152"; -} -.uk-icon-euro:before, -.uk-icon-eur:before { - content: "\f153"; -} -.uk-icon-gbp:before { - content: "\f154"; -} -.uk-icon-dollar:before, -.uk-icon-usd:before { - content: "\f155"; -} -.uk-icon-rupee:before, -.uk-icon-inr:before { - content: "\f156"; -} -.uk-icon-cny:before, -.uk-icon-rmb:before, -.uk-icon-yen:before, -.uk-icon-jpy:before { - content: "\f157"; -} -.uk-icon-ruble:before, -.uk-icon-rouble:before, -.uk-icon-rub:before { - content: "\f158"; -} -.uk-icon-won:before, -.uk-icon-krw:before { - content: "\f159"; -} -.uk-icon-bitcoin:before, -.uk-icon-btc:before { - content: "\f15a"; -} -.uk-icon-file:before { - content: "\f15b"; -} -.uk-icon-file-text:before { - content: "\f15c"; -} -.uk-icon-sort-alpha-asc:before { - content: "\f15d"; -} -.uk-icon-sort-alpha-desc:before { - content: "\f15e"; -} -.uk-icon-sort-amount-asc:before { - content: "\f160"; -} -.uk-icon-sort-amount-desc:before { - content: "\f161"; -} -.uk-icon-sort-numeric-asc:before { - content: "\f162"; -} -.uk-icon-sort-numeric-desc:before { - content: "\f163"; -} -.uk-icon-thumbs-up:before { - content: "\f164"; -} -.uk-icon-thumbs-down:before { - content: "\f165"; -} -.uk-icon-youtube-square:before { - content: "\f166"; -} -.uk-icon-youtube:before { - content: "\f167"; -} -.uk-icon-xing:before { - content: "\f168"; -} -.uk-icon-xing-square:before { - content: "\f169"; -} -.uk-icon-youtube-play:before { - content: "\f16a"; -} -.uk-icon-dropbox:before { - content: "\f16b"; -} -.uk-icon-stack-overflow:before { - content: "\f16c"; -} -.uk-icon-instagram:before { - content: "\f16d"; -} -.uk-icon-flickr:before { - content: "\f16e"; -} -.uk-icon-adn:before { - content: "\f170"; -} -.uk-icon-bitbucket:before { - content: "\f171"; -} -.uk-icon-bitbucket-square:before { - content: "\f172"; -} -.uk-icon-tumblr:before { - content: "\f173"; -} -.uk-icon-tumblr-square:before { - content: "\f174"; -} -.uk-icon-long-arrow-down:before { - content: "\f175"; -} -.uk-icon-long-arrow-up:before { - content: "\f176"; -} -.uk-icon-long-arrow-left:before { - content: "\f177"; -} -.uk-icon-long-arrow-right:before { - content: "\f178"; -} -.uk-icon-apple:before { - content: "\f179"; -} -.uk-icon-windows:before { - content: "\f17a"; -} -.uk-icon-android:before { - content: "\f17b"; -} -.uk-icon-linux:before { - content: "\f17c"; -} -.uk-icon-dribbble:before { - content: "\f17d"; -} -.uk-icon-skype:before { - content: "\f17e"; -} -.uk-icon-foursquare:before { - content: "\f180"; -} -.uk-icon-trello:before { - content: "\f181"; -} -.uk-icon-female:before { - content: "\f182"; -} -.uk-icon-male:before { - content: "\f183"; -} -.uk-icon-gittip:before, -.uk-icon-gratipay:before { - content: "\f184"; -} -.uk-icon-sun-o:before { - content: "\f185"; -} -.uk-icon-moon-o:before { - content: "\f186"; -} -.uk-icon-archive:before { - content: "\f187"; -} -.uk-icon-bug:before { - content: "\f188"; -} -.uk-icon-vk:before { - content: "\f189"; -} -.uk-icon-weibo:before { - content: "\f18a"; -} -.uk-icon-renren:before { - content: "\f18b"; -} -.uk-icon-pagelines:before { - content: "\f18c"; -} -.uk-icon-stack-exchange:before { - content: "\f18d"; -} -.uk-icon-arrow-circle-o-right:before { - content: "\f18e"; -} -.uk-icon-arrow-circle-o-left:before { - content: "\f190"; -} -.uk-icon-toggle-left:before, -.uk-icon-caret-square-o-left:before { - content: "\f191"; -} -.uk-icon-dot-circle-o:before { - content: "\f192"; -} -.uk-icon-wheelchair:before { - content: "\f193"; -} -.uk-icon-vimeo-square:before { - content: "\f194"; -} -.uk-icon-turkish-lira:before, -.uk-icon-try:before { - content: "\f195"; -} -.uk-icon-plus-square-o:before { - content: "\f196"; -} -.uk-icon-space-shuttle:before { - content: "\f197"; -} -.uk-icon-slack:before { - content: "\f198"; -} -.uk-icon-envelope-square:before { - content: "\f199"; -} -.uk-icon-wordpress:before { - content: "\f19a"; -} -.uk-icon-openid:before { - content: "\f19b"; -} -.uk-icon-institution:before, -.uk-icon-bank:before, -.uk-icon-university:before { - content: "\f19c"; -} -.uk-icon-mortar-board:before, -.uk-icon-graduation-cap:before { - content: "\f19d"; -} -.uk-icon-yahoo:before { - content: "\f19e"; -} -.uk-icon-google:before { - content: "\f1a0"; -} -.uk-icon-reddit:before { - content: "\f1a1"; -} -.uk-icon-reddit-square:before { - content: "\f1a2"; -} -.uk-icon-stumbleupon-circle:before { - content: "\f1a3"; -} -.uk-icon-stumbleupon:before { - content: "\f1a4"; -} -.uk-icon-delicious:before { - content: "\f1a5"; -} -.uk-icon-digg:before { - content: "\f1a6"; -} -.uk-icon-pied-piper:before { - content: "\f1a7"; -} -.uk-icon-pied-piper-alt:before { - content: "\f1a8"; -} -.uk-icon-drupal:before { - content: "\f1a9"; -} -.uk-icon-joomla:before { - content: "\f1aa"; -} -.uk-icon-language:before { - content: "\f1ab"; -} -.uk-icon-fax:before { - content: "\f1ac"; -} -.uk-icon-building:before { - content: "\f1ad"; -} -.uk-icon-child:before { - content: "\f1ae"; -} -.uk-icon-paw:before { - content: "\f1b0"; -} -.uk-icon-spoon:before { - content: "\f1b1"; -} -.uk-icon-cube:before { - content: "\f1b2"; -} -.uk-icon-cubes:before { - content: "\f1b3"; -} -.uk-icon-behance:before { - content: "\f1b4"; -} -.uk-icon-behance-square:before { - content: "\f1b5"; -} -.uk-icon-steam:before { - content: "\f1b6"; -} -.uk-icon-steam-square:before { - content: "\f1b7"; -} -.uk-icon-recycle:before { - content: "\f1b8"; -} -.uk-icon-automobile:before, -.uk-icon-car:before { - content: "\f1b9"; -} -.uk-icon-cab:before, -.uk-icon-taxi:before { - content: "\f1ba"; -} -.uk-icon-tree:before { - content: "\f1bb"; -} -.uk-icon-spotify:before { - content: "\f1bc"; -} -.uk-icon-deviantart:before { - content: "\f1bd"; -} -.uk-icon-soundcloud:before { - content: "\f1be"; -} -.uk-icon-database:before { - content: "\f1c0"; -} -.uk-icon-file-pdf-o:before { - content: "\f1c1"; -} -.uk-icon-file-word-o:before { - content: "\f1c2"; -} -.uk-icon-file-excel-o:before { - content: "\f1c3"; -} -.uk-icon-file-powerpoint-o:before { - content: "\f1c4"; -} -.uk-icon-file-photo-o:before, -.uk-icon-file-picture-o:before, -.uk-icon-file-image-o:before { - content: "\f1c5"; -} -.uk-icon-file-zip-o:before, -.uk-icon-file-archive-o:before { - content: "\f1c6"; -} -.uk-icon-file-sound-o:before, -.uk-icon-file-audio-o:before { - content: "\f1c7"; -} -.uk-icon-file-movie-o:before, -.uk-icon-file-video-o:before { - content: "\f1c8"; -} -.uk-icon-file-code-o:before { - content: "\f1c9"; -} -.uk-icon-vine:before { - content: "\f1ca"; -} -.uk-icon-codepen:before { - content: "\f1cb"; -} -.uk-icon-jsfiddle:before { - content: "\f1cc"; -} -.uk-icon-life-bouy:before, -.uk-icon-life-buoy:before, -.uk-icon-life-saver:before, -.uk-icon-support:before, -.uk-icon-life-ring:before { - content: "\f1cd"; -} -.uk-icon-circle-o-notch:before { - content: "\f1ce"; -} -.uk-icon-ra:before, -.uk-icon-rebel:before { - content: "\f1d0"; -} -.uk-icon-ge:before, -.uk-icon-empire:before { - content: "\f1d1"; -} -.uk-icon-git-square:before { - content: "\f1d2"; -} -.uk-icon-git:before { - content: "\f1d3"; -} -.uk-icon-hacker-news:before { - content: "\f1d4"; -} -.uk-icon-tencent-weibo:before { - content: "\f1d5"; -} -.uk-icon-qq:before { - content: "\f1d6"; -} -.uk-icon-wechat:before, -.uk-icon-weixin:before { - content: "\f1d7"; -} -.uk-icon-send:before, -.uk-icon-paper-plane:before { - content: "\f1d8"; -} -.uk-icon-send-o:before, -.uk-icon-paper-plane-o:before { - content: "\f1d9"; -} -.uk-icon-history:before { - content: "\f1da"; -} -.uk-icon-genderless:before, -.uk-icon-circle-thin:before { - content: "\f1db"; -} -.uk-icon-header:before { - content: "\f1dc"; -} -.uk-icon-paragraph:before { - content: "\f1dd"; -} -.uk-icon-sliders:before { - content: "\f1de"; -} -.uk-icon-share-alt:before { - content: "\f1e0"; -} -.uk-icon-share-alt-square:before { - content: "\f1e1"; -} -.uk-icon-bomb:before { - content: "\f1e2"; -} -.uk-icon-soccer-ball-o:before, -.uk-icon-futbol-o:before { - content: "\f1e3"; -} -.uk-icon-tty:before { - content: "\f1e4"; -} -.uk-icon-binoculars:before { - content: "\f1e5"; -} -.uk-icon-plug:before { - content: "\f1e6"; -} -.uk-icon-slideshare:before { - content: "\f1e7"; -} -.uk-icon-twitch:before { - content: "\f1e8"; -} -.uk-icon-yelp:before { - content: "\f1e9"; -} -.uk-icon-newspaper-o:before { - content: "\f1ea"; -} -.uk-icon-wifi:before { - content: "\f1eb"; -} -.uk-icon-calculator:before { - content: "\f1ec"; -} -.uk-icon-paypal:before { - content: "\f1ed"; -} -.uk-icon-google-wallet:before { - content: "\f1ee"; -} -.uk-icon-cc-visa:before { - content: "\f1f0"; -} -.uk-icon-cc-mastercard:before { - content: "\f1f1"; -} -.uk-icon-cc-discover:before { - content: "\f1f2"; -} -.uk-icon-cc-amex:before { - content: "\f1f3"; -} -.uk-icon-cc-paypal:before { - content: "\f1f4"; -} -.uk-icon-cc-stripe:before { - content: "\f1f5"; -} -.uk-icon-bell-slash:before { - content: "\f1f6"; -} -.uk-icon-bell-slash-o:before { - content: "\f1f7"; -} -.uk-icon-trash:before { - content: "\f1f8"; -} -.uk-icon-copyright:before { - content: "\f1f9"; -} -.uk-icon-at:before { - content: "\f1fa"; -} -.uk-icon-eyedropper:before { - content: "\f1fb"; -} -.uk-icon-paint-brush:before { - content: "\f1fc"; -} -.uk-icon-birthday-cake:before { - content: "\f1fd"; -} -.uk-icon-area-chart:before { - content: "\f1fe"; -} -.uk-icon-pie-chart:before { - content: "\f200"; -} -.uk-icon-line-chart:before { - content: "\f201"; -} -.uk-icon-lastfm:before { - content: "\f202"; -} -.uk-icon-lastfm-square:before { - content: "\f203"; -} -.uk-icon-toggle-off:before { - content: "\f204"; -} -.uk-icon-toggle-on:before { - content: "\f205"; -} -.uk-icon-bicycle:before { - content: "\f206"; -} -.uk-icon-bus:before { - content: "\f207"; -} -.uk-icon-ioxhost:before { - content: "\f208"; -} -.uk-icon-angellist:before { - content: "\f209"; -} -.uk-icon-cc:before { - content: "\f20a"; -} -.uk-icon-shekel:before, -.uk-icon-sheqel:before, -.uk-icon-ils:before { - content: "\f20b"; -} -.uk-icon-meanpath:before { - content: "\f20c"; -} -.uk-icon-buysellads:before { - content: "\f20d"; -} -.uk-icon-connectdevelop:before { - content: "\f20e"; -} -.uk-icon-dashcube:before { - content: "\f210"; -} -.uk-icon-forumbee:before { - content: "\f211"; -} -.uk-icon-leanpub:before { - content: "\f212"; -} -.uk-icon-sellsy:before { - content: "\f213"; -} -.uk-icon-shirtsinbulk:before { - content: "\f214"; -} -.uk-icon-simplybuilt:before { - content: "\f215"; -} -.uk-icon-skyatlas:before { - content: "\f216"; -} -.uk-icon-cart-plus:before { - content: "\f217"; -} -.uk-icon-cart-arrow-down:before { - content: "\f218"; -} -.uk-icon-diamond:before { - content: "\f219"; -} -.uk-icon-ship:before { - content: "\f21a"; -} -.uk-icon-user-secret:before { - content: "\f21b"; -} -.uk-icon-motorcycle:before { - content: "\f21c"; -} -.uk-icon-street-view:before { - content: "\f21d"; -} -.uk-icon-heartbeat:before { - content: "\f21e"; -} -.uk-icon-venus:before { - content: "\f221"; -} -.uk-icon-mars:before { - content: "\f222"; -} -.uk-icon-mercury:before { - content: "\f223"; -} -.uk-icon-transgender:before { - content: "\f224"; -} -.uk-icon-transgender-alt:before { - content: "\f225"; -} -.uk-icon-venus-double:before { - content: "\f226"; -} -.uk-icon-mars-double:before { - content: "\f227"; -} -.uk-icon-venus-mars:before { - content: "\f228"; -} -.uk-icon-mars-stroke:before { - content: "\f229"; -} -.uk-icon-mars-stroke-v:before { - content: "\f22a"; -} -.uk-icon-mars-stroke-h:before { - content: "\f22b"; -} -.uk-icon-neuter:before { - content: "\f22c"; -} -.uk-icon-facebook-official:before { - content: "\f230"; -} -.uk-icon-pinterest-p:before { - content: "\f231"; -} -.uk-icon-whatsapp:before { - content: "\f232"; -} -.uk-icon-server:before { - content: "\f233"; -} -.uk-icon-user-plus:before { - content: "\f234"; -} -.uk-icon-user-times:before { - content: "\f235"; -} -.uk-icon-hotel:before, -.uk-icon-bed:before { - content: "\f236"; -} -.uk-icon-viacoin:before { - content: "\f237"; -} -.uk-icon-train:before { - content: "\f238"; -} -.uk-icon-subway:before { - content: "\f239"; -} -.uk-icon-medium-logo:before { - content: "\f23a"; -} -/* ======================================================================== - Component: Close - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-close::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Remove default `button` padding and background color - * 8. Style - */ -.uk-close { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: inherit; - /* 6 */ - text-transform: none; - /* 7. */ - padding: 0; - background: transparent; - /* 8 */ - display: inline-block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - line-height: 20px; - text-align: center; - vertical-align: middle; - opacity: 0.3; -} -/* Icon */ -.uk-close:after { - display: block; - content: "\f00d"; - font-family: FontAwesome; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-close:hover, -.uk-close:focus { - opacity: 0.5; - /* 2 */ - outline: none; - /* 3 */ - color: inherit; - text-decoration: none; - cursor: pointer; -} -/* Modifier - ========================================================================== */ -.uk-close-alt { - padding: 2px; - border-radius: 50%; - background: #eeeeee; - opacity: 1; -} -/* Hover */ -.uk-close-alt:hover, -.uk-close-alt:focus { - opacity: 1; -} -/* Icon */ -.uk-close-alt:after { - opacity: 0.5; -} -.uk-close-alt:hover:after, -.uk-close-alt:focus:after { - opacity: 0.8; -} -/* ======================================================================== - Component: Badge - ========================================================================== */ -.uk-badge { - display: inline-block; - padding: 0 5px; - background: #00a8e6; - font-size: 10px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - text-align: center; - vertical-align: middle; - text-transform: none; -} -/* - * Keep color when badge is a link - */ -a.uk-badge:hover { - color: #ffffff; -} -/* Modifier: `uk-badge-notification`; - ========================================================================== */ -.uk-badge-notification { - -moz-box-sizing: border-box; - box-sizing: border-box; - min-width: 18px; - border-radius: 500px; - font-size: 12px; - line-height: 18px; -} -/* Color modifier - ========================================================================== */ -/* - * Modifier: `uk-badge-success` - */ -.uk-badge-success { - background-color: #8cc14c; -} -/* - * Modifier: `uk-badge-warning` - */ -.uk-badge-warning { - background-color: #faa732; -} -/* - * Modifier: `uk-badge-danger` - */ -.uk-badge-danger { - background-color: #da314b; -} -/* ======================================================================== - Component: Alert - ========================================================================== */ -.uk-alert { - margin-bottom: 15px; - padding: 10px; - background: #ebf7fd; - color: #2d7091; -} -/* - * Add margin if adjacent element - */ -* + .uk-alert { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-alert > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-alert h1, -.uk-alert h2, -.uk-alert h3, -.uk-alert h4, -.uk-alert h5, -.uk-alert h6 { - color: inherit; -} -/* Close in alert - ========================================================================== */ -.uk-alert > .uk-close:first-child { - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-alert > .uk-close:first-child + * { - margin-top: 0; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-alert-success { - background: #f2fae3; - color: #659f13; -} -/* Modifier: `uk-alert-warning` - ========================================================================== */ -.uk-alert-warning { - background: #fffceb; - color: #e28327; -} -/* Modifier: `uk-alert-danger` - ========================================================================== */ -.uk-alert-danger { - background: #fff1f0; - color: #d85030; -} -/* Modifier: `uk-alert-large` - ========================================================================== */ -.uk-alert-large { - padding: 20px; -} -.uk-alert-large > .uk-close:first-child { - margin: -10px -10px 0 0; -} -/* ======================================================================== - Component: Thumbnail - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Responsive behavior - * 3. Corrects `max-width` behavior sed - * 4. Required for `figure` element - * 5. Style - */ -.uk-thumbnail { - /* 1 */ - display: inline-block; - /* 2 */ - max-width: 100%; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - margin: 0; - /* 4 */ - padding: 4px; - border: 1px solid #dddddd; - background: #ffffff; -} -/* - * Hover state for `a` elements - * 1. Apply hover style also to focus state - * 2. Needed for caption - * 3. Remove default focus style - */ -a.uk-thumbnail:hover, -a.uk-thumbnail:focus { - border-color: #aaaaaa; - background-color: #ffffff; - /* 2 */ - text-decoration: none; - /* 3 */ - outline: none; -} -/* Caption - ========================================================================== */ -.uk-thumbnail-caption { - padding-top: 4px; - text-align: center; - color: #444444; -} -/* Sizes - ========================================================================== */ -.uk-thumbnail-mini { - width: 150px; -} -.uk-thumbnail-small { - width: 200px; -} -.uk-thumbnail-medium { - width: 300px; -} -.uk-thumbnail-large { - width: 400px; -} -.uk-thumbnail-expand, -.uk-thumbnail-expand > img { - width: 100%; -} -/* ======================================================================== - Component: Overlay - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Set max-width for responsive images to prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome - * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit - * 7. Reset margin - */ -.uk-overlay { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; - /* 5 */ - overflow: hidden; - /* 6 */ - -webkit-transform: translateZ(0); - /* 7 */ - margin: 0; -} -/* 6 for Safari */ -.uk-overlay.uk-border-circle { - -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); -} -/* - * Remove margin from content - */ -.uk-overlay > :first-child { - margin-bottom: 0; -} -/* Sub-object `uk-overlay-panel` - ========================================================================== */ -/* - * 1. Position cover - * 2. Style - */ -.uk-overlay-panel { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 20px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-panel > :last-child, -.uk-overlay-panel.uk-flex > * > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-overlay-panel h1, -.uk-overlay-panel h2, -.uk-overlay-panel h3, -.uk-overlay-panel h4, -.uk-overlay-panel h5, -.uk-overlay-panel h6 { - color: inherit; -} -.uk-overlay-panel a:not([class]) { - color: inherit; - text-decoration: underline; -} -.uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { - color: inherit; -} -/* Sub-object `uk-overlay-hover` and `uk-overlay-active` - ========================================================================== */ -.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -.uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -/* Modifier `uk-overlay-background` - ========================================================================== */ -.uk-overlay-background { - background: rgba(0, 0, 0, 0.5); -} -/* Modifier `uk-overlay-image` - ========================================================================== */ -/* - * Reset panel - */ -.uk-overlay-image { - padding: 0; -} -/* Position modifiers - ========================================================================== */ -.uk-overlay-top { - bottom: auto; -} -.uk-overlay-bottom { - top: auto; -} -.uk-overlay-left { - right: auto; -} -.uk-overlay-right { - left: auto; -} -/* Sub-object `uk-overlay-icon` - ========================================================================== */ -.uk-overlay-icon:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* Transitions - ========================================================================== */ -.uk-overlay-fade, -.uk-overlay-scale, -.uk-overlay-spin, -.uk-overlay-grayscale, -.uk-overlay-blur, -[class*='uk-overlay-slide'] { - transition-duration: 0.3s; - transition-timing-function: ease-out; - transition-property: opacity transform filter; -} -.uk-overlay-active .uk-overlay-fade, -.uk-overlay-active .uk-overlay-scale, -.uk-overlay-active .uk-overlay-spin, -.uk-overlay-active [class*='uk-overlay-slide'] { - transition-duration: 0.8s; -} -/* - * Fade - */ -.uk-overlay-fade { - opacity: 0.7; -} -.uk-overlay-hover:hover .uk-overlay-fade, -.uk-overlay-active .uk-active > .uk-overlay-fade { - opacity: 1; -} -/* - * Scale - */ -.uk-overlay-scale { - -webkit-transform: scale(1); - transform: scale(1); -} -.uk-overlay-hover:hover .uk-overlay-scale, -.uk-overlay-active .uk-active > .uk-overlay-scale { - -webkit-transform: scale(1.1); - transform: scale(1.1); -} -/* - * Spin - */ -.uk-overlay-spin { - -webkit-transform: scale(1) rotate(0deg); - transform: scale(1) rotate(0deg); -} -.uk-overlay-hover:hover .uk-overlay-spin, -.uk-overlay-active .uk-active > .uk-overlay-spin { - -webkit-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); -} -/* - * Grayscale - */ -.uk-overlay-grayscale { - -webkit-filter: grayscale(100%); - filter: grayscale(100%); -} -.uk-overlay-hover:hover .uk-overlay-grayscale, -.uk-overlay-active .uk-active > .uk-overlay-grayscale { - -webkit-filter: grayscale(0%); - filter: grayscale(0%); -} -/* - * Slide - */ -[class*='uk-overlay-slide'] { - opacity: 0; -} -/* Top */ -.uk-overlay-slide-top { - -webkit-transform: translateY(-100%); - transform: translateY(-100%); -} -/* Bottom */ -.uk-overlay-slide-bottom { - -webkit-transform: translateY(100%); - transform: translateY(100%); -} -/* Left */ -.uk-overlay-slide-left { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} -/* Right */ -.uk-overlay-slide-right { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Hover */ -.uk-overlay-hover:hover [class*='uk-overlay-slide'], -.uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { - opacity: 1; - -webkit-transform: translateX(0) translateY(0); - transform: translateX(0) translateY(0); -} -/* DEPRECATED - * Sub-object `uk-overlay-area` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-area { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - background: rgba(0, 0, 0, 0.3); - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-area, -.uk-overlay.uk-hover .uk-overlay-area, -.uk-overlay-toggle:hover .uk-overlay-area, -.uk-overlay-toggle.uk-hover .uk-overlay-area { - opacity: 1; -} -/* - * Icon - */ -.uk-overlay-area:empty:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* DEPRECATED - * Sub-object `uk-overlay-area-content` - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - * Needed for Firefox - */ -.uk-overlay-area:not(:empty) { - font-size: 0.001px; -} -/* - * 1. Needed for vertical alignment - */ -.uk-overlay-area:not(:empty):before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * 1. Set vertical alignment - * 2. Reset whitespace hack - * 3. Set horizontal alignment - * 4. Set style - */ -.uk-overlay-area-content { - /* 1 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - vertical-align: middle; - /* 2 */ - font-size: 1rem; - /* 3 */ - text-align: center; - /* 4 */ - padding: 0 15px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-area-content > :last-child { - margin-bottom: 0; -} -/* - * Links in overlay area - */ -.uk-overlay-area-content a:not([class]), -.uk-overlay-area-content a:not([class]):hover { - color: inherit; -} -/* DEPRECATED - * Sub-object `uk-overlay-caption` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-caption { - /* 1 */ - position: absolute; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 15px; - background: rgba(0, 0, 0, 0.5); - color: #ffffff; - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-caption, -.uk-overlay.uk-hover .uk-overlay-caption, -.uk-overlay-toggle:hover .uk-overlay-caption, -.uk-overlay-toggle.uk-hover .uk-overlay-caption { - opacity: 1; -} -/* ======================================================================== - Component: Animation - ========================================================================== */ -[class*='uk-animation-'] { - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} -/* Hide animated element if scrollspy is used */ -@media screen { - [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { - opacity: 0; - } -} -/* - * Fade - * Higher specificity (!important) needed because of reverse modifier - */ -.uk-animation-fade { - -webkit-animation-name: uk-fade; - animation-name: uk-fade; - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; - -webkit-animation-timing-function: linear !important; - animation-timing-function: linear !important; -} -/* - * Fade with scale - */ -.uk-animation-scale-up { - -webkit-animation-name: uk-fade-scale-02; - animation-name: uk-fade-scale-02; -} -.uk-animation-scale-down { - -webkit-animation-name: uk-fade-scale-18; - animation-name: uk-fade-scale-18; -} -/* - * Fade with slide - */ -.uk-animation-slide-top { - -webkit-animation-name: uk-fade-top; - animation-name: uk-fade-top; -} -.uk-animation-slide-bottom { - -webkit-animation-name: uk-fade-bottom; - animation-name: uk-fade-bottom; -} -.uk-animation-slide-left { - -webkit-animation-name: uk-fade-left; - animation-name: uk-fade-left; -} -.uk-animation-slide-right { - -webkit-animation-name: uk-fade-right; - animation-name: uk-fade-right; -} -/* - * Scale - */ -.uk-animation-scale { - -webkit-animation-name: uk-scale-12; - animation-name: uk-scale-12; -} -/* - * Shake - */ -.uk-animation-shake { - -webkit-animation-name: uk-shake; - animation-name: uk-shake; -} -/* Direction modifiers - ========================================================================== */ -.uk-animation-reverse { - -webkit-animation-direction: reverse; - animation-direction: reverse; - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} -/* Duration modifiers -========================================================================== */ -.uk-animation-15 { - -webkit-animation-duration: 15s; - animation-duration: 15s; -} -/* Origin modifiers -========================================================================== */ -.uk-animation-top-left { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -.uk-animation-top-center { - -webkit-transform-origin: 50% 0; - transform-origin: 50% 0; -} -.uk-animation-top-right { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} -.uk-animation-middle-left { - -webkit-transform-origin: 0 50%; - transform-origin: 0 50%; -} -.uk-animation-middle-right { - -webkit-transform-origin: 100% 50%; - transform-origin: 100% 50%; -} -.uk-animation-bottom-left { - -webkit-transform-origin: 0 100%; - transform-origin: 0 100%; -} -.uk-animation-bottom-center { - -webkit-transform-origin: 50% 100%; - transform-origin: 50% 100%; -} -.uk-animation-bottom-right { - -webkit-transform-origin: 100% 100%; - transform-origin: 100% 100%; -} -/* Sub-object: `uk-animation-hover` -========================================================================== */ -/* - * Enable animation only on hover - * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` - */ -.uk-animation-hover:not(:hover), -.uk-animation-hover:not(:hover) [class*='uk-animation-'], -.uk-touch .uk-animation-hover:not(.uk-hover), -.uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { - -webkit-animation-name: none; - animation-name: none; -} -/* Keyframes: Fade - * Used by dropdown, datepicker and slideshow component - ========================================================================== */ -@-webkit-keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -/* Keyframes: Fade with slide - ========================================================================== */ -/* - * Top - */ -@-webkit-keyframes uk-fade-top { - 0% { - opacity: 0; - -webkit-transform: translateY(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-top { - 0% { - opacity: 0; - transform: translateY(-100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom - */ -@-webkit-keyframes uk-fade-bottom { - 0% { - opacity: 0; - -webkit-transform: translateY(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-bottom { - 0% { - opacity: 0; - transform: translateY(100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Left - */ -@-webkit-keyframes uk-fade-left { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-left { - 0% { - opacity: 0; - transform: translateX(-100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-fade-right { - 0% { - opacity: 0; - -webkit-transform: translateX(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-right { - 0% { - opacity: 0; - transform: translateX(100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* Keyframes: Fade with scale - ========================================================================== */ -/* - * Scale by 0.2 - */ -@-webkit-keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - -webkit-transform: scale(0.2); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - transform: scale(0.2); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.5 - * Used by slideshow component - */ -@-webkit-keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - -webkit-transform: scale(1.5); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - transform: scale(1.5); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.8 - */ -@-webkit-keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - -webkit-transform: scale(1.8); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - transform: scale(1.8); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* Keyframes: Slide - * Used by slideshow component - ========================================================================== */ -/* - * Left - */ -@-webkit-keyframes uk-slide-left { - 0% { - -webkit-transform: translateX(-100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-slide-right { - 0% { - -webkit-transform: translateX(100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Left third - */ -@-webkit-keyframes uk-slide-left-33 { - 0% { - -webkit-transform: translateX(33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left-33 { - 0% { - transform: translateX(33%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right third - */ -@-webkit-keyframes uk-slide-right-33 { - 0% { - -webkit-transform: translateX(-33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right-33 { - 0% { - transform: translateX(-33%); - } - 100% { - transform: translateX(0); - } -} -/* Keyframes: Scale - ========================================================================== */ -@-webkit-keyframes uk-scale-12 { - 0% { - -webkit-transform: scale(1.2); - } - 100% { - -webkit-transform: scale(1); - } -} -@keyframes uk-scale-12 { - 0% { - transform: scale(1.2); - } - 100% { - transform: scale(1); - } -} -/* Keyframes: Rotate - * Used by icon component - ========================================================================== */ -@-webkit-keyframes uk-rotate { - 0% { - -webkit-transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - } -} -@keyframes uk-rotate { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} -/* Keyframes: Shake - ========================================================================== */ -@-webkit-keyframes uk-shake { - 0%, - 100% { - -webkit-transform: translateX(0); - } - 10% { - -webkit-transform: translateX(-9px); - } - 20% { - -webkit-transform: translateX(8px); - } - 30% { - -webkit-transform: translateX(-7px); - } - 40% { - -webkit-transform: translateX(6px); - } - 50% { - -webkit-transform: translateX(-5px); - } - 60% { - -webkit-transform: translateX(4px); - } - 70% { - -webkit-transform: translateX(-3px); - } - 80% { - -webkit-transform: translateX(2px); - } - 90% { - -webkit-transform: translateX(-1px); - } -} -@keyframes uk-shake { - 0%, - 100% { - transform: translateX(0); - } - 10% { - transform: translateX(-9px); - } - 20% { - transform: translateX(8px); - } - 30% { - transform: translateX(-7px); - } - 40% { - transform: translateX(6px); - } - 50% { - transform: translateX(-5px); - } - 60% { - transform: translateX(4px); - } - 70% { - transform: translateX(-3px); - } - 80% { - transform: translateX(2px); - } - 90% { - transform: translateX(-1px); - } -} -/* Keyframes: Fade with slide fixed - * Used by dropdown and search component - ========================================================================== */ -/* - * Top fixed - */ -@-webkit-keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(-10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - transform: translateY(-10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom fixed - */ -@-webkit-keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - transform: translateY(10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* ======================================================================== - Component: Dropdown - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set position - * 3. Box-sizing is needed for `uk-dropdown-justify` - * 4. Set style - * 5. Reset button group whitespace hack - */ -.uk-dropdown { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - top: 100%; - left: 0; - z-index: 1020; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 4 */ - width: 200px; - margin-top: 5px; - padding: 15px; - background: #f5f5f5; - color: #444444; - /* 5 */ - font-size: 1rem; - vertical-align: top; -} -/* - * 1. Show dropdown - * 2. Set animation - * 3. Needed for scale animation - */ -.uk-open > .uk-dropdown { - /* 1 */ - display: block; - /* 2 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 3 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Alignment modifiers - ========================================================================== */ -/* - * Modifier `uk-dropdown-flip` - */ -.uk-dropdown-flip { - left: auto; - right: 0; -} -/* - * Modifier `uk-dropdown-up` - */ -.uk-dropdown-up { - top: auto; - bottom: 100%; - margin-top: auto; - margin-bottom: 5px; -} -/* Nav in dropdown - ========================================================================== */ -.uk-dropdown .uk-nav { - margin: 0 -15px; -} -/* Grid and panel in dropdown - ========================================================================== */ -/* -* Vertical gutter -*/ -/* - * Grid - * Higher specificity to override large gutter - */ -.uk-grid .uk-dropdown-grid + .uk-dropdown-grid { - margin-top: 15px; -} -/* Panels */ -.uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Horizontal gutter - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { - margin-left: -15px; - margin-right: -15px; - } - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { - padding-left: 15px; - padding-right: 15px; - } - /* - * Column divider - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - border-left: 1px solid #dddddd; - } - /* - * Width multiplier for dropdown columns - */ - .uk-dropdown-width-2:not(.uk-dropdown-stack) { - width: 400px; - } - .uk-dropdown-width-3:not(.uk-dropdown-stack) { - width: 600px; - } - .uk-dropdown-width-4:not(.uk-dropdown-stack) { - width: 800px; - } - .uk-dropdown-width-5:not(.uk-dropdown-stack) { - width: 1000px; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Stack columns and take full width - */ - .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; - } - /* - * Vertical gutter - */ - .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; - } -} -/* -* Stack grid columns -*/ -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; -} -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; -} -/* Modifier `uk-dropdown-small` - ========================================================================== */ -/* - * Set min-width and text expands dropdown if needed - */ -.uk-dropdown-small { - min-width: 150px; - width: auto; - padding: 5px; - white-space: nowrap; -} -/* - * Nav in dropdown - */ -.uk-dropdown-small .uk-nav { - margin: 0 -5px; -} -/* Modifier: `uk-dropdown-navbar` - ========================================================================== */ -.uk-dropdown-navbar { - margin-top: 0; - background: #f5f5f5; - color: #444444; -} -.uk-open > .uk-dropdown-navbar { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* Modifier `uk-dropdown-scrollable` - ========================================================================== */ -/* - * Usefull for long lists - */ -.uk-dropdown-scrollable { - overflow-y: auto; - max-height: 200px; -} -/* ======================================================================== - Component: Modal - ========================================================================== */ -/* - * This is the modal overlay and modal dialog container - * 1. Hide by default - * 2. Set fixed position - * 3. Allow scrolling for the modal dialog - * 4. Mask the background page - * 5. Fade-in transition - * 6. Deactivate browser history navigation in IE11 - * 7. force hardware acceleration to prevent browser rendering hiccups - */ -.uk-modal { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1010; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - background: rgba(0, 0, 0, 0.6); - /* 5 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - /* 6 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; - /* 7 */ - -webkit-transform: translateZ(0); - transform: translateZ(0); -} -/* - * Open state - */ -.uk-modal.uk-open { - opacity: 1; -} -/* - * Prevents duplicated scrollbar caused by 4. - */ -.uk-modal-page, -.uk-modal-page body { - overflow: hidden; -} -/* Sub-object: `uk-modal-dialog` - ========================================================================== */ -/* - * 1. Create position context for caption, spinner and close button - * 2. Set box sizing - * 3. Set style - * 4. Slide-in transition - */ -.uk-modal-dialog { - /* 1 */ - position: relative; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 50px auto; - padding: 20px; - width: 600px; - max-width: 100%; - max-width: calc(100% - 20px); - /* 3 */ - background: #ffffff; - /* 4 */ - opacity: 0; - -webkit-transform: translateY(-100px); - transform: translateY(-100px); - -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; - transition: opacity 0.3s linear, transform 0.3s ease-out; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Fit in small screen - */ - .uk-modal-dialog { - width: auto; - margin: 10px auto; - } -} -/* - * Open state - */ -.uk-open .uk-modal-dialog { - /* 4 */ - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); -} -/* - * Remove margin from the last-child - */ -.uk-modal-dialog > :not([class*='uk-modal-']):last-child { - margin-bottom: 0; -} -/* Close in modal - ========================================================================== */ -.uk-modal-dialog > .uk-close:first-child { - margin: -10px -10px 0 0; - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { - margin-top: 0; -} -/* Modifier: `uk-modal-dialog-lightbox` - ========================================================================== */ -.uk-modal-dialog-lightbox { - margin: 15px auto; - padding: 0; - max-width: 95%; - max-width: calc(100% - 30px); -} -/* - * Close button - */ -.uk-modal-dialog-lightbox > .uk-close:first-child { - position: absolute; - top: -12px; - right: -12px; - margin: 0; - float: none; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-modal-dialog-lightbox > .uk-close:first-child { - top: -7px; - right: -7px; - } -} -/* Modifier: `uk-modal-dialog-large` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-modal-dialog-large { - width: 930px; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-modal-dialog-large { - width: 1130px; - } -} -/* Sub-Object: `uk-modal-header` and `uk-modal-footer` - ========================================================================== */ -.uk-modal-header { - margin-bottom: 15px; -} -.uk-modal-footer { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-modal-header > :last-child, -.uk-modal-footer > :last-child { - margin-bottom: 0; -} -/* Sub-Object: `uk-modal-caption` - ========================================================================== */ -.uk-modal-caption { - position: absolute; - left: 0; - right: 0; - bottom: -20px; - margin-bottom: -10px; - color: #ffffff; - text-align: center; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* Sub-Object: `uk-modal-spinner` - ========================================================================== */ -.uk-modal-spinner { - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - font-size: 25px; - color: #ddd; -} -.uk-modal-spinner:after { - content: "\f110"; - font-family: FontAwesome; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* ======================================================================== - Component: Off-canvas - ========================================================================== */ -/* - * This is the offcanvas overlay and bar container - * 1. Hide by default - * 2. Set fixed position - * 3. Deactivate browser touch actions in IE11 - * 4. Mask the background page - */ -.uk-offcanvas { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1000; - /* 3 */ - touch-action: none; - /* 4 */ - background: rgba(0, 0, 0, 0.1); -} -.uk-offcanvas.uk-active { - display: block; -} -/* Sub-object `uk-offcanvas-page` - ========================================================================== */ -/* - * Prepares the whole HTML page to slide-out - * 1. Fix the main page and disallow scrolling - * 2. Side-out transition - */ -.uk-offcanvas-page { - /* 1 */ - position: fixed; - /* 2 */ - -webkit-transition: margin-left 0.3s ease-in-out; - transition: margin-left 0.3s ease-in-out; -} -/* Sub-object `uk-offcanvas-bar` - ========================================================================== */ -/* - * This is the offcanvas bar - * 1. Set fixed position - * 2. Size and style - * 3. Allow scrolling - * 4. Side-out transition - * 5. Deavtivate scroll chaining in IE11 - */ -.uk-offcanvas-bar { - /* 1 */ - position: fixed; - top: 0; - bottom: 0; - left: 0; - -webkit-transform: translateX(-100%); - transform: translateX(-100%); - z-index: 1001; - /* 2 */ - width: 270px; - max-width: 100%; - background: #333333; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - /* 5 */ - -ms-scroll-chaining: none; -} -.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { - -webkit-transform: translateX(0%); - transform: translateX(0%); -} -/* Modifier `uk-offcanvas-bar-flip` - ========================================================================== */ -.uk-offcanvas-bar-flip { - left: auto; - right: 0; - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Panel in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-panel { - margin: 20px 15px; - color: #777777; -} -.uk-offcanvas .uk-panel-title { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]) { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]):hover { - color: #ffffff; -} -/* ======================================================================== - Component: Switcher - ========================================================================== */ -/* - * 1. Deactivate browser history navigation in IE11 - */ -.uk-switcher { - margin: 0; - padding: 0; - list-style: none; - /* 1 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; -} -/* - * Items - */ -.uk-switcher > :not(.uk-active) { - display: none; -} -/* ======================================================================== - Component: Text - ========================================================================== */ -/* Size modifiers - ========================================================================== */ -.uk-text-small { - font-size: 11px; - line-height: 16px; -} -.uk-text-large { - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Weight modifiers - ========================================================================== */ -.uk-text-bold { - font-weight: bold; -} -/* Color modifiers - ========================================================================== */ -.uk-text-muted { - color: #999999 !important; -} -.uk-text-primary { - color: #2d7091 !important; -} -.uk-text-success { - color: #659f13 !important; -} -.uk-text-warning { - color: #e28327 !important; -} -.uk-text-danger { - color: #d85030 !important; -} -.uk-text-contrast { - color: #ffffff !important; -} -/* Alignment modifiers - ========================================================================== */ -.uk-text-left { - text-align: left !important; -} -.uk-text-right { - text-align: right !important; -} -.uk-text-center { - text-align: center !important; -} -.uk-text-justify { - text-align: justify !important; -} -.uk-text-top { - vertical-align: top !important; -} -.uk-text-middle { - vertical-align: middle !important; -} -.uk-text-bottom { - vertical-align: bottom !important; -} -/* Only tablets portrait and smaller */ -@media (max-width: 959px) { - .uk-text-center-medium { - text-align: center !important; - } - .uk-text-left-medium { - text-align: left !important; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-text-center-small { - text-align: center !important; - } - .uk-text-left-small { - text-align: left !important; - } -} -/* Wrap modifiers - ========================================================================== */ -/* - * Prevent text from wrapping onto multiple lines - */ -.uk-text-nowrap { - white-space: nowrap; -} -/* - * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis - */ -.uk-text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* - * Break strings if their length exceeds the width of their container - */ -.uk-text-break { - word-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; -} -/* ======================================================================== - Component: Utility - ========================================================================== */ -/* Container - ========================================================================== */ -.uk-container { - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 980px; - padding: 0 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-container { - max-width: 1200px; - padding: 0 35px; - } -} -/* - * Micro clearfix - */ -.uk-container:before, -.uk-container:after { - content: ""; - display: table; -} -.uk-container:after { - clear: both; -} -/* - * Center container - */ -.uk-container-center { - margin-left: auto; - margin-right: auto; -} -/* Clearing - ========================================================================== */ -/* - * Micro clearfix -* `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit - * `table` is used again with `:after` because `clear` only works with block elements. - * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari - */ -.uk-clearfix:before { - content: ""; - display: table-cell; -} -.uk-clearfix:after { - content: ""; - display: table; - clear: both; -} -/* - * Create a new block formatting context - */ -.uk-nbfc { - overflow: hidden; -} -.uk-nbfc-alt { - display: table-cell; - width: 10000px; -} -/* Alignment of block elements - ========================================================================== */ -/* - * Float blocks - * 1. Prevent content overflow on small devices - */ -.uk-float-left { - float: left; -} -.uk-float-right { - float: right; -} -/* 1 */ -[class*='uk-float-'] { - max-width: 100%; -} -/* Alignment of images and objects - ========================================================================== */ -/* - * Alignment - */ -[class*='uk-align-'] { - display: block; - margin-bottom: 15px; -} -.uk-align-left { - margin-right: 15px; - float: left; -} -.uk-align-right { - margin-left: 15px; - float: right; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-align-medium-left { - margin-right: 15px; - margin-bottom: 15px; - float: left; - } - .uk-align-medium-right { - margin-left: 15px; - margin-bottom: 15px; - float: right; - } -} -.uk-align-center { - margin-left: auto; - margin-right: auto; -} -/* Vertical alignment - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - */ -.uk-vertical-align { - font-size: 0.001px; -} -/* - * The `uk-vertical-align` container needs a specific height - */ -.uk-vertical-align:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * Sub-object which can have any height - * 1. Reset whitespace hack - */ -.uk-vertical-align-middle, -.uk-vertical-align-bottom { - display: inline-block; - max-width: 100%; - /* 1 */ - font-size: 1rem; -} -.uk-vertical-align-middle { - vertical-align: middle; -} -.uk-vertical-align-bottom { - vertical-align: bottom; -} -/* Height - ========================================================================== */ -/* - * More robust if padding and border are used - */ -[class*='uk-height'] { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Useful to extend the `html` and `body` element to the full height of the page. - */ -.uk-height-1-1 { - height: 100%; -} -/* - * Useful to create image teasers - */ -.uk-height-viewport { - height: 100vh; - min-height: 600px; -} -/* Responsive objects - * Note: Images are already responsive by default, see Base component - ========================================================================== */ -/* - * 1. Corrects `max-width` and `max-height` behavior if padding and border are used - */ -.uk-responsive-width, -.uk-responsive-height { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * `important` needed to override `uk-img-preserve img` - */ -.uk-responsive-width { - max-width: 100% !important; - height: auto; -} -/* - * Responsiveness: Sets a maximum height relative to the parent and auto scales the width - * Only works if the parent element has a fixed height. - */ -.uk-responsive-height { - max-height: 100%; - width: auto; -} -/* Margin - ========================================================================== */ -/* - * Create a block with the same margin of a paragraph - * Add margin if adjacent element - */ -.uk-margin { - margin-bottom: 15px; -} -* + .uk-margin { - margin-top: 15px; -} -.uk-margin-top { - margin-top: 15px !important; -} -.uk-margin-bottom { - margin-bottom: 15px !important; -} -.uk-margin-left { - margin-left: 15px !important; -} -.uk-margin-right { - margin-right: 15px !important; -} -/* - * Larger margins - */ -.uk-margin-large { - margin-bottom: 50px; -} -* + .uk-margin-large { - margin-top: 50px; -} -.uk-margin-large-top { - margin-top: 50px !important; -} -.uk-margin-large-bottom { - margin-bottom: 50px !important; -} -.uk-margin-large-left { - margin-left: 50px !important; -} -.uk-margin-large-right { - margin-right: 50px !important; -} -/* - * Smaller margins - */ -.uk-margin-small { - margin-bottom: 5px; -} -* + .uk-margin-small { - margin-top: 5px; -} -.uk-margin-small-top { - margin-top: 5px !important; -} -.uk-margin-small-bottom { - margin-bottom: 5px !important; -} -.uk-margin-small-left { - margin-left: 5px !important; -} -.uk-margin-small-right { - margin-right: 5px !important; -} -/* - * Remove margins - */ -.uk-margin-remove { - margin: 0 !important; -} -.uk-margin-top-remove { - margin-top: 0 !important; -} -.uk-margin-bottom-remove { - margin-bottom: 0 !important; -} -/* Padding - ========================================================================== */ -.uk-padding-remove { - padding: 0 !important; -} -.uk-padding-top-remove { - padding-top: 0 !important; -} -.uk-padding-bottom-remove { - padding-bottom: 0 !important; -} -.uk-padding-vertical-remove { - padding-top: 0 !important; - padding-bottom: 0 !important; -} -/* Border - ========================================================================== */ -.uk-border-circle { - border-radius: 50%; -} -.uk-border-rounded { - border-radius: 5px; -} -/* Headings - ========================================================================== */ -.uk-heading-large { - font-size: 36px; - line-height: 42px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-heading-large { - font-size: 52px; - line-height: 64px; - } -} -/* Link - ========================================================================== */ -/* - * Let links appear in default text color - */ -.uk-link-muted, -.uk-link-muted a { - color: #444444; -} -.uk-link-muted:hover, -.uk-link-muted a:hover { - color: #444444; -} -/* - * Reset link style - */ -.uk-link-reset, -.uk-link-reset a, -.uk-link-reset:hover, -.uk-link-reset a:hover, -.uk-link-reset:focus, -.uk-link-reset a:focus { - color: inherit; - text-decoration: none; -} -/* Scrollable - ========================================================================== */ -/* - * Enable scrolling for preformatted text - */ -.uk-scrollable-text { - height: 300px; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - resize: both; -} -/* - * Box with scrolling enabled - */ -.uk-scrollable-box { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 170px; - padding: 10px; - border: 1px solid #dddddd; - overflow: auto; - -webkit-overflow-scrolling: touch; - resize: both; -} -.uk-scrollable-box > :last-child { - margin-bottom: 0; -} -/* Overflow - ========================================================================== */ -.uk-overflow-hidden { - overflow: hidden; -} -/* - * Enable scrollbars if content is clipped - */ -.uk-overflow-container { - overflow: auto; - -webkit-overflow-scrolling: touch; -} -.uk-overflow-container > :last-child { - margin-bottom: 0; -} -/* Position - ========================================================================== */ -.uk-position-absolute, -[class*='uk-position-top'], -[class*='uk-position-bottom'] { - position: absolute !important; -} -.uk-position-top { - top: 0; - width: 100%; -} -.uk-position-bottom { - bottom: 0; - width: 100%; -} -.uk-position-top-left { - top: 0; - left: 0; -} -.uk-position-top-right { - top: 0; - right: 0; -} -.uk-position-bottom-left { - bottom: 0; - left: 0; -} -.uk-position-bottom-right { - bottom: 0; - right: 0; -} -/* - * Cover - */ -.uk-position-cover { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} -/* - * Relative - */ -.uk-position-relative { - position: relative !important; -} -/* - * Z-index - */ -.uk-position-z-index { - z-index: 1; -} -/* Display - ========================================================================== */ -/* - * Display - */ -.uk-display-block { - display: block !important; -} -.uk-display-inline { - display: inline !important; -} -.uk-display-inline-block { - display: inline-block !important; -} -/* - * Visibility - * Avoids setting display to `block` so it works also with `inline-block` and `table` - */ -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-medium { - display: none !important; - } - .uk-hidden-large { - display: none !important; - } -} -/* Tablets portrait */ -@media (min-width: 768px) and (max-width: 959px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-large { - display: none !important ; - } - .uk-hidden-medium { - display: none !important; - } -} -/* Phone landscape and smaller*/ -@media (max-width: 767px) { - .uk-visible-medium { - display: none !important; - } - .uk-visible-large { - display: none !important; - } - .uk-hidden-small { - display: none !important; - } -} -/* Remove from the flow and screen readers on any device */ -.uk-hidden { - display: none !important; - visibility: hidden !important; -} -/* It's hidden, but still affects layout */ -.uk-invisible { - visibility: hidden !important; -} -/* Show on hover */ -.uk-visible-hover:hover .uk-hidden, -.uk-visible-hover:hover .uk-invisible { - display: block !important; - visibility: visible !important; -} -.uk-visible-hover-inline:hover .uk-hidden, -.uk-visible-hover-inline:hover .uk-invisible { - display: inline-block !important; - visibility: visible !important; -} -/* Hide on touch */ -.uk-touch .uk-hidden-touch, -.uk-notouch .uk-hidden-notouch { - display: none !important; -} -/* ======================================================================== - Component: Flex - ========================================================================== */ -.uk-flex { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -.uk-flex-inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; - display: inline-flex; -} -/* - * Fixes initial flex-shrink value in IE10 - */ -.uk-flex > *, -.uk-flex-inline > * { - -ms-flex-negative: 1; -} -/* Alignment - ========================================================================== */ -/* - * Vertical alignment - * Default value is `stretch` - */ -.uk-flex-top { - -ms-flex-align: start; - -webkit-align-items: flex-start; - align-items: flex-start; -} -.uk-flex-middle { - -ms-flex-align: center; - -webkit-align-items: center; - align-items: center; -} -.uk-flex-bottom { - -ms-flex-align: end; - -webkit-align-items: flex-end; - align-items: flex-end; -} -/* - * Horizontal alignment - * Default value is `flex-start` - */ -.uk-flex-center { - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} -.uk-flex-right { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; - justify-content: flex-end; -} -.uk-flex-space-between { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -} -.uk-flex-space-around { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; - justify-content: space-around; -} -/* Direction - ========================================================================== */ -.uk-flex-row-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; - flex-direction: row-reverse; -} -.uk-flex-column { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -.uk-flex-column-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; - flex-direction: column-reverse; -} -/* Wrap - ========================================================================== */ -.uk-flex-nowrap { - -ms-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - flex-wrap: nowrap; -} -.uk-flex-wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; -} -.uk-flex-wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} -/* - * Horizontal alignment - * Default value is `stretch` - */ -.uk-flex-wrap-top { - -ms-flex-line-pack: start; - -webkit-align-content: flex-start; - align-content: flex-start; -} -.uk-flex-wrap-middle { - -ms-flex-line-pack: center; - -webkit-align-content: center; - align-content: center; -} -.uk-flex-wrap-bottom { - -ms-flex-line-pack: end; - -webkit-align-content: flex-end; - align-content: flex-end; -} -.uk-flex-wrap-space-between { - -ms-flex-line-pack: justify; - -webkit-align-content: space-between; - align-content: space-between; -} -.uk-flex-wrap-space-around { - -ms-flex-line-pack: distribute; - -webkit-align-content: space-around; - align-content: space-around; -} -/* Item ordering - ========================================================================== */ -/* - * Default is 0 - */ -.uk-flex-order-first { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; -} -.uk-flex-order-last { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-flex-order-first-small { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-small { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-flex-order-first-medium { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-medium { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-flex-order-first-large { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-large { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-flex-order-first-xlarge { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-xlarge { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Item dimensions - ========================================================================== */ -/* - * Initial: 0 1 auto - * Content dimensions, but shrinks - */ -/* - * No Flex: 0 0 auto - * Content dimensions - */ -.uk-flex-item-none { - -ms-flex: none; - -webkit-flex: none; - flex: none; -} -/* - * Relative Flex: 1 1 auto - * Space is allocated considering content - * 1. Fixes flex-shrink value in IE10 - */ -.uk-flex-item-auto { - -ms-flex: auto; - -webkit-flex: auto; - flex: auto; - /* 1 */ - -ms-flex-negative: 1; -} -/* - * Absolute Flex: 1 1 0% - * Space is allocated solely based on flex - */ -.uk-flex-item-1 { - -ms-flex: 1; - -webkit-flex: 1; - flex: 1; -} -/* ======================================================================== - Component: Contrast - ========================================================================== */ -.uk-contrast { - color: #ffffff; -} -.uk-contrast a:not([class]), -.uk-contrast .uk-link { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast a:not([class]):hover, -.uk-contrast .uk-link:hover { - color: #ffffff; - text-decoration: underline; -} -.uk-contrast :not(pre) > code, -.uk-contrast :not(pre) > kbd, -.uk-contrast :not(pre) > samp { - color: #ffffff; -} -.uk-contrast em { - color: #ffffff; -} -.uk-contrast h1, -.uk-contrast h2, -.uk-contrast h3, -.uk-contrast h4, -.uk-contrast h5, -.uk-contrast h6 { - color: #ffffff; -} -.uk-contrast hr { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav li > a, -.uk-contrast .uk-nav li > a:hover { - text-decoration: none; -} -.uk-contrast .uk-nav-side > li > a { - color: #ffffff; -} -.uk-contrast .uk-nav-side > li > a:hover, -.uk-contrast .uk-nav-side > li > a:focus { - background: rgba(255, 255, 255, 0.1); - color: #ffffff; -} -.uk-contrast .uk-nav-side > li.uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-nav-side .uk-nav-header { - color: #ffffff; -} -.uk-contrast .uk-nav-side .uk-nav-divider { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav-side ul a { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-nav-side ul a:hover { - color: #ffffff; -} -.uk-contrast .uk-subnav > * > a { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast .uk-subnav > * > a:hover, -.uk-contrast .uk-subnav > * > a:focus { - color: #ffffff; - text-decoration: none; -} -.uk-contrast .uk-subnav > .uk-active > a { - color: #ffffff; -} -.uk-contrast .uk-subnav-line > :nth-child(n+2):before { - border-left-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-subnav-pill > * > a:hover, -.uk-contrast .uk-subnav-pill > * > a:focus { - background: rgba(255, 255, 255, 0.7); - color: #444444; - text-decoration: none; -} -.uk-contrast .uk-subnav-pill > .uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-list-line > li:nth-child(n+2) { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-form select, -.uk-contrast .uk-form textarea, -.uk-contrast .uk-form input:not([type]), -.uk-contrast .uk-form input[type="text"], -.uk-contrast .uk-form input[type="password"], -.uk-contrast .uk-form input[type="datetime"], -.uk-contrast .uk-form input[type="datetime-local"], -.uk-contrast .uk-form input[type="date"], -.uk-contrast .uk-form input[type="month"], -.uk-contrast .uk-form input[type="time"], -.uk-contrast .uk-form input[type="week"], -.uk-contrast .uk-form input[type="number"], -.uk-contrast .uk-form input[type="email"], -.uk-contrast .uk-form input[type="url"], -.uk-contrast .uk-form input[type="search"], -.uk-contrast .uk-form input[type="tel"], -.uk-contrast .uk-form input[type="color"] { - border-color: rgba(255, 255, 255, 0.8); - background: rgba(255, 255, 255, 0.8); - color: #444444; - background-clip: padding-box; -} -.uk-contrast .uk-form select:focus, -.uk-contrast .uk-form textarea:focus, -.uk-contrast .uk-form input:not([type]):focus, -.uk-contrast .uk-form input[type="text"]:focus, -.uk-contrast .uk-form input[type="password"]:focus, -.uk-contrast .uk-form input[type="datetime"]:focus, -.uk-contrast .uk-form input[type="datetime-local"]:focus, -.uk-contrast .uk-form input[type="date"]:focus, -.uk-contrast .uk-form input[type="month"]:focus, -.uk-contrast .uk-form input[type="time"]:focus, -.uk-contrast .uk-form input[type="week"]:focus, -.uk-contrast .uk-form input[type="number"]:focus, -.uk-contrast .uk-form input[type="email"]:focus, -.uk-contrast .uk-form input[type="url"]:focus, -.uk-contrast .uk-form input[type="search"]:focus, -.uk-contrast .uk-form input[type="tel"]:focus, -.uk-contrast .uk-form input[type="color"]:focus { - border-color: #ffffff; - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-form :-ms-input-placeholder { - color: rgba(68, 68, 68, 0.7) !important; -} -.uk-contrast .uk-form ::-moz-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-form ::-webkit-input-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-button { - color: #444444; - background: #ffffff; -} -.uk-contrast .uk-button:hover, -.uk-contrast .uk-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; -} -.uk-contrast .uk-button:active, -.uk-contrast .uk-button.uk-active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-button-primary { - background-color: #00a8e6; - color: #ffffff; -} -.uk-contrast .uk-button-primary:hover, -.uk-contrast .uk-button-primary:focus { - background-color: #35b3ee; - color: #ffffff; -} -.uk-contrast .uk-button-primary:active, -.uk-contrast .uk-button-primary.uk-active { - background-color: #0091ca; - color: #ffffff; -} -.uk-contrast .uk-icon-hover { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-icon-hover:hover { - color: #ffffff; -} -.uk-contrast .uk-icon-button { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-icon-button:hover, -.uk-contrast .uk-icon-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; -} -.uk-contrast .uk-icon-button:active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; -} -.uk-contrast .uk-text-muted { - color: rgba(255, 255, 255, 0.6) !important; -} -.uk-contrast .uk-text-primary { - color: #2d7091 !important; -} -/* ======================================================================== - Component: Print - ========================================================================== */ -@media print { - * { - background: transparent !important; - color: black !important; - box-shadow: none !important; - text-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.gradient.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.gradient.css deleted file mode 100644 index 4284f44fb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.gradient.css +++ /dev/null @@ -1,8417 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* ======================================================================== - Component: Base - ========================================================================== */ -/* - * 1. Normalizes default `font-family` and sets `font-size` here to support `rem` units - * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom - * 3. Style - */ -html { - /* 1 */ - font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; - /* 2 */ - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - /* 3 */ - background: #ffffff; - color: #444444; - background-image: -webkit-radial-gradient(100% 100%, center, #ffffff, #ffffff); - background-image: radial-gradient(100% 100% at center, #ffffff, #ffffff); -} -/* - * Removes default margin. - */ -body { - margin: 0; -} -/* Links - ========================================================================== */ -/* - * Remove the gray background color from active links in IE 10. - */ -a { - background: transparent; -} -/* - * Improves readability when focused and also mouse hovered in all browsers. - */ -a:active, -a:hover { - outline: 0; -} -/* - * Style - */ -a, -.uk-link { - color: #0077dd; - text-decoration: none; - cursor: pointer; -} -a:hover, -.uk-link:hover { - color: #005599; - text-decoration: underline; -} -/* Text-level semantics - ========================================================================== */ -/* - * Addresses styling not present in Chrome, Safari, Opera and IE 8/9/10. - */ -abbr[title] { - border-bottom: 1px dotted; -} -/* - * Addresses style set to `bolder` in Firefox - */ -b, -strong { - font-weight: bold; -} -/* - * 1. Address odd `em`-unit font size rendering in all browsers. - * 2. Consolas has a better baseline in running text compared to `Courier` - */ -:not(pre) > code, -:not(pre) > kbd, -:not(pre) > samp { - /* 1 */ - font-size: 12px; - /* 2 */ - font-family: Consolas, monospace, serif; - /* 3 */ - color: #dd0055; - white-space: nowrap; - padding: 0 4px; - border: 1px solid #dddddd; - border-radius: 3px; - background: #fafafa; -} -/* - * Emphasize - */ -em { - color: #dd0055; -} -/* - * Insert - */ -ins { - background: #ffffaa; - color: #444444; - text-decoration: none; -} -/* - * Mark - * Note: Addresses styling not present in IE 8/9. - */ -mark { - background: #ffffaa; - color: #444444; -} -/* - * Quote - */ -q { - font-style: italic; -} -/* - * Addresses inconsistent and variable font size in all browsers. - */ -small { - font-size: 80%; -} -/* - * Prevents `sub` and `sup` affecting `line-height` in all browsers. - */ -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -/* Images - ========================================================================== */ -/* - * 1. Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * 2. Corrects `max-width` behavior if padding and border are used - * 3. Remove border when inside `a` element in IE 8/9/10. - * 4. Remove the gap between images and the bottom of their containers - */ -img { - /* 1 */ - max-width: 100%; - height: auto; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - border: 0; - /* 4 */ - vertical-align: middle; -} -/* - * Preserve original image dimensions - */ -.uk-img-preserve, -.uk-img-preserve img { - max-width: none; -} -/* - * Correct overflow not hidden in IE 9/10/11. - */ -svg:not(:root) { - overflow: hidden; -} -/* Block elements - ========================================================================== */ -/* - * Reset margin - */ -blockquote, -figure { - margin: 0; -} -/* - * Margins - */ -p, -ul, -ol, -dl, -blockquote, -pre, -address, -fieldset, -figure { - margin: 0 0 15px 0; -} -* + p, -* + ul, -* + ol, -* + dl, -* + blockquote, -* + pre, -* + address, -* + fieldset, -* + figure { - margin-top: 15px; -} -/* Headings - ========================================================================== */ -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0 0 15px 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - color: #444444; - text-transform: none; -} -/* - * Margins - */ -* + h1, -* + h2, -* + h3, -* + h4, -* + h5, -* + h6 { - margin-top: 25px; -} -/* - * Sizes - */ -h1, -.uk-h1 { - font-size: 36px; - line-height: 42px; -} -h2, -.uk-h2 { - font-size: 24px; - line-height: 30px; -} -h3, -.uk-h3 { - font-size: 18px; - line-height: 24px; -} -h4, -.uk-h4 { - font-size: 16px; - line-height: 22px; -} -h5, -.uk-h5 { - font-size: 14px; - line-height: 20px; -} -h6, -.uk-h6 { - font-size: 12px; - line-height: 18px; -} -/* Lists - ========================================================================== */ -ul, -ol { - padding-left: 30px; -} -/* - * Reset margin for nested lists - */ -ul > li > ul, -ul > li > ol, -ol > li > ol, -ol > li > ul { - margin: 0; -} -/* Description lists - ========================================================================== */ -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -/* Horizontal rules - ========================================================================== */ -/* - * 1. Address differences between Firefox and other browsers. - * 2. Style - */ -hr { - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; - /* 2 */ - margin: 15px 0; - border: 0; - border-top: 1px solid #dddddd; -} -/* Address - ========================================================================== */ -address { - font-style: normal; -} -/* Blockquotes - ========================================================================== */ -blockquote { - padding-left: 15px; - border-left: 5px solid #dddddd; - font-size: 16px; - line-height: 22px; - font-style: italic; -} -/* Preformatted text - ========================================================================== */ -/* - * 1. Contain overflow in all browsers. - */ -pre { - padding: 10px; - background: #fafafa; - font: 12px / 18px Consolas, monospace, serif; - color: #444444; - -moz-tab-size: 4; - tab-size: 4; - /* 1 */ - overflow: auto; - border: 1px solid #dddddd; - border-radius: 3px; -} -/* Selection pseudo-element - ========================================================================== */ -::-moz-selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -::selection { - background: #3399ff; - color: #ffffff; - text-shadow: none; -} -/* HTML5 elements - ========================================================================== */ -/* - * Corrects `block` display not defined in IE 8/9. - */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -main, -nav, -section, -summary { - display: block; -} -/* - * Addresses inconsistent vertical alignment of `progress` in Chrome, Firefox and Opera. - */ -progress { - vertical-align: baseline; -} -/* - * Prevent displaying `audio` without controls in Chrome, Safari and Opera - */ -audio:not([controls]) { - display: none; -} -/* - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE and Safari - */ -[hidden], -template { - display: none; -} -/* Iframe - ========================================================================== */ -iframe { - border: 0; -} -/* Fix viewport for IE10 snap mode - ========================================================================== */ -@media screen and (max-width: 400px) { - @-ms-viewport { - width: device-width; - } -} -/* ======================================================================== - Component: Grid - ========================================================================== */ -/* - * 1. Makes grid more robust so that it can be used with other block elements like lists - */ -.uk-grid { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin: 0; - padding: 0; - list-style: none; -} -/* - * DEPRECATED - * Micro clearfix - * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit - */ -.uk-grid:before, -.uk-grid:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-grid:after { - clear: both; -} -/* - * Grid cell - * 1. Space is allocated solely based on content dimensions - * 2. Makes grid more robust so that it can be used with other block elements - * 3. DEPRECATED Using `float` to support IE9 - */ -.uk-grid > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - margin: 0; - /* 3 */ - float: left; -} -/* - * Remove margin from the last-child - */ -.uk-grid > * > :last-child { - margin-bottom: 0; -} -/* Grid gutter - ========================================================================== */ -/* - * Default gutter - */ -/* Horizontal */ -.uk-grid { - margin-left: -25px; -} -.uk-grid > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid + .uk-grid, -.uk-grid-margin, -.uk-grid > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* Horizontal */ - .uk-grid { - margin-left: -35px; - } - .uk-grid > * { - padding-left: 35px; - } - /* Vertical */ - .uk-grid + .uk-grid, - .uk-grid-margin, - .uk-grid > * > .uk-panel + .uk-panel { - margin-top: 35px; - } -} -/* - * Collapse gutter - */ -/* Horizontal */ -.uk-grid-collapse { - margin-left: 0; -} -.uk-grid-collapse > * { - padding-left: 0; -} -/* Vertical */ -.uk-grid-collapse + .uk-grid-collapse, -.uk-grid-collapse > .uk-grid-margin, -.uk-grid-collapse > * > .uk-panel + .uk-panel { - margin-top: 0; -} -/* - * Small gutter - */ -/* Horizontal */ -.uk-grid-small { - margin-left: -10px; -} -.uk-grid-small > * { - padding-left: 10px; -} -/* Vertical */ -.uk-grid-small + .uk-grid-small, -.uk-grid-small > .uk-grid-margin, -.uk-grid-small > * > .uk-panel + .uk-panel { - margin-top: 10px; -} -/* - * Medium gutter - */ -/* Horizontal */ -.uk-grid-medium { - margin-left: -25px; -} -.uk-grid-medium > * { - padding-left: 25px; -} -/* Vertical */ -.uk-grid-medium + .uk-grid-medium, -.uk-grid-medium > .uk-grid-margin, -.uk-grid-medium > * > .uk-panel + .uk-panel { - margin-top: 25px; -} -/* Modifier: `uk-grid-divider` - ========================================================================== */ -/* - * Horizontal divider - * Only works with the default gutter. Does not work with gutter collapse, small or large. - * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. - */ -.uk-grid-divider:not(:empty) { - margin-left: -25px; - margin-right: -25px; -} -.uk-grid-divider > * { - padding-left: 25px; - padding-right: 25px; -} -.uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), -.uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), -.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { - border-left: 1px solid #dddddd; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { - border-left: 1px solid #dddddd; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - /* - * Large gutter - */ - .uk-grid-divider:not(:empty) { - margin-left: -35px; - margin-right: -35px; - } - .uk-grid-divider > * { - padding-left: 35px; - padding-right: 35px; - } - .uk-grid-divider:empty { - margin-top: 35px; - margin-bottom: 35px; - } -} -/* - * Vertical divider - */ -.uk-grid-divider:empty { - margin-top: 25px; - margin-bottom: 25px; - border-top: 1px solid #dddddd; -} -/* Match panels in grids - ========================================================================== */ -.uk-grid-match > * { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -/* - * 1. Behave like a block element - */ -.uk-grid-match > * > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* Even grid cell widths - ========================================================================== */ -[class*='uk-grid-width'] > * { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -.uk-grid-width-1-2 > * { - width: 50%; -} -.uk-grid-width-1-3 > * { - width: 33.333%; -} -.uk-grid-width-1-4 > * { - width: 25%; -} -.uk-grid-width-1-5 > * { - width: 20%; -} -.uk-grid-width-1-6 > * { - width: 16.666%; -} -.uk-grid-width-1-10 > * { - width: 10%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-grid-width-small-1-2 > * { - width: 50%; - } - .uk-grid-width-small-1-3 > * { - width: 33.333%; - } - .uk-grid-width-small-1-4 > * { - width: 25%; - } - .uk-grid-width-small-1-5 > * { - width: 20%; - } - .uk-grid-width-small-1-6 > * { - width: 16.666%; - } - .uk-grid-width-small-1-10 > * { - width: 10%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-grid-width-medium-1-2 > * { - width: 50%; - } - .uk-grid-width-medium-1-3 > * { - width: 33.333%; - } - .uk-grid-width-medium-1-4 > * { - width: 25%; - } - .uk-grid-width-medium-1-5 > * { - width: 20%; - } - .uk-grid-width-medium-1-6 > * { - width: 16.666%; - } - .uk-grid-width-medium-1-10 > * { - width: 10%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-grid-width-large-1-2 > * { - width: 50%; - } - .uk-grid-width-large-1-3 > * { - width: 33.333%; - } - .uk-grid-width-large-1-4 > * { - width: 25%; - } - .uk-grid-width-large-1-5 > * { - width: 20%; - } - .uk-grid-width-large-1-6 > * { - width: 16.666%; - } - .uk-grid-width-large-1-10 > * { - width: 10%; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-grid-width-xlarge-1-2 > * { - width: 50%; - } - .uk-grid-width-xlarge-1-3 > * { - width: 33.333%; - } - .uk-grid-width-xlarge-1-4 > * { - width: 25%; - } - .uk-grid-width-xlarge-1-5 > * { - width: 20%; - } - .uk-grid-width-xlarge-1-6 > * { - width: 16.666%; - } - .uk-grid-width-xlarge-1-10 > * { - width: 10%; - } -} -/* Sub-objects: `uk-width-*` - ========================================================================== */ -[class*='uk-width'] { - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; -} -/* - * Widths - */ -/* Whole */ -.uk-width-1-1 { - width: 100%; -} -/* Halves */ -.uk-width-1-2, -.uk-width-2-4, -.uk-width-3-6, -.uk-width-5-10 { - width: 50%; -} -/* Thirds */ -.uk-width-1-3, -.uk-width-2-6 { - width: 33.333%; -} -.uk-width-2-3, -.uk-width-4-6 { - width: 66.666%; -} -/* Quarters */ -.uk-width-1-4 { - width: 25%; -} -.uk-width-3-4 { - width: 75%; -} -/* Fifths */ -.uk-width-1-5, -.uk-width-2-10 { - width: 20%; -} -.uk-width-2-5, -.uk-width-4-10 { - width: 40%; -} -.uk-width-3-5, -.uk-width-6-10 { - width: 60%; -} -.uk-width-4-5, -.uk-width-8-10 { - width: 80%; -} -/* Sixths */ -.uk-width-1-6 { - width: 16.666%; -} -.uk-width-5-6 { - width: 83.333%; -} -/* Tenths */ -.uk-width-1-10 { - width: 10%; -} -.uk-width-3-10 { - width: 30%; -} -.uk-width-7-10 { - width: 70%; -} -.uk-width-9-10 { - width: 90%; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - /* Whole */ - .uk-width-small-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-small-1-2, - .uk-width-small-2-4, - .uk-width-small-3-6, - .uk-width-small-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-small-1-3, - .uk-width-small-2-6 { - width: 33.333%; - } - .uk-width-small-2-3, - .uk-width-small-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-small-1-4 { - width: 25%; - } - .uk-width-small-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-small-1-5, - .uk-width-small-2-10 { - width: 20%; - } - .uk-width-small-2-5, - .uk-width-small-4-10 { - width: 40%; - } - .uk-width-small-3-5, - .uk-width-small-6-10 { - width: 60%; - } - .uk-width-small-4-5, - .uk-width-small-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-small-1-6 { - width: 16.666%; - } - .uk-width-small-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-small-1-10 { - width: 10%; - } - .uk-width-small-3-10 { - width: 30%; - } - .uk-width-small-7-10 { - width: 70%; - } - .uk-width-small-9-10 { - width: 90%; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* Whole */ - .uk-width-medium-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-medium-1-2, - .uk-width-medium-2-4, - .uk-width-medium-3-6, - .uk-width-medium-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-medium-1-3, - .uk-width-medium-2-6 { - width: 33.333%; - } - .uk-width-medium-2-3, - .uk-width-medium-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-medium-1-4 { - width: 25%; - } - .uk-width-medium-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-medium-1-5, - .uk-width-medium-2-10 { - width: 20%; - } - .uk-width-medium-2-5, - .uk-width-medium-4-10 { - width: 40%; - } - .uk-width-medium-3-5, - .uk-width-medium-6-10 { - width: 60%; - } - .uk-width-medium-4-5, - .uk-width-medium-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-medium-1-6 { - width: 16.666%; - } - .uk-width-medium-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-medium-1-10 { - width: 10%; - } - .uk-width-medium-3-10 { - width: 30%; - } - .uk-width-medium-7-10 { - width: 70%; - } - .uk-width-medium-9-10 { - width: 90%; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - /* Whole */ - .uk-width-large-1-1 { - width: 100%; - } - /* Halves */ - .uk-width-large-1-2, - .uk-width-large-2-4, - .uk-width-large-3-6, - .uk-width-large-5-10 { - width: 50%; - } - /* Thirds */ - .uk-width-large-1-3, - .uk-width-large-2-6 { - width: 33.333%; - } - .uk-width-large-2-3, - .uk-width-large-4-6 { - width: 66.666%; - } - /* Quarters */ - .uk-width-large-1-4 { - width: 25%; - } - .uk-width-large-3-4 { - width: 75%; - } - /* Fifths */ - .uk-width-large-1-5, - .uk-width-large-2-10 { - width: 20%; - } - .uk-width-large-2-5, - .uk-width-large-4-10 { - width: 40%; - } - .uk-width-large-3-5, - .uk-width-large-6-10 { - width: 60%; - } - .uk-width-large-4-5, - .uk-width-large-8-10 { - width: 80%; - } - /* Sixths */ - .uk-width-large-1-6 { - width: 16.666%; - } - .uk-width-large-5-6 { - width: 83.333%; - } - /* Tenths */ - .uk-width-large-1-10 { - width: 10%; - } - .uk-width-large-3-10 { - width: 30%; - } - .uk-width-large-7-10 { - width: 70%; - } - .uk-width-large-9-10 { - width: 90%; - } -} -/* Sub-object: `uk-push-*` and `uk-pull-*` - ========================================================================== */ -/* - * Source ordering - * Works only with `uk-width-medium-*` - */ -/* Tablet and bigger */ -@media (min-width: 768px) { - [class*='uk-push-'], - [class*='uk-pull-'] { - position: relative; - } - /* - * Push - */ - /* Halves */ - .uk-push-1-2, - .uk-push-2-4, - .uk-push-3-6, - .uk-push-5-10 { - left: 50%; - } - /* Thirds */ - .uk-push-1-3, - .uk-push-2-6 { - left: 33.333%; - } - .uk-push-2-3, - .uk-push-4-6 { - left: 66.666%; - } - /* Quarters */ - .uk-push-1-4 { - left: 25%; - } - .uk-push-3-4 { - left: 75%; - } - /* Fifths */ - .uk-push-1-5, - .uk-push-2-10 { - left: 20%; - } - .uk-push-2-5, - .uk-push-4-10 { - left: 40%; - } - .uk-push-3-5, - .uk-push-6-10 { - left: 60%; - } - .uk-push-4-5, - .uk-push-8-10 { - left: 80%; - } - /* Sixths */ - .uk-push-1-6 { - left: 16.666%; - } - .uk-push-5-6 { - left: 83.333%; - } - /* Tenths */ - .uk-push-1-10 { - left: 10%; - } - .uk-push-3-10 { - left: 30%; - } - .uk-push-7-10 { - left: 70%; - } - .uk-push-9-10 { - left: 90%; - } - /* - * Pull - */ - /* Halves */ - .uk-pull-1-2, - .uk-pull-2-4, - .uk-pull-3-6, - .uk-pull-5-10 { - left: -50%; - } - /* Thirds */ - .uk-pull-1-3, - .uk-pull-2-6 { - left: -33.333%; - } - .uk-pull-2-3, - .uk-pull-4-6 { - left: -66.666%; - } - /* Quarters */ - .uk-pull-1-4 { - left: -25%; - } - .uk-pull-3-4 { - left: -75%; - } - /* Fifths */ - .uk-pull-1-5, - .uk-pull-2-10 { - left: -20%; - } - .uk-pull-2-5, - .uk-pull-4-10 { - left: -40%; - } - .uk-pull-3-5, - .uk-pull-6-10 { - left: -60%; - } - .uk-pull-4-5, - .uk-pull-8-10 { - left: -80%; - } - /* Sixths */ - .uk-pull-1-6 { - left: -16.666%; - } - .uk-pull-5-6 { - left: -83.333%; - } - /* Tenths */ - .uk-pull-1-10 { - left: -10%; - } - .uk-pull-3-10 { - left: -30%; - } - .uk-pull-7-10 { - left: -70%; - } - .uk-pull-9-10 { - left: -90%; - } -} -/* ======================================================================== - Component: Panel - ========================================================================== */ -/* - * 1. Needed for `a` elements - * 2. Create position context for badges - */ -.uk-panel { - /* 1 */ - display: block; - /* 2 */ - position: relative; -} -/* - * Allow panels to be anchors - */ -.uk-panel, -.uk-panel:hover { - text-decoration: none; -} -/* - * Micro clearfix to make panels more robust - */ -.uk-panel:before, -.uk-panel:after { - content: ""; - display: table; -} -.uk-panel:after { - clear: both; -} -/* - * Remove margin from the last-child if not `uk-widget-title` - */ -.uk-panel > :not(.uk-panel-title):last-child { - margin-bottom: 0; -} -/* Sub-object: `uk-panel-title` - ========================================================================== */ -.uk-panel-title { - margin-top: 0; - margin-bottom: 15px; - font-size: 18px; - line-height: 24px; - font-weight: normal; - text-transform: none; - color: #444444; -} -/* Sub-object: `uk-panel-badge` - ========================================================================== */ -.uk-panel-badge { - position: absolute; - top: 0; - right: 0; - z-index: 1; -} -/* Sub-object: `uk-panel-teaser` - ========================================================================== */ -.uk-panel-teaser { - margin-bottom: 15px; -} -/* Modifier: `uk-panel-box` - ========================================================================== */ -.uk-panel-box { - padding: 15px; - background: #fafafa; - color: #444444; - border: 1px solid #dddddd; - border-radius: 4px; -} -.uk-panel-box-hover:hover { - color: #444444; -} -.uk-panel-box .uk-panel-title { - color: #444444; -} -.uk-panel-box .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-box .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* - * Nav in panel - */ -.uk-panel-box > .uk-nav-side { - margin: 0 -15px; -} -/* - * Sub-modifier: `uk-panel-box-primary` - */ -.uk-panel-box-primary { - background-color: #ebf7fd; - color: #2d7091; - border-color: rgba(45, 112, 145, 0.3); -} -.uk-panel-box-primary-hover:hover { - color: #2d7091; -} -.uk-panel-box-primary .uk-panel-title { - color: #2d7091; -} -/* - * Sub-modifier: `uk-panel-box-secondary` - */ -.uk-panel-box-secondary { - background-color: #ffffff; - color: #444444; -} -.uk-panel-box-secondary-hover:hover { - color: #444444; -} -.uk-panel-box-secondary .uk-panel-title { - color: #444444; -} -/* Modifier: `uk-panel-hover` - ========================================================================== */ -.uk-panel-hover { - padding: 15px; - color: #444444; - border: 1px solid transparent; - border-radius: 4px; -} -.uk-panel-hover:hover { - background: #fafafa; - color: #444444; - border-color: #dddddd; -} -.uk-panel-hover .uk-panel-badge { - top: 10px; - right: 10px; -} -.uk-panel-hover .uk-panel-teaser { - margin-top: -16px; - margin-left: -16px; - margin-right: -16px; -} -/* Modifier: `uk-panel-header` - ========================================================================== */ -.uk-panel-header .uk-panel-title { - padding-bottom: 10px; - border-bottom: 1px solid #dddddd; - color: #444444; -} -/* Modifier: `uk-panel-space` - ========================================================================== */ -.uk-panel-space { - padding: 30px; -} -.uk-panel-space .uk-panel-badge { - top: 30px; - right: 30px; -} -/* Modifier: `uk-panel-divider` - ========================================================================== */ -.uk-panel + .uk-panel-divider { - margin-top: 50px !important; -} -.uk-panel + .uk-panel-divider:before { - content: ""; - display: block; - position: absolute; - top: -25px; - left: 0; - right: 0; - border-top: 1px solid #dddddd; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-panel + .uk-panel-divider { - margin-top: 70px !important; - } - .uk-panel + .uk-panel-divider:before { - top: -35px; - } -} -.uk-panel-box .uk-panel-teaser { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - overflow: hidden; - -webkit-transform: translateZ(0); -} -/* ======================================================================== - Component: Block - ========================================================================== */ -.uk-block { - position: relative; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding-top: 20px; - padding-bottom: 20px; -} -/* Phone landscape and bigger */ -@media (min-width: 768px) { - .uk-block { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* - * Micro clearfix to make blocks more robust - */ -.uk-block:before, -.uk-block:after { - content: ""; - display: table; -} -.uk-block:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-block > :last-child { - margin-bottom: 0; -} -/* Padding Modifier - ========================================================================== */ -/* - * Large padding - */ -.uk-block-large { - padding-top: 20px; - padding-bottom: 20px; -} -/* Tablets and bigger */ -@media (min-width: 768px) { - .uk-block-large { - padding-top: 50px; - padding-bottom: 50px; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-block-large { - padding-top: 100px; - padding-bottom: 100px; - } -} -/* Color Modifier - ========================================================================== */ -/* - * Default - */ -.uk-block-default { - background: #ffffff; -} -/* - * Muted - */ -.uk-block-muted { - background: #f9f9f9; -} -/* - * Primary - */ -.uk-block-primary { - background: #00a8e6; -} -/* - * Secondary - */ -.uk-block-secondary { - background: #222222; -} -/* - * Adjust padding between equal colored blocks - */ -.uk-block-default + .uk-block-default, -.uk-block-muted + .uk-block-muted, -.uk-block-primary + .uk-block-primary, -.uk-block-secondary + .uk-block-secondary { - padding-top: 0; -} -/* ======================================================================== - Component: Article - ========================================================================== */ -/* - * Micro clearfix to make articles more robust - */ -.uk-article:before, -.uk-article:after { - content: ""; - display: table; -} -.uk-article:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-article > :last-child { - margin-bottom: 0; -} -/* - * Vertical gutter for articles - */ -.uk-article + .uk-article { - margin-top: 25px; -} -/* Sub-object `uk-article-title` - ========================================================================== */ -.uk-article-title { - font-size: 36px; - line-height: 42px; - font-weight: normal; - text-transform: none; -} -.uk-article-title a { - color: inherit; - text-decoration: none; -} -/* Sub-object `uk-article-meta` - ========================================================================== */ -.uk-article-meta { - font-size: 12px; - line-height: 18px; - color: #999999; -} -/* Sub-object `uk-article-lead` - ========================================================================== */ -.uk-article-lead { - color: #444444; - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Sub-object `uk-article-divider` - ========================================================================== */ -.uk-article-divider { - margin-bottom: 25px; - border-color: #dddddd; -} -* + .uk-article-divider { - margin-top: 25px; -} -.uk-article + .uk-article { - padding-top: 25px; - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Comment - ========================================================================== */ -/* Sub-object `uk-comment-header` - ========================================================================== */ -.uk-comment-header { - margin-bottom: 15px; - padding: 10px; - border: 1px solid #dddddd; - border-radius: 4px; - background: #fafafa; -} -/* - * Micro clearfix - */ -.uk-comment-header:before, -.uk-comment-header:after { - content: ""; - display: table; -} -.uk-comment-header:after { - clear: both; -} -/* Sub-object `uk-comment-avatar` - ========================================================================== */ -.uk-comment-avatar { - margin-right: 15px; - float: left; -} -/* Sub-object `uk-comment-title` - ========================================================================== */ -.uk-comment-title { - margin: 5px 0 0 0; - font-size: 16px; - line-height: 22px; -} -/* Sub-object `uk-comment-meta` - ========================================================================== */ -.uk-comment-meta { - margin: 2px 0 0 0; - font-size: 11px; - line-height: 16px; - color: #999999; -} -/* Sub-object `uk-comment-body` - ========================================================================== */ -.uk-comment-body { - padding-left: 10px; - padding-right: 10px; -} -/* - * Remove margin from the last-child - */ -.uk-comment-body > :last-child { - margin-bottom: 0; -} -/* Sub-object `uk-comment-list` - ========================================================================== */ -.uk-comment-list { - padding: 0; - list-style: none; -} -.uk-comment-list .uk-comment + ul { - margin: 25px 0 0 0; - list-style: none; -} -.uk-comment-list > li:nth-child(n+2), -.uk-comment-list .uk-comment + ul > li:nth-child(n+2) { - margin-top: 25px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-comment-list .uk-comment + ul { - padding-left: 100px; - } -} -/* Modifier `uk-comment-primary` - ========================================================================== */ -.uk-comment-primary .uk-comment-header { - border-color: rgba(45, 112, 145, 0.3); - background-color: #ebf7fd; - color: #2d7091; - text-shadow: 0 1px 0 #ffffff; -} -/* ======================================================================== - Component: Cover - ========================================================================== */ -/* - * Background image always covers and centers its element - */ -.uk-cover-background { - background-position: 50% 50%; - background-size: cover; - background-repeat: no-repeat; -} -/* - * Emulates image cover, works with video and image elements - * 1. Parent container which clips resized object - * 2. Resizes the object to always covers its container - * 3. Reset the responsive image CSS - * 4. Center object - */ -/* 1 */ -.uk-cover { - overflow: hidden; -} -.uk-cover-object { - /* 2 */ - width: auto; - height: auto; - min-width: 100%; - min-height: 100%; - /* 3 */ - max-width: none; - /* 4 */ - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* - * To center iframes use `data-uk-cover` JavaScript - */ -[data-uk-cover] { - position: relative; - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); -} -/* ======================================================================== - Component: Nav - ========================================================================== */ -.uk-nav, -.uk-nav ul { - margin: 0; - padding: 0; - list-style: none; -} -/* - * Items - */ -.uk-nav li > a { - display: block; - text-decoration: none; -} -.uk-nav > li > a { - padding: 5px 15px; -} -/* - * Nested items - */ -.uk-nav ul { - padding-left: 15px; -} -.uk-nav ul a { - padding: 2px 0; -} -/* - * Item subtitle - */ -.uk-nav li > a > div { - font-size: 12px; - line-height: 18px; -} -/* Sub-object: `uk-nav-header` - ========================================================================== */ -.uk-nav-header { - padding: 5px 15px; - text-transform: uppercase; - font-weight: bold; - font-size: 12px; -} -.uk-nav-header:not(:first-child) { - margin-top: 15px; -} -/* Sub-object: `uk-nav-divider` - ========================================================================== */ -.uk-nav-divider { - margin: 9px 15px; -} -/* Sub-object: `uk-nav-sub` - ========================================================================== */ -/* - * `ul` needed for higher specificity to override padding - */ -ul.uk-nav-sub { - padding: 5px 0 5px 15px; -} -/* Modifier: `uk-nav-parent-icon` - ========================================================================== */ -.uk-nav-parent-icon > .uk-parent > a:after { - content: "\f104"; - width: 20px; - margin-right: -10px; - float: right; - font-family: FontAwesome; - text-align: center; -} -.uk-nav-parent-icon > .uk-parent.uk-open > a:after { - content: "\f107"; -} -/* Modifier `uk-nav-side` - ========================================================================== */ -/* - * Items - */ -.uk-nav-side > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-side > li > a:hover, -.uk-nav-side > li > a:focus { - background: rgba(0, 0, 0, 0.03); - color: #444444; - /* 2 */ - outline: none; - box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1); - text-shadow: 0 -1px 0 #ffffff; -} -/* Active */ -.uk-nav-side > li.uk-active > a { - background: #009dd8; - color: #ffffff; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-side .uk-nav-header { - color: #444444; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-side .uk-nav-divider { - border-top: 1px solid #dddddd; - box-shadow: 0 1px 0 #ffffff; -} -/* - * Nested items - */ -.uk-nav-side ul a { - color: #0077dd; -} -.uk-nav-side ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-dropdown` - ========================================================================== */ -/* - * Items - */ -.uk-nav-dropdown > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-dropdown > li > a:hover, -.uk-nav-dropdown > li > a:focus { - background: #009dd8; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-dropdown .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-dropdown .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-dropdown ul a { - color: #0077dd; -} -.uk-nav-dropdown ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-navbar` - ========================================================================== */ -/* - * Items - */ -.uk-nav-navbar > li > a { - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-navbar > li > a:hover, -.uk-nav-navbar > li > a:focus { - background: #009dd8; - color: #ffffff; - /* 2 */ - outline: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-navbar .uk-nav-header { - color: #999999; -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-navbar .uk-nav-divider { - border-top: 1px solid #dddddd; -} -/* - * Nested items - */ -.uk-nav-navbar ul a { - color: #0077dd; -} -.uk-nav-navbar ul a:hover { - color: #005599; -} -/* Modifier `uk-nav-offcanvas` - ========================================================================== */ -/* - * Items - */ -.uk-nav-offcanvas > li > a { - color: #cccccc; - padding: 10px 15px; - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Hover - * No hover on touch devices because it behaves buggy in fixed offcanvas - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-nav-offcanvas > .uk-open > a, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, -html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { - background: #404040; - color: #ffffff; - /* 2 */ - outline: none; -} -/* - * Active - * `html .uk-nav` needed for higher specificity to override hover - */ -html .uk-nav.uk-nav-offcanvas > li.uk-active > a { - background: #1a1a1a; - color: #ffffff; - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Sub-object: `uk-nav-header` - */ -.uk-nav-offcanvas .uk-nav-header { - color: #777777; - margin-top: 0; - border-top: 1px solid rgba(0, 0, 0, 0.3); - background: #404040; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -/* - * Sub-object: `uk-nav-divider` - */ -.uk-nav-offcanvas .uk-nav-divider { - border-top: 1px solid rgba(255, 255, 255, 0.01); - margin: 0; - height: 4px; - background: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); -} -/* - * Nested items - * No hover on touch devices because it behaves buggy in fixed offcanvas - */ -.uk-nav-offcanvas ul a { - color: #cccccc; -} -html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { - color: #ffffff; -} -/* - * Modifier `uk-nav-offcanvas` - */ -.uk-nav-offcanvas { - border-bottom: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* - * Sub-object: `uk-nav-sub` - */ -.uk-nav-offcanvas .uk-nav-sub { - border-top: 1px solid rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); -} -/* ======================================================================== - Component: Navbar - ========================================================================== */ -.uk-navbar { - background: #f7f7f7; - color: #444444; - border: 1px solid rgba(0, 0, 0, 0.1); - border-bottom-color: rgba(0, 0, 0, 0.3); - border-radius: 4px; - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); -} -/* - * Micro clearfix - */ -.uk-navbar:before, -.uk-navbar:after { - content: ""; - display: table; -} -.uk-navbar:after { - clear: both; -} -/* Sub-object: `uk-navbar-nav` - ========================================================================== */ -.uk-navbar-nav { - margin: 0; - padding: 0; - list-style: none; - float: left; -} -/* - * 1. Create position context for dropdowns - */ -.uk-navbar-nav > li { - float: left; - /* 1 */ - position: relative; -} -/* - * 1. Dimensions - * 2. Style - */ -.uk-navbar-nav > li > a { - display: block; - -moz-box-sizing: border-box; - box-sizing: border-box; - text-decoration: none; - /* 1 */ - height: 41px; - padding: 0 15px; - line-height: 40px; - /* 2 */ - color: #444444; - font-size: 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: normal; - margin-top: -1px; - margin-left: -1px; - border: 1px solid transparent; - border-bottom-width: 0; - text-shadow: 0 1px 0 #ffffff; -} -/* Appear not as link */ -.uk-navbar-nav > li > a[href='#'] { - cursor: text; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-navbar-nav > li:hover > a, -.uk-navbar-nav > li > a:focus, -.uk-navbar-nav > li.uk-open > a { - background-color: transparent; - color: #444444; - /* 3 */ - outline: none; - position: relative; - z-index: 1; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.1); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* OnClick */ -.uk-navbar-nav > li > a:active { - background-color: #f5f5f5; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Active */ -.uk-navbar-nav > li.uk-active > a { - background-color: #fafafa; - color: #444444; - border-left-color: rgba(0, 0, 0, 0.1); - border-right-color: rgba(0, 0, 0, 0.1); - border-top-color: rgba(0, 0, 0, 0.2); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Sub-objects: `uk-navbar-nav-subtitle` - ========================================================================== */ -.uk-navbar-nav .uk-navbar-nav-subtitle { - line-height: 28px; -} -.uk-navbar-nav-subtitle > div { - margin-top: -6px; - font-size: 10px; - line-height: 12px; -} -/* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` - ========================================================================== */ -/* - * Imitate navbar items - */ -.uk-navbar-content, -.uk-navbar-brand, -.uk-navbar-toggle { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: block; - height: 41px; - padding: 0 15px; - float: left; - margin-top: -1px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Helper to center all child elements vertically - */ -.uk-navbar-content:before, -.uk-navbar-brand:before, -.uk-navbar-toggle:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* Sub-objects: `uk-navbar-content` - ========================================================================== */ -/* - * Better sibling spacing - */ -.uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { - padding-left: 0; -} -/* - * Link colors - */ -.uk-navbar-content > a:not([class]) { - color: #0077dd; -} -.uk-navbar-content > a:not([class]):hover { - color: #005599; -} -/* Sub-objects: `uk-navbar-brand` - ========================================================================== */ -.uk-navbar-brand { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-brand:hover, -.uk-navbar-brand:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* Sub-object: `uk-navbar-toggle` - ========================================================================== */ -.uk-navbar-toggle { - font-size: 18px; - color: #444444; - text-decoration: none; -} -/* - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-navbar-toggle:hover, -.uk-navbar-toggle:focus { - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; -} -/* - * 1. Center icon vertically - */ -.uk-navbar-toggle:after { - content: "\f0c9"; - font-family: FontAwesome; - /* 1 */ - vertical-align: middle; -} -.uk-navbar-toggle-alt:after { - content: "\f002"; -} -/* Sub-object: `uk-navbar-center` - ========================================================================== */ -/* - * The element with this class needs to be last child in the navbar - * 1. This hack is needed because other float elements shift centered text - */ -.uk-navbar-center { - float: none; - text-align: center; - /* 1 */ - max-width: 50%; - margin-left: auto; - margin-right: auto; -} -/* Sub-object: `uk-navbar-flip` - ========================================================================== */ -.uk-navbar-flip { - float: right; -} -/* - * Apply same `border-radius` as `uk-navbar` - */ -.uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-flip` - */ -/* Collapse border */ -.uk-navbar-flip .uk-navbar-nav > li > a { - margin-left: 0; - margin-right: -1px; -} -/* Apply same `border-radius` as `uk-navbar` */ -.uk-navbar-flip .uk-navbar-nav:first-child > li:first-child > a { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.uk-navbar-flip .uk-navbar-nav:last-child > li:last-child > a { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -/* - * Sub-modifier `uk-navbar-attached` - */ -.uk-navbar-attached { - border-top-color: transparent; - border-left-color: transparent; - border-right-color: transparent; - border-radius: 0; -} -.uk-navbar-attached .uk-navbar-nav > li > a { - border-radius: 0 !important; -} -/* ======================================================================== - Component: Subnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-subnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - * 3. Create position context for dropdowns - */ -.uk-subnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; - /* 3 */ - position: relative; -} -/* - * DEPRECATED IE9 Support - */ -.uk-subnav:before, -.uk-subnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-subnav:after { - clear: both; -} -.uk-subnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-subnav > * > * { - display: inline-block; - color: #444444; -} -/* - * Hover - * 1. Apply hover style also to focus state - */ -.uk-subnav > * > :hover, -.uk-subnav > * > :focus { - color: #0077dd; - text-decoration: none; -} -/* - * Active - */ -.uk-subnav > .uk-active > * { - color: #0077dd; -} -/* Modifier: 'subnav-line' - ========================================================================== */ -.uk-subnav-line > :before { - content: ""; - display: inline-block; - height: 10px; - vertical-align: middle; -} -.uk-subnav-line > :nth-child(n+2):before { - margin-right: 10px; - border-left: 1px solid #dddddd; -} -/* Modifier: 'subnav-pill' - ========================================================================== */ -.uk-subnav-pill > * > * { - padding: 3px 9px; - border-radius: 4px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-subnav-pill > * > :hover, -.uk-subnav-pill > * > :focus { - background: #fafafa; - color: #444444; - text-decoration: none; - /* 2 */ - outline: none; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); -} -/* - * Active - * `li` needed for higher specificity to override hover - */ -.uk-subnav-pill > .uk-active > * { - background: #009dd8; - color: #ffffff; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* Disabled state - ========================================================================== */ -.uk-subnav > .uk-disabled > * { - background: none; - color: #999999; - text-decoration: none; - cursor: text; - box-shadow: none; -} -/* ======================================================================== - Component: Breadcrumb - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Remove whitespace between child elements when using `inline-block` - */ -.uk-breadcrumb { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - font-size: 0.001px; -} -/* Items - ========================================================================== */ -/* - * Reset whitespace hack - */ -.uk-breadcrumb > li { - font-size: 1rem; - vertical-align: top; -} -.uk-breadcrumb > li, -.uk-breadcrumb > li > a, -.uk-breadcrumb > li > span { - display: inline-block; -} -.uk-breadcrumb > li:nth-child(n+2):before { - content: "/"; - display: inline-block; - margin: 0 8px; -} -/* - * Disabled - */ -.uk-breadcrumb > li:not(.uk-active) > span { - color: #999999; -} -/* ======================================================================== - Component: Pagination - ========================================================================== */ -/* - * 1. Remove default list style - * 2. Center pagination by default - * 3. Remove whitespace between child elements when using `inline-block` - */ -.uk-pagination { - /* 1 */ - padding: 0; - list-style: none; - /* 2 */ - text-align: center; - /* 3 */ - font-size: 0.001px; -} -/* - * Micro clearfix - * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used - */ -.uk-pagination:before, -.uk-pagination:after { - content: ""; - display: table; -} -.uk-pagination:after { - clear: both; -} -/* Items - ========================================================================== */ -/* - * 1. Reset whitespace hack - * 2. Remove the gap at the bottom of it container - */ -.uk-pagination > li { - display: inline-block; - /* 1 */ - font-size: 1rem; - /* 2 */ - vertical-align: top; -} -.uk-pagination > li:nth-child(n+2) { - margin-left: 5px; -} -/* - * 1. Makes pagination more robust against different box-sizing use - * 2. Reset text-align to center if alignment modifier is used - */ -.uk-pagination > li > a, -.uk-pagination > li > span { - display: inline-block; - min-width: 16px; - padding: 3px 5px; - line-height: 20px; - text-decoration: none; - /* 1 */ - -moz-box-sizing: content-box; - box-sizing: content-box; - /* 2 */ - text-align: center; - border-radius: 4px; -} -/* - * Links - */ -.uk-pagination > li > a { - background: #f7f7f7; - color: #444444; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-pagination > li > a:hover, -.uk-pagination > li > a:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - background-image: none; -} -/* OnClick */ -.uk-pagination > li > a:active { - background-color: #f5f5f5; - color: #444444; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.3); - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* - * Active - */ -.uk-pagination > .uk-active > span { - background: #009dd8; - color: #ffffff; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Disabled - */ -.uk-pagination > .uk-disabled > span { - background-color: #fafafa; - color: #999999; - border: 1px solid rgba(0, 0, 0, 0.2); - text-shadow: 0 1px 0 #ffffff; -} -/* Previous and next navigation - ========================================================================== */ -.uk-pagination-previous { - float: left; -} -.uk-pagination-next { - float: right; -} -/* Alignment modifiers - ========================================================================== */ -.uk-pagination-left { - text-align: left; -} -.uk-pagination-right { - text-align: right; -} -/* ======================================================================== - Component: Tab - ========================================================================== */ -.uk-tab { - margin: 0; - padding: 0; - list-style: none; - border-bottom: 1px solid #dddddd; -} -/* - * Micro clearfix on the deepest container - */ -.uk-tab:before, -.uk-tab:after { - content: ""; - display: table; -} -.uk-tab:after { - clear: both; -} -/* - * Items - * 1. Create position context for dropdowns - */ -.uk-tab > li { - margin-bottom: -1px; - float: left; - /* 1 */ - position: relative; -} -.uk-tab > li > a { - display: block; - padding: 8px 12px 8px 12px; - border: 1px solid transparent; - border-bottom-width: 0; - color: #0077dd; - text-decoration: none; - border-radius: 4px 4px 0 0; - text-shadow: 0 1px 0 #ffffff; -} -.uk-tab > li:nth-child(n+2) > a { - margin-left: 5px; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Also apply if dropdown is opened - * 3. Remove default focus style - */ -.uk-tab > li > a:hover, -.uk-tab > li > a:focus, -.uk-tab > li.uk-open > a { - border-color: #dddddd; - background: #fafafa; - color: #005599; - /* 2 */ - outline: none; -} -.uk-tab > li:not(.uk-active) > a:hover, -.uk-tab > li:not(.uk-active) > a:focus, -.uk-tab > li.uk-open:not(.uk-active) > a { - margin-bottom: 1px; - padding-bottom: 7px; -} -/* Active */ -.uk-tab > li.uk-active > a { - border-color: #dddddd; - border-bottom-color: transparent; - background: #ffffff; - color: #444444; -} -/* Disabled */ -.uk-tab > li.uk-disabled > a { - color: #999999; - cursor: text; -} -.uk-tab > li.uk-disabled > a:hover, -.uk-tab > li.uk-disabled > a:focus, -.uk-tab > li.uk-disabled.uk-active > a { - background: none; - border-color: transparent; -} -/* Modifier: 'tab-flip' - ========================================================================== */ -.uk-tab-flip > li { - float: right; -} -.uk-tab-flip > li:nth-child(n+2) > a { - margin-left: 0; - margin-right: 5px; -} -/* Modifier: 'tab-responsive' - ========================================================================== */ -.uk-tab > li.uk-tab-responsive > a { - margin-left: 0; - margin-right: 0; -} -/* - * Icon - */ -.uk-tab-responsive > a:before { - content: "\f0c9\00a0"; - font-family: FontAwesome; -} -/* Modifier: 'tab-center' - ========================================================================== */ -.uk-tab-center { - border-bottom: 1px solid #dddddd; -} -.uk-tab-center-bottom { - border-bottom: none; - border-top: 1px solid #dddddd; -} -.uk-tab-center:before, -.uk-tab-center:after { - content: ""; - display: table; -} -.uk-tab-center:after { - clear: both; -} -/* - * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs - */ -.uk-tab-center .uk-tab { - position: relative; - right: 50%; - border: none; - float: right; -} -.uk-tab-center .uk-tab > li { - position: relative; - right: -50%; -} -.uk-tab-center .uk-tab > li > a { - text-align: center; -} -/* Modifier: 'tab-bottom' - ========================================================================== */ -.uk-tab-bottom { - border-top: 1px solid #dddddd; - border-bottom: none; -} -.uk-tab-bottom > li { - margin-top: -1px; - margin-bottom: 0; -} -.uk-tab-bottom > li > a { - padding-top: 8px; - padding-bottom: 8px; - border-bottom-width: 1px; - border-top-width: 0; -} -.uk-tab-bottom > li:not(.uk-active) > a:hover, -.uk-tab-bottom > li:not(.uk-active) > a:focus, -.uk-tab-bottom > li.uk-open:not(.uk-active) > a { - margin-bottom: 0; - margin-top: 1px; - padding-bottom: 8px; - padding-top: 7px; -} -.uk-tab-bottom > li.uk-active > a { - border-top-color: transparent; - border-bottom-color: #dddddd; -} -/* Modifier: 'tab-grid' - ========================================================================== */ -/* - * 1. Create position context to prevent hidden border because of negative `z-index` - */ -.uk-tab-grid { - margin-left: -5px; - border-bottom: none; - /* 1 */ - position: relative; - z-index: 0; -} -.uk-tab-grid:before { - display: block; - position: absolute; - left: 5px; - right: 0; - bottom: -1px; - border-top: 1px solid #dddddd; - /* 1 */ - z-index: -1; -} -.uk-tab-grid > li:first-child > a { - margin-left: 5px; -} -.uk-tab-grid > li > a { - text-align: center; -} -/* - * If `uk-tab-bottom` - */ -.uk-tab-grid.uk-tab-bottom { - border-top: none; -} -.uk-tab-grid.uk-tab-bottom:before { - top: -1px; - bottom: auto; -} -/* Modifier: 'tab-left', 'tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-tab-left, - .uk-tab-right { - border-bottom: none; - } - .uk-tab-left > li, - .uk-tab-right > li { - margin-bottom: 0; - float: none; - } - .uk-tab-left > li > a, - .uk-tab-right > li > a { - padding-top: 8px; - padding-bottom: 8px; - } - .uk-tab-left > li:nth-child(n+2) > a, - .uk-tab-right > li:nth-child(n+2) > a { - margin-left: 0; - margin-top: 5px; - } - .uk-tab-left > li.uk-active > a, - .uk-tab-right > li.uk-active > a { - border-color: #dddddd; - } - /* - * Modifier: 'tab-left' - */ - .uk-tab-left { - border-right: 1px solid #dddddd; - } - .uk-tab-left > li { - margin-right: -1px; - } - .uk-tab-left > li > a { - border-bottom-width: 1px; - border-right-width: 0; - } - .uk-tab-left > li:not(.uk-active) > a:hover, - .uk-tab-left > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-right: 1px; - padding-bottom: 8px; - padding-right: 11px; - } - .uk-tab-left > li.uk-active > a { - border-right-color: transparent; - } - /* - * Modifier: 'tab-right' - */ - .uk-tab-right { - border-left: 1px solid #dddddd; - } - .uk-tab-right > li { - margin-left: -1px; - } - .uk-tab-right > li > a { - border-bottom-width: 1px; - border-left-width: 0; - } - .uk-tab-right > li:not(.uk-active) > a:hover, - .uk-tab-right > li:not(.uk-active) > a:focus { - margin-bottom: 0; - margin-left: 1px; - padding-bottom: 8px; - padding-left: 11px; - } - .uk-tab-right > li.uk-active > a { - border-left-color: transparent; - } -} -/* Modifier: `uk-tab-bottom' - ========================================================================== */ -.uk-tab-bottom > li > a { - border-radius: 0 0 4px 4px; -} -/* Modifier: `uk-tab-left', `uk-tab-right' - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Modifier: `uk-tab-left' - */ - .uk-tab-left > li > a { - border-radius: 4px 0 0 4px; - } - /* - * Modifier: `uk-tab-right' - */ - .uk-tab-right > li > a { - border-radius: 0 4px 4px 0; - } -} -/* ======================================================================== - Component: Thumbnav - ========================================================================== */ -/* - * 1. Gutter - * 2. Remove default list style - */ -.uk-thumbnav { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; - /* 1 */ - margin-left: -10px; - margin-top: -10px; - /* 2 */ - padding: 0; - list-style: none; -} -/* - * 1. Space is allocated solely based on content dimensions - * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied - */ -.uk-thumbnav > * { - /* 1 */ - -ms-flex: none; - -webkit-flex: none; - flex: none; - /* 2 */ - padding-left: 10px; - margin-top: 10px; -} -/* - * DEPRECATED IE9 Support - */ -.uk-thumbnav:before, -.uk-thumbnav:after { - content: ""; - display: block; - overflow: hidden; -} -.uk-thumbnav:after { - clear: both; -} -.uk-thumbnav > * { - float: left; -} -/* Items - ========================================================================== */ -.uk-thumbnav > * > * { - display: block; - background: #ffffff; -} -.uk-thumbnav > * > * > img { - opacity: 0.7; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -/* - * Hover - */ -.uk-thumbnav > * > :hover > img, -.uk-thumbnav > * > :focus > img { - opacity: 1; -} -/* - * Active - */ -.uk-thumbnav > .uk-active > * > img { - opacity: 1; -} -/* ======================================================================== - Component: List - ========================================================================== */ -.uk-list { - padding: 0; - list-style: none; -} -/* - * Micro clearfix to make list more robust - */ -.uk-list > li:before, -.uk-list > li:after { - content: ""; - display: table; -} -.uk-list > li:after { - clear: both; -} -/* - * Remove margin from the last-child - */ -.uk-list > li > :last-child { - margin-bottom: 0; -} -/* - * Nested lists - */ -.uk-list ul { - margin: 0; - padding-left: 20px; - list-style: none; -} -/* Modifier: `uk-list-line` - ========================================================================== */ -.uk-list-line > li:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -/* Modifier: `uk-list-striped` - ========================================================================== */ -.uk-list-striped > li { - padding: 5px 5px; - border-bottom: 1px solid #dddddd; -} -.uk-list-striped > li:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-list-space` - ========================================================================== */ -.uk-list-space > li:nth-child(n+2) { - margin-top: 10px; -} -.uk-list-striped > li:first-child { - border-top: 1px solid #dddddd; -} -/* ======================================================================== - Component: Description list - ========================================================================== */ -/* Modifier: `uk-description-list-horizontal` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-description-list-horizontal { - overflow: hidden; - } - .uk-description-list-horizontal > dt { - width: 160px; - float: left; - clear: both; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .uk-description-list-horizontal > dd { - margin-left: 180px; - } -} -/* Modifier: `uk-description-list-line` - ========================================================================== */ -.uk-description-list-line > dt { - font-weight: normal; -} -.uk-description-list-line > dt:nth-child(n+2) { - margin-top: 5px; - padding-top: 5px; - border-top: 1px solid #dddddd; -} -.uk-description-list-line > dd { - color: #999999; -} -/* ======================================================================== - Component: Table - ========================================================================== */ -/* - * 1. Remove most spacing between table cells. - * 2. Block element behavior - * 3. Style - */ -.uk-table { - /* 1 */ - border-collapse: collapse; - border-spacing: 0; - /* 2 */ - width: 100%; - /* 3 */ - margin-bottom: 15px; -} -/* - * Add margin if adjacent element - */ -* + .uk-table { - margin-top: 15px; -} -.uk-table th, -.uk-table td { - padding: 8px 8px; - border-bottom: 1px solid #dddddd; -} -/* - * Set alignment - */ -.uk-table th { - text-align: left; -} -.uk-table td { - vertical-align: top; -} -.uk-table thead th { - vertical-align: bottom; -} -/* - * Caption and footer - */ -.uk-table caption, -.uk-table tfoot { - font-size: 12px; - font-style: italic; -} -.uk-table caption { - text-align: left; - color: #999999; -} -/* - * Active State - */ -.uk-table tbody tr.uk-active { - background: #f0f0f0; -} -/* Sub-modifier: `uk-table-middle` - ========================================================================== */ -.uk-table-middle, -.uk-table-middle td { - vertical-align: middle !important; -} -/* Modifier: `uk-table-striped` - ========================================================================== */ -.uk-table-striped tbody tr:nth-of-type(odd) { - background: #fafafa; -} -/* Modifier: `uk-table-condensed` - ========================================================================== */ -.uk-table-condensed td { - padding: 4px 8px; -} -/* Modifier: `uk-table-hover` - ========================================================================== */ -.uk-table-hover tbody tr:hover { - background: #f0f0f0; -} -/* ======================================================================== - Component: Form - ========================================================================== */ -/* - * 1. Define consistent box sizing. - * Default is `content-box` with following exceptions set to `border-box` - * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` - * `input[type="search"]` in Chrome, Safari and Opera - * `input[type="color"]` in Firefox - * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. - * 3. Remove `border-radius` in iOS. - * 4. Correct `font` properties and `color` not being inherited. - */ -.uk-form input, -.uk-form select, -.uk-form textarea { - /* 1 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 2 */ - margin: 0; - /* 3 */ - border-radius: 0; - /* 4 */ - font: inherit; - color: inherit; -} -/* - * Address inconsistent `text-transform` inheritance which is only inherit in Firefox - */ -.uk-form select { - text-transform: none; -} -/* - * 1. Correct `font` properties not being inherited. - * 2. Don't inherit the `font-weight` and use `bold` instead. - * NOTE: Both declarations don't work in Chrome, Safari and Opera. - */ -.uk-form optgroup { - /* 1 */ - font: inherit; - /* 2 */ - font-weight: bold; -} -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-form input::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * Removes excess padding in IE 8/9/10. - */ -.uk-form input[type="checkbox"], -.uk-form input[type="radio"] { - padding: 0; -} -/* - * Improves consistency of cursor style for clickable elements - */ -.uk-form input[type="checkbox"]:not(:disabled), -.uk-form input[type="radio"]:not(:disabled) { - cursor: pointer; -} -/* - * Remove default style in iOS. - */ -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="number"], -.uk-form input[type="datetime"] { - -webkit-appearance: none; -} -/* - * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. - */ -.uk-form input[type="search"]::-webkit-search-cancel-button, -.uk-form input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -/* - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ -.uk-form input[type="number"]::-webkit-inner-spin-button, -.uk-form input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -/* - * Define consistent border, margin, and padding. - */ -.uk-form fieldset { - border: none; - margin: 0; - padding: 0; -} -/* - * 1. Remove default vertical scrollbar in IE 8/9/10/11. - * 2. Improve readability and alignment in all browsers. - */ -.uk-form textarea { - /* 1 */ - overflow: auto; - /* 2 */ - vertical-align: top; -} -/* - * Removes placeholder transparency in Firefox. - */ -.uk-form ::-moz-placeholder { - opacity: 1; -} -/* - * Removes `box-shadow` for invalid controls in Firefox. - */ -.uk-form :invalid { - box-shadow: none; -} -/* - * Vertical alignment - */ -.uk-form input:not([type="radio"]):not([type="checkbox"]), -.uk-form select { - vertical-align: middle; -} -/* Style - ========================================================================== */ -/* - * Remove margin from the last-child - */ -.uk-form > :last-child { - margin-bottom: 0; -} -/* - * Controls - * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` - * 1. Must be `height` because `min-height` is not working in OSX - * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports - * 3. Vertical `padding` needed for `select` elements in Firefox - * 4. Style - */ -.uk-form select, -.uk-form textarea, -.uk-form input:not([type]), -.uk-form input[type="text"], -.uk-form input[type="password"], -.uk-form input[type="datetime"], -.uk-form input[type="datetime-local"], -.uk-form input[type="date"], -.uk-form input[type="month"], -.uk-form input[type="time"], -.uk-form input[type="week"], -.uk-form input[type="number"], -.uk-form input[type="email"], -.uk-form input[type="url"], -.uk-form input[type="search"], -.uk-form input[type="tel"], -.uk-form input[type="color"] { - /* 1 */ - height: 30px; - /* 2 */ - max-width: 100%; - /* 3 */ - padding: 4px 6px; - /* 4 */ - border: 1px solid #dddddd; - background: #ffffff; - color: #444444; - -webkit-transition: all linear 0.2s; - transition: all linear 0.2s; - border-radius: 4px; -} -.uk-form select:focus, -.uk-form textarea:focus, -.uk-form input:not([type]):focus, -.uk-form input[type="text"]:focus, -.uk-form input[type="password"]:focus, -.uk-form input[type="datetime"]:focus, -.uk-form input[type="datetime-local"]:focus, -.uk-form input[type="date"]:focus, -.uk-form input[type="month"]:focus, -.uk-form input[type="time"]:focus, -.uk-form input[type="week"]:focus, -.uk-form input[type="number"]:focus, -.uk-form input[type="email"]:focus, -.uk-form input[type="url"]:focus, -.uk-form input[type="search"]:focus, -.uk-form input[type="tel"]:focus, -.uk-form input[type="color"]:focus { - border-color: #99baca; - outline: 0; - background: #f5fbfe; - color: #444444; -} -.uk-form select:disabled, -.uk-form textarea:disabled, -.uk-form input:not([type]):disabled, -.uk-form input[type="text"]:disabled, -.uk-form input[type="password"]:disabled, -.uk-form input[type="datetime"]:disabled, -.uk-form input[type="datetime-local"]:disabled, -.uk-form input[type="date"]:disabled, -.uk-form input[type="month"]:disabled, -.uk-form input[type="time"]:disabled, -.uk-form input[type="week"]:disabled, -.uk-form input[type="number"]:disabled, -.uk-form input[type="email"]:disabled, -.uk-form input[type="url"]:disabled, -.uk-form input[type="search"]:disabled, -.uk-form input[type="tel"]:disabled, -.uk-form input[type="color"]:disabled { - border-color: #dddddd; - background-color: #fafafa; - color: #999999; -} -/* - * Placeholder - */ -.uk-form :-ms-input-placeholder { - color: #999999 !important; -} -.uk-form ::-moz-placeholder { - color: #999999; -} -.uk-form ::-webkit-input-placeholder { - color: #999999; -} -.uk-form :disabled:-ms-input-placeholder { - color: #999999 !important; -} -.uk-form :disabled::-moz-placeholder { - color: #999999; -} -.uk-form :disabled::-webkit-input-placeholder { - color: #999999; -} -/* - * Legend - * 1. Behave like block element - * 2. Correct `color` not being inherited in IE 8/9/10/11. - * 3. Remove padding - * 4. `margin-bottom` is not working in Safari and Opera. - * Using `padding` and :after instead to create the border - * 5. Style - */ -.uk-form legend { - /* 1 */ - width: 100%; - /* 2 */ - border: 0; - /* 3 */ - padding: 0; - /* 4 */ - padding-bottom: 15px; - /* 5 */ - font-size: 18px; - line-height: 30px; -} -/* - * 1. Fixes IE9 - */ -.uk-form legend:after { - content: ""; - display: block; - border-bottom: 1px solid #dddddd; - /* 1 */ - width: 100%; -} -/* Size modifiers - * Higher specificity needed to override defaults - ========================================================================== */ -select.uk-form-small, -textarea.uk-form-small, -input[type].uk-form-small, -input:not([type]).uk-form-small { - height: 25px; - padding: 3px 3px; - font-size: 12px; -} -select.uk-form-large, -textarea.uk-form-large, -input[type].uk-form-large, -input:not([type]).uk-form-large { - height: 40px; - padding: 8px 6px; - font-size: 16px; -} -/* Reset height - * Must be after size modifiers - ========================================================================== */ -.uk-form textarea, -.uk-form select[multiple], -.uk-form select[size] { - height: auto; -} -/* Validation states - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Error state - */ -.uk-form-danger { - border-color: #dc8d99 !important; - background: #fff7f8 !important; - color: #d85030 !important; -} -/* - * Success state - */ -.uk-form-success { - border-color: #8ec73b !important; - background: #fafff2 !important; - color: #659f13 !important; -} -/* Style modifiers - * Using !important to keep the selector simple - ========================================================================== */ -/* - * Blank form - */ -.uk-form-blank { - border-color: transparent !important; - border-style: dashed !important; - background: none !important; -} -.uk-form-blank:focus { - border-color: #dddddd !important; -} -/* Size sub-modifiers - ========================================================================== */ -/* - * Fixed widths - * Different widths for mini sized `input` and `select` elements - */ -input.uk-form-width-mini { - width: 40px; -} -select.uk-form-width-mini { - width: 65px; -} -.uk-form-width-small { - width: 130px; -} -.uk-form-width-medium { - width: 200px; -} -.uk-form-width-large { - width: 500px; -} -/* Sub-objects: `uk-form-row` - * Groups labels and controls in rows - ========================================================================== */ -/* - * Micro clearfix - * Needed for `uk-form-horizontal` modifier - */ -.uk-form-row:before, -.uk-form-row:after { - content: ""; - display: table; -} -.uk-form-row:after { - clear: both; -} -/* - * Vertical gutter - */ -.uk-form-row + .uk-form-row { - margin-top: 15px; -} -/* Help text - * Sub-object: `uk-form-help-inline`, `uk-form-help-block` - ========================================================================== */ -.uk-form-help-inline { - display: inline-block; - margin: 0 0 0 10px; -} -.uk-form-help-block { - margin: 5px 0 0 0; -} -/* Controls content - * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` - ========================================================================== */ -/* - * Remove margins - */ -.uk-form-controls > :first-child { - margin-top: 0; -} -.uk-form-controls > :last-child { - margin-bottom: 0; -} -/* - * Group controls and text into blocks with a small spacing between blocks - */ -.uk-form-controls-condensed { - margin: 5px 0; -} -/* Modifier: `uk-form-stacked` - * Requires sub-object: `uk-form-label` - ========================================================================== */ -.uk-form-stacked .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; -} -/* Modifier: `uk-form-horizontal` - * Requires sub-objects: `uk-form-label`, `uk-form-controls` - ========================================================================== */ -/* Tablet portrait and smaller */ -@media (max-width: 959px) { - /* Behave like `uk-form-stacked` */ - .uk-form-horizontal .uk-form-label { - display: block; - margin-bottom: 5px; - font-weight: bold; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-form-horizontal .uk-form-label { - width: 200px; - margin-top: 5px; - float: left; - } - .uk-form-horizontal .uk-form-controls { - margin-left: 215px; - } - /* Better vertical alignment if controls are checkboxes and radio buttons with text */ - .uk-form-horizontal .uk-form-controls-text { - padding-top: 5px; - } -} -/* Sub-object: `uk-form-icon` - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Prevent `inline-block` consequences - */ -.uk-form-icon { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; -} -/* - * 1. Make form element clickable through icon - */ -.uk-form-icon > [class*='uk-icon-'] { - position: absolute; - top: 50%; - width: 30px; - margin-top: -7px; - font-size: 14px; - color: #999999; - text-align: center; - /* 1 */ - pointer-events: none; -} -.uk-form-icon:not(.uk-form-icon-flip) > input { - padding-left: 30px !important; -} -/* - * Sub-modifier: `uk-form-icon-flip` - */ -.uk-form-icon-flip > [class*='uk-icon-'] { - right: 0; -} -.uk-form-icon-flip > input { - padding-right: 30px !important; -} -/* ======================================================================== - Component: Button - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-button::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Style - * 8. `line-height` is used to create a height - * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. - * 10. Reset button group whitespace hack - * 11. Required for `a`. - */ -.uk-button { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: #444444; - /* 6 */ - text-transform: none; - /* 7 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0 12px; - background: #f7f7f7; - vertical-align: middle; - /* 8 */ - line-height: 28px; - /* 9 */ - min-height: 30px; - /* 10 */ - font-size: 1rem; - /* 11 */ - text-decoration: none; - text-align: center; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -.uk-button:not(:disabled) { - cursor: pointer; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-button:hover, -.uk-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - /* 3 */ - text-decoration: none; - background-image: none; -} -/* Active */ -.uk-button:active, -.uk-button.uk-active { - background-color: #f5f5f5; - color: #444444; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.3); - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Color modifiers - ========================================================================== */ -/* - * Modifier: `uk-button-primary` - */ -.uk-button-primary { - background-color: #009dd8; - color: #ffffff; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Hover */ -.uk-button-primary:hover, -.uk-button-primary:focus { - background-color: #00aff2; - color: #ffffff; - background-image: none; -} -/* Active */ -.uk-button-primary:active, -.uk-button-primary.uk-active { - background-color: #008abf; - color: #ffffff; - background-image: none; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.4); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* - * Modifier: `uk-button-success` - */ -.uk-button-success { - background-color: #82bb42; - color: #ffffff; - background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); - background-image: linear-gradient(to bottom, #9fd256, #6fac34); - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Hover */ -.uk-button-success:hover, -.uk-button-success:focus { - background-color: #8fce48; - color: #ffffff; - background-image: none; -} -/* Active */ -.uk-button-success:active, -.uk-button-success.uk-active { - background-color: #76b430; - color: #ffffff; - background-image: none; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.4); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* - * Modifier: `uk-button-danger` - */ -.uk-button-danger { - background-color: #d32c46; - color: #ffffff; - background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); - background-image: linear-gradient(to bottom, #ee465a, #c11a39); - border-color: rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.4); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* Hover */ -.uk-button-danger:hover, -.uk-button-danger:focus { - background-color: #e33551; - color: #ffffff; - background-image: none; -} -/* Active */ -.uk-button-danger:active, -.uk-button-danger.uk-active { - background-color: #c91c37; - color: #ffffff; - background-image: none; - border-color: rgba(0, 0, 0, 0.2); - border-top-color: rgba(0, 0, 0, 0.4); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); -} -/* Disabled state - * Overrides also the color modifiers - ========================================================================== */ -/* Equal for all button types */ -.uk-button:disabled { - background-color: #fafafa; - color: #999999; - border-color: rgba(0, 0, 0, 0.2); - background-image: none; - box-shadow: none; - text-shadow: 0 1px 0 #ffffff; -} -/* Modifier: `uk-button-link` - ========================================================================== */ -/* Reset */ -.uk-button-link, -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active, -.uk-button-link:disabled { - border-color: transparent; - background: none; - box-shadow: none; - text-shadow: none; -} -/* Color */ -.uk-button-link { - color: #0077dd; -} -.uk-button-link:hover, -.uk-button-link:focus, -.uk-button-link:active, -.uk-button-link.uk-active { - color: #005599; - text-decoration: underline; -} -.uk-button-link:disabled { - color: #999999; -} -/* Focus */ -.uk-button-link:focus { - outline: 1px dotted; -} -/* Size modifiers - ========================================================================== */ -.uk-button-mini { - min-height: 20px; - padding: 0 6px; - line-height: 18px; - font-size: 11px; -} -.uk-button-small { - min-height: 25px; - padding: 0 10px; - line-height: 23px; - font-size: 12px; -} -.uk-button-large { - min-height: 40px; - padding: 0 15px; - line-height: 38px; - font-size: 16px; - border-radius: 5px; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - * 3. Remove whitespace between child elements when using `inline-block` - * 4. Prevent buttons from wrapping - * 5. Remove whitespace between child elements when using `inline-block` - */ -.uk-button-group { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; - /* 3 */ - font-size: 0.001px; - /* 4 */ - white-space: nowrap; -} -.uk-button-group > * { - display: inline-block; -} -/* 5 */ -.uk-button-group .uk-button { - vertical-align: top; -} -/* Sub-object: `uk-button-dropdown` - ========================================================================== */ -/* - * 1. Behave like buttons - * 2. Create position context for dropdowns - */ -.uk-button-dropdown { - /* 1 */ - display: inline-block; - vertical-align: middle; - /* 2 */ - position: relative; -} -/* Sub-object `uk-button-group` - ========================================================================== */ -/* - * Reset border-radius - */ -.uk-button-group > .uk-button:not(:first-child):not(:last-child), -.uk-button-group > div:not(:first-child):not(:last-child) .uk-button { - border-radius: 0; -} -.uk-button-group > .uk-button:first-child, -.uk-button-group > div:first-child .uk-button { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.uk-button-group > .uk-button:last-child, -.uk-button-group > div:last-child .uk-button { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -/* - * Collapse border - */ -.uk-button-group > .uk-button:nth-child(n+2), -.uk-button-group > div:nth-child(n+2) .uk-button { - margin-left: -1px; -} -/* - * Create position context to superimpose the successor elements border - * Known issue: If you use an `a` element as button and an icon inside, - * the active state will not work if you click the icon inside the button - * Workaround: Just use a `button` or `input` element as button - */ -.uk-button-group .uk-button:active { - position: relative; -} -/* ======================================================================== - Component: Icon - ========================================================================== */ -@font-face { - font-family: 'FontAwesome'; - src: url("../fonts/fontawesome-webfont.eot"); - src: url("../fonts/fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); - font-weight: normal; - font-style: normal; -} -/* - * 1. Allow margin - * 2. Prevent inherit font style - * 4. Correct line-height - * 5. Better font rendering - * 6. Remove `text-decoration` for anchors - */ -[class*='uk-icon-'] { - font-family: FontAwesome; - /* 1 */ - display: inline-block; - /* 2 */ - font-weight: normal; - font-style: normal; - /* 4 */ - line-height: 1; - /* 5 */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -/* 6 */ -[class*='uk-icon-'], -[class*='uk-icon-']:hover, -[class*='uk-icon-']:focus { - text-decoration: none; -} -/* Size modifiers - ========================================================================== */ -.uk-icon-small { - font-size: 150%; - vertical-align: -10%; -} -.uk-icon-medium { - font-size: 200%; - vertical-align: -16%; -} -.uk-icon-large { - font-size: 250%; - vertical-align: -22%; -} -/* Modifier: `uk-icon-justify` - ========================================================================== */ -.uk-icon-justify { - width: 1em; - text-align: center; -} -/* Modifier: `uk-icon-spin` - ========================================================================== */ -.uk-icon-spin { - display: inline-block; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* Modifier: `uk-icon-hover` - ========================================================================== */ -.uk-icon-hover { - color: #999999; -} -/* - * Hover - */ -.uk-icon-hover:hover { - color: #444444; -} -/* Modifier: `uk-icon-button` - ========================================================================== */ -.uk-icon-button { - -moz-box-sizing: border-box; - box-sizing: border-box; - display: inline-block; - width: 35px; - height: 35px; - border-radius: 100%; - background: #f7f7f7; - line-height: 35px; - color: #444444; - font-size: 18px; - text-align: center; - border: 1px solid #cccccc; - border-bottom-color: #bbbbbb; - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - text-shadow: 0 1px 0 #ffffff; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - */ -.uk-icon-button:hover, -.uk-icon-button:focus { - background-color: #fafafa; - color: #444444; - /* 2 */ - outline: none; - background-image: none; -} -/* Active */ -.uk-icon-button:active { - background-color: #f5f5f5; - color: #444444; - border-color: #cccccc; - border-top-color: #bbbbbb; - background-image: none; - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); -} -/* Icon mapping - ========================================================================== */ -.uk-icon-glass:before { - content: "\f000"; -} -.uk-icon-music:before { - content: "\f001"; -} -.uk-icon-search:before { - content: "\f002"; -} -.uk-icon-envelope-o:before { - content: "\f003"; -} -.uk-icon-heart:before { - content: "\f004"; -} -.uk-icon-star:before { - content: "\f005"; -} -.uk-icon-star-o:before { - content: "\f006"; -} -.uk-icon-user:before { - content: "\f007"; -} -.uk-icon-film:before { - content: "\f008"; -} -.uk-icon-th-large:before { - content: "\f009"; -} -.uk-icon-th:before { - content: "\f00a"; -} -.uk-icon-th-list:before { - content: "\f00b"; -} -.uk-icon-check:before { - content: "\f00c"; -} -.uk-icon-remove:before, -.uk-icon-close:before, -.uk-icon-times:before { - content: "\f00d"; -} -.uk-icon-search-plus:before { - content: "\f00e"; -} -.uk-icon-search-minus:before { - content: "\f010"; -} -.uk-icon-power-off:before { - content: "\f011"; -} -.uk-icon-signal:before { - content: "\f012"; -} -.uk-icon-gear:before, -.uk-icon-cog:before { - content: "\f013"; -} -.uk-icon-trash-o:before { - content: "\f014"; -} -.uk-icon-home:before { - content: "\f015"; -} -.uk-icon-file-o:before { - content: "\f016"; -} -.uk-icon-clock-o:before { - content: "\f017"; -} -.uk-icon-road:before { - content: "\f018"; -} -.uk-icon-download:before { - content: "\f019"; -} -.uk-icon-arrow-circle-o-down:before { - content: "\f01a"; -} -.uk-icon-arrow-circle-o-up:before { - content: "\f01b"; -} -.uk-icon-inbox:before { - content: "\f01c"; -} -.uk-icon-play-circle-o:before { - content: "\f01d"; -} -.uk-icon-rotate-right:before, -.uk-icon-repeat:before { - content: "\f01e"; -} -.uk-icon-refresh:before { - content: "\f021"; -} -.uk-icon-list-alt:before { - content: "\f022"; -} -.uk-icon-lock:before { - content: "\f023"; -} -.uk-icon-flag:before { - content: "\f024"; -} -.uk-icon-headphones:before { - content: "\f025"; -} -.uk-icon-volume-off:before { - content: "\f026"; -} -.uk-icon-volume-down:before { - content: "\f027"; -} -.uk-icon-volume-up:before { - content: "\f028"; -} -.uk-icon-qrcode:before { - content: "\f029"; -} -.uk-icon-barcode:before { - content: "\f02a"; -} -.uk-icon-tag:before { - content: "\f02b"; -} -.uk-icon-tags:before { - content: "\f02c"; -} -.uk-icon-book:before { - content: "\f02d"; -} -.uk-icon-bookmark:before { - content: "\f02e"; -} -.uk-icon-print:before { - content: "\f02f"; -} -.uk-icon-camera:before { - content: "\f030"; -} -.uk-icon-font:before { - content: "\f031"; -} -.uk-icon-bold:before { - content: "\f032"; -} -.uk-icon-italic:before { - content: "\f033"; -} -.uk-icon-text-height:before { - content: "\f034"; -} -.uk-icon-text-width:before { - content: "\f035"; -} -.uk-icon-align-left:before { - content: "\f036"; -} -.uk-icon-align-center:before { - content: "\f037"; -} -.uk-icon-align-right:before { - content: "\f038"; -} -.uk-icon-align-justify:before { - content: "\f039"; -} -.uk-icon-list:before { - content: "\f03a"; -} -.uk-icon-dedent:before, -.uk-icon-outdent:before { - content: "\f03b"; -} -.uk-icon-indent:before { - content: "\f03c"; -} -.uk-icon-video-camera:before { - content: "\f03d"; -} -.uk-icon-photo:before, -.uk-icon-image:before, -.uk-icon-picture-o:before { - content: "\f03e"; -} -.uk-icon-pencil:before { - content: "\f040"; -} -.uk-icon-map-marker:before { - content: "\f041"; -} -.uk-icon-adjust:before { - content: "\f042"; -} -.uk-icon-tint:before { - content: "\f043"; -} -.uk-icon-edit:before, -.uk-icon-pencil-square-o:before { - content: "\f044"; -} -.uk-icon-share-square-o:before { - content: "\f045"; -} -.uk-icon-check-square-o:before { - content: "\f046"; -} -.uk-icon-arrows:before { - content: "\f047"; -} -.uk-icon-step-backward:before { - content: "\f048"; -} -.uk-icon-fast-backward:before { - content: "\f049"; -} -.uk-icon-backward:before { - content: "\f04a"; -} -.uk-icon-play:before { - content: "\f04b"; -} -.uk-icon-pause:before { - content: "\f04c"; -} -.uk-icon-stop:before { - content: "\f04d"; -} -.uk-icon-forward:before { - content: "\f04e"; -} -.uk-icon-fast-forward:before { - content: "\f050"; -} -.uk-icon-step-forward:before { - content: "\f051"; -} -.uk-icon-eject:before { - content: "\f052"; -} -.uk-icon-chevron-left:before { - content: "\f053"; -} -.uk-icon-chevron-right:before { - content: "\f054"; -} -.uk-icon-plus-circle:before { - content: "\f055"; -} -.uk-icon-minus-circle:before { - content: "\f056"; -} -.uk-icon-times-circle:before { - content: "\f057"; -} -.uk-icon-check-circle:before { - content: "\f058"; -} -.uk-icon-question-circle:before { - content: "\f059"; -} -.uk-icon-info-circle:before { - content: "\f05a"; -} -.uk-icon-crosshairs:before { - content: "\f05b"; -} -.uk-icon-times-circle-o:before { - content: "\f05c"; -} -.uk-icon-check-circle-o:before { - content: "\f05d"; -} -.uk-icon-ban:before { - content: "\f05e"; -} -.uk-icon-arrow-left:before { - content: "\f060"; -} -.uk-icon-arrow-right:before { - content: "\f061"; -} -.uk-icon-arrow-up:before { - content: "\f062"; -} -.uk-icon-arrow-down:before { - content: "\f063"; -} -.uk-icon-mail-forward:before, -.uk-icon-share:before { - content: "\f064"; -} -.uk-icon-expand:before { - content: "\f065"; -} -.uk-icon-compress:before { - content: "\f066"; -} -.uk-icon-plus:before { - content: "\f067"; -} -.uk-icon-minus:before { - content: "\f068"; -} -.uk-icon-asterisk:before { - content: "\f069"; -} -.uk-icon-exclamation-circle:before { - content: "\f06a"; -} -.uk-icon-gift:before { - content: "\f06b"; -} -.uk-icon-leaf:before { - content: "\f06c"; -} -.uk-icon-fire:before { - content: "\f06d"; -} -.uk-icon-eye:before { - content: "\f06e"; -} -.uk-icon-eye-slash:before { - content: "\f070"; -} -.uk-icon-warning:before, -.uk-icon-exclamation-triangle:before { - content: "\f071"; -} -.uk-icon-plane:before { - content: "\f072"; -} -.uk-icon-calendar:before { - content: "\f073"; -} -.uk-icon-random:before { - content: "\f074"; -} -.uk-icon-comment:before { - content: "\f075"; -} -.uk-icon-magnet:before { - content: "\f076"; -} -.uk-icon-chevron-up:before { - content: "\f077"; -} -.uk-icon-chevron-down:before { - content: "\f078"; -} -.uk-icon-retweet:before { - content: "\f079"; -} -.uk-icon-shopping-cart:before { - content: "\f07a"; -} -.uk-icon-folder:before { - content: "\f07b"; -} -.uk-icon-folder-open:before { - content: "\f07c"; -} -.uk-icon-arrows-v:before { - content: "\f07d"; -} -.uk-icon-arrows-h:before { - content: "\f07e"; -} -.uk-icon-bar-chart-o:before, -.uk-icon-bar-chart:before { - content: "\f080"; -} -.uk-icon-twitter-square:before { - content: "\f081"; -} -.uk-icon-facebook-square:before { - content: "\f082"; -} -.uk-icon-camera-retro:before { - content: "\f083"; -} -.uk-icon-key:before { - content: "\f084"; -} -.uk-icon-gears:before, -.uk-icon-cogs:before { - content: "\f085"; -} -.uk-icon-comments:before { - content: "\f086"; -} -.uk-icon-thumbs-o-up:before { - content: "\f087"; -} -.uk-icon-thumbs-o-down:before { - content: "\f088"; -} -.uk-icon-star-half:before { - content: "\f089"; -} -.uk-icon-heart-o:before { - content: "\f08a"; -} -.uk-icon-sign-out:before { - content: "\f08b"; -} -.uk-icon-linkedin-square:before { - content: "\f08c"; -} -.uk-icon-thumb-tack:before { - content: "\f08d"; -} -.uk-icon-external-link:before { - content: "\f08e"; -} -.uk-icon-sign-in:before { - content: "\f090"; -} -.uk-icon-trophy:before { - content: "\f091"; -} -.uk-icon-github-square:before { - content: "\f092"; -} -.uk-icon-upload:before { - content: "\f093"; -} -.uk-icon-lemon-o:before { - content: "\f094"; -} -.uk-icon-phone:before { - content: "\f095"; -} -.uk-icon-square-o:before { - content: "\f096"; -} -.uk-icon-bookmark-o:before { - content: "\f097"; -} -.uk-icon-phone-square:before { - content: "\f098"; -} -.uk-icon-twitter:before { - content: "\f099"; -} -.uk-icon-facebook-f:before, -.uk-icon-facebook:before { - content: "\f09a"; -} -.uk-icon-github:before { - content: "\f09b"; -} -.uk-icon-unlock:before { - content: "\f09c"; -} -.uk-icon-credit-card:before { - content: "\f09d"; -} -.uk-icon-rss:before { - content: "\f09e"; -} -.uk-icon-hdd-o:before { - content: "\f0a0"; -} -.uk-icon-bullhorn:before { - content: "\f0a1"; -} -.uk-icon-bell:before { - content: "\f0f3"; -} -.uk-icon-certificate:before { - content: "\f0a3"; -} -.uk-icon-hand-o-right:before { - content: "\f0a4"; -} -.uk-icon-hand-o-left:before { - content: "\f0a5"; -} -.uk-icon-hand-o-up:before { - content: "\f0a6"; -} -.uk-icon-hand-o-down:before { - content: "\f0a7"; -} -.uk-icon-arrow-circle-left:before { - content: "\f0a8"; -} -.uk-icon-arrow-circle-right:before { - content: "\f0a9"; -} -.uk-icon-arrow-circle-up:before { - content: "\f0aa"; -} -.uk-icon-arrow-circle-down:before { - content: "\f0ab"; -} -.uk-icon-globe:before { - content: "\f0ac"; -} -.uk-icon-wrench:before { - content: "\f0ad"; -} -.uk-icon-tasks:before { - content: "\f0ae"; -} -.uk-icon-filter:before { - content: "\f0b0"; -} -.uk-icon-briefcase:before { - content: "\f0b1"; -} -.uk-icon-arrows-alt:before { - content: "\f0b2"; -} -.uk-icon-group:before, -.uk-icon-users:before { - content: "\f0c0"; -} -.uk-icon-chain:before, -.uk-icon-link:before { - content: "\f0c1"; -} -.uk-icon-cloud:before { - content: "\f0c2"; -} -.uk-icon-flask:before { - content: "\f0c3"; -} -.uk-icon-cut:before, -.uk-icon-scissors:before { - content: "\f0c4"; -} -.uk-icon-copy:before, -.uk-icon-files-o:before { - content: "\f0c5"; -} -.uk-icon-paperclip:before { - content: "\f0c6"; -} -.uk-icon-save:before, -.uk-icon-floppy-o:before { - content: "\f0c7"; -} -.uk-icon-square:before { - content: "\f0c8"; -} -.uk-icon-navicon:before, -.uk-icon-reorder:before, -.uk-icon-bars:before { - content: "\f0c9"; -} -.uk-icon-list-ul:before { - content: "\f0ca"; -} -.uk-icon-list-ol:before { - content: "\f0cb"; -} -.uk-icon-strikethrough:before { - content: "\f0cc"; -} -.uk-icon-underline:before { - content: "\f0cd"; -} -.uk-icon-table:before { - content: "\f0ce"; -} -.uk-icon-magic:before { - content: "\f0d0"; -} -.uk-icon-truck:before { - content: "\f0d1"; -} -.uk-icon-pinterest:before { - content: "\f0d2"; -} -.uk-icon-pinterest-square:before { - content: "\f0d3"; -} -.uk-icon-google-plus-square:before { - content: "\f0d4"; -} -.uk-icon-google-plus:before { - content: "\f0d5"; -} -.uk-icon-money:before { - content: "\f0d6"; -} -.uk-icon-caret-down:before { - content: "\f0d7"; -} -.uk-icon-caret-up:before { - content: "\f0d8"; -} -.uk-icon-caret-left:before { - content: "\f0d9"; -} -.uk-icon-caret-right:before { - content: "\f0da"; -} -.uk-icon-columns:before { - content: "\f0db"; -} -.uk-icon-unsorted:before, -.uk-icon-sort:before { - content: "\f0dc"; -} -.uk-icon-sort-down:before, -.uk-icon-sort-desc:before { - content: "\f0dd"; -} -.uk-icon-sort-up:before, -.uk-icon-sort-asc:before { - content: "\f0de"; -} -.uk-icon-envelope:before { - content: "\f0e0"; -} -.uk-icon-linkedin:before { - content: "\f0e1"; -} -.uk-icon-rotate-left:before, -.uk-icon-undo:before { - content: "\f0e2"; -} -.uk-icon-legal:before, -.uk-icon-gavel:before { - content: "\f0e3"; -} -.uk-icon-dashboard:before, -.uk-icon-tachometer:before { - content: "\f0e4"; -} -.uk-icon-comment-o:before { - content: "\f0e5"; -} -.uk-icon-comments-o:before { - content: "\f0e6"; -} -.uk-icon-flash:before, -.uk-icon-bolt:before { - content: "\f0e7"; -} -.uk-icon-sitemap:before { - content: "\f0e8"; -} -.uk-icon-umbrella:before { - content: "\f0e9"; -} -.uk-icon-paste:before, -.uk-icon-clipboard:before { - content: "\f0ea"; -} -.uk-icon-lightbulb-o:before { - content: "\f0eb"; -} -.uk-icon-exchange:before { - content: "\f0ec"; -} -.uk-icon-cloud-download:before { - content: "\f0ed"; -} -.uk-icon-cloud-upload:before { - content: "\f0ee"; -} -.uk-icon-user-md:before { - content: "\f0f0"; -} -.uk-icon-stethoscope:before { - content: "\f0f1"; -} -.uk-icon-suitcase:before { - content: "\f0f2"; -} -.uk-icon-bell-o:before { - content: "\f0a2"; -} -.uk-icon-coffee:before { - content: "\f0f4"; -} -.uk-icon-cutlery:before { - content: "\f0f5"; -} -.uk-icon-file-text-o:before { - content: "\f0f6"; -} -.uk-icon-building-o:before { - content: "\f0f7"; -} -.uk-icon-hospital-o:before { - content: "\f0f8"; -} -.uk-icon-ambulance:before { - content: "\f0f9"; -} -.uk-icon-medkit:before { - content: "\f0fa"; -} -.uk-icon-fighter-jet:before { - content: "\f0fb"; -} -.uk-icon-beer:before { - content: "\f0fc"; -} -.uk-icon-h-square:before { - content: "\f0fd"; -} -.uk-icon-plus-square:before { - content: "\f0fe"; -} -.uk-icon-angle-double-left:before { - content: "\f100"; -} -.uk-icon-angle-double-right:before { - content: "\f101"; -} -.uk-icon-angle-double-up:before { - content: "\f102"; -} -.uk-icon-angle-double-down:before { - content: "\f103"; -} -.uk-icon-angle-left:before { - content: "\f104"; -} -.uk-icon-angle-right:before { - content: "\f105"; -} -.uk-icon-angle-up:before { - content: "\f106"; -} -.uk-icon-angle-down:before { - content: "\f107"; -} -.uk-icon-desktop:before { - content: "\f108"; -} -.uk-icon-laptop:before { - content: "\f109"; -} -.uk-icon-tablet:before { - content: "\f10a"; -} -.uk-icon-mobile-phone:before, -.uk-icon-mobile:before { - content: "\f10b"; -} -.uk-icon-circle-o:before { - content: "\f10c"; -} -.uk-icon-quote-left:before { - content: "\f10d"; -} -.uk-icon-quote-right:before { - content: "\f10e"; -} -.uk-icon-spinner:before { - content: "\f110"; -} -.uk-icon-circle:before { - content: "\f111"; -} -.uk-icon-mail-reply:before, -.uk-icon-reply:before { - content: "\f112"; -} -.uk-icon-github-alt:before { - content: "\f113"; -} -.uk-icon-folder-o:before { - content: "\f114"; -} -.uk-icon-folder-open-o:before { - content: "\f115"; -} -.uk-icon-smile-o:before { - content: "\f118"; -} -.uk-icon-frown-o:before { - content: "\f119"; -} -.uk-icon-meh-o:before { - content: "\f11a"; -} -.uk-icon-gamepad:before { - content: "\f11b"; -} -.uk-icon-keyboard-o:before { - content: "\f11c"; -} -.uk-icon-flag-o:before { - content: "\f11d"; -} -.uk-icon-flag-checkered:before { - content: "\f11e"; -} -.uk-icon-terminal:before { - content: "\f120"; -} -.uk-icon-code:before { - content: "\f121"; -} -.uk-icon-mail-reply-all:before, -.uk-icon-reply-all:before { - content: "\f122"; -} -.uk-icon-star-half-empty:before, -.uk-icon-star-half-full:before, -.uk-icon-star-half-o:before { - content: "\f123"; -} -.uk-icon-location-arrow:before { - content: "\f124"; -} -.uk-icon-crop:before { - content: "\f125"; -} -.uk-icon-code-fork:before { - content: "\f126"; -} -.uk-icon-unlink:before, -.uk-icon-chain-broken:before { - content: "\f127"; -} -.uk-icon-question:before { - content: "\f128"; -} -.uk-icon-info:before { - content: "\f129"; -} -.uk-icon-exclamation:before { - content: "\f12a"; -} -.uk-icon-superscript:before { - content: "\f12b"; -} -.uk-icon-subscript:before { - content: "\f12c"; -} -.uk-icon-eraser:before { - content: "\f12d"; -} -.uk-icon-puzzle-piece:before { - content: "\f12e"; -} -.uk-icon-microphone:before { - content: "\f130"; -} -.uk-icon-microphone-slash:before { - content: "\f131"; -} -.uk-icon-shield:before { - content: "\f132"; -} -.uk-icon-calendar-o:before { - content: "\f133"; -} -.uk-icon-fire-extinguisher:before { - content: "\f134"; -} -.uk-icon-rocket:before { - content: "\f135"; -} -.uk-icon-maxcdn:before { - content: "\f136"; -} -.uk-icon-chevron-circle-left:before { - content: "\f137"; -} -.uk-icon-chevron-circle-right:before { - content: "\f138"; -} -.uk-icon-chevron-circle-up:before { - content: "\f139"; -} -.uk-icon-chevron-circle-down:before { - content: "\f13a"; -} -.uk-icon-html5:before { - content: "\f13b"; -} -.uk-icon-css3:before { - content: "\f13c"; -} -.uk-icon-anchor:before { - content: "\f13d"; -} -.uk-icon-unlock-alt:before { - content: "\f13e"; -} -.uk-icon-bullseye:before { - content: "\f140"; -} -.uk-icon-ellipsis-h:before { - content: "\f141"; -} -.uk-icon-ellipsis-v:before { - content: "\f142"; -} -.uk-icon-rss-square:before { - content: "\f143"; -} -.uk-icon-play-circle:before { - content: "\f144"; -} -.uk-icon-ticket:before { - content: "\f145"; -} -.uk-icon-minus-square:before { - content: "\f146"; -} -.uk-icon-minus-square-o:before { - content: "\f147"; -} -.uk-icon-level-up:before { - content: "\f148"; -} -.uk-icon-level-down:before { - content: "\f149"; -} -.uk-icon-check-square:before { - content: "\f14a"; -} -.uk-icon-pencil-square:before { - content: "\f14b"; -} -.uk-icon-external-link-square:before { - content: "\f14c"; -} -.uk-icon-share-square:before { - content: "\f14d"; -} -.uk-icon-compass:before { - content: "\f14e"; -} -.uk-icon-toggle-down:before, -.uk-icon-caret-square-o-down:before { - content: "\f150"; -} -.uk-icon-toggle-up:before, -.uk-icon-caret-square-o-up:before { - content: "\f151"; -} -.uk-icon-toggle-right:before, -.uk-icon-caret-square-o-right:before { - content: "\f152"; -} -.uk-icon-euro:before, -.uk-icon-eur:before { - content: "\f153"; -} -.uk-icon-gbp:before { - content: "\f154"; -} -.uk-icon-dollar:before, -.uk-icon-usd:before { - content: "\f155"; -} -.uk-icon-rupee:before, -.uk-icon-inr:before { - content: "\f156"; -} -.uk-icon-cny:before, -.uk-icon-rmb:before, -.uk-icon-yen:before, -.uk-icon-jpy:before { - content: "\f157"; -} -.uk-icon-ruble:before, -.uk-icon-rouble:before, -.uk-icon-rub:before { - content: "\f158"; -} -.uk-icon-won:before, -.uk-icon-krw:before { - content: "\f159"; -} -.uk-icon-bitcoin:before, -.uk-icon-btc:before { - content: "\f15a"; -} -.uk-icon-file:before { - content: "\f15b"; -} -.uk-icon-file-text:before { - content: "\f15c"; -} -.uk-icon-sort-alpha-asc:before { - content: "\f15d"; -} -.uk-icon-sort-alpha-desc:before { - content: "\f15e"; -} -.uk-icon-sort-amount-asc:before { - content: "\f160"; -} -.uk-icon-sort-amount-desc:before { - content: "\f161"; -} -.uk-icon-sort-numeric-asc:before { - content: "\f162"; -} -.uk-icon-sort-numeric-desc:before { - content: "\f163"; -} -.uk-icon-thumbs-up:before { - content: "\f164"; -} -.uk-icon-thumbs-down:before { - content: "\f165"; -} -.uk-icon-youtube-square:before { - content: "\f166"; -} -.uk-icon-youtube:before { - content: "\f167"; -} -.uk-icon-xing:before { - content: "\f168"; -} -.uk-icon-xing-square:before { - content: "\f169"; -} -.uk-icon-youtube-play:before { - content: "\f16a"; -} -.uk-icon-dropbox:before { - content: "\f16b"; -} -.uk-icon-stack-overflow:before { - content: "\f16c"; -} -.uk-icon-instagram:before { - content: "\f16d"; -} -.uk-icon-flickr:before { - content: "\f16e"; -} -.uk-icon-adn:before { - content: "\f170"; -} -.uk-icon-bitbucket:before { - content: "\f171"; -} -.uk-icon-bitbucket-square:before { - content: "\f172"; -} -.uk-icon-tumblr:before { - content: "\f173"; -} -.uk-icon-tumblr-square:before { - content: "\f174"; -} -.uk-icon-long-arrow-down:before { - content: "\f175"; -} -.uk-icon-long-arrow-up:before { - content: "\f176"; -} -.uk-icon-long-arrow-left:before { - content: "\f177"; -} -.uk-icon-long-arrow-right:before { - content: "\f178"; -} -.uk-icon-apple:before { - content: "\f179"; -} -.uk-icon-windows:before { - content: "\f17a"; -} -.uk-icon-android:before { - content: "\f17b"; -} -.uk-icon-linux:before { - content: "\f17c"; -} -.uk-icon-dribbble:before { - content: "\f17d"; -} -.uk-icon-skype:before { - content: "\f17e"; -} -.uk-icon-foursquare:before { - content: "\f180"; -} -.uk-icon-trello:before { - content: "\f181"; -} -.uk-icon-female:before { - content: "\f182"; -} -.uk-icon-male:before { - content: "\f183"; -} -.uk-icon-gittip:before, -.uk-icon-gratipay:before { - content: "\f184"; -} -.uk-icon-sun-o:before { - content: "\f185"; -} -.uk-icon-moon-o:before { - content: "\f186"; -} -.uk-icon-archive:before { - content: "\f187"; -} -.uk-icon-bug:before { - content: "\f188"; -} -.uk-icon-vk:before { - content: "\f189"; -} -.uk-icon-weibo:before { - content: "\f18a"; -} -.uk-icon-renren:before { - content: "\f18b"; -} -.uk-icon-pagelines:before { - content: "\f18c"; -} -.uk-icon-stack-exchange:before { - content: "\f18d"; -} -.uk-icon-arrow-circle-o-right:before { - content: "\f18e"; -} -.uk-icon-arrow-circle-o-left:before { - content: "\f190"; -} -.uk-icon-toggle-left:before, -.uk-icon-caret-square-o-left:before { - content: "\f191"; -} -.uk-icon-dot-circle-o:before { - content: "\f192"; -} -.uk-icon-wheelchair:before { - content: "\f193"; -} -.uk-icon-vimeo-square:before { - content: "\f194"; -} -.uk-icon-turkish-lira:before, -.uk-icon-try:before { - content: "\f195"; -} -.uk-icon-plus-square-o:before { - content: "\f196"; -} -.uk-icon-space-shuttle:before { - content: "\f197"; -} -.uk-icon-slack:before { - content: "\f198"; -} -.uk-icon-envelope-square:before { - content: "\f199"; -} -.uk-icon-wordpress:before { - content: "\f19a"; -} -.uk-icon-openid:before { - content: "\f19b"; -} -.uk-icon-institution:before, -.uk-icon-bank:before, -.uk-icon-university:before { - content: "\f19c"; -} -.uk-icon-mortar-board:before, -.uk-icon-graduation-cap:before { - content: "\f19d"; -} -.uk-icon-yahoo:before { - content: "\f19e"; -} -.uk-icon-google:before { - content: "\f1a0"; -} -.uk-icon-reddit:before { - content: "\f1a1"; -} -.uk-icon-reddit-square:before { - content: "\f1a2"; -} -.uk-icon-stumbleupon-circle:before { - content: "\f1a3"; -} -.uk-icon-stumbleupon:before { - content: "\f1a4"; -} -.uk-icon-delicious:before { - content: "\f1a5"; -} -.uk-icon-digg:before { - content: "\f1a6"; -} -.uk-icon-pied-piper:before { - content: "\f1a7"; -} -.uk-icon-pied-piper-alt:before { - content: "\f1a8"; -} -.uk-icon-drupal:before { - content: "\f1a9"; -} -.uk-icon-joomla:before { - content: "\f1aa"; -} -.uk-icon-language:before { - content: "\f1ab"; -} -.uk-icon-fax:before { - content: "\f1ac"; -} -.uk-icon-building:before { - content: "\f1ad"; -} -.uk-icon-child:before { - content: "\f1ae"; -} -.uk-icon-paw:before { - content: "\f1b0"; -} -.uk-icon-spoon:before { - content: "\f1b1"; -} -.uk-icon-cube:before { - content: "\f1b2"; -} -.uk-icon-cubes:before { - content: "\f1b3"; -} -.uk-icon-behance:before { - content: "\f1b4"; -} -.uk-icon-behance-square:before { - content: "\f1b5"; -} -.uk-icon-steam:before { - content: "\f1b6"; -} -.uk-icon-steam-square:before { - content: "\f1b7"; -} -.uk-icon-recycle:before { - content: "\f1b8"; -} -.uk-icon-automobile:before, -.uk-icon-car:before { - content: "\f1b9"; -} -.uk-icon-cab:before, -.uk-icon-taxi:before { - content: "\f1ba"; -} -.uk-icon-tree:before { - content: "\f1bb"; -} -.uk-icon-spotify:before { - content: "\f1bc"; -} -.uk-icon-deviantart:before { - content: "\f1bd"; -} -.uk-icon-soundcloud:before { - content: "\f1be"; -} -.uk-icon-database:before { - content: "\f1c0"; -} -.uk-icon-file-pdf-o:before { - content: "\f1c1"; -} -.uk-icon-file-word-o:before { - content: "\f1c2"; -} -.uk-icon-file-excel-o:before { - content: "\f1c3"; -} -.uk-icon-file-powerpoint-o:before { - content: "\f1c4"; -} -.uk-icon-file-photo-o:before, -.uk-icon-file-picture-o:before, -.uk-icon-file-image-o:before { - content: "\f1c5"; -} -.uk-icon-file-zip-o:before, -.uk-icon-file-archive-o:before { - content: "\f1c6"; -} -.uk-icon-file-sound-o:before, -.uk-icon-file-audio-o:before { - content: "\f1c7"; -} -.uk-icon-file-movie-o:before, -.uk-icon-file-video-o:before { - content: "\f1c8"; -} -.uk-icon-file-code-o:before { - content: "\f1c9"; -} -.uk-icon-vine:before { - content: "\f1ca"; -} -.uk-icon-codepen:before { - content: "\f1cb"; -} -.uk-icon-jsfiddle:before { - content: "\f1cc"; -} -.uk-icon-life-bouy:before, -.uk-icon-life-buoy:before, -.uk-icon-life-saver:before, -.uk-icon-support:before, -.uk-icon-life-ring:before { - content: "\f1cd"; -} -.uk-icon-circle-o-notch:before { - content: "\f1ce"; -} -.uk-icon-ra:before, -.uk-icon-rebel:before { - content: "\f1d0"; -} -.uk-icon-ge:before, -.uk-icon-empire:before { - content: "\f1d1"; -} -.uk-icon-git-square:before { - content: "\f1d2"; -} -.uk-icon-git:before { - content: "\f1d3"; -} -.uk-icon-hacker-news:before { - content: "\f1d4"; -} -.uk-icon-tencent-weibo:before { - content: "\f1d5"; -} -.uk-icon-qq:before { - content: "\f1d6"; -} -.uk-icon-wechat:before, -.uk-icon-weixin:before { - content: "\f1d7"; -} -.uk-icon-send:before, -.uk-icon-paper-plane:before { - content: "\f1d8"; -} -.uk-icon-send-o:before, -.uk-icon-paper-plane-o:before { - content: "\f1d9"; -} -.uk-icon-history:before { - content: "\f1da"; -} -.uk-icon-genderless:before, -.uk-icon-circle-thin:before { - content: "\f1db"; -} -.uk-icon-header:before { - content: "\f1dc"; -} -.uk-icon-paragraph:before { - content: "\f1dd"; -} -.uk-icon-sliders:before { - content: "\f1de"; -} -.uk-icon-share-alt:before { - content: "\f1e0"; -} -.uk-icon-share-alt-square:before { - content: "\f1e1"; -} -.uk-icon-bomb:before { - content: "\f1e2"; -} -.uk-icon-soccer-ball-o:before, -.uk-icon-futbol-o:before { - content: "\f1e3"; -} -.uk-icon-tty:before { - content: "\f1e4"; -} -.uk-icon-binoculars:before { - content: "\f1e5"; -} -.uk-icon-plug:before { - content: "\f1e6"; -} -.uk-icon-slideshare:before { - content: "\f1e7"; -} -.uk-icon-twitch:before { - content: "\f1e8"; -} -.uk-icon-yelp:before { - content: "\f1e9"; -} -.uk-icon-newspaper-o:before { - content: "\f1ea"; -} -.uk-icon-wifi:before { - content: "\f1eb"; -} -.uk-icon-calculator:before { - content: "\f1ec"; -} -.uk-icon-paypal:before { - content: "\f1ed"; -} -.uk-icon-google-wallet:before { - content: "\f1ee"; -} -.uk-icon-cc-visa:before { - content: "\f1f0"; -} -.uk-icon-cc-mastercard:before { - content: "\f1f1"; -} -.uk-icon-cc-discover:before { - content: "\f1f2"; -} -.uk-icon-cc-amex:before { - content: "\f1f3"; -} -.uk-icon-cc-paypal:before { - content: "\f1f4"; -} -.uk-icon-cc-stripe:before { - content: "\f1f5"; -} -.uk-icon-bell-slash:before { - content: "\f1f6"; -} -.uk-icon-bell-slash-o:before { - content: "\f1f7"; -} -.uk-icon-trash:before { - content: "\f1f8"; -} -.uk-icon-copyright:before { - content: "\f1f9"; -} -.uk-icon-at:before { - content: "\f1fa"; -} -.uk-icon-eyedropper:before { - content: "\f1fb"; -} -.uk-icon-paint-brush:before { - content: "\f1fc"; -} -.uk-icon-birthday-cake:before { - content: "\f1fd"; -} -.uk-icon-area-chart:before { - content: "\f1fe"; -} -.uk-icon-pie-chart:before { - content: "\f200"; -} -.uk-icon-line-chart:before { - content: "\f201"; -} -.uk-icon-lastfm:before { - content: "\f202"; -} -.uk-icon-lastfm-square:before { - content: "\f203"; -} -.uk-icon-toggle-off:before { - content: "\f204"; -} -.uk-icon-toggle-on:before { - content: "\f205"; -} -.uk-icon-bicycle:before { - content: "\f206"; -} -.uk-icon-bus:before { - content: "\f207"; -} -.uk-icon-ioxhost:before { - content: "\f208"; -} -.uk-icon-angellist:before { - content: "\f209"; -} -.uk-icon-cc:before { - content: "\f20a"; -} -.uk-icon-shekel:before, -.uk-icon-sheqel:before, -.uk-icon-ils:before { - content: "\f20b"; -} -.uk-icon-meanpath:before { - content: "\f20c"; -} -.uk-icon-buysellads:before { - content: "\f20d"; -} -.uk-icon-connectdevelop:before { - content: "\f20e"; -} -.uk-icon-dashcube:before { - content: "\f210"; -} -.uk-icon-forumbee:before { - content: "\f211"; -} -.uk-icon-leanpub:before { - content: "\f212"; -} -.uk-icon-sellsy:before { - content: "\f213"; -} -.uk-icon-shirtsinbulk:before { - content: "\f214"; -} -.uk-icon-simplybuilt:before { - content: "\f215"; -} -.uk-icon-skyatlas:before { - content: "\f216"; -} -.uk-icon-cart-plus:before { - content: "\f217"; -} -.uk-icon-cart-arrow-down:before { - content: "\f218"; -} -.uk-icon-diamond:before { - content: "\f219"; -} -.uk-icon-ship:before { - content: "\f21a"; -} -.uk-icon-user-secret:before { - content: "\f21b"; -} -.uk-icon-motorcycle:before { - content: "\f21c"; -} -.uk-icon-street-view:before { - content: "\f21d"; -} -.uk-icon-heartbeat:before { - content: "\f21e"; -} -.uk-icon-venus:before { - content: "\f221"; -} -.uk-icon-mars:before { - content: "\f222"; -} -.uk-icon-mercury:before { - content: "\f223"; -} -.uk-icon-transgender:before { - content: "\f224"; -} -.uk-icon-transgender-alt:before { - content: "\f225"; -} -.uk-icon-venus-double:before { - content: "\f226"; -} -.uk-icon-mars-double:before { - content: "\f227"; -} -.uk-icon-venus-mars:before { - content: "\f228"; -} -.uk-icon-mars-stroke:before { - content: "\f229"; -} -.uk-icon-mars-stroke-v:before { - content: "\f22a"; -} -.uk-icon-mars-stroke-h:before { - content: "\f22b"; -} -.uk-icon-neuter:before { - content: "\f22c"; -} -.uk-icon-facebook-official:before { - content: "\f230"; -} -.uk-icon-pinterest-p:before { - content: "\f231"; -} -.uk-icon-whatsapp:before { - content: "\f232"; -} -.uk-icon-server:before { - content: "\f233"; -} -.uk-icon-user-plus:before { - content: "\f234"; -} -.uk-icon-user-times:before { - content: "\f235"; -} -.uk-icon-hotel:before, -.uk-icon-bed:before { - content: "\f236"; -} -.uk-icon-viacoin:before { - content: "\f237"; -} -.uk-icon-train:before { - content: "\f238"; -} -.uk-icon-subway:before { - content: "\f239"; -} -.uk-icon-medium-logo:before { - content: "\f23a"; -} -/* ======================================================================== - Component: Close - ========================================================================== */ -/* - * Removes inner padding and border in Firefox 4+. - */ -.uk-close::-moz-focus-inner { - border: 0; - padding: 0; -} -/* - * 1. Correct inability to style clickable `input` types in iOS. - * 2. Remove margins in Chrome, Safari and Opera. - * 3. Remove borders for `button`. - * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. - * 5. Correct `font` properties and `color` not being inherited for `button`. - * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE - * 7. Remove default `button` padding and background color - * 8. Style - */ -.uk-close { - /* 1 */ - -webkit-appearance: none; - /* 2 */ - margin: 0; - /* 3 */ - border: none; - /* 4 */ - overflow: visible; - /* 5 */ - font: inherit; - color: inherit; - /* 6 */ - text-transform: none; - /* 7. */ - padding: 0; - background: transparent; - /* 8 */ - display: inline-block; - -moz-box-sizing: content-box; - box-sizing: content-box; - width: 20px; - line-height: 20px; - text-align: center; - vertical-align: middle; - opacity: 0.3; -} -/* Icon */ -.uk-close:after { - display: block; - content: "\f00d"; - font-family: FontAwesome; -} -/* - * Hover - * 1. Apply hover style also to focus state - * 2. Remove default focus style - * 3. Required for `a` elements - */ -.uk-close:hover, -.uk-close:focus { - opacity: 0.5; - /* 2 */ - outline: none; - /* 3 */ - color: inherit; - text-decoration: none; - cursor: pointer; -} -/* Modifier - ========================================================================== */ -.uk-close-alt { - padding: 2px; - border-radius: 50%; - background: #ffffff; - opacity: 1; - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 6px rgba(0, 0, 0, 0.3); -} -/* Hover */ -.uk-close-alt:hover, -.uk-close-alt:focus { - opacity: 1; -} -/* Icon */ -.uk-close-alt:after { - opacity: 0.5; -} -.uk-close-alt:hover:after, -.uk-close-alt:focus:after { - opacity: 0.8; -} -/* ======================================================================== - Component: Badge - ========================================================================== */ -.uk-badge { - display: inline-block; - padding: 0 5px; - background: #009dd8; - font-size: 10px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - text-align: center; - vertical-align: middle; - text-transform: none; - border: 1px solid rgba(0, 0, 0, 0.2); - border-bottom-color: rgba(0, 0, 0, 0.3); - background-origin: border-box; - background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); - background-image: linear-gradient(to bottom, #00b4f5, #008dc5); - border-radius: 2px; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} -/* - * Keep color when badge is a link - */ -a.uk-badge:hover { - color: #ffffff; -} -/* Modifier: `uk-badge-notification`; - ========================================================================== */ -.uk-badge-notification { - -moz-box-sizing: border-box; - box-sizing: border-box; - min-width: 18px; - border-radius: 500px; - font-size: 12px; - line-height: 18px; -} -/* Color modifier - ========================================================================== */ -/* - * Modifier: `uk-badge-success` - */ -.uk-badge-success { - background-color: #82bb42; - background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); - background-image: linear-gradient(to bottom, #9fd256, #6fac34); -} -/* - * Modifier: `uk-badge-warning` - */ -.uk-badge-warning { - background-color: #f9a124; - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(to bottom, #fbb450, #f89406); -} -/* - * Modifier: `uk-badge-danger` - */ -.uk-badge-danger { - background-color: #d32c46; - background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); - background-image: linear-gradient(to bottom, #ee465a, #c11a39); -} -/* ======================================================================== - Component: Alert - ========================================================================== */ -.uk-alert { - margin-bottom: 15px; - padding: 10px; - background: #ebf7fd; - color: #2d7091; - border: 1px solid rgba(45, 112, 145, 0.3); - border-radius: 4px; - text-shadow: 0 1px 0 #ffffff; -} -/* - * Add margin if adjacent element - */ -* + .uk-alert { - margin-top: 15px; -} -/* - * Remove margin from the last-child - */ -.uk-alert > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-alert h1, -.uk-alert h2, -.uk-alert h3, -.uk-alert h4, -.uk-alert h5, -.uk-alert h6 { - color: inherit; -} -/* Close in alert - ========================================================================== */ -.uk-alert > .uk-close:first-child { - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-alert > .uk-close:first-child + * { - margin-top: 0; -} -/* Modifier: `uk-alert-success` - ========================================================================== */ -.uk-alert-success { - background: #f2fae3; - color: #659f13; - border-color: rgba(101, 159, 19, 0.3); -} -/* Modifier: `uk-alert-warning` - ========================================================================== */ -.uk-alert-warning { - background: #fffceb; - color: #e28327; - border-color: rgba(226, 131, 39, 0.3); -} -/* Modifier: `uk-alert-danger` - ========================================================================== */ -.uk-alert-danger { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); -} -/* Modifier: `uk-alert-large` - ========================================================================== */ -.uk-alert-large { - padding: 20px; -} -.uk-alert-large > .uk-close:first-child { - margin: -10px -10px 0 0; -} -/* ======================================================================== - Component: Thumbnail - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Responsive behavior - * 3. Corrects `max-width` behavior sed - * 4. Required for `figure` element - * 5. Style - */ -.uk-thumbnail { - /* 1 */ - display: inline-block; - /* 2 */ - max-width: 100%; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 3 */ - margin: 0; - /* 4 */ - padding: 4px; - border: 1px solid #dddddd; - background: #ffffff; - border-radius: 4px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); -} -/* - * Hover state for `a` elements - * 1. Apply hover style also to focus state - * 2. Needed for caption - * 3. Remove default focus style - */ -a.uk-thumbnail:hover, -a.uk-thumbnail:focus { - border-color: #aaaaaa; - background-color: #ffffff; - /* 2 */ - text-decoration: none; - /* 3 */ - outline: none; - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); -} -/* Caption - ========================================================================== */ -.uk-thumbnail-caption { - padding-top: 4px; - text-align: center; - color: #444444; -} -/* Sizes - ========================================================================== */ -.uk-thumbnail-mini { - width: 150px; -} -.uk-thumbnail-small { - width: 200px; -} -.uk-thumbnail-medium { - width: 300px; -} -.uk-thumbnail-large { - width: 400px; -} -.uk-thumbnail-expand, -.uk-thumbnail-expand > img { - width: 100%; -} -/* ======================================================================== - Component: Overlay - ========================================================================== */ -/* - * 1. Container width fits its content - * 2. Create position context - * 3. Set max-width for responsive images to prevent `inline-block` consequences - * 4. Remove the gap between the container and its child element - * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome - * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit - * 7. Reset margin - */ -.uk-overlay { - /* 1 */ - display: inline-block; - /* 2 */ - position: relative; - /* 3 */ - max-width: 100%; - /* 4 */ - vertical-align: middle; - /* 5 */ - overflow: hidden; - /* 6 */ - -webkit-transform: translateZ(0); - /* 7 */ - margin: 0; -} -/* 6 for Safari */ -.uk-overlay.uk-border-circle { - -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); -} -/* - * Remove margin from content - */ -.uk-overlay > :first-child { - margin-bottom: 0; -} -/* Sub-object `uk-overlay-panel` - ========================================================================== */ -/* - * 1. Position cover - * 2. Style - */ -.uk-overlay-panel { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 20px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-panel > :last-child, -.uk-overlay-panel.uk-flex > * > :last-child { - margin-bottom: 0; -} -/* - * Keep color for headings if the default heading color is changed - */ -.uk-overlay-panel h1, -.uk-overlay-panel h2, -.uk-overlay-panel h3, -.uk-overlay-panel h4, -.uk-overlay-panel h5, -.uk-overlay-panel h6 { - color: inherit; -} -.uk-overlay-panel a:not([class]) { - color: inherit; - text-decoration: underline; -} -.uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { - color: inherit; -} -/* Sub-object `uk-overlay-hover` and `uk-overlay-active` - ========================================================================== */ -.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -.uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { - opacity: 0; -} -/* Modifier `uk-overlay-background` - ========================================================================== */ -.uk-overlay-background { - background: rgba(0, 0, 0, 0.5); -} -/* Modifier `uk-overlay-image` - ========================================================================== */ -/* - * Reset panel - */ -.uk-overlay-image { - padding: 0; -} -/* Position modifiers - ========================================================================== */ -.uk-overlay-top { - bottom: auto; -} -.uk-overlay-bottom { - top: auto; -} -.uk-overlay-left { - right: auto; -} -.uk-overlay-right { - left: auto; -} -/* Sub-object `uk-overlay-icon` - ========================================================================== */ -.uk-overlay-icon:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* Transitions - ========================================================================== */ -.uk-overlay-fade, -.uk-overlay-scale, -.uk-overlay-spin, -.uk-overlay-grayscale, -.uk-overlay-blur, -[class*='uk-overlay-slide'] { - transition-duration: 0.3s; - transition-timing-function: ease-out; - transition-property: opacity transform filter; -} -.uk-overlay-active .uk-overlay-fade, -.uk-overlay-active .uk-overlay-scale, -.uk-overlay-active .uk-overlay-spin, -.uk-overlay-active [class*='uk-overlay-slide'] { - transition-duration: 0.8s; -} -/* - * Fade - */ -.uk-overlay-fade { - opacity: 0.7; -} -.uk-overlay-hover:hover .uk-overlay-fade, -.uk-overlay-active .uk-active > .uk-overlay-fade { - opacity: 1; -} -/* - * Scale - */ -.uk-overlay-scale { - -webkit-transform: scale(1); - transform: scale(1); -} -.uk-overlay-hover:hover .uk-overlay-scale, -.uk-overlay-active .uk-active > .uk-overlay-scale { - -webkit-transform: scale(1.1); - transform: scale(1.1); -} -/* - * Spin - */ -.uk-overlay-spin { - -webkit-transform: scale(1) rotate(0deg); - transform: scale(1) rotate(0deg); -} -.uk-overlay-hover:hover .uk-overlay-spin, -.uk-overlay-active .uk-active > .uk-overlay-spin { - -webkit-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); -} -/* - * Grayscale - */ -.uk-overlay-grayscale { - -webkit-filter: grayscale(100%); - filter: grayscale(100%); -} -.uk-overlay-hover:hover .uk-overlay-grayscale, -.uk-overlay-active .uk-active > .uk-overlay-grayscale { - -webkit-filter: grayscale(0%); - filter: grayscale(0%); -} -/* - * Slide - */ -[class*='uk-overlay-slide'] { - opacity: 0; -} -/* Top */ -.uk-overlay-slide-top { - -webkit-transform: translateY(-100%); - transform: translateY(-100%); -} -/* Bottom */ -.uk-overlay-slide-bottom { - -webkit-transform: translateY(100%); - transform: translateY(100%); -} -/* Left */ -.uk-overlay-slide-left { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} -/* Right */ -.uk-overlay-slide-right { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Hover */ -.uk-overlay-hover:hover [class*='uk-overlay-slide'], -.uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { - opacity: 1; - -webkit-transform: translateX(0) translateY(0); - transform: translateX(0) translateY(0); -} -/* DEPRECATED - * Sub-object `uk-overlay-area` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-area { - /* 1 */ - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - background: rgba(0, 0, 0, 0.3); - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-area, -.uk-overlay.uk-hover .uk-overlay-area, -.uk-overlay-toggle:hover .uk-overlay-area, -.uk-overlay-toggle.uk-hover .uk-overlay-area { - opacity: 1; -} -/* - * Icon - */ -.uk-overlay-area:empty:before { - content: "\f002"; - position: absolute; - top: 50%; - left: 50%; - width: 50px; - height: 50px; - margin-top: -25px; - margin-left: -25px; - font-size: 50px; - line-height: 1; - font-family: FontAwesome; - text-align: center; - color: #ffffff; -} -/* DEPRECATED - * Sub-object `uk-overlay-area-content` - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - * Needed for Firefox - */ -.uk-overlay-area:not(:empty) { - font-size: 0.001px; -} -/* - * 1. Needed for vertical alignment - */ -.uk-overlay-area:not(:empty):before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * 1. Set vertical alignment - * 2. Reset whitespace hack - * 3. Set horizontal alignment - * 4. Set style - */ -.uk-overlay-area-content { - /* 1 */ - display: inline-block; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - vertical-align: middle; - /* 2 */ - font-size: 1rem; - /* 3 */ - text-align: center; - /* 4 */ - padding: 0 15px; - color: #ffffff; -} -/* - * Remove margin from the last-child - */ -.uk-overlay-area-content > :last-child { - margin-bottom: 0; -} -/* - * Links in overlay area - */ -.uk-overlay-area-content a:not([class]), -.uk-overlay-area-content a:not([class]):hover { - color: inherit; -} -/* DEPRECATED - * Sub-object `uk-overlay-caption` - ========================================================================== */ -/* - * 1. Set position - * 2. Set style - * 3. Fade-in transition - */ -.uk-overlay-caption { - /* 1 */ - position: absolute; - bottom: 0; - left: 0; - right: 0; - /* 2 */ - padding: 15px; - background: rgba(0, 0, 0, 0.5); - color: #ffffff; - /* 3 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - -webkit-transform: translate3d(0, 0, 0); -} -/* - * Hover - * 1. `uk-hover` to support touch devices - * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier - */ -.uk-overlay:hover .uk-overlay-caption, -.uk-overlay.uk-hover .uk-overlay-caption, -.uk-overlay-toggle:hover .uk-overlay-caption, -.uk-overlay-toggle.uk-hover .uk-overlay-caption { - opacity: 1; -} -/* ======================================================================== - Component: Animation - ========================================================================== */ -[class*='uk-animation-'] { - -webkit-animation-duration: 0.5s; - animation-duration: 0.5s; - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} -/* Hide animated element if scrollspy is used */ -@media screen { - [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { - opacity: 0; - } -} -/* - * Fade - * Higher specificity (!important) needed because of reverse modifier - */ -.uk-animation-fade { - -webkit-animation-name: uk-fade; - animation-name: uk-fade; - -webkit-animation-duration: 0.8s; - animation-duration: 0.8s; - -webkit-animation-timing-function: linear !important; - animation-timing-function: linear !important; -} -/* - * Fade with scale - */ -.uk-animation-scale-up { - -webkit-animation-name: uk-fade-scale-02; - animation-name: uk-fade-scale-02; -} -.uk-animation-scale-down { - -webkit-animation-name: uk-fade-scale-18; - animation-name: uk-fade-scale-18; -} -/* - * Fade with slide - */ -.uk-animation-slide-top { - -webkit-animation-name: uk-fade-top; - animation-name: uk-fade-top; -} -.uk-animation-slide-bottom { - -webkit-animation-name: uk-fade-bottom; - animation-name: uk-fade-bottom; -} -.uk-animation-slide-left { - -webkit-animation-name: uk-fade-left; - animation-name: uk-fade-left; -} -.uk-animation-slide-right { - -webkit-animation-name: uk-fade-right; - animation-name: uk-fade-right; -} -/* - * Scale - */ -.uk-animation-scale { - -webkit-animation-name: uk-scale-12; - animation-name: uk-scale-12; -} -/* - * Shake - */ -.uk-animation-shake { - -webkit-animation-name: uk-shake; - animation-name: uk-shake; -} -/* Direction modifiers - ========================================================================== */ -.uk-animation-reverse { - -webkit-animation-direction: reverse; - animation-direction: reverse; - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} -/* Duration modifiers -========================================================================== */ -.uk-animation-15 { - -webkit-animation-duration: 15s; - animation-duration: 15s; -} -/* Origin modifiers -========================================================================== */ -.uk-animation-top-left { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -.uk-animation-top-center { - -webkit-transform-origin: 50% 0; - transform-origin: 50% 0; -} -.uk-animation-top-right { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} -.uk-animation-middle-left { - -webkit-transform-origin: 0 50%; - transform-origin: 0 50%; -} -.uk-animation-middle-right { - -webkit-transform-origin: 100% 50%; - transform-origin: 100% 50%; -} -.uk-animation-bottom-left { - -webkit-transform-origin: 0 100%; - transform-origin: 0 100%; -} -.uk-animation-bottom-center { - -webkit-transform-origin: 50% 100%; - transform-origin: 50% 100%; -} -.uk-animation-bottom-right { - -webkit-transform-origin: 100% 100%; - transform-origin: 100% 100%; -} -/* Sub-object: `uk-animation-hover` -========================================================================== */ -/* - * Enable animation only on hover - * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` - */ -.uk-animation-hover:not(:hover), -.uk-animation-hover:not(:hover) [class*='uk-animation-'], -.uk-touch .uk-animation-hover:not(.uk-hover), -.uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { - -webkit-animation-name: none; - animation-name: none; -} -/* Keyframes: Fade - * Used by dropdown, datepicker and slideshow component - ========================================================================== */ -@-webkit-keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes uk-fade { - 0% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -/* Keyframes: Fade with slide - ========================================================================== */ -/* - * Top - */ -@-webkit-keyframes uk-fade-top { - 0% { - opacity: 0; - -webkit-transform: translateY(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-top { - 0% { - opacity: 0; - transform: translateY(-100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom - */ -@-webkit-keyframes uk-fade-bottom { - 0% { - opacity: 0; - -webkit-transform: translateY(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-fade-bottom { - 0% { - opacity: 0; - transform: translateY(100%); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Left - */ -@-webkit-keyframes uk-fade-left { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-left { - 0% { - opacity: 0; - transform: translateX(-100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-fade-right { - 0% { - opacity: 0; - -webkit-transform: translateX(100%); - } - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@keyframes uk-fade-right { - 0% { - opacity: 0; - transform: translateX(100%); - } - 100% { - opacity: 1; - transform: translateX(0); - } -} -/* Keyframes: Fade with scale - ========================================================================== */ -/* - * Scale by 0.2 - */ -@-webkit-keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - -webkit-transform: scale(0.2); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-02 { - 0% { - opacity: 0; - transform: scale(0.2); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.5 - * Used by slideshow component - */ -@-webkit-keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - -webkit-transform: scale(1.5); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-15 { - 0% { - opacity: 0; - transform: scale(1.5); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* - * Scale by 1.8 - */ -@-webkit-keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - -webkit-transform: scale(1.8); - } - 100% { - opacity: 1; - -webkit-transform: scale(1); - } -} -@keyframes uk-fade-scale-18 { - 0% { - opacity: 0; - transform: scale(1.8); - } - 100% { - opacity: 1; - transform: scale(1); - } -} -/* Keyframes: Slide - * Used by slideshow component - ========================================================================== */ -/* - * Left - */ -@-webkit-keyframes uk-slide-left { - 0% { - -webkit-transform: translateX(-100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left { - 0% { - transform: translateX(-100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right - */ -@-webkit-keyframes uk-slide-right { - 0% { - -webkit-transform: translateX(100%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right { - 0% { - transform: translateX(100%); - } - 100% { - transform: translateX(0); - } -} -/* - * Left third - */ -@-webkit-keyframes uk-slide-left-33 { - 0% { - -webkit-transform: translateX(33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-left-33 { - 0% { - transform: translateX(33%); - } - 100% { - transform: translateX(0); - } -} -/* - * Right third - */ -@-webkit-keyframes uk-slide-right-33 { - 0% { - -webkit-transform: translateX(-33%); - } - 100% { - -webkit-transform: translateX(0); - } -} -@keyframes uk-slide-right-33 { - 0% { - transform: translateX(-33%); - } - 100% { - transform: translateX(0); - } -} -/* Keyframes: Scale - ========================================================================== */ -@-webkit-keyframes uk-scale-12 { - 0% { - -webkit-transform: scale(1.2); - } - 100% { - -webkit-transform: scale(1); - } -} -@keyframes uk-scale-12 { - 0% { - transform: scale(1.2); - } - 100% { - transform: scale(1); - } -} -/* Keyframes: Rotate - * Used by icon component - ========================================================================== */ -@-webkit-keyframes uk-rotate { - 0% { - -webkit-transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - } -} -@keyframes uk-rotate { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(359deg); - } -} -/* Keyframes: Shake - ========================================================================== */ -@-webkit-keyframes uk-shake { - 0%, - 100% { - -webkit-transform: translateX(0); - } - 10% { - -webkit-transform: translateX(-9px); - } - 20% { - -webkit-transform: translateX(8px); - } - 30% { - -webkit-transform: translateX(-7px); - } - 40% { - -webkit-transform: translateX(6px); - } - 50% { - -webkit-transform: translateX(-5px); - } - 60% { - -webkit-transform: translateX(4px); - } - 70% { - -webkit-transform: translateX(-3px); - } - 80% { - -webkit-transform: translateX(2px); - } - 90% { - -webkit-transform: translateX(-1px); - } -} -@keyframes uk-shake { - 0%, - 100% { - transform: translateX(0); - } - 10% { - transform: translateX(-9px); - } - 20% { - transform: translateX(8px); - } - 30% { - transform: translateX(-7px); - } - 40% { - transform: translateX(6px); - } - 50% { - transform: translateX(-5px); - } - 60% { - transform: translateX(4px); - } - 70% { - transform: translateX(-3px); - } - 80% { - transform: translateX(2px); - } - 90% { - transform: translateX(-1px); - } -} -/* Keyframes: Fade with slide fixed - * Used by dropdown and search component - ========================================================================== */ -/* - * Top fixed - */ -@-webkit-keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(-10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-top-fixed { - 0% { - opacity: 0; - transform: translateY(-10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* - * Bottom fixed - */ -@-webkit-keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - -webkit-transform: translateY(10px); - } - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} -@keyframes uk-slide-bottom-fixed { - 0% { - opacity: 0; - transform: translateY(10px); - } - 100% { - opacity: 1; - transform: translateY(0); - } -} -/* ======================================================================== - Component: Dropdown - ========================================================================== */ -/* - * 1. Hide by default - * 2. Set position - * 3. Box-sizing is needed for `uk-dropdown-justify` - * 4. Set style - * 5. Reset button group whitespace hack - */ -.uk-dropdown { - /* 1 */ - display: none; - /* 2 */ - position: absolute; - top: 100%; - left: 0; - z-index: 1020; - /* 3 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - /* 4 */ - width: 200px; - margin-top: 5px; - padding: 15px; - background: #ffffff; - color: #444444; - /* 5 */ - font-size: 1rem; - vertical-align: top; - border: 1px solid #cbcbcb; - border-radius: 4px; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); -} -/* - * 1. Show dropdown - * 2. Set animation - * 3. Needed for scale animation - */ -.uk-open > .uk-dropdown { - /* 1 */ - display: block; - /* 2 */ - -webkit-animation: uk-fade 0.2s ease-in-out; - animation: uk-fade 0.2s ease-in-out; - /* 3 */ - -webkit-transform-origin: 0 0; - transform-origin: 0 0; -} -/* Alignment modifiers - ========================================================================== */ -/* - * Modifier `uk-dropdown-flip` - */ -.uk-dropdown-flip { - left: auto; - right: 0; -} -/* - * Modifier `uk-dropdown-up` - */ -.uk-dropdown-up { - top: auto; - bottom: 100%; - margin-top: auto; - margin-bottom: 5px; -} -/* Nav in dropdown - ========================================================================== */ -.uk-dropdown .uk-nav { - margin: 0 -15px; -} -/* Grid and panel in dropdown - ========================================================================== */ -/* -* Vertical gutter -*/ -/* - * Grid - * Higher specificity to override large gutter - */ -.uk-grid .uk-dropdown-grid + .uk-dropdown-grid { - margin-top: 15px; -} -/* Panels */ -.uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { - margin-top: 15px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - /* - * Horizontal gutter - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { - margin-left: -15px; - margin-right: -15px; - } - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { - padding-left: 15px; - padding-right: 15px; - } - /* - * Column divider - */ - .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - border-left: 1px solid #dddddd; - } - /* - * Width multiplier for dropdown columns - */ - .uk-dropdown-width-2:not(.uk-dropdown-stack) { - width: 400px; - } - .uk-dropdown-width-3:not(.uk-dropdown-stack) { - width: 600px; - } - .uk-dropdown-width-4:not(.uk-dropdown-stack) { - width: 800px; - } - .uk-dropdown-width-5:not(.uk-dropdown-stack) { - width: 1000px; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Stack columns and take full width - */ - .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; - } - /* - * Vertical gutter - */ - .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; - } -} -/* -* Stack grid columns -*/ -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { - width: 100%; -} -.uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { - margin-top: 15px; -} -/* Modifier `uk-dropdown-small` - ========================================================================== */ -/* - * Set min-width and text expands dropdown if needed - */ -.uk-dropdown-small { - min-width: 150px; - width: auto; - padding: 5px; - white-space: nowrap; -} -/* - * Nav in dropdown - */ -.uk-dropdown-small .uk-nav { - margin: 0 -5px; -} -/* Modifier: `uk-dropdown-navbar` - ========================================================================== */ -.uk-dropdown-navbar { - margin-top: 6px; - background: #ffffff; - color: #444444; - left: -1px; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); -} -.uk-open > .uk-dropdown-navbar { - -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; - animation: uk-slide-top-fixed 0.2s ease-in-out; -} -/* Modifier `uk-dropdown-scrollable` - ========================================================================== */ -/* - * Usefull for long lists - */ -.uk-dropdown-scrollable { - overflow-y: auto; - max-height: 200px; -} -.uk-dropdown-navbar.uk-dropdown-flip { - left: auto; -} -/* ======================================================================== - Component: Modal - ========================================================================== */ -/* - * This is the modal overlay and modal dialog container - * 1. Hide by default - * 2. Set fixed position - * 3. Allow scrolling for the modal dialog - * 4. Mask the background page - * 5. Fade-in transition - * 6. Deactivate browser history navigation in IE11 - * 7. force hardware acceleration to prevent browser rendering hiccups - */ -.uk-modal { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1010; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - background: rgba(0, 0, 0, 0.6); - /* 5 */ - opacity: 0; - -webkit-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; - /* 6 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; - /* 7 */ - -webkit-transform: translateZ(0); - transform: translateZ(0); -} -/* - * Open state - */ -.uk-modal.uk-open { - opacity: 1; -} -/* - * Prevents duplicated scrollbar caused by 4. - */ -.uk-modal-page, -.uk-modal-page body { - overflow: hidden; -} -/* Sub-object: `uk-modal-dialog` - ========================================================================== */ -/* - * 1. Create position context for caption, spinner and close button - * 2. Set box sizing - * 3. Set style - * 4. Slide-in transition - */ -.uk-modal-dialog { - /* 1 */ - position: relative; - /* 2 */ - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 50px auto; - padding: 20px; - width: 600px; - max-width: 100%; - max-width: calc(100% - 20px); - /* 3 */ - background: #ffffff; - /* 4 */ - opacity: 0; - -webkit-transform: translateY(-100px); - transform: translateY(-100px); - -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; - transition: opacity 0.3s linear, transform 0.3s ease-out; - border-radius: 4px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - /* - * Fit in small screen - */ - .uk-modal-dialog { - width: auto; - margin: 10px auto; - } -} -/* - * Open state - */ -.uk-open .uk-modal-dialog { - /* 4 */ - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); -} -/* - * Remove margin from the last-child - */ -.uk-modal-dialog > :not([class*='uk-modal-']):last-child { - margin-bottom: 0; -} -/* Close in modal - ========================================================================== */ -.uk-modal-dialog > .uk-close:first-child { - margin: -10px -10px 0 0; - float: right; -} -/* - * Remove margin from adjacent element - */ -.uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { - margin-top: 0; -} -/* Modifier: `uk-modal-dialog-lightbox` - ========================================================================== */ -.uk-modal-dialog-lightbox { - margin: 15px auto; - padding: 0; - max-width: 95%; - max-width: calc(100% - 30px); - border-radius: 0; -} -/* - * Close button - */ -.uk-modal-dialog-lightbox > .uk-close:first-child { - position: absolute; - top: -12px; - right: -12px; - margin: 0; - float: none; -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-modal-dialog-lightbox > .uk-close:first-child { - top: -7px; - right: -7px; - } -} -/* Modifier: `uk-modal-dialog-large` - ========================================================================== */ -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-modal-dialog-large { - width: 930px; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-modal-dialog-large { - width: 1130px; - } -} -/* Sub-Object: `uk-modal-header` and `uk-modal-footer` - ========================================================================== */ -.uk-modal-header { - margin-bottom: 15px; - margin: -20px -20px 15px -20px; - padding: 20px; - border-bottom: 1px solid #dddddd; - border-radius: 4px 4px 0 0; - background: #fafafa; -} -.uk-modal-footer { - margin-top: 15px; - margin: 15px -20px -20px -20px; - padding: 20px; - border-top: 1px solid #dddddd; - border-radius: 0 0 4px 4px; - background: #fafafa; -} -/* - * Remove margin from the last-child - */ -.uk-modal-header > :last-child, -.uk-modal-footer > :last-child { - margin-bottom: 0; -} -/* Sub-Object: `uk-modal-caption` - ========================================================================== */ -.uk-modal-caption { - position: absolute; - left: 0; - right: 0; - bottom: -20px; - margin-bottom: -10px; - color: #ffffff; - text-align: center; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* Sub-Object: `uk-modal-spinner` - ========================================================================== */ -.uk-modal-spinner { - position: absolute; - top: 50%; - left: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - font-size: 25px; - color: #ddd; -} -.uk-modal-spinner:after { - content: "\f110"; - font-family: FontAwesome; - -webkit-animation: uk-rotate 2s infinite linear; - animation: uk-rotate 2s infinite linear; -} -/* ======================================================================== - Component: Off-canvas - ========================================================================== */ -/* - * This is the offcanvas overlay and bar container - * 1. Hide by default - * 2. Set fixed position - * 3. Deactivate browser touch actions in IE11 - * 4. Mask the background page - */ -.uk-offcanvas { - /* 1 */ - display: none; - /* 2 */ - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1000; - /* 3 */ - touch-action: none; - /* 4 */ - background: rgba(0, 0, 0, 0.1); -} -.uk-offcanvas.uk-active { - display: block; -} -/* Sub-object `uk-offcanvas-page` - ========================================================================== */ -/* - * Prepares the whole HTML page to slide-out - * 1. Fix the main page and disallow scrolling - * 2. Side-out transition - */ -.uk-offcanvas-page { - /* 1 */ - position: fixed; - /* 2 */ - -webkit-transition: margin-left 0.3s ease-in-out; - transition: margin-left 0.3s ease-in-out; -} -/* Sub-object `uk-offcanvas-bar` - ========================================================================== */ -/* - * This is the offcanvas bar - * 1. Set fixed position - * 2. Size and style - * 3. Allow scrolling - * 4. Side-out transition - * 5. Deavtivate scroll chaining in IE11 - */ -.uk-offcanvas-bar { - /* 1 */ - position: fixed; - top: 0; - bottom: 0; - left: 0; - -webkit-transform: translateX(-100%); - transform: translateX(-100%); - z-index: 1001; - /* 2 */ - width: 270px; - max-width: 100%; - background: #333333; - /* 3 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - /* 4 */ - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - /* 5 */ - -ms-scroll-chaining: none; -} -.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { - -webkit-transform: translateX(0%); - transform: translateX(0%); -} -/* Modifier `uk-offcanvas-bar-flip` - ========================================================================== */ -.uk-offcanvas-bar-flip { - left: auto; - right: 0; - -webkit-transform: translateX(100%); - transform: translateX(100%); -} -/* Panel in offcanvas - ========================================================================== */ -.uk-offcanvas .uk-panel { - margin: 20px 15px; - color: #777777; - text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); -} -.uk-offcanvas .uk-panel-title { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]) { - color: #cccccc; -} -.uk-offcanvas .uk-panel a:not([class]):hover { - color: #ffffff; -} -.uk-offcanvas-bar:after { - content: ""; - display: block; - position: absolute; - top: 0; - bottom: 0; - right: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -.uk-offcanvas-bar-flip:after { - right: auto; - left: 0; - width: 1px; - background: rgba(0, 0, 0, 0.6); - box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); -} -/* ======================================================================== - Component: Switcher - ========================================================================== */ -/* - * 1. Deactivate browser history navigation in IE11 - */ -.uk-switcher { - margin: 0; - padding: 0; - list-style: none; - /* 1 */ - touch-action: cross-slide-y pinch-zoom double-tap-zoom; -} -/* - * Items - */ -.uk-switcher > :not(.uk-active) { - display: none; -} -/* ======================================================================== - Component: Text - ========================================================================== */ -/* Size modifiers - ========================================================================== */ -.uk-text-small { - font-size: 11px; - line-height: 16px; -} -.uk-text-large { - font-size: 18px; - line-height: 24px; - font-weight: normal; -} -/* Weight modifiers - ========================================================================== */ -.uk-text-bold { - font-weight: bold; -} -/* Color modifiers - ========================================================================== */ -.uk-text-muted { - color: #999999 !important; -} -.uk-text-primary { - color: #2d7091 !important; -} -.uk-text-success { - color: #659f13 !important; -} -.uk-text-warning { - color: #e28327 !important; -} -.uk-text-danger { - color: #d85030 !important; -} -.uk-text-contrast { - color: #ffffff !important; -} -/* Alignment modifiers - ========================================================================== */ -.uk-text-left { - text-align: left !important; -} -.uk-text-right { - text-align: right !important; -} -.uk-text-center { - text-align: center !important; -} -.uk-text-justify { - text-align: justify !important; -} -.uk-text-top { - vertical-align: top !important; -} -.uk-text-middle { - vertical-align: middle !important; -} -.uk-text-bottom { - vertical-align: bottom !important; -} -/* Only tablets portrait and smaller */ -@media (max-width: 959px) { - .uk-text-center-medium { - text-align: center !important; - } - .uk-text-left-medium { - text-align: left !important; - } -} -/* Phone landscape and smaller */ -@media (max-width: 767px) { - .uk-text-center-small { - text-align: center !important; - } - .uk-text-left-small { - text-align: left !important; - } -} -/* Wrap modifiers - ========================================================================== */ -/* - * Prevent text from wrapping onto multiple lines - */ -.uk-text-nowrap { - white-space: nowrap; -} -/* - * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis - */ -.uk-text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -/* - * Break strings if their length exceeds the width of their container - */ -.uk-text-break { - word-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; -} -/* ======================================================================== - Component: Utility - ========================================================================== */ -/* Container - ========================================================================== */ -.uk-container { - -moz-box-sizing: border-box; - box-sizing: border-box; - max-width: 980px; - padding: 0 25px; -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-container { - max-width: 1200px; - padding: 0 35px; - } -} -/* - * Micro clearfix - */ -.uk-container:before, -.uk-container:after { - content: ""; - display: table; -} -.uk-container:after { - clear: both; -} -/* - * Center container - */ -.uk-container-center { - margin-left: auto; - margin-right: auto; -} -/* Clearing - ========================================================================== */ -/* - * Micro clearfix -* `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit - * `table` is used again with `:after` because `clear` only works with block elements. - * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari - */ -.uk-clearfix:before { - content: ""; - display: table-cell; -} -.uk-clearfix:after { - content: ""; - display: table; - clear: both; -} -/* - * Create a new block formatting context - */ -.uk-nbfc { - overflow: hidden; -} -.uk-nbfc-alt { - display: table-cell; - width: 10000px; -} -/* Alignment of block elements - ========================================================================== */ -/* - * Float blocks - * 1. Prevent content overflow on small devices - */ -.uk-float-left { - float: left; -} -.uk-float-right { - float: right; -} -/* 1 */ -[class*='uk-float-'] { - max-width: 100%; -} -/* Alignment of images and objects - ========================================================================== */ -/* - * Alignment - */ -[class*='uk-align-'] { - display: block; - margin-bottom: 15px; -} -.uk-align-left { - margin-right: 15px; - float: left; -} -.uk-align-right { - margin-left: 15px; - float: right; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-align-medium-left { - margin-right: 15px; - margin-bottom: 15px; - float: left; - } - .uk-align-medium-right { - margin-left: 15px; - margin-bottom: 15px; - float: right; - } -} -.uk-align-center { - margin-left: auto; - margin-right: auto; -} -/* Vertical alignment - ========================================================================== */ -/* - * Remove whitespace between child elements when using `inline-block` - */ -.uk-vertical-align { - font-size: 0.001px; -} -/* - * The `uk-vertical-align` container needs a specific height - */ -.uk-vertical-align:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; -} -/* - * Sub-object which can have any height - * 1. Reset whitespace hack - */ -.uk-vertical-align-middle, -.uk-vertical-align-bottom { - display: inline-block; - max-width: 100%; - /* 1 */ - font-size: 1rem; -} -.uk-vertical-align-middle { - vertical-align: middle; -} -.uk-vertical-align-bottom { - vertical-align: bottom; -} -/* Height - ========================================================================== */ -/* - * More robust if padding and border are used - */ -[class*='uk-height'] { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Useful to extend the `html` and `body` element to the full height of the page. - */ -.uk-height-1-1 { - height: 100%; -} -/* - * Useful to create image teasers - */ -.uk-height-viewport { - height: 100vh; - min-height: 600px; -} -/* Responsive objects - * Note: Images are already responsive by default, see Base component - ========================================================================== */ -/* - * 1. Corrects `max-width` and `max-height` behavior if padding and border are used - */ -.uk-responsive-width, -.uk-responsive-height { - -moz-box-sizing: border-box; - box-sizing: border-box; -} -/* - * Responsiveness: Sets a maximum width relative to the parent and auto scales the height - * `important` needed to override `uk-img-preserve img` - */ -.uk-responsive-width { - max-width: 100% !important; - height: auto; -} -/* - * Responsiveness: Sets a maximum height relative to the parent and auto scales the width - * Only works if the parent element has a fixed height. - */ -.uk-responsive-height { - max-height: 100%; - width: auto; -} -/* Margin - ========================================================================== */ -/* - * Create a block with the same margin of a paragraph - * Add margin if adjacent element - */ -.uk-margin { - margin-bottom: 15px; -} -* + .uk-margin { - margin-top: 15px; -} -.uk-margin-top { - margin-top: 15px !important; -} -.uk-margin-bottom { - margin-bottom: 15px !important; -} -.uk-margin-left { - margin-left: 15px !important; -} -.uk-margin-right { - margin-right: 15px !important; -} -/* - * Larger margins - */ -.uk-margin-large { - margin-bottom: 50px; -} -* + .uk-margin-large { - margin-top: 50px; -} -.uk-margin-large-top { - margin-top: 50px !important; -} -.uk-margin-large-bottom { - margin-bottom: 50px !important; -} -.uk-margin-large-left { - margin-left: 50px !important; -} -.uk-margin-large-right { - margin-right: 50px !important; -} -/* - * Smaller margins - */ -.uk-margin-small { - margin-bottom: 5px; -} -* + .uk-margin-small { - margin-top: 5px; -} -.uk-margin-small-top { - margin-top: 5px !important; -} -.uk-margin-small-bottom { - margin-bottom: 5px !important; -} -.uk-margin-small-left { - margin-left: 5px !important; -} -.uk-margin-small-right { - margin-right: 5px !important; -} -/* - * Remove margins - */ -.uk-margin-remove { - margin: 0 !important; -} -.uk-margin-top-remove { - margin-top: 0 !important; -} -.uk-margin-bottom-remove { - margin-bottom: 0 !important; -} -/* Padding - ========================================================================== */ -.uk-padding-remove { - padding: 0 !important; -} -.uk-padding-top-remove { - padding-top: 0 !important; -} -.uk-padding-bottom-remove { - padding-bottom: 0 !important; -} -.uk-padding-vertical-remove { - padding-top: 0 !important; - padding-bottom: 0 !important; -} -/* Border - ========================================================================== */ -.uk-border-circle { - border-radius: 50%; -} -.uk-border-rounded { - border-radius: 5px; -} -/* Headings - ========================================================================== */ -.uk-heading-large { - font-size: 36px; - line-height: 42px; -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-heading-large { - font-size: 52px; - line-height: 64px; - } -} -/* Link - ========================================================================== */ -/* - * Let links appear in default text color - */ -.uk-link-muted, -.uk-link-muted a { - color: #444444; -} -.uk-link-muted:hover, -.uk-link-muted a:hover { - color: #444444; -} -/* - * Reset link style - */ -.uk-link-reset, -.uk-link-reset a, -.uk-link-reset:hover, -.uk-link-reset a:hover, -.uk-link-reset:focus, -.uk-link-reset a:focus { - color: inherit; - text-decoration: none; -} -/* Scrollable - ========================================================================== */ -/* - * Enable scrolling for preformatted text - */ -.uk-scrollable-text { - height: 300px; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - resize: both; -} -/* - * Box with scrolling enabled - */ -.uk-scrollable-box { - -moz-box-sizing: border-box; - box-sizing: border-box; - height: 170px; - padding: 10px; - border: 1px solid #dddddd; - overflow: auto; - -webkit-overflow-scrolling: touch; - resize: both; - border-radius: 3px; -} -.uk-scrollable-box > :last-child { - margin-bottom: 0; -} -/* Overflow - ========================================================================== */ -.uk-overflow-hidden { - overflow: hidden; -} -/* - * Enable scrollbars if content is clipped - */ -.uk-overflow-container { - overflow: auto; - -webkit-overflow-scrolling: touch; -} -.uk-overflow-container > :last-child { - margin-bottom: 0; -} -/* Position - ========================================================================== */ -.uk-position-absolute, -[class*='uk-position-top'], -[class*='uk-position-bottom'] { - position: absolute !important; -} -.uk-position-top { - top: 0; - width: 100%; -} -.uk-position-bottom { - bottom: 0; - width: 100%; -} -.uk-position-top-left { - top: 0; - left: 0; -} -.uk-position-top-right { - top: 0; - right: 0; -} -.uk-position-bottom-left { - bottom: 0; - left: 0; -} -.uk-position-bottom-right { - bottom: 0; - right: 0; -} -/* - * Cover - */ -.uk-position-cover { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; -} -/* - * Relative - */ -.uk-position-relative { - position: relative !important; -} -/* - * Z-index - */ -.uk-position-z-index { - z-index: 1; -} -/* Display - ========================================================================== */ -/* - * Display - */ -.uk-display-block { - display: block !important; -} -.uk-display-inline { - display: inline !important; -} -.uk-display-inline-block { - display: inline-block !important; -} -/* - * Visibility - * Avoids setting display to `block` so it works also with `inline-block` and `table` - */ -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-medium { - display: none !important; - } - .uk-hidden-large { - display: none !important; - } -} -/* Tablets portrait */ -@media (min-width: 768px) and (max-width: 959px) { - .uk-visible-small { - display: none !important; - } - .uk-visible-large { - display: none !important ; - } - .uk-hidden-medium { - display: none !important; - } -} -/* Phone landscape and smaller*/ -@media (max-width: 767px) { - .uk-visible-medium { - display: none !important; - } - .uk-visible-large { - display: none !important; - } - .uk-hidden-small { - display: none !important; - } -} -/* Remove from the flow and screen readers on any device */ -.uk-hidden { - display: none !important; - visibility: hidden !important; -} -/* It's hidden, but still affects layout */ -.uk-invisible { - visibility: hidden !important; -} -/* Show on hover */ -.uk-visible-hover:hover .uk-hidden, -.uk-visible-hover:hover .uk-invisible { - display: block !important; - visibility: visible !important; -} -.uk-visible-hover-inline:hover .uk-hidden, -.uk-visible-hover-inline:hover .uk-invisible { - display: inline-block !important; - visibility: visible !important; -} -/* Hide on touch */ -.uk-touch .uk-hidden-touch, -.uk-notouch .uk-hidden-notouch { - display: none !important; -} -/* ======================================================================== - Component: Flex - ========================================================================== */ -.uk-flex { - display: -ms-flexbox; - display: -webkit-flex; - display: flex; -} -.uk-flex-inline { - display: -ms-inline-flexbox; - display: -webkit-inline-flex; - display: inline-flex; -} -/* - * Fixes initial flex-shrink value in IE10 - */ -.uk-flex > *, -.uk-flex-inline > * { - -ms-flex-negative: 1; -} -/* Alignment - ========================================================================== */ -/* - * Vertical alignment - * Default value is `stretch` - */ -.uk-flex-top { - -ms-flex-align: start; - -webkit-align-items: flex-start; - align-items: flex-start; -} -.uk-flex-middle { - -ms-flex-align: center; - -webkit-align-items: center; - align-items: center; -} -.uk-flex-bottom { - -ms-flex-align: end; - -webkit-align-items: flex-end; - align-items: flex-end; -} -/* - * Horizontal alignment - * Default value is `flex-start` - */ -.uk-flex-center { - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} -.uk-flex-right { - -ms-flex-pack: end; - -webkit-justify-content: flex-end; - justify-content: flex-end; -} -.uk-flex-space-between { - -ms-flex-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -} -.uk-flex-space-around { - -ms-flex-pack: distribute; - -webkit-justify-content: space-around; - justify-content: space-around; -} -/* Direction - ========================================================================== */ -.uk-flex-row-reverse { - -ms-flex-direction: row-reverse; - -webkit-flex-direction: row-reverse; - flex-direction: row-reverse; -} -.uk-flex-column { - -ms-flex-direction: column; - -webkit-flex-direction: column; - flex-direction: column; -} -.uk-flex-column-reverse { - -ms-flex-direction: column-reverse; - -webkit-flex-direction: column-reverse; - flex-direction: column-reverse; -} -/* Wrap - ========================================================================== */ -.uk-flex-nowrap { - -ms-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - flex-wrap: nowrap; -} -.uk-flex-wrap { - -ms-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - flex-wrap: wrap; -} -.uk-flex-wrap-reverse { - -ms-flex-wrap: wrap-reverse; - -webkit-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} -/* - * Horizontal alignment - * Default value is `stretch` - */ -.uk-flex-wrap-top { - -ms-flex-line-pack: start; - -webkit-align-content: flex-start; - align-content: flex-start; -} -.uk-flex-wrap-middle { - -ms-flex-line-pack: center; - -webkit-align-content: center; - align-content: center; -} -.uk-flex-wrap-bottom { - -ms-flex-line-pack: end; - -webkit-align-content: flex-end; - align-content: flex-end; -} -.uk-flex-wrap-space-between { - -ms-flex-line-pack: justify; - -webkit-align-content: space-between; - align-content: space-between; -} -.uk-flex-wrap-space-around { - -ms-flex-line-pack: distribute; - -webkit-align-content: space-around; - align-content: space-around; -} -/* Item ordering - ========================================================================== */ -/* - * Default is 0 - */ -.uk-flex-order-first { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; -} -.uk-flex-order-last { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; -} -/* Phone landscape and bigger */ -@media (min-width: 480px) { - .uk-flex-order-first-small { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-small { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Tablet and bigger */ -@media (min-width: 768px) { - .uk-flex-order-first-medium { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-medium { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Desktop and bigger */ -@media (min-width: 960px) { - .uk-flex-order-first-large { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-large { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Large screen and bigger */ -@media (min-width: 1220px) { - .uk-flex-order-first-xlarge { - -ms-flex-order: -1; - -webkit-order: -1; - order: -1; - } - .uk-flex-order-last-xlarge { - -ms-flex-order: 99; - -webkit-order: 99; - order: 99; - } -} -/* Item dimensions - ========================================================================== */ -/* - * Initial: 0 1 auto - * Content dimensions, but shrinks - */ -/* - * No Flex: 0 0 auto - * Content dimensions - */ -.uk-flex-item-none { - -ms-flex: none; - -webkit-flex: none; - flex: none; -} -/* - * Relative Flex: 1 1 auto - * Space is allocated considering content - * 1. Fixes flex-shrink value in IE10 - */ -.uk-flex-item-auto { - -ms-flex: auto; - -webkit-flex: auto; - flex: auto; - /* 1 */ - -ms-flex-negative: 1; -} -/* - * Absolute Flex: 1 1 0% - * Space is allocated solely based on flex - */ -.uk-flex-item-1 { - -ms-flex: 1; - -webkit-flex: 1; - flex: 1; -} -/* ======================================================================== - Component: Contrast - ========================================================================== */ -.uk-contrast { - color: #ffffff; -} -.uk-contrast a:not([class]), -.uk-contrast .uk-link { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast a:not([class]):hover, -.uk-contrast .uk-link:hover { - color: #ffffff; - text-decoration: underline; -} -.uk-contrast :not(pre) > code, -.uk-contrast :not(pre) > kbd, -.uk-contrast :not(pre) > samp { - color: #ffffff; - border-color: rgba(255, 255, 255, 0.2); - background: rgba(255, 255, 255, 0.1); -} -.uk-contrast em { - color: #ffffff; -} -.uk-contrast h1, -.uk-contrast h2, -.uk-contrast h3, -.uk-contrast h4, -.uk-contrast h5, -.uk-contrast h6 { - color: #ffffff; -} -.uk-contrast hr { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav li > a, -.uk-contrast .uk-nav li > a:hover { - text-decoration: none; -} -.uk-contrast .uk-nav-side > li > a { - color: #ffffff; -} -.uk-contrast .uk-nav-side > li > a:hover, -.uk-contrast .uk-nav-side > li > a:focus { - background: rgba(255, 255, 255, 0.1); - color: #ffffff; - text-shadow: none; -} -.uk-contrast .uk-nav-side > li.uk-active > a { - background: #ffffff; - color: #444444; - text-shadow: none; -} -.uk-contrast .uk-nav-side .uk-nav-header { - color: #ffffff; -} -.uk-contrast .uk-nav-side .uk-nav-divider { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-nav-side ul a { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-nav-side ul a:hover { - color: #ffffff; -} -.uk-contrast .uk-subnav > * > a { - color: rgba(255, 255, 255, 0.7); - text-decoration: none; -} -.uk-contrast .uk-subnav > * > a:hover, -.uk-contrast .uk-subnav > * > a:focus { - color: #ffffff; - text-decoration: none; -} -.uk-contrast .uk-subnav > .uk-active > a { - color: #ffffff; -} -.uk-contrast .uk-subnav-line > :nth-child(n+2):before { - border-left-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-subnav-pill > * > a:hover, -.uk-contrast .uk-subnav-pill > * > a:focus { - background: rgba(255, 255, 255, 0.7); - color: #444444; - text-decoration: none; -} -.uk-contrast .uk-subnav-pill > .uk-active > a { - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-list-line > li:nth-child(n+2) { - border-top-color: rgba(255, 255, 255, 0.2); -} -.uk-contrast .uk-form select, -.uk-contrast .uk-form textarea, -.uk-contrast .uk-form input:not([type]), -.uk-contrast .uk-form input[type="text"], -.uk-contrast .uk-form input[type="password"], -.uk-contrast .uk-form input[type="datetime"], -.uk-contrast .uk-form input[type="datetime-local"], -.uk-contrast .uk-form input[type="date"], -.uk-contrast .uk-form input[type="month"], -.uk-contrast .uk-form input[type="time"], -.uk-contrast .uk-form input[type="week"], -.uk-contrast .uk-form input[type="number"], -.uk-contrast .uk-form input[type="email"], -.uk-contrast .uk-form input[type="url"], -.uk-contrast .uk-form input[type="search"], -.uk-contrast .uk-form input[type="tel"], -.uk-contrast .uk-form input[type="color"] { - border-color: rgba(255, 255, 255, 0.8); - background: rgba(255, 255, 255, 0.8); - color: #444444; - background-clip: padding-box; -} -.uk-contrast .uk-form select:focus, -.uk-contrast .uk-form textarea:focus, -.uk-contrast .uk-form input:not([type]):focus, -.uk-contrast .uk-form input[type="text"]:focus, -.uk-contrast .uk-form input[type="password"]:focus, -.uk-contrast .uk-form input[type="datetime"]:focus, -.uk-contrast .uk-form input[type="datetime-local"]:focus, -.uk-contrast .uk-form input[type="date"]:focus, -.uk-contrast .uk-form input[type="month"]:focus, -.uk-contrast .uk-form input[type="time"]:focus, -.uk-contrast .uk-form input[type="week"]:focus, -.uk-contrast .uk-form input[type="number"]:focus, -.uk-contrast .uk-form input[type="email"]:focus, -.uk-contrast .uk-form input[type="url"]:focus, -.uk-contrast .uk-form input[type="search"]:focus, -.uk-contrast .uk-form input[type="tel"]:focus, -.uk-contrast .uk-form input[type="color"]:focus { - border-color: #ffffff; - background: #ffffff; - color: #444444; -} -.uk-contrast .uk-form :-ms-input-placeholder { - color: rgba(68, 68, 68, 0.7) !important; -} -.uk-contrast .uk-form ::-moz-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-form ::-webkit-input-placeholder { - color: rgba(68, 68, 68, 0.7); -} -.uk-contrast .uk-button { - color: #444444; - background: #ffffff; - border-color: transparent; -} -.uk-contrast .uk-button:hover, -.uk-contrast .uk-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-button:active, -.uk-contrast .uk-button.uk-active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; - box-shadow: none; -} -.uk-contrast .uk-button-primary { - background-color: #009dd8; - color: #ffffff; -} -.uk-contrast .uk-button-primary:hover, -.uk-contrast .uk-button-primary:focus { - background-color: #00aff2; - color: #ffffff; -} -.uk-contrast .uk-button-primary:active, -.uk-contrast .uk-button-primary.uk-active { - background-color: #008abf; - color: #ffffff; -} -.uk-contrast .uk-icon-hover { - color: rgba(255, 255, 255, 0.7); -} -.uk-contrast .uk-icon-hover:hover { - color: #ffffff; -} -.uk-contrast .uk-icon-button { - background: #ffffff; - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:hover, -.uk-contrast .uk-icon-button:focus { - background-color: rgba(255, 255, 255, 0.8); - color: #444444; - border-color: transparent; -} -.uk-contrast .uk-icon-button:active { - background-color: rgba(255, 255, 255, 0.7); - color: #444444; - box-shadow: none; -} -.uk-contrast .uk-text-muted { - color: rgba(255, 255, 255, 0.6) !important; -} -.uk-contrast .uk-text-primary { - color: #2d7091 !important; -} -/* ======================================================================== - Component: Print - ========================================================================== */ -@media print { - * { - background: transparent !important; - color: black !important; - box-shadow: none !important; - text-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.gradient.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.gradient.min.css deleted file mode 100644 index 219d52335..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.gradient.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444;background-image:-webkit-radial-gradient(100% 100%,center,#fff,#fff);background-image:radial-gradient(100% 100% at center,#fff,#fff)}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07d;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#d05;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;height:auto;-moz-box-sizing:border-box;box-sizing:border-box;border:0;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img{max-width:none}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#fafafa;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto;border:1px solid #ddd;border-radius:3px}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}@media (min-width:480px){.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-box{padding:15px;background:#fafafa;color:#444;border:1px solid #ddd;border-radius:4px}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#fff;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444;border:1px solid transparent;border-radius:4px}.uk-panel-hover:hover{background:#fafafa;color:#444;border-color:#ddd}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover .uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-panel-box .uk-panel-teaser{border-top-left-radius:4px;border-top-right-radius:4px;overflow:hidden;-webkit-transform:translateZ(0)}.uk-block{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-article+.uk-article{padding-top:25px;border-top:1px solid #ddd}.uk-comment-header{margin-bottom:15px;padding:10px;border:1px solid #ddd;border-radius:4px;background:#fafafa}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body{padding-left:10px;padding-right:10px}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:25px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:25px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-comment-primary .uk-comment-header{border-color:rgba(45,112,145,.3);background-color:#ebf7fd;color:#2d7091;text-shadow:0 1px 0 #fff}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.03);color:#444;outline:0;box-shadow:inset 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 #fff}.uk-nav-side>li.uk-active>a{background:#009dd8;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd;box-shadow:0 1px 0 #fff}.uk-nav-side ul a{color:#07d}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07d}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07d}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px;border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas .uk-nav-header{color:#777;margin-top:0;border-top:1px solid rgba(0,0,0,.3);background:#404040;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid rgba(255,255,255,.01);margin:0;height:4px;background:rgba(0,0,0,.2);box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-nav-offcanvas{border-bottom:1px solid rgba(0,0,0,.3);box-shadow:0 1px 0 rgba(255,255,255,.05)}.uk-nav-offcanvas .uk-nav-sub{border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.uk-navbar{background:#f7f7f7;color:#444;border:1px solid rgba(0,0,0,.1);border-bottom-color:rgba(0,0,0,.3);border-radius:4px;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee)}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:transparent;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav>li>a:active{background-color:#f5f5f5;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{-moz-box-sizing:border-box;box-sizing:border-box;display:block;height:41px;padding:0 15px;float:left;margin-top:-1px;text-shadow:0 1px 0 #fff}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07d}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px;border-bottom-left-radius:4px}.uk-navbar-flip .uk-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-navbar-flip .uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0;border-bottom-left-radius:0}.uk-navbar-flip .uk-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px;border-bottom-right-radius:4px}.uk-navbar-attached{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;border-radius:0}.uk-navbar-attached .uk-navbar-nav>li>a{border-radius:0!important}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07d;text-decoration:none}.uk-subnav>.uk-active>*{color:#07d}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px;border-radius:4px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#fafafa;color:#444;text-decoration:none;outline:0;box-shadow:0 0 0 1px rgba(0,0,0,.1)}.uk-subnav-pill>.uk-active>*{background:#009dd8;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text;box-shadow:none}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center;border-radius:4px}.uk-pagination>li>a{background:#f7f7f7;color:#444;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#fafafa;color:#444;outline:0;background-image:none}.uk-pagination>li>a:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-pagination>.uk-active>span{background:#009dd8;color:#fff;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-pagination>.uk-disabled>span{background-color:#fafafa;color:#999;border:1px solid rgba(0,0,0,.2);text-shadow:0 1px 0 #fff}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07d;text-decoration:none;border-radius:4px 4px 0 0;text-shadow:0 1px 0 #fff}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:#ddd;background:#fafafa;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-tab-bottom>li>a{border-radius:0 0 4px 4px}@media (min-width:768px){.uk-tab-left>li>a{border-radius:4px 0 0 4px}.uk-tab-right>li>a{border-radius:0 4px 4px 0}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px;border-bottom:1px solid #ddd}.uk-list-striped>li:nth-of-type(odd){background:#fafafa}.uk-list-space>li:nth-child(n+2){margin-top:10px}.uk-list-striped>li:first-child{border-top:1px solid #ddd}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px;border-bottom:1px solid #ddd}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#f0f0f0}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#fafafa}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#f0f0f0}.uk-form input,.uk-form select,.uk-form textarea{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all linear .2s;transition:all linear .2s;border-radius:4px}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#fafafa;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px;background:#f7f7f7;vertical-align:middle;line-height:28px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);border-radius:4px;text-shadow:0 1px 0 #fff}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#fafafa;color:#444;outline:0;text-decoration:none;background-image:none}.uk-button.uk-active,.uk-button:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-button-primary{background-color:#009dd8;color:#fff;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#00aff2;color:#fff;background-image:none}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#008abf;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button-success{background-color:#82bb42;color:#fff;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-success:focus,.uk-button-success:hover{background-color:#8fce48;color:#fff;background-image:none}.uk-button-success.uk-active,.uk-button-success:active{background-color:#76b430;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button-danger{background-color:#d32c46;color:#fff;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e33551;color:#fff;background-image:none}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91c37;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button:disabled{background-color:#fafafa;color:#999;border-color:rgba(0,0,0,.2);background-image:none;box-shadow:none;text-shadow:0 1px 0 #fff}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0;box-shadow:none;text-shadow:none}.uk-button-link{color:#07d}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:18px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:23px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:38px;font-size:16px;border-radius:5px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}.uk-button-group>.uk-button:not(:first-child):not(:last-child),.uk-button-group>div:not(:first-child):not(:last-child) .uk-button{border-radius:0}.uk-button-group>.uk-button:first-child,.uk-button-group>div:first-child .uk-button{border-top-right-radius:0;border-bottom-right-radius:0}.uk-button-group>.uk-button:last-child,.uk-button-group>div:last-child .uk-button{border-top-left-radius:0;border-bottom-left-radius:0}.uk-button-group>.uk-button:nth-child(n+2),.uk-button-group>div:nth-child(n+2) .uk-button{margin-left:-1px}.uk-button-group .uk-button:active{position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot?#iefix)format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2)format('woff2'),url(../fonts/fontawesome-webfont.woff)format("woff"),url(../fonts/fontawesome-webfont.ttf)format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#f7f7f7;line-height:35px;color:#444;font-size:18px;text-align:center;border:1px solid #ccc;border-bottom-color:#bbb;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#fafafa;color:#444;outline:0;background-image:none}.uk-icon-button:active{background-color:#f5f5f5;color:#444;border-color:#ccc;border-top-color:#bbb;background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#fff;opacity:1;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 0 6px rgba(0,0,0,.3)}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#009dd8;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);border-radius:2px;text-shadow:0 -1px 0 rgba(0,0,0,.2)}a.uk-badge:hover{color:#fff}.uk-badge-notification{-moz-box-sizing:border-box;box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-badge-warning{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-badge-danger{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091;border:1px solid rgba(45,112,145,.3);border-radius:4px;text-shadow:0 1px 0 #fff}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-alert-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-alert-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.05)}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0;box-shadow:0 1px 4px rgba(0,0,0,.3)}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity transform filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1)rotate(0);transform:scale(1)rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1)rotate(3deg);transform:scale(1.1)rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0)translateY(0);transform:translateX(0)translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1020;-moz-box-sizing:border-box;box-sizing:border-box;width:200px;margin-top:5px;padding:15px;background:#fff;color:#444;font-size:1rem;vertical-align:top;border:1px solid #cbcbcb;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.uk-open>.uk-dropdown{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-flip{left:auto;right:0}.uk-dropdown-up{top:auto;bottom:100%;margin-top:auto;margin-bottom:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:6px;background:#fff;color:#444;left:-1px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-dropdown-navbar.uk-dropdown-flip{left:auto}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.3)}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px);border-radius:0}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px;margin:-20px -20px 15px -20px;padding:20px;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0;background:#fafafa}.uk-modal-footer{margin-top:15px;margin:15px -20px -20px -20px;padding:20px;border-top:1px solid #ddd;border-radius:0 0 4px 4px;background:#fafafa}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-offcanvas-bar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-offcanvas-bar-flip:after{right:auto;left:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{-moz-box-sizing:border-box;box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;margin-bottom:15px;float:left}.uk-align-medium-right{margin-left:15px;margin-bottom:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{-moz-box-sizing:border-box;box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{-moz-box-sizing:border-box;box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{-moz-box-sizing:border-box;box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both;border-radius:3px}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;width:100%}.uk-position-bottom{bottom:0;width:100%}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px)and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1)}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff;text-shadow:none}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444;text-shadow:none}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff;border-color:transparent}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444;box-shadow:none}.uk-contrast .uk-button-primary{background-color:#009dd8;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#00aff2;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#008abf;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444;border-color:transparent}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444;box-shadow:none}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.min.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.min.css deleted file mode 100644 index f6ef1f633..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/css/uikit.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07d;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#d05;white-space:nowrap}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;height:auto;-moz-box-sizing:border-box;box-sizing:border-box;border:0;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img{max-width:none}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#f5f5f5;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}@media (min-width:480px){.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-box{padding:15px;background:#f5f5f5;color:#444}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box .uk-panel-teaser{margin-top:-15px;margin-left:-15px;margin-right:-15px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#eee;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444}.uk-panel-hover:hover{background:#f5f5f5;color:#444}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover .uk-panel-teaser{margin-top:-15px;margin-left:-15px;margin-right:-15px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-block{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-comment-header{margin-bottom:15px}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:15px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:15px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.05);color:#444;outline:0}.uk-nav-side>li.uk-active>a{background:#00a8e6;color:#fff}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-side ul a{color:#07d}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#00a8e6;color:#fff;outline:0}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07d}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#00a8e6;color:#fff;outline:0}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07d}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff}.uk-nav-offcanvas .uk-nav-header{color:#777}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid #1a1a1a}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-navbar{background:#eee;color:#444}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;-moz-box-sizing:border-box;box-sizing:border-box;text-decoration:none;height:40px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:#f5f5f5;color:#444;outline:0}.uk-navbar-nav>li>a:active{background-color:#ddd;color:#444}.uk-navbar-nav>li.uk-active>a{background-color:#f5f5f5;color:#444}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{-moz-box-sizing:border-box;box-sizing:border-box;display:block;height:40px;padding:0 15px;float:left}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07d}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07d;text-decoration:none}.uk-subnav>.uk-active>*{color:#07d}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#eee;color:#444;text-decoration:none;outline:0}.uk-subnav-pill>.uk-active>*{background:#00a8e6;color:#fff}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center}.uk-pagination>li>a{background:#eee;color:#444}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#f5f5f5;color:#444;outline:0}.uk-pagination>li>a:active{background-color:#ddd;color:#444}.uk-pagination>.uk-active>span{background:#00a8e6;color:#fff}.uk-pagination>.uk-disabled>span{background-color:#f5f5f5;color:#999}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07d;text-decoration:none}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:#f5f5f5;background:#f5f5f5;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px}.uk-list-striped>li:nth-of-type(odd){background:#f5f5f5}.uk-list-space>li:nth-child(n+2){margin-top:10px}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#eee}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#f5f5f5}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#eee}.uk-form input,.uk-form select,.uk-form textarea{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all linear .2s;transition:all linear .2s}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#f5f5f5;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 12px;background:#eee;vertical-align:middle;line-height:30px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#f5f5f5;color:#444;outline:0;text-decoration:none}.uk-button.uk-active,.uk-button:active{background-color:#ddd;color:#444}.uk-button-primary{background-color:#00a8e6;color:#fff}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-button-success{background-color:#8cc14c;color:#fff}.uk-button-success:focus,.uk-button-success:hover{background-color:#8ec73b;color:#fff}.uk-button-success.uk-active,.uk-button-success:active{background-color:#72ae41;color:#fff}.uk-button-danger{background-color:#da314b;color:#fff}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e4354f;color:#fff}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91032;color:#fff}.uk-button:disabled{background-color:#f5f5f5;color:#999}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0}.uk-button-link{color:#07d}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:20px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:25px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:40px;font-size:16px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot);src:url(../fonts/fontawesome-webfont.eot?#iefix)format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2)format('woff2'),url(../fonts/fontawesome-webfont.woff)format("woff"),url(../fonts/fontawesome-webfont.ttf)format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#eee;line-height:35px;color:#444;font-size:18px;text-align:center}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#f5f5f5;color:#444;outline:0}.uk-icon-button:active{background-color:#ddd;color:#444}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;-moz-box-sizing:content-box;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#eee;opacity:1}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#00a8e6;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none}a.uk-badge:hover{color:#fff}.uk-badge-notification{-moz-box-sizing:border-box;box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#8cc14c}.uk-badge-warning{background-color:#faa732}.uk-badge-danger{background-color:#da314b}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13}.uk-alert-warning{background:#fffceb;color:#e28327}.uk-alert-danger{background:#fff1f0;color:#d85030}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity transform filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1)rotate(0);transform:scale(1)rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1)rotate(3deg);transform:scale(1.1)rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0)translateY(0);transform:translateX(0)translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown{display:none;position:absolute;top:100%;left:0;z-index:1020;-moz-box-sizing:border-box;box-sizing:border-box;width:200px;margin-top:5px;padding:15px;background:#f5f5f5;color:#444;font-size:1rem;vertical-align:top}.uk-open>.uk-dropdown{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-flip{left:auto;right:0}.uk-dropdown-up{top:auto;bottom:100%;margin-top:auto;margin-bottom:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:0;background:#f5f5f5;color:#444}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;-moz-box-sizing:border-box;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px)}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px}.uk-modal-footer{margin-top:15px}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{-moz-box-sizing:border-box;box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;margin-bottom:15px;float:left}.uk-align-medium-right{margin-left:15px;margin-bottom:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{-moz-box-sizing:border-box;box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{-moz-box-sizing:border-box;box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{-moz-box-sizing:border-box;box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;width:100%}.uk-position-bottom{bottom:0;width:100%}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px)and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-button-primary{background-color:#00a8e6;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/FontAwesome.otf b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/FontAwesome.otf deleted file mode 100644 index f7936cc1e..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/FontAwesome.otf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.eot b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.eot deleted file mode 100644 index 33b2bb800..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.ttf b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.ttf deleted file mode 100644 index ed9372f8e..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.woff b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.woff deleted file mode 100644 index 8b280b98f..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.woff2 b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.woff2 deleted file mode 100644 index 3311d5851..000000000 Binary files a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/fontawesome-webfont.woff2 and /dev/null differ diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/fonts/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/accordion.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/accordion.js deleted file mode 100644 index d8a62c625..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/accordion.js +++ /dev/null @@ -1,172 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-accordion", ["uikit"], function(){ - return component || addon(UIkit); - }); - } -})(function(UI){ - - "use strict"; - - UI.component('accordion', { - - defaults: { - showfirst : true, - collapse : true, - animate : true, - easing : 'swing', - duration : 300, - toggle : '.uk-accordion-title', - containers : '.uk-accordion-content', - clsactive : 'uk-active' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - setTimeout(function(){ - - UI.$("[data-uk-accordion]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("accordion")) { - UI.accordion(ele, UI.Utils.options(ele.attr('data-uk-accordion'))); - } - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.element.on('click.uikit.accordion', this.options.toggle, function(e) { - - e.preventDefault(); - - $this.toggleItem(UI.$(this).data('wrapper'), $this.options.animate, $this.options.collapse); - }); - - this.update(); - - if (this.options.showfirst) { - this.toggleItem(this.toggle.eq(0).data('wrapper'), false, false); - } - }, - - toggleItem: function(wrapper, animated, collapse) { - - var $this = this; - - wrapper.data('toggle').toggleClass(this.options.clsactive); - - var active = wrapper.data('toggle').hasClass(this.options.clsactive); - - if (collapse) { - this.toggle.not(wrapper.data('toggle')).removeClass(this.options.clsactive); - this.content.not(wrapper.data('content')).parent().stop().css('overflow', 'hidden').animate({ height: 0 }, {easing: this.options.easing, duration: animated ? this.options.duration : 0}).attr('aria-expanded', 'false'); - } - - wrapper.stop().css('overflow', 'hidden'); - - if (animated) { - - wrapper.animate({ height: active ? getHeight(wrapper.data('content')) : 0 }, {easing: this.options.easing, duration: this.options.duration, complete: function() { - - if (active) { - wrapper.css({'overflow': '', 'height': 'auto'}); - UI.Utils.checkDisplay(wrapper.data('content')); - } - - $this.trigger('display.uk.check'); - }}); - - } else { - - wrapper.height(active ? 'auto' : 0); - - if (active) { - wrapper.css({'overflow': ''}); - UI.Utils.checkDisplay(wrapper.data('content')); - } - - this.trigger('display.uk.check'); - } - - // Update ARIA - wrapper.attr('aria-expanded', active); - - this.element.trigger('toggle.uk.accordion', [active, wrapper.data('toggle'), wrapper.data('content')]); - }, - - update: function() { - - var $this = this, $content, $wrapper, $toggle; - - this.toggle = this.find(this.options.toggle); - this.content = this.find(this.options.containers); - - this.content.each(function(index) { - - $content = UI.$(this); - - if ($content.parent().data('wrapper')) { - $wrapper = $content.parent(); - } else { - $wrapper = UI.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(); - - // Init ARIA - $wrapper.attr('aria-expanded', 'false'); - } - - $toggle = $this.toggle.eq(index); - - $wrapper.data('toggle', $toggle); - $wrapper.data('content', $content); - $toggle.data('wrapper', $wrapper); - $content.data('wrapper', $wrapper); - }); - - this.element.trigger('update.uk.accordion', [this]); - } - - }); - - // helper - - function getHeight(ele) { - - var $ele = UI.$(ele), height = "auto"; - - if ($ele.is(":visible")) { - height = $ele.outerHeight(); - } else { - - var tmp = { - position : $ele.css("position"), - visibility : $ele.css("visibility"), - display : $ele.css("display") - }; - - height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); - - $ele.css(tmp); // reset element - } - - return height; - } - - return UI.accordion; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/accordion.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/accordion.min.js deleted file mode 100644 index 7da072430..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/accordion.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-accordion",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i){var o=t.$(i),e="auto";if(o.is(":visible"))e=o.outerHeight();else{var a={position:o.css("position"),visibility:o.css("visibility"),display:o.css("display")};e=o.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),o.css(a)}return e}return t.component("accordion",{defaults:{showfirst:!0,collapse:!0,animate:!0,easing:"swing",duration:300,toggle:".uk-accordion-title",containers:".uk-accordion-content",clsactive:"uk-active"},boot:function(){t.ready(function(i){setTimeout(function(){t.$("[data-uk-accordion]",i).each(function(){var i=t.$(this);i.data("accordion")||t.accordion(i,t.Utils.options(i.attr("data-uk-accordion")))})},0)})},init:function(){var i=this;this.element.on("click.uikit.accordion",this.options.toggle,function(o){o.preventDefault(),i.toggleItem(t.$(this).data("wrapper"),i.options.animate,i.options.collapse)}),this.update(),this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,!1)},toggleItem:function(o,e,a){var n=this;o.data("toggle").toggleClass(this.options.clsactive);var s=o.data("toggle").hasClass(this.options.clsactive);a&&(this.toggle.not(o.data("toggle")).removeClass(this.options.clsactive),this.content.not(o.data("content")).parent().stop().css("overflow","hidden").animate({height:0},{easing:this.options.easing,duration:e?this.options.duration:0}).attr("aria-expanded","false")),o.stop().css("overflow","hidden"),e?o.animate({height:s?i(o.data("content")):0},{easing:this.options.easing,duration:this.options.duration,complete:function(){s&&(o.css({overflow:"",height:"auto"}),t.Utils.checkDisplay(o.data("content"))),n.trigger("display.uk.check")}}):(o.height(s?"auto":0),s&&(o.css({overflow:""}),t.Utils.checkDisplay(o.data("content"))),this.trigger("display.uk.check")),o.attr("aria-expanded",s),this.element.trigger("toggle.uk.accordion",[s,o.data("toggle"),o.data("content")])},update:function(){var i,o,e,a=this;this.toggle=this.find(this.options.toggle),this.content=this.find(this.options.containers),this.content.each(function(n){i=t.$(this),i.parent().data("wrapper")?o=i.parent():(o=t.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(),o.attr("aria-expanded","false")),e=a.toggle.eq(n),o.data("toggle",e),o.data("content",i),e.data("wrapper",o),i.data("wrapper",o)}),this.element.trigger("update.uk.accordion",[this])}}),t.accordion}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/autocomplete.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/autocomplete.js deleted file mode 100644 index 7031f9454..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/autocomplete.js +++ /dev/null @@ -1,336 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-autocomplete", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var active; - - UI.component('autocomplete', { - - defaults: { - minLength: 3, - param: 'search', - method: 'post', - delay: 300, - loadingClass: 'uk-loading', - flipDropdown: false, - skipClass: 'uk-skip', - hoverClass: 'uk-active', - source: null, - renderer: null, - - // template - - template: '<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>' - }, - - visible : false, - value : null, - selected : null, - - boot: function() { - - // init code - UI.$html.on("focus.autocomplete.uikit", "[data-uk-autocomplete]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("autocomplete")) { - var obj = UI.autocomplete(ele, UI.Utils.options(ele.attr("data-uk-autocomplete"))); - } - }); - - // register outer click for autocompletes - UI.$html.on("click.autocomplete.uikit", function(e) { - if (active && e.target!=active.input[0]) active.hide(); - }); - }, - - init: function() { - - var $this = this, - select = false, - trigger = UI.Utils.debounce(function(e) { - if(select) { - return (select = false); - } - $this.handle(); - }, this.options.delay); - - - this.dropdown = this.find('.uk-dropdown'); - this.template = this.find('script[type="text/autocomplete"]').html(); - this.template = UI.Utils.template(this.template || this.options.template); - this.input = this.find("input:first").attr("autocomplete", "off"); - - if (!this.dropdown.length) { - this.dropdown = UI.$('<div class="uk-dropdown"></div>').appendTo(this.element); - } - - if (this.options.flipDropdown) { - this.dropdown.addClass('uk-dropdown-flip'); - } - - this.dropdown.attr('aria-expanded', 'false'); - - this.input.on({ - "keydown": function(e) { - - if (e && e.which && !e.shiftKey) { - - switch (e.which) { - case 13: // enter - select = true; - - if ($this.selected) { - e.preventDefault(); - $this.select(); - } - break; - case 38: // up - e.preventDefault(); - $this.pick('prev', true); - break; - case 40: // down - e.preventDefault(); - $this.pick('next', true); - break; - case 27: - case 9: // esc, tab - $this.hide(); - break; - default: - break; - } - } - - }, - "keyup": trigger - }); - - this.dropdown.on("click", ".uk-autocomplete-results > *", function(){ - $this.select(); - }); - - this.dropdown.on("mouseover", ".uk-autocomplete-results > *", function(){ - $this.pick(UI.$(this)); - }); - - this.triggercomplete = trigger; - }, - - handle: function() { - - var $this = this, old = this.value; - - this.value = this.input.val(); - - if (this.value.length < this.options.minLength) return this.hide(); - - if (this.value != old) { - $this.request(); - } - - return this; - }, - - pick: function(item, scrollinview) { - - var $this = this, - items = UI.$(this.dropdown.find('.uk-autocomplete-results').children(':not(.'+this.options.skipClass+')')), - selected = false; - - if (typeof item !== "string" && !item.hasClass(this.options.skipClass)) { - selected = item; - } else if (item == 'next' || item == 'prev') { - - if (this.selected) { - var index = items.index(this.selected); - - if (item == 'next') { - selected = items.eq(index + 1 < items.length ? index + 1 : 0); - } else { - selected = items.eq(index - 1 < 0 ? items.length - 1 : index - 1); - } - - } else { - selected = items[(item == 'next') ? 'first' : 'last'](); - } - - selected = UI.$(selected); - } - - if (selected && selected.length) { - this.selected = selected; - items.removeClass(this.options.hoverClass); - this.selected.addClass(this.options.hoverClass); - - // jump to selected if not in view - if (scrollinview) { - - var top = selected.position().top, - scrollTop = $this.dropdown.scrollTop(), - dpheight = $this.dropdown.height(); - - if (top > dpheight || top < 0) { - $this.dropdown.scrollTop(scrollTop + top); - } - } - } - }, - - select: function() { - - if(!this.selected) return; - - var data = this.selected.data(); - - this.trigger("selectitem.uk.autocomplete", [data, this]); - - if (data.value) { - this.input.val(data.value).trigger('change'); - } - - this.hide(); - }, - - show: function() { - if (this.visible) return; - this.visible = true; - this.element.addClass("uk-open"); - - if (active && active!==this) { - active.hide(); - } - - active = this; - - // Update aria - this.dropdown.attr('aria-expanded', 'true'); - - return this; - }, - - hide: function() { - if (!this.visible) return; - this.visible = false; - this.element.removeClass("uk-open"); - - if (active === this) { - active = false; - } - - // Update aria - this.dropdown.attr('aria-expanded', 'false'); - - return this; - }, - - request: function() { - - var $this = this, - release = function(data) { - - if(data) { - $this.render(data); - } - - $this.element.removeClass($this.options.loadingClass); - }; - - this.element.addClass(this.options.loadingClass); - - if (this.options.source) { - - var source = this.options.source; - - switch(typeof(this.options.source)) { - case 'function': - - this.options.source.apply(this, [release]); - - break; - - case 'object': - - if(source.length) { - - var items = []; - - source.forEach(function(item){ - if(item.value && item.value.toLowerCase().indexOf($this.value.toLowerCase())!=-1) { - items.push(item); - } - }); - - release(items); - } - - break; - - case 'string': - - var params ={}; - - params[this.options.param] = this.value; - - UI.$.ajax({ - url: this.options.source, - data: params, - type: this.options.method, - dataType: 'json' - }).done(function(json) { - release(json || []); - }); - - break; - - default: - release(null); - } - - } else { - this.element.removeClass($this.options.loadingClass); - } - }, - - render: function(data) { - - var $this = this; - - this.dropdown.empty(); - - this.selected = false; - - if (this.options.renderer) { - - this.options.renderer.apply(this, [data]); - - } else if(data && data.length) { - - this.dropdown.append(this.template({"items":data})); - this.show(); - - this.trigger('show.uk.autocomplete'); - } - - return this; - } - }); - - return UI.autocomplete; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/autocomplete.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/autocomplete.min.js deleted file mode 100644 index 2752df499..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/autocomplete.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-autocomplete",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e;return t.component("autocomplete",{defaults:{minLength:3,param:"search",method:"post",delay:300,loadingClass:"uk-loading",flipDropdown:!1,skipClass:"uk-skip",hoverClass:"uk-active",source:null,renderer:null,template:'<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'},visible:!1,value:null,selected:null,boot:function(){t.$html.on("focus.autocomplete.uikit","[data-uk-autocomplete]",function(){var e=t.$(this);if(!e.data("autocomplete")){t.autocomplete(e,t.Utils.options(e.attr("data-uk-autocomplete")))}}),t.$html.on("click.autocomplete.uikit",function(t){e&&t.target!=e.input[0]&&e.hide()})},init:function(){var e=this,i=!1,s=t.Utils.debounce(function(){return i?i=!1:(e.handle(),void 0)},this.options.delay);this.dropdown=this.find(".uk-dropdown"),this.template=this.find('script[type="text/autocomplete"]').html(),this.template=t.Utils.template(this.template||this.options.template),this.input=this.find("input:first").attr("autocomplete","off"),this.dropdown.length||(this.dropdown=t.$('<div class="uk-dropdown"></div>').appendTo(this.element)),this.options.flipDropdown&&this.dropdown.addClass("uk-dropdown-flip"),this.dropdown.attr("aria-expanded","false"),this.input.on({keydown:function(t){if(t&&t.which&&!t.shiftKey)switch(t.which){case 13:i=!0,e.selected&&(t.preventDefault(),e.select());break;case 38:t.preventDefault(),e.pick("prev",!0);break;case 40:t.preventDefault(),e.pick("next",!0);break;case 27:case 9:e.hide()}},keyup:s}),this.dropdown.on("click",".uk-autocomplete-results > *",function(){e.select()}),this.dropdown.on("mouseover",".uk-autocomplete-results > *",function(){e.pick(t.$(this))}),this.triggercomplete=s},handle:function(){var t=this,e=this.value;return this.value=this.input.val(),this.value.length<this.options.minLength?this.hide():(this.value!=e&&t.request(),this)},pick:function(e,i){var s=this,o=t.$(this.dropdown.find(".uk-autocomplete-results").children(":not(."+this.options.skipClass+")")),n=!1;if("string"==typeof e||e.hasClass(this.options.skipClass)){if("next"==e||"prev"==e){if(this.selected){var a=o.index(this.selected);n="next"==e?o.eq(a+1<o.length?a+1:0):o.eq(0>a-1?o.length-1:a-1)}else n=o["next"==e?"first":"last"]();n=t.$(n)}}else n=e;if(n&&n.length&&(this.selected=n,o.removeClass(this.options.hoverClass),this.selected.addClass(this.options.hoverClass),i)){var l=n.position().top,h=s.dropdown.scrollTop(),r=s.dropdown.height();(l>r||0>l)&&s.dropdown.scrollTop(h+l)}},select:function(){if(this.selected){var t=this.selected.data();this.trigger("selectitem.uk.autocomplete",[t,this]),t.value&&this.input.val(t.value).trigger("change"),this.hide()}},show:function(){return this.visible?void 0:(this.visible=!0,this.element.addClass("uk-open"),e&&e!==this&&e.hide(),e=this,this.dropdown.attr("aria-expanded","true"),this)},hide:function(){return this.visible?(this.visible=!1,this.element.removeClass("uk-open"),e===this&&(e=!1),this.dropdown.attr("aria-expanded","false"),this):void 0},request:function(){var e=this,i=function(t){t&&e.render(t),e.element.removeClass(e.options.loadingClass)};if(this.element.addClass(this.options.loadingClass),this.options.source){var s=this.options.source;switch(typeof this.options.source){case"function":this.options.source.apply(this,[i]);break;case"object":if(s.length){var o=[];s.forEach(function(t){t.value&&-1!=t.value.toLowerCase().indexOf(e.value.toLowerCase())&&o.push(t)}),i(o)}break;case"string":var n={};n[this.options.param]=this.value,t.$.ajax({url:this.options.source,data:n,type:this.options.method,dataType:"json"}).done(function(t){i(t||[])});break;default:i(null)}}else this.element.removeClass(e.options.loadingClass)},render:function(t){return this.dropdown.empty(),this.selected=!1,this.options.renderer?this.options.renderer.apply(this,[t]):t&&t.length&&(this.dropdown.append(this.template({items:t})),this.show(),this.trigger("show.uk.autocomplete")),this}}),t.autocomplete}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/datepicker.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/datepicker.js deleted file mode 100644 index 6a260e1e5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/datepicker.js +++ /dev/null @@ -1,3168 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-datepicker", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - // Datepicker - - var active = false, dropdown, moment; - - UI.component('datepicker', { - - defaults: { - mobile: false, - weekstart: 1, - i18n: { - months : ['January','February','March','April','May','June','July','August','September','October','November','December'], - weekdays : ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] - }, - format: "DD.MM.YYYY", - offsettop: 5, - maxDate: false, - minDate: false, - pos: 'auto', - template: function(data, opts) { - - var content = '', maxDate, minDate, i; - - if (opts.maxDate!==false){ - maxDate = isNaN(opts.maxDate) ? moment(opts.maxDate, opts.format) : moment().add(opts.maxDate, 'days'); - } - - if (opts.minDate!==false){ - minDate = isNaN(opts.minDate) ? moment(opts.minDate, opts.format) : moment().add(opts.minDate-1, 'days'); - } - - content += '<div class="uk-datepicker-nav">'; - content += '<a href="" class="uk-datepicker-previous"></a>'; - content += '<a href="" class="uk-datepicker-next"></a>'; - - if (UI.formSelect) { - - var currentyear = (new Date()).getFullYear(), options = [], months, years, minYear, maxYear; - - for (i=0;i<opts.i18n.months.length;i++) { - if(i==data.month) { - options.push('<option value="'+i+'" selected>'+opts.i18n.months[i]+'</option>'); - } else { - options.push('<option value="'+i+'">'+opts.i18n.months[i]+'</option>'); - } - } - - months = '<span class="uk-form-select">'+ opts.i18n.months[data.month] + '<select class="update-picker-month">'+options.join('')+'</select></span>'; - - // -- - - options = []; - - minYear = minDate ? minDate.year() : currentyear - 50; - maxYear = maxDate ? maxDate.year() : currentyear + 20; - - for (i=minYear;i<=maxYear;i++) { - if (i == data.year) { - options.push('<option value="'+i+'" selected>'+i+'</option>'); - } else { - options.push('<option value="'+i+'">'+i+'</option>'); - } - } - - years = '<span class="uk-form-select">'+ data.year + '<select class="update-picker-year">'+options.join('')+'</select></span>'; - - content += '<div class="uk-datepicker-heading">'+ months + ' ' + years +'</div>'; - - } else { - content += '<div class="uk-datepicker-heading">'+ opts.i18n.months[data.month] +' '+ data.year+'</div>'; - } - - content += '</div>'; - - content += '<table class="uk-datepicker-table">'; - content += '<thead>'; - for(i = 0; i < data.weekdays.length; i++) { - if (data.weekdays[i]) { - content += '<th>'+data.weekdays[i]+'</th>'; - } - } - content += '</thead>'; - - content += '<tbody>'; - for(i = 0; i < data.days.length; i++) { - if (data.days[i] && data.days[i].length){ - content += '<tr>'; - for(var d = 0; d < data.days[i].length; d++) { - if (data.days[i][d]) { - var day = data.days[i][d], - cls = []; - - if(!day.inmonth) cls.push("uk-datepicker-table-muted"); - if(day.selected) cls.push("uk-active"); - - if (maxDate && day.day > maxDate) cls.push('uk-datepicker-date-disabled uk-datepicker-table-muted'); - if (minDate && minDate > day.day) cls.push('uk-datepicker-date-disabled uk-datepicker-table-muted'); - - content += '<td><a href="" class="'+cls.join(" ")+'" data-date="'+day.day.format()+'">'+day.day.format("D")+'</a></td>'; - } - } - content += '</tr>'; - } - } - content += '</tbody>'; - - content += '</table>'; - - return content; - } - }, - - boot: function() { - - UI.$win.on("resize orientationchange", function() { - - if (active) { - active.hide(); - } - }); - - // init code - UI.$html.on("focus.datepicker.uikit", "[data-uk-datepicker]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("datepicker")) { - e.preventDefault(); - var obj = UI.datepicker(ele, UI.Utils.options(ele.attr("data-uk-datepicker"))); - ele.trigger("focus"); - } - }); - - UI.$html.on("click.datepicker.uikit", function(e) { - - var target = UI.$(e.target); - - if (active && target[0] != dropdown[0] && !target.data("datepicker") && !target.parents(".uk-datepicker:first").length) { - active.hide(); - } - }); - }, - - init: function() { - - // use native datepicker on touch devices - if (UI.support.touch && this.element.attr('type')=='date' && !this.options.mobile) { - return; - } - - var $this = this; - - this.current = this.element.val() ? moment(this.element.val(), this.options.format) : moment(); - - this.on("click focus", function(){ - if (active!==$this) $this.pick(this.value ? this.value:($this.options.minDate ? $this.options.minDate :'')); - }).on("change", function(){ - - if ($this.element.val() && !moment($this.element.val(), $this.options.format).isValid()) { - $this.element.val(moment().format($this.options.format)); - } - }); - - // init dropdown - if (!dropdown) { - - dropdown = UI.$('<div class="uk-dropdown uk-datepicker"></div>'); - - dropdown.on("click", ".uk-datepicker-next, .uk-datepicker-previous, [data-date]", function(e){ - - e.stopPropagation(); - e.preventDefault(); - - var ele = UI.$(this); - - if (ele.hasClass('uk-datepicker-date-disabled')) return false; - - if (ele.is('[data-date]')) { - active.element.val(moment(ele.data("date")).format(active.options.format)).trigger("change"); - dropdown.hide(); - active = false; - } else { - active.add(1 * (ele.hasClass("uk-datepicker-next") ? 1:-1), "months"); - } - }); - - dropdown.on('change', '.update-picker-month, .update-picker-year', function(){ - - var select = UI.$(this); - active[select.is('.update-picker-year') ? 'setYear':'setMonth'](Number(select.val())); - }); - - dropdown.appendTo("body"); - } - }, - - pick: function(initdate) { - - var offset = this.element.offset(), - css = {"left": offset.left, "right":""}; - - this.current = initdate ? moment(initdate, this.options.format):moment(); - this.initdate = this.current.format("YYYY-MM-DD"); - - this.update(); - - if (UI.langdirection == 'right') { - css.right = window.innerWidth - (css.left + this.element.outerWidth()); - css.left = ""; - } - - var posTop = (offset.top - this.element.outerHeight() + this.element.height()) - this.options.offsettop - dropdown.outerHeight(), - posBottom = offset.top + this.element.outerHeight() + this.options.offsettop; - - css.top = posBottom; - - if (this.options.pos == 'top') { - css.top = posTop; - } else if(this.options.pos == 'auto' && (window.innerHeight - posBottom - dropdown.outerHeight() < 0 && posTop >= 0) ) { - css.top = posTop; - } - - dropdown.css(css).show(); - this.trigger('show.uk.datepicker'); - - active = this; - }, - - add: function(unit, value) { - this.current.add(unit, value); - this.update(); - }, - - setMonth: function(month) { - this.current.month(month); - this.update(); - }, - - setYear: function(year) { - this.current.year(year); - this.update(); - }, - - update: function() { - - var data = this.getRows(this.current.year(), this.current.month()), - tpl = this.options.template(data, this.options); - - dropdown.html(tpl); - - this.trigger('update.uk.datepicker'); - }, - - getRows: function(year, month) { - - var opts = this.options, - now = moment().format('YYYY-MM-DD'), - days = [31, (year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month], - before = new Date(year, month, 1).getDay(), - data = {"month":month, "year":year,"weekdays":[],"days":[]}, - row = []; - - data.weekdays = (function(){ - - for (var i=0, arr=[]; i < 7; i++) { - - var day = i + (opts.weekstart || 0); - - while (day >= 7) { - day -= 7; - } - - arr.push(opts.i18n.weekdays[day]); - } - - return arr; - })(); - - if (opts.weekstart && opts.weekstart > 0) { - before -= opts.weekstart; - if (before < 0) { - before += 7; - } - } - - var cells = days + before, after = cells; - - while(after > 7) { after -= 7; } - - cells += 7 - after; - - var day, isDisabled, isSelected, isToday, isInMonth; - - for (var i = 0, r = 0; i < cells; i++) { - - day = new Date(year, month, 1 + (i - before)); - isDisabled = (opts.mindate && day < opts.mindate) || (opts.maxdate && day > opts.maxdate); - isInMonth = !(i < before || i >= (days + before)); - - day = moment(day); - - isSelected = this.initdate == day.format("YYYY-MM-DD"); - isToday = now == day.format("YYYY-MM-DD"); - - row.push({"selected": isSelected, "today": isToday, "disabled": isDisabled, "day":day, "inmonth":isInMonth}); - - if (++r === 7) { - data.days.push(row); - row = []; - r = 0; - } - } - - return data; - }, - - hide: function() { - - if (active && active === this) { - dropdown.hide(); - active = false; - - this.trigger('hide.uk.datepicker'); - } - } - }); - - //! moment.js - //! version : 2.8.3 - //! authors : Tim Wood, Iskren Chernev, Moment.js contributors - //! license : MIT - //! momentjs.com - - moment = (function (undefined) { - /************************************ - Constants - ************************************/ - var moment, - VERSION = '2.8.3', - // the global-scope this is NOT the global object in Node.js - globalScope = typeof global !== 'undefined' ? global : this, - oldGlobalMoment, - round = Math.round, - hasOwnProperty = Object.prototype.hasOwnProperty, - i, - - YEAR = 0, - MONTH = 1, - DATE = 2, - HOUR = 3, - MINUTE = 4, - SECOND = 5, - MILLISECOND = 6, - - // internal storage for locale config files - locales = {}, - - // extra moment internal properties (plugins register props here) - momentProperties = [], - - // check for nodeJS - hasModule = (typeof module !== 'undefined' && module.exports), - - // ASP.NET json date format regex - aspNetJsonRegex = /^\/?Date\((\-?\d+)/i, - aspNetTimeSpanJsonRegex = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/, - - // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html - // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere - isoDurationRegex = /^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/, - - // format tokens - formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g, - localFormattingTokens = /(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g, - - // parsing token regexes - parseTokenOneOrTwoDigits = /\d\d?/, // 0 - 99 - parseTokenOneToThreeDigits = /\d{1,3}/, // 0 - 999 - parseTokenOneToFourDigits = /\d{1,4}/, // 0 - 9999 - parseTokenOneToSixDigits = /[+\-]?\d{1,6}/, // -999,999 - 999,999 - parseTokenDigits = /\d+/, // nonzero number of digits - parseTokenWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, // any word (or two) characters or numbers including two/three word month in arabic. - parseTokenTimezone = /Z|[\+\-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z - parseTokenT = /T/i, // T (ISO separator) - parseTokenTimestampMs = /[\+\-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 - parseTokenOrdinal = /\d{1,2}/, - - //strict parsing regexes - parseTokenOneDigit = /\d/, // 0 - 9 - parseTokenTwoDigits = /\d\d/, // 00 - 99 - parseTokenThreeDigits = /\d{3}/, // 000 - 999 - parseTokenFourDigits = /\d{4}/, // 0000 - 9999 - parseTokenSixDigits = /[+-]?\d{6}/, // -999,999 - 999,999 - parseTokenSignedNumber = /[+-]?\d+/, // -inf - inf - - // iso 8601 regex - // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) - isoRegex = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, - - isoFormat = 'YYYY-MM-DDTHH:mm:ssZ', - - isoDates = [ - ['YYYYYY-MM-DD', /[+-]\d{6}-\d{2}-\d{2}/], - ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/], - ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/], - ['GGGG-[W]WW', /\d{4}-W\d{2}/], - ['YYYY-DDD', /\d{4}-\d{3}/] - ], - - // iso time formats and regexes - isoTimes = [ - ['HH:mm:ss.SSSS', /(T| )\d\d:\d\d:\d\d\.\d+/], - ['HH:mm:ss', /(T| )\d\d:\d\d:\d\d/], - ['HH:mm', /(T| )\d\d:\d\d/], - ['HH', /(T| )\d\d/] - ], - - // timezone chunker '+10:00' > ['10', '00'] or '-1530' > ['-15', '30'] - parseTimezoneChunker = /([\+\-]|\d\d)/gi, - - // getter and setter names - proxyGettersAndSetters = 'Date|Hours|Minutes|Seconds|Milliseconds'.split('|'), - unitMillisecondFactors = { - 'Milliseconds' : 1, - 'Seconds' : 1e3, - 'Minutes' : 6e4, - 'Hours' : 36e5, - 'Days' : 864e5, - 'Months' : 2592e6, - 'Years' : 31536e6 - }, - - unitAliases = { - ms : 'millisecond', - s : 'second', - m : 'minute', - h : 'hour', - d : 'day', - D : 'date', - w : 'week', - W : 'isoWeek', - M : 'month', - Q : 'quarter', - y : 'year', - DDD : 'dayOfYear', - e : 'weekday', - E : 'isoWeekday', - gg: 'weekYear', - GG: 'isoWeekYear' - }, - - camelFunctions = { - dayofyear : 'dayOfYear', - isoweekday : 'isoWeekday', - isoweek : 'isoWeek', - weekyear : 'weekYear', - isoweekyear : 'isoWeekYear' - }, - - // format function strings - formatFunctions = {}, - - // default relative time thresholds - relativeTimeThresholds = { - s: 45, // seconds to minute - m: 45, // minutes to hour - h: 22, // hours to day - d: 26, // days to month - M: 11 // months to year - }, - - // tokens to ordinalize and pad - ordinalizeTokens = 'DDD w W M D d'.split(' '), - paddedTokens = 'M D H h m s w W'.split(' '), - - formatTokenFunctions = { - M : function () { - return this.month() + 1; - }, - MMM : function (format) { - return this.localeData().monthsShort(this, format); - }, - MMMM : function (format) { - return this.localeData().months(this, format); - }, - D : function () { - return this.date(); - }, - DDD : function () { - return this.dayOfYear(); - }, - d : function () { - return this.day(); - }, - dd : function (format) { - return this.localeData().weekdaysMin(this, format); - }, - ddd : function (format) { - return this.localeData().weekdaysShort(this, format); - }, - dddd : function (format) { - return this.localeData().weekdays(this, format); - }, - w : function () { - return this.week(); - }, - W : function () { - return this.isoWeek(); - }, - YY : function () { - return leftZeroFill(this.year() % 100, 2); - }, - YYYY : function () { - return leftZeroFill(this.year(), 4); - }, - YYYYY : function () { - return leftZeroFill(this.year(), 5); - }, - YYYYYY : function () { - var y = this.year(), sign = y >= 0 ? '+' : '-'; - return sign + leftZeroFill(Math.abs(y), 6); - }, - gg : function () { - return leftZeroFill(this.weekYear() % 100, 2); - }, - gggg : function () { - return leftZeroFill(this.weekYear(), 4); - }, - ggggg : function () { - return leftZeroFill(this.weekYear(), 5); - }, - GG : function () { - return leftZeroFill(this.isoWeekYear() % 100, 2); - }, - GGGG : function () { - return leftZeroFill(this.isoWeekYear(), 4); - }, - GGGGG : function () { - return leftZeroFill(this.isoWeekYear(), 5); - }, - e : function () { - return this.weekday(); - }, - E : function () { - return this.isoWeekday(); - }, - a : function () { - return this.localeData().meridiem(this.hours(), this.minutes(), true); - }, - A : function () { - return this.localeData().meridiem(this.hours(), this.minutes(), false); - }, - H : function () { - return this.hours(); - }, - h : function () { - return this.hours() % 12 || 12; - }, - m : function () { - return this.minutes(); - }, - s : function () { - return this.seconds(); - }, - S : function () { - return toInt(this.milliseconds() / 100); - }, - SS : function () { - return leftZeroFill(toInt(this.milliseconds() / 10), 2); - }, - SSS : function () { - return leftZeroFill(this.milliseconds(), 3); - }, - SSSS : function () { - return leftZeroFill(this.milliseconds(), 3); - }, - Z : function () { - var a = -this.zone(), - b = '+'; - if (a < 0) { - a = -a; - b = '-'; - } - return b + leftZeroFill(toInt(a / 60), 2) + ':' + leftZeroFill(toInt(a) % 60, 2); - }, - ZZ : function () { - var a = -this.zone(), - b = '+'; - if (a < 0) { - a = -a; - b = '-'; - } - return b + leftZeroFill(toInt(a / 60), 2) + leftZeroFill(toInt(a) % 60, 2); - }, - z : function () { - return this.zoneAbbr(); - }, - zz : function () { - return this.zoneName(); - }, - X : function () { - return this.unix(); - }, - Q : function () { - return this.quarter(); - } - }, - - deprecations = {}, - - lists = ['months', 'monthsShort', 'weekdays', 'weekdaysShort', 'weekdaysMin']; - - // Pick the first defined of two or three arguments. dfl comes from - // default. - function dfl(a, b, c) { - switch (arguments.length) { - case 2: return a != null ? a : b; - case 3: return a != null ? a : b != null ? b : c; - default: throw new Error('Implement me'); - } - } - - function hasOwnProp(a, b) { - return hasOwnProperty.call(a, b); - } - - function defaultParsingFlags() { - // We need to deep clone this object, and es5 standard is not very - // helpful. - return { - empty : false, - unusedTokens : [], - unusedInput : [], - overflow : -2, - charsLeftOver : 0, - nullInput : false, - invalidMonth : null, - invalidFormat : false, - userInvalidated : false, - iso: false - }; - } - - function printMsg(msg) { - if (moment.suppressDeprecationWarnings === false && - typeof console !== 'undefined' && console.warn) { - console.warn('Deprecation warning: ' + msg); - } - } - - function deprecate(msg, fn) { - var firstTime = true; - return extend(function () { - if (firstTime) { - printMsg(msg); - firstTime = false; - } - return fn.apply(this, arguments); - }, fn); - } - - function deprecateSimple(name, msg) { - if (!deprecations[name]) { - printMsg(msg); - deprecations[name] = true; - } - } - - function padToken(func, count) { - return function (a) { - return leftZeroFill(func.call(this, a), count); - }; - } - function ordinalizeToken(func, period) { - return function (a) { - return this.localeData().ordinal(func.call(this, a), period); - }; - } - - while (ordinalizeTokens.length) { - i = ordinalizeTokens.pop(); - formatTokenFunctions[i + 'o'] = ordinalizeToken(formatTokenFunctions[i], i); - } - while (paddedTokens.length) { - i = paddedTokens.pop(); - formatTokenFunctions[i + i] = padToken(formatTokenFunctions[i], 2); - } - formatTokenFunctions.DDDD = padToken(formatTokenFunctions.DDD, 3); - - - /************************************ - Constructors - ************************************/ - - function Locale() { - } - - // Moment prototype object - function Moment(config, skipOverflow) { - if (skipOverflow !== false) { - checkOverflow(config); - } - copyConfig(this, config); - this._d = new Date(+config._d); - } - - // Duration Constructor - function Duration(duration) { - var normalizedInput = normalizeObjectUnits(duration), - years = normalizedInput.year || 0, - quarters = normalizedInput.quarter || 0, - months = normalizedInput.month || 0, - weeks = normalizedInput.week || 0, - days = normalizedInput.day || 0, - hours = normalizedInput.hour || 0, - minutes = normalizedInput.minute || 0, - seconds = normalizedInput.second || 0, - milliseconds = normalizedInput.millisecond || 0; - - // representation for dateAddRemove - this._milliseconds = +milliseconds + - seconds * 1e3 + // 1000 - minutes * 6e4 + // 1000 * 60 - hours * 36e5; // 1000 * 60 * 60 - // Because of dateAddRemove treats 24 hours as different from a - // day when working around DST, we need to store them separately - this._days = +days + - weeks * 7; - // It is impossible translate months into days without knowing - // which months you are are talking about, so we have to store - // it separately. - this._months = +months + - quarters * 3 + - years * 12; - - this._data = {}; - - this._locale = moment.localeData(); - - this._bubble(); - } - - /************************************ - Helpers - ************************************/ - - - function extend(a, b) { - for (var i in b) { - if (hasOwnProp(b, i)) { - a[i] = b[i]; - } - } - - if (hasOwnProp(b, 'toString')) { - a.toString = b.toString; - } - - if (hasOwnProp(b, 'valueOf')) { - a.valueOf = b.valueOf; - } - - return a; - } - - function copyConfig(to, from) { - var i, prop, val; - - if (typeof from._isAMomentObject !== 'undefined') { - to._isAMomentObject = from._isAMomentObject; - } - if (typeof from._i !== 'undefined') { - to._i = from._i; - } - if (typeof from._f !== 'undefined') { - to._f = from._f; - } - if (typeof from._l !== 'undefined') { - to._l = from._l; - } - if (typeof from._strict !== 'undefined') { - to._strict = from._strict; - } - if (typeof from._tzm !== 'undefined') { - to._tzm = from._tzm; - } - if (typeof from._isUTC !== 'undefined') { - to._isUTC = from._isUTC; - } - if (typeof from._offset !== 'undefined') { - to._offset = from._offset; - } - if (typeof from._pf !== 'undefined') { - to._pf = from._pf; - } - if (typeof from._locale !== 'undefined') { - to._locale = from._locale; - } - - if (momentProperties.length > 0) { - for (i in momentProperties) { - prop = momentProperties[i]; - val = from[prop]; - if (typeof val !== 'undefined') { - to[prop] = val; - } - } - } - - return to; - } - - function absRound(number) { - if (number < 0) { - return Math.ceil(number); - } else { - return Math.floor(number); - } - } - - // left zero fill a number - // see http://jsperf.com/left-zero-filling for performance comparison - function leftZeroFill(number, targetLength, forceSign) { - var output = '' + Math.abs(number), - sign = number >= 0; - - while (output.length < targetLength) { - output = '0' + output; - } - return (sign ? (forceSign ? '+' : '') : '-') + output; - } - - function positiveMomentsDifference(base, other) { - var res = {milliseconds: 0, months: 0}; - - res.months = other.month() - base.month() + - (other.year() - base.year()) * 12; - if (base.clone().add(res.months, 'M').isAfter(other)) { - --res.months; - } - - res.milliseconds = +other - +(base.clone().add(res.months, 'M')); - - return res; - } - - function momentsDifference(base, other) { - var res; - other = makeAs(other, base); - if (base.isBefore(other)) { - res = positiveMomentsDifference(base, other); - } else { - res = positiveMomentsDifference(other, base); - res.milliseconds = -res.milliseconds; - res.months = -res.months; - } - - return res; - } - - // TODO: remove 'name' arg after deprecation is removed - function createAdder(direction, name) { - return function (val, period) { - var dur, tmp; - //invert the arguments, but complain about it - if (period !== null && !isNaN(+period)) { - deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period).'); - tmp = val; val = period; period = tmp; - } - - val = typeof val === 'string' ? +val : val; - dur = moment.duration(val, period); - addOrSubtractDurationFromMoment(this, dur, direction); - return this; - }; - } - - function addOrSubtractDurationFromMoment(mom, duration, isAdding, updateOffset) { - var milliseconds = duration._milliseconds, - days = duration._days, - months = duration._months; - updateOffset = updateOffset == null ? true : updateOffset; - - if (milliseconds) { - mom._d.setTime(+mom._d + milliseconds * isAdding); - } - if (days) { - rawSetter(mom, 'Date', rawGetter(mom, 'Date') + days * isAdding); - } - if (months) { - rawMonthSetter(mom, rawGetter(mom, 'Month') + months * isAdding); - } - if (updateOffset) { - moment.updateOffset(mom, days || months); - } - } - - // check if is an array - function isArray(input) { - return Object.prototype.toString.call(input) === '[object Array]'; - } - - function isDate(input) { - return Object.prototype.toString.call(input) === '[object Date]' || - input instanceof Date; - } - - // compare two arrays, return the number of differences - function compareArrays(array1, array2, dontConvert) { - var len = Math.min(array1.length, array2.length), - lengthDiff = Math.abs(array1.length - array2.length), - diffs = 0, - i; - for (i = 0; i < len; i++) { - if ((dontConvert && array1[i] !== array2[i]) || - (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { - diffs++; - } - } - return diffs + lengthDiff; - } - - function normalizeUnits(units) { - if (units) { - var lowered = units.toLowerCase().replace(/(.)s$/, '$1'); - units = unitAliases[units] || camelFunctions[lowered] || lowered; - } - return units; - } - - function normalizeObjectUnits(inputObject) { - var normalizedInput = {}, - normalizedProp, - prop; - - for (prop in inputObject) { - if (hasOwnProp(inputObject, prop)) { - normalizedProp = normalizeUnits(prop); - if (normalizedProp) { - normalizedInput[normalizedProp] = inputObject[prop]; - } - } - } - - return normalizedInput; - } - - function makeList(field) { - var count, setter; - - if (field.indexOf('week') === 0) { - count = 7; - setter = 'day'; - } - else if (field.indexOf('month') === 0) { - count = 12; - setter = 'month'; - } - else { - return; - } - - moment[field] = function (format, index) { - var i, getter, - method = moment._locale[field], - results = []; - - if (typeof format === 'number') { - index = format; - format = undefined; - } - - getter = function (i) { - var m = moment().utc().set(setter, i); - return method.call(moment._locale, m, format || ''); - }; - - if (index != null) { - return getter(index); - } - else { - for (i = 0; i < count; i++) { - results.push(getter(i)); - } - return results; - } - }; - } - - function toInt(argumentForCoercion) { - var coercedNumber = +argumentForCoercion, - value = 0; - - if (coercedNumber !== 0 && isFinite(coercedNumber)) { - if (coercedNumber >= 0) { - value = Math.floor(coercedNumber); - } else { - value = Math.ceil(coercedNumber); - } - } - - return value; - } - - function daysInMonth(year, month) { - return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); - } - - function weeksInYear(year, dow, doy) { - return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week; - } - - function daysInYear(year) { - return isLeapYear(year) ? 366 : 365; - } - - function isLeapYear(year) { - return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; - } - - function checkOverflow(m) { - var overflow; - if (m._a && m._pf.overflow === -2) { - overflow = - m._a[MONTH] < 0 || m._a[MONTH] > 11 ? MONTH : - m._a[DATE] < 1 || m._a[DATE] > daysInMonth(m._a[YEAR], m._a[MONTH]) ? DATE : - m._a[HOUR] < 0 || m._a[HOUR] > 23 ? HOUR : - m._a[MINUTE] < 0 || m._a[MINUTE] > 59 ? MINUTE : - m._a[SECOND] < 0 || m._a[SECOND] > 59 ? SECOND : - m._a[MILLISECOND] < 0 || m._a[MILLISECOND] > 999 ? MILLISECOND : - -1; - - if (m._pf._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { - overflow = DATE; - } - - m._pf.overflow = overflow; - } - } - - function isValid(m) { - if (m._isValid == null) { - m._isValid = !isNaN(m._d.getTime()) && - m._pf.overflow < 0 && - !m._pf.empty && - !m._pf.invalidMonth && - !m._pf.nullInput && - !m._pf.invalidFormat && - !m._pf.userInvalidated; - - if (m._strict) { - m._isValid = m._isValid && - m._pf.charsLeftOver === 0 && - m._pf.unusedTokens.length === 0; - } - } - return m._isValid; - } - - function normalizeLocale(key) { - return key ? key.toLowerCase().replace('_', '-') : key; - } - - // pick the locale from the array - // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each - // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root - function chooseLocale(names) { - var i = 0, j, next, locale, split; - - while (i < names.length) { - split = normalizeLocale(names[i]).split('-'); - j = split.length; - next = normalizeLocale(names[i + 1]); - next = next ? next.split('-') : null; - while (j > 0) { - locale = loadLocale(split.slice(0, j).join('-')); - if (locale) { - return locale; - } - if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { - //the next array item is better than a shallower substring of this one - break; - } - j--; - } - i++; - } - return null; - } - - function loadLocale(name) { - var oldLocale = null; - if (!locales[name] && hasModule) { - try { - oldLocale = moment.locale(); - require('./locale/' + name); - // because defineLocale currently also sets the global locale, we want to undo that for lazy loaded locales - moment.locale(oldLocale); - } catch (e) { } - } - return locales[name]; - } - - // Return a moment from input, that is local/utc/zone equivalent to model. - function makeAs(input, model) { - return model._isUTC ? moment(input).zone(model._offset || 0) : - moment(input).local(); - } - - /************************************ - Locale - ************************************/ - - - extend(Locale.prototype, { - - set : function (config) { - var prop, i; - for (i in config) { - prop = config[i]; - if (typeof prop === 'function') { - this[i] = prop; - } else { - this['_' + i] = prop; - } - } - }, - - _months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), - months : function (m) { - return this._months[m.month()]; - }, - - _monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - monthsShort : function (m) { - return this._monthsShort[m.month()]; - }, - - monthsParse : function (monthName) { - var i, mom, regex; - - if (!this._monthsParse) { - this._monthsParse = []; - } - - for (i = 0; i < 12; i++) { - // make the regex if we don't have it already - if (!this._monthsParse[i]) { - mom = moment.utc([2000, i]); - regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); - this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (this._monthsParse[i].test(monthName)) { - return i; - } - } - }, - - _weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdays : function (m) { - return this._weekdays[m.day()]; - }, - - _weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysShort : function (m) { - return this._weekdaysShort[m.day()]; - }, - - _weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - weekdaysMin : function (m) { - return this._weekdaysMin[m.day()]; - }, - - weekdaysParse : function (weekdayName) { - var i, mom, regex; - - if (!this._weekdaysParse) { - this._weekdaysParse = []; - } - - for (i = 0; i < 7; i++) { - // make the regex if we don't have it already - if (!this._weekdaysParse[i]) { - mom = moment([2000, 1]).day(i); - regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); - this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (this._weekdaysParse[i].test(weekdayName)) { - return i; - } - } - }, - - _longDateFormat : { - LT : 'h:mm A', - L : 'MM/DD/YYYY', - LL : 'MMMM D, YYYY', - LLL : 'MMMM D, YYYY LT', - LLLL : 'dddd, MMMM D, YYYY LT' - }, - longDateFormat : function (key) { - var output = this._longDateFormat[key]; - if (!output && this._longDateFormat[key.toUpperCase()]) { - output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) { - return val.slice(1); - }); - this._longDateFormat[key] = output; - } - return output; - }, - - isPM : function (input) { - // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays - // Using charAt should be more compatible. - return ((input + '').toLowerCase().charAt(0) === 'p'); - }, - - _meridiemParse : /[ap]\.?m?\.?/i, - meridiem : function (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'pm' : 'PM'; - } else { - return isLower ? 'am' : 'AM'; - } - }, - - _calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - calendar : function (key, mom) { - var output = this._calendar[key]; - return typeof output === 'function' ? output.apply(mom) : output; - }, - - _relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - - relativeTime : function (number, withoutSuffix, string, isFuture) { - var output = this._relativeTime[string]; - return (typeof output === 'function') ? - output(number, withoutSuffix, string, isFuture) : - output.replace(/%d/i, number); - }, - - pastFuture : function (diff, output) { - var format = this._relativeTime[diff > 0 ? 'future' : 'past']; - return typeof format === 'function' ? format(output) : format.replace(/%s/i, output); - }, - - ordinal : function (number) { - return this._ordinal.replace('%d', number); - }, - _ordinal : '%d', - - preparse : function (string) { - return string; - }, - - postformat : function (string) { - return string; - }, - - week : function (mom) { - return weekOfYear(mom, this._week.dow, this._week.doy).week; - }, - - _week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. - }, - - _invalidDate: 'Invalid date', - invalidDate: function () { - return this._invalidDate; - } - }); - - /************************************ - Formatting - ************************************/ - - - function removeFormattingTokens(input) { - if (input.match(/\[[\s\S]/)) { - return input.replace(/^\[|\]$/g, ''); - } - return input.replace(/\\/g, ''); - } - - function makeFormatFunction(format) { - var array = format.match(formattingTokens), i, length; - - for (i = 0, length = array.length; i < length; i++) { - if (formatTokenFunctions[array[i]]) { - array[i] = formatTokenFunctions[array[i]]; - } else { - array[i] = removeFormattingTokens(array[i]); - } - } - - return function (mom) { - var output = ''; - for (i = 0; i < length; i++) { - output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; - } - return output; - }; - } - - // format date using native date object - function formatMoment(m, format) { - if (!m.isValid()) { - return m.localeData().invalidDate(); - } - - format = expandFormat(format, m.localeData()); - - if (!formatFunctions[format]) { - formatFunctions[format] = makeFormatFunction(format); - } - - return formatFunctions[format](m); - } - - function expandFormat(format, locale) { - var i = 5; - - function replaceLongDateFormatTokens(input) { - return locale.longDateFormat(input) || input; - } - - localFormattingTokens.lastIndex = 0; - while (i >= 0 && localFormattingTokens.test(format)) { - format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); - localFormattingTokens.lastIndex = 0; - i -= 1; - } - - return format; - } - - - /************************************ - Parsing - ************************************/ - - - // get the regex to find the next token - function getParseRegexForToken(token, config) { - var a, strict = config._strict; - switch (token) { - case 'Q': - return parseTokenOneDigit; - case 'DDDD': - return parseTokenThreeDigits; - case 'YYYY': - case 'GGGG': - case 'gggg': - return strict ? parseTokenFourDigits : parseTokenOneToFourDigits; - case 'Y': - case 'G': - case 'g': - return parseTokenSignedNumber; - case 'YYYYYY': - case 'YYYYY': - case 'GGGGG': - case 'ggggg': - return strict ? parseTokenSixDigits : parseTokenOneToSixDigits; - case 'S': - if (strict) { - return parseTokenOneDigit; - } - /* falls through */ - case 'SS': - if (strict) { - return parseTokenTwoDigits; - } - /* falls through */ - case 'SSS': - if (strict) { - return parseTokenThreeDigits; - } - /* falls through */ - case 'DDD': - return parseTokenOneToThreeDigits; - case 'MMM': - case 'MMMM': - case 'dd': - case 'ddd': - case 'dddd': - return parseTokenWord; - case 'a': - case 'A': - return config._locale._meridiemParse; - case 'X': - return parseTokenTimestampMs; - case 'Z': - case 'ZZ': - return parseTokenTimezone; - case 'T': - return parseTokenT; - case 'SSSS': - return parseTokenDigits; - case 'MM': - case 'DD': - case 'YY': - case 'GG': - case 'gg': - case 'HH': - case 'hh': - case 'mm': - case 'ss': - case 'ww': - case 'WW': - return strict ? parseTokenTwoDigits : parseTokenOneOrTwoDigits; - case 'M': - case 'D': - case 'd': - case 'H': - case 'h': - case 'm': - case 's': - case 'w': - case 'W': - case 'e': - case 'E': - return parseTokenOneOrTwoDigits; - case 'Do': - return parseTokenOrdinal; - default : - a = new RegExp(regexpEscape(unescapeFormat(token.replace('\\', '')), 'i')); - return a; - } - } - - function timezoneMinutesFromString(string) { - string = string || ''; - var possibleTzMatches = (string.match(parseTokenTimezone) || []), - tzChunk = possibleTzMatches[possibleTzMatches.length - 1] || [], - parts = (tzChunk + '').match(parseTimezoneChunker) || ['-', 0, 0], - minutes = +(parts[1] * 60) + toInt(parts[2]); - - return parts[0] === '+' ? -minutes : minutes; - } - - // function to convert string input to date - function addTimeToArrayFromToken(token, input, config) { - var a, datePartArray = config._a; - - switch (token) { - // QUARTER - case 'Q': - if (input != null) { - datePartArray[MONTH] = (toInt(input) - 1) * 3; - } - break; - // MONTH - case 'M' : // fall through to MM - case 'MM' : - if (input != null) { - datePartArray[MONTH] = toInt(input) - 1; - } - break; - case 'MMM' : // fall through to MMMM - case 'MMMM' : - a = config._locale.monthsParse(input); - // if we didn't find a month name, mark the date as invalid. - if (a != null) { - datePartArray[MONTH] = a; - } else { - config._pf.invalidMonth = input; - } - break; - // DAY OF MONTH - case 'D' : // fall through to DD - case 'DD' : - if (input != null) { - datePartArray[DATE] = toInt(input); - } - break; - case 'Do' : - if (input != null) { - datePartArray[DATE] = toInt(parseInt(input, 10)); - } - break; - // DAY OF YEAR - case 'DDD' : // fall through to DDDD - case 'DDDD' : - if (input != null) { - config._dayOfYear = toInt(input); - } - - break; - // YEAR - case 'YY' : - datePartArray[YEAR] = moment.parseTwoDigitYear(input); - break; - case 'YYYY' : - case 'YYYYY' : - case 'YYYYYY' : - datePartArray[YEAR] = toInt(input); - break; - // AM / PM - case 'a' : // fall through to A - case 'A' : - config._isPm = config._locale.isPM(input); - break; - // 24 HOUR - case 'H' : // fall through to hh - case 'HH' : // fall through to hh - case 'h' : // fall through to hh - case 'hh' : - datePartArray[HOUR] = toInt(input); - break; - // MINUTE - case 'm' : // fall through to mm - case 'mm' : - datePartArray[MINUTE] = toInt(input); - break; - // SECOND - case 's' : // fall through to ss - case 'ss' : - datePartArray[SECOND] = toInt(input); - break; - // MILLISECOND - case 'S' : - case 'SS' : - case 'SSS' : - case 'SSSS' : - datePartArray[MILLISECOND] = toInt(('0.' + input) * 1000); - break; - // UNIX TIMESTAMP WITH MS - case 'X': - config._d = new Date(parseFloat(input) * 1000); - break; - // TIMEZONE - case 'Z' : // fall through to ZZ - case 'ZZ' : - config._useUTC = true; - config._tzm = timezoneMinutesFromString(input); - break; - // WEEKDAY - human - case 'dd': - case 'ddd': - case 'dddd': - a = config._locale.weekdaysParse(input); - // if we didn't get a weekday name, mark the date as invalid - if (a != null) { - config._w = config._w || {}; - config._w['d'] = a; - } else { - config._pf.invalidWeekday = input; - } - break; - // WEEK, WEEK DAY - numeric - case 'w': - case 'ww': - case 'W': - case 'WW': - case 'd': - case 'e': - case 'E': - token = token.substr(0, 1); - /* falls through */ - case 'gggg': - case 'GGGG': - case 'GGGGG': - token = token.substr(0, 2); - if (input) { - config._w = config._w || {}; - config._w[token] = toInt(input); - } - break; - case 'gg': - case 'GG': - config._w = config._w || {}; - config._w[token] = moment.parseTwoDigitYear(input); - } - } - - function dayOfYearFromWeekInfo(config) { - var w, weekYear, week, weekday, dow, doy, temp; - - w = config._w; - if (w.GG != null || w.W != null || w.E != null) { - dow = 1; - doy = 4; - - // TODO: We need to take the current isoWeekYear, but that depends on - // how we interpret now (local, utc, fixed offset). So create - // a now version of current config (take local/utc/offset flags, and - // create now). - weekYear = dfl(w.GG, config._a[YEAR], weekOfYear(moment(), 1, 4).year); - week = dfl(w.W, 1); - weekday = dfl(w.E, 1); - } else { - dow = config._locale._week.dow; - doy = config._locale._week.doy; - - weekYear = dfl(w.gg, config._a[YEAR], weekOfYear(moment(), dow, doy).year); - week = dfl(w.w, 1); - - if (w.d != null) { - // weekday -- low day numbers are considered next week - weekday = w.d; - if (weekday < dow) { - ++week; - } - } else if (w.e != null) { - // local weekday -- counting starts from begining of week - weekday = w.e + dow; - } else { - // default to begining of week - weekday = dow; - } - } - temp = dayOfYearFromWeeks(weekYear, week, weekday, doy, dow); - - config._a[YEAR] = temp.year; - config._dayOfYear = temp.dayOfYear; - } - - // convert an array to a date. - // the array should mirror the parameters below - // note: all values past the year are optional and will default to the lowest possible value. - // [year, month, day , hour, minute, second, millisecond] - function dateFromConfig(config) { - var i, date, input = [], currentDate, yearToUse; - - if (config._d) { - return; - } - - currentDate = currentDateArray(config); - - //compute day of the year from weeks and weekdays - if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { - dayOfYearFromWeekInfo(config); - } - - //if the day of the year is set, figure out what it is - if (config._dayOfYear) { - yearToUse = dfl(config._a[YEAR], currentDate[YEAR]); - - if (config._dayOfYear > daysInYear(yearToUse)) { - config._pf._overflowDayOfYear = true; - } - - date = makeUTCDate(yearToUse, 0, config._dayOfYear); - config._a[MONTH] = date.getUTCMonth(); - config._a[DATE] = date.getUTCDate(); - } - - // Default to current date. - // * if no year, month, day of month are given, default to today - // * if day of month is given, default month and year - // * if month is given, default only year - // * if year is given, don't default anything - for (i = 0; i < 3 && config._a[i] == null; ++i) { - config._a[i] = input[i] = currentDate[i]; - } - - // Zero out whatever was not defaulted, including time - for (; i < 7; i++) { - config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; - } - - config._d = (config._useUTC ? makeUTCDate : makeDate).apply(null, input); - // Apply timezone offset from input. The actual zone can be changed - // with parseZone. - if (config._tzm != null) { - config._d.setUTCMinutes(config._d.getUTCMinutes() + config._tzm); - } - } - - function dateFromObject(config) { - var normalizedInput; - - if (config._d) { - return; - } - - normalizedInput = normalizeObjectUnits(config._i); - config._a = [ - normalizedInput.year, - normalizedInput.month, - normalizedInput.day, - normalizedInput.hour, - normalizedInput.minute, - normalizedInput.second, - normalizedInput.millisecond - ]; - - dateFromConfig(config); - } - - function currentDateArray(config) { - var now = new Date(); - if (config._useUTC) { - return [ - now.getUTCFullYear(), - now.getUTCMonth(), - now.getUTCDate() - ]; - } else { - return [now.getFullYear(), now.getMonth(), now.getDate()]; - } - } - - // date from string and format string - function makeDateFromStringAndFormat(config) { - if (config._f === moment.ISO_8601) { - parseISO(config); - return; - } - - config._a = []; - config._pf.empty = true; - - // This array is used to make a Date, either with `new Date` or `Date.UTC` - var string = '' + config._i, - i, parsedInput, tokens, token, skipped, - stringLength = string.length, - totalParsedInputLength = 0; - - tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; - - for (i = 0; i < tokens.length; i++) { - token = tokens[i]; - parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; - if (parsedInput) { - skipped = string.substr(0, string.indexOf(parsedInput)); - if (skipped.length > 0) { - config._pf.unusedInput.push(skipped); - } - string = string.slice(string.indexOf(parsedInput) + parsedInput.length); - totalParsedInputLength += parsedInput.length; - } - // don't parse if it's not a known token - if (formatTokenFunctions[token]) { - if (parsedInput) { - config._pf.empty = false; - } - else { - config._pf.unusedTokens.push(token); - } - addTimeToArrayFromToken(token, parsedInput, config); - } - else if (config._strict && !parsedInput) { - config._pf.unusedTokens.push(token); - } - } - - // add remaining unparsed input length to the string - config._pf.charsLeftOver = stringLength - totalParsedInputLength; - if (string.length > 0) { - config._pf.unusedInput.push(string); - } - - // handle am pm - if (config._isPm && config._a[HOUR] < 12) { - config._a[HOUR] += 12; - } - // if is 12 am, change hours to 0 - if (config._isPm === false && config._a[HOUR] === 12) { - config._a[HOUR] = 0; - } - - dateFromConfig(config); - checkOverflow(config); - } - - function unescapeFormat(s) { - return s.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { - return p1 || p2 || p3 || p4; - }); - } - - // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript - function regexpEscape(s) { - return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); - } - - // date from string and array of format strings - function makeDateFromStringAndArray(config) { - var tempConfig, - bestMoment, - - scoreToBeat, - i, - currentScore; - - if (config._f.length === 0) { - config._pf.invalidFormat = true; - config._d = new Date(NaN); - return; - } - - for (i = 0; i < config._f.length; i++) { - currentScore = 0; - tempConfig = copyConfig({}, config); - if (config._useUTC != null) { - tempConfig._useUTC = config._useUTC; - } - tempConfig._pf = defaultParsingFlags(); - tempConfig._f = config._f[i]; - makeDateFromStringAndFormat(tempConfig); - - if (!isValid(tempConfig)) { - continue; - } - - // if there is any input that was not parsed add a penalty for that format - currentScore += tempConfig._pf.charsLeftOver; - - //or tokens - currentScore += tempConfig._pf.unusedTokens.length * 10; - - tempConfig._pf.score = currentScore; - - if (scoreToBeat == null || currentScore < scoreToBeat) { - scoreToBeat = currentScore; - bestMoment = tempConfig; - } - } - - extend(config, bestMoment || tempConfig); - } - - // date from iso format - function parseISO(config) { - var i, l, - string = config._i, - match = isoRegex.exec(string); - - if (match) { - config._pf.iso = true; - for (i = 0, l = isoDates.length; i < l; i++) { - if (isoDates[i][1].exec(string)) { - // match[5] should be 'T' or undefined - config._f = isoDates[i][0] + (match[6] || ' '); - break; - } - } - for (i = 0, l = isoTimes.length; i < l; i++) { - if (isoTimes[i][1].exec(string)) { - config._f += isoTimes[i][0]; - break; - } - } - if (string.match(parseTokenTimezone)) { - config._f += 'Z'; - } - makeDateFromStringAndFormat(config); - } else { - config._isValid = false; - } - } - - // date from iso format or fallback - function makeDateFromString(config) { - parseISO(config); - if (config._isValid === false) { - delete config._isValid; - moment.createFromInputFallback(config); - } - } - - function map(arr, fn) { - var res = [], i; - for (i = 0; i < arr.length; ++i) { - res.push(fn(arr[i], i)); - } - return res; - } - - function makeDateFromInput(config) { - var input = config._i, matched; - if (input === undefined) { - config._d = new Date(); - } else if (isDate(input)) { - config._d = new Date(+input); - } else if ((matched = aspNetJsonRegex.exec(input)) !== null) { - config._d = new Date(+matched[1]); - } else if (typeof input === 'string') { - makeDateFromString(config); - } else if (isArray(input)) { - config._a = map(input.slice(0), function (obj) { - return parseInt(obj, 10); - }); - dateFromConfig(config); - } else if (typeof(input) === 'object') { - dateFromObject(config); - } else if (typeof(input) === 'number') { - // from milliseconds - config._d = new Date(input); - } else { - moment.createFromInputFallback(config); - } - } - - function makeDate(y, m, d, h, M, s, ms) { - //can't just apply() to create a date: - //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply - var date = new Date(y, m, d, h, M, s, ms); - - //the date constructor doesn't accept years < 1970 - if (y < 1970) { - date.setFullYear(y); - } - return date; - } - - function makeUTCDate(y) { - var date = new Date(Date.UTC.apply(null, arguments)); - if (y < 1970) { - date.setUTCFullYear(y); - } - return date; - } - - function parseWeekday(input, locale) { - if (typeof input === 'string') { - if (!isNaN(input)) { - input = parseInt(input, 10); - } - else { - input = locale.weekdaysParse(input); - if (typeof input !== 'number') { - return null; - } - } - } - return input; - } - - /************************************ - Relative Time - ************************************/ - - - // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize - function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { - return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); - } - - function relativeTime(posNegDuration, withoutSuffix, locale) { - var duration = moment.duration(posNegDuration).abs(), - seconds = round(duration.as('s')), - minutes = round(duration.as('m')), - hours = round(duration.as('h')), - days = round(duration.as('d')), - months = round(duration.as('M')), - years = round(duration.as('y')), - - args = seconds < relativeTimeThresholds.s && ['s', seconds] || - minutes === 1 && ['m'] || - minutes < relativeTimeThresholds.m && ['mm', minutes] || - hours === 1 && ['h'] || - hours < relativeTimeThresholds.h && ['hh', hours] || - days === 1 && ['d'] || - days < relativeTimeThresholds.d && ['dd', days] || - months === 1 && ['M'] || - months < relativeTimeThresholds.M && ['MM', months] || - years === 1 && ['y'] || ['yy', years]; - - args[2] = withoutSuffix; - args[3] = +posNegDuration > 0; - args[4] = locale; - return substituteTimeAgo.apply({}, args); - } - - - /************************************ - Week of Year - ************************************/ - - - // firstDayOfWeek 0 = sun, 6 = sat - // the day of the week that starts the week - // (usually sunday or monday) - // firstDayOfWeekOfYear 0 = sun, 6 = sat - // the first week is the week that contains the first - // of this day of the week - // (eg. ISO weeks use thursday (4)) - function weekOfYear(mom, firstDayOfWeek, firstDayOfWeekOfYear) { - var end = firstDayOfWeekOfYear - firstDayOfWeek, - daysToDayOfWeek = firstDayOfWeekOfYear - mom.day(), - adjustedMoment; - - - if (daysToDayOfWeek > end) { - daysToDayOfWeek -= 7; - } - - if (daysToDayOfWeek < end - 7) { - daysToDayOfWeek += 7; - } - - adjustedMoment = moment(mom).add(daysToDayOfWeek, 'd'); - return { - week: Math.ceil(adjustedMoment.dayOfYear() / 7), - year: adjustedMoment.year() - }; - } - - //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday - function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) { - var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear; - - d = d === 0 ? 7 : d; - weekday = weekday != null ? weekday : firstDayOfWeek; - daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0); - dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1; - - return { - year: dayOfYear > 0 ? year : year - 1, - dayOfYear: dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear - }; - } - - /************************************ - Top Level Functions - ************************************/ - - function makeMoment(config) { - var input = config._i, - format = config._f; - - config._locale = config._locale || moment.localeData(config._l); - - if (input === null || (format === undefined && input === '')) { - return moment.invalid({nullInput: true}); - } - - if (typeof input === 'string') { - config._i = input = config._locale.preparse(input); - } - - if (moment.isMoment(input)) { - return new Moment(input, true); - } else if (format) { - if (isArray(format)) { - makeDateFromStringAndArray(config); - } else { - makeDateFromStringAndFormat(config); - } - } else { - makeDateFromInput(config); - } - - return new Moment(config); - } - - moment = function (input, format, locale, strict) { - var c; - - if (typeof(locale) === 'boolean') { - strict = locale; - locale = undefined; - } - // object construction must be done this way. - // https://github.com/moment/moment/issues/1423 - c = {}; - c._isAMomentObject = true; - c._i = input; - c._f = format; - c._l = locale; - c._strict = strict; - c._isUTC = false; - c._pf = defaultParsingFlags(); - - return makeMoment(c); - }; - - moment.suppressDeprecationWarnings = false; - - moment.createFromInputFallback = deprecate( - 'moment construction falls back to js Date. This is ' + - 'discouraged and will be removed in upcoming major ' + - 'release. Please refer to ' + - 'https://github.com/moment/moment/issues/1407 for more info.', - function (config) { - config._d = new Date(config._i); - } - ); - - // Pick a moment m from moments so that m[fn](other) is true for all - // other. This relies on the function fn to be transitive. - // - // moments should either be an array of moment objects or an array, whose - // first element is an array of moment objects. - function pickBy(fn, moments) { - var res, i; - if (moments.length === 1 && isArray(moments[0])) { - moments = moments[0]; - } - if (!moments.length) { - return moment(); - } - res = moments[0]; - for (i = 1; i < moments.length; ++i) { - if (moments[i][fn](res)) { - res = moments[i]; - } - } - return res; - } - - moment.min = function () { - var args = [].slice.call(arguments, 0); - - return pickBy('isBefore', args); - }; - - moment.max = function () { - var args = [].slice.call(arguments, 0); - - return pickBy('isAfter', args); - }; - - // creating with utc - moment.utc = function (input, format, locale, strict) { - var c; - - if (typeof(locale) === 'boolean') { - strict = locale; - locale = undefined; - } - // object construction must be done this way. - // https://github.com/moment/moment/issues/1423 - c = {}; - c._isAMomentObject = true; - c._useUTC = true; - c._isUTC = true; - c._l = locale; - c._i = input; - c._f = format; - c._strict = strict; - c._pf = defaultParsingFlags(); - - return makeMoment(c).utc(); - }; - - // creating with unix timestamp (in seconds) - moment.unix = function (input) { - return moment(input * 1000); - }; - - // duration - moment.duration = function (input, key) { - var duration = input, - // matching against regexp is expensive, do it on demand - match = null, - sign, - ret, - parseIso, - diffRes; - - if (moment.isDuration(input)) { - duration = { - ms: input._milliseconds, - d: input._days, - M: input._months - }; - } else if (typeof input === 'number') { - duration = {}; - if (key) { - duration[key] = input; - } else { - duration.milliseconds = input; - } - } else if (!!(match = aspNetTimeSpanJsonRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - duration = { - y: 0, - d: toInt(match[DATE]) * sign, - h: toInt(match[HOUR]) * sign, - m: toInt(match[MINUTE]) * sign, - s: toInt(match[SECOND]) * sign, - ms: toInt(match[MILLISECOND]) * sign - }; - } else if (!!(match = isoDurationRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - parseIso = function (inp) { - // We'd normally use ~~inp for this, but unfortunately it also - // converts floats to ints. - // inp may be undefined, so careful calling replace on it. - var res = inp && parseFloat(inp.replace(',', '.')); - // apply sign while we're at it - return (isNaN(res) ? 0 : res) * sign; - }; - duration = { - y: parseIso(match[2]), - M: parseIso(match[3]), - d: parseIso(match[4]), - h: parseIso(match[5]), - m: parseIso(match[6]), - s: parseIso(match[7]), - w: parseIso(match[8]) - }; - } else if (typeof duration === 'object' && - ('from' in duration || 'to' in duration)) { - diffRes = momentsDifference(moment(duration.from), moment(duration.to)); - - duration = {}; - duration.ms = diffRes.milliseconds; - duration.M = diffRes.months; - } - - ret = new Duration(duration); - - if (moment.isDuration(input) && hasOwnProp(input, '_locale')) { - ret._locale = input._locale; - } - - return ret; - }; - - // version number - moment.version = VERSION; - - // default format - moment.defaultFormat = isoFormat; - - // constant that refers to the ISO standard - moment.ISO_8601 = function () {}; - - // Plugins that add properties should also add the key here (null value), - // so we can properly clone ourselves. - moment.momentProperties = momentProperties; - - // This function will be called whenever a moment is mutated. - // It is intended to keep the offset in sync with the timezone. - moment.updateOffset = function () {}; - - // This function allows you to set a threshold for relative time strings - moment.relativeTimeThreshold = function (threshold, limit) { - if (relativeTimeThresholds[threshold] === undefined) { - return false; - } - if (limit === undefined) { - return relativeTimeThresholds[threshold]; - } - relativeTimeThresholds[threshold] = limit; - return true; - }; - - moment.lang = deprecate( - 'moment.lang is deprecated. Use moment.locale instead.', - function (key, value) { - return moment.locale(key, value); - } - ); - - // This function will load locale and then set the global locale. If - // no arguments are passed in, it will simply return the current global - // locale key. - moment.locale = function (key, values) { - var data; - if (key) { - if (typeof(values) !== 'undefined') { - data = moment.defineLocale(key, values); - } - else { - data = moment.localeData(key); - } - - if (data) { - moment.duration._locale = moment._locale = data; - } - } - - return moment._locale._abbr; - }; - - moment.defineLocale = function (name, values) { - if (values !== null) { - values.abbr = name; - if (!locales[name]) { - locales[name] = new Locale(); - } - locales[name].set(values); - - // backwards compat for now: also set the locale - moment.locale(name); - - return locales[name]; - } else { - // useful for testing - delete locales[name]; - return null; - } - }; - - moment.langData = deprecate( - 'moment.langData is deprecated. Use moment.localeData instead.', - function (key) { - return moment.localeData(key); - } - ); - - // returns locale data - moment.localeData = function (key) { - var locale; - - if (key && key._locale && key._locale._abbr) { - key = key._locale._abbr; - } - - if (!key) { - return moment._locale; - } - - if (!isArray(key)) { - //short-circuit everything else - locale = loadLocale(key); - if (locale) { - return locale; - } - key = [key]; - } - - return chooseLocale(key); - }; - - // compare moment object - moment.isMoment = function (obj) { - return obj instanceof Moment || - (obj != null && hasOwnProp(obj, '_isAMomentObject')); - }; - - // for typechecking Duration objects - moment.isDuration = function (obj) { - return obj instanceof Duration; - }; - - for (i = lists.length - 1; i >= 0; --i) { - makeList(lists[i]); - } - - moment.normalizeUnits = function (units) { - return normalizeUnits(units); - }; - - moment.invalid = function (flags) { - var m = moment.utc(NaN); - if (flags != null) { - extend(m._pf, flags); - } - else { - m._pf.userInvalidated = true; - } - - return m; - }; - - moment.parseZone = function () { - return moment.apply(null, arguments).parseZone(); - }; - - moment.parseTwoDigitYear = function (input) { - return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); - }; - - /************************************ - Moment Prototype - ************************************/ - - - extend(moment.fn = Moment.prototype, { - - clone : function () { - return moment(this); - }, - - valueOf : function () { - return +this._d + ((this._offset || 0) * 60000); - }, - - unix : function () { - return Math.floor(+this / 1000); - }, - - toString : function () { - return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); - }, - - toDate : function () { - return this._offset ? new Date(+this) : this._d; - }, - - toISOString : function () { - var m = moment(this).utc(); - if (0 < m.year() && m.year() <= 9999) { - return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } else { - return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } - }, - - toArray : function () { - var m = this; - return [ - m.year(), - m.month(), - m.date(), - m.hours(), - m.minutes(), - m.seconds(), - m.milliseconds() - ]; - }, - - isValid : function () { - return isValid(this); - }, - - isDSTShifted : function () { - if (this._a) { - return this.isValid() && compareArrays(this._a, (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray()) > 0; - } - - return false; - }, - - parsingFlags : function () { - return extend({}, this._pf); - }, - - invalidAt: function () { - return this._pf.overflow; - }, - - utc : function (keepLocalTime) { - return this.zone(0, keepLocalTime); - }, - - local : function (keepLocalTime) { - if (this._isUTC) { - this.zone(0, keepLocalTime); - this._isUTC = false; - - if (keepLocalTime) { - this.add(this._dateTzOffset(), 'm'); - } - } - return this; - }, - - format : function (inputString) { - var output = formatMoment(this, inputString || moment.defaultFormat); - return this.localeData().postformat(output); - }, - - add : createAdder(1, 'add'), - - subtract : createAdder(-1, 'subtract'), - - diff : function (input, units, asFloat) { - var that = makeAs(input, this), - zoneDiff = (this.zone() - that.zone()) * 6e4, - diff, output, daysAdjust; - - units = normalizeUnits(units); - - if (units === 'year' || units === 'month') { - // average number of days in the months in the given dates - diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 1000 / 2 - // difference in months - output = ((this.year() - that.year()) * 12) + (this.month() - that.month()); - // adjust by taking difference in days, average number of days - // and dst in the given months. - daysAdjust = (this - moment(this).startOf('month')) - - (that - moment(that).startOf('month')); - // same as above but with zones, to negate all dst - daysAdjust -= ((this.zone() - moment(this).startOf('month').zone()) - - (that.zone() - moment(that).startOf('month').zone())) * 6e4; - output += daysAdjust / diff; - if (units === 'year') { - output = output / 12; - } - } else { - diff = (this - that); - output = units === 'second' ? diff / 1e3 : // 1000 - units === 'minute' ? diff / 6e4 : // 1000 * 60 - units === 'hour' ? diff / 36e5 : // 1000 * 60 * 60 - units === 'day' ? (diff - zoneDiff) / 864e5 : // 1000 * 60 * 60 * 24, negate dst - units === 'week' ? (diff - zoneDiff) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst - diff; - } - return asFloat ? output : absRound(output); - }, - - from : function (time, withoutSuffix) { - return moment.duration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); - }, - - fromNow : function (withoutSuffix) { - return this.from(moment(), withoutSuffix); - }, - - calendar : function (time) { - // We want to compare the start of today, vs this. - // Getting start-of-today depends on whether we're zone'd or not. - var now = time || moment(), - sod = makeAs(now, this).startOf('day'), - diff = this.diff(sod, 'days', true), - format = diff < -6 ? 'sameElse' : - diff < -1 ? 'lastWeek' : - diff < 0 ? 'lastDay' : - diff < 1 ? 'sameDay' : - diff < 2 ? 'nextDay' : - diff < 7 ? 'nextWeek' : 'sameElse'; - return this.format(this.localeData().calendar(format, this)); - }, - - isLeapYear : function () { - return isLeapYear(this.year()); - }, - - isDST : function () { - return (this.zone() < this.clone().month(0).zone() || - this.zone() < this.clone().month(5).zone()); - }, - - day : function (input) { - var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); - if (input != null) { - input = parseWeekday(input, this.localeData()); - return this.add(input - day, 'd'); - } else { - return day; - } - }, - - month : makeAccessor('Month', true), - - startOf : function (units) { - units = normalizeUnits(units); - // the following switch intentionally omits break keywords - // to utilize falling through the cases. - switch (units) { - case 'year': - this.month(0); - /* falls through */ - case 'quarter': - case 'month': - this.date(1); - /* falls through */ - case 'week': - case 'isoWeek': - case 'day': - this.hours(0); - /* falls through */ - case 'hour': - this.minutes(0); - /* falls through */ - case 'minute': - this.seconds(0); - /* falls through */ - case 'second': - this.milliseconds(0); - /* falls through */ - } - - // weeks are a special case - if (units === 'week') { - this.weekday(0); - } else if (units === 'isoWeek') { - this.isoWeekday(1); - } - - // quarters are also special - if (units === 'quarter') { - this.month(Math.floor(this.month() / 3) * 3); - } - - return this; - }, - - endOf: function (units) { - units = normalizeUnits(units); - return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); - }, - - isAfter: function (input, units) { - units = normalizeUnits(typeof units !== 'undefined' ? units : 'millisecond'); - if (units === 'millisecond') { - input = moment.isMoment(input) ? input : moment(input); - return +this > +input; - } else { - return +this.clone().startOf(units) > +moment(input).startOf(units); - } - }, - - isBefore: function (input, units) { - units = normalizeUnits(typeof units !== 'undefined' ? units : 'millisecond'); - if (units === 'millisecond') { - input = moment.isMoment(input) ? input : moment(input); - return +this < +input; - } else { - return +this.clone().startOf(units) < +moment(input).startOf(units); - } - }, - - isSame: function (input, units) { - units = normalizeUnits(units || 'millisecond'); - if (units === 'millisecond') { - input = moment.isMoment(input) ? input : moment(input); - return +this === +input; - } else { - return +this.clone().startOf(units) === +makeAs(input, this).startOf(units); - } - }, - - min: deprecate( - 'moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548', - function (other) { - other = moment.apply(null, arguments); - return other < this ? this : other; - } - ), - - max: deprecate( - 'moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548', - function (other) { - other = moment.apply(null, arguments); - return other > this ? this : other; - } - ), - - // keepLocalTime = true means only change the timezone, without - // affecting the local hour. So 5:31:26 +0300 --[zone(2, true)]--> - // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist int zone - // +0200, so we adjust the time as needed, to be valid. - // - // Keeping the time actually adds/subtracts (one hour) - // from the actual represented time. That is why we call updateOffset - // a second time. In case it wants us to change the offset again - // _changeInProgress == true case, then we have to adjust, because - // there is no such time in the given timezone. - zone : function (input, keepLocalTime) { - var offset = this._offset || 0, - localAdjust; - if (input != null) { - if (typeof input === 'string') { - input = timezoneMinutesFromString(input); - } - if (Math.abs(input) < 16) { - input = input * 60; - } - if (!this._isUTC && keepLocalTime) { - localAdjust = this._dateTzOffset(); - } - this._offset = input; - this._isUTC = true; - if (localAdjust != null) { - this.subtract(localAdjust, 'm'); - } - if (offset !== input) { - if (!keepLocalTime || this._changeInProgress) { - addOrSubtractDurationFromMoment(this, - moment.duration(offset - input, 'm'), 1, false); - } else if (!this._changeInProgress) { - this._changeInProgress = true; - moment.updateOffset(this, true); - this._changeInProgress = null; - } - } - } else { - return this._isUTC ? offset : this._dateTzOffset(); - } - return this; - }, - - zoneAbbr : function () { - return this._isUTC ? 'UTC' : ''; - }, - - zoneName : function () { - return this._isUTC ? 'Coordinated Universal Time' : ''; - }, - - parseZone : function () { - if (this._tzm) { - this.zone(this._tzm); - } else if (typeof this._i === 'string') { - this.zone(this._i); - } - return this; - }, - - hasAlignedHourOffset : function (input) { - if (!input) { - input = 0; - } - else { - input = moment(input).zone(); - } - - return (this.zone() - input) % 60 === 0; - }, - - daysInMonth : function () { - return daysInMonth(this.year(), this.month()); - }, - - dayOfYear : function (input) { - var dayOfYear = round((moment(this).startOf('day') - moment(this).startOf('year')) / 864e5) + 1; - return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); - }, - - quarter : function (input) { - return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); - }, - - weekYear : function (input) { - var year = weekOfYear(this, this.localeData()._week.dow, this.localeData()._week.doy).year; - return input == null ? year : this.add((input - year), 'y'); - }, - - isoWeekYear : function (input) { - var year = weekOfYear(this, 1, 4).year; - return input == null ? year : this.add((input - year), 'y'); - }, - - week : function (input) { - var week = this.localeData().week(this); - return input == null ? week : this.add((input - week) * 7, 'd'); - }, - - isoWeek : function (input) { - var week = weekOfYear(this, 1, 4).week; - return input == null ? week : this.add((input - week) * 7, 'd'); - }, - - weekday : function (input) { - var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; - return input == null ? weekday : this.add(input - weekday, 'd'); - }, - - isoWeekday : function (input) { - // behaves the same as moment#day except - // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) - // as a setter, sunday should belong to the previous week. - return input == null ? this.day() || 7 : this.day(this.day() % 7 ? input : input - 7); - }, - - isoWeeksInYear : function () { - return weeksInYear(this.year(), 1, 4); - }, - - weeksInYear : function () { - var weekInfo = this.localeData()._week; - return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); - }, - - get : function (units) { - units = normalizeUnits(units); - return this[units](); - }, - - set : function (units, value) { - units = normalizeUnits(units); - if (typeof this[units] === 'function') { - this[units](value); - } - return this; - }, - - // If passed a locale key, it will set the locale for this - // instance. Otherwise, it will return the locale configuration - // variables for this instance. - locale : function (key) { - var newLocaleData; - - if (key === undefined) { - return this._locale._abbr; - } else { - newLocaleData = moment.localeData(key); - if (newLocaleData != null) { - this._locale = newLocaleData; - } - return this; - } - }, - - lang : deprecate( - 'moment().lang() is deprecated. Use moment().localeData() instead.', - function (key) { - if (key === undefined) { - return this.localeData(); - } else { - return this.locale(key); - } - } - ), - - localeData : function () { - return this._locale; - }, - - _dateTzOffset : function () { - // On Firefox.24 Date#getTimezoneOffset returns a floating point. - // https://github.com/moment/moment/pull/1871 - return Math.round(this._d.getTimezoneOffset() / 15) * 15; - } - }); - - function rawMonthSetter(mom, value) { - var dayOfMonth; - - // TODO: Move this out of here! - if (typeof value === 'string') { - value = mom.localeData().monthsParse(value); - // TODO: Another silent failure? - if (typeof value !== 'number') { - return mom; - } - } - - dayOfMonth = Math.min(mom.date(), - daysInMonth(mom.year(), value)); - mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); - return mom; - } - - function rawGetter(mom, unit) { - return mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit](); - } - - function rawSetter(mom, unit, value) { - if (unit === 'Month') { - return rawMonthSetter(mom, value); - } else { - return mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); - } - } - - function makeAccessor(unit, keepTime) { - return function (value) { - if (value != null) { - rawSetter(this, unit, value); - moment.updateOffset(this, keepTime); - return this; - } else { - return rawGetter(this, unit); - } - }; - } - - moment.fn.millisecond = moment.fn.milliseconds = makeAccessor('Milliseconds', false); - moment.fn.second = moment.fn.seconds = makeAccessor('Seconds', false); - moment.fn.minute = moment.fn.minutes = makeAccessor('Minutes', false); - // Setting the hour should keep the time, because the user explicitly - // specified which hour he wants. So trying to maintain the same hour (in - // a new timezone) makes sense. Adding/subtracting hours does not follow - // this rule. - moment.fn.hour = moment.fn.hours = makeAccessor('Hours', true); - // moment.fn.month is defined separately - moment.fn.date = makeAccessor('Date', true); - moment.fn.dates = deprecate('dates accessor is deprecated. Use date instead.', makeAccessor('Date', true)); - moment.fn.year = makeAccessor('FullYear', true); - moment.fn.years = deprecate('years accessor is deprecated. Use year instead.', makeAccessor('FullYear', true)); - - // add plural methods - moment.fn.days = moment.fn.day; - moment.fn.months = moment.fn.month; - moment.fn.weeks = moment.fn.week; - moment.fn.isoWeeks = moment.fn.isoWeek; - moment.fn.quarters = moment.fn.quarter; - - // add aliased format methods - moment.fn.toJSON = moment.fn.toISOString; - - /************************************ - Duration Prototype - ************************************/ - - - function daysToYears (days) { - // 400 years have 146097 days (taking into account leap year rules) - return days * 400 / 146097; - } - - function yearsToDays (years) { - // years * 365 + absRound(years / 4) - - // absRound(years / 100) + absRound(years / 400); - return years * 146097 / 400; - } - - extend(moment.duration.fn = Duration.prototype, { - - _bubble : function () { - var milliseconds = this._milliseconds, - days = this._days, - months = this._months, - data = this._data, - seconds, minutes, hours, years = 0; - - // The following code bubbles up values, see the tests for - // examples of what that means. - data.milliseconds = milliseconds % 1000; - - seconds = absRound(milliseconds / 1000); - data.seconds = seconds % 60; - - minutes = absRound(seconds / 60); - data.minutes = minutes % 60; - - hours = absRound(minutes / 60); - data.hours = hours % 24; - - days += absRound(hours / 24); - - // Accurately convert days to years, assume start from year 0. - years = absRound(daysToYears(days)); - days -= absRound(yearsToDays(years)); - - // 30 days to a month - // TODO (iskren): Use anchor date (like 1st Jan) to compute this. - months += absRound(days / 30); - days %= 30; - - // 12 months -> 1 year - years += absRound(months / 12); - months %= 12; - - data.days = days; - data.months = months; - data.years = years; - }, - - abs : function () { - this._milliseconds = Math.abs(this._milliseconds); - this._days = Math.abs(this._days); - this._months = Math.abs(this._months); - - this._data.milliseconds = Math.abs(this._data.milliseconds); - this._data.seconds = Math.abs(this._data.seconds); - this._data.minutes = Math.abs(this._data.minutes); - this._data.hours = Math.abs(this._data.hours); - this._data.months = Math.abs(this._data.months); - this._data.years = Math.abs(this._data.years); - - return this; - }, - - weeks : function () { - return absRound(this.days() / 7); - }, - - valueOf : function () { - return this._milliseconds + - this._days * 864e5 + - (this._months % 12) * 2592e6 + - toInt(this._months / 12) * 31536e6; - }, - - humanize : function (withSuffix) { - var output = relativeTime(this, !withSuffix, this.localeData()); - - if (withSuffix) { - output = this.localeData().pastFuture(+this, output); - } - - return this.localeData().postformat(output); - }, - - add : function (input, val) { - // supports only 2.0-style add(1, 's') or add(moment) - var dur = moment.duration(input, val); - - this._milliseconds += dur._milliseconds; - this._days += dur._days; - this._months += dur._months; - - this._bubble(); - - return this; - }, - - subtract : function (input, val) { - var dur = moment.duration(input, val); - - this._milliseconds -= dur._milliseconds; - this._days -= dur._days; - this._months -= dur._months; - - this._bubble(); - - return this; - }, - - get : function (units) { - units = normalizeUnits(units); - return this[units.toLowerCase() + 's'](); - }, - - as : function (units) { - var days, months; - units = normalizeUnits(units); - - if (units === 'month' || units === 'year') { - days = this._days + this._milliseconds / 864e5; - months = this._months + daysToYears(days) * 12; - return units === 'month' ? months : months / 12; - } else { - // handle milliseconds separately because of floating point math errors (issue #1867) - days = this._days + yearsToDays(this._months / 12); - switch (units) { - case 'week': return days / 7 + this._milliseconds / 6048e5; - case 'day': return days + this._milliseconds / 864e5; - case 'hour': return days * 24 + this._milliseconds / 36e5; - case 'minute': return days * 24 * 60 + this._milliseconds / 6e4; - case 'second': return days * 24 * 60 * 60 + this._milliseconds / 1000; - // Math.floor prevents floating point math errors here - case 'millisecond': return Math.floor(days * 24 * 60 * 60 * 1000) + this._milliseconds; - default: throw new Error('Unknown unit ' + units); - } - } - }, - - lang : moment.fn.lang, - locale : moment.fn.locale, - - toIsoString : deprecate( - 'toIsoString() is deprecated. Please use toISOString() instead ' + - '(notice the capitals)', - function () { - return this.toISOString(); - } - ), - - toISOString : function () { - // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js - var years = Math.abs(this.years()), - months = Math.abs(this.months()), - days = Math.abs(this.days()), - hours = Math.abs(this.hours()), - minutes = Math.abs(this.minutes()), - seconds = Math.abs(this.seconds() + this.milliseconds() / 1000); - - if (!this.asSeconds()) { - // this is the same as C#'s (Noda) and python (isodate)... - // but not other JS (goog.date) - return 'P0D'; - } - - return (this.asSeconds() < 0 ? '-' : '') + - 'P' + - (years ? years + 'Y' : '') + - (months ? months + 'M' : '') + - (days ? days + 'D' : '') + - ((hours || minutes || seconds) ? 'T' : '') + - (hours ? hours + 'H' : '') + - (minutes ? minutes + 'M' : '') + - (seconds ? seconds + 'S' : ''); - }, - - localeData : function () { - return this._locale; - } - }); - - moment.duration.fn.toString = moment.duration.fn.toISOString; - - function makeDurationGetter(name) { - moment.duration.fn[name] = function () { - return this._data[name]; - }; - } - - for (i in unitMillisecondFactors) { - if (hasOwnProp(unitMillisecondFactors, i)) { - makeDurationGetter(i.toLowerCase()); - } - } - - moment.duration.fn.asMilliseconds = function () { - return this.as('ms'); - }; - moment.duration.fn.asSeconds = function () { - return this.as('s'); - }; - moment.duration.fn.asMinutes = function () { - return this.as('m'); - }; - moment.duration.fn.asHours = function () { - return this.as('h'); - }; - moment.duration.fn.asDays = function () { - return this.as('d'); - }; - moment.duration.fn.asWeeks = function () { - return this.as('weeks'); - }; - moment.duration.fn.asMonths = function () { - return this.as('M'); - }; - moment.duration.fn.asYears = function () { - return this.as('y'); - }; - - /************************************ - Default Locale - ************************************/ - - - // Set default locale, other locale will inherit from English. - moment.locale('en', { - ordinal : function (number) { - var b = number % 10, - output = (toInt(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - } - }); - - return moment; - - }).call(this); - - UI.Utils.moment = moment; - - return UI.datepicker; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/datepicker.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/datepicker.min.js deleted file mode 100644 index 9a30a1f2a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/datepicker.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-datepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,n,a=!1;return t.component("datepicker",{defaults:{mobile:!1,weekstart:1,i18n:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},format:"DD.MM.YYYY",offsettop:5,maxDate:!1,minDate:!1,pos:"auto",template:function(e,a){var s,i,r,o="";if(a.maxDate!==!1&&(s=isNaN(a.maxDate)?n(a.maxDate,a.format):n().add(a.maxDate,"days")),a.minDate!==!1&&(i=isNaN(a.minDate)?n(a.minDate,a.format):n().add(a.minDate-1,"days")),o+='<div class="uk-datepicker-nav">',o+='<a href="" class="uk-datepicker-previous"></a>',o+='<a href="" class="uk-datepicker-next"></a>',t.formSelect){var u,c,d,l,h=(new Date).getFullYear(),f=[];for(r=0;r<a.i18n.months.length;r++)r==e.month?f.push('<option value="'+r+'" selected>'+a.i18n.months[r]+"</option>"):f.push('<option value="'+r+'">'+a.i18n.months[r]+"</option>");for(u='<span class="uk-form-select">'+a.i18n.months[e.month]+'<select class="update-picker-month">'+f.join("")+"</select></span>",f=[],d=i?i.year():h-50,l=s?s.year():h+20,r=d;l>=r;r++)r==e.year?f.push('<option value="'+r+'" selected>'+r+"</option>"):f.push('<option value="'+r+'">'+r+"</option>");c='<span class="uk-form-select">'+e.year+'<select class="update-picker-year">'+f.join("")+"</select></span>",o+='<div class="uk-datepicker-heading">'+u+" "+c+"</div>"}else o+='<div class="uk-datepicker-heading">'+a.i18n.months[e.month]+" "+e.year+"</div>";for(o+="</div>",o+='<table class="uk-datepicker-table">',o+="<thead>",r=0;r<e.weekdays.length;r++)e.weekdays[r]&&(o+="<th>"+e.weekdays[r]+"</th>");for(o+="</thead>",o+="<tbody>",r=0;r<e.days.length;r++)if(e.days[r]&&e.days[r].length){o+="<tr>";for(var m=0;m<e.days[r].length;m++)if(e.days[r][m]){var _=e.days[r][m],p=[];_.inmonth||p.push("uk-datepicker-table-muted"),_.selected&&p.push("uk-active"),s&&_.day>s&&p.push("uk-datepicker-date-disabled uk-datepicker-table-muted"),i&&i>_.day&&p.push("uk-datepicker-date-disabled uk-datepicker-table-muted"),o+='<td><a href="" class="'+p.join(" ")+'" data-date="'+_.day.format()+'">'+_.day.format("D")+"</a></td>"}o+="</tr>"}return o+="</tbody>",o+="</table>"}},boot:function(){t.$win.on("resize orientationchange",function(){a&&a.hide()}),t.$html.on("focus.datepicker.uikit","[data-uk-datepicker]",function(e){var n=t.$(this);if(!n.data("datepicker")){e.preventDefault();{t.datepicker(n,t.Utils.options(n.attr("data-uk-datepicker")))}n.trigger("focus")}}),t.$html.on("click.datepicker.uikit",function(n){var s=t.$(n.target);!a||s[0]==e[0]||s.data("datepicker")||s.parents(".uk-datepicker:first").length||a.hide()})},init:function(){if(!t.support.touch||"date"!=this.element.attr("type")||this.options.mobile){var s=this;this.current=this.element.val()?n(this.element.val(),this.options.format):n(),this.on("click focus",function(){a!==s&&s.pick(this.value?this.value:s.options.minDate?s.options.minDate:"")}).on("change",function(){s.element.val()&&!n(s.element.val(),s.options.format).isValid()&&s.element.val(n().format(s.options.format))}),e||(e=t.$('<div class="uk-dropdown uk-datepicker"></div>'),e.on("click",".uk-datepicker-next, .uk-datepicker-previous, [data-date]",function(s){s.stopPropagation(),s.preventDefault();var i=t.$(this);return i.hasClass("uk-datepicker-date-disabled")?!1:(i.is("[data-date]")?(a.element.val(n(i.data("date")).format(a.options.format)).trigger("change"),e.hide(),a=!1):a.add(1*(i.hasClass("uk-datepicker-next")?1:-1),"months"),void 0)}),e.on("change",".update-picker-month, .update-picker-year",function(){var e=t.$(this);a[e.is(".update-picker-year")?"setYear":"setMonth"](Number(e.val()))}),e.appendTo("body"))}},pick:function(s){var i=this.element.offset(),r={left:i.left,right:""};this.current=s?n(s,this.options.format):n(),this.initdate=this.current.format("YYYY-MM-DD"),this.update(),"right"==t.langdirection&&(r.right=window.innerWidth-(r.left+this.element.outerWidth()),r.left="");var o=i.top-this.element.outerHeight()+this.element.height()-this.options.offsettop-e.outerHeight(),u=i.top+this.element.outerHeight()+this.options.offsettop;r.top=u,"top"==this.options.pos?r.top=o:"auto"==this.options.pos&&window.innerHeight-u-e.outerHeight()<0&&o>=0&&(r.top=o),e.css(r).show(),this.trigger("show.uk.datepicker"),a=this},add:function(t,e){this.current.add(t,e),this.update()},setMonth:function(t){this.current.month(t),this.update()},setYear:function(t){this.current.year(t),this.update()},update:function(){var t=this.getRows(this.current.year(),this.current.month()),n=this.options.template(t,this.options);e.html(n),this.trigger("update.uk.datepicker")},getRows:function(t,e){var a=this.options,s=n().format("YYYY-MM-DD"),i=[31,t%4===0&&t%100!==0||t%400===0?29:28,31,30,31,30,31,31,30,31,30,31][e],r=new Date(t,e,1).getDay(),o={month:e,year:t,weekdays:[],days:[]},u=[];o.weekdays=function(){for(var t=0,e=[];7>t;t++){for(var n=t+(a.weekstart||0);n>=7;)n-=7;e.push(a.i18n.weekdays[n])}return e}(),a.weekstart&&a.weekstart>0&&(r-=a.weekstart,0>r&&(r+=7));for(var c=i+r,d=c;d>7;)d-=7;c+=7-d;for(var l,h,f,m,_,p=0,y=0;c>p;p++)l=new Date(t,e,1+(p-r)),h=a.mindate&&l<a.mindate||a.maxdate&&l>a.maxdate,_=!(r>p||p>=i+r),l=n(l),f=this.initdate==l.format("YYYY-MM-DD"),m=s==l.format("YYYY-MM-DD"),u.push({selected:f,today:m,disabled:h,day:l,inmonth:_}),7===++y&&(o.days.push(u),u=[],y=0);return o},hide:function(){a&&a===this&&(e.hide(),a=!1,this.trigger("hide.uk.datepicker"))}}),n=function(t){function e(t,e,n){switch(arguments.length){case 2:return null!=t?t:e;case 3:return null!=t?t:null!=e?e:n;default:throw new Error("Implement me")}}function n(t,e){return Ye.call(t,e)}function a(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function s(t){ke.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function i(t,e){var n=!0;return h(function(){return n&&(s(t),n=!1),e.apply(this,arguments)},e)}function r(t,e){mn[t]||(s(e),mn[t]=!0)}function o(t,e){return function(n){return _(t.call(this,n),e)}}function u(t,e){return function(n){return this.localeData().ordinal(t.call(this,n),e)}}function c(){}function d(t,e){e!==!1&&F(t),f(this,t),this._d=new Date(+t._d)}function l(t){var e=v(t),n=e.year||0,a=e.quarter||0,s=e.month||0,i=e.week||0,r=e.day||0,o=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._milliseconds=+d+1e3*c+6e4*u+36e5*o,this._days=+r+7*i,this._months=+s+3*a+12*n,this._data={},this._locale=ke.localeData(),this._bubble()}function h(t,e){for(var a in e)n(e,a)&&(t[a]=e[a]);return n(e,"toString")&&(t.toString=e.toString),n(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e){var n,a,s;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=e._pf),"undefined"!=typeof e._locale&&(t._locale=e._locale),Fe.length>0)for(n in Fe)a=Fe[n],s=e[a],"undefined"!=typeof s&&(t[a]=s);return t}function m(t){return 0>t?Math.ceil(t):Math.floor(t)}function _(t,e,n){for(var a=""+Math.abs(t),s=t>=0;a.length<e;)a="0"+a;return(s?n?"+":"":"-")+a}function p(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function y(t,e){var n;return e=H(e,t),t.isBefore(e)?n=p(t,e):(n=p(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function k(t,e){return function(n,a){var s,i;return null===a||isNaN(+a)||(r(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),i=n,n=a,a=i),n="string"==typeof n?+n:n,s=ke.duration(n,a),D(this,s,t),this}}function D(t,e,n,a){var s=e._milliseconds,i=e._days,r=e._months;a=null==a?!0:a,s&&t._d.setTime(+t._d+s*n),i&&fe(t,"Date",he(t,"Date")+i*n),r&&le(t,he(t,"Month")+r*n),a&&ke.updateOffset(t,i||r)}function g(t){return"[object Array]"===Object.prototype.toString.call(t)}function M(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function Y(t,e,n){var a,s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),r=0;for(a=0;s>a;a++)(n&&t[a]!==e[a]||!n&&S(t[a])!==S(e[a]))&&r++;return r+i}function w(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=on[t]||un[e]||e}return t}function v(t){var e,a,s={};for(a in t)n(t,a)&&(e=w(a),e&&(s[e]=t[a]));return s}function b(e){var n,a;if(0===e.indexOf("week"))n=7,a="day";else{if(0!==e.indexOf("month"))return;n=12,a="month"}ke[e]=function(s,i){var r,o,u=ke._locale[e],c=[];if("number"==typeof s&&(i=s,s=t),o=function(t){var e=ke().utc().set(a,t);return u.call(ke._locale,e,s||"")},null!=i)return o(i);for(r=0;n>r;r++)c.push(o(r));return c}}function S(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function T(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function O(t,e,n){return oe(ke([t,11,31+e-n]),e,n).week}function W(t){return U(t)?366:365}function U(t){return t%4===0&&t%100!==0||t%400===0}function F(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[ve]<0||t._a[ve]>11?ve:t._a[be]<1||t._a[be]>T(t._a[we],t._a[ve])?be:t._a[Se]<0||t._a[Se]>23?Se:t._a[Te]<0||t._a[Te]>59?Te:t._a[Oe]<0||t._a[Oe]>59?Oe:t._a[We]<0||t._a[We]>999?We:-1,t._pf._overflowDayOfYear&&(we>e||e>be)&&(e=be),t._pf.overflow=e)}function G(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function C(t){return t?t.toLowerCase().replace("_","-"):t}function z(t){for(var e,n,a,s,i=0;i<t.length;){for(s=C(t[i]).split("-"),e=s.length,n=C(t[i+1]),n=n?n.split("-"):null;e>0;){if(a=I(s.slice(0,e).join("-")))return a;if(n&&n.length>=e&&Y(s,n,!0)>=e-1)break;e--}i++}return null}function I(t){var e=null;if(!Ue[t]&&Ge)try{e=ke.locale(),require("./locale/"+t),ke.locale(e)}catch(n){}return Ue[t]}function H(t,e){return e._isUTC?ke(t).zone(e._offset||0):ke(t).local()}function x(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function L(t){var e,n,a=t.match(He);for(e=0,n=a.length;n>e;e++)a[e]=fn[a[e]]?fn[a[e]]:x(a[e]);return function(s){var i="";for(e=0;n>e;e++)i+=a[e]instanceof Function?a[e].call(s,t):a[e];return i}}function P(t,e){return t.isValid()?(e=A(e,t.localeData()),cn[e]||(cn[e]=L(e)),cn[e](t)):t.localeData().invalidDate()}function A(t,e){function n(t){return e.longDateFormat(t)||t}var a=5;for(xe.lastIndex=0;a>=0&&xe.test(t);)t=t.replace(xe,n),xe.lastIndex=0,a-=1;return t}function Z(t,e){var n,a=e._strict;switch(t){case"Q":return qe;case"DDDD":return Re;case"YYYY":case"GGGG":case"gggg":return a?Xe:Ae;case"Y":case"G":case"g":return Ke;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return a?Be:Ze;case"S":if(a)return qe;case"SS":if(a)return Qe;case"SSS":if(a)return Re;case"DDD":return Pe;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return je;case"a":case"A":return e._locale._meridiemParse;case"X":return Ve;case"Z":case"ZZ":return Ee;case"T":return $e;case"SSSS":return Ne;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return a?Qe:Le;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Le;case"Do":return Je;default:return n=new RegExp(R(Q(t.replace("\\","")),"i"))}}function N(t){t=t||"";var e=t.match(Ee)||[],n=e[e.length-1]||[],a=(n+"").match(sn)||["-",0,0],s=+(60*a[1])+S(a[2]);return"+"===a[0]?-s:s}function j(t,e,n){var a,s=n._a;switch(t){case"Q":null!=e&&(s[ve]=3*(S(e)-1));break;case"M":case"MM":null!=e&&(s[ve]=S(e)-1);break;case"MMM":case"MMMM":a=n._locale.monthsParse(e),null!=a?s[ve]=a:n._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(s[be]=S(e));break;case"Do":null!=e&&(s[be]=S(parseInt(e,10)));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=S(e));break;case"YY":s[we]=ke.parseTwoDigitYear(e);break;case"YYYY":case"YYYYY":case"YYYYYY":s[we]=S(e);break;case"a":case"A":n._isPm=n._locale.isPM(e);break;case"H":case"HH":case"h":case"hh":s[Se]=S(e);break;case"m":case"mm":s[Te]=S(e);break;case"s":case"ss":s[Oe]=S(e);break;case"S":case"SS":case"SSS":case"SSSS":s[We]=S(1e3*("0."+e));break;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=N(e);break;case"dd":case"ddd":case"dddd":a=n._locale.weekdaysParse(e),null!=a?(n._w=n._w||{},n._w.d=a):n._pf.invalidWeekday=e;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":t=t.substr(0,1);case"gggg":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=S(e));break;case"gg":case"GG":n._w=n._w||{},n._w[t]=ke.parseTwoDigitYear(e)}}function E(t){var n,a,s,i,r,o,u;n=t._w,null!=n.GG||null!=n.W||null!=n.E?(r=1,o=4,a=e(n.GG,t._a[we],oe(ke(),1,4).year),s=e(n.W,1),i=e(n.E,1)):(r=t._locale._week.dow,o=t._locale._week.doy,a=e(n.gg,t._a[we],oe(ke(),r,o).year),s=e(n.w,1),null!=n.d?(i=n.d,r>i&&++s):i=null!=n.e?n.e+r:r),u=ue(a,s,i,o,r),t._a[we]=u.year,t._dayOfYear=u.dayOfYear}function $(t){var n,a,s,i,r=[];if(!t._d){for(s=J(t),t._w&&null==t._a[be]&&null==t._a[ve]&&E(t),t._dayOfYear&&(i=e(t._a[we],s[we]),t._dayOfYear>W(i)&&(t._pf._overflowDayOfYear=!0),a=ae(i,0,t._dayOfYear),t._a[ve]=a.getUTCMonth(),t._a[be]=a.getUTCDate()),n=0;3>n&&null==t._a[n];++n)t._a[n]=r[n]=s[n];for(;7>n;n++)t._a[n]=r[n]=null==t._a[n]?2===n?1:0:t._a[n];t._d=(t._useUTC?ae:ne).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()+t._tzm)}}function V(t){var e;t._d||(e=v(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],$(t))}function J(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function q(t){if(t._f===ke.ISO_8601)return B(t),void 0;t._a=[],t._pf.empty=!0;var e,n,a,s,i,r=""+t._i,o=r.length,u=0;for(a=A(t._f,t._locale).match(He)||[],e=0;e<a.length;e++)s=a[e],n=(r.match(Z(s,t))||[])[0],n&&(i=r.substr(0,r.indexOf(n)),i.length>0&&t._pf.unusedInput.push(i),r=r.slice(r.indexOf(n)+n.length),u+=n.length),fn[s]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(s),j(s,n,t)):t._strict&&!n&&t._pf.unusedTokens.push(s);t._pf.charsLeftOver=o-u,r.length>0&&t._pf.unusedInput.push(r),t._isPm&&t._a[Se]<12&&(t._a[Se]+=12),t._isPm===!1&&12===t._a[Se]&&(t._a[Se]=0),$(t),F(t)}function Q(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,a,s){return e||n||a||s})}function R(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function X(t){var e,n,s,i,r;if(0===t._f.length)return t._pf.invalidFormat=!0,t._d=new Date(0/0),void 0;for(i=0;i<t._f.length;i++)r=0,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._pf=a(),e._f=t._f[i],q(e),G(e)&&(r+=e._pf.charsLeftOver,r+=10*e._pf.unusedTokens.length,e._pf.score=r,(null==s||s>r)&&(s=r,n=e));h(t,n||e)}function B(t){var e,n,a=t._i,s=tn.exec(a);if(s){for(t._pf.iso=!0,e=0,n=nn.length;n>e;e++)if(nn[e][1].exec(a)){t._f=nn[e][0]+(s[6]||" ");break}for(e=0,n=an.length;n>e;e++)if(an[e][1].exec(a)){t._f+=an[e][0];break}a.match(Ee)&&(t._f+="Z"),q(t)}else t._isValid=!1}function K(t){B(t),t._isValid===!1&&(delete t._isValid,ke.createFromInputFallback(t))}function te(t,e){var n,a=[];for(n=0;n<t.length;++n)a.push(e(t[n],n));return a}function ee(e){var n,a=e._i;a===t?e._d=new Date:M(a)?e._d=new Date(+a):null!==(n=Ce.exec(a))?e._d=new Date(+n[1]):"string"==typeof a?K(e):g(a)?(e._a=te(a.slice(0),function(t){return parseInt(t,10)}),$(e)):"object"==typeof a?V(e):"number"==typeof a?e._d=new Date(a):ke.createFromInputFallback(e)}function ne(t,e,n,a,s,i,r){var o=new Date(t,e,n,a,s,i,r);return 1970>t&&o.setFullYear(t),o}function ae(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function se(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function ie(t,e,n,a,s){return s.relativeTime(e||1,!!n,t,a)}function re(t,e,n){var a=ke.duration(t).abs(),s=Me(a.as("s")),i=Me(a.as("m")),r=Me(a.as("h")),o=Me(a.as("d")),u=Me(a.as("M")),c=Me(a.as("y")),d=s<dn.s&&["s",s]||1===i&&["m"]||i<dn.m&&["mm",i]||1===r&&["h"]||r<dn.h&&["hh",r]||1===o&&["d"]||o<dn.d&&["dd",o]||1===u&&["M"]||u<dn.M&&["MM",u]||1===c&&["y"]||["yy",c];return d[2]=e,d[3]=+t>0,d[4]=n,ie.apply({},d)}function oe(t,e,n){var a,s=n-e,i=n-t.day();return i>s&&(i-=7),s-7>i&&(i+=7),a=ke(t).add(i,"d"),{week:Math.ceil(a.dayOfYear()/7),year:a.year()}}function ue(t,e,n,a,s){var i,r,o=ae(t,0,1).getUTCDay();return o=0===o?7:o,n=null!=n?n:s,i=s-o+(o>a?7:0)-(s>o?7:0),r=7*(e-1)+(n-s)+i+1,{year:r>0?t:t-1,dayOfYear:r>0?r:W(t-1)+r}}function ce(e){var n=e._i,a=e._f;return e._locale=e._locale||ke.localeData(e._l),null===n||a===t&&""===n?ke.invalid({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),ke.isMoment(n)?new d(n,!0):(a?g(a)?X(e):q(e):ee(e),new d(e)))}function de(t,e){var n,a;if(1===e.length&&g(e[0])&&(e=e[0]),!e.length)return ke();for(n=e[0],a=1;a<e.length;++a)e[a][t](n)&&(n=e[a]);return n}function le(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),T(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function he(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function fe(t,e,n){return"Month"===e?le(t,n):t._d["set"+(t._isUTC?"UTC":"")+e](n)}function me(t,e){return function(n){return null!=n?(fe(this,t,n),ke.updateOffset(this,e),this):he(this,t)}}function _e(t){return 400*t/146097}function pe(t){return 146097*t/400}function ye(t){ke.duration.fn[t]=function(){return this._data[t]}}for(var ke,De,ge="2.8.3",Me=Math.round,Ye=Object.prototype.hasOwnProperty,we=0,ve=1,be=2,Se=3,Te=4,Oe=5,We=6,Ue={},Fe=[],Ge="undefined"!=typeof module&&module.exports,Ce=/^\/?Date\((\-?\d+)/i,ze=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ie=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,He=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,xe=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Le=/\d\d?/,Pe=/\d{1,3}/,Ae=/\d{1,4}/,Ze=/[+\-]?\d{1,6}/,Ne=/\d+/,je=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ee=/Z|[\+\-]\d\d:?\d\d/gi,$e=/T/i,Ve=/[\+\-]?\d+(\.\d{1,3})?/,Je=/\d{1,2}/,qe=/\d/,Qe=/\d\d/,Re=/\d{3}/,Xe=/\d{4}/,Be=/[+-]?\d{6}/,Ke=/[+-]?\d+/,tn=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,en="YYYY-MM-DDTHH:mm:ssZ",nn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],an=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],sn=/([\+\-]|\d\d)/gi,rn=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),on={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},un={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},cn={},dn={s:45,m:45,h:22,d:26,M:11},ln="DDD w W M D d".split(" "),hn="M D H h m s w W".split(" "),fn={M:function(){return this.month()+1},MMM:function(t){return this.localeData().monthsShort(this,t)},MMMM:function(t){return this.localeData().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.localeData().weekdaysMin(this,t)},ddd:function(t){return this.localeData().weekdaysShort(this,t)},dddd:function(t){return this.localeData().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return _(this.year()%100,2)},YYYY:function(){return _(this.year(),4)},YYYYY:function(){return _(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+_(Math.abs(t),6)},gg:function(){return _(this.weekYear()%100,2)},gggg:function(){return _(this.weekYear(),4)},ggggg:function(){return _(this.weekYear(),5)},GG:function(){return _(this.isoWeekYear()%100,2)},GGGG:function(){return _(this.isoWeekYear(),4)},GGGGG:function(){return _(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return S(this.milliseconds()/100)},SS:function(){return _(S(this.milliseconds()/10),2)},SSS:function(){return _(this.milliseconds(),3)},SSSS:function(){return _(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+_(S(t/60),2)+":"+_(S(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+_(S(t/60),2)+_(S(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},mn={},_n=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];ln.length;)De=ln.pop(),fn[De+"o"]=u(fn[De],De);for(;hn.length;)De=hn.pop(),fn[De+De]=o(fn[De],2);fn.DDDD=o(fn.DDD,3),h(c.prototype,{set:function(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,n,a;for(this._monthsParse||(this._monthsParse=[]),e=0;12>e;e++)if(this._monthsParse[e]||(n=ke.utc([2e3,e]),a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[e]=new RegExp(a.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,a;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=ke([2e3,1]).day(e),a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(a.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==typeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,n,a){var s=this._relativeTime[n];return"function"==typeof s?s(t,e,n,a):s.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return oe(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),ke=function(e,n,s,i){var r;return"boolean"==typeof s&&(i=s,s=t),r={},r._isAMomentObject=!0,r._i=e,r._f=n,r._l=s,r._strict=i,r._isUTC=!1,r._pf=a(),ce(r)},ke.suppressDeprecationWarnings=!1,ke.createFromInputFallback=i("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i)}),ke.min=function(){var t=[].slice.call(arguments,0);return de("isBefore",t)},ke.max=function(){var t=[].slice.call(arguments,0);return de("isAfter",t)},ke.utc=function(e,n,s,i){var r;return"boolean"==typeof s&&(i=s,s=t),r={},r._isAMomentObject=!0,r._useUTC=!0,r._isUTC=!0,r._l=s,r._i=e,r._f=n,r._strict=i,r._pf=a(),ce(r).utc()},ke.unix=function(t){return ke(1e3*t)},ke.duration=function(t,e){var a,s,i,r,o=t,u=null;return ke.isDuration(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(u=ze.exec(t))?(a="-"===u[1]?-1:1,o={y:0,d:S(u[be])*a,h:S(u[Se])*a,m:S(u[Te])*a,s:S(u[Oe])*a,ms:S(u[We])*a}):(u=Ie.exec(t))?(a="-"===u[1]?-1:1,i=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*a},o={y:i(u[2]),M:i(u[3]),d:i(u[4]),h:i(u[5]),m:i(u[6]),s:i(u[7]),w:i(u[8])}):"object"==typeof o&&("from"in o||"to"in o)&&(r=y(ke(o.from),ke(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),s=new l(o),ke.isDuration(t)&&n(t,"_locale")&&(s._locale=t._locale),s},ke.version=ge,ke.defaultFormat=en,ke.ISO_8601=function(){},ke.momentProperties=Fe,ke.updateOffset=function(){},ke.relativeTimeThreshold=function(e,n){return dn[e]===t?!1:n===t?dn[e]:(dn[e]=n,!0)},ke.lang=i("moment.lang is deprecated. Use moment.locale instead.",function(t,e){return ke.locale(t,e)}),ke.locale=function(t,e){var n;return t&&(n="undefined"!=typeof e?ke.defineLocale(t,e):ke.localeData(t),n&&(ke.duration._locale=ke._locale=n)),ke._locale._abbr},ke.defineLocale=function(t,e){return null!==e?(e.abbr=t,Ue[t]||(Ue[t]=new c),Ue[t].set(e),ke.locale(t),Ue[t]):(delete Ue[t],null)},ke.langData=i("moment.langData is deprecated. Use moment.localeData instead.",function(t){return ke.localeData(t)}),ke.localeData=function(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ke._locale;if(!g(t)){if(e=I(t))return e;t=[t]}return z(t)},ke.isMoment=function(t){return t instanceof d||null!=t&&n(t,"_isAMomentObject")},ke.isDuration=function(t){return t instanceof l};for(De=_n.length-1;De>=0;--De)b(_n[De]);ke.normalizeUnits=function(t){return w(t)},ke.invalid=function(t){var e=ke.utc(0/0);return null!=t?h(e._pf,t):e._pf.userInvalidated=!0,e},ke.parseZone=function(){return ke.apply(null,arguments).parseZone()},ke.parseTwoDigitYear=function(t){return S(t)+(S(t)>68?1900:2e3)},h(ke.fn=d.prototype,{clone:function(){return ke(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=ke(this).utc();return 0<t.year()&&t.year()<=9999?P(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return G(this)},isDSTShifted:function(){return this._a?this.isValid()&&Y(this._a,(this._isUTC?ke.utc(this._a):ke(this._a)).toArray())>0:!1},parsingFlags:function(){return h({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(t){return this.zone(0,t)},local:function(t){return this._isUTC&&(this.zone(0,t),this._isUTC=!1,t&&this.add(this._dateTzOffset(),"m")),this},format:function(t){var e=P(this,t||ke.defaultFormat);return this.localeData().postformat(e)},add:k(1,"add"),subtract:k(-1,"subtract"),diff:function(t,e,n){var a,s,i,r=H(t,this),o=6e4*(this.zone()-r.zone());return e=w(e),"year"===e||"month"===e?(a=432e5*(this.daysInMonth()+r.daysInMonth()),s=12*(this.year()-r.year())+(this.month()-r.month()),i=this-ke(this).startOf("month")-(r-ke(r).startOf("month")),i-=6e4*(this.zone()-ke(this).startOf("month").zone()-(r.zone()-ke(r).startOf("month").zone())),s+=i/a,"year"===e&&(s/=12)):(a=this-r,s="second"===e?a/1e3:"minute"===e?a/6e4:"hour"===e?a/36e5:"day"===e?(a-o)/864e5:"week"===e?(a-o)/6048e5:a),n?s:m(s)},from:function(t,e){return ke.duration({to:this,from:t}).locale(this.locale()).humanize(!e)},fromNow:function(t){return this.from(ke(),t)},calendar:function(t){var e=t||ke(),n=H(e,this).startOf("day"),a=this.diff(n,"days",!0),s=-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse";return this.format(this.localeData().calendar(s,this))},isLeapYear:function(){return U(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=se(t,this.localeData()),this.add(t-e,"d")):e},month:me("Month",!0),startOf:function(t){switch(t=w(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=w(t),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},isAfter:function(t,e){return e=w("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=ke.isMoment(t)?t:ke(t),+this>+t):+this.clone().startOf(e)>+ke(t).startOf(e)},isBefore:function(t,e){return e=w("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=ke.isMoment(t)?t:ke(t),+t>+this):+this.clone().startOf(e)<+ke(t).startOf(e)},isSame:function(t,e){return e=w(e||"millisecond"),"millisecond"===e?(t=ke.isMoment(t)?t:ke(t),+this===+t):+this.clone().startOf(e)===+H(t,this).startOf(e)},min:i("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(t){return t=ke.apply(null,arguments),this>t?this:t}),max:i("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(t){return t=ke.apply(null,arguments),t>this?this:t}),zone:function(t,e){var n,a=this._offset||0;return null==t?this._isUTC?a:this._dateTzOffset():("string"==typeof t&&(t=N(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&e&&(n=this._dateTzOffset()),this._offset=t,this._isUTC=!0,null!=n&&this.subtract(n,"m"),a!==t&&(!e||this._changeInProgress?D(this,ke.duration(a-t,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ke.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this -},hasAlignedHourOffset:function(t){return t=t?ke(t).zone():0,(this.zone()-t)%60===0},daysInMonth:function(){return T(this.year(),this.month())},dayOfYear:function(t){var e=Me((ke(this).startOf("day")-ke(this).startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},quarter:function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},weekYear:function(t){var e=oe(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")},isoWeekYear:function(t){var e=oe(this,1,4).year;return null==t?e:this.add(t-e,"y")},week:function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},isoWeek:function(t){var e=oe(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},weekday:function(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},isoWeeksInYear:function(){return O(this.year(),1,4)},weeksInYear:function(){var t=this.localeData()._week;return O(this.year(),t.dow,t.doy)},get:function(t){return t=w(t),this[t]()},set:function(t,e){return t=w(t),"function"==typeof this[t]&&this[t](e),this},locale:function(e){var n;return e===t?this._locale._abbr:(n=ke.localeData(e),null!=n&&(this._locale=n),this)},lang:i("moment().lang() is deprecated. Use moment().localeData() instead.",function(e){return e===t?this.localeData():this.locale(e)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}}),ke.fn.millisecond=ke.fn.milliseconds=me("Milliseconds",!1),ke.fn.second=ke.fn.seconds=me("Seconds",!1),ke.fn.minute=ke.fn.minutes=me("Minutes",!1),ke.fn.hour=ke.fn.hours=me("Hours",!0),ke.fn.date=me("Date",!0),ke.fn.dates=i("dates accessor is deprecated. Use date instead.",me("Date",!0)),ke.fn.year=me("FullYear",!0),ke.fn.years=i("years accessor is deprecated. Use year instead.",me("FullYear",!0)),ke.fn.days=ke.fn.day,ke.fn.months=ke.fn.month,ke.fn.weeks=ke.fn.week,ke.fn.isoWeeks=ke.fn.isoWeek,ke.fn.quarters=ke.fn.quarter,ke.fn.toJSON=ke.fn.toISOString,h(ke.duration.fn=l.prototype,{_bubble:function(){var t,e,n,a=this._milliseconds,s=this._days,i=this._months,r=this._data,o=0;r.milliseconds=a%1e3,t=m(a/1e3),r.seconds=t%60,e=m(t/60),r.minutes=e%60,n=m(e/60),r.hours=n%24,s+=m(n/24),o=m(_e(s)),s-=m(pe(o)),i+=m(s/30),s%=30,o+=m(i/12),i%=12,r.days=s,r.months=i,r.years=o},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return m(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)},humanize:function(t){var e=re(this,!t,this.localeData());return t&&(e=this.localeData().pastFuture(+this,e)),this.localeData().postformat(e)},add:function(t,e){var n=ke.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=ke.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(t){return t=w(t),this[t.toLowerCase()+"s"]()},as:function(t){var e,n;if(t=w(t),"month"===t||"year"===t)return e=this._days+this._milliseconds/864e5,n=this._months+12*_e(e),"month"===t?n:n/12;switch(e=this._days+pe(this._months/12),t){case"week":return e/7+this._milliseconds/6048e5;case"day":return e+this._milliseconds/864e5;case"hour":return 24*e+this._milliseconds/36e5;case"minute":return 24*e*60+this._milliseconds/6e4;case"second":return 24*e*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*e*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+t)}},lang:ke.fn.lang,locale:ke.fn.locale,toIsoString:i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),n=Math.abs(this.days()),a=Math.abs(this.hours()),s=Math.abs(this.minutes()),i=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(a||s||i?"T":"")+(a?a+"H":"")+(s?s+"M":"")+(i?i+"S":""):"P0D"},localeData:function(){return this._locale}}),ke.duration.fn.toString=ke.duration.fn.toISOString;for(De in rn)n(rn,De)&&ye(De.toLowerCase());return ke.duration.fn.asMilliseconds=function(){return this.as("ms")},ke.duration.fn.asSeconds=function(){return this.as("s")},ke.duration.fn.asMinutes=function(){return this.as("m")},ke.duration.fn.asHours=function(){return this.as("h")},ke.duration.fn.asDays=function(){return this.as("d")},ke.duration.fn.asWeeks=function(){return this.as("weeks")},ke.duration.fn.asMonths=function(){return this.as("M")},ke.duration.fn.asYears=function(){return this.as("y")},ke.locale("en",{ordinal:function(t){var e=t%10,n=1===S(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),ke}.call(this),t.Utils.moment=n,t.datepicker}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-password.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-password.js deleted file mode 100644 index 38d0549e3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-password.js +++ /dev/null @@ -1,66 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-form-password", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('formPassword', { - - defaults: { - "lblShow": "Show", - "lblHide": "Hide" - }, - - boot: function() { - // init code - UI.$html.on("click.formpassword.uikit", "[data-uk-form-password]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("formPassword")) { - - e.preventDefault(); - - var obj = UI.formPassword(ele, UI.Utils.options(ele.attr("data-uk-form-password"))); - ele.trigger("click"); - } - }); - }, - - init: function() { - - var $this = this; - - this.on("click", function(e) { - - e.preventDefault(); - - if($this.input.length) { - var type = $this.input.attr("type"); - $this.input.attr("type", type=="text" ? "password":"text"); - $this.element.text($this.options[type=="text" ? "lblShow":"lblHide"]); - } - }); - - this.input = this.element.next("input").length ? this.element.next("input") : this.element.prev("input"); - this.element.text(this.options[this.input.is("[type='password']") ? "lblShow":"lblHide"]); - - this.element.data("formPassword", this); - } - }); - - return UI.formPassword; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-password.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-password.min.js deleted file mode 100644 index a57ba5082..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-password.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-password",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";return t.component("formPassword",{defaults:{lblShow:"Show",lblHide:"Hide"},boot:function(){t.$html.on("click.formpassword.uikit","[data-uk-form-password]",function(i){var e=t.$(this);if(!e.data("formPassword")){i.preventDefault();{t.formPassword(e,t.Utils.options(e.attr("data-uk-form-password")))}e.trigger("click")}})},init:function(){var t=this;this.on("click",function(i){if(i.preventDefault(),t.input.length){var e=t.input.attr("type");t.input.attr("type","text"==e?"password":"text"),t.element.text(t.options["text"==e?"lblShow":"lblHide"])}}),this.input=this.element.next("input").length?this.element.next("input"):this.element.prev("input"),this.element.text(this.options[this.input.is("[type='password']")?"lblShow":"lblHide"]),this.element.data("formPassword",this)}}),t.formPassword}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-select.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-select.js deleted file mode 100644 index ddafff856..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-select.js +++ /dev/null @@ -1,70 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-form-select", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('formSelect', { - - defaults: { - 'target': '>span:first', - 'activeClass': 'uk-active' - }, - - boot: function() { - // init code - UI.ready(function(context) { - - UI.$("[data-uk-form-select]", context).each(function(){ - - var ele = UI.$(this); - - if (!ele.data("formSelect")) { - var obj = UI.formSelect(ele, UI.Utils.options(ele.attr("data-uk-form-select"))); - } - }); - }); - }, - - init: function() { - var $this = this; - - this.target = this.find(this.options.target); - this.select = this.find('select'); - - // init + on change event - this.select.on("change", (function(){ - - var select = $this.select[0], fn = function(){ - - try { - $this.target.text(select.options[select.selectedIndex].text); - } catch(e) {} - - $this.element[$this.select.val() ? 'addClass':'removeClass']($this.options.activeClass); - - return fn; - }; - - return fn(); - })()); - - this.element.data("formSelect", this); - } - }); - - return UI.formSelect; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-select.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-select.min.js deleted file mode 100644 index fc09bfb3a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/form-select.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-select",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("formSelect",{defaults:{target:">span:first",activeClass:"uk-active"},boot:function(){t.ready(function(e){t.$("[data-uk-form-select]",e).each(function(){var e=t.$(this);if(!e.data("formSelect")){t.formSelect(e,t.Utils.options(e.attr("data-uk-form-select")))}})})},init:function(){var t=this;this.target=this.find(this.options.target),this.select=this.find("select"),this.select.on("change",function(){var e=t.select[0],i=function(){try{t.target.text(e.options[e.selectedIndex].text)}catch(n){}return t.element[t.select.val()?"addClass":"removeClass"](t.options.activeClass),i};return i()}()),this.element.data("formSelect",this)}}),t.formSelect}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/grid.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/grid.js deleted file mode 100644 index 3a7ae7a33..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/grid.js +++ /dev/null @@ -1,524 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-grid", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('grid', { - - defaults: { - colwidth : 'auto', - animation : true, - duration : 300, - gutter : 0, - controls : false, - filter : false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$('[data-uk-grid]', context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("grid")) { - var plugin = UI.grid(ele, UI.Utils.options(ele.attr('data-uk-grid'))); - } - }); - }); - }, - - init: function() { - - var $this = this, gutter = String(this.options.gutter).trim().split(' '); - - this.gutterv = parseInt(gutter[0], 10); - this.gutterh = parseInt((gutter[1] || gutter[0]), 10); - - // make sure parent element has the right position property - this.element.css({'position': 'relative'}); - - this.controls = null; - - if (this.options.controls) { - - this.controls = UI.$(this.options.controls); - - // filter - this.controls.on('click', '[data-uk-filter]', function(e){ - e.preventDefault(); - $this.filter(UI.$(this).data('ukFilter')); - }); - - // sort - this.controls.on('click', '[data-uk-sort]', function(e){ - e.preventDefault(); - var cmd = UI.$(this).attr('data-uk-sort').split(':'); - $this.sort(cmd[0], cmd[1]); - }); - } - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ - - if ($this.currentfilter) { - $this.filter($this.currentfilter); - } else { - this.updateLayout(); - } - - }.bind(this), 100)); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) $this.updateLayout(); - }); - - UI.$html.on("changed.uk.dom", function(e) { - $this.updateLayout(); - }); - - if (this.options.filter !== false) { - this.filter(this.options.filter); - } else { - this.updateLayout(); - } - }, - - _prepareElements: function() { - - var children = this.element.children(':not([data-grid-prepared])'), css; - - // exit if no already prepared elements found - if (!children.length) { - return; - } - - css = { - 'position' : 'absolute', - 'box-sizing' : 'border-box', - 'width' : this.options.colwidth == 'auto' ? '' : this.options.colwidth - }; - - if (this.options.gutter) { - - css['padding-left'] = this.gutterh; - css['padding-bottom'] = this.gutterv; - - this.element.css('margin-left', this.gutterh * -1); - } - - children.attr('data-grid-prepared', 'true').css(css); - }, - - updateLayout: function(elements) { - - this._prepareElements(); - - elements = elements || this.element.children(':visible'); - - var $this = this, - children = elements, - maxwidth = this.element.width() + (2*this.gutterh) + 2, - left = 0, - top = 0, - positions = [], - - item, width, height, pos, aX, aY, i, z, max, size; - - this.trigger('beforeupdate.uk.grid', [children]); - - children.each(function(index){ - - size = getElementSize(this); - - item = UI.$(this); - width = size.outerWidth; - height = size.outerHeight; - left = 0; - top = 0; - - for (i=0,max=positions.length;i<max;i++) { - - pos = positions[i]; - - if (left <= pos.aX) { left = pos.aX; } - if (maxwidth < (left + width)) { left = 0; } - if (top <= pos.aY) { top = pos.aY; } - } - - positions.push({ - "ele" : item, - "top" : top, - "left" : left, - "width" : width, - "height" : height, - "aY" : (top + height), - "aX" : (left + width) - }); - }); - - var posPrev, maxHeight = 0; - - // fix top - for (i=0,max=positions.length;i<max;i++) { - - pos = positions[i]; - top = 0; - - for (z=0;z<i;z++) { - - posPrev = positions[z]; - - // (posPrev.left + 1) fixex 1px bug when using % based widths - if (pos.left < posPrev.aX && (posPrev.left +1) < pos.aX) { - top = posPrev.aY; - } - } - - pos.top = top; - pos.aY = top + pos.height; - - maxHeight = Math.max(maxHeight, pos.aY); - } - - maxHeight = maxHeight - this.gutterv; - - if (this.options.animation) { - - this.element.stop().animate({'height': maxHeight}, 100); - - positions.forEach(function(pos){ - pos.ele.stop().animate({"top": pos.top, "left": pos.left, opacity: 1}, this.options.duration); - }.bind(this)); - - } else { - - this.element.css('height', maxHeight); - - positions.forEach(function(pos){ - pos.ele.css({"top": pos.top, "left": pos.left, opacity: 1}); - }.bind(this)); - } - - // make sure to trigger possible scrollpies etc. - setTimeout(function() { - UI.$doc.trigger('scrolling.uk.document'); - }, 2 * this.options.duration * (this.options.animation ? 1:0)); - - this.trigger('afterupdate.uk.grid', [children]); - }, - - filter: function(filter) { - - this.currentfilter = filter; - - filter = filter || []; - - if (typeof(filter) === 'string') { - filter = filter.split(/,/).map(function(item){ return item.trim(); }); - } - - var $this = this, children = this.element.children(), elements = {"visible": [], "hidden": []}, visible, hidden; - - children.each(function(index){ - - var ele = UI.$(this), f = ele.attr('data-uk-filter'), infilter = filter.length ? false : true; - - if (f) { - - f = f.split(/,/).map(function(item){ return item.trim(); }); - - filter.forEach(function(item){ - if (f.indexOf(item) > -1) infilter = true; - }); - } - - elements[infilter ? "visible":"hidden"].push(ele); - }); - - // convert to jQuery collections - elements.hidden = UI.$(elements.hidden).map(function () {return this[0];}); - elements.visible = UI.$(elements.visible).map(function () {return this[0];}); - - elements.hidden.attr('aria-hidden', 'true').filter(':visible').fadeOut(this.options.duration); - elements.visible.attr('aria-hidden', 'false').filter(':hidden').css('opacity', 0).show(); - - $this.updateLayout(elements.visible); - - if (this.controls && this.controls.length) { - this.controls.find('[data-uk-filter]').removeClass('uk-active').filter('[data-uk-filter="'+filter+'"]').addClass('uk-active'); - } - }, - - sort: function(by, order){ - - order = order || 1; - - // covert from string (asc|desc) to number - if (typeof(order) === 'string') { - order = order.toLowerCase() == 'desc' ? -1 : 1; - } - - var elements = this.element.children(); - - elements.sort(function(a, b){ - - a = UI.$(a); - b = UI.$(b); - - return (b.data(by) || '') < (a.data(by) || '') ? order : (order*-1); - - }).appendTo(this.element); - - this.updateLayout(elements.filter(':visible')); - - if (this.controls && this.controls.length) { - this.controls.find('[data-uk-sort]').removeClass('uk-active').filter('[data-uk-sort="'+by+':'+(order == -1 ? 'desc':'asc')+'"]').addClass('uk-active'); - } - } - }); - - - /*! - * getSize v1.2.2 - * measure size of elements - * MIT license - * https://github.com/desandro/get-size - */ - var _getSize = (function(){ - - var prefixes = 'Webkit Moz ms Ms O'.split(' '); - var docElemStyle = document.documentElement.style; - - function getStyleProperty( propName ) { - if ( !propName ) { - return; - } - - // test standard property first - if ( typeof docElemStyle[ propName ] === 'string' ) { - return propName; - } - - // capitalize - propName = propName.charAt(0).toUpperCase() + propName.slice(1); - - // test vendor specific properties - var prefixed; - for ( var i=0, len = prefixes.length; i < len; i++ ) { - prefixed = prefixes[i] + propName; - if ( typeof docElemStyle[ prefixed ] === 'string' ) { - return prefixed; - } - } - } - - // -------------------------- helpers -------------------------- // - - // get a number from a string, not a percentage - function getStyleSize( value ) { - var num = parseFloat( value ); - // not a percent like '100%', and a number - var isValid = value.indexOf('%') === -1 && !isNaN( num ); - return isValid && num; - } - - function noop() {} - - var logError = typeof console === 'undefined' ? noop : function( message ) { - console.error( message ); - }; - - // -------------------------- measurements -------------------------- // - - var measurements = [ - 'paddingLeft', - 'paddingRight', - 'paddingTop', - 'paddingBottom', - 'marginLeft', - 'marginRight', - 'marginTop', - 'marginBottom', - 'borderLeftWidth', - 'borderRightWidth', - 'borderTopWidth', - 'borderBottomWidth' - ]; - - function getZeroSize() { - var size = { - width: 0, - height: 0, - innerWidth: 0, - innerHeight: 0, - outerWidth: 0, - outerHeight: 0 - }; - for ( var i=0, len = measurements.length; i < len; i++ ) { - var measurement = measurements[i]; - size[ measurement ] = 0; - } - return size; - } - - - // -------------------------- setup -------------------------- // - - var isSetup = false; - var getStyle, boxSizingProp, isBoxSizeOuter; - - /** - * setup vars and functions - * do it on initial getSize(), rather than on script load - * For Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=548397 - */ - function setup() { - // setup once - if ( isSetup ) { - return; - } - isSetup = true; - - var getComputedStyle = window.getComputedStyle; - getStyle = ( function() { - var getStyleFn = getComputedStyle ? - function( elem ) { - return getComputedStyle( elem, null ); - } : - function( elem ) { - return elem.currentStyle; - }; - - return function getStyle( elem ) { - var style = getStyleFn( elem ); - if ( !style ) { - logError( 'Style returned ' + style + - '. Are you running this code in a hidden iframe on Firefox? ' + - 'See http://bit.ly/getsizebug1' ); - } - return style; - }; - })(); - - // -------------------------- box sizing -------------------------- // - - boxSizingProp = getStyleProperty('boxSizing'); - - /** - * WebKit measures the outer-width on style.width on border-box elems - * IE & Firefox measures the inner-width - */ - if ( boxSizingProp ) { - var div = document.createElement('div'); - div.style.width = '200px'; - div.style.padding = '1px 2px 3px 4px'; - div.style.borderStyle = 'solid'; - div.style.borderWidth = '1px 2px 3px 4px'; - div.style[ boxSizingProp ] = 'border-box'; - - var body = document.body || document.documentElement; - body.appendChild( div ); - var style = getStyle( div ); - - isBoxSizeOuter = getStyleSize( style.width ) === 200; - body.removeChild( div ); - } - - } - - // -------------------------- getSize -------------------------- // - - function getSize( elem ) { - setup(); - - // use querySeletor if elem is string - if ( typeof elem === 'string' ) { - elem = document.querySelector( elem ); - } - - // do not proceed on non-objects - if ( !elem || typeof elem !== 'object' || !elem.nodeType ) { - return; - } - - var style = getStyle( elem ); - - // if hidden, everything is 0 - if ( style.display === 'none' ) { - return getZeroSize(); - } - - var size = {}; - size.width = elem.offsetWidth; - size.height = elem.offsetHeight; - - var isBorderBox = size.isBorderBox = !!( boxSizingProp && - style[ boxSizingProp ] && style[ boxSizingProp ] === 'border-box' ); - - // get all measurements - for ( var i=0, len = measurements.length; i < len; i++ ) { - var measurement = measurements[i]; - var value = style[ measurement ]; - - var num = parseFloat( value ); - // any 'auto', 'medium' value will be 0 - size[ measurement ] = !isNaN( num ) ? num : 0; - } - - var paddingWidth = size.paddingLeft + size.paddingRight; - var paddingHeight = size.paddingTop + size.paddingBottom; - var marginWidth = size.marginLeft + size.marginRight; - var marginHeight = size.marginTop + size.marginBottom; - var borderWidth = size.borderLeftWidth + size.borderRightWidth; - var borderHeight = size.borderTopWidth + size.borderBottomWidth; - - var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter; - - // overwrite width and height if we can get it from style - var styleWidth = getStyleSize( style.width ); - if ( styleWidth !== false ) { - size.width = styleWidth + - // add padding and border unless it's already including it - ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth ); - } - - var styleHeight = getStyleSize( style.height ); - if ( styleHeight !== false ) { - size.height = styleHeight + - // add padding and border unless it's already including it - ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight ); - } - - size.innerWidth = size.width - ( paddingWidth + borderWidth ); - size.innerHeight = size.height - ( paddingHeight + borderHeight ); - - size.outerWidth = size.width + marginWidth; - size.outerHeight = size.height + marginHeight; - - return size; - } - - return getSize; - - })(); - - function getElementSize(ele) { - return _getSize(ele); - } -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/grid.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/grid.min.js deleted file mode 100644 index ce3bbdea2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/grid.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-grid",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(t){return e(t)}t.component("grid",{defaults:{colwidth:"auto",animation:!0,duration:300,gutter:0,controls:!1,filter:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid]",i).each(function(){var i=t.$(this);if(!i.data("grid")){t.grid(i,t.Utils.options(i.attr("data-uk-grid")))}})})},init:function(){var i=this,e=String(this.options.gutter).trim().split(" ");this.gutterv=parseInt(e[0],10),this.gutterh=parseInt(e[1]||e[0],10),this.element.css({position:"relative"}),this.controls=null,this.options.controls&&(this.controls=t.$(this.options.controls),this.controls.on("click","[data-uk-filter]",function(e){e.preventDefault(),i.filter(t.$(this).data("ukFilter"))}),this.controls.on("click","[data-uk-sort]",function(e){e.preventDefault();var n=t.$(this).attr("data-uk-sort").split(":");i.sort(n[0],n[1])})),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){i.currentfilter?i.filter(i.currentfilter):this.updateLayout()}.bind(this),100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.updateLayout()}),t.$html.on("changed.uk.dom",function(){i.updateLayout()}),this.options.filter!==!1?this.filter(this.options.filter):this.updateLayout()},_prepareElements:function(){var t,i=this.element.children(":not([data-grid-prepared])");i.length&&(t={position:"absolute","box-sizing":"border-box",width:"auto"==this.options.colwidth?"":this.options.colwidth},this.options.gutter&&(t["padding-left"]=this.gutterh,t["padding-bottom"]=this.gutterv,this.element.css("margin-left",-1*this.gutterh)),i.attr("data-grid-prepared","true").css(t))},updateLayout:function(e){this._prepareElements(),e=e||this.element.children(":visible");var n,r,o,a,s,d,h,u,l=e,f=this.element.width()+2*this.gutterh+2,c=0,p=0,g=[];this.trigger("beforeupdate.uk.grid",[l]),l.each(function(){for(u=i(this),n=t.$(this),r=u.outerWidth,o=u.outerHeight,c=0,p=0,s=0,h=g.length;h>s;s++)a=g[s],c<=a.aX&&(c=a.aX),c+r>f&&(c=0),p<=a.aY&&(p=a.aY);g.push({ele:n,top:p,left:c,width:r,height:o,aY:p+o,aX:c+r})});var m,v=0;for(s=0,h=g.length;h>s;s++){for(a=g[s],p=0,d=0;s>d;d++)m=g[d],a.left<m.aX&&m.left+1<a.aX&&(p=m.aY);a.top=p,a.aY=p+a.height,v=Math.max(v,a.aY)}v-=this.gutterv,this.options.animation?(this.element.stop().animate({height:v},100),g.forEach(function(t){t.ele.stop().animate({top:t.top,left:t.left,opacity:1},this.options.duration)}.bind(this))):(this.element.css("height",v),g.forEach(function(t){t.ele.css({top:t.top,left:t.left,opacity:1})}.bind(this))),setTimeout(function(){t.$doc.trigger("scrolling.uk.document")},2*this.options.duration*(this.options.animation?1:0)),this.trigger("afterupdate.uk.grid",[l])},filter:function(i){this.currentfilter=i,i=i||[],"string"==typeof i&&(i=i.split(/,/).map(function(t){return t.trim()}));var e=this,n=this.element.children(),r={visible:[],hidden:[]};n.each(function(){var e=t.$(this),n=e.attr("data-uk-filter"),o=i.length?!1:!0;n&&(n=n.split(/,/).map(function(t){return t.trim()}),i.forEach(function(t){n.indexOf(t)>-1&&(o=!0)})),r[o?"visible":"hidden"].push(e)}),r.hidden=t.$(r.hidden).map(function(){return this[0]}),r.visible=t.$(r.visible).map(function(){return this[0]}),r.hidden.attr("aria-hidden","true").filter(":visible").fadeOut(this.options.duration),r.visible.attr("aria-hidden","false").filter(":hidden").css("opacity",0).show(),e.updateLayout(r.visible),this.controls&&this.controls.length&&this.controls.find("[data-uk-filter]").removeClass("uk-active").filter('[data-uk-filter="'+i+'"]').addClass("uk-active")},sort:function(i,e){e=e||1,"string"==typeof e&&(e="desc"==e.toLowerCase()?-1:1);var n=this.element.children();n.sort(function(n,r){return n=t.$(n),r=t.$(r),(r.data(i)||"")<(n.data(i)||"")?e:-1*e}).appendTo(this.element),this.updateLayout(n.filter(":visible")),this.controls&&this.controls.length&&this.controls.find("[data-uk-sort]").removeClass("uk-active").filter('[data-uk-sort="'+i+":"+(-1==e?"desc":"asc")+'"]').addClass("uk-active")}});var e=function(){function t(t){if(t){if("string"==typeof u[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var i,e=0,n=h.length;n>e;e++)if(i=h[e]+t,"string"==typeof u[i])return i}}function i(t){var i=parseFloat(t),e=-1===t.indexOf("%")&&!isNaN(i);return e&&i}function e(){}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0,e=f.length;e>i;i++){var n=f[i];t[n]=0}return t}function r(){if(!c){c=!0;var e=window.getComputedStyle;if(a=function(){var t=e?function(t){return e(t,null)}:function(t){return t.currentStyle};return function(i){var e=t(i);return e||l("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}}(),s=t("boxSizing")){var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style[s]="border-box";var r=document.body||document.documentElement;r.appendChild(n);var o=a(n);d=200===i(o.width),r.removeChild(n)}}}function o(t){if(r(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=a(t);if("none"===e.display)return n();var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var h=o.isBorderBox=!(!s||!e[s]||"border-box"!==e[s]),u=0,l=f.length;l>u;u++){var c=f[u],p=e[c],g=parseFloat(p);o[c]=isNaN(g)?0:g}var m=o.paddingLeft+o.paddingRight,v=o.paddingTop+o.paddingBottom,b=o.marginLeft+o.marginRight,y=o.marginTop+o.marginBottom,k=o.borderLeftWidth+o.borderRightWidth,w=o.borderTopWidth+o.borderBottomWidth,x=h&&d,W=i(e.width);W!==!1&&(o.width=W+(x?0:m+k));var L=i(e.height);return L!==!1&&(o.height=L+(x?0:v+w)),o.innerWidth=o.width-(m+k),o.innerHeight=o.height-(v+w),o.outerWidth=o.width+b,o.outerHeight=o.height+y,o}}var a,s,d,h="Webkit Moz ms Ms O".split(" "),u=document.documentElement.style,l="undefined"==typeof console?e:function(t){console.error(t)},f=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],c=!1;return o}()}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/htmleditor.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/htmleditor.js deleted file mode 100644 index 08586bd60..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/htmleditor.js +++ /dev/null @@ -1,621 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-htmleditor", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var editors = []; - - UI.component('htmleditor', { - - defaults: { - iframe : false, - mode : 'split', - markdown : false, - autocomplete : true, - height : 500, - maxsplitsize : 1000, - codemirror : { mode: 'htmlmixed', lineWrapping: true, dragDrop: false, autoCloseTags: true, matchTags: true, autoCloseBrackets: true, matchBrackets: true, indentUnit: 4, indentWithTabs: false, tabSize: 4, hintOptions: {completionSingle:false} }, - toolbar : [ 'bold', 'italic', 'strike', 'link', 'image', 'blockquote', 'listUl', 'listOl' ], - lblPreview : 'Preview', - lblCodeview : 'HTML', - lblMarkedview: 'Markdown' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$('textarea[data-uk-htmleditor]', context).each(function() { - - var editor = UI.$(this), obj; - - if (!editor.data('htmleditor')) { - obj = UI.htmleditor(editor, UI.Utils.options(editor.attr('data-uk-htmleditor'))); - } - }); - }); - }, - - init: function() { - - var $this = this, tpl = UI.components.htmleditor.template; - - this.CodeMirror = this.options.CodeMirror || CodeMirror; - this.buttons = {}; - - tpl = tpl.replace(/\{:lblPreview\}/g, this.options.lblPreview); - tpl = tpl.replace(/\{:lblCodeview\}/g, this.options.lblCodeview); - - this.htmleditor = UI.$(tpl); - this.content = this.htmleditor.find('.uk-htmleditor-content'); - this.toolbar = this.htmleditor.find('.uk-htmleditor-toolbar'); - this.preview = this.htmleditor.find('.uk-htmleditor-preview').children().eq(0); - this.code = this.htmleditor.find('.uk-htmleditor-code'); - - this.element.before(this.htmleditor).appendTo(this.code); - this.editor = this.CodeMirror.fromTextArea(this.element[0], this.options.codemirror); - this.editor.htmleditor = this; - this.editor.on('change', UI.Utils.debounce(function() { $this.render(); }, 150)); - this.editor.on('change', function() { - $this.editor.save(); - $this.element.trigger('input'); - }); - this.code.find('.CodeMirror').css('height', this.options.height); - - // iframe mode? - if (this.options.iframe) { - - this.iframe = UI.$('<iframe class="uk-htmleditor-iframe" frameborder="0" scrolling="auto" height="100" width="100%"></iframe>'); - this.preview.append(this.iframe); - - // must open and close document object to start using it! - this.iframe[0].contentWindow.document.open(); - this.iframe[0].contentWindow.document.close(); - - this.preview.container = UI.$(this.iframe[0].contentWindow.document).find('body'); - - // append custom stylesheet - if (typeof(this.options.iframe) === 'string') { - this.preview.container.parent().append('<link rel="stylesheet" href="'+this.options.iframe+'">'); - } - - } else { - this.preview.container = this.preview; - } - - UI.$win.on('resize load', UI.Utils.debounce(function() { $this.fit(); }, 200)); - - var previewContainer = this.iframe ? this.preview.container:$this.preview.parent(), - codeContent = this.code.find('.CodeMirror-sizer'), - codeScroll = this.code.find('.CodeMirror-scroll').on('scroll', UI.Utils.debounce(function() { - - if ($this.htmleditor.attr('data-mode') == 'tab') return; - - // calc position - var codeHeight = codeContent.height() - codeScroll.height(), - previewHeight = previewContainer[0].scrollHeight - ($this.iframe ? $this.iframe.height() : previewContainer.height()), - ratio = previewHeight / codeHeight, - previewPostition = codeScroll.scrollTop() * ratio; - - // apply new scroll - previewContainer.scrollTop(previewPostition); - - }, 10)); - - this.htmleditor.on('click', '.uk-htmleditor-button-code, .uk-htmleditor-button-preview', function(e) { - - e.preventDefault(); - - if ($this.htmleditor.attr('data-mode') == 'tab') { - - $this.htmleditor.find('.uk-htmleditor-button-code, .uk-htmleditor-button-preview').removeClass('uk-active').filter(this).addClass('uk-active'); - - $this.activetab = UI.$(this).hasClass('uk-htmleditor-button-code') ? 'code' : 'preview'; - $this.htmleditor.attr('data-active-tab', $this.activetab); - $this.editor.refresh(); - } - }); - - // toolbar actions - this.htmleditor.on('click', 'a[data-htmleditor-button]', function() { - - if (!$this.code.is(':visible')) return; - - $this.trigger('action.' + UI.$(this).data('htmleditor-button'), [$this.editor]); - }); - - this.preview.parent().css('height', this.code.height()); - - // autocomplete - if (this.options.autocomplete && this.CodeMirror.showHint && this.CodeMirror.hint && this.CodeMirror.hint.html) { - - this.editor.on('inputRead', UI.Utils.debounce(function() { - var doc = $this.editor.getDoc(), POS = doc.getCursor(), mode = $this.CodeMirror.innerMode($this.editor.getMode(), $this.editor.getTokenAt(POS).state).mode.name; - - if (mode == 'xml') { //html depends on xml - - var cur = $this.editor.getCursor(), token = $this.editor.getTokenAt(cur); - - if (token.string.charAt(0) == '<' || token.type == 'attribute') { - $this.CodeMirror.showHint($this.editor, $this.CodeMirror.hint.html, { completeSingle: false }); - } - } - }, 100)); - } - - this.debouncedRedraw = UI.Utils.debounce(function () { $this.redraw(); }, 5); - - this.on('init.uk.component', function() { - $this.redraw(); - }); - - this.element.attr('data-uk-check-display', 1).on('display.uk.check', function(e) { - if (this.htmleditor.is(":visible")) this.fit(); - }.bind(this)); - - editors.push(this); - }, - - addButton: function(name, button) { - this.buttons[name] = button; - }, - - addButtons: function(buttons) { - UI.$.extend(this.buttons, buttons); - }, - - replaceInPreview: function(regexp, callback) { - - var editor = this.editor, results = [], value = editor.getValue(), offset = -1; - - this.currentvalue = this.currentvalue.replace(regexp, function() { - - offset = value.indexOf(arguments[0], ++offset); - - var match = { - matches: arguments, - from : translateOffset(offset), - to : translateOffset(offset + arguments[0].length), - replace: function(value) { - editor.replaceRange(value, match.from, match.to); - }, - inRange: function(cursor) { - - if (cursor.line === match.from.line && cursor.line === match.to.line) { - return cursor.ch >= match.from.ch && cursor.ch < match.to.ch; - } - - return (cursor.line === match.from.line && cursor.ch >= match.from.ch) || - (cursor.line > match.from.line && cursor.line < match.to.line) || - (cursor.line === match.to.line && cursor.ch < match.to.ch); - } - }; - - var result = callback(match); - - if (!result) { - return arguments[0]; - } - - results.push(match); - return result; - }); - - function translateOffset(offset) { - var result = editor.getValue().substring(0, offset).split('\n'); - return { line: result.length - 1, ch: result[result.length - 1].length } - } - - return results; - }, - - _buildtoolbar: function() { - - if (!(this.options.toolbar && this.options.toolbar.length)) return; - - var $this = this, bar = []; - - this.toolbar.empty(); - - this.options.toolbar.forEach(function(button) { - if (!$this.buttons[button]) return; - - var title = $this.buttons[button].title ? $this.buttons[button].title : button; - - bar.push('<li><a data-htmleditor-button="'+button+'" title="'+title+'" data-uk-tooltip>'+$this.buttons[button].label+'</a></li>'); - }); - - this.toolbar.html(bar.join('\n')); - }, - - fit: function() { - - var mode = this.options.mode; - - if (mode == 'split' && this.htmleditor.width() < this.options.maxsplitsize) { - mode = 'tab'; - } - - if (mode == 'tab') { - if (!this.activetab) { - this.activetab = 'code'; - this.htmleditor.attr('data-active-tab', this.activetab); - } - - this.htmleditor.find('.uk-htmleditor-button-code, .uk-htmleditor-button-preview').removeClass('uk-active') - .filter(this.activetab == 'code' ? '.uk-htmleditor-button-code' : '.uk-htmleditor-button-preview') - .addClass('uk-active'); - } - - this.editor.refresh(); - this.preview.parent().css('height', this.code.height()); - - this.htmleditor.attr('data-mode', mode); - }, - - redraw: function() { - this._buildtoolbar(); - this.render(); - this.fit(); - }, - - getMode: function() { - return this.editor.getOption('mode'); - }, - - getCursorMode: function() { - var param = { mode: 'html'}; - this.trigger('cursorMode', [param]); - return param.mode; - }, - - render: function() { - - this.currentvalue = this.editor.getValue(); - - // empty code - if (!this.currentvalue) { - - this.element.val(''); - this.preview.container.html(''); - - return; - } - - this.trigger('render', [this]); - this.trigger('renderLate', [this]); - - this.preview.container.html(this.currentvalue); - }, - - addShortcut: function(name, callback) { - var map = {}; - if (!UI.$.isArray(name)) { - name = [name]; - } - - name.forEach(function(key) { - map[key] = callback; - }); - - this.editor.addKeyMap(map); - - return map; - }, - - addShortcutAction: function(action, shortcuts) { - var editor = this; - this.addShortcut(shortcuts, function() { - editor.element.trigger('action.' + action, [editor.editor]); - }); - }, - - replaceSelection: function(replace) { - - var text = this.editor.getSelection(); - - if (!text.length) { - - var cur = this.editor.getCursor(), - curLine = this.editor.getLine(cur.line), - start = cur.ch, - end = start; - - while (end < curLine.length && /[\w$]+/.test(curLine.charAt(end))) ++end; - while (start && /[\w$]+/.test(curLine.charAt(start - 1))) --start; - - var curWord = start != end && curLine.slice(start, end); - - if (curWord) { - this.editor.setSelection({ line: cur.line, ch: start}, { line: cur.line, ch: end }); - text = curWord; - } - } - - var html = replace.replace('$1', text); - - this.editor.replaceSelection(html, 'end'); - this.editor.focus(); - }, - - replaceLine: function(replace) { - var pos = this.editor.getDoc().getCursor(), - text = this.editor.getLine(pos.line), - html = replace.replace('$1', text); - - this.editor.replaceRange(html , { line: pos.line, ch: 0 }, { line: pos.line, ch: text.length }); - this.editor.setCursor({ line: pos.line, ch: html.length }); - this.editor.focus(); - }, - - save: function() { - this.editor.save(); - } - }); - - - UI.components.htmleditor.template = [ - '<div class="uk-htmleditor uk-clearfix" data-mode="split">', - '<div class="uk-htmleditor-navbar">', - '<ul class="uk-htmleditor-navbar-nav uk-htmleditor-toolbar"></ul>', - '<div class="uk-htmleditor-navbar-flip">', - '<ul class="uk-htmleditor-navbar-nav">', - '<li class="uk-htmleditor-button-code"><a>{:lblCodeview}</a></li>', - '<li class="uk-htmleditor-button-preview"><a>{:lblPreview}</a></li>', - '<li><a data-htmleditor-button="fullscreen"><i class="uk-icon-expand"></i></a></li>', - '</ul>', - '</div>', - '</div>', - '<div class="uk-htmleditor-content">', - '<div class="uk-htmleditor-code"></div>', - '<div class="uk-htmleditor-preview"><div></div></div>', - '</div>', - '</div>' - ].join(''); - - - UI.plugin('htmleditor', 'base', { - - init: function(editor) { - - editor.addButtons({ - - fullscreen: { - title : 'Fullscreen', - label : '<i class="uk-icon-expand"></i>' - }, - bold : { - title : 'Bold', - label : '<i class="uk-icon-bold"></i>' - }, - italic : { - title : 'Italic', - label : '<i class="uk-icon-italic"></i>' - }, - strike : { - title : 'Strikethrough', - label : '<i class="uk-icon-strikethrough"></i>' - }, - blockquote : { - title : 'Blockquote', - label : '<i class="uk-icon-quote-right"></i>' - }, - link : { - title : 'Link', - label : '<i class="uk-icon-link"></i>' - }, - image : { - title : 'Image', - label : '<i class="uk-icon-picture-o"></i>' - }, - listUl : { - title : 'Unordered List', - label : '<i class="uk-icon-list-ul"></i>' - }, - listOl : { - title : 'Ordered List', - label : '<i class="uk-icon-list-ol"></i>' - } - - }); - - addAction('bold', '<strong>$1</strong>'); - addAction('italic', '<em>$1</em>'); - addAction('strike', '<del>$1</del>'); - addAction('blockquote', '<blockquote><p>$1</p></blockquote>', 'replaceLine'); - addAction('link', '<a href="http://">$1</a>'); - addAction('image', '<img src="http://" alt="$1">'); - - var listfn = function() { - if (editor.getCursorMode() == 'html') { - - var cm = editor.editor, - pos = cm.getDoc().getCursor(true), - posend = cm.getDoc().getCursor(false); - - for (var i=pos.line; i<(posend.line+1);i++) { - cm.replaceRange('<li>'+cm.getLine(i)+'</li>', { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); - } - - cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); - cm.focus(); - } - } - - editor.on('action.listUl', function() { - listfn(); - }); - - editor.on('action.listOl', function() { - listfn(); - }); - - editor.htmleditor.on('click', 'a[data-htmleditor-button="fullscreen"]', function() { - editor.htmleditor.toggleClass('uk-htmleditor-fullscreen'); - - var wrap = editor.editor.getWrapperElement(); - - if (editor.htmleditor.hasClass('uk-htmleditor-fullscreen')) { - - editor.editor.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, width: wrap.style.width, height: wrap.style.height}; - wrap.style.width = ''; - wrap.style.height = editor.content.height()+'px'; - document.documentElement.style.overflow = 'hidden'; - - } else { - - document.documentElement.style.overflow = ''; - var info = editor.editor.state.fullScreenRestore; - wrap.style.width = info.width; wrap.style.height = info.height; - window.scrollTo(info.scrollLeft, info.scrollTop); - } - - setTimeout(function() { - editor.fit(); - UI.$win.trigger('resize'); - }, 50); - }); - - editor.addShortcut(['Ctrl-S', 'Cmd-S'], function() { editor.element.trigger('htmleditor-save', [editor]); }); - editor.addShortcutAction('bold', ['Ctrl-B', 'Cmd-B']); - - function addAction(name, replace, mode) { - editor.on('action.'+name, function() { - if (editor.getCursorMode() == 'html') { - editor[mode == 'replaceLine' ? 'replaceLine' : 'replaceSelection'](replace); - } - }); - } - } - }); - - UI.plugin('htmleditor', 'markdown', { - - init: function(editor) { - - var parser = editor.options.mdparser || marked || null; - - if (!parser) return; - - if (editor.options.markdown) { - enableMarkdown(); - } - - addAction('bold', '**$1**'); - addAction('italic', '*$1*'); - addAction('strike', '~~$1~~'); - addAction('blockquote', '> $1', 'replaceLine'); - addAction('link', '[$1](http://)'); - addAction('image', '![$1](http://)'); - - editor.on('action.listUl', function() { - - if (editor.getCursorMode() == 'markdown') { - - var cm = editor.editor, - pos = cm.getDoc().getCursor(true), - posend = cm.getDoc().getCursor(false); - - for (var i=pos.line; i<(posend.line+1);i++) { - cm.replaceRange('* '+cm.getLine(i), { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); - } - - cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); - cm.focus(); - } - }); - - editor.on('action.listOl', function() { - - if (editor.getCursorMode() == 'markdown') { - - var cm = editor.editor, - pos = cm.getDoc().getCursor(true), - posend = cm.getDoc().getCursor(false), - prefix = 1; - - if (pos.line > 0) { - var prevline = cm.getLine(pos.line-1), matches; - - if(matches = prevline.match(/^(\d+)\./)) { - prefix = Number(matches[1])+1; - } - } - - for (var i=pos.line; i<(posend.line+1);i++) { - cm.replaceRange(prefix+'. '+cm.getLine(i), { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); - prefix++; - } - - cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); - cm.focus(); - } - }); - - editor.on('renderLate', function() { - if (editor.editor.options.mode == 'gfm') { - editor.currentvalue = parser(editor.currentvalue); - } - }); - - editor.on('cursorMode', function(e, param) { - if (editor.editor.options.mode == 'gfm') { - var pos = editor.editor.getDoc().getCursor(); - if (!editor.editor.getTokenAt(pos).state.base.htmlState) { - param.mode = 'markdown'; - } - } - }); - - UI.$.extend(editor, { - - enableMarkdown: function() { - enableMarkdown() - this.render(); - }, - disableMarkdown: function() { - this.editor.setOption('mode', 'htmlmixed'); - this.htmleditor.find('.uk-htmleditor-button-code a').html(this.options.lblCodeview); - this.render(); - } - - }); - - // switch markdown mode on event - editor.on({ - enableMarkdown : function() { editor.enableMarkdown(); }, - disableMarkdown : function() { editor.disableMarkdown(); } - }); - - function enableMarkdown() { - editor.editor.setOption('mode', 'gfm'); - editor.htmleditor.find('.uk-htmleditor-button-code a').html(editor.options.lblMarkedview); - } - - function addAction(name, replace, mode) { - editor.on('action.'+name, function() { - if (editor.getCursorMode() == 'markdown') { - editor[mode == 'replaceLine' ? 'replaceLine' : 'replaceSelection'](replace); - } - }); - } - } - }); - - return UI.htmleditor; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/htmleditor.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/htmleditor.min.js deleted file mode 100644 index a33d65fbf..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/htmleditor.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-htmleditor",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e=[];return t.component("htmleditor",{defaults:{iframe:!1,mode:"split",markdown:!1,autocomplete:!0,height:500,maxsplitsize:1e3,codemirror:{mode:"htmlmixed",lineWrapping:!0,dragDrop:!1,autoCloseTags:!0,matchTags:!0,autoCloseBrackets:!0,matchBrackets:!0,indentUnit:4,indentWithTabs:!1,tabSize:4,hintOptions:{completionSingle:!1}},toolbar:["bold","italic","strike","link","image","blockquote","listUl","listOl"],lblPreview:"Preview",lblCodeview:"HTML",lblMarkedview:"Markdown"},boot:function(){t.ready(function(e){t.$("textarea[data-uk-htmleditor]",e).each(function(){var e,i=t.$(this);i.data("htmleditor")||(e=t.htmleditor(i,t.Utils.options(i.attr("data-uk-htmleditor"))))})})},init:function(){var i=this,o=t.components.htmleditor.template;this.CodeMirror=this.options.CodeMirror||CodeMirror,this.buttons={},o=o.replace(/\{:lblPreview\}/g,this.options.lblPreview),o=o.replace(/\{:lblCodeview\}/g,this.options.lblCodeview),this.htmleditor=t.$(o),this.content=this.htmleditor.find(".uk-htmleditor-content"),this.toolbar=this.htmleditor.find(".uk-htmleditor-toolbar"),this.preview=this.htmleditor.find(".uk-htmleditor-preview").children().eq(0),this.code=this.htmleditor.find(".uk-htmleditor-code"),this.element.before(this.htmleditor).appendTo(this.code),this.editor=this.CodeMirror.fromTextArea(this.element[0],this.options.codemirror),this.editor.htmleditor=this,this.editor.on("change",t.Utils.debounce(function(){i.render()},150)),this.editor.on("change",function(){i.editor.save(),i.element.trigger("input")}),this.code.find(".CodeMirror").css("height",this.options.height),this.options.iframe?(this.iframe=t.$('<iframe class="uk-htmleditor-iframe" frameborder="0" scrolling="auto" height="100" width="100%"></iframe>'),this.preview.append(this.iframe),this.iframe[0].contentWindow.document.open(),this.iframe[0].contentWindow.document.close(),this.preview.container=t.$(this.iframe[0].contentWindow.document).find("body"),"string"==typeof this.options.iframe&&this.preview.container.parent().append('<link rel="stylesheet" href="'+this.options.iframe+'">')):this.preview.container=this.preview,t.$win.on("resize load",t.Utils.debounce(function(){i.fit()},200));var r=this.iframe?this.preview.container:i.preview.parent(),n=this.code.find(".CodeMirror-sizer"),l=this.code.find(".CodeMirror-scroll").on("scroll",t.Utils.debounce(function(){if("tab"!=i.htmleditor.attr("data-mode")){var t=n.height()-l.height(),e=r[0].scrollHeight-(i.iframe?i.iframe.height():r.height()),o=e/t,s=l.scrollTop()*o;r.scrollTop(s)}},10));this.htmleditor.on("click",".uk-htmleditor-button-code, .uk-htmleditor-button-preview",function(e){e.preventDefault(),"tab"==i.htmleditor.attr("data-mode")&&(i.htmleditor.find(".uk-htmleditor-button-code, .uk-htmleditor-button-preview").removeClass("uk-active").filter(this).addClass("uk-active"),i.activetab=t.$(this).hasClass("uk-htmleditor-button-code")?"code":"preview",i.htmleditor.attr("data-active-tab",i.activetab),i.editor.refresh())}),this.htmleditor.on("click","a[data-htmleditor-button]",function(){i.code.is(":visible")&&i.trigger("action."+t.$(this).data("htmleditor-button"),[i.editor])}),this.preview.parent().css("height",this.code.height()),this.options.autocomplete&&this.CodeMirror.showHint&&this.CodeMirror.hint&&this.CodeMirror.hint.html&&this.editor.on("inputRead",t.Utils.debounce(function(){var t=i.editor.getDoc(),e=t.getCursor(),o=i.CodeMirror.innerMode(i.editor.getMode(),i.editor.getTokenAt(e).state).mode.name;if("xml"==o){var r=i.editor.getCursor(),n=i.editor.getTokenAt(r);("<"==n.string.charAt(0)||"attribute"==n.type)&&i.CodeMirror.showHint(i.editor,i.CodeMirror.hint.html,{completeSingle:!1})}},100)),this.debouncedRedraw=t.Utils.debounce(function(){i.redraw()},5),this.on("init.uk.component",function(){i.redraw()}),this.element.attr("data-uk-check-display",1).on("display.uk.check",function(){this.htmleditor.is(":visible")&&this.fit()}.bind(this)),e.push(this)},addButton:function(t,e){this.buttons[t]=e},addButtons:function(e){t.$.extend(this.buttons,e)},replaceInPreview:function(t,e){function i(t){var e=o.getValue().substring(0,t).split("\n");return{line:e.length-1,ch:e[e.length-1].length}}var o=this.editor,r=[],n=o.getValue(),l=-1;return this.currentvalue=this.currentvalue.replace(t,function(){l=n.indexOf(arguments[0],++l);var t={matches:arguments,from:i(l),to:i(l+arguments[0].length),replace:function(e){o.replaceRange(e,t.from,t.to)},inRange:function(e){return e.line===t.from.line&&e.line===t.to.line?e.ch>=t.from.ch&&e.ch<t.to.ch:e.line===t.from.line&&e.ch>=t.from.ch||e.line>t.from.line&&e.line<t.to.line||e.line===t.to.line&&e.ch<t.to.ch}},s=e(t);return s?(r.push(t),s):arguments[0]}),r},_buildtoolbar:function(){if(this.options.toolbar&&this.options.toolbar.length){var t=this,e=[];this.toolbar.empty(),this.options.toolbar.forEach(function(i){if(t.buttons[i]){var o=t.buttons[i].title?t.buttons[i].title:i;e.push('<li><a data-htmleditor-button="'+i+'" title="'+o+'" data-uk-tooltip>'+t.buttons[i].label+"</a></li>")}}),this.toolbar.html(e.join("\n"))}},fit:function(){var t=this.options.mode;"split"==t&&this.htmleditor.width()<this.options.maxsplitsize&&(t="tab"),"tab"==t&&(this.activetab||(this.activetab="code",this.htmleditor.attr("data-active-tab",this.activetab)),this.htmleditor.find(".uk-htmleditor-button-code, .uk-htmleditor-button-preview").removeClass("uk-active").filter("code"==this.activetab?".uk-htmleditor-button-code":".uk-htmleditor-button-preview").addClass("uk-active")),this.editor.refresh(),this.preview.parent().css("height",this.code.height()),this.htmleditor.attr("data-mode",t)},redraw:function(){this._buildtoolbar(),this.render(),this.fit()},getMode:function(){return this.editor.getOption("mode")},getCursorMode:function(){var t={mode:"html"};return this.trigger("cursorMode",[t]),t.mode},render:function(){return this.currentvalue=this.editor.getValue(),this.currentvalue?(this.trigger("render",[this]),this.trigger("renderLate",[this]),this.preview.container.html(this.currentvalue),void 0):(this.element.val(""),this.preview.container.html(""),void 0)},addShortcut:function(e,i){var o={};return t.$.isArray(e)||(e=[e]),e.forEach(function(t){o[t]=i}),this.editor.addKeyMap(o),o},addShortcutAction:function(t,e){var i=this;this.addShortcut(e,function(){i.element.trigger("action."+t,[i.editor])})},replaceSelection:function(t){var e=this.editor.getSelection();if(!e.length){for(var i=this.editor.getCursor(),o=this.editor.getLine(i.line),r=i.ch,n=r;n<o.length&&/[\w$]+/.test(o.charAt(n));)++n;for(;r&&/[\w$]+/.test(o.charAt(r-1));)--r;var l=r!=n&&o.slice(r,n);l&&(this.editor.setSelection({line:i.line,ch:r},{line:i.line,ch:n}),e=l)}var s=t.replace("$1",e);this.editor.replaceSelection(s,"end"),this.editor.focus()},replaceLine:function(t){var e=this.editor.getDoc().getCursor(),i=this.editor.getLine(e.line),o=t.replace("$1",i);this.editor.replaceRange(o,{line:e.line,ch:0},{line:e.line,ch:i.length}),this.editor.setCursor({line:e.line,ch:o.length}),this.editor.focus()},save:function(){this.editor.save()}}),t.components.htmleditor.template=['<div class="uk-htmleditor uk-clearfix" data-mode="split">','<div class="uk-htmleditor-navbar">','<ul class="uk-htmleditor-navbar-nav uk-htmleditor-toolbar"></ul>','<div class="uk-htmleditor-navbar-flip">','<ul class="uk-htmleditor-navbar-nav">','<li class="uk-htmleditor-button-code"><a>{:lblCodeview}</a></li>','<li class="uk-htmleditor-button-preview"><a>{:lblPreview}</a></li>','<li><a data-htmleditor-button="fullscreen"><i class="uk-icon-expand"></i></a></li>',"</ul>","</div>","</div>",'<div class="uk-htmleditor-content">','<div class="uk-htmleditor-code"></div>','<div class="uk-htmleditor-preview"><div></div></div>',"</div>","</div>"].join(""),t.plugin("htmleditor","base",{init:function(e){function i(t,i,o){e.on("action."+t,function(){"html"==e.getCursorMode()&&e["replaceLine"==o?"replaceLine":"replaceSelection"](i)})}e.addButtons({fullscreen:{title:"Fullscreen",label:'<i class="uk-icon-expand"></i>'},bold:{title:"Bold",label:'<i class="uk-icon-bold"></i>'},italic:{title:"Italic",label:'<i class="uk-icon-italic"></i>'},strike:{title:"Strikethrough",label:'<i class="uk-icon-strikethrough"></i>'},blockquote:{title:"Blockquote",label:'<i class="uk-icon-quote-right"></i>'},link:{title:"Link",label:'<i class="uk-icon-link"></i>'},image:{title:"Image",label:'<i class="uk-icon-picture-o"></i>'},listUl:{title:"Unordered List",label:'<i class="uk-icon-list-ul"></i>'},listOl:{title:"Ordered List",label:'<i class="uk-icon-list-ol"></i>'}}),i("bold","<strong>$1</strong>"),i("italic","<em>$1</em>"),i("strike","<del>$1</del>"),i("blockquote","<blockquote><p>$1</p></blockquote>","replaceLine"),i("link",'<a href="http://">$1</a>'),i("image",'<img src="http://" alt="$1">');var o=function(){if("html"==e.getCursorMode()){for(var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),r=i.line;r<o.line+1;r++)t.replaceRange("<li>"+t.getLine(r)+"</li>",{line:r,ch:0},{line:r,ch:t.getLine(r).length});t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}};e.on("action.listUl",function(){o()}),e.on("action.listOl",function(){o()}),e.htmleditor.on("click",'a[data-htmleditor-button="fullscreen"]',function(){e.htmleditor.toggleClass("uk-htmleditor-fullscreen");var i=e.editor.getWrapperElement();if(e.htmleditor.hasClass("uk-htmleditor-fullscreen"))e.editor.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:i.style.width,height:i.style.height},i.style.width="",i.style.height=e.content.height()+"px",document.documentElement.style.overflow="hidden";else{document.documentElement.style.overflow="";var o=e.editor.state.fullScreenRestore;i.style.width=o.width,i.style.height=o.height,window.scrollTo(o.scrollLeft,o.scrollTop)}setTimeout(function(){e.fit(),t.$win.trigger("resize")},50)}),e.addShortcut(["Ctrl-S","Cmd-S"],function(){e.element.trigger("htmleditor-save",[e])}),e.addShortcutAction("bold",["Ctrl-B","Cmd-B"])}}),t.plugin("htmleditor","markdown",{init:function(e){function i(){e.editor.setOption("mode","gfm"),e.htmleditor.find(".uk-htmleditor-button-code a").html(e.options.lblMarkedview)}function o(t,i,o){e.on("action."+t,function(){"markdown"==e.getCursorMode()&&e["replaceLine"==o?"replaceLine":"replaceSelection"](i)})}var r=e.options.mdparser||marked||null;r&&(e.options.markdown&&i(),o("bold","**$1**"),o("italic","*$1*"),o("strike","~~$1~~"),o("blockquote","> $1","replaceLine"),o("link","[$1](http://)"),o("image","![$1](http://)"),e.on("action.listUl",function(){if("markdown"==e.getCursorMode()){for(var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),r=i.line;r<o.line+1;r++)t.replaceRange("* "+t.getLine(r),{line:r,ch:0},{line:r,ch:t.getLine(r).length});t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}}),e.on("action.listOl",function(){if("markdown"==e.getCursorMode()){var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),r=1;if(i.line>0){var n,l=t.getLine(i.line-1);(n=l.match(/^(\d+)\./))&&(r=Number(n[1])+1)}for(var s=i.line;s<o.line+1;s++)t.replaceRange(r+". "+t.getLine(s),{line:s,ch:0},{line:s,ch:t.getLine(s).length}),r++;t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}}),e.on("renderLate",function(){"gfm"==e.editor.options.mode&&(e.currentvalue=r(e.currentvalue))}),e.on("cursorMode",function(t,i){if("gfm"==e.editor.options.mode){var o=e.editor.getDoc().getCursor();e.editor.getTokenAt(o).state.base.htmlState||(i.mode="markdown")}}),t.$.extend(e,{enableMarkdown:function(){i(),this.render()},disableMarkdown:function(){this.editor.setOption("mode","htmlmixed"),this.htmleditor.find(".uk-htmleditor-button-code a").html(this.options.lblCodeview),this.render()}}),e.on({enableMarkdown:function(){e.enableMarkdown()},disableMarkdown:function(){e.disableMarkdown()}}))}}),t.htmleditor}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/lightbox.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/lightbox.js deleted file mode 100644 index 1abb1a541..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/lightbox.js +++ /dev/null @@ -1,544 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { // AMD - define("uikit-lightbox", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var modal, cache = {}; - - UI.component('lightbox', { - - defaults: { - "group" : false, - "duration" : 400, - "keyboard" : true - }, - - index : 0, - items : false, - - boot: function() { - - UI.$html.on('click', '[data-uk-lightbox]', function(e){ - - e.preventDefault(); - - var link = UI.$(this); - - if (!link.data("lightbox")) { - - UI.lightbox(link, UI.Utils.options(link.attr("data-uk-lightbox"))); - } - - link.data("lightbox").show(link); - }); - - // keyboard navigation - UI.$doc.on('keyup', function(e) { - - if (modal && modal.is(':visible') && modal.lightbox.options.keyboard) { - - e.preventDefault(); - - switch(e.keyCode) { - case 37: - modal.lightbox.previous(); - break; - case 39: - modal.lightbox.next(); - break; - } - } - }); - }, - - init: function() { - - var $this = this, siblings = []; - - this.index = 0; - this.siblings = []; - - if (this.element && this.element.length) { - - var domSiblings = this.options.group ? UI.$([ - '[data-uk-lightbox*="'+this.options.group+'"]', - "[data-uk-lightbox*='"+this.options.group+"']" - ].join(',')) : this.element; - - domSiblings.each(function() { - - var ele = UI.$(this); - - siblings.push({ - 'source': ele.attr('href'), - 'title' : ele.attr('title'), - 'type' : ele.attr("data-lightbox-type") || 'auto', - 'link' : ele - }); - }); - - this.index = domSiblings.index(this.element); - this.siblings = siblings; - - } else if (this.options.group && this.options.group.length) { - this.siblings = this.options.group; - } - - this.trigger('lightbox-init', [this]); - }, - - show: function(index) { - - this.modal = getModal(this); - - // stop previous animation - this.modal.dialog.stop(); - this.modal.content.stop(); - - var $this = this, promise = UI.$.Deferred(), data, item; - - index = index || 0; - - // index is a jQuery object or DOM element - if (typeof(index) == 'object') { - - this.siblings.forEach(function(s, idx){ - - if (index[0] === s.link[0]) { - index = idx; - } - }); - } - - // fix index if needed - if ( index < 0 ) { - index = this.siblings.length - index; - } else if (!this.siblings[index]) { - index = 0; - } - - item = this.siblings[index]; - - data = { - "lightbox" : $this, - "source" : item.source, - "type" : item.type, - "index" : index, - "promise" : promise, - "title" : item.title, - "item" : item, - "meta" : { - "content" : '', - "width" : null, - "height" : null - } - }; - - this.index = index; - - this.modal.content.empty(); - - if (!this.modal.is(':visible')) { - this.modal.content.css({width:'', height:''}).empty(); - this.modal.modal.show(); - } - - this.modal.loader.removeClass('uk-hidden'); - - promise.promise().done(function() { - - $this.data = data; - $this.fitSize(data); - - }).fail(function(){ - - data.meta.content = '<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>'; - data.meta.width = 400; - data.meta.height = 300; - - $this.data = data; - $this.fitSize(data); - }); - - $this.trigger('showitem.uk.lightbox', [data]); - }, - - fitSize: function() { - - var $this = this, - data = this.data, - pad = this.modal.dialog.outerWidth() - this.modal.dialog.width(), - dpadTop = parseInt(this.modal.dialog.css('margin-top'), 10), - dpadBot = parseInt(this.modal.dialog.css('margin-bottom'), 10), - dpad = dpadTop + dpadBot, - content = data.meta.content, - duration = $this.options.duration; - - if (this.siblings.length > 1) { - - content = [ - content, - '<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>', - '<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>' - ].join(''); - } - - // calculate width - var tmp = UI.$('<div>&nbsp;</div>').css({ - 'opacity' : 0, - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'width' : '100%', - 'max-width' : $this.modal.dialog.css('max-width'), - 'padding' : $this.modal.dialog.css('padding'), - 'margin' : $this.modal.dialog.css('margin') - }), maxwidth, maxheight, w = data.meta.width, h = data.meta.height; - - tmp.appendTo('body').width(); - - maxwidth = tmp.width(); - maxheight = window.innerHeight - dpad; - - tmp.remove(); - - this.modal.dialog.find('.uk-modal-caption').remove(); - - if (data.title) { - this.modal.dialog.append('<div class="uk-modal-caption">'+data.title+'</div>'); - maxheight -= this.modal.dialog.find('.uk-modal-caption').outerHeight(); - } - - if (maxwidth < data.meta.width) { - - h = Math.floor( h * (maxwidth / w) ); - w = maxwidth; - } - - if (maxheight < h) { - - h = Math.floor(maxheight); - w = Math.ceil(data.meta.width * (maxheight/data.meta.height)); - } - - this.modal.content.css('opacity', 0).width(w).html(content); - - if (data.type == 'iframe') { - this.modal.content.find('iframe:first').height(h); - } - - var dh = h + pad, - t = Math.floor(window.innerHeight/2 - dh/2) - dpad; - - if (t < 0) { t = 0; } - - this.modal.closer.addClass('uk-hidden'); - - if ($this.modal.data('mwidth') == w && $this.modal.data('mheight') == h) { - duration = 0; - } - - this.modal.dialog.animate({width: w + pad, height: h + pad, top: t }, duration, 'swing', function() { - $this.modal.loader.addClass('uk-hidden'); - $this.modal.content.css({width:''}).animate({'opacity': 1}, function() { - $this.modal.closer.removeClass('uk-hidden'); - }); - - $this.modal.data({'mwidth': w, 'mheight': h}); - }); - }, - - next: function() { - this.show(this.siblings[(this.index+1)] ? (this.index+1) : 0); - }, - - previous: function() { - this.show(this.siblings[(this.index-1)] ? (this.index-1) : this.siblings.length-1); - } - }); - - - // Plugins - - UI.plugin('lightbox', 'image', { - - init: function(lightbox) { - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - if (data.type == 'image' || data.source && data.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)) { - - var resolve = function(source, width, height) { - - data.meta = { - "content" : '<img class="uk-responsive-width" width="'+width+'" height="'+height+'" src ="'+source+'">', - "width" : width, - "height" : height - }; - - data.type = 'image'; - - data.promise.resolve(); - }; - - if (!cache[data.source]) { - - var img = new Image(); - - img.onerror = function(){ - data.promise.reject('Loading image failed'); - }; - - img.onload = function(){ - cache[data.source] = {width: img.width, height: img.height}; - resolve(data.source, cache[data.source].width, cache[data.source].height); - }; - - img.src = data.source; - - } else { - resolve(data.source, cache[data.source].width, cache[data.source].height); - } - } - }); - } - }); - - UI.plugin("lightbox", "youtube", { - - init: function(lightbox) { - - var youtubeRegExp = /(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/, - youtubeRegExpShort = /youtu\.be\/(.*)/; - - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - var id, matches, resolve = function(id, width, height) { - - data.meta = { - 'content': '<iframe src="//www.youtube.com/embed/'+id+'" width="'+width+'" height="'+height+'" style="max-width:100%;"></iframe>', - 'width': width, - 'height': height - }; - - data.type = 'iframe'; - - data.promise.resolve(); - }; - - if (matches = data.source.match(youtubeRegExp)) { - id = matches[2]; - } - - if (matches = data.source.match(youtubeRegExpShort)) { - id = matches[1]; - } - - if (id) { - - if(!cache[id]) { - - var img = new Image(); - - img.onerror = function(){ - cache[id] = {width:640, height:320}; - resolve(id, cache[id].width, cache[id].height); - }; - - img.onload = function(){ - cache[id] = {width:img.width, height:img.height}; - resolve(id, img.width, img.height); - }; - - img.src = '//img.youtube.com/vi/'+id+'/0.jpg'; - - } else { - resolve(id, cache[id].width, cache[id].height); - } - - e.stopImmediatePropagation(); - } - }); - } - }); - - - UI.plugin("lightbox", "vimeo", { - - init: function(lightbox) { - - var regex = /(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/, matches; - - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - var id, resolve = function(id, width, height) { - - data.meta = { - 'content': '<iframe src="//player.vimeo.com/video/'+id+'" width="'+width+'" height="'+height+'" style="width:100%;box-sizing:border-box;"></iframe>', - 'width': width, - 'height': height - }; - - data.type = 'iframe'; - - data.promise.resolve(); - }; - - if (matches = data.source.match(regex)) { - - id = matches[2]; - - if(!cache[id]) { - - UI.$.ajax({ - type : 'GET', - url : 'http://vimeo.com/api/oembed.json?url=' + encodeURI(data.source), - jsonp : 'callback', - dataType : 'jsonp', - success : function(data) { - cache[id] = {width:data.width, height:data.height}; - resolve(id, cache[id].width, cache[id].height); - } - }); - - } else { - resolve(id, cache[id].width, cache[id].height); - } - - e.stopImmediatePropagation(); - } - }); - } - }); - - UI.plugin("lightbox", "video", { - - init: function(lightbox) { - - lightbox.on("showitem.uk.lightbox", function(e, data){ - - - var resolve = function(source, width, height) { - - data.meta = { - 'content': '<video class="uk-responsive-width" src="'+source+'" width="'+width+'" height="'+height+'" controls></video>', - 'width': width, - 'height': height - }; - - data.type = 'video'; - - data.promise.resolve(); - }; - - if (data.type == 'video' || data.source.match(/\.(mp4|webm|ogv)$/i)) { - - if (!cache[data.source]) { - - var vid = UI.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr('src', data.source).appendTo('body'); - - var idle = setInterval(function() { - - if (vid[0].videoWidth) { - clearInterval(idle); - cache[data.source] = {width: vid[0].videoWidth, height: vid[0].videoHeight}; - resolve(data.source, cache[data.source].width, cache[data.source].height); - vid.remove(); - } - - }, 20); - - } else { - resolve(data.source, cache[data.source].width, cache[data.source].height); - } - } - }); - } - }); - - - function getModal(lightbox) { - - if (modal) { - modal.lightbox = lightbox; - return modal; - } - - // init lightbox container - modal = UI.$([ - '<div class="uk-modal">', - '<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2 - 200)+'px;">', - '<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>', - '<div class="uk-lightbox-content"></div>', - '<div class="uk-modal-spinner uk-hidden"></div>', - '</div>', - '</div>' - ].join('')).appendTo('body'); - - modal.dialog = modal.find('.uk-modal-dialog:first'); - modal.content = modal.find('.uk-lightbox-content:first'); - modal.loader = modal.find('.uk-modal-spinner:first'); - modal.closer = modal.find('.uk-close.uk-close-alt'); - modal.modal = UI.modal(modal, {modal:false}); - - // next / previous - modal.on("swipeRight swipeLeft", function(e) { - modal.lightbox[e.type=='swipeLeft' ? 'next':'previous'](); - }).on("click", "[data-lightbox-previous], [data-lightbox-next]", function(e){ - e.preventDefault(); - modal.lightbox[UI.$(this).is('[data-lightbox-next]') ? 'next':'previous'](); - }); - - // destroy content on modal hide - modal.on("hide.uk.modal", function(e) { - modal.content.html(''); - }); - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(e){ - if (modal.is(':visible') && !UI.Utils.isFullscreen()) modal.lightbox.fitSize(); - }.bind(this), 100)); - - modal.lightbox = lightbox; - - return modal; - } - - UI.lightbox.create = function(items, options) { - - if (!items) return; - - var group = [], o; - - items.forEach(function(item) { - - group.push(UI.$.extend({ - 'source' : '', - 'title' : '', - 'type' : 'auto', - 'link' : false - }, (typeof(item) == 'string' ? {'source': item} : item))); - }); - - o = UI.lightbox(UI.$.extend({}, options, {'group':group})); - - return o; - }; - - return UI.lightbox; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/lightbox.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/lightbox.min.js deleted file mode 100644 index a6aeeb4e7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/lightbox.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-lightbox",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";function t(t){return e?(e.lightbox=t,e):(e=i.$(['<div class="uk-modal">','<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2-200)+'px;">','<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>','<div class="uk-lightbox-content"></div>','<div class="uk-modal-spinner uk-hidden"></div>',"</div>","</div>"].join("")).appendTo("body"),e.dialog=e.find(".uk-modal-dialog:first"),e.content=e.find(".uk-lightbox-content:first"),e.loader=e.find(".uk-modal-spinner:first"),e.closer=e.find(".uk-close.uk-close-alt"),e.modal=i.modal(e,{modal:!1}),e.on("swipeRight swipeLeft",function(i){e.lightbox["swipeLeft"==i.type?"next":"previous"]()}).on("click","[data-lightbox-previous], [data-lightbox-next]",function(t){t.preventDefault(),e.lightbox[i.$(this).is("[data-lightbox-next]")?"next":"previous"]()}),e.on("hide.uk.modal",function(){e.content.html("")}),i.$win.on("load resize orientationchange",i.Utils.debounce(function(){e.is(":visible")&&!i.Utils.isFullscreen()&&e.lightbox.fitSize()}.bind(this),100)),e.lightbox=t,e)}var e,o={};return i.component("lightbox",{defaults:{group:!1,duration:400,keyboard:!0},index:0,items:!1,boot:function(){i.$html.on("click","[data-uk-lightbox]",function(t){t.preventDefault();var e=i.$(this);e.data("lightbox")||i.lightbox(e,i.Utils.options(e.attr("data-uk-lightbox"))),e.data("lightbox").show(e)}),i.$doc.on("keyup",function(i){if(e&&e.is(":visible")&&e.lightbox.options.keyboard)switch(i.preventDefault(),i.keyCode){case 37:e.lightbox.previous();break;case 39:e.lightbox.next()}})},init:function(){var t=[];if(this.index=0,this.siblings=[],this.element&&this.element.length){var e=this.options.group?i.$(['[data-uk-lightbox*="'+this.options.group+'"]',"[data-uk-lightbox*='"+this.options.group+"']"].join(",")):this.element;e.each(function(){var e=i.$(this);t.push({source:e.attr("href"),title:e.attr("title"),type:e.attr("data-lightbox-type")||"auto",link:e})}),this.index=e.index(this.element),this.siblings=t}else this.options.group&&this.options.group.length&&(this.siblings=this.options.group);this.trigger("lightbox-init",[this])},show:function(e){this.modal=t(this),this.modal.dialog.stop(),this.modal.content.stop();var o,n,s=this,h=i.$.Deferred();e=e||0,"object"==typeof e&&this.siblings.forEach(function(i,t){e[0]===i.link[0]&&(e=t)}),0>e?e=this.siblings.length-e:this.siblings[e]||(e=0),n=this.siblings[e],o={lightbox:s,source:n.source,type:n.type,index:e,promise:h,title:n.title,item:n,meta:{content:"",width:null,height:null}},this.index=e,this.modal.content.empty(),this.modal.is(":visible")||(this.modal.content.css({width:"",height:""}).empty(),this.modal.modal.show()),this.modal.loader.removeClass("uk-hidden"),h.promise().done(function(){s.data=o,s.fitSize(o)}).fail(function(){o.meta.content='<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>',o.meta.width=400,o.meta.height=300,s.data=o,s.fitSize(o)}),s.trigger("showitem.uk.lightbox",[o])},fitSize:function(){var t=this,e=this.data,o=this.modal.dialog.outerWidth()-this.modal.dialog.width(),n=parseInt(this.modal.dialog.css("margin-top"),10),s=parseInt(this.modal.dialog.css("margin-bottom"),10),h=n+s,a=e.meta.content,d=t.options.duration;this.siblings.length>1&&(a=[a,'<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>','<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>'].join(""));var l,r,u=i.$("<div>&nbsp;</div>").css({opacity:0,position:"absolute",top:0,left:0,width:"100%","max-width":t.modal.dialog.css("max-width"),padding:t.modal.dialog.css("padding"),margin:t.modal.dialog.css("margin")}),c=e.meta.width,g=e.meta.height;u.appendTo("body").width(),l=u.width(),r=window.innerHeight-h,u.remove(),this.modal.dialog.find(".uk-modal-caption").remove(),e.title&&(this.modal.dialog.append('<div class="uk-modal-caption">'+e.title+"</div>"),r-=this.modal.dialog.find(".uk-modal-caption").outerHeight()),l<e.meta.width&&(g=Math.floor(g*(l/c)),c=l),g>r&&(g=Math.floor(r),c=Math.ceil(e.meta.width*(r/e.meta.height))),this.modal.content.css("opacity",0).width(c).html(a),"iframe"==e.type&&this.modal.content.find("iframe:first").height(g);var m=g+o,p=Math.floor(window.innerHeight/2-m/2)-h;0>p&&(p=0),this.modal.closer.addClass("uk-hidden"),t.modal.data("mwidth")==c&&t.modal.data("mheight")==g&&(d=0),this.modal.dialog.animate({width:c+o,height:g+o,top:p},d,"swing",function(){t.modal.loader.addClass("uk-hidden"),t.modal.content.css({width:""}).animate({opacity:1},function(){t.modal.closer.removeClass("uk-hidden")}),t.modal.data({mwidth:c,mheight:g})})},next:function(){this.show(this.siblings[this.index+1]?this.index+1:0)},previous:function(){this.show(this.siblings[this.index-1]?this.index-1:this.siblings.length-1)}}),i.plugin("lightbox","image",{init:function(i){i.on("showitem.uk.lightbox",function(i,t){if("image"==t.type||t.source&&t.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)){var e=function(i,e,o){t.meta={content:'<img class="uk-responsive-width" width="'+e+'" height="'+o+'" src ="'+i+'">',width:e,height:o},t.type="image",t.promise.resolve()};if(o[t.source])e(t.source,o[t.source].width,o[t.source].height);else{var n=new Image;n.onerror=function(){t.promise.reject("Loading image failed")},n.onload=function(){o[t.source]={width:n.width,height:n.height},e(t.source,o[t.source].width,o[t.source].height)},n.src=t.source}}})}}),i.plugin("lightbox","youtube",{init:function(i){var t=/(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/,e=/youtu\.be\/(.*)/;i.on("showitem.uk.lightbox",function(i,n){var s,h,a=function(i,t,e){n.meta={content:'<iframe src="//www.youtube.com/embed/'+i+'" width="'+t+'" height="'+e+'" style="max-width:100%;"></iframe>',width:t,height:e},n.type="iframe",n.promise.resolve()};if((h=n.source.match(t))&&(s=h[2]),(h=n.source.match(e))&&(s=h[1]),s){if(o[s])a(s,o[s].width,o[s].height);else{var d=new Image;d.onerror=function(){o[s]={width:640,height:320},a(s,o[s].width,o[s].height)},d.onload=function(){o[s]={width:d.width,height:d.height},a(s,d.width,d.height)},d.src="//img.youtube.com/vi/"+s+"/0.jpg"}i.stopImmediatePropagation()}})}}),i.plugin("lightbox","vimeo",{init:function(t){var e,n=/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/;t.on("showitem.uk.lightbox",function(t,s){var h,a=function(i,t,e){s.meta={content:'<iframe src="//player.vimeo.com/video/'+i+'" width="'+t+'" height="'+e+'" style="width:100%;box-sizing:border-box;"></iframe>',width:t,height:e},s.type="iframe",s.promise.resolve()};(e=s.source.match(n))&&(h=e[2],o[h]?a(h,o[h].width,o[h].height):i.$.ajax({type:"GET",url:"http://vimeo.com/api/oembed.json?url="+encodeURI(s.source),jsonp:"callback",dataType:"jsonp",success:function(i){o[h]={width:i.width,height:i.height},a(h,o[h].width,o[h].height)}}),t.stopImmediatePropagation())})}}),i.plugin("lightbox","video",{init:function(t){t.on("showitem.uk.lightbox",function(t,e){var n=function(i,t,o){e.meta={content:'<video class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+o+'" controls></video>',width:t,height:o},e.type="video",e.promise.resolve()};if("video"==e.type||e.source.match(/\.(mp4|webm|ogv)$/i))if(o[e.source])n(e.source,o[e.source].width,o[e.source].height);else var s=i.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr("src",e.source).appendTo("body"),h=setInterval(function(){s[0].videoWidth&&(clearInterval(h),o[e.source]={width:s[0].videoWidth,height:s[0].videoHeight},n(e.source,o[e.source].width,o[e.source].height),s.remove())},20)})}}),i.lightbox.create=function(t,e){if(t){var o,n=[];return t.forEach(function(t){n.push(i.$.extend({source:"",title:"",type:"auto",link:!1},"string"==typeof t?{source:t}:t))}),o=i.lightbox(i.$.extend({},e,{group:n}))}},i.lightbox}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/nestable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/nestable.js deleted file mode 100644 index a7f423f15..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/nestable.js +++ /dev/null @@ -1,625 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* - * Based on Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/ - */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-nestable", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var hasTouch = 'ontouchstart' in window, - html = UI.$html, - touchedlists = [], - $win = UI.$win, - draggingElement, dragSource; - - var eStart = hasTouch ? 'touchstart' : 'mousedown', - eMove = hasTouch ? 'touchmove' : 'mousemove', - eEnd = hasTouch ? 'touchend' : 'mouseup', - eCancel = hasTouch ? 'touchcancel' : 'mouseup'; - - - UI.component('nestable', { - - defaults: { - listBaseClass : 'uk-nestable', - listClass : 'uk-nestable-list', - listItemClass : 'uk-nestable-item', - dragClass : 'uk-nestable-dragged', - movingClass : 'uk-nestable-moving', - handleClass : '', - collapsedClass : 'uk-collapsed', - placeholderClass: 'uk-nestable-placeholder', - noDragClass : 'uk-nestable-nodrag', - group : false, - maxDepth : 10, - threshold : 20, - idlethreshold : 10 - }, - - boot: function() { - - // adjust document scrolling - UI.$html.on('mousemove touchmove', function(e) { - - if (draggingElement) { - - var top = draggingElement.offset().top; - - if (top < UI.$win.scrollTop()) { - UI.$win.scrollTop(UI.$win.scrollTop() - Math.ceil(draggingElement.height()/2)); - } else if ( (top + draggingElement.height()) > (window.innerHeight + UI.$win.scrollTop()) ) { - UI.$win.scrollTop(UI.$win.scrollTop() + Math.ceil(draggingElement.height()/2)); - } - } - }); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-nestable]", context).each(function(){ - - var ele = UI.$(this); - - if (!ele.data("nestable")) { - UI.nestable(ele, UI.Utils.options(ele.attr("data-uk-nestable"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - Object.keys(this.options).forEach(function(key){ - - if(String(key).indexOf('Class')!=-1) { - $this.options['_'+key] = '.' + $this.options[key]; - } - }); - - this.find(this.options._listItemClass).find(">ul").addClass(this.options.listClass); - - this.checkEmptyList(); - - this.reset(); - this.element.data('nestable-group', this.options.group || UI.Utils.uid('nestable-group')); - - this.find(this.options._listItemClass).each(function() { - $this.setParent(UI.$(this)); - }); - - this.on('click', '[data-nestable-action]', function(e) { - - if ($this.dragEl || (!hasTouch && e.button !== 0)) { - return; - } - - e.preventDefault(); - - var target = UI.$(e.currentTarget), - action = target.data('nestableAction'), - item = target.closest($this.options._listItemClass); - - if (action === 'collapse') { - $this.collapseItem(item); - } - if (action === 'expand') { - $this.expandItem(item); - } - if (action === 'toggle') { - $this.toggleItem(item); - } - }); - - var onStartEvent = function(e) { - - var handle = UI.$(e.target); - - if (e.target === $this.element[0]) { - return; - } - - if (handle.is($this.options._noDragClass) || handle.closest($this.options._noDragClass).length) { - return; - } - - if (handle.is('[data-nestable-action]') || handle.closest('[data-nestable-action]').length) { - return; - } - - if ($this.options.handleClass && !handle.hasClass($this.options.handleClass)) { - - if ($this.options.handleClass) { - handle = handle.closest($this.options._handleClass); - } - } - - if (!handle.length || $this.dragEl || (!hasTouch && e.button !== 0) || (hasTouch && e.touches.length !== 1)) { - return; - } - - if (e.originalEvent && e.originalEvent.touches) { - e = evt.originalEvent.touches[0]; - } - - $this.delayMove = function(evt) { - - evt.preventDefault(); - $this.dragStart(e); - $this.trigger('start.uk.nestable', [$this]); - - $this.delayMove = false; - }; - - $this.delayMove.x = parseInt(e.pageX, 10); - $this.delayMove.y = parseInt(e.pageY, 10); - $this.delayMove.threshold = $this.options.idlethreshold; - - e.preventDefault(); - }; - - var onMoveEvent = function(e) { - - if (e.originalEvent && e.originalEvent.touches) { - e = e.originalEvent.touches[0]; - } - - if ($this.delayMove && (Math.abs(e.pageX - $this.delayMove.x) > $this.delayMove.threshold || Math.abs(e.pageY - $this.delayMove.y) > $this.delayMove.threshold)) { - - if (!window.getSelection().toString()) { - $this.delayMove(e); - } else { - $this.delayMove = false; - } - } - - if ($this.dragEl) { - e.preventDefault(); - $this.dragMove(e); - $this.trigger('move.uk.nestable', [$this]); - } - }; - - var onEndEvent = function(e) { - - if ($this.dragEl) { - e.preventDefault(); - $this.dragStop(hasTouch ? e.touches[0] : e); - } - - draggingElement = false; - $this.delayMove = false; - }; - - if (hasTouch) { - this.element[0].addEventListener(eStart, onStartEvent, false); - window.addEventListener(eMove, onMoveEvent, false); - window.addEventListener(eEnd, onEndEvent, false); - window.addEventListener(eCancel, onEndEvent, false); - } else { - this.on(eStart, onStartEvent); - $win.on(eMove, onMoveEvent); - $win.on(eEnd, onEndEvent); - } - - }, - - serialize: function() { - - var data, - depth = 0, - list = this, - step = function(level, depth) { - - var array = [ ], items = level.children(list.options._listItemClass); - - items.each(function() { - - var li = UI.$(this), - item = {}, attribute, - sub = li.children(list.options._listClass); - - for (var i = 0; i < li[0].attributes.length; i++) { - attribute = li[0].attributes[i]; - if (attribute.name.indexOf('data-') === 0) { - item[attribute.name.substr(5)] = UI.Utils.str2json(attribute.value); - } - } - - if (sub.length) { - item.children = step(sub, depth + 1); - } - - array.push(item); - - }); - return array; - }; - - data = step(list.element, depth); - - return data; - }, - - list: function(options) { - - var data = [], - list = this, - depth = 0, - step = function(level, depth, parent) { - - var items = level.children(options._listItemClass); - - items.each(function(index) { - var li = UI.$(this), - item = UI.$.extend({parent_id: (parent ? parent : null), depth: depth, order: index}, li.data()), - sub = li.children(options._listClass); - - data.push(item); - - if (sub.length) { - step(sub, depth + 1, li.data(options.idProperty || 'id')); - } - }); - }; - - options = UI.$.extend({}, list.options, options); - - step(list.element, depth); - - return data; - }, - - reset: function() { - - this.mouse = { - offsetX : 0, - offsetY : 0, - startX : 0, - startY : 0, - lastX : 0, - lastY : 0, - nowX : 0, - nowY : 0, - distX : 0, - distY : 0, - dirAx : 0, - dirX : 0, - dirY : 0, - lastDirX : 0, - lastDirY : 0, - distAxX : 0, - distAxY : 0 - }; - this.moving = false; - this.dragEl = null; - this.dragRootEl = null; - this.dragDepth = 0; - this.hasNewRoot = false; - this.pointEl = null; - - for (var i=0; i<touchedlists.length; i++) { - this.checkEmptyList(touchedlists[i]); - } - - touchedlists = []; - }, - - toggleItem: function(li) { - this[li.hasClass(this.options.collapsedClass) ? "expandItem":"collapseItem"](li); - }, - - expandItem: function(li) { - li.removeClass(this.options.collapsedClass); - }, - - collapseItem: function(li) { - var lists = li.children(this.options._listClass); - if (lists.length) { - li.addClass(this.options.collapsedClass); - } - }, - - expandAll: function() { - var list = this; - this.find(list.options._listItemClass).each(function() { - list.expandItem(UI.$(this)); - }); - }, - - collapseAll: function() { - var list = this; - this.find(list.options._listItemClass).each(function() { - list.collapseItem(UI.$(this)); - }); - }, - - setParent: function(li) { - - if (li.children(this.options._listClass).length) { - li.addClass("uk-parent"); - } - }, - - unsetParent: function(li) { - li.removeClass('uk-parent '+this.options.collapsedClass); - li.children(this.options._listClass).remove(); - }, - - dragStart: function(e) { - - var mouse = this.mouse, - target = UI.$(e.target), - dragItem = target.closest(this.options._listItemClass), - offset = dragItem.offset(); - - this.placeEl = dragItem; - - mouse.offsetX = e.pageX - offset.left; - mouse.offsetY = e.pageY - offset.top; - - mouse.startX = mouse.lastX = offset.left; - mouse.startY = mouse.lastY = offset.top; - - this.dragRootEl = this.element; - - this.dragEl = UI.$('<ul></ul>').addClass(this.options.listClass + ' ' + this.options.dragClass).append(dragItem.clone()); - this.dragEl.css('width', dragItem.width()); - this.placeEl.addClass(this.options.placeholderClass); - - draggingElement = this.dragEl; - - this.tmpDragOnSiblings = [dragItem[0].previousSibling, dragItem[0].nextSibling]; - - UI.$body.append(this.dragEl); - - this.dragEl.css({ - left : offset.left, - top : offset.top - }); - - // total depth of dragging item - var i, depth, items = this.dragEl.find(this.options._listItemClass); - - for (i = 0; i < items.length; i++) { - depth = UI.$(items[i]).parents(this.options._listClass+','+this.options._listBaseClass).length; - if (depth > this.dragDepth) { - this.dragDepth = depth; - } - } - - html.addClass(this.options.movingClass); - }, - - dragStop: function(e) { - - var el = this.placeEl, - root = this.placeEl.parents(this.options._listBaseClass+':first'); - - this.placeEl.removeClass(this.options.placeholderClass); - this.dragEl.remove(); - - if (this.element[0] !== root[0]) { - - root.trigger('change.uk.nestable',[el, "added", root, root.data('nestable')]); - this.element.trigger('change.uk.nestable', [el, "removed", this.element, this]); - - } else { - this.element.trigger('change.uk.nestable',[el, "moved", this.element, this]); - } - - this.trigger('stop.uk.nestable', [this, el]); - - this.reset(); - - html.removeClass(this.options.movingClass); - }, - - dragMove: function(e) { - var list, parent, prev, next, depth, - opt = this.options, - mouse = this.mouse, - maxDepth = this.dragRootEl ? this.dragRootEl.data('nestable').options.maxDepth : opt.maxDepth; - - this.dragEl.css({ - left : e.pageX - mouse.offsetX, - top : e.pageY - mouse.offsetY - }); - - // mouse position last events - mouse.lastX = mouse.nowX; - mouse.lastY = mouse.nowY; - // mouse position this events - mouse.nowX = e.pageX; - mouse.nowY = e.pageY; - // distance mouse moved between events - mouse.distX = mouse.nowX - mouse.lastX; - mouse.distY = mouse.nowY - mouse.lastY; - // direction mouse was moving - mouse.lastDirX = mouse.dirX; - mouse.lastDirY = mouse.dirY; - // direction mouse is now moving (on both axis) - mouse.dirX = mouse.distX === 0 ? 0 : mouse.distX > 0 ? 1 : -1; - mouse.dirY = mouse.distY === 0 ? 0 : mouse.distY > 0 ? 1 : -1; - // axis mouse is now moving on - var newAx = Math.abs(mouse.distX) > Math.abs(mouse.distY) ? 1 : 0; - - // do nothing on first move - if (!mouse.moving) { - mouse.dirAx = newAx; - mouse.moving = true; - return; - } - - // calc distance moved on this axis (and direction) - if (mouse.dirAx !== newAx) { - mouse.distAxX = 0; - mouse.distAxY = 0; - } else { - mouse.distAxX += Math.abs(mouse.distX); - if (mouse.dirX !== 0 && mouse.dirX !== mouse.lastDirX) { - mouse.distAxX = 0; - } - mouse.distAxY += Math.abs(mouse.distY); - if (mouse.dirY !== 0 && mouse.dirY !== mouse.lastDirY) { - mouse.distAxY = 0; - } - } - mouse.dirAx = newAx; - - /** - * move horizontal - */ - if (mouse.dirAx && mouse.distAxX >= opt.threshold) { - // reset move distance on x-axis for new phase - mouse.distAxX = 0; - prev = this.placeEl.prev('li'); - - // increase horizontal level if previous sibling exists and is not collapsed - if (mouse.distX > 0 && prev.length && !prev.hasClass(opt.collapsedClass)) { - - // cannot increase level when item above is collapsed - list = prev.find(opt._listClass).last(); - - // check if depth limit has reached - depth = this.placeEl.parents(opt._listClass+','+opt._listBaseClass).length; - - if (depth + this.dragDepth <= maxDepth) { - - // create new sub-level if one doesn't exist - if (!list.length) { - list = UI.$('<ul/>').addClass(opt.listClass); - list.append(this.placeEl); - prev.append(list); - this.setParent(prev); - } else { - // else append to next level up - list = prev.children(opt._listClass).last(); - list.append(this.placeEl); - } - } - } - // decrease horizontal level - if (mouse.distX < 0) { - // we can't decrease a level if an item preceeds the current one - next = this.placeEl.next('li'); - if (!next.length) { - parent = this.placeEl.parent(); - this.placeEl.closest(opt._listItemClass).after(this.placeEl); - if (!parent.children().length) { - this.unsetParent(parent.parent()); - } - } - } - } - - var isEmpty = false; - - // find list item under cursor - var pointX = this.dragEl.offset().left - (window.pageXOffset || document.scrollLeft || 0), - pointY = e.pageY - (window.pageYOffset || document.documentElement.scrollTop); - this.pointEl = UI.$(document.elementFromPoint(pointX, pointY)); - - if (opt.handleClass && this.pointEl.hasClass(opt.handleClass)) { - - this.pointEl = this.pointEl.closest(opt._listItemClass); - - } else { - - var nestableitem = this.pointEl.closest(opt._listItemClass); - - if (nestableitem.length) { - this.pointEl = nestableitem; - } - } - - if (this.placeEl.find(this.pointEl).length) { - return; - } - - if (this.pointEl.data('nestable') && !this.pointEl.children().length) { - isEmpty = true; - this.checkEmptyList(this.pointEl); - } else if (!this.pointEl.length || !this.pointEl.hasClass(opt.listItemClass)) { - return; - } - - // find parent list of item under cursor - var pointElRoot = this.element, - tmpRoot = this.pointEl.closest(this.options._listBaseClass), - isNewRoot = pointElRoot[0] !== this.pointEl.closest(this.options._listBaseClass)[0]; - - /** - * move vertical - */ - if (!mouse.dirAx || isNewRoot || isEmpty) { - - // check if groups match if dragging over new root - if (isNewRoot && opt.group !== tmpRoot.data('nestable-group')) { - return; - } else { - touchedlists.push(pointElRoot); - } - - // check depth limit - depth = this.dragDepth - 1 + this.pointEl.parents(opt._listClass+','+opt._listBaseClass).length; - - if (depth > maxDepth) { - return; - } - - var before = e.pageY < (this.pointEl.offset().top + this.pointEl.height() / 2); - - parent = this.placeEl.parent(); - - if (isEmpty) { - this.pointEl.append(this.placeEl); - } else if (before) { - this.pointEl.before(this.placeEl); - } else { - this.pointEl.after(this.placeEl); - } - - if (!parent.children().length) { - if (!parent.data("nestable")) this.unsetParent(parent.parent()); - } - - this.checkEmptyList(this.dragRootEl); - this.checkEmptyList(pointElRoot); - - // parent root list has changed - if (isNewRoot) { - this.dragRootEl = tmpRoot; - this.hasNewRoot = this.element[0] !== this.dragRootEl[0]; - } - } - }, - - checkEmptyList: function(list) { - - list = list ? UI.$(list) : this.element; - - if (!list.children().length) { - list.html(''); - } - } - - }); - - return UI.nestable; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/nestable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/nestable.min.js deleted file mode 100644 index 30629de95..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/nestable.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var s;window.UIkit&&(s=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-nestable",["uikit"],function(){return s||t(UIkit)})}(function(t){"use strict";var s,e="ontouchstart"in window,i=t.$html,l=[],a=t.$win,n=e?"touchstart":"mousedown",o=e?"touchmove":"mousemove",h=e?"touchend":"mouseup",r=e?"touchcancel":"mouseup";return t.component("nestable",{defaults:{listBaseClass:"uk-nestable",listClass:"uk-nestable-list",listItemClass:"uk-nestable-item",dragClass:"uk-nestable-dragged",movingClass:"uk-nestable-moving",handleClass:"",collapsedClass:"uk-collapsed",placeholderClass:"uk-nestable-placeholder",noDragClass:"uk-nestable-nodrag",group:!1,maxDepth:10,threshold:20,idlethreshold:10},boot:function(){t.$html.on("mousemove touchmove",function(){if(s){var e=s.offset().top;e<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(s.height()/2)):e+s.height()>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(s.height()/2))}}),t.ready(function(s){t.$("[data-uk-nestable]",s).each(function(){var s=t.$(this);s.data("nestable")||t.nestable(s,t.Utils.options(s.attr("data-uk-nestable")))})})},init:function(){var i=this;Object.keys(this.options).forEach(function(t){-1!=String(t).indexOf("Class")&&(i.options["_"+t]="."+i.options[t])}),this.find(this.options._listItemClass).find(">ul").addClass(this.options.listClass),this.checkEmptyList(),this.reset(),this.element.data("nestable-group",this.options.group||t.Utils.uid("nestable-group")),this.find(this.options._listItemClass).each(function(){i.setParent(t.$(this))}),this.on("click","[data-nestable-action]",function(s){if(!i.dragEl&&(e||0===s.button)){s.preventDefault();var l=t.$(s.currentTarget),a=l.data("nestableAction"),n=l.closest(i.options._listItemClass);"collapse"===a&&i.collapseItem(n),"expand"===a&&i.expandItem(n),"toggle"===a&&i.toggleItem(n)}});var l=function(s){var l=t.$(s.target);s.target!==i.element[0]&&(l.is(i.options._noDragClass)||l.closest(i.options._noDragClass).length||l.is("[data-nestable-action]")||l.closest("[data-nestable-action]").length||(i.options.handleClass&&!l.hasClass(i.options.handleClass)&&i.options.handleClass&&(l=l.closest(i.options._handleClass)),!l.length||i.dragEl||!e&&0!==s.button||e&&1!==s.touches.length||(s.originalEvent&&s.originalEvent.touches&&(s=evt.originalEvent.touches[0]),i.delayMove=function(t){t.preventDefault(),i.dragStart(s),i.trigger("start.uk.nestable",[i]),i.delayMove=!1},i.delayMove.x=parseInt(s.pageX,10),i.delayMove.y=parseInt(s.pageY,10),i.delayMove.threshold=i.options.idlethreshold,s.preventDefault())))},d=function(t){t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i.delayMove&&(Math.abs(t.pageX-i.delayMove.x)>i.delayMove.threshold||Math.abs(t.pageY-i.delayMove.y)>i.delayMove.threshold)&&(window.getSelection().toString()?i.delayMove=!1:i.delayMove(t)),i.dragEl&&(t.preventDefault(),i.dragMove(t),i.trigger("move.uk.nestable",[i]))},p=function(t){i.dragEl&&(t.preventDefault(),i.dragStop(e?t.touches[0]:t)),s=!1,i.delayMove=!1};e?(this.element[0].addEventListener(n,l,!1),window.addEventListener(o,d,!1),window.addEventListener(h,p,!1),window.addEventListener(r,p,!1)):(this.on(n,l),a.on(o,d),a.on(h,p))},serialize:function(){var s,e=0,i=this,l=function(s,e){var a=[],n=s.children(i.options._listItemClass);return n.each(function(){for(var s,n=t.$(this),o={},h=n.children(i.options._listClass),r=0;r<n[0].attributes.length;r++)s=n[0].attributes[r],0===s.name.indexOf("data-")&&(o[s.name.substr(5)]=t.Utils.str2json(s.value));h.length&&(o.children=l(h,e+1)),a.push(o)}),a};return s=l(i.element,e)},list:function(s){var e=[],i=this,l=0,a=function(i,l,n){var o=i.children(s._listItemClass);o.each(function(i){var o=t.$(this),h=t.$.extend({parent_id:n?n:null,depth:l,order:i},o.data()),r=o.children(s._listClass);e.push(h),r.length&&a(r,l+1,o.data(s.idProperty||"id"))})};return s=t.$.extend({},i.options,s),a(i.element,l),e},reset:function(){this.mouse={offsetX:0,offsetY:0,startX:0,startY:0,lastX:0,lastY:0,nowX:0,nowY:0,distX:0,distY:0,dirAx:0,dirX:0,dirY:0,lastDirX:0,lastDirY:0,distAxX:0,distAxY:0},this.moving=!1,this.dragEl=null,this.dragRootEl=null,this.dragDepth=0,this.hasNewRoot=!1,this.pointEl=null;for(var t=0;t<l.length;t++)this.checkEmptyList(l[t]);l=[]},toggleItem:function(t){this[t.hasClass(this.options.collapsedClass)?"expandItem":"collapseItem"](t)},expandItem:function(t){t.removeClass(this.options.collapsedClass)},collapseItem:function(t){var s=t.children(this.options._listClass);s.length&&t.addClass(this.options.collapsedClass)},expandAll:function(){var s=this;this.find(s.options._listItemClass).each(function(){s.expandItem(t.$(this))})},collapseAll:function(){var s=this;this.find(s.options._listItemClass).each(function(){s.collapseItem(t.$(this))})},setParent:function(t){t.children(this.options._listClass).length&&t.addClass("uk-parent")},unsetParent:function(t){t.removeClass("uk-parent "+this.options.collapsedClass),t.children(this.options._listClass).remove()},dragStart:function(e){var l=this.mouse,a=t.$(e.target),n=a.closest(this.options._listItemClass),o=n.offset();this.placeEl=n,l.offsetX=e.pageX-o.left,l.offsetY=e.pageY-o.top,l.startX=l.lastX=o.left,l.startY=l.lastY=o.top,this.dragRootEl=this.element,this.dragEl=t.$("<ul></ul>").addClass(this.options.listClass+" "+this.options.dragClass).append(n.clone()),this.dragEl.css("width",n.width()),this.placeEl.addClass(this.options.placeholderClass),s=this.dragEl,this.tmpDragOnSiblings=[n[0].previousSibling,n[0].nextSibling],t.$body.append(this.dragEl),this.dragEl.css({left:o.left,top:o.top});var h,r,d=this.dragEl.find(this.options._listItemClass);for(h=0;h<d.length;h++)r=t.$(d[h]).parents(this.options._listClass+","+this.options._listBaseClass).length,r>this.dragDepth&&(this.dragDepth=r);i.addClass(this.options.movingClass)},dragStop:function(){var t=this.placeEl,s=this.placeEl.parents(this.options._listBaseClass+":first");this.placeEl.removeClass(this.options.placeholderClass),this.dragEl.remove(),this.element[0]!==s[0]?(s.trigger("change.uk.nestable",[t,"added",s,s.data("nestable")]),this.element.trigger("change.uk.nestable",[t,"removed",this.element,this])):this.element.trigger("change.uk.nestable",[t,"moved",this.element,this]),this.trigger("stop.uk.nestable",[this,t]),this.reset(),i.removeClass(this.options.movingClass)},dragMove:function(s){var e,i,a,n,o,h=this.options,r=this.mouse,d=this.dragRootEl?this.dragRootEl.data("nestable").options.maxDepth:h.maxDepth;this.dragEl.css({left:s.pageX-r.offsetX,top:s.pageY-r.offsetY}),r.lastX=r.nowX,r.lastY=r.nowY,r.nowX=s.pageX,r.nowY=s.pageY,r.distX=r.nowX-r.lastX,r.distY=r.nowY-r.lastY,r.lastDirX=r.dirX,r.lastDirY=r.dirY,r.dirX=0===r.distX?0:r.distX>0?1:-1,r.dirY=0===r.distY?0:r.distY>0?1:-1;var p=Math.abs(r.distX)>Math.abs(r.distY)?1:0;if(!r.moving)return r.dirAx=p,r.moving=!0,void 0;r.dirAx!==p?(r.distAxX=0,r.distAxY=0):(r.distAxX+=Math.abs(r.distX),0!==r.dirX&&r.dirX!==r.lastDirX&&(r.distAxX=0),r.distAxY+=Math.abs(r.distY),0!==r.dirY&&r.dirY!==r.lastDirY&&(r.distAxY=0)),r.dirAx=p,r.dirAx&&r.distAxX>=h.threshold&&(r.distAxX=0,a=this.placeEl.prev("li"),r.distX>0&&a.length&&!a.hasClass(h.collapsedClass)&&(e=a.find(h._listClass).last(),o=this.placeEl.parents(h._listClass+","+h._listBaseClass).length,o+this.dragDepth<=d&&(e.length?(e=a.children(h._listClass).last(),e.append(this.placeEl)):(e=t.$("<ul/>").addClass(h.listClass),e.append(this.placeEl),a.append(e),this.setParent(a)))),r.distX<0&&(n=this.placeEl.next("li"),n.length||(i=this.placeEl.parent(),this.placeEl.closest(h._listItemClass).after(this.placeEl),i.children().length||this.unsetParent(i.parent()))));var c=!1,g=this.dragEl.offset().left-(window.pageXOffset||document.scrollLeft||0),u=s.pageY-(window.pageYOffset||document.documentElement.scrollTop);if(this.pointEl=t.$(document.elementFromPoint(g,u)),h.handleClass&&this.pointEl.hasClass(h.handleClass))this.pointEl=this.pointEl.closest(h._listItemClass);else{var f=this.pointEl.closest(h._listItemClass);f.length&&(this.pointEl=f)}if(!this.placeEl.find(this.pointEl).length){if(this.pointEl.data("nestable")&&!this.pointEl.children().length)c=!0,this.checkEmptyList(this.pointEl);else if(!this.pointEl.length||!this.pointEl.hasClass(h.listItemClass))return;var m=this.element,v=this.pointEl.closest(this.options._listBaseClass),E=m[0]!==this.pointEl.closest(this.options._listBaseClass)[0];if(!r.dirAx||E||c){if(E&&h.group!==v.data("nestable-group"))return;if(l.push(m),o=this.dragDepth-1+this.pointEl.parents(h._listClass+","+h._listBaseClass).length,o>d)return;var C=s.pageY<this.pointEl.offset().top+this.pointEl.height()/2;i=this.placeEl.parent(),c?this.pointEl.append(this.placeEl):C?this.pointEl.before(this.placeEl):this.pointEl.after(this.placeEl),i.children().length||i.data("nestable")||this.unsetParent(i.parent()),this.checkEmptyList(this.dragRootEl),this.checkEmptyList(m),E&&(this.dragRootEl=v,this.hasNewRoot=this.element[0]!==this.dragRootEl[0])}}},checkEmptyList:function(s){s=s?t.$(s):this.element,s.children().length||s.html("")}}),t.nestable}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/notify.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/notify.js deleted file mode 100644 index b4fba057a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/notify.js +++ /dev/null @@ -1,191 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-notify", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var containers = {}, - messages = {}, - - notify = function(options){ - - if (UI.$.type(options) == 'string') { - options = { message: options }; - } - - if (arguments[1]) { - options = UI.$.extend(options, UI.$.type(arguments[1]) == 'string' ? {status:arguments[1]} : arguments[1]); - } - - return (new Message(options)).show(); - }, - closeAll = function(group, instantly){ - - var id; - - if (group) { - for(id in messages) { if(group===messages[id].group) messages[id].close(instantly); } - } else { - for(id in messages) { messages[id].close(instantly); } - } - }; - - var Message = function(options){ - - var $this = this; - - this.options = UI.$.extend({}, Message.defaults, options); - - this.uuid = UI.Utils.uid("notifymsg"); - this.element = UI.$([ - - '<div class="uk-notify-message">', - '<a class="uk-close"></a>', - '<div></div>', - '</div>' - - ].join('')).data("notifyMessage", this); - - this.content(this.options.message); - - // status - if (this.options.status) { - this.element.addClass('uk-notify-message-'+this.options.status); - this.currentstatus = this.options.status; - } - - this.group = this.options.group; - - messages[this.uuid] = this; - - if(!containers[this.options.pos]) { - containers[this.options.pos] = UI.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo('body').on("click", ".uk-notify-message", function(){ - - var message = UI.$(this).data("notifyMessage"); - - message.element.trigger('manualclose.uk.notify', [message]); - message.close(); - }); - } - }; - - - UI.$.extend(Message.prototype, { - - uuid: false, - element: false, - timout: false, - currentstatus: "", - group: false, - - show: function() { - - if (this.element.is(":visible")) return; - - var $this = this; - - containers[this.options.pos].show().prepend(this.element); - - var marginbottom = parseInt(this.element.css("margin-bottom"), 10); - - this.element.css({"opacity":0, "margin-top": -1*this.element.outerHeight(), "margin-bottom":0}).animate({"opacity":1, "margin-top": 0, "margin-bottom":marginbottom}, function(){ - - if ($this.options.timeout) { - - var closefn = function(){ $this.close(); }; - - $this.timeout = setTimeout(closefn, $this.options.timeout); - - $this.element.hover( - function() { clearTimeout($this.timeout); }, - function() { $this.timeout = setTimeout(closefn, $this.options.timeout); } - ); - } - - }); - - return this; - }, - - close: function(instantly) { - - var $this = this, - finalize = function(){ - $this.element.remove(); - - if (!containers[$this.options.pos].children().length) { - containers[$this.options.pos].hide(); - } - - $this.options.onClose.apply($this, []); - $this.element.trigger('close.uk.notify', [$this]); - - delete messages[$this.uuid]; - }; - - if (this.timeout) clearTimeout(this.timeout); - - if (instantly) { - finalize(); - } else { - this.element.animate({"opacity":0, "margin-top": -1* this.element.outerHeight(), "margin-bottom":0}, function(){ - finalize(); - }); - } - }, - - content: function(html){ - - var container = this.element.find(">div"); - - if(!html) { - return container.html(); - } - - container.html(html); - - return this; - }, - - status: function(status) { - - if (!status) { - return this.currentstatus; - } - - this.element.removeClass('uk-notify-message-'+this.currentstatus).addClass('uk-notify-message-'+status); - - this.currentstatus = status; - - return this; - } - }); - - Message.defaults = { - message: "", - status: "", - timeout: 5000, - group: null, - pos: 'top-center', - onClose: function() {} - }; - - UI.notify = notify; - UI.notify.message = Message; - UI.notify.closeAll = closeAll; - - return notify; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/notify.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/notify.min.js deleted file mode 100644 index 12891160d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/notify.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-notify",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e={},i={},s=function(e){return"string"==t.$.type(e)&&(e={message:e}),arguments[1]&&(e=t.$.extend(e,"string"==t.$.type(arguments[1])?{status:arguments[1]}:arguments[1])),new n(e).show()},o=function(t,e){var s;if(t)for(s in i)t===i[s].group&&i[s].close(e);else for(s in i)i[s].close(e)},n=function(s){this.options=t.$.extend({},n.defaults,s),this.uuid=t.Utils.uid("notifymsg"),this.element=t.$(['<div class="uk-notify-message">','<a class="uk-close"></a>',"<div></div>","</div>"].join("")).data("notifyMessage",this),this.content(this.options.message),this.options.status&&(this.element.addClass("uk-notify-message-"+this.options.status),this.currentstatus=this.options.status),this.group=this.options.group,i[this.uuid]=this,e[this.options.pos]||(e[this.options.pos]=t.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo("body").on("click",".uk-notify-message",function(){var e=t.$(this).data("notifyMessage");e.element.trigger("manualclose.uk.notify",[e]),e.close()}))};return t.$.extend(n.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){if(!this.element.is(":visible")){var t=this;e[this.options.pos].show().prepend(this.element);var i=parseInt(this.element.css("margin-bottom"),10);return this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":i},function(){if(t.options.timeout){var e=function(){t.close()};t.timeout=setTimeout(e,t.options.timeout),t.element.hover(function(){clearTimeout(t.timeout)},function(){t.timeout=setTimeout(e,t.options.timeout)})}}),this}},close:function(t){var s=this,o=function(){s.element.remove(),e[s.options.pos].children().length||e[s.options.pos].hide(),s.options.onClose.apply(s,[]),s.element.trigger("close.uk.notify",[s]),delete i[s.uuid]};this.timeout&&clearTimeout(this.timeout),t?o():this.element.animate({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){o()})},content:function(t){var e=this.element.find(">div");return t?(e.html(t),this):e.html()},status:function(t){return t?(this.element.removeClass("uk-notify-message-"+this.currentstatus).addClass("uk-notify-message-"+t),this.currentstatus=t,this):this.currentstatus}}),n.defaults={message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:function(){}},t.notify=s,t.notify.message=n,t.notify.closeAll=o,s}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/pagination.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/pagination.js deleted file mode 100644 index fa01908f1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/pagination.js +++ /dev/null @@ -1,148 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* - * Based on simplePagination - Copyright (c) 2012 Flavius Matis - http://flaviusmatis.github.com/simplePagination.js/ (MIT) - */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-pagination", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('pagination', { - - defaults: { - items : 1, - itemsOnPage : 1, - pages : 0, - displayedPages : 3, - edges : 3, - currentPage : 1, - lblPrev : false, - lblNext : false, - onSelectPage : function() {} - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-pagination]", context).each(function(){ - var ele = UI.$(this); - - if (!ele.data("pagination")) { - var obj = UI.pagination(ele, UI.Utils.options(ele.attr("data-uk-pagination"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.pages = this.options.pages ? this.options.pages : Math.ceil(this.options.items / this.options.itemsOnPage) ? Math.ceil(this.options.items / this.options.itemsOnPage) : 1; - this.currentPage = this.options.currentPage - 1; - this.halfDisplayed = this.options.displayedPages / 2; - - this.on("click", "a[data-page]", function(e){ - e.preventDefault(); - $this.selectPage(UI.$(this).data("page")); - }); - - this._render(); - }, - - _getInterval: function() { - - return { - start: Math.ceil(this.currentPage > this.halfDisplayed ? Math.max(Math.min(this.currentPage - this.halfDisplayed, (this.pages - this.options.displayedPages)), 0) : 0), - end : Math.ceil(this.currentPage > this.halfDisplayed ? Math.min(this.currentPage + this.halfDisplayed, this.pages) : Math.min(this.options.displayedPages, this.pages)) - }; - }, - - render: function(pages) { - this.pages = pages ? pages : this.pages; - this._render(); - }, - - selectPage: function(pageIndex, pages) { - this.currentPage = pageIndex; - this.render(pages); - - this.options.onSelectPage.apply(this, [pageIndex]); - this.trigger('select.uk.pagination', [pageIndex, this]); - }, - - _render: function() { - - var o = this.options, interval = this._getInterval(), i; - - this.element.empty(); - - // Generate Prev link - if (o.lblPrev) this._append(o.currentPage - 1, {text: o.lblPrev}); - - // Generate start edges - if (interval.start > 0 && o.edges > 0) { - - var end = Math.min(o.edges, interval.start); - - for (i = 0; i < end; i++) this._append(i); - - if (o.edges < interval.start && (interval.start - o.edges != 1)) { - this.element.append('<li><span>...</span></li>'); - } else if (interval.start - o.edges == 1) { - this._append(o.edges); - } - } - - // Generate interval links - for (i = interval.start; i < interval.end; i++) this._append(i); - - // Generate end edges - if (interval.end < this.pages && o.edges > 0) { - - if (this.pages - o.edges > interval.end && (this.pages - o.edges - interval.end != 1)) { - this.element.append('<li><span>...</span></li>'); - } else if (this.pages - o.edges - interval.end == 1) { - this._append(interval.end++); - } - - var begin = Math.max(this.pages - o.edges, interval.end); - - for (i = begin; i < this.pages; i++) this._append(i); - } - - // Generate Next link (unless option is set for at front) - if (o.lblNext) this._append(o.currentPage + 1, {text: o.lblNext}); - }, - - _append: function(pageIndex, opts) { - - var $this = this, item, link, options; - - pageIndex = pageIndex < 0 ? 0 : (pageIndex < this.pages ? pageIndex : this.pages - 1); - options = UI.$.extend({ text: pageIndex + 1 }, opts); - - item = (pageIndex == this.currentPage) ? '<li class="uk-active"><span>' + (options.text) + '</span></li>' - : '<li><a href="#page-'+(pageIndex+1)+'" data-page="'+pageIndex+'">'+options.text+'</a></li>'; - - this.element.append(item); - } - }); - - return UI.pagination; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/pagination.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/pagination.min.js deleted file mode 100644 index 220310b63..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/pagination.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-pagination",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("pagination",{defaults:{items:1,itemsOnPage:1,pages:0,displayedPages:3,edges:3,currentPage:1,lblPrev:!1,lblNext:!1,onSelectPage:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-pagination]",e).each(function(){var e=t.$(this);if(!e.data("pagination")){t.pagination(e,t.Utils.options(e.attr("data-uk-pagination")))}})})},init:function(){var e=this;this.pages=this.options.pages?this.options.pages:Math.ceil(this.options.items/this.options.itemsOnPage)?Math.ceil(this.options.items/this.options.itemsOnPage):1,this.currentPage=this.options.currentPage-1,this.halfDisplayed=this.options.displayedPages/2,this.on("click","a[data-page]",function(i){i.preventDefault(),e.selectPage(t.$(this).data("page"))}),this._render()},_getInterval:function(){return{start:Math.ceil(this.currentPage>this.halfDisplayed?Math.max(Math.min(this.currentPage-this.halfDisplayed,this.pages-this.options.displayedPages),0):0),end:Math.ceil(this.currentPage>this.halfDisplayed?Math.min(this.currentPage+this.halfDisplayed,this.pages):Math.min(this.options.displayedPages,this.pages))}},render:function(t){this.pages=t?t:this.pages,this._render()},selectPage:function(t,e){this.currentPage=t,this.render(e),this.options.onSelectPage.apply(this,[t]),this.trigger("select.uk.pagination",[t,this])},_render:function(){var t,e=this.options,i=this._getInterval();if(this.element.empty(),e.lblPrev&&this._append(e.currentPage-1,{text:e.lblPrev}),i.start>0&&e.edges>0){var s=Math.min(e.edges,i.start);for(t=0;s>t;t++)this._append(t);e.edges<i.start&&i.start-e.edges!=1?this.element.append("<li><span>...</span></li>"):i.start-e.edges==1&&this._append(e.edges)}for(t=i.start;t<i.end;t++)this._append(t);if(i.end<this.pages&&e.edges>0){this.pages-e.edges>i.end&&this.pages-e.edges-i.end!=1?this.element.append("<li><span>...</span></li>"):this.pages-e.edges-i.end==1&&this._append(i.end++);var a=Math.max(this.pages-e.edges,i.end);for(t=a;t<this.pages;t++)this._append(t)}e.lblNext&&this._append(e.currentPage+1,{text:e.lblNext})},_append:function(e,i){var s,a;e=0>e?0:e<this.pages?e:this.pages-1,a=t.$.extend({text:e+1},i),s=e==this.currentPage?'<li class="uk-active"><span>'+a.text+"</span></li>":'<li><a href="#page-'+(e+1)+'" data-page="'+e+'">'+a.text+"</a></li>",this.element.append(s)}}),t.pagination}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/parallax.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/parallax.js deleted file mode 100644 index 31750270b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/parallax.js +++ /dev/null @@ -1,417 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-parallax", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var parallaxes = [], - supports3d = false, - scrolltop = 0, - wh = window.innerHeight, - checkParallaxes = function() { - - scrolltop = UI.$win.scrollTop(); - - window.requestAnimationFrame.apply(window, [function(){ - for (var i=0; i < parallaxes.length; i++) { - parallaxes[i].process(); - } - }]); - }; - - - UI.component('parallax', { - - defaults: { - velocity : 0.5, - target : false, - viewport : false, - media : false - }, - - boot: function() { - - supports3d = (function(){ - - var el = document.createElement('div'), - has3d, - transforms = { - 'WebkitTransform':'-webkit-transform', - 'MSTransform':'-ms-transform', - 'MozTransform':'-moz-transform', - 'Transform':'transform' - }; - - // Add it to the body to get the computed style. - document.body.insertBefore(el, null); - - for (var t in transforms) { - if (el.style[t] !== undefined) { - el.style[t] = "translate3d(1px,1px,1px)"; - has3d = window.getComputedStyle(el).getPropertyValue(transforms[t]); - } - } - - document.body.removeChild(el); - - return (has3d !== undefined && has3d.length > 0 && has3d !== "none"); - })(); - - // listen to scroll and resize - UI.$doc.on("scrolling.uk.document", checkParallaxes); - UI.$win.on("load resize orientationchange", UI.Utils.debounce(function(){ - wh = window.innerHeight; - checkParallaxes(); - }, 50)); - - // init code - UI.ready(function(context) { - - UI.$('[data-uk-parallax]', context).each(function() { - - var parallax = UI.$(this); - - if (!parallax.data("parallax")) { - var obj = UI.parallax(parallax, UI.Utils.options(parallax.attr("data-uk-parallax"))); - } - }); - }); - }, - - init: function() { - - this.base = this.options.target ? UI.$(this.options.target) : this.element; - this.props = {}; - this.velocity = (this.options.velocity || 1); - - var reserved = ['target','velocity','viewport','plugins','media']; - - Object.keys(this.options).forEach(function(prop){ - - if (reserved.indexOf(prop) !== -1) { - return; - } - - var start, end, dir, diff, startend = String(this.options[prop]).split(','); - - if (prop.match(/color/i)) { - start = startend[1] ? startend[0] : this._getStartValue(prop), - end = startend[1] ? startend[1] : startend[0]; - - if (!start) { - start = 'rgba(255,255,255,0)'; - } - - } else { - start = parseFloat(startend[1] ? startend[0] : this._getStartValue(prop)), - end = parseFloat(startend[1] ? startend[1] : startend[0]); - diff = (start < end ? (end-start):(start-end)); - dir = (start < end ? 1:-1); - } - - this.props[prop] = { 'start': start, 'end': end, 'dir': dir, 'diff': diff }; - - }.bind(this)); - - parallaxes.push(this); - }, - - process: function() { - - if (this.options.media) { - - switch(typeof(this.options.media)) { - case 'number': - if (window.innerWidth < this.options.media) { - return false; - } - break; - case 'string': - if (window.matchMedia && !window.matchMedia(this.options.media).matches) { - return false; - } - break; - } - } - - var percent = this.percentageInViewport(); - - if (this.options.viewport !== false) { - percent = (this.options.viewport === 0) ? 1 : percent / this.options.viewport; - } - - this.update(percent); - }, - - percentageInViewport: function() { - - var top = this.base.offset().top, - height = this.base.outerHeight(), - distance, percentage, percent; - - if (top > (scrolltop + wh)) { - percent = 0; - } else if ((top + height) < scrolltop) { - percent = 1; - } else { - - if ((top + height) < wh) { - - percent = (scrolltop < wh ? scrolltop : scrolltop - wh) / (top+height); - - } else { - - distance = (scrolltop + wh) - top; - percentage = Math.round(distance / ((wh + height) / 100)); - percent = percentage/100; - } - } - - return percent; - }, - - update: function(percent) { - - var css = {'transform':''}, - compercent = percent * (1 - (this.velocity - (this.velocity * percent))), - opts, val; - - if (compercent < 0) compercent = 0; - if (compercent > 1) compercent = 1; - - if (this._percent !== undefined && this._percent == compercent) { - return; - } - - Object.keys(this.props).forEach(function(prop) { - - opts = this.props[prop]; - - if (percent === 0) { - val = opts.start; - } else if(percent === 1) { - val = opts.end; - } else if(opts.diff !== undefined) { - val = opts.start + (opts.diff * compercent * opts.dir); - } - - if ((prop == 'bg' || prop == 'bgp') && !this._bgcover) { - this._bgcover = initBgImageParallax(this, prop, opts); - } - - switch(prop) { - - // transforms - case "x": - css.transform += supports3d ? ' translate3d('+val+'px, 0, 0)':' translateX('+val+'px)'; - break; - case "xp": - css.transform += supports3d ? ' translate3d('+val+'%, 0, 0)':' translateX('+val+'%)'; - break; - case "y": - css.transform += supports3d ? ' translate3d(0, '+val+'px, 0)':' translateY('+val+'px)'; - break; - case "yp": - css.transform += supports3d ? ' translate3d(0, '+val+'%, 0)':' translateY('+val+'%)'; - break; - case "rotate": - css.transform += ' rotate('+val+'deg)'; - break; - case "scale": - css.transform += ' scale('+val+')'; - break; - - // bg image - case "bg": - css['background-position'] = '50% '+val+'px'; - break; - case "bgp": - css['background-position'] = '50% '+val+'%'; - break; - - // color - case "color": - case "background-color": - case "border-color": - css[prop] = calcColor(opts.start, opts.end, compercent); - break; - - default: - css[prop] = val; - break; - } - - }.bind(this)); - - this.element.css(css); - - this._percent = compercent; - }, - - _getStartValue: function(prop) { - - var value = 0; - - switch(prop) { - case 'scale': - value = 1; - break; - default: - value = this.element.css(prop); - } - - return (value || 0); - } - - }); - - - // helper - - function initBgImageParallax(obj, prop, opts) { - - var img = new Image(), url, loaded, element, size, check, ratio, width, height; - - element = obj.element.css({'background-size': 'cover', 'background-repeat': 'no-repeat'}); - url = element.css('background-image').replace(/^url\(/g, '').replace(/\)$/g, '').replace(/("|')/g, ''); - check = function() { - - var w = element.width(), h = element.height(), extra = (prop=='bg') ? opts.diff : (opts.diff/100) * h; - - h += extra; - w += Math.ceil(extra * ratio); - - // if element height < parent height (gap underneath) - if ((w / ratio) < h) { - width = Math.ceil(h * ratio); - height = h; - - // element width < parent width (gap to right) - } else { - width = w; - height = Math.ceil(w / ratio); - } - - obj.element.css({'background-size': (width+'px '+height+'px')}); - }; - - img.onerror = function(){ - // image url doesn't exist - }; - - img.onload = function(){ - size = {w:img.width, height:img.height}; - ratio = img.width / img.height; - - UI.$win.on("load resize orientationchange", UI.Utils.debounce(function(){ - check(); - }, 50)); - - check(); - }; - - img.src = url; - - return true; - } - - - // Some named colors to work with, added by Bradley Ayers - // From Interface by Stefan Petre - // http://interface.eyecon.ro/ - var colors = { - 'black': [0,0,0,1], - 'blue': [0,0,255,1], - 'brown': [165,42,42,1], - 'cyan': [0,255,255,1], - 'fuchsia': [255,0,255,1], - 'gold': [255,215,0,1], - 'green': [0,128,0,1], - 'indigo': [75,0,130,1], - 'khaki': [240,230,140,1], - 'lime': [0,255,0,1], - 'magenta': [255,0,255,1], - 'maroon': [128,0,0,1], - 'navy': [0,0,128,1], - 'olive': [128,128,0,1], - 'orange': [255,165,0,1], - 'pink': [255,192,203,1], - 'purple': [128,0,128,1], - 'violet': [128,0,128,1], - 'red': [255,0,0,1], - 'silver': [192,192,192,1], - 'white': [255,255,255,1], - 'yellow': [255,255,0,1], - 'transparent': [255,255,255,0] - }; - - function calcColor(start, end, pos) { - - start = parseColor(start); - end = parseColor(end); - pos = pos || 0; - - return calculateColor(start, end, pos); - } - - /**! - * @preserve Color animation 1.6.0 - * http://www.bitstorm.org/jquery/color-animation/ - * Copyright 2011, 2013 Edwin Martin <edwin@bitstorm.org> - * Released under the MIT and GPL licenses. - */ - - // Calculate an in-between color. Returns "#aabbcc"-like string. - function calculateColor(begin, end, pos) { - var color = 'rgba(' - + parseInt((begin[0] + pos * (end[0] - begin[0])), 10) + ',' - + parseInt((begin[1] + pos * (end[1] - begin[1])), 10) + ',' - + parseInt((begin[2] + pos * (end[2] - begin[2])), 10) + ',' - + (begin && end ? parseFloat(begin[3] + pos * (end[3] - begin[3])) : 1); - - color += ')'; - return color; - } - - // Parse an CSS-syntax color. Outputs an array [r, g, b] - function parseColor(color) { - - var match, quadruplet; - - // Match #aabbcc - if (match = /#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(color)) { - quadruplet = [parseInt(match[1], 16), parseInt(match[2], 16), parseInt(match[3], 16), 1]; - - // Match #abc - } else if (match = /#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(color)) { - quadruplet = [parseInt(match[1], 16) * 17, parseInt(match[2], 16) * 17, parseInt(match[3], 16) * 17, 1]; - - // Match rgb(n, n, n) - } else if (match = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) { - quadruplet = [parseInt(match[1]), parseInt(match[2]), parseInt(match[3]), 1]; - - } else if (match = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9\.]*)\s*\)/.exec(color)) { - quadruplet = [parseInt(match[1], 10), parseInt(match[2], 10), parseInt(match[3], 10),parseFloat(match[4])]; - - // No browser returns rgb(n%, n%, n%), so little reason to support this format. - } else { - quadruplet = colors[color] || [255,255,255,0]; - } - return quadruplet; - } - - return UI.parallax; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/parallax.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/parallax.min.js deleted file mode 100644 index 9964ffaf2..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/parallax.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-parallax",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(e,a,r){var n,i,o,s,c,p,l,d=new Image;return i=e.element.css({"background-size":"cover","background-repeat":"no-repeat"}),n=i.css("background-image").replace(/^url\(/g,"").replace(/\)$/g,"").replace(/("|')/g,""),s=function(){var t=i.width(),n=i.height(),o="bg"==a?r.diff:r.diff/100*n;n+=o,t+=Math.ceil(o*c),n>t/c?(p=Math.ceil(n*c),l=n):(p=t,l=Math.ceil(t/c)),e.element.css({"background-size":p+"px "+l+"px"})},d.onerror=function(){},d.onload=function(){o={w:d.width,height:d.height},c=d.width/d.height,t.$win.on("load resize orientationchange",t.Utils.debounce(function(){s()},50)),s()},d.src=n,!0}function a(t,e,a){return t=n(t),e=n(e),a=a||0,r(t,e,a)}function r(t,e,a){var r="rgba("+parseInt(t[0]+a*(e[0]-t[0]),10)+","+parseInt(t[1]+a*(e[1]-t[1]),10)+","+parseInt(t[2]+a*(e[2]-t[2]),10)+","+(t&&e?parseFloat(t[3]+a*(e[3]-t[3])):1);return r+=")"}function n(t){var e,a;return a=(e=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),1]:(e=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(t))?[17*parseInt(e[1],16),17*parseInt(e[2],16),17*parseInt(e[3],16),1]:(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(t))?[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),1]:(e=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9\.]*)\s*\)/.exec(t))?[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])]:l[t]||[255,255,255,0]}var i=[],o=!1,s=0,c=window.innerHeight,p=function(){s=t.$win.scrollTop(),window.requestAnimationFrame.apply(window,[function(){for(var t=0;t<i.length;t++)i[t].process()}])};t.component("parallax",{defaults:{velocity:.5,target:!1,viewport:!1,media:!1},boot:function(){o=function(){var t,e=document.createElement("div"),a={WebkitTransform:"-webkit-transform",MSTransform:"-ms-transform",MozTransform:"-moz-transform",Transform:"transform"};document.body.insertBefore(e,null);for(var r in a)void 0!==e.style[r]&&(e.style[r]="translate3d(1px,1px,1px)",t=window.getComputedStyle(e).getPropertyValue(a[r]));return document.body.removeChild(e),void 0!==t&&t.length>0&&"none"!==t}(),t.$doc.on("scrolling.uk.document",p),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){c=window.innerHeight,p()},50)),t.ready(function(e){t.$("[data-uk-parallax]",e).each(function(){var e=t.$(this);if(!e.data("parallax")){t.parallax(e,t.Utils.options(e.attr("data-uk-parallax")))}})})},init:function(){this.base=this.options.target?t.$(this.options.target):this.element,this.props={},this.velocity=this.options.velocity||1;var e=["target","velocity","viewport","plugins","media"];Object.keys(this.options).forEach(function(t){if(-1===e.indexOf(t)){var a,r,n,i,o=String(this.options[t]).split(",");t.match(/color/i)?(a=o[1]?o[0]:this._getStartValue(t),r=o[1]?o[1]:o[0],a||(a="rgba(255,255,255,0)")):(a=parseFloat(o[1]?o[0]:this._getStartValue(t)),r=parseFloat(o[1]?o[1]:o[0]),i=r>a?r-a:a-r,n=r>a?1:-1),this.props[t]={start:a,end:r,dir:n,diff:i}}}.bind(this)),i.push(this)},process:function(){if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var t=this.percentageInViewport();this.options.viewport!==!1&&(t=0===this.options.viewport?1:t/this.options.viewport),this.update(t)},percentageInViewport:function(){var t,e,a,r=this.base.offset().top,n=this.base.outerHeight();return r>s+c?a=0:s>r+n?a=1:c>r+n?a=(c>s?s:s-c)/(r+n):(t=s+c-r,e=Math.round(t/((c+n)/100)),a=e/100),a},update:function(t){var r,n,i={transform:""},s=t*(1-(this.velocity-this.velocity*t));0>s&&(s=0),s>1&&(s=1),(void 0===this._percent||this._percent!=s)&&(Object.keys(this.props).forEach(function(c){switch(r=this.props[c],0===t?n=r.start:1===t?n=r.end:void 0!==r.diff&&(n=r.start+r.diff*s*r.dir),"bg"!=c&&"bgp"!=c||this._bgcover||(this._bgcover=e(this,c,r)),c){case"x":i.transform+=o?" translate3d("+n+"px, 0, 0)":" translateX("+n+"px)";break;case"xp":i.transform+=o?" translate3d("+n+"%, 0, 0)":" translateX("+n+"%)";break;case"y":i.transform+=o?" translate3d(0, "+n+"px, 0)":" translateY("+n+"px)";break;case"yp":i.transform+=o?" translate3d(0, "+n+"%, 0)":" translateY("+n+"%)";break;case"rotate":i.transform+=" rotate("+n+"deg)";break;case"scale":i.transform+=" scale("+n+")";break;case"bg":i["background-position"]="50% "+n+"px";break;case"bgp":i["background-position"]="50% "+n+"%";break;case"color":case"background-color":case"border-color":i[c]=a(r.start,r.end,s);break;default:i[c]=n}}.bind(this)),this.element.css(i),this._percent=s)},_getStartValue:function(t){var e=0;switch(t){case"scale":e=1;break;default:e=this.element.css(t)}return e||0}});var l={black:[0,0,0,1],blue:[0,0,255,1],brown:[165,42,42,1],cyan:[0,255,255,1],fuchsia:[255,0,255,1],gold:[255,215,0,1],green:[0,128,0,1],indigo:[75,0,130,1],khaki:[240,230,140,1],lime:[0,255,0,1],magenta:[255,0,255,1],maroon:[128,0,0,1],navy:[0,0,128,1],olive:[128,128,0,1],orange:[255,165,0,1],pink:[255,192,203,1],purple:[128,0,128,1],violet:[128,0,128,1],red:[255,0,0,1],silver:[192,192,192,1],white:[255,255,255,1],yellow:[255,255,0,1],transparent:[255,255,255,0]};return t.parallax}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/search.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/search.js deleted file mode 100644 index 8de251c50..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/search.js +++ /dev/null @@ -1,92 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-search", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('search', { - defaults: { - msgResultsHeader : 'Search Results', - msgMoreResults : 'More Results', - msgNoResults : 'No results found', - template : '<ul class="uk-nav uk-nav-search uk-autocomplete-results">\ - {{#msgResultsHeader}}<li class="uk-nav-header uk-skip">{{msgResultsHeader}}</li>{{/msgResultsHeader}}\ - {{#items && items.length}}\ - {{~items}}\ - <li data-url="{{!$item.url}}">\ - <a href="{{!$item.url}}">\ - {{{$item.title}}}\ - {{#$item.text}}<div>{{{$item.text}}}</div>{{/$item.text}}\ - </a>\ - </li>\ - {{/items}}\ - {{#msgMoreResults}}\ - <li class="uk-nav-divider uk-skip"></li>\ - <li class="uk-search-moreresults" data-moreresults="true"><a href="#" onclick="jQuery(this).closest(\'form\').submit();">{{msgMoreResults}}</a></li>\ - {{/msgMoreResults}}\ - {{/end}}\ - {{^items.length}}\ - {{#msgNoResults}}<li class="uk-skip"><a>{{msgNoResults}}</a></li>{{/msgNoResults}}\ - {{/end}}\ - </ul>', - - renderer: function(data) { - - var $this = this, opts = this.options; - - this.dropdown.append(this.template({"items":data.results || [], "msgResultsHeader":opts.msgResultsHeader, "msgMoreResults": opts.msgMoreResults, "msgNoResults": opts.msgNoResults})); - this.show(); - } - }, - - boot: function() { - - // init code - UI.$html.on("focus.search.uikit", "[data-uk-search]", function(e) { - var ele =UI.$(this); - - if (!ele.data("search")) { - var obj = UI.search(ele, UI.Utils.options(ele.attr("data-uk-search"))); - } - }); - }, - - init: function() { - var $this = this; - - this.autocomplete = UI.autocomplete(this.element, this.options); - - this.autocomplete.dropdown.addClass('uk-dropdown-search'); - - this.autocomplete.input.on("keyup", function(){ - $this.element[$this.autocomplete.input.val() ? "addClass":"removeClass"]("uk-active"); - }).closest("form").on("reset", function(){ - $this.value=""; - $this.element.removeClass("uk-active"); - }); - - this.on('selectitem.uk.autocomplete', function(e, data) { - if (data.url) { - location.href = data.url; - } else if(data.moreresults) { - $this.autocomplete.input.closest('form').submit(); - } - }); - - this.element.data("search", this); - } - }); -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/search.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/search.min.js deleted file mode 100644 index 09fedd7fe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/search.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(e){var s;window.UIkit&&(s=e(UIkit)),"function"==typeof define&&define.amd&&define("uikit-search",["uikit"],function(){return s||e(UIkit)})}(function(e){"use strict";e.component("search",{defaults:{msgResultsHeader:"Search Results",msgMoreResults:"More Results",msgNoResults:"No results found",template:'<ul class="uk-nav uk-nav-search uk-autocomplete-results"> {{#msgResultsHeader}}<li class="uk-nav-header uk-skip">{{msgResultsHeader}}</li>{{/msgResultsHeader}} {{#items && items.length}} {{~items}} <li data-url="{{!$item.url}}"> <a href="{{!$item.url}}"> {{{$item.title}}} {{#$item.text}}<div>{{{$item.text}}}</div>{{/$item.text}} </a> </li> {{/items}} {{#msgMoreResults}} <li class="uk-nav-divider uk-skip"></li> <li class="uk-search-moreresults" data-moreresults="true"><a href="#" onclick="jQuery(this).closest(\'form\').submit();">{{msgMoreResults}}</a></li> {{/msgMoreResults}} {{/end}} {{^items.length}} {{#msgNoResults}}<li class="uk-skip"><a>{{msgNoResults}}</a></li>{{/msgNoResults}} {{/end}} </ul>',renderer:function(e){var s=this.options;this.dropdown.append(this.template({items:e.results||[],msgResultsHeader:s.msgResultsHeader,msgMoreResults:s.msgMoreResults,msgNoResults:s.msgNoResults})),this.show()}},boot:function(){e.$html.on("focus.search.uikit","[data-uk-search]",function(){var s=e.$(this);if(!s.data("search")){e.search(s,e.Utils.options(s.attr("data-uk-search")))}})},init:function(){var s=this;this.autocomplete=e.autocomplete(this.element,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-search"),this.autocomplete.input.on("keyup",function(){s.element[s.autocomplete.input.val()?"addClass":"removeClass"]("uk-active")}).closest("form").on("reset",function(){s.value="",s.element.removeClass("uk-active")}),this.on("selectitem.uk.autocomplete",function(e,t){t.url?location.href=t.url:t.moreresults&&s.autocomplete.input.closest("form").submit()}),this.element.data("search",this)}})}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slider.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slider.js deleted file mode 100644 index dc77cd481..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slider.js +++ /dev/null @@ -1,482 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slider", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var dragging, delayIdle, anchor, dragged, store = {}; - - UI.component('slider', { - - defaults: { - center : false, - threshold : 10, - infinite : true, - activecls : 'uk-active' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - setTimeout(function(){ - - UI.$("[data-uk-slider]", context).each(function(){ - - var ele = UI.$(this); - - if (!ele.data("slider")) { - UI.slider(ele, UI.Utils.options(ele.attr('data-uk-slider'))); - } - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.container = this.element.find('.uk-slider'); - this.focus = 0; - - UI.$win.on("resize load", UI.Utils.debounce(function() { - $this.resize(true); - }, 100)); - - this.on("click.uikit.slider", '[data-uk-slider-item]', function(e) { - - e.preventDefault(); - - var item = UI.$(this).attr('data-uk-slider-item'); - - if ($this.focus == item) return; - - switch(item) { - case 'next': - case 'previous': - $this[item=='next' ? 'next':'previous'](); - break; - default: - $this.updateFocus(parseInt(slide, 10)); - } - }); - - this.container.on('touchstart mousedown', function(evt) { - - if (evt.originalEvent && evt.originalEvent.touches) { - evt = evt.originalEvent.touches[0]; - } - - // ignore right click button - if (evt.button && evt.button==2 || !$this.active) { - return; - } - - anchor = UI.$(evt.target).is('a') ? UI.$(evt.target) : UI.$(evt.target).parents('a:first'); - dragged = false; - - if (anchor.length) { - - anchor.one('click', function(e){ - if (dragged) e.preventDefault(); - }); - } - - delayIdle = function(e) { - - dragged = true; - dragging = $this; - store = { - touchx : parseInt(e.pageX, 10), - dir : 1, - focus : $this.focus, - base : $this.options.center ? 'center':'area' - }; - - if (e.originalEvent && e.originalEvent.touches) { - e = e.originalEvent.touches[0]; - } - - dragging.element.data({ - 'pointer-start': {x: parseInt(e.pageX, 10), y: parseInt(e.pageY, 10)}, - 'pointer-pos-start': $this.pos - }); - - $this.container.addClass('uk-drag'); - - delayIdle = false; - }; - - delayIdle.x = parseInt(evt.pageX, 10); - delayIdle.threshold = $this.options.threshold; - - }); - - this.resize(true); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) { - $this.resize(true); - } - }); - - // prevent dragging links + images - this.element.find('a,img').attr('draggable', 'false'); - }, - - resize: function(focus) { - - var $this = this, pos = 0, maxheight = 0, item, width, cwidth, size; - - this.items = this.container.children().filter(':visible'); - this.vp = this.element[0].getBoundingClientRect().width; - - this.container.css({'min-width': '', 'min-height': ''}); - - this.items.each(function(idx){ - - item = UI.$(this); - size = item.css({'left': '', 'width':''})[0].getBoundingClientRect(); - width = size.width; - cwidth = item.width(); - maxheight = Math.max(maxheight, size.height); - - item.css({'left': pos, 'width':width}).data({'idx':idx, 'left': pos, 'width': width, 'cwidth':cwidth, 'area': (pos+width), 'center':(pos - ($this.vp/2 - cwidth/2))}); - - pos += width; - }); - - this.container.css({'min-width': pos, 'min-height': maxheight}); - - if (this.options.infinite && pos <= (2*this.vp) && !this.itemsResized) { - - // fill with cloned items - this.container.children().each(function(idx){ - $this.container.append($this.items.eq(idx).clone(true).attr('id', '')); - }).each(function(idx){ - $this.container.append($this.items.eq(idx).clone(true).attr('id', '')); - }); - - this.itemsResized = true; - - return this.resize(); - } - - this.cw = pos; - this.pos = 0; - this.active = pos >= this.vp; - - this.container.css({ - '-ms-transform': '', - '-webkit-transform': '', - 'transform': '' - }); - - this.updateFocus(0); - }, - - updatePos: function(pos) { - this.pos = pos; - this.container.css({ - '-ms-transform': 'translateX('+pos+'px)', - '-webkit-transform': 'translateX('+pos+'px)', - 'transform': 'translateX('+pos+'px)' - }); - }, - - updateFocus: function(idx, dir) { - - if (!this.active) { - return; - } - - dir = dir || (idx > this.focus ? 1:-1); - - var $this = this, item = this.items.eq(idx), area, i; - - if (this.options.infinite) { - this.infinite(idx, dir); - } - - if (this.options.center) { - - this.updatePos(item.data('center')*-1); - - this.items.filter('.'+this.options.activecls).removeClass(this.options.activecls); - item.addClass(this.options.activecls); - - } else { - - if (this.options.infinite) { - - this.updatePos(item.data('left')*-1); - - } else { - - area = 0; - - for (i=idx;i<this.items.length;i++) { - area += this.items.eq(i).data('width'); - } - - - if (area > this.vp) { - - this.updatePos(item.data('left')*-1); - - } else { - - if (dir == 1) { - - area = 0; - - for (i=this.items.length-1;i>=0;i--) { - - area += this.items.eq(i).data('width'); - - if (area >= this.vp) { - idx = i; - break; - } - } - - this.updatePos(this.items.eq(idx).data('left')*-1); - } - } - } - } - - this.focus = idx; - - this.trigger('focusitem.uk.slider', [idx,this.items.eq(idx),this]); - }, - - next: function() { - - var focus = this.items[this.focus + 1] ? (this.focus + 1) : (this.options.infinite ? 0:this.focus); - - this.updateFocus(focus, 1); - }, - - previous: function() { - - var focus = this.items[this.focus - 1] ? (this.focus - 1) : (this.options.infinite ? (this.items[this.focus - 1] ? this.items-1:this.items.length-1):this.focus); - - this.updateFocus(focus, -1); - }, - - infinite: function(baseidx, direction) { - - var $this = this, item = this.items.eq(baseidx), i, z = baseidx, move = [], lastvisible, area = 0; - - if (direction == 1) { - - - for (i=0;i<this.items.length;i++) { - - if (z != baseidx) { - area += this.items.eq(z).data('width'); - move.push(this.items.eq(z)); - } - - if (area > this.vp) { - break; - } - - z = z+1 == this.items.length ? 0:z+1; - } - - if (move.length) { - - move.forEach(function(itm){ - - var left = item.data('area'); - - itm.css({'left': left}).data({ - 'left' : left, - 'area' : (left+itm.data('width')), - 'center': (left - ($this.vp/2 - itm.data('cwidth')/2)) - }); - - item = itm; - }); - } - - - } else { - - for (i=this.items.length-1;i >-1 ;i--) { - - area += this.items.eq(z).data('width'); - - if (z != baseidx) { - move.push(this.items.eq(z)); - } - - if (area > this.vp) { - break; - } - - z = z-1 == -1 ? this.items.length-1:z-1; - } - - if (move.length) { - - move.forEach(function(itm){ - - var left = item.data('left') - itm.data('width'); - - itm.css({'left': left}).data({ - 'left' : left, - 'area' : (left+itm.data('width')), - 'center': (left - ($this.vp/2 - itm.data('cwidth')/2)) - }); - - item = itm; - }); - } - } - } - }); - - // handle dragging - UI.$doc.on('mousemove.uikit.slider touchmove.uikit.slider', function(e) { - - if (e.originalEvent && e.originalEvent.touches) { - e = e.originalEvent.touches[0]; - } - - if (delayIdle && Math.abs(e.pageX - delayIdle.x) > delayIdle.threshold) { - - if (!window.getSelection().toString()) { - delayIdle(e); - } else { - dragging = delayIdle = false; - } - } - - if (!dragging) { - return; - } - - var x, xDiff, pos, dir, focus, item, next, diff, i, z, itm; - - if (e.clientX || e.clientY) { - x = e.clientX; - } else if (e.pageX || e.pageY) { - x = e.pageX - document.body.scrollLeft - document.documentElement.scrollLeft; - } - - focus = store.focus; - xDiff = x - dragging.element.data('pointer-start').x; - pos = dragging.element.data('pointer-pos-start') + xDiff; - dir = x > dragging.element.data('pointer-start').x ? -1:1; - item = dragging.items.eq(store.focus); - - if (dir == 1) { - - diff = item.data('left') + Math.abs(xDiff); - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('left') < diff && itm.data('area') > diff) { - focus = z; - break; - } - - z = z+1 == dragging.items.length ? 0:z+1; - } - - } else { - - diff = item.data('left') - Math.abs(xDiff); - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('area') <= item.data('left') && itm.data('center') < diff) { - focus = z; - break; - } - - z = z-1 == -1 ? dragging.items.length-1:z-1; - } - } - - if (dragging.options.infinite && focus!=store._focus) { - dragging.infinite(focus, dir); - } - - dragging.updatePos(pos); - - store.dir = dir; - store._focus = focus; - store.touchx = parseInt(e.pageX, 10); - store.diff = diff; - }); - - UI.$doc.on('mouseup.uikit.slider touchend.uikit.slider', function(e) { - - if (dragging) { - - dragging.container.removeClass('uk-drag'); - - var item = dragging.items.eq(store.focus), itm, focus = false, i, z; - - if (store.dir == 1) { - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('left') > store.diff) { - focus = z; - break; - } - - z = z+1 == dragging.items.length ? 0:z+1; - } - - } else { - - for (i=0,z=store.focus;i<dragging.items.length;i++) { - - itm = dragging.items.eq(z); - - if (z != store.focus && itm.data('left') < store.diff) { - focus = z; - break; - } - - z = z-1 == -1 ? dragging.items.length-1:z-1; - } - } - - dragging.updateFocus(focus!==false ? focus:store._focus); - - } - - dragging = delayIdle = false; - }); - - return UI.slider; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slider.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slider.min.js deleted file mode 100644 index 5159096e5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slider.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slider",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";var i,e,s,n,a={};return t.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,activecls:"uk-active"},boot:function(){t.ready(function(i){setTimeout(function(){t.$("[data-uk-slider]",i).each(function(){var i=t.$(this);i.data("slider")||t.slider(i,t.Utils.options(i.attr("data-uk-slider")))})},0)})},init:function(){var o=this;this.container=this.element.find(".uk-slider"),this.focus=0,t.$win.on("resize load",t.Utils.debounce(function(){o.resize(!0)},100)),this.on("click.uikit.slider","[data-uk-slider-item]",function(i){i.preventDefault();var e=t.$(this).attr("data-uk-slider-item");if(o.focus!=e)switch(e){case"next":case"previous":o["next"==e?"next":"previous"]();break;default:o.updateFocus(parseInt(slide,10))}}),this.container.on("touchstart mousedown",function(h){h.originalEvent&&h.originalEvent.touches&&(h=h.originalEvent.touches[0]),h.button&&2==h.button||!o.active||(s=t.$(h.target).is("a")?t.$(h.target):t.$(h.target).parents("a:first"),n=!1,s.length&&s.one("click",function(t){n&&t.preventDefault()}),e=function(t){n=!0,i=o,a={touchx:parseInt(t.pageX,10),dir:1,focus:o.focus,base:o.options.center?"center":"area"},t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i.element.data({"pointer-start":{x:parseInt(t.pageX,10),y:parseInt(t.pageY,10)},"pointer-pos-start":o.pos}),o.container.addClass("uk-drag"),e=!1},e.x=parseInt(h.pageX,10),e.threshold=o.options.threshold)}),this.resize(!0),this.on("display.uk.check",function(){o.element.is(":visible")&&o.resize(!0)}),this.element.find("a,img").attr("draggable","false")},resize:function(){var i,e,s,n,a=this,o=0,h=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(r){i=t.$(this),n=i.css({left:"",width:""})[0].getBoundingClientRect(),e=n.width,s=i.width(),h=Math.max(h,n.height),i.css({left:o,width:e}).data({idx:r,left:o,width:e,cwidth:s,area:o+e,center:o-(a.vp/2-s/2)}),o+=e}),this.container.css({"min-width":o,"min-height":h}),this.options.infinite&&o<=2*this.vp&&!this.itemsResized?(this.container.children().each(function(t){a.container.append(a.items.eq(t).clone(!0).attr("id",""))}).each(function(t){a.container.append(a.items.eq(t).clone(!0).attr("id",""))}),this.itemsResized=!0,this.resize()):(this.cw=o,this.pos=0,this.active=o>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),this.updateFocus(0),void 0)},updatePos:function(t){this.pos=t,this.container.css({"-ms-transform":"translateX("+t+"px)","-webkit-transform":"translateX("+t+"px)",transform:"translateX("+t+"px)"})},updateFocus:function(t,i){if(this.active){i=i||(t>this.focus?1:-1);var e,s,n=this.items.eq(t);if(this.options.infinite&&this.infinite(t,i),this.options.center)this.updatePos(-1*n.data("center")),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),n.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(-1*n.data("left"));else{for(e=0,s=t;s<this.items.length;s++)e+=this.items.eq(s).data("width");if(e>this.vp)this.updatePos(-1*n.data("left"));else if(1==i){for(e=0,s=this.items.length-1;s>=0;s--)if(e+=this.items.eq(s).data("width"),e>=this.vp){t=s;break}this.updatePos(-1*this.items.eq(t).data("left"))}}this.focus=t,this.trigger("focusitem.uk.slider",[t,this.items.eq(t),this])}},next:function(){var t=this.items[this.focus+1]?this.focus+1:this.options.infinite?0:this.focus;this.updateFocus(t,1)},previous:function(){var t=this.items[this.focus-1]?this.focus-1:this.options.infinite?this.items[this.focus-1]?this.items-1:this.items.length-1:this.focus;this.updateFocus(t,-1)},infinite:function(t,i){var e,s=this,n=this.items.eq(t),a=t,o=[],h=0;if(1==i){for(e=0;e<this.items.length&&(a!=t&&(h+=this.items.eq(a).data("width"),o.push(this.items.eq(a))),!(h>this.vp));e++)a=a+1==this.items.length?0:a+1;o.length&&o.forEach(function(t){var i=n.data("area");t.css({left:i}).data({left:i,area:i+t.data("width"),center:i-(s.vp/2-t.data("cwidth")/2)}),n=t})}else{for(e=this.items.length-1;e>-1&&(h+=this.items.eq(a).data("width"),a!=t&&o.push(this.items.eq(a)),!(h>this.vp));e--)a=a-1==-1?this.items.length-1:a-1;o.length&&o.forEach(function(t){var i=n.data("left")-t.data("width");t.css({left:i}).data({left:i,area:i+t.data("width"),center:i-(s.vp/2-t.data("cwidth")/2)}),n=t})}}}),t.$doc.on("mousemove.uikit.slider touchmove.uikit.slider",function(t){if(t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),e&&Math.abs(t.pageX-e.x)>e.threshold&&(window.getSelection().toString()?i=e=!1:e(t)),i){var s,n,o,h,r,c,f,d,u,l;if(t.clientX||t.clientY?s=t.clientX:(t.pageX||t.pageY)&&(s=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),r=a.focus,n=s-i.element.data("pointer-start").x,o=i.element.data("pointer-pos-start")+n,h=s>i.element.data("pointer-start").x?-1:1,c=i.items.eq(a.focus),1==h)for(f=c.data("left")+Math.abs(n),d=0,u=a.focus;d<i.items.length;d++){if(l=i.items.eq(u),u!=a.focus&&l.data("left")<f&&l.data("area")>f){r=u;break}u=u+1==i.items.length?0:u+1}else for(f=c.data("left")-Math.abs(n),d=0,u=a.focus;d<i.items.length;d++){if(l=i.items.eq(u),u!=a.focus&&l.data("area")<=c.data("left")&&l.data("center")<f){r=u;break}u=u-1==-1?i.items.length-1:u-1}i.options.infinite&&r!=a._focus&&i.infinite(r,h),i.updatePos(o),a.dir=h,a._focus=r,a.touchx=parseInt(t.pageX,10),a.diff=f}}),t.$doc.on("mouseup.uikit.slider touchend.uikit.slider",function(){if(i){i.container.removeClass("uk-drag");var t,s,n,o=(i.items.eq(a.focus),!1);if(1==a.dir)for(s=0,n=a.focus;s<i.items.length;s++){if(t=i.items.eq(n),n!=a.focus&&t.data("left")>a.diff){o=n;break}n=n+1==i.items.length?0:n+1}else for(s=0,n=a.focus;s<i.items.length;s++){if(t=i.items.eq(n),n!=a.focus&&t.data("left")<a.diff){o=n;break}n=n-1==-1?i.items.length-1:n-1}i.updateFocus(o!==!1?o:a._focus)}i=e=!1}),t.slider}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideset.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideset.js deleted file mode 100644 index b6693d751..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideset.js +++ /dev/null @@ -1,503 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slideset", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var Animations; - - UI.component('slideset', { - - defaults: { - default : 1, - animation : 'fade', - duration : 200, - filter : '', - delay : false, - controls : false, - autoplay : false, - autoplayInterval : 7000, - pauseOnHover : true - }, - - sets: [], - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-slideset]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("slideset")) { - var plugin = UI.slideset(ele, UI.Utils.options(ele.attr("data-uk-slideset"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.activeSet = false; - this.list = this.element.find('.uk-slideset'); - this.nav = this.element.find('.uk-slideset-nav'); - this.controls = this.options.controls ? UI.$(this.options.controls) : this.element; - - UI.$win.on("resize load", UI.Utils.debounce(function() { - $this.updateSets(); - }, 100)); - - $this.list.addClass('uk-grid-width-1-'+$this.options.default); - - ['xlarge', 'large', 'medium', 'small'].forEach(function(bp) { - - if (!$this.options[bp]) { - return; - } - - $this.list.addClass('uk-grid-width-'+bp+'-1-'+$this.options[bp]); - }); - - this.on("click.uikit.slideset", '[data-uk-slideset-item]', function(e) { - - e.preventDefault(); - - if ($this.animating) { - return; - } - - var set = UI.$(this).attr('data-uk-slideset-item'); - - if ($this.activeSet === set) return; - - switch(set) { - case 'next': - case 'previous': - $this[set=='next' ? 'next':'previous'](); - break; - default: - $this.show(parseInt(set, 10)); - } - - }); - - this.controls.on('click.uikit.slideset', '[data-uk-filter]', function(e) { - - var ele = UI.$(this); - - if (ele.parent().hasClass('uk-slideset')) { - return; - } - - e.preventDefault(); - - if ($this.animating || $this.currentFilter == ele.attr('data-uk-filter')) { - return; - } - - $this.updateFilter(ele.attr('data-uk-filter')); - - $this._hide().then(function(){ - - $this.updateSets(true, true); - }); - }); - - this.on('swipeRight swipeLeft', function(e) { - $this[e.type=='swipeLeft' ? 'next' : 'previous'](); - }); - - this.updateFilter(this.options.filter); - this.updateSets(); - - this.element.on({ - mouseenter: function() { if ($this.options.pauseOnHover) $this.hovering = true; }, - mouseleave: function() { $this.hovering = false; } - }); - - // Set autoplay - if (this.options.autoplay) { - this.start(); - } - }, - - updateSets: function(animate, force) { - - var $this = this, visible = this.visible, i; - - this.visible = this.getVisibleOnCurrenBreakpoint(); - - if (visible == this.visible && !force) { - return; - } - - this.children = this.list.children().hide(); - this.items = this.getItems(); - this.sets = array_chunk(this.items, this.visible); - - for (i=0;i<this.sets.length;i++) { - this.sets[i].css({'display': 'none'}); - } - - // update nav - if (this.nav.length && this.nav.empty()) { - - for (i=0;i<this.sets.length;i++) { - this.nav.append('<li data-uk-slideset-item="'+i+'"><a></a></li>'); - } - - this.nav[this.nav.children().length==1 ? 'addClass':'removeClass']('uk-invisible'); - } - - this.activeSet = false; - this.show(0, !animate); - }, - - updateFilter: function(currentfilter) { - - var $this = this, filter; - - this.currentFilter = currentfilter; - - this.controls.find('[data-uk-filter]').each(function(){ - - filter = UI.$(this); - - if (!filter.parent().hasClass('uk-slideset')) { - - if (filter.attr('data-uk-filter') == $this.currentFilter) { - filter.addClass('uk-active'); - } else { - filter.removeClass('uk-active'); - } - } - }); - }, - - getVisibleOnCurrenBreakpoint: function() { - - var breakpoint = null, - tmp = UI.$('<div style="position:absolute;height:1px;top:-1000px;width:100px"><div></div></div>').appendTo('body'), - testdiv = tmp.children().eq(0), - breakpoints = this.options; - - ['xlarge', 'large', 'medium', 'small'].forEach(function(bp) { - - if (!breakpoints[bp] || breakpoint) { - return; - } - - tmp.attr('class', 'uk-grid-width-'+bp+'-1-2').width(); - - if (testdiv.width() == 50) { - breakpoint = bp; - } - }); - - tmp.remove(); - - return this.options[breakpoint] || this.options['default']; - }, - - getItems: function() { - - var items = [], filter; - - if (this.currentFilter) { - - filter = this.currentFilter || []; - - if (typeof(filter) === 'string') { - filter = filter.split(/,/).map(function(item){ return item.trim(); }); - } - - this.children.each(function(index){ - - var ele = UI.$(this), f = ele.attr('data-uk-filter'), infilter = filter.length ? false : true; - - if (f) { - - f = f.split(/,/).map(function(item){ return item.trim(); }); - - filter.forEach(function(item){ - if (f.indexOf(item) > -1) infilter = true; - }); - } - - if(infilter) items.push(ele[0]); - }); - - items = UI.$(items); - - } else { - items = this.list.children(); - } - - return items; - }, - - show: function(setIndex, noanimate, dir) { - - var $this = this; - - if (this.activeSet === setIndex || this.animating) { - return; - } - - dir = dir || (setIndex < this.activeSet ? -1:1); - - var current = this.sets[this.activeSet] || [], - next = this.sets[setIndex], - animation = this._getAnimation(); - - if (noanimate || !UI.support.animation) { - animation = Animations.none; - } - - this.animating = true; - - if (this.nav.length) { - this.nav.children().removeClass('uk-active').eq(setIndex).addClass('uk-active'); - } - - animation.apply($this, [current, next, dir]).then(function(){ - - UI.Utils.checkDisplay(next, true); - - $this.children.hide().removeClass('uk-active'); - next.addClass('uk-active').css({'display': '', 'opacity':''}); - - $this.animating = false; - $this.activeSet = setIndex; - - UI.Utils.checkDisplay(next, true); - - $this.trigger('show.uk.slideset', [next]); - }); - - }, - - _getAnimation: function() { - - var $this = this, - animation = Animations[this.options.animation] || Animations.none; - - if (!UI.support.animation) { - animation = Animations.none; - } - - return animation; - }, - - _hide: function() { - - var $this = this, - current = this.sets[this.activeSet] || [], - animation = this._getAnimation(); - - this.animating = true; - - return animation.apply($this, [current, [], 1]).then(function(){ - $this.animating = false; - }); - }, - - next: function() { - this.show(this.sets[this.activeSet + 1] ? (this.activeSet + 1) : 0, false, 1); - }, - - previous: function() { - this.show(this.sets[this.activeSet - 1] ? (this.activeSet - 1) : (this.sets.length - 1), false, -1); - }, - - start: function() { - - this.stop(); - - var $this = this; - - this.interval = setInterval(function() { - if (!$this.hovering && !$this.animating) $this.next(); - }, this.options.autoplayInterval); - - }, - - stop: function() { - if (this.interval) clearInterval(this.interval); - } - }); - - Animations = { - - 'none': function() { - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'fade': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-fade', current, next]); - }, - - 'slide-bottom': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); - }, - - 'slide-top': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); - }, - - 'slide-vertical': function(current, next, dir) { - - var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; - - if (dir == -1) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'slide-horizontal': function(current, next, dir) { - - var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; - - if (dir == -1) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next, dir]); - }, - - 'scale': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); - } - }; - - UI.slideset.animations = Animations; - - // helpers - - function coreAnimation(cls, current, next, dir) { - - var d = UI.$.Deferred(), - delay = (this.options.delay === false) ? Math.floor(this.options.duration/2) : this.options.delay, - $this = this, clsIn, clsOut, release, i; - - dir = dir || 1; - - this.element.css('min-height', this.element.height()); - - if (next[0]===current[0]) { - d.resolve(); - return d.promise(); - } - - if (typeof(cls) == 'object') { - clsIn = cls[0]; - clsOut = cls[1] || cls[0]; - } else { - clsIn = cls; - clsOut = clsIn; - } - - release = function() { - - if (current && current.length) { - current.hide().removeClass(clsOut+' uk-animation-reverse').css({'opacity':'', 'animation-delay': '', 'animation':''}); - } - - if (!next.length) { - d.resolve(); - return; - } - - for (i=0;i<next.length;i++) { - next.eq(dir == 1 ? i:(next.length - i)-1).css('animation-delay', (i*delay)+'ms'); - } - - next.addClass(clsIn)[dir==1 ? 'last':'first']().one(UI.support.animation.end, function() { - - next.removeClass(''+clsIn+'').css({opacity:'', display:'', 'animation-delay':'', 'animation':''}); - d.resolve(); - $this.element.css('min-height', ''); - - }).end().css('display', ''); - }; - - if (next.length) { - next.css('animation-duration', this.options.duration+'ms'); - } - - if (current && current.length) { - - current.css('animation-duration', this.options.duration+'ms')[dir==1 ? 'last':'first']().one(UI.support.animation.end, function() { - release(); - }); - - for (i=0;i<current.length;i++) { - - (function (index, ele){ - - setTimeout(function(){ - ele.css('display', 'none').css('display', '').css('opacity', 0).addClass(clsOut+' uk-animation-reverse'); - }.bind(this), i * delay); - - })(i, current.eq(dir == 1 ? i:(current.length - i)-1)); - } - - } else { - release(); - } - - return d.promise(); - } - - function array_chunk(input, size) { - - var x, i = 0, c = -1, l = input.length || 0, n = []; - - if (size < 1) return null; - - while (i < l) { - - x = i % size; - - if(x) { - n[c][x] = input[i]; - } else { - n[++c] = [input[i]]; - } - - i++; - } - - i = 0; - l = n.length; - - while (i < l) { - n[i] = jQuery(n[i]); - i++; - } - - return n; - } - -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideset.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideset.min.js deleted file mode 100644 index 0117b1a61..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideset.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideset",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i,e,s,n){var a,o,r,l,h=t.$.Deferred(),u=this.options.delay===!1?Math.floor(this.options.duration/2):this.options.delay,d=this;if(n=n||1,this.element.css("min-height",this.element.height()),s[0]===e[0])return h.resolve(),h.promise();if("object"==typeof i?(a=i[0],o=i[1]||i[0]):(a=i,o=a),r=function(){if(e&&e.length&&e.hide().removeClass(o+" uk-animation-reverse").css({opacity:"","animation-delay":"",animation:""}),!s.length)return h.resolve(),void 0;for(l=0;l<s.length;l++)s.eq(1==n?l:s.length-l-1).css("animation-delay",l*u+"ms");s.addClass(a)[1==n?"last":"first"]().one(t.support.animation.end,function(){s.removeClass(""+a).css({opacity:"",display:"","animation-delay":"",animation:""}),h.resolve(),d.element.css("min-height","")}).end().css("display","")},s.length&&s.css("animation-duration",this.options.duration+"ms"),e&&e.length)for(e.css("animation-duration",this.options.duration+"ms")[1==n?"last":"first"]().one(t.support.animation.end,function(){r()}),l=0;l<e.length;l++)!function(t,i){setTimeout(function(){i.css("display","none").css("display","").css("opacity",0).addClass(o+" uk-animation-reverse")}.bind(this),l*u)}(l,e.eq(1==n?l:e.length-l-1));else r();return h.promise()}function e(t,i){var e,s=0,n=-1,a=t.length||0,o=[];if(1>i)return null;for(;a>s;)e=s%i,e?o[n][e]=t[s]:o[++n]=[t[s]],s++;for(s=0,a=o.length;a>s;)o[s]=jQuery(o[s]),s++;return o}var s;t.component("slideset",{defaults:{"default":1,animation:"fade",duration:200,filter:"",delay:!1,controls:!1,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},sets:[],boot:function(){t.ready(function(i){t.$("[data-uk-slideset]",i).each(function(){var i=t.$(this);if(!i.data("slideset")){t.slideset(i,t.Utils.options(i.attr("data-uk-slideset")))}})})},init:function(){var i=this;this.activeSet=!1,this.list=this.element.find(".uk-slideset"),this.nav=this.element.find(".uk-slideset-nav"),this.controls=this.options.controls?t.$(this.options.controls):this.element,t.$win.on("resize load",t.Utils.debounce(function(){i.updateSets()},100)),i.list.addClass("uk-grid-width-1-"+i.options.default),["xlarge","large","medium","small"].forEach(function(t){i.options[t]&&i.list.addClass("uk-grid-width-"+t+"-1-"+i.options[t])}),this.on("click.uikit.slideset","[data-uk-slideset-item]",function(e){if(e.preventDefault(),!i.animating){var s=t.$(this).attr("data-uk-slideset-item");if(i.activeSet!==s)switch(s){case"next":case"previous":i["next"==s?"next":"previous"]();break;default:i.show(parseInt(s,10))}}}),this.controls.on("click.uikit.slideset","[data-uk-filter]",function(e){var s=t.$(this);s.parent().hasClass("uk-slideset")||(e.preventDefault(),i.animating||i.currentFilter==s.attr("data-uk-filter")||(i.updateFilter(s.attr("data-uk-filter")),i._hide().then(function(){i.updateSets(!0,!0)})))}),this.on("swipeRight swipeLeft",function(t){i["swipeLeft"==t.type?"next":"previous"]()}),this.updateFilter(this.options.filter),this.updateSets(),this.element.on({mouseenter:function(){i.options.pauseOnHover&&(i.hovering=!0)},mouseleave:function(){i.hovering=!1}}),this.options.autoplay&&this.start()},updateSets:function(t,i){var s,n=this.visible;if(this.visible=this.getVisibleOnCurrenBreakpoint(),n!=this.visible||i){for(this.children=this.list.children().hide(),this.items=this.getItems(),this.sets=e(this.items,this.visible),s=0;s<this.sets.length;s++)this.sets[s].css({display:"none"});if(this.nav.length&&this.nav.empty()){for(s=0;s<this.sets.length;s++)this.nav.append('<li data-uk-slideset-item="'+s+'"><a></a></li>');this.nav[1==this.nav.children().length?"addClass":"removeClass"]("uk-invisible")}this.activeSet=!1,this.show(0,!t)}},updateFilter:function(i){var e,s=this;this.currentFilter=i,this.controls.find("[data-uk-filter]").each(function(){e=t.$(this),e.parent().hasClass("uk-slideset")||(e.attr("data-uk-filter")==s.currentFilter?e.addClass("uk-active"):e.removeClass("uk-active"))})},getVisibleOnCurrenBreakpoint:function(){var i=null,e=t.$('<div style="position:absolute;height:1px;top:-1000px;width:100px"><div></div></div>').appendTo("body"),s=e.children().eq(0),n=this.options;return["xlarge","large","medium","small"].forEach(function(t){n[t]&&!i&&(e.attr("class","uk-grid-width-"+t+"-1-2").width(),50==s.width()&&(i=t))}),e.remove(),this.options[i]||this.options["default"]},getItems:function(){var i,e=[];return this.currentFilter?(i=this.currentFilter||[],"string"==typeof i&&(i=i.split(/,/).map(function(t){return t.trim()})),this.children.each(function(){var s=t.$(this),n=s.attr("data-uk-filter"),a=i.length?!1:!0;n&&(n=n.split(/,/).map(function(t){return t.trim()}),i.forEach(function(t){n.indexOf(t)>-1&&(a=!0)})),a&&e.push(s[0])}),e=t.$(e)):e=this.list.children(),e},show:function(i,e,n){var a=this;if(this.activeSet!==i&&!this.animating){n=n||(i<this.activeSet?-1:1);var o=this.sets[this.activeSet]||[],r=this.sets[i],l=this._getAnimation();(e||!t.support.animation)&&(l=s.none),this.animating=!0,this.nav.length&&this.nav.children().removeClass("uk-active").eq(i).addClass("uk-active"),l.apply(a,[o,r,n]).then(function(){t.Utils.checkDisplay(r,!0),a.children.hide().removeClass("uk-active"),r.addClass("uk-active").css({display:"",opacity:""}),a.animating=!1,a.activeSet=i,t.Utils.checkDisplay(r,!0),a.trigger("show.uk.slideset",[r])})}},_getAnimation:function(){var i=s[this.options.animation]||s.none;return t.support.animation||(i=s.none),i},_hide:function(){var t=this,i=this.sets[this.activeSet]||[],e=this._getAnimation();return this.animating=!0,e.apply(t,[i,[],1]).then(function(){t.animating=!1})},next:function(){this.show(this.sets[this.activeSet+1]?this.activeSet+1:0,!1,1)},previous:function(){this.show(this.sets[this.activeSet-1]?this.activeSet-1:this.sets.length-1,!1,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.animating||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)}}),s={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,e){return i.apply(this,["uk-animation-fade",t,e])},"slide-bottom":function(t,e){return i.apply(this,["uk-animation-slide-bottom",t,e])},"slide-top":function(t,e){return i.apply(this,["uk-animation-slide-top",t,e])},"slide-vertical":function(t,e,s){var n=["uk-animation-slide-top","uk-animation-slide-bottom"];return-1==s&&n.reverse(),i.apply(this,[n,t,e])},"slide-horizontal":function(t,e,s){var n=["uk-animation-slide-right","uk-animation-slide-left"];return-1==s&&n.reverse(),i.apply(this,[n,t,e,s])},scale:function(t,e){return i.apply(this,["uk-animation-scale-up",t,e])}},t.slideset.animations=s}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow-fx.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow-fx.js deleted file mode 100644 index 78ed16130..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow-fx.js +++ /dev/null @@ -1,377 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slideshow-fx", ["uikit"], function() { - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var Animations = UI.slideshow.animations; - - UI.$.extend(UI.slideshow.animations, { - 'slice': function(current, next, dir, fromfx) { - - if (!current.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(); - - var sliceWidth = Math.ceil(this.element.width() / this.options.slices), - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - top : 0, - left : 0, - width : this.container.width(), - height : this.container.height(), - opacity: 1, - zIndex : 15 - }), - ghostWidth = ghost.width(), - ghostHeight = ghost.height(), - pos = fromfx == 'slice-up' ? ghostHeight:'0', - bar; - - for (var i = 0; i < this.options.slices; i++) { - - if (fromfx == 'slice-up-down') { - pos = ((i % 2) + 2) % 2==0 ? '0':ghostHeight; - } - - var width = (i == this.options.slices-1) ? sliceWidth : sliceWidth, - clipto = ('rect(0px, '+(width*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'), - clipfrom; - - //slice-down - default - clipfrom = ('rect(0px, '+(width*(i+1))+'px, 0px, '+(sliceWidth*i)+'px)'); - - if (fromfx == 'slice-up' || (fromfx == 'slice-up-down' && ((i % 2) + 2) % 2==0 )) { - clipfrom = ('rect('+ghostHeight+'px, '+(width*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'); - } - - bar = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'clip' : clipfrom, - 'opacity' : 0, - 'transition' : 'all '+this.options.duration+'ms ease-in-out '+(i*60)+'ms', - '-webkit-transition' : 'all '+this.options.duration+'ms ease-in-out '+(i*60)+'ms' - - }).data('clip', clipto); - - ghost.append(bar); - } - - this.container.append(ghost); - - ghost.children().last().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }); - - ghost.width(); - - ghost.children().each(function() { - var bar = UI.$(this); - - bar.css({ - 'clip': bar.data('clip'), - 'opacity': 1 - }); - }); - - return d.promise(); - }, - - 'slice-up': function(current, next, dir) { - return Animations.slice.apply(this, [current, next, dir, 'slice-up']); - }, - - 'slice-down': function(current, next, dir) { - return Animations.slice.apply(this, [current, next, dir, 'slice-down']); - }, - - 'slice-up-down': function(current, next, dir) { - return Animations.slice.apply(this, [current, next, dir, 'slice-up-down']); - }, - - 'fold': function(current, next, dir) { - - if (!next.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(); - - var sliceWidth = Math.ceil(this.element.width() / this.options.slices), - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - width : next.width(), - height : next.height(), - opacity: 1, - zIndex : 15 - }), - ghostWidth = next.width(), - ghostHeight = next.height(), - bar; - - for (var i = 0; i < this.options.slices; i++) { - - var width = (i == this.options.slices-1) ? (ghostWidth - (sliceWidth*i)) : sliceWidth; - - bar = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'transform-origin' : (sliceWidth*i)+'px 0 0', - 'clip' : ('rect(0px, '+(sliceWidth*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'), - 'opacity' : 0, - 'transform' : 'scaleX(0.000001)', - 'transition' : 'all '+this.options.duration+'ms ease-in-out '+(100+i*60)+'ms', - '-webkit-transition' : 'all '+this.options.duration+'ms ease-in-out '+(100+i*60)+'ms' - }); - - ghost.prepend(bar); - } - - this.container.append(ghost); - - ghost.width(); - - ghost.children().first().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }).end().css({ - 'transform': 'scaleX(1)', - 'opacity': 1 - }); - - return d.promise(); - }, - - 'puzzle': function(current, next, dir) { - - if (!next.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(), $this = this; - - var boxCols = Math.round(this.options.slices/2), - boxWidth = Math.round(next.width()/boxCols), - boxRows = Math.round(next.height()/boxWidth), - boxHeight = Math.round(next.height()/boxRows)+1, - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - width : this.container.width(), - height : this.container.height(), - opacity : 1, - zIndex : 15 - }), - ghostWidth = this.container.width(), - ghostHeight = this.container.height(), - box, rect, width; - - for (var rows = 0; rows < boxRows; rows++) { - - for (var cols = 0; cols < boxCols; cols++) { - - width = (cols == boxCols-1) ? (boxWidth + 2) : boxWidth; - - rect = [ - (boxHeight * rows) +'px', // top - (width * (cols+1)) +'px', // right - (boxHeight * (rows + 1)) +'px', // bottom - (boxWidth * cols) +'px' // left - ]; - - box = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'opacity' : 0, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'clip' : ('rect('+rect.join(',')+')'), - '-webkit-transform' : 'translateZ(0)', // fixes webkit opacity flickering bug - 'transform' : 'translateZ(0)' // fixes moz opacity flickering bug - }); - - ghost.append(box); - } - } - - this.container.append(ghost); - - var boxes = shuffle(ghost.children()); - - boxes.each(function(i) { - UI.$(this).css({ - 'transition': 'all '+$this.options.duration+'ms ease-in-out '+(50+i*25)+'ms', - '-webkit-transition': 'all '+$this.options.duration+'ms ease-in-out '+(50+i*25)+'ms' - }); - }).last().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }); - - ghost.width(); - - boxes.css({'opacity': 1}); - - return d.promise(); - }, - - 'boxes': function(current, next, dir, fromfx) { - - if (!next.data('cover')) { - return Animations.fade.apply(this, arguments); - } - - var d = UI.$.Deferred(); - - var boxCols = Math.round(this.options.slices/2), - boxWidth = Math.round(next.width()/boxCols), - boxRows = Math.round(next.height()/boxWidth), - boxHeight = Math.round(next.height()/boxRows)+1, - bgimage = next.data('cover').css('background-image'), - ghost = UI.$('<li></li>').css({ - width : next.width(), - height : next.height(), - opacity : 1, - zIndex : 15 - }), - ghostWidth = next.width(), - ghostHeight = next.height(), - box, rect, width, cols; - - for (var rows = 0; rows < boxRows; rows++) { - - for (cols = 0; cols < boxCols; cols++) { - - width = (cols == boxCols-1) ? (boxWidth + 2) : boxWidth; - - rect = [ - (boxHeight * rows) +'px', // top - (width * (cols+1)) +'px', // right - (boxHeight * (rows + 1)) +'px', // bottom - (boxWidth * cols) +'px' // left - ]; - - box = UI.$('<div class="uk-cover-background"></div>').css({ - 'position' : 'absolute', - 'top' : 0, - 'left' : 0, - 'opacity' : 1, - 'width' : ghostWidth, - 'height' : ghostHeight, - 'background-image' : bgimage, - 'transform-origin' : rect[3]+' '+rect[0]+' 0', - 'clip' : ('rect('+rect.join(',')+')'), - '-webkit-transform' : 'scale(0.0000000000000001)', - 'transform' : 'scale(0.0000000000000001)' - }); - - ghost.append(box); - } - } - - this.container.append(ghost); - - var rowIndex = 0, colIndex = 0, timeBuff = 0, box2Darr = [[]], boxes = ghost.children(), prevCol; - - if (fromfx == 'boxes-reverse') { - boxes = [].reverse.apply(boxes); - } - - boxes.each(function() { - - box2Darr[rowIndex][colIndex] = UI.$(this); - colIndex++; - - if(colIndex == boxCols) { - rowIndex++; - colIndex = 0; - box2Darr[rowIndex] = []; - } - }); - - for (cols = 0, prevCol = 0; cols < (boxCols * boxRows); cols++) { - - prevCol = cols; - - for (var row = 0; row < boxRows; row++) { - - if (prevCol >= 0 && prevCol < boxCols) { - - box2Darr[row][prevCol].css({ - 'transition': 'all '+this.options.duration+'ms linear '+(50+timeBuff)+'ms', - '-webkit-transition': 'all '+this.options.duration+'ms linear '+(50+timeBuff)+'ms' - }); - } - prevCol--; - } - timeBuff += 100; - } - - boxes.last().on(UI.support.transition.end, function() { - ghost.remove(); - d.resolve(); - }); - - ghost.width(); - - boxes.css({ - '-webkit-transform': 'scale(1)', - 'transform': 'scale(1)' - }); - - return d.promise(); - }, - - 'boxes-reverse': function(current, next, dir) { - return Animations.boxes.apply(this, [current, next, dir, 'boxes-reverse']); - }, - - 'random-fx': function(){ - - var animations = ['slice-up', 'fold', 'puzzle', 'slice-down', 'boxes', 'slice-up-down', 'boxes-reverse']; - - this.fxIndex = (this.fxIndex === undefined ? -1 : this.fxIndex) + 1; - - if (!animations[this.fxIndex]) this.fxIndex = 0; - - return Animations[animations[this.fxIndex]].apply(this, arguments); - }, - }); - - - // helper functions - - // Shuffle an array - var shuffle = function(arr) { - for (var j, x, i = arr.length; i; j = parseInt(Math.random() * i), x = arr[--i], arr[i] = arr[j], arr[j] = x) {} - return arr; - }; - - return UI.slideshow.animations; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow-fx.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow-fx.min.js deleted file mode 100644 index cb1857711..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow-fx.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow-fx",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";var t=i.slideshow.animations;i.$.extend(i.slideshow.animations,{slice:function(e,s,n,o){if(!e.data("cover"))return t.fade.apply(this,arguments);for(var r,a=i.$.Deferred(),c=Math.ceil(this.element.width()/this.options.slices),h=s.data("cover").css("background-image"),p=i.$("<li></li>").css({top:0,left:0,width:this.container.width(),height:this.container.height(),opacity:1,zIndex:15}),d=p.width(),l=p.height(),u="slice-up"==o?l:"0",f=0;f<this.options.slices;f++){"slice-up-down"==o&&(u=(f%2+2)%2==0?"0":l);var m,x=f==this.options.slices-1?c:c,v="rect(0px, "+x*(f+1)+"px, "+l+"px, "+c*f+"px)";m="rect(0px, "+x*(f+1)+"px, 0px, "+c*f+"px)",("slice-up"==o||"slice-up-down"==o&&(f%2+2)%2==0)&&(m="rect("+l+"px, "+x*(f+1)+"px, "+l+"px, "+c*f+"px)"),r=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,width:d,height:l,"background-image":h,clip:m,opacity:0,transition:"all "+this.options.duration+"ms ease-in-out "+60*f+"ms","-webkit-transition":"all "+this.options.duration+"ms ease-in-out "+60*f+"ms"}).data("clip",v),p.append(r)}return this.container.append(p),p.children().last().on(i.support.transition.end,function(){p.remove(),a.resolve()}),p.width(),p.children().each(function(){var t=i.$(this);t.css({clip:t.data("clip"),opacity:1})}),a.promise()},"slice-up":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-up"])},"slice-down":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-down"])},"slice-up-down":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-up-down"])},fold:function(e,s){if(!s.data("cover"))return t.fade.apply(this,arguments);for(var n,o=i.$.Deferred(),r=Math.ceil(this.element.width()/this.options.slices),a=s.data("cover").css("background-image"),c=i.$("<li></li>").css({width:s.width(),height:s.height(),opacity:1,zIndex:15}),h=s.width(),p=s.height(),d=0;d<this.options.slices;d++){{d==this.options.slices-1?h-r*d:r}n=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,width:h,height:p,"background-image":a,"transform-origin":r*d+"px 0 0",clip:"rect(0px, "+r*(d+1)+"px, "+p+"px, "+r*d+"px)",opacity:0,transform:"scaleX(0.000001)",transition:"all "+this.options.duration+"ms ease-in-out "+(100+60*d)+"ms","-webkit-transition":"all "+this.options.duration+"ms ease-in-out "+(100+60*d)+"ms"}),c.prepend(n)}return this.container.append(c),c.width(),c.children().first().on(i.support.transition.end,function(){c.remove(),o.resolve()}).end().css({transform:"scaleX(1)",opacity:1}),o.promise()},puzzle:function(s,n){if(!n.data("cover"))return t.fade.apply(this,arguments);for(var o,r,a,c=i.$.Deferred(),h=this,p=Math.round(this.options.slices/2),d=Math.round(n.width()/p),l=Math.round(n.height()/d),u=Math.round(n.height()/l)+1,f=n.data("cover").css("background-image"),m=i.$("<li></li>").css({width:this.container.width(),height:this.container.height(),opacity:1,zIndex:15}),x=this.container.width(),v=this.container.height(),g=0;l>g;g++)for(var w=0;p>w;w++)a=w==p-1?d+2:d,r=[u*g+"px",a*(w+1)+"px",u*(g+1)+"px",d*w+"px"],o=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:0,width:x,height:v,"background-image":f,clip:"rect("+r.join(",")+")","-webkit-transform":"translateZ(0)",transform:"translateZ(0)"}),m.append(o);this.container.append(m);var b=e(m.children());return b.each(function(t){i.$(this).css({transition:"all "+h.options.duration+"ms ease-in-out "+(50+25*t)+"ms","-webkit-transition":"all "+h.options.duration+"ms ease-in-out "+(50+25*t)+"ms"})}).last().on(i.support.transition.end,function(){m.remove(),c.resolve()}),m.width(),b.css({opacity:1}),c.promise()},boxes:function(e,s,n,o){if(!s.data("cover"))return t.fade.apply(this,arguments);for(var r,a,c,h,p=i.$.Deferred(),d=Math.round(this.options.slices/2),l=Math.round(s.width()/d),u=Math.round(s.height()/l),f=Math.round(s.height()/u)+1,m=s.data("cover").css("background-image"),x=i.$("<li></li>").css({width:s.width(),height:s.height(),opacity:1,zIndex:15}),v=s.width(),g=s.height(),w=0;u>w;w++)for(h=0;d>h;h++)c=h==d-1?l+2:l,a=[f*w+"px",c*(h+1)+"px",f*(w+1)+"px",l*h+"px"],r=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:1,width:v,height:g,"background-image":m,"transform-origin":a[3]+" "+a[0]+" 0",clip:"rect("+a.join(",")+")","-webkit-transform":"scale(0.0000000000000001)",transform:"scale(0.0000000000000001)"}),x.append(r);this.container.append(x);var b,k=0,y=0,$=0,I=[[]],M=x.children();for("boxes-reverse"==o&&(M=[].reverse.apply(M)),M.each(function(){I[k][y]=i.$(this),y++,y==d&&(k++,y=0,I[k]=[])}),h=0,b=0;d*u>h;h++){b=h;for(var z=0;u>z;z++)b>=0&&d>b&&I[z][b].css({transition:"all "+this.options.duration+"ms linear "+(50+$)+"ms","-webkit-transition":"all "+this.options.duration+"ms linear "+(50+$)+"ms"}),b--;$+=100}return M.last().on(i.support.transition.end,function(){x.remove(),p.resolve()}),x.width(),M.css({"-webkit-transform":"scale(1)",transform:"scale(1)"}),p.promise()},"boxes-reverse":function(i,e,s){return t.boxes.apply(this,[i,e,s,"boxes-reverse"])},"random-fx":function(){var i=["slice-up","fold","puzzle","slice-down","boxes","slice-up-down","boxes-reverse"];return this.fxIndex=(void 0===this.fxIndex?-1:this.fxIndex)+1,i[this.fxIndex]||(this.fxIndex=0),t[i[this.fxIndex]].apply(this,arguments)}});var e=function(i){for(var t,e,s=i.length;s;t=parseInt(Math.random()*s),e=i[--s],i[s]=i[t],i[t]=e);return i};return i.slideshow.animations}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow.js deleted file mode 100644 index d897bc95e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow.js +++ /dev/null @@ -1,545 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-slideshow", ["uikit"], function() { - return component || addon(UIkit); - }); - } - -})(function(UI) { - - "use strict"; - - var Animations, playerId = 0; - - UI.component('slideshow', { - - defaults: { - animation : "fade", - duration : 500, - height : "auto", - start : 0, - autoplay : false, - autoplayInterval : 7000, - videoautoplay : true, - videomute : true, - slices : 15, - pauseOnHover : true, - kenburns : false, - kenburnsanimations : [ - 'uk-animation-middle-left', - 'uk-animation-top-right', - 'uk-animation-bottom-left', - 'uk-animation-top-center', - '', // middle-center - 'uk-animation-bottom-right' - ], - }, - - current : false, - interval : null, - hovering : false, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$('[data-uk-slideshow]', context).each(function() { - - var slideshow = UI.$(this); - - if (!slideshow.data("slideshow")) { - var obj = UI.slideshow(slideshow, UI.Utils.options(slideshow.attr("data-uk-slideshow"))); - } - }); - }); - }, - - init: function() { - - var $this = this, canvas, kbanimduration; - - this.container = this.element.hasClass('uk-slideshow') ? this.element : UI.$(this.find('.uk-slideshow')); - this.slides = this.container.children(); - this.slidesCount = this.slides.length; - this.current = this.options.start; - this.animating = false; - this.triggers = this.find('[data-uk-slideshow-item]'); - this.fixFullscreen = navigator.userAgent.match(/(iPad|iPhone|iPod)/g) && this.container.hasClass('uk-slideshow-fullscreen'); // viewport unit fix for height:100vh - should be fixed in iOS 8 - - if (this.options.kenburns) { - - kbanimduration = this.options.kenburns === true ? '15s': this.options.kenburns; - - if (!String(kbanimduration).match(/(ms|s)$/)) { - kbanimduration += 'ms'; - } - - if (typeof(this.options.kenburnsanimations) == 'string') { - this.options.kenburnsanimations = this.options.kenburnsanimations.split(','); - } - } - - this.slides.each(function(index) { - - var slide = UI.$(this), - media = slide.children('img,video,iframe').eq(0); - - slide.data('media', media); - slide.data('sizer', media); - - if (media.length) { - - var placeholder; - - switch(media[0].nodeName) { - case 'IMG': - - var cover = UI.$('<div class="uk-cover-background uk-position-cover"></div>').css({'background-image':'url('+ media.attr('src') + ')'}); - - media.css({'width': '100%','height': 'auto'}); - slide.prepend(cover).data('cover', cover); - break; - - case 'IFRAME': - - var src = media[0].src, iframeId = 'sw-'+(++playerId); - - media - .attr('src', '').on('load', function(){ - - if (index !== $this.current || (index == $this.current && !$this.options.videoautoplay)) { - $this.pausemedia(media); - } - - if ($this.options.videomute) { - - $this.mutemedia(media); - - var inv = setInterval((function(ic) { - return function() { - $this.mutemedia(media); - if (++ic >= 4) clearInterval(inv); - } - })(0), 250); - } - - }) - .data('slideshow', $this) // add self-reference for the vimeo-ready listener - .attr('data-player-id', iframeId) // add frameId for the vimeo-ready listener - .attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1&player_id='+iframeId].join('')) - .addClass('uk-position-absolute'); - - // disable pointer events - if(!UI.support.touch) media.css('pointer-events', 'none'); - - placeholder = true; - - if (UI.cover) { - UI.cover(media); - media.attr('data-uk-cover', '{}'); - } - - break; - - case 'VIDEO': - media.addClass('uk-cover-object uk-position-absolute'); - placeholder = true; - - if ($this.options.videomute) $this.mutemedia(media); - } - - if (placeholder) { - - canvas = UI.$('<canvas></canvas>').attr({'width': media[0].width, 'height': media[0].height}); - var img = UI.$('<img style="width:100%;height:auto;">').attr('src', canvas[0].toDataURL()); - - slide.prepend(img); - slide.data('sizer', img); - } - - } else { - slide.data('sizer', slide); - } - - if ($this.hasKenBurns(slide)) { - - slide.data('cover').css({ - '-webkit-animation-duration': kbanimduration, - 'animation-duration': kbanimduration - }); - } - }); - - this.on("click.uikit.slideshow", '[data-uk-slideshow-item]', function(e) { - - e.preventDefault(); - - var slide = UI.$(this).attr('data-uk-slideshow-item'); - - if ($this.current == slide) return; - - switch(slide) { - case 'next': - case 'previous': - $this[slide=='next' ? 'next':'previous'](); - break; - default: - $this.show(parseInt(slide, 10)); - } - - $this.stop(); - }); - - // Set start slide - this.slides.attr('aria-hidden', 'true').eq(this.current).addClass('uk-active').attr('aria-hidden', 'false'); - this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass('uk-active'); - - UI.$win.on("resize load", UI.Utils.debounce(function() { - $this.resize(); - - if ($this.fixFullscreen) { - $this.container.css('height', window.innerHeight); - $this.slides.css('height', window.innerHeight); - } - }, 100)); - - // chrome image load fix - setTimeout(function(){ - $this.resize(); - }, 80); - - // Set autoplay - if (this.options.autoplay) { - this.start(); - } - - if (this.options.videoautoplay && this.slides.eq(this.current).data('media')) { - this.playmedia(this.slides.eq(this.current).data('media')); - } - - if (this.options.kenburns) { - this.applyKenBurns(this.slides.eq(this.current)); - } - - this.container.on({ - mouseenter: function() { if ($this.options.pauseOnHover) $this.hovering = true; }, - mouseleave: function() { $this.hovering = false; } - }); - - this.on('swipeRight swipeLeft', function(e) { - $this[e.type=='swipeLeft' ? 'next' : 'previous'](); - }); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) { - - $this.resize(); - - if ($this.fixFullscreen) { - $this.container.css('height', window.innerHeight); - $this.slides.css('height', window.innerHeight); - } - } - }); - }, - - - resize: function() { - - if (this.container.hasClass('uk-slideshow-fullscreen')) return; - - var $this = this, height = this.options.height; - - if (this.options.height === 'auto') { - - height = 0; - - this.slides.css('height', '').each(function() { - height = Math.max(height, UI.$(this).height()); - }); - } - - this.container.css('height', height); - this.slides.css('height', height); - }, - - show: function(index, direction) { - - if (this.animating || this.current == index) return; - - this.animating = true; - - var $this = this, - current = this.slides.eq(this.current), - next = this.slides.eq(index), - dir = direction ? direction : this.current < index ? -1 : 1, - currentmedia = current.data('media'), - animation = Animations[this.options.animation] ? this.options.animation : 'fade', - nextmedia = next.data('media'), - finalize = function() { - - if (!$this.animating) return; - - if (currentmedia && currentmedia.is('video,iframe')) { - $this.pausemedia(currentmedia); - } - - if (nextmedia && nextmedia.is('video,iframe')) { - $this.playmedia(nextmedia); - } - - next.addClass("uk-active").attr('aria-hidden', 'false'); - current.removeClass("uk-active").attr('aria-hidden', 'true'); - - $this.animating = false; - $this.current = index; - - UI.Utils.checkDisplay(next, '[class*="uk-animation-"]:not(.uk-cover-background.uk-position-cover)'); - - $this.trigger('show.uk.slideshow', [next]); - }; - - $this.applyKenBurns(next); - - // animation fallback - if (!UI.support.animation) { - animation = 'none'; - } - - current = UI.$(current); - next = UI.$(next); - - Animations[animation].apply(this, [current, next, dir]).then(finalize); - - $this.triggers.removeClass('uk-active'); - $this.triggers.filter('[data-uk-slideshow-item="'+index+'"]').addClass('uk-active'); - }, - - applyKenBurns: function(slide) { - - if (!this.hasKenBurns(slide)) { - return; - } - - var animations = this.options.kenburnsanimations, - index = this.kbindex || 0; - - - slide.data('cover').attr('class', 'uk-cover-background uk-position-cover').width(); - slide.data('cover').addClass(['uk-animation-scale', 'uk-animation-reverse', animations[index].trim()].join(' ')); - - this.kbindex = animations[index + 1] ? (index+1):0; - }, - - hasKenBurns: function(slide) { - return (this.options.kenburns && slide.data('cover')); - }, - - next: function() { - this.show(this.slides[this.current + 1] ? (this.current + 1) : 0); - }, - - previous: function() { - this.show(this.slides[this.current - 1] ? (this.current - 1) : (this.slides.length - 1)); - }, - - start: function() { - - this.stop(); - - var $this = this; - - this.interval = setInterval(function() { - if (!$this.hovering) $this.next(); - }, this.options.autoplayInterval); - - }, - - stop: function() { - if (this.interval) clearInterval(this.interval); - }, - - playmedia: function(media) { - - if (!(media && media[0])) return; - - switch(media[0].nodeName) { - case 'VIDEO': - - if (!this.options.videomute) { - media[0].muted = false; - } - - media[0].play(); - break; - case 'IFRAME': - - if (!this.options.videomute) { - media[0].contentWindow.postMessage('{ "event": "command", "func": "unmute", "method":"setVolume", "value":1}', '*'); - } - - media[0].contentWindow.postMessage('{ "event": "command", "func": "playVideo", "method":"play"}', '*'); - break; - } - }, - - pausemedia: function(media) { - - switch(media[0].nodeName) { - case 'VIDEO': - media[0].pause(); - break; - case 'IFRAME': - media[0].contentWindow.postMessage('{ "event": "command", "func": "pauseVideo", "method":"pause"}', '*'); - break; - } - }, - - mutemedia: function(media) { - - switch(media[0].nodeName) { - case 'VIDEO': - media[0].muted = true; - break; - case 'IFRAME': - media[0].contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); - break; - } - } - }); - - Animations = { - - 'none': function() { - - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'scroll': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1).one(UI.support.animation.end, function() { - - current.removeClass(dir === 1 ? 'uk-slideshow-scroll-backward-out' : 'uk-slideshow-scroll-forward-out'); - next.css('opacity', '').removeClass(dir === 1 ? 'uk-slideshow-scroll-backward-in' : 'uk-slideshow-scroll-forward-in'); - d.resolve(); - - }.bind(this)); - - current.addClass(dir == 1 ? 'uk-slideshow-scroll-backward-out' : 'uk-slideshow-scroll-forward-out'); - next.addClass(dir == 1 ? 'uk-slideshow-scroll-backward-in' : 'uk-slideshow-scroll-forward-in'); - next.width(); // force redraw - - return d.promise(); - }, - - 'swipe': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1).one(UI.support.animation.end, function() { - - current.removeClass(dir === 1 ? 'uk-slideshow-swipe-backward-out' : 'uk-slideshow-swipe-forward-out'); - next.css('opacity', '').removeClass(dir === 1 ? 'uk-slideshow-swipe-backward-in' : 'uk-slideshow-swipe-forward-in'); - d.resolve(); - - }.bind(this)); - - current.addClass(dir == 1 ? 'uk-slideshow-swipe-backward-out' : 'uk-slideshow-swipe-forward-out'); - next.addClass(dir == 1 ? 'uk-slideshow-swipe-backward-in' : 'uk-slideshow-swipe-forward-in'); - next.width(); // force redraw - - return d.promise(); - }, - - 'scale': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1); - - current.one(UI.support.animation.end, function() { - - current.removeClass('uk-slideshow-scale-out'); - next.css('opacity', ''); - d.resolve(); - - }.bind(this)); - - current.addClass('uk-slideshow-scale-out'); - current.width(); // force redraw - - return d.promise(); - }, - - 'fade': function(current, next, dir) { - - var d = UI.$.Deferred(); - - current.css('animation-duration', this.options.duration+'ms'); - next.css('animation-duration', this.options.duration+'ms'); - - next.css('opacity', 1); - - current.one(UI.support.animation.end, function() { - - current.removeClass('uk-slideshow-fade-out'); - next.css('opacity', ''); - d.resolve(); - - }.bind(this)); - - current.addClass('uk-slideshow-fade-out'); - current.width(); // force redraw - - return d.promise(); - } - }; - - UI.slideshow.animations = Animations; - - // Listen for messages from the vimeo player - window.addEventListener('message', function onMessageReceived(e) { - - var data = e.data, iframe; - - if (typeof(data) == 'string') { - - try { - data = JSON.parse(data); - } catch(err) { - data = {}; - } - } - - if (e.origin && e.origin.indexOf('vimeo') > -1 && data.event == 'ready' && data.player_id) { - iframe = UI.$('[data-player-id="'+ data.player_id+'"]'); - - if (iframe.length) { - iframe.data('slideshow').mutemedia(iframe); - } - } - }, false); - -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow.min.js deleted file mode 100644 index e7af4f056..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/slideshow.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){var s;window.UIkit&&(s=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow",["uikit"],function(){return s||i(UIkit)})}(function(i){"use strict";var s,t=0;i.component("slideshow",{defaults:{animation:"fade",duration:500,height:"auto",start:0,autoplay:!1,autoplayInterval:7e3,videoautoplay:!0,videomute:!0,slices:15,pauseOnHover:!0,kenburns:!1,kenburnsanimations:["uk-animation-middle-left","uk-animation-top-right","uk-animation-bottom-left","uk-animation-top-center","","uk-animation-bottom-right"]},current:!1,interval:null,hovering:!1,boot:function(){i.ready(function(s){i.$("[data-uk-slideshow]",s).each(function(){var s=i.$(this);if(!s.data("slideshow")){i.slideshow(s,i.Utils.options(s.attr("data-uk-slideshow")))}})})},init:function(){var s,e,n=this;this.container=this.element.hasClass("uk-slideshow")?this.element:i.$(this.find(".uk-slideshow")),this.slides=this.container.children(),this.slidesCount=this.slides.length,this.current=this.options.start,this.animating=!1,this.triggers=this.find("[data-uk-slideshow-item]"),this.fixFullscreen=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&this.container.hasClass("uk-slideshow-fullscreen"),this.options.kenburns&&(e=this.options.kenburns===!0?"15s":this.options.kenburns,String(e).match(/(ms|s)$/)||(e+="ms"),"string"==typeof this.options.kenburnsanimations&&(this.options.kenburnsanimations=this.options.kenburnsanimations.split(","))),this.slides.each(function(a){var o=i.$(this),r=o.children("img,video,iframe").eq(0);if(o.data("media",r),o.data("sizer",r),r.length){var d;switch(r[0].nodeName){case"IMG":var u=i.$('<div class="uk-cover-background uk-position-cover"></div>').css({"background-image":"url("+r.attr("src")+")"});r.css({width:"100%",height:"auto"}),o.prepend(u).data("cover",u);break;case"IFRAME":var h=r[0].src,c="sw-"+ ++t;r.attr("src","").on("load",function(){if((a!==n.current||a==n.current&&!n.options.videoautoplay)&&n.pausemedia(r),n.options.videomute){n.mutemedia(r);var i=setInterval(function(s){return function(){n.mutemedia(r),++s>=4&&clearInterval(i)}}(0),250)}}).data("slideshow",n).attr("data-player-id",c).attr("src",[h,h.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1&player_id="+c].join("")).addClass("uk-position-absolute"),i.support.touch||r.css("pointer-events","none"),d=!0,i.cover&&(i.cover(r),r.attr("data-uk-cover","{}"));break;case"VIDEO":r.addClass("uk-cover-object uk-position-absolute"),d=!0,n.options.videomute&&n.mutemedia(r)}if(d){s=i.$("<canvas></canvas>").attr({width:r[0].width,height:r[0].height});var l=i.$('<img style="width:100%;height:auto;">').attr("src",s[0].toDataURL());o.prepend(l),o.data("sizer",l)}}else o.data("sizer",o);n.hasKenBurns(o)&&o.data("cover").css({"-webkit-animation-duration":e,"animation-duration":e})}),this.on("click.uikit.slideshow","[data-uk-slideshow-item]",function(s){s.preventDefault();var t=i.$(this).attr("data-uk-slideshow-item");if(n.current!=t){switch(t){case"next":case"previous":n["next"==t?"next":"previous"]();break;default:n.show(parseInt(t,10))}n.stop()}}),this.slides.attr("aria-hidden","true").eq(this.current).addClass("uk-active").attr("aria-hidden","false"),this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass("uk-active"),i.$win.on("resize load",i.Utils.debounce(function(){n.resize(),n.fixFullscreen&&(n.container.css("height",window.innerHeight),n.slides.css("height",window.innerHeight))},100)),setTimeout(function(){n.resize()},80),this.options.autoplay&&this.start(),this.options.videoautoplay&&this.slides.eq(this.current).data("media")&&this.playmedia(this.slides.eq(this.current).data("media")),this.options.kenburns&&this.applyKenBurns(this.slides.eq(this.current)),this.container.on({mouseenter:function(){n.options.pauseOnHover&&(n.hovering=!0)},mouseleave:function(){n.hovering=!1}}),this.on("swipeRight swipeLeft",function(i){n["swipeLeft"==i.type?"next":"previous"]()}),this.on("display.uk.check",function(){n.element.is(":visible")&&(n.resize(),n.fixFullscreen&&(n.container.css("height",window.innerHeight),n.slides.css("height",window.innerHeight)))})},resize:function(){if(!this.container.hasClass("uk-slideshow-fullscreen")){var s=this.options.height;"auto"===this.options.height&&(s=0,this.slides.css("height","").each(function(){s=Math.max(s,i.$(this).height())})),this.container.css("height",s),this.slides.css("height",s)}},show:function(t,e){if(!this.animating&&this.current!=t){this.animating=!0;var n=this,a=this.slides.eq(this.current),o=this.slides.eq(t),r=e?e:this.current<t?-1:1,d=a.data("media"),u=s[this.options.animation]?this.options.animation:"fade",h=o.data("media"),c=function(){n.animating&&(d&&d.is("video,iframe")&&n.pausemedia(d),h&&h.is("video,iframe")&&n.playmedia(h),o.addClass("uk-active").attr("aria-hidden","false"),a.removeClass("uk-active").attr("aria-hidden","true"),n.animating=!1,n.current=t,i.Utils.checkDisplay(o,'[class*="uk-animation-"]:not(.uk-cover-background.uk-position-cover)'),n.trigger("show.uk.slideshow",[o]))};n.applyKenBurns(o),i.support.animation||(u="none"),a=i.$(a),o=i.$(o),s[u].apply(this,[a,o,r]).then(c),n.triggers.removeClass("uk-active"),n.triggers.filter('[data-uk-slideshow-item="'+t+'"]').addClass("uk-active")}},applyKenBurns:function(i){if(this.hasKenBurns(i)){var s=this.options.kenburnsanimations,t=this.kbindex||0;i.data("cover").attr("class","uk-cover-background uk-position-cover").width(),i.data("cover").addClass(["uk-animation-scale","uk-animation-reverse",s[t].trim()].join(" ")),this.kbindex=s[t+1]?t+1:0}},hasKenBurns:function(i){return this.options.kenburns&&i.data("cover")},next:function(){this.show(this.slides[this.current+1]?this.current+1:0)},previous:function(){this.show(this.slides[this.current-1]?this.current-1:this.slides.length-1)},start:function(){this.stop();var i=this;this.interval=setInterval(function(){i.hovering||i.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},playmedia:function(i){if(i&&i[0])switch(i[0].nodeName){case"VIDEO":this.options.videomute||(i[0].muted=!1),i[0].play();break;case"IFRAME":this.options.videomute||i[0].contentWindow.postMessage('{ "event": "command", "func": "unmute", "method":"setVolume", "value":1}',"*"),i[0].contentWindow.postMessage('{ "event": "command", "func": "playVideo", "method":"play"}',"*")}},pausemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].pause();break;case"IFRAME":i[0].contentWindow.postMessage('{ "event": "command", "func": "pauseVideo", "method":"pause"}',"*")}},mutemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].muted=!0;break;case"IFRAME":i[0].contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}}}),s={none:function(){var s=i.$.Deferred();return s.resolve(),s.promise()},scroll:function(s,t,e){var n=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1).one(i.support.animation.end,function(){s.removeClass(1===e?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),t.css("opacity","").removeClass(1===e?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),n.resolve()}.bind(this)),s.addClass(1==e?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),t.addClass(1==e?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),t.width(),n.promise()},swipe:function(s,t,e){var n=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1).one(i.support.animation.end,function(){s.removeClass(1===e?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),t.css("opacity","").removeClass(1===e?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),n.resolve()}.bind(this)),s.addClass(1==e?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),t.addClass(1==e?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),t.width(),n.promise()},scale:function(s,t){var e=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1),s.one(i.support.animation.end,function(){s.removeClass("uk-slideshow-scale-out"),t.css("opacity",""),e.resolve()}.bind(this)),s.addClass("uk-slideshow-scale-out"),s.width(),e.promise()},fade:function(s,t){var e=i.$.Deferred();return s.css("animation-duration",this.options.duration+"ms"),t.css("animation-duration",this.options.duration+"ms"),t.css("opacity",1),s.one(i.support.animation.end,function(){s.removeClass("uk-slideshow-fade-out"),t.css("opacity",""),e.resolve()}.bind(this)),s.addClass("uk-slideshow-fade-out"),s.width(),e.promise()}},i.slideshow.animations=s,window.addEventListener("message",function(s){var t,e=s.data;if("string"==typeof e)try{e=JSON.parse(e)}catch(n){e={}}s.origin&&s.origin.indexOf("vimeo")>-1&&"ready"==e.event&&e.player_id&&(t=i.$('[data-player-id="'+e.player_id+'"]'),t.length&&t.data("slideshow").mutemedia(t))},!1)}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sortable.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sortable.js deleted file mode 100644 index 37a369ba3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sortable.js +++ /dev/null @@ -1,643 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -/* - * Based on nativesortable - Copyright (c) Brian Grinstead - https://github.com/bgrins/nativesortable - */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-sortable", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var supportsTouch = ('ontouchstart' in window) || (window.DocumentTouch && document instanceof DocumentTouch), - draggingPlaceholder, currentlyDraggingElement, currentlyDraggingTarget, dragging, moving, clickedlink, delayIdle, touchedlists, moved; - - function closestSortable(ele) { - - ele = UI.$(ele); - - do { - if (ele.data('sortable')) { - return ele; - } - ele = UI.$(ele).parent(); - } while(ele.length); - - return ele; - } - - UI.component('sortable', { - - defaults: { - - animation : 150, - threshold : 10, - - childClass : 'uk-sortable-item', - placeholderClass : 'uk-sortable-placeholder', - overClass : 'uk-sortable-over', - draggingClass : 'uk-sortable-dragged', - dragMovingClass : 'uk-sortable-moving', - baseClass : 'uk-sortable', - noDragClass : 'uk-sortable-nodrag', - dragCustomClass : '', - handleClass : false, - group : false, - - stop : function() {}, - start : function() {}, - change : function() {} - }, - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-sortable]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("sortable")) { - var plugin = UI.sortable(ele, UI.Utils.options(ele.attr("data-uk-sortable"))); - } - }); - }); - - UI.$html.on('mousemove touchmove', function(e) { - - if (delayIdle) { - - var src = e.originalEvent.targetTouches ? e.originalEvent.targetTouches[0] : e; - - if (Math.abs(src.pageX - delayIdle.pos.x) > delayIdle.threshold || Math.abs(src.pageY - delayIdle.pos.y) > delayIdle.threshold) { - delayIdle.apply(src); - } - } - - if (draggingPlaceholder) { - - if (!moving) { - moving = true; - draggingPlaceholder.show(); - - draggingPlaceholder.$current.addClass(draggingPlaceholder.$sortable.options.placeholderClass); - draggingPlaceholder.$sortable.element.children().addClass(draggingPlaceholder.$sortable.options.childClass); - - UI.$html.addClass(draggingPlaceholder.$sortable.options.dragMovingClass); - } - - var offset = draggingPlaceholder.data('mouse-offset'), - left = parseInt(e.originalEvent.pageX, 10) + offset.left, - top = parseInt(e.originalEvent.pageY, 10) + offset.top; - - draggingPlaceholder.css({'left': left, 'top': top }); - - // adjust document scrolling - if (top < UI.$win.scrollTop()) { - UI.$win.scrollTop(UI.$win.scrollTop() - Math.ceil(draggingPlaceholder.height()/2)); - } else if ( (top + draggingPlaceholder.height()) > (window.innerHeight + UI.$win.scrollTop()) ) { - UI.$win.scrollTop(UI.$win.scrollTop() + Math.ceil(draggingPlaceholder.height()/2)); - } - } - }); - - UI.$html.on('mouseup touchend', function(e) { - - delayIdle = clickedlink = false; - - // dragging? - if (!currentlyDraggingElement || !draggingPlaceholder) { - // completely reset dragging attempt. will cause weird delay behavior elsewise - currentlyDraggingElement = draggingPlaceholder = null; - return; - } - - // inside or outside of sortable? - var sortable = closestSortable(e.target), - component = draggingPlaceholder.$sortable, - ev = { type: e.type }; - - if (sortable[0]) { - component.dragDrop(ev, component.element); - } - component.dragEnd(ev, component.element); - }); - }, - - init: function() { - - var $this = this, - element = this.element[0], - children; - - touchedlists = []; - - // make sure :empty selector works on empty lists - if (this.element.children().length === 0) { - this.element.html(''); - } - - this.element.data('sortable-group', this.options.group ? this.options.group : UI.Utils.uid('sortable-group')); - - var handleDragStart = delegate(function(e) { - - var $target = UI.$(e.target), - $link = $target.is('a[href]') ? $target:$target.parents('a[href]'); - - if ($target.is(':input')) { - return; - } - - e.preventDefault(); - - if (!supportsTouch && $link.length) { - - $link.one('click', function(e){ - e.preventDefault(); - }).one('mouseup', function(){ - if(!moved) $link.trigger('click'); - }); - } - - return $this.dragStart(e, this); - }); - - var handleDragOver = delegate(function(e) { - - if (!currentlyDraggingElement) { - return true; - } - - if (e.preventDefault) { - e.preventDefault(); - } - - return false; - }); - - var handleDragEnter = delegate(UI.Utils.debounce(function(e) { - return $this.dragEnter(e, this); - }), 40); - - var handleDragLeave = delegate(function(e) { - - // Prevent dragenter on a child from allowing a dragleave on the container - var previousCounter = $this.dragenterData(this); - $this.dragenterData(this, previousCounter - 1); - - // This is a fix for child elements firing dragenter before the parent fires dragleave - if (!$this.dragenterData(this)) { - UI.$(this).removeClass($this.options.overClass); - $this.dragenterData(this, false); - } - }); - - var handleTouchMove = delegate(function(e) { - - if (!currentlyDraggingElement || - currentlyDraggingElement === this || - currentlyDraggingTarget === this) { - return true; - } - - $this.element.children().removeClass($this.options.overClass); - currentlyDraggingTarget = this; - - $this.moveElementNextTo(currentlyDraggingElement, this); - - return prevent(e); - }); - - // Bind/unbind standard mouse/touch events as a polyfill. - function addDragHandlers() { - if (supportsTouch) { - element.addEventListener("touchmove", handleTouchMove, false); - } else { - element.addEventListener('mouseover', handleDragEnter, false); - element.addEventListener('mouseout', handleDragLeave, false); - } - - // document.addEventListener("selectstart", prevent, false); - } - - function removeDragHandlers() { - if (supportsTouch) { - element.removeEventListener("touchmove", handleTouchMove, false); - } else { - element.removeEventListener('mouseover', handleDragEnter, false); - element.removeEventListener('mouseout', handleDragLeave, false); - } - - // document.removeEventListener("selectstart", prevent, false); - } - - this.addDragHandlers = addDragHandlers; - this.removeDragHandlers = removeDragHandlers; - - function handleDragMove(e) { - - if (!currentlyDraggingElement) { - return; - } - - $this.dragMove(e, $this); - } - - function delegate(fn) { - - return function(e) { - - var touch, target, context; - - if (e) { - touch = (supportsTouch && e.touches && e.touches[0]) || { }; - target = touch.target || e.target; - - // Fix event.target for a touch event - if (supportsTouch && document.elementFromPoint) { - target = document.elementFromPoint(e.pageX - document.body.scrollLeft, e.pageY - document.body.scrollTop); - } - } - - if (UI.$(target).hasClass($this.options.childClass)) { - fn.apply(target, [e]); - } else if (target !== element) { - - // If a child is initiating the event or ending it, then use the container as context for the callback. - context = moveUpToChildNode(element, target); - - if (context) { - fn.apply(context, [e]); - } - } - }; - } - - window.addEventListener(supportsTouch ? 'touchmove' : 'mousemove', handleDragMove, false); - element.addEventListener(supportsTouch ? 'touchstart': 'mousedown', handleDragStart, false); - }, - - dragStart: function(e, elem) { - - moved = false; - moving = false; - dragging = false; - - var $this = this, - target = UI.$(e.target), - children = $this.element.children(); - - if (!supportsTouch && e.button==2) { - return; - } - - if ($this.options.handleClass) { - - var handle = target.hasClass($this.options.handleClass) ? target : target.closest('.'+$this.options.handleClass, $this.element); - - if (!handle.length) { - //e.preventDefault(); - return; - } - } - - if (target.is('.'+$this.options.noDragClass) || target.closest('.'+$this.options._noDragClass).length) { - return; - } - - // prevent dragging if taget is a form field - if (target.is(':input')) { - return; - } - - currentlyDraggingElement = elem; - - // init drag placeholder - if (draggingPlaceholder) { - draggingPlaceholder.remove(); - } - - var $current = UI.$(currentlyDraggingElement), offset = $current.offset(); - - delayIdle = { - - pos : { x:e.pageX, y:e.pageY }, - threshold : $this.options.threshold, - apply : function(evt) { - - draggingPlaceholder = UI.$('<div class="'+([$this.options.draggingClass, $this.options.dragCustomClass].join(' '))+'"></div>').css({ - display : 'none', - top : offset.top, - left : offset.left, - width : $current.width(), - height : $current.height(), - padding : $current.css('padding') - }).data({ - 'mouse-offset': { - 'left' : offset.left - parseInt(evt.pageX, 10), - 'top' : offset.top - parseInt(evt.pageY, 10) - }, - 'origin' : $this.element, - 'index' : $current.index() - }).append($current.html()).appendTo('body'); - - draggingPlaceholder.$current = $current; - draggingPlaceholder.$sortable = $this; - $current.data('sortable-group', $this.options.group); - - $this.addDragHandlers(); - - $this.options.start(this, currentlyDraggingElement); - $this.trigger('start.uk.sortable', [$this, currentlyDraggingElement]); - - moved = true; - delayIdle = false; - } - }; - }, - - dragMove: function(e, elem) { - var overEl = UI.$(document.elementFromPoint(e.pageX - document.body.scrollLeft, e.pageY - (window.pageYOffset || document.documentElement.scrollTop))), - overRoot = overEl.closest('.'+this.options.baseClass), - groupOver = overRoot.data("sortable-group"), - $current = UI.$(currentlyDraggingElement), - currentRoot = $current.parent(), - groupCurrent = $current.data("sortable-group"), - overChild; - - if (overRoot[0] !== currentRoot[0] && groupCurrent !== undefined && groupOver === groupCurrent) { - overRoot.data('sortable').addDragHandlers(); - - touchedlists.push(overRoot); - overRoot.children().addClass(this.options.childClass); - - // swap root - if (overRoot.children().length > 0) { - overChild = overEl.closest('.'+this.options.childClass); - overChild.before($current); - } else { // empty list - overEl.append($current); - } - - // list empty? remove inner whitespace to make sure :empty selector works - if (currentRoot.children().length === 0) { - currentRoot.html(''); - } - - UIkit.$doc.trigger('mouseover'); - } - }, - - dragEnter: function(e, elem) { - - if (!currentlyDraggingElement || currentlyDraggingElement === elem) { - return true; - } - - // Prevent dragenter on a child from allowing a dragleave on the container - var previousCounter = this.dragenterData(elem); - - this.dragenterData(elem, previousCounter + 1); - - if (previousCounter === 0) { - - UI.$(elem).addClass(this.options.overClass); - - this.moveElementNextTo(currentlyDraggingElement, elem); - } - - return false; - }, - - dragEnd: function(e, elem) { - - var $this = this; - - // avoid triggering event twice - if (currentlyDraggingElement) { - // TODO: trigger on right element? - this.options.stop(elem); - this.trigger('stop.uk.sortable', [this]); - } - - currentlyDraggingElement = null; - currentlyDraggingTarget = null; - - touchedlists.push(this.element); - touchedlists.forEach(function(el, i) { - UI.$(el).children().each(function() { - if (this.nodeType === 1) { - UI.$(this).removeClass($this.options.overClass) - .removeClass($this.options.placeholderClass) - .removeClass($this.options.childClass); - $this.dragenterData(this, false); - } - }); - }); - - touchedlists = []; - - UI.$html.removeClass(this.options.dragMovingClass); - - this.removeDragHandlers(); - - if (draggingPlaceholder) { - draggingPlaceholder.remove(); - draggingPlaceholder = null; - } - }, - - dragDrop: function(e, elem) { - - if (e.type === 'drop') { - - if (e.stopPropagation) { - e.stopPropagation(); - } - - if (e.preventDefault) { - e.preventDefault(); - } - } - - this.triggerChangeEvents(); - }, - - triggerChangeEvents: function() { - - // trigger events once - if (!currentlyDraggingElement) return; - - var $current = UI.$(currentlyDraggingElement), - oldRoot = draggingPlaceholder.data("origin"), - newRoot = $current.closest('.'+this.options.baseClass), - triggers = []; - - // events depending on move inside lists or across lists - if (oldRoot[0] === newRoot[0] && draggingPlaceholder.data('index') != $current.index() ) { - triggers.push({el: this, mode: 'moved'}); - } else if (oldRoot[0] != newRoot[0]) { - triggers.push({el: newRoot, mode: 'added'}, {el: oldRoot, mode: 'removed'}); - } - - triggers.forEach(function (trigger, i) { - trigger.el.trigger('change.uk.sortable', [trigger.el, currentlyDraggingElement, trigger.mode]); - }); - }, - - dragenterData: function(element, val) { - - element = UI.$(element); - - if (arguments.length == 1) { - return parseInt(element.data('child-dragenter'), 10) || 0; - } else if (!val) { - element.removeData('child-dragenter'); - } else { - element.data('child-dragenter', Math.max(0, val)); - } - }, - - moveElementNextTo: function(element, elementToMoveNextTo) { - - dragging = true; - - var $this = this, - list = UI.$(element).parent().css('min-height', ''), - next = isBelow(element, elementToMoveNextTo) ? elementToMoveNextTo : elementToMoveNextTo.nextSibling, - children = list.children(), - count = children.length; - - if (!$this.options.animation) { - elementToMoveNextTo.parentNode.insertBefore(element, next); - UI.Utils.checkDisplay($this.element.parent()); - return; - } - - list.css('min-height', list.height()); - - children.stop().each(function(){ - var ele = UI.$(this), - offset = ele.position(); - - offset.width = ele.width(); - - ele.data('offset-before', offset); - }); - - elementToMoveNextTo.parentNode.insertBefore(element, next); - - UI.Utils.checkDisplay($this.element.parent()); - - children = list.children().each(function() { - var ele = UI.$(this); - ele.data('offset-after', ele.position()); - }).each(function() { - var ele = UI.$(this), - before = ele.data('offset-before'); - ele.css({'position':'absolute', 'top':before.top, 'left':before.left, 'min-width':before.width }); - }); - - children.each(function(){ - - var ele = UI.$(this), - before = ele.data('offset-before'), - offset = ele.data('offset-after'); - - ele.css('pointer-events', 'none').width(); - - setTimeout(function(){ - ele.animate({'top':offset.top, 'left':offset.left}, $this.options.animation, function() { - ele.css({'position':'','top':'', 'left':'', 'min-width': '', 'pointer-events':''}).removeClass($this.options.overClass).removeData('child-dragenter'); - count--; - if (!count) { - list.css('min-height', ''); - UI.Utils.checkDisplay($this.element.parent()); - } - }); - }, 0); - }); - }, - - serialize: function() { - - var data = [], item, attribute; - - this.element.children().each(function(j, child) { - item = {}; - for (var i = 0; i < child.attributes.length; i++) { - attribute = child.attributes[i]; - if (attribute.name.indexOf('data-') === 0) { - item[attribute.name.substr(5)] = UI.Utils.str2json(attribute.value); - } - } - data.push(item); - }); - - return data; - } - }); - - // helpers - - function isBelow(el1, el2) { - - var parent = el1.parentNode; - - if (el2.parentNode != parent) { - return false; - } - - var cur = el1.previousSibling; - - while (cur && cur.nodeType !== 9) { - if (cur === el2) { - return true; - } - cur = cur.previousSibling; - } - - return false; - } - - function moveUpToChildNode(parent, child) { - var cur = child; - if (cur == parent) { return null; } - - while (cur) { - if (cur.parentNode === parent) { - return cur; - } - - cur = cur.parentNode; - if ( !cur || !cur.ownerDocument || cur.nodeType === 11 ) { - break; - } - } - return null; - } - - function prevent(e) { - if (e.stopPropagation) { - e.stopPropagation(); - } - if (e.preventDefault) { - e.preventDefault(); - } - e.returnValue = false; - } - - return UI.sortable; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sortable.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sortable.min.js deleted file mode 100644 index 7bd90d726..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sortable.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sortable",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}function o(t,e){var o=t.parentNode;if(e.parentNode!=o)return!1;for(var n=t.previousSibling;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}function n(t,e){var o=e;if(o==t)return null;for(;o;){if(o.parentNode===t)return o;if(o=o.parentNode,!o||!o.ownerDocument||11===o.nodeType)break}return null}function a(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}var s,r,i,l,d,h,u,p,c,g="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;return t.component("sortable",{defaults:{animation:150,threshold:10,childClass:"uk-sortable-item",placeholderClass:"uk-sortable-placeholder",overClass:"uk-sortable-over",draggingClass:"uk-sortable-dragged",dragMovingClass:"uk-sortable-moving",baseClass:"uk-sortable",noDragClass:"uk-sortable-nodrag",dragCustomClass:"",handleClass:!1,group:!1,stop:function(){},start:function(){},change:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-sortable]",e).each(function(){var e=t.$(this);if(!e.data("sortable")){t.sortable(e,t.Utils.options(e.attr("data-uk-sortable")))}})}),t.$html.on("mousemove touchmove",function(e){if(u){var o=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e;(Math.abs(o.pageX-u.pos.x)>u.threshold||Math.abs(o.pageY-u.pos.y)>u.threshold)&&u.apply(o)}if(s){d||(d=!0,s.show(),s.$current.addClass(s.$sortable.options.placeholderClass),s.$sortable.element.children().addClass(s.$sortable.options.childClass),t.$html.addClass(s.$sortable.options.dragMovingClass));var n=s.data("mouse-offset"),a=parseInt(e.originalEvent.pageX,10)+n.left,r=parseInt(e.originalEvent.pageY,10)+n.top;s.css({left:a,top:r}),r<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(s.height()/2)):r+s.height()>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(s.height()/2))}}),t.$html.on("mouseup touchend",function(t){if(u=h=!1,!r||!s)return r=s=null,void 0;var o=e(t.target),n=s.$sortable,a={type:t.type};o[0]&&n.dragDrop(a,n.element),n.dragEnd(a,n.element)})},init:function(){function e(){g?h.addEventListener("touchmove",v,!1):(h.addEventListener("mouseover",f,!1),h.addEventListener("mouseout",m,!1))}function o(){g?h.removeEventListener("touchmove",v,!1):(h.removeEventListener("mouseover",f,!1),h.removeEventListener("mouseout",m,!1))}function s(t){r&&d.dragMove(t,d)}function l(e){return function(o){var a,s,r;o&&(a=g&&o.touches&&o.touches[0]||{},s=a.target||o.target,g&&document.elementFromPoint&&(s=document.elementFromPoint(o.pageX-document.body.scrollLeft,o.pageY-document.body.scrollTop))),t.$(s).hasClass(d.options.childClass)?e.apply(s,[o]):s!==h&&(r=n(h,s),r&&e.apply(r,[o]))}}var d=this,h=this.element[0];p=[],0===this.element.children().length&&this.element.html(""),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var u=l(function(e){var o=t.$(e.target),n=o.is("a[href]")?o:o.parents("a[href]");if(!o.is(":input"))return e.preventDefault(),!g&&n.length&&n.one("click",function(t){t.preventDefault()}).one("mouseup",function(){c||n.trigger("click")}),d.dragStart(e,this)}),f=(l(function(t){return r?(t.preventDefault&&t.preventDefault(),!1):!0}),l(t.Utils.debounce(function(t){return d.dragEnter(t,this)}),40)),m=l(function(){var e=d.dragenterData(this);d.dragenterData(this,e-1),d.dragenterData(this)||(t.$(this).removeClass(d.options.overClass),d.dragenterData(this,!1))}),v=l(function(t){return r&&r!==this&&i!==this?(d.element.children().removeClass(d.options.overClass),i=this,d.moveElementNextTo(r,this),a(t)):!0});this.addDragHandlers=e,this.removeDragHandlers=o,window.addEventListener(g?"touchmove":"mousemove",s,!1),h.addEventListener(g?"touchstart":"mousedown",u,!1)},dragStart:function(e,o){c=!1,d=!1,l=!1;{var n=this,a=t.$(e.target);n.element.children()}if(g||2!=e.button){if(n.options.handleClass){var i=a.hasClass(n.options.handleClass)?a:a.closest("."+n.options.handleClass,n.element);if(!i.length)return}if(!a.is("."+n.options.noDragClass)&&!a.closest("."+n.options._noDragClass).length&&!a.is(":input")){r=o,s&&s.remove();var h=t.$(r),p=h.offset();u={pos:{x:e.pageX,y:e.pageY},threshold:n.options.threshold,apply:function(e){s=t.$('<div class="'+[n.options.draggingClass,n.options.dragCustomClass].join(" ")+'"></div>').css({display:"none",top:p.top,left:p.left,width:h.width(),height:h.height(),padding:h.css("padding")}).data({"mouse-offset":{left:p.left-parseInt(e.pageX,10),top:p.top-parseInt(e.pageY,10)},origin:n.element,index:h.index()}).append(h.html()).appendTo("body"),s.$current=h,s.$sortable=n,h.data("sortable-group",n.options.group),n.addDragHandlers(),n.options.start(this,r),n.trigger("start.uk.sortable",[n,r]),c=!0,u=!1}}}}},dragMove:function(e){var o,n=t.$(document.elementFromPoint(e.pageX-document.body.scrollLeft,e.pageY-(window.pageYOffset||document.documentElement.scrollTop))),a=n.closest("."+this.options.baseClass),s=a.data("sortable-group"),i=t.$(r),l=i.parent(),d=i.data("sortable-group");a[0]!==l[0]&&void 0!==d&&s===d&&(a.data("sortable").addDragHandlers(),p.push(a),a.children().addClass(this.options.childClass),a.children().length>0?(o=n.closest("."+this.options.childClass),o.before(i)):n.append(i),0===l.children().length&&l.html(""),UIkit.$doc.trigger("mouseover"))},dragEnter:function(e,o){if(!r||r===o)return!0;var n=this.dragenterData(o);return this.dragenterData(o,n+1),0===n&&(t.$(o).addClass(this.options.overClass),this.moveElementNextTo(r,o)),!1},dragEnd:function(e,o){var n=this;r&&(this.options.stop(o),this.trigger("stop.uk.sortable",[this])),r=null,i=null,p.push(this.element),p.forEach(function(e){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(n.options.overClass).removeClass(n.options.placeholderClass).removeClass(n.options.childClass),n.dragenterData(this,!1))})}),p=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),s&&(s.remove(),s=null)},dragDrop:function(t){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(r){var e=t.$(r),o=s.data("origin"),n=e.closest("."+this.options.baseClass),a=[];o[0]===n[0]&&s.data("index")!=e.index()?a.push({el:this,mode:"moved"}):o[0]!=n[0]&&a.push({el:n,mode:"added"},{el:o,mode:"removed"}),a.forEach(function(t){t.el.trigger("change.uk.sortable",[t.el,r,t.mode])})}},dragenterData:function(e,o){return e=t.$(e),1==arguments.length?parseInt(e.data("child-dragenter"),10)||0:(o?e.data("child-dragenter",Math.max(0,o)):e.removeData("child-dragenter"),void 0)},moveElementNextTo:function(e,n){l=!0;var a=this,s=t.$(e).parent().css("min-height",""),r=o(e,n)?n:n.nextSibling,i=s.children(),d=i.length;return a.options.animation?(s.css("min-height",s.height()),i.stop().each(function(){var e=t.$(this),o=e.position();o.width=e.width(),e.data("offset-before",o)}),n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(a.element.parent()),i=s.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),o=e.data("offset-before");e.css({position:"absolute",top:o.top,left:o.left,"min-width":o.width})}),i.each(function(){var e=t.$(this),o=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:o.top,left:o.left},a.options.animation,function(){e.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(a.options.overClass).removeData("child-dragenter"),d--,d||(s.css("min-height",""),t.Utils.checkDisplay(a.element.parent()))})},0)}),void 0):(n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(a.element.parent()),void 0)},serialize:function(){var e,o,n=[];return this.element.children().each(function(a,s){e={};for(var r=0;r<s.attributes.length;r++)o=s.attributes[r],0===o.name.indexOf("data-")&&(e[o.name.substr(5)]=t.Utils.str2json(o.value));n.push(e)}),n}}),t.sortable}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sticky.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sticky.js deleted file mode 100644 index a335a5ee8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sticky.js +++ /dev/null @@ -1,298 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-sticky", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var $win = UI.$win, - $doc = UI.$doc, - sticked = []; - - UI.component('sticky', { - - defaults: { - top : 0, - bottom : 0, - animation : '', - clsinit : 'uk-sticky-init', - clsactive : 'uk-active', - getWidthFrom : '', - boundary : false, - media : false, - target : false, - disabled : false - }, - - boot: function() { - - // should be more efficient than using $win.scroll(checkscrollposition): - UI.$doc.on('scrolling.uk.document', function() { checkscrollposition(); }); - UI.$win.on('resize orientationchange', UI.Utils.debounce(function() { - - if (!sticked.length) return; - - for (var i = 0; i < sticked.length; i++) { - sticked[i].reset(true); - sticked[i].self.computeWrapper(); - } - - checkscrollposition(); - }, 100)); - - // init code - UI.ready(function(context) { - - setTimeout(function(){ - - UI.$("[data-uk-sticky]", context).each(function(){ - - var $ele = UI.$(this); - - if(!$ele.data("sticky")) { - UI.sticky($ele, UI.Utils.options($ele.attr('data-uk-sticky'))); - } - }); - - checkscrollposition(); - }, 0); - }); - }, - - init: function() { - - var wrapper = UI.$('<div class="uk-sticky-placeholder"></div>'), boundary = this.options.boundary, boundtoparent; - - this.wrapper = this.element.css('margin', 0).wrap(wrapper).parent(); - - this.computeWrapper(); - - if (boundary) { - - if (boundary === true) { - - boundary = this.wrapper.parent(); - boundtoparent = true; - - } else if (typeof boundary === "string") { - boundary = UI.$(boundary); - } - } - - this.sticky = { - self : this, - options : this.options, - element : this.element, - currentTop : null, - wrapper : this.wrapper, - init : false, - getWidthFrom : this.options.getWidthFrom || this.wrapper, - boundary : boundary, - boundtoparent : boundtoparent, - reset : function(force) { - - var finalize = function() { - this.element.css({"position":"", "top":"", "width":"", "left":"", "margin":"0"}); - this.element.removeClass([this.options.animation, 'uk-animation-reverse', this.options.clsactive].join(' ')); - - this.currentTop = null; - this.animate = false; - }.bind(this); - - - if (!force && this.options.animation && UI.support.animation) { - - this.animate = true; - - this.element.removeClass(this.options.animation).one(UI.support.animation.end, function(){ - finalize(); - }).width(); // force redraw - - this.element.addClass(this.options.animation+' '+'uk-animation-reverse'); - } else { - finalize(); - } - }, - - check: function() { - - if (this.options.disabled) { - return false; - } - - if (this.options.media) { - - switch(typeof(this.options.media)) { - case 'number': - if (window.innerWidth < this.options.media) { - return false; - } - break; - case 'string': - if (window.matchMedia && !window.matchMedia(this.options.media).matches) { - return false; - } - break; - } - } - - var scrollTop = $win.scrollTop(), - documentHeight = $doc.height(), - dwh = documentHeight - window.innerHeight, - extra = (scrollTop > dwh) ? dwh - scrollTop : 0, - elementTop = this.wrapper.offset().top, - etse = elementTop - this.options.top - extra; - - return (scrollTop >= etse); - } - }; - - sticked.push(this.sticky); - }, - - update: function() { - checkscrollposition(this.sticky); - }, - - enable: function() { - this.options.disabled = false; - this.update(); - }, - - disable: function(force) { - this.options.disabled = true; - this.sticky.reset(force); - }, - - computeWrapper: function() { - - this.wrapper.css({ - 'height' : this.element.css('position') != 'absolute' ? this.element.outerHeight() : '', - 'float' : this.element.css("float") != "none" ? this.element.css("float") : '', - 'margin' : this.element.css("margin") - }); - } - }); - - function checkscrollposition() { - - var stickies = arguments.length ? arguments : sticked; - - if (!stickies.length || $win.scrollTop() < 0) return; - - var scrollTop = $win.scrollTop(), - documentHeight = $doc.height(), - windowHeight = $win.height(), - dwh = documentHeight - windowHeight, - extra = (scrollTop > dwh) ? dwh - scrollTop : 0, - newTop, containerBottom, stickyHeight, sticky; - - for (var i = 0; i < stickies.length; i++) { - - sticky = stickies[i]; - - if (!sticky.element.is(":visible") || sticky.animate) { - continue; - } - - if (!sticky.check()) { - - if (sticky.currentTop !== null) { - sticky.reset(); - } - - } else { - - if (sticky.options.top < 0) { - newTop = 0; - } else { - stickyHeight = sticky.element.outerHeight(); - newTop = documentHeight - stickyHeight - sticky.options.top - sticky.options.bottom - scrollTop - extra; - newTop = newTop < 0 ? newTop + sticky.options.top : sticky.options.top; - } - - if (sticky.boundary && sticky.boundary.length) { - - var bTop = sticky.boundary.position().top; - - if (sticky.boundtoparent) { - containerBottom = documentHeight - (bTop + sticky.boundary.outerHeight()) + parseInt(sticky.boundary.css('padding-bottom')); - } else { - containerBottom = documentHeight - bTop - parseInt(sticky.boundary.css('margin-top')); - } - - newTop = (scrollTop + stickyHeight) > (documentHeight - containerBottom - (sticky.options.top < 0 ? 0 : sticky.options.top)) ? (documentHeight - containerBottom) - (scrollTop + stickyHeight) : newTop; - } - - - if (sticky.currentTop != newTop) { - - sticky.element.css({ - "position" : "fixed", - "top" : newTop, - "width" : (typeof sticky.getWidthFrom !== 'undefined') ? UI.$(sticky.getWidthFrom).width() : sticky.element.width(), - "left" : sticky.wrapper.offset().left - }); - - if (!sticky.init) { - - sticky.element.addClass(sticky.options.clsinit); - - if (location.hash && scrollTop > 0 && sticky.options.target) { - - var $target = UI.$(location.hash); - - if ($target.length) { - - setTimeout((function($target, sticky){ - - return function() { - - sticky.element.width(); // force redraw - - var offset = $target.offset(), - maxoffset = offset.top + $target.outerHeight(), - stickyOffset = sticky.element.offset(), - stickyHeight = sticky.element.outerHeight(), - stickyMaxOffset = stickyOffset.top + stickyHeight; - - if (stickyOffset.top < maxoffset && offset.top < stickyMaxOffset) { - scrollTop = offset.top - stickyHeight - sticky.options.target; - window.scrollTo(0, scrollTop); - } - }; - - })($target, sticky), 0); - } - } - } - - sticky.element.addClass(sticky.options.clsactive); - sticky.element.css('margin', ''); - - if (sticky.options.animation && sticky.init) { - sticky.element.addClass(sticky.options.animation); - } - - sticky.currentTop = newTop; - } - } - - sticky.init = true; - } - } - - return UI.sticky; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sticky.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sticky.min.js deleted file mode 100644 index a0f318e2b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/sticky.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sticky",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(){var i=arguments.length?arguments:o;if(i.length&&!(e.scrollTop()<0))for(var s,a,r,p,h=e.scrollTop(),c=n.height(),l=e.height(),u=c-l,d=h>u?u-h:0,m=0;m<i.length;m++)if(p=i[m],p.element.is(":visible")&&!p.animate){if(p.check()){if(p.options.top<0?s=0:(r=p.element.outerHeight(),s=c-r-p.options.top-p.options.bottom-h-d,s=0>s?s+p.options.top:p.options.top),p.boundary&&p.boundary.length){var f=p.boundary.position().top;a=p.boundtoparent?c-(f+p.boundary.outerHeight())+parseInt(p.boundary.css("padding-bottom")):c-f-parseInt(p.boundary.css("margin-top")),s=h+r>c-a-(p.options.top<0?0:p.options.top)?c-a-(h+r):s}if(p.currentTop!=s){if(p.element.css({position:"fixed",top:s,width:"undefined"!=typeof p.getWidthFrom?t.$(p.getWidthFrom).width():p.element.width(),left:p.wrapper.offset().left}),!p.init&&(p.element.addClass(p.options.clsinit),location.hash&&h>0&&p.options.target)){var g=t.$(location.hash);g.length&&setTimeout(function(t,i){return function(){i.element.width();var e=t.offset(),n=e.top+t.outerHeight(),o=i.element.offset(),s=i.element.outerHeight(),a=o.top+s;o.top<n&&e.top<a&&(h=e.top-s-i.options.target,window.scrollTo(0,h))}}(g,p),0)}p.element.addClass(p.options.clsactive),p.element.css("margin",""),p.options.animation&&p.init&&p.element.addClass(p.options.animation),p.currentTop=s}}else null!==p.currentTop&&p.reset();p.init=!0}}var e=t.$win,n=t.$doc,o=[];return t.component("sticky",{defaults:{top:0,bottom:0,animation:"",clsinit:"uk-sticky-init",clsactive:"uk-active",getWidthFrom:"",boundary:!1,media:!1,target:!1,disabled:!1},boot:function(){t.$doc.on("scrolling.uk.document",function(){i()}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){if(o.length){for(var t=0;t<o.length;t++)o[t].reset(!0),o[t].self.computeWrapper();i()}},100)),t.ready(function(e){setTimeout(function(){t.$("[data-uk-sticky]",e).each(function(){var i=t.$(this);i.data("sticky")||t.sticky(i,t.Utils.options(i.attr("data-uk-sticky")))}),i()},0)})},init:function(){var i,s=t.$('<div class="uk-sticky-placeholder"></div>'),a=this.options.boundary;this.wrapper=this.element.css("margin",0).wrap(s).parent(),this.computeWrapper(),a&&(a===!0?(a=this.wrapper.parent(),i=!0):"string"==typeof a&&(a=t.$(a))),this.sticky={self:this,options:this.options,element:this.element,currentTop:null,wrapper:this.wrapper,init:!1,getWidthFrom:this.options.getWidthFrom||this.wrapper,boundary:a,boundtoparent:i,reset:function(i){var e=function(){this.element.css({position:"",top:"",width:"",left:"",margin:"0"}),this.element.removeClass([this.options.animation,"uk-animation-reverse",this.options.clsactive].join(" ")),this.currentTop=null,this.animate=!1}.bind(this);!i&&this.options.animation&&t.support.animation?(this.animate=!0,this.element.removeClass(this.options.animation).one(t.support.animation.end,function(){e()}).width(),this.element.addClass(this.options.animation+" uk-animation-reverse")):e()},check:function(){if(this.options.disabled)return!1;if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var t=e.scrollTop(),i=n.height(),o=i-window.innerHeight,s=t>o?o-t:0,a=this.wrapper.offset().top,r=a-this.options.top-s;return t>=r}},o.push(this.sticky)},update:function(){i(this.sticky)},enable:function(){this.options.disabled=!1,this.update()},disable:function(t){this.options.disabled=!0,this.sticky.reset(t)},computeWrapper:function(){this.wrapper.css({height:"absolute"!=this.element.css("position")?this.element.outerHeight():"","float":"none"!=this.element.css("float")?this.element.css("float"):"",margin:this.element.css("margin")})}}),t.sticky}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/timepicker.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/timepicker.js deleted file mode 100644 index 4f48c3ffe..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/timepicker.js +++ /dev/null @@ -1,192 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-search", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - - UI.component('timepicker', { - - defaults: { - format : '24h', - delay : 0, - start : 0, - end : 24 - }, - - boot: function() { - - // init code - UI.$html.on("focus.timepicker.uikit", "[data-uk-timepicker]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("timepicker")) { - var obj = UI.timepicker(ele, UI.Utils.options(ele.attr("data-uk-timepicker"))); - - setTimeout(function(){ - obj.autocomplete.input.focus(); - }, 40); - } - }); - }, - - init: function() { - - var $this = this, times = getTimeRange(this.options.start, this.options.end), container; - - this.options.minLength = 0; - this.options.template = '<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'; - - this.options.source = function(release) { - release(times[$this.options.format] || times['12h']); - }; - - if (this.element.is('input')) { - this.element.wrap('<div class="uk-autocomplete"></div>'); - container = this.element.parent(); - } else { - container = this.element.addClass('uk-autocomplete'); - } - - this.autocomplete = UI.autocomplete(container, this.options); - this.autocomplete.dropdown.addClass('uk-dropdown-small uk-dropdown-scrollable'); - - this.autocomplete.on('show.uk.autocomplete', function() { - - var selected = $this.autocomplete.dropdown.find('[data-value="'+$this.autocomplete.input.val()+'"]'); - - setTimeout(function(){ - $this.autocomplete.pick(selected, true); - }, 10); - }); - - this.autocomplete.input.on('focus', function(){ - - $this.autocomplete.value = Math.random(); - $this.autocomplete.triggercomplete(); - - }).on('blur', function() { - $this.checkTime(); - }); - - this.element.data("timepicker", this); - }, - - checkTime: function() { - - var arr, timeArray, meridian = 'AM', hour, minute, time = this.autocomplete.input.val(); - - if (this.options.format == '12h') { - arr = time.split(' '); - timeArray = arr[0].split(':'); - meridian = arr[1]; - } else { - timeArray = time.split(':'); - } - - hour = parseInt(timeArray[0], 10); - minute = parseInt(timeArray[1], 10); - - if (isNaN(hour)) hour = 0; - if (isNaN(minute)) minute = 0; - - if (this.options.format == '12h') { - if (hour > 12) { - hour = 12; - } else if (hour < 0) { - hour = 12; - } - - if (meridian === 'am' || meridian === 'a') { - meridian = 'AM'; - } else if (meridian === 'pm' || meridian === 'p') { - meridian = 'PM'; - } - - if (meridian !== 'AM' && meridian !== 'PM') { - meridian = 'AM'; - } - - } else { - - if (hour >= 24) { - hour = 23; - } else if (hour < 0) { - hour = 0; - } - } - - if (minute < 0) { - minute = 0; - } else if (minute >= 60) { - minute = 0; - } - - this.autocomplete.input.val(this.formatTime(hour, minute, meridian)).trigger('change'); - }, - - formatTime: function(hour, minute, meridian) { - hour = hour < 10 ? '0' + hour : hour; - minute = minute < 10 ? '0' + minute : minute; - return hour + ':' + minute + (this.options.format == '12h' ? ' ' + meridian : ''); - } - }); - - // helper - - function getTimeRange(start, end) { - - start = start || 0; - end = end || 24; - - var times = {'12h':[], '24h':[]}, i, h; - - for (i = start, h=''; i<end; i++) { - - h = ''+i; - - if (i<10) h = '0'+h; - - times['24h'].push({value: (h+':00')}); - times['24h'].push({value: (h+':30')}); - - if (i === 0) { - h = 12; - times['12h'].push({value: (h+':00 AM')}); - times['12h'].push({value: (h+':30 AM')}); - } - - if (i > 0 && i<13 && i!==12) { - times['12h'].push({value: (h+':00 AM')}); - times['12h'].push({value: (h+':30 AM')}); - } - - if (i >= 12) { - - h = h-12; - if (h === 0) h = 12; - if (h < 10) h = '0'+String(h); - - times['12h'].push({value: (h+':00 PM')}); - times['12h'].push({value: (h+':30 PM')}); - } - } - - return times; - } - -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/timepicker.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/timepicker.min.js deleted file mode 100644 index f11f4a8eb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/timepicker.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-search",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(t,e){t=t||0,e=e||24;var i,o,a={"12h":[],"24h":[]};for(i=t,o="";e>i;i++)o=""+i,10>i&&(o="0"+o),a["24h"].push({value:o+":00"}),a["24h"].push({value:o+":30"}),0===i&&(o=12,a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>0&&13>i&&12!==i&&(a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>=12&&(o-=12,0===o&&(o=12),10>o&&(o="0"+String(o)),a["12h"].push({value:o+":00 PM"}),a["12h"].push({value:o+":30 PM"}));return a}t.component("timepicker",{defaults:{format:"24h",delay:0,start:0,end:24},boot:function(){t.$html.on("focus.timepicker.uikit","[data-uk-timepicker]",function(){var e=t.$(this);if(!e.data("timepicker")){var i=t.timepicker(e,t.Utils.options(e.attr("data-uk-timepicker")));setTimeout(function(){i.autocomplete.input.focus()},40)}})},init:function(){var i,o=this,a=e(this.options.start,this.options.end);this.options.minLength=0,this.options.template='<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>',this.options.source=function(t){t(a[o.options.format]||a["12h"])},this.element.is("input")?(this.element.wrap('<div class="uk-autocomplete"></div>'),i=this.element.parent()):i=this.element.addClass("uk-autocomplete"),this.autocomplete=t.autocomplete(i,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-small uk-dropdown-scrollable"),this.autocomplete.on("show.uk.autocomplete",function(){var t=o.autocomplete.dropdown.find('[data-value="'+o.autocomplete.input.val()+'"]');setTimeout(function(){o.autocomplete.pick(t,!0)},10)}),this.autocomplete.input.on("focus",function(){o.autocomplete.value=Math.random(),o.autocomplete.triggercomplete()}).on("blur",function(){o.checkTime()}),this.element.data("timepicker",this)},checkTime:function(){var t,e,i,o,a="AM",u=this.autocomplete.input.val();"12h"==this.options.format?(t=u.split(" "),e=t[0].split(":"),a=t[1]):e=u.split(":"),i=parseInt(e[0],10),o=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(o)&&(o=0),"12h"==this.options.format?(i>12?i=12:0>i&&(i=12),"am"===a||"a"===a?a="AM":("pm"===a||"p"===a)&&(a="PM"),"AM"!==a&&"PM"!==a&&(a="AM")):i>=24?i=23:0>i&&(i=0),0>o?o=0:o>=60&&(o=0),this.autocomplete.input.val(this.formatTime(i,o,a)).trigger("change")},formatTime:function(t,e,i){return t=10>t?"0"+t:t,e=10>e?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/tooltip.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/tooltip.js deleted file mode 100644 index 8e704f78d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/tooltip.js +++ /dev/null @@ -1,234 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-tooltip", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - var $tooltip, // tooltip container - tooltipdelay, checkdelay; - - UI.component('tooltip', { - - defaults: { - "offset": 5, - "pos": "top", - "animation": false, - "delay": 0, // in miliseconds - "cls": "", - "activeClass": "uk-active", - "src": function(ele, title) { - - title = ele.attr('title'); - - if (title) { - ele.data('cached-title', title).removeAttr('title'); - } - - return ele.data("cached-title"); - } - }, - - tip: "", - - boot: function() { - - // init code - UI.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit", "[data-uk-tooltip]", function(e) { - var ele = UI.$(this); - - if (!ele.data("tooltip")) { - var obj = UI.tooltip(ele, UI.Utils.options(ele.attr("data-uk-tooltip"))); - ele.trigger("mouseenter"); - } - }); - }, - - init: function() { - - var $this = this; - - if (!$tooltip) { - $tooltip = UI.$('<div class="uk-tooltip"></div>').appendTo("body"); - } - - this.on({ - focus : function(e) { $this.show(); }, - blur : function(e) { $this.hide(); }, - mouseenter : function(e) { $this.show(); }, - mouseleave : function(e) { $this.hide(); } - }); - }, - - show: function() { - - this.tip = typeof(this.options.src) === "function" ? this.options.src(this.element) : this.options.src; - - if (tooltipdelay) clearTimeout(tooltipdelay); - if (checkdelay) clearTimeout(checkdelay); - if (!this.tip.length) return; - - $tooltip.stop().css({"top": -2000, "visibility": "hidden"}).removeClass(this.options.activeClass).show(); - $tooltip.html('<div class="uk-tooltip-inner">' + this.tip + '</div>'); - - var $this = this, - pos = UI.$.extend({}, this.element.offset(), {width: this.element[0].offsetWidth, height: this.element[0].offsetHeight}), - width = $tooltip[0].offsetWidth, - height = $tooltip[0].offsetHeight, - offset = typeof(this.options.offset) === "function" ? this.options.offset.call(this.element) : this.options.offset, - position = typeof(this.options.pos) === "function" ? this.options.pos.call(this.element) : this.options.pos, - tmppos = position.split("-"), - tcss = { - "display" : "none", - "visibility" : "visible", - "top" : (pos.top + pos.height + height), - "left" : pos.left - }; - - - // prevent strange position - // when tooltip is in offcanvas etc. - if (UI.$html.css('position')=='fixed' || UI.$body.css('position')=='fixed'){ - var bodyoffset = UI.$('body').offset(), - htmloffset = UI.$('html').offset(), - docoffset = {'top': (htmloffset.top + bodyoffset.top), 'left': (htmloffset.left + bodyoffset.left)}; - - pos.left -= docoffset.left; - pos.top -= docoffset.top; - } - - - if ((tmppos[0] == "left" || tmppos[0] == "right") && UI.langdirection == 'right') { - tmppos[0] = tmppos[0] == "left" ? "right" : "left"; - } - - var variants = { - "bottom" : {top: pos.top + pos.height + offset, left: pos.left + pos.width / 2 - width / 2}, - "top" : {top: pos.top - height - offset, left: pos.left + pos.width / 2 - width / 2}, - "left" : {top: pos.top + pos.height / 2 - height / 2, left: pos.left - width - offset}, - "right" : {top: pos.top + pos.height / 2 - height / 2, left: pos.left + pos.width + offset} - }; - - UI.$.extend(tcss, variants[tmppos[0]]); - - if (tmppos.length == 2) tcss.left = (tmppos[1] == 'left') ? (pos.left) : ((pos.left + pos.width) - width); - - var boundary = this.checkBoundary(tcss.left, tcss.top, width, height); - - if(boundary) { - - switch(boundary) { - case "x": - - if (tmppos.length == 2) { - position = tmppos[0]+"-"+(tcss.left < 0 ? "left": "right"); - } else { - position = tcss.left < 0 ? "right": "left"; - } - - break; - - case "y": - if (tmppos.length == 2) { - position = (tcss.top < 0 ? "bottom": "top")+"-"+tmppos[1]; - } else { - position = (tcss.top < 0 ? "bottom": "top"); - } - - break; - - case "xy": - if (tmppos.length == 2) { - position = (tcss.top < 0 ? "bottom": "top")+"-"+(tcss.left < 0 ? "left": "right"); - } else { - position = tcss.left < 0 ? "right": "left"; - } - - break; - - } - - tmppos = position.split("-"); - - UI.$.extend(tcss, variants[tmppos[0]]); - - if (tmppos.length == 2) tcss.left = (tmppos[1] == 'left') ? (pos.left) : ((pos.left + pos.width) - width); - } - - - tcss.left -= UI.$body.position().left; - - tooltipdelay = setTimeout(function(){ - - $tooltip.css(tcss).attr("class", ["uk-tooltip", "uk-tooltip-"+position, $this.options.cls].join(' ')); - - if ($this.options.animation) { - $tooltip.css({opacity: 0, display: 'block'}).addClass($this.options.activeClass).animate({opacity: 1}, parseInt($this.options.animation, 10) || 400); - } else { - $tooltip.show().addClass($this.options.activeClass); - } - - tooltipdelay = false; - - // close tooltip if element was removed or hidden - checkdelay = setInterval(function(){ - if(!$this.element.is(':visible')) $this.hide(); - }, 150); - - }, parseInt(this.options.delay, 10) || 0); - }, - - hide: function() { - if(this.element.is("input") && this.element[0]===document.activeElement) return; - - if(tooltipdelay) clearTimeout(tooltipdelay); - if (checkdelay) clearTimeout(checkdelay); - - $tooltip.stop(); - - if (this.options.animation) { - - var $this = this; - - $tooltip.fadeOut(parseInt(this.options.animation, 10) || 400, function(){ - $tooltip.removeClass($this.options.activeClass) - }); - - } else { - $tooltip.hide().removeClass(this.options.activeClass); - } - }, - - content: function() { - return this.tip; - }, - - checkBoundary: function(left, top, width, height) { - - var axis = ""; - - if(left < 0 || ((left - UI.$win.scrollLeft())+width) > window.innerWidth) { - axis += "x"; - } - - if(top < 0 || ((top - UI.$win.scrollTop())+height) > window.innerHeight) { - axis += "y"; - } - - return axis; - } - }); - - return UI.tooltip; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/tooltip.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/tooltip.min.js deleted file mode 100644 index 80a1f052b..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/tooltip.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-tooltip",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";var i,o,e;return t.component("tooltip",{defaults:{offset:5,pos:"top",animation:!1,delay:0,cls:"",activeClass:"uk-active",src:function(t,i){return i=t.attr("title"),i&&t.data("cached-title",i).removeAttr("title"),t.data("cached-title")}},tip:"",boot:function(){t.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit","[data-uk-tooltip]",function(){var i=t.$(this);if(!i.data("tooltip")){{t.tooltip(i,t.Utils.options(i.attr("data-uk-tooltip")))}i.trigger("mouseenter")}})},init:function(){var o=this;i||(i=t.$('<div class="uk-tooltip"></div>').appendTo("body")),this.on({focus:function(){o.show()},blur:function(){o.hide()},mouseenter:function(){o.show()},mouseleave:function(){o.hide()}})},show:function(){if(this.tip="function"==typeof this.options.src?this.options.src(this.element):this.options.src,o&&clearTimeout(o),e&&clearTimeout(e),this.tip.length){i.stop().css({top:-2e3,visibility:"hidden"}).removeClass(this.options.activeClass).show(),i.html('<div class="uk-tooltip-inner">'+this.tip+"</div>");var s=this,n=t.$.extend({},this.element.offset(),{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}),l=i[0].offsetWidth,f=i[0].offsetHeight,p="function"==typeof this.options.offset?this.options.offset.call(this.element):this.options.offset,a="function"==typeof this.options.pos?this.options.pos.call(this.element):this.options.pos,h=a.split("-"),c={display:"none",visibility:"visible",top:n.top+n.height+f,left:n.left};if("fixed"==t.$html.css("position")||"fixed"==t.$body.css("position")){var r=t.$("body").offset(),d=t.$("html").offset(),u={top:d.top+r.top,left:d.left+r.left};n.left-=u.left,n.top-=u.top}"left"!=h[0]&&"right"!=h[0]||"right"!=t.langdirection||(h[0]="left"==h[0]?"right":"left");var m={bottom:{top:n.top+n.height+p,left:n.left+n.width/2-l/2},top:{top:n.top-f-p,left:n.left+n.width/2-l/2},left:{top:n.top+n.height/2-f/2,left:n.left-l-p},right:{top:n.top+n.height/2-f/2,left:n.left+n.width+p}};t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l);var v=this.checkBoundary(c.left,c.top,l,f);if(v){switch(v){case"x":a=2==h.length?h[0]+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left";break;case"y":a=2==h.length?(c.top<0?"bottom":"top")+"-"+h[1]:c.top<0?"bottom":"top";break;case"xy":a=2==h.length?(c.top<0?"bottom":"top")+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left"}h=a.split("-"),t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l)}c.left-=t.$body.position().left,o=setTimeout(function(){i.css(c).attr("class",["uk-tooltip","uk-tooltip-"+a,s.options.cls].join(" ")),s.options.animation?i.css({opacity:0,display:"block"}).addClass(s.options.activeClass).animate({opacity:1},parseInt(s.options.animation,10)||400):i.show().addClass(s.options.activeClass),o=!1,e=setInterval(function(){s.element.is(":visible")||s.hide()},150)},parseInt(this.options.delay,10)||0)}},hide:function(){if(!this.element.is("input")||this.element[0]!==document.activeElement)if(o&&clearTimeout(o),e&&clearTimeout(e),i.stop(),this.options.animation){var t=this;i.fadeOut(parseInt(this.options.animation,10)||400,function(){i.removeClass(t.options.activeClass)})}else i.hide().removeClass(this.options.activeClass)},content:function(){return this.tip},checkBoundary:function(i,o,e,s){var n="";return(0>i||i-t.$win.scrollLeft()+e>window.innerWidth)&&(n+="x"),(0>o||o-t.$win.scrollTop()+s>window.innerHeight)&&(n+="y"),n}}),t.tooltip}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/upload.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/upload.js deleted file mode 100644 index 21699b012..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/upload.js +++ /dev/null @@ -1,256 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(addon) { - - var component; - - if (window.UIkit) { - component = addon(UIkit); - } - - if (typeof define == "function" && define.amd) { - define("uikit-upload", ["uikit"], function(){ - return component || addon(UIkit); - }); - } - -})(function(UI){ - - "use strict"; - - UI.component('uploadSelect', { - - init: function() { - - var $this = this; - - this.on("change", function() { - xhrupload($this.element[0].files, $this.options); - var twin = $this.element.clone(true).data('uploadSelect', $this); - $this.element.replaceWith(twin); - $this.element = twin; - }); - } - }); - - UI.component('uploadDrop', { - - defaults: { - 'dragoverClass': 'uk-dragover' - }, - - init: function() { - - var $this = this, hasdragCls = false; - - this.on("drop", function(e){ - - if (e.dataTransfer && e.dataTransfer.files) { - - e.stopPropagation(); - e.preventDefault(); - - $this.element.removeClass($this.options.dragoverClass); - $this.element.trigger('dropped.uk.upload', [e.dataTransfer.files]); - - xhrupload(e.dataTransfer.files, $this.options); - } - - }).on("dragenter", function(e){ - e.stopPropagation(); - e.preventDefault(); - }).on("dragover", function(e){ - e.stopPropagation(); - e.preventDefault(); - - if (!hasdragCls) { - $this.element.addClass($this.options.dragoverClass); - hasdragCls = true; - } - }).on("dragleave", function(e){ - e.stopPropagation(); - e.preventDefault(); - $this.element.removeClass($this.options.dragoverClass); - hasdragCls = false; - }); - } - }); - - - UI.support.ajaxupload = (function() { - - function supportFileAPI() { - var fi = document.createElement('INPUT'); fi.type = 'file'; return 'files' in fi; - } - - function supportAjaxUploadProgressEvents() { - var xhr = new XMLHttpRequest(); return !! (xhr && ('upload' in xhr) && ('onprogress' in xhr.upload)); - } - - function supportFormData() { - return !! window.FormData; - } - - return supportFileAPI() && supportAjaxUploadProgressEvents() && supportFormData(); - })(); - - if (UI.support.ajaxupload){ - UI.$.event.props.push("dataTransfer"); - } - - function xhrupload(files, settings) { - - if (!UI.support.ajaxupload){ - return this; - } - - settings = UI.$.extend({}, xhrupload.defaults, settings); - - if (!files.length){ - return; - } - - if (settings.allow !== '*.*') { - - for(var i=0,file;file=files[i];i++) { - - if(!matchName(settings.allow, file.name)) { - - if(typeof(settings.notallowed) == 'string') { - alert(settings.notallowed); - } else { - settings.notallowed(file, settings); - } - return; - } - } - } - - var complete = settings.complete; - - if (settings.single){ - - var count = files.length, - uploaded = 0, - allow = true; - - settings.beforeAll(files); - - settings.complete = function(response, xhr){ - - uploaded = uploaded + 1; - - complete(response, xhr); - - if (settings.filelimit && uploaded >= settings.filelimit){ - allow = false; - } - - if (allow && uploaded<count){ - upload([files[uploaded]], settings); - } else { - settings.allcomplete(response, xhr); - } - }; - - upload([files[0]], settings); - - } else { - - settings.complete = function(response, xhr){ - complete(response, xhr); - settings.allcomplete(response, xhr); - }; - - upload(files, settings); - } - - function upload(files, settings){ - - // upload all at once - var formData = new FormData(), xhr = new XMLHttpRequest(); - - if (settings.before(settings, files)===false) return; - - for (var i = 0, f; f = files[i]; i++) { formData.append(settings.param, f); } - for (var p in settings.params) { formData.append(p, settings.params[p]); } - - // Add any event handlers here... - xhr.upload.addEventListener("progress", function(e){ - var percent = (e.loaded / e.total)*100; - settings.progress(percent, e); - }, false); - - xhr.addEventListener("loadstart", function(e){ settings.loadstart(e); }, false); - xhr.addEventListener("load", function(e){ settings.load(e); }, false); - xhr.addEventListener("loadend", function(e){ settings.loadend(e); }, false); - xhr.addEventListener("error", function(e){ settings.error(e); }, false); - xhr.addEventListener("abort", function(e){ settings.abort(e); }, false); - - xhr.open(settings.method, settings.action, true); - - xhr.onreadystatechange = function() { - - settings.readystatechange(xhr); - - if (xhr.readyState==4){ - - var response = xhr.responseText; - - if (settings.type=="json") { - try { - response = UI.$.parseJSON(response); - } catch(e) { - response = false; - } - } - - settings.complete(response, xhr); - } - }; - settings.beforeSend(xhr); - xhr.send(formData); - } - } - - xhrupload.defaults = { - 'action': '', - 'single': true, - 'method': 'POST', - 'param' : 'files[]', - 'params': {}, - 'allow' : '*.*', - 'type' : 'text', - 'filelimit': false, - - // events - 'before' : function(o){}, - 'beforeSend' : function(xhr){}, - 'beforeAll' : function(){}, - 'loadstart' : function(){}, - 'load' : function(){}, - 'loadend' : function(){}, - 'error' : function(){}, - 'abort' : function(){}, - 'progress' : function(){}, - 'complete' : function(){}, - 'allcomplete' : function(){}, - 'readystatechange': function(){}, - 'notallowed' : function(file, settings){ alert('Only the following file types are allowed: '+settings.allow); } - }; - - function matchName(pattern, path) { - - var parsedPattern = '^' + pattern.replace(/\//g, '\\/'). - replace(/\*\*/g, '(\\/[^\\/]+)*'). - replace(/\*/g, '[^\\/]+'). - replace(/((?!\\))\?/g, '$1.') + '$'; - - parsedPattern = '^' + parsedPattern + '$'; - - return (path.match(new RegExp(parsedPattern, 'i')) !== null); - } - - UI.Utils.xhrupload = xhrupload; - - return xhrupload; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/upload.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/upload.min.js deleted file mode 100644 index e9b475957..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/components/upload.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(e){var t;window.UIkit&&(t=e(UIkit)),"function"==typeof define&&define.amd&&define("uikit-upload",["uikit"],function(){return t||e(UIkit)})}(function(e){"use strict";function t(o,a){function r(t,n){var o=new FormData,a=new XMLHttpRequest;if(n.before(n,t)!==!1){for(var r,l=0;r=t[l];l++)o.append(n.param,r);for(var i in n.params)o.append(i,n.params[i]);a.upload.addEventListener("progress",function(e){var t=e.loaded/e.total*100;n.progress(t,e)},!1),a.addEventListener("loadstart",function(e){n.loadstart(e)},!1),a.addEventListener("load",function(e){n.load(e)},!1),a.addEventListener("loadend",function(e){n.loadend(e)},!1),a.addEventListener("error",function(e){n.error(e)},!1),a.addEventListener("abort",function(e){n.abort(e)},!1),a.open(n.method,n.action,!0),a.onreadystatechange=function(){if(n.readystatechange(a),4==a.readyState){var t=a.responseText;if("json"==n.type)try{t=e.$.parseJSON(t)}catch(o){t=!1}n.complete(t,a)}},n.beforeSend(a),a.send(o)}}if(!e.support.ajaxupload)return this;if(a=e.$.extend({},t.defaults,a),o.length){if("*.*"!==a.allow)for(var l,i=0;l=o[i];i++)if(!n(a.allow,l.name))return"string"==typeof a.notallowed?alert(a.notallowed):a.notallowed(l,a),void 0;var f=a.complete;if(a.single){var d=o.length,s=0,p=!0;a.beforeAll(o),a.complete=function(e,t){s+=1,f(e,t),a.filelimit&&s>=a.filelimit&&(p=!1),p&&d>s?r([o[s]],a):a.allcomplete(e,t)},r([o[0]],a)}else a.complete=function(e,t){f(e,t),a.allcomplete(e,t)},r(o,a)}}function n(e,t){var n="^"+e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$";return n="^"+n+"$",null!==t.match(new RegExp(n,"i"))}return e.component("uploadSelect",{init:function(){var e=this;this.on("change",function(){t(e.element[0].files,e.options);var n=e.element.clone(!0).data("uploadSelect",e);e.element.replaceWith(n),e.element=n})}}),e.component("uploadDrop",{defaults:{dragoverClass:"uk-dragover"},init:function(){var e=this,n=!1;this.on("drop",function(n){n.dataTransfer&&n.dataTransfer.files&&(n.stopPropagation(),n.preventDefault(),e.element.removeClass(e.options.dragoverClass),e.element.trigger("dropped.uk.upload",[n.dataTransfer.files]),t(n.dataTransfer.files,e.options))}).on("dragenter",function(e){e.stopPropagation(),e.preventDefault()}).on("dragover",function(t){t.stopPropagation(),t.preventDefault(),n||(e.element.addClass(e.options.dragoverClass),n=!0)}).on("dragleave",function(t){t.stopPropagation(),t.preventDefault(),e.element.removeClass(e.options.dragoverClass),n=!1})}}),e.support.ajaxupload=function(){function e(){var e=document.createElement("INPUT");return e.type="file","files"in e}function t(){var e=new XMLHttpRequest;return!!(e&&"upload"in e&&"onprogress"in e.upload)}function n(){return!!window.FormData}return e()&&t()&&n()}(),e.support.ajaxupload&&e.$.event.props.push("dataTransfer"),t.defaults={action:"",single:!0,method:"POST",param:"files[]",params:{},allow:"*.*",type:"text",filelimit:!1,before:function(){},beforeSend:function(){},beforeAll:function(){},loadstart:function(){},load:function(){},loadend:function(){},error:function(){},abort:function(){},progress:function(){},complete:function(){},allcomplete:function(){},readystatechange:function(){},notallowed:function(e,t){alert("Only the following file types are allowed: "+t.allow)}},e.Utils.xhrupload=t,t}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/alert.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/alert.js deleted file mode 100644 index 25ea2adc9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/alert.js +++ /dev/null @@ -1,66 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('alert', { - - defaults: { - "fade": true, - "duration": 200, - "trigger": ".uk-alert-close" - }, - - boot: function() { - - // init code - UI.$html.on("click.alert.uikit", "[data-uk-alert]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("alert")) { - - var alert = UI.alert(ele, UI.Utils.options(ele.attr("data-uk-alert"))); - - if (UI.$(e.target).is(alert.options.trigger)) { - e.preventDefault(); - alert.close(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.on("click", this.options.trigger, function(e) { - e.preventDefault(); - $this.close(); - }); - }, - - close: function() { - - var element = this.trigger("close.uk.alert"), - removeElement = function () { - this.trigger("closed.uk.alert").remove(); - }.bind(this); - - if (this.options.fade) { - element.css("overflow", "hidden").css("max-height", element.height()).animate({ - "height" : 0, - "opacity" : 0, - "padding-top" : 0, - "padding-bottom" : 0, - "margin-top" : 0, - "margin-bottom" : 0 - }, this.options.duration, removeElement); - } else { - removeElement(); - } - } - - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/alert.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/alert.min.js deleted file mode 100644 index 224b4e15f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/alert.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(i){var o=t.$(this);if(!o.data("alert")){var e=t.alert(o,t.Utils.options(o.attr("data-uk-alert")));t.$(i.target).is(e.options.trigger)&&(i.preventDefault(),e.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(i){i.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),i=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,i):i()}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/button.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/button.js deleted file mode 100644 index 6256e551c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/button.js +++ /dev/null @@ -1,154 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('buttonRadio', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - // init code - UI.$html.on("click.buttonradio.uikit", "[data-uk-button-radio]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("buttonRadio")) { - - var obj = UI.buttonRadio(ele, UI.Utils.options(ele.attr("data-uk-button-radio"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - $this.find($this.options.target).not(ele).removeClass("uk-active").blur(); - ele.addClass("uk-active"); - - // Update ARIA - $this.find($this.options.target).not(ele).attr('aria-checked', 'false'); - ele.attr('aria-checked', 'true'); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - UI.component('buttonCheckbox', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - UI.$html.on("click.buttoncheckbox.uikit", "[data-uk-button-checkbox]", function(e) { - var ele = UI.$(this); - - if (!ele.data("buttonCheckbox")) { - - var obj = UI.buttonCheckbox(ele, UI.Utils.options(ele.attr("data-uk-button-checkbox"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - ele.toggleClass("uk-active").blur(); - - // Update ARIA - ele.attr('aria-checked', ele.hasClass("uk-active")); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - - UI.component('button', { - - defaults: {}, - - boot: function() { - - UI.$html.on("click.button.uikit", "[data-uk-button]", function(e) { - var ele = UI.$(this); - - if (!ele.data("button")) { - - var obj = UI.button(ele, UI.Utils.options(ele.attr("data-uk-button"))); - ele.trigger("click"); - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - - this.on("click", function(e) { - - if ($this.element.is('a[href="#"]')) e.preventDefault(); - - $this.toggle(); - $this.trigger("change.uk.button", [$this.element.blur().hasClass("uk-active")]); - }); - - }, - - toggle: function() { - this.element.toggleClass("uk-active"); - - // Update ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/button.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/button.min.js deleted file mode 100644 index bac71eec1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/button.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("buttonRadio",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(i){var e=t.$(this);if(!e.data("buttonRadio")){var a=t.buttonRadio(e,t.Utils.options(e.attr("data-uk-button-radio"))),n=t.$(i.target);n.is(a.options.target)&&n.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var a=t.$(this);a.is('a[href="#"]')&&e.preventDefault(),i.find(i.options.target).not(a).removeClass("uk-active").blur(),a.addClass("uk-active"),i.find(i.options.target).not(a).attr("aria-checked","false"),a.attr("aria-checked","true"),i.trigger("change.uk.button",[a])})},getSelected:function(){return this.find(".uk-active")}}),t.component("buttonCheckbox",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(i){var e=t.$(this);if(!e.data("buttonCheckbox")){var a=t.buttonCheckbox(e,t.Utils.options(e.attr("data-uk-button-checkbox"))),n=t.$(i.target);n.is(a.options.target)&&n.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var a=t.$(this);a.is('a[href="#"]')&&e.preventDefault(),a.toggleClass("uk-active").blur(),a.attr("aria-checked",a.hasClass("uk-active")),i.trigger("change.uk.button",[a])})},getSelected:function(){return this.find(".uk-active")}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(){var i=t.$(this);if(!i.data("button")){{t.button(i,t.Utils.options(i.attr("data-uk-button")))}i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/core.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/core.js deleted file mode 100644 index 096ff4941..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/core.js +++ /dev/null @@ -1,722 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(core) { - - if (typeof define == "function" && define.amd) { // AMD - - define("uikit", function(){ - - var uikit = window.UIkit || core(window, window.jQuery, window.document); - - uikit.load = function(res, req, onload, config) { - - var resources = res.split(','), load = [], i, base = (config.config && config.config.uikit && config.config.uikit.base ? config.config.uikit.base : "").replace(/\/+$/g, ""); - - if (!base) { - throw new Error( "Please define base path to UIkit in the requirejs config." ); - } - - for (i = 0; i < resources.length; i += 1) { - var resource = resources[i].replace(/\./g, '/'); - load.push(base+'/components/'+resource); - } - - req(load, function() { - onload(uikit); - }); - }; - - return uikit; - }); - } - - if (!window.jQuery) { - throw new Error( "UIkit requires jQuery" ); - } - - if (window && window.jQuery) { - core(window, window.jQuery, window.document); - } - - -})(function(global, $, doc) { - - "use strict"; - - var UI = {}, _UI = global.UIkit ? Object.create(global.UIkit) : undefined; - - UI.version = '2.21.0'; - - UI.noConflict = function() { - // restore UIkit version - if (_UI) { - global.UIkit = _UI; - $.UIkit = _UI; - $.fn.uk = _UI.fn; - } - - return UI; - }; - - UI.prefix = function(str) { - return str; - }; - - // cache jQuery - UI.$ = $; - - UI.$doc = UI.$(document); - UI.$win = UI.$(window); - UI.$html = UI.$('html'); - - UI.support = {}; - UI.support.transition = (function() { - - var transitionEnd = (function() { - - var element = doc.body || doc.documentElement, - transEndEventNames = { - WebkitTransition : 'webkitTransitionEnd', - MozTransition : 'transitionend', - OTransition : 'oTransitionEnd otransitionend', - transition : 'transitionend' - }, name; - - for (name in transEndEventNames) { - if (element.style[name] !== undefined) return transEndEventNames[name]; - } - }()); - - return transitionEnd && { end: transitionEnd }; - })(); - - UI.support.animation = (function() { - - var animationEnd = (function() { - - var element = doc.body || doc.documentElement, - animEndEventNames = { - WebkitAnimation : 'webkitAnimationEnd', - MozAnimation : 'animationend', - OAnimation : 'oAnimationEnd oanimationend', - animation : 'animationend' - }, name; - - for (name in animEndEventNames) { - if (element.style[name] !== undefined) return animEndEventNames[name]; - } - }()); - - return animationEnd && { end: animationEnd }; - })(); - - // requestAnimationFrame polyfill - // https://gist.github.com/paulirish/1579671 - (function(){ - - var lastTime = 0; - - global.requestAnimationFrame = global.requestAnimationFrame || global.webkitRequestAnimationFrame || function(callback, element) { - var currTime = new Date().getTime(); - var timeToCall = Math.max(0, 16 - (currTime - lastTime)); - var id = global.setTimeout(function() { callback(currTime + timeToCall); }, timeToCall); - lastTime = currTime + timeToCall; - return id; - }; - - if (!global.cancelAnimationFrame) { - - global.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - } - - })(); - - UI.support.touch = ( - ('ontouchstart' in document) || - (global.DocumentTouch && document instanceof global.DocumentTouch) || - (global.navigator.msPointerEnabled && global.navigator.msMaxTouchPoints > 0) || //IE 10 - (global.navigator.pointerEnabled && global.navigator.maxTouchPoints > 0) || //IE >=11 - false - ); - - UI.support.mutationobserver = (global.MutationObserver || global.WebKitMutationObserver || null); - - UI.Utils = {}; - - UI.Utils.isFullscreen = function() { - return document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement || document.fullscreenElement || false; - }; - - UI.Utils.str2json = function(str, notevil) { - try { - if (notevil) { - return JSON.parse(str - // wrap keys without quote with valid double quote - .replace(/([\$\w]+)\s*:/g, function(_, $1){return '"'+$1+'":';}) - // replacing single quote wrapped ones to double quote - .replace(/'([^']+)'/g, function(_, $1){return '"'+$1+'"';}) - ); - } else { - return (new Function("", "var json = " + str + "; return JSON.parse(JSON.stringify(json));"))(); - } - } catch(e) { return false; } - }; - - UI.Utils.debounce = function(func, wait, immediate) { - var timeout; - return function() { - var context = this, args = arguments; - var later = function() { - timeout = null; - if (!immediate) func.apply(context, args); - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); - }; - }; - - UI.Utils.removeCssRules = function(selectorRegEx) { - var idx, idxs, stylesheet, _i, _j, _k, _len, _len1, _len2, _ref; - - if(!selectorRegEx) return; - - setTimeout(function(){ - try { - _ref = document.styleSheets; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - stylesheet = _ref[_i]; - idxs = []; - stylesheet.cssRules = stylesheet.cssRules; - for (idx = _j = 0, _len1 = stylesheet.cssRules.length; _j < _len1; idx = ++_j) { - if (stylesheet.cssRules[idx].type === CSSRule.STYLE_RULE && selectorRegEx.test(stylesheet.cssRules[idx].selectorText)) { - idxs.unshift(idx); - } - } - for (_k = 0, _len2 = idxs.length; _k < _len2; _k++) { - stylesheet.deleteRule(idxs[_k]); - } - } - } catch (_error) {} - }, 0); - }; - - UI.Utils.isInView = function(element, options) { - - var $element = $(element); - - if (!$element.is(':visible')) { - return false; - } - - var window_left = UI.$win.scrollLeft(), window_top = UI.$win.scrollTop(), offset = $element.offset(), left = offset.left, top = offset.top; - - options = $.extend({topoffset:0, leftoffset:0}, options); - - if (top + $element.height() >= window_top && top - options.topoffset <= window_top + UI.$win.height() && - left + $element.width() >= window_left && left - options.leftoffset <= window_left + UI.$win.width()) { - return true; - } else { - return false; - } - }; - - UI.Utils.checkDisplay = function(context, initanimation) { - - var elements = UI.$('[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]', context || document), animated; - - if (context && !elements.length) { - elements = $(context); - } - - elements.trigger('display.uk.check'); - - // fix firefox / IE animations - if (initanimation) { - - if (typeof(initanimation)!='string') { - initanimation = '[class*="uk-animation-"]'; - } - - elements.find(initanimation).each(function(){ - - var ele = UI.$(this), - cls = ele.attr('class'), - anim = cls.match(/uk\-animation\-(.+)/); - - ele.removeClass(anim[0]).width(); - - ele.addClass(anim[0]); - }); - } - - return elements; - }; - - UI.Utils.options = function(string) { - - if ($.isPlainObject(string)) return string; - - var start = (string ? string.indexOf("{") : -1), options = {}; - - if (start != -1) { - try { - options = UI.Utils.str2json(string.substr(start)); - } catch (e) {} - } - - return options; - }; - - UI.Utils.animate = function(element, cls) { - - var d = $.Deferred(); - - element = UI.$(element); - cls = cls; - - element.css('display', 'none').addClass(cls).one(UI.support.animation.end, function() { - element.removeClass(cls); - d.resolve(); - }).width(); - - element.css('display', ''); - - return d.promise(); - }; - - UI.Utils.uid = function(prefix) { - return (prefix || 'id') + (new Date().getTime())+"RAND"+(Math.ceil(Math.random() * 100000)); - }; - - UI.Utils.template = function(str, data) { - - var tokens = str.replace(/\n/g, '\\n').replace(/\{\{\{\s*(.+?)\s*\}\}\}/g, "{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g), - i=0, toc, cmd, prop, val, fn, output = [], openblocks = 0; - - while(i < tokens.length) { - - toc = tokens[i]; - - if(toc.match(/\{\{\s*(.+?)\s*\}\}/)) { - i = i + 1; - toc = tokens[i]; - cmd = toc[0]; - prop = toc.substring(toc.match(/^(\^|\#|\!|\~|\:)/) ? 1:0); - - switch(cmd) { - case '~': - output.push("for(var $i=0;$i<"+prop+".length;$i++) { var $item = "+prop+"[$i];"); - openblocks++; - break; - case ':': - output.push("for(var $key in "+prop+") { var $val = "+prop+"[$key];"); - openblocks++; - break; - case '#': - output.push("if("+prop+") {"); - openblocks++; - break; - case '^': - output.push("if(!"+prop+") {"); - openblocks++; - break; - case '/': - output.push("}"); - openblocks--; - break; - case '!': - output.push("__ret.push("+prop+");"); - break; - default: - output.push("__ret.push(escape("+prop+"));"); - break; - } - } else { - output.push("__ret.push('"+toc.replace(/\'/g, "\\'")+"');"); - } - i = i + 1; - } - - fn = new Function('$data', [ - 'var __ret = [];', - 'try {', - 'with($data){', (!openblocks ? output.join('') : '__ret = ["Not all blocks are closed correctly."]'), '};', - '}catch(e){__ret = [e.message];}', - 'return __ret.join("").replace(/\\n\\n/g, "\\n");', - "function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}" - ].join("\n")); - - return data ? fn(data) : fn; - }; - - UI.Utils.events = {}; - UI.Utils.events.click = UI.support.touch ? 'tap' : 'click'; - - global.UIkit = UI; - - // deprecated - - UI.fn = function(command, options) { - - var args = arguments, cmd = command.match(/^([a-z\-]+)(?:\.([a-z]+))?/i), component = cmd[1], method = cmd[2]; - - if (!UI[component]) { - $.error("UIkit component [" + component + "] does not exist."); - return this; - } - - return this.each(function() { - var $this = $(this), data = $this.data(component); - if (!data) $this.data(component, (data = UI[component](this, method ? undefined : options))); - if (method) data[method].apply(data, Array.prototype.slice.call(args, 1)); - }); - }; - - $.UIkit = UI; - $.fn.uk = UI.fn; - - UI.langdirection = UI.$html.attr("dir") == "rtl" ? "right" : "left"; - - UI.components = {}; - - UI.component = function(name, def) { - - var fn = function(element, options) { - - var $this = this; - - this.UIkit = UI; - this.element = element ? UI.$(element) : null; - this.options = $.extend(true, {}, this.defaults, options); - this.plugins = {}; - - if (this.element) { - this.element.data(name, this); - } - - this.init(); - - (this.options.plugins.length ? this.options.plugins : Object.keys(fn.plugins)).forEach(function(plugin) { - - if (fn.plugins[plugin].init) { - fn.plugins[plugin].init($this); - $this.plugins[plugin] = true; - } - - }); - - this.trigger('init.uk.component', [name, this]); - - return this; - }; - - fn.plugins = {}; - - $.extend(true, fn.prototype, { - - defaults : {plugins: []}, - - boot: function(){}, - init: function(){}, - - on: function(a1,a2,a3){ - return UI.$(this.element || this).on(a1,a2,a3); - }, - - one: function(a1,a2,a3){ - return UI.$(this.element || this).one(a1,a2,a3); - }, - - off: function(evt){ - return UI.$(this.element || this).off(evt); - }, - - trigger: function(evt, params) { - return UI.$(this.element || this).trigger(evt, params); - }, - - find: function(selector) { - return UI.$(this.element ? this.element: []).find(selector); - }, - - proxy: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = function() { return obj[method].apply(obj, arguments); }; - }); - }, - - mixin: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = obj[method].bind($this); - }); - }, - - option: function() { - - if (arguments.length == 1) { - return this.options[arguments[0]] || undefined; - } else if (arguments.length == 2) { - this.options[arguments[0]] = arguments[1]; - } - } - - }, def); - - this.components[name] = fn; - - this[name] = function() { - - var element, options; - - if (arguments.length) { - - switch(arguments.length) { - case 1: - - if (typeof arguments[0] === "string" || arguments[0].nodeType || arguments[0] instanceof jQuery) { - element = $(arguments[0]); - } else { - options = arguments[0]; - } - - break; - case 2: - - element = $(arguments[0]); - options = arguments[1]; - break; - } - } - - if (element && element.data(name)) { - return element.data(name); - } - - return (new UI.components[name](element, options)); - }; - - if (UI.domready) { - UI.component.boot(name); - } - - return fn; - }; - - UI.plugin = function(component, name, def) { - this.components[component].plugins[name] = def; - }; - - UI.component.boot = function(name) { - - if (UI.components[name].prototype && UI.components[name].prototype.boot && !UI.components[name].booted) { - UI.components[name].prototype.boot.apply(UI, []); - UI.components[name].booted = true; - } - }; - - UI.component.bootComponents = function() { - - for (var component in UI.components) { - UI.component.boot(component); - } - }; - - - // DOM mutation save ready helper function - - UI.domObservers = []; - UI.domready = false; - - UI.ready = function(fn) { - - UI.domObservers.push(fn); - - if (UI.domready) { - fn(document); - } - }; - - UI.on = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - } - - return UI.$doc.on(a1,a2,a3); - }; - - UI.one = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - return UI.$doc; - } - - return UI.$doc.one(a1,a2,a3); - }; - - UI.trigger = function(evt, params) { - return UI.$doc.trigger(evt, params); - }; - - UI.domObserve = function(selector, fn) { - - if(!UI.support.mutationobserver) return; - - fn = fn || function() {}; - - UI.$(selector).each(function() { - - var element = this, - $element = UI.$(element); - - if ($element.data('observer')) { - return; - } - - try { - - var observer = new UI.support.mutationobserver(UI.Utils.debounce(function(mutations) { - fn.apply(element, []); - $element.trigger('changed.uk.dom'); - }, 50)); - - // pass in the target node, as well as the observer options - observer.observe(element, { childList: true, subtree: true }); - - $element.data('observer', observer); - - } catch(e) {} - }); - }; - - UI.init = function(root) { - - root = root || document; - - UI.domObservers.forEach(function(fn){ - fn(root); - }); - }; - - UI.on('domready.uk.dom', function(){ - - UI.init(); - - if (UI.domready) UI.Utils.checkDisplay(); - }); - - $(function(){ - - UI.$body = UI.$('body'); - - UI.ready(function(context){ - UI.domObserve('[data-uk-observe]'); - }); - - UI.on('changed.uk.dom', function(e) { - UI.init(e.target); - UI.Utils.checkDisplay(e.target); - }); - - UI.trigger('beforeready.uk.dom'); - - UI.component.bootComponents(); - - // custom scroll observer - setInterval((function(){ - - var memory = {x: window.pageXOffset, y:window.pageYOffset}, dir; - - var fn = function(){ - - if (memory.x != window.pageXOffset || memory.y != window.pageYOffset) { - - dir = {x: 0 , y: 0}; - - if (window.pageXOffset != memory.x) dir.x = window.pageXOffset > memory.x ? 1:-1; - if (window.pageYOffset != memory.y) dir.y = window.pageYOffset > memory.y ? 1:-1; - - memory = { - "dir": dir, "x": window.pageXOffset, "y": window.pageYOffset - }; - - UI.$doc.trigger('scrolling.uk.document', [memory]); - } - }; - - if (UI.support.touch) { - UI.$html.on('touchmove touchend MSPointerMove MSPointerUp pointermove pointerup', fn); - } - - if (memory.x || memory.y) fn(); - - return fn; - - })(), 15); - - // run component init functions on dom - UI.trigger('domready.uk.dom'); - - if (UI.support.touch) { - - // remove css hover rules for touch devices - // UI.Utils.removeCssRules(/\.uk-(?!navbar).*:hover/); - - // viewport unit fix for uk-height-viewport - should be fixed in iOS 8 - if (navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) { - - UI.$win.on('load orientationchange resize', UI.Utils.debounce((function(){ - - var fn = function() { - $('.uk-height-viewport').css('height', window.innerHeight); - return fn; - }; - - return fn(); - - })(), 100)); - } - } - - UI.trigger('afterready.uk.dom'); - - // mark that domready is left behind - UI.domready = true; - }); - - // add touch identifier class - UI.$html.addClass(UI.support.touch ? "uk-touch" : "uk-notouch"); - - // add uk-hover class on tap to support overlays on touch devices - if (UI.support.touch) { - - var hoverset = false, exclude, hovercls = 'uk-hover', selector = '.uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover'; - - UI.$html.on('touchstart MSPointerDown pointerdown', selector, function() { - - if (hoverset) $('.'+hovercls).removeClass(hovercls); - - hoverset = $(this).addClass(hovercls); - - }).on('touchend MSPointerUp pointerup', function(e) { - - exclude = $(e.target).parents(selector); - - if (hoverset) { - hoverset.not(exclude).removeClass(hovercls); - } - }); - } - - return UI; -}); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/core.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/core.min.js deleted file mode 100644 index 42c051f05..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/core.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){if("function"==typeof define&&define.amd&&define("uikit",function(){var n=window.UIkit||t(window,window.jQuery,window.document);return n.load=function(t,e,o,i){var r,s=t.split(","),a=[],u=(i.config&&i.config.uikit&&i.config.uikit.base?i.config.uikit.base:"").replace(/\/+$/g,"");if(!u)throw new Error("Please define base path to UIkit in the requirejs config.");for(r=0;r<s.length;r+=1){var c=s[r].replace(/\./g,"/");a.push(u+"/components/"+c)}e(a,function(){o(n)})},n}),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&t(window,window.jQuery,window.document)}(function(t,n,e){"use strict";var o={},i=t.UIkit?Object.create(t.UIkit):void 0;if(o.version="2.21.0",o.noConflict=function(){return i&&(t.UIkit=i,n.UIkit=i,n.fn.uk=i.fn),o},o.prefix=function(t){return t},o.$=n,o.$doc=o.$(document),o.$win=o.$(window),o.$html=o.$("html"),o.support={},o.support.transition=function(){var t=function(){var t,n=e.body||e.documentElement,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in o)if(void 0!==n.style[t])return o[t]}();return t&&{end:t}}(),o.support.animation=function(){var t=function(){var t,n=e.body||e.documentElement,o={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in o)if(void 0!==n.style[t])return o[t]}();return t&&{end:t}}(),function(){var n=0;t.requestAnimationFrame=t.requestAnimationFrame||t.webkitRequestAnimationFrame||function(e){var o=(new Date).getTime(),i=Math.max(0,16-(o-n)),r=t.setTimeout(function(){e(o+i)},i);return n=o+i,r},t.cancelAnimationFrame||(t.cancelAnimationFrame=function(t){clearTimeout(t)})}(),o.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,o.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,o.Utils={},o.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},o.Utils.str2json=function(t,n){try{return n?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,n){return'"'+n+'":'}).replace(/'([^']+)'/g,function(t,n){return'"'+n+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(e){return!1}},o.Utils.debounce=function(t,n,e){var o;return function(){var i=this,r=arguments,s=function(){o=null,e||t.apply(i,r)},a=e&&!o;clearTimeout(o),o=setTimeout(s,n),a&&t.apply(i,r)}},o.Utils.removeCssRules=function(t){var n,e,o,i,r,s,a,u,c,d;t&&setTimeout(function(){try{for(d=document.styleSheets,i=0,a=d.length;a>i;i++){for(o=d[i],e=[],o.cssRules=o.cssRules,n=r=0,u=o.cssRules.length;u>r;n=++r)o.cssRules[n].type===CSSRule.STYLE_RULE&&t.test(o.cssRules[n].selectorText)&&e.unshift(n);for(s=0,c=e.length;c>s;s++)o.deleteRule(e[s])}}catch(l){}},0)},o.Utils.isInView=function(t,e){var i=n(t);if(!i.is(":visible"))return!1;var r=o.$win.scrollLeft(),s=o.$win.scrollTop(),a=i.offset(),u=a.left,c=a.top;return e=n.extend({topoffset:0,leftoffset:0},e),c+i.height()>=s&&c-e.topoffset<=s+o.$win.height()&&u+i.width()>=r&&u-e.leftoffset<=r+o.$win.width()?!0:!1},o.Utils.checkDisplay=function(t,e){var i=o.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!i.length&&(i=n(t)),i.trigger("display.uk.check"),e&&("string"!=typeof e&&(e='[class*="uk-animation-"]'),i.find(e).each(function(){var t=o.$(this),n=t.attr("class"),e=n.match(/uk\-animation\-(.+)/);t.removeClass(e[0]).width(),t.addClass(e[0])})),i},o.Utils.options=function(t){if(n.isPlainObject(t))return t;var e=t?t.indexOf("{"):-1,i={};if(-1!=e)try{i=o.Utils.str2json(t.substr(e))}catch(r){}return i},o.Utils.animate=function(t,e){var i=n.Deferred();return t=o.$(t),e=e,t.css("display","none").addClass(e).one(o.support.animation.end,function(){t.removeClass(e),i.resolve()}).width(),t.css("display",""),i.promise()},o.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},o.Utils.template=function(t,n){for(var e,o,i,r,s=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),a=0,u=[],c=0;a<s.length;){if(e=s[a],e.match(/\{\{\s*(.+?)\s*\}\}/))switch(a+=1,e=s[a],o=e[0],i=e.substring(e.match(/^(\^|\#|\!|\~|\:)/)?1:0),o){case"~":u.push("for(var $i=0;$i<"+i+".length;$i++) { var $item = "+i+"[$i];"),c++;break;case":":u.push("for(var $key in "+i+") { var $val = "+i+"[$key];"),c++;break;case"#":u.push("if("+i+") {"),c++;break;case"^":u.push("if(!"+i+") {"),c++;break;case"/":u.push("}"),c--;break;case"!":u.push("__ret.push("+i+");");break;default:u.push("__ret.push(escape("+i+"));")}else u.push("__ret.push('"+e.replace(/\'/g,"\\'")+"');");a+=1}return r=new Function("$data",["var __ret = [];","try {","with($data){",c?'__ret = ["Not all blocks are closed correctly."]':u.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}"].join("\n")),n?r(n):r},o.Utils.events={},o.Utils.events.click=o.support.touch?"tap":"click",t.UIkit=o,o.fn=function(t,e){var i=arguments,r=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),s=r[1],a=r[2];return o[s]?this.each(function(){var t=n(this),r=t.data(s);r||t.data(s,r=o[s](this,a?void 0:e)),a&&r[a].apply(r,Array.prototype.slice.call(i,1))}):(n.error("UIkit component ["+s+"] does not exist."),this)},n.UIkit=o,n.fn.uk=o.fn,o.langdirection="rtl"==o.$html.attr("dir")?"right":"left",o.components={},o.component=function(t,e){var i=function(e,r){var s=this;return this.UIkit=o,this.element=e?o.$(e):null,this.options=n.extend(!0,{},this.defaults,r),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(i.plugins)).forEach(function(t){i.plugins[t].init&&(i.plugins[t].init(s),s.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return i.plugins={},n.extend(!0,i.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,n,e){return o.$(this.element||this).on(t,n,e)},one:function(t,n,e){return o.$(this.element||this).one(t,n,e)},off:function(t){return o.$(this.element||this).off(t)},trigger:function(t,n){return o.$(this.element||this).trigger(t,n)},find:function(t){return o.$(this.element?this.element:[]).find(t)},proxy:function(t,n){var e=this;n.split(" ").forEach(function(n){e[n]||(e[n]=function(){return t[n].apply(t,arguments)})})},mixin:function(t,n){var e=this;n.split(" ").forEach(function(n){e[n]||(e[n]=t[n].bind(e))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:(2==arguments.length&&(this.options[arguments[0]]=arguments[1]),void 0)}},e),this.components[t]=i,this[t]=function(){var e,i;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?e=n(arguments[0]):i=arguments[0];break;case 2:e=n(arguments[0]),i=arguments[1]}return e&&e.data(t)?e.data(t):new o.components[t](e,i)},o.domready&&o.component.boot(t),i},o.plugin=function(t,n,e){this.components[t].plugins[n]=e},o.component.boot=function(t){o.components[t].prototype&&o.components[t].prototype.boot&&!o.components[t].booted&&(o.components[t].prototype.boot.apply(o,[]),o.components[t].booted=!0)},o.component.bootComponents=function(){for(var t in o.components)o.component.boot(t)},o.domObservers=[],o.domready=!1,o.ready=function(t){o.domObservers.push(t),o.domready&&t(document)},o.on=function(t,n,e){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready&&n.apply(o.$doc),o.$doc.on(t,n,e)},o.one=function(t,n,e){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready?(n.apply(o.$doc),o.$doc):o.$doc.one(t,n,e)},o.trigger=function(t,n){return o.$doc.trigger(t,n)},o.domObserve=function(t,n){o.support.mutationobserver&&(n=n||function(){},o.$(t).each(function(){var t=this,e=o.$(t);if(!e.data("observer"))try{var i=new o.support.mutationobserver(o.Utils.debounce(function(){n.apply(t,[]),e.trigger("changed.uk.dom")},50));i.observe(t,{childList:!0,subtree:!0}),e.data("observer",i)}catch(r){}}))},o.init=function(t){t=t||document,o.domObservers.forEach(function(n){n(t)})},o.on("domready.uk.dom",function(){o.init(),o.domready&&o.Utils.checkDisplay()}),n(function(){o.$body=o.$("body"),o.ready(function(){o.domObserve("[data-uk-observe]")}),o.on("changed.uk.dom",function(t){o.init(t.target),o.Utils.checkDisplay(t.target)}),o.trigger("beforeready.uk.dom"),o.component.bootComponents(),setInterval(function(){var t,n={x:window.pageXOffset,y:window.pageYOffset},e=function(){(n.x!=window.pageXOffset||n.y!=window.pageYOffset)&&(t={x:0,y:0},window.pageXOffset!=n.x&&(t.x=window.pageXOffset>n.x?1:-1),window.pageYOffset!=n.y&&(t.y=window.pageYOffset>n.y?1:-1),n={dir:t,x:window.pageXOffset,y:window.pageYOffset},o.$doc.trigger("scrolling.uk.document",[n]))};return o.support.touch&&o.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",e),(n.x||n.y)&&e(),e}(),15),o.trigger("domready.uk.dom"),o.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&o.$win.on("load orientationchange resize",o.Utils.debounce(function(){var t=function(){return n(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),o.trigger("afterready.uk.dom"),o.domready=!0}),o.$html.addClass(o.support.touch?"uk-touch":"uk-notouch"),o.support.touch){var r,s=!1,a="uk-hover",u=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";o.$html.on("touchstart MSPointerDown pointerdown",u,function(){s&&n("."+a).removeClass(a),s=n(this).addClass(a)}).on("touchend MSPointerUp pointerup",function(t){r=n(t.target).parents(u),s&&s.not(r).removeClass(a)})}return o}); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/cover.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/cover.js deleted file mode 100644 index a505b78a8..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/cover.js +++ /dev/null @@ -1,95 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI){ - - "use strict"; - - UI.component('cover', { - - defaults: { - automute : true - }, - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-cover]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("cover")) { - var plugin = UI.cover(ele, UI.Utils.options(ele.attr("data-uk-cover"))); - } - }); - }); - }, - - init: function() { - - this.parent = this.element.parent(); - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ - this.check(); - }.bind(this), 100)); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.check(); - }.bind(this)); - - this.check(); - - if (this.element.is('iframe') && this.options.automute) { - - var src = this.element.attr('src'); - - this.element.attr('src', '').on('load', function(){ - - this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); - - }).attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1'].join('')); - } - }, - - check: function() { - - this.element.css({ - 'width' : '', - 'height' : '' - }); - - this.dimension = {w: this.element.width(), h: this.element.height()}; - - if (this.element.attr('width') && !isNaN(this.element.attr('width'))) { - this.dimension.w = this.element.attr('width'); - } - - if (this.element.attr('height') && !isNaN(this.element.attr('height'))) { - this.dimension.h = this.element.attr('height'); - } - - this.ratio = this.dimension.w / this.dimension.h; - - var w = this.parent.width(), h = this.parent.height(), width, height; - - // if element height < parent height (gap underneath) - if ((w / this.ratio) < h) { - - width = Math.ceil(h * this.ratio); - height = h; - - // element width < parent width (gap to right) - } else { - - width = w; - height = Math.ceil(w / this.ratio); - } - - this.element.css({ - 'width' : width, - 'height' : height - }); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/cover.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/cover.min.js deleted file mode 100644 index 70bdffd39..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/cover.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("cover",{defaults:{automute:!0},boot:function(){t.ready(function(i){t.$("[data-uk-cover]",i).each(function(){var i=t.$(this);if(!i.data("cover")){t.cover(i,t.Utils.options(i.attr("data-uk-cover")))}})})},init:function(){if(this.parent=this.element.parent(),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){this.check()}.bind(this),100)),this.on("display.uk.check",function(){this.element.is(":visible")&&this.check()}.bind(this)),this.check(),this.element.is("iframe")&&this.options.automute){var i=this.element.attr("src");this.element.attr("src","").on("load",function(){this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}).attr("src",[i,i.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,i,e=this.parent.width(),n=this.parent.height();e/this.ratio<n?(t=Math.ceil(n*this.ratio),i=n):(t=e,i=Math.ceil(e/this.ratio)),this.element.css({width:t,height:i})}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/dropdown.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/dropdown.js deleted file mode 100644 index bb9318447..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/dropdown.js +++ /dev/null @@ -1,296 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var active = false, hoverIdle; - - UI.component('dropdown', { - - defaults: { - 'mode' : 'hover', - 'remaintime' : 800, - 'justify' : false, - 'boundary' : UI.$win, - 'delay' : 0, - 'hoverDelayIdle' : 250 - }, - - remainIdle: false, - - boot: function() { - - var triggerevent = UI.support.touch ? "click" : "mouseenter"; - - // init code - UI.$html.on(triggerevent+".dropdown.uikit", "[data-uk-dropdown]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("dropdown")) { - - var dropdown = UI.dropdown(ele, UI.Utils.options(ele.attr("data-uk-dropdown"))); - - if (triggerevent=="click" || (triggerevent=="mouseenter" && dropdown.options.mode=="hover")) { - dropdown.element.trigger(triggerevent); - } - - if (dropdown.element.find('.uk-dropdown').length) { - e.preventDefault(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.dropdown = this.find('.uk-dropdown'); - - this.centered = this.dropdown.hasClass('uk-dropdown-center'); - this.justified = this.options.justify ? UI.$(this.options.justify) : false; - - this.boundary = UI.$(this.options.boundary); - this.flipped = this.dropdown.hasClass('uk-dropdown-flip'); - - if (!this.boundary.length) { - this.boundary = UI.$win; - } - - // Init ARIA - this.element.attr('aria-haspopup', 'true'); - this.element.attr('aria-expanded', this.element.hasClass("uk-open")); - - if (this.options.mode == "click" || UI.support.touch) { - - this.on("click.uikit.dropdown", function(e) { - - var $target = UI.$(e.target); - - if (!$target.parents(".uk-dropdown").length) { - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']") || ($this.dropdown.length && !$this.dropdown.is(":visible")) ){ - e.preventDefault(); - } - - $target.blur(); - } - - if (!$this.element.hasClass('uk-open')) { - - $this.show(); - - } else { - - if ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length) { - $this.hide(); - } - } - }); - - } else { - - this.on("mouseenter", function(e) { - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - if (active && active == $this) { - return; - } - - // pseudo manuAim - if (active && active != $this) { - - hoverIdle = setTimeout(function() { - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - }, $this.options.hoverDelayIdle); - - } else { - - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - } - - }).on("mouseleave", function() { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - $this.remainIdle = setTimeout(function() { - if (active && active == $this) $this.hide(); - }, $this.options.remaintime); - - }).on("click", function(e){ - - var $target = UI.$(e.target); - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']")){ - e.preventDefault(); - } - - $this.show(); - }); - } - }, - - show: function(){ - - UI.$html.off("click.outer.dropdown"); - - if (active && active != this) { - active.hide(); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - this.checkDimensions(); - this.element.addClass('uk-open'); - - // Update ARIA - this.element.attr('aria-expanded', 'true'); - - this.trigger('show.uk.dropdown', [this]); - - UI.Utils.checkDisplay(this.dropdown, true); - active = this; - - this.registerOuterClick(); - }, - - hide: function() { - this.element.removeClass('uk-open'); - - if (this.remainIdle) { - clearTimeout(this.remainIdle); - } - - this.remainIdle = false; - - // Update ARIA - this.element.attr('aria-expanded', 'false'); - - this.trigger('hide.uk.dropdown', [this]); - - if (active == this) active = false; - }, - - registerOuterClick: function(){ - - var $this = this; - - UI.$html.off("click.outer.dropdown"); - - setTimeout(function() { - - UI.$html.on("click.outer.dropdown", function(e) { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - var $target = UI.$(e.target); - - if (active == $this && ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length)) { - $this.hide(); - UI.$html.off("click.outer.dropdown"); - } - }); - }, 10); - }, - - checkDimensions: function() { - - if (!this.dropdown.length) return; - - if (this.justified && this.justified.length) { - this.dropdown.css("min-width", ""); - } - - var $this = this, - dropdown = this.dropdown.css("margin-" + UI.langdirection, ""), - offset = dropdown.show().offset(), - width = dropdown.outerWidth(), - boundarywidth = this.boundary.width(), - boundaryoffset = this.boundary.offset() ? this.boundary.offset().left:0; - - // centered dropdown - if (this.centered) { - dropdown.css("margin-" + UI.langdirection, (parseFloat(width) / 2 - dropdown.parent().width() / 2) * -1); - offset = dropdown.offset(); - - // reset dropdown - if ((width + offset.left) > boundarywidth || offset.left < 0) { - dropdown.css("margin-" + UI.langdirection, ""); - offset = dropdown.offset(); - } - } - - // justify dropdown - if (this.justified && this.justified.length) { - - var jwidth = this.justified.outerWidth(); - - dropdown.css("min-width", jwidth); - - if (UI.langdirection == 'right') { - - var right1 = boundarywidth - (this.justified.offset().left + jwidth), - right2 = boundarywidth - (dropdown.offset().left + dropdown.outerWidth()); - - dropdown.css("margin-right", right1 - right2); - - } else { - dropdown.css("margin-left", this.justified.offset().left - offset.left); - } - - offset = dropdown.offset(); - - } - - if ((width + (offset.left-boundaryoffset)) > boundarywidth) { - dropdown.addClass('uk-dropdown-flip'); - offset = dropdown.offset(); - } - - if ((offset.left-boundaryoffset) < 0) { - - dropdown.addClass("uk-dropdown-stack"); - - if (dropdown.hasClass('uk-dropdown-flip')) { - - if (!this.flipped) { - dropdown.removeClass('uk-dropdown-flip'); - offset = dropdown.offset(); - dropdown.addClass('uk-dropdown-flip'); - } - - setTimeout(function(){ - - if ((dropdown.offset().left-boundaryoffset) < 0 || !$this.flipped && (dropdown.outerWidth() + (offset.left-boundaryoffset)) < boundarywidth) { - dropdown.removeClass('uk-dropdown-flip'); - } - }, 0); - } - - this.trigger('stack.uk.dropdown', [this]); - } - - dropdown.css("display", ""); - } - - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/dropdown.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/dropdown.min.js deleted file mode 100644 index 4a72cc39c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/dropdown.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var e,i=!1;t.component("dropdown",{defaults:{mode:"hover",remaintime:800,justify:!1,boundary:t.$win,delay:0,hoverDelayIdle:250},remainIdle:!1,boot:function(){var e=t.support.touch?"click":"mouseenter";t.$html.on(e+".dropdown.uikit","[data-uk-dropdown]",function(i){var o=t.$(this);if(!o.data("dropdown")){var s=t.dropdown(o,t.Utils.options(o.attr("data-uk-dropdown")));("click"==e||"mouseenter"==e&&"hover"==s.options.mode)&&s.element.trigger(e),s.element.find(".uk-dropdown").length&&i.preventDefault()}})},init:function(){var o=this;this.dropdown=this.find(".uk-dropdown"),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=this.options.justify?t.$(this.options.justify):!1,this.boundary=t.$(this.options.boundary),this.flipped=this.dropdown.hasClass("uk-dropdown-flip"),this.boundary.length||(this.boundary=t.$win),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uikit.dropdown",function(e){var i=t.$(e.target);i.parents(".uk-dropdown").length||((i.is("a[href='#']")||i.parent().is("a[href='#']")||o.dropdown.length&&!o.dropdown.is(":visible"))&&e.preventDefault(),i.blur()),o.element.hasClass("uk-open")?(i.is("a:not(.js-uk-prevent)")||i.is(".uk-dropdown-close")||!o.dropdown.find(e.target).length)&&o.hide():o.show()}):this.on("mouseenter",function(){o.remainIdle&&clearTimeout(o.remainIdle),e&&clearTimeout(e),i&&i==o||(e=i&&i!=o?setTimeout(function(){e=setTimeout(o.show.bind(o),o.options.delay)},o.options.hoverDelayIdle):setTimeout(o.show.bind(o),o.options.delay))}).on("mouseleave",function(){e&&clearTimeout(e),o.remainIdle=setTimeout(function(){i&&i==o&&o.hide()},o.options.remaintime)}).on("click",function(e){var i=t.$(e.target);o.remainIdle&&clearTimeout(o.remainIdle),(i.is("a[href='#']")||i.parent().is("a[href='#']"))&&e.preventDefault(),o.show()})},show:function(){t.$html.off("click.outer.dropdown"),i&&i!=this&&i.hide(),e&&clearTimeout(e),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),i=this,this.registerOuterClick()},hide:function(){this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.trigger("hide.uk.dropdown",[this]),i==this&&(i=!1)},registerOuterClick:function(){var o=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(s){e&&clearTimeout(e);var n=t.$(s.target);i!=o||!n.is("a:not(.js-uk-prevent)")&&!n.is(".uk-dropdown-close")&&o.dropdown.find(s.target).length||(o.hide(),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.justified&&this.justified.length&&this.dropdown.css("min-width","");var e=this,i=this.dropdown.css("margin-"+t.langdirection,""),o=i.show().offset(),s=i.outerWidth(),n=this.boundary.width(),d=this.boundary.offset()?this.boundary.offset().left:0;if(this.centered&&(i.css("margin-"+t.langdirection,-1*(parseFloat(s)/2-i.parent().width()/2)),o=i.offset(),(s+o.left>n||o.left<0)&&(i.css("margin-"+t.langdirection,""),o=i.offset())),this.justified&&this.justified.length){var r=this.justified.outerWidth();if(i.css("min-width",r),"right"==t.langdirection){var a=n-(this.justified.offset().left+r),h=n-(i.offset().left+i.outerWidth());i.css("margin-right",a-h)}else i.css("margin-left",this.justified.offset().left-o.left);o=i.offset()}s+(o.left-d)>n&&(i.addClass("uk-dropdown-flip"),o=i.offset()),o.left-d<0&&(i.addClass("uk-dropdown-stack"),i.hasClass("uk-dropdown-flip")&&(this.flipped||(i.removeClass("uk-dropdown-flip"),o=i.offset(),i.addClass("uk-dropdown-flip")),setTimeout(function(){(i.offset().left-d<0||!e.flipped&&i.outerWidth()+(o.left-d)<n)&&i.removeClass("uk-dropdown-flip")},0)),this.trigger("stack.uk.dropdown",[this])),i.css("display","")}}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/grid.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/grid.js deleted file mode 100644 index f1e45f48a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/grid.js +++ /dev/null @@ -1,114 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var grids = []; - - UI.component('gridMatchHeight', { - - defaults: { - "target" : false, - "row" : true, - "ignorestacked" : false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-match]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMatchHeight")) { - obj = UI.gridMatchHeight(grid, UI.Utils.options(grid.attr("data-uk-grid-match"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - this.elements = this.options.target ? this.find(this.options.target) : this.columns; - - if (!this.columns.length) return; - - UI.$win.on('load resize orientationchange', (function() { - - var fn = function() { - $this.match(); - }; - - UI.$(function() { fn(); }); - - return UI.Utils.debounce(fn, 50); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.elements = $this.options.target ? $this.find($this.options.target) : $this.columns; - $this.match(); - }); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.match(); - }.bind(this)); - - grids.push(this); - }, - - match: function() { - - var firstvisible = this.columns.filter(":visible:first"); - - if (!firstvisible.length) return; - - var stacked = Math.ceil(100 * parseFloat(firstvisible.css('width')) / parseFloat(firstvisible.parent().css('width'))) >= 100; - - if (stacked && !this.options.ignorestacked) { - this.revert(); - } else { - UI.Utils.matchHeights(this.elements, this.options); - } - - return this; - }, - - revert: function() { - this.elements.css('min-height', ''); - return this; - } - }); - - UI.component('gridMargin', { - - defaults: { - "cls": "uk-grid-margin" - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-margin]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMargin")) { - obj = UI.gridMargin(grid, UI.Utils.options(grid.attr("data-uk-grid-margin"))); - } - }); - }); - }, - - init: function() { - - var stackMargin = UI.stackMargin(this.element, this.options); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/grid.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/grid.min.js deleted file mode 100644 index 465d413ab..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/grid.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var i=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid-match]",i).each(function(){var i,n=t.$(this);n.data("gridMatchHeight")||(i=t.gridMatchHeight(n,t.Utils.options(n.attr("data-uk-grid-match"))))})})},init:function(){var n=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var i=function(){n.match()};return t.$(function(){i()}),t.Utils.debounce(i,50)}()),t.$html.on("changed.uk.dom",function(){n.columns=n.element.children(),n.elements=n.options.target?n.find(n.options.target):n.columns,n.match()}),this.on("display.uk.check",function(){this.element.is(":visible")&&this.match()}.bind(this)),i.push(this))},match:function(){var i=this.columns.filter(":visible:first");if(i.length){var n=Math.ceil(100*parseFloat(i.css("width"))/parseFloat(i.parent().css("width")))>=100;return n&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin"},boot:function(){t.ready(function(i){t.$("[data-uk-grid-margin]",i).each(function(){var i,n=t.$(this);n.data("gridMargin")||(i=t.gridMargin(n,t.Utils.options(n.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/modal.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/modal.js deleted file mode 100644 index 4bfb3fd61..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/modal.js +++ /dev/null @@ -1,373 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var active = false, activeCount = 0, $html = UI.$html, body; - - UI.component('modal', { - - defaults: { - keyboard: true, - bgclose: true, - minScrollHeight: 150, - center: false, - modal: true - }, - - scrollable: false, - transition: false, - - init: function() { - - if (!body) body = UI.$('body'); - - if (!this.element.length) return; - - var $this = this; - - this.paddingdir = "padding-" + (UI.langdirection == 'left' ? "right":"left"); - this.dialog = this.find(".uk-modal-dialog"); - - this.active = false; - - // Update ARIA - this.element.attr('aria-hidden', this.element.hasClass("uk-open")); - - this.on("click", ".uk-modal-close", function(e) { - e.preventDefault(); - $this.hide(); - }).on("click", function(e) { - - var target = UI.$(e.target); - - if (target[0] == $this.element[0] && $this.options.bgclose) { - $this.hide(); - } - }); - }, - - toggle: function() { - return this[this.isActive() ? "hide" : "show"](); - }, - - show: function() { - - if (!this.element.length) return; - - var $this = this; - - if (this.isActive()) return; - - if (this.options.modal && active) { - active.hide(true); - } - - this.element.removeClass("uk-open").show(); - this.resize(); - - if (this.options.modal) { - active = this; - } - - this.active = true; - - activeCount++; - - this.element.addClass("uk-open"); - - $html.addClass("uk-modal-page").height(); // force browser engine redraw - - // Update ARIA - this.element.attr('aria-hidden', 'false'); - - this.element.trigger("show.uk.modal"); - - UI.Utils.checkDisplay(this.dialog, true); - - return this; - }, - - hide: function(force) { - - if (!force && UI.support.transition) { - - var $this = this; - - this.one(UI.support.transition.end, function() { - $this._hide(); - }).removeClass("uk-open"); - - } else { - - this._hide(); - } - - return this; - }, - - resize: function() { - - var bodywidth = body.width(); - - this.scrollbarwidth = window.innerWidth - bodywidth; - - body.css(this.paddingdir, this.scrollbarwidth); - - this.element.css('overflow-y', this.scrollbarwidth ? 'scroll' : 'auto'); - - if (!this.updateScrollable() && this.options.center) { - - var dh = this.dialog.outerHeight(), - pad = parseInt(this.dialog.css('margin-top'), 10) + parseInt(this.dialog.css('margin-bottom'), 10); - - if ((dh + pad) < window.innerHeight) { - this.dialog.css({'top': (window.innerHeight/2 - dh/2) - pad }); - } else { - this.dialog.css({'top': ''}); - } - } - }, - - updateScrollable: function() { - - // has scrollable? - var scrollable = this.dialog.find('.uk-overflow-container:visible:first'); - - if (scrollable.length) { - - scrollable.css("height", 0); - - var offset = Math.abs(parseInt(this.dialog.css("margin-top"), 10)), - dh = this.dialog.outerHeight(), - wh = window.innerHeight, - h = wh - 2*(offset < 20 ? 20:offset) - dh; - - scrollable.css("height", h < this.options.minScrollHeight ? "":h); - - return true; - } - - return false; - }, - - _hide: function() { - - this.active = false; - activeCount--; - - this.element.hide().removeClass("uk-open"); - - // Update ARIA - this.element.attr('aria-hidden', 'true'); - - if (!activeCount) { - $html.removeClass("uk-modal-page"); - body.css(this.paddingdir, ""); - } - - if(active===this) active = false; - - this.trigger("hide.uk.modal"); - }, - - isActive: function() { - return this.active; - } - - }); - - UI.component('modalTrigger', { - - boot: function() { - - // init code - UI.$html.on("click.modal.uikit", "[data-uk-modal]", function(e) { - - var ele = UI.$(this); - - if (ele.is("a")) { - e.preventDefault(); - } - - if (!ele.data("modalTrigger")) { - var modal = UI.modalTrigger(ele, UI.Utils.options(ele.attr("data-uk-modal"))); - modal.show(); - } - - }); - - // close modal on esc button - UI.$html.on('keydown.modal.uikit', function (e) { - - if (active && e.keyCode === 27 && active.options.keyboard) { // ESC - e.preventDefault(); - active.hide(); - } - }); - - UI.$win.on("resize orientationchange", UI.Utils.debounce(function(){ - if (active) active.resize(); - }, 150)); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.modal = UI.modal(this.options.target, this.options); - - this.on("click", function(e) { - e.preventDefault(); - $this.show(); - }); - - //methods - this.proxy(this.modal, "show hide isActive"); - } - }); - - UI.modal.dialog = function(content, options) { - - var modal = UI.modal(UI.$(UI.modal.dialog.template).appendTo("body"), options); - - modal.on("hide.uk.modal", function(){ - if (modal.persist) { - modal.persist.appendTo(modal.persist.data("modalPersistParent")); - modal.persist = false; - } - modal.element.remove(); - }); - - setContent(content, modal); - - return modal; - }; - - UI.modal.dialog.template = '<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>'; - - UI.modal.alert = function(content, options) { - - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+options.labels.Ok+'</button></div>' - ]).join(""), options); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.confirm = function(content, onconfirm, options) { - - onconfirm = UI.$.isFunction(onconfirm) ? onconfirm : function(){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options); - - modal.element.find(".js-modal-confirm").on("click", function(){ - onconfirm(); - modal.hide(); - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.prompt = function(text, value, onsubmit, options) { - - onsubmit = UI.$.isFunction(onsubmit) ? onsubmit : function(value){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - text ? '<div class="uk-modal-content uk-form">'+String(text)+'</div>':'', - '<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options), - - input = modal.element.find("input[type='text']").val(value || '').on('keyup', function(e){ - if (e.keyCode == 13) { - modal.element.find(".js-modal-ok").trigger('click'); - } - }); - - modal.element.find(".js-modal-ok").on("click", function(){ - if (onsubmit(input.val())!==false){ - modal.hide(); - } - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - input.focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.blockUI = function(content, options) { - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content || '<div class="uk-text-center">...</div>')+'</div>' - ]).join(""), UI.$.extend({bgclose:false, keyboard:false, modal:false}, options)); - - modal.content = modal.element.find('.uk-modal-content:first'); - modal.show(); - - return modal; - }; - - - UI.modal.labels = { - 'Ok': 'Ok', - 'Cancel': 'Cancel' - }; - - - // helper functions - function setContent(content, modal){ - - if(!modal) return; - - if (typeof content === 'object') { - - // convert DOM object to a jQuery object - content = content instanceof jQuery ? content : UI.$(content); - - if(content.parent().length) { - modal.persist = content; - modal.persist.data("modalPersistParent", content.parent()); - } - }else if (typeof content === 'string' || typeof content === 'number') { - // just insert the data as innerHTML - content = UI.$('<div></div>').html(content); - }else { - // unsupported data type! - content = UI.$('<div></div>').html('UIkit.modal Error: Unsupported data type: ' + typeof content); - } - - content.appendTo(modal.element.find('.uk-modal-dialog')); - - return modal; - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/modal.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/modal.min.js deleted file mode 100644 index 92429536c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/modal.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";function i(i,o){return o?("object"==typeof i?(i=i instanceof jQuery?i:t.$(i),i.parent().length&&(o.persist=i,o.persist.data("modalPersistParent",i.parent()))):i="string"==typeof i||"number"==typeof i?t.$("<div></div>").html(i):t.$("<div></div>").html("UIkit.modal Error: Unsupported data type: "+typeof i),i.appendTo(o.element.find(".uk-modal-dialog")),o):void 0}var o,e=!1,n=0,s=t.$html;t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,init:function(){if(o||(o=t.$("body")),this.element.length){var i=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),i.hide()}).on("click",function(o){var e=t.$(o.target);e[0]==i.element[0]&&i.options.bgclose&&i.hide()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){if(!this.isActive())return this.options.modal&&e&&e.hide(!0),this.element.removeClass("uk-open").show(),this.resize(),this.options.modal&&(e=this),this.active=!0,n++,this.element.addClass("uk-open"),s.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(i){if(!i&&t.support.transition){var o=this;this.one(t.support.transition.end,function(){o._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(){var t=o.width();if(this.scrollbarwidth=window.innerWidth-t,o.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var i=this.dialog.outerHeight(),e=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);i+e<window.innerHeight?this.dialog.css({top:window.innerHeight/2-i/2-e}):this.dialog.css({top:""})}},updateScrollable:function(){var t=this.dialog.find(".uk-overflow-container:visible:first");if(t.length){t.css("height",0);var i=Math.abs(parseInt(this.dialog.css("margin-top"),10)),o=this.dialog.outerHeight(),e=window.innerHeight,n=e-2*(20>i?20:i)-o;return t.css("height",n<this.options.minScrollHeight?"":n),!0}return!1},_hide:function(){this.active=!1,n--,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),n||(s.removeClass("uk-modal-page"),o.css(this.paddingdir,"")),e===this&&(e=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.active}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(i){var o=t.$(this);if(o.is("a")&&i.preventDefault(),!o.data("modalTrigger")){var e=t.modalTrigger(o,t.Utils.options(o.attr("data-uk-modal")));e.show()}}),t.$html.on("keydown.modal.uikit",function(t){e&&27===t.keyCode&&e.options.keyboard&&(t.preventDefault(),e.hide())}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){e&&e.resize()},150))},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),i.show()}),this.proxy(this.modal,"show hide isActive")}}),t.modal.dialog=function(o,e){var n=t.modal(t.$(t.modal.dialog.template).appendTo("body"),e);return n.on("hide.uk.modal",function(){n.persist&&(n.persist.appendTo(n.persist.data("modalPersistParent")),n.persist=!1),n.element.remove()}),i(o,n),n},t.modal.dialog.template='<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>',t.modal.alert=function(i,o){o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},o);var e=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+o.labels.Ok+"</button></div>"].join(""),o);e.on("show.uk.modal",function(){setTimeout(function(){e.element.find("button:first").focus()},50)}),e.show()},t.modal.confirm=function(i,o,e){o=t.$.isFunction(o)?o:function(){},e=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},e);var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+e.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+e.labels.Cancel+"</button></div>"].join(""),e);n.element.find(".js-modal-confirm").on("click",function(){o(),n.hide()}),n.on("show.uk.modal",function(){setTimeout(function(){n.element.find("button:first").focus()},50)}),n.show()},t.modal.prompt=function(i,o,e,n){e=t.$.isFunction(e)?e:function(){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},n);var s=t.modal.dialog([i?'<div class="uk-modal-content uk-form">'+String(i)+"</div>":"",'<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>','<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+n.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+n.labels.Cancel+"</button></div>"].join(""),n),a=s.element.find("input[type='text']").val(o||"").on("keyup",function(t){13==t.keyCode&&s.element.find(".js-modal-ok").trigger("click")});s.element.find(".js-modal-ok").on("click",function(){e(a.val())!==!1&&s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){a.focus()},50)}),s.show()},t.modal.blockUI=function(i,o){var e=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i||'<div class="uk-text-center">...</div>')+"</div>"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},o));return e.content=e.element.find(".uk-modal-content:first"),e.show(),e},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/nav.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/nav.js deleted file mode 100644 index 020a2331a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/nav.js +++ /dev/null @@ -1,136 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('nav', { - - defaults: { - "toggle": ">li.uk-parent > a[href='#']", - "lists": ">li.uk-parent > ul", - "multiple": false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-nav]", context).each(function() { - var nav = UI.$(this); - - if (!nav.data("nav")) { - var obj = UI.nav(nav, UI.Utils.options(nav.attr("data-uk-nav"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.nav", this.options.toggle, function(e) { - e.preventDefault(); - var ele = UI.$(this); - $this.open(ele.parent()[0] == $this.element[0] ? ele : ele.parent("li")); - }); - - this.find(this.options.lists).each(function() { - var $ele = UI.$(this), - parent = $ele.parent(), - active = parent.hasClass("uk-active"); - - $ele.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'); - parent.data("list-container", $ele.parent()[active ? 'removeClass':'addClass']('uk-hidden')); - - // Init ARIA - parent.attr('aria-expanded', parent.hasClass("uk-open")); - - if (active) $this.open(parent, true); - }); - - }, - - open: function(li, noanimation) { - - var $this = this, element = this.element, $li = UI.$(li), $container = $li.data('list-container'); - - if (!this.options.multiple) { - - element.children('.uk-open').not(li).each(function() { - - var ele = UI.$(this); - - if (ele.data('list-container')) { - ele.data('list-container').stop().animate({height: 0}, function() { - UI.$(this).parent().removeClass('uk-open').end().addClass('uk-hidden'); - }); - } - }); - } - - $li.toggleClass('uk-open'); - - // Update ARIA - $li.attr('aria-expanded', $li.hasClass('uk-open')); - - if ($container) { - - if ($li.hasClass('uk-open')) { - $container.removeClass('uk-hidden'); - } - - if (noanimation) { - - $container.stop().height($li.hasClass('uk-open') ? 'auto' : 0); - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } - - this.trigger('display.uk.check'); - - } else { - - $container.stop().animate({ - height: ($li.hasClass('uk-open') ? getHeight($container.find('ul:first')) : 0) - }, function() { - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } else { - $container.css('height', ''); - } - - $this.trigger('display.uk.check'); - }); - } - } - } - }); - - - // helper - - function getHeight(ele) { - var $ele = UI.$(ele), height = "auto"; - - if ($ele.is(":visible")) { - height = $ele.outerHeight(); - } else { - var tmp = { - position: $ele.css("position"), - visibility: $ele.css("visibility"), - display: $ele.css("display") - }; - - height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); - - $ele.css(tmp); // reset element - } - - return height; - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/nav.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/nav.min.js deleted file mode 100644 index e5dfc8885..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/nav.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(i){"use strict";function t(t){var s=i.$(t),a="auto";if(s.is(":visible"))a=s.outerHeight();else{var e={position:s.css("position"),visibility:s.css("visibility"),display:s.css("display")};a=s.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),s.css(e)}return a}i.component("nav",{defaults:{toggle:">li.uk-parent > a[href='#']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){i.ready(function(t){i.$("[data-uk-nav]",t).each(function(){var t=i.$(this);if(!t.data("nav")){i.nav(t,i.Utils.options(t.attr("data-uk-nav")))}})})},init:function(){var t=this;this.on("click.uikit.nav",this.options.toggle,function(s){s.preventDefault();var a=i.$(this);t.open(a.parent()[0]==t.element[0]?a:a.parent("li"))}),this.find(this.options.lists).each(function(){var s=i.$(this),a=s.parent(),e=a.hasClass("uk-active");s.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'),a.data("list-container",s.parent()[e?"removeClass":"addClass"]("uk-hidden")),a.attr("aria-expanded",a.hasClass("uk-open")),e&&t.open(a,!0)})},open:function(s,a){var e=this,n=this.element,o=i.$(s),l=o.data("list-container");this.options.multiple||n.children(".uk-open").not(s).each(function(){var t=i.$(this);t.data("list-container")&&t.data("list-container").stop().animate({height:0},function(){i.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),o.toggleClass("uk-open"),o.attr("aria-expanded",o.hasClass("uk-open")),l&&(o.hasClass("uk-open")&&l.removeClass("uk-hidden"),a?(l.stop().height(o.hasClass("uk-open")?"auto":0),o.hasClass("uk-open")||l.addClass("uk-hidden"),this.trigger("display.uk.check")):l.stop().animate({height:o.hasClass("uk-open")?t(l.find("ul:first")):0},function(){o.hasClass("uk-open")?l.css("height",""):l.addClass("uk-hidden"),e.trigger("display.uk.check")}))}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/offcanvas.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/offcanvas.js deleted file mode 100644 index 68de1979e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/offcanvas.js +++ /dev/null @@ -1,178 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var scrollpos = {x: window.scrollX, y: window.scrollY}, - $win = UI.$win, - $doc = UI.$doc, - $html = UI.$html, - Offcanvas = { - - show: function(element) { - - element = UI.$(element); - - if (!element.length) return; - - var $body = UI.$('body'), - bar = element.find(".uk-offcanvas-bar:first"), - rtl = (UI.langdirection == "right"), - flip = bar.hasClass("uk-offcanvas-bar-flip") ? -1:1, - dir = flip * (rtl ? -1 : 1); - - scrollpos = {x: window.pageXOffset, y: window.pageYOffset}; - - element.addClass("uk-active"); - - $body.css({"width": window.innerWidth, "height": window.innerHeight}).addClass("uk-offcanvas-page"); - $body.css((rtl ? "margin-right" : "margin-left"), (rtl ? -1 : 1) * (bar.outerWidth() * dir)).width(); // .width() - force redraw - - $html.css('margin-top', scrollpos.y * -1); - - bar.addClass("uk-offcanvas-bar-show"); - - this._initElement(element); - - bar.trigger('show.uk.offcanvas', [element, bar]); - - // Update ARIA - element.attr('aria-hidden', 'false'); - }, - - hide: function(force) { - - var $body = UI.$('body'), - panel = UI.$(".uk-offcanvas.uk-active"), - rtl = (UI.langdirection == "right"), - bar = panel.find(".uk-offcanvas-bar:first"), - finalize = function() { - $body.removeClass("uk-offcanvas-page").css({"width": "", "height": "", "margin-left": "", "margin-right": ""}); - panel.removeClass("uk-active"); - - bar.removeClass("uk-offcanvas-bar-show"); - $html.css('margin-top', ''); - window.scrollTo(scrollpos.x, scrollpos.y); - bar.trigger('hide.uk.offcanvas', [panel, bar]); - - // Update ARIA - panel.attr('aria-hidden', 'true'); - }; - - if (!panel.length) return; - - if (UI.support.transition && !force) { - - $body.one(UI.support.transition.end, function() { - finalize(); - }).css((rtl ? "margin-right" : "margin-left"), ""); - - setTimeout(function(){ - bar.removeClass("uk-offcanvas-bar-show"); - }, 0); - - } else { - finalize(); - } - }, - - _initElement: function(element) { - - if (element.data("OffcanvasInit")) return; - - element.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas", function(e) { - - var target = UI.$(e.target); - - if (!e.type.match(/swipe/)) { - - if (!target.hasClass("uk-offcanvas-close")) { - if (target.hasClass("uk-offcanvas-bar")) return; - if (target.parents(".uk-offcanvas-bar:first").length) return; - } - } - - e.stopImmediatePropagation(); - Offcanvas.hide(); - }); - - element.on("click", "a[href^='#']", function(e){ - - var link = UI.$(this), - href = link.attr("href"); - - if (href == "#") { - return; - } - - UI.$doc.one('hide.uk.offcanvas', function() { - - var target; - - try { - target = UI.$(href); - } catch (e){ - target = "" - } - - if (!target.length) { - target = UI.$('[name="'+href.replace('#','')+'"]'); - } - - if (target.length && link.attr('data-uk-smooth-scroll') && UI.Utils.scrollToElement) { - UI.Utils.scrollToElement(target, UI.Utils.options(link.attr('data-uk-smooth-scroll') || '{}')); - } else { - window.location.href = href; - } - }); - - Offcanvas.hide(); - }); - - element.data("OffcanvasInit", true); - } - }; - - UI.component('offcanvasTrigger', { - - boot: function() { - - // init code - $html.on("click.offcanvas.uikit", "[data-uk-offcanvas]", function(e) { - - e.preventDefault(); - - var ele = UI.$(this); - - if (!ele.data("offcanvasTrigger")) { - var obj = UI.offcanvasTrigger(ele, UI.Utils.options(ele.attr("data-uk-offcanvas"))); - ele.trigger("click"); - } - }); - - $html.on('keydown.uk.offcanvas', function(e) { - - if (e.keyCode === 27) { // ESC - Offcanvas.hide(); - } - }); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.on("click", function(e) { - e.preventDefault(); - Offcanvas.show($this.options.target); - }); - } - }); - - UI.offcanvas = Offcanvas; - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/offcanvas.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/offcanvas.min.js deleted file mode 100644 index 480906eb0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/offcanvas.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(a){"use strict";var t={x:window.scrollX,y:window.scrollY},n=(a.$win,a.$doc,a.$html),i={show:function(i){if(i=a.$(i),i.length){var o=a.$("body"),s=i.find(".uk-offcanvas-bar:first"),e="right"==a.langdirection,f=s.hasClass("uk-offcanvas-bar-flip")?-1:1,r=f*(e?-1:1);t={x:window.pageXOffset,y:window.pageYOffset},i.addClass("uk-active"),o.css({width:window.innerWidth,height:window.innerHeight}).addClass("uk-offcanvas-page"),o.css(e?"margin-right":"margin-left",(e?-1:1)*s.outerWidth()*r).width(),n.css("margin-top",-1*t.y),s.addClass("uk-offcanvas-bar-show"),this._initElement(i),s.trigger("show.uk.offcanvas",[i,s]),i.attr("aria-hidden","false")}},hide:function(i){var o=a.$("body"),s=a.$(".uk-offcanvas.uk-active"),e="right"==a.langdirection,f=s.find(".uk-offcanvas-bar:first"),r=function(){o.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),s.removeClass("uk-active"),f.removeClass("uk-offcanvas-bar-show"),n.css("margin-top",""),window.scrollTo(t.x,t.y),f.trigger("hide.uk.offcanvas",[s,f]),s.attr("aria-hidden","true")};s.length&&(a.support.transition&&!i?(o.one(a.support.transition.end,function(){r()}).css(e?"margin-right":"margin-left",""),setTimeout(function(){f.removeClass("uk-offcanvas-bar-show")},0)):r())},_initElement:function(t){t.data("OffcanvasInit")||(t.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(t){var n=a.$(t.target);if(!t.type.match(/swipe/)&&!n.hasClass("uk-offcanvas-close")){if(n.hasClass("uk-offcanvas-bar"))return;if(n.parents(".uk-offcanvas-bar:first").length)return}t.stopImmediatePropagation(),i.hide()}),t.on("click","a[href^='#']",function(){var t=a.$(this),n=t.attr("href");"#"!=n&&(a.$doc.one("hide.uk.offcanvas",function(){var i;try{i=a.$(n)}catch(o){i=""}i.length||(i=a.$('[name="'+n.replace("#","")+'"]')),i.length&&t.attr("data-uk-smooth-scroll")&&a.Utils.scrollToElement?a.Utils.scrollToElement(i,a.Utils.options(t.attr("data-uk-smooth-scroll")||"{}")):window.location.href=n}),i.hide())}),t.data("OffcanvasInit",!0))}};a.component("offcanvasTrigger",{boot:function(){n.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(t){t.preventDefault();var n=a.$(this);if(!n.data("offcanvasTrigger")){{a.offcanvasTrigger(n,a.Utils.options(n.attr("data-uk-offcanvas")))}n.trigger("click")}}),n.on("keydown.uk.offcanvas",function(a){27===a.keyCode&&i.hide()})},init:function(){var t=this;this.options=a.$.extend({target:t.element.is("a")?t.element.attr("href"):!1},this.options),this.on("click",function(a){a.preventDefault(),i.show(t.options.target)})}}),a.offcanvas=i}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/scrollspy.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/scrollspy.js deleted file mode 100644 index 9b8349ed1..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/scrollspy.js +++ /dev/null @@ -1,208 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var $win = UI.$win, - $doc = UI.$doc, - scrollspies = [], - checkScrollSpy = function() { - for(var i=0; i < scrollspies.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspies[i].check]); - } - }; - - UI.component('scrollspy', { - - defaults: { - "target" : false, - "cls" : "uk-scrollspy-inview", - "initcls" : "uk-scrollspy-init-inview", - "topoffset" : 0, - "leftoffset" : 0, - "repeat" : false, - "delay" : 0 - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpy); - $win.on("load resize orientationchange", UI.Utils.debounce(checkScrollSpy, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspy")) { - var obj = UI.scrollspy(element, UI.Utils.options(element.attr("data-uk-scrollspy"))); - } - }); - }); - }, - - init: function() { - - var $this = this, inviewstate, initinview, togglecls = this.options.cls.split(/,/), fn = function(){ - - var elements = $this.options.target ? $this.element.find($this.options.target) : $this.element, - delayIdx = elements.length === 1 ? 1 : 0, - toggleclsIdx = 0; - - elements.each(function(idx){ - - var element = UI.$(this), - inviewstate = element.data('inviewstate'), - inview = UI.Utils.isInView(element, $this.options), - toggle = element.data('ukScrollspyCls') || togglecls[toggleclsIdx].trim(); - - if (inview && !inviewstate && !element.data('scrollspy-idle')) { - - if (!initinview) { - element.addClass($this.options.initcls); - $this.offset = element.offset(); - initinview = true; - - element.trigger("init.uk.scrollspy"); - } - - element.data('scrollspy-idle', setTimeout(function(){ - - element.addClass("uk-scrollspy-inview").toggleClass(toggle).width(); - element.trigger("inview.uk.scrollspy"); - - element.data('scrollspy-idle', false); - element.data('inviewstate', true); - - }, $this.options.delay * delayIdx)); - - delayIdx++; - } - - if (!inview && inviewstate && $this.options.repeat) { - - if (element.data('scrollspy-idle')) { - clearTimeout(element.data('scrollspy-idle')); - } - - element.removeClass("uk-scrollspy-inview").toggleClass(toggle); - element.data('inviewstate', false); - - element.trigger("outview.uk.scrollspy"); - } - - toggleclsIdx = togglecls[toggleclsIdx + 1] ? (toggleclsIdx + 1) : 0; - - }); - }; - - fn(); - - this.check = fn; - - scrollspies.push(this); - } - }); - - - var scrollspynavs = [], - checkScrollSpyNavs = function() { - for(var i=0; i < scrollspynavs.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspynavs[i].check]); - } - }; - - UI.component('scrollspynav', { - - defaults: { - "cls" : 'uk-active', - "closest" : false, - "topoffset" : 0, - "leftoffset" : 0, - "smoothscroll" : false - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpyNavs); - $win.on("resize orientationchange", UI.Utils.debounce(checkScrollSpyNavs, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy-nav]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspynav")) { - var obj = UI.scrollspynav(element, UI.Utils.options(element.attr("data-uk-scrollspy-nav"))); - } - }); - }); - }, - - init: function() { - - var ids = [], - links = this.find("a[href^='#']").each(function(){ ids.push(UI.$(this).attr("href")); }), - targets = UI.$(ids.join(",")), - - clsActive = this.options.cls, - clsClosest = this.options.closest || this.options.closest; - - var $this = this, inviews, fn = function(){ - - inviews = []; - - for (var i=0 ; i < targets.length ; i++) { - if (UI.Utils.isInView(targets.eq(i), $this.options)) { - inviews.push(targets.eq(i)); - } - } - - if (inviews.length) { - - var navitems, - scrollTop = $win.scrollTop(), - target = (function(){ - for(var i=0; i< inviews.length;i++){ - if(inviews[i].offset().top >= scrollTop){ - return inviews[i]; - } - } - })(); - - if (!target) return; - - if ($this.options.closest) { - links.closest(clsClosest).removeClass(clsActive); - navitems = links.filter("a[href='#"+target.attr("id")+"']").closest(clsClosest).addClass(clsActive); - } else { - navitems = links.removeClass(clsActive).filter("a[href='#"+target.attr("id")+"']").addClass(clsActive); - } - - $this.element.trigger("inview.uk.scrollspynav", [target, navitems]); - } - }; - - if (this.options.smoothscroll && UI.smoothScroll) { - links.each(function(){ - UI.smoothScroll(this, $this.options.smoothscroll); - }); - } - - fn(); - - this.element.data("scrollspynav", this); - - this.check = fn; - scrollspynavs.push(this); - - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/scrollspy.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/scrollspy.min.js deleted file mode 100644 index ade68908d..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/scrollspy.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var s=t.$win,o=t.$doc,i=[],e=function(){for(var t=0;t<i.length;t++)window.requestAnimationFrame.apply(window,[i[t].check])};t.component("scrollspy",{defaults:{target:!1,cls:"uk-scrollspy-inview",initcls:"uk-scrollspy-init-inview",topoffset:0,leftoffset:0,repeat:!1,delay:0},boot:function(){o.on("scrolling.uk.document",e),s.on("load resize orientationchange",t.Utils.debounce(e,50)),t.ready(function(s){t.$("[data-uk-scrollspy]",s).each(function(){var s=t.$(this);if(!s.data("scrollspy")){t.scrollspy(s,t.Utils.options(s.attr("data-uk-scrollspy")))}})})},init:function(){var s,o=this,e=this.options.cls.split(/,/),l=function(){var i=o.options.target?o.element.find(o.options.target):o.element,l=1===i.length?1:0,n=0;i.each(function(){var i=t.$(this),a=i.data("inviewstate"),r=t.Utils.isInView(i,o.options),c=i.data("ukScrollspyCls")||e[n].trim();!r||a||i.data("scrollspy-idle")||(s||(i.addClass(o.options.initcls),o.offset=i.offset(),s=!0,i.trigger("init.uk.scrollspy")),i.data("scrollspy-idle",setTimeout(function(){i.addClass("uk-scrollspy-inview").toggleClass(c).width(),i.trigger("inview.uk.scrollspy"),i.data("scrollspy-idle",!1),i.data("inviewstate",!0)},o.options.delay*l)),l++),!r&&a&&o.options.repeat&&(i.data("scrollspy-idle")&&clearTimeout(i.data("scrollspy-idle")),i.removeClass("uk-scrollspy-inview").toggleClass(c),i.data("inviewstate",!1),i.trigger("outview.uk.scrollspy")),n=e[n+1]?n+1:0})};l(),this.check=l,i.push(this)}});var l=[],n=function(){for(var t=0;t<l.length;t++)window.requestAnimationFrame.apply(window,[l[t].check])};t.component("scrollspynav",{defaults:{cls:"uk-active",closest:!1,topoffset:0,leftoffset:0,smoothscroll:!1},boot:function(){o.on("scrolling.uk.document",n),s.on("resize orientationchange",t.Utils.debounce(n,50)),t.ready(function(s){t.$("[data-uk-scrollspy-nav]",s).each(function(){var s=t.$(this);if(!s.data("scrollspynav")){t.scrollspynav(s,t.Utils.options(s.attr("data-uk-scrollspy-nav")))}})})},init:function(){var o,i=[],e=this.find("a[href^='#']").each(function(){i.push(t.$(this).attr("href"))}),n=t.$(i.join(",")),a=this.options.cls,r=this.options.closest||this.options.closest,c=this,p=function(){o=[];for(var i=0;i<n.length;i++)t.Utils.isInView(n.eq(i),c.options)&&o.push(n.eq(i));if(o.length){var l,p=s.scrollTop(),f=function(){for(var t=0;t<o.length;t++)if(o[t].offset().top>=p)return o[t]}();if(!f)return;c.options.closest?(e.closest(r).removeClass(a),l=e.filter("a[href='#"+f.attr("id")+"']").closest(r).addClass(a)):l=e.removeClass(a).filter("a[href='#"+f.attr("id")+"']").addClass(a),c.element.trigger("inview.uk.scrollspynav",[f,l])}};this.options.smoothscroll&&t.smoothScroll&&e.each(function(){t.smoothScroll(this,c.options.smoothscroll)}),p(),this.element.data("scrollspynav",this),this.check=p,l.push(this)}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/smooth-scroll.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/smooth-scroll.js deleted file mode 100644 index a7ebce0e7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/smooth-scroll.js +++ /dev/null @@ -1,62 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('smoothScroll', { - - boot: function() { - - // init code - UI.$html.on("click.smooth-scroll.uikit", "[data-uk-smooth-scroll]", function(e) { - var ele = UI.$(this); - - if (!ele.data("smoothScroll")) { - var obj = UI.smoothScroll(ele, UI.Utils.options(ele.attr("data-uk-smooth-scroll"))); - ele.trigger("click"); - } - - return false; - }); - }, - - init: function() { - - var $this = this; - - this.on("click", function(e) { - e.preventDefault(); - scrollToElement(UI.$(this.hash).length ? UI.$(this.hash) : UI.$("body"), $this.options); - }); - } - }); - - function scrollToElement(ele, options) { - - options = UI.$.extend({ - duration: 1000, - transition: 'easeOutExpo', - offset: 0, - complete: function(){} - }, options); - - // get / set parameters - var target = ele.offset().top - options.offset, - docheight = UI.$doc.height(), - winheight = window.innerHeight; - - if ((target + winheight) > docheight) { - target = docheight - winheight; - } - - // animate to target, fire callback when done - UI.$("html,body").stop().animate({scrollTop: target}, options.duration, options.transition).promise().done(options.complete); - } - - UI.Utils.scrollToElement = scrollToElement; - - if (!UI.$.easing.easeOutExpo) { - UI.$.easing.easeOutExpo = function(x, t, b, c, d) { return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/smooth-scroll.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/smooth-scroll.min.js deleted file mode 100644 index 0c09be5d9..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/smooth-scroll.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";function o(o,i){i=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},i);var n=o.offset().top-i.offset,s=t.$doc.height(),e=window.innerHeight;n+e>s&&(n=s-e),t.$("html,body").stop().animate({scrollTop:n},i.duration,i.transition).promise().done(i.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(){var o=t.$(this);if(!o.data("smoothScroll")){{t.smoothScroll(o,t.Utils.options(o.attr("data-uk-smooth-scroll")))}o.trigger("click")}return!1})},init:function(){var i=this;this.on("click",function(n){n.preventDefault(),o(t.$(this.hash).length?t.$(this.hash):t.$("body"),i.options)})}}),t.Utils.scrollToElement=o,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,o,i,n,s){return o==s?i+n:n*(-Math.pow(2,-10*o/s)+1)+i})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/switcher.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/switcher.js deleted file mode 100644 index 4d4cfcbbd..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/switcher.js +++ /dev/null @@ -1,298 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var Animations; - - UI.component('switcher', { - - defaults: { - connect : false, - toggle : ">*", - active : 0, - animation : false, - duration : 200 - }, - - animating: false, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-switcher]", context).each(function() { - var switcher = UI.$(this); - - if (!switcher.data("switcher")) { - var obj = UI.switcher(switcher, UI.Utils.options(switcher.attr("data-uk-switcher"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.switcher", this.options.toggle, function(e) { - e.preventDefault(); - $this.show(this); - }); - - if (this.options.connect) { - - this.connect = UI.$(this.options.connect); - - this.connect.find(".uk-active").removeClass(".uk-active"); - - // delegate switch commands within container content - if (this.connect.length) { - - // Init ARIA for connect - this.connect.children().attr('aria-hidden', 'true'); - - this.connect.on("click", '[data-uk-switcher-item]', function(e) { - - e.preventDefault(); - - var item = UI.$(this).attr('data-uk-switcher-item'); - - if ($this.index == item) return; - - switch(item) { - case 'next': - case 'previous': - $this.show($this.index + (item=='next' ? 1:-1)); - break; - default: - $this.show(parseInt(item, 10)); - } - }).on('swipeRight swipeLeft', function(e) { - e.preventDefault(); - if(!window.getSelection().toString()) { - $this.show($this.index + (e.type == 'swipeLeft' ? 1 : -1)); - } - }); - } - - var toggles = this.find(this.options.toggle), - active = toggles.filter(".uk-active"); - - if (active.length) { - this.show(active, false); - } else { - - if (this.options.active===false) return; - - active = toggles.eq(this.options.active); - this.show(active.length ? active : toggles.eq(0), false); - } - - // Init ARIA for toggles - toggles.not(active).attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - this.on('changed.uk.dom', function() { - $this.connect = UI.$($this.options.connect); - }); - } - - }, - - show: function(tab, animate) { - - if (this.animating) { - return; - } - - if (isNaN(tab)) { - tab = UI.$(tab); - } else { - - var toggles = this.find(this.options.toggle); - - tab = tab < 0 ? toggles.length-1 : tab; - tab = toggles.eq(toggles[tab] ? tab : 0); - } - - var $this = this, - toggles = this.find(this.options.toggle), - active = UI.$(tab), - animation = Animations[this.options.animation] || function(current, next) { - - if (!$this.options.animation) { - return Animations.none.apply($this); - } - - var anim = $this.options.animation.split(','); - - if (anim.length == 1) { - anim[1] = anim[0]; - } - - anim[0] = anim[0].trim(); - anim[1] = anim[1].trim(); - - return coreAnimation.apply($this, [anim, current, next]); - }; - - if (animate===false || !UI.support.animation) { - animation = Animations.none; - } - - if (active.hasClass("uk-disabled")) return; - - // Update ARIA for Toggles - toggles.attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - toggles.filter(".uk-active").removeClass("uk-active"); - active.addClass("uk-active"); - - if (this.options.connect && this.connect.length) { - - this.index = this.find(this.options.toggle).index(active); - - if (this.index == -1 ) { - this.index = 0; - } - - this.connect.each(function() { - - var container = UI.$(this), - children = UI.$(container.children()), - current = UI.$(children.filter('.uk-active')), - next = UI.$(children.eq($this.index)); - - $this.animating = true; - - animation.apply($this, [current, next]).then(function(){ - - current.removeClass("uk-active"); - next.addClass("uk-active"); - - // Update ARIA for connect - current.attr('aria-hidden', 'true'); - next.attr('aria-hidden', 'false'); - - UI.Utils.checkDisplay(next, true); - - $this.animating = false; - }); - }); - } - - this.trigger("show.uk.switcher", [active]); - } - }); - - Animations = { - - 'none': function() { - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'fade': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-fade', current, next]); - }, - - 'slide-bottom': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); - }, - - 'slide-top': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); - }, - - 'slide-vertical': function(current, next, dir) { - - var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'slide-left': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-left', current, next]); - }, - - 'slide-right': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-right', current, next]); - }, - - 'slide-horizontal': function(current, next, dir) { - - var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'scale': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); - } - }; - - UI.switcher.animations = Animations; - - - // helpers - - function coreAnimation(cls, current, next) { - - var d = UI.$.Deferred(), clsIn = cls, clsOut = cls, release; - - if (next[0]===current[0]) { - d.resolve(); - return d.promise(); - } - - if (typeof(cls) == 'object') { - clsIn = cls[0]; - clsOut = cls[1] || cls[0]; - } - - release = function() { - - if (current) current.hide().removeClass('uk-active '+clsOut+' uk-animation-reverse'); - - next.addClass(clsIn).one(UI.support.animation.end, function() { - - next.removeClass(''+clsIn+'').css({opacity:'', display:''}); - - d.resolve(); - - if (current) current.css({opacity:'', display:''}); - - }.bind(this)).show(); - }; - - next.css('animation-duration', this.options.duration+'ms'); - - if (current && current.length) { - - current.css('animation-duration', this.options.duration+'ms'); - - current.css('display', 'none').addClass(clsOut+' uk-animation-reverse').one(UI.support.animation.end, function() { - release(); - }.bind(this)).css('display', ''); - - } else { - next.addClass('uk-active'); - release(); - } - - return d.promise(); - } - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/switcher.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/switcher.min.js deleted file mode 100644 index d06a3a00f..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/switcher.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";function i(i,n,e){var a,s=t.$.Deferred(),o=i,r=i;return e[0]===n[0]?(s.resolve(),s.promise()):("object"==typeof i&&(o=i[0],r=i[1]||i[0]),a=function(){n&&n.hide().removeClass("uk-active "+r+" uk-animation-reverse"),e.addClass(o).one(t.support.animation.end,function(){e.removeClass(""+o).css({opacity:"",display:""}),s.resolve(),n&&n.css({opacity:"",display:""})}.bind(this)).show()},e.css("animation-duration",this.options.duration+"ms"),n&&n.length?(n.css("animation-duration",this.options.duration+"ms"),n.css("display","none").addClass(r+" uk-animation-reverse").one(t.support.animation.end,function(){a()}.bind(this)).css("display","")):(e.addClass("uk-active"),a()),s.promise())}var n;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200},animating:!1,boot:function(){t.ready(function(i){t.$("[data-uk-switcher]",i).each(function(){var i=t.$(this);if(!i.data("switcher")){t.switcher(i,t.Utils.options(i.attr("data-uk-switcher")))}})})},init:function(){var i=this;if(this.on("click.uikit.switcher",this.options.toggle,function(t){t.preventDefault(),i.show(this)}),this.options.connect){this.connect=t.$(this.options.connect),this.connect.find(".uk-active").removeClass(".uk-active"),this.connect.length&&(this.connect.children().attr("aria-hidden","true"),this.connect.on("click","[data-uk-switcher-item]",function(n){n.preventDefault();var e=t.$(this).attr("data-uk-switcher-item");if(i.index!=e)switch(e){case"next":case"previous":i.show(i.index+("next"==e?1:-1));break;default:i.show(parseInt(e,10))}}).on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||i.show(i.index+("swipeLeft"==t.type?1:-1))}));var n=this.find(this.options.toggle),e=n.filter(".uk-active");if(e.length)this.show(e,!1);else{if(this.options.active===!1)return;e=n.eq(this.options.active),this.show(e.length?e:n.eq(0),!1)}n.not(e).attr("aria-expanded","false"),e.attr("aria-expanded","true"),this.on("changed.uk.dom",function(){i.connect=t.$(i.options.connect)})}},show:function(e,a){if(!this.animating){if(isNaN(e))e=t.$(e);else{var s=this.find(this.options.toggle);e=0>e?s.length-1:e,e=s.eq(s[e]?e:0)}var o=this,s=this.find(this.options.toggle),r=t.$(e),c=n[this.options.animation]||function(t,e){if(!o.options.animation)return n.none.apply(o);var a=o.options.animation.split(",");return 1==a.length&&(a[1]=a[0]),a[0]=a[0].trim(),a[1]=a[1].trim(),i.apply(o,[a,t,e])};a!==!1&&t.support.animation||(c=n.none),r.hasClass("uk-disabled")||(s.attr("aria-expanded","false"),r.attr("aria-expanded","true"),s.filter(".uk-active").removeClass("uk-active"),r.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(r),-1==this.index&&(this.index=0),this.connect.each(function(){var i=t.$(this),n=t.$(i.children()),e=t.$(n.filter(".uk-active")),a=t.$(n.eq(o.index));o.animating=!0,c.apply(o,[e,a]).then(function(){e.removeClass("uk-active"),a.addClass("uk-active"),e.attr("aria-hidden","true"),a.attr("aria-hidden","false"),t.Utils.checkDisplay(a,!0),o.animating=!1})})),this.trigger("show.uk.switcher",[r]))}}}),n={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,n){return i.apply(this,["uk-animation-fade",t,n])},"slide-bottom":function(t,n){return i.apply(this,["uk-animation-slide-bottom",t,n])},"slide-top":function(t,n){return i.apply(this,["uk-animation-slide-top",t,n])},"slide-vertical":function(t,n){var e=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>n.index()&&e.reverse(),i.apply(this,[e,t,n])},"slide-left":function(t,n){return i.apply(this,["uk-animation-slide-left",t,n])},"slide-right":function(t,n){return i.apply(this,["uk-animation-slide-right",t,n])},"slide-horizontal":function(t,n){var e=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>n.index()&&e.reverse(),i.apply(this,[e,t,n])},scale:function(t,n){return i.apply(this,["uk-animation-scale-up",t,n])}},t.switcher.animations=n}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/tab.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/tab.js deleted file mode 100644 index 6040e7fc5..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/tab.js +++ /dev/null @@ -1,165 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - UI.component('tab', { - - defaults: { - 'target' : '>li:not(.uk-tab-responsive, .uk-disabled)', - 'connect' : false, - 'active' : 0, - 'animation' : false, - 'duration' : 200 - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-tab]", context).each(function() { - - var tab = UI.$(this); - - if (!tab.data("tab")) { - var obj = UI.tab(tab, UI.Utils.options(tab.attr("data-uk-tab"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.current = false; - - this.on("click.uikit.tab", this.options.target, function(e) { - - e.preventDefault(); - - if ($this.switcher && $this.switcher.animating) { - return; - } - - var current = $this.find($this.options.target).not(this); - - current.removeClass("uk-active").blur(); - - $this.trigger("change.uk.tab", [UI.$(this).addClass("uk-active"), $this.current]); - - $this.current = UI.$(this); - - // Update ARIA - if (!$this.options.connect) { - current.attr('aria-expanded', 'false'); - UI.$(this).attr('aria-expanded', 'true'); - } - }); - - if (this.options.connect) { - this.connect = UI.$(this.options.connect); - } - - // init responsive tab - this.responsivetab = UI.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'); - - this.responsivetab.dropdown = this.responsivetab.find('.uk-dropdown'); - this.responsivetab.lst = this.responsivetab.dropdown.find('ul'); - this.responsivetab.caption = this.responsivetab.find('a:first'); - - if (this.element.hasClass("uk-tab-bottom")) this.responsivetab.dropdown.addClass("uk-dropdown-up"); - - // handle click - this.responsivetab.lst.on('click.uikit.tab', 'a', function(e) { - - e.preventDefault(); - e.stopPropagation(); - - var link = UI.$(this); - - $this.element.children('li:not(.uk-tab-responsive)').eq(link.data('index')).trigger('click'); - }); - - this.on('show.uk.switcher change.uk.tab', function(e, tab) { - $this.responsivetab.caption.html(tab.text()); - }); - - this.element.append(this.responsivetab); - - // init UIkit components - if (this.options.connect) { - this.switcher = UI.switcher(this.element, { - "toggle" : ">li:not(.uk-tab-responsive)", - "connect" : this.options.connect, - "active" : this.options.active, - "animation" : this.options.animation, - "duration" : this.options.duration - }); - } - - UI.dropdown(this.responsivetab, {"mode": "click"}); - - // init - $this.trigger("change.uk.tab", [this.element.find(this.options.target).not('.uk-tab-responsive').filter('.uk-active')]); - - this.check(); - - UI.$win.on('resize orientationchange', UI.Utils.debounce(function(){ - if ($this.element.is(":visible")) $this.check(); - }, 100)); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) $this.check(); - }); - }, - - check: function() { - - var children = this.element.children('li:not(.uk-tab-responsive)').removeClass('uk-hidden'); - - if (!children.length) { - this.responsivetab.addClass('uk-hidden'); - return; - } - - var top = (children.eq(0).offset().top + Math.ceil(children.eq(0).height()/2)), - doresponsive = false, - item, link, clone; - - this.responsivetab.lst.empty(); - - children.each(function(){ - - if (UI.$(this).offset().top > top) { - doresponsive = true; - } - }); - - if (doresponsive) { - - for (var i = 0; i < children.length; i++) { - - item = UI.$(children.eq(i)); - link = item.find('a'); - - if (item.css('float') != 'none' && !item.attr('uk-dropdown')) { - - if (!item.hasClass('uk-disabled')) { - - clone = item[0].outerHTML.replace('<a ', '<a data-index="'+i+'" '); - - this.responsivetab.lst.append(clone); - } - - item.addClass('uk-hidden'); - } - } - } - - this.responsivetab[this.responsivetab.lst.children('li').length ? 'removeClass':'addClass']('uk-hidden'); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/tab.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/tab.min.js deleted file mode 100644 index 3447bc664..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/tab.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200},boot:function(){t.ready(function(i){t.$("[data-uk-tab]",i).each(function(){var i=t.$(this);if(!i.data("tab")){t.tab(i,t.Utils.options(i.attr("data-uk-tab")))}})})},init:function(){var i=this;this.current=!1,this.on("click.uikit.tab",this.options.target,function(e){if(e.preventDefault(),!i.switcher||!i.switcher.animating){var s=i.find(i.options.target).not(this);s.removeClass("uk-active").blur(),i.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),i.current]),i.current=t.$(this),i.options.connect||(s.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uikit.tab","a",function(e){e.preventDefault(),e.stopPropagation();var s=t.$(this);i.element.children("li:not(.uk-tab-responsive)").eq(s.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,e){i.responsivetab.caption.html(e.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration})),t.dropdown(this.responsivetab,{mode:"click"}),i.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){i.element.is(":visible")&&i.check()},100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.check()})},check:function(){var i=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!i.length)return this.responsivetab.addClass("uk-hidden"),void 0;var e,s,n,a=i.eq(0).offset().top+Math.ceil(i.eq(0).height()/2),o=!1;if(this.responsivetab.lst.empty(),i.each(function(){t.$(this).offset().top>a&&(o=!0)}),o)for(var r=0;r<i.length;r++)e=t.$(i.eq(r)),s=e.find("a"),"none"==e.css("float")||e.attr("uk-dropdown")||(e.hasClass("uk-disabled")||(n=e[0].outerHTML.replace("<a ",'<a data-index="'+r+'" '),this.responsivetab.lst.append(n)),e.addClass("uk-hidden"));this.responsivetab[this.responsivetab.lst.children("li").length?"removeClass":"addClass"]("uk-hidden")}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/toggle.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/toggle.js deleted file mode 100644 index 29badf02e..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/toggle.js +++ /dev/null @@ -1,117 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI){ - - "use strict"; - - var toggles = []; - - UI.component('toggle', { - - defaults: { - target : false, - cls : 'uk-hidden', - animation : false, - duration : 200 - }, - - boot: function(){ - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-toggle]", context).each(function() { - var ele = UI.$(this); - - if (!ele.data("toggle")) { - var obj = UI.toggle(ele, UI.Utils.options(ele.attr("data-uk-toggle"))); - } - }); - - setTimeout(function(){ - - toggles.forEach(function(toggle){ - toggle.getToggles(); - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.aria = (this.options.cls.indexOf('uk-hidden') !== -1); - - this.getToggles(); - - this.on("click", function(e) { - if ($this.element.is('a[href="#"]')) e.preventDefault(); - $this.toggle(); - }); - - toggles.push(this); - }, - - toggle: function() { - - if(!this.totoggle.length) return; - - if (this.options.animation && UI.support.animation) { - - var $this = this, animations = this.options.animation.split(','); - - if (animations.length == 1) { - animations[1] = animations[0]; - } - - animations[0] = animations[0].trim(); - animations[1] = animations[1].trim(); - - this.totoggle.css('animation-duration', this.options.duration+'ms'); - - if (this.totoggle.hasClass(this.options.cls)) { - - this.totoggle.toggleClass(this.options.cls); - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[0]).then(function(){ - UI.$(this).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }); - }); - - } else { - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[1]+' uk-animation-reverse').then(function(){ - UI.$(this).toggleClass($this.options.cls).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }.bind(this)); - }); - } - - } else { - this.totoggle.toggleClass(this.options.cls); - UI.Utils.checkDisplay(this.totoggle); - } - - this.updateAria(); - - }, - - getToggles: function() { - this.totoggle = this.options.target ? UI.$(this.options.target):[]; - this.updateAria(); - }, - - updateAria: function() { - if (this.aria && this.totoggle.length) { - this.totoggle.each(function(){ - UI.$(this).attr('aria-hidden', UI.$(this).hasClass('uk-hidden')); - }); - } - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/toggle.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/toggle.min.js deleted file mode 100644 index c2cf33258..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/toggle.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var i=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(s){t.$("[data-uk-toggle]",s).each(function(){var i=t.$(this);if(!i.data("toggle")){t.toggle(i,t.Utils.options(i.attr("data-uk-toggle")))}}),setTimeout(function(){i.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=-1!==this.options.cls.indexOf("uk-hidden"),this.getToggles(),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle()}),i.push(this)},toggle:function(){if(this.totoggle.length){if(this.options.animation&&t.support.animation){var i=this,s=this.options.animation.split(",");1==s.length&&(s[1]=s[0]),s[0]=s[0].trim(),s[1]=s[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.hasClass(this.options.cls)?(this.totoggle.toggleClass(this.options.cls),this.totoggle.each(function(){t.Utils.animate(this,s[0]).then(function(){t.$(this).css("animation-duration",""),t.Utils.checkDisplay(this)})})):this.totoggle.each(function(){t.Utils.animate(this,s[1]+" uk-animation-reverse").then(function(){t.$(this).toggleClass(i.options.cls).css("animation-duration",""),t.Utils.checkDisplay(this)}.bind(this))})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/touch.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/touch.js deleted file mode 100644 index 9afbce168..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/touch.js +++ /dev/null @@ -1,173 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -// Based on Zeptos touch.js -// https://raw.github.com/madrobby/zepto/master/src/touch.js -// Zepto.js may be freely distributed under the MIT license. - -;(function($){ - - if ($.fn.swipeLeft) { - return; - } - - - var touch = {}, touchTimeout, tapTimeout, swipeTimeout, longTapTimeout, longTapDelay = 750, gesture; - - function swipeDirection(x1, x2, y1, y2) { - return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down'); - } - - function longTap() { - longTapTimeout = null; - if (touch.last) { - touch.el.trigger('longTap'); - touch = {}; - } - } - - function cancelLongTap() { - if (longTapTimeout) clearTimeout(longTapTimeout); - longTapTimeout = null; - } - - function cancelAll() { - if (touchTimeout) clearTimeout(touchTimeout); - if (tapTimeout) clearTimeout(tapTimeout); - if (swipeTimeout) clearTimeout(swipeTimeout); - if (longTapTimeout) clearTimeout(longTapTimeout); - touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null; - touch = {}; - } - - function isPrimaryTouch(event){ - return event.pointerType == event.MSPOINTER_TYPE_TOUCH && event.isPrimary; - } - - $(function(){ - var now, delta, deltaX = 0, deltaY = 0, firstTouch; - - if ('MSGesture' in window) { - gesture = new MSGesture(); - gesture.target = document.body; - } - - $(document) - .on('MSGestureEnd gestureend', function(e){ - - var swipeDirectionFromVelocity = e.originalEvent.velocityX > 1 ? 'Right' : e.originalEvent.velocityX < -1 ? 'Left' : e.originalEvent.velocityY > 1 ? 'Down' : e.originalEvent.velocityY < -1 ? 'Up' : null; - - if (swipeDirectionFromVelocity) { - touch.el.trigger('swipe'); - touch.el.trigger('swipe'+ swipeDirectionFromVelocity); - } - }) - // MSPointerDown: for IE10 - // pointerdown: for IE11 - .on('touchstart MSPointerDown pointerdown', function(e){ - - if(e.type == 'MSPointerDown' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerDown' || e.type == 'pointerdown') ? e : e.originalEvent.touches[0]; - - now = Date.now(); - delta = now - (touch.last || now); - touch.el = $('tagName' in firstTouch.target ? firstTouch.target : firstTouch.target.parentNode); - - if(touchTimeout) clearTimeout(touchTimeout); - - touch.x1 = firstTouch.pageX; - touch.y1 = firstTouch.pageY; - - if (delta > 0 && delta <= 250) touch.isDoubleTap = true; - - touch.last = now; - longTapTimeout = setTimeout(longTap, longTapDelay); - - // adds the current touch contact for IE gesture recognition - if (gesture && ( e.type == 'MSPointerDown' || e.type == 'pointerdown' || e.type == 'touchstart' ) ) { - gesture.addPointer(e.originalEvent.pointerId); - } - - }) - // MSPointerMove: for IE10 - // pointermove: for IE11 - .on('touchmove MSPointerMove pointermove', function(e){ - - if (e.type == 'MSPointerMove' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerMove' || e.type == 'pointermove') ? e : e.originalEvent.touches[0]; - - cancelLongTap(); - touch.x2 = firstTouch.pageX; - touch.y2 = firstTouch.pageY; - - deltaX += Math.abs(touch.x1 - touch.x2); - deltaY += Math.abs(touch.y1 - touch.y2); - }) - // MSPointerUp: for IE10 - // pointerup: for IE11 - .on('touchend MSPointerUp pointerup', function(e){ - - if (e.type == 'MSPointerUp' && !isPrimaryTouch(e.originalEvent)) return; - - cancelLongTap(); - - // swipe - if ((touch.x2 && Math.abs(touch.x1 - touch.x2) > 30) || (touch.y2 && Math.abs(touch.y1 - touch.y2) > 30)){ - - swipeTimeout = setTimeout(function() { - touch.el.trigger('swipe'); - touch.el.trigger('swipe' + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2))); - touch = {}; - }, 0); - - // normal tap - } else if ('last' in touch) { - - // don't fire tap when delta position changed by more than 30 pixels, - // for instance when moving to a point and back to origin - if (isNaN(deltaX) || (deltaX < 30 && deltaY < 30)) { - // delay by one tick so we can cancel the 'tap' event if 'scroll' fires - // ('tap' fires before 'scroll') - tapTimeout = setTimeout(function() { - - // trigger universal 'tap' with the option to cancelTouch() - // (cancelTouch cancels processing of single vs double taps for faster 'tap' response) - var event = $.Event('tap'); - event.cancelTouch = cancelAll; - touch.el.trigger(event); - - // trigger double tap immediately - if (touch.isDoubleTap) { - touch.el.trigger('doubleTap'); - touch = {}; - } - - // trigger single tap after 250ms of inactivity - else { - touchTimeout = setTimeout(function(){ - touchTimeout = null; - touch.el.trigger('singleTap'); - touch = {}; - }, 250); - } - }, 0); - } else { - touch = {}; - } - deltaX = deltaY = 0; - } - }) - // when the browser window loses focus, - // for example when a modal dialog is shown, - // cancel all ongoing events - .on('touchcancel MSPointerCancel', cancelAll); - - // scrolling the window indicates intention of the user - // to scroll, not tap or swipe, so cancel all ongoing events - $(window).on('scroll', cancelAll); - }); - - ['swipe', 'swipeLeft', 'swipeRight', 'swipeUp', 'swipeDown', 'doubleTap', 'tap', 'singleTap', 'longTap'].forEach(function(eventName){ - $.fn[eventName] = function(callback){ return $(this).on(eventName, callback); }; - }); -})(jQuery); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/touch.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/touch.min.js deleted file mode 100644 index a2ef7ded7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/touch.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(e){function t(e,t,n,o){return Math.abs(e-t)>=Math.abs(n-o)?e-t>0?"Left":"Right":n-o>0?"Up":"Down"}function n(){p=null,g.last&&(g.el.trigger("longTap"),g={})}function o(){p&&clearTimeout(p),p=null}function i(){a&&clearTimeout(a),l&&clearTimeout(l),u&&clearTimeout(u),p&&clearTimeout(p),a=l=u=p=null,g={}}function r(e){return e.pointerType==e.MSPOINTER_TYPE_TOUCH&&e.isPrimary}if(!e.fn.swipeLeft){var a,l,u,p,c,g={},s=750;e(function(){var y,w,v,f=0,M=0;"MSGesture"in window&&(c=new MSGesture,c.target=document.body),e(document).on("MSGestureEnd gestureend",function(e){var t=e.originalEvent.velocityX>1?"Right":e.originalEvent.velocityX<-1?"Left":e.originalEvent.velocityY>1?"Down":e.originalEvent.velocityY<-1?"Up":null;t&&(g.el.trigger("swipe"),g.el.trigger("swipe"+t))}).on("touchstart MSPointerDown pointerdown",function(t){("MSPointerDown"!=t.type||r(t.originalEvent))&&(v="MSPointerDown"==t.type||"pointerdown"==t.type?t:t.originalEvent.touches[0],y=Date.now(),w=y-(g.last||y),g.el=e("tagName"in v.target?v.target:v.target.parentNode),a&&clearTimeout(a),g.x1=v.pageX,g.y1=v.pageY,w>0&&250>=w&&(g.isDoubleTap=!0),g.last=y,p=setTimeout(n,s),!c||"MSPointerDown"!=t.type&&"pointerdown"!=t.type&&"touchstart"!=t.type||c.addPointer(t.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(e){("MSPointerMove"!=e.type||r(e.originalEvent))&&(v="MSPointerMove"==e.type||"pointermove"==e.type?e:e.originalEvent.touches[0],o(),g.x2=v.pageX,g.y2=v.pageY,f+=Math.abs(g.x1-g.x2),M+=Math.abs(g.y1-g.y2))}).on("touchend MSPointerUp pointerup",function(n){("MSPointerUp"!=n.type||r(n.originalEvent))&&(o(),g.x2&&Math.abs(g.x1-g.x2)>30||g.y2&&Math.abs(g.y1-g.y2)>30?u=setTimeout(function(){g.el.trigger("swipe"),g.el.trigger("swipe"+t(g.x1,g.x2,g.y1,g.y2)),g={}},0):"last"in g&&(isNaN(f)||30>f&&30>M?l=setTimeout(function(){var t=e.Event("tap");t.cancelTouch=i,g.el.trigger(t),g.isDoubleTap?(g.el.trigger("doubleTap"),g={}):a=setTimeout(function(){a=null,g.el.trigger("singleTap"),g={}},250)},0):g={},f=M=0))}).on("touchcancel MSPointerCancel",i),e(window).on("scroll",i)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(t){e.fn[t]=function(n){return e(this).on(t,n)}})}}(jQuery); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/utility.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/utility.js deleted file mode 100644 index 0d423a648..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/utility.js +++ /dev/null @@ -1,243 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(UI) { - - "use strict"; - - var stacks = []; - - UI.component('stackMargin', { - - defaults: { - 'cls': 'uk-margin-small-top' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-margin]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("stackMargin")) { - obj = UI.stackMargin(ele, UI.Utils.options(ele.attr("data-uk-margin"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - - if (!this.columns.length) return; - - UI.$win.on('resize orientationchange', (function() { - - var fn = function() { - $this.process(); - }; - - UI.$(function() { - fn(); - UI.$win.on("load", fn); - }); - - return UI.Utils.debounce(fn, 20); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.process(); - }); - - this.on("display.uk.check", function(e) { - $this.columns = $this.element.children(); - if (this.element.is(":visible")) this.process(); - }.bind(this)); - - stacks.push(this); - }, - - process: function() { - - var $this = this; - - UI.Utils.stackMargin(this.columns, this.options); - - return this; - }, - - revert: function() { - this.columns.removeClass(this.options.cls); - return this; - } - }); - - - // responsive element e.g. iframes - - (function(){ - - var elements = [], check = function(ele) { - - if (!ele.is(':visible')) return; - - var width = ele.parent().width(), - iwidth = ele.data('width'), - ratio = (width / iwidth), - height = Math.floor(ratio * ele.data('height')); - - ele.css({'height': (width < iwidth) ? height : ele.data('height')}); - }; - - UI.component('responsiveElement', { - - defaults: {}, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("iframe.uk-responsive-width, [data-uk-responsive]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("responsiveIframe")) { - obj = UI.responsiveElement(ele, {}); - } - }); - }); - }, - - init: function() { - - var ele = this.element; - - if (ele.attr('width') && ele.attr('height')) { - - ele.data({ - - 'width' : ele.attr('width'), - 'height': ele.attr('height') - - }).on('display.uk.check', function(){ - check(ele); - }); - - check(ele); - - elements.push(ele); - } - } - }); - - UI.$win.on('resize load', UI.Utils.debounce(function(){ - - elements.forEach(function(ele){ - check(ele); - }); - - }, 15)); - - })(); - - - - // helper - - UI.Utils.stackMargin = function(elements, options) { - - options = UI.$.extend({ - 'cls': 'uk-margin-small-top' - }, options); - - options.cls = options.cls; - - elements = UI.$(elements).removeClass(options.cls); - - var skip = false, - firstvisible = elements.filter(":visible:first"), - offset = firstvisible.length ? (firstvisible.position().top + firstvisible.outerHeight()) - 1 : false; // (-1): weird firefox bug when parent container is display:flex - - if (offset === false) return; - - elements.each(function() { - - var column = UI.$(this); - - if (column.is(":visible")) { - - if (skip) { - column.addClass(options.cls); - } else { - - if (column.position().top >= offset) { - skip = column.addClass(options.cls); - } - } - } - }); - }; - - UI.Utils.matchHeights = function(elements, options) { - - elements = UI.$(elements).css('min-height', ''); - options = UI.$.extend({ row : true }, options); - - var matchHeights = function(group){ - - if (group.length < 2) return; - - var max = 0; - - group.each(function() { - max = Math.max(max, UI.$(this).outerHeight()); - }).each(function() { - - var element = UI.$(this), - height = max - (element.css('box-sizing') == 'border-box' ? 0 : (element.outerHeight() - element.height())); - - element.css('min-height', height + 'px'); - }); - }; - - if (options.row) { - - elements.first().width(); // force redraw - - setTimeout(function(){ - - var lastoffset = false, group = []; - - elements.each(function() { - - var ele = UI.$(this), offset = ele.offset().top; - - if (offset != lastoffset && group.length) { - - matchHeights(UI.$(group)); - group = []; - offset = ele.offset().top; - } - - group.push(ele); - lastoffset = offset; - }); - - if (group.length) { - matchHeights(UI.$(group)); - } - - }, 0); - - } else { - matchHeights(elements); - } - }; - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/utility.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/utility.min.js deleted file mode 100644 index 708970907..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/core/utility.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){"use strict";var i=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top"},boot:function(){t.ready(function(i){t.$("[data-uk-margin]",i).each(function(){var i,n=t.$(this);n.data("stackMargin")||(i=t.stackMargin(n,t.Utils.options(n.attr("data-uk-margin"))))})})},init:function(){var n=this;this.columns=this.element.children(),this.columns.length&&(t.$win.on("resize orientationchange",function(){var i=function(){n.process()};return t.$(function(){i(),t.$win.on("load",i)}),t.Utils.debounce(i,20)}()),t.$html.on("changed.uk.dom",function(){n.columns=n.element.children(),n.process()}),this.on("display.uk.check",function(){n.columns=n.element.children(),this.element.is(":visible")&&this.process()}.bind(this)),i.push(this))},process:function(){return t.Utils.stackMargin(this.columns,this.options),this},revert:function(){return this.columns.removeClass(this.options.cls),this}}),function(){var i=[],n=function(t){if(t.is(":visible")){var i=t.parent().width(),n=t.data("width"),s=i/n,e=Math.floor(s*t.data("height"));t.css({height:n>i?e:t.data("height")})}};t.component("responsiveElement",{defaults:{},boot:function(){t.ready(function(i){t.$("iframe.uk-responsive-width, [data-uk-responsive]",i).each(function(){var i,n=t.$(this);n.data("responsiveIframe")||(i=t.responsiveElement(n,{}))})})},init:function(){var t=this.element;t.attr("width")&&t.attr("height")&&(t.data({width:t.attr("width"),height:t.attr("height")}).on("display.uk.check",function(){n(t)}),n(t),i.push(t))}}),t.$win.on("resize load",t.Utils.debounce(function(){i.forEach(function(t){n(t)})},15))}(),t.Utils.stackMargin=function(i,n){n=t.$.extend({cls:"uk-margin-small-top"},n),n.cls=n.cls,i=t.$(i).removeClass(n.cls);var s=!1,e=i.filter(":visible:first"),o=e.length?e.position().top+e.outerHeight()-1:!1;o!==!1&&i.each(function(){var i=t.$(this);i.is(":visible")&&(s?i.addClass(n.cls):i.position().top>=o&&(s=i.addClass(n.cls)))})},t.Utils.matchHeights=function(i,n){i=t.$(i).css("min-height",""),n=t.$.extend({row:!0},n);var s=function(i){if(!(i.length<2)){var n=0;i.each(function(){n=Math.max(n,t.$(this).outerHeight())}).each(function(){var i=t.$(this),s=n-("border-box"==i.css("box-sizing")?0:i.outerHeight()-i.height());i.css("min-height",s+"px")})}};n.row?(i.first().width(),setTimeout(function(){var n=!1,e=[];i.each(function(){var i=t.$(this),o=i.offset().top;o!=n&&e.length&&(s(t.$(e)),e=[],o=i.offset().top),e.push(i),n=o}),e.length&&s(t.$(e))},0)):s(i)}}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/uikit.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/uikit.js deleted file mode 100644 index bce6f80a7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/uikit.js +++ /dev/null @@ -1,3400 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -(function(core) { - - if (typeof define == "function" && define.amd) { // AMD - - define("uikit", function(){ - - var uikit = window.UIkit || core(window, window.jQuery, window.document); - - uikit.load = function(res, req, onload, config) { - - var resources = res.split(','), load = [], i, base = (config.config && config.config.uikit && config.config.uikit.base ? config.config.uikit.base : "").replace(/\/+$/g, ""); - - if (!base) { - throw new Error( "Please define base path to UIkit in the requirejs config." ); - } - - for (i = 0; i < resources.length; i += 1) { - var resource = resources[i].replace(/\./g, '/'); - load.push(base+'/components/'+resource); - } - - req(load, function() { - onload(uikit); - }); - }; - - return uikit; - }); - } - - if (!window.jQuery) { - throw new Error( "UIkit requires jQuery" ); - } - - if (window && window.jQuery) { - core(window, window.jQuery, window.document); - } - - -})(function(global, $, doc) { - - "use strict"; - - var UI = {}, _UI = global.UIkit ? Object.create(global.UIkit) : undefined; - - UI.version = '2.21.0'; - - UI.noConflict = function() { - // restore UIkit version - if (_UI) { - global.UIkit = _UI; - $.UIkit = _UI; - $.fn.uk = _UI.fn; - } - - return UI; - }; - - UI.prefix = function(str) { - return str; - }; - - // cache jQuery - UI.$ = $; - - UI.$doc = UI.$(document); - UI.$win = UI.$(window); - UI.$html = UI.$('html'); - - UI.support = {}; - UI.support.transition = (function() { - - var transitionEnd = (function() { - - var element = doc.body || doc.documentElement, - transEndEventNames = { - WebkitTransition : 'webkitTransitionEnd', - MozTransition : 'transitionend', - OTransition : 'oTransitionEnd otransitionend', - transition : 'transitionend' - }, name; - - for (name in transEndEventNames) { - if (element.style[name] !== undefined) return transEndEventNames[name]; - } - }()); - - return transitionEnd && { end: transitionEnd }; - })(); - - UI.support.animation = (function() { - - var animationEnd = (function() { - - var element = doc.body || doc.documentElement, - animEndEventNames = { - WebkitAnimation : 'webkitAnimationEnd', - MozAnimation : 'animationend', - OAnimation : 'oAnimationEnd oanimationend', - animation : 'animationend' - }, name; - - for (name in animEndEventNames) { - if (element.style[name] !== undefined) return animEndEventNames[name]; - } - }()); - - return animationEnd && { end: animationEnd }; - })(); - - // requestAnimationFrame polyfill - // https://gist.github.com/paulirish/1579671 - (function(){ - - var lastTime = 0; - - global.requestAnimationFrame = global.requestAnimationFrame || global.webkitRequestAnimationFrame || function(callback, element) { - var currTime = new Date().getTime(); - var timeToCall = Math.max(0, 16 - (currTime - lastTime)); - var id = global.setTimeout(function() { callback(currTime + timeToCall); }, timeToCall); - lastTime = currTime + timeToCall; - return id; - }; - - if (!global.cancelAnimationFrame) { - - global.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - } - - })(); - - UI.support.touch = ( - ('ontouchstart' in document) || - (global.DocumentTouch && document instanceof global.DocumentTouch) || - (global.navigator.msPointerEnabled && global.navigator.msMaxTouchPoints > 0) || //IE 10 - (global.navigator.pointerEnabled && global.navigator.maxTouchPoints > 0) || //IE >=11 - false - ); - - UI.support.mutationobserver = (global.MutationObserver || global.WebKitMutationObserver || null); - - UI.Utils = {}; - - UI.Utils.isFullscreen = function() { - return document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement || document.fullscreenElement || false; - }; - - UI.Utils.str2json = function(str, notevil) { - try { - if (notevil) { - return JSON.parse(str - // wrap keys without quote with valid double quote - .replace(/([\$\w]+)\s*:/g, function(_, $1){return '"'+$1+'":';}) - // replacing single quote wrapped ones to double quote - .replace(/'([^']+)'/g, function(_, $1){return '"'+$1+'"';}) - ); - } else { - return (new Function("", "var json = " + str + "; return JSON.parse(JSON.stringify(json));"))(); - } - } catch(e) { return false; } - }; - - UI.Utils.debounce = function(func, wait, immediate) { - var timeout; - return function() { - var context = this, args = arguments; - var later = function() { - timeout = null; - if (!immediate) func.apply(context, args); - }; - var callNow = immediate && !timeout; - clearTimeout(timeout); - timeout = setTimeout(later, wait); - if (callNow) func.apply(context, args); - }; - }; - - UI.Utils.removeCssRules = function(selectorRegEx) { - var idx, idxs, stylesheet, _i, _j, _k, _len, _len1, _len2, _ref; - - if(!selectorRegEx) return; - - setTimeout(function(){ - try { - _ref = document.styleSheets; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - stylesheet = _ref[_i]; - idxs = []; - stylesheet.cssRules = stylesheet.cssRules; - for (idx = _j = 0, _len1 = stylesheet.cssRules.length; _j < _len1; idx = ++_j) { - if (stylesheet.cssRules[idx].type === CSSRule.STYLE_RULE && selectorRegEx.test(stylesheet.cssRules[idx].selectorText)) { - idxs.unshift(idx); - } - } - for (_k = 0, _len2 = idxs.length; _k < _len2; _k++) { - stylesheet.deleteRule(idxs[_k]); - } - } - } catch (_error) {} - }, 0); - }; - - UI.Utils.isInView = function(element, options) { - - var $element = $(element); - - if (!$element.is(':visible')) { - return false; - } - - var window_left = UI.$win.scrollLeft(), window_top = UI.$win.scrollTop(), offset = $element.offset(), left = offset.left, top = offset.top; - - options = $.extend({topoffset:0, leftoffset:0}, options); - - if (top + $element.height() >= window_top && top - options.topoffset <= window_top + UI.$win.height() && - left + $element.width() >= window_left && left - options.leftoffset <= window_left + UI.$win.width()) { - return true; - } else { - return false; - } - }; - - UI.Utils.checkDisplay = function(context, initanimation) { - - var elements = UI.$('[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]', context || document), animated; - - if (context && !elements.length) { - elements = $(context); - } - - elements.trigger('display.uk.check'); - - // fix firefox / IE animations - if (initanimation) { - - if (typeof(initanimation)!='string') { - initanimation = '[class*="uk-animation-"]'; - } - - elements.find(initanimation).each(function(){ - - var ele = UI.$(this), - cls = ele.attr('class'), - anim = cls.match(/uk\-animation\-(.+)/); - - ele.removeClass(anim[0]).width(); - - ele.addClass(anim[0]); - }); - } - - return elements; - }; - - UI.Utils.options = function(string) { - - if ($.isPlainObject(string)) return string; - - var start = (string ? string.indexOf("{") : -1), options = {}; - - if (start != -1) { - try { - options = UI.Utils.str2json(string.substr(start)); - } catch (e) {} - } - - return options; - }; - - UI.Utils.animate = function(element, cls) { - - var d = $.Deferred(); - - element = UI.$(element); - cls = cls; - - element.css('display', 'none').addClass(cls).one(UI.support.animation.end, function() { - element.removeClass(cls); - d.resolve(); - }).width(); - - element.css('display', ''); - - return d.promise(); - }; - - UI.Utils.uid = function(prefix) { - return (prefix || 'id') + (new Date().getTime())+"RAND"+(Math.ceil(Math.random() * 100000)); - }; - - UI.Utils.template = function(str, data) { - - var tokens = str.replace(/\n/g, '\\n').replace(/\{\{\{\s*(.+?)\s*\}\}\}/g, "{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g), - i=0, toc, cmd, prop, val, fn, output = [], openblocks = 0; - - while(i < tokens.length) { - - toc = tokens[i]; - - if(toc.match(/\{\{\s*(.+?)\s*\}\}/)) { - i = i + 1; - toc = tokens[i]; - cmd = toc[0]; - prop = toc.substring(toc.match(/^(\^|\#|\!|\~|\:)/) ? 1:0); - - switch(cmd) { - case '~': - output.push("for(var $i=0;$i<"+prop+".length;$i++) { var $item = "+prop+"[$i];"); - openblocks++; - break; - case ':': - output.push("for(var $key in "+prop+") { var $val = "+prop+"[$key];"); - openblocks++; - break; - case '#': - output.push("if("+prop+") {"); - openblocks++; - break; - case '^': - output.push("if(!"+prop+") {"); - openblocks++; - break; - case '/': - output.push("}"); - openblocks--; - break; - case '!': - output.push("__ret.push("+prop+");"); - break; - default: - output.push("__ret.push(escape("+prop+"));"); - break; - } - } else { - output.push("__ret.push('"+toc.replace(/\'/g, "\\'")+"');"); - } - i = i + 1; - } - - fn = new Function('$data', [ - 'var __ret = [];', - 'try {', - 'with($data){', (!openblocks ? output.join('') : '__ret = ["Not all blocks are closed correctly."]'), '};', - '}catch(e){__ret = [e.message];}', - 'return __ret.join("").replace(/\\n\\n/g, "\\n");', - "function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}" - ].join("\n")); - - return data ? fn(data) : fn; - }; - - UI.Utils.events = {}; - UI.Utils.events.click = UI.support.touch ? 'tap' : 'click'; - - global.UIkit = UI; - - // deprecated - - UI.fn = function(command, options) { - - var args = arguments, cmd = command.match(/^([a-z\-]+)(?:\.([a-z]+))?/i), component = cmd[1], method = cmd[2]; - - if (!UI[component]) { - $.error("UIkit component [" + component + "] does not exist."); - return this; - } - - return this.each(function() { - var $this = $(this), data = $this.data(component); - if (!data) $this.data(component, (data = UI[component](this, method ? undefined : options))); - if (method) data[method].apply(data, Array.prototype.slice.call(args, 1)); - }); - }; - - $.UIkit = UI; - $.fn.uk = UI.fn; - - UI.langdirection = UI.$html.attr("dir") == "rtl" ? "right" : "left"; - - UI.components = {}; - - UI.component = function(name, def) { - - var fn = function(element, options) { - - var $this = this; - - this.UIkit = UI; - this.element = element ? UI.$(element) : null; - this.options = $.extend(true, {}, this.defaults, options); - this.plugins = {}; - - if (this.element) { - this.element.data(name, this); - } - - this.init(); - - (this.options.plugins.length ? this.options.plugins : Object.keys(fn.plugins)).forEach(function(plugin) { - - if (fn.plugins[plugin].init) { - fn.plugins[plugin].init($this); - $this.plugins[plugin] = true; - } - - }); - - this.trigger('init.uk.component', [name, this]); - - return this; - }; - - fn.plugins = {}; - - $.extend(true, fn.prototype, { - - defaults : {plugins: []}, - - boot: function(){}, - init: function(){}, - - on: function(a1,a2,a3){ - return UI.$(this.element || this).on(a1,a2,a3); - }, - - one: function(a1,a2,a3){ - return UI.$(this.element || this).one(a1,a2,a3); - }, - - off: function(evt){ - return UI.$(this.element || this).off(evt); - }, - - trigger: function(evt, params) { - return UI.$(this.element || this).trigger(evt, params); - }, - - find: function(selector) { - return UI.$(this.element ? this.element: []).find(selector); - }, - - proxy: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = function() { return obj[method].apply(obj, arguments); }; - }); - }, - - mixin: function(obj, methods) { - - var $this = this; - - methods.split(' ').forEach(function(method) { - if (!$this[method]) $this[method] = obj[method].bind($this); - }); - }, - - option: function() { - - if (arguments.length == 1) { - return this.options[arguments[0]] || undefined; - } else if (arguments.length == 2) { - this.options[arguments[0]] = arguments[1]; - } - } - - }, def); - - this.components[name] = fn; - - this[name] = function() { - - var element, options; - - if (arguments.length) { - - switch(arguments.length) { - case 1: - - if (typeof arguments[0] === "string" || arguments[0].nodeType || arguments[0] instanceof jQuery) { - element = $(arguments[0]); - } else { - options = arguments[0]; - } - - break; - case 2: - - element = $(arguments[0]); - options = arguments[1]; - break; - } - } - - if (element && element.data(name)) { - return element.data(name); - } - - return (new UI.components[name](element, options)); - }; - - if (UI.domready) { - UI.component.boot(name); - } - - return fn; - }; - - UI.plugin = function(component, name, def) { - this.components[component].plugins[name] = def; - }; - - UI.component.boot = function(name) { - - if (UI.components[name].prototype && UI.components[name].prototype.boot && !UI.components[name].booted) { - UI.components[name].prototype.boot.apply(UI, []); - UI.components[name].booted = true; - } - }; - - UI.component.bootComponents = function() { - - for (var component in UI.components) { - UI.component.boot(component); - } - }; - - - // DOM mutation save ready helper function - - UI.domObservers = []; - UI.domready = false; - - UI.ready = function(fn) { - - UI.domObservers.push(fn); - - if (UI.domready) { - fn(document); - } - }; - - UI.on = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - } - - return UI.$doc.on(a1,a2,a3); - }; - - UI.one = function(a1,a2,a3){ - - if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { - a2.apply(UI.$doc); - return UI.$doc; - } - - return UI.$doc.one(a1,a2,a3); - }; - - UI.trigger = function(evt, params) { - return UI.$doc.trigger(evt, params); - }; - - UI.domObserve = function(selector, fn) { - - if(!UI.support.mutationobserver) return; - - fn = fn || function() {}; - - UI.$(selector).each(function() { - - var element = this, - $element = UI.$(element); - - if ($element.data('observer')) { - return; - } - - try { - - var observer = new UI.support.mutationobserver(UI.Utils.debounce(function(mutations) { - fn.apply(element, []); - $element.trigger('changed.uk.dom'); - }, 50)); - - // pass in the target node, as well as the observer options - observer.observe(element, { childList: true, subtree: true }); - - $element.data('observer', observer); - - } catch(e) {} - }); - }; - - UI.init = function(root) { - - root = root || document; - - UI.domObservers.forEach(function(fn){ - fn(root); - }); - }; - - UI.on('domready.uk.dom', function(){ - - UI.init(); - - if (UI.domready) UI.Utils.checkDisplay(); - }); - - $(function(){ - - UI.$body = UI.$('body'); - - UI.ready(function(context){ - UI.domObserve('[data-uk-observe]'); - }); - - UI.on('changed.uk.dom', function(e) { - UI.init(e.target); - UI.Utils.checkDisplay(e.target); - }); - - UI.trigger('beforeready.uk.dom'); - - UI.component.bootComponents(); - - // custom scroll observer - setInterval((function(){ - - var memory = {x: window.pageXOffset, y:window.pageYOffset}, dir; - - var fn = function(){ - - if (memory.x != window.pageXOffset || memory.y != window.pageYOffset) { - - dir = {x: 0 , y: 0}; - - if (window.pageXOffset != memory.x) dir.x = window.pageXOffset > memory.x ? 1:-1; - if (window.pageYOffset != memory.y) dir.y = window.pageYOffset > memory.y ? 1:-1; - - memory = { - "dir": dir, "x": window.pageXOffset, "y": window.pageYOffset - }; - - UI.$doc.trigger('scrolling.uk.document', [memory]); - } - }; - - if (UI.support.touch) { - UI.$html.on('touchmove touchend MSPointerMove MSPointerUp pointermove pointerup', fn); - } - - if (memory.x || memory.y) fn(); - - return fn; - - })(), 15); - - // run component init functions on dom - UI.trigger('domready.uk.dom'); - - if (UI.support.touch) { - - // remove css hover rules for touch devices - // UI.Utils.removeCssRules(/\.uk-(?!navbar).*:hover/); - - // viewport unit fix for uk-height-viewport - should be fixed in iOS 8 - if (navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) { - - UI.$win.on('load orientationchange resize', UI.Utils.debounce((function(){ - - var fn = function() { - $('.uk-height-viewport').css('height', window.innerHeight); - return fn; - }; - - return fn(); - - })(), 100)); - } - } - - UI.trigger('afterready.uk.dom'); - - // mark that domready is left behind - UI.domready = true; - }); - - // add touch identifier class - UI.$html.addClass(UI.support.touch ? "uk-touch" : "uk-notouch"); - - // add uk-hover class on tap to support overlays on touch devices - if (UI.support.touch) { - - var hoverset = false, exclude, hovercls = 'uk-hover', selector = '.uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover'; - - UI.$html.on('touchstart MSPointerDown pointerdown', selector, function() { - - if (hoverset) $('.'+hovercls).removeClass(hovercls); - - hoverset = $(this).addClass(hovercls); - - }).on('touchend MSPointerUp pointerup', function(e) { - - exclude = $(e.target).parents(selector); - - if (hoverset) { - hoverset.not(exclude).removeClass(hovercls); - } - }); - } - - return UI; -}); - -// Based on Zeptos touch.js -// https://raw.github.com/madrobby/zepto/master/src/touch.js -// Zepto.js may be freely distributed under the MIT license. - -;(function($){ - - if ($.fn.swipeLeft) { - return; - } - - - var touch = {}, touchTimeout, tapTimeout, swipeTimeout, longTapTimeout, longTapDelay = 750, gesture; - - function swipeDirection(x1, x2, y1, y2) { - return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down'); - } - - function longTap() { - longTapTimeout = null; - if (touch.last) { - touch.el.trigger('longTap'); - touch = {}; - } - } - - function cancelLongTap() { - if (longTapTimeout) clearTimeout(longTapTimeout); - longTapTimeout = null; - } - - function cancelAll() { - if (touchTimeout) clearTimeout(touchTimeout); - if (tapTimeout) clearTimeout(tapTimeout); - if (swipeTimeout) clearTimeout(swipeTimeout); - if (longTapTimeout) clearTimeout(longTapTimeout); - touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null; - touch = {}; - } - - function isPrimaryTouch(event){ - return event.pointerType == event.MSPOINTER_TYPE_TOUCH && event.isPrimary; - } - - $(function(){ - var now, delta, deltaX = 0, deltaY = 0, firstTouch; - - if ('MSGesture' in window) { - gesture = new MSGesture(); - gesture.target = document.body; - } - - $(document) - .on('MSGestureEnd gestureend', function(e){ - - var swipeDirectionFromVelocity = e.originalEvent.velocityX > 1 ? 'Right' : e.originalEvent.velocityX < -1 ? 'Left' : e.originalEvent.velocityY > 1 ? 'Down' : e.originalEvent.velocityY < -1 ? 'Up' : null; - - if (swipeDirectionFromVelocity) { - touch.el.trigger('swipe'); - touch.el.trigger('swipe'+ swipeDirectionFromVelocity); - } - }) - // MSPointerDown: for IE10 - // pointerdown: for IE11 - .on('touchstart MSPointerDown pointerdown', function(e){ - - if(e.type == 'MSPointerDown' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerDown' || e.type == 'pointerdown') ? e : e.originalEvent.touches[0]; - - now = Date.now(); - delta = now - (touch.last || now); - touch.el = $('tagName' in firstTouch.target ? firstTouch.target : firstTouch.target.parentNode); - - if(touchTimeout) clearTimeout(touchTimeout); - - touch.x1 = firstTouch.pageX; - touch.y1 = firstTouch.pageY; - - if (delta > 0 && delta <= 250) touch.isDoubleTap = true; - - touch.last = now; - longTapTimeout = setTimeout(longTap, longTapDelay); - - // adds the current touch contact for IE gesture recognition - if (gesture && ( e.type == 'MSPointerDown' || e.type == 'pointerdown' || e.type == 'touchstart' ) ) { - gesture.addPointer(e.originalEvent.pointerId); - } - - }) - // MSPointerMove: for IE10 - // pointermove: for IE11 - .on('touchmove MSPointerMove pointermove', function(e){ - - if (e.type == 'MSPointerMove' && !isPrimaryTouch(e.originalEvent)) return; - - firstTouch = (e.type == 'MSPointerMove' || e.type == 'pointermove') ? e : e.originalEvent.touches[0]; - - cancelLongTap(); - touch.x2 = firstTouch.pageX; - touch.y2 = firstTouch.pageY; - - deltaX += Math.abs(touch.x1 - touch.x2); - deltaY += Math.abs(touch.y1 - touch.y2); - }) - // MSPointerUp: for IE10 - // pointerup: for IE11 - .on('touchend MSPointerUp pointerup', function(e){ - - if (e.type == 'MSPointerUp' && !isPrimaryTouch(e.originalEvent)) return; - - cancelLongTap(); - - // swipe - if ((touch.x2 && Math.abs(touch.x1 - touch.x2) > 30) || (touch.y2 && Math.abs(touch.y1 - touch.y2) > 30)){ - - swipeTimeout = setTimeout(function() { - touch.el.trigger('swipe'); - touch.el.trigger('swipe' + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2))); - touch = {}; - }, 0); - - // normal tap - } else if ('last' in touch) { - - // don't fire tap when delta position changed by more than 30 pixels, - // for instance when moving to a point and back to origin - if (isNaN(deltaX) || (deltaX < 30 && deltaY < 30)) { - // delay by one tick so we can cancel the 'tap' event if 'scroll' fires - // ('tap' fires before 'scroll') - tapTimeout = setTimeout(function() { - - // trigger universal 'tap' with the option to cancelTouch() - // (cancelTouch cancels processing of single vs double taps for faster 'tap' response) - var event = $.Event('tap'); - event.cancelTouch = cancelAll; - touch.el.trigger(event); - - // trigger double tap immediately - if (touch.isDoubleTap) { - touch.el.trigger('doubleTap'); - touch = {}; - } - - // trigger single tap after 250ms of inactivity - else { - touchTimeout = setTimeout(function(){ - touchTimeout = null; - touch.el.trigger('singleTap'); - touch = {}; - }, 250); - } - }, 0); - } else { - touch = {}; - } - deltaX = deltaY = 0; - } - }) - // when the browser window loses focus, - // for example when a modal dialog is shown, - // cancel all ongoing events - .on('touchcancel MSPointerCancel', cancelAll); - - // scrolling the window indicates intention of the user - // to scroll, not tap or swipe, so cancel all ongoing events - $(window).on('scroll', cancelAll); - }); - - ['swipe', 'swipeLeft', 'swipeRight', 'swipeUp', 'swipeDown', 'doubleTap', 'tap', 'singleTap', 'longTap'].forEach(function(eventName){ - $.fn[eventName] = function(callback){ return $(this).on(eventName, callback); }; - }); -})(jQuery); - -(function(UI) { - - "use strict"; - - var stacks = []; - - UI.component('stackMargin', { - - defaults: { - 'cls': 'uk-margin-small-top' - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-margin]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("stackMargin")) { - obj = UI.stackMargin(ele, UI.Utils.options(ele.attr("data-uk-margin"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - - if (!this.columns.length) return; - - UI.$win.on('resize orientationchange', (function() { - - var fn = function() { - $this.process(); - }; - - UI.$(function() { - fn(); - UI.$win.on("load", fn); - }); - - return UI.Utils.debounce(fn, 20); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.process(); - }); - - this.on("display.uk.check", function(e) { - $this.columns = $this.element.children(); - if (this.element.is(":visible")) this.process(); - }.bind(this)); - - stacks.push(this); - }, - - process: function() { - - var $this = this; - - UI.Utils.stackMargin(this.columns, this.options); - - return this; - }, - - revert: function() { - this.columns.removeClass(this.options.cls); - return this; - } - }); - - - // responsive element e.g. iframes - - (function(){ - - var elements = [], check = function(ele) { - - if (!ele.is(':visible')) return; - - var width = ele.parent().width(), - iwidth = ele.data('width'), - ratio = (width / iwidth), - height = Math.floor(ratio * ele.data('height')); - - ele.css({'height': (width < iwidth) ? height : ele.data('height')}); - }; - - UI.component('responsiveElement', { - - defaults: {}, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("iframe.uk-responsive-width, [data-uk-responsive]", context).each(function() { - - var ele = UI.$(this), obj; - - if (!ele.data("responsiveIframe")) { - obj = UI.responsiveElement(ele, {}); - } - }); - }); - }, - - init: function() { - - var ele = this.element; - - if (ele.attr('width') && ele.attr('height')) { - - ele.data({ - - 'width' : ele.attr('width'), - 'height': ele.attr('height') - - }).on('display.uk.check', function(){ - check(ele); - }); - - check(ele); - - elements.push(ele); - } - } - }); - - UI.$win.on('resize load', UI.Utils.debounce(function(){ - - elements.forEach(function(ele){ - check(ele); - }); - - }, 15)); - - })(); - - - - // helper - - UI.Utils.stackMargin = function(elements, options) { - - options = UI.$.extend({ - 'cls': 'uk-margin-small-top' - }, options); - - options.cls = options.cls; - - elements = UI.$(elements).removeClass(options.cls); - - var skip = false, - firstvisible = elements.filter(":visible:first"), - offset = firstvisible.length ? (firstvisible.position().top + firstvisible.outerHeight()) - 1 : false; // (-1): weird firefox bug when parent container is display:flex - - if (offset === false) return; - - elements.each(function() { - - var column = UI.$(this); - - if (column.is(":visible")) { - - if (skip) { - column.addClass(options.cls); - } else { - - if (column.position().top >= offset) { - skip = column.addClass(options.cls); - } - } - } - }); - }; - - UI.Utils.matchHeights = function(elements, options) { - - elements = UI.$(elements).css('min-height', ''); - options = UI.$.extend({ row : true }, options); - - var matchHeights = function(group){ - - if (group.length < 2) return; - - var max = 0; - - group.each(function() { - max = Math.max(max, UI.$(this).outerHeight()); - }).each(function() { - - var element = UI.$(this), - height = max - (element.css('box-sizing') == 'border-box' ? 0 : (element.outerHeight() - element.height())); - - element.css('min-height', height + 'px'); - }); - }; - - if (options.row) { - - elements.first().width(); // force redraw - - setTimeout(function(){ - - var lastoffset = false, group = []; - - elements.each(function() { - - var ele = UI.$(this), offset = ele.offset().top; - - if (offset != lastoffset && group.length) { - - matchHeights(UI.$(group)); - group = []; - offset = ele.offset().top; - } - - group.push(ele); - lastoffset = offset; - }); - - if (group.length) { - matchHeights(UI.$(group)); - } - - }, 0); - - } else { - matchHeights(elements); - } - }; - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('smoothScroll', { - - boot: function() { - - // init code - UI.$html.on("click.smooth-scroll.uikit", "[data-uk-smooth-scroll]", function(e) { - var ele = UI.$(this); - - if (!ele.data("smoothScroll")) { - var obj = UI.smoothScroll(ele, UI.Utils.options(ele.attr("data-uk-smooth-scroll"))); - ele.trigger("click"); - } - - return false; - }); - }, - - init: function() { - - var $this = this; - - this.on("click", function(e) { - e.preventDefault(); - scrollToElement(UI.$(this.hash).length ? UI.$(this.hash) : UI.$("body"), $this.options); - }); - } - }); - - function scrollToElement(ele, options) { - - options = UI.$.extend({ - duration: 1000, - transition: 'easeOutExpo', - offset: 0, - complete: function(){} - }, options); - - // get / set parameters - var target = ele.offset().top - options.offset, - docheight = UI.$doc.height(), - winheight = window.innerHeight; - - if ((target + winheight) > docheight) { - target = docheight - winheight; - } - - // animate to target, fire callback when done - UI.$("html,body").stop().animate({scrollTop: target}, options.duration, options.transition).promise().done(options.complete); - } - - UI.Utils.scrollToElement = scrollToElement; - - if (!UI.$.easing.easeOutExpo) { - UI.$.easing.easeOutExpo = function(x, t, b, c, d) { return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - var $win = UI.$win, - $doc = UI.$doc, - scrollspies = [], - checkScrollSpy = function() { - for(var i=0; i < scrollspies.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspies[i].check]); - } - }; - - UI.component('scrollspy', { - - defaults: { - "target" : false, - "cls" : "uk-scrollspy-inview", - "initcls" : "uk-scrollspy-init-inview", - "topoffset" : 0, - "leftoffset" : 0, - "repeat" : false, - "delay" : 0 - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpy); - $win.on("load resize orientationchange", UI.Utils.debounce(checkScrollSpy, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspy")) { - var obj = UI.scrollspy(element, UI.Utils.options(element.attr("data-uk-scrollspy"))); - } - }); - }); - }, - - init: function() { - - var $this = this, inviewstate, initinview, togglecls = this.options.cls.split(/,/), fn = function(){ - - var elements = $this.options.target ? $this.element.find($this.options.target) : $this.element, - delayIdx = elements.length === 1 ? 1 : 0, - toggleclsIdx = 0; - - elements.each(function(idx){ - - var element = UI.$(this), - inviewstate = element.data('inviewstate'), - inview = UI.Utils.isInView(element, $this.options), - toggle = element.data('ukScrollspyCls') || togglecls[toggleclsIdx].trim(); - - if (inview && !inviewstate && !element.data('scrollspy-idle')) { - - if (!initinview) { - element.addClass($this.options.initcls); - $this.offset = element.offset(); - initinview = true; - - element.trigger("init.uk.scrollspy"); - } - - element.data('scrollspy-idle', setTimeout(function(){ - - element.addClass("uk-scrollspy-inview").toggleClass(toggle).width(); - element.trigger("inview.uk.scrollspy"); - - element.data('scrollspy-idle', false); - element.data('inviewstate', true); - - }, $this.options.delay * delayIdx)); - - delayIdx++; - } - - if (!inview && inviewstate && $this.options.repeat) { - - if (element.data('scrollspy-idle')) { - clearTimeout(element.data('scrollspy-idle')); - } - - element.removeClass("uk-scrollspy-inview").toggleClass(toggle); - element.data('inviewstate', false); - - element.trigger("outview.uk.scrollspy"); - } - - toggleclsIdx = togglecls[toggleclsIdx + 1] ? (toggleclsIdx + 1) : 0; - - }); - }; - - fn(); - - this.check = fn; - - scrollspies.push(this); - } - }); - - - var scrollspynavs = [], - checkScrollSpyNavs = function() { - for(var i=0; i < scrollspynavs.length; i++) { - window.requestAnimationFrame.apply(window, [scrollspynavs[i].check]); - } - }; - - UI.component('scrollspynav', { - - defaults: { - "cls" : 'uk-active', - "closest" : false, - "topoffset" : 0, - "leftoffset" : 0, - "smoothscroll" : false - }, - - boot: function() { - - // listen to scroll and resize - $doc.on("scrolling.uk.document", checkScrollSpyNavs); - $win.on("resize orientationchange", UI.Utils.debounce(checkScrollSpyNavs, 50)); - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-scrollspy-nav]", context).each(function() { - - var element = UI.$(this); - - if (!element.data("scrollspynav")) { - var obj = UI.scrollspynav(element, UI.Utils.options(element.attr("data-uk-scrollspy-nav"))); - } - }); - }); - }, - - init: function() { - - var ids = [], - links = this.find("a[href^='#']").each(function(){ ids.push(UI.$(this).attr("href")); }), - targets = UI.$(ids.join(",")), - - clsActive = this.options.cls, - clsClosest = this.options.closest || this.options.closest; - - var $this = this, inviews, fn = function(){ - - inviews = []; - - for (var i=0 ; i < targets.length ; i++) { - if (UI.Utils.isInView(targets.eq(i), $this.options)) { - inviews.push(targets.eq(i)); - } - } - - if (inviews.length) { - - var navitems, - scrollTop = $win.scrollTop(), - target = (function(){ - for(var i=0; i< inviews.length;i++){ - if(inviews[i].offset().top >= scrollTop){ - return inviews[i]; - } - } - })(); - - if (!target) return; - - if ($this.options.closest) { - links.closest(clsClosest).removeClass(clsActive); - navitems = links.filter("a[href='#"+target.attr("id")+"']").closest(clsClosest).addClass(clsActive); - } else { - navitems = links.removeClass(clsActive).filter("a[href='#"+target.attr("id")+"']").addClass(clsActive); - } - - $this.element.trigger("inview.uk.scrollspynav", [target, navitems]); - } - }; - - if (this.options.smoothscroll && UI.smoothScroll) { - links.each(function(){ - UI.smoothScroll(this, $this.options.smoothscroll); - }); - } - - fn(); - - this.element.data("scrollspynav", this); - - this.check = fn; - scrollspynavs.push(this); - - } - }); - -})(UIkit); - -(function(UI){ - - "use strict"; - - var toggles = []; - - UI.component('toggle', { - - defaults: { - target : false, - cls : 'uk-hidden', - animation : false, - duration : 200 - }, - - boot: function(){ - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-toggle]", context).each(function() { - var ele = UI.$(this); - - if (!ele.data("toggle")) { - var obj = UI.toggle(ele, UI.Utils.options(ele.attr("data-uk-toggle"))); - } - }); - - setTimeout(function(){ - - toggles.forEach(function(toggle){ - toggle.getToggles(); - }); - - }, 0); - }); - }, - - init: function() { - - var $this = this; - - this.aria = (this.options.cls.indexOf('uk-hidden') !== -1); - - this.getToggles(); - - this.on("click", function(e) { - if ($this.element.is('a[href="#"]')) e.preventDefault(); - $this.toggle(); - }); - - toggles.push(this); - }, - - toggle: function() { - - if(!this.totoggle.length) return; - - if (this.options.animation && UI.support.animation) { - - var $this = this, animations = this.options.animation.split(','); - - if (animations.length == 1) { - animations[1] = animations[0]; - } - - animations[0] = animations[0].trim(); - animations[1] = animations[1].trim(); - - this.totoggle.css('animation-duration', this.options.duration+'ms'); - - if (this.totoggle.hasClass(this.options.cls)) { - - this.totoggle.toggleClass(this.options.cls); - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[0]).then(function(){ - UI.$(this).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }); - }); - - } else { - - this.totoggle.each(function(){ - UI.Utils.animate(this, animations[1]+' uk-animation-reverse').then(function(){ - UI.$(this).toggleClass($this.options.cls).css('animation-duration', ''); - UI.Utils.checkDisplay(this); - }.bind(this)); - }); - } - - } else { - this.totoggle.toggleClass(this.options.cls); - UI.Utils.checkDisplay(this.totoggle); - } - - this.updateAria(); - - }, - - getToggles: function() { - this.totoggle = this.options.target ? UI.$(this.options.target):[]; - this.updateAria(); - }, - - updateAria: function() { - if (this.aria && this.totoggle.length) { - this.totoggle.each(function(){ - UI.$(this).attr('aria-hidden', UI.$(this).hasClass('uk-hidden')); - }); - } - } - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('alert', { - - defaults: { - "fade": true, - "duration": 200, - "trigger": ".uk-alert-close" - }, - - boot: function() { - - // init code - UI.$html.on("click.alert.uikit", "[data-uk-alert]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("alert")) { - - var alert = UI.alert(ele, UI.Utils.options(ele.attr("data-uk-alert"))); - - if (UI.$(e.target).is(alert.options.trigger)) { - e.preventDefault(); - alert.close(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.on("click", this.options.trigger, function(e) { - e.preventDefault(); - $this.close(); - }); - }, - - close: function() { - - var element = this.trigger("close.uk.alert"), - removeElement = function () { - this.trigger("closed.uk.alert").remove(); - }.bind(this); - - if (this.options.fade) { - element.css("overflow", "hidden").css("max-height", element.height()).animate({ - "height" : 0, - "opacity" : 0, - "padding-top" : 0, - "padding-bottom" : 0, - "margin-top" : 0, - "margin-bottom" : 0 - }, this.options.duration, removeElement); - } else { - removeElement(); - } - } - - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('buttonRadio', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - // init code - UI.$html.on("click.buttonradio.uikit", "[data-uk-button-radio]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("buttonRadio")) { - - var obj = UI.buttonRadio(ele, UI.Utils.options(ele.attr("data-uk-button-radio"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - $this.find($this.options.target).not(ele).removeClass("uk-active").blur(); - ele.addClass("uk-active"); - - // Update ARIA - $this.find($this.options.target).not(ele).attr('aria-checked', 'false'); - ele.attr('aria-checked', 'true'); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - UI.component('buttonCheckbox', { - - defaults: { - "target": ".uk-button" - }, - - boot: function() { - - UI.$html.on("click.buttoncheckbox.uikit", "[data-uk-button-checkbox]", function(e) { - var ele = UI.$(this); - - if (!ele.data("buttonCheckbox")) { - - var obj = UI.buttonCheckbox(ele, UI.Utils.options(ele.attr("data-uk-button-checkbox"))), - target = UI.$(e.target); - - if (target.is(obj.options.target)) { - target.trigger("click"); - } - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.find($this.options.target).attr('aria-checked', 'false').filter(".uk-active").attr('aria-checked', 'true'); - - this.on("click", this.options.target, function(e) { - var ele = UI.$(this); - - if (ele.is('a[href="#"]')) e.preventDefault(); - - ele.toggleClass("uk-active").blur(); - - // Update ARIA - ele.attr('aria-checked', ele.hasClass("uk-active")); - - $this.trigger("change.uk.button", [ele]); - }); - - }, - - getSelected: function() { - return this.find(".uk-active"); - } - }); - - - UI.component('button', { - - defaults: {}, - - boot: function() { - - UI.$html.on("click.button.uikit", "[data-uk-button]", function(e) { - var ele = UI.$(this); - - if (!ele.data("button")) { - - var obj = UI.button(ele, UI.Utils.options(ele.attr("data-uk-button"))); - ele.trigger("click"); - } - }); - }, - - init: function() { - - var $this = this; - - // Init ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - - this.on("click", function(e) { - - if ($this.element.is('a[href="#"]')) e.preventDefault(); - - $this.toggle(); - $this.trigger("change.uk.button", [$this.element.blur().hasClass("uk-active")]); - }); - - }, - - toggle: function() { - this.element.toggleClass("uk-active"); - - // Update ARIA - this.element.attr('aria-pressed', this.element.hasClass("uk-active")); - } - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - var active = false, hoverIdle; - - UI.component('dropdown', { - - defaults: { - 'mode' : 'hover', - 'remaintime' : 800, - 'justify' : false, - 'boundary' : UI.$win, - 'delay' : 0, - 'hoverDelayIdle' : 250 - }, - - remainIdle: false, - - boot: function() { - - var triggerevent = UI.support.touch ? "click" : "mouseenter"; - - // init code - UI.$html.on(triggerevent+".dropdown.uikit", "[data-uk-dropdown]", function(e) { - - var ele = UI.$(this); - - if (!ele.data("dropdown")) { - - var dropdown = UI.dropdown(ele, UI.Utils.options(ele.attr("data-uk-dropdown"))); - - if (triggerevent=="click" || (triggerevent=="mouseenter" && dropdown.options.mode=="hover")) { - dropdown.element.trigger(triggerevent); - } - - if (dropdown.element.find('.uk-dropdown').length) { - e.preventDefault(); - } - } - }); - }, - - init: function() { - - var $this = this; - - this.dropdown = this.find('.uk-dropdown'); - - this.centered = this.dropdown.hasClass('uk-dropdown-center'); - this.justified = this.options.justify ? UI.$(this.options.justify) : false; - - this.boundary = UI.$(this.options.boundary); - this.flipped = this.dropdown.hasClass('uk-dropdown-flip'); - - if (!this.boundary.length) { - this.boundary = UI.$win; - } - - // Init ARIA - this.element.attr('aria-haspopup', 'true'); - this.element.attr('aria-expanded', this.element.hasClass("uk-open")); - - if (this.options.mode == "click" || UI.support.touch) { - - this.on("click.uikit.dropdown", function(e) { - - var $target = UI.$(e.target); - - if (!$target.parents(".uk-dropdown").length) { - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']") || ($this.dropdown.length && !$this.dropdown.is(":visible")) ){ - e.preventDefault(); - } - - $target.blur(); - } - - if (!$this.element.hasClass('uk-open')) { - - $this.show(); - - } else { - - if ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length) { - $this.hide(); - } - } - }); - - } else { - - this.on("mouseenter", function(e) { - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - if (active && active == $this) { - return; - } - - // pseudo manuAim - if (active && active != $this) { - - hoverIdle = setTimeout(function() { - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - }, $this.options.hoverDelayIdle); - - } else { - - hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); - } - - }).on("mouseleave", function() { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - $this.remainIdle = setTimeout(function() { - if (active && active == $this) $this.hide(); - }, $this.options.remaintime); - - }).on("click", function(e){ - - var $target = UI.$(e.target); - - if ($this.remainIdle) { - clearTimeout($this.remainIdle); - } - - if ($target.is("a[href='#']") || $target.parent().is("a[href='#']")){ - e.preventDefault(); - } - - $this.show(); - }); - } - }, - - show: function(){ - - UI.$html.off("click.outer.dropdown"); - - if (active && active != this) { - active.hide(); - } - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - this.checkDimensions(); - this.element.addClass('uk-open'); - - // Update ARIA - this.element.attr('aria-expanded', 'true'); - - this.trigger('show.uk.dropdown', [this]); - - UI.Utils.checkDisplay(this.dropdown, true); - active = this; - - this.registerOuterClick(); - }, - - hide: function() { - this.element.removeClass('uk-open'); - - if (this.remainIdle) { - clearTimeout(this.remainIdle); - } - - this.remainIdle = false; - - // Update ARIA - this.element.attr('aria-expanded', 'false'); - - this.trigger('hide.uk.dropdown', [this]); - - if (active == this) active = false; - }, - - registerOuterClick: function(){ - - var $this = this; - - UI.$html.off("click.outer.dropdown"); - - setTimeout(function() { - - UI.$html.on("click.outer.dropdown", function(e) { - - if (hoverIdle) { - clearTimeout(hoverIdle); - } - - var $target = UI.$(e.target); - - if (active == $this && ($target.is("a:not(.js-uk-prevent)") || $target.is(".uk-dropdown-close") || !$this.dropdown.find(e.target).length)) { - $this.hide(); - UI.$html.off("click.outer.dropdown"); - } - }); - }, 10); - }, - - checkDimensions: function() { - - if (!this.dropdown.length) return; - - if (this.justified && this.justified.length) { - this.dropdown.css("min-width", ""); - } - - var $this = this, - dropdown = this.dropdown.css("margin-" + UI.langdirection, ""), - offset = dropdown.show().offset(), - width = dropdown.outerWidth(), - boundarywidth = this.boundary.width(), - boundaryoffset = this.boundary.offset() ? this.boundary.offset().left:0; - - // centered dropdown - if (this.centered) { - dropdown.css("margin-" + UI.langdirection, (parseFloat(width) / 2 - dropdown.parent().width() / 2) * -1); - offset = dropdown.offset(); - - // reset dropdown - if ((width + offset.left) > boundarywidth || offset.left < 0) { - dropdown.css("margin-" + UI.langdirection, ""); - offset = dropdown.offset(); - } - } - - // justify dropdown - if (this.justified && this.justified.length) { - - var jwidth = this.justified.outerWidth(); - - dropdown.css("min-width", jwidth); - - if (UI.langdirection == 'right') { - - var right1 = boundarywidth - (this.justified.offset().left + jwidth), - right2 = boundarywidth - (dropdown.offset().left + dropdown.outerWidth()); - - dropdown.css("margin-right", right1 - right2); - - } else { - dropdown.css("margin-left", this.justified.offset().left - offset.left); - } - - offset = dropdown.offset(); - - } - - if ((width + (offset.left-boundaryoffset)) > boundarywidth) { - dropdown.addClass('uk-dropdown-flip'); - offset = dropdown.offset(); - } - - if ((offset.left-boundaryoffset) < 0) { - - dropdown.addClass("uk-dropdown-stack"); - - if (dropdown.hasClass('uk-dropdown-flip')) { - - if (!this.flipped) { - dropdown.removeClass('uk-dropdown-flip'); - offset = dropdown.offset(); - dropdown.addClass('uk-dropdown-flip'); - } - - setTimeout(function(){ - - if ((dropdown.offset().left-boundaryoffset) < 0 || !$this.flipped && (dropdown.outerWidth() + (offset.left-boundaryoffset)) < boundarywidth) { - dropdown.removeClass('uk-dropdown-flip'); - } - }, 0); - } - - this.trigger('stack.uk.dropdown', [this]); - } - - dropdown.css("display", ""); - } - - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - var grids = []; - - UI.component('gridMatchHeight', { - - defaults: { - "target" : false, - "row" : true, - "ignorestacked" : false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-match]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMatchHeight")) { - obj = UI.gridMatchHeight(grid, UI.Utils.options(grid.attr("data-uk-grid-match"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.columns = this.element.children(); - this.elements = this.options.target ? this.find(this.options.target) : this.columns; - - if (!this.columns.length) return; - - UI.$win.on('load resize orientationchange', (function() { - - var fn = function() { - $this.match(); - }; - - UI.$(function() { fn(); }); - - return UI.Utils.debounce(fn, 50); - })()); - - UI.$html.on("changed.uk.dom", function(e) { - $this.columns = $this.element.children(); - $this.elements = $this.options.target ? $this.find($this.options.target) : $this.columns; - $this.match(); - }); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.match(); - }.bind(this)); - - grids.push(this); - }, - - match: function() { - - var firstvisible = this.columns.filter(":visible:first"); - - if (!firstvisible.length) return; - - var stacked = Math.ceil(100 * parseFloat(firstvisible.css('width')) / parseFloat(firstvisible.parent().css('width'))) >= 100; - - if (stacked && !this.options.ignorestacked) { - this.revert(); - } else { - UI.Utils.matchHeights(this.elements, this.options); - } - - return this; - }, - - revert: function() { - this.elements.css('min-height', ''); - return this; - } - }); - - UI.component('gridMargin', { - - defaults: { - "cls": "uk-grid-margin" - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-grid-margin]", context).each(function() { - var grid = UI.$(this), obj; - - if (!grid.data("gridMargin")) { - obj = UI.gridMargin(grid, UI.Utils.options(grid.attr("data-uk-grid-margin"))); - } - }); - }); - }, - - init: function() { - - var stackMargin = UI.stackMargin(this.element, this.options); - } - }); - -})(UIkit); - -(function(UI) { - - "use strict"; - - var active = false, activeCount = 0, $html = UI.$html, body; - - UI.component('modal', { - - defaults: { - keyboard: true, - bgclose: true, - minScrollHeight: 150, - center: false, - modal: true - }, - - scrollable: false, - transition: false, - - init: function() { - - if (!body) body = UI.$('body'); - - if (!this.element.length) return; - - var $this = this; - - this.paddingdir = "padding-" + (UI.langdirection == 'left' ? "right":"left"); - this.dialog = this.find(".uk-modal-dialog"); - - this.active = false; - - // Update ARIA - this.element.attr('aria-hidden', this.element.hasClass("uk-open")); - - this.on("click", ".uk-modal-close", function(e) { - e.preventDefault(); - $this.hide(); - }).on("click", function(e) { - - var target = UI.$(e.target); - - if (target[0] == $this.element[0] && $this.options.bgclose) { - $this.hide(); - } - }); - }, - - toggle: function() { - return this[this.isActive() ? "hide" : "show"](); - }, - - show: function() { - - if (!this.element.length) return; - - var $this = this; - - if (this.isActive()) return; - - if (this.options.modal && active) { - active.hide(true); - } - - this.element.removeClass("uk-open").show(); - this.resize(); - - if (this.options.modal) { - active = this; - } - - this.active = true; - - activeCount++; - - this.element.addClass("uk-open"); - - $html.addClass("uk-modal-page").height(); // force browser engine redraw - - // Update ARIA - this.element.attr('aria-hidden', 'false'); - - this.element.trigger("show.uk.modal"); - - UI.Utils.checkDisplay(this.dialog, true); - - return this; - }, - - hide: function(force) { - - if (!force && UI.support.transition) { - - var $this = this; - - this.one(UI.support.transition.end, function() { - $this._hide(); - }).removeClass("uk-open"); - - } else { - - this._hide(); - } - - return this; - }, - - resize: function() { - - var bodywidth = body.width(); - - this.scrollbarwidth = window.innerWidth - bodywidth; - - body.css(this.paddingdir, this.scrollbarwidth); - - this.element.css('overflow-y', this.scrollbarwidth ? 'scroll' : 'auto'); - - if (!this.updateScrollable() && this.options.center) { - - var dh = this.dialog.outerHeight(), - pad = parseInt(this.dialog.css('margin-top'), 10) + parseInt(this.dialog.css('margin-bottom'), 10); - - if ((dh + pad) < window.innerHeight) { - this.dialog.css({'top': (window.innerHeight/2 - dh/2) - pad }); - } else { - this.dialog.css({'top': ''}); - } - } - }, - - updateScrollable: function() { - - // has scrollable? - var scrollable = this.dialog.find('.uk-overflow-container:visible:first'); - - if (scrollable.length) { - - scrollable.css("height", 0); - - var offset = Math.abs(parseInt(this.dialog.css("margin-top"), 10)), - dh = this.dialog.outerHeight(), - wh = window.innerHeight, - h = wh - 2*(offset < 20 ? 20:offset) - dh; - - scrollable.css("height", h < this.options.minScrollHeight ? "":h); - - return true; - } - - return false; - }, - - _hide: function() { - - this.active = false; - activeCount--; - - this.element.hide().removeClass("uk-open"); - - // Update ARIA - this.element.attr('aria-hidden', 'true'); - - if (!activeCount) { - $html.removeClass("uk-modal-page"); - body.css(this.paddingdir, ""); - } - - if(active===this) active = false; - - this.trigger("hide.uk.modal"); - }, - - isActive: function() { - return this.active; - } - - }); - - UI.component('modalTrigger', { - - boot: function() { - - // init code - UI.$html.on("click.modal.uikit", "[data-uk-modal]", function(e) { - - var ele = UI.$(this); - - if (ele.is("a")) { - e.preventDefault(); - } - - if (!ele.data("modalTrigger")) { - var modal = UI.modalTrigger(ele, UI.Utils.options(ele.attr("data-uk-modal"))); - modal.show(); - } - - }); - - // close modal on esc button - UI.$html.on('keydown.modal.uikit', function (e) { - - if (active && e.keyCode === 27 && active.options.keyboard) { // ESC - e.preventDefault(); - active.hide(); - } - }); - - UI.$win.on("resize orientationchange", UI.Utils.debounce(function(){ - if (active) active.resize(); - }, 150)); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.modal = UI.modal(this.options.target, this.options); - - this.on("click", function(e) { - e.preventDefault(); - $this.show(); - }); - - //methods - this.proxy(this.modal, "show hide isActive"); - } - }); - - UI.modal.dialog = function(content, options) { - - var modal = UI.modal(UI.$(UI.modal.dialog.template).appendTo("body"), options); - - modal.on("hide.uk.modal", function(){ - if (modal.persist) { - modal.persist.appendTo(modal.persist.data("modalPersistParent")); - modal.persist = false; - } - modal.element.remove(); - }); - - setContent(content, modal); - - return modal; - }; - - UI.modal.dialog.template = '<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>'; - - UI.modal.alert = function(content, options) { - - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+options.labels.Ok+'</button></div>' - ]).join(""), options); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.confirm = function(content, onconfirm, options) { - - onconfirm = UI.$.isFunction(onconfirm) ? onconfirm : function(){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options); - - modal.element.find(".js-modal-confirm").on("click", function(){ - onconfirm(); - modal.hide(); - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - modal.element.find('button:first').focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.prompt = function(text, value, onsubmit, options) { - - onsubmit = UI.$.isFunction(onsubmit) ? onsubmit : function(value){}; - options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); - - var modal = UI.modal.dialog(([ - text ? '<div class="uk-modal-content uk-form">'+String(text)+'</div>':'', - '<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>', - '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+options.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button></div>' - ]).join(""), options), - - input = modal.element.find("input[type='text']").val(value || '').on('keyup', function(e){ - if (e.keyCode == 13) { - modal.element.find(".js-modal-ok").trigger('click'); - } - }); - - modal.element.find(".js-modal-ok").on("click", function(){ - if (onsubmit(input.val())!==false){ - modal.hide(); - } - }); - - modal.on('show.uk.modal', function(){ - setTimeout(function(){ - input.focus(); - }, 50); - }); - - modal.show(); - }; - - UI.modal.blockUI = function(content, options) { - - var modal = UI.modal.dialog(([ - '<div class="uk-margin uk-modal-content">'+String(content || '<div class="uk-text-center">...</div>')+'</div>' - ]).join(""), UI.$.extend({bgclose:false, keyboard:false, modal:false}, options)); - - modal.content = modal.element.find('.uk-modal-content:first'); - modal.show(); - - return modal; - }; - - - UI.modal.labels = { - 'Ok': 'Ok', - 'Cancel': 'Cancel' - }; - - - // helper functions - function setContent(content, modal){ - - if(!modal) return; - - if (typeof content === 'object') { - - // convert DOM object to a jQuery object - content = content instanceof jQuery ? content : UI.$(content); - - if(content.parent().length) { - modal.persist = content; - modal.persist.data("modalPersistParent", content.parent()); - } - }else if (typeof content === 'string' || typeof content === 'number') { - // just insert the data as innerHTML - content = UI.$('<div></div>').html(content); - }else { - // unsupported data type! - content = UI.$('<div></div>').html('UIkit.modal Error: Unsupported data type: ' + typeof content); - } - - content.appendTo(modal.element.find('.uk-modal-dialog')); - - return modal; - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('nav', { - - defaults: { - "toggle": ">li.uk-parent > a[href='#']", - "lists": ">li.uk-parent > ul", - "multiple": false - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-nav]", context).each(function() { - var nav = UI.$(this); - - if (!nav.data("nav")) { - var obj = UI.nav(nav, UI.Utils.options(nav.attr("data-uk-nav"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.nav", this.options.toggle, function(e) { - e.preventDefault(); - var ele = UI.$(this); - $this.open(ele.parent()[0] == $this.element[0] ? ele : ele.parent("li")); - }); - - this.find(this.options.lists).each(function() { - var $ele = UI.$(this), - parent = $ele.parent(), - active = parent.hasClass("uk-active"); - - $ele.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'); - parent.data("list-container", $ele.parent()[active ? 'removeClass':'addClass']('uk-hidden')); - - // Init ARIA - parent.attr('aria-expanded', parent.hasClass("uk-open")); - - if (active) $this.open(parent, true); - }); - - }, - - open: function(li, noanimation) { - - var $this = this, element = this.element, $li = UI.$(li), $container = $li.data('list-container'); - - if (!this.options.multiple) { - - element.children('.uk-open').not(li).each(function() { - - var ele = UI.$(this); - - if (ele.data('list-container')) { - ele.data('list-container').stop().animate({height: 0}, function() { - UI.$(this).parent().removeClass('uk-open').end().addClass('uk-hidden'); - }); - } - }); - } - - $li.toggleClass('uk-open'); - - // Update ARIA - $li.attr('aria-expanded', $li.hasClass('uk-open')); - - if ($container) { - - if ($li.hasClass('uk-open')) { - $container.removeClass('uk-hidden'); - } - - if (noanimation) { - - $container.stop().height($li.hasClass('uk-open') ? 'auto' : 0); - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } - - this.trigger('display.uk.check'); - - } else { - - $container.stop().animate({ - height: ($li.hasClass('uk-open') ? getHeight($container.find('ul:first')) : 0) - }, function() { - - if (!$li.hasClass('uk-open')) { - $container.addClass('uk-hidden'); - } else { - $container.css('height', ''); - } - - $this.trigger('display.uk.check'); - }); - } - } - } - }); - - - // helper - - function getHeight(ele) { - var $ele = UI.$(ele), height = "auto"; - - if ($ele.is(":visible")) { - height = $ele.outerHeight(); - } else { - var tmp = { - position: $ele.css("position"), - visibility: $ele.css("visibility"), - display: $ele.css("display") - }; - - height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); - - $ele.css(tmp); // reset element - } - - return height; - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - var scrollpos = {x: window.scrollX, y: window.scrollY}, - $win = UI.$win, - $doc = UI.$doc, - $html = UI.$html, - Offcanvas = { - - show: function(element) { - - element = UI.$(element); - - if (!element.length) return; - - var $body = UI.$('body'), - bar = element.find(".uk-offcanvas-bar:first"), - rtl = (UI.langdirection == "right"), - flip = bar.hasClass("uk-offcanvas-bar-flip") ? -1:1, - dir = flip * (rtl ? -1 : 1); - - scrollpos = {x: window.pageXOffset, y: window.pageYOffset}; - - element.addClass("uk-active"); - - $body.css({"width": window.innerWidth, "height": window.innerHeight}).addClass("uk-offcanvas-page"); - $body.css((rtl ? "margin-right" : "margin-left"), (rtl ? -1 : 1) * (bar.outerWidth() * dir)).width(); // .width() - force redraw - - $html.css('margin-top', scrollpos.y * -1); - - bar.addClass("uk-offcanvas-bar-show"); - - this._initElement(element); - - bar.trigger('show.uk.offcanvas', [element, bar]); - - // Update ARIA - element.attr('aria-hidden', 'false'); - }, - - hide: function(force) { - - var $body = UI.$('body'), - panel = UI.$(".uk-offcanvas.uk-active"), - rtl = (UI.langdirection == "right"), - bar = panel.find(".uk-offcanvas-bar:first"), - finalize = function() { - $body.removeClass("uk-offcanvas-page").css({"width": "", "height": "", "margin-left": "", "margin-right": ""}); - panel.removeClass("uk-active"); - - bar.removeClass("uk-offcanvas-bar-show"); - $html.css('margin-top', ''); - window.scrollTo(scrollpos.x, scrollpos.y); - bar.trigger('hide.uk.offcanvas', [panel, bar]); - - // Update ARIA - panel.attr('aria-hidden', 'true'); - }; - - if (!panel.length) return; - - if (UI.support.transition && !force) { - - $body.one(UI.support.transition.end, function() { - finalize(); - }).css((rtl ? "margin-right" : "margin-left"), ""); - - setTimeout(function(){ - bar.removeClass("uk-offcanvas-bar-show"); - }, 0); - - } else { - finalize(); - } - }, - - _initElement: function(element) { - - if (element.data("OffcanvasInit")) return; - - element.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas", function(e) { - - var target = UI.$(e.target); - - if (!e.type.match(/swipe/)) { - - if (!target.hasClass("uk-offcanvas-close")) { - if (target.hasClass("uk-offcanvas-bar")) return; - if (target.parents(".uk-offcanvas-bar:first").length) return; - } - } - - e.stopImmediatePropagation(); - Offcanvas.hide(); - }); - - element.on("click", "a[href^='#']", function(e){ - - var link = UI.$(this), - href = link.attr("href"); - - if (href == "#") { - return; - } - - UI.$doc.one('hide.uk.offcanvas', function() { - - var target; - - try { - target = UI.$(href); - } catch (e){ - target = "" - } - - if (!target.length) { - target = UI.$('[name="'+href.replace('#','')+'"]'); - } - - if (target.length && link.attr('data-uk-smooth-scroll') && UI.Utils.scrollToElement) { - UI.Utils.scrollToElement(target, UI.Utils.options(link.attr('data-uk-smooth-scroll') || '{}')); - } else { - window.location.href = href; - } - }); - - Offcanvas.hide(); - }); - - element.data("OffcanvasInit", true); - } - }; - - UI.component('offcanvasTrigger', { - - boot: function() { - - // init code - $html.on("click.offcanvas.uikit", "[data-uk-offcanvas]", function(e) { - - e.preventDefault(); - - var ele = UI.$(this); - - if (!ele.data("offcanvasTrigger")) { - var obj = UI.offcanvasTrigger(ele, UI.Utils.options(ele.attr("data-uk-offcanvas"))); - ele.trigger("click"); - } - }); - - $html.on('keydown.uk.offcanvas', function(e) { - - if (e.keyCode === 27) { // ESC - Offcanvas.hide(); - } - }); - }, - - init: function() { - - var $this = this; - - this.options = UI.$.extend({ - "target": $this.element.is("a") ? $this.element.attr("href") : false - }, this.options); - - this.on("click", function(e) { - e.preventDefault(); - Offcanvas.show($this.options.target); - }); - } - }); - - UI.offcanvas = Offcanvas; - -})(UIkit); - -(function(UI) { - - "use strict"; - - var Animations; - - UI.component('switcher', { - - defaults: { - connect : false, - toggle : ">*", - active : 0, - animation : false, - duration : 200 - }, - - animating: false, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-switcher]", context).each(function() { - var switcher = UI.$(this); - - if (!switcher.data("switcher")) { - var obj = UI.switcher(switcher, UI.Utils.options(switcher.attr("data-uk-switcher"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.on("click.uikit.switcher", this.options.toggle, function(e) { - e.preventDefault(); - $this.show(this); - }); - - if (this.options.connect) { - - this.connect = UI.$(this.options.connect); - - this.connect.find(".uk-active").removeClass(".uk-active"); - - // delegate switch commands within container content - if (this.connect.length) { - - // Init ARIA for connect - this.connect.children().attr('aria-hidden', 'true'); - - this.connect.on("click", '[data-uk-switcher-item]', function(e) { - - e.preventDefault(); - - var item = UI.$(this).attr('data-uk-switcher-item'); - - if ($this.index == item) return; - - switch(item) { - case 'next': - case 'previous': - $this.show($this.index + (item=='next' ? 1:-1)); - break; - default: - $this.show(parseInt(item, 10)); - } - }).on('swipeRight swipeLeft', function(e) { - e.preventDefault(); - if(!window.getSelection().toString()) { - $this.show($this.index + (e.type == 'swipeLeft' ? 1 : -1)); - } - }); - } - - var toggles = this.find(this.options.toggle), - active = toggles.filter(".uk-active"); - - if (active.length) { - this.show(active, false); - } else { - - if (this.options.active===false) return; - - active = toggles.eq(this.options.active); - this.show(active.length ? active : toggles.eq(0), false); - } - - // Init ARIA for toggles - toggles.not(active).attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - this.on('changed.uk.dom', function() { - $this.connect = UI.$($this.options.connect); - }); - } - - }, - - show: function(tab, animate) { - - if (this.animating) { - return; - } - - if (isNaN(tab)) { - tab = UI.$(tab); - } else { - - var toggles = this.find(this.options.toggle); - - tab = tab < 0 ? toggles.length-1 : tab; - tab = toggles.eq(toggles[tab] ? tab : 0); - } - - var $this = this, - toggles = this.find(this.options.toggle), - active = UI.$(tab), - animation = Animations[this.options.animation] || function(current, next) { - - if (!$this.options.animation) { - return Animations.none.apply($this); - } - - var anim = $this.options.animation.split(','); - - if (anim.length == 1) { - anim[1] = anim[0]; - } - - anim[0] = anim[0].trim(); - anim[1] = anim[1].trim(); - - return coreAnimation.apply($this, [anim, current, next]); - }; - - if (animate===false || !UI.support.animation) { - animation = Animations.none; - } - - if (active.hasClass("uk-disabled")) return; - - // Update ARIA for Toggles - toggles.attr('aria-expanded', 'false'); - active.attr('aria-expanded', 'true'); - - toggles.filter(".uk-active").removeClass("uk-active"); - active.addClass("uk-active"); - - if (this.options.connect && this.connect.length) { - - this.index = this.find(this.options.toggle).index(active); - - if (this.index == -1 ) { - this.index = 0; - } - - this.connect.each(function() { - - var container = UI.$(this), - children = UI.$(container.children()), - current = UI.$(children.filter('.uk-active')), - next = UI.$(children.eq($this.index)); - - $this.animating = true; - - animation.apply($this, [current, next]).then(function(){ - - current.removeClass("uk-active"); - next.addClass("uk-active"); - - // Update ARIA for connect - current.attr('aria-hidden', 'true'); - next.attr('aria-hidden', 'false'); - - UI.Utils.checkDisplay(next, true); - - $this.animating = false; - }); - }); - } - - this.trigger("show.uk.switcher", [active]); - } - }); - - Animations = { - - 'none': function() { - var d = UI.$.Deferred(); - d.resolve(); - return d.promise(); - }, - - 'fade': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-fade', current, next]); - }, - - 'slide-bottom': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); - }, - - 'slide-top': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); - }, - - 'slide-vertical': function(current, next, dir) { - - var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'slide-left': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-left', current, next]); - }, - - 'slide-right': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-slide-right', current, next]); - }, - - 'slide-horizontal': function(current, next, dir) { - - var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; - - if (current && current.index() > next.index()) { - anim.reverse(); - } - - return coreAnimation.apply(this, [anim, current, next]); - }, - - 'scale': function(current, next) { - return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); - } - }; - - UI.switcher.animations = Animations; - - - // helpers - - function coreAnimation(cls, current, next) { - - var d = UI.$.Deferred(), clsIn = cls, clsOut = cls, release; - - if (next[0]===current[0]) { - d.resolve(); - return d.promise(); - } - - if (typeof(cls) == 'object') { - clsIn = cls[0]; - clsOut = cls[1] || cls[0]; - } - - release = function() { - - if (current) current.hide().removeClass('uk-active '+clsOut+' uk-animation-reverse'); - - next.addClass(clsIn).one(UI.support.animation.end, function() { - - next.removeClass(''+clsIn+'').css({opacity:'', display:''}); - - d.resolve(); - - if (current) current.css({opacity:'', display:''}); - - }.bind(this)).show(); - }; - - next.css('animation-duration', this.options.duration+'ms'); - - if (current && current.length) { - - current.css('animation-duration', this.options.duration+'ms'); - - current.css('display', 'none').addClass(clsOut+' uk-animation-reverse').one(UI.support.animation.end, function() { - release(); - }.bind(this)).css('display', ''); - - } else { - next.addClass('uk-active'); - release(); - } - - return d.promise(); - } - -})(UIkit); - -(function(UI) { - - "use strict"; - - UI.component('tab', { - - defaults: { - 'target' : '>li:not(.uk-tab-responsive, .uk-disabled)', - 'connect' : false, - 'active' : 0, - 'animation' : false, - 'duration' : 200 - }, - - boot: function() { - - // init code - UI.ready(function(context) { - - UI.$("[data-uk-tab]", context).each(function() { - - var tab = UI.$(this); - - if (!tab.data("tab")) { - var obj = UI.tab(tab, UI.Utils.options(tab.attr("data-uk-tab"))); - } - }); - }); - }, - - init: function() { - - var $this = this; - - this.current = false; - - this.on("click.uikit.tab", this.options.target, function(e) { - - e.preventDefault(); - - if ($this.switcher && $this.switcher.animating) { - return; - } - - var current = $this.find($this.options.target).not(this); - - current.removeClass("uk-active").blur(); - - $this.trigger("change.uk.tab", [UI.$(this).addClass("uk-active"), $this.current]); - - $this.current = UI.$(this); - - // Update ARIA - if (!$this.options.connect) { - current.attr('aria-expanded', 'false'); - UI.$(this).attr('aria-expanded', 'true'); - } - }); - - if (this.options.connect) { - this.connect = UI.$(this.options.connect); - } - - // init responsive tab - this.responsivetab = UI.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'); - - this.responsivetab.dropdown = this.responsivetab.find('.uk-dropdown'); - this.responsivetab.lst = this.responsivetab.dropdown.find('ul'); - this.responsivetab.caption = this.responsivetab.find('a:first'); - - if (this.element.hasClass("uk-tab-bottom")) this.responsivetab.dropdown.addClass("uk-dropdown-up"); - - // handle click - this.responsivetab.lst.on('click.uikit.tab', 'a', function(e) { - - e.preventDefault(); - e.stopPropagation(); - - var link = UI.$(this); - - $this.element.children('li:not(.uk-tab-responsive)').eq(link.data('index')).trigger('click'); - }); - - this.on('show.uk.switcher change.uk.tab', function(e, tab) { - $this.responsivetab.caption.html(tab.text()); - }); - - this.element.append(this.responsivetab); - - // init UIkit components - if (this.options.connect) { - this.switcher = UI.switcher(this.element, { - "toggle" : ">li:not(.uk-tab-responsive)", - "connect" : this.options.connect, - "active" : this.options.active, - "animation" : this.options.animation, - "duration" : this.options.duration - }); - } - - UI.dropdown(this.responsivetab, {"mode": "click"}); - - // init - $this.trigger("change.uk.tab", [this.element.find(this.options.target).not('.uk-tab-responsive').filter('.uk-active')]); - - this.check(); - - UI.$win.on('resize orientationchange', UI.Utils.debounce(function(){ - if ($this.element.is(":visible")) $this.check(); - }, 100)); - - this.on('display.uk.check', function(){ - if ($this.element.is(":visible")) $this.check(); - }); - }, - - check: function() { - - var children = this.element.children('li:not(.uk-tab-responsive)').removeClass('uk-hidden'); - - if (!children.length) { - this.responsivetab.addClass('uk-hidden'); - return; - } - - var top = (children.eq(0).offset().top + Math.ceil(children.eq(0).height()/2)), - doresponsive = false, - item, link, clone; - - this.responsivetab.lst.empty(); - - children.each(function(){ - - if (UI.$(this).offset().top > top) { - doresponsive = true; - } - }); - - if (doresponsive) { - - for (var i = 0; i < children.length; i++) { - - item = UI.$(children.eq(i)); - link = item.find('a'); - - if (item.css('float') != 'none' && !item.attr('uk-dropdown')) { - - if (!item.hasClass('uk-disabled')) { - - clone = item[0].outerHTML.replace('<a ', '<a data-index="'+i+'" '); - - this.responsivetab.lst.append(clone); - } - - item.addClass('uk-hidden'); - } - } - } - - this.responsivetab[this.responsivetab.lst.children('li').length ? 'removeClass':'addClass']('uk-hidden'); - } - }); - -})(UIkit); - -(function(UI){ - - "use strict"; - - UI.component('cover', { - - defaults: { - automute : true - }, - - boot: function() { - - // auto init - UI.ready(function(context) { - - UI.$("[data-uk-cover]", context).each(function(){ - - var ele = UI.$(this); - - if(!ele.data("cover")) { - var plugin = UI.cover(ele, UI.Utils.options(ele.attr("data-uk-cover"))); - } - }); - }); - }, - - init: function() { - - this.parent = this.element.parent(); - - UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ - this.check(); - }.bind(this), 100)); - - this.on("display.uk.check", function(e) { - if(this.element.is(":visible")) this.check(); - }.bind(this)); - - this.check(); - - if (this.element.is('iframe') && this.options.automute) { - - var src = this.element.attr('src'); - - this.element.attr('src', '').on('load', function(){ - - this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); - - }).attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1'].join('')); - } - }, - - check: function() { - - this.element.css({ - 'width' : '', - 'height' : '' - }); - - this.dimension = {w: this.element.width(), h: this.element.height()}; - - if (this.element.attr('width') && !isNaN(this.element.attr('width'))) { - this.dimension.w = this.element.attr('width'); - } - - if (this.element.attr('height') && !isNaN(this.element.attr('height'))) { - this.dimension.h = this.element.attr('height'); - } - - this.ratio = this.dimension.w / this.dimension.h; - - var w = this.parent.width(), h = this.parent.height(), width, height; - - // if element height < parent height (gap underneath) - if ((w / this.ratio) < h) { - - width = Math.ceil(h * this.ratio); - height = h; - - // element width < parent width (gap to right) - } else { - - width = w; - height = Math.ceil(w / this.ratio); - } - - this.element.css({ - 'width' : width, - 'height' : height - }); - } - }); - -})(UIkit); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/uikit.min.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/uikit.min.js deleted file mode 100644 index 1702ac2af..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/media/uikit/js/uikit.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ -!function(t){if("function"==typeof define&&define.amd&&define("uikit",function(){var i=window.UIkit||t(window,window.jQuery,window.document);return i.load=function(t,e,n,o){var s,a=t.split(","),r=[],l=(o.config&&o.config.uikit&&o.config.uikit.base?o.config.uikit.base:"").replace(/\/+$/g,"");if(!l)throw new Error("Please define base path to UIkit in the requirejs config.");for(s=0;s<a.length;s+=1){var c=a[s].replace(/\./g,"/");r.push(l+"/components/"+c)}e(r,function(){n(i)})},i}),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&t(window,window.jQuery,window.document)}(function(t,i,e){"use strict";var n={},o=t.UIkit?Object.create(t.UIkit):void 0;if(n.version="2.21.0",n.noConflict=function(){return o&&(t.UIkit=o,i.UIkit=o,i.fn.uk=o.fn),n},n.prefix=function(t){return t},n.$=i,n.$doc=n.$(document),n.$win=n.$(window),n.$html=n.$("html"),n.support={},n.support.transition=function(){var t=function(){var t,i=e.body||e.documentElement,n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==i.style[t])return n[t]}();return t&&{end:t}}(),n.support.animation=function(){var t=function(){var t,i=e.body||e.documentElement,n={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(void 0!==i.style[t])return n[t]}();return t&&{end:t}}(),function(){var i=0;t.requestAnimationFrame=t.requestAnimationFrame||t.webkitRequestAnimationFrame||function(e){var n=(new Date).getTime(),o=Math.max(0,16-(n-i)),s=t.setTimeout(function(){e(n+o)},o);return i=n+o,s},t.cancelAnimationFrame||(t.cancelAnimationFrame=function(t){clearTimeout(t)})}(),n.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,n.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,n.Utils={},n.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},n.Utils.str2json=function(t,i){try{return i?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,i){return'"'+i+'":'}).replace(/'([^']+)'/g,function(t,i){return'"'+i+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(e){return!1}},n.Utils.debounce=function(t,i,e){var n;return function(){var o=this,s=arguments,a=function(){n=null,e||t.apply(o,s)},r=e&&!n;clearTimeout(n),n=setTimeout(a,i),r&&t.apply(o,s)}},n.Utils.removeCssRules=function(t){var i,e,n,o,s,a,r,l,c,u;t&&setTimeout(function(){try{for(u=document.styleSheets,o=0,r=u.length;r>o;o++){for(n=u[o],e=[],n.cssRules=n.cssRules,i=s=0,l=n.cssRules.length;l>s;i=++s)n.cssRules[i].type===CSSRule.STYLE_RULE&&t.test(n.cssRules[i].selectorText)&&e.unshift(i);for(a=0,c=e.length;c>a;a++)n.deleteRule(e[a])}}catch(h){}},0)},n.Utils.isInView=function(t,e){var o=i(t);if(!o.is(":visible"))return!1;var s=n.$win.scrollLeft(),a=n.$win.scrollTop(),r=o.offset(),l=r.left,c=r.top;return e=i.extend({topoffset:0,leftoffset:0},e),c+o.height()>=a&&c-e.topoffset<=a+n.$win.height()&&l+o.width()>=s&&l-e.leftoffset<=s+n.$win.width()?!0:!1},n.Utils.checkDisplay=function(t,e){var o=n.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!o.length&&(o=i(t)),o.trigger("display.uk.check"),e&&("string"!=typeof e&&(e='[class*="uk-animation-"]'),o.find(e).each(function(){var t=n.$(this),i=t.attr("class"),e=i.match(/uk\-animation\-(.+)/);t.removeClass(e[0]).width(),t.addClass(e[0])})),o},n.Utils.options=function(t){if(i.isPlainObject(t))return t;var e=t?t.indexOf("{"):-1,o={};if(-1!=e)try{o=n.Utils.str2json(t.substr(e))}catch(s){}return o},n.Utils.animate=function(t,e){var o=i.Deferred();return t=n.$(t),e=e,t.css("display","none").addClass(e).one(n.support.animation.end,function(){t.removeClass(e),o.resolve()}).width(),t.css("display",""),o.promise()},n.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},n.Utils.template=function(t,i){for(var e,n,o,s,a=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),r=0,l=[],c=0;r<a.length;){if(e=a[r],e.match(/\{\{\s*(.+?)\s*\}\}/))switch(r+=1,e=a[r],n=e[0],o=e.substring(e.match(/^(\^|\#|\!|\~|\:)/)?1:0),n){case"~":l.push("for(var $i=0;$i<"+o+".length;$i++) { var $item = "+o+"[$i];"),c++;break;case":":l.push("for(var $key in "+o+") { var $val = "+o+"[$key];"),c++;break;case"#":l.push("if("+o+") {"),c++;break;case"^":l.push("if(!"+o+") {"),c++;break;case"/":l.push("}"),c--;break;case"!":l.push("__ret.push("+o+");");break;default:l.push("__ret.push(escape("+o+"));")}else l.push("__ret.push('"+e.replace(/\'/g,"\\'")+"');");r+=1}return s=new Function("$data",["var __ret = [];","try {","with($data){",c?'__ret = ["Not all blocks are closed correctly."]':l.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}"].join("\n")),i?s(i):s},n.Utils.events={},n.Utils.events.click=n.support.touch?"tap":"click",t.UIkit=n,n.fn=function(t,e){var o=arguments,s=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),a=s[1],r=s[2];return n[a]?this.each(function(){var t=i(this),s=t.data(a);s||t.data(a,s=n[a](this,r?void 0:e)),r&&s[r].apply(s,Array.prototype.slice.call(o,1))}):(i.error("UIkit component ["+a+"] does not exist."),this)},i.UIkit=n,i.fn.uk=n.fn,n.langdirection="rtl"==n.$html.attr("dir")?"right":"left",n.components={},n.component=function(t,e){var o=function(e,s){var a=this;return this.UIkit=n,this.element=e?n.$(e):null,this.options=i.extend(!0,{},this.defaults,s),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(o.plugins)).forEach(function(t){o.plugins[t].init&&(o.plugins[t].init(a),a.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return o.plugins={},i.extend(!0,o.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,i,e){return n.$(this.element||this).on(t,i,e)},one:function(t,i,e){return n.$(this.element||this).one(t,i,e)},off:function(t){return n.$(this.element||this).off(t)},trigger:function(t,i){return n.$(this.element||this).trigger(t,i)},find:function(t){return n.$(this.element?this.element:[]).find(t)},proxy:function(t,i){var e=this;i.split(" ").forEach(function(i){e[i]||(e[i]=function(){return t[i].apply(t,arguments)})})},mixin:function(t,i){var e=this;i.split(" ").forEach(function(i){e[i]||(e[i]=t[i].bind(e))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:(2==arguments.length&&(this.options[arguments[0]]=arguments[1]),void 0)}},e),this.components[t]=o,this[t]=function(){var e,o;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?e=i(arguments[0]):o=arguments[0];break;case 2:e=i(arguments[0]),o=arguments[1]}return e&&e.data(t)?e.data(t):new n.components[t](e,o)},n.domready&&n.component.boot(t),o},n.plugin=function(t,i,e){this.components[t].plugins[i]=e},n.component.boot=function(t){n.components[t].prototype&&n.components[t].prototype.boot&&!n.components[t].booted&&(n.components[t].prototype.boot.apply(n,[]),n.components[t].booted=!0)},n.component.bootComponents=function(){for(var t in n.components)n.component.boot(t)},n.domObservers=[],n.domready=!1,n.ready=function(t){n.domObservers.push(t),n.domready&&t(document)},n.on=function(t,i,e){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready&&i.apply(n.$doc),n.$doc.on(t,i,e)},n.one=function(t,i,e){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready?(i.apply(n.$doc),n.$doc):n.$doc.one(t,i,e)},n.trigger=function(t,i){return n.$doc.trigger(t,i)},n.domObserve=function(t,i){n.support.mutationobserver&&(i=i||function(){},n.$(t).each(function(){var t=this,e=n.$(t);if(!e.data("observer"))try{var o=new n.support.mutationobserver(n.Utils.debounce(function(){i.apply(t,[]),e.trigger("changed.uk.dom")},50));o.observe(t,{childList:!0,subtree:!0}),e.data("observer",o)}catch(s){}}))},n.init=function(t){t=t||document,n.domObservers.forEach(function(i){i(t)})},n.on("domready.uk.dom",function(){n.init(),n.domready&&n.Utils.checkDisplay()}),i(function(){n.$body=n.$("body"),n.ready(function(){n.domObserve("[data-uk-observe]")}),n.on("changed.uk.dom",function(t){n.init(t.target),n.Utils.checkDisplay(t.target)}),n.trigger("beforeready.uk.dom"),n.component.bootComponents(),setInterval(function(){var t,i={x:window.pageXOffset,y:window.pageYOffset},e=function(){(i.x!=window.pageXOffset||i.y!=window.pageYOffset)&&(t={x:0,y:0},window.pageXOffset!=i.x&&(t.x=window.pageXOffset>i.x?1:-1),window.pageYOffset!=i.y&&(t.y=window.pageYOffset>i.y?1:-1),i={dir:t,x:window.pageXOffset,y:window.pageYOffset},n.$doc.trigger("scrolling.uk.document",[i]))};return n.support.touch&&n.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",e),(i.x||i.y)&&e(),e}(),15),n.trigger("domready.uk.dom"),n.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&n.$win.on("load orientationchange resize",n.Utils.debounce(function(){var t=function(){return i(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),n.trigger("afterready.uk.dom"),n.domready=!0}),n.$html.addClass(n.support.touch?"uk-touch":"uk-notouch"),n.support.touch){var s,a=!1,r="uk-hover",l=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";n.$html.on("touchstart MSPointerDown pointerdown",l,function(){a&&i("."+r).removeClass(r),a=i(this).addClass(r)}).on("touchend MSPointerUp pointerup",function(t){s=i(t.target).parents(l),a&&a.not(s).removeClass(r)})}return n}),function(t){function i(t,i,e,n){return Math.abs(t-i)>=Math.abs(e-n)?t-i>0?"Left":"Right":e-n>0?"Up":"Down"}function e(){c=null,h.last&&(h.el.trigger("longTap"),h={})}function n(){c&&clearTimeout(c),c=null}function o(){a&&clearTimeout(a),r&&clearTimeout(r),l&&clearTimeout(l),c&&clearTimeout(c),a=r=l=c=null,h={}}function s(t){return t.pointerType==t.MSPOINTER_TYPE_TOUCH&&t.isPrimary}if(!t.fn.swipeLeft){var a,r,l,c,u,h={},d=750;t(function(){var f,p,m,g=0,v=0;"MSGesture"in window&&(u=new MSGesture,u.target=document.body),t(document).on("MSGestureEnd gestureend",function(t){var i=t.originalEvent.velocityX>1?"Right":t.originalEvent.velocityX<-1?"Left":t.originalEvent.velocityY>1?"Down":t.originalEvent.velocityY<-1?"Up":null;i&&(h.el.trigger("swipe"),h.el.trigger("swipe"+i))}).on("touchstart MSPointerDown pointerdown",function(i){("MSPointerDown"!=i.type||s(i.originalEvent))&&(m="MSPointerDown"==i.type||"pointerdown"==i.type?i:i.originalEvent.touches[0],f=Date.now(),p=f-(h.last||f),h.el=t("tagName"in m.target?m.target:m.target.parentNode),a&&clearTimeout(a),h.x1=m.pageX,h.y1=m.pageY,p>0&&250>=p&&(h.isDoubleTap=!0),h.last=f,c=setTimeout(e,d),!u||"MSPointerDown"!=i.type&&"pointerdown"!=i.type&&"touchstart"!=i.type||u.addPointer(i.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(t){("MSPointerMove"!=t.type||s(t.originalEvent))&&(m="MSPointerMove"==t.type||"pointermove"==t.type?t:t.originalEvent.touches[0],n(),h.x2=m.pageX,h.y2=m.pageY,g+=Math.abs(h.x1-h.x2),v+=Math.abs(h.y1-h.y2))}).on("touchend MSPointerUp pointerup",function(e){("MSPointerUp"!=e.type||s(e.originalEvent))&&(n(),h.x2&&Math.abs(h.x1-h.x2)>30||h.y2&&Math.abs(h.y1-h.y2)>30?l=setTimeout(function(){h.el.trigger("swipe"),h.el.trigger("swipe"+i(h.x1,h.x2,h.y1,h.y2)),h={}},0):"last"in h&&(isNaN(g)||30>g&&30>v?r=setTimeout(function(){var i=t.Event("tap");i.cancelTouch=o,h.el.trigger(i),h.isDoubleTap?(h.el.trigger("doubleTap"),h={}):a=setTimeout(function(){a=null,h.el.trigger("singleTap"),h={}},250)},0):h={},g=v=0))}).on("touchcancel MSPointerCancel",o),t(window).on("scroll",o)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(i){t.fn[i]=function(e){return t(this).on(i,e)}})}}(jQuery),function(t){"use strict";var i=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top"},boot:function(){t.ready(function(i){t.$("[data-uk-margin]",i).each(function(){var i,e=t.$(this);e.data("stackMargin")||(i=t.stackMargin(e,t.Utils.options(e.attr("data-uk-margin"))))})})},init:function(){var e=this;this.columns=this.element.children(),this.columns.length&&(t.$win.on("resize orientationchange",function(){var i=function(){e.process()};return t.$(function(){i(),t.$win.on("load",i)}),t.Utils.debounce(i,20)}()),t.$html.on("changed.uk.dom",function(){e.columns=e.element.children(),e.process()}),this.on("display.uk.check",function(){e.columns=e.element.children(),this.element.is(":visible")&&this.process()}.bind(this)),i.push(this))},process:function(){return t.Utils.stackMargin(this.columns,this.options),this},revert:function(){return this.columns.removeClass(this.options.cls),this}}),function(){var i=[],e=function(t){if(t.is(":visible")){var i=t.parent().width(),e=t.data("width"),n=i/e,o=Math.floor(n*t.data("height"));t.css({height:e>i?o:t.data("height")})}};t.component("responsiveElement",{defaults:{},boot:function(){t.ready(function(i){t.$("iframe.uk-responsive-width, [data-uk-responsive]",i).each(function(){var i,e=t.$(this);e.data("responsiveIframe")||(i=t.responsiveElement(e,{}))})})},init:function(){var t=this.element;t.attr("width")&&t.attr("height")&&(t.data({width:t.attr("width"),height:t.attr("height")}).on("display.uk.check",function(){e(t)}),e(t),i.push(t))}}),t.$win.on("resize load",t.Utils.debounce(function(){i.forEach(function(t){e(t)})},15))}(),t.Utils.stackMargin=function(i,e){e=t.$.extend({cls:"uk-margin-small-top"},e),e.cls=e.cls,i=t.$(i).removeClass(e.cls);var n=!1,o=i.filter(":visible:first"),s=o.length?o.position().top+o.outerHeight()-1:!1;s!==!1&&i.each(function(){var i=t.$(this);i.is(":visible")&&(n?i.addClass(e.cls):i.position().top>=s&&(n=i.addClass(e.cls)))})},t.Utils.matchHeights=function(i,e){i=t.$(i).css("min-height",""),e=t.$.extend({row:!0},e);var n=function(i){if(!(i.length<2)){var e=0;i.each(function(){e=Math.max(e,t.$(this).outerHeight())}).each(function(){var i=t.$(this),n=e-("border-box"==i.css("box-sizing")?0:i.outerHeight()-i.height());i.css("min-height",n+"px")})}};e.row?(i.first().width(),setTimeout(function(){var e=!1,o=[];i.each(function(){var i=t.$(this),s=i.offset().top;s!=e&&o.length&&(n(t.$(o)),o=[],s=i.offset().top),o.push(i),e=s}),o.length&&n(t.$(o))},0)):n(i)}}(UIkit),function(t){"use strict";function i(i,e){e=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},e);var n=i.offset().top-e.offset,o=t.$doc.height(),s=window.innerHeight;n+s>o&&(n=o-s),t.$("html,body").stop().animate({scrollTop:n},e.duration,e.transition).promise().done(e.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(){var i=t.$(this);if(!i.data("smoothScroll")){{t.smoothScroll(i,t.Utils.options(i.attr("data-uk-smooth-scroll")))}i.trigger("click")}return!1})},init:function(){var e=this;this.on("click",function(n){n.preventDefault(),i(t.$(this.hash).length?t.$(this.hash):t.$("body"),e.options)})}}),t.Utils.scrollToElement=i,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,i,e,n,o){return i==o?e+n:n*(-Math.pow(2,-10*i/o)+1)+e})}(UIkit),function(t){"use strict";var i=t.$win,e=t.$doc,n=[],o=function(){for(var t=0;t<n.length;t++)window.requestAnimationFrame.apply(window,[n[t].check])};t.component("scrollspy",{defaults:{target:!1,cls:"uk-scrollspy-inview",initcls:"uk-scrollspy-init-inview",topoffset:0,leftoffset:0,repeat:!1,delay:0},boot:function(){e.on("scrolling.uk.document",o),i.on("load resize orientationchange",t.Utils.debounce(o,50)),t.ready(function(i){t.$("[data-uk-scrollspy]",i).each(function(){var i=t.$(this);if(!i.data("scrollspy")){t.scrollspy(i,t.Utils.options(i.attr("data-uk-scrollspy")))}})})},init:function(){var i,e=this,o=this.options.cls.split(/,/),s=function(){var n=e.options.target?e.element.find(e.options.target):e.element,s=1===n.length?1:0,a=0;n.each(function(){var n=t.$(this),r=n.data("inviewstate"),l=t.Utils.isInView(n,e.options),c=n.data("ukScrollspyCls")||o[a].trim();!l||r||n.data("scrollspy-idle")||(i||(n.addClass(e.options.initcls),e.offset=n.offset(),i=!0,n.trigger("init.uk.scrollspy")),n.data("scrollspy-idle",setTimeout(function(){n.addClass("uk-scrollspy-inview").toggleClass(c).width(),n.trigger("inview.uk.scrollspy"),n.data("scrollspy-idle",!1),n.data("inviewstate",!0)},e.options.delay*s)),s++),!l&&r&&e.options.repeat&&(n.data("scrollspy-idle")&&clearTimeout(n.data("scrollspy-idle")),n.removeClass("uk-scrollspy-inview").toggleClass(c),n.data("inviewstate",!1),n.trigger("outview.uk.scrollspy")),a=o[a+1]?a+1:0})};s(),this.check=s,n.push(this)}});var s=[],a=function(){for(var t=0;t<s.length;t++)window.requestAnimationFrame.apply(window,[s[t].check])};t.component("scrollspynav",{defaults:{cls:"uk-active",closest:!1,topoffset:0,leftoffset:0,smoothscroll:!1},boot:function(){e.on("scrolling.uk.document",a),i.on("resize orientationchange",t.Utils.debounce(a,50)),t.ready(function(i){t.$("[data-uk-scrollspy-nav]",i).each(function(){var i=t.$(this);if(!i.data("scrollspynav")){t.scrollspynav(i,t.Utils.options(i.attr("data-uk-scrollspy-nav")))}})})},init:function(){var e,n=[],o=this.find("a[href^='#']").each(function(){n.push(t.$(this).attr("href"))}),a=t.$(n.join(",")),r=this.options.cls,l=this.options.closest||this.options.closest,c=this,u=function(){e=[];for(var n=0;n<a.length;n++)t.Utils.isInView(a.eq(n),c.options)&&e.push(a.eq(n));if(e.length){var s,u=i.scrollTop(),h=function(){for(var t=0;t<e.length;t++)if(e[t].offset().top>=u)return e[t]}();if(!h)return;c.options.closest?(o.closest(l).removeClass(r),s=o.filter("a[href='#"+h.attr("id")+"']").closest(l).addClass(r)):s=o.removeClass(r).filter("a[href='#"+h.attr("id")+"']").addClass(r),c.element.trigger("inview.uk.scrollspynav",[h,s])}};this.options.smoothscroll&&t.smoothScroll&&o.each(function(){t.smoothScroll(this,c.options.smoothscroll)}),u(),this.element.data("scrollspynav",this),this.check=u,s.push(this)}})}(UIkit),function(t){"use strict";var i=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(e){t.$("[data-uk-toggle]",e).each(function(){var i=t.$(this);if(!i.data("toggle")){t.toggle(i,t.Utils.options(i.attr("data-uk-toggle")))}}),setTimeout(function(){i.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=-1!==this.options.cls.indexOf("uk-hidden"),this.getToggles(),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle()}),i.push(this)},toggle:function(){if(this.totoggle.length){if(this.options.animation&&t.support.animation){var i=this,e=this.options.animation.split(",");1==e.length&&(e[1]=e[0]),e[0]=e[0].trim(),e[1]=e[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.hasClass(this.options.cls)?(this.totoggle.toggleClass(this.options.cls),this.totoggle.each(function(){t.Utils.animate(this,e[0]).then(function(){t.$(this).css("animation-duration",""),t.Utils.checkDisplay(this)})})):this.totoggle.each(function(){t.Utils.animate(this,e[1]+" uk-animation-reverse").then(function(){t.$(this).toggleClass(i.options.cls).css("animation-duration",""),t.Utils.checkDisplay(this)}.bind(this))})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit),function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(i){var e=t.$(this);if(!e.data("alert")){var n=t.alert(e,t.Utils.options(e.attr("data-uk-alert")));t.$(i.target).is(n.options.trigger)&&(i.preventDefault(),n.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(i){i.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),i=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,i):i()}})}(UIkit),function(t){"use strict";t.component("buttonRadio",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(i){var e=t.$(this);if(!e.data("buttonRadio")){var n=t.buttonRadio(e,t.Utils.options(e.attr("data-uk-button-radio"))),o=t.$(i.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var n=t.$(this);n.is('a[href="#"]')&&e.preventDefault(),i.find(i.options.target).not(n).removeClass("uk-active").blur(),n.addClass("uk-active"),i.find(i.options.target).not(n).attr("aria-checked","false"),n.attr("aria-checked","true"),i.trigger("change.uk.button",[n])})},getSelected:function(){return this.find(".uk-active")}}),t.component("buttonCheckbox",{defaults:{target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(i){var e=t.$(this);if(!e.data("buttonCheckbox")){var n=t.buttonCheckbox(e,t.Utils.options(e.attr("data-uk-button-checkbox"))),o=t.$(i.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter(".uk-active").attr("aria-checked","true"),this.on("click",this.options.target,function(e){var n=t.$(this);n.is('a[href="#"]')&&e.preventDefault(),n.toggleClass("uk-active").blur(),n.attr("aria-checked",n.hasClass("uk-active")),i.trigger("change.uk.button",[n])})},getSelected:function(){return this.find(".uk-active")}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(){var i=t.$(this);if(!i.data("button")){{t.button(i,t.Utils.options(i.attr("data-uk-button")))}i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit),function(t){"use strict";var i,e=!1;t.component("dropdown",{defaults:{mode:"hover",remaintime:800,justify:!1,boundary:t.$win,delay:0,hoverDelayIdle:250},remainIdle:!1,boot:function(){var i=t.support.touch?"click":"mouseenter";t.$html.on(i+".dropdown.uikit","[data-uk-dropdown]",function(e){var n=t.$(this);if(!n.data("dropdown")){var o=t.dropdown(n,t.Utils.options(n.attr("data-uk-dropdown")));("click"==i||"mouseenter"==i&&"hover"==o.options.mode)&&o.element.trigger(i),o.element.find(".uk-dropdown").length&&e.preventDefault()}})},init:function(){var n=this;this.dropdown=this.find(".uk-dropdown"),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=this.options.justify?t.$(this.options.justify):!1,this.boundary=t.$(this.options.boundary),this.flipped=this.dropdown.hasClass("uk-dropdown-flip"),this.boundary.length||(this.boundary=t.$win),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uikit.dropdown",function(i){var e=t.$(i.target);e.parents(".uk-dropdown").length||((e.is("a[href='#']")||e.parent().is("a[href='#']")||n.dropdown.length&&!n.dropdown.is(":visible"))&&i.preventDefault(),e.blur()),n.element.hasClass("uk-open")?(e.is("a:not(.js-uk-prevent)")||e.is(".uk-dropdown-close")||!n.dropdown.find(i.target).length)&&n.hide():n.show()}):this.on("mouseenter",function(){n.remainIdle&&clearTimeout(n.remainIdle),i&&clearTimeout(i),e&&e==n||(i=e&&e!=n?setTimeout(function(){i=setTimeout(n.show.bind(n),n.options.delay)},n.options.hoverDelayIdle):setTimeout(n.show.bind(n),n.options.delay))}).on("mouseleave",function(){i&&clearTimeout(i),n.remainIdle=setTimeout(function(){e&&e==n&&n.hide()},n.options.remaintime)}).on("click",function(i){var e=t.$(i.target);n.remainIdle&&clearTimeout(n.remainIdle),(e.is("a[href='#']")||e.parent().is("a[href='#']"))&&i.preventDefault(),n.show()})},show:function(){t.$html.off("click.outer.dropdown"),e&&e!=this&&e.hide(),i&&clearTimeout(i),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),e=this,this.registerOuterClick()},hide:function(){this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.trigger("hide.uk.dropdown",[this]),e==this&&(e=!1)},registerOuterClick:function(){var n=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(o){i&&clearTimeout(i);var s=t.$(o.target);e!=n||!s.is("a:not(.js-uk-prevent)")&&!s.is(".uk-dropdown-close")&&n.dropdown.find(o.target).length||(n.hide(),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.justified&&this.justified.length&&this.dropdown.css("min-width","");var i=this,e=this.dropdown.css("margin-"+t.langdirection,""),n=e.show().offset(),o=e.outerWidth(),s=this.boundary.width(),a=this.boundary.offset()?this.boundary.offset().left:0;if(this.centered&&(e.css("margin-"+t.langdirection,-1*(parseFloat(o)/2-e.parent().width()/2)),n=e.offset(),(o+n.left>s||n.left<0)&&(e.css("margin-"+t.langdirection,""),n=e.offset())),this.justified&&this.justified.length){var r=this.justified.outerWidth();if(e.css("min-width",r),"right"==t.langdirection){var l=s-(this.justified.offset().left+r),c=s-(e.offset().left+e.outerWidth());e.css("margin-right",l-c)}else e.css("margin-left",this.justified.offset().left-n.left);n=e.offset()}o+(n.left-a)>s&&(e.addClass("uk-dropdown-flip"),n=e.offset()),n.left-a<0&&(e.addClass("uk-dropdown-stack"),e.hasClass("uk-dropdown-flip")&&(this.flipped||(e.removeClass("uk-dropdown-flip"),n=e.offset(),e.addClass("uk-dropdown-flip")),setTimeout(function(){(e.offset().left-a<0||!i.flipped&&e.outerWidth()+(n.left-a)<s)&&e.removeClass("uk-dropdown-flip")},0)),this.trigger("stack.uk.dropdown",[this])),e.css("display","")}}})}(UIkit),function(t){"use strict";var i=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid-match]",i).each(function(){var i,e=t.$(this);e.data("gridMatchHeight")||(i=t.gridMatchHeight(e,t.Utils.options(e.attr("data-uk-grid-match"))))})})},init:function(){var e=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var i=function(){e.match()};return t.$(function(){i()}),t.Utils.debounce(i,50)}()),t.$html.on("changed.uk.dom",function(){e.columns=e.element.children(),e.elements=e.options.target?e.find(e.options.target):e.columns,e.match()}),this.on("display.uk.check",function(){this.element.is(":visible")&&this.match()}.bind(this)),i.push(this))},match:function(){var i=this.columns.filter(":visible:first");if(i.length){var e=Math.ceil(100*parseFloat(i.css("width"))/parseFloat(i.parent().css("width")))>=100;return e&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin"},boot:function(){t.ready(function(i){t.$("[data-uk-grid-margin]",i).each(function(){var i,e=t.$(this);e.data("gridMargin")||(i=t.gridMargin(e,t.Utils.options(e.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit),function(t){"use strict";function i(i,e){return e?("object"==typeof i?(i=i instanceof jQuery?i:t.$(i),i.parent().length&&(e.persist=i,e.persist.data("modalPersistParent",i.parent()))):i="string"==typeof i||"number"==typeof i?t.$("<div></div>").html(i):t.$("<div></div>").html("UIkit.modal Error: Unsupported data type: "+typeof i),i.appendTo(e.element.find(".uk-modal-dialog")),e):void 0}var e,n=!1,o=0,s=t.$html;t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,init:function(){if(e||(e=t.$("body")),this.element.length){var i=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),i.hide()}).on("click",function(e){var n=t.$(e.target);n[0]==i.element[0]&&i.options.bgclose&&i.hide()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){if(!this.isActive())return this.options.modal&&n&&n.hide(!0),this.element.removeClass("uk-open").show(),this.resize(),this.options.modal&&(n=this),this.active=!0,o++,this.element.addClass("uk-open"),s.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(i){if(!i&&t.support.transition){var e=this;this.one(t.support.transition.end,function(){e._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(){var t=e.width();if(this.scrollbarwidth=window.innerWidth-t,e.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var i=this.dialog.outerHeight(),n=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);i+n<window.innerHeight?this.dialog.css({top:window.innerHeight/2-i/2-n}):this.dialog.css({top:""})}},updateScrollable:function(){var t=this.dialog.find(".uk-overflow-container:visible:first");if(t.length){t.css("height",0);var i=Math.abs(parseInt(this.dialog.css("margin-top"),10)),e=this.dialog.outerHeight(),n=window.innerHeight,o=n-2*(20>i?20:i)-e;return t.css("height",o<this.options.minScrollHeight?"":o),!0}return!1},_hide:function(){this.active=!1,o--,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),o||(s.removeClass("uk-modal-page"),e.css(this.paddingdir,"")),n===this&&(n=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.active}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(i){var e=t.$(this);if(e.is("a")&&i.preventDefault(),!e.data("modalTrigger")){var n=t.modalTrigger(e,t.Utils.options(e.attr("data-uk-modal")));n.show()}}),t.$html.on("keydown.modal.uikit",function(t){n&&27===t.keyCode&&n.options.keyboard&&(t.preventDefault(),n.hide())}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){n&&n.resize()},150))},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),i.show()}),this.proxy(this.modal,"show hide isActive") -}}),t.modal.dialog=function(e,n){var o=t.modal(t.$(t.modal.dialog.template).appendTo("body"),n);return o.on("hide.uk.modal",function(){o.persist&&(o.persist.appendTo(o.persist.data("modalPersistParent")),o.persist=!1),o.element.remove()}),i(e,o),o},t.modal.dialog.template='<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>',t.modal.alert=function(i,e){e=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},e);var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+e.labels.Ok+"</button></div>"].join(""),e);n.on("show.uk.modal",function(){setTimeout(function(){n.element.find("button:first").focus()},50)}),n.show()},t.modal.confirm=function(i,e,n){e=t.$.isFunction(e)?e:function(){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},n);var o=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-confirm">'+n.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+n.labels.Cancel+"</button></div>"].join(""),n);o.element.find(".js-modal-confirm").on("click",function(){e(),o.hide()}),o.on("show.uk.modal",function(){setTimeout(function(){o.element.find("button:first").focus()},50)}),o.show()},t.modal.prompt=function(i,e,n,o){n=t.$.isFunction(n)?n:function(){},o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},o);var s=t.modal.dialog([i?'<div class="uk-modal-content uk-form">'+String(i)+"</div>":"",'<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>','<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary js-modal-ok">'+o.labels.Ok+'</button> <button class="uk-button uk-modal-close">'+o.labels.Cancel+"</button></div>"].join(""),o),a=s.element.find("input[type='text']").val(e||"").on("keyup",function(t){13==t.keyCode&&s.element.find(".js-modal-ok").trigger("click")});s.element.find(".js-modal-ok").on("click",function(){n(a.val())!==!1&&s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){a.focus()},50)}),s.show()},t.modal.blockUI=function(i,e){var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i||'<div class="uk-text-center">...</div>')+"</div>"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},e));return n.content=n.element.find(".uk-modal-content:first"),n.show(),n},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit),function(t){"use strict";function i(i){var e=t.$(i),n="auto";if(e.is(":visible"))n=e.outerHeight();else{var o={position:e.css("position"),visibility:e.css("visibility"),display:e.css("display")};n=e.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),e.css(o)}return n}t.component("nav",{defaults:{toggle:">li.uk-parent > a[href='#']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){t.ready(function(i){t.$("[data-uk-nav]",i).each(function(){var i=t.$(this);if(!i.data("nav")){t.nav(i,t.Utils.options(i.attr("data-uk-nav")))}})})},init:function(){var i=this;this.on("click.uikit.nav",this.options.toggle,function(e){e.preventDefault();var n=t.$(this);i.open(n.parent()[0]==i.element[0]?n:n.parent("li"))}),this.find(this.options.lists).each(function(){var e=t.$(this),n=e.parent(),o=n.hasClass("uk-active");e.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'),n.data("list-container",e.parent()[o?"removeClass":"addClass"]("uk-hidden")),n.attr("aria-expanded",n.hasClass("uk-open")),o&&i.open(n,!0)})},open:function(e,n){var o=this,s=this.element,a=t.$(e),r=a.data("list-container");this.options.multiple||s.children(".uk-open").not(e).each(function(){var i=t.$(this);i.data("list-container")&&i.data("list-container").stop().animate({height:0},function(){t.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),a.toggleClass("uk-open"),a.attr("aria-expanded",a.hasClass("uk-open")),r&&(a.hasClass("uk-open")&&r.removeClass("uk-hidden"),n?(r.stop().height(a.hasClass("uk-open")?"auto":0),a.hasClass("uk-open")||r.addClass("uk-hidden"),this.trigger("display.uk.check")):r.stop().animate({height:a.hasClass("uk-open")?i(r.find("ul:first")):0},function(){a.hasClass("uk-open")?r.css("height",""):r.addClass("uk-hidden"),o.trigger("display.uk.check")}))}})}(UIkit),function(t){"use strict";var i={x:window.scrollX,y:window.scrollY},e=(t.$win,t.$doc,t.$html),n={show:function(n){if(n=t.$(n),n.length){var o=t.$("body"),s=n.find(".uk-offcanvas-bar:first"),a="right"==t.langdirection,r=s.hasClass("uk-offcanvas-bar-flip")?-1:1,l=r*(a?-1:1);i={x:window.pageXOffset,y:window.pageYOffset},n.addClass("uk-active"),o.css({width:window.innerWidth,height:window.innerHeight}).addClass("uk-offcanvas-page"),o.css(a?"margin-right":"margin-left",(a?-1:1)*s.outerWidth()*l).width(),e.css("margin-top",-1*i.y),s.addClass("uk-offcanvas-bar-show"),this._initElement(n),s.trigger("show.uk.offcanvas",[n,s]),n.attr("aria-hidden","false")}},hide:function(n){var o=t.$("body"),s=t.$(".uk-offcanvas.uk-active"),a="right"==t.langdirection,r=s.find(".uk-offcanvas-bar:first"),l=function(){o.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),s.removeClass("uk-active"),r.removeClass("uk-offcanvas-bar-show"),e.css("margin-top",""),window.scrollTo(i.x,i.y),r.trigger("hide.uk.offcanvas",[s,r]),s.attr("aria-hidden","true")};s.length&&(t.support.transition&&!n?(o.one(t.support.transition.end,function(){l()}).css(a?"margin-right":"margin-left",""),setTimeout(function(){r.removeClass("uk-offcanvas-bar-show")},0)):l())},_initElement:function(i){i.data("OffcanvasInit")||(i.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(i){var e=t.$(i.target);if(!i.type.match(/swipe/)&&!e.hasClass("uk-offcanvas-close")){if(e.hasClass("uk-offcanvas-bar"))return;if(e.parents(".uk-offcanvas-bar:first").length)return}i.stopImmediatePropagation(),n.hide()}),i.on("click","a[href^='#']",function(){var i=t.$(this),e=i.attr("href");"#"!=e&&(t.$doc.one("hide.uk.offcanvas",function(){var n;try{n=t.$(e)}catch(o){n=""}n.length||(n=t.$('[name="'+e.replace("#","")+'"]')),n.length&&i.attr("data-uk-smooth-scroll")&&t.Utils.scrollToElement?t.Utils.scrollToElement(n,t.Utils.options(i.attr("data-uk-smooth-scroll")||"{}")):window.location.href=e}),n.hide())}),i.data("OffcanvasInit",!0))}};t.component("offcanvasTrigger",{boot:function(){e.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(i){i.preventDefault();var e=t.$(this);if(!e.data("offcanvasTrigger")){{t.offcanvasTrigger(e,t.Utils.options(e.attr("data-uk-offcanvas")))}e.trigger("click")}}),e.on("keydown.uk.offcanvas",function(t){27===t.keyCode&&n.hide()})},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.on("click",function(t){t.preventDefault(),n.show(i.options.target)})}}),t.offcanvas=n}(UIkit),function(t){"use strict";function i(i,e,n){var o,s=t.$.Deferred(),a=i,r=i;return n[0]===e[0]?(s.resolve(),s.promise()):("object"==typeof i&&(a=i[0],r=i[1]||i[0]),o=function(){e&&e.hide().removeClass("uk-active "+r+" uk-animation-reverse"),n.addClass(a).one(t.support.animation.end,function(){n.removeClass(""+a).css({opacity:"",display:""}),s.resolve(),e&&e.css({opacity:"",display:""})}.bind(this)).show()},n.css("animation-duration",this.options.duration+"ms"),e&&e.length?(e.css("animation-duration",this.options.duration+"ms"),e.css("display","none").addClass(r+" uk-animation-reverse").one(t.support.animation.end,function(){o()}.bind(this)).css("display","")):(n.addClass("uk-active"),o()),s.promise())}var e;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200},animating:!1,boot:function(){t.ready(function(i){t.$("[data-uk-switcher]",i).each(function(){var i=t.$(this);if(!i.data("switcher")){t.switcher(i,t.Utils.options(i.attr("data-uk-switcher")))}})})},init:function(){var i=this;if(this.on("click.uikit.switcher",this.options.toggle,function(t){t.preventDefault(),i.show(this)}),this.options.connect){this.connect=t.$(this.options.connect),this.connect.find(".uk-active").removeClass(".uk-active"),this.connect.length&&(this.connect.children().attr("aria-hidden","true"),this.connect.on("click","[data-uk-switcher-item]",function(e){e.preventDefault();var n=t.$(this).attr("data-uk-switcher-item");if(i.index!=n)switch(n){case"next":case"previous":i.show(i.index+("next"==n?1:-1));break;default:i.show(parseInt(n,10))}}).on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||i.show(i.index+("swipeLeft"==t.type?1:-1))}));var e=this.find(this.options.toggle),n=e.filter(".uk-active");if(n.length)this.show(n,!1);else{if(this.options.active===!1)return;n=e.eq(this.options.active),this.show(n.length?n:e.eq(0),!1)}e.not(n).attr("aria-expanded","false"),n.attr("aria-expanded","true"),this.on("changed.uk.dom",function(){i.connect=t.$(i.options.connect)})}},show:function(n,o){if(!this.animating){if(isNaN(n))n=t.$(n);else{var s=this.find(this.options.toggle);n=0>n?s.length-1:n,n=s.eq(s[n]?n:0)}var a=this,s=this.find(this.options.toggle),r=t.$(n),l=e[this.options.animation]||function(t,n){if(!a.options.animation)return e.none.apply(a);var o=a.options.animation.split(",");return 1==o.length&&(o[1]=o[0]),o[0]=o[0].trim(),o[1]=o[1].trim(),i.apply(a,[o,t,n])};o!==!1&&t.support.animation||(l=e.none),r.hasClass("uk-disabled")||(s.attr("aria-expanded","false"),r.attr("aria-expanded","true"),s.filter(".uk-active").removeClass("uk-active"),r.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(r),-1==this.index&&(this.index=0),this.connect.each(function(){var i=t.$(this),e=t.$(i.children()),n=t.$(e.filter(".uk-active")),o=t.$(e.eq(a.index));a.animating=!0,l.apply(a,[n,o]).then(function(){n.removeClass("uk-active"),o.addClass("uk-active"),n.attr("aria-hidden","true"),o.attr("aria-hidden","false"),t.Utils.checkDisplay(o,!0),a.animating=!1})})),this.trigger("show.uk.switcher",[r]))}}}),e={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,e){return i.apply(this,["uk-animation-fade",t,e])},"slide-bottom":function(t,e){return i.apply(this,["uk-animation-slide-bottom",t,e])},"slide-top":function(t,e){return i.apply(this,["uk-animation-slide-top",t,e])},"slide-vertical":function(t,e){var n=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>e.index()&&n.reverse(),i.apply(this,[n,t,e])},"slide-left":function(t,e){return i.apply(this,["uk-animation-slide-left",t,e])},"slide-right":function(t,e){return i.apply(this,["uk-animation-slide-right",t,e])},"slide-horizontal":function(t,e){var n=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>e.index()&&n.reverse(),i.apply(this,[n,t,e])},scale:function(t,e){return i.apply(this,["uk-animation-scale-up",t,e])}},t.switcher.animations=e}(UIkit),function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200},boot:function(){t.ready(function(i){t.$("[data-uk-tab]",i).each(function(){var i=t.$(this);if(!i.data("tab")){t.tab(i,t.Utils.options(i.attr("data-uk-tab")))}})})},init:function(){var i=this;this.current=!1,this.on("click.uikit.tab",this.options.target,function(e){if(e.preventDefault(),!i.switcher||!i.switcher.animating){var n=i.find(i.options.target).not(this);n.removeClass("uk-active").blur(),i.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),i.current]),i.current=t.$(this),i.options.connect||(n.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uikit.tab","a",function(e){e.preventDefault(),e.stopPropagation();var n=t.$(this);i.element.children("li:not(.uk-tab-responsive)").eq(n.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,e){i.responsivetab.caption.html(e.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration})),t.dropdown(this.responsivetab,{mode:"click"}),i.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){i.element.is(":visible")&&i.check()},100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.check()})},check:function(){var i=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!i.length)return this.responsivetab.addClass("uk-hidden"),void 0;var e,n,o,s=i.eq(0).offset().top+Math.ceil(i.eq(0).height()/2),a=!1;if(this.responsivetab.lst.empty(),i.each(function(){t.$(this).offset().top>s&&(a=!0)}),a)for(var r=0;r<i.length;r++)e=t.$(i.eq(r)),n=e.find("a"),"none"==e.css("float")||e.attr("uk-dropdown")||(e.hasClass("uk-disabled")||(o=e[0].outerHTML.replace("<a ",'<a data-index="'+r+'" '),this.responsivetab.lst.append(o)),e.addClass("uk-hidden"));this.responsivetab[this.responsivetab.lst.children("li").length?"removeClass":"addClass"]("uk-hidden")}})}(UIkit),function(t){"use strict";t.component("cover",{defaults:{automute:!0},boot:function(){t.ready(function(i){t.$("[data-uk-cover]",i).each(function(){var i=t.$(this);if(!i.data("cover")){t.cover(i,t.Utils.options(i.attr("data-uk-cover")))}})})},init:function(){if(this.parent=this.element.parent(),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){this.check()}.bind(this),100)),this.on("display.uk.check",function(){this.element.is(":visible")&&this.check()}.bind(this)),this.check(),this.element.is("iframe")&&this.options.automute){var i=this.element.attr("src");this.element.attr("src","").on("load",function(){this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}).attr("src",[i,i.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,i,e=this.parent.width(),n=this.parent.height();e/this.ratio<n?(t=Math.ceil(n*this.ratio),i=n):(t=e,i=Math.ceil(e/this.ratio)),this.element.css({width:t,height:i})}})}(UIkit); \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/script.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/script.php deleted file mode 100644 index 4f222c207..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/script.php +++ /dev/null @@ -1,1821 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage script.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -JHTML::_('behavior.modal'); -jimport('joomla.installer.installer'); -jimport('joomla.installer.helper'); - -/** - * Script File of Componentbuilder Component - */ -class com_componentbuilderInstallerScript -{ - /** - * method to install the component - * - * - * @return void - */ - function install($parent) - { - - } - - /** - * method to uninstall the component - * - * @return void - */ - function uninstall($parent) - { - // Get Application object - $app = JFactory::getApplication(); - - // Get The Database object - $db = JFactory::getDbo(); - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Component alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.component') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $component_found = $db->getNumRows(); - // Now check if there were any rows - if ($component_found) - { - // Since there are load the needed component type ids - $component_ids = $db->loadColumn(); - // Remove Component from the content type table - $component_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.component') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($component_condition); - $db->setQuery($query); - // Execute the query to remove Component items - $component_done = $db->execute(); - if ($component_done); - { - // If succesfully remove Component add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.component) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Component items from the contentitem tag map table - $component_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.component') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($component_condition); - $db->setQuery($query); - // Execute the query to remove Component items - $component_done = $db->execute(); - if ($component_done); - { - // If succesfully remove Component add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.component) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Component items from the ucm content table - $component_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.component') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($component_condition); - $db->setQuery($query); - // Execute the query to remove Component items - $component_done = $db->execute(); - if ($component_done); - { - // If succesfully remove Component add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.component) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Component items are cleared from DB - foreach ($component_ids as $component_id) - { - // Remove Component items from the ucm base table - $component_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $component_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($component_condition); - $db->setQuery($query); - // Execute the query to remove Component items - $db->execute(); - - // Remove Component items from the ucm history table - $component_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $component_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($component_condition); - $db->setQuery($query); - // Execute the query to remove Component items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Admin_view alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.admin_view') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $admin_view_found = $db->getNumRows(); - // Now check if there were any rows - if ($admin_view_found) - { - // Since there are load the needed admin_view type ids - $admin_view_ids = $db->loadColumn(); - // Remove Admin_view from the content type table - $admin_view_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.admin_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Admin_view items - $admin_view_done = $db->execute(); - if ($admin_view_done); - { - // If succesfully remove Admin_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.admin_view) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Admin_view items from the contentitem tag map table - $admin_view_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.admin_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Admin_view items - $admin_view_done = $db->execute(); - if ($admin_view_done); - { - // If succesfully remove Admin_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.admin_view) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Admin_view items from the ucm content table - $admin_view_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.admin_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Admin_view items - $admin_view_done = $db->execute(); - if ($admin_view_done); - { - // If succesfully remove Admin_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.admin_view) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Admin_view items are cleared from DB - foreach ($admin_view_ids as $admin_view_id) - { - // Remove Admin_view items from the ucm base table - $admin_view_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $admin_view_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Admin_view items - $db->execute(); - - // Remove Admin_view items from the ucm history table - $admin_view_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $admin_view_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Admin_view items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Custom_admin_view alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.custom_admin_view') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $custom_admin_view_found = $db->getNumRows(); - // Now check if there were any rows - if ($custom_admin_view_found) - { - // Since there are load the needed custom_admin_view type ids - $custom_admin_view_ids = $db->loadColumn(); - // Remove Custom_admin_view from the content type table - $custom_admin_view_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.custom_admin_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($custom_admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Custom_admin_view items - $custom_admin_view_done = $db->execute(); - if ($custom_admin_view_done); - { - // If succesfully remove Custom_admin_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.custom_admin_view) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Custom_admin_view items from the contentitem tag map table - $custom_admin_view_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.custom_admin_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($custom_admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Custom_admin_view items - $custom_admin_view_done = $db->execute(); - if ($custom_admin_view_done); - { - // If succesfully remove Custom_admin_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.custom_admin_view) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Custom_admin_view items from the ucm content table - $custom_admin_view_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.custom_admin_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($custom_admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Custom_admin_view items - $custom_admin_view_done = $db->execute(); - if ($custom_admin_view_done); - { - // If succesfully remove Custom_admin_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.custom_admin_view) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Custom_admin_view items are cleared from DB - foreach ($custom_admin_view_ids as $custom_admin_view_id) - { - // Remove Custom_admin_view items from the ucm base table - $custom_admin_view_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $custom_admin_view_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($custom_admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Custom_admin_view items - $db->execute(); - - // Remove Custom_admin_view items from the ucm history table - $custom_admin_view_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $custom_admin_view_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($custom_admin_view_condition); - $db->setQuery($query); - // Execute the query to remove Custom_admin_view items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Site_view alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.site_view') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $site_view_found = $db->getNumRows(); - // Now check if there were any rows - if ($site_view_found) - { - // Since there are load the needed site_view type ids - $site_view_ids = $db->loadColumn(); - // Remove Site_view from the content type table - $site_view_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.site_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($site_view_condition); - $db->setQuery($query); - // Execute the query to remove Site_view items - $site_view_done = $db->execute(); - if ($site_view_done); - { - // If succesfully remove Site_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.site_view) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Site_view items from the contentitem tag map table - $site_view_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.site_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($site_view_condition); - $db->setQuery($query); - // Execute the query to remove Site_view items - $site_view_done = $db->execute(); - if ($site_view_done); - { - // If succesfully remove Site_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.site_view) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Site_view items from the ucm content table - $site_view_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.site_view') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($site_view_condition); - $db->setQuery($query); - // Execute the query to remove Site_view items - $site_view_done = $db->execute(); - if ($site_view_done); - { - // If succesfully remove Site_view add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.site_view) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Site_view items are cleared from DB - foreach ($site_view_ids as $site_view_id) - { - // Remove Site_view items from the ucm base table - $site_view_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $site_view_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($site_view_condition); - $db->setQuery($query); - // Execute the query to remove Site_view items - $db->execute(); - - // Remove Site_view items from the ucm history table - $site_view_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $site_view_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($site_view_condition); - $db->setQuery($query); - // Execute the query to remove Site_view items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Template alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.template') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $template_found = $db->getNumRows(); - // Now check if there were any rows - if ($template_found) - { - // Since there are load the needed template type ids - $template_ids = $db->loadColumn(); - // Remove Template from the content type table - $template_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.template') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($template_condition); - $db->setQuery($query); - // Execute the query to remove Template items - $template_done = $db->execute(); - if ($template_done); - { - // If succesfully remove Template add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.template) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Template items from the contentitem tag map table - $template_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.template') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($template_condition); - $db->setQuery($query); - // Execute the query to remove Template items - $template_done = $db->execute(); - if ($template_done); - { - // If succesfully remove Template add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.template) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Template items from the ucm content table - $template_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.template') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($template_condition); - $db->setQuery($query); - // Execute the query to remove Template items - $template_done = $db->execute(); - if ($template_done); - { - // If succesfully remove Template add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.template) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Template items are cleared from DB - foreach ($template_ids as $template_id) - { - // Remove Template items from the ucm base table - $template_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $template_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($template_condition); - $db->setQuery($query); - // Execute the query to remove Template items - $db->execute(); - - // Remove Template items from the ucm history table - $template_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $template_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($template_condition); - $db->setQuery($query); - // Execute the query to remove Template items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Layout alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.layout') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $layout_found = $db->getNumRows(); - // Now check if there were any rows - if ($layout_found) - { - // Since there are load the needed layout type ids - $layout_ids = $db->loadColumn(); - // Remove Layout from the content type table - $layout_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.layout') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($layout_condition); - $db->setQuery($query); - // Execute the query to remove Layout items - $layout_done = $db->execute(); - if ($layout_done); - { - // If succesfully remove Layout add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.layout) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Layout items from the contentitem tag map table - $layout_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.layout') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($layout_condition); - $db->setQuery($query); - // Execute the query to remove Layout items - $layout_done = $db->execute(); - if ($layout_done); - { - // If succesfully remove Layout add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.layout) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Layout items from the ucm content table - $layout_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.layout') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($layout_condition); - $db->setQuery($query); - // Execute the query to remove Layout items - $layout_done = $db->execute(); - if ($layout_done); - { - // If succesfully remove Layout add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.layout) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Layout items are cleared from DB - foreach ($layout_ids as $layout_id) - { - // Remove Layout items from the ucm base table - $layout_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $layout_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($layout_condition); - $db->setQuery($query); - // Execute the query to remove Layout items - $db->execute(); - - // Remove Layout items from the ucm history table - $layout_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $layout_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($layout_condition); - $db->setQuery($query); - // Execute the query to remove Layout items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Dynamic_get alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.dynamic_get') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $dynamic_get_found = $db->getNumRows(); - // Now check if there were any rows - if ($dynamic_get_found) - { - // Since there are load the needed dynamic_get type ids - $dynamic_get_ids = $db->loadColumn(); - // Remove Dynamic_get from the content type table - $dynamic_get_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.dynamic_get') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($dynamic_get_condition); - $db->setQuery($query); - // Execute the query to remove Dynamic_get items - $dynamic_get_done = $db->execute(); - if ($dynamic_get_done); - { - // If succesfully remove Dynamic_get add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.dynamic_get) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Dynamic_get items from the contentitem tag map table - $dynamic_get_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.dynamic_get') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($dynamic_get_condition); - $db->setQuery($query); - // Execute the query to remove Dynamic_get items - $dynamic_get_done = $db->execute(); - if ($dynamic_get_done); - { - // If succesfully remove Dynamic_get add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.dynamic_get) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Dynamic_get items from the ucm content table - $dynamic_get_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.dynamic_get') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($dynamic_get_condition); - $db->setQuery($query); - // Execute the query to remove Dynamic_get items - $dynamic_get_done = $db->execute(); - if ($dynamic_get_done); - { - // If succesfully remove Dynamic_get add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.dynamic_get) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Dynamic_get items are cleared from DB - foreach ($dynamic_get_ids as $dynamic_get_id) - { - // Remove Dynamic_get items from the ucm base table - $dynamic_get_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $dynamic_get_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($dynamic_get_condition); - $db->setQuery($query); - // Execute the query to remove Dynamic_get items - $db->execute(); - - // Remove Dynamic_get items from the ucm history table - $dynamic_get_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $dynamic_get_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($dynamic_get_condition); - $db->setQuery($query); - // Execute the query to remove Dynamic_get items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Snippet alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.snippet') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $snippet_found = $db->getNumRows(); - // Now check if there were any rows - if ($snippet_found) - { - // Since there are load the needed snippet type ids - $snippet_ids = $db->loadColumn(); - // Remove Snippet from the content type table - $snippet_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.snippet') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($snippet_condition); - $db->setQuery($query); - // Execute the query to remove Snippet items - $snippet_done = $db->execute(); - if ($snippet_done); - { - // If succesfully remove Snippet add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.snippet) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Snippet items from the contentitem tag map table - $snippet_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.snippet') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($snippet_condition); - $db->setQuery($query); - // Execute the query to remove Snippet items - $snippet_done = $db->execute(); - if ($snippet_done); - { - // If succesfully remove Snippet add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.snippet) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Snippet items from the ucm content table - $snippet_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.snippet') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($snippet_condition); - $db->setQuery($query); - // Execute the query to remove Snippet items - $snippet_done = $db->execute(); - if ($snippet_done); - { - // If succesfully remove Snippet add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.snippet) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Snippet items are cleared from DB - foreach ($snippet_ids as $snippet_id) - { - // Remove Snippet items from the ucm base table - $snippet_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $snippet_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($snippet_condition); - $db->setQuery($query); - // Execute the query to remove Snippet items - $db->execute(); - - // Remove Snippet items from the ucm history table - $snippet_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $snippet_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($snippet_condition); - $db->setQuery($query); - // Execute the query to remove Snippet items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Field alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.field') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $field_found = $db->getNumRows(); - // Now check if there were any rows - if ($field_found) - { - // Since there are load the needed field type ids - $field_ids = $db->loadColumn(); - // Remove Field from the content type table - $field_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.field') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($field_condition); - $db->setQuery($query); - // Execute the query to remove Field items - $field_done = $db->execute(); - if ($field_done); - { - // If succesfully remove Field add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.field) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Field items from the contentitem tag map table - $field_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.field') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($field_condition); - $db->setQuery($query); - // Execute the query to remove Field items - $field_done = $db->execute(); - if ($field_done); - { - // If succesfully remove Field add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.field) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Field items from the ucm content table - $field_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.field') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($field_condition); - $db->setQuery($query); - // Execute the query to remove Field items - $field_done = $db->execute(); - if ($field_done); - { - // If succesfully remove Field add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.field) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Field items are cleared from DB - foreach ($field_ids as $field_id) - { - // Remove Field items from the ucm base table - $field_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $field_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($field_condition); - $db->setQuery($query); - // Execute the query to remove Field items - $db->execute(); - - // Remove Field items from the ucm history table - $field_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $field_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($field_condition); - $db->setQuery($query); - // Execute the query to remove Field items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Field catid alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fields.category') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $field_catid_found = $db->getNumRows(); - // Now check if there were any rows - if ($field_catid_found) - { - // Since there are load the needed field_catid type ids - $field_catid_ids = $db->loadColumn(); - // Remove Field catid from the content type table - $field_catid_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fields.category') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($field_catid_condition); - $db->setQuery($query); - // Execute the query to remove Field catid items - $field_catid_done = $db->execute(); - if ($field_catid_done); - { - // If succesfully remove Field catid add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fields.category) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Field catid items from the contentitem tag map table - $field_catid_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fields.category') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($field_catid_condition); - $db->setQuery($query); - // Execute the query to remove Field catid items - $field_catid_done = $db->execute(); - if ($field_catid_done); - { - // If succesfully remove Field catid add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fields.category) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Field catid items from the ucm content table - $field_catid_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.fields.category') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($field_catid_condition); - $db->setQuery($query); - // Execute the query to remove Field catid items - $field_catid_done = $db->execute(); - if ($field_catid_done); - { - // If succesfully remove Field catid add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fields.category) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Field catid items are cleared from DB - foreach ($field_catid_ids as $field_catid_id) - { - // Remove Field catid items from the ucm base table - $field_catid_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $field_catid_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($field_catid_condition); - $db->setQuery($query); - // Execute the query to remove Field catid items - $db->execute(); - - // Remove Field catid items from the ucm history table - $field_catid_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $field_catid_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($field_catid_condition); - $db->setQuery($query); - // Execute the query to remove Field catid items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Fieldtype alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fieldtype') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $fieldtype_found = $db->getNumRows(); - // Now check if there were any rows - if ($fieldtype_found) - { - // Since there are load the needed fieldtype type ids - $fieldtype_ids = $db->loadColumn(); - // Remove Fieldtype from the content type table - $fieldtype_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fieldtype') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($fieldtype_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype items - $fieldtype_done = $db->execute(); - if ($fieldtype_done); - { - // If succesfully remove Fieldtype add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fieldtype) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Fieldtype items from the contentitem tag map table - $fieldtype_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fieldtype') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($fieldtype_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype items - $fieldtype_done = $db->execute(); - if ($fieldtype_done); - { - // If succesfully remove Fieldtype add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fieldtype) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Fieldtype items from the ucm content table - $fieldtype_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.fieldtype') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($fieldtype_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype items - $fieldtype_done = $db->execute(); - if ($fieldtype_done); - { - // If succesfully remove Fieldtype add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fieldtype) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Fieldtype items are cleared from DB - foreach ($fieldtype_ids as $fieldtype_id) - { - // Remove Fieldtype items from the ucm base table - $fieldtype_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $fieldtype_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($fieldtype_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype items - $db->execute(); - - // Remove Fieldtype items from the ucm history table - $fieldtype_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $fieldtype_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($fieldtype_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Fieldtype catid alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fieldtypes.category') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $fieldtype_catid_found = $db->getNumRows(); - // Now check if there were any rows - if ($fieldtype_catid_found) - { - // Since there are load the needed fieldtype_catid type ids - $fieldtype_catid_ids = $db->loadColumn(); - // Remove Fieldtype catid from the content type table - $fieldtype_catid_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fieldtypes.category') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($fieldtype_catid_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype catid items - $fieldtype_catid_done = $db->execute(); - if ($fieldtype_catid_done); - { - // If succesfully remove Fieldtype catid add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fieldtypes.category) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Fieldtype catid items from the contentitem tag map table - $fieldtype_catid_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.fieldtypes.category') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($fieldtype_catid_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype catid items - $fieldtype_catid_done = $db->execute(); - if ($fieldtype_catid_done); - { - // If succesfully remove Fieldtype catid add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fieldtypes.category) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Fieldtype catid items from the ucm content table - $fieldtype_catid_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.fieldtypes.category') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($fieldtype_catid_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype catid items - $fieldtype_catid_done = $db->execute(); - if ($fieldtype_catid_done); - { - // If succesfully remove Fieldtype catid add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.fieldtypes.category) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Fieldtype catid items are cleared from DB - foreach ($fieldtype_catid_ids as $fieldtype_catid_id) - { - // Remove Fieldtype catid items from the ucm base table - $fieldtype_catid_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $fieldtype_catid_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($fieldtype_catid_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype catid items - $db->execute(); - - // Remove Fieldtype catid items from the ucm history table - $fieldtype_catid_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $fieldtype_catid_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($fieldtype_catid_condition); - $db->setQuery($query); - // Execute the query to remove Fieldtype catid items - $db->execute(); - } - } - - // Create a new query object. - $query = $db->getQuery(true); - // Select id from content type table - $query->select($db->quoteName('type_id')); - $query->from($db->quoteName('#__content_types')); - // Where Help_document alias is found - $query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.help_document') ); - $db->setQuery($query); - // Execute query to see if alias is found - $db->execute(); - $help_document_found = $db->getNumRows(); - // Now check if there were any rows - if ($help_document_found) - { - // Since there are load the needed help_document type ids - $help_document_ids = $db->loadColumn(); - // Remove Help_document from the content type table - $help_document_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.help_document') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__content_types')); - $query->where($help_document_condition); - $db->setQuery($query); - // Execute the query to remove Help_document items - $help_document_done = $db->execute(); - if ($help_document_done); - { - // If succesfully remove Help_document add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.help_document) type alias was removed from the <b>#__content_type</b> table')); - } - - // Remove Help_document items from the contentitem tag map table - $help_document_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.help_document') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__contentitem_tag_map')); - $query->where($help_document_condition); - $db->setQuery($query); - // Execute the query to remove Help_document items - $help_document_done = $db->execute(); - if ($help_document_done); - { - // If succesfully remove Help_document add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.help_document) type alias was removed from the <b>#__contentitem_tag_map</b> table')); - } - - // Remove Help_document items from the ucm content table - $help_document_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.help_document') ); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_content')); - $query->where($help_document_condition); - $db->setQuery($query); - // Execute the query to remove Help_document items - $help_document_done = $db->execute(); - if ($help_document_done); - { - // If succesfully remove Help_document add queued success message. - $app->enqueueMessage(JText::_('The (com_componentbuilder.help_document) type alias was removed from the <b>#__ucm_content</b> table')); - } - - // Make sure that all the Help_document items are cleared from DB - foreach ($help_document_ids as $help_document_id) - { - // Remove Help_document items from the ucm base table - $help_document_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $help_document_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_base')); - $query->where($help_document_condition); - $db->setQuery($query); - // Execute the query to remove Help_document items - $db->execute(); - - // Remove Help_document items from the ucm history table - $help_document_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $help_document_id); - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__ucm_history')); - $query->where($help_document_condition); - $db->setQuery($query); - // Execute the query to remove Help_document items - $db->execute(); - } - } - - // If All related items was removed queued success message. - $app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_base</b> table')); - $app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_history</b> table')); - - // Remove componentbuilder assets from the assets table - $componentbuilder_condition = array( $db->quoteName('name') . ' LIKE ' . $db->quote('com_componentbuilder%') ); - - // Create a new query object. - $query = $db->getQuery(true); - $query->delete($db->quoteName('#__assets')); - $query->where($componentbuilder_condition); - $db->setQuery($query); - $help_document_done = $db->execute(); - if ($help_document_done); - { - // If succesfully remove componentbuilder add queued success message. - $app->enqueueMessage(JText::_('All related items was removed from the <b>#__assets</b> table')); - } - - // little notice as after service, in case of bad experience with component. - echo '<h2>Did something go wrong? Are you disappointed?</h2> - <p>Please let me know at <a href="mailto:info@vdm.io">info@vdm.io</a>. - <br />We at Vast Development Method are committed to building extensions that performs proficiently! You can help us, really! - <br />Send me your thoughts on improvements that is needed, trust me, I will be very grateful! - <br />Visit us at <a href="https://www.vdm.io/joomla-component-builder" target="_blank">https://www.vdm.io/joomla-component-builder</a> today!</p>'; - } - - /** - * method to update the component - * - * @return void - */ - function update($parent) - { - - } - - /** - * method to run before an install/update/uninstall method - * - * @return void - */ - function preflight($type, $parent) - { - if ($type == 'uninstall') - { - return true; - } - - $app = JFactory::getApplication(); - $jversion = new JVersion(); - if (!$jversion->isCompatible('3.4.1')) - { - $app->enqueueMessage('Please upgrade to at least Joomla! 3.4.1 before continuing!', 'error'); - return false; - } - } - - /** - * method to run after an install/update/uninstall method - * - * @return void - */ - function postflight($type, $parent) - { - // set the default component settings - if ($type == 'install') - { - - // Get The Database object - $db = JFactory::getDbo(); - - // Create the component content type object. - $component = new stdClass(); - $component->type_title = 'Componentbuilder Component'; - $component->type_alias = 'com_componentbuilder.component'; - $component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","php_site_event":"php_site_event","css":"css","debug_linenr":"debug_linenr","emptycontributors":"emptycontributors","update_server":"update_server","creatuserhelper":"creatuserhelper","description":"description","php_admin_event":"php_admin_event","bom":"bom","update_server_ftp":"update_server_ftp","image":"image","add_update_server":"add_update_server","php_dashboard_methods":"php_dashboard_methods","addfootable":"addfootable","php_helper_admin":"php_helper_admin","name":"name","php_helper_site":"php_helper_site","sql":"sql","email":"email","addreadme":"addreadme","website":"website","add_sales_server":"add_sales_server","copyright":"copyright","add_license":"add_license","license_type":"license_type","number":"number","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required","sales_server_ftp":"sales_server_ftp"}}'; - $component->router = 'ComponentbuilderHelperRoute::getComponentRoute'; - $component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","emptycontributors","creatuserhelper","add_update_server","addfootable","addreadme","add_sales_server","add_license","license_type","number","adduikit","add_css","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $component_Inserted = $db->insertObject('#__content_types', $component); - - // Create the admin_view content type object. - $admin_view = new stdClass(); - $admin_view->type_title = 'Componentbuilder Admin_view'; - $admin_view->type_alias = 'com_componentbuilder.admin_view'; - $admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","name_list":"name_list","short_description":"short_description","php_getitem":"php_getitem","php_before_delete":"php_before_delete","php_postsavehook":"php_postsavehook","type":"type","php_getlistquery":"php_getlistquery","description":"description","php_batchcopy":"php_batchcopy","add_php_ajax":"add_php_ajax","source":"source","icon":"icon","icon_add":"icon_add","icon_category":"icon_category","php_getitems":"php_getitems","php_save":"php_save","php_allowedit":"php_allowedit","php_batchmove":"php_batchmove","php_after_delete":"php_after_delete","sql":"sql","javascript_views_footer":"javascript_views_footer","php_ajaxmethod":"php_ajaxmethod","add_php_getitem":"add_php_getitem","add_php_getitems":"add_php_getitems","add_css_view":"add_css_view","add_php_getlistquery":"add_php_getlistquery","css_view":"css_view","add_php_save":"add_php_save","add_css_views":"add_css_views","add_php_postsavehook":"add_php_postsavehook","css_views":"css_views","add_php_allowedit":"add_php_allowedit","add_javascript_view_file":"add_javascript_view_file","add_php_batchcopy":"add_php_batchcopy","javascript_view_file":"javascript_view_file","add_php_batchmove":"add_php_batchmove","add_javascript_view_footer":"add_javascript_view_footer","add_php_before_delete":"add_php_before_delete","javascript_view_footer":"javascript_view_footer","add_php_after_delete":"add_php_after_delete","add_javascript_views_file":"add_javascript_views_file","add_sql":"add_sql","javascript_views_file":"javascript_views_file","add_javascript_views_footer":"add_javascript_views_footer","not_required":"not_required"}}'; - $admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute'; - $admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","add_php_ajax","source","add_php_getitem","add_php_getitems","add_css_view","add_php_getlistquery","add_php_save","add_css_views","add_php_postsavehook","add_php_allowedit","add_javascript_view_file","add_php_batchcopy","add_php_batchmove","add_javascript_view_footer","add_php_before_delete","add_php_after_delete","add_javascript_views_file","add_sql","add_javascript_views_footer","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $admin_view_Inserted = $db->insertObject('#__content_types', $admin_view); - - // Create the custom_admin_view content type object. - $custom_admin_view = new stdClass(); - $custom_admin_view->type_title = 'Componentbuilder Custom_admin_view'; - $custom_admin_view->type_alias = 'com_componentbuilder.custom_admin_view'; - $custom_admin_view->table = '{"special": {"dbtable": "#__componentbuilder_custom_admin_view","key": "id","type": "Custom_admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $custom_admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","alias":"alias","description":"description","snippet":"snippet","php_view":"php_view","php_jview":"php_jview","css_document":"css_document","php_document":"php_document","php_jview_display":"php_jview_display","js_document":"js_document","php_model":"php_model","css":"css","custom_get":"custom_get","main_get":"main_get","add_php_document":"add_php_document","dynamic_get":"dynamic_get","add_php_view":"add_php_view","add_php_jview_display":"add_php_jview_display","add_php_jview":"add_php_jview","default":"default","add_js_document":"add_js_document","add_custom_button":"add_custom_button","add_css_document":"add_css_document","add_css":"add_css","php_controller":"php_controller","not_required":"not_required"}}'; - $custom_admin_view->router = 'ComponentbuilderHelperRoute::getCustom_admin_viewRoute'; - $custom_admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","snippet","main_get","add_php_document","dynamic_get","add_php_view","add_php_jview_display","add_php_jview","add_js_document","add_custom_button","add_css_document","add_css","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $custom_admin_view_Inserted = $db->insertObject('#__content_types', $custom_admin_view); - - // Create the site_view content type object. - $site_view = new stdClass(); - $site_view->type_title = 'Componentbuilder Site_view'; - $site_view->type_alias = 'com_componentbuilder.site_view'; - $site_view->table = '{"special": {"dbtable": "#__componentbuilder_site_view","key": "id","type": "Site_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $site_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","alias":"alias","description":"description","snippet":"snippet","css_document":"css_document","php_view":"php_view","php_jview":"php_jview","php_document":"php_document","php_jview_display":"php_jview_display","custom_get":"custom_get","js_document":"js_document","add_php_ajax":"add_php_ajax","css":"css","main_get":"main_get","dynamic_get":"dynamic_get","php_ajaxmethod":"php_ajaxmethod","add_php_document":"add_php_document","add_php_view":"add_php_view","default":"default","add_php_jview_display":"add_php_jview_display","add_custom_button":"add_custom_button","add_php_jview":"add_php_jview","add_js_document":"add_js_document","button_position":"button_position","add_css_document":"add_css_document","php_controller":"php_controller","add_css":"add_css","php_model":"php_model","not_required":"not_required"}}'; - $site_view->router = 'ComponentbuilderHelperRoute::getSite_viewRoute'; - $site_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/site_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","snippet","add_php_ajax","main_get","dynamic_get","add_php_document","add_php_view","add_php_jview_display","add_custom_button","add_php_jview","add_js_document","button_position","add_css_document","add_css","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $site_view_Inserted = $db->insertObject('#__content_types', $site_view); - - // Create the template content type object. - $template = new stdClass(); - $template->type_title = 'Componentbuilder Template'; - $template->type_alias = 'com_componentbuilder.template'; - $template->table = '{"special": {"dbtable": "#__componentbuilder_template","key": "id","type": "Template","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $template->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","alias":"alias","description":"description","snippet":"snippet","template":"template","php_view":"php_view","add_php_view":"add_php_view","dynamic_get":"dynamic_get","not_required":"not_required"}}'; - $template->router = 'ComponentbuilderHelperRoute::getTemplateRoute'; - $template->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/template.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","snippet","add_php_view","dynamic_get","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $template_Inserted = $db->insertObject('#__content_types', $template); - - // Create the layout content type object. - $layout = new stdClass(); - $layout->type_title = 'Componentbuilder Layout'; - $layout->type_alias = 'com_componentbuilder.layout'; - $layout->table = '{"special": {"dbtable": "#__componentbuilder_layout","key": "id","type": "Layout","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $layout->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","alias":"alias","description":"description","dynamic_get":"dynamic_get","snippet":"snippet","php_view":"php_view","layout":"layout","add_php_view":"add_php_view","not_required":"not_required"}}'; - $layout->router = 'ComponentbuilderHelperRoute::getLayoutRoute'; - $layout->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/layout.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","dynamic_get","snippet","add_php_view","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $layout_Inserted = $db->insertObject('#__content_types', $layout); - - // Create the dynamic_get content type object. - $dynamic_get = new stdClass(); - $dynamic_get->type_title = 'Componentbuilder Dynamic_get'; - $dynamic_get->type_alias = 'com_componentbuilder.dynamic_get'; - $dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","getcustom":"getcustom","pagination":"pagination","php_after_getitem":"php_after_getitem","php_before_getitems":"php_before_getitems","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","php_getlistquery":"php_getlistquery","view_selection":"view_selection","php_after_getitems":"php_after_getitems","db_table_main":"db_table_main","php_calculation":"php_calculation","db_selection":"db_selection","add_php_before_getitem":"add_php_before_getitem","add_php_after_getitem":"add_php_after_getitem","add_php_getlistquery":"add_php_getlistquery","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","addcalculation":"addcalculation","php_custom_get":"php_custom_get","not_required":"not_required"}}'; - $dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute'; - $dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","pagination","view_table_main","add_php_before_getitem","add_php_after_getitem","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"},{"sourceColumn": "db_table_main","targetTable": "","targetColumn": "","displayColumn": ""}]}'; - - // Set the object into the content types table. - $dynamic_get_Inserted = $db->insertObject('#__content_types', $dynamic_get); - - // Create the snippet content type object. - $snippet = new stdClass(); - $snippet->type_title = 'Componentbuilder Snippet'; - $snippet->type_alias = 'com_componentbuilder.snippet'; - $snippet->table = '{"special": {"dbtable": "#__componentbuilder_snippet","key": "id","type": "Snippet","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $snippet->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","url":"url","type":"type","heading":"heading","description":"description","usage":"usage","snippet":"snippet"}}'; - $snippet->router = 'ComponentbuilderHelperRoute::getSnippetRoute'; - $snippet->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/snippet.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $snippet_Inserted = $db->insertObject('#__content_types', $snippet); - - // Create the field content type object. - $field = new stdClass(); - $field->type_title = 'Componentbuilder Field'; - $field->type_alias = 'com_componentbuilder.field'; - $field->table = '{"special": {"dbtable": "#__componentbuilder_field","key": "id","type": "Field","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $field->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "catid","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","type":"type","datatype":"datatype","indexes":"indexes","null_switch":"null_switch","datalenght_other":"datalenght_other","datadefault":"datadefault","css_view":"css_view","datadefault_other":"datadefault_other","datalenght":"datalenght","css_views":"css_views","javascript_view_footer":"javascript_view_footer","xml":"xml","javascript_views_footer":"javascript_views_footer","add_css_view":"add_css_view","add_css_views":"add_css_views","add_javascript_view_footer":"add_javascript_view_footer","store":"store","add_javascript_views_footer":"add_javascript_views_footer","not_required":"not_required"}}'; - $field->router = 'ComponentbuilderHelperRoute::getFieldRoute'; - $field->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/field.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","add_css_view","catid","add_css_views","add_javascript_view_footer","store","add_javascript_views_footer","not_required"],"displayLookup": [{"sourceColumn": "catid","targetTable": "#__categories","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "type","targetTable": "#__componentbuilder_fieldtype","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $field_Inserted = $db->insertObject('#__content_types', $field); - - // Create the field catagory content type object. - $field_catagory = new stdClass(); - $field_catagory->type_title = 'Componentbuilder Field Catid'; - $field_catagory->type_alias = 'com_componentbuilder.fields.category'; - $field_catagory->table = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}'; - $field_catagory->field_mappings = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special":{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}'; - $field_catagory->router = 'ComponentbuilderHelperRoute::getCategoryRoute'; - $field_catagory->content_history_options = '{"formFile":"administrator\/components\/com_categories\/models\/forms\/category.xml", "hideFields":["asset_id","checked_out","checked_out_time","version","lft","rgt","level","path","extension"], "ignoreChanges":["modified_user_id", "modified_time", "checked_out", "checked_out_time", "version", "hits", "path"],"convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"created_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"access","targetTable":"#__viewlevels","targetColumn":"id","displayColumn":"title"},{"sourceColumn":"modified_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"parent_id","targetTable":"#__categories","targetColumn":"id","displayColumn":"title"}]}'; - - // Set the object into the content types table. - $field_catagory_Inserted = $db->insertObject('#__content_types', $field_catagory); - - // Create the fieldtype content type object. - $fieldtype = new stdClass(); - $fieldtype->type_title = 'Componentbuilder Fieldtype'; - $fieldtype->type_alias = 'com_componentbuilder.fieldtype'; - $fieldtype->table = '{"special": {"dbtable": "#__componentbuilder_fieldtype","key": "id","type": "Fieldtype","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $fieldtype->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "catid","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","description":"description","short_description":"short_description"}}'; - $fieldtype->router = 'ComponentbuilderHelperRoute::getFieldtypeRoute'; - $fieldtype->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/fieldtype.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","catid"],"displayLookup": [{"sourceColumn": "catid","targetTable": "#__categories","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Set the object into the content types table. - $fieldtype_Inserted = $db->insertObject('#__content_types', $fieldtype); - - // Create the fieldtype catagory content type object. - $fieldtype_catagory = new stdClass(); - $fieldtype_catagory->type_title = 'Componentbuilder Fieldtype Catid'; - $fieldtype_catagory->type_alias = 'com_componentbuilder.fieldtypes.category'; - $fieldtype_catagory->table = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}'; - $fieldtype_catagory->field_mappings = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special":{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}'; - $fieldtype_catagory->router = 'ComponentbuilderHelperRoute::getCategoryRoute'; - $fieldtype_catagory->content_history_options = '{"formFile":"administrator\/components\/com_categories\/models\/forms\/category.xml", "hideFields":["asset_id","checked_out","checked_out_time","version","lft","rgt","level","path","extension"], "ignoreChanges":["modified_user_id", "modified_time", "checked_out", "checked_out_time", "version", "hits", "path"],"convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"created_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"access","targetTable":"#__viewlevels","targetColumn":"id","displayColumn":"title"},{"sourceColumn":"modified_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"parent_id","targetTable":"#__categories","targetColumn":"id","displayColumn":"title"}]}'; - - // Set the object into the content types table. - $fieldtype_catagory_Inserted = $db->insertObject('#__content_types', $fieldtype_catagory); - - // Create the help_document content type object. - $help_document = new stdClass(); - $help_document->type_title = 'Componentbuilder Help_document'; - $help_document->type_alias = 'com_componentbuilder.help_document'; - $help_document->table = '{"special": {"dbtable": "#__componentbuilder_help_document","key": "id","type": "Help_document","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $help_document->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "title","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "content","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"title":"title","type":"type","groups":"groups","location":"location","admin_view":"admin_view","site_view":"site_view","target":"target","content":"content","alias":"alias","article":"article","url":"url","not_required":"not_required"}}'; - $help_document->router = 'ComponentbuilderHelperRoute::getHelp_documentRoute'; - $help_document->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/help_document.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","location","target","article","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "article","targetTable": "#__content","targetColumn": "id","displayColumn": "title"}]}'; - - // Set the object into the content types table. - $help_document_Inserted = $db->insertObject('#__content_types', $help_document); - - - // Install the global extenstion params. - $query = $db->getQuery(true); - - // Field to update. - $fields = array( - $db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"info@vdm.io","minify":"0","check_in":"-1 day","save_history":"1","history_limit":"10","titleContributor1":"My Wife","nameContributor1":"Roline van der Merwe","emailContributor1":"info@vdm.io","linkContributor1":"http://www.vdm.io/","useContributor1":"2","showContributor1":"3","uikit_load":"1","uikit_min":"","uikit_style":""}'), - ); - - // Condition. - $conditions = array( - $db->quoteName('element') . ' = ' . $db->quote('com_') - ); - - $query->update($db->quoteName('#__extensions'))->set($fields)->where($conditions); - $db->setQuery($query); - $allDone = $db->execute(); - echo '<a target="_blank" href="https://www.vdm.io/joomla-component-builder" title="Component Builder"> - <img src="components/com_/assets/images/component-300.png"/> - </a>'; - } - // do any updates needed - if ($type == 'update') - { - - // Get The Database object - $db = JFactory::getDbo(); - - // Create the component content type object. - $component = new stdClass(); - $component->type_title = 'Componentbuilder Component'; - $component->type_alias = 'com_componentbuilder.component'; - $component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","php_site_event":"php_site_event","css":"css","debug_linenr":"debug_linenr","emptycontributors":"emptycontributors","update_server":"update_server","creatuserhelper":"creatuserhelper","description":"description","php_admin_event":"php_admin_event","bom":"bom","update_server_ftp":"update_server_ftp","image":"image","add_update_server":"add_update_server","php_dashboard_methods":"php_dashboard_methods","addfootable":"addfootable","php_helper_admin":"php_helper_admin","name":"name","php_helper_site":"php_helper_site","sql":"sql","email":"email","addreadme":"addreadme","website":"website","add_sales_server":"add_sales_server","copyright":"copyright","add_license":"add_license","license_type":"license_type","number":"number","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required","sales_server_ftp":"sales_server_ftp"}}'; - $component->router = 'ComponentbuilderHelperRoute::getComponentRoute'; - $component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","emptycontributors","creatuserhelper","add_update_server","addfootable","addreadme","add_sales_server","add_license","license_type","number","adduikit","add_css","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if component type is already in content_type DB. - $component_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($component->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $component->type_id = $db->loadResult(); - $component_Updated = $db->updateObject('#__content_types', $component, 'type_id'); - } - else - { - $component_Inserted = $db->insertObject('#__content_types', $component); - } - - // Create the admin_view content type object. - $admin_view = new stdClass(); - $admin_view->type_title = 'Componentbuilder Admin_view'; - $admin_view->type_alias = 'com_componentbuilder.admin_view'; - $admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_single":"name_single","name_list":"name_list","short_description":"short_description","php_getitem":"php_getitem","php_before_delete":"php_before_delete","php_postsavehook":"php_postsavehook","type":"type","php_getlistquery":"php_getlistquery","description":"description","php_batchcopy":"php_batchcopy","add_php_ajax":"add_php_ajax","source":"source","icon":"icon","icon_add":"icon_add","icon_category":"icon_category","php_getitems":"php_getitems","php_save":"php_save","php_allowedit":"php_allowedit","php_batchmove":"php_batchmove","php_after_delete":"php_after_delete","sql":"sql","javascript_views_footer":"javascript_views_footer","php_ajaxmethod":"php_ajaxmethod","add_php_getitem":"add_php_getitem","add_php_getitems":"add_php_getitems","add_css_view":"add_css_view","add_php_getlistquery":"add_php_getlistquery","css_view":"css_view","add_php_save":"add_php_save","add_css_views":"add_css_views","add_php_postsavehook":"add_php_postsavehook","css_views":"css_views","add_php_allowedit":"add_php_allowedit","add_javascript_view_file":"add_javascript_view_file","add_php_batchcopy":"add_php_batchcopy","javascript_view_file":"javascript_view_file","add_php_batchmove":"add_php_batchmove","add_javascript_view_footer":"add_javascript_view_footer","add_php_before_delete":"add_php_before_delete","javascript_view_footer":"javascript_view_footer","add_php_after_delete":"add_php_after_delete","add_javascript_views_file":"add_javascript_views_file","add_sql":"add_sql","javascript_views_file":"javascript_views_file","add_javascript_views_footer":"add_javascript_views_footer","not_required":"not_required"}}'; - $admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute'; - $admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","add_php_ajax","source","add_php_getitem","add_php_getitems","add_css_view","add_php_getlistquery","add_php_save","add_css_views","add_php_postsavehook","add_php_allowedit","add_javascript_view_file","add_php_batchcopy","add_php_batchmove","add_javascript_view_footer","add_php_before_delete","add_php_after_delete","add_javascript_views_file","add_sql","add_javascript_views_footer","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if admin_view type is already in content_type DB. - $admin_view_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($admin_view->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $admin_view->type_id = $db->loadResult(); - $admin_view_Updated = $db->updateObject('#__content_types', $admin_view, 'type_id'); - } - else - { - $admin_view_Inserted = $db->insertObject('#__content_types', $admin_view); - } - - // Create the custom_admin_view content type object. - $custom_admin_view = new stdClass(); - $custom_admin_view->type_title = 'Componentbuilder Custom_admin_view'; - $custom_admin_view->type_alias = 'com_componentbuilder.custom_admin_view'; - $custom_admin_view->table = '{"special": {"dbtable": "#__componentbuilder_custom_admin_view","key": "id","type": "Custom_admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $custom_admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","alias":"alias","description":"description","snippet":"snippet","php_view":"php_view","php_jview":"php_jview","css_document":"css_document","php_document":"php_document","php_jview_display":"php_jview_display","js_document":"js_document","php_model":"php_model","css":"css","custom_get":"custom_get","main_get":"main_get","add_php_document":"add_php_document","dynamic_get":"dynamic_get","add_php_view":"add_php_view","add_php_jview_display":"add_php_jview_display","add_php_jview":"add_php_jview","default":"default","add_js_document":"add_js_document","add_custom_button":"add_custom_button","add_css_document":"add_css_document","add_css":"add_css","php_controller":"php_controller","not_required":"not_required"}}'; - $custom_admin_view->router = 'ComponentbuilderHelperRoute::getCustom_admin_viewRoute'; - $custom_admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","snippet","main_get","add_php_document","dynamic_get","add_php_view","add_php_jview_display","add_php_jview","add_js_document","add_custom_button","add_css_document","add_css","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if custom_admin_view type is already in content_type DB. - $custom_admin_view_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($custom_admin_view->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $custom_admin_view->type_id = $db->loadResult(); - $custom_admin_view_Updated = $db->updateObject('#__content_types', $custom_admin_view, 'type_id'); - } - else - { - $custom_admin_view_Inserted = $db->insertObject('#__content_types', $custom_admin_view); - } - - // Create the site_view content type object. - $site_view = new stdClass(); - $site_view->type_title = 'Componentbuilder Site_view'; - $site_view->type_alias = 'com_componentbuilder.site_view'; - $site_view->table = '{"special": {"dbtable": "#__componentbuilder_site_view","key": "id","type": "Site_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $site_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","alias":"alias","description":"description","snippet":"snippet","css_document":"css_document","php_view":"php_view","php_jview":"php_jview","php_document":"php_document","php_jview_display":"php_jview_display","custom_get":"custom_get","js_document":"js_document","add_php_ajax":"add_php_ajax","css":"css","main_get":"main_get","dynamic_get":"dynamic_get","php_ajaxmethod":"php_ajaxmethod","add_php_document":"add_php_document","add_php_view":"add_php_view","default":"default","add_php_jview_display":"add_php_jview_display","add_custom_button":"add_custom_button","add_php_jview":"add_php_jview","add_js_document":"add_js_document","button_position":"button_position","add_css_document":"add_css_document","php_controller":"php_controller","add_css":"add_css","php_model":"php_model","not_required":"not_required"}}'; - $site_view->router = 'ComponentbuilderHelperRoute::getSite_viewRoute'; - $site_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/site_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","snippet","add_php_ajax","main_get","dynamic_get","add_php_document","add_php_view","add_php_jview_display","add_custom_button","add_php_jview","add_js_document","button_position","add_css_document","add_css","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if site_view type is already in content_type DB. - $site_view_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($site_view->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $site_view->type_id = $db->loadResult(); - $site_view_Updated = $db->updateObject('#__content_types', $site_view, 'type_id'); - } - else - { - $site_view_Inserted = $db->insertObject('#__content_types', $site_view); - } - - // Create the template content type object. - $template = new stdClass(); - $template->type_title = 'Componentbuilder Template'; - $template->type_alias = 'com_componentbuilder.template'; - $template->table = '{"special": {"dbtable": "#__componentbuilder_template","key": "id","type": "Template","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $template->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","alias":"alias","description":"description","snippet":"snippet","template":"template","php_view":"php_view","add_php_view":"add_php_view","dynamic_get":"dynamic_get","not_required":"not_required"}}'; - $template->router = 'ComponentbuilderHelperRoute::getTemplateRoute'; - $template->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/template.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","snippet","add_php_view","dynamic_get","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if template type is already in content_type DB. - $template_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($template->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $template->type_id = $db->loadResult(); - $template_Updated = $db->updateObject('#__content_types', $template, 'type_id'); - } - else - { - $template_Inserted = $db->insertObject('#__content_types', $template); - } - - // Create the layout content type object. - $layout = new stdClass(); - $layout->type_title = 'Componentbuilder Layout'; - $layout->type_alias = 'com_componentbuilder.layout'; - $layout->table = '{"special": {"dbtable": "#__componentbuilder_layout","key": "id","type": "Layout","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $layout->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","alias":"alias","description":"description","dynamic_get":"dynamic_get","snippet":"snippet","php_view":"php_view","layout":"layout","add_php_view":"add_php_view","not_required":"not_required"}}'; - $layout->router = 'ComponentbuilderHelperRoute::getLayoutRoute'; - $layout->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/layout.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","dynamic_get","snippet","add_php_view","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if layout type is already in content_type DB. - $layout_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($layout->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $layout->type_id = $db->loadResult(); - $layout_Updated = $db->updateObject('#__content_types', $layout, 'type_id'); - } - else - { - $layout_Inserted = $db->insertObject('#__content_types', $layout); - } - - // Create the dynamic_get content type object. - $dynamic_get = new stdClass(); - $dynamic_get->type_title = 'Componentbuilder Dynamic_get'; - $dynamic_get->type_alias = 'com_componentbuilder.dynamic_get'; - $dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","getcustom":"getcustom","pagination":"pagination","php_after_getitem":"php_after_getitem","php_before_getitems":"php_before_getitems","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","php_getlistquery":"php_getlistquery","view_selection":"view_selection","php_after_getitems":"php_after_getitems","db_table_main":"db_table_main","php_calculation":"php_calculation","db_selection":"db_selection","add_php_before_getitem":"add_php_before_getitem","add_php_after_getitem":"add_php_after_getitem","add_php_getlistquery":"add_php_getlistquery","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","addcalculation":"addcalculation","php_custom_get":"php_custom_get","not_required":"not_required"}}'; - $dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute'; - $dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","pagination","view_table_main","add_php_before_getitem","add_php_after_getitem","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"},{"sourceColumn": "db_table_main","targetTable": "","targetColumn": "","displayColumn": ""}]}'; - - // Check if dynamic_get type is already in content_type DB. - $dynamic_get_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($dynamic_get->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $dynamic_get->type_id = $db->loadResult(); - $dynamic_get_Updated = $db->updateObject('#__content_types', $dynamic_get, 'type_id'); - } - else - { - $dynamic_get_Inserted = $db->insertObject('#__content_types', $dynamic_get); - } - - // Create the snippet content type object. - $snippet = new stdClass(); - $snippet->type_title = 'Componentbuilder Snippet'; - $snippet->type_alias = 'com_componentbuilder.snippet'; - $snippet->table = '{"special": {"dbtable": "#__componentbuilder_snippet","key": "id","type": "Snippet","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $snippet->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","url":"url","type":"type","heading":"heading","description":"description","usage":"usage","snippet":"snippet"}}'; - $snippet->router = 'ComponentbuilderHelperRoute::getSnippetRoute'; - $snippet->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/snippet.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if snippet type is already in content_type DB. - $snippet_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($snippet->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $snippet->type_id = $db->loadResult(); - $snippet_Updated = $db->updateObject('#__content_types', $snippet, 'type_id'); - } - else - { - $snippet_Inserted = $db->insertObject('#__content_types', $snippet); - } - - // Create the field content type object. - $field = new stdClass(); - $field->type_title = 'Componentbuilder Field'; - $field->type_alias = 'com_componentbuilder.field'; - $field->table = '{"special": {"dbtable": "#__componentbuilder_field","key": "id","type": "Field","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $field->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "catid","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","type":"type","datatype":"datatype","indexes":"indexes","null_switch":"null_switch","datalenght_other":"datalenght_other","datadefault":"datadefault","css_view":"css_view","datadefault_other":"datadefault_other","datalenght":"datalenght","css_views":"css_views","javascript_view_footer":"javascript_view_footer","xml":"xml","javascript_views_footer":"javascript_views_footer","add_css_view":"add_css_view","add_css_views":"add_css_views","add_javascript_view_footer":"add_javascript_view_footer","store":"store","add_javascript_views_footer":"add_javascript_views_footer","not_required":"not_required"}}'; - $field->router = 'ComponentbuilderHelperRoute::getFieldRoute'; - $field->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/field.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","add_css_view","catid","add_css_views","add_javascript_view_footer","store","add_javascript_views_footer","not_required"],"displayLookup": [{"sourceColumn": "catid","targetTable": "#__categories","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "type","targetTable": "#__componentbuilder_fieldtype","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if field type is already in content_type DB. - $field_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($field->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $field->type_id = $db->loadResult(); - $field_Updated = $db->updateObject('#__content_types', $field, 'type_id'); - } - else - { - $field_Inserted = $db->insertObject('#__content_types', $field); - } - - // Create the field catagory content type object. - $field_catagory = new stdClass(); - $field_catagory->type_title = 'Componentbuilder Field Catid'; - $field_catagory->type_alias = 'com_componentbuilder.fields.category'; - $field_catagory->table = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}'; - $field_catagory->field_mappings = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special":{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}'; - $field_catagory->router = 'ComponentbuilderHelperRoute::getCategoryRoute'; - $field_catagory->content_history_options = '{"formFile":"administrator\/components\/com_categories\/models\/forms\/category.xml", "hideFields":["asset_id","checked_out","checked_out_time","version","lft","rgt","level","path","extension"], "ignoreChanges":["modified_user_id", "modified_time", "checked_out", "checked_out_time", "version", "hits", "path"],"convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"created_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"access","targetTable":"#__viewlevels","targetColumn":"id","displayColumn":"title"},{"sourceColumn":"modified_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"parent_id","targetTable":"#__categories","targetColumn":"id","displayColumn":"title"}]}'; - - // Check if field catagory type is already in content_type DB. - $field_catagory_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($field_catagory->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $field_catagory->type_id = $db->loadResult(); - $field_catagory_Updated = $db->updateObject('#__content_types', $field_catagory, 'type_id'); - } - else - { - $field_catagory_Inserted = $db->insertObject('#__content_types', $field_catagory); - } - - // Create the fieldtype content type object. - $fieldtype = new stdClass(); - $fieldtype->type_title = 'Componentbuilder Fieldtype'; - $fieldtype->type_alias = 'com_componentbuilder.fieldtype'; - $fieldtype->table = '{"special": {"dbtable": "#__componentbuilder_fieldtype","key": "id","type": "Fieldtype","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $fieldtype->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "catid","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","description":"description","short_description":"short_description"}}'; - $fieldtype->router = 'ComponentbuilderHelperRoute::getFieldtypeRoute'; - $fieldtype->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/fieldtype.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","catid"],"displayLookup": [{"sourceColumn": "catid","targetTable": "#__categories","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; - - // Check if fieldtype type is already in content_type DB. - $fieldtype_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($fieldtype->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $fieldtype->type_id = $db->loadResult(); - $fieldtype_Updated = $db->updateObject('#__content_types', $fieldtype, 'type_id'); - } - else - { - $fieldtype_Inserted = $db->insertObject('#__content_types', $fieldtype); - } - - // Create the fieldtype catagory content type object. - $fieldtype_catagory = new stdClass(); - $fieldtype_catagory->type_title = 'Componentbuilder Fieldtype Catid'; - $fieldtype_catagory->type_alias = 'com_componentbuilder.fieldtypes.category'; - $fieldtype_catagory->table = '{"special":{"dbtable":"#__categories","key":"id","type":"Category","prefix":"JTable","config":"array()"},"common":{"dbtable":"#__ucm_content","key":"ucm_id","type":"Corecontent","prefix":"JTable","config":"array()"}}'; - $fieldtype_catagory->field_mappings = '{"common":{"core_content_item_id":"id","core_title":"title","core_state":"published","core_alias":"alias","core_created_time":"created_time","core_modified_time":"modified_time","core_body":"description", "core_hits":"hits","core_publish_up":"null","core_publish_down":"null","core_access":"access", "core_params":"params", "core_featured":"null", "core_metadata":"metadata", "core_language":"language", "core_images":"null", "core_urls":"null", "core_version":"version", "core_ordering":"null", "core_metakey":"metakey", "core_metadesc":"metadesc", "core_catid":"parent_id", "core_xreference":"null", "asset_id":"asset_id"}, "special":{"parent_id":"parent_id","lft":"lft","rgt":"rgt","level":"level","path":"path","extension":"extension","note":"note"}}'; - $fieldtype_catagory->router = 'ComponentbuilderHelperRoute::getCategoryRoute'; - $fieldtype_catagory->content_history_options = '{"formFile":"administrator\/components\/com_categories\/models\/forms\/category.xml", "hideFields":["asset_id","checked_out","checked_out_time","version","lft","rgt","level","path","extension"], "ignoreChanges":["modified_user_id", "modified_time", "checked_out", "checked_out_time", "version", "hits", "path"],"convertToInt":["publish_up", "publish_down"], "displayLookup":[{"sourceColumn":"created_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"access","targetTable":"#__viewlevels","targetColumn":"id","displayColumn":"title"},{"sourceColumn":"modified_user_id","targetTable":"#__users","targetColumn":"id","displayColumn":"name"},{"sourceColumn":"parent_id","targetTable":"#__categories","targetColumn":"id","displayColumn":"title"}]}'; - - // Check if fieldtype catagory type is already in content_type DB. - $fieldtype_catagory_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($fieldtype_catagory->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $fieldtype_catagory->type_id = $db->loadResult(); - $fieldtype_catagory_Updated = $db->updateObject('#__content_types', $fieldtype_catagory, 'type_id'); - } - else - { - $fieldtype_catagory_Inserted = $db->insertObject('#__content_types', $fieldtype_catagory); - } - - // Create the help_document content type object. - $help_document = new stdClass(); - $help_document->type_title = 'Componentbuilder Help_document'; - $help_document->type_alias = 'com_componentbuilder.help_document'; - $help_document->table = '{"special": {"dbtable": "#__componentbuilder_help_document","key": "id","type": "Help_document","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; - $help_document->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "title","core_state": "published","core_alias": "alias","core_created_time": "created","core_modified_time": "modified","core_body": "content","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "null","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"title":"title","type":"type","groups":"groups","location":"location","admin_view":"admin_view","site_view":"site_view","target":"target","content":"content","alias":"alias","article":"article","url":"url","not_required":"not_required"}}'; - $help_document->router = 'ComponentbuilderHelperRoute::getHelp_documentRoute'; - $help_document->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/help_document.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","location","target","article","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "article","targetTable": "#__content","targetColumn": "id","displayColumn": "title"}]}'; - - // Check if help_document type is already in content_type DB. - $help_document_id = null; - $query = $db->getQuery(true); - $query->select($db->quoteName(array('type_id'))); - $query->from($db->quoteName('#__content_types')); - $query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($help_document->type_alias)); - $db->setQuery($query); - $db->execute(); - - // Set the object into the content types table. - if ($db->getNumRows()) - { - $help_document->type_id = $db->loadResult(); - $help_document_Updated = $db->updateObject('#__content_types', $help_document, 'type_id'); - } - else - { - $help_document_Inserted = $db->insertObject('#__content_types', $help_document); - } - - - echo '<a target="_blank" href="https://www.vdm.io/joomla-component-builder" title="Component Builder"> - <img src="components/com_componentbuilder/assets/images/component-300.png"/> - </a> - <h3>Upgrade to Version 2.1.0 Was Successful! Let us know if anything is not working as expected.</h3>'; - } - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/css/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/css/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/css/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/css/site.css b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/css/site.css deleted file mode 100644 index 33aff0c57..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/css/site.css +++ /dev/null @@ -1,32 +0,0 @@ -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage site.css - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -/* CSS Document */ -.no-click { - pointer-events: none; -} -.fieldMedium { width: 130px; } -.fieldSmall { width: 60px; } -code { display: inline-block; margin: 3px;} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/images/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/images/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/images/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/js/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/js/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/js/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/js/site.js b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/assets/js/site.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/componentbuilder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/componentbuilder.php deleted file mode 100644 index 51078dceb..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/componentbuilder.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Set the component css/js -$document = JFactory::getDocument(); -$document->addStyleSheet('components/com_componentbuilder/assets/css/site.css'); -$document->addScript('components/com_componentbuilder/assets/js/site.js'); - -// Require helper files -JLoader::register('ComponentbuilderHelper', dirname(__FILE__) . '/helpers/componentbuilder.php'); -JLoader::register('ComponentbuilderHelperRoute', dirname(__FILE__) . '/helpers/route.php'); ###SITE_GLOBAL_EVENT### - -// import joomla controller library -jimport('joomla.application.component.controller'); - -// Get an instance of the controller prefixed by Componentbuilder -$controller = JControllerLegacy::getInstance('Componentbuilder'); - -// Perform the request task -$jinput = JFactory::getApplication()->input; -$controller->execute($jinput->get('task', null, 'CMD')); - -// Redirect if set by the controller -$controller->redirect(); diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controller.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controller.php deleted file mode 100644 index 4207694f0..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controller.php +++ /dev/null @@ -1,102 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage controller.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controller library -jimport('joomla.application.component.controller'); - -/** - * Componentbuilder Component Controller - */ -class ComponentbuilderController extends JControllerLegacy -{ - /** - * display task - * - * @return void - */ - function display($cachable = false, $urlparams = false) - { - // set default view if not set - $view = $this->input->getCmd('view', '###SITE_DEFAULT_VIEW###'); - $isEdit = $this->checkEditView($view); - $layout = $this->input->get('layout', null, 'WORD'); - $id = $this->input->getInt('id'); - $cachable = true; - - // Check for edit form. - if($isEdit) - { - if ($layout == 'edit' && !$this->checkEditId('com_componentbuilder.edit.'.$view, $id)) - { - // Somehow the person just went to the form - we don't allow that. - $this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id)); - $this->setMessage($this->getError(), 'error'); - // check if item was opend from other then its own list view - $ref = $this->input->getCmd('ref', 0); - $refid = $this->input->getInt('refid', 0); - // set redirect - if ($refid > 0 && ComponentbuilderHelper::checkString($ref)) - { - // redirect to item of ref - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false)); - } - elseif (ComponentbuilderHelper::checkString($ref)) - { - - // redirect to ref - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view='.(string)$ref, false)); - } - else - { - // normal redirect back to the list default site view - $this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=###SITE_DEFAULT_VIEW###', false)); - } - return false; - } - } - - return parent::display($cachable, $urlparams); - } - - protected function checkEditView($view) - { - if (ComponentbuilderHelper::checkString($view)) - { - $views = array( - - ); - // check if this is a edit view - if (in_array($view,$views)) - { - return true; - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controllers/help.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controllers/help.php deleted file mode 100644 index c70e67a4a..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controllers/help.php +++ /dev/null @@ -1,131 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage help.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// import Joomla controllerform library -jimport('joomla.application.component.controller'); - -/** - * Componentbuilder Help Controller - */ -class ComponentbuilderControllerHelp extends JControllerLegacy -{ - public function __construct($config) - { - parent::__construct($config); - // load the tasks - $this->registerTask('getText', 'help'); - } - - public function help() - { - $user = JFactory::getUser(); - $jinput = JFactory::getApplication()->input; - // Check Token! - $token = JSession::getFormToken(); - $call_token = $jinput->get('token', 0, 'ALNUM'); - if($token == $call_token){ - $task = $this->getTask(); - switch($task){ - case 'getText': - try - { - $idValue = $jinput->get('id', 0, 'INT'); - if($idValue) - { - $result = $this->getHelpDocumentText($idValue); - } - else - { - $result = ''; - } - echo $result; - // stop execution gracefully - jexit(); - } - catch(Exception $e) - { - // stop execution gracefully - jexit(); - } - break; - } - } - else - { - // stop execution gracefully - jexit(); - } - } - - protected function getHelpDocumentText($id) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.title','a.content')); - $query->from('#__componentbuilder_help_document AS a'); - $query->where('a.id = '.(int) $id); - $query->where('a.published = 1'); - $query->where('a.location = 2'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $text = array(); - $document = $db->loadObject(); - // fix image issue - $images['src="images'] = 'src="'.JURI::root().'images'; - $images["src='images"] = "src='".JURI::root()."images"; - $images['src="/images'] = 'src="'.JURI::root().'images'; - $images["src='/images"] = "src='".JURI::root()."images"; - // set document template - $text[] = "<!doctype html>"; - $text[] = '<html>'; - $text[] = "<head>"; - $text[] = '<meta charset="utf-8">'; - $text[] = "<title>".$document->title."</title>"; - $text[] = '<link type="text/css" href="'.JURI::root().'media/com_componentbuilder/uikit/css/uikit.gradient.min.css" rel="stylesheet"></link>'; - $text[] = '<script type="text/javascript" src="'.JURI::root().'media/com_componentbuilder/uikit/js/uikit.min.js"></script>'; - $text[] = "</head>"; - $text[] = '<body><br />'; - $text[] = '<div class="uk-container uk-container-center uk-grid-collapse">'; - $text[] = '<div class="uk-panel uk-width-1-1 uk-panel-box uk-panel-box-primary">'; - // build the help text - $text[] = '<h3 class="uk-panel-title">'.$document->title."</h3>"; - $text[] = str_replace(array_keys($images),array_values($images),$document->content); - // end template - $text[] = '</div>'; - $text[] = '</div>'; - $text[] = "</body>"; - $text[] = "</html>"; - - return implode("\n",$text); - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controllers/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controllers/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/controllers/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/componentbuilder.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/componentbuilder.php deleted file mode 100644 index 94e241353..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/componentbuilder.php +++ /dev/null @@ -1,999 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage componentbuilder.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Componentbuilder component helper - */ -abstract class ComponentbuilderHelper -{###SITE_GLOBAL_EVENT_HELPER### ###SITE_CUSTOM_HELPER_SCRIPT### - - public static function jsonToString($value) - { - // check if string is JSON - $result = json_decode($value, true); - if (json_last_error() === JSON_ERROR_NONE) { - // is JSON - if (self::checkArray($result)) - { - $value = ''; - $counter = 0; - foreach ($result as $string) - { - if ($counter) - { - $value .= ", ".$string; - } - else - { - $value .= $string; - } - $counter++; - } - } - return json_decode($value); - } - return $value; - } - - /** - * Load the Component xml manifest. - **/ - public static function manifest() - { - $manifestUrl = JPATH_ADMINISTRATOR."/components/com_componentbuilder/componentbuilder.xml"; - return simplexml_load_file($manifestUrl); - } - - /** - * Load the Contributors details. - **/ - public static function getContributors() - { - // get params - $params = JComponentHelper::getParams('com_componentbuilder'); - // start contributors array - $contributors = array(); - // get all Contributors (max 20) - $searchArray = range('0','20'); - foreach($searchArray as $nr) - { - if ((NULL !== $params->get("showContributor".$nr)) && ($params->get("showContributor".$nr) == 2 || $params->get("showContributor".$nr) == 3)) - { - // set link based of selected option - if($params->get("useContributor".$nr) == 1) - { - $link_front = '<a href="mailto:'.$params->get("emailContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - elseif($params->get("useContributor".$nr) == 2) - { - $link_front = '<a href="'.$params->get("linkContributor".$nr).'" target="_blank">'; - $link_back = '</a>'; - } - else - { - $link_front = ''; - $link_back = ''; - } - $contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr)); - $contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back; - } - } - return $contributors; - } - - /** - * Load the Component Help URLs. - **/ - public static function getHelpUrl($view) - { - $user = JFactory::getUser(); - $groups = $user->get('groups'); - $db = JFactory::getDbo(); - $query = $db->getQuery(true); - $query->select(array('a.id','a.groups','a.target','a.type','a.article','a.url')); - $query->from('#__componentbuilder_help_document AS a'); - $query->where('a.site_view = '.$db->quote($view)); - $query->where('a.location = 2'); - $query->where('a.published = 1'); - $db->setQuery($query); - $db->execute(); - if($db->getNumRows()) - { - $helps = $db->loadObjectList(); - if (self::checkArray($helps)) - { - foreach ($helps as $nr => $help) - { - if ($help->target == 1) - { - $targetgroups = json_decode($help->groups, true); - if (!array_intersect($targetgroups, $groups)) - { - // if user not in those target groups then remove the item - unset($helps[$nr]); - continue; - } - } - // set the return type - switch ($help->type) - { - // set joomla article - case 1: - return self::loadArticleLink($help->article); - break; - // set help text - case 2: - return self::loadHelpTextLink($help->id); - break; - // set Link - case 3: - return $help->url; - break; - } - } - } - } - return false; - } - - /** - * Get the Article Link. - **/ - protected static function loadArticleLink($id) - { - return JURI::root().'index.php?option=com_content&view=article&id='.$id.'&tmpl=component&layout=modal'; - } - - /** - * Get the Help Text Link. - **/ - protected static function loadHelpTextLink($id) - { - $token = JSession::getFormToken(); - return 'index.php?option=com_componentbuilder&task=help.getText&id=' . (int) $id . '&token=' . $token; - } - - /** - * Get any component's model - **/ - public static function getModel($name, $path = JPATH_COMPONENT_SITE, $component = 'componentbuilder') - { - // load some joomla helpers - JLoader::import('joomla.application.component.model'); - // load the model file - JLoader::import( $name, $path . '/models' ); - // return instance - return JModelLegacy::getInstance( $name, $component.'Model' ); - } - - /** - * Add to asset Table - */ - public static function setAsset($id,$table) - { - $parent = JTable::getInstance('Asset'); - $parent->loadByName('com_componentbuilder'); - - $parentId = $parent->id; - $name = 'com_componentbuilder.'.$table.'.'.$id; - $title = ''; - - $asset = JTable::getInstance('Asset'); - $asset->loadByName($name); - - // Check for an error. - $error = $asset->getError(); - - if ($error) - { - $this->setError($error); - - return false; - } - else - { - // Specify how a new or moved node asset is inserted into the tree. - if ($asset->parent_id != $parentId) - { - $asset->setLocation($parentId, 'last-child'); - } - - // Prepare the asset to be stored. - $asset->parent_id = $parentId; - $asset->name = $name; - $asset->title = $title; - // get the default asset rules - $rules = self::getDefaultAssetRules('com_componentbuilder',$table); - if ($rules instanceof JAccessRules) - { - $asset->rules = (string) $rules; - } - - if (!$asset->check() || !$asset->store()) - { - JError::raiseWarning(500, $asset->getError()); - return false; - } - else - { - // Create an asset_id or heal one that is corrupted. - $object = new stdClass(); - - // Must be a valid primary key value. - $object->id = $id; - $object->asset_id = (int) $asset->id; - - // Update their asset_id to link to the asset table. - return JFactory::getDbo()->updateObject('#__componentbuilder_'.$table, $object, 'id'); - } - } - return false; - } - - /** - * Gets the default asset Rules for a component/view. - */ - protected static function getDefaultAssetRules($component,$view) - { - // Need to find the asset id by the name of the component. - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select($db->quoteName('id')) - ->from($db->quoteName('#__assets')) - ->where($db->quoteName('name') . ' = ' . $db->quote($component)); - $db->setQuery($query); - $db->execute(); - if ($db->loadRowList()) - { - // asset alread set so use saved rules - $assetId = (int) $db->loadResult(); - $result = JAccess::getAssetRules($assetId); - if ($result instanceof JAccessRules) - { - $_result = (string) $result; - $_result = json_decode($_result); - foreach ($_result as $name => &$rule) - { - $v = explode('.', $name); - if ($view !== $v[0]) - { - // remove since it is not part of this view - unset($_result->$name); - } - else - { - // clear the value since we inherit - $rule = array(); - } - } - // check if there are any view values remaining - if (count($_result)) - { - $_result = json_encode($_result); - $_result = array($_result); - // Instantiate and return the JAccessRules object for the asset rules. - $rules = new JAccessRules($_result); - - return $rules; - } - return $result; - } - } - return JAccess::getAssetRules(0); - } - - public static function renderBoolButton() - { - $args = func_get_args(); - - // get the radio element - $button = JFormHelper::loadFieldType('radio'); - - // setup the properties - $name = self::htmlEscape($args[0]); - $additional = isset($args[1]) ? (string) $args[1] : ''; - $value = $args[2]; - $yes = isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES'; - $no = isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO'; - - // prepare the xml - $element = new SimpleXMLElement('<field name="'.$name.'" type="radio" class="btn-group"><option '.$additional.' value="0">'.$no.'</option><option '.$additional.' value="1">'.$yes.'</option></field>'); - - // run - $button->setup($element, $value); - - return $button->input; - - } - - /** - * UIKIT Component Classes - **/ - public static $uk_components = array( - 'data-uk-grid' => array( - 'grid' ), - 'uk-accordion' => array( - 'accordion' ), - 'uk-autocomplete' => array( - 'autocomplete' ), - 'data-uk-datepicker' => array( - 'datepicker' ), - 'uk-form-password' => array( - 'form-password' ), - 'uk-form-select' => array( - 'form-select' ), - 'data-uk-htmleditor' => array( - 'htmleditor' ), - 'data-uk-lightbox' => array( - 'lightbox' ), - 'uk-nestable' => array( - 'nestable' ), - 'UIkit.notify' => array( - 'notify' ), - 'data-uk-parallax' => array( - 'parallax' ), - 'uk-search' => array( - 'search' ), - 'uk-slider' => array( - 'slider' ), - 'uk-slideset' => array( - 'slideset' ), - 'uk-slideshow' => array( - 'slideshow', - 'slideshow-fx' ), - 'uk-sortable' => array( - 'sortable' ), - 'data-uk-sticky' => array( - 'sticky' ), - 'data-uk-timepicker' => array( - 'timepicker' ), - 'data-uk-tooltip' => array( - 'tooltip' ), - 'uk-placeholder' => array( - 'placeholder' ), - 'uk-dotnav' => array( - 'dotnav' ), - 'uk-slidenav' => array( - 'slidenav' ), - 'uk-form' => array( - 'form-advanced' ), - 'uk-progress' => array( - 'progress' ), - 'upload-drop' => array( - 'upload', 'form-file' ) - ); - - /** - * Add UIKIT Components - **/ - public static $uikit = false; - - /** - * Get UIKIT Components - **/ - public static function getUikitComp($content,$classes = array()) - { - if (strpos($content,'class="uk-') !== false) - { - // reset - $temp = array(); - foreach (self::$uk_components as $looking => $add) - { - if (strpos($content,$looking) !== false) - { - $temp[] = $looking; - } - } - // make sure uikit is loaded to config - if (strpos($content,'class="uk-') !== false) - { - self::$uikit = true; - } - // sorter - if (self::checkArray($temp)) - { - // merger - if (self::checkArray($classes)) - { - $newTemp = array_merge($temp,$classes); - $temp = array_unique($newTemp); - } - return $temp; - } - } - if (self::checkArray($classes)) - { - return $classes; - } - return false; - } - - public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = 'componentbuilder') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } - - public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = 'componentbuilder', $unique = true) - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - - if (!self::checkArray($where) && $where > 0) - { - $where = array($where); - } - - if (self::checkArray($where)) - { - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - $query->from($db->quoteName('#__'.$main.'_'.$table)); - $query->where($db->quoteName($whereString) . ' '.$operator.' (' . implode(',',$where) . ')'); - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - if ($unique) - { - return array_unique($db->loadColumn()); - } - return $db->loadColumn(); - } - } - return false; - } - - /** - * Get the actions permissions - **/ - public static function getActions($view,&$record = null,$views = null) - { - jimport('joomla.access.access'); - - $user = JFactory::getUser(); - $result = new JObject; - $view = self::safeString($view); - if (self::checkString($views)) - { - $views = self::safeString($views); - } - // get all actions from component - $actions = JAccess::getActions('com_componentbuilder', 'component'); - // set acctions only set in component settiongs - $componentActions = array('core.admin','core.manage','core.options','core.export'); - // loop the actions and set the permissions - foreach ($actions as $action) - { - // set to use component default - $fallback = true; - if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name,$componentActions)) - { - // The record has been set. Check the record permissions. - $permission = $user->authorise($action->name, 'com_componentbuilder.'.$view.'.' . (int) $record->id); - if (!$permission && !is_null($permission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder.'.$view.'.' . (int) $record->id)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - } - } - elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0) - { - // make sure we use the core. action check for the categories - if (strpos($action->name,$view) !== false && strpos($action->name,'core.') === false ) { - $coreCheck = explode('.',$action->name); - $coreCheck[0] = 'core'; - $categoryCheck = implode('.',$coreCheck); - } - else - { - $categoryCheck = $action->name; - } - // The record has a category. Check the category permissions. - $catpermission = $user->authorise($categoryCheck, 'com_componentbuilder.'.$views.'.category.' . (int) $record->catid); - if (!$catpermission && !is_null($catpermission)) - { - if ($action->name == 'core.edit' || $action->name == $view.'.edit') - { - if ($user->authorise('core.edit.own', 'com_componentbuilder.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder.'.$views.'.category.' . (int) $record->catid)) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise('core.edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - elseif ($user->authorise($view.'edit.own', 'com_componentbuilder')) - { - // If the owner matches 'me' then allow. - if (isset($record->created_by) && $record->created_by > 0 && ($record->created_by == $user->id)) - { - $result->set($action->name, true); - // set not to use component default - $fallback = false; - } - else - { - $result->set($action->name, false); - // set not to use component default - $fallback = false; - } - } - } - } - } - } - // if allowed then fallback on component global settings - if ($fallback) - { - $result->set($action->name, $user->authorise($action->name, 'com_componentbuilder')); - } - } - return $result; - } - - public static function checkObject($object) - { - if (isset($object) && is_object($object) && count($object) > 0) - { - return true; - } - return false; - } - - public static function checkArray($array) - { - if (isset($array) && is_array($array) && count($array) > 0) - { - return true; - } - return false; - } - - public static function checkString($string) - { - if (isset($string) && is_string($string) && strlen($string) > 0) - { - return true; - } - return false; - } - - public static function mergeArrays($arrays) - { - if(self::checkArray($arrays)) - { - $arrayBuket = array(); - foreach ($arrays as $array) - { - if (self::checkArray($array)) - { - $arrayBuket = array_merge($arrayBuket, $array); - } - } - return $arrayBuket; - } - return false; - } - - public static function sorten($string, $length = 40, $addTip = true) - { - if (self::checkString($string)) - { - $initial = strlen($string); - $words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE); - $words_count = count($words); - - $word_length = 0; - $last_word = 0; - for (; $last_word < $words_count; ++$last_word) - { - $word_length += strlen($words[$last_word]); - if ($word_length > $length) - { - break; - } - } - - $newString = implode(array_slice($words, 0, $last_word)); - $final = strlen($newString); - if ($initial != $final && $addTip) - { - $title = self::sorten($string, 400 , false); - return '<span class="hasTip" title="'.$title.'" style="cursor:help">'.trim($newString).'...</span>'; - } - elseif ($initial != $final && !$addTip) - { - return trim($newString).'...'; - } - } - return $string; - } - - public static function safeString($string, $type = 'L', $spacer = '_') - { - // remove all numbers and replace with english text version (works well only up to a thousand) - $string = self::replaceNumbers($string); - - if (self::checkString($string)) - { - // remove all other characters - $string = trim($string); - $string = preg_replace('/'.$spacer.'+/', ' ', $string); - $string = preg_replace('/\s+/', ' ', $string); - $string = preg_replace("/[^A-Za-z ]/", '', $string); - // return a string with all first letter of each word uppercase(no undersocre) - if ($type == 'W') - { - return ucwords(strtolower($string)); - } - elseif ($type == 'w') - { - return strtolower($string); - } - elseif ($type == 'Ww') - { - return ucfirst(strtolower($string)); - } - elseif ($type == 'WW') - { - return strtoupper($string); - } - elseif ($type == 'U') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return all upper - return strtoupper($string); - } - elseif ($type == 'F') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // return with first caracter to upper - return ucfirst(strtolower($string)); - } - elseif ($type == 'L') - { - // replace white space with underscore - $string = preg_replace('/\s+/', $spacer, $string); - // default is to return lower - return strtolower($string); - } - - // return string - return $string; - } - // not a string - return ''; - } - - public static function htmlEscape($var, $charset = 'UTF-8', $sorten = false, $length = 40) - { - if (self::checkString($var)) - { - $filter = new JFilterInput(); - $string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML'); - if ($sorten) - { - return self::sorten($string,$length); - } - return $string; - } - else - { - return ''; - } - } - - public static function replaceNumbers($string) - { - // set numbers array - $numbers = array(); - // first get all numbers - preg_match_all('!\d+!', $string, $numbers); - // check if we have any numbers - if (isset($numbers[0]) && self::checkArray($numbers[0])) - { - foreach ($numbers[0] as $number) - { - $searchReplace[$number] = self::numberToString((int)$number); - } - // now replace numbers in string - $string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string); - // check if we missed any, strange if we did. - return self::replaceNumbers($string); - } - // return the string with no numbers remaining. - return $string; - } - - /** - * Convert an integer into an English word string - * Thanks to Tom Nicholson <http://php.net/manual/en/function.strval.php#41988> - * - * @input an int - * @returns a string - **/ - public static function numberToString($x) - { - $nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven", - "eight", "nine", "ten", "eleven", "twelve", "thirteen", - "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", - "nineteen", "twenty", 30 => "thirty", 40 => "forty", - 50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty", - 90 => "ninety" ); - - if(!is_numeric($x)) - { - $w = $x; - } - elseif(fmod($x, 1) != 0) - { - $w = $x; - } - else - { - if($x < 0) - { - $w = 'minus '; - $x = -$x; - } - else - { - $w = ''; - // ... now $x is a non-negative integer. - } - - if($x < 21) // 0 to 20 - { - $w .= $nwords[$x]; - } - elseif($x < 100) // 21 to 99 - { - $w .= $nwords[10 * floor($x/10)]; - $r = fmod($x, 10); - if($r > 0) - { - $w .= ' '. $nwords[$r]; - } - } - elseif($x < 1000) // 100 to 999 - { - $w .= $nwords[floor($x/100)] .' hundred'; - $r = fmod($x, 100); - if($r > 0) - { - $w .= ' and '. self::numberToString($r); - } - } - elseif($x < 1000000) // 1000 to 999999 - { - $w .= self::numberToString(floor($x/1000)) .' thousand'; - $r = fmod($x, 1000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $w .= 'and '; - } - $w .= self::numberToString($r); - } - } - else // millions - { - $w .= self::numberToString(floor($x/1000000)) .' million'; - $r = fmod($x, 1000000); - if($r > 0) - { - $w .= ' '; - if($r < 100) - { - $word .= 'and '; - } - $w .= self::numberToString($r); - } - } - } - return $w; - } - - /** - * Random Key - * - * @returns a string - **/ - public static function randomkey($size) - { - $bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ"; - $key = array(); - $bagsize = strlen($bag) - 1; - for ($i = 0; $i < $size; $i++) - { - $get = rand(0, $bagsize); - $key[] = $bag[$get]; - } - return implode($key); - } - - public static function getCryptKey($type) - { - if ('basic' == $type) - { - // Get the global params - $params = JComponentHelper::getParams('com_componentbuilder', true); - $basic_key = $params->get('basic_key', null); - if ($basic_key) - { - return $basic_key; - } - } - return false; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/headercheck.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/headercheck.php deleted file mode 100644 index c8cf01f9c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/headercheck.php +++ /dev/null @@ -1,86 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage headercheck.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -class HeaderCheck -{ - function js_loaded($script_name) - { - // UIkit check point - if (strpos($script_name,'uikit') !== false) - { - $app = JFactory::getApplication(); - $getTemplateName = $app->getTemplate('template')->template; - - if (strpos($getTemplateName,'yoo') !== false) - { - return true; - } - } - - $document = JFactory::getDocument(); - $head_data = $document->getHeadData(); - foreach (array_keys($head_data['scripts']) as $script) - { - if (stristr($script, $script_name)) - { - return true; - } - } - - return false; - } - - function css_loaded($script_name) - { - // UIkit check point - if (strpos($script_name,'uikit') !== false) - { - $app = JFactory::getApplication(); - $getTemplateName = $app->getTemplate('template')->template; - - if (strpos($getTemplateName,'yoo') !== false) - { - return true; - } - } - - $document = JFactory::getDocument(); - $head_data = $document->getHeadData(); - - foreach (array_keys($head_data['styleSheets']) as $script) - { - if (stristr($script, $script_name)) - { - return true; - } - } - - return false; - } -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/route.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/route.php deleted file mode 100644 index cdcb075d3..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/helpers/route.php +++ /dev/null @@ -1,222 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage route.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -// Component Helper -jimport('joomla.application.component.helper'); -jimport('joomla.application.categories'); - -/** - * Componentbuilder Route Helper - **/ -abstract class ComponentbuilderHelperRoute -{ - protected static $lookup; - - /** - * Get the URL route for componentbuilder category from a category ID and language - * - * @param mixed $catid The id of the items's category either an integer id or a instance of JCategoryNode - * @param mixed $language The id of the language being used. - * - * @return string The link to the contact - * - * @since 1.5 - */ - public static function getCategoryRoute_keep_for_later($catid, $language = 0) - { - if ($catid instanceof JCategoryNode) - { - $id = $catid->id; - $category = $catid; - } - else - { - throw new Exception('First parameter must be JCategoryNode'); - } - - $views = array( - "com_componentbuilder.fields" => "field", - "com_componentbuilder.fieldtypes" => "fieldtype"); - $view = $views[$category->extension]; - - if ($id < 1 || !($category instanceof JCategoryNode)) - { - $link = ''; - } - else - { - //Create the link - $link = 'index.php?option=com_componentbuilder&view='.$view.'&category='.$category->slug; - - $needles = array( - $view => array($id), - 'category' => array($id) - ); - - if ($language && $language != "*" && JLanguageMultilang::isEnabled()) - { - $db = JFactory::getDbo(); - $query = $db->getQuery(true) - ->select('a.sef AS sef') - ->select('a.lang_code AS lang_code') - ->from('#__languages AS a'); - - $db->setQuery($query); - $langs = $db->loadObjectList(); - foreach ($langs as $lang) - { - if ($language == $lang->lang_code) - { - $link .= '&lang='.$lang->sef; - $needles['language'] = $language; - } - } - } - - if ($item = self::_findItem($needles,'category')) - { - - $link .= '&Itemid='.$item; - } - else - { - if ($category) - { - $catids = array_reverse($category->getPath()); - $needles = array( - 'category' => $catids - ); - if ($item = self::_findItem($needles,'category')) - { - $link .= '&Itemid='.$item; - } - elseif ($item = self::_findItem(null, 'category')) - { - $link .= '&Itemid='.$item; - } - } - } - } - return $link; - } - - protected static function _findItem($needles = null,$type = null) - { - $app = JFactory::getApplication(); - $menus = $app->getMenu('site'); - $language = isset($needles['language']) ? $needles['language'] : '*'; - - // Prepare the reverse lookup array. - if (!isset(self::$lookup[$language])) - { - self::$lookup[$language] = array(); - - $component = JComponentHelper::getComponent('com_componentbuilder'); - - $attributes = array('component_id'); - $values = array($component->id); - - if ($language != '*') - { - $attributes[] = 'language'; - $values[] = array($needles['language'], '*'); - } - - $items = $menus->getItems($attributes, $values); - - foreach ($items as $item) - { - if (isset($item->query) && isset($item->query['view'])) - { - $view = $item->query['view']; - - if (!isset(self::$lookup[$language][$view])) - { - self::$lookup[$language][$view] = array(); - } - - if (isset($item->query['id'])) - { - /** - * Here it will become a bit tricky - * language != * can override existing entries - * language == * cannot override existing entries - */ - if (!isset(self::$lookup[$language][$view][$item->query['id']]) || $item->language != '*') - { - self::$lookup[$language][$view][$item->query['id']] = $item->id; - } - } - } - } - } - - if ($needles) - { - foreach ($needles as $view => $ids) - { - if (isset(self::$lookup[$language][$view])) - { - foreach ($ids as $id) - { - if (isset(self::$lookup[$language][$view][(int) $id])) - { - return self::$lookup[$language][$view][(int) $id]; - } - } - } - } - } - - if ($type) - { - // Check if the global menu item has been set. - $params = JComponentHelper::getParams('com_componentbuilder'); - if ($item = $params->get($type.'_menu', 0)) - { - return $item; - } - } - - // Check if the active menuitem matches the requested language - $active = $menus->getActive(); - - if ($active - && $active->component == 'com_componentbuilder' - && ($language == '*' || in_array($active->language, array('*', $language)) || !JLanguageMultilang::isEnabled())) - { - return $active->id; - } - - // If not found, return language specific home link - $default = $menus->getDefault($language); - - return !empty($default->id) ? $default->id : null; - } -} diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/en-GB.com_componentbuilder.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/en-GB.com_componentbuilder.ini deleted file mode 100644 index d158447d7..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/en-GB.com_componentbuilder.ini +++ /dev/null @@ -1,14 +0,0 @@ -COM_COMPONENTBUILDER="Component Builder" -COM_CONTENT_FIELD_MODIFIED_DESC="The last date this item was modified." -JGLOBAL_FIELD_ID_DESC="Record number in the database." -JGLOBAL_FIELD_ID_LABEL="ID" -JGLOBAL_FIELD_MODIFIED_BY_DESC="The user who did the last modification." -JGLOBAL_FIELD_MODIFIED_BY_LABEL="Modified By" -JGLOBAL_FIELD_MODIFIED_LABEL="Modified Date" -JTOOLBAR_APPLY="Save" -JTOOLBAR_CANCEL="Cancel" -JTOOLBAR_CLOSE="Close" -JTOOLBAR_HELP="Help" -JTOOLBAR_SAVE="Save & Close" -JTOOLBAR_SAVE_AND_NEW="Save & New" -JTOOLBAR_SAVE_AS_COPY="Save as Copy" diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/en-GB.com_componentbuilder.sys.ini b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/en-GB.com_componentbuilder.sys.ini deleted file mode 100644 index d00ef7909..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/en-GB.com_componentbuilder.sys.ini +++ /dev/null @@ -1 +0,0 @@ -COM_COMPONENTBUILDER="Component Builder" diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/en-GB/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/language/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/layouts/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/layouts/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/layouts/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/models/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/models/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/models/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/router.php b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/router.php deleted file mode 100644 index 57492985c..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/router.php +++ /dev/null @@ -1,200 +0,0 @@ -<?php -/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ - __ __ _ _____ _ _ __ __ _ _ _ - \ \ / / | | | __ \ | | | | | \/ | | | | | | | - \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | - \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | - \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | - \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| - | | - |_| -/-------------------------------------------------------------------------------------------------------------------------------/ - - @version 2.1.0 - @build 20th February, 2016 - @created 30th April, 2015 - @package Component Builder - @subpackage router.php - @author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder> - @my wife Roline van der Merwe <http://www.vdm.io/> - @copyright Copyright (C) 2015. All Rights Reserved - @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html - - Builds Complex Joomla Components - -/-----------------------------------------------------------------------------------------------------------------------------*/ - -// No direct access to this file -defined('_JEXEC') or die('Restricted access'); - -/** - * Routing class from com_componentbuilder - * - * @since 3.3 - */ -class ComponentbuilderRouter extends JComponentRouterBase -{ - /** - * Build the route for the com_componentbuilder component - * - * @param array &$query An array of URL arguments - * - * @return array The URL arguments to use to assemble the subsequent URL. - * - * @since 3.3 - */ - public function build(&$query) - { - $segments = array(); - - // Get a menu item based on Itemid or currently active - $params = JComponentHelper::getParams('com_componentbuilder'); - - if (empty($query['Itemid'])) - { - $menuItem = $this->menu->getActive(); - } - else - { - $menuItem = $this->menu->getItem($query['Itemid']); - } - - $mView = (empty($menuItem->query['view'])) ? null : $menuItem->query['view']; - $mId = (empty($menuItem->query['id'])) ? null : $menuItem->query['id']; - - if (isset($query['view'])) - { - $view = $query['view']; - - if (empty($query['Itemid'])) - { - $segments[] = $query['view']; - } - - unset($query['view']); - } - - // Are we dealing with a item that is attached to a menu item? - if (isset($view) && ($mView == $view) and (isset($query['id'])) and ($mId == (int) $query['id'])) - { - unset($query['view']); - unset($query['catid']); - unset($query['id']); - return $segments; - } - - if (isset($view) && isset($query['id']) && 0) - { - if ($mId != (int) $query['id'] || $mView != $view) - { - if (0) - { - $segments[] = $view; - $id = explode(':', $query['id']); - if (count($id) == 2) - { - $segments[] = $id[1]; - } - else - { - $segments[] = $id[0]; - } - } - } - unset($query['id']); - } - - $total = count($segments); - - for ($i = 0; $i < $total; $i++) - { - $segments[$i] = str_replace(':', '-', $segments[$i]); - } - - return $segments; - - } - - /** - * Parse the segments of a URL. - * - * @param array &$segments The segments of the URL to parse. - * - * @return array The URL attributes to be used by the application. - * - * @since 3.3 - */ - public function parse(&$segments) - { - //var_dump($segments); - //$app = JFactory::getApplication(); - //$menu = $app->getMenu(); - //$item = $menu->getActive(); - - $count = count($segments); - $vars = array(); - - //var_dump($item->query['view']); - //Handle View and Identifier - switch($segments[0]) - { - } - - return $vars; - } - - protected function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = 'componentbuilder') - { - if(!$where) - { - $where = JFactory::getUser()->id; - } - // Get a db connection. - $db = JFactory::getDbo(); - // Create a new query object. - $query = $db->getQuery(true); - - $query->select($db->quoteName(array($what))); - if ('categories' == $table || 'category' == $table) - { - $query->from($db->quoteName('#__categories')); - } - else - { - $query->from($db->quoteName('#__'.$main.'_'.$table)); - } - if (is_numeric($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where); - } - elseif (is_string($where)) - { - $query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where)); - } - else - { - return false; - } - $db->setQuery($query); - $db->execute(); - if ($db->getNumRows()) - { - return $db->loadResult(); - } - return false; - } -} - -function ComponentbuilderBuildRoute(&$query) -{ - $router = new ComponentbuilderRouter; - - return $router->build($query); -} - -function ComponentbuilderParseRoute($segments) -{ - $router = new ContentRouter; - - return $router->parse($segments); -} \ No newline at end of file diff --git a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/views/index.html b/admin/compiler/com_componentbuilder_v2_1_0__J3/site/views/index.html deleted file mode 100644 index fa6d84e80..000000000 --- a/admin/compiler/com_componentbuilder_v2_1_0__J3/site/views/index.html +++ /dev/null @@ -1 +0,0 @@ -<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/admin_view/fields_fullwidth.php b/admin/layouts/admin_view/fields_fullwidth.php index 91643c35a..7168f2c9f 100644 --- a/admin/layouts/admin_view/fields_fullwidth.php +++ b/admin/layouts/admin_view/fields_fullwidth.php @@ -29,7 +29,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->flcfields; +$items = $displayData->nwbfields; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; diff --git a/admin/layouts/component/admin_views_fullwidth.php b/admin/layouts/component/admin_views_fullwidth.php index 97ce891df..ed1c19817 100644 --- a/admin/layouts/component/admin_views_fullwidth.php +++ b/admin/layouts/component/admin_views_fullwidth.php @@ -29,7 +29,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->bqoadmin_views; +$items = $displayData->kqhadmin_views; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit"; diff --git a/admin/layouts/component/site_views_fullwidth.php b/admin/layouts/component/site_views_fullwidth.php index c3600ba53..b90d9477a 100644 --- a/admin/layouts/component/site_views_fullwidth.php +++ b/admin/layouts/component/site_views_fullwidth.php @@ -29,7 +29,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->gygsite_views; +$items = $displayData->vewsite_views; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit"; diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php index 51fb26083..06ec4dd97 100644 --- a/admin/layouts/fieldtype/fields_fullwidth.php +++ b/admin/layouts/fieldtype/fields_fullwidth.php @@ -29,7 +29,7 @@ defined('_JEXEC') or die('Restricted access'); // set the defaults -$items = $displayData->xosfields; +$items = $displayData->murfields; $user = JFactory::getUser(); $id = $displayData->item->id; $edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit"; diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php index 4701c83e9..9cdfd0ace 100644 --- a/admin/models/admin_view.php +++ b/admin/models/admin_view.php @@ -210,7 +210,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin $item->tags->getTagIds($item->id, 'com_componentbuilder.admin_view'); } } - $this->idmpkw = $item->addfields; + $this->idnayz = $item->addfields; return $item; } @@ -220,7 +220,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getFlcfields() + public function getNwbfields() { // Get the user object. $user = JFactory::getUser(); @@ -288,26 +288,26 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationFlcfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationNwbfields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationFlcfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationNwbfields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationFlcfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationNwbfields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationFlcfields($item->store, 'store'); + $item->store = $this->selectionTranslationNwbfields($item->store, 'store'); } } // Filter by id Repetable Field - $idmpkw = json_decode($this->idmpkw,true); - if (ComponentbuilderHelper::checkArray($items) && isset($idmpkw) && ComponentbuilderHelper::checkArray($idmpkw)) + $idnayz = json_decode($this->idnayz,true); + if (ComponentbuilderHelper::checkArray($items) && isset($idnayz) && ComponentbuilderHelper::checkArray($idnayz)) { foreach ($items as $nr => &$item) { - if ($item->id && isset($idmpkw['field']) && ComponentbuilderHelper::checkArray($idmpkw['field'])) + if ($item->id && isset($idnayz['field']) && ComponentbuilderHelper::checkArray($idnayz['field'])) { - if (!in_array($item->id,$idmpkw['field'])) + if (!in_array($item->id,$idnayz['field'])) { unset($items[$nr]); continue; @@ -329,7 +329,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin * * @return translatable string */ - public function selectionTranslationFlcfields($value,$name) + public function selectionTranslationNwbfields($value,$name) { // Array of datatype language strings if ($name == 'datatype') diff --git a/admin/models/component.php b/admin/models/component.php index 273bfe588..5c8b43b9a 100644 --- a/admin/models/component.php +++ b/admin/models/component.php @@ -161,8 +161,8 @@ class ComponentbuilderModelComponent extends JModelAdmin $item->tags->getTagIds($item->id, 'com_componentbuilder.component'); } } - $this->idnfcc = $item->addadmin_views; - $this->idbhzo = $item->addsite_views; + $this->idumur = $item->addadmin_views; + $this->idmgww = $item->addsite_views; return $item; } @@ -172,7 +172,7 @@ class ComponentbuilderModelComponent extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getBqoadmin_views() + public function getKqhadmin_views() { // Get the user object. $user = JFactory::getUser(); @@ -229,14 +229,14 @@ class ComponentbuilderModelComponent extends JModelAdmin } // Filter by id Repetable Field - $idnfcc = json_decode($this->idnfcc,true); - if (ComponentbuilderHelper::checkArray($items) && isset($idnfcc) && ComponentbuilderHelper::checkArray($idnfcc)) + $idumur = json_decode($this->idumur,true); + if (ComponentbuilderHelper::checkArray($items) && isset($idumur) && ComponentbuilderHelper::checkArray($idumur)) { foreach ($items as $nr => &$item) { - if ($item->id && isset($idnfcc['adminview']) && ComponentbuilderHelper::checkArray($idnfcc['adminview'])) + if ($item->id && isset($idumur['adminview']) && ComponentbuilderHelper::checkArray($idumur['adminview'])) { - if (!in_array($item->id,$idnfcc['adminview'])) + if (!in_array($item->id,$idumur['adminview'])) { unset($items[$nr]); continue; @@ -258,7 +258,7 @@ class ComponentbuilderModelComponent extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getGygsite_views() + public function getVewsite_views() { // Get the user object. $user = JFactory::getUser(); @@ -319,14 +319,14 @@ class ComponentbuilderModelComponent extends JModelAdmin } // Filter by id Repetable Field - $idbhzo = json_decode($this->idbhzo,true); - if (ComponentbuilderHelper::checkArray($items) && isset($idbhzo) && ComponentbuilderHelper::checkArray($idbhzo)) + $idmgww = json_decode($this->idmgww,true); + if (ComponentbuilderHelper::checkArray($items) && isset($idmgww) && ComponentbuilderHelper::checkArray($idmgww)) { foreach ($items as $nr => &$item) { - if ($item->id && isset($idbhzo['siteview']) && ComponentbuilderHelper::checkArray($idbhzo['siteview'])) + if ($item->id && isset($idmgww['siteview']) && ComponentbuilderHelper::checkArray($idmgww['siteview'])) { - if (!in_array($item->id,$idbhzo['siteview'])) + if (!in_array($item->id,$idmgww['siteview'])) { unset($items[$nr]); continue; diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php index 649ce19ad..75e76b2a7 100644 --- a/admin/models/fieldtype.php +++ b/admin/models/fieldtype.php @@ -102,7 +102,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin $item->tags->getTagIds($item->id, 'com_componentbuilder.fieldtype'); } } - $this->typenomq = $item->id; + $this->typertvp = $item->id; return $item; } @@ -112,7 +112,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return mixed An array of data items on success, false on failure. */ - public function getXosfields() + public function getMurfields() { // Get the user object. $user = JFactory::getUser(); @@ -132,15 +132,15 @@ class ComponentbuilderModelFieldtype extends JModelAdmin $query->select($db->quoteName('g.name','type_name')); $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'g') . ' ON (' . $db->quoteName('a.type') . ' = ' . $db->quoteName('g.id') . ')'); - // Filter by typenomq global. - $typenomq = $this->typenomq; - if (is_numeric($typenomq )) + // Filter by typertvp global. + $typertvp = $this->typertvp; + if (is_numeric($typertvp )) { - $query->where('a.type = ' . (int) $typenomq ); + $query->where('a.type = ' . (int) $typertvp ); } - elseif (is_string($typenomq)) + elseif (is_string($typertvp)) { - $query->where('a.type = ' . $db->quote($typenomq)); + $query->where('a.type = ' . $db->quote($typertvp)); } else { @@ -195,13 +195,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin foreach ($items as $nr => &$item) { // convert datatype - $item->datatype = $this->selectionTranslationXosfields($item->datatype, 'datatype'); + $item->datatype = $this->selectionTranslationMurfields($item->datatype, 'datatype'); // convert indexes - $item->indexes = $this->selectionTranslationXosfields($item->indexes, 'indexes'); + $item->indexes = $this->selectionTranslationMurfields($item->indexes, 'indexes'); // convert null_switch - $item->null_switch = $this->selectionTranslationXosfields($item->null_switch, 'null_switch'); + $item->null_switch = $this->selectionTranslationMurfields($item->null_switch, 'null_switch'); // convert store - $item->store = $this->selectionTranslationXosfields($item->store, 'store'); + $item->store = $this->selectionTranslationMurfields($item->store, 'store'); } } @@ -215,7 +215,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin * * @return translatable string */ - public function selectionTranslationXosfields($value,$name) + public function selectionTranslationMurfields($value,$name) { // Array of datatype language strings if ($name == 'datatype') diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js index 5f1a12b71..2b3e08cb0 100644 --- a/admin/models/forms/admin_view.js +++ b/admin/models/forms/admin_view.js @@ -24,293 +24,293 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_aASEiTHQRn_required = false; -jform_OWnFevaaQZ_required = false; -jform_IvKaMNyDSP_required = false; -jform_nTwfxyZkuQ_required = false; -jform_FeONESoKUc_required = false; -jform_EIyrCriaQc_required = false; -jform_PZWgdCMcHc_required = false; -jform_VpiFYNyiAz_required = false; -jform_lfbQvKdLLR_required = false; -jform_IuTLHWfmYR_required = false; -jform_uSdCybpdkL_required = false; -jform_wCOElqiuVQ_required = false; -jform_nJmcmSYyhX_required = false; -jform_kvPrXqtnBx_required = false; -jform_UXaEDlTFBR_required = false; -jform_wOtPSMKOfP_required = false; -jform_KumAJlXWur_required = false; -jform_CupCYRJSxp_required = false; -jform_LbggPZSCOX_required = false; +jform_rQzycJDxsP_required = false; +jform_NVyUjxPKTz_required = false; +jform_tgVPzLIizq_required = false; +jform_dRcvpehNvz_required = false; +jform_FmmXiuCWgx_required = false; +jform_DxxstegWlF_required = false; +jform_jtxpPKpWDT_required = false; +jform_uchCardCki_required = false; +jform_THMxfbvkXM_required = false; +jform_VgczrTkOPL_required = false; +jform_CeJJNJbQol_required = false; +jform_adWJueOWmM_required = false; +jform_FkSMImyPct_required = false; +jform_vFtjrkXsah_required = false; +jform_KbpAOHFxKW_required = false; +jform_psfhZIrFDt_required = false; +jform_TYdsiDChUD_required = false; +jform_mGwyirlOOT_required = false; +jform_NcnSjiBzJg_required = false; // Initial Script jQuery(document).ready(function() { - var add_css_view_aASEiTH = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - aASEiTH(add_css_view_aASEiTH); + var add_css_view_rQzycJD = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + rQzycJD(add_css_view_rQzycJD); - var add_css_views_OWnFeva = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - OWnFeva(add_css_views_OWnFeva); + var add_css_views_NVyUjxP = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + NVyUjxP(add_css_views_NVyUjxP); - var add_javascript_view_file_IvKaMNy = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - IvKaMNy(add_javascript_view_file_IvKaMNy); + var add_javascript_view_file_tgVPzLI = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + tgVPzLI(add_javascript_view_file_tgVPzLI); - var add_javascript_views_file_nTwfxyZ = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - nTwfxyZ(add_javascript_views_file_nTwfxyZ); + var add_javascript_views_file_dRcvpeh = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + dRcvpeh(add_javascript_views_file_dRcvpeh); - var add_javascript_view_footer_FeONESo = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - FeONESo(add_javascript_view_footer_FeONESo); + var add_javascript_view_footer_FmmXiuC = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + FmmXiuC(add_javascript_view_footer_FmmXiuC); - var add_javascript_views_footer_EIyrCri = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - EIyrCri(add_javascript_views_footer_EIyrCri); + var add_javascript_views_footer_Dxxsteg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + Dxxsteg(add_javascript_views_footer_Dxxsteg); - var add_php_ajax_PZWgdCM = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - PZWgdCM(add_php_ajax_PZWgdCM); + var add_php_ajax_jtxpPKp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + jtxpPKp(add_php_ajax_jtxpPKp); - var add_php_getitem_VpiFYNy = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - VpiFYNy(add_php_getitem_VpiFYNy); + var add_php_getitem_uchCard = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + uchCard(add_php_getitem_uchCard); - var add_php_getitems_lfbQvKd = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - lfbQvKd(add_php_getitems_lfbQvKd); + var add_php_getitems_THMxfbv = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + THMxfbv(add_php_getitems_THMxfbv); - var add_php_getlistquery_IuTLHWf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - IuTLHWf(add_php_getlistquery_IuTLHWf); + var add_php_getlistquery_VgczrTk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + VgczrTk(add_php_getlistquery_VgczrTk); - var add_php_save_uSdCybp = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - uSdCybp(add_php_save_uSdCybp); + var add_php_save_CeJJNJb = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + CeJJNJb(add_php_save_CeJJNJb); - var add_php_postsavehook_wCOElqi = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - wCOElqi(add_php_postsavehook_wCOElqi); + var add_php_postsavehook_adWJueO = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + adWJueO(add_php_postsavehook_adWJueO); - var add_php_allowedit_nJmcmSY = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - nJmcmSY(add_php_allowedit_nJmcmSY); + var add_php_allowedit_FkSMImy = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + FkSMImy(add_php_allowedit_FkSMImy); - var add_php_batchcopy_kvPrXqt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - kvPrXqt(add_php_batchcopy_kvPrXqt); + var add_php_batchcopy_vFtjrkX = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + vFtjrkX(add_php_batchcopy_vFtjrkX); - var add_php_batchmove_UXaEDlT = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - UXaEDlT(add_php_batchmove_UXaEDlT); + var add_php_batchmove_KbpAOHF = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + KbpAOHF(add_php_batchmove_KbpAOHF); - var add_php_before_delete_wOtPSMK = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - wOtPSMK(add_php_before_delete_wOtPSMK); + var add_php_before_delete_psfhZIr = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + psfhZIr(add_php_before_delete_psfhZIr); - var add_php_after_delete_KumAJlX = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - KumAJlX(add_php_after_delete_KumAJlX); + var add_php_after_delete_TYdsiDC = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + TYdsiDC(add_php_after_delete_TYdsiDC); - var add_sql_CupCYRJ = jQuery("#jform_add_sql input[type='radio']:checked").val(); - CupCYRJ(add_sql_CupCYRJ); + var add_sql_mGwyirl = jQuery("#jform_add_sql input[type='radio']:checked").val(); + mGwyirl(add_sql_mGwyirl); - var source_LbggPZS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_LbggPZS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - LbggPZS(source_LbggPZS,add_sql_LbggPZS); + var source_NcnSjiB = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_NcnSjiB = jQuery("#jform_add_sql input[type='radio']:checked").val(); + NcnSjiB(source_NcnSjiB,add_sql_NcnSjiB); - var source_eRrvtIS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_eRrvtIS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - eRrvtIS(source_eRrvtIS,add_sql_eRrvtIS); + var source_qrDRMdq = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_qrDRMdq = jQuery("#jform_add_sql input[type='radio']:checked").val(); + qrDRMdq(source_qrDRMdq,add_sql_qrDRMdq); }); -// the aASEiTH function -function aASEiTH(add_css_view_aASEiTH) +// the rQzycJD function +function rQzycJD(add_css_view_rQzycJD) { // set the function logic - if (add_css_view_aASEiTH == 1) + if (add_css_view_rQzycJD == 1) { jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_aASEiTHQRn_required) + if (jform_rQzycJDxsP_required) { updateFieldRequired('css_view',0); jQuery('#jform_css_view').prop('required','required'); jQuery('#jform_css_view').attr('aria-required',true); jQuery('#jform_css_view').addClass('required'); - jform_aASEiTHQRn_required = false; + jform_rQzycJDxsP_required = false; } } else { jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_aASEiTHQRn_required) + if (!jform_rQzycJDxsP_required) { updateFieldRequired('css_view',1); jQuery('#jform_css_view').removeAttr('required'); jQuery('#jform_css_view').removeAttr('aria-required'); jQuery('#jform_css_view').removeClass('required'); - jform_aASEiTHQRn_required = true; + jform_rQzycJDxsP_required = true; } } } -// the OWnFeva function -function OWnFeva(add_css_views_OWnFeva) +// the NVyUjxP function +function NVyUjxP(add_css_views_NVyUjxP) { // set the function logic - if (add_css_views_OWnFeva == 1) + if (add_css_views_NVyUjxP == 1) { jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_OWnFevaaQZ_required) + if (jform_NVyUjxPKTz_required) { updateFieldRequired('css_views',0); jQuery('#jform_css_views').prop('required','required'); jQuery('#jform_css_views').attr('aria-required',true); jQuery('#jform_css_views').addClass('required'); - jform_OWnFevaaQZ_required = false; + jform_NVyUjxPKTz_required = false; } } else { jQuery('#jform_css_views').closest('.control-group').hide(); - if (!jform_OWnFevaaQZ_required) + if (!jform_NVyUjxPKTz_required) { updateFieldRequired('css_views',1); jQuery('#jform_css_views').removeAttr('required'); jQuery('#jform_css_views').removeAttr('aria-required'); jQuery('#jform_css_views').removeClass('required'); - jform_OWnFevaaQZ_required = true; + jform_NVyUjxPKTz_required = true; } } } -// the IvKaMNy function -function IvKaMNy(add_javascript_view_file_IvKaMNy) +// the tgVPzLI function +function tgVPzLI(add_javascript_view_file_tgVPzLI) { // set the function logic - if (add_javascript_view_file_IvKaMNy == 1) + if (add_javascript_view_file_tgVPzLI == 1) { jQuery('#jform_javascript_view_file').closest('.control-group').show(); - if (jform_IvKaMNyDSP_required) + if (jform_tgVPzLIizq_required) { updateFieldRequired('javascript_view_file',0); jQuery('#jform_javascript_view_file').prop('required','required'); jQuery('#jform_javascript_view_file').attr('aria-required',true); jQuery('#jform_javascript_view_file').addClass('required'); - jform_IvKaMNyDSP_required = false; + jform_tgVPzLIizq_required = false; } } else { jQuery('#jform_javascript_view_file').closest('.control-group').hide(); - if (!jform_IvKaMNyDSP_required) + if (!jform_tgVPzLIizq_required) { updateFieldRequired('javascript_view_file',1); jQuery('#jform_javascript_view_file').removeAttr('required'); jQuery('#jform_javascript_view_file').removeAttr('aria-required'); jQuery('#jform_javascript_view_file').removeClass('required'); - jform_IvKaMNyDSP_required = true; + jform_tgVPzLIizq_required = true; } } } -// the nTwfxyZ function -function nTwfxyZ(add_javascript_views_file_nTwfxyZ) +// the dRcvpeh function +function dRcvpeh(add_javascript_views_file_dRcvpeh) { // set the function logic - if (add_javascript_views_file_nTwfxyZ == 1) + if (add_javascript_views_file_dRcvpeh == 1) { jQuery('#jform_javascript_views_file').closest('.control-group').show(); - if (jform_nTwfxyZkuQ_required) + if (jform_dRcvpehNvz_required) { updateFieldRequired('javascript_views_file',0); jQuery('#jform_javascript_views_file').prop('required','required'); jQuery('#jform_javascript_views_file').attr('aria-required',true); jQuery('#jform_javascript_views_file').addClass('required'); - jform_nTwfxyZkuQ_required = false; + jform_dRcvpehNvz_required = false; } } else { jQuery('#jform_javascript_views_file').closest('.control-group').hide(); - if (!jform_nTwfxyZkuQ_required) + if (!jform_dRcvpehNvz_required) { updateFieldRequired('javascript_views_file',1); jQuery('#jform_javascript_views_file').removeAttr('required'); jQuery('#jform_javascript_views_file').removeAttr('aria-required'); jQuery('#jform_javascript_views_file').removeClass('required'); - jform_nTwfxyZkuQ_required = true; + jform_dRcvpehNvz_required = true; } } } -// the FeONESo function -function FeONESo(add_javascript_view_footer_FeONESo) +// the FmmXiuC function +function FmmXiuC(add_javascript_view_footer_FmmXiuC) { // set the function logic - if (add_javascript_view_footer_FeONESo == 1) + if (add_javascript_view_footer_FmmXiuC == 1) { jQuery('#jform_javascript_view_footer').closest('.control-group').show(); - if (jform_FeONESoKUc_required) + if (jform_FmmXiuCWgx_required) { updateFieldRequired('javascript_view_footer',0); jQuery('#jform_javascript_view_footer').prop('required','required'); jQuery('#jform_javascript_view_footer').attr('aria-required',true); jQuery('#jform_javascript_view_footer').addClass('required'); - jform_FeONESoKUc_required = false; + jform_FmmXiuCWgx_required = false; } } else { jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); - if (!jform_FeONESoKUc_required) + if (!jform_FmmXiuCWgx_required) { updateFieldRequired('javascript_view_footer',1); jQuery('#jform_javascript_view_footer').removeAttr('required'); jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); jQuery('#jform_javascript_view_footer').removeClass('required'); - jform_FeONESoKUc_required = true; + jform_FmmXiuCWgx_required = true; } } } -// the EIyrCri function -function EIyrCri(add_javascript_views_footer_EIyrCri) +// the Dxxsteg function +function Dxxsteg(add_javascript_views_footer_Dxxsteg) { // set the function logic - if (add_javascript_views_footer_EIyrCri == 1) + if (add_javascript_views_footer_Dxxsteg == 1) { jQuery('#jform_javascript_views_footer').closest('.control-group').show(); - if (jform_EIyrCriaQc_required) + if (jform_DxxstegWlF_required) { updateFieldRequired('javascript_views_footer',0); jQuery('#jform_javascript_views_footer').prop('required','required'); jQuery('#jform_javascript_views_footer').attr('aria-required',true); jQuery('#jform_javascript_views_footer').addClass('required'); - jform_EIyrCriaQc_required = false; + jform_DxxstegWlF_required = false; } } else { jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); - if (!jform_EIyrCriaQc_required) + if (!jform_DxxstegWlF_required) { updateFieldRequired('javascript_views_footer',1); jQuery('#jform_javascript_views_footer').removeAttr('required'); jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); jQuery('#jform_javascript_views_footer').removeClass('required'); - jform_EIyrCriaQc_required = true; + jform_DxxstegWlF_required = true; } } } -// the PZWgdCM function -function PZWgdCM(add_php_ajax_PZWgdCM) +// the jtxpPKp function +function jtxpPKp(add_php_ajax_jtxpPKp) { // set the function logic - if (add_php_ajax_PZWgdCM == 1) + if (add_php_ajax_jtxpPKp == 1) { jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_PZWgdCMcHc_required) + if (jform_jtxpPKpWDT_required) { updateFieldRequired('php_ajaxmethod',0); jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').addClass('required'); - jform_PZWgdCMcHc_required = false; + jform_jtxpPKpWDT_required = false; } } @@ -318,394 +318,394 @@ function PZWgdCM(add_php_ajax_PZWgdCM) { jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_PZWgdCMcHc_required) + if (!jform_jtxpPKpWDT_required) { updateFieldRequired('php_ajaxmethod',1); jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeClass('required'); - jform_PZWgdCMcHc_required = true; + jform_jtxpPKpWDT_required = true; } } } -// the VpiFYNy function -function VpiFYNy(add_php_getitem_VpiFYNy) +// the uchCard function +function uchCard(add_php_getitem_uchCard) { // set the function logic - if (add_php_getitem_VpiFYNy == 1) + if (add_php_getitem_uchCard == 1) { jQuery('#jform_php_getitem').closest('.control-group').show(); - if (jform_VpiFYNyiAz_required) + if (jform_uchCardCki_required) { updateFieldRequired('php_getitem',0); jQuery('#jform_php_getitem').prop('required','required'); jQuery('#jform_php_getitem').attr('aria-required',true); jQuery('#jform_php_getitem').addClass('required'); - jform_VpiFYNyiAz_required = false; + jform_uchCardCki_required = false; } } else { jQuery('#jform_php_getitem').closest('.control-group').hide(); - if (!jform_VpiFYNyiAz_required) + if (!jform_uchCardCki_required) { updateFieldRequired('php_getitem',1); jQuery('#jform_php_getitem').removeAttr('required'); jQuery('#jform_php_getitem').removeAttr('aria-required'); jQuery('#jform_php_getitem').removeClass('required'); - jform_VpiFYNyiAz_required = true; + jform_uchCardCki_required = true; } } } -// the lfbQvKd function -function lfbQvKd(add_php_getitems_lfbQvKd) +// the THMxfbv function +function THMxfbv(add_php_getitems_THMxfbv) { // set the function logic - if (add_php_getitems_lfbQvKd == 1) + if (add_php_getitems_THMxfbv == 1) { jQuery('#jform_php_getitems').closest('.control-group').show(); - if (jform_lfbQvKdLLR_required) + if (jform_THMxfbvkXM_required) { updateFieldRequired('php_getitems',0); jQuery('#jform_php_getitems').prop('required','required'); jQuery('#jform_php_getitems').attr('aria-required',true); jQuery('#jform_php_getitems').addClass('required'); - jform_lfbQvKdLLR_required = false; + jform_THMxfbvkXM_required = false; } } else { jQuery('#jform_php_getitems').closest('.control-group').hide(); - if (!jform_lfbQvKdLLR_required) + if (!jform_THMxfbvkXM_required) { updateFieldRequired('php_getitems',1); jQuery('#jform_php_getitems').removeAttr('required'); jQuery('#jform_php_getitems').removeAttr('aria-required'); jQuery('#jform_php_getitems').removeClass('required'); - jform_lfbQvKdLLR_required = true; + jform_THMxfbvkXM_required = true; } } } -// the IuTLHWf function -function IuTLHWf(add_php_getlistquery_IuTLHWf) +// the VgczrTk function +function VgczrTk(add_php_getlistquery_VgczrTk) { // set the function logic - if (add_php_getlistquery_IuTLHWf == 1) + if (add_php_getlistquery_VgczrTk == 1) { jQuery('#jform_php_getlistquery').closest('.control-group').show(); - if (jform_IuTLHWfmYR_required) + if (jform_VgczrTkOPL_required) { updateFieldRequired('php_getlistquery',0); jQuery('#jform_php_getlistquery').prop('required','required'); jQuery('#jform_php_getlistquery').attr('aria-required',true); jQuery('#jform_php_getlistquery').addClass('required'); - jform_IuTLHWfmYR_required = false; + jform_VgczrTkOPL_required = false; } } else { jQuery('#jform_php_getlistquery').closest('.control-group').hide(); - if (!jform_IuTLHWfmYR_required) + if (!jform_VgczrTkOPL_required) { updateFieldRequired('php_getlistquery',1); jQuery('#jform_php_getlistquery').removeAttr('required'); jQuery('#jform_php_getlistquery').removeAttr('aria-required'); jQuery('#jform_php_getlistquery').removeClass('required'); - jform_IuTLHWfmYR_required = true; + jform_VgczrTkOPL_required = true; } } } -// the uSdCybp function -function uSdCybp(add_php_save_uSdCybp) +// the CeJJNJb function +function CeJJNJb(add_php_save_CeJJNJb) { // set the function logic - if (add_php_save_uSdCybp == 1) + if (add_php_save_CeJJNJb == 1) { jQuery('#jform_php_save').closest('.control-group').show(); - if (jform_uSdCybpdkL_required) + if (jform_CeJJNJbQol_required) { updateFieldRequired('php_save',0); jQuery('#jform_php_save').prop('required','required'); jQuery('#jform_php_save').attr('aria-required',true); jQuery('#jform_php_save').addClass('required'); - jform_uSdCybpdkL_required = false; + jform_CeJJNJbQol_required = false; } } else { jQuery('#jform_php_save').closest('.control-group').hide(); - if (!jform_uSdCybpdkL_required) + if (!jform_CeJJNJbQol_required) { updateFieldRequired('php_save',1); jQuery('#jform_php_save').removeAttr('required'); jQuery('#jform_php_save').removeAttr('aria-required'); jQuery('#jform_php_save').removeClass('required'); - jform_uSdCybpdkL_required = true; + jform_CeJJNJbQol_required = true; } } } -// the wCOElqi function -function wCOElqi(add_php_postsavehook_wCOElqi) +// the adWJueO function +function adWJueO(add_php_postsavehook_adWJueO) { // set the function logic - if (add_php_postsavehook_wCOElqi == 1) + if (add_php_postsavehook_adWJueO == 1) { jQuery('#jform_php_postsavehook').closest('.control-group').show(); - if (jform_wCOElqiuVQ_required) + if (jform_adWJueOWmM_required) { updateFieldRequired('php_postsavehook',0); jQuery('#jform_php_postsavehook').prop('required','required'); jQuery('#jform_php_postsavehook').attr('aria-required',true); jQuery('#jform_php_postsavehook').addClass('required'); - jform_wCOElqiuVQ_required = false; + jform_adWJueOWmM_required = false; } } else { jQuery('#jform_php_postsavehook').closest('.control-group').hide(); - if (!jform_wCOElqiuVQ_required) + if (!jform_adWJueOWmM_required) { updateFieldRequired('php_postsavehook',1); jQuery('#jform_php_postsavehook').removeAttr('required'); jQuery('#jform_php_postsavehook').removeAttr('aria-required'); jQuery('#jform_php_postsavehook').removeClass('required'); - jform_wCOElqiuVQ_required = true; + jform_adWJueOWmM_required = true; } } } -// the nJmcmSY function -function nJmcmSY(add_php_allowedit_nJmcmSY) +// the FkSMImy function +function FkSMImy(add_php_allowedit_FkSMImy) { // set the function logic - if (add_php_allowedit_nJmcmSY == 1) + if (add_php_allowedit_FkSMImy == 1) { jQuery('#jform_php_allowedit').closest('.control-group').show(); - if (jform_nJmcmSYyhX_required) + if (jform_FkSMImyPct_required) { updateFieldRequired('php_allowedit',0); jQuery('#jform_php_allowedit').prop('required','required'); jQuery('#jform_php_allowedit').attr('aria-required',true); jQuery('#jform_php_allowedit').addClass('required'); - jform_nJmcmSYyhX_required = false; + jform_FkSMImyPct_required = false; } } else { jQuery('#jform_php_allowedit').closest('.control-group').hide(); - if (!jform_nJmcmSYyhX_required) + if (!jform_FkSMImyPct_required) { updateFieldRequired('php_allowedit',1); jQuery('#jform_php_allowedit').removeAttr('required'); jQuery('#jform_php_allowedit').removeAttr('aria-required'); jQuery('#jform_php_allowedit').removeClass('required'); - jform_nJmcmSYyhX_required = true; + jform_FkSMImyPct_required = true; } } } -// the kvPrXqt function -function kvPrXqt(add_php_batchcopy_kvPrXqt) +// the vFtjrkX function +function vFtjrkX(add_php_batchcopy_vFtjrkX) { // set the function logic - if (add_php_batchcopy_kvPrXqt == 1) + if (add_php_batchcopy_vFtjrkX == 1) { jQuery('#jform_php_batchcopy').closest('.control-group').show(); - if (jform_kvPrXqtnBx_required) + if (jform_vFtjrkXsah_required) { updateFieldRequired('php_batchcopy',0); jQuery('#jform_php_batchcopy').prop('required','required'); jQuery('#jform_php_batchcopy').attr('aria-required',true); jQuery('#jform_php_batchcopy').addClass('required'); - jform_kvPrXqtnBx_required = false; + jform_vFtjrkXsah_required = false; } } else { jQuery('#jform_php_batchcopy').closest('.control-group').hide(); - if (!jform_kvPrXqtnBx_required) + if (!jform_vFtjrkXsah_required) { updateFieldRequired('php_batchcopy',1); jQuery('#jform_php_batchcopy').removeAttr('required'); jQuery('#jform_php_batchcopy').removeAttr('aria-required'); jQuery('#jform_php_batchcopy').removeClass('required'); - jform_kvPrXqtnBx_required = true; + jform_vFtjrkXsah_required = true; } } } -// the UXaEDlT function -function UXaEDlT(add_php_batchmove_UXaEDlT) +// the KbpAOHF function +function KbpAOHF(add_php_batchmove_KbpAOHF) { // set the function logic - if (add_php_batchmove_UXaEDlT == 1) + if (add_php_batchmove_KbpAOHF == 1) { jQuery('#jform_php_batchmove').closest('.control-group').show(); - if (jform_UXaEDlTFBR_required) + if (jform_KbpAOHFxKW_required) { updateFieldRequired('php_batchmove',0); jQuery('#jform_php_batchmove').prop('required','required'); jQuery('#jform_php_batchmove').attr('aria-required',true); jQuery('#jform_php_batchmove').addClass('required'); - jform_UXaEDlTFBR_required = false; + jform_KbpAOHFxKW_required = false; } } else { jQuery('#jform_php_batchmove').closest('.control-group').hide(); - if (!jform_UXaEDlTFBR_required) + if (!jform_KbpAOHFxKW_required) { updateFieldRequired('php_batchmove',1); jQuery('#jform_php_batchmove').removeAttr('required'); jQuery('#jform_php_batchmove').removeAttr('aria-required'); jQuery('#jform_php_batchmove').removeClass('required'); - jform_UXaEDlTFBR_required = true; + jform_KbpAOHFxKW_required = true; } } } -// the wOtPSMK function -function wOtPSMK(add_php_before_delete_wOtPSMK) +// the psfhZIr function +function psfhZIr(add_php_before_delete_psfhZIr) { // set the function logic - if (add_php_before_delete_wOtPSMK == 1) + if (add_php_before_delete_psfhZIr == 1) { jQuery('#jform_php_before_delete').closest('.control-group').show(); - if (jform_wOtPSMKOfP_required) + if (jform_psfhZIrFDt_required) { updateFieldRequired('php_before_delete',0); jQuery('#jform_php_before_delete').prop('required','required'); jQuery('#jform_php_before_delete').attr('aria-required',true); jQuery('#jform_php_before_delete').addClass('required'); - jform_wOtPSMKOfP_required = false; + jform_psfhZIrFDt_required = false; } } else { jQuery('#jform_php_before_delete').closest('.control-group').hide(); - if (!jform_wOtPSMKOfP_required) + if (!jform_psfhZIrFDt_required) { updateFieldRequired('php_before_delete',1); jQuery('#jform_php_before_delete').removeAttr('required'); jQuery('#jform_php_before_delete').removeAttr('aria-required'); jQuery('#jform_php_before_delete').removeClass('required'); - jform_wOtPSMKOfP_required = true; + jform_psfhZIrFDt_required = true; } } } -// the KumAJlX function -function KumAJlX(add_php_after_delete_KumAJlX) +// the TYdsiDC function +function TYdsiDC(add_php_after_delete_TYdsiDC) { // set the function logic - if (add_php_after_delete_KumAJlX == 1) + if (add_php_after_delete_TYdsiDC == 1) { jQuery('#jform_php_after_delete').closest('.control-group').show(); - if (jform_KumAJlXWur_required) + if (jform_TYdsiDChUD_required) { updateFieldRequired('php_after_delete',0); jQuery('#jform_php_after_delete').prop('required','required'); jQuery('#jform_php_after_delete').attr('aria-required',true); jQuery('#jform_php_after_delete').addClass('required'); - jform_KumAJlXWur_required = false; + jform_TYdsiDChUD_required = false; } } else { jQuery('#jform_php_after_delete').closest('.control-group').hide(); - if (!jform_KumAJlXWur_required) + if (!jform_TYdsiDChUD_required) { updateFieldRequired('php_after_delete',1); jQuery('#jform_php_after_delete').removeAttr('required'); jQuery('#jform_php_after_delete').removeAttr('aria-required'); jQuery('#jform_php_after_delete').removeClass('required'); - jform_KumAJlXWur_required = true; + jform_TYdsiDChUD_required = true; } } } -// the CupCYRJ function -function CupCYRJ(add_sql_CupCYRJ) +// the mGwyirl function +function mGwyirl(add_sql_mGwyirl) { // set the function logic - if (add_sql_CupCYRJ == 1) + if (add_sql_mGwyirl == 1) { jQuery('#jform_source').closest('.control-group').show(); - if (jform_CupCYRJSxp_required) + if (jform_mGwyirlOOT_required) { updateFieldRequired('source',0); jQuery('#jform_source').prop('required','required'); jQuery('#jform_source').attr('aria-required',true); jQuery('#jform_source').addClass('required'); - jform_CupCYRJSxp_required = false; + jform_mGwyirlOOT_required = false; } } else { jQuery('#jform_source').closest('.control-group').hide(); - if (!jform_CupCYRJSxp_required) + if (!jform_mGwyirlOOT_required) { updateFieldRequired('source',1); jQuery('#jform_source').removeAttr('required'); jQuery('#jform_source').removeAttr('aria-required'); jQuery('#jform_source').removeClass('required'); - jform_CupCYRJSxp_required = true; + jform_mGwyirlOOT_required = true; } } } -// the LbggPZS function -function LbggPZS(source_LbggPZS,add_sql_LbggPZS) +// the NcnSjiB function +function NcnSjiB(source_NcnSjiB,add_sql_NcnSjiB) { // set the function logic - if (source_LbggPZS == 2 && add_sql_LbggPZS == 1) + if (source_NcnSjiB == 2 && add_sql_NcnSjiB == 1) { jQuery('#jform_sql').closest('.control-group').show(); - if (jform_LbggPZSCOX_required) + if (jform_NcnSjiBzJg_required) { updateFieldRequired('sql',0); jQuery('#jform_sql').prop('required','required'); jQuery('#jform_sql').attr('aria-required',true); jQuery('#jform_sql').addClass('required'); - jform_LbggPZSCOX_required = false; + jform_NcnSjiBzJg_required = false; } } else { jQuery('#jform_sql').closest('.control-group').hide(); - if (!jform_LbggPZSCOX_required) + if (!jform_NcnSjiBzJg_required) { updateFieldRequired('sql',1); jQuery('#jform_sql').removeAttr('required'); jQuery('#jform_sql').removeAttr('aria-required'); jQuery('#jform_sql').removeClass('required'); - jform_LbggPZSCOX_required = true; + jform_NcnSjiBzJg_required = true; } } } -// the eRrvtIS function -function eRrvtIS(source_eRrvtIS,add_sql_eRrvtIS) +// the qrDRMdq function +function qrDRMdq(source_qrDRMdq,add_sql_qrDRMdq) { // set the function logic - if (source_eRrvtIS == 1 && add_sql_eRrvtIS == 1) + if (source_qrDRMdq == 1 && add_sql_qrDRMdq == 1) { jQuery('#jform_addtables').closest('.control-group').show(); } diff --git a/admin/models/forms/component.js b/admin/models/forms/component.js index 0b5b33291..f493f2f49 100644 --- a/admin/models/forms/component.js +++ b/admin/models/forms/component.js @@ -24,182 +24,182 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_TrtGyXEwzJ_required = false; -jform_glKLttxZlX_required = false; -jform_UoyMAgexhJ_required = false; -jform_uafUHLSfnl_required = false; -jform_oPksIyQAZW_required = false; -jform_yxemPfyLHd_required = false; -jform_wSmOGAlfGf_required = false; -jform_aTTjkCBbeB_required = false; -jform_mCTxZMEOml_required = false; +jform_smGPrVGWEh_required = false; +jform_LhFLVtjxYX_required = false; +jform_DRykWOmcva_required = false; +jform_HKmgEMceCH_required = false; +jform_kqngNhMYcv_required = false; +jform_ldWlGLFRjl_required = false; +jform_UsUHGhzCjf_required = false; +jform_Pwrgvhlnft_required = false; +jform_fUDxPQlppz_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_helper_admin_TrtGyXE = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); - TrtGyXE(add_php_helper_admin_TrtGyXE); + var add_php_helper_admin_smGPrVG = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); + smGPrVG(add_php_helper_admin_smGPrVG); - var add_php_helper_site_glKLttx = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); - glKLttx(add_php_helper_site_glKLttx); + var add_php_helper_site_LhFLVtj = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); + LhFLVtj(add_php_helper_site_LhFLVtj); - var add_css_UoyMAge = jQuery("#jform_add_css input[type='radio']:checked").val(); - UoyMAge(add_css_UoyMAge); + var add_css_DRykWOm = jQuery("#jform_add_css input[type='radio']:checked").val(); + DRykWOm(add_css_DRykWOm); - var add_sql_uafUHLS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - uafUHLS(add_sql_uafUHLS); + var add_sql_HKmgEMc = jQuery("#jform_add_sql input[type='radio']:checked").val(); + HKmgEMc(add_sql_HKmgEMc); - var emptycontributors_JsDwYRW = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); - JsDwYRW(emptycontributors_JsDwYRW); + var emptycontributors_qsPUZMo = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); + qsPUZMo(emptycontributors_qsPUZMo); - var add_license_oPksIyQ = jQuery("#jform_add_license input[type='radio']:checked").val(); - oPksIyQ(add_license_oPksIyQ); + var add_license_kqngNhM = jQuery("#jform_add_license input[type='radio']:checked").val(); + kqngNhM(add_license_kqngNhM); - var add_admin_event_yxemPfy = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); - yxemPfy(add_admin_event_yxemPfy); + var add_admin_event_ldWlGLF = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); + ldWlGLF(add_admin_event_ldWlGLF); - var add_site_event_wSmOGAl = jQuery("#jform_add_site_event input[type='radio']:checked").val(); - wSmOGAl(add_site_event_wSmOGAl); + var add_site_event_UsUHGhz = jQuery("#jform_add_site_event input[type='radio']:checked").val(); + UsUHGhz(add_site_event_UsUHGhz); - var addreadme_aTTjkCB = jQuery("#jform_addreadme input[type='radio']:checked").val(); - aTTjkCB(addreadme_aTTjkCB); + var addreadme_Pwrgvhl = jQuery("#jform_addreadme input[type='radio']:checked").val(); + Pwrgvhl(addreadme_Pwrgvhl); - var add_license_YBYdUNk = jQuery("#jform_add_license input[type='radio']:checked").val(); - YBYdUNk(add_license_YBYdUNk); + var add_license_FosHHdm = jQuery("#jform_add_license input[type='radio']:checked").val(); + FosHHdm(add_license_FosHHdm); - var add_php_dashboard_methods_mCTxZME = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); - mCTxZME(add_php_dashboard_methods_mCTxZME); + var add_php_dashboard_methods_fUDxPQl = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); + fUDxPQl(add_php_dashboard_methods_fUDxPQl); }); -// the TrtGyXE function -function TrtGyXE(add_php_helper_admin_TrtGyXE) +// the smGPrVG function +function smGPrVG(add_php_helper_admin_smGPrVG) { // set the function logic - if (add_php_helper_admin_TrtGyXE == 1) + if (add_php_helper_admin_smGPrVG == 1) { jQuery('#jform_php_helper_admin').closest('.control-group').show(); - if (jform_TrtGyXEwzJ_required) + if (jform_smGPrVGWEh_required) { updateFieldRequired('php_helper_admin',0); jQuery('#jform_php_helper_admin').prop('required','required'); jQuery('#jform_php_helper_admin').attr('aria-required',true); jQuery('#jform_php_helper_admin').addClass('required'); - jform_TrtGyXEwzJ_required = false; + jform_smGPrVGWEh_required = false; } } else { jQuery('#jform_php_helper_admin').closest('.control-group').hide(); - if (!jform_TrtGyXEwzJ_required) + if (!jform_smGPrVGWEh_required) { updateFieldRequired('php_helper_admin',1); jQuery('#jform_php_helper_admin').removeAttr('required'); jQuery('#jform_php_helper_admin').removeAttr('aria-required'); jQuery('#jform_php_helper_admin').removeClass('required'); - jform_TrtGyXEwzJ_required = true; + jform_smGPrVGWEh_required = true; } } } -// the glKLttx function -function glKLttx(add_php_helper_site_glKLttx) +// the LhFLVtj function +function LhFLVtj(add_php_helper_site_LhFLVtj) { // set the function logic - if (add_php_helper_site_glKLttx == 1) + if (add_php_helper_site_LhFLVtj == 1) { jQuery('#jform_php_helper_site').closest('.control-group').show(); - if (jform_glKLttxZlX_required) + if (jform_LhFLVtjxYX_required) { updateFieldRequired('php_helper_site',0); jQuery('#jform_php_helper_site').prop('required','required'); jQuery('#jform_php_helper_site').attr('aria-required',true); jQuery('#jform_php_helper_site').addClass('required'); - jform_glKLttxZlX_required = false; + jform_LhFLVtjxYX_required = false; } } else { jQuery('#jform_php_helper_site').closest('.control-group').hide(); - if (!jform_glKLttxZlX_required) + if (!jform_LhFLVtjxYX_required) { updateFieldRequired('php_helper_site',1); jQuery('#jform_php_helper_site').removeAttr('required'); jQuery('#jform_php_helper_site').removeAttr('aria-required'); jQuery('#jform_php_helper_site').removeClass('required'); - jform_glKLttxZlX_required = true; + jform_LhFLVtjxYX_required = true; } } } -// the UoyMAge function -function UoyMAge(add_css_UoyMAge) +// the DRykWOm function +function DRykWOm(add_css_DRykWOm) { // set the function logic - if (add_css_UoyMAge == 1) + if (add_css_DRykWOm == 1) { jQuery('#jform_css').closest('.control-group').show(); - if (jform_UoyMAgexhJ_required) + if (jform_DRykWOmcva_required) { updateFieldRequired('css',0); jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').addClass('required'); - jform_UoyMAgexhJ_required = false; + jform_DRykWOmcva_required = false; } } else { jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_UoyMAgexhJ_required) + if (!jform_DRykWOmcva_required) { updateFieldRequired('css',1); jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeClass('required'); - jform_UoyMAgexhJ_required = true; + jform_DRykWOmcva_required = true; } } } -// the uafUHLS function -function uafUHLS(add_sql_uafUHLS) +// the HKmgEMc function +function HKmgEMc(add_sql_HKmgEMc) { // set the function logic - if (add_sql_uafUHLS == 1) + if (add_sql_HKmgEMc == 1) { jQuery('#jform_sql').closest('.control-group').show(); - if (jform_uafUHLSfnl_required) + if (jform_HKmgEMceCH_required) { updateFieldRequired('sql',0); jQuery('#jform_sql').prop('required','required'); jQuery('#jform_sql').attr('aria-required',true); jQuery('#jform_sql').addClass('required'); - jform_uafUHLSfnl_required = false; + jform_HKmgEMceCH_required = false; } } else { jQuery('#jform_sql').closest('.control-group').hide(); - if (!jform_uafUHLSfnl_required) + if (!jform_HKmgEMceCH_required) { updateFieldRequired('sql',1); jQuery('#jform_sql').removeAttr('required'); jQuery('#jform_sql').removeAttr('aria-required'); jQuery('#jform_sql').removeClass('required'); - jform_uafUHLSfnl_required = true; + jform_HKmgEMceCH_required = true; } } } -// the JsDwYRW function -function JsDwYRW(emptycontributors_JsDwYRW) +// the qsPUZMo function +function qsPUZMo(emptycontributors_qsPUZMo) { // set the function logic - if (emptycontributors_JsDwYRW == 1) + if (emptycontributors_qsPUZMo == 1) { jQuery('#jform_number').closest('.control-group').show(); } @@ -209,114 +209,114 @@ function JsDwYRW(emptycontributors_JsDwYRW) } } -// the oPksIyQ function -function oPksIyQ(add_license_oPksIyQ) +// the kqngNhM function +function kqngNhM(add_license_kqngNhM) { // set the function logic - if (add_license_oPksIyQ == 1) + if (add_license_kqngNhM == 1) { jQuery('#jform_license_type').closest('.control-group').show(); - if (jform_oPksIyQAZW_required) + if (jform_kqngNhMYcv_required) { updateFieldRequired('license_type',0); jQuery('#jform_license_type').prop('required','required'); jQuery('#jform_license_type').attr('aria-required',true); jQuery('#jform_license_type').addClass('required'); - jform_oPksIyQAZW_required = false; + jform_kqngNhMYcv_required = false; } } else { jQuery('#jform_license_type').closest('.control-group').hide(); - if (!jform_oPksIyQAZW_required) + if (!jform_kqngNhMYcv_required) { updateFieldRequired('license_type',1); jQuery('#jform_license_type').removeAttr('required'); jQuery('#jform_license_type').removeAttr('aria-required'); jQuery('#jform_license_type').removeClass('required'); - jform_oPksIyQAZW_required = true; + jform_kqngNhMYcv_required = true; } } } -// the yxemPfy function -function yxemPfy(add_admin_event_yxemPfy) +// the ldWlGLF function +function ldWlGLF(add_admin_event_ldWlGLF) { // set the function logic - if (add_admin_event_yxemPfy == 1) + if (add_admin_event_ldWlGLF == 1) { jQuery('#jform_php_admin_event').closest('.control-group').show(); - if (jform_yxemPfyLHd_required) + if (jform_ldWlGLFRjl_required) { updateFieldRequired('php_admin_event',0); jQuery('#jform_php_admin_event').prop('required','required'); jQuery('#jform_php_admin_event').attr('aria-required',true); jQuery('#jform_php_admin_event').addClass('required'); - jform_yxemPfyLHd_required = false; + jform_ldWlGLFRjl_required = false; } } else { jQuery('#jform_php_admin_event').closest('.control-group').hide(); - if (!jform_yxemPfyLHd_required) + if (!jform_ldWlGLFRjl_required) { updateFieldRequired('php_admin_event',1); jQuery('#jform_php_admin_event').removeAttr('required'); jQuery('#jform_php_admin_event').removeAttr('aria-required'); jQuery('#jform_php_admin_event').removeClass('required'); - jform_yxemPfyLHd_required = true; + jform_ldWlGLFRjl_required = true; } } } -// the wSmOGAl function -function wSmOGAl(add_site_event_wSmOGAl) +// the UsUHGhz function +function UsUHGhz(add_site_event_UsUHGhz) { // set the function logic - if (add_site_event_wSmOGAl == 1) + if (add_site_event_UsUHGhz == 1) { jQuery('#jform_php_site_event').closest('.control-group').show(); - if (jform_wSmOGAlfGf_required) + if (jform_UsUHGhzCjf_required) { updateFieldRequired('php_site_event',0); jQuery('#jform_php_site_event').prop('required','required'); jQuery('#jform_php_site_event').attr('aria-required',true); jQuery('#jform_php_site_event').addClass('required'); - jform_wSmOGAlfGf_required = false; + jform_UsUHGhzCjf_required = false; } } else { jQuery('#jform_php_site_event').closest('.control-group').hide(); - if (!jform_wSmOGAlfGf_required) + if (!jform_UsUHGhzCjf_required) { updateFieldRequired('php_site_event',1); jQuery('#jform_php_site_event').removeAttr('required'); jQuery('#jform_php_site_event').removeAttr('aria-required'); jQuery('#jform_php_site_event').removeClass('required'); - jform_wSmOGAlfGf_required = true; + jform_UsUHGhzCjf_required = true; } } } -// the aTTjkCB function -function aTTjkCB(addreadme_aTTjkCB) +// the Pwrgvhl function +function Pwrgvhl(addreadme_Pwrgvhl) { // set the function logic - if (addreadme_aTTjkCB == 1) + if (addreadme_Pwrgvhl == 1) { jQuery('.note_readme').closest('.control-group').show(); jQuery('#jform_readme-lbl').closest('.control-group').show(); - if (jform_aTTjkCBbeB_required) + if (jform_Pwrgvhlnft_required) { updateFieldRequired('readme',0); jQuery('#jform_readme').prop('required','required'); jQuery('#jform_readme').attr('aria-required',true); jQuery('#jform_readme').addClass('required'); - jform_aTTjkCBbeB_required = false; + jform_Pwrgvhlnft_required = false; } } @@ -324,22 +324,22 @@ function aTTjkCB(addreadme_aTTjkCB) { jQuery('.note_readme').closest('.control-group').hide(); jQuery('#jform_readme-lbl').closest('.control-group').hide(); - if (!jform_aTTjkCBbeB_required) + if (!jform_Pwrgvhlnft_required) { updateFieldRequired('readme',1); jQuery('#jform_readme').removeAttr('required'); jQuery('#jform_readme').removeAttr('aria-required'); jQuery('#jform_readme').removeClass('required'); - jform_aTTjkCBbeB_required = true; + jform_Pwrgvhlnft_required = true; } } } -// the YBYdUNk function -function YBYdUNk(add_license_YBYdUNk) +// the FosHHdm function +function FosHHdm(add_license_FosHHdm) { // set the function logic - if (add_license_YBYdUNk == 1) + if (add_license_FosHHdm == 1) { jQuery('.note_whmcs_lisencing_note').closest('.control-group').show(); jQuery('#jform_whmcs_key').closest('.control-group').show(); @@ -353,21 +353,21 @@ function YBYdUNk(add_license_YBYdUNk) } } -// the mCTxZME function -function mCTxZME(add_php_dashboard_methods_mCTxZME) +// the fUDxPQl function +function fUDxPQl(add_php_dashboard_methods_fUDxPQl) { // set the function logic - if (add_php_dashboard_methods_mCTxZME == 1) + if (add_php_dashboard_methods_fUDxPQl == 1) { jQuery('#jform_dashboard_tab').closest('.control-group').show(); jQuery('#jform_php_dashboard_methods').closest('.control-group').show(); - if (jform_mCTxZMEOml_required) + if (jform_fUDxPQlppz_required) { updateFieldRequired('php_dashboard_methods',0); jQuery('#jform_php_dashboard_methods').prop('required','required'); jQuery('#jform_php_dashboard_methods').attr('aria-required',true); jQuery('#jform_php_dashboard_methods').addClass('required'); - jform_mCTxZMEOml_required = false; + jform_fUDxPQlppz_required = false; } } @@ -375,13 +375,13 @@ function mCTxZME(add_php_dashboard_methods_mCTxZME) { jQuery('#jform_dashboard_tab').closest('.control-group').hide(); jQuery('#jform_php_dashboard_methods').closest('.control-group').hide(); - if (!jform_mCTxZMEOml_required) + if (!jform_fUDxPQlppz_required) { updateFieldRequired('php_dashboard_methods',1); jQuery('#jform_php_dashboard_methods').removeAttr('required'); jQuery('#jform_php_dashboard_methods').removeAttr('aria-required'); jQuery('#jform_php_dashboard_methods').removeClass('required'); - jform_mCTxZMEOml_required = true; + jform_fUDxPQlppz_required = true; } } } diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js index 45043dd0d..1e4bc17bf 100644 --- a/admin/models/forms/custom_admin_view.js +++ b/admin/models/forms/custom_admin_view.js @@ -24,255 +24,255 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_ldbeyRbQxt_required = false; -jform_svkpzdEcrf_required = false; -jform_SkIGNjPKmb_required = false; -jform_GFeMJKxKCU_required = false; -jform_XTskhYlKbJ_required = false; -jform_NURvCyFlkY_required = false; -jform_mRxzGidgQy_required = false; -jform_mRxzGidaJt_required = false; -jform_sUzyhnzNZu_required = false; +jform_EGQllEpqft_required = false; +jform_waMXqfvlQE_required = false; +jform_IcKqGQIYGl_required = false; +jform_zoVwujURza_required = false; +jform_pPaWJrbjKQ_required = false; +jform_JlUwwuslsT_required = false; +jform_CZdqoEyopY_required = false; +jform_CZdqoEyoAO_required = false; +jform_pEDEzHrrux_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_ldbeyRb = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - ldbeyRb(add_php_view_ldbeyRb); + var add_php_view_EGQllEp = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + EGQllEp(add_php_view_EGQllEp); - var add_php_jview_display_svkpzdE = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - svkpzdE(add_php_jview_display_svkpzdE); + var add_php_jview_display_waMXqfv = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + waMXqfv(add_php_jview_display_waMXqfv); - var add_php_jview_SkIGNjP = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - SkIGNjP(add_php_jview_SkIGNjP); + var add_php_jview_IcKqGQI = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + IcKqGQI(add_php_jview_IcKqGQI); - var add_php_document_GFeMJKx = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - GFeMJKx(add_php_document_GFeMJKx); + var add_php_document_zoVwujU = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + zoVwujU(add_php_document_zoVwujU); - var add_css_document_XTskhYl = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - XTskhYl(add_css_document_XTskhYl); + var add_css_document_pPaWJrb = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + pPaWJrb(add_css_document_pPaWJrb); - var add_js_document_NURvCyF = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - NURvCyF(add_js_document_NURvCyF); + var add_js_document_JlUwwus = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + JlUwwus(add_js_document_JlUwwus); - var add_custom_button_mRxzGid = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - mRxzGid(add_custom_button_mRxzGid); + var add_custom_button_CZdqoEy = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + CZdqoEy(add_custom_button_CZdqoEy); - var add_css_sUzyhnz = jQuery("#jform_add_css input[type='radio']:checked").val(); - sUzyhnz(add_css_sUzyhnz); + var add_css_pEDEzHr = jQuery("#jform_add_css input[type='radio']:checked").val(); + pEDEzHr(add_css_pEDEzHr); }); -// the ldbeyRb function -function ldbeyRb(add_php_view_ldbeyRb) +// the EGQllEp function +function EGQllEp(add_php_view_EGQllEp) { // set the function logic - if (add_php_view_ldbeyRb == 1) + if (add_php_view_EGQllEp == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_ldbeyRbQxt_required) + if (jform_EGQllEpqft_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_ldbeyRbQxt_required = false; + jform_EGQllEpqft_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_ldbeyRbQxt_required) + if (!jform_EGQllEpqft_required) { updateFieldRequired('php_view',1); jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeClass('required'); - jform_ldbeyRbQxt_required = true; + jform_EGQllEpqft_required = true; } } } -// the svkpzdE function -function svkpzdE(add_php_jview_display_svkpzdE) +// the waMXqfv function +function waMXqfv(add_php_jview_display_waMXqfv) { // set the function logic - if (add_php_jview_display_svkpzdE == 1) + if (add_php_jview_display_waMXqfv == 1) { jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_svkpzdEcrf_required) + if (jform_waMXqfvlQE_required) { updateFieldRequired('php_jview_display',0); jQuery('#jform_php_jview_display').prop('required','required'); jQuery('#jform_php_jview_display').attr('aria-required',true); jQuery('#jform_php_jview_display').addClass('required'); - jform_svkpzdEcrf_required = false; + jform_waMXqfvlQE_required = false; } } else { jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_svkpzdEcrf_required) + if (!jform_waMXqfvlQE_required) { updateFieldRequired('php_jview_display',1); jQuery('#jform_php_jview_display').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeClass('required'); - jform_svkpzdEcrf_required = true; + jform_waMXqfvlQE_required = true; } } } -// the SkIGNjP function -function SkIGNjP(add_php_jview_SkIGNjP) +// the IcKqGQI function +function IcKqGQI(add_php_jview_IcKqGQI) { // set the function logic - if (add_php_jview_SkIGNjP == 1) + if (add_php_jview_IcKqGQI == 1) { jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_SkIGNjPKmb_required) + if (jform_IcKqGQIYGl_required) { updateFieldRequired('php_jview',0); jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview').addClass('required'); - jform_SkIGNjPKmb_required = false; + jform_IcKqGQIYGl_required = false; } } else { jQuery('#jform_php_jview').closest('.control-group').hide(); - if (!jform_SkIGNjPKmb_required) + if (!jform_IcKqGQIYGl_required) { updateFieldRequired('php_jview',1); jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview').removeClass('required'); - jform_SkIGNjPKmb_required = true; + jform_IcKqGQIYGl_required = true; } } } -// the GFeMJKx function -function GFeMJKx(add_php_document_GFeMJKx) +// the zoVwujU function +function zoVwujU(add_php_document_zoVwujU) { // set the function logic - if (add_php_document_GFeMJKx == 1) + if (add_php_document_zoVwujU == 1) { jQuery('#jform_php_document').closest('.control-group').show(); - if (jform_GFeMJKxKCU_required) + if (jform_zoVwujURza_required) { updateFieldRequired('php_document',0); jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_document').addClass('required'); - jform_GFeMJKxKCU_required = false; + jform_zoVwujURza_required = false; } } else { jQuery('#jform_php_document').closest('.control-group').hide(); - if (!jform_GFeMJKxKCU_required) + if (!jform_zoVwujURza_required) { updateFieldRequired('php_document',1); jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeClass('required'); - jform_GFeMJKxKCU_required = true; + jform_zoVwujURza_required = true; } } } -// the XTskhYl function -function XTskhYl(add_css_document_XTskhYl) +// the pPaWJrb function +function pPaWJrb(add_css_document_pPaWJrb) { // set the function logic - if (add_css_document_XTskhYl == 1) + if (add_css_document_pPaWJrb == 1) { jQuery('#jform_css_document').closest('.control-group').show(); - if (jform_XTskhYlKbJ_required) + if (jform_pPaWJrbjKQ_required) { updateFieldRequired('css_document',0); jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_css_document').addClass('required'); - jform_XTskhYlKbJ_required = false; + jform_pPaWJrbjKQ_required = false; } } else { jQuery('#jform_css_document').closest('.control-group').hide(); - if (!jform_XTskhYlKbJ_required) + if (!jform_pPaWJrbjKQ_required) { updateFieldRequired('css_document',1); jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeClass('required'); - jform_XTskhYlKbJ_required = true; + jform_pPaWJrbjKQ_required = true; } } } -// the NURvCyF function -function NURvCyF(add_js_document_NURvCyF) +// the JlUwwus function +function JlUwwus(add_js_document_JlUwwus) { // set the function logic - if (add_js_document_NURvCyF == 1) + if (add_js_document_JlUwwus == 1) { jQuery('#jform_js_document').closest('.control-group').show(); - if (jform_NURvCyFlkY_required) + if (jform_JlUwwuslsT_required) { updateFieldRequired('js_document',0); jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_js_document').addClass('required'); - jform_NURvCyFlkY_required = false; + jform_JlUwwuslsT_required = false; } } else { jQuery('#jform_js_document').closest('.control-group').hide(); - if (!jform_NURvCyFlkY_required) + if (!jform_JlUwwuslsT_required) { updateFieldRequired('js_document',1); jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_js_document').removeClass('required'); - jform_NURvCyFlkY_required = true; + jform_JlUwwuslsT_required = true; } } } -// the mRxzGid function -function mRxzGid(add_custom_button_mRxzGid) +// the CZdqoEy function +function CZdqoEy(add_custom_button_CZdqoEy) { // set the function logic - if (add_custom_button_mRxzGid == 1) + if (add_custom_button_CZdqoEy == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_mRxzGidgQy_required) + if (jform_CZdqoEyopY_required) { updateFieldRequired('php_controller',0); jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').addClass('required'); - jform_mRxzGidgQy_required = false; + jform_CZdqoEyopY_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_mRxzGidaJt_required) + if (jform_CZdqoEyoAO_required) { updateFieldRequired('php_model',0); jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').addClass('required'); - jform_mRxzGidaJt_required = false; + jform_CZdqoEyoAO_required = false; } } @@ -280,53 +280,53 @@ function mRxzGid(add_custom_button_mRxzGid) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_mRxzGidgQy_required) + if (!jform_CZdqoEyopY_required) { updateFieldRequired('php_controller',1); jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeClass('required'); - jform_mRxzGidgQy_required = true; + jform_CZdqoEyopY_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_mRxzGidaJt_required) + if (!jform_CZdqoEyoAO_required) { updateFieldRequired('php_model',1); jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeClass('required'); - jform_mRxzGidaJt_required = true; + jform_CZdqoEyoAO_required = true; } } } -// the sUzyhnz function -function sUzyhnz(add_css_sUzyhnz) +// the pEDEzHr function +function pEDEzHr(add_css_pEDEzHr) { // set the function logic - if (add_css_sUzyhnz == 1) + if (add_css_pEDEzHr == 1) { jQuery('#jform_css').closest('.control-group').show(); - if (jform_sUzyhnzNZu_required) + if (jform_pEDEzHrrux_required) { updateFieldRequired('css',0); jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').addClass('required'); - jform_sUzyhnzNZu_required = false; + jform_pEDEzHrrux_required = false; } } else { jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_sUzyhnzNZu_required) + if (!jform_pEDEzHrrux_required) { updateFieldRequired('css',1); jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeClass('required'); - jform_sUzyhnzNZu_required = true; + jform_pEDEzHrrux_required = true; } } } diff --git a/admin/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js index cd00b77ca..8df06759f 100644 --- a/admin/models/forms/dynamic_get.js +++ b/admin/models/forms/dynamic_get.js @@ -24,422 +24,422 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_kMOrrziZUi_required = false; -jform_rzqACdNVBb_required = false; -jform_mVMUMnJtlU_required = false; -jform_IBBCRTcbUX_required = false; -jform_ihwGAYEqUl_required = false; -jform_sjihbTtOsz_required = false; -jform_PTyAUzGqtR_required = false; -jform_cOupVhVAjI_required = false; -jform_gkhfYbErVj_required = false; -jform_GqMVAulNwz_required = false; -jform_GqMVAulMPH_required = false; -jform_mVOBZIDJfr_required = false; -jform_PoGBgSsRAP_required = false; -jform_wpkYIZnaGg_required = false; -jform_WIkoAtaVxU_required = false; -jform_WIkoAtasum_required = false; -jform_WIkoAtadRL_required = false; -jform_sSlmiqZpRY_required = false; +jform_eXrZeKdLiq_required = false; +jform_quYDAguRpt_required = false; +jform_GrCCmCESeF_required = false; +jform_hiCxhMkprp_required = false; +jform_CFRAjyMDkf_required = false; +jform_WNxzsEbXCg_required = false; +jform_lpwUTLgZje_required = false; +jform_nExSoDCYyK_required = false; +jform_iHxqXNJQJz_required = false; +jform_UJUsWyNOVr_required = false; +jform_UJUsWyNtRL_required = false; +jform_iawMqnCehe_required = false; +jform_xeNggFHIAt_required = false; +jform_DZqePcXcvR_required = false; +jform_QnEXSEGWPo_required = false; +jform_QnEXSEGxqW_required = false; +jform_QnEXSEGQTW_required = false; +jform_fXMiVKBHvq_required = false; // Initial Script jQuery(document).ready(function() { - var gettype_kMOrrzi = jQuery("#jform_gettype").val(); - kMOrrzi(gettype_kMOrrzi); + var gettype_eXrZeKd = jQuery("#jform_gettype").val(); + eXrZeKd(gettype_eXrZeKd); - var main_source_rzqACdN = jQuery("#jform_main_source").val(); - rzqACdN(main_source_rzqACdN); + var main_source_quYDAgu = jQuery("#jform_main_source").val(); + quYDAgu(main_source_quYDAgu); - var main_source_mVMUMnJ = jQuery("#jform_main_source").val(); - mVMUMnJ(main_source_mVMUMnJ); + var main_source_GrCCmCE = jQuery("#jform_main_source").val(); + GrCCmCE(main_source_GrCCmCE); - var main_source_IBBCRTc = jQuery("#jform_main_source").val(); - IBBCRTc(main_source_IBBCRTc); + var main_source_hiCxhMk = jQuery("#jform_main_source").val(); + hiCxhMk(main_source_hiCxhMk); - var main_source_ihwGAYE = jQuery("#jform_main_source").val(); - ihwGAYE(main_source_ihwGAYE); + var main_source_CFRAjyM = jQuery("#jform_main_source").val(); + CFRAjyM(main_source_CFRAjyM); - var addcalculation_sjihbTt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - sjihbTt(addcalculation_sjihbTt); + var addcalculation_WNxzsEb = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + WNxzsEb(addcalculation_WNxzsEb); - var addcalculation_EaalDSf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EaalDSf = jQuery("#jform_gettype").val(); - EaalDSf(addcalculation_EaalDSf,gettype_EaalDSf); + var addcalculation_CItlivX = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_CItlivX = jQuery("#jform_gettype").val(); + CItlivX(addcalculation_CItlivX,gettype_CItlivX); - var addcalculation_EVaCfhZ = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EVaCfhZ = jQuery("#jform_gettype").val(); - EVaCfhZ(addcalculation_EVaCfhZ,gettype_EVaCfhZ); + var addcalculation_tJpGpbD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_tJpGpbD = jQuery("#jform_gettype").val(); + tJpGpbD(addcalculation_tJpGpbD,gettype_tJpGpbD); - var main_source_PTyAUzG = jQuery("#jform_main_source").val(); - PTyAUzG(main_source_PTyAUzG); + var main_source_lpwUTLg = jQuery("#jform_main_source").val(); + lpwUTLg(main_source_lpwUTLg); - var main_source_TuRxzZw = jQuery("#jform_main_source").val(); - TuRxzZw(main_source_TuRxzZw); + var main_source_nTtZlBv = jQuery("#jform_main_source").val(); + nTtZlBv(main_source_nTtZlBv); - var add_php_before_getitem_cOupVhV = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_cOupVhV = jQuery("#jform_gettype").val(); - cOupVhV(add_php_before_getitem_cOupVhV,gettype_cOupVhV); + var add_php_before_getitem_nExSoDC = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_nExSoDC = jQuery("#jform_gettype").val(); + nExSoDC(add_php_before_getitem_nExSoDC,gettype_nExSoDC); - var add_php_after_getitem_gkhfYbE = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_gkhfYbE = jQuery("#jform_gettype").val(); - gkhfYbE(add_php_after_getitem_gkhfYbE,gettype_gkhfYbE); + var add_php_after_getitem_iHxqXNJ = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_iHxqXNJ = jQuery("#jform_gettype").val(); + iHxqXNJ(add_php_after_getitem_iHxqXNJ,gettype_iHxqXNJ); - var gettype_GqMVAul = jQuery("#jform_gettype").val(); - GqMVAul(gettype_GqMVAul); + var gettype_UJUsWyN = jQuery("#jform_gettype").val(); + UJUsWyN(gettype_UJUsWyN); - var add_php_getlistquery_mVOBZID = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_mVOBZID = jQuery("#jform_gettype").val(); - mVOBZID(add_php_getlistquery_mVOBZID,gettype_mVOBZID); + var add_php_getlistquery_iawMqnC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_iawMqnC = jQuery("#jform_gettype").val(); + iawMqnC(add_php_getlistquery_iawMqnC,gettype_iawMqnC); - var add_php_before_getitems_PoGBgSs = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_PoGBgSs = jQuery("#jform_gettype").val(); - PoGBgSs(add_php_before_getitems_PoGBgSs,gettype_PoGBgSs); + var add_php_before_getitems_xeNggFH = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_xeNggFH = jQuery("#jform_gettype").val(); + xeNggFH(add_php_before_getitems_xeNggFH,gettype_xeNggFH); - var add_php_after_getitems_wpkYIZn = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_wpkYIZn = jQuery("#jform_gettype").val(); - wpkYIZn(add_php_after_getitems_wpkYIZn,gettype_wpkYIZn); + var add_php_after_getitems_DZqePcX = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_DZqePcX = jQuery("#jform_gettype").val(); + DZqePcX(add_php_after_getitems_DZqePcX,gettype_DZqePcX); - var gettype_WIkoAta = jQuery("#jform_gettype").val(); - WIkoAta(gettype_WIkoAta); + var gettype_QnEXSEG = jQuery("#jform_gettype").val(); + QnEXSEG(gettype_QnEXSEG); - var gettype_sSlmiqZ = jQuery("#jform_gettype").val(); - sSlmiqZ(gettype_sSlmiqZ); + var gettype_fXMiVKB = jQuery("#jform_gettype").val(); + fXMiVKB(gettype_fXMiVKB); }); -// the kMOrrzi function -function kMOrrzi(gettype_kMOrrzi) +// the eXrZeKd function +function eXrZeKd(gettype_eXrZeKd) { - if (isSet(gettype_kMOrrzi) && gettype_kMOrrzi.constructor !== Array) + if (isSet(gettype_eXrZeKd) && gettype_eXrZeKd.constructor !== Array) { - var temp_kMOrrzi = gettype_kMOrrzi; - var gettype_kMOrrzi = []; - gettype_kMOrrzi.push(temp_kMOrrzi); + var temp_eXrZeKd = gettype_eXrZeKd; + var gettype_eXrZeKd = []; + gettype_eXrZeKd.push(temp_eXrZeKd); } - else if (!isSet(gettype_kMOrrzi)) + else if (!isSet(gettype_eXrZeKd)) { - var gettype_kMOrrzi = []; + var gettype_eXrZeKd = []; } - var gettype = gettype_kMOrrzi.some(gettype_kMOrrzi_SomeFunc); + var gettype = gettype_eXrZeKd.some(gettype_eXrZeKd_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_getcustom').closest('.control-group').show(); - if (jform_kMOrrziZUi_required) + if (jform_eXrZeKdLiq_required) { updateFieldRequired('getcustom',0); jQuery('#jform_getcustom').prop('required','required'); jQuery('#jform_getcustom').attr('aria-required',true); jQuery('#jform_getcustom').addClass('required'); - jform_kMOrrziZUi_required = false; + jform_eXrZeKdLiq_required = false; } } else { jQuery('#jform_getcustom').closest('.control-group').hide(); - if (!jform_kMOrrziZUi_required) + if (!jform_eXrZeKdLiq_required) { updateFieldRequired('getcustom',1); jQuery('#jform_getcustom').removeAttr('required'); jQuery('#jform_getcustom').removeAttr('aria-required'); jQuery('#jform_getcustom').removeClass('required'); - jform_kMOrrziZUi_required = true; + jform_eXrZeKdLiq_required = true; } } } -// the kMOrrzi Some function -function gettype_kMOrrzi_SomeFunc(gettype_kMOrrzi) +// the eXrZeKd Some function +function gettype_eXrZeKd_SomeFunc(gettype_eXrZeKd) { // set the function logic - if (gettype_kMOrrzi == 3 || gettype_kMOrrzi == 4) + if (gettype_eXrZeKd == 3 || gettype_eXrZeKd == 4) { return true; } return false; } -// the rzqACdN function -function rzqACdN(main_source_rzqACdN) +// the quYDAgu function +function quYDAgu(main_source_quYDAgu) { - if (isSet(main_source_rzqACdN) && main_source_rzqACdN.constructor !== Array) + if (isSet(main_source_quYDAgu) && main_source_quYDAgu.constructor !== Array) { - var temp_rzqACdN = main_source_rzqACdN; - var main_source_rzqACdN = []; - main_source_rzqACdN.push(temp_rzqACdN); + var temp_quYDAgu = main_source_quYDAgu; + var main_source_quYDAgu = []; + main_source_quYDAgu.push(temp_quYDAgu); } - else if (!isSet(main_source_rzqACdN)) + else if (!isSet(main_source_quYDAgu)) { - var main_source_rzqACdN = []; + var main_source_quYDAgu = []; } - var main_source = main_source_rzqACdN.some(main_source_rzqACdN_SomeFunc); + var main_source = main_source_quYDAgu.some(main_source_quYDAgu_SomeFunc); // set this function logic if (main_source) { jQuery('#jform_view_table_main').closest('.control-group').show(); - if (jform_rzqACdNVBb_required) + if (jform_quYDAguRpt_required) { updateFieldRequired('view_table_main',0); jQuery('#jform_view_table_main').prop('required','required'); jQuery('#jform_view_table_main').attr('aria-required',true); jQuery('#jform_view_table_main').addClass('required'); - jform_rzqACdNVBb_required = false; + jform_quYDAguRpt_required = false; } } else { jQuery('#jform_view_table_main').closest('.control-group').hide(); - if (!jform_rzqACdNVBb_required) + if (!jform_quYDAguRpt_required) { updateFieldRequired('view_table_main',1); jQuery('#jform_view_table_main').removeAttr('required'); jQuery('#jform_view_table_main').removeAttr('aria-required'); jQuery('#jform_view_table_main').removeClass('required'); - jform_rzqACdNVBb_required = true; + jform_quYDAguRpt_required = true; } } } -// the rzqACdN Some function -function main_source_rzqACdN_SomeFunc(main_source_rzqACdN) +// the quYDAgu Some function +function main_source_quYDAgu_SomeFunc(main_source_quYDAgu) { // set the function logic - if (main_source_rzqACdN == 1) + if (main_source_quYDAgu == 1) { return true; } return false; } -// the mVMUMnJ function -function mVMUMnJ(main_source_mVMUMnJ) +// the GrCCmCE function +function GrCCmCE(main_source_GrCCmCE) { - if (isSet(main_source_mVMUMnJ) && main_source_mVMUMnJ.constructor !== Array) + if (isSet(main_source_GrCCmCE) && main_source_GrCCmCE.constructor !== Array) { - var temp_mVMUMnJ = main_source_mVMUMnJ; - var main_source_mVMUMnJ = []; - main_source_mVMUMnJ.push(temp_mVMUMnJ); + var temp_GrCCmCE = main_source_GrCCmCE; + var main_source_GrCCmCE = []; + main_source_GrCCmCE.push(temp_GrCCmCE); } - else if (!isSet(main_source_mVMUMnJ)) + else if (!isSet(main_source_GrCCmCE)) { - var main_source_mVMUMnJ = []; + var main_source_GrCCmCE = []; } - var main_source = main_source_mVMUMnJ.some(main_source_mVMUMnJ_SomeFunc); + var main_source = main_source_GrCCmCE.some(main_source_GrCCmCE_SomeFunc); // set this function logic if (main_source) { jQuery('#jform_view_selection').closest('.control-group').show(); - if (jform_mVMUMnJtlU_required) + if (jform_GrCCmCESeF_required) { updateFieldRequired('view_selection',0); jQuery('#jform_view_selection').prop('required','required'); jQuery('#jform_view_selection').attr('aria-required',true); jQuery('#jform_view_selection').addClass('required'); - jform_mVMUMnJtlU_required = false; + jform_GrCCmCESeF_required = false; } } else { jQuery('#jform_view_selection').closest('.control-group').hide(); - if (!jform_mVMUMnJtlU_required) + if (!jform_GrCCmCESeF_required) { updateFieldRequired('view_selection',1); jQuery('#jform_view_selection').removeAttr('required'); jQuery('#jform_view_selection').removeAttr('aria-required'); jQuery('#jform_view_selection').removeClass('required'); - jform_mVMUMnJtlU_required = true; + jform_GrCCmCESeF_required = true; } } } -// the mVMUMnJ Some function -function main_source_mVMUMnJ_SomeFunc(main_source_mVMUMnJ) +// the GrCCmCE Some function +function main_source_GrCCmCE_SomeFunc(main_source_GrCCmCE) { // set the function logic - if (main_source_mVMUMnJ == 1) + if (main_source_GrCCmCE == 1) { return true; } return false; } -// the IBBCRTc function -function IBBCRTc(main_source_IBBCRTc) +// the hiCxhMk function +function hiCxhMk(main_source_hiCxhMk) { - if (isSet(main_source_IBBCRTc) && main_source_IBBCRTc.constructor !== Array) + if (isSet(main_source_hiCxhMk) && main_source_hiCxhMk.constructor !== Array) { - var temp_IBBCRTc = main_source_IBBCRTc; - var main_source_IBBCRTc = []; - main_source_IBBCRTc.push(temp_IBBCRTc); + var temp_hiCxhMk = main_source_hiCxhMk; + var main_source_hiCxhMk = []; + main_source_hiCxhMk.push(temp_hiCxhMk); } - else if (!isSet(main_source_IBBCRTc)) + else if (!isSet(main_source_hiCxhMk)) { - var main_source_IBBCRTc = []; + var main_source_hiCxhMk = []; } - var main_source = main_source_IBBCRTc.some(main_source_IBBCRTc_SomeFunc); + var main_source = main_source_hiCxhMk.some(main_source_hiCxhMk_SomeFunc); // set this function logic if (main_source) { jQuery('#jform_db_table_main').closest('.control-group').show(); - if (jform_IBBCRTcbUX_required) + if (jform_hiCxhMkprp_required) { updateFieldRequired('db_table_main',0); jQuery('#jform_db_table_main').prop('required','required'); jQuery('#jform_db_table_main').attr('aria-required',true); jQuery('#jform_db_table_main').addClass('required'); - jform_IBBCRTcbUX_required = false; + jform_hiCxhMkprp_required = false; } } else { jQuery('#jform_db_table_main').closest('.control-group').hide(); - if (!jform_IBBCRTcbUX_required) + if (!jform_hiCxhMkprp_required) { updateFieldRequired('db_table_main',1); jQuery('#jform_db_table_main').removeAttr('required'); jQuery('#jform_db_table_main').removeAttr('aria-required'); jQuery('#jform_db_table_main').removeClass('required'); - jform_IBBCRTcbUX_required = true; + jform_hiCxhMkprp_required = true; } } } -// the IBBCRTc Some function -function main_source_IBBCRTc_SomeFunc(main_source_IBBCRTc) +// the hiCxhMk Some function +function main_source_hiCxhMk_SomeFunc(main_source_hiCxhMk) { // set the function logic - if (main_source_IBBCRTc == 2) + if (main_source_hiCxhMk == 2) { return true; } return false; } -// the ihwGAYE function -function ihwGAYE(main_source_ihwGAYE) +// the CFRAjyM function +function CFRAjyM(main_source_CFRAjyM) { - if (isSet(main_source_ihwGAYE) && main_source_ihwGAYE.constructor !== Array) + if (isSet(main_source_CFRAjyM) && main_source_CFRAjyM.constructor !== Array) { - var temp_ihwGAYE = main_source_ihwGAYE; - var main_source_ihwGAYE = []; - main_source_ihwGAYE.push(temp_ihwGAYE); + var temp_CFRAjyM = main_source_CFRAjyM; + var main_source_CFRAjyM = []; + main_source_CFRAjyM.push(temp_CFRAjyM); } - else if (!isSet(main_source_ihwGAYE)) + else if (!isSet(main_source_CFRAjyM)) { - var main_source_ihwGAYE = []; + var main_source_CFRAjyM = []; } - var main_source = main_source_ihwGAYE.some(main_source_ihwGAYE_SomeFunc); + var main_source = main_source_CFRAjyM.some(main_source_CFRAjyM_SomeFunc); // set this function logic if (main_source) { jQuery('#jform_db_selection').closest('.control-group').show(); - if (jform_ihwGAYEqUl_required) + if (jform_CFRAjyMDkf_required) { updateFieldRequired('db_selection',0); jQuery('#jform_db_selection').prop('required','required'); jQuery('#jform_db_selection').attr('aria-required',true); jQuery('#jform_db_selection').addClass('required'); - jform_ihwGAYEqUl_required = false; + jform_CFRAjyMDkf_required = false; } } else { jQuery('#jform_db_selection').closest('.control-group').hide(); - if (!jform_ihwGAYEqUl_required) + if (!jform_CFRAjyMDkf_required) { updateFieldRequired('db_selection',1); jQuery('#jform_db_selection').removeAttr('required'); jQuery('#jform_db_selection').removeAttr('aria-required'); jQuery('#jform_db_selection').removeClass('required'); - jform_ihwGAYEqUl_required = true; + jform_CFRAjyMDkf_required = true; } } } -// the ihwGAYE Some function -function main_source_ihwGAYE_SomeFunc(main_source_ihwGAYE) +// the CFRAjyM Some function +function main_source_CFRAjyM_SomeFunc(main_source_CFRAjyM) { // set the function logic - if (main_source_ihwGAYE == 2) + if (main_source_CFRAjyM == 2) { return true; } return false; } -// the sjihbTt function -function sjihbTt(addcalculation_sjihbTt) +// the WNxzsEb function +function WNxzsEb(addcalculation_WNxzsEb) { // set the function logic - if (addcalculation_sjihbTt == 1) + if (addcalculation_WNxzsEb == 1) { jQuery('#jform_php_calculation').closest('.control-group').show(); - if (jform_sjihbTtOsz_required) + if (jform_WNxzsEbXCg_required) { updateFieldRequired('php_calculation',0); jQuery('#jform_php_calculation').prop('required','required'); jQuery('#jform_php_calculation').attr('aria-required',true); jQuery('#jform_php_calculation').addClass('required'); - jform_sjihbTtOsz_required = false; + jform_WNxzsEbXCg_required = false; } } else { jQuery('#jform_php_calculation').closest('.control-group').hide(); - if (!jform_sjihbTtOsz_required) + if (!jform_WNxzsEbXCg_required) { updateFieldRequired('php_calculation',1); jQuery('#jform_php_calculation').removeAttr('required'); jQuery('#jform_php_calculation').removeAttr('aria-required'); jQuery('#jform_php_calculation').removeClass('required'); - jform_sjihbTtOsz_required = true; + jform_WNxzsEbXCg_required = true; } } } -// the EaalDSf function -function EaalDSf(addcalculation_EaalDSf,gettype_EaalDSf) +// the CItlivX function +function CItlivX(addcalculation_CItlivX,gettype_CItlivX) { - if (isSet(addcalculation_EaalDSf) && addcalculation_EaalDSf.constructor !== Array) + if (isSet(addcalculation_CItlivX) && addcalculation_CItlivX.constructor !== Array) { - var temp_EaalDSf = addcalculation_EaalDSf; - var addcalculation_EaalDSf = []; - addcalculation_EaalDSf.push(temp_EaalDSf); + var temp_CItlivX = addcalculation_CItlivX; + var addcalculation_CItlivX = []; + addcalculation_CItlivX.push(temp_CItlivX); } - else if (!isSet(addcalculation_EaalDSf)) + else if (!isSet(addcalculation_CItlivX)) { - var addcalculation_EaalDSf = []; + var addcalculation_CItlivX = []; } - var addcalculation = addcalculation_EaalDSf.some(addcalculation_EaalDSf_SomeFunc); + var addcalculation = addcalculation_CItlivX.some(addcalculation_CItlivX_SomeFunc); - if (isSet(gettype_EaalDSf) && gettype_EaalDSf.constructor !== Array) + if (isSet(gettype_CItlivX) && gettype_CItlivX.constructor !== Array) { - var temp_EaalDSf = gettype_EaalDSf; - var gettype_EaalDSf = []; - gettype_EaalDSf.push(temp_EaalDSf); + var temp_CItlivX = gettype_CItlivX; + var gettype_CItlivX = []; + gettype_CItlivX.push(temp_CItlivX); } - else if (!isSet(gettype_EaalDSf)) + else if (!isSet(gettype_CItlivX)) { - var gettype_EaalDSf = []; + var gettype_CItlivX = []; } - var gettype = gettype_EaalDSf.some(gettype_EaalDSf_SomeFunc); + var gettype = gettype_CItlivX.some(gettype_CItlivX_SomeFunc); // set this function logic @@ -453,54 +453,54 @@ function EaalDSf(addcalculation_EaalDSf,gettype_EaalDSf) } } -// the EaalDSf Some function -function addcalculation_EaalDSf_SomeFunc(addcalculation_EaalDSf) +// the CItlivX Some function +function addcalculation_CItlivX_SomeFunc(addcalculation_CItlivX) { // set the function logic - if (addcalculation_EaalDSf == 1) + if (addcalculation_CItlivX == 1) { return true; } return false; } -// the EaalDSf Some function -function gettype_EaalDSf_SomeFunc(gettype_EaalDSf) +// the CItlivX Some function +function gettype_CItlivX_SomeFunc(gettype_CItlivX) { // set the function logic - if (gettype_EaalDSf == 1 || gettype_EaalDSf == 3) + if (gettype_CItlivX == 1 || gettype_CItlivX == 3) { return true; } return false; } -// the EVaCfhZ function -function EVaCfhZ(addcalculation_EVaCfhZ,gettype_EVaCfhZ) +// the tJpGpbD function +function tJpGpbD(addcalculation_tJpGpbD,gettype_tJpGpbD) { - if (isSet(addcalculation_EVaCfhZ) && addcalculation_EVaCfhZ.constructor !== Array) + if (isSet(addcalculation_tJpGpbD) && addcalculation_tJpGpbD.constructor !== Array) { - var temp_EVaCfhZ = addcalculation_EVaCfhZ; - var addcalculation_EVaCfhZ = []; - addcalculation_EVaCfhZ.push(temp_EVaCfhZ); + var temp_tJpGpbD = addcalculation_tJpGpbD; + var addcalculation_tJpGpbD = []; + addcalculation_tJpGpbD.push(temp_tJpGpbD); } - else if (!isSet(addcalculation_EVaCfhZ)) + else if (!isSet(addcalculation_tJpGpbD)) { - var addcalculation_EVaCfhZ = []; + var addcalculation_tJpGpbD = []; } - var addcalculation = addcalculation_EVaCfhZ.some(addcalculation_EVaCfhZ_SomeFunc); + var addcalculation = addcalculation_tJpGpbD.some(addcalculation_tJpGpbD_SomeFunc); - if (isSet(gettype_EVaCfhZ) && gettype_EVaCfhZ.constructor !== Array) + if (isSet(gettype_tJpGpbD) && gettype_tJpGpbD.constructor !== Array) { - var temp_EVaCfhZ = gettype_EVaCfhZ; - var gettype_EVaCfhZ = []; - gettype_EVaCfhZ.push(temp_EVaCfhZ); + var temp_tJpGpbD = gettype_tJpGpbD; + var gettype_tJpGpbD = []; + gettype_tJpGpbD.push(temp_tJpGpbD); } - else if (!isSet(gettype_EVaCfhZ)) + else if (!isSet(gettype_tJpGpbD)) { - var gettype_EVaCfhZ = []; + var gettype_tJpGpbD = []; } - var gettype = gettype_EVaCfhZ.some(gettype_EVaCfhZ_SomeFunc); + var gettype = gettype_tJpGpbD.some(gettype_tJpGpbD_SomeFunc); // set this function logic @@ -514,97 +514,97 @@ function EVaCfhZ(addcalculation_EVaCfhZ,gettype_EVaCfhZ) } } -// the EVaCfhZ Some function -function addcalculation_EVaCfhZ_SomeFunc(addcalculation_EVaCfhZ) +// the tJpGpbD Some function +function addcalculation_tJpGpbD_SomeFunc(addcalculation_tJpGpbD) { // set the function logic - if (addcalculation_EVaCfhZ == 1) + if (addcalculation_tJpGpbD == 1) { return true; } return false; } -// the EVaCfhZ Some function -function gettype_EVaCfhZ_SomeFunc(gettype_EVaCfhZ) +// the tJpGpbD Some function +function gettype_tJpGpbD_SomeFunc(gettype_tJpGpbD) { // set the function logic - if (gettype_EVaCfhZ == 2 || gettype_EVaCfhZ == 4) + if (gettype_tJpGpbD == 2 || gettype_tJpGpbD == 4) { return true; } return false; } -// the PTyAUzG function -function PTyAUzG(main_source_PTyAUzG) +// the lpwUTLg function +function lpwUTLg(main_source_lpwUTLg) { - if (isSet(main_source_PTyAUzG) && main_source_PTyAUzG.constructor !== Array) + if (isSet(main_source_lpwUTLg) && main_source_lpwUTLg.constructor !== Array) { - var temp_PTyAUzG = main_source_PTyAUzG; - var main_source_PTyAUzG = []; - main_source_PTyAUzG.push(temp_PTyAUzG); + var temp_lpwUTLg = main_source_lpwUTLg; + var main_source_lpwUTLg = []; + main_source_lpwUTLg.push(temp_lpwUTLg); } - else if (!isSet(main_source_PTyAUzG)) + else if (!isSet(main_source_lpwUTLg)) { - var main_source_PTyAUzG = []; + var main_source_lpwUTLg = []; } - var main_source = main_source_PTyAUzG.some(main_source_PTyAUzG_SomeFunc); + var main_source = main_source_lpwUTLg.some(main_source_lpwUTLg_SomeFunc); // set this function logic if (main_source) { jQuery('#jform_php_custom_get').closest('.control-group').show(); - if (jform_PTyAUzGqtR_required) + if (jform_lpwUTLgZje_required) { updateFieldRequired('php_custom_get',0); jQuery('#jform_php_custom_get').prop('required','required'); jQuery('#jform_php_custom_get').attr('aria-required',true); jQuery('#jform_php_custom_get').addClass('required'); - jform_PTyAUzGqtR_required = false; + jform_lpwUTLgZje_required = false; } } else { jQuery('#jform_php_custom_get').closest('.control-group').hide(); - if (!jform_PTyAUzGqtR_required) + if (!jform_lpwUTLgZje_required) { updateFieldRequired('php_custom_get',1); jQuery('#jform_php_custom_get').removeAttr('required'); jQuery('#jform_php_custom_get').removeAttr('aria-required'); jQuery('#jform_php_custom_get').removeClass('required'); - jform_PTyAUzGqtR_required = true; + jform_lpwUTLgZje_required = true; } } } -// the PTyAUzG Some function -function main_source_PTyAUzG_SomeFunc(main_source_PTyAUzG) +// the lpwUTLg Some function +function main_source_lpwUTLg_SomeFunc(main_source_lpwUTLg) { // set the function logic - if (main_source_PTyAUzG == 3) + if (main_source_lpwUTLg == 3) { return true; } return false; } -// the TuRxzZw function -function TuRxzZw(main_source_TuRxzZw) +// the nTtZlBv function +function nTtZlBv(main_source_nTtZlBv) { - if (isSet(main_source_TuRxzZw) && main_source_TuRxzZw.constructor !== Array) + if (isSet(main_source_nTtZlBv) && main_source_nTtZlBv.constructor !== Array) { - var temp_TuRxzZw = main_source_TuRxzZw; - var main_source_TuRxzZw = []; - main_source_TuRxzZw.push(temp_TuRxzZw); + var temp_nTtZlBv = main_source_nTtZlBv; + var main_source_nTtZlBv = []; + main_source_nTtZlBv.push(temp_nTtZlBv); } - else if (!isSet(main_source_TuRxzZw)) + else if (!isSet(main_source_nTtZlBv)) { - var main_source_TuRxzZw = []; + var main_source_nTtZlBv = []; } - var main_source = main_source_TuRxzZw.some(main_source_TuRxzZw_SomeFunc); + var main_source = main_source_nTtZlBv.some(main_source_nTtZlBv_SomeFunc); // set this function logic @@ -626,623 +626,623 @@ function TuRxzZw(main_source_TuRxzZw) } } -// the TuRxzZw Some function -function main_source_TuRxzZw_SomeFunc(main_source_TuRxzZw) +// the nTtZlBv Some function +function main_source_nTtZlBv_SomeFunc(main_source_nTtZlBv) { // set the function logic - if (main_source_TuRxzZw == 1 || main_source_TuRxzZw == 2) + if (main_source_nTtZlBv == 1 || main_source_nTtZlBv == 2) { return true; } return false; } -// the cOupVhV function -function cOupVhV(add_php_before_getitem_cOupVhV,gettype_cOupVhV) +// the nExSoDC function +function nExSoDC(add_php_before_getitem_nExSoDC,gettype_nExSoDC) { - if (isSet(add_php_before_getitem_cOupVhV) && add_php_before_getitem_cOupVhV.constructor !== Array) + if (isSet(add_php_before_getitem_nExSoDC) && add_php_before_getitem_nExSoDC.constructor !== Array) { - var temp_cOupVhV = add_php_before_getitem_cOupVhV; - var add_php_before_getitem_cOupVhV = []; - add_php_before_getitem_cOupVhV.push(temp_cOupVhV); + var temp_nExSoDC = add_php_before_getitem_nExSoDC; + var add_php_before_getitem_nExSoDC = []; + add_php_before_getitem_nExSoDC.push(temp_nExSoDC); } - else if (!isSet(add_php_before_getitem_cOupVhV)) + else if (!isSet(add_php_before_getitem_nExSoDC)) { - var add_php_before_getitem_cOupVhV = []; + var add_php_before_getitem_nExSoDC = []; } - var add_php_before_getitem = add_php_before_getitem_cOupVhV.some(add_php_before_getitem_cOupVhV_SomeFunc); + var add_php_before_getitem = add_php_before_getitem_nExSoDC.some(add_php_before_getitem_nExSoDC_SomeFunc); - if (isSet(gettype_cOupVhV) && gettype_cOupVhV.constructor !== Array) + if (isSet(gettype_nExSoDC) && gettype_nExSoDC.constructor !== Array) { - var temp_cOupVhV = gettype_cOupVhV; - var gettype_cOupVhV = []; - gettype_cOupVhV.push(temp_cOupVhV); + var temp_nExSoDC = gettype_nExSoDC; + var gettype_nExSoDC = []; + gettype_nExSoDC.push(temp_nExSoDC); } - else if (!isSet(gettype_cOupVhV)) + else if (!isSet(gettype_nExSoDC)) { - var gettype_cOupVhV = []; + var gettype_nExSoDC = []; } - var gettype = gettype_cOupVhV.some(gettype_cOupVhV_SomeFunc); + var gettype = gettype_nExSoDC.some(gettype_nExSoDC_SomeFunc); // set this function logic if (add_php_before_getitem && gettype) { jQuery('#jform_php_before_getitem').closest('.control-group').show(); - if (jform_cOupVhVAjI_required) + if (jform_nExSoDCYyK_required) { updateFieldRequired('php_before_getitem',0); jQuery('#jform_php_before_getitem').prop('required','required'); jQuery('#jform_php_before_getitem').attr('aria-required',true); jQuery('#jform_php_before_getitem').addClass('required'); - jform_cOupVhVAjI_required = false; + jform_nExSoDCYyK_required = false; } } else { jQuery('#jform_php_before_getitem').closest('.control-group').hide(); - if (!jform_cOupVhVAjI_required) + if (!jform_nExSoDCYyK_required) { updateFieldRequired('php_before_getitem',1); jQuery('#jform_php_before_getitem').removeAttr('required'); jQuery('#jform_php_before_getitem').removeAttr('aria-required'); jQuery('#jform_php_before_getitem').removeClass('required'); - jform_cOupVhVAjI_required = true; + jform_nExSoDCYyK_required = true; } } } -// the cOupVhV Some function -function add_php_before_getitem_cOupVhV_SomeFunc(add_php_before_getitem_cOupVhV) +// the nExSoDC Some function +function add_php_before_getitem_nExSoDC_SomeFunc(add_php_before_getitem_nExSoDC) { // set the function logic - if (add_php_before_getitem_cOupVhV == 1) + if (add_php_before_getitem_nExSoDC == 1) { return true; } return false; } -// the cOupVhV Some function -function gettype_cOupVhV_SomeFunc(gettype_cOupVhV) +// the nExSoDC Some function +function gettype_nExSoDC_SomeFunc(gettype_nExSoDC) { // set the function logic - if (gettype_cOupVhV == 1 || gettype_cOupVhV == 3) + if (gettype_nExSoDC == 1 || gettype_nExSoDC == 3) { return true; } return false; } -// the gkhfYbE function -function gkhfYbE(add_php_after_getitem_gkhfYbE,gettype_gkhfYbE) +// the iHxqXNJ function +function iHxqXNJ(add_php_after_getitem_iHxqXNJ,gettype_iHxqXNJ) { - if (isSet(add_php_after_getitem_gkhfYbE) && add_php_after_getitem_gkhfYbE.constructor !== Array) + if (isSet(add_php_after_getitem_iHxqXNJ) && add_php_after_getitem_iHxqXNJ.constructor !== Array) { - var temp_gkhfYbE = add_php_after_getitem_gkhfYbE; - var add_php_after_getitem_gkhfYbE = []; - add_php_after_getitem_gkhfYbE.push(temp_gkhfYbE); + var temp_iHxqXNJ = add_php_after_getitem_iHxqXNJ; + var add_php_after_getitem_iHxqXNJ = []; + add_php_after_getitem_iHxqXNJ.push(temp_iHxqXNJ); } - else if (!isSet(add_php_after_getitem_gkhfYbE)) + else if (!isSet(add_php_after_getitem_iHxqXNJ)) { - var add_php_after_getitem_gkhfYbE = []; + var add_php_after_getitem_iHxqXNJ = []; } - var add_php_after_getitem = add_php_after_getitem_gkhfYbE.some(add_php_after_getitem_gkhfYbE_SomeFunc); + var add_php_after_getitem = add_php_after_getitem_iHxqXNJ.some(add_php_after_getitem_iHxqXNJ_SomeFunc); - if (isSet(gettype_gkhfYbE) && gettype_gkhfYbE.constructor !== Array) + if (isSet(gettype_iHxqXNJ) && gettype_iHxqXNJ.constructor !== Array) { - var temp_gkhfYbE = gettype_gkhfYbE; - var gettype_gkhfYbE = []; - gettype_gkhfYbE.push(temp_gkhfYbE); + var temp_iHxqXNJ = gettype_iHxqXNJ; + var gettype_iHxqXNJ = []; + gettype_iHxqXNJ.push(temp_iHxqXNJ); } - else if (!isSet(gettype_gkhfYbE)) + else if (!isSet(gettype_iHxqXNJ)) { - var gettype_gkhfYbE = []; + var gettype_iHxqXNJ = []; } - var gettype = gettype_gkhfYbE.some(gettype_gkhfYbE_SomeFunc); + var gettype = gettype_iHxqXNJ.some(gettype_iHxqXNJ_SomeFunc); // set this function logic if (add_php_after_getitem && gettype) { jQuery('#jform_php_after_getitem').closest('.control-group').show(); - if (jform_gkhfYbErVj_required) + if (jform_iHxqXNJQJz_required) { updateFieldRequired('php_after_getitem',0); jQuery('#jform_php_after_getitem').prop('required','required'); jQuery('#jform_php_after_getitem').attr('aria-required',true); jQuery('#jform_php_after_getitem').addClass('required'); - jform_gkhfYbErVj_required = false; + jform_iHxqXNJQJz_required = false; } } else { jQuery('#jform_php_after_getitem').closest('.control-group').hide(); - if (!jform_gkhfYbErVj_required) + if (!jform_iHxqXNJQJz_required) { updateFieldRequired('php_after_getitem',1); jQuery('#jform_php_after_getitem').removeAttr('required'); jQuery('#jform_php_after_getitem').removeAttr('aria-required'); jQuery('#jform_php_after_getitem').removeClass('required'); - jform_gkhfYbErVj_required = true; + jform_iHxqXNJQJz_required = true; } } } -// the gkhfYbE Some function -function add_php_after_getitem_gkhfYbE_SomeFunc(add_php_after_getitem_gkhfYbE) +// the iHxqXNJ Some function +function add_php_after_getitem_iHxqXNJ_SomeFunc(add_php_after_getitem_iHxqXNJ) { // set the function logic - if (add_php_after_getitem_gkhfYbE == 1) + if (add_php_after_getitem_iHxqXNJ == 1) { return true; } return false; } -// the gkhfYbE Some function -function gettype_gkhfYbE_SomeFunc(gettype_gkhfYbE) +// the iHxqXNJ Some function +function gettype_iHxqXNJ_SomeFunc(gettype_iHxqXNJ) { // set the function logic - if (gettype_gkhfYbE == 1 || gettype_gkhfYbE == 3) + if (gettype_iHxqXNJ == 1 || gettype_iHxqXNJ == 3) { return true; } return false; } -// the GqMVAul function -function GqMVAul(gettype_GqMVAul) +// the UJUsWyN function +function UJUsWyN(gettype_UJUsWyN) { - if (isSet(gettype_GqMVAul) && gettype_GqMVAul.constructor !== Array) + if (isSet(gettype_UJUsWyN) && gettype_UJUsWyN.constructor !== Array) { - var temp_GqMVAul = gettype_GqMVAul; - var gettype_GqMVAul = []; - gettype_GqMVAul.push(temp_GqMVAul); + var temp_UJUsWyN = gettype_UJUsWyN; + var gettype_UJUsWyN = []; + gettype_UJUsWyN.push(temp_UJUsWyN); } - else if (!isSet(gettype_GqMVAul)) + else if (!isSet(gettype_UJUsWyN)) { - var gettype_GqMVAul = []; + var gettype_UJUsWyN = []; } - var gettype = gettype_GqMVAul.some(gettype_GqMVAul_SomeFunc); + var gettype = gettype_UJUsWyN.some(gettype_UJUsWyN_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); - if (jform_GqMVAulNwz_required) + if (jform_UJUsWyNOVr_required) { updateFieldRequired('add_php_after_getitem',0); jQuery('#jform_add_php_after_getitem').prop('required','required'); jQuery('#jform_add_php_after_getitem').attr('aria-required',true); jQuery('#jform_add_php_after_getitem').addClass('required'); - jform_GqMVAulNwz_required = false; + jform_UJUsWyNOVr_required = false; } jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); - if (jform_GqMVAulMPH_required) + if (jform_UJUsWyNtRL_required) { updateFieldRequired('add_php_before_getitem',0); jQuery('#jform_add_php_before_getitem').prop('required','required'); jQuery('#jform_add_php_before_getitem').attr('aria-required',true); jQuery('#jform_add_php_before_getitem').addClass('required'); - jform_GqMVAulMPH_required = false; + jform_UJUsWyNtRL_required = false; } } else { jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); - if (!jform_GqMVAulNwz_required) + if (!jform_UJUsWyNOVr_required) { updateFieldRequired('add_php_after_getitem',1); jQuery('#jform_add_php_after_getitem').removeAttr('required'); jQuery('#jform_add_php_after_getitem').removeAttr('aria-required'); jQuery('#jform_add_php_after_getitem').removeClass('required'); - jform_GqMVAulNwz_required = true; + jform_UJUsWyNOVr_required = true; } jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); - if (!jform_GqMVAulMPH_required) + if (!jform_UJUsWyNtRL_required) { updateFieldRequired('add_php_before_getitem',1); jQuery('#jform_add_php_before_getitem').removeAttr('required'); jQuery('#jform_add_php_before_getitem').removeAttr('aria-required'); jQuery('#jform_add_php_before_getitem').removeClass('required'); - jform_GqMVAulMPH_required = true; + jform_UJUsWyNtRL_required = true; } } } -// the GqMVAul Some function -function gettype_GqMVAul_SomeFunc(gettype_GqMVAul) +// the UJUsWyN Some function +function gettype_UJUsWyN_SomeFunc(gettype_UJUsWyN) { // set the function logic - if (gettype_GqMVAul == 1 || gettype_GqMVAul == 3) + if (gettype_UJUsWyN == 1 || gettype_UJUsWyN == 3) { return true; } return false; } -// the mVOBZID function -function mVOBZID(add_php_getlistquery_mVOBZID,gettype_mVOBZID) +// the iawMqnC function +function iawMqnC(add_php_getlistquery_iawMqnC,gettype_iawMqnC) { - if (isSet(add_php_getlistquery_mVOBZID) && add_php_getlistquery_mVOBZID.constructor !== Array) + if (isSet(add_php_getlistquery_iawMqnC) && add_php_getlistquery_iawMqnC.constructor !== Array) { - var temp_mVOBZID = add_php_getlistquery_mVOBZID; - var add_php_getlistquery_mVOBZID = []; - add_php_getlistquery_mVOBZID.push(temp_mVOBZID); + var temp_iawMqnC = add_php_getlistquery_iawMqnC; + var add_php_getlistquery_iawMqnC = []; + add_php_getlistquery_iawMqnC.push(temp_iawMqnC); } - else if (!isSet(add_php_getlistquery_mVOBZID)) + else if (!isSet(add_php_getlistquery_iawMqnC)) { - var add_php_getlistquery_mVOBZID = []; + var add_php_getlistquery_iawMqnC = []; } - var add_php_getlistquery = add_php_getlistquery_mVOBZID.some(add_php_getlistquery_mVOBZID_SomeFunc); + var add_php_getlistquery = add_php_getlistquery_iawMqnC.some(add_php_getlistquery_iawMqnC_SomeFunc); - if (isSet(gettype_mVOBZID) && gettype_mVOBZID.constructor !== Array) + if (isSet(gettype_iawMqnC) && gettype_iawMqnC.constructor !== Array) { - var temp_mVOBZID = gettype_mVOBZID; - var gettype_mVOBZID = []; - gettype_mVOBZID.push(temp_mVOBZID); + var temp_iawMqnC = gettype_iawMqnC; + var gettype_iawMqnC = []; + gettype_iawMqnC.push(temp_iawMqnC); } - else if (!isSet(gettype_mVOBZID)) + else if (!isSet(gettype_iawMqnC)) { - var gettype_mVOBZID = []; + var gettype_iawMqnC = []; } - var gettype = gettype_mVOBZID.some(gettype_mVOBZID_SomeFunc); + var gettype = gettype_iawMqnC.some(gettype_iawMqnC_SomeFunc); // set this function logic if (add_php_getlistquery && gettype) { jQuery('#jform_php_getlistquery').closest('.control-group').show(); - if (jform_mVOBZIDJfr_required) + if (jform_iawMqnCehe_required) { updateFieldRequired('php_getlistquery',0); jQuery('#jform_php_getlistquery').prop('required','required'); jQuery('#jform_php_getlistquery').attr('aria-required',true); jQuery('#jform_php_getlistquery').addClass('required'); - jform_mVOBZIDJfr_required = false; + jform_iawMqnCehe_required = false; } } else { jQuery('#jform_php_getlistquery').closest('.control-group').hide(); - if (!jform_mVOBZIDJfr_required) + if (!jform_iawMqnCehe_required) { updateFieldRequired('php_getlistquery',1); jQuery('#jform_php_getlistquery').removeAttr('required'); jQuery('#jform_php_getlistquery').removeAttr('aria-required'); jQuery('#jform_php_getlistquery').removeClass('required'); - jform_mVOBZIDJfr_required = true; + jform_iawMqnCehe_required = true; } } } -// the mVOBZID Some function -function add_php_getlistquery_mVOBZID_SomeFunc(add_php_getlistquery_mVOBZID) +// the iawMqnC Some function +function add_php_getlistquery_iawMqnC_SomeFunc(add_php_getlistquery_iawMqnC) { // set the function logic - if (add_php_getlistquery_mVOBZID == 1) + if (add_php_getlistquery_iawMqnC == 1) { return true; } return false; } -// the mVOBZID Some function -function gettype_mVOBZID_SomeFunc(gettype_mVOBZID) +// the iawMqnC Some function +function gettype_iawMqnC_SomeFunc(gettype_iawMqnC) { // set the function logic - if (gettype_mVOBZID == 2 || gettype_mVOBZID == 4) + if (gettype_iawMqnC == 2 || gettype_iawMqnC == 4) { return true; } return false; } -// the PoGBgSs function -function PoGBgSs(add_php_before_getitems_PoGBgSs,gettype_PoGBgSs) +// the xeNggFH function +function xeNggFH(add_php_before_getitems_xeNggFH,gettype_xeNggFH) { - if (isSet(add_php_before_getitems_PoGBgSs) && add_php_before_getitems_PoGBgSs.constructor !== Array) + if (isSet(add_php_before_getitems_xeNggFH) && add_php_before_getitems_xeNggFH.constructor !== Array) { - var temp_PoGBgSs = add_php_before_getitems_PoGBgSs; - var add_php_before_getitems_PoGBgSs = []; - add_php_before_getitems_PoGBgSs.push(temp_PoGBgSs); + var temp_xeNggFH = add_php_before_getitems_xeNggFH; + var add_php_before_getitems_xeNggFH = []; + add_php_before_getitems_xeNggFH.push(temp_xeNggFH); } - else if (!isSet(add_php_before_getitems_PoGBgSs)) + else if (!isSet(add_php_before_getitems_xeNggFH)) { - var add_php_before_getitems_PoGBgSs = []; + var add_php_before_getitems_xeNggFH = []; } - var add_php_before_getitems = add_php_before_getitems_PoGBgSs.some(add_php_before_getitems_PoGBgSs_SomeFunc); + var add_php_before_getitems = add_php_before_getitems_xeNggFH.some(add_php_before_getitems_xeNggFH_SomeFunc); - if (isSet(gettype_PoGBgSs) && gettype_PoGBgSs.constructor !== Array) + if (isSet(gettype_xeNggFH) && gettype_xeNggFH.constructor !== Array) { - var temp_PoGBgSs = gettype_PoGBgSs; - var gettype_PoGBgSs = []; - gettype_PoGBgSs.push(temp_PoGBgSs); + var temp_xeNggFH = gettype_xeNggFH; + var gettype_xeNggFH = []; + gettype_xeNggFH.push(temp_xeNggFH); } - else if (!isSet(gettype_PoGBgSs)) + else if (!isSet(gettype_xeNggFH)) { - var gettype_PoGBgSs = []; + var gettype_xeNggFH = []; } - var gettype = gettype_PoGBgSs.some(gettype_PoGBgSs_SomeFunc); + var gettype = gettype_xeNggFH.some(gettype_xeNggFH_SomeFunc); // set this function logic if (add_php_before_getitems && gettype) { jQuery('#jform_php_before_getitems').closest('.control-group').show(); - if (jform_PoGBgSsRAP_required) + if (jform_xeNggFHIAt_required) { updateFieldRequired('php_before_getitems',0); jQuery('#jform_php_before_getitems').prop('required','required'); jQuery('#jform_php_before_getitems').attr('aria-required',true); jQuery('#jform_php_before_getitems').addClass('required'); - jform_PoGBgSsRAP_required = false; + jform_xeNggFHIAt_required = false; } } else { jQuery('#jform_php_before_getitems').closest('.control-group').hide(); - if (!jform_PoGBgSsRAP_required) + if (!jform_xeNggFHIAt_required) { updateFieldRequired('php_before_getitems',1); jQuery('#jform_php_before_getitems').removeAttr('required'); jQuery('#jform_php_before_getitems').removeAttr('aria-required'); jQuery('#jform_php_before_getitems').removeClass('required'); - jform_PoGBgSsRAP_required = true; + jform_xeNggFHIAt_required = true; } } } -// the PoGBgSs Some function -function add_php_before_getitems_PoGBgSs_SomeFunc(add_php_before_getitems_PoGBgSs) +// the xeNggFH Some function +function add_php_before_getitems_xeNggFH_SomeFunc(add_php_before_getitems_xeNggFH) { // set the function logic - if (add_php_before_getitems_PoGBgSs == 1) + if (add_php_before_getitems_xeNggFH == 1) { return true; } return false; } -// the PoGBgSs Some function -function gettype_PoGBgSs_SomeFunc(gettype_PoGBgSs) +// the xeNggFH Some function +function gettype_xeNggFH_SomeFunc(gettype_xeNggFH) { // set the function logic - if (gettype_PoGBgSs == 2 || gettype_PoGBgSs == 4) + if (gettype_xeNggFH == 2 || gettype_xeNggFH == 4) { return true; } return false; } -// the wpkYIZn function -function wpkYIZn(add_php_after_getitems_wpkYIZn,gettype_wpkYIZn) +// the DZqePcX function +function DZqePcX(add_php_after_getitems_DZqePcX,gettype_DZqePcX) { - if (isSet(add_php_after_getitems_wpkYIZn) && add_php_after_getitems_wpkYIZn.constructor !== Array) + if (isSet(add_php_after_getitems_DZqePcX) && add_php_after_getitems_DZqePcX.constructor !== Array) { - var temp_wpkYIZn = add_php_after_getitems_wpkYIZn; - var add_php_after_getitems_wpkYIZn = []; - add_php_after_getitems_wpkYIZn.push(temp_wpkYIZn); + var temp_DZqePcX = add_php_after_getitems_DZqePcX; + var add_php_after_getitems_DZqePcX = []; + add_php_after_getitems_DZqePcX.push(temp_DZqePcX); } - else if (!isSet(add_php_after_getitems_wpkYIZn)) + else if (!isSet(add_php_after_getitems_DZqePcX)) { - var add_php_after_getitems_wpkYIZn = []; + var add_php_after_getitems_DZqePcX = []; } - var add_php_after_getitems = add_php_after_getitems_wpkYIZn.some(add_php_after_getitems_wpkYIZn_SomeFunc); + var add_php_after_getitems = add_php_after_getitems_DZqePcX.some(add_php_after_getitems_DZqePcX_SomeFunc); - if (isSet(gettype_wpkYIZn) && gettype_wpkYIZn.constructor !== Array) + if (isSet(gettype_DZqePcX) && gettype_DZqePcX.constructor !== Array) { - var temp_wpkYIZn = gettype_wpkYIZn; - var gettype_wpkYIZn = []; - gettype_wpkYIZn.push(temp_wpkYIZn); + var temp_DZqePcX = gettype_DZqePcX; + var gettype_DZqePcX = []; + gettype_DZqePcX.push(temp_DZqePcX); } - else if (!isSet(gettype_wpkYIZn)) + else if (!isSet(gettype_DZqePcX)) { - var gettype_wpkYIZn = []; + var gettype_DZqePcX = []; } - var gettype = gettype_wpkYIZn.some(gettype_wpkYIZn_SomeFunc); + var gettype = gettype_DZqePcX.some(gettype_DZqePcX_SomeFunc); // set this function logic if (add_php_after_getitems && gettype) { jQuery('#jform_php_after_getitems').closest('.control-group').show(); - if (jform_wpkYIZnaGg_required) + if (jform_DZqePcXcvR_required) { updateFieldRequired('php_after_getitems',0); jQuery('#jform_php_after_getitems').prop('required','required'); jQuery('#jform_php_after_getitems').attr('aria-required',true); jQuery('#jform_php_after_getitems').addClass('required'); - jform_wpkYIZnaGg_required = false; + jform_DZqePcXcvR_required = false; } } else { jQuery('#jform_php_after_getitems').closest('.control-group').hide(); - if (!jform_wpkYIZnaGg_required) + if (!jform_DZqePcXcvR_required) { updateFieldRequired('php_after_getitems',1); jQuery('#jform_php_after_getitems').removeAttr('required'); jQuery('#jform_php_after_getitems').removeAttr('aria-required'); jQuery('#jform_php_after_getitems').removeClass('required'); - jform_wpkYIZnaGg_required = true; + jform_DZqePcXcvR_required = true; } } } -// the wpkYIZn Some function -function add_php_after_getitems_wpkYIZn_SomeFunc(add_php_after_getitems_wpkYIZn) +// the DZqePcX Some function +function add_php_after_getitems_DZqePcX_SomeFunc(add_php_after_getitems_DZqePcX) { // set the function logic - if (add_php_after_getitems_wpkYIZn == 1) + if (add_php_after_getitems_DZqePcX == 1) { return true; } return false; } -// the wpkYIZn Some function -function gettype_wpkYIZn_SomeFunc(gettype_wpkYIZn) +// the DZqePcX Some function +function gettype_DZqePcX_SomeFunc(gettype_DZqePcX) { // set the function logic - if (gettype_wpkYIZn == 2 || gettype_wpkYIZn == 4) + if (gettype_DZqePcX == 2 || gettype_DZqePcX == 4) { return true; } return false; } -// the WIkoAta function -function WIkoAta(gettype_WIkoAta) +// the QnEXSEG function +function QnEXSEG(gettype_QnEXSEG) { - if (isSet(gettype_WIkoAta) && gettype_WIkoAta.constructor !== Array) + if (isSet(gettype_QnEXSEG) && gettype_QnEXSEG.constructor !== Array) { - var temp_WIkoAta = gettype_WIkoAta; - var gettype_WIkoAta = []; - gettype_WIkoAta.push(temp_WIkoAta); + var temp_QnEXSEG = gettype_QnEXSEG; + var gettype_QnEXSEG = []; + gettype_QnEXSEG.push(temp_QnEXSEG); } - else if (!isSet(gettype_WIkoAta)) + else if (!isSet(gettype_QnEXSEG)) { - var gettype_WIkoAta = []; + var gettype_QnEXSEG = []; } - var gettype = gettype_WIkoAta.some(gettype_WIkoAta_SomeFunc); + var gettype = gettype_QnEXSEG.some(gettype_QnEXSEG_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); - if (jform_WIkoAtaVxU_required) + if (jform_QnEXSEGWPo_required) { updateFieldRequired('add_php_after_getitems',0); jQuery('#jform_add_php_after_getitems').prop('required','required'); jQuery('#jform_add_php_after_getitems').attr('aria-required',true); jQuery('#jform_add_php_after_getitems').addClass('required'); - jform_WIkoAtaVxU_required = false; + jform_QnEXSEGWPo_required = false; } jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); - if (jform_WIkoAtasum_required) + if (jform_QnEXSEGxqW_required) { updateFieldRequired('add_php_before_getitems',0); jQuery('#jform_add_php_before_getitems').prop('required','required'); jQuery('#jform_add_php_before_getitems').attr('aria-required',true); jQuery('#jform_add_php_before_getitems').addClass('required'); - jform_WIkoAtasum_required = false; + jform_QnEXSEGxqW_required = false; } jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); - if (jform_WIkoAtadRL_required) + if (jform_QnEXSEGQTW_required) { updateFieldRequired('add_php_getlistquery',0); jQuery('#jform_add_php_getlistquery').prop('required','required'); jQuery('#jform_add_php_getlistquery').attr('aria-required',true); jQuery('#jform_add_php_getlistquery').addClass('required'); - jform_WIkoAtadRL_required = false; + jform_QnEXSEGQTW_required = false; } } else { jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); - if (!jform_WIkoAtaVxU_required) + if (!jform_QnEXSEGWPo_required) { updateFieldRequired('add_php_after_getitems',1); jQuery('#jform_add_php_after_getitems').removeAttr('required'); jQuery('#jform_add_php_after_getitems').removeAttr('aria-required'); jQuery('#jform_add_php_after_getitems').removeClass('required'); - jform_WIkoAtaVxU_required = true; + jform_QnEXSEGWPo_required = true; } jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); - if (!jform_WIkoAtasum_required) + if (!jform_QnEXSEGxqW_required) { updateFieldRequired('add_php_before_getitems',1); jQuery('#jform_add_php_before_getitems').removeAttr('required'); jQuery('#jform_add_php_before_getitems').removeAttr('aria-required'); jQuery('#jform_add_php_before_getitems').removeClass('required'); - jform_WIkoAtasum_required = true; + jform_QnEXSEGxqW_required = true; } jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); - if (!jform_WIkoAtadRL_required) + if (!jform_QnEXSEGQTW_required) { updateFieldRequired('add_php_getlistquery',1); jQuery('#jform_add_php_getlistquery').removeAttr('required'); jQuery('#jform_add_php_getlistquery').removeAttr('aria-required'); jQuery('#jform_add_php_getlistquery').removeClass('required'); - jform_WIkoAtadRL_required = true; + jform_QnEXSEGQTW_required = true; } } } -// the WIkoAta Some function -function gettype_WIkoAta_SomeFunc(gettype_WIkoAta) +// the QnEXSEG Some function +function gettype_QnEXSEG_SomeFunc(gettype_QnEXSEG) { // set the function logic - if (gettype_WIkoAta == 2 || gettype_WIkoAta == 4) + if (gettype_QnEXSEG == 2 || gettype_QnEXSEG == 4) { return true; } return false; } -// the sSlmiqZ function -function sSlmiqZ(gettype_sSlmiqZ) +// the fXMiVKB function +function fXMiVKB(gettype_fXMiVKB) { - if (isSet(gettype_sSlmiqZ) && gettype_sSlmiqZ.constructor !== Array) + if (isSet(gettype_fXMiVKB) && gettype_fXMiVKB.constructor !== Array) { - var temp_sSlmiqZ = gettype_sSlmiqZ; - var gettype_sSlmiqZ = []; - gettype_sSlmiqZ.push(temp_sSlmiqZ); + var temp_fXMiVKB = gettype_fXMiVKB; + var gettype_fXMiVKB = []; + gettype_fXMiVKB.push(temp_fXMiVKB); } - else if (!isSet(gettype_sSlmiqZ)) + else if (!isSet(gettype_fXMiVKB)) { - var gettype_sSlmiqZ = []; + var gettype_fXMiVKB = []; } - var gettype = gettype_sSlmiqZ.some(gettype_sSlmiqZ_SomeFunc); + var gettype = gettype_fXMiVKB.some(gettype_fXMiVKB_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_pagination').closest('.control-group').show(); - if (jform_sSlmiqZpRY_required) + if (jform_fXMiVKBHvq_required) { updateFieldRequired('pagination',0); jQuery('#jform_pagination').prop('required','required'); jQuery('#jform_pagination').attr('aria-required',true); jQuery('#jform_pagination').addClass('required'); - jform_sSlmiqZpRY_required = false; + jform_fXMiVKBHvq_required = false; } } else { jQuery('#jform_pagination').closest('.control-group').hide(); - if (!jform_sSlmiqZpRY_required) + if (!jform_fXMiVKBHvq_required) { updateFieldRequired('pagination',1); jQuery('#jform_pagination').removeAttr('required'); jQuery('#jform_pagination').removeAttr('aria-required'); jQuery('#jform_pagination').removeClass('required'); - jform_sSlmiqZpRY_required = true; + jform_fXMiVKBHvq_required = true; } } } -// the sSlmiqZ Some function -function gettype_sSlmiqZ_SomeFunc(gettype_sSlmiqZ) +// the fXMiVKB Some function +function gettype_fXMiVKB_SomeFunc(gettype_fXMiVKB) { // set the function logic - if (gettype_sSlmiqZ == 2) + if (gettype_fXMiVKB == 2) { return true; } diff --git a/admin/models/forms/field.js b/admin/models/forms/field.js index 3a6a1a729..fb963583a 100644 --- a/admin/models/forms/field.js +++ b/admin/models/forms/field.js @@ -24,234 +24,234 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_lnskspQwLr_required = false; -jform_WHhBHvQTFL_required = false; -jform_FTvOiCegSU_required = false; -jform_nUdhOEPnDr_required = false; -jform_fKUiNOeVVl_required = false; -jform_slFmuASUBi_required = false; -jform_xKbJSNqLeO_required = false; +jform_ExCMVvbuzU_required = false; +jform_dfOStolxhg_required = false; +jform_sldbrZQaHq_required = false; +jform_gsZyLjyYsJ_required = false; +jform_ZRJPPuceGS_required = false; +jform_axzxDJgwZa_required = false; +jform_bhsaEYheWH_required = false; // Initial Script jQuery(document).ready(function() { - var datalenght_lnskspQ = jQuery("#jform_datalenght").val(); - lnskspQ(datalenght_lnskspQ); + var datalenght_ExCMVvb = jQuery("#jform_datalenght").val(); + ExCMVvb(datalenght_ExCMVvb); - var datadefault_WHhBHvQ = jQuery("#jform_datadefault").val(); - WHhBHvQ(datadefault_WHhBHvQ); + var datadefault_dfOStol = jQuery("#jform_datadefault").val(); + dfOStol(datadefault_dfOStol); - var datatype_FTvOiCe = jQuery("#jform_datatype").val(); - FTvOiCe(datatype_FTvOiCe); + var datatype_sldbrZQ = jQuery("#jform_datatype").val(); + sldbrZQ(datatype_sldbrZQ); - var store_efhEwAS = jQuery("#jform_store").val(); - var datatype_efhEwAS = jQuery("#jform_datatype").val(); - efhEwAS(store_efhEwAS,datatype_efhEwAS); + var store_mpOVXMx = jQuery("#jform_store").val(); + var datatype_mpOVXMx = jQuery("#jform_datatype").val(); + mpOVXMx(store_mpOVXMx,datatype_mpOVXMx); - var add_css_view_nUdhOEP = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - nUdhOEP(add_css_view_nUdhOEP); + var add_css_view_gsZyLjy = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + gsZyLjy(add_css_view_gsZyLjy); - var add_css_views_fKUiNOe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - fKUiNOe(add_css_views_fKUiNOe); + var add_css_views_ZRJPPuc = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + ZRJPPuc(add_css_views_ZRJPPuc); - var add_javascript_view_footer_slFmuAS = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - slFmuAS(add_javascript_view_footer_slFmuAS); + var add_javascript_view_footer_axzxDJg = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + axzxDJg(add_javascript_view_footer_axzxDJg); - var add_javascript_views_footer_xKbJSNq = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - xKbJSNq(add_javascript_views_footer_xKbJSNq); + var add_javascript_views_footer_bhsaEYh = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + bhsaEYh(add_javascript_views_footer_bhsaEYh); }); -// the lnskspQ function -function lnskspQ(datalenght_lnskspQ) +// the ExCMVvb function +function ExCMVvb(datalenght_ExCMVvb) { - if (isSet(datalenght_lnskspQ) && datalenght_lnskspQ.constructor !== Array) + if (isSet(datalenght_ExCMVvb) && datalenght_ExCMVvb.constructor !== Array) { - var temp_lnskspQ = datalenght_lnskspQ; - var datalenght_lnskspQ = []; - datalenght_lnskspQ.push(temp_lnskspQ); + var temp_ExCMVvb = datalenght_ExCMVvb; + var datalenght_ExCMVvb = []; + datalenght_ExCMVvb.push(temp_ExCMVvb); } - else if (!isSet(datalenght_lnskspQ)) + else if (!isSet(datalenght_ExCMVvb)) { - var datalenght_lnskspQ = []; + var datalenght_ExCMVvb = []; } - var datalenght = datalenght_lnskspQ.some(datalenght_lnskspQ_SomeFunc); + var datalenght = datalenght_ExCMVvb.some(datalenght_ExCMVvb_SomeFunc); // set this function logic if (datalenght) { jQuery('#jform_datalenght_other').closest('.control-group').show(); - if (jform_lnskspQwLr_required) + if (jform_ExCMVvbuzU_required) { updateFieldRequired('datalenght_other',0); jQuery('#jform_datalenght_other').prop('required','required'); jQuery('#jform_datalenght_other').attr('aria-required',true); jQuery('#jform_datalenght_other').addClass('required'); - jform_lnskspQwLr_required = false; + jform_ExCMVvbuzU_required = false; } } else { jQuery('#jform_datalenght_other').closest('.control-group').hide(); - if (!jform_lnskspQwLr_required) + if (!jform_ExCMVvbuzU_required) { updateFieldRequired('datalenght_other',1); jQuery('#jform_datalenght_other').removeAttr('required'); jQuery('#jform_datalenght_other').removeAttr('aria-required'); jQuery('#jform_datalenght_other').removeClass('required'); - jform_lnskspQwLr_required = true; + jform_ExCMVvbuzU_required = true; } } } -// the lnskspQ Some function -function datalenght_lnskspQ_SomeFunc(datalenght_lnskspQ) +// the ExCMVvb Some function +function datalenght_ExCMVvb_SomeFunc(datalenght_ExCMVvb) { // set the function logic - if (datalenght_lnskspQ == 'Other') + if (datalenght_ExCMVvb == 'Other') { return true; } return false; } -// the WHhBHvQ function -function WHhBHvQ(datadefault_WHhBHvQ) +// the dfOStol function +function dfOStol(datadefault_dfOStol) { - if (isSet(datadefault_WHhBHvQ) && datadefault_WHhBHvQ.constructor !== Array) + if (isSet(datadefault_dfOStol) && datadefault_dfOStol.constructor !== Array) { - var temp_WHhBHvQ = datadefault_WHhBHvQ; - var datadefault_WHhBHvQ = []; - datadefault_WHhBHvQ.push(temp_WHhBHvQ); + var temp_dfOStol = datadefault_dfOStol; + var datadefault_dfOStol = []; + datadefault_dfOStol.push(temp_dfOStol); } - else if (!isSet(datadefault_WHhBHvQ)) + else if (!isSet(datadefault_dfOStol)) { - var datadefault_WHhBHvQ = []; + var datadefault_dfOStol = []; } - var datadefault = datadefault_WHhBHvQ.some(datadefault_WHhBHvQ_SomeFunc); + var datadefault = datadefault_dfOStol.some(datadefault_dfOStol_SomeFunc); // set this function logic if (datadefault) { jQuery('#jform_datadefault_other').closest('.control-group').show(); - if (jform_WHhBHvQTFL_required) + if (jform_dfOStolxhg_required) { updateFieldRequired('datadefault_other',0); jQuery('#jform_datadefault_other').prop('required','required'); jQuery('#jform_datadefault_other').attr('aria-required',true); jQuery('#jform_datadefault_other').addClass('required'); - jform_WHhBHvQTFL_required = false; + jform_dfOStolxhg_required = false; } } else { jQuery('#jform_datadefault_other').closest('.control-group').hide(); - if (!jform_WHhBHvQTFL_required) + if (!jform_dfOStolxhg_required) { updateFieldRequired('datadefault_other',1); jQuery('#jform_datadefault_other').removeAttr('required'); jQuery('#jform_datadefault_other').removeAttr('aria-required'); jQuery('#jform_datadefault_other').removeClass('required'); - jform_WHhBHvQTFL_required = true; + jform_dfOStolxhg_required = true; } } } -// the WHhBHvQ Some function -function datadefault_WHhBHvQ_SomeFunc(datadefault_WHhBHvQ) +// the dfOStol Some function +function datadefault_dfOStol_SomeFunc(datadefault_dfOStol) { // set the function logic - if (datadefault_WHhBHvQ == 'Other') + if (datadefault_dfOStol == 'Other') { return true; } return false; } -// the FTvOiCe function -function FTvOiCe(datatype_FTvOiCe) +// the sldbrZQ function +function sldbrZQ(datatype_sldbrZQ) { - if (isSet(datatype_FTvOiCe) && datatype_FTvOiCe.constructor !== Array) + if (isSet(datatype_sldbrZQ) && datatype_sldbrZQ.constructor !== Array) { - var temp_FTvOiCe = datatype_FTvOiCe; - var datatype_FTvOiCe = []; - datatype_FTvOiCe.push(temp_FTvOiCe); + var temp_sldbrZQ = datatype_sldbrZQ; + var datatype_sldbrZQ = []; + datatype_sldbrZQ.push(temp_sldbrZQ); } - else if (!isSet(datatype_FTvOiCe)) + else if (!isSet(datatype_sldbrZQ)) { - var datatype_FTvOiCe = []; + var datatype_sldbrZQ = []; } - var datatype = datatype_FTvOiCe.some(datatype_FTvOiCe_SomeFunc); + var datatype = datatype_sldbrZQ.some(datatype_sldbrZQ_SomeFunc); // set this function logic if (datatype) { jQuery('#jform_store').closest('.control-group').show(); - if (jform_FTvOiCegSU_required) + if (jform_sldbrZQaHq_required) { updateFieldRequired('store',0); jQuery('#jform_store').prop('required','required'); jQuery('#jform_store').attr('aria-required',true); jQuery('#jform_store').addClass('required'); - jform_FTvOiCegSU_required = false; + jform_sldbrZQaHq_required = false; } } else { jQuery('#jform_store').closest('.control-group').hide(); - if (!jform_FTvOiCegSU_required) + if (!jform_sldbrZQaHq_required) { updateFieldRequired('store',1); jQuery('#jform_store').removeAttr('required'); jQuery('#jform_store').removeAttr('aria-required'); jQuery('#jform_store').removeClass('required'); - jform_FTvOiCegSU_required = true; + jform_sldbrZQaHq_required = true; } } } -// the FTvOiCe Some function -function datatype_FTvOiCe_SomeFunc(datatype_FTvOiCe) +// the sldbrZQ Some function +function datatype_sldbrZQ_SomeFunc(datatype_sldbrZQ) { // set the function logic - if (datatype_FTvOiCe == 'CHAR' || datatype_FTvOiCe == 'VARCHAR' || datatype_FTvOiCe == 'TEXT' || datatype_FTvOiCe == 'MEDIUMTEXT' || datatype_FTvOiCe == 'LONGTEXT') + if (datatype_sldbrZQ == 'CHAR' || datatype_sldbrZQ == 'VARCHAR' || datatype_sldbrZQ == 'TEXT' || datatype_sldbrZQ == 'MEDIUMTEXT' || datatype_sldbrZQ == 'LONGTEXT') { return true; } return false; } -// the efhEwAS function -function efhEwAS(store_efhEwAS,datatype_efhEwAS) +// the mpOVXMx function +function mpOVXMx(store_mpOVXMx,datatype_mpOVXMx) { - if (isSet(store_efhEwAS) && store_efhEwAS.constructor !== Array) + if (isSet(store_mpOVXMx) && store_mpOVXMx.constructor !== Array) { - var temp_efhEwAS = store_efhEwAS; - var store_efhEwAS = []; - store_efhEwAS.push(temp_efhEwAS); + var temp_mpOVXMx = store_mpOVXMx; + var store_mpOVXMx = []; + store_mpOVXMx.push(temp_mpOVXMx); } - else if (!isSet(store_efhEwAS)) + else if (!isSet(store_mpOVXMx)) { - var store_efhEwAS = []; + var store_mpOVXMx = []; } - var store = store_efhEwAS.some(store_efhEwAS_SomeFunc); + var store = store_mpOVXMx.some(store_mpOVXMx_SomeFunc); - if (isSet(datatype_efhEwAS) && datatype_efhEwAS.constructor !== Array) + if (isSet(datatype_mpOVXMx) && datatype_mpOVXMx.constructor !== Array) { - var temp_efhEwAS = datatype_efhEwAS; - var datatype_efhEwAS = []; - datatype_efhEwAS.push(temp_efhEwAS); + var temp_mpOVXMx = datatype_mpOVXMx; + var datatype_mpOVXMx = []; + datatype_mpOVXMx.push(temp_mpOVXMx); } - else if (!isSet(datatype_efhEwAS)) + else if (!isSet(datatype_mpOVXMx)) { - var datatype_efhEwAS = []; + var datatype_mpOVXMx = []; } - var datatype = datatype_efhEwAS.some(datatype_efhEwAS_SomeFunc); + var datatype = datatype_mpOVXMx.some(datatype_mpOVXMx_SomeFunc); // set this function logic @@ -265,148 +265,148 @@ function efhEwAS(store_efhEwAS,datatype_efhEwAS) } } -// the efhEwAS Some function -function store_efhEwAS_SomeFunc(store_efhEwAS) +// the mpOVXMx Some function +function store_mpOVXMx_SomeFunc(store_mpOVXMx) { // set the function logic - if (store_efhEwAS == 4) + if (store_mpOVXMx == 4) { return true; } return false; } -// the efhEwAS Some function -function datatype_efhEwAS_SomeFunc(datatype_efhEwAS) +// the mpOVXMx Some function +function datatype_mpOVXMx_SomeFunc(datatype_mpOVXMx) { // set the function logic - if (datatype_efhEwAS == 'CHAR' || datatype_efhEwAS == 'VARCHAR' || datatype_efhEwAS == 'TEXT' || datatype_efhEwAS == 'MEDIUMTEXT' || datatype_efhEwAS == 'LONGTEXT') + if (datatype_mpOVXMx == 'CHAR' || datatype_mpOVXMx == 'VARCHAR' || datatype_mpOVXMx == 'TEXT' || datatype_mpOVXMx == 'MEDIUMTEXT' || datatype_mpOVXMx == 'LONGTEXT') { return true; } return false; } -// the nUdhOEP function -function nUdhOEP(add_css_view_nUdhOEP) +// the gsZyLjy function +function gsZyLjy(add_css_view_gsZyLjy) { // set the function logic - if (add_css_view_nUdhOEP == 1) + if (add_css_view_gsZyLjy == 1) { jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_nUdhOEPnDr_required) + if (jform_gsZyLjyYsJ_required) { updateFieldRequired('css_view',0); jQuery('#jform_css_view').prop('required','required'); jQuery('#jform_css_view').attr('aria-required',true); jQuery('#jform_css_view').addClass('required'); - jform_nUdhOEPnDr_required = false; + jform_gsZyLjyYsJ_required = false; } } else { jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_nUdhOEPnDr_required) + if (!jform_gsZyLjyYsJ_required) { updateFieldRequired('css_view',1); jQuery('#jform_css_view').removeAttr('required'); jQuery('#jform_css_view').removeAttr('aria-required'); jQuery('#jform_css_view').removeClass('required'); - jform_nUdhOEPnDr_required = true; + jform_gsZyLjyYsJ_required = true; } } } -// the fKUiNOe function -function fKUiNOe(add_css_views_fKUiNOe) +// the ZRJPPuc function +function ZRJPPuc(add_css_views_ZRJPPuc) { // set the function logic - if (add_css_views_fKUiNOe == 1) + if (add_css_views_ZRJPPuc == 1) { jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_fKUiNOeVVl_required) + if (jform_ZRJPPuceGS_required) { updateFieldRequired('css_views',0); jQuery('#jform_css_views').prop('required','required'); jQuery('#jform_css_views').attr('aria-required',true); jQuery('#jform_css_views').addClass('required'); - jform_fKUiNOeVVl_required = false; + jform_ZRJPPuceGS_required = false; } } else { jQuery('#jform_css_views').closest('.control-group').hide(); - if (!jform_fKUiNOeVVl_required) + if (!jform_ZRJPPuceGS_required) { updateFieldRequired('css_views',1); jQuery('#jform_css_views').removeAttr('required'); jQuery('#jform_css_views').removeAttr('aria-required'); jQuery('#jform_css_views').removeClass('required'); - jform_fKUiNOeVVl_required = true; + jform_ZRJPPuceGS_required = true; } } } -// the slFmuAS function -function slFmuAS(add_javascript_view_footer_slFmuAS) +// the axzxDJg function +function axzxDJg(add_javascript_view_footer_axzxDJg) { // set the function logic - if (add_javascript_view_footer_slFmuAS == 1) + if (add_javascript_view_footer_axzxDJg == 1) { jQuery('#jform_javascript_view_footer').closest('.control-group').show(); - if (jform_slFmuASUBi_required) + if (jform_axzxDJgwZa_required) { updateFieldRequired('javascript_view_footer',0); jQuery('#jform_javascript_view_footer').prop('required','required'); jQuery('#jform_javascript_view_footer').attr('aria-required',true); jQuery('#jform_javascript_view_footer').addClass('required'); - jform_slFmuASUBi_required = false; + jform_axzxDJgwZa_required = false; } } else { jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); - if (!jform_slFmuASUBi_required) + if (!jform_axzxDJgwZa_required) { updateFieldRequired('javascript_view_footer',1); jQuery('#jform_javascript_view_footer').removeAttr('required'); jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); jQuery('#jform_javascript_view_footer').removeClass('required'); - jform_slFmuASUBi_required = true; + jform_axzxDJgwZa_required = true; } } } -// the xKbJSNq function -function xKbJSNq(add_javascript_views_footer_xKbJSNq) +// the bhsaEYh function +function bhsaEYh(add_javascript_views_footer_bhsaEYh) { // set the function logic - if (add_javascript_views_footer_xKbJSNq == 1) + if (add_javascript_views_footer_bhsaEYh == 1) { jQuery('#jform_javascript_views_footer').closest('.control-group').show(); - if (jform_xKbJSNqLeO_required) + if (jform_bhsaEYheWH_required) { updateFieldRequired('javascript_views_footer',0); jQuery('#jform_javascript_views_footer').prop('required','required'); jQuery('#jform_javascript_views_footer').attr('aria-required',true); jQuery('#jform_javascript_views_footer').addClass('required'); - jform_xKbJSNqLeO_required = false; + jform_bhsaEYheWH_required = false; } } else { jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); - if (!jform_xKbJSNqLeO_required) + if (!jform_bhsaEYheWH_required) { updateFieldRequired('javascript_views_footer',1); jQuery('#jform_javascript_views_footer').removeAttr('required'); jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); jQuery('#jform_javascript_views_footer').removeClass('required'); - jform_xKbJSNqLeO_required = true; + jform_bhsaEYheWH_required = true; } } } diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index ed3da3789..7a973379b 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -24,38 +24,38 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_LktRHjRudC_required = false; -jform_IKNpMXPzwX_required = false; -jform_nTcKIyHauT_required = false; -jform_ZabAQNCGdM_required = false; +jform_QJTRKZjFwf_required = false; +jform_SzcsqYRAEb_required = false; +jform_lqwvXLlfpw_required = false; +jform_XjiRdPOkBn_required = false; // Initial Script jQuery(document).ready(function() { - var location_TriKDfz = jQuery("#jform_location input[type='radio']:checked").val(); - TriKDfz(location_TriKDfz); + var location_oLkFItp = jQuery("#jform_location input[type='radio']:checked").val(); + oLkFItp(location_oLkFItp); - var location_JvRrQqZ = jQuery("#jform_location input[type='radio']:checked").val(); - JvRrQqZ(location_JvRrQqZ); + var location_GtKiMqS = jQuery("#jform_location input[type='radio']:checked").val(); + GtKiMqS(location_GtKiMqS); - var type_LktRHjR = jQuery("#jform_type").val(); - LktRHjR(type_LktRHjR); + var type_QJTRKZj = jQuery("#jform_type").val(); + QJTRKZj(type_QJTRKZj); - var type_IKNpMXP = jQuery("#jform_type").val(); - IKNpMXP(type_IKNpMXP); + var type_SzcsqYR = jQuery("#jform_type").val(); + SzcsqYR(type_SzcsqYR); - var type_nTcKIyH = jQuery("#jform_type").val(); - nTcKIyH(type_nTcKIyH); + var type_lqwvXLl = jQuery("#jform_type").val(); + lqwvXLl(type_lqwvXLl); - var target_ZabAQNC = jQuery("#jform_target input[type='radio']:checked").val(); - ZabAQNC(target_ZabAQNC); + var target_XjiRdPO = jQuery("#jform_target input[type='radio']:checked").val(); + XjiRdPO(target_XjiRdPO); }); -// the TriKDfz function -function TriKDfz(location_TriKDfz) +// the oLkFItp function +function oLkFItp(location_oLkFItp) { // set the function logic - if (location_TriKDfz == 1) + if (location_oLkFItp == 1) { jQuery('#jform_admin_view').closest('.control-group').show(); } @@ -65,11 +65,11 @@ function TriKDfz(location_TriKDfz) } } -// the JvRrQqZ function -function JvRrQqZ(location_JvRrQqZ) +// the GtKiMqS function +function GtKiMqS(location_GtKiMqS) { // set the function logic - if (location_JvRrQqZ == 2) + if (location_GtKiMqS == 2) { jQuery('#jform_site_view').closest('.control-group').show(); } @@ -79,198 +79,198 @@ function JvRrQqZ(location_JvRrQqZ) } } -// the LktRHjR function -function LktRHjR(type_LktRHjR) +// the QJTRKZj function +function QJTRKZj(type_QJTRKZj) { - if (isSet(type_LktRHjR) && type_LktRHjR.constructor !== Array) + if (isSet(type_QJTRKZj) && type_QJTRKZj.constructor !== Array) { - var temp_LktRHjR = type_LktRHjR; - var type_LktRHjR = []; - type_LktRHjR.push(temp_LktRHjR); + var temp_QJTRKZj = type_QJTRKZj; + var type_QJTRKZj = []; + type_QJTRKZj.push(temp_QJTRKZj); } - else if (!isSet(type_LktRHjR)) + else if (!isSet(type_QJTRKZj)) { - var type_LktRHjR = []; + var type_QJTRKZj = []; } - var type = type_LktRHjR.some(type_LktRHjR_SomeFunc); + var type = type_QJTRKZj.some(type_QJTRKZj_SomeFunc); // set this function logic if (type) { jQuery('#jform_url').closest('.control-group').show(); - if (jform_LktRHjRudC_required) + if (jform_QJTRKZjFwf_required) { updateFieldRequired('url',0); jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').addClass('required'); - jform_LktRHjRudC_required = false; + jform_QJTRKZjFwf_required = false; } } else { jQuery('#jform_url').closest('.control-group').hide(); - if (!jform_LktRHjRudC_required) + if (!jform_QJTRKZjFwf_required) { updateFieldRequired('url',1); jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeClass('required'); - jform_LktRHjRudC_required = true; + jform_QJTRKZjFwf_required = true; } } } -// the LktRHjR Some function -function type_LktRHjR_SomeFunc(type_LktRHjR) +// the QJTRKZj Some function +function type_QJTRKZj_SomeFunc(type_QJTRKZj) { // set the function logic - if (type_LktRHjR == 3) + if (type_QJTRKZj == 3) { return true; } return false; } -// the IKNpMXP function -function IKNpMXP(type_IKNpMXP) +// the SzcsqYR function +function SzcsqYR(type_SzcsqYR) { - if (isSet(type_IKNpMXP) && type_IKNpMXP.constructor !== Array) + if (isSet(type_SzcsqYR) && type_SzcsqYR.constructor !== Array) { - var temp_IKNpMXP = type_IKNpMXP; - var type_IKNpMXP = []; - type_IKNpMXP.push(temp_IKNpMXP); + var temp_SzcsqYR = type_SzcsqYR; + var type_SzcsqYR = []; + type_SzcsqYR.push(temp_SzcsqYR); } - else if (!isSet(type_IKNpMXP)) + else if (!isSet(type_SzcsqYR)) { - var type_IKNpMXP = []; + var type_SzcsqYR = []; } - var type = type_IKNpMXP.some(type_IKNpMXP_SomeFunc); + var type = type_SzcsqYR.some(type_SzcsqYR_SomeFunc); // set this function logic if (type) { jQuery('#jform_article').closest('.control-group').show(); - if (jform_IKNpMXPzwX_required) + if (jform_SzcsqYRAEb_required) { updateFieldRequired('article',0); jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').addClass('required'); - jform_IKNpMXPzwX_required = false; + jform_SzcsqYRAEb_required = false; } } else { jQuery('#jform_article').closest('.control-group').hide(); - if (!jform_IKNpMXPzwX_required) + if (!jform_SzcsqYRAEb_required) { updateFieldRequired('article',1); jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeClass('required'); - jform_IKNpMXPzwX_required = true; + jform_SzcsqYRAEb_required = true; } } } -// the IKNpMXP Some function -function type_IKNpMXP_SomeFunc(type_IKNpMXP) +// the SzcsqYR Some function +function type_SzcsqYR_SomeFunc(type_SzcsqYR) { // set the function logic - if (type_IKNpMXP == 1) + if (type_SzcsqYR == 1) { return true; } return false; } -// the nTcKIyH function -function nTcKIyH(type_nTcKIyH) +// the lqwvXLl function +function lqwvXLl(type_lqwvXLl) { - if (isSet(type_nTcKIyH) && type_nTcKIyH.constructor !== Array) + if (isSet(type_lqwvXLl) && type_lqwvXLl.constructor !== Array) { - var temp_nTcKIyH = type_nTcKIyH; - var type_nTcKIyH = []; - type_nTcKIyH.push(temp_nTcKIyH); + var temp_lqwvXLl = type_lqwvXLl; + var type_lqwvXLl = []; + type_lqwvXLl.push(temp_lqwvXLl); } - else if (!isSet(type_nTcKIyH)) + else if (!isSet(type_lqwvXLl)) { - var type_nTcKIyH = []; + var type_lqwvXLl = []; } - var type = type_nTcKIyH.some(type_nTcKIyH_SomeFunc); + var type = type_lqwvXLl.some(type_lqwvXLl_SomeFunc); // set this function logic if (type) { jQuery('#jform_content-lbl').closest('.control-group').show(); - if (jform_nTcKIyHauT_required) + if (jform_lqwvXLlfpw_required) { updateFieldRequired('content',0); jQuery('#jform_content').prop('required','required'); jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_content').addClass('required'); - jform_nTcKIyHauT_required = false; + jform_lqwvXLlfpw_required = false; } } else { jQuery('#jform_content-lbl').closest('.control-group').hide(); - if (!jform_nTcKIyHauT_required) + if (!jform_lqwvXLlfpw_required) { updateFieldRequired('content',1); jQuery('#jform_content').removeAttr('required'); jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_content').removeClass('required'); - jform_nTcKIyHauT_required = true; + jform_lqwvXLlfpw_required = true; } } } -// the nTcKIyH Some function -function type_nTcKIyH_SomeFunc(type_nTcKIyH) +// the lqwvXLl Some function +function type_lqwvXLl_SomeFunc(type_lqwvXLl) { // set the function logic - if (type_nTcKIyH == 2) + if (type_lqwvXLl == 2) { return true; } return false; } -// the ZabAQNC function -function ZabAQNC(target_ZabAQNC) +// the XjiRdPO function +function XjiRdPO(target_XjiRdPO) { // set the function logic - if (target_ZabAQNC == 1) + if (target_XjiRdPO == 1) { jQuery('#jform_groups').closest('.control-group').show(); - if (jform_ZabAQNCGdM_required) + if (jform_XjiRdPOkBn_required) { updateFieldRequired('groups',0); jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').addClass('required'); - jform_ZabAQNCGdM_required = false; + jform_XjiRdPOkBn_required = false; } } else { jQuery('#jform_groups').closest('.control-group').hide(); - if (!jform_ZabAQNCGdM_required) + if (!jform_XjiRdPOkBn_required) { updateFieldRequired('groups',1); jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeClass('required'); - jform_ZabAQNCGdM_required = true; + jform_XjiRdPOkBn_required = true; } } } diff --git a/admin/models/forms/layout.js b/admin/models/forms/layout.js index 28a57bc57..ea6b68c7b 100644 --- a/admin/models/forms/layout.js +++ b/admin/models/forms/layout.js @@ -24,42 +24,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_mLAQvUMcgr_required = false; +jform_VndZSVzKgm_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_mLAQvUM = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - mLAQvUM(add_php_view_mLAQvUM); + var add_php_view_VndZSVz = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + VndZSVz(add_php_view_VndZSVz); }); -// the mLAQvUM function -function mLAQvUM(add_php_view_mLAQvUM) +// the VndZSVz function +function VndZSVz(add_php_view_VndZSVz) { // set the function logic - if (add_php_view_mLAQvUM == 1) + if (add_php_view_VndZSVz == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_mLAQvUMcgr_required) + if (jform_VndZSVzKgm_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_mLAQvUMcgr_required = false; + jform_VndZSVzKgm_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_mLAQvUMcgr_required) + if (!jform_VndZSVzKgm_required) { updateFieldRequired('php_view',1); jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeClass('required'); - jform_mLAQvUMcgr_required = true; + jform_VndZSVzKgm_required = true; } } } diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js index b8bc39939..b5ef87b8b 100644 --- a/admin/models/forms/site_view.js +++ b/admin/models/forms/site_view.js @@ -24,280 +24,280 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_IvRigeuhqk_required = false; -jform_EOOOTUHyVu_required = false; -jform_QtprMsBfjA_required = false; -jform_uOdqWouquI_required = false; -jform_BYwkKxfuPZ_required = false; -jform_LImVaauBfx_required = false; -jform_iHnqTlCjwQ_required = false; -jform_VYPAiFQmVz_required = false; -jform_rzkzDkzRNM_required = false; -jform_rzkzDkzuYm_required = false; +jform_qYcIlrfhOg_required = false; +jform_jiuJGGdFUL_required = false; +jform_zijVOOJejf_required = false; +jform_AAcKitWlBG_required = false; +jform_qEQSrxDDiz_required = false; +jform_hBGxDwggzm_required = false; +jform_kaIrLRIAfc_required = false; +jform_mDLenfJQGP_required = false; +jform_pJsQgWhldz_required = false; +jform_pJsQgWhFsA_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_IvRigeu = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - IvRigeu(add_php_view_IvRigeu); + var add_php_view_qYcIlrf = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + qYcIlrf(add_php_view_qYcIlrf); - var add_php_jview_display_EOOOTUH = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - EOOOTUH(add_php_jview_display_EOOOTUH); + var add_php_jview_display_jiuJGGd = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + jiuJGGd(add_php_jview_display_jiuJGGd); - var add_php_jview_QtprMsB = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - QtprMsB(add_php_jview_QtprMsB); + var add_php_jview_zijVOOJ = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + zijVOOJ(add_php_jview_zijVOOJ); - var add_php_document_uOdqWou = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - uOdqWou(add_php_document_uOdqWou); + var add_php_document_AAcKitW = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + AAcKitW(add_php_document_AAcKitW); - var add_css_document_BYwkKxf = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - BYwkKxf(add_css_document_BYwkKxf); + var add_css_document_qEQSrxD = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + qEQSrxD(add_css_document_qEQSrxD); - var add_js_document_LImVaau = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - LImVaau(add_js_document_LImVaau); + var add_js_document_hBGxDwg = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + hBGxDwg(add_js_document_hBGxDwg); - var add_css_iHnqTlC = jQuery("#jform_add_css input[type='radio']:checked").val(); - iHnqTlC(add_css_iHnqTlC); + var add_css_kaIrLRI = jQuery("#jform_add_css input[type='radio']:checked").val(); + kaIrLRI(add_css_kaIrLRI); - var add_php_ajax_VYPAiFQ = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - VYPAiFQ(add_php_ajax_VYPAiFQ); + var add_php_ajax_mDLenfJ = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + mDLenfJ(add_php_ajax_mDLenfJ); - var add_custom_button_rzkzDkz = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - rzkzDkz(add_custom_button_rzkzDkz); + var add_custom_button_pJsQgWh = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + pJsQgWh(add_custom_button_pJsQgWh); }); -// the IvRigeu function -function IvRigeu(add_php_view_IvRigeu) +// the qYcIlrf function +function qYcIlrf(add_php_view_qYcIlrf) { // set the function logic - if (add_php_view_IvRigeu == 1) + if (add_php_view_qYcIlrf == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_IvRigeuhqk_required) + if (jform_qYcIlrfhOg_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_IvRigeuhqk_required = false; + jform_qYcIlrfhOg_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_IvRigeuhqk_required) + if (!jform_qYcIlrfhOg_required) { updateFieldRequired('php_view',1); jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeClass('required'); - jform_IvRigeuhqk_required = true; + jform_qYcIlrfhOg_required = true; } } } -// the EOOOTUH function -function EOOOTUH(add_php_jview_display_EOOOTUH) +// the jiuJGGd function +function jiuJGGd(add_php_jview_display_jiuJGGd) { // set the function logic - if (add_php_jview_display_EOOOTUH == 1) + if (add_php_jview_display_jiuJGGd == 1) { jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_EOOOTUHyVu_required) + if (jform_jiuJGGdFUL_required) { updateFieldRequired('php_jview_display',0); jQuery('#jform_php_jview_display').prop('required','required'); jQuery('#jform_php_jview_display').attr('aria-required',true); jQuery('#jform_php_jview_display').addClass('required'); - jform_EOOOTUHyVu_required = false; + jform_jiuJGGdFUL_required = false; } } else { jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_EOOOTUHyVu_required) + if (!jform_jiuJGGdFUL_required) { updateFieldRequired('php_jview_display',1); jQuery('#jform_php_jview_display').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeClass('required'); - jform_EOOOTUHyVu_required = true; + jform_jiuJGGdFUL_required = true; } } } -// the QtprMsB function -function QtprMsB(add_php_jview_QtprMsB) +// the zijVOOJ function +function zijVOOJ(add_php_jview_zijVOOJ) { // set the function logic - if (add_php_jview_QtprMsB == 1) + if (add_php_jview_zijVOOJ == 1) { jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_QtprMsBfjA_required) + if (jform_zijVOOJejf_required) { updateFieldRequired('php_jview',0); jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview').addClass('required'); - jform_QtprMsBfjA_required = false; + jform_zijVOOJejf_required = false; } } else { jQuery('#jform_php_jview').closest('.control-group').hide(); - if (!jform_QtprMsBfjA_required) + if (!jform_zijVOOJejf_required) { updateFieldRequired('php_jview',1); jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview').removeClass('required'); - jform_QtprMsBfjA_required = true; + jform_zijVOOJejf_required = true; } } } -// the uOdqWou function -function uOdqWou(add_php_document_uOdqWou) +// the AAcKitW function +function AAcKitW(add_php_document_AAcKitW) { // set the function logic - if (add_php_document_uOdqWou == 1) + if (add_php_document_AAcKitW == 1) { jQuery('#jform_php_document').closest('.control-group').show(); - if (jform_uOdqWouquI_required) + if (jform_AAcKitWlBG_required) { updateFieldRequired('php_document',0); jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_document').addClass('required'); - jform_uOdqWouquI_required = false; + jform_AAcKitWlBG_required = false; } } else { jQuery('#jform_php_document').closest('.control-group').hide(); - if (!jform_uOdqWouquI_required) + if (!jform_AAcKitWlBG_required) { updateFieldRequired('php_document',1); jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeClass('required'); - jform_uOdqWouquI_required = true; + jform_AAcKitWlBG_required = true; } } } -// the BYwkKxf function -function BYwkKxf(add_css_document_BYwkKxf) +// the qEQSrxD function +function qEQSrxD(add_css_document_qEQSrxD) { // set the function logic - if (add_css_document_BYwkKxf == 1) + if (add_css_document_qEQSrxD == 1) { jQuery('#jform_css_document').closest('.control-group').show(); - if (jform_BYwkKxfuPZ_required) + if (jform_qEQSrxDDiz_required) { updateFieldRequired('css_document',0); jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_css_document').addClass('required'); - jform_BYwkKxfuPZ_required = false; + jform_qEQSrxDDiz_required = false; } } else { jQuery('#jform_css_document').closest('.control-group').hide(); - if (!jform_BYwkKxfuPZ_required) + if (!jform_qEQSrxDDiz_required) { updateFieldRequired('css_document',1); jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeClass('required'); - jform_BYwkKxfuPZ_required = true; + jform_qEQSrxDDiz_required = true; } } } -// the LImVaau function -function LImVaau(add_js_document_LImVaau) +// the hBGxDwg function +function hBGxDwg(add_js_document_hBGxDwg) { // set the function logic - if (add_js_document_LImVaau == 1) + if (add_js_document_hBGxDwg == 1) { jQuery('#jform_js_document').closest('.control-group').show(); - if (jform_LImVaauBfx_required) + if (jform_hBGxDwggzm_required) { updateFieldRequired('js_document',0); jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_js_document').addClass('required'); - jform_LImVaauBfx_required = false; + jform_hBGxDwggzm_required = false; } } else { jQuery('#jform_js_document').closest('.control-group').hide(); - if (!jform_LImVaauBfx_required) + if (!jform_hBGxDwggzm_required) { updateFieldRequired('js_document',1); jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_js_document').removeClass('required'); - jform_LImVaauBfx_required = true; + jform_hBGxDwggzm_required = true; } } } -// the iHnqTlC function -function iHnqTlC(add_css_iHnqTlC) +// the kaIrLRI function +function kaIrLRI(add_css_kaIrLRI) { // set the function logic - if (add_css_iHnqTlC == 1) + if (add_css_kaIrLRI == 1) { jQuery('#jform_css').closest('.control-group').show(); - if (jform_iHnqTlCjwQ_required) + if (jform_kaIrLRIAfc_required) { updateFieldRequired('css',0); jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').addClass('required'); - jform_iHnqTlCjwQ_required = false; + jform_kaIrLRIAfc_required = false; } } else { jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_iHnqTlCjwQ_required) + if (!jform_kaIrLRIAfc_required) { updateFieldRequired('css',1); jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeClass('required'); - jform_iHnqTlCjwQ_required = true; + jform_kaIrLRIAfc_required = true; } } } -// the VYPAiFQ function -function VYPAiFQ(add_php_ajax_VYPAiFQ) +// the mDLenfJ function +function mDLenfJ(add_php_ajax_mDLenfJ) { // set the function logic - if (add_php_ajax_VYPAiFQ == 1) + if (add_php_ajax_mDLenfJ == 1) { jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_VYPAiFQmVz_required) + if (jform_mDLenfJQGP_required) { updateFieldRequired('php_ajaxmethod',0); jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').addClass('required'); - jform_VYPAiFQmVz_required = false; + jform_mDLenfJQGP_required = false; } } @@ -305,42 +305,42 @@ function VYPAiFQ(add_php_ajax_VYPAiFQ) { jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_VYPAiFQmVz_required) + if (!jform_mDLenfJQGP_required) { updateFieldRequired('php_ajaxmethod',1); jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeClass('required'); - jform_VYPAiFQmVz_required = true; + jform_mDLenfJQGP_required = true; } } } -// the rzkzDkz function -function rzkzDkz(add_custom_button_rzkzDkz) +// the pJsQgWh function +function pJsQgWh(add_custom_button_pJsQgWh) { // set the function logic - if (add_custom_button_rzkzDkz == 1) + if (add_custom_button_pJsQgWh == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_rzkzDkzRNM_required) + if (jform_pJsQgWhldz_required) { updateFieldRequired('php_controller',0); jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').addClass('required'); - jform_rzkzDkzRNM_required = false; + jform_pJsQgWhldz_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_rzkzDkzuYm_required) + if (jform_pJsQgWhFsA_required) { updateFieldRequired('php_model',0); jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').addClass('required'); - jform_rzkzDkzuYm_required = false; + jform_pJsQgWhFsA_required = false; } } @@ -348,22 +348,22 @@ function rzkzDkz(add_custom_button_rzkzDkz) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_rzkzDkzRNM_required) + if (!jform_pJsQgWhldz_required) { updateFieldRequired('php_controller',1); jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeClass('required'); - jform_rzkzDkzRNM_required = true; + jform_pJsQgWhldz_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_rzkzDkzuYm_required) + if (!jform_pJsQgWhFsA_required) { updateFieldRequired('php_model',1); jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeClass('required'); - jform_rzkzDkzuYm_required = true; + jform_pJsQgWhFsA_required = true; } } } diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js index 142d02821..89175e0f2 100644 --- a/admin/models/forms/template.js +++ b/admin/models/forms/template.js @@ -24,42 +24,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_FliVHozDqy_required = false; +jform_qHphiPloeJ_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_FliVHoz = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - FliVHoz(add_php_view_FliVHoz); + var add_php_view_qHphiPl = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + qHphiPl(add_php_view_qHphiPl); }); -// the FliVHoz function -function FliVHoz(add_php_view_FliVHoz) +// the qHphiPl function +function qHphiPl(add_php_view_qHphiPl) { // set the function logic - if (add_php_view_FliVHoz == 1) + if (add_php_view_qHphiPl == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_FliVHozDqy_required) + if (jform_qHphiPloeJ_required) { updateFieldRequired('php_view',0); jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').addClass('required'); - jform_FliVHozDqy_required = false; + jform_qHphiPloeJ_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_FliVHozDqy_required) + if (!jform_qHphiPloeJ_required) { updateFieldRequired('php_view',1); jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeClass('required'); - jform_FliVHozDqy_required = true; + jform_qHphiPloeJ_required = true; } } } diff --git a/admin/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php index c1fc395ea..49ba5f3cf 100644 --- a/admin/views/admin_view/tmpl/edit.php +++ b/admin/views/admin_view/tmpl/edit.php @@ -153,341 +153,341 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_add_css_view listeners for add_css_view_aASEiTH function +// #jform_add_css_view listeners for add_css_view_rQzycJD function jQuery('#jform_add_css_view').on('keyup',function() { - var add_css_view_aASEiTH = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - aASEiTH(add_css_view_aASEiTH); + var add_css_view_rQzycJD = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + rQzycJD(add_css_view_rQzycJD); }); jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) { e.preventDefault(); - var add_css_view_aASEiTH = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - aASEiTH(add_css_view_aASEiTH); + var add_css_view_rQzycJD = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + rQzycJD(add_css_view_rQzycJD); }); -// #jform_add_css_views listeners for add_css_views_OWnFeva function +// #jform_add_css_views listeners for add_css_views_NVyUjxP function jQuery('#jform_add_css_views').on('keyup',function() { - var add_css_views_OWnFeva = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - OWnFeva(add_css_views_OWnFeva); + var add_css_views_NVyUjxP = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + NVyUjxP(add_css_views_NVyUjxP); }); jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) { e.preventDefault(); - var add_css_views_OWnFeva = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - OWnFeva(add_css_views_OWnFeva); + var add_css_views_NVyUjxP = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + NVyUjxP(add_css_views_NVyUjxP); }); -// #jform_add_javascript_view_file listeners for add_javascript_view_file_IvKaMNy function +// #jform_add_javascript_view_file listeners for add_javascript_view_file_tgVPzLI function jQuery('#jform_add_javascript_view_file').on('keyup',function() { - var add_javascript_view_file_IvKaMNy = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - IvKaMNy(add_javascript_view_file_IvKaMNy); + var add_javascript_view_file_tgVPzLI = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + tgVPzLI(add_javascript_view_file_tgVPzLI); }); jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e) { e.preventDefault(); - var add_javascript_view_file_IvKaMNy = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - IvKaMNy(add_javascript_view_file_IvKaMNy); + var add_javascript_view_file_tgVPzLI = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + tgVPzLI(add_javascript_view_file_tgVPzLI); }); -// #jform_add_javascript_views_file listeners for add_javascript_views_file_nTwfxyZ function +// #jform_add_javascript_views_file listeners for add_javascript_views_file_dRcvpeh function jQuery('#jform_add_javascript_views_file').on('keyup',function() { - var add_javascript_views_file_nTwfxyZ = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - nTwfxyZ(add_javascript_views_file_nTwfxyZ); + var add_javascript_views_file_dRcvpeh = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + dRcvpeh(add_javascript_views_file_dRcvpeh); }); jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e) { e.preventDefault(); - var add_javascript_views_file_nTwfxyZ = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - nTwfxyZ(add_javascript_views_file_nTwfxyZ); + var add_javascript_views_file_dRcvpeh = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + dRcvpeh(add_javascript_views_file_dRcvpeh); }); -// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_FeONESo function +// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_FmmXiuC function jQuery('#jform_add_javascript_view_footer').on('keyup',function() { - var add_javascript_view_footer_FeONESo = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - FeONESo(add_javascript_view_footer_FeONESo); + var add_javascript_view_footer_FmmXiuC = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + FmmXiuC(add_javascript_view_footer_FmmXiuC); }); jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) { e.preventDefault(); - var add_javascript_view_footer_FeONESo = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - FeONESo(add_javascript_view_footer_FeONESo); + var add_javascript_view_footer_FmmXiuC = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + FmmXiuC(add_javascript_view_footer_FmmXiuC); }); -// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_EIyrCri function +// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_Dxxsteg function jQuery('#jform_add_javascript_views_footer').on('keyup',function() { - var add_javascript_views_footer_EIyrCri = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - EIyrCri(add_javascript_views_footer_EIyrCri); + var add_javascript_views_footer_Dxxsteg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + Dxxsteg(add_javascript_views_footer_Dxxsteg); }); jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) { e.preventDefault(); - var add_javascript_views_footer_EIyrCri = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - EIyrCri(add_javascript_views_footer_EIyrCri); + var add_javascript_views_footer_Dxxsteg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + Dxxsteg(add_javascript_views_footer_Dxxsteg); }); -// #jform_add_php_ajax listeners for add_php_ajax_PZWgdCM function +// #jform_add_php_ajax listeners for add_php_ajax_jtxpPKp function jQuery('#jform_add_php_ajax').on('keyup',function() { - var add_php_ajax_PZWgdCM = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - PZWgdCM(add_php_ajax_PZWgdCM); + var add_php_ajax_jtxpPKp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + jtxpPKp(add_php_ajax_jtxpPKp); }); jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) { e.preventDefault(); - var add_php_ajax_PZWgdCM = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - PZWgdCM(add_php_ajax_PZWgdCM); + var add_php_ajax_jtxpPKp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + jtxpPKp(add_php_ajax_jtxpPKp); }); -// #jform_add_php_getitem listeners for add_php_getitem_VpiFYNy function +// #jform_add_php_getitem listeners for add_php_getitem_uchCard function jQuery('#jform_add_php_getitem').on('keyup',function() { - var add_php_getitem_VpiFYNy = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - VpiFYNy(add_php_getitem_VpiFYNy); + var add_php_getitem_uchCard = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + uchCard(add_php_getitem_uchCard); }); jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e) { e.preventDefault(); - var add_php_getitem_VpiFYNy = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - VpiFYNy(add_php_getitem_VpiFYNy); + var add_php_getitem_uchCard = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + uchCard(add_php_getitem_uchCard); }); -// #jform_add_php_getitems listeners for add_php_getitems_lfbQvKd function +// #jform_add_php_getitems listeners for add_php_getitems_THMxfbv function jQuery('#jform_add_php_getitems').on('keyup',function() { - var add_php_getitems_lfbQvKd = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - lfbQvKd(add_php_getitems_lfbQvKd); + var add_php_getitems_THMxfbv = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + THMxfbv(add_php_getitems_THMxfbv); }); jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e) { e.preventDefault(); - var add_php_getitems_lfbQvKd = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - lfbQvKd(add_php_getitems_lfbQvKd); + var add_php_getitems_THMxfbv = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + THMxfbv(add_php_getitems_THMxfbv); }); -// #jform_add_php_getlistquery listeners for add_php_getlistquery_IuTLHWf function +// #jform_add_php_getlistquery listeners for add_php_getlistquery_VgczrTk function jQuery('#jform_add_php_getlistquery').on('keyup',function() { - var add_php_getlistquery_IuTLHWf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - IuTLHWf(add_php_getlistquery_IuTLHWf); + var add_php_getlistquery_VgczrTk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + VgczrTk(add_php_getlistquery_VgczrTk); }); jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) { e.preventDefault(); - var add_php_getlistquery_IuTLHWf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - IuTLHWf(add_php_getlistquery_IuTLHWf); + var add_php_getlistquery_VgczrTk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + VgczrTk(add_php_getlistquery_VgczrTk); }); -// #jform_add_php_save listeners for add_php_save_uSdCybp function +// #jform_add_php_save listeners for add_php_save_CeJJNJb function jQuery('#jform_add_php_save').on('keyup',function() { - var add_php_save_uSdCybp = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - uSdCybp(add_php_save_uSdCybp); + var add_php_save_CeJJNJb = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + CeJJNJb(add_php_save_CeJJNJb); }); jQuery('#adminForm').on('change', '#jform_add_php_save',function (e) { e.preventDefault(); - var add_php_save_uSdCybp = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - uSdCybp(add_php_save_uSdCybp); + var add_php_save_CeJJNJb = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + CeJJNJb(add_php_save_CeJJNJb); }); -// #jform_add_php_postsavehook listeners for add_php_postsavehook_wCOElqi function +// #jform_add_php_postsavehook listeners for add_php_postsavehook_adWJueO function jQuery('#jform_add_php_postsavehook').on('keyup',function() { - var add_php_postsavehook_wCOElqi = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - wCOElqi(add_php_postsavehook_wCOElqi); + var add_php_postsavehook_adWJueO = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + adWJueO(add_php_postsavehook_adWJueO); }); jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e) { e.preventDefault(); - var add_php_postsavehook_wCOElqi = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - wCOElqi(add_php_postsavehook_wCOElqi); + var add_php_postsavehook_adWJueO = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + adWJueO(add_php_postsavehook_adWJueO); }); -// #jform_add_php_allowedit listeners for add_php_allowedit_nJmcmSY function +// #jform_add_php_allowedit listeners for add_php_allowedit_FkSMImy function jQuery('#jform_add_php_allowedit').on('keyup',function() { - var add_php_allowedit_nJmcmSY = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - nJmcmSY(add_php_allowedit_nJmcmSY); + var add_php_allowedit_FkSMImy = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + FkSMImy(add_php_allowedit_FkSMImy); }); jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e) { e.preventDefault(); - var add_php_allowedit_nJmcmSY = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - nJmcmSY(add_php_allowedit_nJmcmSY); + var add_php_allowedit_FkSMImy = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + FkSMImy(add_php_allowedit_FkSMImy); }); -// #jform_add_php_batchcopy listeners for add_php_batchcopy_kvPrXqt function +// #jform_add_php_batchcopy listeners for add_php_batchcopy_vFtjrkX function jQuery('#jform_add_php_batchcopy').on('keyup',function() { - var add_php_batchcopy_kvPrXqt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - kvPrXqt(add_php_batchcopy_kvPrXqt); + var add_php_batchcopy_vFtjrkX = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + vFtjrkX(add_php_batchcopy_vFtjrkX); }); jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e) { e.preventDefault(); - var add_php_batchcopy_kvPrXqt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - kvPrXqt(add_php_batchcopy_kvPrXqt); + var add_php_batchcopy_vFtjrkX = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + vFtjrkX(add_php_batchcopy_vFtjrkX); }); -// #jform_add_php_batchmove listeners for add_php_batchmove_UXaEDlT function +// #jform_add_php_batchmove listeners for add_php_batchmove_KbpAOHF function jQuery('#jform_add_php_batchmove').on('keyup',function() { - var add_php_batchmove_UXaEDlT = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - UXaEDlT(add_php_batchmove_UXaEDlT); + var add_php_batchmove_KbpAOHF = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + KbpAOHF(add_php_batchmove_KbpAOHF); }); jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e) { e.preventDefault(); - var add_php_batchmove_UXaEDlT = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - UXaEDlT(add_php_batchmove_UXaEDlT); + var add_php_batchmove_KbpAOHF = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + KbpAOHF(add_php_batchmove_KbpAOHF); }); -// #jform_add_php_before_delete listeners for add_php_before_delete_wOtPSMK function +// #jform_add_php_before_delete listeners for add_php_before_delete_psfhZIr function jQuery('#jform_add_php_before_delete').on('keyup',function() { - var add_php_before_delete_wOtPSMK = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - wOtPSMK(add_php_before_delete_wOtPSMK); + var add_php_before_delete_psfhZIr = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + psfhZIr(add_php_before_delete_psfhZIr); }); jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e) { e.preventDefault(); - var add_php_before_delete_wOtPSMK = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - wOtPSMK(add_php_before_delete_wOtPSMK); + var add_php_before_delete_psfhZIr = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + psfhZIr(add_php_before_delete_psfhZIr); }); -// #jform_add_php_after_delete listeners for add_php_after_delete_KumAJlX function +// #jform_add_php_after_delete listeners for add_php_after_delete_TYdsiDC function jQuery('#jform_add_php_after_delete').on('keyup',function() { - var add_php_after_delete_KumAJlX = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - KumAJlX(add_php_after_delete_KumAJlX); + var add_php_after_delete_TYdsiDC = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + TYdsiDC(add_php_after_delete_TYdsiDC); }); jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e) { e.preventDefault(); - var add_php_after_delete_KumAJlX = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - KumAJlX(add_php_after_delete_KumAJlX); + var add_php_after_delete_TYdsiDC = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + TYdsiDC(add_php_after_delete_TYdsiDC); }); -// #jform_add_sql listeners for add_sql_CupCYRJ function +// #jform_add_sql listeners for add_sql_mGwyirl function jQuery('#jform_add_sql').on('keyup',function() { - var add_sql_CupCYRJ = jQuery("#jform_add_sql input[type='radio']:checked").val(); - CupCYRJ(add_sql_CupCYRJ); + var add_sql_mGwyirl = jQuery("#jform_add_sql input[type='radio']:checked").val(); + mGwyirl(add_sql_mGwyirl); }); jQuery('#adminForm').on('change', '#jform_add_sql',function (e) { e.preventDefault(); - var add_sql_CupCYRJ = jQuery("#jform_add_sql input[type='radio']:checked").val(); - CupCYRJ(add_sql_CupCYRJ); + var add_sql_mGwyirl = jQuery("#jform_add_sql input[type='radio']:checked").val(); + mGwyirl(add_sql_mGwyirl); }); -// #jform_source listeners for source_LbggPZS function +// #jform_source listeners for source_NcnSjiB function jQuery('#jform_source').on('keyup',function() { - var source_LbggPZS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_LbggPZS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - LbggPZS(source_LbggPZS,add_sql_LbggPZS); + var source_NcnSjiB = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_NcnSjiB = jQuery("#jform_add_sql input[type='radio']:checked").val(); + NcnSjiB(source_NcnSjiB,add_sql_NcnSjiB); }); jQuery('#adminForm').on('change', '#jform_source',function (e) { e.preventDefault(); - var source_LbggPZS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_LbggPZS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - LbggPZS(source_LbggPZS,add_sql_LbggPZS); + var source_NcnSjiB = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_NcnSjiB = jQuery("#jform_add_sql input[type='radio']:checked").val(); + NcnSjiB(source_NcnSjiB,add_sql_NcnSjiB); }); -// #jform_add_sql listeners for add_sql_LbggPZS function +// #jform_add_sql listeners for add_sql_NcnSjiB function jQuery('#jform_add_sql').on('keyup',function() { - var source_LbggPZS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_LbggPZS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - LbggPZS(source_LbggPZS,add_sql_LbggPZS); + var source_NcnSjiB = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_NcnSjiB = jQuery("#jform_add_sql input[type='radio']:checked").val(); + NcnSjiB(source_NcnSjiB,add_sql_NcnSjiB); }); jQuery('#adminForm').on('change', '#jform_add_sql',function (e) { e.preventDefault(); - var source_LbggPZS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_LbggPZS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - LbggPZS(source_LbggPZS,add_sql_LbggPZS); + var source_NcnSjiB = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_NcnSjiB = jQuery("#jform_add_sql input[type='radio']:checked").val(); + NcnSjiB(source_NcnSjiB,add_sql_NcnSjiB); }); -// #jform_source listeners for source_eRrvtIS function +// #jform_source listeners for source_qrDRMdq function jQuery('#jform_source').on('keyup',function() { - var source_eRrvtIS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_eRrvtIS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - eRrvtIS(source_eRrvtIS,add_sql_eRrvtIS); + var source_qrDRMdq = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_qrDRMdq = jQuery("#jform_add_sql input[type='radio']:checked").val(); + qrDRMdq(source_qrDRMdq,add_sql_qrDRMdq); }); jQuery('#adminForm').on('change', '#jform_source',function (e) { e.preventDefault(); - var source_eRrvtIS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_eRrvtIS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - eRrvtIS(source_eRrvtIS,add_sql_eRrvtIS); + var source_qrDRMdq = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_qrDRMdq = jQuery("#jform_add_sql input[type='radio']:checked").val(); + qrDRMdq(source_qrDRMdq,add_sql_qrDRMdq); }); -// #jform_add_sql listeners for add_sql_eRrvtIS function +// #jform_add_sql listeners for add_sql_qrDRMdq function jQuery('#jform_add_sql').on('keyup',function() { - var source_eRrvtIS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_eRrvtIS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - eRrvtIS(source_eRrvtIS,add_sql_eRrvtIS); + var source_qrDRMdq = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_qrDRMdq = jQuery("#jform_add_sql input[type='radio']:checked").val(); + qrDRMdq(source_qrDRMdq,add_sql_qrDRMdq); }); jQuery('#adminForm').on('change', '#jform_add_sql',function (e) { e.preventDefault(); - var source_eRrvtIS = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_eRrvtIS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - eRrvtIS(source_eRrvtIS,add_sql_eRrvtIS); + var source_qrDRMdq = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_qrDRMdq = jQuery("#jform_add_sql input[type='radio']:checked").val(); + qrDRMdq(source_qrDRMdq,add_sql_qrDRMdq); }); diff --git a/admin/views/admin_view/view.html.php b/admin/views/admin_view/view.html.php index d99d8f32c..5bbc51314 100644 --- a/admin/views/admin_view/view.html.php +++ b/admin/views/admin_view/view.html.php @@ -72,7 +72,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy } // Get Linked view data - $this->flcfields = $this->get('Flcfields'); + $this->nwbfields = $this->get('Nwbfields'); // Set the toolbar $this->addToolBar(); diff --git a/admin/views/component/tmpl/edit.php b/admin/views/component/tmpl/edit.php index 530796991..b734c1a49 100644 --- a/admin/views/component/tmpl/edit.php +++ b/admin/views/component/tmpl/edit.php @@ -135,168 +135,168 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_add_php_helper_admin listeners for add_php_helper_admin_TrtGyXE function +// #jform_add_php_helper_admin listeners for add_php_helper_admin_smGPrVG function jQuery('#jform_add_php_helper_admin').on('keyup',function() { - var add_php_helper_admin_TrtGyXE = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); - TrtGyXE(add_php_helper_admin_TrtGyXE); + var add_php_helper_admin_smGPrVG = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); + smGPrVG(add_php_helper_admin_smGPrVG); }); jQuery('#adminForm').on('change', '#jform_add_php_helper_admin',function (e) { e.preventDefault(); - var add_php_helper_admin_TrtGyXE = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); - TrtGyXE(add_php_helper_admin_TrtGyXE); + var add_php_helper_admin_smGPrVG = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); + smGPrVG(add_php_helper_admin_smGPrVG); }); -// #jform_add_php_helper_site listeners for add_php_helper_site_glKLttx function +// #jform_add_php_helper_site listeners for add_php_helper_site_LhFLVtj function jQuery('#jform_add_php_helper_site').on('keyup',function() { - var add_php_helper_site_glKLttx = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); - glKLttx(add_php_helper_site_glKLttx); + var add_php_helper_site_LhFLVtj = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); + LhFLVtj(add_php_helper_site_LhFLVtj); }); jQuery('#adminForm').on('change', '#jform_add_php_helper_site',function (e) { e.preventDefault(); - var add_php_helper_site_glKLttx = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); - glKLttx(add_php_helper_site_glKLttx); + var add_php_helper_site_LhFLVtj = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); + LhFLVtj(add_php_helper_site_LhFLVtj); }); -// #jform_add_css listeners for add_css_UoyMAge function +// #jform_add_css listeners for add_css_DRykWOm function jQuery('#jform_add_css').on('keyup',function() { - var add_css_UoyMAge = jQuery("#jform_add_css input[type='radio']:checked").val(); - UoyMAge(add_css_UoyMAge); + var add_css_DRykWOm = jQuery("#jform_add_css input[type='radio']:checked").val(); + DRykWOm(add_css_DRykWOm); }); jQuery('#adminForm').on('change', '#jform_add_css',function (e) { e.preventDefault(); - var add_css_UoyMAge = jQuery("#jform_add_css input[type='radio']:checked").val(); - UoyMAge(add_css_UoyMAge); + var add_css_DRykWOm = jQuery("#jform_add_css input[type='radio']:checked").val(); + DRykWOm(add_css_DRykWOm); }); -// #jform_add_sql listeners for add_sql_uafUHLS function +// #jform_add_sql listeners for add_sql_HKmgEMc function jQuery('#jform_add_sql').on('keyup',function() { - var add_sql_uafUHLS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - uafUHLS(add_sql_uafUHLS); + var add_sql_HKmgEMc = jQuery("#jform_add_sql input[type='radio']:checked").val(); + HKmgEMc(add_sql_HKmgEMc); }); jQuery('#adminForm').on('change', '#jform_add_sql',function (e) { e.preventDefault(); - var add_sql_uafUHLS = jQuery("#jform_add_sql input[type='radio']:checked").val(); - uafUHLS(add_sql_uafUHLS); + var add_sql_HKmgEMc = jQuery("#jform_add_sql input[type='radio']:checked").val(); + HKmgEMc(add_sql_HKmgEMc); }); -// #jform_emptycontributors listeners for emptycontributors_JsDwYRW function +// #jform_emptycontributors listeners for emptycontributors_qsPUZMo function jQuery('#jform_emptycontributors').on('keyup',function() { - var emptycontributors_JsDwYRW = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); - JsDwYRW(emptycontributors_JsDwYRW); + var emptycontributors_qsPUZMo = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); + qsPUZMo(emptycontributors_qsPUZMo); }); jQuery('#adminForm').on('change', '#jform_emptycontributors',function (e) { e.preventDefault(); - var emptycontributors_JsDwYRW = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); - JsDwYRW(emptycontributors_JsDwYRW); + var emptycontributors_qsPUZMo = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); + qsPUZMo(emptycontributors_qsPUZMo); }); -// #jform_add_license listeners for add_license_oPksIyQ function +// #jform_add_license listeners for add_license_kqngNhM function jQuery('#jform_add_license').on('keyup',function() { - var add_license_oPksIyQ = jQuery("#jform_add_license input[type='radio']:checked").val(); - oPksIyQ(add_license_oPksIyQ); + var add_license_kqngNhM = jQuery("#jform_add_license input[type='radio']:checked").val(); + kqngNhM(add_license_kqngNhM); }); jQuery('#adminForm').on('change', '#jform_add_license',function (e) { e.preventDefault(); - var add_license_oPksIyQ = jQuery("#jform_add_license input[type='radio']:checked").val(); - oPksIyQ(add_license_oPksIyQ); + var add_license_kqngNhM = jQuery("#jform_add_license input[type='radio']:checked").val(); + kqngNhM(add_license_kqngNhM); }); -// #jform_add_admin_event listeners for add_admin_event_yxemPfy function +// #jform_add_admin_event listeners for add_admin_event_ldWlGLF function jQuery('#jform_add_admin_event').on('keyup',function() { - var add_admin_event_yxemPfy = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); - yxemPfy(add_admin_event_yxemPfy); + var add_admin_event_ldWlGLF = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); + ldWlGLF(add_admin_event_ldWlGLF); }); jQuery('#adminForm').on('change', '#jform_add_admin_event',function (e) { e.preventDefault(); - var add_admin_event_yxemPfy = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); - yxemPfy(add_admin_event_yxemPfy); + var add_admin_event_ldWlGLF = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); + ldWlGLF(add_admin_event_ldWlGLF); }); -// #jform_add_site_event listeners for add_site_event_wSmOGAl function +// #jform_add_site_event listeners for add_site_event_UsUHGhz function jQuery('#jform_add_site_event').on('keyup',function() { - var add_site_event_wSmOGAl = jQuery("#jform_add_site_event input[type='radio']:checked").val(); - wSmOGAl(add_site_event_wSmOGAl); + var add_site_event_UsUHGhz = jQuery("#jform_add_site_event input[type='radio']:checked").val(); + UsUHGhz(add_site_event_UsUHGhz); }); jQuery('#adminForm').on('change', '#jform_add_site_event',function (e) { e.preventDefault(); - var add_site_event_wSmOGAl = jQuery("#jform_add_site_event input[type='radio']:checked").val(); - wSmOGAl(add_site_event_wSmOGAl); + var add_site_event_UsUHGhz = jQuery("#jform_add_site_event input[type='radio']:checked").val(); + UsUHGhz(add_site_event_UsUHGhz); }); -// #jform_addreadme listeners for addreadme_aTTjkCB function +// #jform_addreadme listeners for addreadme_Pwrgvhl function jQuery('#jform_addreadme').on('keyup',function() { - var addreadme_aTTjkCB = jQuery("#jform_addreadme input[type='radio']:checked").val(); - aTTjkCB(addreadme_aTTjkCB); + var addreadme_Pwrgvhl = jQuery("#jform_addreadme input[type='radio']:checked").val(); + Pwrgvhl(addreadme_Pwrgvhl); }); jQuery('#adminForm').on('change', '#jform_addreadme',function (e) { e.preventDefault(); - var addreadme_aTTjkCB = jQuery("#jform_addreadme input[type='radio']:checked").val(); - aTTjkCB(addreadme_aTTjkCB); + var addreadme_Pwrgvhl = jQuery("#jform_addreadme input[type='radio']:checked").val(); + Pwrgvhl(addreadme_Pwrgvhl); }); -// #jform_add_license listeners for add_license_YBYdUNk function +// #jform_add_license listeners for add_license_FosHHdm function jQuery('#jform_add_license').on('keyup',function() { - var add_license_YBYdUNk = jQuery("#jform_add_license input[type='radio']:checked").val(); - YBYdUNk(add_license_YBYdUNk); + var add_license_FosHHdm = jQuery("#jform_add_license input[type='radio']:checked").val(); + FosHHdm(add_license_FosHHdm); }); jQuery('#adminForm').on('change', '#jform_add_license',function (e) { e.preventDefault(); - var add_license_YBYdUNk = jQuery("#jform_add_license input[type='radio']:checked").val(); - YBYdUNk(add_license_YBYdUNk); + var add_license_FosHHdm = jQuery("#jform_add_license input[type='radio']:checked").val(); + FosHHdm(add_license_FosHHdm); }); -// #jform_add_php_dashboard_methods listeners for add_php_dashboard_methods_mCTxZME function +// #jform_add_php_dashboard_methods listeners for add_php_dashboard_methods_fUDxPQl function jQuery('#jform_add_php_dashboard_methods').on('keyup',function() { - var add_php_dashboard_methods_mCTxZME = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); - mCTxZME(add_php_dashboard_methods_mCTxZME); + var add_php_dashboard_methods_fUDxPQl = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); + fUDxPQl(add_php_dashboard_methods_fUDxPQl); }); jQuery('#adminForm').on('change', '#jform_add_php_dashboard_methods',function (e) { e.preventDefault(); - var add_php_dashboard_methods_mCTxZME = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); - mCTxZME(add_php_dashboard_methods_mCTxZME); + var add_php_dashboard_methods_fUDxPQl = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); + fUDxPQl(add_php_dashboard_methods_fUDxPQl); }); diff --git a/admin/views/component/view.html.php b/admin/views/component/view.html.php index 34df28dd9..35f4fd5ca 100644 --- a/admin/views/component/view.html.php +++ b/admin/views/component/view.html.php @@ -72,10 +72,10 @@ class ComponentbuilderViewComponent extends JViewLegacy } // Get Linked view data - $this->bqoadmin_views = $this->get('Bqoadmin_views'); + $this->kqhadmin_views = $this->get('Kqhadmin_views'); // Get Linked view data - $this->gygsite_views = $this->get('Gygsite_views'); + $this->vewsite_views = $this->get('Vewsite_views'); // Set the toolbar $this->addToolBar(); diff --git a/admin/views/custom_admin_view/tmpl/edit.php b/admin/views/custom_admin_view/tmpl/edit.php index cbbd50135..a7a9d6b05 100644 --- a/admin/views/custom_admin_view/tmpl/edit.php +++ b/admin/views/custom_admin_view/tmpl/edit.php @@ -128,123 +128,123 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_add_php_view listeners for add_php_view_ldbeyRb function +// #jform_add_php_view listeners for add_php_view_EGQllEp function jQuery('#jform_add_php_view').on('keyup',function() { - var add_php_view_ldbeyRb = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - ldbeyRb(add_php_view_ldbeyRb); + var add_php_view_EGQllEp = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + EGQllEp(add_php_view_EGQllEp); }); jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) { e.preventDefault(); - var add_php_view_ldbeyRb = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - ldbeyRb(add_php_view_ldbeyRb); + var add_php_view_EGQllEp = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + EGQllEp(add_php_view_EGQllEp); }); -// #jform_add_php_jview_display listeners for add_php_jview_display_svkpzdE function +// #jform_add_php_jview_display listeners for add_php_jview_display_waMXqfv function jQuery('#jform_add_php_jview_display').on('keyup',function() { - var add_php_jview_display_svkpzdE = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - svkpzdE(add_php_jview_display_svkpzdE); + var add_php_jview_display_waMXqfv = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + waMXqfv(add_php_jview_display_waMXqfv); }); jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) { e.preventDefault(); - var add_php_jview_display_svkpzdE = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - svkpzdE(add_php_jview_display_svkpzdE); + var add_php_jview_display_waMXqfv = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + waMXqfv(add_php_jview_display_waMXqfv); }); -// #jform_add_php_jview listeners for add_php_jview_SkIGNjP function +// #jform_add_php_jview listeners for add_php_jview_IcKqGQI function jQuery('#jform_add_php_jview').on('keyup',function() { - var add_php_jview_SkIGNjP = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - SkIGNjP(add_php_jview_SkIGNjP); + var add_php_jview_IcKqGQI = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + IcKqGQI(add_php_jview_IcKqGQI); }); jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) { e.preventDefault(); - var add_php_jview_SkIGNjP = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - SkIGNjP(add_php_jview_SkIGNjP); + var add_php_jview_IcKqGQI = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + IcKqGQI(add_php_jview_IcKqGQI); }); -// #jform_add_php_document listeners for add_php_document_GFeMJKx function +// #jform_add_php_document listeners for add_php_document_zoVwujU function jQuery('#jform_add_php_document').on('keyup',function() { - var add_php_document_GFeMJKx = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - GFeMJKx(add_php_document_GFeMJKx); + var add_php_document_zoVwujU = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + zoVwujU(add_php_document_zoVwujU); }); jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) { e.preventDefault(); - var add_php_document_GFeMJKx = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - GFeMJKx(add_php_document_GFeMJKx); + var add_php_document_zoVwujU = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + zoVwujU(add_php_document_zoVwujU); }); -// #jform_add_css_document listeners for add_css_document_XTskhYl function +// #jform_add_css_document listeners for add_css_document_pPaWJrb function jQuery('#jform_add_css_document').on('keyup',function() { - var add_css_document_XTskhYl = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - XTskhYl(add_css_document_XTskhYl); + var add_css_document_pPaWJrb = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + pPaWJrb(add_css_document_pPaWJrb); }); jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) { e.preventDefault(); - var add_css_document_XTskhYl = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - XTskhYl(add_css_document_XTskhYl); + var add_css_document_pPaWJrb = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + pPaWJrb(add_css_document_pPaWJrb); }); -// #jform_add_js_document listeners for add_js_document_NURvCyF function +// #jform_add_js_document listeners for add_js_document_JlUwwus function jQuery('#jform_add_js_document').on('keyup',function() { - var add_js_document_NURvCyF = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - NURvCyF(add_js_document_NURvCyF); + var add_js_document_JlUwwus = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + JlUwwus(add_js_document_JlUwwus); }); jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) { e.preventDefault(); - var add_js_document_NURvCyF = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - NURvCyF(add_js_document_NURvCyF); + var add_js_document_JlUwwus = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + JlUwwus(add_js_document_JlUwwus); }); -// #jform_add_custom_button listeners for add_custom_button_mRxzGid function +// #jform_add_custom_button listeners for add_custom_button_CZdqoEy function jQuery('#jform_add_custom_button').on('keyup',function() { - var add_custom_button_mRxzGid = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - mRxzGid(add_custom_button_mRxzGid); + var add_custom_button_CZdqoEy = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + CZdqoEy(add_custom_button_CZdqoEy); }); jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) { e.preventDefault(); - var add_custom_button_mRxzGid = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - mRxzGid(add_custom_button_mRxzGid); + var add_custom_button_CZdqoEy = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + CZdqoEy(add_custom_button_CZdqoEy); }); -// #jform_add_css listeners for add_css_sUzyhnz function +// #jform_add_css listeners for add_css_pEDEzHr function jQuery('#jform_add_css').on('keyup',function() { - var add_css_sUzyhnz = jQuery("#jform_add_css input[type='radio']:checked").val(); - sUzyhnz(add_css_sUzyhnz); + var add_css_pEDEzHr = jQuery("#jform_add_css input[type='radio']:checked").val(); + pEDEzHr(add_css_pEDEzHr); }); jQuery('#adminForm').on('change', '#jform_add_css',function (e) { e.preventDefault(); - var add_css_sUzyhnz = jQuery("#jform_add_css input[type='radio']:checked").val(); - sUzyhnz(add_css_sUzyhnz); + var add_css_pEDEzHr = jQuery("#jform_add_css input[type='radio']:checked").val(); + pEDEzHr(add_css_pEDEzHr); }); diff --git a/admin/views/dynamic_get/tmpl/edit.php b/admin/views/dynamic_get/tmpl/edit.php index 554866570..6f0f6b1c7 100644 --- a/admin/views/dynamic_get/tmpl/edit.php +++ b/admin/views/dynamic_get/tmpl/edit.php @@ -126,406 +126,406 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_gettype listeners for gettype_kMOrrzi function +// #jform_gettype listeners for gettype_eXrZeKd function jQuery('#jform_gettype').on('keyup',function() { - var gettype_kMOrrzi = jQuery("#jform_gettype").val(); - kMOrrzi(gettype_kMOrrzi); + var gettype_eXrZeKd = jQuery("#jform_gettype").val(); + eXrZeKd(gettype_eXrZeKd); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var gettype_kMOrrzi = jQuery("#jform_gettype").val(); - kMOrrzi(gettype_kMOrrzi); + var gettype_eXrZeKd = jQuery("#jform_gettype").val(); + eXrZeKd(gettype_eXrZeKd); }); -// #jform_main_source listeners for main_source_rzqACdN function +// #jform_main_source listeners for main_source_quYDAgu function jQuery('#jform_main_source').on('keyup',function() { - var main_source_rzqACdN = jQuery("#jform_main_source").val(); - rzqACdN(main_source_rzqACdN); + var main_source_quYDAgu = jQuery("#jform_main_source").val(); + quYDAgu(main_source_quYDAgu); }); jQuery('#adminForm').on('change', '#jform_main_source',function (e) { e.preventDefault(); - var main_source_rzqACdN = jQuery("#jform_main_source").val(); - rzqACdN(main_source_rzqACdN); + var main_source_quYDAgu = jQuery("#jform_main_source").val(); + quYDAgu(main_source_quYDAgu); }); -// #jform_main_source listeners for main_source_mVMUMnJ function +// #jform_main_source listeners for main_source_GrCCmCE function jQuery('#jform_main_source').on('keyup',function() { - var main_source_mVMUMnJ = jQuery("#jform_main_source").val(); - mVMUMnJ(main_source_mVMUMnJ); + var main_source_GrCCmCE = jQuery("#jform_main_source").val(); + GrCCmCE(main_source_GrCCmCE); }); jQuery('#adminForm').on('change', '#jform_main_source',function (e) { e.preventDefault(); - var main_source_mVMUMnJ = jQuery("#jform_main_source").val(); - mVMUMnJ(main_source_mVMUMnJ); + var main_source_GrCCmCE = jQuery("#jform_main_source").val(); + GrCCmCE(main_source_GrCCmCE); }); -// #jform_main_source listeners for main_source_IBBCRTc function +// #jform_main_source listeners for main_source_hiCxhMk function jQuery('#jform_main_source').on('keyup',function() { - var main_source_IBBCRTc = jQuery("#jform_main_source").val(); - IBBCRTc(main_source_IBBCRTc); + var main_source_hiCxhMk = jQuery("#jform_main_source").val(); + hiCxhMk(main_source_hiCxhMk); }); jQuery('#adminForm').on('change', '#jform_main_source',function (e) { e.preventDefault(); - var main_source_IBBCRTc = jQuery("#jform_main_source").val(); - IBBCRTc(main_source_IBBCRTc); + var main_source_hiCxhMk = jQuery("#jform_main_source").val(); + hiCxhMk(main_source_hiCxhMk); }); -// #jform_main_source listeners for main_source_ihwGAYE function +// #jform_main_source listeners for main_source_CFRAjyM function jQuery('#jform_main_source').on('keyup',function() { - var main_source_ihwGAYE = jQuery("#jform_main_source").val(); - ihwGAYE(main_source_ihwGAYE); + var main_source_CFRAjyM = jQuery("#jform_main_source").val(); + CFRAjyM(main_source_CFRAjyM); }); jQuery('#adminForm').on('change', '#jform_main_source',function (e) { e.preventDefault(); - var main_source_ihwGAYE = jQuery("#jform_main_source").val(); - ihwGAYE(main_source_ihwGAYE); + var main_source_CFRAjyM = jQuery("#jform_main_source").val(); + CFRAjyM(main_source_CFRAjyM); }); -// #jform_addcalculation listeners for addcalculation_sjihbTt function +// #jform_addcalculation listeners for addcalculation_WNxzsEb function jQuery('#jform_addcalculation').on('keyup',function() { - var addcalculation_sjihbTt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - sjihbTt(addcalculation_sjihbTt); + var addcalculation_WNxzsEb = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + WNxzsEb(addcalculation_WNxzsEb); }); jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) { e.preventDefault(); - var addcalculation_sjihbTt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - sjihbTt(addcalculation_sjihbTt); + var addcalculation_WNxzsEb = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + WNxzsEb(addcalculation_WNxzsEb); }); -// #jform_addcalculation listeners for addcalculation_EaalDSf function +// #jform_addcalculation listeners for addcalculation_CItlivX function jQuery('#jform_addcalculation').on('keyup',function() { - var addcalculation_EaalDSf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EaalDSf = jQuery("#jform_gettype").val(); - EaalDSf(addcalculation_EaalDSf,gettype_EaalDSf); + var addcalculation_CItlivX = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_CItlivX = jQuery("#jform_gettype").val(); + CItlivX(addcalculation_CItlivX,gettype_CItlivX); }); jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) { e.preventDefault(); - var addcalculation_EaalDSf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EaalDSf = jQuery("#jform_gettype").val(); - EaalDSf(addcalculation_EaalDSf,gettype_EaalDSf); + var addcalculation_CItlivX = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_CItlivX = jQuery("#jform_gettype").val(); + CItlivX(addcalculation_CItlivX,gettype_CItlivX); }); -// #jform_gettype listeners for gettype_EaalDSf function +// #jform_gettype listeners for gettype_CItlivX function jQuery('#jform_gettype').on('keyup',function() { - var addcalculation_EaalDSf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EaalDSf = jQuery("#jform_gettype").val(); - EaalDSf(addcalculation_EaalDSf,gettype_EaalDSf); + var addcalculation_CItlivX = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_CItlivX = jQuery("#jform_gettype").val(); + CItlivX(addcalculation_CItlivX,gettype_CItlivX); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var addcalculation_EaalDSf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EaalDSf = jQuery("#jform_gettype").val(); - EaalDSf(addcalculation_EaalDSf,gettype_EaalDSf); + var addcalculation_CItlivX = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_CItlivX = jQuery("#jform_gettype").val(); + CItlivX(addcalculation_CItlivX,gettype_CItlivX); }); -// #jform_addcalculation listeners for addcalculation_EVaCfhZ function +// #jform_addcalculation listeners for addcalculation_tJpGpbD function jQuery('#jform_addcalculation').on('keyup',function() { - var addcalculation_EVaCfhZ = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EVaCfhZ = jQuery("#jform_gettype").val(); - EVaCfhZ(addcalculation_EVaCfhZ,gettype_EVaCfhZ); + var addcalculation_tJpGpbD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_tJpGpbD = jQuery("#jform_gettype").val(); + tJpGpbD(addcalculation_tJpGpbD,gettype_tJpGpbD); }); jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) { e.preventDefault(); - var addcalculation_EVaCfhZ = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EVaCfhZ = jQuery("#jform_gettype").val(); - EVaCfhZ(addcalculation_EVaCfhZ,gettype_EVaCfhZ); + var addcalculation_tJpGpbD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_tJpGpbD = jQuery("#jform_gettype").val(); + tJpGpbD(addcalculation_tJpGpbD,gettype_tJpGpbD); }); -// #jform_gettype listeners for gettype_EVaCfhZ function +// #jform_gettype listeners for gettype_tJpGpbD function jQuery('#jform_gettype').on('keyup',function() { - var addcalculation_EVaCfhZ = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EVaCfhZ = jQuery("#jform_gettype").val(); - EVaCfhZ(addcalculation_EVaCfhZ,gettype_EVaCfhZ); + var addcalculation_tJpGpbD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_tJpGpbD = jQuery("#jform_gettype").val(); + tJpGpbD(addcalculation_tJpGpbD,gettype_tJpGpbD); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var addcalculation_EVaCfhZ = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_EVaCfhZ = jQuery("#jform_gettype").val(); - EVaCfhZ(addcalculation_EVaCfhZ,gettype_EVaCfhZ); + var addcalculation_tJpGpbD = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_tJpGpbD = jQuery("#jform_gettype").val(); + tJpGpbD(addcalculation_tJpGpbD,gettype_tJpGpbD); }); -// #jform_main_source listeners for main_source_PTyAUzG function +// #jform_main_source listeners for main_source_lpwUTLg function jQuery('#jform_main_source').on('keyup',function() { - var main_source_PTyAUzG = jQuery("#jform_main_source").val(); - PTyAUzG(main_source_PTyAUzG); + var main_source_lpwUTLg = jQuery("#jform_main_source").val(); + lpwUTLg(main_source_lpwUTLg); }); jQuery('#adminForm').on('change', '#jform_main_source',function (e) { e.preventDefault(); - var main_source_PTyAUzG = jQuery("#jform_main_source").val(); - PTyAUzG(main_source_PTyAUzG); + var main_source_lpwUTLg = jQuery("#jform_main_source").val(); + lpwUTLg(main_source_lpwUTLg); }); -// #jform_main_source listeners for main_source_TuRxzZw function +// #jform_main_source listeners for main_source_nTtZlBv function jQuery('#jform_main_source').on('keyup',function() { - var main_source_TuRxzZw = jQuery("#jform_main_source").val(); - TuRxzZw(main_source_TuRxzZw); + var main_source_nTtZlBv = jQuery("#jform_main_source").val(); + nTtZlBv(main_source_nTtZlBv); }); jQuery('#adminForm').on('change', '#jform_main_source',function (e) { e.preventDefault(); - var main_source_TuRxzZw = jQuery("#jform_main_source").val(); - TuRxzZw(main_source_TuRxzZw); + var main_source_nTtZlBv = jQuery("#jform_main_source").val(); + nTtZlBv(main_source_nTtZlBv); }); -// #jform_add_php_before_getitem listeners for add_php_before_getitem_cOupVhV function +// #jform_add_php_before_getitem listeners for add_php_before_getitem_nExSoDC function jQuery('#jform_add_php_before_getitem').on('keyup',function() { - var add_php_before_getitem_cOupVhV = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_cOupVhV = jQuery("#jform_gettype").val(); - cOupVhV(add_php_before_getitem_cOupVhV,gettype_cOupVhV); + var add_php_before_getitem_nExSoDC = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_nExSoDC = jQuery("#jform_gettype").val(); + nExSoDC(add_php_before_getitem_nExSoDC,gettype_nExSoDC); }); jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e) { e.preventDefault(); - var add_php_before_getitem_cOupVhV = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_cOupVhV = jQuery("#jform_gettype").val(); - cOupVhV(add_php_before_getitem_cOupVhV,gettype_cOupVhV); + var add_php_before_getitem_nExSoDC = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_nExSoDC = jQuery("#jform_gettype").val(); + nExSoDC(add_php_before_getitem_nExSoDC,gettype_nExSoDC); }); -// #jform_gettype listeners for gettype_cOupVhV function +// #jform_gettype listeners for gettype_nExSoDC function jQuery('#jform_gettype').on('keyup',function() { - var add_php_before_getitem_cOupVhV = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_cOupVhV = jQuery("#jform_gettype").val(); - cOupVhV(add_php_before_getitem_cOupVhV,gettype_cOupVhV); + var add_php_before_getitem_nExSoDC = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_nExSoDC = jQuery("#jform_gettype").val(); + nExSoDC(add_php_before_getitem_nExSoDC,gettype_nExSoDC); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var add_php_before_getitem_cOupVhV = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_cOupVhV = jQuery("#jform_gettype").val(); - cOupVhV(add_php_before_getitem_cOupVhV,gettype_cOupVhV); + var add_php_before_getitem_nExSoDC = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_nExSoDC = jQuery("#jform_gettype").val(); + nExSoDC(add_php_before_getitem_nExSoDC,gettype_nExSoDC); }); -// #jform_add_php_after_getitem listeners for add_php_after_getitem_gkhfYbE function +// #jform_add_php_after_getitem listeners for add_php_after_getitem_iHxqXNJ function jQuery('#jform_add_php_after_getitem').on('keyup',function() { - var add_php_after_getitem_gkhfYbE = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_gkhfYbE = jQuery("#jform_gettype").val(); - gkhfYbE(add_php_after_getitem_gkhfYbE,gettype_gkhfYbE); + var add_php_after_getitem_iHxqXNJ = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_iHxqXNJ = jQuery("#jform_gettype").val(); + iHxqXNJ(add_php_after_getitem_iHxqXNJ,gettype_iHxqXNJ); }); jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e) { e.preventDefault(); - var add_php_after_getitem_gkhfYbE = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_gkhfYbE = jQuery("#jform_gettype").val(); - gkhfYbE(add_php_after_getitem_gkhfYbE,gettype_gkhfYbE); + var add_php_after_getitem_iHxqXNJ = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_iHxqXNJ = jQuery("#jform_gettype").val(); + iHxqXNJ(add_php_after_getitem_iHxqXNJ,gettype_iHxqXNJ); }); -// #jform_gettype listeners for gettype_gkhfYbE function +// #jform_gettype listeners for gettype_iHxqXNJ function jQuery('#jform_gettype').on('keyup',function() { - var add_php_after_getitem_gkhfYbE = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_gkhfYbE = jQuery("#jform_gettype").val(); - gkhfYbE(add_php_after_getitem_gkhfYbE,gettype_gkhfYbE); + var add_php_after_getitem_iHxqXNJ = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_iHxqXNJ = jQuery("#jform_gettype").val(); + iHxqXNJ(add_php_after_getitem_iHxqXNJ,gettype_iHxqXNJ); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var add_php_after_getitem_gkhfYbE = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_gkhfYbE = jQuery("#jform_gettype").val(); - gkhfYbE(add_php_after_getitem_gkhfYbE,gettype_gkhfYbE); + var add_php_after_getitem_iHxqXNJ = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_iHxqXNJ = jQuery("#jform_gettype").val(); + iHxqXNJ(add_php_after_getitem_iHxqXNJ,gettype_iHxqXNJ); }); -// #jform_gettype listeners for gettype_GqMVAul function +// #jform_gettype listeners for gettype_UJUsWyN function jQuery('#jform_gettype').on('keyup',function() { - var gettype_GqMVAul = jQuery("#jform_gettype").val(); - GqMVAul(gettype_GqMVAul); + var gettype_UJUsWyN = jQuery("#jform_gettype").val(); + UJUsWyN(gettype_UJUsWyN); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var gettype_GqMVAul = jQuery("#jform_gettype").val(); - GqMVAul(gettype_GqMVAul); + var gettype_UJUsWyN = jQuery("#jform_gettype").val(); + UJUsWyN(gettype_UJUsWyN); }); -// #jform_add_php_getlistquery listeners for add_php_getlistquery_mVOBZID function +// #jform_add_php_getlistquery listeners for add_php_getlistquery_iawMqnC function jQuery('#jform_add_php_getlistquery').on('keyup',function() { - var add_php_getlistquery_mVOBZID = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_mVOBZID = jQuery("#jform_gettype").val(); - mVOBZID(add_php_getlistquery_mVOBZID,gettype_mVOBZID); + var add_php_getlistquery_iawMqnC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_iawMqnC = jQuery("#jform_gettype").val(); + iawMqnC(add_php_getlistquery_iawMqnC,gettype_iawMqnC); }); jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) { e.preventDefault(); - var add_php_getlistquery_mVOBZID = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_mVOBZID = jQuery("#jform_gettype").val(); - mVOBZID(add_php_getlistquery_mVOBZID,gettype_mVOBZID); + var add_php_getlistquery_iawMqnC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_iawMqnC = jQuery("#jform_gettype").val(); + iawMqnC(add_php_getlistquery_iawMqnC,gettype_iawMqnC); }); -// #jform_gettype listeners for gettype_mVOBZID function +// #jform_gettype listeners for gettype_iawMqnC function jQuery('#jform_gettype').on('keyup',function() { - var add_php_getlistquery_mVOBZID = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_mVOBZID = jQuery("#jform_gettype").val(); - mVOBZID(add_php_getlistquery_mVOBZID,gettype_mVOBZID); + var add_php_getlistquery_iawMqnC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_iawMqnC = jQuery("#jform_gettype").val(); + iawMqnC(add_php_getlistquery_iawMqnC,gettype_iawMqnC); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var add_php_getlistquery_mVOBZID = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_mVOBZID = jQuery("#jform_gettype").val(); - mVOBZID(add_php_getlistquery_mVOBZID,gettype_mVOBZID); + var add_php_getlistquery_iawMqnC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_iawMqnC = jQuery("#jform_gettype").val(); + iawMqnC(add_php_getlistquery_iawMqnC,gettype_iawMqnC); }); -// #jform_add_php_before_getitems listeners for add_php_before_getitems_PoGBgSs function +// #jform_add_php_before_getitems listeners for add_php_before_getitems_xeNggFH function jQuery('#jform_add_php_before_getitems').on('keyup',function() { - var add_php_before_getitems_PoGBgSs = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_PoGBgSs = jQuery("#jform_gettype").val(); - PoGBgSs(add_php_before_getitems_PoGBgSs,gettype_PoGBgSs); + var add_php_before_getitems_xeNggFH = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_xeNggFH = jQuery("#jform_gettype").val(); + xeNggFH(add_php_before_getitems_xeNggFH,gettype_xeNggFH); }); jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e) { e.preventDefault(); - var add_php_before_getitems_PoGBgSs = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_PoGBgSs = jQuery("#jform_gettype").val(); - PoGBgSs(add_php_before_getitems_PoGBgSs,gettype_PoGBgSs); + var add_php_before_getitems_xeNggFH = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_xeNggFH = jQuery("#jform_gettype").val(); + xeNggFH(add_php_before_getitems_xeNggFH,gettype_xeNggFH); }); -// #jform_gettype listeners for gettype_PoGBgSs function +// #jform_gettype listeners for gettype_xeNggFH function jQuery('#jform_gettype').on('keyup',function() { - var add_php_before_getitems_PoGBgSs = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_PoGBgSs = jQuery("#jform_gettype").val(); - PoGBgSs(add_php_before_getitems_PoGBgSs,gettype_PoGBgSs); + var add_php_before_getitems_xeNggFH = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_xeNggFH = jQuery("#jform_gettype").val(); + xeNggFH(add_php_before_getitems_xeNggFH,gettype_xeNggFH); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var add_php_before_getitems_PoGBgSs = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); - var gettype_PoGBgSs = jQuery("#jform_gettype").val(); - PoGBgSs(add_php_before_getitems_PoGBgSs,gettype_PoGBgSs); + var add_php_before_getitems_xeNggFH = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_xeNggFH = jQuery("#jform_gettype").val(); + xeNggFH(add_php_before_getitems_xeNggFH,gettype_xeNggFH); }); -// #jform_add_php_after_getitems listeners for add_php_after_getitems_wpkYIZn function +// #jform_add_php_after_getitems listeners for add_php_after_getitems_DZqePcX function jQuery('#jform_add_php_after_getitems').on('keyup',function() { - var add_php_after_getitems_wpkYIZn = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_wpkYIZn = jQuery("#jform_gettype").val(); - wpkYIZn(add_php_after_getitems_wpkYIZn,gettype_wpkYIZn); + var add_php_after_getitems_DZqePcX = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_DZqePcX = jQuery("#jform_gettype").val(); + DZqePcX(add_php_after_getitems_DZqePcX,gettype_DZqePcX); }); jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e) { e.preventDefault(); - var add_php_after_getitems_wpkYIZn = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_wpkYIZn = jQuery("#jform_gettype").val(); - wpkYIZn(add_php_after_getitems_wpkYIZn,gettype_wpkYIZn); + var add_php_after_getitems_DZqePcX = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_DZqePcX = jQuery("#jform_gettype").val(); + DZqePcX(add_php_after_getitems_DZqePcX,gettype_DZqePcX); }); -// #jform_gettype listeners for gettype_wpkYIZn function +// #jform_gettype listeners for gettype_DZqePcX function jQuery('#jform_gettype').on('keyup',function() { - var add_php_after_getitems_wpkYIZn = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_wpkYIZn = jQuery("#jform_gettype").val(); - wpkYIZn(add_php_after_getitems_wpkYIZn,gettype_wpkYIZn); + var add_php_after_getitems_DZqePcX = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_DZqePcX = jQuery("#jform_gettype").val(); + DZqePcX(add_php_after_getitems_DZqePcX,gettype_DZqePcX); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var add_php_after_getitems_wpkYIZn = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); - var gettype_wpkYIZn = jQuery("#jform_gettype").val(); - wpkYIZn(add_php_after_getitems_wpkYIZn,gettype_wpkYIZn); + var add_php_after_getitems_DZqePcX = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_DZqePcX = jQuery("#jform_gettype").val(); + DZqePcX(add_php_after_getitems_DZqePcX,gettype_DZqePcX); }); -// #jform_gettype listeners for gettype_WIkoAta function +// #jform_gettype listeners for gettype_QnEXSEG function jQuery('#jform_gettype').on('keyup',function() { - var gettype_WIkoAta = jQuery("#jform_gettype").val(); - WIkoAta(gettype_WIkoAta); + var gettype_QnEXSEG = jQuery("#jform_gettype").val(); + QnEXSEG(gettype_QnEXSEG); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var gettype_WIkoAta = jQuery("#jform_gettype").val(); - WIkoAta(gettype_WIkoAta); + var gettype_QnEXSEG = jQuery("#jform_gettype").val(); + QnEXSEG(gettype_QnEXSEG); }); -// #jform_gettype listeners for gettype_sSlmiqZ function +// #jform_gettype listeners for gettype_fXMiVKB function jQuery('#jform_gettype').on('keyup',function() { - var gettype_sSlmiqZ = jQuery("#jform_gettype").val(); - sSlmiqZ(gettype_sSlmiqZ); + var gettype_fXMiVKB = jQuery("#jform_gettype").val(); + fXMiVKB(gettype_fXMiVKB); }); jQuery('#adminForm').on('change', '#jform_gettype',function (e) { e.preventDefault(); - var gettype_sSlmiqZ = jQuery("#jform_gettype").val(); - sSlmiqZ(gettype_sSlmiqZ); + var gettype_fXMiVKB = jQuery("#jform_gettype").val(); + fXMiVKB(gettype_fXMiVKB); }); diff --git a/admin/views/field/tmpl/edit.php b/admin/views/field/tmpl/edit.php index 936f8b361..a66de9f25 100644 --- a/admin/views/field/tmpl/edit.php +++ b/admin/views/field/tmpl/edit.php @@ -113,142 +113,142 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_datalenght listeners for datalenght_lnskspQ function +// #jform_datalenght listeners for datalenght_ExCMVvb function jQuery('#jform_datalenght').on('keyup',function() { - var datalenght_lnskspQ = jQuery("#jform_datalenght").val(); - lnskspQ(datalenght_lnskspQ); + var datalenght_ExCMVvb = jQuery("#jform_datalenght").val(); + ExCMVvb(datalenght_ExCMVvb); }); jQuery('#adminForm').on('change', '#jform_datalenght',function (e) { e.preventDefault(); - var datalenght_lnskspQ = jQuery("#jform_datalenght").val(); - lnskspQ(datalenght_lnskspQ); + var datalenght_ExCMVvb = jQuery("#jform_datalenght").val(); + ExCMVvb(datalenght_ExCMVvb); }); -// #jform_datadefault listeners for datadefault_WHhBHvQ function +// #jform_datadefault listeners for datadefault_dfOStol function jQuery('#jform_datadefault').on('keyup',function() { - var datadefault_WHhBHvQ = jQuery("#jform_datadefault").val(); - WHhBHvQ(datadefault_WHhBHvQ); + var datadefault_dfOStol = jQuery("#jform_datadefault").val(); + dfOStol(datadefault_dfOStol); }); jQuery('#adminForm').on('change', '#jform_datadefault',function (e) { e.preventDefault(); - var datadefault_WHhBHvQ = jQuery("#jform_datadefault").val(); - WHhBHvQ(datadefault_WHhBHvQ); + var datadefault_dfOStol = jQuery("#jform_datadefault").val(); + dfOStol(datadefault_dfOStol); }); -// #jform_datatype listeners for datatype_FTvOiCe function +// #jform_datatype listeners for datatype_sldbrZQ function jQuery('#jform_datatype').on('keyup',function() { - var datatype_FTvOiCe = jQuery("#jform_datatype").val(); - FTvOiCe(datatype_FTvOiCe); + var datatype_sldbrZQ = jQuery("#jform_datatype").val(); + sldbrZQ(datatype_sldbrZQ); }); jQuery('#adminForm').on('change', '#jform_datatype',function (e) { e.preventDefault(); - var datatype_FTvOiCe = jQuery("#jform_datatype").val(); - FTvOiCe(datatype_FTvOiCe); + var datatype_sldbrZQ = jQuery("#jform_datatype").val(); + sldbrZQ(datatype_sldbrZQ); }); -// #jform_store listeners for store_efhEwAS function +// #jform_store listeners for store_mpOVXMx function jQuery('#jform_store').on('keyup',function() { - var store_efhEwAS = jQuery("#jform_store").val(); - var datatype_efhEwAS = jQuery("#jform_datatype").val(); - efhEwAS(store_efhEwAS,datatype_efhEwAS); + var store_mpOVXMx = jQuery("#jform_store").val(); + var datatype_mpOVXMx = jQuery("#jform_datatype").val(); + mpOVXMx(store_mpOVXMx,datatype_mpOVXMx); }); jQuery('#adminForm').on('change', '#jform_store',function (e) { e.preventDefault(); - var store_efhEwAS = jQuery("#jform_store").val(); - var datatype_efhEwAS = jQuery("#jform_datatype").val(); - efhEwAS(store_efhEwAS,datatype_efhEwAS); + var store_mpOVXMx = jQuery("#jform_store").val(); + var datatype_mpOVXMx = jQuery("#jform_datatype").val(); + mpOVXMx(store_mpOVXMx,datatype_mpOVXMx); }); -// #jform_datatype listeners for datatype_efhEwAS function +// #jform_datatype listeners for datatype_mpOVXMx function jQuery('#jform_datatype').on('keyup',function() { - var store_efhEwAS = jQuery("#jform_store").val(); - var datatype_efhEwAS = jQuery("#jform_datatype").val(); - efhEwAS(store_efhEwAS,datatype_efhEwAS); + var store_mpOVXMx = jQuery("#jform_store").val(); + var datatype_mpOVXMx = jQuery("#jform_datatype").val(); + mpOVXMx(store_mpOVXMx,datatype_mpOVXMx); }); jQuery('#adminForm').on('change', '#jform_datatype',function (e) { e.preventDefault(); - var store_efhEwAS = jQuery("#jform_store").val(); - var datatype_efhEwAS = jQuery("#jform_datatype").val(); - efhEwAS(store_efhEwAS,datatype_efhEwAS); + var store_mpOVXMx = jQuery("#jform_store").val(); + var datatype_mpOVXMx = jQuery("#jform_datatype").val(); + mpOVXMx(store_mpOVXMx,datatype_mpOVXMx); }); -// #jform_add_css_view listeners for add_css_view_nUdhOEP function +// #jform_add_css_view listeners for add_css_view_gsZyLjy function jQuery('#jform_add_css_view').on('keyup',function() { - var add_css_view_nUdhOEP = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - nUdhOEP(add_css_view_nUdhOEP); + var add_css_view_gsZyLjy = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + gsZyLjy(add_css_view_gsZyLjy); }); jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) { e.preventDefault(); - var add_css_view_nUdhOEP = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - nUdhOEP(add_css_view_nUdhOEP); + var add_css_view_gsZyLjy = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + gsZyLjy(add_css_view_gsZyLjy); }); -// #jform_add_css_views listeners for add_css_views_fKUiNOe function +// #jform_add_css_views listeners for add_css_views_ZRJPPuc function jQuery('#jform_add_css_views').on('keyup',function() { - var add_css_views_fKUiNOe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - fKUiNOe(add_css_views_fKUiNOe); + var add_css_views_ZRJPPuc = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + ZRJPPuc(add_css_views_ZRJPPuc); }); jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) { e.preventDefault(); - var add_css_views_fKUiNOe = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - fKUiNOe(add_css_views_fKUiNOe); + var add_css_views_ZRJPPuc = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + ZRJPPuc(add_css_views_ZRJPPuc); }); -// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_slFmuAS function +// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_axzxDJg function jQuery('#jform_add_javascript_view_footer').on('keyup',function() { - var add_javascript_view_footer_slFmuAS = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - slFmuAS(add_javascript_view_footer_slFmuAS); + var add_javascript_view_footer_axzxDJg = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + axzxDJg(add_javascript_view_footer_axzxDJg); }); jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) { e.preventDefault(); - var add_javascript_view_footer_slFmuAS = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - slFmuAS(add_javascript_view_footer_slFmuAS); + var add_javascript_view_footer_axzxDJg = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + axzxDJg(add_javascript_view_footer_axzxDJg); }); -// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_xKbJSNq function +// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_bhsaEYh function jQuery('#jform_add_javascript_views_footer').on('keyup',function() { - var add_javascript_views_footer_xKbJSNq = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - xKbJSNq(add_javascript_views_footer_xKbJSNq); + var add_javascript_views_footer_bhsaEYh = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + bhsaEYh(add_javascript_views_footer_bhsaEYh); }); jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) { e.preventDefault(); - var add_javascript_views_footer_xKbJSNq = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - xKbJSNq(add_javascript_views_footer_xKbJSNq); + var add_javascript_views_footer_bhsaEYh = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + bhsaEYh(add_javascript_views_footer_bhsaEYh); }); diff --git a/admin/views/fieldtype/view.html.php b/admin/views/fieldtype/view.html.php index b7d48cb41..f61dcfcd7 100644 --- a/admin/views/fieldtype/view.html.php +++ b/admin/views/fieldtype/view.html.php @@ -72,7 +72,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy } // Get Linked view data - $this->xosfields = $this->get('Xosfields'); + $this->murfields = $this->get('Murfields'); // Set the toolbar $this->addToolBar(); diff --git a/admin/views/help_document/tmpl/edit.php b/admin/views/help_document/tmpl/edit.php index 0adaf44c7..65c57efe3 100644 --- a/admin/views/help_document/tmpl/edit.php +++ b/admin/views/help_document/tmpl/edit.php @@ -103,93 +103,93 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_location listeners for location_TriKDfz function +// #jform_location listeners for location_oLkFItp function jQuery('#jform_location').on('keyup',function() { - var location_TriKDfz = jQuery("#jform_location input[type='radio']:checked").val(); - TriKDfz(location_TriKDfz); + var location_oLkFItp = jQuery("#jform_location input[type='radio']:checked").val(); + oLkFItp(location_oLkFItp); }); jQuery('#adminForm').on('change', '#jform_location',function (e) { e.preventDefault(); - var location_TriKDfz = jQuery("#jform_location input[type='radio']:checked").val(); - TriKDfz(location_TriKDfz); + var location_oLkFItp = jQuery("#jform_location input[type='radio']:checked").val(); + oLkFItp(location_oLkFItp); }); -// #jform_location listeners for location_JvRrQqZ function +// #jform_location listeners for location_GtKiMqS function jQuery('#jform_location').on('keyup',function() { - var location_JvRrQqZ = jQuery("#jform_location input[type='radio']:checked").val(); - JvRrQqZ(location_JvRrQqZ); + var location_GtKiMqS = jQuery("#jform_location input[type='radio']:checked").val(); + GtKiMqS(location_GtKiMqS); }); jQuery('#adminForm').on('change', '#jform_location',function (e) { e.preventDefault(); - var location_JvRrQqZ = jQuery("#jform_location input[type='radio']:checked").val(); - JvRrQqZ(location_JvRrQqZ); + var location_GtKiMqS = jQuery("#jform_location input[type='radio']:checked").val(); + GtKiMqS(location_GtKiMqS); }); -// #jform_type listeners for type_LktRHjR function +// #jform_type listeners for type_QJTRKZj function jQuery('#jform_type').on('keyup',function() { - var type_LktRHjR = jQuery("#jform_type").val(); - LktRHjR(type_LktRHjR); + var type_QJTRKZj = jQuery("#jform_type").val(); + QJTRKZj(type_QJTRKZj); }); jQuery('#adminForm').on('change', '#jform_type',function (e) { e.preventDefault(); - var type_LktRHjR = jQuery("#jform_type").val(); - LktRHjR(type_LktRHjR); + var type_QJTRKZj = jQuery("#jform_type").val(); + QJTRKZj(type_QJTRKZj); }); -// #jform_type listeners for type_IKNpMXP function +// #jform_type listeners for type_SzcsqYR function jQuery('#jform_type').on('keyup',function() { - var type_IKNpMXP = jQuery("#jform_type").val(); - IKNpMXP(type_IKNpMXP); + var type_SzcsqYR = jQuery("#jform_type").val(); + SzcsqYR(type_SzcsqYR); }); jQuery('#adminForm').on('change', '#jform_type',function (e) { e.preventDefault(); - var type_IKNpMXP = jQuery("#jform_type").val(); - IKNpMXP(type_IKNpMXP); + var type_SzcsqYR = jQuery("#jform_type").val(); + SzcsqYR(type_SzcsqYR); }); -// #jform_type listeners for type_nTcKIyH function +// #jform_type listeners for type_lqwvXLl function jQuery('#jform_type').on('keyup',function() { - var type_nTcKIyH = jQuery("#jform_type").val(); - nTcKIyH(type_nTcKIyH); + var type_lqwvXLl = jQuery("#jform_type").val(); + lqwvXLl(type_lqwvXLl); }); jQuery('#adminForm').on('change', '#jform_type',function (e) { e.preventDefault(); - var type_nTcKIyH = jQuery("#jform_type").val(); - nTcKIyH(type_nTcKIyH); + var type_lqwvXLl = jQuery("#jform_type").val(); + lqwvXLl(type_lqwvXLl); }); -// #jform_target listeners for target_ZabAQNC function +// #jform_target listeners for target_XjiRdPO function jQuery('#jform_target').on('keyup',function() { - var target_ZabAQNC = jQuery("#jform_target input[type='radio']:checked").val(); - ZabAQNC(target_ZabAQNC); + var target_XjiRdPO = jQuery("#jform_target input[type='radio']:checked").val(); + XjiRdPO(target_XjiRdPO); }); jQuery('#adminForm').on('change', '#jform_target',function (e) { e.preventDefault(); - var target_ZabAQNC = jQuery("#jform_target input[type='radio']:checked").val(); - ZabAQNC(target_ZabAQNC); + var target_XjiRdPO = jQuery("#jform_target input[type='radio']:checked").val(); + XjiRdPO(target_XjiRdPO); }); diff --git a/admin/views/layout/tmpl/edit.php b/admin/views/layout/tmpl/edit.php index 07e3676d6..4458f4f32 100644 --- a/admin/views/layout/tmpl/edit.php +++ b/admin/views/layout/tmpl/edit.php @@ -114,18 +114,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_add_php_view listeners for add_php_view_mLAQvUM function +// #jform_add_php_view listeners for add_php_view_VndZSVz function jQuery('#jform_add_php_view').on('keyup',function() { - var add_php_view_mLAQvUM = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - mLAQvUM(add_php_view_mLAQvUM); + var add_php_view_VndZSVz = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + VndZSVz(add_php_view_VndZSVz); }); jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) { e.preventDefault(); - var add_php_view_mLAQvUM = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - mLAQvUM(add_php_view_mLAQvUM); + var add_php_view_VndZSVz = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + VndZSVz(add_php_view_VndZSVz); }); diff --git a/admin/views/site_view/tmpl/edit.php b/admin/views/site_view/tmpl/edit.php index fc2d6014f..818c974c1 100644 --- a/admin/views/site_view/tmpl/edit.php +++ b/admin/views/site_view/tmpl/edit.php @@ -135,138 +135,138 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_add_php_view listeners for add_php_view_IvRigeu function +// #jform_add_php_view listeners for add_php_view_qYcIlrf function jQuery('#jform_add_php_view').on('keyup',function() { - var add_php_view_IvRigeu = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - IvRigeu(add_php_view_IvRigeu); + var add_php_view_qYcIlrf = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + qYcIlrf(add_php_view_qYcIlrf); }); jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) { e.preventDefault(); - var add_php_view_IvRigeu = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - IvRigeu(add_php_view_IvRigeu); + var add_php_view_qYcIlrf = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + qYcIlrf(add_php_view_qYcIlrf); }); -// #jform_add_php_jview_display listeners for add_php_jview_display_EOOOTUH function +// #jform_add_php_jview_display listeners for add_php_jview_display_jiuJGGd function jQuery('#jform_add_php_jview_display').on('keyup',function() { - var add_php_jview_display_EOOOTUH = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - EOOOTUH(add_php_jview_display_EOOOTUH); + var add_php_jview_display_jiuJGGd = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + jiuJGGd(add_php_jview_display_jiuJGGd); }); jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) { e.preventDefault(); - var add_php_jview_display_EOOOTUH = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - EOOOTUH(add_php_jview_display_EOOOTUH); + var add_php_jview_display_jiuJGGd = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + jiuJGGd(add_php_jview_display_jiuJGGd); }); -// #jform_add_php_jview listeners for add_php_jview_QtprMsB function +// #jform_add_php_jview listeners for add_php_jview_zijVOOJ function jQuery('#jform_add_php_jview').on('keyup',function() { - var add_php_jview_QtprMsB = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - QtprMsB(add_php_jview_QtprMsB); + var add_php_jview_zijVOOJ = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + zijVOOJ(add_php_jview_zijVOOJ); }); jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) { e.preventDefault(); - var add_php_jview_QtprMsB = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - QtprMsB(add_php_jview_QtprMsB); + var add_php_jview_zijVOOJ = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + zijVOOJ(add_php_jview_zijVOOJ); }); -// #jform_add_php_document listeners for add_php_document_uOdqWou function +// #jform_add_php_document listeners for add_php_document_AAcKitW function jQuery('#jform_add_php_document').on('keyup',function() { - var add_php_document_uOdqWou = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - uOdqWou(add_php_document_uOdqWou); + var add_php_document_AAcKitW = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + AAcKitW(add_php_document_AAcKitW); }); jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) { e.preventDefault(); - var add_php_document_uOdqWou = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - uOdqWou(add_php_document_uOdqWou); + var add_php_document_AAcKitW = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + AAcKitW(add_php_document_AAcKitW); }); -// #jform_add_css_document listeners for add_css_document_BYwkKxf function +// #jform_add_css_document listeners for add_css_document_qEQSrxD function jQuery('#jform_add_css_document').on('keyup',function() { - var add_css_document_BYwkKxf = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - BYwkKxf(add_css_document_BYwkKxf); + var add_css_document_qEQSrxD = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + qEQSrxD(add_css_document_qEQSrxD); }); jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) { e.preventDefault(); - var add_css_document_BYwkKxf = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - BYwkKxf(add_css_document_BYwkKxf); + var add_css_document_qEQSrxD = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + qEQSrxD(add_css_document_qEQSrxD); }); -// #jform_add_js_document listeners for add_js_document_LImVaau function +// #jform_add_js_document listeners for add_js_document_hBGxDwg function jQuery('#jform_add_js_document').on('keyup',function() { - var add_js_document_LImVaau = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - LImVaau(add_js_document_LImVaau); + var add_js_document_hBGxDwg = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + hBGxDwg(add_js_document_hBGxDwg); }); jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) { e.preventDefault(); - var add_js_document_LImVaau = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - LImVaau(add_js_document_LImVaau); + var add_js_document_hBGxDwg = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + hBGxDwg(add_js_document_hBGxDwg); }); -// #jform_add_css listeners for add_css_iHnqTlC function +// #jform_add_css listeners for add_css_kaIrLRI function jQuery('#jform_add_css').on('keyup',function() { - var add_css_iHnqTlC = jQuery("#jform_add_css input[type='radio']:checked").val(); - iHnqTlC(add_css_iHnqTlC); + var add_css_kaIrLRI = jQuery("#jform_add_css input[type='radio']:checked").val(); + kaIrLRI(add_css_kaIrLRI); }); jQuery('#adminForm').on('change', '#jform_add_css',function (e) { e.preventDefault(); - var add_css_iHnqTlC = jQuery("#jform_add_css input[type='radio']:checked").val(); - iHnqTlC(add_css_iHnqTlC); + var add_css_kaIrLRI = jQuery("#jform_add_css input[type='radio']:checked").val(); + kaIrLRI(add_css_kaIrLRI); }); -// #jform_add_php_ajax listeners for add_php_ajax_VYPAiFQ function +// #jform_add_php_ajax listeners for add_php_ajax_mDLenfJ function jQuery('#jform_add_php_ajax').on('keyup',function() { - var add_php_ajax_VYPAiFQ = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - VYPAiFQ(add_php_ajax_VYPAiFQ); + var add_php_ajax_mDLenfJ = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + mDLenfJ(add_php_ajax_mDLenfJ); }); jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) { e.preventDefault(); - var add_php_ajax_VYPAiFQ = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - VYPAiFQ(add_php_ajax_VYPAiFQ); + var add_php_ajax_mDLenfJ = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + mDLenfJ(add_php_ajax_mDLenfJ); }); -// #jform_add_custom_button listeners for add_custom_button_rzkzDkz function +// #jform_add_custom_button listeners for add_custom_button_pJsQgWh function jQuery('#jform_add_custom_button').on('keyup',function() { - var add_custom_button_rzkzDkz = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - rzkzDkz(add_custom_button_rzkzDkz); + var add_custom_button_pJsQgWh = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + pJsQgWh(add_custom_button_pJsQgWh); }); jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) { e.preventDefault(); - var add_custom_button_rzkzDkz = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - rzkzDkz(add_custom_button_rzkzDkz); + var add_custom_button_pJsQgWh = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + pJsQgWh(add_custom_button_pJsQgWh); }); diff --git a/admin/views/template/tmpl/edit.php b/admin/views/template/tmpl/edit.php index ceffe6025..ce24ffd0b 100644 --- a/admin/views/template/tmpl/edit.php +++ b/admin/views/template/tmpl/edit.php @@ -114,18 +114,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder'); <script type="text/javascript"> -// #jform_add_php_view listeners for add_php_view_FliVHoz function +// #jform_add_php_view listeners for add_php_view_qHphiPl function jQuery('#jform_add_php_view').on('keyup',function() { - var add_php_view_FliVHoz = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - FliVHoz(add_php_view_FliVHoz); + var add_php_view_qHphiPl = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + qHphiPl(add_php_view_qHphiPl); }); jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) { e.preventDefault(); - var add_php_view_FliVHoz = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - FliVHoz(add_php_view_FliVHoz); + var add_php_view_qHphiPl = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + qHphiPl(add_php_view_qHphiPl); });